@devopness/sdk-js 2.96.0 → 2.98.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/dist/api/generated/models/index.d.ts +1 -1
- package/dist/api/generated/models/index.js +1 -1
- package/dist/api/generated/models/{network-rule-type.d.ts → network-rule-direction.d.ts} +3 -2
- package/dist/api/generated/models/network-rule-direction.js +26 -0
- package/dist/api/generated/models/network-rule-environment-create.d.ts +7 -19
- package/dist/api/generated/models/network-rule-relation.d.ts +7 -19
- package/dist/api/generated/models/network-rule-update.d.ts +5 -11
- package/dist/api/generated/models/network-rule.d.ts +7 -19
- package/dist/api/generated/models/service-type.d.ts +2 -1
- package/dist/api/generated/models/service-type.js +1 -0
- package/package.json +1 -1
- package/dist/api/generated/models/network-rule-type.js +0 -25
|
@@ -121,10 +121,10 @@ export * from './network-provision-input-settings-digital-ocean';
|
|
|
121
121
|
export * from './network-provision-input-settings-gcp';
|
|
122
122
|
export * from './network-relation';
|
|
123
123
|
export * from './network-rule';
|
|
124
|
+
export * from './network-rule-direction';
|
|
124
125
|
export * from './network-rule-environment-create';
|
|
125
126
|
export * from './network-rule-protocol';
|
|
126
127
|
export * from './network-rule-relation';
|
|
127
|
-
export * from './network-rule-type';
|
|
128
128
|
export * from './network-rule-update';
|
|
129
129
|
export * from './operating-system';
|
|
130
130
|
export * from './operating-system-version';
|
|
@@ -137,10 +137,10 @@ __exportStar(require("./network-provision-input-settings-digital-ocean"), export
|
|
|
137
137
|
__exportStar(require("./network-provision-input-settings-gcp"), exports);
|
|
138
138
|
__exportStar(require("./network-relation"), exports);
|
|
139
139
|
__exportStar(require("./network-rule"), exports);
|
|
140
|
+
__exportStar(require("./network-rule-direction"), exports);
|
|
140
141
|
__exportStar(require("./network-rule-environment-create"), exports);
|
|
141
142
|
__exportStar(require("./network-rule-protocol"), exports);
|
|
142
143
|
__exportStar(require("./network-rule-relation"), exports);
|
|
143
|
-
__exportStar(require("./network-rule-type"), exports);
|
|
144
144
|
__exportStar(require("./network-rule-update"), exports);
|
|
145
145
|
__exportStar(require("./operating-system"), exports);
|
|
146
146
|
__exportStar(require("./operating-system-version"), exports);
|
|
@@ -10,11 +10,12 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
* The
|
|
13
|
+
* The direction of network traffic a network rule is applied. `Inbound` applies to ingress/incoming traffic originating from outside into your network. `Outbound` applies to egress traffic, originating inside your network to external networks.
|
|
14
14
|
* @export
|
|
15
15
|
* @enum {string}
|
|
16
16
|
*/
|
|
17
|
-
export declare enum
|
|
17
|
+
export declare enum NetworkRuleDirection {
|
|
18
|
+
Any = "any",
|
|
18
19
|
Inbound = "inbound",
|
|
19
20
|
Outbound = "outbound"
|
|
20
21
|
}
|
|
@@ -0,0 +1,26 @@
|
|
|
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.NetworkRuleDirection = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* The direction of network traffic a network rule is applied. `Inbound` applies to ingress/incoming traffic originating from outside into your network. `Outbound` applies to egress traffic, originating inside your network to external networks.
|
|
18
|
+
* @export
|
|
19
|
+
* @enum {string}
|
|
20
|
+
*/
|
|
21
|
+
var NetworkRuleDirection;
|
|
22
|
+
(function (NetworkRuleDirection) {
|
|
23
|
+
NetworkRuleDirection["Any"] = "any";
|
|
24
|
+
NetworkRuleDirection["Inbound"] = "inbound";
|
|
25
|
+
NetworkRuleDirection["Outbound"] = "outbound";
|
|
26
|
+
})(NetworkRuleDirection = exports.NetworkRuleDirection || (exports.NetworkRuleDirection = {}));
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { NetworkRuleDirection } from './network-rule-direction';
|
|
12
13
|
import { NetworkRuleProtocol } from './network-rule-protocol';
|
|
13
|
-
import { NetworkRuleType } from './network-rule-type';
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
@@ -25,10 +25,10 @@ export interface NetworkRuleEnvironmentCreate {
|
|
|
25
25
|
name: string;
|
|
26
26
|
/**
|
|
27
27
|
*
|
|
28
|
-
* @type {
|
|
28
|
+
* @type {NetworkRuleDirection}
|
|
29
29
|
* @memberof NetworkRuleEnvironmentCreate
|
|
30
30
|
*/
|
|
31
|
-
|
|
31
|
+
direction: NetworkRuleDirection;
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
34
34
|
* @type {NetworkRuleProtocol}
|
|
@@ -36,27 +36,15 @@ export interface NetworkRuleEnvironmentCreate {
|
|
|
36
36
|
*/
|
|
37
37
|
protocol?: NetworkRuleProtocol;
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
39
|
+
* IP address range this rule applies for, defined using CIDR notation.
|
|
40
40
|
* @type {string}
|
|
41
41
|
* @memberof NetworkRuleEnvironmentCreate
|
|
42
42
|
*/
|
|
43
|
-
|
|
43
|
+
cidr_block: string;
|
|
44
44
|
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {string}
|
|
47
|
-
* @memberof NetworkRuleEnvironmentCreate
|
|
48
|
-
*/
|
|
49
|
-
ip_address_to?: string;
|
|
50
|
-
/**
|
|
51
|
-
* Starting range of network ports to be considered by this rule. Must be at least 1. Must not be greater than 65535.
|
|
52
|
-
* @type {number}
|
|
53
|
-
* @memberof NetworkRuleEnvironmentCreate
|
|
54
|
-
*/
|
|
55
|
-
port_from: number;
|
|
56
|
-
/**
|
|
57
|
-
* Ending range of network ports to be considered by this rule. Must be at least 1. Must not be greater than 65535.
|
|
45
|
+
* Network port to be considered by this rule. Must be at least 1. Must not be greater than 65535.
|
|
58
46
|
* @type {number}
|
|
59
47
|
* @memberof NetworkRuleEnvironmentCreate
|
|
60
48
|
*/
|
|
61
|
-
|
|
49
|
+
port: number;
|
|
62
50
|
}
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { ActionRelation } from './action-relation';
|
|
13
|
+
import { NetworkRuleDirection } from './network-rule-direction';
|
|
13
14
|
import { NetworkRuleProtocol } from './network-rule-protocol';
|
|
14
|
-
import { NetworkRuleType } from './network-rule-type';
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
17
17
|
* @export
|
|
@@ -32,10 +32,10 @@ export interface NetworkRuleRelation {
|
|
|
32
32
|
name: string;
|
|
33
33
|
/**
|
|
34
34
|
*
|
|
35
|
-
* @type {
|
|
35
|
+
* @type {NetworkRuleDirection}
|
|
36
36
|
* @memberof NetworkRuleRelation
|
|
37
37
|
*/
|
|
38
|
-
|
|
38
|
+
direction: NetworkRuleDirection;
|
|
39
39
|
/**
|
|
40
40
|
*
|
|
41
41
|
* @type {NetworkRuleProtocol}
|
|
@@ -43,29 +43,17 @@ export interface NetworkRuleRelation {
|
|
|
43
43
|
*/
|
|
44
44
|
protocol: NetworkRuleProtocol;
|
|
45
45
|
/**
|
|
46
|
-
*
|
|
46
|
+
* Network port to be considered by this rule
|
|
47
47
|
* @type {number}
|
|
48
48
|
* @memberof NetworkRuleRelation
|
|
49
49
|
*/
|
|
50
|
-
|
|
50
|
+
port: number;
|
|
51
51
|
/**
|
|
52
|
-
*
|
|
53
|
-
* @type {number}
|
|
54
|
-
* @memberof NetworkRuleRelation
|
|
55
|
-
*/
|
|
56
|
-
port_to: number;
|
|
57
|
-
/**
|
|
58
|
-
* Starting range of the public ipv4 or ipv6 addresses that can access this rule
|
|
59
|
-
* @type {string}
|
|
60
|
-
* @memberof NetworkRuleRelation
|
|
61
|
-
*/
|
|
62
|
-
ip_address_from: string | null;
|
|
63
|
-
/**
|
|
64
|
-
* Ending range of the public ipv4 or ipv6 addresses that can access this rule
|
|
52
|
+
* IP address range this rule applies for, defined using CIDR notation
|
|
65
53
|
* @type {string}
|
|
66
54
|
* @memberof NetworkRuleRelation
|
|
67
55
|
*/
|
|
68
|
-
|
|
56
|
+
cidr_block: string;
|
|
69
57
|
/**
|
|
70
58
|
* Indicates if the network rule was auto_generated by `devopness` itself
|
|
71
59
|
* @type {boolean}
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { NetworkRuleDirection } from './network-rule-direction';
|
|
12
13
|
import { NetworkRuleProtocol } from './network-rule-protocol';
|
|
13
|
-
import { NetworkRuleType } from './network-rule-type';
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
@@ -31,10 +31,10 @@ export interface NetworkRuleUpdate {
|
|
|
31
31
|
name: string;
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
34
|
-
* @type {
|
|
34
|
+
* @type {NetworkRuleDirection}
|
|
35
35
|
* @memberof NetworkRuleUpdate
|
|
36
36
|
*/
|
|
37
|
-
|
|
37
|
+
direction: NetworkRuleDirection;
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
40
|
* @type {NetworkRuleProtocol}
|
|
@@ -42,15 +42,9 @@ export interface NetworkRuleUpdate {
|
|
|
42
42
|
*/
|
|
43
43
|
protocol?: NetworkRuleProtocol;
|
|
44
44
|
/**
|
|
45
|
-
*
|
|
45
|
+
* IP address range this rule applies for, defined using CIDR notation.
|
|
46
46
|
* @type {string}
|
|
47
47
|
* @memberof NetworkRuleUpdate
|
|
48
48
|
*/
|
|
49
|
-
|
|
50
|
-
/**
|
|
51
|
-
* Ending range of the public ipv4 or ipv6 addresses that can access this rule. Must be a valid IP address.
|
|
52
|
-
* @type {string}
|
|
53
|
-
* @memberof NetworkRuleUpdate
|
|
54
|
-
*/
|
|
55
|
-
ip_address_to?: string;
|
|
49
|
+
cidr_block: string;
|
|
56
50
|
}
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { ActionRelation } from './action-relation';
|
|
13
13
|
import { EnvironmentRelation } from './environment-relation';
|
|
14
|
+
import { NetworkRuleDirection } from './network-rule-direction';
|
|
14
15
|
import { NetworkRuleProtocol } from './network-rule-protocol';
|
|
15
|
-
import { NetworkRuleType } from './network-rule-type';
|
|
16
16
|
import { ServerRelation } from './server-relation';
|
|
17
17
|
import { UserRelation } from './user-relation';
|
|
18
18
|
/**
|
|
@@ -35,10 +35,10 @@ export interface NetworkRule {
|
|
|
35
35
|
name: string;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
|
-
* @type {
|
|
38
|
+
* @type {NetworkRuleDirection}
|
|
39
39
|
* @memberof NetworkRule
|
|
40
40
|
*/
|
|
41
|
-
|
|
41
|
+
direction: NetworkRuleDirection;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
44
|
* @type {NetworkRuleProtocol}
|
|
@@ -46,29 +46,17 @@ export interface NetworkRule {
|
|
|
46
46
|
*/
|
|
47
47
|
protocol: NetworkRuleProtocol;
|
|
48
48
|
/**
|
|
49
|
-
*
|
|
49
|
+
* Network port to be considered by this rule
|
|
50
50
|
* @type {number}
|
|
51
51
|
* @memberof NetworkRule
|
|
52
52
|
*/
|
|
53
|
-
|
|
53
|
+
port: number;
|
|
54
54
|
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {number}
|
|
57
|
-
* @memberof NetworkRule
|
|
58
|
-
*/
|
|
59
|
-
port_to: number;
|
|
60
|
-
/**
|
|
61
|
-
* Starting range of the public ipv4 or ipv6 addresses that can access this rule
|
|
62
|
-
* @type {string}
|
|
63
|
-
* @memberof NetworkRule
|
|
64
|
-
*/
|
|
65
|
-
ip_address_from: string | null;
|
|
66
|
-
/**
|
|
67
|
-
* Ending range of the public ipv4 or ipv6 addresses that can access this rule
|
|
55
|
+
* IP address range this rule applies for, defined using CIDR notation
|
|
68
56
|
* @type {string}
|
|
69
57
|
* @memberof NetworkRule
|
|
70
58
|
*/
|
|
71
|
-
|
|
59
|
+
cidr_block: string;
|
|
72
60
|
/**
|
|
73
61
|
* Indicates if the network rule was auto_generated by `devopness` itself
|
|
74
62
|
* @type {boolean}
|
package/package.json
CHANGED
|
@@ -1,25 +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 });
|
|
15
|
-
exports.NetworkRuleType = void 0;
|
|
16
|
-
/**
|
|
17
|
-
* The type of network traffic to which this rule is applied
|
|
18
|
-
* @export
|
|
19
|
-
* @enum {string}
|
|
20
|
-
*/
|
|
21
|
-
var NetworkRuleType;
|
|
22
|
-
(function (NetworkRuleType) {
|
|
23
|
-
NetworkRuleType["Inbound"] = "inbound";
|
|
24
|
-
NetworkRuleType["Outbound"] = "outbound";
|
|
25
|
-
})(NetworkRuleType = exports.NetworkRuleType || (exports.NetworkRuleType = {}));
|