@sniipwebmaster/bill-service-client-grpcweb 22.10.8737 → 22.10.8759

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.
@@ -115,8 +115,8 @@ goog.exportSymbol('proto.sniipbillapi.UpdateDueDateRequest', null, global);
115
115
  goog.exportSymbol('proto.sniipbillapi.UpdateUserBillConfigRequest', null, global);
116
116
  goog.exportSymbol('proto.sniipbillapi.UserBillConfig', null, global);
117
117
  goog.exportSymbol('proto.sniipbillapi.UserBillConfigResponse', null, global);
118
- goog.exportSymbol('proto.sniipbillapi.UserBillListData', null, global);
119
118
  goog.exportSymbol('proto.sniipbillapi.UserBillListResponse', null, global);
119
+ goog.exportSymbol('proto.sniipbillapi.UserBillListResponseData', null, global);
120
120
  goog.exportSymbol('proto.sniipbillapi.UsersForBillerRequest', null, global);
121
121
  goog.exportSymbol('proto.sniipbillapi.ValidateBillOwnerRequest', null, global);
122
122
  goog.exportSymbol('proto.sniipbillapi.XeroCreateOrUpdateBillFromInvoiceRequest', null, global);
@@ -27560,20 +27560,13 @@ proto.sniipbillapi.UserBillConfigResponse.prototype.hasUserbillconfig = function
27560
27560
  * @extends {jspb.Message}
27561
27561
  * @constructor
27562
27562
  */
27563
- proto.sniipbillapi.UserBillListData = function(opt_data) {
27564
- jspb.Message.initialize(this, opt_data, 0, -1, proto.sniipbillapi.UserBillListData.repeatedFields_, null);
27563
+ proto.sniipbillapi.UserBillListResponse = function(opt_data) {
27564
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
27565
27565
  };
27566
- goog.inherits(proto.sniipbillapi.UserBillListData, jspb.Message);
27566
+ goog.inherits(proto.sniipbillapi.UserBillListResponse, jspb.Message);
27567
27567
  if (goog.DEBUG && !COMPILED) {
27568
- proto.sniipbillapi.UserBillListData.displayName = 'proto.sniipbillapi.UserBillListData';
27568
+ proto.sniipbillapi.UserBillListResponse.displayName = 'proto.sniipbillapi.UserBillListResponse';
27569
27569
  }
27570
- /**
27571
- * List of repeated fields within this message type.
27572
- * @private {!Array<number>}
27573
- * @const
27574
- */
27575
- proto.sniipbillapi.UserBillListData.repeatedFields_ = [4];
27576
-
27577
27570
 
27578
27571
 
27579
27572
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -27587,8 +27580,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
27587
27580
  * for transitional soy proto support: http://goto/soy-param-migration
27588
27581
  * @return {!Object}
27589
27582
  */
27590
- proto.sniipbillapi.UserBillListData.prototype.toObject = function(opt_includeInstance) {
27591
- return proto.sniipbillapi.UserBillListData.toObject(opt_includeInstance, this);
27583
+ proto.sniipbillapi.UserBillListResponse.prototype.toObject = function(opt_includeInstance) {
27584
+ return proto.sniipbillapi.UserBillListResponse.toObject(opt_includeInstance, this);
27592
27585
  };
27593
27586
 
27594
27587
 
@@ -27597,16 +27590,13 @@ proto.sniipbillapi.UserBillListData.prototype.toObject = function(opt_includeIns
27597
27590
  * @param {boolean|undefined} includeInstance Whether to include the JSPB
27598
27591
  * instance for transitional soy proto support:
27599
27592
  * http://goto/soy-param-migration
27600
- * @param {!proto.sniipbillapi.UserBillListData} msg The msg instance to transform.
27593
+ * @param {!proto.sniipbillapi.UserBillListResponse} msg The msg instance to transform.
27601
27594
  * @return {!Object}
27602
27595
  */
27603
- proto.sniipbillapi.UserBillListData.toObject = function(includeInstance, msg) {
27596
+ proto.sniipbillapi.UserBillListResponse.toObject = function(includeInstance, msg) {
27604
27597
  var f, obj = {
27605
- limit: msg.getLimit(),
27606
- page: msg.getPage(),
27607
- total: msg.getTotal(),
27608
- billlistList: jspb.Message.toObjectList(msg.getBilllistList(),
27609
- proto.sniipbillapi.BillDetail.toObject, includeInstance)
27598
+ responsecode: (f = msg.getResponsecode()) && proto.sniipbillapi.ResponseCode.toObject(includeInstance, f),
27599
+ userbilllistresponsedata: (f = msg.getUserbilllistresponsedata()) && proto.sniipbillapi.UserBillListResponseData.toObject(includeInstance, f)
27610
27600
  };
27611
27601
 
27612
27602
  if (includeInstance) {
@@ -27620,23 +27610,23 @@ proto.sniipbillapi.UserBillListData.toObject = function(includeInstance, msg) {
27620
27610
  /**
27621
27611
  * Deserializes binary data (in protobuf wire format).
27622
27612
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
27623
- * @return {!proto.sniipbillapi.UserBillListData}
27613
+ * @return {!proto.sniipbillapi.UserBillListResponse}
27624
27614
  */
27625
- proto.sniipbillapi.UserBillListData.deserializeBinary = function(bytes) {
27615
+ proto.sniipbillapi.UserBillListResponse.deserializeBinary = function(bytes) {
27626
27616
  var reader = new jspb.BinaryReader(bytes);
27627
- var msg = new proto.sniipbillapi.UserBillListData;
27628
- return proto.sniipbillapi.UserBillListData.deserializeBinaryFromReader(msg, reader);
27617
+ var msg = new proto.sniipbillapi.UserBillListResponse;
27618
+ return proto.sniipbillapi.UserBillListResponse.deserializeBinaryFromReader(msg, reader);
27629
27619
  };
27630
27620
 
27631
27621
 
27632
27622
  /**
27633
27623
  * Deserializes binary data (in protobuf wire format) from the
27634
27624
  * given reader into the given message object.
27635
- * @param {!proto.sniipbillapi.UserBillListData} msg The message object to deserialize into.
27625
+ * @param {!proto.sniipbillapi.UserBillListResponse} msg The message object to deserialize into.
27636
27626
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
27637
- * @return {!proto.sniipbillapi.UserBillListData}
27627
+ * @return {!proto.sniipbillapi.UserBillListResponse}
27638
27628
  */
27639
- proto.sniipbillapi.UserBillListData.deserializeBinaryFromReader = function(msg, reader) {
27629
+ proto.sniipbillapi.UserBillListResponse.deserializeBinaryFromReader = function(msg, reader) {
27640
27630
  while (reader.nextField()) {
27641
27631
  if (reader.isEndGroup()) {
27642
27632
  break;
@@ -27644,22 +27634,14 @@ proto.sniipbillapi.UserBillListData.deserializeBinaryFromReader = function(msg,
27644
27634
  var field = reader.getFieldNumber();
27645
27635
  switch (field) {
27646
27636
  case 1:
27647
- var value = /** @type {number} */ (reader.readInt32());
27648
- msg.setLimit(value);
27637
+ var value = new proto.sniipbillapi.ResponseCode;
27638
+ reader.readMessage(value,proto.sniipbillapi.ResponseCode.deserializeBinaryFromReader);
27639
+ msg.setResponsecode(value);
27649
27640
  break;
27650
27641
  case 2:
27651
- var value = /** @type {number} */ (reader.readInt32());
27652
- msg.setPage(value);
27653
- break;
27654
- case 3:
27655
- var value = /** @type {number} */ (reader.readInt32());
27656
- msg.setTotal(value);
27657
- break;
27658
- case 4:
27659
- var value = new proto.sniipbillapi.BillDetail;
27660
- reader.readMessage(value,proto.sniipbillapi.BillDetail.deserializeBinaryFromReader);
27661
- msg.getBilllistList().push(value);
27662
- msg.setBilllistList(msg.getBilllistList());
27642
+ var value = new proto.sniipbillapi.UserBillListResponseData;
27643
+ reader.readMessage(value,proto.sniipbillapi.UserBillListResponseData.deserializeBinaryFromReader);
27644
+ msg.setUserbilllistresponsedata(value);
27663
27645
  break;
27664
27646
  default:
27665
27647
  reader.skipField();
@@ -27673,10 +27655,10 @@ proto.sniipbillapi.UserBillListData.deserializeBinaryFromReader = function(msg,
27673
27655
  /**
27674
27656
  * Class method variant: serializes the given message to binary data
27675
27657
  * (in protobuf wire format), writing to the given BinaryWriter.
27676
- * @param {!proto.sniipbillapi.UserBillListData} message
27658
+ * @param {!proto.sniipbillapi.UserBillListResponse} message
27677
27659
  * @param {!jspb.BinaryWriter} writer
27678
27660
  */
27679
- proto.sniipbillapi.UserBillListData.serializeBinaryToWriter = function(message, writer) {
27661
+ proto.sniipbillapi.UserBillListResponse.serializeBinaryToWriter = function(message, writer) {
27680
27662
  message.serializeBinaryToWriter(writer);
27681
27663
  };
27682
27664
 
@@ -27685,7 +27667,7 @@ proto.sniipbillapi.UserBillListData.serializeBinaryToWriter = function(message,
27685
27667
  * Serializes the message to binary data (in protobuf wire format).
27686
27668
  * @return {!Uint8Array}
27687
27669
  */
27688
- proto.sniipbillapi.UserBillListData.prototype.serializeBinary = function() {
27670
+ proto.sniipbillapi.UserBillListResponse.prototype.serializeBinary = function() {
27689
27671
  var writer = new jspb.BinaryWriter();
27690
27672
  this.serializeBinaryToWriter(writer);
27691
27673
  return writer.getResultBuffer();
@@ -27697,35 +27679,22 @@ proto.sniipbillapi.UserBillListData.prototype.serializeBinary = function() {
27697
27679
  * writing to the given BinaryWriter.
27698
27680
  * @param {!jspb.BinaryWriter} writer
27699
27681
  */
27700
- proto.sniipbillapi.UserBillListData.prototype.serializeBinaryToWriter = function (writer) {
27682
+ proto.sniipbillapi.UserBillListResponse.prototype.serializeBinaryToWriter = function (writer) {
27701
27683
  var f = undefined;
27702
- f = this.getLimit();
27703
- if (f !== 0) {
27704
- writer.writeInt32(
27684
+ f = this.getResponsecode();
27685
+ if (f != null) {
27686
+ writer.writeMessage(
27705
27687
  1,
27706
- f
27688
+ f,
27689
+ proto.sniipbillapi.ResponseCode.serializeBinaryToWriter
27707
27690
  );
27708
27691
  }
27709
- f = this.getPage();
27710
- if (f !== 0) {
27711
- writer.writeInt32(
27692
+ f = this.getUserbilllistresponsedata();
27693
+ if (f != null) {
27694
+ writer.writeMessage(
27712
27695
  2,
27713
- f
27714
- );
27715
- }
27716
- f = this.getTotal();
27717
- if (f !== 0) {
27718
- writer.writeInt32(
27719
- 3,
27720
- f
27721
- );
27722
- }
27723
- f = this.getBilllistList();
27724
- if (f.length > 0) {
27725
- writer.writeRepeatedMessage(
27726
- 4,
27727
27696
  f,
27728
- proto.sniipbillapi.BillDetail.serializeBinaryToWriter
27697
+ proto.sniipbillapi.UserBillListResponseData.serializeBinaryToWriter
27729
27698
  );
27730
27699
  }
27731
27700
  };
@@ -27733,78 +27702,70 @@ proto.sniipbillapi.UserBillListData.prototype.serializeBinaryToWriter = function
27733
27702
 
27734
27703
  /**
27735
27704
  * Creates a deep clone of this proto. No data is shared with the original.
27736
- * @return {!proto.sniipbillapi.UserBillListData} The clone.
27705
+ * @return {!proto.sniipbillapi.UserBillListResponse} The clone.
27737
27706
  */
27738
- proto.sniipbillapi.UserBillListData.prototype.cloneMessage = function() {
27739
- return /** @type {!proto.sniipbillapi.UserBillListData} */ (jspb.Message.cloneMessage(this));
27707
+ proto.sniipbillapi.UserBillListResponse.prototype.cloneMessage = function() {
27708
+ return /** @type {!proto.sniipbillapi.UserBillListResponse} */ (jspb.Message.cloneMessage(this));
27740
27709
  };
27741
27710
 
27742
27711
 
27743
27712
  /**
27744
- * optional int32 limit = 1;
27745
- * @return {number}
27713
+ * optional ResponseCode responseCode = 1;
27714
+ * @return {proto.sniipbillapi.ResponseCode}
27746
27715
  */
27747
- proto.sniipbillapi.UserBillListData.prototype.getLimit = function() {
27748
- return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
27749
- };
27750
-
27751
-
27752
- /** @param {number} value */
27753
- proto.sniipbillapi.UserBillListData.prototype.setLimit = function(value) {
27754
- jspb.Message.setField(this, 1, value);
27716
+ proto.sniipbillapi.UserBillListResponse.prototype.getResponsecode = function() {
27717
+ return /** @type{proto.sniipbillapi.ResponseCode} */ (
27718
+ jspb.Message.getWrapperField(this, proto.sniipbillapi.ResponseCode, 1));
27755
27719
  };
27756
27720
 
27757
27721
 
27758
- /**
27759
- * optional int32 page = 2;
27760
- * @return {number}
27761
- */
27762
- proto.sniipbillapi.UserBillListData.prototype.getPage = function() {
27763
- return /** @type {number} */ (jspb.Message.getFieldProto3(this, 2, 0));
27722
+ /** @param {proto.sniipbillapi.ResponseCode|undefined} value */
27723
+ proto.sniipbillapi.UserBillListResponse.prototype.setResponsecode = function(value) {
27724
+ jspb.Message.setWrapperField(this, 1, value);
27764
27725
  };
27765
27726
 
27766
27727
 
27767
- /** @param {number} value */
27768
- proto.sniipbillapi.UserBillListData.prototype.setPage = function(value) {
27769
- jspb.Message.setField(this, 2, value);
27728
+ proto.sniipbillapi.UserBillListResponse.prototype.clearResponsecode = function() {
27729
+ this.setResponsecode(undefined);
27770
27730
  };
27771
27731
 
27772
27732
 
27773
27733
  /**
27774
- * optional int32 total = 3;
27775
- * @return {number}
27734
+ * Returns whether this field is set.
27735
+ * @return{!boolean}
27776
27736
  */
27777
- proto.sniipbillapi.UserBillListData.prototype.getTotal = function() {
27778
- return /** @type {number} */ (jspb.Message.getFieldProto3(this, 3, 0));
27737
+ proto.sniipbillapi.UserBillListResponse.prototype.hasResponsecode = function() {
27738
+ return jspb.Message.getField(this, 1) != null;
27779
27739
  };
27780
27740
 
27781
27741
 
27782
- /** @param {number} value */
27783
- proto.sniipbillapi.UserBillListData.prototype.setTotal = function(value) {
27784
- jspb.Message.setField(this, 3, value);
27742
+ /**
27743
+ * optional UserBillListResponseData userBillListResponseData = 2;
27744
+ * @return {proto.sniipbillapi.UserBillListResponseData}
27745
+ */
27746
+ proto.sniipbillapi.UserBillListResponse.prototype.getUserbilllistresponsedata = function() {
27747
+ return /** @type{proto.sniipbillapi.UserBillListResponseData} */ (
27748
+ jspb.Message.getWrapperField(this, proto.sniipbillapi.UserBillListResponseData, 2));
27785
27749
  };
27786
27750
 
27787
27751
 
27788
- /**
27789
- * repeated BillDetail billList = 4;
27790
- * If you change this array by adding, removing or replacing elements, or if you
27791
- * replace the array itself, then you must call the setter to update it.
27792
- * @return {!Array.<!proto.sniipbillapi.BillDetail>}
27793
- */
27794
- proto.sniipbillapi.UserBillListData.prototype.getBilllistList = function() {
27795
- return /** @type{!Array.<!proto.sniipbillapi.BillDetail>} */ (
27796
- jspb.Message.getRepeatedWrapperField(this, proto.sniipbillapi.BillDetail, 4));
27752
+ /** @param {proto.sniipbillapi.UserBillListResponseData|undefined} value */
27753
+ proto.sniipbillapi.UserBillListResponse.prototype.setUserbilllistresponsedata = function(value) {
27754
+ jspb.Message.setWrapperField(this, 2, value);
27797
27755
  };
27798
27756
 
27799
27757
 
27800
- /** @param {Array.<!proto.sniipbillapi.BillDetail>} value */
27801
- proto.sniipbillapi.UserBillListData.prototype.setBilllistList = function(value) {
27802
- jspb.Message.setRepeatedWrapperField(this, 4, value);
27758
+ proto.sniipbillapi.UserBillListResponse.prototype.clearUserbilllistresponsedata = function() {
27759
+ this.setUserbilllistresponsedata(undefined);
27803
27760
  };
27804
27761
 
27805
27762
 
27806
- proto.sniipbillapi.UserBillListData.prototype.clearBilllistList = function() {
27807
- this.setBilllistList([]);
27763
+ /**
27764
+ * Returns whether this field is set.
27765
+ * @return{!boolean}
27766
+ */
27767
+ proto.sniipbillapi.UserBillListResponse.prototype.hasUserbilllistresponsedata = function() {
27768
+ return jspb.Message.getField(this, 2) != null;
27808
27769
  };
27809
27770
 
27810
27771
 
@@ -27819,13 +27780,20 @@ proto.sniipbillapi.UserBillListData.prototype.clearBilllistList = function() {
27819
27780
  * @extends {jspb.Message}
27820
27781
  * @constructor
27821
27782
  */
27822
- proto.sniipbillapi.UserBillListResponse = function(opt_data) {
27823
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
27783
+ proto.sniipbillapi.UserBillListResponseData = function(opt_data) {
27784
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.sniipbillapi.UserBillListResponseData.repeatedFields_, null);
27824
27785
  };
27825
- goog.inherits(proto.sniipbillapi.UserBillListResponse, jspb.Message);
27786
+ goog.inherits(proto.sniipbillapi.UserBillListResponseData, jspb.Message);
27826
27787
  if (goog.DEBUG && !COMPILED) {
27827
- proto.sniipbillapi.UserBillListResponse.displayName = 'proto.sniipbillapi.UserBillListResponse';
27788
+ proto.sniipbillapi.UserBillListResponseData.displayName = 'proto.sniipbillapi.UserBillListResponseData';
27828
27789
  }
27790
+ /**
27791
+ * List of repeated fields within this message type.
27792
+ * @private {!Array<number>}
27793
+ * @const
27794
+ */
27795
+ proto.sniipbillapi.UserBillListResponseData.repeatedFields_ = [4];
27796
+
27829
27797
 
27830
27798
 
27831
27799
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -27839,8 +27807,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
27839
27807
  * for transitional soy proto support: http://goto/soy-param-migration
27840
27808
  * @return {!Object}
27841
27809
  */
27842
- proto.sniipbillapi.UserBillListResponse.prototype.toObject = function(opt_includeInstance) {
27843
- return proto.sniipbillapi.UserBillListResponse.toObject(opt_includeInstance, this);
27810
+ proto.sniipbillapi.UserBillListResponseData.prototype.toObject = function(opt_includeInstance) {
27811
+ return proto.sniipbillapi.UserBillListResponseData.toObject(opt_includeInstance, this);
27844
27812
  };
27845
27813
 
27846
27814
 
@@ -27849,13 +27817,16 @@ proto.sniipbillapi.UserBillListResponse.prototype.toObject = function(opt_includ
27849
27817
  * @param {boolean|undefined} includeInstance Whether to include the JSPB
27850
27818
  * instance for transitional soy proto support:
27851
27819
  * http://goto/soy-param-migration
27852
- * @param {!proto.sniipbillapi.UserBillListResponse} msg The msg instance to transform.
27820
+ * @param {!proto.sniipbillapi.UserBillListResponseData} msg The msg instance to transform.
27853
27821
  * @return {!Object}
27854
27822
  */
27855
- proto.sniipbillapi.UserBillListResponse.toObject = function(includeInstance, msg) {
27823
+ proto.sniipbillapi.UserBillListResponseData.toObject = function(includeInstance, msg) {
27856
27824
  var f, obj = {
27857
- responsecode: (f = msg.getResponsecode()) && proto.sniipbillapi.ResponseCode.toObject(includeInstance, f),
27858
- userbilllistdata: (f = msg.getUserbilllistdata()) && proto.sniipbillapi.UserBillListData.toObject(includeInstance, f)
27825
+ limit: msg.getLimit(),
27826
+ page: msg.getPage(),
27827
+ total: msg.getTotal(),
27828
+ billlistList: jspb.Message.toObjectList(msg.getBilllistList(),
27829
+ proto.sniipbillapi.BillDetail.toObject, includeInstance)
27859
27830
  };
27860
27831
 
27861
27832
  if (includeInstance) {
@@ -27869,23 +27840,23 @@ proto.sniipbillapi.UserBillListResponse.toObject = function(includeInstance, msg
27869
27840
  /**
27870
27841
  * Deserializes binary data (in protobuf wire format).
27871
27842
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
27872
- * @return {!proto.sniipbillapi.UserBillListResponse}
27843
+ * @return {!proto.sniipbillapi.UserBillListResponseData}
27873
27844
  */
27874
- proto.sniipbillapi.UserBillListResponse.deserializeBinary = function(bytes) {
27845
+ proto.sniipbillapi.UserBillListResponseData.deserializeBinary = function(bytes) {
27875
27846
  var reader = new jspb.BinaryReader(bytes);
27876
- var msg = new proto.sniipbillapi.UserBillListResponse;
27877
- return proto.sniipbillapi.UserBillListResponse.deserializeBinaryFromReader(msg, reader);
27847
+ var msg = new proto.sniipbillapi.UserBillListResponseData;
27848
+ return proto.sniipbillapi.UserBillListResponseData.deserializeBinaryFromReader(msg, reader);
27878
27849
  };
27879
27850
 
27880
27851
 
27881
27852
  /**
27882
27853
  * Deserializes binary data (in protobuf wire format) from the
27883
27854
  * given reader into the given message object.
27884
- * @param {!proto.sniipbillapi.UserBillListResponse} msg The message object to deserialize into.
27855
+ * @param {!proto.sniipbillapi.UserBillListResponseData} msg The message object to deserialize into.
27885
27856
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
27886
- * @return {!proto.sniipbillapi.UserBillListResponse}
27857
+ * @return {!proto.sniipbillapi.UserBillListResponseData}
27887
27858
  */
27888
- proto.sniipbillapi.UserBillListResponse.deserializeBinaryFromReader = function(msg, reader) {
27859
+ proto.sniipbillapi.UserBillListResponseData.deserializeBinaryFromReader = function(msg, reader) {
27889
27860
  while (reader.nextField()) {
27890
27861
  if (reader.isEndGroup()) {
27891
27862
  break;
@@ -27893,14 +27864,22 @@ proto.sniipbillapi.UserBillListResponse.deserializeBinaryFromReader = function(m
27893
27864
  var field = reader.getFieldNumber();
27894
27865
  switch (field) {
27895
27866
  case 1:
27896
- var value = new proto.sniipbillapi.ResponseCode;
27897
- reader.readMessage(value,proto.sniipbillapi.ResponseCode.deserializeBinaryFromReader);
27898
- msg.setResponsecode(value);
27867
+ var value = /** @type {number} */ (reader.readInt32());
27868
+ msg.setLimit(value);
27899
27869
  break;
27900
27870
  case 2:
27901
- var value = new proto.sniipbillapi.UserBillListData;
27902
- reader.readMessage(value,proto.sniipbillapi.UserBillListData.deserializeBinaryFromReader);
27903
- msg.setUserbilllistdata(value);
27871
+ var value = /** @type {number} */ (reader.readInt32());
27872
+ msg.setPage(value);
27873
+ break;
27874
+ case 3:
27875
+ var value = /** @type {number} */ (reader.readInt32());
27876
+ msg.setTotal(value);
27877
+ break;
27878
+ case 4:
27879
+ var value = new proto.sniipbillapi.BillDetail;
27880
+ reader.readMessage(value,proto.sniipbillapi.BillDetail.deserializeBinaryFromReader);
27881
+ msg.getBilllistList().push(value);
27882
+ msg.setBilllistList(msg.getBilllistList());
27904
27883
  break;
27905
27884
  default:
27906
27885
  reader.skipField();
@@ -27914,10 +27893,10 @@ proto.sniipbillapi.UserBillListResponse.deserializeBinaryFromReader = function(m
27914
27893
  /**
27915
27894
  * Class method variant: serializes the given message to binary data
27916
27895
  * (in protobuf wire format), writing to the given BinaryWriter.
27917
- * @param {!proto.sniipbillapi.UserBillListResponse} message
27896
+ * @param {!proto.sniipbillapi.UserBillListResponseData} message
27918
27897
  * @param {!jspb.BinaryWriter} writer
27919
27898
  */
27920
- proto.sniipbillapi.UserBillListResponse.serializeBinaryToWriter = function(message, writer) {
27899
+ proto.sniipbillapi.UserBillListResponseData.serializeBinaryToWriter = function(message, writer) {
27921
27900
  message.serializeBinaryToWriter(writer);
27922
27901
  };
27923
27902
 
@@ -27926,7 +27905,7 @@ proto.sniipbillapi.UserBillListResponse.serializeBinaryToWriter = function(messa
27926
27905
  * Serializes the message to binary data (in protobuf wire format).
27927
27906
  * @return {!Uint8Array}
27928
27907
  */
27929
- proto.sniipbillapi.UserBillListResponse.prototype.serializeBinary = function() {
27908
+ proto.sniipbillapi.UserBillListResponseData.prototype.serializeBinary = function() {
27930
27909
  var writer = new jspb.BinaryWriter();
27931
27910
  this.serializeBinaryToWriter(writer);
27932
27911
  return writer.getResultBuffer();
@@ -27938,22 +27917,35 @@ proto.sniipbillapi.UserBillListResponse.prototype.serializeBinary = function() {
27938
27917
  * writing to the given BinaryWriter.
27939
27918
  * @param {!jspb.BinaryWriter} writer
27940
27919
  */
27941
- proto.sniipbillapi.UserBillListResponse.prototype.serializeBinaryToWriter = function (writer) {
27920
+ proto.sniipbillapi.UserBillListResponseData.prototype.serializeBinaryToWriter = function (writer) {
27942
27921
  var f = undefined;
27943
- f = this.getResponsecode();
27944
- if (f != null) {
27945
- writer.writeMessage(
27922
+ f = this.getLimit();
27923
+ if (f !== 0) {
27924
+ writer.writeInt32(
27946
27925
  1,
27947
- f,
27948
- proto.sniipbillapi.ResponseCode.serializeBinaryToWriter
27926
+ f
27949
27927
  );
27950
27928
  }
27951
- f = this.getUserbilllistdata();
27952
- if (f != null) {
27953
- writer.writeMessage(
27929
+ f = this.getPage();
27930
+ if (f !== 0) {
27931
+ writer.writeInt32(
27954
27932
  2,
27933
+ f
27934
+ );
27935
+ }
27936
+ f = this.getTotal();
27937
+ if (f !== 0) {
27938
+ writer.writeInt32(
27939
+ 3,
27940
+ f
27941
+ );
27942
+ }
27943
+ f = this.getBilllistList();
27944
+ if (f.length > 0) {
27945
+ writer.writeRepeatedMessage(
27946
+ 4,
27955
27947
  f,
27956
- proto.sniipbillapi.UserBillListData.serializeBinaryToWriter
27948
+ proto.sniipbillapi.BillDetail.serializeBinaryToWriter
27957
27949
  );
27958
27950
  }
27959
27951
  };
@@ -27961,70 +27953,78 @@ proto.sniipbillapi.UserBillListResponse.prototype.serializeBinaryToWriter = func
27961
27953
 
27962
27954
  /**
27963
27955
  * Creates a deep clone of this proto. No data is shared with the original.
27964
- * @return {!proto.sniipbillapi.UserBillListResponse} The clone.
27956
+ * @return {!proto.sniipbillapi.UserBillListResponseData} The clone.
27965
27957
  */
27966
- proto.sniipbillapi.UserBillListResponse.prototype.cloneMessage = function() {
27967
- return /** @type {!proto.sniipbillapi.UserBillListResponse} */ (jspb.Message.cloneMessage(this));
27958
+ proto.sniipbillapi.UserBillListResponseData.prototype.cloneMessage = function() {
27959
+ return /** @type {!proto.sniipbillapi.UserBillListResponseData} */ (jspb.Message.cloneMessage(this));
27968
27960
  };
27969
27961
 
27970
27962
 
27971
27963
  /**
27972
- * optional ResponseCode responseCode = 1;
27973
- * @return {proto.sniipbillapi.ResponseCode}
27964
+ * optional int32 limit = 1;
27965
+ * @return {number}
27974
27966
  */
27975
- proto.sniipbillapi.UserBillListResponse.prototype.getResponsecode = function() {
27976
- return /** @type{proto.sniipbillapi.ResponseCode} */ (
27977
- jspb.Message.getWrapperField(this, proto.sniipbillapi.ResponseCode, 1));
27967
+ proto.sniipbillapi.UserBillListResponseData.prototype.getLimit = function() {
27968
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
27978
27969
  };
27979
27970
 
27980
27971
 
27981
- /** @param {proto.sniipbillapi.ResponseCode|undefined} value */
27982
- proto.sniipbillapi.UserBillListResponse.prototype.setResponsecode = function(value) {
27983
- jspb.Message.setWrapperField(this, 1, value);
27972
+ /** @param {number} value */
27973
+ proto.sniipbillapi.UserBillListResponseData.prototype.setLimit = function(value) {
27974
+ jspb.Message.setField(this, 1, value);
27984
27975
  };
27985
27976
 
27986
27977
 
27987
- proto.sniipbillapi.UserBillListResponse.prototype.clearResponsecode = function() {
27988
- this.setResponsecode(undefined);
27978
+ /**
27979
+ * optional int32 page = 2;
27980
+ * @return {number}
27981
+ */
27982
+ proto.sniipbillapi.UserBillListResponseData.prototype.getPage = function() {
27983
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 2, 0));
27989
27984
  };
27990
27985
 
27991
27986
 
27992
- /**
27993
- * Returns whether this field is set.
27994
- * @return{!boolean}
27995
- */
27996
- proto.sniipbillapi.UserBillListResponse.prototype.hasResponsecode = function() {
27997
- return jspb.Message.getField(this, 1) != null;
27987
+ /** @param {number} value */
27988
+ proto.sniipbillapi.UserBillListResponseData.prototype.setPage = function(value) {
27989
+ jspb.Message.setField(this, 2, value);
27998
27990
  };
27999
27991
 
28000
27992
 
28001
27993
  /**
28002
- * optional UserBillListData userBillListData = 2;
28003
- * @return {proto.sniipbillapi.UserBillListData}
27994
+ * optional int32 total = 3;
27995
+ * @return {number}
28004
27996
  */
28005
- proto.sniipbillapi.UserBillListResponse.prototype.getUserbilllistdata = function() {
28006
- return /** @type{proto.sniipbillapi.UserBillListData} */ (
28007
- jspb.Message.getWrapperField(this, proto.sniipbillapi.UserBillListData, 2));
27997
+ proto.sniipbillapi.UserBillListResponseData.prototype.getTotal = function() {
27998
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 3, 0));
28008
27999
  };
28009
28000
 
28010
28001
 
28011
- /** @param {proto.sniipbillapi.UserBillListData|undefined} value */
28012
- proto.sniipbillapi.UserBillListResponse.prototype.setUserbilllistdata = function(value) {
28013
- jspb.Message.setWrapperField(this, 2, value);
28002
+ /** @param {number} value */
28003
+ proto.sniipbillapi.UserBillListResponseData.prototype.setTotal = function(value) {
28004
+ jspb.Message.setField(this, 3, value);
28014
28005
  };
28015
28006
 
28016
28007
 
28017
- proto.sniipbillapi.UserBillListResponse.prototype.clearUserbilllistdata = function() {
28018
- this.setUserbilllistdata(undefined);
28008
+ /**
28009
+ * repeated BillDetail billList = 4;
28010
+ * If you change this array by adding, removing or replacing elements, or if you
28011
+ * replace the array itself, then you must call the setter to update it.
28012
+ * @return {!Array.<!proto.sniipbillapi.BillDetail>}
28013
+ */
28014
+ proto.sniipbillapi.UserBillListResponseData.prototype.getBilllistList = function() {
28015
+ return /** @type{!Array.<!proto.sniipbillapi.BillDetail>} */ (
28016
+ jspb.Message.getRepeatedWrapperField(this, proto.sniipbillapi.BillDetail, 4));
28019
28017
  };
28020
28018
 
28021
28019
 
28022
- /**
28023
- * Returns whether this field is set.
28024
- * @return{!boolean}
28025
- */
28026
- proto.sniipbillapi.UserBillListResponse.prototype.hasUserbilllistdata = function() {
28027
- return jspb.Message.getField(this, 2) != null;
28020
+ /** @param {Array.<!proto.sniipbillapi.BillDetail>} value */
28021
+ proto.sniipbillapi.UserBillListResponseData.prototype.setBilllistList = function(value) {
28022
+ jspb.Message.setRepeatedWrapperField(this, 4, value);
28023
+ };
28024
+
28025
+
28026
+ proto.sniipbillapi.UserBillListResponseData.prototype.clearBilllistList = function() {
28027
+ this.setBilllistList([]);
28028
28028
  };
28029
28029
 
28030
28030
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/bill-service-client-grpcweb",
3
- "version": "22.10.8737",
3
+ "version": "22.10.8759",
4
4
  "description": "bill-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",