@fonoster/common 0.15.17 → 0.15.20

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.
@@ -36,6 +36,16 @@ service Domains {
36
36
 
37
37
  // The message for the Domain resource
38
38
  message Domain {
39
+ message Acl {
40
+ // The reference of the AccessControlList
41
+ string ref = 1;
42
+ // The name of the AccessControlList
43
+ string name = 2;
44
+ // The list of IP addresses that are allowed to access the Domain
45
+ repeated string allow = 3;
46
+ // The list of IP addresses that are denied to access the Domain
47
+ repeated string deny = 4;
48
+ }
39
49
  // The unique identifier of the Domain
40
50
  string ref = 1;
41
51
  // The name of the Domain
@@ -46,6 +56,10 @@ message Domain {
46
56
  int32 created_at = 4;
47
57
  // The date of the last update
48
58
  int32 updated_at = 5;
59
+ // The Access Control List object
60
+ Acl access_control_list = 6;
61
+ // Optional list of egress policies
62
+ repeated EgressPolicy egress_policies = 7;
49
63
  }
50
64
 
51
65
  // EgressPolicy defines the policy for egress traffic
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fonoster/common",
3
- "version": "0.15.17",
3
+ "version": "0.15.20",
4
4
  "description": "Common library for Fonoster projects",
5
5
  "author": "Pedro Sanders <psanders@fonoster.com>",
6
6
  "homepage": "https://github.com/fonoster/fonoster#readme",
@@ -18,7 +18,7 @@
18
18
  "clean": "rimraf ./dist node_modules tsconfig.tsbuildinfo"
19
19
  },
20
20
  "dependencies": {
21
- "@fonoster/logger": "^0.15.17",
21
+ "@fonoster/logger": "^0.15.20",
22
22
  "@grpc/grpc-js": "~1.10.6",
23
23
  "@grpc/proto-loader": "^0.7.12",
24
24
  "@influxdata/influxdb-client": "^1.35.0",
@@ -49,5 +49,5 @@
49
49
  "devDependencies": {
50
50
  "@types/nodemailer": "^6.4.14"
51
51
  },
52
- "gitHead": "ef6c18caadd9624f000b71c8e14ad1de0d8d946d"
52
+ "gitHead": "65a0a5c60b7401e949e90af22db5a74ca37a601e"
53
53
  }