magicbell-js 0.0.4 → 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.
Files changed (420) hide show
  1. package/README.md +11 -22
  2. package/dist/commonjs/project-client/http/errors/throwable-error.d.ts +7 -0
  3. package/dist/commonjs/project-client/http/errors/throwable-error.d.ts.map +1 -0
  4. package/dist/commonjs/project-client/http/errors/throwable-error.js +25 -0
  5. package/dist/commonjs/project-client/http/errors/throwable-error.js.map +1 -0
  6. package/dist/commonjs/project-client/http/handlers/hook-handler.d.ts.map +1 -1
  7. package/dist/commonjs/project-client/http/handlers/hook-handler.js +2 -2
  8. package/dist/commonjs/project-client/http/handlers/hook-handler.js.map +1 -1
  9. package/dist/commonjs/project-client/http/transport/types.d.ts +2 -1
  10. package/dist/commonjs/project-client/http/transport/types.d.ts.map +1 -1
  11. package/dist/commonjs/project-client/index.d.ts +0 -6
  12. package/dist/commonjs/project-client/index.d.ts.map +1 -1
  13. package/dist/commonjs/project-client/index.js +2 -28
  14. package/dist/commonjs/project-client/index.js.map +1 -1
  15. package/dist/commonjs/project-client/services/broadcasts/broadcasts-service.d.ts +1 -1
  16. package/dist/commonjs/project-client/services/broadcasts/broadcasts-service.d.ts.map +1 -1
  17. package/dist/commonjs/project-client/services/broadcasts/broadcasts-service.js +1 -1
  18. package/dist/commonjs/project-client/services/broadcasts/broadcasts-service.js.map +1 -1
  19. package/dist/commonjs/project-client/services/broadcasts/models/broadcast-collection.d.ts +924 -942
  20. package/dist/commonjs/project-client/services/broadcasts/models/broadcast-collection.d.ts.map +1 -1
  21. package/dist/commonjs/project-client/services/broadcasts/models/broadcast.d.ts +639 -697
  22. package/dist/commonjs/project-client/services/broadcasts/models/broadcast.d.ts.map +1 -1
  23. package/dist/commonjs/project-client/services/broadcasts/models/broadcast.js +7 -6
  24. package/dist/commonjs/project-client/services/broadcasts/models/broadcast.js.map +1 -1
  25. package/dist/commonjs/project-client/services/broadcasts/models/email.d.ts +3 -3
  26. package/dist/commonjs/project-client/services/broadcasts/models/in-app.d.ts +3 -3
  27. package/dist/commonjs/project-client/services/broadcasts/models/index.d.ts +0 -2
  28. package/dist/commonjs/project-client/services/broadcasts/models/index.d.ts.map +1 -1
  29. package/dist/commonjs/project-client/services/broadcasts/models/index.js.map +1 -1
  30. package/dist/commonjs/project-client/services/broadcasts/models/mobile-push.d.ts +3 -3
  31. package/dist/commonjs/project-client/services/broadcasts/models/overrides-channels.d.ts +17 -229
  32. package/dist/commonjs/project-client/services/broadcasts/models/overrides-channels.d.ts.map +1 -1
  33. package/dist/commonjs/project-client/services/broadcasts/models/overrides-channels.js +0 -12
  34. package/dist/commonjs/project-client/services/broadcasts/models/overrides-channels.js.map +1 -1
  35. package/dist/commonjs/project-client/services/broadcasts/models/overrides.d.ts +200 -441
  36. package/dist/commonjs/project-client/services/broadcasts/models/overrides.d.ts.map +1 -1
  37. package/dist/commonjs/project-client/services/broadcasts/models/providers.d.ts +102 -60
  38. package/dist/commonjs/project-client/services/broadcasts/models/providers.d.ts.map +1 -1
  39. package/dist/commonjs/project-client/services/broadcasts/models/providers.js +35 -20
  40. package/dist/commonjs/project-client/services/broadcasts/models/providers.js.map +1 -1
  41. package/dist/commonjs/project-client/services/broadcasts/models/sms.d.ts +3 -3
  42. package/dist/commonjs/project-client/services/channels/channels-service.d.ts +48 -48
  43. package/dist/commonjs/project-client/services/channels/channels-service.d.ts.map +1 -1
  44. package/dist/commonjs/project-client/services/channels/channels-service.js +59 -59
  45. package/dist/commonjs/project-client/services/channels/channels-service.js.map +1 -1
  46. package/dist/commonjs/project-client/services/channels/models/discard-result.d.ts +8 -8
  47. package/dist/commonjs/project-client/services/channels/models/inbox-token-response-collection.d.ts +14 -14
  48. package/dist/commonjs/project-client/services/channels/models/inbox-token-response.d.ts +8 -8
  49. package/dist/commonjs/project-client/services/channels/models/slack-token-collection.d.ts +14 -14
  50. package/dist/commonjs/project-client/services/channels/models/slack-token.d.ts +8 -8
  51. package/dist/commonjs/project-client/services/channels/request-params.d.ts +7 -10
  52. package/dist/commonjs/project-client/services/channels/request-params.d.ts.map +1 -1
  53. package/dist/commonjs/project-client/services/common/index.d.ts +1 -0
  54. package/dist/commonjs/project-client/services/common/index.d.ts.map +1 -1
  55. package/dist/{esm/project-client/services/users/models → commonjs/project-client/services/common}/user.d.ts +24 -24
  56. package/dist/commonjs/project-client/services/common/user.d.ts.map +1 -0
  57. package/dist/commonjs/project-client/services/common/user.js.map +1 -0
  58. package/dist/commonjs/project-client/services/events/events-service.d.ts +3 -3
  59. package/dist/commonjs/project-client/services/events/events-service.d.ts.map +1 -1
  60. package/dist/commonjs/project-client/services/events/events-service.js +6 -6
  61. package/dist/commonjs/project-client/services/events/events-service.js.map +1 -1
  62. package/dist/commonjs/project-client/services/integrations/integrations-service.d.ts +97 -193
  63. package/dist/commonjs/project-client/services/integrations/integrations-service.d.ts.map +1 -1
  64. package/dist/commonjs/project-client/services/integrations/integrations-service.js +128 -528
  65. package/dist/commonjs/project-client/services/integrations/integrations-service.js.map +1 -1
  66. package/dist/commonjs/project-client/services/integrations/models/inbox-config-collection.d.ts +182 -182
  67. package/dist/commonjs/project-client/services/integrations/models/inbox-config-payload.d.ts +98 -98
  68. package/dist/commonjs/project-client/services/integrations/models/inbox-config.d.ts +140 -140
  69. package/dist/commonjs/project-client/services/integrations/models/theme.d.ts +56 -56
  70. package/dist/commonjs/project-client/services/integrations/request-params.d.ts +48 -0
  71. package/dist/commonjs/project-client/services/integrations/request-params.d.ts.map +1 -1
  72. package/dist/commonjs/project-client/services/users/models/index.d.ts +0 -1
  73. package/dist/commonjs/project-client/services/users/models/index.d.ts.map +1 -1
  74. package/dist/commonjs/project-client/services/users/models/user-collection.d.ts +42 -42
  75. package/dist/commonjs/project-client/services/users/models/user-collection.js +1 -1
  76. package/dist/commonjs/project-client/services/users/models/user-collection.js.map +1 -1
  77. package/dist/commonjs/project-client/services/users/users-service.d.ts +6 -6
  78. package/dist/commonjs/project-client/services/users/users-service.d.ts.map +1 -1
  79. package/dist/commonjs/project-client/services/users/users-service.js +8 -8
  80. package/dist/commonjs/project-client/services/users/users-service.js.map +1 -1
  81. package/dist/commonjs/user-client/http/errors/throwable-error.d.ts +7 -0
  82. package/dist/commonjs/user-client/http/errors/throwable-error.d.ts.map +1 -0
  83. package/dist/commonjs/user-client/http/errors/throwable-error.js +25 -0
  84. package/dist/commonjs/user-client/http/errors/throwable-error.js.map +1 -0
  85. package/dist/commonjs/user-client/http/handlers/hook-handler.d.ts.map +1 -1
  86. package/dist/commonjs/user-client/http/handlers/hook-handler.js +2 -2
  87. package/dist/commonjs/user-client/http/handlers/hook-handler.js.map +1 -1
  88. package/dist/commonjs/user-client/http/transport/types.d.ts +2 -1
  89. package/dist/commonjs/user-client/http/transport/types.d.ts.map +1 -1
  90. package/dist/commonjs/user-client/services/channels/channels-service.d.ts +61 -61
  91. package/dist/commonjs/user-client/services/channels/channels-service.d.ts.map +1 -1
  92. package/dist/commonjs/user-client/services/channels/channels-service.js +74 -74
  93. package/dist/commonjs/user-client/services/channels/channels-service.js.map +1 -1
  94. package/dist/commonjs/user-client/services/channels/models/discard-result.d.ts +8 -8
  95. package/dist/commonjs/user-client/services/channels/models/inbox-token-response-collection.d.ts +14 -14
  96. package/dist/commonjs/user-client/services/channels/models/inbox-token-response.d.ts +8 -8
  97. package/dist/commonjs/user-client/services/channels/models/slack-token-collection.d.ts +14 -14
  98. package/dist/commonjs/user-client/services/channels/models/slack-token.d.ts +8 -8
  99. package/dist/commonjs/user-client/services/channels/request-params.d.ts +7 -7
  100. package/dist/commonjs/user-client/services/channels/request-params.d.ts.map +1 -1
  101. package/dist/commonjs/user-client/services/integrations/integrations-service.d.ts +12 -12
  102. package/dist/commonjs/user-client/services/integrations/integrations-service.d.ts.map +1 -1
  103. package/dist/commonjs/user-client/services/integrations/integrations-service.js +20 -20
  104. package/dist/commonjs/user-client/services/integrations/integrations-service.js.map +1 -1
  105. package/dist/commonjs/user-client/services/integrations/models/authed-user.d.ts +8 -8
  106. package/dist/commonjs/user-client/services/integrations/models/inbox-config-payload.d.ts +98 -98
  107. package/dist/commonjs/user-client/services/integrations/models/slack-installation.d.ts +57 -57
  108. package/dist/commonjs/user-client/services/integrations/models/slack-start-install.d.ts +8 -8
  109. package/dist/commonjs/user-client/services/integrations/models/theme.d.ts +56 -56
  110. package/dist/commonjs/user-client/services/notifications/models/notification-collection.d.ts +56 -56
  111. package/dist/commonjs/user-client/services/notifications/models/notification.d.ts +32 -32
  112. package/dist/commonjs/user-client/services/notifications/notifications-service.d.ts +27 -2
  113. package/dist/commonjs/user-client/services/notifications/notifications-service.d.ts.map +1 -1
  114. package/dist/commonjs/user-client/services/notifications/notifications-service.js +107 -1
  115. package/dist/commonjs/user-client/services/notifications/notifications-service.js.map +1 -1
  116. package/dist/commonjs/user-client/services/notifications/request-params.d.ts +9 -0
  117. package/dist/commonjs/user-client/services/notifications/request-params.d.ts.map +1 -1
  118. package/dist/esm/project-client/http/errors/throwable-error.d.ts +7 -0
  119. package/dist/esm/project-client/http/errors/throwable-error.d.ts.map +1 -0
  120. package/dist/esm/project-client/http/errors/throwable-error.js +21 -0
  121. package/dist/esm/project-client/http/errors/throwable-error.js.map +1 -0
  122. package/dist/esm/project-client/http/handlers/hook-handler.d.ts.map +1 -1
  123. package/dist/esm/project-client/http/handlers/hook-handler.js +2 -2
  124. package/dist/esm/project-client/http/handlers/hook-handler.js.map +1 -1
  125. package/dist/esm/project-client/http/transport/types.d.ts +2 -1
  126. package/dist/esm/project-client/http/transport/types.d.ts.map +1 -1
  127. package/dist/esm/project-client/index.d.ts +0 -6
  128. package/dist/esm/project-client/index.d.ts.map +1 -1
  129. package/dist/esm/project-client/index.js +0 -26
  130. package/dist/esm/project-client/index.js.map +1 -1
  131. package/dist/esm/project-client/services/broadcasts/broadcasts-service.d.ts +1 -1
  132. package/dist/esm/project-client/services/broadcasts/broadcasts-service.d.ts.map +1 -1
  133. package/dist/esm/project-client/services/broadcasts/broadcasts-service.js +1 -1
  134. package/dist/esm/project-client/services/broadcasts/broadcasts-service.js.map +1 -1
  135. package/dist/esm/project-client/services/broadcasts/models/broadcast-collection.d.ts +924 -942
  136. package/dist/esm/project-client/services/broadcasts/models/broadcast-collection.d.ts.map +1 -1
  137. package/dist/esm/project-client/services/broadcasts/models/broadcast.d.ts +639 -697
  138. package/dist/esm/project-client/services/broadcasts/models/broadcast.d.ts.map +1 -1
  139. package/dist/esm/project-client/services/broadcasts/models/broadcast.js +7 -6
  140. package/dist/esm/project-client/services/broadcasts/models/broadcast.js.map +1 -1
  141. package/dist/esm/project-client/services/broadcasts/models/email.d.ts +3 -3
  142. package/dist/esm/project-client/services/broadcasts/models/in-app.d.ts +3 -3
  143. package/dist/esm/project-client/services/broadcasts/models/index.d.ts +0 -2
  144. package/dist/esm/project-client/services/broadcasts/models/index.d.ts.map +1 -1
  145. package/dist/esm/project-client/services/broadcasts/models/index.js.map +1 -1
  146. package/dist/esm/project-client/services/broadcasts/models/mobile-push.d.ts +3 -3
  147. package/dist/esm/project-client/services/broadcasts/models/overrides-channels.d.ts +17 -229
  148. package/dist/esm/project-client/services/broadcasts/models/overrides-channels.d.ts.map +1 -1
  149. package/dist/esm/project-client/services/broadcasts/models/overrides-channels.js +0 -12
  150. package/dist/esm/project-client/services/broadcasts/models/overrides-channels.js.map +1 -1
  151. package/dist/esm/project-client/services/broadcasts/models/overrides.d.ts +200 -441
  152. package/dist/esm/project-client/services/broadcasts/models/overrides.d.ts.map +1 -1
  153. package/dist/esm/project-client/services/broadcasts/models/providers.d.ts +102 -60
  154. package/dist/esm/project-client/services/broadcasts/models/providers.d.ts.map +1 -1
  155. package/dist/esm/project-client/services/broadcasts/models/providers.js +35 -20
  156. package/dist/esm/project-client/services/broadcasts/models/providers.js.map +1 -1
  157. package/dist/esm/project-client/services/broadcasts/models/sms.d.ts +3 -3
  158. package/dist/esm/project-client/services/channels/channels-service.d.ts +48 -48
  159. package/dist/esm/project-client/services/channels/channels-service.d.ts.map +1 -1
  160. package/dist/esm/project-client/services/channels/channels-service.js +59 -59
  161. package/dist/esm/project-client/services/channels/channels-service.js.map +1 -1
  162. package/dist/esm/project-client/services/channels/models/discard-result.d.ts +8 -8
  163. package/dist/esm/project-client/services/channels/models/inbox-token-response-collection.d.ts +14 -14
  164. package/dist/esm/project-client/services/channels/models/inbox-token-response.d.ts +8 -8
  165. package/dist/esm/project-client/services/channels/models/slack-token-collection.d.ts +14 -14
  166. package/dist/esm/project-client/services/channels/models/slack-token.d.ts +8 -8
  167. package/dist/esm/project-client/services/channels/request-params.d.ts +7 -10
  168. package/dist/esm/project-client/services/channels/request-params.d.ts.map +1 -1
  169. package/dist/esm/project-client/services/common/index.d.ts +1 -0
  170. package/dist/esm/project-client/services/common/index.d.ts.map +1 -1
  171. package/dist/{commonjs/project-client/services/users/models → esm/project-client/services/common}/user.d.ts +24 -24
  172. package/dist/esm/project-client/services/common/user.d.ts.map +1 -0
  173. package/dist/esm/project-client/services/common/user.js.map +1 -0
  174. package/dist/esm/project-client/services/events/events-service.d.ts +3 -3
  175. package/dist/esm/project-client/services/events/events-service.d.ts.map +1 -1
  176. package/dist/esm/project-client/services/events/events-service.js +6 -6
  177. package/dist/esm/project-client/services/events/events-service.js.map +1 -1
  178. package/dist/esm/project-client/services/integrations/integrations-service.d.ts +97 -193
  179. package/dist/esm/project-client/services/integrations/integrations-service.d.ts.map +1 -1
  180. package/dist/esm/project-client/services/integrations/integrations-service.js +128 -528
  181. package/dist/esm/project-client/services/integrations/integrations-service.js.map +1 -1
  182. package/dist/esm/project-client/services/integrations/models/inbox-config-collection.d.ts +182 -182
  183. package/dist/esm/project-client/services/integrations/models/inbox-config-payload.d.ts +98 -98
  184. package/dist/esm/project-client/services/integrations/models/inbox-config.d.ts +140 -140
  185. package/dist/esm/project-client/services/integrations/models/theme.d.ts +56 -56
  186. package/dist/esm/project-client/services/integrations/request-params.d.ts +48 -0
  187. package/dist/esm/project-client/services/integrations/request-params.d.ts.map +1 -1
  188. package/dist/esm/project-client/services/users/models/index.d.ts +0 -1
  189. package/dist/esm/project-client/services/users/models/index.d.ts.map +1 -1
  190. package/dist/esm/project-client/services/users/models/user-collection.d.ts +42 -42
  191. package/dist/esm/project-client/services/users/models/user-collection.js +1 -1
  192. package/dist/esm/project-client/services/users/models/user-collection.js.map +1 -1
  193. package/dist/esm/project-client/services/users/users-service.d.ts +6 -6
  194. package/dist/esm/project-client/services/users/users-service.d.ts.map +1 -1
  195. package/dist/esm/project-client/services/users/users-service.js +8 -8
  196. package/dist/esm/project-client/services/users/users-service.js.map +1 -1
  197. package/dist/esm/user-client/http/errors/throwable-error.d.ts +7 -0
  198. package/dist/esm/user-client/http/errors/throwable-error.d.ts.map +1 -0
  199. package/dist/esm/user-client/http/errors/throwable-error.js +21 -0
  200. package/dist/esm/user-client/http/errors/throwable-error.js.map +1 -0
  201. package/dist/esm/user-client/http/handlers/hook-handler.d.ts.map +1 -1
  202. package/dist/esm/user-client/http/handlers/hook-handler.js +2 -2
  203. package/dist/esm/user-client/http/handlers/hook-handler.js.map +1 -1
  204. package/dist/esm/user-client/http/transport/types.d.ts +2 -1
  205. package/dist/esm/user-client/http/transport/types.d.ts.map +1 -1
  206. package/dist/esm/user-client/services/channels/channels-service.d.ts +61 -61
  207. package/dist/esm/user-client/services/channels/channels-service.d.ts.map +1 -1
  208. package/dist/esm/user-client/services/channels/channels-service.js +74 -74
  209. package/dist/esm/user-client/services/channels/channels-service.js.map +1 -1
  210. package/dist/esm/user-client/services/channels/models/discard-result.d.ts +8 -8
  211. package/dist/esm/user-client/services/channels/models/inbox-token-response-collection.d.ts +14 -14
  212. package/dist/esm/user-client/services/channels/models/inbox-token-response.d.ts +8 -8
  213. package/dist/esm/user-client/services/channels/models/slack-token-collection.d.ts +14 -14
  214. package/dist/esm/user-client/services/channels/models/slack-token.d.ts +8 -8
  215. package/dist/esm/user-client/services/channels/request-params.d.ts +7 -7
  216. package/dist/esm/user-client/services/channels/request-params.d.ts.map +1 -1
  217. package/dist/esm/user-client/services/integrations/integrations-service.d.ts +12 -12
  218. package/dist/esm/user-client/services/integrations/integrations-service.d.ts.map +1 -1
  219. package/dist/esm/user-client/services/integrations/integrations-service.js +20 -20
  220. package/dist/esm/user-client/services/integrations/integrations-service.js.map +1 -1
  221. package/dist/esm/user-client/services/integrations/models/authed-user.d.ts +8 -8
  222. package/dist/esm/user-client/services/integrations/models/inbox-config-payload.d.ts +98 -98
  223. package/dist/esm/user-client/services/integrations/models/slack-installation.d.ts +57 -57
  224. package/dist/esm/user-client/services/integrations/models/slack-start-install.d.ts +8 -8
  225. package/dist/esm/user-client/services/integrations/models/theme.d.ts +56 -56
  226. package/dist/esm/user-client/services/notifications/models/notification-collection.d.ts +56 -56
  227. package/dist/esm/user-client/services/notifications/models/notification.d.ts +32 -32
  228. package/dist/esm/user-client/services/notifications/notifications-service.d.ts +27 -2
  229. package/dist/esm/user-client/services/notifications/notifications-service.d.ts.map +1 -1
  230. package/dist/esm/user-client/services/notifications/notifications-service.js +107 -1
  231. package/dist/esm/user-client/services/notifications/notifications-service.js.map +1 -1
  232. package/dist/esm/user-client/services/notifications/request-params.d.ts +9 -0
  233. package/dist/esm/user-client/services/notifications/request-params.d.ts.map +1 -1
  234. package/package.json +3 -2
  235. package/src/project-client/http/errors/throwable-error.ts +9 -0
  236. package/src/project-client/http/handlers/hook-handler.ts +5 -3
  237. package/src/project-client/http/transport/types.ts +2 -1
  238. package/src/project-client/index.ts +0 -20
  239. package/src/project-client/services/broadcasts/broadcasts-service.ts +2 -1
  240. package/src/project-client/services/broadcasts/models/broadcast.ts +8 -7
  241. package/src/project-client/services/broadcasts/models/index.ts +0 -2
  242. package/src/project-client/services/broadcasts/models/overrides-channels.ts +0 -14
  243. package/src/project-client/services/broadcasts/models/providers.ts +38 -20
  244. package/src/project-client/services/channels/channels-service.ts +75 -78
  245. package/src/project-client/services/channels/request-params.ts +7 -11
  246. package/src/project-client/services/common/index.ts +1 -0
  247. package/src/project-client/services/events/events-service.ts +7 -6
  248. package/src/project-client/services/integrations/integrations-service.ts +196 -545
  249. package/src/project-client/services/integrations/request-params.ts +64 -0
  250. package/src/project-client/services/users/models/index.ts +0 -1
  251. package/src/project-client/services/users/models/user-collection.ts +1 -1
  252. package/src/project-client/services/users/users-service.ts +9 -8
  253. package/src/user-client/http/errors/throwable-error.ts +9 -0
  254. package/src/user-client/http/handlers/hook-handler.ts +5 -3
  255. package/src/user-client/http/transport/types.ts +2 -1
  256. package/src/user-client/services/channels/channels-service.ts +89 -106
  257. package/src/user-client/services/channels/request-params.ts +7 -7
  258. package/src/user-client/services/integrations/integrations-service.ts +21 -20
  259. package/src/user-client/services/notifications/notifications-service.ts +122 -2
  260. package/src/user-client/services/notifications/request-params.ts +11 -0
  261. package/dist/commonjs/project-client/services/broadcasts/models/slack.d.ts +0 -76
  262. package/dist/commonjs/project-client/services/broadcasts/models/slack.d.ts.map +0 -1
  263. package/dist/commonjs/project-client/services/broadcasts/models/slack.js +0 -49
  264. package/dist/commonjs/project-client/services/broadcasts/models/slack.js.map +0 -1
  265. package/dist/commonjs/project-client/services/broadcasts/models/web-push.d.ts +0 -76
  266. package/dist/commonjs/project-client/services/broadcasts/models/web-push.d.ts.map +0 -1
  267. package/dist/commonjs/project-client/services/broadcasts/models/web-push.js +0 -49
  268. package/dist/commonjs/project-client/services/broadcasts/models/web-push.js.map +0 -1
  269. package/dist/commonjs/project-client/services/jwt/index.d.ts +0 -3
  270. package/dist/commonjs/project-client/services/jwt/index.d.ts.map +0 -1
  271. package/dist/commonjs/project-client/services/jwt/index.js +0 -8
  272. package/dist/commonjs/project-client/services/jwt/index.js.map +0 -1
  273. package/dist/commonjs/project-client/services/jwt/jwt-service.d.ts +0 -56
  274. package/dist/commonjs/project-client/services/jwt/jwt-service.d.ts.map +0 -1
  275. package/dist/commonjs/project-client/services/jwt/jwt-service.js +0 -216
  276. package/dist/commonjs/project-client/services/jwt/jwt-service.js.map +0 -1
  277. package/dist/commonjs/project-client/services/jwt/models/access-token-collection.d.ts +0 -292
  278. package/dist/commonjs/project-client/services/jwt/models/access-token-collection.d.ts.map +0 -1
  279. package/dist/commonjs/project-client/services/jwt/models/access-token-collection.js +0 -46
  280. package/dist/commonjs/project-client/services/jwt/models/access-token-collection.js.map +0 -1
  281. package/dist/commonjs/project-client/services/jwt/models/access-token.d.ts +0 -104
  282. package/dist/commonjs/project-client/services/jwt/models/access-token.d.ts.map +0 -1
  283. package/dist/commonjs/project-client/services/jwt/models/access-token.js +0 -59
  284. package/dist/commonjs/project-client/services/jwt/models/access-token.js.map +0 -1
  285. package/dist/commonjs/project-client/services/jwt/models/create-project-token-request.d.ts +0 -62
  286. package/dist/commonjs/project-client/services/jwt/models/create-project-token-request.d.ts.map +0 -1
  287. package/dist/commonjs/project-client/services/jwt/models/create-project-token-request.js +0 -44
  288. package/dist/commonjs/project-client/services/jwt/models/create-project-token-request.js.map +0 -1
  289. package/dist/commonjs/project-client/services/jwt/models/create-token-response.d.ts +0 -90
  290. package/dist/commonjs/project-client/services/jwt/models/create-token-response.d.ts.map +0 -1
  291. package/dist/commonjs/project-client/services/jwt/models/create-token-response.js +0 -54
  292. package/dist/commonjs/project-client/services/jwt/models/create-token-response.js.map +0 -1
  293. package/dist/commonjs/project-client/services/jwt/models/create-user-token-request.d.ts +0 -90
  294. package/dist/commonjs/project-client/services/jwt/models/create-user-token-request.d.ts.map +0 -1
  295. package/dist/commonjs/project-client/services/jwt/models/create-user-token-request.js +0 -54
  296. package/dist/commonjs/project-client/services/jwt/models/create-user-token-request.js.map +0 -1
  297. package/dist/commonjs/project-client/services/jwt/models/discard-token-response.d.ts +0 -62
  298. package/dist/commonjs/project-client/services/jwt/models/discard-token-response.d.ts.map +0 -1
  299. package/dist/commonjs/project-client/services/jwt/models/discard-token-response.js +0 -44
  300. package/dist/commonjs/project-client/services/jwt/models/discard-token-response.js.map +0 -1
  301. package/dist/commonjs/project-client/services/jwt/models/index.d.ts +0 -7
  302. package/dist/commonjs/project-client/services/jwt/models/index.d.ts.map +0 -1
  303. package/dist/commonjs/project-client/services/jwt/models/index.js +0 -3
  304. package/dist/commonjs/project-client/services/jwt/models/index.js.map +0 -1
  305. package/dist/commonjs/project-client/services/jwt/request-params.d.ts +0 -11
  306. package/dist/commonjs/project-client/services/jwt/request-params.d.ts.map +0 -1
  307. package/dist/commonjs/project-client/services/jwt/request-params.js +0 -3
  308. package/dist/commonjs/project-client/services/jwt/request-params.js.map +0 -1
  309. package/dist/commonjs/project-client/services/notifications/index.d.ts +0 -3
  310. package/dist/commonjs/project-client/services/notifications/index.d.ts.map +0 -1
  311. package/dist/commonjs/project-client/services/notifications/index.js +0 -8
  312. package/dist/commonjs/project-client/services/notifications/index.js.map +0 -1
  313. package/dist/commonjs/project-client/services/notifications/models/delivery-plan-collection.d.ts +0 -384
  314. package/dist/commonjs/project-client/services/notifications/models/delivery-plan-collection.d.ts.map +0 -1
  315. package/dist/commonjs/project-client/services/notifications/models/delivery-plan-collection.js +0 -46
  316. package/dist/commonjs/project-client/services/notifications/models/delivery-plan-collection.js.map +0 -1
  317. package/dist/commonjs/project-client/services/notifications/models/delivery-plan.d.ts +0 -160
  318. package/dist/commonjs/project-client/services/notifications/models/delivery-plan.d.ts.map +0 -1
  319. package/dist/commonjs/project-client/services/notifications/models/delivery-plan.js +0 -79
  320. package/dist/commonjs/project-client/services/notifications/models/delivery-plan.js.map +0 -1
  321. package/dist/commonjs/project-client/services/notifications/models/index.d.ts +0 -3
  322. package/dist/commonjs/project-client/services/notifications/models/index.d.ts.map +0 -1
  323. package/dist/commonjs/project-client/services/notifications/models/index.js +0 -3
  324. package/dist/commonjs/project-client/services/notifications/models/index.js.map +0 -1
  325. package/dist/commonjs/project-client/services/notifications/notifications-service.d.ts +0 -13
  326. package/dist/commonjs/project-client/services/notifications/notifications-service.d.ts.map +0 -1
  327. package/dist/commonjs/project-client/services/notifications/notifications-service.js +0 -43
  328. package/dist/commonjs/project-client/services/notifications/notifications-service.js.map +0 -1
  329. package/dist/commonjs/project-client/services/users/models/user.d.ts.map +0 -1
  330. package/dist/commonjs/project-client/services/users/models/user.js.map +0 -1
  331. package/dist/esm/project-client/services/broadcasts/models/slack.d.ts +0 -76
  332. package/dist/esm/project-client/services/broadcasts/models/slack.d.ts.map +0 -1
  333. package/dist/esm/project-client/services/broadcasts/models/slack.js +0 -46
  334. package/dist/esm/project-client/services/broadcasts/models/slack.js.map +0 -1
  335. package/dist/esm/project-client/services/broadcasts/models/web-push.d.ts +0 -76
  336. package/dist/esm/project-client/services/broadcasts/models/web-push.d.ts.map +0 -1
  337. package/dist/esm/project-client/services/broadcasts/models/web-push.js +0 -46
  338. package/dist/esm/project-client/services/broadcasts/models/web-push.js.map +0 -1
  339. package/dist/esm/project-client/services/jwt/index.d.ts +0 -3
  340. package/dist/esm/project-client/services/jwt/index.d.ts.map +0 -1
  341. package/dist/esm/project-client/services/jwt/index.js +0 -3
  342. package/dist/esm/project-client/services/jwt/index.js.map +0 -1
  343. package/dist/esm/project-client/services/jwt/jwt-service.d.ts +0 -56
  344. package/dist/esm/project-client/services/jwt/jwt-service.d.ts.map +0 -1
  345. package/dist/esm/project-client/services/jwt/jwt-service.js +0 -212
  346. package/dist/esm/project-client/services/jwt/jwt-service.js.map +0 -1
  347. package/dist/esm/project-client/services/jwt/models/access-token-collection.d.ts +0 -292
  348. package/dist/esm/project-client/services/jwt/models/access-token-collection.d.ts.map +0 -1
  349. package/dist/esm/project-client/services/jwt/models/access-token-collection.js +0 -43
  350. package/dist/esm/project-client/services/jwt/models/access-token-collection.js.map +0 -1
  351. package/dist/esm/project-client/services/jwt/models/access-token.d.ts +0 -104
  352. package/dist/esm/project-client/services/jwt/models/access-token.d.ts.map +0 -1
  353. package/dist/esm/project-client/services/jwt/models/access-token.js +0 -56
  354. package/dist/esm/project-client/services/jwt/models/access-token.js.map +0 -1
  355. package/dist/esm/project-client/services/jwt/models/create-project-token-request.d.ts +0 -62
  356. package/dist/esm/project-client/services/jwt/models/create-project-token-request.d.ts.map +0 -1
  357. package/dist/esm/project-client/services/jwt/models/create-project-token-request.js +0 -41
  358. package/dist/esm/project-client/services/jwt/models/create-project-token-request.js.map +0 -1
  359. package/dist/esm/project-client/services/jwt/models/create-token-response.d.ts +0 -90
  360. package/dist/esm/project-client/services/jwt/models/create-token-response.d.ts.map +0 -1
  361. package/dist/esm/project-client/services/jwt/models/create-token-response.js +0 -51
  362. package/dist/esm/project-client/services/jwt/models/create-token-response.js.map +0 -1
  363. package/dist/esm/project-client/services/jwt/models/create-user-token-request.d.ts +0 -90
  364. package/dist/esm/project-client/services/jwt/models/create-user-token-request.d.ts.map +0 -1
  365. package/dist/esm/project-client/services/jwt/models/create-user-token-request.js +0 -51
  366. package/dist/esm/project-client/services/jwt/models/create-user-token-request.js.map +0 -1
  367. package/dist/esm/project-client/services/jwt/models/discard-token-response.d.ts +0 -62
  368. package/dist/esm/project-client/services/jwt/models/discard-token-response.d.ts.map +0 -1
  369. package/dist/esm/project-client/services/jwt/models/discard-token-response.js +0 -41
  370. package/dist/esm/project-client/services/jwt/models/discard-token-response.js.map +0 -1
  371. package/dist/esm/project-client/services/jwt/models/index.d.ts +0 -7
  372. package/dist/esm/project-client/services/jwt/models/index.d.ts.map +0 -1
  373. package/dist/esm/project-client/services/jwt/models/index.js +0 -2
  374. package/dist/esm/project-client/services/jwt/models/index.js.map +0 -1
  375. package/dist/esm/project-client/services/jwt/request-params.d.ts +0 -11
  376. package/dist/esm/project-client/services/jwt/request-params.d.ts.map +0 -1
  377. package/dist/esm/project-client/services/jwt/request-params.js +0 -2
  378. package/dist/esm/project-client/services/jwt/request-params.js.map +0 -1
  379. package/dist/esm/project-client/services/notifications/index.d.ts +0 -3
  380. package/dist/esm/project-client/services/notifications/index.d.ts.map +0 -1
  381. package/dist/esm/project-client/services/notifications/index.js +0 -3
  382. package/dist/esm/project-client/services/notifications/index.js.map +0 -1
  383. package/dist/esm/project-client/services/notifications/models/delivery-plan-collection.d.ts +0 -384
  384. package/dist/esm/project-client/services/notifications/models/delivery-plan-collection.d.ts.map +0 -1
  385. package/dist/esm/project-client/services/notifications/models/delivery-plan-collection.js +0 -43
  386. package/dist/esm/project-client/services/notifications/models/delivery-plan-collection.js.map +0 -1
  387. package/dist/esm/project-client/services/notifications/models/delivery-plan.d.ts +0 -160
  388. package/dist/esm/project-client/services/notifications/models/delivery-plan.d.ts.map +0 -1
  389. package/dist/esm/project-client/services/notifications/models/delivery-plan.js +0 -76
  390. package/dist/esm/project-client/services/notifications/models/delivery-plan.js.map +0 -1
  391. package/dist/esm/project-client/services/notifications/models/index.d.ts +0 -3
  392. package/dist/esm/project-client/services/notifications/models/index.d.ts.map +0 -1
  393. package/dist/esm/project-client/services/notifications/models/index.js +0 -2
  394. package/dist/esm/project-client/services/notifications/models/index.js.map +0 -1
  395. package/dist/esm/project-client/services/notifications/notifications-service.d.ts +0 -13
  396. package/dist/esm/project-client/services/notifications/notifications-service.d.ts.map +0 -1
  397. package/dist/esm/project-client/services/notifications/notifications-service.js +0 -39
  398. package/dist/esm/project-client/services/notifications/notifications-service.js.map +0 -1
  399. package/dist/esm/project-client/services/users/models/user.d.ts.map +0 -1
  400. package/dist/esm/project-client/services/users/models/user.js.map +0 -1
  401. package/src/project-client/services/broadcasts/models/slack.ts +0 -57
  402. package/src/project-client/services/broadcasts/models/web-push.ts +0 -57
  403. package/src/project-client/services/jwt/index.ts +0 -2
  404. package/src/project-client/services/jwt/jwt-service.ts +0 -233
  405. package/src/project-client/services/jwt/models/access-token-collection.ts +0 -54
  406. package/src/project-client/services/jwt/models/access-token.ts +0 -69
  407. package/src/project-client/services/jwt/models/create-project-token-request.ts +0 -51
  408. package/src/project-client/services/jwt/models/create-token-response.ts +0 -63
  409. package/src/project-client/services/jwt/models/create-user-token-request.ts +0 -63
  410. package/src/project-client/services/jwt/models/discard-token-response.ts +0 -51
  411. package/src/project-client/services/jwt/models/index.ts +0 -6
  412. package/src/project-client/services/jwt/request-params.ts +0 -11
  413. package/src/project-client/services/notifications/index.ts +0 -2
  414. package/src/project-client/services/notifications/models/delivery-plan-collection.ts +0 -54
  415. package/src/project-client/services/notifications/models/delivery-plan.ts +0 -93
  416. package/src/project-client/services/notifications/models/index.ts +0 -2
  417. package/src/project-client/services/notifications/notifications-service.ts +0 -44
  418. /package/dist/commonjs/project-client/services/{users/models → common}/user.js +0 -0
  419. /package/dist/esm/project-client/services/{users/models → common}/user.js +0 -0
  420. /package/src/project-client/services/{users/models → common}/user.ts +0 -0
@@ -1,6 +1,7 @@
1
1
  import { z } from 'zod';
2
2
 
3
3
  import { Environment } from '../../http/environment.js';
4
+ import { ThrowableError } from '../../http/errors/throwable-error.js';
4
5
  import { SerializationStyle } from '../../http/serialization/base-serializer.js';
5
6
  import { RequestBuilder } from '../../http/transport/request-builder.js';
6
7
  import { ContentType, HttpResponse, RequestConfig } from '../../http/types.js';
@@ -95,7 +96,25 @@ import {
95
96
  webpushConfigPayloadRequest,
96
97
  webpushConfigPayloadResponse,
97
98
  } from './models/webpush-config-payload.js';
98
- import { ListIntegrationsParams } from './request-params.js';
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';
99
118
 
100
119
  export class IntegrationsService extends BaseService {
101
120
  /**
@@ -143,11 +162,11 @@ export class IntegrationsService extends BaseService {
143
162
  }
144
163
 
145
164
  /**
146
- * Retrieves the current apns integration configurations for a specific integration type in the project. Returns configuration details and status information.
165
+ * Retrieves the current APNs integration configurations for a specific integration type in the project. Returns configuration details and status information.
147
166
  * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
148
167
  * @returns {Promise<HttpResponse<ApnsConfigCollection>>} OK
149
168
  */
150
- async getApnsIntegration(requestConfig?: RequestConfig): Promise<HttpResponse<ApnsConfigCollection>> {
169
+ async listApnsIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<ApnsConfigCollection>> {
151
170
  const request = new RequestBuilder()
152
171
  .setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
153
172
  .setConfig(this.config)
@@ -169,7 +188,7 @@ export class IntegrationsService extends BaseService {
169
188
  }
170
189
 
171
190
  /**
172
- * Creates or updates a apns integration for the project. Only administrators can configure integrations.
191
+ * Updates or creates the APNs integration for the project.
173
192
  * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
174
193
  * @returns {Promise<HttpResponse<ApnsConfigPayload>>} OK
175
194
  */
@@ -200,11 +219,15 @@ export class IntegrationsService extends BaseService {
200
219
  }
201
220
 
202
221
  /**
203
- * Removes a apns integration configuration from the project. This will disable the integration's functionality within the project.
222
+ * Deletes the APNs integration configuration from the project. This will disable the integration's functionality within the project.
223
+ * @param {string} [params.id] -
204
224
  * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
205
225
  * @returns {Promise<HttpResponse<any>>} No Content
206
226
  */
207
- async deleteApnsIntegration(requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
227
+ async deleteApnsIntegration(
228
+ params?: DeleteApnsIntegrationParams,
229
+ requestConfig?: RequestConfig,
230
+ ): Promise<HttpResponse<void>> {
208
231
  const request = new RequestBuilder()
209
232
  .setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
210
233
  .setConfig(this.config)
@@ -221,47 +244,20 @@ export class IntegrationsService extends BaseService {
221
244
  .setRetryAttempts(this.config, requestConfig)
222
245
  .setRetryDelayMs(this.config, requestConfig)
223
246
  .setResponseValidation(this.config, requestConfig)
224
- .build();
225
- return this.client.call<void>(request);
226
- }
227
-
228
- /**
229
- * Removes a specific apns integration instance by ID from the project.
230
- * @param {string} id -
231
- * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
232
- * @returns {Promise<HttpResponse<any>>} No Content
233
- */
234
- async deleteApnsIntegrationById(id: string, requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
235
- const request = new RequestBuilder()
236
- .setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
237
- .setConfig(this.config)
238
- .setMethod('DELETE')
239
- .setPath('/integrations/apns/{id}')
240
- .setRequestSchema(z.any())
241
- .addAccessTokenAuth(this.config.token, 'Bearer')
242
- .setRequestContentType(ContentType.Json)
243
- .addResponse({
244
- schema: z.undefined(),
245
- contentType: ContentType.NoContent,
246
- status: 204,
247
- })
248
- .setRetryAttempts(this.config, requestConfig)
249
- .setRetryDelayMs(this.config, requestConfig)
250
- .setResponseValidation(this.config, requestConfig)
251
- .addPathParam({
247
+ .addQueryParam({
252
248
  key: 'id',
253
- value: id,
249
+ value: params?.id,
254
250
  })
255
251
  .build();
256
252
  return this.client.call<void>(request);
257
253
  }
258
254
 
259
255
  /**
260
- * Retrieves the current awssns integration configurations for a specific integration type in the project. Returns configuration details and status information.
256
+ * Retrieves the current Amazon SNS integration configurations for a specific integration type in the project. Returns configuration details and status information.
261
257
  * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
262
258
  * @returns {Promise<HttpResponse<AwssnsConfigCollection>>} OK
263
259
  */
264
- async getAwssnsIntegration(requestConfig?: RequestConfig): Promise<HttpResponse<AwssnsConfigCollection>> {
260
+ async listAwssnsIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<AwssnsConfigCollection>> {
265
261
  const request = new RequestBuilder()
266
262
  .setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
267
263
  .setConfig(this.config)
@@ -283,7 +279,7 @@ export class IntegrationsService extends BaseService {
283
279
  }
284
280
 
285
281
  /**
286
- * Creates or updates a awssns integration for the project. Only administrators can configure integrations.
282
+ * Updates or creates the Amazon SNS integration for the project.
287
283
  * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
288
284
  * @returns {Promise<HttpResponse<AwssnsConfigPayload>>} OK
289
285
  */
@@ -314,11 +310,15 @@ export class IntegrationsService extends BaseService {
314
310
  }
315
311
 
316
312
  /**
317
- * Removes a awssns integration configuration from the project. This will disable the integration's functionality within the project.
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] -
318
315
  * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
319
316
  * @returns {Promise<HttpResponse<any>>} No Content
320
317
  */
321
- async deleteAwssnsIntegration(requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
318
+ async deleteAwssnsIntegration(
319
+ params?: DeleteAwssnsIntegrationParams,
320
+ requestConfig?: RequestConfig,
321
+ ): Promise<HttpResponse<void>> {
322
322
  const request = new RequestBuilder()
323
323
  .setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
324
324
  .setConfig(this.config)
@@ -335,47 +335,20 @@ export class IntegrationsService extends BaseService {
335
335
  .setRetryAttempts(this.config, requestConfig)
336
336
  .setRetryDelayMs(this.config, requestConfig)
337
337
  .setResponseValidation(this.config, requestConfig)
338
- .build();
339
- return this.client.call<void>(request);
340
- }
341
-
342
- /**
343
- * Removes a specific awssns integration instance by ID from the project.
344
- * @param {string} id -
345
- * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
346
- * @returns {Promise<HttpResponse<any>>} No Content
347
- */
348
- async deleteAwssnsIntegrationById(id: string, requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
349
- const request = new RequestBuilder()
350
- .setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
351
- .setConfig(this.config)
352
- .setMethod('DELETE')
353
- .setPath('/integrations/awssns/{id}')
354
- .setRequestSchema(z.any())
355
- .addAccessTokenAuth(this.config.token, 'Bearer')
356
- .setRequestContentType(ContentType.Json)
357
- .addResponse({
358
- schema: z.undefined(),
359
- contentType: ContentType.NoContent,
360
- status: 204,
361
- })
362
- .setRetryAttempts(this.config, requestConfig)
363
- .setRetryDelayMs(this.config, requestConfig)
364
- .setResponseValidation(this.config, requestConfig)
365
- .addPathParam({
338
+ .addQueryParam({
366
339
  key: 'id',
367
- value: id,
340
+ value: params?.id,
368
341
  })
369
342
  .build();
370
343
  return this.client.call<void>(request);
371
344
  }
372
345
 
373
346
  /**
374
- * Retrieves the current eventsource integration configurations for a specific integration type in the project. Returns configuration details and status information.
347
+ * Retrieves the current EventSource integration configurations for a specific integration type in the project. Returns configuration details and status information.
375
348
  * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
376
349
  * @returns {Promise<HttpResponse<EventSourceConfigCollection>>} OK
377
350
  */
378
- async getEventsourceIntegration(requestConfig?: RequestConfig): Promise<HttpResponse<EventSourceConfigCollection>> {
351
+ async listEventsourceIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<EventSourceConfigCollection>> {
379
352
  const request = new RequestBuilder()
380
353
  .setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
381
354
  .setConfig(this.config)
@@ -397,7 +370,7 @@ export class IntegrationsService extends BaseService {
397
370
  }
398
371
 
399
372
  /**
400
- * Creates or updates a eventsource integration for the project. Only administrators can configure integrations.
373
+ * Updates or creates the EventSource integration for the project.
401
374
  * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
402
375
  * @returns {Promise<HttpResponse<EventSourceConfigPayload>>} OK
403
376
  */
@@ -428,11 +401,15 @@ export class IntegrationsService extends BaseService {
428
401
  }
429
402
 
430
403
  /**
431
- * Removes a eventsource integration configuration from the project. This will disable the integration's functionality within the project.
404
+ * Deletes the EventSource integration configuration from the project. This will disable the integration's functionality within the project.
405
+ * @param {string} [params.id] -
432
406
  * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
433
407
  * @returns {Promise<HttpResponse<any>>} No Content
434
408
  */
435
- async deleteEventsourceIntegration(requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
409
+ async deleteEventsourceIntegration(
410
+ params?: DeleteEventsourceIntegrationParams,
411
+ requestConfig?: RequestConfig,
412
+ ): Promise<HttpResponse<void>> {
436
413
  const request = new RequestBuilder()
437
414
  .setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
438
415
  .setConfig(this.config)
@@ -449,47 +426,20 @@ export class IntegrationsService extends BaseService {
449
426
  .setRetryAttempts(this.config, requestConfig)
450
427
  .setRetryDelayMs(this.config, requestConfig)
451
428
  .setResponseValidation(this.config, requestConfig)
452
- .build();
453
- return this.client.call<void>(request);
454
- }
455
-
456
- /**
457
- * Removes a specific eventsource integration instance by ID from the project.
458
- * @param {string} id -
459
- * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
460
- * @returns {Promise<HttpResponse<any>>} No Content
461
- */
462
- async deleteEventsourceIntegrationById(id: string, requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
463
- const request = new RequestBuilder()
464
- .setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
465
- .setConfig(this.config)
466
- .setMethod('DELETE')
467
- .setPath('/integrations/eventsource/{id}')
468
- .setRequestSchema(z.any())
469
- .addAccessTokenAuth(this.config.token, 'Bearer')
470
- .setRequestContentType(ContentType.Json)
471
- .addResponse({
472
- schema: z.undefined(),
473
- contentType: ContentType.NoContent,
474
- status: 204,
475
- })
476
- .setRetryAttempts(this.config, requestConfig)
477
- .setRetryDelayMs(this.config, requestConfig)
478
- .setResponseValidation(this.config, requestConfig)
479
- .addPathParam({
429
+ .addQueryParam({
480
430
  key: 'id',
481
- value: id,
431
+ value: params?.id,
482
432
  })
483
433
  .build();
484
434
  return this.client.call<void>(request);
485
435
  }
486
436
 
487
437
  /**
488
- * Retrieves the current expo integration configurations for a specific integration type in the project. Returns configuration details and status information.
438
+ * Retrieves the current Expo integration configurations for a specific integration type in the project. Returns configuration details and status information.
489
439
  * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
490
440
  * @returns {Promise<HttpResponse<ExpoConfigCollection>>} OK
491
441
  */
492
- async getExpoIntegration(requestConfig?: RequestConfig): Promise<HttpResponse<ExpoConfigCollection>> {
442
+ async listExpoIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<ExpoConfigCollection>> {
493
443
  const request = new RequestBuilder()
494
444
  .setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
495
445
  .setConfig(this.config)
@@ -511,7 +461,7 @@ export class IntegrationsService extends BaseService {
511
461
  }
512
462
 
513
463
  /**
514
- * Creates or updates a expo integration for the project. Only administrators can configure integrations.
464
+ * Updates or creates the Expo integration for the project.
515
465
  * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
516
466
  * @returns {Promise<HttpResponse<ExpoConfigPayload>>} OK
517
467
  */
@@ -542,11 +492,15 @@ export class IntegrationsService extends BaseService {
542
492
  }
543
493
 
544
494
  /**
545
- * Removes a expo integration configuration from the project. This will disable the integration's functionality within the project.
495
+ * Deletes the Expo integration configuration from the project. This will disable the integration's functionality within the project.
496
+ * @param {string} [params.id] -
546
497
  * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
547
498
  * @returns {Promise<HttpResponse<any>>} No Content
548
499
  */
549
- async deleteExpoIntegration(requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
500
+ async deleteExpoIntegration(
501
+ params?: DeleteExpoIntegrationParams,
502
+ requestConfig?: RequestConfig,
503
+ ): Promise<HttpResponse<void>> {
550
504
  const request = new RequestBuilder()
551
505
  .setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
552
506
  .setConfig(this.config)
@@ -563,47 +517,20 @@ export class IntegrationsService extends BaseService {
563
517
  .setRetryAttempts(this.config, requestConfig)
564
518
  .setRetryDelayMs(this.config, requestConfig)
565
519
  .setResponseValidation(this.config, requestConfig)
566
- .build();
567
- return this.client.call<void>(request);
568
- }
569
-
570
- /**
571
- * Removes a specific expo integration instance by ID from the project.
572
- * @param {string} id -
573
- * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
574
- * @returns {Promise<HttpResponse<any>>} No Content
575
- */
576
- async deleteExpoIntegrationById(id: string, requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
577
- const request = new RequestBuilder()
578
- .setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
579
- .setConfig(this.config)
580
- .setMethod('DELETE')
581
- .setPath('/integrations/expo/{id}')
582
- .setRequestSchema(z.any())
583
- .addAccessTokenAuth(this.config.token, 'Bearer')
584
- .setRequestContentType(ContentType.Json)
585
- .addResponse({
586
- schema: z.undefined(),
587
- contentType: ContentType.NoContent,
588
- status: 204,
589
- })
590
- .setRetryAttempts(this.config, requestConfig)
591
- .setRetryDelayMs(this.config, requestConfig)
592
- .setResponseValidation(this.config, requestConfig)
593
- .addPathParam({
520
+ .addQueryParam({
594
521
  key: 'id',
595
- value: id,
522
+ value: params?.id,
596
523
  })
597
524
  .build();
598
525
  return this.client.call<void>(request);
599
526
  }
600
527
 
601
528
  /**
602
- * Retrieves the current fcm integration configurations for a specific integration type in the project. Returns configuration details and status information.
529
+ * Retrieves the current FCM integration configurations for a specific integration type in the project. Returns configuration details and status information.
603
530
  * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
604
531
  * @returns {Promise<HttpResponse<FcmConfigCollection>>} OK
605
532
  */
606
- async getFcmIntegration(requestConfig?: RequestConfig): Promise<HttpResponse<FcmConfigCollection>> {
533
+ async listFcmIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<FcmConfigCollection>> {
607
534
  const request = new RequestBuilder()
608
535
  .setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
609
536
  .setConfig(this.config)
@@ -625,7 +552,7 @@ export class IntegrationsService extends BaseService {
625
552
  }
626
553
 
627
554
  /**
628
- * Creates or updates a fcm integration for the project. Only administrators can configure integrations.
555
+ * Updates or creates the FCM integration for the project.
629
556
  * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
630
557
  * @returns {Promise<HttpResponse<FcmConfigPayload>>} OK
631
558
  */
@@ -656,11 +583,15 @@ export class IntegrationsService extends BaseService {
656
583
  }
657
584
 
658
585
  /**
659
- * Removes a fcm integration configuration from the project. This will disable the integration's functionality within the project.
586
+ * Deletes the FCM integration configuration from the project. This will disable the integration's functionality within the project.
587
+ * @param {string} [params.id] -
660
588
  * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
661
589
  * @returns {Promise<HttpResponse<any>>} No Content
662
590
  */
663
- async deleteFcmIntegration(requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
591
+ async deleteFcmIntegration(
592
+ params?: DeleteFcmIntegrationParams,
593
+ requestConfig?: RequestConfig,
594
+ ): Promise<HttpResponse<void>> {
664
595
  const request = new RequestBuilder()
665
596
  .setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
666
597
  .setConfig(this.config)
@@ -677,47 +608,20 @@ export class IntegrationsService extends BaseService {
677
608
  .setRetryAttempts(this.config, requestConfig)
678
609
  .setRetryDelayMs(this.config, requestConfig)
679
610
  .setResponseValidation(this.config, requestConfig)
680
- .build();
681
- return this.client.call<void>(request);
682
- }
683
-
684
- /**
685
- * Removes a specific fcm integration instance by ID from the project.
686
- * @param {string} id -
687
- * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
688
- * @returns {Promise<HttpResponse<any>>} No Content
689
- */
690
- async deleteFcmIntegrationById(id: string, requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
691
- const request = new RequestBuilder()
692
- .setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
693
- .setConfig(this.config)
694
- .setMethod('DELETE')
695
- .setPath('/integrations/fcm/{id}')
696
- .setRequestSchema(z.any())
697
- .addAccessTokenAuth(this.config.token, 'Bearer')
698
- .setRequestContentType(ContentType.Json)
699
- .addResponse({
700
- schema: z.undefined(),
701
- contentType: ContentType.NoContent,
702
- status: 204,
703
- })
704
- .setRetryAttempts(this.config, requestConfig)
705
- .setRetryDelayMs(this.config, requestConfig)
706
- .setResponseValidation(this.config, requestConfig)
707
- .addPathParam({
611
+ .addQueryParam({
708
612
  key: 'id',
709
- value: id,
613
+ value: params?.id,
710
614
  })
711
615
  .build();
712
616
  return this.client.call<void>(request);
713
617
  }
714
618
 
715
619
  /**
716
- * Retrieves the current github integration configurations for a specific integration type in the project. Returns configuration details and status information.
620
+ * Retrieves the current GitHub integration configurations for a specific integration type in the project. Returns configuration details and status information.
717
621
  * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
718
622
  * @returns {Promise<HttpResponse<GithubConfigCollection>>} OK
719
623
  */
720
- async getGithubIntegration(requestConfig?: RequestConfig): Promise<HttpResponse<GithubConfigCollection>> {
624
+ async listGithubIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<GithubConfigCollection>> {
721
625
  const request = new RequestBuilder()
722
626
  .setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
723
627
  .setConfig(this.config)
@@ -739,7 +643,7 @@ export class IntegrationsService extends BaseService {
739
643
  }
740
644
 
741
645
  /**
742
- * Creates or updates a github integration for the project. Only administrators can configure integrations.
646
+ * Updates or creates the GitHub integration for the project.
743
647
  * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
744
648
  * @returns {Promise<HttpResponse<GithubConfigPayload>>} OK
745
649
  */
@@ -770,11 +674,15 @@ export class IntegrationsService extends BaseService {
770
674
  }
771
675
 
772
676
  /**
773
- * Removes a github integration configuration from the project. This will disable the integration's functionality within the project.
677
+ * Deletes the GitHub integration configuration from the project. This will disable the integration's functionality within the project.
678
+ * @param {string} [params.id] -
774
679
  * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
775
680
  * @returns {Promise<HttpResponse<any>>} No Content
776
681
  */
777
- async deleteGithubIntegration(requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
682
+ async deleteGithubIntegration(
683
+ params?: DeleteGithubIntegrationParams,
684
+ requestConfig?: RequestConfig,
685
+ ): Promise<HttpResponse<void>> {
778
686
  const request = new RequestBuilder()
779
687
  .setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
780
688
  .setConfig(this.config)
@@ -791,47 +699,20 @@ export class IntegrationsService extends BaseService {
791
699
  .setRetryAttempts(this.config, requestConfig)
792
700
  .setRetryDelayMs(this.config, requestConfig)
793
701
  .setResponseValidation(this.config, requestConfig)
794
- .build();
795
- return this.client.call<void>(request);
796
- }
797
-
798
- /**
799
- * Removes a specific github integration instance by ID from the project.
800
- * @param {string} id -
801
- * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
802
- * @returns {Promise<HttpResponse<any>>} No Content
803
- */
804
- async deleteGithubIntegrationById(id: string, requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
805
- const request = new RequestBuilder()
806
- .setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
807
- .setConfig(this.config)
808
- .setMethod('DELETE')
809
- .setPath('/integrations/github/{id}')
810
- .setRequestSchema(z.any())
811
- .addAccessTokenAuth(this.config.token, 'Bearer')
812
- .setRequestContentType(ContentType.Json)
813
- .addResponse({
814
- schema: z.undefined(),
815
- contentType: ContentType.NoContent,
816
- status: 204,
817
- })
818
- .setRetryAttempts(this.config, requestConfig)
819
- .setRetryDelayMs(this.config, requestConfig)
820
- .setResponseValidation(this.config, requestConfig)
821
- .addPathParam({
702
+ .addQueryParam({
822
703
  key: 'id',
823
- value: id,
704
+ value: params?.id,
824
705
  })
825
706
  .build();
826
707
  return this.client.call<void>(request);
827
708
  }
828
709
 
829
710
  /**
830
- * Retrieves the current inbox integration configurations for a specific integration type in the project. Returns configuration details and status information.
711
+ * Retrieves the current Inbox integration configurations for a specific integration type in the project. Returns configuration details and status information.
831
712
  * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
832
713
  * @returns {Promise<HttpResponse<InboxConfigCollection>>} OK
833
714
  */
834
- async getInboxIntegration(requestConfig?: RequestConfig): Promise<HttpResponse<InboxConfigCollection>> {
715
+ async listInboxIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<InboxConfigCollection>> {
835
716
  const request = new RequestBuilder()
836
717
  .setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
837
718
  .setConfig(this.config)
@@ -853,7 +734,7 @@ export class IntegrationsService extends BaseService {
853
734
  }
854
735
 
855
736
  /**
856
- * Creates or updates a inbox integration for the project. Only administrators can configure integrations.
737
+ * Updates or creates the Inbox integration for the project.
857
738
  * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
858
739
  * @returns {Promise<HttpResponse<InboxConfigPayload>>} OK
859
740
  */
@@ -884,11 +765,15 @@ export class IntegrationsService extends BaseService {
884
765
  }
885
766
 
886
767
  /**
887
- * Removes a inbox integration configuration from the project. This will disable the integration's functionality within the project.
768
+ * Deletes the Inbox integration configuration from the project. This will disable the integration's functionality within the project.
769
+ * @param {string} [params.id] -
888
770
  * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
889
771
  * @returns {Promise<HttpResponse<any>>} No Content
890
772
  */
891
- async deleteInboxIntegration(requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
773
+ async deleteInboxIntegration(
774
+ params?: DeleteInboxIntegrationParams,
775
+ requestConfig?: RequestConfig,
776
+ ): Promise<HttpResponse<void>> {
892
777
  const request = new RequestBuilder()
893
778
  .setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
894
779
  .setConfig(this.config)
@@ -905,47 +790,20 @@ export class IntegrationsService extends BaseService {
905
790
  .setRetryAttempts(this.config, requestConfig)
906
791
  .setRetryDelayMs(this.config, requestConfig)
907
792
  .setResponseValidation(this.config, requestConfig)
908
- .build();
909
- return this.client.call<void>(request);
910
- }
911
-
912
- /**
913
- * Removes a specific inbox integration instance by ID from the project.
914
- * @param {string} id -
915
- * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
916
- * @returns {Promise<HttpResponse<any>>} No Content
917
- */
918
- async deleteInboxIntegrationById(id: string, requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
919
- const request = new RequestBuilder()
920
- .setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
921
- .setConfig(this.config)
922
- .setMethod('DELETE')
923
- .setPath('/integrations/inbox/{id}')
924
- .setRequestSchema(z.any())
925
- .addAccessTokenAuth(this.config.token, 'Bearer')
926
- .setRequestContentType(ContentType.Json)
927
- .addResponse({
928
- schema: z.undefined(),
929
- contentType: ContentType.NoContent,
930
- status: 204,
931
- })
932
- .setRetryAttempts(this.config, requestConfig)
933
- .setRetryDelayMs(this.config, requestConfig)
934
- .setResponseValidation(this.config, requestConfig)
935
- .addPathParam({
793
+ .addQueryParam({
936
794
  key: 'id',
937
- value: id,
795
+ value: params?.id,
938
796
  })
939
797
  .build();
940
798
  return this.client.call<void>(request);
941
799
  }
942
800
 
943
801
  /**
944
- * Retrieves the current mailgun integration configurations for a specific integration type in the project. Returns configuration details and status information.
802
+ * Retrieves the current Mailgun integration configurations for a specific integration type in the project. Returns configuration details and status information.
945
803
  * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
946
804
  * @returns {Promise<HttpResponse<MailgunConfigCollection>>} OK
947
805
  */
948
- async getMailgunIntegration(requestConfig?: RequestConfig): Promise<HttpResponse<MailgunConfigCollection>> {
806
+ async listMailgunIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<MailgunConfigCollection>> {
949
807
  const request = new RequestBuilder()
950
808
  .setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
951
809
  .setConfig(this.config)
@@ -967,7 +825,7 @@ export class IntegrationsService extends BaseService {
967
825
  }
968
826
 
969
827
  /**
970
- * Creates or updates a mailgun integration for the project. Only administrators can configure integrations.
828
+ * Updates or creates the Mailgun integration for the project.
971
829
  * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
972
830
  * @returns {Promise<HttpResponse<MailgunConfigPayload>>} OK
973
831
  */
@@ -998,11 +856,15 @@ export class IntegrationsService extends BaseService {
998
856
  }
999
857
 
1000
858
  /**
1001
- * Removes a mailgun integration configuration from the project. This will disable the integration's functionality within the project.
859
+ * Deletes the Mailgun integration configuration from the project. This will disable the integration's functionality within the project.
860
+ * @param {string} [params.id] -
1002
861
  * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
1003
862
  * @returns {Promise<HttpResponse<any>>} No Content
1004
863
  */
1005
- async deleteMailgunIntegration(requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
864
+ async deleteMailgunIntegration(
865
+ params?: DeleteMailgunIntegrationParams,
866
+ requestConfig?: RequestConfig,
867
+ ): Promise<HttpResponse<void>> {
1006
868
  const request = new RequestBuilder()
1007
869
  .setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
1008
870
  .setConfig(this.config)
@@ -1019,47 +881,20 @@ export class IntegrationsService extends BaseService {
1019
881
  .setRetryAttempts(this.config, requestConfig)
1020
882
  .setRetryDelayMs(this.config, requestConfig)
1021
883
  .setResponseValidation(this.config, requestConfig)
1022
- .build();
1023
- return this.client.call<void>(request);
1024
- }
1025
-
1026
- /**
1027
- * Removes a specific mailgun integration instance by ID from the project.
1028
- * @param {string} id -
1029
- * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
1030
- * @returns {Promise<HttpResponse<any>>} No Content
1031
- */
1032
- async deleteMailgunIntegrationById(id: string, requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
1033
- const request = new RequestBuilder()
1034
- .setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
1035
- .setConfig(this.config)
1036
- .setMethod('DELETE')
1037
- .setPath('/integrations/mailgun/{id}')
1038
- .setRequestSchema(z.any())
1039
- .addAccessTokenAuth(this.config.token, 'Bearer')
1040
- .setRequestContentType(ContentType.Json)
1041
- .addResponse({
1042
- schema: z.undefined(),
1043
- contentType: ContentType.NoContent,
1044
- status: 204,
1045
- })
1046
- .setRetryAttempts(this.config, requestConfig)
1047
- .setRetryDelayMs(this.config, requestConfig)
1048
- .setResponseValidation(this.config, requestConfig)
1049
- .addPathParam({
884
+ .addQueryParam({
1050
885
  key: 'id',
1051
- value: id,
886
+ value: params?.id,
1052
887
  })
1053
888
  .build();
1054
889
  return this.client.call<void>(request);
1055
890
  }
1056
891
 
1057
892
  /**
1058
- * Retrieves the current ping_email integration configurations for a specific integration type in the project. Returns configuration details and status information.
893
+ * Retrieves the current Ping Email integration configurations for a specific integration type in the project. Returns configuration details and status information.
1059
894
  * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
1060
895
  * @returns {Promise<HttpResponse<PingConfigCollection>>} OK
1061
896
  */
1062
- async getPingEmailIntegration(requestConfig?: RequestConfig): Promise<HttpResponse<PingConfigCollection>> {
897
+ async listPingEmailIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<PingConfigCollection>> {
1063
898
  const request = new RequestBuilder()
1064
899
  .setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
1065
900
  .setConfig(this.config)
@@ -1081,7 +916,7 @@ export class IntegrationsService extends BaseService {
1081
916
  }
1082
917
 
1083
918
  /**
1084
- * Creates or updates a ping_email integration for the project. Only administrators can configure integrations.
919
+ * Updates or creates the Ping Email integration for the project.
1085
920
  * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
1086
921
  * @returns {Promise<HttpResponse<PingConfigPayload>>} OK
1087
922
  */
@@ -1112,11 +947,15 @@ export class IntegrationsService extends BaseService {
1112
947
  }
1113
948
 
1114
949
  /**
1115
- * Removes a ping_email integration configuration from the project. This will disable the integration's functionality within the project.
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] -
1116
952
  * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
1117
953
  * @returns {Promise<HttpResponse<any>>} No Content
1118
954
  */
1119
- async deletePingEmailIntegration(requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
955
+ async deletePingEmailIntegration(
956
+ params?: DeletePingEmailIntegrationParams,
957
+ requestConfig?: RequestConfig,
958
+ ): Promise<HttpResponse<void>> {
1120
959
  const request = new RequestBuilder()
1121
960
  .setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
1122
961
  .setConfig(this.config)
@@ -1133,47 +972,20 @@ export class IntegrationsService extends BaseService {
1133
972
  .setRetryAttempts(this.config, requestConfig)
1134
973
  .setRetryDelayMs(this.config, requestConfig)
1135
974
  .setResponseValidation(this.config, requestConfig)
1136
- .build();
1137
- return this.client.call<void>(request);
1138
- }
1139
-
1140
- /**
1141
- * Removes a specific ping_email integration instance by ID from the project.
1142
- * @param {string} id -
1143
- * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
1144
- * @returns {Promise<HttpResponse<any>>} No Content
1145
- */
1146
- async deletePingEmailIntegrationById(id: string, requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
1147
- const request = new RequestBuilder()
1148
- .setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
1149
- .setConfig(this.config)
1150
- .setMethod('DELETE')
1151
- .setPath('/integrations/ping_email/{id}')
1152
- .setRequestSchema(z.any())
1153
- .addAccessTokenAuth(this.config.token, 'Bearer')
1154
- .setRequestContentType(ContentType.Json)
1155
- .addResponse({
1156
- schema: z.undefined(),
1157
- contentType: ContentType.NoContent,
1158
- status: 204,
1159
- })
1160
- .setRetryAttempts(this.config, requestConfig)
1161
- .setRetryDelayMs(this.config, requestConfig)
1162
- .setResponseValidation(this.config, requestConfig)
1163
- .addPathParam({
975
+ .addQueryParam({
1164
976
  key: 'id',
1165
- value: id,
977
+ value: params?.id,
1166
978
  })
1167
979
  .build();
1168
980
  return this.client.call<void>(request);
1169
981
  }
1170
982
 
1171
983
  /**
1172
- * Retrieves the current sendgrid integration configurations for a specific integration type in the project. Returns configuration details and status information.
984
+ * Retrieves the current SendGrid integration configurations for a specific integration type in the project. Returns configuration details and status information.
1173
985
  * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
1174
986
  * @returns {Promise<HttpResponse<SendgridConfigCollection>>} OK
1175
987
  */
1176
- async getSendgridIntegration(requestConfig?: RequestConfig): Promise<HttpResponse<SendgridConfigCollection>> {
988
+ async listSendgridIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<SendgridConfigCollection>> {
1177
989
  const request = new RequestBuilder()
1178
990
  .setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
1179
991
  .setConfig(this.config)
@@ -1195,7 +1007,7 @@ export class IntegrationsService extends BaseService {
1195
1007
  }
1196
1008
 
1197
1009
  /**
1198
- * Creates or updates a sendgrid integration for the project. Only administrators can configure integrations.
1010
+ * Updates or creates the SendGrid integration for the project.
1199
1011
  * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
1200
1012
  * @returns {Promise<HttpResponse<SendgridConfigPayload>>} OK
1201
1013
  */
@@ -1226,11 +1038,15 @@ export class IntegrationsService extends BaseService {
1226
1038
  }
1227
1039
 
1228
1040
  /**
1229
- * Removes a sendgrid integration configuration from the project. This will disable the integration's functionality within the project.
1041
+ * Deletes the SendGrid integration configuration from the project. This will disable the integration's functionality within the project.
1042
+ * @param {string} [params.id] -
1230
1043
  * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
1231
1044
  * @returns {Promise<HttpResponse<any>>} No Content
1232
1045
  */
1233
- async deleteSendgridIntegration(requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
1046
+ async deleteSendgridIntegration(
1047
+ params?: DeleteSendgridIntegrationParams,
1048
+ requestConfig?: RequestConfig,
1049
+ ): Promise<HttpResponse<void>> {
1234
1050
  const request = new RequestBuilder()
1235
1051
  .setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
1236
1052
  .setConfig(this.config)
@@ -1247,47 +1063,20 @@ export class IntegrationsService extends BaseService {
1247
1063
  .setRetryAttempts(this.config, requestConfig)
1248
1064
  .setRetryDelayMs(this.config, requestConfig)
1249
1065
  .setResponseValidation(this.config, requestConfig)
1250
- .build();
1251
- return this.client.call<void>(request);
1252
- }
1253
-
1254
- /**
1255
- * Removes a specific sendgrid integration instance by ID from the project.
1256
- * @param {string} id -
1257
- * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
1258
- * @returns {Promise<HttpResponse<any>>} No Content
1259
- */
1260
- async deleteSendgridIntegrationById(id: string, requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
1261
- const request = new RequestBuilder()
1262
- .setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
1263
- .setConfig(this.config)
1264
- .setMethod('DELETE')
1265
- .setPath('/integrations/sendgrid/{id}')
1266
- .setRequestSchema(z.any())
1267
- .addAccessTokenAuth(this.config.token, 'Bearer')
1268
- .setRequestContentType(ContentType.Json)
1269
- .addResponse({
1270
- schema: z.undefined(),
1271
- contentType: ContentType.NoContent,
1272
- status: 204,
1273
- })
1274
- .setRetryAttempts(this.config, requestConfig)
1275
- .setRetryDelayMs(this.config, requestConfig)
1276
- .setResponseValidation(this.config, requestConfig)
1277
- .addPathParam({
1066
+ .addQueryParam({
1278
1067
  key: 'id',
1279
- value: id,
1068
+ value: params?.id,
1280
1069
  })
1281
1070
  .build();
1282
1071
  return this.client.call<void>(request);
1283
1072
  }
1284
1073
 
1285
1074
  /**
1286
- * Retrieves the current ses integration configurations for a specific integration type in the project. Returns configuration details and status information.
1075
+ * Retrieves the current Amazon SES integration configurations for a specific integration type in the project. Returns configuration details and status information.
1287
1076
  * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
1288
1077
  * @returns {Promise<HttpResponse<SesConfigCollection>>} OK
1289
1078
  */
1290
- async getSesIntegration(requestConfig?: RequestConfig): Promise<HttpResponse<SesConfigCollection>> {
1079
+ async listSesIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<SesConfigCollection>> {
1291
1080
  const request = new RequestBuilder()
1292
1081
  .setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
1293
1082
  .setConfig(this.config)
@@ -1309,7 +1098,7 @@ export class IntegrationsService extends BaseService {
1309
1098
  }
1310
1099
 
1311
1100
  /**
1312
- * Creates or updates a ses integration for the project. Only administrators can configure integrations.
1101
+ * Updates or creates the Amazon SES integration for the project.
1313
1102
  * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
1314
1103
  * @returns {Promise<HttpResponse<SesConfigPayload>>} OK
1315
1104
  */
@@ -1340,11 +1129,15 @@ export class IntegrationsService extends BaseService {
1340
1129
  }
1341
1130
 
1342
1131
  /**
1343
- * Removes a ses integration configuration from the project. This will disable the integration's functionality within the project.
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] -
1344
1134
  * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
1345
1135
  * @returns {Promise<HttpResponse<any>>} No Content
1346
1136
  */
1347
- async deleteSesIntegration(requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
1137
+ async deleteSesIntegration(
1138
+ params?: DeleteSesIntegrationParams,
1139
+ requestConfig?: RequestConfig,
1140
+ ): Promise<HttpResponse<void>> {
1348
1141
  const request = new RequestBuilder()
1349
1142
  .setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
1350
1143
  .setConfig(this.config)
@@ -1361,47 +1154,20 @@ export class IntegrationsService extends BaseService {
1361
1154
  .setRetryAttempts(this.config, requestConfig)
1362
1155
  .setRetryDelayMs(this.config, requestConfig)
1363
1156
  .setResponseValidation(this.config, requestConfig)
1364
- .build();
1365
- return this.client.call<void>(request);
1366
- }
1367
-
1368
- /**
1369
- * Removes a specific ses integration instance by ID from the project.
1370
- * @param {string} id -
1371
- * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
1372
- * @returns {Promise<HttpResponse<any>>} No Content
1373
- */
1374
- async deleteSesIntegrationById(id: string, requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
1375
- const request = new RequestBuilder()
1376
- .setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
1377
- .setConfig(this.config)
1378
- .setMethod('DELETE')
1379
- .setPath('/integrations/ses/{id}')
1380
- .setRequestSchema(z.any())
1381
- .addAccessTokenAuth(this.config.token, 'Bearer')
1382
- .setRequestContentType(ContentType.Json)
1383
- .addResponse({
1384
- schema: z.undefined(),
1385
- contentType: ContentType.NoContent,
1386
- status: 204,
1387
- })
1388
- .setRetryAttempts(this.config, requestConfig)
1389
- .setRetryDelayMs(this.config, requestConfig)
1390
- .setResponseValidation(this.config, requestConfig)
1391
- .addPathParam({
1157
+ .addQueryParam({
1392
1158
  key: 'id',
1393
- value: id,
1159
+ value: params?.id,
1394
1160
  })
1395
1161
  .build();
1396
1162
  return this.client.call<void>(request);
1397
1163
  }
1398
1164
 
1399
1165
  /**
1400
- * Retrieves the current slack integration configurations for a specific integration type in the project. Returns configuration details and status information.
1166
+ * Retrieves the current Slack integration configurations for a specific integration type in the project. Returns configuration details and status information.
1401
1167
  * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
1402
1168
  * @returns {Promise<HttpResponse<SlackConfigCollection>>} OK
1403
1169
  */
1404
- async getSlackIntegration(requestConfig?: RequestConfig): Promise<HttpResponse<SlackConfigCollection>> {
1170
+ async listSlackIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<SlackConfigCollection>> {
1405
1171
  const request = new RequestBuilder()
1406
1172
  .setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
1407
1173
  .setConfig(this.config)
@@ -1423,7 +1189,7 @@ export class IntegrationsService extends BaseService {
1423
1189
  }
1424
1190
 
1425
1191
  /**
1426
- * Creates or updates a slack integration for the project. Only administrators can configure integrations.
1192
+ * Updates or creates the Slack integration for the project.
1427
1193
  * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
1428
1194
  * @returns {Promise<HttpResponse<SlackConfigPayload>>} OK
1429
1195
  */
@@ -1454,11 +1220,15 @@ export class IntegrationsService extends BaseService {
1454
1220
  }
1455
1221
 
1456
1222
  /**
1457
- * Removes a slack integration configuration from the project. This will disable the integration's functionality within the project.
1223
+ * Deletes the Slack integration configuration from the project. This will disable the integration's functionality within the project.
1224
+ * @param {string} [params.id] -
1458
1225
  * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
1459
1226
  * @returns {Promise<HttpResponse<any>>} No Content
1460
1227
  */
1461
- async deleteSlackIntegration(requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
1228
+ async deleteSlackIntegration(
1229
+ params?: DeleteSlackIntegrationParams,
1230
+ requestConfig?: RequestConfig,
1231
+ ): Promise<HttpResponse<void>> {
1462
1232
  const request = new RequestBuilder()
1463
1233
  .setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
1464
1234
  .setConfig(this.config)
@@ -1475,47 +1245,20 @@ export class IntegrationsService extends BaseService {
1475
1245
  .setRetryAttempts(this.config, requestConfig)
1476
1246
  .setRetryDelayMs(this.config, requestConfig)
1477
1247
  .setResponseValidation(this.config, requestConfig)
1478
- .build();
1479
- return this.client.call<void>(request);
1480
- }
1481
-
1482
- /**
1483
- * Removes a specific slack integration instance by ID from the project.
1484
- * @param {string} id -
1485
- * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
1486
- * @returns {Promise<HttpResponse<any>>} No Content
1487
- */
1488
- async deleteSlackIntegrationById(id: string, requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
1489
- const request = new RequestBuilder()
1490
- .setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
1491
- .setConfig(this.config)
1492
- .setMethod('DELETE')
1493
- .setPath('/integrations/slack/{id}')
1494
- .setRequestSchema(z.any())
1495
- .addAccessTokenAuth(this.config.token, 'Bearer')
1496
- .setRequestContentType(ContentType.Json)
1497
- .addResponse({
1498
- schema: z.undefined(),
1499
- contentType: ContentType.NoContent,
1500
- status: 204,
1501
- })
1502
- .setRetryAttempts(this.config, requestConfig)
1503
- .setRetryDelayMs(this.config, requestConfig)
1504
- .setResponseValidation(this.config, requestConfig)
1505
- .addPathParam({
1248
+ .addQueryParam({
1506
1249
  key: 'id',
1507
- value: id,
1250
+ value: params?.id,
1508
1251
  })
1509
1252
  .build();
1510
1253
  return this.client.call<void>(request);
1511
1254
  }
1512
1255
 
1513
1256
  /**
1514
- * Retrieves the current stripe integration configurations for a specific integration type in the project. Returns configuration details and status information.
1257
+ * Retrieves the current Stripe integration configurations for a specific integration type in the project. Returns configuration details and status information.
1515
1258
  * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
1516
1259
  * @returns {Promise<HttpResponse<StripeConfigCollection>>} OK
1517
1260
  */
1518
- async getStripeIntegration(requestConfig?: RequestConfig): Promise<HttpResponse<StripeConfigCollection>> {
1261
+ async listStripeIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<StripeConfigCollection>> {
1519
1262
  const request = new RequestBuilder()
1520
1263
  .setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
1521
1264
  .setConfig(this.config)
@@ -1537,7 +1280,7 @@ export class IntegrationsService extends BaseService {
1537
1280
  }
1538
1281
 
1539
1282
  /**
1540
- * Creates or updates a stripe integration for the project. Only administrators can configure integrations.
1283
+ * Updates or creates the Stripe integration for the project.
1541
1284
  * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
1542
1285
  * @returns {Promise<HttpResponse<StripeConfigPayload>>} OK
1543
1286
  */
@@ -1568,11 +1311,15 @@ export class IntegrationsService extends BaseService {
1568
1311
  }
1569
1312
 
1570
1313
  /**
1571
- * Removes a stripe integration configuration from the project. This will disable the integration's functionality within the project.
1314
+ * Deletes the Stripe integration configuration from the project. This will disable the integration's functionality within the project.
1315
+ * @param {string} [params.id] -
1572
1316
  * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
1573
1317
  * @returns {Promise<HttpResponse<any>>} No Content
1574
1318
  */
1575
- async deleteStripeIntegration(requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
1319
+ async deleteStripeIntegration(
1320
+ params?: DeleteStripeIntegrationParams,
1321
+ requestConfig?: RequestConfig,
1322
+ ): Promise<HttpResponse<void>> {
1576
1323
  const request = new RequestBuilder()
1577
1324
  .setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
1578
1325
  .setConfig(this.config)
@@ -1589,47 +1336,20 @@ export class IntegrationsService extends BaseService {
1589
1336
  .setRetryAttempts(this.config, requestConfig)
1590
1337
  .setRetryDelayMs(this.config, requestConfig)
1591
1338
  .setResponseValidation(this.config, requestConfig)
1592
- .build();
1593
- return this.client.call<void>(request);
1594
- }
1595
-
1596
- /**
1597
- * Removes a specific stripe integration instance by ID from the project.
1598
- * @param {string} id -
1599
- * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
1600
- * @returns {Promise<HttpResponse<any>>} No Content
1601
- */
1602
- async deleteStripeIntegrationById(id: string, requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
1603
- const request = new RequestBuilder()
1604
- .setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
1605
- .setConfig(this.config)
1606
- .setMethod('DELETE')
1607
- .setPath('/integrations/stripe/{id}')
1608
- .setRequestSchema(z.any())
1609
- .addAccessTokenAuth(this.config.token, 'Bearer')
1610
- .setRequestContentType(ContentType.Json)
1611
- .addResponse({
1612
- schema: z.undefined(),
1613
- contentType: ContentType.NoContent,
1614
- status: 204,
1615
- })
1616
- .setRetryAttempts(this.config, requestConfig)
1617
- .setRetryDelayMs(this.config, requestConfig)
1618
- .setResponseValidation(this.config, requestConfig)
1619
- .addPathParam({
1339
+ .addQueryParam({
1620
1340
  key: 'id',
1621
- value: id,
1341
+ value: params?.id,
1622
1342
  })
1623
1343
  .build();
1624
1344
  return this.client.call<void>(request);
1625
1345
  }
1626
1346
 
1627
1347
  /**
1628
- * Retrieves the current templates integration configurations for a specific integration type in the project. Returns configuration details and status information.
1348
+ * Retrieves the current Templates integration configurations for a specific integration type in the project. Returns configuration details and status information.
1629
1349
  * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
1630
1350
  * @returns {Promise<HttpResponse<TemplatesConfigCollection>>} OK
1631
1351
  */
1632
- async getTemplatesIntegration(requestConfig?: RequestConfig): Promise<HttpResponse<TemplatesConfigCollection>> {
1352
+ async listTemplatesIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<TemplatesConfigCollection>> {
1633
1353
  const request = new RequestBuilder()
1634
1354
  .setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
1635
1355
  .setConfig(this.config)
@@ -1651,7 +1371,7 @@ export class IntegrationsService extends BaseService {
1651
1371
  }
1652
1372
 
1653
1373
  /**
1654
- * Creates or updates a templates integration for the project. Only administrators can configure integrations.
1374
+ * Updates or creates the Templates integration for the project.
1655
1375
  * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
1656
1376
  * @returns {Promise<HttpResponse<any>>} OK
1657
1377
  */
@@ -1679,11 +1399,15 @@ export class IntegrationsService extends BaseService {
1679
1399
  }
1680
1400
 
1681
1401
  /**
1682
- * Removes a templates integration configuration from the project. This will disable the integration's functionality within the project.
1402
+ * Deletes the Templates integration configuration from the project. This will disable the integration's functionality within the project.
1403
+ * @param {string} [params.id] -
1683
1404
  * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
1684
1405
  * @returns {Promise<HttpResponse<any>>} No Content
1685
1406
  */
1686
- async deleteTemplatesIntegration(requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
1407
+ async deleteTemplatesIntegration(
1408
+ params?: DeleteTemplatesIntegrationParams,
1409
+ requestConfig?: RequestConfig,
1410
+ ): Promise<HttpResponse<void>> {
1687
1411
  const request = new RequestBuilder()
1688
1412
  .setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
1689
1413
  .setConfig(this.config)
@@ -1700,47 +1424,20 @@ export class IntegrationsService extends BaseService {
1700
1424
  .setRetryAttempts(this.config, requestConfig)
1701
1425
  .setRetryDelayMs(this.config, requestConfig)
1702
1426
  .setResponseValidation(this.config, requestConfig)
1703
- .build();
1704
- return this.client.call<void>(request);
1705
- }
1706
-
1707
- /**
1708
- * Removes a specific templates integration instance by ID from the project.
1709
- * @param {string} id -
1710
- * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
1711
- * @returns {Promise<HttpResponse<any>>} No Content
1712
- */
1713
- async deleteTemplatesIntegrationById(id: string, requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
1714
- const request = new RequestBuilder()
1715
- .setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
1716
- .setConfig(this.config)
1717
- .setMethod('DELETE')
1718
- .setPath('/integrations/templates/{id}')
1719
- .setRequestSchema(z.any())
1720
- .addAccessTokenAuth(this.config.token, 'Bearer')
1721
- .setRequestContentType(ContentType.Json)
1722
- .addResponse({
1723
- schema: z.undefined(),
1724
- contentType: ContentType.NoContent,
1725
- status: 204,
1726
- })
1727
- .setRetryAttempts(this.config, requestConfig)
1728
- .setRetryDelayMs(this.config, requestConfig)
1729
- .setResponseValidation(this.config, requestConfig)
1730
- .addPathParam({
1427
+ .addQueryParam({
1731
1428
  key: 'id',
1732
- value: id,
1429
+ value: params?.id,
1733
1430
  })
1734
1431
  .build();
1735
1432
  return this.client.call<void>(request);
1736
1433
  }
1737
1434
 
1738
1435
  /**
1739
- * Retrieves the current twilio integration configurations for a specific integration type in the project. Returns configuration details and status information.
1436
+ * Retrieves the current Twilio integration configurations for a specific integration type in the project. Returns configuration details and status information.
1740
1437
  * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
1741
1438
  * @returns {Promise<HttpResponse<TwilioConfigCollection>>} OK
1742
1439
  */
1743
- async getTwilioIntegration(requestConfig?: RequestConfig): Promise<HttpResponse<TwilioConfigCollection>> {
1440
+ async listTwilioIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<TwilioConfigCollection>> {
1744
1441
  const request = new RequestBuilder()
1745
1442
  .setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
1746
1443
  .setConfig(this.config)
@@ -1762,7 +1459,7 @@ export class IntegrationsService extends BaseService {
1762
1459
  }
1763
1460
 
1764
1461
  /**
1765
- * Creates or updates a twilio integration for the project. Only administrators can configure integrations.
1462
+ * Updates or creates the Twilio integration for the project.
1766
1463
  * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
1767
1464
  * @returns {Promise<HttpResponse<TwilioConfigPayload>>} OK
1768
1465
  */
@@ -1793,11 +1490,15 @@ export class IntegrationsService extends BaseService {
1793
1490
  }
1794
1491
 
1795
1492
  /**
1796
- * Removes a twilio integration configuration from the project. This will disable the integration's functionality within the project.
1493
+ * Deletes the Twilio integration configuration from the project. This will disable the integration's functionality within the project.
1494
+ * @param {string} [params.id] -
1797
1495
  * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
1798
1496
  * @returns {Promise<HttpResponse<any>>} No Content
1799
1497
  */
1800
- async deleteTwilioIntegration(requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
1498
+ async deleteTwilioIntegration(
1499
+ params?: DeleteTwilioIntegrationParams,
1500
+ requestConfig?: RequestConfig,
1501
+ ): Promise<HttpResponse<void>> {
1801
1502
  const request = new RequestBuilder()
1802
1503
  .setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
1803
1504
  .setConfig(this.config)
@@ -1814,47 +1515,20 @@ export class IntegrationsService extends BaseService {
1814
1515
  .setRetryAttempts(this.config, requestConfig)
1815
1516
  .setRetryDelayMs(this.config, requestConfig)
1816
1517
  .setResponseValidation(this.config, requestConfig)
1817
- .build();
1818
- return this.client.call<void>(request);
1819
- }
1820
-
1821
- /**
1822
- * Removes a specific twilio integration instance by ID from the project.
1823
- * @param {string} id -
1824
- * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
1825
- * @returns {Promise<HttpResponse<any>>} No Content
1826
- */
1827
- async deleteTwilioIntegrationById(id: string, requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
1828
- const request = new RequestBuilder()
1829
- .setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
1830
- .setConfig(this.config)
1831
- .setMethod('DELETE')
1832
- .setPath('/integrations/twilio/{id}')
1833
- .setRequestSchema(z.any())
1834
- .addAccessTokenAuth(this.config.token, 'Bearer')
1835
- .setRequestContentType(ContentType.Json)
1836
- .addResponse({
1837
- schema: z.undefined(),
1838
- contentType: ContentType.NoContent,
1839
- status: 204,
1840
- })
1841
- .setRetryAttempts(this.config, requestConfig)
1842
- .setRetryDelayMs(this.config, requestConfig)
1843
- .setResponseValidation(this.config, requestConfig)
1844
- .addPathParam({
1518
+ .addQueryParam({
1845
1519
  key: 'id',
1846
- value: id,
1520
+ value: params?.id,
1847
1521
  })
1848
1522
  .build();
1849
1523
  return this.client.call<void>(request);
1850
1524
  }
1851
1525
 
1852
1526
  /**
1853
- * Retrieves the current web_push integration configurations for a specific integration type in the project. Returns configuration details and status information.
1527
+ * Retrieves the current Web Push integration configurations for a specific integration type in the project. Returns configuration details and status information.
1854
1528
  * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
1855
1529
  * @returns {Promise<HttpResponse<WebpushConfigCollection>>} OK
1856
1530
  */
1857
- async getWebPushIntegration(requestConfig?: RequestConfig): Promise<HttpResponse<WebpushConfigCollection>> {
1531
+ async listWebPushIntegrations(requestConfig?: RequestConfig): Promise<HttpResponse<WebpushConfigCollection>> {
1858
1532
  const request = new RequestBuilder()
1859
1533
  .setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
1860
1534
  .setConfig(this.config)
@@ -1876,7 +1550,7 @@ export class IntegrationsService extends BaseService {
1876
1550
  }
1877
1551
 
1878
1552
  /**
1879
- * Creates or updates a web_push integration for the project. Only administrators can configure integrations.
1553
+ * Updates or creates the Web Push integration for the project.
1880
1554
  * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
1881
1555
  * @returns {Promise<HttpResponse<WebpushConfigPayload>>} OK
1882
1556
  */
@@ -1907,11 +1581,15 @@ export class IntegrationsService extends BaseService {
1907
1581
  }
1908
1582
 
1909
1583
  /**
1910
- * Removes a web_push integration configuration from the project. This will disable the integration's functionality within the project.
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] -
1911
1586
  * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
1912
1587
  * @returns {Promise<HttpResponse<any>>} No Content
1913
1588
  */
1914
- async deleteWebPushIntegration(requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
1589
+ async deleteWebPushIntegration(
1590
+ params?: DeleteWebPushIntegrationParams,
1591
+ requestConfig?: RequestConfig,
1592
+ ): Promise<HttpResponse<void>> {
1915
1593
  const request = new RequestBuilder()
1916
1594
  .setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
1917
1595
  .setConfig(this.config)
@@ -1928,36 +1606,9 @@ export class IntegrationsService extends BaseService {
1928
1606
  .setRetryAttempts(this.config, requestConfig)
1929
1607
  .setRetryDelayMs(this.config, requestConfig)
1930
1608
  .setResponseValidation(this.config, requestConfig)
1931
- .build();
1932
- return this.client.call<void>(request);
1933
- }
1934
-
1935
- /**
1936
- * Removes a specific web_push integration instance by ID from the project.
1937
- * @param {string} id -
1938
- * @param {RequestConfig} requestConfig - (Optional) The request configuration for retry and validation.
1939
- * @returns {Promise<HttpResponse<any>>} No Content
1940
- */
1941
- async deleteWebPushIntegrationById(id: string, requestConfig?: RequestConfig): Promise<HttpResponse<void>> {
1942
- const request = new RequestBuilder()
1943
- .setBaseUrl(requestConfig?.baseUrl || this.config.baseUrl || this.config.environment || Environment.DEFAULT)
1944
- .setConfig(this.config)
1945
- .setMethod('DELETE')
1946
- .setPath('/integrations/web_push/{id}')
1947
- .setRequestSchema(z.any())
1948
- .addAccessTokenAuth(this.config.token, 'Bearer')
1949
- .setRequestContentType(ContentType.Json)
1950
- .addResponse({
1951
- schema: z.undefined(),
1952
- contentType: ContentType.NoContent,
1953
- status: 204,
1954
- })
1955
- .setRetryAttempts(this.config, requestConfig)
1956
- .setRetryDelayMs(this.config, requestConfig)
1957
- .setResponseValidation(this.config, requestConfig)
1958
- .addPathParam({
1609
+ .addQueryParam({
1959
1610
  key: 'id',
1960
- value: id,
1611
+ value: params?.id,
1961
1612
  })
1962
1613
  .build();
1963
1614
  return this.client.call<void>(request);