@aceplus/smartace-api 2.9.0-alpha.9 → 2.9.0
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/auth.account_pb.d.ts +1 -0
- package/auth.account_pb.js +2 -1
- package/auth.firmware_pb.d.ts +21 -3
- package/auth.firmware_pb.js +162 -15
- package/package.json +1 -1
- package/platform.pagination_pb.d.ts +8 -0
- package/platform.pagination_pb.js +10 -0
- package/spic.cabinet_pb.d.ts +25 -3
- package/spic.cabinet_pb.js +186 -15
package/auth.account_pb.d.ts
CHANGED
package/auth.account_pb.js
CHANGED
package/auth.firmware_pb.d.ts
CHANGED
|
@@ -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():
|
|
218
|
-
setEnabled(value:
|
|
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:
|
|
252
|
+
enabled: platform_pagination_pb.BooleanFilterTypeMap[keyof platform_pagination_pb.BooleanFilterTypeMap],
|
|
235
253
|
}
|
|
236
254
|
}
|
|
237
255
|
}
|
package/auth.firmware_pb.js
CHANGED
|
@@ -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.
|
|
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 {
|
|
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.
|
|
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
|
|
1615
|
-
* @return {
|
|
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 {
|
|
1728
|
+
return /** @type {!proto.Platform.BooleanFilterType} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
1619
1729
|
};
|
|
1620
1730
|
|
|
1621
1731
|
|
|
1622
1732
|
/**
|
|
1623
|
-
* @param {
|
|
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.
|
|
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
|
@@ -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);
|
package/spic.cabinet_pb.d.ts
CHANGED
|
@@ -512,6 +512,21 @@ export namespace CabinetProto {
|
|
|
512
512
|
getCabinetId(): number;
|
|
513
513
|
setCabinetId(value: number): void;
|
|
514
514
|
|
|
515
|
+
getBatteryEmpty(): boolean;
|
|
516
|
+
setBatteryEmpty(value: boolean): void;
|
|
517
|
+
|
|
518
|
+
getCommunicationTime(): number;
|
|
519
|
+
setCommunicationTime(value: number): void;
|
|
520
|
+
|
|
521
|
+
getBatteryUnloaded(): number;
|
|
522
|
+
setBatteryUnloaded(value: number): void;
|
|
523
|
+
|
|
524
|
+
getBatteryLoaded(): number;
|
|
525
|
+
setBatteryLoaded(value: number): void;
|
|
526
|
+
|
|
527
|
+
getBatteryTemperature(): number;
|
|
528
|
+
setBatteryTemperature(value: number): void;
|
|
529
|
+
|
|
515
530
|
serializeBinary(): Uint8Array;
|
|
516
531
|
toObject(includeInstance?: boolean): State.AsObject;
|
|
517
532
|
static toObject(includeInstance: boolean, msg: State): State.AsObject;
|
|
@@ -542,6 +557,11 @@ export namespace CabinetProto {
|
|
|
542
557
|
crc: string,
|
|
543
558
|
settingNumber: number,
|
|
544
559
|
cabinetId: number,
|
|
560
|
+
batteryEmpty: boolean,
|
|
561
|
+
communicationTime: number,
|
|
562
|
+
batteryUnloaded: number,
|
|
563
|
+
batteryLoaded: number,
|
|
564
|
+
batteryTemperature: number,
|
|
545
565
|
}
|
|
546
566
|
|
|
547
567
|
export class SearchRequest extends jspb.Message {
|
|
@@ -680,8 +700,10 @@ export namespace CabinetProto {
|
|
|
680
700
|
getNotificationSent(): boolean;
|
|
681
701
|
setNotificationSent(value: boolean): void;
|
|
682
702
|
|
|
683
|
-
|
|
684
|
-
|
|
703
|
+
hasOpenRequest(): boolean;
|
|
704
|
+
clearOpenRequest(): void;
|
|
705
|
+
getOpenRequest(): CabinetProto.OpenRequest | undefined;
|
|
706
|
+
setOpenRequest(value?: CabinetProto.OpenRequest): void;
|
|
685
707
|
|
|
686
708
|
getDetail(): string;
|
|
687
709
|
setDetail(value: string): void;
|
|
@@ -704,7 +726,7 @@ export namespace CabinetProto {
|
|
|
704
726
|
cabinetId: number,
|
|
705
727
|
eventType: CabinetProto.Event.EventTypeMap[keyof CabinetProto.Event.EventTypeMap],
|
|
706
728
|
notificationSent: boolean,
|
|
707
|
-
|
|
729
|
+
openRequest?: CabinetProto.OpenRequest.AsObject,
|
|
708
730
|
detail: string,
|
|
709
731
|
}
|
|
710
732
|
|
package/spic.cabinet_pb.js
CHANGED
|
@@ -3626,7 +3626,12 @@ proto.Spic.CabinetProto.State.toObject = function(includeInstance, msg) {
|
|
|
3626
3626
|
imei: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
3627
3627
|
crc: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
3628
3628
|
settingNumber: jspb.Message.getFieldWithDefault(msg, 17, 0),
|
|
3629
|
-
cabinetId: jspb.Message.getFieldWithDefault(msg, 18, 0)
|
|
3629
|
+
cabinetId: jspb.Message.getFieldWithDefault(msg, 18, 0),
|
|
3630
|
+
batteryEmpty: jspb.Message.getBooleanFieldWithDefault(msg, 19, false),
|
|
3631
|
+
communicationTime: jspb.Message.getFieldWithDefault(msg, 20, 0),
|
|
3632
|
+
batteryUnloaded: jspb.Message.getFieldWithDefault(msg, 21, 0),
|
|
3633
|
+
batteryLoaded: jspb.Message.getFieldWithDefault(msg, 22, 0),
|
|
3634
|
+
batteryTemperature: jspb.Message.getFieldWithDefault(msg, 23, 0)
|
|
3630
3635
|
};
|
|
3631
3636
|
|
|
3632
3637
|
if (includeInstance) {
|
|
@@ -3738,6 +3743,26 @@ proto.Spic.CabinetProto.State.deserializeBinaryFromReader = function(msg, reader
|
|
|
3738
3743
|
var value = /** @type {number} */ (reader.readInt64());
|
|
3739
3744
|
msg.setCabinetId(value);
|
|
3740
3745
|
break;
|
|
3746
|
+
case 19:
|
|
3747
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
3748
|
+
msg.setBatteryEmpty(value);
|
|
3749
|
+
break;
|
|
3750
|
+
case 20:
|
|
3751
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
3752
|
+
msg.setCommunicationTime(value);
|
|
3753
|
+
break;
|
|
3754
|
+
case 21:
|
|
3755
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
3756
|
+
msg.setBatteryUnloaded(value);
|
|
3757
|
+
break;
|
|
3758
|
+
case 22:
|
|
3759
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
3760
|
+
msg.setBatteryLoaded(value);
|
|
3761
|
+
break;
|
|
3762
|
+
case 23:
|
|
3763
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
3764
|
+
msg.setBatteryTemperature(value);
|
|
3765
|
+
break;
|
|
3741
3766
|
default:
|
|
3742
3767
|
reader.skipField();
|
|
3743
3768
|
break;
|
|
@@ -3894,6 +3919,41 @@ proto.Spic.CabinetProto.State.serializeBinaryToWriter = function(message, writer
|
|
|
3894
3919
|
f
|
|
3895
3920
|
);
|
|
3896
3921
|
}
|
|
3922
|
+
f = message.getBatteryEmpty();
|
|
3923
|
+
if (f) {
|
|
3924
|
+
writer.writeBool(
|
|
3925
|
+
19,
|
|
3926
|
+
f
|
|
3927
|
+
);
|
|
3928
|
+
}
|
|
3929
|
+
f = message.getCommunicationTime();
|
|
3930
|
+
if (f !== 0) {
|
|
3931
|
+
writer.writeUint32(
|
|
3932
|
+
20,
|
|
3933
|
+
f
|
|
3934
|
+
);
|
|
3935
|
+
}
|
|
3936
|
+
f = message.getBatteryUnloaded();
|
|
3937
|
+
if (f !== 0) {
|
|
3938
|
+
writer.writeInt32(
|
|
3939
|
+
21,
|
|
3940
|
+
f
|
|
3941
|
+
);
|
|
3942
|
+
}
|
|
3943
|
+
f = message.getBatteryLoaded();
|
|
3944
|
+
if (f !== 0) {
|
|
3945
|
+
writer.writeInt32(
|
|
3946
|
+
22,
|
|
3947
|
+
f
|
|
3948
|
+
);
|
|
3949
|
+
}
|
|
3950
|
+
f = message.getBatteryTemperature();
|
|
3951
|
+
if (f !== 0) {
|
|
3952
|
+
writer.writeInt32(
|
|
3953
|
+
23,
|
|
3954
|
+
f
|
|
3955
|
+
);
|
|
3956
|
+
}
|
|
3897
3957
|
};
|
|
3898
3958
|
|
|
3899
3959
|
|
|
@@ -5111,6 +5171,96 @@ proto.Spic.CabinetProto.State.prototype.setCabinetId = function(value) {
|
|
|
5111
5171
|
};
|
|
5112
5172
|
|
|
5113
5173
|
|
|
5174
|
+
/**
|
|
5175
|
+
* optional bool battery_empty = 19;
|
|
5176
|
+
* @return {boolean}
|
|
5177
|
+
*/
|
|
5178
|
+
proto.Spic.CabinetProto.State.prototype.getBatteryEmpty = function() {
|
|
5179
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 19, false));
|
|
5180
|
+
};
|
|
5181
|
+
|
|
5182
|
+
|
|
5183
|
+
/**
|
|
5184
|
+
* @param {boolean} value
|
|
5185
|
+
* @return {!proto.Spic.CabinetProto.State} returns this
|
|
5186
|
+
*/
|
|
5187
|
+
proto.Spic.CabinetProto.State.prototype.setBatteryEmpty = function(value) {
|
|
5188
|
+
return jspb.Message.setProto3BooleanField(this, 19, value);
|
|
5189
|
+
};
|
|
5190
|
+
|
|
5191
|
+
|
|
5192
|
+
/**
|
|
5193
|
+
* optional uint32 communication_time = 20;
|
|
5194
|
+
* @return {number}
|
|
5195
|
+
*/
|
|
5196
|
+
proto.Spic.CabinetProto.State.prototype.getCommunicationTime = function() {
|
|
5197
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 20, 0));
|
|
5198
|
+
};
|
|
5199
|
+
|
|
5200
|
+
|
|
5201
|
+
/**
|
|
5202
|
+
* @param {number} value
|
|
5203
|
+
* @return {!proto.Spic.CabinetProto.State} returns this
|
|
5204
|
+
*/
|
|
5205
|
+
proto.Spic.CabinetProto.State.prototype.setCommunicationTime = function(value) {
|
|
5206
|
+
return jspb.Message.setProto3IntField(this, 20, value);
|
|
5207
|
+
};
|
|
5208
|
+
|
|
5209
|
+
|
|
5210
|
+
/**
|
|
5211
|
+
* optional int32 battery_unloaded = 21;
|
|
5212
|
+
* @return {number}
|
|
5213
|
+
*/
|
|
5214
|
+
proto.Spic.CabinetProto.State.prototype.getBatteryUnloaded = function() {
|
|
5215
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 21, 0));
|
|
5216
|
+
};
|
|
5217
|
+
|
|
5218
|
+
|
|
5219
|
+
/**
|
|
5220
|
+
* @param {number} value
|
|
5221
|
+
* @return {!proto.Spic.CabinetProto.State} returns this
|
|
5222
|
+
*/
|
|
5223
|
+
proto.Spic.CabinetProto.State.prototype.setBatteryUnloaded = function(value) {
|
|
5224
|
+
return jspb.Message.setProto3IntField(this, 21, value);
|
|
5225
|
+
};
|
|
5226
|
+
|
|
5227
|
+
|
|
5228
|
+
/**
|
|
5229
|
+
* optional int32 battery_loaded = 22;
|
|
5230
|
+
* @return {number}
|
|
5231
|
+
*/
|
|
5232
|
+
proto.Spic.CabinetProto.State.prototype.getBatteryLoaded = function() {
|
|
5233
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 22, 0));
|
|
5234
|
+
};
|
|
5235
|
+
|
|
5236
|
+
|
|
5237
|
+
/**
|
|
5238
|
+
* @param {number} value
|
|
5239
|
+
* @return {!proto.Spic.CabinetProto.State} returns this
|
|
5240
|
+
*/
|
|
5241
|
+
proto.Spic.CabinetProto.State.prototype.setBatteryLoaded = function(value) {
|
|
5242
|
+
return jspb.Message.setProto3IntField(this, 22, value);
|
|
5243
|
+
};
|
|
5244
|
+
|
|
5245
|
+
|
|
5246
|
+
/**
|
|
5247
|
+
* optional int32 battery_temperature = 23;
|
|
5248
|
+
* @return {number}
|
|
5249
|
+
*/
|
|
5250
|
+
proto.Spic.CabinetProto.State.prototype.getBatteryTemperature = function() {
|
|
5251
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 23, 0));
|
|
5252
|
+
};
|
|
5253
|
+
|
|
5254
|
+
|
|
5255
|
+
/**
|
|
5256
|
+
* @param {number} value
|
|
5257
|
+
* @return {!proto.Spic.CabinetProto.State} returns this
|
|
5258
|
+
*/
|
|
5259
|
+
proto.Spic.CabinetProto.State.prototype.setBatteryTemperature = function(value) {
|
|
5260
|
+
return jspb.Message.setProto3IntField(this, 23, value);
|
|
5261
|
+
};
|
|
5262
|
+
|
|
5263
|
+
|
|
5114
5264
|
|
|
5115
5265
|
|
|
5116
5266
|
|
|
@@ -5149,7 +5299,7 @@ proto.Spic.CabinetProto.Event.toObject = function(includeInstance, msg) {
|
|
|
5149
5299
|
cabinetId: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
5150
5300
|
eventType: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
5151
5301
|
notificationSent: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
|
5152
|
-
|
|
5302
|
+
openRequest: (f = msg.getOpenRequest()) && proto.Spic.CabinetProto.OpenRequest.toObject(includeInstance, f),
|
|
5153
5303
|
detail: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
5154
5304
|
};
|
|
5155
5305
|
|
|
@@ -5214,8 +5364,9 @@ proto.Spic.CabinetProto.Event.deserializeBinaryFromReader = function(msg, reader
|
|
|
5214
5364
|
msg.setNotificationSent(value);
|
|
5215
5365
|
break;
|
|
5216
5366
|
case 7:
|
|
5217
|
-
var value =
|
|
5218
|
-
|
|
5367
|
+
var value = new proto.Spic.CabinetProto.OpenRequest;
|
|
5368
|
+
reader.readMessage(value,proto.Spic.CabinetProto.OpenRequest.deserializeBinaryFromReader);
|
|
5369
|
+
msg.setOpenRequest(value);
|
|
5219
5370
|
break;
|
|
5220
5371
|
case 8:
|
|
5221
5372
|
var value = /** @type {string} */ (reader.readString());
|
|
@@ -5294,11 +5445,12 @@ proto.Spic.CabinetProto.Event.serializeBinaryToWriter = function(message, writer
|
|
|
5294
5445
|
f
|
|
5295
5446
|
);
|
|
5296
5447
|
}
|
|
5297
|
-
f = message.
|
|
5298
|
-
if (f
|
|
5299
|
-
writer.
|
|
5448
|
+
f = message.getOpenRequest();
|
|
5449
|
+
if (f != null) {
|
|
5450
|
+
writer.writeMessage(
|
|
5300
5451
|
7,
|
|
5301
|
-
f
|
|
5452
|
+
f,
|
|
5453
|
+
proto.Spic.CabinetProto.OpenRequest.serializeBinaryToWriter
|
|
5302
5454
|
);
|
|
5303
5455
|
}
|
|
5304
5456
|
f = message.getDetail();
|
|
@@ -6099,20 +6251,39 @@ proto.Spic.CabinetProto.Event.prototype.setNotificationSent = function(value) {
|
|
|
6099
6251
|
|
|
6100
6252
|
|
|
6101
6253
|
/**
|
|
6102
|
-
* optional
|
|
6103
|
-
* @return {
|
|
6254
|
+
* optional OpenRequest open_request = 7;
|
|
6255
|
+
* @return {?proto.Spic.CabinetProto.OpenRequest}
|
|
6104
6256
|
*/
|
|
6105
|
-
proto.Spic.CabinetProto.Event.prototype.
|
|
6106
|
-
return /** @type
|
|
6257
|
+
proto.Spic.CabinetProto.Event.prototype.getOpenRequest = function() {
|
|
6258
|
+
return /** @type{?proto.Spic.CabinetProto.OpenRequest} */ (
|
|
6259
|
+
jspb.Message.getWrapperField(this, proto.Spic.CabinetProto.OpenRequest, 7));
|
|
6107
6260
|
};
|
|
6108
6261
|
|
|
6109
6262
|
|
|
6110
6263
|
/**
|
|
6111
|
-
* @param {
|
|
6264
|
+
* @param {?proto.Spic.CabinetProto.OpenRequest|undefined} value
|
|
6265
|
+
* @return {!proto.Spic.CabinetProto.Event} returns this
|
|
6266
|
+
*/
|
|
6267
|
+
proto.Spic.CabinetProto.Event.prototype.setOpenRequest = function(value) {
|
|
6268
|
+
return jspb.Message.setWrapperField(this, 7, value);
|
|
6269
|
+
};
|
|
6270
|
+
|
|
6271
|
+
|
|
6272
|
+
/**
|
|
6273
|
+
* Clears the message field making it undefined.
|
|
6112
6274
|
* @return {!proto.Spic.CabinetProto.Event} returns this
|
|
6113
6275
|
*/
|
|
6114
|
-
proto.Spic.CabinetProto.Event.prototype.
|
|
6115
|
-
return
|
|
6276
|
+
proto.Spic.CabinetProto.Event.prototype.clearOpenRequest = function() {
|
|
6277
|
+
return this.setOpenRequest(undefined);
|
|
6278
|
+
};
|
|
6279
|
+
|
|
6280
|
+
|
|
6281
|
+
/**
|
|
6282
|
+
* Returns whether this field is set.
|
|
6283
|
+
* @return {boolean}
|
|
6284
|
+
*/
|
|
6285
|
+
proto.Spic.CabinetProto.Event.prototype.hasOpenRequest = function() {
|
|
6286
|
+
return jspb.Message.getField(this, 7) != null;
|
|
6116
6287
|
};
|
|
6117
6288
|
|
|
6118
6289
|
|