From 7b63e30809174d37860d919d69b4149aa206d62e Mon Sep 17 00:00:00 2001 From: DX-Bandwidth Date: Tue, 17 Dec 2024 14:07:13 +0000 Subject: [PATCH] Generate SDK with OpenAPI Generator Version --- .openapi-generator/VERSION | 2 +- api/media-api.ts | 15 +++++++++------ bandwidth.yml | 4 ++-- models/create-call.ts | 2 +- openapitools.json | 2 +- 5 files changed, 14 insertions(+), 11 deletions(-) diff --git a/.openapi-generator/VERSION b/.openapi-generator/VERSION index 758bb9c..4bc5d61 100644 --- a/.openapi-generator/VERSION +++ b/.openapi-generator/VERSION @@ -1 +1 @@ -7.10.0 +7.9.0 diff --git a/api/media-api.ts b/api/media-api.ts index d1a0cff..f27520b 100644 --- a/api/media-api.ts +++ b/api/media-api.ts @@ -143,11 +143,12 @@ export const MediaApiAxiosParamCreator = function (configuration?: Configuration // http basic authentication required setBasicAuthToObject(localVarRequestOptions, configuration) - - if (continuationToken != null) { localVarHeaderParameter['Continuation-Token'] = String(continuationToken); } + + + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; @@ -193,16 +194,18 @@ export const MediaApiAxiosParamCreator = function (configuration?: Configuration // http basic authentication required setBasicAuthToObject(localVarRequestOptions, configuration) - - - localVarHeaderParameter['Content-Type'] = 'application/json'; - if (contentType != null) { localVarHeaderParameter['Content-Type'] = String(contentType); } + if (cacheControl != null) { localVarHeaderParameter['Cache-Control'] = String(cacheControl); } + + + + localVarHeaderParameter['Content-Type'] = 'application/json'; + setSearchParams(localVarUrlObj, localVarQueryParameter); let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {}; localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers}; diff --git a/bandwidth.yml b/bandwidth.yml index c4b1fb2..11c79d2 100644 --- a/bandwidth.yml +++ b/bandwidth.yml @@ -2202,8 +2202,8 @@ components: parameter as described in RFC - 7433. Only 'jwt' and 'base64' encodings are allowed. The entire - value + 7433. Only 'jwt', 'base64' and 'hex' encodings are allowed. The + entire value cannot exceed 350 characters, including parameters and separators. applicationId: diff --git a/models/create-call.ts b/models/create-call.ts index fc31f1d..462f1ed 100644 --- a/models/create-call.ts +++ b/models/create-call.ts @@ -51,7 +51,7 @@ export interface CreateCall { */ 'displayName'?: string | null; /** - * A comma-separated list of \'User-To-User\' headers to be sent in the INVITE when calling a SIP URI. Each value must end with an \'encoding\' parameter as described in RFC 7433. Only \'jwt\' and \'base64\' encodings are allowed. The entire value cannot exceed 350 characters, including parameters and separators. + * A comma-separated list of \'User-To-User\' headers to be sent in the INVITE when calling a SIP URI. Each value must end with an \'encoding\' parameter as described in RFC 7433. Only \'jwt\', \'base64\' and \'hex\' encodings are allowed. The entire value cannot exceed 350 characters, including parameters and separators. * @type {string} * @memberof CreateCall */ diff --git a/openapitools.json b/openapitools.json index f8d07ce..f80faaa 100644 --- a/openapitools.json +++ b/openapitools.json @@ -2,6 +2,6 @@ "$schema": "./node_modules/@openapitools/openapi-generator-cli/config.schema.json", "spaces": 2, "generator-cli": { - "version": "7.10.0" + "version": "7.9.0" } }