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
@@ -115,33 +115,43 @@ var TranscriptionsApiAxiosParamCreator = function (configuration) {
115
115
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
116
116
  if (options === void 0) { options = {}; }
117
117
  return __generator(this, function (_a) {
118
- // verify required parameter 'accountId' is not null or undefined
119
- (0, common_1.assertParamExists)('deleteRealTimeTranscription', 'accountId', accountId);
120
- // verify required parameter 'callId' is not null or undefined
121
- (0, common_1.assertParamExists)('deleteRealTimeTranscription', 'callId', callId);
122
- // verify required parameter 'transcriptionId' is not null or undefined
123
- (0, common_1.assertParamExists)('deleteRealTimeTranscription', 'transcriptionId', transcriptionId);
124
- localVarPath = "/accounts/{accountId}/calls/{callId}/transcriptions/{transcriptionId}"
125
- .replace("{".concat("accountId", "}"), encodeURIComponent(String(accountId)))
126
- .replace("{".concat("callId", "}"), encodeURIComponent(String(callId)))
127
- .replace("{".concat("transcriptionId", "}"), encodeURIComponent(String(transcriptionId)));
128
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
129
- if (configuration) {
130
- baseOptions = configuration.baseOptions;
118
+ switch (_a.label) {
119
+ case 0:
120
+ // verify required parameter 'accountId' is not null or undefined
121
+ (0, common_1.assertParamExists)('deleteRealTimeTranscription', 'accountId', accountId);
122
+ // verify required parameter 'callId' is not null or undefined
123
+ (0, common_1.assertParamExists)('deleteRealTimeTranscription', 'callId', callId);
124
+ // verify required parameter 'transcriptionId' is not null or undefined
125
+ (0, common_1.assertParamExists)('deleteRealTimeTranscription', 'transcriptionId', transcriptionId);
126
+ localVarPath = "/accounts/{accountId}/calls/{callId}/transcriptions/{transcriptionId}"
127
+ .replace("{".concat("accountId", "}"), encodeURIComponent(String(accountId)))
128
+ .replace("{".concat("callId", "}"), encodeURIComponent(String(callId)))
129
+ .replace("{".concat("transcriptionId", "}"), encodeURIComponent(String(transcriptionId)));
130
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
131
+ if (configuration) {
132
+ baseOptions = configuration.baseOptions;
133
+ }
134
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
135
+ localVarHeaderParameter = {};
136
+ localVarQueryParameter = {};
137
+ // authentication Basic required
138
+ // http basic authentication required
139
+ (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
140
+ // authentication OAuth2 required
141
+ // oauth required
142
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
143
+ case 1:
144
+ // authentication OAuth2 required
145
+ // oauth required
146
+ _a.sent();
147
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
148
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
149
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
150
+ return [2 /*return*/, {
151
+ url: (0, common_1.toPathString)(localVarUrlObj),
152
+ options: localVarRequestOptions,
153
+ }];
131
154
  }
132
- localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
133
- localVarHeaderParameter = {};
134
- localVarQueryParameter = {};
135
- // authentication Basic required
136
- // http basic authentication required
137
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
138
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
139
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
140
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
141
- return [2 /*return*/, {
142
- url: (0, common_1.toPathString)(localVarUrlObj),
143
- options: localVarRequestOptions,
144
- }];
145
155
  });
146
156
  });
147
157
  },
@@ -163,33 +173,43 @@ var TranscriptionsApiAxiosParamCreator = function (configuration) {
163
173
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
164
174
  if (options === void 0) { options = {}; }
165
175
  return __generator(this, function (_a) {
166
- // verify required parameter 'accountId' is not null or undefined
167
- (0, common_1.assertParamExists)('getRealTimeTranscription', 'accountId', accountId);
168
- // verify required parameter 'callId' is not null or undefined
169
- (0, common_1.assertParamExists)('getRealTimeTranscription', 'callId', callId);
170
- // verify required parameter 'transcriptionId' is not null or undefined
171
- (0, common_1.assertParamExists)('getRealTimeTranscription', 'transcriptionId', transcriptionId);
172
- localVarPath = "/accounts/{accountId}/calls/{callId}/transcriptions/{transcriptionId}"
173
- .replace("{".concat("accountId", "}"), encodeURIComponent(String(accountId)))
174
- .replace("{".concat("callId", "}"), encodeURIComponent(String(callId)))
175
- .replace("{".concat("transcriptionId", "}"), encodeURIComponent(String(transcriptionId)));
176
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
177
- if (configuration) {
178
- baseOptions = configuration.baseOptions;
176
+ switch (_a.label) {
177
+ case 0:
178
+ // verify required parameter 'accountId' is not null or undefined
179
+ (0, common_1.assertParamExists)('getRealTimeTranscription', 'accountId', accountId);
180
+ // verify required parameter 'callId' is not null or undefined
181
+ (0, common_1.assertParamExists)('getRealTimeTranscription', 'callId', callId);
182
+ // verify required parameter 'transcriptionId' is not null or undefined
183
+ (0, common_1.assertParamExists)('getRealTimeTranscription', 'transcriptionId', transcriptionId);
184
+ localVarPath = "/accounts/{accountId}/calls/{callId}/transcriptions/{transcriptionId}"
185
+ .replace("{".concat("accountId", "}"), encodeURIComponent(String(accountId)))
186
+ .replace("{".concat("callId", "}"), encodeURIComponent(String(callId)))
187
+ .replace("{".concat("transcriptionId", "}"), encodeURIComponent(String(transcriptionId)));
188
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
189
+ if (configuration) {
190
+ baseOptions = configuration.baseOptions;
191
+ }
192
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
193
+ localVarHeaderParameter = {};
194
+ localVarQueryParameter = {};
195
+ // authentication Basic required
196
+ // http basic authentication required
197
+ (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
198
+ // authentication OAuth2 required
199
+ // oauth required
200
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
201
+ case 1:
202
+ // authentication OAuth2 required
203
+ // oauth required
204
+ _a.sent();
205
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
206
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
207
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
208
+ return [2 /*return*/, {
209
+ url: (0, common_1.toPathString)(localVarUrlObj),
210
+ options: localVarRequestOptions,
211
+ }];
179
212
  }
180
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
181
- localVarHeaderParameter = {};
182
- localVarQueryParameter = {};
183
- // authentication Basic required
184
- // http basic authentication required
185
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
186
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
187
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
188
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
189
- return [2 /*return*/, {
190
- url: (0, common_1.toPathString)(localVarUrlObj),
191
- options: localVarRequestOptions,
192
- }];
193
213
  });
194
214
  });
195
215
  },
@@ -210,30 +230,40 @@ var TranscriptionsApiAxiosParamCreator = function (configuration) {
210
230
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
211
231
  if (options === void 0) { options = {}; }
212
232
  return __generator(this, function (_a) {
213
- // verify required parameter 'accountId' is not null or undefined
214
- (0, common_1.assertParamExists)('listRealTimeTranscriptions', 'accountId', accountId);
215
- // verify required parameter 'callId' is not null or undefined
216
- (0, common_1.assertParamExists)('listRealTimeTranscriptions', 'callId', callId);
217
- localVarPath = "/accounts/{accountId}/calls/{callId}/transcriptions"
218
- .replace("{".concat("accountId", "}"), encodeURIComponent(String(accountId)))
219
- .replace("{".concat("callId", "}"), encodeURIComponent(String(callId)));
220
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
221
- if (configuration) {
222
- baseOptions = configuration.baseOptions;
233
+ switch (_a.label) {
234
+ case 0:
235
+ // verify required parameter 'accountId' is not null or undefined
236
+ (0, common_1.assertParamExists)('listRealTimeTranscriptions', 'accountId', accountId);
237
+ // verify required parameter 'callId' is not null or undefined
238
+ (0, common_1.assertParamExists)('listRealTimeTranscriptions', 'callId', callId);
239
+ localVarPath = "/accounts/{accountId}/calls/{callId}/transcriptions"
240
+ .replace("{".concat("accountId", "}"), encodeURIComponent(String(accountId)))
241
+ .replace("{".concat("callId", "}"), encodeURIComponent(String(callId)));
242
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
243
+ if (configuration) {
244
+ baseOptions = configuration.baseOptions;
245
+ }
246
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
247
+ localVarHeaderParameter = {};
248
+ localVarQueryParameter = {};
249
+ // authentication Basic required
250
+ // http basic authentication required
251
+ (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
252
+ // authentication OAuth2 required
253
+ // oauth required
254
+ return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
255
+ case 1:
256
+ // authentication OAuth2 required
257
+ // oauth required
258
+ _a.sent();
259
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
260
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
261
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
262
+ return [2 /*return*/, {
263
+ url: (0, common_1.toPathString)(localVarUrlObj),
264
+ options: localVarRequestOptions,
265
+ }];
223
266
  }
224
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
225
- localVarHeaderParameter = {};
226
- localVarQueryParameter = {};
227
- // authentication Basic required
228
- // http basic authentication required
229
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
230
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
231
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
232
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
233
- return [2 /*return*/, {
234
- url: (0, common_1.toPathString)(localVarUrlObj),
235
- options: localVarRequestOptions,
236
- }];
237
267
  });
238
268
  });
239
269
  },
package/dist/common.js CHANGED
@@ -149,7 +149,9 @@ var setOAuthToObject = function (object, name, scopes, configuration) {
149
149
  _b.label = 4;
150
150
  case 4:
151
151
  localVarAccessTokenValue = _a;
152
- object["Authorization"] = "Bearer " + localVarAccessTokenValue;
152
+ if (localVarAccessTokenValue) {
153
+ object["Authorization"] = "Bearer " + localVarAccessTokenValue;
154
+ }
153
155
  _b.label = 5;
154
156
  case 5: return [2 /*return*/];
155
157
  }
@@ -24,6 +24,8 @@ export interface ConfigurationParameters {
24
24
  apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
25
25
  username?: string;
26
26
  password?: string;
27
+ clientId?: string;
28
+ clientSecret?: string;
27
29
  accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
28
30
  awsv4?: AWSv4Configuration;
29
31
  basePath?: string;
@@ -45,12 +47,28 @@ export declare class Configuration {
45
47
  * parameter for basic security
46
48
  */
47
49
  password?: string;
50
+ /**
51
+ * parameter for client ID
52
+ */
53
+ clientId?: string;
54
+ /**
55
+ * parameter for client secret
56
+ */
57
+ clientSecret?: string;
48
58
  /**
49
59
  * parameter for oauth2 security
50
60
  * @param name security name
51
61
  * @param scopes oauth2 scope
52
62
  */
53
63
  accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
64
+ /**
65
+ * temporary access token storage
66
+ */
67
+ tempAccessToken?: string;
68
+ /**
69
+ * when the temporary access token expires
70
+ */
71
+ tempAccessTokenExpiration?: number;
54
72
  /**
55
73
  * parameter for aws4 signature security
56
74
  * @param {Object} AWS4Signature - AWS4 Signature security
@@ -22,20 +22,88 @@ var __assign = (this && this.__assign) || function () {
22
22
  };
23
23
  return __assign.apply(this, arguments);
24
24
  };
25
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
26
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
27
+ return new (P || (P = Promise))(function (resolve, reject) {
28
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
29
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
30
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
31
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
32
+ });
33
+ };
34
+ var __generator = (this && this.__generator) || function (thisArg, body) {
35
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
36
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
37
+ function verb(n) { return function (v) { return step([n, v]); }; }
38
+ function step(op) {
39
+ if (f) throw new TypeError("Generator is already executing.");
40
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
41
+ if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
42
+ if (y = 0, t) op = [op[0] & 2, t.value];
43
+ switch (op[0]) {
44
+ case 0: case 1: t = op; break;
45
+ case 4: _.label++; return { value: op[1], done: false };
46
+ case 5: _.label++; y = op[1]; op = [0]; continue;
47
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
48
+ default:
49
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
50
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
51
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
52
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
53
+ if (t[2]) _.ops.pop();
54
+ _.trys.pop(); continue;
55
+ }
56
+ op = body.call(thisArg, _);
57
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
58
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
59
+ }
60
+ };
25
61
  Object.defineProperty(exports, "__esModule", { value: true });
26
62
  exports.Configuration = void 0;
63
+ var axios_1 = require("axios");
27
64
  var Configuration = /** @class */ (function () {
28
65
  function Configuration(param) {
29
66
  if (param === void 0) { param = {}; }
30
- var _a;
67
+ var _this = this;
68
+ var _a, _b;
31
69
  this.apiKey = param.apiKey;
32
70
  this.username = param.username;
33
71
  this.password = param.password;
34
- this.accessToken = param.accessToken;
72
+ this.clientId = param.clientId;
73
+ this.clientSecret = param.clientSecret;
74
+ this.tempAccessToken;
75
+ this.tempAccessTokenExpiration;
76
+ this.accessToken = (_a = param.accessToken) !== null && _a !== void 0 ? _a : (function (name, scopes) { return __awaiter(_this, void 0, void 0, function () {
77
+ var now, tokenRequestArgs, response;
78
+ return __generator(this, function (_a) {
79
+ switch (_a.label) {
80
+ case 0:
81
+ now = Math.floor(Date.now() / 1000);
82
+ if (!(this.tempAccessToken && (!this.tempAccessTokenExpiration || this.tempAccessTokenExpiration > now + 60))) return [3 /*break*/, 1];
83
+ return [2 /*return*/, this.tempAccessToken];
84
+ case 1:
85
+ if (!(this.clientId && this.clientSecret)) return [3 /*break*/, 3];
86
+ tokenRequestArgs = {
87
+ method: 'POST',
88
+ headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
89
+ auth: { username: this.clientId || '', password: this.clientSecret || '' },
90
+ data: 'grant_type=client_credentials',
91
+ url: 'https://api.bandwidth.com/api/v1/oauth2/token'
92
+ };
93
+ return [4 /*yield*/, axios_1.default.request(tokenRequestArgs)];
94
+ case 2:
95
+ response = _a.sent();
96
+ this.tempAccessToken = response.data.access_token;
97
+ this.tempAccessTokenExpiration = now + response.data.expires_in;
98
+ return [2 /*return*/, this.tempAccessToken];
99
+ case 3: return [2 /*return*/, undefined];
100
+ }
101
+ });
102
+ }); });
35
103
  this.awsv4 = param.awsv4;
36
104
  this.basePath = param.basePath;
37
105
  this.serverIndex = param.serverIndex;
38
- this.baseOptions = __assign(__assign({}, param.baseOptions), { headers: __assign(__assign({}, (_a = param.baseOptions) === null || _a === void 0 ? void 0 : _a.headers), { 'User-Agent': "OpenAPI-Generator/7.0.0/typescript-axios" }) });
106
+ this.baseOptions = __assign(__assign({}, param.baseOptions), { headers: __assign(__assign({}, (_b = param.baseOptions) === null || _b === void 0 ? void 0 : _b.headers), { 'User-Agent': "OpenAPI-Generator/7.1.0/typescript-axios" }) });
39
107
  this.formDataCtor = param.formDataCtor;
40
108
  }
41
109
  /**
@@ -90,14 +90,22 @@ export * from './mms-message-content-file';
90
90
  export * from './model-error';
91
91
  export * from './multi-channel-action';
92
92
  export * from './multi-channel-action-calendar-event';
93
- export * from './multi-channel-channel-list-object';
94
- export * from './multi-channel-channel-list-object-content';
93
+ export * from './multi-channel-channel-list-mmsobject';
94
+ export * from './multi-channel-channel-list-mmsresponse-object';
95
+ export * from './multi-channel-channel-list-object-base';
96
+ export * from './multi-channel-channel-list-owner-object';
97
+ export * from './multi-channel-channel-list-rbmobject';
98
+ export * from './multi-channel-channel-list-rbmobject-all-of-content';
99
+ export * from './multi-channel-channel-list-rbmresponse-object';
100
+ export * from './multi-channel-channel-list-request-object';
101
+ export * from './multi-channel-channel-list-response-object';
102
+ export * from './multi-channel-channel-list-smsobject';
103
+ export * from './multi-channel-channel-list-smsresponse-object';
95
104
  export * from './multi-channel-error';
96
105
  export * from './multi-channel-message-channel-enum';
97
106
  export * from './multi-channel-message-content';
98
107
  export * from './multi-channel-message-request';
99
108
  export * from './multi-channel-message-response-data';
100
- export * from './multi-channel-message-response-data-channel-list-inner';
101
109
  export * from './opt-in-workflow';
102
110
  export * from './page-info';
103
111
  export * from './priority-enum';
@@ -106,14 +106,22 @@ __exportStar(require("./mms-message-content-file"), exports);
106
106
  __exportStar(require("./model-error"), exports);
107
107
  __exportStar(require("./multi-channel-action"), exports);
108
108
  __exportStar(require("./multi-channel-action-calendar-event"), exports);
109
- __exportStar(require("./multi-channel-channel-list-object"), exports);
110
- __exportStar(require("./multi-channel-channel-list-object-content"), exports);
109
+ __exportStar(require("./multi-channel-channel-list-mmsobject"), exports);
110
+ __exportStar(require("./multi-channel-channel-list-mmsresponse-object"), exports);
111
+ __exportStar(require("./multi-channel-channel-list-object-base"), exports);
112
+ __exportStar(require("./multi-channel-channel-list-owner-object"), exports);
113
+ __exportStar(require("./multi-channel-channel-list-rbmobject"), exports);
114
+ __exportStar(require("./multi-channel-channel-list-rbmobject-all-of-content"), exports);
115
+ __exportStar(require("./multi-channel-channel-list-rbmresponse-object"), exports);
116
+ __exportStar(require("./multi-channel-channel-list-request-object"), exports);
117
+ __exportStar(require("./multi-channel-channel-list-response-object"), exports);
118
+ __exportStar(require("./multi-channel-channel-list-smsobject"), exports);
119
+ __exportStar(require("./multi-channel-channel-list-smsresponse-object"), exports);
111
120
  __exportStar(require("./multi-channel-error"), exports);
112
121
  __exportStar(require("./multi-channel-message-channel-enum"), exports);
113
122
  __exportStar(require("./multi-channel-message-content"), exports);
114
123
  __exportStar(require("./multi-channel-message-request"), exports);
115
124
  __exportStar(require("./multi-channel-message-response-data"), exports);
116
- __exportStar(require("./multi-channel-message-response-data-channel-list-inner"), exports);
117
125
  __exportStar(require("./opt-in-workflow"), exports);
118
126
  __exportStar(require("./page-info"), exports);
119
127
  __exportStar(require("./priority-enum"), exports);
@@ -9,24 +9,51 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { MultiChannelActionCalendarEvent } from './multi-channel-action-calendar-event';
13
- import type { RbmActionBase } from './rbm-action-base';
14
- import type { RbmActionDial } from './rbm-action-dial';
15
- import type { RbmActionOpenUrl } from './rbm-action-open-url';
16
- import type { RbmActionViewLocation } from './rbm-action-view-location';
17
- /**
18
- * @type MultiChannelAction
19
- */
20
- export type MultiChannelAction = {
21
- type: 'CREATE_CALENDAR_EVENT';
22
- } & MultiChannelActionCalendarEvent | {
23
- type: 'DIAL_PHONE';
24
- } & RbmActionDial | {
25
- type: 'OPEN_URL';
26
- } & RbmActionOpenUrl | {
27
- type: 'REPLY';
28
- } & RbmActionBase | {
29
- type: 'REQUEST_LOCATION';
30
- } & RbmActionBase | {
31
- type: 'SHOW_LOCATION';
32
- } & RbmActionViewLocation;
12
+ import type { RbmActionTypeEnum } from './rbm-action-type-enum';
13
+ export interface MultiChannelAction {
14
+ 'type': RbmActionTypeEnum;
15
+ /**
16
+ * Displayed text for user to click
17
+ */
18
+ 'text': string;
19
+ /**
20
+ * Base64 payload the customer receives when the reply is clicked.
21
+ */
22
+ 'postbackData': string;
23
+ /**
24
+ * The phone number to dial. Must be E164 format.
25
+ */
26
+ 'phoneNumber': string;
27
+ /**
28
+ * The latitude of the location.
29
+ */
30
+ 'latitude': number;
31
+ /**
32
+ * The longitude of the location.
33
+ */
34
+ 'longitude': number;
35
+ /**
36
+ * The label of the location.
37
+ */
38
+ 'label'?: string;
39
+ /**
40
+ * The title of the event.
41
+ */
42
+ 'title': string;
43
+ /**
44
+ * The start time of the event.
45
+ */
46
+ 'startTime': string;
47
+ /**
48
+ * The end time of the event.
49
+ */
50
+ 'endTime': string;
51
+ /**
52
+ * The description of the event.
53
+ */
54
+ 'description'?: string;
55
+ /**
56
+ * The URL to open in browser.
57
+ */
58
+ 'url': string;
59
+ }
@@ -9,8 +9,8 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { MultiChannelChannelListObject } from './multi-channel-channel-list-object';
12
+ import type { MultiChannelChannelListObjectBase } from './multi-channel-channel-list-object-base';
13
13
  /**
14
- * @type MultiChannelMessageResponseDataChannelListInner
14
+ * @type MultiChannelChannelListMMSObject
15
15
  */
16
- export type MultiChannelMessageResponseDataChannelListInner = MultiChannelChannelListObject;
16
+ export type MultiChannelChannelListMMSObject = MultiChannelChannelListObjectBase;
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Bandwidth
3
+ * Bandwidth\'s Communication APIs
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: letstalk@bandwidth.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { MultiChannelChannelListMMSObject } from './multi-channel-channel-list-mmsobject';
13
+ import type { MultiChannelChannelListOwnerObject } from './multi-channel-channel-list-owner-object';
14
+ /**
15
+ * @type MultiChannelChannelListMMSResponseObject
16
+ */
17
+ export type MultiChannelChannelListMMSResponseObject = MultiChannelChannelListMMSObject & MultiChannelChannelListOwnerObject;
@@ -9,9 +9,8 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { MultiChannelChannelListObjectContent } from './multi-channel-channel-list-object-content';
13
12
  import type { MultiChannelMessageChannelEnum } from './multi-channel-message-channel-enum';
14
- export interface MultiChannelChannelListObject {
13
+ export interface MultiChannelChannelListObjectBase {
15
14
  /**
16
15
  * The sender ID of the message. This could be an alphanumeric sender ID.
17
16
  */
@@ -21,5 +20,4 @@ export interface MultiChannelChannelListObject {
21
20
  */
22
21
  'applicationId': string;
23
22
  'channel': MultiChannelMessageChannelEnum;
24
- 'content': MultiChannelChannelListObjectContent;
25
23
  }
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Bandwidth
3
+ * Bandwidth\'s Communication APIs
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: letstalk@bandwidth.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export interface MultiChannelChannelListOwnerObject {
13
+ /**
14
+ * The Bandwidth senderId associated with the message. Identical to \'from\'.
15
+ */
16
+ 'owner': string;
17
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Bandwidth
6
+ * Bandwidth\'s Communication APIs
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ * Contact: letstalk@bandwidth.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -9,13 +9,11 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { MmsMessageContent } from './mms-message-content';
13
12
  import type { RbmMessageContentRichCard } from './rbm-message-content-rich-card';
14
13
  import type { RbmMessageContentText } from './rbm-message-content-text';
15
14
  import type { RbmMessageMedia } from './rbm-message-media';
16
- import type { SmsMessageContent } from './sms-message-content';
17
15
  /**
18
- * @type MultiChannelChannelListObjectContent
16
+ * @type MultiChannelChannelListRBMObjectAllOfContent
19
17
  * The content of the message.
20
18
  */
21
- export type MultiChannelChannelListObjectContent = MmsMessageContent | RbmMessageContentRichCard | RbmMessageContentText | RbmMessageMedia | SmsMessageContent;
19
+ export type MultiChannelChannelListRBMObjectAllOfContent = RbmMessageContentRichCard | RbmMessageContentText | RbmMessageMedia;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Bandwidth
6
+ * Bandwidth\'s Communication APIs
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ * Contact: letstalk@bandwidth.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Bandwidth
3
+ * Bandwidth\'s Communication APIs
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: letstalk@bandwidth.com
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { MultiChannelChannelListObjectBase } from './multi-channel-channel-list-object-base';
13
+ /**
14
+ * @type MultiChannelChannelListRBMObject
15
+ */
16
+ export type MultiChannelChannelListRBMObject = MultiChannelChannelListObjectBase;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Bandwidth
6
+ * Bandwidth\'s Communication APIs
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ * Contact: letstalk@bandwidth.com
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });