@devopness/sdk-js 2.137.0 → 2.139.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.
@@ -20,6 +20,7 @@ import { ServiceRelation } from './service-relation';
20
20
  import { SshKeyRelation } from './ssh-key-relation';
21
21
  import { SslCertificateRelation } from './ssl-certificate-relation';
22
22
  import { SubnetRelation } from './subnet-relation';
23
+ import { VirtualHostRelation } from './virtual-host-relation';
23
24
  /**
24
25
  * The resource that triggered an action
25
26
  * @export
@@ -46,8 +47,8 @@ export interface ActionResource {
46
47
  type_human_readable: string;
47
48
  /**
48
49
  * The resource data of type specified on `resource.type`
49
- * @type {ApplicationRelation | CronJobRelation | DaemonRelation | NetworkRelation | NetworkRuleRelation | ServerRelation | ServiceRelation | SshKeyRelation | SslCertificateRelation | SubnetRelation}
50
+ * @type {ApplicationRelation | CronJobRelation | DaemonRelation | NetworkRelation | NetworkRuleRelation | ServerRelation | ServiceRelation | SshKeyRelation | SslCertificateRelation | SubnetRelation | VirtualHostRelation}
50
51
  * @memberof ActionResource
51
52
  */
52
- data?: ApplicationRelation | CronJobRelation | DaemonRelation | NetworkRelation | NetworkRuleRelation | ServerRelation | ServiceRelation | SshKeyRelation | SslCertificateRelation | SubnetRelation | null;
53
+ data?: ApplicationRelation | CronJobRelation | DaemonRelation | NetworkRelation | NetworkRuleRelation | ServerRelation | ServiceRelation | SshKeyRelation | SslCertificateRelation | SubnetRelation | VirtualHostRelation | null;
53
54
  }
@@ -45,4 +45,10 @@ export interface DaemonEnvironmentCreate {
45
45
  * @memberof DaemonEnvironmentCreate
46
46
  */
47
47
  name: string;
48
+ /**
49
+ * The ID of the application to be linked to the daemon. The value of `working_directory` will be relative to the application directory.
50
+ * @type {number}
51
+ * @memberof DaemonEnvironmentCreate
52
+ */
53
+ application_id?: number | null;
48
54
  }
@@ -52,9 +52,9 @@ export interface DaemonUpdate {
52
52
  */
53
53
  name: string;
54
54
  /**
55
- * Numeric ID of the project to which the daemon belongs to.
55
+ * The ID of the application to be linked to the daemon. The value of `working_directory` will be relative to the application directory.
56
56
  * @type {number}
57
57
  * @memberof DaemonUpdate
58
58
  */
59
- application_id?: number;
59
+ application_id?: number | null;
60
60
  }
@@ -40,6 +40,12 @@ export interface OperatingSystemVersion {
40
40
  * @memberof OperatingSystemVersion
41
41
  */
42
42
  os_version_code: CloudOsVersionCode | null;
43
+ /**
44
+ * Human readable version of the operating system version
45
+ * @type {string}
46
+ * @memberof OperatingSystemVersion
47
+ */
48
+ os_version_code_human_readable?: string;
43
49
  /**
44
50
  * Release date
45
51
  * @type {string}
@@ -13,6 +13,7 @@ import { ActionRelation } from './action-relation';
13
13
  import { ActionStatus } from './action-status';
14
14
  import { CloudOsVersionCode } from './cloud-os-version-code';
15
15
  import { EnvironmentRelation } from './environment-relation';
16
+ import { OperatingSystemVersion } from './operating-system-version';
16
17
  import { ProjectRelation } from './project-relation';
17
18
  import { ServerBlueprint } from './server-blueprint';
18
19
  import { ServerCloudServiceCode } from './server-cloud-service-code';
@@ -78,6 +79,12 @@ export interface Server {
78
79
  * @memberof Server
79
80
  */
80
81
  ssh_port: number;
82
+ /**
83
+ *
84
+ * @type {OperatingSystemVersion}
85
+ * @memberof Server
86
+ */
87
+ os: OperatingSystemVersion;
81
88
  /**
82
89
  *
83
90
  * @type {CloudOsVersionCode}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devopness/sdk-js",
3
- "version": "2.137.0",
3
+ "version": "2.139.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },