qovery-typescript-axios 1.1.505 → 1.1.506
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.ts +0 -81
- package/dist/api.d.ts +0 -37
- package/dist/api.js +0 -74
- package/dist/esm/api.d.ts +0 -37
- package/dist/esm/api.js +0 -74
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -34062,51 +34062,6 @@ export const EnvironmentApiAxiosParamCreator = function (configuration?: Configu
|
|
|
34062
34062
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
34063
34063
|
localVarRequestOptions.data = serializeDataIfNeeded(helmCheckRequest, localVarRequestOptions, configuration)
|
|
34064
34064
|
|
|
34065
|
-
return {
|
|
34066
|
-
url: toPathString(localVarUrlObj),
|
|
34067
|
-
options: localVarRequestOptions,
|
|
34068
|
-
};
|
|
34069
|
-
},
|
|
34070
|
-
/**
|
|
34071
|
-
* Start a deployment of the environment. Any of the services within the chosen environment based on the following rule: a service is deployed only if a new version is specified in the payload for that application/container or if there was a change in its configuration that needs to be applied (vCPU,RAM etc..)
|
|
34072
|
-
* @summary Deploy applications
|
|
34073
|
-
* @param {string} environmentId Environment ID
|
|
34074
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
34075
|
-
* @param {*} [options] Override http request option.
|
|
34076
|
-
* @throws {RequiredError}
|
|
34077
|
-
*/
|
|
34078
|
-
deployAllApplications: async (environmentId: string, deployAllRequest?: DeployAllRequest, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34079
|
-
// verify required parameter 'environmentId' is not null or undefined
|
|
34080
|
-
assertParamExists('deployAllApplications', 'environmentId', environmentId)
|
|
34081
|
-
const localVarPath = `/environment/{environmentId}/application/deploy`
|
|
34082
|
-
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
34083
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34084
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34085
|
-
let baseOptions;
|
|
34086
|
-
if (configuration) {
|
|
34087
|
-
baseOptions = configuration.baseOptions;
|
|
34088
|
-
}
|
|
34089
|
-
|
|
34090
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
34091
|
-
const localVarHeaderParameter = {} as any;
|
|
34092
|
-
const localVarQueryParameter = {} as any;
|
|
34093
|
-
|
|
34094
|
-
// authentication ApiKeyAuth required
|
|
34095
|
-
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
34096
|
-
|
|
34097
|
-
// authentication bearerAuth required
|
|
34098
|
-
// http bearer authentication required
|
|
34099
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
34100
|
-
|
|
34101
|
-
|
|
34102
|
-
|
|
34103
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
34104
|
-
|
|
34105
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34106
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34107
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
34108
|
-
localVarRequestOptions.data = serializeDataIfNeeded(deployAllRequest, localVarRequestOptions, configuration)
|
|
34109
|
-
|
|
34110
34065
|
return {
|
|
34111
34066
|
url: toPathString(localVarUrlObj),
|
|
34112
34067
|
options: localVarRequestOptions,
|
|
@@ -34170,18 +34125,6 @@ export const EnvironmentApiFp = function(configuration?: Configuration) {
|
|
|
34170
34125
|
const localVarAxiosArgs = await localVarAxiosParamCreator.checkHelmRepository(environmentId, helmCheckRequest, options);
|
|
34171
34126
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34172
34127
|
},
|
|
34173
|
-
/**
|
|
34174
|
-
* Start a deployment of the environment. Any of the services within the chosen environment based on the following rule: a service is deployed only if a new version is specified in the payload for that application/container or if there was a change in its configuration that needs to be applied (vCPU,RAM etc..)
|
|
34175
|
-
* @summary Deploy applications
|
|
34176
|
-
* @param {string} environmentId Environment ID
|
|
34177
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
34178
|
-
* @param {*} [options] Override http request option.
|
|
34179
|
-
* @throws {RequiredError}
|
|
34180
|
-
*/
|
|
34181
|
-
async deployAllApplications(environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
34182
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deployAllApplications(environmentId, deployAllRequest, options);
|
|
34183
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
34184
|
-
},
|
|
34185
34128
|
}
|
|
34186
34129
|
};
|
|
34187
34130
|
|
|
@@ -34236,17 +34179,6 @@ export const EnvironmentApiFactory = function (configuration?: Configuration, ba
|
|
|
34236
34179
|
checkHelmRepository(environmentId: string, helmCheckRequest?: HelmCheckRequest, options?: any): AxiosPromise<object> {
|
|
34237
34180
|
return localVarFp.checkHelmRepository(environmentId, helmCheckRequest, options).then((request) => request(axios, basePath));
|
|
34238
34181
|
},
|
|
34239
|
-
/**
|
|
34240
|
-
* Start a deployment of the environment. Any of the services within the chosen environment based on the following rule: a service is deployed only if a new version is specified in the payload for that application/container or if there was a change in its configuration that needs to be applied (vCPU,RAM etc..)
|
|
34241
|
-
* @summary Deploy applications
|
|
34242
|
-
* @param {string} environmentId Environment ID
|
|
34243
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
34244
|
-
* @param {*} [options] Override http request option.
|
|
34245
|
-
* @throws {RequiredError}
|
|
34246
|
-
*/
|
|
34247
|
-
deployAllApplications(environmentId: string, deployAllRequest?: DeployAllRequest, options?: any): AxiosPromise<Status> {
|
|
34248
|
-
return localVarFp.deployAllApplications(environmentId, deployAllRequest, options).then((request) => request(axios, basePath));
|
|
34249
|
-
},
|
|
34250
34182
|
};
|
|
34251
34183
|
};
|
|
34252
34184
|
|
|
@@ -34308,19 +34240,6 @@ export class EnvironmentApi extends BaseAPI {
|
|
|
34308
34240
|
public checkHelmRepository(environmentId: string, helmCheckRequest?: HelmCheckRequest, options?: AxiosRequestConfig) {
|
|
34309
34241
|
return EnvironmentApiFp(this.configuration).checkHelmRepository(environmentId, helmCheckRequest, options).then((request) => request(this.axios, this.basePath));
|
|
34310
34242
|
}
|
|
34311
|
-
|
|
34312
|
-
/**
|
|
34313
|
-
* Start a deployment of the environment. Any of the services within the chosen environment based on the following rule: a service is deployed only if a new version is specified in the payload for that application/container or if there was a change in its configuration that needs to be applied (vCPU,RAM etc..)
|
|
34314
|
-
* @summary Deploy applications
|
|
34315
|
-
* @param {string} environmentId Environment ID
|
|
34316
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
34317
|
-
* @param {*} [options] Override http request option.
|
|
34318
|
-
* @throws {RequiredError}
|
|
34319
|
-
* @memberof EnvironmentApi
|
|
34320
|
-
*/
|
|
34321
|
-
public deployAllApplications(environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig) {
|
|
34322
|
-
return EnvironmentApiFp(this.configuration).deployAllApplications(environmentId, deployAllRequest, options).then((request) => request(this.axios, this.basePath));
|
|
34323
|
-
}
|
|
34324
34243
|
}
|
|
34325
34244
|
|
|
34326
34245
|
|
package/dist/api.d.ts
CHANGED
|
@@ -24055,15 +24055,6 @@ export declare const EnvironmentApiAxiosParamCreator: (configuration?: Configura
|
|
|
24055
24055
|
* @throws {RequiredError}
|
|
24056
24056
|
*/
|
|
24057
24057
|
checkHelmRepository: (environmentId: string, helmCheckRequest?: HelmCheckRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
24058
|
-
/**
|
|
24059
|
-
* Start a deployment of the environment. Any of the services within the chosen environment based on the following rule: a service is deployed only if a new version is specified in the payload for that application/container or if there was a change in its configuration that needs to be applied (vCPU,RAM etc..)
|
|
24060
|
-
* @summary Deploy applications
|
|
24061
|
-
* @param {string} environmentId Environment ID
|
|
24062
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
24063
|
-
* @param {*} [options] Override http request option.
|
|
24064
|
-
* @throws {RequiredError}
|
|
24065
|
-
*/
|
|
24066
|
-
deployAllApplications: (environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
24067
24058
|
};
|
|
24068
24059
|
/**
|
|
24069
24060
|
* EnvironmentApi - functional programming interface
|
|
@@ -24106,15 +24097,6 @@ export declare const EnvironmentApiFp: (configuration?: Configuration) => {
|
|
|
24106
24097
|
* @throws {RequiredError}
|
|
24107
24098
|
*/
|
|
24108
24099
|
checkHelmRepository(environmentId: string, helmCheckRequest?: HelmCheckRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
24109
|
-
/**
|
|
24110
|
-
* Start a deployment of the environment. Any of the services within the chosen environment based on the following rule: a service is deployed only if a new version is specified in the payload for that application/container or if there was a change in its configuration that needs to be applied (vCPU,RAM etc..)
|
|
24111
|
-
* @summary Deploy applications
|
|
24112
|
-
* @param {string} environmentId Environment ID
|
|
24113
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
24114
|
-
* @param {*} [options] Override http request option.
|
|
24115
|
-
* @throws {RequiredError}
|
|
24116
|
-
*/
|
|
24117
|
-
deployAllApplications(environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>>;
|
|
24118
24100
|
};
|
|
24119
24101
|
/**
|
|
24120
24102
|
* EnvironmentApi - factory interface
|
|
@@ -24157,15 +24139,6 @@ export declare const EnvironmentApiFactory: (configuration?: Configuration, base
|
|
|
24157
24139
|
* @throws {RequiredError}
|
|
24158
24140
|
*/
|
|
24159
24141
|
checkHelmRepository(environmentId: string, helmCheckRequest?: HelmCheckRequest, options?: any): AxiosPromise<object>;
|
|
24160
|
-
/**
|
|
24161
|
-
* Start a deployment of the environment. Any of the services within the chosen environment based on the following rule: a service is deployed only if a new version is specified in the payload for that application/container or if there was a change in its configuration that needs to be applied (vCPU,RAM etc..)
|
|
24162
|
-
* @summary Deploy applications
|
|
24163
|
-
* @param {string} environmentId Environment ID
|
|
24164
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
24165
|
-
* @param {*} [options] Override http request option.
|
|
24166
|
-
* @throws {RequiredError}
|
|
24167
|
-
*/
|
|
24168
|
-
deployAllApplications(environmentId: string, deployAllRequest?: DeployAllRequest, options?: any): AxiosPromise<Status>;
|
|
24169
24142
|
};
|
|
24170
24143
|
/**
|
|
24171
24144
|
* EnvironmentApi - object-oriented interface
|
|
@@ -24214,16 +24187,6 @@ export declare class EnvironmentApi extends BaseAPI {
|
|
|
24214
24187
|
* @memberof EnvironmentApi
|
|
24215
24188
|
*/
|
|
24216
24189
|
checkHelmRepository(environmentId: string, helmCheckRequest?: HelmCheckRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
24217
|
-
/**
|
|
24218
|
-
* Start a deployment of the environment. Any of the services within the chosen environment based on the following rule: a service is deployed only if a new version is specified in the payload for that application/container or if there was a change in its configuration that needs to be applied (vCPU,RAM etc..)
|
|
24219
|
-
* @summary Deploy applications
|
|
24220
|
-
* @param {string} environmentId Environment ID
|
|
24221
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
24222
|
-
* @param {*} [options] Override http request option.
|
|
24223
|
-
* @throws {RequiredError}
|
|
24224
|
-
* @memberof EnvironmentApi
|
|
24225
|
-
*/
|
|
24226
|
-
deployAllApplications(environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Status, any>>;
|
|
24227
24190
|
}
|
|
24228
24191
|
/**
|
|
24229
24192
|
* EnvironmentActionsApi - axios parameter creator
|
package/dist/api.js
CHANGED
|
@@ -17306,43 +17306,6 @@ const EnvironmentApiAxiosParamCreator = function (configuration) {
|
|
|
17306
17306
|
options: localVarRequestOptions,
|
|
17307
17307
|
};
|
|
17308
17308
|
}),
|
|
17309
|
-
/**
|
|
17310
|
-
* Start a deployment of the environment. Any of the services within the chosen environment based on the following rule: a service is deployed only if a new version is specified in the payload for that application/container or if there was a change in its configuration that needs to be applied (vCPU,RAM etc..)
|
|
17311
|
-
* @summary Deploy applications
|
|
17312
|
-
* @param {string} environmentId Environment ID
|
|
17313
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
17314
|
-
* @param {*} [options] Override http request option.
|
|
17315
|
-
* @throws {RequiredError}
|
|
17316
|
-
*/
|
|
17317
|
-
deployAllApplications: (environmentId, deployAllRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
17318
|
-
// verify required parameter 'environmentId' is not null or undefined
|
|
17319
|
-
(0, common_1.assertParamExists)('deployAllApplications', 'environmentId', environmentId);
|
|
17320
|
-
const localVarPath = `/environment/{environmentId}/application/deploy`
|
|
17321
|
-
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
17322
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17323
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17324
|
-
let baseOptions;
|
|
17325
|
-
if (configuration) {
|
|
17326
|
-
baseOptions = configuration.baseOptions;
|
|
17327
|
-
}
|
|
17328
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
17329
|
-
const localVarHeaderParameter = {};
|
|
17330
|
-
const localVarQueryParameter = {};
|
|
17331
|
-
// authentication ApiKeyAuth required
|
|
17332
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
17333
|
-
// authentication bearerAuth required
|
|
17334
|
-
// http bearer authentication required
|
|
17335
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
17336
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17337
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
17338
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17339
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
17340
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(deployAllRequest, localVarRequestOptions, configuration);
|
|
17341
|
-
return {
|
|
17342
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
17343
|
-
options: localVarRequestOptions,
|
|
17344
|
-
};
|
|
17345
|
-
}),
|
|
17346
17309
|
};
|
|
17347
17310
|
};
|
|
17348
17311
|
exports.EnvironmentApiAxiosParamCreator = EnvironmentApiAxiosParamCreator;
|
|
@@ -17409,20 +17372,6 @@ const EnvironmentApiFp = function (configuration) {
|
|
|
17409
17372
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
17410
17373
|
});
|
|
17411
17374
|
},
|
|
17412
|
-
/**
|
|
17413
|
-
* Start a deployment of the environment. Any of the services within the chosen environment based on the following rule: a service is deployed only if a new version is specified in the payload for that application/container or if there was a change in its configuration that needs to be applied (vCPU,RAM etc..)
|
|
17414
|
-
* @summary Deploy applications
|
|
17415
|
-
* @param {string} environmentId Environment ID
|
|
17416
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
17417
|
-
* @param {*} [options] Override http request option.
|
|
17418
|
-
* @throws {RequiredError}
|
|
17419
|
-
*/
|
|
17420
|
-
deployAllApplications(environmentId, deployAllRequest, options) {
|
|
17421
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
17422
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.deployAllApplications(environmentId, deployAllRequest, options);
|
|
17423
|
-
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
17424
|
-
});
|
|
17425
|
-
},
|
|
17426
17375
|
};
|
|
17427
17376
|
};
|
|
17428
17377
|
exports.EnvironmentApiFp = EnvironmentApiFp;
|
|
@@ -17477,17 +17426,6 @@ const EnvironmentApiFactory = function (configuration, basePath, axios) {
|
|
|
17477
17426
|
checkHelmRepository(environmentId, helmCheckRequest, options) {
|
|
17478
17427
|
return localVarFp.checkHelmRepository(environmentId, helmCheckRequest, options).then((request) => request(axios, basePath));
|
|
17479
17428
|
},
|
|
17480
|
-
/**
|
|
17481
|
-
* Start a deployment of the environment. Any of the services within the chosen environment based on the following rule: a service is deployed only if a new version is specified in the payload for that application/container or if there was a change in its configuration that needs to be applied (vCPU,RAM etc..)
|
|
17482
|
-
* @summary Deploy applications
|
|
17483
|
-
* @param {string} environmentId Environment ID
|
|
17484
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
17485
|
-
* @param {*} [options] Override http request option.
|
|
17486
|
-
* @throws {RequiredError}
|
|
17487
|
-
*/
|
|
17488
|
-
deployAllApplications(environmentId, deployAllRequest, options) {
|
|
17489
|
-
return localVarFp.deployAllApplications(environmentId, deployAllRequest, options).then((request) => request(axios, basePath));
|
|
17490
|
-
},
|
|
17491
17429
|
};
|
|
17492
17430
|
};
|
|
17493
17431
|
exports.EnvironmentApiFactory = EnvironmentApiFactory;
|
|
@@ -17546,18 +17484,6 @@ class EnvironmentApi extends base_1.BaseAPI {
|
|
|
17546
17484
|
checkHelmRepository(environmentId, helmCheckRequest, options) {
|
|
17547
17485
|
return (0, exports.EnvironmentApiFp)(this.configuration).checkHelmRepository(environmentId, helmCheckRequest, options).then((request) => request(this.axios, this.basePath));
|
|
17548
17486
|
}
|
|
17549
|
-
/**
|
|
17550
|
-
* Start a deployment of the environment. Any of the services within the chosen environment based on the following rule: a service is deployed only if a new version is specified in the payload for that application/container or if there was a change in its configuration that needs to be applied (vCPU,RAM etc..)
|
|
17551
|
-
* @summary Deploy applications
|
|
17552
|
-
* @param {string} environmentId Environment ID
|
|
17553
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
17554
|
-
* @param {*} [options] Override http request option.
|
|
17555
|
-
* @throws {RequiredError}
|
|
17556
|
-
* @memberof EnvironmentApi
|
|
17557
|
-
*/
|
|
17558
|
-
deployAllApplications(environmentId, deployAllRequest, options) {
|
|
17559
|
-
return (0, exports.EnvironmentApiFp)(this.configuration).deployAllApplications(environmentId, deployAllRequest, options).then((request) => request(this.axios, this.basePath));
|
|
17560
|
-
}
|
|
17561
17487
|
}
|
|
17562
17488
|
exports.EnvironmentApi = EnvironmentApi;
|
|
17563
17489
|
/**
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -24055,15 +24055,6 @@ export declare const EnvironmentApiAxiosParamCreator: (configuration?: Configura
|
|
|
24055
24055
|
* @throws {RequiredError}
|
|
24056
24056
|
*/
|
|
24057
24057
|
checkHelmRepository: (environmentId: string, helmCheckRequest?: HelmCheckRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
24058
|
-
/**
|
|
24059
|
-
* Start a deployment of the environment. Any of the services within the chosen environment based on the following rule: a service is deployed only if a new version is specified in the payload for that application/container or if there was a change in its configuration that needs to be applied (vCPU,RAM etc..)
|
|
24060
|
-
* @summary Deploy applications
|
|
24061
|
-
* @param {string} environmentId Environment ID
|
|
24062
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
24063
|
-
* @param {*} [options] Override http request option.
|
|
24064
|
-
* @throws {RequiredError}
|
|
24065
|
-
*/
|
|
24066
|
-
deployAllApplications: (environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
24067
24058
|
};
|
|
24068
24059
|
/**
|
|
24069
24060
|
* EnvironmentApi - functional programming interface
|
|
@@ -24106,15 +24097,6 @@ export declare const EnvironmentApiFp: (configuration?: Configuration) => {
|
|
|
24106
24097
|
* @throws {RequiredError}
|
|
24107
24098
|
*/
|
|
24108
24099
|
checkHelmRepository(environmentId: string, helmCheckRequest?: HelmCheckRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
24109
|
-
/**
|
|
24110
|
-
* Start a deployment of the environment. Any of the services within the chosen environment based on the following rule: a service is deployed only if a new version is specified in the payload for that application/container or if there was a change in its configuration that needs to be applied (vCPU,RAM etc..)
|
|
24111
|
-
* @summary Deploy applications
|
|
24112
|
-
* @param {string} environmentId Environment ID
|
|
24113
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
24114
|
-
* @param {*} [options] Override http request option.
|
|
24115
|
-
* @throws {RequiredError}
|
|
24116
|
-
*/
|
|
24117
|
-
deployAllApplications(environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>>;
|
|
24118
24100
|
};
|
|
24119
24101
|
/**
|
|
24120
24102
|
* EnvironmentApi - factory interface
|
|
@@ -24157,15 +24139,6 @@ export declare const EnvironmentApiFactory: (configuration?: Configuration, base
|
|
|
24157
24139
|
* @throws {RequiredError}
|
|
24158
24140
|
*/
|
|
24159
24141
|
checkHelmRepository(environmentId: string, helmCheckRequest?: HelmCheckRequest, options?: any): AxiosPromise<object>;
|
|
24160
|
-
/**
|
|
24161
|
-
* Start a deployment of the environment. Any of the services within the chosen environment based on the following rule: a service is deployed only if a new version is specified in the payload for that application/container or if there was a change in its configuration that needs to be applied (vCPU,RAM etc..)
|
|
24162
|
-
* @summary Deploy applications
|
|
24163
|
-
* @param {string} environmentId Environment ID
|
|
24164
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
24165
|
-
* @param {*} [options] Override http request option.
|
|
24166
|
-
* @throws {RequiredError}
|
|
24167
|
-
*/
|
|
24168
|
-
deployAllApplications(environmentId: string, deployAllRequest?: DeployAllRequest, options?: any): AxiosPromise<Status>;
|
|
24169
24142
|
};
|
|
24170
24143
|
/**
|
|
24171
24144
|
* EnvironmentApi - object-oriented interface
|
|
@@ -24214,16 +24187,6 @@ export declare class EnvironmentApi extends BaseAPI {
|
|
|
24214
24187
|
* @memberof EnvironmentApi
|
|
24215
24188
|
*/
|
|
24216
24189
|
checkHelmRepository(environmentId: string, helmCheckRequest?: HelmCheckRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
24217
|
-
/**
|
|
24218
|
-
* Start a deployment of the environment. Any of the services within the chosen environment based on the following rule: a service is deployed only if a new version is specified in the payload for that application/container or if there was a change in its configuration that needs to be applied (vCPU,RAM etc..)
|
|
24219
|
-
* @summary Deploy applications
|
|
24220
|
-
* @param {string} environmentId Environment ID
|
|
24221
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
24222
|
-
* @param {*} [options] Override http request option.
|
|
24223
|
-
* @throws {RequiredError}
|
|
24224
|
-
* @memberof EnvironmentApi
|
|
24225
|
-
*/
|
|
24226
|
-
deployAllApplications(environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Status, any>>;
|
|
24227
24190
|
}
|
|
24228
24191
|
/**
|
|
24229
24192
|
* EnvironmentActionsApi - axios parameter creator
|
package/dist/esm/api.js
CHANGED
|
@@ -17164,43 +17164,6 @@ export const EnvironmentApiAxiosParamCreator = function (configuration) {
|
|
|
17164
17164
|
options: localVarRequestOptions,
|
|
17165
17165
|
};
|
|
17166
17166
|
}),
|
|
17167
|
-
/**
|
|
17168
|
-
* Start a deployment of the environment. Any of the services within the chosen environment based on the following rule: a service is deployed only if a new version is specified in the payload for that application/container or if there was a change in its configuration that needs to be applied (vCPU,RAM etc..)
|
|
17169
|
-
* @summary Deploy applications
|
|
17170
|
-
* @param {string} environmentId Environment ID
|
|
17171
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
17172
|
-
* @param {*} [options] Override http request option.
|
|
17173
|
-
* @throws {RequiredError}
|
|
17174
|
-
*/
|
|
17175
|
-
deployAllApplications: (environmentId, deployAllRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
17176
|
-
// verify required parameter 'environmentId' is not null or undefined
|
|
17177
|
-
assertParamExists('deployAllApplications', 'environmentId', environmentId);
|
|
17178
|
-
const localVarPath = `/environment/{environmentId}/application/deploy`
|
|
17179
|
-
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
17180
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17181
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17182
|
-
let baseOptions;
|
|
17183
|
-
if (configuration) {
|
|
17184
|
-
baseOptions = configuration.baseOptions;
|
|
17185
|
-
}
|
|
17186
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
17187
|
-
const localVarHeaderParameter = {};
|
|
17188
|
-
const localVarQueryParameter = {};
|
|
17189
|
-
// authentication ApiKeyAuth required
|
|
17190
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
17191
|
-
// authentication bearerAuth required
|
|
17192
|
-
// http bearer authentication required
|
|
17193
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
17194
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17195
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17196
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17197
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
17198
|
-
localVarRequestOptions.data = serializeDataIfNeeded(deployAllRequest, localVarRequestOptions, configuration);
|
|
17199
|
-
return {
|
|
17200
|
-
url: toPathString(localVarUrlObj),
|
|
17201
|
-
options: localVarRequestOptions,
|
|
17202
|
-
};
|
|
17203
|
-
}),
|
|
17204
17167
|
};
|
|
17205
17168
|
};
|
|
17206
17169
|
/**
|
|
@@ -17266,20 +17229,6 @@ export const EnvironmentApiFp = function (configuration) {
|
|
|
17266
17229
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
17267
17230
|
});
|
|
17268
17231
|
},
|
|
17269
|
-
/**
|
|
17270
|
-
* Start a deployment of the environment. Any of the services within the chosen environment based on the following rule: a service is deployed only if a new version is specified in the payload for that application/container or if there was a change in its configuration that needs to be applied (vCPU,RAM etc..)
|
|
17271
|
-
* @summary Deploy applications
|
|
17272
|
-
* @param {string} environmentId Environment ID
|
|
17273
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
17274
|
-
* @param {*} [options] Override http request option.
|
|
17275
|
-
* @throws {RequiredError}
|
|
17276
|
-
*/
|
|
17277
|
-
deployAllApplications(environmentId, deployAllRequest, options) {
|
|
17278
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
17279
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.deployAllApplications(environmentId, deployAllRequest, options);
|
|
17280
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
17281
|
-
});
|
|
17282
|
-
},
|
|
17283
17232
|
};
|
|
17284
17233
|
};
|
|
17285
17234
|
/**
|
|
@@ -17333,17 +17282,6 @@ export const EnvironmentApiFactory = function (configuration, basePath, axios) {
|
|
|
17333
17282
|
checkHelmRepository(environmentId, helmCheckRequest, options) {
|
|
17334
17283
|
return localVarFp.checkHelmRepository(environmentId, helmCheckRequest, options).then((request) => request(axios, basePath));
|
|
17335
17284
|
},
|
|
17336
|
-
/**
|
|
17337
|
-
* Start a deployment of the environment. Any of the services within the chosen environment based on the following rule: a service is deployed only if a new version is specified in the payload for that application/container or if there was a change in its configuration that needs to be applied (vCPU,RAM etc..)
|
|
17338
|
-
* @summary Deploy applications
|
|
17339
|
-
* @param {string} environmentId Environment ID
|
|
17340
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
17341
|
-
* @param {*} [options] Override http request option.
|
|
17342
|
-
* @throws {RequiredError}
|
|
17343
|
-
*/
|
|
17344
|
-
deployAllApplications(environmentId, deployAllRequest, options) {
|
|
17345
|
-
return localVarFp.deployAllApplications(environmentId, deployAllRequest, options).then((request) => request(axios, basePath));
|
|
17346
|
-
},
|
|
17347
17285
|
};
|
|
17348
17286
|
};
|
|
17349
17287
|
/**
|
|
@@ -17401,18 +17339,6 @@ export class EnvironmentApi extends BaseAPI {
|
|
|
17401
17339
|
checkHelmRepository(environmentId, helmCheckRequest, options) {
|
|
17402
17340
|
return EnvironmentApiFp(this.configuration).checkHelmRepository(environmentId, helmCheckRequest, options).then((request) => request(this.axios, this.basePath));
|
|
17403
17341
|
}
|
|
17404
|
-
/**
|
|
17405
|
-
* Start a deployment of the environment. Any of the services within the chosen environment based on the following rule: a service is deployed only if a new version is specified in the payload for that application/container or if there was a change in its configuration that needs to be applied (vCPU,RAM etc..)
|
|
17406
|
-
* @summary Deploy applications
|
|
17407
|
-
* @param {string} environmentId Environment ID
|
|
17408
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
17409
|
-
* @param {*} [options] Override http request option.
|
|
17410
|
-
* @throws {RequiredError}
|
|
17411
|
-
* @memberof EnvironmentApi
|
|
17412
|
-
*/
|
|
17413
|
-
deployAllApplications(environmentId, deployAllRequest, options) {
|
|
17414
|
-
return EnvironmentApiFp(this.configuration).deployAllApplications(environmentId, deployAllRequest, options).then((request) => request(this.axios, this.basePath));
|
|
17415
|
-
}
|
|
17416
17342
|
}
|
|
17417
17343
|
/**
|
|
17418
17344
|
* EnvironmentActionsApi - axios parameter creator
|