@devopness/sdk-js 2.78.0 → 2.80.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.
@@ -12,6 +12,7 @@
12
12
  import { ApplicationRelation } from './application-relation';
13
13
  import { CronJobRelation } from './cron-job-relation';
14
14
  import { DaemonRelation } from './daemon-relation';
15
+ import { NetworkRelation } from './network-relation';
15
16
  import { NetworkRuleRelation } from './network-rule-relation';
16
17
  import { ResourceType } from './resource-type';
17
18
  import { ServerRelation } from './server-relation';
@@ -44,8 +45,8 @@ export interface ActionResource {
44
45
  type_human_readable: string;
45
46
  /**
46
47
  * The resource data of type specified on `resource.type`
47
- * @type {ApplicationRelation | CronJobRelation | DaemonRelation | NetworkRuleRelation | ServerRelation | ServiceRelation | SshKeyRelation | SslCertificateRelation}
48
+ * @type {ApplicationRelation | CronJobRelation | DaemonRelation | NetworkRelation | NetworkRuleRelation | ServerRelation | ServiceRelation | SshKeyRelation | SslCertificateRelation}
48
49
  * @memberof ActionResource
49
50
  */
50
- data?: ApplicationRelation | CronJobRelation | DaemonRelation | NetworkRuleRelation | ServerRelation | ServiceRelation | SshKeyRelation | SslCertificateRelation | null;
51
+ data?: ApplicationRelation | CronJobRelation | DaemonRelation | NetworkRelation | NetworkRuleRelation | ServerRelation | ServiceRelation | SshKeyRelation | SslCertificateRelation | null;
51
52
  }
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { NetworkProvisionInput } from './network-provision-input';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -28,27 +29,21 @@ export interface ActionTargetNetworkData {
28
29
  */
29
30
  name: string;
30
31
  /**
31
- * The name of the network\'s provider.
32
+ * The name of the network\'s cloud provider.
32
33
  * @type {string}
33
34
  * @memberof ActionTargetNetworkData
34
35
  */
35
36
  provider_name: string;
36
37
  /**
37
- * The human readable version of the provider\'s name
38
+ * The human readable version of the cloud provider\'s name
38
39
  * @type {string}
39
40
  * @memberof ActionTargetNetworkData
40
41
  */
41
42
  provider_name_human_readable: string;
42
43
  /**
43
- * The cloud provider region where the network are created
44
- * @type {string}
45
- * @memberof ActionTargetNetworkData
46
- */
47
- region: string;
48
- /**
49
- * The IP CIDR range of the network
50
- * @type {string}
44
+ *
45
+ * @type {NetworkProvisionInput}
51
46
  * @memberof ActionTargetNetworkData
52
47
  */
53
- cidr_block: string | null;
48
+ provision_input: NetworkProvisionInput;
54
49
  }
@@ -13,6 +13,7 @@ import { ApplicationRelation } from './application-relation';
13
13
  import { CronJobRelation } from './cron-job-relation';
14
14
  import { DaemonRelation } from './daemon-relation';
15
15
  import { EnvironmentType } from './environment-type';
16
+ import { NetworkRelation } from './network-relation';
16
17
  import { NetworkRuleRelation } from './network-rule-relation';
17
18
  import { ServerRelation } from './server-relation';
18
19
  import { ServiceRelation } from './service-relation';
@@ -73,6 +74,12 @@ export interface Environment {
73
74
  * @memberof Environment
74
75
  */
75
76
  daemons: Array<DaemonRelation>;
77
+ /**
78
+ *
79
+ * @type {Array<NetworkRelation>}
80
+ * @memberof Environment
81
+ */
82
+ networks: Array<NetworkRelation>;
76
83
  /**
77
84
  *
78
85
  * @type {Array<NetworkRuleRelation>}
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { NetworkProvisionInput } from './network-provision-input';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -58,17 +59,11 @@ export interface NetworkRelation {
58
59
  */
59
60
  name: string;
60
61
  /**
61
- * The cloud provider region where the network are created
62
- * @type {string}
63
- * @memberof NetworkRelation
64
- */
65
- region: string;
66
- /**
67
- * The IP CIDR range of the network
68
- * @type {string}
62
+ *
63
+ * @type {NetworkProvisionInput}
69
64
  * @memberof NetworkRelation
70
65
  */
71
- cidr_block: string | null;
66
+ provision_input: NetworkProvisionInput;
72
67
  /**
73
68
  * The date and time when the record was created
74
69
  * @type {string}
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import { ActionRelation } from './action-relation';
13
13
  import { EnvironmentRelation } from './environment-relation';
14
+ import { NetworkProvisionInput } from './network-provision-input';
14
15
  import { ProjectRelation } from './project-relation';
15
16
  import { UserRelation } from './user-relation';
16
17
  /**
@@ -44,17 +45,11 @@ export interface Network {
44
45
  */
45
46
  name: string;
46
47
  /**
47
- * The cloud provider region where the network are created
48
- * @type {string}
49
- * @memberof Network
50
- */
51
- region: string;
52
- /**
53
- * The IP CIDR range of the network
54
- * @type {string}
48
+ *
49
+ * @type {NetworkProvisionInput}
55
50
  * @memberof Network
56
51
  */
57
- cidr_block: string | null;
52
+ provision_input: NetworkProvisionInput;
58
53
  /**
59
54
  *
60
55
  * @type {UserRelation}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devopness/sdk-js",
3
- "version": "2.78.0",
3
+ "version": "2.80.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },