qovery-typescript-axios 1.1.72 → 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.
- package/api.ts +760 -45
- package/dist/api.d.ts +406 -39
- package/dist/api.js +650 -36
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -22,13 +22,13 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.UserSignUpApi = exports.UserSignUpApiFactory = exports.UserSignUpApiFp = exports.UserSignUpApiAxiosParamCreator = exports.ReferralRewardsApi = exports.ReferralRewardsApiFactory = exports.ReferralRewardsApiFp = exports.ReferralRewardsApiAxiosParamCreator = exports.ProjectsApi = exports.ProjectsApiFactory = exports.ProjectsApiFp = exports.ProjectsApiAxiosParamCreator = exports.ProjectSecretApi = exports.ProjectSecretApiFactory = exports.ProjectSecretApiFp = exports.ProjectSecretApiAxiosParamCreator = exports.ProjectMainCallsApi = exports.ProjectMainCallsApiFactory = exports.ProjectMainCallsApiFp = exports.ProjectMainCallsApiAxiosParamCreator = exports.ProjectEnvironmentVariableApi = exports.ProjectEnvironmentVariableApiFactory = exports.ProjectEnvironmentVariableApiFp = exports.ProjectEnvironmentVariableApiAxiosParamCreator = exports.ProjectDeploymentRuleApi = exports.ProjectDeploymentRuleApiFactory = exports.ProjectDeploymentRuleApiFp = exports.ProjectDeploymentRuleApiAxiosParamCreator = exports.OrganizationWebhookApi = exports.OrganizationWebhookApiFactory = exports.OrganizationWebhookApiFp = exports.OrganizationWebhookApiAxiosParamCreator = exports.OrganizationMainCallsApi = void 0;
|
|
25
|
+
exports.WeekdayEnum = exports.TypeOfUseEnum = exports.ThresholdMetricStatusEnum = exports.StorageTypeEnum = exports.StatusKindEnum = exports.StateEnum = exports.ServiceTypeEnum = exports.ServiceDeploymentStatusEnum = exports.RewardClaimTypeEnum = exports.PortProtocolEnum = exports.PlanEnum = exports.OrganizationWebhookKindEnum = exports.OrganizationWebhookEventEnum = exports.OrganizationCustomRoleProjectPermission = exports.OrganizationCustomRoleClusterPermission = exports.OrganizationApiTokenScope = exports.LinkedServiceTypeEnum = exports.KubernetesEnum = exports.JobScheduleEvent = exports.JobForceEvent = exports.JobAdvancedSettingsLivenessProbeTypeEnum = exports.JobAdvancedSettingsReadinessProbeTypeEnum = exports.InvoiceStatusEnum = exports.InviteStatusEnum = exports.InviteMemberRoleEnum = exports.HealthcheckProtocolEnum = exports.GitProviderEnum = exports.EnvironmentModeEnum = exports.EnvironmentLogTypeEnum = exports.DeploymentRestrictionTypeEnum = exports.DeploymentRestrictionModeEnum = exports.DeploymentHistoryStatusEnum = exports.DatabaseTypeEnum = exports.DatabaseModeEnum = exports.DatabaseAccessibilityEnum = exports.CustomDomainStatusEnum = exports.CreateEnvironmentModeEnum = exports.ContainerRegistryKindEnum = exports.ContainerAdvancedSettingsLivenessProbeTypeEnum = exports.ContainerAdvancedSettingsReadinessProbeTypeEnum = exports.CompanySizeEnum = exports.ClusterLogsStepEnum = exports.ClusterFeatureValueTypeEnum = exports.CloudProviderEnum = exports.BuildPackLanguageEnum = exports.BuildModeEnum = exports.ApplicationAdvancedSettingsLivenessProbeTypeEnum = exports.ApplicationAdvancedSettingsReadinessProbeTypeEnum = exports.APIVariableTypeEnum = exports.APIVariableScopeEnum = void 0;
|
|
26
|
+
exports.BackupsApiFp = exports.BackupsApiAxiosParamCreator = exports.ApplicationsApi = exports.ApplicationsApiFactory = exports.ApplicationsApiFp = exports.ApplicationsApiAxiosParamCreator = exports.ApplicationSecretApi = exports.ApplicationSecretApiFactory = exports.ApplicationSecretApiFp = exports.ApplicationSecretApiAxiosParamCreator = exports.ApplicationMetricsApi = exports.ApplicationMetricsApiFactory = exports.ApplicationMetricsApiFp = exports.ApplicationMetricsApiAxiosParamCreator = exports.ApplicationMainCallsApi = exports.ApplicationMainCallsApiFactory = exports.ApplicationMainCallsApiFp = exports.ApplicationMainCallsApiAxiosParamCreator = exports.ApplicationLogsApi = exports.ApplicationLogsApiFactory = exports.ApplicationLogsApiFp = exports.ApplicationLogsApiAxiosParamCreator = exports.ApplicationEventApi = exports.ApplicationEventApiFactory = exports.ApplicationEventApiFp = exports.ApplicationEventApiAxiosParamCreator = exports.ApplicationEnvironmentVariableApi = exports.ApplicationEnvironmentVariableApiFactory = exports.ApplicationEnvironmentVariableApiFp = exports.ApplicationEnvironmentVariableApiAxiosParamCreator = exports.ApplicationDeploymentRestrictionApi = exports.ApplicationDeploymentRestrictionApiFactory = exports.ApplicationDeploymentRestrictionApiFp = exports.ApplicationDeploymentRestrictionApiAxiosParamCreator = exports.ApplicationDeploymentHistoryApi = exports.ApplicationDeploymentHistoryApiFactory = exports.ApplicationDeploymentHistoryApiFp = exports.ApplicationDeploymentHistoryApiAxiosParamCreator = exports.ApplicationConfigurationApi = exports.ApplicationConfigurationApiFactory = exports.ApplicationConfigurationApiFp = exports.ApplicationConfigurationApiAxiosParamCreator = exports.ApplicationActionsApi = exports.ApplicationActionsApiFactory = exports.ApplicationActionsApiFp = exports.ApplicationActionsApiAxiosParamCreator = exports.AccountInfoApi = exports.AccountInfoApiFactory = exports.AccountInfoApiFp = exports.AccountInfoApiAxiosParamCreator = void 0;
|
|
27
|
+
exports.ContainerMainCallsApi = exports.ContainerMainCallsApiFactory = exports.ContainerMainCallsApiFp = exports.ContainerMainCallsApiAxiosParamCreator = exports.ContainerLogsApi = exports.ContainerLogsApiFactory = exports.ContainerLogsApiFp = exports.ContainerLogsApiAxiosParamCreator = exports.ContainerEnvironmentVariableApi = exports.ContainerEnvironmentVariableApiFactory = exports.ContainerEnvironmentVariableApiFp = exports.ContainerEnvironmentVariableApiAxiosParamCreator = exports.ContainerDeploymentHistoryApi = exports.ContainerDeploymentHistoryApiFactory = exports.ContainerDeploymentHistoryApiFp = exports.ContainerDeploymentHistoryApiAxiosParamCreator = exports.ContainerDependencyApi = exports.ContainerDependencyApiFactory = exports.ContainerDependencyApiFp = exports.ContainerDependencyApiAxiosParamCreator = exports.ContainerCustomDomainApi = exports.ContainerCustomDomainApiFactory = exports.ContainerCustomDomainApiFp = exports.ContainerCustomDomainApiAxiosParamCreator = exports.ContainerConfigurationApi = exports.ContainerConfigurationApiFactory = exports.ContainerConfigurationApiFp = exports.ContainerConfigurationApiAxiosParamCreator = exports.ContainerActionsApi = exports.ContainerActionsApiFactory = exports.ContainerActionsApiFp = exports.ContainerActionsApiAxiosParamCreator = exports.ClustersApi = exports.ClustersApiFactory = exports.ClustersApiFp = exports.ClustersApiAxiosParamCreator = exports.CloudProviderCredentialsApi = exports.CloudProviderCredentialsApiFactory = exports.CloudProviderCredentialsApiFp = exports.CloudProviderCredentialsApiAxiosParamCreator = exports.CloudProviderApi = exports.CloudProviderApiFactory = exports.CloudProviderApiFp = exports.CloudProviderApiAxiosParamCreator = exports.BillingApi = exports.BillingApiFactory = exports.BillingApiFp = exports.BillingApiAxiosParamCreator = exports.BackupsApi = exports.BackupsApiFactory = void 0;
|
|
28
|
+
exports.DependencyApiFp = exports.DependencyApiAxiosParamCreator = exports.DatabasesApi = exports.DatabasesApiFactory = exports.DatabasesApiFp = exports.DatabasesApiAxiosParamCreator = exports.DatabaseMetricsApi = exports.DatabaseMetricsApiFactory = exports.DatabaseMetricsApiFp = exports.DatabaseMetricsApiAxiosParamCreator = exports.DatabaseMainCallsApi = exports.DatabaseMainCallsApiFactory = exports.DatabaseMainCallsApiFp = exports.DatabaseMainCallsApiAxiosParamCreator = exports.DatabaseEventApi = exports.DatabaseEventApiFactory = exports.DatabaseEventApiFp = exports.DatabaseEventApiAxiosParamCreator = exports.DatabaseDeploymentHistoryApi = exports.DatabaseDeploymentHistoryApiFactory = exports.DatabaseDeploymentHistoryApiFp = exports.DatabaseDeploymentHistoryApiAxiosParamCreator = exports.DatabaseApplicationApi = exports.DatabaseApplicationApiFactory = exports.DatabaseApplicationApiFp = exports.DatabaseApplicationApiAxiosParamCreator = exports.DatabaseActionsApi = exports.DatabaseActionsApiFactory = exports.DatabaseActionsApiFp = exports.DatabaseActionsApiAxiosParamCreator = exports.CustomDomainApi = exports.CustomDomainApiFactory = exports.CustomDomainApiFp = exports.CustomDomainApiAxiosParamCreator = exports.ContainersApi = exports.ContainersApiFactory = exports.ContainersApiFp = exports.ContainersApiAxiosParamCreator = exports.ContainerSecretApi = exports.ContainerSecretApiFactory = exports.ContainerSecretApiFp = exports.ContainerSecretApiAxiosParamCreator = exports.ContainerRegistriesApi = exports.ContainerRegistriesApiFactory = exports.ContainerRegistriesApiFp = exports.ContainerRegistriesApiAxiosParamCreator = exports.ContainerMetricsApi = exports.ContainerMetricsApiFactory = exports.ContainerMetricsApiFp = exports.ContainerMetricsApiAxiosParamCreator = void 0;
|
|
29
|
+
exports.JobActionsApi = exports.JobActionsApiFactory = exports.JobActionsApiFp = exports.JobActionsApiAxiosParamCreator = exports.GithubAppApi = exports.GithubAppApiFactory = exports.GithubAppApiFp = exports.GithubAppApiAxiosParamCreator = exports.GitRepositoriesApi = exports.GitRepositoriesApiFactory = exports.GitRepositoriesApiFp = exports.GitRepositoriesApiAxiosParamCreator = exports.EnvironmentsApi = exports.EnvironmentsApiFactory = exports.EnvironmentsApiFp = exports.EnvironmentsApiAxiosParamCreator = exports.EnvironmentVariableApi = exports.EnvironmentVariableApiFactory = exports.EnvironmentVariableApiFp = exports.EnvironmentVariableApiAxiosParamCreator = exports.EnvironmentSecretApi = exports.EnvironmentSecretApiFactory = exports.EnvironmentSecretApiFp = exports.EnvironmentSecretApiAxiosParamCreator = exports.EnvironmentMainCallsApi = exports.EnvironmentMainCallsApiFactory = exports.EnvironmentMainCallsApiFp = exports.EnvironmentMainCallsApiAxiosParamCreator = exports.EnvironmentLogsApi = exports.EnvironmentLogsApiFactory = exports.EnvironmentLogsApiFp = exports.EnvironmentLogsApiAxiosParamCreator = exports.EnvironmentDeploymentRuleApi = exports.EnvironmentDeploymentRuleApiFactory = exports.EnvironmentDeploymentRuleApiFp = exports.EnvironmentDeploymentRuleApiAxiosParamCreator = exports.EnvironmentDeploymentHistoryApi = exports.EnvironmentDeploymentHistoryApiFactory = exports.EnvironmentDeploymentHistoryApiFp = exports.EnvironmentDeploymentHistoryApiAxiosParamCreator = exports.EnvironmentActionsApi = exports.EnvironmentActionsApiFactory = exports.EnvironmentActionsApiFp = exports.EnvironmentActionsApiAxiosParamCreator = exports.EnvironmentApi = exports.EnvironmentApiFactory = exports.EnvironmentApiFp = exports.EnvironmentApiAxiosParamCreator = exports.DependencyApi = exports.DependencyApiFactory = void 0;
|
|
30
|
+
exports.OrganizationMainCallsApiFp = exports.OrganizationMainCallsApiAxiosParamCreator = exports.OrganizationCustomRoleApi = exports.OrganizationCustomRoleApiFactory = exports.OrganizationCustomRoleApiFp = exports.OrganizationCustomRoleApiAxiosParamCreator = exports.OrganizationApiTokenApi = exports.OrganizationApiTokenApiFactory = exports.OrganizationApiTokenApiFp = exports.OrganizationApiTokenApiAxiosParamCreator = exports.OrganizationAccountGitRepositoriesApi = exports.OrganizationAccountGitRepositoriesApiFactory = exports.OrganizationAccountGitRepositoriesApiFp = exports.OrganizationAccountGitRepositoriesApiAxiosParamCreator = exports.MembersApi = exports.MembersApiFactory = exports.MembersApiFp = exports.MembersApiAxiosParamCreator = exports.LogicalDatabaseApi = exports.LogicalDatabaseApiFactory = exports.LogicalDatabaseApiFp = exports.LogicalDatabaseApiAxiosParamCreator = exports.JobsApi = exports.JobsApiFactory = exports.JobsApiFp = exports.JobsApiAxiosParamCreator = exports.JobSecretApi = exports.JobSecretApiFactory = exports.JobSecretApiFp = exports.JobSecretApiAxiosParamCreator = exports.JobMetricsApi = exports.JobMetricsApiFactory = exports.JobMetricsApiFp = exports.JobMetricsApiAxiosParamCreator = exports.JobMainCallsApi = exports.JobMainCallsApiFactory = exports.JobMainCallsApiFp = exports.JobMainCallsApiAxiosParamCreator = exports.JobEnvironmentVariableApi = exports.JobEnvironmentVariableApiFactory = exports.JobEnvironmentVariableApiFp = exports.JobEnvironmentVariableApiAxiosParamCreator = exports.JobDeploymentHistoryApi = exports.JobDeploymentHistoryApiFactory = exports.JobDeploymentHistoryApiFp = exports.JobDeploymentHistoryApiAxiosParamCreator = exports.JobConfigurationApi = exports.JobConfigurationApiFactory = exports.JobConfigurationApiFp = exports.JobConfigurationApiAxiosParamCreator = void 0;
|
|
31
|
+
exports.UserSignUpApi = exports.UserSignUpApiFactory = exports.UserSignUpApiFp = exports.UserSignUpApiAxiosParamCreator = exports.ReferralRewardsApi = exports.ReferralRewardsApiFactory = exports.ReferralRewardsApiFp = exports.ReferralRewardsApiAxiosParamCreator = exports.ProjectsApi = exports.ProjectsApiFactory = exports.ProjectsApiFp = exports.ProjectsApiAxiosParamCreator = exports.ProjectSecretApi = exports.ProjectSecretApiFactory = exports.ProjectSecretApiFp = exports.ProjectSecretApiAxiosParamCreator = exports.ProjectMainCallsApi = exports.ProjectMainCallsApiFactory = exports.ProjectMainCallsApiFp = exports.ProjectMainCallsApiAxiosParamCreator = exports.ProjectEnvironmentVariableApi = exports.ProjectEnvironmentVariableApiFactory = exports.ProjectEnvironmentVariableApiFp = exports.ProjectEnvironmentVariableApiAxiosParamCreator = exports.ProjectDeploymentRuleApi = exports.ProjectDeploymentRuleApiFactory = exports.ProjectDeploymentRuleApiFp = exports.ProjectDeploymentRuleApiAxiosParamCreator = exports.OrganizationWebhookApi = exports.OrganizationWebhookApiFactory = exports.OrganizationWebhookApiFp = exports.OrganizationWebhookApiAxiosParamCreator = exports.OrganizationMainCallsApi = exports.OrganizationMainCallsApiFactory = void 0;
|
|
32
32
|
const axios_1 = require("axios");
|
|
33
33
|
// Some imports not used depending on template conditions
|
|
34
34
|
// @ts-ignore
|
|
@@ -49,6 +49,19 @@ var APIVariableScopeEnum;
|
|
|
49
49
|
APIVariableScopeEnum["CONTAINER"] = "CONTAINER";
|
|
50
50
|
APIVariableScopeEnum["JOB"] = "JOB";
|
|
51
51
|
})(APIVariableScopeEnum = exports.APIVariableScopeEnum || (exports.APIVariableScopeEnum = {}));
|
|
52
|
+
/**
|
|
53
|
+
* type of the environment variable (VALUE, FILE, ALIAS, OVERRIDE or BUIT_IN)
|
|
54
|
+
* @export
|
|
55
|
+
* @enum {string}
|
|
56
|
+
*/
|
|
57
|
+
var APIVariableTypeEnum;
|
|
58
|
+
(function (APIVariableTypeEnum) {
|
|
59
|
+
APIVariableTypeEnum["VALUE"] = "VALUE";
|
|
60
|
+
APIVariableTypeEnum["ALIAS"] = "ALIAS";
|
|
61
|
+
APIVariableTypeEnum["OVERRIDE"] = "OVERRIDE";
|
|
62
|
+
APIVariableTypeEnum["BUILT_IN"] = "BUILT_IN";
|
|
63
|
+
APIVariableTypeEnum["FILE"] = "FILE";
|
|
64
|
+
})(APIVariableTypeEnum = exports.APIVariableTypeEnum || (exports.APIVariableTypeEnum = {}));
|
|
52
65
|
/**
|
|
53
66
|
* @export
|
|
54
67
|
* @enum {string}
|
|
@@ -753,7 +766,71 @@ const ApplicationActionsApiAxiosParamCreator = function (configuration) {
|
|
|
753
766
|
}),
|
|
754
767
|
/**
|
|
755
768
|
*
|
|
756
|
-
* @summary
|
|
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
|
|
757
834
|
* @param {string} applicationId Application ID
|
|
758
835
|
* @param {*} [options] Override http request option.
|
|
759
836
|
* @throws {RequiredError}
|
|
@@ -841,7 +918,33 @@ const ApplicationActionsApiFp = function (configuration) {
|
|
|
841
918
|
},
|
|
842
919
|
/**
|
|
843
920
|
*
|
|
844
|
-
* @summary
|
|
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
|
|
845
948
|
* @param {string} applicationId Application ID
|
|
846
949
|
* @param {*} [options] Override http request option.
|
|
847
950
|
* @throws {RequiredError}
|
|
@@ -888,7 +991,27 @@ const ApplicationActionsApiFactory = function (configuration, basePath, axios) {
|
|
|
888
991
|
},
|
|
889
992
|
/**
|
|
890
993
|
*
|
|
891
|
-
* @summary
|
|
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
|
|
892
1015
|
* @param {string} applicationId Application ID
|
|
893
1016
|
* @param {*} [options] Override http request option.
|
|
894
1017
|
* @throws {RequiredError}
|
|
@@ -930,7 +1053,29 @@ class ApplicationActionsApi extends base_1.BaseAPI {
|
|
|
930
1053
|
}
|
|
931
1054
|
/**
|
|
932
1055
|
*
|
|
933
|
-
* @summary
|
|
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
|
|
934
1079
|
* @param {string} applicationId Application ID
|
|
935
1080
|
* @param {*} [options] Override http request option.
|
|
936
1081
|
* @throws {RequiredError}
|
|
@@ -9349,7 +9494,71 @@ const ContainerActionsApiAxiosParamCreator = function (configuration) {
|
|
|
9349
9494
|
}),
|
|
9350
9495
|
/**
|
|
9351
9496
|
*
|
|
9352
|
-
* @summary
|
|
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
|
|
9353
9562
|
* @param {string} containerId Container ID
|
|
9354
9563
|
* @param {*} [options] Override http request option.
|
|
9355
9564
|
* @throws {RequiredError}
|
|
@@ -9437,7 +9646,33 @@ const ContainerActionsApiFp = function (configuration) {
|
|
|
9437
9646
|
},
|
|
9438
9647
|
/**
|
|
9439
9648
|
*
|
|
9440
|
-
* @summary
|
|
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
|
|
9441
9676
|
* @param {string} containerId Container ID
|
|
9442
9677
|
* @param {*} [options] Override http request option.
|
|
9443
9678
|
* @throws {RequiredError}
|
|
@@ -9484,7 +9719,27 @@ const ContainerActionsApiFactory = function (configuration, basePath, axios) {
|
|
|
9484
9719
|
},
|
|
9485
9720
|
/**
|
|
9486
9721
|
*
|
|
9487
|
-
* @summary
|
|
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
|
|
9488
9743
|
* @param {string} containerId Container ID
|
|
9489
9744
|
* @param {*} [options] Override http request option.
|
|
9490
9745
|
* @throws {RequiredError}
|
|
@@ -9526,7 +9781,29 @@ class ContainerActionsApi extends base_1.BaseAPI {
|
|
|
9526
9781
|
}
|
|
9527
9782
|
/**
|
|
9528
9783
|
*
|
|
9529
|
-
* @summary
|
|
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
|
|
9530
9807
|
* @param {string} containerId Container ID
|
|
9531
9808
|
* @param {*} [options] Override http request option.
|
|
9532
9809
|
* @throws {RequiredError}
|
|
@@ -13928,6 +14205,70 @@ const DatabaseActionsApiAxiosParamCreator = function (configuration) {
|
|
|
13928
14205
|
* @param {*} [options] Override http request option.
|
|
13929
14206
|
* @throws {RequiredError}
|
|
13930
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
|
+
*/
|
|
13931
14272
|
restartDatabase: (databaseId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
13932
14273
|
// verify required parameter 'databaseId' is not null or undefined
|
|
13933
14274
|
(0, common_1.assertParamExists)('restartDatabase', 'databaseId', databaseId);
|
|
@@ -14015,6 +14356,32 @@ const DatabaseActionsApiFp = function (configuration) {
|
|
|
14015
14356
|
* @param {*} [options] Override http request option.
|
|
14016
14357
|
* @throws {RequiredError}
|
|
14017
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
|
+
*/
|
|
14018
14385
|
restartDatabase(databaseId, options) {
|
|
14019
14386
|
return __awaiter(this, void 0, void 0, function* () {
|
|
14020
14387
|
const localVarAxiosArgs = yield localVarAxiosParamCreator.restartDatabase(databaseId, options);
|
|
@@ -14061,6 +14428,26 @@ const DatabaseActionsApiFactory = function (configuration, basePath, axios) {
|
|
|
14061
14428
|
* @param {*} [options] Override http request option.
|
|
14062
14429
|
* @throws {RequiredError}
|
|
14063
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
|
+
*/
|
|
14064
14451
|
restartDatabase(databaseId, options) {
|
|
14065
14452
|
return localVarFp.restartDatabase(databaseId, options).then((request) => request(axios, basePath));
|
|
14066
14453
|
},
|
|
@@ -14103,6 +14490,28 @@ class DatabaseActionsApi extends base_1.BaseAPI {
|
|
|
14103
14490
|
* @throws {RequiredError}
|
|
14104
14491
|
* @memberof DatabaseActionsApi
|
|
14105
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
|
+
*/
|
|
14106
14515
|
restartDatabase(databaseId, options) {
|
|
14107
14516
|
return (0, exports.DatabaseActionsApiFp)(this.configuration).restartDatabase(databaseId, options).then((request) => request(this.axios, this.basePath));
|
|
14108
14517
|
}
|
|
@@ -16383,15 +16792,81 @@ const EnvironmentActionsApiAxiosParamCreator = function (configuration) {
|
|
|
16383
16792
|
options: localVarRequestOptions,
|
|
16384
16793
|
};
|
|
16385
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
|
+
}),
|
|
16386
16830
|
/**
|
|
16387
16831
|
*
|
|
16388
|
-
* @summary
|
|
16832
|
+
* @summary Redeploy environment
|
|
16389
16833
|
* @param {string} environmentId Environment ID
|
|
16390
|
-
* @param {EnvironmentRestartRequest} [environmentRestartRequest]
|
|
16391
16834
|
* @param {*} [options] Override http request option.
|
|
16392
16835
|
* @throws {RequiredError}
|
|
16393
16836
|
*/
|
|
16394
|
-
|
|
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* () {
|
|
16395
16870
|
// verify required parameter 'environmentId' is not null or undefined
|
|
16396
16871
|
(0, common_1.assertParamExists)('restartEnvironment', 'environmentId', environmentId);
|
|
16397
16872
|
const localVarPath = `/environment/{environmentId}/restart`
|
|
@@ -16408,11 +16883,9 @@ const EnvironmentActionsApiAxiosParamCreator = function (configuration) {
|
|
|
16408
16883
|
// authentication bearerAuth required
|
|
16409
16884
|
// http bearer authentication required
|
|
16410
16885
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
16411
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16412
16886
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
16413
16887
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16414
16888
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
16415
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(environmentRestartRequest, localVarRequestOptions, configuration);
|
|
16416
16889
|
return {
|
|
16417
16890
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
16418
16891
|
options: localVarRequestOptions,
|
|
@@ -16514,17 +16987,43 @@ const EnvironmentActionsApiFp = function (configuration) {
|
|
|
16514
16987
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
16515
16988
|
});
|
|
16516
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
|
+
},
|
|
16517
17004
|
/**
|
|
16518
17005
|
*
|
|
16519
|
-
* @summary
|
|
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
|
|
16520
17020
|
* @param {string} environmentId Environment ID
|
|
16521
|
-
* @param {EnvironmentRestartRequest} [environmentRestartRequest]
|
|
16522
17021
|
* @param {*} [options] Override http request option.
|
|
16523
17022
|
* @throws {RequiredError}
|
|
16524
17023
|
*/
|
|
16525
|
-
restartEnvironment(environmentId,
|
|
17024
|
+
restartEnvironment(environmentId, options) {
|
|
16526
17025
|
return __awaiter(this, void 0, void 0, function* () {
|
|
16527
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.restartEnvironment(environmentId,
|
|
17026
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.restartEnvironment(environmentId, options);
|
|
16528
17027
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
16529
17028
|
});
|
|
16530
17029
|
},
|
|
@@ -16593,16 +17092,36 @@ const EnvironmentActionsApiFactory = function (configuration, basePath, axios) {
|
|
|
16593
17092
|
deployEnvironment(environmentId, options) {
|
|
16594
17093
|
return localVarFp.deployEnvironment(environmentId, options).then((request) => request(axios, basePath));
|
|
16595
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
|
+
},
|
|
16596
17106
|
/**
|
|
16597
17107
|
*
|
|
16598
|
-
* @summary
|
|
17108
|
+
* @summary Redeploy environment
|
|
16599
17109
|
* @param {string} environmentId Environment ID
|
|
16600
|
-
* @param {EnvironmentRestartRequest} [environmentRestartRequest]
|
|
16601
17110
|
* @param {*} [options] Override http request option.
|
|
16602
17111
|
* @throws {RequiredError}
|
|
16603
17112
|
*/
|
|
16604
|
-
|
|
16605
|
-
return localVarFp.
|
|
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));
|
|
16606
17125
|
},
|
|
16607
17126
|
/**
|
|
16608
17127
|
*
|
|
@@ -16670,17 +17189,39 @@ class EnvironmentActionsApi extends base_1.BaseAPI {
|
|
|
16670
17189
|
deployEnvironment(environmentId, options) {
|
|
16671
17190
|
return (0, exports.EnvironmentActionsApiFp)(this.configuration).deployEnvironment(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
16672
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
|
+
}
|
|
16673
17204
|
/**
|
|
16674
17205
|
*
|
|
16675
|
-
* @summary
|
|
17206
|
+
* @summary Redeploy environment
|
|
17207
|
+
* @param {string} environmentId Environment ID
|
|
17208
|
+
* @param {*} [options] Override http request option.
|
|
17209
|
+
* @throws {RequiredError}
|
|
17210
|
+
* @memberof EnvironmentActionsApi
|
|
17211
|
+
*/
|
|
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
|
|
16676
17218
|
* @param {string} environmentId Environment ID
|
|
16677
|
-
* @param {EnvironmentRestartRequest} [environmentRestartRequest]
|
|
16678
17219
|
* @param {*} [options] Override http request option.
|
|
16679
17220
|
* @throws {RequiredError}
|
|
16680
17221
|
* @memberof EnvironmentActionsApi
|
|
16681
17222
|
*/
|
|
16682
|
-
restartEnvironment(environmentId,
|
|
16683
|
-
return (0, exports.EnvironmentActionsApiFp)(this.configuration).restartEnvironment(environmentId,
|
|
17223
|
+
restartEnvironment(environmentId, options) {
|
|
17224
|
+
return (0, exports.EnvironmentActionsApiFp)(this.configuration).restartEnvironment(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
16684
17225
|
}
|
|
16685
17226
|
/**
|
|
16686
17227
|
*
|
|
@@ -19547,7 +20088,43 @@ const JobActionsApiAxiosParamCreator = function (configuration) {
|
|
|
19547
20088
|
}),
|
|
19548
20089
|
/**
|
|
19549
20090
|
*
|
|
19550
|
-
* @summary
|
|
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
|
|
19551
20128
|
* @param {string} jobId Job ID
|
|
19552
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.
|
|
19553
20130
|
* @param {*} [options] Override http request option.
|
|
@@ -19640,7 +20217,21 @@ const JobActionsApiFp = function (configuration) {
|
|
|
19640
20217
|
},
|
|
19641
20218
|
/**
|
|
19642
20219
|
*
|
|
19643
|
-
* @summary
|
|
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
|
|
19644
20235
|
* @param {string} jobId Job ID
|
|
19645
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.
|
|
19646
20237
|
* @param {*} [options] Override http request option.
|
|
@@ -19689,7 +20280,18 @@ const JobActionsApiFactory = function (configuration, basePath, axios) {
|
|
|
19689
20280
|
},
|
|
19690
20281
|
/**
|
|
19691
20282
|
*
|
|
19692
|
-
* @summary
|
|
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
|
|
19693
20295
|
* @param {string} jobId Job ID
|
|
19694
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.
|
|
19695
20297
|
* @param {*} [options] Override http request option.
|
|
@@ -19733,7 +20335,19 @@ class JobActionsApi extends base_1.BaseAPI {
|
|
|
19733
20335
|
}
|
|
19734
20336
|
/**
|
|
19735
20337
|
*
|
|
19736
|
-
* @summary
|
|
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
|
|
19737
20351
|
* @param {string} jobId Job ID
|
|
19738
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.
|
|
19739
20353
|
* @param {*} [options] Override http request option.
|