@devopness/sdk-js 2.50.0 → 2.51.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.
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { CloudOs } from './cloud-os';
12
+ import { CloudOsVersionCode } from './cloud-os-version-code';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -36,8 +36,8 @@ export interface CloudAwsEc2Settings {
36
36
  storage_size: number;
37
37
  /**
38
38
  *
39
- * @type {CloudOs}
39
+ * @type {CloudOsVersionCode}
40
40
  * @memberof CloudAwsEc2Settings
41
41
  */
42
- os: CloudOs;
42
+ os_version_code: CloudOsVersionCode | null;
43
43
  }
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { CloudOs } from './cloud-os';
12
+ import { CloudOsVersionCode } from './cloud-os-version-code';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -30,8 +30,8 @@ export interface CloudDigitalOceanDropletSettings {
30
30
  region: string;
31
31
  /**
32
32
  *
33
- * @type {CloudOs}
33
+ * @type {CloudOsVersionCode}
34
34
  * @memberof CloudDigitalOceanDropletSettings
35
35
  */
36
- os: CloudOs;
36
+ os_version_code: CloudOsVersionCode | null;
37
37
  }
@@ -10,15 +10,13 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- *
13
+ * Code to identify operating system and version
14
14
  * @export
15
- * @interface OperatingSystemSupportedVersions
15
+ * @enum {string}
16
16
  */
17
- export interface OperatingSystemSupportedVersions {
18
- /**
19
- * The system\'s version that is supported
20
- * @type {string}
21
- * @memberof OperatingSystemSupportedVersions
22
- */
23
- version?: string;
17
+ export declare enum CloudOsVersionCode {
18
+ Centos7 = "centos_7",
19
+ Ubuntu1804 = "ubuntu_18_04",
20
+ Ubuntu2004 = "ubuntu_20_04",
21
+ Ubuntu2204 = "ubuntu_22_04"
24
22
  }
@@ -0,0 +1,27 @@
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.CloudOsVersionCode = void 0;
16
+ /**
17
+ * Code to identify operating system and version
18
+ * @export
19
+ * @enum {string}
20
+ */
21
+ var CloudOsVersionCode;
22
+ (function (CloudOsVersionCode) {
23
+ CloudOsVersionCode["Centos7"] = "centos_7";
24
+ CloudOsVersionCode["Ubuntu1804"] = "ubuntu_18_04";
25
+ CloudOsVersionCode["Ubuntu2004"] = "ubuntu_20_04";
26
+ CloudOsVersionCode["Ubuntu2204"] = "ubuntu_22_04";
27
+ })(CloudOsVersionCode = exports.CloudOsVersionCode || (exports.CloudOsVersionCode = {}));
@@ -29,7 +29,7 @@ export * from './blueprint-service';
29
29
  export * from './cloud-aws-ec2-settings';
30
30
  export * from './cloud-digital-ocean-droplet-settings';
31
31
  export * from './cloud-instance-relation';
32
- export * from './cloud-os';
32
+ export * from './cloud-os-version-code';
33
33
  export * from './cloud-provider';
34
34
  export * from './cloud-provider-code';
35
35
  export * from './cloud-provider-credential-settings';
@@ -105,7 +105,7 @@ export * from './network-rule-relation';
105
105
  export * from './network-rule-type';
106
106
  export * from './network-rule-update';
107
107
  export * from './operating-system';
108
- export * from './operating-system-supported-versions';
108
+ export * from './operating-system-version';
109
109
  export * from './password-reset-response';
110
110
  export * from './password-user-reset';
111
111
  export * from './password-user-send-reset-link';
@@ -45,7 +45,7 @@ __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
47
  __exportStar(require("./cloud-instance-relation"), exports);
48
- __exportStar(require("./cloud-os"), exports);
48
+ __exportStar(require("./cloud-os-version-code"), exports);
49
49
  __exportStar(require("./cloud-provider"), exports);
50
50
  __exportStar(require("./cloud-provider-code"), exports);
51
51
  __exportStar(require("./cloud-provider-credential-settings"), exports);
@@ -121,7 +121,7 @@ __exportStar(require("./network-rule-relation"), exports);
121
121
  __exportStar(require("./network-rule-type"), exports);
122
122
  __exportStar(require("./network-rule-update"), exports);
123
123
  __exportStar(require("./operating-system"), exports);
124
- __exportStar(require("./operating-system-supported-versions"), exports);
124
+ __exportStar(require("./operating-system-version"), exports);
125
125
  __exportStar(require("./password-reset-response"), exports);
126
126
  __exportStar(require("./password-user-reset"), exports);
127
127
  __exportStar(require("./password-user-send-reset-link"), exports);
@@ -0,0 +1,61 @@
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 OperatingSystemVersion
17
+ */
18
+ export interface OperatingSystemVersion {
19
+ /**
20
+ * Version name
21
+ * @type {string}
22
+ * @memberof OperatingSystemVersion
23
+ */
24
+ name: string;
25
+ /**
26
+ * The name given to the OS version while it is under development. For some OS it can be seen as a version nickname that is used to refer to that version even after official release.
27
+ * @type {string}
28
+ * @memberof OperatingSystemVersion
29
+ */
30
+ code_name: string;
31
+ /**
32
+ * Version number
33
+ * @type {string}
34
+ * @memberof OperatingSystemVersion
35
+ */
36
+ version: string;
37
+ /**
38
+ *
39
+ * @type {CloudOsVersionCode}
40
+ * @memberof OperatingSystemVersion
41
+ */
42
+ os_version_code: CloudOsVersionCode | null;
43
+ /**
44
+ * Release date
45
+ * @type {string}
46
+ * @memberof OperatingSystemVersion
47
+ */
48
+ released_at: string;
49
+ /**
50
+ * The date when this release will no longer receive updates under their LTS (Long Term Support) conditions. For details and terms of service, please refer to the documentation on the OS website.
51
+ * @type {string}
52
+ * @memberof OperatingSystemVersion
53
+ */
54
+ end_standard_support_at: string;
55
+ /**
56
+ * The date when this release will no longer receive any patches or security updates. For details and terms of service, please refer to the documentation on the OS website.
57
+ * @type {string}
58
+ * @memberof OperatingSystemVersion
59
+ */
60
+ end_of_life_at: string;
61
+ }
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { OperatingSystemSupportedVersions } from './operating-system-supported-versions';
12
+ import { OperatingSystemVersion } from './operating-system-version';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -35,9 +35,9 @@ export interface OperatingSystem {
35
35
  */
36
36
  hint: string;
37
37
  /**
38
- * List of operating system versions supported by Devopness
39
- * @type {Array<OperatingSystemSupportedVersions>}
38
+ *
39
+ * @type {Array<OperatingSystemVersion>}
40
40
  * @memberof OperatingSystem
41
41
  */
42
- supported_versions: Array<OperatingSystemSupportedVersions>;
42
+ supported_versions: Array<OperatingSystemVersion>;
43
43
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devopness/sdk-js",
3
- "version": "2.50.0",
3
+ "version": "2.51.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -1,30 +0,0 @@
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
- *
14
- * @export
15
- * @interface CloudOs
16
- */
17
- export interface CloudOs {
18
- /**
19
- * The operating system\'s name
20
- * @type {string}
21
- * @memberof CloudOs
22
- */
23
- name: string;
24
- /**
25
- * The version of the operating system
26
- * @type {string}
27
- * @memberof CloudOs
28
- */
29
- version: string;
30
- }
@@ -1,14 +0,0 @@
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 });