@devopness/sdk-js 2.73.0 → 2.74.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.
@@ -16,10 +16,12 @@
16
16
  */
17
17
  export declare enum ActionType {
18
18
  Add = "add",
19
+ CheckProvisioned = "check_provisioned",
19
20
  Deploy = "deploy",
20
21
  Disable = "disable",
21
22
  Enable = "enable",
22
- GetStatus = "get-status",
23
+ GetStatus = "get_status",
24
+ Provision = "provision",
23
25
  Redeploy = "redeploy",
24
26
  Reload = "reload",
25
27
  Remove = "remove",
@@ -21,10 +21,12 @@ exports.ActionType = void 0;
21
21
  var ActionType;
22
22
  (function (ActionType) {
23
23
  ActionType["Add"] = "add";
24
+ ActionType["CheckProvisioned"] = "check_provisioned";
24
25
  ActionType["Deploy"] = "deploy";
25
26
  ActionType["Disable"] = "disable";
26
27
  ActionType["Enable"] = "enable";
27
- ActionType["GetStatus"] = "get-status";
28
+ ActionType["GetStatus"] = "get_status";
29
+ ActionType["Provision"] = "provision";
28
30
  ActionType["Redeploy"] = "redeploy";
29
31
  ActionType["Reload"] = "reload";
30
32
  ActionType["Remove"] = "remove";
@@ -144,6 +144,7 @@ export * from './role-update';
144
144
  export * from './script-runner';
145
145
  export * from './server';
146
146
  export * from './server-action';
147
+ export * from './server-action-data';
147
148
  export * from './server-action-log-step';
148
149
  export * from './server-blueprint';
149
150
  export * from './server-blueprint-spec';
@@ -160,6 +160,7 @@ __exportStar(require("./role-update"), exports);
160
160
  __exportStar(require("./script-runner"), exports);
161
161
  __exportStar(require("./server"), exports);
162
162
  __exportStar(require("./server-action"), exports);
163
+ __exportStar(require("./server-action-data"), exports);
163
164
  __exportStar(require("./server-action-log-step"), exports);
164
165
  __exportStar(require("./server-blueprint"), exports);
165
166
  __exportStar(require("./server-blueprint-spec"), exports);
@@ -9,8 +9,8 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { ServerActionData } from './server-action-data';
12
13
  import { ServerActionLogStep } from './server-action-log-step';
13
- import { ServerRelation } from './server-relation';
14
14
  /**
15
15
  *
16
16
  * @export
@@ -19,10 +19,10 @@ import { ServerRelation } from './server-relation';
19
19
  export interface Log {
20
20
  /**
21
21
  *
22
- * @type {ServerRelation}
22
+ * @type {ServerActionData}
23
23
  * @memberof Log
24
24
  */
25
- server: ServerRelation | null;
25
+ server: ServerActionData | null;
26
26
  /**
27
27
  *
28
28
  * @type {ServerActionLogStep}
@@ -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 { CloudOsVersionCode } from './cloud-os-version-code';
13
+ import { ServerProvisionSettingsInput } from './server-provision-settings-input';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface ServerActionData
18
+ */
19
+ export interface ServerActionData {
20
+ /**
21
+ * The unique id of the server
22
+ * @type {number}
23
+ * @memberof ServerActionData
24
+ */
25
+ id: number;
26
+ /**
27
+ * The server\'s hostname
28
+ * @type {string}
29
+ * @memberof ServerActionData
30
+ */
31
+ hostname: string;
32
+ /**
33
+ * The name of the server\'s provider.
34
+ * @type {string}
35
+ * @memberof ServerActionData
36
+ */
37
+ provider_name: string;
38
+ /**
39
+ * The human readable version of the provider\'s name
40
+ * @type {string}
41
+ * @memberof ServerActionData
42
+ */
43
+ provider_name_human_readable: string;
44
+ /**
45
+ * Public ipv4 address for server access
46
+ * @type {string}
47
+ * @memberof ServerActionData
48
+ */
49
+ ip_address: string;
50
+ /**
51
+ * The network port to which the SSH daemon is listening to SSH connections on the server
52
+ * @type {number}
53
+ * @memberof ServerActionData
54
+ */
55
+ ssh_port: number;
56
+ /**
57
+ *
58
+ * @type {CloudOsVersionCode}
59
+ * @memberof ServerActionData
60
+ */
61
+ os_version_code: CloudOsVersionCode | null;
62
+ /**
63
+ *
64
+ * @type {ServerProvisionSettingsInput}
65
+ * @memberof ServerActionData
66
+ */
67
+ provision_settings: ServerProvisionSettingsInput;
68
+ }
@@ -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,6 +11,7 @@
11
11
  */
12
12
  import { ActionStatus } from './action-status';
13
13
  import { ActionStep } from './action-step';
14
+ import { ServerActionData } from './server-action-data';
14
15
  /**
15
16
  * An object representing the action dispatched to a specific server
16
17
  * @export
@@ -23,12 +24,6 @@ export interface ServerAction {
23
24
  * @memberof ServerAction
24
25
  */
25
26
  server_id?: number;
26
- /**
27
- * The name of the server on which the action must be performed
28
- * @type {string}
29
- * @memberof ServerAction
30
- */
31
- server_name?: string;
32
27
  /**
33
28
  *
34
29
  * @type {ActionStatus}
@@ -59,6 +54,12 @@ export interface ServerAction {
59
54
  * @memberof ServerAction
60
55
  */
61
56
  steps?: Array<ActionStep>;
57
+ /**
58
+ *
59
+ * @type {ServerActionData}
60
+ * @memberof ServerAction
61
+ */
62
+ server_data?: ServerActionData | null;
62
63
  /**
63
64
  * The date and time when the action started execution (i.e., left the `pending/queued` status)
64
65
  * @type {string}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devopness/sdk-js",
3
- "version": "2.73.0",
3
+ "version": "2.74.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },