qovery-typescript-axios 1.1.586 → 1.1.588
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/api.ts +0 -76
- package/dist/api.d.ts +0 -33
- package/dist/api.js +0 -71
- package/dist/esm/api.d.ts +0 -33
- package/dist/esm/api.js +0 -71
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -24403,47 +24403,6 @@ export const CloudProviderApiAxiosParamCreator = function (configuration?: Confi
|
|
|
24403
24403
|
|
|
24404
24404
|
|
|
24405
24405
|
|
|
24406
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24407
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24408
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
24409
|
-
|
|
24410
|
-
return {
|
|
24411
|
-
url: toPathString(localVarUrlObj),
|
|
24412
|
-
options: localVarRequestOptions,
|
|
24413
|
-
};
|
|
24414
|
-
},
|
|
24415
|
-
/**
|
|
24416
|
-
*
|
|
24417
|
-
* @summary List Scaleway available managed database instance types
|
|
24418
|
-
* @param {string} databaseType Database type
|
|
24419
|
-
* @param {*} [options] Override http request option.
|
|
24420
|
-
* @throws {RequiredError}
|
|
24421
|
-
*/
|
|
24422
|
-
listSCWManagedDatabaseInstanceType: async (databaseType: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24423
|
-
// verify required parameter 'databaseType' is not null or undefined
|
|
24424
|
-
assertParamExists('listSCWManagedDatabaseInstanceType', 'databaseType', databaseType)
|
|
24425
|
-
const localVarPath = `/scaleway/managedDatabase/instanceType/{zone}/{databaseType}`
|
|
24426
|
-
.replace(`{${"databaseType"}}`, encodeURIComponent(String(databaseType)));
|
|
24427
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24428
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24429
|
-
let baseOptions;
|
|
24430
|
-
if (configuration) {
|
|
24431
|
-
baseOptions = configuration.baseOptions;
|
|
24432
|
-
}
|
|
24433
|
-
|
|
24434
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
24435
|
-
const localVarHeaderParameter = {} as any;
|
|
24436
|
-
const localVarQueryParameter = {} as any;
|
|
24437
|
-
|
|
24438
|
-
// authentication ApiKeyAuth required
|
|
24439
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
24440
|
-
|
|
24441
|
-
// authentication bearerAuth required
|
|
24442
|
-
// http bearer authentication required
|
|
24443
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
24444
|
-
|
|
24445
|
-
|
|
24446
|
-
|
|
24447
24406
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24448
24407
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24449
24408
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -24817,19 +24776,6 @@ export const CloudProviderApiFp = function(configuration?: Configuration) {
|
|
|
24817
24776
|
const localVarOperationServerBasePath = operationServerMap['CloudProviderApi.listGcpRegions']?.[localVarOperationServerIndex]?.url;
|
|
24818
24777
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24819
24778
|
},
|
|
24820
|
-
/**
|
|
24821
|
-
*
|
|
24822
|
-
* @summary List Scaleway available managed database instance types
|
|
24823
|
-
* @param {string} databaseType Database type
|
|
24824
|
-
* @param {*} [options] Override http request option.
|
|
24825
|
-
* @throws {RequiredError}
|
|
24826
|
-
*/
|
|
24827
|
-
async listSCWManagedDatabaseInstanceType(databaseType: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ManagedDatabaseInstanceTypeResponseList>> {
|
|
24828
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listSCWManagedDatabaseInstanceType(databaseType, options);
|
|
24829
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
24830
|
-
const localVarOperationServerBasePath = operationServerMap['CloudProviderApi.listSCWManagedDatabaseInstanceType']?.[localVarOperationServerIndex]?.url;
|
|
24831
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
24832
|
-
},
|
|
24833
24779
|
/**
|
|
24834
24780
|
*
|
|
24835
24781
|
* @summary List Scaleway available managed database types
|
|
@@ -25027,16 +24973,6 @@ export const CloudProviderApiFactory = function (configuration?: Configuration,
|
|
|
25027
24973
|
listGcpRegions(options?: RawAxiosRequestConfig): AxiosPromise<ClusterRegionResponseList> {
|
|
25028
24974
|
return localVarFp.listGcpRegions(options).then((request) => request(axios, basePath));
|
|
25029
24975
|
},
|
|
25030
|
-
/**
|
|
25031
|
-
*
|
|
25032
|
-
* @summary List Scaleway available managed database instance types
|
|
25033
|
-
* @param {string} databaseType Database type
|
|
25034
|
-
* @param {*} [options] Override http request option.
|
|
25035
|
-
* @throws {RequiredError}
|
|
25036
|
-
*/
|
|
25037
|
-
listSCWManagedDatabaseInstanceType(databaseType: string, options?: RawAxiosRequestConfig): AxiosPromise<ManagedDatabaseInstanceTypeResponseList> {
|
|
25038
|
-
return localVarFp.listSCWManagedDatabaseInstanceType(databaseType, options).then((request) => request(axios, basePath));
|
|
25039
|
-
},
|
|
25040
24976
|
/**
|
|
25041
24977
|
*
|
|
25042
24978
|
* @summary List Scaleway available managed database types
|
|
@@ -25245,18 +25181,6 @@ export class CloudProviderApi extends BaseAPI {
|
|
|
25245
25181
|
return CloudProviderApiFp(this.configuration).listGcpRegions(options).then((request) => request(this.axios, this.basePath));
|
|
25246
25182
|
}
|
|
25247
25183
|
|
|
25248
|
-
/**
|
|
25249
|
-
*
|
|
25250
|
-
* @summary List Scaleway available managed database instance types
|
|
25251
|
-
* @param {string} databaseType Database type
|
|
25252
|
-
* @param {*} [options] Override http request option.
|
|
25253
|
-
* @throws {RequiredError}
|
|
25254
|
-
* @memberof CloudProviderApi
|
|
25255
|
-
*/
|
|
25256
|
-
public listSCWManagedDatabaseInstanceType(databaseType: string, options?: RawAxiosRequestConfig) {
|
|
25257
|
-
return CloudProviderApiFp(this.configuration).listSCWManagedDatabaseInstanceType(databaseType, options).then((request) => request(this.axios, this.basePath));
|
|
25258
|
-
}
|
|
25259
|
-
|
|
25260
25184
|
/**
|
|
25261
25185
|
*
|
|
25262
25186
|
* @summary List Scaleway available managed database types
|
package/dist/api.d.ts
CHANGED
|
@@ -20199,14 +20199,6 @@ export declare const CloudProviderApiAxiosParamCreator: (configuration?: Configu
|
|
|
20199
20199
|
* @throws {RequiredError}
|
|
20200
20200
|
*/
|
|
20201
20201
|
listGcpRegions: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
20202
|
-
/**
|
|
20203
|
-
*
|
|
20204
|
-
* @summary List Scaleway available managed database instance types
|
|
20205
|
-
* @param {string} databaseType Database type
|
|
20206
|
-
* @param {*} [options] Override http request option.
|
|
20207
|
-
* @throws {RequiredError}
|
|
20208
|
-
*/
|
|
20209
|
-
listSCWManagedDatabaseInstanceType: (databaseType: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
20210
20202
|
/**
|
|
20211
20203
|
*
|
|
20212
20204
|
* @summary List Scaleway available managed database types
|
|
@@ -20349,14 +20341,6 @@ export declare const CloudProviderApiFp: (configuration?: Configuration) => {
|
|
|
20349
20341
|
* @throws {RequiredError}
|
|
20350
20342
|
*/
|
|
20351
20343
|
listGcpRegions(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterRegionResponseList>>;
|
|
20352
|
-
/**
|
|
20353
|
-
*
|
|
20354
|
-
* @summary List Scaleway available managed database instance types
|
|
20355
|
-
* @param {string} databaseType Database type
|
|
20356
|
-
* @param {*} [options] Override http request option.
|
|
20357
|
-
* @throws {RequiredError}
|
|
20358
|
-
*/
|
|
20359
|
-
listSCWManagedDatabaseInstanceType(databaseType: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ManagedDatabaseInstanceTypeResponseList>>;
|
|
20360
20344
|
/**
|
|
20361
20345
|
*
|
|
20362
20346
|
* @summary List Scaleway available managed database types
|
|
@@ -20499,14 +20483,6 @@ export declare const CloudProviderApiFactory: (configuration?: Configuration, ba
|
|
|
20499
20483
|
* @throws {RequiredError}
|
|
20500
20484
|
*/
|
|
20501
20485
|
listGcpRegions(options?: RawAxiosRequestConfig): AxiosPromise<ClusterRegionResponseList>;
|
|
20502
|
-
/**
|
|
20503
|
-
*
|
|
20504
|
-
* @summary List Scaleway available managed database instance types
|
|
20505
|
-
* @param {string} databaseType Database type
|
|
20506
|
-
* @param {*} [options] Override http request option.
|
|
20507
|
-
* @throws {RequiredError}
|
|
20508
|
-
*/
|
|
20509
|
-
listSCWManagedDatabaseInstanceType(databaseType: string, options?: RawAxiosRequestConfig): AxiosPromise<ManagedDatabaseInstanceTypeResponseList>;
|
|
20510
20486
|
/**
|
|
20511
20487
|
*
|
|
20512
20488
|
* @summary List Scaleway available managed database types
|
|
@@ -20664,15 +20640,6 @@ export declare class CloudProviderApi extends BaseAPI {
|
|
|
20664
20640
|
* @memberof CloudProviderApi
|
|
20665
20641
|
*/
|
|
20666
20642
|
listGcpRegions(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterRegionResponseList, any>>;
|
|
20667
|
-
/**
|
|
20668
|
-
*
|
|
20669
|
-
* @summary List Scaleway available managed database instance types
|
|
20670
|
-
* @param {string} databaseType Database type
|
|
20671
|
-
* @param {*} [options] Override http request option.
|
|
20672
|
-
* @throws {RequiredError}
|
|
20673
|
-
* @memberof CloudProviderApi
|
|
20674
|
-
*/
|
|
20675
|
-
listSCWManagedDatabaseInstanceType(databaseType: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ManagedDatabaseInstanceTypeResponseList, any>>;
|
|
20676
20643
|
/**
|
|
20677
20644
|
*
|
|
20678
20645
|
* @summary List Scaleway available managed database types
|
package/dist/api.js
CHANGED
|
@@ -7016,40 +7016,6 @@ const CloudProviderApiAxiosParamCreator = function (configuration) {
|
|
|
7016
7016
|
options: localVarRequestOptions,
|
|
7017
7017
|
};
|
|
7018
7018
|
}),
|
|
7019
|
-
/**
|
|
7020
|
-
*
|
|
7021
|
-
* @summary List Scaleway available managed database instance types
|
|
7022
|
-
* @param {string} databaseType Database type
|
|
7023
|
-
* @param {*} [options] Override http request option.
|
|
7024
|
-
* @throws {RequiredError}
|
|
7025
|
-
*/
|
|
7026
|
-
listSCWManagedDatabaseInstanceType: (databaseType_1, ...args_1) => __awaiter(this, [databaseType_1, ...args_1], void 0, function* (databaseType, options = {}) {
|
|
7027
|
-
// verify required parameter 'databaseType' is not null or undefined
|
|
7028
|
-
(0, common_1.assertParamExists)('listSCWManagedDatabaseInstanceType', 'databaseType', databaseType);
|
|
7029
|
-
const localVarPath = `/scaleway/managedDatabase/instanceType/{zone}/{databaseType}`
|
|
7030
|
-
.replace(`{${"databaseType"}}`, encodeURIComponent(String(databaseType)));
|
|
7031
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7032
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
7033
|
-
let baseOptions;
|
|
7034
|
-
if (configuration) {
|
|
7035
|
-
baseOptions = configuration.baseOptions;
|
|
7036
|
-
}
|
|
7037
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
7038
|
-
const localVarHeaderParameter = {};
|
|
7039
|
-
const localVarQueryParameter = {};
|
|
7040
|
-
// authentication ApiKeyAuth required
|
|
7041
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
7042
|
-
// authentication bearerAuth required
|
|
7043
|
-
// http bearer authentication required
|
|
7044
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
7045
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
7046
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7047
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
7048
|
-
return {
|
|
7049
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
7050
|
-
options: localVarRequestOptions,
|
|
7051
|
-
};
|
|
7052
|
-
}),
|
|
7053
7019
|
/**
|
|
7054
7020
|
*
|
|
7055
7021
|
* @summary List Scaleway available managed database types
|
|
@@ -7418,22 +7384,6 @@ const CloudProviderApiFp = function (configuration) {
|
|
|
7418
7384
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7419
7385
|
});
|
|
7420
7386
|
},
|
|
7421
|
-
/**
|
|
7422
|
-
*
|
|
7423
|
-
* @summary List Scaleway available managed database instance types
|
|
7424
|
-
* @param {string} databaseType Database type
|
|
7425
|
-
* @param {*} [options] Override http request option.
|
|
7426
|
-
* @throws {RequiredError}
|
|
7427
|
-
*/
|
|
7428
|
-
listSCWManagedDatabaseInstanceType(databaseType, options) {
|
|
7429
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7430
|
-
var _a, _b, _c;
|
|
7431
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listSCWManagedDatabaseInstanceType(databaseType, options);
|
|
7432
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7433
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CloudProviderApi.listSCWManagedDatabaseInstanceType']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
7434
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7435
|
-
});
|
|
7436
|
-
},
|
|
7437
7387
|
/**
|
|
7438
7388
|
*
|
|
7439
7389
|
* @summary List Scaleway available managed database types
|
|
@@ -7646,16 +7596,6 @@ const CloudProviderApiFactory = function (configuration, basePath, axios) {
|
|
|
7646
7596
|
listGcpRegions(options) {
|
|
7647
7597
|
return localVarFp.listGcpRegions(options).then((request) => request(axios, basePath));
|
|
7648
7598
|
},
|
|
7649
|
-
/**
|
|
7650
|
-
*
|
|
7651
|
-
* @summary List Scaleway available managed database instance types
|
|
7652
|
-
* @param {string} databaseType Database type
|
|
7653
|
-
* @param {*} [options] Override http request option.
|
|
7654
|
-
* @throws {RequiredError}
|
|
7655
|
-
*/
|
|
7656
|
-
listSCWManagedDatabaseInstanceType(databaseType, options) {
|
|
7657
|
-
return localVarFp.listSCWManagedDatabaseInstanceType(databaseType, options).then((request) => request(axios, basePath));
|
|
7658
|
-
},
|
|
7659
7599
|
/**
|
|
7660
7600
|
*
|
|
7661
7601
|
* @summary List Scaleway available managed database types
|
|
@@ -7851,17 +7791,6 @@ class CloudProviderApi extends base_1.BaseAPI {
|
|
|
7851
7791
|
listGcpRegions(options) {
|
|
7852
7792
|
return (0, exports.CloudProviderApiFp)(this.configuration).listGcpRegions(options).then((request) => request(this.axios, this.basePath));
|
|
7853
7793
|
}
|
|
7854
|
-
/**
|
|
7855
|
-
*
|
|
7856
|
-
* @summary List Scaleway available managed database instance types
|
|
7857
|
-
* @param {string} databaseType Database type
|
|
7858
|
-
* @param {*} [options] Override http request option.
|
|
7859
|
-
* @throws {RequiredError}
|
|
7860
|
-
* @memberof CloudProviderApi
|
|
7861
|
-
*/
|
|
7862
|
-
listSCWManagedDatabaseInstanceType(databaseType, options) {
|
|
7863
|
-
return (0, exports.CloudProviderApiFp)(this.configuration).listSCWManagedDatabaseInstanceType(databaseType, options).then((request) => request(this.axios, this.basePath));
|
|
7864
|
-
}
|
|
7865
7794
|
/**
|
|
7866
7795
|
*
|
|
7867
7796
|
* @summary List Scaleway available managed database types
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -20199,14 +20199,6 @@ export declare const CloudProviderApiAxiosParamCreator: (configuration?: Configu
|
|
|
20199
20199
|
* @throws {RequiredError}
|
|
20200
20200
|
*/
|
|
20201
20201
|
listGcpRegions: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
20202
|
-
/**
|
|
20203
|
-
*
|
|
20204
|
-
* @summary List Scaleway available managed database instance types
|
|
20205
|
-
* @param {string} databaseType Database type
|
|
20206
|
-
* @param {*} [options] Override http request option.
|
|
20207
|
-
* @throws {RequiredError}
|
|
20208
|
-
*/
|
|
20209
|
-
listSCWManagedDatabaseInstanceType: (databaseType: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
20210
20202
|
/**
|
|
20211
20203
|
*
|
|
20212
20204
|
* @summary List Scaleway available managed database types
|
|
@@ -20349,14 +20341,6 @@ export declare const CloudProviderApiFp: (configuration?: Configuration) => {
|
|
|
20349
20341
|
* @throws {RequiredError}
|
|
20350
20342
|
*/
|
|
20351
20343
|
listGcpRegions(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterRegionResponseList>>;
|
|
20352
|
-
/**
|
|
20353
|
-
*
|
|
20354
|
-
* @summary List Scaleway available managed database instance types
|
|
20355
|
-
* @param {string} databaseType Database type
|
|
20356
|
-
* @param {*} [options] Override http request option.
|
|
20357
|
-
* @throws {RequiredError}
|
|
20358
|
-
*/
|
|
20359
|
-
listSCWManagedDatabaseInstanceType(databaseType: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ManagedDatabaseInstanceTypeResponseList>>;
|
|
20360
20344
|
/**
|
|
20361
20345
|
*
|
|
20362
20346
|
* @summary List Scaleway available managed database types
|
|
@@ -20499,14 +20483,6 @@ export declare const CloudProviderApiFactory: (configuration?: Configuration, ba
|
|
|
20499
20483
|
* @throws {RequiredError}
|
|
20500
20484
|
*/
|
|
20501
20485
|
listGcpRegions(options?: RawAxiosRequestConfig): AxiosPromise<ClusterRegionResponseList>;
|
|
20502
|
-
/**
|
|
20503
|
-
*
|
|
20504
|
-
* @summary List Scaleway available managed database instance types
|
|
20505
|
-
* @param {string} databaseType Database type
|
|
20506
|
-
* @param {*} [options] Override http request option.
|
|
20507
|
-
* @throws {RequiredError}
|
|
20508
|
-
*/
|
|
20509
|
-
listSCWManagedDatabaseInstanceType(databaseType: string, options?: RawAxiosRequestConfig): AxiosPromise<ManagedDatabaseInstanceTypeResponseList>;
|
|
20510
20486
|
/**
|
|
20511
20487
|
*
|
|
20512
20488
|
* @summary List Scaleway available managed database types
|
|
@@ -20664,15 +20640,6 @@ export declare class CloudProviderApi extends BaseAPI {
|
|
|
20664
20640
|
* @memberof CloudProviderApi
|
|
20665
20641
|
*/
|
|
20666
20642
|
listGcpRegions(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterRegionResponseList, any>>;
|
|
20667
|
-
/**
|
|
20668
|
-
*
|
|
20669
|
-
* @summary List Scaleway available managed database instance types
|
|
20670
|
-
* @param {string} databaseType Database type
|
|
20671
|
-
* @param {*} [options] Override http request option.
|
|
20672
|
-
* @throws {RequiredError}
|
|
20673
|
-
* @memberof CloudProviderApi
|
|
20674
|
-
*/
|
|
20675
|
-
listSCWManagedDatabaseInstanceType(databaseType: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ManagedDatabaseInstanceTypeResponseList, any>>;
|
|
20676
20643
|
/**
|
|
20677
20644
|
*
|
|
20678
20645
|
* @summary List Scaleway available managed database types
|
package/dist/esm/api.js
CHANGED
|
@@ -6953,40 +6953,6 @@ export const CloudProviderApiAxiosParamCreator = function (configuration) {
|
|
|
6953
6953
|
options: localVarRequestOptions,
|
|
6954
6954
|
};
|
|
6955
6955
|
}),
|
|
6956
|
-
/**
|
|
6957
|
-
*
|
|
6958
|
-
* @summary List Scaleway available managed database instance types
|
|
6959
|
-
* @param {string} databaseType Database type
|
|
6960
|
-
* @param {*} [options] Override http request option.
|
|
6961
|
-
* @throws {RequiredError}
|
|
6962
|
-
*/
|
|
6963
|
-
listSCWManagedDatabaseInstanceType: (databaseType_1, ...args_1) => __awaiter(this, [databaseType_1, ...args_1], void 0, function* (databaseType, options = {}) {
|
|
6964
|
-
// verify required parameter 'databaseType' is not null or undefined
|
|
6965
|
-
assertParamExists('listSCWManagedDatabaseInstanceType', 'databaseType', databaseType);
|
|
6966
|
-
const localVarPath = `/scaleway/managedDatabase/instanceType/{zone}/{databaseType}`
|
|
6967
|
-
.replace(`{${"databaseType"}}`, encodeURIComponent(String(databaseType)));
|
|
6968
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6969
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6970
|
-
let baseOptions;
|
|
6971
|
-
if (configuration) {
|
|
6972
|
-
baseOptions = configuration.baseOptions;
|
|
6973
|
-
}
|
|
6974
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6975
|
-
const localVarHeaderParameter = {};
|
|
6976
|
-
const localVarQueryParameter = {};
|
|
6977
|
-
// authentication ApiKeyAuth required
|
|
6978
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
6979
|
-
// authentication bearerAuth required
|
|
6980
|
-
// http bearer authentication required
|
|
6981
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
6982
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6983
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6984
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6985
|
-
return {
|
|
6986
|
-
url: toPathString(localVarUrlObj),
|
|
6987
|
-
options: localVarRequestOptions,
|
|
6988
|
-
};
|
|
6989
|
-
}),
|
|
6990
6956
|
/**
|
|
6991
6957
|
*
|
|
6992
6958
|
* @summary List Scaleway available managed database types
|
|
@@ -7354,22 +7320,6 @@ export const CloudProviderApiFp = function (configuration) {
|
|
|
7354
7320
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7355
7321
|
});
|
|
7356
7322
|
},
|
|
7357
|
-
/**
|
|
7358
|
-
*
|
|
7359
|
-
* @summary List Scaleway available managed database instance types
|
|
7360
|
-
* @param {string} databaseType Database type
|
|
7361
|
-
* @param {*} [options] Override http request option.
|
|
7362
|
-
* @throws {RequiredError}
|
|
7363
|
-
*/
|
|
7364
|
-
listSCWManagedDatabaseInstanceType(databaseType, options) {
|
|
7365
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
7366
|
-
var _a, _b, _c;
|
|
7367
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listSCWManagedDatabaseInstanceType(databaseType, options);
|
|
7368
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
7369
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CloudProviderApi.listSCWManagedDatabaseInstanceType']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
7370
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7371
|
-
});
|
|
7372
|
-
},
|
|
7373
7323
|
/**
|
|
7374
7324
|
*
|
|
7375
7325
|
* @summary List Scaleway available managed database types
|
|
@@ -7581,16 +7531,6 @@ export const CloudProviderApiFactory = function (configuration, basePath, axios)
|
|
|
7581
7531
|
listGcpRegions(options) {
|
|
7582
7532
|
return localVarFp.listGcpRegions(options).then((request) => request(axios, basePath));
|
|
7583
7533
|
},
|
|
7584
|
-
/**
|
|
7585
|
-
*
|
|
7586
|
-
* @summary List Scaleway available managed database instance types
|
|
7587
|
-
* @param {string} databaseType Database type
|
|
7588
|
-
* @param {*} [options] Override http request option.
|
|
7589
|
-
* @throws {RequiredError}
|
|
7590
|
-
*/
|
|
7591
|
-
listSCWManagedDatabaseInstanceType(databaseType, options) {
|
|
7592
|
-
return localVarFp.listSCWManagedDatabaseInstanceType(databaseType, options).then((request) => request(axios, basePath));
|
|
7593
|
-
},
|
|
7594
7534
|
/**
|
|
7595
7535
|
*
|
|
7596
7536
|
* @summary List Scaleway available managed database types
|
|
@@ -7785,17 +7725,6 @@ export class CloudProviderApi extends BaseAPI {
|
|
|
7785
7725
|
listGcpRegions(options) {
|
|
7786
7726
|
return CloudProviderApiFp(this.configuration).listGcpRegions(options).then((request) => request(this.axios, this.basePath));
|
|
7787
7727
|
}
|
|
7788
|
-
/**
|
|
7789
|
-
*
|
|
7790
|
-
* @summary List Scaleway available managed database instance types
|
|
7791
|
-
* @param {string} databaseType Database type
|
|
7792
|
-
* @param {*} [options] Override http request option.
|
|
7793
|
-
* @throws {RequiredError}
|
|
7794
|
-
* @memberof CloudProviderApi
|
|
7795
|
-
*/
|
|
7796
|
-
listSCWManagedDatabaseInstanceType(databaseType, options) {
|
|
7797
|
-
return CloudProviderApiFp(this.configuration).listSCWManagedDatabaseInstanceType(databaseType, options).then((request) => request(this.axios, this.basePath));
|
|
7798
|
-
}
|
|
7799
7728
|
/**
|
|
7800
7729
|
*
|
|
7801
7730
|
* @summary List Scaleway available managed database types
|