qovery-typescript-axios 1.1.73 → 1.1.74

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.
Files changed (4) hide show
  1. package/api.ts +708 -49
  2. package/dist/api.d.ts +350 -37
  3. package/dist/api.js +630 -29
  4. package/package.json +1 -1
package/dist/api.js CHANGED
@@ -766,7 +766,71 @@ const ApplicationActionsApiAxiosParamCreator = function (configuration) {
766
766
  }),
767
767
  /**
768
768
  *
769
- * @summary Restart application
769
+ * @summary Reboot application
770
+ * @param {string} applicationId Application ID
771
+ * @param {*} [options] Override http request option.
772
+ * @throws {RequiredError}
773
+ */
774
+ rebootApplication: (applicationId, options = {}) => __awaiter(this, void 0, void 0, function* () {
775
+ // verify required parameter 'applicationId' is not null or undefined
776
+ (0, common_1.assertParamExists)('rebootApplication', 'applicationId', applicationId);
777
+ const localVarPath = `/application/{applicationId}/restart-service`
778
+ .replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)));
779
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
780
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
781
+ let baseOptions;
782
+ if (configuration) {
783
+ baseOptions = configuration.baseOptions;
784
+ }
785
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
786
+ const localVarHeaderParameter = {};
787
+ const localVarQueryParameter = {};
788
+ // authentication bearerAuth required
789
+ // http bearer authentication required
790
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
791
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
792
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
793
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
794
+ return {
795
+ url: (0, common_1.toPathString)(localVarUrlObj),
796
+ options: localVarRequestOptions,
797
+ };
798
+ }),
799
+ /**
800
+ *
801
+ * @summary Redeploy application
802
+ * @param {string} applicationId Application ID
803
+ * @param {*} [options] Override http request option.
804
+ * @throws {RequiredError}
805
+ */
806
+ redeployApplication: (applicationId, options = {}) => __awaiter(this, void 0, void 0, function* () {
807
+ // verify required parameter 'applicationId' is not null or undefined
808
+ (0, common_1.assertParamExists)('redeployApplication', 'applicationId', applicationId);
809
+ const localVarPath = `/application/{applicationId}/redeploy`
810
+ .replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)));
811
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
812
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
813
+ let baseOptions;
814
+ if (configuration) {
815
+ baseOptions = configuration.baseOptions;
816
+ }
817
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
818
+ const localVarHeaderParameter = {};
819
+ const localVarQueryParameter = {};
820
+ // authentication bearerAuth required
821
+ // http bearer authentication required
822
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
823
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
824
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
825
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
826
+ return {
827
+ url: (0, common_1.toPathString)(localVarUrlObj),
828
+ options: localVarRequestOptions,
829
+ };
830
+ }),
831
+ /**
832
+ * **Deprecated** - Please use the \"Redeploy application\" endpoint now
833
+ * @summary Deprecated - Restart application
770
834
  * @param {string} applicationId Application ID
771
835
  * @param {*} [options] Override http request option.
772
836
  * @throws {RequiredError}
@@ -854,7 +918,33 @@ const ApplicationActionsApiFp = function (configuration) {
854
918
  },
855
919
  /**
856
920
  *
857
- * @summary Restart application
921
+ * @summary Reboot application
922
+ * @param {string} applicationId Application ID
923
+ * @param {*} [options] Override http request option.
924
+ * @throws {RequiredError}
925
+ */
926
+ rebootApplication(applicationId, options) {
927
+ return __awaiter(this, void 0, void 0, function* () {
928
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.rebootApplication(applicationId, options);
929
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
930
+ });
931
+ },
932
+ /**
933
+ *
934
+ * @summary Redeploy application
935
+ * @param {string} applicationId Application ID
936
+ * @param {*} [options] Override http request option.
937
+ * @throws {RequiredError}
938
+ */
939
+ redeployApplication(applicationId, options) {
940
+ return __awaiter(this, void 0, void 0, function* () {
941
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.redeployApplication(applicationId, options);
942
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
943
+ });
944
+ },
945
+ /**
946
+ * **Deprecated** - Please use the \"Redeploy application\" endpoint now
947
+ * @summary Deprecated - Restart application
858
948
  * @param {string} applicationId Application ID
859
949
  * @param {*} [options] Override http request option.
860
950
  * @throws {RequiredError}
@@ -901,7 +991,27 @@ const ApplicationActionsApiFactory = function (configuration, basePath, axios) {
901
991
  },
902
992
  /**
903
993
  *
904
- * @summary Restart application
994
+ * @summary Reboot application
995
+ * @param {string} applicationId Application ID
996
+ * @param {*} [options] Override http request option.
997
+ * @throws {RequiredError}
998
+ */
999
+ rebootApplication(applicationId, options) {
1000
+ return localVarFp.rebootApplication(applicationId, options).then((request) => request(axios, basePath));
1001
+ },
1002
+ /**
1003
+ *
1004
+ * @summary Redeploy application
1005
+ * @param {string} applicationId Application ID
1006
+ * @param {*} [options] Override http request option.
1007
+ * @throws {RequiredError}
1008
+ */
1009
+ redeployApplication(applicationId, options) {
1010
+ return localVarFp.redeployApplication(applicationId, options).then((request) => request(axios, basePath));
1011
+ },
1012
+ /**
1013
+ * **Deprecated** - Please use the \"Redeploy application\" endpoint now
1014
+ * @summary Deprecated - Restart application
905
1015
  * @param {string} applicationId Application ID
906
1016
  * @param {*} [options] Override http request option.
907
1017
  * @throws {RequiredError}
@@ -943,7 +1053,29 @@ class ApplicationActionsApi extends base_1.BaseAPI {
943
1053
  }
944
1054
  /**
945
1055
  *
946
- * @summary Restart application
1056
+ * @summary Reboot application
1057
+ * @param {string} applicationId Application ID
1058
+ * @param {*} [options] Override http request option.
1059
+ * @throws {RequiredError}
1060
+ * @memberof ApplicationActionsApi
1061
+ */
1062
+ rebootApplication(applicationId, options) {
1063
+ return (0, exports.ApplicationActionsApiFp)(this.configuration).rebootApplication(applicationId, options).then((request) => request(this.axios, this.basePath));
1064
+ }
1065
+ /**
1066
+ *
1067
+ * @summary Redeploy application
1068
+ * @param {string} applicationId Application ID
1069
+ * @param {*} [options] Override http request option.
1070
+ * @throws {RequiredError}
1071
+ * @memberof ApplicationActionsApi
1072
+ */
1073
+ redeployApplication(applicationId, options) {
1074
+ return (0, exports.ApplicationActionsApiFp)(this.configuration).redeployApplication(applicationId, options).then((request) => request(this.axios, this.basePath));
1075
+ }
1076
+ /**
1077
+ * **Deprecated** - Please use the \"Redeploy application\" endpoint now
1078
+ * @summary Deprecated - Restart application
947
1079
  * @param {string} applicationId Application ID
948
1080
  * @param {*} [options] Override http request option.
949
1081
  * @throws {RequiredError}
@@ -9362,7 +9494,71 @@ const ContainerActionsApiAxiosParamCreator = function (configuration) {
9362
9494
  }),
9363
9495
  /**
9364
9496
  *
9365
- * @summary Restart container
9497
+ * @summary Reboot container
9498
+ * @param {string} containerId Container ID
9499
+ * @param {*} [options] Override http request option.
9500
+ * @throws {RequiredError}
9501
+ */
9502
+ rebootContainer: (containerId, options = {}) => __awaiter(this, void 0, void 0, function* () {
9503
+ // verify required parameter 'containerId' is not null or undefined
9504
+ (0, common_1.assertParamExists)('rebootContainer', 'containerId', containerId);
9505
+ const localVarPath = `/container/{containerId}/restart-service`
9506
+ .replace(`{${"containerId"}}`, encodeURIComponent(String(containerId)));
9507
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9508
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
9509
+ let baseOptions;
9510
+ if (configuration) {
9511
+ baseOptions = configuration.baseOptions;
9512
+ }
9513
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
9514
+ const localVarHeaderParameter = {};
9515
+ const localVarQueryParameter = {};
9516
+ // authentication bearerAuth required
9517
+ // http bearer authentication required
9518
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
9519
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
9520
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9521
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
9522
+ return {
9523
+ url: (0, common_1.toPathString)(localVarUrlObj),
9524
+ options: localVarRequestOptions,
9525
+ };
9526
+ }),
9527
+ /**
9528
+ *
9529
+ * @summary Redeploy container
9530
+ * @param {string} containerId Container ID
9531
+ * @param {*} [options] Override http request option.
9532
+ * @throws {RequiredError}
9533
+ */
9534
+ redeployContainer: (containerId, options = {}) => __awaiter(this, void 0, void 0, function* () {
9535
+ // verify required parameter 'containerId' is not null or undefined
9536
+ (0, common_1.assertParamExists)('redeployContainer', 'containerId', containerId);
9537
+ const localVarPath = `/container/{containerId}/redeploy`
9538
+ .replace(`{${"containerId"}}`, encodeURIComponent(String(containerId)));
9539
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
9540
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
9541
+ let baseOptions;
9542
+ if (configuration) {
9543
+ baseOptions = configuration.baseOptions;
9544
+ }
9545
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
9546
+ const localVarHeaderParameter = {};
9547
+ const localVarQueryParameter = {};
9548
+ // authentication bearerAuth required
9549
+ // http bearer authentication required
9550
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
9551
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
9552
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
9553
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
9554
+ return {
9555
+ url: (0, common_1.toPathString)(localVarUrlObj),
9556
+ options: localVarRequestOptions,
9557
+ };
9558
+ }),
9559
+ /**
9560
+ * **Deprecated** - Please use the \"Redeploy container\" endpoint now
9561
+ * @summary Deprecated - Restart container
9366
9562
  * @param {string} containerId Container ID
9367
9563
  * @param {*} [options] Override http request option.
9368
9564
  * @throws {RequiredError}
@@ -9450,7 +9646,33 @@ const ContainerActionsApiFp = function (configuration) {
9450
9646
  },
9451
9647
  /**
9452
9648
  *
9453
- * @summary Restart container
9649
+ * @summary Reboot container
9650
+ * @param {string} containerId Container ID
9651
+ * @param {*} [options] Override http request option.
9652
+ * @throws {RequiredError}
9653
+ */
9654
+ rebootContainer(containerId, options) {
9655
+ return __awaiter(this, void 0, void 0, function* () {
9656
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.rebootContainer(containerId, options);
9657
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
9658
+ });
9659
+ },
9660
+ /**
9661
+ *
9662
+ * @summary Redeploy container
9663
+ * @param {string} containerId Container ID
9664
+ * @param {*} [options] Override http request option.
9665
+ * @throws {RequiredError}
9666
+ */
9667
+ redeployContainer(containerId, options) {
9668
+ return __awaiter(this, void 0, void 0, function* () {
9669
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.redeployContainer(containerId, options);
9670
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
9671
+ });
9672
+ },
9673
+ /**
9674
+ * **Deprecated** - Please use the \"Redeploy container\" endpoint now
9675
+ * @summary Deprecated - Restart container
9454
9676
  * @param {string} containerId Container ID
9455
9677
  * @param {*} [options] Override http request option.
9456
9678
  * @throws {RequiredError}
@@ -9497,7 +9719,27 @@ const ContainerActionsApiFactory = function (configuration, basePath, axios) {
9497
9719
  },
9498
9720
  /**
9499
9721
  *
9500
- * @summary Restart container
9722
+ * @summary Reboot container
9723
+ * @param {string} containerId Container ID
9724
+ * @param {*} [options] Override http request option.
9725
+ * @throws {RequiredError}
9726
+ */
9727
+ rebootContainer(containerId, options) {
9728
+ return localVarFp.rebootContainer(containerId, options).then((request) => request(axios, basePath));
9729
+ },
9730
+ /**
9731
+ *
9732
+ * @summary Redeploy container
9733
+ * @param {string} containerId Container ID
9734
+ * @param {*} [options] Override http request option.
9735
+ * @throws {RequiredError}
9736
+ */
9737
+ redeployContainer(containerId, options) {
9738
+ return localVarFp.redeployContainer(containerId, options).then((request) => request(axios, basePath));
9739
+ },
9740
+ /**
9741
+ * **Deprecated** - Please use the \"Redeploy container\" endpoint now
9742
+ * @summary Deprecated - Restart container
9501
9743
  * @param {string} containerId Container ID
9502
9744
  * @param {*} [options] Override http request option.
9503
9745
  * @throws {RequiredError}
@@ -9539,7 +9781,29 @@ class ContainerActionsApi extends base_1.BaseAPI {
9539
9781
  }
9540
9782
  /**
9541
9783
  *
9542
- * @summary Restart container
9784
+ * @summary Reboot container
9785
+ * @param {string} containerId Container ID
9786
+ * @param {*} [options] Override http request option.
9787
+ * @throws {RequiredError}
9788
+ * @memberof ContainerActionsApi
9789
+ */
9790
+ rebootContainer(containerId, options) {
9791
+ return (0, exports.ContainerActionsApiFp)(this.configuration).rebootContainer(containerId, options).then((request) => request(this.axios, this.basePath));
9792
+ }
9793
+ /**
9794
+ *
9795
+ * @summary Redeploy container
9796
+ * @param {string} containerId Container ID
9797
+ * @param {*} [options] Override http request option.
9798
+ * @throws {RequiredError}
9799
+ * @memberof ContainerActionsApi
9800
+ */
9801
+ redeployContainer(containerId, options) {
9802
+ return (0, exports.ContainerActionsApiFp)(this.configuration).redeployContainer(containerId, options).then((request) => request(this.axios, this.basePath));
9803
+ }
9804
+ /**
9805
+ * **Deprecated** - Please use the \"Redeploy container\" endpoint now
9806
+ * @summary Deprecated - Restart container
9543
9807
  * @param {string} containerId Container ID
9544
9808
  * @param {*} [options] Override http request option.
9545
9809
  * @throws {RequiredError}
@@ -13941,6 +14205,70 @@ const DatabaseActionsApiAxiosParamCreator = function (configuration) {
13941
14205
  * @param {*} [options] Override http request option.
13942
14206
  * @throws {RequiredError}
13943
14207
  */
14208
+ rebootDatabase: (databaseId, options = {}) => __awaiter(this, void 0, void 0, function* () {
14209
+ // verify required parameter 'databaseId' is not null or undefined
14210
+ (0, common_1.assertParamExists)('rebootDatabase', 'databaseId', databaseId);
14211
+ const localVarPath = `/database/{databaseId}/restart-service`
14212
+ .replace(`{${"databaseId"}}`, encodeURIComponent(String(databaseId)));
14213
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
14214
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
14215
+ let baseOptions;
14216
+ if (configuration) {
14217
+ baseOptions = configuration.baseOptions;
14218
+ }
14219
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
14220
+ const localVarHeaderParameter = {};
14221
+ const localVarQueryParameter = {};
14222
+ // authentication bearerAuth required
14223
+ // http bearer authentication required
14224
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
14225
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
14226
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14227
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
14228
+ return {
14229
+ url: (0, common_1.toPathString)(localVarUrlObj),
14230
+ options: localVarRequestOptions,
14231
+ };
14232
+ }),
14233
+ /**
14234
+ *
14235
+ * @summary Redeploy database
14236
+ * @param {string} databaseId Database ID
14237
+ * @param {*} [options] Override http request option.
14238
+ * @throws {RequiredError}
14239
+ */
14240
+ redeployDatabase: (databaseId, options = {}) => __awaiter(this, void 0, void 0, function* () {
14241
+ // verify required parameter 'databaseId' is not null or undefined
14242
+ (0, common_1.assertParamExists)('redeployDatabase', 'databaseId', databaseId);
14243
+ const localVarPath = `/database/{databaseId}/redeploy`
14244
+ .replace(`{${"databaseId"}}`, encodeURIComponent(String(databaseId)));
14245
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
14246
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
14247
+ let baseOptions;
14248
+ if (configuration) {
14249
+ baseOptions = configuration.baseOptions;
14250
+ }
14251
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
14252
+ const localVarHeaderParameter = {};
14253
+ const localVarQueryParameter = {};
14254
+ // authentication bearerAuth required
14255
+ // http bearer authentication required
14256
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
14257
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
14258
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14259
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
14260
+ return {
14261
+ url: (0, common_1.toPathString)(localVarUrlObj),
14262
+ options: localVarRequestOptions,
14263
+ };
14264
+ }),
14265
+ /**
14266
+ * **Deprecated** - Please use the \"Redeploy database\" endpoint now
14267
+ * @summary Deprecated - Restart database
14268
+ * @param {string} databaseId Database ID
14269
+ * @param {*} [options] Override http request option.
14270
+ * @throws {RequiredError}
14271
+ */
13944
14272
  restartDatabase: (databaseId, options = {}) => __awaiter(this, void 0, void 0, function* () {
13945
14273
  // verify required parameter 'databaseId' is not null or undefined
13946
14274
  (0, common_1.assertParamExists)('restartDatabase', 'databaseId', databaseId);
@@ -14028,6 +14356,32 @@ const DatabaseActionsApiFp = function (configuration) {
14028
14356
  * @param {*} [options] Override http request option.
14029
14357
  * @throws {RequiredError}
14030
14358
  */
14359
+ rebootDatabase(databaseId, options) {
14360
+ return __awaiter(this, void 0, void 0, function* () {
14361
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.rebootDatabase(databaseId, options);
14362
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
14363
+ });
14364
+ },
14365
+ /**
14366
+ *
14367
+ * @summary Redeploy database
14368
+ * @param {string} databaseId Database ID
14369
+ * @param {*} [options] Override http request option.
14370
+ * @throws {RequiredError}
14371
+ */
14372
+ redeployDatabase(databaseId, options) {
14373
+ return __awaiter(this, void 0, void 0, function* () {
14374
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.redeployDatabase(databaseId, options);
14375
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
14376
+ });
14377
+ },
14378
+ /**
14379
+ * **Deprecated** - Please use the \"Redeploy database\" endpoint now
14380
+ * @summary Deprecated - Restart database
14381
+ * @param {string} databaseId Database ID
14382
+ * @param {*} [options] Override http request option.
14383
+ * @throws {RequiredError}
14384
+ */
14031
14385
  restartDatabase(databaseId, options) {
14032
14386
  return __awaiter(this, void 0, void 0, function* () {
14033
14387
  const localVarAxiosArgs = yield localVarAxiosParamCreator.restartDatabase(databaseId, options);
@@ -14074,6 +14428,26 @@ const DatabaseActionsApiFactory = function (configuration, basePath, axios) {
14074
14428
  * @param {*} [options] Override http request option.
14075
14429
  * @throws {RequiredError}
14076
14430
  */
14431
+ rebootDatabase(databaseId, options) {
14432
+ return localVarFp.rebootDatabase(databaseId, options).then((request) => request(axios, basePath));
14433
+ },
14434
+ /**
14435
+ *
14436
+ * @summary Redeploy database
14437
+ * @param {string} databaseId Database ID
14438
+ * @param {*} [options] Override http request option.
14439
+ * @throws {RequiredError}
14440
+ */
14441
+ redeployDatabase(databaseId, options) {
14442
+ return localVarFp.redeployDatabase(databaseId, options).then((request) => request(axios, basePath));
14443
+ },
14444
+ /**
14445
+ * **Deprecated** - Please use the \"Redeploy database\" endpoint now
14446
+ * @summary Deprecated - Restart database
14447
+ * @param {string} databaseId Database ID
14448
+ * @param {*} [options] Override http request option.
14449
+ * @throws {RequiredError}
14450
+ */
14077
14451
  restartDatabase(databaseId, options) {
14078
14452
  return localVarFp.restartDatabase(databaseId, options).then((request) => request(axios, basePath));
14079
14453
  },
@@ -14116,6 +14490,28 @@ class DatabaseActionsApi extends base_1.BaseAPI {
14116
14490
  * @throws {RequiredError}
14117
14491
  * @memberof DatabaseActionsApi
14118
14492
  */
14493
+ rebootDatabase(databaseId, options) {
14494
+ return (0, exports.DatabaseActionsApiFp)(this.configuration).rebootDatabase(databaseId, options).then((request) => request(this.axios, this.basePath));
14495
+ }
14496
+ /**
14497
+ *
14498
+ * @summary Redeploy database
14499
+ * @param {string} databaseId Database ID
14500
+ * @param {*} [options] Override http request option.
14501
+ * @throws {RequiredError}
14502
+ * @memberof DatabaseActionsApi
14503
+ */
14504
+ redeployDatabase(databaseId, options) {
14505
+ return (0, exports.DatabaseActionsApiFp)(this.configuration).redeployDatabase(databaseId, options).then((request) => request(this.axios, this.basePath));
14506
+ }
14507
+ /**
14508
+ * **Deprecated** - Please use the \"Redeploy database\" endpoint now
14509
+ * @summary Deprecated - Restart database
14510
+ * @param {string} databaseId Database ID
14511
+ * @param {*} [options] Override http request option.
14512
+ * @throws {RequiredError}
14513
+ * @memberof DatabaseActionsApi
14514
+ */
14119
14515
  restartDatabase(databaseId, options) {
14120
14516
  return (0, exports.DatabaseActionsApiFp)(this.configuration).restartDatabase(databaseId, options).then((request) => request(this.axios, this.basePath));
14121
14517
  }
@@ -16396,15 +16792,81 @@ const EnvironmentActionsApiAxiosParamCreator = function (configuration) {
16396
16792
  options: localVarRequestOptions,
16397
16793
  };
16398
16794
  }),
16795
+ /**
16796
+ * Update and reboot the selected services
16797
+ * @summary Reboot services
16798
+ * @param {string} environmentId Environment ID
16799
+ * @param {RebootServicesRequest} [rebootServicesRequest]
16800
+ * @param {*} [options] Override http request option.
16801
+ * @throws {RequiredError}
16802
+ */
16803
+ rebootServices: (environmentId, rebootServicesRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
16804
+ // verify required parameter 'environmentId' is not null or undefined
16805
+ (0, common_1.assertParamExists)('rebootServices', 'environmentId', environmentId);
16806
+ const localVarPath = `/environment/{environmentId}/service/restart-service`
16807
+ .replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
16808
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16809
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
16810
+ let baseOptions;
16811
+ if (configuration) {
16812
+ baseOptions = configuration.baseOptions;
16813
+ }
16814
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
16815
+ const localVarHeaderParameter = {};
16816
+ const localVarQueryParameter = {};
16817
+ // authentication bearerAuth required
16818
+ // http bearer authentication required
16819
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
16820
+ localVarHeaderParameter['Content-Type'] = 'application/json';
16821
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
16822
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16823
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
16824
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(rebootServicesRequest, localVarRequestOptions, configuration);
16825
+ return {
16826
+ url: (0, common_1.toPathString)(localVarUrlObj),
16827
+ options: localVarRequestOptions,
16828
+ };
16829
+ }),
16399
16830
  /**
16400
16831
  *
16401
- * @summary Restart environment
16832
+ * @summary Redeploy environment
16402
16833
  * @param {string} environmentId Environment ID
16403
- * @param {EnvironmentRestartRequest} [environmentRestartRequest]
16404
16834
  * @param {*} [options] Override http request option.
16405
16835
  * @throws {RequiredError}
16406
16836
  */
16407
- restartEnvironment: (environmentId, environmentRestartRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
16837
+ redeployEnvironment: (environmentId, options = {}) => __awaiter(this, void 0, void 0, function* () {
16838
+ // verify required parameter 'environmentId' is not null or undefined
16839
+ (0, common_1.assertParamExists)('redeployEnvironment', 'environmentId', environmentId);
16840
+ const localVarPath = `/environment/{environmentId}/redeploy`
16841
+ .replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
16842
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16843
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
16844
+ let baseOptions;
16845
+ if (configuration) {
16846
+ baseOptions = configuration.baseOptions;
16847
+ }
16848
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
16849
+ const localVarHeaderParameter = {};
16850
+ const localVarQueryParameter = {};
16851
+ // authentication bearerAuth required
16852
+ // http bearer authentication required
16853
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
16854
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
16855
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16856
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
16857
+ return {
16858
+ url: (0, common_1.toPathString)(localVarUrlObj),
16859
+ options: localVarRequestOptions,
16860
+ };
16861
+ }),
16862
+ /**
16863
+ * **Deprecated** - Please use the \"Redeploy environment\" endpoint now
16864
+ * @summary Deprecated - Restart environment
16865
+ * @param {string} environmentId Environment ID
16866
+ * @param {*} [options] Override http request option.
16867
+ * @throws {RequiredError}
16868
+ */
16869
+ restartEnvironment: (environmentId, options = {}) => __awaiter(this, void 0, void 0, function* () {
16408
16870
  // verify required parameter 'environmentId' is not null or undefined
16409
16871
  (0, common_1.assertParamExists)('restartEnvironment', 'environmentId', environmentId);
16410
16872
  const localVarPath = `/environment/{environmentId}/restart`
@@ -16421,11 +16883,9 @@ const EnvironmentActionsApiAxiosParamCreator = function (configuration) {
16421
16883
  // authentication bearerAuth required
16422
16884
  // http bearer authentication required
16423
16885
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
16424
- localVarHeaderParameter['Content-Type'] = 'application/json';
16425
16886
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
16426
16887
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16427
16888
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
16428
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(environmentRestartRequest, localVarRequestOptions, configuration);
16429
16889
  return {
16430
16890
  url: (0, common_1.toPathString)(localVarUrlObj),
16431
16891
  options: localVarRequestOptions,
@@ -16527,17 +16987,43 @@ const EnvironmentActionsApiFp = function (configuration) {
16527
16987
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
16528
16988
  });
16529
16989
  },
16990
+ /**
16991
+ * Update and reboot the selected services
16992
+ * @summary Reboot services
16993
+ * @param {string} environmentId Environment ID
16994
+ * @param {RebootServicesRequest} [rebootServicesRequest]
16995
+ * @param {*} [options] Override http request option.
16996
+ * @throws {RequiredError}
16997
+ */
16998
+ rebootServices(environmentId, rebootServicesRequest, options) {
16999
+ return __awaiter(this, void 0, void 0, function* () {
17000
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.rebootServices(environmentId, rebootServicesRequest, options);
17001
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
17002
+ });
17003
+ },
16530
17004
  /**
16531
17005
  *
16532
- * @summary Restart environment
17006
+ * @summary Redeploy environment
17007
+ * @param {string} environmentId Environment ID
17008
+ * @param {*} [options] Override http request option.
17009
+ * @throws {RequiredError}
17010
+ */
17011
+ redeployEnvironment(environmentId, options) {
17012
+ return __awaiter(this, void 0, void 0, function* () {
17013
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.redeployEnvironment(environmentId, options);
17014
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
17015
+ });
17016
+ },
17017
+ /**
17018
+ * **Deprecated** - Please use the \"Redeploy environment\" endpoint now
17019
+ * @summary Deprecated - Restart environment
16533
17020
  * @param {string} environmentId Environment ID
16534
- * @param {EnvironmentRestartRequest} [environmentRestartRequest]
16535
17021
  * @param {*} [options] Override http request option.
16536
17022
  * @throws {RequiredError}
16537
17023
  */
16538
- restartEnvironment(environmentId, environmentRestartRequest, options) {
17024
+ restartEnvironment(environmentId, options) {
16539
17025
  return __awaiter(this, void 0, void 0, function* () {
16540
- const localVarAxiosArgs = yield localVarAxiosParamCreator.restartEnvironment(environmentId, environmentRestartRequest, options);
17026
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.restartEnvironment(environmentId, options);
16541
17027
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
16542
17028
  });
16543
17029
  },
@@ -16606,16 +17092,36 @@ const EnvironmentActionsApiFactory = function (configuration, basePath, axios) {
16606
17092
  deployEnvironment(environmentId, options) {
16607
17093
  return localVarFp.deployEnvironment(environmentId, options).then((request) => request(axios, basePath));
16608
17094
  },
17095
+ /**
17096
+ * Update and reboot the selected services
17097
+ * @summary Reboot services
17098
+ * @param {string} environmentId Environment ID
17099
+ * @param {RebootServicesRequest} [rebootServicesRequest]
17100
+ * @param {*} [options] Override http request option.
17101
+ * @throws {RequiredError}
17102
+ */
17103
+ rebootServices(environmentId, rebootServicesRequest, options) {
17104
+ return localVarFp.rebootServices(environmentId, rebootServicesRequest, options).then((request) => request(axios, basePath));
17105
+ },
16609
17106
  /**
16610
17107
  *
16611
- * @summary Restart environment
17108
+ * @summary Redeploy environment
16612
17109
  * @param {string} environmentId Environment ID
16613
- * @param {EnvironmentRestartRequest} [environmentRestartRequest]
16614
17110
  * @param {*} [options] Override http request option.
16615
17111
  * @throws {RequiredError}
16616
17112
  */
16617
- restartEnvironment(environmentId, environmentRestartRequest, options) {
16618
- return localVarFp.restartEnvironment(environmentId, environmentRestartRequest, options).then((request) => request(axios, basePath));
17113
+ redeployEnvironment(environmentId, options) {
17114
+ return localVarFp.redeployEnvironment(environmentId, options).then((request) => request(axios, basePath));
17115
+ },
17116
+ /**
17117
+ * **Deprecated** - Please use the \"Redeploy environment\" endpoint now
17118
+ * @summary Deprecated - Restart environment
17119
+ * @param {string} environmentId Environment ID
17120
+ * @param {*} [options] Override http request option.
17121
+ * @throws {RequiredError}
17122
+ */
17123
+ restartEnvironment(environmentId, options) {
17124
+ return localVarFp.restartEnvironment(environmentId, options).then((request) => request(axios, basePath));
16619
17125
  },
16620
17126
  /**
16621
17127
  *
@@ -16683,17 +17189,39 @@ class EnvironmentActionsApi extends base_1.BaseAPI {
16683
17189
  deployEnvironment(environmentId, options) {
16684
17190
  return (0, exports.EnvironmentActionsApiFp)(this.configuration).deployEnvironment(environmentId, options).then((request) => request(this.axios, this.basePath));
16685
17191
  }
17192
+ /**
17193
+ * Update and reboot the selected services
17194
+ * @summary Reboot services
17195
+ * @param {string} environmentId Environment ID
17196
+ * @param {RebootServicesRequest} [rebootServicesRequest]
17197
+ * @param {*} [options] Override http request option.
17198
+ * @throws {RequiredError}
17199
+ * @memberof EnvironmentActionsApi
17200
+ */
17201
+ rebootServices(environmentId, rebootServicesRequest, options) {
17202
+ return (0, exports.EnvironmentActionsApiFp)(this.configuration).rebootServices(environmentId, rebootServicesRequest, options).then((request) => request(this.axios, this.basePath));
17203
+ }
16686
17204
  /**
16687
17205
  *
16688
- * @summary Restart environment
17206
+ * @summary Redeploy environment
16689
17207
  * @param {string} environmentId Environment ID
16690
- * @param {EnvironmentRestartRequest} [environmentRestartRequest]
16691
17208
  * @param {*} [options] Override http request option.
16692
17209
  * @throws {RequiredError}
16693
17210
  * @memberof EnvironmentActionsApi
16694
17211
  */
16695
- restartEnvironment(environmentId, environmentRestartRequest, options) {
16696
- return (0, exports.EnvironmentActionsApiFp)(this.configuration).restartEnvironment(environmentId, environmentRestartRequest, options).then((request) => request(this.axios, this.basePath));
17212
+ redeployEnvironment(environmentId, options) {
17213
+ return (0, exports.EnvironmentActionsApiFp)(this.configuration).redeployEnvironment(environmentId, options).then((request) => request(this.axios, this.basePath));
17214
+ }
17215
+ /**
17216
+ * **Deprecated** - Please use the \"Redeploy environment\" endpoint now
17217
+ * @summary Deprecated - Restart environment
17218
+ * @param {string} environmentId Environment ID
17219
+ * @param {*} [options] Override http request option.
17220
+ * @throws {RequiredError}
17221
+ * @memberof EnvironmentActionsApi
17222
+ */
17223
+ restartEnvironment(environmentId, options) {
17224
+ return (0, exports.EnvironmentActionsApiFp)(this.configuration).restartEnvironment(environmentId, options).then((request) => request(this.axios, this.basePath));
16697
17225
  }
16698
17226
  /**
16699
17227
  *
@@ -19560,7 +20088,43 @@ const JobActionsApiAxiosParamCreator = function (configuration) {
19560
20088
  }),
19561
20089
  /**
19562
20090
  *
19563
- * @summary Restart job
20091
+ * @summary Redeploy job
20092
+ * @param {string} jobId Job ID
20093
+ * @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.
20094
+ * @param {*} [options] Override http request option.
20095
+ * @throws {RequiredError}
20096
+ */
20097
+ redeployJob: (jobId, forceEvent, options = {}) => __awaiter(this, void 0, void 0, function* () {
20098
+ // verify required parameter 'jobId' is not null or undefined
20099
+ (0, common_1.assertParamExists)('redeployJob', 'jobId', jobId);
20100
+ const localVarPath = `/job/{jobId}/redeploy`
20101
+ .replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)));
20102
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
20103
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
20104
+ let baseOptions;
20105
+ if (configuration) {
20106
+ baseOptions = configuration.baseOptions;
20107
+ }
20108
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
20109
+ const localVarHeaderParameter = {};
20110
+ const localVarQueryParameter = {};
20111
+ // authentication bearerAuth required
20112
+ // http bearer authentication required
20113
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
20114
+ if (forceEvent !== undefined) {
20115
+ localVarQueryParameter['forceEvent'] = forceEvent;
20116
+ }
20117
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
20118
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
20119
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
20120
+ return {
20121
+ url: (0, common_1.toPathString)(localVarUrlObj),
20122
+ options: localVarRequestOptions,
20123
+ };
20124
+ }),
20125
+ /**
20126
+ * **Deprecated** - Please use the \"Redeploy job\" endpoint now
20127
+ * @summary Deprecated - Restart job
19564
20128
  * @param {string} jobId Job ID
19565
20129
  * @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.
19566
20130
  * @param {*} [options] Override http request option.
@@ -19653,7 +20217,21 @@ const JobActionsApiFp = function (configuration) {
19653
20217
  },
19654
20218
  /**
19655
20219
  *
19656
- * @summary Restart job
20220
+ * @summary Redeploy job
20221
+ * @param {string} jobId Job ID
20222
+ * @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.
20223
+ * @param {*} [options] Override http request option.
20224
+ * @throws {RequiredError}
20225
+ */
20226
+ redeployJob(jobId, forceEvent, options) {
20227
+ return __awaiter(this, void 0, void 0, function* () {
20228
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.redeployJob(jobId, forceEvent, options);
20229
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
20230
+ });
20231
+ },
20232
+ /**
20233
+ * **Deprecated** - Please use the \"Redeploy job\" endpoint now
20234
+ * @summary Deprecated - Restart job
19657
20235
  * @param {string} jobId Job ID
19658
20236
  * @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.
19659
20237
  * @param {*} [options] Override http request option.
@@ -19702,7 +20280,18 @@ const JobActionsApiFactory = function (configuration, basePath, axios) {
19702
20280
  },
19703
20281
  /**
19704
20282
  *
19705
- * @summary Restart job
20283
+ * @summary Redeploy job
20284
+ * @param {string} jobId Job ID
20285
+ * @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.
20286
+ * @param {*} [options] Override http request option.
20287
+ * @throws {RequiredError}
20288
+ */
20289
+ redeployJob(jobId, forceEvent, options) {
20290
+ return localVarFp.redeployJob(jobId, forceEvent, options).then((request) => request(axios, basePath));
20291
+ },
20292
+ /**
20293
+ * **Deprecated** - Please use the \"Redeploy job\" endpoint now
20294
+ * @summary Deprecated - Restart job
19706
20295
  * @param {string} jobId Job ID
19707
20296
  * @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.
19708
20297
  * @param {*} [options] Override http request option.
@@ -19746,7 +20335,19 @@ class JobActionsApi extends base_1.BaseAPI {
19746
20335
  }
19747
20336
  /**
19748
20337
  *
19749
- * @summary Restart job
20338
+ * @summary Redeploy job
20339
+ * @param {string} jobId Job ID
20340
+ * @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.
20341
+ * @param {*} [options] Override http request option.
20342
+ * @throws {RequiredError}
20343
+ * @memberof JobActionsApi
20344
+ */
20345
+ redeployJob(jobId, forceEvent, options) {
20346
+ return (0, exports.JobActionsApiFp)(this.configuration).redeployJob(jobId, forceEvent, options).then((request) => request(this.axios, this.basePath));
20347
+ }
20348
+ /**
20349
+ * **Deprecated** - Please use the \"Redeploy job\" endpoint now
20350
+ * @summary Deprecated - Restart job
19750
20351
  * @param {string} jobId Job ID
19751
20352
  * @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.
19752
20353
  * @param {*} [options] Override http request option.