@aceplus/smartace-api 2.9.0-alpha.22 → 2.9.0-alpha.23
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 +5 -3
- package/spic.cabinet_pb.js +35 -14
package/package.json
CHANGED
package/spic.cabinet_pb.d.ts
CHANGED
|
@@ -692,8 +692,10 @@ export namespace CabinetProto {
|
|
|
692
692
|
getNotificationSent(): boolean;
|
|
693
693
|
setNotificationSent(value: boolean): void;
|
|
694
694
|
|
|
695
|
-
|
|
696
|
-
|
|
695
|
+
hasOpenRequest(): boolean;
|
|
696
|
+
clearOpenRequest(): void;
|
|
697
|
+
getOpenRequest(): CabinetProto.OpenRequest | undefined;
|
|
698
|
+
setOpenRequest(value?: CabinetProto.OpenRequest): void;
|
|
697
699
|
|
|
698
700
|
getDetail(): string;
|
|
699
701
|
setDetail(value: string): void;
|
|
@@ -716,7 +718,7 @@ export namespace CabinetProto {
|
|
|
716
718
|
cabinetId: number,
|
|
717
719
|
eventType: CabinetProto.Event.EventTypeMap[keyof CabinetProto.Event.EventTypeMap],
|
|
718
720
|
notificationSent: boolean,
|
|
719
|
-
|
|
721
|
+
openRequest?: CabinetProto.OpenRequest.AsObject,
|
|
720
722
|
detail: string,
|
|
721
723
|
}
|
|
722
724
|
|
package/spic.cabinet_pb.js
CHANGED
|
@@ -5239,7 +5239,7 @@ proto.Spic.CabinetProto.Event.toObject = function(includeInstance, msg) {
|
|
|
5239
5239
|
cabinetId: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
5240
5240
|
eventType: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
5241
5241
|
notificationSent: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
|
5242
|
-
|
|
5242
|
+
openRequest: (f = msg.getOpenRequest()) && proto.Spic.CabinetProto.OpenRequest.toObject(includeInstance, f),
|
|
5243
5243
|
detail: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
5244
5244
|
};
|
|
5245
5245
|
|
|
@@ -5304,8 +5304,9 @@ proto.Spic.CabinetProto.Event.deserializeBinaryFromReader = function(msg, reader
|
|
|
5304
5304
|
msg.setNotificationSent(value);
|
|
5305
5305
|
break;
|
|
5306
5306
|
case 7:
|
|
5307
|
-
var value =
|
|
5308
|
-
|
|
5307
|
+
var value = new proto.Spic.CabinetProto.OpenRequest;
|
|
5308
|
+
reader.readMessage(value,proto.Spic.CabinetProto.OpenRequest.deserializeBinaryFromReader);
|
|
5309
|
+
msg.setOpenRequest(value);
|
|
5309
5310
|
break;
|
|
5310
5311
|
case 8:
|
|
5311
5312
|
var value = /** @type {string} */ (reader.readString());
|
|
@@ -5384,11 +5385,12 @@ proto.Spic.CabinetProto.Event.serializeBinaryToWriter = function(message, writer
|
|
|
5384
5385
|
f
|
|
5385
5386
|
);
|
|
5386
5387
|
}
|
|
5387
|
-
f = message.
|
|
5388
|
-
if (f
|
|
5389
|
-
writer.
|
|
5388
|
+
f = message.getOpenRequest();
|
|
5389
|
+
if (f != null) {
|
|
5390
|
+
writer.writeMessage(
|
|
5390
5391
|
7,
|
|
5391
|
-
f
|
|
5392
|
+
f,
|
|
5393
|
+
proto.Spic.CabinetProto.OpenRequest.serializeBinaryToWriter
|
|
5392
5394
|
);
|
|
5393
5395
|
}
|
|
5394
5396
|
f = message.getDetail();
|
|
@@ -6189,20 +6191,39 @@ proto.Spic.CabinetProto.Event.prototype.setNotificationSent = function(value) {
|
|
|
6189
6191
|
|
|
6190
6192
|
|
|
6191
6193
|
/**
|
|
6192
|
-
* optional
|
|
6193
|
-
* @return {
|
|
6194
|
+
* optional OpenRequest open_request = 7;
|
|
6195
|
+
* @return {?proto.Spic.CabinetProto.OpenRequest}
|
|
6194
6196
|
*/
|
|
6195
|
-
proto.Spic.CabinetProto.Event.prototype.
|
|
6196
|
-
return /** @type
|
|
6197
|
+
proto.Spic.CabinetProto.Event.prototype.getOpenRequest = function() {
|
|
6198
|
+
return /** @type{?proto.Spic.CabinetProto.OpenRequest} */ (
|
|
6199
|
+
jspb.Message.getWrapperField(this, proto.Spic.CabinetProto.OpenRequest, 7));
|
|
6197
6200
|
};
|
|
6198
6201
|
|
|
6199
6202
|
|
|
6200
6203
|
/**
|
|
6201
|
-
* @param {
|
|
6204
|
+
* @param {?proto.Spic.CabinetProto.OpenRequest|undefined} value
|
|
6205
|
+
* @return {!proto.Spic.CabinetProto.Event} returns this
|
|
6206
|
+
*/
|
|
6207
|
+
proto.Spic.CabinetProto.Event.prototype.setOpenRequest = function(value) {
|
|
6208
|
+
return jspb.Message.setWrapperField(this, 7, value);
|
|
6209
|
+
};
|
|
6210
|
+
|
|
6211
|
+
|
|
6212
|
+
/**
|
|
6213
|
+
* Clears the message field making it undefined.
|
|
6202
6214
|
* @return {!proto.Spic.CabinetProto.Event} returns this
|
|
6203
6215
|
*/
|
|
6204
|
-
proto.Spic.CabinetProto.Event.prototype.
|
|
6205
|
-
return
|
|
6216
|
+
proto.Spic.CabinetProto.Event.prototype.clearOpenRequest = function() {
|
|
6217
|
+
return this.setOpenRequest(undefined);
|
|
6218
|
+
};
|
|
6219
|
+
|
|
6220
|
+
|
|
6221
|
+
/**
|
|
6222
|
+
* Returns whether this field is set.
|
|
6223
|
+
* @return {boolean}
|
|
6224
|
+
*/
|
|
6225
|
+
proto.Spic.CabinetProto.Event.prototype.hasOpenRequest = function() {
|
|
6226
|
+
return jspb.Message.getField(this, 7) != null;
|
|
6206
6227
|
};
|
|
6207
6228
|
|
|
6208
6229
|
|