magicbell-js 0.1.0 → 0.2.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 +11 -21
- 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 +97 -193
- package/dist/commonjs/project-client/services/integrations/integrations-service.d.ts.map +1 -1
- package/dist/commonjs/project-client/services/integrations/integrations-service.js +128 -528
- 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/theme.d.ts +56 -56
- package/dist/commonjs/project-client/services/integrations/request-params.d.ts +48 -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 +12 -12
- package/dist/commonjs/user-client/services/integrations/integrations-service.js +20 -20
- package/dist/commonjs/user-client/services/integrations/integrations-service.js.map +1 -1
- package/dist/commonjs/user-client/services/integrations/models/authed-user.d.ts +8 -8
- package/dist/commonjs/user-client/services/integrations/models/inbox-config-payload.d.ts +98 -98
- package/dist/commonjs/user-client/services/integrations/models/slack-installation.d.ts +57 -57
- package/dist/commonjs/user-client/services/integrations/models/slack-start-install.d.ts +8 -8
- package/dist/commonjs/user-client/services/integrations/models/theme.d.ts +56 -56
- package/dist/commonjs/user-client/services/notifications/models/notification-collection.d.ts +56 -56
- package/dist/commonjs/user-client/services/notifications/models/notification.d.ts +32 -32
- package/dist/commonjs/user-client/services/notifications/notifications-service.d.ts +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 +97 -193
- package/dist/esm/project-client/services/integrations/integrations-service.d.ts.map +1 -1
- package/dist/esm/project-client/services/integrations/integrations-service.js +128 -528
- 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/theme.d.ts +56 -56
- package/dist/esm/project-client/services/integrations/request-params.d.ts +48 -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 +12 -12
- package/dist/esm/user-client/services/integrations/integrations-service.js +20 -20
- package/dist/esm/user-client/services/integrations/integrations-service.js.map +1 -1
- package/dist/esm/user-client/services/integrations/models/authed-user.d.ts +8 -8
- package/dist/esm/user-client/services/integrations/models/inbox-config-payload.d.ts +98 -98
- package/dist/esm/user-client/services/integrations/models/slack-installation.d.ts +57 -57
- package/dist/esm/user-client/services/integrations/models/slack-start-install.d.ts +8 -8
- package/dist/esm/user-client/services/integrations/models/theme.d.ts +56 -56
- package/dist/esm/user-client/services/notifications/models/notification-collection.d.ts +56 -56
- package/dist/esm/user-client/services/notifications/models/notification.d.ts +32 -32
- package/dist/esm/user-client/services/notifications/notifications-service.d.ts +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 +195 -545
- package/src/project-client/services/integrations/request-params.ts +64 -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 +20 -20
- 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/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/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/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/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/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/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
|
@@ -96,7 +96,25 @@ import {
|
|
|
96
96
|
webpushConfigPayloadRequest,
|
|
97
97
|
webpushConfigPayloadResponse,
|
|
98
98
|
} from './models/webpush-config-payload.js';
|
|
99
|
-
import {
|
|
99
|
+
import {
|
|
100
|
+
DeleteApnsIntegrationParams,
|
|
101
|
+
DeleteAwssnsIntegrationParams,
|
|
102
|
+
DeleteEventsourceIntegrationParams,
|
|
103
|
+
DeleteExpoIntegrationParams,
|
|
104
|
+
DeleteFcmIntegrationParams,
|
|
105
|
+
DeleteGithubIntegrationParams,
|
|
106
|
+
DeleteInboxIntegrationParams,
|
|
107
|
+
DeleteMailgunIntegrationParams,
|
|
108
|
+
DeletePingEmailIntegrationParams,
|
|
109
|
+
DeleteSendgridIntegrationParams,
|
|
110
|
+
DeleteSesIntegrationParams,
|
|
111
|
+
DeleteSlackIntegrationParams,
|
|
112
|
+
DeleteStripeIntegrationParams,
|
|
113
|
+
DeleteTemplatesIntegrationParams,
|
|
114
|
+
DeleteTwilioIntegrationParams,
|
|
115
|
+
DeleteWebPushIntegrationParams,
|
|
116
|
+
ListIntegrationsParams,
|
|
117
|
+
} from './request-params.js';
|
|
100
118
|
|
|
101
119
|
export class IntegrationsService extends BaseService {
|
|
102
120
|
/**
|
|
@@ -144,11 +162,11 @@ export class IntegrationsService extends BaseService {
|
|
|
144
162
|
}
|
|
145
163
|
|
|
146
164
|
/**
|
|
147
|
-
* Retrieves the current
|
|
165
|
+
* Retrieves the current APNs integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
148
166
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
149
167
|
* @returns {Promise<HttpResponse<ApnsConfigCollection>>} OK
|
|
150
168
|
*/
|
|
151
|
-
async
|
|
169
|
+
async listApnsIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<ApnsConfigCollection>> {
|
|
152
170
|
const request = new RequestBuilder()
|
|
153
171
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
154
172
|
.setConfig(this.config)
|
|
@@ -170,7 +188,7 @@ export class IntegrationsService extends BaseService {
|
|
|
170
188
|
}
|
|
171
189
|
|
|
172
190
|
/**
|
|
173
|
-
*
|
|
191
|
+
* Updates or creates the APNs integration for the project.
|
|
174
192
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
175
193
|
* @returns {Promise<HttpResponse<ApnsConfigPayload>>} OK
|
|
176
194
|
*/
|
|
@@ -201,11 +219,15 @@ export class IntegrationsService extends BaseService {
|
|
|
201
219
|
}
|
|
202
220
|
|
|
203
221
|
/**
|
|
204
|
-
*
|
|
222
|
+
* Deletes the APNs integration configuration from the project. This will disable the integration's functionality within the project.
|
|
223
|
+
* @param {string} [params.id] -
|
|
205
224
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
206
225
|
* @returns {Promise<HttpResponse<any>>} No Content
|
|
207
226
|
*/
|
|
208
|
-
async deleteApnsIntegration(
|
|
227
|
+
async deleteApnsIntegration(
|
|
228
|
+
params?: DeleteApnsIntegrationParams,
|
|
229
|
+
requestConfig?: RequestConfig,
|
|
230
|
+
): Promise<HttpResponse<void>> {
|
|
209
231
|
const request = new RequestBuilder()
|
|
210
232
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
211
233
|
.setConfig(this.config)
|
|
@@ -222,47 +244,20 @@ export class IntegrationsService extends BaseService {
|
|
|
222
244
|
.setRetryAttempts(this.config, requestConfig)
|
|
223
245
|
.setRetryDelayMs(this.config, requestConfig)
|
|
224
246
|
.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({
|
|
247
|
+
.addQueryParam({
|
|
253
248
|
key: 'id',
|
|
254
|
-
value: id,
|
|
249
|
+
value: params?.id,
|
|
255
250
|
})
|
|
256
251
|
.build();
|
|
257
252
|
return this.client.call<void>(request);
|
|
258
253
|
}
|
|
259
254
|
|
|
260
255
|
/**
|
|
261
|
-
* Retrieves the current
|
|
256
|
+
* Retrieves the current Amazon SNS integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
262
257
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
263
258
|
* @returns {Promise<HttpResponse<AwssnsConfigCollection>>} OK
|
|
264
259
|
*/
|
|
265
|
-
async
|
|
260
|
+
async listAwssnsIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<AwssnsConfigCollection>> {
|
|
266
261
|
const request = new RequestBuilder()
|
|
267
262
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
268
263
|
.setConfig(this.config)
|
|
@@ -284,7 +279,7 @@ export class IntegrationsService extends BaseService {
|
|
|
284
279
|
}
|
|
285
280
|
|
|
286
281
|
/**
|
|
287
|
-
*
|
|
282
|
+
* Updates or creates the Amazon SNS integration for the project.
|
|
288
283
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
289
284
|
* @returns {Promise<HttpResponse<AwssnsConfigPayload>>} OK
|
|
290
285
|
*/
|
|
@@ -315,11 +310,15 @@ export class IntegrationsService extends BaseService {
|
|
|
315
310
|
}
|
|
316
311
|
|
|
317
312
|
/**
|
|
318
|
-
*
|
|
313
|
+
* Deletes the Amazon SNS integration configuration from the project. This will disable the integration's functionality within the project.
|
|
314
|
+
* @param {string} [params.id] -
|
|
319
315
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
320
316
|
* @returns {Promise<HttpResponse<any>>} No Content
|
|
321
317
|
*/
|
|
322
|
-
async deleteAwssnsIntegration(
|
|
318
|
+
async deleteAwssnsIntegration(
|
|
319
|
+
params?: DeleteAwssnsIntegrationParams,
|
|
320
|
+
requestConfig?: RequestConfig,
|
|
321
|
+
): Promise<HttpResponse<void>> {
|
|
323
322
|
const request = new RequestBuilder()
|
|
324
323
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
325
324
|
.setConfig(this.config)
|
|
@@ -336,47 +335,20 @@ export class IntegrationsService extends BaseService {
|
|
|
336
335
|
.setRetryAttempts(this.config, requestConfig)
|
|
337
336
|
.setRetryDelayMs(this.config, requestConfig)
|
|
338
337
|
.setResponseValidation(this.config, requestConfig)
|
|
339
|
-
.
|
|
340
|
-
return this.client.call<void>(request);
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
/**
|
|
344
|
-
* Removes a specific awssns integration instance by ID from the project.
|
|
345
|
-
* @param {string} id -
|
|
346
|
-
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
347
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
348
|
-
*/
|
|
349
|
-
async deleteAwssnsIntegrationById(id: string, requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
|
|
350
|
-
const request = new RequestBuilder()
|
|
351
|
-
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
352
|
-
.setConfig(this.config)
|
|
353
|
-
.setMethod('DELETE')
|
|
354
|
-
.setPath('/integrations/awssns/{id}')
|
|
355
|
-
.setRequestSchema(z.any())
|
|
356
|
-
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
357
|
-
.setRequestContentType(ContentType.Json)
|
|
358
|
-
.addResponse({
|
|
359
|
-
schema: z.undefined(),
|
|
360
|
-
contentType: ContentType.NoContent,
|
|
361
|
-
status: 204,
|
|
362
|
-
})
|
|
363
|
-
.setRetryAttempts(this.config, requestConfig)
|
|
364
|
-
.setRetryDelayMs(this.config, requestConfig)
|
|
365
|
-
.setResponseValidation(this.config, requestConfig)
|
|
366
|
-
.addPathParam({
|
|
338
|
+
.addQueryParam({
|
|
367
339
|
key: 'id',
|
|
368
|
-
value: id,
|
|
340
|
+
value: params?.id,
|
|
369
341
|
})
|
|
370
342
|
.build();
|
|
371
343
|
return this.client.call<void>(request);
|
|
372
344
|
}
|
|
373
345
|
|
|
374
346
|
/**
|
|
375
|
-
* Retrieves the current
|
|
347
|
+
* Retrieves the current EventSource integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
376
348
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
377
349
|
* @returns {Promise<HttpResponse<EventSourceConfigCollection>>} OK
|
|
378
350
|
*/
|
|
379
|
-
async
|
|
351
|
+
async listEventsourceIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<EventSourceConfigCollection>> {
|
|
380
352
|
const request = new RequestBuilder()
|
|
381
353
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
382
354
|
.setConfig(this.config)
|
|
@@ -398,7 +370,7 @@ export class IntegrationsService extends BaseService {
|
|
|
398
370
|
}
|
|
399
371
|
|
|
400
372
|
/**
|
|
401
|
-
*
|
|
373
|
+
* Updates or creates the EventSource integration for the project.
|
|
402
374
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
403
375
|
* @returns {Promise<HttpResponse<EventSourceConfigPayload>>} OK
|
|
404
376
|
*/
|
|
@@ -429,11 +401,15 @@ export class IntegrationsService extends BaseService {
|
|
|
429
401
|
}
|
|
430
402
|
|
|
431
403
|
/**
|
|
432
|
-
*
|
|
404
|
+
* Deletes the EventSource integration configuration from the project. This will disable the integration's functionality within the project.
|
|
405
|
+
* @param {string} [params.id] -
|
|
433
406
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
434
407
|
* @returns {Promise<HttpResponse<any>>} No Content
|
|
435
408
|
*/
|
|
436
|
-
async deleteEventsourceIntegration(
|
|
409
|
+
async deleteEventsourceIntegration(
|
|
410
|
+
params?: DeleteEventsourceIntegrationParams,
|
|
411
|
+
requestConfig?: RequestConfig,
|
|
412
|
+
): Promise<HttpResponse<void>> {
|
|
437
413
|
const request = new RequestBuilder()
|
|
438
414
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
439
415
|
.setConfig(this.config)
|
|
@@ -450,47 +426,20 @@ export class IntegrationsService extends BaseService {
|
|
|
450
426
|
.setRetryAttempts(this.config, requestConfig)
|
|
451
427
|
.setRetryDelayMs(this.config, requestConfig)
|
|
452
428
|
.setResponseValidation(this.config, requestConfig)
|
|
453
|
-
.
|
|
454
|
-
return this.client.call<void>(request);
|
|
455
|
-
}
|
|
456
|
-
|
|
457
|
-
/**
|
|
458
|
-
* Removes a specific eventsource integration instance by ID from the project.
|
|
459
|
-
* @param {string} id -
|
|
460
|
-
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
461
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
462
|
-
*/
|
|
463
|
-
async deleteEventsourceIntegrationById(id: string, requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
|
|
464
|
-
const request = new RequestBuilder()
|
|
465
|
-
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
466
|
-
.setConfig(this.config)
|
|
467
|
-
.setMethod('DELETE')
|
|
468
|
-
.setPath('/integrations/eventsource/{id}')
|
|
469
|
-
.setRequestSchema(z.any())
|
|
470
|
-
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
471
|
-
.setRequestContentType(ContentType.Json)
|
|
472
|
-
.addResponse({
|
|
473
|
-
schema: z.undefined(),
|
|
474
|
-
contentType: ContentType.NoContent,
|
|
475
|
-
status: 204,
|
|
476
|
-
})
|
|
477
|
-
.setRetryAttempts(this.config, requestConfig)
|
|
478
|
-
.setRetryDelayMs(this.config, requestConfig)
|
|
479
|
-
.setResponseValidation(this.config, requestConfig)
|
|
480
|
-
.addPathParam({
|
|
429
|
+
.addQueryParam({
|
|
481
430
|
key: 'id',
|
|
482
|
-
value: id,
|
|
431
|
+
value: params?.id,
|
|
483
432
|
})
|
|
484
433
|
.build();
|
|
485
434
|
return this.client.call<void>(request);
|
|
486
435
|
}
|
|
487
436
|
|
|
488
437
|
/**
|
|
489
|
-
* Retrieves the current
|
|
438
|
+
* Retrieves the current Expo integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
490
439
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
491
440
|
* @returns {Promise<HttpResponse<ExpoConfigCollection>>} OK
|
|
492
441
|
*/
|
|
493
|
-
async
|
|
442
|
+
async listExpoIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<ExpoConfigCollection>> {
|
|
494
443
|
const request = new RequestBuilder()
|
|
495
444
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
496
445
|
.setConfig(this.config)
|
|
@@ -512,7 +461,7 @@ export class IntegrationsService extends BaseService {
|
|
|
512
461
|
}
|
|
513
462
|
|
|
514
463
|
/**
|
|
515
|
-
*
|
|
464
|
+
* Updates or creates the Expo integration for the project.
|
|
516
465
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
517
466
|
* @returns {Promise<HttpResponse<ExpoConfigPayload>>} OK
|
|
518
467
|
*/
|
|
@@ -543,11 +492,15 @@ export class IntegrationsService extends BaseService {
|
|
|
543
492
|
}
|
|
544
493
|
|
|
545
494
|
/**
|
|
546
|
-
*
|
|
495
|
+
* Deletes the Expo integration configuration from the project. This will disable the integration's functionality within the project.
|
|
496
|
+
* @param {string} [params.id] -
|
|
547
497
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
548
498
|
* @returns {Promise<HttpResponse<any>>} No Content
|
|
549
499
|
*/
|
|
550
|
-
async deleteExpoIntegration(
|
|
500
|
+
async deleteExpoIntegration(
|
|
501
|
+
params?: DeleteExpoIntegrationParams,
|
|
502
|
+
requestConfig?: RequestConfig,
|
|
503
|
+
): Promise<HttpResponse<void>> {
|
|
551
504
|
const request = new RequestBuilder()
|
|
552
505
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
553
506
|
.setConfig(this.config)
|
|
@@ -564,47 +517,20 @@ export class IntegrationsService extends BaseService {
|
|
|
564
517
|
.setRetryAttempts(this.config, requestConfig)
|
|
565
518
|
.setRetryDelayMs(this.config, requestConfig)
|
|
566
519
|
.setResponseValidation(this.config, requestConfig)
|
|
567
|
-
.
|
|
568
|
-
return this.client.call<void>(request);
|
|
569
|
-
}
|
|
570
|
-
|
|
571
|
-
/**
|
|
572
|
-
* Removes a specific expo integration instance by ID from the project.
|
|
573
|
-
* @param {string} id -
|
|
574
|
-
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
575
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
576
|
-
*/
|
|
577
|
-
async deleteExpoIntegrationById(id: string, requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
|
|
578
|
-
const request = new RequestBuilder()
|
|
579
|
-
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
580
|
-
.setConfig(this.config)
|
|
581
|
-
.setMethod('DELETE')
|
|
582
|
-
.setPath('/integrations/expo/{id}')
|
|
583
|
-
.setRequestSchema(z.any())
|
|
584
|
-
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
585
|
-
.setRequestContentType(ContentType.Json)
|
|
586
|
-
.addResponse({
|
|
587
|
-
schema: z.undefined(),
|
|
588
|
-
contentType: ContentType.NoContent,
|
|
589
|
-
status: 204,
|
|
590
|
-
})
|
|
591
|
-
.setRetryAttempts(this.config, requestConfig)
|
|
592
|
-
.setRetryDelayMs(this.config, requestConfig)
|
|
593
|
-
.setResponseValidation(this.config, requestConfig)
|
|
594
|
-
.addPathParam({
|
|
520
|
+
.addQueryParam({
|
|
595
521
|
key: 'id',
|
|
596
|
-
value: id,
|
|
522
|
+
value: params?.id,
|
|
597
523
|
})
|
|
598
524
|
.build();
|
|
599
525
|
return this.client.call<void>(request);
|
|
600
526
|
}
|
|
601
527
|
|
|
602
528
|
/**
|
|
603
|
-
* Retrieves the current
|
|
529
|
+
* Retrieves the current FCM integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
604
530
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
605
531
|
* @returns {Promise<HttpResponse<FcmConfigCollection>>} OK
|
|
606
532
|
*/
|
|
607
|
-
async
|
|
533
|
+
async listFcmIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<FcmConfigCollection>> {
|
|
608
534
|
const request = new RequestBuilder()
|
|
609
535
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
610
536
|
.setConfig(this.config)
|
|
@@ -626,7 +552,7 @@ export class IntegrationsService extends BaseService {
|
|
|
626
552
|
}
|
|
627
553
|
|
|
628
554
|
/**
|
|
629
|
-
*
|
|
555
|
+
* Updates or creates the FCM integration for the project.
|
|
630
556
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
631
557
|
* @returns {Promise<HttpResponse<FcmConfigPayload>>} OK
|
|
632
558
|
*/
|
|
@@ -657,11 +583,15 @@ export class IntegrationsService extends BaseService {
|
|
|
657
583
|
}
|
|
658
584
|
|
|
659
585
|
/**
|
|
660
|
-
*
|
|
586
|
+
* Deletes the FCM integration configuration from the project. This will disable the integration's functionality within the project.
|
|
587
|
+
* @param {string} [params.id] -
|
|
661
588
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
662
589
|
* @returns {Promise<HttpResponse<any>>} No Content
|
|
663
590
|
*/
|
|
664
|
-
async deleteFcmIntegration(
|
|
591
|
+
async deleteFcmIntegration(
|
|
592
|
+
params?: DeleteFcmIntegrationParams,
|
|
593
|
+
requestConfig?: RequestConfig,
|
|
594
|
+
): Promise<HttpResponse<void>> {
|
|
665
595
|
const request = new RequestBuilder()
|
|
666
596
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
667
597
|
.setConfig(this.config)
|
|
@@ -678,47 +608,20 @@ export class IntegrationsService extends BaseService {
|
|
|
678
608
|
.setRetryAttempts(this.config, requestConfig)
|
|
679
609
|
.setRetryDelayMs(this.config, requestConfig)
|
|
680
610
|
.setResponseValidation(this.config, requestConfig)
|
|
681
|
-
.
|
|
682
|
-
return this.client.call<void>(request);
|
|
683
|
-
}
|
|
684
|
-
|
|
685
|
-
/**
|
|
686
|
-
* Removes a specific fcm integration instance by ID from the project.
|
|
687
|
-
* @param {string} id -
|
|
688
|
-
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
689
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
690
|
-
*/
|
|
691
|
-
async deleteFcmIntegrationById(id: string, requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
|
|
692
|
-
const request = new RequestBuilder()
|
|
693
|
-
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
694
|
-
.setConfig(this.config)
|
|
695
|
-
.setMethod('DELETE')
|
|
696
|
-
.setPath('/integrations/fcm/{id}')
|
|
697
|
-
.setRequestSchema(z.any())
|
|
698
|
-
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
699
|
-
.setRequestContentType(ContentType.Json)
|
|
700
|
-
.addResponse({
|
|
701
|
-
schema: z.undefined(),
|
|
702
|
-
contentType: ContentType.NoContent,
|
|
703
|
-
status: 204,
|
|
704
|
-
})
|
|
705
|
-
.setRetryAttempts(this.config, requestConfig)
|
|
706
|
-
.setRetryDelayMs(this.config, requestConfig)
|
|
707
|
-
.setResponseValidation(this.config, requestConfig)
|
|
708
|
-
.addPathParam({
|
|
611
|
+
.addQueryParam({
|
|
709
612
|
key: 'id',
|
|
710
|
-
value: id,
|
|
613
|
+
value: params?.id,
|
|
711
614
|
})
|
|
712
615
|
.build();
|
|
713
616
|
return this.client.call<void>(request);
|
|
714
617
|
}
|
|
715
618
|
|
|
716
619
|
/**
|
|
717
|
-
* Retrieves the current
|
|
620
|
+
* Retrieves the current GitHub integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
718
621
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
719
622
|
* @returns {Promise<HttpResponse<GithubConfigCollection>>} OK
|
|
720
623
|
*/
|
|
721
|
-
async
|
|
624
|
+
async listGithubIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<GithubConfigCollection>> {
|
|
722
625
|
const request = new RequestBuilder()
|
|
723
626
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
724
627
|
.setConfig(this.config)
|
|
@@ -740,7 +643,7 @@ export class IntegrationsService extends BaseService {
|
|
|
740
643
|
}
|
|
741
644
|
|
|
742
645
|
/**
|
|
743
|
-
*
|
|
646
|
+
* Updates or creates the GitHub integration for the project.
|
|
744
647
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
745
648
|
* @returns {Promise<HttpResponse<GithubConfigPayload>>} OK
|
|
746
649
|
*/
|
|
@@ -771,11 +674,15 @@ export class IntegrationsService extends BaseService {
|
|
|
771
674
|
}
|
|
772
675
|
|
|
773
676
|
/**
|
|
774
|
-
*
|
|
677
|
+
* Deletes the GitHub integration configuration from the project. This will disable the integration's functionality within the project.
|
|
678
|
+
* @param {string} [params.id] -
|
|
775
679
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
776
680
|
* @returns {Promise<HttpResponse<any>>} No Content
|
|
777
681
|
*/
|
|
778
|
-
async deleteGithubIntegration(
|
|
682
|
+
async deleteGithubIntegration(
|
|
683
|
+
params?: DeleteGithubIntegrationParams,
|
|
684
|
+
requestConfig?: RequestConfig,
|
|
685
|
+
): Promise<HttpResponse<void>> {
|
|
779
686
|
const request = new RequestBuilder()
|
|
780
687
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
781
688
|
.setConfig(this.config)
|
|
@@ -792,47 +699,20 @@ export class IntegrationsService extends BaseService {
|
|
|
792
699
|
.setRetryAttempts(this.config, requestConfig)
|
|
793
700
|
.setRetryDelayMs(this.config, requestConfig)
|
|
794
701
|
.setResponseValidation(this.config, requestConfig)
|
|
795
|
-
.
|
|
796
|
-
return this.client.call<void>(request);
|
|
797
|
-
}
|
|
798
|
-
|
|
799
|
-
/**
|
|
800
|
-
* Removes a specific github integration instance by ID from the project.
|
|
801
|
-
* @param {string} id -
|
|
802
|
-
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
803
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
804
|
-
*/
|
|
805
|
-
async deleteGithubIntegrationById(id: string, requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
|
|
806
|
-
const request = new RequestBuilder()
|
|
807
|
-
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
808
|
-
.setConfig(this.config)
|
|
809
|
-
.setMethod('DELETE')
|
|
810
|
-
.setPath('/integrations/github/{id}')
|
|
811
|
-
.setRequestSchema(z.any())
|
|
812
|
-
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
813
|
-
.setRequestContentType(ContentType.Json)
|
|
814
|
-
.addResponse({
|
|
815
|
-
schema: z.undefined(),
|
|
816
|
-
contentType: ContentType.NoContent,
|
|
817
|
-
status: 204,
|
|
818
|
-
})
|
|
819
|
-
.setRetryAttempts(this.config, requestConfig)
|
|
820
|
-
.setRetryDelayMs(this.config, requestConfig)
|
|
821
|
-
.setResponseValidation(this.config, requestConfig)
|
|
822
|
-
.addPathParam({
|
|
702
|
+
.addQueryParam({
|
|
823
703
|
key: 'id',
|
|
824
|
-
value: id,
|
|
704
|
+
value: params?.id,
|
|
825
705
|
})
|
|
826
706
|
.build();
|
|
827
707
|
return this.client.call<void>(request);
|
|
828
708
|
}
|
|
829
709
|
|
|
830
710
|
/**
|
|
831
|
-
* Retrieves the current
|
|
711
|
+
* Retrieves the current Inbox integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
832
712
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
833
713
|
* @returns {Promise<HttpResponse<InboxConfigCollection>>} OK
|
|
834
714
|
*/
|
|
835
|
-
async
|
|
715
|
+
async listInboxIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<InboxConfigCollection>> {
|
|
836
716
|
const request = new RequestBuilder()
|
|
837
717
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
838
718
|
.setConfig(this.config)
|
|
@@ -854,7 +734,7 @@ export class IntegrationsService extends BaseService {
|
|
|
854
734
|
}
|
|
855
735
|
|
|
856
736
|
/**
|
|
857
|
-
*
|
|
737
|
+
* Updates or creates the Inbox integration for the project.
|
|
858
738
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
859
739
|
* @returns {Promise<HttpResponse<InboxConfigPayload>>} OK
|
|
860
740
|
*/
|
|
@@ -885,11 +765,15 @@ export class IntegrationsService extends BaseService {
|
|
|
885
765
|
}
|
|
886
766
|
|
|
887
767
|
/**
|
|
888
|
-
*
|
|
768
|
+
* Deletes the Inbox integration configuration from the project. This will disable the integration's functionality within the project.
|
|
769
|
+
* @param {string} [params.id] -
|
|
889
770
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
890
771
|
* @returns {Promise<HttpResponse<any>>} No Content
|
|
891
772
|
*/
|
|
892
|
-
async deleteInboxIntegration(
|
|
773
|
+
async deleteInboxIntegration(
|
|
774
|
+
params?: DeleteInboxIntegrationParams,
|
|
775
|
+
requestConfig?: RequestConfig,
|
|
776
|
+
): Promise<HttpResponse<void>> {
|
|
893
777
|
const request = new RequestBuilder()
|
|
894
778
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
895
779
|
.setConfig(this.config)
|
|
@@ -906,47 +790,20 @@ export class IntegrationsService extends BaseService {
|
|
|
906
790
|
.setRetryAttempts(this.config, requestConfig)
|
|
907
791
|
.setRetryDelayMs(this.config, requestConfig)
|
|
908
792
|
.setResponseValidation(this.config, requestConfig)
|
|
909
|
-
.
|
|
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({
|
|
793
|
+
.addQueryParam({
|
|
937
794
|
key: 'id',
|
|
938
|
-
value: id,
|
|
795
|
+
value: params?.id,
|
|
939
796
|
})
|
|
940
797
|
.build();
|
|
941
798
|
return this.client.call<void>(request);
|
|
942
799
|
}
|
|
943
800
|
|
|
944
801
|
/**
|
|
945
|
-
* Retrieves the current
|
|
802
|
+
* Retrieves the current Mailgun integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
946
803
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
947
804
|
* @returns {Promise<HttpResponse<MailgunConfigCollection>>} OK
|
|
948
805
|
*/
|
|
949
|
-
async
|
|
806
|
+
async listMailgunIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<MailgunConfigCollection>> {
|
|
950
807
|
const request = new RequestBuilder()
|
|
951
808
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
952
809
|
.setConfig(this.config)
|
|
@@ -968,7 +825,7 @@ export class IntegrationsService extends BaseService {
|
|
|
968
825
|
}
|
|
969
826
|
|
|
970
827
|
/**
|
|
971
|
-
*
|
|
828
|
+
* Updates or creates the Mailgun integration for the project.
|
|
972
829
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
973
830
|
* @returns {Promise<HttpResponse<MailgunConfigPayload>>} OK
|
|
974
831
|
*/
|
|
@@ -999,11 +856,15 @@ export class IntegrationsService extends BaseService {
|
|
|
999
856
|
}
|
|
1000
857
|
|
|
1001
858
|
/**
|
|
1002
|
-
*
|
|
859
|
+
* Deletes the Mailgun integration configuration from the project. This will disable the integration's functionality within the project.
|
|
860
|
+
* @param {string} [params.id] -
|
|
1003
861
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1004
862
|
* @returns {Promise<HttpResponse<any>>} No Content
|
|
1005
863
|
*/
|
|
1006
|
-
async deleteMailgunIntegration(
|
|
864
|
+
async deleteMailgunIntegration(
|
|
865
|
+
params?: DeleteMailgunIntegrationParams,
|
|
866
|
+
requestConfig?: RequestConfig,
|
|
867
|
+
): Promise<HttpResponse<void>> {
|
|
1007
868
|
const request = new RequestBuilder()
|
|
1008
869
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1009
870
|
.setConfig(this.config)
|
|
@@ -1020,47 +881,20 @@ export class IntegrationsService extends BaseService {
|
|
|
1020
881
|
.setRetryAttempts(this.config, requestConfig)
|
|
1021
882
|
.setRetryDelayMs(this.config, requestConfig)
|
|
1022
883
|
.setResponseValidation(this.config, requestConfig)
|
|
1023
|
-
.
|
|
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({
|
|
884
|
+
.addQueryParam({
|
|
1051
885
|
key: 'id',
|
|
1052
|
-
value: id,
|
|
886
|
+
value: params?.id,
|
|
1053
887
|
})
|
|
1054
888
|
.build();
|
|
1055
889
|
return this.client.call<void>(request);
|
|
1056
890
|
}
|
|
1057
891
|
|
|
1058
892
|
/**
|
|
1059
|
-
* Retrieves the current
|
|
893
|
+
* Retrieves the current Ping Email integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
1060
894
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1061
895
|
* @returns {Promise<HttpResponse<PingConfigCollection>>} OK
|
|
1062
896
|
*/
|
|
1063
|
-
async
|
|
897
|
+
async listPingEmailIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<PingConfigCollection>> {
|
|
1064
898
|
const request = new RequestBuilder()
|
|
1065
899
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1066
900
|
.setConfig(this.config)
|
|
@@ -1082,7 +916,7 @@ export class IntegrationsService extends BaseService {
|
|
|
1082
916
|
}
|
|
1083
917
|
|
|
1084
918
|
/**
|
|
1085
|
-
*
|
|
919
|
+
* Updates or creates the Ping Email integration for the project.
|
|
1086
920
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1087
921
|
* @returns {Promise<HttpResponse<PingConfigPayload>>} OK
|
|
1088
922
|
*/
|
|
@@ -1113,11 +947,15 @@ export class IntegrationsService extends BaseService {
|
|
|
1113
947
|
}
|
|
1114
948
|
|
|
1115
949
|
/**
|
|
1116
|
-
*
|
|
950
|
+
* Deletes the Ping Email integration configuration from the project. This will disable the integration's functionality within the project.
|
|
951
|
+
* @param {string} [params.id] -
|
|
1117
952
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1118
953
|
* @returns {Promise<HttpResponse<any>>} No Content
|
|
1119
954
|
*/
|
|
1120
|
-
async deletePingEmailIntegration(
|
|
955
|
+
async deletePingEmailIntegration(
|
|
956
|
+
params?: DeletePingEmailIntegrationParams,
|
|
957
|
+
requestConfig?: RequestConfig,
|
|
958
|
+
): Promise<HttpResponse<void>> {
|
|
1121
959
|
const request = new RequestBuilder()
|
|
1122
960
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1123
961
|
.setConfig(this.config)
|
|
@@ -1134,47 +972,20 @@ export class IntegrationsService extends BaseService {
|
|
|
1134
972
|
.setRetryAttempts(this.config, requestConfig)
|
|
1135
973
|
.setRetryDelayMs(this.config, requestConfig)
|
|
1136
974
|
.setResponseValidation(this.config, requestConfig)
|
|
1137
|
-
.
|
|
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({
|
|
975
|
+
.addQueryParam({
|
|
1165
976
|
key: 'id',
|
|
1166
|
-
value: id,
|
|
977
|
+
value: params?.id,
|
|
1167
978
|
})
|
|
1168
979
|
.build();
|
|
1169
980
|
return this.client.call<void>(request);
|
|
1170
981
|
}
|
|
1171
982
|
|
|
1172
983
|
/**
|
|
1173
|
-
* Retrieves the current
|
|
984
|
+
* Retrieves the current SendGrid integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
1174
985
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1175
986
|
* @returns {Promise<HttpResponse<SendgridConfigCollection>>} OK
|
|
1176
987
|
*/
|
|
1177
|
-
async
|
|
988
|
+
async listSendgridIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<SendgridConfigCollection>> {
|
|
1178
989
|
const request = new RequestBuilder()
|
|
1179
990
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1180
991
|
.setConfig(this.config)
|
|
@@ -1196,7 +1007,7 @@ export class IntegrationsService extends BaseService {
|
|
|
1196
1007
|
}
|
|
1197
1008
|
|
|
1198
1009
|
/**
|
|
1199
|
-
*
|
|
1010
|
+
* Updates or creates the SendGrid integration for the project.
|
|
1200
1011
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1201
1012
|
* @returns {Promise<HttpResponse<SendgridConfigPayload>>} OK
|
|
1202
1013
|
*/
|
|
@@ -1227,11 +1038,15 @@ export class IntegrationsService extends BaseService {
|
|
|
1227
1038
|
}
|
|
1228
1039
|
|
|
1229
1040
|
/**
|
|
1230
|
-
*
|
|
1041
|
+
* Deletes the SendGrid integration configuration from the project. This will disable the integration's functionality within the project.
|
|
1042
|
+
* @param {string} [params.id] -
|
|
1231
1043
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1232
1044
|
* @returns {Promise<HttpResponse<any>>} No Content
|
|
1233
1045
|
*/
|
|
1234
|
-
async deleteSendgridIntegration(
|
|
1046
|
+
async deleteSendgridIntegration(
|
|
1047
|
+
params?: DeleteSendgridIntegrationParams,
|
|
1048
|
+
requestConfig?: RequestConfig,
|
|
1049
|
+
): Promise<HttpResponse<void>> {
|
|
1235
1050
|
const request = new RequestBuilder()
|
|
1236
1051
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1237
1052
|
.setConfig(this.config)
|
|
@@ -1248,47 +1063,20 @@ export class IntegrationsService extends BaseService {
|
|
|
1248
1063
|
.setRetryAttempts(this.config, requestConfig)
|
|
1249
1064
|
.setRetryDelayMs(this.config, requestConfig)
|
|
1250
1065
|
.setResponseValidation(this.config, requestConfig)
|
|
1251
|
-
.
|
|
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({
|
|
1066
|
+
.addQueryParam({
|
|
1279
1067
|
key: 'id',
|
|
1280
|
-
value: id,
|
|
1068
|
+
value: params?.id,
|
|
1281
1069
|
})
|
|
1282
1070
|
.build();
|
|
1283
1071
|
return this.client.call<void>(request);
|
|
1284
1072
|
}
|
|
1285
1073
|
|
|
1286
1074
|
/**
|
|
1287
|
-
* Retrieves the current
|
|
1075
|
+
* Retrieves the current Amazon SES integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
1288
1076
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1289
1077
|
* @returns {Promise<HttpResponse<SesConfigCollection>>} OK
|
|
1290
1078
|
*/
|
|
1291
|
-
async
|
|
1079
|
+
async listSesIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<SesConfigCollection>> {
|
|
1292
1080
|
const request = new RequestBuilder()
|
|
1293
1081
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1294
1082
|
.setConfig(this.config)
|
|
@@ -1310,7 +1098,7 @@ export class IntegrationsService extends BaseService {
|
|
|
1310
1098
|
}
|
|
1311
1099
|
|
|
1312
1100
|
/**
|
|
1313
|
-
*
|
|
1101
|
+
* Updates or creates the Amazon SES integration for the project.
|
|
1314
1102
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1315
1103
|
* @returns {Promise<HttpResponse<SesConfigPayload>>} OK
|
|
1316
1104
|
*/
|
|
@@ -1341,11 +1129,15 @@ export class IntegrationsService extends BaseService {
|
|
|
1341
1129
|
}
|
|
1342
1130
|
|
|
1343
1131
|
/**
|
|
1344
|
-
*
|
|
1132
|
+
* Deletes the Amazon SES integration configuration from the project. This will disable the integration's functionality within the project.
|
|
1133
|
+
* @param {string} [params.id] -
|
|
1345
1134
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1346
1135
|
* @returns {Promise<HttpResponse<any>>} No Content
|
|
1347
1136
|
*/
|
|
1348
|
-
async deleteSesIntegration(
|
|
1137
|
+
async deleteSesIntegration(
|
|
1138
|
+
params?: DeleteSesIntegrationParams,
|
|
1139
|
+
requestConfig?: RequestConfig,
|
|
1140
|
+
): Promise<HttpResponse<void>> {
|
|
1349
1141
|
const request = new RequestBuilder()
|
|
1350
1142
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1351
1143
|
.setConfig(this.config)
|
|
@@ -1362,47 +1154,20 @@ export class IntegrationsService extends BaseService {
|
|
|
1362
1154
|
.setRetryAttempts(this.config, requestConfig)
|
|
1363
1155
|
.setRetryDelayMs(this.config, requestConfig)
|
|
1364
1156
|
.setResponseValidation(this.config, requestConfig)
|
|
1365
|
-
.
|
|
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({
|
|
1157
|
+
.addQueryParam({
|
|
1393
1158
|
key: 'id',
|
|
1394
|
-
value: id,
|
|
1159
|
+
value: params?.id,
|
|
1395
1160
|
})
|
|
1396
1161
|
.build();
|
|
1397
1162
|
return this.client.call<void>(request);
|
|
1398
1163
|
}
|
|
1399
1164
|
|
|
1400
1165
|
/**
|
|
1401
|
-
* Retrieves the current
|
|
1166
|
+
* Retrieves the current Slack integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
1402
1167
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1403
1168
|
* @returns {Promise<HttpResponse<SlackConfigCollection>>} OK
|
|
1404
1169
|
*/
|
|
1405
|
-
async
|
|
1170
|
+
async listSlackIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<SlackConfigCollection>> {
|
|
1406
1171
|
const request = new RequestBuilder()
|
|
1407
1172
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1408
1173
|
.setConfig(this.config)
|
|
@@ -1424,7 +1189,7 @@ export class IntegrationsService extends BaseService {
|
|
|
1424
1189
|
}
|
|
1425
1190
|
|
|
1426
1191
|
/**
|
|
1427
|
-
*
|
|
1192
|
+
* Updates or creates the Slack integration for the project.
|
|
1428
1193
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1429
1194
|
* @returns {Promise<HttpResponse<SlackConfigPayload>>} OK
|
|
1430
1195
|
*/
|
|
@@ -1455,11 +1220,15 @@ export class IntegrationsService extends BaseService {
|
|
|
1455
1220
|
}
|
|
1456
1221
|
|
|
1457
1222
|
/**
|
|
1458
|
-
*
|
|
1223
|
+
* Deletes the Slack integration configuration from the project. This will disable the integration's functionality within the project.
|
|
1224
|
+
* @param {string} [params.id] -
|
|
1459
1225
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1460
1226
|
* @returns {Promise<HttpResponse<any>>} No Content
|
|
1461
1227
|
*/
|
|
1462
|
-
async deleteSlackIntegration(
|
|
1228
|
+
async deleteSlackIntegration(
|
|
1229
|
+
params?: DeleteSlackIntegrationParams,
|
|
1230
|
+
requestConfig?: RequestConfig,
|
|
1231
|
+
): Promise<HttpResponse<void>> {
|
|
1463
1232
|
const request = new RequestBuilder()
|
|
1464
1233
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1465
1234
|
.setConfig(this.config)
|
|
@@ -1476,47 +1245,20 @@ export class IntegrationsService extends BaseService {
|
|
|
1476
1245
|
.setRetryAttempts(this.config, requestConfig)
|
|
1477
1246
|
.setRetryDelayMs(this.config, requestConfig)
|
|
1478
1247
|
.setResponseValidation(this.config, requestConfig)
|
|
1479
|
-
.
|
|
1480
|
-
return this.client.call<void>(request);
|
|
1481
|
-
}
|
|
1482
|
-
|
|
1483
|
-
/**
|
|
1484
|
-
* Removes a specific slack integration instance by ID from the project.
|
|
1485
|
-
* @param {string} id -
|
|
1486
|
-
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1487
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
1488
|
-
*/
|
|
1489
|
-
async deleteSlackIntegrationById(id: string, requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
|
|
1490
|
-
const request = new RequestBuilder()
|
|
1491
|
-
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1492
|
-
.setConfig(this.config)
|
|
1493
|
-
.setMethod('DELETE')
|
|
1494
|
-
.setPath('/integrations/slack/{id}')
|
|
1495
|
-
.setRequestSchema(z.any())
|
|
1496
|
-
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
1497
|
-
.setRequestContentType(ContentType.Json)
|
|
1498
|
-
.addResponse({
|
|
1499
|
-
schema: z.undefined(),
|
|
1500
|
-
contentType: ContentType.NoContent,
|
|
1501
|
-
status: 204,
|
|
1502
|
-
})
|
|
1503
|
-
.setRetryAttempts(this.config, requestConfig)
|
|
1504
|
-
.setRetryDelayMs(this.config, requestConfig)
|
|
1505
|
-
.setResponseValidation(this.config, requestConfig)
|
|
1506
|
-
.addPathParam({
|
|
1248
|
+
.addQueryParam({
|
|
1507
1249
|
key: 'id',
|
|
1508
|
-
value: id,
|
|
1250
|
+
value: params?.id,
|
|
1509
1251
|
})
|
|
1510
1252
|
.build();
|
|
1511
1253
|
return this.client.call<void>(request);
|
|
1512
1254
|
}
|
|
1513
1255
|
|
|
1514
1256
|
/**
|
|
1515
|
-
* Retrieves the current
|
|
1257
|
+
* Retrieves the current Stripe integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
1516
1258
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1517
1259
|
* @returns {Promise<HttpResponse<StripeConfigCollection>>} OK
|
|
1518
1260
|
*/
|
|
1519
|
-
async
|
|
1261
|
+
async listStripeIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<StripeConfigCollection>> {
|
|
1520
1262
|
const request = new RequestBuilder()
|
|
1521
1263
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1522
1264
|
.setConfig(this.config)
|
|
@@ -1538,7 +1280,7 @@ export class IntegrationsService extends BaseService {
|
|
|
1538
1280
|
}
|
|
1539
1281
|
|
|
1540
1282
|
/**
|
|
1541
|
-
*
|
|
1283
|
+
* Updates or creates the Stripe integration for the project.
|
|
1542
1284
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1543
1285
|
* @returns {Promise<HttpResponse<StripeConfigPayload>>} OK
|
|
1544
1286
|
*/
|
|
@@ -1569,11 +1311,15 @@ export class IntegrationsService extends BaseService {
|
|
|
1569
1311
|
}
|
|
1570
1312
|
|
|
1571
1313
|
/**
|
|
1572
|
-
*
|
|
1314
|
+
* Deletes the Stripe integration configuration from the project. This will disable the integration's functionality within the project.
|
|
1315
|
+
* @param {string} [params.id] -
|
|
1573
1316
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1574
1317
|
* @returns {Promise<HttpResponse<any>>} No Content
|
|
1575
1318
|
*/
|
|
1576
|
-
async deleteStripeIntegration(
|
|
1319
|
+
async deleteStripeIntegration(
|
|
1320
|
+
params?: DeleteStripeIntegrationParams,
|
|
1321
|
+
requestConfig?: RequestConfig,
|
|
1322
|
+
): Promise<HttpResponse<void>> {
|
|
1577
1323
|
const request = new RequestBuilder()
|
|
1578
1324
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1579
1325
|
.setConfig(this.config)
|
|
@@ -1590,47 +1336,20 @@ export class IntegrationsService extends BaseService {
|
|
|
1590
1336
|
.setRetryAttempts(this.config, requestConfig)
|
|
1591
1337
|
.setRetryDelayMs(this.config, requestConfig)
|
|
1592
1338
|
.setResponseValidation(this.config, requestConfig)
|
|
1593
|
-
.
|
|
1594
|
-
return this.client.call<void>(request);
|
|
1595
|
-
}
|
|
1596
|
-
|
|
1597
|
-
/**
|
|
1598
|
-
* Removes a specific stripe integration instance by ID from the project.
|
|
1599
|
-
* @param {string} id -
|
|
1600
|
-
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1601
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
1602
|
-
*/
|
|
1603
|
-
async deleteStripeIntegrationById(id: string, requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
|
|
1604
|
-
const request = new RequestBuilder()
|
|
1605
|
-
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1606
|
-
.setConfig(this.config)
|
|
1607
|
-
.setMethod('DELETE')
|
|
1608
|
-
.setPath('/integrations/stripe/{id}')
|
|
1609
|
-
.setRequestSchema(z.any())
|
|
1610
|
-
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
1611
|
-
.setRequestContentType(ContentType.Json)
|
|
1612
|
-
.addResponse({
|
|
1613
|
-
schema: z.undefined(),
|
|
1614
|
-
contentType: ContentType.NoContent,
|
|
1615
|
-
status: 204,
|
|
1616
|
-
})
|
|
1617
|
-
.setRetryAttempts(this.config, requestConfig)
|
|
1618
|
-
.setRetryDelayMs(this.config, requestConfig)
|
|
1619
|
-
.setResponseValidation(this.config, requestConfig)
|
|
1620
|
-
.addPathParam({
|
|
1339
|
+
.addQueryParam({
|
|
1621
1340
|
key: 'id',
|
|
1622
|
-
value: id,
|
|
1341
|
+
value: params?.id,
|
|
1623
1342
|
})
|
|
1624
1343
|
.build();
|
|
1625
1344
|
return this.client.call<void>(request);
|
|
1626
1345
|
}
|
|
1627
1346
|
|
|
1628
1347
|
/**
|
|
1629
|
-
* Retrieves the current
|
|
1348
|
+
* Retrieves the current Templates integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
1630
1349
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1631
1350
|
* @returns {Promise<HttpResponse<TemplatesConfigCollection>>} OK
|
|
1632
1351
|
*/
|
|
1633
|
-
async
|
|
1352
|
+
async listTemplatesIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<TemplatesConfigCollection>> {
|
|
1634
1353
|
const request = new RequestBuilder()
|
|
1635
1354
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1636
1355
|
.setConfig(this.config)
|
|
@@ -1652,7 +1371,7 @@ export class IntegrationsService extends BaseService {
|
|
|
1652
1371
|
}
|
|
1653
1372
|
|
|
1654
1373
|
/**
|
|
1655
|
-
*
|
|
1374
|
+
* Updates or creates the Templates integration for the project.
|
|
1656
1375
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1657
1376
|
* @returns {Promise<HttpResponse<any>>} OK
|
|
1658
1377
|
*/
|
|
@@ -1680,11 +1399,15 @@ export class IntegrationsService extends BaseService {
|
|
|
1680
1399
|
}
|
|
1681
1400
|
|
|
1682
1401
|
/**
|
|
1683
|
-
*
|
|
1402
|
+
* Deletes the Templates integration configuration from the project. This will disable the integration's functionality within the project.
|
|
1403
|
+
* @param {string} [params.id] -
|
|
1684
1404
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1685
1405
|
* @returns {Promise<HttpResponse<any>>} No Content
|
|
1686
1406
|
*/
|
|
1687
|
-
async deleteTemplatesIntegration(
|
|
1407
|
+
async deleteTemplatesIntegration(
|
|
1408
|
+
params?: DeleteTemplatesIntegrationParams,
|
|
1409
|
+
requestConfig?: RequestConfig,
|
|
1410
|
+
): Promise<HttpResponse<void>> {
|
|
1688
1411
|
const request = new RequestBuilder()
|
|
1689
1412
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1690
1413
|
.setConfig(this.config)
|
|
@@ -1701,47 +1424,20 @@ export class IntegrationsService extends BaseService {
|
|
|
1701
1424
|
.setRetryAttempts(this.config, requestConfig)
|
|
1702
1425
|
.setRetryDelayMs(this.config, requestConfig)
|
|
1703
1426
|
.setResponseValidation(this.config, requestConfig)
|
|
1704
|
-
.
|
|
1705
|
-
return this.client.call<void>(request);
|
|
1706
|
-
}
|
|
1707
|
-
|
|
1708
|
-
/**
|
|
1709
|
-
* Removes a specific templates integration instance by ID from the project.
|
|
1710
|
-
* @param {string} id -
|
|
1711
|
-
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1712
|
-
* @returns {Promise<HttpResponse<any>>} No Content
|
|
1713
|
-
*/
|
|
1714
|
-
async deleteTemplatesIntegrationById(id: string, requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
|
|
1715
|
-
const request = new RequestBuilder()
|
|
1716
|
-
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1717
|
-
.setConfig(this.config)
|
|
1718
|
-
.setMethod('DELETE')
|
|
1719
|
-
.setPath('/integrations/templates/{id}')
|
|
1720
|
-
.setRequestSchema(z.any())
|
|
1721
|
-
.addAccessTokenAuth(this.config.token, 'Bearer')
|
|
1722
|
-
.setRequestContentType(ContentType.Json)
|
|
1723
|
-
.addResponse({
|
|
1724
|
-
schema: z.undefined(),
|
|
1725
|
-
contentType: ContentType.NoContent,
|
|
1726
|
-
status: 204,
|
|
1727
|
-
})
|
|
1728
|
-
.setRetryAttempts(this.config, requestConfig)
|
|
1729
|
-
.setRetryDelayMs(this.config, requestConfig)
|
|
1730
|
-
.setResponseValidation(this.config, requestConfig)
|
|
1731
|
-
.addPathParam({
|
|
1427
|
+
.addQueryParam({
|
|
1732
1428
|
key: 'id',
|
|
1733
|
-
value: id,
|
|
1429
|
+
value: params?.id,
|
|
1734
1430
|
})
|
|
1735
1431
|
.build();
|
|
1736
1432
|
return this.client.call<void>(request);
|
|
1737
1433
|
}
|
|
1738
1434
|
|
|
1739
1435
|
/**
|
|
1740
|
-
* Retrieves the current
|
|
1436
|
+
* Retrieves the current Twilio integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
1741
1437
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1742
1438
|
* @returns {Promise<HttpResponse<TwilioConfigCollection>>} OK
|
|
1743
1439
|
*/
|
|
1744
|
-
async
|
|
1440
|
+
async listTwilioIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<TwilioConfigCollection>> {
|
|
1745
1441
|
const request = new RequestBuilder()
|
|
1746
1442
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1747
1443
|
.setConfig(this.config)
|
|
@@ -1763,7 +1459,7 @@ export class IntegrationsService extends BaseService {
|
|
|
1763
1459
|
}
|
|
1764
1460
|
|
|
1765
1461
|
/**
|
|
1766
|
-
*
|
|
1462
|
+
* Updates or creates the Twilio integration for the project.
|
|
1767
1463
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1768
1464
|
* @returns {Promise<HttpResponse<TwilioConfigPayload>>} OK
|
|
1769
1465
|
*/
|
|
@@ -1794,11 +1490,15 @@ export class IntegrationsService extends BaseService {
|
|
|
1794
1490
|
}
|
|
1795
1491
|
|
|
1796
1492
|
/**
|
|
1797
|
-
*
|
|
1493
|
+
* Deletes the Twilio integration configuration from the project. This will disable the integration's functionality within the project.
|
|
1494
|
+
* @param {string} [params.id] -
|
|
1798
1495
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1799
1496
|
* @returns {Promise<HttpResponse<any>>} No Content
|
|
1800
1497
|
*/
|
|
1801
|
-
async deleteTwilioIntegration(
|
|
1498
|
+
async deleteTwilioIntegration(
|
|
1499
|
+
params?: DeleteTwilioIntegrationParams,
|
|
1500
|
+
requestConfig?: RequestConfig,
|
|
1501
|
+
): Promise<HttpResponse<void>> {
|
|
1802
1502
|
const request = new RequestBuilder()
|
|
1803
1503
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1804
1504
|
.setConfig(this.config)
|
|
@@ -1815,47 +1515,20 @@ export class IntegrationsService extends BaseService {
|
|
|
1815
1515
|
.setRetryAttempts(this.config, requestConfig)
|
|
1816
1516
|
.setRetryDelayMs(this.config, requestConfig)
|
|
1817
1517
|
.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({
|
|
1518
|
+
.addQueryParam({
|
|
1846
1519
|
key: 'id',
|
|
1847
|
-
value: id,
|
|
1520
|
+
value: params?.id,
|
|
1848
1521
|
})
|
|
1849
1522
|
.build();
|
|
1850
1523
|
return this.client.call<void>(request);
|
|
1851
1524
|
}
|
|
1852
1525
|
|
|
1853
1526
|
/**
|
|
1854
|
-
* Retrieves the current
|
|
1527
|
+
* Retrieves the current Web Push integration configurations for a specific integration type in the project. Returns configuration details and status information.
|
|
1855
1528
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1856
1529
|
* @returns {Promise<HttpResponse<WebpushConfigCollection>>} OK
|
|
1857
1530
|
*/
|
|
1858
|
-
async
|
|
1531
|
+
async listWebPushIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<WebpushConfigCollection>> {
|
|
1859
1532
|
const request = new RequestBuilder()
|
|
1860
1533
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1861
1534
|
.setConfig(this.config)
|
|
@@ -1877,7 +1550,7 @@ export class IntegrationsService extends BaseService {
|
|
|
1877
1550
|
}
|
|
1878
1551
|
|
|
1879
1552
|
/**
|
|
1880
|
-
*
|
|
1553
|
+
* Updates or creates the Web Push integration for the project.
|
|
1881
1554
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1882
1555
|
* @returns {Promise<HttpResponse<WebpushConfigPayload>>} OK
|
|
1883
1556
|
*/
|
|
@@ -1908,11 +1581,15 @@ export class IntegrationsService extends BaseService {
|
|
|
1908
1581
|
}
|
|
1909
1582
|
|
|
1910
1583
|
/**
|
|
1911
|
-
*
|
|
1584
|
+
* Deletes the Web Push integration configuration from the project. This will disable the integration's functionality within the project.
|
|
1585
|
+
* @param {string} [params.id] -
|
|
1912
1586
|
* @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
|
|
1913
1587
|
* @returns {Promise<HttpResponse<any>>} No Content
|
|
1914
1588
|
*/
|
|
1915
|
-
async deleteWebPushIntegration(
|
|
1589
|
+
async deleteWebPushIntegration(
|
|
1590
|
+
params?: DeleteWebPushIntegrationParams,
|
|
1591
|
+
requestConfig?: RequestConfig,
|
|
1592
|
+
): Promise<HttpResponse<void>> {
|
|
1916
1593
|
const request = new RequestBuilder()
|
|
1917
1594
|
.setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
|
|
1918
1595
|
.setConfig(this.config)
|
|
@@ -1929,36 +1606,9 @@ export class IntegrationsService extends BaseService {
|
|
|
1929
1606
|
.setRetryAttempts(this.config, requestConfig)
|
|
1930
1607
|
.setRetryDelayMs(this.config, requestConfig)
|
|
1931
1608
|
.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({
|
|
1609
|
+
.addQueryParam({
|
|
1960
1610
|
key: 'id',
|
|
1961
|
-
value: id,
|
|
1611
|
+
value: params?.id,
|
|
1962
1612
|
})
|
|
1963
1613
|
.build();
|
|
1964
1614
|
return this.client.call<void>(request);
|