qovery-typescript-axios 1.1.340 → 1.1.342

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
@@ -104,7 +104,6 @@ exports.BuildPackLanguageEnum = {
104
104
  */
105
105
  exports.CloudProviderEnum = {
106
106
  AWS: 'AWS',
107
- DO: 'DO',
108
107
  SCW: 'SCW',
109
108
  GCP: 'GCP'
110
109
  };
@@ -1016,40 +1015,6 @@ const ApplicationActionsApiAxiosParamCreator = function (configuration) {
1016
1015
  options: localVarRequestOptions,
1017
1016
  };
1018
1017
  }),
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
1018
  /**
1054
1019
  * **Deprecated** - Please use the \"Redeploy application\" endpoint now
1055
1020
  * @summary Deprecated - Restart application
@@ -1155,19 +1120,6 @@ const ApplicationActionsApiFp = function (configuration) {
1155
1120
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
1156
1121
  });
1157
1122
  },
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
1123
  /**
1172
1124
  * **Deprecated** - Please use the \"Redeploy application\" endpoint now
1173
1125
  * @summary Deprecated - Restart application
@@ -1225,16 +1177,6 @@ const ApplicationActionsApiFactory = function (configuration, basePath, axios) {
1225
1177
  rebootApplication(applicationId, options) {
1226
1178
  return localVarFp.rebootApplication(applicationId, options).then((request) => request(axios, basePath));
1227
1179
  },
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
1180
  /**
1239
1181
  * **Deprecated** - Please use the \"Redeploy application\" endpoint now
1240
1182
  * @summary Deprecated - Restart application
@@ -1288,17 +1230,6 @@ class ApplicationActionsApi extends base_1.BaseAPI {
1288
1230
  rebootApplication(applicationId, options) {
1289
1231
  return (0, exports.ApplicationActionsApiFp)(this.configuration).rebootApplication(applicationId, options).then((request) => request(this.axios, this.basePath));
1290
1232
  }
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
1233
  /**
1303
1234
  * **Deprecated** - Please use the \"Redeploy application\" endpoint now
1304
1235
  * @summary Deprecated - Restart application
@@ -9386,40 +9317,6 @@ const ContainerActionsApiAxiosParamCreator = function (configuration) {
9386
9317
  options: localVarRequestOptions,
9387
9318
  };
9388
9319
  }),
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
9320
  /**
9424
9321
  * **Deprecated** - Please use the \"Redeploy container\" endpoint now
9425
9322
  * @summary Deprecated - Restart container
@@ -9525,19 +9422,6 @@ const ContainerActionsApiFp = function (configuration) {
9525
9422
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
9526
9423
  });
9527
9424
  },
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
9425
  /**
9542
9426
  * **Deprecated** - Please use the \"Redeploy container\" endpoint now
9543
9427
  * @summary Deprecated - Restart container
@@ -9595,16 +9479,6 @@ const ContainerActionsApiFactory = function (configuration, basePath, axios) {
9595
9479
  rebootContainer(containerId, options) {
9596
9480
  return localVarFp.rebootContainer(containerId, options).then((request) => request(axios, basePath));
9597
9481
  },
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
9482
  /**
9609
9483
  * **Deprecated** - Please use the \"Redeploy container\" endpoint now
9610
9484
  * @summary Deprecated - Restart container
@@ -9658,17 +9532,6 @@ class ContainerActionsApi extends base_1.BaseAPI {
9658
9532
  rebootContainer(containerId, options) {
9659
9533
  return (0, exports.ContainerActionsApiFp)(this.configuration).rebootContainer(containerId, options).then((request) => request(this.axios, this.basePath));
9660
9534
  }
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
9535
  /**
9673
9536
  * **Deprecated** - Please use the \"Redeploy container\" endpoint now
9674
9537
  * @summary Deprecated - Restart container
@@ -13801,40 +13664,6 @@ const DatabaseActionsApiAxiosParamCreator = function (configuration) {
13801
13664
  options: localVarRequestOptions,
13802
13665
  };
13803
13666
  }),
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
13667
  /**
13839
13668
  * **Deprecated** - Please use the \"Redeploy database\" endpoint now
13840
13669
  * @summary Deprecated - Restart database
@@ -13939,19 +13768,6 @@ const DatabaseActionsApiFp = function (configuration) {
13939
13768
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
13940
13769
  });
13941
13770
  },
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
13771
  /**
13956
13772
  * **Deprecated** - Please use the \"Redeploy database\" endpoint now
13957
13773
  * @summary Deprecated - Restart database
@@ -14008,16 +13824,6 @@ const DatabaseActionsApiFactory = function (configuration, basePath, axios) {
14008
13824
  rebootDatabase(databaseId, options) {
14009
13825
  return localVarFp.rebootDatabase(databaseId, options).then((request) => request(axios, basePath));
14010
13826
  },
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
13827
  /**
14022
13828
  * **Deprecated** - Please use the \"Redeploy database\" endpoint now
14023
13829
  * @summary Deprecated - Restart database
@@ -14070,17 +13876,6 @@ class DatabaseActionsApi extends base_1.BaseAPI {
14070
13876
  rebootDatabase(databaseId, options) {
14071
13877
  return (0, exports.DatabaseActionsApiFp)(this.configuration).rebootDatabase(databaseId, options).then((request) => request(this.axios, this.basePath));
14072
13878
  }
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
13879
  /**
14085
13880
  * **Deprecated** - Please use the \"Redeploy database\" endpoint now
14086
13881
  * @summary Deprecated - Restart database
@@ -16332,40 +16127,6 @@ const EnvironmentActionsApiAxiosParamCreator = function (configuration) {
16332
16127
  options: localVarRequestOptions,
16333
16128
  };
16334
16129
  }),
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
16130
  /**
16370
16131
  * **Deprecated** - Please use the \"Redeploy environment\" endpoint now
16371
16132
  * @summary Deprecated - Restart environment
@@ -16563,19 +16324,6 @@ const EnvironmentActionsApiFp = function (configuration) {
16563
16324
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
16564
16325
  });
16565
16326
  },
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
16327
  /**
16580
16328
  * **Deprecated** - Please use the \"Redeploy environment\" endpoint now
16581
16329
  * @summary Deprecated - Restart environment
@@ -16690,16 +16438,6 @@ const EnvironmentActionsApiFactory = function (configuration, basePath, axios) {
16690
16438
  rebootServices(environmentId, rebootServicesRequest, options) {
16691
16439
  return localVarFp.rebootServices(environmentId, rebootServicesRequest, options).then((request) => request(axios, basePath));
16692
16440
  },
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
16441
  /**
16704
16442
  * **Deprecated** - Please use the \"Redeploy environment\" endpoint now
16705
16443
  * @summary Deprecated - Restart environment
@@ -16811,17 +16549,6 @@ class EnvironmentActionsApi extends base_1.BaseAPI {
16811
16549
  rebootServices(environmentId, rebootServicesRequest, options) {
16812
16550
  return (0, exports.EnvironmentActionsApiFp)(this.configuration).rebootServices(environmentId, rebootServicesRequest, options).then((request) => request(this.axios, this.basePath));
16813
16551
  }
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
16552
  /**
16826
16553
  * **Deprecated** - Please use the \"Redeploy environment\" endpoint now
16827
16554
  * @summary Deprecated - Restart environment
@@ -19968,44 +19695,6 @@ const HelmActionsApiAxiosParamCreator = function (configuration) {
19968
19695
  options: localVarRequestOptions,
19969
19696
  };
19970
19697
  }),
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
19698
  /**
20010
19699
  * **Deprecated** - Please use the \"Redeploy helm\" endpoint now
20011
19700
  * @summary Deprecated - Restart helm
@@ -20103,20 +19792,6 @@ const HelmActionsApiFp = function (configuration) {
20103
19792
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
20104
19793
  });
20105
19794
  },
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
19795
  /**
20121
19796
  * **Deprecated** - Please use the \"Redeploy helm\" endpoint now
20122
19797
  * @summary Deprecated - Restart helm
@@ -20166,17 +19841,6 @@ const HelmActionsApiFactory = function (configuration, basePath, axios) {
20166
19841
  deployHelm(helmId, forceEvent, helmDeployRequest, options) {
20167
19842
  return localVarFp.deployHelm(helmId, forceEvent, helmDeployRequest, options).then((request) => request(axios, basePath));
20168
19843
  },
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
19844
  /**
20181
19845
  * **Deprecated** - Please use the \"Redeploy helm\" endpoint now
20182
19846
  * @summary Deprecated - Restart helm
@@ -20221,18 +19885,6 @@ class HelmActionsApi extends base_1.BaseAPI {
20221
19885
  deployHelm(helmId, forceEvent, helmDeployRequest, options) {
20222
19886
  return (0, exports.HelmActionsApiFp)(this.configuration).deployHelm(helmId, forceEvent, helmDeployRequest, options).then((request) => request(this.axios, this.basePath));
20223
19887
  }
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
19888
  /**
20237
19889
  * **Deprecated** - Please use the \"Redeploy helm\" endpoint now
20238
19890
  * @summary Deprecated - Restart helm
@@ -22584,44 +22236,6 @@ const JobActionsApiAxiosParamCreator = function (configuration) {
22584
22236
  options: localVarRequestOptions,
22585
22237
  };
22586
22238
  }),
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
22239
  /**
22626
22240
  * **Deprecated** - Please use the \"Redeploy job\" endpoint now
22627
22241
  * @summary Deprecated - Restart job
@@ -22719,20 +22333,6 @@ const JobActionsApiFp = function (configuration) {
22719
22333
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
22720
22334
  });
22721
22335
  },
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
22336
  /**
22737
22337
  * **Deprecated** - Please use the \"Redeploy job\" endpoint now
22738
22338
  * @summary Deprecated - Restart job
@@ -22782,17 +22382,6 @@ const JobActionsApiFactory = function (configuration, basePath, axios) {
22782
22382
  deployJob(jobId, forceEvent, jobDeployRequest, options) {
22783
22383
  return localVarFp.deployJob(jobId, forceEvent, jobDeployRequest, options).then((request) => request(axios, basePath));
22784
22384
  },
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
22385
  /**
22797
22386
  * **Deprecated** - Please use the \"Redeploy job\" endpoint now
22798
22387
  * @summary Deprecated - Restart job
@@ -22837,18 +22426,6 @@ class JobActionsApi extends base_1.BaseAPI {
22837
22426
  deployJob(jobId, forceEvent, jobDeployRequest, options) {
22838
22427
  return (0, exports.JobActionsApiFp)(this.configuration).deployJob(jobId, forceEvent, jobDeployRequest, options).then((request) => request(this.axios, this.basePath));
22839
22428
  }
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
22429
  /**
22853
22430
  * **Deprecated** - Please use the \"Redeploy job\" endpoint now
22854
22431
  * @summary Deprecated - Restart job