@aceplus/smartace-api 2.9.0-publish-dart.1 → 2.10.0-alpha.1
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 +20 -10
- package/spic.cabinet_pb.js +141 -60
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,15 +512,21 @@ export namespace CabinetProto {
|
|
|
512
512
|
getCabinetId(): number;
|
|
513
513
|
setCabinetId(value: number): void;
|
|
514
514
|
|
|
515
|
-
getBatteryEstimator(): number;
|
|
516
|
-
setBatteryEstimator(value: number): void;
|
|
517
|
-
|
|
518
515
|
getBatteryEmpty(): boolean;
|
|
519
516
|
setBatteryEmpty(value: boolean): void;
|
|
520
517
|
|
|
521
518
|
getCommunicationTime(): number;
|
|
522
519
|
setCommunicationTime(value: number): void;
|
|
523
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
|
+
|
|
524
530
|
serializeBinary(): Uint8Array;
|
|
525
531
|
toObject(includeInstance?: boolean): State.AsObject;
|
|
526
532
|
static toObject(includeInstance: boolean, msg: State): State.AsObject;
|
|
@@ -551,9 +557,11 @@ export namespace CabinetProto {
|
|
|
551
557
|
crc: string,
|
|
552
558
|
settingNumber: number,
|
|
553
559
|
cabinetId: number,
|
|
554
|
-
batteryEstimator: number,
|
|
555
560
|
batteryEmpty: boolean,
|
|
556
561
|
communicationTime: number,
|
|
562
|
+
batteryUnloaded: number,
|
|
563
|
+
batteryLoaded: number,
|
|
564
|
+
batteryTemperature: number,
|
|
557
565
|
}
|
|
558
566
|
|
|
559
567
|
export class SearchRequest extends jspb.Message {
|
|
@@ -692,8 +700,10 @@ export namespace CabinetProto {
|
|
|
692
700
|
getNotificationSent(): boolean;
|
|
693
701
|
setNotificationSent(value: boolean): void;
|
|
694
702
|
|
|
695
|
-
|
|
696
|
-
|
|
703
|
+
hasOpenRequest(): boolean;
|
|
704
|
+
clearOpenRequest(): void;
|
|
705
|
+
getOpenRequest(): CabinetProto.OpenRequest | undefined;
|
|
706
|
+
setOpenRequest(value?: CabinetProto.OpenRequest): void;
|
|
697
707
|
|
|
698
708
|
getDetail(): string;
|
|
699
709
|
setDetail(value: string): void;
|
|
@@ -716,7 +726,7 @@ export namespace CabinetProto {
|
|
|
716
726
|
cabinetId: number,
|
|
717
727
|
eventType: CabinetProto.Event.EventTypeMap[keyof CabinetProto.Event.EventTypeMap],
|
|
718
728
|
notificationSent: boolean,
|
|
719
|
-
|
|
729
|
+
openRequest?: CabinetProto.OpenRequest.AsObject,
|
|
720
730
|
detail: string,
|
|
721
731
|
}
|
|
722
732
|
|
|
@@ -724,8 +734,8 @@ export namespace CabinetProto {
|
|
|
724
734
|
getCabinetId(): number;
|
|
725
735
|
setCabinetId(value: number): void;
|
|
726
736
|
|
|
727
|
-
|
|
728
|
-
|
|
737
|
+
getActive(): platform_pagination_pb.BooleanFilterTypeMap[keyof platform_pagination_pb.BooleanFilterTypeMap];
|
|
738
|
+
setActive(value: platform_pagination_pb.BooleanFilterTypeMap[keyof platform_pagination_pb.BooleanFilterTypeMap]): void;
|
|
729
739
|
|
|
730
740
|
clearEventTypeList(): void;
|
|
731
741
|
getEventTypeList(): Array<CabinetProto.Event.EventTypeMap[keyof CabinetProto.Event.EventTypeMap]>;
|
|
@@ -764,7 +774,7 @@ export namespace CabinetProto {
|
|
|
764
774
|
export namespace SearchRequest {
|
|
765
775
|
export type AsObject = {
|
|
766
776
|
cabinetId: number,
|
|
767
|
-
|
|
777
|
+
active: platform_pagination_pb.BooleanFilterTypeMap[keyof platform_pagination_pb.BooleanFilterTypeMap],
|
|
768
778
|
eventTypeList: Array<CabinetProto.Event.EventTypeMap[keyof CabinetProto.Event.EventTypeMap]>,
|
|
769
779
|
page: number,
|
|
770
780
|
count: number,
|
package/spic.cabinet_pb.js
CHANGED
|
@@ -3627,9 +3627,11 @@ proto.Spic.CabinetProto.State.toObject = function(includeInstance, msg) {
|
|
|
3627
3627
|
crc: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
3628
3628
|
settingNumber: jspb.Message.getFieldWithDefault(msg, 17, 0),
|
|
3629
3629
|
cabinetId: jspb.Message.getFieldWithDefault(msg, 18, 0),
|
|
3630
|
-
|
|
3631
|
-
|
|
3632
|
-
|
|
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)
|
|
3633
3635
|
};
|
|
3634
3636
|
|
|
3635
3637
|
if (includeInstance) {
|
|
@@ -3742,17 +3744,25 @@ proto.Spic.CabinetProto.State.deserializeBinaryFromReader = function(msg, reader
|
|
|
3742
3744
|
msg.setCabinetId(value);
|
|
3743
3745
|
break;
|
|
3744
3746
|
case 19:
|
|
3745
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
3746
|
-
msg.setBatteryEstimator(value);
|
|
3747
|
-
break;
|
|
3748
|
-
case 20:
|
|
3749
3747
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
3750
3748
|
msg.setBatteryEmpty(value);
|
|
3751
3749
|
break;
|
|
3752
|
-
case
|
|
3750
|
+
case 20:
|
|
3753
3751
|
var value = /** @type {number} */ (reader.readUint32());
|
|
3754
3752
|
msg.setCommunicationTime(value);
|
|
3755
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;
|
|
3756
3766
|
default:
|
|
3757
3767
|
reader.skipField();
|
|
3758
3768
|
break;
|
|
@@ -3909,27 +3919,41 @@ proto.Spic.CabinetProto.State.serializeBinaryToWriter = function(message, writer
|
|
|
3909
3919
|
f
|
|
3910
3920
|
);
|
|
3911
3921
|
}
|
|
3912
|
-
f = message.getBatteryEstimator();
|
|
3913
|
-
if (f !== 0) {
|
|
3914
|
-
writer.writeInt32(
|
|
3915
|
-
19,
|
|
3916
|
-
f
|
|
3917
|
-
);
|
|
3918
|
-
}
|
|
3919
3922
|
f = message.getBatteryEmpty();
|
|
3920
3923
|
if (f) {
|
|
3921
3924
|
writer.writeBool(
|
|
3922
|
-
|
|
3925
|
+
19,
|
|
3923
3926
|
f
|
|
3924
3927
|
);
|
|
3925
3928
|
}
|
|
3926
3929
|
f = message.getCommunicationTime();
|
|
3927
3930
|
if (f !== 0) {
|
|
3928
3931
|
writer.writeUint32(
|
|
3932
|
+
20,
|
|
3933
|
+
f
|
|
3934
|
+
);
|
|
3935
|
+
}
|
|
3936
|
+
f = message.getBatteryUnloaded();
|
|
3937
|
+
if (f !== 0) {
|
|
3938
|
+
writer.writeInt32(
|
|
3929
3939
|
21,
|
|
3930
3940
|
f
|
|
3931
3941
|
);
|
|
3932
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
|
+
}
|
|
3933
3957
|
};
|
|
3934
3958
|
|
|
3935
3959
|
|
|
@@ -5148,46 +5172,46 @@ proto.Spic.CabinetProto.State.prototype.setCabinetId = function(value) {
|
|
|
5148
5172
|
|
|
5149
5173
|
|
|
5150
5174
|
/**
|
|
5151
|
-
* optional
|
|
5152
|
-
* @return {
|
|
5175
|
+
* optional bool battery_empty = 19;
|
|
5176
|
+
* @return {boolean}
|
|
5153
5177
|
*/
|
|
5154
|
-
proto.Spic.CabinetProto.State.prototype.
|
|
5155
|
-
return /** @type {
|
|
5178
|
+
proto.Spic.CabinetProto.State.prototype.getBatteryEmpty = function() {
|
|
5179
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 19, false));
|
|
5156
5180
|
};
|
|
5157
5181
|
|
|
5158
5182
|
|
|
5159
5183
|
/**
|
|
5160
|
-
* @param {
|
|
5184
|
+
* @param {boolean} value
|
|
5161
5185
|
* @return {!proto.Spic.CabinetProto.State} returns this
|
|
5162
5186
|
*/
|
|
5163
|
-
proto.Spic.CabinetProto.State.prototype.
|
|
5164
|
-
return jspb.Message.
|
|
5187
|
+
proto.Spic.CabinetProto.State.prototype.setBatteryEmpty = function(value) {
|
|
5188
|
+
return jspb.Message.setProto3BooleanField(this, 19, value);
|
|
5165
5189
|
};
|
|
5166
5190
|
|
|
5167
5191
|
|
|
5168
5192
|
/**
|
|
5169
|
-
* optional
|
|
5170
|
-
* @return {
|
|
5193
|
+
* optional uint32 communication_time = 20;
|
|
5194
|
+
* @return {number}
|
|
5171
5195
|
*/
|
|
5172
|
-
proto.Spic.CabinetProto.State.prototype.
|
|
5173
|
-
return /** @type {
|
|
5196
|
+
proto.Spic.CabinetProto.State.prototype.getCommunicationTime = function() {
|
|
5197
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 20, 0));
|
|
5174
5198
|
};
|
|
5175
5199
|
|
|
5176
5200
|
|
|
5177
5201
|
/**
|
|
5178
|
-
* @param {
|
|
5202
|
+
* @param {number} value
|
|
5179
5203
|
* @return {!proto.Spic.CabinetProto.State} returns this
|
|
5180
5204
|
*/
|
|
5181
|
-
proto.Spic.CabinetProto.State.prototype.
|
|
5182
|
-
return jspb.Message.
|
|
5205
|
+
proto.Spic.CabinetProto.State.prototype.setCommunicationTime = function(value) {
|
|
5206
|
+
return jspb.Message.setProto3IntField(this, 20, value);
|
|
5183
5207
|
};
|
|
5184
5208
|
|
|
5185
5209
|
|
|
5186
5210
|
/**
|
|
5187
|
-
* optional
|
|
5211
|
+
* optional int32 battery_unloaded = 21;
|
|
5188
5212
|
* @return {number}
|
|
5189
5213
|
*/
|
|
5190
|
-
proto.Spic.CabinetProto.State.prototype.
|
|
5214
|
+
proto.Spic.CabinetProto.State.prototype.getBatteryUnloaded = function() {
|
|
5191
5215
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 21, 0));
|
|
5192
5216
|
};
|
|
5193
5217
|
|
|
@@ -5196,11 +5220,47 @@ proto.Spic.CabinetProto.State.prototype.getCommunicationTime = function() {
|
|
|
5196
5220
|
* @param {number} value
|
|
5197
5221
|
* @return {!proto.Spic.CabinetProto.State} returns this
|
|
5198
5222
|
*/
|
|
5199
|
-
proto.Spic.CabinetProto.State.prototype.
|
|
5223
|
+
proto.Spic.CabinetProto.State.prototype.setBatteryUnloaded = function(value) {
|
|
5200
5224
|
return jspb.Message.setProto3IntField(this, 21, value);
|
|
5201
5225
|
};
|
|
5202
5226
|
|
|
5203
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
|
+
|
|
5204
5264
|
|
|
5205
5265
|
|
|
5206
5266
|
|
|
@@ -5239,7 +5299,7 @@ proto.Spic.CabinetProto.Event.toObject = function(includeInstance, msg) {
|
|
|
5239
5299
|
cabinetId: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
5240
5300
|
eventType: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
5241
5301
|
notificationSent: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
|
5242
|
-
|
|
5302
|
+
openRequest: (f = msg.getOpenRequest()) && proto.Spic.CabinetProto.OpenRequest.toObject(includeInstance, f),
|
|
5243
5303
|
detail: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
5244
5304
|
};
|
|
5245
5305
|
|
|
@@ -5304,8 +5364,9 @@ proto.Spic.CabinetProto.Event.deserializeBinaryFromReader = function(msg, reader
|
|
|
5304
5364
|
msg.setNotificationSent(value);
|
|
5305
5365
|
break;
|
|
5306
5366
|
case 7:
|
|
5307
|
-
var value =
|
|
5308
|
-
|
|
5367
|
+
var value = new proto.Spic.CabinetProto.OpenRequest;
|
|
5368
|
+
reader.readMessage(value,proto.Spic.CabinetProto.OpenRequest.deserializeBinaryFromReader);
|
|
5369
|
+
msg.setOpenRequest(value);
|
|
5309
5370
|
break;
|
|
5310
5371
|
case 8:
|
|
5311
5372
|
var value = /** @type {string} */ (reader.readString());
|
|
@@ -5384,11 +5445,12 @@ proto.Spic.CabinetProto.Event.serializeBinaryToWriter = function(message, writer
|
|
|
5384
5445
|
f
|
|
5385
5446
|
);
|
|
5386
5447
|
}
|
|
5387
|
-
f = message.
|
|
5388
|
-
if (f
|
|
5389
|
-
writer.
|
|
5448
|
+
f = message.getOpenRequest();
|
|
5449
|
+
if (f != null) {
|
|
5450
|
+
writer.writeMessage(
|
|
5390
5451
|
7,
|
|
5391
|
-
f
|
|
5452
|
+
f,
|
|
5453
|
+
proto.Spic.CabinetProto.OpenRequest.serializeBinaryToWriter
|
|
5392
5454
|
);
|
|
5393
5455
|
}
|
|
5394
5456
|
f = message.getDetail();
|
|
@@ -5461,7 +5523,7 @@ proto.Spic.CabinetProto.Event.SearchRequest.prototype.toObject = function(opt_in
|
|
|
5461
5523
|
proto.Spic.CabinetProto.Event.SearchRequest.toObject = function(includeInstance, msg) {
|
|
5462
5524
|
var f, obj = {
|
|
5463
5525
|
cabinetId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
5464
|
-
|
|
5526
|
+
active: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
5465
5527
|
eventTypeList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
5466
5528
|
page: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
5467
5529
|
count: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
@@ -5509,8 +5571,8 @@ proto.Spic.CabinetProto.Event.SearchRequest.deserializeBinaryFromReader = functi
|
|
|
5509
5571
|
msg.setCabinetId(value);
|
|
5510
5572
|
break;
|
|
5511
5573
|
case 2:
|
|
5512
|
-
var value = /** @type {
|
|
5513
|
-
msg.
|
|
5574
|
+
var value = /** @type {!proto.Platform.BooleanFilterType} */ (reader.readEnum());
|
|
5575
|
+
msg.setActive(value);
|
|
5514
5576
|
break;
|
|
5515
5577
|
case 3:
|
|
5516
5578
|
var values = /** @type {!Array<!proto.Spic.CabinetProto.Event.EventType>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
|
|
@@ -5576,9 +5638,9 @@ proto.Spic.CabinetProto.Event.SearchRequest.serializeBinaryToWriter = function(m
|
|
|
5576
5638
|
f
|
|
5577
5639
|
);
|
|
5578
5640
|
}
|
|
5579
|
-
f = message.
|
|
5580
|
-
if (f !== 0) {
|
|
5581
|
-
writer.
|
|
5641
|
+
f = message.getActive();
|
|
5642
|
+
if (f !== 0.0) {
|
|
5643
|
+
writer.writeEnum(
|
|
5582
5644
|
2,
|
|
5583
5645
|
f
|
|
5584
5646
|
);
|
|
@@ -5649,20 +5711,20 @@ proto.Spic.CabinetProto.Event.SearchRequest.prototype.setCabinetId = function(va
|
|
|
5649
5711
|
|
|
5650
5712
|
|
|
5651
5713
|
/**
|
|
5652
|
-
* optional
|
|
5653
|
-
* @return {
|
|
5714
|
+
* optional Platform.BooleanFilterType active = 2;
|
|
5715
|
+
* @return {!proto.Platform.BooleanFilterType}
|
|
5654
5716
|
*/
|
|
5655
|
-
proto.Spic.CabinetProto.Event.SearchRequest.prototype.
|
|
5656
|
-
return /** @type {
|
|
5717
|
+
proto.Spic.CabinetProto.Event.SearchRequest.prototype.getActive = function() {
|
|
5718
|
+
return /** @type {!proto.Platform.BooleanFilterType} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
5657
5719
|
};
|
|
5658
5720
|
|
|
5659
5721
|
|
|
5660
5722
|
/**
|
|
5661
|
-
* @param {
|
|
5723
|
+
* @param {!proto.Platform.BooleanFilterType} value
|
|
5662
5724
|
* @return {!proto.Spic.CabinetProto.Event.SearchRequest} returns this
|
|
5663
5725
|
*/
|
|
5664
|
-
proto.Spic.CabinetProto.Event.SearchRequest.prototype.
|
|
5665
|
-
return jspb.Message.
|
|
5726
|
+
proto.Spic.CabinetProto.Event.SearchRequest.prototype.setActive = function(value) {
|
|
5727
|
+
return jspb.Message.setProto3EnumField(this, 2, value);
|
|
5666
5728
|
};
|
|
5667
5729
|
|
|
5668
5730
|
|
|
@@ -6189,20 +6251,39 @@ proto.Spic.CabinetProto.Event.prototype.setNotificationSent = function(value) {
|
|
|
6189
6251
|
|
|
6190
6252
|
|
|
6191
6253
|
/**
|
|
6192
|
-
* optional
|
|
6193
|
-
* @return {
|
|
6254
|
+
* optional OpenRequest open_request = 7;
|
|
6255
|
+
* @return {?proto.Spic.CabinetProto.OpenRequest}
|
|
6194
6256
|
*/
|
|
6195
|
-
proto.Spic.CabinetProto.Event.prototype.
|
|
6196
|
-
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));
|
|
6197
6260
|
};
|
|
6198
6261
|
|
|
6199
6262
|
|
|
6200
6263
|
/**
|
|
6201
|
-
* @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.
|
|
6202
6274
|
* @return {!proto.Spic.CabinetProto.Event} returns this
|
|
6203
6275
|
*/
|
|
6204
|
-
proto.Spic.CabinetProto.Event.prototype.
|
|
6205
|
-
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;
|
|
6206
6287
|
};
|
|
6207
6288
|
|
|
6208
6289
|
|