@lansweeper/multitenant-api-grpc 0.4.40 → 0.4.42
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/CHANGELOG.md +16 -0
- package/buf.yaml +3 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/limits/limits_pb.d.ts +109 -5
- package/gen-proto/limits/limits_pb.js +861 -47
- package/package.json +2 -2
- package/proto/limits/limits.proto +23 -1
- package/proto/multitenant.proto +2 -2
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
/* eslint-disable */
|
|
6
6
|
|
|
7
7
|
import * as jspb from "google-protobuf";
|
|
8
|
+
import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
|
|
8
9
|
|
|
9
10
|
export class CalculateRiskInsights extends jspb.Message {
|
|
10
11
|
|
|
@@ -41,14 +42,116 @@ export namespace CalculateRiskInsights {
|
|
|
41
42
|
}
|
|
42
43
|
}
|
|
43
44
|
|
|
45
|
+
export class ExpirableAllowedEntities extends jspb.Message {
|
|
46
|
+
getKey(): string;
|
|
47
|
+
setKey(value: string): ExpirableAllowedEntities;
|
|
48
|
+
|
|
49
|
+
hasExpiresAt(): boolean;
|
|
50
|
+
clearExpiresAt(): void;
|
|
51
|
+
getExpiresAt(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
52
|
+
setExpiresAt(value?: google_protobuf_timestamp_pb.Timestamp): ExpirableAllowedEntities;
|
|
53
|
+
|
|
54
|
+
serializeBinary(): Uint8Array;
|
|
55
|
+
toObject(includeInstance?: boolean): ExpirableAllowedEntities.AsObject;
|
|
56
|
+
static toObject(includeInstance: boolean, msg: ExpirableAllowedEntities): ExpirableAllowedEntities.AsObject;
|
|
57
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
58
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
59
|
+
static serializeBinaryToWriter(message: ExpirableAllowedEntities, writer: jspb.BinaryWriter): void;
|
|
60
|
+
static deserializeBinary(bytes: Uint8Array): ExpirableAllowedEntities;
|
|
61
|
+
static deserializeBinaryFromReader(message: ExpirableAllowedEntities, reader: jspb.BinaryReader): ExpirableAllowedEntities;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export namespace ExpirableAllowedEntities {
|
|
65
|
+
export type AsObject = {
|
|
66
|
+
key: string,
|
|
67
|
+
expiresAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export class BaseLimit extends jspb.Message {
|
|
72
|
+
getValue(): boolean;
|
|
73
|
+
setValue(value: boolean): BaseLimit;
|
|
74
|
+
clearAllowedEntitiesList(): void;
|
|
75
|
+
getAllowedEntitiesList(): Array<ExpirableAllowedEntities>;
|
|
76
|
+
setAllowedEntitiesList(value: Array<ExpirableAllowedEntities>): BaseLimit;
|
|
77
|
+
addAllowedEntities(value?: ExpirableAllowedEntities, index?: number): ExpirableAllowedEntities;
|
|
78
|
+
|
|
79
|
+
serializeBinary(): Uint8Array;
|
|
80
|
+
toObject(includeInstance?: boolean): BaseLimit.AsObject;
|
|
81
|
+
static toObject(includeInstance: boolean, msg: BaseLimit): BaseLimit.AsObject;
|
|
82
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
83
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
84
|
+
static serializeBinaryToWriter(message: BaseLimit, writer: jspb.BinaryWriter): void;
|
|
85
|
+
static deserializeBinary(bytes: Uint8Array): BaseLimit;
|
|
86
|
+
static deserializeBinaryFromReader(message: BaseLimit, reader: jspb.BinaryReader): BaseLimit;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
export namespace BaseLimit {
|
|
90
|
+
export type AsObject = {
|
|
91
|
+
value: boolean,
|
|
92
|
+
allowedEntitiesList: Array<ExpirableAllowedEntities.AsObject>,
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export class RiskInsights extends jspb.Message {
|
|
97
|
+
|
|
98
|
+
hasViewAssets(): boolean;
|
|
99
|
+
clearViewAssets(): void;
|
|
100
|
+
getViewAssets(): BaseLimit | undefined;
|
|
101
|
+
setViewAssets(value?: BaseLimit): RiskInsights;
|
|
102
|
+
|
|
103
|
+
serializeBinary(): Uint8Array;
|
|
104
|
+
toObject(includeInstance?: boolean): RiskInsights.AsObject;
|
|
105
|
+
static toObject(includeInstance: boolean, msg: RiskInsights): RiskInsights.AsObject;
|
|
106
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
107
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
108
|
+
static serializeBinaryToWriter(message: RiskInsights, writer: jspb.BinaryWriter): void;
|
|
109
|
+
static deserializeBinary(bytes: Uint8Array): RiskInsights;
|
|
110
|
+
static deserializeBinaryFromReader(message: RiskInsights, reader: jspb.BinaryReader): RiskInsights;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
export namespace RiskInsights {
|
|
114
|
+
export type AsObject = {
|
|
115
|
+
viewAssets?: BaseLimit.AsObject,
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
export class Assets extends jspb.Message {
|
|
120
|
+
|
|
121
|
+
hasViewRiskInsights(): boolean;
|
|
122
|
+
clearViewRiskInsights(): void;
|
|
123
|
+
getViewRiskInsights(): BaseLimit | undefined;
|
|
124
|
+
setViewRiskInsights(value?: BaseLimit): Assets;
|
|
125
|
+
|
|
126
|
+
serializeBinary(): Uint8Array;
|
|
127
|
+
toObject(includeInstance?: boolean): Assets.AsObject;
|
|
128
|
+
static toObject(includeInstance: boolean, msg: Assets): Assets.AsObject;
|
|
129
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
130
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
131
|
+
static serializeBinaryToWriter(message: Assets, writer: jspb.BinaryWriter): void;
|
|
132
|
+
static deserializeBinary(bytes: Uint8Array): Assets;
|
|
133
|
+
static deserializeBinaryFromReader(message: Assets, reader: jspb.BinaryReader): Assets;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
export namespace Assets {
|
|
137
|
+
export type AsObject = {
|
|
138
|
+
viewRiskInsights?: BaseLimit.AsObject,
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
44
142
|
export class SiteLimits extends jspb.Message {
|
|
45
143
|
getTier(): SiteLimitsTiers;
|
|
46
144
|
setTier(value: SiteLimitsTiers): SiteLimits;
|
|
47
145
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
146
|
+
hasRiskInsights(): boolean;
|
|
147
|
+
clearRiskInsights(): void;
|
|
148
|
+
getRiskInsights(): RiskInsights | undefined;
|
|
149
|
+
setRiskInsights(value?: RiskInsights): SiteLimits;
|
|
150
|
+
|
|
151
|
+
hasAssets(): boolean;
|
|
152
|
+
clearAssets(): void;
|
|
153
|
+
getAssets(): Assets | undefined;
|
|
154
|
+
setAssets(value?: Assets): SiteLimits;
|
|
52
155
|
|
|
53
156
|
serializeBinary(): Uint8Array;
|
|
54
157
|
toObject(includeInstance?: boolean): SiteLimits.AsObject;
|
|
@@ -63,7 +166,8 @@ export class SiteLimits extends jspb.Message {
|
|
|
63
166
|
export namespace SiteLimits {
|
|
64
167
|
export type AsObject = {
|
|
65
168
|
tier: SiteLimitsTiers,
|
|
66
|
-
|
|
169
|
+
riskInsights?: RiskInsights.AsObject,
|
|
170
|
+
assets?: Assets.AsObject,
|
|
67
171
|
}
|
|
68
172
|
}
|
|
69
173
|
|