Skip to content

Commit 8865e38

Browse files
author
qovery
committed
See Qovery/qovery-openapi-spec@21d03ad from refs/heads/main
1 parent ae7e6ea commit 8865e38

File tree

2 files changed

+1
-78
lines changed

2 files changed

+1
-78
lines changed

api.ts

Lines changed: 0 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -11519,7 +11519,6 @@ export interface Key {
1151911519
*/
1152011520

1152111521
export const KubernetesEnum = {
11522-
K3_S: 'K3S',
1152311522
MANAGED: 'MANAGED',
1152411523
SELF_MANAGED: 'SELF_MANAGED'
1152511524
} as const;
@@ -23389,47 +23388,6 @@ export const CloudProviderApiAxiosParamCreator = function (configuration?: Confi
2338923388

2339023389

2339123390

23392-
setSearchParams(localVarUrlObj, localVarQueryParameter);
23393-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23394-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23395-
23396-
return {
23397-
url: toPathString(localVarUrlObj),
23398-
options: localVarRequestOptions,
23399-
};
23400-
},
23401-
/**
23402-
*
23403-
* @summary List AWS EC2 available instance types
23404-
* @param {string} region region name
23405-
* @param {*} [options] Override http request option.
23406-
* @throws {RequiredError}
23407-
*/
23408-
listAWSEc2InstanceType: async (region: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
23409-
// verify required parameter 'region' is not null or undefined
23410-
assertParamExists('listAWSEc2InstanceType', 'region', region)
23411-
const localVarPath = `/aws/ec2/instanceType/{region}`
23412-
.replace(`{${"region"}}`, encodeURIComponent(String(region)));
23413-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
23414-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23415-
let baseOptions;
23416-
if (configuration) {
23417-
baseOptions = configuration.baseOptions;
23418-
}
23419-
23420-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
23421-
const localVarHeaderParameter = {} as any;
23422-
const localVarQueryParameter = {} as any;
23423-
23424-
// authentication ApiKeyAuth required
23425-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
23426-
23427-
// authentication bearerAuth required
23428-
// http bearer authentication required
23429-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
23430-
23431-
23432-
2343323391
setSearchParams(localVarUrlObj, localVarQueryParameter);
2343423392
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2343523393
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -24039,19 +23997,6 @@ export const CloudProviderApiFp = function(configuration?: Configuration) {
2403923997
const localVarOperationServerBasePath = operationServerMap['CloudProviderApi.listAWSEKSInstanceType']?.[localVarOperationServerIndex]?.url;
2404023998
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2404123999
},
24042-
/**
24043-
*
24044-
* @summary List AWS EC2 available instance types
24045-
* @param {string} region region name
24046-
* @param {*} [options] Override http request option.
24047-
* @throws {RequiredError}
24048-
*/
24049-
async listAWSEc2InstanceType(region: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterInstanceTypeResponseList>> {
24050-
const localVarAxiosArgs = await localVarAxiosParamCreator.listAWSEc2InstanceType(region, options);
24051-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
24052-
const localVarOperationServerBasePath = operationServerMap['CloudProviderApi.listAWSEc2InstanceType']?.[localVarOperationServerIndex]?.url;
24053-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
24054-
},
2405524000
/**
2405624001
*
2405724002
* @summary List AWS features available
@@ -24259,16 +24204,6 @@ export const CloudProviderApiFactory = function (configuration?: Configuration,
2425924204
listAWSEKSInstanceType(region: string, onlyMeetsResourceReqs?: boolean, withGpu?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<ClusterInstanceTypeResponseList> {
2426024205
return localVarFp.listAWSEKSInstanceType(region, onlyMeetsResourceReqs, withGpu, options).then((request) => request(axios, basePath));
2426124206
},
24262-
/**
24263-
*
24264-
* @summary List AWS EC2 available instance types
24265-
* @param {string} region region name
24266-
* @param {*} [options] Override http request option.
24267-
* @throws {RequiredError}
24268-
*/
24269-
listAWSEc2InstanceType(region: string, options?: RawAxiosRequestConfig): AxiosPromise<ClusterInstanceTypeResponseList> {
24270-
return localVarFp.listAWSEc2InstanceType(region, options).then((request) => request(axios, basePath));
24271-
},
2427224207
/**
2427324208
*
2427424209
* @summary List AWS features available
@@ -24433,18 +24368,6 @@ export class CloudProviderApi extends BaseAPI {
2443324368
return CloudProviderApiFp(this.configuration).listAWSEKSInstanceType(region, onlyMeetsResourceReqs, withGpu, options).then((request) => request(this.axios, this.basePath));
2443424369
}
2443524370

24436-
/**
24437-
*
24438-
* @summary List AWS EC2 available instance types
24439-
* @param {string} region region name
24440-
* @param {*} [options] Override http request option.
24441-
* @throws {RequiredError}
24442-
* @memberof CloudProviderApi
24443-
*/
24444-
public listAWSEc2InstanceType(region: string, options?: RawAxiosRequestConfig) {
24445-
return CloudProviderApiFp(this.configuration).listAWSEc2InstanceType(region, options).then((request) => request(this.axios, this.basePath));
24446-
}
24447-
2444824371
/**
2444924372
*
2445024373
* @summary List AWS features available

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "qovery-typescript-axios",
3-
"version": "v1.1.573",
3+
"version": "1.0.3",
44
"description": "OpenAPI client for qovery-typescript-axios",
55
"author": "OpenAPI-Generator Contributors",
66
"repository": {

0 commit comments

Comments
 (0)