qovery-typescript-axios 1.1.12 → 1.1.13
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 +827 -921
- package/dist/api.d.ts +623 -712
- package/dist/api.js +332 -351
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -22,18 +22,31 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.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.
|
|
29
|
-
exports.LogicalDatabaseApi = exports.LogicalDatabaseApiFactory = exports.LogicalDatabaseApiFp = exports.LogicalDatabaseApiAxiosParamCreator = 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.DependencyApi = exports.DependencyApiFactory = exports.DependencyApiFp =
|
|
30
|
-
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.OrganizationApiTokenApi = exports.OrganizationApiTokenApiFactory = exports.OrganizationApiTokenApiFp = exports.OrganizationApiTokenApiAxiosParamCreator = exports.OrganizationAccountGitRepositoriesApi = exports.OrganizationAccountGitRepositoriesApiFactory = exports.OrganizationAccountGitRepositoriesApiFp = exports.OrganizationAccountGitRepositoriesApiAxiosParamCreator = exports.MembersApi =
|
|
25
|
+
exports.ApplicationActionsApiFactory = exports.ApplicationActionsApiFp = exports.ApplicationActionsApiAxiosParamCreator = exports.AccountInfoApi = exports.AccountInfoApiFactory = exports.AccountInfoApiFp = exports.AccountInfoApiAxiosParamCreator = 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.OrganizationApiTokenScope = exports.LinkedServiceTypeEnum = exports.KubernetesEnum = 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.APIVariableScopeEnum = void 0;
|
|
26
|
+
exports.BillingApiAxiosParamCreator = exports.BackupsApi = exports.BackupsApiFactory = 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.ApplicationDatabaseApi = exports.ApplicationDatabaseApiFactory = exports.ApplicationDatabaseApiFp = exports.ApplicationDatabaseApiAxiosParamCreator = exports.ApplicationConfigurationApi = exports.ApplicationConfigurationApiFactory = exports.ApplicationConfigurationApiFp = exports.ApplicationConfigurationApiAxiosParamCreator = exports.ApplicationActionsApi = void 0;
|
|
27
|
+
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.ContainerDatabaseApi = exports.ContainerDatabaseApiFactory = exports.ContainerDatabaseApiFp = exports.ContainerDatabaseApiAxiosParamCreator = 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 = void 0;
|
|
28
|
+
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 = exports.ContainerMainCallsApi = void 0;
|
|
29
|
+
exports.MembersApiFactory = exports.MembersApiFp = exports.MembersApiAxiosParamCreator = exports.LogicalDatabaseApi = exports.LogicalDatabaseApiFactory = exports.LogicalDatabaseApiFp = exports.LogicalDatabaseApiAxiosParamCreator = 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.DependencyApi = exports.DependencyApiFactory = exports.DependencyApiFp = void 0;
|
|
30
|
+
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.OrganizationApiTokenApi = exports.OrganizationApiTokenApiFactory = exports.OrganizationApiTokenApiFp = exports.OrganizationApiTokenApiAxiosParamCreator = exports.OrganizationAccountGitRepositoriesApi = exports.OrganizationAccountGitRepositoriesApiFactory = exports.OrganizationAccountGitRepositoriesApiFp = exports.OrganizationAccountGitRepositoriesApiAxiosParamCreator = exports.MembersApi = void 0;
|
|
31
31
|
const axios_1 = require("axios");
|
|
32
32
|
// Some imports not used depending on template conditions
|
|
33
33
|
// @ts-ignore
|
|
34
34
|
const common_1 = require("./common");
|
|
35
35
|
// @ts-ignore
|
|
36
36
|
const base_1 = require("./base");
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @export
|
|
40
|
+
* @enum {string}
|
|
41
|
+
*/
|
|
42
|
+
var APIVariableScopeEnum;
|
|
43
|
+
(function (APIVariableScopeEnum) {
|
|
44
|
+
APIVariableScopeEnum["APPLICATION"] = "APPLICATION";
|
|
45
|
+
APIVariableScopeEnum["BUILT_IN"] = "BUILT_IN";
|
|
46
|
+
APIVariableScopeEnum["ENVIRONMENT"] = "ENVIRONMENT";
|
|
47
|
+
APIVariableScopeEnum["PROJECT"] = "PROJECT";
|
|
48
|
+
APIVariableScopeEnum["CONTAINER"] = "CONTAINER";
|
|
49
|
+
})(APIVariableScopeEnum = exports.APIVariableScopeEnum || (exports.APIVariableScopeEnum = {}));
|
|
37
50
|
/**
|
|
38
51
|
* @export
|
|
39
52
|
* @enum {string}
|
|
@@ -158,18 +171,29 @@ var ContainerAdvancedSettingsLivenessProbeTypeEnum;
|
|
|
158
171
|
ContainerAdvancedSettingsLivenessProbeTypeEnum["HTTP"] = "HTTP";
|
|
159
172
|
})(ContainerAdvancedSettingsLivenessProbeTypeEnum = exports.ContainerAdvancedSettingsLivenessProbeTypeEnum || (exports.ContainerAdvancedSettingsLivenessProbeTypeEnum = {}));
|
|
160
173
|
/**
|
|
161
|
-
*
|
|
174
|
+
* The type of your container registry
|
|
162
175
|
* @export
|
|
163
176
|
* @enum {string}
|
|
164
177
|
*/
|
|
165
178
|
var ContainerRegistryKindEnum;
|
|
166
179
|
(function (ContainerRegistryKindEnum) {
|
|
167
180
|
ContainerRegistryKindEnum["ECR"] = "ECR";
|
|
168
|
-
ContainerRegistryKindEnum["DOCR"] = "DOCR";
|
|
169
181
|
ContainerRegistryKindEnum["SCALEWAY_CR"] = "SCALEWAY_CR";
|
|
170
182
|
ContainerRegistryKindEnum["DOCKER_HUB"] = "DOCKER_HUB";
|
|
171
183
|
ContainerRegistryKindEnum["PUBLIC_ECR"] = "PUBLIC_ECR";
|
|
184
|
+
ContainerRegistryKindEnum["DOCR"] = "DOCR";
|
|
172
185
|
})(ContainerRegistryKindEnum = exports.ContainerRegistryKindEnum || (exports.ContainerRegistryKindEnum = {}));
|
|
186
|
+
/**
|
|
187
|
+
*
|
|
188
|
+
* @export
|
|
189
|
+
* @enum {string}
|
|
190
|
+
*/
|
|
191
|
+
var CreateEnvironmentModeEnum;
|
|
192
|
+
(function (CreateEnvironmentModeEnum) {
|
|
193
|
+
CreateEnvironmentModeEnum["DEVELOPMENT"] = "DEVELOPMENT";
|
|
194
|
+
CreateEnvironmentModeEnum["PRODUCTION"] = "PRODUCTION";
|
|
195
|
+
CreateEnvironmentModeEnum["STAGING"] = "STAGING";
|
|
196
|
+
})(CreateEnvironmentModeEnum = exports.CreateEnvironmentModeEnum || (exports.CreateEnvironmentModeEnum = {}));
|
|
173
197
|
/**
|
|
174
198
|
*
|
|
175
199
|
* @export
|
|
@@ -263,19 +287,6 @@ var EnvironmentModeEnum;
|
|
|
263
287
|
EnvironmentModeEnum["PRODUCTION"] = "PRODUCTION";
|
|
264
288
|
EnvironmentModeEnum["STAGING"] = "STAGING";
|
|
265
289
|
})(EnvironmentModeEnum = exports.EnvironmentModeEnum || (exports.EnvironmentModeEnum = {}));
|
|
266
|
-
/**
|
|
267
|
-
*
|
|
268
|
-
* @export
|
|
269
|
-
* @enum {string}
|
|
270
|
-
*/
|
|
271
|
-
var EnvironmentVariableScopeEnum;
|
|
272
|
-
(function (EnvironmentVariableScopeEnum) {
|
|
273
|
-
EnvironmentVariableScopeEnum["APPLICATION"] = "APPLICATION";
|
|
274
|
-
EnvironmentVariableScopeEnum["BUILT_IN"] = "BUILT_IN";
|
|
275
|
-
EnvironmentVariableScopeEnum["ENVIRONMENT"] = "ENVIRONMENT";
|
|
276
|
-
EnvironmentVariableScopeEnum["PROJECT"] = "PROJECT";
|
|
277
|
-
EnvironmentVariableScopeEnum["CONTAINER"] = "CONTAINER";
|
|
278
|
-
})(EnvironmentVariableScopeEnum = exports.EnvironmentVariableScopeEnum || (exports.EnvironmentVariableScopeEnum = {}));
|
|
279
290
|
/**
|
|
280
291
|
*
|
|
281
292
|
* @export
|
|
@@ -4314,45 +4325,6 @@ const ApplicationSecretApiAxiosParamCreator = function (configuration) {
|
|
|
4314
4325
|
options: localVarRequestOptions,
|
|
4315
4326
|
};
|
|
4316
4327
|
}),
|
|
4317
|
-
/**
|
|
4318
|
-
* - Allows you to override at container level a secret that has a higher scope. - You only have to specify a value in the request body - The system will create a new secret at container level with the same key as the one corresponding to the secret id in the path - The response body will contain the newly created secret - Information regarding the overridden_secret will be exposed in the \"overridden_secret\" field of the newly created secret
|
|
4319
|
-
* @summary Create a secret override at the container level
|
|
4320
|
-
* @param {string} containerId Container ID
|
|
4321
|
-
* @param {string} secretId Secret ID
|
|
4322
|
-
* @param {Value} [value]
|
|
4323
|
-
* @param {*} [options] Override http request option.
|
|
4324
|
-
* @throws {RequiredError}
|
|
4325
|
-
*/
|
|
4326
|
-
createContainerSecretOverride: (containerId, secretId, value, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4327
|
-
// verify required parameter 'containerId' is not null or undefined
|
|
4328
|
-
(0, common_1.assertParamExists)('createContainerSecretOverride', 'containerId', containerId);
|
|
4329
|
-
// verify required parameter 'secretId' is not null or undefined
|
|
4330
|
-
(0, common_1.assertParamExists)('createContainerSecretOverride', 'secretId', secretId);
|
|
4331
|
-
const localVarPath = `/container/{containerId}/secret/{secretId}/override`
|
|
4332
|
-
.replace(`{${"containerId"}}`, encodeURIComponent(String(containerId)))
|
|
4333
|
-
.replace(`{${"secretId"}}`, encodeURIComponent(String(secretId)));
|
|
4334
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4335
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4336
|
-
let baseOptions;
|
|
4337
|
-
if (configuration) {
|
|
4338
|
-
baseOptions = configuration.baseOptions;
|
|
4339
|
-
}
|
|
4340
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
4341
|
-
const localVarHeaderParameter = {};
|
|
4342
|
-
const localVarQueryParameter = {};
|
|
4343
|
-
// authentication bearerAuth required
|
|
4344
|
-
// http bearer authentication required
|
|
4345
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
4346
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4347
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4348
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4349
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4350
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(value, localVarRequestOptions, configuration);
|
|
4351
|
-
return {
|
|
4352
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4353
|
-
options: localVarRequestOptions,
|
|
4354
|
-
};
|
|
4355
|
-
}),
|
|
4356
4328
|
/**
|
|
4357
4329
|
* - To delete a secret you must have the project user permission - You can\'t delete a BUILT_IN secret - If you delete a secret having override or alias, the associated override/alias will be deleted as well
|
|
4358
4330
|
* @summary Delete a secret from an application
|
|
@@ -4516,21 +4488,6 @@ const ApplicationSecretApiFp = function (configuration) {
|
|
|
4516
4488
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
4517
4489
|
});
|
|
4518
4490
|
},
|
|
4519
|
-
/**
|
|
4520
|
-
* - Allows you to override at container level a secret that has a higher scope. - You only have to specify a value in the request body - The system will create a new secret at container level with the same key as the one corresponding to the secret id in the path - The response body will contain the newly created secret - Information regarding the overridden_secret will be exposed in the \"overridden_secret\" field of the newly created secret
|
|
4521
|
-
* @summary Create a secret override at the container level
|
|
4522
|
-
* @param {string} containerId Container ID
|
|
4523
|
-
* @param {string} secretId Secret ID
|
|
4524
|
-
* @param {Value} [value]
|
|
4525
|
-
* @param {*} [options] Override http request option.
|
|
4526
|
-
* @throws {RequiredError}
|
|
4527
|
-
*/
|
|
4528
|
-
createContainerSecretOverride(containerId, secretId, value, options) {
|
|
4529
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
4530
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.createContainerSecretOverride(containerId, secretId, value, options);
|
|
4531
|
-
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
4532
|
-
});
|
|
4533
|
-
},
|
|
4534
4491
|
/**
|
|
4535
4492
|
* - To delete a secret you must have the project user permission - You can\'t delete a BUILT_IN secret - If you delete a secret having override or alias, the associated override/alias will be deleted as well
|
|
4536
4493
|
* @summary Delete a secret from an application
|
|
@@ -4618,18 +4575,6 @@ const ApplicationSecretApiFactory = function (configuration, basePath, axios) {
|
|
|
4618
4575
|
createApplicationSecretOverride(applicationId, secretId, value, options) {
|
|
4619
4576
|
return localVarFp.createApplicationSecretOverride(applicationId, secretId, value, options).then((request) => request(axios, basePath));
|
|
4620
4577
|
},
|
|
4621
|
-
/**
|
|
4622
|
-
* - Allows you to override at container level a secret that has a higher scope. - You only have to specify a value in the request body - The system will create a new secret at container level with the same key as the one corresponding to the secret id in the path - The response body will contain the newly created secret - Information regarding the overridden_secret will be exposed in the \"overridden_secret\" field of the newly created secret
|
|
4623
|
-
* @summary Create a secret override at the container level
|
|
4624
|
-
* @param {string} containerId Container ID
|
|
4625
|
-
* @param {string} secretId Secret ID
|
|
4626
|
-
* @param {Value} [value]
|
|
4627
|
-
* @param {*} [options] Override http request option.
|
|
4628
|
-
* @throws {RequiredError}
|
|
4629
|
-
*/
|
|
4630
|
-
createContainerSecretOverride(containerId, secretId, value, options) {
|
|
4631
|
-
return localVarFp.createContainerSecretOverride(containerId, secretId, value, options).then((request) => request(axios, basePath));
|
|
4632
|
-
},
|
|
4633
4578
|
/**
|
|
4634
4579
|
* - To delete a secret you must have the project user permission - You can\'t delete a BUILT_IN secret - If you delete a secret having override or alias, the associated override/alias will be deleted as well
|
|
4635
4580
|
* @summary Delete a secret from an application
|
|
@@ -4711,19 +4656,6 @@ class ApplicationSecretApi extends base_1.BaseAPI {
|
|
|
4711
4656
|
createApplicationSecretOverride(applicationId, secretId, value, options) {
|
|
4712
4657
|
return (0, exports.ApplicationSecretApiFp)(this.configuration).createApplicationSecretOverride(applicationId, secretId, value, options).then((request) => request(this.axios, this.basePath));
|
|
4713
4658
|
}
|
|
4714
|
-
/**
|
|
4715
|
-
* - Allows you to override at container level a secret that has a higher scope. - You only have to specify a value in the request body - The system will create a new secret at container level with the same key as the one corresponding to the secret id in the path - The response body will contain the newly created secret - Information regarding the overridden_secret will be exposed in the \"overridden_secret\" field of the newly created secret
|
|
4716
|
-
* @summary Create a secret override at the container level
|
|
4717
|
-
* @param {string} containerId Container ID
|
|
4718
|
-
* @param {string} secretId Secret ID
|
|
4719
|
-
* @param {Value} [value]
|
|
4720
|
-
* @param {*} [options] Override http request option.
|
|
4721
|
-
* @throws {RequiredError}
|
|
4722
|
-
* @memberof ApplicationSecretApi
|
|
4723
|
-
*/
|
|
4724
|
-
createContainerSecretOverride(containerId, secretId, value, options) {
|
|
4725
|
-
return (0, exports.ApplicationSecretApiFp)(this.configuration).createContainerSecretOverride(containerId, secretId, value, options).then((request) => request(this.axios, this.basePath));
|
|
4726
|
-
}
|
|
4727
4659
|
/**
|
|
4728
4660
|
* - To delete a secret you must have the project user permission - You can\'t delete a BUILT_IN secret - If you delete a secret having override or alias, the associated override/alias will be deleted as well
|
|
4729
4661
|
* @summary Delete a secret from an application
|
|
@@ -4838,41 +4770,6 @@ const ApplicationsApiAxiosParamCreator = function (configuration) {
|
|
|
4838
4770
|
options: localVarRequestOptions,
|
|
4839
4771
|
};
|
|
4840
4772
|
}),
|
|
4841
|
-
/**
|
|
4842
|
-
* Update and deploy the selected services
|
|
4843
|
-
* @summary Deploy services
|
|
4844
|
-
* @param {string} environmentId Environment ID
|
|
4845
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
4846
|
-
* @param {*} [options] Override http request option.
|
|
4847
|
-
* @throws {RequiredError}
|
|
4848
|
-
*/
|
|
4849
|
-
deployAllServices: (environmentId, deployAllRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
4850
|
-
// verify required parameter 'environmentId' is not null or undefined
|
|
4851
|
-
(0, common_1.assertParamExists)('deployAllServices', 'environmentId', environmentId);
|
|
4852
|
-
const localVarPath = `/environment/{environmentId}/container/deploy`
|
|
4853
|
-
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
4854
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4855
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
4856
|
-
let baseOptions;
|
|
4857
|
-
if (configuration) {
|
|
4858
|
-
baseOptions = configuration.baseOptions;
|
|
4859
|
-
}
|
|
4860
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
4861
|
-
const localVarHeaderParameter = {};
|
|
4862
|
-
const localVarQueryParameter = {};
|
|
4863
|
-
// authentication bearerAuth required
|
|
4864
|
-
// http bearer authentication required
|
|
4865
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
4866
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4867
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
4868
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4869
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
4870
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(deployAllRequest, localVarRequestOptions, configuration);
|
|
4871
|
-
return {
|
|
4872
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
4873
|
-
options: localVarRequestOptions,
|
|
4874
|
-
};
|
|
4875
|
-
}),
|
|
4876
4773
|
/**
|
|
4877
4774
|
*
|
|
4878
4775
|
* @summary List default application advanced settings
|
|
@@ -5099,20 +4996,6 @@ const ApplicationsApiFp = function (configuration) {
|
|
|
5099
4996
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
5100
4997
|
});
|
|
5101
4998
|
},
|
|
5102
|
-
/**
|
|
5103
|
-
* Update and deploy the selected services
|
|
5104
|
-
* @summary Deploy services
|
|
5105
|
-
* @param {string} environmentId Environment ID
|
|
5106
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
5107
|
-
* @param {*} [options] Override http request option.
|
|
5108
|
-
* @throws {RequiredError}
|
|
5109
|
-
*/
|
|
5110
|
-
deployAllServices(environmentId, deployAllRequest, options) {
|
|
5111
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
5112
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.deployAllServices(environmentId, deployAllRequest, options);
|
|
5113
|
-
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
5114
|
-
});
|
|
5115
|
-
},
|
|
5116
4999
|
/**
|
|
5117
5000
|
*
|
|
5118
5001
|
* @summary List default application advanced settings
|
|
@@ -5222,17 +5105,6 @@ const ApplicationsApiFactory = function (configuration, basePath, axios) {
|
|
|
5222
5105
|
deployAllApplications(environmentId, deployAllRequest, options) {
|
|
5223
5106
|
return localVarFp.deployAllApplications(environmentId, deployAllRequest, options).then((request) => request(axios, basePath));
|
|
5224
5107
|
},
|
|
5225
|
-
/**
|
|
5226
|
-
* Update and deploy the selected services
|
|
5227
|
-
* @summary Deploy services
|
|
5228
|
-
* @param {string} environmentId Environment ID
|
|
5229
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
5230
|
-
* @param {*} [options] Override http request option.
|
|
5231
|
-
* @throws {RequiredError}
|
|
5232
|
-
*/
|
|
5233
|
-
deployAllServices(environmentId, deployAllRequest, options) {
|
|
5234
|
-
return localVarFp.deployAllServices(environmentId, deployAllRequest, options).then((request) => request(axios, basePath));
|
|
5235
|
-
},
|
|
5236
5108
|
/**
|
|
5237
5109
|
*
|
|
5238
5110
|
* @summary List default application advanced settings
|
|
@@ -5326,18 +5198,6 @@ class ApplicationsApi extends base_1.BaseAPI {
|
|
|
5326
5198
|
deployAllApplications(environmentId, deployAllRequest, options) {
|
|
5327
5199
|
return (0, exports.ApplicationsApiFp)(this.configuration).deployAllApplications(environmentId, deployAllRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5328
5200
|
}
|
|
5329
|
-
/**
|
|
5330
|
-
* Update and deploy the selected services
|
|
5331
|
-
* @summary Deploy services
|
|
5332
|
-
* @param {string} environmentId Environment ID
|
|
5333
|
-
* @param {DeployAllRequest} [deployAllRequest]
|
|
5334
|
-
* @param {*} [options] Override http request option.
|
|
5335
|
-
* @throws {RequiredError}
|
|
5336
|
-
* @memberof ApplicationsApi
|
|
5337
|
-
*/
|
|
5338
|
-
deployAllServices(environmentId, deployAllRequest, options) {
|
|
5339
|
-
return (0, exports.ApplicationsApiFp)(this.configuration).deployAllServices(environmentId, deployAllRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5340
|
-
}
|
|
5341
5201
|
/**
|
|
5342
5202
|
*
|
|
5343
5203
|
* @summary List default application advanced settings
|
|
@@ -8587,11 +8447,11 @@ const ClustersApiAxiosParamCreator = function (configuration) {
|
|
|
8587
8447
|
* @summary Edit advanced settings
|
|
8588
8448
|
* @param {string} organizationId Organization ID
|
|
8589
8449
|
* @param {string} clusterId Cluster ID
|
|
8590
|
-
* @param {
|
|
8450
|
+
* @param {ClusterAdvancedSettings} [clusterAdvancedSettings]
|
|
8591
8451
|
* @param {*} [options] Override http request option.
|
|
8592
8452
|
* @throws {RequiredError}
|
|
8593
8453
|
*/
|
|
8594
|
-
editClusterAdvancedSettings: (organizationId, clusterId,
|
|
8454
|
+
editClusterAdvancedSettings: (organizationId, clusterId, clusterAdvancedSettings, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
8595
8455
|
// verify required parameter 'organizationId' is not null or undefined
|
|
8596
8456
|
(0, common_1.assertParamExists)('editClusterAdvancedSettings', 'organizationId', organizationId);
|
|
8597
8457
|
// verify required parameter 'clusterId' is not null or undefined
|
|
@@ -8615,7 +8475,7 @@ const ClustersApiAxiosParamCreator = function (configuration) {
|
|
|
8615
8475
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8616
8476
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8617
8477
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
8618
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
8478
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(clusterAdvancedSettings, localVarRequestOptions, configuration);
|
|
8619
8479
|
return {
|
|
8620
8480
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
8621
8481
|
options: localVarRequestOptions,
|
|
@@ -9123,13 +8983,13 @@ const ClustersApiFp = function (configuration) {
|
|
|
9123
8983
|
* @summary Edit advanced settings
|
|
9124
8984
|
* @param {string} organizationId Organization ID
|
|
9125
8985
|
* @param {string} clusterId Cluster ID
|
|
9126
|
-
* @param {
|
|
8986
|
+
* @param {ClusterAdvancedSettings} [clusterAdvancedSettings]
|
|
9127
8987
|
* @param {*} [options] Override http request option.
|
|
9128
8988
|
* @throws {RequiredError}
|
|
9129
8989
|
*/
|
|
9130
|
-
editClusterAdvancedSettings(organizationId, clusterId,
|
|
8990
|
+
editClusterAdvancedSettings(organizationId, clusterId, clusterAdvancedSettings, options) {
|
|
9131
8991
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9132
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.editClusterAdvancedSettings(organizationId, clusterId,
|
|
8992
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.editClusterAdvancedSettings(organizationId, clusterId, clusterAdvancedSettings, options);
|
|
9133
8993
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
9134
8994
|
});
|
|
9135
8995
|
},
|
|
@@ -9361,12 +9221,12 @@ const ClustersApiFactory = function (configuration, basePath, axios) {
|
|
|
9361
9221
|
* @summary Edit advanced settings
|
|
9362
9222
|
* @param {string} organizationId Organization ID
|
|
9363
9223
|
* @param {string} clusterId Cluster ID
|
|
9364
|
-
* @param {
|
|
9224
|
+
* @param {ClusterAdvancedSettings} [clusterAdvancedSettings]
|
|
9365
9225
|
* @param {*} [options] Override http request option.
|
|
9366
9226
|
* @throws {RequiredError}
|
|
9367
9227
|
*/
|
|
9368
|
-
editClusterAdvancedSettings(organizationId, clusterId,
|
|
9369
|
-
return localVarFp.editClusterAdvancedSettings(organizationId, clusterId,
|
|
9228
|
+
editClusterAdvancedSettings(organizationId, clusterId, clusterAdvancedSettings, options) {
|
|
9229
|
+
return localVarFp.editClusterAdvancedSettings(organizationId, clusterId, clusterAdvancedSettings, options).then((request) => request(axios, basePath));
|
|
9370
9230
|
},
|
|
9371
9231
|
/**
|
|
9372
9232
|
* Edit routing table by returning updated table.
|
|
@@ -9564,13 +9424,13 @@ class ClustersApi extends base_1.BaseAPI {
|
|
|
9564
9424
|
* @summary Edit advanced settings
|
|
9565
9425
|
* @param {string} organizationId Organization ID
|
|
9566
9426
|
* @param {string} clusterId Cluster ID
|
|
9567
|
-
* @param {
|
|
9427
|
+
* @param {ClusterAdvancedSettings} [clusterAdvancedSettings]
|
|
9568
9428
|
* @param {*} [options] Override http request option.
|
|
9569
9429
|
* @throws {RequiredError}
|
|
9570
9430
|
* @memberof ClustersApi
|
|
9571
9431
|
*/
|
|
9572
|
-
editClusterAdvancedSettings(organizationId, clusterId,
|
|
9573
|
-
return (0, exports.ClustersApiFp)(this.configuration).editClusterAdvancedSettings(organizationId, clusterId,
|
|
9432
|
+
editClusterAdvancedSettings(organizationId, clusterId, clusterAdvancedSettings, options) {
|
|
9433
|
+
return (0, exports.ClustersApiFp)(this.configuration).editClusterAdvancedSettings(organizationId, clusterId, clusterAdvancedSettings, options).then((request) => request(this.axios, this.basePath));
|
|
9574
9434
|
}
|
|
9575
9435
|
/**
|
|
9576
9436
|
* Edit routing table by returning updated table.
|
|
@@ -11978,11 +11838,11 @@ const ContainerMainCallsApiAxiosParamCreator = function (configuration) {
|
|
|
11978
11838
|
* - To edit the container you must have the admin permission. - For port edition, if you provide a port id, we will update the corresponding port. If you don\'t we will create a new one. If you remove a port from the payload, we will delete it. - For storage edition, if you provide a storage id, we will update the corresponding storage. If you don\'t we will create a new one. If you remove a storage from the payload, we will delete it.
|
|
11979
11839
|
* @summary Edit container
|
|
11980
11840
|
* @param {string} containerId Container ID
|
|
11981
|
-
* @param {
|
|
11841
|
+
* @param {ContainerRequest} [containerRequest]
|
|
11982
11842
|
* @param {*} [options] Override http request option.
|
|
11983
11843
|
* @throws {RequiredError}
|
|
11984
11844
|
*/
|
|
11985
|
-
editContainer: (containerId,
|
|
11845
|
+
editContainer: (containerId, containerRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
11986
11846
|
// verify required parameter 'containerId' is not null or undefined
|
|
11987
11847
|
(0, common_1.assertParamExists)('editContainer', 'containerId', containerId);
|
|
11988
11848
|
const localVarPath = `/container/{containerId}`
|
|
@@ -12003,7 +11863,7 @@ const ContainerMainCallsApiAxiosParamCreator = function (configuration) {
|
|
|
12003
11863
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12004
11864
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12005
11865
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12006
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
11866
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(containerRequest, localVarRequestOptions, configuration);
|
|
12007
11867
|
return {
|
|
12008
11868
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12009
11869
|
options: localVarRequestOptions,
|
|
@@ -12132,13 +11992,13 @@ const ContainerMainCallsApiFp = function (configuration) {
|
|
|
12132
11992
|
* - To edit the container you must have the admin permission. - For port edition, if you provide a port id, we will update the corresponding port. If you don\'t we will create a new one. If you remove a port from the payload, we will delete it. - For storage edition, if you provide a storage id, we will update the corresponding storage. If you don\'t we will create a new one. If you remove a storage from the payload, we will delete it.
|
|
12133
11993
|
* @summary Edit container
|
|
12134
11994
|
* @param {string} containerId Container ID
|
|
12135
|
-
* @param {
|
|
11995
|
+
* @param {ContainerRequest} [containerRequest]
|
|
12136
11996
|
* @param {*} [options] Override http request option.
|
|
12137
11997
|
* @throws {RequiredError}
|
|
12138
11998
|
*/
|
|
12139
|
-
editContainer(containerId,
|
|
11999
|
+
editContainer(containerId, containerRequest, options) {
|
|
12140
12000
|
return __awaiter(this, void 0, void 0, function* () {
|
|
12141
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.editContainer(containerId,
|
|
12001
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.editContainer(containerId, containerRequest, options);
|
|
12142
12002
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
12143
12003
|
});
|
|
12144
12004
|
},
|
|
@@ -12205,12 +12065,12 @@ const ContainerMainCallsApiFactory = function (configuration, basePath, axios) {
|
|
|
12205
12065
|
* - To edit the container you must have the admin permission. - For port edition, if you provide a port id, we will update the corresponding port. If you don\'t we will create a new one. If you remove a port from the payload, we will delete it. - For storage edition, if you provide a storage id, we will update the corresponding storage. If you don\'t we will create a new one. If you remove a storage from the payload, we will delete it.
|
|
12206
12066
|
* @summary Edit container
|
|
12207
12067
|
* @param {string} containerId Container ID
|
|
12208
|
-
* @param {
|
|
12068
|
+
* @param {ContainerRequest} [containerRequest]
|
|
12209
12069
|
* @param {*} [options] Override http request option.
|
|
12210
12070
|
* @throws {RequiredError}
|
|
12211
12071
|
*/
|
|
12212
|
-
editContainer(containerId,
|
|
12213
|
-
return localVarFp.editContainer(containerId,
|
|
12072
|
+
editContainer(containerId, containerRequest, options) {
|
|
12073
|
+
return localVarFp.editContainer(containerId, containerRequest, options).then((request) => request(axios, basePath));
|
|
12214
12074
|
},
|
|
12215
12075
|
/**
|
|
12216
12076
|
*
|
|
@@ -12267,13 +12127,13 @@ class ContainerMainCallsApi extends base_1.BaseAPI {
|
|
|
12267
12127
|
* - To edit the container you must have the admin permission. - For port edition, if you provide a port id, we will update the corresponding port. If you don\'t we will create a new one. If you remove a port from the payload, we will delete it. - For storage edition, if you provide a storage id, we will update the corresponding storage. If you don\'t we will create a new one. If you remove a storage from the payload, we will delete it.
|
|
12268
12128
|
* @summary Edit container
|
|
12269
12129
|
* @param {string} containerId Container ID
|
|
12270
|
-
* @param {
|
|
12130
|
+
* @param {ContainerRequest} [containerRequest]
|
|
12271
12131
|
* @param {*} [options] Override http request option.
|
|
12272
12132
|
* @throws {RequiredError}
|
|
12273
12133
|
* @memberof ContainerMainCallsApi
|
|
12274
12134
|
*/
|
|
12275
|
-
editContainer(containerId,
|
|
12276
|
-
return (0, exports.ContainerMainCallsApiFp)(this.configuration).editContainer(containerId,
|
|
12135
|
+
editContainer(containerId, containerRequest, options) {
|
|
12136
|
+
return (0, exports.ContainerMainCallsApiFp)(this.configuration).editContainer(containerId, containerRequest, options).then((request) => request(this.axios, this.basePath));
|
|
12277
12137
|
}
|
|
12278
12138
|
/**
|
|
12279
12139
|
*
|
|
@@ -12591,14 +12451,18 @@ const ContainerRegistriesApiAxiosParamCreator = function (configuration) {
|
|
|
12591
12451
|
*
|
|
12592
12452
|
* @summary Delete a container registry
|
|
12593
12453
|
* @param {string} organizationId Organization ID
|
|
12454
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
12594
12455
|
* @param {*} [options] Override http request option.
|
|
12595
12456
|
* @throws {RequiredError}
|
|
12596
12457
|
*/
|
|
12597
|
-
deleteContainerRegistry: (organizationId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
12458
|
+
deleteContainerRegistry: (organizationId, containerRegistryId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
12598
12459
|
// verify required parameter 'organizationId' is not null or undefined
|
|
12599
12460
|
(0, common_1.assertParamExists)('deleteContainerRegistry', 'organizationId', organizationId);
|
|
12461
|
+
// verify required parameter 'containerRegistryId' is not null or undefined
|
|
12462
|
+
(0, common_1.assertParamExists)('deleteContainerRegistry', 'containerRegistryId', containerRegistryId);
|
|
12600
12463
|
const localVarPath = `/organization/{organizationId}/containerRegistry/{containerRegistryId}`
|
|
12601
|
-
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
12464
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
12465
|
+
.replace(`{${"containerRegistryId"}}`, encodeURIComponent(String(containerRegistryId)));
|
|
12602
12466
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12603
12467
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12604
12468
|
let baseOptions;
|
|
@@ -12619,6 +12483,81 @@ const ContainerRegistriesApiAxiosParamCreator = function (configuration) {
|
|
|
12619
12483
|
options: localVarRequestOptions,
|
|
12620
12484
|
};
|
|
12621
12485
|
}),
|
|
12486
|
+
/**
|
|
12487
|
+
*
|
|
12488
|
+
* @summary Edit a container registry
|
|
12489
|
+
* @param {string} organizationId Organization ID
|
|
12490
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
12491
|
+
* @param {ContainerRegistryRequest} [containerRegistryRequest]
|
|
12492
|
+
* @param {*} [options] Override http request option.
|
|
12493
|
+
* @throws {RequiredError}
|
|
12494
|
+
*/
|
|
12495
|
+
editContainerRegistry: (organizationId, containerRegistryId, containerRegistryRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
12496
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
12497
|
+
(0, common_1.assertParamExists)('editContainerRegistry', 'organizationId', organizationId);
|
|
12498
|
+
// verify required parameter 'containerRegistryId' is not null or undefined
|
|
12499
|
+
(0, common_1.assertParamExists)('editContainerRegistry', 'containerRegistryId', containerRegistryId);
|
|
12500
|
+
const localVarPath = `/organization/{organizationId}/containerRegistry/{containerRegistryId}`
|
|
12501
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
12502
|
+
.replace(`{${"containerRegistryId"}}`, encodeURIComponent(String(containerRegistryId)));
|
|
12503
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12504
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12505
|
+
let baseOptions;
|
|
12506
|
+
if (configuration) {
|
|
12507
|
+
baseOptions = configuration.baseOptions;
|
|
12508
|
+
}
|
|
12509
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
|
|
12510
|
+
const localVarHeaderParameter = {};
|
|
12511
|
+
const localVarQueryParameter = {};
|
|
12512
|
+
// authentication bearerAuth required
|
|
12513
|
+
// http bearer authentication required
|
|
12514
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
12515
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12516
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12517
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12518
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12519
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(containerRegistryRequest, localVarRequestOptions, configuration);
|
|
12520
|
+
return {
|
|
12521
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12522
|
+
options: localVarRequestOptions,
|
|
12523
|
+
};
|
|
12524
|
+
}),
|
|
12525
|
+
/**
|
|
12526
|
+
*
|
|
12527
|
+
* @summary Get a container registry
|
|
12528
|
+
* @param {string} organizationId Organization ID
|
|
12529
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
12530
|
+
* @param {*} [options] Override http request option.
|
|
12531
|
+
* @throws {RequiredError}
|
|
12532
|
+
*/
|
|
12533
|
+
getContainerRegistry: (organizationId, containerRegistryId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
12534
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
12535
|
+
(0, common_1.assertParamExists)('getContainerRegistry', 'organizationId', organizationId);
|
|
12536
|
+
// verify required parameter 'containerRegistryId' is not null or undefined
|
|
12537
|
+
(0, common_1.assertParamExists)('getContainerRegistry', 'containerRegistryId', containerRegistryId);
|
|
12538
|
+
const localVarPath = `/organization/{organizationId}/containerRegistry/{containerRegistryId}`
|
|
12539
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
12540
|
+
.replace(`{${"containerRegistryId"}}`, encodeURIComponent(String(containerRegistryId)));
|
|
12541
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12542
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12543
|
+
let baseOptions;
|
|
12544
|
+
if (configuration) {
|
|
12545
|
+
baseOptions = configuration.baseOptions;
|
|
12546
|
+
}
|
|
12547
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
12548
|
+
const localVarHeaderParameter = {};
|
|
12549
|
+
const localVarQueryParameter = {};
|
|
12550
|
+
// authentication bearerAuth required
|
|
12551
|
+
// http bearer authentication required
|
|
12552
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
12553
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12554
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12555
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12556
|
+
return {
|
|
12557
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12558
|
+
options: localVarRequestOptions,
|
|
12559
|
+
};
|
|
12560
|
+
}),
|
|
12622
12561
|
/**
|
|
12623
12562
|
* List supported container registries by Qovery and get the mandatory authentification configuration.
|
|
12624
12563
|
* @summary List supported container registries
|
|
@@ -12707,12 +12646,42 @@ const ContainerRegistriesApiFp = function (configuration) {
|
|
|
12707
12646
|
*
|
|
12708
12647
|
* @summary Delete a container registry
|
|
12709
12648
|
* @param {string} organizationId Organization ID
|
|
12649
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
12650
|
+
* @param {*} [options] Override http request option.
|
|
12651
|
+
* @throws {RequiredError}
|
|
12652
|
+
*/
|
|
12653
|
+
deleteContainerRegistry(organizationId, containerRegistryId, options) {
|
|
12654
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
12655
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteContainerRegistry(organizationId, containerRegistryId, options);
|
|
12656
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
12657
|
+
});
|
|
12658
|
+
},
|
|
12659
|
+
/**
|
|
12660
|
+
*
|
|
12661
|
+
* @summary Edit a container registry
|
|
12662
|
+
* @param {string} organizationId Organization ID
|
|
12663
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
12664
|
+
* @param {ContainerRegistryRequest} [containerRegistryRequest]
|
|
12665
|
+
* @param {*} [options] Override http request option.
|
|
12666
|
+
* @throws {RequiredError}
|
|
12667
|
+
*/
|
|
12668
|
+
editContainerRegistry(organizationId, containerRegistryId, containerRegistryRequest, options) {
|
|
12669
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
12670
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.editContainerRegistry(organizationId, containerRegistryId, containerRegistryRequest, options);
|
|
12671
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
12672
|
+
});
|
|
12673
|
+
},
|
|
12674
|
+
/**
|
|
12675
|
+
*
|
|
12676
|
+
* @summary Get a container registry
|
|
12677
|
+
* @param {string} organizationId Organization ID
|
|
12678
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
12710
12679
|
* @param {*} [options] Override http request option.
|
|
12711
12680
|
* @throws {RequiredError}
|
|
12712
12681
|
*/
|
|
12713
|
-
|
|
12682
|
+
getContainerRegistry(organizationId, containerRegistryId, options) {
|
|
12714
12683
|
return __awaiter(this, void 0, void 0, function* () {
|
|
12715
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
12684
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getContainerRegistry(organizationId, containerRegistryId, options);
|
|
12716
12685
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
12717
12686
|
});
|
|
12718
12687
|
},
|
|
@@ -12766,11 +12735,35 @@ const ContainerRegistriesApiFactory = function (configuration, basePath, axios)
|
|
|
12766
12735
|
*
|
|
12767
12736
|
* @summary Delete a container registry
|
|
12768
12737
|
* @param {string} organizationId Organization ID
|
|
12738
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
12769
12739
|
* @param {*} [options] Override http request option.
|
|
12770
12740
|
* @throws {RequiredError}
|
|
12771
12741
|
*/
|
|
12772
|
-
deleteContainerRegistry(organizationId, options) {
|
|
12773
|
-
return localVarFp.deleteContainerRegistry(organizationId, options).then((request) => request(axios, basePath));
|
|
12742
|
+
deleteContainerRegistry(organizationId, containerRegistryId, options) {
|
|
12743
|
+
return localVarFp.deleteContainerRegistry(organizationId, containerRegistryId, options).then((request) => request(axios, basePath));
|
|
12744
|
+
},
|
|
12745
|
+
/**
|
|
12746
|
+
*
|
|
12747
|
+
* @summary Edit a container registry
|
|
12748
|
+
* @param {string} organizationId Organization ID
|
|
12749
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
12750
|
+
* @param {ContainerRegistryRequest} [containerRegistryRequest]
|
|
12751
|
+
* @param {*} [options] Override http request option.
|
|
12752
|
+
* @throws {RequiredError}
|
|
12753
|
+
*/
|
|
12754
|
+
editContainerRegistry(organizationId, containerRegistryId, containerRegistryRequest, options) {
|
|
12755
|
+
return localVarFp.editContainerRegistry(organizationId, containerRegistryId, containerRegistryRequest, options).then((request) => request(axios, basePath));
|
|
12756
|
+
},
|
|
12757
|
+
/**
|
|
12758
|
+
*
|
|
12759
|
+
* @summary Get a container registry
|
|
12760
|
+
* @param {string} organizationId Organization ID
|
|
12761
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
12762
|
+
* @param {*} [options] Override http request option.
|
|
12763
|
+
* @throws {RequiredError}
|
|
12764
|
+
*/
|
|
12765
|
+
getContainerRegistry(organizationId, containerRegistryId, options) {
|
|
12766
|
+
return localVarFp.getContainerRegistry(organizationId, containerRegistryId, options).then((request) => request(axios, basePath));
|
|
12774
12767
|
},
|
|
12775
12768
|
/**
|
|
12776
12769
|
* List supported container registries by Qovery and get the mandatory authentification configuration.
|
|
@@ -12817,12 +12810,38 @@ class ContainerRegistriesApi extends base_1.BaseAPI {
|
|
|
12817
12810
|
*
|
|
12818
12811
|
* @summary Delete a container registry
|
|
12819
12812
|
* @param {string} organizationId Organization ID
|
|
12813
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
12814
|
+
* @param {*} [options] Override http request option.
|
|
12815
|
+
* @throws {RequiredError}
|
|
12816
|
+
* @memberof ContainerRegistriesApi
|
|
12817
|
+
*/
|
|
12818
|
+
deleteContainerRegistry(organizationId, containerRegistryId, options) {
|
|
12819
|
+
return (0, exports.ContainerRegistriesApiFp)(this.configuration).deleteContainerRegistry(organizationId, containerRegistryId, options).then((request) => request(this.axios, this.basePath));
|
|
12820
|
+
}
|
|
12821
|
+
/**
|
|
12822
|
+
*
|
|
12823
|
+
* @summary Edit a container registry
|
|
12824
|
+
* @param {string} organizationId Organization ID
|
|
12825
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
12826
|
+
* @param {ContainerRegistryRequest} [containerRegistryRequest]
|
|
12827
|
+
* @param {*} [options] Override http request option.
|
|
12828
|
+
* @throws {RequiredError}
|
|
12829
|
+
* @memberof ContainerRegistriesApi
|
|
12830
|
+
*/
|
|
12831
|
+
editContainerRegistry(organizationId, containerRegistryId, containerRegistryRequest, options) {
|
|
12832
|
+
return (0, exports.ContainerRegistriesApiFp)(this.configuration).editContainerRegistry(organizationId, containerRegistryId, containerRegistryRequest, options).then((request) => request(this.axios, this.basePath));
|
|
12833
|
+
}
|
|
12834
|
+
/**
|
|
12835
|
+
*
|
|
12836
|
+
* @summary Get a container registry
|
|
12837
|
+
* @param {string} organizationId Organization ID
|
|
12838
|
+
* @param {string} containerRegistryId Container Registry ID
|
|
12820
12839
|
* @param {*} [options] Override http request option.
|
|
12821
12840
|
* @throws {RequiredError}
|
|
12822
12841
|
* @memberof ContainerRegistriesApi
|
|
12823
12842
|
*/
|
|
12824
|
-
|
|
12825
|
-
return (0, exports.ContainerRegistriesApiFp)(this.configuration).
|
|
12843
|
+
getContainerRegistry(organizationId, containerRegistryId, options) {
|
|
12844
|
+
return (0, exports.ContainerRegistriesApiFp)(this.configuration).getContainerRegistry(organizationId, containerRegistryId, options).then((request) => request(this.axios, this.basePath));
|
|
12826
12845
|
}
|
|
12827
12846
|
/**
|
|
12828
12847
|
* List supported container registries by Qovery and get the mandatory authentification configuration.
|
|
@@ -12848,35 +12867,31 @@ class ContainerRegistriesApi extends base_1.BaseAPI {
|
|
|
12848
12867
|
}
|
|
12849
12868
|
exports.ContainerRegistriesApi = ContainerRegistriesApi;
|
|
12850
12869
|
/**
|
|
12851
|
-
*
|
|
12870
|
+
* ContainerSecretApi - axios parameter creator
|
|
12852
12871
|
* @export
|
|
12853
12872
|
*/
|
|
12854
|
-
const
|
|
12873
|
+
const ContainerSecretApiAxiosParamCreator = function (configuration) {
|
|
12855
12874
|
return {
|
|
12856
12875
|
/**
|
|
12857
|
-
*
|
|
12858
|
-
* @summary
|
|
12859
|
-
* @param {string}
|
|
12860
|
-
* @param {
|
|
12861
|
-
* @param {ContainerRegistryRequest} [containerRegistryRequest]
|
|
12876
|
+
* - Add a secret to the container.
|
|
12877
|
+
* @summary Add a secret to the container
|
|
12878
|
+
* @param {string} containerId Container ID
|
|
12879
|
+
* @param {SecretRequest} [secretRequest]
|
|
12862
12880
|
* @param {*} [options] Override http request option.
|
|
12863
12881
|
* @throws {RequiredError}
|
|
12864
12882
|
*/
|
|
12865
|
-
|
|
12866
|
-
// verify required parameter '
|
|
12867
|
-
(0, common_1.assertParamExists)('
|
|
12868
|
-
|
|
12869
|
-
|
|
12870
|
-
const localVarPath = `/organization/{organizationId}/containerRegistry/{containerRegistryId}`
|
|
12871
|
-
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
|
|
12872
|
-
.replace(`{${"containerRegistryId"}}`, encodeURIComponent(String(containerRegistryId)));
|
|
12883
|
+
createContainerSecret: (containerId, secretRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
12884
|
+
// verify required parameter 'containerId' is not null or undefined
|
|
12885
|
+
(0, common_1.assertParamExists)('createContainerSecret', 'containerId', containerId);
|
|
12886
|
+
const localVarPath = `/container/{containerId}/secret`
|
|
12887
|
+
.replace(`{${"containerId"}}`, encodeURIComponent(String(containerId)));
|
|
12873
12888
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12874
12889
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12875
12890
|
let baseOptions;
|
|
12876
12891
|
if (configuration) {
|
|
12877
12892
|
baseOptions = configuration.baseOptions;
|
|
12878
12893
|
}
|
|
12879
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: '
|
|
12894
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
12880
12895
|
const localVarHeaderParameter = {};
|
|
12881
12896
|
const localVarQueryParameter = {};
|
|
12882
12897
|
// authentication bearerAuth required
|
|
@@ -12886,103 +12901,29 @@ const ContainerRegistryApiAxiosParamCreator = function (configuration) {
|
|
|
12886
12901
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
12887
12902
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12888
12903
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12889
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
12904
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(secretRequest, localVarRequestOptions, configuration);
|
|
12890
12905
|
return {
|
|
12891
12906
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
12892
12907
|
options: localVarRequestOptions,
|
|
12893
12908
|
};
|
|
12894
12909
|
}),
|
|
12895
|
-
};
|
|
12896
|
-
};
|
|
12897
|
-
exports.ContainerRegistryApiAxiosParamCreator = ContainerRegistryApiAxiosParamCreator;
|
|
12898
|
-
/**
|
|
12899
|
-
* ContainerRegistryApi - functional programming interface
|
|
12900
|
-
* @export
|
|
12901
|
-
*/
|
|
12902
|
-
const ContainerRegistryApiFp = function (configuration) {
|
|
12903
|
-
const localVarAxiosParamCreator = (0, exports.ContainerRegistryApiAxiosParamCreator)(configuration);
|
|
12904
|
-
return {
|
|
12905
12910
|
/**
|
|
12906
|
-
*
|
|
12907
|
-
* @summary
|
|
12908
|
-
* @param {string} organizationId Organization ID
|
|
12909
|
-
* @param {string} containerRegistryId Container Registry ID
|
|
12910
|
-
* @param {ContainerRegistryRequest} [containerRegistryRequest]
|
|
12911
|
-
* @param {*} [options] Override http request option.
|
|
12912
|
-
* @throws {RequiredError}
|
|
12913
|
-
*/
|
|
12914
|
-
editContainerRegistry(organizationId, containerRegistryId, containerRegistryRequest, options) {
|
|
12915
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
12916
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.editContainerRegistry(organizationId, containerRegistryId, containerRegistryRequest, options);
|
|
12917
|
-
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
12918
|
-
});
|
|
12919
|
-
},
|
|
12920
|
-
};
|
|
12921
|
-
};
|
|
12922
|
-
exports.ContainerRegistryApiFp = ContainerRegistryApiFp;
|
|
12923
|
-
/**
|
|
12924
|
-
* ContainerRegistryApi - factory interface
|
|
12925
|
-
* @export
|
|
12926
|
-
*/
|
|
12927
|
-
const ContainerRegistryApiFactory = function (configuration, basePath, axios) {
|
|
12928
|
-
const localVarFp = (0, exports.ContainerRegistryApiFp)(configuration);
|
|
12929
|
-
return {
|
|
12930
|
-
/**
|
|
12931
|
-
*
|
|
12932
|
-
* @summary Edit a container registry
|
|
12933
|
-
* @param {string} organizationId Organization ID
|
|
12934
|
-
* @param {string} containerRegistryId Container Registry ID
|
|
12935
|
-
* @param {ContainerRegistryRequest} [containerRegistryRequest]
|
|
12936
|
-
* @param {*} [options] Override http request option.
|
|
12937
|
-
* @throws {RequiredError}
|
|
12938
|
-
*/
|
|
12939
|
-
editContainerRegistry(organizationId, containerRegistryId, containerRegistryRequest, options) {
|
|
12940
|
-
return localVarFp.editContainerRegistry(organizationId, containerRegistryId, containerRegistryRequest, options).then((request) => request(axios, basePath));
|
|
12941
|
-
},
|
|
12942
|
-
};
|
|
12943
|
-
};
|
|
12944
|
-
exports.ContainerRegistryApiFactory = ContainerRegistryApiFactory;
|
|
12945
|
-
/**
|
|
12946
|
-
* ContainerRegistryApi - object-oriented interface
|
|
12947
|
-
* @export
|
|
12948
|
-
* @class ContainerRegistryApi
|
|
12949
|
-
* @extends {BaseAPI}
|
|
12950
|
-
*/
|
|
12951
|
-
class ContainerRegistryApi extends base_1.BaseAPI {
|
|
12952
|
-
/**
|
|
12953
|
-
*
|
|
12954
|
-
* @summary Edit a container registry
|
|
12955
|
-
* @param {string} organizationId Organization ID
|
|
12956
|
-
* @param {string} containerRegistryId Container Registry ID
|
|
12957
|
-
* @param {ContainerRegistryRequest} [containerRegistryRequest]
|
|
12958
|
-
* @param {*} [options] Override http request option.
|
|
12959
|
-
* @throws {RequiredError}
|
|
12960
|
-
* @memberof ContainerRegistryApi
|
|
12961
|
-
*/
|
|
12962
|
-
editContainerRegistry(organizationId, containerRegistryId, containerRegistryRequest, options) {
|
|
12963
|
-
return (0, exports.ContainerRegistryApiFp)(this.configuration).editContainerRegistry(organizationId, containerRegistryId, containerRegistryRequest, options).then((request) => request(this.axios, this.basePath));
|
|
12964
|
-
}
|
|
12965
|
-
}
|
|
12966
|
-
exports.ContainerRegistryApi = ContainerRegistryApi;
|
|
12967
|
-
/**
|
|
12968
|
-
* ContainerSecretApi - axios parameter creator
|
|
12969
|
-
* @export
|
|
12970
|
-
*/
|
|
12971
|
-
const ContainerSecretApiAxiosParamCreator = function (configuration) {
|
|
12972
|
-
return {
|
|
12973
|
-
/**
|
|
12974
|
-
* - Add a secret to the container.
|
|
12975
|
-
* @summary Add a secret to the container
|
|
12911
|
+
* - Allows you to add an alias at container level on an existing secret having higher scope, in order to customize its key. - You only have to specify a key in the request body - The system will create a new secret at container level with the same value as the one corresponding to the secret id in the path - The response body will contain the newly created secret - Information regarding the aliased_secret will be exposed in the \"aliased_secret\" field of the newly created secret - Only 1 alias level is allowed. You can\'t create an alias on an alias
|
|
12912
|
+
* @summary Create a secret alias at the container level
|
|
12976
12913
|
* @param {string} containerId Container ID
|
|
12977
|
-
* @param {
|
|
12914
|
+
* @param {string} secretId Secret ID
|
|
12915
|
+
* @param {Key} [key]
|
|
12978
12916
|
* @param {*} [options] Override http request option.
|
|
12979
12917
|
* @throws {RequiredError}
|
|
12980
12918
|
*/
|
|
12981
|
-
|
|
12919
|
+
createContainerSecretAlias: (containerId, secretId, key, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
12982
12920
|
// verify required parameter 'containerId' is not null or undefined
|
|
12983
|
-
(0, common_1.assertParamExists)('
|
|
12984
|
-
|
|
12985
|
-
|
|
12921
|
+
(0, common_1.assertParamExists)('createContainerSecretAlias', 'containerId', containerId);
|
|
12922
|
+
// verify required parameter 'secretId' is not null or undefined
|
|
12923
|
+
(0, common_1.assertParamExists)('createContainerSecretAlias', 'secretId', secretId);
|
|
12924
|
+
const localVarPath = `/container/{containerId}/secret/{secretId}/alias`
|
|
12925
|
+
.replace(`{${"containerId"}}`, encodeURIComponent(String(containerId)))
|
|
12926
|
+
.replace(`{${"secretId"}}`, encodeURIComponent(String(secretId)));
|
|
12986
12927
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12987
12928
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12988
12929
|
let baseOptions;
|
|
@@ -12999,27 +12940,27 @@ const ContainerSecretApiAxiosParamCreator = function (configuration) {
|
|
|
12999
12940
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13000
12941
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13001
12942
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13002
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
12943
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(key, localVarRequestOptions, configuration);
|
|
13003
12944
|
return {
|
|
13004
12945
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
13005
12946
|
options: localVarRequestOptions,
|
|
13006
12947
|
};
|
|
13007
12948
|
}),
|
|
13008
12949
|
/**
|
|
13009
|
-
* - Allows you to
|
|
13010
|
-
* @summary Create a secret
|
|
12950
|
+
* - Allows you to override at container level a secret that has a higher scope. - You only have to specify a value in the request body - The system will create a new secret at container level with the same key as the one corresponding to the secret id in the path - The response body will contain the newly created secret - Information regarding the overridden_secret will be exposed in the \"overridden_secret\" field of the newly created secret
|
|
12951
|
+
* @summary Create a secret override at the container level
|
|
13011
12952
|
* @param {string} containerId Container ID
|
|
13012
12953
|
* @param {string} secretId Secret ID
|
|
13013
|
-
* @param {
|
|
12954
|
+
* @param {Value} [value]
|
|
13014
12955
|
* @param {*} [options] Override http request option.
|
|
13015
12956
|
* @throws {RequiredError}
|
|
13016
12957
|
*/
|
|
13017
|
-
|
|
12958
|
+
createContainerSecretOverride: (containerId, secretId, value, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
13018
12959
|
// verify required parameter 'containerId' is not null or undefined
|
|
13019
|
-
(0, common_1.assertParamExists)('
|
|
12960
|
+
(0, common_1.assertParamExists)('createContainerSecretOverride', 'containerId', containerId);
|
|
13020
12961
|
// verify required parameter 'secretId' is not null or undefined
|
|
13021
|
-
(0, common_1.assertParamExists)('
|
|
13022
|
-
const localVarPath = `/container/{containerId}/secret/{secretId}/
|
|
12962
|
+
(0, common_1.assertParamExists)('createContainerSecretOverride', 'secretId', secretId);
|
|
12963
|
+
const localVarPath = `/container/{containerId}/secret/{secretId}/override`
|
|
13023
12964
|
.replace(`{${"containerId"}}`, encodeURIComponent(String(containerId)))
|
|
13024
12965
|
.replace(`{${"secretId"}}`, encodeURIComponent(String(secretId)));
|
|
13025
12966
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -13038,7 +12979,7 @@ const ContainerSecretApiAxiosParamCreator = function (configuration) {
|
|
|
13038
12979
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13039
12980
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13040
12981
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13041
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
12982
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(value, localVarRequestOptions, configuration);
|
|
13042
12983
|
return {
|
|
13043
12984
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
13044
12985
|
options: localVarRequestOptions,
|
|
@@ -13192,6 +13133,21 @@ const ContainerSecretApiFp = function (configuration) {
|
|
|
13192
13133
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
13193
13134
|
});
|
|
13194
13135
|
},
|
|
13136
|
+
/**
|
|
13137
|
+
* - Allows you to override at container level a secret that has a higher scope. - You only have to specify a value in the request body - The system will create a new secret at container level with the same key as the one corresponding to the secret id in the path - The response body will contain the newly created secret - Information regarding the overridden_secret will be exposed in the \"overridden_secret\" field of the newly created secret
|
|
13138
|
+
* @summary Create a secret override at the container level
|
|
13139
|
+
* @param {string} containerId Container ID
|
|
13140
|
+
* @param {string} secretId Secret ID
|
|
13141
|
+
* @param {Value} [value]
|
|
13142
|
+
* @param {*} [options] Override http request option.
|
|
13143
|
+
* @throws {RequiredError}
|
|
13144
|
+
*/
|
|
13145
|
+
createContainerSecretOverride(containerId, secretId, value, options) {
|
|
13146
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
13147
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createContainerSecretOverride(containerId, secretId, value, options);
|
|
13148
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
13149
|
+
});
|
|
13150
|
+
},
|
|
13195
13151
|
/**
|
|
13196
13152
|
* - To delete a secret you must have the project user permission - You can\'t delete a BUILT_IN secret - If you delete a secret having override or alias, the associated override/alias will be deleted as well
|
|
13197
13153
|
* @summary Delete a secret from an container
|
|
@@ -13267,6 +13223,18 @@ const ContainerSecretApiFactory = function (configuration, basePath, axios) {
|
|
|
13267
13223
|
createContainerSecretAlias(containerId, secretId, key, options) {
|
|
13268
13224
|
return localVarFp.createContainerSecretAlias(containerId, secretId, key, options).then((request) => request(axios, basePath));
|
|
13269
13225
|
},
|
|
13226
|
+
/**
|
|
13227
|
+
* - Allows you to override at container level a secret that has a higher scope. - You only have to specify a value in the request body - The system will create a new secret at container level with the same key as the one corresponding to the secret id in the path - The response body will contain the newly created secret - Information regarding the overridden_secret will be exposed in the \"overridden_secret\" field of the newly created secret
|
|
13228
|
+
* @summary Create a secret override at the container level
|
|
13229
|
+
* @param {string} containerId Container ID
|
|
13230
|
+
* @param {string} secretId Secret ID
|
|
13231
|
+
* @param {Value} [value]
|
|
13232
|
+
* @param {*} [options] Override http request option.
|
|
13233
|
+
* @throws {RequiredError}
|
|
13234
|
+
*/
|
|
13235
|
+
createContainerSecretOverride(containerId, secretId, value, options) {
|
|
13236
|
+
return localVarFp.createContainerSecretOverride(containerId, secretId, value, options).then((request) => request(axios, basePath));
|
|
13237
|
+
},
|
|
13270
13238
|
/**
|
|
13271
13239
|
* - To delete a secret you must have the project user permission - You can\'t delete a BUILT_IN secret - If you delete a secret having override or alias, the associated override/alias will be deleted as well
|
|
13272
13240
|
* @summary Delete a secret from an container
|
|
@@ -13335,6 +13303,19 @@ class ContainerSecretApi extends base_1.BaseAPI {
|
|
|
13335
13303
|
createContainerSecretAlias(containerId, secretId, key, options) {
|
|
13336
13304
|
return (0, exports.ContainerSecretApiFp)(this.configuration).createContainerSecretAlias(containerId, secretId, key, options).then((request) => request(this.axios, this.basePath));
|
|
13337
13305
|
}
|
|
13306
|
+
/**
|
|
13307
|
+
* - Allows you to override at container level a secret that has a higher scope. - You only have to specify a value in the request body - The system will create a new secret at container level with the same key as the one corresponding to the secret id in the path - The response body will contain the newly created secret - Information regarding the overridden_secret will be exposed in the \"overridden_secret\" field of the newly created secret
|
|
13308
|
+
* @summary Create a secret override at the container level
|
|
13309
|
+
* @param {string} containerId Container ID
|
|
13310
|
+
* @param {string} secretId Secret ID
|
|
13311
|
+
* @param {Value} [value]
|
|
13312
|
+
* @param {*} [options] Override http request option.
|
|
13313
|
+
* @throws {RequiredError}
|
|
13314
|
+
* @memberof ContainerSecretApi
|
|
13315
|
+
*/
|
|
13316
|
+
createContainerSecretOverride(containerId, secretId, value, options) {
|
|
13317
|
+
return (0, exports.ContainerSecretApiFp)(this.configuration).createContainerSecretOverride(containerId, secretId, value, options).then((request) => request(this.axios, this.basePath));
|
|
13318
|
+
}
|
|
13338
13319
|
/**
|
|
13339
13320
|
* - To delete a secret you must have the project user permission - You can\'t delete a BUILT_IN secret - If you delete a secret having override or alias, the associated override/alias will be deleted as well
|
|
13340
13321
|
* @summary Delete a secret from an container
|
|
@@ -13383,11 +13364,11 @@ const ContainersApiAxiosParamCreator = function (configuration) {
|
|
|
13383
13364
|
* Triggers a new container deploy in each environment matching the following conditions - environment should have the auto-deploy enabled - the container should have the same image name and a different tag
|
|
13384
13365
|
* @summary Auto deploy containers
|
|
13385
13366
|
* @param {string} organizationId Organization ID
|
|
13386
|
-
* @param {
|
|
13367
|
+
* @param {InlineObject1} [inlineObject1]
|
|
13387
13368
|
* @param {*} [options] Override http request option.
|
|
13388
13369
|
* @throws {RequiredError}
|
|
13389
13370
|
*/
|
|
13390
|
-
autoDeployContainerEnvironments: (organizationId,
|
|
13371
|
+
autoDeployContainerEnvironments: (organizationId, inlineObject1, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
13391
13372
|
// verify required parameter 'organizationId' is not null or undefined
|
|
13392
13373
|
(0, common_1.assertParamExists)('autoDeployContainerEnvironments', 'organizationId', organizationId);
|
|
13393
13374
|
const localVarPath = `/organization/{organizationId}/container/deploy`
|
|
@@ -13408,7 +13389,7 @@ const ContainersApiAxiosParamCreator = function (configuration) {
|
|
|
13408
13389
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13409
13390
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13410
13391
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13411
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
13392
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(inlineObject1, localVarRequestOptions, configuration);
|
|
13412
13393
|
return {
|
|
13413
13394
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
13414
13395
|
options: localVarRequestOptions,
|
|
@@ -13620,11 +13601,11 @@ const ContainersApiAxiosParamCreator = function (configuration) {
|
|
|
13620
13601
|
* Triggers a new container preview for each environment matching the following conditions - preview environment feature should be enabled for the container - the container should have the same image name and a different tag
|
|
13621
13602
|
* @summary Preview container environments
|
|
13622
13603
|
* @param {string} organizationId Organization ID
|
|
13623
|
-
* @param {
|
|
13604
|
+
* @param {InlineObject2} [inlineObject2]
|
|
13624
13605
|
* @param {*} [options] Override http request option.
|
|
13625
13606
|
* @throws {RequiredError}
|
|
13626
13607
|
*/
|
|
13627
|
-
previewContainerEnvironments: (organizationId,
|
|
13608
|
+
previewContainerEnvironments: (organizationId, inlineObject2, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
13628
13609
|
// verify required parameter 'organizationId' is not null or undefined
|
|
13629
13610
|
(0, common_1.assertParamExists)('previewContainerEnvironments', 'organizationId', organizationId);
|
|
13630
13611
|
const localVarPath = `/organization/{organizationId}/container/preview`
|
|
@@ -13645,7 +13626,7 @@ const ContainersApiAxiosParamCreator = function (configuration) {
|
|
|
13645
13626
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
13646
13627
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13647
13628
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13648
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
13629
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(inlineObject2, localVarRequestOptions, configuration);
|
|
13649
13630
|
return {
|
|
13650
13631
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
13651
13632
|
options: localVarRequestOptions,
|
|
@@ -13665,13 +13646,13 @@ const ContainersApiFp = function (configuration) {
|
|
|
13665
13646
|
* Triggers a new container deploy in each environment matching the following conditions - environment should have the auto-deploy enabled - the container should have the same image name and a different tag
|
|
13666
13647
|
* @summary Auto deploy containers
|
|
13667
13648
|
* @param {string} organizationId Organization ID
|
|
13668
|
-
* @param {
|
|
13649
|
+
* @param {InlineObject1} [inlineObject1]
|
|
13669
13650
|
* @param {*} [options] Override http request option.
|
|
13670
13651
|
* @throws {RequiredError}
|
|
13671
13652
|
*/
|
|
13672
|
-
autoDeployContainerEnvironments(organizationId,
|
|
13653
|
+
autoDeployContainerEnvironments(organizationId, inlineObject1, options) {
|
|
13673
13654
|
return __awaiter(this, void 0, void 0, function* () {
|
|
13674
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.autoDeployContainerEnvironments(organizationId,
|
|
13655
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.autoDeployContainerEnvironments(organizationId, inlineObject1, options);
|
|
13675
13656
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
13676
13657
|
});
|
|
13677
13658
|
},
|
|
@@ -13760,13 +13741,13 @@ const ContainersApiFp = function (configuration) {
|
|
|
13760
13741
|
* Triggers a new container preview for each environment matching the following conditions - preview environment feature should be enabled for the container - the container should have the same image name and a different tag
|
|
13761
13742
|
* @summary Preview container environments
|
|
13762
13743
|
* @param {string} organizationId Organization ID
|
|
13763
|
-
* @param {
|
|
13744
|
+
* @param {InlineObject2} [inlineObject2]
|
|
13764
13745
|
* @param {*} [options] Override http request option.
|
|
13765
13746
|
* @throws {RequiredError}
|
|
13766
13747
|
*/
|
|
13767
|
-
previewContainerEnvironments(organizationId,
|
|
13748
|
+
previewContainerEnvironments(organizationId, inlineObject2, options) {
|
|
13768
13749
|
return __awaiter(this, void 0, void 0, function* () {
|
|
13769
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.previewContainerEnvironments(organizationId,
|
|
13750
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.previewContainerEnvironments(organizationId, inlineObject2, options);
|
|
13770
13751
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
13771
13752
|
});
|
|
13772
13753
|
},
|
|
@@ -13784,12 +13765,12 @@ const ContainersApiFactory = function (configuration, basePath, axios) {
|
|
|
13784
13765
|
* Triggers a new container deploy in each environment matching the following conditions - environment should have the auto-deploy enabled - the container should have the same image name and a different tag
|
|
13785
13766
|
* @summary Auto deploy containers
|
|
13786
13767
|
* @param {string} organizationId Organization ID
|
|
13787
|
-
* @param {
|
|
13768
|
+
* @param {InlineObject1} [inlineObject1]
|
|
13788
13769
|
* @param {*} [options] Override http request option.
|
|
13789
13770
|
* @throws {RequiredError}
|
|
13790
13771
|
*/
|
|
13791
|
-
autoDeployContainerEnvironments(organizationId,
|
|
13792
|
-
return localVarFp.autoDeployContainerEnvironments(organizationId,
|
|
13772
|
+
autoDeployContainerEnvironments(organizationId, inlineObject1, options) {
|
|
13773
|
+
return localVarFp.autoDeployContainerEnvironments(organizationId, inlineObject1, options).then((request) => request(axios, basePath));
|
|
13793
13774
|
},
|
|
13794
13775
|
/**
|
|
13795
13776
|
*
|
|
@@ -13858,12 +13839,12 @@ const ContainersApiFactory = function (configuration, basePath, axios) {
|
|
|
13858
13839
|
* Triggers a new container preview for each environment matching the following conditions - preview environment feature should be enabled for the container - the container should have the same image name and a different tag
|
|
13859
13840
|
* @summary Preview container environments
|
|
13860
13841
|
* @param {string} organizationId Organization ID
|
|
13861
|
-
* @param {
|
|
13842
|
+
* @param {InlineObject2} [inlineObject2]
|
|
13862
13843
|
* @param {*} [options] Override http request option.
|
|
13863
13844
|
* @throws {RequiredError}
|
|
13864
13845
|
*/
|
|
13865
|
-
previewContainerEnvironments(organizationId,
|
|
13866
|
-
return localVarFp.previewContainerEnvironments(organizationId,
|
|
13846
|
+
previewContainerEnvironments(organizationId, inlineObject2, options) {
|
|
13847
|
+
return localVarFp.previewContainerEnvironments(organizationId, inlineObject2, options).then((request) => request(axios, basePath));
|
|
13867
13848
|
},
|
|
13868
13849
|
};
|
|
13869
13850
|
};
|
|
@@ -13879,13 +13860,13 @@ class ContainersApi extends base_1.BaseAPI {
|
|
|
13879
13860
|
* Triggers a new container deploy in each environment matching the following conditions - environment should have the auto-deploy enabled - the container should have the same image name and a different tag
|
|
13880
13861
|
* @summary Auto deploy containers
|
|
13881
13862
|
* @param {string} organizationId Organization ID
|
|
13882
|
-
* @param {
|
|
13863
|
+
* @param {InlineObject1} [inlineObject1]
|
|
13883
13864
|
* @param {*} [options] Override http request option.
|
|
13884
13865
|
* @throws {RequiredError}
|
|
13885
13866
|
* @memberof ContainersApi
|
|
13886
13867
|
*/
|
|
13887
|
-
autoDeployContainerEnvironments(organizationId,
|
|
13888
|
-
return (0, exports.ContainersApiFp)(this.configuration).autoDeployContainerEnvironments(organizationId,
|
|
13868
|
+
autoDeployContainerEnvironments(organizationId, inlineObject1, options) {
|
|
13869
|
+
return (0, exports.ContainersApiFp)(this.configuration).autoDeployContainerEnvironments(organizationId, inlineObject1, options).then((request) => request(this.axios, this.basePath));
|
|
13889
13870
|
}
|
|
13890
13871
|
/**
|
|
13891
13872
|
*
|
|
@@ -13960,13 +13941,13 @@ class ContainersApi extends base_1.BaseAPI {
|
|
|
13960
13941
|
* Triggers a new container preview for each environment matching the following conditions - preview environment feature should be enabled for the container - the container should have the same image name and a different tag
|
|
13961
13942
|
* @summary Preview container environments
|
|
13962
13943
|
* @param {string} organizationId Organization ID
|
|
13963
|
-
* @param {
|
|
13944
|
+
* @param {InlineObject2} [inlineObject2]
|
|
13964
13945
|
* @param {*} [options] Override http request option.
|
|
13965
13946
|
* @throws {RequiredError}
|
|
13966
13947
|
* @memberof ContainersApi
|
|
13967
13948
|
*/
|
|
13968
|
-
previewContainerEnvironments(organizationId,
|
|
13969
|
-
return (0, exports.ContainersApiFp)(this.configuration).previewContainerEnvironments(organizationId,
|
|
13949
|
+
previewContainerEnvironments(organizationId, inlineObject2, options) {
|
|
13950
|
+
return (0, exports.ContainersApiFp)(this.configuration).previewContainerEnvironments(organizationId, inlineObject2, options).then((request) => request(this.axios, this.basePath));
|
|
13970
13951
|
}
|
|
13971
13952
|
}
|
|
13972
13953
|
exports.ContainersApi = ContainersApi;
|
|
@@ -18759,11 +18740,11 @@ const EnvironmentsApiAxiosParamCreator = function (configuration) {
|
|
|
18759
18740
|
*
|
|
18760
18741
|
* @summary Create an environment
|
|
18761
18742
|
* @param {string} projectId Project ID
|
|
18762
|
-
* @param {
|
|
18743
|
+
* @param {CreateEnvironmentRequest} [createEnvironmentRequest]
|
|
18763
18744
|
* @param {*} [options] Override http request option.
|
|
18764
18745
|
* @throws {RequiredError}
|
|
18765
18746
|
*/
|
|
18766
|
-
createEnvironment: (projectId,
|
|
18747
|
+
createEnvironment: (projectId, createEnvironmentRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
18767
18748
|
// verify required parameter 'projectId' is not null or undefined
|
|
18768
18749
|
(0, common_1.assertParamExists)('createEnvironment', 'projectId', projectId);
|
|
18769
18750
|
const localVarPath = `/project/{projectId}/environment`
|
|
@@ -18784,7 +18765,7 @@ const EnvironmentsApiAxiosParamCreator = function (configuration) {
|
|
|
18784
18765
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
18785
18766
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18786
18767
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
18787
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(
|
|
18768
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createEnvironmentRequest, localVarRequestOptions, configuration);
|
|
18788
18769
|
return {
|
|
18789
18770
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
18790
18771
|
options: localVarRequestOptions,
|
|
@@ -18900,13 +18881,13 @@ const EnvironmentsApiFp = function (configuration) {
|
|
|
18900
18881
|
*
|
|
18901
18882
|
* @summary Create an environment
|
|
18902
18883
|
* @param {string} projectId Project ID
|
|
18903
|
-
* @param {
|
|
18884
|
+
* @param {CreateEnvironmentRequest} [createEnvironmentRequest]
|
|
18904
18885
|
* @param {*} [options] Override http request option.
|
|
18905
18886
|
* @throws {RequiredError}
|
|
18906
18887
|
*/
|
|
18907
|
-
createEnvironment(projectId,
|
|
18888
|
+
createEnvironment(projectId, createEnvironmentRequest, options) {
|
|
18908
18889
|
return __awaiter(this, void 0, void 0, function* () {
|
|
18909
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.createEnvironment(projectId,
|
|
18890
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.createEnvironment(projectId, createEnvironmentRequest, options);
|
|
18910
18891
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
18911
18892
|
});
|
|
18912
18893
|
},
|
|
@@ -18963,12 +18944,12 @@ const EnvironmentsApiFactory = function (configuration, basePath, axios) {
|
|
|
18963
18944
|
*
|
|
18964
18945
|
* @summary Create an environment
|
|
18965
18946
|
* @param {string} projectId Project ID
|
|
18966
|
-
* @param {
|
|
18947
|
+
* @param {CreateEnvironmentRequest} [createEnvironmentRequest]
|
|
18967
18948
|
* @param {*} [options] Override http request option.
|
|
18968
18949
|
* @throws {RequiredError}
|
|
18969
18950
|
*/
|
|
18970
|
-
createEnvironment(projectId,
|
|
18971
|
-
return localVarFp.createEnvironment(projectId,
|
|
18951
|
+
createEnvironment(projectId, createEnvironmentRequest, options) {
|
|
18952
|
+
return localVarFp.createEnvironment(projectId, createEnvironmentRequest, options).then((request) => request(axios, basePath));
|
|
18972
18953
|
},
|
|
18973
18954
|
/**
|
|
18974
18955
|
* Returns a list of environment ids, and for each its total numberof services
|
|
@@ -19014,13 +18995,13 @@ class EnvironmentsApi extends base_1.BaseAPI {
|
|
|
19014
18995
|
*
|
|
19015
18996
|
* @summary Create an environment
|
|
19016
18997
|
* @param {string} projectId Project ID
|
|
19017
|
-
* @param {
|
|
18998
|
+
* @param {CreateEnvironmentRequest} [createEnvironmentRequest]
|
|
19018
18999
|
* @param {*} [options] Override http request option.
|
|
19019
19000
|
* @throws {RequiredError}
|
|
19020
19001
|
* @memberof EnvironmentsApi
|
|
19021
19002
|
*/
|
|
19022
|
-
createEnvironment(projectId,
|
|
19023
|
-
return (0, exports.EnvironmentsApiFp)(this.configuration).createEnvironment(projectId,
|
|
19003
|
+
createEnvironment(projectId, createEnvironmentRequest, options) {
|
|
19004
|
+
return (0, exports.EnvironmentsApiFp)(this.configuration).createEnvironment(projectId, createEnvironmentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
19024
19005
|
}
|
|
19025
19006
|
/**
|
|
19026
19007
|
* Returns a list of environment ids, and for each its total numberof services
|