@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
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod/v4-mini";
|
|
6
|
-
import { MaesnCore } from "../core.js";
|
|
7
|
-
import { encodeSimple } from "../lib/encodings.js";
|
|
8
|
-
import * as M from "../lib/matchers.js";
|
|
9
|
-
import { compactMap } from "../lib/primitives.js";
|
|
10
|
-
import { safeParse } from "../lib/schemas.js";
|
|
11
|
-
import { RequestOptions } from "../lib/sdks.js";
|
|
12
|
-
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
13
|
-
import { pathToFunc } from "../lib/url.js";
|
|
14
|
-
import {
|
|
15
|
-
ConnectionError,
|
|
16
|
-
InvalidRequestError,
|
|
17
|
-
RequestAbortedError,
|
|
18
|
-
RequestTimeoutError,
|
|
19
|
-
UnexpectedClientError,
|
|
20
|
-
} from "../models/errors/http-client-errors.js";
|
|
21
|
-
import { MaesnError } from "../models/errors/maesn-error.js";
|
|
22
|
-
import { ResponseValidationError } from "../models/errors/response-validation-error.js";
|
|
23
|
-
import { SDKValidationError } from "../models/errors/sdk-validation-error.js";
|
|
24
|
-
import * as operations from "../models/operations/index.js";
|
|
25
|
-
import { APICall, APIPromise } from "../types/async.js";
|
|
26
|
-
import { Result } from "../types/fp.js";
|
|
27
|
-
import * as types$ from "../types/primitives.js";
|
|
28
|
-
|
|
29
|
-
export function webhooksDeleteWebhookTenant(
|
|
30
|
-
client: MaesnCore,
|
|
31
|
-
request: operations.DeleteWebhookTenantRequest,
|
|
32
|
-
options?: RequestOptions,
|
|
33
|
-
): APIPromise<
|
|
34
|
-
Result<
|
|
35
|
-
string,
|
|
36
|
-
| MaesnError
|
|
37
|
-
| ResponseValidationError
|
|
38
|
-
| ConnectionError
|
|
39
|
-
| RequestAbortedError
|
|
40
|
-
| RequestTimeoutError
|
|
41
|
-
| InvalidRequestError
|
|
42
|
-
| UnexpectedClientError
|
|
43
|
-
| SDKValidationError
|
|
44
|
-
>
|
|
45
|
-
> {
|
|
46
|
-
return new APIPromise($do(
|
|
47
|
-
client,
|
|
48
|
-
request,
|
|
49
|
-
options,
|
|
50
|
-
));
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
async function $do(
|
|
54
|
-
client: MaesnCore,
|
|
55
|
-
request: operations.DeleteWebhookTenantRequest,
|
|
56
|
-
options?: RequestOptions,
|
|
57
|
-
): Promise<
|
|
58
|
-
[
|
|
59
|
-
Result<
|
|
60
|
-
string,
|
|
61
|
-
| MaesnError
|
|
62
|
-
| ResponseValidationError
|
|
63
|
-
| ConnectionError
|
|
64
|
-
| RequestAbortedError
|
|
65
|
-
| RequestTimeoutError
|
|
66
|
-
| InvalidRequestError
|
|
67
|
-
| UnexpectedClientError
|
|
68
|
-
| SDKValidationError
|
|
69
|
-
>,
|
|
70
|
-
APICall,
|
|
71
|
-
]
|
|
72
|
-
> {
|
|
73
|
-
const parsed = safeParse(
|
|
74
|
-
request,
|
|
75
|
-
(value) =>
|
|
76
|
-
z.parse(operations.DeleteWebhookTenantRequest$outboundSchema, value),
|
|
77
|
-
"Input validation failed",
|
|
78
|
-
);
|
|
79
|
-
if (!parsed.ok) {
|
|
80
|
-
return [parsed, { status: "invalid" }];
|
|
81
|
-
}
|
|
82
|
-
const payload = parsed.value;
|
|
83
|
-
const body = null;
|
|
84
|
-
|
|
85
|
-
const pathParams = {
|
|
86
|
-
webhookId: encodeSimple("webhookId", payload.webhookId, {
|
|
87
|
-
explode: false,
|
|
88
|
-
charEncoding: "percent",
|
|
89
|
-
}),
|
|
90
|
-
};
|
|
91
|
-
const path = pathToFunc("/tenant/{webhookId}")(pathParams);
|
|
92
|
-
|
|
93
|
-
const headers = new Headers(compactMap({
|
|
94
|
-
Accept: "application/json",
|
|
95
|
-
}));
|
|
96
|
-
|
|
97
|
-
const securityInput = await extractSecurity(client._options.security);
|
|
98
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
99
|
-
|
|
100
|
-
const context = {
|
|
101
|
-
options: client._options,
|
|
102
|
-
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
103
|
-
operationID: "deleteWebhookTenant",
|
|
104
|
-
oAuth2Scopes: null,
|
|
105
|
-
|
|
106
|
-
resolvedSecurity: requestSecurity,
|
|
107
|
-
|
|
108
|
-
securitySource: client._options.security,
|
|
109
|
-
retryConfig: options?.retries
|
|
110
|
-
|| client._options.retryConfig
|
|
111
|
-
|| { strategy: "none" },
|
|
112
|
-
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
113
|
-
};
|
|
114
|
-
|
|
115
|
-
const requestRes = client._createRequest(context, {
|
|
116
|
-
security: requestSecurity,
|
|
117
|
-
method: "DELETE",
|
|
118
|
-
baseURL: options?.serverURL,
|
|
119
|
-
path: path,
|
|
120
|
-
headers: headers,
|
|
121
|
-
body: body,
|
|
122
|
-
userAgent: client._options.userAgent,
|
|
123
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
124
|
-
}, options);
|
|
125
|
-
if (!requestRes.ok) {
|
|
126
|
-
return [requestRes, { status: "invalid" }];
|
|
127
|
-
}
|
|
128
|
-
const req = requestRes.value;
|
|
129
|
-
|
|
130
|
-
const doResult = await client._do(req, {
|
|
131
|
-
context,
|
|
132
|
-
errorCodes: ["4XX", "5XX"],
|
|
133
|
-
retryConfig: context.retryConfig,
|
|
134
|
-
retryCodes: context.retryCodes,
|
|
135
|
-
});
|
|
136
|
-
if (!doResult.ok) {
|
|
137
|
-
return [doResult, { status: "request-error", request: req }];
|
|
138
|
-
}
|
|
139
|
-
const response = doResult.value;
|
|
140
|
-
|
|
141
|
-
const [result] = await M.match<
|
|
142
|
-
string,
|
|
143
|
-
| MaesnError
|
|
144
|
-
| ResponseValidationError
|
|
145
|
-
| ConnectionError
|
|
146
|
-
| RequestAbortedError
|
|
147
|
-
| RequestTimeoutError
|
|
148
|
-
| InvalidRequestError
|
|
149
|
-
| UnexpectedClientError
|
|
150
|
-
| SDKValidationError
|
|
151
|
-
>(
|
|
152
|
-
M.json(200, types$.string()),
|
|
153
|
-
M.fail("4XX"),
|
|
154
|
-
M.fail("5XX"),
|
|
155
|
-
)(response, req);
|
|
156
|
-
if (!result.ok) {
|
|
157
|
-
return [result, { status: "complete", request: req, response }];
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
return [result, { status: "complete", request: req, response }];
|
|
161
|
-
}
|
|
@@ -1,268 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
import * as z from "zod/v4-mini";
|
|
6
|
-
import { ClosedEnum } from "../types/enums.js";
|
|
7
|
-
|
|
8
|
-
export const BookingEntryRequestDtoBookingType = {
|
|
9
|
-
PartialInvoice: "PARTIAL_INVOICE",
|
|
10
|
-
AdvancedPaymentReceived: "ADVANCED_PAYMENT_RECEIVED",
|
|
11
|
-
FinalInvoice: "FINAL_INVOICE",
|
|
12
|
-
Other: "OTHER",
|
|
13
|
-
} as const;
|
|
14
|
-
export type BookingEntryRequestDtoBookingType = ClosedEnum<
|
|
15
|
-
typeof BookingEntryRequestDtoBookingType
|
|
16
|
-
>;
|
|
17
|
-
|
|
18
|
-
export const BookingEntryRequestDtoCurrency = {
|
|
19
|
-
Aed: "AED",
|
|
20
|
-
Afn: "AFN",
|
|
21
|
-
All: "ALL",
|
|
22
|
-
Amd: "AMD",
|
|
23
|
-
Ang: "ANG",
|
|
24
|
-
Aoa: "AOA",
|
|
25
|
-
Ars: "ARS",
|
|
26
|
-
Aud: "AUD",
|
|
27
|
-
Awg: "AWG",
|
|
28
|
-
Azn: "AZN",
|
|
29
|
-
Bam: "BAM",
|
|
30
|
-
Bbd: "BBD",
|
|
31
|
-
Bdt: "BDT",
|
|
32
|
-
Bgn: "BGN",
|
|
33
|
-
Bhd: "BHD",
|
|
34
|
-
Bif: "BIF",
|
|
35
|
-
Bmd: "BMD",
|
|
36
|
-
Bnd: "BND",
|
|
37
|
-
Bob: "BOB",
|
|
38
|
-
Brl: "BRL",
|
|
39
|
-
Bsd: "BSD",
|
|
40
|
-
Btn: "BTN",
|
|
41
|
-
Bwp: "BWP",
|
|
42
|
-
Byr: "BYR",
|
|
43
|
-
Bzd: "BZD",
|
|
44
|
-
Cad: "CAD",
|
|
45
|
-
Cdf: "CDF",
|
|
46
|
-
Chf: "CHF",
|
|
47
|
-
Clp: "CLP",
|
|
48
|
-
Cny: "CNY",
|
|
49
|
-
Cop: "COP",
|
|
50
|
-
Crc: "CRC",
|
|
51
|
-
Cuc: "CUC",
|
|
52
|
-
Cve: "CVE",
|
|
53
|
-
Czk: "CZK",
|
|
54
|
-
Djf: "DJF",
|
|
55
|
-
Dkk: "DKK",
|
|
56
|
-
Dop: "DOP",
|
|
57
|
-
Dzd: "DZD",
|
|
58
|
-
Eek: "EEK",
|
|
59
|
-
Egp: "EGP",
|
|
60
|
-
Ern: "ERN",
|
|
61
|
-
Etb: "ETB",
|
|
62
|
-
Eur: "EUR",
|
|
63
|
-
Fjd: "FJD",
|
|
64
|
-
Fkp: "FKP",
|
|
65
|
-
Gbp: "GBP",
|
|
66
|
-
Gel: "GEL",
|
|
67
|
-
Ghs: "GHS",
|
|
68
|
-
Gip: "GIP",
|
|
69
|
-
Gmd: "GMD",
|
|
70
|
-
Gnf: "GNF",
|
|
71
|
-
Gqe: "GQE",
|
|
72
|
-
Gtq: "GTQ",
|
|
73
|
-
Gyd: "GYD",
|
|
74
|
-
Hkd: "HKD",
|
|
75
|
-
Hnl: "HNL",
|
|
76
|
-
Hrk: "HRK",
|
|
77
|
-
Htg: "HTG",
|
|
78
|
-
Huf: "HUF",
|
|
79
|
-
Idr: "IDR",
|
|
80
|
-
Ils: "ILS",
|
|
81
|
-
Inr: "INR",
|
|
82
|
-
Iqd: "IQD",
|
|
83
|
-
Irr: "IRR",
|
|
84
|
-
Isk: "ISK",
|
|
85
|
-
Jmd: "JMD",
|
|
86
|
-
Jod: "JOD",
|
|
87
|
-
Jpy: "JPY",
|
|
88
|
-
Kes: "KES",
|
|
89
|
-
Kgs: "KGS",
|
|
90
|
-
Khr: "KHR",
|
|
91
|
-
Kmf: "KMF",
|
|
92
|
-
Kpw: "KPW",
|
|
93
|
-
Krw: "KRW",
|
|
94
|
-
Kwd: "KWD",
|
|
95
|
-
Kyd: "KYD",
|
|
96
|
-
Kzt: "KZT",
|
|
97
|
-
Lak: "LAK",
|
|
98
|
-
Lbp: "LBP",
|
|
99
|
-
Lkr: "LKR",
|
|
100
|
-
Lrd: "LRD",
|
|
101
|
-
Lsl: "LSL",
|
|
102
|
-
Ltl: "LTL",
|
|
103
|
-
Lvl: "LVL",
|
|
104
|
-
Lyd: "LYD",
|
|
105
|
-
Mad: "MAD",
|
|
106
|
-
Mdl: "MDL",
|
|
107
|
-
Mga: "MGA",
|
|
108
|
-
Mkd: "MKD",
|
|
109
|
-
Mmk: "MMK",
|
|
110
|
-
Mnt: "MNT",
|
|
111
|
-
Mop: "MOP",
|
|
112
|
-
Mro: "MRO",
|
|
113
|
-
Mur: "MUR",
|
|
114
|
-
Mvr: "MVR",
|
|
115
|
-
Mwk: "MWK",
|
|
116
|
-
Mxn: "MXN",
|
|
117
|
-
Myr: "MYR",
|
|
118
|
-
Mzm: "MZM",
|
|
119
|
-
Nad: "NAD",
|
|
120
|
-
Ngn: "NGN",
|
|
121
|
-
Nio: "NIO",
|
|
122
|
-
Nok: "NOK",
|
|
123
|
-
Npr: "NPR",
|
|
124
|
-
Nzd: "NZD",
|
|
125
|
-
Omr: "OMR",
|
|
126
|
-
Pab: "PAB",
|
|
127
|
-
Pen: "PEN",
|
|
128
|
-
Pgk: "PGK",
|
|
129
|
-
Php: "PHP",
|
|
130
|
-
Pkr: "PKR",
|
|
131
|
-
Pln: "PLN",
|
|
132
|
-
Pyg: "PYG",
|
|
133
|
-
Qar: "QAR",
|
|
134
|
-
Ron: "RON",
|
|
135
|
-
Rsd: "RSD",
|
|
136
|
-
Rub: "RUB",
|
|
137
|
-
Sar: "SAR",
|
|
138
|
-
Sbd: "SBD",
|
|
139
|
-
Scr: "SCR",
|
|
140
|
-
Sdg: "SDG",
|
|
141
|
-
Sek: "SEK",
|
|
142
|
-
Sgd: "SGD",
|
|
143
|
-
Shp: "SHP",
|
|
144
|
-
Sll: "SLL",
|
|
145
|
-
Sos: "SOS",
|
|
146
|
-
Srd: "SRD",
|
|
147
|
-
Syp: "SYP",
|
|
148
|
-
Szl: "SZL",
|
|
149
|
-
Thb: "THB",
|
|
150
|
-
Tjs: "TJS",
|
|
151
|
-
Tmt: "TMT",
|
|
152
|
-
Tnd: "TND",
|
|
153
|
-
Try: "TRY",
|
|
154
|
-
Ttd: "TTD",
|
|
155
|
-
Twd: "TWD",
|
|
156
|
-
Tzs: "TZS",
|
|
157
|
-
Uah: "UAH",
|
|
158
|
-
Ugx: "UGX",
|
|
159
|
-
Usd: "USD",
|
|
160
|
-
Uyu: "UYU",
|
|
161
|
-
Uzs: "UZS",
|
|
162
|
-
Veb: "VEB",
|
|
163
|
-
Vnd: "VND",
|
|
164
|
-
Vuv: "VUV",
|
|
165
|
-
Wst: "WST",
|
|
166
|
-
Xaf: "XAF",
|
|
167
|
-
Xcd: "XCD",
|
|
168
|
-
Xdr: "XDR",
|
|
169
|
-
Xof: "XOF",
|
|
170
|
-
Xpf: "XPF",
|
|
171
|
-
Yer: "YER",
|
|
172
|
-
Zar: "ZAR",
|
|
173
|
-
Zmk: "ZMK",
|
|
174
|
-
Zwr: "ZWR",
|
|
175
|
-
} as const;
|
|
176
|
-
export type BookingEntryRequestDtoCurrency = ClosedEnum<
|
|
177
|
-
typeof BookingEntryRequestDtoCurrency
|
|
178
|
-
>;
|
|
179
|
-
|
|
180
|
-
export const BookingEntryRequestDtoDebitCreditIndicator = {
|
|
181
|
-
Debit: "DEBIT",
|
|
182
|
-
Credit: "CREDIT",
|
|
183
|
-
} as const;
|
|
184
|
-
export type BookingEntryRequestDtoDebitCreditIndicator = ClosedEnum<
|
|
185
|
-
typeof BookingEntryRequestDtoDebitCreditIndicator
|
|
186
|
-
>;
|
|
187
|
-
|
|
188
|
-
export type BookingEntryRequestDto = {
|
|
189
|
-
accountNumber?: number | undefined;
|
|
190
|
-
amount?: number | undefined;
|
|
191
|
-
bookingDate?: string | undefined;
|
|
192
|
-
bookingTaxCode?: string | undefined;
|
|
193
|
-
bookingType?: BookingEntryRequestDtoBookingType | undefined;
|
|
194
|
-
contraAccountNumber?: number | undefined;
|
|
195
|
-
dimension1?: string | undefined;
|
|
196
|
-
dimension2?: string | undefined;
|
|
197
|
-
currency?: BookingEntryRequestDtoCurrency | undefined;
|
|
198
|
-
debitCreditIndicator?: BookingEntryRequestDtoDebitCreditIndicator | undefined;
|
|
199
|
-
description?: string | undefined;
|
|
200
|
-
documentNumber?: string | undefined;
|
|
201
|
-
dueDate?: string | undefined;
|
|
202
|
-
fileId?: string | undefined;
|
|
203
|
-
};
|
|
204
|
-
|
|
205
|
-
/** @internal */
|
|
206
|
-
export const BookingEntryRequestDtoBookingType$outboundSchema: z.ZodMiniEnum<
|
|
207
|
-
typeof BookingEntryRequestDtoBookingType
|
|
208
|
-
> = z.enum(BookingEntryRequestDtoBookingType);
|
|
209
|
-
|
|
210
|
-
/** @internal */
|
|
211
|
-
export const BookingEntryRequestDtoCurrency$outboundSchema: z.ZodMiniEnum<
|
|
212
|
-
typeof BookingEntryRequestDtoCurrency
|
|
213
|
-
> = z.enum(BookingEntryRequestDtoCurrency);
|
|
214
|
-
|
|
215
|
-
/** @internal */
|
|
216
|
-
export const BookingEntryRequestDtoDebitCreditIndicator$outboundSchema:
|
|
217
|
-
z.ZodMiniEnum<typeof BookingEntryRequestDtoDebitCreditIndicator> = z.enum(
|
|
218
|
-
BookingEntryRequestDtoDebitCreditIndicator,
|
|
219
|
-
);
|
|
220
|
-
|
|
221
|
-
/** @internal */
|
|
222
|
-
export type BookingEntryRequestDto$Outbound = {
|
|
223
|
-
accountNumber?: number | undefined;
|
|
224
|
-
amount?: number | undefined;
|
|
225
|
-
bookingDate?: string | undefined;
|
|
226
|
-
bookingTaxCode?: string | undefined;
|
|
227
|
-
bookingType?: string | undefined;
|
|
228
|
-
contraAccountNumber?: number | undefined;
|
|
229
|
-
dimension1?: string | undefined;
|
|
230
|
-
dimension2?: string | undefined;
|
|
231
|
-
currency?: string | undefined;
|
|
232
|
-
debitCreditIndicator?: string | undefined;
|
|
233
|
-
description?: string | undefined;
|
|
234
|
-
documentNumber?: string | undefined;
|
|
235
|
-
dueDate?: string | undefined;
|
|
236
|
-
fileId?: string | undefined;
|
|
237
|
-
};
|
|
238
|
-
|
|
239
|
-
/** @internal */
|
|
240
|
-
export const BookingEntryRequestDto$outboundSchema: z.ZodMiniType<
|
|
241
|
-
BookingEntryRequestDto$Outbound,
|
|
242
|
-
BookingEntryRequestDto
|
|
243
|
-
> = z.object({
|
|
244
|
-
accountNumber: z.optional(z.number()),
|
|
245
|
-
amount: z.optional(z.number()),
|
|
246
|
-
bookingDate: z.optional(z.string()),
|
|
247
|
-
bookingTaxCode: z.optional(z.string()),
|
|
248
|
-
bookingType: z.optional(BookingEntryRequestDtoBookingType$outboundSchema),
|
|
249
|
-
contraAccountNumber: z.optional(z.number()),
|
|
250
|
-
dimension1: z.optional(z.string()),
|
|
251
|
-
dimension2: z.optional(z.string()),
|
|
252
|
-
currency: z.optional(BookingEntryRequestDtoCurrency$outboundSchema),
|
|
253
|
-
debitCreditIndicator: z.optional(
|
|
254
|
-
BookingEntryRequestDtoDebitCreditIndicator$outboundSchema,
|
|
255
|
-
),
|
|
256
|
-
description: z.optional(z.string()),
|
|
257
|
-
documentNumber: z.optional(z.string()),
|
|
258
|
-
dueDate: z.optional(z.string()),
|
|
259
|
-
fileId: z.optional(z.string()),
|
|
260
|
-
});
|
|
261
|
-
|
|
262
|
-
export function bookingEntryRequestDtoToJSON(
|
|
263
|
-
bookingEntryRequestDto: BookingEntryRequestDto,
|
|
264
|
-
): string {
|
|
265
|
-
return JSON.stringify(
|
|
266
|
-
BookingEntryRequestDto$outboundSchema.parse(bookingEntryRequestDto),
|
|
267
|
-
);
|
|
268
|
-
}
|
|
@@ -1,260 +0,0 @@
|
|
|
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 * as openEnums from "../types/enums.js";
|
|
8
|
-
import { OpenEnum } from "../types/enums.js";
|
|
9
|
-
import { Result as SafeParseResult } from "../types/fp.js";
|
|
10
|
-
import * as types from "../types/primitives.js";
|
|
11
|
-
import { SDKValidationError } from "./errors/sdk-validation-error.js";
|
|
12
|
-
|
|
13
|
-
export const BookingEntryResponseDtoBookingType = {
|
|
14
|
-
PartialInvoice: "PARTIAL_INVOICE",
|
|
15
|
-
AdvancedPaymentReceived: "ADVANCED_PAYMENT_RECEIVED",
|
|
16
|
-
FinalInvoice: "FINAL_INVOICE",
|
|
17
|
-
Other: "OTHER",
|
|
18
|
-
} as const;
|
|
19
|
-
export type BookingEntryResponseDtoBookingType = OpenEnum<
|
|
20
|
-
typeof BookingEntryResponseDtoBookingType
|
|
21
|
-
>;
|
|
22
|
-
|
|
23
|
-
export const BookingEntryResponseDtoCurrency = {
|
|
24
|
-
Aed: "AED",
|
|
25
|
-
Afn: "AFN",
|
|
26
|
-
All: "ALL",
|
|
27
|
-
Amd: "AMD",
|
|
28
|
-
Ang: "ANG",
|
|
29
|
-
Aoa: "AOA",
|
|
30
|
-
Ars: "ARS",
|
|
31
|
-
Aud: "AUD",
|
|
32
|
-
Awg: "AWG",
|
|
33
|
-
Azn: "AZN",
|
|
34
|
-
Bam: "BAM",
|
|
35
|
-
Bbd: "BBD",
|
|
36
|
-
Bdt: "BDT",
|
|
37
|
-
Bgn: "BGN",
|
|
38
|
-
Bhd: "BHD",
|
|
39
|
-
Bif: "BIF",
|
|
40
|
-
Bmd: "BMD",
|
|
41
|
-
Bnd: "BND",
|
|
42
|
-
Bob: "BOB",
|
|
43
|
-
Brl: "BRL",
|
|
44
|
-
Bsd: "BSD",
|
|
45
|
-
Btn: "BTN",
|
|
46
|
-
Bwp: "BWP",
|
|
47
|
-
Byr: "BYR",
|
|
48
|
-
Bzd: "BZD",
|
|
49
|
-
Cad: "CAD",
|
|
50
|
-
Cdf: "CDF",
|
|
51
|
-
Chf: "CHF",
|
|
52
|
-
Clp: "CLP",
|
|
53
|
-
Cny: "CNY",
|
|
54
|
-
Cop: "COP",
|
|
55
|
-
Crc: "CRC",
|
|
56
|
-
Cuc: "CUC",
|
|
57
|
-
Cve: "CVE",
|
|
58
|
-
Czk: "CZK",
|
|
59
|
-
Djf: "DJF",
|
|
60
|
-
Dkk: "DKK",
|
|
61
|
-
Dop: "DOP",
|
|
62
|
-
Dzd: "DZD",
|
|
63
|
-
Eek: "EEK",
|
|
64
|
-
Egp: "EGP",
|
|
65
|
-
Ern: "ERN",
|
|
66
|
-
Etb: "ETB",
|
|
67
|
-
Eur: "EUR",
|
|
68
|
-
Fjd: "FJD",
|
|
69
|
-
Fkp: "FKP",
|
|
70
|
-
Gbp: "GBP",
|
|
71
|
-
Gel: "GEL",
|
|
72
|
-
Ghs: "GHS",
|
|
73
|
-
Gip: "GIP",
|
|
74
|
-
Gmd: "GMD",
|
|
75
|
-
Gnf: "GNF",
|
|
76
|
-
Gqe: "GQE",
|
|
77
|
-
Gtq: "GTQ",
|
|
78
|
-
Gyd: "GYD",
|
|
79
|
-
Hkd: "HKD",
|
|
80
|
-
Hnl: "HNL",
|
|
81
|
-
Hrk: "HRK",
|
|
82
|
-
Htg: "HTG",
|
|
83
|
-
Huf: "HUF",
|
|
84
|
-
Idr: "IDR",
|
|
85
|
-
Ils: "ILS",
|
|
86
|
-
Inr: "INR",
|
|
87
|
-
Iqd: "IQD",
|
|
88
|
-
Irr: "IRR",
|
|
89
|
-
Isk: "ISK",
|
|
90
|
-
Jmd: "JMD",
|
|
91
|
-
Jod: "JOD",
|
|
92
|
-
Jpy: "JPY",
|
|
93
|
-
Kes: "KES",
|
|
94
|
-
Kgs: "KGS",
|
|
95
|
-
Khr: "KHR",
|
|
96
|
-
Kmf: "KMF",
|
|
97
|
-
Kpw: "KPW",
|
|
98
|
-
Krw: "KRW",
|
|
99
|
-
Kwd: "KWD",
|
|
100
|
-
Kyd: "KYD",
|
|
101
|
-
Kzt: "KZT",
|
|
102
|
-
Lak: "LAK",
|
|
103
|
-
Lbp: "LBP",
|
|
104
|
-
Lkr: "LKR",
|
|
105
|
-
Lrd: "LRD",
|
|
106
|
-
Lsl: "LSL",
|
|
107
|
-
Ltl: "LTL",
|
|
108
|
-
Lvl: "LVL",
|
|
109
|
-
Lyd: "LYD",
|
|
110
|
-
Mad: "MAD",
|
|
111
|
-
Mdl: "MDL",
|
|
112
|
-
Mga: "MGA",
|
|
113
|
-
Mkd: "MKD",
|
|
114
|
-
Mmk: "MMK",
|
|
115
|
-
Mnt: "MNT",
|
|
116
|
-
Mop: "MOP",
|
|
117
|
-
Mro: "MRO",
|
|
118
|
-
Mur: "MUR",
|
|
119
|
-
Mvr: "MVR",
|
|
120
|
-
Mwk: "MWK",
|
|
121
|
-
Mxn: "MXN",
|
|
122
|
-
Myr: "MYR",
|
|
123
|
-
Mzm: "MZM",
|
|
124
|
-
Nad: "NAD",
|
|
125
|
-
Ngn: "NGN",
|
|
126
|
-
Nio: "NIO",
|
|
127
|
-
Nok: "NOK",
|
|
128
|
-
Npr: "NPR",
|
|
129
|
-
Nzd: "NZD",
|
|
130
|
-
Omr: "OMR",
|
|
131
|
-
Pab: "PAB",
|
|
132
|
-
Pen: "PEN",
|
|
133
|
-
Pgk: "PGK",
|
|
134
|
-
Php: "PHP",
|
|
135
|
-
Pkr: "PKR",
|
|
136
|
-
Pln: "PLN",
|
|
137
|
-
Pyg: "PYG",
|
|
138
|
-
Qar: "QAR",
|
|
139
|
-
Ron: "RON",
|
|
140
|
-
Rsd: "RSD",
|
|
141
|
-
Rub: "RUB",
|
|
142
|
-
Sar: "SAR",
|
|
143
|
-
Sbd: "SBD",
|
|
144
|
-
Scr: "SCR",
|
|
145
|
-
Sdg: "SDG",
|
|
146
|
-
Sek: "SEK",
|
|
147
|
-
Sgd: "SGD",
|
|
148
|
-
Shp: "SHP",
|
|
149
|
-
Sll: "SLL",
|
|
150
|
-
Sos: "SOS",
|
|
151
|
-
Srd: "SRD",
|
|
152
|
-
Syp: "SYP",
|
|
153
|
-
Szl: "SZL",
|
|
154
|
-
Thb: "THB",
|
|
155
|
-
Tjs: "TJS",
|
|
156
|
-
Tmt: "TMT",
|
|
157
|
-
Tnd: "TND",
|
|
158
|
-
Try: "TRY",
|
|
159
|
-
Ttd: "TTD",
|
|
160
|
-
Twd: "TWD",
|
|
161
|
-
Tzs: "TZS",
|
|
162
|
-
Uah: "UAH",
|
|
163
|
-
Ugx: "UGX",
|
|
164
|
-
Usd: "USD",
|
|
165
|
-
Uyu: "UYU",
|
|
166
|
-
Uzs: "UZS",
|
|
167
|
-
Veb: "VEB",
|
|
168
|
-
Vnd: "VND",
|
|
169
|
-
Vuv: "VUV",
|
|
170
|
-
Wst: "WST",
|
|
171
|
-
Xaf: "XAF",
|
|
172
|
-
Xcd: "XCD",
|
|
173
|
-
Xdr: "XDR",
|
|
174
|
-
Xof: "XOF",
|
|
175
|
-
Xpf: "XPF",
|
|
176
|
-
Yer: "YER",
|
|
177
|
-
Zar: "ZAR",
|
|
178
|
-
Zmk: "ZMK",
|
|
179
|
-
Zwr: "ZWR",
|
|
180
|
-
} as const;
|
|
181
|
-
export type BookingEntryResponseDtoCurrency = OpenEnum<
|
|
182
|
-
typeof BookingEntryResponseDtoCurrency
|
|
183
|
-
>;
|
|
184
|
-
|
|
185
|
-
export const BookingEntryResponseDtoDebitCreditIndicator = {
|
|
186
|
-
Debit: "DEBIT",
|
|
187
|
-
Credit: "CREDIT",
|
|
188
|
-
} as const;
|
|
189
|
-
export type BookingEntryResponseDtoDebitCreditIndicator = OpenEnum<
|
|
190
|
-
typeof BookingEntryResponseDtoDebitCreditIndicator
|
|
191
|
-
>;
|
|
192
|
-
|
|
193
|
-
export type BookingEntryResponseDto = {
|
|
194
|
-
id: string | null;
|
|
195
|
-
accountNumber: number | null;
|
|
196
|
-
amount: number | null;
|
|
197
|
-
bookingDate: string | null;
|
|
198
|
-
bookingTaxCode: string | null;
|
|
199
|
-
bookingType: BookingEntryResponseDtoBookingType | null;
|
|
200
|
-
contraAccountNumber: number | null;
|
|
201
|
-
dimension1: string | null;
|
|
202
|
-
dimension2: string | null;
|
|
203
|
-
currency: BookingEntryResponseDtoCurrency | null;
|
|
204
|
-
debitCreditIndicator: BookingEntryResponseDtoDebitCreditIndicator | null;
|
|
205
|
-
description: string | null;
|
|
206
|
-
documentNumber: string | null;
|
|
207
|
-
dueDate: string | null;
|
|
208
|
-
fileId: string | null;
|
|
209
|
-
};
|
|
210
|
-
|
|
211
|
-
/** @internal */
|
|
212
|
-
export const BookingEntryResponseDtoBookingType$inboundSchema: z.ZodMiniType<
|
|
213
|
-
BookingEntryResponseDtoBookingType,
|
|
214
|
-
unknown
|
|
215
|
-
> = openEnums.inboundSchema(BookingEntryResponseDtoBookingType);
|
|
216
|
-
|
|
217
|
-
/** @internal */
|
|
218
|
-
export const BookingEntryResponseDtoCurrency$inboundSchema: z.ZodMiniType<
|
|
219
|
-
BookingEntryResponseDtoCurrency,
|
|
220
|
-
unknown
|
|
221
|
-
> = openEnums.inboundSchema(BookingEntryResponseDtoCurrency);
|
|
222
|
-
|
|
223
|
-
/** @internal */
|
|
224
|
-
export const BookingEntryResponseDtoDebitCreditIndicator$inboundSchema:
|
|
225
|
-
z.ZodMiniType<BookingEntryResponseDtoDebitCreditIndicator, unknown> =
|
|
226
|
-
openEnums.inboundSchema(BookingEntryResponseDtoDebitCreditIndicator);
|
|
227
|
-
|
|
228
|
-
/** @internal */
|
|
229
|
-
export const BookingEntryResponseDto$inboundSchema: z.ZodMiniType<
|
|
230
|
-
BookingEntryResponseDto,
|
|
231
|
-
unknown
|
|
232
|
-
> = z.object({
|
|
233
|
-
id: types.nullable(types.string()),
|
|
234
|
-
accountNumber: types.nullable(types.number()),
|
|
235
|
-
amount: types.nullable(types.number()),
|
|
236
|
-
bookingDate: types.nullable(types.string()),
|
|
237
|
-
bookingTaxCode: types.nullable(types.string()),
|
|
238
|
-
bookingType: types.nullable(BookingEntryResponseDtoBookingType$inboundSchema),
|
|
239
|
-
contraAccountNumber: types.nullable(types.number()),
|
|
240
|
-
dimension1: types.nullable(types.string()),
|
|
241
|
-
dimension2: types.nullable(types.string()),
|
|
242
|
-
currency: types.nullable(BookingEntryResponseDtoCurrency$inboundSchema),
|
|
243
|
-
debitCreditIndicator: types.nullable(
|
|
244
|
-
BookingEntryResponseDtoDebitCreditIndicator$inboundSchema,
|
|
245
|
-
),
|
|
246
|
-
description: types.nullable(types.string()),
|
|
247
|
-
documentNumber: types.nullable(types.string()),
|
|
248
|
-
dueDate: types.nullable(types.string()),
|
|
249
|
-
fileId: types.nullable(types.string()),
|
|
250
|
-
});
|
|
251
|
-
|
|
252
|
-
export function bookingEntryResponseDtoFromJSON(
|
|
253
|
-
jsonString: string,
|
|
254
|
-
): SafeParseResult<BookingEntryResponseDto, SDKValidationError> {
|
|
255
|
-
return safeParse(
|
|
256
|
-
jsonString,
|
|
257
|
-
(x) => BookingEntryResponseDto$inboundSchema.parse(JSON.parse(x)),
|
|
258
|
-
`Failed to parse 'BookingEntryResponseDto' from JSON`,
|
|
259
|
-
);
|
|
260
|
-
}
|