bandwidth-sdk 7.0.0 → 7.1.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 (209) hide show
  1. package/.github/workflows/deploy.yml +3 -1
  2. package/.github/workflows/test-pr.yml +3 -1
  3. package/.github/workflows/test-smoke.yml +4 -2
  4. package/.openapi-generator/FILES +22 -6
  5. package/README.md +21 -5
  6. package/api/calls-api.ts +20 -0
  7. package/api/conferences-api.ts +36 -0
  8. package/api/media-api.ts +16 -0
  9. package/api/messages-api.ts +8 -0
  10. package/api/mfaapi.ts +12 -0
  11. package/api/multi-channel-api.ts +4 -0
  12. package/api/phone-number-lookup-api.ts +12 -0
  13. package/api/recordings-api.ts +40 -0
  14. package/api/statistics-api.ts +4 -0
  15. package/api/toll-free-verification-api.ts +36 -0
  16. package/api/transcriptions-api.ts +12 -0
  17. package/bandwidth.yml +85 -22
  18. package/common.ts +3 -1
  19. package/configuration.ts +44 -2
  20. package/coverage/clover.xml +1139 -1065
  21. package/coverage/coverage-final.json +14 -14
  22. package/coverage/lcov-report/index.html +32 -32
  23. package/coverage/lcov-report/node-sdk/api/calls-api.ts.html +66 -6
  24. package/coverage/lcov-report/node-sdk/api/conferences-api.ts.html +114 -6
  25. package/coverage/lcov-report/node-sdk/api/index.html +70 -70
  26. package/coverage/lcov-report/node-sdk/api/media-api.ts.html +54 -6
  27. package/coverage/lcov-report/node-sdk/api/messages-api.ts.html +30 -6
  28. package/coverage/lcov-report/node-sdk/api/mfaapi.ts.html +42 -6
  29. package/coverage/lcov-report/node-sdk/api/multi-channel-api.ts.html +77 -65
  30. package/coverage/lcov-report/node-sdk/api/phone-number-lookup-api.ts.html +42 -6
  31. package/coverage/lcov-report/node-sdk/api/recordings-api.ts.html +126 -6
  32. package/coverage/lcov-report/node-sdk/api/statistics-api.ts.html +18 -6
  33. package/coverage/lcov-report/node-sdk/api/toll-free-verification-api.ts.html +114 -6
  34. package/coverage/lcov-report/node-sdk/api/transcriptions-api.ts.html +42 -6
  35. package/coverage/lcov-report/node-sdk/api.ts.html +1 -1
  36. package/coverage/lcov-report/node-sdk/base.ts.html +1 -1
  37. package/coverage/lcov-report/node-sdk/common.ts.html +45 -39
  38. package/coverage/lcov-report/node-sdk/configuration.ts.html +140 -14
  39. package/coverage/lcov-report/node-sdk/index.html +30 -30
  40. package/coverage/lcov-report/node-sdk/models/business-entity-type-enum.ts.html +1 -1
  41. package/coverage/lcov-report/node-sdk/models/business-registration-type-enum.ts.html +1 -1
  42. package/coverage/lcov-report/node-sdk/models/bxml/Bxml.ts.html +1 -1
  43. package/coverage/lcov-report/node-sdk/models/bxml/NestableVerb.ts.html +1 -1
  44. package/coverage/lcov-report/node-sdk/models/bxml/Response.ts.html +1 -1
  45. package/coverage/lcov-report/node-sdk/models/bxml/Root.ts.html +1 -1
  46. package/coverage/lcov-report/node-sdk/models/bxml/Verb.ts.html +1 -1
  47. package/coverage/lcov-report/node-sdk/models/bxml/index.html +1 -1
  48. package/coverage/lcov-report/node-sdk/models/bxml/index.ts.html +1 -1
  49. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Bridge.ts.html +1 -1
  50. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Conference.ts.html +1 -1
  51. package/coverage/lcov-report/node-sdk/models/bxml/verbs/CustomParam.ts.html +1 -1
  52. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Forward.ts.html +1 -1
  53. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Gather.ts.html +1 -1
  54. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Hangup.ts.html +1 -1
  55. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Pause.ts.html +1 -1
  56. package/coverage/lcov-report/node-sdk/models/bxml/verbs/PauseRecording.ts.html +1 -1
  57. package/coverage/lcov-report/node-sdk/models/bxml/verbs/PhoneNumber.ts.html +1 -1
  58. package/coverage/lcov-report/node-sdk/models/bxml/verbs/PlayAudio.ts.html +1 -1
  59. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Record.ts.html +1 -1
  60. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Redirect.ts.html +1 -1
  61. package/coverage/lcov-report/node-sdk/models/bxml/verbs/ResumeRecording.ts.html +1 -1
  62. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Ring.ts.html +1 -1
  63. package/coverage/lcov-report/node-sdk/models/bxml/verbs/SendDtmf.ts.html +1 -1
  64. package/coverage/lcov-report/node-sdk/models/bxml/verbs/SipUri.ts.html +1 -1
  65. package/coverage/lcov-report/node-sdk/models/bxml/verbs/SpeakSentence.ts.html +1 -1
  66. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartGather.ts.html +1 -1
  67. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartRecording.ts.html +1 -1
  68. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartStream.ts.html +1 -1
  69. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartTranscription.ts.html +1 -1
  70. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopGather.ts.html +1 -1
  71. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopRecording.ts.html +1 -1
  72. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopStream.ts.html +1 -1
  73. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopTranscription.ts.html +1 -1
  74. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StreamParam.ts.html +1 -1
  75. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Tag.ts.html +1 -1
  76. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Transfer.ts.html +1 -1
  77. package/coverage/lcov-report/node-sdk/models/bxml/verbs/index.html +1 -1
  78. package/coverage/lcov-report/node-sdk/models/bxml/verbs/index.ts.html +1 -1
  79. package/coverage/lcov-report/node-sdk/models/call-direction-enum.ts.html +1 -1
  80. package/coverage/lcov-report/node-sdk/models/call-state-enum.ts.html +1 -1
  81. package/coverage/lcov-report/node-sdk/models/call-transcription-detected-language-enum.ts.html +1 -1
  82. package/coverage/lcov-report/node-sdk/models/call-transcription-track-enum.ts.html +1 -1
  83. package/coverage/lcov-report/node-sdk/models/callback-method-enum.ts.html +1 -1
  84. package/coverage/lcov-report/node-sdk/models/card-width-enum.ts.html +1 -1
  85. package/coverage/lcov-report/node-sdk/models/completed-lookup-status-enum.ts.html +1 -1
  86. package/coverage/lcov-report/node-sdk/models/conference-state-enum.ts.html +1 -1
  87. package/coverage/lcov-report/node-sdk/models/deactivation-event-enum.ts.html +1 -1
  88. package/coverage/lcov-report/node-sdk/models/file-format-enum.ts.html +1 -1
  89. package/coverage/lcov-report/node-sdk/models/in-progress-lookup-status-enum.ts.html +1 -1
  90. package/coverage/lcov-report/node-sdk/models/inbound-callback-type-enum.ts.html +1 -1
  91. package/coverage/lcov-report/node-sdk/models/index.html +5 -5
  92. package/coverage/lcov-report/node-sdk/models/index.ts.html +31 -7
  93. package/coverage/lcov-report/node-sdk/models/latest-message-delivery-status-enum.ts.html +1 -1
  94. package/coverage/lcov-report/node-sdk/models/line-type-enum.ts.html +1 -1
  95. package/coverage/lcov-report/node-sdk/models/list-message-direction-enum.ts.html +1 -1
  96. package/coverage/lcov-report/node-sdk/models/machine-detection-mode-enum.ts.html +1 -1
  97. package/coverage/lcov-report/node-sdk/models/message-direction-enum.ts.html +1 -1
  98. package/coverage/lcov-report/node-sdk/models/message-status-enum.ts.html +1 -1
  99. package/coverage/lcov-report/node-sdk/models/message-type-enum.ts.html +1 -1
  100. package/coverage/lcov-report/node-sdk/models/multi-channel-message-channel-enum.ts.html +1 -1
  101. package/coverage/lcov-report/node-sdk/models/priority-enum.ts.html +1 -1
  102. package/coverage/lcov-report/node-sdk/models/product-type-enum.ts.html +1 -1
  103. package/coverage/lcov-report/node-sdk/models/rbm-action-type-enum.ts.html +1 -1
  104. package/coverage/lcov-report/node-sdk/models/rbm-media-height-enum.ts.html +1 -1
  105. package/coverage/lcov-report/node-sdk/models/recording-state-enum.ts.html +1 -1
  106. package/coverage/lcov-report/node-sdk/models/redirect-method-enum.ts.html +1 -1
  107. package/coverage/lcov-report/node-sdk/models/standalone-card-orientation-enum.ts.html +1 -1
  108. package/coverage/lcov-report/node-sdk/models/status-callback-type-enum.ts.html +1 -1
  109. package/coverage/lcov-report/node-sdk/models/tfv-callback-status-enum.ts.html +1 -1
  110. package/coverage/lcov-report/node-sdk/models/tfv-status-enum.ts.html +1 -1
  111. package/coverage/lcov-report/node-sdk/models/thumbnail-alignment-enum.ts.html +1 -1
  112. package/coverage/lcov-report/node-sdk/models/webhook-subscription-type-enum.ts.html +1 -1
  113. package/coverage/lcov.info +2834 -2739
  114. package/custom_templates/README.mustache +2 -2
  115. package/custom_templates/common.mustache +3 -1
  116. package/custom_templates/configuration.mustache +43 -1
  117. package/custom_templates/package.mustache +5 -2
  118. package/dist/api/calls-api.js +192 -142
  119. package/dist/api/conferences-api.js +333 -243
  120. package/dist/api/media-api.js +142 -102
  121. package/dist/api/messages-api.js +145 -125
  122. package/dist/api/mfaapi.js +102 -72
  123. package/dist/api/multi-channel-api.js +34 -24
  124. package/dist/api/phone-number-lookup-api.js +101 -71
  125. package/dist/api/recordings-api.js +368 -268
  126. package/dist/api/statistics-api.js +30 -20
  127. package/dist/api/toll-free-verification-api.js +298 -208
  128. package/dist/api/transcriptions-api.js +105 -75
  129. package/dist/common.js +3 -1
  130. package/dist/configuration.d.ts +18 -0
  131. package/dist/configuration.js +71 -3
  132. package/dist/models/index.d.ts +11 -3
  133. package/dist/models/index.js +11 -3
  134. package/dist/models/multi-channel-action.d.ts +48 -21
  135. package/dist/models/{multi-channel-message-response-data-channel-list-inner.d.ts → multi-channel-channel-list-mmsobject.d.ts} +3 -3
  136. package/dist/models/multi-channel-channel-list-mmsresponse-object.d.ts +17 -0
  137. package/dist/models/{multi-channel-channel-list-object.d.ts → multi-channel-channel-list-object-base.d.ts} +1 -3
  138. package/dist/models/multi-channel-channel-list-owner-object.d.ts +17 -0
  139. package/dist/models/multi-channel-channel-list-owner-object.js +15 -0
  140. package/dist/models/{multi-channel-channel-list-object-content.d.ts → multi-channel-channel-list-rbmobject-all-of-content.d.ts} +2 -4
  141. package/dist/models/multi-channel-channel-list-rbmobject-all-of-content.js +15 -0
  142. package/dist/models/multi-channel-channel-list-rbmobject.d.ts +16 -0
  143. package/dist/models/multi-channel-channel-list-rbmobject.js +15 -0
  144. package/dist/models/multi-channel-channel-list-rbmresponse-object.d.ts +17 -0
  145. package/dist/models/multi-channel-channel-list-rbmresponse-object.js +15 -0
  146. package/dist/models/multi-channel-channel-list-request-object.d.ts +25 -0
  147. package/dist/models/multi-channel-channel-list-request-object.js +15 -0
  148. package/dist/models/multi-channel-channel-list-response-object.d.ts +29 -0
  149. package/dist/models/multi-channel-channel-list-response-object.js +15 -0
  150. package/dist/models/multi-channel-channel-list-smsobject.d.ts +16 -0
  151. package/dist/models/multi-channel-channel-list-smsobject.js +15 -0
  152. package/dist/models/multi-channel-channel-list-smsresponse-object.d.ts +17 -0
  153. package/dist/models/multi-channel-channel-list-smsresponse-object.js +15 -0
  154. package/dist/models/multi-channel-message-request.d.ts +2 -2
  155. package/dist/models/multi-channel-message-response-data.d.ts +2 -2
  156. package/docs/CallsApi.md +5 -5
  157. package/docs/ConferencesApi.md +9 -9
  158. package/docs/MFAApi.md +3 -3
  159. package/docs/MediaApi.md +4 -4
  160. package/docs/MessagesApi.md +2 -2
  161. package/docs/MultiChannelApi.md +1 -1
  162. package/docs/{MultiChannelChannelListObject.md → MultiChannelChannelListMMSObject.md} +4 -4
  163. package/docs/{MultiChannelMessageResponseDataChannelListInner.md → MultiChannelChannelListMMSResponseObject.md} +4 -4
  164. package/docs/MultiChannelChannelListObjectBase.md +24 -0
  165. package/docs/MultiChannelChannelListOwnerObject.md +20 -0
  166. package/docs/MultiChannelChannelListRBMObject.md +26 -0
  167. package/docs/{MultiChannelChannelListObjectContent.md → MultiChannelChannelListRBMObjectAllOfContent.md} +5 -5
  168. package/docs/MultiChannelChannelListRBMResponseObject.md +28 -0
  169. package/docs/MultiChannelChannelListRequestObject.md +26 -0
  170. package/docs/MultiChannelChannelListResponseObject.md +28 -0
  171. package/docs/MultiChannelChannelListSMSObject.md +26 -0
  172. package/docs/MultiChannelChannelListSMSResponseObject.md +28 -0
  173. package/docs/MultiChannelMessageRequest.md +1 -1
  174. package/docs/MultiChannelMessageResponseData.md +1 -1
  175. package/docs/PhoneNumberLookupApi.md +3 -3
  176. package/docs/RecordingsApi.md +10 -10
  177. package/docs/StatisticsApi.md +1 -1
  178. package/docs/TollFreeVerificationApi.md +9 -9
  179. package/docs/TranscriptionsApi.md +3 -3
  180. package/jest.config.js +2 -0
  181. package/models/index.ts +11 -3
  182. package/models/multi-channel-action.ts +48 -4
  183. package/models/{multi-channel-message-response-data-channel-list-inner.ts → multi-channel-channel-list-mmsobject.ts} +4 -4
  184. package/models/multi-channel-channel-list-mmsresponse-object.ts +34 -0
  185. package/models/{multi-channel-channel-list-object.ts → multi-channel-channel-list-object-base.ts} +1 -5
  186. package/models/multi-channel-channel-list-owner-object.ts +23 -0
  187. package/models/{multi-channel-channel-list-object-content.ts → multi-channel-channel-list-rbmobject-all-of-content.ts} +5 -11
  188. package/models/multi-channel-channel-list-rbmobject.ts +31 -0
  189. package/models/multi-channel-channel-list-rbmresponse-object.ts +34 -0
  190. package/models/multi-channel-channel-list-request-object.ts +46 -0
  191. package/models/multi-channel-channel-list-response-object.ts +50 -0
  192. package/models/multi-channel-channel-list-smsobject.ts +31 -0
  193. package/models/multi-channel-channel-list-smsresponse-object.ts +34 -0
  194. package/models/multi-channel-message-request.ts +2 -2
  195. package/models/multi-channel-message-response-data.ts +2 -2
  196. package/package.json +6 -3
  197. package/tests/smoke/bxml.test.ts +4 -1
  198. package/tests/smoke/calls-api.test.ts +4 -1
  199. package/tests/smoke/conferences-api.test.ts +4 -1
  200. package/tests/smoke/multi-channel-api.test.ts +117 -10
  201. package/tests/smoke/phone-number-lookup-api.test.ts +4 -4
  202. package/tests/smoke/recordings-api.test.ts +4 -1
  203. package/tests/smoke/statistics-api.test.ts +4 -1
  204. package/tests/smoke/toll-free-verification-api.test.ts +4 -1
  205. package/tests/smoke/transcriptions-api.test.ts +4 -1
  206. package/tests/unit/api/multi-channel-api.test.ts +27 -10
  207. /package/dist/models/{multi-channel-channel-list-object-content.js → multi-channel-channel-list-mmsobject.js} +0 -0
  208. /package/dist/models/{multi-channel-channel-list-object.js → multi-channel-channel-list-mmsresponse-object.js} +0 -0
  209. /package/dist/models/{multi-channel-message-response-data-channel-list-inner.js → multi-channel-channel-list-object-base.js} +0 -0
@@ -13,6 +13,8 @@ jobs:
13
13
  BW_ACCOUNT_ID: ${{ secrets.BW_ACCOUNT_ID }}
14
14
  BW_USERNAME: ${{ secrets.BW_USERNAME }}
15
15
  BW_PASSWORD: ${{ secrets.BW_PASSWORD }}
16
+ BW_CLIENT_ID: ${{ secrets.BW_CLIENT_ID }}
17
+ BW_CLIENT_SECRET: ${{ secrets.BW_CLIENT_SECRET }}
16
18
  BW_USERNAME_FORBIDDEN: ${{ secrets.BW_USERNAME_FORBIDDEN }}
17
19
  BW_PASSWORD_FORBIDDEN: ${{ secrets.BW_PASSWORD_FORBIDDEN }}
18
20
  BW_VOICE_APPLICATION_ID: ${{ secrets.BW_VOICE_APPLICATION_ID }}
@@ -46,7 +48,7 @@ jobs:
46
48
  - name: Setup Node
47
49
  uses: actions/setup-node@v6
48
50
  with:
49
- node-version: 22
51
+ node-version: 24
50
52
  registry-url: "https://registry.npmjs.org"
51
53
 
52
54
  - name: Set OpenAPI Generator Version
@@ -13,6 +13,8 @@ env:
13
13
  BW_ACCOUNT_ID: ${{ secrets.BW_ACCOUNT_ID }}
14
14
  BW_USERNAME: ${{ secrets.BW_USERNAME }}
15
15
  BW_PASSWORD: ${{ secrets.BW_PASSWORD }}
16
+ BW_CLIENT_ID: ${{ secrets.BW_CLIENT_ID }}
17
+ BW_CLIENT_SECRET: ${{ secrets.BW_CLIENT_SECRET }}
16
18
  BW_USERNAME_FORBIDDEN: ${{ secrets.BW_USERNAME_FORBIDDEN }}
17
19
  BW_PASSWORD_FORBIDDEN: ${{ secrets.BW_PASSWORD_FORBIDDEN }}
18
20
  BW_VOICE_APPLICATION_ID: ${{ secrets.BW_VOICE_APPLICATION_ID }}
@@ -32,7 +34,7 @@ jobs:
32
34
  strategy:
33
35
  matrix:
34
36
  os: [windows-2022, windows-2025, ubuntu-22.04, ubuntu-24.04]
35
- node-version: [18, 20, 22, 24]
37
+ node-version: [20, 22, 24]
36
38
  fail-fast: false
37
39
  steps:
38
40
  - name: Checkout
@@ -15,6 +15,8 @@ concurrency:
15
15
  env:
16
16
  BW_USERNAME: ${{ secrets.BW_USERNAME }}
17
17
  BW_PASSWORD: ${{ secrets.BW_PASSWORD }}
18
+ BW_CLIENT_ID: ${{ secrets.BW_CLIENT_ID }}
19
+ BW_CLIENT_SECRET: ${{ secrets.BW_CLIENT_SECRET }}
18
20
  BW_USERNAME_FORBIDDEN: ${{ secrets.BW_USERNAME_FORBIDDEN }}
19
21
  BW_PASSWORD_FORBIDDEN: ${{ secrets.BW_PASSWORD_FORBIDDEN }}
20
22
  USER_NUMBER: ${{ secrets.USER_NUMBER }}
@@ -40,7 +42,7 @@ jobs:
40
42
  - name: Setup Node
41
43
  uses: actions/setup-node@v6
42
44
  with:
43
- node-version: 22
45
+ node-version: 24
44
46
 
45
47
  - name: Install Packages and Test
46
48
  run: |
@@ -67,7 +69,7 @@ jobs:
67
69
  - name: Setup Node
68
70
  uses: actions/setup-node@v6
69
71
  with:
70
- node-version: 22
72
+ node-version: 24
71
73
 
72
74
  - name: Install Packages and Test
73
75
  run: |
@@ -113,14 +113,22 @@ docs/MmsMessageContentFile.md
113
113
  docs/MultiChannelAction.md
114
114
  docs/MultiChannelActionCalendarEvent.md
115
115
  docs/MultiChannelApi.md
116
- docs/MultiChannelChannelListObject.md
117
- docs/MultiChannelChannelListObjectContent.md
116
+ docs/MultiChannelChannelListMMSObject.md
117
+ docs/MultiChannelChannelListMMSResponseObject.md
118
+ docs/MultiChannelChannelListObjectBase.md
119
+ docs/MultiChannelChannelListOwnerObject.md
120
+ docs/MultiChannelChannelListRBMObject.md
121
+ docs/MultiChannelChannelListRBMObjectAllOfContent.md
122
+ docs/MultiChannelChannelListRBMResponseObject.md
123
+ docs/MultiChannelChannelListRequestObject.md
124
+ docs/MultiChannelChannelListResponseObject.md
125
+ docs/MultiChannelChannelListSMSObject.md
126
+ docs/MultiChannelChannelListSMSResponseObject.md
118
127
  docs/MultiChannelError.md
119
128
  docs/MultiChannelMessageChannelEnum.md
120
129
  docs/MultiChannelMessageContent.md
121
130
  docs/MultiChannelMessageRequest.md
122
131
  docs/MultiChannelMessageResponseData.md
123
- docs/MultiChannelMessageResponseDataChannelListInner.md
124
132
  docs/OptInWorkflow.md
125
133
  docs/PageInfo.md
126
134
  docs/PhoneNumberLookupApi.md
@@ -287,13 +295,21 @@ models/mms-message-content.ts
287
295
  models/model-error.ts
288
296
  models/multi-channel-action-calendar-event.ts
289
297
  models/multi-channel-action.ts
290
- models/multi-channel-channel-list-object-content.ts
291
- models/multi-channel-channel-list-object.ts
298
+ models/multi-channel-channel-list-mmsobject.ts
299
+ models/multi-channel-channel-list-mmsresponse-object.ts
300
+ models/multi-channel-channel-list-object-base.ts
301
+ models/multi-channel-channel-list-owner-object.ts
302
+ models/multi-channel-channel-list-rbmobject-all-of-content.ts
303
+ models/multi-channel-channel-list-rbmobject.ts
304
+ models/multi-channel-channel-list-rbmresponse-object.ts
305
+ models/multi-channel-channel-list-request-object.ts
306
+ models/multi-channel-channel-list-response-object.ts
307
+ models/multi-channel-channel-list-smsobject.ts
308
+ models/multi-channel-channel-list-smsresponse-object.ts
292
309
  models/multi-channel-error.ts
293
310
  models/multi-channel-message-channel-enum.ts
294
311
  models/multi-channel-message-content.ts
295
312
  models/multi-channel-message-request.ts
296
- models/multi-channel-message-response-data-channel-list-inner.ts
297
313
  models/multi-channel-message-response-data.ts
298
314
  models/opt-in-workflow.ts
299
315
  models/page-info.ts
package/README.md CHANGED
@@ -84,8 +84,8 @@ The following is a simple example of how to use this module:
84
84
  import { CallsApi, Configuration } from 'bandwidth-sdk';
85
85
 
86
86
  const config = new Configuration({
87
- username: BW_USERNAME,
88
- password: BW_PASSWORD
87
+ clientId: BW_CLIENT_ID,
88
+ clientSecret: BW_CLIENT_SECRET
89
89
  });
90
90
  const callsApi = new CallsApi(config);
91
91
 
@@ -252,14 +252,22 @@ Class | Method | HTTP request | Description
252
252
  - [ModelError](docs/ModelError.md)
253
253
  - [MultiChannelAction](docs/MultiChannelAction.md)
254
254
  - [MultiChannelActionCalendarEvent](docs/MultiChannelActionCalendarEvent.md)
255
- - [MultiChannelChannelListObject](docs/MultiChannelChannelListObject.md)
256
- - [MultiChannelChannelListObjectContent](docs/MultiChannelChannelListObjectContent.md)
255
+ - [MultiChannelChannelListMMSObject](docs/MultiChannelChannelListMMSObject.md)
256
+ - [MultiChannelChannelListMMSResponseObject](docs/MultiChannelChannelListMMSResponseObject.md)
257
+ - [MultiChannelChannelListObjectBase](docs/MultiChannelChannelListObjectBase.md)
258
+ - [MultiChannelChannelListOwnerObject](docs/MultiChannelChannelListOwnerObject.md)
259
+ - [MultiChannelChannelListRBMObject](docs/MultiChannelChannelListRBMObject.md)
260
+ - [MultiChannelChannelListRBMObjectAllOfContent](docs/MultiChannelChannelListRBMObjectAllOfContent.md)
261
+ - [MultiChannelChannelListRBMResponseObject](docs/MultiChannelChannelListRBMResponseObject.md)
262
+ - [MultiChannelChannelListRequestObject](docs/MultiChannelChannelListRequestObject.md)
263
+ - [MultiChannelChannelListResponseObject](docs/MultiChannelChannelListResponseObject.md)
264
+ - [MultiChannelChannelListSMSObject](docs/MultiChannelChannelListSMSObject.md)
265
+ - [MultiChannelChannelListSMSResponseObject](docs/MultiChannelChannelListSMSResponseObject.md)
257
266
  - [MultiChannelError](docs/MultiChannelError.md)
258
267
  - [MultiChannelMessageChannelEnum](docs/MultiChannelMessageChannelEnum.md)
259
268
  - [MultiChannelMessageContent](docs/MultiChannelMessageContent.md)
260
269
  - [MultiChannelMessageRequest](docs/MultiChannelMessageRequest.md)
261
270
  - [MultiChannelMessageResponseData](docs/MultiChannelMessageResponseData.md)
262
- - [MultiChannelMessageResponseDataChannelListInner](docs/MultiChannelMessageResponseDataChannelListInner.md)
263
271
  - [OptInWorkflow](docs/OptInWorkflow.md)
264
272
  - [PageInfo](docs/PageInfo.md)
265
273
  - [PriorityEnum](docs/PriorityEnum.md)
@@ -338,3 +346,11 @@ Authentication schemes defined for the API:
338
346
 
339
347
  - **Type**: HTTP basic authentication
340
348
 
349
+ <a id="OAuth2"></a>
350
+ ### OAuth2
351
+
352
+ - **Type**: OAuth
353
+ - **Flow**: application
354
+ - **Authorization URL**:
355
+ - **Scopes**: N/A
356
+
package/api/calls-api.ts CHANGED
@@ -66,6 +66,10 @@ export const CallsApiAxiosParamCreator = function (configuration?: Configuration
66
66
  // http basic authentication required
67
67
  setBasicAuthToObject(localVarRequestOptions, configuration)
68
68
 
69
+ // authentication OAuth2 required
70
+ // oauth required
71
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
72
+
69
73
 
70
74
 
71
75
  localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -111,6 +115,10 @@ export const CallsApiAxiosParamCreator = function (configuration?: Configuration
111
115
  // http basic authentication required
112
116
  setBasicAuthToObject(localVarRequestOptions, configuration)
113
117
 
118
+ // authentication OAuth2 required
119
+ // oauth required
120
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
121
+
114
122
 
115
123
 
116
124
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -156,6 +164,10 @@ export const CallsApiAxiosParamCreator = function (configuration?: Configuration
156
164
  // http basic authentication required
157
165
  setBasicAuthToObject(localVarRequestOptions, configuration)
158
166
 
167
+ // authentication OAuth2 required
168
+ // oauth required
169
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
170
+
159
171
  if (to !== undefined) {
160
172
  localVarQueryParameter['to'] = to;
161
173
  }
@@ -229,6 +241,10 @@ export const CallsApiAxiosParamCreator = function (configuration?: Configuration
229
241
  // http basic authentication required
230
242
  setBasicAuthToObject(localVarRequestOptions, configuration)
231
243
 
244
+ // authentication OAuth2 required
245
+ // oauth required
246
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
247
+
232
248
 
233
249
 
234
250
  localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -277,6 +293,10 @@ export const CallsApiAxiosParamCreator = function (configuration?: Configuration
277
293
  // http basic authentication required
278
294
  setBasicAuthToObject(localVarRequestOptions, configuration)
279
295
 
296
+ // authentication OAuth2 required
297
+ // oauth required
298
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
299
+
280
300
 
281
301
 
282
302
  localVarHeaderParameter['Content-Type'] = 'application/xml';
@@ -73,6 +73,10 @@ export const ConferencesApiAxiosParamCreator = function (configuration?: Configu
73
73
  // http basic authentication required
74
74
  setBasicAuthToObject(localVarRequestOptions, configuration)
75
75
 
76
+ // authentication OAuth2 required
77
+ // oauth required
78
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
79
+
76
80
 
77
81
 
78
82
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -115,6 +119,10 @@ export const ConferencesApiAxiosParamCreator = function (configuration?: Configu
115
119
  // http basic authentication required
116
120
  setBasicAuthToObject(localVarRequestOptions, configuration)
117
121
 
122
+ // authentication OAuth2 required
123
+ // oauth required
124
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
125
+
118
126
 
119
127
 
120
128
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -161,6 +169,10 @@ export const ConferencesApiAxiosParamCreator = function (configuration?: Configu
161
169
  // http basic authentication required
162
170
  setBasicAuthToObject(localVarRequestOptions, configuration)
163
171
 
172
+ // authentication OAuth2 required
173
+ // oauth required
174
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
175
+
164
176
 
165
177
 
166
178
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -207,6 +219,10 @@ export const ConferencesApiAxiosParamCreator = function (configuration?: Configu
207
219
  // http basic authentication required
208
220
  setBasicAuthToObject(localVarRequestOptions, configuration)
209
221
 
222
+ // authentication OAuth2 required
223
+ // oauth required
224
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
225
+
210
226
 
211
227
 
212
228
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -249,6 +265,10 @@ export const ConferencesApiAxiosParamCreator = function (configuration?: Configu
249
265
  // http basic authentication required
250
266
  setBasicAuthToObject(localVarRequestOptions, configuration)
251
267
 
268
+ // authentication OAuth2 required
269
+ // oauth required
270
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
271
+
252
272
 
253
273
 
254
274
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -292,6 +312,10 @@ export const ConferencesApiAxiosParamCreator = function (configuration?: Configu
292
312
  // http basic authentication required
293
313
  setBasicAuthToObject(localVarRequestOptions, configuration)
294
314
 
315
+ // authentication OAuth2 required
316
+ // oauth required
317
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
318
+
295
319
  if (name !== undefined) {
296
320
  localVarQueryParameter['name'] = name;
297
321
  }
@@ -357,6 +381,10 @@ export const ConferencesApiAxiosParamCreator = function (configuration?: Configu
357
381
  // http basic authentication required
358
382
  setBasicAuthToObject(localVarRequestOptions, configuration)
359
383
 
384
+ // authentication OAuth2 required
385
+ // oauth required
386
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
387
+
360
388
 
361
389
 
362
390
  localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -405,6 +433,10 @@ export const ConferencesApiAxiosParamCreator = function (configuration?: Configu
405
433
  // http basic authentication required
406
434
  setBasicAuthToObject(localVarRequestOptions, configuration)
407
435
 
436
+ // authentication OAuth2 required
437
+ // oauth required
438
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
439
+
408
440
 
409
441
 
410
442
  localVarHeaderParameter['Content-Type'] = 'application/xml';
@@ -457,6 +489,10 @@ export const ConferencesApiAxiosParamCreator = function (configuration?: Configu
457
489
  // http basic authentication required
458
490
  setBasicAuthToObject(localVarRequestOptions, configuration)
459
491
 
492
+ // authentication OAuth2 required
493
+ // oauth required
494
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
495
+
460
496
 
461
497
 
462
498
  localVarHeaderParameter['Content-Type'] = 'application/json';
package/api/media-api.ts CHANGED
@@ -61,6 +61,10 @@ export const MediaApiAxiosParamCreator = function (configuration?: Configuration
61
61
  // http basic authentication required
62
62
  setBasicAuthToObject(localVarRequestOptions, configuration)
63
63
 
64
+ // authentication OAuth2 required
65
+ // oauth required
66
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
67
+
64
68
 
65
69
 
66
70
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -103,6 +107,10 @@ export const MediaApiAxiosParamCreator = function (configuration?: Configuration
103
107
  // http basic authentication required
104
108
  setBasicAuthToObject(localVarRequestOptions, configuration)
105
109
 
110
+ // authentication OAuth2 required
111
+ // oauth required
112
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
113
+
106
114
 
107
115
 
108
116
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -142,6 +150,10 @@ export const MediaApiAxiosParamCreator = function (configuration?: Configuration
142
150
  // http basic authentication required
143
151
  setBasicAuthToObject(localVarRequestOptions, configuration)
144
152
 
153
+ // authentication OAuth2 required
154
+ // oauth required
155
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
156
+
145
157
 
146
158
 
147
159
  if (continuationToken != null) {
@@ -192,6 +204,10 @@ export const MediaApiAxiosParamCreator = function (configuration?: Configuration
192
204
  // http basic authentication required
193
205
  setBasicAuthToObject(localVarRequestOptions, configuration)
194
206
 
207
+ // authentication OAuth2 required
208
+ // oauth required
209
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
210
+
195
211
 
196
212
 
197
213
  localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -74,6 +74,10 @@ export const MessagesApiAxiosParamCreator = function (configuration?: Configurat
74
74
  // http basic authentication required
75
75
  setBasicAuthToObject(localVarRequestOptions, configuration)
76
76
 
77
+ // authentication OAuth2 required
78
+ // oauth required
79
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
80
+
77
81
 
78
82
 
79
83
  localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -142,6 +146,10 @@ export const MessagesApiAxiosParamCreator = function (configuration?: Configurat
142
146
  // http basic authentication required
143
147
  setBasicAuthToObject(localVarRequestOptions, configuration)
144
148
 
149
+ // authentication OAuth2 required
150
+ // oauth required
151
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
152
+
145
153
  if (messageId !== undefined) {
146
154
  localVarQueryParameter['messageId'] = messageId;
147
155
  }
package/api/mfaapi.ts CHANGED
@@ -72,6 +72,10 @@ export const MFAApiAxiosParamCreator = function (configuration?: Configuration)
72
72
  // http basic authentication required
73
73
  setBasicAuthToObject(localVarRequestOptions, configuration)
74
74
 
75
+ // authentication OAuth2 required
76
+ // oauth required
77
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
78
+
75
79
 
76
80
 
77
81
  localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -116,6 +120,10 @@ export const MFAApiAxiosParamCreator = function (configuration?: Configuration)
116
120
  // http basic authentication required
117
121
  setBasicAuthToObject(localVarRequestOptions, configuration)
118
122
 
123
+ // authentication OAuth2 required
124
+ // oauth required
125
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
126
+
119
127
 
120
128
 
121
129
  localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -160,6 +168,10 @@ export const MFAApiAxiosParamCreator = function (configuration?: Configuration)
160
168
  // http basic authentication required
161
169
  setBasicAuthToObject(localVarRequestOptions, configuration)
162
170
 
171
+ // authentication OAuth2 required
172
+ // oauth required
173
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
174
+
163
175
 
164
176
 
165
177
  localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -62,6 +62,10 @@ export const MultiChannelApiAxiosParamCreator = function (configuration?: Config
62
62
  // http basic authentication required
63
63
  setBasicAuthToObject(localVarRequestOptions, configuration)
64
64
 
65
+ // authentication OAuth2 required
66
+ // oauth required
67
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
68
+
65
69
 
66
70
 
67
71
  localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -68,6 +68,10 @@ export const PhoneNumberLookupApiAxiosParamCreator = function (configuration?: C
68
68
  // http basic authentication required
69
69
  setBasicAuthToObject(localVarRequestOptions, configuration)
70
70
 
71
+ // authentication OAuth2 required
72
+ // oauth required
73
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
74
+
71
75
 
72
76
 
73
77
  localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -112,6 +116,10 @@ export const PhoneNumberLookupApiAxiosParamCreator = function (configuration?: C
112
116
  // http basic authentication required
113
117
  setBasicAuthToObject(localVarRequestOptions, configuration)
114
118
 
119
+ // authentication OAuth2 required
120
+ // oauth required
121
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
122
+
115
123
 
116
124
 
117
125
  localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -157,6 +165,10 @@ export const PhoneNumberLookupApiAxiosParamCreator = function (configuration?: C
157
165
  // http basic authentication required
158
166
  setBasicAuthToObject(localVarRequestOptions, configuration)
159
167
 
168
+ // authentication OAuth2 required
169
+ // oauth required
170
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
171
+
160
172
 
161
173
 
162
174
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -71,6 +71,10 @@ export const RecordingsApiAxiosParamCreator = function (configuration?: Configur
71
71
  // http basic authentication required
72
72
  setBasicAuthToObject(localVarRequestOptions, configuration)
73
73
 
74
+ // authentication OAuth2 required
75
+ // oauth required
76
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
77
+
74
78
 
75
79
 
76
80
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -117,6 +121,10 @@ export const RecordingsApiAxiosParamCreator = function (configuration?: Configur
117
121
  // http basic authentication required
118
122
  setBasicAuthToObject(localVarRequestOptions, configuration)
119
123
 
124
+ // authentication OAuth2 required
125
+ // oauth required
126
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
127
+
120
128
 
121
129
 
122
130
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -163,6 +171,10 @@ export const RecordingsApiAxiosParamCreator = function (configuration?: Configur
163
171
  // http basic authentication required
164
172
  setBasicAuthToObject(localVarRequestOptions, configuration)
165
173
 
174
+ // authentication OAuth2 required
175
+ // oauth required
176
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
177
+
166
178
 
167
179
 
168
180
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -209,6 +221,10 @@ export const RecordingsApiAxiosParamCreator = function (configuration?: Configur
209
221
  // http basic authentication required
210
222
  setBasicAuthToObject(localVarRequestOptions, configuration)
211
223
 
224
+ // authentication OAuth2 required
225
+ // oauth required
226
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
227
+
212
228
 
213
229
 
214
230
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -255,6 +271,10 @@ export const RecordingsApiAxiosParamCreator = function (configuration?: Configur
255
271
  // http basic authentication required
256
272
  setBasicAuthToObject(localVarRequestOptions, configuration)
257
273
 
274
+ // authentication OAuth2 required
275
+ // oauth required
276
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
277
+
258
278
 
259
279
 
260
280
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -301,6 +321,10 @@ export const RecordingsApiAxiosParamCreator = function (configuration?: Configur
301
321
  // http basic authentication required
302
322
  setBasicAuthToObject(localVarRequestOptions, configuration)
303
323
 
324
+ // authentication OAuth2 required
325
+ // oauth required
326
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
327
+
304
328
 
305
329
 
306
330
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -343,6 +367,10 @@ export const RecordingsApiAxiosParamCreator = function (configuration?: Configur
343
367
  // http basic authentication required
344
368
  setBasicAuthToObject(localVarRequestOptions, configuration)
345
369
 
370
+ // authentication OAuth2 required
371
+ // oauth required
372
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
373
+
346
374
  if (to !== undefined) {
347
375
  localVarQueryParameter['to'] = to;
348
376
  }
@@ -401,6 +429,10 @@ export const RecordingsApiAxiosParamCreator = function (configuration?: Configur
401
429
  // http basic authentication required
402
430
  setBasicAuthToObject(localVarRequestOptions, configuration)
403
431
 
432
+ // authentication OAuth2 required
433
+ // oauth required
434
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
435
+
404
436
 
405
437
 
406
438
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -450,6 +482,10 @@ export const RecordingsApiAxiosParamCreator = function (configuration?: Configur
450
482
  // http basic authentication required
451
483
  setBasicAuthToObject(localVarRequestOptions, configuration)
452
484
 
485
+ // authentication OAuth2 required
486
+ // oauth required
487
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
488
+
453
489
 
454
490
 
455
491
  localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -498,6 +534,10 @@ export const RecordingsApiAxiosParamCreator = function (configuration?: Configur
498
534
  // http basic authentication required
499
535
  setBasicAuthToObject(localVarRequestOptions, configuration)
500
536
 
537
+ // authentication OAuth2 required
538
+ // oauth required
539
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
540
+
501
541
 
502
542
 
503
543
  localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -57,6 +57,10 @@ export const StatisticsApiAxiosParamCreator = function (configuration?: Configur
57
57
  // http basic authentication required
58
58
  setBasicAuthToObject(localVarRequestOptions, configuration)
59
59
 
60
+ // authentication OAuth2 required
61
+ // oauth required
62
+ await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
63
+
60
64
 
61
65
 
62
66
  setSearchParams(localVarUrlObj, localVarQueryParameter);