@maesn/typescript-sdk 0.3.1 → 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 +38 -116
- package/esm/funcs/webhooks-get-webhooks.js +1 -1
- 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/webhooks-get-webhooks.ts +1 -1
- 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 -71
- 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 -94
- 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 -85
- 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 -86
- 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 -85
- 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 -88
- 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 -85
- 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 -77
- 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 -81
- 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 -71
- 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 -71
- 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 -71
- 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 -71
- 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 -71
- 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 -71
- 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 -85
- 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 -71
- 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 -71
- 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 -145
- 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 -177
- package/src/funcs/auth-cancel.ts +0 -135
- package/src/funcs/auth-get-companies-flow.ts +0 -172
- package/src/funcs/auth-get-environment-page.ts +0 -170
- package/src/funcs/auth-get-submit-page.ts +0 -168
- package/src/funcs/auth-long-token.ts +0 -171
- package/src/funcs/auth-set-end-user-selections.ts +0 -161
- package/src/funcs/auth-test.ts +0 -168
- 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 -151
- package/src/funcs/health-details.ts +0 -160
- package/src/funcs/tenants-count-end-users-by-system.ts +0 -145
- package/src/funcs/tenants-delete-registered-system.ts +0 -163
- package/src/funcs/tenants-get-all-active-end-users.ts +0 -145
- package/src/funcs/tenants-get-callback-url.ts +0 -145
- package/src/funcs/tenants-get-registered-systems-masked.ts +0 -145
- package/src/funcs/tenants-get-registered-systems.ts +0 -145
- package/src/funcs/tenants-get-submission-page-style-by-key.ts +0 -145
- package/src/funcs/tenants-get-submission-page-style.ts +0 -169
- package/src/funcs/tenants-get-target-system-requirements.ts +0 -145
- package/src/funcs/tenants-get-target-system-values.ts +0 -145
- 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
package/src/sdk/auth.ts
CHANGED
|
@@ -2,19 +2,10 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import { authApiKeyConfirmation } from "../funcs/auth-api-key-confirmation.js";
|
|
6
|
-
import { authCallback } from "../funcs/auth-callback.js";
|
|
7
|
-
import { authCancel } from "../funcs/auth-cancel.js";
|
|
8
5
|
import { authCreateEndUserAccount } from "../funcs/auth-create-end-user-account.js";
|
|
9
|
-
import { authGetCompaniesFlow } from "../funcs/auth-get-companies-flow.js";
|
|
10
6
|
import { authGetCompanies } from "../funcs/auth-get-companies.js";
|
|
11
|
-
import { authGetEnvironmentPage } from "../funcs/auth-get-environment-page.js";
|
|
12
7
|
import { authGetEnvironments } from "../funcs/auth-get-environments.js";
|
|
13
|
-
import { authGetSubmitPage } from "../funcs/auth-get-submit-page.js";
|
|
14
|
-
import { authLongToken } from "../funcs/auth-long-token.js";
|
|
15
|
-
import { authSetEndUserSelections } from "../funcs/auth-set-end-user-selections.js";
|
|
16
8
|
import { authSystemLoginUrl } from "../funcs/auth-system-login-url.js";
|
|
17
|
-
import { authTest } from "../funcs/auth-test.js";
|
|
18
9
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
19
10
|
import * as operations from "../models/operations/index.js";
|
|
20
11
|
import { unwrapAsync } from "../types/fp.js";
|
|
@@ -40,90 +31,6 @@ export class Auth extends ClientSDK {
|
|
|
40
31
|
));
|
|
41
32
|
}
|
|
42
33
|
|
|
43
|
-
async getCompaniesFlow(
|
|
44
|
-
request?: operations.GetCompaniesFlowRequest | undefined,
|
|
45
|
-
options?: RequestOptions,
|
|
46
|
-
): Promise<operations.GetCompaniesFlowResponse> {
|
|
47
|
-
return unwrapAsync(authGetCompaniesFlow(
|
|
48
|
-
this,
|
|
49
|
-
request,
|
|
50
|
-
options,
|
|
51
|
-
));
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
async getSubmitPage(
|
|
55
|
-
request: operations.GetSubmitPageRequest,
|
|
56
|
-
options?: RequestOptions,
|
|
57
|
-
): Promise<operations.GetSubmitPageResponse> {
|
|
58
|
-
return unwrapAsync(authGetSubmitPage(
|
|
59
|
-
this,
|
|
60
|
-
request,
|
|
61
|
-
options,
|
|
62
|
-
));
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
async apiKeyConfirmation(
|
|
66
|
-
options?: RequestOptions,
|
|
67
|
-
): Promise<operations.ApiKeyConfirmationResponse> {
|
|
68
|
-
return unwrapAsync(authApiKeyConfirmation(
|
|
69
|
-
this,
|
|
70
|
-
options,
|
|
71
|
-
));
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
async cancel(
|
|
75
|
-
options?: RequestOptions,
|
|
76
|
-
): Promise<operations.CancelResponse> {
|
|
77
|
-
return unwrapAsync(authCancel(
|
|
78
|
-
this,
|
|
79
|
-
options,
|
|
80
|
-
));
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
async test(
|
|
84
|
-
request: operations.TestRequest,
|
|
85
|
-
options?: RequestOptions,
|
|
86
|
-
): Promise<operations.TestResponse> {
|
|
87
|
-
return unwrapAsync(authTest(
|
|
88
|
-
this,
|
|
89
|
-
request,
|
|
90
|
-
options,
|
|
91
|
-
));
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
async longToken(
|
|
95
|
-
request: operations.LongTokenRequest,
|
|
96
|
-
options?: RequestOptions,
|
|
97
|
-
): Promise<string> {
|
|
98
|
-
return unwrapAsync(authLongToken(
|
|
99
|
-
this,
|
|
100
|
-
request,
|
|
101
|
-
options,
|
|
102
|
-
));
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
async getEnvironmentPage(
|
|
106
|
-
request: operations.GetEnvironmentPageRequest,
|
|
107
|
-
options?: RequestOptions,
|
|
108
|
-
): Promise<operations.GetEnvironmentPageResponse> {
|
|
109
|
-
return unwrapAsync(authGetEnvironmentPage(
|
|
110
|
-
this,
|
|
111
|
-
request,
|
|
112
|
-
options,
|
|
113
|
-
));
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
async setEndUserSelections(
|
|
117
|
-
request: operations.SetEndUserSelectionsRequest,
|
|
118
|
-
options?: RequestOptions,
|
|
119
|
-
): Promise<operations.SetEndUserSelectionsResponse> {
|
|
120
|
-
return unwrapAsync(authSetEndUserSelections(
|
|
121
|
-
this,
|
|
122
|
-
request,
|
|
123
|
-
options,
|
|
124
|
-
));
|
|
125
|
-
}
|
|
126
|
-
|
|
127
34
|
async systemLoginUrl(
|
|
128
35
|
request: operations.SystemLoginUrlRequest,
|
|
129
36
|
options?: RequestOptions,
|
|
@@ -135,17 +42,6 @@ export class Auth extends ClientSDK {
|
|
|
135
42
|
));
|
|
136
43
|
}
|
|
137
44
|
|
|
138
|
-
async callback(
|
|
139
|
-
request: operations.CallbackRequest,
|
|
140
|
-
options?: RequestOptions,
|
|
141
|
-
): Promise<operations.CallbackResponse> {
|
|
142
|
-
return unwrapAsync(authCallback(
|
|
143
|
-
this,
|
|
144
|
-
request,
|
|
145
|
-
options,
|
|
146
|
-
));
|
|
147
|
-
}
|
|
148
|
-
|
|
149
45
|
async createEndUserAccount(
|
|
150
46
|
request: operations.CreateEndUserAccountRequest,
|
|
151
47
|
options?: RequestOptions,
|
package/src/sdk/sdk.ts
CHANGED
|
@@ -6,8 +6,6 @@ import { ClientSDK } from "../lib/sdks.js";
|
|
|
6
6
|
import { AccountingV2 } from "./accounting-v2.js";
|
|
7
7
|
import { Accounting } from "./accounting.js";
|
|
8
8
|
import { Auth } from "./auth.js";
|
|
9
|
-
import { Events } from "./events.js";
|
|
10
|
-
import { Health } from "./health.js";
|
|
11
9
|
import { Tenants } from "./tenants.js";
|
|
12
10
|
import { User } from "./user.js";
|
|
13
11
|
import { Webhooks } from "./webhooks.js";
|
|
@@ -33,21 +31,11 @@ export class Maesn extends ClientSDK {
|
|
|
33
31
|
return (this._auth ??= new Auth(this._options));
|
|
34
32
|
}
|
|
35
33
|
|
|
36
|
-
private _events?: Events;
|
|
37
|
-
get events(): Events {
|
|
38
|
-
return (this._events ??= new Events(this._options));
|
|
39
|
-
}
|
|
40
|
-
|
|
41
34
|
private _webhooks?: Webhooks;
|
|
42
35
|
get webhooks(): Webhooks {
|
|
43
36
|
return (this._webhooks ??= new Webhooks(this._options));
|
|
44
37
|
}
|
|
45
38
|
|
|
46
|
-
private _health?: Health;
|
|
47
|
-
get health(): Health {
|
|
48
|
-
return (this._health ??= new Health(this._options));
|
|
49
|
-
}
|
|
50
|
-
|
|
51
39
|
private _tenants?: Tenants;
|
|
52
40
|
get tenants(): Tenants {
|
|
53
41
|
return (this._tenants ??= new Tenants(this._options));
|
package/src/sdk/tenants.ts
CHANGED
|
@@ -3,20 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
5
|
import { tenantsAddCallbackUrl } from "../funcs/tenants-add-callback-url.js";
|
|
6
|
-
import { tenantsCountEndUsersBySystem } from "../funcs/tenants-count-end-users-by-system.js";
|
|
7
6
|
import { tenantsDeleteEndUser } from "../funcs/tenants-delete-end-user.js";
|
|
8
|
-
import { tenantsDeleteRegisteredSystem } from "../funcs/tenants-delete-registered-system.js";
|
|
9
|
-
import { tenantsGetAllActiveEndUsers } from "../funcs/tenants-get-all-active-end-users.js";
|
|
10
|
-
import { tenantsGetCallbackUrl } from "../funcs/tenants-get-callback-url.js";
|
|
11
7
|
import { tenantsGetEndUserList } from "../funcs/tenants-get-end-user-list.js";
|
|
12
|
-
import { tenantsGetRegisteredSystemsMasked } from "../funcs/tenants-get-registered-systems-masked.js";
|
|
13
|
-
import { tenantsGetRegisteredSystems } from "../funcs/tenants-get-registered-systems.js";
|
|
14
|
-
import { tenantsGetSubmissionPageStyleByKey } from "../funcs/tenants-get-submission-page-style-by-key.js";
|
|
15
|
-
import { tenantsGetSubmissionPageStyle } from "../funcs/tenants-get-submission-page-style.js";
|
|
16
|
-
import { tenantsGetTargetSystemRequirements } from "../funcs/tenants-get-target-system-requirements.js";
|
|
17
|
-
import { tenantsGetTargetSystemValues } from "../funcs/tenants-get-target-system-values.js";
|
|
18
8
|
import { tenantsSystemRegistration } from "../funcs/tenants-system-registration.js";
|
|
19
|
-
import { tenantsUpdateSubmissionPageStyle } from "../funcs/tenants-update-submission-page-style.js";
|
|
20
9
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
21
10
|
import * as models from "../models/index.js";
|
|
22
11
|
import * as operations from "../models/operations/index.js";
|
|
@@ -54,15 +43,6 @@ export class Tenants extends ClientSDK {
|
|
|
54
43
|
));
|
|
55
44
|
}
|
|
56
45
|
|
|
57
|
-
async countEndUsersBySystem(
|
|
58
|
-
options?: RequestOptions,
|
|
59
|
-
): Promise<models.BaseResponseDto> {
|
|
60
|
-
return unwrapAsync(tenantsCountEndUsersBySystem(
|
|
61
|
-
this,
|
|
62
|
-
options,
|
|
63
|
-
));
|
|
64
|
-
}
|
|
65
|
-
|
|
66
46
|
async deleteEndUser(
|
|
67
47
|
options?: RequestOptions,
|
|
68
48
|
): Promise<operations.DeleteEndUserResponse> {
|
|
@@ -71,100 +51,4 @@ export class Tenants extends ClientSDK {
|
|
|
71
51
|
options,
|
|
72
52
|
));
|
|
73
53
|
}
|
|
74
|
-
|
|
75
|
-
async getCallbackUrl(
|
|
76
|
-
options?: RequestOptions,
|
|
77
|
-
): Promise<models.BaseResponseDto> {
|
|
78
|
-
return unwrapAsync(tenantsGetCallbackUrl(
|
|
79
|
-
this,
|
|
80
|
-
options,
|
|
81
|
-
));
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
async getRegisteredSystems(
|
|
85
|
-
options?: RequestOptions,
|
|
86
|
-
): Promise<models.BaseResponseDto> {
|
|
87
|
-
return unwrapAsync(tenantsGetRegisteredSystems(
|
|
88
|
-
this,
|
|
89
|
-
options,
|
|
90
|
-
));
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
async getTargetSystemValues(
|
|
94
|
-
options?: RequestOptions,
|
|
95
|
-
): Promise<models.BaseResponseDto> {
|
|
96
|
-
return unwrapAsync(tenantsGetTargetSystemValues(
|
|
97
|
-
this,
|
|
98
|
-
options,
|
|
99
|
-
));
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
async getTargetSystemRequirements(
|
|
103
|
-
options?: RequestOptions,
|
|
104
|
-
): Promise<models.BaseResponseDto> {
|
|
105
|
-
return unwrapAsync(tenantsGetTargetSystemRequirements(
|
|
106
|
-
this,
|
|
107
|
-
options,
|
|
108
|
-
));
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
async getRegisteredSystemsMasked(
|
|
112
|
-
options?: RequestOptions,
|
|
113
|
-
): Promise<models.BaseResponseDto> {
|
|
114
|
-
return unwrapAsync(tenantsGetRegisteredSystemsMasked(
|
|
115
|
-
this,
|
|
116
|
-
options,
|
|
117
|
-
));
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
async deleteRegisteredSystem(
|
|
121
|
-
request: operations.DeleteRegisteredSystemRequest,
|
|
122
|
-
options?: RequestOptions,
|
|
123
|
-
): Promise<string> {
|
|
124
|
-
return unwrapAsync(tenantsDeleteRegisteredSystem(
|
|
125
|
-
this,
|
|
126
|
-
request,
|
|
127
|
-
options,
|
|
128
|
-
));
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
async getAllActiveEndUsers(
|
|
132
|
-
options?: RequestOptions,
|
|
133
|
-
): Promise<operations.GetAllActiveEndUsersResponse> {
|
|
134
|
-
return unwrapAsync(tenantsGetAllActiveEndUsers(
|
|
135
|
-
this,
|
|
136
|
-
options,
|
|
137
|
-
));
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
async getSubmissionPageStyle(
|
|
141
|
-
request: operations.GetSubmissionPageStyleRequest,
|
|
142
|
-
options?: RequestOptions,
|
|
143
|
-
): Promise<operations.GetSubmissionPageStyleResponse> {
|
|
144
|
-
return unwrapAsync(tenantsGetSubmissionPageStyle(
|
|
145
|
-
this,
|
|
146
|
-
request,
|
|
147
|
-
options,
|
|
148
|
-
));
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
async updateSubmissionPageStyle(
|
|
152
|
-
request: models.SubmissionPageStyleDto,
|
|
153
|
-
options?: RequestOptions,
|
|
154
|
-
): Promise<operations.UpdateSubmissionPageStyleResponse> {
|
|
155
|
-
return unwrapAsync(tenantsUpdateSubmissionPageStyle(
|
|
156
|
-
this,
|
|
157
|
-
request,
|
|
158
|
-
options,
|
|
159
|
-
));
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
async getSubmissionPageStyleByKey(
|
|
163
|
-
options?: RequestOptions,
|
|
164
|
-
): Promise<operations.GetSubmissionPageStyleByKeyResponse> {
|
|
165
|
-
return unwrapAsync(tenantsGetSubmissionPageStyleByKey(
|
|
166
|
-
this,
|
|
167
|
-
options,
|
|
168
|
-
));
|
|
169
|
-
}
|
|
170
54
|
}
|
package/src/sdk/webhooks.ts
CHANGED
|
@@ -2,75 +2,14 @@
|
|
|
2
2
|
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import { webhooksCreateWebHookTenant } from "../funcs/webhooks-create-web-hook-tenant.js";
|
|
6
|
-
import { webhooksCreateWebhookConfig } from "../funcs/webhooks-create-webhook-config.js";
|
|
7
|
-
import { webhooksCreateWebhookEndUser } from "../funcs/webhooks-create-webhook-end-user.js";
|
|
8
5
|
import { webhooksCreateWebhook } from "../funcs/webhooks-create-webhook.js";
|
|
9
|
-
import { webhooksDeleteWebhookEndUser } from "../funcs/webhooks-delete-webhook-end-user.js";
|
|
10
|
-
import { webhooksDeleteWebhookTenant } from "../funcs/webhooks-delete-webhook-tenant.js";
|
|
11
6
|
import { webhooksDeleteWebhook } from "../funcs/webhooks-delete-webhook.js";
|
|
12
7
|
import { webhooksGetWebhooks } from "../funcs/webhooks-get-webhooks.js";
|
|
13
8
|
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
|
|
14
|
-
import * as models from "../models/index.js";
|
|
15
9
|
import * as operations from "../models/operations/index.js";
|
|
16
10
|
import { unwrapAsync } from "../types/fp.js";
|
|
17
11
|
|
|
18
12
|
export class Webhooks extends ClientSDK {
|
|
19
|
-
async createWebhookEndUser(
|
|
20
|
-
request: operations.CreateWebhookEndUserRequest,
|
|
21
|
-
options?: RequestOptions,
|
|
22
|
-
): Promise<operations.CreateWebhookEndUserResponse> {
|
|
23
|
-
return unwrapAsync(webhooksCreateWebhookEndUser(
|
|
24
|
-
this,
|
|
25
|
-
request,
|
|
26
|
-
options,
|
|
27
|
-
));
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
async createWebHookTenant(
|
|
31
|
-
request: models.CreateAccountingWebhookRequestDto,
|
|
32
|
-
options?: RequestOptions,
|
|
33
|
-
): Promise<operations.CreateWebHookTenantResponse> {
|
|
34
|
-
return unwrapAsync(webhooksCreateWebHookTenant(
|
|
35
|
-
this,
|
|
36
|
-
request,
|
|
37
|
-
options,
|
|
38
|
-
));
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
async deleteWebhookEndUser(
|
|
42
|
-
request: operations.DeleteWebhookEndUserRequest,
|
|
43
|
-
options?: RequestOptions,
|
|
44
|
-
): Promise<operations.DeleteWebhookEndUserResponse> {
|
|
45
|
-
return unwrapAsync(webhooksDeleteWebhookEndUser(
|
|
46
|
-
this,
|
|
47
|
-
request,
|
|
48
|
-
options,
|
|
49
|
-
));
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
async deleteWebhookTenant(
|
|
53
|
-
request: operations.DeleteWebhookTenantRequest,
|
|
54
|
-
options?: RequestOptions,
|
|
55
|
-
): Promise<string> {
|
|
56
|
-
return unwrapAsync(webhooksDeleteWebhookTenant(
|
|
57
|
-
this,
|
|
58
|
-
request,
|
|
59
|
-
options,
|
|
60
|
-
));
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
async createWebhookConfig(
|
|
64
|
-
request: models.CreateAccountingWebhookRequestDto,
|
|
65
|
-
options?: RequestOptions,
|
|
66
|
-
): Promise<operations.CreateWebhookConfigResponse> {
|
|
67
|
-
return unwrapAsync(webhooksCreateWebhookConfig(
|
|
68
|
-
this,
|
|
69
|
-
request,
|
|
70
|
-
options,
|
|
71
|
-
));
|
|
72
|
-
}
|
|
73
|
-
|
|
74
13
|
async createWebhook(
|
|
75
14
|
request: operations.CreateWebhookRequest,
|
|
76
15
|
options?: RequestOptions,
|
|
@@ -82,22 +21,22 @@ export class Webhooks extends ClientSDK {
|
|
|
82
21
|
));
|
|
83
22
|
}
|
|
84
23
|
|
|
85
|
-
async
|
|
86
|
-
request
|
|
24
|
+
async getWebhooks(
|
|
25
|
+
request?: operations.GetWebhooksRequest | undefined,
|
|
87
26
|
options?: RequestOptions,
|
|
88
|
-
): Promise<operations.
|
|
89
|
-
return unwrapAsync(
|
|
27
|
+
): Promise<operations.GetWebhooksResponse> {
|
|
28
|
+
return unwrapAsync(webhooksGetWebhooks(
|
|
90
29
|
this,
|
|
91
30
|
request,
|
|
92
31
|
options,
|
|
93
32
|
));
|
|
94
33
|
}
|
|
95
34
|
|
|
96
|
-
async
|
|
97
|
-
request
|
|
35
|
+
async deleteWebhook(
|
|
36
|
+
request: operations.DeleteWebhookRequest,
|
|
98
37
|
options?: RequestOptions,
|
|
99
|
-
): Promise<operations.
|
|
100
|
-
return unwrapAsync(
|
|
38
|
+
): Promise<operations.DeleteWebhookResponse> {
|
|
39
|
+
return unwrapAsync(webhooksDeleteWebhook(
|
|
101
40
|
this,
|
|
102
41
|
request,
|
|
103
42
|
options,
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { MaesnCore } from "../core.js";
|
|
2
|
-
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
-
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/http-client-errors.js";
|
|
4
|
-
import { MaesnError } from "../models/errors/maesn-error.js";
|
|
5
|
-
import { ResponseValidationError } from "../models/errors/response-validation-error.js";
|
|
6
|
-
import { SDKValidationError } from "../models/errors/sdk-validation-error.js";
|
|
7
|
-
import * as operations from "../models/operations/index.js";
|
|
8
|
-
import { APIPromise } from "../types/async.js";
|
|
9
|
-
import { Result } from "../types/fp.js";
|
|
10
|
-
export declare function accountingCreateBookings(client: MaesnCore, request: operations.CreateBookingsRequest, options?: RequestOptions): APIPromise<Result<operations.CreateBookingsResponse, MaesnError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
11
|
-
//# sourceMappingURL=accounting-create-bookings.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"accounting-create-bookings.d.ts","sourceRoot":"","sources":["../../src/funcs/accounting-create-bookings.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAKvC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAC7D,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAC9E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC,wBAAgB,wBAAwB,CACtC,MAAM,EAAE,SAAS,EACjB,OAAO,EAAE,UAAU,CAAC,qBAAqB,EACzC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,sBAAsB,EAC/B,UAAU,GACV,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
import * as z from "zod/v4-mini";
|
|
5
|
-
import { encodeFormQuery, encodeJSON } from "../lib/encodings.js";
|
|
6
|
-
import * as M from "../lib/matchers.js";
|
|
7
|
-
import { compactMap } from "../lib/primitives.js";
|
|
8
|
-
import { safeParse } from "../lib/schemas.js";
|
|
9
|
-
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
10
|
-
import { pathToFunc } from "../lib/url.js";
|
|
11
|
-
import * as operations from "../models/operations/index.js";
|
|
12
|
-
import { APIPromise } from "../types/async.js";
|
|
13
|
-
export function accountingCreateBookings(client, request, options) {
|
|
14
|
-
return new APIPromise($do(client, request, options));
|
|
15
|
-
}
|
|
16
|
-
async function $do(client, request, options) {
|
|
17
|
-
const parsed = safeParse(request, (value) => z.parse(operations.CreateBookingsRequest$outboundSchema, value), "Input validation failed");
|
|
18
|
-
if (!parsed.ok) {
|
|
19
|
-
return [parsed, { status: "invalid" }];
|
|
20
|
-
}
|
|
21
|
-
const payload = parsed.value;
|
|
22
|
-
const body = encodeJSON("body", payload.body, { explode: true });
|
|
23
|
-
const path = pathToFunc("/accounting/bookings")();
|
|
24
|
-
const query = encodeFormQuery({
|
|
25
|
-
"companyId": payload.companyId,
|
|
26
|
-
});
|
|
27
|
-
const headers = new Headers(compactMap({
|
|
28
|
-
"Content-Type": "application/json",
|
|
29
|
-
Accept: "application/json",
|
|
30
|
-
}));
|
|
31
|
-
const securityInput = await extractSecurity(client._options.security);
|
|
32
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
33
|
-
const context = {
|
|
34
|
-
options: client._options,
|
|
35
|
-
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
36
|
-
operationID: "createBookings",
|
|
37
|
-
oAuth2Scopes: null,
|
|
38
|
-
resolvedSecurity: requestSecurity,
|
|
39
|
-
securitySource: client._options.security,
|
|
40
|
-
retryConfig: options?.retries
|
|
41
|
-
|| client._options.retryConfig
|
|
42
|
-
|| { strategy: "none" },
|
|
43
|
-
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
44
|
-
};
|
|
45
|
-
const requestRes = client._createRequest(context, {
|
|
46
|
-
security: requestSecurity,
|
|
47
|
-
method: "POST",
|
|
48
|
-
baseURL: options?.serverURL,
|
|
49
|
-
path: path,
|
|
50
|
-
headers: headers,
|
|
51
|
-
query: query,
|
|
52
|
-
body: body,
|
|
53
|
-
userAgent: client._options.userAgent,
|
|
54
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
55
|
-
}, options);
|
|
56
|
-
if (!requestRes.ok) {
|
|
57
|
-
return [requestRes, { status: "invalid" }];
|
|
58
|
-
}
|
|
59
|
-
const req = requestRes.value;
|
|
60
|
-
const doResult = await client._do(req, {
|
|
61
|
-
context,
|
|
62
|
-
errorCodes: ["4XX", "5XX"],
|
|
63
|
-
retryConfig: context.retryConfig,
|
|
64
|
-
retryCodes: context.retryCodes,
|
|
65
|
-
});
|
|
66
|
-
if (!doResult.ok) {
|
|
67
|
-
return [doResult, { status: "request-error", request: req }];
|
|
68
|
-
}
|
|
69
|
-
const response = doResult.value;
|
|
70
|
-
const [result] = await M.match(M.json(201, operations.CreateBookingsResponse$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req);
|
|
71
|
-
if (!result.ok) {
|
|
72
|
-
return [result, { status: "complete", request: req, response }];
|
|
73
|
-
}
|
|
74
|
-
return [result, { status: "complete", request: req, response }];
|
|
75
|
-
}
|
|
76
|
-
//# sourceMappingURL=accounting-create-bookings.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"accounting-create-bookings.js","sourceRoot":"","sources":["../../src/funcs/accounting-create-bookings.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAClE,OAAO,KAAK,CAAC,MAAM,oBAAoB,CAAC;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAC;AAW3C,O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,CAAC,WAAW;QAChC,UAAU,EAAE,OAAO,CAAC,UAAU;KAC/B,CAAC,CAAC;IACH,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC;QACjB,OAAO,CAAC,QAAQ,EAAE,EAAE,MAAM,EAAE,eAAe,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,CAAC;IAC/D,CAAC;IACD,MAAM,QAAQ,GAAG,QAAQ,CAAC,KAAK,CAAC;IAEhC,MAAM,CAAC,MAAM,CAAC,GAAG,MAAM,CAAC,CAAC,KAAK,CAW5B,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,UAAU,CAAC,oCAAoC,CAAC,EAC5D,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EACb,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CACd,CAAC,QAAQ,EAAE,GAAG,CAAC,CAAC;IACjB,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,CAAC;QACf,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED,OAAO,CAAC,MAAM,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC,CAAC;AAAA,CACjE"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { MaesnCore } from "../core.js";
|
|
2
|
-
import { RequestOptions } from "../lib/sdks.js";
|
|
3
|
-
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/http-client-errors.js";
|
|
4
|
-
import { MaesnError } from "../models/errors/maesn-error.js";
|
|
5
|
-
import { ResponseValidationError } from "../models/errors/response-validation-error.js";
|
|
6
|
-
import { SDKValidationError } from "../models/errors/sdk-validation-error.js";
|
|
7
|
-
import * as operations from "../models/operations/index.js";
|
|
8
|
-
import { APIPromise } from "../types/async.js";
|
|
9
|
-
import { Result } from "../types/fp.js";
|
|
10
|
-
export declare function accountingCreateContactsV1(client: MaesnCore, request: operations.CreateContactsV1Request, options?: RequestOptions): APIPromise<Result<operations.CreateContactsV1Response, MaesnError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
11
|
-
//# sourceMappingURL=accounting-create-contacts-v1.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"accounting-create-contacts-v1.d.ts","sourceRoot":"","sources":["../../src/funcs/accounting-create-contacts-v1.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAKvC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAC7D,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAC9E,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC,wBAAgB,0BAA0B,CACxC,MAAM,EAAE,SAAS,EACjB,OAAO,EAAE,UAAU,CAAC,uBAAuB,EAC3C,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,UAAU,CAAC,wBAAwB,EACjC,UAAU,GACV,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
-
*/
|
|
4
|
-
import * as z from "zod/v4-mini";
|
|
5
|
-
import { encodeFormQuery, encodeJSON } from "../lib/encodings.js";
|
|
6
|
-
import * as M from "../lib/matchers.js";
|
|
7
|
-
import { compactMap } from "../lib/primitives.js";
|
|
8
|
-
import { safeParse } from "../lib/schemas.js";
|
|
9
|
-
import { extractSecurity, resolveGlobalSecurity } from "../lib/security.js";
|
|
10
|
-
import { pathToFunc } from "../lib/url.js";
|
|
11
|
-
import * as operations from "../models/operations/index.js";
|
|
12
|
-
import { APIPromise } from "../types/async.js";
|
|
13
|
-
export function accountingCreateContactsV1(client, request, options) {
|
|
14
|
-
return new APIPromise($do(client, request, options));
|
|
15
|
-
}
|
|
16
|
-
async function $do(client, request, options) {
|
|
17
|
-
const parsed = safeParse(request, (value) => z.parse(operations.CreateContactsV1Request$outboundSchema, value), "Input validation failed");
|
|
18
|
-
if (!parsed.ok) {
|
|
19
|
-
return [parsed, { status: "invalid" }];
|
|
20
|
-
}
|
|
21
|
-
const payload = parsed.value;
|
|
22
|
-
const body = encodeJSON("body", payload.body, { explode: true });
|
|
23
|
-
const path = pathToFunc("/accounting/batch/contacts")();
|
|
24
|
-
const query = encodeFormQuery({
|
|
25
|
-
"companyId": payload.companyId,
|
|
26
|
-
});
|
|
27
|
-
const headers = new Headers(compactMap({
|
|
28
|
-
"Content-Type": "application/json",
|
|
29
|
-
Accept: "application/json",
|
|
30
|
-
}));
|
|
31
|
-
const securityInput = await extractSecurity(client._options.security);
|
|
32
|
-
const requestSecurity = resolveGlobalSecurity(securityInput);
|
|
33
|
-
const context = {
|
|
34
|
-
options: client._options,
|
|
35
|
-
baseURL: options?.serverURL ?? client._baseURL ?? "",
|
|
36
|
-
operationID: "createContactsV1",
|
|
37
|
-
oAuth2Scopes: null,
|
|
38
|
-
resolvedSecurity: requestSecurity,
|
|
39
|
-
securitySource: client._options.security,
|
|
40
|
-
retryConfig: options?.retries
|
|
41
|
-
|| client._options.retryConfig
|
|
42
|
-
|| { strategy: "none" },
|
|
43
|
-
retryCodes: options?.retryCodes || ["429", "500", "502", "503", "504"],
|
|
44
|
-
};
|
|
45
|
-
const requestRes = client._createRequest(context, {
|
|
46
|
-
security: requestSecurity,
|
|
47
|
-
method: "POST",
|
|
48
|
-
baseURL: options?.serverURL,
|
|
49
|
-
path: path,
|
|
50
|
-
headers: headers,
|
|
51
|
-
query: query,
|
|
52
|
-
body: body,
|
|
53
|
-
userAgent: client._options.userAgent,
|
|
54
|
-
timeoutMs: options?.timeoutMs || client._options.timeoutMs || -1,
|
|
55
|
-
}, options);
|
|
56
|
-
if (!requestRes.ok) {
|
|
57
|
-
return [requestRes, { status: "invalid" }];
|
|
58
|
-
}
|
|
59
|
-
const req = requestRes.value;
|
|
60
|
-
const doResult = await client._do(req, {
|
|
61
|
-
context,
|
|
62
|
-
errorCodes: ["4XX", "5XX"],
|
|
63
|
-
retryConfig: context.retryConfig,
|
|
64
|
-
retryCodes: context.retryCodes,
|
|
65
|
-
});
|
|
66
|
-
if (!doResult.ok) {
|
|
67
|
-
return [doResult, { status: "request-error", request: req }];
|
|
68
|
-
}
|
|
69
|
-
const response = doResult.value;
|
|
70
|
-
const [result] = await M.match(M.json(201, operations.CreateContactsV1Response$inboundSchema), M.fail("4XX"), M.fail("5XX"))(response, req);
|
|
71
|
-
if (!result.ok) {
|
|
72
|
-
return [result, { status: "complete", request: req, response }];
|
|
73
|
-
}
|
|
74
|
-
return [result, { status: "complete", request: req, response }];
|
|
75
|
-
}
|
|
76
|
-
//# sourceMappingURL=accounting-create-contacts-v1.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"accounting-create-contacts-v1.js","sourceRoot":"","sources":["../../src/funcs/accounting-create-contacts-v1.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,CAAC,MAAM,aAAa,CAAC;AAEjC,OAAO,EAAE,eAAe,E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|
3
|
-
import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/http-client-errors.js";
|
|
4
|
-
import { MaesnError } from "../models/errors/maesn-error.js";
|
|
5
|
-
import { ResponseValidationError } from "../models/errors/response-validation-error.js";
|
|
6
|
-
import { SDKValidationError } from "../models/errors/sdk-validation-error.js";
|
|
7
|
-
import * as models from "../models/index.js";
|
|
8
|
-
import * as operations from "../models/operations/index.js";
|
|
9
|
-
import { APIPromise } from "../types/async.js";
|
|
10
|
-
import { Result } from "../types/fp.js";
|
|
11
|
-
export declare function accountingCreateEventSubscriptions(client: MaesnCore, request: operations.CreateEventSubscriptionsRequest, options?: RequestOptions): APIPromise<Result<models.BaseResponseDto, MaesnError | ResponseValidationError | ConnectionError | RequestAbortedError | RequestTimeoutError | InvalidRequestError | UnexpectedClientError | SDKValidationError>>;
|
|
12
|
-
//# sourceMappingURL=accounting-create-event-subscriptions.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"accounting-create-event-subscriptions.d.ts","sourceRoot":"","sources":["../../src/funcs/accounting-create-event-subscriptions.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAKvC,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAGhD,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAC7D,OAAO,EAAE,uBAAuB,EAAE,MAAM,+CAA+C,CAAC;AACxF,OAAO,EAAE,kBAAkB,EAAE,MAAM,0CAA0C,CAAC;AAC9E,OAAO,KAAK,MAAM,MAAM,oBAAoB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,+BAA+B,CAAC;AAC5D,OAAO,EAAW,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,gBAAgB,CAAC;AAExC,wBAAgB,kCAAkC,CAChD,MAAM,EAAE,SAAS,EACjB,OAAO,EAAE,UAAU,CAAC,+BAA+B,EACnD,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CACX,MAAM,CACJ,MAAM,CAAC,eAAe,EACpB,UAAU,GACV,uBAAuB,GACvB,eAAe,GACf,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,qBAAqB,GACrB,kBAAkB,CACrB,CACF,CAMA"}
|