@aceplus/smartace-api 2.9.0-alpha.26 → 2.9.0-alpha.28

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.
@@ -40,6 +40,11 @@ export class FirmwareProto extends jspb.Message {
40
40
  getUpdatedDate(): google_protobuf_timestamp_pb.Timestamp | undefined;
41
41
  setUpdatedDate(value?: google_protobuf_timestamp_pb.Timestamp): void;
42
42
 
43
+ clearFromCrcsList(): void;
44
+ getFromCrcsList(): Array<string>;
45
+ setFromCrcsList(value: Array<string>): void;
46
+ addFromCrcs(value: string, index?: number): string;
47
+
43
48
  serializeBinary(): Uint8Array;
44
49
  toObject(includeInstance?: boolean): FirmwareProto.AsObject;
45
50
  static toObject(includeInstance: boolean, msg: FirmwareProto): FirmwareProto.AsObject;
@@ -61,6 +66,7 @@ export namespace FirmwareProto {
61
66
  uidsList: Array<string>,
62
67
  createdDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
63
68
  updatedDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
69
+ fromCrcsList: Array<string>,
64
70
  }
65
71
 
66
72
  export class CreateRequest extends jspb.Message {
@@ -80,6 +86,11 @@ export namespace FirmwareProto {
80
86
  setUidsList(value: Array<string>): void;
81
87
  addUids(value: string, index?: number): string;
82
88
 
89
+ clearFromCrcsList(): void;
90
+ getFromCrcsList(): Array<string>;
91
+ setFromCrcsList(value: Array<string>): void;
92
+ addFromCrcs(value: string, index?: number): string;
93
+
83
94
  serializeBinary(): Uint8Array;
84
95
  toObject(includeInstance?: boolean): CreateRequest.AsObject;
85
96
  static toObject(includeInstance: boolean, msg: CreateRequest): CreateRequest.AsObject;
@@ -96,6 +107,7 @@ export namespace FirmwareProto {
96
107
  file: Uint8Array | string,
97
108
  enabled: boolean,
98
109
  uidsList: Array<string>,
110
+ fromCrcsList: Array<string>,
99
111
  }
100
112
  }
101
113
 
@@ -131,6 +143,11 @@ export namespace FirmwareProto {
131
143
  setUidsList(value: Array<string>): void;
132
144
  addUids(value: string, index?: number): string;
133
145
 
146
+ clearFromCrcsList(): void;
147
+ getFromCrcsList(): Array<string>;
148
+ setFromCrcsList(value: Array<string>): void;
149
+ addFromCrcs(value: string, index?: number): string;
150
+
134
151
  serializeBinary(): Uint8Array;
135
152
  toObject(includeInstance?: boolean): UpdateRequest.AsObject;
136
153
  static toObject(includeInstance: boolean, msg: UpdateRequest): UpdateRequest.AsObject;
@@ -146,6 +163,7 @@ export namespace FirmwareProto {
146
163
  id: number,
147
164
  enabled: boolean,
148
165
  uidsList: Array<string>,
166
+ fromCrcsList: Array<string>,
149
167
  }
150
168
  }
151
169
 
@@ -214,8 +232,8 @@ export namespace FirmwareProto {
214
232
  getVersion(): string;
215
233
  setVersion(value: string): void;
216
234
 
217
- getEnabled(): boolean;
218
- setEnabled(value: boolean): void;
235
+ getEnabled(): platform_pagination_pb.BooleanFilterTypeMap[keyof platform_pagination_pb.BooleanFilterTypeMap];
236
+ setEnabled(value: platform_pagination_pb.BooleanFilterTypeMap[keyof platform_pagination_pb.BooleanFilterTypeMap]): void;
219
237
 
220
238
  serializeBinary(): Uint8Array;
221
239
  toObject(includeInstance?: boolean): FirmwareFilters.AsObject;
@@ -231,7 +249,7 @@ export namespace FirmwareProto {
231
249
  export type AsObject = {
232
250
  crc: string,
233
251
  version: string,
234
- enabled: boolean,
252
+ enabled: platform_pagination_pb.BooleanFilterTypeMap[keyof platform_pagination_pb.BooleanFilterTypeMap],
235
253
  }
236
254
  }
237
255
  }
@@ -187,7 +187,7 @@ if (goog.DEBUG && !COMPILED) {
187
187
  * @private {!Array<number>}
188
188
  * @const
189
189
  */
190
- proto.Auth.FirmwareProto.repeatedFields_ = [7];
190
+ proto.Auth.FirmwareProto.repeatedFields_ = [7,10];
191
191
 
192
192
 
193
193
 
@@ -228,7 +228,8 @@ proto.Auth.FirmwareProto.toObject = function(includeInstance, msg) {
228
228
  enabled: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
229
229
  uidsList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f,
230
230
  createdDate: (f = msg.getCreatedDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
231
- updatedDate: (f = msg.getUpdatedDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
231
+ updatedDate: (f = msg.getUpdatedDate()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
232
+ fromCrcsList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f
232
233
  };
233
234
 
234
235
  if (includeInstance) {
@@ -303,6 +304,10 @@ proto.Auth.FirmwareProto.deserializeBinaryFromReader = function(msg, reader) {
303
304
  reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
304
305
  msg.setUpdatedDate(value);
305
306
  break;
307
+ case 10:
308
+ var value = /** @type {string} */ (reader.readString());
309
+ msg.addFromCrcs(value);
310
+ break;
306
311
  default:
307
312
  reader.skipField();
308
313
  break;
@@ -397,6 +402,13 @@ proto.Auth.FirmwareProto.serializeBinaryToWriter = function(message, writer) {
397
402
  google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
398
403
  );
399
404
  }
405
+ f = message.getFromCrcsList();
406
+ if (f.length > 0) {
407
+ writer.writeRepeatedString(
408
+ 10,
409
+ f
410
+ );
411
+ }
400
412
  };
401
413
 
402
414
 
@@ -406,7 +418,7 @@ proto.Auth.FirmwareProto.serializeBinaryToWriter = function(message, writer) {
406
418
  * @private {!Array<number>}
407
419
  * @const
408
420
  */
409
- proto.Auth.FirmwareProto.CreateRequest.repeatedFields_ = [4];
421
+ proto.Auth.FirmwareProto.CreateRequest.repeatedFields_ = [4,5];
410
422
 
411
423
 
412
424
 
@@ -442,7 +454,8 @@ proto.Auth.FirmwareProto.CreateRequest.toObject = function(includeInstance, msg)
442
454
  version: jspb.Message.getFieldWithDefault(msg, 1, ""),
443
455
  file: msg.getFile_asB64(),
444
456
  enabled: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
445
- uidsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f
457
+ uidsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
458
+ fromCrcsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f
446
459
  };
447
460
 
448
461
  if (includeInstance) {
@@ -495,6 +508,10 @@ proto.Auth.FirmwareProto.CreateRequest.deserializeBinaryFromReader = function(ms
495
508
  var value = /** @type {string} */ (reader.readString());
496
509
  msg.addUids(value);
497
510
  break;
511
+ case 5:
512
+ var value = /** @type {string} */ (reader.readString());
513
+ msg.addFromCrcs(value);
514
+ break;
498
515
  default:
499
516
  reader.skipField();
500
517
  break;
@@ -552,6 +569,13 @@ proto.Auth.FirmwareProto.CreateRequest.serializeBinaryToWriter = function(messag
552
569
  f
553
570
  );
554
571
  }
572
+ f = message.getFromCrcsList();
573
+ if (f.length > 0) {
574
+ writer.writeRepeatedString(
575
+ 5,
576
+ f
577
+ );
578
+ }
555
579
  };
556
580
 
557
581
 
@@ -670,6 +694,43 @@ proto.Auth.FirmwareProto.CreateRequest.prototype.clearUidsList = function() {
670
694
  };
671
695
 
672
696
 
697
+ /**
698
+ * repeated string from_crcs = 5;
699
+ * @return {!Array<string>}
700
+ */
701
+ proto.Auth.FirmwareProto.CreateRequest.prototype.getFromCrcsList = function() {
702
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 5));
703
+ };
704
+
705
+
706
+ /**
707
+ * @param {!Array<string>} value
708
+ * @return {!proto.Auth.FirmwareProto.CreateRequest} returns this
709
+ */
710
+ proto.Auth.FirmwareProto.CreateRequest.prototype.setFromCrcsList = function(value) {
711
+ return jspb.Message.setField(this, 5, value || []);
712
+ };
713
+
714
+
715
+ /**
716
+ * @param {string} value
717
+ * @param {number=} opt_index
718
+ * @return {!proto.Auth.FirmwareProto.CreateRequest} returns this
719
+ */
720
+ proto.Auth.FirmwareProto.CreateRequest.prototype.addFromCrcs = function(value, opt_index) {
721
+ return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
722
+ };
723
+
724
+
725
+ /**
726
+ * Clears the list making it empty but non-null.
727
+ * @return {!proto.Auth.FirmwareProto.CreateRequest} returns this
728
+ */
729
+ proto.Auth.FirmwareProto.CreateRequest.prototype.clearFromCrcsList = function() {
730
+ return this.setFromCrcsList([]);
731
+ };
732
+
733
+
673
734
 
674
735
 
675
736
 
@@ -806,7 +867,7 @@ proto.Auth.FirmwareProto.RetrieveRequest.prototype.setId = function(value) {
806
867
  * @private {!Array<number>}
807
868
  * @const
808
869
  */
809
- proto.Auth.FirmwareProto.UpdateRequest.repeatedFields_ = [3];
870
+ proto.Auth.FirmwareProto.UpdateRequest.repeatedFields_ = [3,4];
810
871
 
811
872
 
812
873
 
@@ -841,7 +902,8 @@ proto.Auth.FirmwareProto.UpdateRequest.toObject = function(includeInstance, msg)
841
902
  var f, obj = {
842
903
  id: jspb.Message.getFieldWithDefault(msg, 1, 0),
843
904
  enabled: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
844
- uidsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
905
+ uidsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
906
+ fromCrcsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f
845
907
  };
846
908
 
847
909
  if (includeInstance) {
@@ -890,6 +952,10 @@ proto.Auth.FirmwareProto.UpdateRequest.deserializeBinaryFromReader = function(ms
890
952
  var value = /** @type {string} */ (reader.readString());
891
953
  msg.addUids(value);
892
954
  break;
955
+ case 4:
956
+ var value = /** @type {string} */ (reader.readString());
957
+ msg.addFromCrcs(value);
958
+ break;
893
959
  default:
894
960
  reader.skipField();
895
961
  break;
@@ -940,6 +1006,13 @@ proto.Auth.FirmwareProto.UpdateRequest.serializeBinaryToWriter = function(messag
940
1006
  f
941
1007
  );
942
1008
  }
1009
+ f = message.getFromCrcsList();
1010
+ if (f.length > 0) {
1011
+ writer.writeRepeatedString(
1012
+ 4,
1013
+ f
1014
+ );
1015
+ }
943
1016
  };
944
1017
 
945
1018
 
@@ -1016,6 +1089,43 @@ proto.Auth.FirmwareProto.UpdateRequest.prototype.clearUidsList = function() {
1016
1089
  };
1017
1090
 
1018
1091
 
1092
+ /**
1093
+ * repeated string from_crcs = 4;
1094
+ * @return {!Array<string>}
1095
+ */
1096
+ proto.Auth.FirmwareProto.UpdateRequest.prototype.getFromCrcsList = function() {
1097
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 4));
1098
+ };
1099
+
1100
+
1101
+ /**
1102
+ * @param {!Array<string>} value
1103
+ * @return {!proto.Auth.FirmwareProto.UpdateRequest} returns this
1104
+ */
1105
+ proto.Auth.FirmwareProto.UpdateRequest.prototype.setFromCrcsList = function(value) {
1106
+ return jspb.Message.setField(this, 4, value || []);
1107
+ };
1108
+
1109
+
1110
+ /**
1111
+ * @param {string} value
1112
+ * @param {number=} opt_index
1113
+ * @return {!proto.Auth.FirmwareProto.UpdateRequest} returns this
1114
+ */
1115
+ proto.Auth.FirmwareProto.UpdateRequest.prototype.addFromCrcs = function(value, opt_index) {
1116
+ return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
1117
+ };
1118
+
1119
+
1120
+ /**
1121
+ * Clears the list making it empty but non-null.
1122
+ * @return {!proto.Auth.FirmwareProto.UpdateRequest} returns this
1123
+ */
1124
+ proto.Auth.FirmwareProto.UpdateRequest.prototype.clearFromCrcsList = function() {
1125
+ return this.setFromCrcsList([]);
1126
+ };
1127
+
1128
+
1019
1129
 
1020
1130
 
1021
1131
 
@@ -1472,7 +1582,7 @@ proto.Auth.FirmwareProto.FirmwareFilters.toObject = function(includeInstance, ms
1472
1582
  var f, obj = {
1473
1583
  crc: jspb.Message.getFieldWithDefault(msg, 1, ""),
1474
1584
  version: jspb.Message.getFieldWithDefault(msg, 2, ""),
1475
- enabled: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
1585
+ enabled: jspb.Message.getFieldWithDefault(msg, 3, 0)
1476
1586
  };
1477
1587
 
1478
1588
  if (includeInstance) {
@@ -1518,7 +1628,7 @@ proto.Auth.FirmwareProto.FirmwareFilters.deserializeBinaryFromReader = function(
1518
1628
  msg.setVersion(value);
1519
1629
  break;
1520
1630
  case 3:
1521
- var value = /** @type {boolean} */ (reader.readBool());
1631
+ var value = /** @type {!proto.Platform.BooleanFilterType} */ (reader.readEnum());
1522
1632
  msg.setEnabled(value);
1523
1633
  break;
1524
1634
  default:
@@ -1565,8 +1675,8 @@ proto.Auth.FirmwareProto.FirmwareFilters.serializeBinaryToWriter = function(mess
1565
1675
  );
1566
1676
  }
1567
1677
  f = message.getEnabled();
1568
- if (f) {
1569
- writer.writeBool(
1678
+ if (f !== 0.0) {
1679
+ writer.writeEnum(
1570
1680
  3,
1571
1681
  f
1572
1682
  );
@@ -1611,20 +1721,20 @@ proto.Auth.FirmwareProto.FirmwareFilters.prototype.setVersion = function(value)
1611
1721
 
1612
1722
 
1613
1723
  /**
1614
- * optional bool enabled = 3;
1615
- * @return {boolean}
1724
+ * optional Platform.BooleanFilterType enabled = 3;
1725
+ * @return {!proto.Platform.BooleanFilterType}
1616
1726
  */
1617
1727
  proto.Auth.FirmwareProto.FirmwareFilters.prototype.getEnabled = function() {
1618
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
1728
+ return /** @type {!proto.Platform.BooleanFilterType} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
1619
1729
  };
1620
1730
 
1621
1731
 
1622
1732
  /**
1623
- * @param {boolean} value
1733
+ * @param {!proto.Platform.BooleanFilterType} value
1624
1734
  * @return {!proto.Auth.FirmwareProto.FirmwareFilters} returns this
1625
1735
  */
1626
1736
  proto.Auth.FirmwareProto.FirmwareFilters.prototype.setEnabled = function(value) {
1627
- return jspb.Message.setProto3BooleanField(this, 3, value);
1737
+ return jspb.Message.setProto3EnumField(this, 3, value);
1628
1738
  };
1629
1739
 
1630
1740
 
@@ -1847,4 +1957,41 @@ proto.Auth.FirmwareProto.prototype.hasUpdatedDate = function() {
1847
1957
  };
1848
1958
 
1849
1959
 
1960
+ /**
1961
+ * repeated string from_crcs = 10;
1962
+ * @return {!Array<string>}
1963
+ */
1964
+ proto.Auth.FirmwareProto.prototype.getFromCrcsList = function() {
1965
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 10));
1966
+ };
1967
+
1968
+
1969
+ /**
1970
+ * @param {!Array<string>} value
1971
+ * @return {!proto.Auth.FirmwareProto} returns this
1972
+ */
1973
+ proto.Auth.FirmwareProto.prototype.setFromCrcsList = function(value) {
1974
+ return jspb.Message.setField(this, 10, value || []);
1975
+ };
1976
+
1977
+
1978
+ /**
1979
+ * @param {string} value
1980
+ * @param {number=} opt_index
1981
+ * @return {!proto.Auth.FirmwareProto} returns this
1982
+ */
1983
+ proto.Auth.FirmwareProto.prototype.addFromCrcs = function(value, opt_index) {
1984
+ return jspb.Message.addToRepeatedField(this, 10, value, opt_index);
1985
+ };
1986
+
1987
+
1988
+ /**
1989
+ * Clears the list making it empty but non-null.
1990
+ * @return {!proto.Auth.FirmwareProto} returns this
1991
+ */
1992
+ proto.Auth.FirmwareProto.prototype.clearFromCrcsList = function() {
1993
+ return this.setFromCrcsList([]);
1994
+ };
1995
+
1996
+
1850
1997
  goog.object.extend(exports, proto.Auth);
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": "2.9.0-alpha.26",
8
+ "version": "2.9.0-alpha.28",
9
9
  "description": "Generated proto files.",
10
10
  "author": "TKF",
11
11
  "files": [
@@ -35,3 +35,11 @@ export namespace PaginationProto {
35
35
  }
36
36
  }
37
37
 
38
+ export interface BooleanFilterTypeMap {
39
+ TRUE: 0;
40
+ FALSE: 1;
41
+ ALL: 2;
42
+ }
43
+
44
+ export const BooleanFilterType: BooleanFilterTypeMap;
45
+
@@ -21,6 +21,7 @@ var global =
21
21
  (function () { return this; }).call(null) ||
22
22
  Function('return this')();
23
23
 
24
+ goog.exportSymbol('proto.Platform.BooleanFilterType', null, global);
24
25
  goog.exportSymbol('proto.Platform.PaginationProto', null, global);
25
26
  /**
26
27
  * Generated by JsPbCodeGenerator.
@@ -263,4 +264,13 @@ proto.Platform.PaginationProto.prototype.setCount = function(value) {
263
264
  };
264
265
 
265
266
 
267
+ /**
268
+ * @enum {number}
269
+ */
270
+ proto.Platform.BooleanFilterType = {
271
+ TRUE: 0,
272
+ FALSE: 1,
273
+ ALL: 2
274
+ };
275
+
266
276
  goog.object.extend(exports, proto.Platform);