bandwidth-sdk 8.1.3 → 8.1.5

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 (255) hide show
  1. package/.bandwidth/component.yaml +1 -0
  2. package/.github/workflows/deploy.yml +15 -11
  3. package/.github/workflows/test-pr.yml +3 -3
  4. package/.github/workflows/test-smoke.yml +13 -13
  5. package/.openapi-generator/VERSION +1 -1
  6. package/api/calls-api.ts +14 -17
  7. package/api/conferences-api.ts +31 -34
  8. package/api/endpoints-api.ts +14 -16
  9. package/api/media-api.ts +28 -29
  10. package/api/messages-api.ts +13 -14
  11. package/api/mfaapi.ts +7 -10
  12. package/api/multi-channel-api.ts +7 -8
  13. package/api/phone-number-lookup-api.ts +8 -10
  14. package/api/recordings-api.ts +37 -39
  15. package/api/statistics-api.ts +3 -3
  16. package/api/toll-free-verification-api.ts +23 -27
  17. package/api/transcriptions-api.ts +12 -12
  18. package/bandwidth.yml +161 -55
  19. package/common.ts +18 -4
  20. package/configuration.ts +1 -1
  21. package/coverage/clover.xml +948 -890
  22. package/coverage/coverage-final.json +14 -14
  23. package/coverage/lcov-report/index.html +19 -19
  24. package/coverage/lcov-report/node-sdk/api/calls-api.ts.html +25 -34
  25. package/coverage/lcov-report/node-sdk/api/conferences-api.ts.html +46 -55
  26. package/coverage/lcov-report/node-sdk/api/endpoints-api.ts.html +25 -31
  27. package/coverage/lcov-report/node-sdk/api/index.html +69 -69
  28. package/coverage/lcov-report/node-sdk/api/media-api.ts.html +38 -41
  29. package/coverage/lcov-report/node-sdk/api/messages-api.ts.html +21 -24
  30. package/coverage/lcov-report/node-sdk/api/mfaapi.ts.html +16 -25
  31. package/coverage/lcov-report/node-sdk/api/multi-channel-api.ts.html +14 -17
  32. package/coverage/lcov-report/node-sdk/api/phone-number-lookup-api.ts.html +17 -23
  33. package/coverage/lcov-report/node-sdk/api/recordings-api.ts.html +53 -59
  34. package/coverage/lcov-report/node-sdk/api/statistics-api.ts.html +9 -9
  35. package/coverage/lcov-report/node-sdk/api/toll-free-verification-api.ts.html +38 -50
  36. package/coverage/lcov-report/node-sdk/api/transcriptions-api.ts.html +20 -20
  37. package/coverage/lcov-report/node-sdk/api.ts.html +1 -1
  38. package/coverage/lcov-report/node-sdk/base.ts.html +1 -1
  39. package/coverage/lcov-report/node-sdk/common.ts.html +55 -13
  40. package/coverage/lcov-report/node-sdk/configuration.ts.html +2 -2
  41. package/coverage/lcov-report/node-sdk/index.html +15 -15
  42. package/coverage/lcov-report/node-sdk/models/business-entity-type-enum.ts.html +2 -2
  43. package/coverage/lcov-report/node-sdk/models/business-registration-type-enum.ts.html +2 -2
  44. package/coverage/lcov-report/node-sdk/models/bxml/Bxml.ts.html +1 -1
  45. package/coverage/lcov-report/node-sdk/models/bxml/NestableVerb.ts.html +1 -1
  46. package/coverage/lcov-report/node-sdk/models/bxml/Response.ts.html +1 -1
  47. package/coverage/lcov-report/node-sdk/models/bxml/Root.ts.html +1 -1
  48. package/coverage/lcov-report/node-sdk/models/bxml/Verb.ts.html +1 -1
  49. package/coverage/lcov-report/node-sdk/models/bxml/index.html +1 -1
  50. package/coverage/lcov-report/node-sdk/models/bxml/index.ts.html +1 -1
  51. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Bridge.ts.html +1 -1
  52. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Conference.ts.html +1 -1
  53. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Connect.ts.html +1 -1
  54. package/coverage/lcov-report/node-sdk/models/bxml/verbs/CustomParam.ts.html +1 -1
  55. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Endpoint.ts.html +1 -1
  56. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Forward.ts.html +1 -1
  57. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Gather.ts.html +1 -1
  58. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Hangup.ts.html +1 -1
  59. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Pause.ts.html +1 -1
  60. package/coverage/lcov-report/node-sdk/models/bxml/verbs/PauseRecording.ts.html +1 -1
  61. package/coverage/lcov-report/node-sdk/models/bxml/verbs/PhoneNumber.ts.html +1 -1
  62. package/coverage/lcov-report/node-sdk/models/bxml/verbs/PlayAudio.ts.html +1 -1
  63. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Record.ts.html +1 -1
  64. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Redirect.ts.html +1 -1
  65. package/coverage/lcov-report/node-sdk/models/bxml/verbs/ResumeRecording.ts.html +1 -1
  66. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Ring.ts.html +1 -1
  67. package/coverage/lcov-report/node-sdk/models/bxml/verbs/SendDtmf.ts.html +1 -1
  68. package/coverage/lcov-report/node-sdk/models/bxml/verbs/SipUri.ts.html +1 -1
  69. package/coverage/lcov-report/node-sdk/models/bxml/verbs/SpeakSentence.ts.html +1 -1
  70. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartGather.ts.html +1 -1
  71. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartRecording.ts.html +1 -1
  72. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartStream.ts.html +1 -1
  73. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartTranscription.ts.html +1 -1
  74. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopGather.ts.html +1 -1
  75. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopRecording.ts.html +1 -1
  76. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopStream.ts.html +1 -1
  77. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopTranscription.ts.html +1 -1
  78. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StreamParam.ts.html +1 -1
  79. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Tag.ts.html +1 -1
  80. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Transfer.ts.html +1 -1
  81. package/coverage/lcov-report/node-sdk/models/bxml/verbs/index.html +1 -1
  82. package/coverage/lcov-report/node-sdk/models/bxml/verbs/index.ts.html +1 -1
  83. package/coverage/lcov-report/node-sdk/models/call-direction-enum.ts.html +2 -2
  84. package/coverage/lcov-report/node-sdk/models/call-state-enum.ts.html +2 -2
  85. package/coverage/lcov-report/node-sdk/models/call-transcription-detected-language-enum.ts.html +2 -2
  86. package/coverage/lcov-report/node-sdk/models/call-transcription-track-enum.ts.html +2 -2
  87. package/coverage/lcov-report/node-sdk/models/callback-method-enum.ts.html +2 -2
  88. package/coverage/lcov-report/node-sdk/models/card-width-enum.ts.html +2 -2
  89. package/coverage/lcov-report/node-sdk/models/completed-lookup-status-enum.ts.html +2 -2
  90. package/coverage/lcov-report/node-sdk/models/conference-state-enum.ts.html +2 -2
  91. package/coverage/lcov-report/node-sdk/models/deactivation-event-enum.ts.html +2 -2
  92. package/coverage/lcov-report/node-sdk/models/device-status-enum.ts.html +2 -2
  93. package/coverage/lcov-report/node-sdk/models/endpoint-direction-enum.ts.html +2 -2
  94. package/coverage/lcov-report/node-sdk/models/endpoint-event-type-enum.ts.html +2 -2
  95. package/coverage/lcov-report/node-sdk/models/endpoint-status-enum.ts.html +2 -2
  96. package/coverage/lcov-report/node-sdk/models/endpoint-type-enum.ts.html +2 -2
  97. package/coverage/lcov-report/node-sdk/models/file-format-enum.ts.html +2 -2
  98. package/coverage/lcov-report/node-sdk/models/in-progress-lookup-status-enum.ts.html +2 -2
  99. package/coverage/lcov-report/node-sdk/models/inbound-callback-type-enum.ts.html +2 -2
  100. package/coverage/lcov-report/node-sdk/models/index.html +1 -1
  101. package/coverage/lcov-report/node-sdk/models/index.ts.html +1 -1
  102. package/coverage/lcov-report/node-sdk/models/latest-message-delivery-status-enum.ts.html +2 -2
  103. package/coverage/lcov-report/node-sdk/models/line-type-enum.ts.html +2 -2
  104. package/coverage/lcov-report/node-sdk/models/list-message-direction-enum.ts.html +2 -2
  105. package/coverage/lcov-report/node-sdk/models/machine-detection-mode-enum.ts.html +2 -2
  106. package/coverage/lcov-report/node-sdk/models/message-direction-enum.ts.html +2 -2
  107. package/coverage/lcov-report/node-sdk/models/message-status-enum.ts.html +2 -2
  108. package/coverage/lcov-report/node-sdk/models/message-type-enum.ts.html +2 -2
  109. package/coverage/lcov-report/node-sdk/models/multi-channel-message-channel-enum.ts.html +2 -2
  110. package/coverage/lcov-report/node-sdk/models/priority-enum.ts.html +2 -2
  111. package/coverage/lcov-report/node-sdk/models/product-type-enum.ts.html +2 -2
  112. package/coverage/lcov-report/node-sdk/models/rbm-action-type-enum.ts.html +2 -2
  113. package/coverage/lcov-report/node-sdk/models/rbm-media-height-enum.ts.html +2 -2
  114. package/coverage/lcov-report/node-sdk/models/rbm-open-url-enum.ts.html +2 -2
  115. package/coverage/lcov-report/node-sdk/models/rbm-web-view-enum.ts.html +2 -2
  116. package/coverage/lcov-report/node-sdk/models/recording-state-enum.ts.html +2 -2
  117. package/coverage/lcov-report/node-sdk/models/redirect-method-enum.ts.html +2 -2
  118. package/coverage/lcov-report/node-sdk/models/standalone-card-orientation-enum.ts.html +2 -2
  119. package/coverage/lcov-report/node-sdk/models/status-callback-type-enum.ts.html +7 -4
  120. package/coverage/lcov-report/node-sdk/models/tfv-callback-status-enum.ts.html +2 -2
  121. package/coverage/lcov-report/node-sdk/models/tfv-status-enum.ts.html +2 -2
  122. package/coverage/lcov-report/node-sdk/models/thumbnail-alignment-enum.ts.html +2 -2
  123. package/coverage/lcov-report/node-sdk/models/webhook-subscription-type-enum.ts.html +2 -2
  124. package/coverage/lcov.info +2413 -2353
  125. package/custom_templates/common.mustache +18 -4
  126. package/custom_templates/package.mustache +1 -1
  127. package/dist/api/calls-api.d.ts +5 -5
  128. package/dist/api/calls-api.js +13 -8
  129. package/dist/api/conferences-api.d.ts +9 -9
  130. package/dist/api/conferences-api.js +30 -21
  131. package/dist/api/endpoints-api.d.ts +5 -5
  132. package/dist/api/endpoints-api.js +13 -8
  133. package/dist/api/media-api.d.ts +20 -20
  134. package/dist/api/media-api.js +27 -23
  135. package/dist/api/messages-api.d.ts +10 -10
  136. package/dist/api/messages-api.js +12 -10
  137. package/dist/api/mfaapi.d.ts +3 -3
  138. package/dist/api/mfaapi.js +6 -3
  139. package/dist/api/multi-channel-api.d.ts +5 -5
  140. package/dist/api/multi-channel-api.js +6 -5
  141. package/dist/api/phone-number-lookup-api.d.ts +3 -3
  142. package/dist/api/phone-number-lookup-api.js +7 -4
  143. package/dist/api/recordings-api.d.ts +10 -10
  144. package/dist/api/recordings-api.js +36 -26
  145. package/dist/api/statistics-api.d.ts +1 -1
  146. package/dist/api/statistics-api.js +2 -1
  147. package/dist/api/toll-free-verification-api.d.ts +9 -9
  148. package/dist/api/toll-free-verification-api.js +22 -13
  149. package/dist/api/transcriptions-api.d.ts +3 -3
  150. package/dist/api/transcriptions-api.js +11 -8
  151. package/dist/common.d.ts +6 -0
  152. package/dist/common.js +18 -3
  153. package/dist/configuration.js +1 -1
  154. package/dist/models/answer-callback.d.ts +4 -0
  155. package/dist/models/business-entity-type-enum.js +1 -1
  156. package/dist/models/business-registration-type-enum.js +1 -1
  157. package/dist/models/call-direction-enum.js +1 -1
  158. package/dist/models/call-state-enum.js +1 -1
  159. package/dist/models/call-transcription-detected-language-enum.js +1 -1
  160. package/dist/models/call-transcription-track-enum.js +1 -1
  161. package/dist/models/callback-method-enum.js +1 -1
  162. package/dist/models/card-width-enum.js +1 -1
  163. package/dist/models/completed-lookup-status-enum.js +1 -1
  164. package/dist/models/conference-state-enum.js +1 -1
  165. package/dist/models/deactivation-event-enum.js +1 -1
  166. package/dist/models/device-status-enum.js +1 -1
  167. package/dist/models/disconnect-callback.d.ts +8 -0
  168. package/dist/models/endpoint-direction-enum.js +1 -1
  169. package/dist/models/endpoint-event-type-enum.js +1 -1
  170. package/dist/models/endpoint-status-enum.js +1 -1
  171. package/dist/models/endpoint-type-enum.js +1 -1
  172. package/dist/models/file-format-enum.js +1 -1
  173. package/dist/models/in-progress-lookup-status-enum.js +1 -1
  174. package/dist/models/inbound-callback-type-enum.js +1 -1
  175. package/dist/models/initiate-callback.d.ts +10 -0
  176. package/dist/models/latest-message-delivery-status-enum.js +1 -1
  177. package/dist/models/line-type-enum.js +1 -1
  178. package/dist/models/list-message-direction-enum.js +1 -1
  179. package/dist/models/machine-detection-mode-enum.js +1 -1
  180. package/dist/models/message-direction-enum.js +1 -1
  181. package/dist/models/message-status-enum.js +1 -1
  182. package/dist/models/message-type-enum.js +1 -1
  183. package/dist/models/multi-channel-message-channel-enum.js +1 -1
  184. package/dist/models/priority-enum.js +1 -1
  185. package/dist/models/product-type-enum.js +1 -1
  186. package/dist/models/rbm-action-type-enum.js +1 -1
  187. package/dist/models/rbm-media-height-enum.js +1 -1
  188. package/dist/models/rbm-open-url-enum.js +1 -1
  189. package/dist/models/rbm-web-view-enum.js +1 -1
  190. package/dist/models/recording-state-enum.js +1 -1
  191. package/dist/models/redirect-method-enum.js +1 -1
  192. package/dist/models/standalone-card-orientation-enum.js +1 -1
  193. package/dist/models/status-callback-type-enum.d.ts +2 -1
  194. package/dist/models/status-callback-type-enum.js +3 -2
  195. package/dist/models/tfv-callback-status-enum.js +1 -1
  196. package/dist/models/tfv-status-enum.js +1 -1
  197. package/dist/models/thumbnail-alignment-enum.js +1 -1
  198. package/dist/models/webhook-subscription-type-enum.js +1 -1
  199. package/docs/AnswerCallback.md +2 -0
  200. package/docs/DisconnectCallback.md +4 -0
  201. package/docs/InitiateCallback.md +4 -0
  202. package/docs/MediaApi.md +8 -8
  203. package/docs/MessagesApi.md +4 -4
  204. package/docs/MultiChannelApi.md +2 -2
  205. package/docs/StatusCallbackTypeEnum.md +3 -1
  206. package/models/answer-callback.ts +4 -0
  207. package/models/business-entity-type-enum.ts +1 -1
  208. package/models/business-registration-type-enum.ts +1 -1
  209. package/models/call-direction-enum.ts +1 -1
  210. package/models/call-state-enum.ts +1 -1
  211. package/models/call-transcription-detected-language-enum.ts +1 -1
  212. package/models/call-transcription-track-enum.ts +1 -1
  213. package/models/callback-method-enum.ts +1 -1
  214. package/models/card-width-enum.ts +1 -1
  215. package/models/completed-lookup-status-enum.ts +1 -1
  216. package/models/conference-state-enum.ts +1 -1
  217. package/models/deactivation-event-enum.ts +1 -1
  218. package/models/device-status-enum.ts +1 -1
  219. package/models/disconnect-callback.ts +8 -0
  220. package/models/endpoint-direction-enum.ts +1 -1
  221. package/models/endpoint-event-type-enum.ts +1 -1
  222. package/models/endpoint-status-enum.ts +1 -1
  223. package/models/endpoint-type-enum.ts +1 -1
  224. package/models/file-format-enum.ts +1 -1
  225. package/models/in-progress-lookup-status-enum.ts +1 -1
  226. package/models/inbound-callback-type-enum.ts +1 -1
  227. package/models/initiate-callback.ts +8 -0
  228. package/models/latest-message-delivery-status-enum.ts +1 -1
  229. package/models/line-type-enum.ts +1 -1
  230. package/models/list-message-direction-enum.ts +1 -1
  231. package/models/machine-detection-mode-enum.ts +1 -1
  232. package/models/message-direction-enum.ts +1 -1
  233. package/models/message-status-enum.ts +1 -1
  234. package/models/message-type-enum.ts +1 -1
  235. package/models/multi-channel-message-channel-enum.ts +1 -1
  236. package/models/priority-enum.ts +1 -1
  237. package/models/product-type-enum.ts +1 -1
  238. package/models/rbm-action-type-enum.ts +1 -1
  239. package/models/rbm-media-height-enum.ts +1 -1
  240. package/models/rbm-open-url-enum.ts +1 -1
  241. package/models/rbm-web-view-enum.ts +1 -1
  242. package/models/recording-state-enum.ts +1 -1
  243. package/models/redirect-method-enum.ts +1 -1
  244. package/models/standalone-card-orientation-enum.ts +1 -1
  245. package/models/status-callback-type-enum.ts +3 -2
  246. package/models/tfv-callback-status-enum.ts +1 -1
  247. package/models/tfv-status-enum.ts +1 -1
  248. package/models/thumbnail-alignment-enum.ts +1 -1
  249. package/models/webhook-subscription-type-enum.ts +1 -1
  250. package/openapitools.json +1 -1
  251. package/package.json +2 -2
  252. package/tests/unit/models/answer-callback.test.ts +2 -0
  253. package/tests/unit/models/disconnect-callback.test.ts +4 -0
  254. package/tests/unit/models/initiate-callback.test.ts +4 -0
  255. package/tests/unit/models/status-callback-type-enum.test.ts +2 -0
@@ -23,9 +23,9 @@
23
23
  <div class='clearfix'>
24
24
 
25
25
  <div class='fl pad1y space-right2'>
26
- <span class="strong">90.64% </span>
26
+ <span class="strong">90.9% </span>
27
27
  <span class="quiet">Statements</span>
28
- <span class='fraction'>126/139</span>
28
+ <span class='fraction'>130/143</span>
29
29
  </div>
30
30
 
31
31
 
@@ -44,9 +44,9 @@
44
44
 
45
45
 
46
46
  <div class='fl pad1y space-right2'>
47
- <span class="strong">92.03% </span>
47
+ <span class="strong">92.3% </span>
48
48
  <span class="quiet">Lines</span>
49
- <span class='fraction'>104/113</span>
49
+ <span class='fraction'>108/117</span>
50
50
  </div>
51
51
 
52
52
 
@@ -475,8 +475,7 @@
475
475
  <a name='L410'></a><a href='#L410'>410</a>
476
476
  <a name='L411'></a><a href='#L411'>411</a>
477
477
  <a name='L412'></a><a href='#L412'>412</a>
478
- <a name='L413'></a><a href='#L413'>413</a>
479
- <a name='L414'></a><a href='#L414'>414</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
478
+ <a name='L413'></a><a href='#L413'>413</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
480
479
  <span class="cline-any cline-neutral">&nbsp;</span>
481
480
  <span class="cline-any cline-neutral">&nbsp;</span>
482
481
  <span class="cline-any cline-neutral">&nbsp;</span>
@@ -543,7 +542,7 @@
543
542
  <span class="cline-any cline-neutral">&nbsp;</span>
544
543
  <span class="cline-any cline-yes">2x</span>
545
544
  <span class="cline-any cline-neutral">&nbsp;</span>
546
- <span class="cline-any cline-neutral">&nbsp;</span>
545
+ <span class="cline-any cline-yes">1x</span>
547
546
  <span class="cline-any cline-neutral">&nbsp;</span>
548
547
  <span class="cline-any cline-yes">1x</span>
549
548
  <span class="cline-any cline-yes">1x</span>
@@ -589,7 +588,7 @@
589
588
  <span class="cline-any cline-neutral">&nbsp;</span>
590
589
  <span class="cline-any cline-yes">2x</span>
591
590
  <span class="cline-any cline-neutral">&nbsp;</span>
592
- <span class="cline-any cline-neutral">&nbsp;</span>
591
+ <span class="cline-any cline-yes">1x</span>
593
592
  <span class="cline-any cline-neutral">&nbsp;</span>
594
593
  <span class="cline-any cline-yes">1x</span>
595
594
  <span class="cline-any cline-yes">1x</span>
@@ -632,7 +631,7 @@
632
631
  <span class="cline-any cline-neutral">&nbsp;</span>
633
632
  <span class="cline-any cline-yes">2x</span>
634
633
  <span class="cline-any cline-neutral">&nbsp;</span>
635
- <span class="cline-any cline-neutral">&nbsp;</span>
634
+ <span class="cline-any cline-yes">1x</span>
636
635
  <span class="cline-any cline-neutral">&nbsp;</span>
637
636
  <span class="cline-any cline-yes">1x</span>
638
637
  <span class="cline-any cline-no">&nbsp;</span>
@@ -686,8 +685,7 @@
686
685
  <span class="cline-any cline-neutral">&nbsp;</span>
687
686
  <span class="cline-any cline-yes">2x</span>
688
687
  <span class="cline-any cline-neutral">&nbsp;</span>
689
- <span class="cline-any cline-neutral">&nbsp;</span>
690
- <span class="cline-any cline-neutral">&nbsp;</span>
688
+ <span class="cline-any cline-yes">1x</span>
691
689
  <span class="cline-any cline-yes">1x</span>
692
690
  <span class="cline-any cline-neutral">&nbsp;</span>
693
691
  <span class="cline-any cline-yes">1x</span>
@@ -909,7 +907,7 @@ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
909
907
  import globalAxios from 'axios';
910
908
  // Some imports not used depending on template conditions
911
909
  // @ts-ignore
912
- import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
910
+ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction, replaceWithSerializableTypeIfNeeded } from '../common';
913
911
  // @ts-ignore
914
912
  import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
915
913
  // @ts-ignore
@@ -924,7 +922,7 @@ export const MediaApiAxiosParamCreator = function (configuration?: Configuration
924
922
  /**
925
923
  * Deletes a media file from Bandwidth API server. Make sure you don\'t have any application scripts still using the media before you delete. If you accidentally delete a media file you can immediately upload a new file with the same name.
926
924
  * @summary Delete Media
927
- * @param {string} accountId Your Bandwidth Account ID.
925
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&amp;#x60;u-be8dvafwrs63rwpm7pfil4b&amp;#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
928
926
  * @param {string} mediaId Media ID to retrieve.
929
927
  * @param {*} [options] Override http request option.
930
928
  * @throws {RequiredError}
@@ -935,8 +933,8 @@ export const MediaApiAxiosParamCreator = function (configuration?: Configuration
935
933
  // verify required parameter 'mediaId' is not null or undefined
936
934
  assertParamExists('deleteMedia', 'mediaId', mediaId)
937
935
  const localVarPath = `/users/{accountId}/media/{mediaId}`
938
- .replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)))
939
- .replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
936
+ .replace('{accountId}', encodeURIComponent(String(accountId)))
937
+ .replace('{mediaId}', encodeURIComponent(String(mediaId)));
940
938
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
941
939
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
942
940
  let baseOptions;
@@ -956,8 +954,8 @@ export const MediaApiAxiosParamCreator = function (configuration?: Configuration
956
954
  // oauth required
957
955
  await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
958
956
  &nbsp;
957
+ localVarHeaderParameter['Accept'] = 'application/json';
959
958
  &nbsp;
960
-
961
959
  setSearchParams(localVarUrlObj, localVarQueryParameter);
962
960
  let headersFromBaseOptions = baseOptions &amp;&amp; baseOptions.headers ? baseOptions.headers : <span class="branch-1 cbranch-no" title="branch not covered" >{};</span>
963
961
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -970,7 +968,7 @@ export const MediaApiAxiosParamCreator = function (configuration?: Configuration
970
968
  /**
971
969
  * Downloads a media file you previously uploaded.
972
970
  * @summary Get Media
973
- * @param {string} accountId Your Bandwidth Account ID.
971
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&amp;#x60;u-be8dvafwrs63rwpm7pfil4b&amp;#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
974
972
  * @param {string} mediaId Media ID to retrieve.
975
973
  * @param {*} [options] Override http request option.
976
974
  * @throws {RequiredError}
@@ -981,8 +979,8 @@ export const MediaApiAxiosParamCreator = function (configuration?: Configuration
981
979
  // verify required parameter 'mediaId' is not null or undefined
982
980
  assertParamExists('getMedia', 'mediaId', mediaId)
983
981
  const localVarPath = `/users/{accountId}/media/{mediaId}`
984
- .replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)))
985
- .replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
982
+ .replace('{accountId}', encodeURIComponent(String(accountId)))
983
+ .replace('{mediaId}', encodeURIComponent(String(mediaId)));
986
984
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
987
985
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
988
986
  let baseOptions;
@@ -1002,8 +1000,8 @@ export const MediaApiAxiosParamCreator = function (configuration?: Configuration
1002
1000
  // oauth required
1003
1001
  await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
1004
1002
  &nbsp;
1003
+ localVarHeaderParameter['Accept'] = 'application/octet-stream,application/json';
1005
1004
  &nbsp;
1006
-
1007
1005
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1008
1006
  let headersFromBaseOptions = baseOptions &amp;&amp; baseOptions.headers ? baseOptions.headers : <span class="branch-1 cbranch-no" title="branch not covered" >{};</span>
1009
1007
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -1016,7 +1014,7 @@ export const MediaApiAxiosParamCreator = function (configuration?: Configuration
1016
1014
  /**
1017
1015
  * Gets a list of your media files. No query parameters are supported.
1018
1016
  * @summary List Media
1019
- * @param {string} accountId Your Bandwidth Account ID.
1017
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&amp;#x60;u-be8dvafwrs63rwpm7pfil4b&amp;#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
1020
1018
  * @param {string} [continuationToken] Continuation token used to retrieve subsequent media.
1021
1019
  * @param {*} [options] Override http request option.
1022
1020
  * @throws {RequiredError}
@@ -1025,7 +1023,7 @@ export const MediaApiAxiosParamCreator = function (configuration?: Configuration
1025
1023
  // verify required parameter 'accountId' is not null or undefined
1026
1024
  assertParamExists('listMedia', 'accountId', accountId)
1027
1025
  const localVarPath = `/users/{accountId}/media`
1028
- .replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)));
1026
+ .replace('{accountId}', encodeURIComponent(String(accountId)));
1029
1027
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1030
1028
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1031
1029
  let baseOptions;
@@ -1045,8 +1043,8 @@ export const MediaApiAxiosParamCreator = function (configuration?: Configuration
1045
1043
  // oauth required
1046
1044
  await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
1047
1045
  &nbsp;
1046
+ localVarHeaderParameter['Accept'] = 'application/json';
1048
1047
  &nbsp;
1049
-
1050
1048
  <span class="missing-if-branch" title="if path not taken" >I</span>if (continuationToken != null) {
1051
1049
  <span class="cstat-no" title="statement not covered" > localVarHeaderParameter['Continuation-Token'] = String(continuationToken);</span>
1052
1050
  }
@@ -1062,7 +1060,7 @@ export const MediaApiAxiosParamCreator = function (configuration?: Configuration
1062
1060
  /**
1063
1061
  * Upload a file. You may add headers to the request in order to provide some control to your media file. If a file is uploaded with the same name as a file that already exists under this account, the previous file will be overwritten. A list of supported media types can be found at [Bandwidth Support](https://www.bandwidth.com/support/en/articles/12823220-what-mms-file-types-are-supported).
1064
1062
  * @summary Upload Media
1065
- * @param {string} accountId Your Bandwidth Account ID.
1063
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&amp;#x60;u-be8dvafwrs63rwpm7pfil4b&amp;#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
1066
1064
  * @param {string} mediaId Media ID to retrieve.
1067
1065
  * @param {File} body
1068
1066
  * @param {string} [contentType] The media type of the entity-body.
@@ -1078,8 +1076,8 @@ export const MediaApiAxiosParamCreator = function (configuration?: Configuration
1078
1076
  // verify required parameter 'body' is not null or undefined
1079
1077
  assertParamExists('uploadMedia', 'body', body)
1080
1078
  const localVarPath = `/users/{accountId}/media/{mediaId}`
1081
- .replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)))
1082
- .replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
1079
+ .replace('{accountId}', encodeURIComponent(String(accountId)))
1080
+ .replace('{mediaId}', encodeURIComponent(String(mediaId)));
1083
1081
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1084
1082
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1085
1083
  let baseOptions;
@@ -1099,9 +1097,8 @@ export const MediaApiAxiosParamCreator = function (configuration?: Configuration
1099
1097
  // oauth required
1100
1098
  await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
1101
1099
  &nbsp;
1102
- &nbsp;
1103
-
1104
1100
  localVarHeaderParameter['Content-Type'] = 'application/json';
1101
+ localVarHeaderParameter['Accept'] = 'application/json';
1105
1102
  &nbsp;
1106
1103
  <span class="missing-if-branch" title="if path not taken" >I</span>if (contentType != null) {
1107
1104
  <span class="cstat-no" title="statement not covered" > localVarHeaderParameter['Content-Type'] = String(contentType);</span>
@@ -1131,7 +1128,7 @@ export const MediaApiFp = function(configuration?: Configuration) {
1131
1128
  /**
1132
1129
  * Deletes a media file from Bandwidth API server. Make sure you don\'t have any application scripts still using the media before you delete. If you accidentally delete a media file you can immediately upload a new file with the same name.
1133
1130
  * @summary Delete Media
1134
- * @param {string} accountId Your Bandwidth Account ID.
1131
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&amp;#x60;u-be8dvafwrs63rwpm7pfil4b&amp;#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
1135
1132
  * @param {string} mediaId Media ID to retrieve.
1136
1133
  * @param {*} [options] Override http request option.
1137
1134
  * @throws {RequiredError}
@@ -1145,7 +1142,7 @@ export const MediaApiFp = function(configuration?: Configuration) {
1145
1142
  /**
1146
1143
  * Downloads a media file you previously uploaded.
1147
1144
  * @summary Get Media
1148
- * @param {string} accountId Your Bandwidth Account ID.
1145
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&amp;#x60;u-be8dvafwrs63rwpm7pfil4b&amp;#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
1149
1146
  * @param {string} mediaId Media ID to retrieve.
1150
1147
  * @param {*} [options] Override http request option.
1151
1148
  * @throws {RequiredError}
@@ -1159,7 +1156,7 @@ export const MediaApiFp = function(configuration?: Configuration) {
1159
1156
  /**
1160
1157
  * Gets a list of your media files. No query parameters are supported.
1161
1158
  * @summary List Media
1162
- * @param {string} accountId Your Bandwidth Account ID.
1159
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&amp;#x60;u-be8dvafwrs63rwpm7pfil4b&amp;#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
1163
1160
  * @param {string} [continuationToken] Continuation token used to retrieve subsequent media.
1164
1161
  * @param {*} [options] Override http request option.
1165
1162
  * @throws {RequiredError}
@@ -1173,7 +1170,7 @@ export const MediaApiFp = function(configuration?: Configuration) {
1173
1170
  /**
1174
1171
  * Upload a file. You may add headers to the request in order to provide some control to your media file. If a file is uploaded with the same name as a file that already exists under this account, the previous file will be overwritten. A list of supported media types can be found at [Bandwidth Support](https://www.bandwidth.com/support/en/articles/12823220-what-mms-file-types-are-supported).
1175
1172
  * @summary Upload Media
1176
- * @param {string} accountId Your Bandwidth Account ID.
1173
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&amp;#x60;u-be8dvafwrs63rwpm7pfil4b&amp;#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
1177
1174
  * @param {string} mediaId Media ID to retrieve.
1178
1175
  * @param {File} body
1179
1176
  * @param {string} [contentType] The media type of the entity-body.
@@ -1199,7 +1196,7 @@ export const MediaApiFactory = <span class="fstat-no" title="function not covere
1199
1196
  /**
1200
1197
  * Deletes a media file from Bandwidth API server. Make sure you don\'t have any application scripts still using the media before you delete. If you accidentally delete a media file you can immediately upload a new file with the same name.
1201
1198
  * @summary Delete Media
1202
- * @param {string} accountId Your Bandwidth Account ID.
1199
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&amp;#x60;u-be8dvafwrs63rwpm7pfil4b&amp;#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
1203
1200
  * @param {string} mediaId Media ID to retrieve.
1204
1201
  * @param {*} [options] Override http request option.
1205
1202
  * @throws {RequiredError}
@@ -1210,7 +1207,7 @@ export const MediaApiFactory = <span class="fstat-no" title="function not covere
1210
1207
  /**
1211
1208
  * Downloads a media file you previously uploaded.
1212
1209
  * @summary Get Media
1213
- * @param {string} accountId Your Bandwidth Account ID.
1210
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&amp;#x60;u-be8dvafwrs63rwpm7pfil4b&amp;#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
1214
1211
  * @param {string} mediaId Media ID to retrieve.
1215
1212
  * @param {*} [options] Override http request option.
1216
1213
  * @throws {RequiredError}
@@ -1221,7 +1218,7 @@ export const MediaApiFactory = <span class="fstat-no" title="function not covere
1221
1218
  /**
1222
1219
  * Gets a list of your media files. No query parameters are supported.
1223
1220
  * @summary List Media
1224
- * @param {string} accountId Your Bandwidth Account ID.
1221
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&amp;#x60;u-be8dvafwrs63rwpm7pfil4b&amp;#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
1225
1222
  * @param {string} [continuationToken] Continuation token used to retrieve subsequent media.
1226
1223
  * @param {*} [options] Override http request option.
1227
1224
  * @throws {RequiredError}
@@ -1232,7 +1229,7 @@ export const MediaApiFactory = <span class="fstat-no" title="function not covere
1232
1229
  /**
1233
1230
  * Upload a file. You may add headers to the request in order to provide some control to your media file. If a file is uploaded with the same name as a file that already exists under this account, the previous file will be overwritten. A list of supported media types can be found at [Bandwidth Support](https://www.bandwidth.com/support/en/articles/12823220-what-mms-file-types-are-supported).
1234
1231
  * @summary Upload Media
1235
- * @param {string} accountId Your Bandwidth Account ID.
1232
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&amp;#x60;u-be8dvafwrs63rwpm7pfil4b&amp;#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
1236
1233
  * @param {string} mediaId Media ID to retrieve.
1237
1234
  * @param {File} body
1238
1235
  * @param {string} [contentType] The media type of the entity-body.
@@ -1253,7 +1250,7 @@ export class MediaApi extends BaseAPI {
1253
1250
  /**
1254
1251
  * Deletes a media file from Bandwidth API server. Make sure you don\'t have any application scripts still using the media before you delete. If you accidentally delete a media file you can immediately upload a new file with the same name.
1255
1252
  * @summary Delete Media
1256
- * @param {string} accountId Your Bandwidth Account ID.
1253
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&amp;#x60;u-be8dvafwrs63rwpm7pfil4b&amp;#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
1257
1254
  * @param {string} mediaId Media ID to retrieve.
1258
1255
  * @param {*} [options] Override http request option.
1259
1256
  * @throws {RequiredError}
@@ -1265,7 +1262,7 @@ export class MediaApi extends BaseAPI {
1265
1262
  /**
1266
1263
  * Downloads a media file you previously uploaded.
1267
1264
  * @summary Get Media
1268
- * @param {string} accountId Your Bandwidth Account ID.
1265
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&amp;#x60;u-be8dvafwrs63rwpm7pfil4b&amp;#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
1269
1266
  * @param {string} mediaId Media ID to retrieve.
1270
1267
  * @param {*} [options] Override http request option.
1271
1268
  * @throws {RequiredError}
@@ -1277,7 +1274,7 @@ export class MediaApi extends BaseAPI {
1277
1274
  /**
1278
1275
  * Gets a list of your media files. No query parameters are supported.
1279
1276
  * @summary List Media
1280
- * @param {string} accountId Your Bandwidth Account ID.
1277
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&amp;#x60;u-be8dvafwrs63rwpm7pfil4b&amp;#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
1281
1278
  * @param {string} [continuationToken] Continuation token used to retrieve subsequent media.
1282
1279
  * @param {*} [options] Override http request option.
1283
1280
  * @throws {RequiredError}
@@ -1289,7 +1286,7 @@ export class MediaApi extends BaseAPI {
1289
1286
  /**
1290
1287
  * Upload a file. You may add headers to the request in order to provide some control to your media file. If a file is uploaded with the same name as a file that already exists under this account, the previous file will be overwritten. A list of supported media types can be found at [Bandwidth Support](https://www.bandwidth.com/support/en/articles/12823220-what-mms-file-types-are-supported).
1291
1288
  * @summary Upload Media
1292
- * @param {string} accountId Your Bandwidth Account ID.
1289
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&amp;#x60;u-be8dvafwrs63rwpm7pfil4b&amp;#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
1293
1290
  * @param {string} mediaId Media ID to retrieve.
1294
1291
  * @param {File} body
1295
1292
  * @param {string} [contentType] The media type of the entity-body.
@@ -1309,7 +1306,7 @@ export class MediaApi extends BaseAPI {
1309
1306
  <div class='footer quiet pad2 space-top1 center small'>
1310
1307
  Code coverage generated by
1311
1308
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
1312
- at 2026-06-23T19:47:23.453Z
1309
+ at 2026-08-04T21:12:06.876Z
1313
1310
  </div>
1314
1311
  <script src="../../prettify.js"></script>
1315
1312
  <script>
@@ -23,9 +23,9 @@
23
23
  <div class='clearfix'>
24
24
 
25
25
  <div class='fl pad1y space-right2'>
26
- <span class="strong">74.61% </span>
26
+ <span class="strong">75% </span>
27
27
  <span class="quiet">Statements</span>
28
- <span class='fraction'>97/130</span>
28
+ <span class='fraction'>99/132</span>
29
29
  </div>
30
30
 
31
31
 
@@ -44,9 +44,9 @@
44
44
 
45
45
 
46
46
  <div class='fl pad1y space-right2'>
47
- <span class="strong">72.8% </span>
47
+ <span class="strong">73.27% </span>
48
48
  <span class="quiet">Lines</span>
49
- <span class='fraction'>83/114</span>
49
+ <span class='fraction'>85/116</span>
50
50
  </div>
51
51
 
52
52
 
@@ -511,8 +511,7 @@
511
511
  <a name='L446'></a><a href='#L446'>446</a>
512
512
  <a name='L447'></a><a href='#L447'>447</a>
513
513
  <a name='L448'></a><a href='#L448'>448</a>
514
- <a name='L449'></a><a href='#L449'>449</a>
515
- <a name='L450'></a><a href='#L450'>450</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
514
+ <a name='L449'></a><a href='#L449'>449</a></td><td class="line-coverage quiet"><span class="cline-any cline-neutral">&nbsp;</span>
516
515
  <span class="cline-any cline-neutral">&nbsp;</span>
517
516
  <span class="cline-any cline-neutral">&nbsp;</span>
518
517
  <span class="cline-any cline-neutral">&nbsp;</span>
@@ -592,8 +591,7 @@
592
591
  <span class="cline-any cline-neutral">&nbsp;</span>
593
592
  <span class="cline-any cline-yes">4x</span>
594
593
  <span class="cline-any cline-neutral">&nbsp;</span>
595
- <span class="cline-any cline-neutral">&nbsp;</span>
596
- <span class="cline-any cline-neutral">&nbsp;</span>
594
+ <span class="cline-any cline-yes">2x</span>
597
595
  <span class="cline-any cline-yes">2x</span>
598
596
  <span class="cline-any cline-neutral">&nbsp;</span>
599
597
  <span class="cline-any cline-yes">2x</span>
@@ -772,7 +770,7 @@
772
770
  <span class="cline-any cline-no">&nbsp;</span>
773
771
  <span class="cline-any cline-neutral">&nbsp;</span>
774
772
  <span class="cline-any cline-neutral">&nbsp;</span>
775
- <span class="cline-any cline-neutral">&nbsp;</span>
773
+ <span class="cline-any cline-yes">2x</span>
776
774
  <span class="cline-any cline-neutral">&nbsp;</span>
777
775
  <span class="cline-any cline-yes">2x</span>
778
776
  <span class="cline-any cline-yes">2x</span>
@@ -981,7 +979,7 @@ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
981
979
  import globalAxios from 'axios';
982
980
  // Some imports not used depending on template conditions
983
981
  // @ts-ignore
984
- import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
982
+ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction, replaceWithSerializableTypeIfNeeded } from '../common';
985
983
  // @ts-ignore
986
984
  import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
987
985
  // @ts-ignore
@@ -1010,7 +1008,7 @@ export const MessagesApiAxiosParamCreator = function (configuration?: Configurat
1010
1008
  /**
1011
1009
  * Endpoint for sending text messages and picture messages using V2 messaging.
1012
1010
  * @summary Create Message
1013
- * @param {string} accountId Your Bandwidth Account ID.
1011
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&amp;#x60;u-be8dvafwrs63rwpm7pfil4b&amp;#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
1014
1012
  * @param {MessageRequest} messageRequest
1015
1013
  * @param {*} [options] Override http request option.
1016
1014
  * @throws {RequiredError}
@@ -1021,7 +1019,7 @@ export const MessagesApiAxiosParamCreator = function (configuration?: Configurat
1021
1019
  // verify required parameter 'messageRequest' is not null or undefined
1022
1020
  assertParamExists('createMessage', 'messageRequest', messageRequest)
1023
1021
  const localVarPath = `/users/{accountId}/messages`
1024
- .replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)));
1022
+ .replace('{accountId}', encodeURIComponent(String(accountId)));
1025
1023
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1026
1024
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1027
1025
  let baseOptions;
@@ -1041,9 +1039,8 @@ export const MessagesApiAxiosParamCreator = function (configuration?: Configurat
1041
1039
  // oauth required
1042
1040
  await setOAuthToObject(localVarHeaderParameter, "OAuth2", [], configuration)
1043
1041
  &nbsp;
1044
- &nbsp;
1045
-
1046
1042
  localVarHeaderParameter['Content-Type'] = 'application/json';
1043
+ localVarHeaderParameter['Accept'] = 'application/json';
1047
1044
  &nbsp;
1048
1045
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1049
1046
  let headersFromBaseOptions = baseOptions &amp;&amp; baseOptions.headers ? baseOptions.headers : <span class="branch-1 cbranch-no" title="branch not covered" >{};</span>
@@ -1058,7 +1055,7 @@ export const MessagesApiAxiosParamCreator = function (configuration?: Configurat
1058
1055
  /**
1059
1056
  * Returns a list of messages based on query parameters. **Rate Limit:** This endpoint is rate limited to 3500 requests per 5 minutes per Source IP address. Exceeding the limit returns HTTP 429 with a `Retry-After` header.
1060
1057
  * @summary List Messages
1061
- * @param {string} accountId Your Bandwidth Account ID.
1058
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&amp;#x60;u-be8dvafwrs63rwpm7pfil4b&amp;#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
1062
1059
  * @param {string} [messageId] The ID of the message to search for. Special characters need to be encoded using URL encoding. Message IDs could come in different formats, e.g., 9e0df4ca-b18d-40d7-a59f-82fcdf5ae8e6 and 1589228074636lm4k2je7j7jklbn2 are valid message ID formats. Note that you must include at least one query parameter.
1063
1060
  * @param {string} [sourceTn] The phone number that sent the message. Accepted values are: a single full phone number a comma separated list of full phone numbers (maximum of 10) or a single partial phone number (minimum of 5 characters e.g. \&amp;#39;%2B1919\&amp;#39;).
1064
1061
  * @param {string} [destinationTn] The phone number that received the message. Accepted values are: a single full phone number a comma separated list of full phone numbers (maximum of 10) or a single partial phone number (minimum of 5 characters e.g. \&amp;#39;%2B1919\&amp;#39;).
@@ -1093,7 +1090,7 @@ export const MessagesApiAxiosParamCreator = function (configuration?: Configurat
1093
1090
  // verify required parameter 'accountId' is not null or undefined
1094
1091
  assertParamExists('listMessages', 'accountId', accountId)
1095
1092
  const localVarPath = `/users/{accountId}/messages`
1096
- .replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)));
1093
+ .replace('{accountId}', encodeURIComponent(String(accountId)));
1097
1094
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1098
1095
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1099
1096
  let baseOptions;
@@ -1221,8 +1218,8 @@ export const MessagesApiAxiosParamCreator = function (configuration?: Configurat
1221
1218
  <span class="cstat-no" title="statement not covered" > localVarQueryParameter['limitTotalCount'] = limitTotalCount;</span>
1222
1219
  }
1223
1220
  &nbsp;
1221
+ localVarHeaderParameter['Accept'] = 'application/json';
1224
1222
  &nbsp;
1225
-
1226
1223
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1227
1224
  let headersFromBaseOptions = baseOptions &amp;&amp; baseOptions.headers ? baseOptions.headers : <span class="branch-1 cbranch-no" title="branch not covered" >{};</span>
1228
1225
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -1244,7 +1241,7 @@ export const MessagesApiFp = function(configuration?: Configuration) {
1244
1241
  /**
1245
1242
  * Endpoint for sending text messages and picture messages using V2 messaging.
1246
1243
  * @summary Create Message
1247
- * @param {string} accountId Your Bandwidth Account ID.
1244
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&amp;#x60;u-be8dvafwrs63rwpm7pfil4b&amp;#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
1248
1245
  * @param {MessageRequest} messageRequest
1249
1246
  * @param {*} [options] Override http request option.
1250
1247
  * @throws {RequiredError}
@@ -1258,7 +1255,7 @@ export const MessagesApiFp = function(configuration?: Configuration) {
1258
1255
  /**
1259
1256
  * Returns a list of messages based on query parameters. **Rate Limit:** This endpoint is rate limited to 3500 requests per 5 minutes per Source IP address. Exceeding the limit returns HTTP 429 with a `Retry-After` header.
1260
1257
  * @summary List Messages
1261
- * @param {string} accountId Your Bandwidth Account ID.
1258
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&amp;#x60;u-be8dvafwrs63rwpm7pfil4b&amp;#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
1262
1259
  * @param {string} [messageId] The ID of the message to search for. Special characters need to be encoded using URL encoding. Message IDs could come in different formats, e.g., 9e0df4ca-b18d-40d7-a59f-82fcdf5ae8e6 and 1589228074636lm4k2je7j7jklbn2 are valid message ID formats. Note that you must include at least one query parameter.
1263
1260
  * @param {string} [sourceTn] The phone number that sent the message. Accepted values are: a single full phone number a comma separated list of full phone numbers (maximum of 10) or a single partial phone number (minimum of 5 characters e.g. \&amp;#39;%2B1919\&amp;#39;).
1264
1261
  * @param {string} [destinationTn] The phone number that received the message. Accepted values are: a single full phone number a comma separated list of full phone numbers (maximum of 10) or a single partial phone number (minimum of 5 characters e.g. \&amp;#39;%2B1919\&amp;#39;).
@@ -1307,7 +1304,7 @@ export const MessagesApiFactory = <span class="fstat-no" title="function not cov
1307
1304
  /**
1308
1305
  * Endpoint for sending text messages and picture messages using V2 messaging.
1309
1306
  * @summary Create Message
1310
- * @param {string} accountId Your Bandwidth Account ID.
1307
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&amp;#x60;u-be8dvafwrs63rwpm7pfil4b&amp;#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
1311
1308
  * @param {MessageRequest} messageRequest
1312
1309
  * @param {*} [options] Override http request option.
1313
1310
  * @throws {RequiredError}
@@ -1318,7 +1315,7 @@ export const MessagesApiFactory = <span class="fstat-no" title="function not cov
1318
1315
  /**
1319
1316
  * Returns a list of messages based on query parameters. **Rate Limit:** This endpoint is rate limited to 3500 requests per 5 minutes per Source IP address. Exceeding the limit returns HTTP 429 with a `Retry-After` header.
1320
1317
  * @summary List Messages
1321
- * @param {string} accountId Your Bandwidth Account ID.
1318
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&amp;#x60;u-be8dvafwrs63rwpm7pfil4b&amp;#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
1322
1319
  * @param {string} [messageId] The ID of the message to search for. Special characters need to be encoded using URL encoding. Message IDs could come in different formats, e.g., 9e0df4ca-b18d-40d7-a59f-82fcdf5ae8e6 and 1589228074636lm4k2je7j7jklbn2 are valid message ID formats. Note that you must include at least one query parameter.
1323
1320
  * @param {string} [sourceTn] The phone number that sent the message. Accepted values are: a single full phone number a comma separated list of full phone numbers (maximum of 10) or a single partial phone number (minimum of 5 characters e.g. \&amp;#39;%2B1919\&amp;#39;).
1324
1321
  * @param {string} [destinationTn] The phone number that received the message. Accepted values are: a single full phone number a comma separated list of full phone numbers (maximum of 10) or a single partial phone number (minimum of 5 characters e.g. \&amp;#39;%2B1919\&amp;#39;).
@@ -1362,7 +1359,7 @@ export class MessagesApi extends BaseAPI {
1362
1359
  /**
1363
1360
  * Endpoint for sending text messages and picture messages using V2 messaging.
1364
1361
  * @summary Create Message
1365
- * @param {string} accountId Your Bandwidth Account ID.
1362
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&amp;#x60;u-be8dvafwrs63rwpm7pfil4b&amp;#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
1366
1363
  * @param {MessageRequest} messageRequest
1367
1364
  * @param {*} [options] Override http request option.
1368
1365
  * @throws {RequiredError}
@@ -1374,7 +1371,7 @@ export class MessagesApi extends BaseAPI {
1374
1371
  /**
1375
1372
  * Returns a list of messages based on query parameters. **Rate Limit:** This endpoint is rate limited to 3500 requests per 5 minutes per Source IP address. Exceeding the limit returns HTTP 429 with a `Retry-After` header.
1376
1373
  * @summary List Messages
1377
- * @param {string} accountId Your Bandwidth Account ID.
1374
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&amp;#x60;u-be8dvafwrs63rwpm7pfil4b&amp;#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
1378
1375
  * @param {string} [messageId] The ID of the message to search for. Special characters need to be encoded using URL encoding. Message IDs could come in different formats, e.g., 9e0df4ca-b18d-40d7-a59f-82fcdf5ae8e6 and 1589228074636lm4k2je7j7jklbn2 are valid message ID formats. Note that you must include at least one query parameter.
1379
1376
  * @param {string} [sourceTn] The phone number that sent the message. Accepted values are: a single full phone number a comma separated list of full phone numbers (maximum of 10) or a single partial phone number (minimum of 5 characters e.g. \&amp;#39;%2B1919\&amp;#39;).
1380
1377
  * @param {string} [destinationTn] The phone number that received the message. Accepted values are: a single full phone number a comma separated list of full phone numbers (maximum of 10) or a single partial phone number (minimum of 5 characters e.g. \&amp;#39;%2B1919\&amp;#39;).
@@ -1417,7 +1414,7 @@ export class MessagesApi extends BaseAPI {
1417
1414
  <div class='footer quiet pad2 space-top1 center small'>
1418
1415
  Code coverage generated by
1419
1416
  <a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
1420
- at 2026-06-23T19:47:23.453Z
1417
+ at 2026-08-04T21:12:06.876Z
1421
1418
  </div>
1422
1419
  <script src="../../prettify.js"></script>
1423
1420
  <script>