@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,32 +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
|
-
|
|
7
|
-
export type DeleteRegisteredSystemRequest = {
|
|
8
|
-
targetSystem: string;
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
/** @internal */
|
|
12
|
-
export type DeleteRegisteredSystemRequest$Outbound = {
|
|
13
|
-
targetSystem: string;
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
/** @internal */
|
|
17
|
-
export const DeleteRegisteredSystemRequest$outboundSchema: z.ZodMiniType<
|
|
18
|
-
DeleteRegisteredSystemRequest$Outbound,
|
|
19
|
-
DeleteRegisteredSystemRequest
|
|
20
|
-
> = z.object({
|
|
21
|
-
targetSystem: z.string(),
|
|
22
|
-
});
|
|
23
|
-
|
|
24
|
-
export function deleteRegisteredSystemRequestToJSON(
|
|
25
|
-
deleteRegisteredSystemRequest: DeleteRegisteredSystemRequest,
|
|
26
|
-
): string {
|
|
27
|
-
return JSON.stringify(
|
|
28
|
-
DeleteRegisteredSystemRequest$outboundSchema.parse(
|
|
29
|
-
deleteRegisteredSystemRequest,
|
|
30
|
-
),
|
|
31
|
-
);
|
|
32
|
-
}
|
|
@@ -1,68 +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 { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
-
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
9
|
-
|
|
10
|
-
export type DeleteWebhookEndUserRequest = {
|
|
11
|
-
webhookId: string;
|
|
12
|
-
/**
|
|
13
|
-
* Environment name (required for multi-environment systems such as Business Central)
|
|
14
|
-
*/
|
|
15
|
-
environmentName?: string | undefined;
|
|
16
|
-
/**
|
|
17
|
-
* ID of the company (required for multi-company target systems)
|
|
18
|
-
*/
|
|
19
|
-
companyId?: string | undefined;
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Operation completed successfully
|
|
24
|
-
*/
|
|
25
|
-
export type DeleteWebhookEndUserResponse = {};
|
|
26
|
-
|
|
27
|
-
/** @internal */
|
|
28
|
-
export type DeleteWebhookEndUserRequest$Outbound = {
|
|
29
|
-
webhookId: string;
|
|
30
|
-
environmentName?: string | undefined;
|
|
31
|
-
companyId?: string | undefined;
|
|
32
|
-
};
|
|
33
|
-
|
|
34
|
-
/** @internal */
|
|
35
|
-
export const DeleteWebhookEndUserRequest$outboundSchema: z.ZodMiniType<
|
|
36
|
-
DeleteWebhookEndUserRequest$Outbound,
|
|
37
|
-
DeleteWebhookEndUserRequest
|
|
38
|
-
> = z.object({
|
|
39
|
-
webhookId: z.string(),
|
|
40
|
-
environmentName: z.optional(z.string()),
|
|
41
|
-
companyId: z.optional(z.string()),
|
|
42
|
-
});
|
|
43
|
-
|
|
44
|
-
export function deleteWebhookEndUserRequestToJSON(
|
|
45
|
-
deleteWebhookEndUserRequest: DeleteWebhookEndUserRequest,
|
|
46
|
-
): string {
|
|
47
|
-
return JSON.stringify(
|
|
48
|
-
DeleteWebhookEndUserRequest$outboundSchema.parse(
|
|
49
|
-
deleteWebhookEndUserRequest,
|
|
50
|
-
),
|
|
51
|
-
);
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/** @internal */
|
|
55
|
-
export const DeleteWebhookEndUserResponse$inboundSchema: z.ZodMiniType<
|
|
56
|
-
DeleteWebhookEndUserResponse,
|
|
57
|
-
unknown
|
|
58
|
-
> = z.object({});
|
|
59
|
-
|
|
60
|
-
export function deleteWebhookEndUserResponseFromJSON(
|
|
61
|
-
jsonString: string,
|
|
62
|
-
): SafeParseResult<DeleteWebhookEndUserResponse, SDKValidationError> {
|
|
63
|
-
return safeParse(
|
|
64
|
-
jsonString,
|
|
65
|
-
(x) => DeleteWebhookEndUserResponse$inboundSchema.parse(JSON.parse(x)),
|
|
66
|
-
`Failed to parse 'DeleteWebhookEndUserResponse' from JSON`,
|
|
67
|
-
);
|
|
68
|
-
}
|
|
@@ -1,30 +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
|
-
|
|
7
|
-
export type DeleteWebhookTenantRequest = {
|
|
8
|
-
webhookId: string;
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
/** @internal */
|
|
12
|
-
export type DeleteWebhookTenantRequest$Outbound = {
|
|
13
|
-
webhookId: string;
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
/** @internal */
|
|
17
|
-
export const DeleteWebhookTenantRequest$outboundSchema: z.ZodMiniType<
|
|
18
|
-
DeleteWebhookTenantRequest$Outbound,
|
|
19
|
-
DeleteWebhookTenantRequest
|
|
20
|
-
> = z.object({
|
|
21
|
-
webhookId: z.string(),
|
|
22
|
-
});
|
|
23
|
-
|
|
24
|
-
export function deleteWebhookTenantRequestToJSON(
|
|
25
|
-
deleteWebhookTenantRequest: DeleteWebhookTenantRequest,
|
|
26
|
-
): string {
|
|
27
|
-
return JSON.stringify(
|
|
28
|
-
DeleteWebhookTenantRequest$outboundSchema.parse(deleteWebhookTenantRequest),
|
|
29
|
-
);
|
|
30
|
-
}
|
|
@@ -1,100 +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 { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
-
import * as types from "../../types/primitives.js";
|
|
9
|
-
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
10
|
-
|
|
11
|
-
export type Info = {
|
|
12
|
-
status: string;
|
|
13
|
-
[additionalProperties: string]: unknown;
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
export type ErrorT = {
|
|
17
|
-
status: string;
|
|
18
|
-
[additionalProperties: string]: unknown;
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
export type Details = {
|
|
22
|
-
status: string;
|
|
23
|
-
[additionalProperties: string]: unknown;
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* Detailed health status including database connectivity.
|
|
28
|
-
*/
|
|
29
|
-
export type DetailsResponse = {};
|
|
30
|
-
|
|
31
|
-
/** @internal */
|
|
32
|
-
export const Info$inboundSchema: z.ZodMiniType<Info, unknown> = z.catchall(
|
|
33
|
-
z.object({
|
|
34
|
-
status: types.string(),
|
|
35
|
-
}),
|
|
36
|
-
z.any(),
|
|
37
|
-
);
|
|
38
|
-
|
|
39
|
-
export function infoFromJSON(
|
|
40
|
-
jsonString: string,
|
|
41
|
-
): SafeParseResult<Info, SDKValidationError> {
|
|
42
|
-
return safeParse(
|
|
43
|
-
jsonString,
|
|
44
|
-
(x) => Info$inboundSchema.parse(JSON.parse(x)),
|
|
45
|
-
`Failed to parse 'Info' from JSON`,
|
|
46
|
-
);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
/** @internal */
|
|
50
|
-
export const ErrorT$inboundSchema: z.ZodMiniType<ErrorT, unknown> = z.catchall(
|
|
51
|
-
z.object({
|
|
52
|
-
status: types.string(),
|
|
53
|
-
}),
|
|
54
|
-
z.any(),
|
|
55
|
-
);
|
|
56
|
-
|
|
57
|
-
export function errorFromJSON(
|
|
58
|
-
jsonString: string,
|
|
59
|
-
): SafeParseResult<ErrorT, SDKValidationError> {
|
|
60
|
-
return safeParse(
|
|
61
|
-
jsonString,
|
|
62
|
-
(x) => ErrorT$inboundSchema.parse(JSON.parse(x)),
|
|
63
|
-
`Failed to parse 'ErrorT' from JSON`,
|
|
64
|
-
);
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
/** @internal */
|
|
68
|
-
export const Details$inboundSchema: z.ZodMiniType<Details, unknown> = z
|
|
69
|
-
.catchall(
|
|
70
|
-
z.object({
|
|
71
|
-
status: types.string(),
|
|
72
|
-
}),
|
|
73
|
-
z.any(),
|
|
74
|
-
);
|
|
75
|
-
|
|
76
|
-
export function detailsFromJSON(
|
|
77
|
-
jsonString: string,
|
|
78
|
-
): SafeParseResult<Details, SDKValidationError> {
|
|
79
|
-
return safeParse(
|
|
80
|
-
jsonString,
|
|
81
|
-
(x) => Details$inboundSchema.parse(JSON.parse(x)),
|
|
82
|
-
`Failed to parse 'Details' from JSON`,
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
/** @internal */
|
|
87
|
-
export const DetailsResponse$inboundSchema: z.ZodMiniType<
|
|
88
|
-
DetailsResponse,
|
|
89
|
-
unknown
|
|
90
|
-
> = z.object({});
|
|
91
|
-
|
|
92
|
-
export function detailsResponseFromJSON(
|
|
93
|
-
jsonString: string,
|
|
94
|
-
): SafeParseResult<DetailsResponse, SDKValidationError> {
|
|
95
|
-
return safeParse(
|
|
96
|
-
jsonString,
|
|
97
|
-
(x) => DetailsResponse$inboundSchema.parse(JSON.parse(x)),
|
|
98
|
-
`Failed to parse 'DetailsResponse' from JSON`,
|
|
99
|
-
);
|
|
100
|
-
}
|
|
@@ -1,29 +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 { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
-
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* List of all active end users across all tenants
|
|
12
|
-
*/
|
|
13
|
-
export type GetAllActiveEndUsersResponse = {};
|
|
14
|
-
|
|
15
|
-
/** @internal */
|
|
16
|
-
export const GetAllActiveEndUsersResponse$inboundSchema: z.ZodMiniType<
|
|
17
|
-
GetAllActiveEndUsersResponse,
|
|
18
|
-
unknown
|
|
19
|
-
> = z.object({});
|
|
20
|
-
|
|
21
|
-
export function getAllActiveEndUsersResponseFromJSON(
|
|
22
|
-
jsonString: string,
|
|
23
|
-
): SafeParseResult<GetAllActiveEndUsersResponse, SDKValidationError> {
|
|
24
|
-
return safeParse(
|
|
25
|
-
jsonString,
|
|
26
|
-
(x) => GetAllActiveEndUsersResponse$inboundSchema.parse(JSON.parse(x)),
|
|
27
|
-
`Failed to parse 'GetAllActiveEndUsersResponse' from JSON`,
|
|
28
|
-
);
|
|
29
|
-
}
|
|
@@ -1,50 +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 { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
-
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
9
|
-
|
|
10
|
-
export type GetCodeRequest = {
|
|
11
|
-
code: string;
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
/**
|
|
15
|
-
* Authorization code saved successfully
|
|
16
|
-
*/
|
|
17
|
-
export type GetCodeResponse = {};
|
|
18
|
-
|
|
19
|
-
/** @internal */
|
|
20
|
-
export type GetCodeRequest$Outbound = {
|
|
21
|
-
code: string;
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
/** @internal */
|
|
25
|
-
export const GetCodeRequest$outboundSchema: z.ZodMiniType<
|
|
26
|
-
GetCodeRequest$Outbound,
|
|
27
|
-
GetCodeRequest
|
|
28
|
-
> = z.object({
|
|
29
|
-
code: z.string(),
|
|
30
|
-
});
|
|
31
|
-
|
|
32
|
-
export function getCodeRequestToJSON(getCodeRequest: GetCodeRequest): string {
|
|
33
|
-
return JSON.stringify(GetCodeRequest$outboundSchema.parse(getCodeRequest));
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/** @internal */
|
|
37
|
-
export const GetCodeResponse$inboundSchema: z.ZodMiniType<
|
|
38
|
-
GetCodeResponse,
|
|
39
|
-
unknown
|
|
40
|
-
> = z.object({});
|
|
41
|
-
|
|
42
|
-
export function getCodeResponseFromJSON(
|
|
43
|
-
jsonString: string,
|
|
44
|
-
): SafeParseResult<GetCodeResponse, SDKValidationError> {
|
|
45
|
-
return safeParse(
|
|
46
|
-
jsonString,
|
|
47
|
-
(x) => GetCodeResponse$inboundSchema.parse(JSON.parse(x)),
|
|
48
|
-
`Failed to parse 'GetCodeResponse' from JSON`,
|
|
49
|
-
);
|
|
50
|
-
}
|
|
@@ -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 { safeParse } from "../../lib/schemas.js";
|
|
7
|
-
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
-
import * as types from "../../types/primitives.js";
|
|
9
|
-
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
10
|
-
import * as models from "../index.js";
|
|
11
|
-
|
|
12
|
-
export type GetCompaniesFlowRequest = {
|
|
13
|
-
/**
|
|
14
|
-
* Environment name (required for multi-environment systems such as Business Central)
|
|
15
|
-
*/
|
|
16
|
-
environmentName?: string | undefined;
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
export type GetCompaniesFlowPagination = {
|
|
20
|
-
total: number;
|
|
21
|
-
perPage: number;
|
|
22
|
-
currentPage: number;
|
|
23
|
-
totalPages: number;
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
export type GetCompaniesFlowMeta = {
|
|
27
|
-
warnings?: Array<string> | null | undefined;
|
|
28
|
-
pagination?: GetCompaniesFlowPagination | null | undefined;
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
export type GetCompaniesFlowErrors = {};
|
|
32
|
-
|
|
33
|
-
export type GetCompaniesFlowRawData = {};
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* List of companies for the authenticated end user's connected target system
|
|
37
|
-
*/
|
|
38
|
-
export type GetCompaniesFlowResponse = {
|
|
39
|
-
meta?: GetCompaniesFlowMeta | null | undefined;
|
|
40
|
-
data: Array<models.CompanyResponseDto>;
|
|
41
|
-
errors: GetCompaniesFlowErrors | null;
|
|
42
|
-
rawData: GetCompaniesFlowRawData | null;
|
|
43
|
-
};
|
|
44
|
-
|
|
45
|
-
/** @internal */
|
|
46
|
-
export type GetCompaniesFlowRequest$Outbound = {
|
|
47
|
-
environmentName?: string | undefined;
|
|
48
|
-
};
|
|
49
|
-
|
|
50
|
-
/** @internal */
|
|
51
|
-
export const GetCompaniesFlowRequest$outboundSchema: z.ZodMiniType<
|
|
52
|
-
GetCompaniesFlowRequest$Outbound,
|
|
53
|
-
GetCompaniesFlowRequest
|
|
54
|
-
> = z.object({
|
|
55
|
-
environmentName: z.optional(z.string()),
|
|
56
|
-
});
|
|
57
|
-
|
|
58
|
-
export function getCompaniesFlowRequestToJSON(
|
|
59
|
-
getCompaniesFlowRequest: GetCompaniesFlowRequest,
|
|
60
|
-
): string {
|
|
61
|
-
return JSON.stringify(
|
|
62
|
-
GetCompaniesFlowRequest$outboundSchema.parse(getCompaniesFlowRequest),
|
|
63
|
-
);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
/** @internal */
|
|
67
|
-
export const GetCompaniesFlowPagination$inboundSchema: z.ZodMiniType<
|
|
68
|
-
GetCompaniesFlowPagination,
|
|
69
|
-
unknown
|
|
70
|
-
> = z.object({
|
|
71
|
-
total: types.number(),
|
|
72
|
-
perPage: types.number(),
|
|
73
|
-
currentPage: types.number(),
|
|
74
|
-
totalPages: types.number(),
|
|
75
|
-
});
|
|
76
|
-
|
|
77
|
-
export function getCompaniesFlowPaginationFromJSON(
|
|
78
|
-
jsonString: string,
|
|
79
|
-
): SafeParseResult<GetCompaniesFlowPagination, SDKValidationError> {
|
|
80
|
-
return safeParse(
|
|
81
|
-
jsonString,
|
|
82
|
-
(x) => GetCompaniesFlowPagination$inboundSchema.parse(JSON.parse(x)),
|
|
83
|
-
`Failed to parse 'GetCompaniesFlowPagination' from JSON`,
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
/** @internal */
|
|
88
|
-
export const GetCompaniesFlowMeta$inboundSchema: z.ZodMiniType<
|
|
89
|
-
GetCompaniesFlowMeta,
|
|
90
|
-
unknown
|
|
91
|
-
> = z.object({
|
|
92
|
-
warnings: z.optional(z.nullable(z.array(types.string()))),
|
|
93
|
-
pagination: z.optional(
|
|
94
|
-
z.nullable(z.lazy(() => GetCompaniesFlowPagination$inboundSchema)),
|
|
95
|
-
),
|
|
96
|
-
});
|
|
97
|
-
|
|
98
|
-
export function getCompaniesFlowMetaFromJSON(
|
|
99
|
-
jsonString: string,
|
|
100
|
-
): SafeParseResult<GetCompaniesFlowMeta, SDKValidationError> {
|
|
101
|
-
return safeParse(
|
|
102
|
-
jsonString,
|
|
103
|
-
(x) => GetCompaniesFlowMeta$inboundSchema.parse(JSON.parse(x)),
|
|
104
|
-
`Failed to parse 'GetCompaniesFlowMeta' from JSON`,
|
|
105
|
-
);
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
/** @internal */
|
|
109
|
-
export const GetCompaniesFlowErrors$inboundSchema: z.ZodMiniType<
|
|
110
|
-
GetCompaniesFlowErrors,
|
|
111
|
-
unknown
|
|
112
|
-
> = z.object({});
|
|
113
|
-
|
|
114
|
-
export function getCompaniesFlowErrorsFromJSON(
|
|
115
|
-
jsonString: string,
|
|
116
|
-
): SafeParseResult<GetCompaniesFlowErrors, SDKValidationError> {
|
|
117
|
-
return safeParse(
|
|
118
|
-
jsonString,
|
|
119
|
-
(x) => GetCompaniesFlowErrors$inboundSchema.parse(JSON.parse(x)),
|
|
120
|
-
`Failed to parse 'GetCompaniesFlowErrors' from JSON`,
|
|
121
|
-
);
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
/** @internal */
|
|
125
|
-
export const GetCompaniesFlowRawData$inboundSchema: z.ZodMiniType<
|
|
126
|
-
GetCompaniesFlowRawData,
|
|
127
|
-
unknown
|
|
128
|
-
> = z.object({});
|
|
129
|
-
|
|
130
|
-
export function getCompaniesFlowRawDataFromJSON(
|
|
131
|
-
jsonString: string,
|
|
132
|
-
): SafeParseResult<GetCompaniesFlowRawData, SDKValidationError> {
|
|
133
|
-
return safeParse(
|
|
134
|
-
jsonString,
|
|
135
|
-
(x) => GetCompaniesFlowRawData$inboundSchema.parse(JSON.parse(x)),
|
|
136
|
-
`Failed to parse 'GetCompaniesFlowRawData' from JSON`,
|
|
137
|
-
);
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
/** @internal */
|
|
141
|
-
export const GetCompaniesFlowResponse$inboundSchema: z.ZodMiniType<
|
|
142
|
-
GetCompaniesFlowResponse,
|
|
143
|
-
unknown
|
|
144
|
-
> = z.object({
|
|
145
|
-
meta: z.optional(
|
|
146
|
-
z.nullable(z.lazy(() => GetCompaniesFlowMeta$inboundSchema)),
|
|
147
|
-
),
|
|
148
|
-
data: z.array(models.CompanyResponseDto$inboundSchema),
|
|
149
|
-
errors: types.nullable(z.lazy(() => GetCompaniesFlowErrors$inboundSchema)),
|
|
150
|
-
rawData: types.nullable(z.lazy(() => GetCompaniesFlowRawData$inboundSchema)),
|
|
151
|
-
});
|
|
152
|
-
|
|
153
|
-
export function getCompaniesFlowResponseFromJSON(
|
|
154
|
-
jsonString: string,
|
|
155
|
-
): SafeParseResult<GetCompaniesFlowResponse, SDKValidationError> {
|
|
156
|
-
return safeParse(
|
|
157
|
-
jsonString,
|
|
158
|
-
(x) => GetCompaniesFlowResponse$inboundSchema.parse(JSON.parse(x)),
|
|
159
|
-
`Failed to parse 'GetCompaniesFlowResponse' from JSON`,
|
|
160
|
-
);
|
|
161
|
-
}
|
|
@@ -1,63 +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 { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
-
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
9
|
-
|
|
10
|
-
export type GetEnvironmentPageRequest = {
|
|
11
|
-
/**
|
|
12
|
-
* Encoded state value containing tenant and user context, returned from the OAuth redirect
|
|
13
|
-
*/
|
|
14
|
-
state: string;
|
|
15
|
-
/**
|
|
16
|
-
* Identifier of the target system (e.g. exact, sevdesk, xero)
|
|
17
|
-
*/
|
|
18
|
-
targetSystem: string;
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Environment or company selection page rendered successfully
|
|
23
|
-
*/
|
|
24
|
-
export type GetEnvironmentPageResponse = {};
|
|
25
|
-
|
|
26
|
-
/** @internal */
|
|
27
|
-
export type GetEnvironmentPageRequest$Outbound = {
|
|
28
|
-
state: string;
|
|
29
|
-
targetSystem: string;
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
/** @internal */
|
|
33
|
-
export const GetEnvironmentPageRequest$outboundSchema: z.ZodMiniType<
|
|
34
|
-
GetEnvironmentPageRequest$Outbound,
|
|
35
|
-
GetEnvironmentPageRequest
|
|
36
|
-
> = z.object({
|
|
37
|
-
state: z.string(),
|
|
38
|
-
targetSystem: z.string(),
|
|
39
|
-
});
|
|
40
|
-
|
|
41
|
-
export function getEnvironmentPageRequestToJSON(
|
|
42
|
-
getEnvironmentPageRequest: GetEnvironmentPageRequest,
|
|
43
|
-
): string {
|
|
44
|
-
return JSON.stringify(
|
|
45
|
-
GetEnvironmentPageRequest$outboundSchema.parse(getEnvironmentPageRequest),
|
|
46
|
-
);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
/** @internal */
|
|
50
|
-
export const GetEnvironmentPageResponse$inboundSchema: z.ZodMiniType<
|
|
51
|
-
GetEnvironmentPageResponse,
|
|
52
|
-
unknown
|
|
53
|
-
> = z.object({});
|
|
54
|
-
|
|
55
|
-
export function getEnvironmentPageResponseFromJSON(
|
|
56
|
-
jsonString: string,
|
|
57
|
-
): SafeParseResult<GetEnvironmentPageResponse, SDKValidationError> {
|
|
58
|
-
return safeParse(
|
|
59
|
-
jsonString,
|
|
60
|
-
(x) => GetEnvironmentPageResponse$inboundSchema.parse(JSON.parse(x)),
|
|
61
|
-
`Failed to parse 'GetEnvironmentPageResponse' from JSON`,
|
|
62
|
-
);
|
|
63
|
-
}
|
|
@@ -1,30 +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 { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
-
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* Submission page style configuration for the authenticated tenant
|
|
12
|
-
*/
|
|
13
|
-
export type GetSubmissionPageStyleByKeyResponse = {};
|
|
14
|
-
|
|
15
|
-
/** @internal */
|
|
16
|
-
export const GetSubmissionPageStyleByKeyResponse$inboundSchema: z.ZodMiniType<
|
|
17
|
-
GetSubmissionPageStyleByKeyResponse,
|
|
18
|
-
unknown
|
|
19
|
-
> = z.object({});
|
|
20
|
-
|
|
21
|
-
export function getSubmissionPageStyleByKeyResponseFromJSON(
|
|
22
|
-
jsonString: string,
|
|
23
|
-
): SafeParseResult<GetSubmissionPageStyleByKeyResponse, SDKValidationError> {
|
|
24
|
-
return safeParse(
|
|
25
|
-
jsonString,
|
|
26
|
-
(x) =>
|
|
27
|
-
GetSubmissionPageStyleByKeyResponse$inboundSchema.parse(JSON.parse(x)),
|
|
28
|
-
`Failed to parse 'GetSubmissionPageStyleByKeyResponse' from JSON`,
|
|
29
|
-
);
|
|
30
|
-
}
|
|
@@ -1,59 +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 { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
-
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
9
|
-
|
|
10
|
-
export type GetSubmissionPageStyleRequest = {
|
|
11
|
-
/**
|
|
12
|
-
* Unique tenant code used to look up the submission page style
|
|
13
|
-
*/
|
|
14
|
-
code: string;
|
|
15
|
-
};
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Submission page style configuration for the given tenant code
|
|
19
|
-
*/
|
|
20
|
-
export type GetSubmissionPageStyleResponse = {};
|
|
21
|
-
|
|
22
|
-
/** @internal */
|
|
23
|
-
export type GetSubmissionPageStyleRequest$Outbound = {
|
|
24
|
-
code: string;
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
/** @internal */
|
|
28
|
-
export const GetSubmissionPageStyleRequest$outboundSchema: z.ZodMiniType<
|
|
29
|
-
GetSubmissionPageStyleRequest$Outbound,
|
|
30
|
-
GetSubmissionPageStyleRequest
|
|
31
|
-
> = z.object({
|
|
32
|
-
code: z.string(),
|
|
33
|
-
});
|
|
34
|
-
|
|
35
|
-
export function getSubmissionPageStyleRequestToJSON(
|
|
36
|
-
getSubmissionPageStyleRequest: GetSubmissionPageStyleRequest,
|
|
37
|
-
): string {
|
|
38
|
-
return JSON.stringify(
|
|
39
|
-
GetSubmissionPageStyleRequest$outboundSchema.parse(
|
|
40
|
-
getSubmissionPageStyleRequest,
|
|
41
|
-
),
|
|
42
|
-
);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
/** @internal */
|
|
46
|
-
export const GetSubmissionPageStyleResponse$inboundSchema: z.ZodMiniType<
|
|
47
|
-
GetSubmissionPageStyleResponse,
|
|
48
|
-
unknown
|
|
49
|
-
> = z.object({});
|
|
50
|
-
|
|
51
|
-
export function getSubmissionPageStyleResponseFromJSON(
|
|
52
|
-
jsonString: string,
|
|
53
|
-
): SafeParseResult<GetSubmissionPageStyleResponse, SDKValidationError> {
|
|
54
|
-
return safeParse(
|
|
55
|
-
jsonString,
|
|
56
|
-
(x) => GetSubmissionPageStyleResponse$inboundSchema.parse(JSON.parse(x)),
|
|
57
|
-
`Failed to parse 'GetSubmissionPageStyleResponse' from JSON`,
|
|
58
|
-
);
|
|
59
|
-
}
|
|
@@ -1,62 +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 { Result as SafeParseResult } from "../../types/fp.js";
|
|
8
|
-
import * as types from "../../types/primitives.js";
|
|
9
|
-
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
10
|
-
|
|
11
|
-
export type GetSubmitPageRequest = {
|
|
12
|
-
/**
|
|
13
|
-
* Unique code identifying the tenant submission session
|
|
14
|
-
*/
|
|
15
|
-
code: string;
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* Submission page rendered successfully
|
|
20
|
-
*/
|
|
21
|
-
export type GetSubmitPageResponse = {
|
|
22
|
-
code?: string | undefined;
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
/** @internal */
|
|
26
|
-
export type GetSubmitPageRequest$Outbound = {
|
|
27
|
-
code: string;
|
|
28
|
-
};
|
|
29
|
-
|
|
30
|
-
/** @internal */
|
|
31
|
-
export const GetSubmitPageRequest$outboundSchema: z.ZodMiniType<
|
|
32
|
-
GetSubmitPageRequest$Outbound,
|
|
33
|
-
GetSubmitPageRequest
|
|
34
|
-
> = z.object({
|
|
35
|
-
code: z.string(),
|
|
36
|
-
});
|
|
37
|
-
|
|
38
|
-
export function getSubmitPageRequestToJSON(
|
|
39
|
-
getSubmitPageRequest: GetSubmitPageRequest,
|
|
40
|
-
): string {
|
|
41
|
-
return JSON.stringify(
|
|
42
|
-
GetSubmitPageRequest$outboundSchema.parse(getSubmitPageRequest),
|
|
43
|
-
);
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
/** @internal */
|
|
47
|
-
export const GetSubmitPageResponse$inboundSchema: z.ZodMiniType<
|
|
48
|
-
GetSubmitPageResponse,
|
|
49
|
-
unknown
|
|
50
|
-
> = z.object({
|
|
51
|
-
code: types.optional(types.string()),
|
|
52
|
-
});
|
|
53
|
-
|
|
54
|
-
export function getSubmitPageResponseFromJSON(
|
|
55
|
-
jsonString: string,
|
|
56
|
-
): SafeParseResult<GetSubmitPageResponse, SDKValidationError> {
|
|
57
|
-
return safeParse(
|
|
58
|
-
jsonString,
|
|
59
|
-
(x) => GetSubmitPageResponse$inboundSchema.parse(JSON.parse(x)),
|
|
60
|
-
`Failed to parse 'GetSubmitPageResponse' from JSON`,
|
|
61
|
-
);
|
|
62
|
-
}
|