protobuf-platform 1.2.648 → 1.2.650
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 +5 -0
- package/game/game_grpc_pb.js +33 -0
- package/game/game_pb.js +301 -0
- package/loyalty/loyalty.proto +11 -0
- package/loyalty/loyalty_pb.js +572 -5
- package/package.json +1 -1
package/game/game.proto
CHANGED
|
@@ -72,6 +72,7 @@ service Game {
|
|
|
72
72
|
rpc updateSingleGame(stream GameRequest) returns (GameResponse);
|
|
73
73
|
rpc deleteSingleGame(GetGameRequest) returns (GameStatusResponse);
|
|
74
74
|
rpc readListGames(PaginationRequest) returns (GameItemsResponse);
|
|
75
|
+
rpc readDistinctGameTypes(GetDistinctGameTypesRequest) returns (DistinctGameTypesResponse);
|
|
75
76
|
rpc searchGamesByCollections(SearchGamesIntoCollectionsRequest) returns (GameItemsResponse);
|
|
76
77
|
rpc searchGamesByTags(SearchGamesIntoTagsRequest) returns (GameItemsResponse);
|
|
77
78
|
rpc searchGamesByProviders(SearchGamesIntoProvidersRequest) returns (GameItemsResponse);
|
|
@@ -1461,3 +1462,7 @@ message CategoryHierarchyItem {
|
|
|
1461
1462
|
message CategoryHierarchyResponse {
|
|
1462
1463
|
repeated CategoryHierarchyItem items = 1;
|
|
1463
1464
|
}
|
|
1465
|
+
message GetDistinctGameTypesRequest {}
|
|
1466
|
+
message DistinctGameTypesResponse {
|
|
1467
|
+
repeated string types = 1;
|
|
1468
|
+
}
|
package/game/game_grpc_pb.js
CHANGED
|
@@ -290,6 +290,17 @@ function deserialize_game_DashboardResponse(buffer_arg) {
|
|
|
290
290
|
return game_pb.DashboardResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
291
291
|
}
|
|
292
292
|
|
|
293
|
+
function serialize_game_DistinctGameTypesResponse(arg) {
|
|
294
|
+
if (!(arg instanceof game_pb.DistinctGameTypesResponse)) {
|
|
295
|
+
throw new Error('Expected argument of type game.DistinctGameTypesResponse');
|
|
296
|
+
}
|
|
297
|
+
return Buffer.from(arg.serializeBinary());
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
function deserialize_game_DistinctGameTypesResponse(buffer_arg) {
|
|
301
|
+
return game_pb.DistinctGameTypesResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
302
|
+
}
|
|
303
|
+
|
|
293
304
|
function serialize_game_FetchGamesFromWagerListsRequest(arg) {
|
|
294
305
|
if (!(arg instanceof game_pb.FetchGamesFromWagerListsRequest)) {
|
|
295
306
|
throw new Error('Expected argument of type game.FetchGamesFromWagerListsRequest');
|
|
@@ -653,6 +664,17 @@ function deserialize_game_GetCollectionSnapshotsByIdsRequest(buffer_arg) {
|
|
|
653
664
|
return game_pb.GetCollectionSnapshotsByIdsRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
654
665
|
}
|
|
655
666
|
|
|
667
|
+
function serialize_game_GetDistinctGameTypesRequest(arg) {
|
|
668
|
+
if (!(arg instanceof game_pb.GetDistinctGameTypesRequest)) {
|
|
669
|
+
throw new Error('Expected argument of type game.GetDistinctGameTypesRequest');
|
|
670
|
+
}
|
|
671
|
+
return Buffer.from(arg.serializeBinary());
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
function deserialize_game_GetDistinctGameTypesRequest(buffer_arg) {
|
|
675
|
+
return game_pb.GetDistinctGameTypesRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
676
|
+
}
|
|
677
|
+
|
|
656
678
|
function serialize_game_GetFileRequest(arg) {
|
|
657
679
|
if (!(arg instanceof game_pb.GetFileRequest)) {
|
|
658
680
|
throw new Error('Expected argument of type game.GetFileRequest');
|
|
@@ -2257,6 +2279,17 @@ parseGames: {
|
|
|
2257
2279
|
responseSerialize: serialize_game_GameItemsResponse,
|
|
2258
2280
|
responseDeserialize: deserialize_game_GameItemsResponse,
|
|
2259
2281
|
},
|
|
2282
|
+
readDistinctGameTypes: {
|
|
2283
|
+
path: '/game.Game/readDistinctGameTypes',
|
|
2284
|
+
requestStream: false,
|
|
2285
|
+
responseStream: false,
|
|
2286
|
+
requestType: game_pb.GetDistinctGameTypesRequest,
|
|
2287
|
+
responseType: game_pb.DistinctGameTypesResponse,
|
|
2288
|
+
requestSerialize: serialize_game_GetDistinctGameTypesRequest,
|
|
2289
|
+
requestDeserialize: deserialize_game_GetDistinctGameTypesRequest,
|
|
2290
|
+
responseSerialize: serialize_game_DistinctGameTypesResponse,
|
|
2291
|
+
responseDeserialize: deserialize_game_DistinctGameTypesResponse,
|
|
2292
|
+
},
|
|
2260
2293
|
searchGamesByCollections: {
|
|
2261
2294
|
path: '/game.Game/searchGamesByCollections',
|
|
2262
2295
|
requestStream: false,
|
package/game/game_pb.js
CHANGED
|
@@ -64,6 +64,7 @@ goog.exportSymbol('proto.game.CollectionSnapshotItemsResponse', null, global);
|
|
|
64
64
|
goog.exportSymbol('proto.game.CollectionStatusResponse', null, global);
|
|
65
65
|
goog.exportSymbol('proto.game.DashboardRequest', null, global);
|
|
66
66
|
goog.exportSymbol('proto.game.DashboardResponse', null, global);
|
|
67
|
+
goog.exportSymbol('proto.game.DistinctGameTypesResponse', null, global);
|
|
67
68
|
goog.exportSymbol('proto.game.EntityFileMetadata', null, global);
|
|
68
69
|
goog.exportSymbol('proto.game.FetchGamesFromWagerListsRequest', null, global);
|
|
69
70
|
goog.exportSymbol('proto.game.File', null, global);
|
|
@@ -114,6 +115,7 @@ goog.exportSymbol('proto.game.GetCategoryBySlugRequest', null, global);
|
|
|
114
115
|
goog.exportSymbol('proto.game.GetCategoryRequest', null, global);
|
|
115
116
|
goog.exportSymbol('proto.game.GetCollectionRequest', null, global);
|
|
116
117
|
goog.exportSymbol('proto.game.GetCollectionSnapshotsByIdsRequest', null, global);
|
|
118
|
+
goog.exportSymbol('proto.game.GetDistinctGameTypesRequest', null, global);
|
|
117
119
|
goog.exportSymbol('proto.game.GetFileRequest', null, global);
|
|
118
120
|
goog.exportSymbol('proto.game.GetGameConfigCheckRequest', null, global);
|
|
119
121
|
goog.exportSymbol('proto.game.GetGameRequest', null, global);
|
|
@@ -4428,6 +4430,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
4428
4430
|
*/
|
|
4429
4431
|
proto.game.CategoryHierarchyResponse.displayName = 'proto.game.CategoryHierarchyResponse';
|
|
4430
4432
|
}
|
|
4433
|
+
/**
|
|
4434
|
+
* Generated by JsPbCodeGenerator.
|
|
4435
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4436
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4437
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4438
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4439
|
+
* valid.
|
|
4440
|
+
* @extends {jspb.Message}
|
|
4441
|
+
* @constructor
|
|
4442
|
+
*/
|
|
4443
|
+
proto.game.GetDistinctGameTypesRequest = function(opt_data) {
|
|
4444
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
4445
|
+
};
|
|
4446
|
+
goog.inherits(proto.game.GetDistinctGameTypesRequest, jspb.Message);
|
|
4447
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4448
|
+
/**
|
|
4449
|
+
* @public
|
|
4450
|
+
* @override
|
|
4451
|
+
*/
|
|
4452
|
+
proto.game.GetDistinctGameTypesRequest.displayName = 'proto.game.GetDistinctGameTypesRequest';
|
|
4453
|
+
}
|
|
4454
|
+
/**
|
|
4455
|
+
* Generated by JsPbCodeGenerator.
|
|
4456
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4457
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4458
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4459
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4460
|
+
* valid.
|
|
4461
|
+
* @extends {jspb.Message}
|
|
4462
|
+
* @constructor
|
|
4463
|
+
*/
|
|
4464
|
+
proto.game.DistinctGameTypesResponse = function(opt_data) {
|
|
4465
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.game.DistinctGameTypesResponse.repeatedFields_, null);
|
|
4466
|
+
};
|
|
4467
|
+
goog.inherits(proto.game.DistinctGameTypesResponse, jspb.Message);
|
|
4468
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4469
|
+
/**
|
|
4470
|
+
* @public
|
|
4471
|
+
* @override
|
|
4472
|
+
*/
|
|
4473
|
+
proto.game.DistinctGameTypesResponse.displayName = 'proto.game.DistinctGameTypesResponse';
|
|
4474
|
+
}
|
|
4431
4475
|
|
|
4432
4476
|
|
|
4433
4477
|
|
|
@@ -62444,6 +62488,263 @@ proto.game.CategoryHierarchyResponse.prototype.clearItemsList = function() {
|
|
|
62444
62488
|
};
|
|
62445
62489
|
|
|
62446
62490
|
|
|
62491
|
+
|
|
62492
|
+
|
|
62493
|
+
|
|
62494
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
62495
|
+
/**
|
|
62496
|
+
* Creates an object representation of this proto.
|
|
62497
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
62498
|
+
* Optional fields that are not set will be set to undefined.
|
|
62499
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
62500
|
+
* For the list of reserved names please see:
|
|
62501
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
62502
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
62503
|
+
* JSPB instance for transitional soy proto support:
|
|
62504
|
+
* http://goto/soy-param-migration
|
|
62505
|
+
* @return {!Object}
|
|
62506
|
+
*/
|
|
62507
|
+
proto.game.GetDistinctGameTypesRequest.prototype.toObject = function(opt_includeInstance) {
|
|
62508
|
+
return proto.game.GetDistinctGameTypesRequest.toObject(opt_includeInstance, this);
|
|
62509
|
+
};
|
|
62510
|
+
|
|
62511
|
+
|
|
62512
|
+
/**
|
|
62513
|
+
* Static version of the {@see toObject} method.
|
|
62514
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
62515
|
+
* the JSPB instance for transitional soy proto support:
|
|
62516
|
+
* http://goto/soy-param-migration
|
|
62517
|
+
* @param {!proto.game.GetDistinctGameTypesRequest} msg The msg instance to transform.
|
|
62518
|
+
* @return {!Object}
|
|
62519
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
62520
|
+
*/
|
|
62521
|
+
proto.game.GetDistinctGameTypesRequest.toObject = function(includeInstance, msg) {
|
|
62522
|
+
var f, obj = {
|
|
62523
|
+
|
|
62524
|
+
};
|
|
62525
|
+
|
|
62526
|
+
if (includeInstance) {
|
|
62527
|
+
obj.$jspbMessageInstance = msg;
|
|
62528
|
+
}
|
|
62529
|
+
return obj;
|
|
62530
|
+
};
|
|
62531
|
+
}
|
|
62532
|
+
|
|
62533
|
+
|
|
62534
|
+
/**
|
|
62535
|
+
* Deserializes binary data (in protobuf wire format).
|
|
62536
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
62537
|
+
* @return {!proto.game.GetDistinctGameTypesRequest}
|
|
62538
|
+
*/
|
|
62539
|
+
proto.game.GetDistinctGameTypesRequest.deserializeBinary = function(bytes) {
|
|
62540
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
62541
|
+
var msg = new proto.game.GetDistinctGameTypesRequest;
|
|
62542
|
+
return proto.game.GetDistinctGameTypesRequest.deserializeBinaryFromReader(msg, reader);
|
|
62543
|
+
};
|
|
62544
|
+
|
|
62545
|
+
|
|
62546
|
+
/**
|
|
62547
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
62548
|
+
* given reader into the given message object.
|
|
62549
|
+
* @param {!proto.game.GetDistinctGameTypesRequest} msg The message object to deserialize into.
|
|
62550
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
62551
|
+
* @return {!proto.game.GetDistinctGameTypesRequest}
|
|
62552
|
+
*/
|
|
62553
|
+
proto.game.GetDistinctGameTypesRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
62554
|
+
while (reader.nextField()) {
|
|
62555
|
+
if (reader.isEndGroup()) {
|
|
62556
|
+
break;
|
|
62557
|
+
}
|
|
62558
|
+
var field = reader.getFieldNumber();
|
|
62559
|
+
switch (field) {
|
|
62560
|
+
default:
|
|
62561
|
+
reader.skipField();
|
|
62562
|
+
break;
|
|
62563
|
+
}
|
|
62564
|
+
}
|
|
62565
|
+
return msg;
|
|
62566
|
+
};
|
|
62567
|
+
|
|
62568
|
+
|
|
62569
|
+
/**
|
|
62570
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
62571
|
+
* @return {!Uint8Array}
|
|
62572
|
+
*/
|
|
62573
|
+
proto.game.GetDistinctGameTypesRequest.prototype.serializeBinary = function() {
|
|
62574
|
+
var writer = new jspb.BinaryWriter();
|
|
62575
|
+
proto.game.GetDistinctGameTypesRequest.serializeBinaryToWriter(this, writer);
|
|
62576
|
+
return writer.getResultBuffer();
|
|
62577
|
+
};
|
|
62578
|
+
|
|
62579
|
+
|
|
62580
|
+
/**
|
|
62581
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
62582
|
+
* format), writing to the given BinaryWriter.
|
|
62583
|
+
* @param {!proto.game.GetDistinctGameTypesRequest} message
|
|
62584
|
+
* @param {!jspb.BinaryWriter} writer
|
|
62585
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
62586
|
+
*/
|
|
62587
|
+
proto.game.GetDistinctGameTypesRequest.serializeBinaryToWriter = function(message, writer) {
|
|
62588
|
+
var f = undefined;
|
|
62589
|
+
};
|
|
62590
|
+
|
|
62591
|
+
|
|
62592
|
+
|
|
62593
|
+
/**
|
|
62594
|
+
* List of repeated fields within this message type.
|
|
62595
|
+
* @private {!Array<number>}
|
|
62596
|
+
* @const
|
|
62597
|
+
*/
|
|
62598
|
+
proto.game.DistinctGameTypesResponse.repeatedFields_ = [1];
|
|
62599
|
+
|
|
62600
|
+
|
|
62601
|
+
|
|
62602
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
62603
|
+
/**
|
|
62604
|
+
* Creates an object representation of this proto.
|
|
62605
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
62606
|
+
* Optional fields that are not set will be set to undefined.
|
|
62607
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
62608
|
+
* For the list of reserved names please see:
|
|
62609
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
62610
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
62611
|
+
* JSPB instance for transitional soy proto support:
|
|
62612
|
+
* http://goto/soy-param-migration
|
|
62613
|
+
* @return {!Object}
|
|
62614
|
+
*/
|
|
62615
|
+
proto.game.DistinctGameTypesResponse.prototype.toObject = function(opt_includeInstance) {
|
|
62616
|
+
return proto.game.DistinctGameTypesResponse.toObject(opt_includeInstance, this);
|
|
62617
|
+
};
|
|
62618
|
+
|
|
62619
|
+
|
|
62620
|
+
/**
|
|
62621
|
+
* Static version of the {@see toObject} method.
|
|
62622
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
62623
|
+
* the JSPB instance for transitional soy proto support:
|
|
62624
|
+
* http://goto/soy-param-migration
|
|
62625
|
+
* @param {!proto.game.DistinctGameTypesResponse} msg The msg instance to transform.
|
|
62626
|
+
* @return {!Object}
|
|
62627
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
62628
|
+
*/
|
|
62629
|
+
proto.game.DistinctGameTypesResponse.toObject = function(includeInstance, msg) {
|
|
62630
|
+
var f, obj = {
|
|
62631
|
+
typesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
62632
|
+
};
|
|
62633
|
+
|
|
62634
|
+
if (includeInstance) {
|
|
62635
|
+
obj.$jspbMessageInstance = msg;
|
|
62636
|
+
}
|
|
62637
|
+
return obj;
|
|
62638
|
+
};
|
|
62639
|
+
}
|
|
62640
|
+
|
|
62641
|
+
|
|
62642
|
+
/**
|
|
62643
|
+
* Deserializes binary data (in protobuf wire format).
|
|
62644
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
62645
|
+
* @return {!proto.game.DistinctGameTypesResponse}
|
|
62646
|
+
*/
|
|
62647
|
+
proto.game.DistinctGameTypesResponse.deserializeBinary = function(bytes) {
|
|
62648
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
62649
|
+
var msg = new proto.game.DistinctGameTypesResponse;
|
|
62650
|
+
return proto.game.DistinctGameTypesResponse.deserializeBinaryFromReader(msg, reader);
|
|
62651
|
+
};
|
|
62652
|
+
|
|
62653
|
+
|
|
62654
|
+
/**
|
|
62655
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
62656
|
+
* given reader into the given message object.
|
|
62657
|
+
* @param {!proto.game.DistinctGameTypesResponse} msg The message object to deserialize into.
|
|
62658
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
62659
|
+
* @return {!proto.game.DistinctGameTypesResponse}
|
|
62660
|
+
*/
|
|
62661
|
+
proto.game.DistinctGameTypesResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
62662
|
+
while (reader.nextField()) {
|
|
62663
|
+
if (reader.isEndGroup()) {
|
|
62664
|
+
break;
|
|
62665
|
+
}
|
|
62666
|
+
var field = reader.getFieldNumber();
|
|
62667
|
+
switch (field) {
|
|
62668
|
+
case 1:
|
|
62669
|
+
var value = /** @type {string} */ (reader.readString());
|
|
62670
|
+
msg.addTypes(value);
|
|
62671
|
+
break;
|
|
62672
|
+
default:
|
|
62673
|
+
reader.skipField();
|
|
62674
|
+
break;
|
|
62675
|
+
}
|
|
62676
|
+
}
|
|
62677
|
+
return msg;
|
|
62678
|
+
};
|
|
62679
|
+
|
|
62680
|
+
|
|
62681
|
+
/**
|
|
62682
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
62683
|
+
* @return {!Uint8Array}
|
|
62684
|
+
*/
|
|
62685
|
+
proto.game.DistinctGameTypesResponse.prototype.serializeBinary = function() {
|
|
62686
|
+
var writer = new jspb.BinaryWriter();
|
|
62687
|
+
proto.game.DistinctGameTypesResponse.serializeBinaryToWriter(this, writer);
|
|
62688
|
+
return writer.getResultBuffer();
|
|
62689
|
+
};
|
|
62690
|
+
|
|
62691
|
+
|
|
62692
|
+
/**
|
|
62693
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
62694
|
+
* format), writing to the given BinaryWriter.
|
|
62695
|
+
* @param {!proto.game.DistinctGameTypesResponse} message
|
|
62696
|
+
* @param {!jspb.BinaryWriter} writer
|
|
62697
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
62698
|
+
*/
|
|
62699
|
+
proto.game.DistinctGameTypesResponse.serializeBinaryToWriter = function(message, writer) {
|
|
62700
|
+
var f = undefined;
|
|
62701
|
+
f = message.getTypesList();
|
|
62702
|
+
if (f.length > 0) {
|
|
62703
|
+
writer.writeRepeatedString(
|
|
62704
|
+
1,
|
|
62705
|
+
f
|
|
62706
|
+
);
|
|
62707
|
+
}
|
|
62708
|
+
};
|
|
62709
|
+
|
|
62710
|
+
|
|
62711
|
+
/**
|
|
62712
|
+
* repeated string types = 1;
|
|
62713
|
+
* @return {!Array<string>}
|
|
62714
|
+
*/
|
|
62715
|
+
proto.game.DistinctGameTypesResponse.prototype.getTypesList = function() {
|
|
62716
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
62717
|
+
};
|
|
62718
|
+
|
|
62719
|
+
|
|
62720
|
+
/**
|
|
62721
|
+
* @param {!Array<string>} value
|
|
62722
|
+
* @return {!proto.game.DistinctGameTypesResponse} returns this
|
|
62723
|
+
*/
|
|
62724
|
+
proto.game.DistinctGameTypesResponse.prototype.setTypesList = function(value) {
|
|
62725
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
62726
|
+
};
|
|
62727
|
+
|
|
62728
|
+
|
|
62729
|
+
/**
|
|
62730
|
+
* @param {string} value
|
|
62731
|
+
* @param {number=} opt_index
|
|
62732
|
+
* @return {!proto.game.DistinctGameTypesResponse} returns this
|
|
62733
|
+
*/
|
|
62734
|
+
proto.game.DistinctGameTypesResponse.prototype.addTypes = function(value, opt_index) {
|
|
62735
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
62736
|
+
};
|
|
62737
|
+
|
|
62738
|
+
|
|
62739
|
+
/**
|
|
62740
|
+
* Clears the list making it empty but non-null.
|
|
62741
|
+
* @return {!proto.game.DistinctGameTypesResponse} returns this
|
|
62742
|
+
*/
|
|
62743
|
+
proto.game.DistinctGameTypesResponse.prototype.clearTypesList = function() {
|
|
62744
|
+
return this.setTypesList([]);
|
|
62745
|
+
};
|
|
62746
|
+
|
|
62747
|
+
|
|
62447
62748
|
/**
|
|
62448
62749
|
* @enum {number}
|
|
62449
62750
|
*/
|
package/loyalty/loyalty.proto
CHANGED
|
@@ -47,6 +47,7 @@ message LoyaltySearchRequest {
|
|
|
47
47
|
optional int32 number_of_deposit = 8;
|
|
48
48
|
optional int32 number_of_step = 9;
|
|
49
49
|
optional string locale = 10;
|
|
50
|
+
optional string currency = 11;
|
|
50
51
|
}
|
|
51
52
|
message ItemsBunchRequest {
|
|
52
53
|
repeated int32 ids = 1;
|
|
@@ -82,6 +83,10 @@ message LevelRewardTranslationItem {
|
|
|
82
83
|
string locale = 1;
|
|
83
84
|
string value = 2;
|
|
84
85
|
}
|
|
86
|
+
message LevelRewardCashback {
|
|
87
|
+
optional float percentage = 1;
|
|
88
|
+
optional string currency = 2;
|
|
89
|
+
}
|
|
85
90
|
message LevelRewardItem {
|
|
86
91
|
optional int32 id = 1;
|
|
87
92
|
string type = 2;
|
|
@@ -95,6 +100,7 @@ message LevelRewardItem {
|
|
|
95
100
|
optional string image_cdn = 10;
|
|
96
101
|
optional string amount = 11;
|
|
97
102
|
optional bool is_available = 12;
|
|
103
|
+
optional LevelRewardCashback cashback = 13;
|
|
98
104
|
}
|
|
99
105
|
message LevelRewardRequest {
|
|
100
106
|
string type = 1;
|
|
@@ -133,6 +139,7 @@ message GetLevelRequest {
|
|
|
133
139
|
int32 id = 1;
|
|
134
140
|
optional string locale = 2;
|
|
135
141
|
optional bool admin_side = 3;
|
|
142
|
+
optional string currency = 4;
|
|
136
143
|
}
|
|
137
144
|
message LevelTranslationRequest {
|
|
138
145
|
optional int32 loyalty_level_id = 1;
|
|
@@ -202,6 +209,10 @@ message WagerPoint {
|
|
|
202
209
|
optional int32 is_active = 3;
|
|
203
210
|
optional int32 is_real_balance_allowed = 4;
|
|
204
211
|
optional int32 is_bonus_balance_allowed = 5;
|
|
212
|
+
optional string scope = 6;
|
|
213
|
+
optional string game_type = 7;
|
|
214
|
+
optional int32 provider_id = 8;
|
|
215
|
+
repeated int32 game_ids = 9;
|
|
205
216
|
}
|
|
206
217
|
message PointItem {
|
|
207
218
|
optional int32 id = 1;
|
package/loyalty/loyalty_pb.js
CHANGED
|
@@ -36,6 +36,7 @@ goog.exportSymbol('proto.loyalty.LevelItemsResponse', null, global);
|
|
|
36
36
|
goog.exportSymbol('proto.loyalty.LevelRequest', null, global);
|
|
37
37
|
goog.exportSymbol('proto.loyalty.LevelRequest.RequestCase', null, global);
|
|
38
38
|
goog.exportSymbol('proto.loyalty.LevelResponse', null, global);
|
|
39
|
+
goog.exportSymbol('proto.loyalty.LevelRewardCashback', null, global);
|
|
39
40
|
goog.exportSymbol('proto.loyalty.LevelRewardItem', null, global);
|
|
40
41
|
goog.exportSymbol('proto.loyalty.LevelRewardRequest', null, global);
|
|
41
42
|
goog.exportSymbol('proto.loyalty.LevelRewardTranslationItem', null, global);
|
|
@@ -247,6 +248,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
247
248
|
*/
|
|
248
249
|
proto.loyalty.LevelRewardTranslationItem.displayName = 'proto.loyalty.LevelRewardTranslationItem';
|
|
249
250
|
}
|
|
251
|
+
/**
|
|
252
|
+
* Generated by JsPbCodeGenerator.
|
|
253
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
254
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
255
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
256
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
257
|
+
* valid.
|
|
258
|
+
* @extends {jspb.Message}
|
|
259
|
+
* @constructor
|
|
260
|
+
*/
|
|
261
|
+
proto.loyalty.LevelRewardCashback = function(opt_data) {
|
|
262
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
263
|
+
};
|
|
264
|
+
goog.inherits(proto.loyalty.LevelRewardCashback, jspb.Message);
|
|
265
|
+
if (goog.DEBUG && !COMPILED) {
|
|
266
|
+
/**
|
|
267
|
+
* @public
|
|
268
|
+
* @override
|
|
269
|
+
*/
|
|
270
|
+
proto.loyalty.LevelRewardCashback.displayName = 'proto.loyalty.LevelRewardCashback';
|
|
271
|
+
}
|
|
250
272
|
/**
|
|
251
273
|
* Generated by JsPbCodeGenerator.
|
|
252
274
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -594,7 +616,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
594
616
|
* @constructor
|
|
595
617
|
*/
|
|
596
618
|
proto.loyalty.WagerPoint = function(opt_data) {
|
|
597
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
619
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.loyalty.WagerPoint.repeatedFields_, null);
|
|
598
620
|
};
|
|
599
621
|
goog.inherits(proto.loyalty.WagerPoint, jspb.Message);
|
|
600
622
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -1477,7 +1499,8 @@ proto.loyalty.LoyaltySearchRequest.toObject = function(includeInstance, msg) {
|
|
|
1477
1499
|
currenciesList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f,
|
|
1478
1500
|
numberOfDeposit: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
1479
1501
|
numberOfStep: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
|
1480
|
-
locale: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
1502
|
+
locale: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
1503
|
+
currency: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
1481
1504
|
};
|
|
1482
1505
|
|
|
1483
1506
|
if (includeInstance) {
|
|
@@ -1554,6 +1577,10 @@ proto.loyalty.LoyaltySearchRequest.deserializeBinaryFromReader = function(msg, r
|
|
|
1554
1577
|
var value = /** @type {string} */ (reader.readString());
|
|
1555
1578
|
msg.setLocale(value);
|
|
1556
1579
|
break;
|
|
1580
|
+
case 11:
|
|
1581
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1582
|
+
msg.setCurrency(value);
|
|
1583
|
+
break;
|
|
1557
1584
|
default:
|
|
1558
1585
|
reader.skipField();
|
|
1559
1586
|
break;
|
|
@@ -1653,6 +1680,13 @@ proto.loyalty.LoyaltySearchRequest.serializeBinaryToWriter = function(message, w
|
|
|
1653
1680
|
f
|
|
1654
1681
|
);
|
|
1655
1682
|
}
|
|
1683
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 11));
|
|
1684
|
+
if (f != null) {
|
|
1685
|
+
writer.writeString(
|
|
1686
|
+
11,
|
|
1687
|
+
f
|
|
1688
|
+
);
|
|
1689
|
+
}
|
|
1656
1690
|
};
|
|
1657
1691
|
|
|
1658
1692
|
|
|
@@ -2018,6 +2052,42 @@ proto.loyalty.LoyaltySearchRequest.prototype.hasLocale = function() {
|
|
|
2018
2052
|
};
|
|
2019
2053
|
|
|
2020
2054
|
|
|
2055
|
+
/**
|
|
2056
|
+
* optional string currency = 11;
|
|
2057
|
+
* @return {string}
|
|
2058
|
+
*/
|
|
2059
|
+
proto.loyalty.LoyaltySearchRequest.prototype.getCurrency = function() {
|
|
2060
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
2061
|
+
};
|
|
2062
|
+
|
|
2063
|
+
|
|
2064
|
+
/**
|
|
2065
|
+
* @param {string} value
|
|
2066
|
+
* @return {!proto.loyalty.LoyaltySearchRequest} returns this
|
|
2067
|
+
*/
|
|
2068
|
+
proto.loyalty.LoyaltySearchRequest.prototype.setCurrency = function(value) {
|
|
2069
|
+
return jspb.Message.setField(this, 11, value);
|
|
2070
|
+
};
|
|
2071
|
+
|
|
2072
|
+
|
|
2073
|
+
/**
|
|
2074
|
+
* Clears the field making it undefined.
|
|
2075
|
+
* @return {!proto.loyalty.LoyaltySearchRequest} returns this
|
|
2076
|
+
*/
|
|
2077
|
+
proto.loyalty.LoyaltySearchRequest.prototype.clearCurrency = function() {
|
|
2078
|
+
return jspb.Message.setField(this, 11, undefined);
|
|
2079
|
+
};
|
|
2080
|
+
|
|
2081
|
+
|
|
2082
|
+
/**
|
|
2083
|
+
* Returns whether this field is set.
|
|
2084
|
+
* @return {boolean}
|
|
2085
|
+
*/
|
|
2086
|
+
proto.loyalty.LoyaltySearchRequest.prototype.hasCurrency = function() {
|
|
2087
|
+
return jspb.Message.getField(this, 11) != null;
|
|
2088
|
+
};
|
|
2089
|
+
|
|
2090
|
+
|
|
2021
2091
|
|
|
2022
2092
|
/**
|
|
2023
2093
|
* List of repeated fields within this message type.
|
|
@@ -3680,6 +3750,202 @@ proto.loyalty.LevelRewardTranslationItem.prototype.setValue = function(value) {
|
|
|
3680
3750
|
|
|
3681
3751
|
|
|
3682
3752
|
|
|
3753
|
+
|
|
3754
|
+
|
|
3755
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3756
|
+
/**
|
|
3757
|
+
* Creates an object representation of this proto.
|
|
3758
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3759
|
+
* Optional fields that are not set will be set to undefined.
|
|
3760
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3761
|
+
* For the list of reserved names please see:
|
|
3762
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3763
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3764
|
+
* JSPB instance for transitional soy proto support:
|
|
3765
|
+
* http://goto/soy-param-migration
|
|
3766
|
+
* @return {!Object}
|
|
3767
|
+
*/
|
|
3768
|
+
proto.loyalty.LevelRewardCashback.prototype.toObject = function(opt_includeInstance) {
|
|
3769
|
+
return proto.loyalty.LevelRewardCashback.toObject(opt_includeInstance, this);
|
|
3770
|
+
};
|
|
3771
|
+
|
|
3772
|
+
|
|
3773
|
+
/**
|
|
3774
|
+
* Static version of the {@see toObject} method.
|
|
3775
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3776
|
+
* the JSPB instance for transitional soy proto support:
|
|
3777
|
+
* http://goto/soy-param-migration
|
|
3778
|
+
* @param {!proto.loyalty.LevelRewardCashback} msg The msg instance to transform.
|
|
3779
|
+
* @return {!Object}
|
|
3780
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3781
|
+
*/
|
|
3782
|
+
proto.loyalty.LevelRewardCashback.toObject = function(includeInstance, msg) {
|
|
3783
|
+
var f, obj = {
|
|
3784
|
+
percentage: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0),
|
|
3785
|
+
currency: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
3786
|
+
};
|
|
3787
|
+
|
|
3788
|
+
if (includeInstance) {
|
|
3789
|
+
obj.$jspbMessageInstance = msg;
|
|
3790
|
+
}
|
|
3791
|
+
return obj;
|
|
3792
|
+
};
|
|
3793
|
+
}
|
|
3794
|
+
|
|
3795
|
+
|
|
3796
|
+
/**
|
|
3797
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3798
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3799
|
+
* @return {!proto.loyalty.LevelRewardCashback}
|
|
3800
|
+
*/
|
|
3801
|
+
proto.loyalty.LevelRewardCashback.deserializeBinary = function(bytes) {
|
|
3802
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3803
|
+
var msg = new proto.loyalty.LevelRewardCashback;
|
|
3804
|
+
return proto.loyalty.LevelRewardCashback.deserializeBinaryFromReader(msg, reader);
|
|
3805
|
+
};
|
|
3806
|
+
|
|
3807
|
+
|
|
3808
|
+
/**
|
|
3809
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3810
|
+
* given reader into the given message object.
|
|
3811
|
+
* @param {!proto.loyalty.LevelRewardCashback} msg The message object to deserialize into.
|
|
3812
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3813
|
+
* @return {!proto.loyalty.LevelRewardCashback}
|
|
3814
|
+
*/
|
|
3815
|
+
proto.loyalty.LevelRewardCashback.deserializeBinaryFromReader = function(msg, reader) {
|
|
3816
|
+
while (reader.nextField()) {
|
|
3817
|
+
if (reader.isEndGroup()) {
|
|
3818
|
+
break;
|
|
3819
|
+
}
|
|
3820
|
+
var field = reader.getFieldNumber();
|
|
3821
|
+
switch (field) {
|
|
3822
|
+
case 1:
|
|
3823
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
3824
|
+
msg.setPercentage(value);
|
|
3825
|
+
break;
|
|
3826
|
+
case 2:
|
|
3827
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3828
|
+
msg.setCurrency(value);
|
|
3829
|
+
break;
|
|
3830
|
+
default:
|
|
3831
|
+
reader.skipField();
|
|
3832
|
+
break;
|
|
3833
|
+
}
|
|
3834
|
+
}
|
|
3835
|
+
return msg;
|
|
3836
|
+
};
|
|
3837
|
+
|
|
3838
|
+
|
|
3839
|
+
/**
|
|
3840
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3841
|
+
* @return {!Uint8Array}
|
|
3842
|
+
*/
|
|
3843
|
+
proto.loyalty.LevelRewardCashback.prototype.serializeBinary = function() {
|
|
3844
|
+
var writer = new jspb.BinaryWriter();
|
|
3845
|
+
proto.loyalty.LevelRewardCashback.serializeBinaryToWriter(this, writer);
|
|
3846
|
+
return writer.getResultBuffer();
|
|
3847
|
+
};
|
|
3848
|
+
|
|
3849
|
+
|
|
3850
|
+
/**
|
|
3851
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3852
|
+
* format), writing to the given BinaryWriter.
|
|
3853
|
+
* @param {!proto.loyalty.LevelRewardCashback} message
|
|
3854
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3855
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3856
|
+
*/
|
|
3857
|
+
proto.loyalty.LevelRewardCashback.serializeBinaryToWriter = function(message, writer) {
|
|
3858
|
+
var f = undefined;
|
|
3859
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 1));
|
|
3860
|
+
if (f != null) {
|
|
3861
|
+
writer.writeFloat(
|
|
3862
|
+
1,
|
|
3863
|
+
f
|
|
3864
|
+
);
|
|
3865
|
+
}
|
|
3866
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
3867
|
+
if (f != null) {
|
|
3868
|
+
writer.writeString(
|
|
3869
|
+
2,
|
|
3870
|
+
f
|
|
3871
|
+
);
|
|
3872
|
+
}
|
|
3873
|
+
};
|
|
3874
|
+
|
|
3875
|
+
|
|
3876
|
+
/**
|
|
3877
|
+
* optional float percentage = 1;
|
|
3878
|
+
* @return {number}
|
|
3879
|
+
*/
|
|
3880
|
+
proto.loyalty.LevelRewardCashback.prototype.getPercentage = function() {
|
|
3881
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 1, 0.0));
|
|
3882
|
+
};
|
|
3883
|
+
|
|
3884
|
+
|
|
3885
|
+
/**
|
|
3886
|
+
* @param {number} value
|
|
3887
|
+
* @return {!proto.loyalty.LevelRewardCashback} returns this
|
|
3888
|
+
*/
|
|
3889
|
+
proto.loyalty.LevelRewardCashback.prototype.setPercentage = function(value) {
|
|
3890
|
+
return jspb.Message.setField(this, 1, value);
|
|
3891
|
+
};
|
|
3892
|
+
|
|
3893
|
+
|
|
3894
|
+
/**
|
|
3895
|
+
* Clears the field making it undefined.
|
|
3896
|
+
* @return {!proto.loyalty.LevelRewardCashback} returns this
|
|
3897
|
+
*/
|
|
3898
|
+
proto.loyalty.LevelRewardCashback.prototype.clearPercentage = function() {
|
|
3899
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
3900
|
+
};
|
|
3901
|
+
|
|
3902
|
+
|
|
3903
|
+
/**
|
|
3904
|
+
* Returns whether this field is set.
|
|
3905
|
+
* @return {boolean}
|
|
3906
|
+
*/
|
|
3907
|
+
proto.loyalty.LevelRewardCashback.prototype.hasPercentage = function() {
|
|
3908
|
+
return jspb.Message.getField(this, 1) != null;
|
|
3909
|
+
};
|
|
3910
|
+
|
|
3911
|
+
|
|
3912
|
+
/**
|
|
3913
|
+
* optional string currency = 2;
|
|
3914
|
+
* @return {string}
|
|
3915
|
+
*/
|
|
3916
|
+
proto.loyalty.LevelRewardCashback.prototype.getCurrency = function() {
|
|
3917
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
3918
|
+
};
|
|
3919
|
+
|
|
3920
|
+
|
|
3921
|
+
/**
|
|
3922
|
+
* @param {string} value
|
|
3923
|
+
* @return {!proto.loyalty.LevelRewardCashback} returns this
|
|
3924
|
+
*/
|
|
3925
|
+
proto.loyalty.LevelRewardCashback.prototype.setCurrency = function(value) {
|
|
3926
|
+
return jspb.Message.setField(this, 2, value);
|
|
3927
|
+
};
|
|
3928
|
+
|
|
3929
|
+
|
|
3930
|
+
/**
|
|
3931
|
+
* Clears the field making it undefined.
|
|
3932
|
+
* @return {!proto.loyalty.LevelRewardCashback} returns this
|
|
3933
|
+
*/
|
|
3934
|
+
proto.loyalty.LevelRewardCashback.prototype.clearCurrency = function() {
|
|
3935
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
3936
|
+
};
|
|
3937
|
+
|
|
3938
|
+
|
|
3939
|
+
/**
|
|
3940
|
+
* Returns whether this field is set.
|
|
3941
|
+
* @return {boolean}
|
|
3942
|
+
*/
|
|
3943
|
+
proto.loyalty.LevelRewardCashback.prototype.hasCurrency = function() {
|
|
3944
|
+
return jspb.Message.getField(this, 2) != null;
|
|
3945
|
+
};
|
|
3946
|
+
|
|
3947
|
+
|
|
3948
|
+
|
|
3683
3949
|
/**
|
|
3684
3950
|
* List of repeated fields within this message type.
|
|
3685
3951
|
* @private {!Array<number>}
|
|
@@ -3730,7 +3996,8 @@ proto.loyalty.LevelRewardItem.toObject = function(includeInstance, msg) {
|
|
|
3730
3996
|
image: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
3731
3997
|
imageCdn: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
3732
3998
|
amount: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
3733
|
-
isAvailable: jspb.Message.getBooleanFieldWithDefault(msg, 12, false)
|
|
3999
|
+
isAvailable: jspb.Message.getBooleanFieldWithDefault(msg, 12, false),
|
|
4000
|
+
cashback: (f = msg.getCashback()) && proto.loyalty.LevelRewardCashback.toObject(includeInstance, f)
|
|
3734
4001
|
};
|
|
3735
4002
|
|
|
3736
4003
|
if (includeInstance) {
|
|
@@ -3816,6 +4083,11 @@ proto.loyalty.LevelRewardItem.deserializeBinaryFromReader = function(msg, reader
|
|
|
3816
4083
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
3817
4084
|
msg.setIsAvailable(value);
|
|
3818
4085
|
break;
|
|
4086
|
+
case 13:
|
|
4087
|
+
var value = new proto.loyalty.LevelRewardCashback;
|
|
4088
|
+
reader.readMessage(value,proto.loyalty.LevelRewardCashback.deserializeBinaryFromReader);
|
|
4089
|
+
msg.setCashback(value);
|
|
4090
|
+
break;
|
|
3819
4091
|
default:
|
|
3820
4092
|
reader.skipField();
|
|
3821
4093
|
break;
|
|
@@ -3930,6 +4202,14 @@ proto.loyalty.LevelRewardItem.serializeBinaryToWriter = function(message, writer
|
|
|
3930
4202
|
f
|
|
3931
4203
|
);
|
|
3932
4204
|
}
|
|
4205
|
+
f = message.getCashback();
|
|
4206
|
+
if (f != null) {
|
|
4207
|
+
writer.writeMessage(
|
|
4208
|
+
13,
|
|
4209
|
+
f,
|
|
4210
|
+
proto.loyalty.LevelRewardCashback.serializeBinaryToWriter
|
|
4211
|
+
);
|
|
4212
|
+
}
|
|
3933
4213
|
};
|
|
3934
4214
|
|
|
3935
4215
|
|
|
@@ -4331,6 +4611,43 @@ proto.loyalty.LevelRewardItem.prototype.hasIsAvailable = function() {
|
|
|
4331
4611
|
};
|
|
4332
4612
|
|
|
4333
4613
|
|
|
4614
|
+
/**
|
|
4615
|
+
* optional LevelRewardCashback cashback = 13;
|
|
4616
|
+
* @return {?proto.loyalty.LevelRewardCashback}
|
|
4617
|
+
*/
|
|
4618
|
+
proto.loyalty.LevelRewardItem.prototype.getCashback = function() {
|
|
4619
|
+
return /** @type{?proto.loyalty.LevelRewardCashback} */ (
|
|
4620
|
+
jspb.Message.getWrapperField(this, proto.loyalty.LevelRewardCashback, 13));
|
|
4621
|
+
};
|
|
4622
|
+
|
|
4623
|
+
|
|
4624
|
+
/**
|
|
4625
|
+
* @param {?proto.loyalty.LevelRewardCashback|undefined} value
|
|
4626
|
+
* @return {!proto.loyalty.LevelRewardItem} returns this
|
|
4627
|
+
*/
|
|
4628
|
+
proto.loyalty.LevelRewardItem.prototype.setCashback = function(value) {
|
|
4629
|
+
return jspb.Message.setWrapperField(this, 13, value);
|
|
4630
|
+
};
|
|
4631
|
+
|
|
4632
|
+
|
|
4633
|
+
/**
|
|
4634
|
+
* Clears the message field making it undefined.
|
|
4635
|
+
* @return {!proto.loyalty.LevelRewardItem} returns this
|
|
4636
|
+
*/
|
|
4637
|
+
proto.loyalty.LevelRewardItem.prototype.clearCashback = function() {
|
|
4638
|
+
return this.setCashback(undefined);
|
|
4639
|
+
};
|
|
4640
|
+
|
|
4641
|
+
|
|
4642
|
+
/**
|
|
4643
|
+
* Returns whether this field is set.
|
|
4644
|
+
* @return {boolean}
|
|
4645
|
+
*/
|
|
4646
|
+
proto.loyalty.LevelRewardItem.prototype.hasCashback = function() {
|
|
4647
|
+
return jspb.Message.getField(this, 13) != null;
|
|
4648
|
+
};
|
|
4649
|
+
|
|
4650
|
+
|
|
4334
4651
|
|
|
4335
4652
|
/**
|
|
4336
4653
|
* List of repeated fields within this message type.
|
|
@@ -5823,7 +6140,8 @@ proto.loyalty.GetLevelRequest.toObject = function(includeInstance, msg) {
|
|
|
5823
6140
|
var f, obj = {
|
|
5824
6141
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
5825
6142
|
locale: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
5826
|
-
adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
|
|
6143
|
+
adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
|
6144
|
+
currency: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
5827
6145
|
};
|
|
5828
6146
|
|
|
5829
6147
|
if (includeInstance) {
|
|
@@ -5872,6 +6190,10 @@ proto.loyalty.GetLevelRequest.deserializeBinaryFromReader = function(msg, reader
|
|
|
5872
6190
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
5873
6191
|
msg.setAdminSide(value);
|
|
5874
6192
|
break;
|
|
6193
|
+
case 4:
|
|
6194
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6195
|
+
msg.setCurrency(value);
|
|
6196
|
+
break;
|
|
5875
6197
|
default:
|
|
5876
6198
|
reader.skipField();
|
|
5877
6199
|
break;
|
|
@@ -5922,6 +6244,13 @@ proto.loyalty.GetLevelRequest.serializeBinaryToWriter = function(message, writer
|
|
|
5922
6244
|
f
|
|
5923
6245
|
);
|
|
5924
6246
|
}
|
|
6247
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
6248
|
+
if (f != null) {
|
|
6249
|
+
writer.writeString(
|
|
6250
|
+
4,
|
|
6251
|
+
f
|
|
6252
|
+
);
|
|
6253
|
+
}
|
|
5925
6254
|
};
|
|
5926
6255
|
|
|
5927
6256
|
|
|
@@ -6015,6 +6344,42 @@ proto.loyalty.GetLevelRequest.prototype.hasAdminSide = function() {
|
|
|
6015
6344
|
};
|
|
6016
6345
|
|
|
6017
6346
|
|
|
6347
|
+
/**
|
|
6348
|
+
* optional string currency = 4;
|
|
6349
|
+
* @return {string}
|
|
6350
|
+
*/
|
|
6351
|
+
proto.loyalty.GetLevelRequest.prototype.getCurrency = function() {
|
|
6352
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
6353
|
+
};
|
|
6354
|
+
|
|
6355
|
+
|
|
6356
|
+
/**
|
|
6357
|
+
* @param {string} value
|
|
6358
|
+
* @return {!proto.loyalty.GetLevelRequest} returns this
|
|
6359
|
+
*/
|
|
6360
|
+
proto.loyalty.GetLevelRequest.prototype.setCurrency = function(value) {
|
|
6361
|
+
return jspb.Message.setField(this, 4, value);
|
|
6362
|
+
};
|
|
6363
|
+
|
|
6364
|
+
|
|
6365
|
+
/**
|
|
6366
|
+
* Clears the field making it undefined.
|
|
6367
|
+
* @return {!proto.loyalty.GetLevelRequest} returns this
|
|
6368
|
+
*/
|
|
6369
|
+
proto.loyalty.GetLevelRequest.prototype.clearCurrency = function() {
|
|
6370
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
6371
|
+
};
|
|
6372
|
+
|
|
6373
|
+
|
|
6374
|
+
/**
|
|
6375
|
+
* Returns whether this field is set.
|
|
6376
|
+
* @return {boolean}
|
|
6377
|
+
*/
|
|
6378
|
+
proto.loyalty.GetLevelRequest.prototype.hasCurrency = function() {
|
|
6379
|
+
return jspb.Message.getField(this, 4) != null;
|
|
6380
|
+
};
|
|
6381
|
+
|
|
6382
|
+
|
|
6018
6383
|
|
|
6019
6384
|
|
|
6020
6385
|
|
|
@@ -8669,6 +9034,13 @@ proto.loyalty.BetPoint.prototype.hasIsBonusBalanceAllowed = function() {
|
|
|
8669
9034
|
|
|
8670
9035
|
|
|
8671
9036
|
|
|
9037
|
+
/**
|
|
9038
|
+
* List of repeated fields within this message type.
|
|
9039
|
+
* @private {!Array<number>}
|
|
9040
|
+
* @const
|
|
9041
|
+
*/
|
|
9042
|
+
proto.loyalty.WagerPoint.repeatedFields_ = [9];
|
|
9043
|
+
|
|
8672
9044
|
|
|
8673
9045
|
|
|
8674
9046
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -8704,7 +9076,11 @@ proto.loyalty.WagerPoint.toObject = function(includeInstance, msg) {
|
|
|
8704
9076
|
multiplier: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0),
|
|
8705
9077
|
isActive: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
8706
9078
|
isRealBalanceAllowed: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
8707
|
-
isBonusBalanceAllowed: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
9079
|
+
isBonusBalanceAllowed: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
9080
|
+
scope: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
9081
|
+
gameType: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
9082
|
+
providerId: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
9083
|
+
gameIdsList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f
|
|
8708
9084
|
};
|
|
8709
9085
|
|
|
8710
9086
|
if (includeInstance) {
|
|
@@ -8761,6 +9137,24 @@ proto.loyalty.WagerPoint.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
8761
9137
|
var value = /** @type {number} */ (reader.readInt32());
|
|
8762
9138
|
msg.setIsBonusBalanceAllowed(value);
|
|
8763
9139
|
break;
|
|
9140
|
+
case 6:
|
|
9141
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9142
|
+
msg.setScope(value);
|
|
9143
|
+
break;
|
|
9144
|
+
case 7:
|
|
9145
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9146
|
+
msg.setGameType(value);
|
|
9147
|
+
break;
|
|
9148
|
+
case 8:
|
|
9149
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
9150
|
+
msg.setProviderId(value);
|
|
9151
|
+
break;
|
|
9152
|
+
case 9:
|
|
9153
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
|
9154
|
+
for (var i = 0; i < values.length; i++) {
|
|
9155
|
+
msg.addGameIds(values[i]);
|
|
9156
|
+
}
|
|
9157
|
+
break;
|
|
8764
9158
|
default:
|
|
8765
9159
|
reader.skipField();
|
|
8766
9160
|
break;
|
|
@@ -8825,6 +9219,34 @@ proto.loyalty.WagerPoint.serializeBinaryToWriter = function(message, writer) {
|
|
|
8825
9219
|
f
|
|
8826
9220
|
);
|
|
8827
9221
|
}
|
|
9222
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
9223
|
+
if (f != null) {
|
|
9224
|
+
writer.writeString(
|
|
9225
|
+
6,
|
|
9226
|
+
f
|
|
9227
|
+
);
|
|
9228
|
+
}
|
|
9229
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
9230
|
+
if (f != null) {
|
|
9231
|
+
writer.writeString(
|
|
9232
|
+
7,
|
|
9233
|
+
f
|
|
9234
|
+
);
|
|
9235
|
+
}
|
|
9236
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 8));
|
|
9237
|
+
if (f != null) {
|
|
9238
|
+
writer.writeInt32(
|
|
9239
|
+
8,
|
|
9240
|
+
f
|
|
9241
|
+
);
|
|
9242
|
+
}
|
|
9243
|
+
f = message.getGameIdsList();
|
|
9244
|
+
if (f.length > 0) {
|
|
9245
|
+
writer.writePackedInt32(
|
|
9246
|
+
9,
|
|
9247
|
+
f
|
|
9248
|
+
);
|
|
9249
|
+
}
|
|
8828
9250
|
};
|
|
8829
9251
|
|
|
8830
9252
|
|
|
@@ -8972,6 +9394,151 @@ proto.loyalty.WagerPoint.prototype.hasIsBonusBalanceAllowed = function() {
|
|
|
8972
9394
|
};
|
|
8973
9395
|
|
|
8974
9396
|
|
|
9397
|
+
/**
|
|
9398
|
+
* optional string scope = 6;
|
|
9399
|
+
* @return {string}
|
|
9400
|
+
*/
|
|
9401
|
+
proto.loyalty.WagerPoint.prototype.getScope = function() {
|
|
9402
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
9403
|
+
};
|
|
9404
|
+
|
|
9405
|
+
|
|
9406
|
+
/**
|
|
9407
|
+
* @param {string} value
|
|
9408
|
+
* @return {!proto.loyalty.WagerPoint} returns this
|
|
9409
|
+
*/
|
|
9410
|
+
proto.loyalty.WagerPoint.prototype.setScope = function(value) {
|
|
9411
|
+
return jspb.Message.setField(this, 6, value);
|
|
9412
|
+
};
|
|
9413
|
+
|
|
9414
|
+
|
|
9415
|
+
/**
|
|
9416
|
+
* Clears the field making it undefined.
|
|
9417
|
+
* @return {!proto.loyalty.WagerPoint} returns this
|
|
9418
|
+
*/
|
|
9419
|
+
proto.loyalty.WagerPoint.prototype.clearScope = function() {
|
|
9420
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
9421
|
+
};
|
|
9422
|
+
|
|
9423
|
+
|
|
9424
|
+
/**
|
|
9425
|
+
* Returns whether this field is set.
|
|
9426
|
+
* @return {boolean}
|
|
9427
|
+
*/
|
|
9428
|
+
proto.loyalty.WagerPoint.prototype.hasScope = function() {
|
|
9429
|
+
return jspb.Message.getField(this, 6) != null;
|
|
9430
|
+
};
|
|
9431
|
+
|
|
9432
|
+
|
|
9433
|
+
/**
|
|
9434
|
+
* optional string game_type = 7;
|
|
9435
|
+
* @return {string}
|
|
9436
|
+
*/
|
|
9437
|
+
proto.loyalty.WagerPoint.prototype.getGameType = function() {
|
|
9438
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
9439
|
+
};
|
|
9440
|
+
|
|
9441
|
+
|
|
9442
|
+
/**
|
|
9443
|
+
* @param {string} value
|
|
9444
|
+
* @return {!proto.loyalty.WagerPoint} returns this
|
|
9445
|
+
*/
|
|
9446
|
+
proto.loyalty.WagerPoint.prototype.setGameType = function(value) {
|
|
9447
|
+
return jspb.Message.setField(this, 7, value);
|
|
9448
|
+
};
|
|
9449
|
+
|
|
9450
|
+
|
|
9451
|
+
/**
|
|
9452
|
+
* Clears the field making it undefined.
|
|
9453
|
+
* @return {!proto.loyalty.WagerPoint} returns this
|
|
9454
|
+
*/
|
|
9455
|
+
proto.loyalty.WagerPoint.prototype.clearGameType = function() {
|
|
9456
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
9457
|
+
};
|
|
9458
|
+
|
|
9459
|
+
|
|
9460
|
+
/**
|
|
9461
|
+
* Returns whether this field is set.
|
|
9462
|
+
* @return {boolean}
|
|
9463
|
+
*/
|
|
9464
|
+
proto.loyalty.WagerPoint.prototype.hasGameType = function() {
|
|
9465
|
+
return jspb.Message.getField(this, 7) != null;
|
|
9466
|
+
};
|
|
9467
|
+
|
|
9468
|
+
|
|
9469
|
+
/**
|
|
9470
|
+
* optional int32 provider_id = 8;
|
|
9471
|
+
* @return {number}
|
|
9472
|
+
*/
|
|
9473
|
+
proto.loyalty.WagerPoint.prototype.getProviderId = function() {
|
|
9474
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
9475
|
+
};
|
|
9476
|
+
|
|
9477
|
+
|
|
9478
|
+
/**
|
|
9479
|
+
* @param {number} value
|
|
9480
|
+
* @return {!proto.loyalty.WagerPoint} returns this
|
|
9481
|
+
*/
|
|
9482
|
+
proto.loyalty.WagerPoint.prototype.setProviderId = function(value) {
|
|
9483
|
+
return jspb.Message.setField(this, 8, value);
|
|
9484
|
+
};
|
|
9485
|
+
|
|
9486
|
+
|
|
9487
|
+
/**
|
|
9488
|
+
* Clears the field making it undefined.
|
|
9489
|
+
* @return {!proto.loyalty.WagerPoint} returns this
|
|
9490
|
+
*/
|
|
9491
|
+
proto.loyalty.WagerPoint.prototype.clearProviderId = function() {
|
|
9492
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
9493
|
+
};
|
|
9494
|
+
|
|
9495
|
+
|
|
9496
|
+
/**
|
|
9497
|
+
* Returns whether this field is set.
|
|
9498
|
+
* @return {boolean}
|
|
9499
|
+
*/
|
|
9500
|
+
proto.loyalty.WagerPoint.prototype.hasProviderId = function() {
|
|
9501
|
+
return jspb.Message.getField(this, 8) != null;
|
|
9502
|
+
};
|
|
9503
|
+
|
|
9504
|
+
|
|
9505
|
+
/**
|
|
9506
|
+
* repeated int32 game_ids = 9;
|
|
9507
|
+
* @return {!Array<number>}
|
|
9508
|
+
*/
|
|
9509
|
+
proto.loyalty.WagerPoint.prototype.getGameIdsList = function() {
|
|
9510
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 9));
|
|
9511
|
+
};
|
|
9512
|
+
|
|
9513
|
+
|
|
9514
|
+
/**
|
|
9515
|
+
* @param {!Array<number>} value
|
|
9516
|
+
* @return {!proto.loyalty.WagerPoint} returns this
|
|
9517
|
+
*/
|
|
9518
|
+
proto.loyalty.WagerPoint.prototype.setGameIdsList = function(value) {
|
|
9519
|
+
return jspb.Message.setField(this, 9, value || []);
|
|
9520
|
+
};
|
|
9521
|
+
|
|
9522
|
+
|
|
9523
|
+
/**
|
|
9524
|
+
* @param {number} value
|
|
9525
|
+
* @param {number=} opt_index
|
|
9526
|
+
* @return {!proto.loyalty.WagerPoint} returns this
|
|
9527
|
+
*/
|
|
9528
|
+
proto.loyalty.WagerPoint.prototype.addGameIds = function(value, opt_index) {
|
|
9529
|
+
return jspb.Message.addToRepeatedField(this, 9, value, opt_index);
|
|
9530
|
+
};
|
|
9531
|
+
|
|
9532
|
+
|
|
9533
|
+
/**
|
|
9534
|
+
* Clears the list making it empty but non-null.
|
|
9535
|
+
* @return {!proto.loyalty.WagerPoint} returns this
|
|
9536
|
+
*/
|
|
9537
|
+
proto.loyalty.WagerPoint.prototype.clearGameIdsList = function() {
|
|
9538
|
+
return this.setGameIdsList([]);
|
|
9539
|
+
};
|
|
9540
|
+
|
|
9541
|
+
|
|
8975
9542
|
|
|
8976
9543
|
|
|
8977
9544
|
|