@maesn/typescript-sdk 0.2.1 → 0.2.2
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 +15 -11
- package/esm/funcs/accounting-add-event-subscription.d.ts +2 -1
- package/esm/funcs/accounting-add-event-subscription.d.ts.map +1 -1
- package/esm/funcs/accounting-add-event-subscription.js +3 -2
- package/esm/funcs/accounting-add-event-subscription.js.map +1 -1
- package/esm/funcs/accounting-get-profile.d.ts +2 -1
- package/esm/funcs/accounting-get-profile.d.ts.map +1 -1
- package/esm/funcs/accounting-get-profile.js +3 -3
- package/esm/funcs/accounting-get-profile.js.map +1 -1
- package/esm/funcs/accounting-remove-bill.d.ts +1 -1
- package/esm/funcs/accounting-remove-bill.d.ts.map +1 -1
- package/esm/funcs/accounting-remove-bill.js +2 -2
- package/esm/funcs/accounting-remove-bill.js.map +1 -1
- package/esm/funcs/accounting-remove-event-subscription.d.ts +2 -1
- package/esm/funcs/accounting-remove-event-subscription.d.ts.map +1 -1
- package/esm/funcs/accounting-remove-event-subscription.js +3 -2
- package/esm/funcs/accounting-remove-event-subscription.js.map +1 -1
- package/esm/funcs/accounting-remove-payment.d.ts +1 -1
- package/esm/funcs/accounting-remove-payment.d.ts.map +1 -1
- package/esm/funcs/accounting-remove-payment.js +2 -2
- package/esm/funcs/accounting-remove-payment.js.map +1 -1
- package/esm/funcs/auth-api-key-confirmation.d.ts +2 -1
- package/esm/funcs/auth-api-key-confirmation.d.ts.map +1 -1
- package/esm/funcs/auth-api-key-confirmation.js +3 -3
- package/esm/funcs/auth-api-key-confirmation.js.map +1 -1
- package/esm/funcs/auth-callback.d.ts +1 -1
- package/esm/funcs/auth-callback.d.ts.map +1 -1
- package/esm/funcs/auth-callback.js +2 -2
- package/esm/funcs/auth-callback.js.map +1 -1
- package/esm/funcs/auth-cancel.d.ts +2 -1
- package/esm/funcs/auth-cancel.d.ts.map +1 -1
- package/esm/funcs/auth-cancel.js +3 -3
- package/esm/funcs/auth-cancel.js.map +1 -1
- package/esm/funcs/auth-create-end-user-account.d.ts +1 -1
- package/esm/funcs/auth-create-end-user-account.d.ts.map +1 -1
- package/esm/funcs/auth-create-end-user-account.js +2 -2
- package/esm/funcs/auth-create-end-user-account.js.map +1 -1
- package/esm/funcs/auth-get-environment-page.d.ts +1 -1
- package/esm/funcs/auth-get-environment-page.d.ts.map +1 -1
- package/esm/funcs/auth-get-environment-page.js +2 -2
- package/esm/funcs/auth-get-environment-page.js.map +1 -1
- package/esm/funcs/auth-get-submit-page.d.ts +1 -1
- package/esm/funcs/auth-get-submit-page.d.ts.map +1 -1
- package/esm/funcs/auth-get-submit-page.js +2 -2
- package/esm/funcs/auth-get-submit-page.js.map +1 -1
- package/esm/funcs/auth-long-token.d.ts +1 -1
- package/esm/funcs/auth-long-token.d.ts.map +1 -1
- package/esm/funcs/auth-long-token.js +7 -6
- package/esm/funcs/auth-long-token.js.map +1 -1
- package/esm/funcs/auth-set-end-user-selections.d.ts +1 -1
- package/esm/funcs/auth-set-end-user-selections.d.ts.map +1 -1
- package/esm/funcs/auth-set-end-user-selections.js +2 -2
- package/esm/funcs/auth-set-end-user-selections.js.map +1 -1
- package/esm/funcs/auth-system-login-url.d.ts +1 -1
- package/esm/funcs/auth-system-login-url.d.ts.map +1 -1
- package/esm/funcs/auth-system-login-url.js +3 -2
- package/esm/funcs/auth-system-login-url.js.map +1 -1
- package/esm/funcs/auth-test.d.ts +1 -1
- package/esm/funcs/auth-test.d.ts.map +1 -1
- package/esm/funcs/auth-test.js +2 -2
- package/esm/funcs/auth-test.js.map +1 -1
- package/esm/funcs/events-get-code.d.ts +1 -1
- package/esm/funcs/events-get-code.d.ts.map +1 -1
- package/esm/funcs/events-get-code.js +2 -2
- package/esm/funcs/events-get-code.js.map +1 -1
- package/esm/funcs/events-handle-callback.d.ts +1 -1
- package/esm/funcs/events-handle-callback.d.ts.map +1 -1
- package/esm/funcs/events-handle-callback.js +2 -2
- package/esm/funcs/events-handle-callback.js.map +1 -1
- package/esm/funcs/events-handle-configuration-callback.d.ts +1 -1
- package/esm/funcs/events-handle-configuration-callback.d.ts.map +1 -1
- package/esm/funcs/events-handle-configuration-callback.js +2 -2
- package/esm/funcs/events-handle-configuration-callback.js.map +1 -1
- package/esm/funcs/health-check.d.ts +2 -1
- package/esm/funcs/health-check.d.ts.map +1 -1
- package/esm/funcs/health-check.js +3 -3
- package/esm/funcs/health-check.js.map +1 -1
- package/esm/funcs/health-details.d.ts +2 -1
- package/esm/funcs/health-details.d.ts.map +1 -1
- package/esm/funcs/health-details.js +2 -2
- package/esm/funcs/health-details.js.map +1 -1
- package/esm/funcs/tenants-add-callback-url.d.ts +1 -1
- package/esm/funcs/tenants-add-callback-url.d.ts.map +1 -1
- package/esm/funcs/tenants-add-callback-url.js +3 -2
- package/esm/funcs/tenants-add-callback-url.js.map +1 -1
- package/esm/funcs/tenants-count-end-users-by-system.d.ts +2 -1
- package/esm/funcs/tenants-count-end-users-by-system.d.ts.map +1 -1
- package/esm/funcs/tenants-count-end-users-by-system.js +3 -3
- package/esm/funcs/tenants-count-end-users-by-system.js.map +1 -1
- package/esm/funcs/tenants-delete-end-user.d.ts +2 -1
- package/esm/funcs/tenants-delete-end-user.d.ts.map +1 -1
- package/esm/funcs/tenants-delete-end-user.js +3 -3
- package/esm/funcs/tenants-delete-end-user.js.map +1 -1
- package/esm/funcs/tenants-delete-registered-system.d.ts +1 -1
- package/esm/funcs/tenants-delete-registered-system.d.ts.map +1 -1
- package/esm/funcs/tenants-delete-registered-system.js +3 -2
- package/esm/funcs/tenants-delete-registered-system.js.map +1 -1
- package/esm/funcs/tenants-get-all-active-end-users.d.ts +2 -1
- package/esm/funcs/tenants-get-all-active-end-users.d.ts.map +1 -1
- package/esm/funcs/tenants-get-all-active-end-users.js +3 -3
- package/esm/funcs/tenants-get-all-active-end-users.js.map +1 -1
- package/esm/funcs/tenants-get-callback-url.d.ts +2 -1
- package/esm/funcs/tenants-get-callback-url.d.ts.map +1 -1
- package/esm/funcs/tenants-get-callback-url.js +3 -3
- package/esm/funcs/tenants-get-callback-url.js.map +1 -1
- package/esm/funcs/tenants-get-end-user-list.d.ts +2 -1
- package/esm/funcs/tenants-get-end-user-list.d.ts.map +1 -1
- package/esm/funcs/tenants-get-end-user-list.js +3 -3
- package/esm/funcs/tenants-get-end-user-list.js.map +1 -1
- package/esm/funcs/tenants-get-registered-systems-masked.d.ts +2 -1
- package/esm/funcs/tenants-get-registered-systems-masked.d.ts.map +1 -1
- package/esm/funcs/tenants-get-registered-systems-masked.js +3 -3
- package/esm/funcs/tenants-get-registered-systems-masked.js.map +1 -1
- package/esm/funcs/tenants-get-registered-systems.d.ts +2 -1
- package/esm/funcs/tenants-get-registered-systems.d.ts.map +1 -1
- package/esm/funcs/tenants-get-registered-systems.js +3 -3
- package/esm/funcs/tenants-get-registered-systems.js.map +1 -1
- package/esm/funcs/tenants-get-submission-page-style-by-key.d.ts +2 -1
- package/esm/funcs/tenants-get-submission-page-style-by-key.d.ts.map +1 -1
- package/esm/funcs/tenants-get-submission-page-style-by-key.js +3 -3
- package/esm/funcs/tenants-get-submission-page-style-by-key.js.map +1 -1
- package/esm/funcs/tenants-get-submission-page-style.d.ts +1 -1
- package/esm/funcs/tenants-get-submission-page-style.d.ts.map +1 -1
- package/esm/funcs/tenants-get-submission-page-style.js +2 -2
- package/esm/funcs/tenants-get-submission-page-style.js.map +1 -1
- package/esm/funcs/tenants-get-target-system-requirements.d.ts +2 -1
- package/esm/funcs/tenants-get-target-system-requirements.d.ts.map +1 -1
- package/esm/funcs/tenants-get-target-system-requirements.js +3 -3
- package/esm/funcs/tenants-get-target-system-requirements.js.map +1 -1
- package/esm/funcs/tenants-get-target-system-values.d.ts +2 -1
- package/esm/funcs/tenants-get-target-system-values.d.ts.map +1 -1
- package/esm/funcs/tenants-get-target-system-values.js +3 -3
- package/esm/funcs/tenants-get-target-system-values.js.map +1 -1
- package/esm/funcs/tenants-system-registration.d.ts +1 -1
- package/esm/funcs/tenants-system-registration.d.ts.map +1 -1
- package/esm/funcs/tenants-system-registration.js +3 -2
- package/esm/funcs/tenants-system-registration.js.map +1 -1
- package/esm/funcs/tenants-update-submission-page-style.d.ts +2 -1
- package/esm/funcs/tenants-update-submission-page-style.d.ts.map +1 -1
- package/esm/funcs/tenants-update-submission-page-style.js +3 -2
- package/esm/funcs/tenants-update-submission-page-style.js.map +1 -1
- package/esm/funcs/vendor-credits-delete.d.ts +1 -1
- package/esm/funcs/vendor-credits-delete.d.ts.map +1 -1
- package/esm/funcs/vendor-credits-delete.js +2 -2
- package/esm/funcs/vendor-credits-delete.js.map +1 -1
- package/esm/funcs/webhooks-create-web-hook-tenant.d.ts +2 -1
- package/esm/funcs/webhooks-create-web-hook-tenant.d.ts.map +1 -1
- package/esm/funcs/webhooks-create-web-hook-tenant.js +3 -2
- package/esm/funcs/webhooks-create-web-hook-tenant.js.map +1 -1
- package/esm/funcs/webhooks-create-webhook-config.d.ts +2 -1
- package/esm/funcs/webhooks-create-webhook-config.d.ts.map +1 -1
- package/esm/funcs/webhooks-create-webhook-config.js +3 -2
- package/esm/funcs/webhooks-create-webhook-config.js.map +1 -1
- package/esm/funcs/webhooks-create-webhook-end-user.d.ts +1 -1
- package/esm/funcs/webhooks-create-webhook-end-user.d.ts.map +1 -1
- package/esm/funcs/webhooks-create-webhook-end-user.js +2 -2
- package/esm/funcs/webhooks-create-webhook-end-user.js.map +1 -1
- package/esm/funcs/webhooks-create-webhook.d.ts +1 -1
- package/esm/funcs/webhooks-create-webhook.d.ts.map +1 -1
- package/esm/funcs/webhooks-create-webhook.js +2 -2
- package/esm/funcs/webhooks-create-webhook.js.map +1 -1
- package/esm/funcs/webhooks-delete-webhook-end-user.d.ts +1 -1
- package/esm/funcs/webhooks-delete-webhook-end-user.d.ts.map +1 -1
- package/esm/funcs/webhooks-delete-webhook-end-user.js +2 -2
- package/esm/funcs/webhooks-delete-webhook-end-user.js.map +1 -1
- package/esm/funcs/webhooks-delete-webhook-tenant.d.ts +1 -1
- package/esm/funcs/webhooks-delete-webhook-tenant.d.ts.map +1 -1
- package/esm/funcs/webhooks-delete-webhook-tenant.js +3 -2
- package/esm/funcs/webhooks-delete-webhook-tenant.js.map +1 -1
- package/esm/funcs/webhooks-delete-webhook.d.ts +1 -1
- package/esm/funcs/webhooks-delete-webhook.d.ts.map +1 -1
- package/esm/funcs/webhooks-delete-webhook.js +2 -2
- package/esm/funcs/webhooks-delete-webhook.js.map +1 -1
- package/esm/funcs/webhooks-get-webhooks.d.ts +1 -1
- package/esm/funcs/webhooks-get-webhooks.d.ts.map +1 -1
- package/esm/funcs/webhooks-get-webhooks.js +2 -2
- package/esm/funcs/webhooks-get-webhooks.js.map +1 -1
- package/esm/lib/config.d.ts +2 -2
- package/esm/lib/config.js +2 -2
- package/esm/models/base-response-dto.d.ts +41 -0
- package/esm/models/base-response-dto.d.ts.map +1 -0
- package/esm/models/base-response-dto.js +51 -0
- package/esm/models/base-response-dto.js.map +1 -0
- package/esm/models/company-response-dto.d.ts +2 -10
- package/esm/models/company-response-dto.d.ts.map +1 -1
- package/esm/models/company-response-dto.js +2 -11
- package/esm/models/company-response-dto.js.map +1 -1
- package/esm/models/index.d.ts +3 -0
- package/esm/models/index.d.ts.map +1 -1
- package/esm/models/index.js +3 -0
- package/esm/models/index.js.map +1 -1
- package/esm/models/operations/api-key-confirmation.d.ts +13 -0
- package/esm/models/operations/api-key-confirmation.d.ts.map +1 -0
- package/esm/models/operations/api-key-confirmation.js +14 -0
- package/esm/models/operations/api-key-confirmation.js.map +1 -0
- package/esm/models/operations/callback.d.ts +25 -2
- package/esm/models/operations/callback.d.ts.map +1 -1
- package/esm/models/operations/callback.js +10 -1
- package/esm/models/operations/callback.js.map +1 -1
- package/esm/models/operations/cancel.d.ts +13 -0
- package/esm/models/operations/cancel.d.ts.map +1 -0
- package/esm/models/operations/cancel.js +14 -0
- package/esm/models/operations/cancel.js.map +1 -0
- package/esm/models/operations/check.d.ts +11 -0
- package/esm/models/operations/check.d.ts.map +1 -0
- package/esm/models/operations/check.js +11 -0
- package/esm/models/operations/check.js.map +1 -0
- package/esm/models/operations/create-account.d.ts +9 -0
- package/esm/models/operations/create-account.d.ts.map +1 -1
- package/esm/models/operations/create-account.js.map +1 -1
- package/esm/models/operations/create-bank-account.d.ts +9 -0
- package/esm/models/operations/create-bank-account.d.ts.map +1 -1
- package/esm/models/operations/create-bank-account.js.map +1 -1
- package/esm/models/operations/create-bill-line-item.d.ts +6 -0
- package/esm/models/operations/create-bill-line-item.d.ts.map +1 -1
- package/esm/models/operations/create-bill-line-item.js.map +1 -1
- package/esm/models/operations/create-bill.d.ts +9 -0
- package/esm/models/operations/create-bill.d.ts.map +1 -1
- package/esm/models/operations/create-bill.js.map +1 -1
- package/esm/models/operations/create-booking-proposal-v2.d.ts +6 -0
- package/esm/models/operations/create-booking-proposal-v2.d.ts.map +1 -1
- package/esm/models/operations/create-booking-proposal-v2.js.map +1 -1
- package/esm/models/operations/create-booking-proposal.d.ts +6 -0
- package/esm/models/operations/create-booking-proposal.d.ts.map +1 -1
- package/esm/models/operations/create-booking-proposal.js.map +1 -1
- package/esm/models/operations/create-bookings.d.ts +6 -0
- package/esm/models/operations/create-bookings.d.ts.map +1 -1
- package/esm/models/operations/create-bookings.js.map +1 -1
- package/esm/models/operations/create-contact-v2.d.ts +9 -0
- package/esm/models/operations/create-contact-v2.d.ts.map +1 -1
- package/esm/models/operations/create-contact-v2.js.map +1 -1
- package/esm/models/operations/create-contact.d.ts +9 -0
- package/esm/models/operations/create-contact.d.ts.map +1 -1
- package/esm/models/operations/create-contact.js.map +1 -1
- package/esm/models/operations/create-contacts-v1.d.ts +6 -0
- package/esm/models/operations/create-contacts-v1.d.ts.map +1 -1
- package/esm/models/operations/create-contacts-v1.js.map +1 -1
- package/esm/models/operations/create-contacts.d.ts +6 -0
- package/esm/models/operations/create-contacts.d.ts.map +1 -1
- package/esm/models/operations/create-contacts.js.map +1 -1
- package/esm/models/operations/create-customer.d.ts +9 -0
- package/esm/models/operations/create-customer.d.ts.map +1 -1
- package/esm/models/operations/create-customer.js.map +1 -1
- package/esm/models/operations/create-end-user-account.d.ts +11 -0
- package/esm/models/operations/create-end-user-account.d.ts.map +1 -1
- package/esm/models/operations/create-end-user-account.js +9 -0
- package/esm/models/operations/create-end-user-account.js.map +1 -1
- package/esm/models/operations/create-event-subscriptions.d.ts +3 -0
- package/esm/models/operations/create-event-subscriptions.d.ts.map +1 -1
- package/esm/models/operations/create-event-subscriptions.js.map +1 -1
- package/esm/models/operations/create-expense.d.ts +9 -0
- package/esm/models/operations/create-expense.d.ts.map +1 -1
- package/esm/models/operations/create-expense.js.map +1 -1
- package/esm/models/operations/create-invoice.d.ts +9 -0
- package/esm/models/operations/create-invoice.d.ts.map +1 -1
- package/esm/models/operations/create-invoice.js.map +1 -1
- package/esm/models/operations/create-item.d.ts +9 -0
- package/esm/models/operations/create-item.d.ts.map +1 -1
- package/esm/models/operations/create-item.js.map +1 -1
- package/esm/models/operations/create-journal-entries.d.ts +6 -0
- package/esm/models/operations/create-journal-entries.d.ts.map +1 -1
- package/esm/models/operations/create-journal-entries.js.map +1 -1
- package/esm/models/operations/create-journal-entry-attachments.d.ts +3 -0
- package/esm/models/operations/create-journal-entry-attachments.d.ts.map +1 -1
- package/esm/models/operations/create-journal-entry-attachments.js.map +1 -1
- package/esm/models/operations/create-journal-entry.d.ts +9 -0
- package/esm/models/operations/create-journal-entry.d.ts.map +1 -1
- package/esm/models/operations/create-journal-entry.js.map +1 -1
- package/esm/models/operations/create-line-item.d.ts +9 -0
- package/esm/models/operations/create-line-item.d.ts.map +1 -1
- package/esm/models/operations/create-line-item.js.map +1 -1
- package/esm/models/operations/create-offer.d.ts +9 -0
- package/esm/models/operations/create-offer.d.ts.map +1 -1
- package/esm/models/operations/create-offer.js.map +1 -1
- package/esm/models/operations/create-pass-through-request.d.ts +9 -0
- package/esm/models/operations/create-pass-through-request.d.ts.map +1 -1
- package/esm/models/operations/create-pass-through-request.js.map +1 -1
- package/esm/models/operations/create-payment-term.d.ts +6 -0
- package/esm/models/operations/create-payment-term.d.ts.map +1 -1
- package/esm/models/operations/create-payment-term.js.map +1 -1
- package/esm/models/operations/create-payment.d.ts +6 -0
- package/esm/models/operations/create-payment.d.ts.map +1 -1
- package/esm/models/operations/create-payment.js.map +1 -1
- package/esm/models/operations/create-project.d.ts +9 -0
- package/esm/models/operations/create-project.d.ts.map +1 -1
- package/esm/models/operations/create-project.js.map +1 -1
- package/esm/models/operations/create-sales-order.d.ts +9 -0
- package/esm/models/operations/create-sales-order.d.ts.map +1 -1
- package/esm/models/operations/create-sales-order.js.map +1 -1
- package/esm/models/operations/create-supplier.d.ts +9 -0
- package/esm/models/operations/create-supplier.d.ts.map +1 -1
- package/esm/models/operations/create-supplier.js.map +1 -1
- package/esm/models/operations/create-transaction.d.ts +6 -0
- package/esm/models/operations/create-transaction.d.ts.map +1 -1
- package/esm/models/operations/create-transaction.js.map +1 -1
- package/esm/models/operations/create-vendor-credit.d.ts +9 -0
- package/esm/models/operations/create-vendor-credit.d.ts.map +1 -1
- package/esm/models/operations/create-vendor-credit.js.map +1 -1
- package/esm/models/operations/create-web-hook-tenant.d.ts +41 -0
- package/esm/models/operations/create-web-hook-tenant.d.ts.map +1 -0
- package/esm/models/operations/create-web-hook-tenant.js +46 -0
- package/esm/models/operations/create-web-hook-tenant.js.map +1 -0
- package/esm/models/operations/create-webhook-config.d.ts +41 -0
- package/esm/models/operations/create-webhook-config.d.ts.map +1 -0
- package/esm/models/operations/create-webhook-config.js +46 -0
- package/esm/models/operations/create-webhook-config.js.map +1 -0
- package/esm/models/operations/create-webhook-end-user.d.ts +44 -0
- package/esm/models/operations/create-webhook-end-user.d.ts.map +1 -1
- package/esm/models/operations/create-webhook-end-user.js +40 -0
- package/esm/models/operations/create-webhook-end-user.js.map +1 -1
- package/esm/models/operations/create-webhook.d.ts +44 -0
- package/esm/models/operations/create-webhook.d.ts.map +1 -1
- package/esm/models/operations/create-webhook.js +40 -0
- package/esm/models/operations/create-webhook.js.map +1 -1
- package/esm/models/operations/delete-bill.d.ts +44 -0
- package/esm/models/operations/delete-bill.d.ts.map +1 -1
- package/esm/models/operations/delete-bill.js +40 -0
- package/esm/models/operations/delete-bill.js.map +1 -1
- package/esm/models/operations/delete-end-user.d.ts +13 -0
- package/esm/models/operations/delete-end-user.d.ts.map +1 -0
- package/esm/models/operations/delete-end-user.js +14 -0
- package/esm/models/operations/delete-end-user.js.map +1 -0
- package/esm/models/operations/delete-event-subscriptions.d.ts +3 -0
- package/esm/models/operations/delete-event-subscriptions.d.ts.map +1 -1
- package/esm/models/operations/delete-event-subscriptions.js.map +1 -1
- package/esm/models/operations/delete-payment.d.ts +41 -0
- package/esm/models/operations/delete-payment.d.ts.map +1 -1
- package/esm/models/operations/delete-payment.js +40 -0
- package/esm/models/operations/delete-payment.js.map +1 -1
- package/esm/models/operations/delete-vendor-credit.d.ts +44 -0
- package/esm/models/operations/delete-vendor-credit.d.ts.map +1 -1
- package/esm/models/operations/delete-vendor-credit.js +40 -0
- package/esm/models/operations/delete-vendor-credit.js.map +1 -1
- package/esm/models/operations/delete-webhook-end-user.d.ts +15 -0
- package/esm/models/operations/delete-webhook-end-user.d.ts.map +1 -1
- package/esm/models/operations/delete-webhook-end-user.js +6 -0
- package/esm/models/operations/delete-webhook-end-user.js.map +1 -1
- package/esm/models/operations/delete-webhook.d.ts +15 -0
- package/esm/models/operations/delete-webhook.d.ts.map +1 -1
- package/esm/models/operations/delete-webhook.js +6 -0
- package/esm/models/operations/delete-webhook.js.map +1 -1
- package/esm/models/operations/details.d.ts +7 -0
- package/esm/models/operations/details.d.ts.map +1 -1
- package/esm/models/operations/details.js +5 -0
- package/esm/models/operations/details.js.map +1 -1
- package/esm/models/operations/get-account.d.ts +12 -0
- package/esm/models/operations/get-account.d.ts.map +1 -1
- package/esm/models/operations/get-account.js.map +1 -1
- package/esm/models/operations/get-accounts.d.ts +39 -0
- package/esm/models/operations/get-accounts.d.ts.map +1 -1
- package/esm/models/operations/get-accounts.js +3 -0
- package/esm/models/operations/get-accounts.js.map +1 -1
- package/esm/models/operations/get-all-active-end-users.d.ts +11 -0
- package/esm/models/operations/get-all-active-end-users.d.ts.map +1 -0
- package/esm/models/operations/get-all-active-end-users.js +11 -0
- package/esm/models/operations/get-all-active-end-users.js.map +1 -0
- package/esm/models/operations/get-async-task-info.d.ts +6 -0
- package/esm/models/operations/get-async-task-info.d.ts.map +1 -1
- package/esm/models/operations/get-async-task-info.js.map +1 -1
- package/esm/models/operations/get-bank-account.d.ts +12 -0
- package/esm/models/operations/get-bank-account.d.ts.map +1 -1
- package/esm/models/operations/get-bank-account.js.map +1 -1
- package/esm/models/operations/get-bank-accounts.d.ts +15 -0
- package/esm/models/operations/get-bank-accounts.d.ts.map +1 -1
- package/esm/models/operations/get-bank-accounts.js.map +1 -1
- package/esm/models/operations/get-bill-document.d.ts +3 -0
- package/esm/models/operations/get-bill-document.d.ts.map +1 -1
- package/esm/models/operations/get-bill-document.js.map +1 -1
- package/esm/models/operations/get-bill-line-items.d.ts +9 -0
- package/esm/models/operations/get-bill-line-items.d.ts.map +1 -1
- package/esm/models/operations/get-bill-line-items.js.map +1 -1
- package/esm/models/operations/get-bill.d.ts +12 -0
- package/esm/models/operations/get-bill.d.ts.map +1 -1
- package/esm/models/operations/get-bill.js.map +1 -1
- package/esm/models/operations/get-bills.d.ts +51 -0
- package/esm/models/operations/get-bills.d.ts.map +1 -1
- package/esm/models/operations/get-bills.js +12 -0
- package/esm/models/operations/get-bills.js.map +1 -1
- package/esm/models/operations/get-booking-proposal-document.d.ts +3 -0
- package/esm/models/operations/get-booking-proposal-document.d.ts.map +1 -1
- package/esm/models/operations/get-booking-proposal-document.js.map +1 -1
- package/esm/models/operations/get-booking-proposal.d.ts +12 -0
- package/esm/models/operations/get-booking-proposal.d.ts.map +1 -1
- package/esm/models/operations/get-booking-proposal.js.map +1 -1
- package/esm/models/operations/get-booking-proposals.d.ts +51 -0
- package/esm/models/operations/get-booking-proposals.d.ts.map +1 -1
- package/esm/models/operations/get-booking-proposals.js +12 -0
- package/esm/models/operations/get-booking-proposals.js.map +1 -1
- package/esm/models/operations/get-code.d.ts +9 -0
- package/esm/models/operations/get-code.d.ts.map +1 -1
- package/esm/models/operations/get-code.js +6 -0
- package/esm/models/operations/get-code.js.map +1 -1
- package/esm/models/operations/get-companies-flow.d.ts +6 -0
- package/esm/models/operations/get-companies-flow.d.ts.map +1 -1
- package/esm/models/operations/get-companies-flow.js.map +1 -1
- package/esm/models/operations/get-companies.d.ts +6 -0
- package/esm/models/operations/get-companies.d.ts.map +1 -1
- package/esm/models/operations/get-companies.js.map +1 -1
- package/esm/models/operations/get-contact-v2.d.ts +12 -0
- package/esm/models/operations/get-contact-v2.d.ts.map +1 -1
- package/esm/models/operations/get-contact-v2.js.map +1 -1
- package/esm/models/operations/get-contact.d.ts +12 -0
- package/esm/models/operations/get-contact.d.ts.map +1 -1
- package/esm/models/operations/get-contact.js.map +1 -1
- package/esm/models/operations/get-contacts-v2.d.ts +15 -0
- package/esm/models/operations/get-contacts-v2.d.ts.map +1 -1
- package/esm/models/operations/get-contacts-v2.js.map +1 -1
- package/esm/models/operations/get-contacts.d.ts +15 -0
- package/esm/models/operations/get-contacts.d.ts.map +1 -1
- package/esm/models/operations/get-contacts.js.map +1 -1
- package/esm/models/operations/get-credit-note.d.ts +12 -0
- package/esm/models/operations/get-credit-note.d.ts.map +1 -1
- package/esm/models/operations/get-credit-note.js.map +1 -1
- package/esm/models/operations/get-credit-notes.d.ts +15 -0
- package/esm/models/operations/get-credit-notes.d.ts.map +1 -1
- package/esm/models/operations/get-credit-notes.js.map +1 -1
- package/esm/models/operations/get-customer.d.ts +12 -0
- package/esm/models/operations/get-customer.d.ts.map +1 -1
- package/esm/models/operations/get-customer.js.map +1 -1
- package/esm/models/operations/get-customers.d.ts +24 -0
- package/esm/models/operations/get-customers.d.ts.map +1 -1
- package/esm/models/operations/get-customers.js.map +1 -1
- package/esm/models/operations/get-dimensions-by-dimension.d.ts +15 -0
- package/esm/models/operations/get-dimensions-by-dimension.d.ts.map +1 -1
- package/esm/models/operations/get-dimensions-by-dimension.js.map +1 -1
- package/esm/models/operations/get-dimensions-v2.d.ts +15 -0
- package/esm/models/operations/get-dimensions-v2.d.ts.map +1 -1
- package/esm/models/operations/get-dimensions-v2.js.map +1 -1
- package/esm/models/operations/get-dimensions.d.ts +15 -0
- package/esm/models/operations/get-dimensions.d.ts.map +1 -1
- package/esm/models/operations/get-dimensions.js.map +1 -1
- package/esm/models/operations/get-document-extensions.d.ts +6 -0
- package/esm/models/operations/get-document-extensions.d.ts.map +1 -1
- package/esm/models/operations/get-document-extensions.js.map +1 -1
- package/esm/models/operations/get-document-types.d.ts +6 -0
- package/esm/models/operations/get-document-types.d.ts.map +1 -1
- package/esm/models/operations/get-document-types.js.map +1 -1
- package/esm/models/operations/get-environment-page.d.ts +15 -0
- package/esm/models/operations/get-environment-page.d.ts.map +1 -1
- package/esm/models/operations/get-environment-page.js +6 -0
- package/esm/models/operations/get-environment-page.js.map +1 -1
- package/esm/models/operations/get-environments.d.ts +3 -0
- package/esm/models/operations/get-environments.d.ts.map +1 -1
- package/esm/models/operations/get-environments.js.map +1 -1
- package/esm/models/operations/get-expense.d.ts +12 -0
- package/esm/models/operations/get-expense.d.ts.map +1 -1
- package/esm/models/operations/get-expense.js.map +1 -1
- package/esm/models/operations/get-expenses.d.ts +12 -0
- package/esm/models/operations/get-expenses.d.ts.map +1 -1
- package/esm/models/operations/get-expenses.js.map +1 -1
- package/esm/models/operations/get-fiscal-year.d.ts +12 -0
- package/esm/models/operations/get-fiscal-year.d.ts.map +1 -1
- package/esm/models/operations/get-fiscal-year.js.map +1 -1
- package/esm/models/operations/get-fiscal-years.d.ts +12 -0
- package/esm/models/operations/get-fiscal-years.d.ts.map +1 -1
- package/esm/models/operations/get-fiscal-years.js.map +1 -1
- package/esm/models/operations/get-goods-receipt-line-item.d.ts +12 -0
- package/esm/models/operations/get-goods-receipt-line-item.d.ts.map +1 -1
- package/esm/models/operations/get-goods-receipt-line-item.js.map +1 -1
- package/esm/models/operations/get-goods-receipt-line-items.d.ts +15 -0
- package/esm/models/operations/get-goods-receipt-line-items.d.ts.map +1 -1
- package/esm/models/operations/get-goods-receipt-line-items.js.map +1 -1
- package/esm/models/operations/get-goods-receipt.d.ts +12 -0
- package/esm/models/operations/get-goods-receipt.d.ts.map +1 -1
- package/esm/models/operations/get-goods-receipt.js.map +1 -1
- package/esm/models/operations/get-goods-receipts.d.ts +15 -0
- package/esm/models/operations/get-goods-receipts.d.ts.map +1 -1
- package/esm/models/operations/get-goods-receipts.js.map +1 -1
- package/esm/models/operations/get-invoice-document.d.ts +9 -0
- package/esm/models/operations/get-invoice-document.d.ts.map +1 -1
- package/esm/models/operations/get-invoice-document.js.map +1 -1
- package/esm/models/operations/get-invoice.d.ts +12 -0
- package/esm/models/operations/get-invoice.d.ts.map +1 -1
- package/esm/models/operations/get-invoice.js.map +1 -1
- package/esm/models/operations/get-invoices.d.ts +54 -0
- package/esm/models/operations/get-invoices.d.ts.map +1 -1
- package/esm/models/operations/get-invoices.js +12 -0
- package/esm/models/operations/get-invoices.js.map +1 -1
- package/esm/models/operations/get-item.d.ts +12 -0
- package/esm/models/operations/get-item.d.ts.map +1 -1
- package/esm/models/operations/get-item.js.map +1 -1
- package/esm/models/operations/get-items.d.ts +21 -0
- package/esm/models/operations/get-items.d.ts.map +1 -1
- package/esm/models/operations/get-items.js.map +1 -1
- package/esm/models/operations/get-journal-entries.d.ts +21 -0
- package/esm/models/operations/get-journal-entries.d.ts.map +1 -1
- package/esm/models/operations/get-journal-entries.js.map +1 -1
- package/esm/models/operations/get-journal-entry-attachment-by-id.d.ts +9 -0
- package/esm/models/operations/get-journal-entry-attachment-by-id.d.ts.map +1 -1
- package/esm/models/operations/get-journal-entry-attachment-by-id.js.map +1 -1
- package/esm/models/operations/get-journal-entry-attachments.d.ts +9 -0
- package/esm/models/operations/get-journal-entry-attachments.d.ts.map +1 -1
- package/esm/models/operations/get-journal-entry-attachments.js.map +1 -1
- package/esm/models/operations/get-journal-entry.d.ts +15 -0
- package/esm/models/operations/get-journal-entry.d.ts.map +1 -1
- package/esm/models/operations/get-journal-entry.js.map +1 -1
- package/esm/models/operations/get-journals.d.ts +15 -0
- package/esm/models/operations/get-journals.d.ts.map +1 -1
- package/esm/models/operations/get-journals.js.map +1 -1
- package/esm/models/operations/get-line-item.d.ts +12 -0
- package/esm/models/operations/get-line-item.d.ts.map +1 -1
- package/esm/models/operations/get-line-item.js.map +1 -1
- package/esm/models/operations/get-line-items.d.ts +15 -0
- package/esm/models/operations/get-line-items.d.ts.map +1 -1
- package/esm/models/operations/get-line-items.js.map +1 -1
- package/esm/models/operations/get-offer-document.d.ts +9 -0
- package/esm/models/operations/get-offer-document.d.ts.map +1 -1
- package/esm/models/operations/get-offer-document.js.map +1 -1
- package/esm/models/operations/get-offer-line-item.d.ts +12 -0
- package/esm/models/operations/get-offer-line-item.d.ts.map +1 -1
- package/esm/models/operations/get-offer-line-item.js.map +1 -1
- package/esm/models/operations/get-offer-line-items.d.ts +15 -0
- package/esm/models/operations/get-offer-line-items.d.ts.map +1 -1
- package/esm/models/operations/get-offer-line-items.js.map +1 -1
- package/esm/models/operations/get-offer.d.ts +12 -0
- package/esm/models/operations/get-offer.d.ts.map +1 -1
- package/esm/models/operations/get-offer.js.map +1 -1
- package/esm/models/operations/get-offers.d.ts +24 -0
- package/esm/models/operations/get-offers.d.ts.map +1 -1
- package/esm/models/operations/get-offers.js +3 -0
- package/esm/models/operations/get-offers.js.map +1 -1
- package/esm/models/operations/get-open-items.d.ts +27 -0
- package/esm/models/operations/get-open-items.d.ts.map +1 -1
- package/esm/models/operations/get-open-items.js.map +1 -1
- package/esm/models/operations/get-payment-term.d.ts +12 -0
- package/esm/models/operations/get-payment-term.d.ts.map +1 -1
- package/esm/models/operations/get-payment-term.js.map +1 -1
- package/esm/models/operations/get-payment-terms.d.ts +21 -0
- package/esm/models/operations/get-payment-terms.d.ts.map +1 -1
- package/esm/models/operations/get-payment-terms.js.map +1 -1
- package/esm/models/operations/get-payment.d.ts +9 -0
- package/esm/models/operations/get-payment.d.ts.map +1 -1
- package/esm/models/operations/get-payment.js.map +1 -1
- package/esm/models/operations/get-payments.d.ts +18 -0
- package/esm/models/operations/get-payments.d.ts.map +1 -1
- package/esm/models/operations/get-payments.js.map +1 -1
- package/esm/models/operations/get-project.d.ts +12 -0
- package/esm/models/operations/get-project.d.ts.map +1 -1
- package/esm/models/operations/get-project.js.map +1 -1
- package/esm/models/operations/get-projects.d.ts +15 -0
- package/esm/models/operations/get-projects.d.ts.map +1 -1
- package/esm/models/operations/get-projects.js.map +1 -1
- package/esm/models/operations/get-purchase-order-line-item.d.ts +12 -0
- package/esm/models/operations/get-purchase-order-line-item.d.ts.map +1 -1
- package/esm/models/operations/get-purchase-order-line-item.js.map +1 -1
- package/esm/models/operations/get-purchase-order-line-items.d.ts +15 -0
- package/esm/models/operations/get-purchase-order-line-items.d.ts.map +1 -1
- package/esm/models/operations/get-purchase-order-line-items.js.map +1 -1
- package/esm/models/operations/get-purchase-order.d.ts +12 -0
- package/esm/models/operations/get-purchase-order.d.ts.map +1 -1
- package/esm/models/operations/get-purchase-order.js.map +1 -1
- package/esm/models/operations/get-purchase-orders.d.ts +15 -0
- package/esm/models/operations/get-purchase-orders.d.ts.map +1 -1
- package/esm/models/operations/get-purchase-orders.js.map +1 -1
- package/esm/models/operations/get-sales-order-lines.d.ts +15 -0
- package/esm/models/operations/get-sales-order-lines.d.ts.map +1 -1
- package/esm/models/operations/get-sales-order-lines.js.map +1 -1
- package/esm/models/operations/get-sales-order.d.ts +12 -0
- package/esm/models/operations/get-sales-order.d.ts.map +1 -1
- package/esm/models/operations/get-sales-order.js.map +1 -1
- package/esm/models/operations/get-sales-orders.d.ts +24 -0
- package/esm/models/operations/get-sales-orders.d.ts.map +1 -1
- package/esm/models/operations/get-sales-orders.js +3 -0
- package/esm/models/operations/get-sales-orders.js.map +1 -1
- package/esm/models/operations/get-submission-page-style-by-key.d.ts +11 -0
- package/esm/models/operations/get-submission-page-style-by-key.d.ts.map +1 -0
- package/esm/models/operations/get-submission-page-style-by-key.js +11 -0
- package/esm/models/operations/get-submission-page-style-by-key.js.map +1 -0
- package/esm/models/operations/get-submission-page-style.d.ts +12 -0
- package/esm/models/operations/get-submission-page-style.d.ts.map +1 -1
- package/esm/models/operations/get-submission-page-style.js +6 -0
- package/esm/models/operations/get-submission-page-style.js.map +1 -1
- package/esm/models/operations/get-submit-page.d.ts +14 -0
- package/esm/models/operations/get-submit-page.d.ts.map +1 -1
- package/esm/models/operations/get-submit-page.js +9 -0
- package/esm/models/operations/get-submit-page.js.map +1 -1
- package/esm/models/operations/get-supplier.d.ts +12 -0
- package/esm/models/operations/get-supplier.d.ts.map +1 -1
- package/esm/models/operations/get-supplier.js.map +1 -1
- package/esm/models/operations/get-suppliers.d.ts +24 -0
- package/esm/models/operations/get-suppliers.d.ts.map +1 -1
- package/esm/models/operations/get-suppliers.js.map +1 -1
- package/esm/models/operations/get-tax-rate.d.ts +12 -0
- package/esm/models/operations/get-tax-rate.d.ts.map +1 -1
- package/esm/models/operations/get-tax-rate.js.map +1 -1
- package/esm/models/operations/get-tax-rates.d.ts +18 -0
- package/esm/models/operations/get-tax-rates.d.ts.map +1 -1
- package/esm/models/operations/get-tax-rates.js.map +1 -1
- package/esm/models/operations/get-trial-balance.d.ts +27 -0
- package/esm/models/operations/get-trial-balance.d.ts.map +1 -1
- package/esm/models/operations/get-trial-balance.js.map +1 -1
- package/esm/models/operations/get-units.d.ts +12 -0
- package/esm/models/operations/get-units.d.ts.map +1 -1
- package/esm/models/operations/get-units.js.map +1 -1
- package/esm/models/operations/get-vendor-credits.d.ts +33 -0
- package/esm/models/operations/get-vendor-credits.d.ts.map +1 -1
- package/esm/models/operations/get-vendor-credits.js +6 -0
- package/esm/models/operations/get-vendor-credits.js.map +1 -1
- package/esm/models/operations/get-webhooks.d.ts +48 -0
- package/esm/models/operations/get-webhooks.d.ts.map +1 -1
- package/esm/models/operations/get-webhooks.js +41 -0
- package/esm/models/operations/get-webhooks.js.map +1 -1
- package/esm/models/operations/handle-callback.d.ts +9 -0
- package/esm/models/operations/handle-callback.d.ts.map +1 -1
- package/esm/models/operations/handle-callback.js +6 -0
- package/esm/models/operations/handle-callback.js.map +1 -1
- package/esm/models/operations/handle-configuration-callback.d.ts +9 -0
- package/esm/models/operations/handle-configuration-callback.d.ts.map +1 -1
- package/esm/models/operations/handle-configuration-callback.js +6 -0
- package/esm/models/operations/handle-configuration-callback.js.map +1 -1
- package/esm/models/operations/index.d.ts +9 -0
- package/esm/models/operations/index.d.ts.map +1 -1
- package/esm/models/operations/index.js +9 -0
- package/esm/models/operations/index.js.map +1 -1
- package/esm/models/operations/long-token.d.ts +13 -4
- package/esm/models/operations/long-token.d.ts.map +1 -1
- package/esm/models/operations/long-token.js +2 -2
- package/esm/models/operations/long-token.js.map +1 -1
- package/esm/models/operations/patch-contact-v2.d.ts +9 -0
- package/esm/models/operations/patch-contact-v2.d.ts.map +1 -1
- package/esm/models/operations/patch-contact-v2.js.map +1 -1
- package/esm/models/operations/patch-contact.d.ts +9 -0
- package/esm/models/operations/patch-contact.d.ts.map +1 -1
- package/esm/models/operations/patch-contact.js.map +1 -1
- package/esm/models/operations/patch-customers.d.ts +9 -0
- package/esm/models/operations/patch-customers.d.ts.map +1 -1
- package/esm/models/operations/patch-customers.js.map +1 -1
- package/esm/models/operations/patch-invoice.d.ts +9 -0
- package/esm/models/operations/patch-invoice.d.ts.map +1 -1
- package/esm/models/operations/patch-invoice.js.map +1 -1
- package/esm/models/operations/patch-item.d.ts +9 -0
- package/esm/models/operations/patch-item.d.ts.map +1 -1
- package/esm/models/operations/patch-item.js.map +1 -1
- package/esm/models/operations/patch-line-item.d.ts +9 -0
- package/esm/models/operations/patch-line-item.d.ts.map +1 -1
- package/esm/models/operations/patch-line-item.js.map +1 -1
- package/esm/models/operations/patch-supplier.d.ts +9 -0
- package/esm/models/operations/patch-supplier.d.ts.map +1 -1
- package/esm/models/operations/patch-supplier.js.map +1 -1
- package/esm/models/operations/post-file.d.ts +6 -0
- package/esm/models/operations/post-file.d.ts.map +1 -1
- package/esm/models/operations/post-file.js.map +1 -1
- package/esm/models/operations/put-contact-v2.d.ts +9 -0
- package/esm/models/operations/put-contact-v2.d.ts.map +1 -1
- package/esm/models/operations/put-contact-v2.js.map +1 -1
- package/esm/models/operations/put-contact.d.ts +9 -0
- package/esm/models/operations/put-contact.d.ts.map +1 -1
- package/esm/models/operations/put-contact.js.map +1 -1
- package/esm/models/operations/set-end-user-selections.d.ts +20 -0
- package/esm/models/operations/set-end-user-selections.d.ts.map +1 -1
- package/esm/models/operations/set-end-user-selections.js +9 -0
- package/esm/models/operations/set-end-user-selections.js.map +1 -1
- package/esm/models/operations/system-login-url.d.ts +18 -0
- package/esm/models/operations/system-login-url.d.ts.map +1 -1
- package/esm/models/operations/system-login-url.js.map +1 -1
- package/esm/models/operations/test.d.ts +14 -0
- package/esm/models/operations/test.d.ts.map +1 -1
- package/esm/models/operations/test.js +9 -0
- package/esm/models/operations/test.js.map +1 -1
- package/esm/models/operations/update-bill-line-item.d.ts +6 -0
- package/esm/models/operations/update-bill-line-item.d.ts.map +1 -1
- package/esm/models/operations/update-bill-line-item.js.map +1 -1
- package/esm/models/operations/update-bill.d.ts +9 -0
- package/esm/models/operations/update-bill.d.ts.map +1 -1
- package/esm/models/operations/update-bill.js.map +1 -1
- package/esm/models/operations/update-customer.d.ts +6 -0
- package/esm/models/operations/update-customer.d.ts.map +1 -1
- package/esm/models/operations/update-customer.js.map +1 -1
- package/esm/models/operations/update-submission-page-style.d.ts +11 -0
- package/esm/models/operations/update-submission-page-style.d.ts.map +1 -0
- package/esm/models/operations/update-submission-page-style.js +11 -0
- package/esm/models/operations/update-submission-page-style.js.map +1 -0
- package/esm/models/operations/update-supplier.d.ts +6 -0
- package/esm/models/operations/update-supplier.d.ts.map +1 -1
- package/esm/models/operations/update-supplier.js.map +1 -1
- package/esm/models/operations/update-vendor-credit.d.ts +9 -0
- package/esm/models/operations/update-vendor-credit.d.ts.map +1 -1
- package/esm/models/operations/update-vendor-credit.js.map +1 -1
- package/esm/models/subscription.d.ts +13 -0
- package/esm/models/subscription.d.ts.map +1 -0
- package/esm/models/subscription.js +17 -0
- package/esm/models/subscription.js.map +1 -0
- package/esm/models/webhook-response-dto.d.ts +15 -0
- package/esm/models/webhook-response-dto.d.ts.map +1 -0
- package/esm/models/webhook-response-dto.js +19 -0
- package/esm/models/webhook-response-dto.js.map +1 -0
- package/esm/sdk/accounting.d.ts +6 -5
- package/esm/sdk/accounting.d.ts.map +1 -1
- package/esm/sdk/accounting.js.map +1 -1
- package/esm/sdk/auth.d.ts +10 -10
- package/esm/sdk/auth.d.ts.map +1 -1
- package/esm/sdk/auth.js.map +1 -1
- package/esm/sdk/events.d.ts +3 -3
- package/esm/sdk/events.d.ts.map +1 -1
- package/esm/sdk/events.js.map +1 -1
- package/esm/sdk/health.d.ts +3 -2
- package/esm/sdk/health.d.ts.map +1 -1
- package/esm/sdk/health.js.map +1 -1
- package/esm/sdk/tenants.d.ts +15 -15
- package/esm/sdk/tenants.d.ts.map +1 -1
- package/esm/sdk/tenants.js.map +1 -1
- package/esm/sdk/vendor-credits.d.ts +1 -1
- package/esm/sdk/vendor-credits.d.ts.map +1 -1
- package/esm/sdk/vendor-credits.js.map +1 -1
- package/esm/sdk/webhooks.d.ts +8 -8
- package/esm/sdk/webhooks.d.ts.map +1 -1
- package/esm/sdk/webhooks.js.map +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/accounting-add-event-subscription.ts +6 -5
- package/src/funcs/accounting-get-profile.ts +6 -6
- package/src/funcs/accounting-remove-bill.ts +5 -5
- package/src/funcs/accounting-remove-event-subscription.ts +6 -5
- package/src/funcs/accounting-remove-payment.ts +5 -5
- package/src/funcs/auth-api-key-confirmation.ts +6 -6
- package/src/funcs/auth-callback.ts +5 -5
- package/src/funcs/auth-cancel.ts +6 -6
- package/src/funcs/auth-create-end-user-account.ts +5 -5
- package/src/funcs/auth-get-environment-page.ts +5 -5
- package/src/funcs/auth-get-submit-page.ts +5 -5
- package/src/funcs/auth-long-token.ts +12 -12
- package/src/funcs/auth-set-end-user-selections.ts +5 -5
- package/src/funcs/auth-system-login-url.ts +6 -5
- package/src/funcs/auth-test.ts +5 -5
- package/src/funcs/events-get-code.ts +5 -5
- package/src/funcs/events-handle-callback.ts +5 -5
- package/src/funcs/events-handle-configuration-callback.ts +5 -5
- package/src/funcs/health-check.ts +6 -6
- package/src/funcs/health-details.ts +5 -5
- package/src/funcs/tenants-add-callback-url.ts +6 -5
- package/src/funcs/tenants-count-end-users-by-system.ts +6 -6
- package/src/funcs/tenants-delete-end-user.ts +6 -6
- package/src/funcs/tenants-delete-registered-system.ts +6 -5
- package/src/funcs/tenants-get-all-active-end-users.ts +6 -6
- package/src/funcs/tenants-get-callback-url.ts +6 -6
- package/src/funcs/tenants-get-end-user-list.ts +6 -6
- package/src/funcs/tenants-get-registered-systems-masked.ts +6 -6
- package/src/funcs/tenants-get-registered-systems.ts +6 -6
- package/src/funcs/tenants-get-submission-page-style-by-key.ts +6 -6
- package/src/funcs/tenants-get-submission-page-style.ts +5 -5
- package/src/funcs/tenants-get-target-system-requirements.ts +6 -6
- package/src/funcs/tenants-get-target-system-values.ts +6 -6
- package/src/funcs/tenants-system-registration.ts +6 -5
- package/src/funcs/tenants-update-submission-page-style.ts +6 -5
- package/src/funcs/vendor-credits-delete.ts +5 -5
- package/src/funcs/webhooks-create-web-hook-tenant.ts +6 -5
- package/src/funcs/webhooks-create-webhook-config.ts +6 -5
- package/src/funcs/webhooks-create-webhook-end-user.ts +5 -5
- package/src/funcs/webhooks-create-webhook.ts +5 -5
- package/src/funcs/webhooks-delete-webhook-end-user.ts +5 -5
- package/src/funcs/webhooks-delete-webhook-tenant.ts +6 -5
- package/src/funcs/webhooks-delete-webhook.ts +5 -5
- package/src/funcs/webhooks-get-webhooks.ts +5 -5
- package/src/lib/config.ts +2 -2
- package/src/models/base-response-dto.ts +133 -0
- package/src/models/company-response-dto.ts +3 -30
- package/src/models/index.ts +3 -0
- package/src/models/operations/api-key-confirmation.ts +34 -0
- package/src/models/operations/callback.ts +44 -3
- package/src/models/operations/cancel.ts +34 -0
- package/src/models/operations/check.ts +29 -0
- package/src/models/operations/create-account.ts +9 -0
- package/src/models/operations/create-bank-account.ts +9 -0
- package/src/models/operations/create-bill-line-item.ts +6 -0
- package/src/models/operations/create-bill.ts +9 -0
- package/src/models/operations/create-booking-proposal-v2.ts +6 -0
- package/src/models/operations/create-booking-proposal.ts +6 -0
- package/src/models/operations/create-bookings.ts +6 -0
- package/src/models/operations/create-contact-v2.ts +9 -0
- package/src/models/operations/create-contact.ts +9 -0
- package/src/models/operations/create-contacts-v1.ts +6 -0
- package/src/models/operations/create-contacts.ts +6 -0
- package/src/models/operations/create-customer.ts +9 -0
- package/src/models/operations/create-end-user-account.ts +29 -0
- package/src/models/operations/create-event-subscriptions.ts +3 -0
- package/src/models/operations/create-expense.ts +9 -0
- package/src/models/operations/create-invoice.ts +9 -0
- package/src/models/operations/create-item.ts +9 -0
- package/src/models/operations/create-journal-entries.ts +6 -0
- package/src/models/operations/create-journal-entry-attachments.ts +3 -0
- package/src/models/operations/create-journal-entry.ts +9 -0
- package/src/models/operations/create-line-item.ts +9 -0
- package/src/models/operations/create-offer.ts +9 -0
- package/src/models/operations/create-pass-through-request.ts +9 -0
- package/src/models/operations/create-payment-term.ts +6 -0
- package/src/models/operations/create-payment.ts +6 -0
- package/src/models/operations/create-project.ts +9 -0
- package/src/models/operations/create-sales-order.ts +9 -0
- package/src/models/operations/create-supplier.ts +9 -0
- package/src/models/operations/create-transaction.ts +6 -0
- package/src/models/operations/create-vendor-credit.ts +9 -0
- package/src/models/operations/create-web-hook-tenant.ts +135 -0
- package/src/models/operations/create-webhook-config.ts +135 -0
- package/src/models/operations/create-webhook-end-user.ts +137 -0
- package/src/models/operations/create-webhook.ts +131 -0
- package/src/models/operations/delete-bill.ts +131 -0
- package/src/models/operations/delete-end-user.ts +34 -0
- package/src/models/operations/delete-event-subscriptions.ts +3 -0
- package/src/models/operations/delete-payment.ts +128 -0
- package/src/models/operations/delete-vendor-credit.ts +135 -0
- package/src/models/operations/delete-webhook-end-user.ts +30 -0
- package/src/models/operations/delete-webhook.ts +30 -0
- package/src/models/operations/details.ts +21 -0
- package/src/models/operations/get-account.ts +12 -0
- package/src/models/operations/get-accounts.ts +39 -0
- package/src/models/operations/get-all-active-end-users.ts +29 -0
- package/src/models/operations/get-async-task-info.ts +6 -0
- package/src/models/operations/get-bank-account.ts +12 -0
- package/src/models/operations/get-bank-accounts.ts +15 -0
- package/src/models/operations/get-bill-document.ts +3 -0
- package/src/models/operations/get-bill-line-items.ts +9 -0
- package/src/models/operations/get-bill.ts +12 -0
- package/src/models/operations/get-bills.ts +51 -0
- package/src/models/operations/get-booking-proposal-document.ts +3 -0
- package/src/models/operations/get-booking-proposal.ts +12 -0
- package/src/models/operations/get-booking-proposals.ts +51 -0
- package/src/models/operations/get-code.ts +24 -0
- package/src/models/operations/get-companies-flow.ts +6 -0
- package/src/models/operations/get-companies.ts +6 -0
- package/src/models/operations/get-contact-v2.ts +12 -0
- package/src/models/operations/get-contact.ts +12 -0
- package/src/models/operations/get-contacts-v2.ts +15 -0
- package/src/models/operations/get-contacts.ts +15 -0
- package/src/models/operations/get-credit-note.ts +12 -0
- package/src/models/operations/get-credit-notes.ts +15 -0
- package/src/models/operations/get-customer.ts +12 -0
- package/src/models/operations/get-customers.ts +24 -0
- package/src/models/operations/get-dimensions-by-dimension.ts +15 -0
- package/src/models/operations/get-dimensions-v2.ts +15 -0
- package/src/models/operations/get-dimensions.ts +15 -0
- package/src/models/operations/get-document-extensions.ts +6 -0
- package/src/models/operations/get-document-types.ts +6 -0
- package/src/models/operations/get-environment-page.ts +30 -0
- package/src/models/operations/get-environments.ts +3 -0
- package/src/models/operations/get-expense.ts +12 -0
- package/src/models/operations/get-expenses.ts +12 -0
- package/src/models/operations/get-fiscal-year.ts +12 -0
- package/src/models/operations/get-fiscal-years.ts +12 -0
- package/src/models/operations/get-goods-receipt-line-item.ts +12 -0
- package/src/models/operations/get-goods-receipt-line-items.ts +15 -0
- package/src/models/operations/get-goods-receipt.ts +12 -0
- package/src/models/operations/get-goods-receipts.ts +15 -0
- package/src/models/operations/get-invoice-document.ts +9 -0
- package/src/models/operations/get-invoice.ts +12 -0
- package/src/models/operations/get-invoices.ts +54 -0
- package/src/models/operations/get-item.ts +12 -0
- package/src/models/operations/get-items.ts +21 -0
- package/src/models/operations/get-journal-entries.ts +21 -0
- package/src/models/operations/get-journal-entry-attachment-by-id.ts +9 -0
- package/src/models/operations/get-journal-entry-attachments.ts +9 -0
- package/src/models/operations/get-journal-entry.ts +15 -0
- package/src/models/operations/get-journals.ts +15 -0
- package/src/models/operations/get-line-item.ts +12 -0
- package/src/models/operations/get-line-items.ts +15 -0
- package/src/models/operations/get-offer-document.ts +9 -0
- package/src/models/operations/get-offer-line-item.ts +12 -0
- package/src/models/operations/get-offer-line-items.ts +15 -0
- package/src/models/operations/get-offer.ts +12 -0
- package/src/models/operations/get-offers.ts +24 -0
- package/src/models/operations/get-open-items.ts +27 -0
- package/src/models/operations/get-payment-term.ts +12 -0
- package/src/models/operations/get-payment-terms.ts +21 -0
- package/src/models/operations/get-payment.ts +9 -0
- package/src/models/operations/get-payments.ts +18 -0
- package/src/models/operations/get-project.ts +12 -0
- package/src/models/operations/get-projects.ts +15 -0
- package/src/models/operations/get-purchase-order-line-item.ts +12 -0
- package/src/models/operations/get-purchase-order-line-items.ts +15 -0
- package/src/models/operations/get-purchase-order.ts +12 -0
- package/src/models/operations/get-purchase-orders.ts +15 -0
- package/src/models/operations/get-sales-order-lines.ts +15 -0
- package/src/models/operations/get-sales-order.ts +12 -0
- package/src/models/operations/get-sales-orders.ts +24 -0
- package/src/models/operations/get-submission-page-style-by-key.ts +30 -0
- package/src/models/operations/get-submission-page-style.ts +27 -0
- package/src/models/operations/get-submit-page.ts +32 -0
- package/src/models/operations/get-supplier.ts +12 -0
- package/src/models/operations/get-suppliers.ts +24 -0
- package/src/models/operations/get-tax-rate.ts +12 -0
- package/src/models/operations/get-tax-rates.ts +18 -0
- package/src/models/operations/get-trial-balance.ts +27 -0
- package/src/models/operations/get-units.ts +12 -0
- package/src/models/operations/get-vendor-credits.ts +33 -0
- package/src/models/operations/get-webhooks.ts +135 -0
- package/src/models/operations/handle-callback.ts +24 -0
- package/src/models/operations/handle-configuration-callback.ts +25 -0
- package/src/models/operations/index.ts +9 -0
- package/src/models/operations/long-token.ts +15 -6
- package/src/models/operations/patch-contact-v2.ts +9 -0
- package/src/models/operations/patch-contact.ts +9 -0
- package/src/models/operations/patch-customers.ts +9 -0
- package/src/models/operations/patch-invoice.ts +9 -0
- package/src/models/operations/patch-item.ts +9 -0
- package/src/models/operations/patch-line-item.ts +9 -0
- package/src/models/operations/patch-supplier.ts +9 -0
- package/src/models/operations/post-file.ts +6 -0
- package/src/models/operations/put-contact-v2.ts +9 -0
- package/src/models/operations/put-contact.ts +9 -0
- package/src/models/operations/set-end-user-selections.ts +38 -0
- package/src/models/operations/system-login-url.ts +18 -0
- package/src/models/operations/test.ts +30 -0
- package/src/models/operations/update-bill-line-item.ts +6 -0
- package/src/models/operations/update-bill.ts +9 -0
- package/src/models/operations/update-customer.ts +6 -0
- package/src/models/operations/update-submission-page-style.ts +29 -0
- package/src/models/operations/update-supplier.ts +6 -0
- package/src/models/operations/update-vendor-credit.ts +9 -0
- package/src/models/subscription.ts +35 -0
- package/src/models/webhook-response-dto.ts +41 -0
- package/src/sdk/accounting.ts +6 -5
- package/src/sdk/auth.ts +11 -11
- package/src/sdk/events.ts +3 -3
- package/src/sdk/health.ts +3 -2
- package/src/sdk/tenants.ts +15 -15
- package/src/sdk/vendor-credits.ts +1 -1
- package/src/sdk/webhooks.ts +8 -8
|
@@ -11,7 +11,13 @@ import * as models from "../index.js";
|
|
|
11
11
|
|
|
12
12
|
export type PatchContactRequest = {
|
|
13
13
|
contactId: string;
|
|
14
|
+
/**
|
|
15
|
+
* Environment name (required for multi-environment systems such as Business Central)
|
|
16
|
+
*/
|
|
14
17
|
environmentName?: string | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* ID of the company (required for multi-company target systems)
|
|
20
|
+
*/
|
|
15
21
|
companyId?: string | undefined;
|
|
16
22
|
body: models.CreateContactRequestDtoV2;
|
|
17
23
|
};
|
|
@@ -32,6 +38,9 @@ export type PatchContactErrors = {};
|
|
|
32
38
|
|
|
33
39
|
export type PatchContactRawData = {};
|
|
34
40
|
|
|
41
|
+
/**
|
|
42
|
+
* Contact updated successfully
|
|
43
|
+
*/
|
|
35
44
|
export type PatchContactResponse = {
|
|
36
45
|
meta?: PatchContactMeta | null | undefined;
|
|
37
46
|
data: models.ContactResponseDtoV2;
|
|
@@ -11,7 +11,13 @@ import * as models from "../index.js";
|
|
|
11
11
|
|
|
12
12
|
export type PatchCustomersRequest = {
|
|
13
13
|
contactId: string;
|
|
14
|
+
/**
|
|
15
|
+
* Environment name (required for multi-environment systems such as Business Central)
|
|
16
|
+
*/
|
|
14
17
|
environmentName?: string | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* ID of the company (required for multi-company target systems)
|
|
20
|
+
*/
|
|
15
21
|
companyId?: string | undefined;
|
|
16
22
|
body: models.PatchContactRequestDto;
|
|
17
23
|
};
|
|
@@ -32,6 +38,9 @@ export type PatchCustomersErrors = {};
|
|
|
32
38
|
|
|
33
39
|
export type PatchCustomersRawData = {};
|
|
34
40
|
|
|
41
|
+
/**
|
|
42
|
+
* Customer updated successfully
|
|
43
|
+
*/
|
|
35
44
|
export type PatchCustomersResponse = {
|
|
36
45
|
meta?: PatchCustomersMeta | null | undefined;
|
|
37
46
|
data: models.ContactResponseDto;
|
|
@@ -11,7 +11,13 @@ import * as models from "../index.js";
|
|
|
11
11
|
|
|
12
12
|
export type PatchInvoiceRequest = {
|
|
13
13
|
invoiceId: string;
|
|
14
|
+
/**
|
|
15
|
+
* Environment name (required for multi-environment systems such as Business Central)
|
|
16
|
+
*/
|
|
14
17
|
environmentName?: string | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* ID of the company (required for multi-company target systems)
|
|
20
|
+
*/
|
|
15
21
|
companyId?: string | undefined;
|
|
16
22
|
body: models.PatchInvoiceRequestDto;
|
|
17
23
|
};
|
|
@@ -32,6 +38,9 @@ export type PatchInvoiceErrors = {};
|
|
|
32
38
|
|
|
33
39
|
export type PatchInvoiceRawData = {};
|
|
34
40
|
|
|
41
|
+
/**
|
|
42
|
+
* Invoice updated successfully
|
|
43
|
+
*/
|
|
35
44
|
export type PatchInvoiceResponse = {
|
|
36
45
|
meta?: PatchInvoiceMeta | null | undefined;
|
|
37
46
|
data: models.InvoiceResponseDto;
|
|
@@ -11,7 +11,13 @@ import * as models from "../index.js";
|
|
|
11
11
|
|
|
12
12
|
export type PatchItemRequest = {
|
|
13
13
|
itemId: string;
|
|
14
|
+
/**
|
|
15
|
+
* Environment name (required for multi-environment systems such as Business Central)
|
|
16
|
+
*/
|
|
14
17
|
environmentName?: string | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* ID of the company (required for multi-company target systems)
|
|
20
|
+
*/
|
|
15
21
|
companyId?: string | undefined;
|
|
16
22
|
body: models.PatchItemRequestDto;
|
|
17
23
|
};
|
|
@@ -32,6 +38,9 @@ export type PatchItemErrors = {};
|
|
|
32
38
|
|
|
33
39
|
export type PatchItemRawData = {};
|
|
34
40
|
|
|
41
|
+
/**
|
|
42
|
+
* Item updated successfully
|
|
43
|
+
*/
|
|
35
44
|
export type PatchItemResponse = {
|
|
36
45
|
meta?: PatchItemMeta | null | undefined;
|
|
37
46
|
data: models.ItemResponseDto;
|
|
@@ -12,7 +12,13 @@ import * as models from "../index.js";
|
|
|
12
12
|
export type PatchLineItemRequest = {
|
|
13
13
|
invoiceId: string;
|
|
14
14
|
lineItemId: string;
|
|
15
|
+
/**
|
|
16
|
+
* Environment name (required for multi-environment systems such as Business Central)
|
|
17
|
+
*/
|
|
15
18
|
environmentName?: string | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* ID of the company (required for multi-company target systems)
|
|
21
|
+
*/
|
|
16
22
|
companyId?: string | undefined;
|
|
17
23
|
body: models.PatchLineItemRequestDto;
|
|
18
24
|
};
|
|
@@ -33,6 +39,9 @@ export type PatchLineItemErrors = {};
|
|
|
33
39
|
|
|
34
40
|
export type PatchLineItemRawData = {};
|
|
35
41
|
|
|
42
|
+
/**
|
|
43
|
+
* Line item updated successfully
|
|
44
|
+
*/
|
|
36
45
|
export type PatchLineItemResponse = {
|
|
37
46
|
meta?: PatchLineItemMeta | null | undefined;
|
|
38
47
|
data: models.LineItemResponseDto;
|
|
@@ -11,7 +11,13 @@ import * as models from "../index.js";
|
|
|
11
11
|
|
|
12
12
|
export type PatchSupplierRequest = {
|
|
13
13
|
contactId: string;
|
|
14
|
+
/**
|
|
15
|
+
* Environment name (required for multi-environment systems such as Business Central)
|
|
16
|
+
*/
|
|
14
17
|
environmentName?: string | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* ID of the company (required for multi-company target systems)
|
|
20
|
+
*/
|
|
15
21
|
companyId?: string | undefined;
|
|
16
22
|
body: models.PatchContactRequestDto;
|
|
17
23
|
};
|
|
@@ -32,6 +38,9 @@ export type PatchSupplierErrors = {};
|
|
|
32
38
|
|
|
33
39
|
export type PatchSupplierRawData = {};
|
|
34
40
|
|
|
41
|
+
/**
|
|
42
|
+
* Supplier updated successfully
|
|
43
|
+
*/
|
|
35
44
|
export type PatchSupplierResponse = {
|
|
36
45
|
meta?: PatchSupplierMeta | null | undefined;
|
|
37
46
|
data: models.ContactResponseDto;
|
|
@@ -27,6 +27,9 @@ export type PostFileRequestBody = {
|
|
|
27
27
|
};
|
|
28
28
|
|
|
29
29
|
export type PostFileRequest = {
|
|
30
|
+
/**
|
|
31
|
+
* ID of the company (required for multi-company target systems)
|
|
32
|
+
*/
|
|
30
33
|
companyId?: string | undefined;
|
|
31
34
|
body: PostFileRequestBody;
|
|
32
35
|
};
|
|
@@ -47,6 +50,9 @@ export type PostFileErrors = {};
|
|
|
47
50
|
|
|
48
51
|
export type PostFileRawData = {};
|
|
49
52
|
|
|
53
|
+
/**
|
|
54
|
+
* File uploaded successfully
|
|
55
|
+
*/
|
|
50
56
|
export type PostFileResponse = {
|
|
51
57
|
meta?: PostFileMeta | null | undefined;
|
|
52
58
|
data: models.DocumentResponseDto;
|
|
@@ -11,7 +11,13 @@ import * as models from "../index.js";
|
|
|
11
11
|
|
|
12
12
|
export type PutContactV2Request = {
|
|
13
13
|
contactId: string;
|
|
14
|
+
/**
|
|
15
|
+
* Environment name (required for multi-environment systems such as Business Central)
|
|
16
|
+
*/
|
|
14
17
|
environmentName?: string | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* ID of the company (required for multi-company target systems)
|
|
20
|
+
*/
|
|
15
21
|
companyId?: string | undefined;
|
|
16
22
|
body: models.CreateContactRequestDtoV2;
|
|
17
23
|
};
|
|
@@ -32,6 +38,9 @@ export type PutContactV2Errors = {};
|
|
|
32
38
|
|
|
33
39
|
export type PutContactV2RawData = {};
|
|
34
40
|
|
|
41
|
+
/**
|
|
42
|
+
* Contact updated successfully
|
|
43
|
+
*/
|
|
35
44
|
export type PutContactV2Response = {
|
|
36
45
|
meta?: PutContactV2Meta | null | undefined;
|
|
37
46
|
data: models.ContactResponseDtoV2;
|
|
@@ -11,7 +11,13 @@ import * as models from "../index.js";
|
|
|
11
11
|
|
|
12
12
|
export type PutContactRequest = {
|
|
13
13
|
contactId: string;
|
|
14
|
+
/**
|
|
15
|
+
* Environment name (required for multi-environment systems such as Business Central)
|
|
16
|
+
*/
|
|
14
17
|
environmentName?: string | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* ID of the company (required for multi-company target systems)
|
|
20
|
+
*/
|
|
15
21
|
companyId?: string | undefined;
|
|
16
22
|
body: models.CreateContactRequestDtoV2;
|
|
17
23
|
};
|
|
@@ -32,6 +38,9 @@ export type PutContactErrors = {};
|
|
|
32
38
|
|
|
33
39
|
export type PutContactRawData = {};
|
|
34
40
|
|
|
41
|
+
/**
|
|
42
|
+
* Contact updated successfully
|
|
43
|
+
*/
|
|
35
44
|
export type PutContactResponse = {
|
|
36
45
|
meta?: PutContactMeta | null | undefined;
|
|
37
46
|
data: models.ContactResponseDtoV2;
|
|
@@ -3,13 +3,33 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import * as types from "../../types/primitives.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
6
10
|
|
|
7
11
|
export type SetEndUserSelectionsRequest = {
|
|
12
|
+
/**
|
|
13
|
+
* End user account key (X-ACCOUNT-KEY) identifying the end user whose selections are being saved
|
|
14
|
+
*/
|
|
8
15
|
accountKey: string;
|
|
16
|
+
/**
|
|
17
|
+
* Environment name (required for multi-environment systems such as Business Central)
|
|
18
|
+
*/
|
|
9
19
|
environmentName: string;
|
|
20
|
+
/**
|
|
21
|
+
* ID of the company (required for multi-company target systems)
|
|
22
|
+
*/
|
|
10
23
|
companyId: string;
|
|
11
24
|
};
|
|
12
25
|
|
|
26
|
+
/**
|
|
27
|
+
* End user environment and company selections saved successfully
|
|
28
|
+
*/
|
|
29
|
+
export type SetEndUserSelectionsResponse = {
|
|
30
|
+
message?: string | undefined;
|
|
31
|
+
};
|
|
32
|
+
|
|
13
33
|
/** @internal */
|
|
14
34
|
export type SetEndUserSelectionsRequest$Outbound = {
|
|
15
35
|
accountKey: string;
|
|
@@ -36,3 +56,21 @@ export function setEndUserSelectionsRequestToJSON(
|
|
|
36
56
|
),
|
|
37
57
|
);
|
|
38
58
|
}
|
|
59
|
+
|
|
60
|
+
/** @internal */
|
|
61
|
+
export const SetEndUserSelectionsResponse$inboundSchema: z.ZodMiniType<
|
|
62
|
+
SetEndUserSelectionsResponse,
|
|
63
|
+
unknown
|
|
64
|
+
> = z.object({
|
|
65
|
+
message: types.optional(types.string()),
|
|
66
|
+
});
|
|
67
|
+
|
|
68
|
+
export function setEndUserSelectionsResponseFromJSON(
|
|
69
|
+
jsonString: string,
|
|
70
|
+
): SafeParseResult<SetEndUserSelectionsResponse, SDKValidationError> {
|
|
71
|
+
return safeParse(
|
|
72
|
+
jsonString,
|
|
73
|
+
(x) => SetEndUserSelectionsResponse$inboundSchema.parse(JSON.parse(x)),
|
|
74
|
+
`Failed to parse 'SetEndUserSelectionsResponse' from JSON`,
|
|
75
|
+
);
|
|
76
|
+
}
|
|
@@ -7,11 +7,29 @@ import { remap as remap$ } from "../../lib/primitives.js";
|
|
|
7
7
|
|
|
8
8
|
export type SystemLoginUrlRequest = {
|
|
9
9
|
targetSystem: string;
|
|
10
|
+
/**
|
|
11
|
+
* URL to redirect to after successful authentication
|
|
12
|
+
*/
|
|
10
13
|
callbackUrl?: string | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* URL to redirect to if the user cancels authentication
|
|
16
|
+
*/
|
|
11
17
|
cancelCallbackUrl?: string | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* ID of the company (required for multi-company target systems)
|
|
20
|
+
*/
|
|
12
21
|
companyId?: string | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* Tenant ID to scope the authentication request (used for self-hosted or on-premise systems)
|
|
24
|
+
*/
|
|
13
25
|
tenantId?: string | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* Base URL of the target system instance (required for self-hosted systems)
|
|
28
|
+
*/
|
|
14
29
|
baseUrl?: string | undefined;
|
|
30
|
+
/**
|
|
31
|
+
* When true, redirects the user to an environment or company selection page before completing authentication
|
|
32
|
+
*/
|
|
15
33
|
environmentSelection?: boolean | undefined;
|
|
16
34
|
};
|
|
17
35
|
|
|
@@ -3,11 +3,25 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import * as z from "zod/v4-mini";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import * as types from "../../types/primitives.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
6
10
|
|
|
7
11
|
export type TestRequest = {
|
|
12
|
+
/**
|
|
13
|
+
* End user account key (X-ACCOUNT-KEY) to pre-fill the confirmation page
|
|
14
|
+
*/
|
|
8
15
|
accountKey: string;
|
|
9
16
|
};
|
|
10
17
|
|
|
18
|
+
/**
|
|
19
|
+
* API key confirmation page rendered successfully
|
|
20
|
+
*/
|
|
21
|
+
export type TestResponse = {
|
|
22
|
+
apiKey?: string | undefined;
|
|
23
|
+
};
|
|
24
|
+
|
|
11
25
|
/** @internal */
|
|
12
26
|
export type TestRequest$Outbound = {
|
|
13
27
|
accountKey: string;
|
|
@@ -24,3 +38,19 @@ export const TestRequest$outboundSchema: z.ZodMiniType<
|
|
|
24
38
|
export function testRequestToJSON(testRequest: TestRequest): string {
|
|
25
39
|
return JSON.stringify(TestRequest$outboundSchema.parse(testRequest));
|
|
26
40
|
}
|
|
41
|
+
|
|
42
|
+
/** @internal */
|
|
43
|
+
export const TestResponse$inboundSchema: z.ZodMiniType<TestResponse, unknown> =
|
|
44
|
+
z.object({
|
|
45
|
+
apiKey: types.optional(types.string()),
|
|
46
|
+
});
|
|
47
|
+
|
|
48
|
+
export function testResponseFromJSON(
|
|
49
|
+
jsonString: string,
|
|
50
|
+
): SafeParseResult<TestResponse, SDKValidationError> {
|
|
51
|
+
return safeParse(
|
|
52
|
+
jsonString,
|
|
53
|
+
(x) => TestResponse$inboundSchema.parse(JSON.parse(x)),
|
|
54
|
+
`Failed to parse 'TestResponse' from JSON`,
|
|
55
|
+
);
|
|
56
|
+
}
|
|
@@ -12,6 +12,9 @@ import * as models from "../index.js";
|
|
|
12
12
|
export type UpdateBillLineItemRequest = {
|
|
13
13
|
billId: string;
|
|
14
14
|
lineItemId: string;
|
|
15
|
+
/**
|
|
16
|
+
* ID of the company (required for multi-company target systems)
|
|
17
|
+
*/
|
|
15
18
|
companyId?: string | undefined;
|
|
16
19
|
body: models.CreateBillLineItemRequestDto;
|
|
17
20
|
};
|
|
@@ -32,6 +35,9 @@ export type UpdateBillLineItemErrors = {};
|
|
|
32
35
|
|
|
33
36
|
export type UpdateBillLineItemRawData = {};
|
|
34
37
|
|
|
38
|
+
/**
|
|
39
|
+
* Bill line item updated successfully
|
|
40
|
+
*/
|
|
35
41
|
export type UpdateBillLineItemResponse = {
|
|
36
42
|
meta?: UpdateBillLineItemMeta | null | undefined;
|
|
37
43
|
data: Array<models.BillLineItemResponseDto>;
|
|
@@ -11,7 +11,13 @@ import * as models from "../index.js";
|
|
|
11
11
|
|
|
12
12
|
export type UpdateBillRequest = {
|
|
13
13
|
billId: string;
|
|
14
|
+
/**
|
|
15
|
+
* Environment name (required for multi-environment systems such as Business Central)
|
|
16
|
+
*/
|
|
14
17
|
environmentName?: string | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* ID of the company (required for multi-company target systems)
|
|
20
|
+
*/
|
|
15
21
|
companyId?: string | undefined;
|
|
16
22
|
body: models.CreateBillRequestDto;
|
|
17
23
|
};
|
|
@@ -32,6 +38,9 @@ export type UpdateBillErrors = {};
|
|
|
32
38
|
|
|
33
39
|
export type UpdateBillRawData = {};
|
|
34
40
|
|
|
41
|
+
/**
|
|
42
|
+
* Bill updated successfully
|
|
43
|
+
*/
|
|
35
44
|
export type UpdateBillResponse = {
|
|
36
45
|
meta?: UpdateBillMeta | null | undefined;
|
|
37
46
|
data: models.BillResponseDto;
|
|
@@ -11,6 +11,9 @@ import * as models from "../index.js";
|
|
|
11
11
|
|
|
12
12
|
export type UpdateCustomerRequest = {
|
|
13
13
|
contactId: string;
|
|
14
|
+
/**
|
|
15
|
+
* ID of the company (required for multi-company target systems)
|
|
16
|
+
*/
|
|
14
17
|
companyId?: string | undefined;
|
|
15
18
|
body: models.CreateContactRequestDto;
|
|
16
19
|
};
|
|
@@ -31,6 +34,9 @@ export type UpdateCustomerErrors = {};
|
|
|
31
34
|
|
|
32
35
|
export type UpdateCustomerRawData = {};
|
|
33
36
|
|
|
37
|
+
/**
|
|
38
|
+
* Customer updated successfully
|
|
39
|
+
*/
|
|
34
40
|
export type UpdateCustomerResponse = {
|
|
35
41
|
meta?: UpdateCustomerMeta | null | undefined;
|
|
36
42
|
data: models.ContactResponseDto;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
import { safeParse } from "../../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
+
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Submission page style updated successfully
|
|
12
|
+
*/
|
|
13
|
+
export type UpdateSubmissionPageStyleResponse = {};
|
|
14
|
+
|
|
15
|
+
/** @internal */
|
|
16
|
+
export const UpdateSubmissionPageStyleResponse$inboundSchema: z.ZodMiniType<
|
|
17
|
+
UpdateSubmissionPageStyleResponse,
|
|
18
|
+
unknown
|
|
19
|
+
> = z.object({});
|
|
20
|
+
|
|
21
|
+
export function updateSubmissionPageStyleResponseFromJSON(
|
|
22
|
+
jsonString: string,
|
|
23
|
+
): SafeParseResult<UpdateSubmissionPageStyleResponse, SDKValidationError> {
|
|
24
|
+
return safeParse(
|
|
25
|
+
jsonString,
|
|
26
|
+
(x) => UpdateSubmissionPageStyleResponse$inboundSchema.parse(JSON.parse(x)),
|
|
27
|
+
`Failed to parse 'UpdateSubmissionPageStyleResponse' from JSON`,
|
|
28
|
+
);
|
|
29
|
+
}
|
|
@@ -11,6 +11,9 @@ import * as models from "../index.js";
|
|
|
11
11
|
|
|
12
12
|
export type UpdateSupplierRequest = {
|
|
13
13
|
contactId: string;
|
|
14
|
+
/**
|
|
15
|
+
* ID of the company (required for multi-company target systems)
|
|
16
|
+
*/
|
|
14
17
|
companyId?: string | undefined;
|
|
15
18
|
body: models.CreateContactRequestDto;
|
|
16
19
|
};
|
|
@@ -31,6 +34,9 @@ export type UpdateSupplierErrors = {};
|
|
|
31
34
|
|
|
32
35
|
export type UpdateSupplierRawData = {};
|
|
33
36
|
|
|
37
|
+
/**
|
|
38
|
+
* Supplier updated successfully
|
|
39
|
+
*/
|
|
34
40
|
export type UpdateSupplierResponse = {
|
|
35
41
|
meta?: UpdateSupplierMeta | null | undefined;
|
|
36
42
|
data: models.ContactResponseDto;
|
|
@@ -11,7 +11,13 @@ import * as models from "../index.js";
|
|
|
11
11
|
|
|
12
12
|
export type UpdateVendorCreditRequest = {
|
|
13
13
|
vendorCreditId: string;
|
|
14
|
+
/**
|
|
15
|
+
* Environment name (required for multi-environment systems such as Business Central)
|
|
16
|
+
*/
|
|
14
17
|
environmentName?: string | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* ID of the company (required for multi-company target systems)
|
|
20
|
+
*/
|
|
15
21
|
companyId?: string | undefined;
|
|
16
22
|
body: models.CreateVendorCreditRequestDto;
|
|
17
23
|
};
|
|
@@ -32,6 +38,9 @@ export type UpdateVendorCreditErrors = {};
|
|
|
32
38
|
|
|
33
39
|
export type UpdateVendorCreditRawData = {};
|
|
34
40
|
|
|
41
|
+
/**
|
|
42
|
+
* Vendor credit updated successfully
|
|
43
|
+
*/
|
|
35
44
|
export type UpdateVendorCreditResponse = {
|
|
36
45
|
meta?: UpdateVendorCreditMeta | null | undefined;
|
|
37
46
|
data: models.BillResponseDto;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
import { safeParse } from "../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
8
|
+
import * as types from "../types/primitives.js";
|
|
9
|
+
import { SDKValidationError } from "./errors/sdk-validation-error.js";
|
|
10
|
+
|
|
11
|
+
export type Subscription = {
|
|
12
|
+
id: string | null;
|
|
13
|
+
name?: string | null | undefined;
|
|
14
|
+
status?: string | null | undefined;
|
|
15
|
+
active?: boolean | null | undefined;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
/** @internal */
|
|
19
|
+
export const Subscription$inboundSchema: z.ZodMiniType<Subscription, unknown> =
|
|
20
|
+
z.object({
|
|
21
|
+
id: types.nullable(types.string()),
|
|
22
|
+
name: z.optional(z.nullable(types.string())),
|
|
23
|
+
status: z.optional(z.nullable(types.string())),
|
|
24
|
+
active: z.optional(z.nullable(types.boolean())),
|
|
25
|
+
});
|
|
26
|
+
|
|
27
|
+
export function subscriptionFromJSON(
|
|
28
|
+
jsonString: string,
|
|
29
|
+
): SafeParseResult<Subscription, SDKValidationError> {
|
|
30
|
+
return safeParse(
|
|
31
|
+
jsonString,
|
|
32
|
+
(x) => Subscription$inboundSchema.parse(JSON.parse(x)),
|
|
33
|
+
`Failed to parse 'Subscription' from JSON`,
|
|
34
|
+
);
|
|
35
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v4-mini";
|
|
6
|
+
import { safeParse } from "../lib/schemas.js";
|
|
7
|
+
import { Result as SafeParseResult } from "../types/fp.js";
|
|
8
|
+
import * as types from "../types/primitives.js";
|
|
9
|
+
import { SDKValidationError } from "./errors/sdk-validation-error.js";
|
|
10
|
+
|
|
11
|
+
export type WebhookResponseDto = {
|
|
12
|
+
id: string;
|
|
13
|
+
createdDate: string;
|
|
14
|
+
expiresDate: string;
|
|
15
|
+
updatedDate: string;
|
|
16
|
+
callbackUrl: string;
|
|
17
|
+
secret?: string | undefined;
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
/** @internal */
|
|
21
|
+
export const WebhookResponseDto$inboundSchema: z.ZodMiniType<
|
|
22
|
+
WebhookResponseDto,
|
|
23
|
+
unknown
|
|
24
|
+
> = z.object({
|
|
25
|
+
id: types.string(),
|
|
26
|
+
createdDate: types.string(),
|
|
27
|
+
expiresDate: types.string(),
|
|
28
|
+
updatedDate: types.string(),
|
|
29
|
+
callbackUrl: types.string(),
|
|
30
|
+
secret: types.optional(types.string()),
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
export function webhookResponseDtoFromJSON(
|
|
34
|
+
jsonString: string,
|
|
35
|
+
): SafeParseResult<WebhookResponseDto, SDKValidationError> {
|
|
36
|
+
return safeParse(
|
|
37
|
+
jsonString,
|
|
38
|
+
(x) => WebhookResponseDto$inboundSchema.parse(JSON.parse(x)),
|
|
39
|
+
`Failed to parse 'WebhookResponseDto' from JSON`,
|
|
40
|
+
);
|
|
41
|
+
}
|
package/src/sdk/accounting.ts
CHANGED
|
@@ -99,6 +99,7 @@ import { accountingRetrieveVendorCredits } from "../funcs/accounting-retrieve-ve
|
|
|
99
99
|
import { accountingUpdateCustomer } from "../funcs/accounting-update-customer.js";
|
|
100
100
|
import { accountingUploadFile } from "../funcs/accounting-upload-file.js";
|
|
101
101
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
102
|
+
import * as models from "../models/index.js";
|
|
102
103
|
import * as operations from "../models/operations/index.js";
|
|
103
104
|
import { unwrapAsync } from "../types/fp.js";
|
|
104
105
|
import { AccountingBills } from "./accounting-bills.js";
|
|
@@ -847,7 +848,7 @@ export class Accounting extends ClientSDK {
|
|
|
847
848
|
async removePayment(
|
|
848
849
|
request: operations.DeletePaymentRequest,
|
|
849
850
|
options?: RequestOptions,
|
|
850
|
-
): Promise<
|
|
851
|
+
): Promise<operations.DeletePaymentResponse> {
|
|
851
852
|
return unwrapAsync(accountingRemovePayment(
|
|
852
853
|
this,
|
|
853
854
|
request,
|
|
@@ -858,7 +859,7 @@ export class Accounting extends ClientSDK {
|
|
|
858
859
|
async addEventSubscription(
|
|
859
860
|
request: operations.CreateEventSubscriptionsRequest,
|
|
860
861
|
options?: RequestOptions,
|
|
861
|
-
): Promise<
|
|
862
|
+
): Promise<models.BaseResponseDto> {
|
|
862
863
|
return unwrapAsync(accountingAddEventSubscription(
|
|
863
864
|
this,
|
|
864
865
|
request,
|
|
@@ -869,7 +870,7 @@ export class Accounting extends ClientSDK {
|
|
|
869
870
|
async removeEventSubscription(
|
|
870
871
|
request: operations.DeleteEventSubscriptionsRequest,
|
|
871
872
|
options?: RequestOptions,
|
|
872
|
-
): Promise<
|
|
873
|
+
): Promise<models.BaseResponseDto> {
|
|
873
874
|
return unwrapAsync(accountingRemoveEventSubscription(
|
|
874
875
|
this,
|
|
875
876
|
request,
|
|
@@ -879,7 +880,7 @@ export class Accounting extends ClientSDK {
|
|
|
879
880
|
|
|
880
881
|
async getProfile(
|
|
881
882
|
options?: RequestOptions,
|
|
882
|
-
): Promise<
|
|
883
|
+
): Promise<models.BaseResponseDto> {
|
|
883
884
|
return unwrapAsync(accountingGetProfile(
|
|
884
885
|
this,
|
|
885
886
|
options,
|
|
@@ -933,7 +934,7 @@ export class Accounting extends ClientSDK {
|
|
|
933
934
|
async removeBill(
|
|
934
935
|
request: operations.DeleteBillRequest,
|
|
935
936
|
options?: RequestOptions,
|
|
936
|
-
): Promise<
|
|
937
|
+
): Promise<operations.DeleteBillResponse> {
|
|
937
938
|
return unwrapAsync(accountingRemoveBill(
|
|
938
939
|
this,
|
|
939
940
|
request,
|