@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,87 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
import * as z from "zod/v4-mini";
|
|
5
|
-
import { encodeFormQuery, encodeJSON, encodeSimple } from "../lib/encodings.js";
|
|
6
|
-
import * as M from "../lib/matchers.js";
|
|
7
|
-
import { compactMap } from "../lib/primitives.js";
|
|
8
|
-
import { safeParse } from "../lib/schemas.js";
|
|
9
|
-
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
10
|
-
import { pathToFunc } from "../lib/url.js";
|
|
11
|
-
import * as operations from "../models/operations/index.js";
|
|
12
|
-
import { APIPromise } from "../types/async.js";
|
|
13
|
-
export function accountingPatchLineItem(client, request, options) {
|
|
14
|
-
return new APIPromise($do(client, request, options));
|
|
15
|
-
}
|
|
16
|
-
async function $do(client, request, options) {
|
|
17
|
-
const parsed = safeParse(request, (value) => z.parse(operations.PatchLineItemRequest$outboundSchema, value), "Input validation failed");
|
|
18
|
-
if (!parsed.ok) {
|
|
19
|
-
return [parsed, { status: "invalid" }];
|
|
20
|
-
}
|
|
21
|
-
const payload = parsed.value;
|
|
22
|
-
const body = encodeJSON("body", payload.body, { explode: true });
|
|
23
|
-
const pathParams = {
|
|
24
|
-
invoiceId: encodeSimple("invoiceId", payload.invoiceId, {
|
|
25
|
-
explode: false,
|
|
26
|
-
charEncoding: "percent",
|
|
27
|
-
}),
|
|
28
|
-
lineItemId: encodeSimple("lineItemId", payload.lineItemId, {
|
|
29
|
-
explode: false,
|
|
30
|
-
charEncoding: "percent",
|
|
31
|
-
}),
|
|
32
|
-
};
|
|
33
|
-
const path = pathToFunc("/accounting/invoices/{invoiceId}/lineItems/{lineItemId}")(pathParams);
|
|
34
|
-
const query = encodeFormQuery({
|
|
35
|
-
"companyId": payload.companyId,
|
|
36
|
-
"environmentName": payload.environmentName,
|
|
37
|
-
});
|
|
38
|
-
const headers = new Headers(compactMap({
|
|
39
|
-
"Content-Type": "application/json",
|
|
40
|
-
Accept: "application/json",
|
|
41
|
-
}));
|
|
42
|
-
const securityInput = await extractSecurity(client._options.security);
|
|
43
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
44
|
-
const context = {
|
|
45
|
-
options: client._options,
|
|
46
|
-
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
47
|
-
operationID: "patchLineItem",
|
|
48
|
-
oAuth2Scopes: null,
|
|
49
|
-
resolvedSecurity: requestSecurity,
|
|
50
|
-
securitySource: client._options.security,
|
|
51
|
-
retryConfig: options?.retries
|
|
52
|
-
|| client._options.retryConfig
|
|
53
|
-
|| { strategy: "none" },
|
|
54
|
-
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
55
|
-
};
|
|
56
|
-
const requestRes = client._createRequest(context, {
|
|
57
|
-
security: requestSecurity,
|
|
58
|
-
method: "PATCH",
|
|
59
|
-
baseURL: options?.serverURL,
|
|
60
|
-
path: path,
|
|
61
|
-
headers: headers,
|
|
62
|
-
query: query,
|
|
63
|
-
body: body,
|
|
64
|
-
userAgent: client._options.userAgent,
|
|
65
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
66
|
-
}, options);
|
|
67
|
-
if (!requestRes.ok) {
|
|
68
|
-
return [requestRes, { status: "invalid" }];
|
|
69
|
-
}
|
|
70
|
-
const req = requestRes.value;
|
|
71
|
-
const doResult = await client._do(req, {
|
|
72
|
-
context,
|
|
73
|
-
errorCodes: ["4XX", "5XX"],
|
|
74
|
-
retryConfig: context.retryConfig,
|
|
75
|
-
retryCodes: context.retryCodes,
|
|
76
|
-
});
|
|
77
|
-
if (!doResult.ok) {
|
|
78
|
-
return [doResult, { status: "request-error", request: req }];
|
|
79
|
-
}
|
|
80
|
-
const response = doResult.value;
|
|
81
|
-
const [result] = await M.match(M.json(200, operations.PatchLineItemResponse$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req);
|
|
82
|
-
if (!result.ok) {
|
|
83
|
-
return [result, { status: "complete", request: req, response }];
|
|
84
|
-
}
|
|
85
|
-
return [result, { status: "complete", request: req, response }];
|
|
86
|
-
}
|
|
87
|
-
//# sourceMappingURL=accounting-patch-line-item.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"accounting-patch-line-item.js","sourceRoot":"","sources":["../../src/funcs/accounting-patch-line-item.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAChF,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAW3C,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAGxD,MAAM,UAAU,uBAAuB,CACrC,MAAiB,EACjB,OAAwC,EACxC,OAAwB,EAaxB;IACA,OAAO,IAAI,UAAU,CAAC,GAAG,CACvB,MAAM,EACN,OAAO,EACP,OAAO,CACR,CAAC,CAAC;AAAA,CACJ;AAED,KAAK,UAAU,GAAG,CAChB,MAAiB,EACjB,OAAwC,EACxC,OAAwB,EAgBxB;IACA,MAAM,MAAM,GAA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AAU,EAAE,OAAO,CAAC,UAAU;KAC/B,CAAC,CAAC;IACH,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC;QACjB,OAAO,CAAC,QAAQ,EAAE,EAAE,MAAM,EAAE,eAAe,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC;IAC/D,CAAC;IACD,MAAM,QAAQ,GAAG,QAAQ,CAAC,KAAK,CAAC;IAEhC,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC,KAAK,CAW5B,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,UAAU,CAAC,mCAAmC,CAAC,EAC3D,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC;IACjB,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAAA,CACjE"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { MaesnCore } from "../core.js";
|
|
2
|
-
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
-
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/http-client-errors.js";
|
|
4
|
-
import { MaesnError } from "../models/errors/maesn-error.js";
|
|
5
|
-
import { ResponseValidationError } from "../models/errors/response-validation-error.js";
|
|
6
|
-
import { SDKValidationError } from "../models/errors/sdk-validation-error.js";
|
|
7
|
-
import * as operations from "../models/operations/index.js";
|
|
8
|
-
import { APIPromise } from "../types/async.js";
|
|
9
|
-
import { Result } from "../types/fp.js";
|
|
10
|
-
export declare function authApiKeyConfirmation(client: MaesnCore, options?: RequestOptions): APIPromise<Result<operations.ApiKeyConfirmationResponse, MaesnError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
11
|
-
//# sourceMappingURL=auth-api-key-confirmation.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"auth-api-key-confirmation.d.ts","sourceRoot":"","sources":["../../src/funcs/auth-api-key-confirmation.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAGvC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAC7D,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAC9E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC,wBAAgB,sBAAsB,CACpC,MAAM,EAAE,SAAS,EACjB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,0BAA0B,EACnC,UAAU,GACV,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAKA"}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
import * as M from "../lib/matchers.js";
|
|
5
|
-
import { compactMap } from "../lib/primitives.js";
|
|
6
|
-
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
7
|
-
import { pathToFunc } from "../lib/url.js";
|
|
8
|
-
import * as operations from "../models/operations/index.js";
|
|
9
|
-
import { APIPromise } from "../types/async.js";
|
|
10
|
-
export function authApiKeyConfirmation(client, options) {
|
|
11
|
-
return new APIPromise($do(client, options));
|
|
12
|
-
}
|
|
13
|
-
async function $do(client, options) {
|
|
14
|
-
const path = pathToFunc("/apiKeyConfirmation")();
|
|
15
|
-
const headers = new Headers(compactMap({
|
|
16
|
-
Accept: "application/json",
|
|
17
|
-
}));
|
|
18
|
-
const securityInput = await extractSecurity(client._options.security);
|
|
19
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
20
|
-
const context = {
|
|
21
|
-
options: client._options,
|
|
22
|
-
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
23
|
-
operationID: "apiKeyConfirmation",
|
|
24
|
-
oAuth2Scopes: null,
|
|
25
|
-
resolvedSecurity: requestSecurity,
|
|
26
|
-
securitySource: client._options.security,
|
|
27
|
-
retryConfig: options?.retries
|
|
28
|
-
|| client._options.retryConfig
|
|
29
|
-
|| { strategy: "none" },
|
|
30
|
-
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
31
|
-
};
|
|
32
|
-
const requestRes = client._createRequest(context, {
|
|
33
|
-
security: requestSecurity,
|
|
34
|
-
method: "POST",
|
|
35
|
-
baseURL: options?.serverURL,
|
|
36
|
-
path: path,
|
|
37
|
-
headers: headers,
|
|
38
|
-
userAgent: client._options.userAgent,
|
|
39
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
40
|
-
}, options);
|
|
41
|
-
if (!requestRes.ok) {
|
|
42
|
-
return [requestRes, { status: "invalid" }];
|
|
43
|
-
}
|
|
44
|
-
const req = requestRes.value;
|
|
45
|
-
const doResult = await client._do(req, {
|
|
46
|
-
context,
|
|
47
|
-
errorCodes: ["4XX", "5XX"],
|
|
48
|
-
retryConfig: context.retryConfig,
|
|
49
|
-
retryCodes: context.retryCodes,
|
|
50
|
-
});
|
|
51
|
-
if (!doResult.ok) {
|
|
52
|
-
return [doResult, { status: "request-error", request: req }];
|
|
53
|
-
}
|
|
54
|
-
const response = doResult.value;
|
|
55
|
-
const [result] = await M.match(M.json(201, operations.ApiKeyConfirmationResponse$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req);
|
|
56
|
-
if (!result.ok) {
|
|
57
|
-
return [result, { status: "complete", request: req, response }];
|
|
58
|
-
}
|
|
59
|
-
return [result, { status: "complete", request: req, response }];
|
|
60
|
-
}
|
|
61
|
-
//# sourceMappingURL=auth-api-key-confirmation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"auth-api-key-confirmation.js","sourceRoot":"","sources":["../../src/funcs/auth-api-key-confirmation.ts"],"names":[],"mappings":"AAAA;;GAEG;AAGH,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAW3C,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAGxD,MAAM,UAAU,sBAAsB,CACpC,MAAiB,EACjB,OAAwB,EAaxB;IACA,OAAO,IAAI,UAAU,CAAC,GAAG,CACvB,MAAM,EACN,OAAO,CACR,CAAC,CAAC;AAAA,CACJ;AAED,KAAK,UAAU,GAAG,CAChB,MAAiB,EACjB,OAAwB,EAgBxB;IACA,MAAM,IAAI,GAAG,UAAU,CAAC,qBAAqB,CAAC,EAAE,CAAC;IAEjD,MAAM,OAAO,GAAG,IAAI,OAAO,CA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,CAAC,KAAK,CAAC;IAE7B,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,GAAG,EAAE;QACrC,OAAO;QACP,UAAU,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC;QAC1B,WAAW,EAAE,OAAO,CAAC,WAAW;QAChC,UAAU,EAAE,OAAO,CAAC,UAAU;KAC/B,CAAC,CAAC;IACH,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC;QACjB,OAAO,CAAC,QAAQ,EAAE,EAAE,MAAM,EAAE,eAAe,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC;IAC/D,CAAC;IACD,MAAM,QAAQ,GAAG,QAAQ,CAAC,KAAK,CAAC;IAEhC,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC,KAAK,CAW5B,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,UAAU,CAAC,wCAAwC,CAAC,EAChE,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC;IACjB,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAAA,CACjE"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { MaesnCore } from "../core.js";
|
|
2
|
-
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
-
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/http-client-errors.js";
|
|
4
|
-
import { MaesnError } from "../models/errors/maesn-error.js";
|
|
5
|
-
import { ResponseValidationError } from "../models/errors/response-validation-error.js";
|
|
6
|
-
import { SDKValidationError } from "../models/errors/sdk-validation-error.js";
|
|
7
|
-
import * as operations from "../models/operations/index.js";
|
|
8
|
-
import { APIPromise } from "../types/async.js";
|
|
9
|
-
import { Result } from "../types/fp.js";
|
|
10
|
-
export declare function authCallback(client: MaesnCore, request: operations.CallbackRequest, options?: RequestOptions): APIPromise<Result<operations.CallbackResponse, MaesnError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
11
|
-
//# sourceMappingURL=auth-callback.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"auth-callback.d.ts","sourceRoot":"","sources":["../../src/funcs/auth-callback.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAKvC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAC7D,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAC9E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC,wBAAgB,YAAY,CAC1B,MAAM,EAAE,SAAS,EACjB,OAAO,EAAE,UAAU,CAAC,eAAe,EACnC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,gBAAgB,EACzB,UAAU,GACV,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
import * as z from "zod/v4-mini";
|
|
5
|
-
import { encodeFormQuery, encodeSimple } from "../lib/encodings.js";
|
|
6
|
-
import * as M from "../lib/matchers.js";
|
|
7
|
-
import { compactMap } from "../lib/primitives.js";
|
|
8
|
-
import { safeParse } from "../lib/schemas.js";
|
|
9
|
-
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
10
|
-
import { pathToFunc } from "../lib/url.js";
|
|
11
|
-
import * as operations from "../models/operations/index.js";
|
|
12
|
-
import { APIPromise } from "../types/async.js";
|
|
13
|
-
export function authCallback(client, request, options) {
|
|
14
|
-
return new APIPromise($do(client, request, options));
|
|
15
|
-
}
|
|
16
|
-
async function $do(client, request, options) {
|
|
17
|
-
const parsed = safeParse(request, (value) => z.parse(operations.CallbackRequest$outboundSchema, value), "Input validation failed");
|
|
18
|
-
if (!parsed.ok) {
|
|
19
|
-
return [parsed, { status: "invalid" }];
|
|
20
|
-
}
|
|
21
|
-
const payload = parsed.value;
|
|
22
|
-
const body = null;
|
|
23
|
-
const pathParams = {
|
|
24
|
-
TARGET_SYSTEM: encodeSimple("TARGET_SYSTEM", payload.TARGET_SYSTEM, {
|
|
25
|
-
explode: false,
|
|
26
|
-
charEncoding: "percent",
|
|
27
|
-
}),
|
|
28
|
-
};
|
|
29
|
-
const path = pathToFunc("/callback/{TARGET_SYSTEM}")(pathParams);
|
|
30
|
-
const query = encodeFormQuery({
|
|
31
|
-
"code": payload.code,
|
|
32
|
-
"realmId": payload.realmId,
|
|
33
|
-
"state": payload.state,
|
|
34
|
-
"token": payload.token,
|
|
35
|
-
});
|
|
36
|
-
const headers = new Headers(compactMap({
|
|
37
|
-
Accept: "application/json",
|
|
38
|
-
}));
|
|
39
|
-
const securityInput = await extractSecurity(client._options.security);
|
|
40
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
41
|
-
const context = {
|
|
42
|
-
options: client._options,
|
|
43
|
-
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
44
|
-
operationID: "callback",
|
|
45
|
-
oAuth2Scopes: null,
|
|
46
|
-
resolvedSecurity: requestSecurity,
|
|
47
|
-
securitySource: client._options.security,
|
|
48
|
-
retryConfig: options?.retries
|
|
49
|
-
|| client._options.retryConfig
|
|
50
|
-
|| { strategy: "none" },
|
|
51
|
-
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
52
|
-
};
|
|
53
|
-
const requestRes = client._createRequest(context, {
|
|
54
|
-
security: requestSecurity,
|
|
55
|
-
method: "GET",
|
|
56
|
-
baseURL: options?.serverURL,
|
|
57
|
-
path: path,
|
|
58
|
-
headers: headers,
|
|
59
|
-
query: query,
|
|
60
|
-
body: body,
|
|
61
|
-
userAgent: client._options.userAgent,
|
|
62
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
63
|
-
}, options);
|
|
64
|
-
if (!requestRes.ok) {
|
|
65
|
-
return [requestRes, { status: "invalid" }];
|
|
66
|
-
}
|
|
67
|
-
const req = requestRes.value;
|
|
68
|
-
const doResult = await client._do(req, {
|
|
69
|
-
context,
|
|
70
|
-
errorCodes: ["4XX", "5XX"],
|
|
71
|
-
retryConfig: context.retryConfig,
|
|
72
|
-
retryCodes: context.retryCodes,
|
|
73
|
-
});
|
|
74
|
-
if (!doResult.ok) {
|
|
75
|
-
return [doResult, { status: "request-error", request: req }];
|
|
76
|
-
}
|
|
77
|
-
const response = doResult.value;
|
|
78
|
-
const [result] = await M.match(M.json(200, operations.CallbackResponse$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req);
|
|
79
|
-
if (!result.ok) {
|
|
80
|
-
return [result, { status: "complete", request: req, response }];
|
|
81
|
-
}
|
|
82
|
-
return [result, { status: "complete", request: req, response }];
|
|
83
|
-
}
|
|
84
|
-
//# sourceMappingURL=auth-callback.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"auth-callback.js","sourceRoot":"","sources":["../../src/funcs/auth-callback.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACpE,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAW3C,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAGxD,MAAM,UAAU,YAAY,CAC1B,MAAiB,EACjB,OAAmC,EACnC,OAAwB,EAaxB;IACA,OAAO,IAAI,UAAU,CAAC,GAAG,CACvB,MAAM,EACN,OAAO,EACP,OAAO,CACR,CAAC,CAAC;AAAA,CACJ;AAED,KAAK,UAAU,GAAG,CAChB,MAAiB,EACjB,OAAmC,EACnC,OAAwB,EAgBxB;IACA,MAAM,MAAM,GAAG,SAAS,CACtB,OAAO,EACP,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,8BAA8B,EAAE,KAAK,CAAC,EACpE,yBAAyB,CAC1B,CAAC;IACF,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC,CAAC;IACzC,CAAC;IACD,MAAM,OAAO,GAAG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AAK,CAAC,CACd,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC;IACjB,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAAA,CACjE"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { MaesnCore } from "../core.js";
|
|
2
|
-
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
-
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/http-client-errors.js";
|
|
4
|
-
import { MaesnError } from "../models/errors/maesn-error.js";
|
|
5
|
-
import { ResponseValidationError } from "../models/errors/response-validation-error.js";
|
|
6
|
-
import { SDKValidationError } from "../models/errors/sdk-validation-error.js";
|
|
7
|
-
import * as operations from "../models/operations/index.js";
|
|
8
|
-
import { APIPromise } from "../types/async.js";
|
|
9
|
-
import { Result } from "../types/fp.js";
|
|
10
|
-
export declare function authCancel(client: MaesnCore, options?: RequestOptions): APIPromise<Result<operations.CancelResponse, MaesnError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
11
|
-
//# sourceMappingURL=auth-cancel.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"auth-cancel.d.ts","sourceRoot":"","sources":["../../src/funcs/auth-cancel.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAGvC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAC7D,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAC9E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC,wBAAgB,UAAU,CACxB,MAAM,EAAE,SAAS,EACjB,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,cAAc,EACvB,UAAU,GACV,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAKA"}
|
package/esm/funcs/auth-cancel.js
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
import * as M from "../lib/matchers.js";
|
|
5
|
-
import { compactMap } from "../lib/primitives.js";
|
|
6
|
-
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
7
|
-
import { pathToFunc } from "../lib/url.js";
|
|
8
|
-
import * as operations from "../models/operations/index.js";
|
|
9
|
-
import { APIPromise } from "../types/async.js";
|
|
10
|
-
export function authCancel(client, options) {
|
|
11
|
-
return new APIPromise($do(client, options));
|
|
12
|
-
}
|
|
13
|
-
async function $do(client, options) {
|
|
14
|
-
const path = pathToFunc("/cancel")();
|
|
15
|
-
const headers = new Headers(compactMap({
|
|
16
|
-
Accept: "application/json",
|
|
17
|
-
}));
|
|
18
|
-
const securityInput = await extractSecurity(client._options.security);
|
|
19
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
20
|
-
const context = {
|
|
21
|
-
options: client._options,
|
|
22
|
-
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
23
|
-
operationID: "cancel",
|
|
24
|
-
oAuth2Scopes: null,
|
|
25
|
-
resolvedSecurity: requestSecurity,
|
|
26
|
-
securitySource: client._options.security,
|
|
27
|
-
retryConfig: options?.retries
|
|
28
|
-
|| client._options.retryConfig
|
|
29
|
-
|| { strategy: "none" },
|
|
30
|
-
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
31
|
-
};
|
|
32
|
-
const requestRes = client._createRequest(context, {
|
|
33
|
-
security: requestSecurity,
|
|
34
|
-
method: "POST",
|
|
35
|
-
baseURL: options?.serverURL,
|
|
36
|
-
path: path,
|
|
37
|
-
headers: headers,
|
|
38
|
-
userAgent: client._options.userAgent,
|
|
39
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
40
|
-
}, options);
|
|
41
|
-
if (!requestRes.ok) {
|
|
42
|
-
return [requestRes, { status: "invalid" }];
|
|
43
|
-
}
|
|
44
|
-
const req = requestRes.value;
|
|
45
|
-
const doResult = await client._do(req, {
|
|
46
|
-
context,
|
|
47
|
-
errorCodes: ["4XX", "5XX"],
|
|
48
|
-
retryConfig: context.retryConfig,
|
|
49
|
-
retryCodes: context.retryCodes,
|
|
50
|
-
});
|
|
51
|
-
if (!doResult.ok) {
|
|
52
|
-
return [doResult, { status: "request-error", request: req }];
|
|
53
|
-
}
|
|
54
|
-
const response = doResult.value;
|
|
55
|
-
const [result] = await M.match(M.json(201, operations.CancelResponse$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req);
|
|
56
|
-
if (!result.ok) {
|
|
57
|
-
return [result, { status: "complete", request: req, response }];
|
|
58
|
-
}
|
|
59
|
-
return [result, { status: "complete", request: req, response }];
|
|
60
|
-
}
|
|
61
|
-
//# sourceMappingURL=auth-cancel.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|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CAAC,GAAG,EAAE,UAAU,CAAC,4BAA4B,CAAC,EACpD,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC;IACjB,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAAA,CACjE"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { MaesnCore } from "../core.js";
|
|
2
|
-
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
-
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/http-client-errors.js";
|
|
4
|
-
import { MaesnError } from "../models/errors/maesn-error.js";
|
|
5
|
-
import { ResponseValidationError } from "../models/errors/response-validation-error.js";
|
|
6
|
-
import { SDKValidationError } from "../models/errors/sdk-validation-error.js";
|
|
7
|
-
import * as operations from "../models/operations/index.js";
|
|
8
|
-
import { APIPromise } from "../types/async.js";
|
|
9
|
-
import { Result } from "../types/fp.js";
|
|
10
|
-
export declare function authGetCompaniesFlow(client: MaesnCore, request?: operations.GetCompaniesFlowRequest | undefined, options?: RequestOptions): APIPromise<Result<operations.GetCompaniesFlowResponse, MaesnError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
11
|
-
//# sourceMappingURL=auth-get-companies-flow.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"auth-get-companies-flow.d.ts","sourceRoot":"","sources":["../../src/funcs/auth-get-companies-flow.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAKvC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAC7D,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAC9E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC,wBAAgB,oBAAoB,CAClC,MAAM,EAAE,SAAS,EACjB,OAAO,CAAC,EAAE,UAAU,CAAC,uBAAuB,GAAG,SAAS,EACxD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,wBAAwB,EACjC,UAAU,GACV,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
import * as z from "zod/v4-mini";
|
|
5
|
-
import { encodeFormQuery } from "../lib/encodings.js";
|
|
6
|
-
import * as M from "../lib/matchers.js";
|
|
7
|
-
import { compactMap } from "../lib/primitives.js";
|
|
8
|
-
import { safeParse } from "../lib/schemas.js";
|
|
9
|
-
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
10
|
-
import { pathToFunc } from "../lib/url.js";
|
|
11
|
-
import * as operations from "../models/operations/index.js";
|
|
12
|
-
import { APIPromise } from "../types/async.js";
|
|
13
|
-
export function authGetCompaniesFlow(client, request, options) {
|
|
14
|
-
return new APIPromise($do(client, request, options));
|
|
15
|
-
}
|
|
16
|
-
async function $do(client, request, options) {
|
|
17
|
-
const parsed = safeParse(request, (value) => z.parse(z.optional(operations.GetCompaniesFlowRequest$outboundSchema), value), "Input validation failed");
|
|
18
|
-
if (!parsed.ok) {
|
|
19
|
-
return [parsed, { status: "invalid" }];
|
|
20
|
-
}
|
|
21
|
-
const payload = parsed.value;
|
|
22
|
-
const body = null;
|
|
23
|
-
const path = pathToFunc("/companiesFlow")();
|
|
24
|
-
const query = encodeFormQuery({
|
|
25
|
-
"environmentName": payload?.environmentName,
|
|
26
|
-
});
|
|
27
|
-
const headers = new Headers(compactMap({
|
|
28
|
-
Accept: "application/json",
|
|
29
|
-
}));
|
|
30
|
-
const securityInput = await extractSecurity(client._options.security);
|
|
31
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
32
|
-
const context = {
|
|
33
|
-
options: client._options,
|
|
34
|
-
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
35
|
-
operationID: "getCompaniesFlow",
|
|
36
|
-
oAuth2Scopes: null,
|
|
37
|
-
resolvedSecurity: requestSecurity,
|
|
38
|
-
securitySource: client._options.security,
|
|
39
|
-
retryConfig: options?.retries
|
|
40
|
-
|| client._options.retryConfig
|
|
41
|
-
|| { strategy: "none" },
|
|
42
|
-
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
43
|
-
};
|
|
44
|
-
const requestRes = client._createRequest(context, {
|
|
45
|
-
security: requestSecurity,
|
|
46
|
-
method: "GET",
|
|
47
|
-
baseURL: options?.serverURL,
|
|
48
|
-
path: path,
|
|
49
|
-
headers: headers,
|
|
50
|
-
query: query,
|
|
51
|
-
body: body,
|
|
52
|
-
userAgent: client._options.userAgent,
|
|
53
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
54
|
-
}, options);
|
|
55
|
-
if (!requestRes.ok) {
|
|
56
|
-
return [requestRes, { status: "invalid" }];
|
|
57
|
-
}
|
|
58
|
-
const req = requestRes.value;
|
|
59
|
-
const doResult = await client._do(req, {
|
|
60
|
-
context,
|
|
61
|
-
errorCodes: ["4XX", "5XX"],
|
|
62
|
-
retryConfig: context.retryConfig,
|
|
63
|
-
retryCodes: context.retryCodes,
|
|
64
|
-
});
|
|
65
|
-
if (!doResult.ok) {
|
|
66
|
-
return [doResult, { status: "request-error", request: req }];
|
|
67
|
-
}
|
|
68
|
-
const response = doResult.value;
|
|
69
|
-
const [result] = await M.match(M.json(200, operations.GetCompaniesFlowResponse$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req);
|
|
70
|
-
if (!result.ok) {
|
|
71
|
-
return [result, { status: "complete", request: req, response }];
|
|
72
|
-
}
|
|
73
|
-
return [result, { status: "complete", request: req, response }];
|
|
74
|
-
}
|
|
75
|
-
//# sourceMappingURL=auth-get-companies-flow.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"auth-get-companies-flow.js","sourceRoot":"","sources":["../../src/funcs/auth-get-companies-flow.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAW3C,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAGxD,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EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC;IAC/D,CAAC;IACD,MAAM,QAAQ,GAAG,QAAQ,CAAC,KAAK,CAAC;IAEhC,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC,KAAK,CAW5B,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,UAAU,CAAC,sCAAsC,CAAC,EAC9D,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC;IACjB,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAAA,CACjE"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { MaesnCore } from "../core.js";
|
|
2
|
-
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
-
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/http-client-errors.js";
|
|
4
|
-
import { MaesnError } from "../models/errors/maesn-error.js";
|
|
5
|
-
import { ResponseValidationError } from "../models/errors/response-validation-error.js";
|
|
6
|
-
import { SDKValidationError } from "../models/errors/sdk-validation-error.js";
|
|
7
|
-
import * as operations from "../models/operations/index.js";
|
|
8
|
-
import { APIPromise } from "../types/async.js";
|
|
9
|
-
import { Result } from "../types/fp.js";
|
|
10
|
-
export declare function authGetEnvironmentPage(client: MaesnCore, request: operations.GetEnvironmentPageRequest, options?: RequestOptions): APIPromise<Result<operations.GetEnvironmentPageResponse, MaesnError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
11
|
-
//# sourceMappingURL=auth-get-environment-page.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"auth-get-environment-page.d.ts","sourceRoot":"","sources":["../../src/funcs/auth-get-environment-page.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAKvC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAC7D,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAC9E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC,wBAAgB,sBAAsB,CACpC,MAAM,EAAE,SAAS,EACjB,OAAO,EAAE,UAAU,CAAC,yBAAyB,EAC7C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,0BAA0B,EACnC,UAAU,GACV,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
import * as z from "zod/v4-mini";
|
|
5
|
-
import { encodeFormQuery } from "../lib/encodings.js";
|
|
6
|
-
import * as M from "../lib/matchers.js";
|
|
7
|
-
import { compactMap } from "../lib/primitives.js";
|
|
8
|
-
import { safeParse } from "../lib/schemas.js";
|
|
9
|
-
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
10
|
-
import { pathToFunc } from "../lib/url.js";
|
|
11
|
-
import * as operations from "../models/operations/index.js";
|
|
12
|
-
import { APIPromise } from "../types/async.js";
|
|
13
|
-
export function authGetEnvironmentPage(client, request, options) {
|
|
14
|
-
return new APIPromise($do(client, request, options));
|
|
15
|
-
}
|
|
16
|
-
async function $do(client, request, options) {
|
|
17
|
-
const parsed = safeParse(request, (value) => z.parse(operations.GetEnvironmentPageRequest$outboundSchema, value), "Input validation failed");
|
|
18
|
-
if (!parsed.ok) {
|
|
19
|
-
return [parsed, { status: "invalid" }];
|
|
20
|
-
}
|
|
21
|
-
const payload = parsed.value;
|
|
22
|
-
const body = null;
|
|
23
|
-
const path = pathToFunc("/selections")();
|
|
24
|
-
const query = encodeFormQuery({
|
|
25
|
-
"state": payload.state,
|
|
26
|
-
"targetSystem": payload.targetSystem,
|
|
27
|
-
});
|
|
28
|
-
const headers = new Headers(compactMap({
|
|
29
|
-
Accept: "application/json",
|
|
30
|
-
}));
|
|
31
|
-
const securityInput = await extractSecurity(client._options.security);
|
|
32
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
33
|
-
const context = {
|
|
34
|
-
options: client._options,
|
|
35
|
-
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
36
|
-
operationID: "getEnvironmentPage",
|
|
37
|
-
oAuth2Scopes: null,
|
|
38
|
-
resolvedSecurity: requestSecurity,
|
|
39
|
-
securitySource: client._options.security,
|
|
40
|
-
retryConfig: options?.retries
|
|
41
|
-
|| client._options.retryConfig
|
|
42
|
-
|| { strategy: "none" },
|
|
43
|
-
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
44
|
-
};
|
|
45
|
-
const requestRes = client._createRequest(context, {
|
|
46
|
-
security: requestSecurity,
|
|
47
|
-
method: "GET",
|
|
48
|
-
baseURL: options?.serverURL,
|
|
49
|
-
path: path,
|
|
50
|
-
headers: headers,
|
|
51
|
-
query: query,
|
|
52
|
-
body: body,
|
|
53
|
-
userAgent: client._options.userAgent,
|
|
54
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
55
|
-
}, options);
|
|
56
|
-
if (!requestRes.ok) {
|
|
57
|
-
return [requestRes, { status: "invalid" }];
|
|
58
|
-
}
|
|
59
|
-
const req = requestRes.value;
|
|
60
|
-
const doResult = await client._do(req, {
|
|
61
|
-
context,
|
|
62
|
-
errorCodes: ["4XX", "5XX"],
|
|
63
|
-
retryConfig: context.retryConfig,
|
|
64
|
-
retryCodes: context.retryCodes,
|
|
65
|
-
});
|
|
66
|
-
if (!doResult.ok) {
|
|
67
|
-
return [doResult, { status: "request-error", request: req }];
|
|
68
|
-
}
|
|
69
|
-
const response = doResult.value;
|
|
70
|
-
const [result] = await M.match(M.json(200, operations.GetEnvironmentPageResponse$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req);
|
|
71
|
-
if (!result.ok) {
|
|
72
|
-
return [result, { status: "complete", request: req, response }];
|
|
73
|
-
}
|
|
74
|
-
return [result, { status: "complete", request: req, response }];
|
|
75
|
-
}
|
|
76
|
-
//# sourceMappingURL=auth-get-environment-page.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"auth-get-environment-page.js","sourceRoot":"","sources":["../../src/funcs/auth-get-environment-page.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE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,OAAO,CAAC,WAAW;QAChC,UAAU,EAAE,OAAO,CAAC,UAAU;KAC/B,CAAC,CAAC;IACH,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC;QACjB,OAAO,CAAC,QAAQ,EAAE,EAAE,MAAM,EAAE,eAAe,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC;IAC/D,CAAC;IACD,MAAM,QAAQ,GAAG,QAAQ,CAAC,KAAK,CAAC;IAEhC,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC,KAAK,CAW5B,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,UAAU,CAAC,wCAAwC,CAAC,EAChE,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC;IACjB,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAAA,CACjE"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { MaesnCore } from "../core.js";
|
|
2
|
-
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
-
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/http-client-errors.js";
|
|
4
|
-
import { MaesnError } from "../models/errors/maesn-error.js";
|
|
5
|
-
import { ResponseValidationError } from "../models/errors/response-validation-error.js";
|
|
6
|
-
import { SDKValidationError } from "../models/errors/sdk-validation-error.js";
|
|
7
|
-
import * as operations from "../models/operations/index.js";
|
|
8
|
-
import { APIPromise } from "../types/async.js";
|
|
9
|
-
import { Result } from "../types/fp.js";
|
|
10
|
-
export declare function authGetSubmitPage(client: MaesnCore, request: operations.GetSubmitPageRequest, options?: RequestOptions): APIPromise<Result<operations.GetSubmitPageResponse, MaesnError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
11
|
-
//# sourceMappingURL=auth-get-submit-page.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"auth-get-submit-page.d.ts","sourceRoot":"","sources":["../../src/funcs/auth-get-submit-page.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAKvC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAC7D,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAC9E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC,wBAAgB,iBAAiB,CAC/B,MAAM,EAAE,SAAS,EACjB,OAAO,EAAE,UAAU,CAAC,oBAAoB,EACxC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,qBAAqB,EAC9B,UAAU,GACV,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
|