@devopness/sdk-js 2.45.0 → 2.46.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.
@@ -34,6 +34,12 @@ export interface ActionRelation {
34
34
  * @memberof ActionRelation
35
35
  */
36
36
  status: ActionStatus;
37
+ /**
38
+ * Current item status human readable
39
+ * @type {string}
40
+ * @memberof ActionRelation
41
+ */
42
+ status_human_readable: string;
37
43
  /**
38
44
  *
39
45
  * @type {ActionType}
@@ -45,6 +45,12 @@ export interface ActionRetryResponse {
45
45
  * @memberof ActionRetryResponse
46
46
  */
47
47
  status: ActionStatus;
48
+ /**
49
+ * Current item status human readable
50
+ * @type {string}
51
+ * @memberof ActionRetryResponse
52
+ */
53
+ status_human_readable: string;
48
54
  /**
49
55
  *
50
56
  * @type {ActionType}
@@ -45,6 +45,12 @@ export interface Action {
45
45
  * @memberof Action
46
46
  */
47
47
  status: ActionStatus;
48
+ /**
49
+ * Current item status human readable
50
+ * @type {string}
51
+ * @memberof Action
52
+ */
53
+ status_human_readable: string;
48
54
  /**
49
55
  *
50
56
  * @type {ActionType}
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import { ApplicationLastDeployments } from './application-last-deployments';
13
13
  import { ApplicationType } from './application-type';
14
+ import { SourceProvider } from './source-provider';
14
15
  /**
15
16
  *
16
17
  * @export
@@ -161,6 +162,12 @@ export interface ApplicationRelation {
161
162
  * @memberof ApplicationRelation
162
163
  */
163
164
  last_deployments?: ApplicationLastDeployments;
165
+ /**
166
+ *
167
+ * @type {SourceProvider}
168
+ * @memberof ApplicationRelation
169
+ */
170
+ source_provider?: SourceProvider;
164
171
  /**
165
172
  * The date and time when the record was created
166
173
  * @type {string}
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { ServiceInitialState } from './service-initial-state';
12
13
  import { ServiceType } from './service-type';
13
14
  /**
14
15
  *
@@ -16,10 +17,28 @@ import { ServiceType } from './service-type';
16
17
  * @interface BlueprintService
17
18
  */
18
19
  export interface BlueprintService {
20
+ /**
21
+ * Indicates if the service will start automatically on operating system boot
22
+ * @type {boolean}
23
+ * @memberof BlueprintService
24
+ */
25
+ auto_start?: boolean;
26
+ /**
27
+ *
28
+ * @type {ServiceInitialState}
29
+ * @memberof BlueprintService
30
+ */
31
+ initial_state?: ServiceInitialState;
19
32
  /**
20
33
  *
21
34
  * @type {ServiceType}
22
35
  * @memberof BlueprintService
23
36
  */
24
- name?: ServiceType;
37
+ type: ServiceType;
38
+ /**
39
+ * The service version
40
+ * @type {string}
41
+ * @memberof BlueprintService
42
+ */
43
+ version: string;
25
44
  }
@@ -30,6 +30,12 @@ export interface RelatedAction {
30
30
  * @memberof RelatedAction
31
31
  */
32
32
  status: ActionStatus;
33
+ /**
34
+ * Human readable version of the action status
35
+ * @type {string}
36
+ * @memberof RelatedAction
37
+ */
38
+ status_human_readable?: string;
33
39
  /**
34
40
  *
35
41
  * @type {ActionType}
@@ -9,17 +9,46 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { BlueprintService } from './blueprint-service';
13
12
  /**
14
- *
13
+ * Blueprint for creating a server
15
14
  * @export
16
15
  * @interface ServerBlueprint
17
16
  */
18
17
  export interface ServerBlueprint {
19
18
  /**
20
- * The list of services that must be installed on the server
21
- * @type {Array<BlueprintService>}
19
+ * The unique id of the blueprint
20
+ * @type {number}
21
+ * @memberof ServerBlueprint
22
+ */
23
+ id?: number;
24
+ /**
25
+ * Name of the blueprint
26
+ * @type {string}
27
+ * @memberof ServerBlueprint
28
+ */
29
+ name?: string;
30
+ /**
31
+ * The blueprint type
32
+ * @type {string}
33
+ * @memberof ServerBlueprint
34
+ */
35
+ type?: string;
36
+ /**
37
+ *
38
+ * @type {object}
39
+ * @memberof ServerBlueprint
40
+ */
41
+ spec?: object;
42
+ /**
43
+ * The date and time when the record was created
44
+ * @type {string}
45
+ * @memberof ServerBlueprint
46
+ */
47
+ created_at?: string;
48
+ /**
49
+ * The date and time when the record was last updated
50
+ * @type {string}
22
51
  * @memberof ServerBlueprint
23
52
  */
24
- services?: Array<BlueprintService> | null;
53
+ updated_at?: string;
25
54
  }
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { ServerBlueprint } from './server-blueprint';
12
+ import { BlueprintService } from './blueprint-service';
13
13
  import { ServerProvisionSettings } from './server-provision-settings';
14
14
  /**
15
15
  *
@@ -36,11 +36,11 @@ export interface ServerEnvironmentCreate {
36
36
  */
37
37
  ssh_port?: number;
38
38
  /**
39
- *
40
- * @type {ServerBlueprint}
39
+ * The specification for this blueprint. Usually contains the service names and their respective versions to be installed on a server.
40
+ * @type {Array<BlueprintService>}
41
41
  * @memberof ServerEnvironmentCreate
42
42
  */
43
- blueprint: ServerBlueprint;
43
+ blueprint?: Array<BlueprintService>;
44
44
  /**
45
45
  *
46
46
  * @type {ServerProvisionSettings}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devopness/sdk-js",
3
- "version": "2.45.0",
3
+ "version": "2.46.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },