magicbell-js 1.2.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 +30 -6
- 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/broadcasts/models/broadcast-collection.d.ts +274 -274
- package/dist/commonjs/project-client/services/broadcasts/models/broadcast.d.ts +168 -168
- package/dist/commonjs/project-client/services/broadcasts/models/email.d.ts +3 -3
- package/dist/commonjs/project-client/services/broadcasts/models/in-app.d.ts +3 -3
- package/dist/commonjs/project-client/services/broadcasts/models/mobile-push.d.ts +3 -3
- package/dist/commonjs/project-client/services/broadcasts/models/overrides-channels.d.ts +27 -27
- package/dist/commonjs/project-client/services/broadcasts/models/overrides.d.ts +39 -39
- package/dist/commonjs/project-client/services/broadcasts/models/sms.d.ts +3 -3
- 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/models/apns-token-collection.d.ts +14 -14
- package/dist/commonjs/project-client/services/channels/models/apns-token.d.ts +8 -8
- package/dist/commonjs/project-client/services/channels/models/discard-result.d.ts +8 -8
- package/dist/commonjs/project-client/services/channels/models/expo-token-collection.d.ts +14 -14
- package/dist/commonjs/project-client/services/channels/models/expo-token.d.ts +8 -8
- package/dist/commonjs/project-client/services/channels/models/fcm-token-collection.d.ts +14 -14
- package/dist/commonjs/project-client/services/channels/models/fcm-token.d.ts +8 -8
- package/dist/commonjs/project-client/services/channels/models/inbox-token-response-collection.d.ts +28 -28
- package/dist/commonjs/project-client/services/channels/models/inbox-token-response.d.ts +16 -16
- package/dist/commonjs/project-client/services/channels/models/slack-token-collection.d.ts +14 -14
- package/dist/commonjs/project-client/services/channels/models/slack-token.d.ts +8 -8
- package/dist/commonjs/project-client/services/channels/models/teams-token-collection.d.ts +14 -14
- package/dist/commonjs/project-client/services/channels/models/teams-token.d.ts +8 -8
- package/dist/commonjs/project-client/services/channels/models/web-push-token-collection.d.ts +14 -14
- package/dist/commonjs/project-client/services/channels/models/web-push-token.d.ts +8 -8
- 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/common/user.d.ts +6 -6
- 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 +174 -69
- package/dist/commonjs/project-client/services/integrations/integrations-service.d.ts.map +1 -1
- package/dist/commonjs/project-client/services/integrations/integrations-service.js +488 -68
- 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/github-config-collection.d.ts +312 -0
- package/dist/commonjs/project-client/services/integrations/models/github-config-collection.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/github-config-collection.js +46 -0
- package/dist/commonjs/project-client/services/integrations/models/github-config-collection.js.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/github-config-payload.d.ts +48 -0
- package/dist/commonjs/project-client/services/integrations/models/github-config-payload.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/github-config-payload.js +39 -0
- package/dist/commonjs/project-client/services/integrations/models/github-config-payload.js.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/github-config.d.ts +122 -0
- package/dist/commonjs/project-client/services/integrations/models/github-config.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/github-config.js +50 -0
- package/dist/commonjs/project-client/services/integrations/models/github-config.js.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/inbox-config-collection.d.ts +182 -182
- package/dist/commonjs/project-client/services/integrations/models/inbox-config-payload.d.ts +98 -98
- package/dist/commonjs/project-client/services/integrations/models/inbox-config.d.ts +140 -140
- package/dist/commonjs/project-client/services/integrations/models/index.d.ts +19 -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 +345 -0
- package/dist/commonjs/project-client/services/integrations/models/stripe-config-collection.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/stripe-config-collection.js +46 -0
- package/dist/commonjs/project-client/services/integrations/models/stripe-config-collection.js.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/stripe-config-payload.d.ts +62 -0
- package/dist/commonjs/project-client/services/integrations/models/stripe-config-payload.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/stripe-config-payload.js +44 -0
- package/dist/commonjs/project-client/services/integrations/models/stripe-config-payload.js.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/stripe-config.d.ts +145 -0
- package/dist/commonjs/project-client/services/integrations/models/stripe-config.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/stripe-config.js +50 -0
- package/dist/commonjs/project-client/services/integrations/models/stripe-config.js.map +1 -0
- package/dist/commonjs/project-client/services/integrations/models/theme.d.ts +56 -56
- 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 +15 -0
- package/dist/commonjs/project-client/services/integrations/request-params.d.ts.map +1 -1
- package/dist/commonjs/project-client/services/users/models/user-collection.d.ts +10 -10
- 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 +99 -57
- package/dist/commonjs/user-client/services/channels/channels-service.d.ts.map +1 -1
- package/dist/commonjs/user-client/services/channels/channels-service.js +236 -56
- package/dist/commonjs/user-client/services/channels/channels-service.js.map +1 -1
- package/dist/commonjs/user-client/services/channels/models/apns-token-collection.d.ts +14 -14
- package/dist/commonjs/user-client/services/channels/models/apns-token.d.ts +8 -8
- package/dist/commonjs/user-client/services/channels/models/categories.d.ts +145 -0
- package/dist/commonjs/user-client/services/channels/models/categories.d.ts.map +1 -0
- package/dist/commonjs/user-client/services/channels/models/categories.js +62 -0
- package/dist/commonjs/user-client/services/channels/models/categories.js.map +1 -0
- package/dist/commonjs/user-client/services/channels/models/channels.d.ts +62 -0
- package/dist/commonjs/user-client/services/channels/models/channels.d.ts.map +1 -0
- package/dist/commonjs/user-client/services/channels/models/channels.js +44 -0
- package/dist/commonjs/user-client/services/channels/models/channels.js.map +1 -0
- package/dist/commonjs/user-client/services/channels/models/discard-result.d.ts +8 -8
- package/dist/commonjs/user-client/services/channels/models/expo-token-collection.d.ts +14 -14
- package/dist/commonjs/user-client/services/channels/models/expo-token.d.ts +8 -8
- package/dist/commonjs/user-client/services/channels/models/fcm-token-collection.d.ts +14 -14
- package/dist/commonjs/user-client/services/channels/models/fcm-token.d.ts +8 -8
- package/dist/commonjs/user-client/services/channels/models/inbox-token-response-collection.d.ts +28 -28
- package/dist/commonjs/user-client/services/channels/models/inbox-token-response.d.ts +16 -16
- package/dist/commonjs/user-client/services/channels/models/index.d.ts +3 -0
- package/dist/commonjs/user-client/services/channels/models/index.d.ts.map +1 -1
- package/dist/commonjs/user-client/services/channels/models/index.js.map +1 -1
- package/dist/commonjs/user-client/services/channels/models/slack-token-collection.d.ts +14 -14
- package/dist/commonjs/user-client/services/channels/models/slack-token.d.ts +8 -8
- package/dist/commonjs/user-client/services/channels/models/teams-token-collection.d.ts +14 -14
- package/dist/commonjs/user-client/services/channels/models/teams-token.d.ts +8 -8
- package/dist/commonjs/user-client/services/channels/models/user-preferences.d.ts +239 -0
- package/dist/commonjs/user-client/services/channels/models/user-preferences.d.ts.map +1 -0
- package/dist/commonjs/user-client/services/channels/models/user-preferences.js +40 -0
- package/dist/commonjs/user-client/services/channels/models/user-preferences.js.map +1 -0
- package/dist/commonjs/user-client/services/channels/models/web-push-token-collection.d.ts +14 -14
- package/dist/commonjs/user-client/services/channels/models/web-push-token.d.ts +8 -8
- 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/integrations/models/authed-user.d.ts +8 -8
- package/dist/commonjs/user-client/services/integrations/models/inbox-config-payload.d.ts +98 -98
- package/dist/commonjs/user-client/services/integrations/models/slack-installation.d.ts +57 -57
- package/dist/commonjs/user-client/services/integrations/models/slack-start-install.d.ts +8 -8
- package/dist/commonjs/user-client/services/integrations/models/theme.d.ts +56 -56
- package/dist/commonjs/user-client/services/notifications/models/notification-collection.d.ts +56 -56
- package/dist/commonjs/user-client/services/notifications/models/notification.d.ts +32 -32
- 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/broadcasts/models/broadcast-collection.d.ts +274 -274
- package/dist/esm/project-client/services/broadcasts/models/broadcast.d.ts +168 -168
- package/dist/esm/project-client/services/broadcasts/models/email.d.ts +3 -3
- package/dist/esm/project-client/services/broadcasts/models/in-app.d.ts +3 -3
- package/dist/esm/project-client/services/broadcasts/models/mobile-push.d.ts +3 -3
- package/dist/esm/project-client/services/broadcasts/models/overrides-channels.d.ts +27 -27
- package/dist/esm/project-client/services/broadcasts/models/overrides.d.ts +39 -39
- package/dist/esm/project-client/services/broadcasts/models/sms.d.ts +3 -3
- 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/models/apns-token-collection.d.ts +14 -14
- package/dist/esm/project-client/services/channels/models/apns-token.d.ts +8 -8
- package/dist/esm/project-client/services/channels/models/discard-result.d.ts +8 -8
- package/dist/esm/project-client/services/channels/models/expo-token-collection.d.ts +14 -14
- package/dist/esm/project-client/services/channels/models/expo-token.d.ts +8 -8
- package/dist/esm/project-client/services/channels/models/fcm-token-collection.d.ts +14 -14
- package/dist/esm/project-client/services/channels/models/fcm-token.d.ts +8 -8
- package/dist/esm/project-client/services/channels/models/inbox-token-response-collection.d.ts +28 -28
- package/dist/esm/project-client/services/channels/models/inbox-token-response.d.ts +16 -16
- package/dist/esm/project-client/services/channels/models/slack-token-collection.d.ts +14 -14
- package/dist/esm/project-client/services/channels/models/slack-token.d.ts +8 -8
- package/dist/esm/project-client/services/channels/models/teams-token-collection.d.ts +14 -14
- package/dist/esm/project-client/services/channels/models/teams-token.d.ts +8 -8
- package/dist/esm/project-client/services/channels/models/web-push-token-collection.d.ts +14 -14
- package/dist/esm/project-client/services/channels/models/web-push-token.d.ts +8 -8
- 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/common/user.d.ts +6 -6
- 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 +174 -69
- package/dist/esm/project-client/services/integrations/integrations-service.d.ts.map +1 -1
- package/dist/esm/project-client/services/integrations/integrations-service.js +488 -68
- 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/github-config-collection.d.ts +312 -0
- package/dist/esm/project-client/services/integrations/models/github-config-collection.d.ts.map +1 -0
- package/dist/esm/project-client/services/integrations/models/github-config-collection.js +43 -0
- package/dist/esm/project-client/services/integrations/models/github-config-collection.js.map +1 -0
- package/dist/esm/project-client/services/integrations/models/github-config-payload.d.ts +48 -0
- package/dist/esm/project-client/services/integrations/models/github-config-payload.d.ts.map +1 -0
- package/dist/esm/project-client/services/integrations/models/github-config-payload.js +36 -0
- package/dist/esm/project-client/services/integrations/models/github-config-payload.js.map +1 -0
- package/dist/esm/project-client/services/integrations/models/github-config.d.ts +122 -0
- package/dist/esm/project-client/services/integrations/models/github-config.d.ts.map +1 -0
- package/dist/esm/project-client/services/integrations/models/github-config.js +47 -0
- package/dist/esm/project-client/services/integrations/models/github-config.js.map +1 -0
- package/dist/esm/project-client/services/integrations/models/inbox-config-collection.d.ts +182 -182
- package/dist/esm/project-client/services/integrations/models/inbox-config-payload.d.ts +98 -98
- package/dist/esm/project-client/services/integrations/models/inbox-config.d.ts +140 -140
- package/dist/esm/project-client/services/integrations/models/index.d.ts +19 -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 +345 -0
- package/dist/esm/project-client/services/integrations/models/stripe-config-collection.d.ts.map +1 -0
- package/dist/esm/project-client/services/integrations/models/stripe-config-collection.js +43 -0
- package/dist/esm/project-client/services/integrations/models/stripe-config-collection.js.map +1 -0
- package/dist/esm/project-client/services/integrations/models/stripe-config-payload.d.ts +62 -0
- package/dist/esm/project-client/services/integrations/models/stripe-config-payload.d.ts.map +1 -0
- package/dist/esm/project-client/services/integrations/models/stripe-config-payload.js +41 -0
- package/dist/esm/project-client/services/integrations/models/stripe-config-payload.js.map +1 -0
- package/dist/esm/project-client/services/integrations/models/stripe-config.d.ts +145 -0
- package/dist/esm/project-client/services/integrations/models/stripe-config.d.ts.map +1 -0
- package/dist/esm/project-client/services/integrations/models/stripe-config.js +47 -0
- package/dist/esm/project-client/services/integrations/models/stripe-config.js.map +1 -0
- package/dist/esm/project-client/services/integrations/models/theme.d.ts +56 -56
- 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 +15 -0
- package/dist/esm/project-client/services/integrations/request-params.d.ts.map +1 -1
- package/dist/esm/project-client/services/users/models/user-collection.d.ts +10 -10
- 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 +99 -57
- package/dist/esm/user-client/services/channels/channels-service.d.ts.map +1 -1
- package/dist/esm/user-client/services/channels/channels-service.js +236 -56
- package/dist/esm/user-client/services/channels/channels-service.js.map +1 -1
- package/dist/esm/user-client/services/channels/models/apns-token-collection.d.ts +14 -14
- package/dist/esm/user-client/services/channels/models/apns-token.d.ts +8 -8
- package/dist/esm/user-client/services/channels/models/categories.d.ts +145 -0
- package/dist/esm/user-client/services/channels/models/categories.d.ts.map +1 -0
- package/dist/esm/user-client/services/channels/models/categories.js +59 -0
- package/dist/esm/user-client/services/channels/models/categories.js.map +1 -0
- package/dist/esm/user-client/services/channels/models/channels.d.ts +62 -0
- package/dist/esm/user-client/services/channels/models/channels.d.ts.map +1 -0
- package/dist/esm/user-client/services/channels/models/channels.js +41 -0
- package/dist/esm/user-client/services/channels/models/channels.js.map +1 -0
- package/dist/esm/user-client/services/channels/models/discard-result.d.ts +8 -8
- package/dist/esm/user-client/services/channels/models/expo-token-collection.d.ts +14 -14
- package/dist/esm/user-client/services/channels/models/expo-token.d.ts +8 -8
- package/dist/esm/user-client/services/channels/models/fcm-token-collection.d.ts +14 -14
- package/dist/esm/user-client/services/channels/models/fcm-token.d.ts +8 -8
- package/dist/esm/user-client/services/channels/models/inbox-token-response-collection.d.ts +28 -28
- package/dist/esm/user-client/services/channels/models/inbox-token-response.d.ts +16 -16
- package/dist/esm/user-client/services/channels/models/index.d.ts +3 -0
- package/dist/esm/user-client/services/channels/models/index.d.ts.map +1 -1
- package/dist/esm/user-client/services/channels/models/index.js.map +1 -1
- package/dist/esm/user-client/services/channels/models/slack-token-collection.d.ts +14 -14
- package/dist/esm/user-client/services/channels/models/slack-token.d.ts +8 -8
- package/dist/esm/user-client/services/channels/models/teams-token-collection.d.ts +14 -14
- package/dist/esm/user-client/services/channels/models/teams-token.d.ts +8 -8
- package/dist/esm/user-client/services/channels/models/user-preferences.d.ts +239 -0
- package/dist/esm/user-client/services/channels/models/user-preferences.d.ts.map +1 -0
- package/dist/esm/user-client/services/channels/models/user-preferences.js +37 -0
- package/dist/esm/user-client/services/channels/models/user-preferences.js.map +1 -0
- package/dist/esm/user-client/services/channels/models/web-push-token-collection.d.ts +14 -14
- package/dist/esm/user-client/services/channels/models/web-push-token.d.ts +8 -8
- 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/integrations/models/authed-user.d.ts +8 -8
- package/dist/esm/user-client/services/integrations/models/inbox-config-payload.d.ts +98 -98
- package/dist/esm/user-client/services/integrations/models/slack-installation.d.ts +57 -57
- package/dist/esm/user-client/services/integrations/models/slack-start-install.d.ts +8 -8
- package/dist/esm/user-client/services/integrations/models/theme.d.ts +56 -56
- package/dist/esm/user-client/services/notifications/models/notification-collection.d.ts +56 -56
- package/dist/esm/user-client/services/notifications/models/notification.d.ts +32 -32
- 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 +3 -3
- 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 +559 -68
- 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/github-config-collection.ts +54 -0
- package/src/project-client/services/integrations/models/github-config-payload.ts +45 -0
- package/src/project-client/services/integrations/models/github-config.ts +64 -0
- package/src/project-client/services/integrations/models/index.ts +19 -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-collection.ts +54 -0
- package/src/project-client/services/integrations/models/stripe-config-payload.ts +51 -0
- package/src/project-client/services/integrations/models/stripe-config.ts +64 -0
- package/src/project-client/services/integrations/models/webpush-config-payload.ts +1 -1
- package/src/project-client/services/integrations/request-params.ts +20 -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 +252 -56
- package/src/user-client/services/channels/models/categories.ts +71 -0
- package/src/user-client/services/channels/models/channels.ts +51 -0
- package/src/user-client/services/channels/models/index.ts +3 -0
- package/src/user-client/services/channels/models/user-preferences.ts +47 -0
- 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
|
@@ -12,6 +12,15 @@ import {
|
|
|
12
12
|
apnsConfigPayloadRequest,
|
|
13
13
|
apnsConfigPayloadResponse,
|
|
14
14
|
} from './models/apns-config-payload.js';
|
|
15
|
+
import {
|
|
16
|
+
EventSourceConfigCollection,
|
|
17
|
+
eventSourceConfigCollectionResponse,
|
|
18
|
+
} from './models/event-source-config-collection.js';
|
|
19
|
+
import {
|
|
20
|
+
EventSourceConfigPayload,
|
|
21
|
+
eventSourceConfigPayloadRequest,
|
|
22
|
+
eventSourceConfigPayloadResponse,
|
|
23
|
+
} from './models/event-source-config-payload.js';
|
|
15
24
|
import { ExpoConfigCollection, expoConfigCollectionResponse } from './models/expo-config-collection.js';
|
|
16
25
|
import {
|
|
17
26
|
ExpoConfigPayload,
|
|
@@ -20,6 +29,12 @@ import {
|
|
|
20
29
|
} from './models/expo-config-payload.js';
|
|
21
30
|
import { FcmConfigCollection, fcmConfigCollectionResponse } from './models/fcm-config-collection.js';
|
|
22
31
|
import { FcmConfigPayload, fcmConfigPayloadRequest, fcmConfigPayloadResponse } from './models/fcm-config-payload.js';
|
|
32
|
+
import { GithubConfigCollection, githubConfigCollectionResponse } from './models/github-config-collection.js';
|
|
33
|
+
import {
|
|
34
|
+
GithubConfigPayload,
|
|
35
|
+
githubConfigPayloadRequest,
|
|
36
|
+
githubConfigPayloadResponse,
|
|
37
|
+
} from './models/github-config-payload.js';
|
|
23
38
|
import { InboxConfigCollection, inboxConfigCollectionResponse } from './models/inbox-config-collection.js';
|
|
24
39
|
import {
|
|
25
40
|
InboxConfigPayload,
|
|
@@ -50,12 +65,29 @@ import {
|
|
|
50
65
|
} from './models/sendgrid-config-payload.js';
|
|
51
66
|
import { SesConfigCollection, sesConfigCollectionResponse } from './models/ses-config-collection.js';
|
|
52
67
|
import { SesConfigPayload, sesConfigPayloadRequest, sesConfigPayloadResponse } from './models/ses-config-payload.js';
|
|
68
|
+
import { SlackBotConfigCollection, slackBotConfigCollectionResponse } from './models/slack-bot-config-collection.js';
|
|
69
|
+
import {
|
|
70
|
+
SlackBotConfigPayload,
|
|
71
|
+
slackBotConfigPayloadRequest,
|
|
72
|
+
slackBotConfigPayloadResponse,
|
|
73
|
+
} from './models/slack-bot-config-payload.js';
|
|
53
74
|
import { SlackConfigCollection, slackConfigCollectionResponse } from './models/slack-config-collection.js';
|
|
54
75
|
import {
|
|
55
76
|
SlackConfigPayload,
|
|
56
77
|
slackConfigPayloadRequest,
|
|
57
78
|
slackConfigPayloadResponse,
|
|
58
79
|
} from './models/slack-config-payload.js';
|
|
80
|
+
import { SmtpConfig, smtpConfigRequest, smtpConfigResponse } from './models/smtp-config.js';
|
|
81
|
+
import {
|
|
82
|
+
SmtpConfigObjectCollection,
|
|
83
|
+
smtpConfigObjectCollectionResponse,
|
|
84
|
+
} from './models/smtp-config-object-collection.js';
|
|
85
|
+
import { StripeConfigCollection, stripeConfigCollectionResponse } from './models/stripe-config-collection.js';
|
|
86
|
+
import {
|
|
87
|
+
StripeConfigPayload,
|
|
88
|
+
stripeConfigPayloadRequest,
|
|
89
|
+
stripeConfigPayloadResponse,
|
|
90
|
+
} from './models/stripe-config-payload.js';
|
|
59
91
|
import { TwilioConfigCollection, twilioConfigCollectionResponse } from './models/twilio-config-collection.js';
|
|
60
92
|
import {
|
|
61
93
|
TwilioConfigPayload,
|
|
@@ -70,14 +102,19 @@ import {
|
|
|
70
102
|
} from './models/webpush-config-payload.js';
|
|
71
103
|
import {
|
|
72
104
|
DeleteApnsIntegrationParams,
|
|
105
|
+
DeleteEventsourceIntegrationParams,
|
|
73
106
|
DeleteExpoIntegrationParams,
|
|
74
107
|
DeleteFcmIntegrationParams,
|
|
108
|
+
DeleteGithubIntegrationParams,
|
|
75
109
|
DeleteInboxIntegrationParams,
|
|
110
|
+
DeleteMagicbellSlackbotIntegrationParams,
|
|
76
111
|
DeleteMailgunIntegrationParams,
|
|
77
112
|
DeletePingEmailIntegrationParams,
|
|
78
113
|
DeleteSendgridIntegrationParams,
|
|
79
114
|
DeleteSesIntegrationParams,
|
|
80
115
|
DeleteSlackIntegrationParams,
|
|
116
|
+
DeleteSmtpIntegrationParams,
|
|
117
|
+
DeleteStripeIntegrationParams,
|
|
81
118
|
DeleteTwilioIntegrationParams,
|
|
82
119
|
DeleteWebPushIntegrationParams,
|
|
83
120
|
ListIntegrationsParams,
|
|
@@ -89,8 +126,8 @@ export class IntegrationsService extends BaseService {
|
|
|
89
126
|
* @param {number} [params.limit] -
|
|
90
127
|
* @param {string} [params.startingAfter] -
|
|
91
128
|
* @param {string} [params.endingBefore] -
|
|
92
|
-
* @param {RequestConfig} requestConfig -
|
|
93
|
-
* @returns {Promise<HttpResponse<IntegrationConfigCollection>>} OK
|
|
129
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
130
|
+
* @returns {Promise<HttpResponse<IntegrationConfigCollection>>} - OK
|
|
94
131
|
*/
|
|
95
132
|
async listIntegrations(
|
|
96
133
|
params?: ListIntegrationsParams,
|
|
@@ -130,8 +167,8 @@ export class IntegrationsService extends BaseService {
|
|
|
130
167
|
|
|
131
168
|
/**
|
|
132
169
|
* Retrieves the current APNs integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
133
|
-
* @param {RequestConfig} requestConfig -
|
|
134
|
-
* @returns {Promise<HttpResponse<ApnsConfigCollection>>} OK
|
|
170
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
171
|
+
* @returns {Promise<HttpResponse<ApnsConfigCollection>>} - OK
|
|
135
172
|
*/
|
|
136
173
|
async listApnsIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<ApnsConfigCollection>> {
|
|
137
174
|
const request = new RequestBuilder()
|
|
@@ -156,8 +193,8 @@ export class IntegrationsService extends BaseService {
|
|
|
156
193
|
|
|
157
194
|
/**
|
|
158
195
|
* Updates or creates the APNs integration for the project.
|
|
159
|
-
* @param {RequestConfig} requestConfig -
|
|
160
|
-
* @returns {Promise<HttpResponse<ApnsConfigPayload>>} OK
|
|
196
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
197
|
+
* @returns {Promise<HttpResponse<ApnsConfigPayload>>} - OK
|
|
161
198
|
*/
|
|
162
199
|
async saveApnsIntegration(
|
|
163
200
|
body: ApnsConfigPayload,
|
|
@@ -188,8 +225,8 @@ export class IntegrationsService extends BaseService {
|
|
|
188
225
|
/**
|
|
189
226
|
* Deletes the APNs integration configuration from the project. This will disable the integration's functionality within the project.
|
|
190
227
|
* @param {string} [params.id] -
|
|
191
|
-
* @param {RequestConfig} requestConfig -
|
|
192
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
228
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
229
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
193
230
|
*/
|
|
194
231
|
async deleteApnsIntegration(
|
|
195
232
|
params?: DeleteApnsIntegrationParams,
|
|
@@ -219,10 +256,101 @@ export class IntegrationsService extends BaseService {
|
|
|
219
256
|
return this.client.call<void>(request);
|
|
220
257
|
}
|
|
221
258
|
|
|
259
|
+
/**
|
|
260
|
+
* Retrieves the current EventSource integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
261
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
262
|
+
* @returns {Promise<HttpResponse<EventSourceConfigCollection>>} - OK
|
|
263
|
+
*/
|
|
264
|
+
async listEventsourceIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<EventSourceConfigCollection>> {
|
|
265
|
+
const request = new RequestBuilder()
|
|
266
|
+
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
267
|
+
.setConfig(this.config)
|
|
268
|
+
.setMethod('GET')
|
|
269
|
+
.setPath('/integrations/eventsource')
|
|
270
|
+
.setRequestSchema(z.any())
|
|
271
|
+
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
272
|
+
.setRequestContentType(ContentType.Json)
|
|
273
|
+
.addResponse({
|
|
274
|
+
schema: eventSourceConfigCollectionResponse,
|
|
275
|
+
contentType: ContentType.Json,
|
|
276
|
+
status: 200,
|
|
277
|
+
})
|
|
278
|
+
.setRetryAttempts(this.config, requestConfig)
|
|
279
|
+
.setRetryDelayMs(this.config, requestConfig)
|
|
280
|
+
.setResponseValidation(this.config, requestConfig)
|
|
281
|
+
.build();
|
|
282
|
+
return this.client.call<EventSourceConfigCollection>(request);
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
/**
|
|
286
|
+
* Updates or creates the EventSource integration for the project.
|
|
287
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
288
|
+
* @returns {Promise<HttpResponse<EventSourceConfigPayload>>} - OK
|
|
289
|
+
*/
|
|
290
|
+
async saveEventsourceIntegration(
|
|
291
|
+
body: EventSourceConfigPayload,
|
|
292
|
+
requestConfig?: RequestConfig,
|
|
293
|
+
): Promise<HttpResponse<EventSourceConfigPayload>> {
|
|
294
|
+
const request = new RequestBuilder()
|
|
295
|
+
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
296
|
+
.setConfig(this.config)
|
|
297
|
+
.setMethod('PUT')
|
|
298
|
+
.setPath('/integrations/eventsource')
|
|
299
|
+
.setRequestSchema(eventSourceConfigPayloadRequest)
|
|
300
|
+
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
301
|
+
.setRequestContentType(ContentType.Json)
|
|
302
|
+
.addResponse({
|
|
303
|
+
schema: eventSourceConfigPayloadResponse,
|
|
304
|
+
contentType: ContentType.Json,
|
|
305
|
+
status: 200,
|
|
306
|
+
})
|
|
307
|
+
.setRetryAttempts(this.config, requestConfig)
|
|
308
|
+
.setRetryDelayMs(this.config, requestConfig)
|
|
309
|
+
.setResponseValidation(this.config, requestConfig)
|
|
310
|
+
.addHeaderParam({ key: 'Content-Type', value: 'application/json' })
|
|
311
|
+
.addBody(body)
|
|
312
|
+
.build();
|
|
313
|
+
return this.client.call<EventSourceConfigPayload>(request);
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
/**
|
|
317
|
+
* Deletes the EventSource integration configuration from the project. This will disable the integration's functionality within the project.
|
|
318
|
+
* @param {string} [params.id] -
|
|
319
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
320
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
321
|
+
*/
|
|
322
|
+
async deleteEventsourceIntegration(
|
|
323
|
+
params?: DeleteEventsourceIntegrationParams,
|
|
324
|
+
requestConfig?: RequestConfig,
|
|
325
|
+
): Promise<HttpResponse<void>> {
|
|
326
|
+
const request = new RequestBuilder()
|
|
327
|
+
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
328
|
+
.setConfig(this.config)
|
|
329
|
+
.setMethod('DELETE')
|
|
330
|
+
.setPath('/integrations/eventsource')
|
|
331
|
+
.setRequestSchema(z.any())
|
|
332
|
+
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
333
|
+
.setRequestContentType(ContentType.Json)
|
|
334
|
+
.addResponse({
|
|
335
|
+
schema: z.undefined(),
|
|
336
|
+
contentType: ContentType.NoContent,
|
|
337
|
+
status: 204,
|
|
338
|
+
})
|
|
339
|
+
.setRetryAttempts(this.config, requestConfig)
|
|
340
|
+
.setRetryDelayMs(this.config, requestConfig)
|
|
341
|
+
.setResponseValidation(this.config, requestConfig)
|
|
342
|
+
.addQueryParam({
|
|
343
|
+
key: 'id',
|
|
344
|
+
value: params?.id,
|
|
345
|
+
})
|
|
346
|
+
.build();
|
|
347
|
+
return this.client.call<void>(request);
|
|
348
|
+
}
|
|
349
|
+
|
|
222
350
|
/**
|
|
223
351
|
* Retrieves the current Expo integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
224
|
-
* @param {RequestConfig} requestConfig -
|
|
225
|
-
* @returns {Promise<HttpResponse<ExpoConfigCollection>>} OK
|
|
352
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
353
|
+
* @returns {Promise<HttpResponse<ExpoConfigCollection>>} - OK
|
|
226
354
|
*/
|
|
227
355
|
async listExpoIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<ExpoConfigCollection>> {
|
|
228
356
|
const request = new RequestBuilder()
|
|
@@ -247,8 +375,8 @@ export class IntegrationsService extends BaseService {
|
|
|
247
375
|
|
|
248
376
|
/**
|
|
249
377
|
* Updates or creates the Expo integration for the project.
|
|
250
|
-
* @param {RequestConfig} requestConfig -
|
|
251
|
-
* @returns {Promise<HttpResponse<ExpoConfigPayload>>} OK
|
|
378
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
379
|
+
* @returns {Promise<HttpResponse<ExpoConfigPayload>>} - OK
|
|
252
380
|
*/
|
|
253
381
|
async saveExpoIntegration(
|
|
254
382
|
body: ExpoConfigPayload,
|
|
@@ -279,8 +407,8 @@ export class IntegrationsService extends BaseService {
|
|
|
279
407
|
/**
|
|
280
408
|
* Deletes the Expo integration configuration from the project. This will disable the integration's functionality within the project.
|
|
281
409
|
* @param {string} [params.id] -
|
|
282
|
-
* @param {RequestConfig} requestConfig -
|
|
283
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
410
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
411
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
284
412
|
*/
|
|
285
413
|
async deleteExpoIntegration(
|
|
286
414
|
params?: DeleteExpoIntegrationParams,
|
|
@@ -312,8 +440,8 @@ export class IntegrationsService extends BaseService {
|
|
|
312
440
|
|
|
313
441
|
/**
|
|
314
442
|
* Retrieves the current FCM integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
315
|
-
* @param {RequestConfig} requestConfig -
|
|
316
|
-
* @returns {Promise<HttpResponse<FcmConfigCollection>>} OK
|
|
443
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
444
|
+
* @returns {Promise<HttpResponse<FcmConfigCollection>>} - OK
|
|
317
445
|
*/
|
|
318
446
|
async listFcmIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<FcmConfigCollection>> {
|
|
319
447
|
const request = new RequestBuilder()
|
|
@@ -338,8 +466,8 @@ export class IntegrationsService extends BaseService {
|
|
|
338
466
|
|
|
339
467
|
/**
|
|
340
468
|
* Updates or creates the FCM integration for the project.
|
|
341
|
-
* @param {RequestConfig} requestConfig -
|
|
342
|
-
* @returns {Promise<HttpResponse<FcmConfigPayload>>} OK
|
|
469
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
470
|
+
* @returns {Promise<HttpResponse<FcmConfigPayload>>} - OK
|
|
343
471
|
*/
|
|
344
472
|
async saveFcmIntegration(
|
|
345
473
|
body: FcmConfigPayload,
|
|
@@ -370,8 +498,8 @@ export class IntegrationsService extends BaseService {
|
|
|
370
498
|
/**
|
|
371
499
|
* Deletes the FCM integration configuration from the project. This will disable the integration's functionality within the project.
|
|
372
500
|
* @param {string} [params.id] -
|
|
373
|
-
* @param {RequestConfig} requestConfig -
|
|
374
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
501
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
502
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
375
503
|
*/
|
|
376
504
|
async deleteFcmIntegration(
|
|
377
505
|
params?: DeleteFcmIntegrationParams,
|
|
@@ -401,10 +529,101 @@ export class IntegrationsService extends BaseService {
|
|
|
401
529
|
return this.client.call<void>(request);
|
|
402
530
|
}
|
|
403
531
|
|
|
532
|
+
/**
|
|
533
|
+
* Retrieves the current GitHub integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
534
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
535
|
+
* @returns {Promise<HttpResponse<GithubConfigCollection>>} - OK
|
|
536
|
+
*/
|
|
537
|
+
async listGithubIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<GithubConfigCollection>> {
|
|
538
|
+
const request = new RequestBuilder()
|
|
539
|
+
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
540
|
+
.setConfig(this.config)
|
|
541
|
+
.setMethod('GET')
|
|
542
|
+
.setPath('/integrations/github')
|
|
543
|
+
.setRequestSchema(z.any())
|
|
544
|
+
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
545
|
+
.setRequestContentType(ContentType.Json)
|
|
546
|
+
.addResponse({
|
|
547
|
+
schema: githubConfigCollectionResponse,
|
|
548
|
+
contentType: ContentType.Json,
|
|
549
|
+
status: 200,
|
|
550
|
+
})
|
|
551
|
+
.setRetryAttempts(this.config, requestConfig)
|
|
552
|
+
.setRetryDelayMs(this.config, requestConfig)
|
|
553
|
+
.setResponseValidation(this.config, requestConfig)
|
|
554
|
+
.build();
|
|
555
|
+
return this.client.call<GithubConfigCollection>(request);
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
/**
|
|
559
|
+
* Updates or creates the GitHub integration for the project.
|
|
560
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
561
|
+
* @returns {Promise<HttpResponse<GithubConfigPayload>>} - OK
|
|
562
|
+
*/
|
|
563
|
+
async saveGithubIntegration(
|
|
564
|
+
body: GithubConfigPayload,
|
|
565
|
+
requestConfig?: RequestConfig,
|
|
566
|
+
): Promise<HttpResponse<GithubConfigPayload>> {
|
|
567
|
+
const request = new RequestBuilder()
|
|
568
|
+
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
569
|
+
.setConfig(this.config)
|
|
570
|
+
.setMethod('PUT')
|
|
571
|
+
.setPath('/integrations/github')
|
|
572
|
+
.setRequestSchema(githubConfigPayloadRequest)
|
|
573
|
+
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
574
|
+
.setRequestContentType(ContentType.Json)
|
|
575
|
+
.addResponse({
|
|
576
|
+
schema: githubConfigPayloadResponse,
|
|
577
|
+
contentType: ContentType.Json,
|
|
578
|
+
status: 200,
|
|
579
|
+
})
|
|
580
|
+
.setRetryAttempts(this.config, requestConfig)
|
|
581
|
+
.setRetryDelayMs(this.config, requestConfig)
|
|
582
|
+
.setResponseValidation(this.config, requestConfig)
|
|
583
|
+
.addHeaderParam({ key: 'Content-Type', value: 'application/json' })
|
|
584
|
+
.addBody(body)
|
|
585
|
+
.build();
|
|
586
|
+
return this.client.call<GithubConfigPayload>(request);
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
/**
|
|
590
|
+
* Deletes the GitHub integration configuration from the project. This will disable the integration's functionality within the project.
|
|
591
|
+
* @param {string} [params.id] -
|
|
592
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
593
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
594
|
+
*/
|
|
595
|
+
async deleteGithubIntegration(
|
|
596
|
+
params?: DeleteGithubIntegrationParams,
|
|
597
|
+
requestConfig?: RequestConfig,
|
|
598
|
+
): Promise<HttpResponse<void>> {
|
|
599
|
+
const request = new RequestBuilder()
|
|
600
|
+
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
601
|
+
.setConfig(this.config)
|
|
602
|
+
.setMethod('DELETE')
|
|
603
|
+
.setPath('/integrations/github')
|
|
604
|
+
.setRequestSchema(z.any())
|
|
605
|
+
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
606
|
+
.setRequestContentType(ContentType.Json)
|
|
607
|
+
.addResponse({
|
|
608
|
+
schema: z.undefined(),
|
|
609
|
+
contentType: ContentType.NoContent,
|
|
610
|
+
status: 204,
|
|
611
|
+
})
|
|
612
|
+
.setRetryAttempts(this.config, requestConfig)
|
|
613
|
+
.setRetryDelayMs(this.config, requestConfig)
|
|
614
|
+
.setResponseValidation(this.config, requestConfig)
|
|
615
|
+
.addQueryParam({
|
|
616
|
+
key: 'id',
|
|
617
|
+
value: params?.id,
|
|
618
|
+
})
|
|
619
|
+
.build();
|
|
620
|
+
return this.client.call<void>(request);
|
|
621
|
+
}
|
|
622
|
+
|
|
404
623
|
/**
|
|
405
624
|
* Retrieves the current Inbox integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
406
|
-
* @param {RequestConfig} requestConfig -
|
|
407
|
-
* @returns {Promise<HttpResponse<InboxConfigCollection>>} OK
|
|
625
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
626
|
+
* @returns {Promise<HttpResponse<InboxConfigCollection>>} - OK
|
|
408
627
|
*/
|
|
409
628
|
async listInboxIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<InboxConfigCollection>> {
|
|
410
629
|
const request = new RequestBuilder()
|
|
@@ -429,8 +648,8 @@ export class IntegrationsService extends BaseService {
|
|
|
429
648
|
|
|
430
649
|
/**
|
|
431
650
|
* Updates or creates the Inbox integration for the project.
|
|
432
|
-
* @param {RequestConfig} requestConfig -
|
|
433
|
-
* @returns {Promise<HttpResponse<InboxConfigPayload>>} OK
|
|
651
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
652
|
+
* @returns {Promise<HttpResponse<InboxConfigPayload>>} - OK
|
|
434
653
|
*/
|
|
435
654
|
async saveInboxIntegration(
|
|
436
655
|
body: InboxConfigPayload,
|
|
@@ -461,8 +680,8 @@ export class IntegrationsService extends BaseService {
|
|
|
461
680
|
/**
|
|
462
681
|
* Deletes the Inbox integration configuration from the project. This will disable the integration's functionality within the project.
|
|
463
682
|
* @param {string} [params.id] -
|
|
464
|
-
* @param {RequestConfig} requestConfig -
|
|
465
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
683
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
684
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
466
685
|
*/
|
|
467
686
|
async deleteInboxIntegration(
|
|
468
687
|
params?: DeleteInboxIntegrationParams,
|
|
@@ -492,10 +711,103 @@ export class IntegrationsService extends BaseService {
|
|
|
492
711
|
return this.client.call<void>(request);
|
|
493
712
|
}
|
|
494
713
|
|
|
714
|
+
/**
|
|
715
|
+
* Retrieves the current MagicBell SlackBot integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
716
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
717
|
+
* @returns {Promise<HttpResponse<SlackBotConfigCollection>>} - OK
|
|
718
|
+
*/
|
|
719
|
+
async listMagicbellSlackbotIntegrations(
|
|
720
|
+
requestConfig?: RequestConfig,
|
|
721
|
+
): Promise<HttpResponse<SlackBotConfigCollection>> {
|
|
722
|
+
const request = new RequestBuilder()
|
|
723
|
+
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
724
|
+
.setConfig(this.config)
|
|
725
|
+
.setMethod('GET')
|
|
726
|
+
.setPath('/integrations/magicbell_slackbot')
|
|
727
|
+
.setRequestSchema(z.any())
|
|
728
|
+
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
729
|
+
.setRequestContentType(ContentType.Json)
|
|
730
|
+
.addResponse({
|
|
731
|
+
schema: slackBotConfigCollectionResponse,
|
|
732
|
+
contentType: ContentType.Json,
|
|
733
|
+
status: 200,
|
|
734
|
+
})
|
|
735
|
+
.setRetryAttempts(this.config, requestConfig)
|
|
736
|
+
.setRetryDelayMs(this.config, requestConfig)
|
|
737
|
+
.setResponseValidation(this.config, requestConfig)
|
|
738
|
+
.build();
|
|
739
|
+
return this.client.call<SlackBotConfigCollection>(request);
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
/**
|
|
743
|
+
* Updates or creates the MagicBell SlackBot integration for the project.
|
|
744
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
745
|
+
* @returns {Promise<HttpResponse<SlackBotConfigPayload>>} - OK
|
|
746
|
+
*/
|
|
747
|
+
async saveMagicbellSlackbotIntegration(
|
|
748
|
+
body: SlackBotConfigPayload,
|
|
749
|
+
requestConfig?: RequestConfig,
|
|
750
|
+
): Promise<HttpResponse<SlackBotConfigPayload>> {
|
|
751
|
+
const request = new RequestBuilder()
|
|
752
|
+
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
753
|
+
.setConfig(this.config)
|
|
754
|
+
.setMethod('PUT')
|
|
755
|
+
.setPath('/integrations/magicbell_slackbot')
|
|
756
|
+
.setRequestSchema(slackBotConfigPayloadRequest)
|
|
757
|
+
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
758
|
+
.setRequestContentType(ContentType.Json)
|
|
759
|
+
.addResponse({
|
|
760
|
+
schema: slackBotConfigPayloadResponse,
|
|
761
|
+
contentType: ContentType.Json,
|
|
762
|
+
status: 200,
|
|
763
|
+
})
|
|
764
|
+
.setRetryAttempts(this.config, requestConfig)
|
|
765
|
+
.setRetryDelayMs(this.config, requestConfig)
|
|
766
|
+
.setResponseValidation(this.config, requestConfig)
|
|
767
|
+
.addHeaderParam({ key: 'Content-Type', value: 'application/json' })
|
|
768
|
+
.addBody(body)
|
|
769
|
+
.build();
|
|
770
|
+
return this.client.call<SlackBotConfigPayload>(request);
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
/**
|
|
774
|
+
* Deletes the MagicBell SlackBot integration configuration from the project. This will disable the integration's functionality within the project.
|
|
775
|
+
* @param {string} [params.id] -
|
|
776
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
777
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
778
|
+
*/
|
|
779
|
+
async deleteMagicbellSlackbotIntegration(
|
|
780
|
+
params?: DeleteMagicbellSlackbotIntegrationParams,
|
|
781
|
+
requestConfig?: RequestConfig,
|
|
782
|
+
): Promise<HttpResponse<void>> {
|
|
783
|
+
const request = new RequestBuilder()
|
|
784
|
+
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
785
|
+
.setConfig(this.config)
|
|
786
|
+
.setMethod('DELETE')
|
|
787
|
+
.setPath('/integrations/magicbell_slackbot')
|
|
788
|
+
.setRequestSchema(z.any())
|
|
789
|
+
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
790
|
+
.setRequestContentType(ContentType.Json)
|
|
791
|
+
.addResponse({
|
|
792
|
+
schema: z.undefined(),
|
|
793
|
+
contentType: ContentType.NoContent,
|
|
794
|
+
status: 204,
|
|
795
|
+
})
|
|
796
|
+
.setRetryAttempts(this.config, requestConfig)
|
|
797
|
+
.setRetryDelayMs(this.config, requestConfig)
|
|
798
|
+
.setResponseValidation(this.config, requestConfig)
|
|
799
|
+
.addQueryParam({
|
|
800
|
+
key: 'id',
|
|
801
|
+
value: params?.id,
|
|
802
|
+
})
|
|
803
|
+
.build();
|
|
804
|
+
return this.client.call<void>(request);
|
|
805
|
+
}
|
|
806
|
+
|
|
495
807
|
/**
|
|
496
808
|
* Retrieves the current Mailgun integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
497
|
-
* @param {RequestConfig} requestConfig -
|
|
498
|
-
* @returns {Promise<HttpResponse<MailgunConfigCollection>>} OK
|
|
809
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
810
|
+
* @returns {Promise<HttpResponse<MailgunConfigCollection>>} - OK
|
|
499
811
|
*/
|
|
500
812
|
async listMailgunIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<MailgunConfigCollection>> {
|
|
501
813
|
const request = new RequestBuilder()
|
|
@@ -520,8 +832,8 @@ export class IntegrationsService extends BaseService {
|
|
|
520
832
|
|
|
521
833
|
/**
|
|
522
834
|
* Updates or creates the Mailgun integration for the project.
|
|
523
|
-
* @param {RequestConfig} requestConfig -
|
|
524
|
-
* @returns {Promise<HttpResponse<MailgunConfigPayload>>} OK
|
|
835
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
836
|
+
* @returns {Promise<HttpResponse<MailgunConfigPayload>>} - OK
|
|
525
837
|
*/
|
|
526
838
|
async saveMailgunIntegration(
|
|
527
839
|
body: MailgunConfigPayload,
|
|
@@ -552,8 +864,8 @@ export class IntegrationsService extends BaseService {
|
|
|
552
864
|
/**
|
|
553
865
|
* Deletes the Mailgun integration configuration from the project. This will disable the integration's functionality within the project.
|
|
554
866
|
* @param {string} [params.id] -
|
|
555
|
-
* @param {RequestConfig} requestConfig -
|
|
556
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
867
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
868
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
557
869
|
*/
|
|
558
870
|
async deleteMailgunIntegration(
|
|
559
871
|
params?: DeleteMailgunIntegrationParams,
|
|
@@ -585,8 +897,8 @@ export class IntegrationsService extends BaseService {
|
|
|
585
897
|
|
|
586
898
|
/**
|
|
587
899
|
* Retrieves the current Ping Email integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
588
|
-
* @param {RequestConfig} requestConfig -
|
|
589
|
-
* @returns {Promise<HttpResponse<PingConfigCollection>>} OK
|
|
900
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
901
|
+
* @returns {Promise<HttpResponse<PingConfigCollection>>} - OK
|
|
590
902
|
*/
|
|
591
903
|
async listPingEmailIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<PingConfigCollection>> {
|
|
592
904
|
const request = new RequestBuilder()
|
|
@@ -611,8 +923,8 @@ export class IntegrationsService extends BaseService {
|
|
|
611
923
|
|
|
612
924
|
/**
|
|
613
925
|
* Updates or creates the Ping Email integration for the project.
|
|
614
|
-
* @param {RequestConfig} requestConfig -
|
|
615
|
-
* @returns {Promise<HttpResponse<PingConfigPayload>>} OK
|
|
926
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
927
|
+
* @returns {Promise<HttpResponse<PingConfigPayload>>} - OK
|
|
616
928
|
*/
|
|
617
929
|
async savePingEmailIntegration(
|
|
618
930
|
body: PingConfigPayload,
|
|
@@ -643,8 +955,8 @@ export class IntegrationsService extends BaseService {
|
|
|
643
955
|
/**
|
|
644
956
|
* Deletes the Ping Email integration configuration from the project. This will disable the integration's functionality within the project.
|
|
645
957
|
* @param {string} [params.id] -
|
|
646
|
-
* @param {RequestConfig} requestConfig -
|
|
647
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
958
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
959
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
648
960
|
*/
|
|
649
961
|
async deletePingEmailIntegration(
|
|
650
962
|
params?: DeletePingEmailIntegrationParams,
|
|
@@ -676,8 +988,8 @@ export class IntegrationsService extends BaseService {
|
|
|
676
988
|
|
|
677
989
|
/**
|
|
678
990
|
* Retrieves the current SendGrid integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
679
|
-
* @param {RequestConfig} requestConfig -
|
|
680
|
-
* @returns {Promise<HttpResponse<SendgridConfigCollection>>} OK
|
|
991
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
992
|
+
* @returns {Promise<HttpResponse<SendgridConfigCollection>>} - OK
|
|
681
993
|
*/
|
|
682
994
|
async listSendgridIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<SendgridConfigCollection>> {
|
|
683
995
|
const request = new RequestBuilder()
|
|
@@ -702,8 +1014,8 @@ export class IntegrationsService extends BaseService {
|
|
|
702
1014
|
|
|
703
1015
|
/**
|
|
704
1016
|
* Updates or creates the SendGrid integration for the project.
|
|
705
|
-
* @param {RequestConfig} requestConfig -
|
|
706
|
-
* @returns {Promise<HttpResponse<SendgridConfigPayload>>} OK
|
|
1017
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
1018
|
+
* @returns {Promise<HttpResponse<SendgridConfigPayload>>} - OK
|
|
707
1019
|
*/
|
|
708
1020
|
async saveSendgridIntegration(
|
|
709
1021
|
body: SendgridConfigPayload,
|
|
@@ -734,8 +1046,8 @@ export class IntegrationsService extends BaseService {
|
|
|
734
1046
|
/**
|
|
735
1047
|
* Deletes the SendGrid integration configuration from the project. This will disable the integration's functionality within the project.
|
|
736
1048
|
* @param {string} [params.id] -
|
|
737
|
-
* @param {RequestConfig} requestConfig -
|
|
738
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
1049
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
1050
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
739
1051
|
*/
|
|
740
1052
|
async deleteSendgridIntegration(
|
|
741
1053
|
params?: DeleteSendgridIntegrationParams,
|
|
@@ -767,8 +1079,8 @@ export class IntegrationsService extends BaseService {
|
|
|
767
1079
|
|
|
768
1080
|
/**
|
|
769
1081
|
* Retrieves the current Amazon SES integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
770
|
-
* @param {RequestConfig} requestConfig -
|
|
771
|
-
* @returns {Promise<HttpResponse<SesConfigCollection>>} OK
|
|
1082
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
1083
|
+
* @returns {Promise<HttpResponse<SesConfigCollection>>} - OK
|
|
772
1084
|
*/
|
|
773
1085
|
async listSesIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<SesConfigCollection>> {
|
|
774
1086
|
const request = new RequestBuilder()
|
|
@@ -793,8 +1105,8 @@ export class IntegrationsService extends BaseService {
|
|
|
793
1105
|
|
|
794
1106
|
/**
|
|
795
1107
|
* Updates or creates the Amazon SES integration for the project.
|
|
796
|
-
* @param {RequestConfig} requestConfig -
|
|
797
|
-
* @returns {Promise<HttpResponse<SesConfigPayload>>} OK
|
|
1108
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
1109
|
+
* @returns {Promise<HttpResponse<SesConfigPayload>>} - OK
|
|
798
1110
|
*/
|
|
799
1111
|
async saveSesIntegration(
|
|
800
1112
|
body: SesConfigPayload,
|
|
@@ -825,8 +1137,8 @@ export class IntegrationsService extends BaseService {
|
|
|
825
1137
|
/**
|
|
826
1138
|
* Deletes the Amazon SES integration configuration from the project. This will disable the integration's functionality within the project.
|
|
827
1139
|
* @param {string} [params.id] -
|
|
828
|
-
* @param {RequestConfig} requestConfig -
|
|
829
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
1140
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
1141
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
830
1142
|
*/
|
|
831
1143
|
async deleteSesIntegration(
|
|
832
1144
|
params?: DeleteSesIntegrationParams,
|
|
@@ -858,8 +1170,8 @@ export class IntegrationsService extends BaseService {
|
|
|
858
1170
|
|
|
859
1171
|
/**
|
|
860
1172
|
* Retrieves the current Slack integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
861
|
-
* @param {RequestConfig} requestConfig -
|
|
862
|
-
* @returns {Promise<HttpResponse<SlackConfigCollection>>} OK
|
|
1173
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
1174
|
+
* @returns {Promise<HttpResponse<SlackConfigCollection>>} - OK
|
|
863
1175
|
*/
|
|
864
1176
|
async listSlackIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<SlackConfigCollection>> {
|
|
865
1177
|
const request = new RequestBuilder()
|
|
@@ -884,8 +1196,8 @@ export class IntegrationsService extends BaseService {
|
|
|
884
1196
|
|
|
885
1197
|
/**
|
|
886
1198
|
* Updates or creates the Slack integration for the project.
|
|
887
|
-
* @param {RequestConfig} requestConfig -
|
|
888
|
-
* @returns {Promise<HttpResponse<SlackConfigPayload>>} OK
|
|
1199
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
1200
|
+
* @returns {Promise<HttpResponse<SlackConfigPayload>>} - OK
|
|
889
1201
|
*/
|
|
890
1202
|
async saveSlackIntegration(
|
|
891
1203
|
body: SlackConfigPayload,
|
|
@@ -916,8 +1228,8 @@ export class IntegrationsService extends BaseService {
|
|
|
916
1228
|
/**
|
|
917
1229
|
* Deletes the Slack integration configuration from the project. This will disable the integration's functionality within the project.
|
|
918
1230
|
* @param {string} [params.id] -
|
|
919
|
-
* @param {RequestConfig} requestConfig -
|
|
920
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
1231
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
1232
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
921
1233
|
*/
|
|
922
1234
|
async deleteSlackIntegration(
|
|
923
1235
|
params?: DeleteSlackIntegrationParams,
|
|
@@ -947,10 +1259,189 @@ export class IntegrationsService extends BaseService {
|
|
|
947
1259
|
return this.client.call<void>(request);
|
|
948
1260
|
}
|
|
949
1261
|
|
|
1262
|
+
/**
|
|
1263
|
+
* Retrieves the current SMTP integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
1264
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
1265
|
+
* @returns {Promise<HttpResponse<SmtpConfigObjectCollection>>} - OK
|
|
1266
|
+
*/
|
|
1267
|
+
async listSmtpIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<SmtpConfigObjectCollection>> {
|
|
1268
|
+
const request = new RequestBuilder()
|
|
1269
|
+
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1270
|
+
.setConfig(this.config)
|
|
1271
|
+
.setMethod('GET')
|
|
1272
|
+
.setPath('/integrations/smtp')
|
|
1273
|
+
.setRequestSchema(z.any())
|
|
1274
|
+
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
1275
|
+
.setRequestContentType(ContentType.Json)
|
|
1276
|
+
.addResponse({
|
|
1277
|
+
schema: smtpConfigObjectCollectionResponse,
|
|
1278
|
+
contentType: ContentType.Json,
|
|
1279
|
+
status: 200,
|
|
1280
|
+
})
|
|
1281
|
+
.setRetryAttempts(this.config, requestConfig)
|
|
1282
|
+
.setRetryDelayMs(this.config, requestConfig)
|
|
1283
|
+
.setResponseValidation(this.config, requestConfig)
|
|
1284
|
+
.build();
|
|
1285
|
+
return this.client.call<SmtpConfigObjectCollection>(request);
|
|
1286
|
+
}
|
|
1287
|
+
|
|
1288
|
+
/**
|
|
1289
|
+
* Updates or creates the SMTP integration for the project.
|
|
1290
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
1291
|
+
* @returns {Promise<HttpResponse<SmtpConfig>>} - OK
|
|
1292
|
+
*/
|
|
1293
|
+
async saveSmtpIntegration(body: SmtpConfig, requestConfig?: RequestConfig): Promise<HttpResponse<SmtpConfig>> {
|
|
1294
|
+
const request = new RequestBuilder()
|
|
1295
|
+
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1296
|
+
.setConfig(this.config)
|
|
1297
|
+
.setMethod('PUT')
|
|
1298
|
+
.setPath('/integrations/smtp')
|
|
1299
|
+
.setRequestSchema(smtpConfigRequest)
|
|
1300
|
+
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
1301
|
+
.setRequestContentType(ContentType.Json)
|
|
1302
|
+
.addResponse({
|
|
1303
|
+
schema: smtpConfigResponse,
|
|
1304
|
+
contentType: ContentType.Json,
|
|
1305
|
+
status: 200,
|
|
1306
|
+
})
|
|
1307
|
+
.setRetryAttempts(this.config, requestConfig)
|
|
1308
|
+
.setRetryDelayMs(this.config, requestConfig)
|
|
1309
|
+
.setResponseValidation(this.config, requestConfig)
|
|
1310
|
+
.addHeaderParam({ key: 'Content-Type', value: 'application/json' })
|
|
1311
|
+
.addBody(body)
|
|
1312
|
+
.build();
|
|
1313
|
+
return this.client.call<SmtpConfig>(request);
|
|
1314
|
+
}
|
|
1315
|
+
|
|
1316
|
+
/**
|
|
1317
|
+
* Deletes the SMTP integration configuration from the project. This will disable the integration's functionality within the project.
|
|
1318
|
+
* @param {string} [params.id] -
|
|
1319
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
1320
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
1321
|
+
*/
|
|
1322
|
+
async deleteSmtpIntegration(
|
|
1323
|
+
params?: DeleteSmtpIntegrationParams,
|
|
1324
|
+
requestConfig?: RequestConfig,
|
|
1325
|
+
): Promise<HttpResponse<void>> {
|
|
1326
|
+
const request = new RequestBuilder()
|
|
1327
|
+
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1328
|
+
.setConfig(this.config)
|
|
1329
|
+
.setMethod('DELETE')
|
|
1330
|
+
.setPath('/integrations/smtp')
|
|
1331
|
+
.setRequestSchema(z.any())
|
|
1332
|
+
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
1333
|
+
.setRequestContentType(ContentType.Json)
|
|
1334
|
+
.addResponse({
|
|
1335
|
+
schema: z.undefined(),
|
|
1336
|
+
contentType: ContentType.NoContent,
|
|
1337
|
+
status: 204,
|
|
1338
|
+
})
|
|
1339
|
+
.setRetryAttempts(this.config, requestConfig)
|
|
1340
|
+
.setRetryDelayMs(this.config, requestConfig)
|
|
1341
|
+
.setResponseValidation(this.config, requestConfig)
|
|
1342
|
+
.addQueryParam({
|
|
1343
|
+
key: 'id',
|
|
1344
|
+
value: params?.id,
|
|
1345
|
+
})
|
|
1346
|
+
.build();
|
|
1347
|
+
return this.client.call<void>(request);
|
|
1348
|
+
}
|
|
1349
|
+
|
|
1350
|
+
/**
|
|
1351
|
+
* Retrieves the current Stripe integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
1352
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
1353
|
+
* @returns {Promise<HttpResponse<StripeConfigCollection>>} - OK
|
|
1354
|
+
*/
|
|
1355
|
+
async listStripeIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<StripeConfigCollection>> {
|
|
1356
|
+
const request = new RequestBuilder()
|
|
1357
|
+
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1358
|
+
.setConfig(this.config)
|
|
1359
|
+
.setMethod('GET')
|
|
1360
|
+
.setPath('/integrations/stripe')
|
|
1361
|
+
.setRequestSchema(z.any())
|
|
1362
|
+
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
1363
|
+
.setRequestContentType(ContentType.Json)
|
|
1364
|
+
.addResponse({
|
|
1365
|
+
schema: stripeConfigCollectionResponse,
|
|
1366
|
+
contentType: ContentType.Json,
|
|
1367
|
+
status: 200,
|
|
1368
|
+
})
|
|
1369
|
+
.setRetryAttempts(this.config, requestConfig)
|
|
1370
|
+
.setRetryDelayMs(this.config, requestConfig)
|
|
1371
|
+
.setResponseValidation(this.config, requestConfig)
|
|
1372
|
+
.build();
|
|
1373
|
+
return this.client.call<StripeConfigCollection>(request);
|
|
1374
|
+
}
|
|
1375
|
+
|
|
1376
|
+
/**
|
|
1377
|
+
* Updates or creates the Stripe integration for the project.
|
|
1378
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
1379
|
+
* @returns {Promise<HttpResponse<StripeConfigPayload>>} - OK
|
|
1380
|
+
*/
|
|
1381
|
+
async saveStripeIntegration(
|
|
1382
|
+
body: StripeConfigPayload,
|
|
1383
|
+
requestConfig?: RequestConfig,
|
|
1384
|
+
): Promise<HttpResponse<StripeConfigPayload>> {
|
|
1385
|
+
const request = new RequestBuilder()
|
|
1386
|
+
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1387
|
+
.setConfig(this.config)
|
|
1388
|
+
.setMethod('PUT')
|
|
1389
|
+
.setPath('/integrations/stripe')
|
|
1390
|
+
.setRequestSchema(stripeConfigPayloadRequest)
|
|
1391
|
+
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
1392
|
+
.setRequestContentType(ContentType.Json)
|
|
1393
|
+
.addResponse({
|
|
1394
|
+
schema: stripeConfigPayloadResponse,
|
|
1395
|
+
contentType: ContentType.Json,
|
|
1396
|
+
status: 200,
|
|
1397
|
+
})
|
|
1398
|
+
.setRetryAttempts(this.config, requestConfig)
|
|
1399
|
+
.setRetryDelayMs(this.config, requestConfig)
|
|
1400
|
+
.setResponseValidation(this.config, requestConfig)
|
|
1401
|
+
.addHeaderParam({ key: 'Content-Type', value: 'application/json' })
|
|
1402
|
+
.addBody(body)
|
|
1403
|
+
.build();
|
|
1404
|
+
return this.client.call<StripeConfigPayload>(request);
|
|
1405
|
+
}
|
|
1406
|
+
|
|
1407
|
+
/**
|
|
1408
|
+
* Deletes the Stripe integration configuration from the project. This will disable the integration's functionality within the project.
|
|
1409
|
+
* @param {string} [params.id] -
|
|
1410
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
1411
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
1412
|
+
*/
|
|
1413
|
+
async deleteStripeIntegration(
|
|
1414
|
+
params?: DeleteStripeIntegrationParams,
|
|
1415
|
+
requestConfig?: RequestConfig,
|
|
1416
|
+
): Promise<HttpResponse<void>> {
|
|
1417
|
+
const request = new RequestBuilder()
|
|
1418
|
+
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1419
|
+
.setConfig(this.config)
|
|
1420
|
+
.setMethod('DELETE')
|
|
1421
|
+
.setPath('/integrations/stripe')
|
|
1422
|
+
.setRequestSchema(z.any())
|
|
1423
|
+
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
1424
|
+
.setRequestContentType(ContentType.Json)
|
|
1425
|
+
.addResponse({
|
|
1426
|
+
schema: z.undefined(),
|
|
1427
|
+
contentType: ContentType.NoContent,
|
|
1428
|
+
status: 204,
|
|
1429
|
+
})
|
|
1430
|
+
.setRetryAttempts(this.config, requestConfig)
|
|
1431
|
+
.setRetryDelayMs(this.config, requestConfig)
|
|
1432
|
+
.setResponseValidation(this.config, requestConfig)
|
|
1433
|
+
.addQueryParam({
|
|
1434
|
+
key: 'id',
|
|
1435
|
+
value: params?.id,
|
|
1436
|
+
})
|
|
1437
|
+
.build();
|
|
1438
|
+
return this.client.call<void>(request);
|
|
1439
|
+
}
|
|
1440
|
+
|
|
950
1441
|
/**
|
|
951
1442
|
* Retrieves the current Twilio integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
952
|
-
* @param {RequestConfig} requestConfig -
|
|
953
|
-
* @returns {Promise<HttpResponse<TwilioConfigCollection>>} OK
|
|
1443
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
1444
|
+
* @returns {Promise<HttpResponse<TwilioConfigCollection>>} - OK
|
|
954
1445
|
*/
|
|
955
1446
|
async listTwilioIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<TwilioConfigCollection>> {
|
|
956
1447
|
const request = new RequestBuilder()
|
|
@@ -975,8 +1466,8 @@ export class IntegrationsService extends BaseService {
|
|
|
975
1466
|
|
|
976
1467
|
/**
|
|
977
1468
|
* Updates or creates the Twilio integration for the project.
|
|
978
|
-
* @param {RequestConfig} requestConfig -
|
|
979
|
-
* @returns {Promise<HttpResponse<TwilioConfigPayload>>} OK
|
|
1469
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
1470
|
+
* @returns {Promise<HttpResponse<TwilioConfigPayload>>} - OK
|
|
980
1471
|
*/
|
|
981
1472
|
async saveTwilioIntegration(
|
|
982
1473
|
body: TwilioConfigPayload,
|
|
@@ -1007,8 +1498,8 @@ export class IntegrationsService extends BaseService {
|
|
|
1007
1498
|
/**
|
|
1008
1499
|
* Deletes the Twilio integration configuration from the project. This will disable the integration's functionality within the project.
|
|
1009
1500
|
* @param {string} [params.id] -
|
|
1010
|
-
* @param {RequestConfig} requestConfig -
|
|
1011
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
1501
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
1502
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
1012
1503
|
*/
|
|
1013
1504
|
async deleteTwilioIntegration(
|
|
1014
1505
|
params?: DeleteTwilioIntegrationParams,
|
|
@@ -1040,8 +1531,8 @@ export class IntegrationsService extends BaseService {
|
|
|
1040
1531
|
|
|
1041
1532
|
/**
|
|
1042
1533
|
* Retrieves the current Web Push integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
1043
|
-
* @param {RequestConfig} requestConfig -
|
|
1044
|
-
* @returns {Promise<HttpResponse<WebpushConfigCollection>>} OK
|
|
1534
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
1535
|
+
* @returns {Promise<HttpResponse<WebpushConfigCollection>>} - OK
|
|
1045
1536
|
*/
|
|
1046
1537
|
async listWebPushIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<WebpushConfigCollection>> {
|
|
1047
1538
|
const request = new RequestBuilder()
|
|
@@ -1066,8 +1557,8 @@ export class IntegrationsService extends BaseService {
|
|
|
1066
1557
|
|
|
1067
1558
|
/**
|
|
1068
1559
|
* Updates or creates the Web Push integration for the project.
|
|
1069
|
-
* @param {RequestConfig} requestConfig -
|
|
1070
|
-
* @returns {Promise<HttpResponse<WebpushConfigPayload>>} OK
|
|
1560
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
1561
|
+
* @returns {Promise<HttpResponse<WebpushConfigPayload>>} - OK
|
|
1071
1562
|
*/
|
|
1072
1563
|
async saveWebPushIntegration(
|
|
1073
1564
|
body: WebpushConfigPayload,
|
|
@@ -1098,8 +1589,8 @@ export class IntegrationsService extends BaseService {
|
|
|
1098
1589
|
/**
|
|
1099
1590
|
* Deletes the Web Push integration configuration from the project. This will disable the integration's functionality within the project.
|
|
1100
1591
|
* @param {string} [params.id] -
|
|
1101
|
-
* @param {RequestConfig} requestConfig -
|
|
1102
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
1592
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
1593
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
1103
1594
|
*/
|
|
1104
1595
|
async deleteWebPushIntegration(
|
|
1105
1596
|
params?: DeleteWebPushIntegrationParams,
|