bandwidth-sdk 8.3.0 → 9.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (258) hide show
  1. package/.github/CODEOWNERS +0 -3
  2. package/.github/workflows/deploy.yml +1 -30
  3. package/.github/workflows/test-pr.yml +0 -20
  4. package/.github/workflows/test-smoke.yml +0 -4
  5. package/.openapi-generator/FILES +2 -0
  6. package/README.md +1 -5
  7. package/api/calls-api.ts +0 -20
  8. package/api/conferences-api.ts +0 -36
  9. package/api/endpoints-api.ts +0 -20
  10. package/api/media-api.ts +8 -24
  11. package/api/messages-api.ts +0 -8
  12. package/api/mfaapi.ts +0 -12
  13. package/api/multi-channel-api.ts +0 -4
  14. package/api/phone-number-lookup-api.ts +0 -12
  15. package/api/recordings-api.ts +0 -40
  16. package/api/statistics-api.ts +0 -4
  17. package/api/toll-free-verification-api.ts +12 -48
  18. package/api/transcriptions-api.ts +0 -12
  19. package/bandwidth.yml +341 -122
  20. package/common.ts +2 -5
  21. package/configuration.ts +4 -13
  22. package/coverage/clover.xml +1249 -1293
  23. package/coverage/coverage-final.json +17 -16
  24. package/coverage/lcov-report/index.html +41 -26
  25. package/coverage/lcov-report/node-sdk/api/calls-api.ts.html +6 -66
  26. package/coverage/lcov-report/node-sdk/api/conferences-api.ts.html +6 -114
  27. package/coverage/lcov-report/node-sdk/api/endpoints-api.ts.html +6 -66
  28. package/coverage/lcov-report/node-sdk/api/index.html +69 -69
  29. package/coverage/lcov-report/node-sdk/api/media-api.ts.html +14 -62
  30. package/coverage/lcov-report/node-sdk/api/messages-api.ts.html +6 -30
  31. package/coverage/lcov-report/node-sdk/api/mfaapi.ts.html +6 -42
  32. package/coverage/lcov-report/node-sdk/api/multi-channel-api.ts.html +6 -18
  33. package/coverage/lcov-report/node-sdk/api/phone-number-lookup-api.ts.html +6 -42
  34. package/coverage/lcov-report/node-sdk/api/recordings-api.ts.html +6 -126
  35. package/coverage/lcov-report/node-sdk/api/statistics-api.ts.html +6 -18
  36. package/coverage/lcov-report/node-sdk/api/toll-free-verification-api.ts.html +18 -126
  37. package/coverage/lcov-report/node-sdk/api/transcriptions-api.ts.html +6 -42
  38. package/coverage/lcov-report/node-sdk/api.ts.html +1 -1
  39. package/coverage/lcov-report/node-sdk/base.ts.html +1 -1
  40. package/coverage/lcov-report/node-sdk/common.ts.html +13 -22
  41. package/coverage/lcov-report/node-sdk/configuration.ts.html +11 -38
  42. package/coverage/lcov-report/node-sdk/index.html +20 -20
  43. package/coverage/lcov-report/node-sdk/models/business-entity-type-enum.ts.html +2 -2
  44. package/coverage/lcov-report/node-sdk/models/business-registration-type-enum.ts.html +2 -2
  45. package/coverage/lcov-report/node-sdk/models/bxml/Bxml.ts.html +1 -1
  46. package/coverage/lcov-report/node-sdk/models/bxml/NestableVerb.ts.html +1 -1
  47. package/coverage/lcov-report/node-sdk/models/bxml/Response.ts.html +1 -1
  48. package/coverage/lcov-report/node-sdk/models/bxml/Root.ts.html +1 -1
  49. package/coverage/lcov-report/node-sdk/models/bxml/Verb.ts.html +1 -1
  50. package/coverage/lcov-report/node-sdk/models/bxml/index.html +1 -1
  51. package/coverage/lcov-report/node-sdk/models/bxml/index.ts.html +1 -1
  52. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Bridge.ts.html +1 -1
  53. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Conference.ts.html +1 -1
  54. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Connect.ts.html +1 -1
  55. package/coverage/lcov-report/node-sdk/models/bxml/verbs/CustomParam.ts.html +1 -1
  56. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Endpoint.ts.html +1 -1
  57. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Forward.ts.html +1 -1
  58. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Gather.ts.html +1 -1
  59. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Hangup.ts.html +1 -1
  60. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Pause.ts.html +1 -1
  61. package/coverage/lcov-report/node-sdk/models/bxml/verbs/PauseRecording.ts.html +1 -1
  62. package/coverage/lcov-report/node-sdk/models/bxml/verbs/PhoneNumber.ts.html +1 -1
  63. package/coverage/lcov-report/node-sdk/models/bxml/verbs/PlayAudio.ts.html +1 -1
  64. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Record.ts.html +1 -1
  65. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Redirect.ts.html +1 -1
  66. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Refer.ts.html +1 -1
  67. package/coverage/lcov-report/node-sdk/models/bxml/verbs/ResumeRecording.ts.html +1 -1
  68. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Ring.ts.html +1 -1
  69. package/coverage/lcov-report/node-sdk/models/bxml/verbs/SendDtmf.ts.html +1 -1
  70. package/coverage/lcov-report/node-sdk/models/bxml/verbs/SipUri.ts.html +1 -1
  71. package/coverage/lcov-report/node-sdk/models/bxml/verbs/SpeakSentence.ts.html +1 -1
  72. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartGather.ts.html +1 -1
  73. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartRecording.ts.html +1 -1
  74. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartStream.ts.html +1 -1
  75. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartTranscription.ts.html +1 -1
  76. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopGather.ts.html +1 -1
  77. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopRecording.ts.html +1 -1
  78. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopStream.ts.html +1 -1
  79. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopTranscription.ts.html +1 -1
  80. package/coverage/lcov-report/node-sdk/models/bxml/verbs/StreamParam.ts.html +1 -1
  81. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Tag.ts.html +1 -1
  82. package/coverage/lcov-report/node-sdk/models/bxml/verbs/Transfer.ts.html +1 -1
  83. package/coverage/lcov-report/node-sdk/models/bxml/verbs/index.html +1 -1
  84. package/coverage/lcov-report/node-sdk/models/bxml/verbs/index.ts.html +1 -1
  85. package/coverage/lcov-report/node-sdk/models/call-direction-enum.ts.html +1 -1
  86. package/coverage/lcov-report/node-sdk/models/call-state-enum.ts.html +1 -1
  87. package/coverage/lcov-report/node-sdk/models/call-transcription-detected-language-enum.ts.html +1 -1
  88. package/coverage/lcov-report/node-sdk/models/call-transcription-track-enum.ts.html +1 -1
  89. package/coverage/lcov-report/node-sdk/models/callback-method-enum.ts.html +1 -1
  90. package/coverage/lcov-report/node-sdk/models/card-width-enum.ts.html +1 -1
  91. package/coverage/lcov-report/node-sdk/models/completed-lookup-status-enum.ts.html +1 -1
  92. package/coverage/lcov-report/node-sdk/models/conference-state-enum.ts.html +1 -1
  93. package/coverage/lcov-report/node-sdk/models/deactivation-event-enum.ts.html +1 -1
  94. package/coverage/lcov-report/node-sdk/models/device-status-enum.ts.html +1 -1
  95. package/coverage/lcov-report/node-sdk/models/endpoint-direction-enum.ts.html +1 -1
  96. package/coverage/lcov-report/node-sdk/models/endpoint-event-type-enum.ts.html +1 -1
  97. package/coverage/lcov-report/node-sdk/models/endpoint-status-enum.ts.html +1 -1
  98. package/coverage/lcov-report/node-sdk/models/endpoint-type-enum.ts.html +1 -1
  99. package/coverage/lcov-report/node-sdk/models/file-format-enum.ts.html +1 -1
  100. package/coverage/lcov-report/node-sdk/models/in-progress-lookup-status-enum.ts.html +1 -1
  101. package/coverage/lcov-report/node-sdk/models/inbound-callback-type-enum.ts.html +1 -1
  102. package/coverage/lcov-report/node-sdk/models/index.html +5 -5
  103. package/coverage/lcov-report/node-sdk/models/index.ts.html +7 -4
  104. package/coverage/lcov-report/node-sdk/models/latest-message-delivery-status-enum.ts.html +1 -1
  105. package/coverage/lcov-report/node-sdk/models/line-type-enum.ts.html +1 -1
  106. package/coverage/lcov-report/node-sdk/models/list-message-direction-enum.ts.html +1 -1
  107. package/coverage/lcov-report/node-sdk/models/machine-detection-mode-enum.ts.html +1 -1
  108. package/coverage/lcov-report/node-sdk/models/message-direction-enum.ts.html +1 -1
  109. package/coverage/lcov-report/node-sdk/models/message-status-enum.ts.html +1 -1
  110. package/coverage/lcov-report/node-sdk/models/message-type-enum.ts.html +1 -1
  111. package/coverage/lcov-report/node-sdk/models/multi-channel-message-channel-enum.ts.html +1 -1
  112. package/coverage/lcov-report/node-sdk/models/priority-enum.ts.html +1 -1
  113. package/coverage/lcov-report/node-sdk/models/product-type-enum.ts.html +1 -1
  114. package/coverage/lcov-report/node-sdk/models/rbm-action-type-enum.ts.html +1 -1
  115. package/coverage/lcov-report/node-sdk/models/rbm-media-height-enum.ts.html +1 -1
  116. package/coverage/lcov-report/node-sdk/models/rbm-open-url-enum.ts.html +1 -1
  117. package/coverage/lcov-report/node-sdk/models/rbm-web-view-enum.ts.html +1 -1
  118. package/coverage/lcov-report/node-sdk/models/recording-state-enum.ts.html +1 -1
  119. package/coverage/lcov-report/node-sdk/models/redirect-method-enum.ts.html +1 -1
  120. package/coverage/lcov-report/node-sdk/models/refer-call-status-enum.ts.html +1 -1
  121. package/coverage/lcov-report/node-sdk/models/standalone-card-orientation-enum.ts.html +1 -1
  122. package/coverage/lcov-report/node-sdk/models/status-callback-type-enum.ts.html +6 -3
  123. package/coverage/lcov-report/node-sdk/models/tfv-callback-status-enum.ts.html +1 -1
  124. package/coverage/lcov-report/node-sdk/models/tfv-status-enum.ts.html +1 -1
  125. package/coverage/lcov-report/node-sdk/models/thumbnail-alignment-enum.ts.html +1 -1
  126. package/coverage/lcov-report/node-sdk/models/webhook-subscription-type-enum.ts.html +1 -1
  127. package/coverage/lcov-report/node-sdk/tests/unit/constants.ts.html +103 -0
  128. package/coverage/lcov-report/node-sdk/tests/unit/index.html +116 -0
  129. package/coverage/lcov.info +3073 -3115
  130. package/custom_templates/common.mustache +2 -5
  131. package/custom_templates/configuration.mustache +3 -12
  132. package/dist/api/calls-api.js +0 -15
  133. package/dist/api/conferences-api.js +0 -27
  134. package/dist/api/endpoints-api.js +0 -15
  135. package/dist/api/media-api.d.ts +8 -8
  136. package/dist/api/media-api.js +8 -20
  137. package/dist/api/messages-api.js +0 -6
  138. package/dist/api/mfaapi.js +0 -9
  139. package/dist/api/multi-channel-api.js +0 -3
  140. package/dist/api/phone-number-lookup-api.js +0 -9
  141. package/dist/api/recordings-api.js +0 -30
  142. package/dist/api/statistics-api.js +0 -3
  143. package/dist/api/toll-free-verification-api.d.ts +12 -12
  144. package/dist/api/toll-free-verification-api.js +12 -39
  145. package/dist/api/transcriptions-api.js +0 -9
  146. package/dist/common.js +2 -5
  147. package/dist/configuration.d.ts +0 -10
  148. package/dist/configuration.js +4 -3
  149. package/dist/models/business-entity-type-enum.d.ts +1 -1
  150. package/dist/models/business-entity-type-enum.js +1 -1
  151. package/dist/models/business-registration-type-enum.d.ts +1 -1
  152. package/dist/models/business-registration-type-enum.js +1 -1
  153. package/dist/models/callback.d.ts +2 -0
  154. package/dist/models/disconnect-callback.d.ts +11 -1
  155. package/dist/models/inbound-callback-message.d.ts +2 -0
  156. package/dist/models/index.d.ts +1 -0
  157. package/dist/models/index.js +1 -0
  158. package/dist/models/initiate-callback.d.ts +1 -1
  159. package/dist/models/list-message-item.d.ts +1 -1
  160. package/dist/models/multi-channel-action-calendar-event.d.ts +1 -1
  161. package/dist/models/multi-channel-action.d.ts +1 -1
  162. package/dist/models/rbm-action-base.d.ts +1 -1
  163. package/dist/models/rbm-action-dial.d.ts +1 -1
  164. package/dist/models/rbm-action-open-url.d.ts +1 -1
  165. package/dist/models/rbm-action-view-location.d.ts +1 -1
  166. package/dist/models/rbm-session.d.ts +36 -0
  167. package/dist/models/rbm-session.js +15 -0
  168. package/dist/models/rbm-suggestion-response.d.ts +2 -2
  169. package/dist/models/status-callback-message.d.ts +2 -0
  170. package/dist/models/status-callback-type-enum.d.ts +2 -1
  171. package/dist/models/status-callback-type-enum.js +2 -1
  172. package/dist/models/tfv-submission-info.d.ts +2 -2
  173. package/dist/models/transfer-disconnect-callback.d.ts +14 -0
  174. package/dist/models/verification-request.d.ts +2 -2
  175. package/dist/models/verification-update-request.d.ts +3 -3
  176. package/docs/BusinessEntityTypeEnum.md +1 -1
  177. package/docs/BusinessRegistrationTypeEnum.md +1 -1
  178. package/docs/CallsApi.md +5 -5
  179. package/docs/ConferencesApi.md +9 -9
  180. package/docs/DisconnectCallback.md +5 -1
  181. package/docs/EndpointsApi.md +5 -5
  182. package/docs/InboundCallbackMessage.md +2 -0
  183. package/docs/InitiateCallback.md +1 -1
  184. package/docs/MFAApi.md +3 -3
  185. package/docs/MediaApi.md +7 -7
  186. package/docs/MessagesApi.md +2 -2
  187. package/docs/MultiChannelAction.md +1 -1
  188. package/docs/MultiChannelActionCalendarEvent.md +1 -1
  189. package/docs/MultiChannelApi.md +1 -1
  190. package/docs/PhoneNumberLookupApi.md +3 -3
  191. package/docs/RbmActionBase.md +1 -1
  192. package/docs/RbmActionDial.md +1 -1
  193. package/docs/RbmActionOpenUrl.md +1 -1
  194. package/docs/RbmActionViewLocation.md +1 -1
  195. package/docs/RbmSession.md +29 -0
  196. package/docs/RbmSuggestionResponse.md +2 -2
  197. package/docs/RecordingsApi.md +10 -10
  198. package/docs/StatisticsApi.md +1 -1
  199. package/docs/StatusCallbackMessage.md +2 -0
  200. package/docs/StatusCallbackTypeEnum.md +3 -1
  201. package/docs/TfvSubmissionInfo.md +2 -2
  202. package/docs/TollFreeVerificationApi.md +15 -12
  203. package/docs/TranscriptionsApi.md +3 -3
  204. package/docs/TransferDisconnectCallback.md +6 -0
  205. package/docs/VerificationRequest.md +2 -2
  206. package/docs/VerificationUpdateRequest.md +3 -3
  207. package/generate.sh +6 -0
  208. package/jest.config.js +0 -6
  209. package/models/business-entity-type-enum.ts +1 -1
  210. package/models/business-registration-type-enum.ts +1 -1
  211. package/models/callback.ts +1 -1
  212. package/models/disconnect-callback.ts +9 -1
  213. package/models/inbound-callback-message.ts +4 -0
  214. package/models/index.ts +1 -0
  215. package/models/initiate-callback.ts +1 -1
  216. package/models/list-message-item.ts +1 -1
  217. package/models/multi-channel-action-calendar-event.ts +1 -1
  218. package/models/multi-channel-action.ts +1 -1
  219. package/models/rbm-action-base.ts +1 -1
  220. package/models/rbm-action-dial.ts +1 -1
  221. package/models/rbm-action-open-url.ts +1 -1
  222. package/models/rbm-action-view-location.ts +1 -1
  223. package/models/rbm-session.ts +42 -0
  224. package/models/rbm-suggestion-response.ts +2 -2
  225. package/models/status-callback-message.ts +4 -0
  226. package/models/status-callback-type-enum.ts +2 -1
  227. package/models/tfv-submission-info.ts +2 -2
  228. package/models/transfer-disconnect-callback.ts +12 -0
  229. package/models/verification-request.ts +2 -2
  230. package/models/verification-update-request.ts +3 -3
  231. package/package.json +1 -1
  232. package/tests/globals.d.ts +0 -6
  233. package/tests/smoke/calls-api.test.ts +1 -23
  234. package/tests/smoke/conferences-api.test.ts +2 -2
  235. package/tests/smoke/media-api.test.ts +4 -1
  236. package/tests/smoke/messages-api.test.ts +4 -19
  237. package/tests/smoke/mfaapi.test.ts +4 -20
  238. package/tests/smoke/multi-channel-api.test.ts +2 -2
  239. package/tests/smoke/statistics-api.test.ts +0 -24
  240. package/tests/unit/api/calls-api.test.ts +2 -1
  241. package/tests/unit/api/conferences-api.test.ts +3 -2
  242. package/tests/unit/api/media-api.test.ts +1 -0
  243. package/tests/unit/api/messages-api.test.ts +1 -0
  244. package/tests/unit/api/mfaapi.test.ts +1 -0
  245. package/tests/unit/api/multi-channel-api.test.ts +1 -0
  246. package/tests/unit/api/phone-number-lookup-api.test.ts +1 -0
  247. package/tests/unit/api/recordings-api.test.ts +2 -1
  248. package/tests/unit/api/statistics-api.test.ts +1 -0
  249. package/tests/unit/api/toll-free-verification-api.test.ts +1 -0
  250. package/tests/unit/api/transcriptions-api.test.ts +1 -0
  251. package/tests/unit/configuration.test.ts +19 -0
  252. package/tests/unit/constants.ts +6 -0
  253. package/tests/unit/models/disconnect-callback.test.ts +4 -0
  254. package/tests/unit/models/inbound-callback-message.test.ts +3 -0
  255. package/tests/unit/models/rbm-session.test.ts +19 -0
  256. package/tests/unit/models/status-callback-message.test.ts +3 -0
  257. package/tests/unit/models/status-callback-type-enum.test.ts +3 -1
  258. package/tests/unit/models/transfer-disconnect-callback.test.ts +6 -0
@@ -126,9 +126,6 @@ var StatisticsApiAxiosParamCreator = function (configuration) {
126
126
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
127
127
  localVarHeaderParameter = {};
128
128
  localVarQueryParameter = {};
129
- // authentication Basic required
130
- // http basic authentication required
131
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
132
129
  // authentication OAuth2 required
133
130
  // oauth required
134
131
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -32,7 +32,7 @@ export declare const TollFreeVerificationApiAxiosParamCreator: (configuration?:
32
32
  */
33
33
  createWebhookSubscription: (accountId: string, webhookSubscriptionRequestSchema: WebhookSubscriptionRequestSchema, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
34
34
  /**
35
- * Delete a toll-free verification submission for a toll-free number.
35
+ * Delete a toll-free verification submission for a toll-free number. **Upcoming change (effective January 2027):** If a verification for the phone number is in progress, it will be cancelled and the submission will then be deleted asynchronously.
36
36
  * @summary Delete a Toll-Free Verification Submission
37
37
  * @param {string} accountId Your Bandwidth Account ID.
38
38
  * @param {string} phoneNumber Valid Toll-Free telephone number in E.164 format.
@@ -74,7 +74,7 @@ export declare const TollFreeVerificationApiAxiosParamCreator: (configuration?:
74
74
  */
75
75
  listWebhookSubscriptions: (accountId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
76
76
  /**
77
- * Submit a request for verification of a toll-free phone number.
77
+ * Submit a request for verification of a toll-free phone number. **Upcoming change (effective January 2027):** If any phone number in the request already has a verification in progress, the request will be rejected with a `409 Conflict`. This check is all-or-nothing: if a single phone number conflicts, the entire request is rejected and **none** of the phone numbers in the request are submitted. Today, these requests are accepted with a `202`.
78
78
  * @summary Request Toll-Free Verification
79
79
  * @param {string} accountId Your Bandwidth Account ID.
80
80
  * @param {VerificationRequest} verificationRequest Request for verification of a toll-free phone number.
@@ -83,7 +83,7 @@ export declare const TollFreeVerificationApiAxiosParamCreator: (configuration?:
83
83
  */
84
84
  requestTollFreeVerification: (accountId: string, verificationRequest: VerificationRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
85
85
  /**
86
- * Updates a toll-free verification request. Submissions are only eligible for resubmission for 7 days within being processed and if resubmission is allowed (resubmitAllowed field is true).
86
+ * Updates a toll-free verification request. Submissions are only eligible for resubmission for 7 days within being processed and if resubmission is allowed (resubmitAllowed field is true). Returns a `404` if no verification request exists for the phone number, and a `400` if the existing request is not eligible for resubmission. **Upcoming change (effective January 2027):** If a verification for the phone number is in progress, the update will be rejected with a `409 Conflict`.
87
87
  * @summary Update Toll-Free Verification Request
88
88
  * @param {string} accountId Your Bandwidth Account ID.
89
89
  * @param {string} phoneNumber Valid Toll-Free telephone number in E.164 format.
@@ -117,7 +117,7 @@ export declare const TollFreeVerificationApiFp: (configuration?: Configuration)
117
117
  */
118
118
  createWebhookSubscription(accountId: string, webhookSubscriptionRequestSchema: WebhookSubscriptionRequestSchema, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebhookSubscription>>;
119
119
  /**
120
- * Delete a toll-free verification submission for a toll-free number.
120
+ * Delete a toll-free verification submission for a toll-free number. **Upcoming change (effective January 2027):** If a verification for the phone number is in progress, it will be cancelled and the submission will then be deleted asynchronously.
121
121
  * @summary Delete a Toll-Free Verification Submission
122
122
  * @param {string} accountId Your Bandwidth Account ID.
123
123
  * @param {string} phoneNumber Valid Toll-Free telephone number in E.164 format.
@@ -159,7 +159,7 @@ export declare const TollFreeVerificationApiFp: (configuration?: Configuration)
159
159
  */
160
160
  listWebhookSubscriptions(accountId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WebhookSubscriptionsListBody>>;
161
161
  /**
162
- * Submit a request for verification of a toll-free phone number.
162
+ * Submit a request for verification of a toll-free phone number. **Upcoming change (effective January 2027):** If any phone number in the request already has a verification in progress, the request will be rejected with a `409 Conflict`. This check is all-or-nothing: if a single phone number conflicts, the entire request is rejected and **none** of the phone numbers in the request are submitted. Today, these requests are accepted with a `202`.
163
163
  * @summary Request Toll-Free Verification
164
164
  * @param {string} accountId Your Bandwidth Account ID.
165
165
  * @param {VerificationRequest} verificationRequest Request for verification of a toll-free phone number.
@@ -168,7 +168,7 @@ export declare const TollFreeVerificationApiFp: (configuration?: Configuration)
168
168
  */
169
169
  requestTollFreeVerification(accountId: string, verificationRequest: VerificationRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
170
170
  /**
171
- * Updates a toll-free verification request. Submissions are only eligible for resubmission for 7 days within being processed and if resubmission is allowed (resubmitAllowed field is true).
171
+ * Updates a toll-free verification request. Submissions are only eligible for resubmission for 7 days within being processed and if resubmission is allowed (resubmitAllowed field is true). Returns a `404` if no verification request exists for the phone number, and a `400` if the existing request is not eligible for resubmission. **Upcoming change (effective January 2027):** If a verification for the phone number is in progress, the update will be rejected with a `409 Conflict`.
172
172
  * @summary Update Toll-Free Verification Request
173
173
  * @param {string} accountId Your Bandwidth Account ID.
174
174
  * @param {string} phoneNumber Valid Toll-Free telephone number in E.164 format.
@@ -202,7 +202,7 @@ export declare const TollFreeVerificationApiFactory: (configuration?: Configurat
202
202
  */
203
203
  createWebhookSubscription(accountId: string, webhookSubscriptionRequestSchema: WebhookSubscriptionRequestSchema, options?: RawAxiosRequestConfig): AxiosPromise<WebhookSubscription>;
204
204
  /**
205
- * Delete a toll-free verification submission for a toll-free number.
205
+ * Delete a toll-free verification submission for a toll-free number. **Upcoming change (effective January 2027):** If a verification for the phone number is in progress, it will be cancelled and the submission will then be deleted asynchronously.
206
206
  * @summary Delete a Toll-Free Verification Submission
207
207
  * @param {string} accountId Your Bandwidth Account ID.
208
208
  * @param {string} phoneNumber Valid Toll-Free telephone number in E.164 format.
@@ -244,7 +244,7 @@ export declare const TollFreeVerificationApiFactory: (configuration?: Configurat
244
244
  */
245
245
  listWebhookSubscriptions(accountId: string, options?: RawAxiosRequestConfig): AxiosPromise<WebhookSubscriptionsListBody>;
246
246
  /**
247
- * Submit a request for verification of a toll-free phone number.
247
+ * Submit a request for verification of a toll-free phone number. **Upcoming change (effective January 2027):** If any phone number in the request already has a verification in progress, the request will be rejected with a `409 Conflict`. This check is all-or-nothing: if a single phone number conflicts, the entire request is rejected and **none** of the phone numbers in the request are submitted. Today, these requests are accepted with a `202`.
248
248
  * @summary Request Toll-Free Verification
249
249
  * @param {string} accountId Your Bandwidth Account ID.
250
250
  * @param {VerificationRequest} verificationRequest Request for verification of a toll-free phone number.
@@ -253,7 +253,7 @@ export declare const TollFreeVerificationApiFactory: (configuration?: Configurat
253
253
  */
254
254
  requestTollFreeVerification(accountId: string, verificationRequest: VerificationRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
255
255
  /**
256
- * Updates a toll-free verification request. Submissions are only eligible for resubmission for 7 days within being processed and if resubmission is allowed (resubmitAllowed field is true).
256
+ * Updates a toll-free verification request. Submissions are only eligible for resubmission for 7 days within being processed and if resubmission is allowed (resubmitAllowed field is true). Returns a `404` if no verification request exists for the phone number, and a `400` if the existing request is not eligible for resubmission. **Upcoming change (effective January 2027):** If a verification for the phone number is in progress, the update will be rejected with a `409 Conflict`.
257
257
  * @summary Update Toll-Free Verification Request
258
258
  * @param {string} accountId Your Bandwidth Account ID.
259
259
  * @param {string} phoneNumber Valid Toll-Free telephone number in E.164 format.
@@ -287,7 +287,7 @@ export declare class TollFreeVerificationApi extends BaseAPI {
287
287
  */
288
288
  createWebhookSubscription(accountId: string, webhookSubscriptionRequestSchema: WebhookSubscriptionRequestSchema, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebhookSubscription, any, {}, any>>;
289
289
  /**
290
- * Delete a toll-free verification submission for a toll-free number.
290
+ * Delete a toll-free verification submission for a toll-free number. **Upcoming change (effective January 2027):** If a verification for the phone number is in progress, it will be cancelled and the submission will then be deleted asynchronously.
291
291
  * @summary Delete a Toll-Free Verification Submission
292
292
  * @param {string} accountId Your Bandwidth Account ID.
293
293
  * @param {string} phoneNumber Valid Toll-Free telephone number in E.164 format.
@@ -329,7 +329,7 @@ export declare class TollFreeVerificationApi extends BaseAPI {
329
329
  */
330
330
  listWebhookSubscriptions(accountId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WebhookSubscriptionsListBody, any, {}, any>>;
331
331
  /**
332
- * Submit a request for verification of a toll-free phone number.
332
+ * Submit a request for verification of a toll-free phone number. **Upcoming change (effective January 2027):** If any phone number in the request already has a verification in progress, the request will be rejected with a `409 Conflict`. This check is all-or-nothing: if a single phone number conflicts, the entire request is rejected and **none** of the phone numbers in the request are submitted. Today, these requests are accepted with a `202`.
333
333
  * @summary Request Toll-Free Verification
334
334
  * @param {string} accountId Your Bandwidth Account ID.
335
335
  * @param {VerificationRequest} verificationRequest Request for verification of a toll-free phone number.
@@ -338,7 +338,7 @@ export declare class TollFreeVerificationApi extends BaseAPI {
338
338
  */
339
339
  requestTollFreeVerification(accountId: string, verificationRequest: VerificationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
340
340
  /**
341
- * Updates a toll-free verification request. Submissions are only eligible for resubmission for 7 days within being processed and if resubmission is allowed (resubmitAllowed field is true).
341
+ * Updates a toll-free verification request. Submissions are only eligible for resubmission for 7 days within being processed and if resubmission is allowed (resubmitAllowed field is true). Returns a `404` if no verification request exists for the phone number, and a `400` if the existing request is not eligible for resubmission. **Upcoming change (effective January 2027):** If a verification for the phone number is in progress, the update will be rejected with a `409 Conflict`.
342
342
  * @summary Update Toll-Free Verification Request
343
343
  * @param {string} accountId Your Bandwidth Account ID.
344
344
  * @param {string} phoneNumber Valid Toll-Free telephone number in E.164 format.
@@ -129,9 +129,6 @@ var TollFreeVerificationApiAxiosParamCreator = function (configuration) {
129
129
  localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
130
130
  localVarHeaderParameter = {};
131
131
  localVarQueryParameter = {};
132
- // authentication Basic required
133
- // http basic authentication required
134
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
135
132
  // authentication OAuth2 required
136
133
  // oauth required
137
134
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -154,7 +151,7 @@ var TollFreeVerificationApiAxiosParamCreator = function (configuration) {
154
151
  });
155
152
  },
156
153
  /**
157
- * Delete a toll-free verification submission for a toll-free number.
154
+ * Delete a toll-free verification submission for a toll-free number. **Upcoming change (effective January 2027):** If a verification for the phone number is in progress, it will be cancelled and the submission will then be deleted asynchronously.
158
155
  * @summary Delete a Toll-Free Verification Submission
159
156
  * @param {string} accountId Your Bandwidth Account ID.
160
157
  * @param {string} phoneNumber Valid Toll-Free telephone number in E.164 format.
@@ -186,9 +183,6 @@ var TollFreeVerificationApiAxiosParamCreator = function (configuration) {
186
183
  localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
187
184
  localVarHeaderParameter = {};
188
185
  localVarQueryParameter = {};
189
- // authentication Basic required
190
- // http basic authentication required
191
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
192
186
  // authentication OAuth2 required
193
187
  // oauth required
194
188
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -241,9 +235,6 @@ var TollFreeVerificationApiAxiosParamCreator = function (configuration) {
241
235
  localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
242
236
  localVarHeaderParameter = {};
243
237
  localVarQueryParameter = {};
244
- // authentication Basic required
245
- // http basic authentication required
246
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
247
238
  // authentication OAuth2 required
248
239
  // oauth required
249
240
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -296,9 +287,6 @@ var TollFreeVerificationApiAxiosParamCreator = function (configuration) {
296
287
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
297
288
  localVarHeaderParameter = {};
298
289
  localVarQueryParameter = {};
299
- // authentication Basic required
300
- // http basic authentication required
301
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
302
290
  // authentication OAuth2 required
303
291
  // oauth required
304
292
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -343,9 +331,6 @@ var TollFreeVerificationApiAxiosParamCreator = function (configuration) {
343
331
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
344
332
  localVarHeaderParameter = {};
345
333
  localVarQueryParameter = {};
346
- // authentication Basic required
347
- // http basic authentication required
348
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
349
334
  // authentication OAuth2 required
350
335
  // oauth required
351
336
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -394,9 +379,6 @@ var TollFreeVerificationApiAxiosParamCreator = function (configuration) {
394
379
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
395
380
  localVarHeaderParameter = {};
396
381
  localVarQueryParameter = {};
397
- // authentication Basic required
398
- // http basic authentication required
399
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
400
382
  // authentication OAuth2 required
401
383
  // oauth required
402
384
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -417,7 +399,7 @@ var TollFreeVerificationApiAxiosParamCreator = function (configuration) {
417
399
  });
418
400
  },
419
401
  /**
420
- * Submit a request for verification of a toll-free phone number.
402
+ * Submit a request for verification of a toll-free phone number. **Upcoming change (effective January 2027):** If any phone number in the request already has a verification in progress, the request will be rejected with a `409 Conflict`. This check is all-or-nothing: if a single phone number conflicts, the entire request is rejected and **none** of the phone numbers in the request are submitted. Today, these requests are accepted with a `202`.
421
403
  * @summary Request Toll-Free Verification
422
404
  * @param {string} accountId Your Bandwidth Account ID.
423
405
  * @param {VerificationRequest} verificationRequest Request for verification of a toll-free phone number.
@@ -448,9 +430,6 @@ var TollFreeVerificationApiAxiosParamCreator = function (configuration) {
448
430
  localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
449
431
  localVarHeaderParameter = {};
450
432
  localVarQueryParameter = {};
451
- // authentication Basic required
452
- // http basic authentication required
453
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
454
433
  // authentication OAuth2 required
455
434
  // oauth required
456
435
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -473,7 +452,7 @@ var TollFreeVerificationApiAxiosParamCreator = function (configuration) {
473
452
  });
474
453
  },
475
454
  /**
476
- * Updates a toll-free verification request. Submissions are only eligible for resubmission for 7 days within being processed and if resubmission is allowed (resubmitAllowed field is true).
455
+ * Updates a toll-free verification request. Submissions are only eligible for resubmission for 7 days within being processed and if resubmission is allowed (resubmitAllowed field is true). Returns a `404` if no verification request exists for the phone number, and a `400` if the existing request is not eligible for resubmission. **Upcoming change (effective January 2027):** If a verification for the phone number is in progress, the update will be rejected with a `409 Conflict`.
477
456
  * @summary Update Toll-Free Verification Request
478
457
  * @param {string} accountId Your Bandwidth Account ID.
479
458
  * @param {string} phoneNumber Valid Toll-Free telephone number in E.164 format.
@@ -508,9 +487,6 @@ var TollFreeVerificationApiAxiosParamCreator = function (configuration) {
508
487
  localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
509
488
  localVarHeaderParameter = {};
510
489
  localVarQueryParameter = {};
511
- // authentication Basic required
512
- // http basic authentication required
513
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
514
490
  // authentication OAuth2 required
515
491
  // oauth required
516
492
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -568,9 +544,6 @@ var TollFreeVerificationApiAxiosParamCreator = function (configuration) {
568
544
  localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
569
545
  localVarHeaderParameter = {};
570
546
  localVarQueryParameter = {};
571
- // authentication Basic required
572
- // http basic authentication required
573
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
574
547
  // authentication OAuth2 required
575
548
  // oauth required
576
549
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -626,7 +599,7 @@ var TollFreeVerificationApiFp = function (configuration) {
626
599
  });
627
600
  },
628
601
  /**
629
- * Delete a toll-free verification submission for a toll-free number.
602
+ * Delete a toll-free verification submission for a toll-free number. **Upcoming change (effective January 2027):** If a verification for the phone number is in progress, it will be cancelled and the submission will then be deleted asynchronously.
630
603
  * @summary Delete a Toll-Free Verification Submission
631
604
  * @param {string} accountId Your Bandwidth Account ID.
632
605
  * @param {string} phoneNumber Valid Toll-Free telephone number in E.164 format.
@@ -743,7 +716,7 @@ var TollFreeVerificationApiFp = function (configuration) {
743
716
  });
744
717
  },
745
718
  /**
746
- * Submit a request for verification of a toll-free phone number.
719
+ * Submit a request for verification of a toll-free phone number. **Upcoming change (effective January 2027):** If any phone number in the request already has a verification in progress, the request will be rejected with a `409 Conflict`. This check is all-or-nothing: if a single phone number conflicts, the entire request is rejected and **none** of the phone numbers in the request are submitted. Today, these requests are accepted with a `202`.
747
720
  * @summary Request Toll-Free Verification
748
721
  * @param {string} accountId Your Bandwidth Account ID.
749
722
  * @param {VerificationRequest} verificationRequest Request for verification of a toll-free phone number.
@@ -767,7 +740,7 @@ var TollFreeVerificationApiFp = function (configuration) {
767
740
  });
768
741
  },
769
742
  /**
770
- * Updates a toll-free verification request. Submissions are only eligible for resubmission for 7 days within being processed and if resubmission is allowed (resubmitAllowed field is true).
743
+ * Updates a toll-free verification request. Submissions are only eligible for resubmission for 7 days within being processed and if resubmission is allowed (resubmitAllowed field is true). Returns a `404` if no verification request exists for the phone number, and a `400` if the existing request is not eligible for resubmission. **Upcoming change (effective January 2027):** If a verification for the phone number is in progress, the update will be rejected with a `409 Conflict`.
771
744
  * @summary Update Toll-Free Verification Request
772
745
  * @param {string} accountId Your Bandwidth Account ID.
773
746
  * @param {string} phoneNumber Valid Toll-Free telephone number in E.164 format.
@@ -837,7 +810,7 @@ var TollFreeVerificationApiFactory = function (configuration, basePath, axios) {
837
810
  return localVarFp.createWebhookSubscription(accountId, webhookSubscriptionRequestSchema, options).then(function (request) { return request(axios, basePath); });
838
811
  },
839
812
  /**
840
- * Delete a toll-free verification submission for a toll-free number.
813
+ * Delete a toll-free verification submission for a toll-free number. **Upcoming change (effective January 2027):** If a verification for the phone number is in progress, it will be cancelled and the submission will then be deleted asynchronously.
841
814
  * @summary Delete a Toll-Free Verification Submission
842
815
  * @param {string} accountId Your Bandwidth Account ID.
843
816
  * @param {string} phoneNumber Valid Toll-Free telephone number in E.164 format.
@@ -889,7 +862,7 @@ var TollFreeVerificationApiFactory = function (configuration, basePath, axios) {
889
862
  return localVarFp.listWebhookSubscriptions(accountId, options).then(function (request) { return request(axios, basePath); });
890
863
  },
891
864
  /**
892
- * Submit a request for verification of a toll-free phone number.
865
+ * Submit a request for verification of a toll-free phone number. **Upcoming change (effective January 2027):** If any phone number in the request already has a verification in progress, the request will be rejected with a `409 Conflict`. This check is all-or-nothing: if a single phone number conflicts, the entire request is rejected and **none** of the phone numbers in the request are submitted. Today, these requests are accepted with a `202`.
893
866
  * @summary Request Toll-Free Verification
894
867
  * @param {string} accountId Your Bandwidth Account ID.
895
868
  * @param {VerificationRequest} verificationRequest Request for verification of a toll-free phone number.
@@ -900,7 +873,7 @@ var TollFreeVerificationApiFactory = function (configuration, basePath, axios) {
900
873
  return localVarFp.requestTollFreeVerification(accountId, verificationRequest, options).then(function (request) { return request(axios, basePath); });
901
874
  },
902
875
  /**
903
- * Updates a toll-free verification request. Submissions are only eligible for resubmission for 7 days within being processed and if resubmission is allowed (resubmitAllowed field is true).
876
+ * Updates a toll-free verification request. Submissions are only eligible for resubmission for 7 days within being processed and if resubmission is allowed (resubmitAllowed field is true). Returns a `404` if no verification request exists for the phone number, and a `400` if the existing request is not eligible for resubmission. **Upcoming change (effective January 2027):** If a verification for the phone number is in progress, the update will be rejected with a `409 Conflict`.
904
877
  * @summary Update Toll-Free Verification Request
905
878
  * @param {string} accountId Your Bandwidth Account ID.
906
879
  * @param {string} phoneNumber Valid Toll-Free telephone number in E.164 format.
@@ -947,7 +920,7 @@ var TollFreeVerificationApi = /** @class */ (function (_super) {
947
920
  return (0, exports.TollFreeVerificationApiFp)(this.configuration).createWebhookSubscription(accountId, webhookSubscriptionRequestSchema, options).then(function (request) { return request(_this.axios, _this.basePath); });
948
921
  };
949
922
  /**
950
- * Delete a toll-free verification submission for a toll-free number.
923
+ * Delete a toll-free verification submission for a toll-free number. **Upcoming change (effective January 2027):** If a verification for the phone number is in progress, it will be cancelled and the submission will then be deleted asynchronously.
951
924
  * @summary Delete a Toll-Free Verification Submission
952
925
  * @param {string} accountId Your Bandwidth Account ID.
953
926
  * @param {string} phoneNumber Valid Toll-Free telephone number in E.164 format.
@@ -1004,7 +977,7 @@ var TollFreeVerificationApi = /** @class */ (function (_super) {
1004
977
  return (0, exports.TollFreeVerificationApiFp)(this.configuration).listWebhookSubscriptions(accountId, options).then(function (request) { return request(_this.axios, _this.basePath); });
1005
978
  };
1006
979
  /**
1007
- * Submit a request for verification of a toll-free phone number.
980
+ * Submit a request for verification of a toll-free phone number. **Upcoming change (effective January 2027):** If any phone number in the request already has a verification in progress, the request will be rejected with a `409 Conflict`. This check is all-or-nothing: if a single phone number conflicts, the entire request is rejected and **none** of the phone numbers in the request are submitted. Today, these requests are accepted with a `202`.
1008
981
  * @summary Request Toll-Free Verification
1009
982
  * @param {string} accountId Your Bandwidth Account ID.
1010
983
  * @param {VerificationRequest} verificationRequest Request for verification of a toll-free phone number.
@@ -1016,7 +989,7 @@ var TollFreeVerificationApi = /** @class */ (function (_super) {
1016
989
  return (0, exports.TollFreeVerificationApiFp)(this.configuration).requestTollFreeVerification(accountId, verificationRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
1017
990
  };
1018
991
  /**
1019
- * Updates a toll-free verification request. Submissions are only eligible for resubmission for 7 days within being processed and if resubmission is allowed (resubmitAllowed field is true).
992
+ * Updates a toll-free verification request. Submissions are only eligible for resubmission for 7 days within being processed and if resubmission is allowed (resubmitAllowed field is true). Returns a `404` if no verification request exists for the phone number, and a `400` if the existing request is not eligible for resubmission. **Upcoming change (effective January 2027):** If a verification for the phone number is in progress, the update will be rejected with a `409 Conflict`.
1020
993
  * @summary Update Toll-Free Verification Request
1021
994
  * @param {string} accountId Your Bandwidth Account ID.
1022
995
  * @param {string} phoneNumber Valid Toll-Free telephone number in E.164 format.
@@ -134,9 +134,6 @@ var TranscriptionsApiAxiosParamCreator = function (configuration) {
134
134
  localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
135
135
  localVarHeaderParameter = {};
136
136
  localVarQueryParameter = {};
137
- // authentication Basic required
138
- // http basic authentication required
139
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
140
137
  // authentication OAuth2 required
141
138
  // oauth required
142
139
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -193,9 +190,6 @@ var TranscriptionsApiAxiosParamCreator = function (configuration) {
193
190
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
194
191
  localVarHeaderParameter = {};
195
192
  localVarQueryParameter = {};
196
- // authentication Basic required
197
- // http basic authentication required
198
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
199
193
  // authentication OAuth2 required
200
194
  // oauth required
201
195
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
@@ -248,9 +242,6 @@ var TranscriptionsApiAxiosParamCreator = function (configuration) {
248
242
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
249
243
  localVarHeaderParameter = {};
250
244
  localVarQueryParameter = {};
251
- // authentication Basic required
252
- // http basic authentication required
253
- (0, common_1.setBasicAuthToObject)(localVarRequestOptions, configuration);
254
245
  // authentication OAuth2 required
255
246
  // oauth required
256
247
  return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "OAuth2", [], configuration)];
package/dist/common.js CHANGED
@@ -99,11 +99,8 @@ var setApiKeyToObject = function (object, keyParamName, configuration) {
99
99
  });
100
100
  };
101
101
  exports.setApiKeyToObject = setApiKeyToObject;
102
- var setBasicAuthToObject = function (object, configuration) {
103
- if (configuration && (configuration.username || configuration.password)) {
104
- object["auth"] = { username: configuration.username, password: configuration.password };
105
- }
106
- };
102
+ // No-op: kept because the generated API files import it unconditionally.
103
+ var setBasicAuthToObject = function (object, configuration) { };
107
104
  exports.setBasicAuthToObject = setBasicAuthToObject;
108
105
  var setBearerAuthToObject = function (object, configuration) {
109
106
  return __awaiter(this, void 0, void 0, function () {
@@ -22,8 +22,6 @@ interface AWSv4Configuration {
22
22
  }
23
23
  export interface ConfigurationParameters {
24
24
  apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
25
- username?: string;
26
- password?: string;
27
25
  clientId?: string;
28
26
  clientSecret?: string;
29
27
  accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
@@ -40,14 +38,6 @@ export declare class Configuration {
40
38
  * @param name security name
41
39
  */
42
40
  apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
43
- /**
44
- * parameter for basic security
45
- */
46
- username?: string;
47
- /**
48
- * parameter for basic security
49
- */
50
- password?: string;
51
41
  /**
52
42
  * parameter for client ID
53
43
  */
@@ -66,9 +66,10 @@ var Configuration = /** @class */ (function () {
66
66
  if (param === void 0) { param = {}; }
67
67
  var _this = this;
68
68
  var _a, _b, _c;
69
+ if ('username' in param || 'password' in param) {
70
+ throw new Error('Basic authentication is no longer supported. Use `clientId` and `clientSecret` instead.');
71
+ }
69
72
  this.apiKey = param.apiKey;
70
- this.username = param.username;
71
- this.password = param.password;
72
73
  this.clientId = param.clientId;
73
74
  this.clientSecret = param.clientSecret;
74
75
  this.tempAccessToken;
@@ -104,7 +105,7 @@ var Configuration = /** @class */ (function () {
104
105
  this.awsv4 = param.awsv4;
105
106
  this.basePath = param.basePath;
106
107
  this.serverIndex = param.serverIndex;
107
- this.baseOptions = __assign(__assign({}, param.baseOptions), { headers: __assign(__assign({}, (_c = param.baseOptions) === null || _c === void 0 ? void 0 : _c.headers), { 'User-Agent': "OpenAPI-Generator/8.3.0/typescript-axios" }) });
108
+ this.baseOptions = __assign(__assign({}, param.baseOptions), { headers: __assign(__assign({}, (_c = param.baseOptions) === null || _c === void 0 ? void 0 : _c.headers), { 'User-Agent': "OpenAPI-Generator/9.0.0/typescript-axios" }) });
108
109
  this.formDataCtor = param.formDataCtor;
109
110
  }
110
111
  /**
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- * The type of registered business. **Note: As of October 19th, 2026 submissions using a value other than `SOLE_PROPRIETOR` must provide a value for `businessRegistrationNumber`, `businessRegistrationType`, and `businessRegistrationIssuingCountry`. Submissions using `SOLE_PROPRIETOR` must _omit_ `businessRegistrationNumber`, `businessRegistrationType`, and `businessRegistrationIssuingCountry`. Failure to adhere to these constraints will result in a 400 Bad Request rejection.**
13
+ * The type of registered business. **As of October 19th, 2026 submissions using a value other than `SOLE_PROPRIETOR` must provide a value for `businessRegistrationNumber`, `businessRegistrationType`, and `businessRegistrationIssuingCountry`. Submissions using `SOLE_PROPRIETOR` must _omit_ `businessRegistrationNumber`, `businessRegistrationType`, and `businessRegistrationIssuingCountry`. Failure to adhere to these constraints will result in a 400 Bad Request rejection.**
14
14
  */
15
15
  export declare const BusinessEntityTypeEnum: {
16
16
  readonly SoleProprietor: "SOLE_PROPRIETOR";
@@ -15,7 +15,7 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.BusinessEntityTypeEnum = void 0;
17
17
  /**
18
- * The type of registered business. **Note: As of October 19th, 2026 submissions using a value other than `SOLE_PROPRIETOR` must provide a value for `businessRegistrationNumber`, `businessRegistrationType`, and `businessRegistrationIssuingCountry`. Submissions using `SOLE_PROPRIETOR` must _omit_ `businessRegistrationNumber`, `businessRegistrationType`, and `businessRegistrationIssuingCountry`. Failure to adhere to these constraints will result in a 400 Bad Request rejection.**
18
+ * The type of registered business. **As of October 19th, 2026 submissions using a value other than `SOLE_PROPRIETOR` must provide a value for `businessRegistrationNumber`, `businessRegistrationType`, and `businessRegistrationIssuingCountry`. Submissions using `SOLE_PROPRIETOR` must _omit_ `businessRegistrationNumber`, `businessRegistrationType`, and `businessRegistrationIssuingCountry`. Failure to adhere to these constraints will result in a 400 Bad Request rejection.**
19
19
  */
20
20
  exports.BusinessEntityTypeEnum = {
21
21
  SoleProprietor: 'SOLE_PROPRIETOR',
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- * The type of business registration number. **Note: As of October 19th, 2026 this field will be required when `businessRegistrationNumber` is provided.**
13
+ * The type of business registration number. **As of October 19th, 2026 this field is required when `businessRegistrationNumber` is provided.**
14
14
  */
15
15
  export declare const BusinessRegistrationTypeEnum: {
16
16
  readonly Ein: "EIN";
@@ -15,7 +15,7 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.BusinessRegistrationTypeEnum = void 0;
17
17
  /**
18
- * The type of business registration number. **Note: As of October 19th, 2026 this field will be required when `businessRegistrationNumber` is provided.**
18
+ * The type of business registration number. **As of October 19th, 2026 this field is required when `businessRegistrationNumber` is provided.**
19
19
  */
20
20
  exports.BusinessRegistrationTypeEnum = {
21
21
  Ein: 'EIN',
@@ -30,5 +30,7 @@ export type Callback = {
30
30
  } & StatusCallback | {
31
31
  type: 'requested-location-response';
32
32
  } & InboundCallback | {
33
+ type: 'session-started';
34
+ } & StatusCallback | {
33
35
  type: 'suggestion-response';
34
36
  } & InboundCallback;
@@ -84,7 +84,17 @@ export interface DisconnectCallback {
84
84
  */
85
85
  'sipCallId'?: string;
86
86
  /**
87
- * (optional) The SIP status code returned by Bandwidth\'s SBC when it rejected an outbound call\'s INVITE (e.g. 486 for busy, 603 for decline). Present only when an outbound call was rejected by the SBC.
87
+ * (optional) The SIP status code of the final response that rejected an outbound call\'s (or transferred leg\'s) INVITE (e.g. 486 for busy, 603 for decline). Present only when the call was rejected with a SIP response.
88
88
  */
89
89
  'sipResponseCode'?: number;
90
+ /**
91
+ * (optional) The full SIP status line, exactly as received, of the final response that rejected an outbound call\'s INVITE. The reason phrase can help distinguish outcomes that share a status code, such as `603 Network Blocked` and `603 Decline`. Present only when an outbound call was rejected with a SIP response.
92
+ */
93
+ 'sipStatusLine'?: string;
94
+ /**
95
+ * (optional) Map of SIP headers, with lowercase keys (SIP headers are case-insensitive). On the Initiate callback, contains the customer-supplied X-* headers from the original INVITE; present only for inbound SIP URI calls with custom headers. On the Disconnect and Transfer Disconnect callbacks, contains a single `reason` key holding the raw, unmodified `Reason` header value from the final SIP response that rejected an outbound call (or transferred leg); present only when that response included a `Reason` header (for example, `v=analytics1` call-analytics block information from a terminating carrier). If the response carries more than one `Reason` header, all values are returned in the order received, separated by `, `. Note - on the Initiate callback, keys preserve the original SIP header name in lowercase rather than Bandwidth\'s usual camelCase JSON convention, since these are passthrough values from the caller\'s SIP INVITE, not Bandwidth-defined fields. If the same header name is sent more than once in the INVITE, only the last value is kept. The example shown is for the Initiate callback; on the Disconnect and Transfer Disconnect callbacks the only key is `reason`.
96
+ */
97
+ 'sipHeaders'?: {
98
+ [key: string]: string;
99
+ };
90
100
  }
@@ -14,6 +14,7 @@ import type { MultiChannelMessageChannelEnum } from './multi-channel-message-cha
14
14
  import type { MultiChannelMessageContent } from './multi-channel-message-content';
15
15
  import type { PriorityEnum } from './priority-enum';
16
16
  import type { RbmLocationResponse } from './rbm-location-response';
17
+ import type { RbmSession } from './rbm-session';
17
18
  import type { RbmSuggestionResponse } from './rbm-suggestion-response';
18
19
  /**
19
20
  * @type InboundCallbackMessage
@@ -56,6 +57,7 @@ export interface InboundCallbackMessage {
56
57
  'media'?: Array<string>;
57
58
  'priority'?: PriorityEnum;
58
59
  'channel'?: MultiChannelMessageChannelEnum;
60
+ 'session'?: RbmSession;
59
61
  'content'?: MultiChannelMessageContent;
60
62
  'suggestionResponse'?: RbmSuggestionResponse;
61
63
  'locationResponse'?: RbmLocationResponse;
@@ -144,6 +144,7 @@ export * from './rbm-message-content-rich-card';
144
144
  export * from './rbm-message-content-text';
145
145
  export * from './rbm-message-media';
146
146
  export * from './rbm-open-url-enum';
147
+ export * from './rbm-session';
147
148
  export * from './rbm-standalone-card';
148
149
  export * from './rbm-suggestion-response';
149
150
  export * from './rbm-web-view-enum';
@@ -160,6 +160,7 @@ __exportStar(require("./rbm-message-content-rich-card"), exports);
160
160
  __exportStar(require("./rbm-message-content-text"), exports);
161
161
  __exportStar(require("./rbm-message-media"), exports);
162
162
  __exportStar(require("./rbm-open-url-enum"), exports);
163
+ __exportStar(require("./rbm-session"), exports);
163
164
  __exportStar(require("./rbm-standalone-card"), exports);
164
165
  __exportStar(require("./rbm-suggestion-response"), exports);
165
166
  __exportStar(require("./rbm-web-view-enum"), exports);
@@ -64,7 +64,7 @@ export interface InitiateCallback {
64
64
  */
65
65
  'sipCallId'?: string;
66
66
  /**
67
- * (optional) Map of customer-supplied X-* headers from the original INVITE. Keys are lowercase (SIP headers are case-insensitive). Present only for inbound SIP URI calls with custom headers. Note - keys preserve the original SIP header name in lowercase rather than Bandwidth\'s usual camelCase JSON convention, since these are passthrough values from the caller\'s SIP INVITE, not Bandwidth-defined fields. If the same header name is sent more than once in the INVITE, only the last value is kept.
67
+ * (optional) Map of SIP headers, with lowercase keys (SIP headers are case-insensitive). On the Initiate callback, contains the customer-supplied X-* headers from the original INVITE; present only for inbound SIP URI calls with custom headers. On the Disconnect and Transfer Disconnect callbacks, contains a single `reason` key holding the raw, unmodified `Reason` header value from the final SIP response that rejected an outbound call (or transferred leg); present only when that response included a `Reason` header (for example, `v=analytics1` call-analytics block information from a terminating carrier). If the response carries more than one `Reason` header, all values are returned in the order received, separated by `, `. Note - on the Initiate callback, keys preserve the original SIP header name in lowercase rather than Bandwidth\'s usual camelCase JSON convention, since these are passthrough values from the caller\'s SIP INVITE, not Bandwidth-defined fields. If the same header name is sent more than once in the INVITE, only the last value is kept. The example shown is for the Initiate callback; on the Disconnect and Transfer Disconnect callbacks the only key is `reason`.
68
68
  */
69
69
  'sipHeaders'?: {
70
70
  [key: string]: string;
@@ -55,7 +55,7 @@ export interface ListMessageItem {
55
55
  /**
56
56
  * The length of the message content.
57
57
  */
58
- 'messageLength'?: number;
58
+ 'messageLength'?: number | null;
59
59
  /**
60
60
  * The number of attachments the message has.
61
61
  */
@@ -20,7 +20,7 @@ export interface MultiChannelActionCalendarEvent {
20
20
  */
21
21
  'text': string;
22
22
  /**
23
- * Base64 payload the customer receives when the reply is clicked.
23
+ * Payload the customer receives when the reply is clicked.
24
24
  */
25
25
  'postbackData': string;
26
26
  /**
@@ -19,7 +19,7 @@ export interface MultiChannelAction {
19
19
  */
20
20
  'text': string;
21
21
  /**
22
- * Base64 payload the customer receives when the reply is clicked.
22
+ * Payload the customer receives when the reply is clicked.
23
23
  */
24
24
  'postbackData': string;
25
25
  /**
@@ -17,7 +17,7 @@ export interface RbmActionBase {
17
17
  */
18
18
  'text': string;
19
19
  /**
20
- * Base64 payload the customer receives when the reply is clicked.
20
+ * Payload the customer receives when the reply is clicked.
21
21
  */
22
22
  'postbackData': string;
23
23
  }
@@ -20,7 +20,7 @@ export interface RbmActionDial {
20
20
  */
21
21
  'text': string;
22
22
  /**
23
- * Base64 payload the customer receives when the reply is clicked.
23
+ * Payload the customer receives when the reply is clicked.
24
24
  */
25
25
  'postbackData': string;
26
26
  /**
@@ -22,7 +22,7 @@ export interface RbmActionOpenUrl {
22
22
  */
23
23
  'text': string;
24
24
  /**
25
- * Base64 payload the customer receives when the reply is clicked.
25
+ * Payload the customer receives when the reply is clicked.
26
26
  */
27
27
  'postbackData': string;
28
28
  /**
@@ -20,7 +20,7 @@ export interface RbmActionViewLocation {
20
20
  */
21
21
  'text': string;
22
22
  /**
23
- * Base64 payload the customer receives when the reply is clicked.
23
+ * Payload the customer receives when the reply is clicked.
24
24
  */
25
25
  'postbackData': string;
26
26
  /**