@lansweeper/blocking-rules-grpc 0.0.3 → 0.0.4

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.
@@ -127,10 +127,14 @@ export namespace GetBlockingRulesResponse {
127
127
  }
128
128
 
129
129
  export class SetBlockingRuleResponse extends jspb.Message {
130
- clearBlockingRulesList(): void;
131
- getBlockingRulesList(): Array<BlockingRule>;
132
- setBlockingRulesList(value: Array<BlockingRule>): SetBlockingRuleResponse;
133
- addBlockingRules(value?: BlockingRule, index?: number): BlockingRule;
130
+ getInstallKey(): string;
131
+ setInstallKey(value: string): SetBlockingRuleResponse;
132
+ getSiteId(): string;
133
+ setSiteId(value: string): SetBlockingRuleResponse;
134
+ getEntity(): string;
135
+ setEntity(value: string): SetBlockingRuleResponse;
136
+ getCreatedDate(): string;
137
+ setCreatedDate(value: string): SetBlockingRuleResponse;
134
138
 
135
139
  serializeBinary(): Uint8Array;
136
140
  toObject(includeInstance?: boolean): SetBlockingRuleResponse.AsObject;
@@ -144,7 +148,10 @@ export class SetBlockingRuleResponse extends jspb.Message {
144
148
 
145
149
  export namespace SetBlockingRuleResponse {
146
150
  export type AsObject = {
147
- blockingRulesList: Array<BlockingRule.AsObject>,
151
+ installKey: string,
152
+ siteId: string,
153
+ entity: string,
154
+ createdDate: string,
148
155
  }
149
156
  }
150
157
 
@@ -138,7 +138,7 @@ if (goog.DEBUG && !COMPILED) {
138
138
  * @constructor
139
139
  */
140
140
  proto.lansweeper.blockingrules.v1.SetBlockingRuleResponse = function(opt_data) {
141
- jspb.Message.initialize(this, opt_data, 0, -1, proto.lansweeper.blockingrules.v1.SetBlockingRuleResponse.repeatedFields_, null);
141
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
142
142
  };
143
143
  goog.inherits(proto.lansweeper.blockingrules.v1.SetBlockingRuleResponse, jspb.Message);
144
144
  if (goog.DEBUG && !COMPILED) {
@@ -1031,13 +1031,6 @@ proto.lansweeper.blockingrules.v1.GetBlockingRulesResponse.prototype.clearBlocki
1031
1031
 
1032
1032
 
1033
1033
 
1034
- /**
1035
- * List of repeated fields within this message type.
1036
- * @private {!Array<number>}
1037
- * @const
1038
- */
1039
- proto.lansweeper.blockingrules.v1.SetBlockingRuleResponse.repeatedFields_ = [1];
1040
-
1041
1034
 
1042
1035
 
1043
1036
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -1069,8 +1062,10 @@ proto.lansweeper.blockingrules.v1.SetBlockingRuleResponse.prototype.toObject = f
1069
1062
  */
1070
1063
  proto.lansweeper.blockingrules.v1.SetBlockingRuleResponse.toObject = function(includeInstance, msg) {
1071
1064
  var f, obj = {
1072
- blockingRulesList: jspb.Message.toObjectList(msg.getBlockingRulesList(),
1073
- proto.lansweeper.blockingrules.v1.BlockingRule.toObject, includeInstance)
1065
+ installKey: jspb.Message.getFieldWithDefault(msg, 1, ""),
1066
+ siteId: jspb.Message.getFieldWithDefault(msg, 2, ""),
1067
+ entity: jspb.Message.getFieldWithDefault(msg, 3, ""),
1068
+ createdDate: jspb.Message.getFieldWithDefault(msg, 4, "")
1074
1069
  };
1075
1070
 
1076
1071
  if (includeInstance) {
@@ -1108,9 +1103,20 @@ proto.lansweeper.blockingrules.v1.SetBlockingRuleResponse.deserializeBinaryFromR
1108
1103
  var field = reader.getFieldNumber();
1109
1104
  switch (field) {
1110
1105
  case 1:
1111
- var value = new proto.lansweeper.blockingrules.v1.BlockingRule;
1112
- reader.readMessage(value,proto.lansweeper.blockingrules.v1.BlockingRule.deserializeBinaryFromReader);
1113
- msg.addBlockingRules(value);
1106
+ var value = /** @type {string} */ (reader.readString());
1107
+ msg.setInstallKey(value);
1108
+ break;
1109
+ case 2:
1110
+ var value = /** @type {string} */ (reader.readString());
1111
+ msg.setSiteId(value);
1112
+ break;
1113
+ case 3:
1114
+ var value = /** @type {string} */ (reader.readString());
1115
+ msg.setEntity(value);
1116
+ break;
1117
+ case 4:
1118
+ var value = /** @type {string} */ (reader.readString());
1119
+ msg.setCreatedDate(value);
1114
1120
  break;
1115
1121
  default:
1116
1122
  reader.skipField();
@@ -1141,52 +1147,106 @@ proto.lansweeper.blockingrules.v1.SetBlockingRuleResponse.prototype.serializeBin
1141
1147
  */
1142
1148
  proto.lansweeper.blockingrules.v1.SetBlockingRuleResponse.serializeBinaryToWriter = function(message, writer) {
1143
1149
  var f = undefined;
1144
- f = message.getBlockingRulesList();
1150
+ f = message.getInstallKey();
1145
1151
  if (f.length > 0) {
1146
- writer.writeRepeatedMessage(
1152
+ writer.writeString(
1147
1153
  1,
1148
- f,
1149
- proto.lansweeper.blockingrules.v1.BlockingRule.serializeBinaryToWriter
1154
+ f
1155
+ );
1156
+ }
1157
+ f = message.getSiteId();
1158
+ if (f.length > 0) {
1159
+ writer.writeString(
1160
+ 2,
1161
+ f
1162
+ );
1163
+ }
1164
+ f = message.getEntity();
1165
+ if (f.length > 0) {
1166
+ writer.writeString(
1167
+ 3,
1168
+ f
1169
+ );
1170
+ }
1171
+ f = message.getCreatedDate();
1172
+ if (f.length > 0) {
1173
+ writer.writeString(
1174
+ 4,
1175
+ f
1150
1176
  );
1151
1177
  }
1152
1178
  };
1153
1179
 
1154
1180
 
1155
1181
  /**
1156
- * repeated BlockingRule blocking_rules = 1;
1157
- * @return {!Array<!proto.lansweeper.blockingrules.v1.BlockingRule>}
1182
+ * optional string install_key = 1;
1183
+ * @return {string}
1158
1184
  */
1159
- proto.lansweeper.blockingrules.v1.SetBlockingRuleResponse.prototype.getBlockingRulesList = function() {
1160
- return /** @type{!Array<!proto.lansweeper.blockingrules.v1.BlockingRule>} */ (
1161
- jspb.Message.getRepeatedWrapperField(this, proto.lansweeper.blockingrules.v1.BlockingRule, 1));
1185
+ proto.lansweeper.blockingrules.v1.SetBlockingRuleResponse.prototype.getInstallKey = function() {
1186
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1162
1187
  };
1163
1188
 
1164
1189
 
1165
1190
  /**
1166
- * @param {!Array<!proto.lansweeper.blockingrules.v1.BlockingRule>} value
1191
+ * @param {string} value
1167
1192
  * @return {!proto.lansweeper.blockingrules.v1.SetBlockingRuleResponse} returns this
1168
- */
1169
- proto.lansweeper.blockingrules.v1.SetBlockingRuleResponse.prototype.setBlockingRulesList = function(value) {
1170
- return jspb.Message.setRepeatedWrapperField(this, 1, value);
1193
+ */
1194
+ proto.lansweeper.blockingrules.v1.SetBlockingRuleResponse.prototype.setInstallKey = function(value) {
1195
+ return jspb.Message.setProto3StringField(this, 1, value);
1171
1196
  };
1172
1197
 
1173
1198
 
1174
1199
  /**
1175
- * @param {!proto.lansweeper.blockingrules.v1.BlockingRule=} opt_value
1176
- * @param {number=} opt_index
1177
- * @return {!proto.lansweeper.blockingrules.v1.BlockingRule}
1200
+ * optional string site_id = 2;
1201
+ * @return {string}
1178
1202
  */
1179
- proto.lansweeper.blockingrules.v1.SetBlockingRuleResponse.prototype.addBlockingRules = function(opt_value, opt_index) {
1180
- return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.lansweeper.blockingrules.v1.BlockingRule, opt_index);
1203
+ proto.lansweeper.blockingrules.v1.SetBlockingRuleResponse.prototype.getSiteId = function() {
1204
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1181
1205
  };
1182
1206
 
1183
1207
 
1184
1208
  /**
1185
- * Clears the list making it empty but non-null.
1209
+ * @param {string} value
1186
1210
  * @return {!proto.lansweeper.blockingrules.v1.SetBlockingRuleResponse} returns this
1187
1211
  */
1188
- proto.lansweeper.blockingrules.v1.SetBlockingRuleResponse.prototype.clearBlockingRulesList = function() {
1189
- return this.setBlockingRulesList([]);
1212
+ proto.lansweeper.blockingrules.v1.SetBlockingRuleResponse.prototype.setSiteId = function(value) {
1213
+ return jspb.Message.setProto3StringField(this, 2, value);
1214
+ };
1215
+
1216
+
1217
+ /**
1218
+ * optional string entity = 3;
1219
+ * @return {string}
1220
+ */
1221
+ proto.lansweeper.blockingrules.v1.SetBlockingRuleResponse.prototype.getEntity = function() {
1222
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
1223
+ };
1224
+
1225
+
1226
+ /**
1227
+ * @param {string} value
1228
+ * @return {!proto.lansweeper.blockingrules.v1.SetBlockingRuleResponse} returns this
1229
+ */
1230
+ proto.lansweeper.blockingrules.v1.SetBlockingRuleResponse.prototype.setEntity = function(value) {
1231
+ return jspb.Message.setProto3StringField(this, 3, value);
1232
+ };
1233
+
1234
+
1235
+ /**
1236
+ * optional string created_date = 4;
1237
+ * @return {string}
1238
+ */
1239
+ proto.lansweeper.blockingrules.v1.SetBlockingRuleResponse.prototype.getCreatedDate = function() {
1240
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
1241
+ };
1242
+
1243
+
1244
+ /**
1245
+ * @param {string} value
1246
+ * @return {!proto.lansweeper.blockingrules.v1.SetBlockingRuleResponse} returns this
1247
+ */
1248
+ proto.lansweeper.blockingrules.v1.SetBlockingRuleResponse.prototype.setCreatedDate = function(value) {
1249
+ return jspb.Message.setProto3StringField(this, 4, value);
1190
1250
  };
1191
1251
 
1192
1252
 
@@ -1 +1 @@
1
- {"file":[{"name":"proto/blocking_rules.proto","package":"lansweeper.blockingrules.v1","messageType":[{"name":"BlockingRule","field":[{"name":"install_key","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"installKey"},{"name":"site_id","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"siteId"},{"name":"entity","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"entity"},{"name":"created_date","number":4,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"createdDate"}]},{"name":"GetBlockingRulesRequest"},{"name":"SetBlockingRuleRequest","field":[{"name":"site_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"siteId"},{"name":"install_key","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"installKey"},{"name":"entity","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"entity"}]},{"name":"DeleteBlockingRuleRequest","field":[{"name":"site_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"siteId"},{"name":"install_key","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"installKey"},{"name":"entity","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"entity"}]},{"name":"GetBlockingRulesResponse","field":[{"name":"blocking_rules","number":1,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.blockingrules.v1.BlockingRule","jsonName":"blockingRules"}]},{"name":"SetBlockingRuleResponse","field":[{"name":"blocking_rules","number":1,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.blockingrules.v1.BlockingRule","jsonName":"blockingRules"}]},{"name":"DeleteBlockingRuleResponse","field":[{"name":"site_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"siteId"},{"name":"install_key","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"installKey"},{"name":"entity","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"entity"},{"name":"deleted","number":4,"label":"LABEL_OPTIONAL","type":"TYPE_BOOL","jsonName":"deleted"}]}],"service":[{"name":"BlockingRulesService","method":[{"name":"GetBlockingRules","inputType":".lansweeper.blockingrules.v1.GetBlockingRulesRequest","outputType":".lansweeper.blockingrules.v1.GetBlockingRulesResponse","options":{}},{"name":"SetBlockingRule","inputType":".lansweeper.blockingrules.v1.SetBlockingRuleRequest","outputType":".lansweeper.blockingrules.v1.SetBlockingRuleResponse","options":{}},{"name":"DeleteBlockingRule","inputType":".lansweeper.blockingrules.v1.DeleteBlockingRuleRequest","outputType":".lansweeper.blockingrules.v1.DeleteBlockingRuleResponse","options":{}}]}],"sourceCodeInfo":{"location":[{"span":[0,0,46,1]},{"path":[12],"span":[0,0,18]},{"path":[2],"span":[2,0,36]},{"path":[4,0],"span":[4,0,9,1]},{"path":[4,0,1],"span":[4,8,20]},{"path":[4,0,2,0],"span":[5,2,25]},{"path":[4,0,2,0,5],"span":[5,2,8]},{"path":[4,0,2,0,1],"span":[5,9,20]},{"path":[4,0,2,0,3],"span":[5,23,24]},{"path":[4,0,2,1],"span":[6,2,21]},{"path":[4,0,2,1,5],"span":[6,2,8]},{"path":[4,0,2,1,1],"span":[6,9,16]},{"path":[4,0,2,1,3],"span":[6,19,20]},{"path":[4,0,2,2],"span":[7,2,20]},{"path":[4,0,2,2,5],"span":[7,2,8]},{"path":[4,0,2,2,1],"span":[7,9,15]},{"path":[4,0,2,2,3],"span":[7,18,19]},{"path":[4,0,2,3],"span":[8,2,26]},{"path":[4,0,2,3,5],"span":[8,2,8]},{"path":[4,0,2,3,1],"span":[8,9,21]},{"path":[4,0,2,3,3],"span":[8,24,25]},{"path":[4,1],"span":[11,0,13,1]},{"path":[4,1,1],"span":[11,8,31]},{"path":[4,2],"span":[15,0,19,1]},{"path":[4,2,1],"span":[15,8,30]},{"path":[4,2,2,0],"span":[16,2,21]},{"path":[4,2,2,0,5],"span":[16,2,8]},{"path":[4,2,2,0,1],"span":[16,9,16]},{"path":[4,2,2,0,3],"span":[16,19,20]},{"path":[4,2,2,1],"span":[17,2,25]},{"path":[4,2,2,1,5],"span":[17,2,8]},{"path":[4,2,2,1,1],"span":[17,9,20]},{"path":[4,2,2,1,3],"span":[17,23,24]},{"path":[4,2,2,2],"span":[18,2,20]},{"path":[4,2,2,2,5],"span":[18,2,8]},{"path":[4,2,2,2,1],"span":[18,9,15]},{"path":[4,2,2,2,3],"span":[18,18,19]},{"path":[4,3],"span":[21,0,25,1]},{"path":[4,3,1],"span":[21,8,33]},{"path":[4,3,2,0],"span":[22,2,21]},{"path":[4,3,2,0,5],"span":[22,2,8]},{"path":[4,3,2,0,1],"span":[22,9,16]},{"path":[4,3,2,0,3],"span":[22,19,20]},{"path":[4,3,2,1],"span":[23,2,25]},{"path":[4,3,2,1,5],"span":[23,2,8]},{"path":[4,3,2,1,1],"span":[23,9,20]},{"path":[4,3,2,1,3],"span":[23,23,24]},{"path":[4,3,2,2],"span":[24,2,20]},{"path":[4,3,2,2,5],"span":[24,2,8]},{"path":[4,3,2,2,1],"span":[24,9,15]},{"path":[4,3,2,2,3],"span":[24,18,19]},{"path":[4,4],"span":[27,0,29,1]},{"path":[4,4,1],"span":[27,8,32]},{"path":[4,4,2,0],"span":[28,2,43]},{"path":[4,4,2,0,4],"span":[28,2,10]},{"path":[4,4,2,0,6],"span":[28,11,23]},{"path":[4,4,2,0,1],"span":[28,24,38]},{"path":[4,4,2,0,3],"span":[28,41,42]},{"path":[4,5],"span":[31,0,33,1]},{"path":[4,5,1],"span":[31,8,31]},{"path":[4,5,2,0],"span":[32,2,43]},{"path":[4,5,2,0,4],"span":[32,2,10]},{"path":[4,5,2,0,6],"span":[32,11,23]},{"path":[4,5,2,0,1],"span":[32,24,38]},{"path":[4,5,2,0,3],"span":[32,41,42]},{"path":[4,6],"span":[35,0,40,1]},{"path":[4,6,1],"span":[35,8,34]},{"path":[4,6,2,0],"span":[36,2,21]},{"path":[4,6,2,0,5],"span":[36,2,8]},{"path":[4,6,2,0,1],"span":[36,9,16]},{"path":[4,6,2,0,3],"span":[36,19,20]},{"path":[4,6,2,1],"span":[37,2,25]},{"path":[4,6,2,1,5],"span":[37,2,8]},{"path":[4,6,2,1,1],"span":[37,9,20]},{"path":[4,6,2,1,3],"span":[37,23,24]},{"path":[4,6,2,2],"span":[38,2,20]},{"path":[4,6,2,2,5],"span":[38,2,8]},{"path":[4,6,2,2,1],"span":[38,9,15]},{"path":[4,6,2,2,3],"span":[38,18,19]},{"path":[4,6,2,3],"span":[39,2,19]},{"path":[4,6,2,3,5],"span":[39,2,6]},{"path":[4,6,2,3,1],"span":[39,7,14]},{"path":[4,6,2,3,3],"span":[39,17,18]},{"path":[6,0],"span":[42,0,46,1]},{"path":[6,0,1],"span":[42,8,28]},{"path":[6,0,2,0],"span":[43,2,85]},{"path":[6,0,2,0,1],"span":[43,6,22]},{"path":[6,0,2,0,2],"span":[43,23,46]},{"path":[6,0,2,0,3],"span":[43,57,81]},{"path":[6,0,2,1],"span":[44,2,82]},{"path":[6,0,2,1,1],"span":[44,6,21]},{"path":[6,0,2,1,2],"span":[44,22,44]},{"path":[6,0,2,1,3],"span":[44,55,78]},{"path":[6,0,2,2],"span":[45,2,91]},{"path":[6,0,2,2,1],"span":[45,6,24]},{"path":[6,0,2,2,2],"span":[45,25,50]},{"path":[6,0,2,2,3],"span":[45,61,87]}]},"syntax":"proto3","bufExtension":{"isImport":false,"isSyntaxUnspecified":false}}]}
1
+ {"file":[{"name":"proto/blocking_rules.proto","package":"lansweeper.blockingrules.v1","messageType":[{"name":"BlockingRule","field":[{"name":"install_key","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"installKey"},{"name":"site_id","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"siteId"},{"name":"entity","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"entity"},{"name":"created_date","number":4,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"createdDate"}]},{"name":"GetBlockingRulesRequest"},{"name":"SetBlockingRuleRequest","field":[{"name":"site_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"siteId"},{"name":"install_key","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"installKey"},{"name":"entity","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"entity"}]},{"name":"DeleteBlockingRuleRequest","field":[{"name":"site_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"siteId"},{"name":"install_key","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"installKey"},{"name":"entity","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"entity"}]},{"name":"GetBlockingRulesResponse","field":[{"name":"blocking_rules","number":1,"label":"LABEL_REPEATED","type":"TYPE_MESSAGE","typeName":".lansweeper.blockingrules.v1.BlockingRule","jsonName":"blockingRules"}]},{"name":"SetBlockingRuleResponse","field":[{"name":"install_key","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"installKey"},{"name":"site_id","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"siteId"},{"name":"entity","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"entity"},{"name":"created_date","number":4,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"createdDate"}]},{"name":"DeleteBlockingRuleResponse","field":[{"name":"site_id","number":1,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"siteId"},{"name":"install_key","number":2,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"installKey"},{"name":"entity","number":3,"label":"LABEL_OPTIONAL","type":"TYPE_STRING","jsonName":"entity"},{"name":"deleted","number":4,"label":"LABEL_OPTIONAL","type":"TYPE_BOOL","jsonName":"deleted"}]}],"service":[{"name":"BlockingRulesService","method":[{"name":"GetBlockingRules","inputType":".lansweeper.blockingrules.v1.GetBlockingRulesRequest","outputType":".lansweeper.blockingrules.v1.GetBlockingRulesResponse","options":{}},{"name":"SetBlockingRule","inputType":".lansweeper.blockingrules.v1.SetBlockingRuleRequest","outputType":".lansweeper.blockingrules.v1.SetBlockingRuleResponse","options":{}},{"name":"DeleteBlockingRule","inputType":".lansweeper.blockingrules.v1.DeleteBlockingRuleRequest","outputType":".lansweeper.blockingrules.v1.DeleteBlockingRuleResponse","options":{}}]}],"sourceCodeInfo":{"location":[{"span":[0,0,49,1]},{"path":[12],"span":[0,0,18]},{"path":[2],"span":[2,0,36]},{"path":[4,0],"span":[4,0,9,1]},{"path":[4,0,1],"span":[4,8,20]},{"path":[4,0,2,0],"span":[5,2,25]},{"path":[4,0,2,0,5],"span":[5,2,8]},{"path":[4,0,2,0,1],"span":[5,9,20]},{"path":[4,0,2,0,3],"span":[5,23,24]},{"path":[4,0,2,1],"span":[6,2,21]},{"path":[4,0,2,1,5],"span":[6,2,8]},{"path":[4,0,2,1,1],"span":[6,9,16]},{"path":[4,0,2,1,3],"span":[6,19,20]},{"path":[4,0,2,2],"span":[7,2,20]},{"path":[4,0,2,2,5],"span":[7,2,8]},{"path":[4,0,2,2,1],"span":[7,9,15]},{"path":[4,0,2,2,3],"span":[7,18,19]},{"path":[4,0,2,3],"span":[8,2,26]},{"path":[4,0,2,3,5],"span":[8,2,8]},{"path":[4,0,2,3,1],"span":[8,9,21]},{"path":[4,0,2,3,3],"span":[8,24,25]},{"path":[4,1],"span":[11,0,13,1]},{"path":[4,1,1],"span":[11,8,31]},{"path":[4,2],"span":[15,0,19,1]},{"path":[4,2,1],"span":[15,8,30]},{"path":[4,2,2,0],"span":[16,2,21]},{"path":[4,2,2,0,5],"span":[16,2,8]},{"path":[4,2,2,0,1],"span":[16,9,16]},{"path":[4,2,2,0,3],"span":[16,19,20]},{"path":[4,2,2,1],"span":[17,2,25]},{"path":[4,2,2,1,5],"span":[17,2,8]},{"path":[4,2,2,1,1],"span":[17,9,20]},{"path":[4,2,2,1,3],"span":[17,23,24]},{"path":[4,2,2,2],"span":[18,2,20]},{"path":[4,2,2,2,5],"span":[18,2,8]},{"path":[4,2,2,2,1],"span":[18,9,15]},{"path":[4,2,2,2,3],"span":[18,18,19]},{"path":[4,3],"span":[21,0,25,1]},{"path":[4,3,1],"span":[21,8,33]},{"path":[4,3,2,0],"span":[22,2,21]},{"path":[4,3,2,0,5],"span":[22,2,8]},{"path":[4,3,2,0,1],"span":[22,9,16]},{"path":[4,3,2,0,3],"span":[22,19,20]},{"path":[4,3,2,1],"span":[23,2,25]},{"path":[4,3,2,1,5],"span":[23,2,8]},{"path":[4,3,2,1,1],"span":[23,9,20]},{"path":[4,3,2,1,3],"span":[23,23,24]},{"path":[4,3,2,2],"span":[24,2,20]},{"path":[4,3,2,2,5],"span":[24,2,8]},{"path":[4,3,2,2,1],"span":[24,9,15]},{"path":[4,3,2,2,3],"span":[24,18,19]},{"path":[4,4],"span":[27,0,29,1]},{"path":[4,4,1],"span":[27,8,32]},{"path":[4,4,2,0],"span":[28,2,43]},{"path":[4,4,2,0,4],"span":[28,2,10]},{"path":[4,4,2,0,6],"span":[28,11,23]},{"path":[4,4,2,0,1],"span":[28,24,38]},{"path":[4,4,2,0,3],"span":[28,41,42]},{"path":[4,5],"span":[31,0,36,1]},{"path":[4,5,1],"span":[31,8,31]},{"path":[4,5,2,0],"span":[32,2,25]},{"path":[4,5,2,0,5],"span":[32,2,8]},{"path":[4,5,2,0,1],"span":[32,9,20]},{"path":[4,5,2,0,3],"span":[32,23,24]},{"path":[4,5,2,1],"span":[33,2,21]},{"path":[4,5,2,1,5],"span":[33,2,8]},{"path":[4,5,2,1,1],"span":[33,9,16]},{"path":[4,5,2,1,3],"span":[33,19,20]},{"path":[4,5,2,2],"span":[34,2,20]},{"path":[4,5,2,2,5],"span":[34,2,8]},{"path":[4,5,2,2,1],"span":[34,9,15]},{"path":[4,5,2,2,3],"span":[34,18,19]},{"path":[4,5,2,3],"span":[35,2,26]},{"path":[4,5,2,3,5],"span":[35,2,8]},{"path":[4,5,2,3,1],"span":[35,9,21]},{"path":[4,5,2,3,3],"span":[35,24,25]},{"path":[4,6],"span":[38,0,43,1]},{"path":[4,6,1],"span":[38,8,34]},{"path":[4,6,2,0],"span":[39,2,21]},{"path":[4,6,2,0,5],"span":[39,2,8]},{"path":[4,6,2,0,1],"span":[39,9,16]},{"path":[4,6,2,0,3],"span":[39,19,20]},{"path":[4,6,2,1],"span":[40,2,25]},{"path":[4,6,2,1,5],"span":[40,2,8]},{"path":[4,6,2,1,1],"span":[40,9,20]},{"path":[4,6,2,1,3],"span":[40,23,24]},{"path":[4,6,2,2],"span":[41,2,20]},{"path":[4,6,2,2,5],"span":[41,2,8]},{"path":[4,6,2,2,1],"span":[41,9,15]},{"path":[4,6,2,2,3],"span":[41,18,19]},{"path":[4,6,2,3],"span":[42,2,19]},{"path":[4,6,2,3,5],"span":[42,2,6]},{"path":[4,6,2,3,1],"span":[42,7,14]},{"path":[4,6,2,3,3],"span":[42,17,18]},{"path":[6,0],"span":[45,0,49,1]},{"path":[6,0,1],"span":[45,8,28]},{"path":[6,0,2,0],"span":[46,2,85]},{"path":[6,0,2,0,1],"span":[46,6,22]},{"path":[6,0,2,0,2],"span":[46,23,46]},{"path":[6,0,2,0,3],"span":[46,57,81]},{"path":[6,0,2,1],"span":[47,2,82]},{"path":[6,0,2,1,1],"span":[47,6,21]},{"path":[6,0,2,1,2],"span":[47,22,44]},{"path":[6,0,2,1,3],"span":[47,55,78]},{"path":[6,0,2,2],"span":[48,2,91]},{"path":[6,0,2,2,1],"span":[48,6,24]},{"path":[6,0,2,2,2],"span":[48,25,50]},{"path":[6,0,2,2,3],"span":[48,61,87]}]},"syntax":"proto3","bufExtension":{"isImport":false,"isSyntaxUnspecified":false}}]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lansweeper/blocking-rules-grpc",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "blocking rules grpc",
5
5
  "main": "gen-proto/index.js",
6
6
  "types": "gen-proto/index.d.ts",
@@ -16,5 +16,5 @@
16
16
  "devDependencies": {
17
17
  "@types/google-protobuf": "^3.15.5"
18
18
  },
19
- "gitHead": "ce2d8607b99be2baf2c1183d5d19b0b3a6307efc"
19
+ "gitHead": "403ec88ca8cf8f42b50f18dd204ec227cb807576"
20
20
  }
@@ -30,7 +30,10 @@ message GetBlockingRulesResponse {
30
30
  }
31
31
 
32
32
  message SetBlockingRuleResponse {
33
- repeated BlockingRule blocking_rules = 1;
33
+ string install_key = 1;
34
+ string site_id = 2;
35
+ string entity = 3;
36
+ string created_date = 4;
34
37
  }
35
38
 
36
39
  message DeleteBlockingRuleResponse {