@aceplus/smartace-api 3.6.0-alpha.28 → 3.6.0-alpha.30

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
@@ -5,7 +5,7 @@
5
5
  "grpc-web": "^1.4.2",
6
6
  "ts-protoc-gen": "^0.15.0"
7
7
  },
8
- "version": "3.6.0-alpha.28",
8
+ "version": "3.6.0-alpha.30",
9
9
  "description": "Generated proto files.",
10
10
  "author": "TKF",
11
11
  "files": [
@@ -80,6 +80,9 @@ export namespace AlarmProto {
80
80
  getDateTo(): google_protobuf_timestamp_pb.Timestamp | undefined;
81
81
  setDateTo(value?: google_protobuf_timestamp_pb.Timestamp): void;
82
82
 
83
+ getActive(): platform_pagination_pb.BooleanFilterTypeMap[keyof platform_pagination_pb.BooleanFilterTypeMap];
84
+ setActive(value: platform_pagination_pb.BooleanFilterTypeMap[keyof platform_pagination_pb.BooleanFilterTypeMap]): void;
85
+
83
86
  serializeBinary(): Uint8Array;
84
87
  toObject(includeInstance?: boolean): SearchRequest.AsObject;
85
88
  static toObject(includeInstance: boolean, msg: SearchRequest): SearchRequest.AsObject;
@@ -98,6 +101,7 @@ export namespace AlarmProto {
98
101
  descorder: boolean,
99
102
  dateFrom?: google_protobuf_timestamp_pb.Timestamp.AsObject,
100
103
  dateTo?: google_protobuf_timestamp_pb.Timestamp.AsObject,
104
+ active: platform_pagination_pb.BooleanFilterTypeMap[keyof platform_pagination_pb.BooleanFilterTypeMap],
101
105
  }
102
106
  }
103
107
 
@@ -237,8 +241,8 @@ export namespace AlarmProto {
237
241
  getDateTo(): google_protobuf_timestamp_pb.Timestamp | undefined;
238
242
  setDateTo(value?: google_protobuf_timestamp_pb.Timestamp): void;
239
243
 
240
- getResolved(): boolean;
241
- setResolved(value: boolean): void;
244
+ getResolved(): platform_pagination_pb.BooleanFilterTypeMap[keyof platform_pagination_pb.BooleanFilterTypeMap];
245
+ setResolved(value: platform_pagination_pb.BooleanFilterTypeMap[keyof platform_pagination_pb.BooleanFilterTypeMap]): void;
242
246
 
243
247
  serializeBinary(): Uint8Array;
244
248
  toObject(includeInstance?: boolean): SearchRequest.AsObject;
@@ -260,7 +264,7 @@ export namespace AlarmProto {
260
264
  descorder: boolean,
261
265
  dateFrom?: google_protobuf_timestamp_pb.Timestamp.AsObject,
262
266
  dateTo?: google_protobuf_timestamp_pb.Timestamp.AsObject,
263
- resolved: boolean,
267
+ resolved: platform_pagination_pb.BooleanFilterTypeMap[keyof platform_pagination_pb.BooleanFilterTypeMap],
264
268
  }
265
269
  }
266
270
 
package/spic.alarm_pb.js CHANGED
@@ -475,7 +475,8 @@ proto.Spic.AlarmProto.SearchRequest.toObject = function(includeInstance, msg) {
475
475
  count: jspb.Message.getFieldWithDefault(msg, 3, 0),
476
476
  descorder: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
477
477
  dateFrom: (f = msg.getDateFrom()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
478
- dateTo: (f = msg.getDateTo()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
478
+ dateTo: (f = msg.getDateTo()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
479
+ active: jspb.Message.getFieldWithDefault(msg, 7, 0)
479
480
  };
480
481
 
481
482
  if (includeInstance) {
@@ -538,6 +539,10 @@ proto.Spic.AlarmProto.SearchRequest.deserializeBinaryFromReader = function(msg,
538
539
  reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
539
540
  msg.setDateTo(value);
540
541
  break;
542
+ case 7:
543
+ var value = /** @type {!proto.Platform.BooleanFilterType} */ (reader.readEnum());
544
+ msg.setActive(value);
545
+ break;
541
546
  default:
542
547
  reader.skipField();
543
548
  break;
@@ -611,6 +616,13 @@ proto.Spic.AlarmProto.SearchRequest.serializeBinaryToWriter = function(message,
611
616
  google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
612
617
  );
613
618
  }
619
+ f = message.getActive();
620
+ if (f !== 0.0) {
621
+ writer.writeEnum(
622
+ 7,
623
+ f
624
+ );
625
+ }
614
626
  };
615
627
 
616
628
 
@@ -760,6 +772,24 @@ proto.Spic.AlarmProto.SearchRequest.prototype.hasDateTo = function() {
760
772
  };
761
773
 
762
774
 
775
+ /**
776
+ * optional Platform.BooleanFilterType active = 7;
777
+ * @return {!proto.Platform.BooleanFilterType}
778
+ */
779
+ proto.Spic.AlarmProto.SearchRequest.prototype.getActive = function() {
780
+ return /** @type {!proto.Platform.BooleanFilterType} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
781
+ };
782
+
783
+
784
+ /**
785
+ * @param {!proto.Platform.BooleanFilterType} value
786
+ * @return {!proto.Spic.AlarmProto.SearchRequest} returns this
787
+ */
788
+ proto.Spic.AlarmProto.SearchRequest.prototype.setActive = function(value) {
789
+ return jspb.Message.setProto3EnumField(this, 7, value);
790
+ };
791
+
792
+
763
793
 
764
794
  /**
765
795
  * List of repeated fields within this message type.
@@ -1401,7 +1431,7 @@ proto.Spic.AlarmProto.Event.SearchRequest.toObject = function(includeInstance, m
1401
1431
  descorder: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
1402
1432
  dateFrom: (f = msg.getDateFrom()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
1403
1433
  dateTo: (f = msg.getDateTo()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
1404
- resolved: jspb.Message.getBooleanFieldWithDefault(msg, 9, false)
1434
+ resolved: jspb.Message.getFieldWithDefault(msg, 9, 0)
1405
1435
  };
1406
1436
 
1407
1437
  if (includeInstance) {
@@ -1473,7 +1503,7 @@ proto.Spic.AlarmProto.Event.SearchRequest.deserializeBinaryFromReader = function
1473
1503
  msg.setDateTo(value);
1474
1504
  break;
1475
1505
  case 9:
1476
- var value = /** @type {boolean} */ (reader.readBool());
1506
+ var value = /** @type {!proto.Platform.BooleanFilterType} */ (reader.readEnum());
1477
1507
  msg.setResolved(value);
1478
1508
  break;
1479
1509
  default:
@@ -1564,8 +1594,8 @@ proto.Spic.AlarmProto.Event.SearchRequest.serializeBinaryToWriter = function(mes
1564
1594
  );
1565
1595
  }
1566
1596
  f = message.getResolved();
1567
- if (f) {
1568
- writer.writeBool(
1597
+ if (f !== 0.0) {
1598
+ writer.writeEnum(
1569
1599
  9,
1570
1600
  f
1571
1601
  );
@@ -1756,20 +1786,20 @@ proto.Spic.AlarmProto.Event.SearchRequest.prototype.hasDateTo = function() {
1756
1786
 
1757
1787
 
1758
1788
  /**
1759
- * optional bool resolved = 9;
1760
- * @return {boolean}
1789
+ * optional Platform.BooleanFilterType resolved = 9;
1790
+ * @return {!proto.Platform.BooleanFilterType}
1761
1791
  */
1762
1792
  proto.Spic.AlarmProto.Event.SearchRequest.prototype.getResolved = function() {
1763
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 9, false));
1793
+ return /** @type {!proto.Platform.BooleanFilterType} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
1764
1794
  };
1765
1795
 
1766
1796
 
1767
1797
  /**
1768
- * @param {boolean} value
1798
+ * @param {!proto.Platform.BooleanFilterType} value
1769
1799
  * @return {!proto.Spic.AlarmProto.Event.SearchRequest} returns this
1770
1800
  */
1771
1801
  proto.Spic.AlarmProto.Event.SearchRequest.prototype.setResolved = function(value) {
1772
- return jspb.Message.setProto3BooleanField(this, 9, value);
1802
+ return jspb.Message.setProto3EnumField(this, 9, value);
1773
1803
  };
1774
1804
 
1775
1805