@maesn/typescript-sdk 0.2.3 → 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/README.md +44 -95
- 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-bills-add-line-item.js → accounting-create-bill-line-item.js} +2 -2
- package/esm/funcs/accounting-create-bill-line-item.js.map +1 -0
- package/esm/funcs/{fiscal-years-get.d.ts → accounting-create-item.d.ts} +2 -2
- package/esm/funcs/accounting-create-item.d.ts.map +1 -0
- package/esm/funcs/{items-create.js → accounting-create-item.js} +2 -2
- package/esm/funcs/accounting-create-item.js.map +1 -0
- package/esm/funcs/{goods-receipts-get-line-item.d.ts → accounting-create-journal-entries.d.ts} +2 -2
- package/esm/funcs/accounting-create-journal-entries.d.ts.map +1 -0
- package/esm/funcs/{journal-entries-create-bulk.js → accounting-create-journal-entries.js} +2 -2
- package/esm/funcs/accounting-create-journal-entries.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/{vendor-credits-delete.js → accounting-delete-vendor-credit.js} +2 -2
- package/esm/funcs/accounting-delete-vendor-credit.js.map +1 -0
- package/esm/funcs/{accounting-invoices-update-line-item.d.ts → accounting-get-bill-line-items.d.ts} +2 -2
- package/esm/funcs/{accounting-bills-add-line-item.d.ts.map → accounting-get-bill-line-items.d.ts.map} +1 -1
- package/esm/funcs/{bills-get-line-items.js → accounting-get-bill-line-items.js} +2 -2
- package/esm/funcs/accounting-get-bill-line-items.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/{files-get-document-extensions.js → accounting-get-document-extensions.js} +2 -2
- package/esm/funcs/accounting-get-document-extensions.js.map +1 -0
- package/esm/funcs/{offers-get-document.d.ts → accounting-get-fiscal-year.d.ts} +2 -2
- package/esm/funcs/accounting-get-fiscal-year.d.ts.map +1 -0
- package/esm/funcs/{fiscal-years-get.js → accounting-get-fiscal-year.js} +2 -2
- package/esm/funcs/accounting-get-fiscal-year.js.map +1 -0
- package/esm/funcs/{accounting-v2-create-booking-proposal.d.ts → accounting-get-goods-receipt-line-item.d.ts} +2 -2
- package/esm/funcs/accounting-get-goods-receipt-line-item.d.ts.map +1 -0
- package/esm/funcs/{goods-receipts-get-line-item.js → accounting-get-goods-receipt-line-item.js} +2 -2
- package/esm/funcs/accounting-get-goods-receipt-line-item.js.map +1 -0
- package/esm/funcs/{accounting-journal-entries-get-attachments.d.ts → accounting-get-journal-entry-attachment-by-id.d.ts} +2 -2
- package/esm/funcs/accounting-get-journal-entry-attachment-by-id.d.ts.map +1 -0
- package/esm/funcs/{journal-entry-attachments-get-by-id.js → accounting-get-journal-entry-attachment-by-id.js} +2 -2
- package/esm/funcs/accounting-get-journal-entry-attachment-by-id.js.map +1 -0
- package/esm/funcs/{journal-entry-attachments-get-by-id.d.ts → accounting-get-journal-entry-attachments.d.ts} +2 -2
- package/esm/funcs/accounting-get-journal-entry-attachments.d.ts.map +1 -0
- package/esm/funcs/{accounting-journal-entries-get-attachments.js → accounting-get-journal-entry-attachments.js} +2 -2
- package/esm/funcs/accounting-get-journal-entry-attachments.js.map +1 -0
- package/esm/funcs/{accounting-v2-create-contact.d.ts → accounting-get-offer-document.d.ts} +2 -2
- package/esm/funcs/{accounting-v2-contacts-update.d.ts.map → accounting-get-offer-document.d.ts.map} +1 -1
- package/esm/funcs/{offers-get-document.js → accounting-get-offer-document.js} +2 -2
- package/esm/funcs/accounting-get-offer-document.js.map +1 -0
- package/esm/funcs/{accounting-bills-add-line-item.d.ts → accounting-get-purchase-orders.d.ts} +2 -2
- package/esm/funcs/accounting-get-purchase-orders.d.ts.map +1 -0
- package/esm/funcs/{purchase-orders-list.js → accounting-get-purchase-orders.js} +2 -2
- package/esm/funcs/accounting-get-purchase-orders.js.map +1 -0
- package/esm/funcs/{contacts-v2-get.d.ts → accounting-patch-contact.d.ts} +2 -2
- package/esm/funcs/accounting-patch-contact.d.ts.map +1 -0
- package/esm/funcs/{contacts-patch.js → accounting-patch-contact.js} +2 -2
- package/esm/funcs/accounting-patch-contact.js.map +1 -0
- package/esm/funcs/{contacts-patch.d.ts → accounting-patch-item.d.ts} +2 -2
- package/esm/funcs/{vendor-credits-delete.d.ts.map → accounting-patch-item.d.ts.map} +1 -1
- package/esm/funcs/{items-modify.js → accounting-patch-item.js} +2 -2
- package/esm/funcs/accounting-patch-item.js.map +1 -0
- package/esm/funcs/{bills-get-line-items.d.ts → accounting-patch-line-item.d.ts} +2 -2
- package/esm/funcs/accounting-patch-line-item.d.ts.map +1 -0
- package/esm/funcs/{accounting-invoices-update-line-item.js → accounting-patch-line-item.js} +2 -2
- package/esm/funcs/accounting-patch-line-item.js.map +1 -0
- package/esm/funcs/{bills-update.d.ts → accounting-update-bill.d.ts} +2 -2
- package/esm/funcs/accounting-update-bill.d.ts.map +1 -0
- package/esm/funcs/{bills-update.js → accounting-update-bill.js} +2 -2
- package/esm/funcs/accounting-update-bill.js.map +1 -0
- package/esm/funcs/{files-get-document-extensions.d.ts → accounting-v2-create-booking-proposal-v2.d.ts} +2 -2
- package/esm/funcs/accounting-v2-create-booking-proposal-v2.d.ts.map +1 -0
- package/esm/funcs/{accounting-v2-create-booking-proposal.js → accounting-v2-create-booking-proposal-v2.js} +2 -2
- 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.js → accounting-v2-create-contact-v2.js} +2 -2
- 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/{goods-receipts-get-line-item.d.ts.map → accounting-v2-get-contact-v2.d.ts.map} +1 -1
- package/esm/funcs/{contacts-v2-get.js → accounting-v2-get-contact-v2.js} +2 -2
- package/esm/funcs/{contacts-v2-list.js.map → accounting-v2-get-contact-v2.js.map} +1 -1
- package/esm/funcs/{journal-entries-create-bulk.d.ts → accounting-v2-get-contacts-v2.d.ts} +2 -2
- package/esm/funcs/{files-get-document-extensions.d.ts.map → accounting-v2-get-contacts-v2.d.ts.map} +1 -1
- package/esm/funcs/{contacts-v2-list.js → accounting-v2-get-contacts-v2.js} +2 -2
- 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-dimension.js → accounting-v2-get-dimensions-by-dimension.js} +2 -2
- package/esm/funcs/accounting-v2-get-dimensions-by-dimension.js.map +1 -0
- package/esm/funcs/{accounting-v2-contacts-update.d.ts → accounting-v2-patch-contact-v2.d.ts} +2 -2
- package/esm/funcs/accounting-v2-patch-contact-v2.d.ts.map +1 -0
- package/esm/funcs/{accounting-v2-contacts-update.js → accounting-v2-patch-contact-v2.js} +2 -2
- package/esm/funcs/accounting-v2-patch-contact-v2.js.map +1 -0
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- 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 +6 -2
- package/esm/sdk/accounting-v2.d.ts.map +1 -1
- package/esm/sdk/accounting-v2.js +22 -6
- package/esm/sdk/accounting-v2.js.map +1 -1
- package/esm/sdk/accounting.d.ts +16 -12
- package/esm/sdk/accounting.d.ts.map +1 -1
- package/esm/sdk/accounting.js +64 -20
- 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/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/{accounting-bills-add-line-item.ts → accounting-create-bill-line-item.ts} +1 -1
- package/src/funcs/{items-create.ts → accounting-create-item.ts} +1 -1
- package/src/funcs/{journal-entries-create-bulk.ts → accounting-create-journal-entries.ts} +1 -1
- package/src/funcs/{vendor-credits-delete.ts → accounting-delete-vendor-credit.ts} +1 -1
- package/src/funcs/{bills-get-line-items.ts → accounting-get-bill-line-items.ts} +1 -1
- package/src/funcs/{files-get-document-extensions.ts → accounting-get-document-extensions.ts} +1 -1
- package/src/funcs/{fiscal-years-get.ts → accounting-get-fiscal-year.ts} +1 -1
- package/src/funcs/{goods-receipts-get-line-item.ts → accounting-get-goods-receipt-line-item.ts} +1 -1
- package/src/funcs/{journal-entry-attachments-get-by-id.ts → accounting-get-journal-entry-attachment-by-id.ts} +1 -1
- package/src/funcs/{accounting-journal-entries-get-attachments.ts → accounting-get-journal-entry-attachments.ts} +1 -1
- package/src/funcs/{offers-get-document.ts → accounting-get-offer-document.ts} +1 -1
- package/src/funcs/{purchase-orders-list.ts → accounting-get-purchase-orders.ts} +1 -1
- package/src/funcs/{contacts-patch.ts → accounting-patch-contact.ts} +1 -1
- package/src/funcs/{items-modify.ts → accounting-patch-item.ts} +1 -1
- package/src/funcs/{accounting-invoices-update-line-item.ts → accounting-patch-line-item.ts} +1 -1
- package/src/funcs/{bills-update.ts → accounting-update-bill.ts} +1 -1
- package/src/funcs/{accounting-v2-create-booking-proposal.ts → accounting-v2-create-booking-proposal-v2.ts} +1 -1
- package/src/funcs/{accounting-v2-create-contact.ts → accounting-v2-create-contact-v2.ts} +1 -1
- package/src/funcs/{contacts-v2-get.ts → accounting-v2-get-contact-v2.ts} +1 -1
- package/src/funcs/{contacts-v2-list.ts → accounting-v2-get-contacts-v2.ts} +1 -1
- package/src/funcs/{accounting-v2-get-dimension.ts → accounting-v2-get-dimensions-by-dimension.ts} +1 -1
- package/src/funcs/{accounting-v2-contacts-update.ts → accounting-v2-patch-contact-v2.ts} +1 -1
- package/src/lib/config.ts +2 -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 +54 -6
- package/src/sdk/accounting.ts +192 -26
- package/src/sdk/sdk.ts +0 -74
- package/esm/funcs/accounting-bills-add-line-item.js.map +0 -1
- package/esm/funcs/accounting-invoices-update-line-item.d.ts.map +0 -1
- package/esm/funcs/accounting-invoices-update-line-item.js.map +0 -1
- package/esm/funcs/accounting-journal-entries-get-attachments.d.ts.map +0 -1
- package/esm/funcs/accounting-journal-entries-get-attachments.js.map +0 -1
- package/esm/funcs/accounting-v2-contacts-update.js.map +0 -1
- package/esm/funcs/accounting-v2-create-booking-proposal.d.ts.map +0 -1
- package/esm/funcs/accounting-v2-create-booking-proposal.js.map +0 -1
- package/esm/funcs/accounting-v2-create-contact.d.ts.map +0 -1
- 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.map +0 -1
- package/esm/funcs/bills-get-line-items.d.ts.map +0 -1
- package/esm/funcs/bills-get-line-items.js.map +0 -1
- package/esm/funcs/bills-update.d.ts.map +0 -1
- package/esm/funcs/bills-update.js.map +0 -1
- package/esm/funcs/contacts-patch.d.ts.map +0 -1
- package/esm/funcs/contacts-patch.js.map +0 -1
- package/esm/funcs/contacts-v2-get.d.ts.map +0 -1
- 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/files-get-document-extensions.js.map +0 -1
- package/esm/funcs/fiscal-years-get.d.ts.map +0 -1
- package/esm/funcs/fiscal-years-get.js.map +0 -1
- 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.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.map +0 -1
- package/esm/funcs/journal-entries-create-bulk.d.ts.map +0 -1
- package/esm/funcs/journal-entries-create-bulk.js.map +0 -1
- package/esm/funcs/journal-entry-attachments-get-by-id.d.ts.map +0 -1
- package/esm/funcs/journal-entry-attachments-get-by-id.js.map +0 -1
- package/esm/funcs/offers-get-document.d.ts.map +0 -1
- 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.map +0 -1
- package/esm/funcs/vendor-credits-delete.d.ts +0 -11
- 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/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
package/esm/sdk/sdk.d.ts
CHANGED
|
@@ -2,52 +2,16 @@ import { ClientSDK } from "../lib/sdks.js";
|
|
|
2
2
|
import { AccountingV2 } from "./accounting-v2.js";
|
|
3
3
|
import { Accounting } from "./accounting.js";
|
|
4
4
|
import { Auth } from "./auth.js";
|
|
5
|
-
import { Bills } from "./bills.js";
|
|
6
|
-
import { ContactsV2 } from "./contacts-v2.js";
|
|
7
|
-
import { Contacts } from "./contacts.js";
|
|
8
5
|
import { Events } from "./events.js";
|
|
9
|
-
import { Files } from "./files.js";
|
|
10
|
-
import { FiscalYears } from "./fiscal-years.js";
|
|
11
|
-
import { GoodsReceipts } from "./goods-receipts.js";
|
|
12
6
|
import { Health } from "./health.js";
|
|
13
|
-
import { Items } from "./items.js";
|
|
14
|
-
import { JournalEntries } from "./journal-entries.js";
|
|
15
|
-
import { JournalEntryAttachments } from "./journal-entry-attachments.js";
|
|
16
|
-
import { Offers } from "./offers.js";
|
|
17
|
-
import { PurchaseOrders } from "./purchase-orders.js";
|
|
18
7
|
import { Tenants } from "./tenants.js";
|
|
19
8
|
import { User } from "./user.js";
|
|
20
|
-
import { VendorCredits } from "./vendor-credits.js";
|
|
21
9
|
import { Webhooks } from "./webhooks.js";
|
|
22
10
|
export declare class Maesn extends ClientSDK {
|
|
23
11
|
private _accounting?;
|
|
24
12
|
get accounting(): Accounting;
|
|
25
|
-
private _contacts?;
|
|
26
|
-
get contacts(): Contacts;
|
|
27
|
-
private _files?;
|
|
28
|
-
get files(): Files;
|
|
29
|
-
private _items?;
|
|
30
|
-
get items(): Items;
|
|
31
|
-
private _journalEntries?;
|
|
32
|
-
get journalEntries(): JournalEntries;
|
|
33
|
-
private _journalEntryAttachments?;
|
|
34
|
-
get journalEntryAttachments(): JournalEntryAttachments;
|
|
35
|
-
private _offers?;
|
|
36
|
-
get offers(): Offers;
|
|
37
|
-
private _bills?;
|
|
38
|
-
get bills(): Bills;
|
|
39
|
-
private _vendorCredits?;
|
|
40
|
-
get vendorCredits(): VendorCredits;
|
|
41
|
-
private _purchaseOrders?;
|
|
42
|
-
get purchaseOrders(): PurchaseOrders;
|
|
43
|
-
private _goodsReceipts?;
|
|
44
|
-
get goodsReceipts(): GoodsReceipts;
|
|
45
|
-
private _fiscalYears?;
|
|
46
|
-
get fiscalYears(): FiscalYears;
|
|
47
13
|
private _accountingV2?;
|
|
48
14
|
get accountingV2(): AccountingV2;
|
|
49
|
-
private _contactsV2?;
|
|
50
|
-
get contactsV2(): ContactsV2;
|
|
51
15
|
private _user?;
|
|
52
16
|
get user(): User;
|
|
53
17
|
private _auth?;
|
package/esm/sdk/sdk.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdk.d.ts","sourceRoot":"","sources":["../../src/sdk/sdk.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"sdk.d.ts","sourceRoot":"","sources":["../../src/sdk/sdk.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC,qBAAa,KAAM,SAAQ,SAAS;IAClC,OAAO,CAAC,WAAW,CAAC,CAAa;IACjC,IAAI,UAAU,IAAI,UAAU,CAE3B;IAED,OAAO,CAAC,aAAa,CAAC,CAAe;IACrC,IAAI,YAAY,IAAI,YAAY,CAE/B;IAED,OAAO,CAAC,KAAK,CAAC,CAAO;IACrB,IAAI,IAAI,IAAI,IAAI,CAEf;IAED,OAAO,CAAC,KAAK,CAAC,CAAO;IACrB,IAAI,IAAI,IAAI,IAAI,CAEf;IAED,OAAO,CAAC,OAAO,CAAC,CAAS;IACzB,IAAI,MAAM,IAAI,MAAM,CAEnB;IAED,OAAO,CAAC,SAAS,CAAC,CAAW;IAC7B,IAAI,QAAQ,IAAI,QAAQ,CAEvB;IAED,OAAO,CAAC,OAAO,CAAC,CAAS;IACzB,IAAI,MAAM,IAAI,MAAM,CAEnB;IAED,OAAO,CAAC,QAAQ,CAAC,CAAU;IAC3B,IAAI,OAAO,IAAI,OAAO,CAErB;CACF"}
|
package/esm/sdk/sdk.js
CHANGED
|
@@ -5,80 +5,20 @@ import { ClientSDK } from "../lib/sdks.js";
|
|
|
5
5
|
import { AccountingV2 } from "./accounting-v2.js";
|
|
6
6
|
import { Accounting } from "./accounting.js";
|
|
7
7
|
import { Auth } from "./auth.js";
|
|
8
|
-
import { Bills } from "./bills.js";
|
|
9
|
-
import { ContactsV2 } from "./contacts-v2.js";
|
|
10
|
-
import { Contacts } from "./contacts.js";
|
|
11
8
|
import { Events } from "./events.js";
|
|
12
|
-
import { Files } from "./files.js";
|
|
13
|
-
import { FiscalYears } from "./fiscal-years.js";
|
|
14
|
-
import { GoodsReceipts } from "./goods-receipts.js";
|
|
15
9
|
import { Health } from "./health.js";
|
|
16
|
-
import { Items } from "./items.js";
|
|
17
|
-
import { JournalEntries } from "./journal-entries.js";
|
|
18
|
-
import { JournalEntryAttachments } from "./journal-entry-attachments.js";
|
|
19
|
-
import { Offers } from "./offers.js";
|
|
20
|
-
import { PurchaseOrders } from "./purchase-orders.js";
|
|
21
10
|
import { Tenants } from "./tenants.js";
|
|
22
11
|
import { User } from "./user.js";
|
|
23
|
-
import { VendorCredits } from "./vendor-credits.js";
|
|
24
12
|
import { Webhooks } from "./webhooks.js";
|
|
25
13
|
export class Maesn extends ClientSDK {
|
|
26
14
|
_accounting;
|
|
27
15
|
get accounting() {
|
|
28
16
|
return (this._accounting ?? (this._accounting = new Accounting(this._options)));
|
|
29
17
|
}
|
|
30
|
-
_contacts;
|
|
31
|
-
get contacts() {
|
|
32
|
-
return (this._contacts ?? (this._contacts = new Contacts(this._options)));
|
|
33
|
-
}
|
|
34
|
-
_files;
|
|
35
|
-
get files() {
|
|
36
|
-
return (this._files ?? (this._files = new Files(this._options)));
|
|
37
|
-
}
|
|
38
|
-
_items;
|
|
39
|
-
get items() {
|
|
40
|
-
return (this._items ?? (this._items = new Items(this._options)));
|
|
41
|
-
}
|
|
42
|
-
_journalEntries;
|
|
43
|
-
get journalEntries() {
|
|
44
|
-
return (this._journalEntries ?? (this._journalEntries = new JournalEntries(this._options)));
|
|
45
|
-
}
|
|
46
|
-
_journalEntryAttachments;
|
|
47
|
-
get journalEntryAttachments() {
|
|
48
|
-
return (this._journalEntryAttachments ?? (this._journalEntryAttachments = new JournalEntryAttachments(this._options)));
|
|
49
|
-
}
|
|
50
|
-
_offers;
|
|
51
|
-
get offers() {
|
|
52
|
-
return (this._offers ?? (this._offers = new Offers(this._options)));
|
|
53
|
-
}
|
|
54
|
-
_bills;
|
|
55
|
-
get bills() {
|
|
56
|
-
return (this._bills ?? (this._bills = new Bills(this._options)));
|
|
57
|
-
}
|
|
58
|
-
_vendorCredits;
|
|
59
|
-
get vendorCredits() {
|
|
60
|
-
return (this._vendorCredits ?? (this._vendorCredits = new VendorCredits(this._options)));
|
|
61
|
-
}
|
|
62
|
-
_purchaseOrders;
|
|
63
|
-
get purchaseOrders() {
|
|
64
|
-
return (this._purchaseOrders ?? (this._purchaseOrders = new PurchaseOrders(this._options)));
|
|
65
|
-
}
|
|
66
|
-
_goodsReceipts;
|
|
67
|
-
get goodsReceipts() {
|
|
68
|
-
return (this._goodsReceipts ?? (this._goodsReceipts = new GoodsReceipts(this._options)));
|
|
69
|
-
}
|
|
70
|
-
_fiscalYears;
|
|
71
|
-
get fiscalYears() {
|
|
72
|
-
return (this._fiscalYears ?? (this._fiscalYears = new FiscalYears(this._options)));
|
|
73
|
-
}
|
|
74
18
|
_accountingV2;
|
|
75
19
|
get accountingV2() {
|
|
76
20
|
return (this._accountingV2 ?? (this._accountingV2 = new AccountingV2(this._options)));
|
|
77
21
|
}
|
|
78
|
-
_contactsV2;
|
|
79
|
-
get contactsV2() {
|
|
80
|
-
return (this._contactsV2 ?? (this._contactsV2 = new ContactsV2(this._options)));
|
|
81
|
-
}
|
|
82
22
|
_user;
|
|
83
23
|
get user() {
|
|
84
24
|
return (this._user ?? (this._user = new User(this._options)));
|
package/esm/sdk/sdk.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdk.js","sourceRoot":"","sources":["../../src/sdk/sdk.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"sdk.js","sourceRoot":"","sources":["../../src/sdk/sdk.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEzC,MAAM,OAAO,KAAM,SAAQ,SAAS;IAC1B,WAAW,CAAc;IACjC,IAAI,UAAU,GAAe;QAC3B,OAAO,CAAC,IAAI,CAAC,WAAW,KAAhB,IAAI,CAAC,WAAW,GAAK,IAAI,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAAA,CAC7D;IAEO,aAAa,CAAgB;IACrC,IAAI,YAAY,GAAiB;QAC/B,OAAO,CAAC,IAAI,CAAC,aAAa,KAAlB,IAAI,CAAC,aAAa,GAAK,IAAI,YAAY,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAAA,CACjE;IAEO,KAAK,CAAQ;IACrB,IAAI,IAAI,GAAS;QACf,OAAO,CAAC,IAAI,CAAC,KAAK,KAAV,IAAI,CAAC,KAAK,GAAK,IAAI,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAAA,CACjD;IAEO,KAAK,CAAQ;IACrB,IAAI,IAAI,GAAS;QACf,OAAO,CAAC,IAAI,CAAC,KAAK,KAAV,IAAI,CAAC,KAAK,GAAK,IAAI,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAAA,CACjD;IAEO,OAAO,CAAU;IACzB,IAAI,MAAM,GAAW;QACnB,OAAO,CAAC,IAAI,CAAC,OAAO,KAAZ,IAAI,CAAC,OAAO,GAAK,IAAI,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAAA,CACrD;IAEO,SAAS,CAAY;IAC7B,IAAI,QAAQ,GAAa;QACvB,OAAO,CAAC,IAAI,CAAC,SAAS,KAAd,IAAI,CAAC,SAAS,GAAK,IAAI,QAAQ,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAAA,CACzD;IAEO,OAAO,CAAU;IACzB,IAAI,MAAM,GAAW;QACnB,OAAO,CAAC,IAAI,CAAC,OAAO,KAAZ,IAAI,CAAC,OAAO,GAAK,IAAI,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAAA,CACrD;IAEO,QAAQ,CAAW;IAC3B,IAAI,OAAO,GAAY;QACrB,OAAO,CAAC,IAAI,CAAC,QAAQ,KAAb,IAAI,CAAC,QAAQ,GAAK,IAAI,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAC,CAAC;IAAA,CACvD;CACF"}
|
package/jsr.json
CHANGED
package/package.json
CHANGED
|
@@ -25,7 +25,7 @@ import * as operations from "../models/operations/index.js";
|
|
|
25
25
|
import { APICall, APIPromise } from "../types/async.js";
|
|
26
26
|
import { Result } from "../types/fp.js";
|
|
27
27
|
|
|
28
|
-
export function
|
|
28
|
+
export function accountingCreateBillLineItem(
|
|
29
29
|
client: MaesnCore,
|
|
30
30
|
request: operations.CreateBillLineItemRequest,
|
|
31
31
|
options?: RequestOptions,
|
|
@@ -25,7 +25,7 @@ import * as operations from "../models/operations/index.js";
|
|
|
25
25
|
import { APICall, APIPromise } from "../types/async.js";
|
|
26
26
|
import { Result } from "../types/fp.js";
|
|
27
27
|
|
|
28
|
-
export function
|
|
28
|
+
export function accountingCreateItem(
|
|
29
29
|
client: MaesnCore,
|
|
30
30
|
request: operations.CreateItemRequest,
|
|
31
31
|
options?: RequestOptions,
|
|
@@ -25,7 +25,7 @@ import * as operations from "../models/operations/index.js";
|
|
|
25
25
|
import { APICall, APIPromise } from "../types/async.js";
|
|
26
26
|
import { Result } from "../types/fp.js";
|
|
27
27
|
|
|
28
|
-
export function
|
|
28
|
+
export function accountingCreateJournalEntries(
|
|
29
29
|
client: MaesnCore,
|
|
30
30
|
request: operations.CreateJournalEntriesRequest,
|
|
31
31
|
options?: RequestOptions,
|
|
@@ -25,7 +25,7 @@ import * as operations from "../models/operations/index.js";
|
|
|
25
25
|
import { APICall, APIPromise } from "../types/async.js";
|
|
26
26
|
import { Result } from "../types/fp.js";
|
|
27
27
|
|
|
28
|
-
export function
|
|
28
|
+
export function accountingDeleteVendorCredit(
|
|
29
29
|
client: MaesnCore,
|
|
30
30
|
request: operations.DeleteVendorCreditRequest,
|
|
31
31
|
options?: RequestOptions,
|
|
@@ -25,7 +25,7 @@ import * as operations from "../models/operations/index.js";
|
|
|
25
25
|
import { APICall, APIPromise } from "../types/async.js";
|
|
26
26
|
import { Result } from "../types/fp.js";
|
|
27
27
|
|
|
28
|
-
export function
|
|
28
|
+
export function accountingGetBillLineItems(
|
|
29
29
|
client: MaesnCore,
|
|
30
30
|
request: operations.GetBillLineItemsRequest,
|
|
31
31
|
options?: RequestOptions,
|
package/src/funcs/{files-get-document-extensions.ts → accounting-get-document-extensions.ts}
RENAMED
|
@@ -25,7 +25,7 @@ import * as operations from "../models/operations/index.js";
|
|
|
25
25
|
import { APICall, APIPromise } from "../types/async.js";
|
|
26
26
|
import { Result } from "../types/fp.js";
|
|
27
27
|
|
|
28
|
-
export function
|
|
28
|
+
export function accountingGetDocumentExtensions(
|
|
29
29
|
client: MaesnCore,
|
|
30
30
|
request?: operations.GetDocumentExtensionsRequest | undefined,
|
|
31
31
|
options?: RequestOptions,
|
|
@@ -25,7 +25,7 @@ import * as operations from "../models/operations/index.js";
|
|
|
25
25
|
import { APICall, APIPromise } from "../types/async.js";
|
|
26
26
|
import { Result } from "../types/fp.js";
|
|
27
27
|
|
|
28
|
-
export function
|
|
28
|
+
export function accountingGetFiscalYear(
|
|
29
29
|
client: MaesnCore,
|
|
30
30
|
request: operations.GetFiscalYearRequest,
|
|
31
31
|
options?: RequestOptions,
|
package/src/funcs/{goods-receipts-get-line-item.ts → accounting-get-goods-receipt-line-item.ts}
RENAMED
|
@@ -25,7 +25,7 @@ import * as operations from "../models/operations/index.js";
|
|
|
25
25
|
import { APICall, APIPromise } from "../types/async.js";
|
|
26
26
|
import { Result } from "../types/fp.js";
|
|
27
27
|
|
|
28
|
-
export function
|
|
28
|
+
export function accountingGetGoodsReceiptLineItem(
|
|
29
29
|
client: MaesnCore,
|
|
30
30
|
request: operations.GetGoodsReceiptLineItemRequest,
|
|
31
31
|
options?: RequestOptions,
|
|
@@ -25,7 +25,7 @@ import * as operations from "../models/operations/index.js";
|
|
|
25
25
|
import { APICall, APIPromise } from "../types/async.js";
|
|
26
26
|
import { Result } from "../types/fp.js";
|
|
27
27
|
|
|
28
|
-
export function
|
|
28
|
+
export function accountingGetJournalEntryAttachmentById(
|
|
29
29
|
client: MaesnCore,
|
|
30
30
|
request: operations.GetJournalEntryAttachmentByIdRequest,
|
|
31
31
|
options?: RequestOptions,
|
|
@@ -25,7 +25,7 @@ import * as operations from "../models/operations/index.js";
|
|
|
25
25
|
import { APICall, APIPromise } from "../types/async.js";
|
|
26
26
|
import { Result } from "../types/fp.js";
|
|
27
27
|
|
|
28
|
-
export function
|
|
28
|
+
export function accountingGetJournalEntryAttachments(
|
|
29
29
|
client: MaesnCore,
|
|
30
30
|
request: operations.GetJournalEntryAttachmentsRequest,
|
|
31
31
|
options?: RequestOptions,
|
|
@@ -25,7 +25,7 @@ import * as operations from "../models/operations/index.js";
|
|
|
25
25
|
import { APICall, APIPromise } from "../types/async.js";
|
|
26
26
|
import { Result } from "../types/fp.js";
|
|
27
27
|
|
|
28
|
-
export function
|
|
28
|
+
export function accountingGetOfferDocument(
|
|
29
29
|
client: MaesnCore,
|
|
30
30
|
request: operations.GetOfferDocumentRequest,
|
|
31
31
|
options?: RequestOptions,
|
|
@@ -25,7 +25,7 @@ import * as operations from "../models/operations/index.js";
|
|
|
25
25
|
import { APICall, APIPromise } from "../types/async.js";
|
|
26
26
|
import { Result } from "../types/fp.js";
|
|
27
27
|
|
|
28
|
-
export function
|
|
28
|
+
export function accountingGetPurchaseOrders(
|
|
29
29
|
client: MaesnCore,
|
|
30
30
|
request?: operations.GetPurchaseOrdersRequest | undefined,
|
|
31
31
|
options?: RequestOptions,
|
|
@@ -25,7 +25,7 @@ import * as operations from "../models/operations/index.js";
|
|
|
25
25
|
import { APICall, APIPromise } from "../types/async.js";
|
|
26
26
|
import { Result } from "../types/fp.js";
|
|
27
27
|
|
|
28
|
-
export function
|
|
28
|
+
export function accountingPatchContact(
|
|
29
29
|
client: MaesnCore,
|
|
30
30
|
request: operations.PatchContactRequest,
|
|
31
31
|
options?: RequestOptions,
|
|
@@ -25,7 +25,7 @@ import * as operations from "../models/operations/index.js";
|
|
|
25
25
|
import { APICall, APIPromise } from "../types/async.js";
|
|
26
26
|
import { Result } from "../types/fp.js";
|
|
27
27
|
|
|
28
|
-
export function
|
|
28
|
+
export function accountingPatchItem(
|
|
29
29
|
client: MaesnCore,
|
|
30
30
|
request: operations.PatchItemRequest,
|
|
31
31
|
options?: RequestOptions,
|
|
@@ -25,7 +25,7 @@ import * as operations from "../models/operations/index.js";
|
|
|
25
25
|
import { APICall, APIPromise } from "../types/async.js";
|
|
26
26
|
import { Result } from "../types/fp.js";
|
|
27
27
|
|
|
28
|
-
export function
|
|
28
|
+
export function accountingPatchLineItem(
|
|
29
29
|
client: MaesnCore,
|
|
30
30
|
request: operations.PatchLineItemRequest,
|
|
31
31
|
options?: RequestOptions,
|
|
@@ -25,7 +25,7 @@ import * as operations from "../models/operations/index.js";
|
|
|
25
25
|
import { APICall, APIPromise } from "../types/async.js";
|
|
26
26
|
import { Result } from "../types/fp.js";
|
|
27
27
|
|
|
28
|
-
export function
|
|
28
|
+
export function accountingUpdateBill(
|
|
29
29
|
client: MaesnCore,
|
|
30
30
|
request: operations.UpdateBillRequest,
|
|
31
31
|
options?: RequestOptions,
|
|
@@ -32,7 +32,7 @@ import { isBlobLike } from "../types/blobs.js";
|
|
|
32
32
|
import { Result } from "../types/fp.js";
|
|
33
33
|
import { isReadableStream } from "../types/streams.js";
|
|
34
34
|
|
|
35
|
-
export function
|
|
35
|
+
export function accountingV2CreateBookingProposalV2(
|
|
36
36
|
client: MaesnCore,
|
|
37
37
|
request: operations.CreateBookingProposalV2Request,
|
|
38
38
|
options?: RequestOptions,
|
|
@@ -25,7 +25,7 @@ import * as operations from "../models/operations/index.js";
|
|
|
25
25
|
import { APICall, APIPromise } from "../types/async.js";
|
|
26
26
|
import { Result } from "../types/fp.js";
|
|
27
27
|
|
|
28
|
-
export function
|
|
28
|
+
export function accountingV2CreateContactV2(
|
|
29
29
|
client: MaesnCore,
|
|
30
30
|
request: operations.CreateContactV2Request,
|
|
31
31
|
options?: RequestOptions,
|
|
@@ -25,7 +25,7 @@ import * as operations from "../models/operations/index.js";
|
|
|
25
25
|
import { APICall, APIPromise } from "../types/async.js";
|
|
26
26
|
import { Result } from "../types/fp.js";
|
|
27
27
|
|
|
28
|
-
export function
|
|
28
|
+
export function accountingV2GetContactV2(
|
|
29
29
|
client: MaesnCore,
|
|
30
30
|
request: operations.GetContactV2Request,
|
|
31
31
|
options?: RequestOptions,
|
|
@@ -25,7 +25,7 @@ import * as operations from "../models/operations/index.js";
|
|
|
25
25
|
import { APICall, APIPromise } from "../types/async.js";
|
|
26
26
|
import { Result } from "../types/fp.js";
|
|
27
27
|
|
|
28
|
-
export function
|
|
28
|
+
export function accountingV2GetContactsV2(
|
|
29
29
|
client: MaesnCore,
|
|
30
30
|
request?: operations.GetContactsV2Request | undefined,
|
|
31
31
|
options?: RequestOptions,
|
package/src/funcs/{accounting-v2-get-dimension.ts → accounting-v2-get-dimensions-by-dimension.ts}
RENAMED
|
@@ -25,7 +25,7 @@ import * as operations from "../models/operations/index.js";
|
|
|
25
25
|
import { APICall, APIPromise } from "../types/async.js";
|
|
26
26
|
import { Result } from "../types/fp.js";
|
|
27
27
|
|
|
28
|
-
export function
|
|
28
|
+
export function accountingV2GetDimensionsByDimension(
|
|
29
29
|
client: MaesnCore,
|
|
30
30
|
request: operations.GetDimensionsByDimensionRequest,
|
|
31
31
|
options?: RequestOptions,
|
|
@@ -25,7 +25,7 @@ import * as operations from "../models/operations/index.js";
|
|
|
25
25
|
import { APICall, APIPromise } from "../types/async.js";
|
|
26
26
|
import { Result } from "../types/fp.js";
|
|
27
27
|
|
|
28
|
-
export function
|
|
28
|
+
export function accountingV2PatchContactV2(
|
|
29
29
|
client: MaesnCore,
|
|
30
30
|
request: operations.PatchContactV2Request,
|
|
31
31
|
options?: RequestOptions,
|
package/src/lib/config.ts
CHANGED
|
@@ -47,7 +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.
|
|
50
|
+
sdkVersion: "0.3.0",
|
|
51
51
|
genVersion: "2.879.1",
|
|
52
|
-
userAgent: "speakeasy-sdk/typescript 0.
|
|
52
|
+
userAgent: "speakeasy-sdk/typescript 0.3.0 2.879.1 1.0 @maesn/typescript-sdk",
|
|
53
53
|
} as const;
|
|
@@ -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()),
|