@sniipwebmaster/bill-service-client-grpcweb 26.1.14819 → 26.2.14834

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.
@@ -4836,5 +4836,66 @@ proto.sniipbillapi.SniipBillAPIServicePromiseClient.prototype.archiveBillFromXer
4836
4836
  };
4837
4837
 
4838
4838
 
4839
+ /**
4840
+ * @const
4841
+ * @type {!grpc.web.MethodDescriptor<
4842
+ * !proto.sniipbillapi.CheckUserBillerIdsRequest,
4843
+ * !proto.sniipbillapi.CheckUserBillerIdsResponse>}
4844
+ */
4845
+ const methodDescriptor_SniipBillAPIService_CheckUserBillerIds = new grpc.web.MethodDescriptor(
4846
+ '/sniipbillapi.SniipBillAPIService/CheckUserBillerIds',
4847
+ grpc.web.MethodType.UNARY,
4848
+ proto.sniipbillapi.CheckUserBillerIdsRequest,
4849
+ proto.sniipbillapi.CheckUserBillerIdsResponse,
4850
+ /**
4851
+ * @param {!proto.sniipbillapi.CheckUserBillerIdsRequest} request
4852
+ * @return {!Uint8Array}
4853
+ */
4854
+ function(request) {
4855
+ return request.serializeBinary();
4856
+ },
4857
+ proto.sniipbillapi.CheckUserBillerIdsResponse.deserializeBinary
4858
+ );
4859
+
4860
+
4861
+ /**
4862
+ * @param {!proto.sniipbillapi.CheckUserBillerIdsRequest} request The
4863
+ * request proto
4864
+ * @param {?Object<string, string>} metadata User defined
4865
+ * call metadata
4866
+ * @param {function(?grpc.web.RpcError, ?proto.sniipbillapi.CheckUserBillerIdsResponse)}
4867
+ * callback The callback function(error, response)
4868
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipbillapi.CheckUserBillerIdsResponse>|undefined}
4869
+ * The XHR Node Readable Stream
4870
+ */
4871
+ proto.sniipbillapi.SniipBillAPIServiceClient.prototype.checkUserBillerIds =
4872
+ function(request, metadata, callback) {
4873
+ return this.client_.rpcCall(this.hostname_ +
4874
+ '/sniipbillapi.SniipBillAPIService/CheckUserBillerIds',
4875
+ request,
4876
+ metadata || {},
4877
+ methodDescriptor_SniipBillAPIService_CheckUserBillerIds,
4878
+ callback);
4879
+ };
4880
+
4881
+
4882
+ /**
4883
+ * @param {!proto.sniipbillapi.CheckUserBillerIdsRequest} request The
4884
+ * request proto
4885
+ * @param {?Object<string, string>=} metadata User defined
4886
+ * call metadata
4887
+ * @return {!Promise<!proto.sniipbillapi.CheckUserBillerIdsResponse>}
4888
+ * Promise that resolves to the response
4889
+ */
4890
+ proto.sniipbillapi.SniipBillAPIServicePromiseClient.prototype.checkUserBillerIds =
4891
+ function(request, metadata) {
4892
+ return this.client_.unaryCall(this.hostname_ +
4893
+ '/sniipbillapi.SniipBillAPIService/CheckUserBillerIds',
4894
+ request,
4895
+ metadata || {},
4896
+ methodDescriptor_SniipBillAPIService_CheckUserBillerIds);
4897
+ };
4898
+
4899
+
4839
4900
  module.exports = proto.sniipbillapi;
4840
4901
 
@@ -57,6 +57,7 @@ goog.exportSymbol('proto.sniipbillapi.BillRequiresAttentionRequest', null, globa
57
57
  goog.exportSymbol('proto.sniipbillapi.BillScanType', null, global);
58
58
  goog.exportSymbol('proto.sniipbillapi.BillerCodeWithUserid', null, global);
59
59
  goog.exportSymbol('proto.sniipbillapi.BillerCrnNicknameRequest', null, global);
60
+ goog.exportSymbol('proto.sniipbillapi.BillerIdPresence', null, global);
60
61
  goog.exportSymbol('proto.sniipbillapi.BillsAttachmentsRequest', null, global);
61
62
  goog.exportSymbol('proto.sniipbillapi.BillsAttachmentsResponse', null, global);
62
63
  goog.exportSymbol('proto.sniipbillapi.BillsCreateRequest', null, global);
@@ -67,6 +68,8 @@ goog.exportSymbol('proto.sniipbillapi.BillsSummaryResponse', null, global);
67
68
  goog.exportSymbol('proto.sniipbillapi.BlockedOrganisation', null, global);
68
69
  goog.exportSymbol('proto.sniipbillapi.BlockedOrganisationsForUserRequest', null, global);
69
70
  goog.exportSymbol('proto.sniipbillapi.BlockedOrganisationsForUserResponse', null, global);
71
+ goog.exportSymbol('proto.sniipbillapi.CheckUserBillerIdsRequest', null, global);
72
+ goog.exportSymbol('proto.sniipbillapi.CheckUserBillerIdsResponse', null, global);
70
73
  goog.exportSymbol('proto.sniipbillapi.CopyBillRequest', null, global);
71
74
  goog.exportSymbol('proto.sniipbillapi.CopyExistingBillRequest', null, global);
72
75
  goog.exportSymbol('proto.sniipbillapi.CreateBillFromXeroRequest', null, global);
@@ -3836,6 +3839,69 @@ if (goog.DEBUG && !COMPILED) {
3836
3839
  */
3837
3840
  proto.sniipbillapi.ArchiveBillFromXeroResponse.displayName = 'proto.sniipbillapi.ArchiveBillFromXeroResponse';
3838
3841
  }
3842
+ /**
3843
+ * Generated by JsPbCodeGenerator.
3844
+ * @param {Array=} opt_data Optional initial data array, typically from a
3845
+ * server response, or constructed directly in Javascript. The array is used
3846
+ * in place and becomes part of the constructed object. It is not cloned.
3847
+ * If no data is provided, the constructed object will be empty, but still
3848
+ * valid.
3849
+ * @extends {jspb.Message}
3850
+ * @constructor
3851
+ */
3852
+ proto.sniipbillapi.CheckUserBillerIdsRequest = function(opt_data) {
3853
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.sniipbillapi.CheckUserBillerIdsRequest.repeatedFields_, null);
3854
+ };
3855
+ goog.inherits(proto.sniipbillapi.CheckUserBillerIdsRequest, jspb.Message);
3856
+ if (goog.DEBUG && !COMPILED) {
3857
+ /**
3858
+ * @public
3859
+ * @override
3860
+ */
3861
+ proto.sniipbillapi.CheckUserBillerIdsRequest.displayName = 'proto.sniipbillapi.CheckUserBillerIdsRequest';
3862
+ }
3863
+ /**
3864
+ * Generated by JsPbCodeGenerator.
3865
+ * @param {Array=} opt_data Optional initial data array, typically from a
3866
+ * server response, or constructed directly in Javascript. The array is used
3867
+ * in place and becomes part of the constructed object. It is not cloned.
3868
+ * If no data is provided, the constructed object will be empty, but still
3869
+ * valid.
3870
+ * @extends {jspb.Message}
3871
+ * @constructor
3872
+ */
3873
+ proto.sniipbillapi.BillerIdPresence = function(opt_data) {
3874
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3875
+ };
3876
+ goog.inherits(proto.sniipbillapi.BillerIdPresence, jspb.Message);
3877
+ if (goog.DEBUG && !COMPILED) {
3878
+ /**
3879
+ * @public
3880
+ * @override
3881
+ */
3882
+ proto.sniipbillapi.BillerIdPresence.displayName = 'proto.sniipbillapi.BillerIdPresence';
3883
+ }
3884
+ /**
3885
+ * Generated by JsPbCodeGenerator.
3886
+ * @param {Array=} opt_data Optional initial data array, typically from a
3887
+ * server response, or constructed directly in Javascript. The array is used
3888
+ * in place and becomes part of the constructed object. It is not cloned.
3889
+ * If no data is provided, the constructed object will be empty, but still
3890
+ * valid.
3891
+ * @extends {jspb.Message}
3892
+ * @constructor
3893
+ */
3894
+ proto.sniipbillapi.CheckUserBillerIdsResponse = function(opt_data) {
3895
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.sniipbillapi.CheckUserBillerIdsResponse.repeatedFields_, null);
3896
+ };
3897
+ goog.inherits(proto.sniipbillapi.CheckUserBillerIdsResponse, jspb.Message);
3898
+ if (goog.DEBUG && !COMPILED) {
3899
+ /**
3900
+ * @public
3901
+ * @override
3902
+ */
3903
+ proto.sniipbillapi.CheckUserBillerIdsResponse.displayName = 'proto.sniipbillapi.CheckUserBillerIdsResponse';
3904
+ }
3839
3905
 
3840
3906
 
3841
3907
 
@@ -49409,6 +49475,565 @@ proto.sniipbillapi.ArchiveBillFromXeroResponse.prototype.hasResponsecode = funct
49409
49475
  };
49410
49476
 
49411
49477
 
49478
+
49479
+ /**
49480
+ * List of repeated fields within this message type.
49481
+ * @private {!Array<number>}
49482
+ * @const
49483
+ */
49484
+ proto.sniipbillapi.CheckUserBillerIdsRequest.repeatedFields_ = [2];
49485
+
49486
+
49487
+
49488
+ if (jspb.Message.GENERATE_TO_OBJECT) {
49489
+ /**
49490
+ * Creates an object representation of this proto.
49491
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
49492
+ * Optional fields that are not set will be set to undefined.
49493
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
49494
+ * For the list of reserved names please see:
49495
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
49496
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
49497
+ * JSPB instance for transitional soy proto support:
49498
+ * http://goto/soy-param-migration
49499
+ * @return {!Object}
49500
+ */
49501
+ proto.sniipbillapi.CheckUserBillerIdsRequest.prototype.toObject = function(opt_includeInstance) {
49502
+ return proto.sniipbillapi.CheckUserBillerIdsRequest.toObject(opt_includeInstance, this);
49503
+ };
49504
+
49505
+
49506
+ /**
49507
+ * Static version of the {@see toObject} method.
49508
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
49509
+ * the JSPB instance for transitional soy proto support:
49510
+ * http://goto/soy-param-migration
49511
+ * @param {!proto.sniipbillapi.CheckUserBillerIdsRequest} msg The msg instance to transform.
49512
+ * @return {!Object}
49513
+ * @suppress {unusedLocalVariables} f is only used for nested messages
49514
+ */
49515
+ proto.sniipbillapi.CheckUserBillerIdsRequest.toObject = function(includeInstance, msg) {
49516
+ var f, obj = {
49517
+ userid: jspb.Message.getFieldWithDefault(msg, 1, 0),
49518
+ billeridsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
49519
+ };
49520
+
49521
+ if (includeInstance) {
49522
+ obj.$jspbMessageInstance = msg;
49523
+ }
49524
+ return obj;
49525
+ };
49526
+ }
49527
+
49528
+
49529
+ /**
49530
+ * Deserializes binary data (in protobuf wire format).
49531
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
49532
+ * @return {!proto.sniipbillapi.CheckUserBillerIdsRequest}
49533
+ */
49534
+ proto.sniipbillapi.CheckUserBillerIdsRequest.deserializeBinary = function(bytes) {
49535
+ var reader = new jspb.BinaryReader(bytes);
49536
+ var msg = new proto.sniipbillapi.CheckUserBillerIdsRequest;
49537
+ return proto.sniipbillapi.CheckUserBillerIdsRequest.deserializeBinaryFromReader(msg, reader);
49538
+ };
49539
+
49540
+
49541
+ /**
49542
+ * Deserializes binary data (in protobuf wire format) from the
49543
+ * given reader into the given message object.
49544
+ * @param {!proto.sniipbillapi.CheckUserBillerIdsRequest} msg The message object to deserialize into.
49545
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
49546
+ * @return {!proto.sniipbillapi.CheckUserBillerIdsRequest}
49547
+ */
49548
+ proto.sniipbillapi.CheckUserBillerIdsRequest.deserializeBinaryFromReader = function(msg, reader) {
49549
+ while (reader.nextField()) {
49550
+ if (reader.isEndGroup()) {
49551
+ break;
49552
+ }
49553
+ var field = reader.getFieldNumber();
49554
+ switch (field) {
49555
+ case 1:
49556
+ var value = /** @type {number} */ (reader.readInt64());
49557
+ msg.setUserid(value);
49558
+ break;
49559
+ case 2:
49560
+ var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt64() : [reader.readInt64()]);
49561
+ for (var i = 0; i < values.length; i++) {
49562
+ msg.addBillerids(values[i]);
49563
+ }
49564
+ break;
49565
+ default:
49566
+ reader.skipField();
49567
+ break;
49568
+ }
49569
+ }
49570
+ return msg;
49571
+ };
49572
+
49573
+
49574
+ /**
49575
+ * Serializes the message to binary data (in protobuf wire format).
49576
+ * @return {!Uint8Array}
49577
+ */
49578
+ proto.sniipbillapi.CheckUserBillerIdsRequest.prototype.serializeBinary = function() {
49579
+ var writer = new jspb.BinaryWriter();
49580
+ proto.sniipbillapi.CheckUserBillerIdsRequest.serializeBinaryToWriter(this, writer);
49581
+ return writer.getResultBuffer();
49582
+ };
49583
+
49584
+
49585
+ /**
49586
+ * Serializes the given message to binary data (in protobuf wire
49587
+ * format), writing to the given BinaryWriter.
49588
+ * @param {!proto.sniipbillapi.CheckUserBillerIdsRequest} message
49589
+ * @param {!jspb.BinaryWriter} writer
49590
+ * @suppress {unusedLocalVariables} f is only used for nested messages
49591
+ */
49592
+ proto.sniipbillapi.CheckUserBillerIdsRequest.serializeBinaryToWriter = function(message, writer) {
49593
+ var f = undefined;
49594
+ f = message.getUserid();
49595
+ if (f !== 0) {
49596
+ writer.writeInt64(
49597
+ 1,
49598
+ f
49599
+ );
49600
+ }
49601
+ f = message.getBilleridsList();
49602
+ if (f.length > 0) {
49603
+ writer.writePackedInt64(
49604
+ 2,
49605
+ f
49606
+ );
49607
+ }
49608
+ };
49609
+
49610
+
49611
+ /**
49612
+ * optional int64 userId = 1;
49613
+ * @return {number}
49614
+ */
49615
+ proto.sniipbillapi.CheckUserBillerIdsRequest.prototype.getUserid = function() {
49616
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
49617
+ };
49618
+
49619
+
49620
+ /**
49621
+ * @param {number} value
49622
+ * @return {!proto.sniipbillapi.CheckUserBillerIdsRequest} returns this
49623
+ */
49624
+ proto.sniipbillapi.CheckUserBillerIdsRequest.prototype.setUserid = function(value) {
49625
+ return jspb.Message.setProto3IntField(this, 1, value);
49626
+ };
49627
+
49628
+
49629
+ /**
49630
+ * repeated int64 billerIds = 2;
49631
+ * @return {!Array<number>}
49632
+ */
49633
+ proto.sniipbillapi.CheckUserBillerIdsRequest.prototype.getBilleridsList = function() {
49634
+ return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 2));
49635
+ };
49636
+
49637
+
49638
+ /**
49639
+ * @param {!Array<number>} value
49640
+ * @return {!proto.sniipbillapi.CheckUserBillerIdsRequest} returns this
49641
+ */
49642
+ proto.sniipbillapi.CheckUserBillerIdsRequest.prototype.setBilleridsList = function(value) {
49643
+ return jspb.Message.setField(this, 2, value || []);
49644
+ };
49645
+
49646
+
49647
+ /**
49648
+ * @param {number} value
49649
+ * @param {number=} opt_index
49650
+ * @return {!proto.sniipbillapi.CheckUserBillerIdsRequest} returns this
49651
+ */
49652
+ proto.sniipbillapi.CheckUserBillerIdsRequest.prototype.addBillerids = function(value, opt_index) {
49653
+ return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
49654
+ };
49655
+
49656
+
49657
+ /**
49658
+ * Clears the list making it empty but non-null.
49659
+ * @return {!proto.sniipbillapi.CheckUserBillerIdsRequest} returns this
49660
+ */
49661
+ proto.sniipbillapi.CheckUserBillerIdsRequest.prototype.clearBilleridsList = function() {
49662
+ return this.setBilleridsList([]);
49663
+ };
49664
+
49665
+
49666
+
49667
+
49668
+
49669
+ if (jspb.Message.GENERATE_TO_OBJECT) {
49670
+ /**
49671
+ * Creates an object representation of this proto.
49672
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
49673
+ * Optional fields that are not set will be set to undefined.
49674
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
49675
+ * For the list of reserved names please see:
49676
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
49677
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
49678
+ * JSPB instance for transitional soy proto support:
49679
+ * http://goto/soy-param-migration
49680
+ * @return {!Object}
49681
+ */
49682
+ proto.sniipbillapi.BillerIdPresence.prototype.toObject = function(opt_includeInstance) {
49683
+ return proto.sniipbillapi.BillerIdPresence.toObject(opt_includeInstance, this);
49684
+ };
49685
+
49686
+
49687
+ /**
49688
+ * Static version of the {@see toObject} method.
49689
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
49690
+ * the JSPB instance for transitional soy proto support:
49691
+ * http://goto/soy-param-migration
49692
+ * @param {!proto.sniipbillapi.BillerIdPresence} msg The msg instance to transform.
49693
+ * @return {!Object}
49694
+ * @suppress {unusedLocalVariables} f is only used for nested messages
49695
+ */
49696
+ proto.sniipbillapi.BillerIdPresence.toObject = function(includeInstance, msg) {
49697
+ var f, obj = {
49698
+ billerid: jspb.Message.getFieldWithDefault(msg, 1, 0),
49699
+ present: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
49700
+ };
49701
+
49702
+ if (includeInstance) {
49703
+ obj.$jspbMessageInstance = msg;
49704
+ }
49705
+ return obj;
49706
+ };
49707
+ }
49708
+
49709
+
49710
+ /**
49711
+ * Deserializes binary data (in protobuf wire format).
49712
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
49713
+ * @return {!proto.sniipbillapi.BillerIdPresence}
49714
+ */
49715
+ proto.sniipbillapi.BillerIdPresence.deserializeBinary = function(bytes) {
49716
+ var reader = new jspb.BinaryReader(bytes);
49717
+ var msg = new proto.sniipbillapi.BillerIdPresence;
49718
+ return proto.sniipbillapi.BillerIdPresence.deserializeBinaryFromReader(msg, reader);
49719
+ };
49720
+
49721
+
49722
+ /**
49723
+ * Deserializes binary data (in protobuf wire format) from the
49724
+ * given reader into the given message object.
49725
+ * @param {!proto.sniipbillapi.BillerIdPresence} msg The message object to deserialize into.
49726
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
49727
+ * @return {!proto.sniipbillapi.BillerIdPresence}
49728
+ */
49729
+ proto.sniipbillapi.BillerIdPresence.deserializeBinaryFromReader = function(msg, reader) {
49730
+ while (reader.nextField()) {
49731
+ if (reader.isEndGroup()) {
49732
+ break;
49733
+ }
49734
+ var field = reader.getFieldNumber();
49735
+ switch (field) {
49736
+ case 1:
49737
+ var value = /** @type {number} */ (reader.readInt64());
49738
+ msg.setBillerid(value);
49739
+ break;
49740
+ case 2:
49741
+ var value = /** @type {boolean} */ (reader.readBool());
49742
+ msg.setPresent(value);
49743
+ break;
49744
+ default:
49745
+ reader.skipField();
49746
+ break;
49747
+ }
49748
+ }
49749
+ return msg;
49750
+ };
49751
+
49752
+
49753
+ /**
49754
+ * Serializes the message to binary data (in protobuf wire format).
49755
+ * @return {!Uint8Array}
49756
+ */
49757
+ proto.sniipbillapi.BillerIdPresence.prototype.serializeBinary = function() {
49758
+ var writer = new jspb.BinaryWriter();
49759
+ proto.sniipbillapi.BillerIdPresence.serializeBinaryToWriter(this, writer);
49760
+ return writer.getResultBuffer();
49761
+ };
49762
+
49763
+
49764
+ /**
49765
+ * Serializes the given message to binary data (in protobuf wire
49766
+ * format), writing to the given BinaryWriter.
49767
+ * @param {!proto.sniipbillapi.BillerIdPresence} message
49768
+ * @param {!jspb.BinaryWriter} writer
49769
+ * @suppress {unusedLocalVariables} f is only used for nested messages
49770
+ */
49771
+ proto.sniipbillapi.BillerIdPresence.serializeBinaryToWriter = function(message, writer) {
49772
+ var f = undefined;
49773
+ f = message.getBillerid();
49774
+ if (f !== 0) {
49775
+ writer.writeInt64(
49776
+ 1,
49777
+ f
49778
+ );
49779
+ }
49780
+ f = message.getPresent();
49781
+ if (f) {
49782
+ writer.writeBool(
49783
+ 2,
49784
+ f
49785
+ );
49786
+ }
49787
+ };
49788
+
49789
+
49790
+ /**
49791
+ * optional int64 billerId = 1;
49792
+ * @return {number}
49793
+ */
49794
+ proto.sniipbillapi.BillerIdPresence.prototype.getBillerid = function() {
49795
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
49796
+ };
49797
+
49798
+
49799
+ /**
49800
+ * @param {number} value
49801
+ * @return {!proto.sniipbillapi.BillerIdPresence} returns this
49802
+ */
49803
+ proto.sniipbillapi.BillerIdPresence.prototype.setBillerid = function(value) {
49804
+ return jspb.Message.setProto3IntField(this, 1, value);
49805
+ };
49806
+
49807
+
49808
+ /**
49809
+ * optional bool present = 2;
49810
+ * @return {boolean}
49811
+ */
49812
+ proto.sniipbillapi.BillerIdPresence.prototype.getPresent = function() {
49813
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
49814
+ };
49815
+
49816
+
49817
+ /**
49818
+ * @param {boolean} value
49819
+ * @return {!proto.sniipbillapi.BillerIdPresence} returns this
49820
+ */
49821
+ proto.sniipbillapi.BillerIdPresence.prototype.setPresent = function(value) {
49822
+ return jspb.Message.setProto3BooleanField(this, 2, value);
49823
+ };
49824
+
49825
+
49826
+
49827
+ /**
49828
+ * List of repeated fields within this message type.
49829
+ * @private {!Array<number>}
49830
+ * @const
49831
+ */
49832
+ proto.sniipbillapi.CheckUserBillerIdsResponse.repeatedFields_ = [2];
49833
+
49834
+
49835
+
49836
+ if (jspb.Message.GENERATE_TO_OBJECT) {
49837
+ /**
49838
+ * Creates an object representation of this proto.
49839
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
49840
+ * Optional fields that are not set will be set to undefined.
49841
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
49842
+ * For the list of reserved names please see:
49843
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
49844
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
49845
+ * JSPB instance for transitional soy proto support:
49846
+ * http://goto/soy-param-migration
49847
+ * @return {!Object}
49848
+ */
49849
+ proto.sniipbillapi.CheckUserBillerIdsResponse.prototype.toObject = function(opt_includeInstance) {
49850
+ return proto.sniipbillapi.CheckUserBillerIdsResponse.toObject(opt_includeInstance, this);
49851
+ };
49852
+
49853
+
49854
+ /**
49855
+ * Static version of the {@see toObject} method.
49856
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
49857
+ * the JSPB instance for transitional soy proto support:
49858
+ * http://goto/soy-param-migration
49859
+ * @param {!proto.sniipbillapi.CheckUserBillerIdsResponse} msg The msg instance to transform.
49860
+ * @return {!Object}
49861
+ * @suppress {unusedLocalVariables} f is only used for nested messages
49862
+ */
49863
+ proto.sniipbillapi.CheckUserBillerIdsResponse.toObject = function(includeInstance, msg) {
49864
+ var f, obj = {
49865
+ responsecode: (f = msg.getResponsecode()) && proto.sniipbillapi.ResponseCode.toObject(includeInstance, f),
49866
+ resultsList: jspb.Message.toObjectList(msg.getResultsList(),
49867
+ proto.sniipbillapi.BillerIdPresence.toObject, includeInstance)
49868
+ };
49869
+
49870
+ if (includeInstance) {
49871
+ obj.$jspbMessageInstance = msg;
49872
+ }
49873
+ return obj;
49874
+ };
49875
+ }
49876
+
49877
+
49878
+ /**
49879
+ * Deserializes binary data (in protobuf wire format).
49880
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
49881
+ * @return {!proto.sniipbillapi.CheckUserBillerIdsResponse}
49882
+ */
49883
+ proto.sniipbillapi.CheckUserBillerIdsResponse.deserializeBinary = function(bytes) {
49884
+ var reader = new jspb.BinaryReader(bytes);
49885
+ var msg = new proto.sniipbillapi.CheckUserBillerIdsResponse;
49886
+ return proto.sniipbillapi.CheckUserBillerIdsResponse.deserializeBinaryFromReader(msg, reader);
49887
+ };
49888
+
49889
+
49890
+ /**
49891
+ * Deserializes binary data (in protobuf wire format) from the
49892
+ * given reader into the given message object.
49893
+ * @param {!proto.sniipbillapi.CheckUserBillerIdsResponse} msg The message object to deserialize into.
49894
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
49895
+ * @return {!proto.sniipbillapi.CheckUserBillerIdsResponse}
49896
+ */
49897
+ proto.sniipbillapi.CheckUserBillerIdsResponse.deserializeBinaryFromReader = function(msg, reader) {
49898
+ while (reader.nextField()) {
49899
+ if (reader.isEndGroup()) {
49900
+ break;
49901
+ }
49902
+ var field = reader.getFieldNumber();
49903
+ switch (field) {
49904
+ case 1:
49905
+ var value = new proto.sniipbillapi.ResponseCode;
49906
+ reader.readMessage(value,proto.sniipbillapi.ResponseCode.deserializeBinaryFromReader);
49907
+ msg.setResponsecode(value);
49908
+ break;
49909
+ case 2:
49910
+ var value = new proto.sniipbillapi.BillerIdPresence;
49911
+ reader.readMessage(value,proto.sniipbillapi.BillerIdPresence.deserializeBinaryFromReader);
49912
+ msg.addResults(value);
49913
+ break;
49914
+ default:
49915
+ reader.skipField();
49916
+ break;
49917
+ }
49918
+ }
49919
+ return msg;
49920
+ };
49921
+
49922
+
49923
+ /**
49924
+ * Serializes the message to binary data (in protobuf wire format).
49925
+ * @return {!Uint8Array}
49926
+ */
49927
+ proto.sniipbillapi.CheckUserBillerIdsResponse.prototype.serializeBinary = function() {
49928
+ var writer = new jspb.BinaryWriter();
49929
+ proto.sniipbillapi.CheckUserBillerIdsResponse.serializeBinaryToWriter(this, writer);
49930
+ return writer.getResultBuffer();
49931
+ };
49932
+
49933
+
49934
+ /**
49935
+ * Serializes the given message to binary data (in protobuf wire
49936
+ * format), writing to the given BinaryWriter.
49937
+ * @param {!proto.sniipbillapi.CheckUserBillerIdsResponse} message
49938
+ * @param {!jspb.BinaryWriter} writer
49939
+ * @suppress {unusedLocalVariables} f is only used for nested messages
49940
+ */
49941
+ proto.sniipbillapi.CheckUserBillerIdsResponse.serializeBinaryToWriter = function(message, writer) {
49942
+ var f = undefined;
49943
+ f = message.getResponsecode();
49944
+ if (f != null) {
49945
+ writer.writeMessage(
49946
+ 1,
49947
+ f,
49948
+ proto.sniipbillapi.ResponseCode.serializeBinaryToWriter
49949
+ );
49950
+ }
49951
+ f = message.getResultsList();
49952
+ if (f.length > 0) {
49953
+ writer.writeRepeatedMessage(
49954
+ 2,
49955
+ f,
49956
+ proto.sniipbillapi.BillerIdPresence.serializeBinaryToWriter
49957
+ );
49958
+ }
49959
+ };
49960
+
49961
+
49962
+ /**
49963
+ * optional ResponseCode responseCode = 1;
49964
+ * @return {?proto.sniipbillapi.ResponseCode}
49965
+ */
49966
+ proto.sniipbillapi.CheckUserBillerIdsResponse.prototype.getResponsecode = function() {
49967
+ return /** @type{?proto.sniipbillapi.ResponseCode} */ (
49968
+ jspb.Message.getWrapperField(this, proto.sniipbillapi.ResponseCode, 1));
49969
+ };
49970
+
49971
+
49972
+ /**
49973
+ * @param {?proto.sniipbillapi.ResponseCode|undefined} value
49974
+ * @return {!proto.sniipbillapi.CheckUserBillerIdsResponse} returns this
49975
+ */
49976
+ proto.sniipbillapi.CheckUserBillerIdsResponse.prototype.setResponsecode = function(value) {
49977
+ return jspb.Message.setWrapperField(this, 1, value);
49978
+ };
49979
+
49980
+
49981
+ /**
49982
+ * Clears the message field making it undefined.
49983
+ * @return {!proto.sniipbillapi.CheckUserBillerIdsResponse} returns this
49984
+ */
49985
+ proto.sniipbillapi.CheckUserBillerIdsResponse.prototype.clearResponsecode = function() {
49986
+ return this.setResponsecode(undefined);
49987
+ };
49988
+
49989
+
49990
+ /**
49991
+ * Returns whether this field is set.
49992
+ * @return {boolean}
49993
+ */
49994
+ proto.sniipbillapi.CheckUserBillerIdsResponse.prototype.hasResponsecode = function() {
49995
+ return jspb.Message.getField(this, 1) != null;
49996
+ };
49997
+
49998
+
49999
+ /**
50000
+ * repeated BillerIdPresence results = 2;
50001
+ * @return {!Array<!proto.sniipbillapi.BillerIdPresence>}
50002
+ */
50003
+ proto.sniipbillapi.CheckUserBillerIdsResponse.prototype.getResultsList = function() {
50004
+ return /** @type{!Array<!proto.sniipbillapi.BillerIdPresence>} */ (
50005
+ jspb.Message.getRepeatedWrapperField(this, proto.sniipbillapi.BillerIdPresence, 2));
50006
+ };
50007
+
50008
+
50009
+ /**
50010
+ * @param {!Array<!proto.sniipbillapi.BillerIdPresence>} value
50011
+ * @return {!proto.sniipbillapi.CheckUserBillerIdsResponse} returns this
50012
+ */
50013
+ proto.sniipbillapi.CheckUserBillerIdsResponse.prototype.setResultsList = function(value) {
50014
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
50015
+ };
50016
+
50017
+
50018
+ /**
50019
+ * @param {!proto.sniipbillapi.BillerIdPresence=} opt_value
50020
+ * @param {number=} opt_index
50021
+ * @return {!proto.sniipbillapi.BillerIdPresence}
50022
+ */
50023
+ proto.sniipbillapi.CheckUserBillerIdsResponse.prototype.addResults = function(opt_value, opt_index) {
50024
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.sniipbillapi.BillerIdPresence, opt_index);
50025
+ };
50026
+
50027
+
50028
+ /**
50029
+ * Clears the list making it empty but non-null.
50030
+ * @return {!proto.sniipbillapi.CheckUserBillerIdsResponse} returns this
50031
+ */
50032
+ proto.sniipbillapi.CheckUserBillerIdsResponse.prototype.clearResultsList = function() {
50033
+ return this.setResultsList([]);
50034
+ };
50035
+
50036
+
49412
50037
  /**
49413
50038
  * @enum {number}
49414
50039
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/bill-service-client-grpcweb",
3
- "version": "26.1.14819",
3
+ "version": "26.2.14834",
4
4
  "description": "bill-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",