qovery-typescript-axios 1.1.23 → 1.1.25
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 +361 -29
- package/dist/api.d.ts +194 -17
- package/dist/api.js +302 -28
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -1722,8 +1722,8 @@ export interface CloudProvider {
|
|
|
1722
1722
|
|
|
1723
1723
|
export enum CloudProviderEnum {
|
|
1724
1724
|
AWS = 'AWS',
|
|
1725
|
-
|
|
1726
|
-
|
|
1725
|
+
DO = 'DO',
|
|
1726
|
+
SCW = 'SCW'
|
|
1727
1727
|
}
|
|
1728
1728
|
|
|
1729
1729
|
/**
|
|
@@ -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
|
|
|
@@ -9189,16 +9227,19 @@ export interface PaidUsage {
|
|
|
9189
9227
|
'renewal_at'?: string;
|
|
9190
9228
|
}
|
|
9191
9229
|
/**
|
|
9192
|
-
*
|
|
9230
|
+
* BUSINESS & PROFESSIONAL are deprecated
|
|
9193
9231
|
* @export
|
|
9194
9232
|
* @enum {string}
|
|
9195
9233
|
*/
|
|
9196
9234
|
|
|
9197
9235
|
export enum PlanEnum {
|
|
9198
9236
|
FREE = 'FREE',
|
|
9237
|
+
TEAM = 'TEAM',
|
|
9238
|
+
TEAM_YEARLY = 'TEAM_YEARLY',
|
|
9239
|
+
ENTERPRISE = 'ENTERPRISE',
|
|
9240
|
+
ENTERPRISE_YEARLY = 'ENTERPRISE_YEARLY',
|
|
9199
9241
|
PROFESSIONAL = 'PROFESSIONAL',
|
|
9200
|
-
BUSINESS = 'BUSINESS'
|
|
9201
|
-
ENTERPRISE = 'ENTERPRISE'
|
|
9242
|
+
BUSINESS = 'BUSINESS'
|
|
9202
9243
|
}
|
|
9203
9244
|
|
|
9204
9245
|
/**
|
|
@@ -17384,6 +17425,78 @@ export class BillingApi extends BaseAPI {
|
|
|
17384
17425
|
*/
|
|
17385
17426
|
export const CloudProviderApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
17386
17427
|
return {
|
|
17428
|
+
/**
|
|
17429
|
+
*
|
|
17430
|
+
* @summary List AWS EKS available instance types
|
|
17431
|
+
* @param {*} [options] Override http request option.
|
|
17432
|
+
* @throws {RequiredError}
|
|
17433
|
+
*/
|
|
17434
|
+
listAWSEKSInstanceType: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17435
|
+
const localVarPath = `/aws/eks/instanceType/{region}`;
|
|
17436
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17437
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17438
|
+
let baseOptions;
|
|
17439
|
+
if (configuration) {
|
|
17440
|
+
baseOptions = configuration.baseOptions;
|
|
17441
|
+
}
|
|
17442
|
+
|
|
17443
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
17444
|
+
const localVarHeaderParameter = {} as any;
|
|
17445
|
+
const localVarQueryParameter = {} as any;
|
|
17446
|
+
|
|
17447
|
+
// authentication bearerAuth required
|
|
17448
|
+
// http bearer authentication required
|
|
17449
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
17450
|
+
|
|
17451
|
+
|
|
17452
|
+
|
|
17453
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17454
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17455
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
17456
|
+
|
|
17457
|
+
return {
|
|
17458
|
+
url: toPathString(localVarUrlObj),
|
|
17459
|
+
options: localVarRequestOptions,
|
|
17460
|
+
};
|
|
17461
|
+
},
|
|
17462
|
+
/**
|
|
17463
|
+
*
|
|
17464
|
+
* @summary List AWS EC2 available instance types
|
|
17465
|
+
* @param {string} region region name
|
|
17466
|
+
* @param {*} [options] Override http request option.
|
|
17467
|
+
* @throws {RequiredError}
|
|
17468
|
+
*/
|
|
17469
|
+
listAWSEc2InstanceType: async (region: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17470
|
+
// verify required parameter 'region' is not null or undefined
|
|
17471
|
+
assertParamExists('listAWSEc2InstanceType', 'region', region)
|
|
17472
|
+
const localVarPath = `/aws/ec2/instanceType/{region}`
|
|
17473
|
+
.replace(`{${"region"}}`, encodeURIComponent(String(region)));
|
|
17474
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17475
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17476
|
+
let baseOptions;
|
|
17477
|
+
if (configuration) {
|
|
17478
|
+
baseOptions = configuration.baseOptions;
|
|
17479
|
+
}
|
|
17480
|
+
|
|
17481
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
17482
|
+
const localVarHeaderParameter = {} as any;
|
|
17483
|
+
const localVarQueryParameter = {} as any;
|
|
17484
|
+
|
|
17485
|
+
// authentication bearerAuth required
|
|
17486
|
+
// http bearer authentication required
|
|
17487
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
17488
|
+
|
|
17489
|
+
|
|
17490
|
+
|
|
17491
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17492
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17493
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
17494
|
+
|
|
17495
|
+
return {
|
|
17496
|
+
url: toPathString(localVarUrlObj),
|
|
17497
|
+
options: localVarRequestOptions,
|
|
17498
|
+
};
|
|
17499
|
+
},
|
|
17387
17500
|
/**
|
|
17388
17501
|
*
|
|
17389
17502
|
* @summary List AWS features available
|
|
@@ -17681,6 +17794,44 @@ export const CloudProviderApiAxiosParamCreator = function (configuration?: Confi
|
|
|
17681
17794
|
|
|
17682
17795
|
|
|
17683
17796
|
|
|
17797
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17798
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17799
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
17800
|
+
|
|
17801
|
+
return {
|
|
17802
|
+
url: toPathString(localVarUrlObj),
|
|
17803
|
+
options: localVarRequestOptions,
|
|
17804
|
+
};
|
|
17805
|
+
},
|
|
17806
|
+
/**
|
|
17807
|
+
*
|
|
17808
|
+
* @summary List Scaleway Kapsule available instance types
|
|
17809
|
+
* @param {string} zone zone name
|
|
17810
|
+
* @param {*} [options] Override http request option.
|
|
17811
|
+
* @throws {RequiredError}
|
|
17812
|
+
*/
|
|
17813
|
+
listScalewayKapsuleInstanceType: async (zone: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17814
|
+
// verify required parameter 'zone' is not null or undefined
|
|
17815
|
+
assertParamExists('listScalewayKapsuleInstanceType', 'zone', zone)
|
|
17816
|
+
const localVarPath = `/scaleway/instanceType/{zone}`
|
|
17817
|
+
.replace(`{${"zone"}}`, encodeURIComponent(String(zone)));
|
|
17818
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17819
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17820
|
+
let baseOptions;
|
|
17821
|
+
if (configuration) {
|
|
17822
|
+
baseOptions = configuration.baseOptions;
|
|
17823
|
+
}
|
|
17824
|
+
|
|
17825
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
17826
|
+
const localVarHeaderParameter = {} as any;
|
|
17827
|
+
const localVarQueryParameter = {} as any;
|
|
17828
|
+
|
|
17829
|
+
// authentication bearerAuth required
|
|
17830
|
+
// http bearer authentication required
|
|
17831
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
17832
|
+
|
|
17833
|
+
|
|
17834
|
+
|
|
17684
17835
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17685
17836
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17686
17837
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -17734,6 +17885,27 @@ export const CloudProviderApiAxiosParamCreator = function (configuration?: Confi
|
|
|
17734
17885
|
export const CloudProviderApiFp = function(configuration?: Configuration) {
|
|
17735
17886
|
const localVarAxiosParamCreator = CloudProviderApiAxiosParamCreator(configuration)
|
|
17736
17887
|
return {
|
|
17888
|
+
/**
|
|
17889
|
+
*
|
|
17890
|
+
* @summary List AWS EKS available instance types
|
|
17891
|
+
* @param {*} [options] Override http request option.
|
|
17892
|
+
* @throws {RequiredError}
|
|
17893
|
+
*/
|
|
17894
|
+
async listAWSEKSInstanceType(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterInstanceTypeResponseList>> {
|
|
17895
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listAWSEKSInstanceType(options);
|
|
17896
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
17897
|
+
},
|
|
17898
|
+
/**
|
|
17899
|
+
*
|
|
17900
|
+
* @summary List AWS EC2 available instance types
|
|
17901
|
+
* @param {string} region region name
|
|
17902
|
+
* @param {*} [options] Override http request option.
|
|
17903
|
+
* @throws {RequiredError}
|
|
17904
|
+
*/
|
|
17905
|
+
async listAWSEc2InstanceType(region: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterInstanceTypeResponseList>> {
|
|
17906
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listAWSEc2InstanceType(region, options);
|
|
17907
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
17908
|
+
},
|
|
17737
17909
|
/**
|
|
17738
17910
|
*
|
|
17739
17911
|
* @summary List AWS features available
|
|
@@ -17824,6 +17996,17 @@ export const CloudProviderApiFp = function(configuration?: Configuration) {
|
|
|
17824
17996
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listScalewayInstanceType(options);
|
|
17825
17997
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
17826
17998
|
},
|
|
17999
|
+
/**
|
|
18000
|
+
*
|
|
18001
|
+
* @summary List Scaleway Kapsule available instance types
|
|
18002
|
+
* @param {string} zone zone name
|
|
18003
|
+
* @param {*} [options] Override http request option.
|
|
18004
|
+
* @throws {RequiredError}
|
|
18005
|
+
*/
|
|
18006
|
+
async listScalewayKapsuleInstanceType(zone: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterInstanceTypeResponseList>> {
|
|
18007
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listScalewayKapsuleInstanceType(zone, options);
|
|
18008
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
18009
|
+
},
|
|
17827
18010
|
/**
|
|
17828
18011
|
*
|
|
17829
18012
|
* @summary List Scaleway regions
|
|
@@ -17844,6 +18027,25 @@ export const CloudProviderApiFp = function(configuration?: Configuration) {
|
|
|
17844
18027
|
export const CloudProviderApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
17845
18028
|
const localVarFp = CloudProviderApiFp(configuration)
|
|
17846
18029
|
return {
|
|
18030
|
+
/**
|
|
18031
|
+
*
|
|
18032
|
+
* @summary List AWS EKS available instance types
|
|
18033
|
+
* @param {*} [options] Override http request option.
|
|
18034
|
+
* @throws {RequiredError}
|
|
18035
|
+
*/
|
|
18036
|
+
listAWSEKSInstanceType(options?: any): AxiosPromise<ClusterInstanceTypeResponseList> {
|
|
18037
|
+
return localVarFp.listAWSEKSInstanceType(options).then((request) => request(axios, basePath));
|
|
18038
|
+
},
|
|
18039
|
+
/**
|
|
18040
|
+
*
|
|
18041
|
+
* @summary List AWS EC2 available instance types
|
|
18042
|
+
* @param {string} region region name
|
|
18043
|
+
* @param {*} [options] Override http request option.
|
|
18044
|
+
* @throws {RequiredError}
|
|
18045
|
+
*/
|
|
18046
|
+
listAWSEc2InstanceType(region: string, options?: any): AxiosPromise<ClusterInstanceTypeResponseList> {
|
|
18047
|
+
return localVarFp.listAWSEc2InstanceType(region, options).then((request) => request(axios, basePath));
|
|
18048
|
+
},
|
|
17847
18049
|
/**
|
|
17848
18050
|
*
|
|
17849
18051
|
* @summary List AWS features available
|
|
@@ -17925,6 +18127,16 @@ export const CloudProviderApiFactory = function (configuration?: Configuration,
|
|
|
17925
18127
|
listScalewayInstanceType(options?: any): AxiosPromise<ClusterInstanceTypeResponseList> {
|
|
17926
18128
|
return localVarFp.listScalewayInstanceType(options).then((request) => request(axios, basePath));
|
|
17927
18129
|
},
|
|
18130
|
+
/**
|
|
18131
|
+
*
|
|
18132
|
+
* @summary List Scaleway Kapsule available instance types
|
|
18133
|
+
* @param {string} zone zone name
|
|
18134
|
+
* @param {*} [options] Override http request option.
|
|
18135
|
+
* @throws {RequiredError}
|
|
18136
|
+
*/
|
|
18137
|
+
listScalewayKapsuleInstanceType(zone: string, options?: any): AxiosPromise<ClusterInstanceTypeResponseList> {
|
|
18138
|
+
return localVarFp.listScalewayKapsuleInstanceType(zone, options).then((request) => request(axios, basePath));
|
|
18139
|
+
},
|
|
17928
18140
|
/**
|
|
17929
18141
|
*
|
|
17930
18142
|
* @summary List Scaleway regions
|
|
@@ -17944,6 +18156,29 @@ export const CloudProviderApiFactory = function (configuration?: Configuration,
|
|
|
17944
18156
|
* @extends {BaseAPI}
|
|
17945
18157
|
*/
|
|
17946
18158
|
export class CloudProviderApi extends BaseAPI {
|
|
18159
|
+
/**
|
|
18160
|
+
*
|
|
18161
|
+
* @summary List AWS EKS available instance types
|
|
18162
|
+
* @param {*} [options] Override http request option.
|
|
18163
|
+
* @throws {RequiredError}
|
|
18164
|
+
* @memberof CloudProviderApi
|
|
18165
|
+
*/
|
|
18166
|
+
public listAWSEKSInstanceType(options?: AxiosRequestConfig) {
|
|
18167
|
+
return CloudProviderApiFp(this.configuration).listAWSEKSInstanceType(options).then((request) => request(this.axios, this.basePath));
|
|
18168
|
+
}
|
|
18169
|
+
|
|
18170
|
+
/**
|
|
18171
|
+
*
|
|
18172
|
+
* @summary List AWS EC2 available instance types
|
|
18173
|
+
* @param {string} region region name
|
|
18174
|
+
* @param {*} [options] Override http request option.
|
|
18175
|
+
* @throws {RequiredError}
|
|
18176
|
+
* @memberof CloudProviderApi
|
|
18177
|
+
*/
|
|
18178
|
+
public listAWSEc2InstanceType(region: string, options?: AxiosRequestConfig) {
|
|
18179
|
+
return CloudProviderApiFp(this.configuration).listAWSEc2InstanceType(region, options).then((request) => request(this.axios, this.basePath));
|
|
18180
|
+
}
|
|
18181
|
+
|
|
17947
18182
|
/**
|
|
17948
18183
|
*
|
|
17949
18184
|
* @summary List AWS features available
|
|
@@ -18043,6 +18278,18 @@ export class CloudProviderApi extends BaseAPI {
|
|
|
18043
18278
|
return CloudProviderApiFp(this.configuration).listScalewayInstanceType(options).then((request) => request(this.axios, this.basePath));
|
|
18044
18279
|
}
|
|
18045
18280
|
|
|
18281
|
+
/**
|
|
18282
|
+
*
|
|
18283
|
+
* @summary List Scaleway Kapsule available instance types
|
|
18284
|
+
* @param {string} zone zone name
|
|
18285
|
+
* @param {*} [options] Override http request option.
|
|
18286
|
+
* @throws {RequiredError}
|
|
18287
|
+
* @memberof CloudProviderApi
|
|
18288
|
+
*/
|
|
18289
|
+
public listScalewayKapsuleInstanceType(zone: string, options?: AxiosRequestConfig) {
|
|
18290
|
+
return CloudProviderApiFp(this.configuration).listScalewayKapsuleInstanceType(zone, options).then((request) => request(this.axios, this.basePath));
|
|
18291
|
+
}
|
|
18292
|
+
|
|
18046
18293
|
/**
|
|
18047
18294
|
*
|
|
18048
18295
|
* @summary List Scaleway regions
|
|
@@ -24802,6 +25049,48 @@ export const ContainersApiAxiosParamCreator = function (configuration?: Configur
|
|
|
24802
25049
|
options: localVarRequestOptions,
|
|
24803
25050
|
};
|
|
24804
25051
|
},
|
|
25052
|
+
/**
|
|
25053
|
+
* Returns a list of containers with only their id and status.
|
|
25054
|
+
* @summary List all container registry container statuses
|
|
25055
|
+
* @param {string} organizationId Organization ID
|
|
25056
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
25057
|
+
* @param {*} [options] Override http request option.
|
|
25058
|
+
* @throws {RequiredError}
|
|
25059
|
+
*/
|
|
25060
|
+
getContainerRegistryContainerStatus: async (organizationId: string, containerRegistryId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
25061
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
25062
|
+
assertParamExists('getContainerRegistryContainerStatus', 'organizationId', organizationId)
|
|
25063
|
+
// verify required parameter 'containerRegistryId' is not null or undefined
|
|
25064
|
+
assertParamExists('getContainerRegistryContainerStatus', 'containerRegistryId', containerRegistryId)
|
|
25065
|
+
const localVarPath = `/organization/{organizationId}/containerRegistry/{containerRegistryId}/container/status`
|
|
25066
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
25067
|
+
.replace(`{${"containerRegistryId"}}`, encodeURIComponent(String(containerRegistryId)));
|
|
25068
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25069
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25070
|
+
let baseOptions;
|
|
25071
|
+
if (configuration) {
|
|
25072
|
+
baseOptions = configuration.baseOptions;
|
|
25073
|
+
}
|
|
25074
|
+
|
|
25075
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
25076
|
+
const localVarHeaderParameter = {} as any;
|
|
25077
|
+
const localVarQueryParameter = {} as any;
|
|
25078
|
+
|
|
25079
|
+
// authentication bearerAuth required
|
|
25080
|
+
// http bearer authentication required
|
|
25081
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
25082
|
+
|
|
25083
|
+
|
|
25084
|
+
|
|
25085
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25086
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25087
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
25088
|
+
|
|
25089
|
+
return {
|
|
25090
|
+
url: toPathString(localVarUrlObj),
|
|
25091
|
+
options: localVarRequestOptions,
|
|
25092
|
+
};
|
|
25093
|
+
},
|
|
24805
25094
|
/**
|
|
24806
25095
|
* Returns min, max, and running number of instances for each container
|
|
24807
25096
|
* @summary List current scaling information for each container
|
|
@@ -25047,6 +25336,18 @@ export const ContainersApiFp = function(configuration?: Configuration) {
|
|
|
25047
25336
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deployAllServices(environmentId, deployAllRequest, options);
|
|
25048
25337
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
25049
25338
|
},
|
|
25339
|
+
/**
|
|
25340
|
+
* Returns a list of containers with only their id and status.
|
|
25341
|
+
* @summary List all container registry container statuses
|
|
25342
|
+
* @param {string} organizationId Organization ID
|
|
25343
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
25344
|
+
* @param {*} [options] Override http request option.
|
|
25345
|
+
* @throws {RequiredError}
|
|
25346
|
+
*/
|
|
25347
|
+
async getContainerRegistryContainerStatus(organizationId: string, containerRegistryId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReferenceObjectStatusResponseList>> {
|
|
25348
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getContainerRegistryContainerStatus(organizationId, containerRegistryId, options);
|
|
25349
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
25350
|
+
},
|
|
25050
25351
|
/**
|
|
25051
25352
|
* Returns min, max, and running number of instances for each container
|
|
25052
25353
|
* @summary List current scaling information for each container
|
|
@@ -25147,6 +25448,17 @@ export const ContainersApiFactory = function (configuration?: Configuration, bas
|
|
|
25147
25448
|
deployAllServices(environmentId: string, deployAllRequest?: DeployAllRequest, options?: any): AxiosPromise<Status> {
|
|
25148
25449
|
return localVarFp.deployAllServices(environmentId, deployAllRequest, options).then((request) => request(axios, basePath));
|
|
25149
25450
|
},
|
|
25451
|
+
/**
|
|
25452
|
+
* Returns a list of containers with only their id and status.
|
|
25453
|
+
* @summary List all container registry container statuses
|
|
25454
|
+
* @param {string} organizationId Organization ID
|
|
25455
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
25456
|
+
* @param {*} [options] Override http request option.
|
|
25457
|
+
* @throws {RequiredError}
|
|
25458
|
+
*/
|
|
25459
|
+
getContainerRegistryContainerStatus(organizationId: string, containerRegistryId: string, options?: any): AxiosPromise<ReferenceObjectStatusResponseList> {
|
|
25460
|
+
return localVarFp.getContainerRegistryContainerStatus(organizationId, containerRegistryId, options).then((request) => request(axios, basePath));
|
|
25461
|
+
},
|
|
25150
25462
|
/**
|
|
25151
25463
|
* Returns min, max, and running number of instances for each container
|
|
25152
25464
|
* @summary List current scaling information for each container
|
|
@@ -25248,6 +25560,19 @@ export class ContainersApi extends BaseAPI {
|
|
|
25248
25560
|
return ContainersApiFp(this.configuration).deployAllServices(environmentId, deployAllRequest, options).then((request) => request(this.axios, this.basePath));
|
|
25249
25561
|
}
|
|
25250
25562
|
|
|
25563
|
+
/**
|
|
25564
|
+
* Returns a list of containers with only their id and status.
|
|
25565
|
+
* @summary List all container registry container statuses
|
|
25566
|
+
* @param {string} organizationId Organization ID
|
|
25567
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
25568
|
+
* @param {*} [options] Override http request option.
|
|
25569
|
+
* @throws {RequiredError}
|
|
25570
|
+
* @memberof ContainersApi
|
|
25571
|
+
*/
|
|
25572
|
+
public getContainerRegistryContainerStatus(organizationId: string, containerRegistryId: string, options?: AxiosRequestConfig) {
|
|
25573
|
+
return ContainersApiFp(this.configuration).getContainerRegistryContainerStatus(organizationId, containerRegistryId, options).then((request) => request(this.axios, this.basePath));
|
|
25574
|
+
}
|
|
25575
|
+
|
|
25251
25576
|
/**
|
|
25252
25577
|
* Returns min, max, and running number of instances for each container
|
|
25253
25578
|
* @summary List current scaling information for each container
|
|
@@ -32226,14 +32551,18 @@ export const MembersApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
32226
32551
|
*
|
|
32227
32552
|
* @summary Remove an invited member
|
|
32228
32553
|
* @param {string} organizationId Organization ID
|
|
32554
|
+
* @param {string} inviteId Invite ID
|
|
32229
32555
|
* @param {*} [options] Override http request option.
|
|
32230
32556
|
* @throws {RequiredError}
|
|
32231
32557
|
*/
|
|
32232
|
-
deleteInviteMember: async (organizationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32558
|
+
deleteInviteMember: async (organizationId: string, inviteId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32233
32559
|
// verify required parameter 'organizationId' is not null or undefined
|
|
32234
32560
|
assertParamExists('deleteInviteMember', 'organizationId', organizationId)
|
|
32561
|
+
// verify required parameter 'inviteId' is not null or undefined
|
|
32562
|
+
assertParamExists('deleteInviteMember', 'inviteId', inviteId)
|
|
32235
32563
|
const localVarPath = `/organization/{organizationId}/inviteMember/{inviteId}`
|
|
32236
|
-
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
32564
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
32565
|
+
.replace(`{${"inviteId"}}`, encodeURIComponent(String(inviteId)));
|
|
32237
32566
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32238
32567
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32239
32568
|
let baseOptions;
|
|
@@ -32264,18 +32593,15 @@ export const MembersApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
32264
32593
|
*
|
|
32265
32594
|
* @summary Remove a member
|
|
32266
32595
|
* @param {string} organizationId Organization ID
|
|
32267
|
-
* @param {
|
|
32596
|
+
* @param {InlineObject} [inlineObject]
|
|
32268
32597
|
* @param {*} [options] Override http request option.
|
|
32269
32598
|
* @throws {RequiredError}
|
|
32270
32599
|
*/
|
|
32271
|
-
deleteMember: async (organizationId: string,
|
|
32600
|
+
deleteMember: async (organizationId: string, inlineObject?: InlineObject, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32272
32601
|
// verify required parameter 'organizationId' is not null or undefined
|
|
32273
32602
|
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)));
|
|
32603
|
+
const localVarPath = `/organization/{organizationId}/member`
|
|
32604
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
32279
32605
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32280
32606
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32281
32607
|
let baseOptions;
|
|
@@ -32293,9 +32619,12 @@ export const MembersApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
32293
32619
|
|
|
32294
32620
|
|
|
32295
32621
|
|
|
32622
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
32623
|
+
|
|
32296
32624
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32297
32625
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32298
32626
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
32627
|
+
localVarRequestOptions.data = serializeDataIfNeeded(inlineObject, localVarRequestOptions, configuration)
|
|
32299
32628
|
|
|
32300
32629
|
return {
|
|
32301
32630
|
url: toPathString(localVarUrlObj),
|
|
@@ -32560,23 +32889,24 @@ export const MembersApiFp = function(configuration?: Configuration) {
|
|
|
32560
32889
|
*
|
|
32561
32890
|
* @summary Remove an invited member
|
|
32562
32891
|
* @param {string} organizationId Organization ID
|
|
32892
|
+
* @param {string} inviteId Invite ID
|
|
32563
32893
|
* @param {*} [options] Override http request option.
|
|
32564
32894
|
* @throws {RequiredError}
|
|
32565
32895
|
*/
|
|
32566
|
-
async deleteInviteMember(organizationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
32567
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteInviteMember(organizationId, options);
|
|
32896
|
+
async deleteInviteMember(organizationId: string, inviteId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
32897
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteInviteMember(organizationId, inviteId, options);
|
|
32568
32898
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
32569
32899
|
},
|
|
32570
32900
|
/**
|
|
32571
32901
|
*
|
|
32572
32902
|
* @summary Remove a member
|
|
32573
32903
|
* @param {string} organizationId Organization ID
|
|
32574
|
-
* @param {
|
|
32904
|
+
* @param {InlineObject} [inlineObject]
|
|
32575
32905
|
* @param {*} [options] Override http request option.
|
|
32576
32906
|
* @throws {RequiredError}
|
|
32577
32907
|
*/
|
|
32578
|
-
async deleteMember(organizationId: string,
|
|
32579
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteMember(organizationId,
|
|
32908
|
+
async deleteMember(organizationId: string, inlineObject?: InlineObject, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
32909
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteMember(organizationId, inlineObject, options);
|
|
32580
32910
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
32581
32911
|
},
|
|
32582
32912
|
/**
|
|
@@ -32663,22 +32993,23 @@ export const MembersApiFactory = function (configuration?: Configuration, basePa
|
|
|
32663
32993
|
*
|
|
32664
32994
|
* @summary Remove an invited member
|
|
32665
32995
|
* @param {string} organizationId Organization ID
|
|
32996
|
+
* @param {string} inviteId Invite ID
|
|
32666
32997
|
* @param {*} [options] Override http request option.
|
|
32667
32998
|
* @throws {RequiredError}
|
|
32668
32999
|
*/
|
|
32669
|
-
deleteInviteMember(organizationId: string, options?: any): AxiosPromise<void> {
|
|
32670
|
-
return localVarFp.deleteInviteMember(organizationId, options).then((request) => request(axios, basePath));
|
|
33000
|
+
deleteInviteMember(organizationId: string, inviteId: string, options?: any): AxiosPromise<void> {
|
|
33001
|
+
return localVarFp.deleteInviteMember(organizationId, inviteId, options).then((request) => request(axios, basePath));
|
|
32671
33002
|
},
|
|
32672
33003
|
/**
|
|
32673
33004
|
*
|
|
32674
33005
|
* @summary Remove a member
|
|
32675
33006
|
* @param {string} organizationId Organization ID
|
|
32676
|
-
* @param {
|
|
33007
|
+
* @param {InlineObject} [inlineObject]
|
|
32677
33008
|
* @param {*} [options] Override http request option.
|
|
32678
33009
|
* @throws {RequiredError}
|
|
32679
33010
|
*/
|
|
32680
|
-
deleteMember(organizationId: string,
|
|
32681
|
-
return localVarFp.deleteMember(organizationId,
|
|
33011
|
+
deleteMember(organizationId: string, inlineObject?: InlineObject, options?: any): AxiosPromise<void> {
|
|
33012
|
+
return localVarFp.deleteMember(organizationId, inlineObject, options).then((request) => request(axios, basePath));
|
|
32682
33013
|
},
|
|
32683
33014
|
/**
|
|
32684
33015
|
* Edit an organization member role
|
|
@@ -32758,25 +33089,26 @@ export class MembersApi extends BaseAPI {
|
|
|
32758
33089
|
*
|
|
32759
33090
|
* @summary Remove an invited member
|
|
32760
33091
|
* @param {string} organizationId Organization ID
|
|
33092
|
+
* @param {string} inviteId Invite ID
|
|
32761
33093
|
* @param {*} [options] Override http request option.
|
|
32762
33094
|
* @throws {RequiredError}
|
|
32763
33095
|
* @memberof MembersApi
|
|
32764
33096
|
*/
|
|
32765
|
-
public deleteInviteMember(organizationId: string, options?: AxiosRequestConfig) {
|
|
32766
|
-
return MembersApiFp(this.configuration).deleteInviteMember(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
33097
|
+
public deleteInviteMember(organizationId: string, inviteId: string, options?: AxiosRequestConfig) {
|
|
33098
|
+
return MembersApiFp(this.configuration).deleteInviteMember(organizationId, inviteId, options).then((request) => request(this.axios, this.basePath));
|
|
32767
33099
|
}
|
|
32768
33100
|
|
|
32769
33101
|
/**
|
|
32770
33102
|
*
|
|
32771
33103
|
* @summary Remove a member
|
|
32772
33104
|
* @param {string} organizationId Organization ID
|
|
32773
|
-
* @param {
|
|
33105
|
+
* @param {InlineObject} [inlineObject]
|
|
32774
33106
|
* @param {*} [options] Override http request option.
|
|
32775
33107
|
* @throws {RequiredError}
|
|
32776
33108
|
* @memberof MembersApi
|
|
32777
33109
|
*/
|
|
32778
|
-
public deleteMember(organizationId: string,
|
|
32779
|
-
return MembersApiFp(this.configuration).deleteMember(organizationId,
|
|
33110
|
+
public deleteMember(organizationId: string, inlineObject?: InlineObject, options?: AxiosRequestConfig) {
|
|
33111
|
+
return MembersApiFp(this.configuration).deleteMember(organizationId, inlineObject, options).then((request) => request(this.axios, this.basePath));
|
|
32780
33112
|
}
|
|
32781
33113
|
|
|
32782
33114
|
/**
|