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