Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions api/media-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,13 +169,13 @@ export const MediaApiAxiosParamCreator = function (configuration?: Configuration
};
},
/**
* Upload a file. You may add headers to the request in order to provide some control to your media file. If a file is uploaded with the same name as a file that already exists under this account, the previous file will be overwritten. A list of supported media types can be found at [Bandwidth Support](https://www.bandwidth.com/support/en/articles/12823220-what-mms-file-types-are-supported).
* 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).
* @summary Upload Media
* @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.**
* @param {string} mediaId The ID of the media file.
* @param {File} body
* @param {string} [contentType] The media type of the entity-body.
* @param {string} [cacheControl] General-header field is used to specify directives that MUST be obeyed by all caching mechanisms along the request/response chain.
* @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.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
Expand Down Expand Up @@ -279,13 +279,13 @@ export const MediaApiFp = function(configuration?: Configuration) {
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
},
/**
* Upload a file. You may add headers to the request in order to provide some control to your media file. If a file is uploaded with the same name as a file that already exists under this account, the previous file will be overwritten. A list of supported media types can be found at [Bandwidth Support](https://www.bandwidth.com/support/en/articles/12823220-what-mms-file-types-are-supported).
* 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).
* @summary Upload Media
* @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.**
* @param {string} mediaId The ID of the media file.
* @param {File} body
* @param {string} [contentType] The media type of the entity-body.
* @param {string} [cacheControl] General-header field is used to specify directives that MUST be obeyed by all caching mechanisms along the request/response chain.
* @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.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
Expand Down Expand Up @@ -338,13 +338,13 @@ export const MediaApiFactory = function (configuration?: Configuration, basePath
return localVarFp.listMedia(accountId, continuationToken, options).then((request) => request(axios, basePath));
},
/**
* Upload a file. You may add headers to the request in order to provide some control to your media file. If a file is uploaded with the same name as a file that already exists under this account, the previous file will be overwritten. A list of supported media types can be found at [Bandwidth Support](https://www.bandwidth.com/support/en/articles/12823220-what-mms-file-types-are-supported).
* 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).
* @summary Upload Media
* @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.**
* @param {string} mediaId The ID of the media file.
* @param {File} body
* @param {string} [contentType] The media type of the entity-body.
* @param {string} [cacheControl] General-header field is used to specify directives that MUST be obeyed by all caching mechanisms along the request/response chain.
* @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.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
Expand Down Expand Up @@ -395,13 +395,13 @@ export class MediaApi extends BaseAPI {
}

/**
* Upload a file. You may add headers to the request in order to provide some control to your media file. If a file is uploaded with the same name as a file that already exists under this account, the previous file will be overwritten. A list of supported media types can be found at [Bandwidth Support](https://www.bandwidth.com/support/en/articles/12823220-what-mms-file-types-are-supported).
* 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).
* @summary Upload Media
* @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.**
* @param {string} mediaId The ID of the media file.
* @param {File} body
* @param {string} [contentType] The media type of the entity-body.
* @param {string} [cacheControl] General-header field is used to specify directives that MUST be obeyed by all caching mechanisms along the request/response chain.
* @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.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
Expand Down
24 changes: 12 additions & 12 deletions api/toll-free-verification-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export const TollFreeVerificationApiAxiosParamCreator = function (configuration?
};
},
/**
* Delete a toll-free verification submission for a toll-free number.
* 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.
* @summary Delete a Toll-Free Verification Submission
* @param {string} accountId Your Bandwidth Account ID.
* @param {string} phoneNumber Valid Toll-Free telephone number in E.164 format.
Expand Down Expand Up @@ -306,7 +306,7 @@ export const TollFreeVerificationApiAxiosParamCreator = function (configuration?
};
},
/**
* Submit a request for verification of a toll-free phone number.
* 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`.
* @summary Request Toll-Free Verification
* @param {string} accountId Your Bandwidth Account ID.
* @param {VerificationRequest} verificationRequest Request for verification of a toll-free phone number.
Expand Down Expand Up @@ -353,7 +353,7 @@ export const TollFreeVerificationApiAxiosParamCreator = function (configuration?
};
},
/**
* 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).
* 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`.
* @summary Update Toll-Free Verification Request
* @param {string} accountId Your Bandwidth Account ID.
* @param {string} phoneNumber Valid Toll-Free telephone number in E.164 format.
Expand Down Expand Up @@ -478,7 +478,7 @@ export const TollFreeVerificationApiFp = function(configuration?: Configuration)
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
},
/**
* Delete a toll-free verification submission for a toll-free number.
* 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.
* @summary Delete a Toll-Free Verification Submission
* @param {string} accountId Your Bandwidth Account ID.
* @param {string} phoneNumber Valid Toll-Free telephone number in E.164 format.
Expand Down Expand Up @@ -545,7 +545,7 @@ export const TollFreeVerificationApiFp = function(configuration?: Configuration)
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
},
/**
* Submit a request for verification of a toll-free phone number.
* 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`.
* @summary Request Toll-Free Verification
* @param {string} accountId Your Bandwidth Account ID.
* @param {VerificationRequest} verificationRequest Request for verification of a toll-free phone number.
Expand All @@ -559,7 +559,7 @@ export const TollFreeVerificationApiFp = function(configuration?: Configuration)
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
},
/**
* 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).
* 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`.
* @summary Update Toll-Free Verification Request
* @param {string} accountId Your Bandwidth Account ID.
* @param {string} phoneNumber Valid Toll-Free telephone number in E.164 format.
Expand Down Expand Up @@ -609,7 +609,7 @@ export const TollFreeVerificationApiFactory = function (configuration?: Configur
return localVarFp.createWebhookSubscription(accountId, webhookSubscriptionRequestSchema, options).then((request) => request(axios, basePath));
},
/**
* Delete a toll-free verification submission for a toll-free number.
* 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.
* @summary Delete a Toll-Free Verification Submission
* @param {string} accountId Your Bandwidth Account ID.
* @param {string} phoneNumber Valid Toll-Free telephone number in E.164 format.
Expand Down Expand Up @@ -661,7 +661,7 @@ export const TollFreeVerificationApiFactory = function (configuration?: Configur
return localVarFp.listWebhookSubscriptions(accountId, options).then((request) => request(axios, basePath));
},
/**
* Submit a request for verification of a toll-free phone number.
* 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`.
* @summary Request Toll-Free Verification
* @param {string} accountId Your Bandwidth Account ID.
* @param {VerificationRequest} verificationRequest Request for verification of a toll-free phone number.
Expand All @@ -672,7 +672,7 @@ export const TollFreeVerificationApiFactory = function (configuration?: Configur
return localVarFp.requestTollFreeVerification(accountId, verificationRequest, options).then((request) => request(axios, basePath));
},
/**
* 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).
* 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`.
* @summary Update Toll-Free Verification Request
* @param {string} accountId Your Bandwidth Account ID.
* @param {string} phoneNumber Valid Toll-Free telephone number in E.164 format.
Expand Down Expand Up @@ -715,7 +715,7 @@ export class TollFreeVerificationApi extends BaseAPI {
}

/**
* Delete a toll-free verification submission for a toll-free number.
* 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.
* @summary Delete a Toll-Free Verification Submission
* @param {string} accountId Your Bandwidth Account ID.
* @param {string} phoneNumber Valid Toll-Free telephone number in E.164 format.
Expand Down Expand Up @@ -772,7 +772,7 @@ export class TollFreeVerificationApi extends BaseAPI {
}

/**
* Submit a request for verification of a toll-free phone number.
* 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`.
* @summary Request Toll-Free Verification
* @param {string} accountId Your Bandwidth Account ID.
* @param {VerificationRequest} verificationRequest Request for verification of a toll-free phone number.
Expand All @@ -784,7 +784,7 @@ export class TollFreeVerificationApi extends BaseAPI {
}

/**
* 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).
* 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`.
* @summary Update Toll-Free Verification Request
* @param {string} accountId Your Bandwidth Account ID.
* @param {string} phoneNumber Valid Toll-Free telephone number in E.164 format.
Expand Down
Loading