@aceplus/smartace-api 3.6.0-alpha.16 → 3.6.0-alpha.18

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.16",
8
+ "version": "3.6.0-alpha.18",
9
9
  "description": "Generated proto files.",
10
10
  "author": "TKF",
11
11
  "files": [
@@ -183,6 +183,9 @@ export namespace AlarmProto {
183
183
  getDetail(): string;
184
184
  setDetail(value: string): void;
185
185
 
186
+ getStatus(): AlarmProto.AlertPriorityTypeMap[keyof AlarmProto.AlertPriorityTypeMap];
187
+ setStatus(value: AlarmProto.AlertPriorityTypeMap[keyof AlarmProto.AlertPriorityTypeMap]): void;
188
+
186
189
  serializeBinary(): Uint8Array;
187
190
  toObject(includeInstance?: boolean): Event.AsObject;
188
191
  static toObject(includeInstance: boolean, msg: Event): Event.AsObject;
@@ -202,6 +205,7 @@ export namespace AlarmProto {
202
205
  endDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
203
206
  componentId: string,
204
207
  detail: string,
208
+ status: AlarmProto.AlertPriorityTypeMap[keyof AlarmProto.AlertPriorityTypeMap],
205
209
  }
206
210
 
207
211
  export class SearchRequest extends jspb.Message {
@@ -233,6 +237,9 @@ export namespace AlarmProto {
233
237
  getDateTo(): google_protobuf_timestamp_pb.Timestamp | undefined;
234
238
  setDateTo(value?: google_protobuf_timestamp_pb.Timestamp): void;
235
239
 
240
+ getResolved(): boolean;
241
+ setResolved(value: boolean): void;
242
+
236
243
  serializeBinary(): Uint8Array;
237
244
  toObject(includeInstance?: boolean): SearchRequest.AsObject;
238
245
  static toObject(includeInstance: boolean, msg: SearchRequest): SearchRequest.AsObject;
@@ -253,6 +260,7 @@ export namespace AlarmProto {
253
260
  descorder: boolean,
254
261
  dateFrom?: google_protobuf_timestamp_pb.Timestamp.AsObject,
255
262
  dateTo?: google_protobuf_timestamp_pb.Timestamp.AsObject,
263
+ resolved: boolean,
256
264
  }
257
265
  }
258
266
 
package/spic.alarm_pb.js CHANGED
@@ -1177,7 +1177,8 @@ proto.Spic.AlarmProto.Event.toObject = function(includeInstance, msg) {
1177
1177
  startDate: (f = msg.getStartDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
1178
1178
  endDate: (f = msg.getEndDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
1179
1179
  componentId: jspb.Message.getFieldWithDefault(msg, 6, ""),
1180
- detail: jspb.Message.getFieldWithDefault(msg, 7, "")
1180
+ detail: jspb.Message.getFieldWithDefault(msg, 7, ""),
1181
+ status: jspb.Message.getFieldWithDefault(msg, 8, 0)
1181
1182
  };
1182
1183
 
1183
1184
  if (includeInstance) {
@@ -1244,6 +1245,10 @@ proto.Spic.AlarmProto.Event.deserializeBinaryFromReader = function(msg, reader)
1244
1245
  var value = /** @type {string} */ (reader.readString());
1245
1246
  msg.setDetail(value);
1246
1247
  break;
1248
+ case 8:
1249
+ var value = /** @type {!proto.Spic.AlarmProto.AlertPriorityType} */ (reader.readEnum());
1250
+ msg.setStatus(value);
1251
+ break;
1247
1252
  default:
1248
1253
  reader.skipField();
1249
1254
  break;
@@ -1324,6 +1329,13 @@ proto.Spic.AlarmProto.Event.serializeBinaryToWriter = function(message, writer)
1324
1329
  f
1325
1330
  );
1326
1331
  }
1332
+ f = message.getStatus();
1333
+ if (f !== 0.0) {
1334
+ writer.writeEnum(
1335
+ 8,
1336
+ f
1337
+ );
1338
+ }
1327
1339
  };
1328
1340
 
1329
1341
 
@@ -1366,7 +1378,8 @@ proto.Spic.AlarmProto.Event.SearchRequest.toObject = function(includeInstance, m
1366
1378
  count: jspb.Message.getFieldWithDefault(msg, 5, 0),
1367
1379
  descorder: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
1368
1380
  dateFrom: (f = msg.getDateFrom()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
1369
- dateTo: (f = msg.getDateTo()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
1381
+ dateTo: (f = msg.getDateTo()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
1382
+ resolved: jspb.Message.getBooleanFieldWithDefault(msg, 9, false)
1370
1383
  };
1371
1384
 
1372
1385
  if (includeInstance) {
@@ -1437,6 +1450,10 @@ proto.Spic.AlarmProto.Event.SearchRequest.deserializeBinaryFromReader = function
1437
1450
  reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
1438
1451
  msg.setDateTo(value);
1439
1452
  break;
1453
+ case 9:
1454
+ var value = /** @type {boolean} */ (reader.readBool());
1455
+ msg.setResolved(value);
1456
+ break;
1440
1457
  default:
1441
1458
  reader.skipField();
1442
1459
  break;
@@ -1524,6 +1541,13 @@ proto.Spic.AlarmProto.Event.SearchRequest.serializeBinaryToWriter = function(mes
1524
1541
  google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
1525
1542
  );
1526
1543
  }
1544
+ f = message.getResolved();
1545
+ if (f) {
1546
+ writer.writeBool(
1547
+ 9,
1548
+ f
1549
+ );
1550
+ }
1527
1551
  };
1528
1552
 
1529
1553
 
@@ -1709,6 +1733,24 @@ proto.Spic.AlarmProto.Event.SearchRequest.prototype.hasDateTo = function() {
1709
1733
  };
1710
1734
 
1711
1735
 
1736
+ /**
1737
+ * optional bool resolved = 9;
1738
+ * @return {boolean}
1739
+ */
1740
+ proto.Spic.AlarmProto.Event.SearchRequest.prototype.getResolved = function() {
1741
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 9, false));
1742
+ };
1743
+
1744
+
1745
+ /**
1746
+ * @param {boolean} value
1747
+ * @return {!proto.Spic.AlarmProto.Event.SearchRequest} returns this
1748
+ */
1749
+ proto.Spic.AlarmProto.Event.SearchRequest.prototype.setResolved = function(value) {
1750
+ return jspb.Message.setProto3BooleanField(this, 9, value);
1751
+ };
1752
+
1753
+
1712
1754
 
1713
1755
  /**
1714
1756
  * List of repeated fields within this message type.
@@ -2084,6 +2126,24 @@ proto.Spic.AlarmProto.Event.prototype.setDetail = function(value) {
2084
2126
  };
2085
2127
 
2086
2128
 
2129
+ /**
2130
+ * optional AlertPriorityType status = 8;
2131
+ * @return {!proto.Spic.AlarmProto.AlertPriorityType}
2132
+ */
2133
+ proto.Spic.AlarmProto.Event.prototype.getStatus = function() {
2134
+ return /** @type {!proto.Spic.AlarmProto.AlertPriorityType} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
2135
+ };
2136
+
2137
+
2138
+ /**
2139
+ * @param {!proto.Spic.AlarmProto.AlertPriorityType} value
2140
+ * @return {!proto.Spic.AlarmProto.Event} returns this
2141
+ */
2142
+ proto.Spic.AlarmProto.Event.prototype.setStatus = function(value) {
2143
+ return jspb.Message.setProto3EnumField(this, 8, value);
2144
+ };
2145
+
2146
+
2087
2147
 
2088
2148
 
2089
2149