@maesn/typescript-sdk 0.2.1 → 0.2.3
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 +3 -3
- package/README.md +190 -192
- package/esm/funcs/accounting-create-account.d.ts +11 -0
- package/esm/funcs/accounting-create-account.d.ts.map +1 -0
- package/esm/funcs/accounting-create-account.js +77 -0
- package/esm/funcs/accounting-create-account.js.map +1 -0
- package/esm/funcs/accounting-create-bank-account.d.ts +11 -0
- package/esm/funcs/accounting-create-bank-account.d.ts.map +1 -0
- package/esm/funcs/accounting-create-bank-account.js +77 -0
- package/esm/funcs/accounting-create-bank-account.js.map +1 -0
- package/esm/funcs/accounting-create-bill.d.ts +11 -0
- package/esm/funcs/accounting-create-bill.d.ts.map +1 -0
- package/esm/funcs/accounting-create-bill.js +77 -0
- package/esm/funcs/accounting-create-bill.js.map +1 -0
- package/esm/funcs/accounting-create-bookings.d.ts +11 -0
- package/esm/funcs/accounting-create-bookings.d.ts.map +1 -0
- package/esm/funcs/accounting-create-bookings.js +76 -0
- package/esm/funcs/accounting-create-bookings.js.map +1 -0
- package/esm/funcs/accounting-create-contact.d.ts +11 -0
- package/esm/funcs/accounting-create-contact.d.ts.map +1 -0
- package/esm/funcs/accounting-create-contact.js +77 -0
- package/esm/funcs/accounting-create-contact.js.map +1 -0
- package/esm/funcs/accounting-create-contacts-v1.d.ts +11 -0
- package/esm/funcs/accounting-create-contacts-v1.d.ts.map +1 -0
- package/esm/funcs/accounting-create-contacts-v1.js +76 -0
- package/esm/funcs/accounting-create-contacts-v1.js.map +1 -0
- package/esm/funcs/accounting-create-contacts.d.ts +11 -0
- package/esm/funcs/accounting-create-contacts.d.ts.map +1 -0
- package/esm/funcs/accounting-create-contacts.js +76 -0
- package/esm/funcs/accounting-create-contacts.js.map +1 -0
- package/esm/funcs/accounting-create-event-subscriptions.d.ts +12 -0
- package/esm/funcs/accounting-create-event-subscriptions.d.ts.map +1 -0
- package/esm/funcs/accounting-create-event-subscriptions.js +77 -0
- package/esm/funcs/accounting-create-event-subscriptions.js.map +1 -0
- package/esm/funcs/accounting-create-expense.d.ts +11 -0
- package/esm/funcs/accounting-create-expense.d.ts.map +1 -0
- package/esm/funcs/accounting-create-expense.js +102 -0
- package/esm/funcs/accounting-create-expense.js.map +1 -0
- package/esm/funcs/accounting-create-invoice.d.ts +11 -0
- package/esm/funcs/accounting-create-invoice.d.ts.map +1 -0
- package/esm/funcs/accounting-create-invoice.js +77 -0
- package/esm/funcs/accounting-create-invoice.js.map +1 -0
- package/esm/funcs/accounting-create-journal-entry.d.ts +11 -0
- package/esm/funcs/accounting-create-journal-entry.d.ts.map +1 -0
- package/esm/funcs/accounting-create-journal-entry.js +107 -0
- package/esm/funcs/accounting-create-journal-entry.js.map +1 -0
- package/esm/funcs/accounting-create-line-item.d.ts +11 -0
- package/esm/funcs/accounting-create-line-item.d.ts.map +1 -0
- package/esm/funcs/accounting-create-line-item.js +83 -0
- package/esm/funcs/accounting-create-line-item.js.map +1 -0
- package/esm/funcs/accounting-create-offer.d.ts +11 -0
- package/esm/funcs/accounting-create-offer.d.ts.map +1 -0
- package/esm/funcs/accounting-create-offer.js +77 -0
- package/esm/funcs/accounting-create-offer.js.map +1 -0
- package/esm/funcs/accounting-create-pass-through-request.d.ts +11 -0
- package/esm/funcs/accounting-create-pass-through-request.d.ts.map +1 -0
- package/esm/funcs/accounting-create-pass-through-request.js +77 -0
- package/esm/funcs/accounting-create-pass-through-request.js.map +1 -0
- package/esm/funcs/accounting-create-payment-term.d.ts +11 -0
- package/esm/funcs/accounting-create-payment-term.d.ts.map +1 -0
- package/esm/funcs/accounting-create-payment-term.js +76 -0
- package/esm/funcs/accounting-create-payment-term.js.map +1 -0
- package/esm/funcs/accounting-create-payment.d.ts +11 -0
- package/esm/funcs/accounting-create-payment.d.ts.map +1 -0
- package/esm/funcs/accounting-create-payment.js +76 -0
- package/esm/funcs/accounting-create-payment.js.map +1 -0
- package/esm/funcs/accounting-create-project.d.ts +11 -0
- package/esm/funcs/accounting-create-project.d.ts.map +1 -0
- package/esm/funcs/accounting-create-project.js +77 -0
- package/esm/funcs/accounting-create-project.js.map +1 -0
- package/esm/funcs/accounting-create-sales-order.d.ts +11 -0
- package/esm/funcs/accounting-create-sales-order.d.ts.map +1 -0
- package/esm/funcs/accounting-create-sales-order.js +77 -0
- package/esm/funcs/accounting-create-sales-order.js.map +1 -0
- package/esm/funcs/accounting-create-supplier.d.ts +11 -0
- package/esm/funcs/accounting-create-supplier.d.ts.map +1 -0
- package/esm/funcs/accounting-create-supplier.js +77 -0
- package/esm/funcs/accounting-create-supplier.js.map +1 -0
- package/esm/funcs/accounting-create-transaction.d.ts +11 -0
- package/esm/funcs/accounting-create-transaction.d.ts.map +1 -0
- package/esm/funcs/accounting-create-transaction.js +101 -0
- package/esm/funcs/accounting-create-transaction.js.map +1 -0
- package/esm/funcs/accounting-delete-bill.d.ts +11 -0
- package/esm/funcs/accounting-delete-bill.d.ts.map +1 -0
- package/esm/funcs/accounting-delete-bill.js +82 -0
- package/esm/funcs/accounting-delete-bill.js.map +1 -0
- package/esm/funcs/accounting-delete-event-subscriptions.d.ts +12 -0
- package/esm/funcs/accounting-delete-event-subscriptions.d.ts.map +1 -0
- package/esm/funcs/accounting-delete-event-subscriptions.js +79 -0
- package/esm/funcs/accounting-delete-event-subscriptions.js.map +1 -0
- package/esm/funcs/accounting-delete-payment.d.ts +11 -0
- package/esm/funcs/accounting-delete-payment.d.ts.map +1 -0
- package/esm/funcs/accounting-delete-payment.js +81 -0
- package/esm/funcs/accounting-delete-payment.js.map +1 -0
- package/esm/funcs/accounting-get-account.d.ts +11 -0
- package/esm/funcs/accounting-get-account.d.ts.map +1 -0
- package/esm/funcs/accounting-get-account.js +83 -0
- package/esm/funcs/accounting-get-account.js.map +1 -0
- package/esm/funcs/accounting-get-accounts.d.ts +11 -0
- package/esm/funcs/accounting-get-accounts.d.ts.map +1 -0
- package/esm/funcs/accounting-get-accounts.js +86 -0
- package/esm/funcs/accounting-get-accounts.js.map +1 -0
- package/esm/funcs/accounting-get-async-task-info.d.ts +11 -0
- package/esm/funcs/accounting-get-async-task-info.d.ts.map +1 -0
- package/esm/funcs/accounting-get-async-task-info.js +83 -0
- package/esm/funcs/accounting-get-async-task-info.js.map +1 -0
- package/esm/funcs/accounting-get-bank-account.d.ts +11 -0
- package/esm/funcs/accounting-get-bank-account.d.ts.map +1 -0
- package/esm/funcs/accounting-get-bank-account.js +83 -0
- package/esm/funcs/accounting-get-bank-account.js.map +1 -0
- package/esm/funcs/accounting-get-bank-accounts.d.ts +11 -0
- package/esm/funcs/accounting-get-bank-accounts.d.ts.map +1 -0
- package/esm/funcs/accounting-get-bank-accounts.js +80 -0
- package/esm/funcs/accounting-get-bank-accounts.js.map +1 -0
- package/esm/funcs/accounting-get-bill-document.d.ts +11 -0
- package/esm/funcs/accounting-get-bill-document.d.ts.map +1 -0
- package/esm/funcs/accounting-get-bill-document.js +77 -0
- package/esm/funcs/accounting-get-bill-document.js.map +1 -0
- package/esm/funcs/accounting-get-bill.d.ts +11 -0
- package/esm/funcs/accounting-get-bill.d.ts.map +1 -0
- package/esm/funcs/accounting-get-bill.js +83 -0
- package/esm/funcs/accounting-get-bill.js.map +1 -0
- package/esm/funcs/accounting-get-bills.d.ts +11 -0
- package/esm/funcs/accounting-get-bills.d.ts.map +1 -0
- package/esm/funcs/accounting-get-bills.js +84 -0
- package/esm/funcs/accounting-get-bills.js.map +1 -0
- package/esm/funcs/accounting-get-booking-proposal-document.d.ts +11 -0
- package/esm/funcs/accounting-get-booking-proposal-document.d.ts.map +1 -0
- package/esm/funcs/accounting-get-booking-proposal-document.js +74 -0
- package/esm/funcs/accounting-get-booking-proposal-document.js.map +1 -0
- package/esm/funcs/accounting-get-booking-proposal.d.ts +11 -0
- package/esm/funcs/accounting-get-booking-proposal.d.ts.map +1 -0
- package/esm/funcs/accounting-get-booking-proposal.js +80 -0
- package/esm/funcs/accounting-get-booking-proposal.js.map +1 -0
- package/esm/funcs/accounting-get-booking-proposals.d.ts +11 -0
- package/esm/funcs/accounting-get-booking-proposals.d.ts.map +1 -0
- package/esm/funcs/accounting-get-booking-proposals.js +84 -0
- package/esm/funcs/accounting-get-booking-proposals.js.map +1 -0
- package/esm/funcs/accounting-get-contact.d.ts +11 -0
- package/esm/funcs/accounting-get-contact.d.ts.map +1 -0
- package/esm/funcs/accounting-get-contact.js +83 -0
- package/esm/funcs/accounting-get-contact.js.map +1 -0
- package/esm/funcs/accounting-get-credit-note.d.ts +11 -0
- package/esm/funcs/accounting-get-credit-note.d.ts.map +1 -0
- package/esm/funcs/accounting-get-credit-note.js +83 -0
- package/esm/funcs/accounting-get-credit-note.js.map +1 -0
- package/esm/funcs/accounting-get-credit-notes.d.ts +11 -0
- package/esm/funcs/accounting-get-credit-notes.d.ts.map +1 -0
- package/esm/funcs/accounting-get-credit-notes.js +80 -0
- package/esm/funcs/accounting-get-credit-notes.js.map +1 -0
- package/esm/funcs/accounting-get-customer.d.ts +11 -0
- package/esm/funcs/accounting-get-customer.d.ts.map +1 -0
- package/esm/funcs/accounting-get-customer.js +83 -0
- package/esm/funcs/accounting-get-customer.js.map +1 -0
- package/esm/funcs/accounting-get-customers.d.ts +11 -0
- package/esm/funcs/accounting-get-customers.d.ts.map +1 -0
- package/esm/funcs/accounting-get-customers.js +83 -0
- package/esm/funcs/accounting-get-customers.js.map +1 -0
- package/esm/funcs/accounting-get-dimensions.d.ts +11 -0
- package/esm/funcs/accounting-get-dimensions.d.ts.map +1 -0
- package/esm/funcs/accounting-get-dimensions.js +80 -0
- package/esm/funcs/accounting-get-dimensions.js.map +1 -0
- package/esm/funcs/accounting-get-document-types.d.ts +11 -0
- package/esm/funcs/accounting-get-document-types.d.ts.map +1 -0
- package/esm/funcs/accounting-get-document-types.js +75 -0
- package/esm/funcs/accounting-get-document-types.js.map +1 -0
- package/esm/funcs/accounting-get-expense.d.ts +11 -0
- package/esm/funcs/accounting-get-expense.d.ts.map +1 -0
- package/esm/funcs/accounting-get-expense.js +83 -0
- package/esm/funcs/accounting-get-expense.js.map +1 -0
- package/esm/funcs/accounting-get-expenses.d.ts +11 -0
- package/esm/funcs/accounting-get-expenses.d.ts.map +1 -0
- package/esm/funcs/accounting-get-expenses.js +79 -0
- package/esm/funcs/accounting-get-expenses.js.map +1 -0
- package/esm/funcs/accounting-get-goods-receipt-line-items.d.ts +11 -0
- package/esm/funcs/accounting-get-goods-receipt-line-items.d.ts.map +1 -0
- package/esm/funcs/accounting-get-goods-receipt-line-items.js +84 -0
- package/esm/funcs/accounting-get-goods-receipt-line-items.js.map +1 -0
- package/esm/funcs/accounting-get-goods-receipt.d.ts +11 -0
- package/esm/funcs/accounting-get-goods-receipt.d.ts.map +1 -0
- package/esm/funcs/accounting-get-goods-receipt.js +83 -0
- package/esm/funcs/accounting-get-goods-receipt.js.map +1 -0
- package/esm/funcs/accounting-get-invoice-document.d.ts +11 -0
- package/esm/funcs/accounting-get-invoice-document.d.ts.map +1 -0
- package/esm/funcs/accounting-get-invoice-document.js +82 -0
- package/esm/funcs/accounting-get-invoice-document.js.map +1 -0
- package/esm/funcs/accounting-get-invoice.d.ts +11 -0
- package/esm/funcs/accounting-get-invoice.d.ts.map +1 -0
- package/esm/funcs/accounting-get-invoice.js +83 -0
- package/esm/funcs/accounting-get-invoice.js.map +1 -0
- package/esm/funcs/accounting-get-invoices.d.ts +11 -0
- package/esm/funcs/accounting-get-invoices.d.ts.map +1 -0
- package/esm/funcs/accounting-get-invoices.js +85 -0
- package/esm/funcs/accounting-get-invoices.js.map +1 -0
- package/esm/funcs/accounting-get-item.d.ts +11 -0
- package/esm/funcs/accounting-get-item.d.ts.map +1 -0
- package/esm/funcs/accounting-get-item.js +83 -0
- package/esm/funcs/accounting-get-item.js.map +1 -0
- package/esm/funcs/accounting-get-items.d.ts +11 -0
- package/esm/funcs/accounting-get-items.d.ts.map +1 -0
- package/esm/funcs/accounting-get-items.js +82 -0
- package/esm/funcs/accounting-get-items.js.map +1 -0
- package/esm/funcs/accounting-get-journal-entries.d.ts +11 -0
- package/esm/funcs/accounting-get-journal-entries.d.ts.map +1 -0
- package/esm/funcs/accounting-get-journal-entries.js +82 -0
- package/esm/funcs/accounting-get-journal-entries.js.map +1 -0
- package/esm/funcs/accounting-get-journal-entry.d.ts +11 -0
- package/esm/funcs/accounting-get-journal-entry.d.ts.map +1 -0
- package/esm/funcs/accounting-get-journal-entry.js +84 -0
- package/esm/funcs/accounting-get-journal-entry.js.map +1 -0
- package/esm/funcs/accounting-get-journals.d.ts +11 -0
- package/esm/funcs/accounting-get-journals.d.ts.map +1 -0
- package/esm/funcs/accounting-get-journals.js +80 -0
- package/esm/funcs/accounting-get-journals.js.map +1 -0
- package/esm/funcs/accounting-get-line-item.d.ts +11 -0
- package/esm/funcs/accounting-get-line-item.d.ts.map +1 -0
- package/esm/funcs/accounting-get-line-item.js +87 -0
- package/esm/funcs/accounting-get-line-item.js.map +1 -0
- package/esm/funcs/accounting-get-line-items.d.ts +11 -0
- package/esm/funcs/accounting-get-line-items.d.ts.map +1 -0
- package/esm/funcs/accounting-get-line-items.js +86 -0
- package/esm/funcs/accounting-get-line-items.js.map +1 -0
- package/esm/funcs/accounting-get-offer-line-item.d.ts +11 -0
- package/esm/funcs/accounting-get-offer-line-item.d.ts.map +1 -0
- package/esm/funcs/accounting-get-offer-line-item.js +87 -0
- package/esm/funcs/accounting-get-offer-line-item.js.map +1 -0
- package/esm/funcs/accounting-get-offer-line-items.d.ts +11 -0
- package/esm/funcs/accounting-get-offer-line-items.d.ts.map +1 -0
- package/esm/funcs/accounting-get-offer-line-items.js +86 -0
- package/esm/funcs/accounting-get-offer-line-items.js.map +1 -0
- package/esm/funcs/accounting-get-offer.d.ts +11 -0
- package/esm/funcs/accounting-get-offer.d.ts.map +1 -0
- package/esm/funcs/accounting-get-offer.js +83 -0
- package/esm/funcs/accounting-get-offer.js.map +1 -0
- package/esm/funcs/accounting-get-offers.d.ts +11 -0
- package/esm/funcs/accounting-get-offers.d.ts.map +1 -0
- package/esm/funcs/accounting-get-offers.js +81 -0
- package/esm/funcs/accounting-get-offers.js.map +1 -0
- package/esm/funcs/accounting-get-open-items.d.ts +11 -0
- package/esm/funcs/accounting-get-open-items.d.ts.map +1 -0
- package/esm/funcs/accounting-get-open-items.js +84 -0
- package/esm/funcs/accounting-get-open-items.js.map +1 -0
- package/esm/funcs/accounting-get-payment-term.d.ts +11 -0
- package/esm/funcs/accounting-get-payment-term.d.ts.map +1 -0
- package/esm/funcs/accounting-get-payment-term.js +83 -0
- package/esm/funcs/accounting-get-payment-term.js.map +1 -0
- package/esm/funcs/accounting-get-payment.d.ts +11 -0
- package/esm/funcs/accounting-get-payment.d.ts.map +1 -0
- package/esm/funcs/accounting-get-payment.js +82 -0
- package/esm/funcs/accounting-get-payment.js.map +1 -0
- package/esm/funcs/accounting-get-payments.d.ts +11 -0
- package/esm/funcs/accounting-get-payments.d.ts.map +1 -0
- package/esm/funcs/accounting-get-payments.js +81 -0
- package/esm/funcs/accounting-get-payments.js.map +1 -0
- 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 +3 -3
- package/esm/funcs/accounting-get-profile.js.map +1 -1
- package/esm/funcs/accounting-get-project.d.ts +11 -0
- package/esm/funcs/accounting-get-project.d.ts.map +1 -0
- package/esm/funcs/accounting-get-project.js +83 -0
- package/esm/funcs/accounting-get-project.js.map +1 -0
- package/esm/funcs/accounting-get-purchase-order-line-item.d.ts +11 -0
- package/esm/funcs/accounting-get-purchase-order-line-item.d.ts.map +1 -0
- package/esm/funcs/accounting-get-purchase-order-line-item.js +87 -0
- package/esm/funcs/accounting-get-purchase-order-line-item.js.map +1 -0
- package/esm/funcs/accounting-get-purchase-order-line-items.d.ts +11 -0
- package/esm/funcs/accounting-get-purchase-order-line-items.d.ts.map +1 -0
- package/esm/funcs/accounting-get-purchase-order-line-items.js +84 -0
- package/esm/funcs/accounting-get-purchase-order-line-items.js.map +1 -0
- package/esm/funcs/accounting-get-purchase-order.d.ts +11 -0
- package/esm/funcs/accounting-get-purchase-order.d.ts.map +1 -0
- package/esm/funcs/accounting-get-purchase-order.js +83 -0
- package/esm/funcs/accounting-get-purchase-order.js.map +1 -0
- package/esm/funcs/accounting-get-sales-order-lines.d.ts +11 -0
- package/esm/funcs/accounting-get-sales-order-lines.d.ts.map +1 -0
- package/esm/funcs/accounting-get-sales-order-lines.js +86 -0
- package/esm/funcs/accounting-get-sales-order-lines.js.map +1 -0
- package/esm/funcs/accounting-get-sales-order.d.ts +11 -0
- package/esm/funcs/accounting-get-sales-order.d.ts.map +1 -0
- package/esm/funcs/accounting-get-sales-order.js +83 -0
- package/esm/funcs/accounting-get-sales-order.js.map +1 -0
- package/esm/funcs/accounting-get-sales-orders.d.ts +11 -0
- package/esm/funcs/accounting-get-sales-orders.d.ts.map +1 -0
- package/esm/funcs/accounting-get-sales-orders.js +81 -0
- package/esm/funcs/accounting-get-sales-orders.js.map +1 -0
- package/esm/funcs/accounting-get-supplier.d.ts +11 -0
- package/esm/funcs/accounting-get-supplier.d.ts.map +1 -0
- package/esm/funcs/accounting-get-supplier.js +83 -0
- package/esm/funcs/accounting-get-supplier.js.map +1 -0
- package/esm/funcs/accounting-get-suppliers.d.ts +11 -0
- package/esm/funcs/accounting-get-suppliers.d.ts.map +1 -0
- package/esm/funcs/accounting-get-suppliers.js +83 -0
- package/esm/funcs/accounting-get-suppliers.js.map +1 -0
- package/esm/funcs/accounting-get-tax-rate.d.ts +11 -0
- package/esm/funcs/accounting-get-tax-rate.d.ts.map +1 -0
- package/esm/funcs/accounting-get-tax-rate.js +83 -0
- package/esm/funcs/accounting-get-tax-rate.js.map +1 -0
- package/esm/funcs/accounting-get-tax-rates.d.ts +11 -0
- package/esm/funcs/accounting-get-tax-rates.d.ts.map +1 -0
- package/esm/funcs/accounting-get-tax-rates.js +81 -0
- package/esm/funcs/accounting-get-tax-rates.js.map +1 -0
- package/esm/funcs/accounting-get-trial-balance.d.ts +11 -0
- package/esm/funcs/accounting-get-trial-balance.d.ts.map +1 -0
- package/esm/funcs/accounting-get-trial-balance.js +84 -0
- package/esm/funcs/accounting-get-trial-balance.js.map +1 -0
- package/esm/funcs/accounting-get-units.d.ts +11 -0
- package/esm/funcs/accounting-get-units.d.ts.map +1 -0
- package/esm/funcs/accounting-get-units.js +79 -0
- package/esm/funcs/accounting-get-units.js.map +1 -0
- package/esm/funcs/accounting-get-vendor-credits.d.ts +11 -0
- package/esm/funcs/accounting-get-vendor-credits.d.ts.map +1 -0
- package/esm/funcs/accounting-get-vendor-credits.js +82 -0
- package/esm/funcs/accounting-get-vendor-credits.js.map +1 -0
- package/esm/funcs/accounting-patch-customers.d.ts +11 -0
- package/esm/funcs/accounting-patch-customers.d.ts.map +1 -0
- package/esm/funcs/accounting-patch-customers.js +83 -0
- package/esm/funcs/accounting-patch-customers.js.map +1 -0
- package/esm/funcs/accounting-patch-invoice.d.ts +11 -0
- package/esm/funcs/accounting-patch-invoice.d.ts.map +1 -0
- package/esm/funcs/accounting-patch-invoice.js +83 -0
- package/esm/funcs/accounting-patch-invoice.js.map +1 -0
- package/esm/funcs/accounting-patch-supplier.d.ts +11 -0
- package/esm/funcs/accounting-patch-supplier.d.ts.map +1 -0
- package/esm/funcs/accounting-patch-supplier.js +83 -0
- package/esm/funcs/accounting-patch-supplier.js.map +1 -0
- package/esm/funcs/accounting-post-file.d.ts +11 -0
- package/esm/funcs/accounting-post-file.d.ts.map +1 -0
- package/esm/funcs/accounting-post-file.js +117 -0
- package/esm/funcs/accounting-post-file.js.map +1 -0
- package/esm/funcs/accounting-put-contact.d.ts +11 -0
- package/esm/funcs/accounting-put-contact.d.ts.map +1 -0
- package/esm/funcs/accounting-put-contact.js +83 -0
- package/esm/funcs/accounting-put-contact.js.map +1 -0
- package/esm/funcs/accounting-update-bill-line-item.d.ts +11 -0
- package/esm/funcs/accounting-update-bill-line-item.d.ts.map +1 -0
- package/esm/funcs/accounting-update-bill-line-item.js +86 -0
- package/esm/funcs/accounting-update-bill-line-item.js.map +1 -0
- package/esm/funcs/accounting-update-supplier.d.ts +11 -0
- package/esm/funcs/accounting-update-supplier.d.ts.map +1 -0
- package/esm/funcs/accounting-update-supplier.js +82 -0
- package/esm/funcs/accounting-update-supplier.js.map +1 -0
- package/esm/funcs/accounting-update-vendor-credit.d.ts +11 -0
- package/esm/funcs/accounting-update-vendor-credit.d.ts.map +1 -0
- package/esm/funcs/accounting-update-vendor-credit.js +83 -0
- package/esm/funcs/accounting-update-vendor-credit.js.map +1 -0
- package/esm/funcs/accounting-v2-get-dimensions-v2.d.ts +11 -0
- package/esm/funcs/accounting-v2-get-dimensions-v2.d.ts.map +1 -0
- package/esm/funcs/accounting-v2-get-dimensions-v2.js +78 -0
- package/esm/funcs/accounting-v2-get-dimensions-v2.js.map +1 -0
- package/esm/funcs/accounting-v2-put-contact-v2.d.ts +11 -0
- package/esm/funcs/accounting-v2-put-contact-v2.d.ts.map +1 -0
- package/esm/funcs/accounting-v2-put-contact-v2.js +83 -0
- package/esm/funcs/accounting-v2-put-contact-v2.js.map +1 -0
- package/esm/funcs/auth-api-key-confirmation.d.ts +2 -1
- package/esm/funcs/auth-api-key-confirmation.d.ts.map +1 -1
- package/esm/funcs/auth-api-key-confirmation.js +3 -3
- package/esm/funcs/auth-api-key-confirmation.js.map +1 -1
- package/esm/funcs/auth-callback.d.ts +1 -1
- package/esm/funcs/auth-callback.d.ts.map +1 -1
- package/esm/funcs/auth-callback.js +2 -2
- package/esm/funcs/auth-callback.js.map +1 -1
- package/esm/funcs/auth-cancel.d.ts +2 -1
- package/esm/funcs/auth-cancel.d.ts.map +1 -1
- package/esm/funcs/auth-cancel.js +3 -3
- package/esm/funcs/auth-cancel.js.map +1 -1
- package/esm/funcs/auth-create-end-user-account.d.ts +1 -1
- package/esm/funcs/auth-create-end-user-account.d.ts.map +1 -1
- package/esm/funcs/auth-create-end-user-account.js +2 -2
- package/esm/funcs/auth-create-end-user-account.js.map +1 -1
- package/esm/funcs/auth-get-environment-page.d.ts +1 -1
- package/esm/funcs/auth-get-environment-page.d.ts.map +1 -1
- package/esm/funcs/auth-get-environment-page.js +2 -2
- package/esm/funcs/auth-get-environment-page.js.map +1 -1
- package/esm/funcs/auth-get-submit-page.d.ts +1 -1
- package/esm/funcs/auth-get-submit-page.d.ts.map +1 -1
- package/esm/funcs/auth-get-submit-page.js +2 -2
- package/esm/funcs/auth-get-submit-page.js.map +1 -1
- package/esm/funcs/auth-long-token.d.ts +1 -1
- package/esm/funcs/auth-long-token.d.ts.map +1 -1
- package/esm/funcs/auth-long-token.js +7 -6
- package/esm/funcs/auth-long-token.js.map +1 -1
- package/esm/funcs/auth-set-end-user-selections.d.ts +1 -1
- package/esm/funcs/auth-set-end-user-selections.d.ts.map +1 -1
- package/esm/funcs/auth-set-end-user-selections.js +2 -2
- package/esm/funcs/auth-set-end-user-selections.js.map +1 -1
- package/esm/funcs/auth-system-login-url.d.ts +1 -1
- package/esm/funcs/auth-system-login-url.d.ts.map +1 -1
- package/esm/funcs/auth-system-login-url.js +3 -2
- package/esm/funcs/auth-system-login-url.js.map +1 -1
- package/esm/funcs/auth-test.d.ts +1 -1
- package/esm/funcs/auth-test.d.ts.map +1 -1
- package/esm/funcs/auth-test.js +2 -2
- package/esm/funcs/auth-test.js.map +1 -1
- package/esm/funcs/events-get-code.d.ts +1 -1
- package/esm/funcs/events-get-code.d.ts.map +1 -1
- package/esm/funcs/events-get-code.js +2 -2
- package/esm/funcs/events-get-code.js.map +1 -1
- package/esm/funcs/events-handle-callback.d.ts +1 -1
- package/esm/funcs/events-handle-callback.d.ts.map +1 -1
- package/esm/funcs/events-handle-callback.js +2 -2
- package/esm/funcs/events-handle-callback.js.map +1 -1
- package/esm/funcs/events-handle-configuration-callback.d.ts +1 -1
- package/esm/funcs/events-handle-configuration-callback.d.ts.map +1 -1
- package/esm/funcs/events-handle-configuration-callback.js +2 -2
- package/esm/funcs/events-handle-configuration-callback.js.map +1 -1
- package/esm/funcs/health-check.d.ts +2 -1
- package/esm/funcs/health-check.d.ts.map +1 -1
- package/esm/funcs/health-check.js +3 -3
- package/esm/funcs/health-check.js.map +1 -1
- package/esm/funcs/health-details.d.ts +2 -1
- package/esm/funcs/health-details.d.ts.map +1 -1
- package/esm/funcs/health-details.js +2 -2
- package/esm/funcs/health-details.js.map +1 -1
- package/esm/funcs/tenants-add-callback-url.d.ts +1 -1
- package/esm/funcs/tenants-add-callback-url.d.ts.map +1 -1
- package/esm/funcs/tenants-add-callback-url.js +3 -2
- 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 +3 -3
- package/esm/funcs/tenants-count-end-users-by-system.js.map +1 -1
- package/esm/funcs/tenants-delete-end-user.d.ts +2 -1
- package/esm/funcs/tenants-delete-end-user.d.ts.map +1 -1
- package/esm/funcs/tenants-delete-end-user.js +3 -3
- package/esm/funcs/tenants-delete-end-user.js.map +1 -1
- package/esm/funcs/tenants-delete-registered-system.d.ts +1 -1
- package/esm/funcs/tenants-delete-registered-system.d.ts.map +1 -1
- package/esm/funcs/tenants-delete-registered-system.js +3 -2
- package/esm/funcs/tenants-delete-registered-system.js.map +1 -1
- package/esm/funcs/tenants-get-all-active-end-users.d.ts +2 -1
- package/esm/funcs/tenants-get-all-active-end-users.d.ts.map +1 -1
- package/esm/funcs/tenants-get-all-active-end-users.js +3 -3
- package/esm/funcs/tenants-get-all-active-end-users.js.map +1 -1
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- package/esm/funcs/tenants-get-registered-systems.js.map +1 -1
- package/esm/funcs/tenants-get-submission-page-style-by-key.d.ts +2 -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 +3 -3
- package/esm/funcs/tenants-get-submission-page-style-by-key.js.map +1 -1
- package/esm/funcs/tenants-get-submission-page-style.d.ts +1 -1
- package/esm/funcs/tenants-get-submission-page-style.d.ts.map +1 -1
- package/esm/funcs/tenants-get-submission-page-style.js +2 -2
- 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 +3 -3
- 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 +3 -3
- package/esm/funcs/tenants-get-target-system-values.js.map +1 -1
- package/esm/funcs/tenants-system-registration.d.ts +1 -1
- package/esm/funcs/tenants-system-registration.d.ts.map +1 -1
- package/esm/funcs/tenants-system-registration.js +3 -2
- package/esm/funcs/tenants-system-registration.js.map +1 -1
- package/esm/funcs/tenants-update-submission-page-style.d.ts +2 -1
- package/esm/funcs/tenants-update-submission-page-style.d.ts.map +1 -1
- package/esm/funcs/tenants-update-submission-page-style.js +3 -2
- package/esm/funcs/tenants-update-submission-page-style.js.map +1 -1
- package/esm/funcs/user-get-user-info.d.ts +11 -0
- package/esm/funcs/user-get-user-info.d.ts.map +1 -0
- package/esm/funcs/user-get-user-info.js +61 -0
- package/esm/funcs/user-get-user-info.js.map +1 -0
- package/esm/funcs/vendor-credits-delete.d.ts +1 -1
- package/esm/funcs/vendor-credits-delete.d.ts.map +1 -1
- package/esm/funcs/vendor-credits-delete.js +2 -2
- package/esm/funcs/vendor-credits-delete.js.map +1 -1
- package/esm/funcs/webhooks-create-web-hook-tenant.d.ts +2 -1
- package/esm/funcs/webhooks-create-web-hook-tenant.d.ts.map +1 -1
- package/esm/funcs/webhooks-create-web-hook-tenant.js +3 -2
- package/esm/funcs/webhooks-create-web-hook-tenant.js.map +1 -1
- package/esm/funcs/webhooks-create-webhook-config.d.ts +2 -1
- package/esm/funcs/webhooks-create-webhook-config.d.ts.map +1 -1
- package/esm/funcs/webhooks-create-webhook-config.js +3 -2
- package/esm/funcs/webhooks-create-webhook-config.js.map +1 -1
- package/esm/funcs/webhooks-create-webhook-end-user.d.ts +1 -1
- package/esm/funcs/webhooks-create-webhook-end-user.d.ts.map +1 -1
- package/esm/funcs/webhooks-create-webhook-end-user.js +2 -2
- package/esm/funcs/webhooks-create-webhook-end-user.js.map +1 -1
- package/esm/funcs/webhooks-create-webhook.d.ts +1 -1
- package/esm/funcs/webhooks-create-webhook.d.ts.map +1 -1
- package/esm/funcs/webhooks-create-webhook.js +2 -2
- package/esm/funcs/webhooks-create-webhook.js.map +1 -1
- package/esm/funcs/webhooks-delete-webhook-end-user.d.ts +1 -1
- package/esm/funcs/webhooks-delete-webhook-end-user.d.ts.map +1 -1
- package/esm/funcs/webhooks-delete-webhook-end-user.js +2 -2
- package/esm/funcs/webhooks-delete-webhook-end-user.js.map +1 -1
- package/esm/funcs/webhooks-delete-webhook-tenant.d.ts +1 -1
- package/esm/funcs/webhooks-delete-webhook-tenant.d.ts.map +1 -1
- package/esm/funcs/webhooks-delete-webhook-tenant.js +3 -2
- package/esm/funcs/webhooks-delete-webhook-tenant.js.map +1 -1
- package/esm/funcs/webhooks-delete-webhook.d.ts +1 -1
- package/esm/funcs/webhooks-delete-webhook.d.ts.map +1 -1
- package/esm/funcs/webhooks-delete-webhook.js +2 -2
- package/esm/funcs/webhooks-delete-webhook.js.map +1 -1
- package/esm/funcs/webhooks-get-webhooks.d.ts +1 -1
- package/esm/funcs/webhooks-get-webhooks.d.ts.map +1 -1
- package/esm/funcs/webhooks-get-webhooks.js +2 -2
- package/esm/funcs/webhooks-get-webhooks.js.map +1 -1
- package/esm/lib/config.d.ts +3 -3
- 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/security.d.ts +1 -1
- package/esm/lib/security.d.ts.map +1 -1
- package/esm/lib/security.js +24 -13
- package/esm/lib/security.js.map +1 -1
- package/esm/models/base-response-dto.d.ts +41 -0
- package/esm/models/base-response-dto.d.ts.map +1 -0
- package/esm/models/base-response-dto.js +51 -0
- package/esm/models/base-response-dto.js.map +1 -0
- package/esm/models/company-response-dto.d.ts +2 -10
- package/esm/models/company-response-dto.d.ts.map +1 -1
- package/esm/models/company-response-dto.js +2 -11
- package/esm/models/company-response-dto.js.map +1 -1
- package/esm/models/index.d.ts +3 -0
- package/esm/models/index.d.ts.map +1 -1
- package/esm/models/index.js +3 -0
- package/esm/models/index.js.map +1 -1
- package/esm/models/operations/api-key-confirmation.d.ts +13 -0
- package/esm/models/operations/api-key-confirmation.d.ts.map +1 -0
- package/esm/models/operations/api-key-confirmation.js +14 -0
- package/esm/models/operations/api-key-confirmation.js.map +1 -0
- package/esm/models/operations/callback.d.ts +25 -2
- package/esm/models/operations/callback.d.ts.map +1 -1
- package/esm/models/operations/callback.js +10 -1
- package/esm/models/operations/callback.js.map +1 -1
- package/esm/models/operations/cancel.d.ts +13 -0
- package/esm/models/operations/cancel.d.ts.map +1 -0
- package/esm/models/operations/cancel.js +14 -0
- package/esm/models/operations/cancel.js.map +1 -0
- package/esm/models/operations/check.d.ts +11 -0
- package/esm/models/operations/check.d.ts.map +1 -0
- package/esm/models/operations/check.js +11 -0
- package/esm/models/operations/check.js.map +1 -0
- package/esm/models/operations/create-account.d.ts +9 -0
- package/esm/models/operations/create-account.d.ts.map +1 -1
- package/esm/models/operations/create-account.js.map +1 -1
- package/esm/models/operations/create-bank-account.d.ts +9 -0
- package/esm/models/operations/create-bank-account.d.ts.map +1 -1
- package/esm/models/operations/create-bank-account.js.map +1 -1
- package/esm/models/operations/create-bill-line-item.d.ts +6 -0
- package/esm/models/operations/create-bill-line-item.d.ts.map +1 -1
- package/esm/models/operations/create-bill-line-item.js.map +1 -1
- package/esm/models/operations/create-bill.d.ts +9 -0
- package/esm/models/operations/create-bill.d.ts.map +1 -1
- package/esm/models/operations/create-bill.js.map +1 -1
- package/esm/models/operations/create-booking-proposal-v2.d.ts +6 -0
- package/esm/models/operations/create-booking-proposal-v2.d.ts.map +1 -1
- package/esm/models/operations/create-booking-proposal-v2.js.map +1 -1
- package/esm/models/operations/create-booking-proposal.d.ts +6 -0
- package/esm/models/operations/create-booking-proposal.d.ts.map +1 -1
- package/esm/models/operations/create-booking-proposal.js.map +1 -1
- package/esm/models/operations/create-bookings.d.ts +6 -0
- package/esm/models/operations/create-bookings.d.ts.map +1 -1
- package/esm/models/operations/create-bookings.js.map +1 -1
- package/esm/models/operations/create-contact-v2.d.ts +9 -0
- package/esm/models/operations/create-contact-v2.d.ts.map +1 -1
- package/esm/models/operations/create-contact-v2.js.map +1 -1
- package/esm/models/operations/create-contact.d.ts +9 -0
- package/esm/models/operations/create-contact.d.ts.map +1 -1
- package/esm/models/operations/create-contact.js.map +1 -1
- package/esm/models/operations/create-contacts-v1.d.ts +6 -0
- package/esm/models/operations/create-contacts-v1.d.ts.map +1 -1
- package/esm/models/operations/create-contacts-v1.js.map +1 -1
- package/esm/models/operations/create-contacts.d.ts +6 -0
- package/esm/models/operations/create-contacts.d.ts.map +1 -1
- package/esm/models/operations/create-contacts.js.map +1 -1
- package/esm/models/operations/create-customer.d.ts +9 -0
- package/esm/models/operations/create-customer.d.ts.map +1 -1
- package/esm/models/operations/create-customer.js.map +1 -1
- package/esm/models/operations/create-end-user-account.d.ts +11 -0
- package/esm/models/operations/create-end-user-account.d.ts.map +1 -1
- package/esm/models/operations/create-end-user-account.js +9 -0
- package/esm/models/operations/create-end-user-account.js.map +1 -1
- package/esm/models/operations/create-event-subscriptions.d.ts +3 -0
- package/esm/models/operations/create-event-subscriptions.d.ts.map +1 -1
- package/esm/models/operations/create-event-subscriptions.js.map +1 -1
- package/esm/models/operations/create-expense.d.ts +9 -0
- package/esm/models/operations/create-expense.d.ts.map +1 -1
- package/esm/models/operations/create-expense.js.map +1 -1
- package/esm/models/operations/create-invoice.d.ts +9 -0
- package/esm/models/operations/create-invoice.d.ts.map +1 -1
- package/esm/models/operations/create-invoice.js.map +1 -1
- package/esm/models/operations/create-item.d.ts +9 -0
- package/esm/models/operations/create-item.d.ts.map +1 -1
- package/esm/models/operations/create-item.js.map +1 -1
- package/esm/models/operations/create-journal-entries.d.ts +6 -0
- package/esm/models/operations/create-journal-entries.d.ts.map +1 -1
- package/esm/models/operations/create-journal-entries.js.map +1 -1
- package/esm/models/operations/create-journal-entry-attachments.d.ts +3 -0
- package/esm/models/operations/create-journal-entry-attachments.d.ts.map +1 -1
- package/esm/models/operations/create-journal-entry-attachments.js.map +1 -1
- package/esm/models/operations/create-journal-entry.d.ts +9 -0
- package/esm/models/operations/create-journal-entry.d.ts.map +1 -1
- package/esm/models/operations/create-journal-entry.js.map +1 -1
- package/esm/models/operations/create-line-item.d.ts +9 -0
- package/esm/models/operations/create-line-item.d.ts.map +1 -1
- package/esm/models/operations/create-line-item.js.map +1 -1
- package/esm/models/operations/create-offer.d.ts +9 -0
- package/esm/models/operations/create-offer.d.ts.map +1 -1
- package/esm/models/operations/create-offer.js.map +1 -1
- package/esm/models/operations/create-pass-through-request.d.ts +9 -0
- package/esm/models/operations/create-pass-through-request.d.ts.map +1 -1
- package/esm/models/operations/create-pass-through-request.js.map +1 -1
- package/esm/models/operations/create-payment-term.d.ts +6 -0
- package/esm/models/operations/create-payment-term.d.ts.map +1 -1
- package/esm/models/operations/create-payment-term.js.map +1 -1
- package/esm/models/operations/create-payment.d.ts +6 -0
- package/esm/models/operations/create-payment.d.ts.map +1 -1
- package/esm/models/operations/create-payment.js.map +1 -1
- package/esm/models/operations/create-project.d.ts +9 -0
- package/esm/models/operations/create-project.d.ts.map +1 -1
- package/esm/models/operations/create-project.js.map +1 -1
- package/esm/models/operations/create-sales-order.d.ts +9 -0
- package/esm/models/operations/create-sales-order.d.ts.map +1 -1
- package/esm/models/operations/create-sales-order.js.map +1 -1
- package/esm/models/operations/create-supplier.d.ts +9 -0
- package/esm/models/operations/create-supplier.d.ts.map +1 -1
- package/esm/models/operations/create-supplier.js.map +1 -1
- package/esm/models/operations/create-transaction.d.ts +6 -0
- package/esm/models/operations/create-transaction.d.ts.map +1 -1
- package/esm/models/operations/create-transaction.js.map +1 -1
- package/esm/models/operations/create-vendor-credit.d.ts +9 -0
- package/esm/models/operations/create-vendor-credit.d.ts.map +1 -1
- package/esm/models/operations/create-vendor-credit.js.map +1 -1
- package/esm/models/operations/create-web-hook-tenant.d.ts +41 -0
- package/esm/models/operations/create-web-hook-tenant.d.ts.map +1 -0
- package/esm/models/operations/create-web-hook-tenant.js +46 -0
- package/esm/models/operations/create-web-hook-tenant.js.map +1 -0
- package/esm/models/operations/create-webhook-config.d.ts +41 -0
- package/esm/models/operations/create-webhook-config.d.ts.map +1 -0
- package/esm/models/operations/create-webhook-config.js +46 -0
- package/esm/models/operations/create-webhook-config.js.map +1 -0
- package/esm/models/operations/create-webhook-end-user.d.ts +44 -0
- package/esm/models/operations/create-webhook-end-user.d.ts.map +1 -1
- package/esm/models/operations/create-webhook-end-user.js +40 -0
- package/esm/models/operations/create-webhook-end-user.js.map +1 -1
- package/esm/models/operations/create-webhook.d.ts +44 -0
- package/esm/models/operations/create-webhook.d.ts.map +1 -1
- package/esm/models/operations/create-webhook.js +40 -0
- package/esm/models/operations/create-webhook.js.map +1 -1
- package/esm/models/operations/delete-bill.d.ts +44 -0
- package/esm/models/operations/delete-bill.d.ts.map +1 -1
- package/esm/models/operations/delete-bill.js +40 -0
- package/esm/models/operations/delete-bill.js.map +1 -1
- package/esm/models/operations/delete-end-user.d.ts +13 -0
- package/esm/models/operations/delete-end-user.d.ts.map +1 -0
- package/esm/models/operations/delete-end-user.js +14 -0
- package/esm/models/operations/delete-end-user.js.map +1 -0
- package/esm/models/operations/delete-event-subscriptions.d.ts +3 -0
- package/esm/models/operations/delete-event-subscriptions.d.ts.map +1 -1
- package/esm/models/operations/delete-event-subscriptions.js.map +1 -1
- package/esm/models/operations/delete-payment.d.ts +41 -0
- package/esm/models/operations/delete-payment.d.ts.map +1 -1
- package/esm/models/operations/delete-payment.js +40 -0
- package/esm/models/operations/delete-payment.js.map +1 -1
- package/esm/models/operations/delete-vendor-credit.d.ts +44 -0
- package/esm/models/operations/delete-vendor-credit.d.ts.map +1 -1
- package/esm/models/operations/delete-vendor-credit.js +40 -0
- package/esm/models/operations/delete-vendor-credit.js.map +1 -1
- package/esm/models/operations/delete-webhook-end-user.d.ts +15 -0
- package/esm/models/operations/delete-webhook-end-user.d.ts.map +1 -1
- package/esm/models/operations/delete-webhook-end-user.js +6 -0
- package/esm/models/operations/delete-webhook-end-user.js.map +1 -1
- package/esm/models/operations/delete-webhook.d.ts +15 -0
- package/esm/models/operations/delete-webhook.d.ts.map +1 -1
- package/esm/models/operations/delete-webhook.js +6 -0
- package/esm/models/operations/delete-webhook.js.map +1 -1
- package/esm/models/operations/details.d.ts +7 -0
- package/esm/models/operations/details.d.ts.map +1 -1
- package/esm/models/operations/details.js +5 -0
- package/esm/models/operations/details.js.map +1 -1
- package/esm/models/operations/get-account.d.ts +12 -0
- package/esm/models/operations/get-account.d.ts.map +1 -1
- package/esm/models/operations/get-account.js.map +1 -1
- package/esm/models/operations/get-accounts.d.ts +39 -0
- package/esm/models/operations/get-accounts.d.ts.map +1 -1
- package/esm/models/operations/get-accounts.js +3 -0
- package/esm/models/operations/get-accounts.js.map +1 -1
- package/esm/models/operations/get-all-active-end-users.d.ts +11 -0
- package/esm/models/operations/get-all-active-end-users.d.ts.map +1 -0
- package/esm/models/operations/get-all-active-end-users.js +11 -0
- package/esm/models/operations/get-all-active-end-users.js.map +1 -0
- package/esm/models/operations/get-async-task-info.d.ts +6 -0
- package/esm/models/operations/get-async-task-info.d.ts.map +1 -1
- package/esm/models/operations/get-async-task-info.js.map +1 -1
- package/esm/models/operations/get-bank-account.d.ts +12 -0
- package/esm/models/operations/get-bank-account.d.ts.map +1 -1
- package/esm/models/operations/get-bank-account.js.map +1 -1
- package/esm/models/operations/get-bank-accounts.d.ts +15 -0
- package/esm/models/operations/get-bank-accounts.d.ts.map +1 -1
- package/esm/models/operations/get-bank-accounts.js.map +1 -1
- package/esm/models/operations/get-bill-document.d.ts +3 -0
- package/esm/models/operations/get-bill-document.d.ts.map +1 -1
- package/esm/models/operations/get-bill-document.js.map +1 -1
- package/esm/models/operations/get-bill-line-items.d.ts +9 -0
- package/esm/models/operations/get-bill-line-items.d.ts.map +1 -1
- package/esm/models/operations/get-bill-line-items.js.map +1 -1
- package/esm/models/operations/get-bill.d.ts +12 -0
- package/esm/models/operations/get-bill.d.ts.map +1 -1
- package/esm/models/operations/get-bill.js.map +1 -1
- package/esm/models/operations/get-bills.d.ts +51 -0
- package/esm/models/operations/get-bills.d.ts.map +1 -1
- package/esm/models/operations/get-bills.js +12 -0
- package/esm/models/operations/get-bills.js.map +1 -1
- package/esm/models/operations/get-booking-proposal-document.d.ts +3 -0
- package/esm/models/operations/get-booking-proposal-document.d.ts.map +1 -1
- package/esm/models/operations/get-booking-proposal-document.js.map +1 -1
- package/esm/models/operations/get-booking-proposal.d.ts +12 -0
- package/esm/models/operations/get-booking-proposal.d.ts.map +1 -1
- package/esm/models/operations/get-booking-proposal.js.map +1 -1
- package/esm/models/operations/get-booking-proposals.d.ts +51 -0
- package/esm/models/operations/get-booking-proposals.d.ts.map +1 -1
- package/esm/models/operations/get-booking-proposals.js +12 -0
- package/esm/models/operations/get-booking-proposals.js.map +1 -1
- package/esm/models/operations/get-code.d.ts +9 -0
- package/esm/models/operations/get-code.d.ts.map +1 -1
- package/esm/models/operations/get-code.js +6 -0
- package/esm/models/operations/get-code.js.map +1 -1
- package/esm/models/operations/get-companies-flow.d.ts +6 -0
- package/esm/models/operations/get-companies-flow.d.ts.map +1 -1
- package/esm/models/operations/get-companies-flow.js.map +1 -1
- package/esm/models/operations/get-companies.d.ts +6 -0
- package/esm/models/operations/get-companies.d.ts.map +1 -1
- package/esm/models/operations/get-companies.js.map +1 -1
- package/esm/models/operations/get-contact-v2.d.ts +12 -0
- package/esm/models/operations/get-contact-v2.d.ts.map +1 -1
- package/esm/models/operations/get-contact-v2.js.map +1 -1
- package/esm/models/operations/get-contact.d.ts +12 -0
- package/esm/models/operations/get-contact.d.ts.map +1 -1
- package/esm/models/operations/get-contact.js.map +1 -1
- package/esm/models/operations/get-contacts-v2.d.ts +15 -0
- package/esm/models/operations/get-contacts-v2.d.ts.map +1 -1
- package/esm/models/operations/get-contacts-v2.js.map +1 -1
- package/esm/models/operations/get-contacts.d.ts +15 -0
- package/esm/models/operations/get-contacts.d.ts.map +1 -1
- package/esm/models/operations/get-contacts.js.map +1 -1
- package/esm/models/operations/get-credit-note.d.ts +12 -0
- package/esm/models/operations/get-credit-note.d.ts.map +1 -1
- package/esm/models/operations/get-credit-note.js.map +1 -1
- package/esm/models/operations/get-credit-notes.d.ts +15 -0
- package/esm/models/operations/get-credit-notes.d.ts.map +1 -1
- package/esm/models/operations/get-credit-notes.js.map +1 -1
- package/esm/models/operations/get-customer.d.ts +12 -0
- package/esm/models/operations/get-customer.d.ts.map +1 -1
- package/esm/models/operations/get-customer.js.map +1 -1
- package/esm/models/operations/get-customers.d.ts +24 -0
- package/esm/models/operations/get-customers.d.ts.map +1 -1
- package/esm/models/operations/get-customers.js.map +1 -1
- package/esm/models/operations/get-dimensions-by-dimension.d.ts +15 -0
- package/esm/models/operations/get-dimensions-by-dimension.d.ts.map +1 -1
- package/esm/models/operations/get-dimensions-by-dimension.js.map +1 -1
- package/esm/models/operations/get-dimensions-v2.d.ts +15 -0
- package/esm/models/operations/get-dimensions-v2.d.ts.map +1 -1
- package/esm/models/operations/get-dimensions-v2.js.map +1 -1
- package/esm/models/operations/get-dimensions.d.ts +15 -0
- package/esm/models/operations/get-dimensions.d.ts.map +1 -1
- package/esm/models/operations/get-dimensions.js.map +1 -1
- package/esm/models/operations/get-document-extensions.d.ts +6 -0
- package/esm/models/operations/get-document-extensions.d.ts.map +1 -1
- package/esm/models/operations/get-document-extensions.js.map +1 -1
- package/esm/models/operations/get-document-types.d.ts +6 -0
- package/esm/models/operations/get-document-types.d.ts.map +1 -1
- package/esm/models/operations/get-document-types.js.map +1 -1
- package/esm/models/operations/get-environment-page.d.ts +15 -0
- package/esm/models/operations/get-environment-page.d.ts.map +1 -1
- package/esm/models/operations/get-environment-page.js +6 -0
- package/esm/models/operations/get-environment-page.js.map +1 -1
- package/esm/models/operations/get-environments.d.ts +3 -0
- package/esm/models/operations/get-environments.d.ts.map +1 -1
- package/esm/models/operations/get-environments.js.map +1 -1
- package/esm/models/operations/get-expense.d.ts +12 -0
- package/esm/models/operations/get-expense.d.ts.map +1 -1
- package/esm/models/operations/get-expense.js.map +1 -1
- package/esm/models/operations/get-expenses.d.ts +12 -0
- package/esm/models/operations/get-expenses.d.ts.map +1 -1
- package/esm/models/operations/get-expenses.js.map +1 -1
- package/esm/models/operations/get-fiscal-year.d.ts +12 -0
- package/esm/models/operations/get-fiscal-year.d.ts.map +1 -1
- package/esm/models/operations/get-fiscal-year.js.map +1 -1
- package/esm/models/operations/get-fiscal-years.d.ts +12 -0
- package/esm/models/operations/get-fiscal-years.d.ts.map +1 -1
- package/esm/models/operations/get-fiscal-years.js.map +1 -1
- package/esm/models/operations/get-goods-receipt-line-item.d.ts +12 -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.map +1 -1
- package/esm/models/operations/get-goods-receipt-line-items.d.ts +15 -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.map +1 -1
- package/esm/models/operations/get-goods-receipt.d.ts +12 -0
- package/esm/models/operations/get-goods-receipt.d.ts.map +1 -1
- package/esm/models/operations/get-goods-receipt.js.map +1 -1
- package/esm/models/operations/get-goods-receipts.d.ts +15 -0
- package/esm/models/operations/get-goods-receipts.d.ts.map +1 -1
- package/esm/models/operations/get-goods-receipts.js.map +1 -1
- package/esm/models/operations/get-invoice-document.d.ts +9 -0
- package/esm/models/operations/get-invoice-document.d.ts.map +1 -1
- package/esm/models/operations/get-invoice-document.js.map +1 -1
- package/esm/models/operations/get-invoice.d.ts +12 -0
- package/esm/models/operations/get-invoice.d.ts.map +1 -1
- package/esm/models/operations/get-invoice.js.map +1 -1
- package/esm/models/operations/get-invoices.d.ts +54 -0
- package/esm/models/operations/get-invoices.d.ts.map +1 -1
- package/esm/models/operations/get-invoices.js +12 -0
- package/esm/models/operations/get-invoices.js.map +1 -1
- package/esm/models/operations/get-item.d.ts +12 -0
- package/esm/models/operations/get-item.d.ts.map +1 -1
- package/esm/models/operations/get-item.js.map +1 -1
- package/esm/models/operations/get-items.d.ts +21 -0
- package/esm/models/operations/get-items.d.ts.map +1 -1
- package/esm/models/operations/get-items.js.map +1 -1
- package/esm/models/operations/get-journal-entries.d.ts +21 -0
- package/esm/models/operations/get-journal-entries.d.ts.map +1 -1
- package/esm/models/operations/get-journal-entries.js.map +1 -1
- package/esm/models/operations/get-journal-entry-attachment-by-id.d.ts +9 -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.map +1 -1
- package/esm/models/operations/get-journal-entry-attachments.d.ts +9 -0
- package/esm/models/operations/get-journal-entry-attachments.d.ts.map +1 -1
- package/esm/models/operations/get-journal-entry-attachments.js.map +1 -1
- package/esm/models/operations/get-journal-entry.d.ts +15 -0
- package/esm/models/operations/get-journal-entry.d.ts.map +1 -1
- package/esm/models/operations/get-journal-entry.js.map +1 -1
- package/esm/models/operations/get-journals.d.ts +15 -0
- package/esm/models/operations/get-journals.d.ts.map +1 -1
- package/esm/models/operations/get-journals.js.map +1 -1
- package/esm/models/operations/get-line-item.d.ts +12 -0
- package/esm/models/operations/get-line-item.d.ts.map +1 -1
- package/esm/models/operations/get-line-item.js.map +1 -1
- package/esm/models/operations/get-line-items.d.ts +15 -0
- package/esm/models/operations/get-line-items.d.ts.map +1 -1
- package/esm/models/operations/get-line-items.js.map +1 -1
- package/esm/models/operations/get-offer-document.d.ts +9 -0
- package/esm/models/operations/get-offer-document.d.ts.map +1 -1
- package/esm/models/operations/get-offer-document.js.map +1 -1
- package/esm/models/operations/get-offer-line-item.d.ts +12 -0
- package/esm/models/operations/get-offer-line-item.d.ts.map +1 -1
- package/esm/models/operations/get-offer-line-item.js.map +1 -1
- package/esm/models/operations/get-offer-line-items.d.ts +15 -0
- package/esm/models/operations/get-offer-line-items.d.ts.map +1 -1
- package/esm/models/operations/get-offer-line-items.js.map +1 -1
- package/esm/models/operations/get-offer.d.ts +12 -0
- package/esm/models/operations/get-offer.d.ts.map +1 -1
- package/esm/models/operations/get-offer.js.map +1 -1
- package/esm/models/operations/get-offers.d.ts +24 -0
- package/esm/models/operations/get-offers.d.ts.map +1 -1
- package/esm/models/operations/get-offers.js +3 -0
- package/esm/models/operations/get-offers.js.map +1 -1
- package/esm/models/operations/get-open-items.d.ts +27 -0
- package/esm/models/operations/get-open-items.d.ts.map +1 -1
- package/esm/models/operations/get-open-items.js.map +1 -1
- package/esm/models/operations/get-payment-term.d.ts +12 -0
- package/esm/models/operations/get-payment-term.d.ts.map +1 -1
- package/esm/models/operations/get-payment-term.js.map +1 -1
- package/esm/models/operations/get-payment-terms.d.ts +21 -0
- package/esm/models/operations/get-payment-terms.d.ts.map +1 -1
- package/esm/models/operations/get-payment-terms.js.map +1 -1
- package/esm/models/operations/get-payment.d.ts +9 -0
- package/esm/models/operations/get-payment.d.ts.map +1 -1
- package/esm/models/operations/get-payment.js.map +1 -1
- package/esm/models/operations/get-payments.d.ts +18 -0
- package/esm/models/operations/get-payments.d.ts.map +1 -1
- package/esm/models/operations/get-payments.js.map +1 -1
- package/esm/models/operations/get-project.d.ts +12 -0
- package/esm/models/operations/get-project.d.ts.map +1 -1
- package/esm/models/operations/get-project.js.map +1 -1
- package/esm/models/operations/get-projects.d.ts +15 -0
- package/esm/models/operations/get-projects.d.ts.map +1 -1
- package/esm/models/operations/get-projects.js.map +1 -1
- package/esm/models/operations/get-purchase-order-line-item.d.ts +12 -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.map +1 -1
- package/esm/models/operations/get-purchase-order-line-items.d.ts +15 -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.map +1 -1
- package/esm/models/operations/get-purchase-order.d.ts +12 -0
- package/esm/models/operations/get-purchase-order.d.ts.map +1 -1
- package/esm/models/operations/get-purchase-order.js.map +1 -1
- package/esm/models/operations/get-purchase-orders.d.ts +15 -0
- package/esm/models/operations/get-purchase-orders.d.ts.map +1 -1
- package/esm/models/operations/get-purchase-orders.js.map +1 -1
- package/esm/models/operations/get-sales-order-lines.d.ts +15 -0
- package/esm/models/operations/get-sales-order-lines.d.ts.map +1 -1
- package/esm/models/operations/get-sales-order-lines.js.map +1 -1
- package/esm/models/operations/get-sales-order.d.ts +12 -0
- package/esm/models/operations/get-sales-order.d.ts.map +1 -1
- package/esm/models/operations/get-sales-order.js.map +1 -1
- package/esm/models/operations/get-sales-orders.d.ts +24 -0
- package/esm/models/operations/get-sales-orders.d.ts.map +1 -1
- package/esm/models/operations/get-sales-orders.js +3 -0
- package/esm/models/operations/get-sales-orders.js.map +1 -1
- package/esm/models/operations/get-submission-page-style-by-key.d.ts +11 -0
- package/esm/models/operations/get-submission-page-style-by-key.d.ts.map +1 -0
- package/esm/models/operations/get-submission-page-style-by-key.js +11 -0
- package/esm/models/operations/get-submission-page-style-by-key.js.map +1 -0
- package/esm/models/operations/get-submission-page-style.d.ts +12 -0
- package/esm/models/operations/get-submission-page-style.d.ts.map +1 -1
- package/esm/models/operations/get-submission-page-style.js +6 -0
- package/esm/models/operations/get-submission-page-style.js.map +1 -1
- package/esm/models/operations/get-submit-page.d.ts +14 -0
- package/esm/models/operations/get-submit-page.d.ts.map +1 -1
- package/esm/models/operations/get-submit-page.js +9 -0
- package/esm/models/operations/get-submit-page.js.map +1 -1
- package/esm/models/operations/get-supplier.d.ts +12 -0
- package/esm/models/operations/get-supplier.d.ts.map +1 -1
- package/esm/models/operations/get-supplier.js.map +1 -1
- package/esm/models/operations/get-suppliers.d.ts +24 -0
- package/esm/models/operations/get-suppliers.d.ts.map +1 -1
- package/esm/models/operations/get-suppliers.js.map +1 -1
- package/esm/models/operations/get-tax-rate.d.ts +12 -0
- package/esm/models/operations/get-tax-rate.d.ts.map +1 -1
- package/esm/models/operations/get-tax-rate.js.map +1 -1
- package/esm/models/operations/get-tax-rates.d.ts +18 -0
- package/esm/models/operations/get-tax-rates.d.ts.map +1 -1
- package/esm/models/operations/get-tax-rates.js.map +1 -1
- package/esm/models/operations/get-trial-balance.d.ts +27 -0
- package/esm/models/operations/get-trial-balance.d.ts.map +1 -1
- package/esm/models/operations/get-trial-balance.js.map +1 -1
- package/esm/models/operations/get-units.d.ts +12 -0
- package/esm/models/operations/get-units.d.ts.map +1 -1
- package/esm/models/operations/get-units.js.map +1 -1
- package/esm/models/operations/get-vendor-credits.d.ts +33 -0
- package/esm/models/operations/get-vendor-credits.d.ts.map +1 -1
- package/esm/models/operations/get-vendor-credits.js +6 -0
- package/esm/models/operations/get-vendor-credits.js.map +1 -1
- package/esm/models/operations/get-webhooks.d.ts +48 -0
- package/esm/models/operations/get-webhooks.d.ts.map +1 -1
- package/esm/models/operations/get-webhooks.js +41 -0
- package/esm/models/operations/get-webhooks.js.map +1 -1
- package/esm/models/operations/handle-callback.d.ts +9 -0
- package/esm/models/operations/handle-callback.d.ts.map +1 -1
- package/esm/models/operations/handle-callback.js +6 -0
- package/esm/models/operations/handle-callback.js.map +1 -1
- package/esm/models/operations/handle-configuration-callback.d.ts +9 -0
- package/esm/models/operations/handle-configuration-callback.d.ts.map +1 -1
- package/esm/models/operations/handle-configuration-callback.js +6 -0
- package/esm/models/operations/handle-configuration-callback.js.map +1 -1
- package/esm/models/operations/index.d.ts +9 -0
- package/esm/models/operations/index.d.ts.map +1 -1
- package/esm/models/operations/index.js +9 -0
- package/esm/models/operations/index.js.map +1 -1
- package/esm/models/operations/long-token.d.ts +13 -4
- package/esm/models/operations/long-token.d.ts.map +1 -1
- package/esm/models/operations/long-token.js +2 -2
- package/esm/models/operations/long-token.js.map +1 -1
- package/esm/models/operations/patch-contact-v2.d.ts +9 -0
- package/esm/models/operations/patch-contact-v2.d.ts.map +1 -1
- package/esm/models/operations/patch-contact-v2.js.map +1 -1
- package/esm/models/operations/patch-contact.d.ts +9 -0
- package/esm/models/operations/patch-contact.d.ts.map +1 -1
- package/esm/models/operations/patch-contact.js.map +1 -1
- package/esm/models/operations/patch-customers.d.ts +9 -0
- package/esm/models/operations/patch-customers.d.ts.map +1 -1
- package/esm/models/operations/patch-customers.js.map +1 -1
- package/esm/models/operations/patch-invoice.d.ts +9 -0
- package/esm/models/operations/patch-invoice.d.ts.map +1 -1
- package/esm/models/operations/patch-invoice.js.map +1 -1
- package/esm/models/operations/patch-item.d.ts +9 -0
- package/esm/models/operations/patch-item.d.ts.map +1 -1
- package/esm/models/operations/patch-item.js.map +1 -1
- package/esm/models/operations/patch-line-item.d.ts +9 -0
- package/esm/models/operations/patch-line-item.d.ts.map +1 -1
- package/esm/models/operations/patch-line-item.js.map +1 -1
- package/esm/models/operations/patch-supplier.d.ts +9 -0
- package/esm/models/operations/patch-supplier.d.ts.map +1 -1
- package/esm/models/operations/patch-supplier.js.map +1 -1
- package/esm/models/operations/post-file.d.ts +6 -0
- package/esm/models/operations/post-file.d.ts.map +1 -1
- package/esm/models/operations/post-file.js.map +1 -1
- package/esm/models/operations/put-contact-v2.d.ts +9 -0
- package/esm/models/operations/put-contact-v2.d.ts.map +1 -1
- package/esm/models/operations/put-contact-v2.js.map +1 -1
- package/esm/models/operations/put-contact.d.ts +9 -0
- package/esm/models/operations/put-contact.d.ts.map +1 -1
- package/esm/models/operations/put-contact.js.map +1 -1
- package/esm/models/operations/set-end-user-selections.d.ts +20 -0
- package/esm/models/operations/set-end-user-selections.d.ts.map +1 -1
- package/esm/models/operations/set-end-user-selections.js +9 -0
- package/esm/models/operations/set-end-user-selections.js.map +1 -1
- package/esm/models/operations/system-login-url.d.ts +18 -0
- package/esm/models/operations/system-login-url.d.ts.map +1 -1
- package/esm/models/operations/system-login-url.js.map +1 -1
- package/esm/models/operations/test.d.ts +14 -0
- package/esm/models/operations/test.d.ts.map +1 -1
- package/esm/models/operations/test.js +9 -0
- package/esm/models/operations/test.js.map +1 -1
- package/esm/models/operations/update-bill-line-item.d.ts +6 -0
- package/esm/models/operations/update-bill-line-item.d.ts.map +1 -1
- package/esm/models/operations/update-bill-line-item.js.map +1 -1
- package/esm/models/operations/update-bill.d.ts +9 -0
- package/esm/models/operations/update-bill.d.ts.map +1 -1
- package/esm/models/operations/update-bill.js.map +1 -1
- package/esm/models/operations/update-customer.d.ts +6 -0
- package/esm/models/operations/update-customer.d.ts.map +1 -1
- package/esm/models/operations/update-customer.js.map +1 -1
- package/esm/models/operations/update-submission-page-style.d.ts +11 -0
- package/esm/models/operations/update-submission-page-style.d.ts.map +1 -0
- package/esm/models/operations/update-submission-page-style.js +11 -0
- package/esm/models/operations/update-submission-page-style.js.map +1 -0
- package/esm/models/operations/update-supplier.d.ts +6 -0
- package/esm/models/operations/update-supplier.d.ts.map +1 -1
- package/esm/models/operations/update-supplier.js.map +1 -1
- package/esm/models/operations/update-vendor-credit.d.ts +9 -0
- package/esm/models/operations/update-vendor-credit.d.ts.map +1 -1
- package/esm/models/operations/update-vendor-credit.js.map +1 -1
- package/esm/models/subscription.d.ts +13 -0
- package/esm/models/subscription.d.ts.map +1 -0
- package/esm/models/subscription.js +17 -0
- package/esm/models/subscription.js.map +1 -0
- package/esm/models/webhook-response-dto.d.ts +15 -0
- package/esm/models/webhook-response-dto.d.ts.map +1 -0
- package/esm/models/webhook-response-dto.js +19 -0
- package/esm/models/webhook-response-dto.js.map +1 -0
- package/esm/sdk/accounting-v2.d.ts +2 -2
- package/esm/sdk/accounting-v2.d.ts.map +1 -1
- package/esm/sdk/accounting-v2.js +6 -6
- package/esm/sdk/accounting-v2.js.map +1 -1
- package/esm/sdk/accounting.d.ts +87 -86
- package/esm/sdk/accounting.d.ts.map +1 -1
- package/esm/sdk/accounting.js +255 -255
- package/esm/sdk/accounting.js.map +1 -1
- package/esm/sdk/auth.d.ts +10 -10
- package/esm/sdk/auth.d.ts.map +1 -1
- package/esm/sdk/auth.js.map +1 -1
- package/esm/sdk/events.d.ts +3 -3
- package/esm/sdk/events.d.ts.map +1 -1
- package/esm/sdk/events.js.map +1 -1
- package/esm/sdk/health.d.ts +3 -2
- package/esm/sdk/health.d.ts.map +1 -1
- package/esm/sdk/health.js.map +1 -1
- package/esm/sdk/tenants.d.ts +15 -15
- package/esm/sdk/tenants.d.ts.map +1 -1
- 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 +3 -3
- package/esm/sdk/user.js.map +1 -1
- package/esm/sdk/vendor-credits.d.ts +1 -1
- package/esm/sdk/vendor-credits.d.ts.map +1 -1
- package/esm/sdk/vendor-credits.js.map +1 -1
- package/esm/sdk/webhooks.d.ts +8 -8
- package/esm/sdk/webhooks.d.ts.map +1 -1
- package/esm/sdk/webhooks.js.map +1 -1
- package/examples/accountingGetAccount.example.ts +32 -0
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/accounting-create-account.ts +160 -0
- package/src/funcs/accounting-create-bank-account.ts +161 -0
- package/src/funcs/accounting-create-bill.ts +160 -0
- package/src/funcs/accounting-create-bookings.ts +159 -0
- package/src/funcs/accounting-create-contact.ts +160 -0
- package/src/funcs/accounting-create-contacts-v1.ts +160 -0
- package/src/funcs/accounting-create-contacts.ts +159 -0
- package/src/funcs/accounting-create-event-subscriptions.ts +161 -0
- package/src/funcs/accounting-create-expense.ts +202 -0
- package/src/funcs/accounting-create-invoice.ts +160 -0
- package/src/funcs/accounting-create-journal-entry.ts +208 -0
- package/src/funcs/accounting-create-line-item.ts +168 -0
- package/src/funcs/accounting-create-offer.ts +160 -0
- package/src/funcs/accounting-create-pass-through-request.ts +161 -0
- package/src/funcs/accounting-create-payment-term.ts +160 -0
- package/src/funcs/accounting-create-payment.ts +159 -0
- package/src/funcs/accounting-create-project.ts +160 -0
- package/src/funcs/accounting-create-sales-order.ts +161 -0
- package/src/funcs/accounting-create-supplier.ts +160 -0
- package/src/funcs/accounting-create-transaction.ts +202 -0
- package/src/funcs/accounting-delete-bill.ts +165 -0
- package/src/funcs/accounting-delete-event-subscriptions.ts +169 -0
- package/src/funcs/accounting-delete-payment.ts +164 -0
- package/src/funcs/accounting-get-account.ts +166 -0
- package/src/funcs/accounting-get-accounts.ts +170 -0
- package/src/funcs/accounting-get-async-task-info.ts +167 -0
- package/src/funcs/accounting-get-bank-account.ts +168 -0
- package/src/funcs/accounting-get-bank-accounts.ts +167 -0
- package/src/funcs/accounting-get-bill-document.ts +159 -0
- package/src/funcs/accounting-get-bill.ts +166 -0
- package/src/funcs/accounting-get-bills.ts +168 -0
- package/src/funcs/accounting-get-booking-proposal-document.ts +166 -0
- package/src/funcs/accounting-get-booking-proposal.ts +170 -0
- package/src/funcs/accounting-get-booking-proposals.ts +171 -0
- package/src/funcs/accounting-get-contact.ts +166 -0
- package/src/funcs/accounting-get-credit-note.ts +166 -0
- package/src/funcs/accounting-get-credit-notes.ts +167 -0
- package/src/funcs/accounting-get-customer.ts +166 -0
- package/src/funcs/accounting-get-customers.ts +167 -0
- package/src/funcs/accounting-get-dimensions.ts +167 -0
- package/src/funcs/accounting-get-document-types.ts +162 -0
- package/src/funcs/accounting-get-expense.ts +166 -0
- package/src/funcs/accounting-get-expenses.ts +163 -0
- package/src/funcs/accounting-get-goods-receipt-line-items.ts +170 -0
- package/src/funcs/accounting-get-goods-receipt.ts +168 -0
- package/src/funcs/accounting-get-invoice-document.ts +168 -0
- package/src/funcs/accounting-get-invoice.ts +166 -0
- package/src/funcs/accounting-get-invoices.ts +169 -0
- package/src/funcs/accounting-get-item.ts +166 -0
- package/src/funcs/accounting-get-items.ts +166 -0
- package/src/funcs/accounting-get-journal-entries.ts +169 -0
- package/src/funcs/accounting-get-journal-entry.ts +169 -0
- package/src/funcs/accounting-get-journals.ts +164 -0
- package/src/funcs/accounting-get-line-item.ts +172 -0
- package/src/funcs/accounting-get-line-items.ts +171 -0
- package/src/funcs/accounting-get-offer-line-item.ts +173 -0
- package/src/funcs/accounting-get-offer-line-items.ts +170 -0
- package/src/funcs/accounting-get-offer.ts +166 -0
- package/src/funcs/accounting-get-offers.ts +165 -0
- package/src/funcs/accounting-get-open-items.ts +168 -0
- package/src/funcs/accounting-get-payment-term.ts +168 -0
- package/src/funcs/accounting-get-payment.ts +165 -0
- package/src/funcs/accounting-get-payments.ts +165 -0
- package/src/funcs/accounting-get-profile.ts +6 -6
- package/src/funcs/accounting-get-project.ts +166 -0
- package/src/funcs/accounting-get-purchase-order-line-item.ts +173 -0
- package/src/funcs/accounting-get-purchase-order-line-items.ts +173 -0
- package/src/funcs/accounting-get-purchase-order.ts +169 -0
- package/src/funcs/accounting-get-sales-order-lines.ts +172 -0
- package/src/funcs/accounting-get-sales-order.ts +166 -0
- package/src/funcs/accounting-get-sales-orders.ts +168 -0
- package/src/funcs/accounting-get-supplier.ts +166 -0
- package/src/funcs/accounting-get-suppliers.ts +167 -0
- package/src/funcs/accounting-get-tax-rate.ts +166 -0
- package/src/funcs/accounting-get-tax-rates.ts +165 -0
- package/src/funcs/accounting-get-trial-balance.ts +171 -0
- package/src/funcs/accounting-get-units.ts +163 -0
- package/src/funcs/accounting-get-vendor-credits.ts +169 -0
- package/src/funcs/accounting-patch-customers.ts +166 -0
- package/src/funcs/accounting-patch-invoice.ts +166 -0
- package/src/funcs/accounting-patch-supplier.ts +166 -0
- package/src/funcs/accounting-post-file.ts +215 -0
- package/src/funcs/accounting-put-contact.ts +166 -0
- package/src/funcs/accounting-update-bill-line-item.ts +172 -0
- package/src/funcs/accounting-update-supplier.ts +165 -0
- package/src/funcs/accounting-update-vendor-credit.ts +169 -0
- package/src/funcs/accounting-v2-get-dimensions-v2.ts +165 -0
- package/src/funcs/accounting-v2-put-contact-v2.ts +166 -0
- package/src/funcs/auth-api-key-confirmation.ts +6 -6
- package/src/funcs/auth-callback.ts +5 -5
- package/src/funcs/auth-cancel.ts +6 -6
- package/src/funcs/auth-create-end-user-account.ts +5 -5
- package/src/funcs/auth-get-environment-page.ts +5 -5
- package/src/funcs/auth-get-submit-page.ts +5 -5
- package/src/funcs/auth-long-token.ts +12 -12
- package/src/funcs/auth-set-end-user-selections.ts +5 -5
- package/src/funcs/auth-system-login-url.ts +6 -5
- package/src/funcs/auth-test.ts +5 -5
- package/src/funcs/events-get-code.ts +5 -5
- package/src/funcs/events-handle-callback.ts +5 -5
- package/src/funcs/events-handle-configuration-callback.ts +5 -5
- package/src/funcs/health-check.ts +6 -6
- package/src/funcs/health-details.ts +5 -5
- package/src/funcs/tenants-add-callback-url.ts +6 -5
- package/src/funcs/tenants-count-end-users-by-system.ts +6 -6
- package/src/funcs/tenants-delete-end-user.ts +6 -6
- package/src/funcs/tenants-delete-registered-system.ts +6 -5
- package/src/funcs/tenants-get-all-active-end-users.ts +6 -6
- package/src/funcs/tenants-get-callback-url.ts +6 -6
- package/src/funcs/tenants-get-end-user-list.ts +6 -6
- package/src/funcs/tenants-get-registered-systems-masked.ts +6 -6
- package/src/funcs/tenants-get-registered-systems.ts +6 -6
- package/src/funcs/tenants-get-submission-page-style-by-key.ts +6 -6
- package/src/funcs/tenants-get-submission-page-style.ts +5 -5
- package/src/funcs/tenants-get-target-system-requirements.ts +6 -6
- package/src/funcs/tenants-get-target-system-values.ts +6 -6
- package/src/funcs/tenants-system-registration.ts +6 -5
- package/src/funcs/tenants-update-submission-page-style.ts +6 -5
- package/src/funcs/user-get-user-info.ts +135 -0
- package/src/funcs/vendor-credits-delete.ts +5 -5
- package/src/funcs/webhooks-create-web-hook-tenant.ts +6 -5
- package/src/funcs/webhooks-create-webhook-config.ts +6 -5
- package/src/funcs/webhooks-create-webhook-end-user.ts +5 -5
- package/src/funcs/webhooks-create-webhook.ts +5 -5
- package/src/funcs/webhooks-delete-webhook-end-user.ts +5 -5
- package/src/funcs/webhooks-delete-webhook-tenant.ts +6 -5
- package/src/funcs/webhooks-delete-webhook.ts +5 -5
- package/src/funcs/webhooks-get-webhooks.ts +5 -5
- package/src/lib/config.ts +3 -4
- package/src/lib/security.ts +14 -2
- package/src/models/base-response-dto.ts +133 -0
- package/src/models/company-response-dto.ts +3 -30
- package/src/models/index.ts +3 -0
- package/src/models/operations/api-key-confirmation.ts +34 -0
- package/src/models/operations/callback.ts +44 -3
- package/src/models/operations/cancel.ts +34 -0
- package/src/models/operations/check.ts +29 -0
- package/src/models/operations/create-account.ts +9 -0
- package/src/models/operations/create-bank-account.ts +9 -0
- package/src/models/operations/create-bill-line-item.ts +6 -0
- package/src/models/operations/create-bill.ts +9 -0
- package/src/models/operations/create-booking-proposal-v2.ts +6 -0
- package/src/models/operations/create-booking-proposal.ts +6 -0
- package/src/models/operations/create-bookings.ts +6 -0
- package/src/models/operations/create-contact-v2.ts +9 -0
- package/src/models/operations/create-contact.ts +9 -0
- package/src/models/operations/create-contacts-v1.ts +6 -0
- package/src/models/operations/create-contacts.ts +6 -0
- package/src/models/operations/create-customer.ts +9 -0
- package/src/models/operations/create-end-user-account.ts +29 -0
- package/src/models/operations/create-event-subscriptions.ts +3 -0
- package/src/models/operations/create-expense.ts +9 -0
- package/src/models/operations/create-invoice.ts +9 -0
- package/src/models/operations/create-item.ts +9 -0
- package/src/models/operations/create-journal-entries.ts +6 -0
- package/src/models/operations/create-journal-entry-attachments.ts +3 -0
- package/src/models/operations/create-journal-entry.ts +9 -0
- package/src/models/operations/create-line-item.ts +9 -0
- package/src/models/operations/create-offer.ts +9 -0
- package/src/models/operations/create-pass-through-request.ts +9 -0
- package/src/models/operations/create-payment-term.ts +6 -0
- package/src/models/operations/create-payment.ts +6 -0
- package/src/models/operations/create-project.ts +9 -0
- package/src/models/operations/create-sales-order.ts +9 -0
- package/src/models/operations/create-supplier.ts +9 -0
- package/src/models/operations/create-transaction.ts +6 -0
- package/src/models/operations/create-vendor-credit.ts +9 -0
- package/src/models/operations/create-web-hook-tenant.ts +135 -0
- package/src/models/operations/create-webhook-config.ts +135 -0
- package/src/models/operations/create-webhook-end-user.ts +137 -0
- package/src/models/operations/create-webhook.ts +131 -0
- package/src/models/operations/delete-bill.ts +131 -0
- package/src/models/operations/delete-end-user.ts +34 -0
- package/src/models/operations/delete-event-subscriptions.ts +3 -0
- package/src/models/operations/delete-payment.ts +128 -0
- package/src/models/operations/delete-vendor-credit.ts +135 -0
- package/src/models/operations/delete-webhook-end-user.ts +30 -0
- package/src/models/operations/delete-webhook.ts +30 -0
- package/src/models/operations/details.ts +21 -0
- package/src/models/operations/get-account.ts +12 -0
- package/src/models/operations/get-accounts.ts +39 -0
- package/src/models/operations/get-all-active-end-users.ts +29 -0
- package/src/models/operations/get-async-task-info.ts +6 -0
- package/src/models/operations/get-bank-account.ts +12 -0
- package/src/models/operations/get-bank-accounts.ts +15 -0
- package/src/models/operations/get-bill-document.ts +3 -0
- package/src/models/operations/get-bill-line-items.ts +9 -0
- package/src/models/operations/get-bill.ts +12 -0
- package/src/models/operations/get-bills.ts +51 -0
- package/src/models/operations/get-booking-proposal-document.ts +3 -0
- package/src/models/operations/get-booking-proposal.ts +12 -0
- package/src/models/operations/get-booking-proposals.ts +51 -0
- package/src/models/operations/get-code.ts +24 -0
- package/src/models/operations/get-companies-flow.ts +6 -0
- package/src/models/operations/get-companies.ts +6 -0
- package/src/models/operations/get-contact-v2.ts +12 -0
- package/src/models/operations/get-contact.ts +12 -0
- package/src/models/operations/get-contacts-v2.ts +15 -0
- package/src/models/operations/get-contacts.ts +15 -0
- package/src/models/operations/get-credit-note.ts +12 -0
- package/src/models/operations/get-credit-notes.ts +15 -0
- package/src/models/operations/get-customer.ts +12 -0
- package/src/models/operations/get-customers.ts +24 -0
- package/src/models/operations/get-dimensions-by-dimension.ts +15 -0
- package/src/models/operations/get-dimensions-v2.ts +15 -0
- package/src/models/operations/get-dimensions.ts +15 -0
- package/src/models/operations/get-document-extensions.ts +6 -0
- package/src/models/operations/get-document-types.ts +6 -0
- package/src/models/operations/get-environment-page.ts +30 -0
- package/src/models/operations/get-environments.ts +3 -0
- package/src/models/operations/get-expense.ts +12 -0
- package/src/models/operations/get-expenses.ts +12 -0
- package/src/models/operations/get-fiscal-year.ts +12 -0
- package/src/models/operations/get-fiscal-years.ts +12 -0
- package/src/models/operations/get-goods-receipt-line-item.ts +12 -0
- package/src/models/operations/get-goods-receipt-line-items.ts +15 -0
- package/src/models/operations/get-goods-receipt.ts +12 -0
- package/src/models/operations/get-goods-receipts.ts +15 -0
- package/src/models/operations/get-invoice-document.ts +9 -0
- package/src/models/operations/get-invoice.ts +12 -0
- package/src/models/operations/get-invoices.ts +54 -0
- package/src/models/operations/get-item.ts +12 -0
- package/src/models/operations/get-items.ts +21 -0
- package/src/models/operations/get-journal-entries.ts +21 -0
- package/src/models/operations/get-journal-entry-attachment-by-id.ts +9 -0
- package/src/models/operations/get-journal-entry-attachments.ts +9 -0
- package/src/models/operations/get-journal-entry.ts +15 -0
- package/src/models/operations/get-journals.ts +15 -0
- package/src/models/operations/get-line-item.ts +12 -0
- package/src/models/operations/get-line-items.ts +15 -0
- package/src/models/operations/get-offer-document.ts +9 -0
- package/src/models/operations/get-offer-line-item.ts +12 -0
- package/src/models/operations/get-offer-line-items.ts +15 -0
- package/src/models/operations/get-offer.ts +12 -0
- package/src/models/operations/get-offers.ts +24 -0
- package/src/models/operations/get-open-items.ts +27 -0
- package/src/models/operations/get-payment-term.ts +12 -0
- package/src/models/operations/get-payment-terms.ts +21 -0
- package/src/models/operations/get-payment.ts +9 -0
- package/src/models/operations/get-payments.ts +18 -0
- package/src/models/operations/get-project.ts +12 -0
- package/src/models/operations/get-projects.ts +15 -0
- package/src/models/operations/get-purchase-order-line-item.ts +12 -0
- package/src/models/operations/get-purchase-order-line-items.ts +15 -0
- package/src/models/operations/get-purchase-order.ts +12 -0
- package/src/models/operations/get-purchase-orders.ts +15 -0
- package/src/models/operations/get-sales-order-lines.ts +15 -0
- package/src/models/operations/get-sales-order.ts +12 -0
- package/src/models/operations/get-sales-orders.ts +24 -0
- package/src/models/operations/get-submission-page-style-by-key.ts +30 -0
- package/src/models/operations/get-submission-page-style.ts +27 -0
- package/src/models/operations/get-submit-page.ts +32 -0
- package/src/models/operations/get-supplier.ts +12 -0
- package/src/models/operations/get-suppliers.ts +24 -0
- package/src/models/operations/get-tax-rate.ts +12 -0
- package/src/models/operations/get-tax-rates.ts +18 -0
- package/src/models/operations/get-trial-balance.ts +27 -0
- package/src/models/operations/get-units.ts +12 -0
- package/src/models/operations/get-vendor-credits.ts +33 -0
- package/src/models/operations/get-webhooks.ts +135 -0
- package/src/models/operations/handle-callback.ts +24 -0
- package/src/models/operations/handle-configuration-callback.ts +25 -0
- package/src/models/operations/index.ts +9 -0
- package/src/models/operations/long-token.ts +15 -6
- package/src/models/operations/patch-contact-v2.ts +9 -0
- package/src/models/operations/patch-contact.ts +9 -0
- package/src/models/operations/patch-customers.ts +9 -0
- package/src/models/operations/patch-invoice.ts +9 -0
- package/src/models/operations/patch-item.ts +9 -0
- package/src/models/operations/patch-line-item.ts +9 -0
- package/src/models/operations/patch-supplier.ts +9 -0
- package/src/models/operations/post-file.ts +6 -0
- package/src/models/operations/put-contact-v2.ts +9 -0
- package/src/models/operations/put-contact.ts +9 -0
- package/src/models/operations/set-end-user-selections.ts +38 -0
- package/src/models/operations/system-login-url.ts +18 -0
- package/src/models/operations/test.ts +30 -0
- package/src/models/operations/update-bill-line-item.ts +6 -0
- package/src/models/operations/update-bill.ts +9 -0
- package/src/models/operations/update-customer.ts +6 -0
- package/src/models/operations/update-submission-page-style.ts +29 -0
- package/src/models/operations/update-supplier.ts +6 -0
- package/src/models/operations/update-vendor-credit.ts +9 -0
- package/src/models/subscription.ts +35 -0
- package/src/models/webhook-response-dto.ts +41 -0
- package/src/sdk/accounting-v2.ts +6 -6
- package/src/sdk/accounting.ts +261 -260
- package/src/sdk/auth.ts +11 -11
- package/src/sdk/events.ts +3 -3
- package/src/sdk/health.ts +3 -2
- package/src/sdk/tenants.ts +15 -15
- package/src/sdk/user.ts +3 -3
- package/src/sdk/vendor-credits.ts +1 -1
- package/src/sdk/webhooks.ts +8 -8
- package/esm/funcs/accounting-add-account.d.ts +0 -11
- package/esm/funcs/accounting-add-account.d.ts.map +0 -1
- package/esm/funcs/accounting-add-account.js +0 -77
- package/esm/funcs/accounting-add-account.js.map +0 -1
- package/esm/funcs/accounting-add-bank-account.d.ts +0 -11
- package/esm/funcs/accounting-add-bank-account.d.ts.map +0 -1
- package/esm/funcs/accounting-add-bank-account.js +0 -77
- package/esm/funcs/accounting-add-bank-account.js.map +0 -1
- package/esm/funcs/accounting-add-bill.d.ts +0 -11
- package/esm/funcs/accounting-add-bill.d.ts.map +0 -1
- package/esm/funcs/accounting-add-bill.js +0 -77
- package/esm/funcs/accounting-add-bill.js.map +0 -1
- package/esm/funcs/accounting-add-booking.d.ts +0 -11
- package/esm/funcs/accounting-add-booking.d.ts.map +0 -1
- package/esm/funcs/accounting-add-booking.js +0 -76
- package/esm/funcs/accounting-add-booking.js.map +0 -1
- package/esm/funcs/accounting-add-contact.d.ts +0 -11
- package/esm/funcs/accounting-add-contact.d.ts.map +0 -1
- package/esm/funcs/accounting-add-contact.js +0 -77
- package/esm/funcs/accounting-add-contact.js.map +0 -1
- package/esm/funcs/accounting-add-event-subscription.d.ts +0 -11
- package/esm/funcs/accounting-add-event-subscription.d.ts.map +0 -1
- package/esm/funcs/accounting-add-event-subscription.js +0 -76
- package/esm/funcs/accounting-add-event-subscription.js.map +0 -1
- package/esm/funcs/accounting-add-expense.d.ts +0 -11
- package/esm/funcs/accounting-add-expense.d.ts.map +0 -1
- package/esm/funcs/accounting-add-expense.js +0 -102
- package/esm/funcs/accounting-add-expense.js.map +0 -1
- package/esm/funcs/accounting-add-invoice-line-item.d.ts +0 -11
- package/esm/funcs/accounting-add-invoice-line-item.d.ts.map +0 -1
- package/esm/funcs/accounting-add-invoice-line-item.js +0 -83
- package/esm/funcs/accounting-add-invoice-line-item.js.map +0 -1
- package/esm/funcs/accounting-add-invoice.d.ts +0 -11
- package/esm/funcs/accounting-add-invoice.d.ts.map +0 -1
- package/esm/funcs/accounting-add-invoice.js +0 -77
- package/esm/funcs/accounting-add-invoice.js.map +0 -1
- package/esm/funcs/accounting-add-journal-entry.d.ts +0 -11
- package/esm/funcs/accounting-add-journal-entry.d.ts.map +0 -1
- package/esm/funcs/accounting-add-journal-entry.js +0 -107
- package/esm/funcs/accounting-add-journal-entry.js.map +0 -1
- package/esm/funcs/accounting-add-offer.d.ts +0 -11
- package/esm/funcs/accounting-add-offer.d.ts.map +0 -1
- package/esm/funcs/accounting-add-offer.js +0 -77
- package/esm/funcs/accounting-add-offer.js.map +0 -1
- package/esm/funcs/accounting-add-payment-term.d.ts +0 -11
- package/esm/funcs/accounting-add-payment-term.d.ts.map +0 -1
- package/esm/funcs/accounting-add-payment-term.js +0 -76
- package/esm/funcs/accounting-add-payment-term.js.map +0 -1
- package/esm/funcs/accounting-add-payment.d.ts +0 -11
- package/esm/funcs/accounting-add-payment.d.ts.map +0 -1
- package/esm/funcs/accounting-add-payment.js +0 -76
- package/esm/funcs/accounting-add-payment.js.map +0 -1
- package/esm/funcs/accounting-add-project.d.ts +0 -11
- package/esm/funcs/accounting-add-project.d.ts.map +0 -1
- package/esm/funcs/accounting-add-project.js +0 -77
- package/esm/funcs/accounting-add-project.js.map +0 -1
- package/esm/funcs/accounting-add-sales-order.d.ts +0 -11
- package/esm/funcs/accounting-add-sales-order.d.ts.map +0 -1
- package/esm/funcs/accounting-add-sales-order.js +0 -77
- package/esm/funcs/accounting-add-sales-order.js.map +0 -1
- package/esm/funcs/accounting-add-supplier.d.ts +0 -11
- package/esm/funcs/accounting-add-supplier.d.ts.map +0 -1
- package/esm/funcs/accounting-add-supplier.js +0 -77
- package/esm/funcs/accounting-add-supplier.js.map +0 -1
- package/esm/funcs/accounting-amend-customer.d.ts +0 -11
- package/esm/funcs/accounting-amend-customer.d.ts.map +0 -1
- package/esm/funcs/accounting-amend-customer.js +0 -83
- package/esm/funcs/accounting-amend-customer.js.map +0 -1
- package/esm/funcs/accounting-amend-invoice.d.ts +0 -11
- package/esm/funcs/accounting-amend-invoice.d.ts.map +0 -1
- package/esm/funcs/accounting-amend-invoice.js +0 -83
- package/esm/funcs/accounting-amend-invoice.js.map +0 -1
- package/esm/funcs/accounting-amend-supplier.d.ts +0 -11
- package/esm/funcs/accounting-amend-supplier.d.ts.map +0 -1
- package/esm/funcs/accounting-amend-supplier.js +0 -83
- package/esm/funcs/accounting-amend-supplier.js.map +0 -1
- package/esm/funcs/accounting-batch-add-contacts.d.ts +0 -11
- package/esm/funcs/accounting-batch-add-contacts.d.ts.map +0 -1
- package/esm/funcs/accounting-batch-add-contacts.js +0 -76
- package/esm/funcs/accounting-batch-add-contacts.js.map +0 -1
- package/esm/funcs/accounting-create-contacts-bulk.d.ts +0 -11
- package/esm/funcs/accounting-create-contacts-bulk.d.ts.map +0 -1
- package/esm/funcs/accounting-create-contacts-bulk.js +0 -76
- package/esm/funcs/accounting-create-contacts-bulk.js.map +0 -1
- package/esm/funcs/accounting-create-pass-through.d.ts +0 -11
- package/esm/funcs/accounting-create-pass-through.d.ts.map +0 -1
- package/esm/funcs/accounting-create-pass-through.js +0 -77
- package/esm/funcs/accounting-create-pass-through.js.map +0 -1
- package/esm/funcs/accounting-fetch-bank-account.d.ts +0 -11
- package/esm/funcs/accounting-fetch-bank-account.d.ts.map +0 -1
- package/esm/funcs/accounting-fetch-bank-account.js +0 -83
- package/esm/funcs/accounting-fetch-bank-account.js.map +0 -1
- package/esm/funcs/accounting-fetch-bill-document.d.ts +0 -11
- package/esm/funcs/accounting-fetch-bill-document.d.ts.map +0 -1
- package/esm/funcs/accounting-fetch-bill-document.js +0 -77
- package/esm/funcs/accounting-fetch-bill-document.js.map +0 -1
- package/esm/funcs/accounting-fetch-bill.d.ts +0 -11
- package/esm/funcs/accounting-fetch-bill.d.ts.map +0 -1
- package/esm/funcs/accounting-fetch-bill.js +0 -83
- package/esm/funcs/accounting-fetch-bill.js.map +0 -1
- package/esm/funcs/accounting-fetch-bills.d.ts +0 -11
- package/esm/funcs/accounting-fetch-bills.d.ts.map +0 -1
- package/esm/funcs/accounting-fetch-bills.js +0 -84
- package/esm/funcs/accounting-fetch-bills.js.map +0 -1
- package/esm/funcs/accounting-fetch-booking-proposal-document.d.ts +0 -11
- package/esm/funcs/accounting-fetch-booking-proposal-document.d.ts.map +0 -1
- package/esm/funcs/accounting-fetch-booking-proposal-document.js +0 -74
- package/esm/funcs/accounting-fetch-booking-proposal-document.js.map +0 -1
- package/esm/funcs/accounting-fetch-contact.d.ts +0 -11
- package/esm/funcs/accounting-fetch-contact.d.ts.map +0 -1
- package/esm/funcs/accounting-fetch-contact.js +0 -83
- package/esm/funcs/accounting-fetch-contact.js.map +0 -1
- package/esm/funcs/accounting-fetch-credit-note.d.ts +0 -11
- package/esm/funcs/accounting-fetch-credit-note.d.ts.map +0 -1
- package/esm/funcs/accounting-fetch-credit-note.js +0 -83
- package/esm/funcs/accounting-fetch-credit-note.js.map +0 -1
- package/esm/funcs/accounting-fetch-customer.d.ts +0 -11
- package/esm/funcs/accounting-fetch-customer.d.ts.map +0 -1
- package/esm/funcs/accounting-fetch-customer.js +0 -83
- package/esm/funcs/accounting-fetch-customer.js.map +0 -1
- package/esm/funcs/accounting-fetch-customers.d.ts +0 -11
- package/esm/funcs/accounting-fetch-customers.d.ts.map +0 -1
- package/esm/funcs/accounting-fetch-customers.js +0 -83
- package/esm/funcs/accounting-fetch-customers.js.map +0 -1
- package/esm/funcs/accounting-fetch-document-types.d.ts +0 -11
- package/esm/funcs/accounting-fetch-document-types.d.ts.map +0 -1
- package/esm/funcs/accounting-fetch-document-types.js +0 -75
- package/esm/funcs/accounting-fetch-document-types.js.map +0 -1
- package/esm/funcs/accounting-fetch-expense.d.ts +0 -11
- package/esm/funcs/accounting-fetch-expense.d.ts.map +0 -1
- package/esm/funcs/accounting-fetch-expense.js +0 -83
- package/esm/funcs/accounting-fetch-expense.js.map +0 -1
- package/esm/funcs/accounting-fetch-expenses.d.ts +0 -11
- package/esm/funcs/accounting-fetch-expenses.d.ts.map +0 -1
- package/esm/funcs/accounting-fetch-expenses.js +0 -79
- package/esm/funcs/accounting-fetch-expenses.js.map +0 -1
- package/esm/funcs/accounting-fetch-invoice-document.d.ts +0 -11
- package/esm/funcs/accounting-fetch-invoice-document.d.ts.map +0 -1
- package/esm/funcs/accounting-fetch-invoice-document.js +0 -82
- package/esm/funcs/accounting-fetch-invoice-document.js.map +0 -1
- package/esm/funcs/accounting-fetch-invoice.d.ts +0 -11
- package/esm/funcs/accounting-fetch-invoice.d.ts.map +0 -1
- package/esm/funcs/accounting-fetch-invoice.js +0 -83
- package/esm/funcs/accounting-fetch-invoice.js.map +0 -1
- package/esm/funcs/accounting-fetch-item.d.ts +0 -11
- package/esm/funcs/accounting-fetch-item.d.ts.map +0 -1
- package/esm/funcs/accounting-fetch-item.js +0 -83
- package/esm/funcs/accounting-fetch-item.js.map +0 -1
- package/esm/funcs/accounting-fetch-journal-entry.d.ts +0 -11
- package/esm/funcs/accounting-fetch-journal-entry.d.ts.map +0 -1
- package/esm/funcs/accounting-fetch-journal-entry.js +0 -84
- package/esm/funcs/accounting-fetch-journal-entry.js.map +0 -1
- package/esm/funcs/accounting-fetch-journals.d.ts +0 -11
- package/esm/funcs/accounting-fetch-journals.d.ts.map +0 -1
- package/esm/funcs/accounting-fetch-journals.js +0 -80
- package/esm/funcs/accounting-fetch-journals.js.map +0 -1
- package/esm/funcs/accounting-fetch-offer-line-items.d.ts +0 -11
- package/esm/funcs/accounting-fetch-offer-line-items.d.ts.map +0 -1
- package/esm/funcs/accounting-fetch-offer-line-items.js +0 -86
- package/esm/funcs/accounting-fetch-offer-line-items.js.map +0 -1
- package/esm/funcs/accounting-fetch-offer.d.ts +0 -11
- package/esm/funcs/accounting-fetch-offer.d.ts.map +0 -1
- package/esm/funcs/accounting-fetch-offer.js +0 -83
- package/esm/funcs/accounting-fetch-offer.js.map +0 -1
- package/esm/funcs/accounting-fetch-offers.d.ts +0 -11
- package/esm/funcs/accounting-fetch-offers.d.ts.map +0 -1
- package/esm/funcs/accounting-fetch-offers.js +0 -81
- package/esm/funcs/accounting-fetch-offers.js.map +0 -1
- package/esm/funcs/accounting-fetch-payment-term.d.ts +0 -11
- package/esm/funcs/accounting-fetch-payment-term.d.ts.map +0 -1
- package/esm/funcs/accounting-fetch-payment-term.js +0 -83
- package/esm/funcs/accounting-fetch-payment-term.js.map +0 -1
- package/esm/funcs/accounting-fetch-payment.d.ts +0 -11
- package/esm/funcs/accounting-fetch-payment.d.ts.map +0 -1
- package/esm/funcs/accounting-fetch-payment.js +0 -82
- package/esm/funcs/accounting-fetch-payment.js.map +0 -1
- package/esm/funcs/accounting-fetch-project.d.ts +0 -11
- package/esm/funcs/accounting-fetch-project.d.ts.map +0 -1
- package/esm/funcs/accounting-fetch-project.js +0 -83
- package/esm/funcs/accounting-fetch-project.js.map +0 -1
- package/esm/funcs/accounting-fetch-purchase-order.d.ts +0 -11
- package/esm/funcs/accounting-fetch-purchase-order.d.ts.map +0 -1
- package/esm/funcs/accounting-fetch-purchase-order.js +0 -83
- package/esm/funcs/accounting-fetch-purchase-order.js.map +0 -1
- package/esm/funcs/accounting-fetch-sales-order.d.ts +0 -11
- package/esm/funcs/accounting-fetch-sales-order.d.ts.map +0 -1
- package/esm/funcs/accounting-fetch-sales-order.js +0 -83
- package/esm/funcs/accounting-fetch-sales-order.js.map +0 -1
- package/esm/funcs/accounting-fetch-supplier.d.ts +0 -11
- package/esm/funcs/accounting-fetch-supplier.d.ts.map +0 -1
- package/esm/funcs/accounting-fetch-supplier.js +0 -83
- package/esm/funcs/accounting-fetch-supplier.js.map +0 -1
- package/esm/funcs/accounting-fetch-tax-rate.d.ts +0 -11
- package/esm/funcs/accounting-fetch-tax-rate.d.ts.map +0 -1
- package/esm/funcs/accounting-fetch-tax-rate.js +0 -83
- package/esm/funcs/accounting-fetch-tax-rate.js.map +0 -1
- package/esm/funcs/accounting-fetch-trial-balance.d.ts +0 -11
- package/esm/funcs/accounting-fetch-trial-balance.d.ts.map +0 -1
- package/esm/funcs/accounting-fetch-trial-balance.js +0 -84
- package/esm/funcs/accounting-fetch-trial-balance.js.map +0 -1
- package/esm/funcs/accounting-fetch-units.d.ts +0 -11
- package/esm/funcs/accounting-fetch-units.d.ts.map +0 -1
- package/esm/funcs/accounting-fetch-units.js +0 -79
- package/esm/funcs/accounting-fetch-units.js.map +0 -1
- package/esm/funcs/accounting-get-async-task.d.ts +0 -11
- package/esm/funcs/accounting-get-async-task.d.ts.map +0 -1
- package/esm/funcs/accounting-get-async-task.js +0 -83
- package/esm/funcs/accounting-get-async-task.js.map +0 -1
- package/esm/funcs/accounting-list-booking-proposals.d.ts +0 -11
- package/esm/funcs/accounting-list-booking-proposals.d.ts.map +0 -1
- package/esm/funcs/accounting-list-booking-proposals.js +0 -84
- package/esm/funcs/accounting-list-booking-proposals.js.map +0 -1
- package/esm/funcs/accounting-list-credit-notes.d.ts +0 -11
- package/esm/funcs/accounting-list-credit-notes.d.ts.map +0 -1
- package/esm/funcs/accounting-list-credit-notes.js +0 -80
- package/esm/funcs/accounting-list-credit-notes.js.map +0 -1
- package/esm/funcs/accounting-list-journal-entries.d.ts +0 -11
- package/esm/funcs/accounting-list-journal-entries.d.ts.map +0 -1
- package/esm/funcs/accounting-list-journal-entries.js +0 -82
- package/esm/funcs/accounting-list-journal-entries.js.map +0 -1
- package/esm/funcs/accounting-list-sales-order-line-items.d.ts +0 -11
- package/esm/funcs/accounting-list-sales-order-line-items.d.ts.map +0 -1
- package/esm/funcs/accounting-list-sales-order-line-items.js +0 -86
- package/esm/funcs/accounting-list-sales-order-line-items.js.map +0 -1
- package/esm/funcs/accounting-list-sales-orders.d.ts +0 -11
- package/esm/funcs/accounting-list-sales-orders.d.ts.map +0 -1
- package/esm/funcs/accounting-list-sales-orders.js +0 -81
- package/esm/funcs/accounting-list-sales-orders.js.map +0 -1
- package/esm/funcs/accounting-modify-bill-line-item.d.ts +0 -11
- package/esm/funcs/accounting-modify-bill-line-item.d.ts.map +0 -1
- package/esm/funcs/accounting-modify-bill-line-item.js +0 -86
- package/esm/funcs/accounting-modify-bill-line-item.js.map +0 -1
- package/esm/funcs/accounting-modify-supplier.d.ts +0 -11
- package/esm/funcs/accounting-modify-supplier.d.ts.map +0 -1
- package/esm/funcs/accounting-modify-supplier.js +0 -82
- package/esm/funcs/accounting-modify-supplier.js.map +0 -1
- package/esm/funcs/accounting-modify-vendor-credit.d.ts +0 -11
- package/esm/funcs/accounting-modify-vendor-credit.d.ts.map +0 -1
- package/esm/funcs/accounting-modify-vendor-credit.js +0 -83
- package/esm/funcs/accounting-modify-vendor-credit.js.map +0 -1
- package/esm/funcs/accounting-record-transaction.d.ts +0 -11
- package/esm/funcs/accounting-record-transaction.d.ts.map +0 -1
- package/esm/funcs/accounting-record-transaction.js +0 -101
- package/esm/funcs/accounting-record-transaction.js.map +0 -1
- package/esm/funcs/accounting-remove-bill.d.ts +0 -11
- package/esm/funcs/accounting-remove-bill.d.ts.map +0 -1
- package/esm/funcs/accounting-remove-bill.js +0 -82
- package/esm/funcs/accounting-remove-bill.js.map +0 -1
- package/esm/funcs/accounting-remove-event-subscription.d.ts +0 -11
- package/esm/funcs/accounting-remove-event-subscription.d.ts.map +0 -1
- package/esm/funcs/accounting-remove-event-subscription.js +0 -78
- package/esm/funcs/accounting-remove-event-subscription.js.map +0 -1
- package/esm/funcs/accounting-remove-payment.d.ts +0 -11
- package/esm/funcs/accounting-remove-payment.d.ts.map +0 -1
- package/esm/funcs/accounting-remove-payment.js +0 -81
- package/esm/funcs/accounting-remove-payment.js.map +0 -1
- package/esm/funcs/accounting-replace-contact.d.ts +0 -11
- package/esm/funcs/accounting-replace-contact.d.ts.map +0 -1
- package/esm/funcs/accounting-replace-contact.js +0 -83
- package/esm/funcs/accounting-replace-contact.js.map +0 -1
- package/esm/funcs/accounting-retrieve-account.d.ts +0 -11
- package/esm/funcs/accounting-retrieve-account.d.ts.map +0 -1
- package/esm/funcs/accounting-retrieve-account.js +0 -83
- package/esm/funcs/accounting-retrieve-account.js.map +0 -1
- package/esm/funcs/accounting-retrieve-accounts.d.ts +0 -11
- package/esm/funcs/accounting-retrieve-accounts.d.ts.map +0 -1
- package/esm/funcs/accounting-retrieve-accounts.js +0 -86
- package/esm/funcs/accounting-retrieve-accounts.js.map +0 -1
- package/esm/funcs/accounting-retrieve-bank-accounts.d.ts +0 -11
- package/esm/funcs/accounting-retrieve-bank-accounts.d.ts.map +0 -1
- package/esm/funcs/accounting-retrieve-bank-accounts.js +0 -80
- package/esm/funcs/accounting-retrieve-bank-accounts.js.map +0 -1
- package/esm/funcs/accounting-retrieve-booking-proposal.d.ts +0 -11
- package/esm/funcs/accounting-retrieve-booking-proposal.d.ts.map +0 -1
- package/esm/funcs/accounting-retrieve-booking-proposal.js +0 -80
- package/esm/funcs/accounting-retrieve-booking-proposal.js.map +0 -1
- package/esm/funcs/accounting-retrieve-dimensions.d.ts +0 -11
- package/esm/funcs/accounting-retrieve-dimensions.d.ts.map +0 -1
- package/esm/funcs/accounting-retrieve-dimensions.js +0 -80
- package/esm/funcs/accounting-retrieve-dimensions.js.map +0 -1
- package/esm/funcs/accounting-retrieve-goods-receipt-line-items.d.ts +0 -11
- package/esm/funcs/accounting-retrieve-goods-receipt-line-items.d.ts.map +0 -1
- package/esm/funcs/accounting-retrieve-goods-receipt-line-items.js +0 -84
- package/esm/funcs/accounting-retrieve-goods-receipt-line-items.js.map +0 -1
- package/esm/funcs/accounting-retrieve-goods-receipt.d.ts +0 -11
- package/esm/funcs/accounting-retrieve-goods-receipt.d.ts.map +0 -1
- package/esm/funcs/accounting-retrieve-goods-receipt.js +0 -83
- package/esm/funcs/accounting-retrieve-goods-receipt.js.map +0 -1
- package/esm/funcs/accounting-retrieve-invoice-line-item.d.ts +0 -11
- package/esm/funcs/accounting-retrieve-invoice-line-item.d.ts.map +0 -1
- package/esm/funcs/accounting-retrieve-invoice-line-item.js +0 -87
- package/esm/funcs/accounting-retrieve-invoice-line-item.js.map +0 -1
- package/esm/funcs/accounting-retrieve-invoice-line-items.d.ts +0 -11
- package/esm/funcs/accounting-retrieve-invoice-line-items.d.ts.map +0 -1
- package/esm/funcs/accounting-retrieve-invoice-line-items.js +0 -86
- package/esm/funcs/accounting-retrieve-invoice-line-items.js.map +0 -1
- package/esm/funcs/accounting-retrieve-invoices.d.ts +0 -11
- package/esm/funcs/accounting-retrieve-invoices.d.ts.map +0 -1
- package/esm/funcs/accounting-retrieve-invoices.js +0 -85
- package/esm/funcs/accounting-retrieve-invoices.js.map +0 -1
- package/esm/funcs/accounting-retrieve-items.d.ts +0 -11
- package/esm/funcs/accounting-retrieve-items.d.ts.map +0 -1
- package/esm/funcs/accounting-retrieve-items.js +0 -82
- package/esm/funcs/accounting-retrieve-items.js.map +0 -1
- package/esm/funcs/accounting-retrieve-offer-line-item.d.ts +0 -11
- package/esm/funcs/accounting-retrieve-offer-line-item.d.ts.map +0 -1
- package/esm/funcs/accounting-retrieve-offer-line-item.js +0 -87
- package/esm/funcs/accounting-retrieve-offer-line-item.js.map +0 -1
- package/esm/funcs/accounting-retrieve-open-items.d.ts +0 -11
- package/esm/funcs/accounting-retrieve-open-items.d.ts.map +0 -1
- package/esm/funcs/accounting-retrieve-open-items.js +0 -84
- package/esm/funcs/accounting-retrieve-open-items.js.map +0 -1
- package/esm/funcs/accounting-retrieve-payments.d.ts +0 -11
- package/esm/funcs/accounting-retrieve-payments.d.ts.map +0 -1
- package/esm/funcs/accounting-retrieve-payments.js +0 -81
- package/esm/funcs/accounting-retrieve-payments.js.map +0 -1
- package/esm/funcs/accounting-retrieve-purchase-order-line-item.d.ts +0 -11
- package/esm/funcs/accounting-retrieve-purchase-order-line-item.d.ts.map +0 -1
- package/esm/funcs/accounting-retrieve-purchase-order-line-item.js +0 -87
- package/esm/funcs/accounting-retrieve-purchase-order-line-item.js.map +0 -1
- package/esm/funcs/accounting-retrieve-purchase-order-line-items.d.ts +0 -11
- package/esm/funcs/accounting-retrieve-purchase-order-line-items.d.ts.map +0 -1
- package/esm/funcs/accounting-retrieve-purchase-order-line-items.js +0 -84
- package/esm/funcs/accounting-retrieve-purchase-order-line-items.js.map +0 -1
- package/esm/funcs/accounting-retrieve-suppliers.d.ts +0 -11
- package/esm/funcs/accounting-retrieve-suppliers.d.ts.map +0 -1
- package/esm/funcs/accounting-retrieve-suppliers.js +0 -83
- package/esm/funcs/accounting-retrieve-suppliers.js.map +0 -1
- package/esm/funcs/accounting-retrieve-tax-rates.d.ts +0 -11
- package/esm/funcs/accounting-retrieve-tax-rates.d.ts.map +0 -1
- package/esm/funcs/accounting-retrieve-tax-rates.js +0 -81
- package/esm/funcs/accounting-retrieve-tax-rates.js.map +0 -1
- package/esm/funcs/accounting-retrieve-vendor-credits.d.ts +0 -11
- package/esm/funcs/accounting-retrieve-vendor-credits.d.ts.map +0 -1
- package/esm/funcs/accounting-retrieve-vendor-credits.js +0 -82
- package/esm/funcs/accounting-retrieve-vendor-credits.js.map +0 -1
- package/esm/funcs/accounting-upload-file.d.ts +0 -11
- package/esm/funcs/accounting-upload-file.d.ts.map +0 -1
- package/esm/funcs/accounting-upload-file.js +0 -117
- package/esm/funcs/accounting-upload-file.js.map +0 -1
- package/esm/funcs/accounting-v2-obtain-dimensions.d.ts +0 -11
- package/esm/funcs/accounting-v2-obtain-dimensions.d.ts.map +0 -1
- package/esm/funcs/accounting-v2-obtain-dimensions.js +0 -78
- package/esm/funcs/accounting-v2-obtain-dimensions.js.map +0 -1
- package/esm/funcs/accounting-v2-update-contact.d.ts +0 -11
- package/esm/funcs/accounting-v2-update-contact.d.ts.map +0 -1
- package/esm/funcs/accounting-v2-update-contact.js +0 -83
- package/esm/funcs/accounting-v2-update-contact.js.map +0 -1
- package/esm/funcs/user-get-info.d.ts +0 -11
- package/esm/funcs/user-get-info.d.ts.map +0 -1
- package/esm/funcs/user-get-info.js +0 -61
- package/esm/funcs/user-get-info.js.map +0 -1
- package/examples/accountingRetrieveAccount.example.ts +0 -32
- package/src/funcs/accounting-add-account.ts +0 -160
- package/src/funcs/accounting-add-bank-account.ts +0 -161
- package/src/funcs/accounting-add-bill.ts +0 -160
- package/src/funcs/accounting-add-booking.ts +0 -159
- package/src/funcs/accounting-add-contact.ts +0 -160
- package/src/funcs/accounting-add-event-subscription.ts +0 -160
- package/src/funcs/accounting-add-expense.ts +0 -202
- package/src/funcs/accounting-add-invoice-line-item.ts +0 -168
- package/src/funcs/accounting-add-invoice.ts +0 -160
- package/src/funcs/accounting-add-journal-entry.ts +0 -208
- package/src/funcs/accounting-add-offer.ts +0 -160
- package/src/funcs/accounting-add-payment-term.ts +0 -160
- package/src/funcs/accounting-add-payment.ts +0 -159
- package/src/funcs/accounting-add-project.ts +0 -160
- package/src/funcs/accounting-add-sales-order.ts +0 -161
- package/src/funcs/accounting-add-supplier.ts +0 -160
- package/src/funcs/accounting-amend-customer.ts +0 -166
- package/src/funcs/accounting-amend-invoice.ts +0 -166
- package/src/funcs/accounting-amend-supplier.ts +0 -166
- package/src/funcs/accounting-batch-add-contacts.ts +0 -160
- package/src/funcs/accounting-create-contacts-bulk.ts +0 -159
- package/src/funcs/accounting-create-pass-through.ts +0 -161
- package/src/funcs/accounting-fetch-bank-account.ts +0 -168
- package/src/funcs/accounting-fetch-bill-document.ts +0 -159
- package/src/funcs/accounting-fetch-bill.ts +0 -166
- package/src/funcs/accounting-fetch-bills.ts +0 -168
- package/src/funcs/accounting-fetch-booking-proposal-document.ts +0 -166
- package/src/funcs/accounting-fetch-contact.ts +0 -166
- package/src/funcs/accounting-fetch-credit-note.ts +0 -166
- package/src/funcs/accounting-fetch-customer.ts +0 -166
- package/src/funcs/accounting-fetch-customers.ts +0 -167
- package/src/funcs/accounting-fetch-document-types.ts +0 -162
- package/src/funcs/accounting-fetch-expense.ts +0 -166
- package/src/funcs/accounting-fetch-expenses.ts +0 -163
- package/src/funcs/accounting-fetch-invoice-document.ts +0 -168
- package/src/funcs/accounting-fetch-invoice.ts +0 -166
- package/src/funcs/accounting-fetch-item.ts +0 -166
- package/src/funcs/accounting-fetch-journal-entry.ts +0 -169
- package/src/funcs/accounting-fetch-journals.ts +0 -164
- package/src/funcs/accounting-fetch-offer-line-items.ts +0 -170
- package/src/funcs/accounting-fetch-offer.ts +0 -166
- package/src/funcs/accounting-fetch-offers.ts +0 -165
- package/src/funcs/accounting-fetch-payment-term.ts +0 -168
- package/src/funcs/accounting-fetch-payment.ts +0 -165
- package/src/funcs/accounting-fetch-project.ts +0 -166
- package/src/funcs/accounting-fetch-purchase-order.ts +0 -169
- package/src/funcs/accounting-fetch-sales-order.ts +0 -166
- package/src/funcs/accounting-fetch-supplier.ts +0 -166
- package/src/funcs/accounting-fetch-tax-rate.ts +0 -166
- package/src/funcs/accounting-fetch-trial-balance.ts +0 -171
- package/src/funcs/accounting-fetch-units.ts +0 -163
- package/src/funcs/accounting-get-async-task.ts +0 -167
- package/src/funcs/accounting-list-booking-proposals.ts +0 -171
- package/src/funcs/accounting-list-credit-notes.ts +0 -167
- package/src/funcs/accounting-list-journal-entries.ts +0 -169
- package/src/funcs/accounting-list-sales-order-line-items.ts +0 -172
- package/src/funcs/accounting-list-sales-orders.ts +0 -168
- package/src/funcs/accounting-modify-bill-line-item.ts +0 -172
- package/src/funcs/accounting-modify-supplier.ts +0 -165
- package/src/funcs/accounting-modify-vendor-credit.ts +0 -169
- package/src/funcs/accounting-record-transaction.ts +0 -202
- package/src/funcs/accounting-remove-bill.ts +0 -165
- package/src/funcs/accounting-remove-event-subscription.ts +0 -168
- package/src/funcs/accounting-remove-payment.ts +0 -164
- package/src/funcs/accounting-replace-contact.ts +0 -166
- package/src/funcs/accounting-retrieve-account.ts +0 -166
- package/src/funcs/accounting-retrieve-accounts.ts +0 -170
- package/src/funcs/accounting-retrieve-bank-accounts.ts +0 -167
- package/src/funcs/accounting-retrieve-booking-proposal.ts +0 -170
- package/src/funcs/accounting-retrieve-dimensions.ts +0 -167
- package/src/funcs/accounting-retrieve-goods-receipt-line-items.ts +0 -170
- package/src/funcs/accounting-retrieve-goods-receipt.ts +0 -168
- package/src/funcs/accounting-retrieve-invoice-line-item.ts +0 -172
- package/src/funcs/accounting-retrieve-invoice-line-items.ts +0 -171
- package/src/funcs/accounting-retrieve-invoices.ts +0 -169
- package/src/funcs/accounting-retrieve-items.ts +0 -166
- package/src/funcs/accounting-retrieve-offer-line-item.ts +0 -173
- package/src/funcs/accounting-retrieve-open-items.ts +0 -168
- package/src/funcs/accounting-retrieve-payments.ts +0 -165
- package/src/funcs/accounting-retrieve-purchase-order-line-item.ts +0 -173
- package/src/funcs/accounting-retrieve-purchase-order-line-items.ts +0 -173
- package/src/funcs/accounting-retrieve-suppliers.ts +0 -167
- package/src/funcs/accounting-retrieve-tax-rates.ts +0 -165
- package/src/funcs/accounting-retrieve-vendor-credits.ts +0 -169
- package/src/funcs/accounting-upload-file.ts +0 -215
- package/src/funcs/accounting-v2-obtain-dimensions.ts +0 -165
- package/src/funcs/accounting-v2-update-contact.ts +0 -166
- package/src/funcs/user-get-info.ts +0 -135
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
import * as z from "zod/v4-mini";
|
|
5
|
-
import { encodeFormQuery, encodeJSON } from "../lib/encodings.js";
|
|
6
|
-
import * as M from "../lib/matchers.js";
|
|
7
|
-
import { compactMap } from "../lib/primitives.js";
|
|
8
|
-
import { safeParse } from "../lib/schemas.js";
|
|
9
|
-
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
10
|
-
import { pathToFunc } from "../lib/url.js";
|
|
11
|
-
import * as operations from "../models/operations/index.js";
|
|
12
|
-
import { APIPromise } from "../types/async.js";
|
|
13
|
-
export function accountingAddBill(client, request, options) {
|
|
14
|
-
return new APIPromise($do(client, request, options));
|
|
15
|
-
}
|
|
16
|
-
async function $do(client, request, options) {
|
|
17
|
-
const parsed = safeParse(request, (value) => z.parse(operations.CreateBillRequest$outboundSchema, value), "Input validation failed");
|
|
18
|
-
if (!parsed.ok) {
|
|
19
|
-
return [parsed, { status: "invalid" }];
|
|
20
|
-
}
|
|
21
|
-
const payload = parsed.value;
|
|
22
|
-
const body = encodeJSON("body", payload.body, { explode: true });
|
|
23
|
-
const path = pathToFunc("/accounting/bills")();
|
|
24
|
-
const query = encodeFormQuery({
|
|
25
|
-
"companyId": payload.companyId,
|
|
26
|
-
"environmentName": payload.environmentName,
|
|
27
|
-
});
|
|
28
|
-
const headers = new Headers(compactMap({
|
|
29
|
-
"Content-Type": "application/json",
|
|
30
|
-
Accept: "application/json",
|
|
31
|
-
}));
|
|
32
|
-
const securityInput = await extractSecurity(client._options.security);
|
|
33
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
34
|
-
const context = {
|
|
35
|
-
options: client._options,
|
|
36
|
-
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
37
|
-
operationID: "createBill",
|
|
38
|
-
oAuth2Scopes: null,
|
|
39
|
-
resolvedSecurity: requestSecurity,
|
|
40
|
-
securitySource: client._options.security,
|
|
41
|
-
retryConfig: options?.retries
|
|
42
|
-
|| client._options.retryConfig
|
|
43
|
-
|| { strategy: "none" },
|
|
44
|
-
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
45
|
-
};
|
|
46
|
-
const requestRes = client._createRequest(context, {
|
|
47
|
-
security: requestSecurity,
|
|
48
|
-
method: "POST",
|
|
49
|
-
baseURL: options?.serverURL,
|
|
50
|
-
path: path,
|
|
51
|
-
headers: headers,
|
|
52
|
-
query: query,
|
|
53
|
-
body: body,
|
|
54
|
-
userAgent: client._options.userAgent,
|
|
55
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
56
|
-
}, options);
|
|
57
|
-
if (!requestRes.ok) {
|
|
58
|
-
return [requestRes, { status: "invalid" }];
|
|
59
|
-
}
|
|
60
|
-
const req = requestRes.value;
|
|
61
|
-
const doResult = await client._do(req, {
|
|
62
|
-
context,
|
|
63
|
-
errorCodes: ["4XX", "5XX"],
|
|
64
|
-
retryConfig: context.retryConfig,
|
|
65
|
-
retryCodes: context.retryCodes,
|
|
66
|
-
});
|
|
67
|
-
if (!doResult.ok) {
|
|
68
|
-
return [doResult, { status: "request-error", request: req }];
|
|
69
|
-
}
|
|
70
|
-
const response = doResult.value;
|
|
71
|
-
const [result] = await M.match(M.json(201, operations.CreateBillResponse$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req);
|
|
72
|
-
if (!result.ok) {
|
|
73
|
-
return [result, { status: "complete", request: req, response }];
|
|
74
|
-
}
|
|
75
|
-
return [result, { status: "complete", request: req, response }];
|
|
76
|
-
}
|
|
77
|
-
//# sourceMappingURL=accounting-add-bill.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"accounting-add-bill.js","sourceRoot":"","sources":["../../src/funcs/accounting-add-bill.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAClE,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAW3C,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAGxD,MAAM,UAAU,iBAAiB,CAC/B,MAAiB,EACjB,OAAqC,EACrC,OAAwB,EAaxB;IACA,OAAO,IAAI,UAAU,CAAC,GAAG,CACvB,MAAM,EACN,OAAO,EACP,OAAO,CACR,CAAC,CAAC;AAAA,CACJ;AAED,KAAK,UAAU,GAAG,CAChB,MAAiB,EACjB,OAAqC,EACrC,OAAwB,EAgBxB;IACA,MAAM,MAAM,GAAG,SAAS,CACtB,OAAO,EACP,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,gCAAgC,EAAE,KAAK,CAAC,EACtE,yBAAyB,CAC1B,CAAC;IACF,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC,CAAC;IACzC,CAAC;IACD,MAAM,OAAO,GAAG,MAAM,CAAC,KAAK,CAAC;IA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AAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAAA,CACjE"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { MaesnCore } from "../core.js";
|
|
2
|
-
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
-
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/http-client-errors.js";
|
|
4
|
-
import { MaesnError } from "../models/errors/maesn-error.js";
|
|
5
|
-
import { ResponseValidationError } from "../models/errors/response-validation-error.js";
|
|
6
|
-
import { SDKValidationError } from "../models/errors/sdk-validation-error.js";
|
|
7
|
-
import * as operations from "../models/operations/index.js";
|
|
8
|
-
import { APIPromise } from "../types/async.js";
|
|
9
|
-
import { Result } from "../types/fp.js";
|
|
10
|
-
export declare function accountingAddBooking(client: MaesnCore, request: operations.CreateBookingsRequest, options?: RequestOptions): APIPromise<Result<operations.CreateBookingsResponse, MaesnError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
11
|
-
//# sourceMappingURL=accounting-add-booking.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"accounting-add-booking.d.ts","sourceRoot":"","sources":["../../src/funcs/accounting-add-booking.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAKvC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAC7D,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAC9E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,SAAS,EACjB,OAAO,EAAE,UAAU,CAAC,qBAAqB,EACzC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,sBAAsB,EAC/B,UAAU,GACV,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
import * as z from "zod/v4-mini";
|
|
5
|
-
import { encodeFormQuery, encodeJSON } from "../lib/encodings.js";
|
|
6
|
-
import * as M from "../lib/matchers.js";
|
|
7
|
-
import { compactMap } from "../lib/primitives.js";
|
|
8
|
-
import { safeParse } from "../lib/schemas.js";
|
|
9
|
-
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
10
|
-
import { pathToFunc } from "../lib/url.js";
|
|
11
|
-
import * as operations from "../models/operations/index.js";
|
|
12
|
-
import { APIPromise } from "../types/async.js";
|
|
13
|
-
export function accountingAddBooking(client, request, options) {
|
|
14
|
-
return new APIPromise($do(client, request, options));
|
|
15
|
-
}
|
|
16
|
-
async function $do(client, request, options) {
|
|
17
|
-
const parsed = safeParse(request, (value) => z.parse(operations.CreateBookingsRequest$outboundSchema, value), "Input validation failed");
|
|
18
|
-
if (!parsed.ok) {
|
|
19
|
-
return [parsed, { status: "invalid" }];
|
|
20
|
-
}
|
|
21
|
-
const payload = parsed.value;
|
|
22
|
-
const body = encodeJSON("body", payload.body, { explode: true });
|
|
23
|
-
const path = pathToFunc("/accounting/bookings")();
|
|
24
|
-
const query = encodeFormQuery({
|
|
25
|
-
"companyId": payload.companyId,
|
|
26
|
-
});
|
|
27
|
-
const headers = new Headers(compactMap({
|
|
28
|
-
"Content-Type": "application/json",
|
|
29
|
-
Accept: "application/json",
|
|
30
|
-
}));
|
|
31
|
-
const securityInput = await extractSecurity(client._options.security);
|
|
32
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
33
|
-
const context = {
|
|
34
|
-
options: client._options,
|
|
35
|
-
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
36
|
-
operationID: "createBookings",
|
|
37
|
-
oAuth2Scopes: null,
|
|
38
|
-
resolvedSecurity: requestSecurity,
|
|
39
|
-
securitySource: client._options.security,
|
|
40
|
-
retryConfig: options?.retries
|
|
41
|
-
|| client._options.retryConfig
|
|
42
|
-
|| { strategy: "none" },
|
|
43
|
-
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
44
|
-
};
|
|
45
|
-
const requestRes = client._createRequest(context, {
|
|
46
|
-
security: requestSecurity,
|
|
47
|
-
method: "POST",
|
|
48
|
-
baseURL: options?.serverURL,
|
|
49
|
-
path: path,
|
|
50
|
-
headers: headers,
|
|
51
|
-
query: query,
|
|
52
|
-
body: body,
|
|
53
|
-
userAgent: client._options.userAgent,
|
|
54
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
55
|
-
}, options);
|
|
56
|
-
if (!requestRes.ok) {
|
|
57
|
-
return [requestRes, { status: "invalid" }];
|
|
58
|
-
}
|
|
59
|
-
const req = requestRes.value;
|
|
60
|
-
const doResult = await client._do(req, {
|
|
61
|
-
context,
|
|
62
|
-
errorCodes: ["4XX", "5XX"],
|
|
63
|
-
retryConfig: context.retryConfig,
|
|
64
|
-
retryCodes: context.retryCodes,
|
|
65
|
-
});
|
|
66
|
-
if (!doResult.ok) {
|
|
67
|
-
return [doResult, { status: "request-error", request: req }];
|
|
68
|
-
}
|
|
69
|
-
const response = doResult.value;
|
|
70
|
-
const [result] = await M.match(M.json(201, operations.CreateBookingsResponse$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req);
|
|
71
|
-
if (!result.ok) {
|
|
72
|
-
return [result, { status: "complete", request: req, response }];
|
|
73
|
-
}
|
|
74
|
-
return [result, { status: "complete", request: req, response }];
|
|
75
|
-
}
|
|
76
|
-
//# sourceMappingURL=accounting-add-booking.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"accounting-add-booking.js","sourceRoot":"","sources":["../../src/funcs/accounting-add-booking.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAClE,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAW3C,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAGxD,MAAM,UAAU,oBAAoB,CAClC,MAAiB,EACjB,OAAyC,EACzC,OAAwB,EAaxB;IACA,OAAO,IAAI,UAAU,CAAC,GAAG,CACvB,MAAM,EACN,OAAO,EACP,OAAO,CACR,CAAC,CAAC;AAAA,CACJ;AAED,KAAK,UAAU,GAAG,CAChB,MAAiB,EACjB,OAAyC,EACzC,OAAwB,EAgBxB;IACA,MAAM,MAAM,GAAG,SAAS,CACtB,OAAO,EACP,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AE,UAAU,CAAC,oCAAoC,CAAC,EAC5D,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC;IACjB,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAAA,CACjE"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { MaesnCore } from "../core.js";
|
|
2
|
-
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
-
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/http-client-errors.js";
|
|
4
|
-
import { MaesnError } from "../models/errors/maesn-error.js";
|
|
5
|
-
import { ResponseValidationError } from "../models/errors/response-validation-error.js";
|
|
6
|
-
import { SDKValidationError } from "../models/errors/sdk-validation-error.js";
|
|
7
|
-
import * as operations from "../models/operations/index.js";
|
|
8
|
-
import { APIPromise } from "../types/async.js";
|
|
9
|
-
import { Result } from "../types/fp.js";
|
|
10
|
-
export declare function accountingAddContact(client: MaesnCore, request: operations.CreateContactRequest, options?: RequestOptions): APIPromise<Result<operations.CreateContactResponse, MaesnError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
11
|
-
//# sourceMappingURL=accounting-add-contact.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"accounting-add-contact.d.ts","sourceRoot":"","sources":["../../src/funcs/accounting-add-contact.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAKvC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAC7D,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAC9E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,SAAS,EACjB,OAAO,EAAE,UAAU,CAAC,oBAAoB,EACxC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,qBAAqB,EAC9B,UAAU,GACV,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
import * as z from "zod/v4-mini";
|
|
5
|
-
import { encodeFormQuery, encodeJSON } from "../lib/encodings.js";
|
|
6
|
-
import * as M from "../lib/matchers.js";
|
|
7
|
-
import { compactMap } from "../lib/primitives.js";
|
|
8
|
-
import { safeParse } from "../lib/schemas.js";
|
|
9
|
-
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
10
|
-
import { pathToFunc } from "../lib/url.js";
|
|
11
|
-
import * as operations from "../models/operations/index.js";
|
|
12
|
-
import { APIPromise } from "../types/async.js";
|
|
13
|
-
export function accountingAddContact(client, request, options) {
|
|
14
|
-
return new APIPromise($do(client, request, options));
|
|
15
|
-
}
|
|
16
|
-
async function $do(client, request, options) {
|
|
17
|
-
const parsed = safeParse(request, (value) => z.parse(operations.CreateContactRequest$outboundSchema, value), "Input validation failed");
|
|
18
|
-
if (!parsed.ok) {
|
|
19
|
-
return [parsed, { status: "invalid" }];
|
|
20
|
-
}
|
|
21
|
-
const payload = parsed.value;
|
|
22
|
-
const body = encodeJSON("body", payload.body, { explode: true });
|
|
23
|
-
const path = pathToFunc("/accounting/contacts")();
|
|
24
|
-
const query = encodeFormQuery({
|
|
25
|
-
"companyId": payload.companyId,
|
|
26
|
-
"environmentName": payload.environmentName,
|
|
27
|
-
});
|
|
28
|
-
const headers = new Headers(compactMap({
|
|
29
|
-
"Content-Type": "application/json",
|
|
30
|
-
Accept: "application/json",
|
|
31
|
-
}));
|
|
32
|
-
const securityInput = await extractSecurity(client._options.security);
|
|
33
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
34
|
-
const context = {
|
|
35
|
-
options: client._options,
|
|
36
|
-
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
37
|
-
operationID: "createContact",
|
|
38
|
-
oAuth2Scopes: null,
|
|
39
|
-
resolvedSecurity: requestSecurity,
|
|
40
|
-
securitySource: client._options.security,
|
|
41
|
-
retryConfig: options?.retries
|
|
42
|
-
|| client._options.retryConfig
|
|
43
|
-
|| { strategy: "none" },
|
|
44
|
-
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
45
|
-
};
|
|
46
|
-
const requestRes = client._createRequest(context, {
|
|
47
|
-
security: requestSecurity,
|
|
48
|
-
method: "POST",
|
|
49
|
-
baseURL: options?.serverURL,
|
|
50
|
-
path: path,
|
|
51
|
-
headers: headers,
|
|
52
|
-
query: query,
|
|
53
|
-
body: body,
|
|
54
|
-
userAgent: client._options.userAgent,
|
|
55
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
56
|
-
}, options);
|
|
57
|
-
if (!requestRes.ok) {
|
|
58
|
-
return [requestRes, { status: "invalid" }];
|
|
59
|
-
}
|
|
60
|
-
const req = requestRes.value;
|
|
61
|
-
const doResult = await client._do(req, {
|
|
62
|
-
context,
|
|
63
|
-
errorCodes: ["4XX", "5XX"],
|
|
64
|
-
retryConfig: context.retryConfig,
|
|
65
|
-
retryCodes: context.retryCodes,
|
|
66
|
-
});
|
|
67
|
-
if (!doResult.ok) {
|
|
68
|
-
return [doResult, { status: "request-error", request: req }];
|
|
69
|
-
}
|
|
70
|
-
const response = doResult.value;
|
|
71
|
-
const [result] = await M.match(M.json(201, operations.CreateContactResponse$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req);
|
|
72
|
-
if (!result.ok) {
|
|
73
|
-
return [result, { status: "complete", request: req, response }];
|
|
74
|
-
}
|
|
75
|
-
return [result, { status: "complete", request: req, response }];
|
|
76
|
-
}
|
|
77
|
-
//# sourceMappingURL=accounting-add-contact.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"accounting-add-contact.js","sourceRoot":"","sources":["../../src/funcs/accounting-add-contact.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAClE,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAW3C,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAGxD,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C,CAAC;IACH,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC;QACjB,OAAO,CAAC,QAAQ,EAAE,EAAE,MAAM,EAAE,eAAe,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC;IAC/D,CAAC;IACD,MAAM,QAAQ,GAAG,QAAQ,CAAC,KAAK,CAAC;IAEhC,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC,KAAK,CAW5B,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,UAAU,CAAC,mCAAmC,CAAC,EAC3D,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC;IACjB,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAAA,CACjE"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { MaesnCore } from "../core.js";
|
|
2
|
-
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
-
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/http-client-errors.js";
|
|
4
|
-
import { MaesnError } from "../models/errors/maesn-error.js";
|
|
5
|
-
import { ResponseValidationError } from "../models/errors/response-validation-error.js";
|
|
6
|
-
import { SDKValidationError } from "../models/errors/sdk-validation-error.js";
|
|
7
|
-
import * as operations from "../models/operations/index.js";
|
|
8
|
-
import { APIPromise } from "../types/async.js";
|
|
9
|
-
import { Result } from "../types/fp.js";
|
|
10
|
-
export declare function accountingAddEventSubscription(client: MaesnCore, request: operations.CreateEventSubscriptionsRequest, options?: RequestOptions): APIPromise<Result<void, MaesnError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
11
|
-
//# sourceMappingURL=accounting-add-event-subscription.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"accounting-add-event-subscription.d.ts","sourceRoot":"","sources":["../../src/funcs/accounting-add-event-subscription.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAKvC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAC7D,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAC9E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC,wBAAgB,8BAA8B,CAC5C,MAAM,EAAE,SAAS,EACjB,OAAO,EAAE,UAAU,CAAC,+BAA+B,EACnD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,IAAI,EACF,UAAU,GACV,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
import * as z from "zod/v4-mini";
|
|
5
|
-
import { encodeFormQuery, encodeJSON } from "../lib/encodings.js";
|
|
6
|
-
import * as M from "../lib/matchers.js";
|
|
7
|
-
import { compactMap } from "../lib/primitives.js";
|
|
8
|
-
import { safeParse } from "../lib/schemas.js";
|
|
9
|
-
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
10
|
-
import { pathToFunc } from "../lib/url.js";
|
|
11
|
-
import * as operations from "../models/operations/index.js";
|
|
12
|
-
import { APIPromise } from "../types/async.js";
|
|
13
|
-
export function accountingAddEventSubscription(client, request, options) {
|
|
14
|
-
return new APIPromise($do(client, request, options));
|
|
15
|
-
}
|
|
16
|
-
async function $do(client, request, options) {
|
|
17
|
-
const parsed = safeParse(request, (value) => z.parse(operations.CreateEventSubscriptionsRequest$outboundSchema, value), "Input validation failed");
|
|
18
|
-
if (!parsed.ok) {
|
|
19
|
-
return [parsed, { status: "invalid" }];
|
|
20
|
-
}
|
|
21
|
-
const payload = parsed.value;
|
|
22
|
-
const body = encodeJSON("body", payload.body, { explode: true });
|
|
23
|
-
const path = pathToFunc("/accounting/event-subscriptions")();
|
|
24
|
-
const query = encodeFormQuery({
|
|
25
|
-
"companyId": payload.companyId,
|
|
26
|
-
});
|
|
27
|
-
const headers = new Headers(compactMap({
|
|
28
|
-
"Content-Type": "application/json",
|
|
29
|
-
Accept: "*/*",
|
|
30
|
-
}));
|
|
31
|
-
const securityInput = await extractSecurity(client._options.security);
|
|
32
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
33
|
-
const context = {
|
|
34
|
-
options: client._options,
|
|
35
|
-
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
36
|
-
operationID: "createEventSubscriptions",
|
|
37
|
-
oAuth2Scopes: null,
|
|
38
|
-
resolvedSecurity: requestSecurity,
|
|
39
|
-
securitySource: client._options.security,
|
|
40
|
-
retryConfig: options?.retries
|
|
41
|
-
|| client._options.retryConfig
|
|
42
|
-
|| { strategy: "none" },
|
|
43
|
-
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
44
|
-
};
|
|
45
|
-
const requestRes = client._createRequest(context, {
|
|
46
|
-
security: requestSecurity,
|
|
47
|
-
method: "POST",
|
|
48
|
-
baseURL: options?.serverURL,
|
|
49
|
-
path: path,
|
|
50
|
-
headers: headers,
|
|
51
|
-
query: query,
|
|
52
|
-
body: body,
|
|
53
|
-
userAgent: client._options.userAgent,
|
|
54
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
55
|
-
}, options);
|
|
56
|
-
if (!requestRes.ok) {
|
|
57
|
-
return [requestRes, { status: "invalid" }];
|
|
58
|
-
}
|
|
59
|
-
const req = requestRes.value;
|
|
60
|
-
const doResult = await client._do(req, {
|
|
61
|
-
context,
|
|
62
|
-
errorCodes: ["4XX", "5XX"],
|
|
63
|
-
retryConfig: context.retryConfig,
|
|
64
|
-
retryCodes: context.retryCodes,
|
|
65
|
-
});
|
|
66
|
-
if (!doResult.ok) {
|
|
67
|
-
return [doResult, { status: "request-error", request: req }];
|
|
68
|
-
}
|
|
69
|
-
const response = doResult.value;
|
|
70
|
-
const [result] = await M.match(M.nil(201, z.void()), M.fail("4XX"), M.fail("5XX"))(response, req);
|
|
71
|
-
if (!result.ok) {
|
|
72
|
-
return [result, { status: "complete", request: req, response }];
|
|
73
|
-
}
|
|
74
|
-
return [result, { status: "complete", request: req, response }];
|
|
75
|
-
}
|
|
76
|
-
//# sourceMappingURL=accounting-add-event-subscription.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"accounting-add-event-subscription.js","sourceRoot":"","sources":["../../src/funcs/accounting-add-event-subscription.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAClE,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE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AAC;IACD,MAAM,GAAG,GAAG,UAAU,CAAC,KAAK,CAAC;IAE7B,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,GAAG,EAAE;QACrC,OAAO;QACP,UAAU,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC;QAC1B,WAAW,EAAE,OAAO,CAAC,WAAW;QAChC,UAAU,EAAE,OAAO,CAAC,UAAU;KAC/B,CAAC,CAAC;IACH,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC;QACjB,OAAO,CAAC,QAAQ,EAAE,EAAE,MAAM,EAAE,eAAe,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC;IAC/D,CAAC;IACD,MAAM,QAAQ,GAAG,QAAQ,CAAC,KAAK,CAAC;IAEhC,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC,KAAK,CAW5B,CAAC,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,EACpB,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC;IACjB,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAAA,CACjE"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { MaesnCore } from "../core.js";
|
|
2
|
-
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
-
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/http-client-errors.js";
|
|
4
|
-
import { MaesnError } from "../models/errors/maesn-error.js";
|
|
5
|
-
import { ResponseValidationError } from "../models/errors/response-validation-error.js";
|
|
6
|
-
import { SDKValidationError } from "../models/errors/sdk-validation-error.js";
|
|
7
|
-
import * as operations from "../models/operations/index.js";
|
|
8
|
-
import { APIPromise } from "../types/async.js";
|
|
9
|
-
import { Result } from "../types/fp.js";
|
|
10
|
-
export declare function accountingAddExpense(client: MaesnCore, request: operations.CreateExpenseRequest, options?: RequestOptions): APIPromise<Result<operations.CreateExpenseResponse, MaesnError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
11
|
-
//# sourceMappingURL=accounting-add-expense.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"accounting-add-expense.d.ts","sourceRoot":"","sources":["../../src/funcs/accounting-add-expense.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAUvC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAC7D,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAC9E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAExD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAGxC,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,SAAS,EACjB,OAAO,EAAE,UAAU,CAAC,oBAAoB,EACxC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,qBAAqB,EAC9B,UAAU,GACV,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
import * as z from "zod/v4-mini";
|
|
5
|
-
import { appendForm, encodeFormQuery, encodeJSON } from "../lib/encodings.js";
|
|
6
|
-
import { bytesToBlob, getContentTypeFromFileName, readableStreamToArrayBuffer, } from "../lib/files.js";
|
|
7
|
-
import * as M from "../lib/matchers.js";
|
|
8
|
-
import { compactMap } from "../lib/primitives.js";
|
|
9
|
-
import { safeParse } from "../lib/schemas.js";
|
|
10
|
-
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
11
|
-
import { pathToFunc } from "../lib/url.js";
|
|
12
|
-
import * as operations from "../models/operations/index.js";
|
|
13
|
-
import { APIPromise } from "../types/async.js";
|
|
14
|
-
import { isBlobLike } from "../types/blobs.js";
|
|
15
|
-
import { isReadableStream } from "../types/streams.js";
|
|
16
|
-
export function accountingAddExpense(client, request, options) {
|
|
17
|
-
return new APIPromise($do(client, request, options));
|
|
18
|
-
}
|
|
19
|
-
async function $do(client, request, options) {
|
|
20
|
-
const parsed = safeParse(request, (value) => z.parse(operations.CreateExpenseRequest$outboundSchema, value), "Input validation failed");
|
|
21
|
-
if (!parsed.ok) {
|
|
22
|
-
return [parsed, { status: "invalid" }];
|
|
23
|
-
}
|
|
24
|
-
const payload = parsed.value;
|
|
25
|
-
const body = new FormData();
|
|
26
|
-
if (payload.body.expense !== undefined) {
|
|
27
|
-
appendForm(body, "expense", encodeJSON("expense", payload.body.expense, { explode: true }));
|
|
28
|
-
}
|
|
29
|
-
if (payload.body.files !== undefined) {
|
|
30
|
-
for (const fileItem of payload.body.files ?? []) {
|
|
31
|
-
if (isBlobLike(fileItem)) {
|
|
32
|
-
const blob = fileItem;
|
|
33
|
-
const name = "name" in blob ? blob.name : undefined;
|
|
34
|
-
appendForm(body, "files", blob, name);
|
|
35
|
-
}
|
|
36
|
-
else if (isReadableStream(fileItem.content)) {
|
|
37
|
-
const buffer = await readableStreamToArrayBuffer(fileItem.content);
|
|
38
|
-
const contentType = getContentTypeFromFileName(fileItem.fileName)
|
|
39
|
-
|| "application/octet-stream";
|
|
40
|
-
appendForm(body, "files", bytesToBlob(buffer, contentType), fileItem.fileName);
|
|
41
|
-
}
|
|
42
|
-
else {
|
|
43
|
-
const contentType = getContentTypeFromFileName(fileItem.fileName)
|
|
44
|
-
|| "application/octet-stream";
|
|
45
|
-
appendForm(body, "files", bytesToBlob(fileItem.content, contentType), fileItem.fileName);
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
const path = pathToFunc("/accounting/expenses")();
|
|
50
|
-
const query = encodeFormQuery({
|
|
51
|
-
"companyId": payload.companyId,
|
|
52
|
-
"environmentName": payload.environmentName,
|
|
53
|
-
});
|
|
54
|
-
const headers = new Headers(compactMap({
|
|
55
|
-
Accept: "application/json",
|
|
56
|
-
}));
|
|
57
|
-
const securityInput = await extractSecurity(client._options.security);
|
|
58
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
59
|
-
const context = {
|
|
60
|
-
options: client._options,
|
|
61
|
-
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
62
|
-
operationID: "createExpense",
|
|
63
|
-
oAuth2Scopes: null,
|
|
64
|
-
resolvedSecurity: requestSecurity,
|
|
65
|
-
securitySource: client._options.security,
|
|
66
|
-
retryConfig: options?.retries
|
|
67
|
-
|| client._options.retryConfig
|
|
68
|
-
|| { strategy: "none" },
|
|
69
|
-
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
70
|
-
};
|
|
71
|
-
const requestRes = client._createRequest(context, {
|
|
72
|
-
security: requestSecurity,
|
|
73
|
-
method: "POST",
|
|
74
|
-
baseURL: options?.serverURL,
|
|
75
|
-
path: path,
|
|
76
|
-
headers: headers,
|
|
77
|
-
query: query,
|
|
78
|
-
body: body,
|
|
79
|
-
userAgent: client._options.userAgent,
|
|
80
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
81
|
-
}, options);
|
|
82
|
-
if (!requestRes.ok) {
|
|
83
|
-
return [requestRes, { status: "invalid" }];
|
|
84
|
-
}
|
|
85
|
-
const req = requestRes.value;
|
|
86
|
-
const doResult = await client._do(req, {
|
|
87
|
-
context,
|
|
88
|
-
errorCodes: ["4XX", "5XX"],
|
|
89
|
-
retryConfig: context.retryConfig,
|
|
90
|
-
retryCodes: context.retryCodes,
|
|
91
|
-
});
|
|
92
|
-
if (!doResult.ok) {
|
|
93
|
-
return [doResult, { status: "request-error", request: req }];
|
|
94
|
-
}
|
|
95
|
-
const response = doResult.value;
|
|
96
|
-
const [result] = await M.match(M.json(201, operations.CreateExpenseResponse$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req);
|
|
97
|
-
if (!result.ok) {
|
|
98
|
-
return [result, { status: "complete", request: req, response }];
|
|
99
|
-
}
|
|
100
|
-
return [result, { status: "complete", request: req, response }];
|
|
101
|
-
}
|
|
102
|
-
//# sourceMappingURL=accounting-add-expense.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"accounting-add-expense.js","sourceRoot":"","sources":["../../src/funcs/accounting-add-expense.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAC9E,OAAO,EACL,WAAW,EACX,0BAA0B,EAC1B,2BAA2B,GAC5B,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,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ionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/http-client-errors.js";
|
|
4
|
-
import { MaesnError } from "../models/errors/maesn-error.js";
|
|
5
|
-
import { ResponseValidationError } from "../models/errors/response-validation-error.js";
|
|
6
|
-
import { SDKValidationError } from "../models/errors/sdk-validation-error.js";
|
|
7
|
-
import * as operations from "../models/operations/index.js";
|
|
8
|
-
import { APIPromise } from "../types/async.js";
|
|
9
|
-
import { Result } from "../types/fp.js";
|
|
10
|
-
export declare function accountingAddInvoiceLineItem(client: MaesnCore, request: operations.CreateLineItemRequest, options?: RequestOptions): APIPromise<Result<operations.CreateLineItemResponse, MaesnError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
11
|
-
//# sourceMappingURL=accounting-add-invoice-line-item.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"accounting-add-invoice-line-item.d.ts","sourceRoot":"","sources":["../../src/funcs/accounting-add-invoice-line-item.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAKvC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAC7D,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAC9E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC,wBAAgB,4BAA4B,CAC1C,MAAM,EAAE,SAAS,EACjB,OAAO,EAAE,UAAU,CAAC,qBAAqB,EACzC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,sBAAsB,EAC/B,UAAU,GACV,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
import * as z from "zod/v4-mini";
|
|
5
|
-
import { encodeFormQuery, encodeJSON, encodeSimple } from "../lib/encodings.js";
|
|
6
|
-
import * as M from "../lib/matchers.js";
|
|
7
|
-
import { compactMap } from "../lib/primitives.js";
|
|
8
|
-
import { safeParse } from "../lib/schemas.js";
|
|
9
|
-
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
10
|
-
import { pathToFunc } from "../lib/url.js";
|
|
11
|
-
import * as operations from "../models/operations/index.js";
|
|
12
|
-
import { APIPromise } from "../types/async.js";
|
|
13
|
-
export function accountingAddInvoiceLineItem(client, request, options) {
|
|
14
|
-
return new APIPromise($do(client, request, options));
|
|
15
|
-
}
|
|
16
|
-
async function $do(client, request, options) {
|
|
17
|
-
const parsed = safeParse(request, (value) => z.parse(operations.CreateLineItemRequest$outboundSchema, value), "Input validation failed");
|
|
18
|
-
if (!parsed.ok) {
|
|
19
|
-
return [parsed, { status: "invalid" }];
|
|
20
|
-
}
|
|
21
|
-
const payload = parsed.value;
|
|
22
|
-
const body = encodeJSON("body", payload.body, { explode: true });
|
|
23
|
-
const pathParams = {
|
|
24
|
-
invoiceId: encodeSimple("invoiceId", payload.invoiceId, {
|
|
25
|
-
explode: false,
|
|
26
|
-
charEncoding: "percent",
|
|
27
|
-
}),
|
|
28
|
-
};
|
|
29
|
-
const path = pathToFunc("/accounting/invoices/{invoiceId}/lineItems")(pathParams);
|
|
30
|
-
const query = encodeFormQuery({
|
|
31
|
-
"companyId": payload.companyId,
|
|
32
|
-
"environmentName": payload.environmentName,
|
|
33
|
-
});
|
|
34
|
-
const headers = new Headers(compactMap({
|
|
35
|
-
"Content-Type": "application/json",
|
|
36
|
-
Accept: "application/json",
|
|
37
|
-
}));
|
|
38
|
-
const securityInput = await extractSecurity(client._options.security);
|
|
39
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
40
|
-
const context = {
|
|
41
|
-
options: client._options,
|
|
42
|
-
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
43
|
-
operationID: "createLineItem",
|
|
44
|
-
oAuth2Scopes: null,
|
|
45
|
-
resolvedSecurity: requestSecurity,
|
|
46
|
-
securitySource: client._options.security,
|
|
47
|
-
retryConfig: options?.retries
|
|
48
|
-
|| client._options.retryConfig
|
|
49
|
-
|| { strategy: "none" },
|
|
50
|
-
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
51
|
-
};
|
|
52
|
-
const requestRes = client._createRequest(context, {
|
|
53
|
-
security: requestSecurity,
|
|
54
|
-
method: "POST",
|
|
55
|
-
baseURL: options?.serverURL,
|
|
56
|
-
path: path,
|
|
57
|
-
headers: headers,
|
|
58
|
-
query: query,
|
|
59
|
-
body: body,
|
|
60
|
-
userAgent: client._options.userAgent,
|
|
61
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
62
|
-
}, options);
|
|
63
|
-
if (!requestRes.ok) {
|
|
64
|
-
return [requestRes, { status: "invalid" }];
|
|
65
|
-
}
|
|
66
|
-
const req = requestRes.value;
|
|
67
|
-
const doResult = await client._do(req, {
|
|
68
|
-
context,
|
|
69
|
-
errorCodes: ["4XX", "5XX"],
|
|
70
|
-
retryConfig: context.retryConfig,
|
|
71
|
-
retryCodes: context.retryCodes,
|
|
72
|
-
});
|
|
73
|
-
if (!doResult.ok) {
|
|
74
|
-
return [doResult, { status: "request-error", request: req }];
|
|
75
|
-
}
|
|
76
|
-
const response = doResult.value;
|
|
77
|
-
const [result] = await M.match(M.json(201, operations.CreateLineItemResponse$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req);
|
|
78
|
-
if (!result.ok) {
|
|
79
|
-
return [result, { status: "complete", request: req, response }];
|
|
80
|
-
}
|
|
81
|
-
return [result, { status: "complete", request: req, response }];
|
|
82
|
-
}
|
|
83
|
-
//# sourceMappingURL=accounting-add-invoice-line-item.js.map
|