@devopness/sdk-js 2.29.0 → 2.31.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/dist/api/generated/apis/actions-logs-api.d.ts +27 -0
- package/dist/api/generated/apis/actions-logs-api.js +57 -0
- package/dist/api/generated/apis/environments-network-rules-api.d.ts +9 -0
- package/dist/api/generated/apis/environments-network-rules-api.js +20 -0
- package/dist/api/generated/apis/environments-services-api.d.ts +9 -0
- package/dist/api/generated/apis/environments-services-api.js +20 -0
- package/dist/api/generated/apis/projects-network-rules-api.d.ts +0 -9
- package/dist/api/generated/apis/projects-network-rules-api.js +0 -20
- package/dist/api/generated/apis/projects-services-api.d.ts +0 -9
- package/dist/api/generated/apis/projects-services-api.js +0 -20
- package/dist/api/generated/apis/static-data-application-options-api.d.ts +1 -1
- package/dist/api/generated/apis/static-data-application-options-api.js +1 -1
- package/dist/api/generated/apis/static-data-cloud-provider-options-api.d.ts +1 -1
- package/dist/api/generated/apis/static-data-cloud-provider-options-api.js +1 -1
- package/dist/api/generated/apis/static-data-cloud-provider-service-instances-api.d.ts +1 -1
- package/dist/api/generated/apis/static-data-cloud-provider-service-instances-api.js +1 -1
- package/dist/api/generated/apis/static-data-cloud-provider-services-api.d.ts +1 -1
- package/dist/api/generated/apis/static-data-cloud-provider-services-api.js +1 -1
- package/dist/api/generated/apis/static-data-cron-job-options-api.d.ts +24 -0
- package/dist/api/generated/apis/static-data-cron-job-options-api.js +44 -0
- package/dist/api/generated/apis/static-data-environment-options-api.d.ts +24 -0
- package/dist/api/generated/apis/static-data-environment-options-api.js +44 -0
- package/dist/api/generated/apis/static-data-permissions-api.d.ts +26 -0
- package/dist/api/generated/apis/{static-data-api.js → static-data-permissions-api.js} +15 -42
- package/dist/api/generated/apis/static-data-service-options-api.d.ts +24 -0
- package/dist/api/generated/apis/static-data-service-options-api.js +44 -0
- package/dist/api/generated/models/application-update.d.ts +3 -3
- package/dist/api/generated/models/blueprint-service.d.ts +3 -3
- package/dist/api/generated/models/cron-job-options.d.ts +3 -3
- package/dist/api/generated/models/environment-options.d.ts +4 -4
- package/dist/api/generated/models/index.d.ts +8 -6
- package/dist/api/generated/models/index.js +8 -6
- package/dist/api/generated/models/log.d.ts +14 -7
- package/dist/api/generated/models/network-rule-environment-create.d.ts +68 -0
- package/dist/api/generated/models/{cron-job-frequency.js → network-rule-environment-create.js} +0 -0
- package/dist/api/generated/models/network-rule-update.d.ts +3 -4
- package/dist/api/generated/models/{permission.d.ts → permission-relation.d.ts} +8 -8
- package/dist/api/generated/models/{permission-permissions.js → permission-relation.js} +0 -0
- package/dist/api/generated/models/service-environment-create.d.ts +50 -0
- package/dist/api/generated/models/{permission.js → service-environment-create.js} +0 -0
- package/dist/api/generated/models/service-options.d.ts +4 -4
- package/dist/api/generated/models/service-project-create.d.ts +3 -3
- package/dist/api/generated/models/service-type.d.ts +9 -29
- package/dist/api/generated/models/service-type.js +15 -0
- package/dist/api/generated/models/service-update.d.ts +3 -4
- package/dist/api/generated/models/service.d.ts +6 -0
- package/dist/api/generated/models/{cron-job-frequency.d.ts → static-cron-job-frequency.d.ts} +5 -5
- package/dist/api/generated/models/{server-action-log.js → static-cron-job-frequency.js} +0 -0
- package/dist/api/generated/models/static-environment-type.d.ts +36 -0
- package/dist/api/generated/models/{service-type-supported-versions.js → static-environment-type.js} +0 -0
- package/dist/api/generated/models/{permission-permissions.d.ts → static-permission.d.ts} +6 -6
- package/dist/api/generated/models/static-permission.js +14 -0
- package/dist/api/generated/models/{service-type-supported-versions.d.ts → static-service-type-supported-versions.d.ts} +3 -3
- package/dist/api/generated/models/static-service-type-supported-versions.js +14 -0
- package/dist/api/generated/models/static-service-type.d.ts +44 -0
- package/dist/api/generated/models/static-service-type.js +14 -0
- package/dist/services/LogService.d.ts +2 -2
- package/dist/services/LogService.js +2 -2
- package/dist/services/StaticService.d.ts +9 -2
- package/dist/services/StaticService.js +9 -3
- package/package.json +1 -1
- package/dist/api/generated/apis/logs-api.d.ts +0 -64
- package/dist/api/generated/apis/logs-api.js +0 -153
- package/dist/api/generated/apis/static-data-api.d.ts +0 -42
- package/dist/api/generated/models/server-action-log.d.ts +0 -37
- package/dist/api/generated/models/service-name.d.ts +0 -24
- package/dist/api/generated/models/service-name.js +0 -29
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* devopness API
|
|
5
|
+
* Devopness API - Painless essential DevOps to everyone
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: latest
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24
|
+
exports.StaticDataServiceOptionsApiService = void 0;
|
|
25
|
+
const ApiBaseService_1 = require("../../../services/ApiBaseService");
|
|
26
|
+
const ApiResponse_1 = require("../../../common/ApiResponse");
|
|
27
|
+
/**
|
|
28
|
+
* StaticDataServiceOptionsApiService - Auto-generated
|
|
29
|
+
*/
|
|
30
|
+
class StaticDataServiceOptionsApiService extends ApiBaseService_1.ApiBaseService {
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @summary List `Service` resource options
|
|
34
|
+
*/
|
|
35
|
+
getStaticServiceOptions() {
|
|
36
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
37
|
+
let queryString = '';
|
|
38
|
+
const requestUrl = '/static/service-options' + (queryString ? `?${queryString}` : '');
|
|
39
|
+
const response = yield this.get(requestUrl);
|
|
40
|
+
return new ApiResponse_1.ApiResponse(response);
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
exports.StaticDataServiceOptionsApiService = StaticDataServiceOptionsApiService;
|
|
@@ -75,7 +75,7 @@ export interface ApplicationUpdate {
|
|
|
75
75
|
* @type {string}
|
|
76
76
|
* @memberof ApplicationUpdate
|
|
77
77
|
*/
|
|
78
|
-
repository
|
|
78
|
+
repository?: string;
|
|
79
79
|
/**
|
|
80
80
|
* Numeric ID of the pipeline used as default on deploy the application.
|
|
81
81
|
* @type {string}
|
|
@@ -83,11 +83,11 @@ export interface ApplicationUpdate {
|
|
|
83
83
|
*/
|
|
84
84
|
default_pipeline_id?: string;
|
|
85
85
|
/**
|
|
86
|
-
* Numeric ID of the source provider account where the repository is hosted.
|
|
86
|
+
* Numeric ID of the source provider account where the repository is hosted. This field is required when <code>repository</code> is present.
|
|
87
87
|
* @type {number}
|
|
88
88
|
* @memberof ApplicationUpdate
|
|
89
89
|
*/
|
|
90
|
-
source_provider_id
|
|
90
|
+
source_provider_id?: number;
|
|
91
91
|
/**
|
|
92
92
|
* The relative directory where package manager\'s manifest files (`package.json`, `composer.json`, `yarn.lock`, etc) are located. It needs to be set for applications where the actual source code is not located in the top level directory of the repository. Must start with one of <code>/</code>.
|
|
93
93
|
* @type {string}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
12
|
+
import { ServiceType } from './service-type';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -18,8 +18,8 @@ import { ServiceName } from './service-name';
|
|
|
18
18
|
export interface BlueprintService {
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
|
-
* @type {
|
|
21
|
+
* @type {ServiceType}
|
|
22
22
|
* @memberof BlueprintService
|
|
23
23
|
*/
|
|
24
|
-
name?:
|
|
24
|
+
name?: ServiceType;
|
|
25
25
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
12
|
+
import { StaticCronJobFrequency } from './static-cron-job-frequency';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -18,8 +18,8 @@ import { CronJobFrequency } from './cron-job-frequency';
|
|
|
18
18
|
export interface CronJobOptions {
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
|
-
* @type {Array<
|
|
21
|
+
* @type {Array<StaticCronJobFrequency>}
|
|
22
22
|
* @memberof CronJobOptions
|
|
23
23
|
*/
|
|
24
|
-
frequencies: Array<
|
|
24
|
+
frequencies: Array<StaticCronJobFrequency>;
|
|
25
25
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
12
|
+
import { StaticEnvironmentType } from './static-environment-type';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -17,9 +17,9 @@ import { EnvironmentOptionType } from './environment-option-type';
|
|
|
17
17
|
*/
|
|
18
18
|
export interface EnvironmentOptions {
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<
|
|
20
|
+
* The supported environments types
|
|
21
|
+
* @type {Array<StaticEnvironmentType>}
|
|
22
22
|
* @memberof EnvironmentOptions
|
|
23
23
|
*/
|
|
24
|
-
types: Array<
|
|
24
|
+
types: Array<StaticEnvironmentType>;
|
|
25
25
|
}
|
|
@@ -55,7 +55,6 @@ export * from './credential-relation';
|
|
|
55
55
|
export * from './credential-setting';
|
|
56
56
|
export * from './cron-job';
|
|
57
57
|
export * from './cron-job-environment-create';
|
|
58
|
-
export * from './cron-job-frequency';
|
|
59
58
|
export * from './cron-job-options';
|
|
60
59
|
export * from './cron-job-pattern';
|
|
61
60
|
export * from './cron-job-project-create';
|
|
@@ -115,6 +114,7 @@ export * from './login-credentials';
|
|
|
115
114
|
export * from './member';
|
|
116
115
|
export * from './member-relation';
|
|
117
116
|
export * from './network-rule';
|
|
117
|
+
export * from './network-rule-environment-create';
|
|
118
118
|
export * from './network-rule-project-create';
|
|
119
119
|
export * from './network-rule-protocol';
|
|
120
120
|
export * from './network-rule-relation';
|
|
@@ -125,8 +125,7 @@ export * from './operating-system-supported-versions';
|
|
|
125
125
|
export * from './password-reset-response';
|
|
126
126
|
export * from './password-user-reset';
|
|
127
127
|
export * from './password-user-send-reset-link';
|
|
128
|
-
export * from './permission';
|
|
129
|
-
export * from './permission-permissions';
|
|
128
|
+
export * from './permission-relation';
|
|
130
129
|
export * from './pipeline';
|
|
131
130
|
export * from './pipeline-create';
|
|
132
131
|
export * from './pipeline-relation';
|
|
@@ -150,7 +149,6 @@ export * from './role-update';
|
|
|
150
149
|
export * from './script-runner';
|
|
151
150
|
export * from './server';
|
|
152
151
|
export * from './server-action';
|
|
153
|
-
export * from './server-action-log';
|
|
154
152
|
export * from './server-action-log-step';
|
|
155
153
|
export * from './server-blueprint';
|
|
156
154
|
export * from './server-cloud-service';
|
|
@@ -165,8 +163,8 @@ export * from './server-provision-settings';
|
|
|
165
163
|
export * from './server-relation';
|
|
166
164
|
export * from './server-update';
|
|
167
165
|
export * from './service';
|
|
166
|
+
export * from './service-environment-create';
|
|
168
167
|
export * from './service-initial-state';
|
|
169
|
-
export * from './service-name';
|
|
170
168
|
export * from './service-options';
|
|
171
169
|
export * from './service-project-create';
|
|
172
170
|
export * from './service-relation';
|
|
@@ -175,7 +173,6 @@ export * from './service-restart';
|
|
|
175
173
|
export * from './service-start';
|
|
176
174
|
export * from './service-stop';
|
|
177
175
|
export * from './service-type';
|
|
178
|
-
export * from './service-type-supported-versions';
|
|
179
176
|
export * from './service-update';
|
|
180
177
|
export * from './service-update-status';
|
|
181
178
|
export * from './social-account';
|
|
@@ -200,6 +197,11 @@ export * from './ssl-certificate-relation';
|
|
|
200
197
|
export * from './ssl-certificate-type';
|
|
201
198
|
export * from './ssl-certificate-validation-level';
|
|
202
199
|
export * from './static-cloud-provider-code';
|
|
200
|
+
export * from './static-cron-job-frequency';
|
|
201
|
+
export * from './static-environment-type';
|
|
202
|
+
export * from './static-permission';
|
|
203
|
+
export * from './static-service-type';
|
|
204
|
+
export * from './static-service-type-supported-versions';
|
|
203
205
|
export * from './step';
|
|
204
206
|
export * from './step-pipeline-create';
|
|
205
207
|
export * from './step-pipeline-update';
|
|
@@ -71,7 +71,6 @@ __exportStar(require("./credential-relation"), exports);
|
|
|
71
71
|
__exportStar(require("./credential-setting"), exports);
|
|
72
72
|
__exportStar(require("./cron-job"), exports);
|
|
73
73
|
__exportStar(require("./cron-job-environment-create"), exports);
|
|
74
|
-
__exportStar(require("./cron-job-frequency"), exports);
|
|
75
74
|
__exportStar(require("./cron-job-options"), exports);
|
|
76
75
|
__exportStar(require("./cron-job-pattern"), exports);
|
|
77
76
|
__exportStar(require("./cron-job-project-create"), exports);
|
|
@@ -131,6 +130,7 @@ __exportStar(require("./login-credentials"), exports);
|
|
|
131
130
|
__exportStar(require("./member"), exports);
|
|
132
131
|
__exportStar(require("./member-relation"), exports);
|
|
133
132
|
__exportStar(require("./network-rule"), exports);
|
|
133
|
+
__exportStar(require("./network-rule-environment-create"), exports);
|
|
134
134
|
__exportStar(require("./network-rule-project-create"), exports);
|
|
135
135
|
__exportStar(require("./network-rule-protocol"), exports);
|
|
136
136
|
__exportStar(require("./network-rule-relation"), exports);
|
|
@@ -141,8 +141,7 @@ __exportStar(require("./operating-system-supported-versions"), exports);
|
|
|
141
141
|
__exportStar(require("./password-reset-response"), exports);
|
|
142
142
|
__exportStar(require("./password-user-reset"), exports);
|
|
143
143
|
__exportStar(require("./password-user-send-reset-link"), exports);
|
|
144
|
-
__exportStar(require("./permission"), exports);
|
|
145
|
-
__exportStar(require("./permission-permissions"), exports);
|
|
144
|
+
__exportStar(require("./permission-relation"), exports);
|
|
146
145
|
__exportStar(require("./pipeline"), exports);
|
|
147
146
|
__exportStar(require("./pipeline-create"), exports);
|
|
148
147
|
__exportStar(require("./pipeline-relation"), exports);
|
|
@@ -166,7 +165,6 @@ __exportStar(require("./role-update"), exports);
|
|
|
166
165
|
__exportStar(require("./script-runner"), exports);
|
|
167
166
|
__exportStar(require("./server"), exports);
|
|
168
167
|
__exportStar(require("./server-action"), exports);
|
|
169
|
-
__exportStar(require("./server-action-log"), exports);
|
|
170
168
|
__exportStar(require("./server-action-log-step"), exports);
|
|
171
169
|
__exportStar(require("./server-blueprint"), exports);
|
|
172
170
|
__exportStar(require("./server-cloud-service"), exports);
|
|
@@ -181,8 +179,8 @@ __exportStar(require("./server-provision-settings"), exports);
|
|
|
181
179
|
__exportStar(require("./server-relation"), exports);
|
|
182
180
|
__exportStar(require("./server-update"), exports);
|
|
183
181
|
__exportStar(require("./service"), exports);
|
|
182
|
+
__exportStar(require("./service-environment-create"), exports);
|
|
184
183
|
__exportStar(require("./service-initial-state"), exports);
|
|
185
|
-
__exportStar(require("./service-name"), exports);
|
|
186
184
|
__exportStar(require("./service-options"), exports);
|
|
187
185
|
__exportStar(require("./service-project-create"), exports);
|
|
188
186
|
__exportStar(require("./service-relation"), exports);
|
|
@@ -191,7 +189,6 @@ __exportStar(require("./service-restart"), exports);
|
|
|
191
189
|
__exportStar(require("./service-start"), exports);
|
|
192
190
|
__exportStar(require("./service-stop"), exports);
|
|
193
191
|
__exportStar(require("./service-type"), exports);
|
|
194
|
-
__exportStar(require("./service-type-supported-versions"), exports);
|
|
195
192
|
__exportStar(require("./service-update"), exports);
|
|
196
193
|
__exportStar(require("./service-update-status"), exports);
|
|
197
194
|
__exportStar(require("./social-account"), exports);
|
|
@@ -216,6 +213,11 @@ __exportStar(require("./ssl-certificate-relation"), exports);
|
|
|
216
213
|
__exportStar(require("./ssl-certificate-type"), exports);
|
|
217
214
|
__exportStar(require("./ssl-certificate-validation-level"), exports);
|
|
218
215
|
__exportStar(require("./static-cloud-provider-code"), exports);
|
|
216
|
+
__exportStar(require("./static-cron-job-frequency"), exports);
|
|
217
|
+
__exportStar(require("./static-environment-type"), exports);
|
|
218
|
+
__exportStar(require("./static-permission"), exports);
|
|
219
|
+
__exportStar(require("./static-service-type"), exports);
|
|
220
|
+
__exportStar(require("./static-service-type-supported-versions"), exports);
|
|
219
221
|
__exportStar(require("./step"), exports);
|
|
220
222
|
__exportStar(require("./step-pipeline-create"), exports);
|
|
221
223
|
__exportStar(require("./step-pipeline-update"), exports);
|
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
12
|
+
import { ServerActionLogStep } from './server-action-log-step';
|
|
13
|
+
import { ServerRelation } from './server-relation';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
* @export
|
|
@@ -17,15 +18,21 @@ import { ServerActionLog } from './server-action-log';
|
|
|
17
18
|
*/
|
|
18
19
|
export interface Log {
|
|
19
20
|
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {
|
|
21
|
+
*
|
|
22
|
+
* @type {ServerRelation}
|
|
22
23
|
* @memberof Log
|
|
23
24
|
*/
|
|
24
|
-
|
|
25
|
+
server: ServerRelation | null;
|
|
25
26
|
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {
|
|
27
|
+
*
|
|
28
|
+
* @type {ServerActionLogStep}
|
|
29
|
+
* @memberof Log
|
|
30
|
+
*/
|
|
31
|
+
step: ServerActionLogStep | null;
|
|
32
|
+
/**
|
|
33
|
+
* The date and time when the requested log record was last updated
|
|
34
|
+
* @type {string}
|
|
28
35
|
* @memberof Log
|
|
29
36
|
*/
|
|
30
|
-
|
|
37
|
+
updated_at: string | null;
|
|
31
38
|
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* devopness API
|
|
3
|
+
* Devopness API - Painless essential DevOps to everyone
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: latest
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { NetworkRuleProtocol } from './network-rule-protocol';
|
|
13
|
+
import { NetworkRuleType } from './network-rule-type';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface NetworkRuleEnvironmentCreate
|
|
18
|
+
*/
|
|
19
|
+
export interface NetworkRuleEnvironmentCreate {
|
|
20
|
+
/**
|
|
21
|
+
* The rule\'s name/description/reminder. Must be at least 3 characters. Must not be greater than 60 characters.
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof NetworkRuleEnvironmentCreate
|
|
24
|
+
*/
|
|
25
|
+
name: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {NetworkRuleType}
|
|
29
|
+
* @memberof NetworkRuleEnvironmentCreate
|
|
30
|
+
*/
|
|
31
|
+
type: NetworkRuleType;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {NetworkRuleProtocol}
|
|
35
|
+
* @memberof NetworkRuleEnvironmentCreate
|
|
36
|
+
*/
|
|
37
|
+
protocol?: NetworkRuleProtocol;
|
|
38
|
+
/**
|
|
39
|
+
* Starting range of the public ipv4 or ipv6 addresses that can access this rule. Must be a valid IP address.
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof NetworkRuleEnvironmentCreate
|
|
42
|
+
*/
|
|
43
|
+
ip_address_from?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Ending range of the public ipv4 or ipv6 addresses that can access this rule. Must be a valid IP address.
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof NetworkRuleEnvironmentCreate
|
|
48
|
+
*/
|
|
49
|
+
ip_address_to?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Starting range of network ports to be considered by this rule. Must be at least 1. Must not be greater than 65535.
|
|
52
|
+
* @type {number}
|
|
53
|
+
* @memberof NetworkRuleEnvironmentCreate
|
|
54
|
+
*/
|
|
55
|
+
port_from: number;
|
|
56
|
+
/**
|
|
57
|
+
* Ending range of network ports to be considered by this rule. Must be at least 1. Must not be greater than 65535.
|
|
58
|
+
* @type {number}
|
|
59
|
+
* @memberof NetworkRuleEnvironmentCreate
|
|
60
|
+
*/
|
|
61
|
+
port_to: number;
|
|
62
|
+
/**
|
|
63
|
+
* List of valid resource IDs
|
|
64
|
+
* @type {Array<number>}
|
|
65
|
+
* @memberof NetworkRuleEnvironmentCreate
|
|
66
|
+
*/
|
|
67
|
+
servers?: Array<number>;
|
|
68
|
+
}
|
package/dist/api/generated/models/{cron-job-frequency.js → network-rule-environment-create.js}
RENAMED
|
File without changes
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { EnvironmentLinkItem } from './environment-link-item';
|
|
13
12
|
import { NetworkRuleProtocol } from './network-rule-protocol';
|
|
14
13
|
import { NetworkRuleType } from './network-rule-type';
|
|
15
14
|
/**
|
|
@@ -55,9 +54,9 @@ export interface NetworkRuleUpdate {
|
|
|
55
54
|
*/
|
|
56
55
|
ip_address_to?: string;
|
|
57
56
|
/**
|
|
58
|
-
*
|
|
59
|
-
* @type {Array<
|
|
57
|
+
* List of valid resource IDs
|
|
58
|
+
* @type {Array<number>}
|
|
60
59
|
* @memberof NetworkRuleUpdate
|
|
61
60
|
*/
|
|
62
|
-
|
|
61
|
+
servers?: Array<number>;
|
|
63
62
|
}
|
|
@@ -9,29 +9,29 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
12
|
+
import { StaticPermission } from './static-permission';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
16
|
-
* @interface
|
|
16
|
+
* @interface PermissionRelation
|
|
17
17
|
*/
|
|
18
|
-
export interface
|
|
18
|
+
export interface PermissionRelation {
|
|
19
19
|
/**
|
|
20
20
|
* The type of resource this permission affects
|
|
21
21
|
* @type {string}
|
|
22
|
-
* @memberof
|
|
22
|
+
* @memberof PermissionRelation
|
|
23
23
|
*/
|
|
24
24
|
resource_type: string;
|
|
25
25
|
/**
|
|
26
26
|
* Human readable resource name
|
|
27
27
|
* @type {string}
|
|
28
|
-
* @memberof
|
|
28
|
+
* @memberof PermissionRelation
|
|
29
29
|
*/
|
|
30
30
|
human_readable: string;
|
|
31
31
|
/**
|
|
32
32
|
* List of permissions available for this resource
|
|
33
|
-
* @type {Array<
|
|
34
|
-
* @memberof
|
|
33
|
+
* @type {Array<StaticPermission>}
|
|
34
|
+
* @memberof PermissionRelation
|
|
35
35
|
*/
|
|
36
|
-
permissions: Array<
|
|
36
|
+
permissions: Array<StaticPermission>;
|
|
37
37
|
}
|
|
File without changes
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* devopness API
|
|
3
|
+
* Devopness API - Painless essential DevOps to everyone
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: latest
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { ServiceInitialState } from './service-initial-state';
|
|
13
|
+
import { ServiceType } from './service-type';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ServiceEnvironmentCreate
|
|
18
|
+
*/
|
|
19
|
+
export interface ServiceEnvironmentCreate {
|
|
20
|
+
/**
|
|
21
|
+
* Tells if the service should start automatically on operating system boot.
|
|
22
|
+
* @type {boolean}
|
|
23
|
+
* @memberof ServiceEnvironmentCreate
|
|
24
|
+
*/
|
|
25
|
+
auto_start?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {ServiceInitialState}
|
|
29
|
+
* @memberof ServiceEnvironmentCreate
|
|
30
|
+
*/
|
|
31
|
+
initial_state?: ServiceInitialState;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {ServiceType}
|
|
35
|
+
* @memberof ServiceEnvironmentCreate
|
|
36
|
+
*/
|
|
37
|
+
type: ServiceType;
|
|
38
|
+
/**
|
|
39
|
+
* The service version to be installed. Must be one of <code></code> Must be at least 3 characters. Must not be greater than 30 characters.
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof ServiceEnvironmentCreate
|
|
42
|
+
*/
|
|
43
|
+
version: string;
|
|
44
|
+
/**
|
|
45
|
+
* List of valid resource IDs
|
|
46
|
+
* @type {Array<number>}
|
|
47
|
+
* @memberof ServiceEnvironmentCreate
|
|
48
|
+
*/
|
|
49
|
+
servers?: Array<number>;
|
|
50
|
+
}
|
|
File without changes
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import {
|
|
12
|
+
import { StaticServiceType } from './static-service-type';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -17,9 +17,9 @@ import { ServiceType } from './service-type';
|
|
|
17
17
|
*/
|
|
18
18
|
export interface ServiceOptions {
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<
|
|
20
|
+
* List of service types
|
|
21
|
+
* @type {Array<StaticServiceType>}
|
|
22
22
|
* @memberof ServiceOptions
|
|
23
23
|
*/
|
|
24
|
-
types: Array<
|
|
24
|
+
types: Array<StaticServiceType>;
|
|
25
25
|
}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { EnvironmentLinkItem } from './environment-link-item';
|
|
13
13
|
import { ServiceInitialState } from './service-initial-state';
|
|
14
|
-
import {
|
|
14
|
+
import { ServiceType } from './service-type';
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
17
17
|
* @export
|
|
@@ -32,10 +32,10 @@ export interface ServiceProjectCreate {
|
|
|
32
32
|
initial_state?: ServiceInitialState;
|
|
33
33
|
/**
|
|
34
34
|
*
|
|
35
|
-
* @type {
|
|
35
|
+
* @type {ServiceType}
|
|
36
36
|
* @memberof ServiceProjectCreate
|
|
37
37
|
*/
|
|
38
|
-
type:
|
|
38
|
+
type: ServiceType;
|
|
39
39
|
/**
|
|
40
40
|
* The service version to be installed. Must be one of <code></code> Must be at least 3 characters. Must not be greater than 30 characters.
|
|
41
41
|
* @type {string}
|
|
@@ -9,36 +9,16 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { ServiceName } from './service-name';
|
|
13
|
-
import { ServiceTypeSupportedVersions } from './service-type-supported-versions';
|
|
14
12
|
/**
|
|
15
|
-
*
|
|
13
|
+
* Types of OS Services supported by Devopness
|
|
16
14
|
* @export
|
|
17
|
-
* @
|
|
15
|
+
* @enum {string}
|
|
18
16
|
*/
|
|
19
|
-
export
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* Displayable version of the service name
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof ServiceType
|
|
30
|
-
*/
|
|
31
|
-
human_readable: string;
|
|
32
|
-
/**
|
|
33
|
-
* Text describing the service
|
|
34
|
-
* @type {string}
|
|
35
|
-
* @memberof ServiceType
|
|
36
|
-
*/
|
|
37
|
-
hint: string;
|
|
38
|
-
/**
|
|
39
|
-
* List of service versions supported by Devopness
|
|
40
|
-
* @type {Array<ServiceTypeSupportedVersions>}
|
|
41
|
-
* @memberof ServiceType
|
|
42
|
-
*/
|
|
43
|
-
supported_versions: Array<ServiceTypeSupportedVersions>;
|
|
17
|
+
export declare enum ServiceType {
|
|
18
|
+
Docker = "docker",
|
|
19
|
+
Mysql = "mysql",
|
|
20
|
+
Nginx = "nginx",
|
|
21
|
+
Php = "php",
|
|
22
|
+
Redis = "redis",
|
|
23
|
+
Supervisor = "supervisor"
|
|
44
24
|
}
|
|
@@ -12,3 +12,18 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.ServiceType = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* Types of OS Services supported by Devopness
|
|
18
|
+
* @export
|
|
19
|
+
* @enum {string}
|
|
20
|
+
*/
|
|
21
|
+
var ServiceType;
|
|
22
|
+
(function (ServiceType) {
|
|
23
|
+
ServiceType["Docker"] = "docker";
|
|
24
|
+
ServiceType["Mysql"] = "mysql";
|
|
25
|
+
ServiceType["Nginx"] = "nginx";
|
|
26
|
+
ServiceType["Php"] = "php";
|
|
27
|
+
ServiceType["Redis"] = "redis";
|
|
28
|
+
ServiceType["Supervisor"] = "supervisor";
|
|
29
|
+
})(ServiceType = exports.ServiceType || (exports.ServiceType = {}));
|
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { EnvironmentLinkItem } from './environment-link-item';
|
|
13
12
|
/**
|
|
14
13
|
*
|
|
15
14
|
* @export
|
|
@@ -23,9 +22,9 @@ export interface ServiceUpdate {
|
|
|
23
22
|
*/
|
|
24
23
|
id: number;
|
|
25
24
|
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {Array<
|
|
25
|
+
* List of valid resource IDs
|
|
26
|
+
* @type {Array<number>}
|
|
28
27
|
* @memberof ServiceUpdate
|
|
29
28
|
*/
|
|
30
|
-
|
|
29
|
+
servers?: Array<number>;
|
|
31
30
|
}
|
package/dist/api/generated/models/{cron-job-frequency.d.ts → static-cron-job-frequency.d.ts}
RENAMED
|
@@ -13,25 +13,25 @@ import { CronJobPattern } from './cron-job-pattern';
|
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
16
|
-
* @interface
|
|
16
|
+
* @interface StaticCronJobFrequency
|
|
17
17
|
*/
|
|
18
|
-
export interface
|
|
18
|
+
export interface StaticCronJobFrequency {
|
|
19
19
|
/**
|
|
20
20
|
* Frequency pattern to trigger the cronjob
|
|
21
21
|
* @type {string}
|
|
22
|
-
* @memberof
|
|
22
|
+
* @memberof StaticCronJobFrequency
|
|
23
23
|
*/
|
|
24
24
|
value: string;
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
* @type {CronJobPattern}
|
|
28
|
-
* @memberof
|
|
28
|
+
* @memberof StaticCronJobFrequency
|
|
29
29
|
*/
|
|
30
30
|
human_readable: CronJobPattern;
|
|
31
31
|
/**
|
|
32
32
|
* Text hint describing the frequency
|
|
33
33
|
* @type {string}
|
|
34
|
-
* @memberof
|
|
34
|
+
* @memberof StaticCronJobFrequency
|
|
35
35
|
*/
|
|
36
36
|
hint: string;
|
|
37
37
|
}
|
|
File without changes
|