magicbell-js 1.3.0 → 1.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 +19 -2
- package/dist/commonjs/project-client/http/client.d.ts +4 -2
- package/dist/commonjs/project-client/http/client.d.ts.map +1 -1
- package/dist/commonjs/project-client/http/client.js +34 -5
- package/dist/commonjs/project-client/http/client.js.map +1 -1
- package/dist/commonjs/project-client/http/handlers/hook-handler.d.ts.map +1 -1
- package/dist/commonjs/project-client/http/handlers/hook-handler.js +5 -3
- package/dist/commonjs/project-client/http/handlers/hook-handler.js.map +1 -1
- package/dist/commonjs/project-client/http/handlers/request-validation-handler.d.ts +1 -1
- package/dist/commonjs/project-client/http/handlers/request-validation-handler.d.ts.map +1 -1
- package/dist/commonjs/project-client/http/handlers/request-validation-handler.js +15 -4
- package/dist/commonjs/project-client/http/handlers/request-validation-handler.js.map +1 -1
- package/dist/commonjs/project-client/http/handlers/response-validation-handler.js +3 -2
- package/dist/commonjs/project-client/http/handlers/response-validation-handler.js.map +1 -1
- package/dist/commonjs/project-client/http/handlers/retry-handler.d.ts.map +1 -1
- package/dist/commonjs/project-client/http/handlers/retry-handler.js +2 -1
- package/dist/commonjs/project-client/http/handlers/retry-handler.js.map +1 -1
- package/dist/commonjs/project-client/http/hooks/hook.d.ts +1 -1
- package/dist/commonjs/project-client/http/hooks/hook.d.ts.map +1 -1
- package/dist/commonjs/project-client/http/serialization/query-serializer.d.ts.map +1 -1
- package/dist/commonjs/project-client/http/serialization/query-serializer.js +4 -0
- package/dist/commonjs/project-client/http/serialization/query-serializer.js.map +1 -1
- package/dist/commonjs/project-client/http/transport/request-builder.d.ts +4 -1
- package/dist/commonjs/project-client/http/transport/request-builder.d.ts.map +1 -1
- package/dist/commonjs/project-client/http/transport/request-builder.js +23 -1
- package/dist/commonjs/project-client/http/transport/request-builder.js.map +1 -1
- package/dist/commonjs/project-client/http/transport/request-fetch-adapter.d.ts +1 -0
- package/dist/commonjs/project-client/http/transport/request-fetch-adapter.d.ts.map +1 -1
- package/dist/commonjs/project-client/http/transport/request-fetch-adapter.js +5 -2
- package/dist/commonjs/project-client/http/transport/request-fetch-adapter.js.map +1 -1
- package/dist/commonjs/project-client/http/transport/request.d.ts +6 -3
- package/dist/commonjs/project-client/http/transport/request.d.ts.map +1 -1
- package/dist/commonjs/project-client/http/transport/request.js +37 -5
- package/dist/commonjs/project-client/http/transport/request.js.map +1 -1
- package/dist/commonjs/project-client/http/transport/transport-hook-adapter.d.ts.map +1 -1
- package/dist/commonjs/project-client/http/transport/transport-hook-adapter.js +2 -1
- package/dist/commonjs/project-client/http/transport/transport-hook-adapter.js.map +1 -1
- package/dist/commonjs/project-client/http/transport/types.d.ts +12 -2
- package/dist/commonjs/project-client/http/transport/types.d.ts.map +1 -1
- package/dist/commonjs/project-client/http/transport/types.js +4 -0
- package/dist/commonjs/project-client/http/transport/types.js.map +1 -1
- package/dist/commonjs/project-client/http/types.d.ts +6 -1
- package/dist/commonjs/project-client/http/types.d.ts.map +1 -1
- package/dist/commonjs/project-client/http/types.js.map +1 -1
- package/dist/commonjs/project-client/http/utils/content-type.d.ts.map +1 -1
- package/dist/commonjs/project-client/http/utils/content-type.js +22 -9
- package/dist/commonjs/project-client/http/utils/content-type.js.map +1 -1
- package/dist/commonjs/project-client/index.d.ts +3 -0
- package/dist/commonjs/project-client/index.d.ts.map +1 -1
- package/dist/commonjs/project-client/index.js +13 -0
- package/dist/commonjs/project-client/index.js.map +1 -1
- package/dist/commonjs/project-client/services/broadcasts/broadcasts-service.d.ts +6 -6
- package/dist/commonjs/project-client/services/broadcasts/broadcasts-service.js +6 -6
- package/dist/commonjs/project-client/services/channels/channels-service.d.ts +73 -47
- package/dist/commonjs/project-client/services/channels/channels-service.d.ts.map +1 -1
- package/dist/commonjs/project-client/services/channels/channels-service.js +161 -46
- package/dist/commonjs/project-client/services/channels/channels-service.js.map +1 -1
- package/dist/commonjs/project-client/services/channels/request-params.d.ts +5 -0
- package/dist/commonjs/project-client/services/channels/request-params.d.ts.map +1 -1
- package/dist/commonjs/project-client/services/events/events-service.d.ts +4 -4
- package/dist/commonjs/project-client/services/events/events-service.js +4 -4
- package/dist/commonjs/project-client/services/integrations/integrations-service.d.ts +144 -81
- package/dist/commonjs/project-client/services/integrations/integrations-service.d.ts.map +1 -1
- package/dist/commonjs/project-client/services/integrations/integrations-service.js +332 -80
- package/dist/commonjs/project-client/services/integrations/integrations-service.js.map +1 -1
- package/dist/commonjs/project-client/services/integrations/models/event-source-config-collection.d.ts +312 -0
- package/dist/commonjs/project-client/services/integrations/models/event-source-config-collection.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/event-source-config-collection.js +46 -0
- package/dist/commonjs/project-client/services/integrations/models/event-source-config-collection.js.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/event-source-config-payload.d.ts +48 -0
- package/dist/commonjs/project-client/services/integrations/models/event-source-config-payload.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/event-source-config-payload.js +39 -0
- package/dist/commonjs/project-client/services/integrations/models/event-source-config-payload.js.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/event-source-config.d.ts +122 -0
- package/dist/commonjs/project-client/services/integrations/models/event-source-config.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/event-source-config.js +50 -0
- package/dist/commonjs/project-client/services/integrations/models/event-source-config.js.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/index.d.ts +13 -1
- package/dist/commonjs/project-client/services/integrations/models/index.d.ts.map +1 -1
- package/dist/commonjs/project-client/services/integrations/models/index.js +3 -1
- package/dist/commonjs/project-client/services/integrations/models/index.js.map +1 -1
- package/dist/commonjs/project-client/services/integrations/models/security.d.ts +6 -0
- package/dist/commonjs/project-client/services/integrations/models/security.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/security.js +10 -0
- package/dist/commonjs/project-client/services/integrations/models/security.js.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/{reply-to.d.ts → sendgrid-config-payload-reply-to.d.ts} +6 -6
- package/dist/commonjs/project-client/services/integrations/models/sendgrid-config-payload-reply-to.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/{reply-to.js → sendgrid-config-payload-reply-to.js} +5 -5
- package/dist/commonjs/project-client/services/integrations/models/sendgrid-config-payload-reply-to.js.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/sendgrid-config-payload.d.ts +1 -1
- package/dist/commonjs/project-client/services/integrations/models/sendgrid-config-payload.d.ts.map +1 -1
- package/dist/commonjs/project-client/services/integrations/models/sendgrid-config-payload.js +4 -4
- package/dist/commonjs/project-client/services/integrations/models/sendgrid-config-payload.js.map +1 -1
- package/dist/commonjs/project-client/services/integrations/models/slack-bot-config-collection.d.ts +312 -0
- package/dist/commonjs/project-client/services/integrations/models/slack-bot-config-collection.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/slack-bot-config-collection.js +46 -0
- package/dist/commonjs/project-client/services/integrations/models/slack-bot-config-collection.js.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/slack-bot-config-payload.d.ts +48 -0
- package/dist/commonjs/project-client/services/integrations/models/slack-bot-config-payload.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/slack-bot-config-payload.js +39 -0
- package/dist/commonjs/project-client/services/integrations/models/slack-bot-config-payload.js.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/slack-bot-config.d.ts +122 -0
- package/dist/commonjs/project-client/services/integrations/models/slack-bot-config.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/slack-bot-config.js +50 -0
- package/dist/commonjs/project-client/services/integrations/models/slack-bot-config.js.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/smtp-config-from.d.ts +62 -0
- package/dist/commonjs/project-client/services/integrations/models/smtp-config-from.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/smtp-config-from.js +44 -0
- package/dist/commonjs/project-client/services/integrations/models/smtp-config-from.js.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/smtp-config-object-collection.d.ts +768 -0
- package/dist/commonjs/project-client/services/integrations/models/smtp-config-object-collection.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/smtp-config-object-collection.js +46 -0
- package/dist/commonjs/project-client/services/integrations/models/smtp-config-object-collection.js.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/smtp-config-object.d.ts +458 -0
- package/dist/commonjs/project-client/services/integrations/models/smtp-config-object.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/smtp-config-object.js +50 -0
- package/dist/commonjs/project-client/services/integrations/models/smtp-config-object.js.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/smtp-config-reply-to.d.ts +62 -0
- package/dist/commonjs/project-client/services/integrations/models/smtp-config-reply-to.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/smtp-config-reply-to.js +44 -0
- package/dist/commonjs/project-client/services/integrations/models/smtp-config-reply-to.js.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/smtp-config.d.ts +270 -0
- package/dist/commonjs/project-client/services/integrations/models/smtp-config.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/smtp-config.js +71 -0
- package/dist/commonjs/project-client/services/integrations/models/smtp-config.js.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/stripe-config-collection.d.ts +33 -0
- package/dist/commonjs/project-client/services/integrations/models/stripe-config-collection.d.ts.map +1 -1
- package/dist/commonjs/project-client/services/integrations/models/stripe-config-payload.d.ts +14 -0
- package/dist/commonjs/project-client/services/integrations/models/stripe-config-payload.d.ts.map +1 -1
- package/dist/commonjs/project-client/services/integrations/models/stripe-config-payload.js +5 -0
- package/dist/commonjs/project-client/services/integrations/models/stripe-config-payload.js.map +1 -1
- package/dist/commonjs/project-client/services/integrations/models/stripe-config.d.ts +23 -0
- package/dist/commonjs/project-client/services/integrations/models/stripe-config.d.ts.map +1 -1
- package/dist/commonjs/project-client/services/integrations/models/webpush-config-payload.d.ts +1 -1
- package/dist/commonjs/project-client/services/integrations/request-params.d.ts +9 -0
- package/dist/commonjs/project-client/services/integrations/request-params.d.ts.map +1 -1
- package/dist/commonjs/project-client/services/users/users-service.d.ts +6 -6
- package/dist/commonjs/project-client/services/users/users-service.js +6 -6
- package/dist/commonjs/project-client/services/workflows/index.d.ts +3 -0
- package/dist/commonjs/project-client/services/workflows/index.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/workflows/index.js +8 -0
- package/dist/commonjs/project-client/services/workflows/index.js.map +1 -0
- package/dist/commonjs/project-client/services/workflows/models/create-run-response.d.ts +48 -0
- package/dist/commonjs/project-client/services/workflows/models/create-run-response.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/workflows/models/create-run-response.js +39 -0
- package/dist/commonjs/project-client/services/workflows/models/create-run-response.js.map +1 -0
- package/dist/commonjs/project-client/services/workflows/models/execute-workflow-request.d.ts +62 -0
- package/dist/commonjs/project-client/services/workflows/models/execute-workflow-request.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/workflows/models/execute-workflow-request.js +44 -0
- package/dist/commonjs/project-client/services/workflows/models/execute-workflow-request.js.map +1 -0
- package/dist/commonjs/project-client/services/workflows/models/get-run-response-status.d.ts +104 -0
- package/dist/commonjs/project-client/services/workflows/models/get-run-response-status.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/workflows/models/get-run-response-status.js +59 -0
- package/dist/commonjs/project-client/services/workflows/models/get-run-response-status.js.map +1 -0
- package/dist/commonjs/project-client/services/workflows/models/get-run-response.d.ts +228 -0
- package/dist/commonjs/project-client/services/workflows/models/get-run-response.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/workflows/models/get-run-response.js +55 -0
- package/dist/commonjs/project-client/services/workflows/models/get-run-response.js.map +1 -0
- package/dist/commonjs/project-client/services/workflows/models/index.d.ts +10 -0
- package/dist/commonjs/project-client/services/workflows/models/index.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/workflows/models/index.js +3 -0
- package/dist/commonjs/project-client/services/workflows/models/index.js.map +1 -0
- package/dist/commonjs/project-client/services/workflows/models/steps.d.ts +76 -0
- package/dist/commonjs/project-client/services/workflows/models/steps.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/workflows/models/steps.js +49 -0
- package/dist/commonjs/project-client/services/workflows/models/steps.js.map +1 -0
- package/dist/commonjs/project-client/services/workflows/models/workflow-definition.d.ts +168 -0
- package/dist/commonjs/project-client/services/workflows/models/workflow-definition.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/workflows/models/workflow-definition.js +59 -0
- package/dist/commonjs/project-client/services/workflows/models/workflow-definition.js.map +1 -0
- package/dist/commonjs/project-client/services/workflows/models/workflow-run-collection.d.ts +467 -0
- package/dist/commonjs/project-client/services/workflows/models/workflow-run-collection.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/workflows/models/workflow-run-collection.js +46 -0
- package/dist/commonjs/project-client/services/workflows/models/workflow-run-collection.js.map +1 -0
- package/dist/commonjs/project-client/services/workflows/models/workflow-run-status.d.ts +104 -0
- package/dist/commonjs/project-client/services/workflows/models/workflow-run-status.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/workflows/models/workflow-run-status.js +59 -0
- package/dist/commonjs/project-client/services/workflows/models/workflow-run-status.js.map +1 -0
- package/dist/commonjs/project-client/services/workflows/models/workflow-run.d.ts +228 -0
- package/dist/commonjs/project-client/services/workflows/models/workflow-run.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/workflows/models/workflow-run.js +55 -0
- package/dist/commonjs/project-client/services/workflows/models/workflow-run.js.map +1 -0
- package/dist/commonjs/project-client/services/workflows/workflows-service.d.ts +42 -0
- package/dist/commonjs/project-client/services/workflows/workflows-service.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/workflows/workflows-service.js +156 -0
- package/dist/commonjs/project-client/services/workflows/workflows-service.js.map +1 -0
- package/dist/commonjs/user-client/http/client.d.ts +4 -2
- package/dist/commonjs/user-client/http/client.d.ts.map +1 -1
- package/dist/commonjs/user-client/http/client.js +34 -5
- package/dist/commonjs/user-client/http/client.js.map +1 -1
- package/dist/commonjs/user-client/http/handlers/hook-handler.d.ts.map +1 -1
- package/dist/commonjs/user-client/http/handlers/hook-handler.js +5 -3
- package/dist/commonjs/user-client/http/handlers/hook-handler.js.map +1 -1
- package/dist/commonjs/user-client/http/handlers/request-validation-handler.d.ts +1 -1
- package/dist/commonjs/user-client/http/handlers/request-validation-handler.d.ts.map +1 -1
- package/dist/commonjs/user-client/http/handlers/request-validation-handler.js +15 -4
- package/dist/commonjs/user-client/http/handlers/request-validation-handler.js.map +1 -1
- package/dist/commonjs/user-client/http/handlers/response-validation-handler.js +3 -2
- package/dist/commonjs/user-client/http/handlers/response-validation-handler.js.map +1 -1
- package/dist/commonjs/user-client/http/handlers/retry-handler.d.ts.map +1 -1
- package/dist/commonjs/user-client/http/handlers/retry-handler.js +2 -1
- package/dist/commonjs/user-client/http/handlers/retry-handler.js.map +1 -1
- package/dist/commonjs/user-client/http/hooks/hook.d.ts +1 -1
- package/dist/commonjs/user-client/http/hooks/hook.d.ts.map +1 -1
- package/dist/commonjs/user-client/http/serialization/query-serializer.d.ts.map +1 -1
- package/dist/commonjs/user-client/http/serialization/query-serializer.js +4 -0
- package/dist/commonjs/user-client/http/serialization/query-serializer.js.map +1 -1
- package/dist/commonjs/user-client/http/transport/request-builder.d.ts +4 -1
- package/dist/commonjs/user-client/http/transport/request-builder.d.ts.map +1 -1
- package/dist/commonjs/user-client/http/transport/request-builder.js +23 -1
- package/dist/commonjs/user-client/http/transport/request-builder.js.map +1 -1
- package/dist/commonjs/user-client/http/transport/request-fetch-adapter.d.ts +1 -0
- package/dist/commonjs/user-client/http/transport/request-fetch-adapter.d.ts.map +1 -1
- package/dist/commonjs/user-client/http/transport/request-fetch-adapter.js +5 -2
- package/dist/commonjs/user-client/http/transport/request-fetch-adapter.js.map +1 -1
- package/dist/commonjs/user-client/http/transport/request.d.ts +6 -3
- package/dist/commonjs/user-client/http/transport/request.d.ts.map +1 -1
- package/dist/commonjs/user-client/http/transport/request.js +37 -5
- package/dist/commonjs/user-client/http/transport/request.js.map +1 -1
- package/dist/commonjs/user-client/http/transport/transport-hook-adapter.d.ts.map +1 -1
- package/dist/commonjs/user-client/http/transport/transport-hook-adapter.js +2 -1
- package/dist/commonjs/user-client/http/transport/transport-hook-adapter.js.map +1 -1
- package/dist/commonjs/user-client/http/transport/types.d.ts +12 -2
- package/dist/commonjs/user-client/http/transport/types.d.ts.map +1 -1
- package/dist/commonjs/user-client/http/transport/types.js +4 -0
- package/dist/commonjs/user-client/http/transport/types.js.map +1 -1
- package/dist/commonjs/user-client/http/types.d.ts +6 -1
- package/dist/commonjs/user-client/http/types.d.ts.map +1 -1
- package/dist/commonjs/user-client/http/types.js.map +1 -1
- package/dist/commonjs/user-client/http/utils/content-type.d.ts.map +1 -1
- package/dist/commonjs/user-client/http/utils/content-type.js +22 -9
- package/dist/commonjs/user-client/http/utils/content-type.js.map +1 -1
- package/dist/commonjs/user-client/services/channels/channels-service.d.ts +90 -61
- package/dist/commonjs/user-client/services/channels/channels-service.d.ts.map +1 -1
- package/dist/commonjs/user-client/services/channels/channels-service.js +187 -60
- package/dist/commonjs/user-client/services/channels/channels-service.js.map +1 -1
- package/dist/commonjs/user-client/services/channels/request-params.d.ts +5 -0
- package/dist/commonjs/user-client/services/channels/request-params.d.ts.map +1 -1
- package/dist/commonjs/user-client/services/integrations/integrations-service.d.ts +32 -14
- package/dist/commonjs/user-client/services/integrations/integrations-service.d.ts.map +1 -1
- package/dist/commonjs/user-client/services/integrations/integrations-service.js +95 -14
- package/dist/commonjs/user-client/services/integrations/integrations-service.js.map +1 -1
- package/dist/commonjs/user-client/services/notifications/notifications-service.d.ts +16 -16
- package/dist/commonjs/user-client/services/notifications/notifications-service.js +16 -16
- package/dist/esm/project-client/http/client.d.ts +4 -2
- package/dist/esm/project-client/http/client.d.ts.map +1 -1
- package/dist/esm/project-client/http/client.js +34 -5
- package/dist/esm/project-client/http/client.js.map +1 -1
- package/dist/esm/project-client/http/handlers/hook-handler.d.ts.map +1 -1
- package/dist/esm/project-client/http/handlers/hook-handler.js +5 -3
- package/dist/esm/project-client/http/handlers/hook-handler.js.map +1 -1
- package/dist/esm/project-client/http/handlers/request-validation-handler.d.ts +1 -1
- package/dist/esm/project-client/http/handlers/request-validation-handler.d.ts.map +1 -1
- package/dist/esm/project-client/http/handlers/request-validation-handler.js +15 -4
- package/dist/esm/project-client/http/handlers/request-validation-handler.js.map +1 -1
- package/dist/esm/project-client/http/handlers/response-validation-handler.js +3 -2
- package/dist/esm/project-client/http/handlers/response-validation-handler.js.map +1 -1
- package/dist/esm/project-client/http/handlers/retry-handler.d.ts.map +1 -1
- package/dist/esm/project-client/http/handlers/retry-handler.js +2 -1
- package/dist/esm/project-client/http/handlers/retry-handler.js.map +1 -1
- package/dist/esm/project-client/http/hooks/hook.d.ts +1 -1
- package/dist/esm/project-client/http/hooks/hook.d.ts.map +1 -1
- package/dist/esm/project-client/http/serialization/query-serializer.d.ts.map +1 -1
- package/dist/esm/project-client/http/serialization/query-serializer.js +4 -0
- package/dist/esm/project-client/http/serialization/query-serializer.js.map +1 -1
- package/dist/esm/project-client/http/transport/request-builder.d.ts +4 -1
- package/dist/esm/project-client/http/transport/request-builder.d.ts.map +1 -1
- package/dist/esm/project-client/http/transport/request-builder.js +23 -1
- package/dist/esm/project-client/http/transport/request-builder.js.map +1 -1
- package/dist/esm/project-client/http/transport/request-fetch-adapter.d.ts +1 -0
- package/dist/esm/project-client/http/transport/request-fetch-adapter.d.ts.map +1 -1
- package/dist/esm/project-client/http/transport/request-fetch-adapter.js +5 -2
- package/dist/esm/project-client/http/transport/request-fetch-adapter.js.map +1 -1
- package/dist/esm/project-client/http/transport/request.d.ts +6 -3
- package/dist/esm/project-client/http/transport/request.d.ts.map +1 -1
- package/dist/esm/project-client/http/transport/request.js +37 -5
- package/dist/esm/project-client/http/transport/request.js.map +1 -1
- package/dist/esm/project-client/http/transport/transport-hook-adapter.d.ts.map +1 -1
- package/dist/esm/project-client/http/transport/transport-hook-adapter.js +2 -1
- package/dist/esm/project-client/http/transport/transport-hook-adapter.js.map +1 -1
- package/dist/esm/project-client/http/transport/types.d.ts +12 -2
- package/dist/esm/project-client/http/transport/types.d.ts.map +1 -1
- package/dist/esm/project-client/http/transport/types.js +3 -1
- package/dist/esm/project-client/http/transport/types.js.map +1 -1
- package/dist/esm/project-client/http/types.d.ts +6 -1
- package/dist/esm/project-client/http/types.d.ts.map +1 -1
- package/dist/esm/project-client/http/types.js.map +1 -1
- package/dist/esm/project-client/http/utils/content-type.d.ts.map +1 -1
- package/dist/esm/project-client/http/utils/content-type.js +22 -9
- package/dist/esm/project-client/http/utils/content-type.js.map +1 -1
- package/dist/esm/project-client/index.d.ts +3 -0
- package/dist/esm/project-client/index.d.ts.map +1 -1
- package/dist/esm/project-client/index.js +13 -0
- package/dist/esm/project-client/index.js.map +1 -1
- package/dist/esm/project-client/services/broadcasts/broadcasts-service.d.ts +6 -6
- package/dist/esm/project-client/services/broadcasts/broadcasts-service.js +6 -6
- package/dist/esm/project-client/services/channels/channels-service.d.ts +73 -47
- package/dist/esm/project-client/services/channels/channels-service.d.ts.map +1 -1
- package/dist/esm/project-client/services/channels/channels-service.js +161 -46
- package/dist/esm/project-client/services/channels/channels-service.js.map +1 -1
- package/dist/esm/project-client/services/channels/request-params.d.ts +5 -0
- package/dist/esm/project-client/services/channels/request-params.d.ts.map +1 -1
- package/dist/esm/project-client/services/events/events-service.d.ts +4 -4
- package/dist/esm/project-client/services/events/events-service.js +4 -4
- package/dist/esm/project-client/services/integrations/integrations-service.d.ts +144 -81
- package/dist/esm/project-client/services/integrations/integrations-service.d.ts.map +1 -1
- package/dist/esm/project-client/services/integrations/integrations-service.js +332 -80
- package/dist/esm/project-client/services/integrations/integrations-service.js.map +1 -1
- package/dist/esm/project-client/services/integrations/models/event-source-config-collection.d.ts +312 -0
- package/dist/esm/project-client/services/integrations/models/event-source-config-collection.d.ts.map +1 -0
- package/dist/esm/project-client/services/integrations/models/event-source-config-collection.js +43 -0
- package/dist/esm/project-client/services/integrations/models/event-source-config-collection.js.map +1 -0
- package/dist/esm/project-client/services/integrations/models/event-source-config-payload.d.ts +48 -0
- package/dist/esm/project-client/services/integrations/models/event-source-config-payload.d.ts.map +1 -0
- package/dist/esm/project-client/services/integrations/models/event-source-config-payload.js +36 -0
- package/dist/esm/project-client/services/integrations/models/event-source-config-payload.js.map +1 -0
- package/dist/esm/project-client/services/integrations/models/event-source-config.d.ts +122 -0
- package/dist/esm/project-client/services/integrations/models/event-source-config.d.ts.map +1 -0
- package/dist/esm/project-client/services/integrations/models/event-source-config.js +47 -0
- package/dist/esm/project-client/services/integrations/models/event-source-config.js.map +1 -0
- package/dist/esm/project-client/services/integrations/models/index.d.ts +13 -1
- package/dist/esm/project-client/services/integrations/models/index.d.ts.map +1 -1
- package/dist/esm/project-client/services/integrations/models/index.js +1 -0
- package/dist/esm/project-client/services/integrations/models/index.js.map +1 -1
- package/dist/esm/project-client/services/integrations/models/security.d.ts +6 -0
- package/dist/esm/project-client/services/integrations/models/security.d.ts.map +1 -0
- package/dist/esm/project-client/services/integrations/models/security.js +7 -0
- package/dist/esm/project-client/services/integrations/models/security.js.map +1 -0
- package/dist/esm/project-client/services/integrations/models/{reply-to.d.ts → sendgrid-config-payload-reply-to.d.ts} +6 -6
- package/dist/esm/project-client/services/integrations/models/sendgrid-config-payload-reply-to.d.ts.map +1 -0
- package/dist/esm/project-client/services/integrations/models/{reply-to.js → sendgrid-config-payload-reply-to.js} +4 -4
- package/dist/esm/project-client/services/integrations/models/sendgrid-config-payload-reply-to.js.map +1 -0
- package/dist/esm/project-client/services/integrations/models/sendgrid-config-payload.d.ts +1 -1
- package/dist/esm/project-client/services/integrations/models/sendgrid-config-payload.d.ts.map +1 -1
- package/dist/esm/project-client/services/integrations/models/sendgrid-config-payload.js +4 -4
- package/dist/esm/project-client/services/integrations/models/sendgrid-config-payload.js.map +1 -1
- package/dist/esm/project-client/services/integrations/models/slack-bot-config-collection.d.ts +312 -0
- package/dist/esm/project-client/services/integrations/models/slack-bot-config-collection.d.ts.map +1 -0
- package/dist/esm/project-client/services/integrations/models/slack-bot-config-collection.js +43 -0
- package/dist/esm/project-client/services/integrations/models/slack-bot-config-collection.js.map +1 -0
- package/dist/esm/project-client/services/integrations/models/slack-bot-config-payload.d.ts +48 -0
- package/dist/esm/project-client/services/integrations/models/slack-bot-config-payload.d.ts.map +1 -0
- package/dist/esm/project-client/services/integrations/models/slack-bot-config-payload.js +36 -0
- package/dist/esm/project-client/services/integrations/models/slack-bot-config-payload.js.map +1 -0
- package/dist/esm/project-client/services/integrations/models/slack-bot-config.d.ts +122 -0
- package/dist/esm/project-client/services/integrations/models/slack-bot-config.d.ts.map +1 -0
- package/dist/esm/project-client/services/integrations/models/slack-bot-config.js +47 -0
- package/dist/esm/project-client/services/integrations/models/slack-bot-config.js.map +1 -0
- package/dist/esm/project-client/services/integrations/models/smtp-config-from.d.ts +62 -0
- package/dist/esm/project-client/services/integrations/models/smtp-config-from.d.ts.map +1 -0
- package/dist/esm/project-client/services/integrations/models/smtp-config-from.js +41 -0
- package/dist/esm/project-client/services/integrations/models/smtp-config-from.js.map +1 -0
- package/dist/esm/project-client/services/integrations/models/smtp-config-object-collection.d.ts +768 -0
- package/dist/esm/project-client/services/integrations/models/smtp-config-object-collection.d.ts.map +1 -0
- package/dist/esm/project-client/services/integrations/models/smtp-config-object-collection.js +43 -0
- package/dist/esm/project-client/services/integrations/models/smtp-config-object-collection.js.map +1 -0
- package/dist/esm/project-client/services/integrations/models/smtp-config-object.d.ts +458 -0
- package/dist/esm/project-client/services/integrations/models/smtp-config-object.d.ts.map +1 -0
- package/dist/esm/project-client/services/integrations/models/smtp-config-object.js +47 -0
- package/dist/esm/project-client/services/integrations/models/smtp-config-object.js.map +1 -0
- package/dist/esm/project-client/services/integrations/models/smtp-config-reply-to.d.ts +62 -0
- package/dist/esm/project-client/services/integrations/models/smtp-config-reply-to.d.ts.map +1 -0
- package/dist/esm/project-client/services/integrations/models/smtp-config-reply-to.js +41 -0
- package/dist/esm/project-client/services/integrations/models/smtp-config-reply-to.js.map +1 -0
- package/dist/esm/project-client/services/integrations/models/smtp-config.d.ts +270 -0
- package/dist/esm/project-client/services/integrations/models/smtp-config.d.ts.map +1 -0
- package/dist/esm/project-client/services/integrations/models/smtp-config.js +68 -0
- package/dist/esm/project-client/services/integrations/models/smtp-config.js.map +1 -0
- package/dist/esm/project-client/services/integrations/models/stripe-config-collection.d.ts +33 -0
- package/dist/esm/project-client/services/integrations/models/stripe-config-collection.d.ts.map +1 -1
- package/dist/esm/project-client/services/integrations/models/stripe-config-payload.d.ts +14 -0
- package/dist/esm/project-client/services/integrations/models/stripe-config-payload.d.ts.map +1 -1
- package/dist/esm/project-client/services/integrations/models/stripe-config-payload.js +5 -0
- package/dist/esm/project-client/services/integrations/models/stripe-config-payload.js.map +1 -1
- package/dist/esm/project-client/services/integrations/models/stripe-config.d.ts +23 -0
- package/dist/esm/project-client/services/integrations/models/stripe-config.d.ts.map +1 -1
- package/dist/esm/project-client/services/integrations/models/webpush-config-payload.d.ts +1 -1
- package/dist/esm/project-client/services/integrations/request-params.d.ts +9 -0
- package/dist/esm/project-client/services/integrations/request-params.d.ts.map +1 -1
- package/dist/esm/project-client/services/users/users-service.d.ts +6 -6
- package/dist/esm/project-client/services/users/users-service.js +6 -6
- package/dist/esm/project-client/services/workflows/index.d.ts +3 -0
- package/dist/esm/project-client/services/workflows/index.d.ts.map +1 -0
- package/dist/esm/project-client/services/workflows/index.js +3 -0
- package/dist/esm/project-client/services/workflows/index.js.map +1 -0
- package/dist/esm/project-client/services/workflows/models/create-run-response.d.ts +48 -0
- package/dist/esm/project-client/services/workflows/models/create-run-response.d.ts.map +1 -0
- package/dist/esm/project-client/services/workflows/models/create-run-response.js +36 -0
- package/dist/esm/project-client/services/workflows/models/create-run-response.js.map +1 -0
- package/dist/esm/project-client/services/workflows/models/execute-workflow-request.d.ts +62 -0
- package/dist/esm/project-client/services/workflows/models/execute-workflow-request.d.ts.map +1 -0
- package/dist/esm/project-client/services/workflows/models/execute-workflow-request.js +41 -0
- package/dist/esm/project-client/services/workflows/models/execute-workflow-request.js.map +1 -0
- package/dist/esm/project-client/services/workflows/models/get-run-response-status.d.ts +104 -0
- package/dist/esm/project-client/services/workflows/models/get-run-response-status.d.ts.map +1 -0
- package/dist/esm/project-client/services/workflows/models/get-run-response-status.js +56 -0
- package/dist/esm/project-client/services/workflows/models/get-run-response-status.js.map +1 -0
- package/dist/esm/project-client/services/workflows/models/get-run-response.d.ts +228 -0
- package/dist/esm/project-client/services/workflows/models/get-run-response.d.ts.map +1 -0
- package/dist/esm/project-client/services/workflows/models/get-run-response.js +52 -0
- package/dist/esm/project-client/services/workflows/models/get-run-response.js.map +1 -0
- package/dist/esm/project-client/services/workflows/models/index.d.ts +10 -0
- package/dist/esm/project-client/services/workflows/models/index.d.ts.map +1 -0
- package/dist/esm/project-client/services/workflows/models/index.js +2 -0
- package/dist/esm/project-client/services/workflows/models/index.js.map +1 -0
- package/dist/esm/project-client/services/workflows/models/steps.d.ts +76 -0
- package/dist/esm/project-client/services/workflows/models/steps.d.ts.map +1 -0
- package/dist/esm/project-client/services/workflows/models/steps.js +46 -0
- package/dist/esm/project-client/services/workflows/models/steps.js.map +1 -0
- package/dist/esm/project-client/services/workflows/models/workflow-definition.d.ts +168 -0
- package/dist/esm/project-client/services/workflows/models/workflow-definition.d.ts.map +1 -0
- package/dist/esm/project-client/services/workflows/models/workflow-definition.js +56 -0
- package/dist/esm/project-client/services/workflows/models/workflow-definition.js.map +1 -0
- package/dist/esm/project-client/services/workflows/models/workflow-run-collection.d.ts +467 -0
- package/dist/esm/project-client/services/workflows/models/workflow-run-collection.d.ts.map +1 -0
- package/dist/esm/project-client/services/workflows/models/workflow-run-collection.js +43 -0
- package/dist/esm/project-client/services/workflows/models/workflow-run-collection.js.map +1 -0
- package/dist/esm/project-client/services/workflows/models/workflow-run-status.d.ts +104 -0
- package/dist/esm/project-client/services/workflows/models/workflow-run-status.d.ts.map +1 -0
- package/dist/esm/project-client/services/workflows/models/workflow-run-status.js +56 -0
- package/dist/esm/project-client/services/workflows/models/workflow-run-status.js.map +1 -0
- package/dist/esm/project-client/services/workflows/models/workflow-run.d.ts +228 -0
- package/dist/esm/project-client/services/workflows/models/workflow-run.d.ts.map +1 -0
- package/dist/esm/project-client/services/workflows/models/workflow-run.js +52 -0
- package/dist/esm/project-client/services/workflows/models/workflow-run.js.map +1 -0
- package/dist/esm/project-client/services/workflows/workflows-service.d.ts +42 -0
- package/dist/esm/project-client/services/workflows/workflows-service.d.ts.map +1 -0
- package/dist/esm/project-client/services/workflows/workflows-service.js +152 -0
- package/dist/esm/project-client/services/workflows/workflows-service.js.map +1 -0
- package/dist/esm/user-client/http/client.d.ts +4 -2
- package/dist/esm/user-client/http/client.d.ts.map +1 -1
- package/dist/esm/user-client/http/client.js +34 -5
- package/dist/esm/user-client/http/client.js.map +1 -1
- package/dist/esm/user-client/http/handlers/hook-handler.d.ts.map +1 -1
- package/dist/esm/user-client/http/handlers/hook-handler.js +5 -3
- package/dist/esm/user-client/http/handlers/hook-handler.js.map +1 -1
- package/dist/esm/user-client/http/handlers/request-validation-handler.d.ts +1 -1
- package/dist/esm/user-client/http/handlers/request-validation-handler.d.ts.map +1 -1
- package/dist/esm/user-client/http/handlers/request-validation-handler.js +15 -4
- package/dist/esm/user-client/http/handlers/request-validation-handler.js.map +1 -1
- package/dist/esm/user-client/http/handlers/response-validation-handler.js +3 -2
- package/dist/esm/user-client/http/handlers/response-validation-handler.js.map +1 -1
- package/dist/esm/user-client/http/handlers/retry-handler.d.ts.map +1 -1
- package/dist/esm/user-client/http/handlers/retry-handler.js +2 -1
- package/dist/esm/user-client/http/handlers/retry-handler.js.map +1 -1
- package/dist/esm/user-client/http/hooks/hook.d.ts +1 -1
- package/dist/esm/user-client/http/hooks/hook.d.ts.map +1 -1
- package/dist/esm/user-client/http/serialization/query-serializer.d.ts.map +1 -1
- package/dist/esm/user-client/http/serialization/query-serializer.js +4 -0
- package/dist/esm/user-client/http/serialization/query-serializer.js.map +1 -1
- package/dist/esm/user-client/http/transport/request-builder.d.ts +4 -1
- package/dist/esm/user-client/http/transport/request-builder.d.ts.map +1 -1
- package/dist/esm/user-client/http/transport/request-builder.js +23 -1
- package/dist/esm/user-client/http/transport/request-builder.js.map +1 -1
- package/dist/esm/user-client/http/transport/request-fetch-adapter.d.ts +1 -0
- package/dist/esm/user-client/http/transport/request-fetch-adapter.d.ts.map +1 -1
- package/dist/esm/user-client/http/transport/request-fetch-adapter.js +5 -2
- package/dist/esm/user-client/http/transport/request-fetch-adapter.js.map +1 -1
- package/dist/esm/user-client/http/transport/request.d.ts +6 -3
- package/dist/esm/user-client/http/transport/request.d.ts.map +1 -1
- package/dist/esm/user-client/http/transport/request.js +37 -5
- package/dist/esm/user-client/http/transport/request.js.map +1 -1
- package/dist/esm/user-client/http/transport/transport-hook-adapter.d.ts.map +1 -1
- package/dist/esm/user-client/http/transport/transport-hook-adapter.js +2 -1
- package/dist/esm/user-client/http/transport/transport-hook-adapter.js.map +1 -1
- package/dist/esm/user-client/http/transport/types.d.ts +12 -2
- package/dist/esm/user-client/http/transport/types.d.ts.map +1 -1
- package/dist/esm/user-client/http/transport/types.js +3 -1
- package/dist/esm/user-client/http/transport/types.js.map +1 -1
- package/dist/esm/user-client/http/types.d.ts +6 -1
- package/dist/esm/user-client/http/types.d.ts.map +1 -1
- package/dist/esm/user-client/http/types.js.map +1 -1
- package/dist/esm/user-client/http/utils/content-type.d.ts.map +1 -1
- package/dist/esm/user-client/http/utils/content-type.js +22 -9
- package/dist/esm/user-client/http/utils/content-type.js.map +1 -1
- package/dist/esm/user-client/services/channels/channels-service.d.ts +90 -61
- package/dist/esm/user-client/services/channels/channels-service.d.ts.map +1 -1
- package/dist/esm/user-client/services/channels/channels-service.js +187 -60
- package/dist/esm/user-client/services/channels/channels-service.js.map +1 -1
- package/dist/esm/user-client/services/channels/request-params.d.ts +5 -0
- package/dist/esm/user-client/services/channels/request-params.d.ts.map +1 -1
- package/dist/esm/user-client/services/integrations/integrations-service.d.ts +32 -14
- package/dist/esm/user-client/services/integrations/integrations-service.d.ts.map +1 -1
- package/dist/esm/user-client/services/integrations/integrations-service.js +95 -14
- package/dist/esm/user-client/services/integrations/integrations-service.js.map +1 -1
- package/dist/esm/user-client/services/notifications/notifications-service.d.ts +16 -16
- package/dist/esm/user-client/services/notifications/notifications-service.js +16 -16
- package/package.json +1 -1
- package/src/project-client/http/client.ts +44 -6
- package/src/project-client/http/handlers/hook-handler.ts +6 -3
- package/src/project-client/http/handlers/request-validation-handler.ts +14 -4
- package/src/project-client/http/handlers/response-validation-handler.ts +2 -2
- package/src/project-client/http/handlers/retry-handler.ts +4 -1
- package/src/project-client/http/hooks/hook.ts +1 -1
- package/src/project-client/http/serialization/query-serializer.ts +5 -0
- package/src/project-client/http/transport/request-builder.ts +27 -1
- package/src/project-client/http/transport/request-fetch-adapter.ts +6 -2
- package/src/project-client/http/transport/request.ts +31 -5
- package/src/project-client/http/transport/transport-hook-adapter.ts +1 -0
- package/src/project-client/http/transport/types.ts +18 -2
- package/src/project-client/http/types.ts +9 -1
- package/src/project-client/http/utils/content-type.ts +26 -9
- package/src/project-client/index.ts +10 -0
- package/src/project-client/services/broadcasts/broadcasts-service.ts +6 -6
- package/src/project-client/services/channels/channels-service.ts +177 -46
- package/src/project-client/services/channels/request-params.ts +6 -0
- package/src/project-client/services/events/events-service.ts +4 -4
- package/src/project-client/services/integrations/integrations-service.ts +375 -80
- package/src/project-client/services/integrations/models/event-source-config-collection.ts +59 -0
- package/src/project-client/services/integrations/models/event-source-config-payload.ts +45 -0
- package/src/project-client/services/integrations/models/event-source-config.ts +64 -0
- package/src/project-client/services/integrations/models/index.ts +13 -1
- package/src/project-client/services/integrations/models/security.ts +7 -0
- package/src/project-client/services/integrations/models/{reply-to.ts → sendgrid-config-payload-reply-to.ts} +5 -5
- package/src/project-client/services/integrations/models/sendgrid-config-payload.ts +10 -5
- package/src/project-client/services/integrations/models/slack-bot-config-collection.ts +54 -0
- package/src/project-client/services/integrations/models/slack-bot-config-payload.ts +45 -0
- package/src/project-client/services/integrations/models/slack-bot-config.ts +64 -0
- package/src/project-client/services/integrations/models/smtp-config-from.ts +51 -0
- package/src/project-client/services/integrations/models/smtp-config-object-collection.ts +59 -0
- package/src/project-client/services/integrations/models/smtp-config-object.ts +59 -0
- package/src/project-client/services/integrations/models/smtp-config-reply-to.ts +51 -0
- package/src/project-client/services/integrations/models/smtp-config.ts +89 -0
- package/src/project-client/services/integrations/models/stripe-config-payload.ts +6 -0
- package/src/project-client/services/integrations/models/webpush-config-payload.ts +1 -1
- package/src/project-client/services/integrations/request-params.ts +12 -0
- package/src/project-client/services/users/users-service.ts +6 -6
- package/src/project-client/services/workflows/index.ts +2 -0
- package/src/project-client/services/workflows/models/create-run-response.ts +45 -0
- package/src/project-client/services/workflows/models/execute-workflow-request.ts +51 -0
- package/src/project-client/services/workflows/models/get-run-response-status.ts +69 -0
- package/src/project-client/services/workflows/models/get-run-response.ts +70 -0
- package/src/project-client/services/workflows/models/index.ts +9 -0
- package/src/project-client/services/workflows/models/steps.ts +57 -0
- package/src/project-client/services/workflows/models/workflow-definition.ts +68 -0
- package/src/project-client/services/workflows/models/workflow-run-collection.ts +54 -0
- package/src/project-client/services/workflows/models/workflow-run-status.ts +69 -0
- package/src/project-client/services/workflows/models/workflow-run.ts +70 -0
- package/src/project-client/services/workflows/workflows-service.ts +172 -0
- package/src/user-client/http/client.ts +44 -6
- package/src/user-client/http/handlers/hook-handler.ts +6 -3
- package/src/user-client/http/handlers/request-validation-handler.ts +14 -4
- package/src/user-client/http/handlers/response-validation-handler.ts +2 -2
- package/src/user-client/http/handlers/retry-handler.ts +4 -1
- package/src/user-client/http/hooks/hook.ts +1 -1
- package/src/user-client/http/serialization/query-serializer.ts +5 -0
- package/src/user-client/http/transport/request-builder.ts +27 -1
- package/src/user-client/http/transport/request-fetch-adapter.ts +6 -2
- package/src/user-client/http/transport/request.ts +31 -5
- package/src/user-client/http/transport/transport-hook-adapter.ts +1 -0
- package/src/user-client/http/transport/types.ts +18 -2
- package/src/user-client/http/types.ts +9 -1
- package/src/user-client/http/utils/content-type.ts +26 -9
- package/src/user-client/services/channels/channels-service.ts +201 -60
- package/src/user-client/services/channels/request-params.ts +6 -0
- package/src/user-client/services/integrations/integrations-service.ts +107 -14
- package/src/user-client/services/notifications/notifications-service.ts +16 -16
- package/dist/commonjs/project-client/services/integrations/models/reply-to.d.ts.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/reply-to.js.map +0 -1
- package/dist/esm/project-client/services/integrations/models/reply-to.d.ts.map +0 -1
- package/dist/esm/project-client/services/integrations/models/reply-to.js.map +0 -1
|
@@ -5,6 +5,8 @@ import { ContentType } from '../../http/types.js';
|
|
|
5
5
|
import { BaseService } from '../base-service.js';
|
|
6
6
|
import { apnsConfigCollectionResponse } from './models/apns-config-collection.js';
|
|
7
7
|
import { apnsConfigPayloadRequest, apnsConfigPayloadResponse, } from './models/apns-config-payload.js';
|
|
8
|
+
import { eventSourceConfigCollectionResponse, } from './models/event-source-config-collection.js';
|
|
9
|
+
import { eventSourceConfigPayloadRequest, eventSourceConfigPayloadResponse, } from './models/event-source-config-payload.js';
|
|
8
10
|
import { expoConfigCollectionResponse } from './models/expo-config-collection.js';
|
|
9
11
|
import { expoConfigPayloadRequest, expoConfigPayloadResponse, } from './models/expo-config-payload.js';
|
|
10
12
|
import { fcmConfigCollectionResponse } from './models/fcm-config-collection.js';
|
|
@@ -22,8 +24,12 @@ import { sendgridConfigCollectionResponse } from './models/sendgrid-config-colle
|
|
|
22
24
|
import { sendgridConfigPayloadRequest, sendgridConfigPayloadResponse, } from './models/sendgrid-config-payload.js';
|
|
23
25
|
import { sesConfigCollectionResponse } from './models/ses-config-collection.js';
|
|
24
26
|
import { sesConfigPayloadRequest, sesConfigPayloadResponse } from './models/ses-config-payload.js';
|
|
27
|
+
import { slackBotConfigCollectionResponse } from './models/slack-bot-config-collection.js';
|
|
28
|
+
import { slackBotConfigPayloadRequest, slackBotConfigPayloadResponse, } from './models/slack-bot-config-payload.js';
|
|
25
29
|
import { slackConfigCollectionResponse } from './models/slack-config-collection.js';
|
|
26
30
|
import { slackConfigPayloadRequest, slackConfigPayloadResponse, } from './models/slack-config-payload.js';
|
|
31
|
+
import { smtpConfigRequest, smtpConfigResponse } from './models/smtp-config.js';
|
|
32
|
+
import { smtpConfigObjectCollectionResponse, } from './models/smtp-config-object-collection.js';
|
|
27
33
|
import { stripeConfigCollectionResponse } from './models/stripe-config-collection.js';
|
|
28
34
|
import { stripeConfigPayloadRequest, stripeConfigPayloadResponse, } from './models/stripe-config-payload.js';
|
|
29
35
|
import { twilioConfigCollectionResponse } from './models/twilio-config-collection.js';
|
|
@@ -36,8 +42,8 @@ export class IntegrationsService extends BaseService {
|
|
|
36
42
|
* @param {number} [params.limit] -
|
|
37
43
|
* @param {string} [params.startingAfter] -
|
|
38
44
|
* @param {string} [params.endingBefore] -
|
|
39
|
-
* @param {RequestConfig} requestConfig -
|
|
40
|
-
* @returns {Promise<HttpResponse<IntegrationConfigCollection>>} OK
|
|
45
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
46
|
+
* @returns {Promise<HttpResponse<IntegrationConfigCollection>>} - OK
|
|
41
47
|
*/
|
|
42
48
|
async listIntegrations(params, requestConfig) {
|
|
43
49
|
const request = new RequestBuilder()
|
|
@@ -73,8 +79,8 @@ export class IntegrationsService extends BaseService {
|
|
|
73
79
|
}
|
|
74
80
|
/**
|
|
75
81
|
* Retrieves the current APNs integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
76
|
-
* @param {RequestConfig} requestConfig -
|
|
77
|
-
* @returns {Promise<HttpResponse<ApnsConfigCollection>>} OK
|
|
82
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
83
|
+
* @returns {Promise<HttpResponse<ApnsConfigCollection>>} - OK
|
|
78
84
|
*/
|
|
79
85
|
async listApnsIntegrations(requestConfig) {
|
|
80
86
|
const request = new RequestBuilder()
|
|
@@ -98,8 +104,8 @@ export class IntegrationsService extends BaseService {
|
|
|
98
104
|
}
|
|
99
105
|
/**
|
|
100
106
|
* Updates or creates the APNs integration for the project.
|
|
101
|
-
* @param {RequestConfig} requestConfig -
|
|
102
|
-
* @returns {Promise<HttpResponse<ApnsConfigPayload>>} OK
|
|
107
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
108
|
+
* @returns {Promise<HttpResponse<ApnsConfigPayload>>} - OK
|
|
103
109
|
*/
|
|
104
110
|
async saveApnsIntegration(body, requestConfig) {
|
|
105
111
|
const request = new RequestBuilder()
|
|
@@ -126,8 +132,8 @@ export class IntegrationsService extends BaseService {
|
|
|
126
132
|
/**
|
|
127
133
|
* Deletes the APNs integration configuration from the project. This will disable the integration's functionality within the project.
|
|
128
134
|
* @param {string} [params.id] -
|
|
129
|
-
* @param {RequestConfig} requestConfig -
|
|
130
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
135
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
136
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
131
137
|
*/
|
|
132
138
|
async deleteApnsIntegration(params, requestConfig) {
|
|
133
139
|
const request = new RequestBuilder()
|
|
@@ -153,10 +159,92 @@ export class IntegrationsService extends BaseService {
|
|
|
153
159
|
.build();
|
|
154
160
|
return this.client.call(request);
|
|
155
161
|
}
|
|
162
|
+
/**
|
|
163
|
+
* Retrieves the current EventSource integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
164
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
165
|
+
* @returns {Promise<HttpResponse<EventSourceConfigCollection>>} - OK
|
|
166
|
+
*/
|
|
167
|
+
async listEventsourceIntegrations(requestConfig) {
|
|
168
|
+
const request = new RequestBuilder()
|
|
169
|
+
.setBaseUrl((requestConfig === null || requestConfig === void 0 ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
170
|
+
.setConfig(this.config)
|
|
171
|
+
.setMethod('GET')
|
|
172
|
+
.setPath('/integrations/eventsource')
|
|
173
|
+
.setRequestSchema(z.any())
|
|
174
|
+
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
175
|
+
.setRequestContentType(ContentType.Json)
|
|
176
|
+
.addResponse({
|
|
177
|
+
schema: eventSourceConfigCollectionResponse,
|
|
178
|
+
contentType: ContentType.Json,
|
|
179
|
+
status: 200,
|
|
180
|
+
})
|
|
181
|
+
.setRetryAttempts(this.config, requestConfig)
|
|
182
|
+
.setRetryDelayMs(this.config, requestConfig)
|
|
183
|
+
.setResponseValidation(this.config, requestConfig)
|
|
184
|
+
.build();
|
|
185
|
+
return this.client.call(request);
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* Updates or creates the EventSource integration for the project.
|
|
189
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
190
|
+
* @returns {Promise<HttpResponse<EventSourceConfigPayload>>} - OK
|
|
191
|
+
*/
|
|
192
|
+
async saveEventsourceIntegration(body, requestConfig) {
|
|
193
|
+
const request = new RequestBuilder()
|
|
194
|
+
.setBaseUrl((requestConfig === null || requestConfig === void 0 ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
195
|
+
.setConfig(this.config)
|
|
196
|
+
.setMethod('PUT')
|
|
197
|
+
.setPath('/integrations/eventsource')
|
|
198
|
+
.setRequestSchema(eventSourceConfigPayloadRequest)
|
|
199
|
+
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
200
|
+
.setRequestContentType(ContentType.Json)
|
|
201
|
+
.addResponse({
|
|
202
|
+
schema: eventSourceConfigPayloadResponse,
|
|
203
|
+
contentType: ContentType.Json,
|
|
204
|
+
status: 200,
|
|
205
|
+
})
|
|
206
|
+
.setRetryAttempts(this.config, requestConfig)
|
|
207
|
+
.setRetryDelayMs(this.config, requestConfig)
|
|
208
|
+
.setResponseValidation(this.config, requestConfig)
|
|
209
|
+
.addHeaderParam({ key: 'Content-Type', value: 'application/json' })
|
|
210
|
+
.addBody(body)
|
|
211
|
+
.build();
|
|
212
|
+
return this.client.call(request);
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* Deletes the EventSource integration configuration from the project. This will disable the integration's functionality within the project.
|
|
216
|
+
* @param {string} [params.id] -
|
|
217
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
218
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
219
|
+
*/
|
|
220
|
+
async deleteEventsourceIntegration(params, requestConfig) {
|
|
221
|
+
const request = new RequestBuilder()
|
|
222
|
+
.setBaseUrl((requestConfig === null || requestConfig === void 0 ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
223
|
+
.setConfig(this.config)
|
|
224
|
+
.setMethod('DELETE')
|
|
225
|
+
.setPath('/integrations/eventsource')
|
|
226
|
+
.setRequestSchema(z.any())
|
|
227
|
+
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
228
|
+
.setRequestContentType(ContentType.Json)
|
|
229
|
+
.addResponse({
|
|
230
|
+
schema: z.undefined(),
|
|
231
|
+
contentType: ContentType.NoContent,
|
|
232
|
+
status: 204,
|
|
233
|
+
})
|
|
234
|
+
.setRetryAttempts(this.config, requestConfig)
|
|
235
|
+
.setRetryDelayMs(this.config, requestConfig)
|
|
236
|
+
.setResponseValidation(this.config, requestConfig)
|
|
237
|
+
.addQueryParam({
|
|
238
|
+
key: 'id',
|
|
239
|
+
value: params === null || params === void 0 ? void 0 : params.id,
|
|
240
|
+
})
|
|
241
|
+
.build();
|
|
242
|
+
return this.client.call(request);
|
|
243
|
+
}
|
|
156
244
|
/**
|
|
157
245
|
* Retrieves the current Expo integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
158
|
-
* @param {RequestConfig} requestConfig -
|
|
159
|
-
* @returns {Promise<HttpResponse<ExpoConfigCollection>>} OK
|
|
246
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
247
|
+
* @returns {Promise<HttpResponse<ExpoConfigCollection>>} - OK
|
|
160
248
|
*/
|
|
161
249
|
async listExpoIntegrations(requestConfig) {
|
|
162
250
|
const request = new RequestBuilder()
|
|
@@ -180,8 +268,8 @@ export class IntegrationsService extends BaseService {
|
|
|
180
268
|
}
|
|
181
269
|
/**
|
|
182
270
|
* Updates or creates the Expo integration for the project.
|
|
183
|
-
* @param {RequestConfig} requestConfig -
|
|
184
|
-
* @returns {Promise<HttpResponse<ExpoConfigPayload>>} OK
|
|
271
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
272
|
+
* @returns {Promise<HttpResponse<ExpoConfigPayload>>} - OK
|
|
185
273
|
*/
|
|
186
274
|
async saveExpoIntegration(body, requestConfig) {
|
|
187
275
|
const request = new RequestBuilder()
|
|
@@ -208,8 +296,8 @@ export class IntegrationsService extends BaseService {
|
|
|
208
296
|
/**
|
|
209
297
|
* Deletes the Expo integration configuration from the project. This will disable the integration's functionality within the project.
|
|
210
298
|
* @param {string} [params.id] -
|
|
211
|
-
* @param {RequestConfig} requestConfig -
|
|
212
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
299
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
300
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
213
301
|
*/
|
|
214
302
|
async deleteExpoIntegration(params, requestConfig) {
|
|
215
303
|
const request = new RequestBuilder()
|
|
@@ -237,8 +325,8 @@ export class IntegrationsService extends BaseService {
|
|
|
237
325
|
}
|
|
238
326
|
/**
|
|
239
327
|
* Retrieves the current FCM integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
240
|
-
* @param {RequestConfig} requestConfig -
|
|
241
|
-
* @returns {Promise<HttpResponse<FcmConfigCollection>>} OK
|
|
328
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
329
|
+
* @returns {Promise<HttpResponse<FcmConfigCollection>>} - OK
|
|
242
330
|
*/
|
|
243
331
|
async listFcmIntegrations(requestConfig) {
|
|
244
332
|
const request = new RequestBuilder()
|
|
@@ -262,8 +350,8 @@ export class IntegrationsService extends BaseService {
|
|
|
262
350
|
}
|
|
263
351
|
/**
|
|
264
352
|
* Updates or creates the FCM integration for the project.
|
|
265
|
-
* @param {RequestConfig} requestConfig -
|
|
266
|
-
* @returns {Promise<HttpResponse<FcmConfigPayload>>} OK
|
|
353
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
354
|
+
* @returns {Promise<HttpResponse<FcmConfigPayload>>} - OK
|
|
267
355
|
*/
|
|
268
356
|
async saveFcmIntegration(body, requestConfig) {
|
|
269
357
|
const request = new RequestBuilder()
|
|
@@ -290,8 +378,8 @@ export class IntegrationsService extends BaseService {
|
|
|
290
378
|
/**
|
|
291
379
|
* Deletes the FCM integration configuration from the project. This will disable the integration's functionality within the project.
|
|
292
380
|
* @param {string} [params.id] -
|
|
293
|
-
* @param {RequestConfig} requestConfig -
|
|
294
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
381
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
382
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
295
383
|
*/
|
|
296
384
|
async deleteFcmIntegration(params, requestConfig) {
|
|
297
385
|
const request = new RequestBuilder()
|
|
@@ -319,8 +407,8 @@ export class IntegrationsService extends BaseService {
|
|
|
319
407
|
}
|
|
320
408
|
/**
|
|
321
409
|
* Retrieves the current GitHub integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
322
|
-
* @param {RequestConfig} requestConfig -
|
|
323
|
-
* @returns {Promise<HttpResponse<GithubConfigCollection>>} OK
|
|
410
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
411
|
+
* @returns {Promise<HttpResponse<GithubConfigCollection>>} - OK
|
|
324
412
|
*/
|
|
325
413
|
async listGithubIntegrations(requestConfig) {
|
|
326
414
|
const request = new RequestBuilder()
|
|
@@ -344,8 +432,8 @@ export class IntegrationsService extends BaseService {
|
|
|
344
432
|
}
|
|
345
433
|
/**
|
|
346
434
|
* Updates or creates the GitHub integration for the project.
|
|
347
|
-
* @param {RequestConfig} requestConfig -
|
|
348
|
-
* @returns {Promise<HttpResponse<GithubConfigPayload>>} OK
|
|
435
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
436
|
+
* @returns {Promise<HttpResponse<GithubConfigPayload>>} - OK
|
|
349
437
|
*/
|
|
350
438
|
async saveGithubIntegration(body, requestConfig) {
|
|
351
439
|
const request = new RequestBuilder()
|
|
@@ -372,8 +460,8 @@ export class IntegrationsService extends BaseService {
|
|
|
372
460
|
/**
|
|
373
461
|
* Deletes the GitHub integration configuration from the project. This will disable the integration's functionality within the project.
|
|
374
462
|
* @param {string} [params.id] -
|
|
375
|
-
* @param {RequestConfig} requestConfig -
|
|
376
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
463
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
464
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
377
465
|
*/
|
|
378
466
|
async deleteGithubIntegration(params, requestConfig) {
|
|
379
467
|
const request = new RequestBuilder()
|
|
@@ -401,8 +489,8 @@ export class IntegrationsService extends BaseService {
|
|
|
401
489
|
}
|
|
402
490
|
/**
|
|
403
491
|
* Retrieves the current Inbox integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
404
|
-
* @param {RequestConfig} requestConfig -
|
|
405
|
-
* @returns {Promise<HttpResponse<InboxConfigCollection>>} OK
|
|
492
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
493
|
+
* @returns {Promise<HttpResponse<InboxConfigCollection>>} - OK
|
|
406
494
|
*/
|
|
407
495
|
async listInboxIntegrations(requestConfig) {
|
|
408
496
|
const request = new RequestBuilder()
|
|
@@ -426,8 +514,8 @@ export class IntegrationsService extends BaseService {
|
|
|
426
514
|
}
|
|
427
515
|
/**
|
|
428
516
|
* Updates or creates the Inbox integration for the project.
|
|
429
|
-
* @param {RequestConfig} requestConfig -
|
|
430
|
-
* @returns {Promise<HttpResponse<InboxConfigPayload>>} OK
|
|
517
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
518
|
+
* @returns {Promise<HttpResponse<InboxConfigPayload>>} - OK
|
|
431
519
|
*/
|
|
432
520
|
async saveInboxIntegration(body, requestConfig) {
|
|
433
521
|
const request = new RequestBuilder()
|
|
@@ -454,8 +542,8 @@ export class IntegrationsService extends BaseService {
|
|
|
454
542
|
/**
|
|
455
543
|
* Deletes the Inbox integration configuration from the project. This will disable the integration's functionality within the project.
|
|
456
544
|
* @param {string} [params.id] -
|
|
457
|
-
* @param {RequestConfig} requestConfig -
|
|
458
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
545
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
546
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
459
547
|
*/
|
|
460
548
|
async deleteInboxIntegration(params, requestConfig) {
|
|
461
549
|
const request = new RequestBuilder()
|
|
@@ -481,10 +569,92 @@ export class IntegrationsService extends BaseService {
|
|
|
481
569
|
.build();
|
|
482
570
|
return this.client.call(request);
|
|
483
571
|
}
|
|
572
|
+
/**
|
|
573
|
+
* Retrieves the current MagicBell SlackBot integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
574
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
575
|
+
* @returns {Promise<HttpResponse<SlackBotConfigCollection>>} - OK
|
|
576
|
+
*/
|
|
577
|
+
async listMagicbellSlackbotIntegrations(requestConfig) {
|
|
578
|
+
const request = new RequestBuilder()
|
|
579
|
+
.setBaseUrl((requestConfig === null || requestConfig === void 0 ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
580
|
+
.setConfig(this.config)
|
|
581
|
+
.setMethod('GET')
|
|
582
|
+
.setPath('/integrations/magicbell_slackbot')
|
|
583
|
+
.setRequestSchema(z.any())
|
|
584
|
+
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
585
|
+
.setRequestContentType(ContentType.Json)
|
|
586
|
+
.addResponse({
|
|
587
|
+
schema: slackBotConfigCollectionResponse,
|
|
588
|
+
contentType: ContentType.Json,
|
|
589
|
+
status: 200,
|
|
590
|
+
})
|
|
591
|
+
.setRetryAttempts(this.config, requestConfig)
|
|
592
|
+
.setRetryDelayMs(this.config, requestConfig)
|
|
593
|
+
.setResponseValidation(this.config, requestConfig)
|
|
594
|
+
.build();
|
|
595
|
+
return this.client.call(request);
|
|
596
|
+
}
|
|
597
|
+
/**
|
|
598
|
+
* Updates or creates the MagicBell SlackBot integration for the project.
|
|
599
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
600
|
+
* @returns {Promise<HttpResponse<SlackBotConfigPayload>>} - OK
|
|
601
|
+
*/
|
|
602
|
+
async saveMagicbellSlackbotIntegration(body, requestConfig) {
|
|
603
|
+
const request = new RequestBuilder()
|
|
604
|
+
.setBaseUrl((requestConfig === null || requestConfig === void 0 ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
605
|
+
.setConfig(this.config)
|
|
606
|
+
.setMethod('PUT')
|
|
607
|
+
.setPath('/integrations/magicbell_slackbot')
|
|
608
|
+
.setRequestSchema(slackBotConfigPayloadRequest)
|
|
609
|
+
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
610
|
+
.setRequestContentType(ContentType.Json)
|
|
611
|
+
.addResponse({
|
|
612
|
+
schema: slackBotConfigPayloadResponse,
|
|
613
|
+
contentType: ContentType.Json,
|
|
614
|
+
status: 200,
|
|
615
|
+
})
|
|
616
|
+
.setRetryAttempts(this.config, requestConfig)
|
|
617
|
+
.setRetryDelayMs(this.config, requestConfig)
|
|
618
|
+
.setResponseValidation(this.config, requestConfig)
|
|
619
|
+
.addHeaderParam({ key: 'Content-Type', value: 'application/json' })
|
|
620
|
+
.addBody(body)
|
|
621
|
+
.build();
|
|
622
|
+
return this.client.call(request);
|
|
623
|
+
}
|
|
624
|
+
/**
|
|
625
|
+
* Deletes the MagicBell SlackBot integration configuration from the project. This will disable the integration's functionality within the project.
|
|
626
|
+
* @param {string} [params.id] -
|
|
627
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
628
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
629
|
+
*/
|
|
630
|
+
async deleteMagicbellSlackbotIntegration(params, requestConfig) {
|
|
631
|
+
const request = new RequestBuilder()
|
|
632
|
+
.setBaseUrl((requestConfig === null || requestConfig === void 0 ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
633
|
+
.setConfig(this.config)
|
|
634
|
+
.setMethod('DELETE')
|
|
635
|
+
.setPath('/integrations/magicbell_slackbot')
|
|
636
|
+
.setRequestSchema(z.any())
|
|
637
|
+
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
638
|
+
.setRequestContentType(ContentType.Json)
|
|
639
|
+
.addResponse({
|
|
640
|
+
schema: z.undefined(),
|
|
641
|
+
contentType: ContentType.NoContent,
|
|
642
|
+
status: 204,
|
|
643
|
+
})
|
|
644
|
+
.setRetryAttempts(this.config, requestConfig)
|
|
645
|
+
.setRetryDelayMs(this.config, requestConfig)
|
|
646
|
+
.setResponseValidation(this.config, requestConfig)
|
|
647
|
+
.addQueryParam({
|
|
648
|
+
key: 'id',
|
|
649
|
+
value: params === null || params === void 0 ? void 0 : params.id,
|
|
650
|
+
})
|
|
651
|
+
.build();
|
|
652
|
+
return this.client.call(request);
|
|
653
|
+
}
|
|
484
654
|
/**
|
|
485
655
|
* Retrieves the current Mailgun integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
486
|
-
* @param {RequestConfig} requestConfig -
|
|
487
|
-
* @returns {Promise<HttpResponse<MailgunConfigCollection>>} OK
|
|
656
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
657
|
+
* @returns {Promise<HttpResponse<MailgunConfigCollection>>} - OK
|
|
488
658
|
*/
|
|
489
659
|
async listMailgunIntegrations(requestConfig) {
|
|
490
660
|
const request = new RequestBuilder()
|
|
@@ -508,8 +678,8 @@ export class IntegrationsService extends BaseService {
|
|
|
508
678
|
}
|
|
509
679
|
/**
|
|
510
680
|
* Updates or creates the Mailgun integration for the project.
|
|
511
|
-
* @param {RequestConfig} requestConfig -
|
|
512
|
-
* @returns {Promise<HttpResponse<MailgunConfigPayload>>} OK
|
|
681
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
682
|
+
* @returns {Promise<HttpResponse<MailgunConfigPayload>>} - OK
|
|
513
683
|
*/
|
|
514
684
|
async saveMailgunIntegration(body, requestConfig) {
|
|
515
685
|
const request = new RequestBuilder()
|
|
@@ -536,8 +706,8 @@ export class IntegrationsService extends BaseService {
|
|
|
536
706
|
/**
|
|
537
707
|
* Deletes the Mailgun integration configuration from the project. This will disable the integration's functionality within the project.
|
|
538
708
|
* @param {string} [params.id] -
|
|
539
|
-
* @param {RequestConfig} requestConfig -
|
|
540
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
709
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
710
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
541
711
|
*/
|
|
542
712
|
async deleteMailgunIntegration(params, requestConfig) {
|
|
543
713
|
const request = new RequestBuilder()
|
|
@@ -565,8 +735,8 @@ export class IntegrationsService extends BaseService {
|
|
|
565
735
|
}
|
|
566
736
|
/**
|
|
567
737
|
* Retrieves the current Ping Email integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
568
|
-
* @param {RequestConfig} requestConfig -
|
|
569
|
-
* @returns {Promise<HttpResponse<PingConfigCollection>>} OK
|
|
738
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
739
|
+
* @returns {Promise<HttpResponse<PingConfigCollection>>} - OK
|
|
570
740
|
*/
|
|
571
741
|
async listPingEmailIntegrations(requestConfig) {
|
|
572
742
|
const request = new RequestBuilder()
|
|
@@ -590,8 +760,8 @@ export class IntegrationsService extends BaseService {
|
|
|
590
760
|
}
|
|
591
761
|
/**
|
|
592
762
|
* Updates or creates the Ping Email integration for the project.
|
|
593
|
-
* @param {RequestConfig} requestConfig -
|
|
594
|
-
* @returns {Promise<HttpResponse<PingConfigPayload>>} OK
|
|
763
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
764
|
+
* @returns {Promise<HttpResponse<PingConfigPayload>>} - OK
|
|
595
765
|
*/
|
|
596
766
|
async savePingEmailIntegration(body, requestConfig) {
|
|
597
767
|
const request = new RequestBuilder()
|
|
@@ -618,8 +788,8 @@ export class IntegrationsService extends BaseService {
|
|
|
618
788
|
/**
|
|
619
789
|
* Deletes the Ping Email integration configuration from the project. This will disable the integration's functionality within the project.
|
|
620
790
|
* @param {string} [params.id] -
|
|
621
|
-
* @param {RequestConfig} requestConfig -
|
|
622
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
791
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
792
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
623
793
|
*/
|
|
624
794
|
async deletePingEmailIntegration(params, requestConfig) {
|
|
625
795
|
const request = new RequestBuilder()
|
|
@@ -647,8 +817,8 @@ export class IntegrationsService extends BaseService {
|
|
|
647
817
|
}
|
|
648
818
|
/**
|
|
649
819
|
* Retrieves the current SendGrid integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
650
|
-
* @param {RequestConfig} requestConfig -
|
|
651
|
-
* @returns {Promise<HttpResponse<SendgridConfigCollection>>} OK
|
|
820
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
821
|
+
* @returns {Promise<HttpResponse<SendgridConfigCollection>>} - OK
|
|
652
822
|
*/
|
|
653
823
|
async listSendgridIntegrations(requestConfig) {
|
|
654
824
|
const request = new RequestBuilder()
|
|
@@ -672,8 +842,8 @@ export class IntegrationsService extends BaseService {
|
|
|
672
842
|
}
|
|
673
843
|
/**
|
|
674
844
|
* Updates or creates the SendGrid integration for the project.
|
|
675
|
-
* @param {RequestConfig} requestConfig -
|
|
676
|
-
* @returns {Promise<HttpResponse<SendgridConfigPayload>>} OK
|
|
845
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
846
|
+
* @returns {Promise<HttpResponse<SendgridConfigPayload>>} - OK
|
|
677
847
|
*/
|
|
678
848
|
async saveSendgridIntegration(body, requestConfig) {
|
|
679
849
|
const request = new RequestBuilder()
|
|
@@ -700,8 +870,8 @@ export class IntegrationsService extends BaseService {
|
|
|
700
870
|
/**
|
|
701
871
|
* Deletes the SendGrid integration configuration from the project. This will disable the integration's functionality within the project.
|
|
702
872
|
* @param {string} [params.id] -
|
|
703
|
-
* @param {RequestConfig} requestConfig -
|
|
704
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
873
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
874
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
705
875
|
*/
|
|
706
876
|
async deleteSendgridIntegration(params, requestConfig) {
|
|
707
877
|
const request = new RequestBuilder()
|
|
@@ -729,8 +899,8 @@ export class IntegrationsService extends BaseService {
|
|
|
729
899
|
}
|
|
730
900
|
/**
|
|
731
901
|
* Retrieves the current Amazon SES integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
732
|
-
* @param {RequestConfig} requestConfig -
|
|
733
|
-
* @returns {Promise<HttpResponse<SesConfigCollection>>} OK
|
|
902
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
903
|
+
* @returns {Promise<HttpResponse<SesConfigCollection>>} - OK
|
|
734
904
|
*/
|
|
735
905
|
async listSesIntegrations(requestConfig) {
|
|
736
906
|
const request = new RequestBuilder()
|
|
@@ -754,8 +924,8 @@ export class IntegrationsService extends BaseService {
|
|
|
754
924
|
}
|
|
755
925
|
/**
|
|
756
926
|
* Updates or creates the Amazon SES integration for the project.
|
|
757
|
-
* @param {RequestConfig} requestConfig -
|
|
758
|
-
* @returns {Promise<HttpResponse<SesConfigPayload>>} OK
|
|
927
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
928
|
+
* @returns {Promise<HttpResponse<SesConfigPayload>>} - OK
|
|
759
929
|
*/
|
|
760
930
|
async saveSesIntegration(body, requestConfig) {
|
|
761
931
|
const request = new RequestBuilder()
|
|
@@ -782,8 +952,8 @@ export class IntegrationsService extends BaseService {
|
|
|
782
952
|
/**
|
|
783
953
|
* Deletes the Amazon SES integration configuration from the project. This will disable the integration's functionality within the project.
|
|
784
954
|
* @param {string} [params.id] -
|
|
785
|
-
* @param {RequestConfig} requestConfig -
|
|
786
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
955
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
956
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
787
957
|
*/
|
|
788
958
|
async deleteSesIntegration(params, requestConfig) {
|
|
789
959
|
const request = new RequestBuilder()
|
|
@@ -811,8 +981,8 @@ export class IntegrationsService extends BaseService {
|
|
|
811
981
|
}
|
|
812
982
|
/**
|
|
813
983
|
* Retrieves the current Slack integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
814
|
-
* @param {RequestConfig} requestConfig -
|
|
815
|
-
* @returns {Promise<HttpResponse<SlackConfigCollection>>} OK
|
|
984
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
985
|
+
* @returns {Promise<HttpResponse<SlackConfigCollection>>} - OK
|
|
816
986
|
*/
|
|
817
987
|
async listSlackIntegrations(requestConfig) {
|
|
818
988
|
const request = new RequestBuilder()
|
|
@@ -836,8 +1006,8 @@ export class IntegrationsService extends BaseService {
|
|
|
836
1006
|
}
|
|
837
1007
|
/**
|
|
838
1008
|
* Updates or creates the Slack integration for the project.
|
|
839
|
-
* @param {RequestConfig} requestConfig -
|
|
840
|
-
* @returns {Promise<HttpResponse<SlackConfigPayload>>} OK
|
|
1009
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
1010
|
+
* @returns {Promise<HttpResponse<SlackConfigPayload>>} - OK
|
|
841
1011
|
*/
|
|
842
1012
|
async saveSlackIntegration(body, requestConfig) {
|
|
843
1013
|
const request = new RequestBuilder()
|
|
@@ -864,8 +1034,8 @@ export class IntegrationsService extends BaseService {
|
|
|
864
1034
|
/**
|
|
865
1035
|
* Deletes the Slack integration configuration from the project. This will disable the integration's functionality within the project.
|
|
866
1036
|
* @param {string} [params.id] -
|
|
867
|
-
* @param {RequestConfig} requestConfig -
|
|
868
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
1037
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
1038
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
869
1039
|
*/
|
|
870
1040
|
async deleteSlackIntegration(params, requestConfig) {
|
|
871
1041
|
const request = new RequestBuilder()
|
|
@@ -891,10 +1061,92 @@ export class IntegrationsService extends BaseService {
|
|
|
891
1061
|
.build();
|
|
892
1062
|
return this.client.call(request);
|
|
893
1063
|
}
|
|
1064
|
+
/**
|
|
1065
|
+
* Retrieves the current SMTP integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
1066
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
1067
|
+
* @returns {Promise<HttpResponse<SmtpConfigObjectCollection>>} - OK
|
|
1068
|
+
*/
|
|
1069
|
+
async listSmtpIntegrations(requestConfig) {
|
|
1070
|
+
const request = new RequestBuilder()
|
|
1071
|
+
.setBaseUrl((requestConfig === null || requestConfig === void 0 ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1072
|
+
.setConfig(this.config)
|
|
1073
|
+
.setMethod('GET')
|
|
1074
|
+
.setPath('/integrations/smtp')
|
|
1075
|
+
.setRequestSchema(z.any())
|
|
1076
|
+
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
1077
|
+
.setRequestContentType(ContentType.Json)
|
|
1078
|
+
.addResponse({
|
|
1079
|
+
schema: smtpConfigObjectCollectionResponse,
|
|
1080
|
+
contentType: ContentType.Json,
|
|
1081
|
+
status: 200,
|
|
1082
|
+
})
|
|
1083
|
+
.setRetryAttempts(this.config, requestConfig)
|
|
1084
|
+
.setRetryDelayMs(this.config, requestConfig)
|
|
1085
|
+
.setResponseValidation(this.config, requestConfig)
|
|
1086
|
+
.build();
|
|
1087
|
+
return this.client.call(request);
|
|
1088
|
+
}
|
|
1089
|
+
/**
|
|
1090
|
+
* Updates or creates the SMTP integration for the project.
|
|
1091
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
1092
|
+
* @returns {Promise<HttpResponse<SmtpConfig>>} - OK
|
|
1093
|
+
*/
|
|
1094
|
+
async saveSmtpIntegration(body, requestConfig) {
|
|
1095
|
+
const request = new RequestBuilder()
|
|
1096
|
+
.setBaseUrl((requestConfig === null || requestConfig === void 0 ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1097
|
+
.setConfig(this.config)
|
|
1098
|
+
.setMethod('PUT')
|
|
1099
|
+
.setPath('/integrations/smtp')
|
|
1100
|
+
.setRequestSchema(smtpConfigRequest)
|
|
1101
|
+
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
1102
|
+
.setRequestContentType(ContentType.Json)
|
|
1103
|
+
.addResponse({
|
|
1104
|
+
schema: smtpConfigResponse,
|
|
1105
|
+
contentType: ContentType.Json,
|
|
1106
|
+
status: 200,
|
|
1107
|
+
})
|
|
1108
|
+
.setRetryAttempts(this.config, requestConfig)
|
|
1109
|
+
.setRetryDelayMs(this.config, requestConfig)
|
|
1110
|
+
.setResponseValidation(this.config, requestConfig)
|
|
1111
|
+
.addHeaderParam({ key: 'Content-Type', value: 'application/json' })
|
|
1112
|
+
.addBody(body)
|
|
1113
|
+
.build();
|
|
1114
|
+
return this.client.call(request);
|
|
1115
|
+
}
|
|
1116
|
+
/**
|
|
1117
|
+
* Deletes the SMTP integration configuration from the project. This will disable the integration's functionality within the project.
|
|
1118
|
+
* @param {string} [params.id] -
|
|
1119
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
1120
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
1121
|
+
*/
|
|
1122
|
+
async deleteSmtpIntegration(params, requestConfig) {
|
|
1123
|
+
const request = new RequestBuilder()
|
|
1124
|
+
.setBaseUrl((requestConfig === null || requestConfig === void 0 ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1125
|
+
.setConfig(this.config)
|
|
1126
|
+
.setMethod('DELETE')
|
|
1127
|
+
.setPath('/integrations/smtp')
|
|
1128
|
+
.setRequestSchema(z.any())
|
|
1129
|
+
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
1130
|
+
.setRequestContentType(ContentType.Json)
|
|
1131
|
+
.addResponse({
|
|
1132
|
+
schema: z.undefined(),
|
|
1133
|
+
contentType: ContentType.NoContent,
|
|
1134
|
+
status: 204,
|
|
1135
|
+
})
|
|
1136
|
+
.setRetryAttempts(this.config, requestConfig)
|
|
1137
|
+
.setRetryDelayMs(this.config, requestConfig)
|
|
1138
|
+
.setResponseValidation(this.config, requestConfig)
|
|
1139
|
+
.addQueryParam({
|
|
1140
|
+
key: 'id',
|
|
1141
|
+
value: params === null || params === void 0 ? void 0 : params.id,
|
|
1142
|
+
})
|
|
1143
|
+
.build();
|
|
1144
|
+
return this.client.call(request);
|
|
1145
|
+
}
|
|
894
1146
|
/**
|
|
895
1147
|
* Retrieves the current Stripe integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
896
|
-
* @param {RequestConfig} requestConfig -
|
|
897
|
-
* @returns {Promise<HttpResponse<StripeConfigCollection>>} OK
|
|
1148
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
1149
|
+
* @returns {Promise<HttpResponse<StripeConfigCollection>>} - OK
|
|
898
1150
|
*/
|
|
899
1151
|
async listStripeIntegrations(requestConfig) {
|
|
900
1152
|
const request = new RequestBuilder()
|
|
@@ -918,8 +1170,8 @@ export class IntegrationsService extends BaseService {
|
|
|
918
1170
|
}
|
|
919
1171
|
/**
|
|
920
1172
|
* Updates or creates the Stripe integration for the project.
|
|
921
|
-
* @param {RequestConfig} requestConfig -
|
|
922
|
-
* @returns {Promise<HttpResponse<StripeConfigPayload>>} OK
|
|
1173
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
1174
|
+
* @returns {Promise<HttpResponse<StripeConfigPayload>>} - OK
|
|
923
1175
|
*/
|
|
924
1176
|
async saveStripeIntegration(body, requestConfig) {
|
|
925
1177
|
const request = new RequestBuilder()
|
|
@@ -946,8 +1198,8 @@ export class IntegrationsService extends BaseService {
|
|
|
946
1198
|
/**
|
|
947
1199
|
* Deletes the Stripe integration configuration from the project. This will disable the integration's functionality within the project.
|
|
948
1200
|
* @param {string} [params.id] -
|
|
949
|
-
* @param {RequestConfig} requestConfig -
|
|
950
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
1201
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
1202
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
951
1203
|
*/
|
|
952
1204
|
async deleteStripeIntegration(params, requestConfig) {
|
|
953
1205
|
const request = new RequestBuilder()
|
|
@@ -975,8 +1227,8 @@ export class IntegrationsService extends BaseService {
|
|
|
975
1227
|
}
|
|
976
1228
|
/**
|
|
977
1229
|
* Retrieves the current Twilio integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
978
|
-
* @param {RequestConfig} requestConfig -
|
|
979
|
-
* @returns {Promise<HttpResponse<TwilioConfigCollection>>} OK
|
|
1230
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
1231
|
+
* @returns {Promise<HttpResponse<TwilioConfigCollection>>} - OK
|
|
980
1232
|
*/
|
|
981
1233
|
async listTwilioIntegrations(requestConfig) {
|
|
982
1234
|
const request = new RequestBuilder()
|
|
@@ -1000,8 +1252,8 @@ export class IntegrationsService extends BaseService {
|
|
|
1000
1252
|
}
|
|
1001
1253
|
/**
|
|
1002
1254
|
* Updates or creates the Twilio integration for the project.
|
|
1003
|
-
* @param {RequestConfig} requestConfig -
|
|
1004
|
-
* @returns {Promise<HttpResponse<TwilioConfigPayload>>} OK
|
|
1255
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
1256
|
+
* @returns {Promise<HttpResponse<TwilioConfigPayload>>} - OK
|
|
1005
1257
|
*/
|
|
1006
1258
|
async saveTwilioIntegration(body, requestConfig) {
|
|
1007
1259
|
const request = new RequestBuilder()
|
|
@@ -1028,8 +1280,8 @@ export class IntegrationsService extends BaseService {
|
|
|
1028
1280
|
/**
|
|
1029
1281
|
* Deletes the Twilio integration configuration from the project. This will disable the integration's functionality within the project.
|
|
1030
1282
|
* @param {string} [params.id] -
|
|
1031
|
-
* @param {RequestConfig} requestConfig -
|
|
1032
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
1283
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
1284
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
1033
1285
|
*/
|
|
1034
1286
|
async deleteTwilioIntegration(params, requestConfig) {
|
|
1035
1287
|
const request = new RequestBuilder()
|
|
@@ -1057,8 +1309,8 @@ export class IntegrationsService extends BaseService {
|
|
|
1057
1309
|
}
|
|
1058
1310
|
/**
|
|
1059
1311
|
* Retrieves the current Web Push integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
1060
|
-
* @param {RequestConfig} requestConfig -
|
|
1061
|
-
* @returns {Promise<HttpResponse<WebpushConfigCollection>>} OK
|
|
1312
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
1313
|
+
* @returns {Promise<HttpResponse<WebpushConfigCollection>>} - OK
|
|
1062
1314
|
*/
|
|
1063
1315
|
async listWebPushIntegrations(requestConfig) {
|
|
1064
1316
|
const request = new RequestBuilder()
|
|
@@ -1082,8 +1334,8 @@ export class IntegrationsService extends BaseService {
|
|
|
1082
1334
|
}
|
|
1083
1335
|
/**
|
|
1084
1336
|
* Updates or creates the Web Push integration for the project.
|
|
1085
|
-
* @param {RequestConfig} requestConfig -
|
|
1086
|
-
* @returns {Promise<HttpResponse<WebpushConfigPayload>>} OK
|
|
1337
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
1338
|
+
* @returns {Promise<HttpResponse<WebpushConfigPayload>>} - OK
|
|
1087
1339
|
*/
|
|
1088
1340
|
async saveWebPushIntegration(body, requestConfig) {
|
|
1089
1341
|
const request = new RequestBuilder()
|
|
@@ -1110,8 +1362,8 @@ export class IntegrationsService extends BaseService {
|
|
|
1110
1362
|
/**
|
|
1111
1363
|
* Deletes the Web Push integration configuration from the project. This will disable the integration's functionality within the project.
|
|
1112
1364
|
* @param {string} [params.id] -
|
|
1113
|
-
* @param {RequestConfig} requestConfig -
|
|
1114
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
1365
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
1366
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
1115
1367
|
*/
|
|
1116
1368
|
async deleteWebPushIntegration(params, requestConfig) {
|
|
1117
1369
|
const request = new RequestBuilder()
|