bandwidth-sdk 8.3.0 → 8.3.1
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.
- package/.github/CODEOWNERS +0 -3
- package/.github/workflows/deploy.yml +1 -11
- package/api/media-api.ts +8 -8
- package/api/toll-free-verification-api.ts +12 -12
- package/bandwidth.yml +56 -13
- package/configuration.ts +1 -1
- package/coverage/clover.xml +2 -2
- package/coverage/lcov-report/index.html +1 -1
- package/coverage/lcov-report/node-sdk/api/calls-api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api/conferences-api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api/endpoints-api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api/index.html +1 -1
- package/coverage/lcov-report/node-sdk/api/media-api.ts.html +9 -9
- package/coverage/lcov-report/node-sdk/api/messages-api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api/mfaapi.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api/multi-channel-api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api/phone-number-lookup-api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api/recordings-api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api/statistics-api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api/toll-free-verification-api.ts.html +13 -13
- package/coverage/lcov-report/node-sdk/api/transcriptions-api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/api.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/base.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/common.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/configuration.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/index.html +1 -1
- package/coverage/lcov-report/node-sdk/models/business-entity-type-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/business-registration-type-enum.ts.html +2 -2
- package/coverage/lcov-report/node-sdk/models/bxml/Bxml.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/NestableVerb.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/Response.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/Root.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/Verb.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/index.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/index.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Bridge.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Conference.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Connect.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/CustomParam.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Endpoint.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Forward.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Gather.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Hangup.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Pause.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/PauseRecording.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/PhoneNumber.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/PlayAudio.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Record.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Redirect.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Refer.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/ResumeRecording.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Ring.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/SendDtmf.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/SipUri.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/SpeakSentence.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartGather.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartRecording.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartStream.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StartTranscription.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopGather.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopRecording.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopStream.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StopTranscription.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/StreamParam.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Tag.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/Transfer.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/index.html +1 -1
- package/coverage/lcov-report/node-sdk/models/bxml/verbs/index.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/call-direction-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/call-state-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/call-transcription-detected-language-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/call-transcription-track-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/callback-method-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/card-width-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/completed-lookup-status-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/conference-state-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/deactivation-event-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/device-status-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/endpoint-direction-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/endpoint-event-type-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/endpoint-status-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/endpoint-type-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/file-format-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/in-progress-lookup-status-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/inbound-callback-type-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/index.html +1 -1
- package/coverage/lcov-report/node-sdk/models/index.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/latest-message-delivery-status-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/line-type-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/list-message-direction-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/machine-detection-mode-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/message-direction-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/message-status-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/message-type-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/multi-channel-message-channel-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/priority-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/product-type-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/rbm-action-type-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/rbm-media-height-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/rbm-open-url-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/rbm-web-view-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/recording-state-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/redirect-method-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/refer-call-status-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/standalone-card-orientation-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/status-callback-type-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/tfv-callback-status-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/tfv-status-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/thumbnail-alignment-enum.ts.html +1 -1
- package/coverage/lcov-report/node-sdk/models/webhook-subscription-type-enum.ts.html +1 -1
- package/dist/api/media-api.d.ts +8 -8
- package/dist/api/media-api.js +8 -8
- package/dist/api/toll-free-verification-api.d.ts +12 -12
- package/dist/api/toll-free-verification-api.js +12 -12
- package/dist/configuration.js +1 -1
- package/dist/models/business-entity-type-enum.d.ts +1 -1
- package/dist/models/business-entity-type-enum.js +1 -1
- package/dist/models/business-registration-type-enum.d.ts +1 -1
- package/dist/models/business-registration-type-enum.js +1 -1
- package/dist/models/tfv-submission-info.d.ts +2 -2
- package/dist/models/verification-request.d.ts +2 -2
- package/dist/models/verification-update-request.d.ts +3 -3
- package/docs/BusinessEntityTypeEnum.md +1 -1
- package/docs/BusinessRegistrationTypeEnum.md +1 -1
- package/docs/MediaApi.md +3 -3
- package/docs/TfvSubmissionInfo.md +2 -2
- package/docs/TollFreeVerificationApi.md +6 -3
- package/docs/VerificationRequest.md +2 -2
- package/docs/VerificationUpdateRequest.md +3 -3
- package/generate.sh +6 -0
- package/models/business-entity-type-enum.ts +1 -1
- package/models/business-registration-type-enum.ts +1 -1
- package/models/tfv-submission-info.ts +2 -2
- package/models/verification-request.ts +2 -2
- package/models/verification-update-request.ts +3 -3
- package/package.json +1 -1
package/.github/CODEOWNERS
CHANGED
|
@@ -51,18 +51,8 @@ jobs:
|
|
|
51
51
|
- name: Checkout
|
|
52
52
|
uses: actions/checkout@v7
|
|
53
53
|
|
|
54
|
-
- name: Set OpenAPI Generator Version
|
|
55
|
-
run: |
|
|
56
|
-
OPENAPI_VERSION=$(jq .[\"generator-cli\"].version openapitools.json)
|
|
57
|
-
echo "OPENAPI_GENERATOR_VERSION=$OPENAPI_VERSION" >> $GITHUB_ENV
|
|
58
|
-
shell: bash
|
|
59
|
-
|
|
60
54
|
- name: Generate SDK with Updated Version
|
|
61
|
-
|
|
62
|
-
with:
|
|
63
|
-
openapi-generator-version: ${{ env.OPENAPI_GENERATOR_VERSION }}
|
|
64
|
-
language: typescript-axios
|
|
65
|
-
additional-properties: --additional-properties=npmVersion=$PACKAGE_VERSION
|
|
55
|
+
run: bash generate.sh --additional-properties=npmVersion=$PACKAGE_VERSION
|
|
66
56
|
|
|
67
57
|
- name: Setup Node
|
|
68
58
|
uses: actions/setup-node@v7
|
package/api/media-api.ts
CHANGED
|
@@ -169,13 +169,13 @@ export const MediaApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
169
169
|
};
|
|
170
170
|
},
|
|
171
171
|
/**
|
|
172
|
-
* Upload a file.
|
|
172
|
+
* Upload a file. Filename should always be unique. Reusing filenames may result in the wrong media being sent. 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).
|
|
173
173
|
* @summary Upload Media
|
|
174
174
|
* @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.**
|
|
175
175
|
* @param {string} mediaId The ID of the media file.
|
|
176
176
|
* @param {File} body
|
|
177
177
|
* @param {string} [contentType] The media type of the entity-body.
|
|
178
|
-
* @param {string} [cacheControl]
|
|
178
|
+
* @param {string} [cacheControl] Pass-through header stored with the media and returned when the media is retrieved by the user. Does not affect internal server caching behavior.
|
|
179
179
|
* @param {*} [options] Override http request option.
|
|
180
180
|
* @throws {RequiredError}
|
|
181
181
|
*/
|
|
@@ -279,13 +279,13 @@ export const MediaApiFp = function(configuration?: Configuration) {
|
|
|
279
279
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
280
280
|
},
|
|
281
281
|
/**
|
|
282
|
-
* Upload a file.
|
|
282
|
+
* Upload a file. Filename should always be unique. Reusing filenames may result in the wrong media being sent. 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).
|
|
283
283
|
* @summary Upload Media
|
|
284
284
|
* @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.**
|
|
285
285
|
* @param {string} mediaId The ID of the media file.
|
|
286
286
|
* @param {File} body
|
|
287
287
|
* @param {string} [contentType] The media type of the entity-body.
|
|
288
|
-
* @param {string} [cacheControl]
|
|
288
|
+
* @param {string} [cacheControl] Pass-through header stored with the media and returned when the media is retrieved by the user. Does not affect internal server caching behavior.
|
|
289
289
|
* @param {*} [options] Override http request option.
|
|
290
290
|
* @throws {RequiredError}
|
|
291
291
|
*/
|
|
@@ -338,13 +338,13 @@ export const MediaApiFactory = function (configuration?: Configuration, basePath
|
|
|
338
338
|
return localVarFp.listMedia(accountId, continuationToken, options).then((request) => request(axios, basePath));
|
|
339
339
|
},
|
|
340
340
|
/**
|
|
341
|
-
* Upload a file.
|
|
341
|
+
* Upload a file. Filename should always be unique. Reusing filenames may result in the wrong media being sent. 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).
|
|
342
342
|
* @summary Upload Media
|
|
343
343
|
* @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.**
|
|
344
344
|
* @param {string} mediaId The ID of the media file.
|
|
345
345
|
* @param {File} body
|
|
346
346
|
* @param {string} [contentType] The media type of the entity-body.
|
|
347
|
-
* @param {string} [cacheControl]
|
|
347
|
+
* @param {string} [cacheControl] Pass-through header stored with the media and returned when the media is retrieved by the user. Does not affect internal server caching behavior.
|
|
348
348
|
* @param {*} [options] Override http request option.
|
|
349
349
|
* @throws {RequiredError}
|
|
350
350
|
*/
|
|
@@ -395,13 +395,13 @@ export class MediaApi extends BaseAPI {
|
|
|
395
395
|
}
|
|
396
396
|
|
|
397
397
|
/**
|
|
398
|
-
* Upload a file.
|
|
398
|
+
* Upload a file. Filename should always be unique. Reusing filenames may result in the wrong media being sent. 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).
|
|
399
399
|
* @summary Upload Media
|
|
400
400
|
* @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.**
|
|
401
401
|
* @param {string} mediaId The ID of the media file.
|
|
402
402
|
* @param {File} body
|
|
403
403
|
* @param {string} [contentType] The media type of the entity-body.
|
|
404
|
-
* @param {string} [cacheControl]
|
|
404
|
+
* @param {string} [cacheControl] Pass-through header stored with the media and returned when the media is retrieved by the user. Does not affect internal server caching behavior.
|
|
405
405
|
* @param {*} [options] Override http request option.
|
|
406
406
|
* @throws {RequiredError}
|
|
407
407
|
*/
|
|
@@ -88,7 +88,7 @@ export const TollFreeVerificationApiAxiosParamCreator = function (configuration?
|
|
|
88
88
|
};
|
|
89
89
|
},
|
|
90
90
|
/**
|
|
91
|
-
* Delete a toll-free verification submission for a toll-free number.
|
|
91
|
+
* 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.
|
|
92
92
|
* @summary Delete a Toll-Free Verification Submission
|
|
93
93
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
94
94
|
* @param {string} phoneNumber Valid Toll-Free telephone number in E.164 format.
|
|
@@ -306,7 +306,7 @@ export const TollFreeVerificationApiAxiosParamCreator = function (configuration?
|
|
|
306
306
|
};
|
|
307
307
|
},
|
|
308
308
|
/**
|
|
309
|
-
* Submit a request for verification of a toll-free phone number.
|
|
309
|
+
* 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`.
|
|
310
310
|
* @summary Request Toll-Free Verification
|
|
311
311
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
312
312
|
* @param {VerificationRequest} verificationRequest Request for verification of a toll-free phone number.
|
|
@@ -353,7 +353,7 @@ export const TollFreeVerificationApiAxiosParamCreator = function (configuration?
|
|
|
353
353
|
};
|
|
354
354
|
},
|
|
355
355
|
/**
|
|
356
|
-
* 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).
|
|
356
|
+
* 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`.
|
|
357
357
|
* @summary Update Toll-Free Verification Request
|
|
358
358
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
359
359
|
* @param {string} phoneNumber Valid Toll-Free telephone number in E.164 format.
|
|
@@ -478,7 +478,7 @@ export const TollFreeVerificationApiFp = function(configuration?: Configuration)
|
|
|
478
478
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
479
479
|
},
|
|
480
480
|
/**
|
|
481
|
-
* Delete a toll-free verification submission for a toll-free number.
|
|
481
|
+
* 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.
|
|
482
482
|
* @summary Delete a Toll-Free Verification Submission
|
|
483
483
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
484
484
|
* @param {string} phoneNumber Valid Toll-Free telephone number in E.164 format.
|
|
@@ -545,7 +545,7 @@ export const TollFreeVerificationApiFp = function(configuration?: Configuration)
|
|
|
545
545
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
546
546
|
},
|
|
547
547
|
/**
|
|
548
|
-
* Submit a request for verification of a toll-free phone number.
|
|
548
|
+
* 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`.
|
|
549
549
|
* @summary Request Toll-Free Verification
|
|
550
550
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
551
551
|
* @param {VerificationRequest} verificationRequest Request for verification of a toll-free phone number.
|
|
@@ -559,7 +559,7 @@ export const TollFreeVerificationApiFp = function(configuration?: Configuration)
|
|
|
559
559
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
560
560
|
},
|
|
561
561
|
/**
|
|
562
|
-
* 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).
|
|
562
|
+
* 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`.
|
|
563
563
|
* @summary Update Toll-Free Verification Request
|
|
564
564
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
565
565
|
* @param {string} phoneNumber Valid Toll-Free telephone number in E.164 format.
|
|
@@ -609,7 +609,7 @@ export const TollFreeVerificationApiFactory = function (configuration?: Configur
|
|
|
609
609
|
return localVarFp.createWebhookSubscription(accountId, webhookSubscriptionRequestSchema, options).then((request) => request(axios, basePath));
|
|
610
610
|
},
|
|
611
611
|
/**
|
|
612
|
-
* Delete a toll-free verification submission for a toll-free number.
|
|
612
|
+
* 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.
|
|
613
613
|
* @summary Delete a Toll-Free Verification Submission
|
|
614
614
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
615
615
|
* @param {string} phoneNumber Valid Toll-Free telephone number in E.164 format.
|
|
@@ -661,7 +661,7 @@ export const TollFreeVerificationApiFactory = function (configuration?: Configur
|
|
|
661
661
|
return localVarFp.listWebhookSubscriptions(accountId, options).then((request) => request(axios, basePath));
|
|
662
662
|
},
|
|
663
663
|
/**
|
|
664
|
-
* Submit a request for verification of a toll-free phone number.
|
|
664
|
+
* 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`.
|
|
665
665
|
* @summary Request Toll-Free Verification
|
|
666
666
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
667
667
|
* @param {VerificationRequest} verificationRequest Request for verification of a toll-free phone number.
|
|
@@ -672,7 +672,7 @@ export const TollFreeVerificationApiFactory = function (configuration?: Configur
|
|
|
672
672
|
return localVarFp.requestTollFreeVerification(accountId, verificationRequest, options).then((request) => request(axios, basePath));
|
|
673
673
|
},
|
|
674
674
|
/**
|
|
675
|
-
* 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).
|
|
675
|
+
* 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`.
|
|
676
676
|
* @summary Update Toll-Free Verification Request
|
|
677
677
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
678
678
|
* @param {string} phoneNumber Valid Toll-Free telephone number in E.164 format.
|
|
@@ -715,7 +715,7 @@ export class TollFreeVerificationApi extends BaseAPI {
|
|
|
715
715
|
}
|
|
716
716
|
|
|
717
717
|
/**
|
|
718
|
-
* Delete a toll-free verification submission for a toll-free number.
|
|
718
|
+
* 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.
|
|
719
719
|
* @summary Delete a Toll-Free Verification Submission
|
|
720
720
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
721
721
|
* @param {string} phoneNumber Valid Toll-Free telephone number in E.164 format.
|
|
@@ -772,7 +772,7 @@ export class TollFreeVerificationApi extends BaseAPI {
|
|
|
772
772
|
}
|
|
773
773
|
|
|
774
774
|
/**
|
|
775
|
-
* Submit a request for verification of a toll-free phone number.
|
|
775
|
+
* 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`.
|
|
776
776
|
* @summary Request Toll-Free Verification
|
|
777
777
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
778
778
|
* @param {VerificationRequest} verificationRequest Request for verification of a toll-free phone number.
|
|
@@ -784,7 +784,7 @@ export class TollFreeVerificationApi extends BaseAPI {
|
|
|
784
784
|
}
|
|
785
785
|
|
|
786
786
|
/**
|
|
787
|
-
* 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).
|
|
787
|
+
* 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`.
|
|
788
788
|
* @summary Update Toll-Free Verification Request
|
|
789
789
|
* @param {string} accountId Your Bandwidth Account ID.
|
|
790
790
|
* @param {string} phoneNumber Valid Toll-Free telephone number in E.164 format.
|
package/bandwidth.yml
CHANGED
|
@@ -88,12 +88,11 @@ paths:
|
|
|
88
88
|
put:
|
|
89
89
|
summary: Upload Media
|
|
90
90
|
description: >-
|
|
91
|
-
Upload a file.
|
|
92
|
-
some control to your media file.
|
|
91
|
+
Upload a file.
|
|
93
92
|
|
|
94
93
|
|
|
95
|
-
|
|
96
|
-
|
|
94
|
+
Filename should always be unique. Reusing filenames may result in the
|
|
95
|
+
wrong media being sent.
|
|
97
96
|
|
|
98
97
|
|
|
99
98
|
A list of supported media types can be found at [Bandwidth
|
|
@@ -1404,7 +1403,19 @@ paths:
|
|
|
1404
1403
|
tags:
|
|
1405
1404
|
- Toll-Free Verification
|
|
1406
1405
|
summary: Request Toll-Free Verification
|
|
1407
|
-
description:
|
|
1406
|
+
description: >-
|
|
1407
|
+
Submit a request for verification of a toll-free phone number.
|
|
1408
|
+
|
|
1409
|
+
|
|
1410
|
+
**Upcoming change (effective January 2027):** If any phone number in the
|
|
1411
|
+
request already has a verification in progress, the request will be
|
|
1412
|
+
rejected with a `409 Conflict`.
|
|
1413
|
+
|
|
1414
|
+
This check is all-or-nothing: if a single phone number conflicts, the
|
|
1415
|
+
entire request is rejected and **none** of the phone numbers in the
|
|
1416
|
+
request are submitted.
|
|
1417
|
+
|
|
1418
|
+
Today, these requests are accepted with a `202`.
|
|
1408
1419
|
operationId: requestTollFreeVerification
|
|
1409
1420
|
parameters:
|
|
1410
1421
|
- $ref: '#/components/parameters/accountId4'
|
|
@@ -1421,6 +1432,8 @@ paths:
|
|
|
1421
1432
|
$ref: '#/components/responses/tfvForbiddenResponse'
|
|
1422
1433
|
'405':
|
|
1423
1434
|
$ref: '#/components/responses/tfvNotAllowedResponse'
|
|
1435
|
+
'409':
|
|
1436
|
+
$ref: '#/components/responses/tfvConflictResponse'
|
|
1424
1437
|
'429':
|
|
1425
1438
|
$ref: '#/components/responses/tfvTooManyRequestsResponse'
|
|
1426
1439
|
'500':
|
|
@@ -1477,6 +1490,14 @@ paths:
|
|
|
1477
1490
|
Submissions are only eligible for resubmission for 7 days within being
|
|
1478
1491
|
processed and if resubmission is allowed (resubmitAllowed field is
|
|
1479
1492
|
true).
|
|
1493
|
+
|
|
1494
|
+
Returns a `404` if no verification request exists for the phone number,
|
|
1495
|
+
and a `400` if the existing request is not eligible for resubmission.
|
|
1496
|
+
|
|
1497
|
+
|
|
1498
|
+
**Upcoming change (effective January 2027):** If a verification for the
|
|
1499
|
+
phone number is in progress, the update will be rejected with a `409
|
|
1500
|
+
Conflict`.
|
|
1480
1501
|
operationId: updateTollFreeVerificationRequest
|
|
1481
1502
|
parameters:
|
|
1482
1503
|
- $ref: '#/components/parameters/accountId4'
|
|
@@ -1492,8 +1513,12 @@ paths:
|
|
|
1492
1513
|
$ref: '#/components/responses/tfvUnauthorizedResponse'
|
|
1493
1514
|
'403':
|
|
1494
1515
|
$ref: '#/components/responses/tfvForbiddenResponse'
|
|
1516
|
+
'404':
|
|
1517
|
+
$ref: '#/components/responses/tfvNotFoundResponse'
|
|
1495
1518
|
'405':
|
|
1496
1519
|
$ref: '#/components/responses/tfvNotAllowedResponse'
|
|
1520
|
+
'409':
|
|
1521
|
+
$ref: '#/components/responses/tfvConflictResponse'
|
|
1497
1522
|
'429':
|
|
1498
1523
|
$ref: '#/components/responses/tfvTooManyRequestsResponse'
|
|
1499
1524
|
'500':
|
|
@@ -1504,7 +1529,13 @@ paths:
|
|
|
1504
1529
|
tfVerificationStatus:
|
|
1505
1530
|
$ref: '#/components/callbacks/tfVerificationStatus'
|
|
1506
1531
|
delete:
|
|
1507
|
-
description:
|
|
1532
|
+
description: >-
|
|
1533
|
+
Delete a toll-free verification submission for a toll-free number.
|
|
1534
|
+
|
|
1535
|
+
|
|
1536
|
+
**Upcoming change (effective January 2027):** If a verification for the
|
|
1537
|
+
phone number is in progress, it will be cancelled and the submission
|
|
1538
|
+
will then be deleted asynchronously.
|
|
1508
1539
|
operationId: deleteVerificationRequest
|
|
1509
1540
|
parameters:
|
|
1510
1541
|
- $ref: '#/components/parameters/accountId4'
|
|
@@ -6273,7 +6304,7 @@ components:
|
|
|
6273
6304
|
Government-issued business identifying number.
|
|
6274
6305
|
|
|
6275
6306
|
|
|
6276
|
-
**
|
|
6307
|
+
**As of October 19th, 2026 this field is required when
|
|
6277
6308
|
`businessEntityType` is _not_ `SOLE_PROPRIETOR`. If this field is
|
|
6278
6309
|
provided, `businessRegistrationType` and
|
|
6279
6310
|
`businessRegistrationIssuingCountry` are also required.**
|
|
@@ -6286,7 +6317,7 @@ components:
|
|
|
6286
6317
|
The type of business registration number.
|
|
6287
6318
|
|
|
6288
6319
|
|
|
6289
|
-
**
|
|
6320
|
+
**As of October 19th, 2026 this field is required when
|
|
6290
6321
|
`businessRegistrationNumber` is provided.**
|
|
6291
6322
|
enum:
|
|
6292
6323
|
- EIN
|
|
@@ -6317,7 +6348,7 @@ components:
|
|
|
6317
6348
|
encouraged.
|
|
6318
6349
|
|
|
6319
6350
|
|
|
6320
|
-
**
|
|
6351
|
+
**As of October 19th, 2026 this field is required when
|
|
6321
6352
|
`businessRegistrationNumber` is provided.**
|
|
6322
6353
|
|
|
6323
6354
|
|
|
@@ -6368,9 +6399,9 @@ components:
|
|
|
6368
6399
|
The type of registered business.
|
|
6369
6400
|
|
|
6370
6401
|
|
|
6371
|
-
**
|
|
6402
|
+
**As of October 19th, 2026 submissions using a value other than
|
|
6372
6403
|
`SOLE_PROPRIETOR` must provide a value for `businessRegistrationNumber`,
|
|
6373
|
-
`businessRegistrationType`, and `businessRegistrationIssuingCountry`.
|
|
6404
|
+
`businessRegistrationType`, and `businessRegistrationIssuingCountry`.
|
|
6374
6405
|
|
|
6375
6406
|
Submissions using `SOLE_PROPRIETOR` must _omit_
|
|
6376
6407
|
`businessRegistrationNumber`, `businessRegistrationType`, and
|
|
@@ -6490,6 +6521,7 @@ components:
|
|
|
6490
6521
|
- useCaseSummary
|
|
6491
6522
|
- productionMessageContent
|
|
6492
6523
|
- optInWorkflow
|
|
6524
|
+
- businessEntityType
|
|
6493
6525
|
properties:
|
|
6494
6526
|
businessAddress:
|
|
6495
6527
|
$ref: '#/components/schemas/address'
|
|
@@ -8072,6 +8104,17 @@ components:
|
|
|
8072
8104
|
example:
|
|
8073
8105
|
description: Cannot find the requested resource.
|
|
8074
8106
|
type: Not Found
|
|
8107
|
+
tfvConflictResponse:
|
|
8108
|
+
description: >-
|
|
8109
|
+
Conflict. A toll-free verification for the phone number is already in
|
|
8110
|
+
progress.
|
|
8111
|
+
content:
|
|
8112
|
+
application/json:
|
|
8113
|
+
schema:
|
|
8114
|
+
$ref: '#/components/schemas/tfvError'
|
|
8115
|
+
example:
|
|
8116
|
+
description: 'TFV request already in progress for phone number: +18005551234'
|
|
8117
|
+
type: conflict
|
|
8075
8118
|
tfvNotAllowedResponse:
|
|
8076
8119
|
description: Method Not Allowed
|
|
8077
8120
|
content:
|
|
@@ -8256,8 +8299,8 @@ components:
|
|
|
8256
8299
|
style: simple
|
|
8257
8300
|
explode: false
|
|
8258
8301
|
description: >-
|
|
8259
|
-
|
|
8260
|
-
by
|
|
8302
|
+
Pass-through header stored with the media and returned when the media is
|
|
8303
|
+
retrieved by the user. Does not affect internal server caching behavior.
|
|
8261
8304
|
example: no-cache
|
|
8262
8305
|
schema:
|
|
8263
8306
|
type: string
|
package/configuration.ts
CHANGED
|
@@ -147,7 +147,7 @@ export class Configuration {
|
|
|
147
147
|
...param.baseOptions,
|
|
148
148
|
headers: {
|
|
149
149
|
...param.baseOptions?.headers,
|
|
150
|
-
'User-Agent': "OpenAPI-Generator/8.3.
|
|
150
|
+
'User-Agent': "OpenAPI-Generator/8.3.1/typescript-axios"
|
|
151
151
|
},
|
|
152
152
|
};
|
|
153
153
|
this.formDataCtor = param.formDataCtor;
|
package/coverage/clover.xml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="
|
|
3
|
-
<project timestamp="
|
|
2
|
+
<coverage generated="1791924087168" clover="3.2.0">
|
|
3
|
+
<project timestamp="1791924087168" name="All files">
|
|
4
4
|
<metrics statements="2220" coveredstatements="2056" conditionals="1607" coveredconditionals="1171" methods="544" coveredmethods="414" elements="4371" coveredelements="3641" complexity="0" loc="2220" ncloc="2220" packages="5" files="97" classes="97"/>
|
|
5
5
|
<package name="node-sdk">
|
|
6
6
|
<metrics statements="113" coveredstatements="97" conditionals="97" coveredconditionals="65" methods="23" coveredmethods="20"/>
|
|
@@ -161,7 +161,7 @@
|
|
|
161
161
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
162
162
|
Code coverage generated by
|
|
163
163
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
164
|
-
at 2026-
|
|
164
|
+
at 2026-10-13T20:41:27.108Z
|
|
165
165
|
</div>
|
|
166
166
|
<script src="prettify.js"></script>
|
|
167
167
|
<script>
|
|
@@ -1705,7 +1705,7 @@ export class CallsApi extends BaseAPI {
|
|
|
1705
1705
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
1706
1706
|
Code coverage generated by
|
|
1707
1707
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
1708
|
-
at 2026-
|
|
1708
|
+
at 2026-10-13T20:41:27.108Z
|
|
1709
1709
|
</div>
|
|
1710
1710
|
<script src="../../prettify.js"></script>
|
|
1711
1711
|
<script>
|
|
@@ -2764,7 +2764,7 @@ export class ConferencesApi extends BaseAPI {
|
|
|
2764
2764
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
2765
2765
|
Code coverage generated by
|
|
2766
2766
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
2767
|
-
at 2026-
|
|
2767
|
+
at 2026-10-13T20:41:27.108Z
|
|
2768
2768
|
</div>
|
|
2769
2769
|
<script src="../../prettify.js"></script>
|
|
2770
2770
|
<script>
|
|
@@ -1621,7 +1621,7 @@ export class EndpointsApi extends BaseAPI {
|
|
|
1621
1621
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
1622
1622
|
Code coverage generated by
|
|
1623
1623
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
1624
|
-
at 2026-
|
|
1624
|
+
at 2026-10-13T20:41:27.108Z
|
|
1625
1625
|
</div>
|
|
1626
1626
|
<script src="../../prettify.js"></script>
|
|
1627
1627
|
<script>
|
|
@@ -266,7 +266,7 @@
|
|
|
266
266
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
267
267
|
Code coverage generated by
|
|
268
268
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
269
|
-
at 2026-
|
|
269
|
+
at 2026-10-13T20:41:27.108Z
|
|
270
270
|
</div>
|
|
271
271
|
<script src="../../prettify.js"></script>
|
|
272
272
|
<script>
|
|
@@ -1058,13 +1058,13 @@ export const MediaApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
1058
1058
|
};
|
|
1059
1059
|
},
|
|
1060
1060
|
/**
|
|
1061
|
-
* Upload a file.
|
|
1061
|
+
* Upload a file. Filename should always be unique. Reusing filenames may result in the wrong media being sent. 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).
|
|
1062
1062
|
* @summary Upload Media
|
|
1063
1063
|
* @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.**
|
|
1064
1064
|
* @param {string} mediaId The ID of the media file.
|
|
1065
1065
|
* @param {File} body
|
|
1066
1066
|
* @param {string} [contentType] The media type of the entity-body.
|
|
1067
|
-
* @param {string} [cacheControl]
|
|
1067
|
+
* @param {string} [cacheControl] Pass-through header stored with the media and returned when the media is retrieved by the user. Does not affect internal server caching behavior.
|
|
1068
1068
|
* @param {*} [options] Override http request option.
|
|
1069
1069
|
* @throws {RequiredError}
|
|
1070
1070
|
*/
|
|
@@ -1168,13 +1168,13 @@ export const MediaApiFp = function(configuration?: Configuration) {
|
|
|
1168
1168
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || <span class="branch-1 cbranch-no" title="branch not covered" >basePath)</span>;
|
|
1169
1169
|
},
|
|
1170
1170
|
/**
|
|
1171
|
-
* Upload a file.
|
|
1171
|
+
* Upload a file. Filename should always be unique. Reusing filenames may result in the wrong media being sent. 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).
|
|
1172
1172
|
* @summary Upload Media
|
|
1173
1173
|
* @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.**
|
|
1174
1174
|
* @param {string} mediaId The ID of the media file.
|
|
1175
1175
|
* @param {File} body
|
|
1176
1176
|
* @param {string} [contentType] The media type of the entity-body.
|
|
1177
|
-
* @param {string} [cacheControl]
|
|
1177
|
+
* @param {string} [cacheControl] Pass-through header stored with the media and returned when the media is retrieved by the user. Does not affect internal server caching behavior.
|
|
1178
1178
|
* @param {*} [options] Override http request option.
|
|
1179
1179
|
* @throws {RequiredError}
|
|
1180
1180
|
*/
|
|
@@ -1227,13 +1227,13 @@ export const MediaApiFactory = <span class="fstat-no" title="function not covere
|
|
|
1227
1227
|
<span class="cstat-no" title="statement not covered" > return localVarFp.listMedia(accountId, continuationToken, options).then(<span class="fstat-no" title="function not covered" >(r</span>equest) => <span class="cstat-no" title="statement not covered" >request(axios, basePath));</span></span>
|
|
1228
1228
|
},
|
|
1229
1229
|
/**
|
|
1230
|
-
* Upload a file.
|
|
1230
|
+
* Upload a file. Filename should always be unique. Reusing filenames may result in the wrong media being sent. 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).
|
|
1231
1231
|
* @summary Upload Media
|
|
1232
1232
|
* @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.**
|
|
1233
1233
|
* @param {string} mediaId The ID of the media file.
|
|
1234
1234
|
* @param {File} body
|
|
1235
1235
|
* @param {string} [contentType] The media type of the entity-body.
|
|
1236
|
-
* @param {string} [cacheControl]
|
|
1236
|
+
* @param {string} [cacheControl] Pass-through header stored with the media and returned when the media is retrieved by the user. Does not affect internal server caching behavior.
|
|
1237
1237
|
* @param {*} [options] Override http request option.
|
|
1238
1238
|
* @throws {RequiredError}
|
|
1239
1239
|
*/
|
|
@@ -1284,13 +1284,13 @@ export class MediaApi extends BaseAPI {
|
|
|
1284
1284
|
}
|
|
1285
1285
|
|
|
1286
1286
|
/**
|
|
1287
|
-
* Upload a file.
|
|
1287
|
+
* Upload a file. Filename should always be unique. Reusing filenames may result in the wrong media being sent. 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).
|
|
1288
1288
|
* @summary Upload Media
|
|
1289
1289
|
* @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.**
|
|
1290
1290
|
* @param {string} mediaId The ID of the media file.
|
|
1291
1291
|
* @param {File} body
|
|
1292
1292
|
* @param {string} [contentType] The media type of the entity-body.
|
|
1293
|
-
* @param {string} [cacheControl]
|
|
1293
|
+
* @param {string} [cacheControl] Pass-through header stored with the media and returned when the media is retrieved by the user. Does not affect internal server caching behavior.
|
|
1294
1294
|
* @param {*} [options] Override http request option.
|
|
1295
1295
|
* @throws {RequiredError}
|
|
1296
1296
|
*/
|
|
@@ -1306,7 +1306,7 @@ export class MediaApi extends BaseAPI {
|
|
|
1306
1306
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
1307
1307
|
Code coverage generated by
|
|
1308
1308
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
1309
|
-
at 2026-
|
|
1309
|
+
at 2026-10-13T20:41:27.108Z
|
|
1310
1310
|
</div>
|
|
1311
1311
|
<script src="../../prettify.js"></script>
|
|
1312
1312
|
<script>
|
|
@@ -1414,7 +1414,7 @@ export class MessagesApi extends BaseAPI {
|
|
|
1414
1414
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
1415
1415
|
Code coverage generated by
|
|
1416
1416
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
1417
|
-
at 2026-
|
|
1417
|
+
at 2026-10-13T20:41:27.108Z
|
|
1418
1418
|
</div>
|
|
1419
1419
|
<script src="../../prettify.js"></script>
|
|
1420
1420
|
<script>
|
|
@@ -1036,7 +1036,7 @@ export class MFAApi extends BaseAPI {
|
|
|
1036
1036
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
1037
1037
|
Code coverage generated by
|
|
1038
1038
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
1039
|
-
at 2026-
|
|
1039
|
+
at 2026-10-13T20:41:27.108Z
|
|
1040
1040
|
</div>
|
|
1041
1041
|
<script src="../../prettify.js"></script>
|
|
1042
1042
|
<script>
|
|
@@ -502,7 +502,7 @@ export class MultiChannelApi extends BaseAPI {
|
|
|
502
502
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
503
503
|
Code coverage generated by
|
|
504
504
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
505
|
-
at 2026-
|
|
505
|
+
at 2026-10-13T20:41:27.108Z
|
|
506
506
|
</div>
|
|
507
507
|
<script src="../../prettify.js"></script>
|
|
508
508
|
<script>
|
|
@@ -1021,7 +1021,7 @@ export class PhoneNumberLookupApi extends BaseAPI {
|
|
|
1021
1021
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
1022
1022
|
Code coverage generated by
|
|
1023
1023
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
1024
|
-
at 2026-
|
|
1024
|
+
at 2026-10-13T20:41:27.108Z
|
|
1025
1025
|
</div>
|
|
1026
1026
|
<script src="../../prettify.js"></script>
|
|
1027
1027
|
<script>
|
|
@@ -3022,7 +3022,7 @@ export class RecordingsApi extends BaseAPI {
|
|
|
3022
3022
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
3023
3023
|
Code coverage generated by
|
|
3024
3024
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
3025
|
-
at 2026-
|
|
3025
|
+
at 2026-10-13T20:41:27.108Z
|
|
3026
3026
|
</div>
|
|
3027
3027
|
<script src="../../prettify.js"></script>
|
|
3028
3028
|
<script>
|
|
@@ -472,7 +472,7 @@ export class StatisticsApi extends BaseAPI {
|
|
|
472
472
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
473
473
|
Code coverage generated by
|
|
474
474
|
<a href="https://istanbul.js.org/" target="_blank" rel="noopener noreferrer">istanbul</a>
|
|
475
|
-
at 2026-
|
|
475
|
+
at 2026-10-13T20:41:27.108Z
|
|
476
476
|
</div>
|
|
477
477
|
<script src="../../prettify.js"></script>
|
|
478
478
|
<script>
|