@aceplus/smartace-api 3.6.0-alpha.8 → 3.6.0
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/meta.spic_config_pb.d.ts +13 -13
- package/meta.spic_config_pb.js +45 -45
- package/meta.spic_config_pb_service.d.ts +21 -21
- package/meta.spic_config_pb_service.js +26 -26
- package/package.json +1 -1
- package/spic.alarm_pb.d.ts +382 -0
- package/spic.alarm_pb.js +2915 -0
- package/spic.alarm_pb_service.d.ts +101 -0
- package/spic.alarm_pb_service.js +141 -0
- package/spic.asset_pb.d.ts +39 -2
- package/spic.asset_pb.js +270 -4
- package/spic.cabinet_pb.d.ts +7 -3
- package/spic.cabinet_pb.js +38 -8
- package/spic.open_request_pb.d.ts +8 -0
- package/spic.open_request_pb.js +62 -2
package/spic.cabinet_pb.js
CHANGED
|
@@ -635,7 +635,7 @@ proto.Spic.CabinetProto.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
635
635
|
msg.setUid(value);
|
|
636
636
|
break;
|
|
637
637
|
case 5:
|
|
638
|
-
var value = /** @type {
|
|
638
|
+
var value = /** @type {!proto.Spic.CabinetProto.StatusType} */ (reader.readEnum());
|
|
639
639
|
msg.setStatus(value);
|
|
640
640
|
break;
|
|
641
641
|
case 6:
|
|
@@ -765,8 +765,8 @@ proto.Spic.CabinetProto.serializeBinaryToWriter = function(message, writer) {
|
|
|
765
765
|
);
|
|
766
766
|
}
|
|
767
767
|
f = message.getStatus();
|
|
768
|
-
if (f !== 0) {
|
|
769
|
-
writer.
|
|
768
|
+
if (f !== 0.0) {
|
|
769
|
+
writer.writeEnum(
|
|
770
770
|
5,
|
|
771
771
|
f
|
|
772
772
|
);
|
|
@@ -6175,6 +6175,7 @@ proto.Spic.CabinetProto.OpenRequest.CreateRequest.prototype.toObject = function(
|
|
|
6175
6175
|
proto.Spic.CabinetProto.OpenRequest.CreateRequest.toObject = function(includeInstance, msg) {
|
|
6176
6176
|
var f, obj = {
|
|
6177
6177
|
cabinetId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
6178
|
+
requesterId: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
6178
6179
|
requestTime: (f = msg.getRequestTime()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
6179
6180
|
validUntil: (f = msg.getValidUntil()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
6180
6181
|
longitude: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
|
|
@@ -6222,6 +6223,10 @@ proto.Spic.CabinetProto.OpenRequest.CreateRequest.deserializeBinaryFromReader =
|
|
|
6222
6223
|
var value = /** @type {number} */ (reader.readInt64());
|
|
6223
6224
|
msg.setCabinetId(value);
|
|
6224
6225
|
break;
|
|
6226
|
+
case 2:
|
|
6227
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
6228
|
+
msg.setRequesterId(value);
|
|
6229
|
+
break;
|
|
6225
6230
|
case 3:
|
|
6226
6231
|
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
6227
6232
|
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
@@ -6288,6 +6293,13 @@ proto.Spic.CabinetProto.OpenRequest.CreateRequest.serializeBinaryToWriter = func
|
|
|
6288
6293
|
f
|
|
6289
6294
|
);
|
|
6290
6295
|
}
|
|
6296
|
+
f = message.getRequesterId();
|
|
6297
|
+
if (f !== 0) {
|
|
6298
|
+
writer.writeInt64(
|
|
6299
|
+
2,
|
|
6300
|
+
f
|
|
6301
|
+
);
|
|
6302
|
+
}
|
|
6291
6303
|
f = message.getRequestTime();
|
|
6292
6304
|
if (f != null) {
|
|
6293
6305
|
writer.writeMessage(
|
|
@@ -6360,6 +6372,24 @@ proto.Spic.CabinetProto.OpenRequest.CreateRequest.prototype.setCabinetId = funct
|
|
|
6360
6372
|
};
|
|
6361
6373
|
|
|
6362
6374
|
|
|
6375
|
+
/**
|
|
6376
|
+
* optional int64 requester_id = 2;
|
|
6377
|
+
* @return {number}
|
|
6378
|
+
*/
|
|
6379
|
+
proto.Spic.CabinetProto.OpenRequest.CreateRequest.prototype.getRequesterId = function() {
|
|
6380
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
6381
|
+
};
|
|
6382
|
+
|
|
6383
|
+
|
|
6384
|
+
/**
|
|
6385
|
+
* @param {number} value
|
|
6386
|
+
* @return {!proto.Spic.CabinetProto.OpenRequest.CreateRequest} returns this
|
|
6387
|
+
*/
|
|
6388
|
+
proto.Spic.CabinetProto.OpenRequest.CreateRequest.prototype.setRequesterId = function(value) {
|
|
6389
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
6390
|
+
};
|
|
6391
|
+
|
|
6392
|
+
|
|
6363
6393
|
/**
|
|
6364
6394
|
* optional google.protobuf.Timestamp request_time = 3;
|
|
6365
6395
|
* @return {?proto.google.protobuf.Timestamp}
|
|
@@ -6815,20 +6845,20 @@ proto.Spic.CabinetProto.prototype.setUid = function(value) {
|
|
|
6815
6845
|
|
|
6816
6846
|
|
|
6817
6847
|
/**
|
|
6818
|
-
* optional
|
|
6819
|
-
* @return {
|
|
6848
|
+
* optional StatusType status = 5;
|
|
6849
|
+
* @return {!proto.Spic.CabinetProto.StatusType}
|
|
6820
6850
|
*/
|
|
6821
6851
|
proto.Spic.CabinetProto.prototype.getStatus = function() {
|
|
6822
|
-
return /** @type {
|
|
6852
|
+
return /** @type {!proto.Spic.CabinetProto.StatusType} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
6823
6853
|
};
|
|
6824
6854
|
|
|
6825
6855
|
|
|
6826
6856
|
/**
|
|
6827
|
-
* @param {
|
|
6857
|
+
* @param {!proto.Spic.CabinetProto.StatusType} value
|
|
6828
6858
|
* @return {!proto.Spic.CabinetProto} returns this
|
|
6829
6859
|
*/
|
|
6830
6860
|
proto.Spic.CabinetProto.prototype.setStatus = function(value) {
|
|
6831
|
-
return jspb.Message.
|
|
6861
|
+
return jspb.Message.setProto3EnumField(this, 5, value);
|
|
6832
6862
|
};
|
|
6833
6863
|
|
|
6834
6864
|
|
|
@@ -41,6 +41,9 @@ export class OpenRequestProto extends jspb.Message {
|
|
|
41
41
|
getDevicepacketnumber(): number;
|
|
42
42
|
setDevicepacketnumber(value: number): void;
|
|
43
43
|
|
|
44
|
+
getReason(): string;
|
|
45
|
+
setReason(value: string): void;
|
|
46
|
+
|
|
44
47
|
serializeBinary(): Uint8Array;
|
|
45
48
|
toObject(includeInstance?: boolean): OpenRequestProto.AsObject;
|
|
46
49
|
static toObject(includeInstance: boolean, msg: OpenRequestProto): OpenRequestProto.AsObject;
|
|
@@ -63,6 +66,7 @@ export namespace OpenRequestProto {
|
|
|
63
66
|
contractor: string,
|
|
64
67
|
deactivateafteropening: boolean,
|
|
65
68
|
devicepacketnumber: number,
|
|
69
|
+
reason: string,
|
|
66
70
|
}
|
|
67
71
|
|
|
68
72
|
export class CreateRequest extends jspb.Message {
|
|
@@ -94,6 +98,9 @@ export namespace OpenRequestProto {
|
|
|
94
98
|
getDeactivateafteropening(): boolean;
|
|
95
99
|
setDeactivateafteropening(value: boolean): void;
|
|
96
100
|
|
|
101
|
+
getReason(): string;
|
|
102
|
+
setReason(value: string): void;
|
|
103
|
+
|
|
97
104
|
serializeBinary(): Uint8Array;
|
|
98
105
|
toObject(includeInstance?: boolean): CreateRequest.AsObject;
|
|
99
106
|
static toObject(includeInstance: boolean, msg: CreateRequest): CreateRequest.AsObject;
|
|
@@ -114,6 +121,7 @@ export namespace OpenRequestProto {
|
|
|
114
121
|
type: OpenRequestProto.OpenRequestTypeMap[keyof OpenRequestProto.OpenRequestTypeMap],
|
|
115
122
|
contractor: string,
|
|
116
123
|
deactivateafteropening: boolean,
|
|
124
|
+
reason: string,
|
|
117
125
|
}
|
|
118
126
|
}
|
|
119
127
|
|
package/spic.open_request_pb.js
CHANGED
|
@@ -179,7 +179,8 @@ proto.Spic.OpenRequestProto.toObject = function(includeInstance, msg) {
|
|
|
179
179
|
type: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
180
180
|
contractor: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
181
181
|
deactivateafteropening: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
|
|
182
|
-
devicepacketnumber: jspb.Message.getFieldWithDefault(msg, 10, 0)
|
|
182
|
+
devicepacketnumber: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
183
|
+
reason: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
183
184
|
};
|
|
184
185
|
|
|
185
186
|
if (includeInstance) {
|
|
@@ -258,6 +259,10 @@ proto.Spic.OpenRequestProto.deserializeBinaryFromReader = function(msg, reader)
|
|
|
258
259
|
var value = /** @type {number} */ (reader.readInt32());
|
|
259
260
|
msg.setDevicepacketnumber(value);
|
|
260
261
|
break;
|
|
262
|
+
case 11:
|
|
263
|
+
var value = /** @type {string} */ (reader.readString());
|
|
264
|
+
msg.setReason(value);
|
|
265
|
+
break;
|
|
261
266
|
default:
|
|
262
267
|
reader.skipField();
|
|
263
268
|
break;
|
|
@@ -359,6 +364,13 @@ proto.Spic.OpenRequestProto.serializeBinaryToWriter = function(message, writer)
|
|
|
359
364
|
f
|
|
360
365
|
);
|
|
361
366
|
}
|
|
367
|
+
f = message.getReason();
|
|
368
|
+
if (f.length > 0) {
|
|
369
|
+
writer.writeString(
|
|
370
|
+
11,
|
|
371
|
+
f
|
|
372
|
+
);
|
|
373
|
+
}
|
|
362
374
|
};
|
|
363
375
|
|
|
364
376
|
|
|
@@ -409,7 +421,8 @@ proto.Spic.OpenRequestProto.CreateRequest.toObject = function(includeInstance, m
|
|
|
409
421
|
latitude: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
|
410
422
|
type: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
411
423
|
contractor: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
412
|
-
deactivateafteropening: jspb.Message.getBooleanFieldWithDefault(msg, 9, false)
|
|
424
|
+
deactivateafteropening: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
|
|
425
|
+
reason: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
413
426
|
};
|
|
414
427
|
|
|
415
428
|
if (includeInstance) {
|
|
@@ -480,6 +493,10 @@ proto.Spic.OpenRequestProto.CreateRequest.deserializeBinaryFromReader = function
|
|
|
480
493
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
481
494
|
msg.setDeactivateafteropening(value);
|
|
482
495
|
break;
|
|
496
|
+
case 10:
|
|
497
|
+
var value = /** @type {string} */ (reader.readString());
|
|
498
|
+
msg.setReason(value);
|
|
499
|
+
break;
|
|
483
500
|
default:
|
|
484
501
|
reader.skipField();
|
|
485
502
|
break;
|
|
@@ -567,6 +584,13 @@ proto.Spic.OpenRequestProto.CreateRequest.serializeBinaryToWriter = function(mes
|
|
|
567
584
|
f
|
|
568
585
|
);
|
|
569
586
|
}
|
|
587
|
+
f = message.getReason();
|
|
588
|
+
if (f.length > 0) {
|
|
589
|
+
writer.writeString(
|
|
590
|
+
10,
|
|
591
|
+
f
|
|
592
|
+
);
|
|
593
|
+
}
|
|
570
594
|
};
|
|
571
595
|
|
|
572
596
|
|
|
@@ -752,6 +776,24 @@ proto.Spic.OpenRequestProto.CreateRequest.prototype.setDeactivateafteropening =
|
|
|
752
776
|
};
|
|
753
777
|
|
|
754
778
|
|
|
779
|
+
/**
|
|
780
|
+
* optional string reason = 10;
|
|
781
|
+
* @return {string}
|
|
782
|
+
*/
|
|
783
|
+
proto.Spic.OpenRequestProto.CreateRequest.prototype.getReason = function() {
|
|
784
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
785
|
+
};
|
|
786
|
+
|
|
787
|
+
|
|
788
|
+
/**
|
|
789
|
+
* @param {string} value
|
|
790
|
+
* @return {!proto.Spic.OpenRequestProto.CreateRequest} returns this
|
|
791
|
+
*/
|
|
792
|
+
proto.Spic.OpenRequestProto.CreateRequest.prototype.setReason = function(value) {
|
|
793
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
794
|
+
};
|
|
795
|
+
|
|
796
|
+
|
|
755
797
|
|
|
756
798
|
|
|
757
799
|
|
|
@@ -1721,4 +1763,22 @@ proto.Spic.OpenRequestProto.prototype.setDevicepacketnumber = function(value) {
|
|
|
1721
1763
|
};
|
|
1722
1764
|
|
|
1723
1765
|
|
|
1766
|
+
/**
|
|
1767
|
+
* optional string reason = 11;
|
|
1768
|
+
* @return {string}
|
|
1769
|
+
*/
|
|
1770
|
+
proto.Spic.OpenRequestProto.prototype.getReason = function() {
|
|
1771
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
1772
|
+
};
|
|
1773
|
+
|
|
1774
|
+
|
|
1775
|
+
/**
|
|
1776
|
+
* @param {string} value
|
|
1777
|
+
* @return {!proto.Spic.OpenRequestProto} returns this
|
|
1778
|
+
*/
|
|
1779
|
+
proto.Spic.OpenRequestProto.prototype.setReason = function(value) {
|
|
1780
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
1781
|
+
};
|
|
1782
|
+
|
|
1783
|
+
|
|
1724
1784
|
goog.object.extend(exports, proto.Spic);
|