qovery-typescript-axios 1.1.89 → 1.1.91
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 +623 -591
- package/dist/api.d.ts +323 -235
- package/dist/api.js +288 -408
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -24,11 +24,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
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
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.
|
|
28
|
-
exports.
|
|
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 =
|
|
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 =
|
|
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 =
|
|
27
|
+
exports.ContainerMetricsApi = exports.ContainerMetricsApiFactory = exports.ContainerMetricsApiFp = exports.ContainerMetricsApiAxiosParamCreator = 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.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.EnvironmentApiFp = exports.EnvironmentApiAxiosParamCreator = exports.DeploymentStageMainCallsApi = exports.DeploymentStageMainCallsApiFactory = exports.DeploymentStageMainCallsApiFp = exports.DeploymentStageMainCallsApiAxiosParamCreator = 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 = void 0;
|
|
29
|
+
exports.JobConfigurationApi = exports.JobConfigurationApiFactory = exports.JobConfigurationApiFp = exports.JobConfigurationApiAxiosParamCreator = 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 = void 0;
|
|
30
|
+
exports.OrganizationWebhookApiFp = exports.OrganizationWebhookApiAxiosParamCreator = exports.OrganizationMainCallsApi = exports.OrganizationMainCallsApiFactory = 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 = 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 = void 0;
|
|
32
32
|
const axios_1 = require("axios");
|
|
33
33
|
// Some imports not used depending on template conditions
|
|
34
34
|
// @ts-ignore
|
|
@@ -10610,249 +10610,6 @@ class ContainerCustomDomainApi extends base_1.BaseAPI {
|
|
|
10610
10610
|
}
|
|
10611
10611
|
}
|
|
10612
10612
|
exports.ContainerCustomDomainApi = ContainerCustomDomainApi;
|
|
10613
|
-
/**
|
|
10614
|
-
* ContainerDependencyApi - axios parameter creator
|
|
10615
|
-
* @export
|
|
10616
|
-
*/
|
|
10617
|
-
const ContainerDependencyApiAxiosParamCreator = function (configuration) {
|
|
10618
|
-
return {
|
|
10619
|
-
/**
|
|
10620
|
-
* Add container dependency to this container to prevent this container starting before the linked dependencies
|
|
10621
|
-
* @summary Add container dependency to this application.
|
|
10622
|
-
* @param {string} containerId Container ID
|
|
10623
|
-
* @param {string} targetContainerId Target container ID
|
|
10624
|
-
* @param {*} [options] Override http request option.
|
|
10625
|
-
* @throws {RequiredError}
|
|
10626
|
-
*/
|
|
10627
|
-
createContainerDependency: (containerId, targetContainerId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
10628
|
-
// verify required parameter 'containerId' is not null or undefined
|
|
10629
|
-
(0, common_1.assertParamExists)('createContainerDependency', 'containerId', containerId);
|
|
10630
|
-
// verify required parameter 'targetContainerId' is not null or undefined
|
|
10631
|
-
(0, common_1.assertParamExists)('createContainerDependency', 'targetContainerId', targetContainerId);
|
|
10632
|
-
const localVarPath = `/container/{containerId}/dependency/{targetContainerId}`
|
|
10633
|
-
.replace(`{${"containerId"}}`, encodeURIComponent(String(containerId)))
|
|
10634
|
-
.replace(`{${"targetContainerId"}}`, encodeURIComponent(String(targetContainerId)));
|
|
10635
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10636
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10637
|
-
let baseOptions;
|
|
10638
|
-
if (configuration) {
|
|
10639
|
-
baseOptions = configuration.baseOptions;
|
|
10640
|
-
}
|
|
10641
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
10642
|
-
const localVarHeaderParameter = {};
|
|
10643
|
-
const localVarQueryParameter = {};
|
|
10644
|
-
// authentication bearerAuth required
|
|
10645
|
-
// http bearer authentication required
|
|
10646
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
10647
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
10648
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10649
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
10650
|
-
return {
|
|
10651
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
10652
|
-
options: localVarRequestOptions,
|
|
10653
|
-
};
|
|
10654
|
-
}),
|
|
10655
|
-
/**
|
|
10656
|
-
*
|
|
10657
|
-
* @summary List container dependencies
|
|
10658
|
-
* @param {string} containerId Container ID
|
|
10659
|
-
* @param {*} [options] Override http request option.
|
|
10660
|
-
* @throws {RequiredError}
|
|
10661
|
-
*/
|
|
10662
|
-
listContainerDependency: (containerId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
10663
|
-
// verify required parameter 'containerId' is not null or undefined
|
|
10664
|
-
(0, common_1.assertParamExists)('listContainerDependency', 'containerId', containerId);
|
|
10665
|
-
const localVarPath = `/container/{containerId}/dependency`
|
|
10666
|
-
.replace(`{${"containerId"}}`, encodeURIComponent(String(containerId)));
|
|
10667
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10668
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10669
|
-
let baseOptions;
|
|
10670
|
-
if (configuration) {
|
|
10671
|
-
baseOptions = configuration.baseOptions;
|
|
10672
|
-
}
|
|
10673
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
10674
|
-
const localVarHeaderParameter = {};
|
|
10675
|
-
const localVarQueryParameter = {};
|
|
10676
|
-
// authentication bearerAuth required
|
|
10677
|
-
// http bearer authentication required
|
|
10678
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
10679
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
10680
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10681
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
10682
|
-
return {
|
|
10683
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
10684
|
-
options: localVarRequestOptions,
|
|
10685
|
-
};
|
|
10686
|
-
}),
|
|
10687
|
-
/**
|
|
10688
|
-
*
|
|
10689
|
-
* @summary Remove container dependency to this container.
|
|
10690
|
-
* @param {string} containerId Container ID
|
|
10691
|
-
* @param {*} [options] Override http request option.
|
|
10692
|
-
* @throws {RequiredError}
|
|
10693
|
-
*/
|
|
10694
|
-
removeContainerDependency: (containerId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
10695
|
-
// verify required parameter 'containerId' is not null or undefined
|
|
10696
|
-
(0, common_1.assertParamExists)('removeContainerDependency', 'containerId', containerId);
|
|
10697
|
-
const localVarPath = `/container/{containerId}/dependency/{targetContainerId}`
|
|
10698
|
-
.replace(`{${"containerId"}}`, encodeURIComponent(String(containerId)));
|
|
10699
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10700
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10701
|
-
let baseOptions;
|
|
10702
|
-
if (configuration) {
|
|
10703
|
-
baseOptions = configuration.baseOptions;
|
|
10704
|
-
}
|
|
10705
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
10706
|
-
const localVarHeaderParameter = {};
|
|
10707
|
-
const localVarQueryParameter = {};
|
|
10708
|
-
// authentication bearerAuth required
|
|
10709
|
-
// http bearer authentication required
|
|
10710
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
10711
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
10712
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10713
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
10714
|
-
return {
|
|
10715
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
10716
|
-
options: localVarRequestOptions,
|
|
10717
|
-
};
|
|
10718
|
-
}),
|
|
10719
|
-
};
|
|
10720
|
-
};
|
|
10721
|
-
exports.ContainerDependencyApiAxiosParamCreator = ContainerDependencyApiAxiosParamCreator;
|
|
10722
|
-
/**
|
|
10723
|
-
* ContainerDependencyApi - functional programming interface
|
|
10724
|
-
* @export
|
|
10725
|
-
*/
|
|
10726
|
-
const ContainerDependencyApiFp = function (configuration) {
|
|
10727
|
-
const localVarAxiosParamCreator = (0, exports.ContainerDependencyApiAxiosParamCreator)(configuration);
|
|
10728
|
-
return {
|
|
10729
|
-
/**
|
|
10730
|
-
* Add container dependency to this container to prevent this container starting before the linked dependencies
|
|
10731
|
-
* @summary Add container dependency to this application.
|
|
10732
|
-
* @param {string} containerId Container ID
|
|
10733
|
-
* @param {string} targetContainerId Target container ID
|
|
10734
|
-
* @param {*} [options] Override http request option.
|
|
10735
|
-
* @throws {RequiredError}
|
|
10736
|
-
*/
|
|
10737
|
-
createContainerDependency(containerId, targetContainerId, options) {
|
|
10738
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
10739
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.createContainerDependency(containerId, targetContainerId, options);
|
|
10740
|
-
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
10741
|
-
});
|
|
10742
|
-
},
|
|
10743
|
-
/**
|
|
10744
|
-
*
|
|
10745
|
-
* @summary List container dependencies
|
|
10746
|
-
* @param {string} containerId Container ID
|
|
10747
|
-
* @param {*} [options] Override http request option.
|
|
10748
|
-
* @throws {RequiredError}
|
|
10749
|
-
*/
|
|
10750
|
-
listContainerDependency(containerId, options) {
|
|
10751
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
10752
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listContainerDependency(containerId, options);
|
|
10753
|
-
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
10754
|
-
});
|
|
10755
|
-
},
|
|
10756
|
-
/**
|
|
10757
|
-
*
|
|
10758
|
-
* @summary Remove container dependency to this container.
|
|
10759
|
-
* @param {string} containerId Container ID
|
|
10760
|
-
* @param {*} [options] Override http request option.
|
|
10761
|
-
* @throws {RequiredError}
|
|
10762
|
-
*/
|
|
10763
|
-
removeContainerDependency(containerId, options) {
|
|
10764
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
10765
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.removeContainerDependency(containerId, options);
|
|
10766
|
-
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
10767
|
-
});
|
|
10768
|
-
},
|
|
10769
|
-
};
|
|
10770
|
-
};
|
|
10771
|
-
exports.ContainerDependencyApiFp = ContainerDependencyApiFp;
|
|
10772
|
-
/**
|
|
10773
|
-
* ContainerDependencyApi - factory interface
|
|
10774
|
-
* @export
|
|
10775
|
-
*/
|
|
10776
|
-
const ContainerDependencyApiFactory = function (configuration, basePath, axios) {
|
|
10777
|
-
const localVarFp = (0, exports.ContainerDependencyApiFp)(configuration);
|
|
10778
|
-
return {
|
|
10779
|
-
/**
|
|
10780
|
-
* Add container dependency to this container to prevent this container starting before the linked dependencies
|
|
10781
|
-
* @summary Add container dependency to this application.
|
|
10782
|
-
* @param {string} containerId Container ID
|
|
10783
|
-
* @param {string} targetContainerId Target container ID
|
|
10784
|
-
* @param {*} [options] Override http request option.
|
|
10785
|
-
* @throws {RequiredError}
|
|
10786
|
-
*/
|
|
10787
|
-
createContainerDependency(containerId, targetContainerId, options) {
|
|
10788
|
-
return localVarFp.createContainerDependency(containerId, targetContainerId, options).then((request) => request(axios, basePath));
|
|
10789
|
-
},
|
|
10790
|
-
/**
|
|
10791
|
-
*
|
|
10792
|
-
* @summary List container dependencies
|
|
10793
|
-
* @param {string} containerId Container ID
|
|
10794
|
-
* @param {*} [options] Override http request option.
|
|
10795
|
-
* @throws {RequiredError}
|
|
10796
|
-
*/
|
|
10797
|
-
listContainerDependency(containerId, options) {
|
|
10798
|
-
return localVarFp.listContainerDependency(containerId, options).then((request) => request(axios, basePath));
|
|
10799
|
-
},
|
|
10800
|
-
/**
|
|
10801
|
-
*
|
|
10802
|
-
* @summary Remove container dependency to this container.
|
|
10803
|
-
* @param {string} containerId Container ID
|
|
10804
|
-
* @param {*} [options] Override http request option.
|
|
10805
|
-
* @throws {RequiredError}
|
|
10806
|
-
*/
|
|
10807
|
-
removeContainerDependency(containerId, options) {
|
|
10808
|
-
return localVarFp.removeContainerDependency(containerId, options).then((request) => request(axios, basePath));
|
|
10809
|
-
},
|
|
10810
|
-
};
|
|
10811
|
-
};
|
|
10812
|
-
exports.ContainerDependencyApiFactory = ContainerDependencyApiFactory;
|
|
10813
|
-
/**
|
|
10814
|
-
* ContainerDependencyApi - object-oriented interface
|
|
10815
|
-
* @export
|
|
10816
|
-
* @class ContainerDependencyApi
|
|
10817
|
-
* @extends {BaseAPI}
|
|
10818
|
-
*/
|
|
10819
|
-
class ContainerDependencyApi extends base_1.BaseAPI {
|
|
10820
|
-
/**
|
|
10821
|
-
* Add container dependency to this container to prevent this container starting before the linked dependencies
|
|
10822
|
-
* @summary Add container dependency to this application.
|
|
10823
|
-
* @param {string} containerId Container ID
|
|
10824
|
-
* @param {string} targetContainerId Target container ID
|
|
10825
|
-
* @param {*} [options] Override http request option.
|
|
10826
|
-
* @throws {RequiredError}
|
|
10827
|
-
* @memberof ContainerDependencyApi
|
|
10828
|
-
*/
|
|
10829
|
-
createContainerDependency(containerId, targetContainerId, options) {
|
|
10830
|
-
return (0, exports.ContainerDependencyApiFp)(this.configuration).createContainerDependency(containerId, targetContainerId, options).then((request) => request(this.axios, this.basePath));
|
|
10831
|
-
}
|
|
10832
|
-
/**
|
|
10833
|
-
*
|
|
10834
|
-
* @summary List container dependencies
|
|
10835
|
-
* @param {string} containerId Container ID
|
|
10836
|
-
* @param {*} [options] Override http request option.
|
|
10837
|
-
* @throws {RequiredError}
|
|
10838
|
-
* @memberof ContainerDependencyApi
|
|
10839
|
-
*/
|
|
10840
|
-
listContainerDependency(containerId, options) {
|
|
10841
|
-
return (0, exports.ContainerDependencyApiFp)(this.configuration).listContainerDependency(containerId, options).then((request) => request(this.axios, this.basePath));
|
|
10842
|
-
}
|
|
10843
|
-
/**
|
|
10844
|
-
*
|
|
10845
|
-
* @summary Remove container dependency to this container.
|
|
10846
|
-
* @param {string} containerId Container ID
|
|
10847
|
-
* @param {*} [options] Override http request option.
|
|
10848
|
-
* @throws {RequiredError}
|
|
10849
|
-
* @memberof ContainerDependencyApi
|
|
10850
|
-
*/
|
|
10851
|
-
removeContainerDependency(containerId, options) {
|
|
10852
|
-
return (0, exports.ContainerDependencyApiFp)(this.configuration).removeContainerDependency(containerId, options).then((request) => request(this.axios, this.basePath));
|
|
10853
|
-
}
|
|
10854
|
-
}
|
|
10855
|
-
exports.ContainerDependencyApi = ContainerDependencyApi;
|
|
10856
10613
|
/**
|
|
10857
10614
|
* ContainerDeploymentHistoryApi - axios parameter creator
|
|
10858
10615
|
* @export
|
|
@@ -16363,27 +16120,56 @@ class DatabasesApi extends base_1.BaseAPI {
|
|
|
16363
16120
|
}
|
|
16364
16121
|
exports.DatabasesApi = DatabasesApi;
|
|
16365
16122
|
/**
|
|
16366
|
-
*
|
|
16123
|
+
* DeploymentStageMainCallsApi - axios parameter creator
|
|
16367
16124
|
* @export
|
|
16368
16125
|
*/
|
|
16369
|
-
const
|
|
16126
|
+
const DeploymentStageMainCallsApiAxiosParamCreator = function (configuration) {
|
|
16370
16127
|
return {
|
|
16371
16128
|
/**
|
|
16372
|
-
*
|
|
16373
|
-
* @summary
|
|
16374
|
-
* @param {string}
|
|
16375
|
-
* @param {string} targetApplicationId Target application ID
|
|
16129
|
+
*
|
|
16130
|
+
* @summary Attach service to deployment stage
|
|
16131
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
16376
16132
|
* @param {*} [options] Override http request option.
|
|
16377
16133
|
* @throws {RequiredError}
|
|
16378
16134
|
*/
|
|
16379
|
-
|
|
16380
|
-
// verify required parameter '
|
|
16381
|
-
(0, common_1.assertParamExists)('
|
|
16382
|
-
|
|
16383
|
-
|
|
16384
|
-
|
|
16385
|
-
|
|
16386
|
-
|
|
16135
|
+
attachServiceToDeploymentStage: (serviceId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
16136
|
+
// verify required parameter 'serviceId' is not null or undefined
|
|
16137
|
+
(0, common_1.assertParamExists)('attachServiceToDeploymentStage', 'serviceId', serviceId);
|
|
16138
|
+
const localVarPath = `/deploymentStage/{deploymentStageId}/service/{serviceId}`
|
|
16139
|
+
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
|
|
16140
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16141
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16142
|
+
let baseOptions;
|
|
16143
|
+
if (configuration) {
|
|
16144
|
+
baseOptions = configuration.baseOptions;
|
|
16145
|
+
}
|
|
16146
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
16147
|
+
const localVarHeaderParameter = {};
|
|
16148
|
+
const localVarQueryParameter = {};
|
|
16149
|
+
// authentication bearerAuth required
|
|
16150
|
+
// http bearer authentication required
|
|
16151
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
16152
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
16153
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16154
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
16155
|
+
return {
|
|
16156
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
16157
|
+
options: localVarRequestOptions,
|
|
16158
|
+
};
|
|
16159
|
+
}),
|
|
16160
|
+
/**
|
|
16161
|
+
*
|
|
16162
|
+
* @summary Create environment deployment stage
|
|
16163
|
+
* @param {string} environmentId Environment ID
|
|
16164
|
+
* @param {DeploymentStageRequest} [deploymentStageRequest]
|
|
16165
|
+
* @param {*} [options] Override http request option.
|
|
16166
|
+
* @throws {RequiredError}
|
|
16167
|
+
*/
|
|
16168
|
+
createEnvironmentDeploymentStage: (environmentId, deploymentStageRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
16169
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
16170
|
+
(0, common_1.assertParamExists)('createEnvironmentDeploymentStage', 'environmentId', environmentId);
|
|
16171
|
+
const localVarPath = `/environment/{environmentId}/deploymentStage`
|
|
16172
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
16387
16173
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16388
16174
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16389
16175
|
let baseOptions;
|
|
@@ -16396,9 +16182,11 @@ const DependencyApiAxiosParamCreator = function (configuration) {
|
|
|
16396
16182
|
// authentication bearerAuth required
|
|
16397
16183
|
// http bearer authentication required
|
|
16398
16184
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
16185
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16399
16186
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
16400
16187
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16401
16188
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
16189
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(deploymentStageRequest, localVarRequestOptions, configuration);
|
|
16402
16190
|
return {
|
|
16403
16191
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
16404
16192
|
options: localVarRequestOptions,
|
|
@@ -16406,16 +16194,79 @@ const DependencyApiAxiosParamCreator = function (configuration) {
|
|
|
16406
16194
|
}),
|
|
16407
16195
|
/**
|
|
16408
16196
|
*
|
|
16409
|
-
* @summary
|
|
16410
|
-
* @param {string} applicationId Application ID
|
|
16197
|
+
* @summary Delete deployment stage
|
|
16411
16198
|
* @param {*} [options] Override http request option.
|
|
16412
16199
|
* @throws {RequiredError}
|
|
16413
16200
|
*/
|
|
16414
|
-
|
|
16415
|
-
|
|
16416
|
-
|
|
16417
|
-
const
|
|
16418
|
-
|
|
16201
|
+
deleteDeploymentStage: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
16202
|
+
const localVarPath = `/deploymentStage/{deploymentStageId}`;
|
|
16203
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16204
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16205
|
+
let baseOptions;
|
|
16206
|
+
if (configuration) {
|
|
16207
|
+
baseOptions = configuration.baseOptions;
|
|
16208
|
+
}
|
|
16209
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
16210
|
+
const localVarHeaderParameter = {};
|
|
16211
|
+
const localVarQueryParameter = {};
|
|
16212
|
+
// authentication bearerAuth required
|
|
16213
|
+
// http bearer authentication required
|
|
16214
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
16215
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
16216
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16217
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
16218
|
+
return {
|
|
16219
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
16220
|
+
options: localVarRequestOptions,
|
|
16221
|
+
};
|
|
16222
|
+
}),
|
|
16223
|
+
/**
|
|
16224
|
+
*
|
|
16225
|
+
* @summary Edit deployment stage
|
|
16226
|
+
* @param {string} deploymentStageId Deployment Stage ID
|
|
16227
|
+
* @param {DeploymentStageRequest} [deploymentStageRequest]
|
|
16228
|
+
* @param {*} [options] Override http request option.
|
|
16229
|
+
* @throws {RequiredError}
|
|
16230
|
+
*/
|
|
16231
|
+
editDeploymentStage: (deploymentStageId, deploymentStageRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
16232
|
+
// verify required parameter 'deploymentStageId' is not null or undefined
|
|
16233
|
+
(0, common_1.assertParamExists)('editDeploymentStage', 'deploymentStageId', deploymentStageId);
|
|
16234
|
+
const localVarPath = `/deploymentStage/{deploymentStageId}`
|
|
16235
|
+
.replace(`{${"deploymentStageId"}}`, encodeURIComponent(String(deploymentStageId)));
|
|
16236
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16237
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16238
|
+
let baseOptions;
|
|
16239
|
+
if (configuration) {
|
|
16240
|
+
baseOptions = configuration.baseOptions;
|
|
16241
|
+
}
|
|
16242
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
16243
|
+
const localVarHeaderParameter = {};
|
|
16244
|
+
const localVarQueryParameter = {};
|
|
16245
|
+
// authentication bearerAuth required
|
|
16246
|
+
// http bearer authentication required
|
|
16247
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
16248
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16249
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
16250
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16251
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
16252
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(deploymentStageRequest, localVarRequestOptions, configuration);
|
|
16253
|
+
return {
|
|
16254
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
16255
|
+
options: localVarRequestOptions,
|
|
16256
|
+
};
|
|
16257
|
+
}),
|
|
16258
|
+
/**
|
|
16259
|
+
*
|
|
16260
|
+
* @summary List environment deployment stage
|
|
16261
|
+
* @param {string} environmentId Environment ID
|
|
16262
|
+
* @param {*} [options] Override http request option.
|
|
16263
|
+
* @throws {RequiredError}
|
|
16264
|
+
*/
|
|
16265
|
+
listEnvironmentDeploymentStage: (environmentId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
16266
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
16267
|
+
(0, common_1.assertParamExists)('listEnvironmentDeploymentStage', 'environmentId', environmentId);
|
|
16268
|
+
const localVarPath = `/environment/{environmentId}/deploymentStage`
|
|
16269
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
16419
16270
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16420
16271
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16421
16272
|
let baseOptions;
|
|
@@ -16438,27 +16289,23 @@ const DependencyApiAxiosParamCreator = function (configuration) {
|
|
|
16438
16289
|
}),
|
|
16439
16290
|
/**
|
|
16440
16291
|
*
|
|
16441
|
-
* @summary
|
|
16442
|
-
* @param {string}
|
|
16443
|
-
* @param {string} targetApplicationId Target application ID
|
|
16292
|
+
* @summary Move deployment stage before requested stage
|
|
16293
|
+
* @param {string} stageId Deployment Stage ID
|
|
16444
16294
|
* @param {*} [options] Override http request option.
|
|
16445
16295
|
* @throws {RequiredError}
|
|
16446
16296
|
*/
|
|
16447
|
-
|
|
16448
|
-
// verify required parameter '
|
|
16449
|
-
(0, common_1.assertParamExists)('
|
|
16450
|
-
|
|
16451
|
-
|
|
16452
|
-
const localVarPath = `/application/{applicationId}/dependency/{targetApplicationId}`
|
|
16453
|
-
.replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)))
|
|
16454
|
-
.replace(`{${"targetApplicationId"}}`, encodeURIComponent(String(targetApplicationId)));
|
|
16297
|
+
moveDeploymentStage: (stageId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
16298
|
+
// verify required parameter 'stageId' is not null or undefined
|
|
16299
|
+
(0, common_1.assertParamExists)('moveDeploymentStage', 'stageId', stageId);
|
|
16300
|
+
const localVarPath = `/deploymentStage/{deploymentStageId}/moveBefore/{stageId}`
|
|
16301
|
+
.replace(`{${"stageId"}}`, encodeURIComponent(String(stageId)));
|
|
16455
16302
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16456
16303
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16457
16304
|
let baseOptions;
|
|
16458
16305
|
if (configuration) {
|
|
16459
16306
|
baseOptions = configuration.baseOptions;
|
|
16460
16307
|
}
|
|
16461
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
16308
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
16462
16309
|
const localVarHeaderParameter = {};
|
|
16463
16310
|
const localVarQueryParameter = {};
|
|
16464
16311
|
// authentication bearerAuth required
|
|
@@ -16474,144 +16321,243 @@ const DependencyApiAxiosParamCreator = function (configuration) {
|
|
|
16474
16321
|
}),
|
|
16475
16322
|
};
|
|
16476
16323
|
};
|
|
16477
|
-
exports.
|
|
16324
|
+
exports.DeploymentStageMainCallsApiAxiosParamCreator = DeploymentStageMainCallsApiAxiosParamCreator;
|
|
16478
16325
|
/**
|
|
16479
|
-
*
|
|
16326
|
+
* DeploymentStageMainCallsApi - functional programming interface
|
|
16480
16327
|
* @export
|
|
16481
16328
|
*/
|
|
16482
|
-
const
|
|
16483
|
-
const localVarAxiosParamCreator = (0, exports.
|
|
16329
|
+
const DeploymentStageMainCallsApiFp = function (configuration) {
|
|
16330
|
+
const localVarAxiosParamCreator = (0, exports.DeploymentStageMainCallsApiAxiosParamCreator)(configuration);
|
|
16484
16331
|
return {
|
|
16485
16332
|
/**
|
|
16486
|
-
*
|
|
16487
|
-
* @summary
|
|
16488
|
-
* @param {string}
|
|
16489
|
-
* @param {string} targetApplicationId Target application ID
|
|
16333
|
+
*
|
|
16334
|
+
* @summary Attach service to deployment stage
|
|
16335
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
16490
16336
|
* @param {*} [options] Override http request option.
|
|
16491
16337
|
* @throws {RequiredError}
|
|
16492
16338
|
*/
|
|
16493
|
-
|
|
16339
|
+
attachServiceToDeploymentStage(serviceId, options) {
|
|
16494
16340
|
return __awaiter(this, void 0, void 0, function* () {
|
|
16495
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
16341
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.attachServiceToDeploymentStage(serviceId, options);
|
|
16496
16342
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
16497
16343
|
});
|
|
16498
16344
|
},
|
|
16499
16345
|
/**
|
|
16500
16346
|
*
|
|
16501
|
-
* @summary
|
|
16502
|
-
* @param {string}
|
|
16347
|
+
* @summary Create environment deployment stage
|
|
16348
|
+
* @param {string} environmentId Environment ID
|
|
16349
|
+
* @param {DeploymentStageRequest} [deploymentStageRequest]
|
|
16503
16350
|
* @param {*} [options] Override http request option.
|
|
16504
16351
|
* @throws {RequiredError}
|
|
16505
16352
|
*/
|
|
16506
|
-
|
|
16353
|
+
createEnvironmentDeploymentStage(environmentId, deploymentStageRequest, options) {
|
|
16507
16354
|
return __awaiter(this, void 0, void 0, function* () {
|
|
16508
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
16355
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createEnvironmentDeploymentStage(environmentId, deploymentStageRequest, options);
|
|
16509
16356
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
16510
16357
|
});
|
|
16511
16358
|
},
|
|
16512
16359
|
/**
|
|
16513
16360
|
*
|
|
16514
|
-
* @summary
|
|
16515
|
-
* @param {
|
|
16516
|
-
* @
|
|
16361
|
+
* @summary Delete deployment stage
|
|
16362
|
+
* @param {*} [options] Override http request option.
|
|
16363
|
+
* @throws {RequiredError}
|
|
16364
|
+
*/
|
|
16365
|
+
deleteDeploymentStage(options) {
|
|
16366
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
16367
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteDeploymentStage(options);
|
|
16368
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
16369
|
+
});
|
|
16370
|
+
},
|
|
16371
|
+
/**
|
|
16372
|
+
*
|
|
16373
|
+
* @summary Edit deployment stage
|
|
16374
|
+
* @param {string} deploymentStageId Deployment Stage ID
|
|
16375
|
+
* @param {DeploymentStageRequest} [deploymentStageRequest]
|
|
16376
|
+
* @param {*} [options] Override http request option.
|
|
16377
|
+
* @throws {RequiredError}
|
|
16378
|
+
*/
|
|
16379
|
+
editDeploymentStage(deploymentStageId, deploymentStageRequest, options) {
|
|
16380
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
16381
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.editDeploymentStage(deploymentStageId, deploymentStageRequest, options);
|
|
16382
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
16383
|
+
});
|
|
16384
|
+
},
|
|
16385
|
+
/**
|
|
16386
|
+
*
|
|
16387
|
+
* @summary List environment deployment stage
|
|
16388
|
+
* @param {string} environmentId Environment ID
|
|
16517
16389
|
* @param {*} [options] Override http request option.
|
|
16518
16390
|
* @throws {RequiredError}
|
|
16519
16391
|
*/
|
|
16520
|
-
|
|
16392
|
+
listEnvironmentDeploymentStage(environmentId, options) {
|
|
16521
16393
|
return __awaiter(this, void 0, void 0, function* () {
|
|
16522
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
16394
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listEnvironmentDeploymentStage(environmentId, options);
|
|
16395
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
16396
|
+
});
|
|
16397
|
+
},
|
|
16398
|
+
/**
|
|
16399
|
+
*
|
|
16400
|
+
* @summary Move deployment stage before requested stage
|
|
16401
|
+
* @param {string} stageId Deployment Stage ID
|
|
16402
|
+
* @param {*} [options] Override http request option.
|
|
16403
|
+
* @throws {RequiredError}
|
|
16404
|
+
*/
|
|
16405
|
+
moveDeploymentStage(stageId, options) {
|
|
16406
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
16407
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.moveDeploymentStage(stageId, options);
|
|
16523
16408
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
16524
16409
|
});
|
|
16525
16410
|
},
|
|
16526
16411
|
};
|
|
16527
16412
|
};
|
|
16528
|
-
exports.
|
|
16413
|
+
exports.DeploymentStageMainCallsApiFp = DeploymentStageMainCallsApiFp;
|
|
16529
16414
|
/**
|
|
16530
|
-
*
|
|
16415
|
+
* DeploymentStageMainCallsApi - factory interface
|
|
16531
16416
|
* @export
|
|
16532
16417
|
*/
|
|
16533
|
-
const
|
|
16534
|
-
const localVarFp = (0, exports.
|
|
16418
|
+
const DeploymentStageMainCallsApiFactory = function (configuration, basePath, axios) {
|
|
16419
|
+
const localVarFp = (0, exports.DeploymentStageMainCallsApiFp)(configuration);
|
|
16535
16420
|
return {
|
|
16536
16421
|
/**
|
|
16537
|
-
*
|
|
16538
|
-
* @summary
|
|
16539
|
-
* @param {string}
|
|
16540
|
-
* @param {string} targetApplicationId Target application ID
|
|
16422
|
+
*
|
|
16423
|
+
* @summary Attach service to deployment stage
|
|
16424
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
16541
16425
|
* @param {*} [options] Override http request option.
|
|
16542
16426
|
* @throws {RequiredError}
|
|
16543
16427
|
*/
|
|
16544
|
-
|
|
16545
|
-
return localVarFp.
|
|
16428
|
+
attachServiceToDeploymentStage(serviceId, options) {
|
|
16429
|
+
return localVarFp.attachServiceToDeploymentStage(serviceId, options).then((request) => request(axios, basePath));
|
|
16546
16430
|
},
|
|
16547
16431
|
/**
|
|
16548
16432
|
*
|
|
16549
|
-
* @summary
|
|
16550
|
-
* @param {string}
|
|
16433
|
+
* @summary Create environment deployment stage
|
|
16434
|
+
* @param {string} environmentId Environment ID
|
|
16435
|
+
* @param {DeploymentStageRequest} [deploymentStageRequest]
|
|
16551
16436
|
* @param {*} [options] Override http request option.
|
|
16552
16437
|
* @throws {RequiredError}
|
|
16553
16438
|
*/
|
|
16554
|
-
|
|
16555
|
-
return localVarFp.
|
|
16439
|
+
createEnvironmentDeploymentStage(environmentId, deploymentStageRequest, options) {
|
|
16440
|
+
return localVarFp.createEnvironmentDeploymentStage(environmentId, deploymentStageRequest, options).then((request) => request(axios, basePath));
|
|
16556
16441
|
},
|
|
16557
16442
|
/**
|
|
16558
16443
|
*
|
|
16559
|
-
* @summary
|
|
16560
|
-
* @param {
|
|
16561
|
-
* @
|
|
16444
|
+
* @summary Delete deployment stage
|
|
16445
|
+
* @param {*} [options] Override http request option.
|
|
16446
|
+
* @throws {RequiredError}
|
|
16447
|
+
*/
|
|
16448
|
+
deleteDeploymentStage(options) {
|
|
16449
|
+
return localVarFp.deleteDeploymentStage(options).then((request) => request(axios, basePath));
|
|
16450
|
+
},
|
|
16451
|
+
/**
|
|
16452
|
+
*
|
|
16453
|
+
* @summary Edit deployment stage
|
|
16454
|
+
* @param {string} deploymentStageId Deployment Stage ID
|
|
16455
|
+
* @param {DeploymentStageRequest} [deploymentStageRequest]
|
|
16456
|
+
* @param {*} [options] Override http request option.
|
|
16457
|
+
* @throws {RequiredError}
|
|
16458
|
+
*/
|
|
16459
|
+
editDeploymentStage(deploymentStageId, deploymentStageRequest, options) {
|
|
16460
|
+
return localVarFp.editDeploymentStage(deploymentStageId, deploymentStageRequest, options).then((request) => request(axios, basePath));
|
|
16461
|
+
},
|
|
16462
|
+
/**
|
|
16463
|
+
*
|
|
16464
|
+
* @summary List environment deployment stage
|
|
16465
|
+
* @param {string} environmentId Environment ID
|
|
16562
16466
|
* @param {*} [options] Override http request option.
|
|
16563
16467
|
* @throws {RequiredError}
|
|
16564
16468
|
*/
|
|
16565
|
-
|
|
16566
|
-
return localVarFp.
|
|
16469
|
+
listEnvironmentDeploymentStage(environmentId, options) {
|
|
16470
|
+
return localVarFp.listEnvironmentDeploymentStage(environmentId, options).then((request) => request(axios, basePath));
|
|
16471
|
+
},
|
|
16472
|
+
/**
|
|
16473
|
+
*
|
|
16474
|
+
* @summary Move deployment stage before requested stage
|
|
16475
|
+
* @param {string} stageId Deployment Stage ID
|
|
16476
|
+
* @param {*} [options] Override http request option.
|
|
16477
|
+
* @throws {RequiredError}
|
|
16478
|
+
*/
|
|
16479
|
+
moveDeploymentStage(stageId, options) {
|
|
16480
|
+
return localVarFp.moveDeploymentStage(stageId, options).then((request) => request(axios, basePath));
|
|
16567
16481
|
},
|
|
16568
16482
|
};
|
|
16569
16483
|
};
|
|
16570
|
-
exports.
|
|
16484
|
+
exports.DeploymentStageMainCallsApiFactory = DeploymentStageMainCallsApiFactory;
|
|
16571
16485
|
/**
|
|
16572
|
-
*
|
|
16486
|
+
* DeploymentStageMainCallsApi - object-oriented interface
|
|
16573
16487
|
* @export
|
|
16574
|
-
* @class
|
|
16488
|
+
* @class DeploymentStageMainCallsApi
|
|
16575
16489
|
* @extends {BaseAPI}
|
|
16576
16490
|
*/
|
|
16577
|
-
class
|
|
16491
|
+
class DeploymentStageMainCallsApi extends base_1.BaseAPI {
|
|
16578
16492
|
/**
|
|
16579
|
-
*
|
|
16580
|
-
* @summary
|
|
16581
|
-
* @param {string}
|
|
16582
|
-
* @param {string} targetApplicationId Target application ID
|
|
16493
|
+
*
|
|
16494
|
+
* @summary Attach service to deployment stage
|
|
16495
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
16583
16496
|
* @param {*} [options] Override http request option.
|
|
16584
16497
|
* @throws {RequiredError}
|
|
16585
|
-
* @memberof
|
|
16498
|
+
* @memberof DeploymentStageMainCallsApi
|
|
16586
16499
|
*/
|
|
16587
|
-
|
|
16588
|
-
return (0, exports.
|
|
16500
|
+
attachServiceToDeploymentStage(serviceId, options) {
|
|
16501
|
+
return (0, exports.DeploymentStageMainCallsApiFp)(this.configuration).attachServiceToDeploymentStage(serviceId, options).then((request) => request(this.axios, this.basePath));
|
|
16589
16502
|
}
|
|
16590
16503
|
/**
|
|
16591
16504
|
*
|
|
16592
|
-
* @summary
|
|
16593
|
-
* @param {string}
|
|
16505
|
+
* @summary Create environment deployment stage
|
|
16506
|
+
* @param {string} environmentId Environment ID
|
|
16507
|
+
* @param {DeploymentStageRequest} [deploymentStageRequest]
|
|
16594
16508
|
* @param {*} [options] Override http request option.
|
|
16595
16509
|
* @throws {RequiredError}
|
|
16596
|
-
* @memberof
|
|
16510
|
+
* @memberof DeploymentStageMainCallsApi
|
|
16597
16511
|
*/
|
|
16598
|
-
|
|
16599
|
-
return (0, exports.
|
|
16512
|
+
createEnvironmentDeploymentStage(environmentId, deploymentStageRequest, options) {
|
|
16513
|
+
return (0, exports.DeploymentStageMainCallsApiFp)(this.configuration).createEnvironmentDeploymentStage(environmentId, deploymentStageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
16600
16514
|
}
|
|
16601
16515
|
/**
|
|
16602
16516
|
*
|
|
16603
|
-
* @summary
|
|
16604
|
-
* @param {
|
|
16605
|
-
* @
|
|
16517
|
+
* @summary Delete deployment stage
|
|
16518
|
+
* @param {*} [options] Override http request option.
|
|
16519
|
+
* @throws {RequiredError}
|
|
16520
|
+
* @memberof DeploymentStageMainCallsApi
|
|
16521
|
+
*/
|
|
16522
|
+
deleteDeploymentStage(options) {
|
|
16523
|
+
return (0, exports.DeploymentStageMainCallsApiFp)(this.configuration).deleteDeploymentStage(options).then((request) => request(this.axios, this.basePath));
|
|
16524
|
+
}
|
|
16525
|
+
/**
|
|
16526
|
+
*
|
|
16527
|
+
* @summary Edit deployment stage
|
|
16528
|
+
* @param {string} deploymentStageId Deployment Stage ID
|
|
16529
|
+
* @param {DeploymentStageRequest} [deploymentStageRequest]
|
|
16530
|
+
* @param {*} [options] Override http request option.
|
|
16531
|
+
* @throws {RequiredError}
|
|
16532
|
+
* @memberof DeploymentStageMainCallsApi
|
|
16533
|
+
*/
|
|
16534
|
+
editDeploymentStage(deploymentStageId, deploymentStageRequest, options) {
|
|
16535
|
+
return (0, exports.DeploymentStageMainCallsApiFp)(this.configuration).editDeploymentStage(deploymentStageId, deploymentStageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
16536
|
+
}
|
|
16537
|
+
/**
|
|
16538
|
+
*
|
|
16539
|
+
* @summary List environment deployment stage
|
|
16540
|
+
* @param {string} environmentId Environment ID
|
|
16606
16541
|
* @param {*} [options] Override http request option.
|
|
16607
16542
|
* @throws {RequiredError}
|
|
16608
|
-
* @memberof
|
|
16543
|
+
* @memberof DeploymentStageMainCallsApi
|
|
16609
16544
|
*/
|
|
16610
|
-
|
|
16611
|
-
return (0, exports.
|
|
16545
|
+
listEnvironmentDeploymentStage(environmentId, options) {
|
|
16546
|
+
return (0, exports.DeploymentStageMainCallsApiFp)(this.configuration).listEnvironmentDeploymentStage(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
16547
|
+
}
|
|
16548
|
+
/**
|
|
16549
|
+
*
|
|
16550
|
+
* @summary Move deployment stage before requested stage
|
|
16551
|
+
* @param {string} stageId Deployment Stage ID
|
|
16552
|
+
* @param {*} [options] Override http request option.
|
|
16553
|
+
* @throws {RequiredError}
|
|
16554
|
+
* @memberof DeploymentStageMainCallsApi
|
|
16555
|
+
*/
|
|
16556
|
+
moveDeploymentStage(stageId, options) {
|
|
16557
|
+
return (0, exports.DeploymentStageMainCallsApiFp)(this.configuration).moveDeploymentStage(stageId, options).then((request) => request(this.axios, this.basePath));
|
|
16612
16558
|
}
|
|
16613
16559
|
}
|
|
16614
|
-
exports.
|
|
16560
|
+
exports.DeploymentStageMainCallsApi = DeploymentStageMainCallsApi;
|
|
16615
16561
|
/**
|
|
16616
16562
|
* EnvironmentApi - axios parameter creator
|
|
16617
16563
|
* @export
|
|
@@ -17462,38 +17408,6 @@ const EnvironmentDeploymentRuleApiAxiosParamCreator = function (configuration) {
|
|
|
17462
17408
|
options: localVarRequestOptions,
|
|
17463
17409
|
};
|
|
17464
17410
|
}),
|
|
17465
|
-
/**
|
|
17466
|
-
*
|
|
17467
|
-
* @summary Get environment deployment rule
|
|
17468
|
-
* @param {string} environmentId Environment ID
|
|
17469
|
-
* @param {*} [options] Override http request option.
|
|
17470
|
-
* @throws {RequiredError}
|
|
17471
|
-
*/
|
|
17472
|
-
getEnvironmentDeploymentRule: (environmentId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
17473
|
-
// verify required parameter 'environmentId' is not null or undefined
|
|
17474
|
-
(0, common_1.assertParamExists)('getEnvironmentDeploymentRule', 'environmentId', environmentId);
|
|
17475
|
-
const localVarPath = `/environment/{environmentId}/deploymentRule`
|
|
17476
|
-
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
17477
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17478
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
17479
|
-
let baseOptions;
|
|
17480
|
-
if (configuration) {
|
|
17481
|
-
baseOptions = configuration.baseOptions;
|
|
17482
|
-
}
|
|
17483
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
17484
|
-
const localVarHeaderParameter = {};
|
|
17485
|
-
const localVarQueryParameter = {};
|
|
17486
|
-
// authentication bearerAuth required
|
|
17487
|
-
// http bearer authentication required
|
|
17488
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
17489
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
17490
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17491
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
17492
|
-
return {
|
|
17493
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
17494
|
-
options: localVarRequestOptions,
|
|
17495
|
-
};
|
|
17496
|
-
}),
|
|
17497
17411
|
};
|
|
17498
17412
|
};
|
|
17499
17413
|
exports.EnvironmentDeploymentRuleApiAxiosParamCreator = EnvironmentDeploymentRuleApiAxiosParamCreator;
|
|
@@ -17519,19 +17433,6 @@ const EnvironmentDeploymentRuleApiFp = function (configuration) {
|
|
|
17519
17433
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
17520
17434
|
});
|
|
17521
17435
|
},
|
|
17522
|
-
/**
|
|
17523
|
-
*
|
|
17524
|
-
* @summary Get environment deployment rule
|
|
17525
|
-
* @param {string} environmentId Environment ID
|
|
17526
|
-
* @param {*} [options] Override http request option.
|
|
17527
|
-
* @throws {RequiredError}
|
|
17528
|
-
*/
|
|
17529
|
-
getEnvironmentDeploymentRule(environmentId, options) {
|
|
17530
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
17531
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getEnvironmentDeploymentRule(environmentId, options);
|
|
17532
|
-
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
17533
|
-
});
|
|
17534
|
-
},
|
|
17535
17436
|
};
|
|
17536
17437
|
};
|
|
17537
17438
|
exports.EnvironmentDeploymentRuleApiFp = EnvironmentDeploymentRuleApiFp;
|
|
@@ -17554,16 +17455,6 @@ const EnvironmentDeploymentRuleApiFactory = function (configuration, basePath, a
|
|
|
17554
17455
|
editEnvironmentDeploymentRule(environmentId, deploymentRuleId, environmentDeploymentRuleEditRequest, options) {
|
|
17555
17456
|
return localVarFp.editEnvironmentDeploymentRule(environmentId, deploymentRuleId, environmentDeploymentRuleEditRequest, options).then((request) => request(axios, basePath));
|
|
17556
17457
|
},
|
|
17557
|
-
/**
|
|
17558
|
-
*
|
|
17559
|
-
* @summary Get environment deployment rule
|
|
17560
|
-
* @param {string} environmentId Environment ID
|
|
17561
|
-
* @param {*} [options] Override http request option.
|
|
17562
|
-
* @throws {RequiredError}
|
|
17563
|
-
*/
|
|
17564
|
-
getEnvironmentDeploymentRule(environmentId, options) {
|
|
17565
|
-
return localVarFp.getEnvironmentDeploymentRule(environmentId, options).then((request) => request(axios, basePath));
|
|
17566
|
-
},
|
|
17567
17458
|
};
|
|
17568
17459
|
};
|
|
17569
17460
|
exports.EnvironmentDeploymentRuleApiFactory = EnvironmentDeploymentRuleApiFactory;
|
|
@@ -17587,17 +17478,6 @@ class EnvironmentDeploymentRuleApi extends base_1.BaseAPI {
|
|
|
17587
17478
|
editEnvironmentDeploymentRule(environmentId, deploymentRuleId, environmentDeploymentRuleEditRequest, options) {
|
|
17588
17479
|
return (0, exports.EnvironmentDeploymentRuleApiFp)(this.configuration).editEnvironmentDeploymentRule(environmentId, deploymentRuleId, environmentDeploymentRuleEditRequest, options).then((request) => request(this.axios, this.basePath));
|
|
17589
17480
|
}
|
|
17590
|
-
/**
|
|
17591
|
-
*
|
|
17592
|
-
* @summary Get environment deployment rule
|
|
17593
|
-
* @param {string} environmentId Environment ID
|
|
17594
|
-
* @param {*} [options] Override http request option.
|
|
17595
|
-
* @throws {RequiredError}
|
|
17596
|
-
* @memberof EnvironmentDeploymentRuleApi
|
|
17597
|
-
*/
|
|
17598
|
-
getEnvironmentDeploymentRule(environmentId, options) {
|
|
17599
|
-
return (0, exports.EnvironmentDeploymentRuleApiFp)(this.configuration).getEnvironmentDeploymentRule(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
17600
|
-
}
|
|
17601
17481
|
}
|
|
17602
17482
|
exports.EnvironmentDeploymentRuleApi = EnvironmentDeploymentRuleApi;
|
|
17603
17483
|
/**
|