@aceplus/smartace-api 3.5.0-alpha.2 → 3.5.0-alpha.3
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 +1 -1
- package/spic.cabinet_pb.d.ts +12 -0
- package/spic.cabinet_pb.js +93 -3
package/package.json
CHANGED
package/spic.cabinet_pb.d.ts
CHANGED
|
@@ -81,6 +81,9 @@ export class CabinetProto extends jspb.Message {
|
|
|
81
81
|
getBatteryStatus(): CabinetProto.BatteryStatusMap[keyof CabinetProto.BatteryStatusMap];
|
|
82
82
|
setBatteryStatus(value: CabinetProto.BatteryStatusMap[keyof CabinetProto.BatteryStatusMap]): void;
|
|
83
83
|
|
|
84
|
+
getQrCode(): string;
|
|
85
|
+
setQrCode(value: string): void;
|
|
86
|
+
|
|
84
87
|
serializeBinary(): Uint8Array;
|
|
85
88
|
toObject(includeInstance?: boolean): CabinetProto.AsObject;
|
|
86
89
|
static toObject(includeInstance: boolean, msg: CabinetProto): CabinetProto.AsObject;
|
|
@@ -114,6 +117,7 @@ export namespace CabinetProto {
|
|
|
114
117
|
lastConfigUpdated?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
115
118
|
spicType: CabinetProto.SpicTypeMap[keyof CabinetProto.SpicTypeMap],
|
|
116
119
|
batteryStatus: CabinetProto.BatteryStatusMap[keyof CabinetProto.BatteryStatusMap],
|
|
120
|
+
qrCode: string,
|
|
117
121
|
}
|
|
118
122
|
|
|
119
123
|
export class CreateRequest extends jspb.Message {
|
|
@@ -146,6 +150,9 @@ export namespace CabinetProto {
|
|
|
146
150
|
getSpicType(): CabinetProto.SpicTypeMap[keyof CabinetProto.SpicTypeMap];
|
|
147
151
|
setSpicType(value: CabinetProto.SpicTypeMap[keyof CabinetProto.SpicTypeMap]): void;
|
|
148
152
|
|
|
153
|
+
getQrCode(): string;
|
|
154
|
+
setQrCode(value: string): void;
|
|
155
|
+
|
|
149
156
|
serializeBinary(): Uint8Array;
|
|
150
157
|
toObject(includeInstance?: boolean): CreateRequest.AsObject;
|
|
151
158
|
static toObject(includeInstance: boolean, msg: CreateRequest): CreateRequest.AsObject;
|
|
@@ -167,6 +174,7 @@ export namespace CabinetProto {
|
|
|
167
174
|
groupId: string,
|
|
168
175
|
clientId: number,
|
|
169
176
|
spicType: CabinetProto.SpicTypeMap[keyof CabinetProto.SpicTypeMap],
|
|
177
|
+
qrCode: string,
|
|
170
178
|
}
|
|
171
179
|
}
|
|
172
180
|
|
|
@@ -238,6 +246,9 @@ export namespace CabinetProto {
|
|
|
238
246
|
getSpicType(): CabinetProto.SpicTypeMap[keyof CabinetProto.SpicTypeMap];
|
|
239
247
|
setSpicType(value: CabinetProto.SpicTypeMap[keyof CabinetProto.SpicTypeMap]): void;
|
|
240
248
|
|
|
249
|
+
getQrCode(): string;
|
|
250
|
+
setQrCode(value: string): void;
|
|
251
|
+
|
|
241
252
|
serializeBinary(): Uint8Array;
|
|
242
253
|
toObject(includeInstance?: boolean): UpdateRequest.AsObject;
|
|
243
254
|
static toObject(includeInstance: boolean, msg: UpdateRequest): UpdateRequest.AsObject;
|
|
@@ -260,6 +271,7 @@ export namespace CabinetProto {
|
|
|
260
271
|
groupId: string,
|
|
261
272
|
clientId: number,
|
|
262
273
|
spicType: CabinetProto.SpicTypeMap[keyof CabinetProto.SpicTypeMap],
|
|
274
|
+
qrCode: string,
|
|
263
275
|
}
|
|
264
276
|
}
|
|
265
277
|
|
package/spic.cabinet_pb.js
CHANGED
|
@@ -826,7 +826,8 @@ proto.Spic.CabinetProto.toObject = function(includeInstance, msg) {
|
|
|
826
826
|
lastConfigString: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
827
827
|
lastConfigUpdated: (f = msg.getLastConfigUpdated()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
828
828
|
spicType: jspb.Message.getFieldWithDefault(msg, 20, 0),
|
|
829
|
-
batteryStatus: jspb.Message.getFieldWithDefault(msg, 21, 0)
|
|
829
|
+
batteryStatus: jspb.Message.getFieldWithDefault(msg, 21, 0),
|
|
830
|
+
qrCode: jspb.Message.getFieldWithDefault(msg, 22, "")
|
|
830
831
|
};
|
|
831
832
|
|
|
832
833
|
if (includeInstance) {
|
|
@@ -952,6 +953,10 @@ proto.Spic.CabinetProto.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
952
953
|
var value = /** @type {!proto.Spic.CabinetProto.BatteryStatus} */ (reader.readEnum());
|
|
953
954
|
msg.setBatteryStatus(value);
|
|
954
955
|
break;
|
|
956
|
+
case 22:
|
|
957
|
+
var value = /** @type {string} */ (reader.readString());
|
|
958
|
+
msg.setQrCode(value);
|
|
959
|
+
break;
|
|
955
960
|
default:
|
|
956
961
|
reader.skipField();
|
|
957
962
|
break;
|
|
@@ -1131,6 +1136,13 @@ proto.Spic.CabinetProto.serializeBinaryToWriter = function(message, writer) {
|
|
|
1131
1136
|
f
|
|
1132
1137
|
);
|
|
1133
1138
|
}
|
|
1139
|
+
f = message.getQrCode();
|
|
1140
|
+
if (f.length > 0) {
|
|
1141
|
+
writer.writeString(
|
|
1142
|
+
22,
|
|
1143
|
+
f
|
|
1144
|
+
);
|
|
1145
|
+
}
|
|
1134
1146
|
};
|
|
1135
1147
|
|
|
1136
1148
|
|
|
@@ -1228,7 +1240,8 @@ proto.Spic.CabinetProto.CreateRequest.toObject = function(includeInstance, msg)
|
|
|
1228
1240
|
extIo2Name: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
1229
1241
|
groupId: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
1230
1242
|
clientId: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
1231
|
-
spicType: jspb.Message.getFieldWithDefault(msg, 9, 0)
|
|
1243
|
+
spicType: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
|
1244
|
+
qrCode: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
1232
1245
|
};
|
|
1233
1246
|
|
|
1234
1247
|
if (includeInstance) {
|
|
@@ -1302,6 +1315,10 @@ proto.Spic.CabinetProto.CreateRequest.deserializeBinaryFromReader = function(msg
|
|
|
1302
1315
|
var value = /** @type {!proto.Spic.CabinetProto.SpicType} */ (reader.readEnum());
|
|
1303
1316
|
msg.setSpicType(value);
|
|
1304
1317
|
break;
|
|
1318
|
+
case 10:
|
|
1319
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1320
|
+
msg.setQrCode(value);
|
|
1321
|
+
break;
|
|
1305
1322
|
default:
|
|
1306
1323
|
reader.skipField();
|
|
1307
1324
|
break;
|
|
@@ -1395,6 +1412,13 @@ proto.Spic.CabinetProto.CreateRequest.serializeBinaryToWriter = function(message
|
|
|
1395
1412
|
f
|
|
1396
1413
|
);
|
|
1397
1414
|
}
|
|
1415
|
+
f = message.getQrCode();
|
|
1416
|
+
if (f.length > 0) {
|
|
1417
|
+
writer.writeString(
|
|
1418
|
+
10,
|
|
1419
|
+
f
|
|
1420
|
+
);
|
|
1421
|
+
}
|
|
1398
1422
|
};
|
|
1399
1423
|
|
|
1400
1424
|
|
|
@@ -1579,6 +1603,24 @@ proto.Spic.CabinetProto.CreateRequest.prototype.setSpicType = function(value) {
|
|
|
1579
1603
|
};
|
|
1580
1604
|
|
|
1581
1605
|
|
|
1606
|
+
/**
|
|
1607
|
+
* optional string qr_code = 10;
|
|
1608
|
+
* @return {string}
|
|
1609
|
+
*/
|
|
1610
|
+
proto.Spic.CabinetProto.CreateRequest.prototype.getQrCode = function() {
|
|
1611
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
1612
|
+
};
|
|
1613
|
+
|
|
1614
|
+
|
|
1615
|
+
/**
|
|
1616
|
+
* @param {string} value
|
|
1617
|
+
* @return {!proto.Spic.CabinetProto.CreateRequest} returns this
|
|
1618
|
+
*/
|
|
1619
|
+
proto.Spic.CabinetProto.CreateRequest.prototype.setQrCode = function(value) {
|
|
1620
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
1621
|
+
};
|
|
1622
|
+
|
|
1623
|
+
|
|
1582
1624
|
|
|
1583
1625
|
/**
|
|
1584
1626
|
* Oneof group definitions for this message. Each group defines the field
|
|
@@ -1842,7 +1884,8 @@ proto.Spic.CabinetProto.UpdateRequest.toObject = function(includeInstance, msg)
|
|
|
1842
1884
|
extIo2Name: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
1843
1885
|
groupId: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
1844
1886
|
clientId: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
|
1845
|
-
spicType: jspb.Message.getFieldWithDefault(msg, 10, 0)
|
|
1887
|
+
spicType: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
1888
|
+
qrCode: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
1846
1889
|
};
|
|
1847
1890
|
|
|
1848
1891
|
if (includeInstance) {
|
|
@@ -1920,6 +1963,10 @@ proto.Spic.CabinetProto.UpdateRequest.deserializeBinaryFromReader = function(msg
|
|
|
1920
1963
|
var value = /** @type {!proto.Spic.CabinetProto.SpicType} */ (reader.readEnum());
|
|
1921
1964
|
msg.setSpicType(value);
|
|
1922
1965
|
break;
|
|
1966
|
+
case 11:
|
|
1967
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1968
|
+
msg.setQrCode(value);
|
|
1969
|
+
break;
|
|
1923
1970
|
default:
|
|
1924
1971
|
reader.skipField();
|
|
1925
1972
|
break;
|
|
@@ -2020,6 +2067,13 @@ proto.Spic.CabinetProto.UpdateRequest.serializeBinaryToWriter = function(message
|
|
|
2020
2067
|
f
|
|
2021
2068
|
);
|
|
2022
2069
|
}
|
|
2070
|
+
f = message.getQrCode();
|
|
2071
|
+
if (f.length > 0) {
|
|
2072
|
+
writer.writeString(
|
|
2073
|
+
11,
|
|
2074
|
+
f
|
|
2075
|
+
);
|
|
2076
|
+
}
|
|
2023
2077
|
};
|
|
2024
2078
|
|
|
2025
2079
|
|
|
@@ -2222,6 +2276,24 @@ proto.Spic.CabinetProto.UpdateRequest.prototype.setSpicType = function(value) {
|
|
|
2222
2276
|
};
|
|
2223
2277
|
|
|
2224
2278
|
|
|
2279
|
+
/**
|
|
2280
|
+
* optional string qr_code = 11;
|
|
2281
|
+
* @return {string}
|
|
2282
|
+
*/
|
|
2283
|
+
proto.Spic.CabinetProto.UpdateRequest.prototype.getQrCode = function() {
|
|
2284
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
2285
|
+
};
|
|
2286
|
+
|
|
2287
|
+
|
|
2288
|
+
/**
|
|
2289
|
+
* @param {string} value
|
|
2290
|
+
* @return {!proto.Spic.CabinetProto.UpdateRequest} returns this
|
|
2291
|
+
*/
|
|
2292
|
+
proto.Spic.CabinetProto.UpdateRequest.prototype.setQrCode = function(value) {
|
|
2293
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
2294
|
+
};
|
|
2295
|
+
|
|
2296
|
+
|
|
2225
2297
|
|
|
2226
2298
|
/**
|
|
2227
2299
|
* Oneof group definitions for this message. Each group defines the field
|
|
@@ -9873,6 +9945,24 @@ proto.Spic.CabinetProto.prototype.setBatteryStatus = function(value) {
|
|
|
9873
9945
|
};
|
|
9874
9946
|
|
|
9875
9947
|
|
|
9948
|
+
/**
|
|
9949
|
+
* optional string qr_code = 22;
|
|
9950
|
+
* @return {string}
|
|
9951
|
+
*/
|
|
9952
|
+
proto.Spic.CabinetProto.prototype.getQrCode = function() {
|
|
9953
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 22, ""));
|
|
9954
|
+
};
|
|
9955
|
+
|
|
9956
|
+
|
|
9957
|
+
/**
|
|
9958
|
+
* @param {string} value
|
|
9959
|
+
* @return {!proto.Spic.CabinetProto} returns this
|
|
9960
|
+
*/
|
|
9961
|
+
proto.Spic.CabinetProto.prototype.setQrCode = function(value) {
|
|
9962
|
+
return jspb.Message.setProto3StringField(this, 22, value);
|
|
9963
|
+
};
|
|
9964
|
+
|
|
9965
|
+
|
|
9876
9966
|
|
|
9877
9967
|
|
|
9878
9968
|
|