qovery-typescript-axios 1.1.23 → 1.1.24
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 +264 -19
- package/dist/api.d.ts +145 -11
- package/dist/api.js +210 -18
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -2264,6 +2264,18 @@ export interface ClusterInstanceTypeResponseListResults {
|
|
|
2264
2264
|
* @memberof ClusterInstanceTypeResponseListResults
|
|
2265
2265
|
*/
|
|
2266
2266
|
'ram_in_gb': number;
|
|
2267
|
+
/**
|
|
2268
|
+
*
|
|
2269
|
+
* @type {string}
|
|
2270
|
+
* @memberof ClusterInstanceTypeResponseListResults
|
|
2271
|
+
*/
|
|
2272
|
+
'bandwidth_in_gbps': string;
|
|
2273
|
+
/**
|
|
2274
|
+
*
|
|
2275
|
+
* @type {string}
|
|
2276
|
+
* @memberof ClusterInstanceTypeResponseListResults
|
|
2277
|
+
*/
|
|
2278
|
+
'bandwidth_guarantee': string;
|
|
2267
2279
|
}
|
|
2268
2280
|
/**
|
|
2269
2281
|
*
|
|
@@ -3378,6 +3390,12 @@ export interface ContainerRegistryResponse {
|
|
|
3378
3390
|
* @memberof ContainerRegistryResponse
|
|
3379
3391
|
*/
|
|
3380
3392
|
'url'?: string;
|
|
3393
|
+
/**
|
|
3394
|
+
*
|
|
3395
|
+
* @type {Base & object}
|
|
3396
|
+
* @memberof ContainerRegistryResponse
|
|
3397
|
+
*/
|
|
3398
|
+
'cluster'?: Base & object;
|
|
3381
3399
|
}
|
|
3382
3400
|
/**
|
|
3383
3401
|
*
|
|
@@ -3409,6 +3427,12 @@ export interface ContainerRegistryResponseAllOf {
|
|
|
3409
3427
|
* @memberof ContainerRegistryResponseAllOf
|
|
3410
3428
|
*/
|
|
3411
3429
|
'url'?: string;
|
|
3430
|
+
/**
|
|
3431
|
+
*
|
|
3432
|
+
* @type {Base & object}
|
|
3433
|
+
* @memberof ContainerRegistryResponseAllOf
|
|
3434
|
+
*/
|
|
3435
|
+
'cluster'?: Base & object;
|
|
3412
3436
|
}
|
|
3413
3437
|
/**
|
|
3414
3438
|
*
|
|
@@ -6918,6 +6942,19 @@ export enum HealthcheckProtocolEnum {
|
|
|
6918
6942
|
NONE = 'None'
|
|
6919
6943
|
}
|
|
6920
6944
|
|
|
6945
|
+
/**
|
|
6946
|
+
*
|
|
6947
|
+
* @export
|
|
6948
|
+
* @interface InlineObject
|
|
6949
|
+
*/
|
|
6950
|
+
export interface InlineObject {
|
|
6951
|
+
/**
|
|
6952
|
+
*
|
|
6953
|
+
* @type {string}
|
|
6954
|
+
* @memberof InlineObject
|
|
6955
|
+
*/
|
|
6956
|
+
'user_id': string;
|
|
6957
|
+
}
|
|
6921
6958
|
/**
|
|
6922
6959
|
*
|
|
6923
6960
|
* @export
|
|
@@ -7350,6 +7387,7 @@ export interface LinkResponseList {
|
|
|
7350
7387
|
|
|
7351
7388
|
export enum LinkedServiceTypeEnum {
|
|
7352
7389
|
APPLICATION = 'APPLICATION',
|
|
7390
|
+
CONTAINER = 'CONTAINER',
|
|
7353
7391
|
DATABASE = 'DATABASE'
|
|
7354
7392
|
}
|
|
7355
7393
|
|
|
@@ -9196,9 +9234,10 @@ export interface PaidUsage {
|
|
|
9196
9234
|
|
|
9197
9235
|
export enum PlanEnum {
|
|
9198
9236
|
FREE = 'FREE',
|
|
9199
|
-
|
|
9200
|
-
|
|
9201
|
-
ENTERPRISE = 'ENTERPRISE'
|
|
9237
|
+
TEAM = 'TEAM',
|
|
9238
|
+
TEAM_YEARLY = 'TEAM_YEARLY',
|
|
9239
|
+
ENTERPRISE = 'ENTERPRISE',
|
|
9240
|
+
ENTERPRISE_YEARLY = 'ENTERPRISE_YEARLY'
|
|
9202
9241
|
}
|
|
9203
9242
|
|
|
9204
9243
|
/**
|
|
@@ -17384,6 +17423,78 @@ export class BillingApi extends BaseAPI {
|
|
|
17384
17423
|
*/
|
|
17385
17424
|
export const CloudProviderApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
17386
17425
|
return {
|
|
17426
|
+
/**
|
|
17427
|
+
*
|
|
17428
|
+
* @summary List AWS EKS available instance types
|
|
17429
|
+
* @param {*} [options] Override http request option.
|
|
17430
|
+
* @throws {RequiredError}
|
|
17431
|
+
*/
|
|
17432
|
+
listAWSEKSInstanceType: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17433
|
+
const localVarPath = `/aws/eks/instanceType/{region}`;
|
|
17434
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17435
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17436
|
+
let baseOptions;
|
|
17437
|
+
if (configuration) {
|
|
17438
|
+
baseOptions = configuration.baseOptions;
|
|
17439
|
+
}
|
|
17440
|
+
|
|
17441
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
17442
|
+
const localVarHeaderParameter = {} as any;
|
|
17443
|
+
const localVarQueryParameter = {} as any;
|
|
17444
|
+
|
|
17445
|
+
// authentication bearerAuth required
|
|
17446
|
+
// http bearer authentication required
|
|
17447
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
17448
|
+
|
|
17449
|
+
|
|
17450
|
+
|
|
17451
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17452
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17453
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
17454
|
+
|
|
17455
|
+
return {
|
|
17456
|
+
url: toPathString(localVarUrlObj),
|
|
17457
|
+
options: localVarRequestOptions,
|
|
17458
|
+
};
|
|
17459
|
+
},
|
|
17460
|
+
/**
|
|
17461
|
+
*
|
|
17462
|
+
* @summary List AWS EC2 available instance types
|
|
17463
|
+
* @param {string} region region name
|
|
17464
|
+
* @param {*} [options] Override http request option.
|
|
17465
|
+
* @throws {RequiredError}
|
|
17466
|
+
*/
|
|
17467
|
+
listAWSEc2InstanceType: async (region: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17468
|
+
// verify required parameter 'region' is not null or undefined
|
|
17469
|
+
assertParamExists('listAWSEc2InstanceType', 'region', region)
|
|
17470
|
+
const localVarPath = `/aws/ec2/instanceType/{region}`
|
|
17471
|
+
.replace(`{${"region"}}`, encodeURIComponent(String(region)));
|
|
17472
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17473
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17474
|
+
let baseOptions;
|
|
17475
|
+
if (configuration) {
|
|
17476
|
+
baseOptions = configuration.baseOptions;
|
|
17477
|
+
}
|
|
17478
|
+
|
|
17479
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
17480
|
+
const localVarHeaderParameter = {} as any;
|
|
17481
|
+
const localVarQueryParameter = {} as any;
|
|
17482
|
+
|
|
17483
|
+
// authentication bearerAuth required
|
|
17484
|
+
// http bearer authentication required
|
|
17485
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
17486
|
+
|
|
17487
|
+
|
|
17488
|
+
|
|
17489
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17490
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17491
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
17492
|
+
|
|
17493
|
+
return {
|
|
17494
|
+
url: toPathString(localVarUrlObj),
|
|
17495
|
+
options: localVarRequestOptions,
|
|
17496
|
+
};
|
|
17497
|
+
},
|
|
17387
17498
|
/**
|
|
17388
17499
|
*
|
|
17389
17500
|
* @summary List AWS features available
|
|
@@ -17681,6 +17792,44 @@ export const CloudProviderApiAxiosParamCreator = function (configuration?: Confi
|
|
|
17681
17792
|
|
|
17682
17793
|
|
|
17683
17794
|
|
|
17795
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17796
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17797
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
17798
|
+
|
|
17799
|
+
return {
|
|
17800
|
+
url: toPathString(localVarUrlObj),
|
|
17801
|
+
options: localVarRequestOptions,
|
|
17802
|
+
};
|
|
17803
|
+
},
|
|
17804
|
+
/**
|
|
17805
|
+
*
|
|
17806
|
+
* @summary List Scaleway Kapsule available instance types
|
|
17807
|
+
* @param {string} zone zone name
|
|
17808
|
+
* @param {*} [options] Override http request option.
|
|
17809
|
+
* @throws {RequiredError}
|
|
17810
|
+
*/
|
|
17811
|
+
listScalewayKapsuleInstanceType: async (zone: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17812
|
+
// verify required parameter 'zone' is not null or undefined
|
|
17813
|
+
assertParamExists('listScalewayKapsuleInstanceType', 'zone', zone)
|
|
17814
|
+
const localVarPath = `/scaleway/instanceType/{zone}`
|
|
17815
|
+
.replace(`{${"zone"}}`, encodeURIComponent(String(zone)));
|
|
17816
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17817
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17818
|
+
let baseOptions;
|
|
17819
|
+
if (configuration) {
|
|
17820
|
+
baseOptions = configuration.baseOptions;
|
|
17821
|
+
}
|
|
17822
|
+
|
|
17823
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
17824
|
+
const localVarHeaderParameter = {} as any;
|
|
17825
|
+
const localVarQueryParameter = {} as any;
|
|
17826
|
+
|
|
17827
|
+
// authentication bearerAuth required
|
|
17828
|
+
// http bearer authentication required
|
|
17829
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
17830
|
+
|
|
17831
|
+
|
|
17832
|
+
|
|
17684
17833
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17685
17834
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17686
17835
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -17734,6 +17883,27 @@ export const CloudProviderApiAxiosParamCreator = function (configuration?: Confi
|
|
|
17734
17883
|
export const CloudProviderApiFp = function(configuration?: Configuration) {
|
|
17735
17884
|
const localVarAxiosParamCreator = CloudProviderApiAxiosParamCreator(configuration)
|
|
17736
17885
|
return {
|
|
17886
|
+
/**
|
|
17887
|
+
*
|
|
17888
|
+
* @summary List AWS EKS available instance types
|
|
17889
|
+
* @param {*} [options] Override http request option.
|
|
17890
|
+
* @throws {RequiredError}
|
|
17891
|
+
*/
|
|
17892
|
+
async listAWSEKSInstanceType(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterInstanceTypeResponseList>> {
|
|
17893
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listAWSEKSInstanceType(options);
|
|
17894
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
17895
|
+
},
|
|
17896
|
+
/**
|
|
17897
|
+
*
|
|
17898
|
+
* @summary List AWS EC2 available instance types
|
|
17899
|
+
* @param {string} region region name
|
|
17900
|
+
* @param {*} [options] Override http request option.
|
|
17901
|
+
* @throws {RequiredError}
|
|
17902
|
+
*/
|
|
17903
|
+
async listAWSEc2InstanceType(region: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterInstanceTypeResponseList>> {
|
|
17904
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listAWSEc2InstanceType(region, options);
|
|
17905
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
17906
|
+
},
|
|
17737
17907
|
/**
|
|
17738
17908
|
*
|
|
17739
17909
|
* @summary List AWS features available
|
|
@@ -17824,6 +17994,17 @@ export const CloudProviderApiFp = function(configuration?: Configuration) {
|
|
|
17824
17994
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listScalewayInstanceType(options);
|
|
17825
17995
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
17826
17996
|
},
|
|
17997
|
+
/**
|
|
17998
|
+
*
|
|
17999
|
+
* @summary List Scaleway Kapsule available instance types
|
|
18000
|
+
* @param {string} zone zone name
|
|
18001
|
+
* @param {*} [options] Override http request option.
|
|
18002
|
+
* @throws {RequiredError}
|
|
18003
|
+
*/
|
|
18004
|
+
async listScalewayKapsuleInstanceType(zone: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterInstanceTypeResponseList>> {
|
|
18005
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listScalewayKapsuleInstanceType(zone, options);
|
|
18006
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
18007
|
+
},
|
|
17827
18008
|
/**
|
|
17828
18009
|
*
|
|
17829
18010
|
* @summary List Scaleway regions
|
|
@@ -17844,6 +18025,25 @@ export const CloudProviderApiFp = function(configuration?: Configuration) {
|
|
|
17844
18025
|
export const CloudProviderApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
17845
18026
|
const localVarFp = CloudProviderApiFp(configuration)
|
|
17846
18027
|
return {
|
|
18028
|
+
/**
|
|
18029
|
+
*
|
|
18030
|
+
* @summary List AWS EKS available instance types
|
|
18031
|
+
* @param {*} [options] Override http request option.
|
|
18032
|
+
* @throws {RequiredError}
|
|
18033
|
+
*/
|
|
18034
|
+
listAWSEKSInstanceType(options?: any): AxiosPromise<ClusterInstanceTypeResponseList> {
|
|
18035
|
+
return localVarFp.listAWSEKSInstanceType(options).then((request) => request(axios, basePath));
|
|
18036
|
+
},
|
|
18037
|
+
/**
|
|
18038
|
+
*
|
|
18039
|
+
* @summary List AWS EC2 available instance types
|
|
18040
|
+
* @param {string} region region name
|
|
18041
|
+
* @param {*} [options] Override http request option.
|
|
18042
|
+
* @throws {RequiredError}
|
|
18043
|
+
*/
|
|
18044
|
+
listAWSEc2InstanceType(region: string, options?: any): AxiosPromise<ClusterInstanceTypeResponseList> {
|
|
18045
|
+
return localVarFp.listAWSEc2InstanceType(region, options).then((request) => request(axios, basePath));
|
|
18046
|
+
},
|
|
17847
18047
|
/**
|
|
17848
18048
|
*
|
|
17849
18049
|
* @summary List AWS features available
|
|
@@ -17925,6 +18125,16 @@ export const CloudProviderApiFactory = function (configuration?: Configuration,
|
|
|
17925
18125
|
listScalewayInstanceType(options?: any): AxiosPromise<ClusterInstanceTypeResponseList> {
|
|
17926
18126
|
return localVarFp.listScalewayInstanceType(options).then((request) => request(axios, basePath));
|
|
17927
18127
|
},
|
|
18128
|
+
/**
|
|
18129
|
+
*
|
|
18130
|
+
* @summary List Scaleway Kapsule available instance types
|
|
18131
|
+
* @param {string} zone zone name
|
|
18132
|
+
* @param {*} [options] Override http request option.
|
|
18133
|
+
* @throws {RequiredError}
|
|
18134
|
+
*/
|
|
18135
|
+
listScalewayKapsuleInstanceType(zone: string, options?: any): AxiosPromise<ClusterInstanceTypeResponseList> {
|
|
18136
|
+
return localVarFp.listScalewayKapsuleInstanceType(zone, options).then((request) => request(axios, basePath));
|
|
18137
|
+
},
|
|
17928
18138
|
/**
|
|
17929
18139
|
*
|
|
17930
18140
|
* @summary List Scaleway regions
|
|
@@ -17944,6 +18154,29 @@ export const CloudProviderApiFactory = function (configuration?: Configuration,
|
|
|
17944
18154
|
* @extends {BaseAPI}
|
|
17945
18155
|
*/
|
|
17946
18156
|
export class CloudProviderApi extends BaseAPI {
|
|
18157
|
+
/**
|
|
18158
|
+
*
|
|
18159
|
+
* @summary List AWS EKS available instance types
|
|
18160
|
+
* @param {*} [options] Override http request option.
|
|
18161
|
+
* @throws {RequiredError}
|
|
18162
|
+
* @memberof CloudProviderApi
|
|
18163
|
+
*/
|
|
18164
|
+
public listAWSEKSInstanceType(options?: AxiosRequestConfig) {
|
|
18165
|
+
return CloudProviderApiFp(this.configuration).listAWSEKSInstanceType(options).then((request) => request(this.axios, this.basePath));
|
|
18166
|
+
}
|
|
18167
|
+
|
|
18168
|
+
/**
|
|
18169
|
+
*
|
|
18170
|
+
* @summary List AWS EC2 available instance types
|
|
18171
|
+
* @param {string} region region name
|
|
18172
|
+
* @param {*} [options] Override http request option.
|
|
18173
|
+
* @throws {RequiredError}
|
|
18174
|
+
* @memberof CloudProviderApi
|
|
18175
|
+
*/
|
|
18176
|
+
public listAWSEc2InstanceType(region: string, options?: AxiosRequestConfig) {
|
|
18177
|
+
return CloudProviderApiFp(this.configuration).listAWSEc2InstanceType(region, options).then((request) => request(this.axios, this.basePath));
|
|
18178
|
+
}
|
|
18179
|
+
|
|
17947
18180
|
/**
|
|
17948
18181
|
*
|
|
17949
18182
|
* @summary List AWS features available
|
|
@@ -18043,6 +18276,18 @@ export class CloudProviderApi extends BaseAPI {
|
|
|
18043
18276
|
return CloudProviderApiFp(this.configuration).listScalewayInstanceType(options).then((request) => request(this.axios, this.basePath));
|
|
18044
18277
|
}
|
|
18045
18278
|
|
|
18279
|
+
/**
|
|
18280
|
+
*
|
|
18281
|
+
* @summary List Scaleway Kapsule available instance types
|
|
18282
|
+
* @param {string} zone zone name
|
|
18283
|
+
* @param {*} [options] Override http request option.
|
|
18284
|
+
* @throws {RequiredError}
|
|
18285
|
+
* @memberof CloudProviderApi
|
|
18286
|
+
*/
|
|
18287
|
+
public listScalewayKapsuleInstanceType(zone: string, options?: AxiosRequestConfig) {
|
|
18288
|
+
return CloudProviderApiFp(this.configuration).listScalewayKapsuleInstanceType(zone, options).then((request) => request(this.axios, this.basePath));
|
|
18289
|
+
}
|
|
18290
|
+
|
|
18046
18291
|
/**
|
|
18047
18292
|
*
|
|
18048
18293
|
* @summary List Scaleway regions
|
|
@@ -32264,18 +32509,15 @@ export const MembersApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
32264
32509
|
*
|
|
32265
32510
|
* @summary Remove a member
|
|
32266
32511
|
* @param {string} organizationId Organization ID
|
|
32267
|
-
* @param {
|
|
32512
|
+
* @param {InlineObject} [inlineObject]
|
|
32268
32513
|
* @param {*} [options] Override http request option.
|
|
32269
32514
|
* @throws {RequiredError}
|
|
32270
32515
|
*/
|
|
32271
|
-
deleteMember: async (organizationId: string,
|
|
32516
|
+
deleteMember: async (organizationId: string, inlineObject?: InlineObject, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32272
32517
|
// verify required parameter 'organizationId' is not null or undefined
|
|
32273
32518
|
assertParamExists('deleteMember', 'organizationId', organizationId)
|
|
32274
|
-
|
|
32275
|
-
|
|
32276
|
-
const localVarPath = `/organization/{organizationId}/member/{userId}`
|
|
32277
|
-
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
32278
|
-
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
|
32519
|
+
const localVarPath = `/organization/{organizationId}/member`
|
|
32520
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
32279
32521
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32280
32522
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32281
32523
|
let baseOptions;
|
|
@@ -32293,9 +32535,12 @@ export const MembersApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
32293
32535
|
|
|
32294
32536
|
|
|
32295
32537
|
|
|
32538
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
32539
|
+
|
|
32296
32540
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32297
32541
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32298
32542
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
32543
|
+
localVarRequestOptions.data = serializeDataIfNeeded(inlineObject, localVarRequestOptions, configuration)
|
|
32299
32544
|
|
|
32300
32545
|
return {
|
|
32301
32546
|
url: toPathString(localVarUrlObj),
|
|
@@ -32571,12 +32816,12 @@ export const MembersApiFp = function(configuration?: Configuration) {
|
|
|
32571
32816
|
*
|
|
32572
32817
|
* @summary Remove a member
|
|
32573
32818
|
* @param {string} organizationId Organization ID
|
|
32574
|
-
* @param {
|
|
32819
|
+
* @param {InlineObject} [inlineObject]
|
|
32575
32820
|
* @param {*} [options] Override http request option.
|
|
32576
32821
|
* @throws {RequiredError}
|
|
32577
32822
|
*/
|
|
32578
|
-
async deleteMember(organizationId: string,
|
|
32579
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteMember(organizationId,
|
|
32823
|
+
async deleteMember(organizationId: string, inlineObject?: InlineObject, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
32824
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteMember(organizationId, inlineObject, options);
|
|
32580
32825
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
32581
32826
|
},
|
|
32582
32827
|
/**
|
|
@@ -32673,12 +32918,12 @@ export const MembersApiFactory = function (configuration?: Configuration, basePa
|
|
|
32673
32918
|
*
|
|
32674
32919
|
* @summary Remove a member
|
|
32675
32920
|
* @param {string} organizationId Organization ID
|
|
32676
|
-
* @param {
|
|
32921
|
+
* @param {InlineObject} [inlineObject]
|
|
32677
32922
|
* @param {*} [options] Override http request option.
|
|
32678
32923
|
* @throws {RequiredError}
|
|
32679
32924
|
*/
|
|
32680
|
-
deleteMember(organizationId: string,
|
|
32681
|
-
return localVarFp.deleteMember(organizationId,
|
|
32925
|
+
deleteMember(organizationId: string, inlineObject?: InlineObject, options?: any): AxiosPromise<void> {
|
|
32926
|
+
return localVarFp.deleteMember(organizationId, inlineObject, options).then((request) => request(axios, basePath));
|
|
32682
32927
|
},
|
|
32683
32928
|
/**
|
|
32684
32929
|
* Edit an organization member role
|
|
@@ -32770,13 +33015,13 @@ export class MembersApi extends BaseAPI {
|
|
|
32770
33015
|
*
|
|
32771
33016
|
* @summary Remove a member
|
|
32772
33017
|
* @param {string} organizationId Organization ID
|
|
32773
|
-
* @param {
|
|
33018
|
+
* @param {InlineObject} [inlineObject]
|
|
32774
33019
|
* @param {*} [options] Override http request option.
|
|
32775
33020
|
* @throws {RequiredError}
|
|
32776
33021
|
* @memberof MembersApi
|
|
32777
33022
|
*/
|
|
32778
|
-
public deleteMember(organizationId: string,
|
|
32779
|
-
return MembersApiFp(this.configuration).deleteMember(organizationId,
|
|
33023
|
+
public deleteMember(organizationId: string, inlineObject?: InlineObject, options?: AxiosRequestConfig) {
|
|
33024
|
+
return MembersApiFp(this.configuration).deleteMember(organizationId, inlineObject, options).then((request) => request(this.axios, this.basePath));
|
|
32780
33025
|
}
|
|
32781
33026
|
|
|
32782
33027
|
/**
|
package/dist/api.d.ts
CHANGED
|
@@ -2245,6 +2245,18 @@ export interface ClusterInstanceTypeResponseListResults {
|
|
|
2245
2245
|
* @memberof ClusterInstanceTypeResponseListResults
|
|
2246
2246
|
*/
|
|
2247
2247
|
'ram_in_gb': number;
|
|
2248
|
+
/**
|
|
2249
|
+
*
|
|
2250
|
+
* @type {string}
|
|
2251
|
+
* @memberof ClusterInstanceTypeResponseListResults
|
|
2252
|
+
*/
|
|
2253
|
+
'bandwidth_in_gbps': string;
|
|
2254
|
+
/**
|
|
2255
|
+
*
|
|
2256
|
+
* @type {string}
|
|
2257
|
+
* @memberof ClusterInstanceTypeResponseListResults
|
|
2258
|
+
*/
|
|
2259
|
+
'bandwidth_guarantee': string;
|
|
2248
2260
|
}
|
|
2249
2261
|
/**
|
|
2250
2262
|
*
|
|
@@ -3351,6 +3363,12 @@ export interface ContainerRegistryResponse {
|
|
|
3351
3363
|
* @memberof ContainerRegistryResponse
|
|
3352
3364
|
*/
|
|
3353
3365
|
'url'?: string;
|
|
3366
|
+
/**
|
|
3367
|
+
*
|
|
3368
|
+
* @type {Base & object}
|
|
3369
|
+
* @memberof ContainerRegistryResponse
|
|
3370
|
+
*/
|
|
3371
|
+
'cluster'?: Base & object;
|
|
3354
3372
|
}
|
|
3355
3373
|
/**
|
|
3356
3374
|
*
|
|
@@ -3382,6 +3400,12 @@ export interface ContainerRegistryResponseAllOf {
|
|
|
3382
3400
|
* @memberof ContainerRegistryResponseAllOf
|
|
3383
3401
|
*/
|
|
3384
3402
|
'url'?: string;
|
|
3403
|
+
/**
|
|
3404
|
+
*
|
|
3405
|
+
* @type {Base & object}
|
|
3406
|
+
* @memberof ContainerRegistryResponseAllOf
|
|
3407
|
+
*/
|
|
3408
|
+
'cluster'?: Base & object;
|
|
3385
3409
|
}
|
|
3386
3410
|
/**
|
|
3387
3411
|
*
|
|
@@ -6867,6 +6891,19 @@ export declare enum HealthcheckProtocolEnum {
|
|
|
6867
6891
|
HTTP = "HTTP",
|
|
6868
6892
|
NONE = "None"
|
|
6869
6893
|
}
|
|
6894
|
+
/**
|
|
6895
|
+
*
|
|
6896
|
+
* @export
|
|
6897
|
+
* @interface InlineObject
|
|
6898
|
+
*/
|
|
6899
|
+
export interface InlineObject {
|
|
6900
|
+
/**
|
|
6901
|
+
*
|
|
6902
|
+
* @type {string}
|
|
6903
|
+
* @memberof InlineObject
|
|
6904
|
+
*/
|
|
6905
|
+
'user_id': string;
|
|
6906
|
+
}
|
|
6870
6907
|
/**
|
|
6871
6908
|
*
|
|
6872
6909
|
* @export
|
|
@@ -7290,6 +7327,7 @@ export interface LinkResponseList {
|
|
|
7290
7327
|
*/
|
|
7291
7328
|
export declare enum LinkedServiceTypeEnum {
|
|
7292
7329
|
APPLICATION = "APPLICATION",
|
|
7330
|
+
CONTAINER = "CONTAINER",
|
|
7293
7331
|
DATABASE = "DATABASE"
|
|
7294
7332
|
}
|
|
7295
7333
|
/**
|
|
@@ -9124,9 +9162,10 @@ export interface PaidUsage {
|
|
|
9124
9162
|
*/
|
|
9125
9163
|
export declare enum PlanEnum {
|
|
9126
9164
|
FREE = "FREE",
|
|
9127
|
-
|
|
9128
|
-
|
|
9129
|
-
ENTERPRISE = "ENTERPRISE"
|
|
9165
|
+
TEAM = "TEAM",
|
|
9166
|
+
TEAM_YEARLY = "TEAM_YEARLY",
|
|
9167
|
+
ENTERPRISE = "ENTERPRISE",
|
|
9168
|
+
ENTERPRISE_YEARLY = "ENTERPRISE_YEARLY"
|
|
9130
9169
|
}
|
|
9131
9170
|
/**
|
|
9132
9171
|
*
|
|
@@ -14050,6 +14089,21 @@ export declare class BillingApi extends BaseAPI {
|
|
|
14050
14089
|
* @export
|
|
14051
14090
|
*/
|
|
14052
14091
|
export declare const CloudProviderApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
14092
|
+
/**
|
|
14093
|
+
*
|
|
14094
|
+
* @summary List AWS EKS available instance types
|
|
14095
|
+
* @param {*} [options] Override http request option.
|
|
14096
|
+
* @throws {RequiredError}
|
|
14097
|
+
*/
|
|
14098
|
+
listAWSEKSInstanceType: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
14099
|
+
/**
|
|
14100
|
+
*
|
|
14101
|
+
* @summary List AWS EC2 available instance types
|
|
14102
|
+
* @param {string} region region name
|
|
14103
|
+
* @param {*} [options] Override http request option.
|
|
14104
|
+
* @throws {RequiredError}
|
|
14105
|
+
*/
|
|
14106
|
+
listAWSEc2InstanceType: (region: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
14053
14107
|
/**
|
|
14054
14108
|
*
|
|
14055
14109
|
* @summary List AWS features available
|
|
@@ -14113,6 +14167,14 @@ export declare const CloudProviderApiAxiosParamCreator: (configuration?: Configu
|
|
|
14113
14167
|
* @throws {RequiredError}
|
|
14114
14168
|
*/
|
|
14115
14169
|
listScalewayInstanceType: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
14170
|
+
/**
|
|
14171
|
+
*
|
|
14172
|
+
* @summary List Scaleway Kapsule available instance types
|
|
14173
|
+
* @param {string} zone zone name
|
|
14174
|
+
* @param {*} [options] Override http request option.
|
|
14175
|
+
* @throws {RequiredError}
|
|
14176
|
+
*/
|
|
14177
|
+
listScalewayKapsuleInstanceType: (zone: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
14116
14178
|
/**
|
|
14117
14179
|
*
|
|
14118
14180
|
* @summary List Scaleway regions
|
|
@@ -14126,6 +14188,21 @@ export declare const CloudProviderApiAxiosParamCreator: (configuration?: Configu
|
|
|
14126
14188
|
* @export
|
|
14127
14189
|
*/
|
|
14128
14190
|
export declare const CloudProviderApiFp: (configuration?: Configuration) => {
|
|
14191
|
+
/**
|
|
14192
|
+
*
|
|
14193
|
+
* @summary List AWS EKS available instance types
|
|
14194
|
+
* @param {*} [options] Override http request option.
|
|
14195
|
+
* @throws {RequiredError}
|
|
14196
|
+
*/
|
|
14197
|
+
listAWSEKSInstanceType(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterInstanceTypeResponseList>>;
|
|
14198
|
+
/**
|
|
14199
|
+
*
|
|
14200
|
+
* @summary List AWS EC2 available instance types
|
|
14201
|
+
* @param {string} region region name
|
|
14202
|
+
* @param {*} [options] Override http request option.
|
|
14203
|
+
* @throws {RequiredError}
|
|
14204
|
+
*/
|
|
14205
|
+
listAWSEc2InstanceType(region: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterInstanceTypeResponseList>>;
|
|
14129
14206
|
/**
|
|
14130
14207
|
*
|
|
14131
14208
|
* @summary List AWS features available
|
|
@@ -14189,6 +14266,14 @@ export declare const CloudProviderApiFp: (configuration?: Configuration) => {
|
|
|
14189
14266
|
* @throws {RequiredError}
|
|
14190
14267
|
*/
|
|
14191
14268
|
listScalewayInstanceType(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterInstanceTypeResponseList>>;
|
|
14269
|
+
/**
|
|
14270
|
+
*
|
|
14271
|
+
* @summary List Scaleway Kapsule available instance types
|
|
14272
|
+
* @param {string} zone zone name
|
|
14273
|
+
* @param {*} [options] Override http request option.
|
|
14274
|
+
* @throws {RequiredError}
|
|
14275
|
+
*/
|
|
14276
|
+
listScalewayKapsuleInstanceType(zone: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterInstanceTypeResponseList>>;
|
|
14192
14277
|
/**
|
|
14193
14278
|
*
|
|
14194
14279
|
* @summary List Scaleway regions
|
|
@@ -14202,6 +14287,21 @@ export declare const CloudProviderApiFp: (configuration?: Configuration) => {
|
|
|
14202
14287
|
* @export
|
|
14203
14288
|
*/
|
|
14204
14289
|
export declare const CloudProviderApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
14290
|
+
/**
|
|
14291
|
+
*
|
|
14292
|
+
* @summary List AWS EKS available instance types
|
|
14293
|
+
* @param {*} [options] Override http request option.
|
|
14294
|
+
* @throws {RequiredError}
|
|
14295
|
+
*/
|
|
14296
|
+
listAWSEKSInstanceType(options?: any): AxiosPromise<ClusterInstanceTypeResponseList>;
|
|
14297
|
+
/**
|
|
14298
|
+
*
|
|
14299
|
+
* @summary List AWS EC2 available instance types
|
|
14300
|
+
* @param {string} region region name
|
|
14301
|
+
* @param {*} [options] Override http request option.
|
|
14302
|
+
* @throws {RequiredError}
|
|
14303
|
+
*/
|
|
14304
|
+
listAWSEc2InstanceType(region: string, options?: any): AxiosPromise<ClusterInstanceTypeResponseList>;
|
|
14205
14305
|
/**
|
|
14206
14306
|
*
|
|
14207
14307
|
* @summary List AWS features available
|
|
@@ -14265,6 +14365,14 @@ export declare const CloudProviderApiFactory: (configuration?: Configuration, ba
|
|
|
14265
14365
|
* @throws {RequiredError}
|
|
14266
14366
|
*/
|
|
14267
14367
|
listScalewayInstanceType(options?: any): AxiosPromise<ClusterInstanceTypeResponseList>;
|
|
14368
|
+
/**
|
|
14369
|
+
*
|
|
14370
|
+
* @summary List Scaleway Kapsule available instance types
|
|
14371
|
+
* @param {string} zone zone name
|
|
14372
|
+
* @param {*} [options] Override http request option.
|
|
14373
|
+
* @throws {RequiredError}
|
|
14374
|
+
*/
|
|
14375
|
+
listScalewayKapsuleInstanceType(zone: string, options?: any): AxiosPromise<ClusterInstanceTypeResponseList>;
|
|
14268
14376
|
/**
|
|
14269
14377
|
*
|
|
14270
14378
|
* @summary List Scaleway regions
|
|
@@ -14280,6 +14388,23 @@ export declare const CloudProviderApiFactory: (configuration?: Configuration, ba
|
|
|
14280
14388
|
* @extends {BaseAPI}
|
|
14281
14389
|
*/
|
|
14282
14390
|
export declare class CloudProviderApi extends BaseAPI {
|
|
14391
|
+
/**
|
|
14392
|
+
*
|
|
14393
|
+
* @summary List AWS EKS available instance types
|
|
14394
|
+
* @param {*} [options] Override http request option.
|
|
14395
|
+
* @throws {RequiredError}
|
|
14396
|
+
* @memberof CloudProviderApi
|
|
14397
|
+
*/
|
|
14398
|
+
listAWSEKSInstanceType(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterInstanceTypeResponseList>>;
|
|
14399
|
+
/**
|
|
14400
|
+
*
|
|
14401
|
+
* @summary List AWS EC2 available instance types
|
|
14402
|
+
* @param {string} region region name
|
|
14403
|
+
* @param {*} [options] Override http request option.
|
|
14404
|
+
* @throws {RequiredError}
|
|
14405
|
+
* @memberof CloudProviderApi
|
|
14406
|
+
*/
|
|
14407
|
+
listAWSEc2InstanceType(region: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterInstanceTypeResponseList>>;
|
|
14283
14408
|
/**
|
|
14284
14409
|
*
|
|
14285
14410
|
* @summary List AWS features available
|
|
@@ -14352,6 +14477,15 @@ export declare class CloudProviderApi extends BaseAPI {
|
|
|
14352
14477
|
* @memberof CloudProviderApi
|
|
14353
14478
|
*/
|
|
14354
14479
|
listScalewayInstanceType(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterInstanceTypeResponseList>>;
|
|
14480
|
+
/**
|
|
14481
|
+
*
|
|
14482
|
+
* @summary List Scaleway Kapsule available instance types
|
|
14483
|
+
* @param {string} zone zone name
|
|
14484
|
+
* @param {*} [options] Override http request option.
|
|
14485
|
+
* @throws {RequiredError}
|
|
14486
|
+
* @memberof CloudProviderApi
|
|
14487
|
+
*/
|
|
14488
|
+
listScalewayKapsuleInstanceType(zone: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterInstanceTypeResponseList>>;
|
|
14355
14489
|
/**
|
|
14356
14490
|
*
|
|
14357
14491
|
* @summary List Scaleway regions
|
|
@@ -21346,11 +21480,11 @@ export declare const MembersApiAxiosParamCreator: (configuration?: Configuration
|
|
|
21346
21480
|
*
|
|
21347
21481
|
* @summary Remove a member
|
|
21348
21482
|
* @param {string} organizationId Organization ID
|
|
21349
|
-
* @param {
|
|
21483
|
+
* @param {InlineObject} [inlineObject]
|
|
21350
21484
|
* @param {*} [options] Override http request option.
|
|
21351
21485
|
* @throws {RequiredError}
|
|
21352
21486
|
*/
|
|
21353
|
-
deleteMember: (organizationId: string,
|
|
21487
|
+
deleteMember: (organizationId: string, inlineObject?: InlineObject, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
21354
21488
|
/**
|
|
21355
21489
|
* Edit an organization member role
|
|
21356
21490
|
* @summary Edit an organization member role
|
|
@@ -21421,11 +21555,11 @@ export declare const MembersApiFp: (configuration?: Configuration) => {
|
|
|
21421
21555
|
*
|
|
21422
21556
|
* @summary Remove a member
|
|
21423
21557
|
* @param {string} organizationId Organization ID
|
|
21424
|
-
* @param {
|
|
21558
|
+
* @param {InlineObject} [inlineObject]
|
|
21425
21559
|
* @param {*} [options] Override http request option.
|
|
21426
21560
|
* @throws {RequiredError}
|
|
21427
21561
|
*/
|
|
21428
|
-
deleteMember(organizationId: string,
|
|
21562
|
+
deleteMember(organizationId: string, inlineObject?: InlineObject, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
21429
21563
|
/**
|
|
21430
21564
|
* Edit an organization member role
|
|
21431
21565
|
* @summary Edit an organization member role
|
|
@@ -21496,11 +21630,11 @@ export declare const MembersApiFactory: (configuration?: Configuration, basePath
|
|
|
21496
21630
|
*
|
|
21497
21631
|
* @summary Remove a member
|
|
21498
21632
|
* @param {string} organizationId Organization ID
|
|
21499
|
-
* @param {
|
|
21633
|
+
* @param {InlineObject} [inlineObject]
|
|
21500
21634
|
* @param {*} [options] Override http request option.
|
|
21501
21635
|
* @throws {RequiredError}
|
|
21502
21636
|
*/
|
|
21503
|
-
deleteMember(organizationId: string,
|
|
21637
|
+
deleteMember(organizationId: string, inlineObject?: InlineObject, options?: any): AxiosPromise<void>;
|
|
21504
21638
|
/**
|
|
21505
21639
|
* Edit an organization member role
|
|
21506
21640
|
* @summary Edit an organization member role
|
|
@@ -21574,12 +21708,12 @@ export declare class MembersApi extends BaseAPI {
|
|
|
21574
21708
|
*
|
|
21575
21709
|
* @summary Remove a member
|
|
21576
21710
|
* @param {string} organizationId Organization ID
|
|
21577
|
-
* @param {
|
|
21711
|
+
* @param {InlineObject} [inlineObject]
|
|
21578
21712
|
* @param {*} [options] Override http request option.
|
|
21579
21713
|
* @throws {RequiredError}
|
|
21580
21714
|
* @memberof MembersApi
|
|
21581
21715
|
*/
|
|
21582
|
-
deleteMember(organizationId: string,
|
|
21716
|
+
deleteMember(organizationId: string, inlineObject?: InlineObject, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
|
|
21583
21717
|
/**
|
|
21584
21718
|
* Edit an organization member role
|
|
21585
21719
|
* @summary Edit an organization member role
|
package/dist/api.js
CHANGED
|
@@ -364,6 +364,7 @@ var KubernetesEnum;
|
|
|
364
364
|
var LinkedServiceTypeEnum;
|
|
365
365
|
(function (LinkedServiceTypeEnum) {
|
|
366
366
|
LinkedServiceTypeEnum["APPLICATION"] = "APPLICATION";
|
|
367
|
+
LinkedServiceTypeEnum["CONTAINER"] = "CONTAINER";
|
|
367
368
|
LinkedServiceTypeEnum["DATABASE"] = "DATABASE";
|
|
368
369
|
})(LinkedServiceTypeEnum = exports.LinkedServiceTypeEnum || (exports.LinkedServiceTypeEnum = {}));
|
|
369
370
|
/**
|
|
@@ -428,9 +429,10 @@ var OrganizationWebhookKindEnum;
|
|
|
428
429
|
var PlanEnum;
|
|
429
430
|
(function (PlanEnum) {
|
|
430
431
|
PlanEnum["FREE"] = "FREE";
|
|
431
|
-
PlanEnum["
|
|
432
|
-
PlanEnum["
|
|
432
|
+
PlanEnum["TEAM"] = "TEAM";
|
|
433
|
+
PlanEnum["TEAM_YEARLY"] = "TEAM_YEARLY";
|
|
433
434
|
PlanEnum["ENTERPRISE"] = "ENTERPRISE";
|
|
435
|
+
PlanEnum["ENTERPRISE_YEARLY"] = "ENTERPRISE_YEARLY";
|
|
434
436
|
})(PlanEnum = exports.PlanEnum || (exports.PlanEnum = {}));
|
|
435
437
|
/**
|
|
436
438
|
*
|
|
@@ -6490,6 +6492,66 @@ exports.BillingApi = BillingApi;
|
|
|
6490
6492
|
*/
|
|
6491
6493
|
const CloudProviderApiAxiosParamCreator = function (configuration) {
|
|
6492
6494
|
return {
|
|
6495
|
+
/**
|
|
6496
|
+
*
|
|
6497
|
+
* @summary List AWS EKS available instance types
|
|
6498
|
+
* @param {*} [options] Override http request option.
|
|
6499
|
+
* @throws {RequiredError}
|
|
6500
|
+
*/
|
|
6501
|
+
listAWSEKSInstanceType: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6502
|
+
const localVarPath = `/aws/eks/instanceType/{region}`;
|
|
6503
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6504
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6505
|
+
let baseOptions;
|
|
6506
|
+
if (configuration) {
|
|
6507
|
+
baseOptions = configuration.baseOptions;
|
|
6508
|
+
}
|
|
6509
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6510
|
+
const localVarHeaderParameter = {};
|
|
6511
|
+
const localVarQueryParameter = {};
|
|
6512
|
+
// authentication bearerAuth required
|
|
6513
|
+
// http bearer authentication required
|
|
6514
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
6515
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6516
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6517
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6518
|
+
return {
|
|
6519
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6520
|
+
options: localVarRequestOptions,
|
|
6521
|
+
};
|
|
6522
|
+
}),
|
|
6523
|
+
/**
|
|
6524
|
+
*
|
|
6525
|
+
* @summary List AWS EC2 available instance types
|
|
6526
|
+
* @param {string} region region name
|
|
6527
|
+
* @param {*} [options] Override http request option.
|
|
6528
|
+
* @throws {RequiredError}
|
|
6529
|
+
*/
|
|
6530
|
+
listAWSEc2InstanceType: (region, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6531
|
+
// verify required parameter 'region' is not null or undefined
|
|
6532
|
+
(0, common_1.assertParamExists)('listAWSEc2InstanceType', 'region', region);
|
|
6533
|
+
const localVarPath = `/aws/ec2/instanceType/{region}`
|
|
6534
|
+
.replace(`{${"region"}}`, encodeURIComponent(String(region)));
|
|
6535
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6536
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6537
|
+
let baseOptions;
|
|
6538
|
+
if (configuration) {
|
|
6539
|
+
baseOptions = configuration.baseOptions;
|
|
6540
|
+
}
|
|
6541
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6542
|
+
const localVarHeaderParameter = {};
|
|
6543
|
+
const localVarQueryParameter = {};
|
|
6544
|
+
// authentication bearerAuth required
|
|
6545
|
+
// http bearer authentication required
|
|
6546
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
6547
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6548
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6549
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6550
|
+
return {
|
|
6551
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6552
|
+
options: localVarRequestOptions,
|
|
6553
|
+
};
|
|
6554
|
+
}),
|
|
6493
6555
|
/**
|
|
6494
6556
|
*
|
|
6495
6557
|
* @summary List AWS features available
|
|
@@ -6742,6 +6804,38 @@ const CloudProviderApiAxiosParamCreator = function (configuration) {
|
|
|
6742
6804
|
options: localVarRequestOptions,
|
|
6743
6805
|
};
|
|
6744
6806
|
}),
|
|
6807
|
+
/**
|
|
6808
|
+
*
|
|
6809
|
+
* @summary List Scaleway Kapsule available instance types
|
|
6810
|
+
* @param {string} zone zone name
|
|
6811
|
+
* @param {*} [options] Override http request option.
|
|
6812
|
+
* @throws {RequiredError}
|
|
6813
|
+
*/
|
|
6814
|
+
listScalewayKapsuleInstanceType: (zone, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6815
|
+
// verify required parameter 'zone' is not null or undefined
|
|
6816
|
+
(0, common_1.assertParamExists)('listScalewayKapsuleInstanceType', 'zone', zone);
|
|
6817
|
+
const localVarPath = `/scaleway/instanceType/{zone}`
|
|
6818
|
+
.replace(`{${"zone"}}`, encodeURIComponent(String(zone)));
|
|
6819
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6820
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6821
|
+
let baseOptions;
|
|
6822
|
+
if (configuration) {
|
|
6823
|
+
baseOptions = configuration.baseOptions;
|
|
6824
|
+
}
|
|
6825
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6826
|
+
const localVarHeaderParameter = {};
|
|
6827
|
+
const localVarQueryParameter = {};
|
|
6828
|
+
// authentication bearerAuth required
|
|
6829
|
+
// http bearer authentication required
|
|
6830
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
6831
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6832
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6833
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6834
|
+
return {
|
|
6835
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6836
|
+
options: localVarRequestOptions,
|
|
6837
|
+
};
|
|
6838
|
+
}),
|
|
6745
6839
|
/**
|
|
6746
6840
|
*
|
|
6747
6841
|
* @summary List Scaleway regions
|
|
@@ -6780,6 +6874,31 @@ exports.CloudProviderApiAxiosParamCreator = CloudProviderApiAxiosParamCreator;
|
|
|
6780
6874
|
const CloudProviderApiFp = function (configuration) {
|
|
6781
6875
|
const localVarAxiosParamCreator = (0, exports.CloudProviderApiAxiosParamCreator)(configuration);
|
|
6782
6876
|
return {
|
|
6877
|
+
/**
|
|
6878
|
+
*
|
|
6879
|
+
* @summary List AWS EKS available instance types
|
|
6880
|
+
* @param {*} [options] Override http request option.
|
|
6881
|
+
* @throws {RequiredError}
|
|
6882
|
+
*/
|
|
6883
|
+
listAWSEKSInstanceType(options) {
|
|
6884
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6885
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listAWSEKSInstanceType(options);
|
|
6886
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
6887
|
+
});
|
|
6888
|
+
},
|
|
6889
|
+
/**
|
|
6890
|
+
*
|
|
6891
|
+
* @summary List AWS EC2 available instance types
|
|
6892
|
+
* @param {string} region region name
|
|
6893
|
+
* @param {*} [options] Override http request option.
|
|
6894
|
+
* @throws {RequiredError}
|
|
6895
|
+
*/
|
|
6896
|
+
listAWSEc2InstanceType(region, options) {
|
|
6897
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6898
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listAWSEc2InstanceType(region, options);
|
|
6899
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
6900
|
+
});
|
|
6901
|
+
},
|
|
6783
6902
|
/**
|
|
6784
6903
|
*
|
|
6785
6904
|
* @summary List AWS features available
|
|
@@ -6888,6 +7007,19 @@ const CloudProviderApiFp = function (configuration) {
|
|
|
6888
7007
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
6889
7008
|
});
|
|
6890
7009
|
},
|
|
7010
|
+
/**
|
|
7011
|
+
*
|
|
7012
|
+
* @summary List Scaleway Kapsule available instance types
|
|
7013
|
+
* @param {string} zone zone name
|
|
7014
|
+
* @param {*} [options] Override http request option.
|
|
7015
|
+
* @throws {RequiredError}
|
|
7016
|
+
*/
|
|
7017
|
+
listScalewayKapsuleInstanceType(zone, options) {
|
|
7018
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
7019
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listScalewayKapsuleInstanceType(zone, options);
|
|
7020
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
7021
|
+
});
|
|
7022
|
+
},
|
|
6891
7023
|
/**
|
|
6892
7024
|
*
|
|
6893
7025
|
* @summary List Scaleway regions
|
|
@@ -6910,6 +7042,25 @@ exports.CloudProviderApiFp = CloudProviderApiFp;
|
|
|
6910
7042
|
const CloudProviderApiFactory = function (configuration, basePath, axios) {
|
|
6911
7043
|
const localVarFp = (0, exports.CloudProviderApiFp)(configuration);
|
|
6912
7044
|
return {
|
|
7045
|
+
/**
|
|
7046
|
+
*
|
|
7047
|
+
* @summary List AWS EKS available instance types
|
|
7048
|
+
* @param {*} [options] Override http request option.
|
|
7049
|
+
* @throws {RequiredError}
|
|
7050
|
+
*/
|
|
7051
|
+
listAWSEKSInstanceType(options) {
|
|
7052
|
+
return localVarFp.listAWSEKSInstanceType(options).then((request) => request(axios, basePath));
|
|
7053
|
+
},
|
|
7054
|
+
/**
|
|
7055
|
+
*
|
|
7056
|
+
* @summary List AWS EC2 available instance types
|
|
7057
|
+
* @param {string} region region name
|
|
7058
|
+
* @param {*} [options] Override http request option.
|
|
7059
|
+
* @throws {RequiredError}
|
|
7060
|
+
*/
|
|
7061
|
+
listAWSEc2InstanceType(region, options) {
|
|
7062
|
+
return localVarFp.listAWSEc2InstanceType(region, options).then((request) => request(axios, basePath));
|
|
7063
|
+
},
|
|
6913
7064
|
/**
|
|
6914
7065
|
*
|
|
6915
7066
|
* @summary List AWS features available
|
|
@@ -6991,6 +7142,16 @@ const CloudProviderApiFactory = function (configuration, basePath, axios) {
|
|
|
6991
7142
|
listScalewayInstanceType(options) {
|
|
6992
7143
|
return localVarFp.listScalewayInstanceType(options).then((request) => request(axios, basePath));
|
|
6993
7144
|
},
|
|
7145
|
+
/**
|
|
7146
|
+
*
|
|
7147
|
+
* @summary List Scaleway Kapsule available instance types
|
|
7148
|
+
* @param {string} zone zone name
|
|
7149
|
+
* @param {*} [options] Override http request option.
|
|
7150
|
+
* @throws {RequiredError}
|
|
7151
|
+
*/
|
|
7152
|
+
listScalewayKapsuleInstanceType(zone, options) {
|
|
7153
|
+
return localVarFp.listScalewayKapsuleInstanceType(zone, options).then((request) => request(axios, basePath));
|
|
7154
|
+
},
|
|
6994
7155
|
/**
|
|
6995
7156
|
*
|
|
6996
7157
|
* @summary List Scaleway regions
|
|
@@ -7010,6 +7171,27 @@ exports.CloudProviderApiFactory = CloudProviderApiFactory;
|
|
|
7010
7171
|
* @extends {BaseAPI}
|
|
7011
7172
|
*/
|
|
7012
7173
|
class CloudProviderApi extends base_1.BaseAPI {
|
|
7174
|
+
/**
|
|
7175
|
+
*
|
|
7176
|
+
* @summary List AWS EKS available instance types
|
|
7177
|
+
* @param {*} [options] Override http request option.
|
|
7178
|
+
* @throws {RequiredError}
|
|
7179
|
+
* @memberof CloudProviderApi
|
|
7180
|
+
*/
|
|
7181
|
+
listAWSEKSInstanceType(options) {
|
|
7182
|
+
return (0, exports.CloudProviderApiFp)(this.configuration).listAWSEKSInstanceType(options).then((request) => request(this.axios, this.basePath));
|
|
7183
|
+
}
|
|
7184
|
+
/**
|
|
7185
|
+
*
|
|
7186
|
+
* @summary List AWS EC2 available instance types
|
|
7187
|
+
* @param {string} region region name
|
|
7188
|
+
* @param {*} [options] Override http request option.
|
|
7189
|
+
* @throws {RequiredError}
|
|
7190
|
+
* @memberof CloudProviderApi
|
|
7191
|
+
*/
|
|
7192
|
+
listAWSEc2InstanceType(region, options) {
|
|
7193
|
+
return (0, exports.CloudProviderApiFp)(this.configuration).listAWSEc2InstanceType(region, options).then((request) => request(this.axios, this.basePath));
|
|
7194
|
+
}
|
|
7013
7195
|
/**
|
|
7014
7196
|
*
|
|
7015
7197
|
* @summary List AWS features available
|
|
@@ -7100,6 +7282,17 @@ class CloudProviderApi extends base_1.BaseAPI {
|
|
|
7100
7282
|
listScalewayInstanceType(options) {
|
|
7101
7283
|
return (0, exports.CloudProviderApiFp)(this.configuration).listScalewayInstanceType(options).then((request) => request(this.axios, this.basePath));
|
|
7102
7284
|
}
|
|
7285
|
+
/**
|
|
7286
|
+
*
|
|
7287
|
+
* @summary List Scaleway Kapsule available instance types
|
|
7288
|
+
* @param {string} zone zone name
|
|
7289
|
+
* @param {*} [options] Override http request option.
|
|
7290
|
+
* @throws {RequiredError}
|
|
7291
|
+
* @memberof CloudProviderApi
|
|
7292
|
+
*/
|
|
7293
|
+
listScalewayKapsuleInstanceType(zone, options) {
|
|
7294
|
+
return (0, exports.CloudProviderApiFp)(this.configuration).listScalewayKapsuleInstanceType(zone, options).then((request) => request(this.axios, this.basePath));
|
|
7295
|
+
}
|
|
7103
7296
|
/**
|
|
7104
7297
|
*
|
|
7105
7298
|
* @summary List Scaleway regions
|
|
@@ -20406,18 +20599,15 @@ const MembersApiAxiosParamCreator = function (configuration) {
|
|
|
20406
20599
|
*
|
|
20407
20600
|
* @summary Remove a member
|
|
20408
20601
|
* @param {string} organizationId Organization ID
|
|
20409
|
-
* @param {
|
|
20602
|
+
* @param {InlineObject} [inlineObject]
|
|
20410
20603
|
* @param {*} [options] Override http request option.
|
|
20411
20604
|
* @throws {RequiredError}
|
|
20412
20605
|
*/
|
|
20413
|
-
deleteMember: (organizationId,
|
|
20606
|
+
deleteMember: (organizationId, inlineObject, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
20414
20607
|
// verify required parameter 'organizationId' is not null or undefined
|
|
20415
20608
|
(0, common_1.assertParamExists)('deleteMember', 'organizationId', organizationId);
|
|
20416
|
-
|
|
20417
|
-
|
|
20418
|
-
const localVarPath = `/organization/{organizationId}/member/{userId}`
|
|
20419
|
-
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
20420
|
-
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
|
20609
|
+
const localVarPath = `/organization/{organizationId}/member`
|
|
20610
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
20421
20611
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
20422
20612
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
20423
20613
|
let baseOptions;
|
|
@@ -20430,9 +20620,11 @@ const MembersApiAxiosParamCreator = function (configuration) {
|
|
|
20430
20620
|
// authentication bearerAuth required
|
|
20431
20621
|
// http bearer authentication required
|
|
20432
20622
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
20623
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
20433
20624
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
20434
20625
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
20435
20626
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
20627
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(inlineObject, localVarRequestOptions, configuration);
|
|
20436
20628
|
return {
|
|
20437
20629
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
20438
20630
|
options: localVarRequestOptions,
|
|
@@ -20670,13 +20862,13 @@ const MembersApiFp = function (configuration) {
|
|
|
20670
20862
|
*
|
|
20671
20863
|
* @summary Remove a member
|
|
20672
20864
|
* @param {string} organizationId Organization ID
|
|
20673
|
-
* @param {
|
|
20865
|
+
* @param {InlineObject} [inlineObject]
|
|
20674
20866
|
* @param {*} [options] Override http request option.
|
|
20675
20867
|
* @throws {RequiredError}
|
|
20676
20868
|
*/
|
|
20677
|
-
deleteMember(organizationId,
|
|
20869
|
+
deleteMember(organizationId, inlineObject, options) {
|
|
20678
20870
|
return __awaiter(this, void 0, void 0, function* () {
|
|
20679
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteMember(organizationId,
|
|
20871
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteMember(organizationId, inlineObject, options);
|
|
20680
20872
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
20681
20873
|
});
|
|
20682
20874
|
},
|
|
@@ -20786,12 +20978,12 @@ const MembersApiFactory = function (configuration, basePath, axios) {
|
|
|
20786
20978
|
*
|
|
20787
20979
|
* @summary Remove a member
|
|
20788
20980
|
* @param {string} organizationId Organization ID
|
|
20789
|
-
* @param {
|
|
20981
|
+
* @param {InlineObject} [inlineObject]
|
|
20790
20982
|
* @param {*} [options] Override http request option.
|
|
20791
20983
|
* @throws {RequiredError}
|
|
20792
20984
|
*/
|
|
20793
|
-
deleteMember(organizationId,
|
|
20794
|
-
return localVarFp.deleteMember(organizationId,
|
|
20985
|
+
deleteMember(organizationId, inlineObject, options) {
|
|
20986
|
+
return localVarFp.deleteMember(organizationId, inlineObject, options).then((request) => request(axios, basePath));
|
|
20795
20987
|
},
|
|
20796
20988
|
/**
|
|
20797
20989
|
* Edit an organization member role
|
|
@@ -20882,13 +21074,13 @@ class MembersApi extends base_1.BaseAPI {
|
|
|
20882
21074
|
*
|
|
20883
21075
|
* @summary Remove a member
|
|
20884
21076
|
* @param {string} organizationId Organization ID
|
|
20885
|
-
* @param {
|
|
21077
|
+
* @param {InlineObject} [inlineObject]
|
|
20886
21078
|
* @param {*} [options] Override http request option.
|
|
20887
21079
|
* @throws {RequiredError}
|
|
20888
21080
|
* @memberof MembersApi
|
|
20889
21081
|
*/
|
|
20890
|
-
deleteMember(organizationId,
|
|
20891
|
-
return (0, exports.MembersApiFp)(this.configuration).deleteMember(organizationId,
|
|
21082
|
+
deleteMember(organizationId, inlineObject, options) {
|
|
21083
|
+
return (0, exports.MembersApiFp)(this.configuration).deleteMember(organizationId, inlineObject, options).then((request) => request(this.axios, this.basePath));
|
|
20892
21084
|
}
|
|
20893
21085
|
/**
|
|
20894
21086
|
* Edit an organization member role
|