@sniipwebmaster/loyalty-program-client-grpcweb 26.5.3837 → 26.5.3859

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.
@@ -2591,20 +2591,11 @@ proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.toObject = func
2591
2591
  */
2592
2592
  proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.toObject = function(includeInstance, msg) {
2593
2593
  var f, obj = {
2594
- loyaltyprogramid: jspb.Message.getFieldWithDefault(msg, 1, 0),
2595
- loyaltyprogramcode: jspb.Message.getFieldWithDefault(msg, 2, ""),
2596
- loyaltyprogramname: jspb.Message.getFieldWithDefault(msg, 3, ""),
2597
- loyaltyprogramshortname: jspb.Message.getFieldWithDefault(msg, 4, ""),
2598
- pointlabelsingular: jspb.Message.getFieldWithDefault(msg, 5, ""),
2599
- pointlabelplural: jspb.Message.getFieldWithDefault(msg, 6, ""),
2600
- amountofpoints: jspb.Message.getFieldWithDefault(msg, 7, 0),
2601
- loyaltyprogramlogourl: jspb.Message.getFieldWithDefault(msg, 8, ""),
2602
- loyaltyprogramsmalllogourl: jspb.Message.getFieldWithDefault(msg, 9, ""),
2603
- loyaltyprogramhorizontallogourl: jspb.Message.getFieldWithDefault(msg, 10, ""),
2604
- loyaltyprogramverticallogourl: jspb.Message.getFieldWithDefault(msg, 11, ""),
2605
- hypotheticalearncardtitle: jspb.Message.getFieldWithDefault(msg, 12, ""),
2606
- hypotheticalearncardbody: jspb.Message.getFieldWithDefault(msg, 13, ""),
2607
- hypotheticalearncardbuttontext: jspb.Message.getFieldWithDefault(msg, 14, "")
2594
+ program: (f = msg.getProgram()) && proto.loyaltyprogramserviceapi.ProgramDetail.toObject(includeInstance, f),
2595
+ amountofpoints: jspb.Message.getFieldWithDefault(msg, 2, 0),
2596
+ hypotheticalearncardtitle: jspb.Message.getFieldWithDefault(msg, 3, ""),
2597
+ hypotheticalearncardbody: jspb.Message.getFieldWithDefault(msg, 4, ""),
2598
+ hypotheticalearncardbuttontext: jspb.Message.getFieldWithDefault(msg, 5, "")
2608
2599
  };
2609
2600
 
2610
2601
  if (includeInstance) {
@@ -2642,58 +2633,23 @@ proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.deserializeBinaryFromRead
2642
2633
  var field = reader.getFieldNumber();
2643
2634
  switch (field) {
2644
2635
  case 1:
2645
- var value = /** @type {number} */ (reader.readInt64());
2646
- msg.setLoyaltyprogramid(value);
2636
+ var value = new proto.loyaltyprogramserviceapi.ProgramDetail;
2637
+ reader.readMessage(value,proto.loyaltyprogramserviceapi.ProgramDetail.deserializeBinaryFromReader);
2638
+ msg.setProgram(value);
2647
2639
  break;
2648
2640
  case 2:
2649
- var value = /** @type {string} */ (reader.readString());
2650
- msg.setLoyaltyprogramcode(value);
2651
- break;
2652
- case 3:
2653
- var value = /** @type {string} */ (reader.readString());
2654
- msg.setLoyaltyprogramname(value);
2655
- break;
2656
- case 4:
2657
- var value = /** @type {string} */ (reader.readString());
2658
- msg.setLoyaltyprogramshortname(value);
2659
- break;
2660
- case 5:
2661
- var value = /** @type {string} */ (reader.readString());
2662
- msg.setPointlabelsingular(value);
2663
- break;
2664
- case 6:
2665
- var value = /** @type {string} */ (reader.readString());
2666
- msg.setPointlabelplural(value);
2667
- break;
2668
- case 7:
2669
2641
  var value = /** @type {number} */ (reader.readInt32());
2670
2642
  msg.setAmountofpoints(value);
2671
2643
  break;
2672
- case 8:
2673
- var value = /** @type {string} */ (reader.readString());
2674
- msg.setLoyaltyprogramlogourl(value);
2675
- break;
2676
- case 9:
2677
- var value = /** @type {string} */ (reader.readString());
2678
- msg.setLoyaltyprogramsmalllogourl(value);
2679
- break;
2680
- case 10:
2681
- var value = /** @type {string} */ (reader.readString());
2682
- msg.setLoyaltyprogramhorizontallogourl(value);
2683
- break;
2684
- case 11:
2685
- var value = /** @type {string} */ (reader.readString());
2686
- msg.setLoyaltyprogramverticallogourl(value);
2687
- break;
2688
- case 12:
2644
+ case 3:
2689
2645
  var value = /** @type {string} */ (reader.readString());
2690
2646
  msg.setHypotheticalearncardtitle(value);
2691
2647
  break;
2692
- case 13:
2648
+ case 4:
2693
2649
  var value = /** @type {string} */ (reader.readString());
2694
2650
  msg.setHypotheticalearncardbody(value);
2695
2651
  break;
2696
- case 14:
2652
+ case 5:
2697
2653
  var value = /** @type {string} */ (reader.readString());
2698
2654
  msg.setHypotheticalearncardbuttontext(value);
2699
2655
  break;
@@ -2726,101 +2682,39 @@ proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.serializeBinary
2726
2682
  */
2727
2683
  proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.serializeBinaryToWriter = function(message, writer) {
2728
2684
  var f = undefined;
2729
- f = message.getLoyaltyprogramid();
2730
- if (f !== 0) {
2731
- writer.writeInt64(
2685
+ f = message.getProgram();
2686
+ if (f != null) {
2687
+ writer.writeMessage(
2732
2688
  1,
2733
- f
2734
- );
2735
- }
2736
- f = message.getLoyaltyprogramcode();
2737
- if (f.length > 0) {
2738
- writer.writeString(
2739
- 2,
2740
- f
2741
- );
2742
- }
2743
- f = message.getLoyaltyprogramname();
2744
- if (f.length > 0) {
2745
- writer.writeString(
2746
- 3,
2747
- f
2748
- );
2749
- }
2750
- f = message.getLoyaltyprogramshortname();
2751
- if (f.length > 0) {
2752
- writer.writeString(
2753
- 4,
2754
- f
2755
- );
2756
- }
2757
- f = message.getPointlabelsingular();
2758
- if (f.length > 0) {
2759
- writer.writeString(
2760
- 5,
2761
- f
2762
- );
2763
- }
2764
- f = message.getPointlabelplural();
2765
- if (f.length > 0) {
2766
- writer.writeString(
2767
- 6,
2768
- f
2689
+ f,
2690
+ proto.loyaltyprogramserviceapi.ProgramDetail.serializeBinaryToWriter
2769
2691
  );
2770
2692
  }
2771
2693
  f = message.getAmountofpoints();
2772
2694
  if (f !== 0) {
2773
2695
  writer.writeInt32(
2774
- 7,
2775
- f
2776
- );
2777
- }
2778
- f = message.getLoyaltyprogramlogourl();
2779
- if (f.length > 0) {
2780
- writer.writeString(
2781
- 8,
2782
- f
2783
- );
2784
- }
2785
- f = message.getLoyaltyprogramsmalllogourl();
2786
- if (f.length > 0) {
2787
- writer.writeString(
2788
- 9,
2789
- f
2790
- );
2791
- }
2792
- f = message.getLoyaltyprogramhorizontallogourl();
2793
- if (f.length > 0) {
2794
- writer.writeString(
2795
- 10,
2796
- f
2797
- );
2798
- }
2799
- f = message.getLoyaltyprogramverticallogourl();
2800
- if (f.length > 0) {
2801
- writer.writeString(
2802
- 11,
2696
+ 2,
2803
2697
  f
2804
2698
  );
2805
2699
  }
2806
2700
  f = message.getHypotheticalearncardtitle();
2807
2701
  if (f.length > 0) {
2808
2702
  writer.writeString(
2809
- 12,
2703
+ 3,
2810
2704
  f
2811
2705
  );
2812
2706
  }
2813
2707
  f = message.getHypotheticalearncardbody();
2814
2708
  if (f.length > 0) {
2815
2709
  writer.writeString(
2816
- 13,
2710
+ 4,
2817
2711
  f
2818
2712
  );
2819
2713
  }
2820
2714
  f = message.getHypotheticalearncardbuttontext();
2821
2715
  if (f.length > 0) {
2822
2716
  writer.writeString(
2823
- 14,
2717
+ 5,
2824
2718
  f
2825
2719
  );
2826
2720
  }
@@ -2828,119 +2722,48 @@ proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.serializeBinaryToWriter =
2828
2722
 
2829
2723
 
2830
2724
  /**
2831
- * optional int64 loyaltyProgramId = 1;
2832
- * @return {number}
2833
- */
2834
- proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.getLoyaltyprogramid = function() {
2835
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
2836
- };
2837
-
2838
-
2839
- /**
2840
- * @param {number} value
2841
- * @return {!proto.loyaltyprogramserviceapi.HypotheticalProgramEarn} returns this
2842
- */
2843
- proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.setLoyaltyprogramid = function(value) {
2844
- return jspb.Message.setProto3IntField(this, 1, value);
2845
- };
2846
-
2847
-
2848
- /**
2849
- * optional string loyaltyProgramCode = 2;
2850
- * @return {string}
2851
- */
2852
- proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.getLoyaltyprogramcode = function() {
2853
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
2854
- };
2855
-
2856
-
2857
- /**
2858
- * @param {string} value
2859
- * @return {!proto.loyaltyprogramserviceapi.HypotheticalProgramEarn} returns this
2860
- */
2861
- proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.setLoyaltyprogramcode = function(value) {
2862
- return jspb.Message.setProto3StringField(this, 2, value);
2863
- };
2864
-
2865
-
2866
- /**
2867
- * optional string loyaltyProgramName = 3;
2868
- * @return {string}
2869
- */
2870
- proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.getLoyaltyprogramname = function() {
2871
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
2872
- };
2873
-
2874
-
2875
- /**
2876
- * @param {string} value
2877
- * @return {!proto.loyaltyprogramserviceapi.HypotheticalProgramEarn} returns this
2878
- */
2879
- proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.setLoyaltyprogramname = function(value) {
2880
- return jspb.Message.setProto3StringField(this, 3, value);
2881
- };
2882
-
2883
-
2884
- /**
2885
- * optional string loyaltyProgramShortName = 4;
2886
- * @return {string}
2725
+ * optional ProgramDetail program = 1;
2726
+ * @return {?proto.loyaltyprogramserviceapi.ProgramDetail}
2887
2727
  */
2888
- proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.getLoyaltyprogramshortname = function() {
2889
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
2728
+ proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.getProgram = function() {
2729
+ return /** @type{?proto.loyaltyprogramserviceapi.ProgramDetail} */ (
2730
+ jspb.Message.getWrapperField(this, proto.loyaltyprogramserviceapi.ProgramDetail, 1));
2890
2731
  };
2891
2732
 
2892
2733
 
2893
2734
  /**
2894
- * @param {string} value
2735
+ * @param {?proto.loyaltyprogramserviceapi.ProgramDetail|undefined} value
2895
2736
  * @return {!proto.loyaltyprogramserviceapi.HypotheticalProgramEarn} returns this
2896
- */
2897
- proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.setLoyaltyprogramshortname = function(value) {
2898
- return jspb.Message.setProto3StringField(this, 4, value);
2899
- };
2900
-
2901
-
2902
- /**
2903
- * optional string pointLabelSingular = 5;
2904
- * @return {string}
2905
- */
2906
- proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.getPointlabelsingular = function() {
2907
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
2737
+ */
2738
+ proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.setProgram = function(value) {
2739
+ return jspb.Message.setWrapperField(this, 1, value);
2908
2740
  };
2909
2741
 
2910
2742
 
2911
2743
  /**
2912
- * @param {string} value
2744
+ * Clears the message field making it undefined.
2913
2745
  * @return {!proto.loyaltyprogramserviceapi.HypotheticalProgramEarn} returns this
2914
2746
  */
2915
- proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.setPointlabelsingular = function(value) {
2916
- return jspb.Message.setProto3StringField(this, 5, value);
2917
- };
2918
-
2919
-
2920
- /**
2921
- * optional string pointLabelPlural = 6;
2922
- * @return {string}
2923
- */
2924
- proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.getPointlabelplural = function() {
2925
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
2747
+ proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.clearProgram = function() {
2748
+ return this.setProgram(undefined);
2926
2749
  };
2927
2750
 
2928
2751
 
2929
2752
  /**
2930
- * @param {string} value
2931
- * @return {!proto.loyaltyprogramserviceapi.HypotheticalProgramEarn} returns this
2753
+ * Returns whether this field is set.
2754
+ * @return {boolean}
2932
2755
  */
2933
- proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.setPointlabelplural = function(value) {
2934
- return jspb.Message.setProto3StringField(this, 6, value);
2756
+ proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.hasProgram = function() {
2757
+ return jspb.Message.getField(this, 1) != null;
2935
2758
  };
2936
2759
 
2937
2760
 
2938
2761
  /**
2939
- * optional int32 amountOfPoints = 7;
2762
+ * optional int32 amountOfPoints = 2;
2940
2763
  * @return {number}
2941
2764
  */
2942
2765
  proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.getAmountofpoints = function() {
2943
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
2766
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
2944
2767
  };
2945
2768
 
2946
2769
 
@@ -2949,88 +2772,16 @@ proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.getAmountofpoin
2949
2772
  * @return {!proto.loyaltyprogramserviceapi.HypotheticalProgramEarn} returns this
2950
2773
  */
2951
2774
  proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.setAmountofpoints = function(value) {
2952
- return jspb.Message.setProto3IntField(this, 7, value);
2953
- };
2954
-
2955
-
2956
- /**
2957
- * optional string loyaltyProgramLogoUrl = 8;
2958
- * @return {string}
2959
- */
2960
- proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.getLoyaltyprogramlogourl = function() {
2961
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
2962
- };
2963
-
2964
-
2965
- /**
2966
- * @param {string} value
2967
- * @return {!proto.loyaltyprogramserviceapi.HypotheticalProgramEarn} returns this
2968
- */
2969
- proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.setLoyaltyprogramlogourl = function(value) {
2970
- return jspb.Message.setProto3StringField(this, 8, value);
2971
- };
2972
-
2973
-
2974
- /**
2975
- * optional string loyaltyProgramSmallLogoUrl = 9;
2976
- * @return {string}
2977
- */
2978
- proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.getLoyaltyprogramsmalllogourl = function() {
2979
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
2980
- };
2981
-
2982
-
2983
- /**
2984
- * @param {string} value
2985
- * @return {!proto.loyaltyprogramserviceapi.HypotheticalProgramEarn} returns this
2986
- */
2987
- proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.setLoyaltyprogramsmalllogourl = function(value) {
2988
- return jspb.Message.setProto3StringField(this, 9, value);
2989
- };
2990
-
2991
-
2992
- /**
2993
- * optional string loyaltyProgramHorizontalLogoUrl = 10;
2994
- * @return {string}
2995
- */
2996
- proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.getLoyaltyprogramhorizontallogourl = function() {
2997
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
2998
- };
2999
-
3000
-
3001
- /**
3002
- * @param {string} value
3003
- * @return {!proto.loyaltyprogramserviceapi.HypotheticalProgramEarn} returns this
3004
- */
3005
- proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.setLoyaltyprogramhorizontallogourl = function(value) {
3006
- return jspb.Message.setProto3StringField(this, 10, value);
3007
- };
3008
-
3009
-
3010
- /**
3011
- * optional string loyaltyProgramVerticalLogoUrl = 11;
3012
- * @return {string}
3013
- */
3014
- proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.getLoyaltyprogramverticallogourl = function() {
3015
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
3016
- };
3017
-
3018
-
3019
- /**
3020
- * @param {string} value
3021
- * @return {!proto.loyaltyprogramserviceapi.HypotheticalProgramEarn} returns this
3022
- */
3023
- proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.setLoyaltyprogramverticallogourl = function(value) {
3024
- return jspb.Message.setProto3StringField(this, 11, value);
2775
+ return jspb.Message.setProto3IntField(this, 2, value);
3025
2776
  };
3026
2777
 
3027
2778
 
3028
2779
  /**
3029
- * optional string hypotheticalEarnCardTitle = 12;
2780
+ * optional string hypotheticalEarnCardTitle = 3;
3030
2781
  * @return {string}
3031
2782
  */
3032
2783
  proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.getHypotheticalearncardtitle = function() {
3033
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
2784
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
3034
2785
  };
3035
2786
 
3036
2787
 
@@ -3039,16 +2790,16 @@ proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.getHypothetical
3039
2790
  * @return {!proto.loyaltyprogramserviceapi.HypotheticalProgramEarn} returns this
3040
2791
  */
3041
2792
  proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.setHypotheticalearncardtitle = function(value) {
3042
- return jspb.Message.setProto3StringField(this, 12, value);
2793
+ return jspb.Message.setProto3StringField(this, 3, value);
3043
2794
  };
3044
2795
 
3045
2796
 
3046
2797
  /**
3047
- * optional string hypotheticalEarnCardBody = 13;
2798
+ * optional string hypotheticalEarnCardBody = 4;
3048
2799
  * @return {string}
3049
2800
  */
3050
2801
  proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.getHypotheticalearncardbody = function() {
3051
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
2802
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
3052
2803
  };
3053
2804
 
3054
2805
 
@@ -3057,16 +2808,16 @@ proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.getHypothetical
3057
2808
  * @return {!proto.loyaltyprogramserviceapi.HypotheticalProgramEarn} returns this
3058
2809
  */
3059
2810
  proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.setHypotheticalearncardbody = function(value) {
3060
- return jspb.Message.setProto3StringField(this, 13, value);
2811
+ return jspb.Message.setProto3StringField(this, 4, value);
3061
2812
  };
3062
2813
 
3063
2814
 
3064
2815
  /**
3065
- * optional string hypotheticalEarnCardButtonText = 14;
2816
+ * optional string hypotheticalEarnCardButtonText = 5;
3066
2817
  * @return {string}
3067
2818
  */
3068
2819
  proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.getHypotheticalearncardbuttontext = function() {
3069
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
2820
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
3070
2821
  };
3071
2822
 
3072
2823
 
@@ -3075,7 +2826,7 @@ proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.getHypothetical
3075
2826
  * @return {!proto.loyaltyprogramserviceapi.HypotheticalProgramEarn} returns this
3076
2827
  */
3077
2828
  proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.prototype.setHypotheticalearncardbuttontext = function(value) {
3078
- return jspb.Message.setProto3StringField(this, 14, value);
2829
+ return jspb.Message.setProto3StringField(this, 5, value);
3079
2830
  };
3080
2831
 
3081
2832
 
@@ -12001,7 +11752,10 @@ proto.loyaltyprogramserviceapi.ProgramDetail.toObject = function(includeInstance
12001
11752
  horizontallogourl: jspb.Message.getFieldWithDefault(msg, 23, ""),
12002
11753
  verticallogourl: jspb.Message.getFieldWithDefault(msg, 24, ""),
12003
11754
  earncardtitle: jspb.Message.getFieldWithDefault(msg, 25, ""),
12004
- earncardbody: jspb.Message.getFieldWithDefault(msg, 26, "")
11755
+ earncardbody: jspb.Message.getFieldWithDefault(msg, 26, ""),
11756
+ hypotheticalearncardtitle: jspb.Message.getFieldWithDefault(msg, 27, ""),
11757
+ hypotheticalearncardbody: jspb.Message.getFieldWithDefault(msg, 28, ""),
11758
+ hypotheticalearncardbuttontext: jspb.Message.getFieldWithDefault(msg, 29, "")
12005
11759
  };
12006
11760
 
12007
11761
  if (includeInstance) {
@@ -12143,6 +11897,18 @@ proto.loyaltyprogramserviceapi.ProgramDetail.deserializeBinaryFromReader = funct
12143
11897
  var value = /** @type {string} */ (reader.readString());
12144
11898
  msg.setEarncardbody(value);
12145
11899
  break;
11900
+ case 27:
11901
+ var value = /** @type {string} */ (reader.readString());
11902
+ msg.setHypotheticalearncardtitle(value);
11903
+ break;
11904
+ case 28:
11905
+ var value = /** @type {string} */ (reader.readString());
11906
+ msg.setHypotheticalearncardbody(value);
11907
+ break;
11908
+ case 29:
11909
+ var value = /** @type {string} */ (reader.readString());
11910
+ msg.setHypotheticalearncardbuttontext(value);
11911
+ break;
12146
11912
  default:
12147
11913
  reader.skipField();
12148
11914
  break;
@@ -12355,6 +12121,27 @@ proto.loyaltyprogramserviceapi.ProgramDetail.serializeBinaryToWriter = function(
12355
12121
  f
12356
12122
  );
12357
12123
  }
12124
+ f = message.getHypotheticalearncardtitle();
12125
+ if (f.length > 0) {
12126
+ writer.writeString(
12127
+ 27,
12128
+ f
12129
+ );
12130
+ }
12131
+ f = message.getHypotheticalearncardbody();
12132
+ if (f.length > 0) {
12133
+ writer.writeString(
12134
+ 28,
12135
+ f
12136
+ );
12137
+ }
12138
+ f = message.getHypotheticalearncardbuttontext();
12139
+ if (f.length > 0) {
12140
+ writer.writeString(
12141
+ 29,
12142
+ f
12143
+ );
12144
+ }
12358
12145
  };
12359
12146
 
12360
12147
 
@@ -12856,6 +12643,60 @@ proto.loyaltyprogramserviceapi.ProgramDetail.prototype.setEarncardbody = functio
12856
12643
  };
12857
12644
 
12858
12645
 
12646
+ /**
12647
+ * optional string hypotheticalEarnCardTitle = 27;
12648
+ * @return {string}
12649
+ */
12650
+ proto.loyaltyprogramserviceapi.ProgramDetail.prototype.getHypotheticalearncardtitle = function() {
12651
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 27, ""));
12652
+ };
12653
+
12654
+
12655
+ /**
12656
+ * @param {string} value
12657
+ * @return {!proto.loyaltyprogramserviceapi.ProgramDetail} returns this
12658
+ */
12659
+ proto.loyaltyprogramserviceapi.ProgramDetail.prototype.setHypotheticalearncardtitle = function(value) {
12660
+ return jspb.Message.setProto3StringField(this, 27, value);
12661
+ };
12662
+
12663
+
12664
+ /**
12665
+ * optional string hypotheticalEarnCardBody = 28;
12666
+ * @return {string}
12667
+ */
12668
+ proto.loyaltyprogramserviceapi.ProgramDetail.prototype.getHypotheticalearncardbody = function() {
12669
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 28, ""));
12670
+ };
12671
+
12672
+
12673
+ /**
12674
+ * @param {string} value
12675
+ * @return {!proto.loyaltyprogramserviceapi.ProgramDetail} returns this
12676
+ */
12677
+ proto.loyaltyprogramserviceapi.ProgramDetail.prototype.setHypotheticalearncardbody = function(value) {
12678
+ return jspb.Message.setProto3StringField(this, 28, value);
12679
+ };
12680
+
12681
+
12682
+ /**
12683
+ * optional string hypotheticalEarnCardButtonText = 29;
12684
+ * @return {string}
12685
+ */
12686
+ proto.loyaltyprogramserviceapi.ProgramDetail.prototype.getHypotheticalearncardbuttontext = function() {
12687
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 29, ""));
12688
+ };
12689
+
12690
+
12691
+ /**
12692
+ * @param {string} value
12693
+ * @return {!proto.loyaltyprogramserviceapi.ProgramDetail} returns this
12694
+ */
12695
+ proto.loyaltyprogramserviceapi.ProgramDetail.prototype.setHypotheticalearncardbuttontext = function(value) {
12696
+ return jspb.Message.setProto3StringField(this, 29, value);
12697
+ };
12698
+
12699
+
12859
12700
 
12860
12701
 
12861
12702
 
@@ -16715,7 +16556,7 @@ proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementResponse.toObject =
16715
16556
  responsecode: (f = msg.getResponsecode()) && proto.loyaltyprogramserviceapi.ResponseCode.toObject(includeInstance, f),
16716
16557
  userhaseligiblemembership: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
16717
16558
  eligibleprogramsList: jspb.Message.toObjectList(msg.getEligibleprogramsList(),
16718
- proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.toObject, includeInstance)
16559
+ proto.loyaltyprogramserviceapi.ProgramDetail.toObject, includeInstance)
16719
16560
  };
16720
16561
 
16721
16562
  if (includeInstance) {
@@ -16762,8 +16603,8 @@ proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementResponse.deserialize
16762
16603
  msg.setUserhaseligiblemembership(value);
16763
16604
  break;
16764
16605
  case 3:
16765
- var value = new proto.loyaltyprogramserviceapi.HypotheticalProgramEarn;
16766
- reader.readMessage(value,proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.deserializeBinaryFromReader);
16606
+ var value = new proto.loyaltyprogramserviceapi.ProgramDetail;
16607
+ reader.readMessage(value,proto.loyaltyprogramserviceapi.ProgramDetail.deserializeBinaryFromReader);
16767
16608
  msg.addEligibleprograms(value);
16768
16609
  break;
16769
16610
  default:
@@ -16815,7 +16656,7 @@ proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementResponse.serializeBi
16815
16656
  writer.writeRepeatedMessage(
16816
16657
  3,
16817
16658
  f,
16818
- proto.loyaltyprogramserviceapi.HypotheticalProgramEarn.serializeBinaryToWriter
16659
+ proto.loyaltyprogramserviceapi.ProgramDetail.serializeBinaryToWriter
16819
16660
  );
16820
16661
  }
16821
16662
  };
@@ -16877,17 +16718,17 @@ proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementResponse.prototype.s
16877
16718
 
16878
16719
 
16879
16720
  /**
16880
- * repeated HypotheticalProgramEarn eligiblePrograms = 3;
16881
- * @return {!Array<!proto.loyaltyprogramserviceapi.HypotheticalProgramEarn>}
16721
+ * repeated ProgramDetail eligiblePrograms = 3;
16722
+ * @return {!Array<!proto.loyaltyprogramserviceapi.ProgramDetail>}
16882
16723
  */
16883
16724
  proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementResponse.prototype.getEligibleprogramsList = function() {
16884
- return /** @type{!Array<!proto.loyaltyprogramserviceapi.HypotheticalProgramEarn>} */ (
16885
- jspb.Message.getRepeatedWrapperField(this, proto.loyaltyprogramserviceapi.HypotheticalProgramEarn, 3));
16725
+ return /** @type{!Array<!proto.loyaltyprogramserviceapi.ProgramDetail>} */ (
16726
+ jspb.Message.getRepeatedWrapperField(this, proto.loyaltyprogramserviceapi.ProgramDetail, 3));
16886
16727
  };
16887
16728
 
16888
16729
 
16889
16730
  /**
16890
- * @param {!Array<!proto.loyaltyprogramserviceapi.HypotheticalProgramEarn>} value
16731
+ * @param {!Array<!proto.loyaltyprogramserviceapi.ProgramDetail>} value
16891
16732
  * @return {!proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementResponse} returns this
16892
16733
  */
16893
16734
  proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementResponse.prototype.setEligibleprogramsList = function(value) {
@@ -16896,12 +16737,12 @@ proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementResponse.prototype.s
16896
16737
 
16897
16738
 
16898
16739
  /**
16899
- * @param {!proto.loyaltyprogramserviceapi.HypotheticalProgramEarn=} opt_value
16740
+ * @param {!proto.loyaltyprogramserviceapi.ProgramDetail=} opt_value
16900
16741
  * @param {number=} opt_index
16901
- * @return {!proto.loyaltyprogramserviceapi.HypotheticalProgramEarn}
16742
+ * @return {!proto.loyaltyprogramserviceapi.ProgramDetail}
16902
16743
  */
16903
16744
  proto.loyaltyprogramserviceapi.CheckBillerLoyaltyRequirementResponse.prototype.addEligibleprograms = function(opt_value, opt_index) {
16904
- return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.loyaltyprogramserviceapi.HypotheticalProgramEarn, opt_index);
16745
+ return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.loyaltyprogramserviceapi.ProgramDetail, opt_index);
16905
16746
  };
16906
16747
 
16907
16748
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/loyalty-program-client-grpcweb",
3
- "version": "26.5.3837",
3
+ "version": "26.5.3859",
4
4
  "description": "loyalty-program-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",