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/dist/api.js CHANGED
@@ -1016,40 +1016,6 @@ const ApplicationActionsApiAxiosParamCreator = function (configuration) {
1016
1016
  options: localVarRequestOptions,
1017
1017
  };
1018
1018
  }),
1019
- /**
1020
- *
1021
- * @summary Redeploy application
1022
- * @param {string} applicationId Application ID
1023
- * @param {*} [options] Override http request option.
1024
- * @throws {RequiredError}
1025
- */
1026
- redeployApplication: (applicationId, options = {}) => __awaiter(this, void 0, void 0, function* () {
1027
- // verify required parameter 'applicationId' is not null or undefined
1028
- (0, common_1.assertParamExists)('redeployApplication', 'applicationId', applicationId);
1029
- const localVarPath = `/application/{applicationId}/redeploy`
1030
- .replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)));
1031
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
1032
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1033
- let baseOptions;
1034
- if (configuration) {
1035
- baseOptions = configuration.baseOptions;
1036
- }
1037
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1038
- const localVarHeaderParameter = {};
1039
- const localVarQueryParameter = {};
1040
- // authentication ApiKeyAuth required
1041
- yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
1042
- // authentication bearerAuth required
1043
- // http bearer authentication required
1044
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
1045
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1046
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1047
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1048
- return {
1049
- url: (0, common_1.toPathString)(localVarUrlObj),
1050
- options: localVarRequestOptions,
1051
- };
1052
- }),
1053
1019
  /**
1054
1020
  * **Deprecated** - Please use the \"Redeploy application\" endpoint now
1055
1021
  * @summary Deprecated - Restart application
@@ -1155,19 +1121,6 @@ const ApplicationActionsApiFp = function (configuration) {
1155
1121
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1156
1122
  });
1157
1123
  },
1158
- /**
1159
- *
1160
- * @summary Redeploy application
1161
- * @param {string} applicationId Application ID
1162
- * @param {*} [options] Override http request option.
1163
- * @throws {RequiredError}
1164
- */
1165
- redeployApplication(applicationId, options) {
1166
- return __awaiter(this, void 0, void 0, function* () {
1167
- const localVarAxiosArgs = yield localVarAxiosParamCreator.redeployApplication(applicationId, options);
1168
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1169
- });
1170
- },
1171
1124
  /**
1172
1125
  * **Deprecated** - Please use the \"Redeploy application\" endpoint now
1173
1126
  * @summary Deprecated - Restart application
@@ -1225,16 +1178,6 @@ const ApplicationActionsApiFactory = function (configuration, basePath, axios) {
1225
1178
  rebootApplication(applicationId, options) {
1226
1179
  return localVarFp.rebootApplication(applicationId, options).then((request) => request(axios, basePath));
1227
1180
  },
1228
- /**
1229
- *
1230
- * @summary Redeploy application
1231
- * @param {string} applicationId Application ID
1232
- * @param {*} [options] Override http request option.
1233
- * @throws {RequiredError}
1234
- */
1235
- redeployApplication(applicationId, options) {
1236
- return localVarFp.redeployApplication(applicationId, options).then((request) => request(axios, basePath));
1237
- },
1238
1181
  /**
1239
1182
  * **Deprecated** - Please use the \"Redeploy application\" endpoint now
1240
1183
  * @summary Deprecated - Restart application
@@ -1288,17 +1231,6 @@ class ApplicationActionsApi extends base_1.BaseAPI {
1288
1231
  rebootApplication(applicationId, options) {
1289
1232
  return (0, exports.ApplicationActionsApiFp)(this.configuration).rebootApplication(applicationId, options).then((request) => request(this.axios, this.basePath));
1290
1233
  }
1291
- /**
1292
- *
1293
- * @summary Redeploy application
1294
- * @param {string} applicationId Application ID
1295
- * @param {*} [options] Override http request option.
1296
- * @throws {RequiredError}
1297
- * @memberof ApplicationActionsApi
1298
- */
1299
- redeployApplication(applicationId, options) {
1300
- return (0, exports.ApplicationActionsApiFp)(this.configuration).redeployApplication(applicationId, options).then((request) => request(this.axios, this.basePath));
1301
- }
1302
1234
  /**
1303
1235
  * **Deprecated** - Please use the \"Redeploy application\" endpoint now
1304
1236
  * @summary Deprecated - Restart application
@@ -9386,40 +9318,6 @@ const ContainerActionsApiAxiosParamCreator = function (configuration) {
9386
9318
  options: localVarRequestOptions,
9387
9319
  };
9388
9320
  }),
9389
- /**
9390
- *
9391
- * @summary Redeploy container
9392
- * @param {string} containerId Container ID
9393
- * @param {*} [options] Override http request option.
9394
- * @throws {RequiredError}
9395
- */
9396
- redeployContainer: (containerId, options = {}) => __awaiter(this, void 0, void 0, function* () {
9397
- // verify required parameter 'containerId' is not null or undefined
9398
- (0, common_1.assertParamExists)('redeployContainer', 'containerId', containerId);
9399
- const localVarPath = `/container/{containerId}/redeploy`
9400
- .replace(`{${"containerId"}}`, encodeURIComponent(String(containerId)));
9401
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
9402
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
9403
- let baseOptions;
9404
- if (configuration) {
9405
- baseOptions = configuration.baseOptions;
9406
- }
9407
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
9408
- const localVarHeaderParameter = {};
9409
- const localVarQueryParameter = {};
9410
- // authentication ApiKeyAuth required
9411
- yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
9412
- // authentication bearerAuth required
9413
- // http bearer authentication required
9414
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
9415
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
9416
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9417
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
9418
- return {
9419
- url: (0, common_1.toPathString)(localVarUrlObj),
9420
- options: localVarRequestOptions,
9421
- };
9422
- }),
9423
9321
  /**
9424
9322
  * **Deprecated** - Please use the \"Redeploy container\" endpoint now
9425
9323
  * @summary Deprecated - Restart container
@@ -9525,19 +9423,6 @@ const ContainerActionsApiFp = function (configuration) {
9525
9423
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
9526
9424
  });
9527
9425
  },
9528
- /**
9529
- *
9530
- * @summary Redeploy container
9531
- * @param {string} containerId Container ID
9532
- * @param {*} [options] Override http request option.
9533
- * @throws {RequiredError}
9534
- */
9535
- redeployContainer(containerId, options) {
9536
- return __awaiter(this, void 0, void 0, function* () {
9537
- const localVarAxiosArgs = yield localVarAxiosParamCreator.redeployContainer(containerId, options);
9538
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
9539
- });
9540
- },
9541
9426
  /**
9542
9427
  * **Deprecated** - Please use the \"Redeploy container\" endpoint now
9543
9428
  * @summary Deprecated - Restart container
@@ -9595,16 +9480,6 @@ const ContainerActionsApiFactory = function (configuration, basePath, axios) {
9595
9480
  rebootContainer(containerId, options) {
9596
9481
  return localVarFp.rebootContainer(containerId, options).then((request) => request(axios, basePath));
9597
9482
  },
9598
- /**
9599
- *
9600
- * @summary Redeploy container
9601
- * @param {string} containerId Container ID
9602
- * @param {*} [options] Override http request option.
9603
- * @throws {RequiredError}
9604
- */
9605
- redeployContainer(containerId, options) {
9606
- return localVarFp.redeployContainer(containerId, options).then((request) => request(axios, basePath));
9607
- },
9608
9483
  /**
9609
9484
  * **Deprecated** - Please use the \"Redeploy container\" endpoint now
9610
9485
  * @summary Deprecated - Restart container
@@ -9658,17 +9533,6 @@ class ContainerActionsApi extends base_1.BaseAPI {
9658
9533
  rebootContainer(containerId, options) {
9659
9534
  return (0, exports.ContainerActionsApiFp)(this.configuration).rebootContainer(containerId, options).then((request) => request(this.axios, this.basePath));
9660
9535
  }
9661
- /**
9662
- *
9663
- * @summary Redeploy container
9664
- * @param {string} containerId Container ID
9665
- * @param {*} [options] Override http request option.
9666
- * @throws {RequiredError}
9667
- * @memberof ContainerActionsApi
9668
- */
9669
- redeployContainer(containerId, options) {
9670
- return (0, exports.ContainerActionsApiFp)(this.configuration).redeployContainer(containerId, options).then((request) => request(this.axios, this.basePath));
9671
- }
9672
9536
  /**
9673
9537
  * **Deprecated** - Please use the \"Redeploy container\" endpoint now
9674
9538
  * @summary Deprecated - Restart container
@@ -13801,40 +13665,6 @@ const DatabaseActionsApiAxiosParamCreator = function (configuration) {
13801
13665
  options: localVarRequestOptions,
13802
13666
  };
13803
13667
  }),
13804
- /**
13805
- *
13806
- * @summary Redeploy database
13807
- * @param {string} databaseId Database ID
13808
- * @param {*} [options] Override http request option.
13809
- * @throws {RequiredError}
13810
- */
13811
- redeployDatabase: (databaseId, options = {}) => __awaiter(this, void 0, void 0, function* () {
13812
- // verify required parameter 'databaseId' is not null or undefined
13813
- (0, common_1.assertParamExists)('redeployDatabase', 'databaseId', databaseId);
13814
- const localVarPath = `/database/{databaseId}/redeploy`
13815
- .replace(`{${"databaseId"}}`, encodeURIComponent(String(databaseId)));
13816
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
13817
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
13818
- let baseOptions;
13819
- if (configuration) {
13820
- baseOptions = configuration.baseOptions;
13821
- }
13822
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
13823
- const localVarHeaderParameter = {};
13824
- const localVarQueryParameter = {};
13825
- // authentication ApiKeyAuth required
13826
- yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
13827
- // authentication bearerAuth required
13828
- // http bearer authentication required
13829
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
13830
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
13831
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13832
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
13833
- return {
13834
- url: (0, common_1.toPathString)(localVarUrlObj),
13835
- options: localVarRequestOptions,
13836
- };
13837
- }),
13838
13668
  /**
13839
13669
  * **Deprecated** - Please use the \"Redeploy database\" endpoint now
13840
13670
  * @summary Deprecated - Restart database
@@ -13939,19 +13769,6 @@ const DatabaseActionsApiFp = function (configuration) {
13939
13769
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
13940
13770
  });
13941
13771
  },
13942
- /**
13943
- *
13944
- * @summary Redeploy database
13945
- * @param {string} databaseId Database ID
13946
- * @param {*} [options] Override http request option.
13947
- * @throws {RequiredError}
13948
- */
13949
- redeployDatabase(databaseId, options) {
13950
- return __awaiter(this, void 0, void 0, function* () {
13951
- const localVarAxiosArgs = yield localVarAxiosParamCreator.redeployDatabase(databaseId, options);
13952
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
13953
- });
13954
- },
13955
13772
  /**
13956
13773
  * **Deprecated** - Please use the \"Redeploy database\" endpoint now
13957
13774
  * @summary Deprecated - Restart database
@@ -14008,16 +13825,6 @@ const DatabaseActionsApiFactory = function (configuration, basePath, axios) {
14008
13825
  rebootDatabase(databaseId, options) {
14009
13826
  return localVarFp.rebootDatabase(databaseId, options).then((request) => request(axios, basePath));
14010
13827
  },
14011
- /**
14012
- *
14013
- * @summary Redeploy database
14014
- * @param {string} databaseId Database ID
14015
- * @param {*} [options] Override http request option.
14016
- * @throws {RequiredError}
14017
- */
14018
- redeployDatabase(databaseId, options) {
14019
- return localVarFp.redeployDatabase(databaseId, options).then((request) => request(axios, basePath));
14020
- },
14021
13828
  /**
14022
13829
  * **Deprecated** - Please use the \"Redeploy database\" endpoint now
14023
13830
  * @summary Deprecated - Restart database
@@ -14070,17 +13877,6 @@ class DatabaseActionsApi extends base_1.BaseAPI {
14070
13877
  rebootDatabase(databaseId, options) {
14071
13878
  return (0, exports.DatabaseActionsApiFp)(this.configuration).rebootDatabase(databaseId, options).then((request) => request(this.axios, this.basePath));
14072
13879
  }
14073
- /**
14074
- *
14075
- * @summary Redeploy database
14076
- * @param {string} databaseId Database ID
14077
- * @param {*} [options] Override http request option.
14078
- * @throws {RequiredError}
14079
- * @memberof DatabaseActionsApi
14080
- */
14081
- redeployDatabase(databaseId, options) {
14082
- return (0, exports.DatabaseActionsApiFp)(this.configuration).redeployDatabase(databaseId, options).then((request) => request(this.axios, this.basePath));
14083
- }
14084
13880
  /**
14085
13881
  * **Deprecated** - Please use the \"Redeploy database\" endpoint now
14086
13882
  * @summary Deprecated - Restart database
@@ -16332,40 +16128,6 @@ const EnvironmentActionsApiAxiosParamCreator = function (configuration) {
16332
16128
  options: localVarRequestOptions,
16333
16129
  };
16334
16130
  }),
16335
- /**
16336
- *
16337
- * @summary Redeploy environment
16338
- * @param {string} environmentId Environment ID
16339
- * @param {*} [options] Override http request option.
16340
- * @throws {RequiredError}
16341
- */
16342
- redeployEnvironment: (environmentId, options = {}) => __awaiter(this, void 0, void 0, function* () {
16343
- // verify required parameter 'environmentId' is not null or undefined
16344
- (0, common_1.assertParamExists)('redeployEnvironment', 'environmentId', environmentId);
16345
- const localVarPath = `/environment/{environmentId}/redeploy`
16346
- .replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
16347
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
16348
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
16349
- let baseOptions;
16350
- if (configuration) {
16351
- baseOptions = configuration.baseOptions;
16352
- }
16353
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
16354
- const localVarHeaderParameter = {};
16355
- const localVarQueryParameter = {};
16356
- // authentication ApiKeyAuth required
16357
- yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
16358
- // authentication bearerAuth required
16359
- // http bearer authentication required
16360
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
16361
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
16362
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16363
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
16364
- return {
16365
- url: (0, common_1.toPathString)(localVarUrlObj),
16366
- options: localVarRequestOptions,
16367
- };
16368
- }),
16369
16131
  /**
16370
16132
  * **Deprecated** - Please use the \"Redeploy environment\" endpoint now
16371
16133
  * @summary Deprecated - Restart environment
@@ -16563,19 +16325,6 @@ const EnvironmentActionsApiFp = function (configuration) {
16563
16325
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
16564
16326
  });
16565
16327
  },
16566
- /**
16567
- *
16568
- * @summary Redeploy environment
16569
- * @param {string} environmentId Environment ID
16570
- * @param {*} [options] Override http request option.
16571
- * @throws {RequiredError}
16572
- */
16573
- redeployEnvironment(environmentId, options) {
16574
- return __awaiter(this, void 0, void 0, function* () {
16575
- const localVarAxiosArgs = yield localVarAxiosParamCreator.redeployEnvironment(environmentId, options);
16576
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
16577
- });
16578
- },
16579
16328
  /**
16580
16329
  * **Deprecated** - Please use the \"Redeploy environment\" endpoint now
16581
16330
  * @summary Deprecated - Restart environment
@@ -16690,16 +16439,6 @@ const EnvironmentActionsApiFactory = function (configuration, basePath, axios) {
16690
16439
  rebootServices(environmentId, rebootServicesRequest, options) {
16691
16440
  return localVarFp.rebootServices(environmentId, rebootServicesRequest, options).then((request) => request(axios, basePath));
16692
16441
  },
16693
- /**
16694
- *
16695
- * @summary Redeploy environment
16696
- * @param {string} environmentId Environment ID
16697
- * @param {*} [options] Override http request option.
16698
- * @throws {RequiredError}
16699
- */
16700
- redeployEnvironment(environmentId, options) {
16701
- return localVarFp.redeployEnvironment(environmentId, options).then((request) => request(axios, basePath));
16702
- },
16703
16442
  /**
16704
16443
  * **Deprecated** - Please use the \"Redeploy environment\" endpoint now
16705
16444
  * @summary Deprecated - Restart environment
@@ -16811,17 +16550,6 @@ class EnvironmentActionsApi extends base_1.BaseAPI {
16811
16550
  rebootServices(environmentId, rebootServicesRequest, options) {
16812
16551
  return (0, exports.EnvironmentActionsApiFp)(this.configuration).rebootServices(environmentId, rebootServicesRequest, options).then((request) => request(this.axios, this.basePath));
16813
16552
  }
16814
- /**
16815
- *
16816
- * @summary Redeploy environment
16817
- * @param {string} environmentId Environment ID
16818
- * @param {*} [options] Override http request option.
16819
- * @throws {RequiredError}
16820
- * @memberof EnvironmentActionsApi
16821
- */
16822
- redeployEnvironment(environmentId, options) {
16823
- return (0, exports.EnvironmentActionsApiFp)(this.configuration).redeployEnvironment(environmentId, options).then((request) => request(this.axios, this.basePath));
16824
- }
16825
16553
  /**
16826
16554
  * **Deprecated** - Please use the \"Redeploy environment\" endpoint now
16827
16555
  * @summary Deprecated - Restart environment
@@ -19968,44 +19696,6 @@ const HelmActionsApiAxiosParamCreator = function (configuration) {
19968
19696
  options: localVarRequestOptions,
19969
19697
  };
19970
19698
  }),
19971
- /**
19972
- *
19973
- * @summary Redeploy helm
19974
- * @param {string} helmId Helm ID
19975
- * @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.
19976
- * @param {*} [options] Override http request option.
19977
- * @throws {RequiredError}
19978
- */
19979
- redeployHelm: (helmId, forceEvent, options = {}) => __awaiter(this, void 0, void 0, function* () {
19980
- // verify required parameter 'helmId' is not null or undefined
19981
- (0, common_1.assertParamExists)('redeployHelm', 'helmId', helmId);
19982
- const localVarPath = `/helm/{helmId}/redeploy`
19983
- .replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
19984
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
19985
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
19986
- let baseOptions;
19987
- if (configuration) {
19988
- baseOptions = configuration.baseOptions;
19989
- }
19990
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
19991
- const localVarHeaderParameter = {};
19992
- const localVarQueryParameter = {};
19993
- // authentication ApiKeyAuth required
19994
- yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
19995
- // authentication bearerAuth required
19996
- // http bearer authentication required
19997
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
19998
- if (forceEvent !== undefined) {
19999
- localVarQueryParameter['forceEvent'] = forceEvent;
20000
- }
20001
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
20002
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20003
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
20004
- return {
20005
- url: (0, common_1.toPathString)(localVarUrlObj),
20006
- options: localVarRequestOptions,
20007
- };
20008
- }),
20009
19699
  /**
20010
19700
  * **Deprecated** - Please use the \"Redeploy helm\" endpoint now
20011
19701
  * @summary Deprecated - Restart helm
@@ -20103,20 +19793,6 @@ const HelmActionsApiFp = function (configuration) {
20103
19793
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
20104
19794
  });
20105
19795
  },
20106
- /**
20107
- *
20108
- * @summary Redeploy helm
20109
- * @param {string} helmId Helm ID
20110
- * @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.
20111
- * @param {*} [options] Override http request option.
20112
- * @throws {RequiredError}
20113
- */
20114
- redeployHelm(helmId, forceEvent, options) {
20115
- return __awaiter(this, void 0, void 0, function* () {
20116
- const localVarAxiosArgs = yield localVarAxiosParamCreator.redeployHelm(helmId, forceEvent, options);
20117
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
20118
- });
20119
- },
20120
19796
  /**
20121
19797
  * **Deprecated** - Please use the \"Redeploy helm\" endpoint now
20122
19798
  * @summary Deprecated - Restart helm
@@ -20166,17 +19842,6 @@ const HelmActionsApiFactory = function (configuration, basePath, axios) {
20166
19842
  deployHelm(helmId, forceEvent, helmDeployRequest, options) {
20167
19843
  return localVarFp.deployHelm(helmId, forceEvent, helmDeployRequest, options).then((request) => request(axios, basePath));
20168
19844
  },
20169
- /**
20170
- *
20171
- * @summary Redeploy helm
20172
- * @param {string} helmId Helm ID
20173
- * @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.
20174
- * @param {*} [options] Override http request option.
20175
- * @throws {RequiredError}
20176
- */
20177
- redeployHelm(helmId, forceEvent, options) {
20178
- return localVarFp.redeployHelm(helmId, forceEvent, options).then((request) => request(axios, basePath));
20179
- },
20180
19845
  /**
20181
19846
  * **Deprecated** - Please use the \"Redeploy helm\" endpoint now
20182
19847
  * @summary Deprecated - Restart helm
@@ -20221,18 +19886,6 @@ class HelmActionsApi extends base_1.BaseAPI {
20221
19886
  deployHelm(helmId, forceEvent, helmDeployRequest, options) {
20222
19887
  return (0, exports.HelmActionsApiFp)(this.configuration).deployHelm(helmId, forceEvent, helmDeployRequest, options).then((request) => request(this.axios, this.basePath));
20223
19888
  }
20224
- /**
20225
- *
20226
- * @summary Redeploy helm
20227
- * @param {string} helmId Helm ID
20228
- * @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.
20229
- * @param {*} [options] Override http request option.
20230
- * @throws {RequiredError}
20231
- * @memberof HelmActionsApi
20232
- */
20233
- redeployHelm(helmId, forceEvent, options) {
20234
- return (0, exports.HelmActionsApiFp)(this.configuration).redeployHelm(helmId, forceEvent, options).then((request) => request(this.axios, this.basePath));
20235
- }
20236
19889
  /**
20237
19890
  * **Deprecated** - Please use the \"Redeploy helm\" endpoint now
20238
19891
  * @summary Deprecated - Restart helm
@@ -22584,44 +22237,6 @@ const JobActionsApiAxiosParamCreator = function (configuration) {
22584
22237
  options: localVarRequestOptions,
22585
22238
  };
22586
22239
  }),
22587
- /**
22588
- *
22589
- * @summary Redeploy job
22590
- * @param {string} jobId Job ID
22591
- * @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.
22592
- * @param {*} [options] Override http request option.
22593
- * @throws {RequiredError}
22594
- */
22595
- redeployJob: (jobId, forceEvent, options = {}) => __awaiter(this, void 0, void 0, function* () {
22596
- // verify required parameter 'jobId' is not null or undefined
22597
- (0, common_1.assertParamExists)('redeployJob', 'jobId', jobId);
22598
- const localVarPath = `/job/{jobId}/redeploy`
22599
- .replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)));
22600
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
22601
- const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
22602
- let baseOptions;
22603
- if (configuration) {
22604
- baseOptions = configuration.baseOptions;
22605
- }
22606
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
22607
- const localVarHeaderParameter = {};
22608
- const localVarQueryParameter = {};
22609
- // authentication ApiKeyAuth required
22610
- yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
22611
- // authentication bearerAuth required
22612
- // http bearer authentication required
22613
- yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
22614
- if (forceEvent !== undefined) {
22615
- localVarQueryParameter['forceEvent'] = forceEvent;
22616
- }
22617
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
22618
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
22619
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
22620
- return {
22621
- url: (0, common_1.toPathString)(localVarUrlObj),
22622
- options: localVarRequestOptions,
22623
- };
22624
- }),
22625
22240
  /**
22626
22241
  * **Deprecated** - Please use the \"Redeploy job\" endpoint now
22627
22242
  * @summary Deprecated - Restart job
@@ -22719,20 +22334,6 @@ const JobActionsApiFp = function (configuration) {
22719
22334
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
22720
22335
  });
22721
22336
  },
22722
- /**
22723
- *
22724
- * @summary Redeploy job
22725
- * @param {string} jobId Job ID
22726
- * @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.
22727
- * @param {*} [options] Override http request option.
22728
- * @throws {RequiredError}
22729
- */
22730
- redeployJob(jobId, forceEvent, options) {
22731
- return __awaiter(this, void 0, void 0, function* () {
22732
- const localVarAxiosArgs = yield localVarAxiosParamCreator.redeployJob(jobId, forceEvent, options);
22733
- return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
22734
- });
22735
- },
22736
22337
  /**
22737
22338
  * **Deprecated** - Please use the \"Redeploy job\" endpoint now
22738
22339
  * @summary Deprecated - Restart job
@@ -22782,17 +22383,6 @@ const JobActionsApiFactory = function (configuration, basePath, axios) {
22782
22383
  deployJob(jobId, forceEvent, jobDeployRequest, options) {
22783
22384
  return localVarFp.deployJob(jobId, forceEvent, jobDeployRequest, options).then((request) => request(axios, basePath));
22784
22385
  },
22785
- /**
22786
- *
22787
- * @summary Redeploy job
22788
- * @param {string} jobId Job ID
22789
- * @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.
22790
- * @param {*} [options] Override http request option.
22791
- * @throws {RequiredError}
22792
- */
22793
- redeployJob(jobId, forceEvent, options) {
22794
- return localVarFp.redeployJob(jobId, forceEvent, options).then((request) => request(axios, basePath));
22795
- },
22796
22386
  /**
22797
22387
  * **Deprecated** - Please use the \"Redeploy job\" endpoint now
22798
22388
  * @summary Deprecated - Restart job
@@ -22837,18 +22427,6 @@ class JobActionsApi extends base_1.BaseAPI {
22837
22427
  deployJob(jobId, forceEvent, jobDeployRequest, options) {
22838
22428
  return (0, exports.JobActionsApiFp)(this.configuration).deployJob(jobId, forceEvent, jobDeployRequest, options).then((request) => request(this.axios, this.basePath));
22839
22429
  }
22840
- /**
22841
- *
22842
- * @summary Redeploy job
22843
- * @param {string} jobId Job ID
22844
- * @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.
22845
- * @param {*} [options] Override http request option.
22846
- * @throws {RequiredError}
22847
- * @memberof JobActionsApi
22848
- */
22849
- redeployJob(jobId, forceEvent, options) {
22850
- return (0, exports.JobActionsApiFp)(this.configuration).redeployJob(jobId, forceEvent, options).then((request) => request(this.axios, this.basePath));
22851
- }
22852
22430
  /**
22853
22431
  * **Deprecated** - Please use the \"Redeploy job\" endpoint now
22854
22432
  * @summary Deprecated - Restart job