qovery-typescript-axios 1.1.340 → 1.1.341
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 -460
- package/dist/api.d.ts +0 -206
- package/dist/api.js +0 -422
- package/dist/esm/api.d.ts +0 -206
- package/dist/esm/api.js +0 -422
- package/package.json +1 -1
package/dist/esm/api.js
CHANGED
|
@@ -1002,40 +1002,6 @@ export const ApplicationActionsApiAxiosParamCreator = function (configuration) {
|
|
|
1002
1002
|
options: localVarRequestOptions,
|
|
1003
1003
|
};
|
|
1004
1004
|
}),
|
|
1005
|
-
/**
|
|
1006
|
-
*
|
|
1007
|
-
* @summary Redeploy application
|
|
1008
|
-
* @param {string} applicationId Application ID
|
|
1009
|
-
* @param {*} [options] Override http request option.
|
|
1010
|
-
* @throws {RequiredError}
|
|
1011
|
-
*/
|
|
1012
|
-
redeployApplication: (applicationId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1013
|
-
// verify required parameter 'applicationId' is not null or undefined
|
|
1014
|
-
assertParamExists('redeployApplication', 'applicationId', applicationId);
|
|
1015
|
-
const localVarPath = `/application/{applicationId}/redeploy`
|
|
1016
|
-
.replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)));
|
|
1017
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1018
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1019
|
-
let baseOptions;
|
|
1020
|
-
if (configuration) {
|
|
1021
|
-
baseOptions = configuration.baseOptions;
|
|
1022
|
-
}
|
|
1023
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1024
|
-
const localVarHeaderParameter = {};
|
|
1025
|
-
const localVarQueryParameter = {};
|
|
1026
|
-
// authentication ApiKeyAuth required
|
|
1027
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
1028
|
-
// authentication bearerAuth required
|
|
1029
|
-
// http bearer authentication required
|
|
1030
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1031
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1032
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1033
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1034
|
-
return {
|
|
1035
|
-
url: toPathString(localVarUrlObj),
|
|
1036
|
-
options: localVarRequestOptions,
|
|
1037
|
-
};
|
|
1038
|
-
}),
|
|
1039
1005
|
/**
|
|
1040
1006
|
* **Deprecated** - Please use the \"Redeploy application\" endpoint now
|
|
1041
1007
|
* @summary Deprecated - Restart application
|
|
@@ -1140,19 +1106,6 @@ export const ApplicationActionsApiFp = function (configuration) {
|
|
|
1140
1106
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1141
1107
|
});
|
|
1142
1108
|
},
|
|
1143
|
-
/**
|
|
1144
|
-
*
|
|
1145
|
-
* @summary Redeploy application
|
|
1146
|
-
* @param {string} applicationId Application ID
|
|
1147
|
-
* @param {*} [options] Override http request option.
|
|
1148
|
-
* @throws {RequiredError}
|
|
1149
|
-
*/
|
|
1150
|
-
redeployApplication(applicationId, options) {
|
|
1151
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1152
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.redeployApplication(applicationId, options);
|
|
1153
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1154
|
-
});
|
|
1155
|
-
},
|
|
1156
1109
|
/**
|
|
1157
1110
|
* **Deprecated** - Please use the \"Redeploy application\" endpoint now
|
|
1158
1111
|
* @summary Deprecated - Restart application
|
|
@@ -1209,16 +1162,6 @@ export const ApplicationActionsApiFactory = function (configuration, basePath, a
|
|
|
1209
1162
|
rebootApplication(applicationId, options) {
|
|
1210
1163
|
return localVarFp.rebootApplication(applicationId, options).then((request) => request(axios, basePath));
|
|
1211
1164
|
},
|
|
1212
|
-
/**
|
|
1213
|
-
*
|
|
1214
|
-
* @summary Redeploy application
|
|
1215
|
-
* @param {string} applicationId Application ID
|
|
1216
|
-
* @param {*} [options] Override http request option.
|
|
1217
|
-
* @throws {RequiredError}
|
|
1218
|
-
*/
|
|
1219
|
-
redeployApplication(applicationId, options) {
|
|
1220
|
-
return localVarFp.redeployApplication(applicationId, options).then((request) => request(axios, basePath));
|
|
1221
|
-
},
|
|
1222
1165
|
/**
|
|
1223
1166
|
* **Deprecated** - Please use the \"Redeploy application\" endpoint now
|
|
1224
1167
|
* @summary Deprecated - Restart application
|
|
@@ -1271,17 +1214,6 @@ export class ApplicationActionsApi extends BaseAPI {
|
|
|
1271
1214
|
rebootApplication(applicationId, options) {
|
|
1272
1215
|
return ApplicationActionsApiFp(this.configuration).rebootApplication(applicationId, options).then((request) => request(this.axios, this.basePath));
|
|
1273
1216
|
}
|
|
1274
|
-
/**
|
|
1275
|
-
*
|
|
1276
|
-
* @summary Redeploy application
|
|
1277
|
-
* @param {string} applicationId Application ID
|
|
1278
|
-
* @param {*} [options] Override http request option.
|
|
1279
|
-
* @throws {RequiredError}
|
|
1280
|
-
* @memberof ApplicationActionsApi
|
|
1281
|
-
*/
|
|
1282
|
-
redeployApplication(applicationId, options) {
|
|
1283
|
-
return ApplicationActionsApiFp(this.configuration).redeployApplication(applicationId, options).then((request) => request(this.axios, this.basePath));
|
|
1284
|
-
}
|
|
1285
1217
|
/**
|
|
1286
1218
|
* **Deprecated** - Please use the \"Redeploy application\" endpoint now
|
|
1287
1219
|
* @summary Deprecated - Restart application
|
|
@@ -9316,40 +9248,6 @@ export const ContainerActionsApiAxiosParamCreator = function (configuration) {
|
|
|
9316
9248
|
options: localVarRequestOptions,
|
|
9317
9249
|
};
|
|
9318
9250
|
}),
|
|
9319
|
-
/**
|
|
9320
|
-
*
|
|
9321
|
-
* @summary Redeploy container
|
|
9322
|
-
* @param {string} containerId Container ID
|
|
9323
|
-
* @param {*} [options] Override http request option.
|
|
9324
|
-
* @throws {RequiredError}
|
|
9325
|
-
*/
|
|
9326
|
-
redeployContainer: (containerId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
9327
|
-
// verify required parameter 'containerId' is not null or undefined
|
|
9328
|
-
assertParamExists('redeployContainer', 'containerId', containerId);
|
|
9329
|
-
const localVarPath = `/container/{containerId}/redeploy`
|
|
9330
|
-
.replace(`{${"containerId"}}`, encodeURIComponent(String(containerId)));
|
|
9331
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9332
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9333
|
-
let baseOptions;
|
|
9334
|
-
if (configuration) {
|
|
9335
|
-
baseOptions = configuration.baseOptions;
|
|
9336
|
-
}
|
|
9337
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
9338
|
-
const localVarHeaderParameter = {};
|
|
9339
|
-
const localVarQueryParameter = {};
|
|
9340
|
-
// authentication ApiKeyAuth required
|
|
9341
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
9342
|
-
// authentication bearerAuth required
|
|
9343
|
-
// http bearer authentication required
|
|
9344
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
9345
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9346
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9347
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
9348
|
-
return {
|
|
9349
|
-
url: toPathString(localVarUrlObj),
|
|
9350
|
-
options: localVarRequestOptions,
|
|
9351
|
-
};
|
|
9352
|
-
}),
|
|
9353
9251
|
/**
|
|
9354
9252
|
* **Deprecated** - Please use the \"Redeploy container\" endpoint now
|
|
9355
9253
|
* @summary Deprecated - Restart container
|
|
@@ -9454,19 +9352,6 @@ export const ContainerActionsApiFp = function (configuration) {
|
|
|
9454
9352
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
9455
9353
|
});
|
|
9456
9354
|
},
|
|
9457
|
-
/**
|
|
9458
|
-
*
|
|
9459
|
-
* @summary Redeploy container
|
|
9460
|
-
* @param {string} containerId Container ID
|
|
9461
|
-
* @param {*} [options] Override http request option.
|
|
9462
|
-
* @throws {RequiredError}
|
|
9463
|
-
*/
|
|
9464
|
-
redeployContainer(containerId, options) {
|
|
9465
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
9466
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.redeployContainer(containerId, options);
|
|
9467
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
9468
|
-
});
|
|
9469
|
-
},
|
|
9470
9355
|
/**
|
|
9471
9356
|
* **Deprecated** - Please use the \"Redeploy container\" endpoint now
|
|
9472
9357
|
* @summary Deprecated - Restart container
|
|
@@ -9523,16 +9408,6 @@ export const ContainerActionsApiFactory = function (configuration, basePath, axi
|
|
|
9523
9408
|
rebootContainer(containerId, options) {
|
|
9524
9409
|
return localVarFp.rebootContainer(containerId, options).then((request) => request(axios, basePath));
|
|
9525
9410
|
},
|
|
9526
|
-
/**
|
|
9527
|
-
*
|
|
9528
|
-
* @summary Redeploy container
|
|
9529
|
-
* @param {string} containerId Container ID
|
|
9530
|
-
* @param {*} [options] Override http request option.
|
|
9531
|
-
* @throws {RequiredError}
|
|
9532
|
-
*/
|
|
9533
|
-
redeployContainer(containerId, options) {
|
|
9534
|
-
return localVarFp.redeployContainer(containerId, options).then((request) => request(axios, basePath));
|
|
9535
|
-
},
|
|
9536
9411
|
/**
|
|
9537
9412
|
* **Deprecated** - Please use the \"Redeploy container\" endpoint now
|
|
9538
9413
|
* @summary Deprecated - Restart container
|
|
@@ -9585,17 +9460,6 @@ export class ContainerActionsApi extends BaseAPI {
|
|
|
9585
9460
|
rebootContainer(containerId, options) {
|
|
9586
9461
|
return ContainerActionsApiFp(this.configuration).rebootContainer(containerId, options).then((request) => request(this.axios, this.basePath));
|
|
9587
9462
|
}
|
|
9588
|
-
/**
|
|
9589
|
-
*
|
|
9590
|
-
* @summary Redeploy container
|
|
9591
|
-
* @param {string} containerId Container ID
|
|
9592
|
-
* @param {*} [options] Override http request option.
|
|
9593
|
-
* @throws {RequiredError}
|
|
9594
|
-
* @memberof ContainerActionsApi
|
|
9595
|
-
*/
|
|
9596
|
-
redeployContainer(containerId, options) {
|
|
9597
|
-
return ContainerActionsApiFp(this.configuration).redeployContainer(containerId, options).then((request) => request(this.axios, this.basePath));
|
|
9598
|
-
}
|
|
9599
9463
|
/**
|
|
9600
9464
|
* **Deprecated** - Please use the \"Redeploy container\" endpoint now
|
|
9601
9465
|
* @summary Deprecated - Restart container
|
|
@@ -13687,40 +13551,6 @@ export const DatabaseActionsApiAxiosParamCreator = function (configuration) {
|
|
|
13687
13551
|
options: localVarRequestOptions,
|
|
13688
13552
|
};
|
|
13689
13553
|
}),
|
|
13690
|
-
/**
|
|
13691
|
-
*
|
|
13692
|
-
* @summary Redeploy database
|
|
13693
|
-
* @param {string} databaseId Database ID
|
|
13694
|
-
* @param {*} [options] Override http request option.
|
|
13695
|
-
* @throws {RequiredError}
|
|
13696
|
-
*/
|
|
13697
|
-
redeployDatabase: (databaseId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
13698
|
-
// verify required parameter 'databaseId' is not null or undefined
|
|
13699
|
-
assertParamExists('redeployDatabase', 'databaseId', databaseId);
|
|
13700
|
-
const localVarPath = `/database/{databaseId}/redeploy`
|
|
13701
|
-
.replace(`{${"databaseId"}}`, encodeURIComponent(String(databaseId)));
|
|
13702
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13703
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13704
|
-
let baseOptions;
|
|
13705
|
-
if (configuration) {
|
|
13706
|
-
baseOptions = configuration.baseOptions;
|
|
13707
|
-
}
|
|
13708
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
13709
|
-
const localVarHeaderParameter = {};
|
|
13710
|
-
const localVarQueryParameter = {};
|
|
13711
|
-
// authentication ApiKeyAuth required
|
|
13712
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
13713
|
-
// authentication bearerAuth required
|
|
13714
|
-
// http bearer authentication required
|
|
13715
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
13716
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13717
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13718
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13719
|
-
return {
|
|
13720
|
-
url: toPathString(localVarUrlObj),
|
|
13721
|
-
options: localVarRequestOptions,
|
|
13722
|
-
};
|
|
13723
|
-
}),
|
|
13724
13554
|
/**
|
|
13725
13555
|
* **Deprecated** - Please use the \"Redeploy database\" endpoint now
|
|
13726
13556
|
* @summary Deprecated - Restart database
|
|
@@ -13824,19 +13654,6 @@ export const DatabaseActionsApiFp = function (configuration) {
|
|
|
13824
13654
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
13825
13655
|
});
|
|
13826
13656
|
},
|
|
13827
|
-
/**
|
|
13828
|
-
*
|
|
13829
|
-
* @summary Redeploy database
|
|
13830
|
-
* @param {string} databaseId Database ID
|
|
13831
|
-
* @param {*} [options] Override http request option.
|
|
13832
|
-
* @throws {RequiredError}
|
|
13833
|
-
*/
|
|
13834
|
-
redeployDatabase(databaseId, options) {
|
|
13835
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
13836
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.redeployDatabase(databaseId, options);
|
|
13837
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
13838
|
-
});
|
|
13839
|
-
},
|
|
13840
13657
|
/**
|
|
13841
13658
|
* **Deprecated** - Please use the \"Redeploy database\" endpoint now
|
|
13842
13659
|
* @summary Deprecated - Restart database
|
|
@@ -13892,16 +13709,6 @@ export const DatabaseActionsApiFactory = function (configuration, basePath, axio
|
|
|
13892
13709
|
rebootDatabase(databaseId, options) {
|
|
13893
13710
|
return localVarFp.rebootDatabase(databaseId, options).then((request) => request(axios, basePath));
|
|
13894
13711
|
},
|
|
13895
|
-
/**
|
|
13896
|
-
*
|
|
13897
|
-
* @summary Redeploy database
|
|
13898
|
-
* @param {string} databaseId Database ID
|
|
13899
|
-
* @param {*} [options] Override http request option.
|
|
13900
|
-
* @throws {RequiredError}
|
|
13901
|
-
*/
|
|
13902
|
-
redeployDatabase(databaseId, options) {
|
|
13903
|
-
return localVarFp.redeployDatabase(databaseId, options).then((request) => request(axios, basePath));
|
|
13904
|
-
},
|
|
13905
13712
|
/**
|
|
13906
13713
|
* **Deprecated** - Please use the \"Redeploy database\" endpoint now
|
|
13907
13714
|
* @summary Deprecated - Restart database
|
|
@@ -13953,17 +13760,6 @@ export class DatabaseActionsApi extends BaseAPI {
|
|
|
13953
13760
|
rebootDatabase(databaseId, options) {
|
|
13954
13761
|
return DatabaseActionsApiFp(this.configuration).rebootDatabase(databaseId, options).then((request) => request(this.axios, this.basePath));
|
|
13955
13762
|
}
|
|
13956
|
-
/**
|
|
13957
|
-
*
|
|
13958
|
-
* @summary Redeploy database
|
|
13959
|
-
* @param {string} databaseId Database ID
|
|
13960
|
-
* @param {*} [options] Override http request option.
|
|
13961
|
-
* @throws {RequiredError}
|
|
13962
|
-
* @memberof DatabaseActionsApi
|
|
13963
|
-
*/
|
|
13964
|
-
redeployDatabase(databaseId, options) {
|
|
13965
|
-
return DatabaseActionsApiFp(this.configuration).redeployDatabase(databaseId, options).then((request) => request(this.axios, this.basePath));
|
|
13966
|
-
}
|
|
13967
13763
|
/**
|
|
13968
13764
|
* **Deprecated** - Please use the \"Redeploy database\" endpoint now
|
|
13969
13765
|
* @summary Deprecated - Restart database
|
|
@@ -16190,40 +15986,6 @@ export const EnvironmentActionsApiAxiosParamCreator = function (configuration) {
|
|
|
16190
15986
|
options: localVarRequestOptions,
|
|
16191
15987
|
};
|
|
16192
15988
|
}),
|
|
16193
|
-
/**
|
|
16194
|
-
*
|
|
16195
|
-
* @summary Redeploy environment
|
|
16196
|
-
* @param {string} environmentId Environment ID
|
|
16197
|
-
* @param {*} [options] Override http request option.
|
|
16198
|
-
* @throws {RequiredError}
|
|
16199
|
-
*/
|
|
16200
|
-
redeployEnvironment: (environmentId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
16201
|
-
// verify required parameter 'environmentId' is not null or undefined
|
|
16202
|
-
assertParamExists('redeployEnvironment', 'environmentId', environmentId);
|
|
16203
|
-
const localVarPath = `/environment/{environmentId}/redeploy`
|
|
16204
|
-
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
16205
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16206
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16207
|
-
let baseOptions;
|
|
16208
|
-
if (configuration) {
|
|
16209
|
-
baseOptions = configuration.baseOptions;
|
|
16210
|
-
}
|
|
16211
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
16212
|
-
const localVarHeaderParameter = {};
|
|
16213
|
-
const localVarQueryParameter = {};
|
|
16214
|
-
// authentication ApiKeyAuth required
|
|
16215
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
16216
|
-
// authentication bearerAuth required
|
|
16217
|
-
// http bearer authentication required
|
|
16218
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
16219
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16220
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16221
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
16222
|
-
return {
|
|
16223
|
-
url: toPathString(localVarUrlObj),
|
|
16224
|
-
options: localVarRequestOptions,
|
|
16225
|
-
};
|
|
16226
|
-
}),
|
|
16227
15989
|
/**
|
|
16228
15990
|
* **Deprecated** - Please use the \"Redeploy environment\" endpoint now
|
|
16229
15991
|
* @summary Deprecated - Restart environment
|
|
@@ -16420,19 +16182,6 @@ export const EnvironmentActionsApiFp = function (configuration) {
|
|
|
16420
16182
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
16421
16183
|
});
|
|
16422
16184
|
},
|
|
16423
|
-
/**
|
|
16424
|
-
*
|
|
16425
|
-
* @summary Redeploy environment
|
|
16426
|
-
* @param {string} environmentId Environment ID
|
|
16427
|
-
* @param {*} [options] Override http request option.
|
|
16428
|
-
* @throws {RequiredError}
|
|
16429
|
-
*/
|
|
16430
|
-
redeployEnvironment(environmentId, options) {
|
|
16431
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
16432
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.redeployEnvironment(environmentId, options);
|
|
16433
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
16434
|
-
});
|
|
16435
|
-
},
|
|
16436
16185
|
/**
|
|
16437
16186
|
* **Deprecated** - Please use the \"Redeploy environment\" endpoint now
|
|
16438
16187
|
* @summary Deprecated - Restart environment
|
|
@@ -16546,16 +16295,6 @@ export const EnvironmentActionsApiFactory = function (configuration, basePath, a
|
|
|
16546
16295
|
rebootServices(environmentId, rebootServicesRequest, options) {
|
|
16547
16296
|
return localVarFp.rebootServices(environmentId, rebootServicesRequest, options).then((request) => request(axios, basePath));
|
|
16548
16297
|
},
|
|
16549
|
-
/**
|
|
16550
|
-
*
|
|
16551
|
-
* @summary Redeploy environment
|
|
16552
|
-
* @param {string} environmentId Environment ID
|
|
16553
|
-
* @param {*} [options] Override http request option.
|
|
16554
|
-
* @throws {RequiredError}
|
|
16555
|
-
*/
|
|
16556
|
-
redeployEnvironment(environmentId, options) {
|
|
16557
|
-
return localVarFp.redeployEnvironment(environmentId, options).then((request) => request(axios, basePath));
|
|
16558
|
-
},
|
|
16559
16298
|
/**
|
|
16560
16299
|
* **Deprecated** - Please use the \"Redeploy environment\" endpoint now
|
|
16561
16300
|
* @summary Deprecated - Restart environment
|
|
@@ -16666,17 +16405,6 @@ export class EnvironmentActionsApi extends BaseAPI {
|
|
|
16666
16405
|
rebootServices(environmentId, rebootServicesRequest, options) {
|
|
16667
16406
|
return EnvironmentActionsApiFp(this.configuration).rebootServices(environmentId, rebootServicesRequest, options).then((request) => request(this.axios, this.basePath));
|
|
16668
16407
|
}
|
|
16669
|
-
/**
|
|
16670
|
-
*
|
|
16671
|
-
* @summary Redeploy environment
|
|
16672
|
-
* @param {string} environmentId Environment ID
|
|
16673
|
-
* @param {*} [options] Override http request option.
|
|
16674
|
-
* @throws {RequiredError}
|
|
16675
|
-
* @memberof EnvironmentActionsApi
|
|
16676
|
-
*/
|
|
16677
|
-
redeployEnvironment(environmentId, options) {
|
|
16678
|
-
return EnvironmentActionsApiFp(this.configuration).redeployEnvironment(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
16679
|
-
}
|
|
16680
16408
|
/**
|
|
16681
16409
|
* **Deprecated** - Please use the \"Redeploy environment\" endpoint now
|
|
16682
16410
|
* @summary Deprecated - Restart environment
|
|
@@ -19782,44 +19510,6 @@ export const HelmActionsApiAxiosParamCreator = function (configuration) {
|
|
|
19782
19510
|
options: localVarRequestOptions,
|
|
19783
19511
|
};
|
|
19784
19512
|
}),
|
|
19785
|
-
/**
|
|
19786
|
-
*
|
|
19787
|
-
* @summary Redeploy helm
|
|
19788
|
-
* @param {string} helmId Helm ID
|
|
19789
|
-
* @param {HelmForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned helm hasn\'t the target event provided, the helm won\'t be deployed.
|
|
19790
|
-
* @param {*} [options] Override http request option.
|
|
19791
|
-
* @throws {RequiredError}
|
|
19792
|
-
*/
|
|
19793
|
-
redeployHelm: (helmId, forceEvent, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
19794
|
-
// verify required parameter 'helmId' is not null or undefined
|
|
19795
|
-
assertParamExists('redeployHelm', 'helmId', helmId);
|
|
19796
|
-
const localVarPath = `/helm/{helmId}/redeploy`
|
|
19797
|
-
.replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
|
|
19798
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19799
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19800
|
-
let baseOptions;
|
|
19801
|
-
if (configuration) {
|
|
19802
|
-
baseOptions = configuration.baseOptions;
|
|
19803
|
-
}
|
|
19804
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
19805
|
-
const localVarHeaderParameter = {};
|
|
19806
|
-
const localVarQueryParameter = {};
|
|
19807
|
-
// authentication ApiKeyAuth required
|
|
19808
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
19809
|
-
// authentication bearerAuth required
|
|
19810
|
-
// http bearer authentication required
|
|
19811
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
19812
|
-
if (forceEvent !== undefined) {
|
|
19813
|
-
localVarQueryParameter['forceEvent'] = forceEvent;
|
|
19814
|
-
}
|
|
19815
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19816
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19817
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
19818
|
-
return {
|
|
19819
|
-
url: toPathString(localVarUrlObj),
|
|
19820
|
-
options: localVarRequestOptions,
|
|
19821
|
-
};
|
|
19822
|
-
}),
|
|
19823
19513
|
/**
|
|
19824
19514
|
* **Deprecated** - Please use the \"Redeploy helm\" endpoint now
|
|
19825
19515
|
* @summary Deprecated - Restart helm
|
|
@@ -19916,20 +19606,6 @@ export const HelmActionsApiFp = function (configuration) {
|
|
|
19916
19606
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
19917
19607
|
});
|
|
19918
19608
|
},
|
|
19919
|
-
/**
|
|
19920
|
-
*
|
|
19921
|
-
* @summary Redeploy helm
|
|
19922
|
-
* @param {string} helmId Helm ID
|
|
19923
|
-
* @param {HelmForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned helm hasn\'t the target event provided, the helm won\'t be deployed.
|
|
19924
|
-
* @param {*} [options] Override http request option.
|
|
19925
|
-
* @throws {RequiredError}
|
|
19926
|
-
*/
|
|
19927
|
-
redeployHelm(helmId, forceEvent, options) {
|
|
19928
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
19929
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.redeployHelm(helmId, forceEvent, options);
|
|
19930
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
19931
|
-
});
|
|
19932
|
-
},
|
|
19933
19609
|
/**
|
|
19934
19610
|
* **Deprecated** - Please use the \"Redeploy helm\" endpoint now
|
|
19935
19611
|
* @summary Deprecated - Restart helm
|
|
@@ -19978,17 +19654,6 @@ export const HelmActionsApiFactory = function (configuration, basePath, axios) {
|
|
|
19978
19654
|
deployHelm(helmId, forceEvent, helmDeployRequest, options) {
|
|
19979
19655
|
return localVarFp.deployHelm(helmId, forceEvent, helmDeployRequest, options).then((request) => request(axios, basePath));
|
|
19980
19656
|
},
|
|
19981
|
-
/**
|
|
19982
|
-
*
|
|
19983
|
-
* @summary Redeploy helm
|
|
19984
|
-
* @param {string} helmId Helm ID
|
|
19985
|
-
* @param {HelmForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned helm hasn\'t the target event provided, the helm won\'t be deployed.
|
|
19986
|
-
* @param {*} [options] Override http request option.
|
|
19987
|
-
* @throws {RequiredError}
|
|
19988
|
-
*/
|
|
19989
|
-
redeployHelm(helmId, forceEvent, options) {
|
|
19990
|
-
return localVarFp.redeployHelm(helmId, forceEvent, options).then((request) => request(axios, basePath));
|
|
19991
|
-
},
|
|
19992
19657
|
/**
|
|
19993
19658
|
* **Deprecated** - Please use the \"Redeploy helm\" endpoint now
|
|
19994
19659
|
* @summary Deprecated - Restart helm
|
|
@@ -20032,18 +19697,6 @@ export class HelmActionsApi extends BaseAPI {
|
|
|
20032
19697
|
deployHelm(helmId, forceEvent, helmDeployRequest, options) {
|
|
20033
19698
|
return HelmActionsApiFp(this.configuration).deployHelm(helmId, forceEvent, helmDeployRequest, options).then((request) => request(this.axios, this.basePath));
|
|
20034
19699
|
}
|
|
20035
|
-
/**
|
|
20036
|
-
*
|
|
20037
|
-
* @summary Redeploy helm
|
|
20038
|
-
* @param {string} helmId Helm ID
|
|
20039
|
-
* @param {HelmForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned helm hasn\'t the target event provided, the helm won\'t be deployed.
|
|
20040
|
-
* @param {*} [options] Override http request option.
|
|
20041
|
-
* @throws {RequiredError}
|
|
20042
|
-
* @memberof HelmActionsApi
|
|
20043
|
-
*/
|
|
20044
|
-
redeployHelm(helmId, forceEvent, options) {
|
|
20045
|
-
return HelmActionsApiFp(this.configuration).redeployHelm(helmId, forceEvent, options).then((request) => request(this.axios, this.basePath));
|
|
20046
|
-
}
|
|
20047
19700
|
/**
|
|
20048
19701
|
* **Deprecated** - Please use the \"Redeploy helm\" endpoint now
|
|
20049
19702
|
* @summary Deprecated - Restart helm
|
|
@@ -22366,44 +22019,6 @@ export const JobActionsApiAxiosParamCreator = function (configuration) {
|
|
|
22366
22019
|
options: localVarRequestOptions,
|
|
22367
22020
|
};
|
|
22368
22021
|
}),
|
|
22369
|
-
/**
|
|
22370
|
-
*
|
|
22371
|
-
* @summary Redeploy job
|
|
22372
|
-
* @param {string} jobId Job ID
|
|
22373
|
-
* @param {JobForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned job hasn\'t the target event provided, the job won\'t be deployed.
|
|
22374
|
-
* @param {*} [options] Override http request option.
|
|
22375
|
-
* @throws {RequiredError}
|
|
22376
|
-
*/
|
|
22377
|
-
redeployJob: (jobId, forceEvent, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
22378
|
-
// verify required parameter 'jobId' is not null or undefined
|
|
22379
|
-
assertParamExists('redeployJob', 'jobId', jobId);
|
|
22380
|
-
const localVarPath = `/job/{jobId}/redeploy`
|
|
22381
|
-
.replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)));
|
|
22382
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22383
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
22384
|
-
let baseOptions;
|
|
22385
|
-
if (configuration) {
|
|
22386
|
-
baseOptions = configuration.baseOptions;
|
|
22387
|
-
}
|
|
22388
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
22389
|
-
const localVarHeaderParameter = {};
|
|
22390
|
-
const localVarQueryParameter = {};
|
|
22391
|
-
// authentication ApiKeyAuth required
|
|
22392
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
22393
|
-
// authentication bearerAuth required
|
|
22394
|
-
// http bearer authentication required
|
|
22395
|
-
yield setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
22396
|
-
if (forceEvent !== undefined) {
|
|
22397
|
-
localVarQueryParameter['forceEvent'] = forceEvent;
|
|
22398
|
-
}
|
|
22399
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22400
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22401
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
22402
|
-
return {
|
|
22403
|
-
url: toPathString(localVarUrlObj),
|
|
22404
|
-
options: localVarRequestOptions,
|
|
22405
|
-
};
|
|
22406
|
-
}),
|
|
22407
22022
|
/**
|
|
22408
22023
|
* **Deprecated** - Please use the \"Redeploy job\" endpoint now
|
|
22409
22024
|
* @summary Deprecated - Restart job
|
|
@@ -22500,20 +22115,6 @@ export const JobActionsApiFp = function (configuration) {
|
|
|
22500
22115
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22501
22116
|
});
|
|
22502
22117
|
},
|
|
22503
|
-
/**
|
|
22504
|
-
*
|
|
22505
|
-
* @summary Redeploy job
|
|
22506
|
-
* @param {string} jobId Job ID
|
|
22507
|
-
* @param {JobForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned job hasn\'t the target event provided, the job won\'t be deployed.
|
|
22508
|
-
* @param {*} [options] Override http request option.
|
|
22509
|
-
* @throws {RequiredError}
|
|
22510
|
-
*/
|
|
22511
|
-
redeployJob(jobId, forceEvent, options) {
|
|
22512
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
22513
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.redeployJob(jobId, forceEvent, options);
|
|
22514
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
22515
|
-
});
|
|
22516
|
-
},
|
|
22517
22118
|
/**
|
|
22518
22119
|
* **Deprecated** - Please use the \"Redeploy job\" endpoint now
|
|
22519
22120
|
* @summary Deprecated - Restart job
|
|
@@ -22562,17 +22163,6 @@ export const JobActionsApiFactory = function (configuration, basePath, axios) {
|
|
|
22562
22163
|
deployJob(jobId, forceEvent, jobDeployRequest, options) {
|
|
22563
22164
|
return localVarFp.deployJob(jobId, forceEvent, jobDeployRequest, options).then((request) => request(axios, basePath));
|
|
22564
22165
|
},
|
|
22565
|
-
/**
|
|
22566
|
-
*
|
|
22567
|
-
* @summary Redeploy job
|
|
22568
|
-
* @param {string} jobId Job ID
|
|
22569
|
-
* @param {JobForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned job hasn\'t the target event provided, the job won\'t be deployed.
|
|
22570
|
-
* @param {*} [options] Override http request option.
|
|
22571
|
-
* @throws {RequiredError}
|
|
22572
|
-
*/
|
|
22573
|
-
redeployJob(jobId, forceEvent, options) {
|
|
22574
|
-
return localVarFp.redeployJob(jobId, forceEvent, options).then((request) => request(axios, basePath));
|
|
22575
|
-
},
|
|
22576
22166
|
/**
|
|
22577
22167
|
* **Deprecated** - Please use the \"Redeploy job\" endpoint now
|
|
22578
22168
|
* @summary Deprecated - Restart job
|
|
@@ -22616,18 +22206,6 @@ export class JobActionsApi extends BaseAPI {
|
|
|
22616
22206
|
deployJob(jobId, forceEvent, jobDeployRequest, options) {
|
|
22617
22207
|
return JobActionsApiFp(this.configuration).deployJob(jobId, forceEvent, jobDeployRequest, options).then((request) => request(this.axios, this.basePath));
|
|
22618
22208
|
}
|
|
22619
|
-
/**
|
|
22620
|
-
*
|
|
22621
|
-
* @summary Redeploy job
|
|
22622
|
-
* @param {string} jobId Job ID
|
|
22623
|
-
* @param {JobForceEvent} [forceEvent] When filled, it indicates the target event to be deployed. If the concerned job hasn\'t the target event provided, the job won\'t be deployed.
|
|
22624
|
-
* @param {*} [options] Override http request option.
|
|
22625
|
-
* @throws {RequiredError}
|
|
22626
|
-
* @memberof JobActionsApi
|
|
22627
|
-
*/
|
|
22628
|
-
redeployJob(jobId, forceEvent, options) {
|
|
22629
|
-
return JobActionsApiFp(this.configuration).redeployJob(jobId, forceEvent, options).then((request) => request(this.axios, this.basePath));
|
|
22630
|
-
}
|
|
22631
22209
|
/**
|
|
22632
22210
|
* **Deprecated** - Please use the \"Redeploy job\" endpoint now
|
|
22633
22211
|
* @summary Deprecated - Restart job
|