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
|
@@ -5,10 +5,14 @@ import { ContentType } from '../../http/types.js';
|
|
|
5
5
|
import { BaseService } from '../base-service.js';
|
|
6
6
|
import { apnsConfigCollectionResponse } from './models/apns-config-collection.js';
|
|
7
7
|
import { apnsConfigPayloadRequest, apnsConfigPayloadResponse, } from './models/apns-config-payload.js';
|
|
8
|
+
import { eventSourceConfigCollectionResponse, } from './models/event-source-config-collection.js';
|
|
9
|
+
import { eventSourceConfigPayloadRequest, eventSourceConfigPayloadResponse, } from './models/event-source-config-payload.js';
|
|
8
10
|
import { expoConfigCollectionResponse } from './models/expo-config-collection.js';
|
|
9
11
|
import { expoConfigPayloadRequest, expoConfigPayloadResponse, } from './models/expo-config-payload.js';
|
|
10
12
|
import { fcmConfigCollectionResponse } from './models/fcm-config-collection.js';
|
|
11
13
|
import { fcmConfigPayloadRequest, fcmConfigPayloadResponse } from './models/fcm-config-payload.js';
|
|
14
|
+
import { githubConfigCollectionResponse } from './models/github-config-collection.js';
|
|
15
|
+
import { githubConfigPayloadRequest, githubConfigPayloadResponse, } from './models/github-config-payload.js';
|
|
12
16
|
import { inboxConfigCollectionResponse } from './models/inbox-config-collection.js';
|
|
13
17
|
import { inboxConfigPayloadRequest, inboxConfigPayloadResponse, } from './models/inbox-config-payload.js';
|
|
14
18
|
import { integrationConfigCollectionResponse, } from './models/integration-config-collection.js';
|
|
@@ -20,8 +24,14 @@ import { sendgridConfigCollectionResponse } from './models/sendgrid-config-colle
|
|
|
20
24
|
import { sendgridConfigPayloadRequest, sendgridConfigPayloadResponse, } from './models/sendgrid-config-payload.js';
|
|
21
25
|
import { sesConfigCollectionResponse } from './models/ses-config-collection.js';
|
|
22
26
|
import { sesConfigPayloadRequest, sesConfigPayloadResponse } from './models/ses-config-payload.js';
|
|
27
|
+
import { slackBotConfigCollectionResponse } from './models/slack-bot-config-collection.js';
|
|
28
|
+
import { slackBotConfigPayloadRequest, slackBotConfigPayloadResponse, } from './models/slack-bot-config-payload.js';
|
|
23
29
|
import { slackConfigCollectionResponse } from './models/slack-config-collection.js';
|
|
24
30
|
import { slackConfigPayloadRequest, slackConfigPayloadResponse, } from './models/slack-config-payload.js';
|
|
31
|
+
import { smtpConfigRequest, smtpConfigResponse } from './models/smtp-config.js';
|
|
32
|
+
import { smtpConfigObjectCollectionResponse, } from './models/smtp-config-object-collection.js';
|
|
33
|
+
import { stripeConfigCollectionResponse } from './models/stripe-config-collection.js';
|
|
34
|
+
import { stripeConfigPayloadRequest, stripeConfigPayloadResponse, } from './models/stripe-config-payload.js';
|
|
25
35
|
import { twilioConfigCollectionResponse } from './models/twilio-config-collection.js';
|
|
26
36
|
import { twilioConfigPayloadRequest, twilioConfigPayloadResponse, } from './models/twilio-config-payload.js';
|
|
27
37
|
import { webpushConfigCollectionResponse } from './models/webpush-config-collection.js';
|
|
@@ -32,8 +42,8 @@ export class IntegrationsService extends BaseService {
|
|
|
32
42
|
* @param {number} [params.limit] -
|
|
33
43
|
* @param {string} [params.startingAfter] -
|
|
34
44
|
* @param {string} [params.endingBefore] -
|
|
35
|
-
* @param {RequestConfig} requestConfig -
|
|
36
|
-
* @returns {Promise<HttpResponse<IntegrationConfigCollection>>} OK
|
|
45
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
46
|
+
* @returns {Promise<HttpResponse<IntegrationConfigCollection>>} - OK
|
|
37
47
|
*/
|
|
38
48
|
async listIntegrations(params, requestConfig) {
|
|
39
49
|
const request = new RequestBuilder()
|
|
@@ -69,8 +79,8 @@ export class IntegrationsService extends BaseService {
|
|
|
69
79
|
}
|
|
70
80
|
/**
|
|
71
81
|
* Retrieves the current APNs integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
72
|
-
* @param {RequestConfig} requestConfig -
|
|
73
|
-
* @returns {Promise<HttpResponse<ApnsConfigCollection>>} OK
|
|
82
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
83
|
+
* @returns {Promise<HttpResponse<ApnsConfigCollection>>} - OK
|
|
74
84
|
*/
|
|
75
85
|
async listApnsIntegrations(requestConfig) {
|
|
76
86
|
const request = new RequestBuilder()
|
|
@@ -94,8 +104,8 @@ export class IntegrationsService extends BaseService {
|
|
|
94
104
|
}
|
|
95
105
|
/**
|
|
96
106
|
* Updates or creates the APNs integration for the project.
|
|
97
|
-
* @param {RequestConfig} requestConfig -
|
|
98
|
-
* @returns {Promise<HttpResponse<ApnsConfigPayload>>} OK
|
|
107
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
108
|
+
* @returns {Promise<HttpResponse<ApnsConfigPayload>>} - OK
|
|
99
109
|
*/
|
|
100
110
|
async saveApnsIntegration(body, requestConfig) {
|
|
101
111
|
const request = new RequestBuilder()
|
|
@@ -122,8 +132,8 @@ export class IntegrationsService extends BaseService {
|
|
|
122
132
|
/**
|
|
123
133
|
* Deletes the APNs integration configuration from the project. This will disable the integration's functionality within the project.
|
|
124
134
|
* @param {string} [params.id] -
|
|
125
|
-
* @param {RequestConfig} requestConfig -
|
|
126
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
135
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
136
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
127
137
|
*/
|
|
128
138
|
async deleteApnsIntegration(params, requestConfig) {
|
|
129
139
|
const request = new RequestBuilder()
|
|
@@ -149,10 +159,92 @@ export class IntegrationsService extends BaseService {
|
|
|
149
159
|
.build();
|
|
150
160
|
return this.client.call(request);
|
|
151
161
|
}
|
|
162
|
+
/**
|
|
163
|
+
* Retrieves the current EventSource integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
164
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
165
|
+
* @returns {Promise<HttpResponse<EventSourceConfigCollection>>} - OK
|
|
166
|
+
*/
|
|
167
|
+
async listEventsourceIntegrations(requestConfig) {
|
|
168
|
+
const request = new RequestBuilder()
|
|
169
|
+
.setBaseUrl((requestConfig === null || requestConfig === void 0 ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
170
|
+
.setConfig(this.config)
|
|
171
|
+
.setMethod('GET')
|
|
172
|
+
.setPath('/integrations/eventsource')
|
|
173
|
+
.setRequestSchema(z.any())
|
|
174
|
+
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
175
|
+
.setRequestContentType(ContentType.Json)
|
|
176
|
+
.addResponse({
|
|
177
|
+
schema: eventSourceConfigCollectionResponse,
|
|
178
|
+
contentType: ContentType.Json,
|
|
179
|
+
status: 200,
|
|
180
|
+
})
|
|
181
|
+
.setRetryAttempts(this.config, requestConfig)
|
|
182
|
+
.setRetryDelayMs(this.config, requestConfig)
|
|
183
|
+
.setResponseValidation(this.config, requestConfig)
|
|
184
|
+
.build();
|
|
185
|
+
return this.client.call(request);
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* Updates or creates the EventSource integration for the project.
|
|
189
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
190
|
+
* @returns {Promise<HttpResponse<EventSourceConfigPayload>>} - OK
|
|
191
|
+
*/
|
|
192
|
+
async saveEventsourceIntegration(body, requestConfig) {
|
|
193
|
+
const request = new RequestBuilder()
|
|
194
|
+
.setBaseUrl((requestConfig === null || requestConfig === void 0 ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
195
|
+
.setConfig(this.config)
|
|
196
|
+
.setMethod('PUT')
|
|
197
|
+
.setPath('/integrations/eventsource')
|
|
198
|
+
.setRequestSchema(eventSourceConfigPayloadRequest)
|
|
199
|
+
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
200
|
+
.setRequestContentType(ContentType.Json)
|
|
201
|
+
.addResponse({
|
|
202
|
+
schema: eventSourceConfigPayloadResponse,
|
|
203
|
+
contentType: ContentType.Json,
|
|
204
|
+
status: 200,
|
|
205
|
+
})
|
|
206
|
+
.setRetryAttempts(this.config, requestConfig)
|
|
207
|
+
.setRetryDelayMs(this.config, requestConfig)
|
|
208
|
+
.setResponseValidation(this.config, requestConfig)
|
|
209
|
+
.addHeaderParam({ key: 'Content-Type', value: 'application/json' })
|
|
210
|
+
.addBody(body)
|
|
211
|
+
.build();
|
|
212
|
+
return this.client.call(request);
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* Deletes the EventSource integration configuration from the project. This will disable the integration's functionality within the project.
|
|
216
|
+
* @param {string} [params.id] -
|
|
217
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
218
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
219
|
+
*/
|
|
220
|
+
async deleteEventsourceIntegration(params, requestConfig) {
|
|
221
|
+
const request = new RequestBuilder()
|
|
222
|
+
.setBaseUrl((requestConfig === null || requestConfig === void 0 ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
223
|
+
.setConfig(this.config)
|
|
224
|
+
.setMethod('DELETE')
|
|
225
|
+
.setPath('/integrations/eventsource')
|
|
226
|
+
.setRequestSchema(z.any())
|
|
227
|
+
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
228
|
+
.setRequestContentType(ContentType.Json)
|
|
229
|
+
.addResponse({
|
|
230
|
+
schema: z.undefined(),
|
|
231
|
+
contentType: ContentType.NoContent,
|
|
232
|
+
status: 204,
|
|
233
|
+
})
|
|
234
|
+
.setRetryAttempts(this.config, requestConfig)
|
|
235
|
+
.setRetryDelayMs(this.config, requestConfig)
|
|
236
|
+
.setResponseValidation(this.config, requestConfig)
|
|
237
|
+
.addQueryParam({
|
|
238
|
+
key: 'id',
|
|
239
|
+
value: params === null || params === void 0 ? void 0 : params.id,
|
|
240
|
+
})
|
|
241
|
+
.build();
|
|
242
|
+
return this.client.call(request);
|
|
243
|
+
}
|
|
152
244
|
/**
|
|
153
245
|
* Retrieves the current Expo integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
154
|
-
* @param {RequestConfig} requestConfig -
|
|
155
|
-
* @returns {Promise<HttpResponse<ExpoConfigCollection>>} OK
|
|
246
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
247
|
+
* @returns {Promise<HttpResponse<ExpoConfigCollection>>} - OK
|
|
156
248
|
*/
|
|
157
249
|
async listExpoIntegrations(requestConfig) {
|
|
158
250
|
const request = new RequestBuilder()
|
|
@@ -176,8 +268,8 @@ export class IntegrationsService extends BaseService {
|
|
|
176
268
|
}
|
|
177
269
|
/**
|
|
178
270
|
* Updates or creates the Expo integration for the project.
|
|
179
|
-
* @param {RequestConfig} requestConfig -
|
|
180
|
-
* @returns {Promise<HttpResponse<ExpoConfigPayload>>} OK
|
|
271
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
272
|
+
* @returns {Promise<HttpResponse<ExpoConfigPayload>>} - OK
|
|
181
273
|
*/
|
|
182
274
|
async saveExpoIntegration(body, requestConfig) {
|
|
183
275
|
const request = new RequestBuilder()
|
|
@@ -204,8 +296,8 @@ export class IntegrationsService extends BaseService {
|
|
|
204
296
|
/**
|
|
205
297
|
* Deletes the Expo integration configuration from the project. This will disable the integration's functionality within the project.
|
|
206
298
|
* @param {string} [params.id] -
|
|
207
|
-
* @param {RequestConfig} requestConfig -
|
|
208
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
299
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
300
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
209
301
|
*/
|
|
210
302
|
async deleteExpoIntegration(params, requestConfig) {
|
|
211
303
|
const request = new RequestBuilder()
|
|
@@ -233,8 +325,8 @@ export class IntegrationsService extends BaseService {
|
|
|
233
325
|
}
|
|
234
326
|
/**
|
|
235
327
|
* Retrieves the current FCM integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
236
|
-
* @param {RequestConfig} requestConfig -
|
|
237
|
-
* @returns {Promise<HttpResponse<FcmConfigCollection>>} OK
|
|
328
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
329
|
+
* @returns {Promise<HttpResponse<FcmConfigCollection>>} - OK
|
|
238
330
|
*/
|
|
239
331
|
async listFcmIntegrations(requestConfig) {
|
|
240
332
|
const request = new RequestBuilder()
|
|
@@ -258,8 +350,8 @@ export class IntegrationsService extends BaseService {
|
|
|
258
350
|
}
|
|
259
351
|
/**
|
|
260
352
|
* Updates or creates the FCM integration for the project.
|
|
261
|
-
* @param {RequestConfig} requestConfig -
|
|
262
|
-
* @returns {Promise<HttpResponse<FcmConfigPayload>>} OK
|
|
353
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
354
|
+
* @returns {Promise<HttpResponse<FcmConfigPayload>>} - OK
|
|
263
355
|
*/
|
|
264
356
|
async saveFcmIntegration(body, requestConfig) {
|
|
265
357
|
const request = new RequestBuilder()
|
|
@@ -286,8 +378,8 @@ export class IntegrationsService extends BaseService {
|
|
|
286
378
|
/**
|
|
287
379
|
* Deletes the FCM integration configuration from the project. This will disable the integration's functionality within the project.
|
|
288
380
|
* @param {string} [params.id] -
|
|
289
|
-
* @param {RequestConfig} requestConfig -
|
|
290
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
381
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
382
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
291
383
|
*/
|
|
292
384
|
async deleteFcmIntegration(params, requestConfig) {
|
|
293
385
|
const request = new RequestBuilder()
|
|
@@ -313,10 +405,92 @@ export class IntegrationsService extends BaseService {
|
|
|
313
405
|
.build();
|
|
314
406
|
return this.client.call(request);
|
|
315
407
|
}
|
|
408
|
+
/**
|
|
409
|
+
* Retrieves the current GitHub integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
410
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
411
|
+
* @returns {Promise<HttpResponse<GithubConfigCollection>>} - OK
|
|
412
|
+
*/
|
|
413
|
+
async listGithubIntegrations(requestConfig) {
|
|
414
|
+
const request = new RequestBuilder()
|
|
415
|
+
.setBaseUrl((requestConfig === null || requestConfig === void 0 ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
416
|
+
.setConfig(this.config)
|
|
417
|
+
.setMethod('GET')
|
|
418
|
+
.setPath('/integrations/github')
|
|
419
|
+
.setRequestSchema(z.any())
|
|
420
|
+
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
421
|
+
.setRequestContentType(ContentType.Json)
|
|
422
|
+
.addResponse({
|
|
423
|
+
schema: githubConfigCollectionResponse,
|
|
424
|
+
contentType: ContentType.Json,
|
|
425
|
+
status: 200,
|
|
426
|
+
})
|
|
427
|
+
.setRetryAttempts(this.config, requestConfig)
|
|
428
|
+
.setRetryDelayMs(this.config, requestConfig)
|
|
429
|
+
.setResponseValidation(this.config, requestConfig)
|
|
430
|
+
.build();
|
|
431
|
+
return this.client.call(request);
|
|
432
|
+
}
|
|
433
|
+
/**
|
|
434
|
+
* Updates or creates the GitHub integration for the project.
|
|
435
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
436
|
+
* @returns {Promise<HttpResponse<GithubConfigPayload>>} - OK
|
|
437
|
+
*/
|
|
438
|
+
async saveGithubIntegration(body, requestConfig) {
|
|
439
|
+
const request = new RequestBuilder()
|
|
440
|
+
.setBaseUrl((requestConfig === null || requestConfig === void 0 ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
441
|
+
.setConfig(this.config)
|
|
442
|
+
.setMethod('PUT')
|
|
443
|
+
.setPath('/integrations/github')
|
|
444
|
+
.setRequestSchema(githubConfigPayloadRequest)
|
|
445
|
+
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
446
|
+
.setRequestContentType(ContentType.Json)
|
|
447
|
+
.addResponse({
|
|
448
|
+
schema: githubConfigPayloadResponse,
|
|
449
|
+
contentType: ContentType.Json,
|
|
450
|
+
status: 200,
|
|
451
|
+
})
|
|
452
|
+
.setRetryAttempts(this.config, requestConfig)
|
|
453
|
+
.setRetryDelayMs(this.config, requestConfig)
|
|
454
|
+
.setResponseValidation(this.config, requestConfig)
|
|
455
|
+
.addHeaderParam({ key: 'Content-Type', value: 'application/json' })
|
|
456
|
+
.addBody(body)
|
|
457
|
+
.build();
|
|
458
|
+
return this.client.call(request);
|
|
459
|
+
}
|
|
460
|
+
/**
|
|
461
|
+
* Deletes the GitHub integration configuration from the project. This will disable the integration's functionality within the project.
|
|
462
|
+
* @param {string} [params.id] -
|
|
463
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
464
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
465
|
+
*/
|
|
466
|
+
async deleteGithubIntegration(params, requestConfig) {
|
|
467
|
+
const request = new RequestBuilder()
|
|
468
|
+
.setBaseUrl((requestConfig === null || requestConfig === void 0 ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
469
|
+
.setConfig(this.config)
|
|
470
|
+
.setMethod('DELETE')
|
|
471
|
+
.setPath('/integrations/github')
|
|
472
|
+
.setRequestSchema(z.any())
|
|
473
|
+
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
474
|
+
.setRequestContentType(ContentType.Json)
|
|
475
|
+
.addResponse({
|
|
476
|
+
schema: z.undefined(),
|
|
477
|
+
contentType: ContentType.NoContent,
|
|
478
|
+
status: 204,
|
|
479
|
+
})
|
|
480
|
+
.setRetryAttempts(this.config, requestConfig)
|
|
481
|
+
.setRetryDelayMs(this.config, requestConfig)
|
|
482
|
+
.setResponseValidation(this.config, requestConfig)
|
|
483
|
+
.addQueryParam({
|
|
484
|
+
key: 'id',
|
|
485
|
+
value: params === null || params === void 0 ? void 0 : params.id,
|
|
486
|
+
})
|
|
487
|
+
.build();
|
|
488
|
+
return this.client.call(request);
|
|
489
|
+
}
|
|
316
490
|
/**
|
|
317
491
|
* Retrieves the current Inbox integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
318
|
-
* @param {RequestConfig} requestConfig -
|
|
319
|
-
* @returns {Promise<HttpResponse<InboxConfigCollection>>} OK
|
|
492
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
493
|
+
* @returns {Promise<HttpResponse<InboxConfigCollection>>} - OK
|
|
320
494
|
*/
|
|
321
495
|
async listInboxIntegrations(requestConfig) {
|
|
322
496
|
const request = new RequestBuilder()
|
|
@@ -340,8 +514,8 @@ export class IntegrationsService extends BaseService {
|
|
|
340
514
|
}
|
|
341
515
|
/**
|
|
342
516
|
* Updates or creates the Inbox integration for the project.
|
|
343
|
-
* @param {RequestConfig} requestConfig -
|
|
344
|
-
* @returns {Promise<HttpResponse<InboxConfigPayload>>} OK
|
|
517
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
518
|
+
* @returns {Promise<HttpResponse<InboxConfigPayload>>} - OK
|
|
345
519
|
*/
|
|
346
520
|
async saveInboxIntegration(body, requestConfig) {
|
|
347
521
|
const request = new RequestBuilder()
|
|
@@ -368,8 +542,8 @@ export class IntegrationsService extends BaseService {
|
|
|
368
542
|
/**
|
|
369
543
|
* Deletes the Inbox integration configuration from the project. This will disable the integration's functionality within the project.
|
|
370
544
|
* @param {string} [params.id] -
|
|
371
|
-
* @param {RequestConfig} requestConfig -
|
|
372
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
545
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
546
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
373
547
|
*/
|
|
374
548
|
async deleteInboxIntegration(params, requestConfig) {
|
|
375
549
|
const request = new RequestBuilder()
|
|
@@ -395,10 +569,92 @@ export class IntegrationsService extends BaseService {
|
|
|
395
569
|
.build();
|
|
396
570
|
return this.client.call(request);
|
|
397
571
|
}
|
|
572
|
+
/**
|
|
573
|
+
* Retrieves the current MagicBell SlackBot integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
574
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
575
|
+
* @returns {Promise<HttpResponse<SlackBotConfigCollection>>} - OK
|
|
576
|
+
*/
|
|
577
|
+
async listMagicbellSlackbotIntegrations(requestConfig) {
|
|
578
|
+
const request = new RequestBuilder()
|
|
579
|
+
.setBaseUrl((requestConfig === null || requestConfig === void 0 ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
580
|
+
.setConfig(this.config)
|
|
581
|
+
.setMethod('GET')
|
|
582
|
+
.setPath('/integrations/magicbell_slackbot')
|
|
583
|
+
.setRequestSchema(z.any())
|
|
584
|
+
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
585
|
+
.setRequestContentType(ContentType.Json)
|
|
586
|
+
.addResponse({
|
|
587
|
+
schema: slackBotConfigCollectionResponse,
|
|
588
|
+
contentType: ContentType.Json,
|
|
589
|
+
status: 200,
|
|
590
|
+
})
|
|
591
|
+
.setRetryAttempts(this.config, requestConfig)
|
|
592
|
+
.setRetryDelayMs(this.config, requestConfig)
|
|
593
|
+
.setResponseValidation(this.config, requestConfig)
|
|
594
|
+
.build();
|
|
595
|
+
return this.client.call(request);
|
|
596
|
+
}
|
|
597
|
+
/**
|
|
598
|
+
* Updates or creates the MagicBell SlackBot integration for the project.
|
|
599
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
600
|
+
* @returns {Promise<HttpResponse<SlackBotConfigPayload>>} - OK
|
|
601
|
+
*/
|
|
602
|
+
async saveMagicbellSlackbotIntegration(body, requestConfig) {
|
|
603
|
+
const request = new RequestBuilder()
|
|
604
|
+
.setBaseUrl((requestConfig === null || requestConfig === void 0 ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
605
|
+
.setConfig(this.config)
|
|
606
|
+
.setMethod('PUT')
|
|
607
|
+
.setPath('/integrations/magicbell_slackbot')
|
|
608
|
+
.setRequestSchema(slackBotConfigPayloadRequest)
|
|
609
|
+
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
610
|
+
.setRequestContentType(ContentType.Json)
|
|
611
|
+
.addResponse({
|
|
612
|
+
schema: slackBotConfigPayloadResponse,
|
|
613
|
+
contentType: ContentType.Json,
|
|
614
|
+
status: 200,
|
|
615
|
+
})
|
|
616
|
+
.setRetryAttempts(this.config, requestConfig)
|
|
617
|
+
.setRetryDelayMs(this.config, requestConfig)
|
|
618
|
+
.setResponseValidation(this.config, requestConfig)
|
|
619
|
+
.addHeaderParam({ key: 'Content-Type', value: 'application/json' })
|
|
620
|
+
.addBody(body)
|
|
621
|
+
.build();
|
|
622
|
+
return this.client.call(request);
|
|
623
|
+
}
|
|
624
|
+
/**
|
|
625
|
+
* Deletes the MagicBell SlackBot integration configuration from the project. This will disable the integration's functionality within the project.
|
|
626
|
+
* @param {string} [params.id] -
|
|
627
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
628
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
629
|
+
*/
|
|
630
|
+
async deleteMagicbellSlackbotIntegration(params, requestConfig) {
|
|
631
|
+
const request = new RequestBuilder()
|
|
632
|
+
.setBaseUrl((requestConfig === null || requestConfig === void 0 ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
633
|
+
.setConfig(this.config)
|
|
634
|
+
.setMethod('DELETE')
|
|
635
|
+
.setPath('/integrations/magicbell_slackbot')
|
|
636
|
+
.setRequestSchema(z.any())
|
|
637
|
+
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
638
|
+
.setRequestContentType(ContentType.Json)
|
|
639
|
+
.addResponse({
|
|
640
|
+
schema: z.undefined(),
|
|
641
|
+
contentType: ContentType.NoContent,
|
|
642
|
+
status: 204,
|
|
643
|
+
})
|
|
644
|
+
.setRetryAttempts(this.config, requestConfig)
|
|
645
|
+
.setRetryDelayMs(this.config, requestConfig)
|
|
646
|
+
.setResponseValidation(this.config, requestConfig)
|
|
647
|
+
.addQueryParam({
|
|
648
|
+
key: 'id',
|
|
649
|
+
value: params === null || params === void 0 ? void 0 : params.id,
|
|
650
|
+
})
|
|
651
|
+
.build();
|
|
652
|
+
return this.client.call(request);
|
|
653
|
+
}
|
|
398
654
|
/**
|
|
399
655
|
* Retrieves the current Mailgun integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
400
|
-
* @param {RequestConfig} requestConfig -
|
|
401
|
-
* @returns {Promise<HttpResponse<MailgunConfigCollection>>} OK
|
|
656
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
657
|
+
* @returns {Promise<HttpResponse<MailgunConfigCollection>>} - OK
|
|
402
658
|
*/
|
|
403
659
|
async listMailgunIntegrations(requestConfig) {
|
|
404
660
|
const request = new RequestBuilder()
|
|
@@ -422,8 +678,8 @@ export class IntegrationsService extends BaseService {
|
|
|
422
678
|
}
|
|
423
679
|
/**
|
|
424
680
|
* Updates or creates the Mailgun integration for the project.
|
|
425
|
-
* @param {RequestConfig} requestConfig -
|
|
426
|
-
* @returns {Promise<HttpResponse<MailgunConfigPayload>>} OK
|
|
681
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
682
|
+
* @returns {Promise<HttpResponse<MailgunConfigPayload>>} - OK
|
|
427
683
|
*/
|
|
428
684
|
async saveMailgunIntegration(body, requestConfig) {
|
|
429
685
|
const request = new RequestBuilder()
|
|
@@ -450,8 +706,8 @@ export class IntegrationsService extends BaseService {
|
|
|
450
706
|
/**
|
|
451
707
|
* Deletes the Mailgun integration configuration from the project. This will disable the integration's functionality within the project.
|
|
452
708
|
* @param {string} [params.id] -
|
|
453
|
-
* @param {RequestConfig} requestConfig -
|
|
454
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
709
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
710
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
455
711
|
*/
|
|
456
712
|
async deleteMailgunIntegration(params, requestConfig) {
|
|
457
713
|
const request = new RequestBuilder()
|
|
@@ -479,8 +735,8 @@ export class IntegrationsService extends BaseService {
|
|
|
479
735
|
}
|
|
480
736
|
/**
|
|
481
737
|
* Retrieves the current Ping Email integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
482
|
-
* @param {RequestConfig} requestConfig -
|
|
483
|
-
* @returns {Promise<HttpResponse<PingConfigCollection>>} OK
|
|
738
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
739
|
+
* @returns {Promise<HttpResponse<PingConfigCollection>>} - OK
|
|
484
740
|
*/
|
|
485
741
|
async listPingEmailIntegrations(requestConfig) {
|
|
486
742
|
const request = new RequestBuilder()
|
|
@@ -504,8 +760,8 @@ export class IntegrationsService extends BaseService {
|
|
|
504
760
|
}
|
|
505
761
|
/**
|
|
506
762
|
* Updates or creates the Ping Email integration for the project.
|
|
507
|
-
* @param {RequestConfig} requestConfig -
|
|
508
|
-
* @returns {Promise<HttpResponse<PingConfigPayload>>} OK
|
|
763
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
764
|
+
* @returns {Promise<HttpResponse<PingConfigPayload>>} - OK
|
|
509
765
|
*/
|
|
510
766
|
async savePingEmailIntegration(body, requestConfig) {
|
|
511
767
|
const request = new RequestBuilder()
|
|
@@ -532,8 +788,8 @@ export class IntegrationsService extends BaseService {
|
|
|
532
788
|
/**
|
|
533
789
|
* Deletes the Ping Email integration configuration from the project. This will disable the integration's functionality within the project.
|
|
534
790
|
* @param {string} [params.id] -
|
|
535
|
-
* @param {RequestConfig} requestConfig -
|
|
536
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
791
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
792
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
537
793
|
*/
|
|
538
794
|
async deletePingEmailIntegration(params, requestConfig) {
|
|
539
795
|
const request = new RequestBuilder()
|
|
@@ -561,8 +817,8 @@ export class IntegrationsService extends BaseService {
|
|
|
561
817
|
}
|
|
562
818
|
/**
|
|
563
819
|
* Retrieves the current SendGrid integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
564
|
-
* @param {RequestConfig} requestConfig -
|
|
565
|
-
* @returns {Promise<HttpResponse<SendgridConfigCollection>>} OK
|
|
820
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
821
|
+
* @returns {Promise<HttpResponse<SendgridConfigCollection>>} - OK
|
|
566
822
|
*/
|
|
567
823
|
async listSendgridIntegrations(requestConfig) {
|
|
568
824
|
const request = new RequestBuilder()
|
|
@@ -586,8 +842,8 @@ export class IntegrationsService extends BaseService {
|
|
|
586
842
|
}
|
|
587
843
|
/**
|
|
588
844
|
* Updates or creates the SendGrid integration for the project.
|
|
589
|
-
* @param {RequestConfig} requestConfig -
|
|
590
|
-
* @returns {Promise<HttpResponse<SendgridConfigPayload>>} OK
|
|
845
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
846
|
+
* @returns {Promise<HttpResponse<SendgridConfigPayload>>} - OK
|
|
591
847
|
*/
|
|
592
848
|
async saveSendgridIntegration(body, requestConfig) {
|
|
593
849
|
const request = new RequestBuilder()
|
|
@@ -614,8 +870,8 @@ export class IntegrationsService extends BaseService {
|
|
|
614
870
|
/**
|
|
615
871
|
* Deletes the SendGrid integration configuration from the project. This will disable the integration's functionality within the project.
|
|
616
872
|
* @param {string} [params.id] -
|
|
617
|
-
* @param {RequestConfig} requestConfig -
|
|
618
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
873
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
874
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
619
875
|
*/
|
|
620
876
|
async deleteSendgridIntegration(params, requestConfig) {
|
|
621
877
|
const request = new RequestBuilder()
|
|
@@ -643,8 +899,8 @@ export class IntegrationsService extends BaseService {
|
|
|
643
899
|
}
|
|
644
900
|
/**
|
|
645
901
|
* Retrieves the current Amazon SES integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
646
|
-
* @param {RequestConfig} requestConfig -
|
|
647
|
-
* @returns {Promise<HttpResponse<SesConfigCollection>>} OK
|
|
902
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
903
|
+
* @returns {Promise<HttpResponse<SesConfigCollection>>} - OK
|
|
648
904
|
*/
|
|
649
905
|
async listSesIntegrations(requestConfig) {
|
|
650
906
|
const request = new RequestBuilder()
|
|
@@ -668,8 +924,8 @@ export class IntegrationsService extends BaseService {
|
|
|
668
924
|
}
|
|
669
925
|
/**
|
|
670
926
|
* Updates or creates the Amazon SES integration for the project.
|
|
671
|
-
* @param {RequestConfig} requestConfig -
|
|
672
|
-
* @returns {Promise<HttpResponse<SesConfigPayload>>} OK
|
|
927
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
928
|
+
* @returns {Promise<HttpResponse<SesConfigPayload>>} - OK
|
|
673
929
|
*/
|
|
674
930
|
async saveSesIntegration(body, requestConfig) {
|
|
675
931
|
const request = new RequestBuilder()
|
|
@@ -696,8 +952,8 @@ export class IntegrationsService extends BaseService {
|
|
|
696
952
|
/**
|
|
697
953
|
* Deletes the Amazon SES integration configuration from the project. This will disable the integration's functionality within the project.
|
|
698
954
|
* @param {string} [params.id] -
|
|
699
|
-
* @param {RequestConfig} requestConfig -
|
|
700
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
955
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
956
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
701
957
|
*/
|
|
702
958
|
async deleteSesIntegration(params, requestConfig) {
|
|
703
959
|
const request = new RequestBuilder()
|
|
@@ -725,8 +981,8 @@ export class IntegrationsService extends BaseService {
|
|
|
725
981
|
}
|
|
726
982
|
/**
|
|
727
983
|
* Retrieves the current Slack integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
728
|
-
* @param {RequestConfig} requestConfig -
|
|
729
|
-
* @returns {Promise<HttpResponse<SlackConfigCollection>>} OK
|
|
984
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
985
|
+
* @returns {Promise<HttpResponse<SlackConfigCollection>>} - OK
|
|
730
986
|
*/
|
|
731
987
|
async listSlackIntegrations(requestConfig) {
|
|
732
988
|
const request = new RequestBuilder()
|
|
@@ -750,8 +1006,8 @@ export class IntegrationsService extends BaseService {
|
|
|
750
1006
|
}
|
|
751
1007
|
/**
|
|
752
1008
|
* Updates or creates the Slack integration for the project.
|
|
753
|
-
* @param {RequestConfig} requestConfig -
|
|
754
|
-
* @returns {Promise<HttpResponse<SlackConfigPayload>>} OK
|
|
1009
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
1010
|
+
* @returns {Promise<HttpResponse<SlackConfigPayload>>} - OK
|
|
755
1011
|
*/
|
|
756
1012
|
async saveSlackIntegration(body, requestConfig) {
|
|
757
1013
|
const request = new RequestBuilder()
|
|
@@ -778,8 +1034,8 @@ export class IntegrationsService extends BaseService {
|
|
|
778
1034
|
/**
|
|
779
1035
|
* Deletes the Slack integration configuration from the project. This will disable the integration's functionality within the project.
|
|
780
1036
|
* @param {string} [params.id] -
|
|
781
|
-
* @param {RequestConfig} requestConfig -
|
|
782
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
1037
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
1038
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
783
1039
|
*/
|
|
784
1040
|
async deleteSlackIntegration(params, requestConfig) {
|
|
785
1041
|
const request = new RequestBuilder()
|
|
@@ -805,10 +1061,174 @@ export class IntegrationsService extends BaseService {
|
|
|
805
1061
|
.build();
|
|
806
1062
|
return this.client.call(request);
|
|
807
1063
|
}
|
|
1064
|
+
/**
|
|
1065
|
+
* Retrieves the current SMTP integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
1066
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
1067
|
+
* @returns {Promise<HttpResponse<SmtpConfigObjectCollection>>} - OK
|
|
1068
|
+
*/
|
|
1069
|
+
async listSmtpIntegrations(requestConfig) {
|
|
1070
|
+
const request = new RequestBuilder()
|
|
1071
|
+
.setBaseUrl((requestConfig === null || requestConfig === void 0 ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1072
|
+
.setConfig(this.config)
|
|
1073
|
+
.setMethod('GET')
|
|
1074
|
+
.setPath('/integrations/smtp')
|
|
1075
|
+
.setRequestSchema(z.any())
|
|
1076
|
+
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
1077
|
+
.setRequestContentType(ContentType.Json)
|
|
1078
|
+
.addResponse({
|
|
1079
|
+
schema: smtpConfigObjectCollectionResponse,
|
|
1080
|
+
contentType: ContentType.Json,
|
|
1081
|
+
status: 200,
|
|
1082
|
+
})
|
|
1083
|
+
.setRetryAttempts(this.config, requestConfig)
|
|
1084
|
+
.setRetryDelayMs(this.config, requestConfig)
|
|
1085
|
+
.setResponseValidation(this.config, requestConfig)
|
|
1086
|
+
.build();
|
|
1087
|
+
return this.client.call(request);
|
|
1088
|
+
}
|
|
1089
|
+
/**
|
|
1090
|
+
* Updates or creates the SMTP integration for the project.
|
|
1091
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
1092
|
+
* @returns {Promise<HttpResponse<SmtpConfig>>} - OK
|
|
1093
|
+
*/
|
|
1094
|
+
async saveSmtpIntegration(body, requestConfig) {
|
|
1095
|
+
const request = new RequestBuilder()
|
|
1096
|
+
.setBaseUrl((requestConfig === null || requestConfig === void 0 ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1097
|
+
.setConfig(this.config)
|
|
1098
|
+
.setMethod('PUT')
|
|
1099
|
+
.setPath('/integrations/smtp')
|
|
1100
|
+
.setRequestSchema(smtpConfigRequest)
|
|
1101
|
+
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
1102
|
+
.setRequestContentType(ContentType.Json)
|
|
1103
|
+
.addResponse({
|
|
1104
|
+
schema: smtpConfigResponse,
|
|
1105
|
+
contentType: ContentType.Json,
|
|
1106
|
+
status: 200,
|
|
1107
|
+
})
|
|
1108
|
+
.setRetryAttempts(this.config, requestConfig)
|
|
1109
|
+
.setRetryDelayMs(this.config, requestConfig)
|
|
1110
|
+
.setResponseValidation(this.config, requestConfig)
|
|
1111
|
+
.addHeaderParam({ key: 'Content-Type', value: 'application/json' })
|
|
1112
|
+
.addBody(body)
|
|
1113
|
+
.build();
|
|
1114
|
+
return this.client.call(request);
|
|
1115
|
+
}
|
|
1116
|
+
/**
|
|
1117
|
+
* Deletes the SMTP integration configuration from the project. This will disable the integration's functionality within the project.
|
|
1118
|
+
* @param {string} [params.id] -
|
|
1119
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
1120
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
1121
|
+
*/
|
|
1122
|
+
async deleteSmtpIntegration(params, requestConfig) {
|
|
1123
|
+
const request = new RequestBuilder()
|
|
1124
|
+
.setBaseUrl((requestConfig === null || requestConfig === void 0 ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1125
|
+
.setConfig(this.config)
|
|
1126
|
+
.setMethod('DELETE')
|
|
1127
|
+
.setPath('/integrations/smtp')
|
|
1128
|
+
.setRequestSchema(z.any())
|
|
1129
|
+
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
1130
|
+
.setRequestContentType(ContentType.Json)
|
|
1131
|
+
.addResponse({
|
|
1132
|
+
schema: z.undefined(),
|
|
1133
|
+
contentType: ContentType.NoContent,
|
|
1134
|
+
status: 204,
|
|
1135
|
+
})
|
|
1136
|
+
.setRetryAttempts(this.config, requestConfig)
|
|
1137
|
+
.setRetryDelayMs(this.config, requestConfig)
|
|
1138
|
+
.setResponseValidation(this.config, requestConfig)
|
|
1139
|
+
.addQueryParam({
|
|
1140
|
+
key: 'id',
|
|
1141
|
+
value: params === null || params === void 0 ? void 0 : params.id,
|
|
1142
|
+
})
|
|
1143
|
+
.build();
|
|
1144
|
+
return this.client.call(request);
|
|
1145
|
+
}
|
|
1146
|
+
/**
|
|
1147
|
+
* Retrieves the current Stripe integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
1148
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
1149
|
+
* @returns {Promise<HttpResponse<StripeConfigCollection>>} - OK
|
|
1150
|
+
*/
|
|
1151
|
+
async listStripeIntegrations(requestConfig) {
|
|
1152
|
+
const request = new RequestBuilder()
|
|
1153
|
+
.setBaseUrl((requestConfig === null || requestConfig === void 0 ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1154
|
+
.setConfig(this.config)
|
|
1155
|
+
.setMethod('GET')
|
|
1156
|
+
.setPath('/integrations/stripe')
|
|
1157
|
+
.setRequestSchema(z.any())
|
|
1158
|
+
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
1159
|
+
.setRequestContentType(ContentType.Json)
|
|
1160
|
+
.addResponse({
|
|
1161
|
+
schema: stripeConfigCollectionResponse,
|
|
1162
|
+
contentType: ContentType.Json,
|
|
1163
|
+
status: 200,
|
|
1164
|
+
})
|
|
1165
|
+
.setRetryAttempts(this.config, requestConfig)
|
|
1166
|
+
.setRetryDelayMs(this.config, requestConfig)
|
|
1167
|
+
.setResponseValidation(this.config, requestConfig)
|
|
1168
|
+
.build();
|
|
1169
|
+
return this.client.call(request);
|
|
1170
|
+
}
|
|
1171
|
+
/**
|
|
1172
|
+
* Updates or creates the Stripe integration for the project.
|
|
1173
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
1174
|
+
* @returns {Promise<HttpResponse<StripeConfigPayload>>} - OK
|
|
1175
|
+
*/
|
|
1176
|
+
async saveStripeIntegration(body, requestConfig) {
|
|
1177
|
+
const request = new RequestBuilder()
|
|
1178
|
+
.setBaseUrl((requestConfig === null || requestConfig === void 0 ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1179
|
+
.setConfig(this.config)
|
|
1180
|
+
.setMethod('PUT')
|
|
1181
|
+
.setPath('/integrations/stripe')
|
|
1182
|
+
.setRequestSchema(stripeConfigPayloadRequest)
|
|
1183
|
+
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
1184
|
+
.setRequestContentType(ContentType.Json)
|
|
1185
|
+
.addResponse({
|
|
1186
|
+
schema: stripeConfigPayloadResponse,
|
|
1187
|
+
contentType: ContentType.Json,
|
|
1188
|
+
status: 200,
|
|
1189
|
+
})
|
|
1190
|
+
.setRetryAttempts(this.config, requestConfig)
|
|
1191
|
+
.setRetryDelayMs(this.config, requestConfig)
|
|
1192
|
+
.setResponseValidation(this.config, requestConfig)
|
|
1193
|
+
.addHeaderParam({ key: 'Content-Type', value: 'application/json' })
|
|
1194
|
+
.addBody(body)
|
|
1195
|
+
.build();
|
|
1196
|
+
return this.client.call(request);
|
|
1197
|
+
}
|
|
1198
|
+
/**
|
|
1199
|
+
* Deletes the Stripe integration configuration from the project. This will disable the integration's functionality within the project.
|
|
1200
|
+
* @param {string} [params.id] -
|
|
1201
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
1202
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
1203
|
+
*/
|
|
1204
|
+
async deleteStripeIntegration(params, requestConfig) {
|
|
1205
|
+
const request = new RequestBuilder()
|
|
1206
|
+
.setBaseUrl((requestConfig === null || requestConfig === void 0 ? void 0 : requestConfig.baseUrl) || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1207
|
+
.setConfig(this.config)
|
|
1208
|
+
.setMethod('DELETE')
|
|
1209
|
+
.setPath('/integrations/stripe')
|
|
1210
|
+
.setRequestSchema(z.any())
|
|
1211
|
+
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
1212
|
+
.setRequestContentType(ContentType.Json)
|
|
1213
|
+
.addResponse({
|
|
1214
|
+
schema: z.undefined(),
|
|
1215
|
+
contentType: ContentType.NoContent,
|
|
1216
|
+
status: 204,
|
|
1217
|
+
})
|
|
1218
|
+
.setRetryAttempts(this.config, requestConfig)
|
|
1219
|
+
.setRetryDelayMs(this.config, requestConfig)
|
|
1220
|
+
.setResponseValidation(this.config, requestConfig)
|
|
1221
|
+
.addQueryParam({
|
|
1222
|
+
key: 'id',
|
|
1223
|
+
value: params === null || params === void 0 ? void 0 : params.id,
|
|
1224
|
+
})
|
|
1225
|
+
.build();
|
|
1226
|
+
return this.client.call(request);
|
|
1227
|
+
}
|
|
808
1228
|
/**
|
|
809
1229
|
* Retrieves the current Twilio integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
810
|
-
* @param {RequestConfig} requestConfig -
|
|
811
|
-
* @returns {Promise<HttpResponse<TwilioConfigCollection>>} OK
|
|
1230
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
1231
|
+
* @returns {Promise<HttpResponse<TwilioConfigCollection>>} - OK
|
|
812
1232
|
*/
|
|
813
1233
|
async listTwilioIntegrations(requestConfig) {
|
|
814
1234
|
const request = new RequestBuilder()
|
|
@@ -832,8 +1252,8 @@ export class IntegrationsService extends BaseService {
|
|
|
832
1252
|
}
|
|
833
1253
|
/**
|
|
834
1254
|
* Updates or creates the Twilio integration for the project.
|
|
835
|
-
* @param {RequestConfig} requestConfig -
|
|
836
|
-
* @returns {Promise<HttpResponse<TwilioConfigPayload>>} OK
|
|
1255
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
1256
|
+
* @returns {Promise<HttpResponse<TwilioConfigPayload>>} - OK
|
|
837
1257
|
*/
|
|
838
1258
|
async saveTwilioIntegration(body, requestConfig) {
|
|
839
1259
|
const request = new RequestBuilder()
|
|
@@ -860,8 +1280,8 @@ export class IntegrationsService extends BaseService {
|
|
|
860
1280
|
/**
|
|
861
1281
|
* Deletes the Twilio integration configuration from the project. This will disable the integration's functionality within the project.
|
|
862
1282
|
* @param {string} [params.id] -
|
|
863
|
-
* @param {RequestConfig} requestConfig -
|
|
864
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
1283
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
1284
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
865
1285
|
*/
|
|
866
1286
|
async deleteTwilioIntegration(params, requestConfig) {
|
|
867
1287
|
const request = new RequestBuilder()
|
|
@@ -889,8 +1309,8 @@ export class IntegrationsService extends BaseService {
|
|
|
889
1309
|
}
|
|
890
1310
|
/**
|
|
891
1311
|
* Retrieves the current Web Push integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
892
|
-
* @param {RequestConfig} requestConfig -
|
|
893
|
-
* @returns {Promise<HttpResponse<WebpushConfigCollection>>} OK
|
|
1312
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
1313
|
+
* @returns {Promise<HttpResponse<WebpushConfigCollection>>} - OK
|
|
894
1314
|
*/
|
|
895
1315
|
async listWebPushIntegrations(requestConfig) {
|
|
896
1316
|
const request = new RequestBuilder()
|
|
@@ -914,8 +1334,8 @@ export class IntegrationsService extends BaseService {
|
|
|
914
1334
|
}
|
|
915
1335
|
/**
|
|
916
1336
|
* Updates or creates the Web Push integration for the project.
|
|
917
|
-
* @param {RequestConfig} requestConfig -
|
|
918
|
-
* @returns {Promise<HttpResponse<WebpushConfigPayload>>} OK
|
|
1337
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
1338
|
+
* @returns {Promise<HttpResponse<WebpushConfigPayload>>} - OK
|
|
919
1339
|
*/
|
|
920
1340
|
async saveWebPushIntegration(body, requestConfig) {
|
|
921
1341
|
const request = new RequestBuilder()
|
|
@@ -942,8 +1362,8 @@ export class IntegrationsService extends BaseService {
|
|
|
942
1362
|
/**
|
|
943
1363
|
* Deletes the Web Push integration configuration from the project. This will disable the integration's functionality within the project.
|
|
944
1364
|
* @param {string} [params.id] -
|
|
945
|
-
* @param {RequestConfig} requestConfig -
|
|
946
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
1365
|
+
* @param {RequestConfig} [requestConfig] - The request configuration for retry and validation.
|
|
1366
|
+
* @returns {Promise<HttpResponse<any>>} - No Content
|
|
947
1367
|
*/
|
|
948
1368
|
async deleteWebPushIntegration(params, requestConfig) {
|
|
949
1369
|
const request = new RequestBuilder()
|