bandwidth-sdk 4.1.3 → 5.0.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 (402) hide show
  1. package/.openapi-generator/FILES +189 -1
  2. package/.openapi-generator/VERSION +1 -1
  3. package/api/multi-channel-api.ts +150 -0
  4. package/api.ts +1 -0
  5. package/bandwidth.yml +640 -58
  6. package/base.ts +6 -0
  7. package/configuration.ts +1 -1
  8. package/coverage/clover.xml +565 -460
  9. package/coverage/coverage-final.json +79 -70
  10. package/coverage/lcov-report/index.html +27 -27
  11. package/coverage/lcov-report/node-sdk/api/calls-api.ts.html +14 -14
  12. package/coverage/lcov-report/node-sdk/api/conferences-api.ts.html +18 -18
  13. package/coverage/lcov-report/node-sdk/api/index.html +24 -9
  14. package/coverage/lcov-report/node-sdk/api/media-api.ts.html +13 -13
  15. package/coverage/lcov-report/node-sdk/api/messages-api.ts.html +11 -11
  16. package/coverage/lcov-report/node-sdk/api/mfaapi.ts.html +12 -12
  17. package/coverage/lcov-report/node-sdk/api/multi-channel-api.ts.html +535 -0
  18. package/coverage/lcov-report/node-sdk/api/phone-number-lookup-api.ts.html +11 -11
  19. package/coverage/lcov-report/node-sdk/api/recordings-api.ts.html +19 -19
  20. package/coverage/lcov-report/node-sdk/api/statistics-api.ts.html +10 -10
  21. package/coverage/lcov-report/node-sdk/api/toll-free-verification-api.ts.html +17 -17
  22. package/coverage/lcov-report/node-sdk/api/transcriptions-api.ts.html +12 -12
  23. package/coverage/lcov-report/node-sdk/api.ts.html +17 -14
  24. package/coverage/lcov-report/node-sdk/base.ts.html +32 -14
  25. package/coverage/lcov-report/node-sdk/common.ts.html +11 -11
  26. package/coverage/lcov-report/node-sdk/configuration.ts.html +14 -14
  27. package/coverage/lcov-report/node-sdk/index.html +7 -7
  28. package/coverage/lcov-report/node-sdk/models/bxml/Bxml.ts.html +4 -4
  29. package/coverage/lcov-report/node-sdk/models/bxml/NestableVerb.ts.html +6 -6
  30. package/coverage/lcov-report/node-sdk/models/bxml/Response.ts.html +4 -4
  31. package/coverage/lcov-report/node-sdk/models/bxml/Root.ts.html +8 -8
  32. package/coverage/lcov-report/node-sdk/models/bxml/Verb.ts.html +6 -6
  33. package/coverage/lcov-report/node-sdk/models/bxml/index.html +1 -1
  34. package/coverage/lcov-report/node-sdk/models/bxml/index.ts.html +3 -3
  35. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Bridge.ts.html +4 -4
  36. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Conference.ts.html +4 -4
  37. package/coverage/lcov-report/node-sdk/models/bxml/verbs/CustomParam.ts.html +4 -4
  38. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Forward.ts.html +4 -4
  39. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Gather.ts.html +7 -7
  40. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Hangup.ts.html +4 -4
  41. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Pause.ts.html +4 -4
  42. package/coverage/lcov-report/node-sdk/models/bxml/verbs/PauseRecording.ts.html +4 -4
  43. package/coverage/lcov-report/node-sdk/models/bxml/verbs/PhoneNumber.ts.html +7 -4
  44. package/coverage/lcov-report/node-sdk/models/bxml/verbs/PlayAudio.ts.html +4 -4
  45. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Record.ts.html +4 -4
  46. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Redirect.ts.html +4 -4
  47. package/coverage/lcov-report/node-sdk/models/bxml/verbs/ResumeRecording.ts.html +4 -4
  48. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Ring.ts.html +4 -4
  49. package/coverage/lcov-report/node-sdk/models/bxml/verbs/SendDtmf.ts.html +4 -4
  50. package/coverage/lcov-report/node-sdk/models/bxml/verbs/SipUri.ts.html +4 -4
  51. package/coverage/lcov-report/node-sdk/models/bxml/verbs/SpeakSentence.ts.html +6 -6
  52. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartGather.ts.html +4 -4
  53. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartRecording.ts.html +4 -4
  54. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartStream.ts.html +5 -5
  55. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartTranscription.ts.html +5 -5
  56. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopGather.ts.html +4 -4
  57. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopRecording.ts.html +4 -4
  58. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopStream.ts.html +4 -4
  59. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopTranscription.ts.html +4 -4
  60. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StreamParam.ts.html +4 -4
  61. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Tag.ts.html +4 -4
  62. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Transfer.ts.html +5 -5
  63. package/coverage/lcov-report/node-sdk/models/bxml/verbs/index.html +1 -1
  64. package/coverage/lcov-report/node-sdk/models/bxml/verbs/index.ts.html +31 -31
  65. package/coverage/lcov-report/node-sdk/models/call-direction-enum.ts.html +2 -2
  66. package/coverage/lcov-report/node-sdk/models/call-state-enum.ts.html +2 -2
  67. package/coverage/lcov-report/node-sdk/models/call-transcription-detected-language-enum.ts.html +2 -2
  68. package/coverage/lcov-report/node-sdk/models/call-transcription-track-enum.ts.html +2 -2
  69. package/coverage/lcov-report/node-sdk/models/callback-method-enum.ts.html +2 -2
  70. package/coverage/lcov-report/node-sdk/models/callback-type-enum.ts.html +6 -6
  71. package/coverage/lcov-report/node-sdk/models/card-width-enum.ts.html +178 -0
  72. package/coverage/lcov-report/node-sdk/models/conference-state-enum.ts.html +2 -2
  73. package/coverage/lcov-report/node-sdk/models/file-format-enum.ts.html +2 -2
  74. package/coverage/lcov-report/node-sdk/models/index.html +125 -5
  75. package/coverage/lcov-report/node-sdk/models/index.ts.html +213 -117
  76. package/coverage/lcov-report/node-sdk/models/list-message-direction-enum.ts.html +2 -2
  77. package/coverage/lcov-report/node-sdk/models/lookup-status-enum.ts.html +2 -2
  78. package/coverage/lcov-report/node-sdk/models/machine-detection-mode-enum.ts.html +2 -2
  79. package/coverage/lcov-report/node-sdk/models/message-direction-enum.ts.html +2 -2
  80. package/coverage/lcov-report/node-sdk/models/message-status-enum.ts.html +2 -2
  81. package/coverage/lcov-report/node-sdk/models/message-type-enum.ts.html +2 -2
  82. package/coverage/lcov-report/node-sdk/models/multi-channel-message-channel-enum.ts.html +181 -0
  83. package/coverage/lcov-report/node-sdk/models/multi-channel-message-direction-enum.ts.html +178 -0
  84. package/coverage/lcov-report/node-sdk/models/multi-channel-status-enum.ts.html +184 -0
  85. package/coverage/lcov-report/node-sdk/models/priority-enum.ts.html +3 -3
  86. package/coverage/lcov-report/node-sdk/models/rbm-action-type-enum.ts.html +190 -0
  87. package/coverage/lcov-report/node-sdk/models/rbm-media-height-enum.ts.html +181 -0
  88. package/coverage/lcov-report/node-sdk/models/recording-state-enum.ts.html +2 -2
  89. package/coverage/lcov-report/node-sdk/models/redirect-method-enum.ts.html +2 -2
  90. package/coverage/lcov-report/node-sdk/models/standalone-card-orientation-enum.ts.html +178 -0
  91. package/coverage/lcov-report/node-sdk/models/tfv-callback-status-enum.ts.html +2 -2
  92. package/coverage/lcov-report/node-sdk/models/tfv-status-enum.ts.html +4 -10
  93. package/coverage/lcov-report/node-sdk/models/thumbnail-alignment-enum.ts.html +178 -0
  94. package/coverage/lcov-report/node-sdk/models/webhook-subscription-type-enum.ts.html +2 -2
  95. package/coverage/lcov.info +723 -517
  96. package/dist/api/multi-channel-api.d.ts +79 -0
  97. package/dist/api/multi-channel-api.js +230 -0
  98. package/dist/api.d.ts +1 -0
  99. package/dist/api.js +1 -0
  100. package/dist/base.js +6 -0
  101. package/dist/configuration.js +1 -1
  102. package/dist/models/bxml/verbs/PhoneNumber.d.ts +1 -0
  103. package/dist/models/callback-type-enum.d.ts +4 -4
  104. package/dist/models/callback-type-enum.js +4 -4
  105. package/dist/models/card-width-enum.d.ts +21 -0
  106. package/dist/models/card-width-enum.js +25 -0
  107. package/dist/models/create-multi-channel-message-response.d.ts +39 -0
  108. package/dist/models/create-multi-channel-message-response.js +15 -0
  109. package/dist/models/error-object.d.ts +30 -0
  110. package/dist/models/error-object.js +15 -0
  111. package/dist/models/index.d.ts +33 -1
  112. package/dist/models/index.js +33 -1
  113. package/dist/models/link.d.ts +30 -0
  114. package/dist/models/link.js +15 -0
  115. package/dist/models/message-callback.d.ts +6 -0
  116. package/dist/models/message-request.d.ts +1 -1
  117. package/dist/models/message.d.ts +1 -1
  118. package/dist/models/mms-message-content.d.ts +30 -0
  119. package/dist/models/mms-message-content.js +15 -0
  120. package/dist/models/multi-channel-action-calendar-event.d.ts +17 -0
  121. package/dist/models/multi-channel-action-calendar-event.js +15 -0
  122. package/dist/models/multi-channel-action.d.ts +33 -0
  123. package/dist/models/multi-channel-action.js +15 -0
  124. package/dist/models/multi-channel-callback-data.d.ts +50 -0
  125. package/dist/models/multi-channel-callback-data.js +15 -0
  126. package/dist/models/multi-channel-channel-list-object-content.d.ts +22 -0
  127. package/dist/models/multi-channel-channel-list-object-content.js +15 -0
  128. package/dist/models/multi-channel-channel-list-object.d.ts +44 -0
  129. package/dist/models/multi-channel-channel-list-object.js +15 -0
  130. package/dist/models/multi-channel-message-callback-data.d.ts +69 -0
  131. package/dist/models/multi-channel-message-callback-data.js +15 -0
  132. package/dist/models/multi-channel-message-channel-enum.d.ts +22 -0
  133. package/dist/models/multi-channel-message-channel-enum.js +26 -0
  134. package/dist/models/multi-channel-message-data.d.ts +75 -0
  135. package/dist/models/multi-channel-message-data.js +15 -0
  136. package/dist/models/multi-channel-message-direction-enum.d.ts +21 -0
  137. package/dist/models/multi-channel-message-direction-enum.js +25 -0
  138. package/dist/models/multi-channel-message-request.d.ts +50 -0
  139. package/dist/models/multi-channel-message-request.js +15 -0
  140. package/dist/models/multi-channel-status-enum.d.ts +23 -0
  141. package/dist/models/multi-channel-status-enum.js +27 -0
  142. package/dist/models/priority-enum.d.ts +1 -1
  143. package/dist/models/priority-enum.js +1 -1
  144. package/dist/models/rbm-action-base.d.ts +37 -0
  145. package/dist/models/rbm-action-base.js +15 -0
  146. package/dist/models/rbm-action-dial.d.ts +17 -0
  147. package/dist/models/rbm-action-dial.js +15 -0
  148. package/dist/models/rbm-action-open-url.d.ts +17 -0
  149. package/dist/models/rbm-action-open-url.js +15 -0
  150. package/dist/models/rbm-action-type-enum.d.ts +25 -0
  151. package/dist/models/rbm-action-type-enum.js +29 -0
  152. package/dist/models/rbm-action-view-location.d.ts +17 -0
  153. package/dist/models/rbm-action-view-location.js +15 -0
  154. package/dist/models/rbm-card-content-media.d.ts +17 -0
  155. package/dist/models/rbm-card-content-media.js +15 -0
  156. package/dist/models/rbm-card-content.d.ts +44 -0
  157. package/dist/models/rbm-card-content.js +15 -0
  158. package/dist/models/rbm-media-height-enum.d.ts +22 -0
  159. package/dist/models/rbm-media-height-enum.js +26 -0
  160. package/dist/models/rbm-message-carousel-card.d.ts +39 -0
  161. package/dist/models/rbm-message-carousel-card.js +15 -0
  162. package/dist/models/rbm-message-content-file.d.ts +30 -0
  163. package/dist/models/rbm-message-content-file.js +15 -0
  164. package/dist/models/rbm-message-content-rich-card.d.ts +18 -0
  165. package/dist/models/rbm-message-content-rich-card.js +15 -0
  166. package/dist/models/rbm-message-content-text.d.ts +31 -0
  167. package/dist/models/rbm-message-content-text.js +15 -0
  168. package/dist/models/rbm-message-media.d.ts +32 -0
  169. package/dist/models/rbm-message-media.js +15 -0
  170. package/dist/models/rbm-standalone-card.d.ts +46 -0
  171. package/dist/models/rbm-standalone-card.js +15 -0
  172. package/dist/models/sms-message-content.d.ts +24 -0
  173. package/dist/models/sms-message-content.js +15 -0
  174. package/dist/models/standalone-card-orientation-enum.d.ts +21 -0
  175. package/dist/models/standalone-card-orientation-enum.js +25 -0
  176. package/dist/models/tfv-status-enum.d.ts +0 -2
  177. package/dist/models/tfv-status-enum.js +1 -3
  178. package/dist/models/tfv-status.d.ts +12 -0
  179. package/dist/models/tfv-submission-info.d.ts +18 -0
  180. package/dist/models/thumbnail-alignment-enum.d.ts +21 -0
  181. package/dist/models/thumbnail-alignment-enum.js +25 -0
  182. package/dist/models/verification-denial-webhook.d.ts +12 -0
  183. package/dist/models/verification-request.d.ts +18 -0
  184. package/dist/models/verification-update-request.d.ts +18 -0
  185. package/docs/AccountStatistics.md +22 -0
  186. package/docs/AdditionalDenialReason.md +24 -0
  187. package/docs/Address.md +32 -0
  188. package/docs/AnswerCallback.md +47 -0
  189. package/docs/BridgeCompleteCallback.md +51 -0
  190. package/docs/BridgeTargetCompleteCallback.md +45 -0
  191. package/docs/CallDirectionEnum.md +11 -0
  192. package/docs/CallRecordingMetadata.md +56 -0
  193. package/docs/CallState.md +54 -0
  194. package/docs/CallStateEnum.md +11 -0
  195. package/docs/CallTranscription.md +26 -0
  196. package/docs/CallTranscriptionDetectedLanguageEnum.md +13 -0
  197. package/docs/CallTranscriptionMetadata.md +24 -0
  198. package/docs/CallTranscriptionResponse.md +26 -0
  199. package/docs/CallTranscriptionTrackEnum.md +11 -0
  200. package/docs/CallbackMethodEnum.md +11 -0
  201. package/docs/CallbackTypeEnum.md +15 -0
  202. package/docs/CallsApi.md +350 -0
  203. package/docs/CardWidthEnum.md +10 -0
  204. package/docs/CodeRequest.md +30 -0
  205. package/docs/Conference.md +34 -0
  206. package/docs/ConferenceCompletedCallback.md +29 -0
  207. package/docs/ConferenceCreatedCallback.md +29 -0
  208. package/docs/ConferenceMember.md +30 -0
  209. package/docs/ConferenceMemberExitCallback.md +35 -0
  210. package/docs/ConferenceMemberJoinCallback.md +35 -0
  211. package/docs/ConferenceRecordingAvailableCallback.md +47 -0
  212. package/docs/ConferenceRecordingMetadata.md +42 -0
  213. package/docs/ConferenceRedirectCallback.md +29 -0
  214. package/docs/ConferenceStateEnum.md +11 -0
  215. package/docs/ConferencesApi.md +609 -0
  216. package/docs/Contact.md +26 -0
  217. package/docs/CreateCall.md +60 -0
  218. package/docs/CreateCallResponse.md +60 -0
  219. package/docs/CreateLookupResponse.md +23 -0
  220. package/docs/CreateMessageRequestError.md +24 -0
  221. package/docs/CreateMultiChannelMessageResponse.md +24 -0
  222. package/docs/DeferredResult.md +22 -0
  223. package/docs/DisconnectCallback.md +53 -0
  224. package/docs/Diversion.md +32 -0
  225. package/docs/DtmfCallback.md +53 -0
  226. package/docs/Error.md +24 -0
  227. package/docs/ErrorObject.md +22 -0
  228. package/docs/FailureWebhook.md +30 -0
  229. package/docs/FieldError.md +22 -0
  230. package/docs/FileFormatEnum.md +11 -0
  231. package/docs/GatherCallback.md +55 -0
  232. package/docs/InitiateCallback.md +45 -0
  233. package/docs/Link.md +22 -0
  234. package/docs/LinksObject.md +26 -0
  235. package/docs/ListMessageDirectionEnum.md +11 -0
  236. package/docs/ListMessageItem.md +52 -0
  237. package/docs/LookupRequest.md +21 -0
  238. package/docs/LookupResult.md +37 -0
  239. package/docs/LookupStatus.md +27 -0
  240. package/docs/LookupStatusEnum.md +15 -0
  241. package/docs/MFAApi.md +188 -0
  242. package/docs/MachineDetectionCompleteCallback.md +47 -0
  243. package/docs/MachineDetectionConfiguration.md +49 -0
  244. package/docs/MachineDetectionModeEnum.md +11 -0
  245. package/docs/MachineDetectionResult.md +23 -0
  246. package/docs/Media.md +24 -0
  247. package/docs/MediaApi.md +268 -0
  248. package/docs/Message.md +44 -0
  249. package/docs/MessageCallback.md +33 -0
  250. package/docs/MessageCallbackMessage.md +43 -0
  251. package/docs/MessageDirectionEnum.md +11 -0
  252. package/docs/MessageRequest.md +34 -0
  253. package/docs/MessageStatusEnum.md +23 -0
  254. package/docs/MessageTypeEnum.md +11 -0
  255. package/docs/MessagesApi.md +175 -0
  256. package/docs/MessagesList.md +24 -0
  257. package/docs/MessagingCodeResponse.md +20 -0
  258. package/docs/MessagingRequestError.md +22 -0
  259. package/docs/MfaForbiddenRequestError.md +20 -0
  260. package/docs/MfaRequestError.md +22 -0
  261. package/docs/MfaUnauthorizedRequestError.md +20 -0
  262. package/docs/MmsMessageContent.md +22 -0
  263. package/docs/MultiChannelAction.md +42 -0
  264. package/docs/MultiChannelActionCalendarEvent.md +32 -0
  265. package/docs/MultiChannelApi.md +71 -0
  266. package/docs/MultiChannelCallbackData.md +28 -0
  267. package/docs/MultiChannelChannelListObject.md +26 -0
  268. package/docs/MultiChannelChannelListObjectContent.md +35 -0
  269. package/docs/MultiChannelMessageCallbackData.md +34 -0
  270. package/docs/MultiChannelMessageChannelEnum.md +13 -0
  271. package/docs/MultiChannelMessageData.md +36 -0
  272. package/docs/MultiChannelMessageDirectionEnum.md +10 -0
  273. package/docs/MultiChannelMessageRequest.md +29 -0
  274. package/docs/MultiChannelStatusEnum.md +14 -0
  275. package/docs/OptInWorkflow.md +22 -0
  276. package/docs/PageInfo.md +26 -0
  277. package/docs/PhoneNumberLookupApi.md +130 -0
  278. package/docs/PriorityEnum.md +11 -0
  279. package/docs/RbmActionBase.md +24 -0
  280. package/docs/RbmActionDial.md +26 -0
  281. package/docs/RbmActionOpenUrl.md +26 -0
  282. package/docs/RbmActionTypeEnum.md +18 -0
  283. package/docs/RbmActionViewLocation.md +30 -0
  284. package/docs/RbmCardContent.md +26 -0
  285. package/docs/RbmCardContentMedia.md +24 -0
  286. package/docs/RbmMediaHeightEnum.md +13 -0
  287. package/docs/RbmMessageCarouselCard.md +24 -0
  288. package/docs/RbmMessageContentFile.md +22 -0
  289. package/docs/RbmMessageContentRichCard.md +30 -0
  290. package/docs/RbmMessageContentText.md +22 -0
  291. package/docs/RbmMessageMedia.md +22 -0
  292. package/docs/RbmStandaloneCard.md +26 -0
  293. package/docs/RecordingAvailableCallback.md +63 -0
  294. package/docs/RecordingCompleteCallback.md +63 -0
  295. package/docs/RecordingStateEnum.md +11 -0
  296. package/docs/RecordingTranscriptionMetadata.md +27 -0
  297. package/docs/RecordingTranscriptions.md +20 -0
  298. package/docs/RecordingsApi.md +675 -0
  299. package/docs/RedirectCallback.md +51 -0
  300. package/docs/RedirectMethodEnum.md +11 -0
  301. package/docs/SmsMessageContent.md +20 -0
  302. package/docs/StandaloneCardOrientationEnum.md +10 -0
  303. package/docs/StatisticsApi.md +67 -0
  304. package/docs/StirShaken.md +24 -0
  305. package/docs/TelephoneNumber.md +20 -0
  306. package/docs/TfvBasicAuthentication.md +22 -0
  307. package/docs/TfvCallbackStatusEnum.md +10 -0
  308. package/docs/TfvError.md +25 -0
  309. package/docs/TfvStatus.md +38 -0
  310. package/docs/TfvStatusEnum.md +12 -0
  311. package/docs/TfvSubmissionInfo.md +42 -0
  312. package/docs/TfvSubmissionWrapper.md +20 -0
  313. package/docs/ThumbnailAlignmentEnum.md +11 -0
  314. package/docs/TnLookupRequestError.md +20 -0
  315. package/docs/TollFreeVerificationApi.md +505 -0
  316. package/docs/TranscribeRecording.md +32 -0
  317. package/docs/Transcription.md +22 -0
  318. package/docs/TranscriptionAvailableCallback.md +61 -0
  319. package/docs/TranscriptionsApi.md +202 -0
  320. package/docs/TransferAnswerCallback.md +49 -0
  321. package/docs/TransferCompleteCallback.md +55 -0
  322. package/docs/TransferDisconnectCallback.md +59 -0
  323. package/docs/UpdateCall.md +38 -0
  324. package/docs/UpdateCallRecording.md +20 -0
  325. package/docs/UpdateConference.md +36 -0
  326. package/docs/UpdateConferenceMember.md +24 -0
  327. package/docs/VerificationDenialWebhook.md +38 -0
  328. package/docs/VerificationRequest.md +44 -0
  329. package/docs/VerificationUpdateRequest.md +42 -0
  330. package/docs/VerificationWebhook.md +26 -0
  331. package/docs/VerifyCodeRequest.md +26 -0
  332. package/docs/VerifyCodeResponse.md +20 -0
  333. package/docs/VoiceApiError.md +24 -0
  334. package/docs/VoiceCodeResponse.md +20 -0
  335. package/docs/WebhookSubscription.md +33 -0
  336. package/docs/WebhookSubscriptionBasicAuthentication.md +23 -0
  337. package/docs/WebhookSubscriptionRequestSchema.md +24 -0
  338. package/docs/WebhookSubscriptionTypeEnum.md +10 -0
  339. package/docs/WebhookSubscriptionsListBody.md +25 -0
  340. package/models/bxml/verbs/PhoneNumber.ts +1 -0
  341. package/models/callback-type-enum.ts +4 -4
  342. package/models/card-width-enum.ts +31 -0
  343. package/models/create-multi-channel-message-response.ts +51 -0
  344. package/models/error-object.ts +36 -0
  345. package/models/index.ts +33 -1
  346. package/models/link.ts +36 -0
  347. package/models/message-callback.ts +6 -0
  348. package/models/message-request.ts +1 -1
  349. package/models/message.ts +1 -1
  350. package/models/mms-message-content.ts +36 -0
  351. package/models/multi-channel-action-calendar-event.ts +29 -0
  352. package/models/multi-channel-action.ts +41 -0
  353. package/models/multi-channel-callback-data.ts +62 -0
  354. package/models/multi-channel-channel-list-object-content.ts +54 -0
  355. package/models/multi-channel-channel-list-object.ts +56 -0
  356. package/models/multi-channel-message-callback-data.ts +83 -0
  357. package/models/multi-channel-message-channel-enum.ts +32 -0
  358. package/models/multi-channel-message-data.ts +89 -0
  359. package/models/multi-channel-message-direction-enum.ts +31 -0
  360. package/models/multi-channel-message-request.ts +62 -0
  361. package/models/multi-channel-status-enum.ts +33 -0
  362. package/models/priority-enum.ts +1 -1
  363. package/models/rbm-action-base.ts +47 -0
  364. package/models/rbm-action-dial.ts +29 -0
  365. package/models/rbm-action-open-url.ts +29 -0
  366. package/models/rbm-action-type-enum.ts +35 -0
  367. package/models/rbm-action-view-location.ts +29 -0
  368. package/models/rbm-card-content-media.ts +29 -0
  369. package/models/rbm-card-content.ts +54 -0
  370. package/models/rbm-media-height-enum.ts +32 -0
  371. package/models/rbm-message-carousel-card.ts +53 -0
  372. package/models/rbm-message-content-file.ts +36 -0
  373. package/models/rbm-message-content-rich-card.ts +44 -0
  374. package/models/rbm-message-content-text.ts +39 -0
  375. package/models/rbm-message-media.ts +42 -0
  376. package/models/rbm-standalone-card.ts +62 -0
  377. package/models/sms-message-content.ts +30 -0
  378. package/models/standalone-card-orientation-enum.ts +31 -0
  379. package/models/tfv-status-enum.ts +1 -3
  380. package/models/tfv-status.ts +12 -0
  381. package/models/tfv-submission-info.ts +18 -0
  382. package/models/thumbnail-alignment-enum.ts +31 -0
  383. package/models/verification-denial-webhook.ts +12 -0
  384. package/models/verification-request.ts +18 -0
  385. package/models/verification-update-request.ts +18 -0
  386. package/openapitools.json +1 -1
  387. package/package.json +1 -1
  388. package/tests/smoke/conferences-api.test.ts +4 -4
  389. package/tests/smoke/multi-channel-api.test.ts +44 -0
  390. package/tests/smoke/transcriptions-api.test.ts +1 -1
  391. package/tests/unit/api/multi-channel-api.test.ts +45 -0
  392. package/tests/unit/models/bxml/verbs/PhoneNumber.test.ts +3 -2
  393. package/tests/unit/models/callback-type-enum.test.ts +4 -4
  394. package/tests/unit/models/card-width-enum.test.ts +8 -0
  395. package/tests/unit/models/multi-channel-message-channel-enum.test.ts +9 -0
  396. package/tests/unit/models/multi-channel-message-direction-enum.test.ts +8 -0
  397. package/tests/unit/models/multi-channel-status-enum.test.ts +10 -0
  398. package/tests/unit/models/rbm-action-type-enum.test.ts +12 -0
  399. package/tests/unit/models/rbm-media-height-enum.test.ts +9 -0
  400. package/tests/unit/models/standalone-card-orientation-enum.test.ts +8 -0
  401. package/tests/unit/models/tfv-status-enum.test.ts +0 -2
  402. package/tests/unit/models/thumbnail-alignment-enum.test.ts +7 -0
@@ -0,0 +1,79 @@
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 { Configuration } from '../configuration';
13
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
14
+ import { type RequestArgs, BaseAPI } from '../base';
15
+ import type { CreateMultiChannelMessageResponse } from '../models';
16
+ import type { MultiChannelMessageRequest } from '../models';
17
+ /**
18
+ * MultiChannelApi - axios parameter creator
19
+ * @export
20
+ */
21
+ export declare const MultiChannelApiAxiosParamCreator: (configuration?: Configuration) => {
22
+ /**
23
+ * Endpoint for sending Multi-Channel messages.
24
+ * @summary Create Multi-Channel Message
25
+ * @param {string} accountId Your Bandwidth Account ID.
26
+ * @param {MultiChannelMessageRequest} multiChannelMessageRequest
27
+ * @param {*} [options] Override http request option.
28
+ * @throws {RequiredError}
29
+ */
30
+ createMultiChannelMessage: (accountId: string, multiChannelMessageRequest: MultiChannelMessageRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
31
+ };
32
+ /**
33
+ * MultiChannelApi - functional programming interface
34
+ * @export
35
+ */
36
+ export declare const MultiChannelApiFp: (configuration?: Configuration) => {
37
+ /**
38
+ * Endpoint for sending Multi-Channel messages.
39
+ * @summary Create Multi-Channel Message
40
+ * @param {string} accountId Your Bandwidth Account ID.
41
+ * @param {MultiChannelMessageRequest} multiChannelMessageRequest
42
+ * @param {*} [options] Override http request option.
43
+ * @throws {RequiredError}
44
+ */
45
+ createMultiChannelMessage(accountId: string, multiChannelMessageRequest: MultiChannelMessageRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateMultiChannelMessageResponse>>;
46
+ };
47
+ /**
48
+ * MultiChannelApi - factory interface
49
+ * @export
50
+ */
51
+ export declare const MultiChannelApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
52
+ /**
53
+ * Endpoint for sending Multi-Channel messages.
54
+ * @summary Create Multi-Channel Message
55
+ * @param {string} accountId Your Bandwidth Account ID.
56
+ * @param {MultiChannelMessageRequest} multiChannelMessageRequest
57
+ * @param {*} [options] Override http request option.
58
+ * @throws {RequiredError}
59
+ */
60
+ createMultiChannelMessage(accountId: string, multiChannelMessageRequest: MultiChannelMessageRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateMultiChannelMessageResponse>;
61
+ };
62
+ /**
63
+ * MultiChannelApi - object-oriented interface
64
+ * @export
65
+ * @class MultiChannelApi
66
+ * @extends {BaseAPI}
67
+ */
68
+ export declare class MultiChannelApi extends BaseAPI {
69
+ /**
70
+ * Endpoint for sending Multi-Channel messages.
71
+ * @summary Create Multi-Channel Message
72
+ * @param {string} accountId Your Bandwidth Account ID.
73
+ * @param {MultiChannelMessageRequest} multiChannelMessageRequest
74
+ * @param {*} [options] Override http request option.
75
+ * @throws {RequiredError}
76
+ * @memberof MultiChannelApi
77
+ */
78
+ createMultiChannelMessage(accountId: string, multiChannelMessageRequest: MultiChannelMessageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateMultiChannelMessageResponse, any>>;
79
+ }
@@ -0,0 +1,230 @@
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
+ var __extends = (this && this.__extends) || (function () {
16
+ var extendStatics = function (d, b) {
17
+ extendStatics = Object.setPrototypeOf ||
18
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
20
+ return extendStatics(d, b);
21
+ };
22
+ return function (d, b) {
23
+ if (typeof b !== "function" && b !== null)
24
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
25
+ extendStatics(d, b);
26
+ function __() { this.constructor = d; }
27
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
28
+ };
29
+ })();
30
+ var __assign = (this && this.__assign) || function () {
31
+ __assign = Object.assign || function(t) {
32
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
33
+ s = arguments[i];
34
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
35
+ t[p] = s[p];
36
+ }
37
+ return t;
38
+ };
39
+ return __assign.apply(this, arguments);
40
+ };
41
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
42
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
43
+ return new (P || (P = Promise))(function (resolve, reject) {
44
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
45
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
46
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
47
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
48
+ });
49
+ };
50
+ var __generator = (this && this.__generator) || function (thisArg, body) {
51
+ 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);
52
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
53
+ function verb(n) { return function (v) { return step([n, v]); }; }
54
+ function step(op) {
55
+ if (f) throw new TypeError("Generator is already executing.");
56
+ while (g && (g = 0, op[0] && (_ = 0)), _) try {
57
+ 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;
58
+ if (y = 0, t) op = [op[0] & 2, t.value];
59
+ switch (op[0]) {
60
+ case 0: case 1: t = op; break;
61
+ case 4: _.label++; return { value: op[1], done: false };
62
+ case 5: _.label++; y = op[1]; op = [0]; continue;
63
+ case 7: op = _.ops.pop(); _.trys.pop(); continue;
64
+ default:
65
+ if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
66
+ if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
67
+ if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
68
+ if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
69
+ if (t[2]) _.ops.pop();
70
+ _.trys.pop(); continue;
71
+ }
72
+ op = body.call(thisArg, _);
73
+ } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
74
+ if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
75
+ }
76
+ };
77
+ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
78
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
79
+ if (ar || !(i in from)) {
80
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
81
+ ar[i] = from[i];
82
+ }
83
+ }
84
+ return to.concat(ar || Array.prototype.slice.call(from));
85
+ };
86
+ Object.defineProperty(exports, "__esModule", { value: true });
87
+ exports.MultiChannelApi = exports.MultiChannelApiFactory = exports.MultiChannelApiFp = exports.MultiChannelApiAxiosParamCreator = void 0;
88
+ var axios_1 = require("axios");
89
+ // Some imports not used depending on template conditions
90
+ // @ts-ignore
91
+ var common_1 = require("../common");
92
+ // @ts-ignore
93
+ var base_1 = require("../base");
94
+ /**
95
+ * MultiChannelApi - axios parameter creator
96
+ * @export
97
+ */
98
+ var MultiChannelApiAxiosParamCreator = function (configuration) {
99
+ var _this = this;
100
+ return {
101
+ /**
102
+ * Endpoint for sending Multi-Channel messages.
103
+ * @summary Create Multi-Channel Message
104
+ * @param {string} accountId Your Bandwidth Account ID.
105
+ * @param {MultiChannelMessageRequest} multiChannelMessageRequest
106
+ * @param {*} [options] Override http request option.
107
+ * @throws {RequiredError}
108
+ */
109
+ createMultiChannelMessage: function (accountId_1, multiChannelMessageRequest_1) {
110
+ var args_1 = [];
111
+ for (var _i = 2; _i < arguments.length; _i++) {
112
+ args_1[_i - 2] = arguments[_i];
113
+ }
114
+ return __awaiter(_this, __spreadArray([accountId_1, multiChannelMessageRequest_1], args_1, true), void 0, function (accountId, multiChannelMessageRequest, options) {
115
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
116
+ if (options === void 0) { options = {}; }
117
+ return __generator(this, function (_a) {
118
+ // verify required parameter 'accountId' is not null or undefined
119
+ (0, common_1.assertParamExists)('createMultiChannelMessage', 'accountId', accountId);
120
+ // verify required parameter 'multiChannelMessageRequest' is not null or undefined
121
+ (0, common_1.assertParamExists)('createMultiChannelMessage', 'multiChannelMessageRequest', multiChannelMessageRequest);
122
+ localVarPath = "/users/{accountId}/messages/multiChannel"
123
+ .replace("{".concat("accountId", "}"), encodeURIComponent(String(accountId)));
124
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
125
+ if (configuration) {
126
+ baseOptions = configuration.baseOptions;
127
+ }
128
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
129
+ localVarHeaderParameter = {};
130
+ localVarQueryParameter = {};
131
+ // authentication Basic required
132
+ // http basic authentication required
133
+ (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
134
+ localVarHeaderParameter['Content-Type'] = 'application/json';
135
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
136
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
137
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
138
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(multiChannelMessageRequest, localVarRequestOptions, configuration);
139
+ return [2 /*return*/, {
140
+ url: (0, common_1.toPathString)(localVarUrlObj),
141
+ options: localVarRequestOptions,
142
+ }];
143
+ });
144
+ });
145
+ },
146
+ };
147
+ };
148
+ exports.MultiChannelApiAxiosParamCreator = MultiChannelApiAxiosParamCreator;
149
+ /**
150
+ * MultiChannelApi - functional programming interface
151
+ * @export
152
+ */
153
+ var MultiChannelApiFp = function (configuration) {
154
+ var localVarAxiosParamCreator = (0, exports.MultiChannelApiAxiosParamCreator)(configuration);
155
+ return {
156
+ /**
157
+ * Endpoint for sending Multi-Channel messages.
158
+ * @summary Create Multi-Channel Message
159
+ * @param {string} accountId Your Bandwidth Account ID.
160
+ * @param {MultiChannelMessageRequest} multiChannelMessageRequest
161
+ * @param {*} [options] Override http request option.
162
+ * @throws {RequiredError}
163
+ */
164
+ createMultiChannelMessage: function (accountId, multiChannelMessageRequest, options) {
165
+ return __awaiter(this, void 0, void 0, function () {
166
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
167
+ var _a, _b, _c;
168
+ return __generator(this, function (_d) {
169
+ switch (_d.label) {
170
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.createMultiChannelMessage(accountId, multiChannelMessageRequest, options)];
171
+ case 1:
172
+ localVarAxiosArgs = _d.sent();
173
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
174
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['MultiChannelApi.createMultiChannelMessage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
175
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
176
+ }
177
+ });
178
+ });
179
+ },
180
+ };
181
+ };
182
+ exports.MultiChannelApiFp = MultiChannelApiFp;
183
+ /**
184
+ * MultiChannelApi - factory interface
185
+ * @export
186
+ */
187
+ var MultiChannelApiFactory = function (configuration, basePath, axios) {
188
+ var localVarFp = (0, exports.MultiChannelApiFp)(configuration);
189
+ return {
190
+ /**
191
+ * Endpoint for sending Multi-Channel messages.
192
+ * @summary Create Multi-Channel Message
193
+ * @param {string} accountId Your Bandwidth Account ID.
194
+ * @param {MultiChannelMessageRequest} multiChannelMessageRequest
195
+ * @param {*} [options] Override http request option.
196
+ * @throws {RequiredError}
197
+ */
198
+ createMultiChannelMessage: function (accountId, multiChannelMessageRequest, options) {
199
+ return localVarFp.createMultiChannelMessage(accountId, multiChannelMessageRequest, options).then(function (request) { return request(axios, basePath); });
200
+ },
201
+ };
202
+ };
203
+ exports.MultiChannelApiFactory = MultiChannelApiFactory;
204
+ /**
205
+ * MultiChannelApi - object-oriented interface
206
+ * @export
207
+ * @class MultiChannelApi
208
+ * @extends {BaseAPI}
209
+ */
210
+ var MultiChannelApi = /** @class */ (function (_super) {
211
+ __extends(MultiChannelApi, _super);
212
+ function MultiChannelApi() {
213
+ return _super !== null && _super.apply(this, arguments) || this;
214
+ }
215
+ /**
216
+ * Endpoint for sending Multi-Channel messages.
217
+ * @summary Create Multi-Channel Message
218
+ * @param {string} accountId Your Bandwidth Account ID.
219
+ * @param {MultiChannelMessageRequest} multiChannelMessageRequest
220
+ * @param {*} [options] Override http request option.
221
+ * @throws {RequiredError}
222
+ * @memberof MultiChannelApi
223
+ */
224
+ MultiChannelApi.prototype.createMultiChannelMessage = function (accountId, multiChannelMessageRequest, options) {
225
+ var _this = this;
226
+ return (0, exports.MultiChannelApiFp)(this.configuration).createMultiChannelMessage(accountId, multiChannelMessageRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
227
+ };
228
+ return MultiChannelApi;
229
+ }(base_1.BaseAPI));
230
+ exports.MultiChannelApi = MultiChannelApi;
package/dist/api.d.ts CHANGED
@@ -14,6 +14,7 @@ export * from './api/conferences-api';
14
14
  export * from './api/mfaapi';
15
15
  export * from './api/media-api';
16
16
  export * from './api/messages-api';
17
+ export * from './api/multi-channel-api';
17
18
  export * from './api/phone-number-lookup-api';
18
19
  export * from './api/recordings-api';
19
20
  export * from './api/statistics-api';
package/dist/api.js CHANGED
@@ -32,6 +32,7 @@ __exportStar(require("./api/conferences-api"), exports);
32
32
  __exportStar(require("./api/mfaapi"), exports);
33
33
  __exportStar(require("./api/media-api"), exports);
34
34
  __exportStar(require("./api/messages-api"), exports);
35
+ __exportStar(require("./api/multi-channel-api"), exports);
35
36
  __exportStar(require("./api/phone-number-lookup-api"), exports);
36
37
  __exportStar(require("./api/recordings-api"), exports);
37
38
  __exportStar(require("./api/statistics-api"), exports);
package/dist/base.js CHANGED
@@ -222,6 +222,12 @@ exports.operationServerMap = {
222
222
  description: "Production",
223
223
  }
224
224
  ],
225
+ "MultiChannelApi.createMultiChannelMessage": [
226
+ {
227
+ url: "https://messaging.bandwidth.com/api/v2",
228
+ description: "Production",
229
+ }
230
+ ],
225
231
  "PhoneNumberLookupApi.createLookup": [
226
232
  {
227
233
  url: "https://numbers.bandwidth.com/api/v1",
@@ -35,7 +35,7 @@ var Configuration = /** @class */ (function () {
35
35
  this.accessToken = param.accessToken;
36
36
  this.basePath = param.basePath;
37
37
  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/4.1.3/typescript-axios" }) });
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/5.0.0/typescript-axios" }) });
39
39
  this.formDataCtor = param.formDataCtor;
40
40
  }
41
41
  /**
@@ -11,6 +11,7 @@ export interface PhoneNumberAttributes {
11
11
  fallbackUsername?: string;
12
12
  fallbackPassword?: string;
13
13
  tag?: string;
14
+ uui?: string;
14
15
  }
15
16
  /**
16
17
  * @export
@@ -15,9 +15,9 @@
15
15
  * @enum {string}
16
16
  */
17
17
  export declare const CallbackTypeEnum: {
18
- readonly Received: "message-received";
19
- readonly Sending: "message-sending";
20
- readonly Delivered: "message-delivered";
21
- readonly Failed: "message-failed";
18
+ readonly MessageReceived: "message-received";
19
+ readonly MessageSending: "message-sending";
20
+ readonly MessageDelivered: "message-delivered";
21
+ readonly MessageFailed: "message-failed";
22
22
  };
23
23
  export type CallbackTypeEnum = typeof CallbackTypeEnum[keyof typeof CallbackTypeEnum];
@@ -20,8 +20,8 @@ exports.CallbackTypeEnum = void 0;
20
20
  * @enum {string}
21
21
  */
22
22
  exports.CallbackTypeEnum = {
23
- Received: 'message-received',
24
- Sending: 'message-sending',
25
- Delivered: 'message-delivered',
26
- Failed: 'message-failed'
23
+ MessageReceived: 'message-received',
24
+ MessageSending: 'message-sending',
25
+ MessageDelivered: 'message-delivered',
26
+ MessageFailed: 'message-failed'
27
27
  };
@@ -0,0 +1,21 @@
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
+ /**
13
+ *
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare const CardWidthEnum: {
18
+ readonly Small: "SMALL";
19
+ readonly Medium: "MEDIUM";
20
+ };
21
+ export type CardWidthEnum = typeof CardWidthEnum[keyof typeof CardWidthEnum];
@@ -0,0 +1,25 @@
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 });
16
+ exports.CardWidthEnum = void 0;
17
+ /**
18
+ *
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+ exports.CardWidthEnum = {
23
+ Small: 'SMALL',
24
+ Medium: 'MEDIUM'
25
+ };
@@ -0,0 +1,39 @@
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 { ErrorObject } from './error-object';
13
+ import type { Link } from './link';
14
+ import type { MultiChannelMessageData } from './multi-channel-message-data';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface CreateMultiChannelMessageResponse
19
+ */
20
+ export interface CreateMultiChannelMessageResponse {
21
+ /**
22
+ *
23
+ * @type {Array<Link>}
24
+ * @memberof CreateMultiChannelMessageResponse
25
+ */
26
+ 'links'?: Array<Link>;
27
+ /**
28
+ *
29
+ * @type {MultiChannelMessageData}
30
+ * @memberof CreateMultiChannelMessageResponse
31
+ */
32
+ 'data'?: MultiChannelMessageData;
33
+ /**
34
+ *
35
+ * @type {Array<ErrorObject>}
36
+ * @memberof CreateMultiChannelMessageResponse
37
+ */
38
+ 'errors'?: Array<ErrorObject>;
39
+ }
@@ -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,30 @@
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
+ /**
13
+ *
14
+ * @export
15
+ * @interface ErrorObject
16
+ */
17
+ export interface ErrorObject {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ErrorObject
22
+ */
23
+ 'code'?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ErrorObject
28
+ */
29
+ 'message'?: string;
30
+ }
@@ -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 });
@@ -15,6 +15,7 @@ export * from './call-transcription-response';
15
15
  export * from './call-transcription-track-enum';
16
16
  export * from './callback-method-enum';
17
17
  export * from './callback-type-enum';
18
+ export * from './card-width-enum';
18
19
  export * from './code-request';
19
20
  export * from './conference';
20
21
  export * from './conference-completed-callback';
@@ -31,15 +32,18 @@ export * from './create-call';
31
32
  export * from './create-call-response';
32
33
  export * from './create-lookup-response';
33
34
  export * from './create-message-request-error';
35
+ export * from './create-multi-channel-message-response';
34
36
  export * from './deferred-result';
35
37
  export * from './disconnect-callback';
36
38
  export * from './diversion';
37
39
  export * from './dtmf-callback';
40
+ export * from './error-object';
38
41
  export * from './failure-webhook';
39
42
  export * from './field-error';
40
43
  export * from './file-format-enum';
41
44
  export * from './gather-callback';
42
45
  export * from './initiate-callback';
46
+ export * from './link';
43
47
  export * from './links-object';
44
48
  export * from './list-message-direction-enum';
45
49
  export * from './list-message-item';
@@ -65,10 +69,36 @@ export * from './messaging-request-error';
65
69
  export * from './mfa-forbidden-request-error';
66
70
  export * from './mfa-request-error';
67
71
  export * from './mfa-unauthorized-request-error';
72
+ export * from './mms-message-content';
68
73
  export * from './model-error';
74
+ export * from './multi-channel-action';
75
+ export * from './multi-channel-action-calendar-event';
76
+ export * from './multi-channel-callback-data';
77
+ export * from './multi-channel-channel-list-object';
78
+ export * from './multi-channel-channel-list-object-content';
79
+ export * from './multi-channel-message-callback-data';
80
+ export * from './multi-channel-message-channel-enum';
81
+ export * from './multi-channel-message-data';
82
+ export * from './multi-channel-message-direction-enum';
83
+ export * from './multi-channel-message-request';
84
+ export * from './multi-channel-status-enum';
69
85
  export * from './opt-in-workflow';
70
86
  export * from './page-info';
71
87
  export * from './priority-enum';
88
+ export * from './rbm-action-base';
89
+ export * from './rbm-action-dial';
90
+ export * from './rbm-action-open-url';
91
+ export * from './rbm-action-type-enum';
92
+ export * from './rbm-action-view-location';
93
+ export * from './rbm-card-content';
94
+ export * from './rbm-card-content-media';
95
+ export * from './rbm-media-height-enum';
96
+ export * from './rbm-message-carousel-card';
97
+ export * from './rbm-message-content-file';
98
+ export * from './rbm-message-content-rich-card';
99
+ export * from './rbm-message-content-text';
100
+ export * from './rbm-message-media';
101
+ export * from './rbm-standalone-card';
72
102
  export * from './recording-available-callback';
73
103
  export * from './recording-complete-callback';
74
104
  export * from './recording-state-enum';
@@ -76,8 +106,9 @@ export * from './recording-transcription-metadata';
76
106
  export * from './recording-transcriptions';
77
107
  export * from './redirect-callback';
78
108
  export * from './redirect-method-enum';
109
+ export * from './sms-message-content';
110
+ export * from './standalone-card-orientation-enum';
79
111
  export * from './stir-shaken';
80
- export * from './tag';
81
112
  export * from './telephone-number';
82
113
  export * from './tfv-basic-authentication';
83
114
  export * from './tfv-callback-status-enum';
@@ -86,6 +117,7 @@ export * from './tfv-status';
86
117
  export * from './tfv-status-enum';
87
118
  export * from './tfv-submission-info';
88
119
  export * from './tfv-submission-wrapper';
120
+ export * from './thumbnail-alignment-enum';
89
121
  export * from './tn-lookup-request-error';
90
122
  export * from './transcribe-recording';
91
123
  export * from './transcription';