@maesn/typescript-sdk 0.3.0 → 0.4.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 +41 -116
- package/esm/funcs/accounting-get-account.js +11 -1
- package/esm/funcs/accounting-get-account.js.map +1 -1
- package/esm/funcs/accounting-get-accounts.js +11 -1
- package/esm/funcs/accounting-get-accounts.js.map +1 -1
- package/esm/funcs/accounting-get-async-task-info.js +11 -1
- package/esm/funcs/accounting-get-async-task-info.js.map +1 -1
- package/esm/funcs/accounting-get-bank-account.js +11 -1
- package/esm/funcs/accounting-get-bank-account.js.map +1 -1
- package/esm/funcs/accounting-get-bank-accounts.js +11 -1
- package/esm/funcs/accounting-get-bank-accounts.js.map +1 -1
- package/esm/funcs/accounting-get-bill-document.js +11 -1
- package/esm/funcs/accounting-get-bill-document.js.map +1 -1
- package/esm/funcs/accounting-get-bill-line-items.js +11 -1
- package/esm/funcs/accounting-get-bill-line-items.js.map +1 -1
- package/esm/funcs/accounting-get-bill.js +11 -1
- package/esm/funcs/accounting-get-bill.js.map +1 -1
- package/esm/funcs/accounting-get-bills.js +11 -1
- package/esm/funcs/accounting-get-bills.js.map +1 -1
- package/esm/funcs/accounting-get-booking-proposal-document.js +11 -1
- package/esm/funcs/accounting-get-booking-proposal-document.js.map +1 -1
- package/esm/funcs/accounting-get-booking-proposal.js +11 -1
- package/esm/funcs/accounting-get-booking-proposal.js.map +1 -1
- package/esm/funcs/accounting-get-booking-proposals.js +11 -1
- package/esm/funcs/accounting-get-booking-proposals.js.map +1 -1
- package/esm/funcs/accounting-get-contact.js +11 -1
- package/esm/funcs/accounting-get-contact.js.map +1 -1
- package/esm/funcs/accounting-get-contacts.js +11 -1
- package/esm/funcs/accounting-get-contacts.js.map +1 -1
- package/esm/funcs/accounting-get-credit-note.js +11 -1
- package/esm/funcs/accounting-get-credit-note.js.map +1 -1
- package/esm/funcs/accounting-get-credit-notes.js +11 -1
- package/esm/funcs/accounting-get-credit-notes.js.map +1 -1
- package/esm/funcs/accounting-get-customer.js +11 -1
- package/esm/funcs/accounting-get-customer.js.map +1 -1
- package/esm/funcs/accounting-get-customers.js +11 -1
- package/esm/funcs/accounting-get-customers.js.map +1 -1
- package/esm/funcs/accounting-get-dimensions.js +11 -1
- package/esm/funcs/accounting-get-dimensions.js.map +1 -1
- package/esm/funcs/accounting-get-document-extensions.js +11 -1
- package/esm/funcs/accounting-get-document-extensions.js.map +1 -1
- package/esm/funcs/accounting-get-document-types.js +11 -1
- package/esm/funcs/accounting-get-document-types.js.map +1 -1
- package/esm/funcs/accounting-get-expense.js +11 -1
- package/esm/funcs/accounting-get-expense.js.map +1 -1
- package/esm/funcs/accounting-get-expenses.js +11 -1
- package/esm/funcs/accounting-get-expenses.js.map +1 -1
- package/esm/funcs/accounting-get-fiscal-year.js +11 -1
- package/esm/funcs/accounting-get-fiscal-year.js.map +1 -1
- package/esm/funcs/accounting-get-fiscal-years.js +11 -1
- package/esm/funcs/accounting-get-fiscal-years.js.map +1 -1
- package/esm/funcs/accounting-get-goods-receipt-line-item.js +11 -1
- package/esm/funcs/accounting-get-goods-receipt-line-item.js.map +1 -1
- package/esm/funcs/accounting-get-goods-receipt-line-items.js +11 -1
- package/esm/funcs/accounting-get-goods-receipt-line-items.js.map +1 -1
- package/esm/funcs/accounting-get-goods-receipt.js +11 -1
- package/esm/funcs/accounting-get-goods-receipt.js.map +1 -1
- package/esm/funcs/accounting-get-goods-receipts.js +11 -1
- package/esm/funcs/accounting-get-goods-receipts.js.map +1 -1
- package/esm/funcs/accounting-get-invoice-document.js +11 -1
- package/esm/funcs/accounting-get-invoice-document.js.map +1 -1
- package/esm/funcs/accounting-get-invoice.js +11 -1
- package/esm/funcs/accounting-get-invoice.js.map +1 -1
- package/esm/funcs/accounting-get-invoices.js +11 -1
- package/esm/funcs/accounting-get-invoices.js.map +1 -1
- package/esm/funcs/accounting-get-item.js +11 -1
- package/esm/funcs/accounting-get-item.js.map +1 -1
- package/esm/funcs/accounting-get-items.js +11 -1
- package/esm/funcs/accounting-get-items.js.map +1 -1
- package/esm/funcs/accounting-get-journal-entries.js +11 -1
- package/esm/funcs/accounting-get-journal-entries.js.map +1 -1
- package/esm/funcs/accounting-get-journal-entry-attachment-by-id.js +11 -1
- package/esm/funcs/accounting-get-journal-entry-attachment-by-id.js.map +1 -1
- package/esm/funcs/accounting-get-journal-entry-attachments.js +11 -1
- package/esm/funcs/accounting-get-journal-entry-attachments.js.map +1 -1
- package/esm/funcs/accounting-get-journal-entry.js +11 -1
- package/esm/funcs/accounting-get-journal-entry.js.map +1 -1
- package/esm/funcs/accounting-get-journals.js +11 -1
- package/esm/funcs/accounting-get-journals.js.map +1 -1
- package/esm/funcs/accounting-get-line-item.js +11 -1
- package/esm/funcs/accounting-get-line-item.js.map +1 -1
- package/esm/funcs/accounting-get-line-items.js +11 -1
- package/esm/funcs/accounting-get-line-items.js.map +1 -1
- package/esm/funcs/accounting-get-offer-document.js +11 -1
- package/esm/funcs/accounting-get-offer-document.js.map +1 -1
- package/esm/funcs/accounting-get-offer-line-item.js +11 -1
- package/esm/funcs/accounting-get-offer-line-item.js.map +1 -1
- package/esm/funcs/accounting-get-offer-line-items.js +11 -1
- package/esm/funcs/accounting-get-offer-line-items.js.map +1 -1
- package/esm/funcs/accounting-get-offer.js +11 -1
- package/esm/funcs/accounting-get-offer.js.map +1 -1
- package/esm/funcs/accounting-get-offers.js +11 -1
- package/esm/funcs/accounting-get-offers.js.map +1 -1
- package/esm/funcs/accounting-get-open-items.js +11 -1
- package/esm/funcs/accounting-get-open-items.js.map +1 -1
- package/esm/funcs/accounting-get-payment-term.js +11 -1
- package/esm/funcs/accounting-get-payment-term.js.map +1 -1
- package/esm/funcs/accounting-get-payment-terms.js +11 -1
- package/esm/funcs/accounting-get-payment-terms.js.map +1 -1
- package/esm/funcs/accounting-get-payment.js +11 -1
- package/esm/funcs/accounting-get-payment.js.map +1 -1
- package/esm/funcs/accounting-get-payments.js +11 -1
- package/esm/funcs/accounting-get-payments.js.map +1 -1
- package/esm/funcs/accounting-get-project.js +11 -1
- package/esm/funcs/accounting-get-project.js.map +1 -1
- package/esm/funcs/accounting-get-projects.js +11 -1
- package/esm/funcs/accounting-get-projects.js.map +1 -1
- package/esm/funcs/accounting-get-purchase-order-line-item.js +11 -1
- package/esm/funcs/accounting-get-purchase-order-line-item.js.map +1 -1
- package/esm/funcs/accounting-get-purchase-order-line-items.js +11 -1
- package/esm/funcs/accounting-get-purchase-order-line-items.js.map +1 -1
- package/esm/funcs/accounting-get-purchase-order.js +11 -1
- package/esm/funcs/accounting-get-purchase-order.js.map +1 -1
- package/esm/funcs/accounting-get-purchase-orders.js +11 -1
- package/esm/funcs/accounting-get-purchase-orders.js.map +1 -1
- package/esm/funcs/accounting-get-sales-order-lines.js +11 -1
- package/esm/funcs/accounting-get-sales-order-lines.js.map +1 -1
- package/esm/funcs/accounting-get-sales-order.js +11 -1
- package/esm/funcs/accounting-get-sales-order.js.map +1 -1
- package/esm/funcs/accounting-get-sales-orders.js +11 -1
- package/esm/funcs/accounting-get-sales-orders.js.map +1 -1
- package/esm/funcs/accounting-get-supplier.js +11 -1
- package/esm/funcs/accounting-get-supplier.js.map +1 -1
- package/esm/funcs/accounting-get-suppliers.js +11 -1
- package/esm/funcs/accounting-get-suppliers.js.map +1 -1
- package/esm/funcs/accounting-get-tax-rate.js +11 -1
- package/esm/funcs/accounting-get-tax-rate.js.map +1 -1
- package/esm/funcs/accounting-get-tax-rates.js +11 -1
- package/esm/funcs/accounting-get-tax-rates.js.map +1 -1
- package/esm/funcs/accounting-get-trial-balance.js +11 -1
- package/esm/funcs/accounting-get-trial-balance.js.map +1 -1
- package/esm/funcs/accounting-get-units.js +11 -1
- package/esm/funcs/accounting-get-units.js.map +1 -1
- package/esm/funcs/accounting-get-vendor-credits.js +11 -1
- package/esm/funcs/accounting-get-vendor-credits.js.map +1 -1
- package/esm/funcs/accounting-v2-get-contact-v2.js +11 -1
- package/esm/funcs/accounting-v2-get-contact-v2.js.map +1 -1
- package/esm/funcs/accounting-v2-get-contacts-v2.js +11 -1
- package/esm/funcs/accounting-v2-get-contacts-v2.js.map +1 -1
- package/esm/funcs/accounting-v2-get-dimensions-by-dimension.js +11 -1
- package/esm/funcs/accounting-v2-get-dimensions-by-dimension.js.map +1 -1
- package/esm/funcs/accounting-v2-get-dimensions-v2.js +11 -1
- package/esm/funcs/accounting-v2-get-dimensions-v2.js.map +1 -1
- package/esm/funcs/auth-get-companies.js +11 -1
- package/esm/funcs/auth-get-companies.js.map +1 -1
- package/esm/funcs/auth-get-environments.js +11 -1
- package/esm/funcs/auth-get-environments.js.map +1 -1
- package/esm/funcs/auth-system-login-url.js +11 -1
- package/esm/funcs/auth-system-login-url.js.map +1 -1
- package/esm/funcs/tenants-get-end-user-list.js +11 -1
- package/esm/funcs/tenants-get-end-user-list.js.map +1 -1
- package/esm/funcs/user-get-user-info.js +11 -1
- package/esm/funcs/user-get-user-info.js.map +1 -1
- package/esm/funcs/webhooks-get-webhooks.js +12 -2
- package/esm/funcs/webhooks-get-webhooks.js.map +1 -1
- package/esm/lib/config.d.ts +3 -3
- package/esm/lib/config.js +3 -3
- package/esm/models/errors/index.d.ts +0 -1
- package/esm/models/errors/index.d.ts.map +1 -1
- package/esm/models/errors/index.js +0 -1
- package/esm/models/errors/index.js.map +1 -1
- package/esm/models/index.d.ts +0 -7
- package/esm/models/index.d.ts.map +1 -1
- package/esm/models/index.js +0 -7
- package/esm/models/index.js.map +1 -1
- package/esm/models/operations/index.d.ts +0 -29
- package/esm/models/operations/index.d.ts.map +1 -1
- package/esm/models/operations/index.js +0 -29
- package/esm/models/operations/index.js.map +1 -1
- package/esm/sdk/accounting.d.ts +0 -7
- package/esm/sdk/accounting.d.ts.map +1 -1
- package/esm/sdk/accounting.js +0 -24
- package/esm/sdk/accounting.js.map +1 -1
- package/esm/sdk/auth.d.ts +0 -9
- package/esm/sdk/auth.d.ts.map +1 -1
- package/esm/sdk/auth.js +0 -36
- package/esm/sdk/auth.js.map +1 -1
- package/esm/sdk/sdk.d.ts +0 -6
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +0 -10
- package/esm/sdk/sdk.js.map +1 -1
- package/esm/sdk/tenants.d.ts +0 -11
- package/esm/sdk/tenants.d.ts.map +1 -1
- package/esm/sdk/tenants.js +0 -44
- package/esm/sdk/tenants.js.map +1 -1
- package/esm/sdk/webhooks.d.ts +1 -7
- package/esm/sdk/webhooks.d.ts.map +1 -1
- package/esm/sdk/webhooks.js +3 -23
- package/esm/sdk/webhooks.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/accounting-get-account.ts +11 -1
- package/src/funcs/accounting-get-accounts.ts +11 -1
- package/src/funcs/accounting-get-async-task-info.ts +11 -1
- package/src/funcs/accounting-get-bank-account.ts +11 -1
- package/src/funcs/accounting-get-bank-accounts.ts +11 -1
- package/src/funcs/accounting-get-bill-document.ts +11 -1
- package/src/funcs/accounting-get-bill-line-items.ts +11 -1
- package/src/funcs/accounting-get-bill.ts +11 -1
- package/src/funcs/accounting-get-bills.ts +11 -1
- package/src/funcs/accounting-get-booking-proposal-document.ts +11 -1
- package/src/funcs/accounting-get-booking-proposal.ts +11 -1
- package/src/funcs/accounting-get-booking-proposals.ts +11 -1
- package/src/funcs/accounting-get-contact.ts +11 -1
- package/src/funcs/accounting-get-contacts.ts +11 -1
- package/src/funcs/accounting-get-credit-note.ts +11 -1
- package/src/funcs/accounting-get-credit-notes.ts +11 -1
- package/src/funcs/accounting-get-customer.ts +11 -1
- package/src/funcs/accounting-get-customers.ts +11 -1
- package/src/funcs/accounting-get-dimensions.ts +11 -1
- package/src/funcs/accounting-get-document-extensions.ts +11 -1
- package/src/funcs/accounting-get-document-types.ts +11 -1
- package/src/funcs/accounting-get-expense.ts +11 -1
- package/src/funcs/accounting-get-expenses.ts +11 -1
- package/src/funcs/accounting-get-fiscal-year.ts +11 -1
- package/src/funcs/accounting-get-fiscal-years.ts +11 -1
- package/src/funcs/accounting-get-goods-receipt-line-item.ts +11 -1
- package/src/funcs/accounting-get-goods-receipt-line-items.ts +11 -1
- package/src/funcs/accounting-get-goods-receipt.ts +11 -1
- package/src/funcs/accounting-get-goods-receipts.ts +11 -1
- package/src/funcs/accounting-get-invoice-document.ts +11 -1
- package/src/funcs/accounting-get-invoice.ts +11 -1
- package/src/funcs/accounting-get-invoices.ts +11 -1
- package/src/funcs/accounting-get-item.ts +11 -1
- package/src/funcs/accounting-get-items.ts +11 -1
- package/src/funcs/accounting-get-journal-entries.ts +11 -1
- package/src/funcs/accounting-get-journal-entry-attachment-by-id.ts +11 -1
- package/src/funcs/accounting-get-journal-entry-attachments.ts +11 -1
- package/src/funcs/accounting-get-journal-entry.ts +11 -1
- package/src/funcs/accounting-get-journals.ts +11 -1
- package/src/funcs/accounting-get-line-item.ts +11 -1
- package/src/funcs/accounting-get-line-items.ts +11 -1
- package/src/funcs/accounting-get-offer-document.ts +11 -1
- package/src/funcs/accounting-get-offer-line-item.ts +11 -1
- package/src/funcs/accounting-get-offer-line-items.ts +11 -1
- package/src/funcs/accounting-get-offer.ts +11 -1
- package/src/funcs/accounting-get-offers.ts +11 -1
- package/src/funcs/accounting-get-open-items.ts +11 -1
- package/src/funcs/accounting-get-payment-term.ts +11 -1
- package/src/funcs/accounting-get-payment-terms.ts +11 -1
- package/src/funcs/accounting-get-payment.ts +11 -1
- package/src/funcs/accounting-get-payments.ts +11 -1
- package/src/funcs/accounting-get-project.ts +11 -1
- package/src/funcs/accounting-get-projects.ts +11 -1
- package/src/funcs/accounting-get-purchase-order-line-item.ts +11 -1
- package/src/funcs/accounting-get-purchase-order-line-items.ts +11 -1
- package/src/funcs/accounting-get-purchase-order.ts +11 -1
- package/src/funcs/accounting-get-purchase-orders.ts +11 -1
- package/src/funcs/accounting-get-sales-order-lines.ts +11 -1
- package/src/funcs/accounting-get-sales-order.ts +11 -1
- package/src/funcs/accounting-get-sales-orders.ts +11 -1
- package/src/funcs/accounting-get-supplier.ts +11 -1
- package/src/funcs/accounting-get-suppliers.ts +11 -1
- package/src/funcs/accounting-get-tax-rate.ts +11 -1
- package/src/funcs/accounting-get-tax-rates.ts +11 -1
- package/src/funcs/accounting-get-trial-balance.ts +11 -1
- package/src/funcs/accounting-get-units.ts +11 -1
- package/src/funcs/accounting-get-vendor-credits.ts +11 -1
- package/src/funcs/accounting-v2-get-contact-v2.ts +11 -1
- package/src/funcs/accounting-v2-get-contacts-v2.ts +11 -1
- package/src/funcs/accounting-v2-get-dimensions-by-dimension.ts +11 -1
- package/src/funcs/accounting-v2-get-dimensions-v2.ts +11 -1
- package/src/funcs/auth-get-companies.ts +11 -1
- package/src/funcs/auth-get-environments.ts +11 -1
- package/src/funcs/auth-system-login-url.ts +11 -1
- package/src/funcs/tenants-get-end-user-list.ts +11 -1
- package/src/funcs/user-get-user-info.ts +11 -1
- package/src/funcs/webhooks-get-webhooks.ts +12 -2
- package/src/lib/config.ts +3 -3
- package/src/models/errors/index.ts +0 -1
- package/src/models/index.ts +0 -7
- package/src/models/operations/index.ts +0 -29
- package/src/sdk/accounting.ts +0 -71
- package/src/sdk/auth.ts +0 -104
- package/src/sdk/sdk.ts +0 -12
- package/src/sdk/tenants.ts +0 -116
- package/src/sdk/webhooks.ts +8 -69
- package/esm/funcs/accounting-create-bookings.d.ts +0 -11
- package/esm/funcs/accounting-create-bookings.d.ts.map +0 -1
- package/esm/funcs/accounting-create-bookings.js +0 -76
- package/esm/funcs/accounting-create-bookings.js.map +0 -1
- package/esm/funcs/accounting-create-contacts-v1.d.ts +0 -11
- package/esm/funcs/accounting-create-contacts-v1.d.ts.map +0 -1
- package/esm/funcs/accounting-create-contacts-v1.js +0 -76
- package/esm/funcs/accounting-create-contacts-v1.js.map +0 -1
- package/esm/funcs/accounting-create-event-subscriptions.d.ts +0 -12
- package/esm/funcs/accounting-create-event-subscriptions.d.ts.map +0 -1
- package/esm/funcs/accounting-create-event-subscriptions.js +0 -77
- package/esm/funcs/accounting-create-event-subscriptions.js.map +0 -1
- package/esm/funcs/accounting-delete-event-subscriptions.d.ts +0 -12
- package/esm/funcs/accounting-delete-event-subscriptions.d.ts.map +0 -1
- package/esm/funcs/accounting-delete-event-subscriptions.js +0 -79
- package/esm/funcs/accounting-delete-event-subscriptions.js.map +0 -1
- package/esm/funcs/accounting-get-profile.d.ts +0 -11
- package/esm/funcs/accounting-get-profile.d.ts.map +0 -1
- package/esm/funcs/accounting-get-profile.js +0 -61
- package/esm/funcs/accounting-get-profile.js.map +0 -1
- package/esm/funcs/accounting-patch-line-item.d.ts +0 -11
- package/esm/funcs/accounting-patch-line-item.d.ts.map +0 -1
- package/esm/funcs/accounting-patch-line-item.js +0 -87
- package/esm/funcs/accounting-patch-line-item.js.map +0 -1
- package/esm/funcs/auth-api-key-confirmation.d.ts +0 -11
- package/esm/funcs/auth-api-key-confirmation.d.ts.map +0 -1
- package/esm/funcs/auth-api-key-confirmation.js +0 -61
- package/esm/funcs/auth-api-key-confirmation.js.map +0 -1
- package/esm/funcs/auth-callback.d.ts +0 -11
- package/esm/funcs/auth-callback.d.ts.map +0 -1
- package/esm/funcs/auth-callback.js +0 -84
- package/esm/funcs/auth-callback.js.map +0 -1
- package/esm/funcs/auth-cancel.d.ts +0 -11
- package/esm/funcs/auth-cancel.d.ts.map +0 -1
- package/esm/funcs/auth-cancel.js +0 -61
- package/esm/funcs/auth-cancel.js.map +0 -1
- package/esm/funcs/auth-get-companies-flow.d.ts +0 -11
- package/esm/funcs/auth-get-companies-flow.d.ts.map +0 -1
- package/esm/funcs/auth-get-companies-flow.js +0 -75
- package/esm/funcs/auth-get-companies-flow.js.map +0 -1
- package/esm/funcs/auth-get-environment-page.d.ts +0 -11
- package/esm/funcs/auth-get-environment-page.d.ts.map +0 -1
- package/esm/funcs/auth-get-environment-page.js +0 -76
- package/esm/funcs/auth-get-environment-page.js.map +0 -1
- package/esm/funcs/auth-get-submit-page.d.ts +0 -11
- package/esm/funcs/auth-get-submit-page.d.ts.map +0 -1
- package/esm/funcs/auth-get-submit-page.js +0 -75
- package/esm/funcs/auth-get-submit-page.js.map +0 -1
- package/esm/funcs/auth-long-token.d.ts +0 -11
- package/esm/funcs/auth-long-token.d.ts.map +0 -1
- package/esm/funcs/auth-long-token.js +0 -78
- package/esm/funcs/auth-long-token.js.map +0 -1
- package/esm/funcs/auth-set-end-user-selections.d.ts +0 -11
- package/esm/funcs/auth-set-end-user-selections.d.ts.map +0 -1
- package/esm/funcs/auth-set-end-user-selections.js +0 -77
- package/esm/funcs/auth-set-end-user-selections.js.map +0 -1
- package/esm/funcs/auth-test.d.ts +0 -11
- package/esm/funcs/auth-test.d.ts.map +0 -1
- package/esm/funcs/auth-test.js +0 -75
- package/esm/funcs/auth-test.js.map +0 -1
- package/esm/funcs/events-get-code.d.ts +0 -11
- package/esm/funcs/events-get-code.d.ts.map +0 -1
- package/esm/funcs/events-get-code.js +0 -77
- package/esm/funcs/events-get-code.js.map +0 -1
- package/esm/funcs/events-handle-callback.d.ts +0 -11
- package/esm/funcs/events-handle-callback.d.ts.map +0 -1
- package/esm/funcs/events-handle-callback.js +0 -77
- package/esm/funcs/events-handle-callback.js.map +0 -1
- package/esm/funcs/events-handle-configuration-callback.d.ts +0 -11
- package/esm/funcs/events-handle-configuration-callback.d.ts.map +0 -1
- package/esm/funcs/events-handle-configuration-callback.js +0 -77
- package/esm/funcs/events-handle-configuration-callback.js.map +0 -1
- package/esm/funcs/health-check.d.ts +0 -17
- package/esm/funcs/health-check.d.ts.map +0 -1
- package/esm/funcs/health-check.js +0 -67
- package/esm/funcs/health-check.js.map +0 -1
- package/esm/funcs/health-details.d.ts +0 -18
- package/esm/funcs/health-details.d.ts.map +0 -1
- package/esm/funcs/health-details.js +0 -71
- package/esm/funcs/health-details.js.map +0 -1
- package/esm/funcs/tenants-count-end-users-by-system.d.ts +0 -11
- package/esm/funcs/tenants-count-end-users-by-system.d.ts.map +0 -1
- package/esm/funcs/tenants-count-end-users-by-system.js +0 -61
- package/esm/funcs/tenants-count-end-users-by-system.js.map +0 -1
- package/esm/funcs/tenants-delete-registered-system.d.ts +0 -11
- package/esm/funcs/tenants-delete-registered-system.d.ts.map +0 -1
- package/esm/funcs/tenants-delete-registered-system.js +0 -78
- package/esm/funcs/tenants-delete-registered-system.js.map +0 -1
- package/esm/funcs/tenants-get-all-active-end-users.d.ts +0 -11
- package/esm/funcs/tenants-get-all-active-end-users.d.ts.map +0 -1
- package/esm/funcs/tenants-get-all-active-end-users.js +0 -61
- package/esm/funcs/tenants-get-all-active-end-users.js.map +0 -1
- package/esm/funcs/tenants-get-callback-url.d.ts +0 -11
- package/esm/funcs/tenants-get-callback-url.d.ts.map +0 -1
- package/esm/funcs/tenants-get-callback-url.js +0 -61
- package/esm/funcs/tenants-get-callback-url.js.map +0 -1
- package/esm/funcs/tenants-get-registered-systems-masked.d.ts +0 -11
- package/esm/funcs/tenants-get-registered-systems-masked.d.ts.map +0 -1
- package/esm/funcs/tenants-get-registered-systems-masked.js +0 -61
- package/esm/funcs/tenants-get-registered-systems-masked.js.map +0 -1
- package/esm/funcs/tenants-get-registered-systems.d.ts +0 -11
- package/esm/funcs/tenants-get-registered-systems.d.ts.map +0 -1
- package/esm/funcs/tenants-get-registered-systems.js +0 -61
- package/esm/funcs/tenants-get-registered-systems.js.map +0 -1
- package/esm/funcs/tenants-get-submission-page-style-by-key.d.ts +0 -11
- package/esm/funcs/tenants-get-submission-page-style-by-key.d.ts.map +0 -1
- package/esm/funcs/tenants-get-submission-page-style-by-key.js +0 -61
- package/esm/funcs/tenants-get-submission-page-style-by-key.js.map +0 -1
- package/esm/funcs/tenants-get-submission-page-style.d.ts +0 -11
- package/esm/funcs/tenants-get-submission-page-style.d.ts.map +0 -1
- package/esm/funcs/tenants-get-submission-page-style.js +0 -75
- package/esm/funcs/tenants-get-submission-page-style.js.map +0 -1
- package/esm/funcs/tenants-get-target-system-requirements.d.ts +0 -11
- package/esm/funcs/tenants-get-target-system-requirements.d.ts.map +0 -1
- package/esm/funcs/tenants-get-target-system-requirements.js +0 -61
- package/esm/funcs/tenants-get-target-system-requirements.js.map +0 -1
- package/esm/funcs/tenants-get-target-system-values.d.ts +0 -11
- package/esm/funcs/tenants-get-target-system-values.d.ts.map +0 -1
- package/esm/funcs/tenants-get-target-system-values.js +0 -61
- package/esm/funcs/tenants-get-target-system-values.js.map +0 -1
- package/esm/funcs/tenants-update-submission-page-style.d.ts +0 -12
- package/esm/funcs/tenants-update-submission-page-style.d.ts.map +0 -1
- package/esm/funcs/tenants-update-submission-page-style.js +0 -73
- package/esm/funcs/tenants-update-submission-page-style.js.map +0 -1
- package/esm/funcs/webhooks-create-web-hook-tenant.d.ts +0 -12
- package/esm/funcs/webhooks-create-web-hook-tenant.d.ts.map +0 -1
- package/esm/funcs/webhooks-create-web-hook-tenant.js +0 -73
- package/esm/funcs/webhooks-create-web-hook-tenant.js.map +0 -1
- package/esm/funcs/webhooks-create-webhook-config.d.ts +0 -12
- package/esm/funcs/webhooks-create-webhook-config.d.ts.map +0 -1
- package/esm/funcs/webhooks-create-webhook-config.js +0 -73
- package/esm/funcs/webhooks-create-webhook-config.js.map +0 -1
- package/esm/funcs/webhooks-create-webhook-end-user.d.ts +0 -11
- package/esm/funcs/webhooks-create-webhook-end-user.d.ts.map +0 -1
- package/esm/funcs/webhooks-create-webhook-end-user.js +0 -77
- package/esm/funcs/webhooks-create-webhook-end-user.js.map +0 -1
- package/esm/funcs/webhooks-delete-webhook-end-user.d.ts +0 -11
- package/esm/funcs/webhooks-delete-webhook-end-user.d.ts.map +0 -1
- package/esm/funcs/webhooks-delete-webhook-end-user.js +0 -82
- package/esm/funcs/webhooks-delete-webhook-end-user.js.map +0 -1
- package/esm/funcs/webhooks-delete-webhook-tenant.d.ts +0 -11
- package/esm/funcs/webhooks-delete-webhook-tenant.d.ts.map +0 -1
- package/esm/funcs/webhooks-delete-webhook-tenant.js +0 -78
- package/esm/funcs/webhooks-delete-webhook-tenant.js.map +0 -1
- package/esm/models/booking-entry-request-dto.d.ts +0 -216
- package/esm/models/booking-entry-request-dto.d.ts.map +0 -1
- package/esm/models/booking-entry-request-dto.js +0 -199
- package/esm/models/booking-entry-request-dto.js.map +0 -1
- package/esm/models/booking-entry-response-dto.d.ts +0 -202
- package/esm/models/booking-entry-response-dto.d.ts.map +0 -1
- package/esm/models/booking-entry-response-dto.js +0 -203
- package/esm/models/booking-entry-response-dto.js.map +0 -1
- package/esm/models/bookings-response-dto.d.ts +0 -28
- package/esm/models/bookings-response-dto.d.ts.map +0 -1
- package/esm/models/bookings-response-dto.js +0 -31
- package/esm/models/bookings-response-dto.js.map +0 -1
- package/esm/models/create-bookings-request-dto.d.ts +0 -30
- package/esm/models/create-bookings-request-dto.d.ts.map +0 -1
- package/esm/models/create-bookings-request-dto.js +0 -25
- package/esm/models/create-bookings-request-dto.js.map +0 -1
- package/esm/models/create-event-subscription-request-dto.d.ts +0 -14
- package/esm/models/create-event-subscription-request-dto.d.ts.map +0 -1
- package/esm/models/create-event-subscription-request-dto.js +0 -13
- package/esm/models/create-event-subscription-request-dto.js.map +0 -1
- package/esm/models/errors/details.d.ts +0 -43
- package/esm/models/errors/details.d.ts.map +0 -1
- package/esm/models/errors/details.js +0 -51
- package/esm/models/errors/details.js.map +0 -1
- package/esm/models/operations/api-key-confirmation.d.ts +0 -13
- package/esm/models/operations/api-key-confirmation.d.ts.map +0 -1
- package/esm/models/operations/api-key-confirmation.js +0 -14
- package/esm/models/operations/api-key-confirmation.js.map +0 -1
- package/esm/models/operations/callback.d.ts +0 -43
- package/esm/models/operations/callback.d.ts.map +0 -1
- package/esm/models/operations/callback.js +0 -30
- package/esm/models/operations/callback.js.map +0 -1
- package/esm/models/operations/cancel.d.ts +0 -13
- package/esm/models/operations/cancel.d.ts.map +0 -1
- package/esm/models/operations/cancel.js +0 -14
- package/esm/models/operations/cancel.js.map +0 -1
- package/esm/models/operations/check.d.ts +0 -11
- package/esm/models/operations/check.d.ts.map +0 -1
- package/esm/models/operations/check.js +0 -11
- package/esm/models/operations/check.js.map +0 -1
- package/esm/models/operations/create-bookings.d.ts +0 -56
- package/esm/models/operations/create-bookings.d.ts.map +0 -1
- package/esm/models/operations/create-bookings.js +0 -54
- package/esm/models/operations/create-bookings.js.map +0 -1
- package/esm/models/operations/create-contacts-v1.d.ts +0 -56
- package/esm/models/operations/create-contacts-v1.d.ts.map +0 -1
- package/esm/models/operations/create-contacts-v1.js +0 -54
- package/esm/models/operations/create-contacts-v1.js.map +0 -1
- package/esm/models/operations/create-event-subscriptions.d.ts +0 -18
- package/esm/models/operations/create-event-subscriptions.d.ts.map +0 -1
- package/esm/models/operations/create-event-subscriptions.js +0 -14
- package/esm/models/operations/create-event-subscriptions.js.map +0 -1
- package/esm/models/operations/create-web-hook-tenant.d.ts +0 -41
- package/esm/models/operations/create-web-hook-tenant.d.ts.map +0 -1
- package/esm/models/operations/create-web-hook-tenant.js +0 -46
- package/esm/models/operations/create-web-hook-tenant.js.map +0 -1
- package/esm/models/operations/create-webhook-config.d.ts +0 -41
- package/esm/models/operations/create-webhook-config.d.ts.map +0 -1
- package/esm/models/operations/create-webhook-config.js +0 -46
- package/esm/models/operations/create-webhook-config.js.map +0 -1
- package/esm/models/operations/create-webhook-end-user.d.ts +0 -61
- package/esm/models/operations/create-webhook-end-user.d.ts.map +0 -1
- package/esm/models/operations/create-webhook-end-user.js +0 -55
- package/esm/models/operations/create-webhook-end-user.js.map +0 -1
- package/esm/models/operations/delete-event-subscriptions.d.ts +0 -17
- package/esm/models/operations/delete-event-subscriptions.d.ts.map +0 -1
- package/esm/models/operations/delete-event-subscriptions.js +0 -13
- package/esm/models/operations/delete-event-subscriptions.js.map +0 -1
- package/esm/models/operations/delete-registered-system.d.ts +0 -12
- package/esm/models/operations/delete-registered-system.d.ts.map +0 -1
- package/esm/models/operations/delete-registered-system.js +0 -12
- package/esm/models/operations/delete-registered-system.js.map +0 -1
- package/esm/models/operations/delete-webhook-end-user.d.ts +0 -31
- package/esm/models/operations/delete-webhook-end-user.d.ts.map +0 -1
- package/esm/models/operations/delete-webhook-end-user.js +0 -20
- package/esm/models/operations/delete-webhook-end-user.js.map +0 -1
- package/esm/models/operations/delete-webhook-tenant.d.ts +0 -12
- package/esm/models/operations/delete-webhook-tenant.d.ts.map +0 -1
- package/esm/models/operations/delete-webhook-tenant.js +0 -12
- package/esm/models/operations/delete-webhook-tenant.js.map +0 -1
- package/esm/models/operations/details.d.ts +0 -32
- package/esm/models/operations/details.d.ts.map +0 -1
- package/esm/models/operations/details.js +0 -34
- package/esm/models/operations/details.js.map +0 -1
- package/esm/models/operations/get-all-active-end-users.d.ts +0 -11
- package/esm/models/operations/get-all-active-end-users.d.ts.map +0 -1
- package/esm/models/operations/get-all-active-end-users.js +0 -11
- package/esm/models/operations/get-all-active-end-users.js.map +0 -1
- package/esm/models/operations/get-code.d.ts +0 -21
- package/esm/models/operations/get-code.d.ts.map +0 -1
- package/esm/models/operations/get-code.js +0 -18
- package/esm/models/operations/get-code.js.map +0 -1
- package/esm/models/operations/get-companies-flow.d.ts +0 -54
- package/esm/models/operations/get-companies-flow.d.ts.map +0 -1
- package/esm/models/operations/get-companies-flow.js +0 -53
- package/esm/models/operations/get-companies-flow.js.map +0 -1
- package/esm/models/operations/get-environment-page.d.ts +0 -29
- package/esm/models/operations/get-environment-page.d.ts.map +0 -1
- package/esm/models/operations/get-environment-page.js +0 -19
- package/esm/models/operations/get-environment-page.js.map +0 -1
- package/esm/models/operations/get-submission-page-style-by-key.d.ts +0 -11
- package/esm/models/operations/get-submission-page-style-by-key.d.ts.map +0 -1
- package/esm/models/operations/get-submission-page-style-by-key.js +0 -11
- package/esm/models/operations/get-submission-page-style-by-key.js.map +0 -1
- package/esm/models/operations/get-submission-page-style.d.ts +0 -24
- package/esm/models/operations/get-submission-page-style.d.ts.map +0 -1
- package/esm/models/operations/get-submission-page-style.js +0 -18
- package/esm/models/operations/get-submission-page-style.js.map +0 -1
- package/esm/models/operations/get-submit-page.d.ts +0 -26
- package/esm/models/operations/get-submit-page.d.ts.map +0 -1
- package/esm/models/operations/get-submit-page.js +0 -21
- package/esm/models/operations/get-submit-page.js.map +0 -1
- package/esm/models/operations/handle-callback.d.ts +0 -21
- package/esm/models/operations/handle-callback.d.ts.map +0 -1
- package/esm/models/operations/handle-callback.js +0 -18
- package/esm/models/operations/handle-callback.js.map +0 -1
- package/esm/models/operations/handle-configuration-callback.d.ts +0 -21
- package/esm/models/operations/handle-configuration-callback.d.ts.map +0 -1
- package/esm/models/operations/handle-configuration-callback.js +0 -18
- package/esm/models/operations/handle-configuration-callback.js.map +0 -1
- package/esm/models/operations/long-token.d.ts +0 -25
- package/esm/models/operations/long-token.d.ts.map +0 -1
- package/esm/models/operations/long-token.js +0 -14
- package/esm/models/operations/long-token.js.map +0 -1
- package/esm/models/operations/patch-line-item.d.ts +0 -65
- package/esm/models/operations/patch-line-item.d.ts.map +0 -1
- package/esm/models/operations/patch-line-item.js +0 -57
- package/esm/models/operations/patch-line-item.js.map +0 -1
- package/esm/models/operations/set-end-user-selections.d.ts +0 -36
- package/esm/models/operations/set-end-user-selections.d.ts.map +0 -1
- package/esm/models/operations/set-end-user-selections.js +0 -23
- package/esm/models/operations/set-end-user-selections.js.map +0 -1
- package/esm/models/operations/test.d.ts +0 -26
- package/esm/models/operations/test.d.ts.map +0 -1
- package/esm/models/operations/test.js +0 -21
- package/esm/models/operations/test.js.map +0 -1
- package/esm/models/operations/update-submission-page-style.d.ts +0 -11
- package/esm/models/operations/update-submission-page-style.d.ts.map +0 -1
- package/esm/models/operations/update-submission-page-style.js +0 -11
- package/esm/models/operations/update-submission-page-style.js.map +0 -1
- package/esm/models/patch-line-item-request-dto.d.ts +0 -46
- package/esm/models/patch-line-item-request-dto.d.ts.map +0 -1
- package/esm/models/patch-line-item-request-dto.js +0 -32
- package/esm/models/patch-line-item-request-dto.js.map +0 -1
- package/esm/models/submission-page-style-dto.d.ts +0 -28
- package/esm/models/submission-page-style-dto.d.ts.map +0 -1
- package/esm/models/submission-page-style-dto.js +0 -20
- package/esm/models/submission-page-style-dto.js.map +0 -1
- package/esm/sdk/events.d.ts +0 -8
- package/esm/sdk/events.d.ts.map +0 -1
- package/esm/sdk/events.js +0 -20
- package/esm/sdk/events.js.map +0 -1
- package/esm/sdk/health.d.ts +0 -19
- package/esm/sdk/health.d.ts.map +0 -1
- package/esm/sdk/health.js +0 -28
- package/esm/sdk/health.js.map +0 -1
- package/src/funcs/accounting-create-bookings.ts +0 -159
- package/src/funcs/accounting-create-contacts-v1.ts +0 -160
- package/src/funcs/accounting-create-event-subscriptions.ts +0 -161
- package/src/funcs/accounting-delete-event-subscriptions.ts +0 -169
- package/src/funcs/accounting-get-profile.ts +0 -135
- package/src/funcs/accounting-patch-line-item.ts +0 -172
- package/src/funcs/auth-api-key-confirmation.ts +0 -135
- package/src/funcs/auth-callback.ts +0 -167
- package/src/funcs/auth-cancel.ts +0 -135
- package/src/funcs/auth-get-companies-flow.ts +0 -162
- package/src/funcs/auth-get-environment-page.ts +0 -160
- package/src/funcs/auth-get-submit-page.ts +0 -158
- package/src/funcs/auth-long-token.ts +0 -161
- package/src/funcs/auth-set-end-user-selections.ts +0 -161
- package/src/funcs/auth-test.ts +0 -158
- package/src/funcs/events-get-code.ts +0 -159
- package/src/funcs/events-handle-callback.ts +0 -159
- package/src/funcs/events-handle-configuration-callback.ts +0 -163
- package/src/funcs/health-check.ts +0 -141
- package/src/funcs/health-details.ts +0 -150
- package/src/funcs/tenants-count-end-users-by-system.ts +0 -135
- package/src/funcs/tenants-delete-registered-system.ts +0 -163
- package/src/funcs/tenants-get-all-active-end-users.ts +0 -135
- package/src/funcs/tenants-get-callback-url.ts +0 -135
- package/src/funcs/tenants-get-registered-systems-masked.ts +0 -135
- package/src/funcs/tenants-get-registered-systems.ts +0 -135
- package/src/funcs/tenants-get-submission-page-style-by-key.ts +0 -135
- package/src/funcs/tenants-get-submission-page-style.ts +0 -159
- package/src/funcs/tenants-get-target-system-requirements.ts +0 -135
- package/src/funcs/tenants-get-target-system-values.ts +0 -135
- package/src/funcs/tenants-update-submission-page-style.ts +0 -155
- package/src/funcs/webhooks-create-web-hook-tenant.ts +0 -156
- package/src/funcs/webhooks-create-webhook-config.ts +0 -156
- package/src/funcs/webhooks-create-webhook-end-user.ts +0 -161
- package/src/funcs/webhooks-delete-webhook-end-user.ts +0 -166
- package/src/funcs/webhooks-delete-webhook-tenant.ts +0 -161
- package/src/models/booking-entry-request-dto.ts +0 -268
- package/src/models/booking-entry-response-dto.ts +0 -260
- package/src/models/bookings-response-dto.ts +0 -68
- package/src/models/create-bookings-request-dto.ts +0 -64
- package/src/models/create-event-subscription-request-dto.ts +0 -35
- package/src/models/errors/details.ts +0 -82
- package/src/models/operations/api-key-confirmation.ts +0 -34
- package/src/models/operations/callback.ts +0 -89
- package/src/models/operations/cancel.ts +0 -34
- package/src/models/operations/check.ts +0 -29
- package/src/models/operations/create-bookings.ts +0 -162
- package/src/models/operations/create-contacts-v1.ts +0 -164
- package/src/models/operations/create-event-subscriptions.ts +0 -39
- package/src/models/operations/create-web-hook-tenant.ts +0 -135
- package/src/models/operations/create-webhook-config.ts +0 -135
- package/src/models/operations/create-webhook-end-user.ts +0 -176
- package/src/models/operations/delete-event-subscriptions.ts +0 -38
- package/src/models/operations/delete-registered-system.ts +0 -32
- package/src/models/operations/delete-webhook-end-user.ts +0 -68
- package/src/models/operations/delete-webhook-tenant.ts +0 -30
- package/src/models/operations/details.ts +0 -100
- package/src/models/operations/get-all-active-end-users.ts +0 -29
- package/src/models/operations/get-code.ts +0 -50
- package/src/models/operations/get-companies-flow.ts +0 -161
- package/src/models/operations/get-environment-page.ts +0 -63
- package/src/models/operations/get-submission-page-style-by-key.ts +0 -30
- package/src/models/operations/get-submission-page-style.ts +0 -59
- package/src/models/operations/get-submit-page.ts +0 -62
- package/src/models/operations/handle-callback.ts +0 -54
- package/src/models/operations/handle-configuration-callback.ts +0 -57
- package/src/models/operations/long-token.ts +0 -45
- package/src/models/operations/patch-line-item.ts +0 -174
- package/src/models/operations/set-end-user-selections.ts +0 -76
- package/src/models/operations/test.ts +0 -56
- package/src/models/operations/update-submission-page-style.ts +0 -29
- package/src/models/patch-line-item-request-dto.ts +0 -82
- package/src/models/submission-page-style-dto.ts +0 -54
- package/src/sdk/events.ts +0 -45
- package/src/sdk/health.ts +0 -41
|
@@ -81,7 +81,7 @@ async function $do(
|
|
|
81
81
|
const payload = parsed.value;
|
|
82
82
|
const body = null;
|
|
83
83
|
|
|
84
|
-
const path = pathToFunc("
|
|
84
|
+
const path = pathToFunc("/")();
|
|
85
85
|
|
|
86
86
|
const query = encodeFormQuery({
|
|
87
87
|
"companyId": payload?.companyId,
|
|
@@ -107,8 +107,18 @@ async function $do(
|
|
|
107
107
|
securitySource: client._options.security,
|
|
108
108
|
retryConfig: options?.retries
|
|
109
109
|
|| client._options.retryConfig
|
|
110
|
+
|| {
|
|
111
|
+
strategy: "backoff",
|
|
112
|
+
backoff: {
|
|
113
|
+
initialInterval: 500,
|
|
114
|
+
maxInterval: 60000,
|
|
115
|
+
exponent: 1.5,
|
|
116
|
+
maxElapsedTime: 3600000,
|
|
117
|
+
},
|
|
118
|
+
retryConnectionErrors: true,
|
|
119
|
+
}
|
|
110
120
|
|| { strategy: "none" },
|
|
111
|
-
retryCodes: options?.retryCodes || ["
|
|
121
|
+
retryCodes: options?.retryCodes || ["5XX"],
|
|
112
122
|
};
|
|
113
123
|
|
|
114
124
|
const requestRes = client._createRequest(context, {
|
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.
|
|
51
|
-
genVersion: "2.879.
|
|
52
|
-
userAgent: "speakeasy-sdk/typescript 0.
|
|
50
|
+
sdkVersion: "0.4.0",
|
|
51
|
+
genVersion: "2.879.6",
|
|
52
|
+
userAgent: "speakeasy-sdk/typescript 0.4.0 2.879.6 1.0 @maesn/typescript-sdk",
|
|
53
53
|
} as const;
|
package/src/models/index.ts
CHANGED
|
@@ -16,8 +16,6 @@ export * from "./bill-dimension-request-dto.js";
|
|
|
16
16
|
export * from "./bill-dimension-response-dto.js";
|
|
17
17
|
export * from "./bill-line-item-response-dto.js";
|
|
18
18
|
export * from "./bill-response-dto.js";
|
|
19
|
-
export * from "./booking-entry-request-dto.js";
|
|
20
|
-
export * from "./booking-entry-response-dto.js";
|
|
21
19
|
export * from "./booking-proposal-address-request-dto-v2.js";
|
|
22
20
|
export * from "./booking-proposal-address-response-dto-v2.js";
|
|
23
21
|
export * from "./booking-proposal-address.js";
|
|
@@ -25,7 +23,6 @@ export * from "./booking-proposal-line-item-request-dto-v2.js";
|
|
|
25
23
|
export * from "./booking-proposal-line-item-response-dto-v2.js";
|
|
26
24
|
export * from "./booking-proposal-response-dto-v2.js";
|
|
27
25
|
export * from "./booking-proposal-response-dto.js";
|
|
28
|
-
export * from "./bookings-response-dto.js";
|
|
29
26
|
export * from "./callback-url-registration-dto.js";
|
|
30
27
|
export * from "./company-response-dto.js";
|
|
31
28
|
export * from "./contact-address-v2.js";
|
|
@@ -45,7 +42,6 @@ export * from "./create-bill-line-item-request-dto.js";
|
|
|
45
42
|
export * from "./create-bill-request-dto.js";
|
|
46
43
|
export * from "./create-booking-proposal-request-dto-v2.js";
|
|
47
44
|
export * from "./create-booking-proposal-request-dto.js";
|
|
48
|
-
export * from "./create-bookings-request-dto.js";
|
|
49
45
|
export * from "./create-contact-address-v2.js";
|
|
50
46
|
export * from "./create-contact-address.js";
|
|
51
47
|
export * from "./create-contact-by-batch-meta-data-dto.js";
|
|
@@ -55,7 +51,6 @@ export * from "./create-contact-request-dto-v2.js";
|
|
|
55
51
|
export * from "./create-contact-request-dto.js";
|
|
56
52
|
export * from "./create-email-address.js";
|
|
57
53
|
export * from "./create-end-user-request-dto.js";
|
|
58
|
-
export * from "./create-event-subscription-request-dto.js";
|
|
59
54
|
export * from "./create-expense-dto.js";
|
|
60
55
|
export * from "./create-invoice-request-dto.js";
|
|
61
56
|
export * from "./create-item-request-dto.js";
|
|
@@ -122,7 +117,6 @@ export * from "./patch-contact-person.js";
|
|
|
122
117
|
export * from "./patch-contact-request-dto.js";
|
|
123
118
|
export * from "./patch-invoice-request-dto.js";
|
|
124
119
|
export * from "./patch-item-request-dto.js";
|
|
125
|
-
export * from "./patch-line-item-request-dto.js";
|
|
126
120
|
export * from "./patch-line-item-request.js";
|
|
127
121
|
export * from "./payment-line.js";
|
|
128
122
|
export * from "./payment-response-dto.js";
|
|
@@ -135,7 +129,6 @@ export * from "./purchase-order-response-dto.js";
|
|
|
135
129
|
export * from "./sales-order-line-item-response-dto.js";
|
|
136
130
|
export * from "./sales-order-response-dto.js";
|
|
137
131
|
export * from "./security.js";
|
|
138
|
-
export * from "./submission-page-style-dto.js";
|
|
139
132
|
export * from "./subscription.js";
|
|
140
133
|
export * from "./system-registration-dto.js";
|
|
141
134
|
export * from "./tax-rate-input.js";
|
|
@@ -2,24 +2,17 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
export * from "./api-key-confirmation.js";
|
|
6
|
-
export * from "./callback.js";
|
|
7
|
-
export * from "./cancel.js";
|
|
8
|
-
export * from "./check.js";
|
|
9
5
|
export * from "./create-account.js";
|
|
10
6
|
export * from "./create-bank-account.js";
|
|
11
7
|
export * from "./create-bill-line-item.js";
|
|
12
8
|
export * from "./create-bill.js";
|
|
13
9
|
export * from "./create-booking-proposal-v2.js";
|
|
14
10
|
export * from "./create-booking-proposal.js";
|
|
15
|
-
export * from "./create-bookings.js";
|
|
16
11
|
export * from "./create-contact-v2.js";
|
|
17
12
|
export * from "./create-contact.js";
|
|
18
|
-
export * from "./create-contacts-v1.js";
|
|
19
13
|
export * from "./create-contacts.js";
|
|
20
14
|
export * from "./create-customer.js";
|
|
21
15
|
export * from "./create-end-user-account.js";
|
|
22
|
-
export * from "./create-event-subscriptions.js";
|
|
23
16
|
export * from "./create-expense.js";
|
|
24
17
|
export * from "./create-invoice.js";
|
|
25
18
|
export * from "./create-item.js";
|
|
@@ -36,23 +29,14 @@ export * from "./create-sales-order.js";
|
|
|
36
29
|
export * from "./create-supplier.js";
|
|
37
30
|
export * from "./create-transaction.js";
|
|
38
31
|
export * from "./create-vendor-credit.js";
|
|
39
|
-
export * from "./create-web-hook-tenant.js";
|
|
40
|
-
export * from "./create-webhook-config.js";
|
|
41
|
-
export * from "./create-webhook-end-user.js";
|
|
42
32
|
export * from "./create-webhook.js";
|
|
43
33
|
export * from "./delete-bill.js";
|
|
44
34
|
export * from "./delete-end-user.js";
|
|
45
|
-
export * from "./delete-event-subscriptions.js";
|
|
46
35
|
export * from "./delete-payment.js";
|
|
47
|
-
export * from "./delete-registered-system.js";
|
|
48
36
|
export * from "./delete-vendor-credit.js";
|
|
49
|
-
export * from "./delete-webhook-end-user.js";
|
|
50
|
-
export * from "./delete-webhook-tenant.js";
|
|
51
37
|
export * from "./delete-webhook.js";
|
|
52
|
-
export * from "./details.js";
|
|
53
38
|
export * from "./get-account.js";
|
|
54
39
|
export * from "./get-accounts.js";
|
|
55
|
-
export * from "./get-all-active-end-users.js";
|
|
56
40
|
export * from "./get-async-task-info.js";
|
|
57
41
|
export * from "./get-bank-account.js";
|
|
58
42
|
export * from "./get-bank-accounts.js";
|
|
@@ -63,8 +47,6 @@ export * from "./get-bills.js";
|
|
|
63
47
|
export * from "./get-booking-proposal-document.js";
|
|
64
48
|
export * from "./get-booking-proposal.js";
|
|
65
49
|
export * from "./get-booking-proposals.js";
|
|
66
|
-
export * from "./get-code.js";
|
|
67
|
-
export * from "./get-companies-flow.js";
|
|
68
50
|
export * from "./get-companies.js";
|
|
69
51
|
export * from "./get-contact-v2.js";
|
|
70
52
|
export * from "./get-contact.js";
|
|
@@ -79,7 +61,6 @@ export * from "./get-dimensions-v2.js";
|
|
|
79
61
|
export * from "./get-dimensions.js";
|
|
80
62
|
export * from "./get-document-extensions.js";
|
|
81
63
|
export * from "./get-document-types.js";
|
|
82
|
-
export * from "./get-environment-page.js";
|
|
83
64
|
export * from "./get-environments.js";
|
|
84
65
|
export * from "./get-expense.js";
|
|
85
66
|
export * from "./get-expenses.js";
|
|
@@ -120,9 +101,6 @@ export * from "./get-purchase-orders.js";
|
|
|
120
101
|
export * from "./get-sales-order-lines.js";
|
|
121
102
|
export * from "./get-sales-order.js";
|
|
122
103
|
export * from "./get-sales-orders.js";
|
|
123
|
-
export * from "./get-submission-page-style-by-key.js";
|
|
124
|
-
export * from "./get-submission-page-style.js";
|
|
125
|
-
export * from "./get-submit-page.js";
|
|
126
104
|
export * from "./get-supplier.js";
|
|
127
105
|
export * from "./get-suppliers.js";
|
|
128
106
|
export * from "./get-tax-rate.js";
|
|
@@ -132,25 +110,18 @@ export * from "./get-units.js";
|
|
|
132
110
|
export * from "./get-user-info.js";
|
|
133
111
|
export * from "./get-vendor-credits.js";
|
|
134
112
|
export * from "./get-webhooks.js";
|
|
135
|
-
export * from "./handle-callback.js";
|
|
136
|
-
export * from "./handle-configuration-callback.js";
|
|
137
|
-
export * from "./long-token.js";
|
|
138
113
|
export * from "./patch-contact-v2.js";
|
|
139
114
|
export * from "./patch-contact.js";
|
|
140
115
|
export * from "./patch-customers.js";
|
|
141
116
|
export * from "./patch-invoice.js";
|
|
142
117
|
export * from "./patch-item.js";
|
|
143
|
-
export * from "./patch-line-item.js";
|
|
144
118
|
export * from "./patch-supplier.js";
|
|
145
119
|
export * from "./post-file.js";
|
|
146
120
|
export * from "./put-contact-v2.js";
|
|
147
121
|
export * from "./put-contact.js";
|
|
148
|
-
export * from "./set-end-user-selections.js";
|
|
149
122
|
export * from "./system-login-url.js";
|
|
150
|
-
export * from "./test.js";
|
|
151
123
|
export * from "./update-bill-line-item.js";
|
|
152
124
|
export * from "./update-bill.js";
|
|
153
125
|
export * from "./update-customer.js";
|
|
154
|
-
export * from "./update-submission-page-style.js";
|
|
155
126
|
export * from "./update-supplier.js";
|
|
156
127
|
export * from "./update-vendor-credit.js";
|
package/src/sdk/accounting.ts
CHANGED
|
@@ -7,12 +7,9 @@ import { accountingCreateBankAccount } from "../funcs/accounting-create-bank-acc
|
|
|
7
7
|
import { accountingCreateBillLineItem } from "../funcs/accounting-create-bill-line-item.js";
|
|
8
8
|
import { accountingCreateBill } from "../funcs/accounting-create-bill.js";
|
|
9
9
|
import { accountingCreateBookingProposal } from "../funcs/accounting-create-booking-proposal.js";
|
|
10
|
-
import { accountingCreateBookings } from "../funcs/accounting-create-bookings.js";
|
|
11
10
|
import { accountingCreateContact } from "../funcs/accounting-create-contact.js";
|
|
12
|
-
import { accountingCreateContactsV1 } from "../funcs/accounting-create-contacts-v1.js";
|
|
13
11
|
import { accountingCreateContacts } from "../funcs/accounting-create-contacts.js";
|
|
14
12
|
import { accountingCreateCustomer } from "../funcs/accounting-create-customer.js";
|
|
15
|
-
import { accountingCreateEventSubscriptions } from "../funcs/accounting-create-event-subscriptions.js";
|
|
16
13
|
import { accountingCreateExpense } from "../funcs/accounting-create-expense.js";
|
|
17
14
|
import { accountingCreateInvoice } from "../funcs/accounting-create-invoice.js";
|
|
18
15
|
import { accountingCreateItem } from "../funcs/accounting-create-item.js";
|
|
@@ -30,7 +27,6 @@ import { accountingCreateSupplier } from "../funcs/accounting-create-supplier.js
|
|
|
30
27
|
import { accountingCreateTransaction } from "../funcs/accounting-create-transaction.js";
|
|
31
28
|
import { accountingCreateVendorCredit } from "../funcs/accounting-create-vendor-credit.js";
|
|
32
29
|
import { accountingDeleteBill } from "../funcs/accounting-delete-bill.js";
|
|
33
|
-
import { accountingDeleteEventSubscriptions } from "../funcs/accounting-delete-event-subscriptions.js";
|
|
34
30
|
import { accountingDeletePayment } from "../funcs/accounting-delete-payment.js";
|
|
35
31
|
import { accountingDeleteVendorCredit } from "../funcs/accounting-delete-vendor-credit.js";
|
|
36
32
|
import { accountingGetAccount } from "../funcs/accounting-get-account.js";
|
|
@@ -84,7 +80,6 @@ import { accountingGetPaymentTerm } from "../funcs/accounting-get-payment-term.j
|
|
|
84
80
|
import { accountingGetPaymentTerms } from "../funcs/accounting-get-payment-terms.js";
|
|
85
81
|
import { accountingGetPayment } from "../funcs/accounting-get-payment.js";
|
|
86
82
|
import { accountingGetPayments } from "../funcs/accounting-get-payments.js";
|
|
87
|
-
import { accountingGetProfile } from "../funcs/accounting-get-profile.js";
|
|
88
83
|
import { accountingGetProject } from "../funcs/accounting-get-project.js";
|
|
89
84
|
import { accountingGetProjects } from "../funcs/accounting-get-projects.js";
|
|
90
85
|
import { accountingGetPurchaseOrderLineItem } from "../funcs/accounting-get-purchase-order-line-item.js";
|
|
@@ -105,7 +100,6 @@ import { accountingPatchContact } from "../funcs/accounting-patch-contact.js";
|
|
|
105
100
|
import { accountingPatchCustomers } from "../funcs/accounting-patch-customers.js";
|
|
106
101
|
import { accountingPatchInvoice } from "../funcs/accounting-patch-invoice.js";
|
|
107
102
|
import { accountingPatchItem } from "../funcs/accounting-patch-item.js";
|
|
108
|
-
import { accountingPatchLineItem } from "../funcs/accounting-patch-line-item.js";
|
|
109
103
|
import { accountingPatchSupplier } from "../funcs/accounting-patch-supplier.js";
|
|
110
104
|
import { accountingPostFile } from "../funcs/accounting-post-file.js";
|
|
111
105
|
import { accountingPutContact } from "../funcs/accounting-put-contact.js";
|
|
@@ -115,7 +109,6 @@ import { accountingUpdateCustomer } from "../funcs/accounting-update-customer.js
|
|
|
115
109
|
import { accountingUpdateSupplier } from "../funcs/accounting-update-supplier.js";
|
|
116
110
|
import { accountingUpdateVendorCredit } from "../funcs/accounting-update-vendor-credit.js";
|
|
117
111
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
118
|
-
import * as models from "../models/index.js";
|
|
119
112
|
import * as operations from "../models/operations/index.js";
|
|
120
113
|
import { unwrapAsync } from "../types/fp.js";
|
|
121
114
|
|
|
@@ -384,17 +377,6 @@ export class Accounting extends ClientSDK {
|
|
|
384
377
|
));
|
|
385
378
|
}
|
|
386
379
|
|
|
387
|
-
async createContactsV1(
|
|
388
|
-
request: operations.CreateContactsV1Request,
|
|
389
|
-
options?: RequestOptions,
|
|
390
|
-
): Promise<operations.CreateContactsV1Response> {
|
|
391
|
-
return unwrapAsync(accountingCreateContactsV1(
|
|
392
|
-
this,
|
|
393
|
-
request,
|
|
394
|
-
options,
|
|
395
|
-
));
|
|
396
|
-
}
|
|
397
|
-
|
|
398
380
|
async getInvoices(
|
|
399
381
|
request?: operations.GetInvoicesRequest | undefined,
|
|
400
382
|
options?: RequestOptions,
|
|
@@ -571,17 +553,6 @@ export class Accounting extends ClientSDK {
|
|
|
571
553
|
));
|
|
572
554
|
}
|
|
573
555
|
|
|
574
|
-
async patchLineItem(
|
|
575
|
-
request: operations.PatchLineItemRequest,
|
|
576
|
-
options?: RequestOptions,
|
|
577
|
-
): Promise<operations.PatchLineItemResponse> {
|
|
578
|
-
return unwrapAsync(accountingPatchLineItem(
|
|
579
|
-
this,
|
|
580
|
-
request,
|
|
581
|
-
options,
|
|
582
|
-
));
|
|
583
|
-
}
|
|
584
|
-
|
|
585
556
|
async getJournals(
|
|
586
557
|
request?: operations.GetJournalsRequest | undefined,
|
|
587
558
|
options?: RequestOptions,
|
|
@@ -945,37 +916,6 @@ export class Accounting extends ClientSDK {
|
|
|
945
916
|
));
|
|
946
917
|
}
|
|
947
918
|
|
|
948
|
-
async createEventSubscriptions(
|
|
949
|
-
request: operations.CreateEventSubscriptionsRequest,
|
|
950
|
-
options?: RequestOptions,
|
|
951
|
-
): Promise<models.BaseResponseDto> {
|
|
952
|
-
return unwrapAsync(accountingCreateEventSubscriptions(
|
|
953
|
-
this,
|
|
954
|
-
request,
|
|
955
|
-
options,
|
|
956
|
-
));
|
|
957
|
-
}
|
|
958
|
-
|
|
959
|
-
async deleteEventSubscriptions(
|
|
960
|
-
request: operations.DeleteEventSubscriptionsRequest,
|
|
961
|
-
options?: RequestOptions,
|
|
962
|
-
): Promise<models.BaseResponseDto> {
|
|
963
|
-
return unwrapAsync(accountingDeleteEventSubscriptions(
|
|
964
|
-
this,
|
|
965
|
-
request,
|
|
966
|
-
options,
|
|
967
|
-
));
|
|
968
|
-
}
|
|
969
|
-
|
|
970
|
-
async getProfile(
|
|
971
|
-
options?: RequestOptions,
|
|
972
|
-
): Promise<models.BaseResponseDto> {
|
|
973
|
-
return unwrapAsync(accountingGetProfile(
|
|
974
|
-
this,
|
|
975
|
-
options,
|
|
976
|
-
));
|
|
977
|
-
}
|
|
978
|
-
|
|
979
919
|
async createPassThroughRequest(
|
|
980
920
|
request: operations.CreatePassThroughRequestRequest,
|
|
981
921
|
options?: RequestOptions,
|
|
@@ -1097,17 +1037,6 @@ export class Accounting extends ClientSDK {
|
|
|
1097
1037
|
));
|
|
1098
1038
|
}
|
|
1099
1039
|
|
|
1100
|
-
async createBookings(
|
|
1101
|
-
request: operations.CreateBookingsRequest,
|
|
1102
|
-
options?: RequestOptions,
|
|
1103
|
-
): Promise<operations.CreateBookingsResponse> {
|
|
1104
|
-
return unwrapAsync(accountingCreateBookings(
|
|
1105
|
-
this,
|
|
1106
|
-
request,
|
|
1107
|
-
options,
|
|
1108
|
-
));
|
|
1109
|
-
}
|
|
1110
|
-
|
|
1111
1040
|
async getVendorCredits(
|
|
1112
1041
|
request?: operations.GetVendorCreditsRequest | undefined,
|
|
1113
1042
|
options?: RequestOptions,
|
package/src/sdk/auth.ts
CHANGED
|
@@ -2,19 +2,10 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import { authApiKeyConfirmation } from "../funcs/auth-api-key-confirmation.js";
|
|
6
|
-
import { authCallback } from "../funcs/auth-callback.js";
|
|
7
|
-
import { authCancel } from "../funcs/auth-cancel.js";
|
|
8
5
|
import { authCreateEndUserAccount } from "../funcs/auth-create-end-user-account.js";
|
|
9
|
-
import { authGetCompaniesFlow } from "../funcs/auth-get-companies-flow.js";
|
|
10
6
|
import { authGetCompanies } from "../funcs/auth-get-companies.js";
|
|
11
|
-
import { authGetEnvironmentPage } from "../funcs/auth-get-environment-page.js";
|
|
12
7
|
import { authGetEnvironments } from "../funcs/auth-get-environments.js";
|
|
13
|
-
import { authGetSubmitPage } from "../funcs/auth-get-submit-page.js";
|
|
14
|
-
import { authLongToken } from "../funcs/auth-long-token.js";
|
|
15
|
-
import { authSetEndUserSelections } from "../funcs/auth-set-end-user-selections.js";
|
|
16
8
|
import { authSystemLoginUrl } from "../funcs/auth-system-login-url.js";
|
|
17
|
-
import { authTest } from "../funcs/auth-test.js";
|
|
18
9
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
19
10
|
import * as operations from "../models/operations/index.js";
|
|
20
11
|
import { unwrapAsync } from "../types/fp.js";
|
|
@@ -40,90 +31,6 @@ export class Auth extends ClientSDK {
|
|
|
40
31
|
));
|
|
41
32
|
}
|
|
42
33
|
|
|
43
|
-
async getCompaniesFlow(
|
|
44
|
-
request?: operations.GetCompaniesFlowRequest | undefined,
|
|
45
|
-
options?: RequestOptions,
|
|
46
|
-
): Promise<operations.GetCompaniesFlowResponse> {
|
|
47
|
-
return unwrapAsync(authGetCompaniesFlow(
|
|
48
|
-
this,
|
|
49
|
-
request,
|
|
50
|
-
options,
|
|
51
|
-
));
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
async getSubmitPage(
|
|
55
|
-
request: operations.GetSubmitPageRequest,
|
|
56
|
-
options?: RequestOptions,
|
|
57
|
-
): Promise<operations.GetSubmitPageResponse> {
|
|
58
|
-
return unwrapAsync(authGetSubmitPage(
|
|
59
|
-
this,
|
|
60
|
-
request,
|
|
61
|
-
options,
|
|
62
|
-
));
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
async apiKeyConfirmation(
|
|
66
|
-
options?: RequestOptions,
|
|
67
|
-
): Promise<operations.ApiKeyConfirmationResponse> {
|
|
68
|
-
return unwrapAsync(authApiKeyConfirmation(
|
|
69
|
-
this,
|
|
70
|
-
options,
|
|
71
|
-
));
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
async cancel(
|
|
75
|
-
options?: RequestOptions,
|
|
76
|
-
): Promise<operations.CancelResponse> {
|
|
77
|
-
return unwrapAsync(authCancel(
|
|
78
|
-
this,
|
|
79
|
-
options,
|
|
80
|
-
));
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
async test(
|
|
84
|
-
request: operations.TestRequest,
|
|
85
|
-
options?: RequestOptions,
|
|
86
|
-
): Promise<operations.TestResponse> {
|
|
87
|
-
return unwrapAsync(authTest(
|
|
88
|
-
this,
|
|
89
|
-
request,
|
|
90
|
-
options,
|
|
91
|
-
));
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
async longToken(
|
|
95
|
-
request: operations.LongTokenRequest,
|
|
96
|
-
options?: RequestOptions,
|
|
97
|
-
): Promise<string> {
|
|
98
|
-
return unwrapAsync(authLongToken(
|
|
99
|
-
this,
|
|
100
|
-
request,
|
|
101
|
-
options,
|
|
102
|
-
));
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
async getEnvironmentPage(
|
|
106
|
-
request: operations.GetEnvironmentPageRequest,
|
|
107
|
-
options?: RequestOptions,
|
|
108
|
-
): Promise<operations.GetEnvironmentPageResponse> {
|
|
109
|
-
return unwrapAsync(authGetEnvironmentPage(
|
|
110
|
-
this,
|
|
111
|
-
request,
|
|
112
|
-
options,
|
|
113
|
-
));
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
async setEndUserSelections(
|
|
117
|
-
request: operations.SetEndUserSelectionsRequest,
|
|
118
|
-
options?: RequestOptions,
|
|
119
|
-
): Promise<operations.SetEndUserSelectionsResponse> {
|
|
120
|
-
return unwrapAsync(authSetEndUserSelections(
|
|
121
|
-
this,
|
|
122
|
-
request,
|
|
123
|
-
options,
|
|
124
|
-
));
|
|
125
|
-
}
|
|
126
|
-
|
|
127
34
|
async systemLoginUrl(
|
|
128
35
|
request: operations.SystemLoginUrlRequest,
|
|
129
36
|
options?: RequestOptions,
|
|
@@ -135,17 +42,6 @@ export class Auth extends ClientSDK {
|
|
|
135
42
|
));
|
|
136
43
|
}
|
|
137
44
|
|
|
138
|
-
async callback(
|
|
139
|
-
request: operations.CallbackRequest,
|
|
140
|
-
options?: RequestOptions,
|
|
141
|
-
): Promise<operations.CallbackResponse> {
|
|
142
|
-
return unwrapAsync(authCallback(
|
|
143
|
-
this,
|
|
144
|
-
request,
|
|
145
|
-
options,
|
|
146
|
-
));
|
|
147
|
-
}
|
|
148
|
-
|
|
149
45
|
async createEndUserAccount(
|
|
150
46
|
request: operations.CreateEndUserAccountRequest,
|
|
151
47
|
options?: RequestOptions,
|
package/src/sdk/sdk.ts
CHANGED
|
@@ -6,8 +6,6 @@ import { ClientSDK } from "../lib/sdks.js";
|
|
|
6
6
|
import { AccountingV2 } from "./accounting-v2.js";
|
|
7
7
|
import { Accounting } from "./accounting.js";
|
|
8
8
|
import { Auth } from "./auth.js";
|
|
9
|
-
import { Events } from "./events.js";
|
|
10
|
-
import { Health } from "./health.js";
|
|
11
9
|
import { Tenants } from "./tenants.js";
|
|
12
10
|
import { User } from "./user.js";
|
|
13
11
|
import { Webhooks } from "./webhooks.js";
|
|
@@ -33,21 +31,11 @@ export class Maesn extends ClientSDK {
|
|
|
33
31
|
return (this._auth ??= new Auth(this._options));
|
|
34
32
|
}
|
|
35
33
|
|
|
36
|
-
private _events?: Events;
|
|
37
|
-
get events(): Events {
|
|
38
|
-
return (this._events ??= new Events(this._options));
|
|
39
|
-
}
|
|
40
|
-
|
|
41
34
|
private _webhooks?: Webhooks;
|
|
42
35
|
get webhooks(): Webhooks {
|
|
43
36
|
return (this._webhooks ??= new Webhooks(this._options));
|
|
44
37
|
}
|
|
45
38
|
|
|
46
|
-
private _health?: Health;
|
|
47
|
-
get health(): Health {
|
|
48
|
-
return (this._health ??= new Health(this._options));
|
|
49
|
-
}
|
|
50
|
-
|
|
51
39
|
private _tenants?: Tenants;
|
|
52
40
|
get tenants(): Tenants {
|
|
53
41
|
return (this._tenants ??= new Tenants(this._options));
|
package/src/sdk/tenants.ts
CHANGED
|
@@ -3,20 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import { tenantsAddCallbackUrl } from "../funcs/tenants-add-callback-url.js";
|
|
6
|
-
import { tenantsCountEndUsersBySystem } from "../funcs/tenants-count-end-users-by-system.js";
|
|
7
6
|
import { tenantsDeleteEndUser } from "../funcs/tenants-delete-end-user.js";
|
|
8
|
-
import { tenantsDeleteRegisteredSystem } from "../funcs/tenants-delete-registered-system.js";
|
|
9
|
-
import { tenantsGetAllActiveEndUsers } from "../funcs/tenants-get-all-active-end-users.js";
|
|
10
|
-
import { tenantsGetCallbackUrl } from "../funcs/tenants-get-callback-url.js";
|
|
11
7
|
import { tenantsGetEndUserList } from "../funcs/tenants-get-end-user-list.js";
|
|
12
|
-
import { tenantsGetRegisteredSystemsMasked } from "../funcs/tenants-get-registered-systems-masked.js";
|
|
13
|
-
import { tenantsGetRegisteredSystems } from "../funcs/tenants-get-registered-systems.js";
|
|
14
|
-
import { tenantsGetSubmissionPageStyleByKey } from "../funcs/tenants-get-submission-page-style-by-key.js";
|
|
15
|
-
import { tenantsGetSubmissionPageStyle } from "../funcs/tenants-get-submission-page-style.js";
|
|
16
|
-
import { tenantsGetTargetSystemRequirements } from "../funcs/tenants-get-target-system-requirements.js";
|
|
17
|
-
import { tenantsGetTargetSystemValues } from "../funcs/tenants-get-target-system-values.js";
|
|
18
8
|
import { tenantsSystemRegistration } from "../funcs/tenants-system-registration.js";
|
|
19
|
-
import { tenantsUpdateSubmissionPageStyle } from "../funcs/tenants-update-submission-page-style.js";
|
|
20
9
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
21
10
|
import * as models from "../models/index.js";
|
|
22
11
|
import * as operations from "../models/operations/index.js";
|
|
@@ -54,15 +43,6 @@ export class Tenants extends ClientSDK {
|
|
|
54
43
|
));
|
|
55
44
|
}
|
|
56
45
|
|
|
57
|
-
async countEndUsersBySystem(
|
|
58
|
-
options?: RequestOptions,
|
|
59
|
-
): Promise<models.BaseResponseDto> {
|
|
60
|
-
return unwrapAsync(tenantsCountEndUsersBySystem(
|
|
61
|
-
this,
|
|
62
|
-
options,
|
|
63
|
-
));
|
|
64
|
-
}
|
|
65
|
-
|
|
66
46
|
async deleteEndUser(
|
|
67
47
|
options?: RequestOptions,
|
|
68
48
|
): Promise<operations.DeleteEndUserResponse> {
|
|
@@ -71,100 +51,4 @@ export class Tenants extends ClientSDK {
|
|
|
71
51
|
options,
|
|
72
52
|
));
|
|
73
53
|
}
|
|
74
|
-
|
|
75
|
-
async getCallbackUrl(
|
|
76
|
-
options?: RequestOptions,
|
|
77
|
-
): Promise<models.BaseResponseDto> {
|
|
78
|
-
return unwrapAsync(tenantsGetCallbackUrl(
|
|
79
|
-
this,
|
|
80
|
-
options,
|
|
81
|
-
));
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
async getRegisteredSystems(
|
|
85
|
-
options?: RequestOptions,
|
|
86
|
-
): Promise<models.BaseResponseDto> {
|
|
87
|
-
return unwrapAsync(tenantsGetRegisteredSystems(
|
|
88
|
-
this,
|
|
89
|
-
options,
|
|
90
|
-
));
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
async getTargetSystemValues(
|
|
94
|
-
options?: RequestOptions,
|
|
95
|
-
): Promise<models.BaseResponseDto> {
|
|
96
|
-
return unwrapAsync(tenantsGetTargetSystemValues(
|
|
97
|
-
this,
|
|
98
|
-
options,
|
|
99
|
-
));
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
async getTargetSystemRequirements(
|
|
103
|
-
options?: RequestOptions,
|
|
104
|
-
): Promise<models.BaseResponseDto> {
|
|
105
|
-
return unwrapAsync(tenantsGetTargetSystemRequirements(
|
|
106
|
-
this,
|
|
107
|
-
options,
|
|
108
|
-
));
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
async getRegisteredSystemsMasked(
|
|
112
|
-
options?: RequestOptions,
|
|
113
|
-
): Promise<models.BaseResponseDto> {
|
|
114
|
-
return unwrapAsync(tenantsGetRegisteredSystemsMasked(
|
|
115
|
-
this,
|
|
116
|
-
options,
|
|
117
|
-
));
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
async deleteRegisteredSystem(
|
|
121
|
-
request: operations.DeleteRegisteredSystemRequest,
|
|
122
|
-
options?: RequestOptions,
|
|
123
|
-
): Promise<string> {
|
|
124
|
-
return unwrapAsync(tenantsDeleteRegisteredSystem(
|
|
125
|
-
this,
|
|
126
|
-
request,
|
|
127
|
-
options,
|
|
128
|
-
));
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
async getAllActiveEndUsers(
|
|
132
|
-
options?: RequestOptions,
|
|
133
|
-
): Promise<operations.GetAllActiveEndUsersResponse> {
|
|
134
|
-
return unwrapAsync(tenantsGetAllActiveEndUsers(
|
|
135
|
-
this,
|
|
136
|
-
options,
|
|
137
|
-
));
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
async getSubmissionPageStyle(
|
|
141
|
-
request: operations.GetSubmissionPageStyleRequest,
|
|
142
|
-
options?: RequestOptions,
|
|
143
|
-
): Promise<operations.GetSubmissionPageStyleResponse> {
|
|
144
|
-
return unwrapAsync(tenantsGetSubmissionPageStyle(
|
|
145
|
-
this,
|
|
146
|
-
request,
|
|
147
|
-
options,
|
|
148
|
-
));
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
async updateSubmissionPageStyle(
|
|
152
|
-
request: models.SubmissionPageStyleDto,
|
|
153
|
-
options?: RequestOptions,
|
|
154
|
-
): Promise<operations.UpdateSubmissionPageStyleResponse> {
|
|
155
|
-
return unwrapAsync(tenantsUpdateSubmissionPageStyle(
|
|
156
|
-
this,
|
|
157
|
-
request,
|
|
158
|
-
options,
|
|
159
|
-
));
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
async getSubmissionPageStyleByKey(
|
|
163
|
-
options?: RequestOptions,
|
|
164
|
-
): Promise<operations.GetSubmissionPageStyleByKeyResponse> {
|
|
165
|
-
return unwrapAsync(tenantsGetSubmissionPageStyleByKey(
|
|
166
|
-
this,
|
|
167
|
-
options,
|
|
168
|
-
));
|
|
169
|
-
}
|
|
170
54
|
}
|