@aceplus/smartace-api 3.6.0-alpha.14 → 3.6.0-alpha.16
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.open_request_pb.d.ts +8 -0
- package/spic.open_request_pb.js +62 -2
package/package.json
CHANGED
|
@@ -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);
|