@aceplus/smartace-api 3.2.0-alpha.1 → 3.2.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
CHANGED
|
@@ -32,6 +32,9 @@ export namespace LocalAccountExtendedProto {
|
|
|
32
32
|
getAuthId(): number;
|
|
33
33
|
setAuthId(value: number): void;
|
|
34
34
|
|
|
35
|
+
getClientId(): number;
|
|
36
|
+
setClientId(value: number): void;
|
|
37
|
+
|
|
35
38
|
serializeBinary(): Uint8Array;
|
|
36
39
|
toObject(includeInstance?: boolean): RetrieveRequest.AsObject;
|
|
37
40
|
static toObject(includeInstance: boolean, msg: RetrieveRequest): RetrieveRequest.AsObject;
|
|
@@ -45,6 +48,7 @@ export namespace LocalAccountExtendedProto {
|
|
|
45
48
|
export namespace RetrieveRequest {
|
|
46
49
|
export type AsObject = {
|
|
47
50
|
authId: number,
|
|
51
|
+
clientId: number,
|
|
48
52
|
}
|
|
49
53
|
}
|
|
50
54
|
|
|
@@ -293,7 +293,8 @@ proto.Platform.LocalAccountExtendedProto.RetrieveRequest.prototype.toObject = fu
|
|
|
293
293
|
*/
|
|
294
294
|
proto.Platform.LocalAccountExtendedProto.RetrieveRequest.toObject = function(includeInstance, msg) {
|
|
295
295
|
var f, obj = {
|
|
296
|
-
authId: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
296
|
+
authId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
297
|
+
clientId: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
297
298
|
};
|
|
298
299
|
|
|
299
300
|
if (includeInstance) {
|
|
@@ -334,6 +335,10 @@ proto.Platform.LocalAccountExtendedProto.RetrieveRequest.deserializeBinaryFromRe
|
|
|
334
335
|
var value = /** @type {number} */ (reader.readInt64());
|
|
335
336
|
msg.setAuthId(value);
|
|
336
337
|
break;
|
|
338
|
+
case 2:
|
|
339
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
340
|
+
msg.setClientId(value);
|
|
341
|
+
break;
|
|
337
342
|
default:
|
|
338
343
|
reader.skipField();
|
|
339
344
|
break;
|
|
@@ -370,6 +375,13 @@ proto.Platform.LocalAccountExtendedProto.RetrieveRequest.serializeBinaryToWriter
|
|
|
370
375
|
f
|
|
371
376
|
);
|
|
372
377
|
}
|
|
378
|
+
f = message.getClientId();
|
|
379
|
+
if (f !== 0) {
|
|
380
|
+
writer.writeInt64(
|
|
381
|
+
2,
|
|
382
|
+
f
|
|
383
|
+
);
|
|
384
|
+
}
|
|
373
385
|
};
|
|
374
386
|
|
|
375
387
|
|
|
@@ -391,6 +403,24 @@ proto.Platform.LocalAccountExtendedProto.RetrieveRequest.prototype.setAuthId = f
|
|
|
391
403
|
};
|
|
392
404
|
|
|
393
405
|
|
|
406
|
+
/**
|
|
407
|
+
* optional int64 client_id = 2;
|
|
408
|
+
* @return {number}
|
|
409
|
+
*/
|
|
410
|
+
proto.Platform.LocalAccountExtendedProto.RetrieveRequest.prototype.getClientId = function() {
|
|
411
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
412
|
+
};
|
|
413
|
+
|
|
414
|
+
|
|
415
|
+
/**
|
|
416
|
+
* @param {number} value
|
|
417
|
+
* @return {!proto.Platform.LocalAccountExtendedProto.RetrieveRequest} returns this
|
|
418
|
+
*/
|
|
419
|
+
proto.Platform.LocalAccountExtendedProto.RetrieveRequest.prototype.setClientId = function(value) {
|
|
420
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
421
|
+
};
|
|
422
|
+
|
|
423
|
+
|
|
394
424
|
|
|
395
425
|
|
|
396
426
|
|
package/spic.cabinet_pb.d.ts
CHANGED
|
@@ -744,6 +744,54 @@ export namespace CabinetProto {
|
|
|
744
744
|
pagination?: platform_pagination_pb.PaginationProto.AsObject,
|
|
745
745
|
}
|
|
746
746
|
}
|
|
747
|
+
|
|
748
|
+
export class ExcelReportRequest extends jspb.Message {
|
|
749
|
+
getUid(): string;
|
|
750
|
+
setUid(value: string): void;
|
|
751
|
+
|
|
752
|
+
serializeBinary(): Uint8Array;
|
|
753
|
+
toObject(includeInstance?: boolean): ExcelReportRequest.AsObject;
|
|
754
|
+
static toObject(includeInstance: boolean, msg: ExcelReportRequest): ExcelReportRequest.AsObject;
|
|
755
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
756
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
757
|
+
static serializeBinaryToWriter(message: ExcelReportRequest, writer: jspb.BinaryWriter): void;
|
|
758
|
+
static deserializeBinary(bytes: Uint8Array): ExcelReportRequest;
|
|
759
|
+
static deserializeBinaryFromReader(message: ExcelReportRequest, reader: jspb.BinaryReader): ExcelReportRequest;
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
export namespace ExcelReportRequest {
|
|
763
|
+
export type AsObject = {
|
|
764
|
+
uid: string,
|
|
765
|
+
}
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
export class ExcelReportReply extends jspb.Message {
|
|
769
|
+
getUid(): string;
|
|
770
|
+
setUid(value: string): void;
|
|
771
|
+
|
|
772
|
+
getCount(): number;
|
|
773
|
+
setCount(value: number): void;
|
|
774
|
+
|
|
775
|
+
getData(): string;
|
|
776
|
+
setData(value: string): void;
|
|
777
|
+
|
|
778
|
+
serializeBinary(): Uint8Array;
|
|
779
|
+
toObject(includeInstance?: boolean): ExcelReportReply.AsObject;
|
|
780
|
+
static toObject(includeInstance: boolean, msg: ExcelReportReply): ExcelReportReply.AsObject;
|
|
781
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
782
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
783
|
+
static serializeBinaryToWriter(message: ExcelReportReply, writer: jspb.BinaryWriter): void;
|
|
784
|
+
static deserializeBinary(bytes: Uint8Array): ExcelReportReply;
|
|
785
|
+
static deserializeBinaryFromReader(message: ExcelReportReply, reader: jspb.BinaryReader): ExcelReportReply;
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
export namespace ExcelReportReply {
|
|
789
|
+
export type AsObject = {
|
|
790
|
+
uid: string,
|
|
791
|
+
count: number,
|
|
792
|
+
data: string,
|
|
793
|
+
}
|
|
794
|
+
}
|
|
747
795
|
}
|
|
748
796
|
|
|
749
797
|
export class Event extends jspb.Message {
|
package/spic.cabinet_pb.js
CHANGED
|
@@ -66,6 +66,8 @@ goog.exportSymbol('proto.Spic.CabinetProto.SearchReply', null, global);
|
|
|
66
66
|
goog.exportSymbol('proto.Spic.CabinetProto.SearchRequest', null, global);
|
|
67
67
|
goog.exportSymbol('proto.Spic.CabinetProto.SpicType', null, global);
|
|
68
68
|
goog.exportSymbol('proto.Spic.CabinetProto.State', null, global);
|
|
69
|
+
goog.exportSymbol('proto.Spic.CabinetProto.State.ExcelReportReply', null, global);
|
|
70
|
+
goog.exportSymbol('proto.Spic.CabinetProto.State.ExcelReportRequest', null, global);
|
|
69
71
|
goog.exportSymbol('proto.Spic.CabinetProto.State.SearchReply', null, global);
|
|
70
72
|
goog.exportSymbol('proto.Spic.CabinetProto.State.SearchRequest', null, global);
|
|
71
73
|
goog.exportSymbol('proto.Spic.CabinetProto.StatusType', null, global);
|
|
@@ -429,6 +431,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
429
431
|
*/
|
|
430
432
|
proto.Spic.CabinetProto.State.SearchReply.displayName = 'proto.Spic.CabinetProto.State.SearchReply';
|
|
431
433
|
}
|
|
434
|
+
/**
|
|
435
|
+
* Generated by JsPbCodeGenerator.
|
|
436
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
437
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
438
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
439
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
440
|
+
* valid.
|
|
441
|
+
* @extends {jspb.Message}
|
|
442
|
+
* @constructor
|
|
443
|
+
*/
|
|
444
|
+
proto.Spic.CabinetProto.State.ExcelReportRequest = function(opt_data) {
|
|
445
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
446
|
+
};
|
|
447
|
+
goog.inherits(proto.Spic.CabinetProto.State.ExcelReportRequest, jspb.Message);
|
|
448
|
+
if (goog.DEBUG && !COMPILED) {
|
|
449
|
+
/**
|
|
450
|
+
* @public
|
|
451
|
+
* @override
|
|
452
|
+
*/
|
|
453
|
+
proto.Spic.CabinetProto.State.ExcelReportRequest.displayName = 'proto.Spic.CabinetProto.State.ExcelReportRequest';
|
|
454
|
+
}
|
|
455
|
+
/**
|
|
456
|
+
* Generated by JsPbCodeGenerator.
|
|
457
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
458
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
459
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
460
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
461
|
+
* valid.
|
|
462
|
+
* @extends {jspb.Message}
|
|
463
|
+
* @constructor
|
|
464
|
+
*/
|
|
465
|
+
proto.Spic.CabinetProto.State.ExcelReportReply = function(opt_data) {
|
|
466
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
467
|
+
};
|
|
468
|
+
goog.inherits(proto.Spic.CabinetProto.State.ExcelReportReply, jspb.Message);
|
|
469
|
+
if (goog.DEBUG && !COMPILED) {
|
|
470
|
+
/**
|
|
471
|
+
* @public
|
|
472
|
+
* @override
|
|
473
|
+
*/
|
|
474
|
+
proto.Spic.CabinetProto.State.ExcelReportReply.displayName = 'proto.Spic.CabinetProto.State.ExcelReportReply';
|
|
475
|
+
}
|
|
432
476
|
/**
|
|
433
477
|
* Generated by JsPbCodeGenerator.
|
|
434
478
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -5168,6 +5212,326 @@ proto.Spic.CabinetProto.State.SearchReply.prototype.hasPagination = function() {
|
|
|
5168
5212
|
};
|
|
5169
5213
|
|
|
5170
5214
|
|
|
5215
|
+
|
|
5216
|
+
|
|
5217
|
+
|
|
5218
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5219
|
+
/**
|
|
5220
|
+
* Creates an object representation of this proto.
|
|
5221
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
5222
|
+
* Optional fields that are not set will be set to undefined.
|
|
5223
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
5224
|
+
* For the list of reserved names please see:
|
|
5225
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
5226
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
5227
|
+
* JSPB instance for transitional soy proto support:
|
|
5228
|
+
* http://goto/soy-param-migration
|
|
5229
|
+
* @return {!Object}
|
|
5230
|
+
*/
|
|
5231
|
+
proto.Spic.CabinetProto.State.ExcelReportRequest.prototype.toObject = function(opt_includeInstance) {
|
|
5232
|
+
return proto.Spic.CabinetProto.State.ExcelReportRequest.toObject(opt_includeInstance, this);
|
|
5233
|
+
};
|
|
5234
|
+
|
|
5235
|
+
|
|
5236
|
+
/**
|
|
5237
|
+
* Static version of the {@see toObject} method.
|
|
5238
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5239
|
+
* the JSPB instance for transitional soy proto support:
|
|
5240
|
+
* http://goto/soy-param-migration
|
|
5241
|
+
* @param {!proto.Spic.CabinetProto.State.ExcelReportRequest} msg The msg instance to transform.
|
|
5242
|
+
* @return {!Object}
|
|
5243
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5244
|
+
*/
|
|
5245
|
+
proto.Spic.CabinetProto.State.ExcelReportRequest.toObject = function(includeInstance, msg) {
|
|
5246
|
+
var f, obj = {
|
|
5247
|
+
uid: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
5248
|
+
};
|
|
5249
|
+
|
|
5250
|
+
if (includeInstance) {
|
|
5251
|
+
obj.$jspbMessageInstance = msg;
|
|
5252
|
+
}
|
|
5253
|
+
return obj;
|
|
5254
|
+
};
|
|
5255
|
+
}
|
|
5256
|
+
|
|
5257
|
+
|
|
5258
|
+
/**
|
|
5259
|
+
* Deserializes binary data (in protobuf wire format).
|
|
5260
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5261
|
+
* @return {!proto.Spic.CabinetProto.State.ExcelReportRequest}
|
|
5262
|
+
*/
|
|
5263
|
+
proto.Spic.CabinetProto.State.ExcelReportRequest.deserializeBinary = function(bytes) {
|
|
5264
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
5265
|
+
var msg = new proto.Spic.CabinetProto.State.ExcelReportRequest;
|
|
5266
|
+
return proto.Spic.CabinetProto.State.ExcelReportRequest.deserializeBinaryFromReader(msg, reader);
|
|
5267
|
+
};
|
|
5268
|
+
|
|
5269
|
+
|
|
5270
|
+
/**
|
|
5271
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
5272
|
+
* given reader into the given message object.
|
|
5273
|
+
* @param {!proto.Spic.CabinetProto.State.ExcelReportRequest} msg The message object to deserialize into.
|
|
5274
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5275
|
+
* @return {!proto.Spic.CabinetProto.State.ExcelReportRequest}
|
|
5276
|
+
*/
|
|
5277
|
+
proto.Spic.CabinetProto.State.ExcelReportRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
5278
|
+
while (reader.nextField()) {
|
|
5279
|
+
if (reader.isEndGroup()) {
|
|
5280
|
+
break;
|
|
5281
|
+
}
|
|
5282
|
+
var field = reader.getFieldNumber();
|
|
5283
|
+
switch (field) {
|
|
5284
|
+
case 1:
|
|
5285
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5286
|
+
msg.setUid(value);
|
|
5287
|
+
break;
|
|
5288
|
+
default:
|
|
5289
|
+
reader.skipField();
|
|
5290
|
+
break;
|
|
5291
|
+
}
|
|
5292
|
+
}
|
|
5293
|
+
return msg;
|
|
5294
|
+
};
|
|
5295
|
+
|
|
5296
|
+
|
|
5297
|
+
/**
|
|
5298
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
5299
|
+
* @return {!Uint8Array}
|
|
5300
|
+
*/
|
|
5301
|
+
proto.Spic.CabinetProto.State.ExcelReportRequest.prototype.serializeBinary = function() {
|
|
5302
|
+
var writer = new jspb.BinaryWriter();
|
|
5303
|
+
proto.Spic.CabinetProto.State.ExcelReportRequest.serializeBinaryToWriter(this, writer);
|
|
5304
|
+
return writer.getResultBuffer();
|
|
5305
|
+
};
|
|
5306
|
+
|
|
5307
|
+
|
|
5308
|
+
/**
|
|
5309
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
5310
|
+
* format), writing to the given BinaryWriter.
|
|
5311
|
+
* @param {!proto.Spic.CabinetProto.State.ExcelReportRequest} message
|
|
5312
|
+
* @param {!jspb.BinaryWriter} writer
|
|
5313
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5314
|
+
*/
|
|
5315
|
+
proto.Spic.CabinetProto.State.ExcelReportRequest.serializeBinaryToWriter = function(message, writer) {
|
|
5316
|
+
var f = undefined;
|
|
5317
|
+
f = message.getUid();
|
|
5318
|
+
if (f.length > 0) {
|
|
5319
|
+
writer.writeString(
|
|
5320
|
+
1,
|
|
5321
|
+
f
|
|
5322
|
+
);
|
|
5323
|
+
}
|
|
5324
|
+
};
|
|
5325
|
+
|
|
5326
|
+
|
|
5327
|
+
/**
|
|
5328
|
+
* optional string uid = 1;
|
|
5329
|
+
* @return {string}
|
|
5330
|
+
*/
|
|
5331
|
+
proto.Spic.CabinetProto.State.ExcelReportRequest.prototype.getUid = function() {
|
|
5332
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
5333
|
+
};
|
|
5334
|
+
|
|
5335
|
+
|
|
5336
|
+
/**
|
|
5337
|
+
* @param {string} value
|
|
5338
|
+
* @return {!proto.Spic.CabinetProto.State.ExcelReportRequest} returns this
|
|
5339
|
+
*/
|
|
5340
|
+
proto.Spic.CabinetProto.State.ExcelReportRequest.prototype.setUid = function(value) {
|
|
5341
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
5342
|
+
};
|
|
5343
|
+
|
|
5344
|
+
|
|
5345
|
+
|
|
5346
|
+
|
|
5347
|
+
|
|
5348
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5349
|
+
/**
|
|
5350
|
+
* Creates an object representation of this proto.
|
|
5351
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
5352
|
+
* Optional fields that are not set will be set to undefined.
|
|
5353
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
5354
|
+
* For the list of reserved names please see:
|
|
5355
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
5356
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
5357
|
+
* JSPB instance for transitional soy proto support:
|
|
5358
|
+
* http://goto/soy-param-migration
|
|
5359
|
+
* @return {!Object}
|
|
5360
|
+
*/
|
|
5361
|
+
proto.Spic.CabinetProto.State.ExcelReportReply.prototype.toObject = function(opt_includeInstance) {
|
|
5362
|
+
return proto.Spic.CabinetProto.State.ExcelReportReply.toObject(opt_includeInstance, this);
|
|
5363
|
+
};
|
|
5364
|
+
|
|
5365
|
+
|
|
5366
|
+
/**
|
|
5367
|
+
* Static version of the {@see toObject} method.
|
|
5368
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5369
|
+
* the JSPB instance for transitional soy proto support:
|
|
5370
|
+
* http://goto/soy-param-migration
|
|
5371
|
+
* @param {!proto.Spic.CabinetProto.State.ExcelReportReply} msg The msg instance to transform.
|
|
5372
|
+
* @return {!Object}
|
|
5373
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5374
|
+
*/
|
|
5375
|
+
proto.Spic.CabinetProto.State.ExcelReportReply.toObject = function(includeInstance, msg) {
|
|
5376
|
+
var f, obj = {
|
|
5377
|
+
uid: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
5378
|
+
count: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
5379
|
+
data: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
5380
|
+
};
|
|
5381
|
+
|
|
5382
|
+
if (includeInstance) {
|
|
5383
|
+
obj.$jspbMessageInstance = msg;
|
|
5384
|
+
}
|
|
5385
|
+
return obj;
|
|
5386
|
+
};
|
|
5387
|
+
}
|
|
5388
|
+
|
|
5389
|
+
|
|
5390
|
+
/**
|
|
5391
|
+
* Deserializes binary data (in protobuf wire format).
|
|
5392
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5393
|
+
* @return {!proto.Spic.CabinetProto.State.ExcelReportReply}
|
|
5394
|
+
*/
|
|
5395
|
+
proto.Spic.CabinetProto.State.ExcelReportReply.deserializeBinary = function(bytes) {
|
|
5396
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
5397
|
+
var msg = new proto.Spic.CabinetProto.State.ExcelReportReply;
|
|
5398
|
+
return proto.Spic.CabinetProto.State.ExcelReportReply.deserializeBinaryFromReader(msg, reader);
|
|
5399
|
+
};
|
|
5400
|
+
|
|
5401
|
+
|
|
5402
|
+
/**
|
|
5403
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
5404
|
+
* given reader into the given message object.
|
|
5405
|
+
* @param {!proto.Spic.CabinetProto.State.ExcelReportReply} msg The message object to deserialize into.
|
|
5406
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5407
|
+
* @return {!proto.Spic.CabinetProto.State.ExcelReportReply}
|
|
5408
|
+
*/
|
|
5409
|
+
proto.Spic.CabinetProto.State.ExcelReportReply.deserializeBinaryFromReader = function(msg, reader) {
|
|
5410
|
+
while (reader.nextField()) {
|
|
5411
|
+
if (reader.isEndGroup()) {
|
|
5412
|
+
break;
|
|
5413
|
+
}
|
|
5414
|
+
var field = reader.getFieldNumber();
|
|
5415
|
+
switch (field) {
|
|
5416
|
+
case 1:
|
|
5417
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5418
|
+
msg.setUid(value);
|
|
5419
|
+
break;
|
|
5420
|
+
case 2:
|
|
5421
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
5422
|
+
msg.setCount(value);
|
|
5423
|
+
break;
|
|
5424
|
+
case 3:
|
|
5425
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5426
|
+
msg.setData(value);
|
|
5427
|
+
break;
|
|
5428
|
+
default:
|
|
5429
|
+
reader.skipField();
|
|
5430
|
+
break;
|
|
5431
|
+
}
|
|
5432
|
+
}
|
|
5433
|
+
return msg;
|
|
5434
|
+
};
|
|
5435
|
+
|
|
5436
|
+
|
|
5437
|
+
/**
|
|
5438
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
5439
|
+
* @return {!Uint8Array}
|
|
5440
|
+
*/
|
|
5441
|
+
proto.Spic.CabinetProto.State.ExcelReportReply.prototype.serializeBinary = function() {
|
|
5442
|
+
var writer = new jspb.BinaryWriter();
|
|
5443
|
+
proto.Spic.CabinetProto.State.ExcelReportReply.serializeBinaryToWriter(this, writer);
|
|
5444
|
+
return writer.getResultBuffer();
|
|
5445
|
+
};
|
|
5446
|
+
|
|
5447
|
+
|
|
5448
|
+
/**
|
|
5449
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
5450
|
+
* format), writing to the given BinaryWriter.
|
|
5451
|
+
* @param {!proto.Spic.CabinetProto.State.ExcelReportReply} message
|
|
5452
|
+
* @param {!jspb.BinaryWriter} writer
|
|
5453
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5454
|
+
*/
|
|
5455
|
+
proto.Spic.CabinetProto.State.ExcelReportReply.serializeBinaryToWriter = function(message, writer) {
|
|
5456
|
+
var f = undefined;
|
|
5457
|
+
f = message.getUid();
|
|
5458
|
+
if (f.length > 0) {
|
|
5459
|
+
writer.writeString(
|
|
5460
|
+
1,
|
|
5461
|
+
f
|
|
5462
|
+
);
|
|
5463
|
+
}
|
|
5464
|
+
f = message.getCount();
|
|
5465
|
+
if (f !== 0) {
|
|
5466
|
+
writer.writeInt32(
|
|
5467
|
+
2,
|
|
5468
|
+
f
|
|
5469
|
+
);
|
|
5470
|
+
}
|
|
5471
|
+
f = message.getData();
|
|
5472
|
+
if (f.length > 0) {
|
|
5473
|
+
writer.writeString(
|
|
5474
|
+
3,
|
|
5475
|
+
f
|
|
5476
|
+
);
|
|
5477
|
+
}
|
|
5478
|
+
};
|
|
5479
|
+
|
|
5480
|
+
|
|
5481
|
+
/**
|
|
5482
|
+
* optional string uid = 1;
|
|
5483
|
+
* @return {string}
|
|
5484
|
+
*/
|
|
5485
|
+
proto.Spic.CabinetProto.State.ExcelReportReply.prototype.getUid = function() {
|
|
5486
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
5487
|
+
};
|
|
5488
|
+
|
|
5489
|
+
|
|
5490
|
+
/**
|
|
5491
|
+
* @param {string} value
|
|
5492
|
+
* @return {!proto.Spic.CabinetProto.State.ExcelReportReply} returns this
|
|
5493
|
+
*/
|
|
5494
|
+
proto.Spic.CabinetProto.State.ExcelReportReply.prototype.setUid = function(value) {
|
|
5495
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
5496
|
+
};
|
|
5497
|
+
|
|
5498
|
+
|
|
5499
|
+
/**
|
|
5500
|
+
* optional int32 count = 2;
|
|
5501
|
+
* @return {number}
|
|
5502
|
+
*/
|
|
5503
|
+
proto.Spic.CabinetProto.State.ExcelReportReply.prototype.getCount = function() {
|
|
5504
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
5505
|
+
};
|
|
5506
|
+
|
|
5507
|
+
|
|
5508
|
+
/**
|
|
5509
|
+
* @param {number} value
|
|
5510
|
+
* @return {!proto.Spic.CabinetProto.State.ExcelReportReply} returns this
|
|
5511
|
+
*/
|
|
5512
|
+
proto.Spic.CabinetProto.State.ExcelReportReply.prototype.setCount = function(value) {
|
|
5513
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
5514
|
+
};
|
|
5515
|
+
|
|
5516
|
+
|
|
5517
|
+
/**
|
|
5518
|
+
* optional string data = 3;
|
|
5519
|
+
* @return {string}
|
|
5520
|
+
*/
|
|
5521
|
+
proto.Spic.CabinetProto.State.ExcelReportReply.prototype.getData = function() {
|
|
5522
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
5523
|
+
};
|
|
5524
|
+
|
|
5525
|
+
|
|
5526
|
+
/**
|
|
5527
|
+
* @param {string} value
|
|
5528
|
+
* @return {!proto.Spic.CabinetProto.State.ExcelReportReply} returns this
|
|
5529
|
+
*/
|
|
5530
|
+
proto.Spic.CabinetProto.State.ExcelReportReply.prototype.setData = function(value) {
|
|
5531
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
5532
|
+
};
|
|
5533
|
+
|
|
5534
|
+
|
|
5171
5535
|
/**
|
|
5172
5536
|
* optional string id = 1;
|
|
5173
5537
|
* @return {string}
|
|
@@ -86,6 +86,15 @@ type CabinetGRPCSearchStates = {
|
|
|
86
86
|
readonly responseType: typeof spic_cabinet_pb.CabinetProto.State.SearchReply;
|
|
87
87
|
};
|
|
88
88
|
|
|
89
|
+
type CabinetGRPCStateExcelReport = {
|
|
90
|
+
readonly methodName: string;
|
|
91
|
+
readonly service: typeof CabinetGRPC;
|
|
92
|
+
readonly requestStream: false;
|
|
93
|
+
readonly responseStream: false;
|
|
94
|
+
readonly requestType: typeof spic_cabinet_pb.CabinetProto.State.ExcelReportRequest;
|
|
95
|
+
readonly responseType: typeof spic_cabinet_pb.CabinetProto.State.ExcelReportReply;
|
|
96
|
+
};
|
|
97
|
+
|
|
89
98
|
type CabinetGRPCSearchEvents = {
|
|
90
99
|
readonly methodName: string;
|
|
91
100
|
readonly service: typeof CabinetGRPC;
|
|
@@ -133,6 +142,7 @@ export class CabinetGRPC {
|
|
|
133
142
|
static readonly LocationSearch: CabinetGRPCLocationSearch;
|
|
134
143
|
static readonly ReplaceBattery: CabinetGRPCReplaceBattery;
|
|
135
144
|
static readonly SearchStates: CabinetGRPCSearchStates;
|
|
145
|
+
static readonly StateExcelReport: CabinetGRPCStateExcelReport;
|
|
136
146
|
static readonly SearchEvents: CabinetGRPCSearchEvents;
|
|
137
147
|
static readonly CreateOpenRequest: CabinetGRPCCreateOpenRequest;
|
|
138
148
|
static readonly SearchOpenRequests: CabinetGRPCSearchOpenRequests;
|
|
@@ -286,6 +296,15 @@ export class CabinetGRPCClient {
|
|
|
286
296
|
requestMessage: spic_cabinet_pb.CabinetProto.State.SearchRequest,
|
|
287
297
|
callback: (error: ServiceError|null, responseMessage: spic_cabinet_pb.CabinetProto.State.SearchReply|null) => void
|
|
288
298
|
): UnaryResponse;
|
|
299
|
+
stateExcelReport(
|
|
300
|
+
requestMessage: spic_cabinet_pb.CabinetProto.State.ExcelReportRequest,
|
|
301
|
+
metadata: grpc.Metadata,
|
|
302
|
+
callback: (error: ServiceError|null, responseMessage: spic_cabinet_pb.CabinetProto.State.ExcelReportReply|null) => void
|
|
303
|
+
): UnaryResponse;
|
|
304
|
+
stateExcelReport(
|
|
305
|
+
requestMessage: spic_cabinet_pb.CabinetProto.State.ExcelReportRequest,
|
|
306
|
+
callback: (error: ServiceError|null, responseMessage: spic_cabinet_pb.CabinetProto.State.ExcelReportReply|null) => void
|
|
307
|
+
): UnaryResponse;
|
|
289
308
|
searchEvents(
|
|
290
309
|
requestMessage: spic_cabinet_pb.CabinetProto.Event.SearchRequest,
|
|
291
310
|
metadata: grpc.Metadata,
|
|
@@ -92,6 +92,15 @@ CabinetGRPC.SearchStates = {
|
|
|
92
92
|
responseType: spic_cabinet_pb.CabinetProto.State.SearchReply
|
|
93
93
|
};
|
|
94
94
|
|
|
95
|
+
CabinetGRPC.StateExcelReport = {
|
|
96
|
+
methodName: "StateExcelReport",
|
|
97
|
+
service: CabinetGRPC,
|
|
98
|
+
requestStream: false,
|
|
99
|
+
responseStream: false,
|
|
100
|
+
requestType: spic_cabinet_pb.CabinetProto.State.ExcelReportRequest,
|
|
101
|
+
responseType: spic_cabinet_pb.CabinetProto.State.ExcelReportReply
|
|
102
|
+
};
|
|
103
|
+
|
|
95
104
|
CabinetGRPC.SearchEvents = {
|
|
96
105
|
methodName: "SearchEvents",
|
|
97
106
|
service: CabinetGRPC,
|
|
@@ -414,6 +423,37 @@ CabinetGRPCClient.prototype.searchStates = function searchStates(requestMessage,
|
|
|
414
423
|
};
|
|
415
424
|
};
|
|
416
425
|
|
|
426
|
+
CabinetGRPCClient.prototype.stateExcelReport = function stateExcelReport(requestMessage, metadata, callback) {
|
|
427
|
+
if (arguments.length === 2) {
|
|
428
|
+
callback = arguments[1];
|
|
429
|
+
}
|
|
430
|
+
var client = grpc.unary(CabinetGRPC.StateExcelReport, {
|
|
431
|
+
request: requestMessage,
|
|
432
|
+
host: this.serviceHost,
|
|
433
|
+
metadata: metadata,
|
|
434
|
+
transport: this.options.transport,
|
|
435
|
+
debug: this.options.debug,
|
|
436
|
+
onEnd: function (response) {
|
|
437
|
+
if (callback) {
|
|
438
|
+
if (response.status !== grpc.Code.OK) {
|
|
439
|
+
var err = new Error(response.statusMessage);
|
|
440
|
+
err.code = response.status;
|
|
441
|
+
err.metadata = response.trailers;
|
|
442
|
+
callback(err, null);
|
|
443
|
+
} else {
|
|
444
|
+
callback(null, response.message);
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
});
|
|
449
|
+
return {
|
|
450
|
+
cancel: function () {
|
|
451
|
+
callback = null;
|
|
452
|
+
client.close();
|
|
453
|
+
}
|
|
454
|
+
};
|
|
455
|
+
};
|
|
456
|
+
|
|
417
457
|
CabinetGRPCClient.prototype.searchEvents = function searchEvents(requestMessage, metadata, callback) {
|
|
418
458
|
if (arguments.length === 2) {
|
|
419
459
|
callback = arguments[1];
|