qovery-typescript-axios 1.1.89 → 1.1.90
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 +763 -195
- package/dist/api.d.ts +396 -33
- package/dist/api.js +442 -69
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -26,9 +26,9 @@ exports.WeekdayEnum = exports.TypeOfUseEnum = exports.ThresholdMetricStatusEnum
|
|
|
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
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
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.
|
|
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 = exports.OrganizationMainCallsApiFactory = void 0;
|
|
29
|
+
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.DeploymentStageMainCallsApi = exports.DeploymentStageMainCallsApiFactory = exports.DeploymentStageMainCallsApiFp = exports.DeploymentStageMainCallsApiAxiosParamCreator = exports.DependencyApi = exports.DependencyApiFactory = void 0;
|
|
30
|
+
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 = exports.JobActionsApi = exports.JobActionsApiFactory = exports.JobActionsApiFp = exports.JobActionsApiAxiosParamCreator = 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 = exports.OrganizationMainCallsApiFp = exports.OrganizationMainCallsApiAxiosParamCreator = exports.OrganizationCustomRoleApi = exports.OrganizationCustomRoleApiFactory = void 0;
|
|
32
32
|
const axios_1 = require("axios");
|
|
33
33
|
// Some imports not used depending on template conditions
|
|
34
34
|
// @ts-ignore
|
|
@@ -16612,6 +16612,445 @@ class DependencyApi extends base_1.BaseAPI {
|
|
|
16612
16612
|
}
|
|
16613
16613
|
}
|
|
16614
16614
|
exports.DependencyApi = DependencyApi;
|
|
16615
|
+
/**
|
|
16616
|
+
* DeploymentStageMainCallsApi - axios parameter creator
|
|
16617
|
+
* @export
|
|
16618
|
+
*/
|
|
16619
|
+
const DeploymentStageMainCallsApiAxiosParamCreator = function (configuration) {
|
|
16620
|
+
return {
|
|
16621
|
+
/**
|
|
16622
|
+
*
|
|
16623
|
+
* @summary Attach service to deployment stage
|
|
16624
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
16625
|
+
* @param {*} [options] Override http request option.
|
|
16626
|
+
* @throws {RequiredError}
|
|
16627
|
+
*/
|
|
16628
|
+
attachServiceToDeploymentStage: (serviceId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
16629
|
+
// verify required parameter 'serviceId' is not null or undefined
|
|
16630
|
+
(0, common_1.assertParamExists)('attachServiceToDeploymentStage', 'serviceId', serviceId);
|
|
16631
|
+
const localVarPath = `/deploymentStage/{deploymentStageId}/service/{serviceId}`
|
|
16632
|
+
.replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
|
|
16633
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16634
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16635
|
+
let baseOptions;
|
|
16636
|
+
if (configuration) {
|
|
16637
|
+
baseOptions = configuration.baseOptions;
|
|
16638
|
+
}
|
|
16639
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
16640
|
+
const localVarHeaderParameter = {};
|
|
16641
|
+
const localVarQueryParameter = {};
|
|
16642
|
+
// authentication bearerAuth required
|
|
16643
|
+
// http bearer authentication required
|
|
16644
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
16645
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
16646
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16647
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
16648
|
+
return {
|
|
16649
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
16650
|
+
options: localVarRequestOptions,
|
|
16651
|
+
};
|
|
16652
|
+
}),
|
|
16653
|
+
/**
|
|
16654
|
+
*
|
|
16655
|
+
* @summary Create environment deployment stage
|
|
16656
|
+
* @param {string} environmentId Environment ID
|
|
16657
|
+
* @param {DeploymentStageRequest} [deploymentStageRequest]
|
|
16658
|
+
* @param {*} [options] Override http request option.
|
|
16659
|
+
* @throws {RequiredError}
|
|
16660
|
+
*/
|
|
16661
|
+
createEnvironmentDeploymentStage: (environmentId, deploymentStageRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
16662
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
16663
|
+
(0, common_1.assertParamExists)('createEnvironmentDeploymentStage', 'environmentId', environmentId);
|
|
16664
|
+
const localVarPath = `/environment/{environmentId}/deploymentStage`
|
|
16665
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
16666
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16667
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16668
|
+
let baseOptions;
|
|
16669
|
+
if (configuration) {
|
|
16670
|
+
baseOptions = configuration.baseOptions;
|
|
16671
|
+
}
|
|
16672
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
16673
|
+
const localVarHeaderParameter = {};
|
|
16674
|
+
const localVarQueryParameter = {};
|
|
16675
|
+
// authentication bearerAuth required
|
|
16676
|
+
// http bearer authentication required
|
|
16677
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
16678
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16679
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
16680
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16681
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
16682
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(deploymentStageRequest, localVarRequestOptions, configuration);
|
|
16683
|
+
return {
|
|
16684
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
16685
|
+
options: localVarRequestOptions,
|
|
16686
|
+
};
|
|
16687
|
+
}),
|
|
16688
|
+
/**
|
|
16689
|
+
*
|
|
16690
|
+
* @summary Delete deployment stage
|
|
16691
|
+
* @param {*} [options] Override http request option.
|
|
16692
|
+
* @throws {RequiredError}
|
|
16693
|
+
*/
|
|
16694
|
+
deleteDeploymentStage: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
16695
|
+
const localVarPath = `/deploymentStage/{deploymentStageId}`;
|
|
16696
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16697
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16698
|
+
let baseOptions;
|
|
16699
|
+
if (configuration) {
|
|
16700
|
+
baseOptions = configuration.baseOptions;
|
|
16701
|
+
}
|
|
16702
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
16703
|
+
const localVarHeaderParameter = {};
|
|
16704
|
+
const localVarQueryParameter = {};
|
|
16705
|
+
// authentication bearerAuth required
|
|
16706
|
+
// http bearer authentication required
|
|
16707
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
16708
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
16709
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16710
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
16711
|
+
return {
|
|
16712
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
16713
|
+
options: localVarRequestOptions,
|
|
16714
|
+
};
|
|
16715
|
+
}),
|
|
16716
|
+
/**
|
|
16717
|
+
*
|
|
16718
|
+
* @summary Edit deployment stage
|
|
16719
|
+
* @param {string} deploymentStageId Deployment Stage ID
|
|
16720
|
+
* @param {DeploymentStageRequest} [deploymentStageRequest]
|
|
16721
|
+
* @param {*} [options] Override http request option.
|
|
16722
|
+
* @throws {RequiredError}
|
|
16723
|
+
*/
|
|
16724
|
+
editDeploymentStage: (deploymentStageId, deploymentStageRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
16725
|
+
// verify required parameter 'deploymentStageId' is not null or undefined
|
|
16726
|
+
(0, common_1.assertParamExists)('editDeploymentStage', 'deploymentStageId', deploymentStageId);
|
|
16727
|
+
const localVarPath = `/deploymentStage/{deploymentStageId}`
|
|
16728
|
+
.replace(`{${"deploymentStageId"}}`, encodeURIComponent(String(deploymentStageId)));
|
|
16729
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16730
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16731
|
+
let baseOptions;
|
|
16732
|
+
if (configuration) {
|
|
16733
|
+
baseOptions = configuration.baseOptions;
|
|
16734
|
+
}
|
|
16735
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
16736
|
+
const localVarHeaderParameter = {};
|
|
16737
|
+
const localVarQueryParameter = {};
|
|
16738
|
+
// authentication bearerAuth required
|
|
16739
|
+
// http bearer authentication required
|
|
16740
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
16741
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16742
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
16743
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16744
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
16745
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(deploymentStageRequest, localVarRequestOptions, configuration);
|
|
16746
|
+
return {
|
|
16747
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
16748
|
+
options: localVarRequestOptions,
|
|
16749
|
+
};
|
|
16750
|
+
}),
|
|
16751
|
+
/**
|
|
16752
|
+
*
|
|
16753
|
+
* @summary List environment deployment stage
|
|
16754
|
+
* @param {string} environmentId Environment ID
|
|
16755
|
+
* @param {*} [options] Override http request option.
|
|
16756
|
+
* @throws {RequiredError}
|
|
16757
|
+
*/
|
|
16758
|
+
listEnvironmentDeploymentStage: (environmentId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
16759
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
16760
|
+
(0, common_1.assertParamExists)('listEnvironmentDeploymentStage', 'environmentId', environmentId);
|
|
16761
|
+
const localVarPath = `/environment/{environmentId}/deploymentStage`
|
|
16762
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
16763
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16764
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16765
|
+
let baseOptions;
|
|
16766
|
+
if (configuration) {
|
|
16767
|
+
baseOptions = configuration.baseOptions;
|
|
16768
|
+
}
|
|
16769
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
16770
|
+
const localVarHeaderParameter = {};
|
|
16771
|
+
const localVarQueryParameter = {};
|
|
16772
|
+
// authentication bearerAuth required
|
|
16773
|
+
// http bearer authentication required
|
|
16774
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
16775
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
16776
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16777
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
16778
|
+
return {
|
|
16779
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
16780
|
+
options: localVarRequestOptions,
|
|
16781
|
+
};
|
|
16782
|
+
}),
|
|
16783
|
+
/**
|
|
16784
|
+
*
|
|
16785
|
+
* @summary Move deployment stage before requested stage
|
|
16786
|
+
* @param {string} stageId Deployment Stage ID
|
|
16787
|
+
* @param {*} [options] Override http request option.
|
|
16788
|
+
* @throws {RequiredError}
|
|
16789
|
+
*/
|
|
16790
|
+
moveDeploymentStage: (stageId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
16791
|
+
// verify required parameter 'stageId' is not null or undefined
|
|
16792
|
+
(0, common_1.assertParamExists)('moveDeploymentStage', 'stageId', stageId);
|
|
16793
|
+
const localVarPath = `/deploymentStage/{deploymentStageId}/moveBefore/{stageId}`
|
|
16794
|
+
.replace(`{${"stageId"}}`, encodeURIComponent(String(stageId)));
|
|
16795
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16796
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
16797
|
+
let baseOptions;
|
|
16798
|
+
if (configuration) {
|
|
16799
|
+
baseOptions = configuration.baseOptions;
|
|
16800
|
+
}
|
|
16801
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
16802
|
+
const localVarHeaderParameter = {};
|
|
16803
|
+
const localVarQueryParameter = {};
|
|
16804
|
+
// authentication bearerAuth required
|
|
16805
|
+
// http bearer authentication required
|
|
16806
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
16807
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
16808
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16809
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
16810
|
+
return {
|
|
16811
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
16812
|
+
options: localVarRequestOptions,
|
|
16813
|
+
};
|
|
16814
|
+
}),
|
|
16815
|
+
};
|
|
16816
|
+
};
|
|
16817
|
+
exports.DeploymentStageMainCallsApiAxiosParamCreator = DeploymentStageMainCallsApiAxiosParamCreator;
|
|
16818
|
+
/**
|
|
16819
|
+
* DeploymentStageMainCallsApi - functional programming interface
|
|
16820
|
+
* @export
|
|
16821
|
+
*/
|
|
16822
|
+
const DeploymentStageMainCallsApiFp = function (configuration) {
|
|
16823
|
+
const localVarAxiosParamCreator = (0, exports.DeploymentStageMainCallsApiAxiosParamCreator)(configuration);
|
|
16824
|
+
return {
|
|
16825
|
+
/**
|
|
16826
|
+
*
|
|
16827
|
+
* @summary Attach service to deployment stage
|
|
16828
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
16829
|
+
* @param {*} [options] Override http request option.
|
|
16830
|
+
* @throws {RequiredError}
|
|
16831
|
+
*/
|
|
16832
|
+
attachServiceToDeploymentStage(serviceId, options) {
|
|
16833
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
16834
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.attachServiceToDeploymentStage(serviceId, options);
|
|
16835
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
16836
|
+
});
|
|
16837
|
+
},
|
|
16838
|
+
/**
|
|
16839
|
+
*
|
|
16840
|
+
* @summary Create environment deployment stage
|
|
16841
|
+
* @param {string} environmentId Environment ID
|
|
16842
|
+
* @param {DeploymentStageRequest} [deploymentStageRequest]
|
|
16843
|
+
* @param {*} [options] Override http request option.
|
|
16844
|
+
* @throws {RequiredError}
|
|
16845
|
+
*/
|
|
16846
|
+
createEnvironmentDeploymentStage(environmentId, deploymentStageRequest, options) {
|
|
16847
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
16848
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createEnvironmentDeploymentStage(environmentId, deploymentStageRequest, options);
|
|
16849
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
16850
|
+
});
|
|
16851
|
+
},
|
|
16852
|
+
/**
|
|
16853
|
+
*
|
|
16854
|
+
* @summary Delete deployment stage
|
|
16855
|
+
* @param {*} [options] Override http request option.
|
|
16856
|
+
* @throws {RequiredError}
|
|
16857
|
+
*/
|
|
16858
|
+
deleteDeploymentStage(options) {
|
|
16859
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
16860
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteDeploymentStage(options);
|
|
16861
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
16862
|
+
});
|
|
16863
|
+
},
|
|
16864
|
+
/**
|
|
16865
|
+
*
|
|
16866
|
+
* @summary Edit deployment stage
|
|
16867
|
+
* @param {string} deploymentStageId Deployment Stage ID
|
|
16868
|
+
* @param {DeploymentStageRequest} [deploymentStageRequest]
|
|
16869
|
+
* @param {*} [options] Override http request option.
|
|
16870
|
+
* @throws {RequiredError}
|
|
16871
|
+
*/
|
|
16872
|
+
editDeploymentStage(deploymentStageId, deploymentStageRequest, options) {
|
|
16873
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
16874
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.editDeploymentStage(deploymentStageId, deploymentStageRequest, options);
|
|
16875
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
16876
|
+
});
|
|
16877
|
+
},
|
|
16878
|
+
/**
|
|
16879
|
+
*
|
|
16880
|
+
* @summary List environment deployment stage
|
|
16881
|
+
* @param {string} environmentId Environment ID
|
|
16882
|
+
* @param {*} [options] Override http request option.
|
|
16883
|
+
* @throws {RequiredError}
|
|
16884
|
+
*/
|
|
16885
|
+
listEnvironmentDeploymentStage(environmentId, options) {
|
|
16886
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
16887
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listEnvironmentDeploymentStage(environmentId, options);
|
|
16888
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
16889
|
+
});
|
|
16890
|
+
},
|
|
16891
|
+
/**
|
|
16892
|
+
*
|
|
16893
|
+
* @summary Move deployment stage before requested stage
|
|
16894
|
+
* @param {string} stageId Deployment Stage ID
|
|
16895
|
+
* @param {*} [options] Override http request option.
|
|
16896
|
+
* @throws {RequiredError}
|
|
16897
|
+
*/
|
|
16898
|
+
moveDeploymentStage(stageId, options) {
|
|
16899
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
16900
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.moveDeploymentStage(stageId, options);
|
|
16901
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
16902
|
+
});
|
|
16903
|
+
},
|
|
16904
|
+
};
|
|
16905
|
+
};
|
|
16906
|
+
exports.DeploymentStageMainCallsApiFp = DeploymentStageMainCallsApiFp;
|
|
16907
|
+
/**
|
|
16908
|
+
* DeploymentStageMainCallsApi - factory interface
|
|
16909
|
+
* @export
|
|
16910
|
+
*/
|
|
16911
|
+
const DeploymentStageMainCallsApiFactory = function (configuration, basePath, axios) {
|
|
16912
|
+
const localVarFp = (0, exports.DeploymentStageMainCallsApiFp)(configuration);
|
|
16913
|
+
return {
|
|
16914
|
+
/**
|
|
16915
|
+
*
|
|
16916
|
+
* @summary Attach service to deployment stage
|
|
16917
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
16918
|
+
* @param {*} [options] Override http request option.
|
|
16919
|
+
* @throws {RequiredError}
|
|
16920
|
+
*/
|
|
16921
|
+
attachServiceToDeploymentStage(serviceId, options) {
|
|
16922
|
+
return localVarFp.attachServiceToDeploymentStage(serviceId, options).then((request) => request(axios, basePath));
|
|
16923
|
+
},
|
|
16924
|
+
/**
|
|
16925
|
+
*
|
|
16926
|
+
* @summary Create environment deployment stage
|
|
16927
|
+
* @param {string} environmentId Environment ID
|
|
16928
|
+
* @param {DeploymentStageRequest} [deploymentStageRequest]
|
|
16929
|
+
* @param {*} [options] Override http request option.
|
|
16930
|
+
* @throws {RequiredError}
|
|
16931
|
+
*/
|
|
16932
|
+
createEnvironmentDeploymentStage(environmentId, deploymentStageRequest, options) {
|
|
16933
|
+
return localVarFp.createEnvironmentDeploymentStage(environmentId, deploymentStageRequest, options).then((request) => request(axios, basePath));
|
|
16934
|
+
},
|
|
16935
|
+
/**
|
|
16936
|
+
*
|
|
16937
|
+
* @summary Delete deployment stage
|
|
16938
|
+
* @param {*} [options] Override http request option.
|
|
16939
|
+
* @throws {RequiredError}
|
|
16940
|
+
*/
|
|
16941
|
+
deleteDeploymentStage(options) {
|
|
16942
|
+
return localVarFp.deleteDeploymentStage(options).then((request) => request(axios, basePath));
|
|
16943
|
+
},
|
|
16944
|
+
/**
|
|
16945
|
+
*
|
|
16946
|
+
* @summary Edit deployment stage
|
|
16947
|
+
* @param {string} deploymentStageId Deployment Stage ID
|
|
16948
|
+
* @param {DeploymentStageRequest} [deploymentStageRequest]
|
|
16949
|
+
* @param {*} [options] Override http request option.
|
|
16950
|
+
* @throws {RequiredError}
|
|
16951
|
+
*/
|
|
16952
|
+
editDeploymentStage(deploymentStageId, deploymentStageRequest, options) {
|
|
16953
|
+
return localVarFp.editDeploymentStage(deploymentStageId, deploymentStageRequest, options).then((request) => request(axios, basePath));
|
|
16954
|
+
},
|
|
16955
|
+
/**
|
|
16956
|
+
*
|
|
16957
|
+
* @summary List environment deployment stage
|
|
16958
|
+
* @param {string} environmentId Environment ID
|
|
16959
|
+
* @param {*} [options] Override http request option.
|
|
16960
|
+
* @throws {RequiredError}
|
|
16961
|
+
*/
|
|
16962
|
+
listEnvironmentDeploymentStage(environmentId, options) {
|
|
16963
|
+
return localVarFp.listEnvironmentDeploymentStage(environmentId, options).then((request) => request(axios, basePath));
|
|
16964
|
+
},
|
|
16965
|
+
/**
|
|
16966
|
+
*
|
|
16967
|
+
* @summary Move deployment stage before requested stage
|
|
16968
|
+
* @param {string} stageId Deployment Stage ID
|
|
16969
|
+
* @param {*} [options] Override http request option.
|
|
16970
|
+
* @throws {RequiredError}
|
|
16971
|
+
*/
|
|
16972
|
+
moveDeploymentStage(stageId, options) {
|
|
16973
|
+
return localVarFp.moveDeploymentStage(stageId, options).then((request) => request(axios, basePath));
|
|
16974
|
+
},
|
|
16975
|
+
};
|
|
16976
|
+
};
|
|
16977
|
+
exports.DeploymentStageMainCallsApiFactory = DeploymentStageMainCallsApiFactory;
|
|
16978
|
+
/**
|
|
16979
|
+
* DeploymentStageMainCallsApi - object-oriented interface
|
|
16980
|
+
* @export
|
|
16981
|
+
* @class DeploymentStageMainCallsApi
|
|
16982
|
+
* @extends {BaseAPI}
|
|
16983
|
+
*/
|
|
16984
|
+
class DeploymentStageMainCallsApi extends base_1.BaseAPI {
|
|
16985
|
+
/**
|
|
16986
|
+
*
|
|
16987
|
+
* @summary Attach service to deployment stage
|
|
16988
|
+
* @param {string} serviceId Service ID of an application/job/container/database
|
|
16989
|
+
* @param {*} [options] Override http request option.
|
|
16990
|
+
* @throws {RequiredError}
|
|
16991
|
+
* @memberof DeploymentStageMainCallsApi
|
|
16992
|
+
*/
|
|
16993
|
+
attachServiceToDeploymentStage(serviceId, options) {
|
|
16994
|
+
return (0, exports.DeploymentStageMainCallsApiFp)(this.configuration).attachServiceToDeploymentStage(serviceId, options).then((request) => request(this.axios, this.basePath));
|
|
16995
|
+
}
|
|
16996
|
+
/**
|
|
16997
|
+
*
|
|
16998
|
+
* @summary Create environment deployment stage
|
|
16999
|
+
* @param {string} environmentId Environment ID
|
|
17000
|
+
* @param {DeploymentStageRequest} [deploymentStageRequest]
|
|
17001
|
+
* @param {*} [options] Override http request option.
|
|
17002
|
+
* @throws {RequiredError}
|
|
17003
|
+
* @memberof DeploymentStageMainCallsApi
|
|
17004
|
+
*/
|
|
17005
|
+
createEnvironmentDeploymentStage(environmentId, deploymentStageRequest, options) {
|
|
17006
|
+
return (0, exports.DeploymentStageMainCallsApiFp)(this.configuration).createEnvironmentDeploymentStage(environmentId, deploymentStageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
17007
|
+
}
|
|
17008
|
+
/**
|
|
17009
|
+
*
|
|
17010
|
+
* @summary Delete deployment stage
|
|
17011
|
+
* @param {*} [options] Override http request option.
|
|
17012
|
+
* @throws {RequiredError}
|
|
17013
|
+
* @memberof DeploymentStageMainCallsApi
|
|
17014
|
+
*/
|
|
17015
|
+
deleteDeploymentStage(options) {
|
|
17016
|
+
return (0, exports.DeploymentStageMainCallsApiFp)(this.configuration).deleteDeploymentStage(options).then((request) => request(this.axios, this.basePath));
|
|
17017
|
+
}
|
|
17018
|
+
/**
|
|
17019
|
+
*
|
|
17020
|
+
* @summary Edit deployment stage
|
|
17021
|
+
* @param {string} deploymentStageId Deployment Stage ID
|
|
17022
|
+
* @param {DeploymentStageRequest} [deploymentStageRequest]
|
|
17023
|
+
* @param {*} [options] Override http request option.
|
|
17024
|
+
* @throws {RequiredError}
|
|
17025
|
+
* @memberof DeploymentStageMainCallsApi
|
|
17026
|
+
*/
|
|
17027
|
+
editDeploymentStage(deploymentStageId, deploymentStageRequest, options) {
|
|
17028
|
+
return (0, exports.DeploymentStageMainCallsApiFp)(this.configuration).editDeploymentStage(deploymentStageId, deploymentStageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
17029
|
+
}
|
|
17030
|
+
/**
|
|
17031
|
+
*
|
|
17032
|
+
* @summary List environment deployment stage
|
|
17033
|
+
* @param {string} environmentId Environment ID
|
|
17034
|
+
* @param {*} [options] Override http request option.
|
|
17035
|
+
* @throws {RequiredError}
|
|
17036
|
+
* @memberof DeploymentStageMainCallsApi
|
|
17037
|
+
*/
|
|
17038
|
+
listEnvironmentDeploymentStage(environmentId, options) {
|
|
17039
|
+
return (0, exports.DeploymentStageMainCallsApiFp)(this.configuration).listEnvironmentDeploymentStage(environmentId, options).then((request) => request(this.axios, this.basePath));
|
|
17040
|
+
}
|
|
17041
|
+
/**
|
|
17042
|
+
*
|
|
17043
|
+
* @summary Move deployment stage before requested stage
|
|
17044
|
+
* @param {string} stageId Deployment Stage ID
|
|
17045
|
+
* @param {*} [options] Override http request option.
|
|
17046
|
+
* @throws {RequiredError}
|
|
17047
|
+
* @memberof DeploymentStageMainCallsApi
|
|
17048
|
+
*/
|
|
17049
|
+
moveDeploymentStage(stageId, options) {
|
|
17050
|
+
return (0, exports.DeploymentStageMainCallsApiFp)(this.configuration).moveDeploymentStage(stageId, options).then((request) => request(this.axios, this.basePath));
|
|
17051
|
+
}
|
|
17052
|
+
}
|
|
17053
|
+
exports.DeploymentStageMainCallsApi = DeploymentStageMainCallsApi;
|
|
16615
17054
|
/**
|
|
16616
17055
|
* EnvironmentApi - axios parameter creator
|
|
16617
17056
|
* @export
|
|
@@ -17462,38 +17901,6 @@ const EnvironmentDeploymentRuleApiAxiosParamCreator = function (configuration) {
|
|
|
17462
17901
|
options: localVarRequestOptions,
|
|
17463
17902
|
};
|
|
17464
17903
|
}),
|
|
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
17904
|
};
|
|
17498
17905
|
};
|
|
17499
17906
|
exports.EnvironmentDeploymentRuleApiAxiosParamCreator = EnvironmentDeploymentRuleApiAxiosParamCreator;
|
|
@@ -17519,19 +17926,6 @@ const EnvironmentDeploymentRuleApiFp = function (configuration) {
|
|
|
17519
17926
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
17520
17927
|
});
|
|
17521
17928
|
},
|
|
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
17929
|
};
|
|
17536
17930
|
};
|
|
17537
17931
|
exports.EnvironmentDeploymentRuleApiFp = EnvironmentDeploymentRuleApiFp;
|
|
@@ -17554,16 +17948,6 @@ const EnvironmentDeploymentRuleApiFactory = function (configuration, basePath, a
|
|
|
17554
17948
|
editEnvironmentDeploymentRule(environmentId, deploymentRuleId, environmentDeploymentRuleEditRequest, options) {
|
|
17555
17949
|
return localVarFp.editEnvironmentDeploymentRule(environmentId, deploymentRuleId, environmentDeploymentRuleEditRequest, options).then((request) => request(axios, basePath));
|
|
17556
17950
|
},
|
|
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
17951
|
};
|
|
17568
17952
|
};
|
|
17569
17953
|
exports.EnvironmentDeploymentRuleApiFactory = EnvironmentDeploymentRuleApiFactory;
|
|
@@ -17587,17 +17971,6 @@ class EnvironmentDeploymentRuleApi extends base_1.BaseAPI {
|
|
|
17587
17971
|
editEnvironmentDeploymentRule(environmentId, deploymentRuleId, environmentDeploymentRuleEditRequest, options) {
|
|
17588
17972
|
return (0, exports.EnvironmentDeploymentRuleApiFp)(this.configuration).editEnvironmentDeploymentRule(environmentId, deploymentRuleId, environmentDeploymentRuleEditRequest, options).then((request) => request(this.axios, this.basePath));
|
|
17589
17973
|
}
|
|
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
17974
|
}
|
|
17602
17975
|
exports.EnvironmentDeploymentRuleApi = EnvironmentDeploymentRuleApi;
|
|
17603
17976
|
/**
|