@sniipwebmaster/agent-billing-client-grpcweb-ts 24.13.3328 → 24.14.3351

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.
@@ -2971,6 +2971,11 @@ export class GetPaidAgentBillTransactionsForClientRequest extends jspb.Message {
2971
2971
  getSortdirection(): string;
2972
2972
  setSortdirection(value: string): GetPaidAgentBillTransactionsForClientRequest;
2973
2973
 
2974
+ getFilters(): AgentBillTransactionFilters | undefined;
2975
+ setFilters(value?: AgentBillTransactionFilters): GetPaidAgentBillTransactionsForClientRequest;
2976
+ hasFilters(): boolean;
2977
+ clearFilters(): GetPaidAgentBillTransactionsForClientRequest;
2978
+
2974
2979
  serializeBinary(): Uint8Array;
2975
2980
  toObject(includeInstance?: boolean): GetPaidAgentBillTransactionsForClientRequest.AsObject;
2976
2981
  static toObject(includeInstance: boolean, msg: GetPaidAgentBillTransactionsForClientRequest): GetPaidAgentBillTransactionsForClientRequest.AsObject;
@@ -2986,6 +2991,45 @@ export namespace GetPaidAgentBillTransactionsForClientRequest {
2986
2991
  size: number,
2987
2992
  sortby: string,
2988
2993
  sortdirection: string,
2994
+ filters?: AgentBillTransactionFilters.AsObject,
2995
+ }
2996
+ }
2997
+
2998
+ export class AgentBillTransactionFilters extends jspb.Message {
2999
+ getMultifieldstring(): string;
3000
+ setMultifieldstring(value: string): AgentBillTransactionFilters;
3001
+
3002
+ getReceiptid(): string;
3003
+ setReceiptid(value: string): AgentBillTransactionFilters;
3004
+
3005
+ getAmountmin(): number;
3006
+ setAmountmin(value: number): AgentBillTransactionFilters;
3007
+
3008
+ getAmountmax(): number;
3009
+ setAmountmax(value: number): AgentBillTransactionFilters;
3010
+
3011
+ getStartdate(): string;
3012
+ setStartdate(value: string): AgentBillTransactionFilters;
3013
+
3014
+ getEnddate(): string;
3015
+ setEnddate(value: string): AgentBillTransactionFilters;
3016
+
3017
+ serializeBinary(): Uint8Array;
3018
+ toObject(includeInstance?: boolean): AgentBillTransactionFilters.AsObject;
3019
+ static toObject(includeInstance: boolean, msg: AgentBillTransactionFilters): AgentBillTransactionFilters.AsObject;
3020
+ static serializeBinaryToWriter(message: AgentBillTransactionFilters, writer: jspb.BinaryWriter): void;
3021
+ static deserializeBinary(bytes: Uint8Array): AgentBillTransactionFilters;
3022
+ static deserializeBinaryFromReader(message: AgentBillTransactionFilters, reader: jspb.BinaryReader): AgentBillTransactionFilters;
3023
+ }
3024
+
3025
+ export namespace AgentBillTransactionFilters {
3026
+ export type AsObject = {
3027
+ multifieldstring: string,
3028
+ receiptid: string,
3029
+ amountmin: number,
3030
+ amountmax: number,
3031
+ startdate: string,
3032
+ enddate: string,
2989
3033
  }
2990
3034
  }
2991
3035
 
@@ -26,6 +26,7 @@ goog.exportSymbol('proto.agentbillingserviceapi.AgentBill', null, global);
26
26
  goog.exportSymbol('proto.agentbillingserviceapi.AgentBillMapping', null, global);
27
27
  goog.exportSymbol('proto.agentbillingserviceapi.AgentBillStatus', null, global);
28
28
  goog.exportSymbol('proto.agentbillingserviceapi.AgentBillTransaction', null, global);
29
+ goog.exportSymbol('proto.agentbillingserviceapi.AgentBillTransactionFilters', null, global);
29
30
  goog.exportSymbol('proto.agentbillingserviceapi.AgentBillsToPay', null, global);
30
31
  goog.exportSymbol('proto.agentbillingserviceapi.ArchiveAgentBillResult', null, global);
31
32
  goog.exportSymbol('proto.agentbillingserviceapi.ArchiveAgentBillsByAgentBillIdsRequest', null, global);
@@ -1992,6 +1993,27 @@ if (goog.DEBUG && !COMPILED) {
1992
1993
  */
1993
1994
  proto.agentbillingserviceapi.GetPaidAgentBillTransactionsForClientRequest.displayName = 'proto.agentbillingserviceapi.GetPaidAgentBillTransactionsForClientRequest';
1994
1995
  }
1996
+ /**
1997
+ * Generated by JsPbCodeGenerator.
1998
+ * @param {Array=} opt_data Optional initial data array, typically from a
1999
+ * server response, or constructed directly in Javascript. The array is used
2000
+ * in place and becomes part of the constructed object. It is not cloned.
2001
+ * If no data is provided, the constructed object will be empty, but still
2002
+ * valid.
2003
+ * @extends {jspb.Message}
2004
+ * @constructor
2005
+ */
2006
+ proto.agentbillingserviceapi.AgentBillTransactionFilters = function(opt_data) {
2007
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2008
+ };
2009
+ goog.inherits(proto.agentbillingserviceapi.AgentBillTransactionFilters, jspb.Message);
2010
+ if (goog.DEBUG && !COMPILED) {
2011
+ /**
2012
+ * @public
2013
+ * @override
2014
+ */
2015
+ proto.agentbillingserviceapi.AgentBillTransactionFilters.displayName = 'proto.agentbillingserviceapi.AgentBillTransactionFilters';
2016
+ }
1995
2017
  /**
1996
2018
  * Generated by JsPbCodeGenerator.
1997
2019
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -24428,7 +24450,8 @@ proto.agentbillingserviceapi.GetPaidAgentBillTransactionsForClientRequest.toObje
24428
24450
  page: jspb.Message.getFieldWithDefault(msg, 2, 0),
24429
24451
  size: jspb.Message.getFieldWithDefault(msg, 3, 0),
24430
24452
  sortby: jspb.Message.getFieldWithDefault(msg, 4, ""),
24431
- sortdirection: jspb.Message.getFieldWithDefault(msg, 5, "")
24453
+ sortdirection: jspb.Message.getFieldWithDefault(msg, 5, ""),
24454
+ filters: (f = msg.getFilters()) && proto.agentbillingserviceapi.AgentBillTransactionFilters.toObject(includeInstance, f)
24432
24455
  };
24433
24456
 
24434
24457
  if (includeInstance) {
@@ -24485,6 +24508,11 @@ proto.agentbillingserviceapi.GetPaidAgentBillTransactionsForClientRequest.deseri
24485
24508
  var value = /** @type {string} */ (reader.readString());
24486
24509
  msg.setSortdirection(value);
24487
24510
  break;
24511
+ case 6:
24512
+ var value = new proto.agentbillingserviceapi.AgentBillTransactionFilters;
24513
+ reader.readMessage(value,proto.agentbillingserviceapi.AgentBillTransactionFilters.deserializeBinaryFromReader);
24514
+ msg.setFilters(value);
24515
+ break;
24488
24516
  default:
24489
24517
  reader.skipField();
24490
24518
  break;
@@ -24549,6 +24577,14 @@ proto.agentbillingserviceapi.GetPaidAgentBillTransactionsForClientRequest.serial
24549
24577
  f
24550
24578
  );
24551
24579
  }
24580
+ f = message.getFilters();
24581
+ if (f != null) {
24582
+ writer.writeMessage(
24583
+ 6,
24584
+ f,
24585
+ proto.agentbillingserviceapi.AgentBillTransactionFilters.serializeBinaryToWriter
24586
+ );
24587
+ }
24552
24588
  };
24553
24589
 
24554
24590
 
@@ -24642,6 +24678,323 @@ proto.agentbillingserviceapi.GetPaidAgentBillTransactionsForClientRequest.protot
24642
24678
  };
24643
24679
 
24644
24680
 
24681
+ /**
24682
+ * optional AgentBillTransactionFilters filters = 6;
24683
+ * @return {?proto.agentbillingserviceapi.AgentBillTransactionFilters}
24684
+ */
24685
+ proto.agentbillingserviceapi.GetPaidAgentBillTransactionsForClientRequest.prototype.getFilters = function() {
24686
+ return /** @type{?proto.agentbillingserviceapi.AgentBillTransactionFilters} */ (
24687
+ jspb.Message.getWrapperField(this, proto.agentbillingserviceapi.AgentBillTransactionFilters, 6));
24688
+ };
24689
+
24690
+
24691
+ /**
24692
+ * @param {?proto.agentbillingserviceapi.AgentBillTransactionFilters|undefined} value
24693
+ * @return {!proto.agentbillingserviceapi.GetPaidAgentBillTransactionsForClientRequest} returns this
24694
+ */
24695
+ proto.agentbillingserviceapi.GetPaidAgentBillTransactionsForClientRequest.prototype.setFilters = function(value) {
24696
+ return jspb.Message.setWrapperField(this, 6, value);
24697
+ };
24698
+
24699
+
24700
+ /**
24701
+ * Clears the message field making it undefined.
24702
+ * @return {!proto.agentbillingserviceapi.GetPaidAgentBillTransactionsForClientRequest} returns this
24703
+ */
24704
+ proto.agentbillingserviceapi.GetPaidAgentBillTransactionsForClientRequest.prototype.clearFilters = function() {
24705
+ return this.setFilters(undefined);
24706
+ };
24707
+
24708
+
24709
+ /**
24710
+ * Returns whether this field is set.
24711
+ * @return {boolean}
24712
+ */
24713
+ proto.agentbillingserviceapi.GetPaidAgentBillTransactionsForClientRequest.prototype.hasFilters = function() {
24714
+ return jspb.Message.getField(this, 6) != null;
24715
+ };
24716
+
24717
+
24718
+
24719
+
24720
+
24721
+ if (jspb.Message.GENERATE_TO_OBJECT) {
24722
+ /**
24723
+ * Creates an object representation of this proto.
24724
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
24725
+ * Optional fields that are not set will be set to undefined.
24726
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
24727
+ * For the list of reserved names please see:
24728
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
24729
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
24730
+ * JSPB instance for transitional soy proto support:
24731
+ * http://goto/soy-param-migration
24732
+ * @return {!Object}
24733
+ */
24734
+ proto.agentbillingserviceapi.AgentBillTransactionFilters.prototype.toObject = function(opt_includeInstance) {
24735
+ return proto.agentbillingserviceapi.AgentBillTransactionFilters.toObject(opt_includeInstance, this);
24736
+ };
24737
+
24738
+
24739
+ /**
24740
+ * Static version of the {@see toObject} method.
24741
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
24742
+ * the JSPB instance for transitional soy proto support:
24743
+ * http://goto/soy-param-migration
24744
+ * @param {!proto.agentbillingserviceapi.AgentBillTransactionFilters} msg The msg instance to transform.
24745
+ * @return {!Object}
24746
+ * @suppress {unusedLocalVariables} f is only used for nested messages
24747
+ */
24748
+ proto.agentbillingserviceapi.AgentBillTransactionFilters.toObject = function(includeInstance, msg) {
24749
+ var f, obj = {
24750
+ multifieldstring: jspb.Message.getFieldWithDefault(msg, 1, ""),
24751
+ receiptid: jspb.Message.getFieldWithDefault(msg, 2, ""),
24752
+ amountmin: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
24753
+ amountmax: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
24754
+ startdate: jspb.Message.getFieldWithDefault(msg, 5, ""),
24755
+ enddate: jspb.Message.getFieldWithDefault(msg, 6, "")
24756
+ };
24757
+
24758
+ if (includeInstance) {
24759
+ obj.$jspbMessageInstance = msg;
24760
+ }
24761
+ return obj;
24762
+ };
24763
+ }
24764
+
24765
+
24766
+ /**
24767
+ * Deserializes binary data (in protobuf wire format).
24768
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
24769
+ * @return {!proto.agentbillingserviceapi.AgentBillTransactionFilters}
24770
+ */
24771
+ proto.agentbillingserviceapi.AgentBillTransactionFilters.deserializeBinary = function(bytes) {
24772
+ var reader = new jspb.BinaryReader(bytes);
24773
+ var msg = new proto.agentbillingserviceapi.AgentBillTransactionFilters;
24774
+ return proto.agentbillingserviceapi.AgentBillTransactionFilters.deserializeBinaryFromReader(msg, reader);
24775
+ };
24776
+
24777
+
24778
+ /**
24779
+ * Deserializes binary data (in protobuf wire format) from the
24780
+ * given reader into the given message object.
24781
+ * @param {!proto.agentbillingserviceapi.AgentBillTransactionFilters} msg The message object to deserialize into.
24782
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
24783
+ * @return {!proto.agentbillingserviceapi.AgentBillTransactionFilters}
24784
+ */
24785
+ proto.agentbillingserviceapi.AgentBillTransactionFilters.deserializeBinaryFromReader = function(msg, reader) {
24786
+ while (reader.nextField()) {
24787
+ if (reader.isEndGroup()) {
24788
+ break;
24789
+ }
24790
+ var field = reader.getFieldNumber();
24791
+ switch (field) {
24792
+ case 1:
24793
+ var value = /** @type {string} */ (reader.readString());
24794
+ msg.setMultifieldstring(value);
24795
+ break;
24796
+ case 2:
24797
+ var value = /** @type {string} */ (reader.readString());
24798
+ msg.setReceiptid(value);
24799
+ break;
24800
+ case 3:
24801
+ var value = /** @type {number} */ (reader.readDouble());
24802
+ msg.setAmountmin(value);
24803
+ break;
24804
+ case 4:
24805
+ var value = /** @type {number} */ (reader.readDouble());
24806
+ msg.setAmountmax(value);
24807
+ break;
24808
+ case 5:
24809
+ var value = /** @type {string} */ (reader.readString());
24810
+ msg.setStartdate(value);
24811
+ break;
24812
+ case 6:
24813
+ var value = /** @type {string} */ (reader.readString());
24814
+ msg.setEnddate(value);
24815
+ break;
24816
+ default:
24817
+ reader.skipField();
24818
+ break;
24819
+ }
24820
+ }
24821
+ return msg;
24822
+ };
24823
+
24824
+
24825
+ /**
24826
+ * Serializes the message to binary data (in protobuf wire format).
24827
+ * @return {!Uint8Array}
24828
+ */
24829
+ proto.agentbillingserviceapi.AgentBillTransactionFilters.prototype.serializeBinary = function() {
24830
+ var writer = new jspb.BinaryWriter();
24831
+ proto.agentbillingserviceapi.AgentBillTransactionFilters.serializeBinaryToWriter(this, writer);
24832
+ return writer.getResultBuffer();
24833
+ };
24834
+
24835
+
24836
+ /**
24837
+ * Serializes the given message to binary data (in protobuf wire
24838
+ * format), writing to the given BinaryWriter.
24839
+ * @param {!proto.agentbillingserviceapi.AgentBillTransactionFilters} message
24840
+ * @param {!jspb.BinaryWriter} writer
24841
+ * @suppress {unusedLocalVariables} f is only used for nested messages
24842
+ */
24843
+ proto.agentbillingserviceapi.AgentBillTransactionFilters.serializeBinaryToWriter = function(message, writer) {
24844
+ var f = undefined;
24845
+ f = message.getMultifieldstring();
24846
+ if (f.length > 0) {
24847
+ writer.writeString(
24848
+ 1,
24849
+ f
24850
+ );
24851
+ }
24852
+ f = message.getReceiptid();
24853
+ if (f.length > 0) {
24854
+ writer.writeString(
24855
+ 2,
24856
+ f
24857
+ );
24858
+ }
24859
+ f = message.getAmountmin();
24860
+ if (f !== 0.0) {
24861
+ writer.writeDouble(
24862
+ 3,
24863
+ f
24864
+ );
24865
+ }
24866
+ f = message.getAmountmax();
24867
+ if (f !== 0.0) {
24868
+ writer.writeDouble(
24869
+ 4,
24870
+ f
24871
+ );
24872
+ }
24873
+ f = message.getStartdate();
24874
+ if (f.length > 0) {
24875
+ writer.writeString(
24876
+ 5,
24877
+ f
24878
+ );
24879
+ }
24880
+ f = message.getEnddate();
24881
+ if (f.length > 0) {
24882
+ writer.writeString(
24883
+ 6,
24884
+ f
24885
+ );
24886
+ }
24887
+ };
24888
+
24889
+
24890
+ /**
24891
+ * optional string multiFieldString = 1;
24892
+ * @return {string}
24893
+ */
24894
+ proto.agentbillingserviceapi.AgentBillTransactionFilters.prototype.getMultifieldstring = function() {
24895
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
24896
+ };
24897
+
24898
+
24899
+ /**
24900
+ * @param {string} value
24901
+ * @return {!proto.agentbillingserviceapi.AgentBillTransactionFilters} returns this
24902
+ */
24903
+ proto.agentbillingserviceapi.AgentBillTransactionFilters.prototype.setMultifieldstring = function(value) {
24904
+ return jspb.Message.setProto3StringField(this, 1, value);
24905
+ };
24906
+
24907
+
24908
+ /**
24909
+ * optional string receiptId = 2;
24910
+ * @return {string}
24911
+ */
24912
+ proto.agentbillingserviceapi.AgentBillTransactionFilters.prototype.getReceiptid = function() {
24913
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
24914
+ };
24915
+
24916
+
24917
+ /**
24918
+ * @param {string} value
24919
+ * @return {!proto.agentbillingserviceapi.AgentBillTransactionFilters} returns this
24920
+ */
24921
+ proto.agentbillingserviceapi.AgentBillTransactionFilters.prototype.setReceiptid = function(value) {
24922
+ return jspb.Message.setProto3StringField(this, 2, value);
24923
+ };
24924
+
24925
+
24926
+ /**
24927
+ * optional double amountMin = 3;
24928
+ * @return {number}
24929
+ */
24930
+ proto.agentbillingserviceapi.AgentBillTransactionFilters.prototype.getAmountmin = function() {
24931
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
24932
+ };
24933
+
24934
+
24935
+ /**
24936
+ * @param {number} value
24937
+ * @return {!proto.agentbillingserviceapi.AgentBillTransactionFilters} returns this
24938
+ */
24939
+ proto.agentbillingserviceapi.AgentBillTransactionFilters.prototype.setAmountmin = function(value) {
24940
+ return jspb.Message.setProto3FloatField(this, 3, value);
24941
+ };
24942
+
24943
+
24944
+ /**
24945
+ * optional double amountMax = 4;
24946
+ * @return {number}
24947
+ */
24948
+ proto.agentbillingserviceapi.AgentBillTransactionFilters.prototype.getAmountmax = function() {
24949
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
24950
+ };
24951
+
24952
+
24953
+ /**
24954
+ * @param {number} value
24955
+ * @return {!proto.agentbillingserviceapi.AgentBillTransactionFilters} returns this
24956
+ */
24957
+ proto.agentbillingserviceapi.AgentBillTransactionFilters.prototype.setAmountmax = function(value) {
24958
+ return jspb.Message.setProto3FloatField(this, 4, value);
24959
+ };
24960
+
24961
+
24962
+ /**
24963
+ * optional string startDate = 5;
24964
+ * @return {string}
24965
+ */
24966
+ proto.agentbillingserviceapi.AgentBillTransactionFilters.prototype.getStartdate = function() {
24967
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
24968
+ };
24969
+
24970
+
24971
+ /**
24972
+ * @param {string} value
24973
+ * @return {!proto.agentbillingserviceapi.AgentBillTransactionFilters} returns this
24974
+ */
24975
+ proto.agentbillingserviceapi.AgentBillTransactionFilters.prototype.setStartdate = function(value) {
24976
+ return jspb.Message.setProto3StringField(this, 5, value);
24977
+ };
24978
+
24979
+
24980
+ /**
24981
+ * optional string endDate = 6;
24982
+ * @return {string}
24983
+ */
24984
+ proto.agentbillingserviceapi.AgentBillTransactionFilters.prototype.getEnddate = function() {
24985
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
24986
+ };
24987
+
24988
+
24989
+ /**
24990
+ * @param {string} value
24991
+ * @return {!proto.agentbillingserviceapi.AgentBillTransactionFilters} returns this
24992
+ */
24993
+ proto.agentbillingserviceapi.AgentBillTransactionFilters.prototype.setEnddate = function(value) {
24994
+ return jspb.Message.setProto3StringField(this, 6, value);
24995
+ };
24996
+
24997
+
24645
24998
 
24646
24999
  /**
24647
25000
  * List of repeated fields within this message type.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/agent-billing-client-grpcweb-ts",
3
- "version": "24.13.3328",
3
+ "version": "24.14.3351",
4
4
  "description": "agent-billing-client-grpcweb-ts",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",