bandwidth-sdk 4.1.3 → 5.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 (407) hide show
  1. package/.github/workflows/test-pr.yml +2 -2
  2. package/.openapi-generator/FILES +191 -1
  3. package/.openapi-generator/VERSION +1 -1
  4. package/api/multi-channel-api.ts +150 -0
  5. package/api.ts +1 -0
  6. package/bandwidth.yml +651 -58
  7. package/base.ts +6 -0
  8. package/configuration.ts +1 -1
  9. package/coverage/clover.xml +566 -460
  10. package/coverage/coverage-final.json +79 -70
  11. package/coverage/lcov-report/index.html +27 -27
  12. package/coverage/lcov-report/node-sdk/api/calls-api.ts.html +14 -14
  13. package/coverage/lcov-report/node-sdk/api/conferences-api.ts.html +18 -18
  14. package/coverage/lcov-report/node-sdk/api/index.html +24 -9
  15. package/coverage/lcov-report/node-sdk/api/media-api.ts.html +13 -13
  16. package/coverage/lcov-report/node-sdk/api/messages-api.ts.html +11 -11
  17. package/coverage/lcov-report/node-sdk/api/mfaapi.ts.html +12 -12
  18. package/coverage/lcov-report/node-sdk/api/multi-channel-api.ts.html +535 -0
  19. package/coverage/lcov-report/node-sdk/api/phone-number-lookup-api.ts.html +11 -11
  20. package/coverage/lcov-report/node-sdk/api/recordings-api.ts.html +19 -19
  21. package/coverage/lcov-report/node-sdk/api/statistics-api.ts.html +10 -10
  22. package/coverage/lcov-report/node-sdk/api/toll-free-verification-api.ts.html +17 -17
  23. package/coverage/lcov-report/node-sdk/api/transcriptions-api.ts.html +12 -12
  24. package/coverage/lcov-report/node-sdk/api.ts.html +17 -14
  25. package/coverage/lcov-report/node-sdk/base.ts.html +32 -14
  26. package/coverage/lcov-report/node-sdk/common.ts.html +11 -11
  27. package/coverage/lcov-report/node-sdk/configuration.ts.html +14 -14
  28. package/coverage/lcov-report/node-sdk/index.html +7 -7
  29. package/coverage/lcov-report/node-sdk/models/bxml/Bxml.ts.html +4 -4
  30. package/coverage/lcov-report/node-sdk/models/bxml/NestableVerb.ts.html +6 -6
  31. package/coverage/lcov-report/node-sdk/models/bxml/Response.ts.html +4 -4
  32. package/coverage/lcov-report/node-sdk/models/bxml/Root.ts.html +8 -8
  33. package/coverage/lcov-report/node-sdk/models/bxml/Verb.ts.html +6 -6
  34. package/coverage/lcov-report/node-sdk/models/bxml/index.html +1 -1
  35. package/coverage/lcov-report/node-sdk/models/bxml/index.ts.html +3 -3
  36. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Bridge.ts.html +4 -4
  37. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Conference.ts.html +4 -4
  38. package/coverage/lcov-report/node-sdk/models/bxml/verbs/CustomParam.ts.html +4 -4
  39. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Forward.ts.html +4 -4
  40. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Gather.ts.html +7 -7
  41. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Hangup.ts.html +4 -4
  42. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Pause.ts.html +4 -4
  43. package/coverage/lcov-report/node-sdk/models/bxml/verbs/PauseRecording.ts.html +4 -4
  44. package/coverage/lcov-report/node-sdk/models/bxml/verbs/PhoneNumber.ts.html +7 -4
  45. package/coverage/lcov-report/node-sdk/models/bxml/verbs/PlayAudio.ts.html +4 -4
  46. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Record.ts.html +4 -4
  47. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Redirect.ts.html +4 -4
  48. package/coverage/lcov-report/node-sdk/models/bxml/verbs/ResumeRecording.ts.html +4 -4
  49. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Ring.ts.html +4 -4
  50. package/coverage/lcov-report/node-sdk/models/bxml/verbs/SendDtmf.ts.html +4 -4
  51. package/coverage/lcov-report/node-sdk/models/bxml/verbs/SipUri.ts.html +4 -4
  52. package/coverage/lcov-report/node-sdk/models/bxml/verbs/SpeakSentence.ts.html +6 -6
  53. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartGather.ts.html +4 -4
  54. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartRecording.ts.html +4 -4
  55. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartStream.ts.html +5 -5
  56. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartTranscription.ts.html +5 -5
  57. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopGather.ts.html +4 -4
  58. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopRecording.ts.html +4 -4
  59. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopStream.ts.html +4 -4
  60. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopTranscription.ts.html +4 -4
  61. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StreamParam.ts.html +4 -4
  62. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Tag.ts.html +4 -4
  63. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Transfer.ts.html +5 -5
  64. package/coverage/lcov-report/node-sdk/models/bxml/verbs/index.html +1 -1
  65. package/coverage/lcov-report/node-sdk/models/bxml/verbs/index.ts.html +31 -31
  66. package/coverage/lcov-report/node-sdk/models/call-direction-enum.ts.html +2 -2
  67. package/coverage/lcov-report/node-sdk/models/call-state-enum.ts.html +2 -2
  68. package/coverage/lcov-report/node-sdk/models/call-transcription-detected-language-enum.ts.html +2 -2
  69. package/coverage/lcov-report/node-sdk/models/call-transcription-track-enum.ts.html +2 -2
  70. package/coverage/lcov-report/node-sdk/models/callback-method-enum.ts.html +2 -2
  71. package/coverage/lcov-report/node-sdk/models/callback-type-enum.ts.html +6 -6
  72. package/coverage/lcov-report/node-sdk/models/card-width-enum.ts.html +178 -0
  73. package/coverage/lcov-report/node-sdk/models/conference-state-enum.ts.html +2 -2
  74. package/coverage/lcov-report/node-sdk/models/file-format-enum.ts.html +2 -2
  75. package/coverage/lcov-report/node-sdk/models/index.html +125 -5
  76. package/coverage/lcov-report/node-sdk/models/index.ts.html +216 -117
  77. package/coverage/lcov-report/node-sdk/models/list-message-direction-enum.ts.html +2 -2
  78. package/coverage/lcov-report/node-sdk/models/lookup-status-enum.ts.html +2 -2
  79. package/coverage/lcov-report/node-sdk/models/machine-detection-mode-enum.ts.html +2 -2
  80. package/coverage/lcov-report/node-sdk/models/message-direction-enum.ts.html +2 -2
  81. package/coverage/lcov-report/node-sdk/models/message-status-enum.ts.html +2 -2
  82. package/coverage/lcov-report/node-sdk/models/message-type-enum.ts.html +2 -2
  83. package/coverage/lcov-report/node-sdk/models/multi-channel-message-channel-enum.ts.html +181 -0
  84. package/coverage/lcov-report/node-sdk/models/multi-channel-message-direction-enum.ts.html +178 -0
  85. package/coverage/lcov-report/node-sdk/models/multi-channel-status-enum.ts.html +184 -0
  86. package/coverage/lcov-report/node-sdk/models/priority-enum.ts.html +3 -3
  87. package/coverage/lcov-report/node-sdk/models/rbm-action-type-enum.ts.html +190 -0
  88. package/coverage/lcov-report/node-sdk/models/rbm-media-height-enum.ts.html +181 -0
  89. package/coverage/lcov-report/node-sdk/models/recording-state-enum.ts.html +2 -2
  90. package/coverage/lcov-report/node-sdk/models/redirect-method-enum.ts.html +2 -2
  91. package/coverage/lcov-report/node-sdk/models/standalone-card-orientation-enum.ts.html +178 -0
  92. package/coverage/lcov-report/node-sdk/models/tfv-callback-status-enum.ts.html +2 -2
  93. package/coverage/lcov-report/node-sdk/models/tfv-status-enum.ts.html +4 -10
  94. package/coverage/lcov-report/node-sdk/models/thumbnail-alignment-enum.ts.html +178 -0
  95. package/coverage/lcov-report/node-sdk/models/webhook-subscription-type-enum.ts.html +2 -2
  96. package/coverage/lcov.info +724 -517
  97. package/dist/api/multi-channel-api.d.ts +79 -0
  98. package/dist/api/multi-channel-api.js +230 -0
  99. package/dist/api.d.ts +1 -0
  100. package/dist/api.js +1 -0
  101. package/dist/base.js +6 -0
  102. package/dist/configuration.js +1 -1
  103. package/dist/models/blocked-webhook.d.ts +55 -0
  104. package/dist/models/blocked-webhook.js +15 -0
  105. package/dist/models/bxml/verbs/PhoneNumber.d.ts +1 -0
  106. package/dist/models/callback-type-enum.d.ts +4 -4
  107. package/dist/models/callback-type-enum.js +4 -4
  108. package/dist/models/card-width-enum.d.ts +21 -0
  109. package/dist/models/card-width-enum.js +25 -0
  110. package/dist/models/create-multi-channel-message-response.d.ts +39 -0
  111. package/dist/models/create-multi-channel-message-response.js +15 -0
  112. package/dist/models/error-object.d.ts +30 -0
  113. package/dist/models/error-object.js +15 -0
  114. package/dist/models/index.d.ts +34 -1
  115. package/dist/models/index.js +34 -1
  116. package/dist/models/link.d.ts +30 -0
  117. package/dist/models/link.js +15 -0
  118. package/dist/models/message-callback.d.ts +6 -0
  119. package/dist/models/message-request.d.ts +1 -1
  120. package/dist/models/message.d.ts +1 -1
  121. package/dist/models/mms-message-content.d.ts +30 -0
  122. package/dist/models/mms-message-content.js +15 -0
  123. package/dist/models/multi-channel-action-calendar-event.d.ts +17 -0
  124. package/dist/models/multi-channel-action-calendar-event.js +15 -0
  125. package/dist/models/multi-channel-action.d.ts +33 -0
  126. package/dist/models/multi-channel-action.js +15 -0
  127. package/dist/models/multi-channel-callback-data.d.ts +50 -0
  128. package/dist/models/multi-channel-callback-data.js +15 -0
  129. package/dist/models/multi-channel-channel-list-object-content.d.ts +22 -0
  130. package/dist/models/multi-channel-channel-list-object-content.js +15 -0
  131. package/dist/models/multi-channel-channel-list-object.d.ts +44 -0
  132. package/dist/models/multi-channel-channel-list-object.js +15 -0
  133. package/dist/models/multi-channel-message-callback-data.d.ts +69 -0
  134. package/dist/models/multi-channel-message-callback-data.js +15 -0
  135. package/dist/models/multi-channel-message-channel-enum.d.ts +22 -0
  136. package/dist/models/multi-channel-message-channel-enum.js +26 -0
  137. package/dist/models/multi-channel-message-data.d.ts +75 -0
  138. package/dist/models/multi-channel-message-data.js +15 -0
  139. package/dist/models/multi-channel-message-direction-enum.d.ts +21 -0
  140. package/dist/models/multi-channel-message-direction-enum.js +25 -0
  141. package/dist/models/multi-channel-message-request.d.ts +50 -0
  142. package/dist/models/multi-channel-message-request.js +15 -0
  143. package/dist/models/multi-channel-status-enum.d.ts +23 -0
  144. package/dist/models/multi-channel-status-enum.js +27 -0
  145. package/dist/models/priority-enum.d.ts +1 -1
  146. package/dist/models/priority-enum.js +1 -1
  147. package/dist/models/rbm-action-base.d.ts +37 -0
  148. package/dist/models/rbm-action-base.js +15 -0
  149. package/dist/models/rbm-action-dial.d.ts +17 -0
  150. package/dist/models/rbm-action-dial.js +15 -0
  151. package/dist/models/rbm-action-open-url.d.ts +17 -0
  152. package/dist/models/rbm-action-open-url.js +15 -0
  153. package/dist/models/rbm-action-type-enum.d.ts +25 -0
  154. package/dist/models/rbm-action-type-enum.js +29 -0
  155. package/dist/models/rbm-action-view-location.d.ts +17 -0
  156. package/dist/models/rbm-action-view-location.js +15 -0
  157. package/dist/models/rbm-card-content-media.d.ts +17 -0
  158. package/dist/models/rbm-card-content-media.js +15 -0
  159. package/dist/models/rbm-card-content.d.ts +44 -0
  160. package/dist/models/rbm-card-content.js +15 -0
  161. package/dist/models/rbm-media-height-enum.d.ts +22 -0
  162. package/dist/models/rbm-media-height-enum.js +26 -0
  163. package/dist/models/rbm-message-carousel-card.d.ts +39 -0
  164. package/dist/models/rbm-message-carousel-card.js +15 -0
  165. package/dist/models/rbm-message-content-file.d.ts +30 -0
  166. package/dist/models/rbm-message-content-file.js +15 -0
  167. package/dist/models/rbm-message-content-rich-card.d.ts +18 -0
  168. package/dist/models/rbm-message-content-rich-card.js +15 -0
  169. package/dist/models/rbm-message-content-text.d.ts +31 -0
  170. package/dist/models/rbm-message-content-text.js +15 -0
  171. package/dist/models/rbm-message-media.d.ts +32 -0
  172. package/dist/models/rbm-message-media.js +15 -0
  173. package/dist/models/rbm-standalone-card.d.ts +46 -0
  174. package/dist/models/rbm-standalone-card.js +15 -0
  175. package/dist/models/sms-message-content.d.ts +24 -0
  176. package/dist/models/sms-message-content.js +15 -0
  177. package/dist/models/standalone-card-orientation-enum.d.ts +21 -0
  178. package/dist/models/standalone-card-orientation-enum.js +25 -0
  179. package/dist/models/tfv-status-enum.d.ts +0 -2
  180. package/dist/models/tfv-status-enum.js +1 -3
  181. package/dist/models/tfv-status.d.ts +12 -0
  182. package/dist/models/tfv-submission-info.d.ts +18 -0
  183. package/dist/models/thumbnail-alignment-enum.d.ts +21 -0
  184. package/dist/models/thumbnail-alignment-enum.js +25 -0
  185. package/dist/models/verification-denial-webhook.d.ts +12 -0
  186. package/dist/models/verification-request.d.ts +18 -0
  187. package/dist/models/verification-update-request.d.ts +18 -0
  188. package/docs/AccountStatistics.md +22 -0
  189. package/docs/AdditionalDenialReason.md +24 -0
  190. package/docs/Address.md +32 -0
  191. package/docs/AnswerCallback.md +47 -0
  192. package/docs/BlockedWebhook.md +30 -0
  193. package/docs/BridgeCompleteCallback.md +51 -0
  194. package/docs/BridgeTargetCompleteCallback.md +45 -0
  195. package/docs/CallDirectionEnum.md +11 -0
  196. package/docs/CallRecordingMetadata.md +56 -0
  197. package/docs/CallState.md +54 -0
  198. package/docs/CallStateEnum.md +11 -0
  199. package/docs/CallTranscription.md +26 -0
  200. package/docs/CallTranscriptionDetectedLanguageEnum.md +13 -0
  201. package/docs/CallTranscriptionMetadata.md +24 -0
  202. package/docs/CallTranscriptionResponse.md +26 -0
  203. package/docs/CallTranscriptionTrackEnum.md +11 -0
  204. package/docs/CallbackMethodEnum.md +11 -0
  205. package/docs/CallbackTypeEnum.md +15 -0
  206. package/docs/CallsApi.md +350 -0
  207. package/docs/CardWidthEnum.md +10 -0
  208. package/docs/CodeRequest.md +30 -0
  209. package/docs/Conference.md +34 -0
  210. package/docs/ConferenceCompletedCallback.md +29 -0
  211. package/docs/ConferenceCreatedCallback.md +29 -0
  212. package/docs/ConferenceMember.md +30 -0
  213. package/docs/ConferenceMemberExitCallback.md +35 -0
  214. package/docs/ConferenceMemberJoinCallback.md +35 -0
  215. package/docs/ConferenceRecordingAvailableCallback.md +47 -0
  216. package/docs/ConferenceRecordingMetadata.md +42 -0
  217. package/docs/ConferenceRedirectCallback.md +29 -0
  218. package/docs/ConferenceStateEnum.md +11 -0
  219. package/docs/ConferencesApi.md +609 -0
  220. package/docs/Contact.md +26 -0
  221. package/docs/CreateCall.md +60 -0
  222. package/docs/CreateCallResponse.md +60 -0
  223. package/docs/CreateLookupResponse.md +23 -0
  224. package/docs/CreateMessageRequestError.md +24 -0
  225. package/docs/CreateMultiChannelMessageResponse.md +24 -0
  226. package/docs/DeferredResult.md +22 -0
  227. package/docs/DisconnectCallback.md +53 -0
  228. package/docs/Diversion.md +32 -0
  229. package/docs/DtmfCallback.md +53 -0
  230. package/docs/Error.md +24 -0
  231. package/docs/ErrorObject.md +22 -0
  232. package/docs/FailureWebhook.md +30 -0
  233. package/docs/FieldError.md +22 -0
  234. package/docs/FileFormatEnum.md +11 -0
  235. package/docs/GatherCallback.md +55 -0
  236. package/docs/InitiateCallback.md +45 -0
  237. package/docs/Link.md +22 -0
  238. package/docs/LinksObject.md +26 -0
  239. package/docs/ListMessageDirectionEnum.md +11 -0
  240. package/docs/ListMessageItem.md +52 -0
  241. package/docs/LookupRequest.md +21 -0
  242. package/docs/LookupResult.md +37 -0
  243. package/docs/LookupStatus.md +27 -0
  244. package/docs/LookupStatusEnum.md +15 -0
  245. package/docs/MFAApi.md +188 -0
  246. package/docs/MachineDetectionCompleteCallback.md +47 -0
  247. package/docs/MachineDetectionConfiguration.md +49 -0
  248. package/docs/MachineDetectionModeEnum.md +11 -0
  249. package/docs/MachineDetectionResult.md +23 -0
  250. package/docs/Media.md +24 -0
  251. package/docs/MediaApi.md +268 -0
  252. package/docs/Message.md +44 -0
  253. package/docs/MessageCallback.md +33 -0
  254. package/docs/MessageCallbackMessage.md +43 -0
  255. package/docs/MessageDirectionEnum.md +11 -0
  256. package/docs/MessageRequest.md +34 -0
  257. package/docs/MessageStatusEnum.md +23 -0
  258. package/docs/MessageTypeEnum.md +11 -0
  259. package/docs/MessagesApi.md +175 -0
  260. package/docs/MessagesList.md +24 -0
  261. package/docs/MessagingCodeResponse.md +20 -0
  262. package/docs/MessagingRequestError.md +22 -0
  263. package/docs/MfaForbiddenRequestError.md +20 -0
  264. package/docs/MfaRequestError.md +22 -0
  265. package/docs/MfaUnauthorizedRequestError.md +20 -0
  266. package/docs/MmsMessageContent.md +22 -0
  267. package/docs/MultiChannelAction.md +42 -0
  268. package/docs/MultiChannelActionCalendarEvent.md +32 -0
  269. package/docs/MultiChannelApi.md +71 -0
  270. package/docs/MultiChannelCallbackData.md +28 -0
  271. package/docs/MultiChannelChannelListObject.md +26 -0
  272. package/docs/MultiChannelChannelListObjectContent.md +35 -0
  273. package/docs/MultiChannelMessageCallbackData.md +34 -0
  274. package/docs/MultiChannelMessageChannelEnum.md +13 -0
  275. package/docs/MultiChannelMessageData.md +36 -0
  276. package/docs/MultiChannelMessageDirectionEnum.md +10 -0
  277. package/docs/MultiChannelMessageRequest.md +29 -0
  278. package/docs/MultiChannelStatusEnum.md +14 -0
  279. package/docs/OptInWorkflow.md +22 -0
  280. package/docs/PageInfo.md +26 -0
  281. package/docs/PhoneNumberLookupApi.md +130 -0
  282. package/docs/PriorityEnum.md +11 -0
  283. package/docs/RbmActionBase.md +24 -0
  284. package/docs/RbmActionDial.md +26 -0
  285. package/docs/RbmActionOpenUrl.md +26 -0
  286. package/docs/RbmActionTypeEnum.md +18 -0
  287. package/docs/RbmActionViewLocation.md +30 -0
  288. package/docs/RbmCardContent.md +26 -0
  289. package/docs/RbmCardContentMedia.md +24 -0
  290. package/docs/RbmMediaHeightEnum.md +13 -0
  291. package/docs/RbmMessageCarouselCard.md +24 -0
  292. package/docs/RbmMessageContentFile.md +22 -0
  293. package/docs/RbmMessageContentRichCard.md +30 -0
  294. package/docs/RbmMessageContentText.md +22 -0
  295. package/docs/RbmMessageMedia.md +22 -0
  296. package/docs/RbmStandaloneCard.md +26 -0
  297. package/docs/RecordingAvailableCallback.md +63 -0
  298. package/docs/RecordingCompleteCallback.md +63 -0
  299. package/docs/RecordingStateEnum.md +11 -0
  300. package/docs/RecordingTranscriptionMetadata.md +27 -0
  301. package/docs/RecordingTranscriptions.md +20 -0
  302. package/docs/RecordingsApi.md +675 -0
  303. package/docs/RedirectCallback.md +51 -0
  304. package/docs/RedirectMethodEnum.md +11 -0
  305. package/docs/SmsMessageContent.md +20 -0
  306. package/docs/StandaloneCardOrientationEnum.md +10 -0
  307. package/docs/StatisticsApi.md +67 -0
  308. package/docs/StirShaken.md +24 -0
  309. package/docs/TelephoneNumber.md +20 -0
  310. package/docs/TfvBasicAuthentication.md +22 -0
  311. package/docs/TfvCallbackStatusEnum.md +10 -0
  312. package/docs/TfvError.md +25 -0
  313. package/docs/TfvStatus.md +38 -0
  314. package/docs/TfvStatusEnum.md +12 -0
  315. package/docs/TfvSubmissionInfo.md +42 -0
  316. package/docs/TfvSubmissionWrapper.md +20 -0
  317. package/docs/ThumbnailAlignmentEnum.md +11 -0
  318. package/docs/TnLookupRequestError.md +20 -0
  319. package/docs/TollFreeVerificationApi.md +505 -0
  320. package/docs/TranscribeRecording.md +32 -0
  321. package/docs/Transcription.md +22 -0
  322. package/docs/TranscriptionAvailableCallback.md +61 -0
  323. package/docs/TranscriptionsApi.md +202 -0
  324. package/docs/TransferAnswerCallback.md +49 -0
  325. package/docs/TransferCompleteCallback.md +55 -0
  326. package/docs/TransferDisconnectCallback.md +59 -0
  327. package/docs/UpdateCall.md +38 -0
  328. package/docs/UpdateCallRecording.md +20 -0
  329. package/docs/UpdateConference.md +36 -0
  330. package/docs/UpdateConferenceMember.md +24 -0
  331. package/docs/VerificationDenialWebhook.md +38 -0
  332. package/docs/VerificationRequest.md +44 -0
  333. package/docs/VerificationUpdateRequest.md +42 -0
  334. package/docs/VerificationWebhook.md +26 -0
  335. package/docs/VerifyCodeRequest.md +26 -0
  336. package/docs/VerifyCodeResponse.md +20 -0
  337. package/docs/VoiceApiError.md +24 -0
  338. package/docs/VoiceCodeResponse.md +20 -0
  339. package/docs/WebhookSubscription.md +33 -0
  340. package/docs/WebhookSubscriptionBasicAuthentication.md +23 -0
  341. package/docs/WebhookSubscriptionRequestSchema.md +24 -0
  342. package/docs/WebhookSubscriptionTypeEnum.md +10 -0
  343. package/docs/WebhookSubscriptionsListBody.md +25 -0
  344. package/models/blocked-webhook.ts +65 -0
  345. package/models/bxml/verbs/PhoneNumber.ts +1 -0
  346. package/models/callback-type-enum.ts +4 -4
  347. package/models/card-width-enum.ts +31 -0
  348. package/models/create-multi-channel-message-response.ts +51 -0
  349. package/models/error-object.ts +36 -0
  350. package/models/index.ts +34 -1
  351. package/models/link.ts +36 -0
  352. package/models/message-callback.ts +6 -0
  353. package/models/message-request.ts +1 -1
  354. package/models/message.ts +1 -1
  355. package/models/mms-message-content.ts +36 -0
  356. package/models/multi-channel-action-calendar-event.ts +29 -0
  357. package/models/multi-channel-action.ts +41 -0
  358. package/models/multi-channel-callback-data.ts +62 -0
  359. package/models/multi-channel-channel-list-object-content.ts +54 -0
  360. package/models/multi-channel-channel-list-object.ts +56 -0
  361. package/models/multi-channel-message-callback-data.ts +83 -0
  362. package/models/multi-channel-message-channel-enum.ts +32 -0
  363. package/models/multi-channel-message-data.ts +89 -0
  364. package/models/multi-channel-message-direction-enum.ts +31 -0
  365. package/models/multi-channel-message-request.ts +62 -0
  366. package/models/multi-channel-status-enum.ts +33 -0
  367. package/models/priority-enum.ts +1 -1
  368. package/models/rbm-action-base.ts +47 -0
  369. package/models/rbm-action-dial.ts +29 -0
  370. package/models/rbm-action-open-url.ts +29 -0
  371. package/models/rbm-action-type-enum.ts +35 -0
  372. package/models/rbm-action-view-location.ts +29 -0
  373. package/models/rbm-card-content-media.ts +29 -0
  374. package/models/rbm-card-content.ts +54 -0
  375. package/models/rbm-media-height-enum.ts +32 -0
  376. package/models/rbm-message-carousel-card.ts +53 -0
  377. package/models/rbm-message-content-file.ts +36 -0
  378. package/models/rbm-message-content-rich-card.ts +44 -0
  379. package/models/rbm-message-content-text.ts +39 -0
  380. package/models/rbm-message-media.ts +42 -0
  381. package/models/rbm-standalone-card.ts +62 -0
  382. package/models/sms-message-content.ts +30 -0
  383. package/models/standalone-card-orientation-enum.ts +31 -0
  384. package/models/tfv-status-enum.ts +1 -3
  385. package/models/tfv-status.ts +12 -0
  386. package/models/tfv-submission-info.ts +18 -0
  387. package/models/thumbnail-alignment-enum.ts +31 -0
  388. package/models/verification-denial-webhook.ts +12 -0
  389. package/models/verification-request.ts +18 -0
  390. package/models/verification-update-request.ts +18 -0
  391. package/openapitools.json +1 -1
  392. package/package.json +1 -1
  393. package/tests/smoke/conferences-api.test.ts +4 -4
  394. package/tests/smoke/multi-channel-api.test.ts +44 -0
  395. package/tests/smoke/transcriptions-api.test.ts +1 -1
  396. package/tests/unit/api/multi-channel-api.test.ts +45 -0
  397. package/tests/unit/models/bxml/verbs/PhoneNumber.test.ts +3 -2
  398. package/tests/unit/models/callback-type-enum.test.ts +4 -4
  399. package/tests/unit/models/card-width-enum.test.ts +8 -0
  400. package/tests/unit/models/multi-channel-message-channel-enum.test.ts +9 -0
  401. package/tests/unit/models/multi-channel-message-direction-enum.test.ts +8 -0
  402. package/tests/unit/models/multi-channel-status-enum.test.ts +10 -0
  403. package/tests/unit/models/rbm-action-type-enum.test.ts +12 -0
  404. package/tests/unit/models/rbm-media-height-enum.test.ts +9 -0
  405. package/tests/unit/models/standalone-card-orientation-enum.test.ts +8 -0
  406. package/tests/unit/models/tfv-status-enum.test.ts +0 -2
  407. package/tests/unit/models/thumbnail-alignment-enum.test.ts +7 -0
@@ -0,0 +1,26 @@
1
+ # VerifyCodeRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **to** | **string** | The phone number to send the mfa code to. | [default to undefined]
9
+ **scope** | **string** | An optional field to denote what scope or action the mfa code is addressing. If not supplied, defaults to \"2FA\". | [optional] [default to undefined]
10
+ **expirationTimeInMinutes** | **number** | The time period, in minutes, to validate the mfa code. By setting this to 3 minutes, it will mean any code generated within the last 3 minutes are still valid. The valid range for expiration time is between 0 and 15 minutes, exclusively and inclusively, respectively. | [default to undefined]
11
+ **code** | **string** | The generated mfa code to check if valid. | [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { VerifyCodeRequest } from 'bandwidth-sdk';
17
+
18
+ const instance: VerifyCodeRequest = {
19
+ to,
20
+ scope,
21
+ expirationTimeInMinutes,
22
+ code,
23
+ };
24
+ ```
25
+
26
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,20 @@
1
+ # VerifyCodeResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **valid** | **boolean** | Whether or not the supplied code is valid. | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { VerifyCodeResponse } from 'bandwidth-sdk';
14
+
15
+ const instance: VerifyCodeResponse = {
16
+ valid,
17
+ };
18
+ ```
19
+
20
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,24 @@
1
+ # VoiceApiError
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **type** | **string** | | [optional] [default to undefined]
9
+ **description** | **string** | | [optional] [default to undefined]
10
+ **id** | **string** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { VoiceApiError } from 'bandwidth-sdk';
16
+
17
+ const instance: VoiceApiError = {
18
+ type,
19
+ description,
20
+ id,
21
+ };
22
+ ```
23
+
24
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,20 @@
1
+ # VoiceCodeResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **callId** | **string** | Programmable Voice API Call ID. | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { VoiceCodeResponse } from 'bandwidth-sdk';
14
+
15
+ const instance: VoiceCodeResponse = {
16
+ callId,
17
+ };
18
+ ```
19
+
20
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,33 @@
1
+ # WebhookSubscription
2
+
3
+ Information about a webhook that Bandwidth should send upon the completion of event customer has subscribed to.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **id** | **string** | | [optional] [default to undefined]
10
+ **accountId** | **string** | | [optional] [default to undefined]
11
+ **callbackUrl** | **string** | Callback URL to receive status updates from Bandwidth. When a webhook subscription is registered with Bandwidth under a given account ID, it will be used to send status updates for all requests submitted under that account ID. | [default to undefined]
12
+ **type** | [**WebhookSubscriptionTypeEnum**](WebhookSubscriptionTypeEnum.md) | | [optional] [default to undefined]
13
+ **basicAuthentication** | [**WebhookSubscriptionBasicAuthentication**](WebhookSubscriptionBasicAuthentication.md) | | [optional] [default to undefined]
14
+ **createdDate** | **string** | | [optional] [default to undefined]
15
+ **modifiedDate** | **string** | | [optional] [default to undefined]
16
+
17
+ ## Example
18
+
19
+ ```typescript
20
+ import { WebhookSubscription } from 'bandwidth-sdk';
21
+
22
+ const instance: WebhookSubscription = {
23
+ id,
24
+ accountId,
25
+ callbackUrl,
26
+ type,
27
+ basicAuthentication,
28
+ createdDate,
29
+ modifiedDate,
30
+ };
31
+ ```
32
+
33
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,23 @@
1
+ # WebhookSubscriptionBasicAuthentication
2
+
3
+ Basic authentication credentials are not required, but if present, both username and password must be provided.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **username** | **string** | | [default to undefined]
10
+ **password** | **string** | | [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { WebhookSubscriptionBasicAuthentication } from 'bandwidth-sdk';
16
+
17
+ const instance: WebhookSubscriptionBasicAuthentication = {
18
+ username,
19
+ password,
20
+ };
21
+ ```
22
+
23
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,24 @@
1
+ # WebhookSubscriptionRequestSchema
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **basicAuthentication** | [**TfvBasicAuthentication**](TfvBasicAuthentication.md) | | [optional] [default to undefined]
9
+ **callbackUrl** | **string** | Callback URL to receive status updates from Bandwidth. When a webhook subscription is registered with Bandwidth under a given account ID, it will be used to send status updates for all requests submitted under that account ID. | [default to undefined]
10
+ **sharedSecretKey** | **string** | An ASCII string submitted by the user as a shared secret key for generating an HMAC header for callbacks. | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { WebhookSubscriptionRequestSchema } from 'bandwidth-sdk';
16
+
17
+ const instance: WebhookSubscriptionRequestSchema = {
18
+ basicAuthentication,
19
+ callbackUrl,
20
+ sharedSecretKey,
21
+ };
22
+ ```
23
+
24
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,10 @@
1
+ # WebhookSubscriptionTypeEnum
2
+
3
+
4
+ ## Enum
5
+
6
+ * `TollfreeVerificationStatus` (value: `'TOLLFREE_VERIFICATION_STATUS'`)
7
+
8
+ * `MessagingPortoutApprovalStatus` (value: `'MESSAGING_PORTOUT_APPROVAL_STATUS'`)
9
+
10
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,25 @@
1
+ # WebhookSubscriptionsListBody
2
+
3
+ A list of all webhook subscriptions registered for this account ID for this particular feature (unpaginated).
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **links** | [**LinksObject**](LinksObject.md) | | [optional] [default to undefined]
10
+ **errors** | [**Array<ModelError>**](ModelError.md) | | [optional] [default to undefined]
11
+ **data** | [**Array<WebhookSubscription>**](WebhookSubscription.md) | | [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { WebhookSubscriptionsListBody } from 'bandwidth-sdk';
17
+
18
+ const instance: WebhookSubscriptionsListBody = {
19
+ links,
20
+ errors,
21
+ data,
22
+ };
23
+ ```
24
+
25
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,65 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Bandwidth
5
+ * Bandwidth\'s Communication APIs
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: letstalk@bandwidth.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { TfvCallbackStatusEnum } from './tfv-callback-status-enum';
19
+
20
+ /**
21
+ *
22
+ * @export
23
+ * @interface BlockedWebhook
24
+ */
25
+ export interface BlockedWebhook {
26
+ /**
27
+ * User\'s account ID.
28
+ * @type {string}
29
+ * @memberof BlockedWebhook
30
+ */
31
+ 'accountId'?: string;
32
+ /**
33
+ * Toll-free telephone number in E.164 format.
34
+ * @type {string}
35
+ * @memberof BlockedWebhook
36
+ */
37
+ 'phoneNumber'?: string;
38
+ /**
39
+ *
40
+ * @type {TfvCallbackStatusEnum}
41
+ * @memberof BlockedWebhook
42
+ */
43
+ 'status'?: TfvCallbackStatusEnum;
44
+ /**
45
+ * Unique identifier (UUID) generated by Bandwidth to assist in tracking the verification status of a toll-free number.
46
+ * @type {string}
47
+ * @memberof BlockedWebhook
48
+ */
49
+ 'internalTicketNumber'?: string;
50
+ /**
51
+ * Whether a Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked.
52
+ * @type {boolean}
53
+ * @memberof BlockedWebhook
54
+ */
55
+ 'blocked'?: boolean;
56
+ /**
57
+ * The reason why the Toll-Free Verification is blocked. This attribute will only be defined when the number is blocked.
58
+ * @type {string}
59
+ * @memberof BlockedWebhook
60
+ */
61
+ 'blockedReason'?: string;
62
+ }
63
+
64
+
65
+
@@ -12,6 +12,7 @@ export interface PhoneNumberAttributes {
12
12
  fallbackUsername?: string;
13
13
  fallbackPassword?: string;
14
14
  tag?: string;
15
+ uui?: string;
15
16
  }
16
17
 
17
18
  /**
@@ -21,10 +21,10 @@
21
21
  */
22
22
 
23
23
  export const CallbackTypeEnum = {
24
- Received: 'message-received',
25
- Sending: 'message-sending',
26
- Delivered: 'message-delivered',
27
- Failed: 'message-failed'
24
+ MessageReceived: 'message-received',
25
+ MessageSending: 'message-sending',
26
+ MessageDelivered: 'message-delivered',
27
+ MessageFailed: 'message-failed'
28
28
  } as const;
29
29
 
30
30
  export type CallbackTypeEnum = typeof CallbackTypeEnum[keyof typeof CallbackTypeEnum];
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Bandwidth
5
+ * Bandwidth\'s Communication APIs
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: letstalk@bandwidth.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+
23
+ export const CardWidthEnum = {
24
+ Small: 'SMALL',
25
+ Medium: 'MEDIUM'
26
+ } as const;
27
+
28
+ export type CardWidthEnum = typeof CardWidthEnum[keyof typeof CardWidthEnum];
29
+
30
+
31
+
@@ -0,0 +1,51 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Bandwidth
5
+ * Bandwidth\'s Communication APIs
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: letstalk@bandwidth.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { ErrorObject } from './error-object';
19
+ // May contain unused imports in some cases
20
+ // @ts-ignore
21
+ import type { Link } from './link';
22
+ // May contain unused imports in some cases
23
+ // @ts-ignore
24
+ import type { MultiChannelMessageData } from './multi-channel-message-data';
25
+
26
+ /**
27
+ *
28
+ * @export
29
+ * @interface CreateMultiChannelMessageResponse
30
+ */
31
+ export interface CreateMultiChannelMessageResponse {
32
+ /**
33
+ *
34
+ * @type {Array<Link>}
35
+ * @memberof CreateMultiChannelMessageResponse
36
+ */
37
+ 'links'?: Array<Link>;
38
+ /**
39
+ *
40
+ * @type {MultiChannelMessageData}
41
+ * @memberof CreateMultiChannelMessageResponse
42
+ */
43
+ 'data'?: MultiChannelMessageData;
44
+ /**
45
+ *
46
+ * @type {Array<ErrorObject>}
47
+ * @memberof CreateMultiChannelMessageResponse
48
+ */
49
+ 'errors'?: Array<ErrorObject>;
50
+ }
51
+
@@ -0,0 +1,36 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Bandwidth
5
+ * Bandwidth\'s Communication APIs
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: letstalk@bandwidth.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface ErrorObject
21
+ */
22
+ export interface ErrorObject {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof ErrorObject
27
+ */
28
+ 'code'?: string;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof ErrorObject
33
+ */
34
+ 'message'?: string;
35
+ }
36
+
package/models/index.ts CHANGED
@@ -2,6 +2,7 @@ export * from './account-statistics';
2
2
  export * from './additional-denial-reason';
3
3
  export * from './address';
4
4
  export * from './answer-callback';
5
+ export * from './blocked-webhook';
5
6
  export * from './bridge-complete-callback';
6
7
  export * from './bridge-target-complete-callback';
7
8
  export * from './call-direction-enum';
@@ -15,6 +16,7 @@ export * from './call-transcription-response';
15
16
  export * from './call-transcription-track-enum';
16
17
  export * from './callback-method-enum';
17
18
  export * from './callback-type-enum';
19
+ export * from './card-width-enum';
18
20
  export * from './code-request';
19
21
  export * from './conference';
20
22
  export * from './conference-completed-callback';
@@ -31,15 +33,18 @@ export * from './create-call';
31
33
  export * from './create-call-response';
32
34
  export * from './create-lookup-response';
33
35
  export * from './create-message-request-error';
36
+ export * from './create-multi-channel-message-response';
34
37
  export * from './deferred-result';
35
38
  export * from './disconnect-callback';
36
39
  export * from './diversion';
37
40
  export * from './dtmf-callback';
41
+ export * from './error-object';
38
42
  export * from './failure-webhook';
39
43
  export * from './field-error';
40
44
  export * from './file-format-enum';
41
45
  export * from './gather-callback';
42
46
  export * from './initiate-callback';
47
+ export * from './link';
43
48
  export * from './links-object';
44
49
  export * from './list-message-direction-enum';
45
50
  export * from './list-message-item';
@@ -65,10 +70,36 @@ export * from './messaging-request-error';
65
70
  export * from './mfa-forbidden-request-error';
66
71
  export * from './mfa-request-error';
67
72
  export * from './mfa-unauthorized-request-error';
73
+ export * from './mms-message-content';
68
74
  export * from './model-error';
75
+ export * from './multi-channel-action';
76
+ export * from './multi-channel-action-calendar-event';
77
+ export * from './multi-channel-callback-data';
78
+ export * from './multi-channel-channel-list-object';
79
+ export * from './multi-channel-channel-list-object-content';
80
+ export * from './multi-channel-message-callback-data';
81
+ export * from './multi-channel-message-channel-enum';
82
+ export * from './multi-channel-message-data';
83
+ export * from './multi-channel-message-direction-enum';
84
+ export * from './multi-channel-message-request';
85
+ export * from './multi-channel-status-enum';
69
86
  export * from './opt-in-workflow';
70
87
  export * from './page-info';
71
88
  export * from './priority-enum';
89
+ export * from './rbm-action-base';
90
+ export * from './rbm-action-dial';
91
+ export * from './rbm-action-open-url';
92
+ export * from './rbm-action-type-enum';
93
+ export * from './rbm-action-view-location';
94
+ export * from './rbm-card-content';
95
+ export * from './rbm-card-content-media';
96
+ export * from './rbm-media-height-enum';
97
+ export * from './rbm-message-carousel-card';
98
+ export * from './rbm-message-content-file';
99
+ export * from './rbm-message-content-rich-card';
100
+ export * from './rbm-message-content-text';
101
+ export * from './rbm-message-media';
102
+ export * from './rbm-standalone-card';
72
103
  export * from './recording-available-callback';
73
104
  export * from './recording-complete-callback';
74
105
  export * from './recording-state-enum';
@@ -76,8 +107,9 @@ export * from './recording-transcription-metadata';
76
107
  export * from './recording-transcriptions';
77
108
  export * from './redirect-callback';
78
109
  export * from './redirect-method-enum';
110
+ export * from './sms-message-content';
111
+ export * from './standalone-card-orientation-enum';
79
112
  export * from './stir-shaken';
80
- export * from './tag';
81
113
  export * from './telephone-number';
82
114
  export * from './tfv-basic-authentication';
83
115
  export * from './tfv-callback-status-enum';
@@ -86,6 +118,7 @@ export * from './tfv-status';
86
118
  export * from './tfv-status-enum';
87
119
  export * from './tfv-submission-info';
88
120
  export * from './tfv-submission-wrapper';
121
+ export * from './thumbnail-alignment-enum';
89
122
  export * from './tn-lookup-request-error';
90
123
  export * from './transcribe-recording';
91
124
  export * from './transcription';
package/models/link.ts ADDED
@@ -0,0 +1,36 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Bandwidth
5
+ * Bandwidth\'s Communication APIs
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: letstalk@bandwidth.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface Link
21
+ */
22
+ export interface Link {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof Link
27
+ */
28
+ 'rel'?: string;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof Link
33
+ */
34
+ 'href'?: string;
35
+ }
36
+
@@ -62,6 +62,12 @@ export interface MessageCallback {
62
62
  * @memberof MessageCallback
63
63
  */
64
64
  'errorCode'?: number | null;
65
+ /**
66
+ * The name of the Authorized Message Provider (AMP) that handled this message. In the US, this is the carrier that the message was sent to.
67
+ * @type {string}
68
+ * @memberof MessageCallback
69
+ */
70
+ 'carrierName'?: string | null;
65
71
  }
66
72
 
67
73
 
@@ -66,7 +66,7 @@ export interface MessageRequest {
66
66
  */
67
67
  'priority'?: PriorityEnum;
68
68
  /**
69
- * A string with the date/time value that the message will automatically expire by. This must be a valid RFC-3339 value, e.g., 2021-03-14T01:59:26Z or 2021-03-13T20:59:26-05:00. Must be a date-time in the future. Not supported on MMS.
69
+ * A string with the date/time value that the message will automatically expire by. This must be a valid RFC-3339 value, e.g., 2021-03-14T01:59:26Z or 2021-03-13T20:59:26-05:00. Must be a date-time in the future.
70
70
  * @type {string}
71
71
  * @memberof MessageRequest
72
72
  */
package/models/message.ts CHANGED
@@ -99,7 +99,7 @@ export interface Message {
99
99
  */
100
100
  'priority'?: PriorityEnum;
101
101
  /**
102
- * The expiration date-time set by the user.
102
+ * A string with the date/time value that the message will automatically expire by. This must be a valid RFC-3339 value, e.g., 2021-03-14T01:59:26Z or 2021-03-13T20:59:26-05:00. Must be a date-time in the future.
103
103
  * @type {string}
104
104
  * @memberof Message
105
105
  */
@@ -0,0 +1,36 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Bandwidth
5
+ * Bandwidth\'s Communication APIs
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: letstalk@bandwidth.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface MmsMessageContent
21
+ */
22
+ export interface MmsMessageContent {
23
+ /**
24
+ * The contents of the text message. Must be 2048 characters or less.
25
+ * @type {string}
26
+ * @memberof MmsMessageContent
27
+ */
28
+ 'text'?: string;
29
+ /**
30
+ * A list of URLs to include as media attachments as part of the message. Each URL can be at most 4096 characters.
31
+ * @type {Array<string>}
32
+ * @memberof MmsMessageContent
33
+ */
34
+ 'media'?: Array<string>;
35
+ }
36
+
@@ -0,0 +1,29 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Bandwidth
5
+ * Bandwidth\'s Communication APIs
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ * Contact: letstalk@bandwidth.com
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ // May contain unused imports in some cases
17
+ // @ts-ignore
18
+ import type { RbmActionBase } from './rbm-action-base';
19
+ // May contain unused imports in some cases
20
+ // @ts-ignore
21
+ import type { RbmActionTypeEnum } from './rbm-action-type-enum';
22
+
23
+ /**
24
+ * @type MultiChannelActionCalendarEvent
25
+ * @export
26
+ */
27
+ export type MultiChannelActionCalendarEvent = RbmActionBase;
28
+
29
+