qovery-typescript-axios 1.1.22 → 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 +270 -19
- package/dist/api.d.ts +151 -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
|
|
|
@@ -8453,6 +8491,12 @@ export interface OrganizationCurrentCostAllOf {
|
|
|
8453
8491
|
* @interface OrganizationCustomRole
|
|
8454
8492
|
*/
|
|
8455
8493
|
export interface OrganizationCustomRole {
|
|
8494
|
+
/**
|
|
8495
|
+
*
|
|
8496
|
+
* @type {string}
|
|
8497
|
+
* @memberof OrganizationCustomRole
|
|
8498
|
+
*/
|
|
8499
|
+
'id'?: string;
|
|
8456
8500
|
/**
|
|
8457
8501
|
*
|
|
8458
8502
|
* @type {string}
|
|
@@ -9190,9 +9234,10 @@ export interface PaidUsage {
|
|
|
9190
9234
|
|
|
9191
9235
|
export enum PlanEnum {
|
|
9192
9236
|
FREE = 'FREE',
|
|
9193
|
-
|
|
9194
|
-
|
|
9195
|
-
ENTERPRISE = 'ENTERPRISE'
|
|
9237
|
+
TEAM = 'TEAM',
|
|
9238
|
+
TEAM_YEARLY = 'TEAM_YEARLY',
|
|
9239
|
+
ENTERPRISE = 'ENTERPRISE',
|
|
9240
|
+
ENTERPRISE_YEARLY = 'ENTERPRISE_YEARLY'
|
|
9196
9241
|
}
|
|
9197
9242
|
|
|
9198
9243
|
/**
|
|
@@ -17378,6 +17423,78 @@ export class BillingApi extends BaseAPI {
|
|
|
17378
17423
|
*/
|
|
17379
17424
|
export const CloudProviderApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
17380
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
|
+
},
|
|
17381
17498
|
/**
|
|
17382
17499
|
*
|
|
17383
17500
|
* @summary List AWS features available
|
|
@@ -17675,6 +17792,44 @@ export const CloudProviderApiAxiosParamCreator = function (configuration?: Confi
|
|
|
17675
17792
|
|
|
17676
17793
|
|
|
17677
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
|
+
|
|
17678
17833
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17679
17834
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17680
17835
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -17728,6 +17883,27 @@ export const CloudProviderApiAxiosParamCreator = function (configuration?: Confi
|
|
|
17728
17883
|
export const CloudProviderApiFp = function(configuration?: Configuration) {
|
|
17729
17884
|
const localVarAxiosParamCreator = CloudProviderApiAxiosParamCreator(configuration)
|
|
17730
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
|
+
},
|
|
17731
17907
|
/**
|
|
17732
17908
|
*
|
|
17733
17909
|
* @summary List AWS features available
|
|
@@ -17818,6 +17994,17 @@ export const CloudProviderApiFp = function(configuration?: Configuration) {
|
|
|
17818
17994
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listScalewayInstanceType(options);
|
|
17819
17995
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
17820
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
|
+
},
|
|
17821
18008
|
/**
|
|
17822
18009
|
*
|
|
17823
18010
|
* @summary List Scaleway regions
|
|
@@ -17838,6 +18025,25 @@ export const CloudProviderApiFp = function(configuration?: Configuration) {
|
|
|
17838
18025
|
export const CloudProviderApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
17839
18026
|
const localVarFp = CloudProviderApiFp(configuration)
|
|
17840
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
|
+
},
|
|
17841
18047
|
/**
|
|
17842
18048
|
*
|
|
17843
18049
|
* @summary List AWS features available
|
|
@@ -17919,6 +18125,16 @@ export const CloudProviderApiFactory = function (configuration?: Configuration,
|
|
|
17919
18125
|
listScalewayInstanceType(options?: any): AxiosPromise<ClusterInstanceTypeResponseList> {
|
|
17920
18126
|
return localVarFp.listScalewayInstanceType(options).then((request) => request(axios, basePath));
|
|
17921
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
|
+
},
|
|
17922
18138
|
/**
|
|
17923
18139
|
*
|
|
17924
18140
|
* @summary List Scaleway regions
|
|
@@ -17938,6 +18154,29 @@ export const CloudProviderApiFactory = function (configuration?: Configuration,
|
|
|
17938
18154
|
* @extends {BaseAPI}
|
|
17939
18155
|
*/
|
|
17940
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
|
+
|
|
17941
18180
|
/**
|
|
17942
18181
|
*
|
|
17943
18182
|
* @summary List AWS features available
|
|
@@ -18037,6 +18276,18 @@ export class CloudProviderApi extends BaseAPI {
|
|
|
18037
18276
|
return CloudProviderApiFp(this.configuration).listScalewayInstanceType(options).then((request) => request(this.axios, this.basePath));
|
|
18038
18277
|
}
|
|
18039
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
|
+
|
|
18040
18291
|
/**
|
|
18041
18292
|
*
|
|
18042
18293
|
* @summary List Scaleway regions
|
|
@@ -32258,18 +32509,15 @@ export const MembersApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
32258
32509
|
*
|
|
32259
32510
|
* @summary Remove a member
|
|
32260
32511
|
* @param {string} organizationId Organization ID
|
|
32261
|
-
* @param {
|
|
32512
|
+
* @param {InlineObject} [inlineObject]
|
|
32262
32513
|
* @param {*} [options] Override http request option.
|
|
32263
32514
|
* @throws {RequiredError}
|
|
32264
32515
|
*/
|
|
32265
|
-
deleteMember: async (organizationId: string,
|
|
32516
|
+
deleteMember: async (organizationId: string, inlineObject?: InlineObject, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32266
32517
|
// verify required parameter 'organizationId' is not null or undefined
|
|
32267
32518
|
assertParamExists('deleteMember', 'organizationId', organizationId)
|
|
32268
|
-
|
|
32269
|
-
|
|
32270
|
-
const localVarPath = `/organization/{organizationId}/member/{userId}`
|
|
32271
|
-
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
32272
|
-
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
|
32519
|
+
const localVarPath = `/organization/{organizationId}/member`
|
|
32520
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
32273
32521
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32274
32522
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32275
32523
|
let baseOptions;
|
|
@@ -32287,9 +32535,12 @@ export const MembersApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
32287
32535
|
|
|
32288
32536
|
|
|
32289
32537
|
|
|
32538
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
32539
|
+
|
|
32290
32540
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32291
32541
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32292
32542
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
32543
|
+
localVarRequestOptions.data = serializeDataIfNeeded(inlineObject, localVarRequestOptions, configuration)
|
|
32293
32544
|
|
|
32294
32545
|
return {
|
|
32295
32546
|
url: toPathString(localVarUrlObj),
|
|
@@ -32565,12 +32816,12 @@ export const MembersApiFp = function(configuration?: Configuration) {
|
|
|
32565
32816
|
*
|
|
32566
32817
|
* @summary Remove a member
|
|
32567
32818
|
* @param {string} organizationId Organization ID
|
|
32568
|
-
* @param {
|
|
32819
|
+
* @param {InlineObject} [inlineObject]
|
|
32569
32820
|
* @param {*} [options] Override http request option.
|
|
32570
32821
|
* @throws {RequiredError}
|
|
32571
32822
|
*/
|
|
32572
|
-
async deleteMember(organizationId: string,
|
|
32573
|
-
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);
|
|
32574
32825
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
32575
32826
|
},
|
|
32576
32827
|
/**
|
|
@@ -32667,12 +32918,12 @@ export const MembersApiFactory = function (configuration?: Configuration, basePa
|
|
|
32667
32918
|
*
|
|
32668
32919
|
* @summary Remove a member
|
|
32669
32920
|
* @param {string} organizationId Organization ID
|
|
32670
|
-
* @param {
|
|
32921
|
+
* @param {InlineObject} [inlineObject]
|
|
32671
32922
|
* @param {*} [options] Override http request option.
|
|
32672
32923
|
* @throws {RequiredError}
|
|
32673
32924
|
*/
|
|
32674
|
-
deleteMember(organizationId: string,
|
|
32675
|
-
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));
|
|
32676
32927
|
},
|
|
32677
32928
|
/**
|
|
32678
32929
|
* Edit an organization member role
|
|
@@ -32764,13 +33015,13 @@ export class MembersApi extends BaseAPI {
|
|
|
32764
33015
|
*
|
|
32765
33016
|
* @summary Remove a member
|
|
32766
33017
|
* @param {string} organizationId Organization ID
|
|
32767
|
-
* @param {
|
|
33018
|
+
* @param {InlineObject} [inlineObject]
|
|
32768
33019
|
* @param {*} [options] Override http request option.
|
|
32769
33020
|
* @throws {RequiredError}
|
|
32770
33021
|
* @memberof MembersApi
|
|
32771
33022
|
*/
|
|
32772
|
-
public deleteMember(organizationId: string,
|
|
32773
|
-
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));
|
|
32774
33025
|
}
|
|
32775
33026
|
|
|
32776
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
|
/**
|
|
@@ -8390,6 +8428,12 @@ export interface OrganizationCurrentCostAllOf {
|
|
|
8390
8428
|
* @interface OrganizationCustomRole
|
|
8391
8429
|
*/
|
|
8392
8430
|
export interface OrganizationCustomRole {
|
|
8431
|
+
/**
|
|
8432
|
+
*
|
|
8433
|
+
* @type {string}
|
|
8434
|
+
* @memberof OrganizationCustomRole
|
|
8435
|
+
*/
|
|
8436
|
+
'id'?: string;
|
|
8393
8437
|
/**
|
|
8394
8438
|
*
|
|
8395
8439
|
* @type {string}
|
|
@@ -9118,9 +9162,10 @@ export interface PaidUsage {
|
|
|
9118
9162
|
*/
|
|
9119
9163
|
export declare enum PlanEnum {
|
|
9120
9164
|
FREE = "FREE",
|
|
9121
|
-
|
|
9122
|
-
|
|
9123
|
-
ENTERPRISE = "ENTERPRISE"
|
|
9165
|
+
TEAM = "TEAM",
|
|
9166
|
+
TEAM_YEARLY = "TEAM_YEARLY",
|
|
9167
|
+
ENTERPRISE = "ENTERPRISE",
|
|
9168
|
+
ENTERPRISE_YEARLY = "ENTERPRISE_YEARLY"
|
|
9124
9169
|
}
|
|
9125
9170
|
/**
|
|
9126
9171
|
*
|
|
@@ -14044,6 +14089,21 @@ export declare class BillingApi extends BaseAPI {
|
|
|
14044
14089
|
* @export
|
|
14045
14090
|
*/
|
|
14046
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>;
|
|
14047
14107
|
/**
|
|
14048
14108
|
*
|
|
14049
14109
|
* @summary List AWS features available
|
|
@@ -14107,6 +14167,14 @@ export declare const CloudProviderApiAxiosParamCreator: (configuration?: Configu
|
|
|
14107
14167
|
* @throws {RequiredError}
|
|
14108
14168
|
*/
|
|
14109
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>;
|
|
14110
14178
|
/**
|
|
14111
14179
|
*
|
|
14112
14180
|
* @summary List Scaleway regions
|
|
@@ -14120,6 +14188,21 @@ export declare const CloudProviderApiAxiosParamCreator: (configuration?: Configu
|
|
|
14120
14188
|
* @export
|
|
14121
14189
|
*/
|
|
14122
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>>;
|
|
14123
14206
|
/**
|
|
14124
14207
|
*
|
|
14125
14208
|
* @summary List AWS features available
|
|
@@ -14183,6 +14266,14 @@ export declare const CloudProviderApiFp: (configuration?: Configuration) => {
|
|
|
14183
14266
|
* @throws {RequiredError}
|
|
14184
14267
|
*/
|
|
14185
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>>;
|
|
14186
14277
|
/**
|
|
14187
14278
|
*
|
|
14188
14279
|
* @summary List Scaleway regions
|
|
@@ -14196,6 +14287,21 @@ export declare const CloudProviderApiFp: (configuration?: Configuration) => {
|
|
|
14196
14287
|
* @export
|
|
14197
14288
|
*/
|
|
14198
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>;
|
|
14199
14305
|
/**
|
|
14200
14306
|
*
|
|
14201
14307
|
* @summary List AWS features available
|
|
@@ -14259,6 +14365,14 @@ export declare const CloudProviderApiFactory: (configuration?: Configuration, ba
|
|
|
14259
14365
|
* @throws {RequiredError}
|
|
14260
14366
|
*/
|
|
14261
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>;
|
|
14262
14376
|
/**
|
|
14263
14377
|
*
|
|
14264
14378
|
* @summary List Scaleway regions
|
|
@@ -14274,6 +14388,23 @@ export declare const CloudProviderApiFactory: (configuration?: Configuration, ba
|
|
|
14274
14388
|
* @extends {BaseAPI}
|
|
14275
14389
|
*/
|
|
14276
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>>;
|
|
14277
14408
|
/**
|
|
14278
14409
|
*
|
|
14279
14410
|
* @summary List AWS features available
|
|
@@ -14346,6 +14477,15 @@ export declare class CloudProviderApi extends BaseAPI {
|
|
|
14346
14477
|
* @memberof CloudProviderApi
|
|
14347
14478
|
*/
|
|
14348
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>>;
|
|
14349
14489
|
/**
|
|
14350
14490
|
*
|
|
14351
14491
|
* @summary List Scaleway regions
|
|
@@ -21340,11 +21480,11 @@ export declare const MembersApiAxiosParamCreator: (configuration?: Configuration
|
|
|
21340
21480
|
*
|
|
21341
21481
|
* @summary Remove a member
|
|
21342
21482
|
* @param {string} organizationId Organization ID
|
|
21343
|
-
* @param {
|
|
21483
|
+
* @param {InlineObject} [inlineObject]
|
|
21344
21484
|
* @param {*} [options] Override http request option.
|
|
21345
21485
|
* @throws {RequiredError}
|
|
21346
21486
|
*/
|
|
21347
|
-
deleteMember: (organizationId: string,
|
|
21487
|
+
deleteMember: (organizationId: string, inlineObject?: InlineObject, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
21348
21488
|
/**
|
|
21349
21489
|
* Edit an organization member role
|
|
21350
21490
|
* @summary Edit an organization member role
|
|
@@ -21415,11 +21555,11 @@ export declare const MembersApiFp: (configuration?: Configuration) => {
|
|
|
21415
21555
|
*
|
|
21416
21556
|
* @summary Remove a member
|
|
21417
21557
|
* @param {string} organizationId Organization ID
|
|
21418
|
-
* @param {
|
|
21558
|
+
* @param {InlineObject} [inlineObject]
|
|
21419
21559
|
* @param {*} [options] Override http request option.
|
|
21420
21560
|
* @throws {RequiredError}
|
|
21421
21561
|
*/
|
|
21422
|
-
deleteMember(organizationId: string,
|
|
21562
|
+
deleteMember(organizationId: string, inlineObject?: InlineObject, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
21423
21563
|
/**
|
|
21424
21564
|
* Edit an organization member role
|
|
21425
21565
|
* @summary Edit an organization member role
|
|
@@ -21490,11 +21630,11 @@ export declare const MembersApiFactory: (configuration?: Configuration, basePath
|
|
|
21490
21630
|
*
|
|
21491
21631
|
* @summary Remove a member
|
|
21492
21632
|
* @param {string} organizationId Organization ID
|
|
21493
|
-
* @param {
|
|
21633
|
+
* @param {InlineObject} [inlineObject]
|
|
21494
21634
|
* @param {*} [options] Override http request option.
|
|
21495
21635
|
* @throws {RequiredError}
|
|
21496
21636
|
*/
|
|
21497
|
-
deleteMember(organizationId: string,
|
|
21637
|
+
deleteMember(organizationId: string, inlineObject?: InlineObject, options?: any): AxiosPromise<void>;
|
|
21498
21638
|
/**
|
|
21499
21639
|
* Edit an organization member role
|
|
21500
21640
|
* @summary Edit an organization member role
|
|
@@ -21568,12 +21708,12 @@ export declare class MembersApi extends BaseAPI {
|
|
|
21568
21708
|
*
|
|
21569
21709
|
* @summary Remove a member
|
|
21570
21710
|
* @param {string} organizationId Organization ID
|
|
21571
|
-
* @param {
|
|
21711
|
+
* @param {InlineObject} [inlineObject]
|
|
21572
21712
|
* @param {*} [options] Override http request option.
|
|
21573
21713
|
* @throws {RequiredError}
|
|
21574
21714
|
* @memberof MembersApi
|
|
21575
21715
|
*/
|
|
21576
|
-
deleteMember(organizationId: string,
|
|
21716
|
+
deleteMember(organizationId: string, inlineObject?: InlineObject, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
|
|
21577
21717
|
/**
|
|
21578
21718
|
* Edit an organization member role
|
|
21579
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
|