@aceplus/smartace-api 2.11.0-alpha.6 → 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 CHANGED
@@ -5,7 +5,7 @@
5
5
  "grpc-web": "^1.4.2",
6
6
  "ts-protoc-gen": "^0.15.0"
7
7
  },
8
- "version": "2.11.0-alpha.6",
8
+ "version": "2.11.0-alpha.7",
9
9
  "description": "Generated proto files.",
10
10
  "author": "TKF",
11
11
  "files": [
@@ -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 {
@@ -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
 
@@ -9255,6 +9281,61 @@ proto.Spic.CabinetProto.prototype.setCommunicationTime = function(value) {
9255
9281
  };
9256
9282
 
9257
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
+
9258
9339
 
9259
9340
 
9260
9341