@sniipwebmaster/bill-service-client-grpcweb 23.1.10735 → 23.2.10771

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.
@@ -19,6 +19,7 @@ goog.exportSymbol('proto.sniipbillapi.BadgeCountRequest', null, global);
19
19
  goog.exportSymbol('proto.sniipbillapi.BadgeCountResponse', null, global);
20
20
  goog.exportSymbol('proto.sniipbillapi.BillAttachments', null, global);
21
21
  goog.exportSymbol('proto.sniipbillapi.BillBillInternalRequest', null, global);
22
+ goog.exportSymbol('proto.sniipbillapi.BillConfig', null, global);
22
23
  goog.exportSymbol('proto.sniipbillapi.BillCreateRequest', null, global);
23
24
  goog.exportSymbol('proto.sniipbillapi.BillCreateResponse', null, global);
24
25
  goog.exportSymbol('proto.sniipbillapi.BillDetail', null, global);
@@ -2369,6 +2370,522 @@ proto.sniipbillapi.BillBillInternalRequest.prototype.setWithextradetails = funct
2369
2370
 
2370
2371
 
2371
2372
 
2373
+ /**
2374
+ * Generated by JsPbCodeGenerator.
2375
+ * @param {Array=} opt_data Optional initial data array, typically from a
2376
+ * server response, or constructed directly in Javascript. The array is used
2377
+ * in place and becomes part of the constructed object. It is not cloned.
2378
+ * If no data is provided, the constructed object will be empty, but still
2379
+ * valid.
2380
+ * @extends {jspb.Message}
2381
+ * @constructor
2382
+ */
2383
+ proto.sniipbillapi.BillConfig = function(opt_data) {
2384
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2385
+ };
2386
+ goog.inherits(proto.sniipbillapi.BillConfig, jspb.Message);
2387
+ if (goog.DEBUG && !COMPILED) {
2388
+ proto.sniipbillapi.BillConfig.displayName = 'proto.sniipbillapi.BillConfig';
2389
+ }
2390
+
2391
+
2392
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2393
+ /**
2394
+ * Creates an object representation of this proto suitable for use in Soy templates.
2395
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2396
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2397
+ * For the list of reserved names please see:
2398
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
2399
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
2400
+ * for transitional soy proto support: http://goto/soy-param-migration
2401
+ * @return {!Object}
2402
+ */
2403
+ proto.sniipbillapi.BillConfig.prototype.toObject = function(opt_includeInstance) {
2404
+ return proto.sniipbillapi.BillConfig.toObject(opt_includeInstance, this);
2405
+ };
2406
+
2407
+
2408
+ /**
2409
+ * Static version of the {@see toObject} method.
2410
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
2411
+ * instance for transitional soy proto support:
2412
+ * http://goto/soy-param-migration
2413
+ * @param {!proto.sniipbillapi.BillConfig} msg The msg instance to transform.
2414
+ * @return {!Object}
2415
+ */
2416
+ proto.sniipbillapi.BillConfig.toObject = function(includeInstance, msg) {
2417
+ var f, obj = {
2418
+ billconfigid: msg.getBillconfigid(),
2419
+ paymentprocessor: msg.getPaymentprocessor(),
2420
+ reference: msg.getReference(),
2421
+ formattedreference: msg.getFormattedreference(),
2422
+ bankaccountname: msg.getBankaccountname(),
2423
+ billerconfigid: msg.getBillerconfigid(),
2424
+ billercode: msg.getBillercode(),
2425
+ minpermittedamount: msg.getMinpermittedamount(),
2426
+ maxpermittedamount: msg.getMaxpermittedamount(),
2427
+ partialpaymentpermitted: msg.getPartialpaymentpermitted(),
2428
+ overpaymentpermitted: msg.getOverpaymentpermitted(),
2429
+ isbusinessbiller: msg.getIsbusinessbiller(),
2430
+ bsb: msg.getBsb(),
2431
+ accountno: msg.getAccountno()
2432
+ };
2433
+
2434
+ if (includeInstance) {
2435
+ obj.$jspbMessageInstance = msg;
2436
+ }
2437
+ return obj;
2438
+ };
2439
+ }
2440
+
2441
+
2442
+ /**
2443
+ * Deserializes binary data (in protobuf wire format).
2444
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2445
+ * @return {!proto.sniipbillapi.BillConfig}
2446
+ */
2447
+ proto.sniipbillapi.BillConfig.deserializeBinary = function(bytes) {
2448
+ var reader = new jspb.BinaryReader(bytes);
2449
+ var msg = new proto.sniipbillapi.BillConfig;
2450
+ return proto.sniipbillapi.BillConfig.deserializeBinaryFromReader(msg, reader);
2451
+ };
2452
+
2453
+
2454
+ /**
2455
+ * Deserializes binary data (in protobuf wire format) from the
2456
+ * given reader into the given message object.
2457
+ * @param {!proto.sniipbillapi.BillConfig} msg The message object to deserialize into.
2458
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2459
+ * @return {!proto.sniipbillapi.BillConfig}
2460
+ */
2461
+ proto.sniipbillapi.BillConfig.deserializeBinaryFromReader = function(msg, reader) {
2462
+ while (reader.nextField()) {
2463
+ if (reader.isEndGroup()) {
2464
+ break;
2465
+ }
2466
+ var field = reader.getFieldNumber();
2467
+ switch (field) {
2468
+ case 1:
2469
+ var value = /** @type {number} */ (reader.readInt64());
2470
+ msg.setBillconfigid(value);
2471
+ break;
2472
+ case 2:
2473
+ var value = /** @type {string} */ (reader.readString());
2474
+ msg.setPaymentprocessor(value);
2475
+ break;
2476
+ case 3:
2477
+ var value = /** @type {string} */ (reader.readString());
2478
+ msg.setReference(value);
2479
+ break;
2480
+ case 4:
2481
+ var value = /** @type {string} */ (reader.readString());
2482
+ msg.setFormattedreference(value);
2483
+ break;
2484
+ case 5:
2485
+ var value = /** @type {string} */ (reader.readString());
2486
+ msg.setBankaccountname(value);
2487
+ break;
2488
+ case 6:
2489
+ var value = /** @type {number} */ (reader.readInt64());
2490
+ msg.setBillerconfigid(value);
2491
+ break;
2492
+ case 7:
2493
+ var value = /** @type {string} */ (reader.readString());
2494
+ msg.setBillercode(value);
2495
+ break;
2496
+ case 8:
2497
+ var value = /** @type {number} */ (reader.readDouble());
2498
+ msg.setMinpermittedamount(value);
2499
+ break;
2500
+ case 9:
2501
+ var value = /** @type {number} */ (reader.readDouble());
2502
+ msg.setMaxpermittedamount(value);
2503
+ break;
2504
+ case 10:
2505
+ var value = /** @type {boolean} */ (reader.readBool());
2506
+ msg.setPartialpaymentpermitted(value);
2507
+ break;
2508
+ case 11:
2509
+ var value = /** @type {boolean} */ (reader.readBool());
2510
+ msg.setOverpaymentpermitted(value);
2511
+ break;
2512
+ case 12:
2513
+ var value = /** @type {boolean} */ (reader.readBool());
2514
+ msg.setIsbusinessbiller(value);
2515
+ break;
2516
+ case 13:
2517
+ var value = /** @type {string} */ (reader.readString());
2518
+ msg.setBsb(value);
2519
+ break;
2520
+ case 14:
2521
+ var value = /** @type {string} */ (reader.readString());
2522
+ msg.setAccountno(value);
2523
+ break;
2524
+ default:
2525
+ reader.skipField();
2526
+ break;
2527
+ }
2528
+ }
2529
+ return msg;
2530
+ };
2531
+
2532
+
2533
+ /**
2534
+ * Class method variant: serializes the given message to binary data
2535
+ * (in protobuf wire format), writing to the given BinaryWriter.
2536
+ * @param {!proto.sniipbillapi.BillConfig} message
2537
+ * @param {!jspb.BinaryWriter} writer
2538
+ */
2539
+ proto.sniipbillapi.BillConfig.serializeBinaryToWriter = function(message, writer) {
2540
+ message.serializeBinaryToWriter(writer);
2541
+ };
2542
+
2543
+
2544
+ /**
2545
+ * Serializes the message to binary data (in protobuf wire format).
2546
+ * @return {!Uint8Array}
2547
+ */
2548
+ proto.sniipbillapi.BillConfig.prototype.serializeBinary = function() {
2549
+ var writer = new jspb.BinaryWriter();
2550
+ this.serializeBinaryToWriter(writer);
2551
+ return writer.getResultBuffer();
2552
+ };
2553
+
2554
+
2555
+ /**
2556
+ * Serializes the message to binary data (in protobuf wire format),
2557
+ * writing to the given BinaryWriter.
2558
+ * @param {!jspb.BinaryWriter} writer
2559
+ */
2560
+ proto.sniipbillapi.BillConfig.prototype.serializeBinaryToWriter = function (writer) {
2561
+ var f = undefined;
2562
+ f = this.getBillconfigid();
2563
+ if (f !== 0) {
2564
+ writer.writeInt64(
2565
+ 1,
2566
+ f
2567
+ );
2568
+ }
2569
+ f = this.getPaymentprocessor();
2570
+ if (f.length > 0) {
2571
+ writer.writeString(
2572
+ 2,
2573
+ f
2574
+ );
2575
+ }
2576
+ f = this.getReference();
2577
+ if (f.length > 0) {
2578
+ writer.writeString(
2579
+ 3,
2580
+ f
2581
+ );
2582
+ }
2583
+ f = this.getFormattedreference();
2584
+ if (f.length > 0) {
2585
+ writer.writeString(
2586
+ 4,
2587
+ f
2588
+ );
2589
+ }
2590
+ f = this.getBankaccountname();
2591
+ if (f.length > 0) {
2592
+ writer.writeString(
2593
+ 5,
2594
+ f
2595
+ );
2596
+ }
2597
+ f = this.getBillerconfigid();
2598
+ if (f !== 0) {
2599
+ writer.writeInt64(
2600
+ 6,
2601
+ f
2602
+ );
2603
+ }
2604
+ f = this.getBillercode();
2605
+ if (f.length > 0) {
2606
+ writer.writeString(
2607
+ 7,
2608
+ f
2609
+ );
2610
+ }
2611
+ f = this.getMinpermittedamount();
2612
+ if (f !== 0.0) {
2613
+ writer.writeDouble(
2614
+ 8,
2615
+ f
2616
+ );
2617
+ }
2618
+ f = this.getMaxpermittedamount();
2619
+ if (f !== 0.0) {
2620
+ writer.writeDouble(
2621
+ 9,
2622
+ f
2623
+ );
2624
+ }
2625
+ f = this.getPartialpaymentpermitted();
2626
+ if (f) {
2627
+ writer.writeBool(
2628
+ 10,
2629
+ f
2630
+ );
2631
+ }
2632
+ f = this.getOverpaymentpermitted();
2633
+ if (f) {
2634
+ writer.writeBool(
2635
+ 11,
2636
+ f
2637
+ );
2638
+ }
2639
+ f = this.getIsbusinessbiller();
2640
+ if (f) {
2641
+ writer.writeBool(
2642
+ 12,
2643
+ f
2644
+ );
2645
+ }
2646
+ f = this.getBsb();
2647
+ if (f.length > 0) {
2648
+ writer.writeString(
2649
+ 13,
2650
+ f
2651
+ );
2652
+ }
2653
+ f = this.getAccountno();
2654
+ if (f.length > 0) {
2655
+ writer.writeString(
2656
+ 14,
2657
+ f
2658
+ );
2659
+ }
2660
+ };
2661
+
2662
+
2663
+ /**
2664
+ * Creates a deep clone of this proto. No data is shared with the original.
2665
+ * @return {!proto.sniipbillapi.BillConfig} The clone.
2666
+ */
2667
+ proto.sniipbillapi.BillConfig.prototype.cloneMessage = function() {
2668
+ return /** @type {!proto.sniipbillapi.BillConfig} */ (jspb.Message.cloneMessage(this));
2669
+ };
2670
+
2671
+
2672
+ /**
2673
+ * optional int64 billConfigId = 1;
2674
+ * @return {number}
2675
+ */
2676
+ proto.sniipbillapi.BillConfig.prototype.getBillconfigid = function() {
2677
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
2678
+ };
2679
+
2680
+
2681
+ /** @param {number} value */
2682
+ proto.sniipbillapi.BillConfig.prototype.setBillconfigid = function(value) {
2683
+ jspb.Message.setField(this, 1, value);
2684
+ };
2685
+
2686
+
2687
+ /**
2688
+ * optional string paymentProcessor = 2;
2689
+ * @return {string}
2690
+ */
2691
+ proto.sniipbillapi.BillConfig.prototype.getPaymentprocessor = function() {
2692
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 2, ""));
2693
+ };
2694
+
2695
+
2696
+ /** @param {string} value */
2697
+ proto.sniipbillapi.BillConfig.prototype.setPaymentprocessor = function(value) {
2698
+ jspb.Message.setField(this, 2, value);
2699
+ };
2700
+
2701
+
2702
+ /**
2703
+ * optional string reference = 3;
2704
+ * @return {string}
2705
+ */
2706
+ proto.sniipbillapi.BillConfig.prototype.getReference = function() {
2707
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 3, ""));
2708
+ };
2709
+
2710
+
2711
+ /** @param {string} value */
2712
+ proto.sniipbillapi.BillConfig.prototype.setReference = function(value) {
2713
+ jspb.Message.setField(this, 3, value);
2714
+ };
2715
+
2716
+
2717
+ /**
2718
+ * optional string formattedReference = 4;
2719
+ * @return {string}
2720
+ */
2721
+ proto.sniipbillapi.BillConfig.prototype.getFormattedreference = function() {
2722
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 4, ""));
2723
+ };
2724
+
2725
+
2726
+ /** @param {string} value */
2727
+ proto.sniipbillapi.BillConfig.prototype.setFormattedreference = function(value) {
2728
+ jspb.Message.setField(this, 4, value);
2729
+ };
2730
+
2731
+
2732
+ /**
2733
+ * optional string bankAccountName = 5;
2734
+ * @return {string}
2735
+ */
2736
+ proto.sniipbillapi.BillConfig.prototype.getBankaccountname = function() {
2737
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 5, ""));
2738
+ };
2739
+
2740
+
2741
+ /** @param {string} value */
2742
+ proto.sniipbillapi.BillConfig.prototype.setBankaccountname = function(value) {
2743
+ jspb.Message.setField(this, 5, value);
2744
+ };
2745
+
2746
+
2747
+ /**
2748
+ * optional int64 billerConfigId = 6;
2749
+ * @return {number}
2750
+ */
2751
+ proto.sniipbillapi.BillConfig.prototype.getBillerconfigid = function() {
2752
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 6, 0));
2753
+ };
2754
+
2755
+
2756
+ /** @param {number} value */
2757
+ proto.sniipbillapi.BillConfig.prototype.setBillerconfigid = function(value) {
2758
+ jspb.Message.setField(this, 6, value);
2759
+ };
2760
+
2761
+
2762
+ /**
2763
+ * optional string billerCode = 7;
2764
+ * @return {string}
2765
+ */
2766
+ proto.sniipbillapi.BillConfig.prototype.getBillercode = function() {
2767
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 7, ""));
2768
+ };
2769
+
2770
+
2771
+ /** @param {string} value */
2772
+ proto.sniipbillapi.BillConfig.prototype.setBillercode = function(value) {
2773
+ jspb.Message.setField(this, 7, value);
2774
+ };
2775
+
2776
+
2777
+ /**
2778
+ * optional double minPermittedAmount = 8;
2779
+ * @return {number}
2780
+ */
2781
+ proto.sniipbillapi.BillConfig.prototype.getMinpermittedamount = function() {
2782
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 8, 0));
2783
+ };
2784
+
2785
+
2786
+ /** @param {number} value */
2787
+ proto.sniipbillapi.BillConfig.prototype.setMinpermittedamount = function(value) {
2788
+ jspb.Message.setField(this, 8, value);
2789
+ };
2790
+
2791
+
2792
+ /**
2793
+ * optional double maxPermittedAmount = 9;
2794
+ * @return {number}
2795
+ */
2796
+ proto.sniipbillapi.BillConfig.prototype.getMaxpermittedamount = function() {
2797
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 9, 0));
2798
+ };
2799
+
2800
+
2801
+ /** @param {number} value */
2802
+ proto.sniipbillapi.BillConfig.prototype.setMaxpermittedamount = function(value) {
2803
+ jspb.Message.setField(this, 9, value);
2804
+ };
2805
+
2806
+
2807
+ /**
2808
+ * optional bool partialPaymentPermitted = 10;
2809
+ * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
2810
+ * You should avoid comparisons like {@code val === true/false} in those cases.
2811
+ * @return {boolean}
2812
+ */
2813
+ proto.sniipbillapi.BillConfig.prototype.getPartialpaymentpermitted = function() {
2814
+ return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 10, false));
2815
+ };
2816
+
2817
+
2818
+ /** @param {boolean} value */
2819
+ proto.sniipbillapi.BillConfig.prototype.setPartialpaymentpermitted = function(value) {
2820
+ jspb.Message.setField(this, 10, value);
2821
+ };
2822
+
2823
+
2824
+ /**
2825
+ * optional bool overpaymentPermitted = 11;
2826
+ * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
2827
+ * You should avoid comparisons like {@code val === true/false} in those cases.
2828
+ * @return {boolean}
2829
+ */
2830
+ proto.sniipbillapi.BillConfig.prototype.getOverpaymentpermitted = function() {
2831
+ return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 11, false));
2832
+ };
2833
+
2834
+
2835
+ /** @param {boolean} value */
2836
+ proto.sniipbillapi.BillConfig.prototype.setOverpaymentpermitted = function(value) {
2837
+ jspb.Message.setField(this, 11, value);
2838
+ };
2839
+
2840
+
2841
+ /**
2842
+ * optional bool isBusinessBiller = 12;
2843
+ * Note that Boolean fields may be set to 0/1 when serialized from a Java server.
2844
+ * You should avoid comparisons like {@code val === true/false} in those cases.
2845
+ * @return {boolean}
2846
+ */
2847
+ proto.sniipbillapi.BillConfig.prototype.getIsbusinessbiller = function() {
2848
+ return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 12, false));
2849
+ };
2850
+
2851
+
2852
+ /** @param {boolean} value */
2853
+ proto.sniipbillapi.BillConfig.prototype.setIsbusinessbiller = function(value) {
2854
+ jspb.Message.setField(this, 12, value);
2855
+ };
2856
+
2857
+
2858
+ /**
2859
+ * optional string bsb = 13;
2860
+ * @return {string}
2861
+ */
2862
+ proto.sniipbillapi.BillConfig.prototype.getBsb = function() {
2863
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 13, ""));
2864
+ };
2865
+
2866
+
2867
+ /** @param {string} value */
2868
+ proto.sniipbillapi.BillConfig.prototype.setBsb = function(value) {
2869
+ jspb.Message.setField(this, 13, value);
2870
+ };
2871
+
2872
+
2873
+ /**
2874
+ * optional string accountNo = 14;
2875
+ * @return {string}
2876
+ */
2877
+ proto.sniipbillapi.BillConfig.prototype.getAccountno = function() {
2878
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 14, ""));
2879
+ };
2880
+
2881
+
2882
+ /** @param {string} value */
2883
+ proto.sniipbillapi.BillConfig.prototype.setAccountno = function(value) {
2884
+ jspb.Message.setField(this, 14, value);
2885
+ };
2886
+
2887
+
2888
+
2372
2889
  /**
2373
2890
  * Generated by JsPbCodeGenerator.
2374
2891
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -3469,7 +3986,7 @@ if (goog.DEBUG && !COMPILED) {
3469
3986
  * @private {!Array<number>}
3470
3987
  * @const
3471
3988
  */
3472
- proto.sniipbillapi.BillDetail.repeatedFields_ = [1,23,61];
3989
+ proto.sniipbillapi.BillDetail.repeatedFields_ = [1,23,61,67];
3473
3990
 
3474
3991
 
3475
3992
 
@@ -3562,7 +4079,9 @@ proto.sniipbillapi.BillDetail.toObject = function(includeInstance, msg) {
3562
4079
  billerconfigid: msg.getBillerconfigid(),
3563
4080
  paymentmethodgroupid: msg.getPaymentmethodgroupid(),
3564
4081
  isbusinessbiller: msg.getIsbusinessbiller(),
3565
- markpaymentas: msg.getMarkpaymentas()
4082
+ markpaymentas: msg.getMarkpaymentas(),
4083
+ billconfigsList: jspb.Message.toObjectList(msg.getBillconfigsList(),
4084
+ proto.sniipbillapi.BillConfig.toObject, includeInstance)
3566
4085
  };
3567
4086
 
3568
4087
  if (includeInstance) {
@@ -3852,6 +4371,12 @@ proto.sniipbillapi.BillDetail.deserializeBinaryFromReader = function(msg, reader
3852
4371
  var value = /** @type {!proto.sniipbillapi.BillDetail.BillDetailMarkPaymentAs} */ (reader.readEnum());
3853
4372
  msg.setMarkpaymentas(value);
3854
4373
  break;
4374
+ case 67:
4375
+ var value = new proto.sniipbillapi.BillConfig;
4376
+ reader.readMessage(value,proto.sniipbillapi.BillConfig.deserializeBinaryFromReader);
4377
+ msg.getBillconfigsList().push(value);
4378
+ msg.setBillconfigsList(msg.getBillconfigsList());
4379
+ break;
3855
4380
  default:
3856
4381
  reader.skipField();
3857
4382
  break;
@@ -4326,6 +4851,14 @@ proto.sniipbillapi.BillDetail.prototype.serializeBinaryToWriter = function (writ
4326
4851
  f
4327
4852
  );
4328
4853
  }
4854
+ f = this.getBillconfigsList();
4855
+ if (f.length > 0) {
4856
+ writer.writeRepeatedMessage(
4857
+ 67,
4858
+ f,
4859
+ proto.sniipbillapi.BillConfig.serializeBinaryToWriter
4860
+ );
4861
+ }
4329
4862
  };
4330
4863
 
4331
4864
 
@@ -5329,6 +5862,29 @@ proto.sniipbillapi.BillDetail.prototype.setMarkpaymentas = function(value) {
5329
5862
  };
5330
5863
 
5331
5864
 
5865
+ /**
5866
+ * repeated BillConfig billConfigs = 67;
5867
+ * If you change this array by adding, removing or replacing elements, or if you
5868
+ * replace the array itself, then you must call the setter to update it.
5869
+ * @return {!Array.<!proto.sniipbillapi.BillConfig>}
5870
+ */
5871
+ proto.sniipbillapi.BillDetail.prototype.getBillconfigsList = function() {
5872
+ return /** @type{!Array.<!proto.sniipbillapi.BillConfig>} */ (
5873
+ jspb.Message.getRepeatedWrapperField(this, proto.sniipbillapi.BillConfig, 67));
5874
+ };
5875
+
5876
+
5877
+ /** @param {Array.<!proto.sniipbillapi.BillConfig>} value */
5878
+ proto.sniipbillapi.BillDetail.prototype.setBillconfigsList = function(value) {
5879
+ jspb.Message.setRepeatedWrapperField(this, 67, value);
5880
+ };
5881
+
5882
+
5883
+ proto.sniipbillapi.BillDetail.prototype.clearBillconfigsList = function() {
5884
+ this.setBillconfigsList([]);
5885
+ };
5886
+
5887
+
5332
5888
  /**
5333
5889
  * @enum {number}
5334
5890
  */
@@ -12919,12 +13475,19 @@ proto.sniipbillapi.DraftBillCreateRequest.prototype.setOriginaldonationamount =
12919
13475
  * @constructor
12920
13476
  */
12921
13477
  proto.sniipbillapi.DraftBillDetails = function(opt_data) {
12922
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
13478
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.sniipbillapi.DraftBillDetails.repeatedFields_, null);
12923
13479
  };
12924
13480
  goog.inherits(proto.sniipbillapi.DraftBillDetails, jspb.Message);
12925
13481
  if (goog.DEBUG && !COMPILED) {
12926
13482
  proto.sniipbillapi.DraftBillDetails.displayName = 'proto.sniipbillapi.DraftBillDetails';
12927
13483
  }
13484
+ /**
13485
+ * List of repeated fields within this message type.
13486
+ * @private {!Array<number>}
13487
+ * @const
13488
+ */
13489
+ proto.sniipbillapi.DraftBillDetails.repeatedFields_ = [28];
13490
+
12928
13491
 
12929
13492
 
12930
13493
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -12979,7 +13542,9 @@ proto.sniipbillapi.DraftBillDetails.toObject = function(includeInstance, msg) {
12979
13542
  billerlogo: msg.getBillerlogo(),
12980
13543
  ispartialpaymentpermitted: msg.getIspartialpaymentpermitted(),
12981
13544
  hasbeenimported: msg.getHasbeenimported(),
12982
- billerbankaccountname: msg.getBillerbankaccountname()
13545
+ billerbankaccountname: msg.getBillerbankaccountname(),
13546
+ billconfigsList: jspb.Message.toObjectList(msg.getBillconfigsList(),
13547
+ proto.sniipbillapi.BillConfig.toObject, includeInstance)
12983
13548
  };
12984
13549
 
12985
13550
  if (includeInstance) {
@@ -13126,6 +13691,12 @@ proto.sniipbillapi.DraftBillDetails.deserializeBinaryFromReader = function(msg,
13126
13691
  var value = /** @type {string} */ (reader.readString());
13127
13692
  msg.setBillerbankaccountname(value);
13128
13693
  break;
13694
+ case 28:
13695
+ var value = new proto.sniipbillapi.BillConfig;
13696
+ reader.readMessage(value,proto.sniipbillapi.BillConfig.deserializeBinaryFromReader);
13697
+ msg.getBillconfigsList().push(value);
13698
+ msg.setBillconfigsList(msg.getBillconfigsList());
13699
+ break;
13129
13700
  default:
13130
13701
  reader.skipField();
13131
13702
  break;
@@ -13355,6 +13926,14 @@ proto.sniipbillapi.DraftBillDetails.prototype.serializeBinaryToWriter = function
13355
13926
  f
13356
13927
  );
13357
13928
  }
13929
+ f = this.getBillconfigsList();
13930
+ if (f.length > 0) {
13931
+ writer.writeRepeatedMessage(
13932
+ 28,
13933
+ f,
13934
+ proto.sniipbillapi.BillConfig.serializeBinaryToWriter
13935
+ );
13936
+ }
13358
13937
  };
13359
13938
 
13360
13939
 
@@ -13808,6 +14387,29 @@ proto.sniipbillapi.DraftBillDetails.prototype.setBillerbankaccountname = functio
13808
14387
  };
13809
14388
 
13810
14389
 
14390
+ /**
14391
+ * repeated BillConfig billConfigs = 28;
14392
+ * If you change this array by adding, removing or replacing elements, or if you
14393
+ * replace the array itself, then you must call the setter to update it.
14394
+ * @return {!Array.<!proto.sniipbillapi.BillConfig>}
14395
+ */
14396
+ proto.sniipbillapi.DraftBillDetails.prototype.getBillconfigsList = function() {
14397
+ return /** @type{!Array.<!proto.sniipbillapi.BillConfig>} */ (
14398
+ jspb.Message.getRepeatedWrapperField(this, proto.sniipbillapi.BillConfig, 28));
14399
+ };
14400
+
14401
+
14402
+ /** @param {Array.<!proto.sniipbillapi.BillConfig>} value */
14403
+ proto.sniipbillapi.DraftBillDetails.prototype.setBillconfigsList = function(value) {
14404
+ jspb.Message.setRepeatedWrapperField(this, 28, value);
14405
+ };
14406
+
14407
+
14408
+ proto.sniipbillapi.DraftBillDetails.prototype.clearBillconfigsList = function() {
14409
+ this.setBillconfigsList([]);
14410
+ };
14411
+
14412
+
13811
14413
 
13812
14414
  /**
13813
14415
  * Generated by JsPbCodeGenerator.
@@ -25926,7 +26528,7 @@ if (goog.DEBUG && !COMPILED) {
25926
26528
  * @private {!Array<number>}
25927
26529
  * @const
25928
26530
  */
25929
- proto.sniipbillapi.SimpleBillDetail.repeatedFields_ = [21,61];
26531
+ proto.sniipbillapi.SimpleBillDetail.repeatedFields_ = [21,61,67];
25930
26532
 
25931
26533
 
25932
26534
 
@@ -26017,7 +26619,9 @@ proto.sniipbillapi.SimpleBillDetail.toObject = function(includeInstance, msg) {
26017
26619
  hasreminders: msg.getHasreminders(),
26018
26620
  paymentmethodgroupid: msg.getPaymentmethodgroupid(),
26019
26621
  isbusinessbiller: msg.getIsbusinessbiller(),
26020
- userid: msg.getUserid()
26622
+ userid: msg.getUserid(),
26623
+ billconfigsList: jspb.Message.toObjectList(msg.getBillconfigsList(),
26624
+ proto.sniipbillapi.BillConfig.toObject, includeInstance)
26021
26625
  };
26022
26626
 
26023
26627
  if (includeInstance) {
@@ -26301,6 +26905,12 @@ proto.sniipbillapi.SimpleBillDetail.deserializeBinaryFromReader = function(msg,
26301
26905
  var value = /** @type {number} */ (reader.readInt64());
26302
26906
  msg.setUserid(value);
26303
26907
  break;
26908
+ case 67:
26909
+ var value = new proto.sniipbillapi.BillConfig;
26910
+ reader.readMessage(value,proto.sniipbillapi.BillConfig.deserializeBinaryFromReader);
26911
+ msg.getBillconfigsList().push(value);
26912
+ msg.setBillconfigsList(msg.getBillconfigsList());
26913
+ break;
26304
26914
  default:
26305
26915
  reader.skipField();
26306
26916
  break;
@@ -26767,6 +27377,14 @@ proto.sniipbillapi.SimpleBillDetail.prototype.serializeBinaryToWriter = function
26767
27377
  f
26768
27378
  );
26769
27379
  }
27380
+ f = this.getBillconfigsList();
27381
+ if (f.length > 0) {
27382
+ writer.writeRepeatedMessage(
27383
+ 67,
27384
+ f,
27385
+ proto.sniipbillapi.BillConfig.serializeBinaryToWriter
27386
+ );
27387
+ }
26770
27388
  };
26771
27389
 
26772
27390
 
@@ -27747,6 +28365,29 @@ proto.sniipbillapi.SimpleBillDetail.prototype.setUserid = function(value) {
27747
28365
  };
27748
28366
 
27749
28367
 
28368
+ /**
28369
+ * repeated BillConfig billConfigs = 67;
28370
+ * If you change this array by adding, removing or replacing elements, or if you
28371
+ * replace the array itself, then you must call the setter to update it.
28372
+ * @return {!Array.<!proto.sniipbillapi.BillConfig>}
28373
+ */
28374
+ proto.sniipbillapi.SimpleBillDetail.prototype.getBillconfigsList = function() {
28375
+ return /** @type{!Array.<!proto.sniipbillapi.BillConfig>} */ (
28376
+ jspb.Message.getRepeatedWrapperField(this, proto.sniipbillapi.BillConfig, 67));
28377
+ };
28378
+
28379
+
28380
+ /** @param {Array.<!proto.sniipbillapi.BillConfig>} value */
28381
+ proto.sniipbillapi.SimpleBillDetail.prototype.setBillconfigsList = function(value) {
28382
+ jspb.Message.setRepeatedWrapperField(this, 67, value);
28383
+ };
28384
+
28385
+
28386
+ proto.sniipbillapi.SimpleBillDetail.prototype.clearBillconfigsList = function() {
28387
+ this.setBillconfigsList([]);
28388
+ };
28389
+
28390
+
27750
28391
 
27751
28392
  /**
27752
28393
  * Generated by JsPbCodeGenerator.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/bill-service-client-grpcweb",
3
- "version": "23.1.10735",
3
+ "version": "23.2.10771",
4
4
  "description": "bill-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",