protobuf-platform 1.2.649 → 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 +4 -0
- package/loyalty/loyalty_pb.js +204 -2
- 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
|
@@ -209,6 +209,10 @@ message WagerPoint {
|
|
|
209
209
|
optional int32 is_active = 3;
|
|
210
210
|
optional int32 is_real_balance_allowed = 4;
|
|
211
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;
|
|
212
216
|
}
|
|
213
217
|
message PointItem {
|
|
214
218
|
optional int32 id = 1;
|
package/loyalty/loyalty_pb.js
CHANGED
|
@@ -616,7 +616,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
616
616
|
* @constructor
|
|
617
617
|
*/
|
|
618
618
|
proto.loyalty.WagerPoint = function(opt_data) {
|
|
619
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
619
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.loyalty.WagerPoint.repeatedFields_, null);
|
|
620
620
|
};
|
|
621
621
|
goog.inherits(proto.loyalty.WagerPoint, jspb.Message);
|
|
622
622
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -9034,6 +9034,13 @@ proto.loyalty.BetPoint.prototype.hasIsBonusBalanceAllowed = function() {
|
|
|
9034
9034
|
|
|
9035
9035
|
|
|
9036
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
|
+
|
|
9037
9044
|
|
|
9038
9045
|
|
|
9039
9046
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -9069,7 +9076,11 @@ proto.loyalty.WagerPoint.toObject = function(includeInstance, msg) {
|
|
|
9069
9076
|
multiplier: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0),
|
|
9070
9077
|
isActive: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
9071
9078
|
isRealBalanceAllowed: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
9072
|
-
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
|
|
9073
9084
|
};
|
|
9074
9085
|
|
|
9075
9086
|
if (includeInstance) {
|
|
@@ -9126,6 +9137,24 @@ proto.loyalty.WagerPoint.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
9126
9137
|
var value = /** @type {number} */ (reader.readInt32());
|
|
9127
9138
|
msg.setIsBonusBalanceAllowed(value);
|
|
9128
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;
|
|
9129
9158
|
default:
|
|
9130
9159
|
reader.skipField();
|
|
9131
9160
|
break;
|
|
@@ -9190,6 +9219,34 @@ proto.loyalty.WagerPoint.serializeBinaryToWriter = function(message, writer) {
|
|
|
9190
9219
|
f
|
|
9191
9220
|
);
|
|
9192
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
|
+
}
|
|
9193
9250
|
};
|
|
9194
9251
|
|
|
9195
9252
|
|
|
@@ -9337,6 +9394,151 @@ proto.loyalty.WagerPoint.prototype.hasIsBonusBalanceAllowed = function() {
|
|
|
9337
9394
|
};
|
|
9338
9395
|
|
|
9339
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
|
+
|
|
9340
9542
|
|
|
9341
9543
|
|
|
9342
9544
|
|