@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,164 +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 CreateContactsV1Request = {
|
|
13
|
-
/**
|
|
14
|
-
* ID of the company (required for multi-company target systems)
|
|
15
|
-
*/
|
|
16
|
-
companyId?: string | undefined;
|
|
17
|
-
body: models.CreateContactByBatchMetaDataDto;
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
export type CreateContactsV1Pagination = {
|
|
21
|
-
total: number;
|
|
22
|
-
perPage: number;
|
|
23
|
-
currentPage: number;
|
|
24
|
-
totalPages: number;
|
|
25
|
-
};
|
|
26
|
-
|
|
27
|
-
export type CreateContactsV1Meta = {
|
|
28
|
-
warnings?: Array<string> | null | undefined;
|
|
29
|
-
pagination?: CreateContactsV1Pagination | null | undefined;
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
export type CreateContactsV1Errors = {};
|
|
33
|
-
|
|
34
|
-
export type CreateContactsV1RawData = {};
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Contacts created successfully in bulk
|
|
38
|
-
*/
|
|
39
|
-
export type CreateContactsV1Response = {
|
|
40
|
-
meta?: CreateContactsV1Meta | null | undefined;
|
|
41
|
-
data: models.ContactByBatchMetaDataResponseDto;
|
|
42
|
-
errors: CreateContactsV1Errors | null;
|
|
43
|
-
rawData: CreateContactsV1RawData | null;
|
|
44
|
-
};
|
|
45
|
-
|
|
46
|
-
/** @internal */
|
|
47
|
-
export type CreateContactsV1Request$Outbound = {
|
|
48
|
-
companyId?: string | undefined;
|
|
49
|
-
body: models.CreateContactByBatchMetaDataDto$Outbound;
|
|
50
|
-
};
|
|
51
|
-
|
|
52
|
-
/** @internal */
|
|
53
|
-
export const CreateContactsV1Request$outboundSchema: z.ZodMiniType<
|
|
54
|
-
CreateContactsV1Request$Outbound,
|
|
55
|
-
CreateContactsV1Request
|
|
56
|
-
> = z.object({
|
|
57
|
-
companyId: z.optional(z.string()),
|
|
58
|
-
body: models.CreateContactByBatchMetaDataDto$outboundSchema,
|
|
59
|
-
});
|
|
60
|
-
|
|
61
|
-
export function createContactsV1RequestToJSON(
|
|
62
|
-
createContactsV1Request: CreateContactsV1Request,
|
|
63
|
-
): string {
|
|
64
|
-
return JSON.stringify(
|
|
65
|
-
CreateContactsV1Request$outboundSchema.parse(createContactsV1Request),
|
|
66
|
-
);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
/** @internal */
|
|
70
|
-
export const CreateContactsV1Pagination$inboundSchema: z.ZodMiniType<
|
|
71
|
-
CreateContactsV1Pagination,
|
|
72
|
-
unknown
|
|
73
|
-
> = z.object({
|
|
74
|
-
total: types.number(),
|
|
75
|
-
perPage: types.number(),
|
|
76
|
-
currentPage: types.number(),
|
|
77
|
-
totalPages: types.number(),
|
|
78
|
-
});
|
|
79
|
-
|
|
80
|
-
export function createContactsV1PaginationFromJSON(
|
|
81
|
-
jsonString: string,
|
|
82
|
-
): SafeParseResult<CreateContactsV1Pagination, SDKValidationError> {
|
|
83
|
-
return safeParse(
|
|
84
|
-
jsonString,
|
|
85
|
-
(x) => CreateContactsV1Pagination$inboundSchema.parse(JSON.parse(x)),
|
|
86
|
-
`Failed to parse 'CreateContactsV1Pagination' from JSON`,
|
|
87
|
-
);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
/** @internal */
|
|
91
|
-
export const CreateContactsV1Meta$inboundSchema: z.ZodMiniType<
|
|
92
|
-
CreateContactsV1Meta,
|
|
93
|
-
unknown
|
|
94
|
-
> = z.object({
|
|
95
|
-
warnings: z.optional(z.nullable(z.array(types.string()))),
|
|
96
|
-
pagination: z.optional(
|
|
97
|
-
z.nullable(z.lazy(() => CreateContactsV1Pagination$inboundSchema)),
|
|
98
|
-
),
|
|
99
|
-
});
|
|
100
|
-
|
|
101
|
-
export function createContactsV1MetaFromJSON(
|
|
102
|
-
jsonString: string,
|
|
103
|
-
): SafeParseResult<CreateContactsV1Meta, SDKValidationError> {
|
|
104
|
-
return safeParse(
|
|
105
|
-
jsonString,
|
|
106
|
-
(x) => CreateContactsV1Meta$inboundSchema.parse(JSON.parse(x)),
|
|
107
|
-
`Failed to parse 'CreateContactsV1Meta' from JSON`,
|
|
108
|
-
);
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
/** @internal */
|
|
112
|
-
export const CreateContactsV1Errors$inboundSchema: z.ZodMiniType<
|
|
113
|
-
CreateContactsV1Errors,
|
|
114
|
-
unknown
|
|
115
|
-
> = z.object({});
|
|
116
|
-
|
|
117
|
-
export function createContactsV1ErrorsFromJSON(
|
|
118
|
-
jsonString: string,
|
|
119
|
-
): SafeParseResult<CreateContactsV1Errors, SDKValidationError> {
|
|
120
|
-
return safeParse(
|
|
121
|
-
jsonString,
|
|
122
|
-
(x) => CreateContactsV1Errors$inboundSchema.parse(JSON.parse(x)),
|
|
123
|
-
`Failed to parse 'CreateContactsV1Errors' from JSON`,
|
|
124
|
-
);
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
/** @internal */
|
|
128
|
-
export const CreateContactsV1RawData$inboundSchema: z.ZodMiniType<
|
|
129
|
-
CreateContactsV1RawData,
|
|
130
|
-
unknown
|
|
131
|
-
> = z.object({});
|
|
132
|
-
|
|
133
|
-
export function createContactsV1RawDataFromJSON(
|
|
134
|
-
jsonString: string,
|
|
135
|
-
): SafeParseResult<CreateContactsV1RawData, SDKValidationError> {
|
|
136
|
-
return safeParse(
|
|
137
|
-
jsonString,
|
|
138
|
-
(x) => CreateContactsV1RawData$inboundSchema.parse(JSON.parse(x)),
|
|
139
|
-
`Failed to parse 'CreateContactsV1RawData' from JSON`,
|
|
140
|
-
);
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
/** @internal */
|
|
144
|
-
export const CreateContactsV1Response$inboundSchema: z.ZodMiniType<
|
|
145
|
-
CreateContactsV1Response,
|
|
146
|
-
unknown
|
|
147
|
-
> = z.object({
|
|
148
|
-
meta: z.optional(
|
|
149
|
-
z.nullable(z.lazy(() => CreateContactsV1Meta$inboundSchema)),
|
|
150
|
-
),
|
|
151
|
-
data: models.ContactByBatchMetaDataResponseDto$inboundSchema,
|
|
152
|
-
errors: types.nullable(z.lazy(() => CreateContactsV1Errors$inboundSchema)),
|
|
153
|
-
rawData: types.nullable(z.lazy(() => CreateContactsV1RawData$inboundSchema)),
|
|
154
|
-
});
|
|
155
|
-
|
|
156
|
-
export function createContactsV1ResponseFromJSON(
|
|
157
|
-
jsonString: string,
|
|
158
|
-
): SafeParseResult<CreateContactsV1Response, SDKValidationError> {
|
|
159
|
-
return safeParse(
|
|
160
|
-
jsonString,
|
|
161
|
-
(x) => CreateContactsV1Response$inboundSchema.parse(JSON.parse(x)),
|
|
162
|
-
`Failed to parse 'CreateContactsV1Response' from JSON`,
|
|
163
|
-
);
|
|
164
|
-
}
|
|
@@ -1,39 +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 * as models from "../index.js";
|
|
7
|
-
|
|
8
|
-
export type CreateEventSubscriptionsRequest = {
|
|
9
|
-
/**
|
|
10
|
-
* ID of the company (required for multi-company target systems)
|
|
11
|
-
*/
|
|
12
|
-
companyId?: string | undefined;
|
|
13
|
-
body: models.CreateEventSubscriptionRequestDto;
|
|
14
|
-
};
|
|
15
|
-
|
|
16
|
-
/** @internal */
|
|
17
|
-
export type CreateEventSubscriptionsRequest$Outbound = {
|
|
18
|
-
companyId?: string | undefined;
|
|
19
|
-
body: models.CreateEventSubscriptionRequestDto$Outbound;
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
/** @internal */
|
|
23
|
-
export const CreateEventSubscriptionsRequest$outboundSchema: z.ZodMiniType<
|
|
24
|
-
CreateEventSubscriptionsRequest$Outbound,
|
|
25
|
-
CreateEventSubscriptionsRequest
|
|
26
|
-
> = z.object({
|
|
27
|
-
companyId: z.optional(z.string()),
|
|
28
|
-
body: models.CreateEventSubscriptionRequestDto$outboundSchema,
|
|
29
|
-
});
|
|
30
|
-
|
|
31
|
-
export function createEventSubscriptionsRequestToJSON(
|
|
32
|
-
createEventSubscriptionsRequest: CreateEventSubscriptionsRequest,
|
|
33
|
-
): string {
|
|
34
|
-
return JSON.stringify(
|
|
35
|
-
CreateEventSubscriptionsRequest$outboundSchema.parse(
|
|
36
|
-
createEventSubscriptionsRequest,
|
|
37
|
-
),
|
|
38
|
-
);
|
|
39
|
-
}
|
|
@@ -1,135 +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 CreateWebHookTenantPagination = {
|
|
13
|
-
total: number;
|
|
14
|
-
perPage: number;
|
|
15
|
-
currentPage: number;
|
|
16
|
-
totalPages: number;
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
export type CreateWebHookTenantMeta = {
|
|
20
|
-
warnings?: Array<string> | null | undefined;
|
|
21
|
-
pagination?: CreateWebHookTenantPagination | null | undefined;
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
export type CreateWebHookTenantErrors = {};
|
|
25
|
-
|
|
26
|
-
export type CreateWebHookTenantRawData = {};
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* Webhook created successfully
|
|
30
|
-
*/
|
|
31
|
-
export type CreateWebHookTenantResponse = {
|
|
32
|
-
meta?: CreateWebHookTenantMeta | null | undefined;
|
|
33
|
-
data: models.WebhookResponseDto;
|
|
34
|
-
errors: CreateWebHookTenantErrors | null;
|
|
35
|
-
rawData: CreateWebHookTenantRawData | null;
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
/** @internal */
|
|
39
|
-
export const CreateWebHookTenantPagination$inboundSchema: z.ZodMiniType<
|
|
40
|
-
CreateWebHookTenantPagination,
|
|
41
|
-
unknown
|
|
42
|
-
> = z.object({
|
|
43
|
-
total: types.number(),
|
|
44
|
-
perPage: types.number(),
|
|
45
|
-
currentPage: types.number(),
|
|
46
|
-
totalPages: types.number(),
|
|
47
|
-
});
|
|
48
|
-
|
|
49
|
-
export function createWebHookTenantPaginationFromJSON(
|
|
50
|
-
jsonString: string,
|
|
51
|
-
): SafeParseResult<CreateWebHookTenantPagination, SDKValidationError> {
|
|
52
|
-
return safeParse(
|
|
53
|
-
jsonString,
|
|
54
|
-
(x) => CreateWebHookTenantPagination$inboundSchema.parse(JSON.parse(x)),
|
|
55
|
-
`Failed to parse 'CreateWebHookTenantPagination' from JSON`,
|
|
56
|
-
);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/** @internal */
|
|
60
|
-
export const CreateWebHookTenantMeta$inboundSchema: z.ZodMiniType<
|
|
61
|
-
CreateWebHookTenantMeta,
|
|
62
|
-
unknown
|
|
63
|
-
> = z.object({
|
|
64
|
-
warnings: z.optional(z.nullable(z.array(types.string()))),
|
|
65
|
-
pagination: z.optional(
|
|
66
|
-
z.nullable(z.lazy(() => CreateWebHookTenantPagination$inboundSchema)),
|
|
67
|
-
),
|
|
68
|
-
});
|
|
69
|
-
|
|
70
|
-
export function createWebHookTenantMetaFromJSON(
|
|
71
|
-
jsonString: string,
|
|
72
|
-
): SafeParseResult<CreateWebHookTenantMeta, SDKValidationError> {
|
|
73
|
-
return safeParse(
|
|
74
|
-
jsonString,
|
|
75
|
-
(x) => CreateWebHookTenantMeta$inboundSchema.parse(JSON.parse(x)),
|
|
76
|
-
`Failed to parse 'CreateWebHookTenantMeta' from JSON`,
|
|
77
|
-
);
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
/** @internal */
|
|
81
|
-
export const CreateWebHookTenantErrors$inboundSchema: z.ZodMiniType<
|
|
82
|
-
CreateWebHookTenantErrors,
|
|
83
|
-
unknown
|
|
84
|
-
> = z.object({});
|
|
85
|
-
|
|
86
|
-
export function createWebHookTenantErrorsFromJSON(
|
|
87
|
-
jsonString: string,
|
|
88
|
-
): SafeParseResult<CreateWebHookTenantErrors, SDKValidationError> {
|
|
89
|
-
return safeParse(
|
|
90
|
-
jsonString,
|
|
91
|
-
(x) => CreateWebHookTenantErrors$inboundSchema.parse(JSON.parse(x)),
|
|
92
|
-
`Failed to parse 'CreateWebHookTenantErrors' from JSON`,
|
|
93
|
-
);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
/** @internal */
|
|
97
|
-
export const CreateWebHookTenantRawData$inboundSchema: z.ZodMiniType<
|
|
98
|
-
CreateWebHookTenantRawData,
|
|
99
|
-
unknown
|
|
100
|
-
> = z.object({});
|
|
101
|
-
|
|
102
|
-
export function createWebHookTenantRawDataFromJSON(
|
|
103
|
-
jsonString: string,
|
|
104
|
-
): SafeParseResult<CreateWebHookTenantRawData, SDKValidationError> {
|
|
105
|
-
return safeParse(
|
|
106
|
-
jsonString,
|
|
107
|
-
(x) => CreateWebHookTenantRawData$inboundSchema.parse(JSON.parse(x)),
|
|
108
|
-
`Failed to parse 'CreateWebHookTenantRawData' from JSON`,
|
|
109
|
-
);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
/** @internal */
|
|
113
|
-
export const CreateWebHookTenantResponse$inboundSchema: z.ZodMiniType<
|
|
114
|
-
CreateWebHookTenantResponse,
|
|
115
|
-
unknown
|
|
116
|
-
> = z.object({
|
|
117
|
-
meta: z.optional(
|
|
118
|
-
z.nullable(z.lazy(() => CreateWebHookTenantMeta$inboundSchema)),
|
|
119
|
-
),
|
|
120
|
-
data: models.WebhookResponseDto$inboundSchema,
|
|
121
|
-
errors: types.nullable(z.lazy(() => CreateWebHookTenantErrors$inboundSchema)),
|
|
122
|
-
rawData: types.nullable(
|
|
123
|
-
z.lazy(() => CreateWebHookTenantRawData$inboundSchema),
|
|
124
|
-
),
|
|
125
|
-
});
|
|
126
|
-
|
|
127
|
-
export function createWebHookTenantResponseFromJSON(
|
|
128
|
-
jsonString: string,
|
|
129
|
-
): SafeParseResult<CreateWebHookTenantResponse, SDKValidationError> {
|
|
130
|
-
return safeParse(
|
|
131
|
-
jsonString,
|
|
132
|
-
(x) => CreateWebHookTenantResponse$inboundSchema.parse(JSON.parse(x)),
|
|
133
|
-
`Failed to parse 'CreateWebHookTenantResponse' from JSON`,
|
|
134
|
-
);
|
|
135
|
-
}
|
|
@@ -1,135 +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 CreateWebhookConfigPagination = {
|
|
13
|
-
total: number;
|
|
14
|
-
perPage: number;
|
|
15
|
-
currentPage: number;
|
|
16
|
-
totalPages: number;
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
export type CreateWebhookConfigMeta = {
|
|
20
|
-
warnings?: Array<string> | null | undefined;
|
|
21
|
-
pagination?: CreateWebhookConfigPagination | null | undefined;
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
export type CreateWebhookConfigErrors = {};
|
|
25
|
-
|
|
26
|
-
export type CreateWebhookConfigRawData = {};
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* Webhook created successfully
|
|
30
|
-
*/
|
|
31
|
-
export type CreateWebhookConfigResponse = {
|
|
32
|
-
meta?: CreateWebhookConfigMeta | null | undefined;
|
|
33
|
-
data: models.WebhookResponseDto;
|
|
34
|
-
errors: CreateWebhookConfigErrors | null;
|
|
35
|
-
rawData: CreateWebhookConfigRawData | null;
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
/** @internal */
|
|
39
|
-
export const CreateWebhookConfigPagination$inboundSchema: z.ZodMiniType<
|
|
40
|
-
CreateWebhookConfigPagination,
|
|
41
|
-
unknown
|
|
42
|
-
> = z.object({
|
|
43
|
-
total: types.number(),
|
|
44
|
-
perPage: types.number(),
|
|
45
|
-
currentPage: types.number(),
|
|
46
|
-
totalPages: types.number(),
|
|
47
|
-
});
|
|
48
|
-
|
|
49
|
-
export function createWebhookConfigPaginationFromJSON(
|
|
50
|
-
jsonString: string,
|
|
51
|
-
): SafeParseResult<CreateWebhookConfigPagination, SDKValidationError> {
|
|
52
|
-
return safeParse(
|
|
53
|
-
jsonString,
|
|
54
|
-
(x) => CreateWebhookConfigPagination$inboundSchema.parse(JSON.parse(x)),
|
|
55
|
-
`Failed to parse 'CreateWebhookConfigPagination' from JSON`,
|
|
56
|
-
);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/** @internal */
|
|
60
|
-
export const CreateWebhookConfigMeta$inboundSchema: z.ZodMiniType<
|
|
61
|
-
CreateWebhookConfigMeta,
|
|
62
|
-
unknown
|
|
63
|
-
> = z.object({
|
|
64
|
-
warnings: z.optional(z.nullable(z.array(types.string()))),
|
|
65
|
-
pagination: z.optional(
|
|
66
|
-
z.nullable(z.lazy(() => CreateWebhookConfigPagination$inboundSchema)),
|
|
67
|
-
),
|
|
68
|
-
});
|
|
69
|
-
|
|
70
|
-
export function createWebhookConfigMetaFromJSON(
|
|
71
|
-
jsonString: string,
|
|
72
|
-
): SafeParseResult<CreateWebhookConfigMeta, SDKValidationError> {
|
|
73
|
-
return safeParse(
|
|
74
|
-
jsonString,
|
|
75
|
-
(x) => CreateWebhookConfigMeta$inboundSchema.parse(JSON.parse(x)),
|
|
76
|
-
`Failed to parse 'CreateWebhookConfigMeta' from JSON`,
|
|
77
|
-
);
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
/** @internal */
|
|
81
|
-
export const CreateWebhookConfigErrors$inboundSchema: z.ZodMiniType<
|
|
82
|
-
CreateWebhookConfigErrors,
|
|
83
|
-
unknown
|
|
84
|
-
> = z.object({});
|
|
85
|
-
|
|
86
|
-
export function createWebhookConfigErrorsFromJSON(
|
|
87
|
-
jsonString: string,
|
|
88
|
-
): SafeParseResult<CreateWebhookConfigErrors, SDKValidationError> {
|
|
89
|
-
return safeParse(
|
|
90
|
-
jsonString,
|
|
91
|
-
(x) => CreateWebhookConfigErrors$inboundSchema.parse(JSON.parse(x)),
|
|
92
|
-
`Failed to parse 'CreateWebhookConfigErrors' from JSON`,
|
|
93
|
-
);
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
/** @internal */
|
|
97
|
-
export const CreateWebhookConfigRawData$inboundSchema: z.ZodMiniType<
|
|
98
|
-
CreateWebhookConfigRawData,
|
|
99
|
-
unknown
|
|
100
|
-
> = z.object({});
|
|
101
|
-
|
|
102
|
-
export function createWebhookConfigRawDataFromJSON(
|
|
103
|
-
jsonString: string,
|
|
104
|
-
): SafeParseResult<CreateWebhookConfigRawData, SDKValidationError> {
|
|
105
|
-
return safeParse(
|
|
106
|
-
jsonString,
|
|
107
|
-
(x) => CreateWebhookConfigRawData$inboundSchema.parse(JSON.parse(x)),
|
|
108
|
-
`Failed to parse 'CreateWebhookConfigRawData' from JSON`,
|
|
109
|
-
);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
/** @internal */
|
|
113
|
-
export const CreateWebhookConfigResponse$inboundSchema: z.ZodMiniType<
|
|
114
|
-
CreateWebhookConfigResponse,
|
|
115
|
-
unknown
|
|
116
|
-
> = z.object({
|
|
117
|
-
meta: z.optional(
|
|
118
|
-
z.nullable(z.lazy(() => CreateWebhookConfigMeta$inboundSchema)),
|
|
119
|
-
),
|
|
120
|
-
data: models.WebhookResponseDto$inboundSchema,
|
|
121
|
-
errors: types.nullable(z.lazy(() => CreateWebhookConfigErrors$inboundSchema)),
|
|
122
|
-
rawData: types.nullable(
|
|
123
|
-
z.lazy(() => CreateWebhookConfigRawData$inboundSchema),
|
|
124
|
-
),
|
|
125
|
-
});
|
|
126
|
-
|
|
127
|
-
export function createWebhookConfigResponseFromJSON(
|
|
128
|
-
jsonString: string,
|
|
129
|
-
): SafeParseResult<CreateWebhookConfigResponse, SDKValidationError> {
|
|
130
|
-
return safeParse(
|
|
131
|
-
jsonString,
|
|
132
|
-
(x) => CreateWebhookConfigResponse$inboundSchema.parse(JSON.parse(x)),
|
|
133
|
-
`Failed to parse 'CreateWebhookConfigResponse' from JSON`,
|
|
134
|
-
);
|
|
135
|
-
}
|
|
@@ -1,176 +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 CreateWebhookEndUserRequest = {
|
|
13
|
-
/**
|
|
14
|
-
* Environment name (required for multi-environment systems such as Business Central)
|
|
15
|
-
*/
|
|
16
|
-
environmentName?: string | undefined;
|
|
17
|
-
/**
|
|
18
|
-
* ID of the company (required for multi-company target systems)
|
|
19
|
-
*/
|
|
20
|
-
companyId?: string | undefined;
|
|
21
|
-
body: models.CreateAccountingWebhookRequestDto;
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
export type CreateWebhookEndUserPagination = {
|
|
25
|
-
total: number;
|
|
26
|
-
perPage: number;
|
|
27
|
-
currentPage: number;
|
|
28
|
-
totalPages: number;
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
export type CreateWebhookEndUserMeta = {
|
|
32
|
-
warnings?: Array<string> | null | undefined;
|
|
33
|
-
pagination?: CreateWebhookEndUserPagination | null | undefined;
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
export type CreateWebhookEndUserErrors = {};
|
|
37
|
-
|
|
38
|
-
export type CreateWebhookEndUserRawData = {};
|
|
39
|
-
|
|
40
|
-
/**
|
|
41
|
-
* Webhook created successfully
|
|
42
|
-
*/
|
|
43
|
-
export type CreateWebhookEndUserResponse = {
|
|
44
|
-
meta?: CreateWebhookEndUserMeta | null | undefined;
|
|
45
|
-
data: models.WebhookResponseDto;
|
|
46
|
-
errors: CreateWebhookEndUserErrors | null;
|
|
47
|
-
rawData: CreateWebhookEndUserRawData | null;
|
|
48
|
-
};
|
|
49
|
-
|
|
50
|
-
/** @internal */
|
|
51
|
-
export type CreateWebhookEndUserRequest$Outbound = {
|
|
52
|
-
environmentName?: string | undefined;
|
|
53
|
-
companyId?: string | undefined;
|
|
54
|
-
body: models.CreateAccountingWebhookRequestDto$Outbound;
|
|
55
|
-
};
|
|
56
|
-
|
|
57
|
-
/** @internal */
|
|
58
|
-
export const CreateWebhookEndUserRequest$outboundSchema: z.ZodMiniType<
|
|
59
|
-
CreateWebhookEndUserRequest$Outbound,
|
|
60
|
-
CreateWebhookEndUserRequest
|
|
61
|
-
> = z.object({
|
|
62
|
-
environmentName: z.optional(z.string()),
|
|
63
|
-
companyId: z.optional(z.string()),
|
|
64
|
-
body: models.CreateAccountingWebhookRequestDto$outboundSchema,
|
|
65
|
-
});
|
|
66
|
-
|
|
67
|
-
export function createWebhookEndUserRequestToJSON(
|
|
68
|
-
createWebhookEndUserRequest: CreateWebhookEndUserRequest,
|
|
69
|
-
): string {
|
|
70
|
-
return JSON.stringify(
|
|
71
|
-
CreateWebhookEndUserRequest$outboundSchema.parse(
|
|
72
|
-
createWebhookEndUserRequest,
|
|
73
|
-
),
|
|
74
|
-
);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
/** @internal */
|
|
78
|
-
export const CreateWebhookEndUserPagination$inboundSchema: z.ZodMiniType<
|
|
79
|
-
CreateWebhookEndUserPagination,
|
|
80
|
-
unknown
|
|
81
|
-
> = z.object({
|
|
82
|
-
total: types.number(),
|
|
83
|
-
perPage: types.number(),
|
|
84
|
-
currentPage: types.number(),
|
|
85
|
-
totalPages: types.number(),
|
|
86
|
-
});
|
|
87
|
-
|
|
88
|
-
export function createWebhookEndUserPaginationFromJSON(
|
|
89
|
-
jsonString: string,
|
|
90
|
-
): SafeParseResult<CreateWebhookEndUserPagination, SDKValidationError> {
|
|
91
|
-
return safeParse(
|
|
92
|
-
jsonString,
|
|
93
|
-
(x) => CreateWebhookEndUserPagination$inboundSchema.parse(JSON.parse(x)),
|
|
94
|
-
`Failed to parse 'CreateWebhookEndUserPagination' from JSON`,
|
|
95
|
-
);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
/** @internal */
|
|
99
|
-
export const CreateWebhookEndUserMeta$inboundSchema: z.ZodMiniType<
|
|
100
|
-
CreateWebhookEndUserMeta,
|
|
101
|
-
unknown
|
|
102
|
-
> = z.object({
|
|
103
|
-
warnings: z.optional(z.nullable(z.array(types.string()))),
|
|
104
|
-
pagination: z.optional(
|
|
105
|
-
z.nullable(z.lazy(() => CreateWebhookEndUserPagination$inboundSchema)),
|
|
106
|
-
),
|
|
107
|
-
});
|
|
108
|
-
|
|
109
|
-
export function createWebhookEndUserMetaFromJSON(
|
|
110
|
-
jsonString: string,
|
|
111
|
-
): SafeParseResult<CreateWebhookEndUserMeta, SDKValidationError> {
|
|
112
|
-
return safeParse(
|
|
113
|
-
jsonString,
|
|
114
|
-
(x) => CreateWebhookEndUserMeta$inboundSchema.parse(JSON.parse(x)),
|
|
115
|
-
`Failed to parse 'CreateWebhookEndUserMeta' from JSON`,
|
|
116
|
-
);
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
/** @internal */
|
|
120
|
-
export const CreateWebhookEndUserErrors$inboundSchema: z.ZodMiniType<
|
|
121
|
-
CreateWebhookEndUserErrors,
|
|
122
|
-
unknown
|
|
123
|
-
> = z.object({});
|
|
124
|
-
|
|
125
|
-
export function createWebhookEndUserErrorsFromJSON(
|
|
126
|
-
jsonString: string,
|
|
127
|
-
): SafeParseResult<CreateWebhookEndUserErrors, SDKValidationError> {
|
|
128
|
-
return safeParse(
|
|
129
|
-
jsonString,
|
|
130
|
-
(x) => CreateWebhookEndUserErrors$inboundSchema.parse(JSON.parse(x)),
|
|
131
|
-
`Failed to parse 'CreateWebhookEndUserErrors' from JSON`,
|
|
132
|
-
);
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
/** @internal */
|
|
136
|
-
export const CreateWebhookEndUserRawData$inboundSchema: z.ZodMiniType<
|
|
137
|
-
CreateWebhookEndUserRawData,
|
|
138
|
-
unknown
|
|
139
|
-
> = z.object({});
|
|
140
|
-
|
|
141
|
-
export function createWebhookEndUserRawDataFromJSON(
|
|
142
|
-
jsonString: string,
|
|
143
|
-
): SafeParseResult<CreateWebhookEndUserRawData, SDKValidationError> {
|
|
144
|
-
return safeParse(
|
|
145
|
-
jsonString,
|
|
146
|
-
(x) => CreateWebhookEndUserRawData$inboundSchema.parse(JSON.parse(x)),
|
|
147
|
-
`Failed to parse 'CreateWebhookEndUserRawData' from JSON`,
|
|
148
|
-
);
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
/** @internal */
|
|
152
|
-
export const CreateWebhookEndUserResponse$inboundSchema: z.ZodMiniType<
|
|
153
|
-
CreateWebhookEndUserResponse,
|
|
154
|
-
unknown
|
|
155
|
-
> = z.object({
|
|
156
|
-
meta: z.optional(
|
|
157
|
-
z.nullable(z.lazy(() => CreateWebhookEndUserMeta$inboundSchema)),
|
|
158
|
-
),
|
|
159
|
-
data: models.WebhookResponseDto$inboundSchema,
|
|
160
|
-
errors: types.nullable(
|
|
161
|
-
z.lazy(() => CreateWebhookEndUserErrors$inboundSchema),
|
|
162
|
-
),
|
|
163
|
-
rawData: types.nullable(
|
|
164
|
-
z.lazy(() => CreateWebhookEndUserRawData$inboundSchema),
|
|
165
|
-
),
|
|
166
|
-
});
|
|
167
|
-
|
|
168
|
-
export function createWebhookEndUserResponseFromJSON(
|
|
169
|
-
jsonString: string,
|
|
170
|
-
): SafeParseResult<CreateWebhookEndUserResponse, SDKValidationError> {
|
|
171
|
-
return safeParse(
|
|
172
|
-
jsonString,
|
|
173
|
-
(x) => CreateWebhookEndUserResponse$inboundSchema.parse(JSON.parse(x)),
|
|
174
|
-
`Failed to parse 'CreateWebhookEndUserResponse' from JSON`,
|
|
175
|
-
);
|
|
176
|
-
}
|
|
@@ -1,38 +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 DeleteEventSubscriptionsRequest = {
|
|
8
|
-
eventSubscriptionId: string;
|
|
9
|
-
/**
|
|
10
|
-
* ID of the company (required for multi-company target systems)
|
|
11
|
-
*/
|
|
12
|
-
companyId?: string | undefined;
|
|
13
|
-
};
|
|
14
|
-
|
|
15
|
-
/** @internal */
|
|
16
|
-
export type DeleteEventSubscriptionsRequest$Outbound = {
|
|
17
|
-
eventSubscriptionId: string;
|
|
18
|
-
companyId?: string | undefined;
|
|
19
|
-
};
|
|
20
|
-
|
|
21
|
-
/** @internal */
|
|
22
|
-
export const DeleteEventSubscriptionsRequest$outboundSchema: z.ZodMiniType<
|
|
23
|
-
DeleteEventSubscriptionsRequest$Outbound,
|
|
24
|
-
DeleteEventSubscriptionsRequest
|
|
25
|
-
> = z.object({
|
|
26
|
-
eventSubscriptionId: z.string(),
|
|
27
|
-
companyId: z.optional(z.string()),
|
|
28
|
-
});
|
|
29
|
-
|
|
30
|
-
export function deleteEventSubscriptionsRequestToJSON(
|
|
31
|
-
deleteEventSubscriptionsRequest: DeleteEventSubscriptionsRequest,
|
|
32
|
-
): string {
|
|
33
|
-
return JSON.stringify(
|
|
34
|
-
DeleteEventSubscriptionsRequest$outboundSchema.parse(
|
|
35
|
-
deleteEventSubscriptionsRequest,
|
|
36
|
-
),
|
|
37
|
-
);
|
|
38
|
-
}
|