@lansweeper/multitenant-api-grpc 0.4.39 → 0.4.41

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lansweeper/multitenant-api-grpc",
3
- "version": "0.4.39",
3
+ "version": "0.4.41",
4
4
  "description": "Multitenant grpc",
5
5
  "main": "gen-proto/index.js",
6
6
  "types": "gen-proto/index.d.ts",
@@ -18,5 +18,5 @@
18
18
  "scripts": {
19
19
  "prepublishOnly": "cp -r ../../shared/limits ./proto"
20
20
  },
21
- "gitHead": "e636ecdcfb704f7130cfa3e75bd763e055b6b4a5"
21
+ "gitHead": "f54566b7c92cc1328e5a4efbc370db33bd5151c6"
22
22
  }
@@ -23,7 +23,22 @@ message CalculateRiskInsights {
23
23
  optional int32 max = 3;
24
24
  }
25
25
 
26
+ message BaseLimit {
27
+ bool value = 1;
28
+ repeated string allowed = 2;
29
+ }
30
+
31
+ message RiskInsights {
32
+ BaseLimit view_assets = 1;
33
+ }
34
+
35
+ message Assets {
36
+ BaseLimit view_risk_insights = 1;
37
+ }
38
+
26
39
  message SiteLimits {
27
40
  SiteLimitsTiers tier = 1;
28
- optional CalculateRiskInsights calculate_risk_insights = 2;
41
+ optional CalculateRiskInsights calculate_risk_insights = 2 [deprecated = true];
42
+ optional RiskInsights risk_insights = 3;
43
+ optional Assets assets = 4;
29
44
  }
@@ -465,4 +465,4 @@ service Multitenant {
465
465
 
466
466
  rpc UpdateSiteMetadata(UpdateSiteMetadataRequest) returns (UpdateSiteMetadataResponse) {}
467
467
  rpc GetSiteLimits(GetSiteLimitsRequest) returns (GetSiteLimitsResponse) {}
468
- }
468
+ }
package/.ignorecompat DELETED
File without changes