@devopness/sdk-js 1.98.0 → 1.99.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.
- package/README.md +1 -2
- package/dist/api/generated/models/cloud-service.d.ts +10 -1
- package/dist/api/generated/models/cloud-service.js +11 -0
- package/dist/api/generated/models/server-cloud-service-name.d.ts +2 -1
- package/dist/api/generated/models/server-cloud-service-name.js +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -78,7 +78,6 @@ async function getUserProfile() {
|
|
|
78
78
|
getUserProfile();
|
|
79
79
|
```
|
|
80
80
|
|
|
81
|
-
|
|
82
81
|
### TypeScript support
|
|
83
82
|
This package includes TypeScript declarations for every method.
|
|
84
83
|
TypeScript versions `>= 3.8` are supported.
|
|
@@ -104,4 +103,4 @@ npm run build-api-models
|
|
|
104
103
|
4. Run tests
|
|
105
104
|
```
|
|
106
105
|
npm run test
|
|
107
|
-
```
|
|
106
|
+
```
|
|
@@ -22,7 +22,7 @@ export interface CloudService {
|
|
|
22
22
|
* @type {string}
|
|
23
23
|
* @memberof CloudService
|
|
24
24
|
*/
|
|
25
|
-
code:
|
|
25
|
+
code: CloudServiceCodeEnum;
|
|
26
26
|
/**
|
|
27
27
|
* The full name of the cloud service
|
|
28
28
|
* @type {string}
|
|
@@ -42,3 +42,12 @@ export interface CloudService {
|
|
|
42
42
|
*/
|
|
43
43
|
os: Array<OperatingSystem>;
|
|
44
44
|
}
|
|
45
|
+
/**
|
|
46
|
+
* @export
|
|
47
|
+
* @enum {string}
|
|
48
|
+
*/
|
|
49
|
+
export declare enum CloudServiceCodeEnum {
|
|
50
|
+
Ec2 = "ec2",
|
|
51
|
+
Droplet = "droplet",
|
|
52
|
+
GcpGce = "gcp-gce"
|
|
53
|
+
}
|
|
@@ -12,3 +12,14 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.CloudServiceCodeEnum = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* @export
|
|
18
|
+
* @enum {string}
|
|
19
|
+
*/
|
|
20
|
+
var CloudServiceCodeEnum;
|
|
21
|
+
(function (CloudServiceCodeEnum) {
|
|
22
|
+
CloudServiceCodeEnum["Ec2"] = "ec2";
|
|
23
|
+
CloudServiceCodeEnum["Droplet"] = "droplet";
|
|
24
|
+
CloudServiceCodeEnum["GcpGce"] = "gcp-gce";
|
|
25
|
+
})(CloudServiceCodeEnum = exports.CloudServiceCodeEnum || (exports.CloudServiceCodeEnum = {}));
|
|
@@ -22,4 +22,5 @@ var ServerCloudServiceName;
|
|
|
22
22
|
(function (ServerCloudServiceName) {
|
|
23
23
|
ServerCloudServiceName["Droplet"] = "droplet";
|
|
24
24
|
ServerCloudServiceName["Ec2"] = "ec2";
|
|
25
|
+
ServerCloudServiceName["GcpGce"] = "gcp-gce";
|
|
25
26
|
})(ServerCloudServiceName = exports.ServerCloudServiceName || (exports.ServerCloudServiceName = {}));
|