@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
|
@@ -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()),
|
|
@@ -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 GetDimensionsLimit = {
|
|
14
|
+
Five: 5,
|
|
15
|
+
Ten: 10,
|
|
16
|
+
Twenty: 20,
|
|
17
|
+
Fifty: 50,
|
|
18
|
+
OneHundred: 100,
|
|
19
|
+
} as const;
|
|
20
|
+
export type GetDimensionsLimit = ClosedEnum<typeof GetDimensionsLimit>;
|
|
21
|
+
|
|
12
22
|
export type GetDimensionsRequest = {
|
|
13
23
|
page?: number | undefined;
|
|
14
|
-
limit?:
|
|
24
|
+
limit?: GetDimensionsLimit | undefined;
|
|
15
25
|
/**
|
|
16
26
|
* ISO 8601 timestamp; only records modified after this date are returned
|
|
17
27
|
*/
|
|
@@ -56,6 +66,11 @@ export type GetDimensionsResponse = {
|
|
|
56
66
|
rawData: GetDimensionsRawData | null;
|
|
57
67
|
};
|
|
58
68
|
|
|
69
|
+
/** @internal */
|
|
70
|
+
export const GetDimensionsLimit$outboundSchema: z.ZodMiniEnum<
|
|
71
|
+
typeof GetDimensionsLimit
|
|
72
|
+
> = z.enum(GetDimensionsLimit);
|
|
73
|
+
|
|
59
74
|
/** @internal */
|
|
60
75
|
export type GetDimensionsRequest$Outbound = {
|
|
61
76
|
page?: number | undefined;
|
|
@@ -72,7 +87,7 @@ export const GetDimensionsRequest$outboundSchema: z.ZodMiniType<
|
|
|
72
87
|
GetDimensionsRequest
|
|
73
88
|
> = z.object({
|
|
74
89
|
page: z.optional(z.number()),
|
|
75
|
-
limit: z.optional(
|
|
90
|
+
limit: z.optional(GetDimensionsLimit$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 GetExpensesLimit = {
|
|
14
|
+
Five: 5,
|
|
15
|
+
Ten: 10,
|
|
16
|
+
Twenty: 20,
|
|
17
|
+
Fifty: 50,
|
|
18
|
+
OneHundred: 100,
|
|
19
|
+
} as const;
|
|
20
|
+
export type GetExpensesLimit = ClosedEnum<typeof GetExpensesLimit>;
|
|
21
|
+
|
|
12
22
|
export type GetExpensesRequest = {
|
|
13
23
|
page?: number | undefined;
|
|
14
|
-
limit?:
|
|
24
|
+
limit?: GetExpensesLimit | undefined;
|
|
15
25
|
/**
|
|
16
26
|
* ISO 8601 timestamp; only records modified after this date are returned
|
|
17
27
|
*/
|
|
@@ -52,6 +62,11 @@ export type GetExpensesResponse = {
|
|
|
52
62
|
rawData: GetExpensesRawData | null;
|
|
53
63
|
};
|
|
54
64
|
|
|
65
|
+
/** @internal */
|
|
66
|
+
export const GetExpensesLimit$outboundSchema: z.ZodMiniEnum<
|
|
67
|
+
typeof GetExpensesLimit
|
|
68
|
+
> = z.enum(GetExpensesLimit);
|
|
69
|
+
|
|
55
70
|
/** @internal */
|
|
56
71
|
export type GetExpensesRequest$Outbound = {
|
|
57
72
|
page?: number | undefined;
|
|
@@ -67,7 +82,7 @@ export const GetExpensesRequest$outboundSchema: z.ZodMiniType<
|
|
|
67
82
|
GetExpensesRequest
|
|
68
83
|
> = z.object({
|
|
69
84
|
page: z.optional(z.number()),
|
|
70
|
-
limit: z.optional(
|
|
85
|
+
limit: z.optional(GetExpensesLimit$outboundSchema),
|
|
71
86
|
lastModifiedAt: z.optional(z.string()),
|
|
72
87
|
companyId: z.optional(z.string()),
|
|
73
88
|
rawData: z.optional(z.boolean()),
|
|
@@ -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 GetGoodsReceiptsLimit = {
|
|
14
|
+
Five: 5,
|
|
15
|
+
Ten: 10,
|
|
16
|
+
Twenty: 20,
|
|
17
|
+
Fifty: 50,
|
|
18
|
+
OneHundred: 100,
|
|
19
|
+
} as const;
|
|
20
|
+
export type GetGoodsReceiptsLimit = ClosedEnum<typeof GetGoodsReceiptsLimit>;
|
|
21
|
+
|
|
12
22
|
export type GetGoodsReceiptsRequest = {
|
|
13
23
|
page?: number | undefined;
|
|
14
|
-
limit?:
|
|
24
|
+
limit?: GetGoodsReceiptsLimit | undefined;
|
|
15
25
|
/**
|
|
16
26
|
* ISO 8601 timestamp; only records modified after this date are returned
|
|
17
27
|
*/
|
|
@@ -56,6 +66,11 @@ export type GetGoodsReceiptsResponse = {
|
|
|
56
66
|
rawData: GetGoodsReceiptsRawData | null;
|
|
57
67
|
};
|
|
58
68
|
|
|
69
|
+
/** @internal */
|
|
70
|
+
export const GetGoodsReceiptsLimit$outboundSchema: z.ZodMiniEnum<
|
|
71
|
+
typeof GetGoodsReceiptsLimit
|
|
72
|
+
> = z.enum(GetGoodsReceiptsLimit);
|
|
73
|
+
|
|
59
74
|
/** @internal */
|
|
60
75
|
export type GetGoodsReceiptsRequest$Outbound = {
|
|
61
76
|
page?: number | undefined;
|
|
@@ -72,7 +87,7 @@ export const GetGoodsReceiptsRequest$outboundSchema: z.ZodMiniType<
|
|
|
72
87
|
GetGoodsReceiptsRequest
|
|
73
88
|
> = z.object({
|
|
74
89
|
page: z.optional(z.number()),
|
|
75
|
-
limit: z.optional(
|
|
90
|
+
limit: z.optional(GetGoodsReceiptsLimit$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 GetInvoicesLimit = {
|
|
14
|
+
Five: 5,
|
|
15
|
+
Ten: 10,
|
|
16
|
+
Twenty: 20,
|
|
17
|
+
Fifty: 50,
|
|
18
|
+
OneHundred: 100,
|
|
19
|
+
} as const;
|
|
20
|
+
export type GetInvoicesLimit = ClosedEnum<typeof GetInvoicesLimit>;
|
|
21
|
+
|
|
13
22
|
/**
|
|
14
23
|
* Filter invoices by unified status
|
|
15
24
|
*/
|
|
@@ -81,7 +90,7 @@ export type GetInvoicesOrderDir = ClosedEnum<typeof GetInvoicesOrderDir>;
|
|
|
81
90
|
|
|
82
91
|
export type GetInvoicesRequest = {
|
|
83
92
|
page?: number | undefined;
|
|
84
|
-
limit?:
|
|
93
|
+
limit?: GetInvoicesLimit | undefined;
|
|
85
94
|
/**
|
|
86
95
|
* ISO 8601 timestamp; only records modified after this date are returned
|
|
87
96
|
*/
|
|
@@ -146,6 +155,11 @@ export type GetInvoicesResponse = {
|
|
|
146
155
|
rawData: GetInvoicesRawData | null;
|
|
147
156
|
};
|
|
148
157
|
|
|
158
|
+
/** @internal */
|
|
159
|
+
export const GetInvoicesLimit$outboundSchema: z.ZodMiniEnum<
|
|
160
|
+
typeof GetInvoicesLimit
|
|
161
|
+
> = z.enum(GetInvoicesLimit);
|
|
162
|
+
|
|
149
163
|
/** @internal */
|
|
150
164
|
export const GetInvoicesStatus$outboundSchema: z.ZodMiniEnum<
|
|
151
165
|
typeof GetInvoicesStatus
|
|
@@ -187,7 +201,7 @@ export const GetInvoicesRequest$outboundSchema: z.ZodMiniType<
|
|
|
187
201
|
GetInvoicesRequest
|
|
188
202
|
> = z.object({
|
|
189
203
|
page: z.optional(z.number()),
|
|
190
|
-
limit: z.optional(
|
|
204
|
+
limit: z.optional(GetInvoicesLimit$outboundSchema),
|
|
191
205
|
lastModifiedAt: z.optional(z.string()),
|
|
192
206
|
environmentName: z.optional(z.string()),
|
|
193
207
|
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 GetItemsLimit = {
|
|
14
|
+
Five: 5,
|
|
15
|
+
Ten: 10,
|
|
16
|
+
Twenty: 20,
|
|
17
|
+
Fifty: 50,
|
|
18
|
+
OneHundred: 100,
|
|
19
|
+
} as const;
|
|
20
|
+
export type GetItemsLimit = ClosedEnum<typeof GetItemsLimit>;
|
|
21
|
+
|
|
12
22
|
export type GetItemsRequest = {
|
|
13
23
|
page?: number | undefined;
|
|
14
|
-
limit?:
|
|
24
|
+
limit?: GetItemsLimit | undefined;
|
|
15
25
|
/**
|
|
16
26
|
* ISO 8601 timestamp; only records modified after this date are returned
|
|
17
27
|
*/
|
|
@@ -64,6 +74,10 @@ export type GetItemsResponse = {
|
|
|
64
74
|
rawData: GetItemsRawData | null;
|
|
65
75
|
};
|
|
66
76
|
|
|
77
|
+
/** @internal */
|
|
78
|
+
export const GetItemsLimit$outboundSchema: z.ZodMiniEnum<typeof GetItemsLimit> =
|
|
79
|
+
z.enum(GetItemsLimit);
|
|
80
|
+
|
|
67
81
|
/** @internal */
|
|
68
82
|
export type GetItemsRequest$Outbound = {
|
|
69
83
|
page?: number | undefined;
|
|
@@ -82,7 +96,7 @@ export const GetItemsRequest$outboundSchema: z.ZodMiniType<
|
|
|
82
96
|
GetItemsRequest
|
|
83
97
|
> = z.object({
|
|
84
98
|
page: z.optional(z.number()),
|
|
85
|
-
limit: z.optional(
|
|
99
|
+
limit: z.optional(GetItemsLimit$outboundSchema),
|
|
86
100
|
lastModifiedAt: z.optional(z.string()),
|
|
87
101
|
environmentName: z.optional(z.string()),
|
|
88
102
|
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 GetJournalEntriesLimit = {
|
|
14
|
+
Five: 5,
|
|
15
|
+
Ten: 10,
|
|
16
|
+
Twenty: 20,
|
|
17
|
+
Fifty: 50,
|
|
18
|
+
OneHundred: 100,
|
|
19
|
+
} as const;
|
|
20
|
+
export type GetJournalEntriesLimit = ClosedEnum<typeof GetJournalEntriesLimit>;
|
|
21
|
+
|
|
12
22
|
export type GetJournalEntriesRequest = {
|
|
13
23
|
page?: number | undefined;
|
|
14
|
-
limit?:
|
|
24
|
+
limit?: GetJournalEntriesLimit | undefined;
|
|
15
25
|
/**
|
|
16
26
|
* ISO 8601 timestamp; only records modified after this date are returned
|
|
17
27
|
*/
|
|
@@ -64,6 +74,11 @@ export type GetJournalEntriesResponse = {
|
|
|
64
74
|
rawData: GetJournalEntriesRawData | null;
|
|
65
75
|
};
|
|
66
76
|
|
|
77
|
+
/** @internal */
|
|
78
|
+
export const GetJournalEntriesLimit$outboundSchema: z.ZodMiniEnum<
|
|
79
|
+
typeof GetJournalEntriesLimit
|
|
80
|
+
> = z.enum(GetJournalEntriesLimit);
|
|
81
|
+
|
|
67
82
|
/** @internal */
|
|
68
83
|
export type GetJournalEntriesRequest$Outbound = {
|
|
69
84
|
page?: number | undefined;
|
|
@@ -82,7 +97,7 @@ export const GetJournalEntriesRequest$outboundSchema: z.ZodMiniType<
|
|
|
82
97
|
GetJournalEntriesRequest
|
|
83
98
|
> = z.object({
|
|
84
99
|
page: z.optional(z.number()),
|
|
85
|
-
limit: z.optional(
|
|
100
|
+
limit: z.optional(GetJournalEntriesLimit$outboundSchema),
|
|
86
101
|
lastModifiedAt: z.optional(z.string()),
|
|
87
102
|
environmentName: z.optional(z.string()),
|
|
88
103
|
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 GetJournalsLimit = {
|
|
14
|
+
Five: 5,
|
|
15
|
+
Ten: 10,
|
|
16
|
+
Twenty: 20,
|
|
17
|
+
Fifty: 50,
|
|
18
|
+
OneHundred: 100,
|
|
19
|
+
} as const;
|
|
20
|
+
export type GetJournalsLimit = ClosedEnum<typeof GetJournalsLimit>;
|
|
21
|
+
|
|
12
22
|
export type GetJournalsRequest = {
|
|
13
23
|
page?: number | undefined;
|
|
14
|
-
limit?:
|
|
24
|
+
limit?: GetJournalsLimit | undefined;
|
|
15
25
|
/**
|
|
16
26
|
* ISO 8601 timestamp; only records modified after this date are returned
|
|
17
27
|
*/
|
|
@@ -56,6 +66,11 @@ export type GetJournalsResponse = {
|
|
|
56
66
|
rawData: GetJournalsRawData | null;
|
|
57
67
|
};
|
|
58
68
|
|
|
69
|
+
/** @internal */
|
|
70
|
+
export const GetJournalsLimit$outboundSchema: z.ZodMiniEnum<
|
|
71
|
+
typeof GetJournalsLimit
|
|
72
|
+
> = z.enum(GetJournalsLimit);
|
|
73
|
+
|
|
59
74
|
/** @internal */
|
|
60
75
|
export type GetJournalsRequest$Outbound = {
|
|
61
76
|
page?: number | undefined;
|
|
@@ -72,7 +87,7 @@ export const GetJournalsRequest$outboundSchema: z.ZodMiniType<
|
|
|
72
87
|
GetJournalsRequest
|
|
73
88
|
> = z.object({
|
|
74
89
|
page: z.optional(z.number()),
|
|
75
|
-
limit: z.optional(
|
|
90
|
+
limit: z.optional(GetJournalsLimit$outboundSchema),
|
|
76
91
|
lastModifiedAt: z.optional(z.string()),
|
|
77
92
|
environmentName: z.optional(z.string()),
|
|
78
93
|
companyId: z.optional(z.string()),
|
|
@@ -4,15 +4,25 @@
|
|
|
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 GetLineItemsLimit = {
|
|
14
|
+
Five: 5,
|
|
15
|
+
Ten: 10,
|
|
16
|
+
Twenty: 20,
|
|
17
|
+
Fifty: 50,
|
|
18
|
+
OneHundred: 100,
|
|
19
|
+
} as const;
|
|
20
|
+
export type GetLineItemsLimit = ClosedEnum<typeof GetLineItemsLimit>;
|
|
21
|
+
|
|
12
22
|
export type GetLineItemsRequest = {
|
|
13
23
|
invoiceId: string;
|
|
14
24
|
page?: number | undefined;
|
|
15
|
-
limit?:
|
|
25
|
+
limit?: GetLineItemsLimit | undefined;
|
|
16
26
|
/**
|
|
17
27
|
* ISO 8601 timestamp; only records modified after this date are returned
|
|
18
28
|
*/
|
|
@@ -57,6 +67,11 @@ export type GetLineItemsResponse = {
|
|
|
57
67
|
rawData: GetLineItemsRawData | null;
|
|
58
68
|
};
|
|
59
69
|
|
|
70
|
+
/** @internal */
|
|
71
|
+
export const GetLineItemsLimit$outboundSchema: z.ZodMiniEnum<
|
|
72
|
+
typeof GetLineItemsLimit
|
|
73
|
+
> = z.enum(GetLineItemsLimit);
|
|
74
|
+
|
|
60
75
|
/** @internal */
|
|
61
76
|
export type GetLineItemsRequest$Outbound = {
|
|
62
77
|
invoiceId: string;
|
|
@@ -75,7 +90,7 @@ export const GetLineItemsRequest$outboundSchema: z.ZodMiniType<
|
|
|
75
90
|
> = z.object({
|
|
76
91
|
invoiceId: z.string(),
|
|
77
92
|
page: z.optional(z.number()),
|
|
78
|
-
limit: z.optional(
|
|
93
|
+
limit: z.optional(GetLineItemsLimit$outboundSchema),
|
|
79
94
|
lastModifiedAt: z.optional(z.string()),
|
|
80
95
|
environmentName: z.optional(z.string()),
|
|
81
96
|
companyId: z.optional(z.string()),
|