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
@@ -20,7 +20,7 @@ export declare const MediaApiAxiosParamCreator: (configuration?: Configuration)
20
20
  /**
21
21
  * 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.
22
22
  * @summary Delete Media
23
- * @param {string} accountId Your Bandwidth Account ID.
23
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
24
24
  * @param {string} mediaId Media ID to retrieve.
25
25
  * @param {*} [options] Override http request option.
26
26
  * @throws {RequiredError}
@@ -29,7 +29,7 @@ export declare const MediaApiAxiosParamCreator: (configuration?: Configuration)
29
29
  /**
30
30
  * Downloads a media file you previously uploaded.
31
31
  * @summary Get Media
32
- * @param {string} accountId Your Bandwidth Account ID.
32
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
33
33
  * @param {string} mediaId Media ID to retrieve.
34
34
  * @param {*} [options] Override http request option.
35
35
  * @throws {RequiredError}
@@ -38,7 +38,7 @@ export declare const MediaApiAxiosParamCreator: (configuration?: Configuration)
38
38
  /**
39
39
  * Gets a list of your media files. No query parameters are supported.
40
40
  * @summary List Media
41
- * @param {string} accountId Your Bandwidth Account ID.
41
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
42
42
  * @param {string} [continuationToken] Continuation token used to retrieve subsequent media.
43
43
  * @param {*} [options] Override http request option.
44
44
  * @throws {RequiredError}
@@ -47,7 +47,7 @@ export declare const MediaApiAxiosParamCreator: (configuration?: Configuration)
47
47
  /**
48
48
  * 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).
49
49
  * @summary Upload Media
50
- * @param {string} accountId Your Bandwidth Account ID.
50
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
51
51
  * @param {string} mediaId Media ID to retrieve.
52
52
  * @param {File} body
53
53
  * @param {string} [contentType] The media type of the entity-body.
@@ -64,7 +64,7 @@ export declare const MediaApiFp: (configuration?: Configuration) => {
64
64
  /**
65
65
  * 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.
66
66
  * @summary Delete Media
67
- * @param {string} accountId Your Bandwidth Account ID.
67
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
68
68
  * @param {string} mediaId Media ID to retrieve.
69
69
  * @param {*} [options] Override http request option.
70
70
  * @throws {RequiredError}
@@ -73,7 +73,7 @@ export declare const MediaApiFp: (configuration?: Configuration) => {
73
73
  /**
74
74
  * Downloads a media file you previously uploaded.
75
75
  * @summary Get Media
76
- * @param {string} accountId Your Bandwidth Account ID.
76
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
77
77
  * @param {string} mediaId Media ID to retrieve.
78
78
  * @param {*} [options] Override http request option.
79
79
  * @throws {RequiredError}
@@ -82,7 +82,7 @@ export declare const MediaApiFp: (configuration?: Configuration) => {
82
82
  /**
83
83
  * Gets a list of your media files. No query parameters are supported.
84
84
  * @summary List Media
85
- * @param {string} accountId Your Bandwidth Account ID.
85
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
86
86
  * @param {string} [continuationToken] Continuation token used to retrieve subsequent media.
87
87
  * @param {*} [options] Override http request option.
88
88
  * @throws {RequiredError}
@@ -91,7 +91,7 @@ export declare const MediaApiFp: (configuration?: Configuration) => {
91
91
  /**
92
92
  * 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).
93
93
  * @summary Upload Media
94
- * @param {string} accountId Your Bandwidth Account ID.
94
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
95
95
  * @param {string} mediaId Media ID to retrieve.
96
96
  * @param {File} body
97
97
  * @param {string} [contentType] The media type of the entity-body.
@@ -108,7 +108,7 @@ export declare const MediaApiFactory: (configuration?: Configuration, basePath?:
108
108
  /**
109
109
  * 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.
110
110
  * @summary Delete Media
111
- * @param {string} accountId Your Bandwidth Account ID.
111
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
112
112
  * @param {string} mediaId Media ID to retrieve.
113
113
  * @param {*} [options] Override http request option.
114
114
  * @throws {RequiredError}
@@ -117,7 +117,7 @@ export declare const MediaApiFactory: (configuration?: Configuration, basePath?:
117
117
  /**
118
118
  * Downloads a media file you previously uploaded.
119
119
  * @summary Get Media
120
- * @param {string} accountId Your Bandwidth Account ID.
120
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
121
121
  * @param {string} mediaId Media ID to retrieve.
122
122
  * @param {*} [options] Override http request option.
123
123
  * @throws {RequiredError}
@@ -126,7 +126,7 @@ export declare const MediaApiFactory: (configuration?: Configuration, basePath?:
126
126
  /**
127
127
  * Gets a list of your media files. No query parameters are supported.
128
128
  * @summary List Media
129
- * @param {string} accountId Your Bandwidth Account ID.
129
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
130
130
  * @param {string} [continuationToken] Continuation token used to retrieve subsequent media.
131
131
  * @param {*} [options] Override http request option.
132
132
  * @throws {RequiredError}
@@ -135,7 +135,7 @@ export declare const MediaApiFactory: (configuration?: Configuration, basePath?:
135
135
  /**
136
136
  * 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).
137
137
  * @summary Upload Media
138
- * @param {string} accountId Your Bandwidth Account ID.
138
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
139
139
  * @param {string} mediaId Media ID to retrieve.
140
140
  * @param {File} body
141
141
  * @param {string} [contentType] The media type of the entity-body.
@@ -152,34 +152,34 @@ export declare class MediaApi extends BaseAPI {
152
152
  /**
153
153
  * 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.
154
154
  * @summary Delete Media
155
- * @param {string} accountId Your Bandwidth Account ID.
155
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (`u-be8dvafwrs63rwpm7pfil4b`) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
156
156
  * @param {string} mediaId Media ID to retrieve.
157
157
  * @param {*} [options] Override http request option.
158
158
  * @throws {RequiredError}
159
159
  */
160
- deleteMedia(accountId: string, mediaId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
160
+ deleteMedia(accountId: string, mediaId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
161
161
  /**
162
162
  * Downloads a media file you previously uploaded.
163
163
  * @summary Get Media
164
- * @param {string} accountId Your Bandwidth Account ID.
164
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&#x60;u-be8dvafwrs63rwpm7pfil4b&#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
165
165
  * @param {string} mediaId Media ID to retrieve.
166
166
  * @param {*} [options] Override http request option.
167
167
  * @throws {RequiredError}
168
168
  */
169
- getMedia(accountId: string, mediaId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}>>;
169
+ getMedia(accountId: string, mediaId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<File, any, {}, any>>;
170
170
  /**
171
171
  * Gets a list of your media files. No query parameters are supported.
172
172
  * @summary List Media
173
- * @param {string} accountId Your Bandwidth Account ID.
173
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&#x60;u-be8dvafwrs63rwpm7pfil4b&#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
174
174
  * @param {string} [continuationToken] Continuation token used to retrieve subsequent media.
175
175
  * @param {*} [options] Override http request option.
176
176
  * @throws {RequiredError}
177
177
  */
178
- listMedia(accountId: string, continuationToken?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Media[], any, {}>>;
178
+ listMedia(accountId: string, continuationToken?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Media[], any, {}, any>>;
179
179
  /**
180
180
  * 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).
181
181
  * @summary Upload Media
182
- * @param {string} accountId Your Bandwidth Account ID.
182
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&#x60;u-be8dvafwrs63rwpm7pfil4b&#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
183
183
  * @param {string} mediaId Media ID to retrieve.
184
184
  * @param {File} body
185
185
  * @param {string} [contentType] The media type of the entity-body.
@@ -187,5 +187,5 @@ export declare class MediaApi extends BaseAPI {
187
187
  * @param {*} [options] Override http request option.
188
188
  * @throws {RequiredError}
189
189
  */
190
- uploadMedia(accountId: string, mediaId: string, body: File, contentType?: string, cacheControl?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
190
+ uploadMedia(accountId: string, mediaId: string, body: File, contentType?: string, cacheControl?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
191
191
  }
@@ -100,7 +100,7 @@ var MediaApiAxiosParamCreator = function (configuration) {
100
100
  /**
101
101
  * 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.
102
102
  * @summary Delete Media
103
- * @param {string} accountId Your Bandwidth Account ID.
103
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&#x60;u-be8dvafwrs63rwpm7pfil4b&#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
104
104
  * @param {string} mediaId Media ID to retrieve.
105
105
  * @param {*} [options] Override http request option.
106
106
  * @throws {RequiredError}
@@ -121,8 +121,8 @@ var MediaApiAxiosParamCreator = function (configuration) {
121
121
  // verify required parameter 'mediaId' is not null or undefined
122
122
  (0, common_1.assertParamExists)('deleteMedia', 'mediaId', mediaId);
123
123
  localVarPath = "/users/{accountId}/media/{mediaId}"
124
- .replace("{".concat("accountId", "}"), encodeURIComponent(String(accountId)))
125
- .replace("{".concat("mediaId", "}"), encodeURIComponent(String(mediaId)));
124
+ .replace('{accountId}', encodeURIComponent(String(accountId)))
125
+ .replace('{mediaId}', encodeURIComponent(String(mediaId)));
126
126
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
127
127
  if (configuration) {
128
128
  baseOptions = configuration.baseOptions;
@@ -140,6 +140,7 @@ var MediaApiAxiosParamCreator = function (configuration) {
140
140
  // authentication OAuth2 required
141
141
  // oauth required
142
142
  _a.sent();
143
+ localVarHeaderParameter['Accept'] = 'application/json';
143
144
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
144
145
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
145
146
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -154,7 +155,7 @@ var MediaApiAxiosParamCreator = function (configuration) {
154
155
  /**
155
156
  * Downloads a media file you previously uploaded.
156
157
  * @summary Get Media
157
- * @param {string} accountId Your Bandwidth Account ID.
158
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&#x60;u-be8dvafwrs63rwpm7pfil4b&#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
158
159
  * @param {string} mediaId Media ID to retrieve.
159
160
  * @param {*} [options] Override http request option.
160
161
  * @throws {RequiredError}
@@ -175,8 +176,8 @@ var MediaApiAxiosParamCreator = function (configuration) {
175
176
  // verify required parameter 'mediaId' is not null or undefined
176
177
  (0, common_1.assertParamExists)('getMedia', 'mediaId', mediaId);
177
178
  localVarPath = "/users/{accountId}/media/{mediaId}"
178
- .replace("{".concat("accountId", "}"), encodeURIComponent(String(accountId)))
179
- .replace("{".concat("mediaId", "}"), encodeURIComponent(String(mediaId)));
179
+ .replace('{accountId}', encodeURIComponent(String(accountId)))
180
+ .replace('{mediaId}', encodeURIComponent(String(mediaId)));
180
181
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
181
182
  if (configuration) {
182
183
  baseOptions = configuration.baseOptions;
@@ -194,6 +195,7 @@ var MediaApiAxiosParamCreator = function (configuration) {
194
195
  // authentication OAuth2 required
195
196
  // oauth required
196
197
  _a.sent();
198
+ localVarHeaderParameter['Accept'] = 'application/octet-stream,application/json';
197
199
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
198
200
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
199
201
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -208,7 +210,7 @@ var MediaApiAxiosParamCreator = function (configuration) {
208
210
  /**
209
211
  * Gets a list of your media files. No query parameters are supported.
210
212
  * @summary List Media
211
- * @param {string} accountId Your Bandwidth Account ID.
213
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&#x60;u-be8dvafwrs63rwpm7pfil4b&#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
212
214
  * @param {string} [continuationToken] Continuation token used to retrieve subsequent media.
213
215
  * @param {*} [options] Override http request option.
214
216
  * @throws {RequiredError}
@@ -227,7 +229,7 @@ var MediaApiAxiosParamCreator = function (configuration) {
227
229
  // verify required parameter 'accountId' is not null or undefined
228
230
  (0, common_1.assertParamExists)('listMedia', 'accountId', accountId);
229
231
  localVarPath = "/users/{accountId}/media"
230
- .replace("{".concat("accountId", "}"), encodeURIComponent(String(accountId)));
232
+ .replace('{accountId}', encodeURIComponent(String(accountId)));
231
233
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
232
234
  if (configuration) {
233
235
  baseOptions = configuration.baseOptions;
@@ -245,6 +247,7 @@ var MediaApiAxiosParamCreator = function (configuration) {
245
247
  // authentication OAuth2 required
246
248
  // oauth required
247
249
  _a.sent();
250
+ localVarHeaderParameter['Accept'] = 'application/json';
248
251
  if (continuationToken != null) {
249
252
  localVarHeaderParameter['Continuation-Token'] = String(continuationToken);
250
253
  }
@@ -262,7 +265,7 @@ var MediaApiAxiosParamCreator = function (configuration) {
262
265
  /**
263
266
  * 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).
264
267
  * @summary Upload Media
265
- * @param {string} accountId Your Bandwidth Account ID.
268
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&#x60;u-be8dvafwrs63rwpm7pfil4b&#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
266
269
  * @param {string} mediaId Media ID to retrieve.
267
270
  * @param {File} body
268
271
  * @param {string} [contentType] The media type of the entity-body.
@@ -288,8 +291,8 @@ var MediaApiAxiosParamCreator = function (configuration) {
288
291
  // verify required parameter 'body' is not null or undefined
289
292
  (0, common_1.assertParamExists)('uploadMedia', 'body', body);
290
293
  localVarPath = "/users/{accountId}/media/{mediaId}"
291
- .replace("{".concat("accountId", "}"), encodeURIComponent(String(accountId)))
292
- .replace("{".concat("mediaId", "}"), encodeURIComponent(String(mediaId)));
294
+ .replace('{accountId}', encodeURIComponent(String(accountId)))
295
+ .replace('{mediaId}', encodeURIComponent(String(mediaId)));
293
296
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
294
297
  if (configuration) {
295
298
  baseOptions = configuration.baseOptions;
@@ -308,6 +311,7 @@ var MediaApiAxiosParamCreator = function (configuration) {
308
311
  // oauth required
309
312
  _a.sent();
310
313
  localVarHeaderParameter['Content-Type'] = 'application/json';
314
+ localVarHeaderParameter['Accept'] = 'application/json';
311
315
  if (contentType != null) {
312
316
  localVarHeaderParameter['Content-Type'] = String(contentType);
313
317
  }
@@ -338,7 +342,7 @@ var MediaApiFp = function (configuration) {
338
342
  /**
339
343
  * 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.
340
344
  * @summary Delete Media
341
- * @param {string} accountId Your Bandwidth Account ID.
345
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&#x60;u-be8dvafwrs63rwpm7pfil4b&#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
342
346
  * @param {string} mediaId Media ID to retrieve.
343
347
  * @param {*} [options] Override http request option.
344
348
  * @throws {RequiredError}
@@ -362,7 +366,7 @@ var MediaApiFp = function (configuration) {
362
366
  /**
363
367
  * Downloads a media file you previously uploaded.
364
368
  * @summary Get Media
365
- * @param {string} accountId Your Bandwidth Account ID.
369
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&#x60;u-be8dvafwrs63rwpm7pfil4b&#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
366
370
  * @param {string} mediaId Media ID to retrieve.
367
371
  * @param {*} [options] Override http request option.
368
372
  * @throws {RequiredError}
@@ -386,7 +390,7 @@ var MediaApiFp = function (configuration) {
386
390
  /**
387
391
  * Gets a list of your media files. No query parameters are supported.
388
392
  * @summary List Media
389
- * @param {string} accountId Your Bandwidth Account ID.
393
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&#x60;u-be8dvafwrs63rwpm7pfil4b&#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
390
394
  * @param {string} [continuationToken] Continuation token used to retrieve subsequent media.
391
395
  * @param {*} [options] Override http request option.
392
396
  * @throws {RequiredError}
@@ -410,7 +414,7 @@ var MediaApiFp = function (configuration) {
410
414
  /**
411
415
  * 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).
412
416
  * @summary Upload Media
413
- * @param {string} accountId Your Bandwidth Account ID.
417
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&#x60;u-be8dvafwrs63rwpm7pfil4b&#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
414
418
  * @param {string} mediaId Media ID to retrieve.
415
419
  * @param {File} body
416
420
  * @param {string} [contentType] The media type of the entity-body.
@@ -446,7 +450,7 @@ var MediaApiFactory = function (configuration, basePath, axios) {
446
450
  /**
447
451
  * 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.
448
452
  * @summary Delete Media
449
- * @param {string} accountId Your Bandwidth Account ID.
453
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&#x60;u-be8dvafwrs63rwpm7pfil4b&#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
450
454
  * @param {string} mediaId Media ID to retrieve.
451
455
  * @param {*} [options] Override http request option.
452
456
  * @throws {RequiredError}
@@ -457,7 +461,7 @@ var MediaApiFactory = function (configuration, basePath, axios) {
457
461
  /**
458
462
  * Downloads a media file you previously uploaded.
459
463
  * @summary Get Media
460
- * @param {string} accountId Your Bandwidth Account ID.
464
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&#x60;u-be8dvafwrs63rwpm7pfil4b&#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
461
465
  * @param {string} mediaId Media ID to retrieve.
462
466
  * @param {*} [options] Override http request option.
463
467
  * @throws {RequiredError}
@@ -468,7 +472,7 @@ var MediaApiFactory = function (configuration, basePath, axios) {
468
472
  /**
469
473
  * Gets a list of your media files. No query parameters are supported.
470
474
  * @summary List Media
471
- * @param {string} accountId Your Bandwidth Account ID.
475
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&#x60;u-be8dvafwrs63rwpm7pfil4b&#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
472
476
  * @param {string} [continuationToken] Continuation token used to retrieve subsequent media.
473
477
  * @param {*} [options] Override http request option.
474
478
  * @throws {RequiredError}
@@ -479,7 +483,7 @@ var MediaApiFactory = function (configuration, basePath, axios) {
479
483
  /**
480
484
  * 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).
481
485
  * @summary Upload Media
482
- * @param {string} accountId Your Bandwidth Account ID.
486
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&#x60;u-be8dvafwrs63rwpm7pfil4b&#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
483
487
  * @param {string} mediaId Media ID to retrieve.
484
488
  * @param {File} body
485
489
  * @param {string} [contentType] The media type of the entity-body.
@@ -504,7 +508,7 @@ var MediaApi = /** @class */ (function (_super) {
504
508
  /**
505
509
  * 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.
506
510
  * @summary Delete Media
507
- * @param {string} accountId Your Bandwidth Account ID.
511
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&#x60;u-be8dvafwrs63rwpm7pfil4b&#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
508
512
  * @param {string} mediaId Media ID to retrieve.
509
513
  * @param {*} [options] Override http request option.
510
514
  * @throws {RequiredError}
@@ -516,7 +520,7 @@ var MediaApi = /** @class */ (function (_super) {
516
520
  /**
517
521
  * Downloads a media file you previously uploaded.
518
522
  * @summary Get Media
519
- * @param {string} accountId Your Bandwidth Account ID.
523
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&#x60;u-be8dvafwrs63rwpm7pfil4b&#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
520
524
  * @param {string} mediaId Media ID to retrieve.
521
525
  * @param {*} [options] Override http request option.
522
526
  * @throws {RequiredError}
@@ -528,7 +532,7 @@ var MediaApi = /** @class */ (function (_super) {
528
532
  /**
529
533
  * Gets a list of your media files. No query parameters are supported.
530
534
  * @summary List Media
531
- * @param {string} accountId Your Bandwidth Account ID.
535
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&#x60;u-be8dvafwrs63rwpm7pfil4b&#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
532
536
  * @param {string} [continuationToken] Continuation token used to retrieve subsequent media.
533
537
  * @param {*} [options] Override http request option.
534
538
  * @throws {RequiredError}
@@ -540,7 +544,7 @@ var MediaApi = /** @class */ (function (_super) {
540
544
  /**
541
545
  * 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).
542
546
  * @summary Upload Media
543
- * @param {string} accountId Your Bandwidth Account ID.
547
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&#x60;u-be8dvafwrs63rwpm7pfil4b&#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
544
548
  * @param {string} mediaId Media ID to retrieve.
545
549
  * @param {File} body
546
550
  * @param {string} [contentType] The media type of the entity-body.
@@ -26,7 +26,7 @@ export declare const MessagesApiAxiosParamCreator: (configuration?: Configuratio
26
26
  /**
27
27
  * Endpoint for sending text messages and picture messages using V2 messaging.
28
28
  * @summary Create Message
29
- * @param {string} accountId Your Bandwidth Account ID.
29
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&#x60;u-be8dvafwrs63rwpm7pfil4b&#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
30
30
  * @param {MessageRequest} messageRequest
31
31
  * @param {*} [options] Override http request option.
32
32
  * @throws {RequiredError}
@@ -35,7 +35,7 @@ export declare const MessagesApiAxiosParamCreator: (configuration?: Configuratio
35
35
  /**
36
36
  * 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.
37
37
  * @summary List Messages
38
- * @param {string} accountId Your Bandwidth Account ID.
38
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&#x60;u-be8dvafwrs63rwpm7pfil4b&#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
39
39
  * @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.
40
40
  * @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. \&#39;%2B1919\&#39;).
41
41
  * @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. \&#39;%2B1919\&#39;).
@@ -75,7 +75,7 @@ export declare const MessagesApiFp: (configuration?: Configuration) => {
75
75
  /**
76
76
  * Endpoint for sending text messages and picture messages using V2 messaging.
77
77
  * @summary Create Message
78
- * @param {string} accountId Your Bandwidth Account ID.
78
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&#x60;u-be8dvafwrs63rwpm7pfil4b&#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
79
79
  * @param {MessageRequest} messageRequest
80
80
  * @param {*} [options] Override http request option.
81
81
  * @throws {RequiredError}
@@ -84,7 +84,7 @@ export declare const MessagesApiFp: (configuration?: Configuration) => {
84
84
  /**
85
85
  * 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.
86
86
  * @summary List Messages
87
- * @param {string} accountId Your Bandwidth Account ID.
87
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&#x60;u-be8dvafwrs63rwpm7pfil4b&#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
88
88
  * @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.
89
89
  * @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. \&#39;%2B1919\&#39;).
90
90
  * @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. \&#39;%2B1919\&#39;).
@@ -124,7 +124,7 @@ export declare const MessagesApiFactory: (configuration?: Configuration, basePat
124
124
  /**
125
125
  * Endpoint for sending text messages and picture messages using V2 messaging.
126
126
  * @summary Create Message
127
- * @param {string} accountId Your Bandwidth Account ID.
127
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&#x60;u-be8dvafwrs63rwpm7pfil4b&#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
128
128
  * @param {MessageRequest} messageRequest
129
129
  * @param {*} [options] Override http request option.
130
130
  * @throws {RequiredError}
@@ -133,7 +133,7 @@ export declare const MessagesApiFactory: (configuration?: Configuration, basePat
133
133
  /**
134
134
  * 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.
135
135
  * @summary List Messages
136
- * @param {string} accountId Your Bandwidth Account ID.
136
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&#x60;u-be8dvafwrs63rwpm7pfil4b&#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
137
137
  * @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.
138
138
  * @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. \&#39;%2B1919\&#39;).
139
139
  * @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. \&#39;%2B1919\&#39;).
@@ -173,16 +173,16 @@ export declare class MessagesApi extends BaseAPI {
173
173
  /**
174
174
  * Endpoint for sending text messages and picture messages using V2 messaging.
175
175
  * @summary Create Message
176
- * @param {string} accountId Your Bandwidth Account ID.
176
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&#x60;u-be8dvafwrs63rwpm7pfil4b&#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
177
177
  * @param {MessageRequest} messageRequest
178
178
  * @param {*} [options] Override http request option.
179
179
  * @throws {RequiredError}
180
180
  */
181
- createMessage(accountId: string, messageRequest: MessageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Message, any, {}>>;
181
+ createMessage(accountId: string, messageRequest: MessageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Message, any, {}, any>>;
182
182
  /**
183
183
  * 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.
184
184
  * @summary List Messages
185
- * @param {string} accountId Your Bandwidth Account ID.
185
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&#x60;u-be8dvafwrs63rwpm7pfil4b&#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
186
186
  * @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.
187
187
  * @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. \&#39;%2B1919\&#39;).
188
188
  * @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. \&#39;%2B1919\&#39;).
@@ -213,5 +213,5 @@ export declare class MessagesApi extends BaseAPI {
213
213
  * @param {*} [options] Override http request option.
214
214
  * @throws {RequiredError}
215
215
  */
216
- listMessages(accountId: string, messageId?: string, sourceTn?: string, destinationTn?: string, messageStatus?: MessageStatusEnum, messageDirection?: ListMessageDirectionEnum, carrierName?: string, messageType?: MessageTypeEnum, errorCode?: number, fromDateTime?: string, toDateTime?: string, campaignId?: string, fromBwLatency?: number, bwQueued?: boolean, product?: ProductTypeEnum, location?: string, carrierQueued?: boolean, fromCarrierLatency?: number, callingNumberCountryA3?: string, calledNumberCountryA3?: string, fromSegmentCount?: number, toSegmentCount?: number, fromMessageSize?: number, toMessageSize?: number, sort?: string, pageToken?: string, limit?: number, limitTotalCount?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MessagesList, any, {}>>;
216
+ listMessages(accountId: string, messageId?: string, sourceTn?: string, destinationTn?: string, messageStatus?: MessageStatusEnum, messageDirection?: ListMessageDirectionEnum, carrierName?: string, messageType?: MessageTypeEnum, errorCode?: number, fromDateTime?: string, toDateTime?: string, campaignId?: string, fromBwLatency?: number, bwQueued?: boolean, product?: ProductTypeEnum, location?: string, carrierQueued?: boolean, fromCarrierLatency?: number, callingNumberCountryA3?: string, calledNumberCountryA3?: string, fromSegmentCount?: number, toSegmentCount?: number, fromMessageSize?: number, toMessageSize?: number, sort?: string, pageToken?: string, limit?: number, limitTotalCount?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MessagesList, any, {}, any>>;
217
217
  }
@@ -100,7 +100,7 @@ var MessagesApiAxiosParamCreator = function (configuration) {
100
100
  /**
101
101
  * Endpoint for sending text messages and picture messages using V2 messaging.
102
102
  * @summary Create Message
103
- * @param {string} accountId Your Bandwidth Account ID.
103
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&#x60;u-be8dvafwrs63rwpm7pfil4b&#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
104
104
  * @param {MessageRequest} messageRequest
105
105
  * @param {*} [options] Override http request option.
106
106
  * @throws {RequiredError}
@@ -121,7 +121,7 @@ var MessagesApiAxiosParamCreator = function (configuration) {
121
121
  // verify required parameter 'messageRequest' is not null or undefined
122
122
  (0, common_1.assertParamExists)('createMessage', 'messageRequest', messageRequest);
123
123
  localVarPath = "/users/{accountId}/messages"
124
- .replace("{".concat("accountId", "}"), encodeURIComponent(String(accountId)));
124
+ .replace('{accountId}', encodeURIComponent(String(accountId)));
125
125
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
126
126
  if (configuration) {
127
127
  baseOptions = configuration.baseOptions;
@@ -140,6 +140,7 @@ var MessagesApiAxiosParamCreator = function (configuration) {
140
140
  // oauth required
141
141
  _a.sent();
142
142
  localVarHeaderParameter['Content-Type'] = 'application/json';
143
+ localVarHeaderParameter['Accept'] = 'application/json';
143
144
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
144
145
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
145
146
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -155,7 +156,7 @@ var MessagesApiAxiosParamCreator = function (configuration) {
155
156
  /**
156
157
  * 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.
157
158
  * @summary List Messages
158
- * @param {string} accountId Your Bandwidth Account ID.
159
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&#x60;u-be8dvafwrs63rwpm7pfil4b&#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
159
160
  * @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.
160
161
  * @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. \&#39;%2B1919\&#39;).
161
162
  * @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. \&#39;%2B1919\&#39;).
@@ -200,7 +201,7 @@ var MessagesApiAxiosParamCreator = function (configuration) {
200
201
  // verify required parameter 'accountId' is not null or undefined
201
202
  (0, common_1.assertParamExists)('listMessages', 'accountId', accountId);
202
203
  localVarPath = "/users/{accountId}/messages"
203
- .replace("{".concat("accountId", "}"), encodeURIComponent(String(accountId)));
204
+ .replace('{accountId}', encodeURIComponent(String(accountId)));
204
205
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
205
206
  if (configuration) {
206
207
  baseOptions = configuration.baseOptions;
@@ -299,6 +300,7 @@ var MessagesApiAxiosParamCreator = function (configuration) {
299
300
  if (limitTotalCount !== undefined) {
300
301
  localVarQueryParameter['limitTotalCount'] = limitTotalCount;
301
302
  }
303
+ localVarHeaderParameter['Accept'] = 'application/json';
302
304
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
303
305
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
304
306
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -322,7 +324,7 @@ var MessagesApiFp = function (configuration) {
322
324
  /**
323
325
  * Endpoint for sending text messages and picture messages using V2 messaging.
324
326
  * @summary Create Message
325
- * @param {string} accountId Your Bandwidth Account ID.
327
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&#x60;u-be8dvafwrs63rwpm7pfil4b&#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
326
328
  * @param {MessageRequest} messageRequest
327
329
  * @param {*} [options] Override http request option.
328
330
  * @throws {RequiredError}
@@ -346,7 +348,7 @@ var MessagesApiFp = function (configuration) {
346
348
  /**
347
349
  * 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.
348
350
  * @summary List Messages
349
- * @param {string} accountId Your Bandwidth Account ID.
351
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&#x60;u-be8dvafwrs63rwpm7pfil4b&#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
350
352
  * @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.
351
353
  * @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. \&#39;%2B1919\&#39;).
352
354
  * @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. \&#39;%2B1919\&#39;).
@@ -405,7 +407,7 @@ var MessagesApiFactory = function (configuration, basePath, axios) {
405
407
  /**
406
408
  * Endpoint for sending text messages and picture messages using V2 messaging.
407
409
  * @summary Create Message
408
- * @param {string} accountId Your Bandwidth Account ID.
410
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&#x60;u-be8dvafwrs63rwpm7pfil4b&#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
409
411
  * @param {MessageRequest} messageRequest
410
412
  * @param {*} [options] Override http request option.
411
413
  * @throws {RequiredError}
@@ -416,7 +418,7 @@ var MessagesApiFactory = function (configuration, basePath, axios) {
416
418
  /**
417
419
  * 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.
418
420
  * @summary List Messages
419
- * @param {string} accountId Your Bandwidth Account ID.
421
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&#x60;u-be8dvafwrs63rwpm7pfil4b&#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
420
422
  * @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.
421
423
  * @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. \&#39;%2B1919\&#39;).
422
424
  * @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. \&#39;%2B1919\&#39;).
@@ -464,7 +466,7 @@ var MessagesApi = /** @class */ (function (_super) {
464
466
  /**
465
467
  * Endpoint for sending text messages and picture messages using V2 messaging.
466
468
  * @summary Create Message
467
- * @param {string} accountId Your Bandwidth Account ID.
469
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&#x60;u-be8dvafwrs63rwpm7pfil4b&#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
468
470
  * @param {MessageRequest} messageRequest
469
471
  * @param {*} [options] Override http request option.
470
472
  * @throws {RequiredError}
@@ -476,7 +478,7 @@ var MessagesApi = /** @class */ (function (_super) {
476
478
  /**
477
479
  * 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.
478
480
  * @summary List Messages
479
- * @param {string} accountId Your Bandwidth Account ID.
481
+ * @param {string} accountId This is your 7-digit Bandwidth Account ID, as shown in the Bandwidth App. The older ID format (&#x60;u-be8dvafwrs63rwpm7pfil4b&#x60;) is deprecated. **When migrating to OAuth authentication, you must use the 7-digit Account ID.**
480
482
  * @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.
481
483
  * @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. \&#39;%2B1919\&#39;).
482
484
  * @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. \&#39;%2B1919\&#39;).
@@ -125,7 +125,7 @@ export declare class MFAApi extends BaseAPI {
125
125
  * @param {*} [options] Override http request option.
126
126
  * @throws {RequiredError}
127
127
  */
128
- generateMessagingCode(accountId: string, codeRequest: CodeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MessagingCodeResponse, any, {}>>;
128
+ generateMessagingCode(accountId: string, codeRequest: CodeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MessagingCodeResponse, any, {}, any>>;
129
129
  /**
130
130
  * Send an MFA Code via a phone call.
131
131
  * @summary Voice Authentication Code
@@ -134,7 +134,7 @@ export declare class MFAApi extends BaseAPI {
134
134
  * @param {*} [options] Override http request option.
135
135
  * @throws {RequiredError}
136
136
  */
137
- generateVoiceCode(accountId: string, codeRequest: CodeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VoiceCodeResponse, any, {}>>;
137
+ generateVoiceCode(accountId: string, codeRequest: CodeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VoiceCodeResponse, any, {}, any>>;
138
138
  /**
139
139
  * Verify a previously sent MFA code.
140
140
  * @summary Verify Authentication Code
@@ -143,5 +143,5 @@ export declare class MFAApi extends BaseAPI {
143
143
  * @param {*} [options] Override http request option.
144
144
  * @throws {RequiredError}
145
145
  */
146
- verifyCode(accountId: string, verifyCodeRequest: VerifyCodeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VerifyCodeResponse, any, {}>>;
146
+ verifyCode(accountId: string, verifyCodeRequest: VerifyCodeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<VerifyCodeResponse, any, {}, any>>;
147
147
  }