@aceplus/smartace-api 2.11.0-alpha.1 → 2.11.0-alpha.3
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/platform.client_pb.d.ts +11 -10
- package/platform.client_pb.js +52 -56
- package/spic.cabinet_pb.d.ts +11 -10
- package/spic.cabinet_pb.js +52 -56
- package/spic.config_pb.js +9 -9
package/package.json
CHANGED
package/platform.client_pb.d.ts
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
import * as jspb from "google-protobuf";
|
|
5
5
|
import * as google_api_annotations_pb from "./google/api/annotations_pb";
|
|
6
|
+
import * as google_protobuf_wrappers_pb from "google-protobuf/google/protobuf/wrappers_pb";
|
|
6
7
|
import * as platform_pagination_pb from "./platform.pagination_pb";
|
|
7
8
|
import * as auth_account_pb from "./auth.account_pb";
|
|
8
9
|
|
|
@@ -72,10 +73,10 @@ export namespace ClientProto {
|
|
|
72
73
|
getCountry(): string;
|
|
73
74
|
setCountry(value: string): void;
|
|
74
75
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
setImage(value
|
|
76
|
+
hasImage(): boolean;
|
|
77
|
+
clearImage(): void;
|
|
78
|
+
getImage(): google_protobuf_wrappers_pb.BytesValue | undefined;
|
|
79
|
+
setImage(value?: google_protobuf_wrappers_pb.BytesValue): void;
|
|
79
80
|
|
|
80
81
|
getPhone(): string;
|
|
81
82
|
setPhone(value: string): void;
|
|
@@ -111,7 +112,7 @@ export namespace ClientProto {
|
|
|
111
112
|
export type AsObject = {
|
|
112
113
|
name: string,
|
|
113
114
|
country: string,
|
|
114
|
-
image
|
|
115
|
+
image?: google_protobuf_wrappers_pb.BytesValue.AsObject,
|
|
115
116
|
phone: string,
|
|
116
117
|
pb_public: boolean,
|
|
117
118
|
spicModuleEnabled: boolean,
|
|
@@ -189,10 +190,10 @@ export namespace ClientProto {
|
|
|
189
190
|
getCountry(): string;
|
|
190
191
|
setCountry(value: string): void;
|
|
191
192
|
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
setImage(value
|
|
193
|
+
hasImage(): boolean;
|
|
194
|
+
clearImage(): void;
|
|
195
|
+
getImage(): google_protobuf_wrappers_pb.BytesValue | undefined;
|
|
196
|
+
setImage(value?: google_protobuf_wrappers_pb.BytesValue): void;
|
|
196
197
|
|
|
197
198
|
getPhone(): string;
|
|
198
199
|
setPhone(value: string): void;
|
|
@@ -215,7 +216,7 @@ export namespace ClientProto {
|
|
|
215
216
|
id: number,
|
|
216
217
|
name: string,
|
|
217
218
|
country: string,
|
|
218
|
-
image
|
|
219
|
+
image?: google_protobuf_wrappers_pb.BytesValue.AsObject,
|
|
219
220
|
phone: string,
|
|
220
221
|
pb_public: boolean,
|
|
221
222
|
}
|
package/platform.client_pb.js
CHANGED
|
@@ -23,6 +23,8 @@ var global =
|
|
|
23
23
|
|
|
24
24
|
var google_api_annotations_pb = require('./google/api/annotations_pb.js');
|
|
25
25
|
goog.object.extend(proto, google_api_annotations_pb);
|
|
26
|
+
var google_protobuf_wrappers_pb = require('google-protobuf/google/protobuf/wrappers_pb.js');
|
|
27
|
+
goog.object.extend(proto, google_protobuf_wrappers_pb);
|
|
26
28
|
var platform_pagination_pb = require('./platform.pagination_pb.js');
|
|
27
29
|
goog.object.extend(proto, platform_pagination_pb);
|
|
28
30
|
var auth_account_pb = require('./auth.account_pb.js');
|
|
@@ -526,7 +528,7 @@ proto.Platform.ClientProto.CreateRequest.toObject = function(includeInstance, ms
|
|
|
526
528
|
var f, obj = {
|
|
527
529
|
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
528
530
|
country: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
529
|
-
image: msg.
|
|
531
|
+
image: (f = msg.getImage()) && google_protobuf_wrappers_pb.BytesValue.toObject(includeInstance, f),
|
|
530
532
|
phone: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
531
533
|
pb_public: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
|
|
532
534
|
spicModuleEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
|
@@ -578,7 +580,8 @@ proto.Platform.ClientProto.CreateRequest.deserializeBinaryFromReader = function(
|
|
|
578
580
|
msg.setCountry(value);
|
|
579
581
|
break;
|
|
580
582
|
case 3:
|
|
581
|
-
var value =
|
|
583
|
+
var value = new google_protobuf_wrappers_pb.BytesValue;
|
|
584
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.BytesValue.deserializeBinaryFromReader);
|
|
582
585
|
msg.setImage(value);
|
|
583
586
|
break;
|
|
584
587
|
case 4:
|
|
@@ -650,11 +653,12 @@ proto.Platform.ClientProto.CreateRequest.serializeBinaryToWriter = function(mess
|
|
|
650
653
|
f
|
|
651
654
|
);
|
|
652
655
|
}
|
|
653
|
-
f = message.
|
|
654
|
-
if (f
|
|
655
|
-
writer.
|
|
656
|
+
f = message.getImage();
|
|
657
|
+
if (f != null) {
|
|
658
|
+
writer.writeMessage(
|
|
656
659
|
3,
|
|
657
|
-
f
|
|
660
|
+
f,
|
|
661
|
+
google_protobuf_wrappers_pb.BytesValue.serializeBinaryToWriter
|
|
658
662
|
);
|
|
659
663
|
}
|
|
660
664
|
f = message.getPhone();
|
|
@@ -739,44 +743,39 @@ proto.Platform.ClientProto.CreateRequest.prototype.setCountry = function(value)
|
|
|
739
743
|
|
|
740
744
|
|
|
741
745
|
/**
|
|
742
|
-
* optional
|
|
743
|
-
* @return {
|
|
746
|
+
* optional google.protobuf.BytesValue image = 3;
|
|
747
|
+
* @return {?proto.google.protobuf.BytesValue}
|
|
744
748
|
*/
|
|
745
749
|
proto.Platform.ClientProto.CreateRequest.prototype.getImage = function() {
|
|
746
|
-
return /** @type
|
|
750
|
+
return /** @type{?proto.google.protobuf.BytesValue} */ (
|
|
751
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.BytesValue, 3));
|
|
747
752
|
};
|
|
748
753
|
|
|
749
754
|
|
|
750
755
|
/**
|
|
751
|
-
*
|
|
752
|
-
*
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
757
|
-
this.getImage()));
|
|
756
|
+
* @param {?proto.google.protobuf.BytesValue|undefined} value
|
|
757
|
+
* @return {!proto.Platform.ClientProto.CreateRequest} returns this
|
|
758
|
+
*/
|
|
759
|
+
proto.Platform.ClientProto.CreateRequest.prototype.setImage = function(value) {
|
|
760
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
758
761
|
};
|
|
759
762
|
|
|
760
763
|
|
|
761
764
|
/**
|
|
762
|
-
*
|
|
763
|
-
*
|
|
764
|
-
* @see http://caniuse.com/Uint8Array
|
|
765
|
-
* This is a type-conversion wrapper around `getImage()`
|
|
766
|
-
* @return {!Uint8Array}
|
|
765
|
+
* Clears the message field making it undefined.
|
|
766
|
+
* @return {!proto.Platform.ClientProto.CreateRequest} returns this
|
|
767
767
|
*/
|
|
768
|
-
proto.Platform.ClientProto.CreateRequest.prototype.
|
|
769
|
-
return
|
|
770
|
-
this.getImage()));
|
|
768
|
+
proto.Platform.ClientProto.CreateRequest.prototype.clearImage = function() {
|
|
769
|
+
return this.setImage(undefined);
|
|
771
770
|
};
|
|
772
771
|
|
|
773
772
|
|
|
774
773
|
/**
|
|
775
|
-
*
|
|
776
|
-
* @return {
|
|
774
|
+
* Returns whether this field is set.
|
|
775
|
+
* @return {boolean}
|
|
777
776
|
*/
|
|
778
|
-
proto.Platform.ClientProto.CreateRequest.prototype.
|
|
779
|
-
return jspb.Message.
|
|
777
|
+
proto.Platform.ClientProto.CreateRequest.prototype.hasImage = function() {
|
|
778
|
+
return jspb.Message.getField(this, 3) != null;
|
|
780
779
|
};
|
|
781
780
|
|
|
782
781
|
|
|
@@ -1350,7 +1349,7 @@ proto.Platform.ClientProto.UpdateRequest.toObject = function(includeInstance, ms
|
|
|
1350
1349
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
1351
1350
|
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1352
1351
|
country: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
1353
|
-
image: msg.
|
|
1352
|
+
image: (f = msg.getImage()) && google_protobuf_wrappers_pb.BytesValue.toObject(includeInstance, f),
|
|
1354
1353
|
phone: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
1355
1354
|
pb_public: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
|
|
1356
1355
|
};
|
|
@@ -1402,7 +1401,8 @@ proto.Platform.ClientProto.UpdateRequest.deserializeBinaryFromReader = function(
|
|
|
1402
1401
|
msg.setCountry(value);
|
|
1403
1402
|
break;
|
|
1404
1403
|
case 4:
|
|
1405
|
-
var value =
|
|
1404
|
+
var value = new google_protobuf_wrappers_pb.BytesValue;
|
|
1405
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.BytesValue.deserializeBinaryFromReader);
|
|
1406
1406
|
msg.setImage(value);
|
|
1407
1407
|
break;
|
|
1408
1408
|
case 5:
|
|
@@ -1463,11 +1463,12 @@ proto.Platform.ClientProto.UpdateRequest.serializeBinaryToWriter = function(mess
|
|
|
1463
1463
|
f
|
|
1464
1464
|
);
|
|
1465
1465
|
}
|
|
1466
|
-
f = message.
|
|
1467
|
-
if (f
|
|
1468
|
-
writer.
|
|
1466
|
+
f = message.getImage();
|
|
1467
|
+
if (f != null) {
|
|
1468
|
+
writer.writeMessage(
|
|
1469
1469
|
4,
|
|
1470
|
-
f
|
|
1470
|
+
f,
|
|
1471
|
+
google_protobuf_wrappers_pb.BytesValue.serializeBinaryToWriter
|
|
1471
1472
|
);
|
|
1472
1473
|
}
|
|
1473
1474
|
f = message.getPhone();
|
|
@@ -1542,44 +1543,39 @@ proto.Platform.ClientProto.UpdateRequest.prototype.setCountry = function(value)
|
|
|
1542
1543
|
|
|
1543
1544
|
|
|
1544
1545
|
/**
|
|
1545
|
-
* optional
|
|
1546
|
-
* @return {
|
|
1546
|
+
* optional google.protobuf.BytesValue image = 4;
|
|
1547
|
+
* @return {?proto.google.protobuf.BytesValue}
|
|
1547
1548
|
*/
|
|
1548
1549
|
proto.Platform.ClientProto.UpdateRequest.prototype.getImage = function() {
|
|
1549
|
-
return /** @type
|
|
1550
|
+
return /** @type{?proto.google.protobuf.BytesValue} */ (
|
|
1551
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.BytesValue, 4));
|
|
1550
1552
|
};
|
|
1551
1553
|
|
|
1552
1554
|
|
|
1553
1555
|
/**
|
|
1554
|
-
*
|
|
1555
|
-
*
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
1560
|
-
this.getImage()));
|
|
1556
|
+
* @param {?proto.google.protobuf.BytesValue|undefined} value
|
|
1557
|
+
* @return {!proto.Platform.ClientProto.UpdateRequest} returns this
|
|
1558
|
+
*/
|
|
1559
|
+
proto.Platform.ClientProto.UpdateRequest.prototype.setImage = function(value) {
|
|
1560
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
1561
1561
|
};
|
|
1562
1562
|
|
|
1563
1563
|
|
|
1564
1564
|
/**
|
|
1565
|
-
*
|
|
1566
|
-
*
|
|
1567
|
-
* @see http://caniuse.com/Uint8Array
|
|
1568
|
-
* This is a type-conversion wrapper around `getImage()`
|
|
1569
|
-
* @return {!Uint8Array}
|
|
1565
|
+
* Clears the message field making it undefined.
|
|
1566
|
+
* @return {!proto.Platform.ClientProto.UpdateRequest} returns this
|
|
1570
1567
|
*/
|
|
1571
|
-
proto.Platform.ClientProto.UpdateRequest.prototype.
|
|
1572
|
-
return
|
|
1573
|
-
this.getImage()));
|
|
1568
|
+
proto.Platform.ClientProto.UpdateRequest.prototype.clearImage = function() {
|
|
1569
|
+
return this.setImage(undefined);
|
|
1574
1570
|
};
|
|
1575
1571
|
|
|
1576
1572
|
|
|
1577
1573
|
/**
|
|
1578
|
-
*
|
|
1579
|
-
* @return {
|
|
1574
|
+
* Returns whether this field is set.
|
|
1575
|
+
* @return {boolean}
|
|
1580
1576
|
*/
|
|
1581
|
-
proto.Platform.ClientProto.UpdateRequest.prototype.
|
|
1582
|
-
return jspb.Message.
|
|
1577
|
+
proto.Platform.ClientProto.UpdateRequest.prototype.hasImage = function() {
|
|
1578
|
+
return jspb.Message.getField(this, 4) != null;
|
|
1583
1579
|
};
|
|
1584
1580
|
|
|
1585
1581
|
|
package/spic.cabinet_pb.d.ts
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
|
|
4
4
|
import * as jspb from "google-protobuf";
|
|
5
5
|
import * as google_protobuf_empty_pb from "google-protobuf/google/protobuf/empty_pb";
|
|
6
|
+
import * as google_protobuf_wrappers_pb from "google-protobuf/google/protobuf/wrappers_pb";
|
|
6
7
|
import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
|
|
7
8
|
import * as platform_location_pb from "./platform.location_pb";
|
|
8
9
|
import * as platform_pagination_pb from "./platform.pagination_pb";
|
|
@@ -93,10 +94,10 @@ export namespace CabinetProto {
|
|
|
93
94
|
getUid(): string;
|
|
94
95
|
setUid(value: string): void;
|
|
95
96
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
setImage(value
|
|
97
|
+
hasImage(): boolean;
|
|
98
|
+
clearImage(): void;
|
|
99
|
+
getImage(): google_protobuf_wrappers_pb.BytesValue | undefined;
|
|
100
|
+
setImage(value?: google_protobuf_wrappers_pb.BytesValue): void;
|
|
100
101
|
|
|
101
102
|
getExtIo1Name(): string;
|
|
102
103
|
setExtIo1Name(value: string): void;
|
|
@@ -125,7 +126,7 @@ export namespace CabinetProto {
|
|
|
125
126
|
name: string,
|
|
126
127
|
locationId: number,
|
|
127
128
|
uid: string,
|
|
128
|
-
image
|
|
129
|
+
image?: google_protobuf_wrappers_pb.BytesValue.AsObject,
|
|
129
130
|
extIo1Name: string,
|
|
130
131
|
extIo2Name: string,
|
|
131
132
|
groupId: string,
|
|
@@ -181,10 +182,10 @@ export namespace CabinetProto {
|
|
|
181
182
|
getUid(): string;
|
|
182
183
|
setUid(value: string): void;
|
|
183
184
|
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
setImage(value
|
|
185
|
+
hasImage(): boolean;
|
|
186
|
+
clearImage(): void;
|
|
187
|
+
getImage(): google_protobuf_wrappers_pb.BytesValue | undefined;
|
|
188
|
+
setImage(value?: google_protobuf_wrappers_pb.BytesValue): void;
|
|
188
189
|
|
|
189
190
|
getExtIo1Name(): string;
|
|
190
191
|
setExtIo1Name(value: string): void;
|
|
@@ -214,7 +215,7 @@ export namespace CabinetProto {
|
|
|
214
215
|
name: string,
|
|
215
216
|
locationId: number,
|
|
216
217
|
uid: string,
|
|
217
|
-
image
|
|
218
|
+
image?: google_protobuf_wrappers_pb.BytesValue.AsObject,
|
|
218
219
|
extIo1Name: string,
|
|
219
220
|
extIo2Name: string,
|
|
220
221
|
groupId: string,
|
package/spic.cabinet_pb.js
CHANGED
|
@@ -23,6 +23,8 @@ var global =
|
|
|
23
23
|
|
|
24
24
|
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
|
|
25
25
|
goog.object.extend(proto, google_protobuf_empty_pb);
|
|
26
|
+
var google_protobuf_wrappers_pb = require('google-protobuf/google/protobuf/wrappers_pb.js');
|
|
27
|
+
goog.object.extend(proto, google_protobuf_wrappers_pb);
|
|
26
28
|
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
|
|
27
29
|
goog.object.extend(proto, google_protobuf_timestamp_pb);
|
|
28
30
|
var platform_location_pb = require('./platform.location_pb.js');
|
|
@@ -1046,7 +1048,7 @@ proto.Spic.CabinetProto.CreateRequest.toObject = function(includeInstance, msg)
|
|
|
1046
1048
|
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1047
1049
|
locationId: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
1048
1050
|
uid: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
1049
|
-
image: msg.
|
|
1051
|
+
image: (f = msg.getImage()) && google_protobuf_wrappers_pb.BytesValue.toObject(includeInstance, f),
|
|
1050
1052
|
extIo1Name: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
1051
1053
|
extIo2Name: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
1052
1054
|
groupId: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
@@ -1100,7 +1102,8 @@ proto.Spic.CabinetProto.CreateRequest.deserializeBinaryFromReader = function(msg
|
|
|
1100
1102
|
msg.setUid(value);
|
|
1101
1103
|
break;
|
|
1102
1104
|
case 4:
|
|
1103
|
-
var value =
|
|
1105
|
+
var value = new google_protobuf_wrappers_pb.BytesValue;
|
|
1106
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.BytesValue.deserializeBinaryFromReader);
|
|
1104
1107
|
msg.setImage(value);
|
|
1105
1108
|
break;
|
|
1106
1109
|
case 5:
|
|
@@ -1169,11 +1172,12 @@ proto.Spic.CabinetProto.CreateRequest.serializeBinaryToWriter = function(message
|
|
|
1169
1172
|
f
|
|
1170
1173
|
);
|
|
1171
1174
|
}
|
|
1172
|
-
f = message.
|
|
1173
|
-
if (f
|
|
1174
|
-
writer.
|
|
1175
|
+
f = message.getImage();
|
|
1176
|
+
if (f != null) {
|
|
1177
|
+
writer.writeMessage(
|
|
1175
1178
|
4,
|
|
1176
|
-
f
|
|
1179
|
+
f,
|
|
1180
|
+
google_protobuf_wrappers_pb.BytesValue.serializeBinaryToWriter
|
|
1177
1181
|
);
|
|
1178
1182
|
}
|
|
1179
1183
|
f = message.getExtIo1Name();
|
|
@@ -1262,44 +1266,39 @@ proto.Spic.CabinetProto.CreateRequest.prototype.setUid = function(value) {
|
|
|
1262
1266
|
|
|
1263
1267
|
|
|
1264
1268
|
/**
|
|
1265
|
-
* optional
|
|
1266
|
-
* @return {
|
|
1269
|
+
* optional google.protobuf.BytesValue image = 4;
|
|
1270
|
+
* @return {?proto.google.protobuf.BytesValue}
|
|
1267
1271
|
*/
|
|
1268
1272
|
proto.Spic.CabinetProto.CreateRequest.prototype.getImage = function() {
|
|
1269
|
-
return /** @type
|
|
1273
|
+
return /** @type{?proto.google.protobuf.BytesValue} */ (
|
|
1274
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.BytesValue, 4));
|
|
1270
1275
|
};
|
|
1271
1276
|
|
|
1272
1277
|
|
|
1273
1278
|
/**
|
|
1274
|
-
*
|
|
1275
|
-
*
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
1280
|
-
this.getImage()));
|
|
1279
|
+
* @param {?proto.google.protobuf.BytesValue|undefined} value
|
|
1280
|
+
* @return {!proto.Spic.CabinetProto.CreateRequest} returns this
|
|
1281
|
+
*/
|
|
1282
|
+
proto.Spic.CabinetProto.CreateRequest.prototype.setImage = function(value) {
|
|
1283
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
1281
1284
|
};
|
|
1282
1285
|
|
|
1283
1286
|
|
|
1284
1287
|
/**
|
|
1285
|
-
*
|
|
1286
|
-
*
|
|
1287
|
-
* @see http://caniuse.com/Uint8Array
|
|
1288
|
-
* This is a type-conversion wrapper around `getImage()`
|
|
1289
|
-
* @return {!Uint8Array}
|
|
1288
|
+
* Clears the message field making it undefined.
|
|
1289
|
+
* @return {!proto.Spic.CabinetProto.CreateRequest} returns this
|
|
1290
1290
|
*/
|
|
1291
|
-
proto.Spic.CabinetProto.CreateRequest.prototype.
|
|
1292
|
-
return
|
|
1293
|
-
this.getImage()));
|
|
1291
|
+
proto.Spic.CabinetProto.CreateRequest.prototype.clearImage = function() {
|
|
1292
|
+
return this.setImage(undefined);
|
|
1294
1293
|
};
|
|
1295
1294
|
|
|
1296
1295
|
|
|
1297
1296
|
/**
|
|
1298
|
-
*
|
|
1299
|
-
* @return {
|
|
1297
|
+
* Returns whether this field is set.
|
|
1298
|
+
* @return {boolean}
|
|
1300
1299
|
*/
|
|
1301
|
-
proto.Spic.CabinetProto.CreateRequest.prototype.
|
|
1302
|
-
return jspb.Message.
|
|
1300
|
+
proto.Spic.CabinetProto.CreateRequest.prototype.hasImage = function() {
|
|
1301
|
+
return jspb.Message.getField(this, 4) != null;
|
|
1303
1302
|
};
|
|
1304
1303
|
|
|
1305
1304
|
|
|
@@ -1633,7 +1632,7 @@ proto.Spic.CabinetProto.UpdateRequest.toObject = function(includeInstance, msg)
|
|
|
1633
1632
|
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1634
1633
|
locationId: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
1635
1634
|
uid: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
1636
|
-
image: msg.
|
|
1635
|
+
image: (f = msg.getImage()) && google_protobuf_wrappers_pb.BytesValue.toObject(includeInstance, f),
|
|
1637
1636
|
extIo1Name: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
1638
1637
|
extIo2Name: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
1639
1638
|
groupId: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
@@ -1691,7 +1690,8 @@ proto.Spic.CabinetProto.UpdateRequest.deserializeBinaryFromReader = function(msg
|
|
|
1691
1690
|
msg.setUid(value);
|
|
1692
1691
|
break;
|
|
1693
1692
|
case 5:
|
|
1694
|
-
var value =
|
|
1693
|
+
var value = new google_protobuf_wrappers_pb.BytesValue;
|
|
1694
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.BytesValue.deserializeBinaryFromReader);
|
|
1695
1695
|
msg.setImage(value);
|
|
1696
1696
|
break;
|
|
1697
1697
|
case 6:
|
|
@@ -1767,11 +1767,12 @@ proto.Spic.CabinetProto.UpdateRequest.serializeBinaryToWriter = function(message
|
|
|
1767
1767
|
f
|
|
1768
1768
|
);
|
|
1769
1769
|
}
|
|
1770
|
-
f = message.
|
|
1771
|
-
if (f
|
|
1772
|
-
writer.
|
|
1770
|
+
f = message.getImage();
|
|
1771
|
+
if (f != null) {
|
|
1772
|
+
writer.writeMessage(
|
|
1773
1773
|
5,
|
|
1774
|
-
f
|
|
1774
|
+
f,
|
|
1775
|
+
google_protobuf_wrappers_pb.BytesValue.serializeBinaryToWriter
|
|
1775
1776
|
);
|
|
1776
1777
|
}
|
|
1777
1778
|
f = message.getExtIo1Name();
|
|
@@ -1878,44 +1879,39 @@ proto.Spic.CabinetProto.UpdateRequest.prototype.setUid = function(value) {
|
|
|
1878
1879
|
|
|
1879
1880
|
|
|
1880
1881
|
/**
|
|
1881
|
-
* optional
|
|
1882
|
-
* @return {
|
|
1882
|
+
* optional google.protobuf.BytesValue image = 5;
|
|
1883
|
+
* @return {?proto.google.protobuf.BytesValue}
|
|
1883
1884
|
*/
|
|
1884
1885
|
proto.Spic.CabinetProto.UpdateRequest.prototype.getImage = function() {
|
|
1885
|
-
return /** @type
|
|
1886
|
+
return /** @type{?proto.google.protobuf.BytesValue} */ (
|
|
1887
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.BytesValue, 5));
|
|
1886
1888
|
};
|
|
1887
1889
|
|
|
1888
1890
|
|
|
1889
1891
|
/**
|
|
1890
|
-
*
|
|
1891
|
-
*
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
1896
|
-
this.getImage()));
|
|
1892
|
+
* @param {?proto.google.protobuf.BytesValue|undefined} value
|
|
1893
|
+
* @return {!proto.Spic.CabinetProto.UpdateRequest} returns this
|
|
1894
|
+
*/
|
|
1895
|
+
proto.Spic.CabinetProto.UpdateRequest.prototype.setImage = function(value) {
|
|
1896
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
1897
1897
|
};
|
|
1898
1898
|
|
|
1899
1899
|
|
|
1900
1900
|
/**
|
|
1901
|
-
*
|
|
1902
|
-
*
|
|
1903
|
-
* @see http://caniuse.com/Uint8Array
|
|
1904
|
-
* This is a type-conversion wrapper around `getImage()`
|
|
1905
|
-
* @return {!Uint8Array}
|
|
1901
|
+
* Clears the message field making it undefined.
|
|
1902
|
+
* @return {!proto.Spic.CabinetProto.UpdateRequest} returns this
|
|
1906
1903
|
*/
|
|
1907
|
-
proto.Spic.CabinetProto.UpdateRequest.prototype.
|
|
1908
|
-
return
|
|
1909
|
-
this.getImage()));
|
|
1904
|
+
proto.Spic.CabinetProto.UpdateRequest.prototype.clearImage = function() {
|
|
1905
|
+
return this.setImage(undefined);
|
|
1910
1906
|
};
|
|
1911
1907
|
|
|
1912
1908
|
|
|
1913
1909
|
/**
|
|
1914
|
-
*
|
|
1915
|
-
* @return {
|
|
1910
|
+
* Returns whether this field is set.
|
|
1911
|
+
* @return {boolean}
|
|
1916
1912
|
*/
|
|
1917
|
-
proto.Spic.CabinetProto.UpdateRequest.prototype.
|
|
1918
|
-
return jspb.Message.
|
|
1913
|
+
proto.Spic.CabinetProto.UpdateRequest.prototype.hasImage = function() {
|
|
1914
|
+
return jspb.Message.getField(this, 5) != null;
|
|
1919
1915
|
};
|
|
1920
1916
|
|
|
1921
1917
|
|
package/spic.config_pb.js
CHANGED
|
@@ -266,7 +266,7 @@ proto.Spic.ConfigProto.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
266
266
|
var field = reader.getFieldNumber();
|
|
267
267
|
switch (field) {
|
|
268
268
|
case 1:
|
|
269
|
-
var value = /** @type {number} */ (reader.
|
|
269
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
270
270
|
msg.setId(value);
|
|
271
271
|
break;
|
|
272
272
|
case 2:
|
|
@@ -332,7 +332,7 @@ proto.Spic.ConfigProto.serializeBinaryToWriter = function(message, writer) {
|
|
|
332
332
|
var f = undefined;
|
|
333
333
|
f = message.getId();
|
|
334
334
|
if (f !== 0) {
|
|
335
|
-
writer.
|
|
335
|
+
writer.writeInt32(
|
|
336
336
|
1,
|
|
337
337
|
f
|
|
338
338
|
);
|
|
@@ -689,7 +689,7 @@ proto.Spic.ConfigProto.RetrieveRequest.deserializeBinaryFromReader = function(ms
|
|
|
689
689
|
var field = reader.getFieldNumber();
|
|
690
690
|
switch (field) {
|
|
691
691
|
case 1:
|
|
692
|
-
var value = /** @type {number} */ (reader.
|
|
692
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
693
693
|
msg.setId(value);
|
|
694
694
|
break;
|
|
695
695
|
default:
|
|
@@ -723,7 +723,7 @@ proto.Spic.ConfigProto.RetrieveRequest.serializeBinaryToWriter = function(messag
|
|
|
723
723
|
var f = undefined;
|
|
724
724
|
f = message.getId();
|
|
725
725
|
if (f !== 0) {
|
|
726
|
-
writer.
|
|
726
|
+
writer.writeInt32(
|
|
727
727
|
1,
|
|
728
728
|
f
|
|
729
729
|
);
|
|
@@ -732,7 +732,7 @@ proto.Spic.ConfigProto.RetrieveRequest.serializeBinaryToWriter = function(messag
|
|
|
732
732
|
|
|
733
733
|
|
|
734
734
|
/**
|
|
735
|
-
* optional
|
|
735
|
+
* optional int32 id = 1;
|
|
736
736
|
* @return {number}
|
|
737
737
|
*/
|
|
738
738
|
proto.Spic.ConfigProto.RetrieveRequest.prototype.getId = function() {
|
|
@@ -828,7 +828,7 @@ proto.Spic.ConfigProto.UpdateRequest.deserializeBinaryFromReader = function(msg,
|
|
|
828
828
|
var field = reader.getFieldNumber();
|
|
829
829
|
switch (field) {
|
|
830
830
|
case 1:
|
|
831
|
-
var value = /** @type {number} */ (reader.
|
|
831
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
832
832
|
msg.setId(value);
|
|
833
833
|
break;
|
|
834
834
|
case 2:
|
|
@@ -870,7 +870,7 @@ proto.Spic.ConfigProto.UpdateRequest.serializeBinaryToWriter = function(message,
|
|
|
870
870
|
var f = undefined;
|
|
871
871
|
f = message.getId();
|
|
872
872
|
if (f !== 0) {
|
|
873
|
-
writer.
|
|
873
|
+
writer.writeInt32(
|
|
874
874
|
1,
|
|
875
875
|
f
|
|
876
876
|
);
|
|
@@ -893,7 +893,7 @@ proto.Spic.ConfigProto.UpdateRequest.serializeBinaryToWriter = function(message,
|
|
|
893
893
|
|
|
894
894
|
|
|
895
895
|
/**
|
|
896
|
-
* optional
|
|
896
|
+
* optional int32 id = 1;
|
|
897
897
|
* @return {number}
|
|
898
898
|
*/
|
|
899
899
|
proto.Spic.ConfigProto.UpdateRequest.prototype.getId = function() {
|
|
@@ -1650,7 +1650,7 @@ proto.Spic.ConfigProto.ConfigFilters.prototype.hasInstalledDateTo = function() {
|
|
|
1650
1650
|
|
|
1651
1651
|
|
|
1652
1652
|
/**
|
|
1653
|
-
* optional
|
|
1653
|
+
* optional int32 id = 1;
|
|
1654
1654
|
* @return {number}
|
|
1655
1655
|
*/
|
|
1656
1656
|
proto.Spic.ConfigProto.prototype.getId = function() {
|