protobuf-platform 1.1.64 → 1.1.65
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.
- package/game/game.proto +10 -9
- package/game/game_pb.js +104 -56
- package/package.json +1 -1
- package/payment/payment.proto +1 -1
- package/payment/payment_pb.js +9 -9
package/game/game.proto
CHANGED
@@ -101,15 +101,16 @@ message PongResponse { string pong = 1; }
|
|
101
101
|
message PaginationRequest {
|
102
102
|
int32 limit = 1;
|
103
103
|
int32 offset = 2;
|
104
|
-
optional
|
105
|
-
optional
|
106
|
-
optional
|
107
|
-
optional
|
108
|
-
optional
|
109
|
-
optional
|
110
|
-
optional
|
111
|
-
optional
|
112
|
-
optional
|
104
|
+
optional string order = 3;
|
105
|
+
optional bool admin_side = 4;
|
106
|
+
optional GameSearchRequest game_search_params = 5;
|
107
|
+
optional WagerSearchRequest wager_search_params = 6;
|
108
|
+
optional CashBackSearchRequest cash_back_search_params = 7;
|
109
|
+
optional TournamentSearchRequest tournament_search_params = 8;
|
110
|
+
optional ProviderSearchRequest provider_search_params = 9;
|
111
|
+
optional CategorySearchRequest category_search_params = 10;
|
112
|
+
optional CollectionSearchRequest collection_search_params = 11;
|
113
|
+
optional TagSearchRequest tag_search_params = 12;
|
113
114
|
}
|
114
115
|
message GameSearchRequest {
|
115
116
|
optional int32 is_active = 1;
|
package/game/game_pb.js
CHANGED
@@ -2586,7 +2586,8 @@ proto.game.PaginationRequest.toObject = function(includeInstance, msg) {
|
|
2586
2586
|
var f, obj = {
|
2587
2587
|
limit: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
2588
2588
|
offset: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
2589
|
-
|
2589
|
+
order: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
2590
|
+
adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
2590
2591
|
gameSearchParams: (f = msg.getGameSearchParams()) && proto.game.GameSearchRequest.toObject(includeInstance, f),
|
2591
2592
|
wagerSearchParams: (f = msg.getWagerSearchParams()) && proto.game.WagerSearchRequest.toObject(includeInstance, f),
|
2592
2593
|
cashBackSearchParams: (f = msg.getCashBackSearchParams()) && proto.game.CashBackSearchRequest.toObject(includeInstance, f),
|
@@ -2640,45 +2641,49 @@ proto.game.PaginationRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
2640
2641
|
msg.setOffset(value);
|
2641
2642
|
break;
|
2642
2643
|
case 3:
|
2644
|
+
var value = /** @type {string} */ (reader.readString());
|
2645
|
+
msg.setOrder(value);
|
2646
|
+
break;
|
2647
|
+
case 4:
|
2643
2648
|
var value = /** @type {boolean} */ (reader.readBool());
|
2644
2649
|
msg.setAdminSide(value);
|
2645
2650
|
break;
|
2646
|
-
case
|
2651
|
+
case 5:
|
2647
2652
|
var value = new proto.game.GameSearchRequest;
|
2648
2653
|
reader.readMessage(value,proto.game.GameSearchRequest.deserializeBinaryFromReader);
|
2649
2654
|
msg.setGameSearchParams(value);
|
2650
2655
|
break;
|
2651
|
-
case
|
2656
|
+
case 6:
|
2652
2657
|
var value = new proto.game.WagerSearchRequest;
|
2653
2658
|
reader.readMessage(value,proto.game.WagerSearchRequest.deserializeBinaryFromReader);
|
2654
2659
|
msg.setWagerSearchParams(value);
|
2655
2660
|
break;
|
2656
|
-
case
|
2661
|
+
case 7:
|
2657
2662
|
var value = new proto.game.CashBackSearchRequest;
|
2658
2663
|
reader.readMessage(value,proto.game.CashBackSearchRequest.deserializeBinaryFromReader);
|
2659
2664
|
msg.setCashBackSearchParams(value);
|
2660
2665
|
break;
|
2661
|
-
case
|
2666
|
+
case 8:
|
2662
2667
|
var value = new proto.game.TournamentSearchRequest;
|
2663
2668
|
reader.readMessage(value,proto.game.TournamentSearchRequest.deserializeBinaryFromReader);
|
2664
2669
|
msg.setTournamentSearchParams(value);
|
2665
2670
|
break;
|
2666
|
-
case
|
2671
|
+
case 9:
|
2667
2672
|
var value = new proto.game.ProviderSearchRequest;
|
2668
2673
|
reader.readMessage(value,proto.game.ProviderSearchRequest.deserializeBinaryFromReader);
|
2669
2674
|
msg.setProviderSearchParams(value);
|
2670
2675
|
break;
|
2671
|
-
case
|
2676
|
+
case 10:
|
2672
2677
|
var value = new proto.game.CategorySearchRequest;
|
2673
2678
|
reader.readMessage(value,proto.game.CategorySearchRequest.deserializeBinaryFromReader);
|
2674
2679
|
msg.setCategorySearchParams(value);
|
2675
2680
|
break;
|
2676
|
-
case
|
2681
|
+
case 11:
|
2677
2682
|
var value = new proto.game.CollectionSearchRequest;
|
2678
2683
|
reader.readMessage(value,proto.game.CollectionSearchRequest.deserializeBinaryFromReader);
|
2679
2684
|
msg.setCollectionSearchParams(value);
|
2680
2685
|
break;
|
2681
|
-
case
|
2686
|
+
case 12:
|
2682
2687
|
var value = new proto.game.TagSearchRequest;
|
2683
2688
|
reader.readMessage(value,proto.game.TagSearchRequest.deserializeBinaryFromReader);
|
2684
2689
|
msg.setTagSearchParams(value);
|
@@ -2726,17 +2731,24 @@ proto.game.PaginationRequest.serializeBinaryToWriter = function(message, writer)
|
|
2726
2731
|
f
|
2727
2732
|
);
|
2728
2733
|
}
|
2729
|
-
f = /** @type {
|
2734
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
2730
2735
|
if (f != null) {
|
2731
|
-
writer.
|
2736
|
+
writer.writeString(
|
2732
2737
|
3,
|
2733
2738
|
f
|
2734
2739
|
);
|
2735
2740
|
}
|
2741
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 4));
|
2742
|
+
if (f != null) {
|
2743
|
+
writer.writeBool(
|
2744
|
+
4,
|
2745
|
+
f
|
2746
|
+
);
|
2747
|
+
}
|
2736
2748
|
f = message.getGameSearchParams();
|
2737
2749
|
if (f != null) {
|
2738
2750
|
writer.writeMessage(
|
2739
|
-
|
2751
|
+
5,
|
2740
2752
|
f,
|
2741
2753
|
proto.game.GameSearchRequest.serializeBinaryToWriter
|
2742
2754
|
);
|
@@ -2744,7 +2756,7 @@ proto.game.PaginationRequest.serializeBinaryToWriter = function(message, writer)
|
|
2744
2756
|
f = message.getWagerSearchParams();
|
2745
2757
|
if (f != null) {
|
2746
2758
|
writer.writeMessage(
|
2747
|
-
|
2759
|
+
6,
|
2748
2760
|
f,
|
2749
2761
|
proto.game.WagerSearchRequest.serializeBinaryToWriter
|
2750
2762
|
);
|
@@ -2752,7 +2764,7 @@ proto.game.PaginationRequest.serializeBinaryToWriter = function(message, writer)
|
|
2752
2764
|
f = message.getCashBackSearchParams();
|
2753
2765
|
if (f != null) {
|
2754
2766
|
writer.writeMessage(
|
2755
|
-
|
2767
|
+
7,
|
2756
2768
|
f,
|
2757
2769
|
proto.game.CashBackSearchRequest.serializeBinaryToWriter
|
2758
2770
|
);
|
@@ -2760,7 +2772,7 @@ proto.game.PaginationRequest.serializeBinaryToWriter = function(message, writer)
|
|
2760
2772
|
f = message.getTournamentSearchParams();
|
2761
2773
|
if (f != null) {
|
2762
2774
|
writer.writeMessage(
|
2763
|
-
|
2775
|
+
8,
|
2764
2776
|
f,
|
2765
2777
|
proto.game.TournamentSearchRequest.serializeBinaryToWriter
|
2766
2778
|
);
|
@@ -2768,7 +2780,7 @@ proto.game.PaginationRequest.serializeBinaryToWriter = function(message, writer)
|
|
2768
2780
|
f = message.getProviderSearchParams();
|
2769
2781
|
if (f != null) {
|
2770
2782
|
writer.writeMessage(
|
2771
|
-
|
2783
|
+
9,
|
2772
2784
|
f,
|
2773
2785
|
proto.game.ProviderSearchRequest.serializeBinaryToWriter
|
2774
2786
|
);
|
@@ -2776,7 +2788,7 @@ proto.game.PaginationRequest.serializeBinaryToWriter = function(message, writer)
|
|
2776
2788
|
f = message.getCategorySearchParams();
|
2777
2789
|
if (f != null) {
|
2778
2790
|
writer.writeMessage(
|
2779
|
-
|
2791
|
+
10,
|
2780
2792
|
f,
|
2781
2793
|
proto.game.CategorySearchRequest.serializeBinaryToWriter
|
2782
2794
|
);
|
@@ -2784,7 +2796,7 @@ proto.game.PaginationRequest.serializeBinaryToWriter = function(message, writer)
|
|
2784
2796
|
f = message.getCollectionSearchParams();
|
2785
2797
|
if (f != null) {
|
2786
2798
|
writer.writeMessage(
|
2787
|
-
|
2799
|
+
11,
|
2788
2800
|
f,
|
2789
2801
|
proto.game.CollectionSearchRequest.serializeBinaryToWriter
|
2790
2802
|
);
|
@@ -2792,7 +2804,7 @@ proto.game.PaginationRequest.serializeBinaryToWriter = function(message, writer)
|
|
2792
2804
|
f = message.getTagSearchParams();
|
2793
2805
|
if (f != null) {
|
2794
2806
|
writer.writeMessage(
|
2795
|
-
|
2807
|
+
12,
|
2796
2808
|
f,
|
2797
2809
|
proto.game.TagSearchRequest.serializeBinaryToWriter
|
2798
2810
|
);
|
@@ -2837,11 +2849,47 @@ proto.game.PaginationRequest.prototype.setOffset = function(value) {
|
|
2837
2849
|
|
2838
2850
|
|
2839
2851
|
/**
|
2840
|
-
* optional
|
2852
|
+
* optional string order = 3;
|
2853
|
+
* @return {string}
|
2854
|
+
*/
|
2855
|
+
proto.game.PaginationRequest.prototype.getOrder = function() {
|
2856
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
2857
|
+
};
|
2858
|
+
|
2859
|
+
|
2860
|
+
/**
|
2861
|
+
* @param {string} value
|
2862
|
+
* @return {!proto.game.PaginationRequest} returns this
|
2863
|
+
*/
|
2864
|
+
proto.game.PaginationRequest.prototype.setOrder = function(value) {
|
2865
|
+
return jspb.Message.setField(this, 3, value);
|
2866
|
+
};
|
2867
|
+
|
2868
|
+
|
2869
|
+
/**
|
2870
|
+
* Clears the field making it undefined.
|
2871
|
+
* @return {!proto.game.PaginationRequest} returns this
|
2872
|
+
*/
|
2873
|
+
proto.game.PaginationRequest.prototype.clearOrder = function() {
|
2874
|
+
return jspb.Message.setField(this, 3, undefined);
|
2875
|
+
};
|
2876
|
+
|
2877
|
+
|
2878
|
+
/**
|
2879
|
+
* Returns whether this field is set.
|
2880
|
+
* @return {boolean}
|
2881
|
+
*/
|
2882
|
+
proto.game.PaginationRequest.prototype.hasOrder = function() {
|
2883
|
+
return jspb.Message.getField(this, 3) != null;
|
2884
|
+
};
|
2885
|
+
|
2886
|
+
|
2887
|
+
/**
|
2888
|
+
* optional bool admin_side = 4;
|
2841
2889
|
* @return {boolean}
|
2842
2890
|
*/
|
2843
2891
|
proto.game.PaginationRequest.prototype.getAdminSide = function() {
|
2844
|
-
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this,
|
2892
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
|
2845
2893
|
};
|
2846
2894
|
|
2847
2895
|
|
@@ -2850,7 +2898,7 @@ proto.game.PaginationRequest.prototype.getAdminSide = function() {
|
|
2850
2898
|
* @return {!proto.game.PaginationRequest} returns this
|
2851
2899
|
*/
|
2852
2900
|
proto.game.PaginationRequest.prototype.setAdminSide = function(value) {
|
2853
|
-
return jspb.Message.setField(this,
|
2901
|
+
return jspb.Message.setField(this, 4, value);
|
2854
2902
|
};
|
2855
2903
|
|
2856
2904
|
|
@@ -2859,7 +2907,7 @@ proto.game.PaginationRequest.prototype.setAdminSide = function(value) {
|
|
2859
2907
|
* @return {!proto.game.PaginationRequest} returns this
|
2860
2908
|
*/
|
2861
2909
|
proto.game.PaginationRequest.prototype.clearAdminSide = function() {
|
2862
|
-
return jspb.Message.setField(this,
|
2910
|
+
return jspb.Message.setField(this, 4, undefined);
|
2863
2911
|
};
|
2864
2912
|
|
2865
2913
|
|
@@ -2868,17 +2916,17 @@ proto.game.PaginationRequest.prototype.clearAdminSide = function() {
|
|
2868
2916
|
* @return {boolean}
|
2869
2917
|
*/
|
2870
2918
|
proto.game.PaginationRequest.prototype.hasAdminSide = function() {
|
2871
|
-
return jspb.Message.getField(this,
|
2919
|
+
return jspb.Message.getField(this, 4) != null;
|
2872
2920
|
};
|
2873
2921
|
|
2874
2922
|
|
2875
2923
|
/**
|
2876
|
-
* optional GameSearchRequest game_search_params =
|
2924
|
+
* optional GameSearchRequest game_search_params = 5;
|
2877
2925
|
* @return {?proto.game.GameSearchRequest}
|
2878
2926
|
*/
|
2879
2927
|
proto.game.PaginationRequest.prototype.getGameSearchParams = function() {
|
2880
2928
|
return /** @type{?proto.game.GameSearchRequest} */ (
|
2881
|
-
jspb.Message.getWrapperField(this, proto.game.GameSearchRequest,
|
2929
|
+
jspb.Message.getWrapperField(this, proto.game.GameSearchRequest, 5));
|
2882
2930
|
};
|
2883
2931
|
|
2884
2932
|
|
@@ -2887,7 +2935,7 @@ proto.game.PaginationRequest.prototype.getGameSearchParams = function() {
|
|
2887
2935
|
* @return {!proto.game.PaginationRequest} returns this
|
2888
2936
|
*/
|
2889
2937
|
proto.game.PaginationRequest.prototype.setGameSearchParams = function(value) {
|
2890
|
-
return jspb.Message.setWrapperField(this,
|
2938
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
2891
2939
|
};
|
2892
2940
|
|
2893
2941
|
|
@@ -2905,17 +2953,17 @@ proto.game.PaginationRequest.prototype.clearGameSearchParams = function() {
|
|
2905
2953
|
* @return {boolean}
|
2906
2954
|
*/
|
2907
2955
|
proto.game.PaginationRequest.prototype.hasGameSearchParams = function() {
|
2908
|
-
return jspb.Message.getField(this,
|
2956
|
+
return jspb.Message.getField(this, 5) != null;
|
2909
2957
|
};
|
2910
2958
|
|
2911
2959
|
|
2912
2960
|
/**
|
2913
|
-
* optional WagerSearchRequest wager_search_params =
|
2961
|
+
* optional WagerSearchRequest wager_search_params = 6;
|
2914
2962
|
* @return {?proto.game.WagerSearchRequest}
|
2915
2963
|
*/
|
2916
2964
|
proto.game.PaginationRequest.prototype.getWagerSearchParams = function() {
|
2917
2965
|
return /** @type{?proto.game.WagerSearchRequest} */ (
|
2918
|
-
jspb.Message.getWrapperField(this, proto.game.WagerSearchRequest,
|
2966
|
+
jspb.Message.getWrapperField(this, proto.game.WagerSearchRequest, 6));
|
2919
2967
|
};
|
2920
2968
|
|
2921
2969
|
|
@@ -2924,7 +2972,7 @@ proto.game.PaginationRequest.prototype.getWagerSearchParams = function() {
|
|
2924
2972
|
* @return {!proto.game.PaginationRequest} returns this
|
2925
2973
|
*/
|
2926
2974
|
proto.game.PaginationRequest.prototype.setWagerSearchParams = function(value) {
|
2927
|
-
return jspb.Message.setWrapperField(this,
|
2975
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
2928
2976
|
};
|
2929
2977
|
|
2930
2978
|
|
@@ -2942,17 +2990,17 @@ proto.game.PaginationRequest.prototype.clearWagerSearchParams = function() {
|
|
2942
2990
|
* @return {boolean}
|
2943
2991
|
*/
|
2944
2992
|
proto.game.PaginationRequest.prototype.hasWagerSearchParams = function() {
|
2945
|
-
return jspb.Message.getField(this,
|
2993
|
+
return jspb.Message.getField(this, 6) != null;
|
2946
2994
|
};
|
2947
2995
|
|
2948
2996
|
|
2949
2997
|
/**
|
2950
|
-
* optional CashBackSearchRequest cash_back_search_params =
|
2998
|
+
* optional CashBackSearchRequest cash_back_search_params = 7;
|
2951
2999
|
* @return {?proto.game.CashBackSearchRequest}
|
2952
3000
|
*/
|
2953
3001
|
proto.game.PaginationRequest.prototype.getCashBackSearchParams = function() {
|
2954
3002
|
return /** @type{?proto.game.CashBackSearchRequest} */ (
|
2955
|
-
jspb.Message.getWrapperField(this, proto.game.CashBackSearchRequest,
|
3003
|
+
jspb.Message.getWrapperField(this, proto.game.CashBackSearchRequest, 7));
|
2956
3004
|
};
|
2957
3005
|
|
2958
3006
|
|
@@ -2961,7 +3009,7 @@ proto.game.PaginationRequest.prototype.getCashBackSearchParams = function() {
|
|
2961
3009
|
* @return {!proto.game.PaginationRequest} returns this
|
2962
3010
|
*/
|
2963
3011
|
proto.game.PaginationRequest.prototype.setCashBackSearchParams = function(value) {
|
2964
|
-
return jspb.Message.setWrapperField(this,
|
3012
|
+
return jspb.Message.setWrapperField(this, 7, value);
|
2965
3013
|
};
|
2966
3014
|
|
2967
3015
|
|
@@ -2979,17 +3027,17 @@ proto.game.PaginationRequest.prototype.clearCashBackSearchParams = function() {
|
|
2979
3027
|
* @return {boolean}
|
2980
3028
|
*/
|
2981
3029
|
proto.game.PaginationRequest.prototype.hasCashBackSearchParams = function() {
|
2982
|
-
return jspb.Message.getField(this,
|
3030
|
+
return jspb.Message.getField(this, 7) != null;
|
2983
3031
|
};
|
2984
3032
|
|
2985
3033
|
|
2986
3034
|
/**
|
2987
|
-
* optional TournamentSearchRequest tournament_search_params =
|
3035
|
+
* optional TournamentSearchRequest tournament_search_params = 8;
|
2988
3036
|
* @return {?proto.game.TournamentSearchRequest}
|
2989
3037
|
*/
|
2990
3038
|
proto.game.PaginationRequest.prototype.getTournamentSearchParams = function() {
|
2991
3039
|
return /** @type{?proto.game.TournamentSearchRequest} */ (
|
2992
|
-
jspb.Message.getWrapperField(this, proto.game.TournamentSearchRequest,
|
3040
|
+
jspb.Message.getWrapperField(this, proto.game.TournamentSearchRequest, 8));
|
2993
3041
|
};
|
2994
3042
|
|
2995
3043
|
|
@@ -2998,7 +3046,7 @@ proto.game.PaginationRequest.prototype.getTournamentSearchParams = function() {
|
|
2998
3046
|
* @return {!proto.game.PaginationRequest} returns this
|
2999
3047
|
*/
|
3000
3048
|
proto.game.PaginationRequest.prototype.setTournamentSearchParams = function(value) {
|
3001
|
-
return jspb.Message.setWrapperField(this,
|
3049
|
+
return jspb.Message.setWrapperField(this, 8, value);
|
3002
3050
|
};
|
3003
3051
|
|
3004
3052
|
|
@@ -3016,17 +3064,17 @@ proto.game.PaginationRequest.prototype.clearTournamentSearchParams = function()
|
|
3016
3064
|
* @return {boolean}
|
3017
3065
|
*/
|
3018
3066
|
proto.game.PaginationRequest.prototype.hasTournamentSearchParams = function() {
|
3019
|
-
return jspb.Message.getField(this,
|
3067
|
+
return jspb.Message.getField(this, 8) != null;
|
3020
3068
|
};
|
3021
3069
|
|
3022
3070
|
|
3023
3071
|
/**
|
3024
|
-
* optional ProviderSearchRequest provider_search_params =
|
3072
|
+
* optional ProviderSearchRequest provider_search_params = 9;
|
3025
3073
|
* @return {?proto.game.ProviderSearchRequest}
|
3026
3074
|
*/
|
3027
3075
|
proto.game.PaginationRequest.prototype.getProviderSearchParams = function() {
|
3028
3076
|
return /** @type{?proto.game.ProviderSearchRequest} */ (
|
3029
|
-
jspb.Message.getWrapperField(this, proto.game.ProviderSearchRequest,
|
3077
|
+
jspb.Message.getWrapperField(this, proto.game.ProviderSearchRequest, 9));
|
3030
3078
|
};
|
3031
3079
|
|
3032
3080
|
|
@@ -3035,7 +3083,7 @@ proto.game.PaginationRequest.prototype.getProviderSearchParams = function() {
|
|
3035
3083
|
* @return {!proto.game.PaginationRequest} returns this
|
3036
3084
|
*/
|
3037
3085
|
proto.game.PaginationRequest.prototype.setProviderSearchParams = function(value) {
|
3038
|
-
return jspb.Message.setWrapperField(this,
|
3086
|
+
return jspb.Message.setWrapperField(this, 9, value);
|
3039
3087
|
};
|
3040
3088
|
|
3041
3089
|
|
@@ -3053,17 +3101,17 @@ proto.game.PaginationRequest.prototype.clearProviderSearchParams = function() {
|
|
3053
3101
|
* @return {boolean}
|
3054
3102
|
*/
|
3055
3103
|
proto.game.PaginationRequest.prototype.hasProviderSearchParams = function() {
|
3056
|
-
return jspb.Message.getField(this,
|
3104
|
+
return jspb.Message.getField(this, 9) != null;
|
3057
3105
|
};
|
3058
3106
|
|
3059
3107
|
|
3060
3108
|
/**
|
3061
|
-
* optional CategorySearchRequest category_search_params =
|
3109
|
+
* optional CategorySearchRequest category_search_params = 10;
|
3062
3110
|
* @return {?proto.game.CategorySearchRequest}
|
3063
3111
|
*/
|
3064
3112
|
proto.game.PaginationRequest.prototype.getCategorySearchParams = function() {
|
3065
3113
|
return /** @type{?proto.game.CategorySearchRequest} */ (
|
3066
|
-
jspb.Message.getWrapperField(this, proto.game.CategorySearchRequest,
|
3114
|
+
jspb.Message.getWrapperField(this, proto.game.CategorySearchRequest, 10));
|
3067
3115
|
};
|
3068
3116
|
|
3069
3117
|
|
@@ -3072,7 +3120,7 @@ proto.game.PaginationRequest.prototype.getCategorySearchParams = function() {
|
|
3072
3120
|
* @return {!proto.game.PaginationRequest} returns this
|
3073
3121
|
*/
|
3074
3122
|
proto.game.PaginationRequest.prototype.setCategorySearchParams = function(value) {
|
3075
|
-
return jspb.Message.setWrapperField(this,
|
3123
|
+
return jspb.Message.setWrapperField(this, 10, value);
|
3076
3124
|
};
|
3077
3125
|
|
3078
3126
|
|
@@ -3090,17 +3138,17 @@ proto.game.PaginationRequest.prototype.clearCategorySearchParams = function() {
|
|
3090
3138
|
* @return {boolean}
|
3091
3139
|
*/
|
3092
3140
|
proto.game.PaginationRequest.prototype.hasCategorySearchParams = function() {
|
3093
|
-
return jspb.Message.getField(this,
|
3141
|
+
return jspb.Message.getField(this, 10) != null;
|
3094
3142
|
};
|
3095
3143
|
|
3096
3144
|
|
3097
3145
|
/**
|
3098
|
-
* optional CollectionSearchRequest collection_search_params =
|
3146
|
+
* optional CollectionSearchRequest collection_search_params = 11;
|
3099
3147
|
* @return {?proto.game.CollectionSearchRequest}
|
3100
3148
|
*/
|
3101
3149
|
proto.game.PaginationRequest.prototype.getCollectionSearchParams = function() {
|
3102
3150
|
return /** @type{?proto.game.CollectionSearchRequest} */ (
|
3103
|
-
jspb.Message.getWrapperField(this, proto.game.CollectionSearchRequest,
|
3151
|
+
jspb.Message.getWrapperField(this, proto.game.CollectionSearchRequest, 11));
|
3104
3152
|
};
|
3105
3153
|
|
3106
3154
|
|
@@ -3109,7 +3157,7 @@ proto.game.PaginationRequest.prototype.getCollectionSearchParams = function() {
|
|
3109
3157
|
* @return {!proto.game.PaginationRequest} returns this
|
3110
3158
|
*/
|
3111
3159
|
proto.game.PaginationRequest.prototype.setCollectionSearchParams = function(value) {
|
3112
|
-
return jspb.Message.setWrapperField(this,
|
3160
|
+
return jspb.Message.setWrapperField(this, 11, value);
|
3113
3161
|
};
|
3114
3162
|
|
3115
3163
|
|
@@ -3127,17 +3175,17 @@ proto.game.PaginationRequest.prototype.clearCollectionSearchParams = function()
|
|
3127
3175
|
* @return {boolean}
|
3128
3176
|
*/
|
3129
3177
|
proto.game.PaginationRequest.prototype.hasCollectionSearchParams = function() {
|
3130
|
-
return jspb.Message.getField(this,
|
3178
|
+
return jspb.Message.getField(this, 11) != null;
|
3131
3179
|
};
|
3132
3180
|
|
3133
3181
|
|
3134
3182
|
/**
|
3135
|
-
* optional TagSearchRequest tag_search_params =
|
3183
|
+
* optional TagSearchRequest tag_search_params = 12;
|
3136
3184
|
* @return {?proto.game.TagSearchRequest}
|
3137
3185
|
*/
|
3138
3186
|
proto.game.PaginationRequest.prototype.getTagSearchParams = function() {
|
3139
3187
|
return /** @type{?proto.game.TagSearchRequest} */ (
|
3140
|
-
jspb.Message.getWrapperField(this, proto.game.TagSearchRequest,
|
3188
|
+
jspb.Message.getWrapperField(this, proto.game.TagSearchRequest, 12));
|
3141
3189
|
};
|
3142
3190
|
|
3143
3191
|
|
@@ -3146,7 +3194,7 @@ proto.game.PaginationRequest.prototype.getTagSearchParams = function() {
|
|
3146
3194
|
* @return {!proto.game.PaginationRequest} returns this
|
3147
3195
|
*/
|
3148
3196
|
proto.game.PaginationRequest.prototype.setTagSearchParams = function(value) {
|
3149
|
-
return jspb.Message.setWrapperField(this,
|
3197
|
+
return jspb.Message.setWrapperField(this, 12, value);
|
3150
3198
|
};
|
3151
3199
|
|
3152
3200
|
|
@@ -3164,7 +3212,7 @@ proto.game.PaginationRequest.prototype.clearTagSearchParams = function() {
|
|
3164
3212
|
* @return {boolean}
|
3165
3213
|
*/
|
3166
3214
|
proto.game.PaginationRequest.prototype.hasTagSearchParams = function() {
|
3167
|
-
return jspb.Message.getField(this,
|
3215
|
+
return jspb.Message.getField(this, 12) != null;
|
3168
3216
|
};
|
3169
3217
|
|
3170
3218
|
|
package/package.json
CHANGED
package/payment/payment.proto
CHANGED
@@ -38,7 +38,7 @@ message PongResponse { string pong = 1; }
|
|
38
38
|
message File { bytes media = 1; optional string file_name = 2; optional string file_type = 3; }
|
39
39
|
message GetFileRequest { string file_name = 1; string instance_type = 2; }
|
40
40
|
|
41
|
-
message PaginationRequest { int32 limit = 1; int32 offset = 2; optional PaymentSearchRequest
|
41
|
+
message PaginationRequest { int32 limit = 1; int32 offset = 2; optional PaymentSearchRequest c = 3; }
|
42
42
|
message PaymentSearchRequest {
|
43
43
|
optional int32 deposit_id = 1;
|
44
44
|
optional int32 withdrawal_id = 2;
|
package/payment/payment_pb.js
CHANGED
@@ -1497,7 +1497,7 @@ proto.payment.PaginationRequest.toObject = function(includeInstance, msg) {
|
|
1497
1497
|
var f, obj = {
|
1498
1498
|
limit: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
1499
1499
|
offset: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
1500
|
-
|
1500
|
+
c: (f = msg.getC()) && proto.payment.PaymentSearchRequest.toObject(includeInstance, f)
|
1501
1501
|
};
|
1502
1502
|
|
1503
1503
|
if (includeInstance) {
|
@@ -1545,7 +1545,7 @@ proto.payment.PaginationRequest.deserializeBinaryFromReader = function(msg, read
|
|
1545
1545
|
case 3:
|
1546
1546
|
var value = new proto.payment.PaymentSearchRequest;
|
1547
1547
|
reader.readMessage(value,proto.payment.PaymentSearchRequest.deserializeBinaryFromReader);
|
1548
|
-
msg.
|
1548
|
+
msg.setC(value);
|
1549
1549
|
break;
|
1550
1550
|
default:
|
1551
1551
|
reader.skipField();
|
@@ -1590,7 +1590,7 @@ proto.payment.PaginationRequest.serializeBinaryToWriter = function(message, writ
|
|
1590
1590
|
f
|
1591
1591
|
);
|
1592
1592
|
}
|
1593
|
-
f = message.
|
1593
|
+
f = message.getC();
|
1594
1594
|
if (f != null) {
|
1595
1595
|
writer.writeMessage(
|
1596
1596
|
3,
|
@@ -1638,10 +1638,10 @@ proto.payment.PaginationRequest.prototype.setOffset = function(value) {
|
|
1638
1638
|
|
1639
1639
|
|
1640
1640
|
/**
|
1641
|
-
* optional PaymentSearchRequest
|
1641
|
+
* optional PaymentSearchRequest c = 3;
|
1642
1642
|
* @return {?proto.payment.PaymentSearchRequest}
|
1643
1643
|
*/
|
1644
|
-
proto.payment.PaginationRequest.prototype.
|
1644
|
+
proto.payment.PaginationRequest.prototype.getC = function() {
|
1645
1645
|
return /** @type{?proto.payment.PaymentSearchRequest} */ (
|
1646
1646
|
jspb.Message.getWrapperField(this, proto.payment.PaymentSearchRequest, 3));
|
1647
1647
|
};
|
@@ -1651,7 +1651,7 @@ proto.payment.PaginationRequest.prototype.getPaymentSearchParams = function() {
|
|
1651
1651
|
* @param {?proto.payment.PaymentSearchRequest|undefined} value
|
1652
1652
|
* @return {!proto.payment.PaginationRequest} returns this
|
1653
1653
|
*/
|
1654
|
-
proto.payment.PaginationRequest.prototype.
|
1654
|
+
proto.payment.PaginationRequest.prototype.setC = function(value) {
|
1655
1655
|
return jspb.Message.setWrapperField(this, 3, value);
|
1656
1656
|
};
|
1657
1657
|
|
@@ -1660,8 +1660,8 @@ proto.payment.PaginationRequest.prototype.setPaymentSearchParams = function(valu
|
|
1660
1660
|
* Clears the message field making it undefined.
|
1661
1661
|
* @return {!proto.payment.PaginationRequest} returns this
|
1662
1662
|
*/
|
1663
|
-
proto.payment.PaginationRequest.prototype.
|
1664
|
-
return this.
|
1663
|
+
proto.payment.PaginationRequest.prototype.clearC = function() {
|
1664
|
+
return this.setC(undefined);
|
1665
1665
|
};
|
1666
1666
|
|
1667
1667
|
|
@@ -1669,7 +1669,7 @@ proto.payment.PaginationRequest.prototype.clearPaymentSearchParams = function()
|
|
1669
1669
|
* Returns whether this field is set.
|
1670
1670
|
* @return {boolean}
|
1671
1671
|
*/
|
1672
|
-
proto.payment.PaginationRequest.prototype.
|
1672
|
+
proto.payment.PaginationRequest.prototype.hasC = function() {
|
1673
1673
|
return jspb.Message.getField(this, 3) != null;
|
1674
1674
|
};
|
1675
1675
|
|