@aceplus/smartace-api 3.7.0-alpha.7 → 3.7.0-alpha.9
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.
|
@@ -170,5 +170,65 @@ export namespace AppDistributionProto {
|
|
|
170
170
|
client?: AppDistributionProto.ClientWithClusterProto.AsObject,
|
|
171
171
|
}
|
|
172
172
|
}
|
|
173
|
+
|
|
174
|
+
export class CheckQrResponseV2 extends jspb.Message {
|
|
175
|
+
getUid(): string;
|
|
176
|
+
setUid(value: string): void;
|
|
177
|
+
|
|
178
|
+
serializeBinary(): Uint8Array;
|
|
179
|
+
toObject(includeInstance?: boolean): CheckQrResponseV2.AsObject;
|
|
180
|
+
static toObject(includeInstance: boolean, msg: CheckQrResponseV2): CheckQrResponseV2.AsObject;
|
|
181
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
182
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
183
|
+
static serializeBinaryToWriter(message: CheckQrResponseV2, writer: jspb.BinaryWriter): void;
|
|
184
|
+
static deserializeBinary(bytes: Uint8Array): CheckQrResponseV2;
|
|
185
|
+
static deserializeBinaryFromReader(message: CheckQrResponseV2, reader: jspb.BinaryReader): CheckQrResponseV2;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
export namespace CheckQrResponseV2 {
|
|
189
|
+
export type AsObject = {
|
|
190
|
+
uid: string,
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
export class ConnectQrRequest extends jspb.Message {
|
|
195
|
+
getCode(): string;
|
|
196
|
+
setCode(value: string): void;
|
|
197
|
+
|
|
198
|
+
serializeBinary(): Uint8Array;
|
|
199
|
+
toObject(includeInstance?: boolean): ConnectQrRequest.AsObject;
|
|
200
|
+
static toObject(includeInstance: boolean, msg: ConnectQrRequest): ConnectQrRequest.AsObject;
|
|
201
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
202
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
203
|
+
static serializeBinaryToWriter(message: ConnectQrRequest, writer: jspb.BinaryWriter): void;
|
|
204
|
+
static deserializeBinary(bytes: Uint8Array): ConnectQrRequest;
|
|
205
|
+
static deserializeBinaryFromReader(message: ConnectQrRequest, reader: jspb.BinaryReader): ConnectQrRequest;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
export namespace ConnectQrRequest {
|
|
209
|
+
export type AsObject = {
|
|
210
|
+
code: string,
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
export class ConnectQrResponse extends jspb.Message {
|
|
215
|
+
getMessage(): string;
|
|
216
|
+
setMessage(value: string): void;
|
|
217
|
+
|
|
218
|
+
serializeBinary(): Uint8Array;
|
|
219
|
+
toObject(includeInstance?: boolean): ConnectQrResponse.AsObject;
|
|
220
|
+
static toObject(includeInstance: boolean, msg: ConnectQrResponse): ConnectQrResponse.AsObject;
|
|
221
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
222
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
223
|
+
static serializeBinaryToWriter(message: ConnectQrResponse, writer: jspb.BinaryWriter): void;
|
|
224
|
+
static deserializeBinary(bytes: Uint8Array): ConnectQrResponse;
|
|
225
|
+
static deserializeBinaryFromReader(message: ConnectQrResponse, reader: jspb.BinaryReader): ConnectQrResponse;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
export namespace ConnectQrResponse {
|
|
229
|
+
export type AsObject = {
|
|
230
|
+
message: string,
|
|
231
|
+
}
|
|
232
|
+
}
|
|
173
233
|
}
|
|
174
234
|
|
|
@@ -30,7 +30,10 @@ goog.object.extend(proto, platform_client_pb);
|
|
|
30
30
|
goog.exportSymbol('proto.Auth.AppDistributionProto', null, global);
|
|
31
31
|
goog.exportSymbol('proto.Auth.AppDistributionProto.CheckQrRequest', null, global);
|
|
32
32
|
goog.exportSymbol('proto.Auth.AppDistributionProto.CheckQrResponse', null, global);
|
|
33
|
+
goog.exportSymbol('proto.Auth.AppDistributionProto.CheckQrResponseV2', null, global);
|
|
33
34
|
goog.exportSymbol('proto.Auth.AppDistributionProto.ClientWithClusterProto', null, global);
|
|
35
|
+
goog.exportSymbol('proto.Auth.AppDistributionProto.ConnectQrRequest', null, global);
|
|
36
|
+
goog.exportSymbol('proto.Auth.AppDistributionProto.ConnectQrResponse', null, global);
|
|
34
37
|
goog.exportSymbol('proto.Auth.AppDistributionProto.GetClientsRequest', null, global);
|
|
35
38
|
goog.exportSymbol('proto.Auth.AppDistributionProto.GetClientsResponse', null, global);
|
|
36
39
|
goog.exportSymbol('proto.Auth.AppDistributionProto.PhonePrefixesRequest', null, global);
|
|
@@ -203,6 +206,69 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
203
206
|
*/
|
|
204
207
|
proto.Auth.AppDistributionProto.CheckQrResponse.displayName = 'proto.Auth.AppDistributionProto.CheckQrResponse';
|
|
205
208
|
}
|
|
209
|
+
/**
|
|
210
|
+
* Generated by JsPbCodeGenerator.
|
|
211
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
212
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
213
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
214
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
215
|
+
* valid.
|
|
216
|
+
* @extends {jspb.Message}
|
|
217
|
+
* @constructor
|
|
218
|
+
*/
|
|
219
|
+
proto.Auth.AppDistributionProto.CheckQrResponseV2 = function(opt_data) {
|
|
220
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
221
|
+
};
|
|
222
|
+
goog.inherits(proto.Auth.AppDistributionProto.CheckQrResponseV2, jspb.Message);
|
|
223
|
+
if (goog.DEBUG && !COMPILED) {
|
|
224
|
+
/**
|
|
225
|
+
* @public
|
|
226
|
+
* @override
|
|
227
|
+
*/
|
|
228
|
+
proto.Auth.AppDistributionProto.CheckQrResponseV2.displayName = 'proto.Auth.AppDistributionProto.CheckQrResponseV2';
|
|
229
|
+
}
|
|
230
|
+
/**
|
|
231
|
+
* Generated by JsPbCodeGenerator.
|
|
232
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
233
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
234
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
235
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
236
|
+
* valid.
|
|
237
|
+
* @extends {jspb.Message}
|
|
238
|
+
* @constructor
|
|
239
|
+
*/
|
|
240
|
+
proto.Auth.AppDistributionProto.ConnectQrRequest = function(opt_data) {
|
|
241
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
242
|
+
};
|
|
243
|
+
goog.inherits(proto.Auth.AppDistributionProto.ConnectQrRequest, jspb.Message);
|
|
244
|
+
if (goog.DEBUG && !COMPILED) {
|
|
245
|
+
/**
|
|
246
|
+
* @public
|
|
247
|
+
* @override
|
|
248
|
+
*/
|
|
249
|
+
proto.Auth.AppDistributionProto.ConnectQrRequest.displayName = 'proto.Auth.AppDistributionProto.ConnectQrRequest';
|
|
250
|
+
}
|
|
251
|
+
/**
|
|
252
|
+
* Generated by JsPbCodeGenerator.
|
|
253
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
254
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
255
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
256
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
257
|
+
* valid.
|
|
258
|
+
* @extends {jspb.Message}
|
|
259
|
+
* @constructor
|
|
260
|
+
*/
|
|
261
|
+
proto.Auth.AppDistributionProto.ConnectQrResponse = function(opt_data) {
|
|
262
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
263
|
+
};
|
|
264
|
+
goog.inherits(proto.Auth.AppDistributionProto.ConnectQrResponse, jspb.Message);
|
|
265
|
+
if (goog.DEBUG && !COMPILED) {
|
|
266
|
+
/**
|
|
267
|
+
* @public
|
|
268
|
+
* @override
|
|
269
|
+
*/
|
|
270
|
+
proto.Auth.AppDistributionProto.ConnectQrResponse.displayName = 'proto.Auth.AppDistributionProto.ConnectQrResponse';
|
|
271
|
+
}
|
|
206
272
|
|
|
207
273
|
|
|
208
274
|
|
|
@@ -1335,4 +1401,394 @@ proto.Auth.AppDistributionProto.CheckQrResponse.prototype.hasClient = function()
|
|
|
1335
1401
|
};
|
|
1336
1402
|
|
|
1337
1403
|
|
|
1404
|
+
|
|
1405
|
+
|
|
1406
|
+
|
|
1407
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1408
|
+
/**
|
|
1409
|
+
* Creates an object representation of this proto.
|
|
1410
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1411
|
+
* Optional fields that are not set will be set to undefined.
|
|
1412
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1413
|
+
* For the list of reserved names please see:
|
|
1414
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1415
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1416
|
+
* JSPB instance for transitional soy proto support:
|
|
1417
|
+
* http://goto/soy-param-migration
|
|
1418
|
+
* @return {!Object}
|
|
1419
|
+
*/
|
|
1420
|
+
proto.Auth.AppDistributionProto.CheckQrResponseV2.prototype.toObject = function(opt_includeInstance) {
|
|
1421
|
+
return proto.Auth.AppDistributionProto.CheckQrResponseV2.toObject(opt_includeInstance, this);
|
|
1422
|
+
};
|
|
1423
|
+
|
|
1424
|
+
|
|
1425
|
+
/**
|
|
1426
|
+
* Static version of the {@see toObject} method.
|
|
1427
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1428
|
+
* the JSPB instance for transitional soy proto support:
|
|
1429
|
+
* http://goto/soy-param-migration
|
|
1430
|
+
* @param {!proto.Auth.AppDistributionProto.CheckQrResponseV2} msg The msg instance to transform.
|
|
1431
|
+
* @return {!Object}
|
|
1432
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1433
|
+
*/
|
|
1434
|
+
proto.Auth.AppDistributionProto.CheckQrResponseV2.toObject = function(includeInstance, msg) {
|
|
1435
|
+
var f, obj = {
|
|
1436
|
+
uid: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1437
|
+
};
|
|
1438
|
+
|
|
1439
|
+
if (includeInstance) {
|
|
1440
|
+
obj.$jspbMessageInstance = msg;
|
|
1441
|
+
}
|
|
1442
|
+
return obj;
|
|
1443
|
+
};
|
|
1444
|
+
}
|
|
1445
|
+
|
|
1446
|
+
|
|
1447
|
+
/**
|
|
1448
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1449
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1450
|
+
* @return {!proto.Auth.AppDistributionProto.CheckQrResponseV2}
|
|
1451
|
+
*/
|
|
1452
|
+
proto.Auth.AppDistributionProto.CheckQrResponseV2.deserializeBinary = function(bytes) {
|
|
1453
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1454
|
+
var msg = new proto.Auth.AppDistributionProto.CheckQrResponseV2;
|
|
1455
|
+
return proto.Auth.AppDistributionProto.CheckQrResponseV2.deserializeBinaryFromReader(msg, reader);
|
|
1456
|
+
};
|
|
1457
|
+
|
|
1458
|
+
|
|
1459
|
+
/**
|
|
1460
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1461
|
+
* given reader into the given message object.
|
|
1462
|
+
* @param {!proto.Auth.AppDistributionProto.CheckQrResponseV2} msg The message object to deserialize into.
|
|
1463
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1464
|
+
* @return {!proto.Auth.AppDistributionProto.CheckQrResponseV2}
|
|
1465
|
+
*/
|
|
1466
|
+
proto.Auth.AppDistributionProto.CheckQrResponseV2.deserializeBinaryFromReader = function(msg, reader) {
|
|
1467
|
+
while (reader.nextField()) {
|
|
1468
|
+
if (reader.isEndGroup()) {
|
|
1469
|
+
break;
|
|
1470
|
+
}
|
|
1471
|
+
var field = reader.getFieldNumber();
|
|
1472
|
+
switch (field) {
|
|
1473
|
+
case 1:
|
|
1474
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1475
|
+
msg.setUid(value);
|
|
1476
|
+
break;
|
|
1477
|
+
default:
|
|
1478
|
+
reader.skipField();
|
|
1479
|
+
break;
|
|
1480
|
+
}
|
|
1481
|
+
}
|
|
1482
|
+
return msg;
|
|
1483
|
+
};
|
|
1484
|
+
|
|
1485
|
+
|
|
1486
|
+
/**
|
|
1487
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1488
|
+
* @return {!Uint8Array}
|
|
1489
|
+
*/
|
|
1490
|
+
proto.Auth.AppDistributionProto.CheckQrResponseV2.prototype.serializeBinary = function() {
|
|
1491
|
+
var writer = new jspb.BinaryWriter();
|
|
1492
|
+
proto.Auth.AppDistributionProto.CheckQrResponseV2.serializeBinaryToWriter(this, writer);
|
|
1493
|
+
return writer.getResultBuffer();
|
|
1494
|
+
};
|
|
1495
|
+
|
|
1496
|
+
|
|
1497
|
+
/**
|
|
1498
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1499
|
+
* format), writing to the given BinaryWriter.
|
|
1500
|
+
* @param {!proto.Auth.AppDistributionProto.CheckQrResponseV2} message
|
|
1501
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1502
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1503
|
+
*/
|
|
1504
|
+
proto.Auth.AppDistributionProto.CheckQrResponseV2.serializeBinaryToWriter = function(message, writer) {
|
|
1505
|
+
var f = undefined;
|
|
1506
|
+
f = message.getUid();
|
|
1507
|
+
if (f.length > 0) {
|
|
1508
|
+
writer.writeString(
|
|
1509
|
+
1,
|
|
1510
|
+
f
|
|
1511
|
+
);
|
|
1512
|
+
}
|
|
1513
|
+
};
|
|
1514
|
+
|
|
1515
|
+
|
|
1516
|
+
/**
|
|
1517
|
+
* optional string uid = 1;
|
|
1518
|
+
* @return {string}
|
|
1519
|
+
*/
|
|
1520
|
+
proto.Auth.AppDistributionProto.CheckQrResponseV2.prototype.getUid = function() {
|
|
1521
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1522
|
+
};
|
|
1523
|
+
|
|
1524
|
+
|
|
1525
|
+
/**
|
|
1526
|
+
* @param {string} value
|
|
1527
|
+
* @return {!proto.Auth.AppDistributionProto.CheckQrResponseV2} returns this
|
|
1528
|
+
*/
|
|
1529
|
+
proto.Auth.AppDistributionProto.CheckQrResponseV2.prototype.setUid = function(value) {
|
|
1530
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1531
|
+
};
|
|
1532
|
+
|
|
1533
|
+
|
|
1534
|
+
|
|
1535
|
+
|
|
1536
|
+
|
|
1537
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1538
|
+
/**
|
|
1539
|
+
* Creates an object representation of this proto.
|
|
1540
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1541
|
+
* Optional fields that are not set will be set to undefined.
|
|
1542
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1543
|
+
* For the list of reserved names please see:
|
|
1544
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1545
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1546
|
+
* JSPB instance for transitional soy proto support:
|
|
1547
|
+
* http://goto/soy-param-migration
|
|
1548
|
+
* @return {!Object}
|
|
1549
|
+
*/
|
|
1550
|
+
proto.Auth.AppDistributionProto.ConnectQrRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1551
|
+
return proto.Auth.AppDistributionProto.ConnectQrRequest.toObject(opt_includeInstance, this);
|
|
1552
|
+
};
|
|
1553
|
+
|
|
1554
|
+
|
|
1555
|
+
/**
|
|
1556
|
+
* Static version of the {@see toObject} method.
|
|
1557
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1558
|
+
* the JSPB instance for transitional soy proto support:
|
|
1559
|
+
* http://goto/soy-param-migration
|
|
1560
|
+
* @param {!proto.Auth.AppDistributionProto.ConnectQrRequest} msg The msg instance to transform.
|
|
1561
|
+
* @return {!Object}
|
|
1562
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1563
|
+
*/
|
|
1564
|
+
proto.Auth.AppDistributionProto.ConnectQrRequest.toObject = function(includeInstance, msg) {
|
|
1565
|
+
var f, obj = {
|
|
1566
|
+
code: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1567
|
+
};
|
|
1568
|
+
|
|
1569
|
+
if (includeInstance) {
|
|
1570
|
+
obj.$jspbMessageInstance = msg;
|
|
1571
|
+
}
|
|
1572
|
+
return obj;
|
|
1573
|
+
};
|
|
1574
|
+
}
|
|
1575
|
+
|
|
1576
|
+
|
|
1577
|
+
/**
|
|
1578
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1579
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1580
|
+
* @return {!proto.Auth.AppDistributionProto.ConnectQrRequest}
|
|
1581
|
+
*/
|
|
1582
|
+
proto.Auth.AppDistributionProto.ConnectQrRequest.deserializeBinary = function(bytes) {
|
|
1583
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1584
|
+
var msg = new proto.Auth.AppDistributionProto.ConnectQrRequest;
|
|
1585
|
+
return proto.Auth.AppDistributionProto.ConnectQrRequest.deserializeBinaryFromReader(msg, reader);
|
|
1586
|
+
};
|
|
1587
|
+
|
|
1588
|
+
|
|
1589
|
+
/**
|
|
1590
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1591
|
+
* given reader into the given message object.
|
|
1592
|
+
* @param {!proto.Auth.AppDistributionProto.ConnectQrRequest} msg The message object to deserialize into.
|
|
1593
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1594
|
+
* @return {!proto.Auth.AppDistributionProto.ConnectQrRequest}
|
|
1595
|
+
*/
|
|
1596
|
+
proto.Auth.AppDistributionProto.ConnectQrRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1597
|
+
while (reader.nextField()) {
|
|
1598
|
+
if (reader.isEndGroup()) {
|
|
1599
|
+
break;
|
|
1600
|
+
}
|
|
1601
|
+
var field = reader.getFieldNumber();
|
|
1602
|
+
switch (field) {
|
|
1603
|
+
case 1:
|
|
1604
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1605
|
+
msg.setCode(value);
|
|
1606
|
+
break;
|
|
1607
|
+
default:
|
|
1608
|
+
reader.skipField();
|
|
1609
|
+
break;
|
|
1610
|
+
}
|
|
1611
|
+
}
|
|
1612
|
+
return msg;
|
|
1613
|
+
};
|
|
1614
|
+
|
|
1615
|
+
|
|
1616
|
+
/**
|
|
1617
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1618
|
+
* @return {!Uint8Array}
|
|
1619
|
+
*/
|
|
1620
|
+
proto.Auth.AppDistributionProto.ConnectQrRequest.prototype.serializeBinary = function() {
|
|
1621
|
+
var writer = new jspb.BinaryWriter();
|
|
1622
|
+
proto.Auth.AppDistributionProto.ConnectQrRequest.serializeBinaryToWriter(this, writer);
|
|
1623
|
+
return writer.getResultBuffer();
|
|
1624
|
+
};
|
|
1625
|
+
|
|
1626
|
+
|
|
1627
|
+
/**
|
|
1628
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1629
|
+
* format), writing to the given BinaryWriter.
|
|
1630
|
+
* @param {!proto.Auth.AppDistributionProto.ConnectQrRequest} message
|
|
1631
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1632
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1633
|
+
*/
|
|
1634
|
+
proto.Auth.AppDistributionProto.ConnectQrRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1635
|
+
var f = undefined;
|
|
1636
|
+
f = message.getCode();
|
|
1637
|
+
if (f.length > 0) {
|
|
1638
|
+
writer.writeString(
|
|
1639
|
+
1,
|
|
1640
|
+
f
|
|
1641
|
+
);
|
|
1642
|
+
}
|
|
1643
|
+
};
|
|
1644
|
+
|
|
1645
|
+
|
|
1646
|
+
/**
|
|
1647
|
+
* optional string code = 1;
|
|
1648
|
+
* @return {string}
|
|
1649
|
+
*/
|
|
1650
|
+
proto.Auth.AppDistributionProto.ConnectQrRequest.prototype.getCode = function() {
|
|
1651
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1652
|
+
};
|
|
1653
|
+
|
|
1654
|
+
|
|
1655
|
+
/**
|
|
1656
|
+
* @param {string} value
|
|
1657
|
+
* @return {!proto.Auth.AppDistributionProto.ConnectQrRequest} returns this
|
|
1658
|
+
*/
|
|
1659
|
+
proto.Auth.AppDistributionProto.ConnectQrRequest.prototype.setCode = function(value) {
|
|
1660
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1661
|
+
};
|
|
1662
|
+
|
|
1663
|
+
|
|
1664
|
+
|
|
1665
|
+
|
|
1666
|
+
|
|
1667
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1668
|
+
/**
|
|
1669
|
+
* Creates an object representation of this proto.
|
|
1670
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1671
|
+
* Optional fields that are not set will be set to undefined.
|
|
1672
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1673
|
+
* For the list of reserved names please see:
|
|
1674
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1675
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1676
|
+
* JSPB instance for transitional soy proto support:
|
|
1677
|
+
* http://goto/soy-param-migration
|
|
1678
|
+
* @return {!Object}
|
|
1679
|
+
*/
|
|
1680
|
+
proto.Auth.AppDistributionProto.ConnectQrResponse.prototype.toObject = function(opt_includeInstance) {
|
|
1681
|
+
return proto.Auth.AppDistributionProto.ConnectQrResponse.toObject(opt_includeInstance, this);
|
|
1682
|
+
};
|
|
1683
|
+
|
|
1684
|
+
|
|
1685
|
+
/**
|
|
1686
|
+
* Static version of the {@see toObject} method.
|
|
1687
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1688
|
+
* the JSPB instance for transitional soy proto support:
|
|
1689
|
+
* http://goto/soy-param-migration
|
|
1690
|
+
* @param {!proto.Auth.AppDistributionProto.ConnectQrResponse} msg The msg instance to transform.
|
|
1691
|
+
* @return {!Object}
|
|
1692
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1693
|
+
*/
|
|
1694
|
+
proto.Auth.AppDistributionProto.ConnectQrResponse.toObject = function(includeInstance, msg) {
|
|
1695
|
+
var f, obj = {
|
|
1696
|
+
message: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1697
|
+
};
|
|
1698
|
+
|
|
1699
|
+
if (includeInstance) {
|
|
1700
|
+
obj.$jspbMessageInstance = msg;
|
|
1701
|
+
}
|
|
1702
|
+
return obj;
|
|
1703
|
+
};
|
|
1704
|
+
}
|
|
1705
|
+
|
|
1706
|
+
|
|
1707
|
+
/**
|
|
1708
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1709
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1710
|
+
* @return {!proto.Auth.AppDistributionProto.ConnectQrResponse}
|
|
1711
|
+
*/
|
|
1712
|
+
proto.Auth.AppDistributionProto.ConnectQrResponse.deserializeBinary = function(bytes) {
|
|
1713
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1714
|
+
var msg = new proto.Auth.AppDistributionProto.ConnectQrResponse;
|
|
1715
|
+
return proto.Auth.AppDistributionProto.ConnectQrResponse.deserializeBinaryFromReader(msg, reader);
|
|
1716
|
+
};
|
|
1717
|
+
|
|
1718
|
+
|
|
1719
|
+
/**
|
|
1720
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1721
|
+
* given reader into the given message object.
|
|
1722
|
+
* @param {!proto.Auth.AppDistributionProto.ConnectQrResponse} msg The message object to deserialize into.
|
|
1723
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1724
|
+
* @return {!proto.Auth.AppDistributionProto.ConnectQrResponse}
|
|
1725
|
+
*/
|
|
1726
|
+
proto.Auth.AppDistributionProto.ConnectQrResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
1727
|
+
while (reader.nextField()) {
|
|
1728
|
+
if (reader.isEndGroup()) {
|
|
1729
|
+
break;
|
|
1730
|
+
}
|
|
1731
|
+
var field = reader.getFieldNumber();
|
|
1732
|
+
switch (field) {
|
|
1733
|
+
case 1:
|
|
1734
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1735
|
+
msg.setMessage(value);
|
|
1736
|
+
break;
|
|
1737
|
+
default:
|
|
1738
|
+
reader.skipField();
|
|
1739
|
+
break;
|
|
1740
|
+
}
|
|
1741
|
+
}
|
|
1742
|
+
return msg;
|
|
1743
|
+
};
|
|
1744
|
+
|
|
1745
|
+
|
|
1746
|
+
/**
|
|
1747
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1748
|
+
* @return {!Uint8Array}
|
|
1749
|
+
*/
|
|
1750
|
+
proto.Auth.AppDistributionProto.ConnectQrResponse.prototype.serializeBinary = function() {
|
|
1751
|
+
var writer = new jspb.BinaryWriter();
|
|
1752
|
+
proto.Auth.AppDistributionProto.ConnectQrResponse.serializeBinaryToWriter(this, writer);
|
|
1753
|
+
return writer.getResultBuffer();
|
|
1754
|
+
};
|
|
1755
|
+
|
|
1756
|
+
|
|
1757
|
+
/**
|
|
1758
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1759
|
+
* format), writing to the given BinaryWriter.
|
|
1760
|
+
* @param {!proto.Auth.AppDistributionProto.ConnectQrResponse} message
|
|
1761
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1762
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1763
|
+
*/
|
|
1764
|
+
proto.Auth.AppDistributionProto.ConnectQrResponse.serializeBinaryToWriter = function(message, writer) {
|
|
1765
|
+
var f = undefined;
|
|
1766
|
+
f = message.getMessage();
|
|
1767
|
+
if (f.length > 0) {
|
|
1768
|
+
writer.writeString(
|
|
1769
|
+
1,
|
|
1770
|
+
f
|
|
1771
|
+
);
|
|
1772
|
+
}
|
|
1773
|
+
};
|
|
1774
|
+
|
|
1775
|
+
|
|
1776
|
+
/**
|
|
1777
|
+
* optional string message = 1;
|
|
1778
|
+
* @return {string}
|
|
1779
|
+
*/
|
|
1780
|
+
proto.Auth.AppDistributionProto.ConnectQrResponse.prototype.getMessage = function() {
|
|
1781
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1782
|
+
};
|
|
1783
|
+
|
|
1784
|
+
|
|
1785
|
+
/**
|
|
1786
|
+
* @param {string} value
|
|
1787
|
+
* @return {!proto.Auth.AppDistributionProto.ConnectQrResponse} returns this
|
|
1788
|
+
*/
|
|
1789
|
+
proto.Auth.AppDistributionProto.ConnectQrResponse.prototype.setMessage = function(value) {
|
|
1790
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1791
|
+
};
|
|
1792
|
+
|
|
1793
|
+
|
|
1338
1794
|
goog.object.extend(exports, proto.Auth);
|
|
@@ -40,12 +40,32 @@ type AppDistributionGRPCCheckQr = {
|
|
|
40
40
|
readonly responseType: typeof auth_app_distribution_pb.AppDistributionProto.CheckQrResponse;
|
|
41
41
|
};
|
|
42
42
|
|
|
43
|
+
type AppDistributionGRPCCheckQrV2 = {
|
|
44
|
+
readonly methodName: string;
|
|
45
|
+
readonly service: typeof AppDistributionGRPC;
|
|
46
|
+
readonly requestStream: false;
|
|
47
|
+
readonly responseStream: false;
|
|
48
|
+
readonly requestType: typeof auth_app_distribution_pb.AppDistributionProto.CheckQrRequest;
|
|
49
|
+
readonly responseType: typeof auth_app_distribution_pb.AppDistributionProto.CheckQrResponseV2;
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
type AppDistributionGRPCConnectQr = {
|
|
53
|
+
readonly methodName: string;
|
|
54
|
+
readonly service: typeof AppDistributionGRPC;
|
|
55
|
+
readonly requestStream: false;
|
|
56
|
+
readonly responseStream: false;
|
|
57
|
+
readonly requestType: typeof auth_app_distribution_pb.AppDistributionProto.ConnectQrRequest;
|
|
58
|
+
readonly responseType: typeof auth_app_distribution_pb.AppDistributionProto.ConnectQrResponse;
|
|
59
|
+
};
|
|
60
|
+
|
|
43
61
|
export class AppDistributionGRPC {
|
|
44
62
|
static readonly serviceName: string;
|
|
45
63
|
static readonly GetPhonePrefixes: AppDistributionGRPCGetPhonePrefixes;
|
|
46
64
|
static readonly GetClientsList: AppDistributionGRPCGetClientsList;
|
|
47
65
|
static readonly GetClientsListForAutoInvite: AppDistributionGRPCGetClientsListForAutoInvite;
|
|
48
66
|
static readonly CheckQr: AppDistributionGRPCCheckQr;
|
|
67
|
+
static readonly CheckQrV2: AppDistributionGRPCCheckQrV2;
|
|
68
|
+
static readonly ConnectQr: AppDistributionGRPCConnectQr;
|
|
49
69
|
}
|
|
50
70
|
|
|
51
71
|
export type ServiceError = { message: string, code: number; metadata: grpc.Metadata }
|
|
@@ -116,5 +136,23 @@ export class AppDistributionGRPCClient {
|
|
|
116
136
|
requestMessage: auth_app_distribution_pb.AppDistributionProto.CheckQrRequest,
|
|
117
137
|
callback: (error: ServiceError|null, responseMessage: auth_app_distribution_pb.AppDistributionProto.CheckQrResponse|null) => void
|
|
118
138
|
): UnaryResponse;
|
|
139
|
+
checkQrV2(
|
|
140
|
+
requestMessage: auth_app_distribution_pb.AppDistributionProto.CheckQrRequest,
|
|
141
|
+
metadata: grpc.Metadata,
|
|
142
|
+
callback: (error: ServiceError|null, responseMessage: auth_app_distribution_pb.AppDistributionProto.CheckQrResponseV2|null) => void
|
|
143
|
+
): UnaryResponse;
|
|
144
|
+
checkQrV2(
|
|
145
|
+
requestMessage: auth_app_distribution_pb.AppDistributionProto.CheckQrRequest,
|
|
146
|
+
callback: (error: ServiceError|null, responseMessage: auth_app_distribution_pb.AppDistributionProto.CheckQrResponseV2|null) => void
|
|
147
|
+
): UnaryResponse;
|
|
148
|
+
connectQr(
|
|
149
|
+
requestMessage: auth_app_distribution_pb.AppDistributionProto.ConnectQrRequest,
|
|
150
|
+
metadata: grpc.Metadata,
|
|
151
|
+
callback: (error: ServiceError|null, responseMessage: auth_app_distribution_pb.AppDistributionProto.ConnectQrResponse|null) => void
|
|
152
|
+
): UnaryResponse;
|
|
153
|
+
connectQr(
|
|
154
|
+
requestMessage: auth_app_distribution_pb.AppDistributionProto.ConnectQrRequest,
|
|
155
|
+
callback: (error: ServiceError|null, responseMessage: auth_app_distribution_pb.AppDistributionProto.ConnectQrResponse|null) => void
|
|
156
|
+
): UnaryResponse;
|
|
119
157
|
}
|
|
120
158
|
|
|
@@ -46,6 +46,24 @@ AppDistributionGRPC.CheckQr = {
|
|
|
46
46
|
responseType: auth_app_distribution_pb.AppDistributionProto.CheckQrResponse
|
|
47
47
|
};
|
|
48
48
|
|
|
49
|
+
AppDistributionGRPC.CheckQrV2 = {
|
|
50
|
+
methodName: "CheckQrV2",
|
|
51
|
+
service: AppDistributionGRPC,
|
|
52
|
+
requestStream: false,
|
|
53
|
+
responseStream: false,
|
|
54
|
+
requestType: auth_app_distribution_pb.AppDistributionProto.CheckQrRequest,
|
|
55
|
+
responseType: auth_app_distribution_pb.AppDistributionProto.CheckQrResponseV2
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
AppDistributionGRPC.ConnectQr = {
|
|
59
|
+
methodName: "ConnectQr",
|
|
60
|
+
service: AppDistributionGRPC,
|
|
61
|
+
requestStream: false,
|
|
62
|
+
responseStream: false,
|
|
63
|
+
requestType: auth_app_distribution_pb.AppDistributionProto.ConnectQrRequest,
|
|
64
|
+
responseType: auth_app_distribution_pb.AppDistributionProto.ConnectQrResponse
|
|
65
|
+
};
|
|
66
|
+
|
|
49
67
|
exports.AppDistributionGRPC = AppDistributionGRPC;
|
|
50
68
|
|
|
51
69
|
function AppDistributionGRPCClient(serviceHost, options) {
|
|
@@ -177,5 +195,67 @@ AppDistributionGRPCClient.prototype.checkQr = function checkQr(requestMessage, m
|
|
|
177
195
|
};
|
|
178
196
|
};
|
|
179
197
|
|
|
198
|
+
AppDistributionGRPCClient.prototype.checkQrV2 = function checkQrV2(requestMessage, metadata, callback) {
|
|
199
|
+
if (arguments.length === 2) {
|
|
200
|
+
callback = arguments[1];
|
|
201
|
+
}
|
|
202
|
+
var client = grpc.unary(AppDistributionGRPC.CheckQrV2, {
|
|
203
|
+
request: requestMessage,
|
|
204
|
+
host: this.serviceHost,
|
|
205
|
+
metadata: metadata,
|
|
206
|
+
transport: this.options.transport,
|
|
207
|
+
debug: this.options.debug,
|
|
208
|
+
onEnd: function (response) {
|
|
209
|
+
if (callback) {
|
|
210
|
+
if (response.status !== grpc.Code.OK) {
|
|
211
|
+
var err = new Error(response.statusMessage);
|
|
212
|
+
err.code = response.status;
|
|
213
|
+
err.metadata = response.trailers;
|
|
214
|
+
callback(err, null);
|
|
215
|
+
} else {
|
|
216
|
+
callback(null, response.message);
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
});
|
|
221
|
+
return {
|
|
222
|
+
cancel: function () {
|
|
223
|
+
callback = null;
|
|
224
|
+
client.close();
|
|
225
|
+
}
|
|
226
|
+
};
|
|
227
|
+
};
|
|
228
|
+
|
|
229
|
+
AppDistributionGRPCClient.prototype.connectQr = function connectQr(requestMessage, metadata, callback) {
|
|
230
|
+
if (arguments.length === 2) {
|
|
231
|
+
callback = arguments[1];
|
|
232
|
+
}
|
|
233
|
+
var client = grpc.unary(AppDistributionGRPC.ConnectQr, {
|
|
234
|
+
request: requestMessage,
|
|
235
|
+
host: this.serviceHost,
|
|
236
|
+
metadata: metadata,
|
|
237
|
+
transport: this.options.transport,
|
|
238
|
+
debug: this.options.debug,
|
|
239
|
+
onEnd: function (response) {
|
|
240
|
+
if (callback) {
|
|
241
|
+
if (response.status !== grpc.Code.OK) {
|
|
242
|
+
var err = new Error(response.statusMessage);
|
|
243
|
+
err.code = response.status;
|
|
244
|
+
err.metadata = response.trailers;
|
|
245
|
+
callback(err, null);
|
|
246
|
+
} else {
|
|
247
|
+
callback(null, response.message);
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
});
|
|
252
|
+
return {
|
|
253
|
+
cancel: function () {
|
|
254
|
+
callback = null;
|
|
255
|
+
client.close();
|
|
256
|
+
}
|
|
257
|
+
};
|
|
258
|
+
};
|
|
259
|
+
|
|
180
260
|
exports.AppDistributionGRPCClient = AppDistributionGRPCClient;
|
|
181
261
|
|
package/package.json
CHANGED
package/spic.asset_pb.d.ts
CHANGED
|
@@ -132,6 +132,9 @@ export namespace AssetProto {
|
|
|
132
132
|
getAssetType(): AssetProto.AssetTypeMap[keyof AssetProto.AssetTypeMap];
|
|
133
133
|
setAssetType(value: AssetProto.AssetTypeMap[keyof AssetProto.AssetTypeMap]): void;
|
|
134
134
|
|
|
135
|
+
getIsMaintenance(): boolean;
|
|
136
|
+
setIsMaintenance(value: boolean): void;
|
|
137
|
+
|
|
135
138
|
serializeBinary(): Uint8Array;
|
|
136
139
|
toObject(includeInstance?: boolean): CreateRequest.AsObject;
|
|
137
140
|
static toObject(includeInstance: boolean, msg: CreateRequest): CreateRequest.AsObject;
|
|
@@ -151,6 +154,7 @@ export namespace AssetProto {
|
|
|
151
154
|
groupId: string,
|
|
152
155
|
clientId: number,
|
|
153
156
|
assetType: AssetProto.AssetTypeMap[keyof AssetProto.AssetTypeMap],
|
|
157
|
+
isMaintenance: boolean,
|
|
154
158
|
}
|
|
155
159
|
}
|
|
156
160
|
|
|
@@ -216,6 +220,9 @@ export namespace AssetProto {
|
|
|
216
220
|
getAssetType(): AssetProto.AssetTypeMap[keyof AssetProto.AssetTypeMap];
|
|
217
221
|
setAssetType(value: AssetProto.AssetTypeMap[keyof AssetProto.AssetTypeMap]): void;
|
|
218
222
|
|
|
223
|
+
getIsMaintenance(): boolean;
|
|
224
|
+
setIsMaintenance(value: boolean): void;
|
|
225
|
+
|
|
219
226
|
serializeBinary(): Uint8Array;
|
|
220
227
|
toObject(includeInstance?: boolean): UpdateRequest.AsObject;
|
|
221
228
|
static toObject(includeInstance: boolean, msg: UpdateRequest): UpdateRequest.AsObject;
|
|
@@ -236,6 +243,7 @@ export namespace AssetProto {
|
|
|
236
243
|
groupId: string,
|
|
237
244
|
clientId: number,
|
|
238
245
|
assetType: AssetProto.AssetTypeMap[keyof AssetProto.AssetTypeMap],
|
|
246
|
+
isMaintenance: boolean,
|
|
239
247
|
}
|
|
240
248
|
}
|
|
241
249
|
|
package/spic.asset_pb.js
CHANGED
|
@@ -822,7 +822,8 @@ proto.Spic.AssetProto.CreateRequest.toObject = function(includeInstance, msg) {
|
|
|
822
822
|
image: (f = msg.getImage()) && google_protobuf_wrappers_pb.BytesValue.toObject(includeInstance, f),
|
|
823
823
|
groupId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
824
824
|
clientId: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
825
|
-
assetType: jspb.Message.getFieldWithDefault(msg, 7, 0)
|
|
825
|
+
assetType: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
826
|
+
isMaintenance: jspb.Message.getBooleanFieldWithDefault(msg, 8, false)
|
|
826
827
|
};
|
|
827
828
|
|
|
828
829
|
if (includeInstance) {
|
|
@@ -888,6 +889,10 @@ proto.Spic.AssetProto.CreateRequest.deserializeBinaryFromReader = function(msg,
|
|
|
888
889
|
var value = /** @type {!proto.Spic.AssetProto.AssetType} */ (reader.readEnum());
|
|
889
890
|
msg.setAssetType(value);
|
|
890
891
|
break;
|
|
892
|
+
case 8:
|
|
893
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
894
|
+
msg.setIsMaintenance(value);
|
|
895
|
+
break;
|
|
891
896
|
default:
|
|
892
897
|
reader.skipField();
|
|
893
898
|
break;
|
|
@@ -967,6 +972,13 @@ proto.Spic.AssetProto.CreateRequest.serializeBinaryToWriter = function(message,
|
|
|
967
972
|
f
|
|
968
973
|
);
|
|
969
974
|
}
|
|
975
|
+
f = message.getIsMaintenance();
|
|
976
|
+
if (f) {
|
|
977
|
+
writer.writeBool(
|
|
978
|
+
8,
|
|
979
|
+
f
|
|
980
|
+
);
|
|
981
|
+
}
|
|
970
982
|
};
|
|
971
983
|
|
|
972
984
|
|
|
@@ -1115,6 +1127,24 @@ proto.Spic.AssetProto.CreateRequest.prototype.setAssetType = function(value) {
|
|
|
1115
1127
|
};
|
|
1116
1128
|
|
|
1117
1129
|
|
|
1130
|
+
/**
|
|
1131
|
+
* optional bool is_maintenance = 8;
|
|
1132
|
+
* @return {boolean}
|
|
1133
|
+
*/
|
|
1134
|
+
proto.Spic.AssetProto.CreateRequest.prototype.getIsMaintenance = function() {
|
|
1135
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 8, false));
|
|
1136
|
+
};
|
|
1137
|
+
|
|
1138
|
+
|
|
1139
|
+
/**
|
|
1140
|
+
* @param {boolean} value
|
|
1141
|
+
* @return {!proto.Spic.AssetProto.CreateRequest} returns this
|
|
1142
|
+
*/
|
|
1143
|
+
proto.Spic.AssetProto.CreateRequest.prototype.setIsMaintenance = function(value) {
|
|
1144
|
+
return jspb.Message.setProto3BooleanField(this, 8, value);
|
|
1145
|
+
};
|
|
1146
|
+
|
|
1147
|
+
|
|
1118
1148
|
|
|
1119
1149
|
/**
|
|
1120
1150
|
* Oneof group definitions for this message. Each group defines the field
|
|
@@ -1376,7 +1406,8 @@ proto.Spic.AssetProto.UpdateRequest.toObject = function(includeInstance, msg) {
|
|
|
1376
1406
|
image: (f = msg.getImage()) && google_protobuf_wrappers_pb.BytesValue.toObject(includeInstance, f),
|
|
1377
1407
|
groupId: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
1378
1408
|
clientId: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
1379
|
-
assetType: jspb.Message.getFieldWithDefault(msg, 8, 0)
|
|
1409
|
+
assetType: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
1410
|
+
isMaintenance: jspb.Message.getBooleanFieldWithDefault(msg, 9, false)
|
|
1380
1411
|
};
|
|
1381
1412
|
|
|
1382
1413
|
if (includeInstance) {
|
|
@@ -1446,6 +1477,10 @@ proto.Spic.AssetProto.UpdateRequest.deserializeBinaryFromReader = function(msg,
|
|
|
1446
1477
|
var value = /** @type {!proto.Spic.AssetProto.AssetType} */ (reader.readEnum());
|
|
1447
1478
|
msg.setAssetType(value);
|
|
1448
1479
|
break;
|
|
1480
|
+
case 9:
|
|
1481
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
1482
|
+
msg.setIsMaintenance(value);
|
|
1483
|
+
break;
|
|
1449
1484
|
default:
|
|
1450
1485
|
reader.skipField();
|
|
1451
1486
|
break;
|
|
@@ -1532,6 +1567,13 @@ proto.Spic.AssetProto.UpdateRequest.serializeBinaryToWriter = function(message,
|
|
|
1532
1567
|
f
|
|
1533
1568
|
);
|
|
1534
1569
|
}
|
|
1570
|
+
f = message.getIsMaintenance();
|
|
1571
|
+
if (f) {
|
|
1572
|
+
writer.writeBool(
|
|
1573
|
+
9,
|
|
1574
|
+
f
|
|
1575
|
+
);
|
|
1576
|
+
}
|
|
1535
1577
|
};
|
|
1536
1578
|
|
|
1537
1579
|
|
|
@@ -1698,6 +1740,24 @@ proto.Spic.AssetProto.UpdateRequest.prototype.setAssetType = function(value) {
|
|
|
1698
1740
|
};
|
|
1699
1741
|
|
|
1700
1742
|
|
|
1743
|
+
/**
|
|
1744
|
+
* optional bool is_maintenance = 9;
|
|
1745
|
+
* @return {boolean}
|
|
1746
|
+
*/
|
|
1747
|
+
proto.Spic.AssetProto.UpdateRequest.prototype.getIsMaintenance = function() {
|
|
1748
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 9, false));
|
|
1749
|
+
};
|
|
1750
|
+
|
|
1751
|
+
|
|
1752
|
+
/**
|
|
1753
|
+
* @param {boolean} value
|
|
1754
|
+
* @return {!proto.Spic.AssetProto.UpdateRequest} returns this
|
|
1755
|
+
*/
|
|
1756
|
+
proto.Spic.AssetProto.UpdateRequest.prototype.setIsMaintenance = function(value) {
|
|
1757
|
+
return jspb.Message.setProto3BooleanField(this, 9, value);
|
|
1758
|
+
};
|
|
1759
|
+
|
|
1760
|
+
|
|
1701
1761
|
|
|
1702
1762
|
/**
|
|
1703
1763
|
* Oneof group definitions for this message. Each group defines the field
|