@devopness/sdk-js 2.57.0 → 2.59.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';
@@ -131,6 +132,7 @@ export * from './request-relation';
131
132
  export * from './resource-event';
132
133
  export * from './resource-event-relation';
133
134
  export * from './resource-link-relation';
135
+ export * from './resource-operation';
134
136
  export * from './resource-type';
135
137
  export * from './resource-type-relation';
136
138
  export * from './role';
@@ -148,6 +150,7 @@ export * from './server-cloud-service-name';
148
150
  export * from './server-command';
149
151
  export * from './server-environment-create';
150
152
  export * from './server-provision-settings';
153
+ export * from './server-provision-settings-input';
151
154
  export * from './server-relation';
152
155
  export * from './server-update';
153
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);
@@ -147,6 +148,7 @@ __exportStar(require("./request-relation"), exports);
147
148
  __exportStar(require("./resource-event"), exports);
148
149
  __exportStar(require("./resource-event-relation"), exports);
149
150
  __exportStar(require("./resource-link-relation"), exports);
151
+ __exportStar(require("./resource-operation"), exports);
150
152
  __exportStar(require("./resource-type"), exports);
151
153
  __exportStar(require("./resource-type-relation"), exports);
152
154
  __exportStar(require("./role"), exports);
@@ -164,6 +166,7 @@ __exportStar(require("./server-cloud-service-name"), exports);
164
166
  __exportStar(require("./server-command"), exports);
165
167
  __exportStar(require("./server-environment-create"), exports);
166
168
  __exportStar(require("./server-provision-settings"), exports);
169
+ __exportStar(require("./server-provision-settings-input"), exports);
167
170
  __exportStar(require("./server-relation"), exports);
168
171
  __exportStar(require("./server-update"), exports);
169
172
  __exportStar(require("./service"), exports);
@@ -22,11 +22,11 @@ export interface PipelineSettings {
22
22
  * @type {Array<PipelineSettingsStage>}
23
23
  * @memberof PipelineSettings
24
24
  */
25
- stages?: Array<PipelineSettingsStage>;
25
+ stages?: Array<PipelineSettingsStage> | null;
26
26
  /**
27
27
  * The list of pipeline setting variable
28
28
  * @type {Array<PipelineSettingsVariable>}
29
29
  * @memberof PipelineSettings
30
30
  */
31
- variables?: Array<PipelineSettingsVariable>;
31
+ variables?: Array<PipelineSettingsVariable> | null;
32
32
  }
@@ -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 { PipelineSettings } from './pipeline-settings';
13
+ /**
14
+ * An operation supported by this resource type that can have pipelines associated to it.
15
+ * @export
16
+ * @interface ResourceOperation
17
+ */
18
+ export interface ResourceOperation {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof ResourceOperation
23
+ */
24
+ operation?: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof ResourceOperation
29
+ */
30
+ operation_human_readable?: string;
31
+ /**
32
+ *
33
+ * @type {PipelineSettings}
34
+ * @memberof ResourceOperation
35
+ */
36
+ pipeline_settings?: PipelineSettings;
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 });
@@ -9,6 +9,8 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { ResourceOperation } from './resource-operation';
13
+ import { ResourceType } from './resource-type';
12
14
  /**
13
15
  *
14
16
  * @export
@@ -16,27 +18,27 @@
16
18
  */
17
19
  export interface ResourceTypeRelation {
18
20
  /**
19
- * The type of resource this resourceType affects
20
- * @type {string}
21
+ *
22
+ * @type {ResourceType}
21
23
  * @memberof ResourceTypeRelation
22
24
  */
23
- resource_type: string;
25
+ resource_type: ResourceType;
24
26
  /**
25
- * Human readable resource name
27
+ * Human readable version of the resource type
26
28
  * @type {string}
27
29
  * @memberof ResourceTypeRelation
28
30
  */
29
31
  resource_type_human_readable: string;
30
32
  /**
31
- * Human readable plural resource name
33
+ * Human readable version of the resource type, in plural form
32
34
  * @type {string}
33
35
  * @memberof ResourceTypeRelation
34
36
  */
35
37
  resource_type_human_readable_plural: string;
36
38
  /**
37
- * An operation supported by this resource type and can have pipelines associated to it.
38
- * @type {object}
39
+ * A list of resource operations
40
+ * @type {Array<ResourceOperation>}
39
41
  * @memberof ResourceTypeRelation
40
42
  */
41
- supported_operations: object | null;
43
+ supported_operations: Array<ResourceOperation>;
42
44
  }
@@ -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.57.0",
3
+ "version": "2.59.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },