protobuf-platform 1.0.291 → 1.0.293
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 -2
- package/game/game_grpc_pb.js +22 -0
- package/game/game_pb.js +354 -27
- package/package.json +1 -1
package/game/game.proto
CHANGED
@@ -82,6 +82,8 @@ service Game {
|
|
82
82
|
rpc deleteSingleCashBackList(GetCashBackListRequest) returns (GameStatusResponse);
|
83
83
|
rpc getArrayCashBackList(PaginationRequest) returns (CashBackListItemsResponse);
|
84
84
|
rpc addGamesIntoCashBackList(CashBackListGamesRequest) returns (GameStatusResponse);
|
85
|
+
rpc fetchGamesFromCashBackList(PaginationRequest) returns (GameItemsResponse);
|
86
|
+
rpc notProcessedGamesInCashBackList(PaginationRequest) returns (GameItemsResponse);
|
85
87
|
//Dashboard
|
86
88
|
rpc getDashboardInfo(DashboardRequest) returns (DashboardResponse);
|
87
89
|
//SEO
|
@@ -97,6 +99,7 @@ message PaginationRequest {
|
|
97
99
|
optional bool admin_side = 3;
|
98
100
|
optional GameSearchRequest game_search_params = 4;
|
99
101
|
optional WagerSearchRequest wager_search_params = 5;
|
102
|
+
optional CashBackSearchRequest cash_back_search_params = 6;
|
100
103
|
}
|
101
104
|
message GameSearchRequest {
|
102
105
|
optional int32 is_active = 1;
|
@@ -118,6 +121,11 @@ message WagerSearchRequest {
|
|
118
121
|
optional string game_title = 2;
|
119
122
|
repeated int32 wager_ids = 3;
|
120
123
|
}
|
124
|
+
message CashBackSearchRequest {
|
125
|
+
optional int32 cashback_id = 1;
|
126
|
+
optional string game_title = 2;
|
127
|
+
repeated int32 cashback_ids = 3;
|
128
|
+
}
|
121
129
|
//Media
|
122
130
|
message File { bytes media = 1; }
|
123
131
|
message GetFileRequest { string file_name = 1; string instance_type = 2; }
|
@@ -569,7 +577,7 @@ message GetCashBackListRequest {
|
|
569
577
|
}
|
570
578
|
message CashBackListRequest {
|
571
579
|
optional int32 id = 1;
|
572
|
-
optional
|
580
|
+
optional string cashback_type = 2;
|
573
581
|
optional string title = 3;
|
574
582
|
optional string description = 4;
|
575
583
|
}
|
@@ -579,7 +587,7 @@ message CashBackListGamesRequest {
|
|
579
587
|
}
|
580
588
|
message CashBackListItem {
|
581
589
|
int32 id = 1;
|
582
|
-
|
590
|
+
string cashback_type = 2;
|
583
591
|
string title = 3;
|
584
592
|
optional string description = 4;
|
585
593
|
}
|
package/game/game_grpc_pb.js
CHANGED
@@ -1611,6 +1611,28 @@ readSingleCashBackList: {
|
|
1611
1611
|
responseSerialize: serialize_game_GameStatusResponse,
|
1612
1612
|
responseDeserialize: deserialize_game_GameStatusResponse,
|
1613
1613
|
},
|
1614
|
+
fetchGamesFromCashBackList: {
|
1615
|
+
path: '/game.Game/fetchGamesFromCashBackList',
|
1616
|
+
requestStream: false,
|
1617
|
+
responseStream: false,
|
1618
|
+
requestType: game_pb.PaginationRequest,
|
1619
|
+
responseType: game_pb.GameItemsResponse,
|
1620
|
+
requestSerialize: serialize_game_PaginationRequest,
|
1621
|
+
requestDeserialize: deserialize_game_PaginationRequest,
|
1622
|
+
responseSerialize: serialize_game_GameItemsResponse,
|
1623
|
+
responseDeserialize: deserialize_game_GameItemsResponse,
|
1624
|
+
},
|
1625
|
+
notProcessedGamesInCashBackList: {
|
1626
|
+
path: '/game.Game/notProcessedGamesInCashBackList',
|
1627
|
+
requestStream: false,
|
1628
|
+
responseStream: false,
|
1629
|
+
requestType: game_pb.PaginationRequest,
|
1630
|
+
responseType: game_pb.GameItemsResponse,
|
1631
|
+
requestSerialize: serialize_game_PaginationRequest,
|
1632
|
+
requestDeserialize: deserialize_game_PaginationRequest,
|
1633
|
+
responseSerialize: serialize_game_GameItemsResponse,
|
1634
|
+
responseDeserialize: deserialize_game_GameItemsResponse,
|
1635
|
+
},
|
1614
1636
|
// Dashboard
|
1615
1637
|
getDashboardInfo: {
|
1616
1638
|
path: '/game.Game/getDashboardInfo',
|
package/game/game_pb.js
CHANGED
@@ -26,6 +26,7 @@ goog.exportSymbol('proto.game.CashBackListItem', null, global);
|
|
26
26
|
goog.exportSymbol('proto.game.CashBackListItemsResponse', null, global);
|
27
27
|
goog.exportSymbol('proto.game.CashBackListRequest', null, global);
|
28
28
|
goog.exportSymbol('proto.game.CashBackListResponse', null, global);
|
29
|
+
goog.exportSymbol('proto.game.CashBackSearchRequest', null, global);
|
29
30
|
goog.exportSymbol('proto.game.CategoryItem', null, global);
|
30
31
|
goog.exportSymbol('proto.game.CategoryItemRequest', null, global);
|
31
32
|
goog.exportSymbol('proto.game.CategoryItemsResponse', null, global);
|
@@ -224,6 +225,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
224
225
|
*/
|
225
226
|
proto.game.WagerSearchRequest.displayName = 'proto.game.WagerSearchRequest';
|
226
227
|
}
|
228
|
+
/**
|
229
|
+
* Generated by JsPbCodeGenerator.
|
230
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
231
|
+
* server response, or constructed directly in Javascript. The array is used
|
232
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
233
|
+
* If no data is provided, the constructed object will be empty, but still
|
234
|
+
* valid.
|
235
|
+
* @extends {jspb.Message}
|
236
|
+
* @constructor
|
237
|
+
*/
|
238
|
+
proto.game.CashBackSearchRequest = function(opt_data) {
|
239
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.game.CashBackSearchRequest.repeatedFields_, null);
|
240
|
+
};
|
241
|
+
goog.inherits(proto.game.CashBackSearchRequest, jspb.Message);
|
242
|
+
if (goog.DEBUG && !COMPILED) {
|
243
|
+
/**
|
244
|
+
* @public
|
245
|
+
* @override
|
246
|
+
*/
|
247
|
+
proto.game.CashBackSearchRequest.displayName = 'proto.game.CashBackSearchRequest';
|
248
|
+
}
|
227
249
|
/**
|
228
250
|
* Generated by JsPbCodeGenerator.
|
229
251
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
@@ -2368,7 +2390,8 @@ proto.game.PaginationRequest.toObject = function(includeInstance, msg) {
|
|
2368
2390
|
offset: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
2369
2391
|
adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
2370
2392
|
gameSearchParams: (f = msg.getGameSearchParams()) && proto.game.GameSearchRequest.toObject(includeInstance, f),
|
2371
|
-
wagerSearchParams: (f = msg.getWagerSearchParams()) && proto.game.WagerSearchRequest.toObject(includeInstance, f)
|
2393
|
+
wagerSearchParams: (f = msg.getWagerSearchParams()) && proto.game.WagerSearchRequest.toObject(includeInstance, f),
|
2394
|
+
cashBackSearchParams: (f = msg.getCashBackSearchParams()) && proto.game.CashBackSearchRequest.toObject(includeInstance, f)
|
2372
2395
|
};
|
2373
2396
|
|
2374
2397
|
if (includeInstance) {
|
@@ -2427,6 +2450,11 @@ proto.game.PaginationRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
2427
2450
|
reader.readMessage(value,proto.game.WagerSearchRequest.deserializeBinaryFromReader);
|
2428
2451
|
msg.setWagerSearchParams(value);
|
2429
2452
|
break;
|
2453
|
+
case 6:
|
2454
|
+
var value = new proto.game.CashBackSearchRequest;
|
2455
|
+
reader.readMessage(value,proto.game.CashBackSearchRequest.deserializeBinaryFromReader);
|
2456
|
+
msg.setCashBackSearchParams(value);
|
2457
|
+
break;
|
2430
2458
|
default:
|
2431
2459
|
reader.skipField();
|
2432
2460
|
break;
|
@@ -2493,6 +2521,14 @@ proto.game.PaginationRequest.serializeBinaryToWriter = function(message, writer)
|
|
2493
2521
|
proto.game.WagerSearchRequest.serializeBinaryToWriter
|
2494
2522
|
);
|
2495
2523
|
}
|
2524
|
+
f = message.getCashBackSearchParams();
|
2525
|
+
if (f != null) {
|
2526
|
+
writer.writeMessage(
|
2527
|
+
6,
|
2528
|
+
f,
|
2529
|
+
proto.game.CashBackSearchRequest.serializeBinaryToWriter
|
2530
|
+
);
|
2531
|
+
}
|
2496
2532
|
};
|
2497
2533
|
|
2498
2534
|
|
@@ -2642,6 +2678,43 @@ proto.game.PaginationRequest.prototype.hasWagerSearchParams = function() {
|
|
2642
2678
|
};
|
2643
2679
|
|
2644
2680
|
|
2681
|
+
/**
|
2682
|
+
* optional CashBackSearchRequest cash_back_search_params = 6;
|
2683
|
+
* @return {?proto.game.CashBackSearchRequest}
|
2684
|
+
*/
|
2685
|
+
proto.game.PaginationRequest.prototype.getCashBackSearchParams = function() {
|
2686
|
+
return /** @type{?proto.game.CashBackSearchRequest} */ (
|
2687
|
+
jspb.Message.getWrapperField(this, proto.game.CashBackSearchRequest, 6));
|
2688
|
+
};
|
2689
|
+
|
2690
|
+
|
2691
|
+
/**
|
2692
|
+
* @param {?proto.game.CashBackSearchRequest|undefined} value
|
2693
|
+
* @return {!proto.game.PaginationRequest} returns this
|
2694
|
+
*/
|
2695
|
+
proto.game.PaginationRequest.prototype.setCashBackSearchParams = function(value) {
|
2696
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
2697
|
+
};
|
2698
|
+
|
2699
|
+
|
2700
|
+
/**
|
2701
|
+
* Clears the message field making it undefined.
|
2702
|
+
* @return {!proto.game.PaginationRequest} returns this
|
2703
|
+
*/
|
2704
|
+
proto.game.PaginationRequest.prototype.clearCashBackSearchParams = function() {
|
2705
|
+
return this.setCashBackSearchParams(undefined);
|
2706
|
+
};
|
2707
|
+
|
2708
|
+
|
2709
|
+
/**
|
2710
|
+
* Returns whether this field is set.
|
2711
|
+
* @return {boolean}
|
2712
|
+
*/
|
2713
|
+
proto.game.PaginationRequest.prototype.hasCashBackSearchParams = function() {
|
2714
|
+
return jspb.Message.getField(this, 6) != null;
|
2715
|
+
};
|
2716
|
+
|
2717
|
+
|
2645
2718
|
|
2646
2719
|
/**
|
2647
2720
|
* List of repeated fields within this message type.
|
@@ -3641,6 +3714,260 @@ proto.game.WagerSearchRequest.prototype.clearWagerIdsList = function() {
|
|
3641
3714
|
|
3642
3715
|
|
3643
3716
|
|
3717
|
+
/**
|
3718
|
+
* List of repeated fields within this message type.
|
3719
|
+
* @private {!Array<number>}
|
3720
|
+
* @const
|
3721
|
+
*/
|
3722
|
+
proto.game.CashBackSearchRequest.repeatedFields_ = [3];
|
3723
|
+
|
3724
|
+
|
3725
|
+
|
3726
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
3727
|
+
/**
|
3728
|
+
* Creates an object representation of this proto.
|
3729
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
3730
|
+
* Optional fields that are not set will be set to undefined.
|
3731
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
3732
|
+
* For the list of reserved names please see:
|
3733
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
3734
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
3735
|
+
* JSPB instance for transitional soy proto support:
|
3736
|
+
* http://goto/soy-param-migration
|
3737
|
+
* @return {!Object}
|
3738
|
+
*/
|
3739
|
+
proto.game.CashBackSearchRequest.prototype.toObject = function(opt_includeInstance) {
|
3740
|
+
return proto.game.CashBackSearchRequest.toObject(opt_includeInstance, this);
|
3741
|
+
};
|
3742
|
+
|
3743
|
+
|
3744
|
+
/**
|
3745
|
+
* Static version of the {@see toObject} method.
|
3746
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
3747
|
+
* the JSPB instance for transitional soy proto support:
|
3748
|
+
* http://goto/soy-param-migration
|
3749
|
+
* @param {!proto.game.CashBackSearchRequest} msg The msg instance to transform.
|
3750
|
+
* @return {!Object}
|
3751
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
3752
|
+
*/
|
3753
|
+
proto.game.CashBackSearchRequest.toObject = function(includeInstance, msg) {
|
3754
|
+
var f, obj = {
|
3755
|
+
cashbackId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
3756
|
+
gameTitle: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
3757
|
+
cashbackIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
3758
|
+
};
|
3759
|
+
|
3760
|
+
if (includeInstance) {
|
3761
|
+
obj.$jspbMessageInstance = msg;
|
3762
|
+
}
|
3763
|
+
return obj;
|
3764
|
+
};
|
3765
|
+
}
|
3766
|
+
|
3767
|
+
|
3768
|
+
/**
|
3769
|
+
* Deserializes binary data (in protobuf wire format).
|
3770
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
3771
|
+
* @return {!proto.game.CashBackSearchRequest}
|
3772
|
+
*/
|
3773
|
+
proto.game.CashBackSearchRequest.deserializeBinary = function(bytes) {
|
3774
|
+
var reader = new jspb.BinaryReader(bytes);
|
3775
|
+
var msg = new proto.game.CashBackSearchRequest;
|
3776
|
+
return proto.game.CashBackSearchRequest.deserializeBinaryFromReader(msg, reader);
|
3777
|
+
};
|
3778
|
+
|
3779
|
+
|
3780
|
+
/**
|
3781
|
+
* Deserializes binary data (in protobuf wire format) from the
|
3782
|
+
* given reader into the given message object.
|
3783
|
+
* @param {!proto.game.CashBackSearchRequest} msg The message object to deserialize into.
|
3784
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
3785
|
+
* @return {!proto.game.CashBackSearchRequest}
|
3786
|
+
*/
|
3787
|
+
proto.game.CashBackSearchRequest.deserializeBinaryFromReader = function(msg, reader) {
|
3788
|
+
while (reader.nextField()) {
|
3789
|
+
if (reader.isEndGroup()) {
|
3790
|
+
break;
|
3791
|
+
}
|
3792
|
+
var field = reader.getFieldNumber();
|
3793
|
+
switch (field) {
|
3794
|
+
case 1:
|
3795
|
+
var value = /** @type {number} */ (reader.readInt32());
|
3796
|
+
msg.setCashbackId(value);
|
3797
|
+
break;
|
3798
|
+
case 2:
|
3799
|
+
var value = /** @type {string} */ (reader.readString());
|
3800
|
+
msg.setGameTitle(value);
|
3801
|
+
break;
|
3802
|
+
case 3:
|
3803
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
3804
|
+
for (var i = 0; i < values.length; i++) {
|
3805
|
+
msg.addCashbackIds(values[i]);
|
3806
|
+
}
|
3807
|
+
break;
|
3808
|
+
default:
|
3809
|
+
reader.skipField();
|
3810
|
+
break;
|
3811
|
+
}
|
3812
|
+
}
|
3813
|
+
return msg;
|
3814
|
+
};
|
3815
|
+
|
3816
|
+
|
3817
|
+
/**
|
3818
|
+
* Serializes the message to binary data (in protobuf wire format).
|
3819
|
+
* @return {!Uint8Array}
|
3820
|
+
*/
|
3821
|
+
proto.game.CashBackSearchRequest.prototype.serializeBinary = function() {
|
3822
|
+
var writer = new jspb.BinaryWriter();
|
3823
|
+
proto.game.CashBackSearchRequest.serializeBinaryToWriter(this, writer);
|
3824
|
+
return writer.getResultBuffer();
|
3825
|
+
};
|
3826
|
+
|
3827
|
+
|
3828
|
+
/**
|
3829
|
+
* Serializes the given message to binary data (in protobuf wire
|
3830
|
+
* format), writing to the given BinaryWriter.
|
3831
|
+
* @param {!proto.game.CashBackSearchRequest} message
|
3832
|
+
* @param {!jspb.BinaryWriter} writer
|
3833
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
3834
|
+
*/
|
3835
|
+
proto.game.CashBackSearchRequest.serializeBinaryToWriter = function(message, writer) {
|
3836
|
+
var f = undefined;
|
3837
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 1));
|
3838
|
+
if (f != null) {
|
3839
|
+
writer.writeInt32(
|
3840
|
+
1,
|
3841
|
+
f
|
3842
|
+
);
|
3843
|
+
}
|
3844
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
3845
|
+
if (f != null) {
|
3846
|
+
writer.writeString(
|
3847
|
+
2,
|
3848
|
+
f
|
3849
|
+
);
|
3850
|
+
}
|
3851
|
+
f = message.getCashbackIdsList();
|
3852
|
+
if (f.length > 0) {
|
3853
|
+
writer.writePackedInt32(
|
3854
|
+
3,
|
3855
|
+
f
|
3856
|
+
);
|
3857
|
+
}
|
3858
|
+
};
|
3859
|
+
|
3860
|
+
|
3861
|
+
/**
|
3862
|
+
* optional int32 cashback_id = 1;
|
3863
|
+
* @return {number}
|
3864
|
+
*/
|
3865
|
+
proto.game.CashBackSearchRequest.prototype.getCashbackId = function() {
|
3866
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
3867
|
+
};
|
3868
|
+
|
3869
|
+
|
3870
|
+
/**
|
3871
|
+
* @param {number} value
|
3872
|
+
* @return {!proto.game.CashBackSearchRequest} returns this
|
3873
|
+
*/
|
3874
|
+
proto.game.CashBackSearchRequest.prototype.setCashbackId = function(value) {
|
3875
|
+
return jspb.Message.setField(this, 1, value);
|
3876
|
+
};
|
3877
|
+
|
3878
|
+
|
3879
|
+
/**
|
3880
|
+
* Clears the field making it undefined.
|
3881
|
+
* @return {!proto.game.CashBackSearchRequest} returns this
|
3882
|
+
*/
|
3883
|
+
proto.game.CashBackSearchRequest.prototype.clearCashbackId = function() {
|
3884
|
+
return jspb.Message.setField(this, 1, undefined);
|
3885
|
+
};
|
3886
|
+
|
3887
|
+
|
3888
|
+
/**
|
3889
|
+
* Returns whether this field is set.
|
3890
|
+
* @return {boolean}
|
3891
|
+
*/
|
3892
|
+
proto.game.CashBackSearchRequest.prototype.hasCashbackId = function() {
|
3893
|
+
return jspb.Message.getField(this, 1) != null;
|
3894
|
+
};
|
3895
|
+
|
3896
|
+
|
3897
|
+
/**
|
3898
|
+
* optional string game_title = 2;
|
3899
|
+
* @return {string}
|
3900
|
+
*/
|
3901
|
+
proto.game.CashBackSearchRequest.prototype.getGameTitle = function() {
|
3902
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
3903
|
+
};
|
3904
|
+
|
3905
|
+
|
3906
|
+
/**
|
3907
|
+
* @param {string} value
|
3908
|
+
* @return {!proto.game.CashBackSearchRequest} returns this
|
3909
|
+
*/
|
3910
|
+
proto.game.CashBackSearchRequest.prototype.setGameTitle = function(value) {
|
3911
|
+
return jspb.Message.setField(this, 2, value);
|
3912
|
+
};
|
3913
|
+
|
3914
|
+
|
3915
|
+
/**
|
3916
|
+
* Clears the field making it undefined.
|
3917
|
+
* @return {!proto.game.CashBackSearchRequest} returns this
|
3918
|
+
*/
|
3919
|
+
proto.game.CashBackSearchRequest.prototype.clearGameTitle = function() {
|
3920
|
+
return jspb.Message.setField(this, 2, undefined);
|
3921
|
+
};
|
3922
|
+
|
3923
|
+
|
3924
|
+
/**
|
3925
|
+
* Returns whether this field is set.
|
3926
|
+
* @return {boolean}
|
3927
|
+
*/
|
3928
|
+
proto.game.CashBackSearchRequest.prototype.hasGameTitle = function() {
|
3929
|
+
return jspb.Message.getField(this, 2) != null;
|
3930
|
+
};
|
3931
|
+
|
3932
|
+
|
3933
|
+
/**
|
3934
|
+
* repeated int32 cashback_ids = 3;
|
3935
|
+
* @return {!Array<number>}
|
3936
|
+
*/
|
3937
|
+
proto.game.CashBackSearchRequest.prototype.getCashbackIdsList = function() {
|
3938
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 3));
|
3939
|
+
};
|
3940
|
+
|
3941
|
+
|
3942
|
+
/**
|
3943
|
+
* @param {!Array<number>} value
|
3944
|
+
* @return {!proto.game.CashBackSearchRequest} returns this
|
3945
|
+
*/
|
3946
|
+
proto.game.CashBackSearchRequest.prototype.setCashbackIdsList = function(value) {
|
3947
|
+
return jspb.Message.setField(this, 3, value || []);
|
3948
|
+
};
|
3949
|
+
|
3950
|
+
|
3951
|
+
/**
|
3952
|
+
* @param {number} value
|
3953
|
+
* @param {number=} opt_index
|
3954
|
+
* @return {!proto.game.CashBackSearchRequest} returns this
|
3955
|
+
*/
|
3956
|
+
proto.game.CashBackSearchRequest.prototype.addCashbackIds = function(value, opt_index) {
|
3957
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
3958
|
+
};
|
3959
|
+
|
3960
|
+
|
3961
|
+
/**
|
3962
|
+
* Clears the list making it empty but non-null.
|
3963
|
+
* @return {!proto.game.CashBackSearchRequest} returns this
|
3964
|
+
*/
|
3965
|
+
proto.game.CashBackSearchRequest.prototype.clearCashbackIdsList = function() {
|
3966
|
+
return this.setCashbackIdsList([]);
|
3967
|
+
};
|
3968
|
+
|
3969
|
+
|
3970
|
+
|
3644
3971
|
|
3645
3972
|
|
3646
3973
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
@@ -23554,7 +23881,7 @@ proto.game.CashBackListRequest.prototype.toObject = function(opt_includeInstance
|
|
23554
23881
|
proto.game.CashBackListRequest.toObject = function(includeInstance, msg) {
|
23555
23882
|
var f, obj = {
|
23556
23883
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
23557
|
-
|
23884
|
+
cashbackType: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
23558
23885
|
title: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
23559
23886
|
description: jspb.Message.getFieldWithDefault(msg, 4, "")
|
23560
23887
|
};
|
@@ -23598,8 +23925,8 @@ proto.game.CashBackListRequest.deserializeBinaryFromReader = function(msg, reade
|
|
23598
23925
|
msg.setId(value);
|
23599
23926
|
break;
|
23600
23927
|
case 2:
|
23601
|
-
var value = /** @type {
|
23602
|
-
msg.
|
23928
|
+
var value = /** @type {string} */ (reader.readString());
|
23929
|
+
msg.setCashbackType(value);
|
23603
23930
|
break;
|
23604
23931
|
case 3:
|
23605
23932
|
var value = /** @type {string} */ (reader.readString());
|
@@ -23645,9 +23972,9 @@ proto.game.CashBackListRequest.serializeBinaryToWriter = function(message, write
|
|
23645
23972
|
f
|
23646
23973
|
);
|
23647
23974
|
}
|
23648
|
-
f = /** @type {
|
23975
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
23649
23976
|
if (f != null) {
|
23650
|
-
writer.
|
23977
|
+
writer.writeString(
|
23651
23978
|
2,
|
23652
23979
|
f
|
23653
23980
|
);
|
@@ -23706,19 +24033,19 @@ proto.game.CashBackListRequest.prototype.hasId = function() {
|
|
23706
24033
|
|
23707
24034
|
|
23708
24035
|
/**
|
23709
|
-
* optional
|
23710
|
-
* @return {
|
24036
|
+
* optional string cashback_type = 2;
|
24037
|
+
* @return {string}
|
23711
24038
|
*/
|
23712
|
-
proto.game.CashBackListRequest.prototype.
|
23713
|
-
return /** @type {
|
24039
|
+
proto.game.CashBackListRequest.prototype.getCashbackType = function() {
|
24040
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
23714
24041
|
};
|
23715
24042
|
|
23716
24043
|
|
23717
24044
|
/**
|
23718
|
-
* @param {
|
24045
|
+
* @param {string} value
|
23719
24046
|
* @return {!proto.game.CashBackListRequest} returns this
|
23720
24047
|
*/
|
23721
|
-
proto.game.CashBackListRequest.prototype.
|
24048
|
+
proto.game.CashBackListRequest.prototype.setCashbackType = function(value) {
|
23722
24049
|
return jspb.Message.setField(this, 2, value);
|
23723
24050
|
};
|
23724
24051
|
|
@@ -23727,7 +24054,7 @@ proto.game.CashBackListRequest.prototype.setCashbackId = function(value) {
|
|
23727
24054
|
* Clears the field making it undefined.
|
23728
24055
|
* @return {!proto.game.CashBackListRequest} returns this
|
23729
24056
|
*/
|
23730
|
-
proto.game.CashBackListRequest.prototype.
|
24057
|
+
proto.game.CashBackListRequest.prototype.clearCashbackType = function() {
|
23731
24058
|
return jspb.Message.setField(this, 2, undefined);
|
23732
24059
|
};
|
23733
24060
|
|
@@ -23736,7 +24063,7 @@ proto.game.CashBackListRequest.prototype.clearCashbackId = function() {
|
|
23736
24063
|
* Returns whether this field is set.
|
23737
24064
|
* @return {boolean}
|
23738
24065
|
*/
|
23739
|
-
proto.game.CashBackListRequest.prototype.
|
24066
|
+
proto.game.CashBackListRequest.prototype.hasCashbackType = function() {
|
23740
24067
|
return jspb.Message.getField(this, 2) != null;
|
23741
24068
|
};
|
23742
24069
|
|
@@ -24034,7 +24361,7 @@ proto.game.CashBackListItem.prototype.toObject = function(opt_includeInstance) {
|
|
24034
24361
|
proto.game.CashBackListItem.toObject = function(includeInstance, msg) {
|
24035
24362
|
var f, obj = {
|
24036
24363
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
24037
|
-
|
24364
|
+
cashbackType: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
24038
24365
|
title: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
24039
24366
|
description: jspb.Message.getFieldWithDefault(msg, 4, "")
|
24040
24367
|
};
|
@@ -24078,8 +24405,8 @@ proto.game.CashBackListItem.deserializeBinaryFromReader = function(msg, reader)
|
|
24078
24405
|
msg.setId(value);
|
24079
24406
|
break;
|
24080
24407
|
case 2:
|
24081
|
-
var value = /** @type {
|
24082
|
-
msg.
|
24408
|
+
var value = /** @type {string} */ (reader.readString());
|
24409
|
+
msg.setCashbackType(value);
|
24083
24410
|
break;
|
24084
24411
|
case 3:
|
24085
24412
|
var value = /** @type {string} */ (reader.readString());
|
@@ -24125,9 +24452,9 @@ proto.game.CashBackListItem.serializeBinaryToWriter = function(message, writer)
|
|
24125
24452
|
f
|
24126
24453
|
);
|
24127
24454
|
}
|
24128
|
-
f = message.
|
24129
|
-
if (f
|
24130
|
-
writer.
|
24455
|
+
f = message.getCashbackType();
|
24456
|
+
if (f.length > 0) {
|
24457
|
+
writer.writeString(
|
24131
24458
|
2,
|
24132
24459
|
f
|
24133
24460
|
);
|
@@ -24168,20 +24495,20 @@ proto.game.CashBackListItem.prototype.setId = function(value) {
|
|
24168
24495
|
|
24169
24496
|
|
24170
24497
|
/**
|
24171
|
-
* optional
|
24172
|
-
* @return {
|
24498
|
+
* optional string cashback_type = 2;
|
24499
|
+
* @return {string}
|
24173
24500
|
*/
|
24174
|
-
proto.game.CashBackListItem.prototype.
|
24175
|
-
return /** @type {
|
24501
|
+
proto.game.CashBackListItem.prototype.getCashbackType = function() {
|
24502
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
24176
24503
|
};
|
24177
24504
|
|
24178
24505
|
|
24179
24506
|
/**
|
24180
|
-
* @param {
|
24507
|
+
* @param {string} value
|
24181
24508
|
* @return {!proto.game.CashBackListItem} returns this
|
24182
24509
|
*/
|
24183
|
-
proto.game.CashBackListItem.prototype.
|
24184
|
-
return jspb.Message.
|
24510
|
+
proto.game.CashBackListItem.prototype.setCashbackType = function(value) {
|
24511
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
24185
24512
|
};
|
24186
24513
|
|
24187
24514
|
|