@devopness/sdk-js 2.58.0 → 2.60.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/models/cloud-gcp-settings.d.ts +37 -0
- package/dist/api/generated/models/cloud-gcp-settings.js +14 -0
- package/dist/api/generated/models/cloud-os-version-code.d.ts +1 -1
- package/dist/api/generated/models/cloud-os-version-code.js +1 -1
- package/dist/api/generated/models/environment.d.ts +1 -1
- package/dist/api/generated/models/index.d.ts +2 -0
- package/dist/api/generated/models/index.js +2 -0
- package/dist/api/generated/models/pipeline-create.d.ts +6 -0
- package/dist/api/generated/models/pipeline-relation.d.ts +18 -0
- package/dist/api/generated/models/pipeline.d.ts +21 -2
- package/dist/api/generated/models/resource-type-relation.d.ts +6 -5
- package/dist/api/generated/models/resource-type.d.ts +1 -1
- package/dist/api/generated/models/resource-type.js +1 -1
- package/dist/api/generated/models/role-project-create.d.ts +1 -1
- package/dist/api/generated/models/role-relation.d.ts +1 -1
- package/dist/api/generated/models/role-update.d.ts +1 -1
- package/dist/api/generated/models/role.d.ts +1 -1
- package/dist/api/generated/models/server-cloud-service.d.ts +3 -2
- package/dist/api/generated/models/server-provision-settings-input.d.ts +25 -0
- package/dist/api/generated/models/server-provision-settings-input.js +14 -0
- package/dist/api/generated/models/server.d.ts +14 -0
- package/dist/api/generated/models/triggered-action-stats.d.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,37 @@
|
|
|
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 { CloudOsVersionCode } from './cloud-os-version-code';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CloudGcpSettings
|
|
17
|
+
*/
|
|
18
|
+
export interface CloudGcpSettings {
|
|
19
|
+
/**
|
|
20
|
+
* The instance type to be launched on the cloud provider
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof CloudGcpSettings
|
|
23
|
+
*/
|
|
24
|
+
instance_type: string;
|
|
25
|
+
/**
|
|
26
|
+
* Datacenter region where the cloud instance will be launched
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof CloudGcpSettings
|
|
29
|
+
*/
|
|
30
|
+
region: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {CloudOsVersionCode}
|
|
34
|
+
* @memberof CloudGcpSettings
|
|
35
|
+
*/
|
|
36
|
+
os_version_code: CloudOsVersionCode | null;
|
|
37
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
15
|
exports.CloudOsVersionCode = void 0;
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* The Operating System distribution and version used in the server/virtual machine instance
|
|
18
18
|
* @export
|
|
19
19
|
* @enum {string}
|
|
20
20
|
*/
|
|
@@ -28,6 +28,7 @@ export * from './application-update';
|
|
|
28
28
|
export * from './blueprint-service';
|
|
29
29
|
export * from './cloud-aws-ec2-settings';
|
|
30
30
|
export * from './cloud-digital-ocean-droplet-settings';
|
|
31
|
+
export * from './cloud-gcp-settings';
|
|
31
32
|
export * from './cloud-instance-relation';
|
|
32
33
|
export * from './cloud-os-version-code';
|
|
33
34
|
export * from './cloud-provider';
|
|
@@ -149,6 +150,7 @@ export * from './server-cloud-service-name';
|
|
|
149
150
|
export * from './server-command';
|
|
150
151
|
export * from './server-environment-create';
|
|
151
152
|
export * from './server-provision-settings';
|
|
153
|
+
export * from './server-provision-settings-input';
|
|
152
154
|
export * from './server-relation';
|
|
153
155
|
export * from './server-update';
|
|
154
156
|
export * from './service';
|
|
@@ -44,6 +44,7 @@ __exportStar(require("./application-update"), exports);
|
|
|
44
44
|
__exportStar(require("./blueprint-service"), exports);
|
|
45
45
|
__exportStar(require("./cloud-aws-ec2-settings"), exports);
|
|
46
46
|
__exportStar(require("./cloud-digital-ocean-droplet-settings"), exports);
|
|
47
|
+
__exportStar(require("./cloud-gcp-settings"), exports);
|
|
47
48
|
__exportStar(require("./cloud-instance-relation"), exports);
|
|
48
49
|
__exportStar(require("./cloud-os-version-code"), exports);
|
|
49
50
|
__exportStar(require("./cloud-provider"), exports);
|
|
@@ -165,6 +166,7 @@ __exportStar(require("./server-cloud-service-name"), exports);
|
|
|
165
166
|
__exportStar(require("./server-command"), exports);
|
|
166
167
|
__exportStar(require("./server-environment-create"), exports);
|
|
167
168
|
__exportStar(require("./server-provision-settings"), exports);
|
|
169
|
+
__exportStar(require("./server-provision-settings-input"), exports);
|
|
168
170
|
__exportStar(require("./server-relation"), exports);
|
|
169
171
|
__exportStar(require("./server-update"), exports);
|
|
170
172
|
__exportStar(require("./service"), exports);
|
|
@@ -21,4 +21,10 @@ export interface PipelineCreate {
|
|
|
21
21
|
* @memberof PipelineCreate
|
|
22
22
|
*/
|
|
23
23
|
name: string;
|
|
24
|
+
/**
|
|
25
|
+
* The resource operation associated to the pipeline. Must not be greater than 20 characters.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PipelineCreate
|
|
28
|
+
*/
|
|
29
|
+
operation: string;
|
|
24
30
|
}
|
|
@@ -46,12 +46,30 @@ export interface PipelineRelation {
|
|
|
46
46
|
* @memberof PipelineRelation
|
|
47
47
|
*/
|
|
48
48
|
resource_type: string;
|
|
49
|
+
/**
|
|
50
|
+
* Human readable version of the resource type
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof PipelineRelation
|
|
53
|
+
*/
|
|
54
|
+
resource_type_human_readable: string;
|
|
49
55
|
/**
|
|
50
56
|
* The pipeline\'s resource ID
|
|
51
57
|
* @type {number}
|
|
52
58
|
* @memberof PipelineRelation
|
|
53
59
|
*/
|
|
54
60
|
resource_id: number;
|
|
61
|
+
/**
|
|
62
|
+
* The resource operation associated to the pipeline.
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof PipelineRelation
|
|
65
|
+
*/
|
|
66
|
+
operation: string;
|
|
67
|
+
/**
|
|
68
|
+
* Human readable version of the operation
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof PipelineRelation
|
|
71
|
+
*/
|
|
72
|
+
operation_human_readable: string;
|
|
55
73
|
/**
|
|
56
74
|
*
|
|
57
75
|
* @type {UserRelation}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { ResourceType } from './resource-type';
|
|
12
13
|
import { Step } from './step';
|
|
13
14
|
import { UserRelation } from './user-relation';
|
|
14
15
|
/**
|
|
@@ -42,17 +43,35 @@ export interface Pipeline {
|
|
|
42
43
|
*/
|
|
43
44
|
project_id: number;
|
|
44
45
|
/**
|
|
45
|
-
*
|
|
46
|
+
*
|
|
47
|
+
* @type {ResourceType}
|
|
48
|
+
* @memberof Pipeline
|
|
49
|
+
*/
|
|
50
|
+
resource_type: ResourceType;
|
|
51
|
+
/**
|
|
52
|
+
* Human readable version of the resource type
|
|
46
53
|
* @type {string}
|
|
47
54
|
* @memberof Pipeline
|
|
48
55
|
*/
|
|
49
|
-
|
|
56
|
+
resource_type_human_readable: string;
|
|
50
57
|
/**
|
|
51
58
|
* The pipeline\'s resource ID
|
|
52
59
|
* @type {number}
|
|
53
60
|
* @memberof Pipeline
|
|
54
61
|
*/
|
|
55
62
|
resource_id: number;
|
|
63
|
+
/**
|
|
64
|
+
* The resource operation associated to the pipeline.
|
|
65
|
+
* @type {string}
|
|
66
|
+
* @memberof Pipeline
|
|
67
|
+
*/
|
|
68
|
+
operation: string;
|
|
69
|
+
/**
|
|
70
|
+
* Human readable version of the operation
|
|
71
|
+
* @type {string}
|
|
72
|
+
* @memberof Pipeline
|
|
73
|
+
*/
|
|
74
|
+
operation_human_readable: string;
|
|
56
75
|
/**
|
|
57
76
|
*
|
|
58
77
|
* @type {Array<Step>}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { ResourceOperation } from './resource-operation';
|
|
13
|
+
import { ResourceType } from './resource-type';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
* @export
|
|
@@ -17,19 +18,19 @@ import { ResourceOperation } from './resource-operation';
|
|
|
17
18
|
*/
|
|
18
19
|
export interface ResourceTypeRelation {
|
|
19
20
|
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {
|
|
21
|
+
*
|
|
22
|
+
* @type {ResourceType}
|
|
22
23
|
* @memberof ResourceTypeRelation
|
|
23
24
|
*/
|
|
24
|
-
resource_type:
|
|
25
|
+
resource_type: ResourceType;
|
|
25
26
|
/**
|
|
26
|
-
* Human readable resource
|
|
27
|
+
* Human readable version of the resource type
|
|
27
28
|
* @type {string}
|
|
28
29
|
* @memberof ResourceTypeRelation
|
|
29
30
|
*/
|
|
30
31
|
resource_type_human_readable: string;
|
|
31
32
|
/**
|
|
32
|
-
* Human readable
|
|
33
|
+
* Human readable version of the resource type, in plural form
|
|
33
34
|
* @type {string}
|
|
34
35
|
* @memberof ResourceTypeRelation
|
|
35
36
|
*/
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { CloudAwsEc2Settings } from './cloud-aws-ec2-settings';
|
|
13
13
|
import { CloudDigitalOceanDropletSettings } from './cloud-digital-ocean-droplet-settings';
|
|
14
|
+
import { CloudGcpSettings } from './cloud-gcp-settings';
|
|
14
15
|
import { ServerCloudServiceName } from './server-cloud-service-name';
|
|
15
16
|
/**
|
|
16
17
|
*
|
|
@@ -26,8 +27,8 @@ export interface ServerCloudService {
|
|
|
26
27
|
name?: ServerCloudServiceName;
|
|
27
28
|
/**
|
|
28
29
|
* The configurations used to cloud service
|
|
29
|
-
* @type {CloudAwsEc2Settings | CloudDigitalOceanDropletSettings}
|
|
30
|
+
* @type {CloudAwsEc2Settings | CloudDigitalOceanDropletSettings | CloudGcpSettings}
|
|
30
31
|
* @memberof ServerCloudService
|
|
31
32
|
*/
|
|
32
|
-
settings?: CloudAwsEc2Settings | CloudDigitalOceanDropletSettings;
|
|
33
|
+
settings?: CloudAwsEc2Settings | CloudDigitalOceanDropletSettings | CloudGcpSettings;
|
|
33
34
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
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 { ServerCloudService } from './server-cloud-service';
|
|
13
|
+
/**
|
|
14
|
+
* Configuration used to launch this server
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ServerProvisionSettingsInput
|
|
17
|
+
*/
|
|
18
|
+
export interface ServerProvisionSettingsInput {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {ServerCloudService}
|
|
22
|
+
* @memberof ServerProvisionSettingsInput
|
|
23
|
+
*/
|
|
24
|
+
cloud_service: ServerCloudService | null;
|
|
25
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -11,9 +11,11 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { ActionRelation } from './action-relation';
|
|
13
13
|
import { ActionStatus } from './action-status';
|
|
14
|
+
import { CloudOsVersionCode } from './cloud-os-version-code';
|
|
14
15
|
import { EnvironmentRelation } from './environment-relation';
|
|
15
16
|
import { ProjectRelation } from './project-relation';
|
|
16
17
|
import { ServerBlueprint } from './server-blueprint';
|
|
18
|
+
import { ServerProvisionSettingsInput } from './server-provision-settings-input';
|
|
17
19
|
import { UserRelation } from './user-relation';
|
|
18
20
|
/**
|
|
19
21
|
*
|
|
@@ -69,6 +71,12 @@ export interface Server {
|
|
|
69
71
|
* @memberof Server
|
|
70
72
|
*/
|
|
71
73
|
ssh_port: number;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {CloudOsVersionCode}
|
|
77
|
+
* @memberof Server
|
|
78
|
+
*/
|
|
79
|
+
os_version_code: CloudOsVersionCode | null;
|
|
72
80
|
/**
|
|
73
81
|
* Tells if the server is active or not
|
|
74
82
|
* @type {boolean}
|
|
@@ -87,6 +95,12 @@ export interface Server {
|
|
|
87
95
|
* @memberof Server
|
|
88
96
|
*/
|
|
89
97
|
blueprint: ServerBlueprint;
|
|
98
|
+
/**
|
|
99
|
+
*
|
|
100
|
+
* @type {ServerProvisionSettingsInput}
|
|
101
|
+
* @memberof Server
|
|
102
|
+
*/
|
|
103
|
+
provision_settings: ServerProvisionSettingsInput;
|
|
90
104
|
/**
|
|
91
105
|
*
|
|
92
106
|
* @type {UserRelation}
|