qovery-typescript-axios 1.0.8 → 1.1.0
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 +1219 -319
- package/dist/api.d.ts +749 -238
- package/dist/api.js +813 -135
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -22,25 +22,17 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.ApplicationDatabaseApiFp = exports.ApplicationDatabaseApiAxiosParamCreator = exports.ApplicationConfigurationApi = exports.ApplicationConfigurationApiFactory = exports.ApplicationConfigurationApiFp = exports.ApplicationConfigurationApiAxiosParamCreator = exports.ApplicationActionsApi = exports.ApplicationActionsApiFactory = exports.ApplicationActionsApiFp = exports.ApplicationActionsApiAxiosParamCreator = exports.AccountInfoApi = exports.AccountInfoApiFactory = exports.AccountInfoApiFp = exports.AccountInfoApiAxiosParamCreator = exports.WeekdayEnum = exports.TypeOfUseEnum = exports.ThresholdMetricStatusEnum = exports.StorageTypeEnum = exports.ServiceTypeEnum = exports.ServiceDeploymentStatusEnum = exports.RewardClaimTypeEnum = exports.PortProtocolEnum = exports.PlanEnum = exports.OrganizationApiTokenScope = exports.InvoiceStatusEnum = exports.InviteStatusEnum = exports.InviteMemberRoleEnum = exports.HealthcheckProtocolEnum = exports.
|
|
26
|
-
exports.CloudProviderApi = exports.CloudProviderApiFactory = exports.CloudProviderApiFp = exports.CloudProviderApiAxiosParamCreator = exports.BillingApi = exports.BillingApiFactory = exports.BillingApiFp = 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 =
|
|
27
|
-
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 = 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.DatabaseApplicationApi = exports.DatabaseApplicationApiFactory = exports.DatabaseApplicationApiFp = exports.DatabaseApplicationApiAxiosParamCreator = exports.DatabaseActionsApi = exports.DatabaseActionsApiFactory = exports.DatabaseActionsApiFp = exports.DatabaseActionsApiAxiosParamCreator = exports.CustomDomainApi = exports.CustomDomainApiFactory = exports.CustomDomainApiFp = exports.CustomDomainApiAxiosParamCreator = exports.ClustersApi = exports.ClustersApiFactory = exports.ClustersApiFp = exports.ClustersApiAxiosParamCreator = exports.CloudProviderCredentialsApi =
|
|
28
|
-
exports.
|
|
29
|
-
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 = void 0;
|
|
25
|
+
exports.ApplicationDeploymentHistoryApiAxiosParamCreator = exports.ApplicationDatabaseApi = exports.ApplicationDatabaseApiFactory = exports.ApplicationDatabaseApiFp = exports.ApplicationDatabaseApiAxiosParamCreator = exports.ApplicationConfigurationApi = exports.ApplicationConfigurationApiFactory = exports.ApplicationConfigurationApiFp = exports.ApplicationConfigurationApiAxiosParamCreator = exports.ApplicationActionsApi = 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.OrganizationApiTokenScope = exports.InvoiceStatusEnum = exports.InviteStatusEnum = exports.InviteMemberRoleEnum = exports.HealthcheckProtocolEnum = exports.GitProviderEnum = exports.EnvironmentVariableScopeEnum = exports.EnvironmentModeEnum = exports.EnvironmentLogTypeEnum = exports.DeploymentRestrictionTypeEnum = exports.DeploymentRestrictionModeEnum = exports.DeploymentHistoryStatusEnum = exports.DatabaseTypeEnum = exports.DatabaseModeEnum = exports.DatabaseAccessibilityEnum = exports.CustomDomainAllOfStatusEnum = exports.CustomDomainStatusEnum = exports.CompanySizeEnum = exports.ClusterFeatureValueTypeEnum = exports.CloudProviderEnum = exports.BuildPackLanguageEnum = exports.BuildModeEnum = void 0;
|
|
26
|
+
exports.CloudProviderCredentialsApiFactory = exports.CloudProviderCredentialsApiFp = exports.CloudProviderCredentialsApiAxiosParamCreator = exports.CloudProviderApi = exports.CloudProviderApiFactory = exports.CloudProviderApiFp = exports.CloudProviderApiAxiosParamCreator = exports.BillingApi = exports.BillingApiFactory = exports.BillingApiFp = exports.BillingApiAxiosParamCreator = exports.BackupsApi = exports.BackupsApiFactory = 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 = void 0;
|
|
27
|
+
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 = 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.DatabaseApplicationApi = exports.DatabaseApplicationApiFactory = exports.DatabaseApplicationApiFp = exports.DatabaseApplicationApiAxiosParamCreator = exports.DatabaseActionsApi = exports.DatabaseActionsApiFactory = exports.DatabaseActionsApiFp = exports.DatabaseActionsApiAxiosParamCreator = exports.CustomDomainApi = exports.CustomDomainApiFactory = exports.CustomDomainApiFp = exports.CustomDomainApiAxiosParamCreator = exports.ClustersApi = exports.ClustersApiFactory = exports.ClustersApiFp = exports.ClustersApiAxiosParamCreator = exports.CloudProviderCredentialsApi = void 0;
|
|
28
|
+
exports.ProjectEnvironmentVariableApiFactory = exports.ProjectEnvironmentVariableApiFp = exports.ProjectEnvironmentVariableApiAxiosParamCreator = exports.ProjectDeploymentRuleApi = exports.ProjectDeploymentRuleApiFactory = exports.ProjectDeploymentRuleApiFp = exports.ProjectDeploymentRuleApiAxiosParamCreator = 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 = exports.MembersApiFactory = exports.MembersApiFp = exports.MembersApiAxiosParamCreator = exports.LogicalDatabaseApi = exports.LogicalDatabaseApiFactory = exports.LogicalDatabaseApiFp = exports.LogicalDatabaseApiAxiosParamCreator = 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 = void 0;
|
|
29
|
+
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 = void 0;
|
|
30
30
|
const axios_1 = require("axios");
|
|
31
31
|
// Some imports not used depending on template conditions
|
|
32
32
|
// @ts-ignore
|
|
33
33
|
const common_1 = require("./common");
|
|
34
34
|
// @ts-ignore
|
|
35
35
|
const base_1 = require("./base");
|
|
36
|
-
/**
|
|
37
|
-
* @export
|
|
38
|
-
* @enum {string}
|
|
39
|
-
*/
|
|
40
|
-
var ApplicationStorageRequestStorageTypeEnum;
|
|
41
|
-
(function (ApplicationStorageRequestStorageTypeEnum) {
|
|
42
|
-
ApplicationStorageRequestStorageTypeEnum["FAST_SSD"] = "FAST_SSD";
|
|
43
|
-
})(ApplicationStorageRequestStorageTypeEnum = exports.ApplicationStorageRequestStorageTypeEnum || (exports.ApplicationStorageRequestStorageTypeEnum = {}));
|
|
44
36
|
/**
|
|
45
37
|
* `DOCKER` requires `dockerfile_path` `BUILDPACKS` does not require any `dockerfile_path`
|
|
46
38
|
* @export
|
|
@@ -48,8 +40,8 @@ var ApplicationStorageRequestStorageTypeEnum;
|
|
|
48
40
|
*/
|
|
49
41
|
var BuildModeEnum;
|
|
50
42
|
(function (BuildModeEnum) {
|
|
51
|
-
BuildModeEnum["DOCKER"] = "DOCKER";
|
|
52
43
|
BuildModeEnum["BUILDPACKS"] = "BUILDPACKS";
|
|
44
|
+
BuildModeEnum["DOCKER"] = "DOCKER";
|
|
53
45
|
})(BuildModeEnum = exports.BuildModeEnum || (exports.BuildModeEnum = {}));
|
|
54
46
|
/**
|
|
55
47
|
* Development language of the application
|
|
@@ -81,40 +73,6 @@ var CloudProviderEnum;
|
|
|
81
73
|
CloudProviderEnum["DIGITAL_OCEAN"] = "DIGITAL_OCEAN";
|
|
82
74
|
CloudProviderEnum["SCALEWAY"] = "SCALEWAY";
|
|
83
75
|
})(CloudProviderEnum = exports.CloudProviderEnum || (exports.CloudProviderEnum = {}));
|
|
84
|
-
/**
|
|
85
|
-
* @export
|
|
86
|
-
* @enum {string}
|
|
87
|
-
*/
|
|
88
|
-
var ClusterValueTypeEnum;
|
|
89
|
-
(function (ClusterValueTypeEnum) {
|
|
90
|
-
ClusterValueTypeEnum["BOOLEAN"] = "BOOLEAN";
|
|
91
|
-
})(ClusterValueTypeEnum = exports.ClusterValueTypeEnum || (exports.ClusterValueTypeEnum = {}));
|
|
92
|
-
/**
|
|
93
|
-
*
|
|
94
|
-
* @export
|
|
95
|
-
* @enum {string}
|
|
96
|
-
*/
|
|
97
|
-
var ClusterDeploymentStatusEnum;
|
|
98
|
-
(function (ClusterDeploymentStatusEnum) {
|
|
99
|
-
ClusterDeploymentStatusEnum["READY"] = "READY";
|
|
100
|
-
ClusterDeploymentStatusEnum["QUEUED"] = "QUEUED";
|
|
101
|
-
ClusterDeploymentStatusEnum["STOP_QUEUED"] = "STOP_QUEUED";
|
|
102
|
-
ClusterDeploymentStatusEnum["DELETE_QUEUED"] = "DELETE_QUEUED";
|
|
103
|
-
ClusterDeploymentStatusEnum["BUILDING"] = "BUILDING";
|
|
104
|
-
ClusterDeploymentStatusEnum["BUILD_ERROR"] = "BUILD_ERROR";
|
|
105
|
-
ClusterDeploymentStatusEnum["BUILT"] = "BUILT";
|
|
106
|
-
ClusterDeploymentStatusEnum["DEPLOYING"] = "DEPLOYING";
|
|
107
|
-
ClusterDeploymentStatusEnum["DEPLOYMENT_ERROR"] = "DEPLOYMENT_ERROR";
|
|
108
|
-
ClusterDeploymentStatusEnum["DEPLOYED"] = "DEPLOYED";
|
|
109
|
-
ClusterDeploymentStatusEnum["STOPPING"] = "STOPPING";
|
|
110
|
-
ClusterDeploymentStatusEnum["STOP_ERROR"] = "STOP_ERROR";
|
|
111
|
-
ClusterDeploymentStatusEnum["STOPPED"] = "STOPPED";
|
|
112
|
-
ClusterDeploymentStatusEnum["DELETING"] = "DELETING";
|
|
113
|
-
ClusterDeploymentStatusEnum["DELETE_ERROR"] = "DELETE_ERROR";
|
|
114
|
-
ClusterDeploymentStatusEnum["DELETED"] = "DELETED";
|
|
115
|
-
ClusterDeploymentStatusEnum["RUNNING"] = "RUNNING";
|
|
116
|
-
ClusterDeploymentStatusEnum["RUNNING_ERROR"] = "RUNNING_ERROR";
|
|
117
|
-
})(ClusterDeploymentStatusEnum = exports.ClusterDeploymentStatusEnum || (exports.ClusterDeploymentStatusEnum = {}));
|
|
118
76
|
/**
|
|
119
77
|
* @export
|
|
120
78
|
* @enum {string}
|
|
@@ -123,32 +81,6 @@ var ClusterFeatureValueTypeEnum;
|
|
|
123
81
|
(function (ClusterFeatureValueTypeEnum) {
|
|
124
82
|
ClusterFeatureValueTypeEnum["BOOLEAN"] = "BOOLEAN";
|
|
125
83
|
})(ClusterFeatureValueTypeEnum = exports.ClusterFeatureValueTypeEnum || (exports.ClusterFeatureValueTypeEnum = {}));
|
|
126
|
-
/**
|
|
127
|
-
*
|
|
128
|
-
* @export
|
|
129
|
-
* @enum {string}
|
|
130
|
-
*/
|
|
131
|
-
var ClusterStatusEnum;
|
|
132
|
-
(function (ClusterStatusEnum) {
|
|
133
|
-
ClusterStatusEnum["READY"] = "READY";
|
|
134
|
-
ClusterStatusEnum["QUEUED"] = "QUEUED";
|
|
135
|
-
ClusterStatusEnum["STOP_QUEUED"] = "STOP_QUEUED";
|
|
136
|
-
ClusterStatusEnum["DELETE_QUEUED"] = "DELETE_QUEUED";
|
|
137
|
-
ClusterStatusEnum["BUILDING"] = "BUILDING";
|
|
138
|
-
ClusterStatusEnum["BUILD_ERROR"] = "BUILD_ERROR";
|
|
139
|
-
ClusterStatusEnum["BUILT"] = "BUILT";
|
|
140
|
-
ClusterStatusEnum["DEPLOYING"] = "DEPLOYING";
|
|
141
|
-
ClusterStatusEnum["DEPLOYMENT_ERROR"] = "DEPLOYMENT_ERROR";
|
|
142
|
-
ClusterStatusEnum["DEPLOYED"] = "DEPLOYED";
|
|
143
|
-
ClusterStatusEnum["STOPPING"] = "STOPPING";
|
|
144
|
-
ClusterStatusEnum["STOP_ERROR"] = "STOP_ERROR";
|
|
145
|
-
ClusterStatusEnum["STOPPED"] = "STOPPED";
|
|
146
|
-
ClusterStatusEnum["DELETING"] = "DELETING";
|
|
147
|
-
ClusterStatusEnum["DELETE_ERROR"] = "DELETE_ERROR";
|
|
148
|
-
ClusterStatusEnum["DELETED"] = "DELETED";
|
|
149
|
-
ClusterStatusEnum["RUNNING"] = "RUNNING";
|
|
150
|
-
ClusterStatusEnum["RUNNING_ERROR"] = "RUNNING_ERROR";
|
|
151
|
-
})(ClusterStatusEnum = exports.ClusterStatusEnum || (exports.ClusterStatusEnum = {}));
|
|
152
84
|
/**
|
|
153
85
|
*
|
|
154
86
|
* @export
|
|
@@ -191,8 +123,8 @@ var CustomDomainAllOfStatusEnum;
|
|
|
191
123
|
*/
|
|
192
124
|
var DatabaseAccessibilityEnum;
|
|
193
125
|
(function (DatabaseAccessibilityEnum) {
|
|
194
|
-
DatabaseAccessibilityEnum["PUBLIC"] = "PUBLIC";
|
|
195
126
|
DatabaseAccessibilityEnum["PRIVATE"] = "PRIVATE";
|
|
127
|
+
DatabaseAccessibilityEnum["PUBLIC"] = "PUBLIC";
|
|
196
128
|
})(DatabaseAccessibilityEnum = exports.DatabaseAccessibilityEnum || (exports.DatabaseAccessibilityEnum = {}));
|
|
197
129
|
/**
|
|
198
130
|
*
|
|
@@ -201,8 +133,8 @@ var DatabaseAccessibilityEnum;
|
|
|
201
133
|
*/
|
|
202
134
|
var DatabaseModeEnum;
|
|
203
135
|
(function (DatabaseModeEnum) {
|
|
204
|
-
DatabaseModeEnum["MANAGED"] = "MANAGED";
|
|
205
136
|
DatabaseModeEnum["CONTAINER"] = "CONTAINER";
|
|
137
|
+
DatabaseModeEnum["MANAGED"] = "MANAGED";
|
|
206
138
|
})(DatabaseModeEnum = exports.DatabaseModeEnum || (exports.DatabaseModeEnum = {}));
|
|
207
139
|
/**
|
|
208
140
|
*
|
|
@@ -211,9 +143,9 @@ var DatabaseModeEnum;
|
|
|
211
143
|
*/
|
|
212
144
|
var DatabaseTypeEnum;
|
|
213
145
|
(function (DatabaseTypeEnum) {
|
|
214
|
-
DatabaseTypeEnum["POSTGRESQL"] = "POSTGRESQL";
|
|
215
|
-
DatabaseTypeEnum["MYSQL"] = "MYSQL";
|
|
216
146
|
DatabaseTypeEnum["MONGODB"] = "MONGODB";
|
|
147
|
+
DatabaseTypeEnum["MYSQL"] = "MYSQL";
|
|
148
|
+
DatabaseTypeEnum["POSTGRESQL"] = "POSTGRESQL";
|
|
217
149
|
DatabaseTypeEnum["REDIS"] = "REDIS";
|
|
218
150
|
})(DatabaseTypeEnum = exports.DatabaseTypeEnum || (exports.DatabaseTypeEnum = {}));
|
|
219
151
|
/**
|
|
@@ -223,8 +155,8 @@ var DatabaseTypeEnum;
|
|
|
223
155
|
*/
|
|
224
156
|
var DeploymentHistoryStatusEnum;
|
|
225
157
|
(function (DeploymentHistoryStatusEnum) {
|
|
226
|
-
DeploymentHistoryStatusEnum["SUCCESS"] = "SUCCESS";
|
|
227
158
|
DeploymentHistoryStatusEnum["FAILED"] = "FAILED";
|
|
159
|
+
DeploymentHistoryStatusEnum["SUCCESS"] = "SUCCESS";
|
|
228
160
|
})(DeploymentHistoryStatusEnum = exports.DeploymentHistoryStatusEnum || (exports.DeploymentHistoryStatusEnum = {}));
|
|
229
161
|
/**
|
|
230
162
|
* Match mode will rebuild app only if specified items are updated. Exclude mode will not rebuild app if specified items are updated.
|
|
@@ -233,8 +165,8 @@ var DeploymentHistoryStatusEnum;
|
|
|
233
165
|
*/
|
|
234
166
|
var DeploymentRestrictionModeEnum;
|
|
235
167
|
(function (DeploymentRestrictionModeEnum) {
|
|
236
|
-
DeploymentRestrictionModeEnum["MATCH"] = "MATCH";
|
|
237
168
|
DeploymentRestrictionModeEnum["EXCLUDE"] = "EXCLUDE";
|
|
169
|
+
DeploymentRestrictionModeEnum["MATCH"] = "MATCH";
|
|
238
170
|
})(DeploymentRestrictionModeEnum = exports.DeploymentRestrictionModeEnum || (exports.DeploymentRestrictionModeEnum = {}));
|
|
239
171
|
/**
|
|
240
172
|
*
|
|
@@ -263,10 +195,10 @@ var EnvironmentLogTypeEnum;
|
|
|
263
195
|
*/
|
|
264
196
|
var EnvironmentModeEnum;
|
|
265
197
|
(function (EnvironmentModeEnum) {
|
|
266
|
-
EnvironmentModeEnum["PRODUCTION"] = "PRODUCTION";
|
|
267
198
|
EnvironmentModeEnum["DEVELOPMENT"] = "DEVELOPMENT";
|
|
268
|
-
EnvironmentModeEnum["STAGING"] = "STAGING";
|
|
269
199
|
EnvironmentModeEnum["PREVIEW"] = "PREVIEW";
|
|
200
|
+
EnvironmentModeEnum["PRODUCTION"] = "PRODUCTION";
|
|
201
|
+
EnvironmentModeEnum["STAGING"] = "STAGING";
|
|
270
202
|
})(EnvironmentModeEnum = exports.EnvironmentModeEnum || (exports.EnvironmentModeEnum = {}));
|
|
271
203
|
/**
|
|
272
204
|
*
|
|
@@ -275,10 +207,10 @@ var EnvironmentModeEnum;
|
|
|
275
207
|
*/
|
|
276
208
|
var EnvironmentVariableScopeEnum;
|
|
277
209
|
(function (EnvironmentVariableScopeEnum) {
|
|
210
|
+
EnvironmentVariableScopeEnum["APPLICATION"] = "APPLICATION";
|
|
278
211
|
EnvironmentVariableScopeEnum["BUILT_IN"] = "BUILT_IN";
|
|
279
212
|
EnvironmentVariableScopeEnum["ENVIRONMENT"] = "ENVIRONMENT";
|
|
280
213
|
EnvironmentVariableScopeEnum["PROJECT"] = "PROJECT";
|
|
281
|
-
EnvironmentVariableScopeEnum["APPLICATION"] = "APPLICATION";
|
|
282
214
|
})(EnvironmentVariableScopeEnum = exports.EnvironmentVariableScopeEnum || (exports.EnvironmentVariableScopeEnum = {}));
|
|
283
215
|
/**
|
|
284
216
|
*
|
|
@@ -287,35 +219,10 @@ var EnvironmentVariableScopeEnum;
|
|
|
287
219
|
*/
|
|
288
220
|
var GitProviderEnum;
|
|
289
221
|
(function (GitProviderEnum) {
|
|
222
|
+
GitProviderEnum["BITBUCKET"] = "BITBUCKET";
|
|
290
223
|
GitProviderEnum["GITHUB"] = "GITHUB";
|
|
291
224
|
GitProviderEnum["GITLAB"] = "GITLAB";
|
|
292
225
|
})(GitProviderEnum = exports.GitProviderEnum || (exports.GitProviderEnum = {}));
|
|
293
|
-
/**
|
|
294
|
-
*
|
|
295
|
-
* @export
|
|
296
|
-
* @enum {string}
|
|
297
|
-
*/
|
|
298
|
-
var GlobalDeploymentStatus;
|
|
299
|
-
(function (GlobalDeploymentStatus) {
|
|
300
|
-
GlobalDeploymentStatus["READY"] = "READY";
|
|
301
|
-
GlobalDeploymentStatus["QUEUED"] = "QUEUED";
|
|
302
|
-
GlobalDeploymentStatus["STOP_QUEUED"] = "STOP_QUEUED";
|
|
303
|
-
GlobalDeploymentStatus["DELETE_QUEUED"] = "DELETE_QUEUED";
|
|
304
|
-
GlobalDeploymentStatus["BUILDING"] = "BUILDING";
|
|
305
|
-
GlobalDeploymentStatus["BUILD_ERROR"] = "BUILD_ERROR";
|
|
306
|
-
GlobalDeploymentStatus["BUILT"] = "BUILT";
|
|
307
|
-
GlobalDeploymentStatus["DEPLOYING"] = "DEPLOYING";
|
|
308
|
-
GlobalDeploymentStatus["DEPLOYMENT_ERROR"] = "DEPLOYMENT_ERROR";
|
|
309
|
-
GlobalDeploymentStatus["DEPLOYED"] = "DEPLOYED";
|
|
310
|
-
GlobalDeploymentStatus["STOPPING"] = "STOPPING";
|
|
311
|
-
GlobalDeploymentStatus["STOP_ERROR"] = "STOP_ERROR";
|
|
312
|
-
GlobalDeploymentStatus["STOPPED"] = "STOPPED";
|
|
313
|
-
GlobalDeploymentStatus["DELETING"] = "DELETING";
|
|
314
|
-
GlobalDeploymentStatus["DELETE_ERROR"] = "DELETE_ERROR";
|
|
315
|
-
GlobalDeploymentStatus["DELETED"] = "DELETED";
|
|
316
|
-
GlobalDeploymentStatus["RUNNING"] = "RUNNING";
|
|
317
|
-
GlobalDeploymentStatus["RUNNING_ERROR"] = "RUNNING_ERROR";
|
|
318
|
-
})(GlobalDeploymentStatus = exports.GlobalDeploymentStatus || (exports.GlobalDeploymentStatus = {}));
|
|
319
226
|
/**
|
|
320
227
|
* @export
|
|
321
228
|
* @enum {string}
|
|
@@ -333,9 +240,9 @@ var HealthcheckProtocolEnum;
|
|
|
333
240
|
*/
|
|
334
241
|
var InviteMemberRoleEnum;
|
|
335
242
|
(function (InviteMemberRoleEnum) {
|
|
336
|
-
InviteMemberRoleEnum["OWNER"] = "OWNER";
|
|
337
243
|
InviteMemberRoleEnum["ADMIN"] = "ADMIN";
|
|
338
244
|
InviteMemberRoleEnum["DEVELOPER"] = "DEVELOPER";
|
|
245
|
+
InviteMemberRoleEnum["OWNER"] = "OWNER";
|
|
339
246
|
InviteMemberRoleEnum["VIEWER"] = "VIEWER";
|
|
340
247
|
})(InviteMemberRoleEnum = exports.InviteMemberRoleEnum || (exports.InviteMemberRoleEnum = {}));
|
|
341
248
|
/**
|
|
@@ -345,8 +252,8 @@ var InviteMemberRoleEnum;
|
|
|
345
252
|
*/
|
|
346
253
|
var InviteStatusEnum;
|
|
347
254
|
(function (InviteStatusEnum) {
|
|
348
|
-
InviteStatusEnum["PENDING"] = "PENDING";
|
|
349
255
|
InviteStatusEnum["EXPIRED"] = "EXPIRED";
|
|
256
|
+
InviteStatusEnum["PENDING"] = "PENDING";
|
|
350
257
|
})(InviteStatusEnum = exports.InviteStatusEnum || (exports.InviteStatusEnum = {}));
|
|
351
258
|
/**
|
|
352
259
|
*
|
|
@@ -355,13 +262,13 @@ var InviteStatusEnum;
|
|
|
355
262
|
*/
|
|
356
263
|
var InvoiceStatusEnum;
|
|
357
264
|
(function (InvoiceStatusEnum) {
|
|
265
|
+
InvoiceStatusEnum["NOT_PAID"] = "NOT_PAID";
|
|
358
266
|
InvoiceStatusEnum["PAID"] = "PAID";
|
|
359
|
-
InvoiceStatusEnum["POSTED"] = "POSTED";
|
|
360
267
|
InvoiceStatusEnum["PAYMENT_DUE"] = "PAYMENT_DUE";
|
|
361
|
-
InvoiceStatusEnum["NOT_PAID"] = "NOT_PAID";
|
|
362
|
-
InvoiceStatusEnum["VOIDED"] = "VOIDED";
|
|
363
268
|
InvoiceStatusEnum["PENDING"] = "PENDING";
|
|
269
|
+
InvoiceStatusEnum["POSTED"] = "POSTED";
|
|
364
270
|
InvoiceStatusEnum["UNKNOWN"] = "UNKNOWN";
|
|
271
|
+
InvoiceStatusEnum["VOIDED"] = "VOIDED";
|
|
365
272
|
})(InvoiceStatusEnum = exports.InvoiceStatusEnum || (exports.InvoiceStatusEnum = {}));
|
|
366
273
|
/**
|
|
367
274
|
*
|
|
@@ -379,11 +286,11 @@ var OrganizationApiTokenScope;
|
|
|
379
286
|
*/
|
|
380
287
|
var PlanEnum;
|
|
381
288
|
(function (PlanEnum) {
|
|
289
|
+
PlanEnum["BUSINESS"] = "BUSINESS";
|
|
382
290
|
PlanEnum["COMMUNITY"] = "COMMUNITY";
|
|
291
|
+
PlanEnum["ENTERPRISE"] = "ENTERPRISE";
|
|
383
292
|
PlanEnum["FREE"] = "FREE";
|
|
384
293
|
PlanEnum["PROFESSIONAL"] = "PROFESSIONAL";
|
|
385
|
-
PlanEnum["BUSINESS"] = "BUSINESS";
|
|
386
|
-
PlanEnum["ENTERPRISE"] = "ENTERPRISE";
|
|
387
294
|
})(PlanEnum = exports.PlanEnum || (exports.PlanEnum = {}));
|
|
388
295
|
/**
|
|
389
296
|
*
|
|
@@ -392,8 +299,8 @@ var PlanEnum;
|
|
|
392
299
|
*/
|
|
393
300
|
var PortProtocolEnum;
|
|
394
301
|
(function (PortProtocolEnum) {
|
|
395
|
-
PortProtocolEnum["HTTPS"] = "HTTPS";
|
|
396
302
|
PortProtocolEnum["HTTP"] = "HTTP";
|
|
303
|
+
PortProtocolEnum["HTTPS"] = "HTTPS";
|
|
397
304
|
PortProtocolEnum["TCP"] = "TCP";
|
|
398
305
|
PortProtocolEnum["UDP"] = "UDP";
|
|
399
306
|
})(PortProtocolEnum = exports.PortProtocolEnum || (exports.PortProtocolEnum = {}));
|
|
@@ -413,8 +320,8 @@ var RewardClaimTypeEnum;
|
|
|
413
320
|
var ServiceDeploymentStatusEnum;
|
|
414
321
|
(function (ServiceDeploymentStatusEnum) {
|
|
415
322
|
ServiceDeploymentStatusEnum["NEVER_DEPLOYED"] = "NEVER_DEPLOYED";
|
|
416
|
-
ServiceDeploymentStatusEnum["UP_TO_DATE"] = "UP_TO_DATE";
|
|
417
323
|
ServiceDeploymentStatusEnum["OUT_OF_DATE"] = "OUT_OF_DATE";
|
|
324
|
+
ServiceDeploymentStatusEnum["UP_TO_DATE"] = "UP_TO_DATE";
|
|
418
325
|
})(ServiceDeploymentStatusEnum = exports.ServiceDeploymentStatusEnum || (exports.ServiceDeploymentStatusEnum = {}));
|
|
419
326
|
/**
|
|
420
327
|
* type of the service (application, database, job, gateway...)
|
|
@@ -426,6 +333,53 @@ var ServiceTypeEnum;
|
|
|
426
333
|
ServiceTypeEnum["APPLICATION"] = "APPLICATION";
|
|
427
334
|
ServiceTypeEnum["DATABASE"] = "DATABASE";
|
|
428
335
|
})(ServiceTypeEnum = exports.ServiceTypeEnum || (exports.ServiceTypeEnum = {}));
|
|
336
|
+
/**
|
|
337
|
+
*
|
|
338
|
+
* @export
|
|
339
|
+
* @enum {string}
|
|
340
|
+
*/
|
|
341
|
+
var StateEnum;
|
|
342
|
+
(function (StateEnum) {
|
|
343
|
+
StateEnum["BUILDING"] = "BUILDING";
|
|
344
|
+
StateEnum["CANCELED"] = "CANCELED";
|
|
345
|
+
StateEnum["CANCELING"] = "CANCELING";
|
|
346
|
+
StateEnum["DELETED"] = "DELETED";
|
|
347
|
+
StateEnum["DELETE_ERROR"] = "DELETE_ERROR";
|
|
348
|
+
StateEnum["DELETE_QUEUED"] = "DELETE_QUEUED";
|
|
349
|
+
StateEnum["DELETING"] = "DELETING";
|
|
350
|
+
StateEnum["DEPLOYED"] = "DEPLOYED";
|
|
351
|
+
StateEnum["DEPLOYING"] = "DEPLOYING";
|
|
352
|
+
StateEnum["DEPLOYMENT_ERROR"] = "DEPLOYMENT_ERROR";
|
|
353
|
+
StateEnum["DEPLOYMENT_QUEUED"] = "DEPLOYMENT_QUEUED";
|
|
354
|
+
StateEnum["QUEUED"] = "QUEUED";
|
|
355
|
+
StateEnum["READY"] = "READY";
|
|
356
|
+
StateEnum["RUNNING"] = "RUNNING";
|
|
357
|
+
StateEnum["STOPPED"] = "STOPPED";
|
|
358
|
+
StateEnum["STOPPING"] = "STOPPING";
|
|
359
|
+
StateEnum["STOP_ERROR"] = "STOP_ERROR";
|
|
360
|
+
StateEnum["STOP_QUEUED"] = "STOP_QUEUED";
|
|
361
|
+
})(StateEnum = exports.StateEnum || (exports.StateEnum = {}));
|
|
362
|
+
/**
|
|
363
|
+
*
|
|
364
|
+
* @export
|
|
365
|
+
* @enum {string}
|
|
366
|
+
*/
|
|
367
|
+
var StatusKindEnum;
|
|
368
|
+
(function (StatusKindEnum) {
|
|
369
|
+
StatusKindEnum["CANCELED"] = "CANCELED";
|
|
370
|
+
StatusKindEnum["CANCELING"] = "CANCELING";
|
|
371
|
+
StatusKindEnum["DELETED"] = "DELETED";
|
|
372
|
+
StatusKindEnum["DELETE_ERROR"] = "DELETE_ERROR";
|
|
373
|
+
StatusKindEnum["DELETE_IN_PROGRESS"] = "DELETE_IN_PROGRESS";
|
|
374
|
+
StatusKindEnum["DEPLOYED"] = "DEPLOYED";
|
|
375
|
+
StatusKindEnum["DEPLOYMENT_ERROR"] = "DEPLOYMENT_ERROR";
|
|
376
|
+
StatusKindEnum["DEPLOYMENT_IN_PROGRESS"] = "DEPLOYMENT_IN_PROGRESS";
|
|
377
|
+
StatusKindEnum["ERROR"] = "ERROR";
|
|
378
|
+
StatusKindEnum["PAUSED"] = "PAUSED";
|
|
379
|
+
StatusKindEnum["PAUSE_ERROR"] = "PAUSE_ERROR";
|
|
380
|
+
StatusKindEnum["PAUSE_IN_PROGRESS"] = "PAUSE_IN_PROGRESS";
|
|
381
|
+
StatusKindEnum["WAITING"] = "WAITING";
|
|
382
|
+
})(StatusKindEnum = exports.StatusKindEnum || (exports.StatusKindEnum = {}));
|
|
429
383
|
/**
|
|
430
384
|
*
|
|
431
385
|
* @export
|
|
@@ -433,9 +387,7 @@ var ServiceTypeEnum;
|
|
|
433
387
|
*/
|
|
434
388
|
var StorageTypeEnum;
|
|
435
389
|
(function (StorageTypeEnum) {
|
|
436
|
-
StorageTypeEnum["
|
|
437
|
-
StorageTypeEnum["DIGITAL_OCEAN"] = "DIGITAL_OCEAN";
|
|
438
|
-
StorageTypeEnum["SCALEWAY"] = "SCALEWAY";
|
|
390
|
+
StorageTypeEnum["FAST_SSD"] = "FAST_SSD";
|
|
439
391
|
})(StorageTypeEnum = exports.StorageTypeEnum || (exports.StorageTypeEnum = {}));
|
|
440
392
|
/**
|
|
441
393
|
*
|
|
@@ -444,9 +396,9 @@ var StorageTypeEnum;
|
|
|
444
396
|
*/
|
|
445
397
|
var ThresholdMetricStatusEnum;
|
|
446
398
|
(function (ThresholdMetricStatusEnum) {
|
|
399
|
+
ThresholdMetricStatusEnum["ALERT"] = "Alert";
|
|
447
400
|
ThresholdMetricStatusEnum["OK"] = "OK";
|
|
448
401
|
ThresholdMetricStatusEnum["WARNING"] = "Warning";
|
|
449
|
-
ThresholdMetricStatusEnum["ALERT"] = "Alert";
|
|
450
402
|
})(ThresholdMetricStatusEnum = exports.ThresholdMetricStatusEnum || (exports.ThresholdMetricStatusEnum = {}));
|
|
451
403
|
/**
|
|
452
404
|
*
|
|
@@ -456,8 +408,8 @@ var ThresholdMetricStatusEnum;
|
|
|
456
408
|
var TypeOfUseEnum;
|
|
457
409
|
(function (TypeOfUseEnum) {
|
|
458
410
|
TypeOfUseEnum["PERSONAL"] = "PERSONAL";
|
|
459
|
-
TypeOfUseEnum["WORK"] = "WORK";
|
|
460
411
|
TypeOfUseEnum["SCHOOL"] = "SCHOOL";
|
|
412
|
+
TypeOfUseEnum["WORK"] = "WORK";
|
|
461
413
|
})(TypeOfUseEnum = exports.TypeOfUseEnum || (exports.TypeOfUseEnum = {}));
|
|
462
414
|
/**
|
|
463
415
|
*
|
|
@@ -6305,6 +6257,34 @@ const CloudProviderApiAxiosParamCreator = function (configuration) {
|
|
|
6305
6257
|
options: localVarRequestOptions,
|
|
6306
6258
|
};
|
|
6307
6259
|
}),
|
|
6260
|
+
/**
|
|
6261
|
+
*
|
|
6262
|
+
* @summary List AWS available instance types
|
|
6263
|
+
* @param {*} [options] Override http request option.
|
|
6264
|
+
* @throws {RequiredError}
|
|
6265
|
+
*/
|
|
6266
|
+
listAWSInstanceType: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6267
|
+
const localVarPath = `/aws/instanceType`;
|
|
6268
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6269
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6270
|
+
let baseOptions;
|
|
6271
|
+
if (configuration) {
|
|
6272
|
+
baseOptions = configuration.baseOptions;
|
|
6273
|
+
}
|
|
6274
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6275
|
+
const localVarHeaderParameter = {};
|
|
6276
|
+
const localVarQueryParameter = {};
|
|
6277
|
+
// authentication bearerAuth required
|
|
6278
|
+
// http bearer authentication required
|
|
6279
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
6280
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6281
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6282
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6283
|
+
return {
|
|
6284
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6285
|
+
options: localVarRequestOptions,
|
|
6286
|
+
};
|
|
6287
|
+
}),
|
|
6308
6288
|
/**
|
|
6309
6289
|
*
|
|
6310
6290
|
* @summary List AWS regions
|
|
@@ -6389,6 +6369,34 @@ const CloudProviderApiAxiosParamCreator = function (configuration) {
|
|
|
6389
6369
|
options: localVarRequestOptions,
|
|
6390
6370
|
};
|
|
6391
6371
|
}),
|
|
6372
|
+
/**
|
|
6373
|
+
*
|
|
6374
|
+
* @summary List DO available instance types
|
|
6375
|
+
* @param {*} [options] Override http request option.
|
|
6376
|
+
* @throws {RequiredError}
|
|
6377
|
+
*/
|
|
6378
|
+
listDOInstanceType: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6379
|
+
const localVarPath = `/digitalOcean/instanceType`;
|
|
6380
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6381
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6382
|
+
let baseOptions;
|
|
6383
|
+
if (configuration) {
|
|
6384
|
+
baseOptions = configuration.baseOptions;
|
|
6385
|
+
}
|
|
6386
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6387
|
+
const localVarHeaderParameter = {};
|
|
6388
|
+
const localVarQueryParameter = {};
|
|
6389
|
+
// authentication bearerAuth required
|
|
6390
|
+
// http bearer authentication required
|
|
6391
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
6392
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6393
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6394
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6395
|
+
return {
|
|
6396
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6397
|
+
options: localVarRequestOptions,
|
|
6398
|
+
};
|
|
6399
|
+
}),
|
|
6392
6400
|
/**
|
|
6393
6401
|
*
|
|
6394
6402
|
* @summary List DO regions
|
|
@@ -6445,6 +6453,34 @@ const CloudProviderApiAxiosParamCreator = function (configuration) {
|
|
|
6445
6453
|
options: localVarRequestOptions,
|
|
6446
6454
|
};
|
|
6447
6455
|
}),
|
|
6456
|
+
/**
|
|
6457
|
+
*
|
|
6458
|
+
* @summary List Scaleway available instance types
|
|
6459
|
+
* @param {*} [options] Override http request option.
|
|
6460
|
+
* @throws {RequiredError}
|
|
6461
|
+
*/
|
|
6462
|
+
listScalewayInstanceType: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
6463
|
+
const localVarPath = `/scaleway/instanceType`;
|
|
6464
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6465
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6466
|
+
let baseOptions;
|
|
6467
|
+
if (configuration) {
|
|
6468
|
+
baseOptions = configuration.baseOptions;
|
|
6469
|
+
}
|
|
6470
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
6471
|
+
const localVarHeaderParameter = {};
|
|
6472
|
+
const localVarQueryParameter = {};
|
|
6473
|
+
// authentication bearerAuth required
|
|
6474
|
+
// http bearer authentication required
|
|
6475
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
6476
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6477
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6478
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6479
|
+
return {
|
|
6480
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6481
|
+
options: localVarRequestOptions,
|
|
6482
|
+
};
|
|
6483
|
+
}),
|
|
6448
6484
|
/**
|
|
6449
6485
|
*
|
|
6450
6486
|
* @summary List Scaleway regions
|
|
@@ -6495,6 +6531,18 @@ const CloudProviderApiFp = function (configuration) {
|
|
|
6495
6531
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
6496
6532
|
});
|
|
6497
6533
|
},
|
|
6534
|
+
/**
|
|
6535
|
+
*
|
|
6536
|
+
* @summary List AWS available instance types
|
|
6537
|
+
* @param {*} [options] Override http request option.
|
|
6538
|
+
* @throws {RequiredError}
|
|
6539
|
+
*/
|
|
6540
|
+
listAWSInstanceType(options) {
|
|
6541
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6542
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listAWSInstanceType(options);
|
|
6543
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
6544
|
+
});
|
|
6545
|
+
},
|
|
6498
6546
|
/**
|
|
6499
6547
|
*
|
|
6500
6548
|
* @summary List AWS regions
|
|
@@ -6531,6 +6579,18 @@ const CloudProviderApiFp = function (configuration) {
|
|
|
6531
6579
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
6532
6580
|
});
|
|
6533
6581
|
},
|
|
6582
|
+
/**
|
|
6583
|
+
*
|
|
6584
|
+
* @summary List DO available instance types
|
|
6585
|
+
* @param {*} [options] Override http request option.
|
|
6586
|
+
* @throws {RequiredError}
|
|
6587
|
+
*/
|
|
6588
|
+
listDOInstanceType(options) {
|
|
6589
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6590
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listDOInstanceType(options);
|
|
6591
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
6592
|
+
});
|
|
6593
|
+
},
|
|
6534
6594
|
/**
|
|
6535
6595
|
*
|
|
6536
6596
|
* @summary List DO regions
|
|
@@ -6555,6 +6615,18 @@ const CloudProviderApiFp = function (configuration) {
|
|
|
6555
6615
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
6556
6616
|
});
|
|
6557
6617
|
},
|
|
6618
|
+
/**
|
|
6619
|
+
*
|
|
6620
|
+
* @summary List Scaleway available instance types
|
|
6621
|
+
* @param {*} [options] Override http request option.
|
|
6622
|
+
* @throws {RequiredError}
|
|
6623
|
+
*/
|
|
6624
|
+
listScalewayInstanceType(options) {
|
|
6625
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
6626
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listScalewayInstanceType(options);
|
|
6627
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
6628
|
+
});
|
|
6629
|
+
},
|
|
6558
6630
|
/**
|
|
6559
6631
|
*
|
|
6560
6632
|
* @summary List Scaleway regions
|
|
@@ -6586,6 +6658,15 @@ const CloudProviderApiFactory = function (configuration, basePath, axios) {
|
|
|
6586
6658
|
listAWSFeatures(options) {
|
|
6587
6659
|
return localVarFp.listAWSFeatures(options).then((request) => request(axios, basePath));
|
|
6588
6660
|
},
|
|
6661
|
+
/**
|
|
6662
|
+
*
|
|
6663
|
+
* @summary List AWS available instance types
|
|
6664
|
+
* @param {*} [options] Override http request option.
|
|
6665
|
+
* @throws {RequiredError}
|
|
6666
|
+
*/
|
|
6667
|
+
listAWSInstanceType(options) {
|
|
6668
|
+
return localVarFp.listAWSInstanceType(options).then((request) => request(axios, basePath));
|
|
6669
|
+
},
|
|
6589
6670
|
/**
|
|
6590
6671
|
*
|
|
6591
6672
|
* @summary List AWS regions
|
|
@@ -6613,6 +6694,15 @@ const CloudProviderApiFactory = function (configuration, basePath, axios) {
|
|
|
6613
6694
|
listDOFeatures(options) {
|
|
6614
6695
|
return localVarFp.listDOFeatures(options).then((request) => request(axios, basePath));
|
|
6615
6696
|
},
|
|
6697
|
+
/**
|
|
6698
|
+
*
|
|
6699
|
+
* @summary List DO available instance types
|
|
6700
|
+
* @param {*} [options] Override http request option.
|
|
6701
|
+
* @throws {RequiredError}
|
|
6702
|
+
*/
|
|
6703
|
+
listDOInstanceType(options) {
|
|
6704
|
+
return localVarFp.listDOInstanceType(options).then((request) => request(axios, basePath));
|
|
6705
|
+
},
|
|
6616
6706
|
/**
|
|
6617
6707
|
*
|
|
6618
6708
|
* @summary List DO regions
|
|
@@ -6631,6 +6721,15 @@ const CloudProviderApiFactory = function (configuration, basePath, axios) {
|
|
|
6631
6721
|
listScalewayFeatures(options) {
|
|
6632
6722
|
return localVarFp.listScalewayFeatures(options).then((request) => request(axios, basePath));
|
|
6633
6723
|
},
|
|
6724
|
+
/**
|
|
6725
|
+
*
|
|
6726
|
+
* @summary List Scaleway available instance types
|
|
6727
|
+
* @param {*} [options] Override http request option.
|
|
6728
|
+
* @throws {RequiredError}
|
|
6729
|
+
*/
|
|
6730
|
+
listScalewayInstanceType(options) {
|
|
6731
|
+
return localVarFp.listScalewayInstanceType(options).then((request) => request(axios, basePath));
|
|
6732
|
+
},
|
|
6634
6733
|
/**
|
|
6635
6734
|
*
|
|
6636
6735
|
* @summary List Scaleway regions
|
|
@@ -6660,6 +6759,16 @@ class CloudProviderApi extends base_1.BaseAPI {
|
|
|
6660
6759
|
listAWSFeatures(options) {
|
|
6661
6760
|
return (0, exports.CloudProviderApiFp)(this.configuration).listAWSFeatures(options).then((request) => request(this.axios, this.basePath));
|
|
6662
6761
|
}
|
|
6762
|
+
/**
|
|
6763
|
+
*
|
|
6764
|
+
* @summary List AWS available instance types
|
|
6765
|
+
* @param {*} [options] Override http request option.
|
|
6766
|
+
* @throws {RequiredError}
|
|
6767
|
+
* @memberof CloudProviderApi
|
|
6768
|
+
*/
|
|
6769
|
+
listAWSInstanceType(options) {
|
|
6770
|
+
return (0, exports.CloudProviderApiFp)(this.configuration).listAWSInstanceType(options).then((request) => request(this.axios, this.basePath));
|
|
6771
|
+
}
|
|
6663
6772
|
/**
|
|
6664
6773
|
*
|
|
6665
6774
|
* @summary List AWS regions
|
|
@@ -6690,6 +6799,16 @@ class CloudProviderApi extends base_1.BaseAPI {
|
|
|
6690
6799
|
listDOFeatures(options) {
|
|
6691
6800
|
return (0, exports.CloudProviderApiFp)(this.configuration).listDOFeatures(options).then((request) => request(this.axios, this.basePath));
|
|
6692
6801
|
}
|
|
6802
|
+
/**
|
|
6803
|
+
*
|
|
6804
|
+
* @summary List DO available instance types
|
|
6805
|
+
* @param {*} [options] Override http request option.
|
|
6806
|
+
* @throws {RequiredError}
|
|
6807
|
+
* @memberof CloudProviderApi
|
|
6808
|
+
*/
|
|
6809
|
+
listDOInstanceType(options) {
|
|
6810
|
+
return (0, exports.CloudProviderApiFp)(this.configuration).listDOInstanceType(options).then((request) => request(this.axios, this.basePath));
|
|
6811
|
+
}
|
|
6693
6812
|
/**
|
|
6694
6813
|
*
|
|
6695
6814
|
* @summary List DO regions
|
|
@@ -6710,6 +6829,16 @@ class CloudProviderApi extends base_1.BaseAPI {
|
|
|
6710
6829
|
listScalewayFeatures(options) {
|
|
6711
6830
|
return (0, exports.CloudProviderApiFp)(this.configuration).listScalewayFeatures(options).then((request) => request(this.axios, this.basePath));
|
|
6712
6831
|
}
|
|
6832
|
+
/**
|
|
6833
|
+
*
|
|
6834
|
+
* @summary List Scaleway available instance types
|
|
6835
|
+
* @param {*} [options] Override http request option.
|
|
6836
|
+
* @throws {RequiredError}
|
|
6837
|
+
* @memberof CloudProviderApi
|
|
6838
|
+
*/
|
|
6839
|
+
listScalewayInstanceType(options) {
|
|
6840
|
+
return (0, exports.CloudProviderApiFp)(this.configuration).listScalewayInstanceType(options).then((request) => request(this.axios, this.basePath));
|
|
6841
|
+
}
|
|
6713
6842
|
/**
|
|
6714
6843
|
*
|
|
6715
6844
|
* @summary List Scaleway regions
|
|
@@ -13441,9 +13570,9 @@ const EnvironmentsApiAxiosParamCreator = function (configuration) {
|
|
|
13441
13570
|
* @param {*} [options] Override http request option.
|
|
13442
13571
|
* @throws {RequiredError}
|
|
13443
13572
|
*/
|
|
13444
|
-
|
|
13573
|
+
getProjectEnvironmentsStatus: (projectId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
13445
13574
|
// verify required parameter 'projectId' is not null or undefined
|
|
13446
|
-
(0, common_1.assertParamExists)('
|
|
13575
|
+
(0, common_1.assertParamExists)('getProjectEnvironmentsStatus', 'projectId', projectId);
|
|
13447
13576
|
const localVarPath = `/project/{projectId}/environment/status`
|
|
13448
13577
|
.replace(`{${"projectId"}}`, encodeURIComponent(String(projectId)));
|
|
13449
13578
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -13542,9 +13671,9 @@ const EnvironmentsApiFp = function (configuration) {
|
|
|
13542
13671
|
* @param {*} [options] Override http request option.
|
|
13543
13672
|
* @throws {RequiredError}
|
|
13544
13673
|
*/
|
|
13545
|
-
|
|
13674
|
+
getProjectEnvironmentsStatus(projectId, options) {
|
|
13546
13675
|
return __awaiter(this, void 0, void 0, function* () {
|
|
13547
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
13676
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getProjectEnvironmentsStatus(projectId, options);
|
|
13548
13677
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
13549
13678
|
});
|
|
13550
13679
|
},
|
|
@@ -13599,8 +13728,8 @@ const EnvironmentsApiFactory = function (configuration, basePath, axios) {
|
|
|
13599
13728
|
* @param {*} [options] Override http request option.
|
|
13600
13729
|
* @throws {RequiredError}
|
|
13601
13730
|
*/
|
|
13602
|
-
|
|
13603
|
-
return localVarFp.
|
|
13731
|
+
getProjectEnvironmentsStatus(projectId, options) {
|
|
13732
|
+
return localVarFp.getProjectEnvironmentsStatus(projectId, options).then((request) => request(axios, basePath));
|
|
13604
13733
|
},
|
|
13605
13734
|
/**
|
|
13606
13735
|
*
|
|
@@ -13653,8 +13782,8 @@ class EnvironmentsApi extends base_1.BaseAPI {
|
|
|
13653
13782
|
* @throws {RequiredError}
|
|
13654
13783
|
* @memberof EnvironmentsApi
|
|
13655
13784
|
*/
|
|
13656
|
-
|
|
13657
|
-
return (0, exports.EnvironmentsApiFp)(this.configuration).
|
|
13785
|
+
getProjectEnvironmentsStatus(projectId, options) {
|
|
13786
|
+
return (0, exports.EnvironmentsApiFp)(this.configuration).getProjectEnvironmentsStatus(projectId, options).then((request) => request(this.axios, this.basePath));
|
|
13658
13787
|
}
|
|
13659
13788
|
/**
|
|
13660
13789
|
*
|
|
@@ -13679,6 +13808,7 @@ const GitRepositoriesApiAxiosParamCreator = function (configuration) {
|
|
|
13679
13808
|
*
|
|
13680
13809
|
* @summary Get bitbucket repositories of the connected user
|
|
13681
13810
|
* @param {*} [options] Override http request option.
|
|
13811
|
+
* @deprecated
|
|
13682
13812
|
* @throws {RequiredError}
|
|
13683
13813
|
*/
|
|
13684
13814
|
getBitbucketRepositories: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
@@ -13708,6 +13838,7 @@ const GitRepositoriesApiAxiosParamCreator = function (configuration) {
|
|
|
13708
13838
|
* @summary Get bitbucket branches of the specified repository
|
|
13709
13839
|
* @param {string} [name] The name of the repository where to retrieve the branches
|
|
13710
13840
|
* @param {*} [options] Override http request option.
|
|
13841
|
+
* @deprecated
|
|
13711
13842
|
* @throws {RequiredError}
|
|
13712
13843
|
*/
|
|
13713
13844
|
getBitbucketRepositoryBranches: (name, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
@@ -13739,6 +13870,7 @@ const GitRepositoriesApiAxiosParamCreator = function (configuration) {
|
|
|
13739
13870
|
*
|
|
13740
13871
|
* @summary Get git provider accounts
|
|
13741
13872
|
* @param {*} [options] Override http request option.
|
|
13873
|
+
* @deprecated
|
|
13742
13874
|
* @throws {RequiredError}
|
|
13743
13875
|
*/
|
|
13744
13876
|
getGitProviderAccount: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
@@ -13767,6 +13899,7 @@ const GitRepositoriesApiAxiosParamCreator = function (configuration) {
|
|
|
13767
13899
|
*
|
|
13768
13900
|
* @summary Get github repositories of the connected user
|
|
13769
13901
|
* @param {*} [options] Override http request option.
|
|
13902
|
+
* @deprecated
|
|
13770
13903
|
* @throws {RequiredError}
|
|
13771
13904
|
*/
|
|
13772
13905
|
getGithubRepositories: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
@@ -13796,6 +13929,7 @@ const GitRepositoriesApiAxiosParamCreator = function (configuration) {
|
|
|
13796
13929
|
* @summary Get github branches of the specified repository
|
|
13797
13930
|
* @param {string} [name] The name of the repository where to retrieve the branches
|
|
13798
13931
|
* @param {*} [options] Override http request option.
|
|
13932
|
+
* @deprecated
|
|
13799
13933
|
* @throws {RequiredError}
|
|
13800
13934
|
*/
|
|
13801
13935
|
getGithubRepositoryBranches: (name, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
@@ -13827,6 +13961,7 @@ const GitRepositoriesApiAxiosParamCreator = function (configuration) {
|
|
|
13827
13961
|
*
|
|
13828
13962
|
* @summary Get gitlab repositories of the connected user
|
|
13829
13963
|
* @param {*} [options] Override http request option.
|
|
13964
|
+
* @deprecated
|
|
13830
13965
|
* @throws {RequiredError}
|
|
13831
13966
|
*/
|
|
13832
13967
|
getGitlabRepositories: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
@@ -13856,6 +13991,7 @@ const GitRepositoriesApiAxiosParamCreator = function (configuration) {
|
|
|
13856
13991
|
* @summary Get gitlab branches of the specified repository
|
|
13857
13992
|
* @param {string} [name] The name of the repository to retrieve the branches
|
|
13858
13993
|
* @param {*} [options] Override http request option.
|
|
13994
|
+
* @deprecated
|
|
13859
13995
|
* @throws {RequiredError}
|
|
13860
13996
|
*/
|
|
13861
13997
|
getGitlabRepositoryBranches: (name, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
@@ -13897,6 +14033,7 @@ const GitRepositoriesApiFp = function (configuration) {
|
|
|
13897
14033
|
*
|
|
13898
14034
|
* @summary Get bitbucket repositories of the connected user
|
|
13899
14035
|
* @param {*} [options] Override http request option.
|
|
14036
|
+
* @deprecated
|
|
13900
14037
|
* @throws {RequiredError}
|
|
13901
14038
|
*/
|
|
13902
14039
|
getBitbucketRepositories(options) {
|
|
@@ -13910,6 +14047,7 @@ const GitRepositoriesApiFp = function (configuration) {
|
|
|
13910
14047
|
* @summary Get bitbucket branches of the specified repository
|
|
13911
14048
|
* @param {string} [name] The name of the repository where to retrieve the branches
|
|
13912
14049
|
* @param {*} [options] Override http request option.
|
|
14050
|
+
* @deprecated
|
|
13913
14051
|
* @throws {RequiredError}
|
|
13914
14052
|
*/
|
|
13915
14053
|
getBitbucketRepositoryBranches(name, options) {
|
|
@@ -13922,6 +14060,7 @@ const GitRepositoriesApiFp = function (configuration) {
|
|
|
13922
14060
|
*
|
|
13923
14061
|
* @summary Get git provider accounts
|
|
13924
14062
|
* @param {*} [options] Override http request option.
|
|
14063
|
+
* @deprecated
|
|
13925
14064
|
* @throws {RequiredError}
|
|
13926
14065
|
*/
|
|
13927
14066
|
getGitProviderAccount(options) {
|
|
@@ -13934,6 +14073,7 @@ const GitRepositoriesApiFp = function (configuration) {
|
|
|
13934
14073
|
*
|
|
13935
14074
|
* @summary Get github repositories of the connected user
|
|
13936
14075
|
* @param {*} [options] Override http request option.
|
|
14076
|
+
* @deprecated
|
|
13937
14077
|
* @throws {RequiredError}
|
|
13938
14078
|
*/
|
|
13939
14079
|
getGithubRepositories(options) {
|
|
@@ -13947,6 +14087,7 @@ const GitRepositoriesApiFp = function (configuration) {
|
|
|
13947
14087
|
* @summary Get github branches of the specified repository
|
|
13948
14088
|
* @param {string} [name] The name of the repository where to retrieve the branches
|
|
13949
14089
|
* @param {*} [options] Override http request option.
|
|
14090
|
+
* @deprecated
|
|
13950
14091
|
* @throws {RequiredError}
|
|
13951
14092
|
*/
|
|
13952
14093
|
getGithubRepositoryBranches(name, options) {
|
|
@@ -13959,6 +14100,7 @@ const GitRepositoriesApiFp = function (configuration) {
|
|
|
13959
14100
|
*
|
|
13960
14101
|
* @summary Get gitlab repositories of the connected user
|
|
13961
14102
|
* @param {*} [options] Override http request option.
|
|
14103
|
+
* @deprecated
|
|
13962
14104
|
* @throws {RequiredError}
|
|
13963
14105
|
*/
|
|
13964
14106
|
getGitlabRepositories(options) {
|
|
@@ -13972,6 +14114,7 @@ const GitRepositoriesApiFp = function (configuration) {
|
|
|
13972
14114
|
* @summary Get gitlab branches of the specified repository
|
|
13973
14115
|
* @param {string} [name] The name of the repository to retrieve the branches
|
|
13974
14116
|
* @param {*} [options] Override http request option.
|
|
14117
|
+
* @deprecated
|
|
13975
14118
|
* @throws {RequiredError}
|
|
13976
14119
|
*/
|
|
13977
14120
|
getGitlabRepositoryBranches(name, options) {
|
|
@@ -13994,6 +14137,7 @@ const GitRepositoriesApiFactory = function (configuration, basePath, axios) {
|
|
|
13994
14137
|
*
|
|
13995
14138
|
* @summary Get bitbucket repositories of the connected user
|
|
13996
14139
|
* @param {*} [options] Override http request option.
|
|
14140
|
+
* @deprecated
|
|
13997
14141
|
* @throws {RequiredError}
|
|
13998
14142
|
*/
|
|
13999
14143
|
getBitbucketRepositories(options) {
|
|
@@ -14004,6 +14148,7 @@ const GitRepositoriesApiFactory = function (configuration, basePath, axios) {
|
|
|
14004
14148
|
* @summary Get bitbucket branches of the specified repository
|
|
14005
14149
|
* @param {string} [name] The name of the repository where to retrieve the branches
|
|
14006
14150
|
* @param {*} [options] Override http request option.
|
|
14151
|
+
* @deprecated
|
|
14007
14152
|
* @throws {RequiredError}
|
|
14008
14153
|
*/
|
|
14009
14154
|
getBitbucketRepositoryBranches(name, options) {
|
|
@@ -14013,6 +14158,7 @@ const GitRepositoriesApiFactory = function (configuration, basePath, axios) {
|
|
|
14013
14158
|
*
|
|
14014
14159
|
* @summary Get git provider accounts
|
|
14015
14160
|
* @param {*} [options] Override http request option.
|
|
14161
|
+
* @deprecated
|
|
14016
14162
|
* @throws {RequiredError}
|
|
14017
14163
|
*/
|
|
14018
14164
|
getGitProviderAccount(options) {
|
|
@@ -14022,6 +14168,7 @@ const GitRepositoriesApiFactory = function (configuration, basePath, axios) {
|
|
|
14022
14168
|
*
|
|
14023
14169
|
* @summary Get github repositories of the connected user
|
|
14024
14170
|
* @param {*} [options] Override http request option.
|
|
14171
|
+
* @deprecated
|
|
14025
14172
|
* @throws {RequiredError}
|
|
14026
14173
|
*/
|
|
14027
14174
|
getGithubRepositories(options) {
|
|
@@ -14032,6 +14179,7 @@ const GitRepositoriesApiFactory = function (configuration, basePath, axios) {
|
|
|
14032
14179
|
* @summary Get github branches of the specified repository
|
|
14033
14180
|
* @param {string} [name] The name of the repository where to retrieve the branches
|
|
14034
14181
|
* @param {*} [options] Override http request option.
|
|
14182
|
+
* @deprecated
|
|
14035
14183
|
* @throws {RequiredError}
|
|
14036
14184
|
*/
|
|
14037
14185
|
getGithubRepositoryBranches(name, options) {
|
|
@@ -14041,6 +14189,7 @@ const GitRepositoriesApiFactory = function (configuration, basePath, axios) {
|
|
|
14041
14189
|
*
|
|
14042
14190
|
* @summary Get gitlab repositories of the connected user
|
|
14043
14191
|
* @param {*} [options] Override http request option.
|
|
14192
|
+
* @deprecated
|
|
14044
14193
|
* @throws {RequiredError}
|
|
14045
14194
|
*/
|
|
14046
14195
|
getGitlabRepositories(options) {
|
|
@@ -14051,6 +14200,7 @@ const GitRepositoriesApiFactory = function (configuration, basePath, axios) {
|
|
|
14051
14200
|
* @summary Get gitlab branches of the specified repository
|
|
14052
14201
|
* @param {string} [name] The name of the repository to retrieve the branches
|
|
14053
14202
|
* @param {*} [options] Override http request option.
|
|
14203
|
+
* @deprecated
|
|
14054
14204
|
* @throws {RequiredError}
|
|
14055
14205
|
*/
|
|
14056
14206
|
getGitlabRepositoryBranches(name, options) {
|
|
@@ -14070,6 +14220,7 @@ class GitRepositoriesApi extends base_1.BaseAPI {
|
|
|
14070
14220
|
*
|
|
14071
14221
|
* @summary Get bitbucket repositories of the connected user
|
|
14072
14222
|
* @param {*} [options] Override http request option.
|
|
14223
|
+
* @deprecated
|
|
14073
14224
|
* @throws {RequiredError}
|
|
14074
14225
|
* @memberof GitRepositoriesApi
|
|
14075
14226
|
*/
|
|
@@ -14081,6 +14232,7 @@ class GitRepositoriesApi extends base_1.BaseAPI {
|
|
|
14081
14232
|
* @summary Get bitbucket branches of the specified repository
|
|
14082
14233
|
* @param {string} [name] The name of the repository where to retrieve the branches
|
|
14083
14234
|
* @param {*} [options] Override http request option.
|
|
14235
|
+
* @deprecated
|
|
14084
14236
|
* @throws {RequiredError}
|
|
14085
14237
|
* @memberof GitRepositoriesApi
|
|
14086
14238
|
*/
|
|
@@ -14091,6 +14243,7 @@ class GitRepositoriesApi extends base_1.BaseAPI {
|
|
|
14091
14243
|
*
|
|
14092
14244
|
* @summary Get git provider accounts
|
|
14093
14245
|
* @param {*} [options] Override http request option.
|
|
14246
|
+
* @deprecated
|
|
14094
14247
|
* @throws {RequiredError}
|
|
14095
14248
|
* @memberof GitRepositoriesApi
|
|
14096
14249
|
*/
|
|
@@ -14101,6 +14254,7 @@ class GitRepositoriesApi extends base_1.BaseAPI {
|
|
|
14101
14254
|
*
|
|
14102
14255
|
* @summary Get github repositories of the connected user
|
|
14103
14256
|
* @param {*} [options] Override http request option.
|
|
14257
|
+
* @deprecated
|
|
14104
14258
|
* @throws {RequiredError}
|
|
14105
14259
|
* @memberof GitRepositoriesApi
|
|
14106
14260
|
*/
|
|
@@ -14112,6 +14266,7 @@ class GitRepositoriesApi extends base_1.BaseAPI {
|
|
|
14112
14266
|
* @summary Get github branches of the specified repository
|
|
14113
14267
|
* @param {string} [name] The name of the repository where to retrieve the branches
|
|
14114
14268
|
* @param {*} [options] Override http request option.
|
|
14269
|
+
* @deprecated
|
|
14115
14270
|
* @throws {RequiredError}
|
|
14116
14271
|
* @memberof GitRepositoriesApi
|
|
14117
14272
|
*/
|
|
@@ -14122,6 +14277,7 @@ class GitRepositoriesApi extends base_1.BaseAPI {
|
|
|
14122
14277
|
*
|
|
14123
14278
|
* @summary Get gitlab repositories of the connected user
|
|
14124
14279
|
* @param {*} [options] Override http request option.
|
|
14280
|
+
* @deprecated
|
|
14125
14281
|
* @throws {RequiredError}
|
|
14126
14282
|
* @memberof GitRepositoriesApi
|
|
14127
14283
|
*/
|
|
@@ -14133,6 +14289,7 @@ class GitRepositoriesApi extends base_1.BaseAPI {
|
|
|
14133
14289
|
* @summary Get gitlab branches of the specified repository
|
|
14134
14290
|
* @param {string} [name] The name of the repository to retrieve the branches
|
|
14135
14291
|
* @param {*} [options] Override http request option.
|
|
14292
|
+
* @deprecated
|
|
14136
14293
|
* @throws {RequiredError}
|
|
14137
14294
|
* @memberof GitRepositoriesApi
|
|
14138
14295
|
*/
|
|
@@ -15251,6 +15408,527 @@ class MembersApi extends base_1.BaseAPI {
|
|
|
15251
15408
|
}
|
|
15252
15409
|
}
|
|
15253
15410
|
exports.MembersApi = MembersApi;
|
|
15411
|
+
/**
|
|
15412
|
+
* OrganizationAccountGitRepositoriesApi - axios parameter creator
|
|
15413
|
+
* @export
|
|
15414
|
+
*/
|
|
15415
|
+
const OrganizationAccountGitRepositoriesApiAxiosParamCreator = function (configuration) {
|
|
15416
|
+
return {
|
|
15417
|
+
/**
|
|
15418
|
+
*
|
|
15419
|
+
* @summary Get bitbucket repositories of the connected user
|
|
15420
|
+
* @param {string} organizationId Organization ID
|
|
15421
|
+
* @param {*} [options] Override http request option.
|
|
15422
|
+
* @throws {RequiredError}
|
|
15423
|
+
*/
|
|
15424
|
+
getOrganizationBitbucketRepositories: (organizationId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
15425
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
15426
|
+
(0, common_1.assertParamExists)('getOrganizationBitbucketRepositories', 'organizationId', organizationId);
|
|
15427
|
+
const localVarPath = `/organization/{organizationId}/account/bitbucket/repository`
|
|
15428
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
15429
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15430
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15431
|
+
let baseOptions;
|
|
15432
|
+
if (configuration) {
|
|
15433
|
+
baseOptions = configuration.baseOptions;
|
|
15434
|
+
}
|
|
15435
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
15436
|
+
const localVarHeaderParameter = {};
|
|
15437
|
+
const localVarQueryParameter = {};
|
|
15438
|
+
// authentication bearerAuth required
|
|
15439
|
+
// http bearer authentication required
|
|
15440
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
15441
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15442
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15443
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15444
|
+
return {
|
|
15445
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
15446
|
+
options: localVarRequestOptions,
|
|
15447
|
+
};
|
|
15448
|
+
}),
|
|
15449
|
+
/**
|
|
15450
|
+
*
|
|
15451
|
+
* @summary Get bitbucket branches of the specified repository
|
|
15452
|
+
* @param {string} organizationId Organization ID
|
|
15453
|
+
* @param {string} [name] The name of the repository where to retrieve the branches
|
|
15454
|
+
* @param {*} [options] Override http request option.
|
|
15455
|
+
* @throws {RequiredError}
|
|
15456
|
+
*/
|
|
15457
|
+
getOrganizationBitbucketRepositoryBranches: (organizationId, name, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
15458
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
15459
|
+
(0, common_1.assertParamExists)('getOrganizationBitbucketRepositoryBranches', 'organizationId', organizationId);
|
|
15460
|
+
const localVarPath = `/organization/{organizationId}/account/bitbucket/repository/branch`
|
|
15461
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
15462
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15463
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15464
|
+
let baseOptions;
|
|
15465
|
+
if (configuration) {
|
|
15466
|
+
baseOptions = configuration.baseOptions;
|
|
15467
|
+
}
|
|
15468
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
15469
|
+
const localVarHeaderParameter = {};
|
|
15470
|
+
const localVarQueryParameter = {};
|
|
15471
|
+
// authentication bearerAuth required
|
|
15472
|
+
// http bearer authentication required
|
|
15473
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
15474
|
+
if (name !== undefined) {
|
|
15475
|
+
localVarQueryParameter['name'] = name;
|
|
15476
|
+
}
|
|
15477
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15478
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15479
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15480
|
+
return {
|
|
15481
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
15482
|
+
options: localVarRequestOptions,
|
|
15483
|
+
};
|
|
15484
|
+
}),
|
|
15485
|
+
/**
|
|
15486
|
+
*
|
|
15487
|
+
* @summary Get git provider accounts
|
|
15488
|
+
* @param {string} organizationId Organization ID
|
|
15489
|
+
* @param {*} [options] Override http request option.
|
|
15490
|
+
* @throws {RequiredError}
|
|
15491
|
+
*/
|
|
15492
|
+
getOrganizationGitProviderAccount: (organizationId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
15493
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
15494
|
+
(0, common_1.assertParamExists)('getOrganizationGitProviderAccount', 'organizationId', organizationId);
|
|
15495
|
+
const localVarPath = `/organization/{organizationId}/account/gitAuthProvider`
|
|
15496
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
15497
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15498
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15499
|
+
let baseOptions;
|
|
15500
|
+
if (configuration) {
|
|
15501
|
+
baseOptions = configuration.baseOptions;
|
|
15502
|
+
}
|
|
15503
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
15504
|
+
const localVarHeaderParameter = {};
|
|
15505
|
+
const localVarQueryParameter = {};
|
|
15506
|
+
// authentication bearerAuth required
|
|
15507
|
+
// http bearer authentication required
|
|
15508
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
15509
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15510
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15511
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15512
|
+
return {
|
|
15513
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
15514
|
+
options: localVarRequestOptions,
|
|
15515
|
+
};
|
|
15516
|
+
}),
|
|
15517
|
+
/**
|
|
15518
|
+
*
|
|
15519
|
+
* @summary Get github repositories of the connected user
|
|
15520
|
+
* @param {string} organizationId Organization ID
|
|
15521
|
+
* @param {*} [options] Override http request option.
|
|
15522
|
+
* @throws {RequiredError}
|
|
15523
|
+
*/
|
|
15524
|
+
getOrganizationGithubRepositories: (organizationId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
15525
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
15526
|
+
(0, common_1.assertParamExists)('getOrganizationGithubRepositories', 'organizationId', organizationId);
|
|
15527
|
+
const localVarPath = `/organization/{organizationId}/account/github/repository`
|
|
15528
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
15529
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15530
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15531
|
+
let baseOptions;
|
|
15532
|
+
if (configuration) {
|
|
15533
|
+
baseOptions = configuration.baseOptions;
|
|
15534
|
+
}
|
|
15535
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
15536
|
+
const localVarHeaderParameter = {};
|
|
15537
|
+
const localVarQueryParameter = {};
|
|
15538
|
+
// authentication bearerAuth required
|
|
15539
|
+
// http bearer authentication required
|
|
15540
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
15541
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15542
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15543
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15544
|
+
return {
|
|
15545
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
15546
|
+
options: localVarRequestOptions,
|
|
15547
|
+
};
|
|
15548
|
+
}),
|
|
15549
|
+
/**
|
|
15550
|
+
*
|
|
15551
|
+
* @summary Get github branches of the specified repository
|
|
15552
|
+
* @param {string} organizationId Organization ID
|
|
15553
|
+
* @param {string} [name] The name of the repository where to retrieve the branches
|
|
15554
|
+
* @param {*} [options] Override http request option.
|
|
15555
|
+
* @throws {RequiredError}
|
|
15556
|
+
*/
|
|
15557
|
+
getOrganizationGithubRepositoryBranches: (organizationId, name, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
15558
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
15559
|
+
(0, common_1.assertParamExists)('getOrganizationGithubRepositoryBranches', 'organizationId', organizationId);
|
|
15560
|
+
const localVarPath = `/organization/{organizationId}/account/github/repository/branch`
|
|
15561
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
15562
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15563
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15564
|
+
let baseOptions;
|
|
15565
|
+
if (configuration) {
|
|
15566
|
+
baseOptions = configuration.baseOptions;
|
|
15567
|
+
}
|
|
15568
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
15569
|
+
const localVarHeaderParameter = {};
|
|
15570
|
+
const localVarQueryParameter = {};
|
|
15571
|
+
// authentication bearerAuth required
|
|
15572
|
+
// http bearer authentication required
|
|
15573
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
15574
|
+
if (name !== undefined) {
|
|
15575
|
+
localVarQueryParameter['name'] = name;
|
|
15576
|
+
}
|
|
15577
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15578
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15579
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15580
|
+
return {
|
|
15581
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
15582
|
+
options: localVarRequestOptions,
|
|
15583
|
+
};
|
|
15584
|
+
}),
|
|
15585
|
+
/**
|
|
15586
|
+
*
|
|
15587
|
+
* @summary Get gitlab repositories of the connected user
|
|
15588
|
+
* @param {string} organizationId Organization ID
|
|
15589
|
+
* @param {*} [options] Override http request option.
|
|
15590
|
+
* @throws {RequiredError}
|
|
15591
|
+
*/
|
|
15592
|
+
getOrganizationGitlabRepositories: (organizationId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
15593
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
15594
|
+
(0, common_1.assertParamExists)('getOrganizationGitlabRepositories', 'organizationId', organizationId);
|
|
15595
|
+
const localVarPath = `/organization/{organizationId}/account/gitlab/repository`
|
|
15596
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
15597
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15598
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15599
|
+
let baseOptions;
|
|
15600
|
+
if (configuration) {
|
|
15601
|
+
baseOptions = configuration.baseOptions;
|
|
15602
|
+
}
|
|
15603
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
15604
|
+
const localVarHeaderParameter = {};
|
|
15605
|
+
const localVarQueryParameter = {};
|
|
15606
|
+
// authentication bearerAuth required
|
|
15607
|
+
// http bearer authentication required
|
|
15608
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
15609
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15610
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15611
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15612
|
+
return {
|
|
15613
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
15614
|
+
options: localVarRequestOptions,
|
|
15615
|
+
};
|
|
15616
|
+
}),
|
|
15617
|
+
/**
|
|
15618
|
+
*
|
|
15619
|
+
* @summary Get gitlab branches of the specified repository
|
|
15620
|
+
* @param {string} organizationId Organization ID
|
|
15621
|
+
* @param {string} [name] The name of the repository to retrieve the branches
|
|
15622
|
+
* @param {*} [options] Override http request option.
|
|
15623
|
+
* @throws {RequiredError}
|
|
15624
|
+
*/
|
|
15625
|
+
getOrganizationGitlabRepositoryBranches: (organizationId, name, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
15626
|
+
// verify required parameter 'organizationId' is not null or undefined
|
|
15627
|
+
(0, common_1.assertParamExists)('getOrganizationGitlabRepositoryBranches', 'organizationId', organizationId);
|
|
15628
|
+
const localVarPath = `/organization/{organizationId}/account/gitlab/repository/branch`
|
|
15629
|
+
.replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
|
|
15630
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15631
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
15632
|
+
let baseOptions;
|
|
15633
|
+
if (configuration) {
|
|
15634
|
+
baseOptions = configuration.baseOptions;
|
|
15635
|
+
}
|
|
15636
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
15637
|
+
const localVarHeaderParameter = {};
|
|
15638
|
+
const localVarQueryParameter = {};
|
|
15639
|
+
// authentication bearerAuth required
|
|
15640
|
+
// http bearer authentication required
|
|
15641
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
15642
|
+
if (name !== undefined) {
|
|
15643
|
+
localVarQueryParameter['name'] = name;
|
|
15644
|
+
}
|
|
15645
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
15646
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15647
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
15648
|
+
return {
|
|
15649
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
15650
|
+
options: localVarRequestOptions,
|
|
15651
|
+
};
|
|
15652
|
+
}),
|
|
15653
|
+
};
|
|
15654
|
+
};
|
|
15655
|
+
exports.OrganizationAccountGitRepositoriesApiAxiosParamCreator = OrganizationAccountGitRepositoriesApiAxiosParamCreator;
|
|
15656
|
+
/**
|
|
15657
|
+
* OrganizationAccountGitRepositoriesApi - functional programming interface
|
|
15658
|
+
* @export
|
|
15659
|
+
*/
|
|
15660
|
+
const OrganizationAccountGitRepositoriesApiFp = function (configuration) {
|
|
15661
|
+
const localVarAxiosParamCreator = (0, exports.OrganizationAccountGitRepositoriesApiAxiosParamCreator)(configuration);
|
|
15662
|
+
return {
|
|
15663
|
+
/**
|
|
15664
|
+
*
|
|
15665
|
+
* @summary Get bitbucket repositories of the connected user
|
|
15666
|
+
* @param {string} organizationId Organization ID
|
|
15667
|
+
* @param {*} [options] Override http request option.
|
|
15668
|
+
* @throws {RequiredError}
|
|
15669
|
+
*/
|
|
15670
|
+
getOrganizationBitbucketRepositories(organizationId, options) {
|
|
15671
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
15672
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrganizationBitbucketRepositories(organizationId, options);
|
|
15673
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
15674
|
+
});
|
|
15675
|
+
},
|
|
15676
|
+
/**
|
|
15677
|
+
*
|
|
15678
|
+
* @summary Get bitbucket branches of the specified repository
|
|
15679
|
+
* @param {string} organizationId Organization ID
|
|
15680
|
+
* @param {string} [name] The name of the repository where to retrieve the branches
|
|
15681
|
+
* @param {*} [options] Override http request option.
|
|
15682
|
+
* @throws {RequiredError}
|
|
15683
|
+
*/
|
|
15684
|
+
getOrganizationBitbucketRepositoryBranches(organizationId, name, options) {
|
|
15685
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
15686
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrganizationBitbucketRepositoryBranches(organizationId, name, options);
|
|
15687
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
15688
|
+
});
|
|
15689
|
+
},
|
|
15690
|
+
/**
|
|
15691
|
+
*
|
|
15692
|
+
* @summary Get git provider accounts
|
|
15693
|
+
* @param {string} organizationId Organization ID
|
|
15694
|
+
* @param {*} [options] Override http request option.
|
|
15695
|
+
* @throws {RequiredError}
|
|
15696
|
+
*/
|
|
15697
|
+
getOrganizationGitProviderAccount(organizationId, options) {
|
|
15698
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
15699
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrganizationGitProviderAccount(organizationId, options);
|
|
15700
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
15701
|
+
});
|
|
15702
|
+
},
|
|
15703
|
+
/**
|
|
15704
|
+
*
|
|
15705
|
+
* @summary Get github repositories of the connected user
|
|
15706
|
+
* @param {string} organizationId Organization ID
|
|
15707
|
+
* @param {*} [options] Override http request option.
|
|
15708
|
+
* @throws {RequiredError}
|
|
15709
|
+
*/
|
|
15710
|
+
getOrganizationGithubRepositories(organizationId, options) {
|
|
15711
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
15712
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrganizationGithubRepositories(organizationId, options);
|
|
15713
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
15714
|
+
});
|
|
15715
|
+
},
|
|
15716
|
+
/**
|
|
15717
|
+
*
|
|
15718
|
+
* @summary Get github branches of the specified repository
|
|
15719
|
+
* @param {string} organizationId Organization ID
|
|
15720
|
+
* @param {string} [name] The name of the repository where to retrieve the branches
|
|
15721
|
+
* @param {*} [options] Override http request option.
|
|
15722
|
+
* @throws {RequiredError}
|
|
15723
|
+
*/
|
|
15724
|
+
getOrganizationGithubRepositoryBranches(organizationId, name, options) {
|
|
15725
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
15726
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrganizationGithubRepositoryBranches(organizationId, name, options);
|
|
15727
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
15728
|
+
});
|
|
15729
|
+
},
|
|
15730
|
+
/**
|
|
15731
|
+
*
|
|
15732
|
+
* @summary Get gitlab repositories of the connected user
|
|
15733
|
+
* @param {string} organizationId Organization ID
|
|
15734
|
+
* @param {*} [options] Override http request option.
|
|
15735
|
+
* @throws {RequiredError}
|
|
15736
|
+
*/
|
|
15737
|
+
getOrganizationGitlabRepositories(organizationId, options) {
|
|
15738
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
15739
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrganizationGitlabRepositories(organizationId, options);
|
|
15740
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
15741
|
+
});
|
|
15742
|
+
},
|
|
15743
|
+
/**
|
|
15744
|
+
*
|
|
15745
|
+
* @summary Get gitlab branches of the specified repository
|
|
15746
|
+
* @param {string} organizationId Organization ID
|
|
15747
|
+
* @param {string} [name] The name of the repository to retrieve the branches
|
|
15748
|
+
* @param {*} [options] Override http request option.
|
|
15749
|
+
* @throws {RequiredError}
|
|
15750
|
+
*/
|
|
15751
|
+
getOrganizationGitlabRepositoryBranches(organizationId, name, options) {
|
|
15752
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
15753
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getOrganizationGitlabRepositoryBranches(organizationId, name, options);
|
|
15754
|
+
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
15755
|
+
});
|
|
15756
|
+
},
|
|
15757
|
+
};
|
|
15758
|
+
};
|
|
15759
|
+
exports.OrganizationAccountGitRepositoriesApiFp = OrganizationAccountGitRepositoriesApiFp;
|
|
15760
|
+
/**
|
|
15761
|
+
* OrganizationAccountGitRepositoriesApi - factory interface
|
|
15762
|
+
* @export
|
|
15763
|
+
*/
|
|
15764
|
+
const OrganizationAccountGitRepositoriesApiFactory = function (configuration, basePath, axios) {
|
|
15765
|
+
const localVarFp = (0, exports.OrganizationAccountGitRepositoriesApiFp)(configuration);
|
|
15766
|
+
return {
|
|
15767
|
+
/**
|
|
15768
|
+
*
|
|
15769
|
+
* @summary Get bitbucket repositories of the connected user
|
|
15770
|
+
* @param {string} organizationId Organization ID
|
|
15771
|
+
* @param {*} [options] Override http request option.
|
|
15772
|
+
* @throws {RequiredError}
|
|
15773
|
+
*/
|
|
15774
|
+
getOrganizationBitbucketRepositories(organizationId, options) {
|
|
15775
|
+
return localVarFp.getOrganizationBitbucketRepositories(organizationId, options).then((request) => request(axios, basePath));
|
|
15776
|
+
},
|
|
15777
|
+
/**
|
|
15778
|
+
*
|
|
15779
|
+
* @summary Get bitbucket branches of the specified repository
|
|
15780
|
+
* @param {string} organizationId Organization ID
|
|
15781
|
+
* @param {string} [name] The name of the repository where to retrieve the branches
|
|
15782
|
+
* @param {*} [options] Override http request option.
|
|
15783
|
+
* @throws {RequiredError}
|
|
15784
|
+
*/
|
|
15785
|
+
getOrganizationBitbucketRepositoryBranches(organizationId, name, options) {
|
|
15786
|
+
return localVarFp.getOrganizationBitbucketRepositoryBranches(organizationId, name, options).then((request) => request(axios, basePath));
|
|
15787
|
+
},
|
|
15788
|
+
/**
|
|
15789
|
+
*
|
|
15790
|
+
* @summary Get git provider accounts
|
|
15791
|
+
* @param {string} organizationId Organization ID
|
|
15792
|
+
* @param {*} [options] Override http request option.
|
|
15793
|
+
* @throws {RequiredError}
|
|
15794
|
+
*/
|
|
15795
|
+
getOrganizationGitProviderAccount(organizationId, options) {
|
|
15796
|
+
return localVarFp.getOrganizationGitProviderAccount(organizationId, options).then((request) => request(axios, basePath));
|
|
15797
|
+
},
|
|
15798
|
+
/**
|
|
15799
|
+
*
|
|
15800
|
+
* @summary Get github repositories of the connected user
|
|
15801
|
+
* @param {string} organizationId Organization ID
|
|
15802
|
+
* @param {*} [options] Override http request option.
|
|
15803
|
+
* @throws {RequiredError}
|
|
15804
|
+
*/
|
|
15805
|
+
getOrganizationGithubRepositories(organizationId, options) {
|
|
15806
|
+
return localVarFp.getOrganizationGithubRepositories(organizationId, options).then((request) => request(axios, basePath));
|
|
15807
|
+
},
|
|
15808
|
+
/**
|
|
15809
|
+
*
|
|
15810
|
+
* @summary Get github branches of the specified repository
|
|
15811
|
+
* @param {string} organizationId Organization ID
|
|
15812
|
+
* @param {string} [name] The name of the repository where to retrieve the branches
|
|
15813
|
+
* @param {*} [options] Override http request option.
|
|
15814
|
+
* @throws {RequiredError}
|
|
15815
|
+
*/
|
|
15816
|
+
getOrganizationGithubRepositoryBranches(organizationId, name, options) {
|
|
15817
|
+
return localVarFp.getOrganizationGithubRepositoryBranches(organizationId, name, options).then((request) => request(axios, basePath));
|
|
15818
|
+
},
|
|
15819
|
+
/**
|
|
15820
|
+
*
|
|
15821
|
+
* @summary Get gitlab repositories of the connected user
|
|
15822
|
+
* @param {string} organizationId Organization ID
|
|
15823
|
+
* @param {*} [options] Override http request option.
|
|
15824
|
+
* @throws {RequiredError}
|
|
15825
|
+
*/
|
|
15826
|
+
getOrganizationGitlabRepositories(organizationId, options) {
|
|
15827
|
+
return localVarFp.getOrganizationGitlabRepositories(organizationId, options).then((request) => request(axios, basePath));
|
|
15828
|
+
},
|
|
15829
|
+
/**
|
|
15830
|
+
*
|
|
15831
|
+
* @summary Get gitlab branches of the specified repository
|
|
15832
|
+
* @param {string} organizationId Organization ID
|
|
15833
|
+
* @param {string} [name] The name of the repository to retrieve the branches
|
|
15834
|
+
* @param {*} [options] Override http request option.
|
|
15835
|
+
* @throws {RequiredError}
|
|
15836
|
+
*/
|
|
15837
|
+
getOrganizationGitlabRepositoryBranches(organizationId, name, options) {
|
|
15838
|
+
return localVarFp.getOrganizationGitlabRepositoryBranches(organizationId, name, options).then((request) => request(axios, basePath));
|
|
15839
|
+
},
|
|
15840
|
+
};
|
|
15841
|
+
};
|
|
15842
|
+
exports.OrganizationAccountGitRepositoriesApiFactory = OrganizationAccountGitRepositoriesApiFactory;
|
|
15843
|
+
/**
|
|
15844
|
+
* OrganizationAccountGitRepositoriesApi - object-oriented interface
|
|
15845
|
+
* @export
|
|
15846
|
+
* @class OrganizationAccountGitRepositoriesApi
|
|
15847
|
+
* @extends {BaseAPI}
|
|
15848
|
+
*/
|
|
15849
|
+
class OrganizationAccountGitRepositoriesApi extends base_1.BaseAPI {
|
|
15850
|
+
/**
|
|
15851
|
+
*
|
|
15852
|
+
* @summary Get bitbucket repositories of the connected user
|
|
15853
|
+
* @param {string} organizationId Organization ID
|
|
15854
|
+
* @param {*} [options] Override http request option.
|
|
15855
|
+
* @throws {RequiredError}
|
|
15856
|
+
* @memberof OrganizationAccountGitRepositoriesApi
|
|
15857
|
+
*/
|
|
15858
|
+
getOrganizationBitbucketRepositories(organizationId, options) {
|
|
15859
|
+
return (0, exports.OrganizationAccountGitRepositoriesApiFp)(this.configuration).getOrganizationBitbucketRepositories(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
15860
|
+
}
|
|
15861
|
+
/**
|
|
15862
|
+
*
|
|
15863
|
+
* @summary Get bitbucket branches of the specified repository
|
|
15864
|
+
* @param {string} organizationId Organization ID
|
|
15865
|
+
* @param {string} [name] The name of the repository where to retrieve the branches
|
|
15866
|
+
* @param {*} [options] Override http request option.
|
|
15867
|
+
* @throws {RequiredError}
|
|
15868
|
+
* @memberof OrganizationAccountGitRepositoriesApi
|
|
15869
|
+
*/
|
|
15870
|
+
getOrganizationBitbucketRepositoryBranches(organizationId, name, options) {
|
|
15871
|
+
return (0, exports.OrganizationAccountGitRepositoriesApiFp)(this.configuration).getOrganizationBitbucketRepositoryBranches(organizationId, name, options).then((request) => request(this.axios, this.basePath));
|
|
15872
|
+
}
|
|
15873
|
+
/**
|
|
15874
|
+
*
|
|
15875
|
+
* @summary Get git provider accounts
|
|
15876
|
+
* @param {string} organizationId Organization ID
|
|
15877
|
+
* @param {*} [options] Override http request option.
|
|
15878
|
+
* @throws {RequiredError}
|
|
15879
|
+
* @memberof OrganizationAccountGitRepositoriesApi
|
|
15880
|
+
*/
|
|
15881
|
+
getOrganizationGitProviderAccount(organizationId, options) {
|
|
15882
|
+
return (0, exports.OrganizationAccountGitRepositoriesApiFp)(this.configuration).getOrganizationGitProviderAccount(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
15883
|
+
}
|
|
15884
|
+
/**
|
|
15885
|
+
*
|
|
15886
|
+
* @summary Get github repositories of the connected user
|
|
15887
|
+
* @param {string} organizationId Organization ID
|
|
15888
|
+
* @param {*} [options] Override http request option.
|
|
15889
|
+
* @throws {RequiredError}
|
|
15890
|
+
* @memberof OrganizationAccountGitRepositoriesApi
|
|
15891
|
+
*/
|
|
15892
|
+
getOrganizationGithubRepositories(organizationId, options) {
|
|
15893
|
+
return (0, exports.OrganizationAccountGitRepositoriesApiFp)(this.configuration).getOrganizationGithubRepositories(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
15894
|
+
}
|
|
15895
|
+
/**
|
|
15896
|
+
*
|
|
15897
|
+
* @summary Get github branches of the specified repository
|
|
15898
|
+
* @param {string} organizationId Organization ID
|
|
15899
|
+
* @param {string} [name] The name of the repository where to retrieve the branches
|
|
15900
|
+
* @param {*} [options] Override http request option.
|
|
15901
|
+
* @throws {RequiredError}
|
|
15902
|
+
* @memberof OrganizationAccountGitRepositoriesApi
|
|
15903
|
+
*/
|
|
15904
|
+
getOrganizationGithubRepositoryBranches(organizationId, name, options) {
|
|
15905
|
+
return (0, exports.OrganizationAccountGitRepositoriesApiFp)(this.configuration).getOrganizationGithubRepositoryBranches(organizationId, name, options).then((request) => request(this.axios, this.basePath));
|
|
15906
|
+
}
|
|
15907
|
+
/**
|
|
15908
|
+
*
|
|
15909
|
+
* @summary Get gitlab repositories of the connected user
|
|
15910
|
+
* @param {string} organizationId Organization ID
|
|
15911
|
+
* @param {*} [options] Override http request option.
|
|
15912
|
+
* @throws {RequiredError}
|
|
15913
|
+
* @memberof OrganizationAccountGitRepositoriesApi
|
|
15914
|
+
*/
|
|
15915
|
+
getOrganizationGitlabRepositories(organizationId, options) {
|
|
15916
|
+
return (0, exports.OrganizationAccountGitRepositoriesApiFp)(this.configuration).getOrganizationGitlabRepositories(organizationId, options).then((request) => request(this.axios, this.basePath));
|
|
15917
|
+
}
|
|
15918
|
+
/**
|
|
15919
|
+
*
|
|
15920
|
+
* @summary Get gitlab branches of the specified repository
|
|
15921
|
+
* @param {string} organizationId Organization ID
|
|
15922
|
+
* @param {string} [name] The name of the repository to retrieve the branches
|
|
15923
|
+
* @param {*} [options] Override http request option.
|
|
15924
|
+
* @throws {RequiredError}
|
|
15925
|
+
* @memberof OrganizationAccountGitRepositoriesApi
|
|
15926
|
+
*/
|
|
15927
|
+
getOrganizationGitlabRepositoryBranches(organizationId, name, options) {
|
|
15928
|
+
return (0, exports.OrganizationAccountGitRepositoriesApiFp)(this.configuration).getOrganizationGitlabRepositoryBranches(organizationId, name, options).then((request) => request(this.axios, this.basePath));
|
|
15929
|
+
}
|
|
15930
|
+
}
|
|
15931
|
+
exports.OrganizationAccountGitRepositoriesApi = OrganizationAccountGitRepositoriesApi;
|
|
15254
15932
|
/**
|
|
15255
15933
|
* OrganizationApiTokenApi - axios parameter creator
|
|
15256
15934
|
* @export
|
|
@@ -15258,7 +15936,7 @@ exports.MembersApi = MembersApi;
|
|
|
15258
15936
|
const OrganizationApiTokenApiAxiosParamCreator = function (configuration) {
|
|
15259
15937
|
return {
|
|
15260
15938
|
/**
|
|
15261
|
-
* Create an organization api token
|
|
15939
|
+
* Create an organization api token. You can use the generated token to interact in a programmatic way with our API.
|
|
15262
15940
|
* @summary Create an organization api token
|
|
15263
15941
|
* @param {string} organizationId Organization ID
|
|
15264
15942
|
* @param {OrganizationApiTokenCreateRequest} [organizationApiTokenCreateRequest]
|
|
@@ -15371,7 +16049,7 @@ const OrganizationApiTokenApiFp = function (configuration) {
|
|
|
15371
16049
|
const localVarAxiosParamCreator = (0, exports.OrganizationApiTokenApiAxiosParamCreator)(configuration);
|
|
15372
16050
|
return {
|
|
15373
16051
|
/**
|
|
15374
|
-
* Create an organization api token
|
|
16052
|
+
* Create an organization api token. You can use the generated token to interact in a programmatic way with our API.
|
|
15375
16053
|
* @summary Create an organization api token
|
|
15376
16054
|
* @param {string} organizationId Organization ID
|
|
15377
16055
|
* @param {OrganizationApiTokenCreateRequest} [organizationApiTokenCreateRequest]
|
|
@@ -15422,7 +16100,7 @@ const OrganizationApiTokenApiFactory = function (configuration, basePath, axios)
|
|
|
15422
16100
|
const localVarFp = (0, exports.OrganizationApiTokenApiFp)(configuration);
|
|
15423
16101
|
return {
|
|
15424
16102
|
/**
|
|
15425
|
-
* Create an organization api token
|
|
16103
|
+
* Create an organization api token. You can use the generated token to interact in a programmatic way with our API.
|
|
15426
16104
|
* @summary Create an organization api token
|
|
15427
16105
|
* @param {string} organizationId Organization ID
|
|
15428
16106
|
* @param {OrganizationApiTokenCreateRequest} [organizationApiTokenCreateRequest]
|
|
@@ -15464,7 +16142,7 @@ exports.OrganizationApiTokenApiFactory = OrganizationApiTokenApiFactory;
|
|
|
15464
16142
|
*/
|
|
15465
16143
|
class OrganizationApiTokenApi extends base_1.BaseAPI {
|
|
15466
16144
|
/**
|
|
15467
|
-
* Create an organization api token
|
|
16145
|
+
* Create an organization api token. You can use the generated token to interact in a programmatic way with our API.
|
|
15468
16146
|
* @summary Create an organization api token
|
|
15469
16147
|
* @param {string} organizationId Organization ID
|
|
15470
16148
|
* @param {OrganizationApiTokenCreateRequest} [organizationApiTokenCreateRequest]
|