@aceplus/smartace-api 2.11.0-alpha.5 → 2.11.0-alpha.7
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 +14 -0
- package/spic.cabinet_pb.js +113 -2
package/package.json
CHANGED
package/spic.cabinet_pb.d.ts
CHANGED
|
@@ -67,6 +67,14 @@ export class CabinetProto extends jspb.Message {
|
|
|
67
67
|
getCommunicationTime(): number;
|
|
68
68
|
setCommunicationTime(value: number): void;
|
|
69
69
|
|
|
70
|
+
getLastConfigString(): string;
|
|
71
|
+
setLastConfigString(value: string): void;
|
|
72
|
+
|
|
73
|
+
hasLastConfigUpdated(): boolean;
|
|
74
|
+
clearLastConfigUpdated(): void;
|
|
75
|
+
getLastConfigUpdated(): google_protobuf_timestamp_pb.Timestamp | undefined;
|
|
76
|
+
setLastConfigUpdated(value?: google_protobuf_timestamp_pb.Timestamp): void;
|
|
77
|
+
|
|
70
78
|
serializeBinary(): Uint8Array;
|
|
71
79
|
toObject(includeInstance?: boolean): CabinetProto.AsObject;
|
|
72
80
|
static toObject(includeInstance: boolean, msg: CabinetProto): CabinetProto.AsObject;
|
|
@@ -96,6 +104,8 @@ export namespace CabinetProto {
|
|
|
96
104
|
batteryPlaced?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
97
105
|
batteryPercentage: number,
|
|
98
106
|
communicationTime: number,
|
|
107
|
+
lastConfigString: string,
|
|
108
|
+
lastConfigUpdated?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
99
109
|
}
|
|
100
110
|
|
|
101
111
|
export class CreateRequest extends jspb.Message {
|
|
@@ -562,6 +572,9 @@ export namespace CabinetProto {
|
|
|
562
572
|
getBatteryTemperature(): number;
|
|
563
573
|
setBatteryTemperature(value: number): void;
|
|
564
574
|
|
|
575
|
+
getOpenRequestId(): number;
|
|
576
|
+
setOpenRequestId(value: number): void;
|
|
577
|
+
|
|
565
578
|
serializeBinary(): Uint8Array;
|
|
566
579
|
toObject(includeInstance?: boolean): State.AsObject;
|
|
567
580
|
static toObject(includeInstance: boolean, msg: State): State.AsObject;
|
|
@@ -597,6 +610,7 @@ export namespace CabinetProto {
|
|
|
597
610
|
batteryUnloaded: number,
|
|
598
611
|
batteryLoaded: number,
|
|
599
612
|
batteryTemperature: number,
|
|
613
|
+
openRequestId: number,
|
|
600
614
|
}
|
|
601
615
|
|
|
602
616
|
export class SearchRequest extends jspb.Message {
|
package/spic.cabinet_pb.js
CHANGED
|
@@ -776,7 +776,9 @@ proto.Spic.CabinetProto.toObject = function(includeInstance, msg) {
|
|
|
776
776
|
imageBlob: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
777
777
|
batteryPlaced: (f = msg.getBatteryPlaced()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
778
778
|
batteryPercentage: jspb.Message.getFieldWithDefault(msg, 16, 0),
|
|
779
|
-
communicationTime: jspb.Message.getFieldWithDefault(msg, 17, 0)
|
|
779
|
+
communicationTime: jspb.Message.getFieldWithDefault(msg, 17, 0),
|
|
780
|
+
lastConfigString: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
781
|
+
lastConfigUpdated: (f = msg.getLastConfigUpdated()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
780
782
|
};
|
|
781
783
|
|
|
782
784
|
if (includeInstance) {
|
|
@@ -885,6 +887,15 @@ proto.Spic.CabinetProto.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
885
887
|
var value = /** @type {number} */ (reader.readInt64());
|
|
886
888
|
msg.setCommunicationTime(value);
|
|
887
889
|
break;
|
|
890
|
+
case 18:
|
|
891
|
+
var value = /** @type {string} */ (reader.readString());
|
|
892
|
+
msg.setLastConfigString(value);
|
|
893
|
+
break;
|
|
894
|
+
case 19:
|
|
895
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
896
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
897
|
+
msg.setLastConfigUpdated(value);
|
|
898
|
+
break;
|
|
888
899
|
default:
|
|
889
900
|
reader.skipField();
|
|
890
901
|
break;
|
|
@@ -1035,6 +1046,21 @@ proto.Spic.CabinetProto.serializeBinaryToWriter = function(message, writer) {
|
|
|
1035
1046
|
f
|
|
1036
1047
|
);
|
|
1037
1048
|
}
|
|
1049
|
+
f = message.getLastConfigString();
|
|
1050
|
+
if (f.length > 0) {
|
|
1051
|
+
writer.writeString(
|
|
1052
|
+
18,
|
|
1053
|
+
f
|
|
1054
|
+
);
|
|
1055
|
+
}
|
|
1056
|
+
f = message.getLastConfigUpdated();
|
|
1057
|
+
if (f != null) {
|
|
1058
|
+
writer.writeMessage(
|
|
1059
|
+
19,
|
|
1060
|
+
f,
|
|
1061
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
1062
|
+
);
|
|
1063
|
+
}
|
|
1038
1064
|
};
|
|
1039
1065
|
|
|
1040
1066
|
|
|
@@ -3817,7 +3843,8 @@ proto.Spic.CabinetProto.State.toObject = function(includeInstance, msg) {
|
|
|
3817
3843
|
communicationTime: jspb.Message.getFieldWithDefault(msg, 20, 0),
|
|
3818
3844
|
batteryUnloaded: jspb.Message.getFieldWithDefault(msg, 21, 0),
|
|
3819
3845
|
batteryLoaded: jspb.Message.getFieldWithDefault(msg, 22, 0),
|
|
3820
|
-
batteryTemperature: jspb.Message.getFieldWithDefault(msg, 23, 0)
|
|
3846
|
+
batteryTemperature: jspb.Message.getFieldWithDefault(msg, 23, 0),
|
|
3847
|
+
openRequestId: jspb.Message.getFieldWithDefault(msg, 24, 0)
|
|
3821
3848
|
};
|
|
3822
3849
|
|
|
3823
3850
|
if (includeInstance) {
|
|
@@ -3949,6 +3976,10 @@ proto.Spic.CabinetProto.State.deserializeBinaryFromReader = function(msg, reader
|
|
|
3949
3976
|
var value = /** @type {number} */ (reader.readInt32());
|
|
3950
3977
|
msg.setBatteryTemperature(value);
|
|
3951
3978
|
break;
|
|
3979
|
+
case 24:
|
|
3980
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
3981
|
+
msg.setOpenRequestId(value);
|
|
3982
|
+
break;
|
|
3952
3983
|
default:
|
|
3953
3984
|
reader.skipField();
|
|
3954
3985
|
break;
|
|
@@ -4140,6 +4171,13 @@ proto.Spic.CabinetProto.State.serializeBinaryToWriter = function(message, writer
|
|
|
4140
4171
|
f
|
|
4141
4172
|
);
|
|
4142
4173
|
}
|
|
4174
|
+
f = message.getOpenRequestId();
|
|
4175
|
+
if (f !== 0) {
|
|
4176
|
+
writer.writeInt64(
|
|
4177
|
+
24,
|
|
4178
|
+
f
|
|
4179
|
+
);
|
|
4180
|
+
}
|
|
4143
4181
|
};
|
|
4144
4182
|
|
|
4145
4183
|
|
|
@@ -5447,6 +5485,24 @@ proto.Spic.CabinetProto.State.prototype.setBatteryTemperature = function(value)
|
|
|
5447
5485
|
};
|
|
5448
5486
|
|
|
5449
5487
|
|
|
5488
|
+
/**
|
|
5489
|
+
* optional int64 open_request_id = 24;
|
|
5490
|
+
* @return {number}
|
|
5491
|
+
*/
|
|
5492
|
+
proto.Spic.CabinetProto.State.prototype.getOpenRequestId = function() {
|
|
5493
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 24, 0));
|
|
5494
|
+
};
|
|
5495
|
+
|
|
5496
|
+
|
|
5497
|
+
/**
|
|
5498
|
+
* @param {number} value
|
|
5499
|
+
* @return {!proto.Spic.CabinetProto.State} returns this
|
|
5500
|
+
*/
|
|
5501
|
+
proto.Spic.CabinetProto.State.prototype.setOpenRequestId = function(value) {
|
|
5502
|
+
return jspb.Message.setProto3IntField(this, 24, value);
|
|
5503
|
+
};
|
|
5504
|
+
|
|
5505
|
+
|
|
5450
5506
|
|
|
5451
5507
|
|
|
5452
5508
|
|
|
@@ -9225,6 +9281,61 @@ proto.Spic.CabinetProto.prototype.setCommunicationTime = function(value) {
|
|
|
9225
9281
|
};
|
|
9226
9282
|
|
|
9227
9283
|
|
|
9284
|
+
/**
|
|
9285
|
+
* optional string last_config_string = 18;
|
|
9286
|
+
* @return {string}
|
|
9287
|
+
*/
|
|
9288
|
+
proto.Spic.CabinetProto.prototype.getLastConfigString = function() {
|
|
9289
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
|
|
9290
|
+
};
|
|
9291
|
+
|
|
9292
|
+
|
|
9293
|
+
/**
|
|
9294
|
+
* @param {string} value
|
|
9295
|
+
* @return {!proto.Spic.CabinetProto} returns this
|
|
9296
|
+
*/
|
|
9297
|
+
proto.Spic.CabinetProto.prototype.setLastConfigString = function(value) {
|
|
9298
|
+
return jspb.Message.setProto3StringField(this, 18, value);
|
|
9299
|
+
};
|
|
9300
|
+
|
|
9301
|
+
|
|
9302
|
+
/**
|
|
9303
|
+
* optional google.protobuf.Timestamp last_config_updated = 19;
|
|
9304
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
9305
|
+
*/
|
|
9306
|
+
proto.Spic.CabinetProto.prototype.getLastConfigUpdated = function() {
|
|
9307
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
9308
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 19));
|
|
9309
|
+
};
|
|
9310
|
+
|
|
9311
|
+
|
|
9312
|
+
/**
|
|
9313
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
9314
|
+
* @return {!proto.Spic.CabinetProto} returns this
|
|
9315
|
+
*/
|
|
9316
|
+
proto.Spic.CabinetProto.prototype.setLastConfigUpdated = function(value) {
|
|
9317
|
+
return jspb.Message.setWrapperField(this, 19, value);
|
|
9318
|
+
};
|
|
9319
|
+
|
|
9320
|
+
|
|
9321
|
+
/**
|
|
9322
|
+
* Clears the message field making it undefined.
|
|
9323
|
+
* @return {!proto.Spic.CabinetProto} returns this
|
|
9324
|
+
*/
|
|
9325
|
+
proto.Spic.CabinetProto.prototype.clearLastConfigUpdated = function() {
|
|
9326
|
+
return this.setLastConfigUpdated(undefined);
|
|
9327
|
+
};
|
|
9328
|
+
|
|
9329
|
+
|
|
9330
|
+
/**
|
|
9331
|
+
* Returns whether this field is set.
|
|
9332
|
+
* @return {boolean}
|
|
9333
|
+
*/
|
|
9334
|
+
proto.Spic.CabinetProto.prototype.hasLastConfigUpdated = function() {
|
|
9335
|
+
return jspb.Message.getField(this, 19) != null;
|
|
9336
|
+
};
|
|
9337
|
+
|
|
9338
|
+
|
|
9228
9339
|
|
|
9229
9340
|
|
|
9230
9341
|
|