magicbell-js 0.1.0 → 0.3.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 +13 -38
- package/dist/commonjs/project-client/index.d.ts +0 -6
- package/dist/commonjs/project-client/index.d.ts.map +1 -1
- package/dist/commonjs/project-client/index.js +2 -28
- package/dist/commonjs/project-client/index.js.map +1 -1
- package/dist/commonjs/project-client/services/broadcasts/broadcasts-service.d.ts +1 -1
- package/dist/commonjs/project-client/services/broadcasts/broadcasts-service.js +1 -1
- package/dist/commonjs/project-client/services/broadcasts/models/broadcast-collection.d.ts +924 -942
- package/dist/commonjs/project-client/services/broadcasts/models/broadcast-collection.d.ts.map +1 -1
- package/dist/commonjs/project-client/services/broadcasts/models/broadcast.d.ts +639 -697
- package/dist/commonjs/project-client/services/broadcasts/models/broadcast.d.ts.map +1 -1
- package/dist/commonjs/project-client/services/broadcasts/models/broadcast.js +7 -6
- package/dist/commonjs/project-client/services/broadcasts/models/broadcast.js.map +1 -1
- 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/index.d.ts +0 -2
- package/dist/commonjs/project-client/services/broadcasts/models/index.d.ts.map +1 -1
- package/dist/commonjs/project-client/services/broadcasts/models/index.js.map +1 -1
- 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 +17 -229
- package/dist/commonjs/project-client/services/broadcasts/models/overrides-channels.d.ts.map +1 -1
- package/dist/commonjs/project-client/services/broadcasts/models/overrides-channels.js +0 -12
- package/dist/commonjs/project-client/services/broadcasts/models/overrides-channels.js.map +1 -1
- package/dist/commonjs/project-client/services/broadcasts/models/overrides.d.ts +200 -441
- package/dist/commonjs/project-client/services/broadcasts/models/overrides.d.ts.map +1 -1
- package/dist/commonjs/project-client/services/broadcasts/models/providers.d.ts +102 -60
- package/dist/commonjs/project-client/services/broadcasts/models/providers.d.ts.map +1 -1
- package/dist/commonjs/project-client/services/broadcasts/models/providers.js +35 -20
- package/dist/commonjs/project-client/services/broadcasts/models/providers.js.map +1 -1
- package/dist/commonjs/project-client/services/broadcasts/models/sms.d.ts +3 -3
- package/dist/commonjs/project-client/services/channels/channels-service.d.ts +48 -48
- package/dist/commonjs/project-client/services/channels/channels-service.d.ts.map +1 -1
- package/dist/commonjs/project-client/services/channels/channels-service.js +59 -59
- package/dist/commonjs/project-client/services/channels/channels-service.js.map +1 -1
- package/dist/commonjs/project-client/services/channels/models/discard-result.d.ts +8 -8
- package/dist/commonjs/project-client/services/channels/models/inbox-token-response-collection.d.ts +14 -14
- package/dist/commonjs/project-client/services/channels/models/inbox-token-response.d.ts +8 -8
- 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/request-params.d.ts +7 -10
- package/dist/commonjs/project-client/services/channels/request-params.d.ts.map +1 -1
- package/dist/commonjs/project-client/services/common/index.d.ts +1 -0
- package/dist/commonjs/project-client/services/common/index.d.ts.map +1 -1
- package/dist/commonjs/project-client/services/{users/models → common}/user.d.ts +24 -24
- package/dist/commonjs/project-client/services/common/user.d.ts.map +1 -0
- package/dist/commonjs/project-client/services/common/user.js.map +1 -0
- package/dist/commonjs/project-client/services/events/events-service.d.ts +3 -3
- package/dist/commonjs/project-client/services/events/events-service.d.ts.map +1 -1
- package/dist/commonjs/project-client/services/events/events-service.js +6 -6
- package/dist/commonjs/project-client/services/events/events-service.js.map +1 -1
- package/dist/commonjs/project-client/services/integrations/integrations-service.d.ts +67 -267
- package/dist/commonjs/project-client/services/integrations/integrations-service.d.ts.map +1 -1
- package/dist/commonjs/project-client/services/integrations/integrations-service.js +181 -1000
- package/dist/commonjs/project-client/services/integrations/integrations-service.js.map +1 -1
- 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 +0 -14
- package/dist/commonjs/project-client/services/integrations/models/index.d.ts.map +1 -1
- package/dist/commonjs/project-client/services/integrations/models/index.js.map +1 -1
- package/dist/commonjs/project-client/services/integrations/models/theme.d.ts +56 -56
- package/dist/commonjs/project-client/services/integrations/request-params.d.ts +33 -0
- package/dist/commonjs/project-client/services/integrations/request-params.d.ts.map +1 -1
- package/dist/commonjs/project-client/services/users/models/index.d.ts +0 -1
- package/dist/commonjs/project-client/services/users/models/index.d.ts.map +1 -1
- package/dist/commonjs/project-client/services/users/models/user-collection.d.ts +42 -42
- package/dist/commonjs/project-client/services/users/models/user-collection.js +1 -1
- package/dist/commonjs/project-client/services/users/models/user-collection.js.map +1 -1
- package/dist/commonjs/project-client/services/users/users-service.d.ts +6 -6
- package/dist/commonjs/project-client/services/users/users-service.d.ts.map +1 -1
- package/dist/commonjs/project-client/services/users/users-service.js +8 -8
- package/dist/commonjs/project-client/services/users/users-service.js.map +1 -1
- package/dist/commonjs/user-client/services/channels/channels-service.d.ts +61 -61
- package/dist/commonjs/user-client/services/channels/channels-service.d.ts.map +1 -1
- package/dist/commonjs/user-client/services/channels/channels-service.js +74 -74
- package/dist/commonjs/user-client/services/channels/channels-service.js.map +1 -1
- package/dist/commonjs/user-client/services/channels/models/discard-result.d.ts +8 -8
- package/dist/commonjs/user-client/services/channels/models/inbox-token-response-collection.d.ts +14 -14
- package/dist/commonjs/user-client/services/channels/models/inbox-token-response.d.ts +8 -8
- 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/request-params.d.ts +7 -7
- 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 +10 -17
- package/dist/commonjs/user-client/services/integrations/integrations-service.d.ts.map +1 -1
- package/dist/commonjs/user-client/services/integrations/integrations-service.js +16 -44
- 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/index.d.ts +0 -1
- package/dist/commonjs/user-client/services/integrations/models/index.d.ts.map +1 -1
- 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 +6 -6
- package/dist/commonjs/user-client/services/notifications/notifications-service.d.ts.map +1 -1
- package/dist/commonjs/user-client/services/notifications/notifications-service.js +5 -5
- package/dist/commonjs/user-client/services/notifications/notifications-service.js.map +1 -1
- package/dist/commonjs/user-client/services/notifications/request-params.d.ts +2 -2
- package/dist/commonjs/user-client/services/notifications/request-params.d.ts.map +1 -1
- package/dist/esm/project-client/index.d.ts +0 -6
- package/dist/esm/project-client/index.d.ts.map +1 -1
- package/dist/esm/project-client/index.js +0 -26
- package/dist/esm/project-client/index.js.map +1 -1
- package/dist/esm/project-client/services/broadcasts/broadcasts-service.d.ts +1 -1
- package/dist/esm/project-client/services/broadcasts/broadcasts-service.js +1 -1
- package/dist/esm/project-client/services/broadcasts/models/broadcast-collection.d.ts +924 -942
- package/dist/esm/project-client/services/broadcasts/models/broadcast-collection.d.ts.map +1 -1
- package/dist/esm/project-client/services/broadcasts/models/broadcast.d.ts +639 -697
- package/dist/esm/project-client/services/broadcasts/models/broadcast.d.ts.map +1 -1
- package/dist/esm/project-client/services/broadcasts/models/broadcast.js +7 -6
- package/dist/esm/project-client/services/broadcasts/models/broadcast.js.map +1 -1
- 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/index.d.ts +0 -2
- package/dist/esm/project-client/services/broadcasts/models/index.d.ts.map +1 -1
- package/dist/esm/project-client/services/broadcasts/models/index.js.map +1 -1
- 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 +17 -229
- package/dist/esm/project-client/services/broadcasts/models/overrides-channels.d.ts.map +1 -1
- package/dist/esm/project-client/services/broadcasts/models/overrides-channels.js +0 -12
- package/dist/esm/project-client/services/broadcasts/models/overrides-channels.js.map +1 -1
- package/dist/esm/project-client/services/broadcasts/models/overrides.d.ts +200 -441
- package/dist/esm/project-client/services/broadcasts/models/overrides.d.ts.map +1 -1
- package/dist/esm/project-client/services/broadcasts/models/providers.d.ts +102 -60
- package/dist/esm/project-client/services/broadcasts/models/providers.d.ts.map +1 -1
- package/dist/esm/project-client/services/broadcasts/models/providers.js +35 -20
- package/dist/esm/project-client/services/broadcasts/models/providers.js.map +1 -1
- package/dist/esm/project-client/services/broadcasts/models/sms.d.ts +3 -3
- package/dist/esm/project-client/services/channels/channels-service.d.ts +48 -48
- package/dist/esm/project-client/services/channels/channels-service.d.ts.map +1 -1
- package/dist/esm/project-client/services/channels/channels-service.js +59 -59
- package/dist/esm/project-client/services/channels/channels-service.js.map +1 -1
- package/dist/esm/project-client/services/channels/models/discard-result.d.ts +8 -8
- package/dist/esm/project-client/services/channels/models/inbox-token-response-collection.d.ts +14 -14
- package/dist/esm/project-client/services/channels/models/inbox-token-response.d.ts +8 -8
- 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/request-params.d.ts +7 -10
- package/dist/esm/project-client/services/channels/request-params.d.ts.map +1 -1
- package/dist/esm/project-client/services/common/index.d.ts +1 -0
- package/dist/esm/project-client/services/common/index.d.ts.map +1 -1
- package/dist/esm/project-client/services/{users/models → common}/user.d.ts +24 -24
- package/dist/esm/project-client/services/common/user.d.ts.map +1 -0
- package/dist/esm/project-client/services/common/user.js.map +1 -0
- package/dist/esm/project-client/services/events/events-service.d.ts +3 -3
- package/dist/esm/project-client/services/events/events-service.d.ts.map +1 -1
- package/dist/esm/project-client/services/events/events-service.js +6 -6
- package/dist/esm/project-client/services/events/events-service.js.map +1 -1
- package/dist/esm/project-client/services/integrations/integrations-service.d.ts +67 -267
- package/dist/esm/project-client/services/integrations/integrations-service.d.ts.map +1 -1
- package/dist/esm/project-client/services/integrations/integrations-service.js +181 -1000
- package/dist/esm/project-client/services/integrations/integrations-service.js.map +1 -1
- 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 +0 -14
- package/dist/esm/project-client/services/integrations/models/index.d.ts.map +1 -1
- package/dist/esm/project-client/services/integrations/models/index.js.map +1 -1
- package/dist/esm/project-client/services/integrations/models/theme.d.ts +56 -56
- package/dist/esm/project-client/services/integrations/request-params.d.ts +33 -0
- package/dist/esm/project-client/services/integrations/request-params.d.ts.map +1 -1
- package/dist/esm/project-client/services/users/models/index.d.ts +0 -1
- package/dist/esm/project-client/services/users/models/index.d.ts.map +1 -1
- package/dist/esm/project-client/services/users/models/user-collection.d.ts +42 -42
- package/dist/esm/project-client/services/users/models/user-collection.js +1 -1
- package/dist/esm/project-client/services/users/models/user-collection.js.map +1 -1
- package/dist/esm/project-client/services/users/users-service.d.ts +6 -6
- package/dist/esm/project-client/services/users/users-service.d.ts.map +1 -1
- package/dist/esm/project-client/services/users/users-service.js +8 -8
- package/dist/esm/project-client/services/users/users-service.js.map +1 -1
- package/dist/esm/user-client/services/channels/channels-service.d.ts +61 -61
- package/dist/esm/user-client/services/channels/channels-service.d.ts.map +1 -1
- package/dist/esm/user-client/services/channels/channels-service.js +74 -74
- package/dist/esm/user-client/services/channels/channels-service.js.map +1 -1
- package/dist/esm/user-client/services/channels/models/discard-result.d.ts +8 -8
- package/dist/esm/user-client/services/channels/models/inbox-token-response-collection.d.ts +14 -14
- package/dist/esm/user-client/services/channels/models/inbox-token-response.d.ts +8 -8
- 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/request-params.d.ts +7 -7
- 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 +10 -17
- package/dist/esm/user-client/services/integrations/integrations-service.d.ts.map +1 -1
- package/dist/esm/user-client/services/integrations/integrations-service.js +16 -44
- 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/index.d.ts +0 -1
- package/dist/esm/user-client/services/integrations/models/index.d.ts.map +1 -1
- 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 +6 -6
- package/dist/esm/user-client/services/notifications/notifications-service.d.ts.map +1 -1
- package/dist/esm/user-client/services/notifications/notifications-service.js +5 -5
- package/dist/esm/user-client/services/notifications/notifications-service.js.map +1 -1
- package/dist/esm/user-client/services/notifications/request-params.d.ts +2 -2
- package/dist/esm/user-client/services/notifications/request-params.d.ts.map +1 -1
- package/package.json +2 -2
- package/src/project-client/index.ts +0 -20
- package/src/project-client/services/broadcasts/broadcasts-service.ts +1 -1
- package/src/project-client/services/broadcasts/models/broadcast.ts +8 -7
- package/src/project-client/services/broadcasts/models/index.ts +0 -2
- package/src/project-client/services/broadcasts/models/overrides-channels.ts +0 -14
- package/src/project-client/services/broadcasts/models/providers.ts +38 -20
- package/src/project-client/services/channels/channels-service.ts +74 -78
- package/src/project-client/services/channels/request-params.ts +7 -11
- package/src/project-client/services/common/index.ts +1 -0
- package/src/project-client/services/events/events-service.ts +6 -6
- package/src/project-client/services/integrations/integrations-service.ts +247 -1082
- package/src/project-client/services/integrations/models/index.ts +0 -14
- package/src/project-client/services/integrations/request-params.ts +44 -0
- package/src/project-client/services/users/models/index.ts +0 -1
- package/src/project-client/services/users/models/user-collection.ts +1 -1
- package/src/project-client/services/users/users-service.ts +8 -8
- package/src/user-client/services/channels/channels-service.ts +88 -106
- package/src/user-client/services/channels/request-params.ts +7 -7
- package/src/user-client/services/integrations/integrations-service.ts +16 -52
- package/src/user-client/services/integrations/models/index.ts +0 -1
- package/src/user-client/services/notifications/notifications-service.ts +12 -8
- package/src/user-client/services/notifications/request-params.ts +2 -2
- package/dist/commonjs/project-client/services/broadcasts/models/slack.d.ts +0 -76
- package/dist/commonjs/project-client/services/broadcasts/models/slack.d.ts.map +0 -1
- package/dist/commonjs/project-client/services/broadcasts/models/slack.js +0 -49
- package/dist/commonjs/project-client/services/broadcasts/models/slack.js.map +0 -1
- package/dist/commonjs/project-client/services/broadcasts/models/web-push.d.ts +0 -76
- package/dist/commonjs/project-client/services/broadcasts/models/web-push.d.ts.map +0 -1
- package/dist/commonjs/project-client/services/broadcasts/models/web-push.js +0 -49
- package/dist/commonjs/project-client/services/broadcasts/models/web-push.js.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/awssns-config-collection.d.ts +0 -312
- package/dist/commonjs/project-client/services/integrations/models/awssns-config-collection.d.ts.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/awssns-config-collection.js +0 -46
- package/dist/commonjs/project-client/services/integrations/models/awssns-config-collection.js.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/awssns-config-payload.d.ts +0 -48
- package/dist/commonjs/project-client/services/integrations/models/awssns-config-payload.d.ts.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/awssns-config-payload.js +0 -39
- package/dist/commonjs/project-client/services/integrations/models/awssns-config-payload.js.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/awssns-config.d.ts +0 -122
- package/dist/commonjs/project-client/services/integrations/models/awssns-config.d.ts.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/awssns-config.js +0 -50
- package/dist/commonjs/project-client/services/integrations/models/awssns-config.js.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/event-source-config-collection.d.ts +0 -312
- package/dist/commonjs/project-client/services/integrations/models/event-source-config-collection.d.ts.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/event-source-config-collection.js +0 -46
- package/dist/commonjs/project-client/services/integrations/models/event-source-config-collection.js.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/event-source-config-payload.d.ts +0 -48
- package/dist/commonjs/project-client/services/integrations/models/event-source-config-payload.d.ts.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/event-source-config-payload.js +0 -39
- package/dist/commonjs/project-client/services/integrations/models/event-source-config-payload.js.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/event-source-config.d.ts +0 -122
- package/dist/commonjs/project-client/services/integrations/models/event-source-config.d.ts.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/event-source-config.js +0 -50
- package/dist/commonjs/project-client/services/integrations/models/event-source-config.js.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/github-config-collection.d.ts +0 -312
- package/dist/commonjs/project-client/services/integrations/models/github-config-collection.d.ts.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/github-config-collection.js +0 -46
- package/dist/commonjs/project-client/services/integrations/models/github-config-collection.js.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/github-config-payload.d.ts +0 -48
- package/dist/commonjs/project-client/services/integrations/models/github-config-payload.d.ts.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/github-config-payload.js +0 -39
- package/dist/commonjs/project-client/services/integrations/models/github-config-payload.js.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/github-config.d.ts +0 -122
- package/dist/commonjs/project-client/services/integrations/models/github-config.d.ts.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/github-config.js +0 -50
- package/dist/commonjs/project-client/services/integrations/models/github-config.js.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/stripe-config-collection.d.ts +0 -312
- package/dist/commonjs/project-client/services/integrations/models/stripe-config-collection.d.ts.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/stripe-config-collection.js +0 -46
- package/dist/commonjs/project-client/services/integrations/models/stripe-config-collection.js.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/stripe-config-payload.d.ts +0 -48
- package/dist/commonjs/project-client/services/integrations/models/stripe-config-payload.d.ts.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/stripe-config-payload.js +0 -39
- package/dist/commonjs/project-client/services/integrations/models/stripe-config-payload.js.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/stripe-config.d.ts +0 -122
- package/dist/commonjs/project-client/services/integrations/models/stripe-config.d.ts.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/stripe-config.js +0 -50
- package/dist/commonjs/project-client/services/integrations/models/stripe-config.js.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/templates-config-collection.d.ts +0 -246
- package/dist/commonjs/project-client/services/integrations/models/templates-config-collection.d.ts.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/templates-config-collection.js +0 -46
- package/dist/commonjs/project-client/services/integrations/models/templates-config-collection.js.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/templates-config.d.ts +0 -76
- package/dist/commonjs/project-client/services/integrations/models/templates-config.d.ts.map +0 -1
- package/dist/commonjs/project-client/services/integrations/models/templates-config.js +0 -49
- package/dist/commonjs/project-client/services/integrations/models/templates-config.js.map +0 -1
- package/dist/commonjs/project-client/services/jwt/index.d.ts +0 -3
- package/dist/commonjs/project-client/services/jwt/index.d.ts.map +0 -1
- package/dist/commonjs/project-client/services/jwt/index.js +0 -8
- package/dist/commonjs/project-client/services/jwt/index.js.map +0 -1
- package/dist/commonjs/project-client/services/jwt/jwt-service.d.ts +0 -32
- package/dist/commonjs/project-client/services/jwt/jwt-service.d.ts.map +0 -1
- package/dist/commonjs/project-client/services/jwt/jwt-service.js +0 -113
- package/dist/commonjs/project-client/services/jwt/jwt-service.js.map +0 -1
- package/dist/commonjs/project-client/services/jwt/models/access-token-collection.d.ts +0 -292
- package/dist/commonjs/project-client/services/jwt/models/access-token-collection.d.ts.map +0 -1
- package/dist/commonjs/project-client/services/jwt/models/access-token-collection.js +0 -46
- package/dist/commonjs/project-client/services/jwt/models/access-token-collection.js.map +0 -1
- package/dist/commonjs/project-client/services/jwt/models/access-token.d.ts +0 -104
- package/dist/commonjs/project-client/services/jwt/models/access-token.d.ts.map +0 -1
- package/dist/commonjs/project-client/services/jwt/models/access-token.js +0 -59
- package/dist/commonjs/project-client/services/jwt/models/access-token.js.map +0 -1
- package/dist/commonjs/project-client/services/jwt/models/create-project-token-request.d.ts +0 -62
- package/dist/commonjs/project-client/services/jwt/models/create-project-token-request.d.ts.map +0 -1
- package/dist/commonjs/project-client/services/jwt/models/create-project-token-request.js +0 -44
- package/dist/commonjs/project-client/services/jwt/models/create-project-token-request.js.map +0 -1
- package/dist/commonjs/project-client/services/jwt/models/create-token-response.d.ts +0 -90
- package/dist/commonjs/project-client/services/jwt/models/create-token-response.d.ts.map +0 -1
- package/dist/commonjs/project-client/services/jwt/models/create-token-response.js +0 -54
- package/dist/commonjs/project-client/services/jwt/models/create-token-response.js.map +0 -1
- package/dist/commonjs/project-client/services/jwt/models/discard-token-response.d.ts +0 -62
- package/dist/commonjs/project-client/services/jwt/models/discard-token-response.d.ts.map +0 -1
- package/dist/commonjs/project-client/services/jwt/models/discard-token-response.js +0 -44
- package/dist/commonjs/project-client/services/jwt/models/discard-token-response.js.map +0 -1
- package/dist/commonjs/project-client/services/jwt/models/index.d.ts +0 -6
- package/dist/commonjs/project-client/services/jwt/models/index.d.ts.map +0 -1
- package/dist/commonjs/project-client/services/jwt/models/index.js +0 -3
- package/dist/commonjs/project-client/services/jwt/models/index.js.map +0 -1
- package/dist/commonjs/project-client/services/jwt/request-params.d.ts +0 -6
- package/dist/commonjs/project-client/services/jwt/request-params.d.ts.map +0 -1
- package/dist/commonjs/project-client/services/jwt/request-params.js +0 -3
- package/dist/commonjs/project-client/services/jwt/request-params.js.map +0 -1
- package/dist/commonjs/project-client/services/notifications/index.d.ts +0 -3
- package/dist/commonjs/project-client/services/notifications/index.d.ts.map +0 -1
- package/dist/commonjs/project-client/services/notifications/index.js +0 -8
- package/dist/commonjs/project-client/services/notifications/index.js.map +0 -1
- package/dist/commonjs/project-client/services/notifications/models/delivery-plan-collection.d.ts +0 -384
- package/dist/commonjs/project-client/services/notifications/models/delivery-plan-collection.d.ts.map +0 -1
- package/dist/commonjs/project-client/services/notifications/models/delivery-plan-collection.js +0 -46
- package/dist/commonjs/project-client/services/notifications/models/delivery-plan-collection.js.map +0 -1
- package/dist/commonjs/project-client/services/notifications/models/delivery-plan.d.ts +0 -160
- package/dist/commonjs/project-client/services/notifications/models/delivery-plan.d.ts.map +0 -1
- package/dist/commonjs/project-client/services/notifications/models/delivery-plan.js +0 -79
- package/dist/commonjs/project-client/services/notifications/models/delivery-plan.js.map +0 -1
- package/dist/commonjs/project-client/services/notifications/models/index.d.ts +0 -3
- package/dist/commonjs/project-client/services/notifications/models/index.d.ts.map +0 -1
- package/dist/commonjs/project-client/services/notifications/models/index.js +0 -3
- package/dist/commonjs/project-client/services/notifications/models/index.js.map +0 -1
- package/dist/commonjs/project-client/services/notifications/notifications-service.d.ts +0 -13
- package/dist/commonjs/project-client/services/notifications/notifications-service.d.ts.map +0 -1
- package/dist/commonjs/project-client/services/notifications/notifications-service.js +0 -43
- package/dist/commonjs/project-client/services/notifications/notifications-service.js.map +0 -1
- package/dist/commonjs/project-client/services/users/models/user.d.ts.map +0 -1
- package/dist/commonjs/project-client/services/users/models/user.js.map +0 -1
- package/dist/commonjs/user-client/services/integrations/models/templates-installation.d.ts +0 -76
- package/dist/commonjs/user-client/services/integrations/models/templates-installation.d.ts.map +0 -1
- package/dist/commonjs/user-client/services/integrations/models/templates-installation.js +0 -49
- package/dist/commonjs/user-client/services/integrations/models/templates-installation.js.map +0 -1
- package/dist/esm/project-client/services/broadcasts/models/slack.d.ts +0 -76
- package/dist/esm/project-client/services/broadcasts/models/slack.d.ts.map +0 -1
- package/dist/esm/project-client/services/broadcasts/models/slack.js +0 -46
- package/dist/esm/project-client/services/broadcasts/models/slack.js.map +0 -1
- package/dist/esm/project-client/services/broadcasts/models/web-push.d.ts +0 -76
- package/dist/esm/project-client/services/broadcasts/models/web-push.d.ts.map +0 -1
- package/dist/esm/project-client/services/broadcasts/models/web-push.js +0 -46
- package/dist/esm/project-client/services/broadcasts/models/web-push.js.map +0 -1
- package/dist/esm/project-client/services/integrations/models/awssns-config-collection.d.ts +0 -312
- package/dist/esm/project-client/services/integrations/models/awssns-config-collection.d.ts.map +0 -1
- package/dist/esm/project-client/services/integrations/models/awssns-config-collection.js +0 -43
- package/dist/esm/project-client/services/integrations/models/awssns-config-collection.js.map +0 -1
- package/dist/esm/project-client/services/integrations/models/awssns-config-payload.d.ts +0 -48
- package/dist/esm/project-client/services/integrations/models/awssns-config-payload.d.ts.map +0 -1
- package/dist/esm/project-client/services/integrations/models/awssns-config-payload.js +0 -36
- package/dist/esm/project-client/services/integrations/models/awssns-config-payload.js.map +0 -1
- package/dist/esm/project-client/services/integrations/models/awssns-config.d.ts +0 -122
- package/dist/esm/project-client/services/integrations/models/awssns-config.d.ts.map +0 -1
- package/dist/esm/project-client/services/integrations/models/awssns-config.js +0 -47
- package/dist/esm/project-client/services/integrations/models/awssns-config.js.map +0 -1
- package/dist/esm/project-client/services/integrations/models/event-source-config-collection.d.ts +0 -312
- package/dist/esm/project-client/services/integrations/models/event-source-config-collection.d.ts.map +0 -1
- package/dist/esm/project-client/services/integrations/models/event-source-config-collection.js +0 -43
- package/dist/esm/project-client/services/integrations/models/event-source-config-collection.js.map +0 -1
- package/dist/esm/project-client/services/integrations/models/event-source-config-payload.d.ts +0 -48
- package/dist/esm/project-client/services/integrations/models/event-source-config-payload.d.ts.map +0 -1
- package/dist/esm/project-client/services/integrations/models/event-source-config-payload.js +0 -36
- package/dist/esm/project-client/services/integrations/models/event-source-config-payload.js.map +0 -1
- package/dist/esm/project-client/services/integrations/models/event-source-config.d.ts +0 -122
- package/dist/esm/project-client/services/integrations/models/event-source-config.d.ts.map +0 -1
- package/dist/esm/project-client/services/integrations/models/event-source-config.js +0 -47
- package/dist/esm/project-client/services/integrations/models/event-source-config.js.map +0 -1
- package/dist/esm/project-client/services/integrations/models/github-config-collection.d.ts +0 -312
- package/dist/esm/project-client/services/integrations/models/github-config-collection.d.ts.map +0 -1
- package/dist/esm/project-client/services/integrations/models/github-config-collection.js +0 -43
- package/dist/esm/project-client/services/integrations/models/github-config-collection.js.map +0 -1
- package/dist/esm/project-client/services/integrations/models/github-config-payload.d.ts +0 -48
- package/dist/esm/project-client/services/integrations/models/github-config-payload.d.ts.map +0 -1
- package/dist/esm/project-client/services/integrations/models/github-config-payload.js +0 -36
- package/dist/esm/project-client/services/integrations/models/github-config-payload.js.map +0 -1
- package/dist/esm/project-client/services/integrations/models/github-config.d.ts +0 -122
- package/dist/esm/project-client/services/integrations/models/github-config.d.ts.map +0 -1
- package/dist/esm/project-client/services/integrations/models/github-config.js +0 -47
- package/dist/esm/project-client/services/integrations/models/github-config.js.map +0 -1
- package/dist/esm/project-client/services/integrations/models/stripe-config-collection.d.ts +0 -312
- package/dist/esm/project-client/services/integrations/models/stripe-config-collection.d.ts.map +0 -1
- package/dist/esm/project-client/services/integrations/models/stripe-config-collection.js +0 -43
- package/dist/esm/project-client/services/integrations/models/stripe-config-collection.js.map +0 -1
- package/dist/esm/project-client/services/integrations/models/stripe-config-payload.d.ts +0 -48
- package/dist/esm/project-client/services/integrations/models/stripe-config-payload.d.ts.map +0 -1
- package/dist/esm/project-client/services/integrations/models/stripe-config-payload.js +0 -36
- package/dist/esm/project-client/services/integrations/models/stripe-config-payload.js.map +0 -1
- package/dist/esm/project-client/services/integrations/models/stripe-config.d.ts +0 -122
- package/dist/esm/project-client/services/integrations/models/stripe-config.d.ts.map +0 -1
- package/dist/esm/project-client/services/integrations/models/stripe-config.js +0 -47
- package/dist/esm/project-client/services/integrations/models/stripe-config.js.map +0 -1
- package/dist/esm/project-client/services/integrations/models/templates-config-collection.d.ts +0 -246
- package/dist/esm/project-client/services/integrations/models/templates-config-collection.d.ts.map +0 -1
- package/dist/esm/project-client/services/integrations/models/templates-config-collection.js +0 -43
- package/dist/esm/project-client/services/integrations/models/templates-config-collection.js.map +0 -1
- package/dist/esm/project-client/services/integrations/models/templates-config.d.ts +0 -76
- package/dist/esm/project-client/services/integrations/models/templates-config.d.ts.map +0 -1
- package/dist/esm/project-client/services/integrations/models/templates-config.js +0 -46
- package/dist/esm/project-client/services/integrations/models/templates-config.js.map +0 -1
- package/dist/esm/project-client/services/jwt/index.d.ts +0 -3
- package/dist/esm/project-client/services/jwt/index.d.ts.map +0 -1
- package/dist/esm/project-client/services/jwt/index.js +0 -3
- package/dist/esm/project-client/services/jwt/index.js.map +0 -1
- package/dist/esm/project-client/services/jwt/jwt-service.d.ts +0 -32
- package/dist/esm/project-client/services/jwt/jwt-service.d.ts.map +0 -1
- package/dist/esm/project-client/services/jwt/jwt-service.js +0 -109
- package/dist/esm/project-client/services/jwt/jwt-service.js.map +0 -1
- package/dist/esm/project-client/services/jwt/models/access-token-collection.d.ts +0 -292
- package/dist/esm/project-client/services/jwt/models/access-token-collection.d.ts.map +0 -1
- package/dist/esm/project-client/services/jwt/models/access-token-collection.js +0 -43
- package/dist/esm/project-client/services/jwt/models/access-token-collection.js.map +0 -1
- package/dist/esm/project-client/services/jwt/models/access-token.d.ts +0 -104
- package/dist/esm/project-client/services/jwt/models/access-token.d.ts.map +0 -1
- package/dist/esm/project-client/services/jwt/models/access-token.js +0 -56
- package/dist/esm/project-client/services/jwt/models/access-token.js.map +0 -1
- package/dist/esm/project-client/services/jwt/models/create-project-token-request.d.ts +0 -62
- package/dist/esm/project-client/services/jwt/models/create-project-token-request.d.ts.map +0 -1
- package/dist/esm/project-client/services/jwt/models/create-project-token-request.js +0 -41
- package/dist/esm/project-client/services/jwt/models/create-project-token-request.js.map +0 -1
- package/dist/esm/project-client/services/jwt/models/create-token-response.d.ts +0 -90
- package/dist/esm/project-client/services/jwt/models/create-token-response.d.ts.map +0 -1
- package/dist/esm/project-client/services/jwt/models/create-token-response.js +0 -51
- package/dist/esm/project-client/services/jwt/models/create-token-response.js.map +0 -1
- package/dist/esm/project-client/services/jwt/models/discard-token-response.d.ts +0 -62
- package/dist/esm/project-client/services/jwt/models/discard-token-response.d.ts.map +0 -1
- package/dist/esm/project-client/services/jwt/models/discard-token-response.js +0 -41
- package/dist/esm/project-client/services/jwt/models/discard-token-response.js.map +0 -1
- package/dist/esm/project-client/services/jwt/models/index.d.ts +0 -6
- package/dist/esm/project-client/services/jwt/models/index.d.ts.map +0 -1
- package/dist/esm/project-client/services/jwt/models/index.js +0 -2
- package/dist/esm/project-client/services/jwt/models/index.js.map +0 -1
- package/dist/esm/project-client/services/jwt/request-params.d.ts +0 -6
- package/dist/esm/project-client/services/jwt/request-params.d.ts.map +0 -1
- package/dist/esm/project-client/services/jwt/request-params.js +0 -2
- package/dist/esm/project-client/services/jwt/request-params.js.map +0 -1
- package/dist/esm/project-client/services/notifications/index.d.ts +0 -3
- package/dist/esm/project-client/services/notifications/index.d.ts.map +0 -1
- package/dist/esm/project-client/services/notifications/index.js +0 -3
- package/dist/esm/project-client/services/notifications/index.js.map +0 -1
- package/dist/esm/project-client/services/notifications/models/delivery-plan-collection.d.ts +0 -384
- package/dist/esm/project-client/services/notifications/models/delivery-plan-collection.d.ts.map +0 -1
- package/dist/esm/project-client/services/notifications/models/delivery-plan-collection.js +0 -43
- package/dist/esm/project-client/services/notifications/models/delivery-plan-collection.js.map +0 -1
- package/dist/esm/project-client/services/notifications/models/delivery-plan.d.ts +0 -160
- package/dist/esm/project-client/services/notifications/models/delivery-plan.d.ts.map +0 -1
- package/dist/esm/project-client/services/notifications/models/delivery-plan.js +0 -76
- package/dist/esm/project-client/services/notifications/models/delivery-plan.js.map +0 -1
- package/dist/esm/project-client/services/notifications/models/index.d.ts +0 -3
- package/dist/esm/project-client/services/notifications/models/index.d.ts.map +0 -1
- package/dist/esm/project-client/services/notifications/models/index.js +0 -2
- package/dist/esm/project-client/services/notifications/models/index.js.map +0 -1
- package/dist/esm/project-client/services/notifications/notifications-service.d.ts +0 -13
- package/dist/esm/project-client/services/notifications/notifications-service.d.ts.map +0 -1
- package/dist/esm/project-client/services/notifications/notifications-service.js +0 -39
- package/dist/esm/project-client/services/notifications/notifications-service.js.map +0 -1
- package/dist/esm/project-client/services/users/models/user.d.ts.map +0 -1
- package/dist/esm/project-client/services/users/models/user.js.map +0 -1
- package/dist/esm/user-client/services/integrations/models/templates-installation.d.ts +0 -76
- package/dist/esm/user-client/services/integrations/models/templates-installation.d.ts.map +0 -1
- package/dist/esm/user-client/services/integrations/models/templates-installation.js +0 -46
- package/dist/esm/user-client/services/integrations/models/templates-installation.js.map +0 -1
- package/src/project-client/services/broadcasts/models/slack.ts +0 -57
- package/src/project-client/services/broadcasts/models/web-push.ts +0 -57
- package/src/project-client/services/integrations/models/awssns-config-collection.ts +0 -54
- package/src/project-client/services/integrations/models/awssns-config-payload.ts +0 -45
- package/src/project-client/services/integrations/models/awssns-config.ts +0 -64
- package/src/project-client/services/integrations/models/event-source-config-collection.ts +0 -59
- package/src/project-client/services/integrations/models/event-source-config-payload.ts +0 -45
- package/src/project-client/services/integrations/models/event-source-config.ts +0 -64
- package/src/project-client/services/integrations/models/github-config-collection.ts +0 -54
- package/src/project-client/services/integrations/models/github-config-payload.ts +0 -45
- package/src/project-client/services/integrations/models/github-config.ts +0 -64
- package/src/project-client/services/integrations/models/stripe-config-collection.ts +0 -54
- package/src/project-client/services/integrations/models/stripe-config-payload.ts +0 -45
- package/src/project-client/services/integrations/models/stripe-config.ts +0 -64
- package/src/project-client/services/integrations/models/templates-config-collection.ts +0 -59
- package/src/project-client/services/integrations/models/templates-config.ts +0 -57
- package/src/project-client/services/jwt/index.ts +0 -2
- package/src/project-client/services/jwt/jwt-service.ts +0 -121
- package/src/project-client/services/jwt/models/access-token-collection.ts +0 -54
- package/src/project-client/services/jwt/models/access-token.ts +0 -69
- package/src/project-client/services/jwt/models/create-project-token-request.ts +0 -51
- package/src/project-client/services/jwt/models/create-token-response.ts +0 -63
- package/src/project-client/services/jwt/models/discard-token-response.ts +0 -51
- package/src/project-client/services/jwt/models/index.ts +0 -5
- package/src/project-client/services/jwt/request-params.ts +0 -5
- package/src/project-client/services/notifications/index.ts +0 -2
- package/src/project-client/services/notifications/models/delivery-plan-collection.ts +0 -54
- package/src/project-client/services/notifications/models/delivery-plan.ts +0 -93
- package/src/project-client/services/notifications/models/index.ts +0 -2
- package/src/project-client/services/notifications/notifications-service.ts +0 -45
- package/src/user-client/services/integrations/models/templates-installation.ts +0 -57
- /package/dist/commonjs/project-client/services/{users/models → common}/user.js +0 -0
- /package/dist/esm/project-client/services/{users/models → common}/user.js +0 -0
- /package/src/project-client/services/{users/models → common}/user.ts +0 -0
|
@@ -12,21 +12,6 @@ import {
|
|
|
12
12
|
apnsConfigPayloadRequest,
|
|
13
13
|
apnsConfigPayloadResponse,
|
|
14
14
|
} from './models/apns-config-payload.js';
|
|
15
|
-
import { AwssnsConfigCollection, awssnsConfigCollectionResponse } from './models/awssns-config-collection.js';
|
|
16
|
-
import {
|
|
17
|
-
AwssnsConfigPayload,
|
|
18
|
-
awssnsConfigPayloadRequest,
|
|
19
|
-
awssnsConfigPayloadResponse,
|
|
20
|
-
} from './models/awssns-config-payload.js';
|
|
21
|
-
import {
|
|
22
|
-
EventSourceConfigCollection,
|
|
23
|
-
eventSourceConfigCollectionResponse,
|
|
24
|
-
} from './models/event-source-config-collection.js';
|
|
25
|
-
import {
|
|
26
|
-
EventSourceConfigPayload,
|
|
27
|
-
eventSourceConfigPayloadRequest,
|
|
28
|
-
eventSourceConfigPayloadResponse,
|
|
29
|
-
} from './models/event-source-config-payload.js';
|
|
30
15
|
import { ExpoConfigCollection, expoConfigCollectionResponse } from './models/expo-config-collection.js';
|
|
31
16
|
import {
|
|
32
17
|
ExpoConfigPayload,
|
|
@@ -35,12 +20,6 @@ import {
|
|
|
35
20
|
} from './models/expo-config-payload.js';
|
|
36
21
|
import { FcmConfigCollection, fcmConfigCollectionResponse } from './models/fcm-config-collection.js';
|
|
37
22
|
import { FcmConfigPayload, fcmConfigPayloadRequest, fcmConfigPayloadResponse } from './models/fcm-config-payload.js';
|
|
38
|
-
import { GithubConfigCollection, githubConfigCollectionResponse } from './models/github-config-collection.js';
|
|
39
|
-
import {
|
|
40
|
-
GithubConfigPayload,
|
|
41
|
-
githubConfigPayloadRequest,
|
|
42
|
-
githubConfigPayloadResponse,
|
|
43
|
-
} from './models/github-config-payload.js';
|
|
44
23
|
import { InboxConfigCollection, inboxConfigCollectionResponse } from './models/inbox-config-collection.js';
|
|
45
24
|
import {
|
|
46
25
|
InboxConfigPayload,
|
|
@@ -77,13 +56,6 @@ import {
|
|
|
77
56
|
slackConfigPayloadRequest,
|
|
78
57
|
slackConfigPayloadResponse,
|
|
79
58
|
} from './models/slack-config-payload.js';
|
|
80
|
-
import { StripeConfigCollection, stripeConfigCollectionResponse } from './models/stripe-config-collection.js';
|
|
81
|
-
import {
|
|
82
|
-
StripeConfigPayload,
|
|
83
|
-
stripeConfigPayloadRequest,
|
|
84
|
-
stripeConfigPayloadResponse,
|
|
85
|
-
} from './models/stripe-config-payload.js';
|
|
86
|
-
import { TemplatesConfigCollection, templatesConfigCollectionResponse } from './models/templates-config-collection.js';
|
|
87
59
|
import { TwilioConfigCollection, twilioConfigCollectionResponse } from './models/twilio-config-collection.js';
|
|
88
60
|
import {
|
|
89
61
|
TwilioConfigPayload,
|
|
@@ -96,7 +68,20 @@ import {
|
|
|
96
68
|
webpushConfigPayloadRequest,
|
|
97
69
|
webpushConfigPayloadResponse,
|
|
98
70
|
} from './models/webpush-config-payload.js';
|
|
99
|
-
import {
|
|
71
|
+
import {
|
|
72
|
+
DeleteApnsIntegrationParams,
|
|
73
|
+
DeleteExpoIntegrationParams,
|
|
74
|
+
DeleteFcmIntegrationParams,
|
|
75
|
+
DeleteInboxIntegrationParams,
|
|
76
|
+
DeleteMailgunIntegrationParams,
|
|
77
|
+
DeletePingEmailIntegrationParams,
|
|
78
|
+
DeleteSendgridIntegrationParams,
|
|
79
|
+
DeleteSesIntegrationParams,
|
|
80
|
+
DeleteSlackIntegrationParams,
|
|
81
|
+
DeleteTwilioIntegrationParams,
|
|
82
|
+
DeleteWebPushIntegrationParams,
|
|
83
|
+
ListIntegrationsParams,
|
|
84
|
+
} from './request-params.js';
|
|
100
85
|
|
|
101
86
|
export class IntegrationsService extends BaseService {
|
|
102
87
|
/**
|
|
@@ -144,11 +129,11 @@ export class IntegrationsService extends BaseService {
|
|
|
144
129
|
}
|
|
145
130
|
|
|
146
131
|
/**
|
|
147
|
-
* Retrieves the current
|
|
132
|
+
* Retrieves the current APNs integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
148
133
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
149
134
|
* @returns {Promise<HttpResponse<ApnsConfigCollection>>} OK
|
|
150
135
|
*/
|
|
151
|
-
async
|
|
136
|
+
async listApnsIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<ApnsConfigCollection>> {
|
|
152
137
|
const request = new RequestBuilder()
|
|
153
138
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
154
139
|
.setConfig(this.config)
|
|
@@ -170,7 +155,7 @@ export class IntegrationsService extends BaseService {
|
|
|
170
155
|
}
|
|
171
156
|
|
|
172
157
|
/**
|
|
173
|
-
*
|
|
158
|
+
* Updates or creates the APNs integration for the project.
|
|
174
159
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
175
160
|
* @returns {Promise<HttpResponse<ApnsConfigPayload>>} OK
|
|
176
161
|
*/
|
|
@@ -201,11 +186,15 @@ export class IntegrationsService extends BaseService {
|
|
|
201
186
|
}
|
|
202
187
|
|
|
203
188
|
/**
|
|
204
|
-
*
|
|
189
|
+
* Deletes the APNs integration configuration from the project. This will disable the integration's functionality within the project.
|
|
190
|
+
* @param {string} [params.id] -
|
|
205
191
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
206
192
|
* @returns {Promise<HttpResponse<any>>} No Content
|
|
207
193
|
*/
|
|
208
|
-
async deleteApnsIntegration(
|
|
194
|
+
async deleteApnsIntegration(
|
|
195
|
+
params?: DeleteApnsIntegrationParams,
|
|
196
|
+
requestConfig?: RequestConfig,
|
|
197
|
+
): Promise<HttpResponse<void>> {
|
|
209
198
|
const request = new RequestBuilder()
|
|
210
199
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
211
200
|
.setConfig(this.config)
|
|
@@ -222,57 +211,30 @@ export class IntegrationsService extends BaseService {
|
|
|
222
211
|
.setRetryAttempts(this.config, requestConfig)
|
|
223
212
|
.setRetryDelayMs(this.config, requestConfig)
|
|
224
213
|
.setResponseValidation(this.config, requestConfig)
|
|
225
|
-
.
|
|
226
|
-
return this.client.call<void>(request);
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
/**
|
|
230
|
-
* Removes a specific apns integration instance by ID from the project.
|
|
231
|
-
* @param {string} id -
|
|
232
|
-
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
233
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
234
|
-
*/
|
|
235
|
-
async deleteApnsIntegrationById(id: string, requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
|
|
236
|
-
const request = new RequestBuilder()
|
|
237
|
-
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
238
|
-
.setConfig(this.config)
|
|
239
|
-
.setMethod('DELETE')
|
|
240
|
-
.setPath('/integrations/apns/{id}')
|
|
241
|
-
.setRequestSchema(z.any())
|
|
242
|
-
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
243
|
-
.setRequestContentType(ContentType.Json)
|
|
244
|
-
.addResponse({
|
|
245
|
-
schema: z.undefined(),
|
|
246
|
-
contentType: ContentType.NoContent,
|
|
247
|
-
status: 204,
|
|
248
|
-
})
|
|
249
|
-
.setRetryAttempts(this.config, requestConfig)
|
|
250
|
-
.setRetryDelayMs(this.config, requestConfig)
|
|
251
|
-
.setResponseValidation(this.config, requestConfig)
|
|
252
|
-
.addPathParam({
|
|
214
|
+
.addQueryParam({
|
|
253
215
|
key: 'id',
|
|
254
|
-
value: id,
|
|
216
|
+
value: params?.id,
|
|
255
217
|
})
|
|
256
218
|
.build();
|
|
257
219
|
return this.client.call<void>(request);
|
|
258
220
|
}
|
|
259
221
|
|
|
260
222
|
/**
|
|
261
|
-
* Retrieves the current
|
|
223
|
+
* Retrieves the current Expo integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
262
224
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
263
|
-
* @returns {Promise<HttpResponse<
|
|
225
|
+
* @returns {Promise<HttpResponse<ExpoConfigCollection>>} OK
|
|
264
226
|
*/
|
|
265
|
-
async
|
|
227
|
+
async listExpoIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<ExpoConfigCollection>> {
|
|
266
228
|
const request = new RequestBuilder()
|
|
267
229
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
268
230
|
.setConfig(this.config)
|
|
269
231
|
.setMethod('GET')
|
|
270
|
-
.setPath('/integrations/
|
|
232
|
+
.setPath('/integrations/expo')
|
|
271
233
|
.setRequestSchema(z.any())
|
|
272
234
|
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
273
235
|
.setRequestContentType(ContentType.Json)
|
|
274
236
|
.addResponse({
|
|
275
|
-
schema:
|
|
237
|
+
schema: expoConfigCollectionResponse,
|
|
276
238
|
contentType: ContentType.Json,
|
|
277
239
|
status: 200,
|
|
278
240
|
})
|
|
@@ -280,28 +242,28 @@ export class IntegrationsService extends BaseService {
|
|
|
280
242
|
.setRetryDelayMs(this.config, requestConfig)
|
|
281
243
|
.setResponseValidation(this.config, requestConfig)
|
|
282
244
|
.build();
|
|
283
|
-
return this.client.call<
|
|
245
|
+
return this.client.call<ExpoConfigCollection>(request);
|
|
284
246
|
}
|
|
285
247
|
|
|
286
248
|
/**
|
|
287
|
-
*
|
|
249
|
+
* Updates or creates the Expo integration for the project.
|
|
288
250
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
289
|
-
* @returns {Promise<HttpResponse<
|
|
251
|
+
* @returns {Promise<HttpResponse<ExpoConfigPayload>>} OK
|
|
290
252
|
*/
|
|
291
|
-
async
|
|
292
|
-
body:
|
|
253
|
+
async saveExpoIntegration(
|
|
254
|
+
body: ExpoConfigPayload,
|
|
293
255
|
requestConfig?: RequestConfig,
|
|
294
|
-
): Promise<HttpResponse<
|
|
256
|
+
): Promise<HttpResponse<ExpoConfigPayload>> {
|
|
295
257
|
const request = new RequestBuilder()
|
|
296
258
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
297
259
|
.setConfig(this.config)
|
|
298
260
|
.setMethod('PUT')
|
|
299
|
-
.setPath('/integrations/
|
|
300
|
-
.setRequestSchema(
|
|
261
|
+
.setPath('/integrations/expo')
|
|
262
|
+
.setRequestSchema(expoConfigPayloadRequest)
|
|
301
263
|
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
302
264
|
.setRequestContentType(ContentType.Json)
|
|
303
265
|
.addResponse({
|
|
304
|
-
schema:
|
|
266
|
+
schema: expoConfigPayloadResponse,
|
|
305
267
|
contentType: ContentType.Json,
|
|
306
268
|
status: 200,
|
|
307
269
|
})
|
|
@@ -311,47 +273,24 @@ export class IntegrationsService extends BaseService {
|
|
|
311
273
|
.addHeaderParam({ key: 'Content-Type', value: 'application/json' })
|
|
312
274
|
.addBody(body)
|
|
313
275
|
.build();
|
|
314
|
-
return this.client.call<
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
/**
|
|
318
|
-
* Removes a awssns integration configuration from the project. This will disable the integration's functionality within the project.
|
|
319
|
-
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
320
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
321
|
-
*/
|
|
322
|
-
async deleteAwssnsIntegration(requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
|
|
323
|
-
const request = new RequestBuilder()
|
|
324
|
-
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
325
|
-
.setConfig(this.config)
|
|
326
|
-
.setMethod('DELETE')
|
|
327
|
-
.setPath('/integrations/awssns')
|
|
328
|
-
.setRequestSchema(z.any())
|
|
329
|
-
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
330
|
-
.setRequestContentType(ContentType.Json)
|
|
331
|
-
.addResponse({
|
|
332
|
-
schema: z.undefined(),
|
|
333
|
-
contentType: ContentType.NoContent,
|
|
334
|
-
status: 204,
|
|
335
|
-
})
|
|
336
|
-
.setRetryAttempts(this.config, requestConfig)
|
|
337
|
-
.setRetryDelayMs(this.config, requestConfig)
|
|
338
|
-
.setResponseValidation(this.config, requestConfig)
|
|
339
|
-
.build();
|
|
340
|
-
return this.client.call<void>(request);
|
|
276
|
+
return this.client.call<ExpoConfigPayload>(request);
|
|
341
277
|
}
|
|
342
278
|
|
|
343
279
|
/**
|
|
344
|
-
*
|
|
345
|
-
* @param {string} id -
|
|
280
|
+
* Deletes the Expo integration configuration from the project. This will disable the integration's functionality within the project.
|
|
281
|
+
* @param {string} [params.id] -
|
|
346
282
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
347
283
|
* @returns {Promise<HttpResponse<any>>} No Content
|
|
348
284
|
*/
|
|
349
|
-
async
|
|
285
|
+
async deleteExpoIntegration(
|
|
286
|
+
params?: DeleteExpoIntegrationParams,
|
|
287
|
+
requestConfig?: RequestConfig,
|
|
288
|
+
): Promise<HttpResponse<void>> {
|
|
350
289
|
const request = new RequestBuilder()
|
|
351
290
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
352
291
|
.setConfig(this.config)
|
|
353
292
|
.setMethod('DELETE')
|
|
354
|
-
.setPath('/integrations/
|
|
293
|
+
.setPath('/integrations/expo')
|
|
355
294
|
.setRequestSchema(z.any())
|
|
356
295
|
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
357
296
|
.setRequestContentType(ContentType.Json)
|
|
@@ -363,30 +302,30 @@ export class IntegrationsService extends BaseService {
|
|
|
363
302
|
.setRetryAttempts(this.config, requestConfig)
|
|
364
303
|
.setRetryDelayMs(this.config, requestConfig)
|
|
365
304
|
.setResponseValidation(this.config, requestConfig)
|
|
366
|
-
.
|
|
305
|
+
.addQueryParam({
|
|
367
306
|
key: 'id',
|
|
368
|
-
value: id,
|
|
307
|
+
value: params?.id,
|
|
369
308
|
})
|
|
370
309
|
.build();
|
|
371
310
|
return this.client.call<void>(request);
|
|
372
311
|
}
|
|
373
312
|
|
|
374
313
|
/**
|
|
375
|
-
* Retrieves the current
|
|
314
|
+
* Retrieves the current FCM integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
376
315
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
377
|
-
* @returns {Promise<HttpResponse<
|
|
316
|
+
* @returns {Promise<HttpResponse<FcmConfigCollection>>} OK
|
|
378
317
|
*/
|
|
379
|
-
async
|
|
318
|
+
async listFcmIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<FcmConfigCollection>> {
|
|
380
319
|
const request = new RequestBuilder()
|
|
381
320
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
382
321
|
.setConfig(this.config)
|
|
383
322
|
.setMethod('GET')
|
|
384
|
-
.setPath('/integrations/
|
|
323
|
+
.setPath('/integrations/fcm')
|
|
385
324
|
.setRequestSchema(z.any())
|
|
386
325
|
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
387
326
|
.setRequestContentType(ContentType.Json)
|
|
388
327
|
.addResponse({
|
|
389
|
-
schema:
|
|
328
|
+
schema: fcmConfigCollectionResponse,
|
|
390
329
|
contentType: ContentType.Json,
|
|
391
330
|
status: 200,
|
|
392
331
|
})
|
|
@@ -394,28 +333,28 @@ export class IntegrationsService extends BaseService {
|
|
|
394
333
|
.setRetryDelayMs(this.config, requestConfig)
|
|
395
334
|
.setResponseValidation(this.config, requestConfig)
|
|
396
335
|
.build();
|
|
397
|
-
return this.client.call<
|
|
336
|
+
return this.client.call<FcmConfigCollection>(request);
|
|
398
337
|
}
|
|
399
338
|
|
|
400
339
|
/**
|
|
401
|
-
*
|
|
340
|
+
* Updates or creates the FCM integration for the project.
|
|
402
341
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
403
|
-
* @returns {Promise<HttpResponse<
|
|
342
|
+
* @returns {Promise<HttpResponse<FcmConfigPayload>>} OK
|
|
404
343
|
*/
|
|
405
|
-
async
|
|
406
|
-
body:
|
|
344
|
+
async saveFcmIntegration(
|
|
345
|
+
body: FcmConfigPayload,
|
|
407
346
|
requestConfig?: RequestConfig,
|
|
408
|
-
): Promise<HttpResponse<
|
|
347
|
+
): Promise<HttpResponse<FcmConfigPayload>> {
|
|
409
348
|
const request = new RequestBuilder()
|
|
410
349
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
411
350
|
.setConfig(this.config)
|
|
412
351
|
.setMethod('PUT')
|
|
413
|
-
.setPath('/integrations/
|
|
414
|
-
.setRequestSchema(
|
|
352
|
+
.setPath('/integrations/fcm')
|
|
353
|
+
.setRequestSchema(fcmConfigPayloadRequest)
|
|
415
354
|
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
416
355
|
.setRequestContentType(ContentType.Json)
|
|
417
356
|
.addResponse({
|
|
418
|
-
schema:
|
|
357
|
+
schema: fcmConfigPayloadResponse,
|
|
419
358
|
contentType: ContentType.Json,
|
|
420
359
|
status: 200,
|
|
421
360
|
})
|
|
@@ -425,47 +364,24 @@ export class IntegrationsService extends BaseService {
|
|
|
425
364
|
.addHeaderParam({ key: 'Content-Type', value: 'application/json' })
|
|
426
365
|
.addBody(body)
|
|
427
366
|
.build();
|
|
428
|
-
return this.client.call<
|
|
429
|
-
}
|
|
430
|
-
|
|
431
|
-
/**
|
|
432
|
-
* Removes a eventsource integration configuration from the project. This will disable the integration's functionality within the project.
|
|
433
|
-
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
434
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
435
|
-
*/
|
|
436
|
-
async deleteEventsourceIntegration(requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
|
|
437
|
-
const request = new RequestBuilder()
|
|
438
|
-
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
439
|
-
.setConfig(this.config)
|
|
440
|
-
.setMethod('DELETE')
|
|
441
|
-
.setPath('/integrations/eventsource')
|
|
442
|
-
.setRequestSchema(z.any())
|
|
443
|
-
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
444
|
-
.setRequestContentType(ContentType.Json)
|
|
445
|
-
.addResponse({
|
|
446
|
-
schema: z.undefined(),
|
|
447
|
-
contentType: ContentType.NoContent,
|
|
448
|
-
status: 204,
|
|
449
|
-
})
|
|
450
|
-
.setRetryAttempts(this.config, requestConfig)
|
|
451
|
-
.setRetryDelayMs(this.config, requestConfig)
|
|
452
|
-
.setResponseValidation(this.config, requestConfig)
|
|
453
|
-
.build();
|
|
454
|
-
return this.client.call<void>(request);
|
|
367
|
+
return this.client.call<FcmConfigPayload>(request);
|
|
455
368
|
}
|
|
456
369
|
|
|
457
370
|
/**
|
|
458
|
-
*
|
|
459
|
-
* @param {string} id -
|
|
371
|
+
* Deletes the FCM integration configuration from the project. This will disable the integration's functionality within the project.
|
|
372
|
+
* @param {string} [params.id] -
|
|
460
373
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
461
374
|
* @returns {Promise<HttpResponse<any>>} No Content
|
|
462
375
|
*/
|
|
463
|
-
async
|
|
376
|
+
async deleteFcmIntegration(
|
|
377
|
+
params?: DeleteFcmIntegrationParams,
|
|
378
|
+
requestConfig?: RequestConfig,
|
|
379
|
+
): Promise<HttpResponse<void>> {
|
|
464
380
|
const request = new RequestBuilder()
|
|
465
381
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
466
382
|
.setConfig(this.config)
|
|
467
383
|
.setMethod('DELETE')
|
|
468
|
-
.setPath('/integrations/
|
|
384
|
+
.setPath('/integrations/fcm')
|
|
469
385
|
.setRequestSchema(z.any())
|
|
470
386
|
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
471
387
|
.setRequestContentType(ContentType.Json)
|
|
@@ -477,30 +393,30 @@ export class IntegrationsService extends BaseService {
|
|
|
477
393
|
.setRetryAttempts(this.config, requestConfig)
|
|
478
394
|
.setRetryDelayMs(this.config, requestConfig)
|
|
479
395
|
.setResponseValidation(this.config, requestConfig)
|
|
480
|
-
.
|
|
396
|
+
.addQueryParam({
|
|
481
397
|
key: 'id',
|
|
482
|
-
value: id,
|
|
398
|
+
value: params?.id,
|
|
483
399
|
})
|
|
484
400
|
.build();
|
|
485
401
|
return this.client.call<void>(request);
|
|
486
402
|
}
|
|
487
403
|
|
|
488
404
|
/**
|
|
489
|
-
* Retrieves the current
|
|
405
|
+
* Retrieves the current Inbox integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
490
406
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
491
|
-
* @returns {Promise<HttpResponse<
|
|
407
|
+
* @returns {Promise<HttpResponse<InboxConfigCollection>>} OK
|
|
492
408
|
*/
|
|
493
|
-
async
|
|
409
|
+
async listInboxIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<InboxConfigCollection>> {
|
|
494
410
|
const request = new RequestBuilder()
|
|
495
411
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
496
412
|
.setConfig(this.config)
|
|
497
413
|
.setMethod('GET')
|
|
498
|
-
.setPath('/integrations/
|
|
414
|
+
.setPath('/integrations/inbox')
|
|
499
415
|
.setRequestSchema(z.any())
|
|
500
416
|
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
501
417
|
.setRequestContentType(ContentType.Json)
|
|
502
418
|
.addResponse({
|
|
503
|
-
schema:
|
|
419
|
+
schema: inboxConfigCollectionResponse,
|
|
504
420
|
contentType: ContentType.Json,
|
|
505
421
|
status: 200,
|
|
506
422
|
})
|
|
@@ -508,28 +424,28 @@ export class IntegrationsService extends BaseService {
|
|
|
508
424
|
.setRetryDelayMs(this.config, requestConfig)
|
|
509
425
|
.setResponseValidation(this.config, requestConfig)
|
|
510
426
|
.build();
|
|
511
|
-
return this.client.call<
|
|
427
|
+
return this.client.call<InboxConfigCollection>(request);
|
|
512
428
|
}
|
|
513
429
|
|
|
514
430
|
/**
|
|
515
|
-
*
|
|
431
|
+
* Updates or creates the Inbox integration for the project.
|
|
516
432
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
517
|
-
* @returns {Promise<HttpResponse<
|
|
433
|
+
* @returns {Promise<HttpResponse<InboxConfigPayload>>} OK
|
|
518
434
|
*/
|
|
519
|
-
async
|
|
520
|
-
body:
|
|
435
|
+
async saveInboxIntegration(
|
|
436
|
+
body: InboxConfigPayload,
|
|
521
437
|
requestConfig?: RequestConfig,
|
|
522
|
-
): Promise<HttpResponse<
|
|
438
|
+
): Promise<HttpResponse<InboxConfigPayload>> {
|
|
523
439
|
const request = new RequestBuilder()
|
|
524
440
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
525
441
|
.setConfig(this.config)
|
|
526
442
|
.setMethod('PUT')
|
|
527
|
-
.setPath('/integrations/
|
|
528
|
-
.setRequestSchema(
|
|
443
|
+
.setPath('/integrations/inbox')
|
|
444
|
+
.setRequestSchema(inboxConfigPayloadRequest)
|
|
529
445
|
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
530
446
|
.setRequestContentType(ContentType.Json)
|
|
531
447
|
.addResponse({
|
|
532
|
-
schema:
|
|
448
|
+
schema: inboxConfigPayloadResponse,
|
|
533
449
|
contentType: ContentType.Json,
|
|
534
450
|
status: 200,
|
|
535
451
|
})
|
|
@@ -539,47 +455,24 @@ export class IntegrationsService extends BaseService {
|
|
|
539
455
|
.addHeaderParam({ key: 'Content-Type', value: 'application/json' })
|
|
540
456
|
.addBody(body)
|
|
541
457
|
.build();
|
|
542
|
-
return this.client.call<
|
|
543
|
-
}
|
|
544
|
-
|
|
545
|
-
/**
|
|
546
|
-
* Removes a expo integration configuration from the project. This will disable the integration's functionality within the project.
|
|
547
|
-
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
548
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
549
|
-
*/
|
|
550
|
-
async deleteExpoIntegration(requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
|
|
551
|
-
const request = new RequestBuilder()
|
|
552
|
-
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
553
|
-
.setConfig(this.config)
|
|
554
|
-
.setMethod('DELETE')
|
|
555
|
-
.setPath('/integrations/expo')
|
|
556
|
-
.setRequestSchema(z.any())
|
|
557
|
-
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
558
|
-
.setRequestContentType(ContentType.Json)
|
|
559
|
-
.addResponse({
|
|
560
|
-
schema: z.undefined(),
|
|
561
|
-
contentType: ContentType.NoContent,
|
|
562
|
-
status: 204,
|
|
563
|
-
})
|
|
564
|
-
.setRetryAttempts(this.config, requestConfig)
|
|
565
|
-
.setRetryDelayMs(this.config, requestConfig)
|
|
566
|
-
.setResponseValidation(this.config, requestConfig)
|
|
567
|
-
.build();
|
|
568
|
-
return this.client.call<void>(request);
|
|
458
|
+
return this.client.call<InboxConfigPayload>(request);
|
|
569
459
|
}
|
|
570
460
|
|
|
571
461
|
/**
|
|
572
|
-
*
|
|
573
|
-
* @param {string} id -
|
|
462
|
+
* Deletes the Inbox integration configuration from the project. This will disable the integration's functionality within the project.
|
|
463
|
+
* @param {string} [params.id] -
|
|
574
464
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
575
465
|
* @returns {Promise<HttpResponse<any>>} No Content
|
|
576
466
|
*/
|
|
577
|
-
async
|
|
467
|
+
async deleteInboxIntegration(
|
|
468
|
+
params?: DeleteInboxIntegrationParams,
|
|
469
|
+
requestConfig?: RequestConfig,
|
|
470
|
+
): Promise<HttpResponse<void>> {
|
|
578
471
|
const request = new RequestBuilder()
|
|
579
472
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
580
473
|
.setConfig(this.config)
|
|
581
474
|
.setMethod('DELETE')
|
|
582
|
-
.setPath('/integrations/
|
|
475
|
+
.setPath('/integrations/inbox')
|
|
583
476
|
.setRequestSchema(z.any())
|
|
584
477
|
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
585
478
|
.setRequestContentType(ContentType.Json)
|
|
@@ -591,30 +484,30 @@ export class IntegrationsService extends BaseService {
|
|
|
591
484
|
.setRetryAttempts(this.config, requestConfig)
|
|
592
485
|
.setRetryDelayMs(this.config, requestConfig)
|
|
593
486
|
.setResponseValidation(this.config, requestConfig)
|
|
594
|
-
.
|
|
487
|
+
.addQueryParam({
|
|
595
488
|
key: 'id',
|
|
596
|
-
value: id,
|
|
489
|
+
value: params?.id,
|
|
597
490
|
})
|
|
598
491
|
.build();
|
|
599
492
|
return this.client.call<void>(request);
|
|
600
493
|
}
|
|
601
494
|
|
|
602
495
|
/**
|
|
603
|
-
* Retrieves the current
|
|
496
|
+
* Retrieves the current Mailgun integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
604
497
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
605
|
-
* @returns {Promise<HttpResponse<
|
|
498
|
+
* @returns {Promise<HttpResponse<MailgunConfigCollection>>} OK
|
|
606
499
|
*/
|
|
607
|
-
async
|
|
500
|
+
async listMailgunIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<MailgunConfigCollection>> {
|
|
608
501
|
const request = new RequestBuilder()
|
|
609
502
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
610
503
|
.setConfig(this.config)
|
|
611
504
|
.setMethod('GET')
|
|
612
|
-
.setPath('/integrations/
|
|
505
|
+
.setPath('/integrations/mailgun')
|
|
613
506
|
.setRequestSchema(z.any())
|
|
614
507
|
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
615
508
|
.setRequestContentType(ContentType.Json)
|
|
616
509
|
.addResponse({
|
|
617
|
-
schema:
|
|
510
|
+
schema: mailgunConfigCollectionResponse,
|
|
618
511
|
contentType: ContentType.Json,
|
|
619
512
|
status: 200,
|
|
620
513
|
})
|
|
@@ -622,28 +515,28 @@ export class IntegrationsService extends BaseService {
|
|
|
622
515
|
.setRetryDelayMs(this.config, requestConfig)
|
|
623
516
|
.setResponseValidation(this.config, requestConfig)
|
|
624
517
|
.build();
|
|
625
|
-
return this.client.call<
|
|
518
|
+
return this.client.call<MailgunConfigCollection>(request);
|
|
626
519
|
}
|
|
627
520
|
|
|
628
521
|
/**
|
|
629
|
-
*
|
|
522
|
+
* Updates or creates the Mailgun integration for the project.
|
|
630
523
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
631
|
-
* @returns {Promise<HttpResponse<
|
|
524
|
+
* @returns {Promise<HttpResponse<MailgunConfigPayload>>} OK
|
|
632
525
|
*/
|
|
633
|
-
async
|
|
634
|
-
body:
|
|
526
|
+
async saveMailgunIntegration(
|
|
527
|
+
body: MailgunConfigPayload,
|
|
635
528
|
requestConfig?: RequestConfig,
|
|
636
|
-
): Promise<HttpResponse<
|
|
529
|
+
): Promise<HttpResponse<MailgunConfigPayload>> {
|
|
637
530
|
const request = new RequestBuilder()
|
|
638
531
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
639
532
|
.setConfig(this.config)
|
|
640
533
|
.setMethod('PUT')
|
|
641
|
-
.setPath('/integrations/
|
|
642
|
-
.setRequestSchema(
|
|
534
|
+
.setPath('/integrations/mailgun')
|
|
535
|
+
.setRequestSchema(mailgunConfigPayloadRequest)
|
|
643
536
|
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
644
537
|
.setRequestContentType(ContentType.Json)
|
|
645
538
|
.addResponse({
|
|
646
|
-
schema:
|
|
539
|
+
schema: mailgunConfigPayloadResponse,
|
|
647
540
|
contentType: ContentType.Json,
|
|
648
541
|
status: 200,
|
|
649
542
|
})
|
|
@@ -653,47 +546,24 @@ export class IntegrationsService extends BaseService {
|
|
|
653
546
|
.addHeaderParam({ key: 'Content-Type', value: 'application/json' })
|
|
654
547
|
.addBody(body)
|
|
655
548
|
.build();
|
|
656
|
-
return this.client.call<
|
|
657
|
-
}
|
|
658
|
-
|
|
659
|
-
/**
|
|
660
|
-
* Removes a fcm integration configuration from the project. This will disable the integration's functionality within the project.
|
|
661
|
-
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
662
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
663
|
-
*/
|
|
664
|
-
async deleteFcmIntegration(requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
|
|
665
|
-
const request = new RequestBuilder()
|
|
666
|
-
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
667
|
-
.setConfig(this.config)
|
|
668
|
-
.setMethod('DELETE')
|
|
669
|
-
.setPath('/integrations/fcm')
|
|
670
|
-
.setRequestSchema(z.any())
|
|
671
|
-
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
672
|
-
.setRequestContentType(ContentType.Json)
|
|
673
|
-
.addResponse({
|
|
674
|
-
schema: z.undefined(),
|
|
675
|
-
contentType: ContentType.NoContent,
|
|
676
|
-
status: 204,
|
|
677
|
-
})
|
|
678
|
-
.setRetryAttempts(this.config, requestConfig)
|
|
679
|
-
.setRetryDelayMs(this.config, requestConfig)
|
|
680
|
-
.setResponseValidation(this.config, requestConfig)
|
|
681
|
-
.build();
|
|
682
|
-
return this.client.call<void>(request);
|
|
549
|
+
return this.client.call<MailgunConfigPayload>(request);
|
|
683
550
|
}
|
|
684
551
|
|
|
685
552
|
/**
|
|
686
|
-
*
|
|
687
|
-
* @param {string} id -
|
|
553
|
+
* Deletes the Mailgun integration configuration from the project. This will disable the integration's functionality within the project.
|
|
554
|
+
* @param {string} [params.id] -
|
|
688
555
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
689
556
|
* @returns {Promise<HttpResponse<any>>} No Content
|
|
690
557
|
*/
|
|
691
|
-
async
|
|
558
|
+
async deleteMailgunIntegration(
|
|
559
|
+
params?: DeleteMailgunIntegrationParams,
|
|
560
|
+
requestConfig?: RequestConfig,
|
|
561
|
+
): Promise<HttpResponse<void>> {
|
|
692
562
|
const request = new RequestBuilder()
|
|
693
563
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
694
564
|
.setConfig(this.config)
|
|
695
565
|
.setMethod('DELETE')
|
|
696
|
-
.setPath('/integrations/
|
|
566
|
+
.setPath('/integrations/mailgun')
|
|
697
567
|
.setRequestSchema(z.any())
|
|
698
568
|
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
699
569
|
.setRequestContentType(ContentType.Json)
|
|
@@ -705,30 +575,30 @@ export class IntegrationsService extends BaseService {
|
|
|
705
575
|
.setRetryAttempts(this.config, requestConfig)
|
|
706
576
|
.setRetryDelayMs(this.config, requestConfig)
|
|
707
577
|
.setResponseValidation(this.config, requestConfig)
|
|
708
|
-
.
|
|
578
|
+
.addQueryParam({
|
|
709
579
|
key: 'id',
|
|
710
|
-
value: id,
|
|
580
|
+
value: params?.id,
|
|
711
581
|
})
|
|
712
582
|
.build();
|
|
713
583
|
return this.client.call<void>(request);
|
|
714
584
|
}
|
|
715
585
|
|
|
716
586
|
/**
|
|
717
|
-
* Retrieves the current
|
|
587
|
+
* Retrieves the current Ping Email integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
718
588
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
719
|
-
* @returns {Promise<HttpResponse<
|
|
589
|
+
* @returns {Promise<HttpResponse<PingConfigCollection>>} OK
|
|
720
590
|
*/
|
|
721
|
-
async
|
|
591
|
+
async listPingEmailIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<PingConfigCollection>> {
|
|
722
592
|
const request = new RequestBuilder()
|
|
723
593
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
724
594
|
.setConfig(this.config)
|
|
725
595
|
.setMethod('GET')
|
|
726
|
-
.setPath('/integrations/
|
|
596
|
+
.setPath('/integrations/ping_email')
|
|
727
597
|
.setRequestSchema(z.any())
|
|
728
598
|
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
729
599
|
.setRequestContentType(ContentType.Json)
|
|
730
600
|
.addResponse({
|
|
731
|
-
schema:
|
|
601
|
+
schema: pingConfigCollectionResponse,
|
|
732
602
|
contentType: ContentType.Json,
|
|
733
603
|
status: 200,
|
|
734
604
|
})
|
|
@@ -736,28 +606,28 @@ export class IntegrationsService extends BaseService {
|
|
|
736
606
|
.setRetryDelayMs(this.config, requestConfig)
|
|
737
607
|
.setResponseValidation(this.config, requestConfig)
|
|
738
608
|
.build();
|
|
739
|
-
return this.client.call<
|
|
609
|
+
return this.client.call<PingConfigCollection>(request);
|
|
740
610
|
}
|
|
741
611
|
|
|
742
612
|
/**
|
|
743
|
-
*
|
|
613
|
+
* Updates or creates the Ping Email integration for the project.
|
|
744
614
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
745
|
-
* @returns {Promise<HttpResponse<
|
|
615
|
+
* @returns {Promise<HttpResponse<PingConfigPayload>>} OK
|
|
746
616
|
*/
|
|
747
|
-
async
|
|
748
|
-
body:
|
|
617
|
+
async savePingEmailIntegration(
|
|
618
|
+
body: PingConfigPayload,
|
|
749
619
|
requestConfig?: RequestConfig,
|
|
750
|
-
): Promise<HttpResponse<
|
|
620
|
+
): Promise<HttpResponse<PingConfigPayload>> {
|
|
751
621
|
const request = new RequestBuilder()
|
|
752
622
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
753
623
|
.setConfig(this.config)
|
|
754
624
|
.setMethod('PUT')
|
|
755
|
-
.setPath('/integrations/
|
|
756
|
-
.setRequestSchema(
|
|
625
|
+
.setPath('/integrations/ping_email')
|
|
626
|
+
.setRequestSchema(pingConfigPayloadRequest)
|
|
757
627
|
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
758
628
|
.setRequestContentType(ContentType.Json)
|
|
759
629
|
.addResponse({
|
|
760
|
-
schema:
|
|
630
|
+
schema: pingConfigPayloadResponse,
|
|
761
631
|
contentType: ContentType.Json,
|
|
762
632
|
status: 200,
|
|
763
633
|
})
|
|
@@ -767,20 +637,24 @@ export class IntegrationsService extends BaseService {
|
|
|
767
637
|
.addHeaderParam({ key: 'Content-Type', value: 'application/json' })
|
|
768
638
|
.addBody(body)
|
|
769
639
|
.build();
|
|
770
|
-
return this.client.call<
|
|
640
|
+
return this.client.call<PingConfigPayload>(request);
|
|
771
641
|
}
|
|
772
642
|
|
|
773
643
|
/**
|
|
774
|
-
*
|
|
644
|
+
* Deletes the Ping Email integration configuration from the project. This will disable the integration's functionality within the project.
|
|
645
|
+
* @param {string} [params.id] -
|
|
775
646
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
776
647
|
* @returns {Promise<HttpResponse<any>>} No Content
|
|
777
648
|
*/
|
|
778
|
-
async
|
|
649
|
+
async deletePingEmailIntegration(
|
|
650
|
+
params?: DeletePingEmailIntegrationParams,
|
|
651
|
+
requestConfig?: RequestConfig,
|
|
652
|
+
): Promise<HttpResponse<void>> {
|
|
779
653
|
const request = new RequestBuilder()
|
|
780
654
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
781
655
|
.setConfig(this.config)
|
|
782
656
|
.setMethod('DELETE')
|
|
783
|
-
.setPath('/integrations/
|
|
657
|
+
.setPath('/integrations/ping_email')
|
|
784
658
|
.setRequestSchema(z.any())
|
|
785
659
|
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
786
660
|
.setRequestContentType(ContentType.Json)
|
|
@@ -792,656 +666,59 @@ export class IntegrationsService extends BaseService {
|
|
|
792
666
|
.setRetryAttempts(this.config, requestConfig)
|
|
793
667
|
.setRetryDelayMs(this.config, requestConfig)
|
|
794
668
|
.setResponseValidation(this.config, requestConfig)
|
|
669
|
+
.addQueryParam({
|
|
670
|
+
key: 'id',
|
|
671
|
+
value: params?.id,
|
|
672
|
+
})
|
|
795
673
|
.build();
|
|
796
674
|
return this.client.call<void>(request);
|
|
797
675
|
}
|
|
798
676
|
|
|
799
677
|
/**
|
|
800
|
-
*
|
|
801
|
-
* @param {string} id -
|
|
678
|
+
* Retrieves the current SendGrid integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
802
679
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
803
|
-
* @returns {Promise<HttpResponse<
|
|
680
|
+
* @returns {Promise<HttpResponse<SendgridConfigCollection>>} OK
|
|
804
681
|
*/
|
|
805
|
-
async
|
|
682
|
+
async listSendgridIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<SendgridConfigCollection>> {
|
|
806
683
|
const request = new RequestBuilder()
|
|
807
684
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
808
685
|
.setConfig(this.config)
|
|
809
|
-
.setMethod('
|
|
810
|
-
.setPath('/integrations/
|
|
686
|
+
.setMethod('GET')
|
|
687
|
+
.setPath('/integrations/sendgrid')
|
|
811
688
|
.setRequestSchema(z.any())
|
|
812
689
|
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
813
690
|
.setRequestContentType(ContentType.Json)
|
|
814
691
|
.addResponse({
|
|
815
|
-
schema:
|
|
816
|
-
contentType: ContentType.
|
|
817
|
-
status:
|
|
692
|
+
schema: sendgridConfigCollectionResponse,
|
|
693
|
+
contentType: ContentType.Json,
|
|
694
|
+
status: 200,
|
|
818
695
|
})
|
|
819
696
|
.setRetryAttempts(this.config, requestConfig)
|
|
820
697
|
.setRetryDelayMs(this.config, requestConfig)
|
|
821
698
|
.setResponseValidation(this.config, requestConfig)
|
|
822
|
-
.addPathParam({
|
|
823
|
-
key: 'id',
|
|
824
|
-
value: id,
|
|
825
|
-
})
|
|
826
699
|
.build();
|
|
827
|
-
return this.client.call<
|
|
700
|
+
return this.client.call<SendgridConfigCollection>(request);
|
|
828
701
|
}
|
|
829
702
|
|
|
830
703
|
/**
|
|
831
|
-
*
|
|
704
|
+
* Updates or creates the SendGrid integration for the project.
|
|
832
705
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
833
|
-
* @returns {Promise<HttpResponse<
|
|
706
|
+
* @returns {Promise<HttpResponse<SendgridConfigPayload>>} OK
|
|
834
707
|
*/
|
|
835
|
-
async
|
|
708
|
+
async saveSendgridIntegration(
|
|
709
|
+
body: SendgridConfigPayload,
|
|
710
|
+
requestConfig?: RequestConfig,
|
|
711
|
+
): Promise<HttpResponse<SendgridConfigPayload>> {
|
|
836
712
|
const request = new RequestBuilder()
|
|
837
713
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
838
714
|
.setConfig(this.config)
|
|
839
|
-
.setMethod('
|
|
840
|
-
.setPath('/integrations/
|
|
841
|
-
.setRequestSchema(
|
|
715
|
+
.setMethod('PUT')
|
|
716
|
+
.setPath('/integrations/sendgrid')
|
|
717
|
+
.setRequestSchema(sendgridConfigPayloadRequest)
|
|
842
718
|
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
843
719
|
.setRequestContentType(ContentType.Json)
|
|
844
720
|
.addResponse({
|
|
845
|
-
schema:
|
|
846
|
-
contentType: ContentType.Json,
|
|
847
|
-
status: 200,
|
|
848
|
-
})
|
|
849
|
-
.setRetryAttempts(this.config, requestConfig)
|
|
850
|
-
.setRetryDelayMs(this.config, requestConfig)
|
|
851
|
-
.setResponseValidation(this.config, requestConfig)
|
|
852
|
-
.build();
|
|
853
|
-
return this.client.call<InboxConfigCollection>(request);
|
|
854
|
-
}
|
|
855
|
-
|
|
856
|
-
/**
|
|
857
|
-
* Creates or updates a inbox integration for the project. Only administrators can configure integrations.
|
|
858
|
-
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
859
|
-
* @returns {Promise<HttpResponse<InboxConfigPayload>>} OK
|
|
860
|
-
*/
|
|
861
|
-
async saveInboxIntegration(
|
|
862
|
-
body: InboxConfigPayload,
|
|
863
|
-
requestConfig?: RequestConfig,
|
|
864
|
-
): Promise<HttpResponse<InboxConfigPayload>> {
|
|
865
|
-
const request = new RequestBuilder()
|
|
866
|
-
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
867
|
-
.setConfig(this.config)
|
|
868
|
-
.setMethod('PUT')
|
|
869
|
-
.setPath('/integrations/inbox')
|
|
870
|
-
.setRequestSchema(inboxConfigPayloadRequest)
|
|
871
|
-
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
872
|
-
.setRequestContentType(ContentType.Json)
|
|
873
|
-
.addResponse({
|
|
874
|
-
schema: inboxConfigPayloadResponse,
|
|
875
|
-
contentType: ContentType.Json,
|
|
876
|
-
status: 200,
|
|
877
|
-
})
|
|
878
|
-
.setRetryAttempts(this.config, requestConfig)
|
|
879
|
-
.setRetryDelayMs(this.config, requestConfig)
|
|
880
|
-
.setResponseValidation(this.config, requestConfig)
|
|
881
|
-
.addHeaderParam({ key: 'Content-Type', value: 'application/json' })
|
|
882
|
-
.addBody(body)
|
|
883
|
-
.build();
|
|
884
|
-
return this.client.call<InboxConfigPayload>(request);
|
|
885
|
-
}
|
|
886
|
-
|
|
887
|
-
/**
|
|
888
|
-
* Removes a inbox integration configuration from the project. This will disable the integration's functionality within the project.
|
|
889
|
-
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
890
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
891
|
-
*/
|
|
892
|
-
async deleteInboxIntegration(requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
|
|
893
|
-
const request = new RequestBuilder()
|
|
894
|
-
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
895
|
-
.setConfig(this.config)
|
|
896
|
-
.setMethod('DELETE')
|
|
897
|
-
.setPath('/integrations/inbox')
|
|
898
|
-
.setRequestSchema(z.any())
|
|
899
|
-
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
900
|
-
.setRequestContentType(ContentType.Json)
|
|
901
|
-
.addResponse({
|
|
902
|
-
schema: z.undefined(),
|
|
903
|
-
contentType: ContentType.NoContent,
|
|
904
|
-
status: 204,
|
|
905
|
-
})
|
|
906
|
-
.setRetryAttempts(this.config, requestConfig)
|
|
907
|
-
.setRetryDelayMs(this.config, requestConfig)
|
|
908
|
-
.setResponseValidation(this.config, requestConfig)
|
|
909
|
-
.build();
|
|
910
|
-
return this.client.call<void>(request);
|
|
911
|
-
}
|
|
912
|
-
|
|
913
|
-
/**
|
|
914
|
-
* Removes a specific inbox integration instance by ID from the project.
|
|
915
|
-
* @param {string} id -
|
|
916
|
-
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
917
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
918
|
-
*/
|
|
919
|
-
async deleteInboxIntegrationById(id: string, requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
|
|
920
|
-
const request = new RequestBuilder()
|
|
921
|
-
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
922
|
-
.setConfig(this.config)
|
|
923
|
-
.setMethod('DELETE')
|
|
924
|
-
.setPath('/integrations/inbox/{id}')
|
|
925
|
-
.setRequestSchema(z.any())
|
|
926
|
-
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
927
|
-
.setRequestContentType(ContentType.Json)
|
|
928
|
-
.addResponse({
|
|
929
|
-
schema: z.undefined(),
|
|
930
|
-
contentType: ContentType.NoContent,
|
|
931
|
-
status: 204,
|
|
932
|
-
})
|
|
933
|
-
.setRetryAttempts(this.config, requestConfig)
|
|
934
|
-
.setRetryDelayMs(this.config, requestConfig)
|
|
935
|
-
.setResponseValidation(this.config, requestConfig)
|
|
936
|
-
.addPathParam({
|
|
937
|
-
key: 'id',
|
|
938
|
-
value: id,
|
|
939
|
-
})
|
|
940
|
-
.build();
|
|
941
|
-
return this.client.call<void>(request);
|
|
942
|
-
}
|
|
943
|
-
|
|
944
|
-
/**
|
|
945
|
-
* Retrieves the current mailgun integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
946
|
-
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
947
|
-
* @returns {Promise<HttpResponse<MailgunConfigCollection>>} OK
|
|
948
|
-
*/
|
|
949
|
-
async getMailgunIntegration(requestConfig?: RequestConfig): Promise<HttpResponse<MailgunConfigCollection>> {
|
|
950
|
-
const request = new RequestBuilder()
|
|
951
|
-
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
952
|
-
.setConfig(this.config)
|
|
953
|
-
.setMethod('GET')
|
|
954
|
-
.setPath('/integrations/mailgun')
|
|
955
|
-
.setRequestSchema(z.any())
|
|
956
|
-
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
957
|
-
.setRequestContentType(ContentType.Json)
|
|
958
|
-
.addResponse({
|
|
959
|
-
schema: mailgunConfigCollectionResponse,
|
|
960
|
-
contentType: ContentType.Json,
|
|
961
|
-
status: 200,
|
|
962
|
-
})
|
|
963
|
-
.setRetryAttempts(this.config, requestConfig)
|
|
964
|
-
.setRetryDelayMs(this.config, requestConfig)
|
|
965
|
-
.setResponseValidation(this.config, requestConfig)
|
|
966
|
-
.build();
|
|
967
|
-
return this.client.call<MailgunConfigCollection>(request);
|
|
968
|
-
}
|
|
969
|
-
|
|
970
|
-
/**
|
|
971
|
-
* Creates or updates a mailgun integration for the project. Only administrators can configure integrations.
|
|
972
|
-
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
973
|
-
* @returns {Promise<HttpResponse<MailgunConfigPayload>>} OK
|
|
974
|
-
*/
|
|
975
|
-
async saveMailgunIntegration(
|
|
976
|
-
body: MailgunConfigPayload,
|
|
977
|
-
requestConfig?: RequestConfig,
|
|
978
|
-
): Promise<HttpResponse<MailgunConfigPayload>> {
|
|
979
|
-
const request = new RequestBuilder()
|
|
980
|
-
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
981
|
-
.setConfig(this.config)
|
|
982
|
-
.setMethod('PUT')
|
|
983
|
-
.setPath('/integrations/mailgun')
|
|
984
|
-
.setRequestSchema(mailgunConfigPayloadRequest)
|
|
985
|
-
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
986
|
-
.setRequestContentType(ContentType.Json)
|
|
987
|
-
.addResponse({
|
|
988
|
-
schema: mailgunConfigPayloadResponse,
|
|
989
|
-
contentType: ContentType.Json,
|
|
990
|
-
status: 200,
|
|
991
|
-
})
|
|
992
|
-
.setRetryAttempts(this.config, requestConfig)
|
|
993
|
-
.setRetryDelayMs(this.config, requestConfig)
|
|
994
|
-
.setResponseValidation(this.config, requestConfig)
|
|
995
|
-
.addHeaderParam({ key: 'Content-Type', value: 'application/json' })
|
|
996
|
-
.addBody(body)
|
|
997
|
-
.build();
|
|
998
|
-
return this.client.call<MailgunConfigPayload>(request);
|
|
999
|
-
}
|
|
1000
|
-
|
|
1001
|
-
/**
|
|
1002
|
-
* Removes a mailgun integration configuration from the project. This will disable the integration's functionality within the project.
|
|
1003
|
-
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1004
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
1005
|
-
*/
|
|
1006
|
-
async deleteMailgunIntegration(requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
|
|
1007
|
-
const request = new RequestBuilder()
|
|
1008
|
-
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1009
|
-
.setConfig(this.config)
|
|
1010
|
-
.setMethod('DELETE')
|
|
1011
|
-
.setPath('/integrations/mailgun')
|
|
1012
|
-
.setRequestSchema(z.any())
|
|
1013
|
-
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
1014
|
-
.setRequestContentType(ContentType.Json)
|
|
1015
|
-
.addResponse({
|
|
1016
|
-
schema: z.undefined(),
|
|
1017
|
-
contentType: ContentType.NoContent,
|
|
1018
|
-
status: 204,
|
|
1019
|
-
})
|
|
1020
|
-
.setRetryAttempts(this.config, requestConfig)
|
|
1021
|
-
.setRetryDelayMs(this.config, requestConfig)
|
|
1022
|
-
.setResponseValidation(this.config, requestConfig)
|
|
1023
|
-
.build();
|
|
1024
|
-
return this.client.call<void>(request);
|
|
1025
|
-
}
|
|
1026
|
-
|
|
1027
|
-
/**
|
|
1028
|
-
* Removes a specific mailgun integration instance by ID from the project.
|
|
1029
|
-
* @param {string} id -
|
|
1030
|
-
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1031
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
1032
|
-
*/
|
|
1033
|
-
async deleteMailgunIntegrationById(id: string, requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
|
|
1034
|
-
const request = new RequestBuilder()
|
|
1035
|
-
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1036
|
-
.setConfig(this.config)
|
|
1037
|
-
.setMethod('DELETE')
|
|
1038
|
-
.setPath('/integrations/mailgun/{id}')
|
|
1039
|
-
.setRequestSchema(z.any())
|
|
1040
|
-
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
1041
|
-
.setRequestContentType(ContentType.Json)
|
|
1042
|
-
.addResponse({
|
|
1043
|
-
schema: z.undefined(),
|
|
1044
|
-
contentType: ContentType.NoContent,
|
|
1045
|
-
status: 204,
|
|
1046
|
-
})
|
|
1047
|
-
.setRetryAttempts(this.config, requestConfig)
|
|
1048
|
-
.setRetryDelayMs(this.config, requestConfig)
|
|
1049
|
-
.setResponseValidation(this.config, requestConfig)
|
|
1050
|
-
.addPathParam({
|
|
1051
|
-
key: 'id',
|
|
1052
|
-
value: id,
|
|
1053
|
-
})
|
|
1054
|
-
.build();
|
|
1055
|
-
return this.client.call<void>(request);
|
|
1056
|
-
}
|
|
1057
|
-
|
|
1058
|
-
/**
|
|
1059
|
-
* Retrieves the current ping_email integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
1060
|
-
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1061
|
-
* @returns {Promise<HttpResponse<PingConfigCollection>>} OK
|
|
1062
|
-
*/
|
|
1063
|
-
async getPingEmailIntegration(requestConfig?: RequestConfig): Promise<HttpResponse<PingConfigCollection>> {
|
|
1064
|
-
const request = new RequestBuilder()
|
|
1065
|
-
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1066
|
-
.setConfig(this.config)
|
|
1067
|
-
.setMethod('GET')
|
|
1068
|
-
.setPath('/integrations/ping_email')
|
|
1069
|
-
.setRequestSchema(z.any())
|
|
1070
|
-
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
1071
|
-
.setRequestContentType(ContentType.Json)
|
|
1072
|
-
.addResponse({
|
|
1073
|
-
schema: pingConfigCollectionResponse,
|
|
1074
|
-
contentType: ContentType.Json,
|
|
1075
|
-
status: 200,
|
|
1076
|
-
})
|
|
1077
|
-
.setRetryAttempts(this.config, requestConfig)
|
|
1078
|
-
.setRetryDelayMs(this.config, requestConfig)
|
|
1079
|
-
.setResponseValidation(this.config, requestConfig)
|
|
1080
|
-
.build();
|
|
1081
|
-
return this.client.call<PingConfigCollection>(request);
|
|
1082
|
-
}
|
|
1083
|
-
|
|
1084
|
-
/**
|
|
1085
|
-
* Creates or updates a ping_email integration for the project. Only administrators can configure integrations.
|
|
1086
|
-
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1087
|
-
* @returns {Promise<HttpResponse<PingConfigPayload>>} OK
|
|
1088
|
-
*/
|
|
1089
|
-
async savePingEmailIntegration(
|
|
1090
|
-
body: PingConfigPayload,
|
|
1091
|
-
requestConfig?: RequestConfig,
|
|
1092
|
-
): Promise<HttpResponse<PingConfigPayload>> {
|
|
1093
|
-
const request = new RequestBuilder()
|
|
1094
|
-
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1095
|
-
.setConfig(this.config)
|
|
1096
|
-
.setMethod('PUT')
|
|
1097
|
-
.setPath('/integrations/ping_email')
|
|
1098
|
-
.setRequestSchema(pingConfigPayloadRequest)
|
|
1099
|
-
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
1100
|
-
.setRequestContentType(ContentType.Json)
|
|
1101
|
-
.addResponse({
|
|
1102
|
-
schema: pingConfigPayloadResponse,
|
|
1103
|
-
contentType: ContentType.Json,
|
|
1104
|
-
status: 200,
|
|
1105
|
-
})
|
|
1106
|
-
.setRetryAttempts(this.config, requestConfig)
|
|
1107
|
-
.setRetryDelayMs(this.config, requestConfig)
|
|
1108
|
-
.setResponseValidation(this.config, requestConfig)
|
|
1109
|
-
.addHeaderParam({ key: 'Content-Type', value: 'application/json' })
|
|
1110
|
-
.addBody(body)
|
|
1111
|
-
.build();
|
|
1112
|
-
return this.client.call<PingConfigPayload>(request);
|
|
1113
|
-
}
|
|
1114
|
-
|
|
1115
|
-
/**
|
|
1116
|
-
* Removes a ping_email integration configuration from the project. This will disable the integration's functionality within the project.
|
|
1117
|
-
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1118
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
1119
|
-
*/
|
|
1120
|
-
async deletePingEmailIntegration(requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
|
|
1121
|
-
const request = new RequestBuilder()
|
|
1122
|
-
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1123
|
-
.setConfig(this.config)
|
|
1124
|
-
.setMethod('DELETE')
|
|
1125
|
-
.setPath('/integrations/ping_email')
|
|
1126
|
-
.setRequestSchema(z.any())
|
|
1127
|
-
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
1128
|
-
.setRequestContentType(ContentType.Json)
|
|
1129
|
-
.addResponse({
|
|
1130
|
-
schema: z.undefined(),
|
|
1131
|
-
contentType: ContentType.NoContent,
|
|
1132
|
-
status: 204,
|
|
1133
|
-
})
|
|
1134
|
-
.setRetryAttempts(this.config, requestConfig)
|
|
1135
|
-
.setRetryDelayMs(this.config, requestConfig)
|
|
1136
|
-
.setResponseValidation(this.config, requestConfig)
|
|
1137
|
-
.build();
|
|
1138
|
-
return this.client.call<void>(request);
|
|
1139
|
-
}
|
|
1140
|
-
|
|
1141
|
-
/**
|
|
1142
|
-
* Removes a specific ping_email integration instance by ID from the project.
|
|
1143
|
-
* @param {string} id -
|
|
1144
|
-
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1145
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
1146
|
-
*/
|
|
1147
|
-
async deletePingEmailIntegrationById(id: string, requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
|
|
1148
|
-
const request = new RequestBuilder()
|
|
1149
|
-
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1150
|
-
.setConfig(this.config)
|
|
1151
|
-
.setMethod('DELETE')
|
|
1152
|
-
.setPath('/integrations/ping_email/{id}')
|
|
1153
|
-
.setRequestSchema(z.any())
|
|
1154
|
-
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
1155
|
-
.setRequestContentType(ContentType.Json)
|
|
1156
|
-
.addResponse({
|
|
1157
|
-
schema: z.undefined(),
|
|
1158
|
-
contentType: ContentType.NoContent,
|
|
1159
|
-
status: 204,
|
|
1160
|
-
})
|
|
1161
|
-
.setRetryAttempts(this.config, requestConfig)
|
|
1162
|
-
.setRetryDelayMs(this.config, requestConfig)
|
|
1163
|
-
.setResponseValidation(this.config, requestConfig)
|
|
1164
|
-
.addPathParam({
|
|
1165
|
-
key: 'id',
|
|
1166
|
-
value: id,
|
|
1167
|
-
})
|
|
1168
|
-
.build();
|
|
1169
|
-
return this.client.call<void>(request);
|
|
1170
|
-
}
|
|
1171
|
-
|
|
1172
|
-
/**
|
|
1173
|
-
* Retrieves the current sendgrid integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
1174
|
-
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1175
|
-
* @returns {Promise<HttpResponse<SendgridConfigCollection>>} OK
|
|
1176
|
-
*/
|
|
1177
|
-
async getSendgridIntegration(requestConfig?: RequestConfig): Promise<HttpResponse<SendgridConfigCollection>> {
|
|
1178
|
-
const request = new RequestBuilder()
|
|
1179
|
-
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1180
|
-
.setConfig(this.config)
|
|
1181
|
-
.setMethod('GET')
|
|
1182
|
-
.setPath('/integrations/sendgrid')
|
|
1183
|
-
.setRequestSchema(z.any())
|
|
1184
|
-
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
1185
|
-
.setRequestContentType(ContentType.Json)
|
|
1186
|
-
.addResponse({
|
|
1187
|
-
schema: sendgridConfigCollectionResponse,
|
|
1188
|
-
contentType: ContentType.Json,
|
|
1189
|
-
status: 200,
|
|
1190
|
-
})
|
|
1191
|
-
.setRetryAttempts(this.config, requestConfig)
|
|
1192
|
-
.setRetryDelayMs(this.config, requestConfig)
|
|
1193
|
-
.setResponseValidation(this.config, requestConfig)
|
|
1194
|
-
.build();
|
|
1195
|
-
return this.client.call<SendgridConfigCollection>(request);
|
|
1196
|
-
}
|
|
1197
|
-
|
|
1198
|
-
/**
|
|
1199
|
-
* Creates or updates a sendgrid integration for the project. Only administrators can configure integrations.
|
|
1200
|
-
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1201
|
-
* @returns {Promise<HttpResponse<SendgridConfigPayload>>} OK
|
|
1202
|
-
*/
|
|
1203
|
-
async saveSendgridIntegration(
|
|
1204
|
-
body: SendgridConfigPayload,
|
|
1205
|
-
requestConfig?: RequestConfig,
|
|
1206
|
-
): Promise<HttpResponse<SendgridConfigPayload>> {
|
|
1207
|
-
const request = new RequestBuilder()
|
|
1208
|
-
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1209
|
-
.setConfig(this.config)
|
|
1210
|
-
.setMethod('PUT')
|
|
1211
|
-
.setPath('/integrations/sendgrid')
|
|
1212
|
-
.setRequestSchema(sendgridConfigPayloadRequest)
|
|
1213
|
-
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
1214
|
-
.setRequestContentType(ContentType.Json)
|
|
1215
|
-
.addResponse({
|
|
1216
|
-
schema: sendgridConfigPayloadResponse,
|
|
1217
|
-
contentType: ContentType.Json,
|
|
1218
|
-
status: 200,
|
|
1219
|
-
})
|
|
1220
|
-
.setRetryAttempts(this.config, requestConfig)
|
|
1221
|
-
.setRetryDelayMs(this.config, requestConfig)
|
|
1222
|
-
.setResponseValidation(this.config, requestConfig)
|
|
1223
|
-
.addHeaderParam({ key: 'Content-Type', value: 'application/json' })
|
|
1224
|
-
.addBody(body)
|
|
1225
|
-
.build();
|
|
1226
|
-
return this.client.call<SendgridConfigPayload>(request);
|
|
1227
|
-
}
|
|
1228
|
-
|
|
1229
|
-
/**
|
|
1230
|
-
* Removes a sendgrid integration configuration from the project. This will disable the integration's functionality within the project.
|
|
1231
|
-
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1232
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
1233
|
-
*/
|
|
1234
|
-
async deleteSendgridIntegration(requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
|
|
1235
|
-
const request = new RequestBuilder()
|
|
1236
|
-
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1237
|
-
.setConfig(this.config)
|
|
1238
|
-
.setMethod('DELETE')
|
|
1239
|
-
.setPath('/integrations/sendgrid')
|
|
1240
|
-
.setRequestSchema(z.any())
|
|
1241
|
-
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
1242
|
-
.setRequestContentType(ContentType.Json)
|
|
1243
|
-
.addResponse({
|
|
1244
|
-
schema: z.undefined(),
|
|
1245
|
-
contentType: ContentType.NoContent,
|
|
1246
|
-
status: 204,
|
|
1247
|
-
})
|
|
1248
|
-
.setRetryAttempts(this.config, requestConfig)
|
|
1249
|
-
.setRetryDelayMs(this.config, requestConfig)
|
|
1250
|
-
.setResponseValidation(this.config, requestConfig)
|
|
1251
|
-
.build();
|
|
1252
|
-
return this.client.call<void>(request);
|
|
1253
|
-
}
|
|
1254
|
-
|
|
1255
|
-
/**
|
|
1256
|
-
* Removes a specific sendgrid integration instance by ID from the project.
|
|
1257
|
-
* @param {string} id -
|
|
1258
|
-
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1259
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
1260
|
-
*/
|
|
1261
|
-
async deleteSendgridIntegrationById(id: string, requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
|
|
1262
|
-
const request = new RequestBuilder()
|
|
1263
|
-
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1264
|
-
.setConfig(this.config)
|
|
1265
|
-
.setMethod('DELETE')
|
|
1266
|
-
.setPath('/integrations/sendgrid/{id}')
|
|
1267
|
-
.setRequestSchema(z.any())
|
|
1268
|
-
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
1269
|
-
.setRequestContentType(ContentType.Json)
|
|
1270
|
-
.addResponse({
|
|
1271
|
-
schema: z.undefined(),
|
|
1272
|
-
contentType: ContentType.NoContent,
|
|
1273
|
-
status: 204,
|
|
1274
|
-
})
|
|
1275
|
-
.setRetryAttempts(this.config, requestConfig)
|
|
1276
|
-
.setRetryDelayMs(this.config, requestConfig)
|
|
1277
|
-
.setResponseValidation(this.config, requestConfig)
|
|
1278
|
-
.addPathParam({
|
|
1279
|
-
key: 'id',
|
|
1280
|
-
value: id,
|
|
1281
|
-
})
|
|
1282
|
-
.build();
|
|
1283
|
-
return this.client.call<void>(request);
|
|
1284
|
-
}
|
|
1285
|
-
|
|
1286
|
-
/**
|
|
1287
|
-
* Retrieves the current ses integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
1288
|
-
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1289
|
-
* @returns {Promise<HttpResponse<SesConfigCollection>>} OK
|
|
1290
|
-
*/
|
|
1291
|
-
async getSesIntegration(requestConfig?: RequestConfig): Promise<HttpResponse<SesConfigCollection>> {
|
|
1292
|
-
const request = new RequestBuilder()
|
|
1293
|
-
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1294
|
-
.setConfig(this.config)
|
|
1295
|
-
.setMethod('GET')
|
|
1296
|
-
.setPath('/integrations/ses')
|
|
1297
|
-
.setRequestSchema(z.any())
|
|
1298
|
-
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
1299
|
-
.setRequestContentType(ContentType.Json)
|
|
1300
|
-
.addResponse({
|
|
1301
|
-
schema: sesConfigCollectionResponse,
|
|
1302
|
-
contentType: ContentType.Json,
|
|
1303
|
-
status: 200,
|
|
1304
|
-
})
|
|
1305
|
-
.setRetryAttempts(this.config, requestConfig)
|
|
1306
|
-
.setRetryDelayMs(this.config, requestConfig)
|
|
1307
|
-
.setResponseValidation(this.config, requestConfig)
|
|
1308
|
-
.build();
|
|
1309
|
-
return this.client.call<SesConfigCollection>(request);
|
|
1310
|
-
}
|
|
1311
|
-
|
|
1312
|
-
/**
|
|
1313
|
-
* Creates or updates a ses integration for the project. Only administrators can configure integrations.
|
|
1314
|
-
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1315
|
-
* @returns {Promise<HttpResponse<SesConfigPayload>>} OK
|
|
1316
|
-
*/
|
|
1317
|
-
async saveSesIntegration(
|
|
1318
|
-
body: SesConfigPayload,
|
|
1319
|
-
requestConfig?: RequestConfig,
|
|
1320
|
-
): Promise<HttpResponse<SesConfigPayload>> {
|
|
1321
|
-
const request = new RequestBuilder()
|
|
1322
|
-
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1323
|
-
.setConfig(this.config)
|
|
1324
|
-
.setMethod('PUT')
|
|
1325
|
-
.setPath('/integrations/ses')
|
|
1326
|
-
.setRequestSchema(sesConfigPayloadRequest)
|
|
1327
|
-
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
1328
|
-
.setRequestContentType(ContentType.Json)
|
|
1329
|
-
.addResponse({
|
|
1330
|
-
schema: sesConfigPayloadResponse,
|
|
1331
|
-
contentType: ContentType.Json,
|
|
1332
|
-
status: 200,
|
|
1333
|
-
})
|
|
1334
|
-
.setRetryAttempts(this.config, requestConfig)
|
|
1335
|
-
.setRetryDelayMs(this.config, requestConfig)
|
|
1336
|
-
.setResponseValidation(this.config, requestConfig)
|
|
1337
|
-
.addHeaderParam({ key: 'Content-Type', value: 'application/json' })
|
|
1338
|
-
.addBody(body)
|
|
1339
|
-
.build();
|
|
1340
|
-
return this.client.call<SesConfigPayload>(request);
|
|
1341
|
-
}
|
|
1342
|
-
|
|
1343
|
-
/**
|
|
1344
|
-
* Removes a ses integration configuration from the project. This will disable the integration's functionality within the project.
|
|
1345
|
-
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1346
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
1347
|
-
*/
|
|
1348
|
-
async deleteSesIntegration(requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
|
|
1349
|
-
const request = new RequestBuilder()
|
|
1350
|
-
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1351
|
-
.setConfig(this.config)
|
|
1352
|
-
.setMethod('DELETE')
|
|
1353
|
-
.setPath('/integrations/ses')
|
|
1354
|
-
.setRequestSchema(z.any())
|
|
1355
|
-
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
1356
|
-
.setRequestContentType(ContentType.Json)
|
|
1357
|
-
.addResponse({
|
|
1358
|
-
schema: z.undefined(),
|
|
1359
|
-
contentType: ContentType.NoContent,
|
|
1360
|
-
status: 204,
|
|
1361
|
-
})
|
|
1362
|
-
.setRetryAttempts(this.config, requestConfig)
|
|
1363
|
-
.setRetryDelayMs(this.config, requestConfig)
|
|
1364
|
-
.setResponseValidation(this.config, requestConfig)
|
|
1365
|
-
.build();
|
|
1366
|
-
return this.client.call<void>(request);
|
|
1367
|
-
}
|
|
1368
|
-
|
|
1369
|
-
/**
|
|
1370
|
-
* Removes a specific ses integration instance by ID from the project.
|
|
1371
|
-
* @param {string} id -
|
|
1372
|
-
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1373
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
1374
|
-
*/
|
|
1375
|
-
async deleteSesIntegrationById(id: string, requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
|
|
1376
|
-
const request = new RequestBuilder()
|
|
1377
|
-
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1378
|
-
.setConfig(this.config)
|
|
1379
|
-
.setMethod('DELETE')
|
|
1380
|
-
.setPath('/integrations/ses/{id}')
|
|
1381
|
-
.setRequestSchema(z.any())
|
|
1382
|
-
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
1383
|
-
.setRequestContentType(ContentType.Json)
|
|
1384
|
-
.addResponse({
|
|
1385
|
-
schema: z.undefined(),
|
|
1386
|
-
contentType: ContentType.NoContent,
|
|
1387
|
-
status: 204,
|
|
1388
|
-
})
|
|
1389
|
-
.setRetryAttempts(this.config, requestConfig)
|
|
1390
|
-
.setRetryDelayMs(this.config, requestConfig)
|
|
1391
|
-
.setResponseValidation(this.config, requestConfig)
|
|
1392
|
-
.addPathParam({
|
|
1393
|
-
key: 'id',
|
|
1394
|
-
value: id,
|
|
1395
|
-
})
|
|
1396
|
-
.build();
|
|
1397
|
-
return this.client.call<void>(request);
|
|
1398
|
-
}
|
|
1399
|
-
|
|
1400
|
-
/**
|
|
1401
|
-
* Retrieves the current slack integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
1402
|
-
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1403
|
-
* @returns {Promise<HttpResponse<SlackConfigCollection>>} OK
|
|
1404
|
-
*/
|
|
1405
|
-
async getSlackIntegration(requestConfig?: RequestConfig): Promise<HttpResponse<SlackConfigCollection>> {
|
|
1406
|
-
const request = new RequestBuilder()
|
|
1407
|
-
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1408
|
-
.setConfig(this.config)
|
|
1409
|
-
.setMethod('GET')
|
|
1410
|
-
.setPath('/integrations/slack')
|
|
1411
|
-
.setRequestSchema(z.any())
|
|
1412
|
-
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
1413
|
-
.setRequestContentType(ContentType.Json)
|
|
1414
|
-
.addResponse({
|
|
1415
|
-
schema: slackConfigCollectionResponse,
|
|
1416
|
-
contentType: ContentType.Json,
|
|
1417
|
-
status: 200,
|
|
1418
|
-
})
|
|
1419
|
-
.setRetryAttempts(this.config, requestConfig)
|
|
1420
|
-
.setRetryDelayMs(this.config, requestConfig)
|
|
1421
|
-
.setResponseValidation(this.config, requestConfig)
|
|
1422
|
-
.build();
|
|
1423
|
-
return this.client.call<SlackConfigCollection>(request);
|
|
1424
|
-
}
|
|
1425
|
-
|
|
1426
|
-
/**
|
|
1427
|
-
* Creates or updates a slack integration for the project. Only administrators can configure integrations.
|
|
1428
|
-
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1429
|
-
* @returns {Promise<HttpResponse<SlackConfigPayload>>} OK
|
|
1430
|
-
*/
|
|
1431
|
-
async saveSlackIntegration(
|
|
1432
|
-
body: SlackConfigPayload,
|
|
1433
|
-
requestConfig?: RequestConfig,
|
|
1434
|
-
): Promise<HttpResponse<SlackConfigPayload>> {
|
|
1435
|
-
const request = new RequestBuilder()
|
|
1436
|
-
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1437
|
-
.setConfig(this.config)
|
|
1438
|
-
.setMethod('PUT')
|
|
1439
|
-
.setPath('/integrations/slack')
|
|
1440
|
-
.setRequestSchema(slackConfigPayloadRequest)
|
|
1441
|
-
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
1442
|
-
.setRequestContentType(ContentType.Json)
|
|
1443
|
-
.addResponse({
|
|
1444
|
-
schema: slackConfigPayloadResponse,
|
|
721
|
+
schema: sendgridConfigPayloadResponse,
|
|
1445
722
|
contentType: ContentType.Json,
|
|
1446
723
|
status: 200,
|
|
1447
724
|
})
|
|
@@ -1451,47 +728,24 @@ export class IntegrationsService extends BaseService {
|
|
|
1451
728
|
.addHeaderParam({ key: 'Content-Type', value: 'application/json' })
|
|
1452
729
|
.addBody(body)
|
|
1453
730
|
.build();
|
|
1454
|
-
return this.client.call<
|
|
1455
|
-
}
|
|
1456
|
-
|
|
1457
|
-
/**
|
|
1458
|
-
* Removes a slack integration configuration from the project. This will disable the integration's functionality within the project.
|
|
1459
|
-
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1460
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
1461
|
-
*/
|
|
1462
|
-
async deleteSlackIntegration(requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
|
|
1463
|
-
const request = new RequestBuilder()
|
|
1464
|
-
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1465
|
-
.setConfig(this.config)
|
|
1466
|
-
.setMethod('DELETE')
|
|
1467
|
-
.setPath('/integrations/slack')
|
|
1468
|
-
.setRequestSchema(z.any())
|
|
1469
|
-
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
1470
|
-
.setRequestContentType(ContentType.Json)
|
|
1471
|
-
.addResponse({
|
|
1472
|
-
schema: z.undefined(),
|
|
1473
|
-
contentType: ContentType.NoContent,
|
|
1474
|
-
status: 204,
|
|
1475
|
-
})
|
|
1476
|
-
.setRetryAttempts(this.config, requestConfig)
|
|
1477
|
-
.setRetryDelayMs(this.config, requestConfig)
|
|
1478
|
-
.setResponseValidation(this.config, requestConfig)
|
|
1479
|
-
.build();
|
|
1480
|
-
return this.client.call<void>(request);
|
|
731
|
+
return this.client.call<SendgridConfigPayload>(request);
|
|
1481
732
|
}
|
|
1482
733
|
|
|
1483
734
|
/**
|
|
1484
|
-
*
|
|
1485
|
-
* @param {string} id -
|
|
735
|
+
* Deletes the SendGrid integration configuration from the project. This will disable the integration's functionality within the project.
|
|
736
|
+
* @param {string} [params.id] -
|
|
1486
737
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1487
738
|
* @returns {Promise<HttpResponse<any>>} No Content
|
|
1488
739
|
*/
|
|
1489
|
-
async
|
|
740
|
+
async deleteSendgridIntegration(
|
|
741
|
+
params?: DeleteSendgridIntegrationParams,
|
|
742
|
+
requestConfig?: RequestConfig,
|
|
743
|
+
): Promise<HttpResponse<void>> {
|
|
1490
744
|
const request = new RequestBuilder()
|
|
1491
745
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1492
746
|
.setConfig(this.config)
|
|
1493
747
|
.setMethod('DELETE')
|
|
1494
|
-
.setPath('/integrations/
|
|
748
|
+
.setPath('/integrations/sendgrid')
|
|
1495
749
|
.setRequestSchema(z.any())
|
|
1496
750
|
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
1497
751
|
.setRequestContentType(ContentType.Json)
|
|
@@ -1503,30 +757,30 @@ export class IntegrationsService extends BaseService {
|
|
|
1503
757
|
.setRetryAttempts(this.config, requestConfig)
|
|
1504
758
|
.setRetryDelayMs(this.config, requestConfig)
|
|
1505
759
|
.setResponseValidation(this.config, requestConfig)
|
|
1506
|
-
.
|
|
760
|
+
.addQueryParam({
|
|
1507
761
|
key: 'id',
|
|
1508
|
-
value: id,
|
|
762
|
+
value: params?.id,
|
|
1509
763
|
})
|
|
1510
764
|
.build();
|
|
1511
765
|
return this.client.call<void>(request);
|
|
1512
766
|
}
|
|
1513
767
|
|
|
1514
768
|
/**
|
|
1515
|
-
* Retrieves the current
|
|
769
|
+
* Retrieves the current Amazon SES integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
1516
770
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1517
|
-
* @returns {Promise<HttpResponse<
|
|
771
|
+
* @returns {Promise<HttpResponse<SesConfigCollection>>} OK
|
|
1518
772
|
*/
|
|
1519
|
-
async
|
|
773
|
+
async listSesIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<SesConfigCollection>> {
|
|
1520
774
|
const request = new RequestBuilder()
|
|
1521
775
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1522
776
|
.setConfig(this.config)
|
|
1523
777
|
.setMethod('GET')
|
|
1524
|
-
.setPath('/integrations/
|
|
778
|
+
.setPath('/integrations/ses')
|
|
1525
779
|
.setRequestSchema(z.any())
|
|
1526
780
|
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
1527
781
|
.setRequestContentType(ContentType.Json)
|
|
1528
782
|
.addResponse({
|
|
1529
|
-
schema:
|
|
783
|
+
schema: sesConfigCollectionResponse,
|
|
1530
784
|
contentType: ContentType.Json,
|
|
1531
785
|
status: 200,
|
|
1532
786
|
})
|
|
@@ -1534,28 +788,28 @@ export class IntegrationsService extends BaseService {
|
|
|
1534
788
|
.setRetryDelayMs(this.config, requestConfig)
|
|
1535
789
|
.setResponseValidation(this.config, requestConfig)
|
|
1536
790
|
.build();
|
|
1537
|
-
return this.client.call<
|
|
791
|
+
return this.client.call<SesConfigCollection>(request);
|
|
1538
792
|
}
|
|
1539
793
|
|
|
1540
794
|
/**
|
|
1541
|
-
*
|
|
795
|
+
* Updates or creates the Amazon SES integration for the project.
|
|
1542
796
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1543
|
-
* @returns {Promise<HttpResponse<
|
|
797
|
+
* @returns {Promise<HttpResponse<SesConfigPayload>>} OK
|
|
1544
798
|
*/
|
|
1545
|
-
async
|
|
1546
|
-
body:
|
|
799
|
+
async saveSesIntegration(
|
|
800
|
+
body: SesConfigPayload,
|
|
1547
801
|
requestConfig?: RequestConfig,
|
|
1548
|
-
): Promise<HttpResponse<
|
|
802
|
+
): Promise<HttpResponse<SesConfigPayload>> {
|
|
1549
803
|
const request = new RequestBuilder()
|
|
1550
804
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1551
805
|
.setConfig(this.config)
|
|
1552
806
|
.setMethod('PUT')
|
|
1553
|
-
.setPath('/integrations/
|
|
1554
|
-
.setRequestSchema(
|
|
807
|
+
.setPath('/integrations/ses')
|
|
808
|
+
.setRequestSchema(sesConfigPayloadRequest)
|
|
1555
809
|
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
1556
810
|
.setRequestContentType(ContentType.Json)
|
|
1557
811
|
.addResponse({
|
|
1558
|
-
schema:
|
|
812
|
+
schema: sesConfigPayloadResponse,
|
|
1559
813
|
contentType: ContentType.Json,
|
|
1560
814
|
status: 200,
|
|
1561
815
|
})
|
|
@@ -1565,47 +819,24 @@ export class IntegrationsService extends BaseService {
|
|
|
1565
819
|
.addHeaderParam({ key: 'Content-Type', value: 'application/json' })
|
|
1566
820
|
.addBody(body)
|
|
1567
821
|
.build();
|
|
1568
|
-
return this.client.call<
|
|
1569
|
-
}
|
|
1570
|
-
|
|
1571
|
-
/**
|
|
1572
|
-
* Removes a stripe integration configuration from the project. This will disable the integration's functionality within the project.
|
|
1573
|
-
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1574
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
1575
|
-
*/
|
|
1576
|
-
async deleteStripeIntegration(requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
|
|
1577
|
-
const request = new RequestBuilder()
|
|
1578
|
-
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1579
|
-
.setConfig(this.config)
|
|
1580
|
-
.setMethod('DELETE')
|
|
1581
|
-
.setPath('/integrations/stripe')
|
|
1582
|
-
.setRequestSchema(z.any())
|
|
1583
|
-
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
1584
|
-
.setRequestContentType(ContentType.Json)
|
|
1585
|
-
.addResponse({
|
|
1586
|
-
schema: z.undefined(),
|
|
1587
|
-
contentType: ContentType.NoContent,
|
|
1588
|
-
status: 204,
|
|
1589
|
-
})
|
|
1590
|
-
.setRetryAttempts(this.config, requestConfig)
|
|
1591
|
-
.setRetryDelayMs(this.config, requestConfig)
|
|
1592
|
-
.setResponseValidation(this.config, requestConfig)
|
|
1593
|
-
.build();
|
|
1594
|
-
return this.client.call<void>(request);
|
|
822
|
+
return this.client.call<SesConfigPayload>(request);
|
|
1595
823
|
}
|
|
1596
824
|
|
|
1597
825
|
/**
|
|
1598
|
-
*
|
|
1599
|
-
* @param {string} id -
|
|
826
|
+
* Deletes the Amazon SES integration configuration from the project. This will disable the integration's functionality within the project.
|
|
827
|
+
* @param {string} [params.id] -
|
|
1600
828
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1601
829
|
* @returns {Promise<HttpResponse<any>>} No Content
|
|
1602
830
|
*/
|
|
1603
|
-
async
|
|
831
|
+
async deleteSesIntegration(
|
|
832
|
+
params?: DeleteSesIntegrationParams,
|
|
833
|
+
requestConfig?: RequestConfig,
|
|
834
|
+
): Promise<HttpResponse<void>> {
|
|
1604
835
|
const request = new RequestBuilder()
|
|
1605
836
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1606
837
|
.setConfig(this.config)
|
|
1607
838
|
.setMethod('DELETE')
|
|
1608
|
-
.setPath('/integrations/
|
|
839
|
+
.setPath('/integrations/ses')
|
|
1609
840
|
.setRequestSchema(z.any())
|
|
1610
841
|
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
1611
842
|
.setRequestContentType(ContentType.Json)
|
|
@@ -1617,30 +848,30 @@ export class IntegrationsService extends BaseService {
|
|
|
1617
848
|
.setRetryAttempts(this.config, requestConfig)
|
|
1618
849
|
.setRetryDelayMs(this.config, requestConfig)
|
|
1619
850
|
.setResponseValidation(this.config, requestConfig)
|
|
1620
|
-
.
|
|
851
|
+
.addQueryParam({
|
|
1621
852
|
key: 'id',
|
|
1622
|
-
value: id,
|
|
853
|
+
value: params?.id,
|
|
1623
854
|
})
|
|
1624
855
|
.build();
|
|
1625
856
|
return this.client.call<void>(request);
|
|
1626
857
|
}
|
|
1627
858
|
|
|
1628
859
|
/**
|
|
1629
|
-
* Retrieves the current
|
|
860
|
+
* Retrieves the current Slack integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
1630
861
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1631
|
-
* @returns {Promise<HttpResponse<
|
|
862
|
+
* @returns {Promise<HttpResponse<SlackConfigCollection>>} OK
|
|
1632
863
|
*/
|
|
1633
|
-
async
|
|
864
|
+
async listSlackIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<SlackConfigCollection>> {
|
|
1634
865
|
const request = new RequestBuilder()
|
|
1635
866
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1636
867
|
.setConfig(this.config)
|
|
1637
868
|
.setMethod('GET')
|
|
1638
|
-
.setPath('/integrations/
|
|
869
|
+
.setPath('/integrations/slack')
|
|
1639
870
|
.setRequestSchema(z.any())
|
|
1640
871
|
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
1641
872
|
.setRequestContentType(ContentType.Json)
|
|
1642
873
|
.addResponse({
|
|
1643
|
-
schema:
|
|
874
|
+
schema: slackConfigCollectionResponse,
|
|
1644
875
|
contentType: ContentType.Json,
|
|
1645
876
|
status: 200,
|
|
1646
877
|
})
|
|
@@ -1648,25 +879,28 @@ export class IntegrationsService extends BaseService {
|
|
|
1648
879
|
.setRetryDelayMs(this.config, requestConfig)
|
|
1649
880
|
.setResponseValidation(this.config, requestConfig)
|
|
1650
881
|
.build();
|
|
1651
|
-
return this.client.call<
|
|
882
|
+
return this.client.call<SlackConfigCollection>(request);
|
|
1652
883
|
}
|
|
1653
884
|
|
|
1654
885
|
/**
|
|
1655
|
-
*
|
|
886
|
+
* Updates or creates the Slack integration for the project.
|
|
1656
887
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1657
|
-
* @returns {Promise<HttpResponse<
|
|
888
|
+
* @returns {Promise<HttpResponse<SlackConfigPayload>>} OK
|
|
1658
889
|
*/
|
|
1659
|
-
async
|
|
890
|
+
async saveSlackIntegration(
|
|
891
|
+
body: SlackConfigPayload,
|
|
892
|
+
requestConfig?: RequestConfig,
|
|
893
|
+
): Promise<HttpResponse<SlackConfigPayload>> {
|
|
1660
894
|
const request = new RequestBuilder()
|
|
1661
895
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1662
896
|
.setConfig(this.config)
|
|
1663
897
|
.setMethod('PUT')
|
|
1664
|
-
.setPath('/integrations/
|
|
1665
|
-
.setRequestSchema(
|
|
898
|
+
.setPath('/integrations/slack')
|
|
899
|
+
.setRequestSchema(slackConfigPayloadRequest)
|
|
1666
900
|
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
1667
901
|
.setRequestContentType(ContentType.Json)
|
|
1668
902
|
.addResponse({
|
|
1669
|
-
schema:
|
|
903
|
+
schema: slackConfigPayloadResponse,
|
|
1670
904
|
contentType: ContentType.Json,
|
|
1671
905
|
status: 200,
|
|
1672
906
|
})
|
|
@@ -1676,47 +910,24 @@ export class IntegrationsService extends BaseService {
|
|
|
1676
910
|
.addHeaderParam({ key: 'Content-Type', value: 'application/json' })
|
|
1677
911
|
.addBody(body)
|
|
1678
912
|
.build();
|
|
1679
|
-
return this.client.call<
|
|
1680
|
-
}
|
|
1681
|
-
|
|
1682
|
-
/**
|
|
1683
|
-
* Removes a templates integration configuration from the project. This will disable the integration's functionality within the project.
|
|
1684
|
-
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1685
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
1686
|
-
*/
|
|
1687
|
-
async deleteTemplatesIntegration(requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
|
|
1688
|
-
const request = new RequestBuilder()
|
|
1689
|
-
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1690
|
-
.setConfig(this.config)
|
|
1691
|
-
.setMethod('DELETE')
|
|
1692
|
-
.setPath('/integrations/templates')
|
|
1693
|
-
.setRequestSchema(z.any())
|
|
1694
|
-
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
1695
|
-
.setRequestContentType(ContentType.Json)
|
|
1696
|
-
.addResponse({
|
|
1697
|
-
schema: z.undefined(),
|
|
1698
|
-
contentType: ContentType.NoContent,
|
|
1699
|
-
status: 204,
|
|
1700
|
-
})
|
|
1701
|
-
.setRetryAttempts(this.config, requestConfig)
|
|
1702
|
-
.setRetryDelayMs(this.config, requestConfig)
|
|
1703
|
-
.setResponseValidation(this.config, requestConfig)
|
|
1704
|
-
.build();
|
|
1705
|
-
return this.client.call<void>(request);
|
|
913
|
+
return this.client.call<SlackConfigPayload>(request);
|
|
1706
914
|
}
|
|
1707
915
|
|
|
1708
916
|
/**
|
|
1709
|
-
*
|
|
1710
|
-
* @param {string} id -
|
|
917
|
+
* Deletes the Slack integration configuration from the project. This will disable the integration's functionality within the project.
|
|
918
|
+
* @param {string} [params.id] -
|
|
1711
919
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1712
920
|
* @returns {Promise<HttpResponse<any>>} No Content
|
|
1713
921
|
*/
|
|
1714
|
-
async
|
|
922
|
+
async deleteSlackIntegration(
|
|
923
|
+
params?: DeleteSlackIntegrationParams,
|
|
924
|
+
requestConfig?: RequestConfig,
|
|
925
|
+
): Promise<HttpResponse<void>> {
|
|
1715
926
|
const request = new RequestBuilder()
|
|
1716
927
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1717
928
|
.setConfig(this.config)
|
|
1718
929
|
.setMethod('DELETE')
|
|
1719
|
-
.setPath('/integrations/
|
|
930
|
+
.setPath('/integrations/slack')
|
|
1720
931
|
.setRequestSchema(z.any())
|
|
1721
932
|
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
1722
933
|
.setRequestContentType(ContentType.Json)
|
|
@@ -1728,20 +939,20 @@ export class IntegrationsService extends BaseService {
|
|
|
1728
939
|
.setRetryAttempts(this.config, requestConfig)
|
|
1729
940
|
.setRetryDelayMs(this.config, requestConfig)
|
|
1730
941
|
.setResponseValidation(this.config, requestConfig)
|
|
1731
|
-
.
|
|
942
|
+
.addQueryParam({
|
|
1732
943
|
key: 'id',
|
|
1733
|
-
value: id,
|
|
944
|
+
value: params?.id,
|
|
1734
945
|
})
|
|
1735
946
|
.build();
|
|
1736
947
|
return this.client.call<void>(request);
|
|
1737
948
|
}
|
|
1738
949
|
|
|
1739
950
|
/**
|
|
1740
|
-
* Retrieves the current
|
|
951
|
+
* Retrieves the current Twilio integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
1741
952
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1742
953
|
* @returns {Promise<HttpResponse<TwilioConfigCollection>>} OK
|
|
1743
954
|
*/
|
|
1744
|
-
async
|
|
955
|
+
async listTwilioIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<TwilioConfigCollection>> {
|
|
1745
956
|
const request = new RequestBuilder()
|
|
1746
957
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1747
958
|
.setConfig(this.config)
|
|
@@ -1763,7 +974,7 @@ export class IntegrationsService extends BaseService {
|
|
|
1763
974
|
}
|
|
1764
975
|
|
|
1765
976
|
/**
|
|
1766
|
-
*
|
|
977
|
+
* Updates or creates the Twilio integration for the project.
|
|
1767
978
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1768
979
|
* @returns {Promise<HttpResponse<TwilioConfigPayload>>} OK
|
|
1769
980
|
*/
|
|
@@ -1794,11 +1005,15 @@ export class IntegrationsService extends BaseService {
|
|
|
1794
1005
|
}
|
|
1795
1006
|
|
|
1796
1007
|
/**
|
|
1797
|
-
*
|
|
1008
|
+
* Deletes the Twilio integration configuration from the project. This will disable the integration's functionality within the project.
|
|
1009
|
+
* @param {string} [params.id] -
|
|
1798
1010
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1799
1011
|
* @returns {Promise<HttpResponse<any>>} No Content
|
|
1800
1012
|
*/
|
|
1801
|
-
async deleteTwilioIntegration(
|
|
1013
|
+
async deleteTwilioIntegration(
|
|
1014
|
+
params?: DeleteTwilioIntegrationParams,
|
|
1015
|
+
requestConfig?: RequestConfig,
|
|
1016
|
+
): Promise<HttpResponse<void>> {
|
|
1802
1017
|
const request = new RequestBuilder()
|
|
1803
1018
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1804
1019
|
.setConfig(this.config)
|
|
@@ -1815,47 +1030,20 @@ export class IntegrationsService extends BaseService {
|
|
|
1815
1030
|
.setRetryAttempts(this.config, requestConfig)
|
|
1816
1031
|
.setRetryDelayMs(this.config, requestConfig)
|
|
1817
1032
|
.setResponseValidation(this.config, requestConfig)
|
|
1818
|
-
.
|
|
1819
|
-
return this.client.call<void>(request);
|
|
1820
|
-
}
|
|
1821
|
-
|
|
1822
|
-
/**
|
|
1823
|
-
* Removes a specific twilio integration instance by ID from the project.
|
|
1824
|
-
* @param {string} id -
|
|
1825
|
-
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1826
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
1827
|
-
*/
|
|
1828
|
-
async deleteTwilioIntegrationById(id: string, requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
|
|
1829
|
-
const request = new RequestBuilder()
|
|
1830
|
-
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1831
|
-
.setConfig(this.config)
|
|
1832
|
-
.setMethod('DELETE')
|
|
1833
|
-
.setPath('/integrations/twilio/{id}')
|
|
1834
|
-
.setRequestSchema(z.any())
|
|
1835
|
-
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
1836
|
-
.setRequestContentType(ContentType.Json)
|
|
1837
|
-
.addResponse({
|
|
1838
|
-
schema: z.undefined(),
|
|
1839
|
-
contentType: ContentType.NoContent,
|
|
1840
|
-
status: 204,
|
|
1841
|
-
})
|
|
1842
|
-
.setRetryAttempts(this.config, requestConfig)
|
|
1843
|
-
.setRetryDelayMs(this.config, requestConfig)
|
|
1844
|
-
.setResponseValidation(this.config, requestConfig)
|
|
1845
|
-
.addPathParam({
|
|
1033
|
+
.addQueryParam({
|
|
1846
1034
|
key: 'id',
|
|
1847
|
-
value: id,
|
|
1035
|
+
value: params?.id,
|
|
1848
1036
|
})
|
|
1849
1037
|
.build();
|
|
1850
1038
|
return this.client.call<void>(request);
|
|
1851
1039
|
}
|
|
1852
1040
|
|
|
1853
1041
|
/**
|
|
1854
|
-
* Retrieves the current
|
|
1042
|
+
* Retrieves the current Web Push integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
1855
1043
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1856
1044
|
* @returns {Promise<HttpResponse<WebpushConfigCollection>>} OK
|
|
1857
1045
|
*/
|
|
1858
|
-
async
|
|
1046
|
+
async listWebPushIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<WebpushConfigCollection>> {
|
|
1859
1047
|
const request = new RequestBuilder()
|
|
1860
1048
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1861
1049
|
.setConfig(this.config)
|
|
@@ -1877,7 +1065,7 @@ export class IntegrationsService extends BaseService {
|
|
|
1877
1065
|
}
|
|
1878
1066
|
|
|
1879
1067
|
/**
|
|
1880
|
-
*
|
|
1068
|
+
* Updates or creates the Web Push integration for the project.
|
|
1881
1069
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1882
1070
|
* @returns {Promise<HttpResponse<WebpushConfigPayload>>} OK
|
|
1883
1071
|
*/
|
|
@@ -1908,11 +1096,15 @@ export class IntegrationsService extends BaseService {
|
|
|
1908
1096
|
}
|
|
1909
1097
|
|
|
1910
1098
|
/**
|
|
1911
|
-
*
|
|
1099
|
+
* Deletes the Web Push integration configuration from the project. This will disable the integration's functionality within the project.
|
|
1100
|
+
* @param {string} [params.id] -
|
|
1912
1101
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1913
1102
|
* @returns {Promise<HttpResponse<any>>} No Content
|
|
1914
1103
|
*/
|
|
1915
|
-
async deleteWebPushIntegration(
|
|
1104
|
+
async deleteWebPushIntegration(
|
|
1105
|
+
params?: DeleteWebPushIntegrationParams,
|
|
1106
|
+
requestConfig?: RequestConfig,
|
|
1107
|
+
): Promise<HttpResponse<void>> {
|
|
1916
1108
|
const request = new RequestBuilder()
|
|
1917
1109
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1918
1110
|
.setConfig(this.config)
|
|
@@ -1929,36 +1121,9 @@ export class IntegrationsService extends BaseService {
|
|
|
1929
1121
|
.setRetryAttempts(this.config, requestConfig)
|
|
1930
1122
|
.setRetryDelayMs(this.config, requestConfig)
|
|
1931
1123
|
.setResponseValidation(this.config, requestConfig)
|
|
1932
|
-
.
|
|
1933
|
-
return this.client.call<void>(request);
|
|
1934
|
-
}
|
|
1935
|
-
|
|
1936
|
-
/**
|
|
1937
|
-
* Removes a specific web_push integration instance by ID from the project.
|
|
1938
|
-
* @param {string} id -
|
|
1939
|
-
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1940
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
1941
|
-
*/
|
|
1942
|
-
async deleteWebPushIntegrationById(id: string, requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
|
|
1943
|
-
const request = new RequestBuilder()
|
|
1944
|
-
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1945
|
-
.setConfig(this.config)
|
|
1946
|
-
.setMethod('DELETE')
|
|
1947
|
-
.setPath('/integrations/web_push/{id}')
|
|
1948
|
-
.setRequestSchema(z.any())
|
|
1949
|
-
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
1950
|
-
.setRequestContentType(ContentType.Json)
|
|
1951
|
-
.addResponse({
|
|
1952
|
-
schema: z.undefined(),
|
|
1953
|
-
contentType: ContentType.NoContent,
|
|
1954
|
-
status: 204,
|
|
1955
|
-
})
|
|
1956
|
-
.setRetryAttempts(this.config, requestConfig)
|
|
1957
|
-
.setRetryDelayMs(this.config, requestConfig)
|
|
1958
|
-
.setResponseValidation(this.config, requestConfig)
|
|
1959
|
-
.addPathParam({
|
|
1124
|
+
.addQueryParam({
|
|
1960
1125
|
key: 'id',
|
|
1961
|
-
value: id,
|
|
1126
|
+
value: params?.id,
|
|
1962
1127
|
})
|
|
1963
1128
|
.build();
|
|
1964
1129
|
return this.client.call<void>(request);
|