@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.
@@ -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 });
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- * Code to identify operating system and version
13
+ * The Operating System distribution and version used in the server/virtual machine instance
14
14
  * @export
15
15
  * @enum {string}
16
16
  */
@@ -14,7 +14,7 @@
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.CloudOsVersionCode = void 0;
16
16
  /**
17
- * Code to identify operating system and version
17
+ * The Operating System distribution and version used in the server/virtual machine instance
18
18
  * @export
19
19
  * @enum {string}
20
20
  */
@@ -104,7 +104,7 @@ export interface Environment {
104
104
  */
105
105
  created_by_user: UserRelation;
106
106
  /**
107
- * The list of permissions for this role
107
+ * The list of permissions granted for this role
108
108
  * @type {Array<string>}
109
109
  * @memberof Environment
110
110
  */
@@ -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
- * The pipeline\'s resource type
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
- resource_type: string;
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
- * The type of resource this resourceType affects
21
- * @type {string}
21
+ *
22
+ * @type {ResourceType}
22
23
  * @memberof ResourceTypeRelation
23
24
  */
24
- resource_type: string;
25
+ resource_type: ResourceType;
25
26
  /**
26
- * Human readable resource name
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 plural resource name
33
+ * Human readable version of the resource type, in plural form
33
34
  * @type {string}
34
35
  * @memberof ResourceTypeRelation
35
36
  */
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- *
13
+ * Type of an infrastructure resource managed through a Devopness environment.
14
14
  * @export
15
15
  * @enum {string}
16
16
  */
@@ -14,7 +14,7 @@
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
15
  exports.ResourceType = void 0;
16
16
  /**
17
- *
17
+ * Type of an infrastructure resource managed through a Devopness environment.
18
18
  * @export
19
19
  * @enum {string}
20
20
  */
@@ -28,7 +28,7 @@ export interface RoleProjectCreate {
28
28
  */
29
29
  description?: string;
30
30
  /**
31
- * The list of permissions for this role
31
+ * The list of permissions granted for this role
32
32
  * @type {Array<string>}
33
33
  * @memberof RoleProjectCreate
34
34
  */
@@ -40,7 +40,7 @@ export interface RoleRelation {
40
40
  */
41
41
  project_id: number;
42
42
  /**
43
- * The list of permissions for this role
43
+ * The list of permissions granted for this role
44
44
  * @type {Array<string>}
45
45
  * @memberof RoleRelation
46
46
  */
@@ -28,7 +28,7 @@ export interface RoleUpdate {
28
28
  */
29
29
  description?: string;
30
30
  /**
31
- * The list of permissions for this role
31
+ * The list of permissions granted for this role
32
32
  * @type {Array<string>}
33
33
  * @memberof RoleUpdate
34
34
  */
@@ -40,7 +40,7 @@ export interface Role {
40
40
  */
41
41
  project_id: number;
42
42
  /**
43
- * The list of permissions for this role
43
+ * The list of permissions granted for this role
44
44
  * @type {Array<string>}
45
45
  * @memberof Role
46
46
  */
@@ -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}
@@ -29,7 +29,7 @@ export interface TriggeredActionStats {
29
29
  */
30
30
  action_type?: string;
31
31
  /**
32
- * Type of resource used in action human readable
32
+ * Human readable version of the resource type
33
33
  * @type {string}
34
34
  * @memberof TriggeredActionStats
35
35
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devopness/sdk-js",
3
- "version": "2.58.0",
3
+ "version": "2.60.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },