@devopness/sdk-js 2.137.0 → 2.138.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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devopness/sdk-js",
3
- "version": "2.137.0",
3
+ "version": "2.138.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },