@devopness/sdk-js 2.163.1 → 2.163.2

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.
@@ -203,6 +203,7 @@ export * from './server-environment-create';
203
203
  export * from './server-options';
204
204
  export * from './server-provision-input';
205
205
  export * from './server-relation';
206
+ export * from './server-status';
206
207
  export * from './server-update';
207
208
  export * from './service';
208
209
  export * from './service-environment-create';
@@ -219,6 +219,7 @@ __exportStar(require("./server-environment-create"), exports);
219
219
  __exportStar(require("./server-options"), exports);
220
220
  __exportStar(require("./server-provision-input"), exports);
221
221
  __exportStar(require("./server-relation"), exports);
222
+ __exportStar(require("./server-status"), exports);
222
223
  __exportStar(require("./server-update"), exports);
223
224
  __exportStar(require("./service"), exports);
224
225
  __exportStar(require("./service-environment-create"), exports);
@@ -10,8 +10,8 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { ActionRelationShallow } from './action-relation-shallow';
13
- import { ActionStatus } from './action-status';
14
13
  import { CredentialRelation } from './credential-relation';
14
+ import { ServerStatus } from './server-status';
15
15
  /**
16
16
  *
17
17
  * @export
@@ -77,7 +77,7 @@ export interface ServerRelation {
77
77
  * @type {string}
78
78
  * @memberof ServerRelation
79
79
  */
80
- ip_address: string;
80
+ ip_address?: string;
81
81
  /**
82
82
  * The network port to which the SSH daemon is listening to SSH connections on the server
83
83
  * @type {number}
@@ -92,10 +92,10 @@ export interface ServerRelation {
92
92
  active: boolean;
93
93
  /**
94
94
  *
95
- * @type {ActionStatus}
95
+ * @type {ServerStatus}
96
96
  * @memberof ServerRelation
97
97
  */
98
- status: ActionStatus;
98
+ status: ServerStatus;
99
99
  /**
100
100
  *
101
101
  * @type {ActionRelationShallow}
@@ -0,0 +1,26 @@
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
+ /**
13
+ * The status of the server
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare enum ServerStatus {
18
+ Configuring = "configuring",
19
+ Failed = "failed",
20
+ Pending = "pending",
21
+ Provisioned = "provisioned",
22
+ Provisioning = "provisioning",
23
+ Restarting = "restarting",
24
+ Running = "running",
25
+ Stopped = "stopped"
26
+ }
@@ -0,0 +1,31 @@
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 });
15
+ exports.ServerStatus = void 0;
16
+ /**
17
+ * The status of the server
18
+ * @export
19
+ * @enum {string}
20
+ */
21
+ var ServerStatus;
22
+ (function (ServerStatus) {
23
+ ServerStatus["Configuring"] = "configuring";
24
+ ServerStatus["Failed"] = "failed";
25
+ ServerStatus["Pending"] = "pending";
26
+ ServerStatus["Provisioned"] = "provisioned";
27
+ ServerStatus["Provisioning"] = "provisioning";
28
+ ServerStatus["Restarting"] = "restarting";
29
+ ServerStatus["Running"] = "running";
30
+ ServerStatus["Stopped"] = "stopped";
31
+ })(ServerStatus || (exports.ServerStatus = ServerStatus = {}));
@@ -10,7 +10,6 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { ActionRelation } from './action-relation';
13
- import { ActionStatus } from './action-status';
14
13
  import { CloudOsVersionCode } from './cloud-os-version-code';
15
14
  import { CredentialRelation } from './credential-relation';
16
15
  import { EnvironmentRelation } from './environment-relation';
@@ -19,6 +18,7 @@ import { ProjectRelation } from './project-relation';
19
18
  import { ServerBlueprint } from './server-blueprint';
20
19
  import { ServerCloudServiceCode } from './server-cloud-service-code';
21
20
  import { ServerProvisionInput } from './server-provision-input';
21
+ import { ServerStatus } from './server-status';
22
22
  import { UserRelation } from './user-relation';
23
23
  /**
24
24
  *
@@ -73,7 +73,7 @@ export interface Server {
73
73
  * @type {string}
74
74
  * @memberof Server
75
75
  */
76
- ip_address: string;
76
+ ip_address?: string;
77
77
  /**
78
78
  * The network port to which the SSH daemon is listening to SSH connections on the server
79
79
  * @type {number}
@@ -100,10 +100,10 @@ export interface Server {
100
100
  active: boolean;
101
101
  /**
102
102
  *
103
- * @type {ActionStatus}
103
+ * @type {ServerStatus}
104
104
  * @memberof Server
105
105
  */
106
- status: ActionStatus;
106
+ status: ServerStatus;
107
107
  /**
108
108
  * Maximum number of actions that can run in parallel on this server. `0` means no limit of simultaneous actions. `1` means just a single action will be started at a time to run on this server,
109
109
  * @type {number}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@devopness/sdk-js",
4
- "version": "2.163.1",
4
+ "version": "2.163.2",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -54,7 +54,7 @@
54
54
  "@eslint/js": "^9.25.0",
55
55
  "@openapitools/openapi-generator-cli": "^2.20.0",
56
56
  "@types/jest": "^29.5.12",
57
- "@typescript-eslint/parser": "^8.30.1",
57
+ "@typescript-eslint/parser": "^8.31.1",
58
58
  "axios-mock-adapter": "^2.1.0",
59
59
  "eslint": "^9.25.1",
60
60
  "eslint-import-resolver-typescript": "^4.3.4",
@@ -66,7 +66,7 @@
66
66
  "ts-jest": "^29.3.2",
67
67
  "typedoc": "^0.28.3",
68
68
  "typescript": "^5.8.3",
69
- "typescript-eslint": "^8.31.0"
69
+ "typescript-eslint": "^8.31.1"
70
70
  },
71
71
  "dependencies": {
72
72
  "@types/parse-link-header": "^2.0.3",