@sniipwebmaster/biller-service-client-grpcweb 0.2.2835 → 0.2.2863

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.
@@ -10491,7 +10491,12 @@ proto.sniipbillerapi.CreateBillerRequest.toObject = function(includeInstance, ms
10491
10491
  var f, obj = {
10492
10492
  configsList: jspb.Message.toObjectList(msg.getConfigsList(),
10493
10493
  proto.sniipbillerapi.BillerConfig.toObject, includeInstance),
10494
+ donationmessage1: msg.getDonationmessage1(),
10495
+ donationmessage2: msg.getDonationmessage2(),
10496
+ donationmessage3: msg.getDonationmessage3(),
10494
10497
  email: msg.getEmail(),
10498
+ graceperiod: msg.getGraceperiod(),
10499
+ isdonationenabled: msg.getIsdonationenabled(),
10495
10500
  logo: msg.getLogo(),
10496
10501
  mailingaddress: (f = msg.getMailingaddress()) && proto.sniipbillerapi.AddressRequest.toObject(includeInstance, f),
10497
10502
  name: msg.getName(),
@@ -10544,40 +10549,60 @@ proto.sniipbillerapi.CreateBillerRequest.deserializeBinaryFromReader = function(
10544
10549
  break;
10545
10550
  case 2:
10546
10551
  var value = /** @type {string} */ (reader.readString());
10547
- msg.setEmail(value);
10552
+ msg.setDonationmessage1(value);
10548
10553
  break;
10549
10554
  case 3:
10550
10555
  var value = /** @type {string} */ (reader.readString());
10551
- msg.setLogo(value);
10556
+ msg.setDonationmessage2(value);
10552
10557
  break;
10553
10558
  case 4:
10559
+ var value = /** @type {string} */ (reader.readString());
10560
+ msg.setDonationmessage3(value);
10561
+ break;
10562
+ case 5:
10563
+ var value = /** @type {string} */ (reader.readString());
10564
+ msg.setEmail(value);
10565
+ break;
10566
+ case 6:
10567
+ var value = /** @type {number} */ (reader.readInt64());
10568
+ msg.setGraceperiod(value);
10569
+ break;
10570
+ case 7:
10571
+ var value = /** @type {boolean} */ (reader.readBool());
10572
+ msg.setIsdonationenabled(value);
10573
+ break;
10574
+ case 8:
10575
+ var value = /** @type {string} */ (reader.readString());
10576
+ msg.setLogo(value);
10577
+ break;
10578
+ case 9:
10554
10579
  var value = new proto.sniipbillerapi.AddressRequest;
10555
10580
  reader.readMessage(value,proto.sniipbillerapi.AddressRequest.deserializeBinaryFromReader);
10556
10581
  msg.setMailingaddress(value);
10557
10582
  break;
10558
- case 5:
10583
+ case 10:
10559
10584
  var value = /** @type {string} */ (reader.readString());
10560
10585
  msg.setName(value);
10561
10586
  break;
10562
- case 6:
10587
+ case 11:
10563
10588
  var value = new proto.sniipbillerapi.OrganisationDetails;
10564
10589
  reader.readMessage(value,proto.sniipbillerapi.OrganisationDetails.deserializeBinaryFromReader);
10565
10590
  msg.setOrganisation(value);
10566
10591
  break;
10567
- case 7:
10592
+ case 12:
10568
10593
  var value = /** @type {string} */ (reader.readString());
10569
10594
  msg.setPhone(value);
10570
10595
  break;
10571
- case 8:
10596
+ case 13:
10572
10597
  var value = new proto.sniipbillerapi.AddressRequest;
10573
10598
  reader.readMessage(value,proto.sniipbillerapi.AddressRequest.deserializeBinaryFromReader);
10574
10599
  msg.setPrimaryaddress(value);
10575
10600
  break;
10576
- case 9:
10601
+ case 14:
10577
10602
  var value = /** @type {string} */ (reader.readString());
10578
10603
  msg.setTimezone(value);
10579
10604
  break;
10580
- case 10:
10605
+ case 15:
10581
10606
  var value = /** @type {string} */ (reader.readString());
10582
10607
  msg.setXeroorganisationid(value);
10583
10608
  break;
@@ -10627,24 +10652,59 @@ proto.sniipbillerapi.CreateBillerRequest.prototype.serializeBinaryToWriter = fun
10627
10652
  proto.sniipbillerapi.BillerConfig.serializeBinaryToWriter
10628
10653
  );
10629
10654
  }
10630
- f = this.getEmail();
10655
+ f = this.getDonationmessage1();
10631
10656
  if (f.length > 0) {
10632
10657
  writer.writeString(
10633
10658
  2,
10634
10659
  f
10635
10660
  );
10636
10661
  }
10637
- f = this.getLogo();
10662
+ f = this.getDonationmessage2();
10638
10663
  if (f.length > 0) {
10639
10664
  writer.writeString(
10640
10665
  3,
10641
10666
  f
10642
10667
  );
10643
10668
  }
10669
+ f = this.getDonationmessage3();
10670
+ if (f.length > 0) {
10671
+ writer.writeString(
10672
+ 4,
10673
+ f
10674
+ );
10675
+ }
10676
+ f = this.getEmail();
10677
+ if (f.length > 0) {
10678
+ writer.writeString(
10679
+ 5,
10680
+ f
10681
+ );
10682
+ }
10683
+ f = this.getGraceperiod();
10684
+ if (f !== 0) {
10685
+ writer.writeInt64(
10686
+ 6,
10687
+ f
10688
+ );
10689
+ }
10690
+ f = this.getIsdonationenabled();
10691
+ if (f) {
10692
+ writer.writeBool(
10693
+ 7,
10694
+ f
10695
+ );
10696
+ }
10697
+ f = this.getLogo();
10698
+ if (f.length > 0) {
10699
+ writer.writeString(
10700
+ 8,
10701
+ f
10702
+ );
10703
+ }
10644
10704
  f = this.getMailingaddress();
10645
10705
  if (f != null) {
10646
10706
  writer.writeMessage(
10647
- 4,
10707
+ 9,
10648
10708
  f,
10649
10709
  proto.sniipbillerapi.AddressRequest.serializeBinaryToWriter
10650
10710
  );
@@ -10652,14 +10712,14 @@ proto.sniipbillerapi.CreateBillerRequest.prototype.serializeBinaryToWriter = fun
10652
10712
  f = this.getName();
10653
10713
  if (f.length > 0) {
10654
10714
  writer.writeString(
10655
- 5,
10715
+ 10,
10656
10716
  f
10657
10717
  );
10658
10718
  }
10659
10719
  f = this.getOrganisation();
10660
10720
  if (f != null) {
10661
10721
  writer.writeMessage(
10662
- 6,
10722
+ 11,
10663
10723
  f,
10664
10724
  proto.sniipbillerapi.OrganisationDetails.serializeBinaryToWriter
10665
10725
  );
@@ -10667,14 +10727,14 @@ proto.sniipbillerapi.CreateBillerRequest.prototype.serializeBinaryToWriter = fun
10667
10727
  f = this.getPhone();
10668
10728
  if (f.length > 0) {
10669
10729
  writer.writeString(
10670
- 7,
10730
+ 12,
10671
10731
  f
10672
10732
  );
10673
10733
  }
10674
10734
  f = this.getPrimaryaddress();
10675
10735
  if (f != null) {
10676
10736
  writer.writeMessage(
10677
- 8,
10737
+ 13,
10678
10738
  f,
10679
10739
  proto.sniipbillerapi.AddressRequest.serializeBinaryToWriter
10680
10740
  );
@@ -10682,14 +10742,14 @@ proto.sniipbillerapi.CreateBillerRequest.prototype.serializeBinaryToWriter = fun
10682
10742
  f = this.getTimezone();
10683
10743
  if (f.length > 0) {
10684
10744
  writer.writeString(
10685
- 9,
10745
+ 14,
10686
10746
  f
10687
10747
  );
10688
10748
  }
10689
10749
  f = this.getXeroorganisationid();
10690
10750
  if (f.length > 0) {
10691
10751
  writer.writeString(
10692
- 10,
10752
+ 15,
10693
10753
  f
10694
10754
  );
10695
10755
  }
@@ -10729,48 +10789,125 @@ proto.sniipbillerapi.CreateBillerRequest.prototype.clearConfigsList = function()
10729
10789
 
10730
10790
 
10731
10791
  /**
10732
- * optional string email = 2;
10792
+ * optional string donationMessage1 = 2;
10733
10793
  * @return {string}
10734
10794
  */
10735
- proto.sniipbillerapi.CreateBillerRequest.prototype.getEmail = function() {
10795
+ proto.sniipbillerapi.CreateBillerRequest.prototype.getDonationmessage1 = function() {
10736
10796
  return /** @type {string} */ (jspb.Message.getFieldProto3(this, 2, ""));
10737
10797
  };
10738
10798
 
10739
10799
 
10740
10800
  /** @param {string} value */
10741
- proto.sniipbillerapi.CreateBillerRequest.prototype.setEmail = function(value) {
10801
+ proto.sniipbillerapi.CreateBillerRequest.prototype.setDonationmessage1 = function(value) {
10742
10802
  jspb.Message.setField(this, 2, value);
10743
10803
  };
10744
10804
 
10745
10805
 
10746
10806
  /**
10747
- * optional string logo = 3;
10807
+ * optional string donationMessage2 = 3;
10748
10808
  * @return {string}
10749
10809
  */
10750
- proto.sniipbillerapi.CreateBillerRequest.prototype.getLogo = function() {
10810
+ proto.sniipbillerapi.CreateBillerRequest.prototype.getDonationmessage2 = function() {
10751
10811
  return /** @type {string} */ (jspb.Message.getFieldProto3(this, 3, ""));
10752
10812
  };
10753
10813
 
10754
10814
 
10755
10815
  /** @param {string} value */
10756
- proto.sniipbillerapi.CreateBillerRequest.prototype.setLogo = function(value) {
10816
+ proto.sniipbillerapi.CreateBillerRequest.prototype.setDonationmessage2 = function(value) {
10757
10817
  jspb.Message.setField(this, 3, value);
10758
10818
  };
10759
10819
 
10760
10820
 
10761
10821
  /**
10762
- * optional AddressRequest mailingAddress = 4;
10822
+ * optional string donationMessage3 = 4;
10823
+ * @return {string}
10824
+ */
10825
+ proto.sniipbillerapi.CreateBillerRequest.prototype.getDonationmessage3 = function() {
10826
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 4, ""));
10827
+ };
10828
+
10829
+
10830
+ /** @param {string} value */
10831
+ proto.sniipbillerapi.CreateBillerRequest.prototype.setDonationmessage3 = function(value) {
10832
+ jspb.Message.setField(this, 4, value);
10833
+ };
10834
+
10835
+
10836
+ /**
10837
+ * optional string email = 5;
10838
+ * @return {string}
10839
+ */
10840
+ proto.sniipbillerapi.CreateBillerRequest.prototype.getEmail = function() {
10841
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 5, ""));
10842
+ };
10843
+
10844
+
10845
+ /** @param {string} value */
10846
+ proto.sniipbillerapi.CreateBillerRequest.prototype.setEmail = function(value) {
10847
+ jspb.Message.setField(this, 5, value);
10848
+ };
10849
+
10850
+
10851
+ /**
10852
+ * optional int64 gracePeriod = 6;
10853
+ * @return {number}
10854
+ */
10855
+ proto.sniipbillerapi.CreateBillerRequest.prototype.getGraceperiod = function() {
10856
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 6, 0));
10857
+ };
10858
+
10859
+
10860
+ /** @param {number} value */
10861
+ proto.sniipbillerapi.CreateBillerRequest.prototype.setGraceperiod = function(value) {
10862
+ jspb.Message.setField(this, 6, value);
10863
+ };
10864
+
10865
+
10866
+ /**
10867
+ * optional bool isDonationEnabled = 7;
10868
+ * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
10869
+ * You should avoid comparisons like {@code val === true/false} in those cases.
10870
+ * @return {boolean}
10871
+ */
10872
+ proto.sniipbillerapi.CreateBillerRequest.prototype.getIsdonationenabled = function() {
10873
+ return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 7, false));
10874
+ };
10875
+
10876
+
10877
+ /** @param {boolean} value */
10878
+ proto.sniipbillerapi.CreateBillerRequest.prototype.setIsdonationenabled = function(value) {
10879
+ jspb.Message.setField(this, 7, value);
10880
+ };
10881
+
10882
+
10883
+ /**
10884
+ * optional string logo = 8;
10885
+ * @return {string}
10886
+ */
10887
+ proto.sniipbillerapi.CreateBillerRequest.prototype.getLogo = function() {
10888
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 8, ""));
10889
+ };
10890
+
10891
+
10892
+ /** @param {string} value */
10893
+ proto.sniipbillerapi.CreateBillerRequest.prototype.setLogo = function(value) {
10894
+ jspb.Message.setField(this, 8, value);
10895
+ };
10896
+
10897
+
10898
+ /**
10899
+ * optional AddressRequest mailingAddress = 9;
10763
10900
  * @return {proto.sniipbillerapi.AddressRequest}
10764
10901
  */
10765
10902
  proto.sniipbillerapi.CreateBillerRequest.prototype.getMailingaddress = function() {
10766
10903
  return /** @type{proto.sniipbillerapi.AddressRequest} */ (
10767
- jspb.Message.getWrapperField(this, proto.sniipbillerapi.AddressRequest, 4));
10904
+ jspb.Message.getWrapperField(this, proto.sniipbillerapi.AddressRequest, 9));
10768
10905
  };
10769
10906
 
10770
10907
 
10771
10908
  /** @param {proto.sniipbillerapi.AddressRequest|undefined} value */
10772
10909
  proto.sniipbillerapi.CreateBillerRequest.prototype.setMailingaddress = function(value) {
10773
- jspb.Message.setWrapperField(this, 4, value);
10910
+ jspb.Message.setWrapperField(this, 9, value);
10774
10911
  };
10775
10912
 
10776
10913
 
@@ -10784,38 +10921,38 @@ proto.sniipbillerapi.CreateBillerRequest.prototype.clearMailingaddress = functio
10784
10921
  * @return{!boolean}
10785
10922
  */
10786
10923
  proto.sniipbillerapi.CreateBillerRequest.prototype.hasMailingaddress = function() {
10787
- return jspb.Message.getField(this, 4) != null;
10924
+ return jspb.Message.getField(this, 9) != null;
10788
10925
  };
10789
10926
 
10790
10927
 
10791
10928
  /**
10792
- * optional string name = 5;
10929
+ * optional string name = 10;
10793
10930
  * @return {string}
10794
10931
  */
10795
10932
  proto.sniipbillerapi.CreateBillerRequest.prototype.getName = function() {
10796
- return /** @type {string} */ (jspb.Message.getFieldProto3(this, 5, ""));
10933
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 10, ""));
10797
10934
  };
10798
10935
 
10799
10936
 
10800
10937
  /** @param {string} value */
10801
10938
  proto.sniipbillerapi.CreateBillerRequest.prototype.setName = function(value) {
10802
- jspb.Message.setField(this, 5, value);
10939
+ jspb.Message.setField(this, 10, value);
10803
10940
  };
10804
10941
 
10805
10942
 
10806
10943
  /**
10807
- * optional OrganisationDetails organisation = 6;
10944
+ * optional OrganisationDetails organisation = 11;
10808
10945
  * @return {proto.sniipbillerapi.OrganisationDetails}
10809
10946
  */
10810
10947
  proto.sniipbillerapi.CreateBillerRequest.prototype.getOrganisation = function() {
10811
10948
  return /** @type{proto.sniipbillerapi.OrganisationDetails} */ (
10812
- jspb.Message.getWrapperField(this, proto.sniipbillerapi.OrganisationDetails, 6));
10949
+ jspb.Message.getWrapperField(this, proto.sniipbillerapi.OrganisationDetails, 11));
10813
10950
  };
10814
10951
 
10815
10952
 
10816
10953
  /** @param {proto.sniipbillerapi.OrganisationDetails|undefined} value */
10817
10954
  proto.sniipbillerapi.CreateBillerRequest.prototype.setOrganisation = function(value) {
10818
- jspb.Message.setWrapperField(this, 6, value);
10955
+ jspb.Message.setWrapperField(this, 11, value);
10819
10956
  };
10820
10957
 
10821
10958
 
@@ -10829,38 +10966,38 @@ proto.sniipbillerapi.CreateBillerRequest.prototype.clearOrganisation = function(
10829
10966
  * @return{!boolean}
10830
10967
  */
10831
10968
  proto.sniipbillerapi.CreateBillerRequest.prototype.hasOrganisation = function() {
10832
- return jspb.Message.getField(this, 6) != null;
10969
+ return jspb.Message.getField(this, 11) != null;
10833
10970
  };
10834
10971
 
10835
10972
 
10836
10973
  /**
10837
- * optional string phone = 7;
10974
+ * optional string phone = 12;
10838
10975
  * @return {string}
10839
10976
  */
10840
10977
  proto.sniipbillerapi.CreateBillerRequest.prototype.getPhone = function() {
10841
- return /** @type {string} */ (jspb.Message.getFieldProto3(this, 7, ""));
10978
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 12, ""));
10842
10979
  };
10843
10980
 
10844
10981
 
10845
10982
  /** @param {string} value */
10846
10983
  proto.sniipbillerapi.CreateBillerRequest.prototype.setPhone = function(value) {
10847
- jspb.Message.setField(this, 7, value);
10984
+ jspb.Message.setField(this, 12, value);
10848
10985
  };
10849
10986
 
10850
10987
 
10851
10988
  /**
10852
- * optional AddressRequest primaryAddress = 8;
10989
+ * optional AddressRequest primaryAddress = 13;
10853
10990
  * @return {proto.sniipbillerapi.AddressRequest}
10854
10991
  */
10855
10992
  proto.sniipbillerapi.CreateBillerRequest.prototype.getPrimaryaddress = function() {
10856
10993
  return /** @type{proto.sniipbillerapi.AddressRequest} */ (
10857
- jspb.Message.getWrapperField(this, proto.sniipbillerapi.AddressRequest, 8));
10994
+ jspb.Message.getWrapperField(this, proto.sniipbillerapi.AddressRequest, 13));
10858
10995
  };
10859
10996
 
10860
10997
 
10861
10998
  /** @param {proto.sniipbillerapi.AddressRequest|undefined} value */
10862
10999
  proto.sniipbillerapi.CreateBillerRequest.prototype.setPrimaryaddress = function(value) {
10863
- jspb.Message.setWrapperField(this, 8, value);
11000
+ jspb.Message.setWrapperField(this, 13, value);
10864
11001
  };
10865
11002
 
10866
11003
 
@@ -10874,37 +11011,37 @@ proto.sniipbillerapi.CreateBillerRequest.prototype.clearPrimaryaddress = functio
10874
11011
  * @return{!boolean}
10875
11012
  */
10876
11013
  proto.sniipbillerapi.CreateBillerRequest.prototype.hasPrimaryaddress = function() {
10877
- return jspb.Message.getField(this, 8) != null;
11014
+ return jspb.Message.getField(this, 13) != null;
10878
11015
  };
10879
11016
 
10880
11017
 
10881
11018
  /**
10882
- * optional string timezone = 9;
11019
+ * optional string timezone = 14;
10883
11020
  * @return {string}
10884
11021
  */
10885
11022
  proto.sniipbillerapi.CreateBillerRequest.prototype.getTimezone = function() {
10886
- return /** @type {string} */ (jspb.Message.getFieldProto3(this, 9, ""));
11023
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 14, ""));
10887
11024
  };
10888
11025
 
10889
11026
 
10890
11027
  /** @param {string} value */
10891
11028
  proto.sniipbillerapi.CreateBillerRequest.prototype.setTimezone = function(value) {
10892
- jspb.Message.setField(this, 9, value);
11029
+ jspb.Message.setField(this, 14, value);
10893
11030
  };
10894
11031
 
10895
11032
 
10896
11033
  /**
10897
- * optional string xeroOrganisationId = 10;
11034
+ * optional string xeroOrganisationId = 15;
10898
11035
  * @return {string}
10899
11036
  */
10900
11037
  proto.sniipbillerapi.CreateBillerRequest.prototype.getXeroorganisationid = function() {
10901
- return /** @type {string} */ (jspb.Message.getFieldProto3(this, 10, ""));
11038
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 15, ""));
10902
11039
  };
10903
11040
 
10904
11041
 
10905
11042
  /** @param {string} value */
10906
11043
  proto.sniipbillerapi.CreateBillerRequest.prototype.setXeroorganisationid = function(value) {
10907
- jspb.Message.setField(this, 10, value);
11044
+ jspb.Message.setField(this, 15, value);
10908
11045
  };
10909
11046
 
10910
11047
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/biller-service-client-grpcweb",
3
- "version": "0.2.2835",
3
+ "version": "0.2.2863",
4
4
  "description": "biller-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",