@sniipwebmaster/bill-service-client-grpcweb 21.24.7472 → 21.25.7489

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.
@@ -2474,6 +2474,86 @@ proto.sniipbillapi.SniipBillAPIServicePromiseClient.prototype.lockBill =
2474
2474
  };
2475
2475
 
2476
2476
 
2477
+ /**
2478
+ * @const
2479
+ * @type {!grpc.web.MethodDescriptor<
2480
+ * !proto.sniipbillapi.LockBillsRequest,
2481
+ * !proto.sniipbillapi.ResponseCode>}
2482
+ */
2483
+ const methodDescriptor_SniipBillAPIService_LockBills = new grpc.web.MethodDescriptor(
2484
+ '/sniipbillapi.SniipBillAPIService/LockBills',
2485
+ grpc.web.MethodType.UNARY,
2486
+ proto.sniipbillapi.LockBillsRequest,
2487
+ proto.sniipbillapi.ResponseCode,
2488
+ /**
2489
+ * @param {!proto.sniipbillapi.LockBillsRequest} request
2490
+ * @return {!Uint8Array}
2491
+ */
2492
+ function(request) {
2493
+ return request.serializeBinary();
2494
+ },
2495
+ proto.sniipbillapi.ResponseCode.deserializeBinary
2496
+ );
2497
+
2498
+
2499
+ /**
2500
+ * @const
2501
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
2502
+ * !proto.sniipbillapi.LockBillsRequest,
2503
+ * !proto.sniipbillapi.ResponseCode>}
2504
+ */
2505
+ const methodInfo_SniipBillAPIService_LockBills = new grpc.web.AbstractClientBase.MethodInfo(
2506
+ proto.sniipbillapi.ResponseCode,
2507
+ /**
2508
+ * @param {!proto.sniipbillapi.LockBillsRequest} request
2509
+ * @return {!Uint8Array}
2510
+ */
2511
+ function(request) {
2512
+ return request.serializeBinary();
2513
+ },
2514
+ proto.sniipbillapi.ResponseCode.deserializeBinary
2515
+ );
2516
+
2517
+
2518
+ /**
2519
+ * @param {!proto.sniipbillapi.LockBillsRequest} request The
2520
+ * request proto
2521
+ * @param {?Object<string, string>} metadata User defined
2522
+ * call metadata
2523
+ * @param {function(?grpc.web.Error, ?proto.sniipbillapi.ResponseCode)}
2524
+ * callback The callback function(error, response)
2525
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipbillapi.ResponseCode>|undefined}
2526
+ * The XHR Node Readable Stream
2527
+ */
2528
+ proto.sniipbillapi.SniipBillAPIServiceClient.prototype.lockBills =
2529
+ function(request, metadata, callback) {
2530
+ return this.client_.rpcCall(this.hostname_ +
2531
+ '/sniipbillapi.SniipBillAPIService/LockBills',
2532
+ request,
2533
+ metadata || {},
2534
+ methodDescriptor_SniipBillAPIService_LockBills,
2535
+ callback);
2536
+ };
2537
+
2538
+
2539
+ /**
2540
+ * @param {!proto.sniipbillapi.LockBillsRequest} request The
2541
+ * request proto
2542
+ * @param {?Object<string, string>} metadata User defined
2543
+ * call metadata
2544
+ * @return {!Promise<!proto.sniipbillapi.ResponseCode>}
2545
+ * Promise that resolves to the response
2546
+ */
2547
+ proto.sniipbillapi.SniipBillAPIServicePromiseClient.prototype.lockBills =
2548
+ function(request, metadata) {
2549
+ return this.client_.unaryCall(this.hostname_ +
2550
+ '/sniipbillapi.SniipBillAPIService/LockBills',
2551
+ request,
2552
+ metadata || {},
2553
+ methodDescriptor_SniipBillAPIService_LockBills);
2554
+ };
2555
+
2556
+
2477
2557
  /**
2478
2558
  * @const
2479
2559
  * @type {!grpc.web.MethodDescriptor<
@@ -80,6 +80,8 @@ goog.exportSymbol('proto.sniipbillapi.ItemPaymentDetailsResponse', null, global)
80
80
  goog.exportSymbol('proto.sniipbillapi.LinkAnonymousBillRequest', null, global);
81
81
  goog.exportSymbol('proto.sniipbillapi.LinkedAnomymousBillResponse', null, global);
82
82
  goog.exportSymbol('proto.sniipbillapi.LockBillRequest', null, global);
83
+ goog.exportSymbol('proto.sniipbillapi.LockBillsData', null, global);
84
+ goog.exportSymbol('proto.sniipbillapi.LockBillsRequest', null, global);
83
85
  goog.exportSymbol('proto.sniipbillapi.MarkBillAsPaidRequest', null, global);
84
86
  goog.exportSymbol('proto.sniipbillapi.MarkBillAsUnpaidRequest', null, global);
85
87
  goog.exportSymbol('proto.sniipbillapi.Mbill', null, global);
@@ -18338,6 +18340,355 @@ proto.sniipbillapi.LockBillRequest.prototype.setBillid = function(value) {
18338
18340
 
18339
18341
 
18340
18342
 
18343
+ /**
18344
+ * Generated by JsPbCodeGenerator.
18345
+ * @param {Array=} opt_data Optional initial data array, typically from a
18346
+ * server response, or constructed directly in Javascript. The array is used
18347
+ * in place and becomes part of the constructed object. It is not cloned.
18348
+ * If no data is provided, the constructed object will be empty, but still
18349
+ * valid.
18350
+ * @extends {jspb.Message}
18351
+ * @constructor
18352
+ */
18353
+ proto.sniipbillapi.LockBillsData = function(opt_data) {
18354
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.sniipbillapi.LockBillsData.repeatedFields_, null);
18355
+ };
18356
+ goog.inherits(proto.sniipbillapi.LockBillsData, jspb.Message);
18357
+ if (goog.DEBUG && !COMPILED) {
18358
+ proto.sniipbillapi.LockBillsData.displayName = 'proto.sniipbillapi.LockBillsData';
18359
+ }
18360
+ /**
18361
+ * List of repeated fields within this message type.
18362
+ * @private {!Array<number>}
18363
+ * @const
18364
+ */
18365
+ proto.sniipbillapi.LockBillsData.repeatedFields_ = [1];
18366
+
18367
+
18368
+
18369
+ if (jspb.Message.GENERATE_TO_OBJECT) {
18370
+ /**
18371
+ * Creates an object representation of this proto suitable for use in Soy templates.
18372
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
18373
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
18374
+ * For the list of reserved names please see:
18375
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
18376
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
18377
+ * for transitional soy proto support: http://goto/soy-param-migration
18378
+ * @return {!Object}
18379
+ */
18380
+ proto.sniipbillapi.LockBillsData.prototype.toObject = function(opt_includeInstance) {
18381
+ return proto.sniipbillapi.LockBillsData.toObject(opt_includeInstance, this);
18382
+ };
18383
+
18384
+
18385
+ /**
18386
+ * Static version of the {@see toObject} method.
18387
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
18388
+ * instance for transitional soy proto support:
18389
+ * http://goto/soy-param-migration
18390
+ * @param {!proto.sniipbillapi.LockBillsData} msg The msg instance to transform.
18391
+ * @return {!Object}
18392
+ */
18393
+ proto.sniipbillapi.LockBillsData.toObject = function(includeInstance, msg) {
18394
+ var f, obj = {
18395
+ billidsList: jspb.Message.getField(msg, 1)
18396
+ };
18397
+
18398
+ if (includeInstance) {
18399
+ obj.$jspbMessageInstance = msg;
18400
+ }
18401
+ return obj;
18402
+ };
18403
+ }
18404
+
18405
+
18406
+ /**
18407
+ * Deserializes binary data (in protobuf wire format).
18408
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
18409
+ * @return {!proto.sniipbillapi.LockBillsData}
18410
+ */
18411
+ proto.sniipbillapi.LockBillsData.deserializeBinary = function(bytes) {
18412
+ var reader = new jspb.BinaryReader(bytes);
18413
+ var msg = new proto.sniipbillapi.LockBillsData;
18414
+ return proto.sniipbillapi.LockBillsData.deserializeBinaryFromReader(msg, reader);
18415
+ };
18416
+
18417
+
18418
+ /**
18419
+ * Deserializes binary data (in protobuf wire format) from the
18420
+ * given reader into the given message object.
18421
+ * @param {!proto.sniipbillapi.LockBillsData} msg The message object to deserialize into.
18422
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
18423
+ * @return {!proto.sniipbillapi.LockBillsData}
18424
+ */
18425
+ proto.sniipbillapi.LockBillsData.deserializeBinaryFromReader = function(msg, reader) {
18426
+ while (reader.nextField()) {
18427
+ if (reader.isEndGroup()) {
18428
+ break;
18429
+ }
18430
+ var field = reader.getFieldNumber();
18431
+ switch (field) {
18432
+ case 1:
18433
+ var value = /** @type {!Array.<number>} */ (reader.readPackedInt64());
18434
+ msg.setBillidsList(value);
18435
+ break;
18436
+ default:
18437
+ reader.skipField();
18438
+ break;
18439
+ }
18440
+ }
18441
+ return msg;
18442
+ };
18443
+
18444
+
18445
+ /**
18446
+ * Class method variant: serializes the given message to binary data
18447
+ * (in protobuf wire format), writing to the given BinaryWriter.
18448
+ * @param {!proto.sniipbillapi.LockBillsData} message
18449
+ * @param {!jspb.BinaryWriter} writer
18450
+ */
18451
+ proto.sniipbillapi.LockBillsData.serializeBinaryToWriter = function(message, writer) {
18452
+ message.serializeBinaryToWriter(writer);
18453
+ };
18454
+
18455
+
18456
+ /**
18457
+ * Serializes the message to binary data (in protobuf wire format).
18458
+ * @return {!Uint8Array}
18459
+ */
18460
+ proto.sniipbillapi.LockBillsData.prototype.serializeBinary = function() {
18461
+ var writer = new jspb.BinaryWriter();
18462
+ this.serializeBinaryToWriter(writer);
18463
+ return writer.getResultBuffer();
18464
+ };
18465
+
18466
+
18467
+ /**
18468
+ * Serializes the message to binary data (in protobuf wire format),
18469
+ * writing to the given BinaryWriter.
18470
+ * @param {!jspb.BinaryWriter} writer
18471
+ */
18472
+ proto.sniipbillapi.LockBillsData.prototype.serializeBinaryToWriter = function (writer) {
18473
+ var f = undefined;
18474
+ f = this.getBillidsList();
18475
+ if (f.length > 0) {
18476
+ writer.writePackedInt64(
18477
+ 1,
18478
+ f
18479
+ );
18480
+ }
18481
+ };
18482
+
18483
+
18484
+ /**
18485
+ * Creates a deep clone of this proto. No data is shared with the original.
18486
+ * @return {!proto.sniipbillapi.LockBillsData} The clone.
18487
+ */
18488
+ proto.sniipbillapi.LockBillsData.prototype.cloneMessage = function() {
18489
+ return /** @type {!proto.sniipbillapi.LockBillsData} */ (jspb.Message.cloneMessage(this));
18490
+ };
18491
+
18492
+
18493
+ /**
18494
+ * repeated int64 billIds = 1;
18495
+ * If you change this array by adding, removing or replacing elements, or if you
18496
+ * replace the array itself, then you must call the setter to update it.
18497
+ * @return {!Array.<number>}
18498
+ */
18499
+ proto.sniipbillapi.LockBillsData.prototype.getBillidsList = function() {
18500
+ return /** @type {!Array.<number>} */ (jspb.Message.getField(this, 1));
18501
+ };
18502
+
18503
+
18504
+ /** @param {Array.<number>} value */
18505
+ proto.sniipbillapi.LockBillsData.prototype.setBillidsList = function(value) {
18506
+ jspb.Message.setField(this, 1, value || []);
18507
+ };
18508
+
18509
+
18510
+ proto.sniipbillapi.LockBillsData.prototype.clearBillidsList = function() {
18511
+ jspb.Message.setField(this, 1, []);
18512
+ };
18513
+
18514
+
18515
+
18516
+ /**
18517
+ * Generated by JsPbCodeGenerator.
18518
+ * @param {Array=} opt_data Optional initial data array, typically from a
18519
+ * server response, or constructed directly in Javascript. The array is used
18520
+ * in place and becomes part of the constructed object. It is not cloned.
18521
+ * If no data is provided, the constructed object will be empty, but still
18522
+ * valid.
18523
+ * @extends {jspb.Message}
18524
+ * @constructor
18525
+ */
18526
+ proto.sniipbillapi.LockBillsRequest = function(opt_data) {
18527
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
18528
+ };
18529
+ goog.inherits(proto.sniipbillapi.LockBillsRequest, jspb.Message);
18530
+ if (goog.DEBUG && !COMPILED) {
18531
+ proto.sniipbillapi.LockBillsRequest.displayName = 'proto.sniipbillapi.LockBillsRequest';
18532
+ }
18533
+
18534
+
18535
+ if (jspb.Message.GENERATE_TO_OBJECT) {
18536
+ /**
18537
+ * Creates an object representation of this proto suitable for use in Soy templates.
18538
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
18539
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
18540
+ * For the list of reserved names please see:
18541
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
18542
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
18543
+ * for transitional soy proto support: http://goto/soy-param-migration
18544
+ * @return {!Object}
18545
+ */
18546
+ proto.sniipbillapi.LockBillsRequest.prototype.toObject = function(opt_includeInstance) {
18547
+ return proto.sniipbillapi.LockBillsRequest.toObject(opt_includeInstance, this);
18548
+ };
18549
+
18550
+
18551
+ /**
18552
+ * Static version of the {@see toObject} method.
18553
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
18554
+ * instance for transitional soy proto support:
18555
+ * http://goto/soy-param-migration
18556
+ * @param {!proto.sniipbillapi.LockBillsRequest} msg The msg instance to transform.
18557
+ * @return {!Object}
18558
+ */
18559
+ proto.sniipbillapi.LockBillsRequest.toObject = function(includeInstance, msg) {
18560
+ var f, obj = {
18561
+ data: (f = msg.getData()) && proto.sniipbillapi.LockBillsData.toObject(includeInstance, f)
18562
+ };
18563
+
18564
+ if (includeInstance) {
18565
+ obj.$jspbMessageInstance = msg;
18566
+ }
18567
+ return obj;
18568
+ };
18569
+ }
18570
+
18571
+
18572
+ /**
18573
+ * Deserializes binary data (in protobuf wire format).
18574
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
18575
+ * @return {!proto.sniipbillapi.LockBillsRequest}
18576
+ */
18577
+ proto.sniipbillapi.LockBillsRequest.deserializeBinary = function(bytes) {
18578
+ var reader = new jspb.BinaryReader(bytes);
18579
+ var msg = new proto.sniipbillapi.LockBillsRequest;
18580
+ return proto.sniipbillapi.LockBillsRequest.deserializeBinaryFromReader(msg, reader);
18581
+ };
18582
+
18583
+
18584
+ /**
18585
+ * Deserializes binary data (in protobuf wire format) from the
18586
+ * given reader into the given message object.
18587
+ * @param {!proto.sniipbillapi.LockBillsRequest} msg The message object to deserialize into.
18588
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
18589
+ * @return {!proto.sniipbillapi.LockBillsRequest}
18590
+ */
18591
+ proto.sniipbillapi.LockBillsRequest.deserializeBinaryFromReader = function(msg, reader) {
18592
+ while (reader.nextField()) {
18593
+ if (reader.isEndGroup()) {
18594
+ break;
18595
+ }
18596
+ var field = reader.getFieldNumber();
18597
+ switch (field) {
18598
+ case 1:
18599
+ var value = new proto.sniipbillapi.LockBillsData;
18600
+ reader.readMessage(value,proto.sniipbillapi.LockBillsData.deserializeBinaryFromReader);
18601
+ msg.setData(value);
18602
+ break;
18603
+ default:
18604
+ reader.skipField();
18605
+ break;
18606
+ }
18607
+ }
18608
+ return msg;
18609
+ };
18610
+
18611
+
18612
+ /**
18613
+ * Class method variant: serializes the given message to binary data
18614
+ * (in protobuf wire format), writing to the given BinaryWriter.
18615
+ * @param {!proto.sniipbillapi.LockBillsRequest} message
18616
+ * @param {!jspb.BinaryWriter} writer
18617
+ */
18618
+ proto.sniipbillapi.LockBillsRequest.serializeBinaryToWriter = function(message, writer) {
18619
+ message.serializeBinaryToWriter(writer);
18620
+ };
18621
+
18622
+
18623
+ /**
18624
+ * Serializes the message to binary data (in protobuf wire format).
18625
+ * @return {!Uint8Array}
18626
+ */
18627
+ proto.sniipbillapi.LockBillsRequest.prototype.serializeBinary = function() {
18628
+ var writer = new jspb.BinaryWriter();
18629
+ this.serializeBinaryToWriter(writer);
18630
+ return writer.getResultBuffer();
18631
+ };
18632
+
18633
+
18634
+ /**
18635
+ * Serializes the message to binary data (in protobuf wire format),
18636
+ * writing to the given BinaryWriter.
18637
+ * @param {!jspb.BinaryWriter} writer
18638
+ */
18639
+ proto.sniipbillapi.LockBillsRequest.prototype.serializeBinaryToWriter = function (writer) {
18640
+ var f = undefined;
18641
+ f = this.getData();
18642
+ if (f != null) {
18643
+ writer.writeMessage(
18644
+ 1,
18645
+ f,
18646
+ proto.sniipbillapi.LockBillsData.serializeBinaryToWriter
18647
+ );
18648
+ }
18649
+ };
18650
+
18651
+
18652
+ /**
18653
+ * Creates a deep clone of this proto. No data is shared with the original.
18654
+ * @return {!proto.sniipbillapi.LockBillsRequest} The clone.
18655
+ */
18656
+ proto.sniipbillapi.LockBillsRequest.prototype.cloneMessage = function() {
18657
+ return /** @type {!proto.sniipbillapi.LockBillsRequest} */ (jspb.Message.cloneMessage(this));
18658
+ };
18659
+
18660
+
18661
+ /**
18662
+ * optional LockBillsData data = 1;
18663
+ * @return {proto.sniipbillapi.LockBillsData}
18664
+ */
18665
+ proto.sniipbillapi.LockBillsRequest.prototype.getData = function() {
18666
+ return /** @type{proto.sniipbillapi.LockBillsData} */ (
18667
+ jspb.Message.getWrapperField(this, proto.sniipbillapi.LockBillsData, 1));
18668
+ };
18669
+
18670
+
18671
+ /** @param {proto.sniipbillapi.LockBillsData|undefined} value */
18672
+ proto.sniipbillapi.LockBillsRequest.prototype.setData = function(value) {
18673
+ jspb.Message.setWrapperField(this, 1, value);
18674
+ };
18675
+
18676
+
18677
+ proto.sniipbillapi.LockBillsRequest.prototype.clearData = function() {
18678
+ this.setData(undefined);
18679
+ };
18680
+
18681
+
18682
+ /**
18683
+ * Returns whether this field is set.
18684
+ * @return{!boolean}
18685
+ */
18686
+ proto.sniipbillapi.LockBillsRequest.prototype.hasData = function() {
18687
+ return jspb.Message.getField(this, 1) != null;
18688
+ };
18689
+
18690
+
18691
+
18341
18692
  /**
18342
18693
  * Generated by JsPbCodeGenerator.
18343
18694
  * @param {Array=} opt_data Optional initial data array, typically from a
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/bill-service-client-grpcweb",
3
- "version": "21.24.7472",
3
+ "version": "21.25.7489",
4
4
  "description": "bill-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",