@maesn/typescript-sdk 0.2.2 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/FUNCTIONS.md +3 -3
- package/README.md +231 -288
- 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-line-item.d.ts +11 -0
- package/esm/funcs/accounting-create-bill-line-item.d.ts.map +1 -0
- package/esm/funcs/accounting-create-bill-line-item.js +82 -0
- package/esm/funcs/accounting-create-bill-line-item.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-item.d.ts +11 -0
- package/esm/funcs/accounting-create-item.d.ts.map +1 -0
- package/esm/funcs/accounting-create-item.js +77 -0
- package/esm/funcs/accounting-create-item.js.map +1 -0
- package/esm/funcs/accounting-create-journal-entries.d.ts +11 -0
- package/esm/funcs/accounting-create-journal-entries.d.ts.map +1 -0
- package/esm/funcs/accounting-create-journal-entries.js +76 -0
- package/esm/funcs/accounting-create-journal-entries.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-delete-vendor-credit.d.ts +11 -0
- package/esm/funcs/accounting-delete-vendor-credit.d.ts.map +1 -0
- package/esm/funcs/accounting-delete-vendor-credit.js +82 -0
- package/esm/funcs/accounting-delete-vendor-credit.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-line-items.d.ts +11 -0
- package/esm/funcs/accounting-get-bill-line-items.d.ts.map +1 -0
- package/esm/funcs/accounting-get-bill-line-items.js +82 -0
- package/esm/funcs/accounting-get-bill-line-items.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-extensions.d.ts +11 -0
- package/esm/funcs/accounting-get-document-extensions.d.ts.map +1 -0
- package/esm/funcs/accounting-get-document-extensions.js +75 -0
- package/esm/funcs/accounting-get-document-extensions.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-fiscal-year.d.ts +11 -0
- package/esm/funcs/accounting-get-fiscal-year.d.ts.map +1 -0
- package/esm/funcs/accounting-get-fiscal-year.js +83 -0
- package/esm/funcs/accounting-get-fiscal-year.js.map +1 -0
- package/esm/funcs/accounting-get-goods-receipt-line-item.d.ts +11 -0
- package/esm/funcs/accounting-get-goods-receipt-line-item.d.ts.map +1 -0
- package/esm/funcs/accounting-get-goods-receipt-line-item.js +87 -0
- package/esm/funcs/accounting-get-goods-receipt-line-item.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-attachment-by-id.d.ts +11 -0
- package/esm/funcs/accounting-get-journal-entry-attachment-by-id.d.ts.map +1 -0
- package/esm/funcs/accounting-get-journal-entry-attachment-by-id.js +86 -0
- package/esm/funcs/accounting-get-journal-entry-attachment-by-id.js.map +1 -0
- package/esm/funcs/accounting-get-journal-entry-attachments.d.ts +11 -0
- package/esm/funcs/accounting-get-journal-entry-attachments.d.ts.map +1 -0
- package/esm/funcs/accounting-get-journal-entry-attachments.js +82 -0
- package/esm/funcs/accounting-get-journal-entry-attachments.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-document.d.ts +11 -0
- package/esm/funcs/accounting-get-offer-document.d.ts.map +1 -0
- package/esm/funcs/accounting-get-offer-document.js +82 -0
- package/esm/funcs/accounting-get-offer-document.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-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-purchase-orders.d.ts +11 -0
- package/esm/funcs/accounting-get-purchase-orders.d.ts.map +1 -0
- package/esm/funcs/accounting-get-purchase-orders.js +80 -0
- package/esm/funcs/accounting-get-purchase-orders.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-contact.d.ts +11 -0
- package/esm/funcs/accounting-patch-contact.d.ts.map +1 -0
- package/esm/funcs/accounting-patch-contact.js +83 -0
- package/esm/funcs/accounting-patch-contact.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-item.d.ts +11 -0
- package/esm/funcs/accounting-patch-item.d.ts.map +1 -0
- package/esm/funcs/accounting-patch-item.js +83 -0
- package/esm/funcs/accounting-patch-item.js.map +1 -0
- package/esm/funcs/accounting-patch-line-item.d.ts +11 -0
- package/esm/funcs/accounting-patch-line-item.d.ts.map +1 -0
- package/esm/funcs/accounting-patch-line-item.js +87 -0
- package/esm/funcs/accounting-patch-line-item.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-bill.d.ts +11 -0
- package/esm/funcs/accounting-update-bill.d.ts.map +1 -0
- package/esm/funcs/accounting-update-bill.js +83 -0
- package/esm/funcs/accounting-update-bill.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-create-booking-proposal-v2.d.ts +11 -0
- package/esm/funcs/accounting-v2-create-booking-proposal-v2.d.ts.map +1 -0
- package/esm/funcs/accounting-v2-create-booking-proposal-v2.js +111 -0
- package/esm/funcs/accounting-v2-create-booking-proposal-v2.js.map +1 -0
- package/esm/funcs/accounting-v2-create-contact-v2.d.ts +11 -0
- package/esm/funcs/accounting-v2-create-contact-v2.d.ts.map +1 -0
- package/esm/funcs/accounting-v2-create-contact-v2.js +77 -0
- package/esm/funcs/accounting-v2-create-contact-v2.js.map +1 -0
- package/esm/funcs/accounting-v2-get-contact-v2.d.ts +11 -0
- package/esm/funcs/accounting-v2-get-contact-v2.d.ts.map +1 -0
- package/esm/funcs/accounting-v2-get-contact-v2.js +83 -0
- package/esm/funcs/accounting-v2-get-contact-v2.js.map +1 -0
- package/esm/funcs/accounting-v2-get-contacts-v2.d.ts +11 -0
- package/esm/funcs/accounting-v2-get-contacts-v2.d.ts.map +1 -0
- package/esm/funcs/accounting-v2-get-contacts-v2.js +80 -0
- package/esm/funcs/accounting-v2-get-contacts-v2.js.map +1 -0
- package/esm/funcs/accounting-v2-get-dimensions-by-dimension.d.ts +11 -0
- package/esm/funcs/accounting-v2-get-dimensions-by-dimension.d.ts.map +1 -0
- package/esm/funcs/accounting-v2-get-dimensions-by-dimension.js +86 -0
- package/esm/funcs/accounting-v2-get-dimensions-by-dimension.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-patch-contact-v2.d.ts +11 -0
- package/esm/funcs/accounting-v2-patch-contact-v2.d.ts.map +1 -0
- package/esm/funcs/accounting-v2-patch-contact-v2.js +83 -0
- package/esm/funcs/accounting-v2-patch-contact-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/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/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/operations/get-accounts.d.ts +11 -1
- package/esm/models/operations/get-accounts.d.ts.map +1 -1
- package/esm/models/operations/get-accounts.js +10 -1
- package/esm/models/operations/get-accounts.js.map +1 -1
- package/esm/models/operations/get-async-task-info.d.ts +12 -1
- package/esm/models/operations/get-async-task-info.d.ts.map +1 -1
- package/esm/models/operations/get-async-task-info.js +10 -1
- package/esm/models/operations/get-async-task-info.js.map +1 -1
- package/esm/models/operations/get-bank-accounts.d.ts +12 -1
- package/esm/models/operations/get-bank-accounts.d.ts.map +1 -1
- package/esm/models/operations/get-bank-accounts.js +10 -1
- package/esm/models/operations/get-bank-accounts.js.map +1 -1
- package/esm/models/operations/get-bills.d.ts +11 -1
- package/esm/models/operations/get-bills.d.ts.map +1 -1
- package/esm/models/operations/get-bills.js +10 -1
- package/esm/models/operations/get-bills.js.map +1 -1
- package/esm/models/operations/get-booking-proposals.d.ts +11 -1
- package/esm/models/operations/get-booking-proposals.d.ts.map +1 -1
- package/esm/models/operations/get-booking-proposals.js +10 -1
- package/esm/models/operations/get-booking-proposals.js.map +1 -1
- package/esm/models/operations/get-contacts-v2.d.ts +12 -1
- package/esm/models/operations/get-contacts-v2.d.ts.map +1 -1
- package/esm/models/operations/get-contacts-v2.js +10 -1
- package/esm/models/operations/get-contacts-v2.js.map +1 -1
- package/esm/models/operations/get-contacts.d.ts +12 -1
- package/esm/models/operations/get-contacts.d.ts.map +1 -1
- package/esm/models/operations/get-contacts.js +10 -1
- package/esm/models/operations/get-contacts.js.map +1 -1
- package/esm/models/operations/get-credit-notes.d.ts +12 -1
- package/esm/models/operations/get-credit-notes.d.ts.map +1 -1
- package/esm/models/operations/get-credit-notes.js +10 -1
- package/esm/models/operations/get-credit-notes.js.map +1 -1
- package/esm/models/operations/get-customers.d.ts +12 -1
- package/esm/models/operations/get-customers.d.ts.map +1 -1
- package/esm/models/operations/get-customers.js +10 -1
- package/esm/models/operations/get-customers.js.map +1 -1
- package/esm/models/operations/get-dimensions-by-dimension.d.ts +12 -1
- package/esm/models/operations/get-dimensions-by-dimension.d.ts.map +1 -1
- package/esm/models/operations/get-dimensions-by-dimension.js +10 -1
- package/esm/models/operations/get-dimensions-by-dimension.js.map +1 -1
- package/esm/models/operations/get-dimensions.d.ts +12 -1
- package/esm/models/operations/get-dimensions.d.ts.map +1 -1
- package/esm/models/operations/get-dimensions.js +10 -1
- package/esm/models/operations/get-dimensions.js.map +1 -1
- package/esm/models/operations/get-expenses.d.ts +12 -1
- package/esm/models/operations/get-expenses.d.ts.map +1 -1
- package/esm/models/operations/get-expenses.js +10 -1
- package/esm/models/operations/get-expenses.js.map +1 -1
- package/esm/models/operations/get-goods-receipts.d.ts +12 -1
- package/esm/models/operations/get-goods-receipts.d.ts.map +1 -1
- package/esm/models/operations/get-goods-receipts.js +10 -1
- package/esm/models/operations/get-goods-receipts.js.map +1 -1
- package/esm/models/operations/get-invoices.d.ts +11 -1
- package/esm/models/operations/get-invoices.d.ts.map +1 -1
- package/esm/models/operations/get-invoices.js +10 -1
- package/esm/models/operations/get-invoices.js.map +1 -1
- package/esm/models/operations/get-items.d.ts +12 -1
- package/esm/models/operations/get-items.d.ts.map +1 -1
- package/esm/models/operations/get-items.js +10 -1
- package/esm/models/operations/get-items.js.map +1 -1
- package/esm/models/operations/get-journal-entries.d.ts +12 -1
- package/esm/models/operations/get-journal-entries.d.ts.map +1 -1
- package/esm/models/operations/get-journal-entries.js +10 -1
- package/esm/models/operations/get-journal-entries.js.map +1 -1
- package/esm/models/operations/get-journals.d.ts +12 -1
- package/esm/models/operations/get-journals.d.ts.map +1 -1
- package/esm/models/operations/get-journals.js +10 -1
- package/esm/models/operations/get-journals.js.map +1 -1
- package/esm/models/operations/get-line-items.d.ts +12 -1
- package/esm/models/operations/get-line-items.d.ts.map +1 -1
- package/esm/models/operations/get-line-items.js +10 -1
- package/esm/models/operations/get-line-items.js.map +1 -1
- package/esm/models/operations/get-offer-line-items.d.ts +12 -1
- package/esm/models/operations/get-offer-line-items.d.ts.map +1 -1
- package/esm/models/operations/get-offer-line-items.js +10 -1
- package/esm/models/operations/get-offer-line-items.js.map +1 -1
- package/esm/models/operations/get-offers.d.ts +11 -1
- package/esm/models/operations/get-offers.d.ts.map +1 -1
- package/esm/models/operations/get-offers.js +10 -1
- package/esm/models/operations/get-offers.js.map +1 -1
- package/esm/models/operations/get-open-items.d.ts +12 -1
- package/esm/models/operations/get-open-items.d.ts.map +1 -1
- package/esm/models/operations/get-open-items.js +10 -1
- package/esm/models/operations/get-open-items.js.map +1 -1
- package/esm/models/operations/get-payment-terms.d.ts +12 -1
- package/esm/models/operations/get-payment-terms.d.ts.map +1 -1
- package/esm/models/operations/get-payment-terms.js +10 -1
- package/esm/models/operations/get-payment-terms.js.map +1 -1
- package/esm/models/operations/get-payments.d.ts +12 -1
- package/esm/models/operations/get-payments.d.ts.map +1 -1
- package/esm/models/operations/get-payments.js +10 -1
- package/esm/models/operations/get-payments.js.map +1 -1
- package/esm/models/operations/get-projects.d.ts +12 -1
- package/esm/models/operations/get-projects.d.ts.map +1 -1
- package/esm/models/operations/get-projects.js +10 -1
- package/esm/models/operations/get-projects.js.map +1 -1
- package/esm/models/operations/get-purchase-orders.d.ts +12 -1
- package/esm/models/operations/get-purchase-orders.d.ts.map +1 -1
- package/esm/models/operations/get-purchase-orders.js +10 -1
- package/esm/models/operations/get-purchase-orders.js.map +1 -1
- package/esm/models/operations/get-sales-order-lines.d.ts +12 -1
- package/esm/models/operations/get-sales-order-lines.d.ts.map +1 -1
- package/esm/models/operations/get-sales-order-lines.js +10 -1
- package/esm/models/operations/get-sales-order-lines.js.map +1 -1
- package/esm/models/operations/get-sales-orders.d.ts +11 -1
- package/esm/models/operations/get-sales-orders.d.ts.map +1 -1
- package/esm/models/operations/get-sales-orders.js +10 -1
- package/esm/models/operations/get-sales-orders.js.map +1 -1
- package/esm/models/operations/get-suppliers.d.ts +12 -1
- package/esm/models/operations/get-suppliers.d.ts.map +1 -1
- package/esm/models/operations/get-suppliers.js +10 -1
- package/esm/models/operations/get-suppliers.js.map +1 -1
- package/esm/models/operations/get-tax-rates.d.ts +12 -1
- package/esm/models/operations/get-tax-rates.d.ts.map +1 -1
- package/esm/models/operations/get-tax-rates.js +10 -1
- package/esm/models/operations/get-tax-rates.js.map +1 -1
- package/esm/models/operations/get-trial-balance.d.ts +12 -1
- package/esm/models/operations/get-trial-balance.d.ts.map +1 -1
- package/esm/models/operations/get-trial-balance.js +10 -1
- package/esm/models/operations/get-trial-balance.js.map +1 -1
- package/esm/models/operations/get-units.d.ts +12 -1
- package/esm/models/operations/get-units.d.ts.map +1 -1
- package/esm/models/operations/get-units.js +10 -1
- package/esm/models/operations/get-units.js.map +1 -1
- package/esm/models/operations/get-vendor-credits.d.ts +11 -1
- package/esm/models/operations/get-vendor-credits.d.ts.map +1 -1
- package/esm/models/operations/get-vendor-credits.js +10 -1
- package/esm/models/operations/get-vendor-credits.js.map +1 -1
- package/esm/sdk/accounting-v2.d.ts +8 -4
- package/esm/sdk/accounting-v2.d.ts.map +1 -1
- package/esm/sdk/accounting-v2.js +28 -12
- package/esm/sdk/accounting-v2.js.map +1 -1
- package/esm/sdk/accounting.d.ts +101 -97
- package/esm/sdk/accounting.d.ts.map +1 -1
- package/esm/sdk/accounting.js +319 -275
- package/esm/sdk/accounting.js.map +1 -1
- package/esm/sdk/sdk.d.ts +0 -36
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +0 -60
- package/esm/sdk/sdk.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/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-line-item.ts +166 -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-item.ts +160 -0
- package/src/funcs/accounting-create-journal-entries.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-delete-vendor-credit.ts +168 -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-line-items.ts +166 -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-extensions.ts +162 -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-fiscal-year.ts +166 -0
- package/src/funcs/accounting-get-goods-receipt-line-item.ts +173 -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-attachment-by-id.ts +175 -0
- package/src/funcs/accounting-get-journal-entry-attachments.ts +171 -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-document.ts +166 -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-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-purchase-orders.ts +167 -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-contact.ts +166 -0
- package/src/funcs/accounting-patch-customers.ts +166 -0
- package/src/funcs/accounting-patch-invoice.ts +166 -0
- package/src/funcs/accounting-patch-item.ts +166 -0
- package/src/funcs/accounting-patch-line-item.ts +172 -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-bill.ts +166 -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-create-booking-proposal-v2.ts +216 -0
- package/src/funcs/accounting-v2-create-contact-v2.ts +160 -0
- package/src/funcs/accounting-v2-get-contact-v2.ts +166 -0
- package/src/funcs/accounting-v2-get-contacts-v2.ts +167 -0
- package/src/funcs/accounting-v2-get-dimensions-by-dimension.ts +170 -0
- package/src/funcs/accounting-v2-get-dimensions-v2.ts +165 -0
- package/src/funcs/accounting-v2-patch-contact-v2.ts +166 -0
- package/src/funcs/accounting-v2-put-contact-v2.ts +166 -0
- package/src/funcs/user-get-user-info.ts +135 -0
- package/src/lib/config.ts +3 -4
- package/src/lib/security.ts +14 -2
- package/src/models/operations/get-accounts.ts +16 -2
- package/src/models/operations/get-async-task-info.ts +17 -2
- package/src/models/operations/get-bank-accounts.ts +17 -2
- package/src/models/operations/get-bills.ts +15 -2
- package/src/models/operations/get-booking-proposals.ts +18 -2
- package/src/models/operations/get-contacts-v2.ts +17 -2
- package/src/models/operations/get-contacts.ts +17 -2
- package/src/models/operations/get-credit-notes.ts +17 -2
- package/src/models/operations/get-customers.ts +17 -2
- package/src/models/operations/get-dimensions-by-dimension.ts +19 -2
- package/src/models/operations/get-dimensions.ts +17 -2
- package/src/models/operations/get-expenses.ts +17 -2
- package/src/models/operations/get-goods-receipts.ts +17 -2
- package/src/models/operations/get-invoices.ts +16 -2
- package/src/models/operations/get-items.ts +16 -2
- package/src/models/operations/get-journal-entries.ts +17 -2
- package/src/models/operations/get-journals.ts +17 -2
- package/src/models/operations/get-line-items.ts +17 -2
- package/src/models/operations/get-offer-line-items.ts +17 -2
- package/src/models/operations/get-offers.ts +16 -2
- package/src/models/operations/get-open-items.ts +17 -2
- package/src/models/operations/get-payment-terms.ts +17 -2
- package/src/models/operations/get-payments.ts +17 -2
- package/src/models/operations/get-projects.ts +17 -2
- package/src/models/operations/get-purchase-orders.ts +17 -2
- package/src/models/operations/get-sales-order-lines.ts +19 -2
- package/src/models/operations/get-sales-orders.ts +16 -2
- package/src/models/operations/get-suppliers.ts +17 -2
- package/src/models/operations/get-tax-rates.ts +17 -2
- package/src/models/operations/get-trial-balance.ts +17 -2
- package/src/models/operations/get-units.ts +16 -2
- package/src/models/operations/get-vendor-credits.ts +16 -2
- package/src/sdk/accounting-v2.ts +60 -12
- package/src/sdk/accounting.ts +447 -281
- package/src/sdk/sdk.ts +0 -74
- package/src/sdk/user.ts +3 -3
- 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 -12
- package/esm/funcs/accounting-add-event-subscription.d.ts.map +0 -1
- package/esm/funcs/accounting-add-event-subscription.js +0 -77
- 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-bills-add-line-item.d.ts +0 -11
- package/esm/funcs/accounting-bills-add-line-item.d.ts.map +0 -1
- package/esm/funcs/accounting-bills-add-line-item.js +0 -82
- package/esm/funcs/accounting-bills-add-line-item.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-invoices-update-line-item.d.ts +0 -11
- package/esm/funcs/accounting-invoices-update-line-item.d.ts.map +0 -1
- package/esm/funcs/accounting-invoices-update-line-item.js +0 -87
- package/esm/funcs/accounting-invoices-update-line-item.js.map +0 -1
- package/esm/funcs/accounting-journal-entries-get-attachments.d.ts +0 -11
- package/esm/funcs/accounting-journal-entries-get-attachments.d.ts.map +0 -1
- package/esm/funcs/accounting-journal-entries-get-attachments.js +0 -82
- package/esm/funcs/accounting-journal-entries-get-attachments.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 -12
- package/esm/funcs/accounting-remove-event-subscription.d.ts.map +0 -1
- package/esm/funcs/accounting-remove-event-subscription.js +0 -79
- 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-contacts-update.d.ts +0 -11
- package/esm/funcs/accounting-v2-contacts-update.d.ts.map +0 -1
- package/esm/funcs/accounting-v2-contacts-update.js +0 -83
- package/esm/funcs/accounting-v2-contacts-update.js.map +0 -1
- package/esm/funcs/accounting-v2-create-booking-proposal.d.ts +0 -11
- package/esm/funcs/accounting-v2-create-booking-proposal.d.ts.map +0 -1
- package/esm/funcs/accounting-v2-create-booking-proposal.js +0 -111
- package/esm/funcs/accounting-v2-create-booking-proposal.js.map +0 -1
- package/esm/funcs/accounting-v2-create-contact.d.ts +0 -11
- package/esm/funcs/accounting-v2-create-contact.d.ts.map +0 -1
- package/esm/funcs/accounting-v2-create-contact.js +0 -77
- package/esm/funcs/accounting-v2-create-contact.js.map +0 -1
- package/esm/funcs/accounting-v2-get-dimension.d.ts +0 -11
- package/esm/funcs/accounting-v2-get-dimension.d.ts.map +0 -1
- package/esm/funcs/accounting-v2-get-dimension.js +0 -86
- package/esm/funcs/accounting-v2-get-dimension.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/bills-get-line-items.d.ts +0 -11
- package/esm/funcs/bills-get-line-items.d.ts.map +0 -1
- package/esm/funcs/bills-get-line-items.js +0 -82
- package/esm/funcs/bills-get-line-items.js.map +0 -1
- package/esm/funcs/bills-update.d.ts +0 -11
- package/esm/funcs/bills-update.d.ts.map +0 -1
- package/esm/funcs/bills-update.js +0 -83
- package/esm/funcs/bills-update.js.map +0 -1
- package/esm/funcs/contacts-patch.d.ts +0 -11
- package/esm/funcs/contacts-patch.d.ts.map +0 -1
- package/esm/funcs/contacts-patch.js +0 -83
- package/esm/funcs/contacts-patch.js.map +0 -1
- package/esm/funcs/contacts-v2-get.d.ts +0 -11
- package/esm/funcs/contacts-v2-get.d.ts.map +0 -1
- package/esm/funcs/contacts-v2-get.js +0 -83
- package/esm/funcs/contacts-v2-get.js.map +0 -1
- package/esm/funcs/contacts-v2-list.d.ts +0 -11
- package/esm/funcs/contacts-v2-list.d.ts.map +0 -1
- package/esm/funcs/contacts-v2-list.js +0 -80
- package/esm/funcs/contacts-v2-list.js.map +0 -1
- package/esm/funcs/files-get-document-extensions.d.ts +0 -11
- package/esm/funcs/files-get-document-extensions.d.ts.map +0 -1
- package/esm/funcs/files-get-document-extensions.js +0 -75
- package/esm/funcs/files-get-document-extensions.js.map +0 -1
- package/esm/funcs/fiscal-years-get.d.ts +0 -11
- package/esm/funcs/fiscal-years-get.d.ts.map +0 -1
- package/esm/funcs/fiscal-years-get.js +0 -83
- package/esm/funcs/fiscal-years-get.js.map +0 -1
- package/esm/funcs/goods-receipts-get-line-item.d.ts +0 -11
- package/esm/funcs/goods-receipts-get-line-item.d.ts.map +0 -1
- package/esm/funcs/goods-receipts-get-line-item.js +0 -87
- package/esm/funcs/goods-receipts-get-line-item.js.map +0 -1
- package/esm/funcs/items-create.d.ts +0 -11
- package/esm/funcs/items-create.d.ts.map +0 -1
- package/esm/funcs/items-create.js +0 -77
- package/esm/funcs/items-create.js.map +0 -1
- package/esm/funcs/items-modify.d.ts +0 -11
- package/esm/funcs/items-modify.d.ts.map +0 -1
- package/esm/funcs/items-modify.js +0 -83
- package/esm/funcs/items-modify.js.map +0 -1
- package/esm/funcs/journal-entries-create-bulk.d.ts +0 -11
- package/esm/funcs/journal-entries-create-bulk.d.ts.map +0 -1
- package/esm/funcs/journal-entries-create-bulk.js +0 -76
- package/esm/funcs/journal-entries-create-bulk.js.map +0 -1
- package/esm/funcs/journal-entry-attachments-get-by-id.d.ts +0 -11
- package/esm/funcs/journal-entry-attachments-get-by-id.d.ts.map +0 -1
- package/esm/funcs/journal-entry-attachments-get-by-id.js +0 -86
- package/esm/funcs/journal-entry-attachments-get-by-id.js.map +0 -1
- package/esm/funcs/offers-get-document.d.ts +0 -11
- package/esm/funcs/offers-get-document.d.ts.map +0 -1
- package/esm/funcs/offers-get-document.js +0 -82
- package/esm/funcs/offers-get-document.js.map +0 -1
- package/esm/funcs/purchase-orders-list.d.ts +0 -11
- package/esm/funcs/purchase-orders-list.d.ts.map +0 -1
- package/esm/funcs/purchase-orders-list.js +0 -80
- package/esm/funcs/purchase-orders-list.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/esm/funcs/vendor-credits-delete.d.ts +0 -11
- package/esm/funcs/vendor-credits-delete.d.ts.map +0 -1
- package/esm/funcs/vendor-credits-delete.js +0 -82
- package/esm/funcs/vendor-credits-delete.js.map +0 -1
- package/esm/sdk/accounting-bills.d.ts +0 -6
- package/esm/sdk/accounting-bills.d.ts.map +0 -1
- package/esm/sdk/accounting-bills.js +0 -12
- package/esm/sdk/accounting-bills.js.map +0 -1
- package/esm/sdk/accounting-journal-entries.d.ts +0 -6
- package/esm/sdk/accounting-journal-entries.d.ts.map +0 -1
- package/esm/sdk/accounting-journal-entries.js +0 -12
- package/esm/sdk/accounting-journal-entries.js.map +0 -1
- package/esm/sdk/bills.d.ts +0 -7
- package/esm/sdk/bills.d.ts.map +0 -1
- package/esm/sdk/bills.js +0 -16
- package/esm/sdk/bills.js.map +0 -1
- package/esm/sdk/contacts-v2.d.ts +0 -7
- package/esm/sdk/contacts-v2.d.ts.map +0 -1
- package/esm/sdk/contacts-v2.js +0 -16
- package/esm/sdk/contacts-v2.js.map +0 -1
- package/esm/sdk/contacts.d.ts +0 -6
- package/esm/sdk/contacts.d.ts.map +0 -1
- package/esm/sdk/contacts.js +0 -12
- package/esm/sdk/contacts.js.map +0 -1
- package/esm/sdk/files.d.ts +0 -6
- package/esm/sdk/files.d.ts.map +0 -1
- package/esm/sdk/files.js +0 -12
- package/esm/sdk/files.js.map +0 -1
- package/esm/sdk/fiscal-years.d.ts +0 -6
- package/esm/sdk/fiscal-years.d.ts.map +0 -1
- package/esm/sdk/fiscal-years.js +0 -12
- package/esm/sdk/fiscal-years.js.map +0 -1
- package/esm/sdk/goods-receipts.d.ts +0 -6
- package/esm/sdk/goods-receipts.d.ts.map +0 -1
- package/esm/sdk/goods-receipts.js +0 -12
- package/esm/sdk/goods-receipts.js.map +0 -1
- package/esm/sdk/invoices.d.ts +0 -6
- package/esm/sdk/invoices.d.ts.map +0 -1
- package/esm/sdk/invoices.js +0 -12
- package/esm/sdk/invoices.js.map +0 -1
- package/esm/sdk/items.d.ts +0 -7
- package/esm/sdk/items.d.ts.map +0 -1
- package/esm/sdk/items.js +0 -16
- package/esm/sdk/items.js.map +0 -1
- package/esm/sdk/journal-entries.d.ts +0 -6
- package/esm/sdk/journal-entries.d.ts.map +0 -1
- package/esm/sdk/journal-entries.js +0 -12
- package/esm/sdk/journal-entries.js.map +0 -1
- package/esm/sdk/journal-entry-attachments.d.ts +0 -6
- package/esm/sdk/journal-entry-attachments.d.ts.map +0 -1
- package/esm/sdk/journal-entry-attachments.js +0 -12
- package/esm/sdk/journal-entry-attachments.js.map +0 -1
- package/esm/sdk/offers.d.ts +0 -6
- package/esm/sdk/offers.d.ts.map +0 -1
- package/esm/sdk/offers.js +0 -12
- package/esm/sdk/offers.js.map +0 -1
- package/esm/sdk/purchase-orders.d.ts +0 -6
- package/esm/sdk/purchase-orders.d.ts.map +0 -1
- package/esm/sdk/purchase-orders.js +0 -12
- package/esm/sdk/purchase-orders.js.map +0 -1
- package/esm/sdk/v2-contacts.d.ts +0 -6
- package/esm/sdk/v2-contacts.d.ts.map +0 -1
- package/esm/sdk/v2-contacts.js +0 -12
- package/esm/sdk/v2-contacts.js.map +0 -1
- package/esm/sdk/v2.d.ts +0 -9
- package/esm/sdk/v2.d.ts.map +0 -1
- package/esm/sdk/v2.js +0 -17
- package/esm/sdk/v2.js.map +0 -1
- package/esm/sdk/vendor-credits.d.ts +0 -6
- package/esm/sdk/vendor-credits.d.ts.map +0 -1
- package/esm/sdk/vendor-credits.js +0 -12
- package/esm/sdk/vendor-credits.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 -161
- 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-bills-add-line-item.ts +0 -166
- 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-invoices-update-line-item.ts +0 -172
- package/src/funcs/accounting-journal-entries-get-attachments.ts +0 -171
- 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 -169
- 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-contacts-update.ts +0 -166
- package/src/funcs/accounting-v2-create-booking-proposal.ts +0 -216
- package/src/funcs/accounting-v2-create-contact.ts +0 -160
- package/src/funcs/accounting-v2-get-dimension.ts +0 -170
- package/src/funcs/accounting-v2-obtain-dimensions.ts +0 -165
- package/src/funcs/accounting-v2-update-contact.ts +0 -166
- package/src/funcs/bills-get-line-items.ts +0 -166
- package/src/funcs/bills-update.ts +0 -166
- package/src/funcs/contacts-patch.ts +0 -166
- package/src/funcs/contacts-v2-get.ts +0 -166
- package/src/funcs/contacts-v2-list.ts +0 -167
- package/src/funcs/files-get-document-extensions.ts +0 -162
- package/src/funcs/fiscal-years-get.ts +0 -166
- package/src/funcs/goods-receipts-get-line-item.ts +0 -173
- package/src/funcs/items-create.ts +0 -160
- package/src/funcs/items-modify.ts +0 -166
- package/src/funcs/journal-entries-create-bulk.ts +0 -160
- package/src/funcs/journal-entry-attachments-get-by-id.ts +0 -175
- package/src/funcs/offers-get-document.ts +0 -166
- package/src/funcs/purchase-orders-list.ts +0 -167
- package/src/funcs/user-get-info.ts +0 -135
- package/src/funcs/vendor-credits-delete.ts +0 -168
- package/src/sdk/accounting-bills.ts +0 -21
- package/src/sdk/accounting-journal-entries.ts +0 -21
- package/src/sdk/bills.ts +0 -33
- package/src/sdk/contacts-v2.ts +0 -33
- package/src/sdk/contacts.ts +0 -21
- package/src/sdk/files.ts +0 -21
- package/src/sdk/fiscal-years.ts +0 -21
- package/src/sdk/goods-receipts.ts +0 -21
- package/src/sdk/invoices.ts +0 -21
- package/src/sdk/items.ts +0 -33
- package/src/sdk/journal-entries.ts +0 -21
- package/src/sdk/journal-entry-attachments.ts +0 -21
- package/src/sdk/offers.ts +0 -21
- package/src/sdk/purchase-orders.ts +0 -21
- package/src/sdk/v2-contacts.ts +0 -21
- package/src/sdk/v2.ts +0 -27
- package/src/sdk/vendor-credits.ts +0 -21
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { MaesnCore } from "../core.js";
|
|
6
|
+
import * as M from "../lib/matchers.js";
|
|
7
|
+
import { compactMap } from "../lib/primitives.js";
|
|
8
|
+
import { RequestOptions } from "../lib/sdks.js";
|
|
9
|
+
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
10
|
+
import { pathToFunc } from "../lib/url.js";
|
|
11
|
+
import {
|
|
12
|
+
ConnectionError,
|
|
13
|
+
InvalidRequestError,
|
|
14
|
+
RequestAbortedError,
|
|
15
|
+
RequestTimeoutError,
|
|
16
|
+
UnexpectedClientError,
|
|
17
|
+
} from "../models/errors/http-client-errors.js";
|
|
18
|
+
import { MaesnError } from "../models/errors/maesn-error.js";
|
|
19
|
+
import { ResponseValidationError } from "../models/errors/response-validation-error.js";
|
|
20
|
+
import { SDKValidationError } from "../models/errors/sdk-validation-error.js";
|
|
21
|
+
import * as operations from "../models/operations/index.js";
|
|
22
|
+
import { APICall, APIPromise } from "../types/async.js";
|
|
23
|
+
import { Result } from "../types/fp.js";
|
|
24
|
+
|
|
25
|
+
export function userGetUserInfo(
|
|
26
|
+
client: MaesnCore,
|
|
27
|
+
options?: RequestOptions,
|
|
28
|
+
): APIPromise<
|
|
29
|
+
Result<
|
|
30
|
+
operations.GetUserInfoResponse,
|
|
31
|
+
| MaesnError
|
|
32
|
+
| ResponseValidationError
|
|
33
|
+
| ConnectionError
|
|
34
|
+
| RequestAbortedError
|
|
35
|
+
| RequestTimeoutError
|
|
36
|
+
| InvalidRequestError
|
|
37
|
+
| UnexpectedClientError
|
|
38
|
+
| SDKValidationError
|
|
39
|
+
>
|
|
40
|
+
> {
|
|
41
|
+
return new APIPromise($do(
|
|
42
|
+
client,
|
|
43
|
+
options,
|
|
44
|
+
));
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
async function $do(
|
|
48
|
+
client: MaesnCore,
|
|
49
|
+
options?: RequestOptions,
|
|
50
|
+
): Promise<
|
|
51
|
+
[
|
|
52
|
+
Result<
|
|
53
|
+
operations.GetUserInfoResponse,
|
|
54
|
+
| MaesnError
|
|
55
|
+
| ResponseValidationError
|
|
56
|
+
| ConnectionError
|
|
57
|
+
| RequestAbortedError
|
|
58
|
+
| RequestTimeoutError
|
|
59
|
+
| InvalidRequestError
|
|
60
|
+
| UnexpectedClientError
|
|
61
|
+
| SDKValidationError
|
|
62
|
+
>,
|
|
63
|
+
APICall,
|
|
64
|
+
]
|
|
65
|
+
> {
|
|
66
|
+
const path = pathToFunc("/user/user-info")();
|
|
67
|
+
|
|
68
|
+
const headers = new Headers(compactMap({
|
|
69
|
+
Accept: "application/json",
|
|
70
|
+
}));
|
|
71
|
+
|
|
72
|
+
const securityInput = await extractSecurity(client._options.security);
|
|
73
|
+
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
74
|
+
|
|
75
|
+
const context = {
|
|
76
|
+
options: client._options,
|
|
77
|
+
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
78
|
+
operationID: "getUserInfo",
|
|
79
|
+
oAuth2Scopes: null,
|
|
80
|
+
|
|
81
|
+
resolvedSecurity: requestSecurity,
|
|
82
|
+
|
|
83
|
+
securitySource: client._options.security,
|
|
84
|
+
retryConfig: options?.retries
|
|
85
|
+
|| client._options.retryConfig
|
|
86
|
+
|| { strategy: "none" },
|
|
87
|
+
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
const requestRes = client._createRequest(context, {
|
|
91
|
+
security: requestSecurity,
|
|
92
|
+
method: "GET",
|
|
93
|
+
baseURL: options?.serverURL,
|
|
94
|
+
path: path,
|
|
95
|
+
headers: headers,
|
|
96
|
+
userAgent: client._options.userAgent,
|
|
97
|
+
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
98
|
+
}, options);
|
|
99
|
+
if (!requestRes.ok) {
|
|
100
|
+
return [requestRes, { status: "invalid" }];
|
|
101
|
+
}
|
|
102
|
+
const req = requestRes.value;
|
|
103
|
+
|
|
104
|
+
const doResult = await client._do(req, {
|
|
105
|
+
context,
|
|
106
|
+
errorCodes: ["4XX", "5XX"],
|
|
107
|
+
retryConfig: context.retryConfig,
|
|
108
|
+
retryCodes: context.retryCodes,
|
|
109
|
+
});
|
|
110
|
+
if (!doResult.ok) {
|
|
111
|
+
return [doResult, { status: "request-error", request: req }];
|
|
112
|
+
}
|
|
113
|
+
const response = doResult.value;
|
|
114
|
+
|
|
115
|
+
const [result] = await M.match<
|
|
116
|
+
operations.GetUserInfoResponse,
|
|
117
|
+
| MaesnError
|
|
118
|
+
| ResponseValidationError
|
|
119
|
+
| ConnectionError
|
|
120
|
+
| RequestAbortedError
|
|
121
|
+
| RequestTimeoutError
|
|
122
|
+
| InvalidRequestError
|
|
123
|
+
| UnexpectedClientError
|
|
124
|
+
| SDKValidationError
|
|
125
|
+
>(
|
|
126
|
+
M.json(200, operations.GetUserInfoResponse$inboundSchema),
|
|
127
|
+
M.fail("4XX"),
|
|
128
|
+
M.fail("5XX"),
|
|
129
|
+
)(response, req);
|
|
130
|
+
if (!result.ok) {
|
|
131
|
+
return [result, { status: "complete", request: req, response }];
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
return [result, { status: "complete", request: req, response }];
|
|
135
|
+
}
|
package/src/lib/config.ts
CHANGED
|
@@ -47,8 +47,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
|
|
|
47
47
|
export const SDK_METADATA = {
|
|
48
48
|
language: "typescript",
|
|
49
49
|
openapiDocVersion: "1.0",
|
|
50
|
-
sdkVersion: "0.
|
|
51
|
-
genVersion: "2.
|
|
52
|
-
userAgent:
|
|
53
|
-
"speakeasy-sdk/typescript 0.2.2 2.869.25 1.0 @maesn/typescript-sdk",
|
|
50
|
+
sdkVersion: "0.3.0",
|
|
51
|
+
genVersion: "2.879.1",
|
|
52
|
+
userAgent: "speakeasy-sdk/typescript 0.3.0 2.879.1 1.0 @maesn/typescript-sdk",
|
|
54
53
|
} as const;
|
package/src/lib/security.ts
CHANGED
|
@@ -240,8 +240,9 @@ function applyBearer(
|
|
|
240
240
|
|
|
241
241
|
export function resolveGlobalSecurity(
|
|
242
242
|
security: Partial<models.Security> | null | undefined,
|
|
243
|
+
allowedFields?: number[],
|
|
243
244
|
): SecurityState | null {
|
|
244
|
-
|
|
245
|
+
let inputs: SecurityInput[][] = [
|
|
245
246
|
[
|
|
246
247
|
{
|
|
247
248
|
fieldName: "X-API-KEY",
|
|
@@ -254,7 +255,18 @@ export function resolveGlobalSecurity(
|
|
|
254
255
|
value: security?.accountKey ?? env().MAESN_ACCOUNT_KEY,
|
|
255
256
|
},
|
|
256
257
|
],
|
|
257
|
-
|
|
258
|
+
];
|
|
259
|
+
|
|
260
|
+
if (allowedFields) {
|
|
261
|
+
inputs = allowedFields.map((i) => {
|
|
262
|
+
if (i < 0 || i >= inputs.length) {
|
|
263
|
+
throw new RangeError(`invalid allowedFields index ${i}`);
|
|
264
|
+
}
|
|
265
|
+
return inputs[i]!;
|
|
266
|
+
});
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
return resolveSecurity(...inputs);
|
|
258
270
|
}
|
|
259
271
|
|
|
260
272
|
export async function extractSecurity<
|
|
@@ -10,6 +10,15 @@ import * as types from "../../types/primitives.js";
|
|
|
10
10
|
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
11
11
|
import * as models from "../index.js";
|
|
12
12
|
|
|
13
|
+
export const GetAccountsLimit = {
|
|
14
|
+
Five: 5,
|
|
15
|
+
Ten: 10,
|
|
16
|
+
Twenty: 20,
|
|
17
|
+
Fifty: 50,
|
|
18
|
+
OneHundred: 100,
|
|
19
|
+
} as const;
|
|
20
|
+
export type GetAccountsLimit = ClosedEnum<typeof GetAccountsLimit>;
|
|
21
|
+
|
|
13
22
|
/**
|
|
14
23
|
* Filter accounts by debit/credit indicator
|
|
15
24
|
*/
|
|
@@ -24,7 +33,7 @@ export type DebitCreditIndicator = ClosedEnum<typeof DebitCreditIndicator>;
|
|
|
24
33
|
|
|
25
34
|
export type GetAccountsRequest = {
|
|
26
35
|
page?: number | undefined;
|
|
27
|
-
limit?:
|
|
36
|
+
limit?: GetAccountsLimit | undefined;
|
|
28
37
|
/**
|
|
29
38
|
* ISO 8601 timestamp; only records modified after this date are returned
|
|
30
39
|
*/
|
|
@@ -93,6 +102,11 @@ export type GetAccountsResponse = {
|
|
|
93
102
|
rawData: GetAccountsRawData | null;
|
|
94
103
|
};
|
|
95
104
|
|
|
105
|
+
/** @internal */
|
|
106
|
+
export const GetAccountsLimit$outboundSchema: z.ZodMiniEnum<
|
|
107
|
+
typeof GetAccountsLimit
|
|
108
|
+
> = z.enum(GetAccountsLimit);
|
|
109
|
+
|
|
96
110
|
/** @internal */
|
|
97
111
|
export const DebitCreditIndicator$outboundSchema: z.ZodMiniEnum<
|
|
98
112
|
typeof DebitCreditIndicator
|
|
@@ -120,7 +134,7 @@ export const GetAccountsRequest$outboundSchema: z.ZodMiniType<
|
|
|
120
134
|
GetAccountsRequest
|
|
121
135
|
> = z.object({
|
|
122
136
|
page: z.optional(z.number()),
|
|
123
|
-
limit: z.optional(
|
|
137
|
+
limit: z.optional(GetAccountsLimit$outboundSchema),
|
|
124
138
|
lastModifiedAt: z.optional(z.string()),
|
|
125
139
|
environmentName: z.optional(z.string()),
|
|
126
140
|
companyId: z.optional(z.string()),
|
|
@@ -4,11 +4,21 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
6
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
9
|
import * as types from "../../types/primitives.js";
|
|
9
10
|
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
10
11
|
import * as models from "../index.js";
|
|
11
12
|
|
|
13
|
+
export const GetAsyncTaskInfoLimit = {
|
|
14
|
+
Five: 5,
|
|
15
|
+
Ten: 10,
|
|
16
|
+
Twenty: 20,
|
|
17
|
+
Fifty: 50,
|
|
18
|
+
OneHundred: 100,
|
|
19
|
+
} as const;
|
|
20
|
+
export type GetAsyncTaskInfoLimit = ClosedEnum<typeof GetAsyncTaskInfoLimit>;
|
|
21
|
+
|
|
12
22
|
export type GetAsyncTaskInfoRequest = {
|
|
13
23
|
taskId: string;
|
|
14
24
|
/**
|
|
@@ -16,7 +26,7 @@ export type GetAsyncTaskInfoRequest = {
|
|
|
16
26
|
*/
|
|
17
27
|
companyId?: string | undefined;
|
|
18
28
|
page?: number | undefined;
|
|
19
|
-
limit?:
|
|
29
|
+
limit?: GetAsyncTaskInfoLimit | undefined;
|
|
20
30
|
};
|
|
21
31
|
|
|
22
32
|
export type GetAsyncTaskInfoPagination = {
|
|
@@ -45,6 +55,11 @@ export type GetAsyncTaskInfoResponse = {
|
|
|
45
55
|
rawData: GetAsyncTaskInfoRawData | null;
|
|
46
56
|
};
|
|
47
57
|
|
|
58
|
+
/** @internal */
|
|
59
|
+
export const GetAsyncTaskInfoLimit$outboundSchema: z.ZodMiniEnum<
|
|
60
|
+
typeof GetAsyncTaskInfoLimit
|
|
61
|
+
> = z.enum(GetAsyncTaskInfoLimit);
|
|
62
|
+
|
|
48
63
|
/** @internal */
|
|
49
64
|
export type GetAsyncTaskInfoRequest$Outbound = {
|
|
50
65
|
taskId: string;
|
|
@@ -61,7 +76,7 @@ export const GetAsyncTaskInfoRequest$outboundSchema: z.ZodMiniType<
|
|
|
61
76
|
taskId: z.string(),
|
|
62
77
|
companyId: z.optional(z.string()),
|
|
63
78
|
page: z.optional(z.number()),
|
|
64
|
-
limit: z.optional(
|
|
79
|
+
limit: z.optional(GetAsyncTaskInfoLimit$outboundSchema),
|
|
65
80
|
});
|
|
66
81
|
|
|
67
82
|
export function getAsyncTaskInfoRequestToJSON(
|
|
@@ -4,14 +4,24 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
6
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
9
|
import * as types from "../../types/primitives.js";
|
|
9
10
|
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
10
11
|
import * as models from "../index.js";
|
|
11
12
|
|
|
13
|
+
export const GetBankAccountsLimit = {
|
|
14
|
+
Five: 5,
|
|
15
|
+
Ten: 10,
|
|
16
|
+
Twenty: 20,
|
|
17
|
+
Fifty: 50,
|
|
18
|
+
OneHundred: 100,
|
|
19
|
+
} as const;
|
|
20
|
+
export type GetBankAccountsLimit = ClosedEnum<typeof GetBankAccountsLimit>;
|
|
21
|
+
|
|
12
22
|
export type GetBankAccountsRequest = {
|
|
13
23
|
page?: number | undefined;
|
|
14
|
-
limit?:
|
|
24
|
+
limit?: GetBankAccountsLimit | undefined;
|
|
15
25
|
/**
|
|
16
26
|
* ISO 8601 timestamp; only records modified after this date are returned
|
|
17
27
|
*/
|
|
@@ -56,6 +66,11 @@ export type GetBankAccountsResponse = {
|
|
|
56
66
|
rawData: GetBankAccountsRawData | null;
|
|
57
67
|
};
|
|
58
68
|
|
|
69
|
+
/** @internal */
|
|
70
|
+
export const GetBankAccountsLimit$outboundSchema: z.ZodMiniEnum<
|
|
71
|
+
typeof GetBankAccountsLimit
|
|
72
|
+
> = z.enum(GetBankAccountsLimit);
|
|
73
|
+
|
|
59
74
|
/** @internal */
|
|
60
75
|
export type GetBankAccountsRequest$Outbound = {
|
|
61
76
|
page?: number | undefined;
|
|
@@ -72,7 +87,7 @@ export const GetBankAccountsRequest$outboundSchema: z.ZodMiniType<
|
|
|
72
87
|
GetBankAccountsRequest
|
|
73
88
|
> = z.object({
|
|
74
89
|
page: z.optional(z.number()),
|
|
75
|
-
limit: z.optional(
|
|
90
|
+
limit: z.optional(GetBankAccountsLimit$outboundSchema),
|
|
76
91
|
lastModifiedAt: z.optional(z.string()),
|
|
77
92
|
environmentName: z.optional(z.string()),
|
|
78
93
|
companyId: z.optional(z.string()),
|
|
@@ -10,6 +10,15 @@ import * as types from "../../types/primitives.js";
|
|
|
10
10
|
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
11
11
|
import * as models from "../index.js";
|
|
12
12
|
|
|
13
|
+
export const GetBillsLimit = {
|
|
14
|
+
Five: 5,
|
|
15
|
+
Ten: 10,
|
|
16
|
+
Twenty: 20,
|
|
17
|
+
Fifty: 50,
|
|
18
|
+
OneHundred: 100,
|
|
19
|
+
} as const;
|
|
20
|
+
export type GetBillsLimit = ClosedEnum<typeof GetBillsLimit>;
|
|
21
|
+
|
|
13
22
|
/**
|
|
14
23
|
* Filter bills by unified status
|
|
15
24
|
*/
|
|
@@ -79,7 +88,7 @@ export type GetBillsOrderDir = ClosedEnum<typeof GetBillsOrderDir>;
|
|
|
79
88
|
|
|
80
89
|
export type GetBillsRequest = {
|
|
81
90
|
page?: number | undefined;
|
|
82
|
-
limit?:
|
|
91
|
+
limit?: GetBillsLimit | undefined;
|
|
83
92
|
/**
|
|
84
93
|
* ISO 8601 timestamp; only records modified after this date are returned
|
|
85
94
|
*/
|
|
@@ -140,6 +149,10 @@ export type GetBillsResponse = {
|
|
|
140
149
|
rawData: GetBillsRawData | null;
|
|
141
150
|
};
|
|
142
151
|
|
|
152
|
+
/** @internal */
|
|
153
|
+
export const GetBillsLimit$outboundSchema: z.ZodMiniEnum<typeof GetBillsLimit> =
|
|
154
|
+
z.enum(GetBillsLimit);
|
|
155
|
+
|
|
143
156
|
/** @internal */
|
|
144
157
|
export const GetBillsStatus$outboundSchema: z.ZodMiniEnum<
|
|
145
158
|
typeof GetBillsStatus
|
|
@@ -180,7 +193,7 @@ export const GetBillsRequest$outboundSchema: z.ZodMiniType<
|
|
|
180
193
|
GetBillsRequest
|
|
181
194
|
> = z.object({
|
|
182
195
|
page: z.optional(z.number()),
|
|
183
|
-
limit: z.optional(
|
|
196
|
+
limit: z.optional(GetBillsLimit$outboundSchema),
|
|
184
197
|
lastModifiedAt: z.optional(z.string()),
|
|
185
198
|
environmentName: z.optional(z.string()),
|
|
186
199
|
companyId: z.optional(z.string()),
|
|
@@ -10,6 +10,17 @@ import * as types from "../../types/primitives.js";
|
|
|
10
10
|
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
11
11
|
import * as models from "../index.js";
|
|
12
12
|
|
|
13
|
+
export const GetBookingProposalsLimit = {
|
|
14
|
+
Five: 5,
|
|
15
|
+
Ten: 10,
|
|
16
|
+
Twenty: 20,
|
|
17
|
+
Fifty: 50,
|
|
18
|
+
OneHundred: 100,
|
|
19
|
+
} as const;
|
|
20
|
+
export type GetBookingProposalsLimit = ClosedEnum<
|
|
21
|
+
typeof GetBookingProposalsLimit
|
|
22
|
+
>;
|
|
23
|
+
|
|
13
24
|
/**
|
|
14
25
|
* Filter booking proposals by booking type
|
|
15
26
|
*/
|
|
@@ -82,7 +93,7 @@ export type GetBookingProposalsOrderDir = ClosedEnum<
|
|
|
82
93
|
|
|
83
94
|
export type GetBookingProposalsRequest = {
|
|
84
95
|
page?: number | undefined;
|
|
85
|
-
limit?:
|
|
96
|
+
limit?: GetBookingProposalsLimit | undefined;
|
|
86
97
|
/**
|
|
87
98
|
* ISO 8601 timestamp; only records modified after this date are returned
|
|
88
99
|
*/
|
|
@@ -143,6 +154,11 @@ export type GetBookingProposalsResponse = {
|
|
|
143
154
|
rawData: GetBookingProposalsRawData | null;
|
|
144
155
|
};
|
|
145
156
|
|
|
157
|
+
/** @internal */
|
|
158
|
+
export const GetBookingProposalsLimit$outboundSchema: z.ZodMiniEnum<
|
|
159
|
+
typeof GetBookingProposalsLimit
|
|
160
|
+
> = z.enum(GetBookingProposalsLimit);
|
|
161
|
+
|
|
146
162
|
/** @internal */
|
|
147
163
|
export const BookingType$outboundSchema: z.ZodMiniEnum<typeof BookingType> = z
|
|
148
164
|
.enum(BookingType);
|
|
@@ -182,7 +198,7 @@ export const GetBookingProposalsRequest$outboundSchema: z.ZodMiniType<
|
|
|
182
198
|
GetBookingProposalsRequest
|
|
183
199
|
> = z.object({
|
|
184
200
|
page: z.optional(z.number()),
|
|
185
|
-
limit: z.optional(
|
|
201
|
+
limit: z.optional(GetBookingProposalsLimit$outboundSchema),
|
|
186
202
|
lastModifiedAt: z.optional(z.string()),
|
|
187
203
|
environmentName: z.optional(z.string()),
|
|
188
204
|
companyId: z.optional(z.string()),
|
|
@@ -4,14 +4,24 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
6
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
9
|
import * as types from "../../types/primitives.js";
|
|
9
10
|
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
10
11
|
import * as models from "../index.js";
|
|
11
12
|
|
|
13
|
+
export const GetContactsV2Limit = {
|
|
14
|
+
Five: 5,
|
|
15
|
+
Ten: 10,
|
|
16
|
+
Twenty: 20,
|
|
17
|
+
Fifty: 50,
|
|
18
|
+
OneHundred: 100,
|
|
19
|
+
} as const;
|
|
20
|
+
export type GetContactsV2Limit = ClosedEnum<typeof GetContactsV2Limit>;
|
|
21
|
+
|
|
12
22
|
export type GetContactsV2Request = {
|
|
13
23
|
page?: number | undefined;
|
|
14
|
-
limit?:
|
|
24
|
+
limit?: GetContactsV2Limit | undefined;
|
|
15
25
|
/**
|
|
16
26
|
* ISO 8601 timestamp; only records modified after this date are returned
|
|
17
27
|
*/
|
|
@@ -56,6 +66,11 @@ export type GetContactsV2Response = {
|
|
|
56
66
|
rawData: GetContactsV2RawData | null;
|
|
57
67
|
};
|
|
58
68
|
|
|
69
|
+
/** @internal */
|
|
70
|
+
export const GetContactsV2Limit$outboundSchema: z.ZodMiniEnum<
|
|
71
|
+
typeof GetContactsV2Limit
|
|
72
|
+
> = z.enum(GetContactsV2Limit);
|
|
73
|
+
|
|
59
74
|
/** @internal */
|
|
60
75
|
export type GetContactsV2Request$Outbound = {
|
|
61
76
|
page?: number | undefined;
|
|
@@ -72,7 +87,7 @@ export const GetContactsV2Request$outboundSchema: z.ZodMiniType<
|
|
|
72
87
|
GetContactsV2Request
|
|
73
88
|
> = z.object({
|
|
74
89
|
page: z.optional(z.number()),
|
|
75
|
-
limit: z.optional(
|
|
90
|
+
limit: z.optional(GetContactsV2Limit$outboundSchema),
|
|
76
91
|
lastModifiedAt: z.optional(z.string()),
|
|
77
92
|
environmentName: z.optional(z.string()),
|
|
78
93
|
companyId: z.optional(z.string()),
|
|
@@ -4,14 +4,24 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
6
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
9
|
import * as types from "../../types/primitives.js";
|
|
9
10
|
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
10
11
|
import * as models from "../index.js";
|
|
11
12
|
|
|
13
|
+
export const GetContactsLimit = {
|
|
14
|
+
Five: 5,
|
|
15
|
+
Ten: 10,
|
|
16
|
+
Twenty: 20,
|
|
17
|
+
Fifty: 50,
|
|
18
|
+
OneHundred: 100,
|
|
19
|
+
} as const;
|
|
20
|
+
export type GetContactsLimit = ClosedEnum<typeof GetContactsLimit>;
|
|
21
|
+
|
|
12
22
|
export type GetContactsRequest = {
|
|
13
23
|
page?: number | undefined;
|
|
14
|
-
limit?:
|
|
24
|
+
limit?: GetContactsLimit | undefined;
|
|
15
25
|
/**
|
|
16
26
|
* ISO 8601 timestamp; only records modified after this date are returned
|
|
17
27
|
*/
|
|
@@ -56,6 +66,11 @@ export type GetContactsResponse = {
|
|
|
56
66
|
rawData: GetContactsRawData | null;
|
|
57
67
|
};
|
|
58
68
|
|
|
69
|
+
/** @internal */
|
|
70
|
+
export const GetContactsLimit$outboundSchema: z.ZodMiniEnum<
|
|
71
|
+
typeof GetContactsLimit
|
|
72
|
+
> = z.enum(GetContactsLimit);
|
|
73
|
+
|
|
59
74
|
/** @internal */
|
|
60
75
|
export type GetContactsRequest$Outbound = {
|
|
61
76
|
page?: number | undefined;
|
|
@@ -72,7 +87,7 @@ export const GetContactsRequest$outboundSchema: z.ZodMiniType<
|
|
|
72
87
|
GetContactsRequest
|
|
73
88
|
> = z.object({
|
|
74
89
|
page: z.optional(z.number()),
|
|
75
|
-
limit: z.optional(
|
|
90
|
+
limit: z.optional(GetContactsLimit$outboundSchema),
|
|
76
91
|
lastModifiedAt: z.optional(z.string()),
|
|
77
92
|
environmentName: z.optional(z.string()),
|
|
78
93
|
companyId: z.optional(z.string()),
|
|
@@ -4,14 +4,24 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
6
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
9
|
import * as types from "../../types/primitives.js";
|
|
9
10
|
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
10
11
|
import * as models from "../index.js";
|
|
11
12
|
|
|
13
|
+
export const GetCreditNotesLimit = {
|
|
14
|
+
Five: 5,
|
|
15
|
+
Ten: 10,
|
|
16
|
+
Twenty: 20,
|
|
17
|
+
Fifty: 50,
|
|
18
|
+
OneHundred: 100,
|
|
19
|
+
} as const;
|
|
20
|
+
export type GetCreditNotesLimit = ClosedEnum<typeof GetCreditNotesLimit>;
|
|
21
|
+
|
|
12
22
|
export type GetCreditNotesRequest = {
|
|
13
23
|
page?: number | undefined;
|
|
14
|
-
limit?:
|
|
24
|
+
limit?: GetCreditNotesLimit | undefined;
|
|
15
25
|
/**
|
|
16
26
|
* ISO 8601 timestamp; only records modified after this date are returned
|
|
17
27
|
*/
|
|
@@ -56,6 +66,11 @@ export type GetCreditNotesResponse = {
|
|
|
56
66
|
rawData: GetCreditNotesRawData | null;
|
|
57
67
|
};
|
|
58
68
|
|
|
69
|
+
/** @internal */
|
|
70
|
+
export const GetCreditNotesLimit$outboundSchema: z.ZodMiniEnum<
|
|
71
|
+
typeof GetCreditNotesLimit
|
|
72
|
+
> = z.enum(GetCreditNotesLimit);
|
|
73
|
+
|
|
59
74
|
/** @internal */
|
|
60
75
|
export type GetCreditNotesRequest$Outbound = {
|
|
61
76
|
page?: number | undefined;
|
|
@@ -72,7 +87,7 @@ export const GetCreditNotesRequest$outboundSchema: z.ZodMiniType<
|
|
|
72
87
|
GetCreditNotesRequest
|
|
73
88
|
> = z.object({
|
|
74
89
|
page: z.optional(z.number()),
|
|
75
|
-
limit: z.optional(
|
|
90
|
+
limit: z.optional(GetCreditNotesLimit$outboundSchema),
|
|
76
91
|
lastModifiedAt: z.optional(z.string()),
|
|
77
92
|
environmentName: z.optional(z.string()),
|
|
78
93
|
companyId: z.optional(z.string()),
|
|
@@ -4,14 +4,24 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
6
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
9
|
import * as types from "../../types/primitives.js";
|
|
9
10
|
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
10
11
|
import * as models from "../index.js";
|
|
11
12
|
|
|
13
|
+
export const GetCustomersLimit = {
|
|
14
|
+
Five: 5,
|
|
15
|
+
Ten: 10,
|
|
16
|
+
Twenty: 20,
|
|
17
|
+
Fifty: 50,
|
|
18
|
+
OneHundred: 100,
|
|
19
|
+
} as const;
|
|
20
|
+
export type GetCustomersLimit = ClosedEnum<typeof GetCustomersLimit>;
|
|
21
|
+
|
|
12
22
|
export type GetCustomersRequest = {
|
|
13
23
|
page?: number | undefined;
|
|
14
|
-
limit?:
|
|
24
|
+
limit?: GetCustomersLimit | undefined;
|
|
15
25
|
/**
|
|
16
26
|
* ISO 8601 timestamp; only records modified after this date are returned
|
|
17
27
|
*/
|
|
@@ -68,6 +78,11 @@ export type GetCustomersResponse = {
|
|
|
68
78
|
rawData: GetCustomersRawData | null;
|
|
69
79
|
};
|
|
70
80
|
|
|
81
|
+
/** @internal */
|
|
82
|
+
export const GetCustomersLimit$outboundSchema: z.ZodMiniEnum<
|
|
83
|
+
typeof GetCustomersLimit
|
|
84
|
+
> = z.enum(GetCustomersLimit);
|
|
85
|
+
|
|
71
86
|
/** @internal */
|
|
72
87
|
export type GetCustomersRequest$Outbound = {
|
|
73
88
|
page?: number | undefined;
|
|
@@ -87,7 +102,7 @@ export const GetCustomersRequest$outboundSchema: z.ZodMiniType<
|
|
|
87
102
|
GetCustomersRequest
|
|
88
103
|
> = z.object({
|
|
89
104
|
page: z.optional(z.number()),
|
|
90
|
-
limit: z.optional(
|
|
105
|
+
limit: z.optional(GetCustomersLimit$outboundSchema),
|
|
91
106
|
lastModifiedAt: z.optional(z.string()),
|
|
92
107
|
environmentName: z.optional(z.string()),
|
|
93
108
|
companyId: z.optional(z.string()),
|
|
@@ -4,15 +4,27 @@
|
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
6
|
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
7
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
9
|
import * as types from "../../types/primitives.js";
|
|
9
10
|
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
10
11
|
import * as models from "../index.js";
|
|
11
12
|
|
|
13
|
+
export const GetDimensionsByDimensionLimit = {
|
|
14
|
+
Five: 5,
|
|
15
|
+
Ten: 10,
|
|
16
|
+
Twenty: 20,
|
|
17
|
+
Fifty: 50,
|
|
18
|
+
OneHundred: 100,
|
|
19
|
+
} as const;
|
|
20
|
+
export type GetDimensionsByDimensionLimit = ClosedEnum<
|
|
21
|
+
typeof GetDimensionsByDimensionLimit
|
|
22
|
+
>;
|
|
23
|
+
|
|
12
24
|
export type GetDimensionsByDimensionRequest = {
|
|
13
25
|
dimension: string;
|
|
14
26
|
page?: number | undefined;
|
|
15
|
-
limit?:
|
|
27
|
+
limit?: GetDimensionsByDimensionLimit | undefined;
|
|
16
28
|
/**
|
|
17
29
|
* ISO 8601 timestamp; only records modified after this date are returned
|
|
18
30
|
*/
|
|
@@ -57,6 +69,11 @@ export type GetDimensionsByDimensionResponse = {
|
|
|
57
69
|
rawData: GetDimensionsByDimensionRawData | null;
|
|
58
70
|
};
|
|
59
71
|
|
|
72
|
+
/** @internal */
|
|
73
|
+
export const GetDimensionsByDimensionLimit$outboundSchema: z.ZodMiniEnum<
|
|
74
|
+
typeof GetDimensionsByDimensionLimit
|
|
75
|
+
> = z.enum(GetDimensionsByDimensionLimit);
|
|
76
|
+
|
|
60
77
|
/** @internal */
|
|
61
78
|
export type GetDimensionsByDimensionRequest$Outbound = {
|
|
62
79
|
dimension: string;
|
|
@@ -75,7 +92,7 @@ export const GetDimensionsByDimensionRequest$outboundSchema: z.ZodMiniType<
|
|
|
75
92
|
> = z.object({
|
|
76
93
|
dimension: z.string(),
|
|
77
94
|
page: z.optional(z.number()),
|
|
78
|
-
limit: z.optional(
|
|
95
|
+
limit: z.optional(GetDimensionsByDimensionLimit$outboundSchema),
|
|
79
96
|
lastModifiedAt: z.optional(z.string()),
|
|
80
97
|
environmentName: z.optional(z.string()),
|
|
81
98
|
companyId: z.optional(z.string()),
|