qovery-typescript-axios 1.1.237 → 1.1.239
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 +213 -8
- package/dist/api.d.ts +123 -8
- package/dist/api.js +170 -11
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -2440,6 +2440,18 @@ export interface ClusterCredentialsResponseList {
|
|
|
2440
2440
|
*/
|
|
2441
2441
|
'results'?: Array<ClusterCredentials>;
|
|
2442
2442
|
}
|
|
2443
|
+
/**
|
|
2444
|
+
* Indicates the mode to apply on cluster deletion **\"hard delete\"** means that we delete directly from our database, this is different from a **\"trigger delete\"** that cleans the resource - `DEFAULT`: this is the normal way, trigger delete the cluster only if no environment linked to this cluster remains - `DELETE_CLUSTER_AND_QOVERY_CONFIG`: hard delete environments linked to this cluster then trigger delete the cluster - `DELETE_QOVERY_CONFIG`: hard delete environments linked to this cluster then hard delete the cluster
|
|
2445
|
+
* @export
|
|
2446
|
+
* @enum {string}
|
|
2447
|
+
*/
|
|
2448
|
+
|
|
2449
|
+
export enum ClusterDeleteMode {
|
|
2450
|
+
DEFAULT = 'DEFAULT',
|
|
2451
|
+
DELETE_CLUSTER_AND_QOVERY_CONFIG = 'DELETE_CLUSTER_AND_QOVERY_CONFIG',
|
|
2452
|
+
DELETE_QOVERY_CONFIG = 'DELETE_QOVERY_CONFIG'
|
|
2453
|
+
}
|
|
2454
|
+
|
|
2443
2455
|
/**
|
|
2444
2456
|
*
|
|
2445
2457
|
* @export
|
|
@@ -7440,6 +7452,37 @@ export interface EnvironmentResponseList {
|
|
|
7440
7452
|
*/
|
|
7441
7453
|
'results'?: Array<Environment>;
|
|
7442
7454
|
}
|
|
7455
|
+
/**
|
|
7456
|
+
*
|
|
7457
|
+
* @export
|
|
7458
|
+
* @interface EnvironmentServiceIdsAllRequest
|
|
7459
|
+
*/
|
|
7460
|
+
export interface EnvironmentServiceIdsAllRequest {
|
|
7461
|
+
/**
|
|
7462
|
+
*
|
|
7463
|
+
* @type {Array<string>}
|
|
7464
|
+
* @memberof EnvironmentServiceIdsAllRequest
|
|
7465
|
+
*/
|
|
7466
|
+
'application_ids'?: Array<string>;
|
|
7467
|
+
/**
|
|
7468
|
+
*
|
|
7469
|
+
* @type {Array<string>}
|
|
7470
|
+
* @memberof EnvironmentServiceIdsAllRequest
|
|
7471
|
+
*/
|
|
7472
|
+
'container_ids'?: Array<string>;
|
|
7473
|
+
/**
|
|
7474
|
+
*
|
|
7475
|
+
* @type {Array<string>}
|
|
7476
|
+
* @memberof EnvironmentServiceIdsAllRequest
|
|
7477
|
+
*/
|
|
7478
|
+
'database_ids'?: Array<string>;
|
|
7479
|
+
/**
|
|
7480
|
+
*
|
|
7481
|
+
* @type {Array<string>}
|
|
7482
|
+
* @memberof EnvironmentServiceIdsAllRequest
|
|
7483
|
+
*/
|
|
7484
|
+
'job_ids'?: Array<string>;
|
|
7485
|
+
}
|
|
7443
7486
|
/**
|
|
7444
7487
|
*
|
|
7445
7488
|
* @export
|
|
@@ -22835,11 +22878,11 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
22835
22878
|
* @summary Delete a cluster
|
|
22836
22879
|
* @param {string} organizationId Organization ID
|
|
22837
22880
|
* @param {string} clusterId Cluster ID
|
|
22838
|
-
* @param {
|
|
22881
|
+
* @param {ClusterDeleteMode} [deleteMode]
|
|
22839
22882
|
* @param {*} [options] Override http request option.
|
|
22840
22883
|
* @throws {RequiredError}
|
|
22841
22884
|
*/
|
|
22842
|
-
deleteCluster: async (organizationId: string, clusterId: string, deleteMode?:
|
|
22885
|
+
deleteCluster: async (organizationId: string, clusterId: string, deleteMode?: ClusterDeleteMode, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22843
22886
|
// verify required parameter 'organizationId' is not null or undefined
|
|
22844
22887
|
assertParamExists('deleteCluster', 'organizationId', organizationId)
|
|
22845
22888
|
// verify required parameter 'clusterId' is not null or undefined
|
|
@@ -23582,11 +23625,11 @@ export const ClustersApiFp = function(configuration?: Configuration) {
|
|
|
23582
23625
|
* @summary Delete a cluster
|
|
23583
23626
|
* @param {string} organizationId Organization ID
|
|
23584
23627
|
* @param {string} clusterId Cluster ID
|
|
23585
|
-
* @param {
|
|
23628
|
+
* @param {ClusterDeleteMode} [deleteMode]
|
|
23586
23629
|
* @param {*} [options] Override http request option.
|
|
23587
23630
|
* @throws {RequiredError}
|
|
23588
23631
|
*/
|
|
23589
|
-
async deleteCluster(organizationId: string, clusterId: string, deleteMode?:
|
|
23632
|
+
async deleteCluster(organizationId: string, clusterId: string, deleteMode?: ClusterDeleteMode, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
23590
23633
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteCluster(organizationId, clusterId, deleteMode, options);
|
|
23591
23634
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23592
23635
|
},
|
|
@@ -23796,11 +23839,11 @@ export const ClustersApiFactory = function (configuration?: Configuration, baseP
|
|
|
23796
23839
|
* @summary Delete a cluster
|
|
23797
23840
|
* @param {string} organizationId Organization ID
|
|
23798
23841
|
* @param {string} clusterId Cluster ID
|
|
23799
|
-
* @param {
|
|
23842
|
+
* @param {ClusterDeleteMode} [deleteMode]
|
|
23800
23843
|
* @param {*} [options] Override http request option.
|
|
23801
23844
|
* @throws {RequiredError}
|
|
23802
23845
|
*/
|
|
23803
|
-
deleteCluster(organizationId: string, clusterId: string, deleteMode?:
|
|
23846
|
+
deleteCluster(organizationId: string, clusterId: string, deleteMode?: ClusterDeleteMode, options?: any): AxiosPromise<void> {
|
|
23804
23847
|
return localVarFp.deleteCluster(organizationId, clusterId, deleteMode, options).then((request) => request(axios, basePath));
|
|
23805
23848
|
},
|
|
23806
23849
|
/**
|
|
@@ -23996,12 +24039,12 @@ export class ClustersApi extends BaseAPI {
|
|
|
23996
24039
|
* @summary Delete a cluster
|
|
23997
24040
|
* @param {string} organizationId Organization ID
|
|
23998
24041
|
* @param {string} clusterId Cluster ID
|
|
23999
|
-
* @param {
|
|
24042
|
+
* @param {ClusterDeleteMode} [deleteMode]
|
|
24000
24043
|
* @param {*} [options] Override http request option.
|
|
24001
24044
|
* @throws {RequiredError}
|
|
24002
24045
|
* @memberof ClustersApi
|
|
24003
24046
|
*/
|
|
24004
|
-
public deleteCluster(organizationId: string, clusterId: string, deleteMode?:
|
|
24047
|
+
public deleteCluster(organizationId: string, clusterId: string, deleteMode?: ClusterDeleteMode, options?: AxiosRequestConfig) {
|
|
24005
24048
|
return ClustersApiFp(this.configuration).deleteCluster(organizationId, clusterId, deleteMode, options).then((request) => request(this.axios, this.basePath));
|
|
24006
24049
|
}
|
|
24007
24050
|
|
|
@@ -32532,6 +32575,51 @@ export const EnvironmentActionsApiAxiosParamCreator = function (configuration?:
|
|
|
32532
32575
|
options: localVarRequestOptions,
|
|
32533
32576
|
};
|
|
32534
32577
|
},
|
|
32578
|
+
/**
|
|
32579
|
+
* Delete selected services
|
|
32580
|
+
* @summary Delete services
|
|
32581
|
+
* @param {string} environmentId Environment ID
|
|
32582
|
+
* @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
|
|
32583
|
+
* @param {*} [options] Override http request option.
|
|
32584
|
+
* @throws {RequiredError}
|
|
32585
|
+
*/
|
|
32586
|
+
deleteSelectedServices: async (environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32587
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
32588
|
+
assertParamExists('deleteSelectedServices', 'environmentId', environmentId)
|
|
32589
|
+
const localVarPath = `/environment/{environmentId}/service/delete`
|
|
32590
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
32591
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32592
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32593
|
+
let baseOptions;
|
|
32594
|
+
if (configuration) {
|
|
32595
|
+
baseOptions = configuration.baseOptions;
|
|
32596
|
+
}
|
|
32597
|
+
|
|
32598
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
32599
|
+
const localVarHeaderParameter = {} as any;
|
|
32600
|
+
const localVarQueryParameter = {} as any;
|
|
32601
|
+
|
|
32602
|
+
// authentication ApiKeyAuth required
|
|
32603
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
32604
|
+
|
|
32605
|
+
// authentication bearerAuth required
|
|
32606
|
+
// http bearer authentication required
|
|
32607
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
32608
|
+
|
|
32609
|
+
|
|
32610
|
+
|
|
32611
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
32612
|
+
|
|
32613
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32614
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32615
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
32616
|
+
localVarRequestOptions.data = serializeDataIfNeeded(environmentServiceIdsAllRequest, localVarRequestOptions, configuration)
|
|
32617
|
+
|
|
32618
|
+
return {
|
|
32619
|
+
url: toPathString(localVarUrlObj),
|
|
32620
|
+
options: localVarRequestOptions,
|
|
32621
|
+
};
|
|
32622
|
+
},
|
|
32535
32623
|
/**
|
|
32536
32624
|
* Update and deploy the selected services
|
|
32537
32625
|
* @summary Deploy services
|
|
@@ -32781,6 +32869,51 @@ export const EnvironmentActionsApiAxiosParamCreator = function (configuration?:
|
|
|
32781
32869
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32782
32870
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
32783
32871
|
|
|
32872
|
+
return {
|
|
32873
|
+
url: toPathString(localVarUrlObj),
|
|
32874
|
+
options: localVarRequestOptions,
|
|
32875
|
+
};
|
|
32876
|
+
},
|
|
32877
|
+
/**
|
|
32878
|
+
* Stop selected services
|
|
32879
|
+
* @summary Stop services
|
|
32880
|
+
* @param {string} environmentId Environment ID
|
|
32881
|
+
* @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
|
|
32882
|
+
* @param {*} [options] Override http request option.
|
|
32883
|
+
* @throws {RequiredError}
|
|
32884
|
+
*/
|
|
32885
|
+
stopSelectedServices: async (environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
32886
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
32887
|
+
assertParamExists('stopSelectedServices', 'environmentId', environmentId)
|
|
32888
|
+
const localVarPath = `/environment/{environmentId}/service/stop`
|
|
32889
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
32890
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
32891
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
32892
|
+
let baseOptions;
|
|
32893
|
+
if (configuration) {
|
|
32894
|
+
baseOptions = configuration.baseOptions;
|
|
32895
|
+
}
|
|
32896
|
+
|
|
32897
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
32898
|
+
const localVarHeaderParameter = {} as any;
|
|
32899
|
+
const localVarQueryParameter = {} as any;
|
|
32900
|
+
|
|
32901
|
+
// authentication ApiKeyAuth required
|
|
32902
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
32903
|
+
|
|
32904
|
+
// authentication bearerAuth required
|
|
32905
|
+
// http bearer authentication required
|
|
32906
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
32907
|
+
|
|
32908
|
+
|
|
32909
|
+
|
|
32910
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
32911
|
+
|
|
32912
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
32913
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
32914
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
32915
|
+
localVarRequestOptions.data = serializeDataIfNeeded(environmentServiceIdsAllRequest, localVarRequestOptions, configuration)
|
|
32916
|
+
|
|
32784
32917
|
return {
|
|
32785
32918
|
url: toPathString(localVarUrlObj),
|
|
32786
32919
|
options: localVarRequestOptions,
|
|
@@ -32819,6 +32952,18 @@ export const EnvironmentActionsApiFp = function(configuration?: Configuration) {
|
|
|
32819
32952
|
const localVarAxiosArgs = await localVarAxiosParamCreator.cloneEnvironment(environmentId, cloneRequest, options);
|
|
32820
32953
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
32821
32954
|
},
|
|
32955
|
+
/**
|
|
32956
|
+
* Delete selected services
|
|
32957
|
+
* @summary Delete services
|
|
32958
|
+
* @param {string} environmentId Environment ID
|
|
32959
|
+
* @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
|
|
32960
|
+
* @param {*} [options] Override http request option.
|
|
32961
|
+
* @throws {RequiredError}
|
|
32962
|
+
*/
|
|
32963
|
+
async deleteSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
32964
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSelectedServices(environmentId, environmentServiceIdsAllRequest, options);
|
|
32965
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
32966
|
+
},
|
|
32822
32967
|
/**
|
|
32823
32968
|
* Update and deploy the selected services
|
|
32824
32969
|
* @summary Deploy services
|
|
@@ -32887,6 +33032,18 @@ export const EnvironmentActionsApiFp = function(configuration?: Configuration) {
|
|
|
32887
33032
|
const localVarAxiosArgs = await localVarAxiosParamCreator.stopEnvironment(environmentId, options);
|
|
32888
33033
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
32889
33034
|
},
|
|
33035
|
+
/**
|
|
33036
|
+
* Stop selected services
|
|
33037
|
+
* @summary Stop services
|
|
33038
|
+
* @param {string} environmentId Environment ID
|
|
33039
|
+
* @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
|
|
33040
|
+
* @param {*} [options] Override http request option.
|
|
33041
|
+
* @throws {RequiredError}
|
|
33042
|
+
*/
|
|
33043
|
+
async stopSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
33044
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.stopSelectedServices(environmentId, environmentServiceIdsAllRequest, options);
|
|
33045
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
33046
|
+
},
|
|
32890
33047
|
}
|
|
32891
33048
|
};
|
|
32892
33049
|
|
|
@@ -32918,6 +33075,17 @@ export const EnvironmentActionsApiFactory = function (configuration?: Configurat
|
|
|
32918
33075
|
cloneEnvironment(environmentId: string, cloneRequest?: CloneRequest, options?: any): AxiosPromise<Environment> {
|
|
32919
33076
|
return localVarFp.cloneEnvironment(environmentId, cloneRequest, options).then((request) => request(axios, basePath));
|
|
32920
33077
|
},
|
|
33078
|
+
/**
|
|
33079
|
+
* Delete selected services
|
|
33080
|
+
* @summary Delete services
|
|
33081
|
+
* @param {string} environmentId Environment ID
|
|
33082
|
+
* @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
|
|
33083
|
+
* @param {*} [options] Override http request option.
|
|
33084
|
+
* @throws {RequiredError}
|
|
33085
|
+
*/
|
|
33086
|
+
deleteSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: any): AxiosPromise<void> {
|
|
33087
|
+
return localVarFp.deleteSelectedServices(environmentId, environmentServiceIdsAllRequest, options).then((request) => request(axios, basePath));
|
|
33088
|
+
},
|
|
32921
33089
|
/**
|
|
32922
33090
|
* Update and deploy the selected services
|
|
32923
33091
|
* @summary Deploy services
|
|
@@ -32980,6 +33148,17 @@ export const EnvironmentActionsApiFactory = function (configuration?: Configurat
|
|
|
32980
33148
|
stopEnvironment(environmentId: string, options?: any): AxiosPromise<EnvironmentStatus> {
|
|
32981
33149
|
return localVarFp.stopEnvironment(environmentId, options).then((request) => request(axios, basePath));
|
|
32982
33150
|
},
|
|
33151
|
+
/**
|
|
33152
|
+
* Stop selected services
|
|
33153
|
+
* @summary Stop services
|
|
33154
|
+
* @param {string} environmentId Environment ID
|
|
33155
|
+
* @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
|
|
33156
|
+
* @param {*} [options] Override http request option.
|
|
33157
|
+
* @throws {RequiredError}
|
|
33158
|
+
*/
|
|
33159
|
+
stopSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: any): AxiosPromise<void> {
|
|
33160
|
+
return localVarFp.stopSelectedServices(environmentId, environmentServiceIdsAllRequest, options).then((request) => request(axios, basePath));
|
|
33161
|
+
},
|
|
32983
33162
|
};
|
|
32984
33163
|
};
|
|
32985
33164
|
|
|
@@ -33015,6 +33194,19 @@ export class EnvironmentActionsApi extends BaseAPI {
|
|
|
33015
33194
|
return EnvironmentActionsApiFp(this.configuration).cloneEnvironment(environmentId, cloneRequest, options).then((request) => request(this.axios, this.basePath));
|
|
33016
33195
|
}
|
|
33017
33196
|
|
|
33197
|
+
/**
|
|
33198
|
+
* Delete selected services
|
|
33199
|
+
* @summary Delete services
|
|
33200
|
+
* @param {string} environmentId Environment ID
|
|
33201
|
+
* @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
|
|
33202
|
+
* @param {*} [options] Override http request option.
|
|
33203
|
+
* @throws {RequiredError}
|
|
33204
|
+
* @memberof EnvironmentActionsApi
|
|
33205
|
+
*/
|
|
33206
|
+
public deleteSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: AxiosRequestConfig) {
|
|
33207
|
+
return EnvironmentActionsApiFp(this.configuration).deleteSelectedServices(environmentId, environmentServiceIdsAllRequest, options).then((request) => request(this.axios, this.basePath));
|
|
33208
|
+
}
|
|
33209
|
+
|
|
33018
33210
|
/**
|
|
33019
33211
|
* Update and deploy the selected services
|
|
33020
33212
|
* @summary Deploy services
|
|
@@ -33088,6 +33280,19 @@ export class EnvironmentActionsApi extends BaseAPI {
|
|
|
33088
33280
|
public stopEnvironment(environmentId: string, options?: AxiosRequestConfig) {
|
|
33089
33281
|
return EnvironmentActionsApiFp(this.configuration).stopEnvironment(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
33090
33282
|
}
|
|
33283
|
+
|
|
33284
|
+
/**
|
|
33285
|
+
* Stop selected services
|
|
33286
|
+
* @summary Stop services
|
|
33287
|
+
* @param {string} environmentId Environment ID
|
|
33288
|
+
* @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
|
|
33289
|
+
* @param {*} [options] Override http request option.
|
|
33290
|
+
* @throws {RequiredError}
|
|
33291
|
+
* @memberof EnvironmentActionsApi
|
|
33292
|
+
*/
|
|
33293
|
+
public stopSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: AxiosRequestConfig) {
|
|
33294
|
+
return EnvironmentActionsApiFp(this.configuration).stopSelectedServices(environmentId, environmentServiceIdsAllRequest, options).then((request) => request(this.axios, this.basePath));
|
|
33295
|
+
}
|
|
33091
33296
|
}
|
|
33092
33297
|
|
|
33093
33298
|
|
package/dist/api.d.ts
CHANGED
|
@@ -2423,6 +2423,16 @@ export interface ClusterCredentialsResponseList {
|
|
|
2423
2423
|
*/
|
|
2424
2424
|
'results'?: Array<ClusterCredentials>;
|
|
2425
2425
|
}
|
|
2426
|
+
/**
|
|
2427
|
+
* Indicates the mode to apply on cluster deletion **\"hard delete\"** means that we delete directly from our database, this is different from a **\"trigger delete\"** that cleans the resource - `DEFAULT`: this is the normal way, trigger delete the cluster only if no environment linked to this cluster remains - `DELETE_CLUSTER_AND_QOVERY_CONFIG`: hard delete environments linked to this cluster then trigger delete the cluster - `DELETE_QOVERY_CONFIG`: hard delete environments linked to this cluster then hard delete the cluster
|
|
2428
|
+
* @export
|
|
2429
|
+
* @enum {string}
|
|
2430
|
+
*/
|
|
2431
|
+
export declare enum ClusterDeleteMode {
|
|
2432
|
+
DEFAULT = "DEFAULT",
|
|
2433
|
+
DELETE_CLUSTER_AND_QOVERY_CONFIG = "DELETE_CLUSTER_AND_QOVERY_CONFIG",
|
|
2434
|
+
DELETE_QOVERY_CONFIG = "DELETE_QOVERY_CONFIG"
|
|
2435
|
+
}
|
|
2426
2436
|
/**
|
|
2427
2437
|
*
|
|
2428
2438
|
* @export
|
|
@@ -7391,6 +7401,37 @@ export interface EnvironmentResponseList {
|
|
|
7391
7401
|
*/
|
|
7392
7402
|
'results'?: Array<Environment>;
|
|
7393
7403
|
}
|
|
7404
|
+
/**
|
|
7405
|
+
*
|
|
7406
|
+
* @export
|
|
7407
|
+
* @interface EnvironmentServiceIdsAllRequest
|
|
7408
|
+
*/
|
|
7409
|
+
export interface EnvironmentServiceIdsAllRequest {
|
|
7410
|
+
/**
|
|
7411
|
+
*
|
|
7412
|
+
* @type {Array<string>}
|
|
7413
|
+
* @memberof EnvironmentServiceIdsAllRequest
|
|
7414
|
+
*/
|
|
7415
|
+
'application_ids'?: Array<string>;
|
|
7416
|
+
/**
|
|
7417
|
+
*
|
|
7418
|
+
* @type {Array<string>}
|
|
7419
|
+
* @memberof EnvironmentServiceIdsAllRequest
|
|
7420
|
+
*/
|
|
7421
|
+
'container_ids'?: Array<string>;
|
|
7422
|
+
/**
|
|
7423
|
+
*
|
|
7424
|
+
* @type {Array<string>}
|
|
7425
|
+
* @memberof EnvironmentServiceIdsAllRequest
|
|
7426
|
+
*/
|
|
7427
|
+
'database_ids'?: Array<string>;
|
|
7428
|
+
/**
|
|
7429
|
+
*
|
|
7430
|
+
* @type {Array<string>}
|
|
7431
|
+
* @memberof EnvironmentServiceIdsAllRequest
|
|
7432
|
+
*/
|
|
7433
|
+
'job_ids'?: Array<string>;
|
|
7434
|
+
}
|
|
7394
7435
|
/**
|
|
7395
7436
|
*
|
|
7396
7437
|
* @export
|
|
@@ -18067,11 +18108,11 @@ export declare const ClustersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
18067
18108
|
* @summary Delete a cluster
|
|
18068
18109
|
* @param {string} organizationId Organization ID
|
|
18069
18110
|
* @param {string} clusterId Cluster ID
|
|
18070
|
-
* @param {
|
|
18111
|
+
* @param {ClusterDeleteMode} [deleteMode]
|
|
18071
18112
|
* @param {*} [options] Override http request option.
|
|
18072
18113
|
* @throws {RequiredError}
|
|
18073
18114
|
*/
|
|
18074
|
-
deleteCluster: (organizationId: string, clusterId: string, deleteMode?:
|
|
18115
|
+
deleteCluster: (organizationId: string, clusterId: string, deleteMode?: ClusterDeleteMode, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
18075
18116
|
/**
|
|
18076
18117
|
* allows to deploy a cluster
|
|
18077
18118
|
* @summary Deploy a cluster
|
|
@@ -18227,11 +18268,11 @@ export declare const ClustersApiFp: (configuration?: Configuration) => {
|
|
|
18227
18268
|
* @summary Delete a cluster
|
|
18228
18269
|
* @param {string} organizationId Organization ID
|
|
18229
18270
|
* @param {string} clusterId Cluster ID
|
|
18230
|
-
* @param {
|
|
18271
|
+
* @param {ClusterDeleteMode} [deleteMode]
|
|
18231
18272
|
* @param {*} [options] Override http request option.
|
|
18232
18273
|
* @throws {RequiredError}
|
|
18233
18274
|
*/
|
|
18234
|
-
deleteCluster(organizationId: string, clusterId: string, deleteMode?:
|
|
18275
|
+
deleteCluster(organizationId: string, clusterId: string, deleteMode?: ClusterDeleteMode, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
18235
18276
|
/**
|
|
18236
18277
|
* allows to deploy a cluster
|
|
18237
18278
|
* @summary Deploy a cluster
|
|
@@ -18387,11 +18428,11 @@ export declare const ClustersApiFactory: (configuration?: Configuration, basePat
|
|
|
18387
18428
|
* @summary Delete a cluster
|
|
18388
18429
|
* @param {string} organizationId Organization ID
|
|
18389
18430
|
* @param {string} clusterId Cluster ID
|
|
18390
|
-
* @param {
|
|
18431
|
+
* @param {ClusterDeleteMode} [deleteMode]
|
|
18391
18432
|
* @param {*} [options] Override http request option.
|
|
18392
18433
|
* @throws {RequiredError}
|
|
18393
18434
|
*/
|
|
18394
|
-
deleteCluster(organizationId: string, clusterId: string, deleteMode?:
|
|
18435
|
+
deleteCluster(organizationId: string, clusterId: string, deleteMode?: ClusterDeleteMode, options?: any): AxiosPromise<void>;
|
|
18395
18436
|
/**
|
|
18396
18437
|
* allows to deploy a cluster
|
|
18397
18438
|
* @summary Deploy a cluster
|
|
@@ -18550,12 +18591,12 @@ export declare class ClustersApi extends BaseAPI {
|
|
|
18550
18591
|
* @summary Delete a cluster
|
|
18551
18592
|
* @param {string} organizationId Organization ID
|
|
18552
18593
|
* @param {string} clusterId Cluster ID
|
|
18553
|
-
* @param {
|
|
18594
|
+
* @param {ClusterDeleteMode} [deleteMode]
|
|
18554
18595
|
* @param {*} [options] Override http request option.
|
|
18555
18596
|
* @throws {RequiredError}
|
|
18556
18597
|
* @memberof ClustersApi
|
|
18557
18598
|
*/
|
|
18558
|
-
deleteCluster(organizationId: string, clusterId: string, deleteMode?:
|
|
18599
|
+
deleteCluster(organizationId: string, clusterId: string, deleteMode?: ClusterDeleteMode, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
|
|
18559
18600
|
/**
|
|
18560
18601
|
* allows to deploy a cluster
|
|
18561
18602
|
* @summary Deploy a cluster
|
|
@@ -22634,6 +22675,15 @@ export declare const EnvironmentActionsApiAxiosParamCreator: (configuration?: Co
|
|
|
22634
22675
|
* @throws {RequiredError}
|
|
22635
22676
|
*/
|
|
22636
22677
|
cloneEnvironment: (environmentId: string, cloneRequest?: CloneRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
22678
|
+
/**
|
|
22679
|
+
* Delete selected services
|
|
22680
|
+
* @summary Delete services
|
|
22681
|
+
* @param {string} environmentId Environment ID
|
|
22682
|
+
* @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
|
|
22683
|
+
* @param {*} [options] Override http request option.
|
|
22684
|
+
* @throws {RequiredError}
|
|
22685
|
+
*/
|
|
22686
|
+
deleteSelectedServices: (environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
22637
22687
|
/**
|
|
22638
22688
|
* Update and deploy the selected services
|
|
22639
22689
|
* @summary Deploy services
|
|
@@ -22684,6 +22734,15 @@ export declare const EnvironmentActionsApiAxiosParamCreator: (configuration?: Co
|
|
|
22684
22734
|
* @throws {RequiredError}
|
|
22685
22735
|
*/
|
|
22686
22736
|
stopEnvironment: (environmentId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
22737
|
+
/**
|
|
22738
|
+
* Stop selected services
|
|
22739
|
+
* @summary Stop services
|
|
22740
|
+
* @param {string} environmentId Environment ID
|
|
22741
|
+
* @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
|
|
22742
|
+
* @param {*} [options] Override http request option.
|
|
22743
|
+
* @throws {RequiredError}
|
|
22744
|
+
*/
|
|
22745
|
+
stopSelectedServices: (environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
22687
22746
|
};
|
|
22688
22747
|
/**
|
|
22689
22748
|
* EnvironmentActionsApi - functional programming interface
|
|
@@ -22707,6 +22766,15 @@ export declare const EnvironmentActionsApiFp: (configuration?: Configuration) =>
|
|
|
22707
22766
|
* @throws {RequiredError}
|
|
22708
22767
|
*/
|
|
22709
22768
|
cloneEnvironment(environmentId: string, cloneRequest?: CloneRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Environment>>;
|
|
22769
|
+
/**
|
|
22770
|
+
* Delete selected services
|
|
22771
|
+
* @summary Delete services
|
|
22772
|
+
* @param {string} environmentId Environment ID
|
|
22773
|
+
* @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
|
|
22774
|
+
* @param {*} [options] Override http request option.
|
|
22775
|
+
* @throws {RequiredError}
|
|
22776
|
+
*/
|
|
22777
|
+
deleteSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
22710
22778
|
/**
|
|
22711
22779
|
* Update and deploy the selected services
|
|
22712
22780
|
* @summary Deploy services
|
|
@@ -22757,6 +22825,15 @@ export declare const EnvironmentActionsApiFp: (configuration?: Configuration) =>
|
|
|
22757
22825
|
* @throws {RequiredError}
|
|
22758
22826
|
*/
|
|
22759
22827
|
stopEnvironment(environmentId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentStatus>>;
|
|
22828
|
+
/**
|
|
22829
|
+
* Stop selected services
|
|
22830
|
+
* @summary Stop services
|
|
22831
|
+
* @param {string} environmentId Environment ID
|
|
22832
|
+
* @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
|
|
22833
|
+
* @param {*} [options] Override http request option.
|
|
22834
|
+
* @throws {RequiredError}
|
|
22835
|
+
*/
|
|
22836
|
+
stopSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
22760
22837
|
};
|
|
22761
22838
|
/**
|
|
22762
22839
|
* EnvironmentActionsApi - factory interface
|
|
@@ -22780,6 +22857,15 @@ export declare const EnvironmentActionsApiFactory: (configuration?: Configuratio
|
|
|
22780
22857
|
* @throws {RequiredError}
|
|
22781
22858
|
*/
|
|
22782
22859
|
cloneEnvironment(environmentId: string, cloneRequest?: CloneRequest, options?: any): AxiosPromise<Environment>;
|
|
22860
|
+
/**
|
|
22861
|
+
* Delete selected services
|
|
22862
|
+
* @summary Delete services
|
|
22863
|
+
* @param {string} environmentId Environment ID
|
|
22864
|
+
* @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
|
|
22865
|
+
* @param {*} [options] Override http request option.
|
|
22866
|
+
* @throws {RequiredError}
|
|
22867
|
+
*/
|
|
22868
|
+
deleteSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: any): AxiosPromise<void>;
|
|
22783
22869
|
/**
|
|
22784
22870
|
* Update and deploy the selected services
|
|
22785
22871
|
* @summary Deploy services
|
|
@@ -22830,6 +22916,15 @@ export declare const EnvironmentActionsApiFactory: (configuration?: Configuratio
|
|
|
22830
22916
|
* @throws {RequiredError}
|
|
22831
22917
|
*/
|
|
22832
22918
|
stopEnvironment(environmentId: string, options?: any): AxiosPromise<EnvironmentStatus>;
|
|
22919
|
+
/**
|
|
22920
|
+
* Stop selected services
|
|
22921
|
+
* @summary Stop services
|
|
22922
|
+
* @param {string} environmentId Environment ID
|
|
22923
|
+
* @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
|
|
22924
|
+
* @param {*} [options] Override http request option.
|
|
22925
|
+
* @throws {RequiredError}
|
|
22926
|
+
*/
|
|
22927
|
+
stopSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: any): AxiosPromise<void>;
|
|
22833
22928
|
};
|
|
22834
22929
|
/**
|
|
22835
22930
|
* EnvironmentActionsApi - object-oriented interface
|
|
@@ -22857,6 +22952,16 @@ export declare class EnvironmentActionsApi extends BaseAPI {
|
|
|
22857
22952
|
* @memberof EnvironmentActionsApi
|
|
22858
22953
|
*/
|
|
22859
22954
|
cloneEnvironment(environmentId: string, cloneRequest?: CloneRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Environment>>;
|
|
22955
|
+
/**
|
|
22956
|
+
* Delete selected services
|
|
22957
|
+
* @summary Delete services
|
|
22958
|
+
* @param {string} environmentId Environment ID
|
|
22959
|
+
* @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
|
|
22960
|
+
* @param {*} [options] Override http request option.
|
|
22961
|
+
* @throws {RequiredError}
|
|
22962
|
+
* @memberof EnvironmentActionsApi
|
|
22963
|
+
*/
|
|
22964
|
+
deleteSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
|
|
22860
22965
|
/**
|
|
22861
22966
|
* Update and deploy the selected services
|
|
22862
22967
|
* @summary Deploy services
|
|
@@ -22913,6 +23018,16 @@ export declare class EnvironmentActionsApi extends BaseAPI {
|
|
|
22913
23018
|
* @memberof EnvironmentActionsApi
|
|
22914
23019
|
*/
|
|
22915
23020
|
stopEnvironment(environmentId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentStatus>>;
|
|
23021
|
+
/**
|
|
23022
|
+
* Stop selected services
|
|
23023
|
+
* @summary Stop services
|
|
23024
|
+
* @param {string} environmentId Environment ID
|
|
23025
|
+
* @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
|
|
23026
|
+
* @param {*} [options] Override http request option.
|
|
23027
|
+
* @throws {RequiredError}
|
|
23028
|
+
* @memberof EnvironmentActionsApi
|
|
23029
|
+
*/
|
|
23030
|
+
stopSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
|
|
22916
23031
|
}
|
|
22917
23032
|
/**
|
|
22918
23033
|
* EnvironmentDeploymentHistoryApi - axios parameter creator
|
package/dist/api.js
CHANGED
|
@@ -22,13 +22,13 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.VariableMainCallsApi = exports.VariableMainCallsApiFactory = exports.VariableMainCallsApiFp = exports.VariableMainCallsApiAxiosParamCreator = exports.UserSignUpApi = exports.UserSignUpApiFactory = exports.UserSignUpApiFp = exports.UserSignUpApiAxiosParamCreator = exports.ReferralRewardsApi = exports.ReferralRewardsApiFactory = exports.ReferralRewardsApiFp = exports.ReferralRewardsApiAxiosParamCreator = exports.ProjectsApi = exports.ProjectsApiFactory = exports.ProjectsApiFp = exports.ProjectsApiAxiosParamCreator = exports.ProjectSecretApi = exports.ProjectSecretApiFactory = exports.ProjectSecretApiFp = exports.ProjectSecretApiAxiosParamCreator = exports.ProjectMainCallsApi = exports.ProjectMainCallsApiFactory = exports.ProjectMainCallsApiFp = exports.ProjectMainCallsApiAxiosParamCreator = exports.ProjectEnvironmentVariableApi = exports.ProjectEnvironmentVariableApiFactory = exports.ProjectEnvironmentVariableApiFp = exports.ProjectEnvironmentVariableApiAxiosParamCreator = exports.ProjectDeploymentRuleApi = exports.ProjectDeploymentRuleApiFactory = exports.ProjectDeploymentRuleApiFp = exports.ProjectDeploymentRuleApiAxiosParamCreator = exports.OrganizationWebhookApi = exports.OrganizationWebhookApiFactory = exports.OrganizationWebhookApiFp = exports.OrganizationWebhookApiAxiosParamCreator = exports.OrganizationMainCallsApi = exports.OrganizationMainCallsApiFactory = exports.OrganizationMainCallsApiFp = exports.OrganizationMainCallsApiAxiosParamCreator = exports.OrganizationEventApi = exports.OrganizationEventApiFactory = exports.OrganizationEventApiFp = exports.OrganizationEventApiAxiosParamCreator = exports.OrganizationCustomRoleApi = exports.OrganizationCustomRoleApiFactory = exports.OrganizationCustomRoleApiFp = exports.OrganizationCustomRoleApiAxiosParamCreator = exports.OrganizationApiTokenApi = void 0;
|
|
25
|
+
exports.ServiceTypeEnum = exports.ServiceStepMetricNameEnum = exports.ServiceDeploymentStatusEnum = exports.RewardClaimTypeEnum = exports.PortProtocolEnum = exports.PlanEnum = exports.OrganizationWebhookKindEnum = exports.OrganizationWebhookEventEnum = exports.OrganizationEventType = exports.OrganizationEventTargetType = exports.OrganizationEventSubTargetType = exports.OrganizationEventOrigin = exports.OrganizationCustomRoleProjectPermission = exports.OrganizationCustomRoleClusterPermission = exports.OrganizationApiTokenScope = exports.LinkedServiceTypeEnum = exports.KubernetesEnum = exports.JobScheduleEvent = exports.JobForceEvent = exports.InvoiceStatusEnum = exports.InviteStatusEnum = exports.InviteMemberRoleEnum = exports.GitProviderEnum = exports.EnvironmentModeEnum = exports.EnvironmentLogTypeEnum = exports.DeploymentRestrictionTypeEnum = exports.DeploymentRestrictionModeEnum = exports.DeploymentHistoryStatusEnum = exports.DatabaseTypeEnum = exports.DatabaseModeEnum = exports.DatabaseAccessibilityEnum = exports.CustomDomainStatusEnum = exports.CreateEnvironmentModeEnum = exports.ContainerRegistryKindEnum = exports.ContainerAdvancedSettingsDeploymentUpdateStrategyTypeEnum = exports.ContainerAdvancedSettingsDeploymentAntiaffinityPodEnum = exports.CompanySizeEnum = exports.ClusterStateEnum = exports.ClusterLogsStepEnum = exports.ClusterFeatureValueTypeEnum = exports.ClusterDeploymentStatusEnum = exports.ClusterDeleteMode = exports.ClusterAdvancedSettingsAwsEksEc2MetadataImdsEnum = exports.CloudProviderEnum = exports.BuildPackLanguageEnum = exports.BuildModeEnum = exports.ApplicationAdvancedSettingsDeploymentUpdateStrategyTypeEnum = exports.ApplicationAdvancedSettingsDeploymentAntiaffinityPodEnum = exports.APIVariableTypeEnum = exports.APIVariableScopeEnum = void 0;
|
|
26
|
+
exports.ApplicationSecretApiFp = exports.ApplicationSecretApiAxiosParamCreator = exports.ApplicationMetricsApi = exports.ApplicationMetricsApiFactory = exports.ApplicationMetricsApiFp = exports.ApplicationMetricsApiAxiosParamCreator = exports.ApplicationMainCallsApi = exports.ApplicationMainCallsApiFactory = exports.ApplicationMainCallsApiFp = exports.ApplicationMainCallsApiAxiosParamCreator = exports.ApplicationLogsApi = exports.ApplicationLogsApiFactory = exports.ApplicationLogsApiFp = exports.ApplicationLogsApiAxiosParamCreator = exports.ApplicationEventApi = exports.ApplicationEventApiFactory = exports.ApplicationEventApiFp = exports.ApplicationEventApiAxiosParamCreator = exports.ApplicationEnvironmentVariableApi = exports.ApplicationEnvironmentVariableApiFactory = exports.ApplicationEnvironmentVariableApiFp = exports.ApplicationEnvironmentVariableApiAxiosParamCreator = exports.ApplicationDeploymentRestrictionApi = exports.ApplicationDeploymentRestrictionApiFactory = exports.ApplicationDeploymentRestrictionApiFp = exports.ApplicationDeploymentRestrictionApiAxiosParamCreator = exports.ApplicationDeploymentHistoryApi = exports.ApplicationDeploymentHistoryApiFactory = exports.ApplicationDeploymentHistoryApiFp = exports.ApplicationDeploymentHistoryApiAxiosParamCreator = exports.ApplicationConfigurationApi = exports.ApplicationConfigurationApiFactory = exports.ApplicationConfigurationApiFp = exports.ApplicationConfigurationApiAxiosParamCreator = exports.ApplicationActionsApi = exports.ApplicationActionsApiFactory = exports.ApplicationActionsApiFp = exports.ApplicationActionsApiAxiosParamCreator = exports.AccountInfoApi = exports.AccountInfoApiFactory = exports.AccountInfoApiFp = exports.AccountInfoApiAxiosParamCreator = exports.WeekdayEnum = exports.TypeOfUseEnum = exports.ThresholdMetricStatusEnum = exports.StorageTypeEnum = exports.StepMetricStatusEnum = exports.StatusKindEnum = exports.StateEnum = exports.StageStepMetricNameEnum = void 0;
|
|
27
|
+
exports.ContainerLogsApi = exports.ContainerLogsApiFactory = exports.ContainerLogsApiFp = exports.ContainerLogsApiAxiosParamCreator = exports.ContainerEnvironmentVariableApi = exports.ContainerEnvironmentVariableApiFactory = exports.ContainerEnvironmentVariableApiFp = exports.ContainerEnvironmentVariableApiAxiosParamCreator = exports.ContainerDeploymentHistoryApi = exports.ContainerDeploymentHistoryApiFactory = exports.ContainerDeploymentHistoryApiFp = exports.ContainerDeploymentHistoryApiAxiosParamCreator = exports.ContainerCustomDomainApi = exports.ContainerCustomDomainApiFactory = exports.ContainerCustomDomainApiFp = exports.ContainerCustomDomainApiAxiosParamCreator = exports.ContainerConfigurationApi = exports.ContainerConfigurationApiFactory = exports.ContainerConfigurationApiFp = exports.ContainerConfigurationApiAxiosParamCreator = exports.ContainerActionsApi = exports.ContainerActionsApiFactory = exports.ContainerActionsApiFp = exports.ContainerActionsApiAxiosParamCreator = exports.ClustersApi = exports.ClustersApiFactory = exports.ClustersApiFp = exports.ClustersApiAxiosParamCreator = exports.CloudProviderCredentialsApi = exports.CloudProviderCredentialsApiFactory = exports.CloudProviderCredentialsApiFp = exports.CloudProviderCredentialsApiAxiosParamCreator = exports.CloudProviderApi = exports.CloudProviderApiFactory = exports.CloudProviderApiFp = exports.CloudProviderApiAxiosParamCreator = exports.BillingApi = exports.BillingApiFactory = exports.BillingApiFp = exports.BillingApiAxiosParamCreator = exports.BackupsApi = exports.BackupsApiFactory = exports.BackupsApiFp = exports.BackupsApiAxiosParamCreator = exports.ApplicationsApi = exports.ApplicationsApiFactory = exports.ApplicationsApiFp = exports.ApplicationsApiAxiosParamCreator = exports.ApplicationSecretApi = exports.ApplicationSecretApiFactory = void 0;
|
|
28
|
+
exports.DatabasesApiFp = exports.DatabasesApiAxiosParamCreator = exports.DatabaseMetricsApi = exports.DatabaseMetricsApiFactory = exports.DatabaseMetricsApiFp = exports.DatabaseMetricsApiAxiosParamCreator = exports.DatabaseMainCallsApi = exports.DatabaseMainCallsApiFactory = exports.DatabaseMainCallsApiFp = exports.DatabaseMainCallsApiAxiosParamCreator = exports.DatabaseEventApi = exports.DatabaseEventApiFactory = exports.DatabaseEventApiFp = exports.DatabaseEventApiAxiosParamCreator = exports.DatabaseDeploymentHistoryApi = exports.DatabaseDeploymentHistoryApiFactory = exports.DatabaseDeploymentHistoryApiFp = exports.DatabaseDeploymentHistoryApiAxiosParamCreator = exports.DatabaseApplicationApi = exports.DatabaseApplicationApiFactory = exports.DatabaseApplicationApiFp = exports.DatabaseApplicationApiAxiosParamCreator = exports.DatabaseActionsApi = exports.DatabaseActionsApiFactory = exports.DatabaseActionsApiFp = exports.DatabaseActionsApiAxiosParamCreator = exports.CustomDomainApi = exports.CustomDomainApiFactory = exports.CustomDomainApiFp = exports.CustomDomainApiAxiosParamCreator = exports.ContainersApi = exports.ContainersApiFactory = exports.ContainersApiFp = exports.ContainersApiAxiosParamCreator = exports.ContainerSecretApi = exports.ContainerSecretApiFactory = exports.ContainerSecretApiFp = exports.ContainerSecretApiAxiosParamCreator = exports.ContainerRegistriesApi = exports.ContainerRegistriesApiFactory = exports.ContainerRegistriesApiFp = exports.ContainerRegistriesApiAxiosParamCreator = exports.ContainerMetricsApi = exports.ContainerMetricsApiFactory = exports.ContainerMetricsApiFp = exports.ContainerMetricsApiAxiosParamCreator = exports.ContainerMainCallsApi = exports.ContainerMainCallsApiFactory = exports.ContainerMainCallsApiFp = exports.ContainerMainCallsApiAxiosParamCreator = void 0;
|
|
29
|
+
exports.GitRepositoriesApi = exports.GitRepositoriesApiFactory = exports.GitRepositoriesApiFp = exports.GitRepositoriesApiAxiosParamCreator = exports.EnvironmentsApi = exports.EnvironmentsApiFactory = exports.EnvironmentsApiFp = exports.EnvironmentsApiAxiosParamCreator = exports.EnvironmentVariableApi = exports.EnvironmentVariableApiFactory = exports.EnvironmentVariableApiFp = exports.EnvironmentVariableApiAxiosParamCreator = exports.EnvironmentSecretApi = exports.EnvironmentSecretApiFactory = exports.EnvironmentSecretApiFp = exports.EnvironmentSecretApiAxiosParamCreator = exports.EnvironmentMainCallsApi = exports.EnvironmentMainCallsApiFactory = exports.EnvironmentMainCallsApiFp = exports.EnvironmentMainCallsApiAxiosParamCreator = exports.EnvironmentLogsApi = exports.EnvironmentLogsApiFactory = exports.EnvironmentLogsApiFp = exports.EnvironmentLogsApiAxiosParamCreator = exports.EnvironmentExportApi = exports.EnvironmentExportApiFactory = exports.EnvironmentExportApiFp = exports.EnvironmentExportApiAxiosParamCreator = exports.EnvironmentDeploymentRuleApi = exports.EnvironmentDeploymentRuleApiFactory = exports.EnvironmentDeploymentRuleApiFp = exports.EnvironmentDeploymentRuleApiAxiosParamCreator = exports.EnvironmentDeploymentHistoryApi = exports.EnvironmentDeploymentHistoryApiFactory = exports.EnvironmentDeploymentHistoryApiFp = exports.EnvironmentDeploymentHistoryApiAxiosParamCreator = exports.EnvironmentActionsApi = exports.EnvironmentActionsApiFactory = exports.EnvironmentActionsApiFp = exports.EnvironmentActionsApiAxiosParamCreator = exports.EnvironmentApi = exports.EnvironmentApiFactory = exports.EnvironmentApiFp = exports.EnvironmentApiAxiosParamCreator = exports.DeploymentStageMainCallsApi = exports.DeploymentStageMainCallsApiFactory = exports.DeploymentStageMainCallsApiFp = exports.DeploymentStageMainCallsApiAxiosParamCreator = exports.DatabasesApi = exports.DatabasesApiFactory = void 0;
|
|
30
|
+
exports.OrganizationApiTokenApiFp = exports.OrganizationApiTokenApiAxiosParamCreator = exports.OrganizationAccountGitRepositoriesApi = exports.OrganizationAccountGitRepositoriesApiFactory = exports.OrganizationAccountGitRepositoriesApiFp = exports.OrganizationAccountGitRepositoriesApiAxiosParamCreator = exports.MembersApi = exports.MembersApiFactory = exports.MembersApiFp = exports.MembersApiAxiosParamCreator = exports.JobsApi = exports.JobsApiFactory = exports.JobsApiFp = exports.JobsApiAxiosParamCreator = exports.JobSecretApi = exports.JobSecretApiFactory = exports.JobSecretApiFp = exports.JobSecretApiAxiosParamCreator = exports.JobMetricsApi = exports.JobMetricsApiFactory = exports.JobMetricsApiFp = exports.JobMetricsApiAxiosParamCreator = exports.JobMainCallsApi = exports.JobMainCallsApiFactory = exports.JobMainCallsApiFp = exports.JobMainCallsApiAxiosParamCreator = exports.JobEnvironmentVariableApi = exports.JobEnvironmentVariableApiFactory = exports.JobEnvironmentVariableApiFp = exports.JobEnvironmentVariableApiAxiosParamCreator = exports.JobDeploymentRestrictionApi = exports.JobDeploymentRestrictionApiFactory = exports.JobDeploymentRestrictionApiFp = exports.JobDeploymentRestrictionApiAxiosParamCreator = exports.JobDeploymentHistoryApi = exports.JobDeploymentHistoryApiFactory = exports.JobDeploymentHistoryApiFp = exports.JobDeploymentHistoryApiAxiosParamCreator = exports.JobConfigurationApi = exports.JobConfigurationApiFactory = exports.JobConfigurationApiFp = exports.JobConfigurationApiAxiosParamCreator = exports.JobActionsApi = exports.JobActionsApiFactory = exports.JobActionsApiFp = exports.JobActionsApiAxiosParamCreator = exports.GithubAppApi = exports.GithubAppApiFactory = exports.GithubAppApiFp = exports.GithubAppApiAxiosParamCreator = void 0;
|
|
31
|
+
exports.VariableMainCallsApi = exports.VariableMainCallsApiFactory = exports.VariableMainCallsApiFp = exports.VariableMainCallsApiAxiosParamCreator = exports.UserSignUpApi = exports.UserSignUpApiFactory = exports.UserSignUpApiFp = exports.UserSignUpApiAxiosParamCreator = exports.ReferralRewardsApi = exports.ReferralRewardsApiFactory = exports.ReferralRewardsApiFp = exports.ReferralRewardsApiAxiosParamCreator = exports.ProjectsApi = exports.ProjectsApiFactory = exports.ProjectsApiFp = exports.ProjectsApiAxiosParamCreator = exports.ProjectSecretApi = exports.ProjectSecretApiFactory = exports.ProjectSecretApiFp = exports.ProjectSecretApiAxiosParamCreator = exports.ProjectMainCallsApi = exports.ProjectMainCallsApiFactory = exports.ProjectMainCallsApiFp = exports.ProjectMainCallsApiAxiosParamCreator = exports.ProjectEnvironmentVariableApi = exports.ProjectEnvironmentVariableApiFactory = exports.ProjectEnvironmentVariableApiFp = exports.ProjectEnvironmentVariableApiAxiosParamCreator = exports.ProjectDeploymentRuleApi = exports.ProjectDeploymentRuleApiFactory = exports.ProjectDeploymentRuleApiFp = exports.ProjectDeploymentRuleApiAxiosParamCreator = exports.OrganizationWebhookApi = exports.OrganizationWebhookApiFactory = exports.OrganizationWebhookApiFp = exports.OrganizationWebhookApiAxiosParamCreator = exports.OrganizationMainCallsApi = exports.OrganizationMainCallsApiFactory = exports.OrganizationMainCallsApiFp = exports.OrganizationMainCallsApiAxiosParamCreator = exports.OrganizationEventApi = exports.OrganizationEventApiFactory = exports.OrganizationEventApiFp = exports.OrganizationEventApiAxiosParamCreator = exports.OrganizationCustomRoleApi = exports.OrganizationCustomRoleApiFactory = exports.OrganizationCustomRoleApiFp = exports.OrganizationCustomRoleApiAxiosParamCreator = exports.OrganizationApiTokenApi = exports.OrganizationApiTokenApiFactory = void 0;
|
|
32
32
|
const axios_1 = require("axios");
|
|
33
33
|
// Some imports not used depending on template conditions
|
|
34
34
|
// @ts-ignore
|
|
@@ -129,6 +129,17 @@ var ClusterAdvancedSettingsAwsEksEc2MetadataImdsEnum;
|
|
|
129
129
|
ClusterAdvancedSettingsAwsEksEc2MetadataImdsEnum["OPTIONAL"] = "optional";
|
|
130
130
|
ClusterAdvancedSettingsAwsEksEc2MetadataImdsEnum["REQUIRED"] = "required";
|
|
131
131
|
})(ClusterAdvancedSettingsAwsEksEc2MetadataImdsEnum = exports.ClusterAdvancedSettingsAwsEksEc2MetadataImdsEnum || (exports.ClusterAdvancedSettingsAwsEksEc2MetadataImdsEnum = {}));
|
|
132
|
+
/**
|
|
133
|
+
* Indicates the mode to apply on cluster deletion **\"hard delete\"** means that we delete directly from our database, this is different from a **\"trigger delete\"** that cleans the resource - `DEFAULT`: this is the normal way, trigger delete the cluster only if no environment linked to this cluster remains - `DELETE_CLUSTER_AND_QOVERY_CONFIG`: hard delete environments linked to this cluster then trigger delete the cluster - `DELETE_QOVERY_CONFIG`: hard delete environments linked to this cluster then hard delete the cluster
|
|
134
|
+
* @export
|
|
135
|
+
* @enum {string}
|
|
136
|
+
*/
|
|
137
|
+
var ClusterDeleteMode;
|
|
138
|
+
(function (ClusterDeleteMode) {
|
|
139
|
+
ClusterDeleteMode["DEFAULT"] = "DEFAULT";
|
|
140
|
+
ClusterDeleteMode["DELETE_CLUSTER_AND_QOVERY_CONFIG"] = "DELETE_CLUSTER_AND_QOVERY_CONFIG";
|
|
141
|
+
ClusterDeleteMode["DELETE_QOVERY_CONFIG"] = "DELETE_QOVERY_CONFIG";
|
|
142
|
+
})(ClusterDeleteMode = exports.ClusterDeleteMode || (exports.ClusterDeleteMode = {}));
|
|
132
143
|
/**
|
|
133
144
|
*
|
|
134
145
|
* @export
|
|
@@ -8820,7 +8831,7 @@ const ClustersApiAxiosParamCreator = function (configuration) {
|
|
|
8820
8831
|
* @summary Delete a cluster
|
|
8821
8832
|
* @param {string} organizationId Organization ID
|
|
8822
8833
|
* @param {string} clusterId Cluster ID
|
|
8823
|
-
* @param {
|
|
8834
|
+
* @param {ClusterDeleteMode} [deleteMode]
|
|
8824
8835
|
* @param {*} [options] Override http request option.
|
|
8825
8836
|
* @throws {RequiredError}
|
|
8826
8837
|
*/
|
|
@@ -9452,7 +9463,7 @@ const ClustersApiFp = function (configuration) {
|
|
|
9452
9463
|
* @summary Delete a cluster
|
|
9453
9464
|
* @param {string} organizationId Organization ID
|
|
9454
9465
|
* @param {string} clusterId Cluster ID
|
|
9455
|
-
* @param {
|
|
9466
|
+
* @param {ClusterDeleteMode} [deleteMode]
|
|
9456
9467
|
* @param {*} [options] Override http request option.
|
|
9457
9468
|
* @throws {RequiredError}
|
|
9458
9469
|
*/
|
|
@@ -9698,7 +9709,7 @@ const ClustersApiFactory = function (configuration, basePath, axios) {
|
|
|
9698
9709
|
* @summary Delete a cluster
|
|
9699
9710
|
* @param {string} organizationId Organization ID
|
|
9700
9711
|
* @param {string} clusterId Cluster ID
|
|
9701
|
-
* @param {
|
|
9712
|
+
* @param {ClusterDeleteMode} [deleteMode]
|
|
9702
9713
|
* @param {*} [options] Override http request option.
|
|
9703
9714
|
* @throws {RequiredError}
|
|
9704
9715
|
*/
|
|
@@ -9897,7 +9908,7 @@ class ClustersApi extends base_1.BaseAPI {
|
|
|
9897
9908
|
* @summary Delete a cluster
|
|
9898
9909
|
* @param {string} organizationId Organization ID
|
|
9899
9910
|
* @param {string} clusterId Cluster ID
|
|
9900
|
-
* @param {
|
|
9911
|
+
* @param {ClusterDeleteMode} [deleteMode]
|
|
9901
9912
|
* @param {*} [options] Override http request option.
|
|
9902
9913
|
* @throws {RequiredError}
|
|
9903
9914
|
* @memberof ClustersApi
|
|
@@ -17796,6 +17807,43 @@ const EnvironmentActionsApiAxiosParamCreator = function (configuration) {
|
|
|
17796
17807
|
options: localVarRequestOptions,
|
|
17797
17808
|
};
|
|
17798
17809
|
}),
|
|
17810
|
+
/**
|
|
17811
|
+
* Delete selected services
|
|
17812
|
+
* @summary Delete services
|
|
17813
|
+
* @param {string} environmentId Environment ID
|
|
17814
|
+
* @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
|
|
17815
|
+
* @param {*} [options] Override http request option.
|
|
17816
|
+
* @throws {RequiredError}
|
|
17817
|
+
*/
|
|
17818
|
+
deleteSelectedServices: (environmentId, environmentServiceIdsAllRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
17819
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
17820
|
+
(0, common_1.assertParamExists)('deleteSelectedServices', 'environmentId', environmentId);
|
|
17821
|
+
const localVarPath = `/environment/{environmentId}/service/delete`
|
|
17822
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
17823
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17824
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17825
|
+
let baseOptions;
|
|
17826
|
+
if (configuration) {
|
|
17827
|
+
baseOptions = configuration.baseOptions;
|
|
17828
|
+
}
|
|
17829
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
17830
|
+
const localVarHeaderParameter = {};
|
|
17831
|
+
const localVarQueryParameter = {};
|
|
17832
|
+
// authentication ApiKeyAuth required
|
|
17833
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
17834
|
+
// authentication bearerAuth required
|
|
17835
|
+
// http bearer authentication required
|
|
17836
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
17837
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17838
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
17839
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17840
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
17841
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(environmentServiceIdsAllRequest, localVarRequestOptions, configuration);
|
|
17842
|
+
return {
|
|
17843
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
17844
|
+
options: localVarRequestOptions,
|
|
17845
|
+
};
|
|
17846
|
+
}),
|
|
17799
17847
|
/**
|
|
17800
17848
|
* Update and deploy the selected services
|
|
17801
17849
|
* @summary Deploy services
|
|
@@ -18006,6 +18054,43 @@ const EnvironmentActionsApiAxiosParamCreator = function (configuration) {
|
|
|
18006
18054
|
options: localVarRequestOptions,
|
|
18007
18055
|
};
|
|
18008
18056
|
}),
|
|
18057
|
+
/**
|
|
18058
|
+
* Stop selected services
|
|
18059
|
+
* @summary Stop services
|
|
18060
|
+
* @param {string} environmentId Environment ID
|
|
18061
|
+
* @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
|
|
18062
|
+
* @param {*} [options] Override http request option.
|
|
18063
|
+
* @throws {RequiredError}
|
|
18064
|
+
*/
|
|
18065
|
+
stopSelectedServices: (environmentId, environmentServiceIdsAllRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
18066
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
18067
|
+
(0, common_1.assertParamExists)('stopSelectedServices', 'environmentId', environmentId);
|
|
18068
|
+
const localVarPath = `/environment/{environmentId}/service/stop`
|
|
18069
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
18070
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18071
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
18072
|
+
let baseOptions;
|
|
18073
|
+
if (configuration) {
|
|
18074
|
+
baseOptions = configuration.baseOptions;
|
|
18075
|
+
}
|
|
18076
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
18077
|
+
const localVarHeaderParameter = {};
|
|
18078
|
+
const localVarQueryParameter = {};
|
|
18079
|
+
// authentication ApiKeyAuth required
|
|
18080
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
18081
|
+
// authentication bearerAuth required
|
|
18082
|
+
// http bearer authentication required
|
|
18083
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
18084
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18085
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
18086
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18087
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
18088
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(environmentServiceIdsAllRequest, localVarRequestOptions, configuration);
|
|
18089
|
+
return {
|
|
18090
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
18091
|
+
options: localVarRequestOptions,
|
|
18092
|
+
};
|
|
18093
|
+
}),
|
|
18009
18094
|
};
|
|
18010
18095
|
};
|
|
18011
18096
|
exports.EnvironmentActionsApiAxiosParamCreator = EnvironmentActionsApiAxiosParamCreator;
|
|
@@ -18043,6 +18128,20 @@ const EnvironmentActionsApiFp = function (configuration) {
|
|
|
18043
18128
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
18044
18129
|
});
|
|
18045
18130
|
},
|
|
18131
|
+
/**
|
|
18132
|
+
* Delete selected services
|
|
18133
|
+
* @summary Delete services
|
|
18134
|
+
* @param {string} environmentId Environment ID
|
|
18135
|
+
* @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
|
|
18136
|
+
* @param {*} [options] Override http request option.
|
|
18137
|
+
* @throws {RequiredError}
|
|
18138
|
+
*/
|
|
18139
|
+
deleteSelectedServices(environmentId, environmentServiceIdsAllRequest, options) {
|
|
18140
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
18141
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteSelectedServices(environmentId, environmentServiceIdsAllRequest, options);
|
|
18142
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
18143
|
+
});
|
|
18144
|
+
},
|
|
18046
18145
|
/**
|
|
18047
18146
|
* Update and deploy the selected services
|
|
18048
18147
|
* @summary Deploy services
|
|
@@ -18123,6 +18222,20 @@ const EnvironmentActionsApiFp = function (configuration) {
|
|
|
18123
18222
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
18124
18223
|
});
|
|
18125
18224
|
},
|
|
18225
|
+
/**
|
|
18226
|
+
* Stop selected services
|
|
18227
|
+
* @summary Stop services
|
|
18228
|
+
* @param {string} environmentId Environment ID
|
|
18229
|
+
* @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
|
|
18230
|
+
* @param {*} [options] Override http request option.
|
|
18231
|
+
* @throws {RequiredError}
|
|
18232
|
+
*/
|
|
18233
|
+
stopSelectedServices(environmentId, environmentServiceIdsAllRequest, options) {
|
|
18234
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
18235
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.stopSelectedServices(environmentId, environmentServiceIdsAllRequest, options);
|
|
18236
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
18237
|
+
});
|
|
18238
|
+
},
|
|
18126
18239
|
};
|
|
18127
18240
|
};
|
|
18128
18241
|
exports.EnvironmentActionsApiFp = EnvironmentActionsApiFp;
|
|
@@ -18154,6 +18267,17 @@ const EnvironmentActionsApiFactory = function (configuration, basePath, axios) {
|
|
|
18154
18267
|
cloneEnvironment(environmentId, cloneRequest, options) {
|
|
18155
18268
|
return localVarFp.cloneEnvironment(environmentId, cloneRequest, options).then((request) => request(axios, basePath));
|
|
18156
18269
|
},
|
|
18270
|
+
/**
|
|
18271
|
+
* Delete selected services
|
|
18272
|
+
* @summary Delete services
|
|
18273
|
+
* @param {string} environmentId Environment ID
|
|
18274
|
+
* @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
|
|
18275
|
+
* @param {*} [options] Override http request option.
|
|
18276
|
+
* @throws {RequiredError}
|
|
18277
|
+
*/
|
|
18278
|
+
deleteSelectedServices(environmentId, environmentServiceIdsAllRequest, options) {
|
|
18279
|
+
return localVarFp.deleteSelectedServices(environmentId, environmentServiceIdsAllRequest, options).then((request) => request(axios, basePath));
|
|
18280
|
+
},
|
|
18157
18281
|
/**
|
|
18158
18282
|
* Update and deploy the selected services
|
|
18159
18283
|
* @summary Deploy services
|
|
@@ -18216,6 +18340,17 @@ const EnvironmentActionsApiFactory = function (configuration, basePath, axios) {
|
|
|
18216
18340
|
stopEnvironment(environmentId, options) {
|
|
18217
18341
|
return localVarFp.stopEnvironment(environmentId, options).then((request) => request(axios, basePath));
|
|
18218
18342
|
},
|
|
18343
|
+
/**
|
|
18344
|
+
* Stop selected services
|
|
18345
|
+
* @summary Stop services
|
|
18346
|
+
* @param {string} environmentId Environment ID
|
|
18347
|
+
* @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
|
|
18348
|
+
* @param {*} [options] Override http request option.
|
|
18349
|
+
* @throws {RequiredError}
|
|
18350
|
+
*/
|
|
18351
|
+
stopSelectedServices(environmentId, environmentServiceIdsAllRequest, options) {
|
|
18352
|
+
return localVarFp.stopSelectedServices(environmentId, environmentServiceIdsAllRequest, options).then((request) => request(axios, basePath));
|
|
18353
|
+
},
|
|
18219
18354
|
};
|
|
18220
18355
|
};
|
|
18221
18356
|
exports.EnvironmentActionsApiFactory = EnvironmentActionsApiFactory;
|
|
@@ -18249,6 +18384,18 @@ class EnvironmentActionsApi extends base_1.BaseAPI {
|
|
|
18249
18384
|
cloneEnvironment(environmentId, cloneRequest, options) {
|
|
18250
18385
|
return (0, exports.EnvironmentActionsApiFp)(this.configuration).cloneEnvironment(environmentId, cloneRequest, options).then((request) => request(this.axios, this.basePath));
|
|
18251
18386
|
}
|
|
18387
|
+
/**
|
|
18388
|
+
* Delete selected services
|
|
18389
|
+
* @summary Delete services
|
|
18390
|
+
* @param {string} environmentId Environment ID
|
|
18391
|
+
* @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
|
|
18392
|
+
* @param {*} [options] Override http request option.
|
|
18393
|
+
* @throws {RequiredError}
|
|
18394
|
+
* @memberof EnvironmentActionsApi
|
|
18395
|
+
*/
|
|
18396
|
+
deleteSelectedServices(environmentId, environmentServiceIdsAllRequest, options) {
|
|
18397
|
+
return (0, exports.EnvironmentActionsApiFp)(this.configuration).deleteSelectedServices(environmentId, environmentServiceIdsAllRequest, options).then((request) => request(this.axios, this.basePath));
|
|
18398
|
+
}
|
|
18252
18399
|
/**
|
|
18253
18400
|
* Update and deploy the selected services
|
|
18254
18401
|
* @summary Deploy services
|
|
@@ -18317,6 +18464,18 @@ class EnvironmentActionsApi extends base_1.BaseAPI {
|
|
|
18317
18464
|
stopEnvironment(environmentId, options) {
|
|
18318
18465
|
return (0, exports.EnvironmentActionsApiFp)(this.configuration).stopEnvironment(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
18319
18466
|
}
|
|
18467
|
+
/**
|
|
18468
|
+
* Stop selected services
|
|
18469
|
+
* @summary Stop services
|
|
18470
|
+
* @param {string} environmentId Environment ID
|
|
18471
|
+
* @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
|
|
18472
|
+
* @param {*} [options] Override http request option.
|
|
18473
|
+
* @throws {RequiredError}
|
|
18474
|
+
* @memberof EnvironmentActionsApi
|
|
18475
|
+
*/
|
|
18476
|
+
stopSelectedServices(environmentId, environmentServiceIdsAllRequest, options) {
|
|
18477
|
+
return (0, exports.EnvironmentActionsApiFp)(this.configuration).stopSelectedServices(environmentId, environmentServiceIdsAllRequest, options).then((request) => request(this.axios, this.basePath));
|
|
18478
|
+
}
|
|
18320
18479
|
}
|
|
18321
18480
|
exports.EnvironmentActionsApi = EnvironmentActionsApi;
|
|
18322
18481
|
/**
|