protobuf-platform 1.1.29 → 1.1.31
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/analytic/analytic.proto +6 -2
- package/analytic/analytic_pb.js +245 -15
- package/game/game.proto +7 -0
- package/game/game_grpc_pb.js +33 -0
- package/game/game_pb.js +362 -0
- package/package.json +1 -1
package/analytic/analytic.proto
CHANGED
@@ -95,7 +95,7 @@ message DepositsResponse {
|
|
95
95
|
}
|
96
96
|
//Games
|
97
97
|
message GameItem {
|
98
|
-
string date = 1;
|
98
|
+
optional string date = 1;
|
99
99
|
optional string game_title = 2;
|
100
100
|
optional string game_slug = 3;
|
101
101
|
optional string provider_title = 4;
|
@@ -118,8 +118,12 @@ message GameItem {
|
|
118
118
|
optional string game_image = 21;
|
119
119
|
optional string provider_image = 22;
|
120
120
|
}
|
121
|
+
message GameItemWrapper {
|
122
|
+
string date = 1;
|
123
|
+
repeated GameItem items = 2;
|
124
|
+
}
|
121
125
|
message GamesResponse {
|
122
|
-
repeated
|
126
|
+
repeated GameItemWrapper items = 1;
|
123
127
|
optional int32 total_pages = 2;
|
124
128
|
optional int32 total_items = 3;
|
125
129
|
}
|
package/analytic/analytic_pb.js
CHANGED
@@ -24,6 +24,7 @@ var global = (function() {
|
|
24
24
|
goog.exportSymbol('proto.analytic.DepositItem', null, global);
|
25
25
|
goog.exportSymbol('proto.analytic.DepositsResponse', null, global);
|
26
26
|
goog.exportSymbol('proto.analytic.GameItem', null, global);
|
27
|
+
goog.exportSymbol('proto.analytic.GameItemWrapper', null, global);
|
27
28
|
goog.exportSymbol('proto.analytic.GamesResponse', null, global);
|
28
29
|
goog.exportSymbol('proto.analytic.GlobalCasinoItem', null, global);
|
29
30
|
goog.exportSymbol('proto.analytic.GlobalCasinoResponse', null, global);
|
@@ -264,6 +265,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
264
265
|
*/
|
265
266
|
proto.analytic.GameItem.displayName = 'proto.analytic.GameItem';
|
266
267
|
}
|
268
|
+
/**
|
269
|
+
* Generated by JsPbCodeGenerator.
|
270
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
271
|
+
* server response, or constructed directly in Javascript. The array is used
|
272
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
273
|
+
* If no data is provided, the constructed object will be empty, but still
|
274
|
+
* valid.
|
275
|
+
* @extends {jspb.Message}
|
276
|
+
* @constructor
|
277
|
+
*/
|
278
|
+
proto.analytic.GameItemWrapper = function(opt_data) {
|
279
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.analytic.GameItemWrapper.repeatedFields_, null);
|
280
|
+
};
|
281
|
+
goog.inherits(proto.analytic.GameItemWrapper, jspb.Message);
|
282
|
+
if (goog.DEBUG && !COMPILED) {
|
283
|
+
/**
|
284
|
+
* @public
|
285
|
+
* @override
|
286
|
+
*/
|
287
|
+
proto.analytic.GameItemWrapper.displayName = 'proto.analytic.GameItemWrapper';
|
288
|
+
}
|
267
289
|
/**
|
268
290
|
* Generated by JsPbCodeGenerator.
|
269
291
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
@@ -4477,8 +4499,8 @@ proto.analytic.GameItem.prototype.serializeBinary = function() {
|
|
4477
4499
|
*/
|
4478
4500
|
proto.analytic.GameItem.serializeBinaryToWriter = function(message, writer) {
|
4479
4501
|
var f = undefined;
|
4480
|
-
f =
|
4481
|
-
if (f
|
4502
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 1));
|
4503
|
+
if (f != null) {
|
4482
4504
|
writer.writeString(
|
4483
4505
|
1,
|
4484
4506
|
f
|
@@ -4648,7 +4670,25 @@ proto.analytic.GameItem.prototype.getDate = function() {
|
|
4648
4670
|
* @return {!proto.analytic.GameItem} returns this
|
4649
4671
|
*/
|
4650
4672
|
proto.analytic.GameItem.prototype.setDate = function(value) {
|
4651
|
-
return jspb.Message.
|
4673
|
+
return jspb.Message.setField(this, 1, value);
|
4674
|
+
};
|
4675
|
+
|
4676
|
+
|
4677
|
+
/**
|
4678
|
+
* Clears the field making it undefined.
|
4679
|
+
* @return {!proto.analytic.GameItem} returns this
|
4680
|
+
*/
|
4681
|
+
proto.analytic.GameItem.prototype.clearDate = function() {
|
4682
|
+
return jspb.Message.setField(this, 1, undefined);
|
4683
|
+
};
|
4684
|
+
|
4685
|
+
|
4686
|
+
/**
|
4687
|
+
* Returns whether this field is set.
|
4688
|
+
* @return {boolean}
|
4689
|
+
*/
|
4690
|
+
proto.analytic.GameItem.prototype.hasDate = function() {
|
4691
|
+
return jspb.Message.getField(this, 1) != null;
|
4652
4692
|
};
|
4653
4693
|
|
4654
4694
|
|
@@ -5409,6 +5449,196 @@ proto.analytic.GameItem.prototype.hasProviderImage = function() {
|
|
5409
5449
|
|
5410
5450
|
|
5411
5451
|
|
5452
|
+
/**
|
5453
|
+
* List of repeated fields within this message type.
|
5454
|
+
* @private {!Array<number>}
|
5455
|
+
* @const
|
5456
|
+
*/
|
5457
|
+
proto.analytic.GameItemWrapper.repeatedFields_ = [2];
|
5458
|
+
|
5459
|
+
|
5460
|
+
|
5461
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
5462
|
+
/**
|
5463
|
+
* Creates an object representation of this proto.
|
5464
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
5465
|
+
* Optional fields that are not set will be set to undefined.
|
5466
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
5467
|
+
* For the list of reserved names please see:
|
5468
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
5469
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
5470
|
+
* JSPB instance for transitional soy proto support:
|
5471
|
+
* http://goto/soy-param-migration
|
5472
|
+
* @return {!Object}
|
5473
|
+
*/
|
5474
|
+
proto.analytic.GameItemWrapper.prototype.toObject = function(opt_includeInstance) {
|
5475
|
+
return proto.analytic.GameItemWrapper.toObject(opt_includeInstance, this);
|
5476
|
+
};
|
5477
|
+
|
5478
|
+
|
5479
|
+
/**
|
5480
|
+
* Static version of the {@see toObject} method.
|
5481
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
5482
|
+
* the JSPB instance for transitional soy proto support:
|
5483
|
+
* http://goto/soy-param-migration
|
5484
|
+
* @param {!proto.analytic.GameItemWrapper} msg The msg instance to transform.
|
5485
|
+
* @return {!Object}
|
5486
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
5487
|
+
*/
|
5488
|
+
proto.analytic.GameItemWrapper.toObject = function(includeInstance, msg) {
|
5489
|
+
var f, obj = {
|
5490
|
+
date: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
5491
|
+
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
5492
|
+
proto.analytic.GameItem.toObject, includeInstance)
|
5493
|
+
};
|
5494
|
+
|
5495
|
+
if (includeInstance) {
|
5496
|
+
obj.$jspbMessageInstance = msg;
|
5497
|
+
}
|
5498
|
+
return obj;
|
5499
|
+
};
|
5500
|
+
}
|
5501
|
+
|
5502
|
+
|
5503
|
+
/**
|
5504
|
+
* Deserializes binary data (in protobuf wire format).
|
5505
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
5506
|
+
* @return {!proto.analytic.GameItemWrapper}
|
5507
|
+
*/
|
5508
|
+
proto.analytic.GameItemWrapper.deserializeBinary = function(bytes) {
|
5509
|
+
var reader = new jspb.BinaryReader(bytes);
|
5510
|
+
var msg = new proto.analytic.GameItemWrapper;
|
5511
|
+
return proto.analytic.GameItemWrapper.deserializeBinaryFromReader(msg, reader);
|
5512
|
+
};
|
5513
|
+
|
5514
|
+
|
5515
|
+
/**
|
5516
|
+
* Deserializes binary data (in protobuf wire format) from the
|
5517
|
+
* given reader into the given message object.
|
5518
|
+
* @param {!proto.analytic.GameItemWrapper} msg The message object to deserialize into.
|
5519
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
5520
|
+
* @return {!proto.analytic.GameItemWrapper}
|
5521
|
+
*/
|
5522
|
+
proto.analytic.GameItemWrapper.deserializeBinaryFromReader = function(msg, reader) {
|
5523
|
+
while (reader.nextField()) {
|
5524
|
+
if (reader.isEndGroup()) {
|
5525
|
+
break;
|
5526
|
+
}
|
5527
|
+
var field = reader.getFieldNumber();
|
5528
|
+
switch (field) {
|
5529
|
+
case 1:
|
5530
|
+
var value = /** @type {string} */ (reader.readString());
|
5531
|
+
msg.setDate(value);
|
5532
|
+
break;
|
5533
|
+
case 2:
|
5534
|
+
var value = new proto.analytic.GameItem;
|
5535
|
+
reader.readMessage(value,proto.analytic.GameItem.deserializeBinaryFromReader);
|
5536
|
+
msg.addItems(value);
|
5537
|
+
break;
|
5538
|
+
default:
|
5539
|
+
reader.skipField();
|
5540
|
+
break;
|
5541
|
+
}
|
5542
|
+
}
|
5543
|
+
return msg;
|
5544
|
+
};
|
5545
|
+
|
5546
|
+
|
5547
|
+
/**
|
5548
|
+
* Serializes the message to binary data (in protobuf wire format).
|
5549
|
+
* @return {!Uint8Array}
|
5550
|
+
*/
|
5551
|
+
proto.analytic.GameItemWrapper.prototype.serializeBinary = function() {
|
5552
|
+
var writer = new jspb.BinaryWriter();
|
5553
|
+
proto.analytic.GameItemWrapper.serializeBinaryToWriter(this, writer);
|
5554
|
+
return writer.getResultBuffer();
|
5555
|
+
};
|
5556
|
+
|
5557
|
+
|
5558
|
+
/**
|
5559
|
+
* Serializes the given message to binary data (in protobuf wire
|
5560
|
+
* format), writing to the given BinaryWriter.
|
5561
|
+
* @param {!proto.analytic.GameItemWrapper} message
|
5562
|
+
* @param {!jspb.BinaryWriter} writer
|
5563
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
5564
|
+
*/
|
5565
|
+
proto.analytic.GameItemWrapper.serializeBinaryToWriter = function(message, writer) {
|
5566
|
+
var f = undefined;
|
5567
|
+
f = message.getDate();
|
5568
|
+
if (f.length > 0) {
|
5569
|
+
writer.writeString(
|
5570
|
+
1,
|
5571
|
+
f
|
5572
|
+
);
|
5573
|
+
}
|
5574
|
+
f = message.getItemsList();
|
5575
|
+
if (f.length > 0) {
|
5576
|
+
writer.writeRepeatedMessage(
|
5577
|
+
2,
|
5578
|
+
f,
|
5579
|
+
proto.analytic.GameItem.serializeBinaryToWriter
|
5580
|
+
);
|
5581
|
+
}
|
5582
|
+
};
|
5583
|
+
|
5584
|
+
|
5585
|
+
/**
|
5586
|
+
* optional string date = 1;
|
5587
|
+
* @return {string}
|
5588
|
+
*/
|
5589
|
+
proto.analytic.GameItemWrapper.prototype.getDate = function() {
|
5590
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
5591
|
+
};
|
5592
|
+
|
5593
|
+
|
5594
|
+
/**
|
5595
|
+
* @param {string} value
|
5596
|
+
* @return {!proto.analytic.GameItemWrapper} returns this
|
5597
|
+
*/
|
5598
|
+
proto.analytic.GameItemWrapper.prototype.setDate = function(value) {
|
5599
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
5600
|
+
};
|
5601
|
+
|
5602
|
+
|
5603
|
+
/**
|
5604
|
+
* repeated GameItem items = 2;
|
5605
|
+
* @return {!Array<!proto.analytic.GameItem>}
|
5606
|
+
*/
|
5607
|
+
proto.analytic.GameItemWrapper.prototype.getItemsList = function() {
|
5608
|
+
return /** @type{!Array<!proto.analytic.GameItem>} */ (
|
5609
|
+
jspb.Message.getRepeatedWrapperField(this, proto.analytic.GameItem, 2));
|
5610
|
+
};
|
5611
|
+
|
5612
|
+
|
5613
|
+
/**
|
5614
|
+
* @param {!Array<!proto.analytic.GameItem>} value
|
5615
|
+
* @return {!proto.analytic.GameItemWrapper} returns this
|
5616
|
+
*/
|
5617
|
+
proto.analytic.GameItemWrapper.prototype.setItemsList = function(value) {
|
5618
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
5619
|
+
};
|
5620
|
+
|
5621
|
+
|
5622
|
+
/**
|
5623
|
+
* @param {!proto.analytic.GameItem=} opt_value
|
5624
|
+
* @param {number=} opt_index
|
5625
|
+
* @return {!proto.analytic.GameItem}
|
5626
|
+
*/
|
5627
|
+
proto.analytic.GameItemWrapper.prototype.addItems = function(opt_value, opt_index) {
|
5628
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.analytic.GameItem, opt_index);
|
5629
|
+
};
|
5630
|
+
|
5631
|
+
|
5632
|
+
/**
|
5633
|
+
* Clears the list making it empty but non-null.
|
5634
|
+
* @return {!proto.analytic.GameItemWrapper} returns this
|
5635
|
+
*/
|
5636
|
+
proto.analytic.GameItemWrapper.prototype.clearItemsList = function() {
|
5637
|
+
return this.setItemsList([]);
|
5638
|
+
};
|
5639
|
+
|
5640
|
+
|
5641
|
+
|
5412
5642
|
/**
|
5413
5643
|
* List of repeated fields within this message type.
|
5414
5644
|
* @private {!Array<number>}
|
@@ -5448,7 +5678,7 @@ proto.analytic.GamesResponse.prototype.toObject = function(opt_includeInstance)
|
|
5448
5678
|
proto.analytic.GamesResponse.toObject = function(includeInstance, msg) {
|
5449
5679
|
var f, obj = {
|
5450
5680
|
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
5451
|
-
proto.analytic.
|
5681
|
+
proto.analytic.GameItemWrapper.toObject, includeInstance),
|
5452
5682
|
totalPages: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
5453
5683
|
totalItems: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
5454
5684
|
};
|
@@ -5488,8 +5718,8 @@ proto.analytic.GamesResponse.deserializeBinaryFromReader = function(msg, reader)
|
|
5488
5718
|
var field = reader.getFieldNumber();
|
5489
5719
|
switch (field) {
|
5490
5720
|
case 1:
|
5491
|
-
var value = new proto.analytic.
|
5492
|
-
reader.readMessage(value,proto.analytic.
|
5721
|
+
var value = new proto.analytic.GameItemWrapper;
|
5722
|
+
reader.readMessage(value,proto.analytic.GameItemWrapper.deserializeBinaryFromReader);
|
5493
5723
|
msg.addItems(value);
|
5494
5724
|
break;
|
5495
5725
|
case 2:
|
@@ -5534,7 +5764,7 @@ proto.analytic.GamesResponse.serializeBinaryToWriter = function(message, writer)
|
|
5534
5764
|
writer.writeRepeatedMessage(
|
5535
5765
|
1,
|
5536
5766
|
f,
|
5537
|
-
proto.analytic.
|
5767
|
+
proto.analytic.GameItemWrapper.serializeBinaryToWriter
|
5538
5768
|
);
|
5539
5769
|
}
|
5540
5770
|
f = /** @type {number} */ (jspb.Message.getField(message, 2));
|
@@ -5555,17 +5785,17 @@ proto.analytic.GamesResponse.serializeBinaryToWriter = function(message, writer)
|
|
5555
5785
|
|
5556
5786
|
|
5557
5787
|
/**
|
5558
|
-
* repeated
|
5559
|
-
* @return {!Array<!proto.analytic.
|
5788
|
+
* repeated GameItemWrapper items = 1;
|
5789
|
+
* @return {!Array<!proto.analytic.GameItemWrapper>}
|
5560
5790
|
*/
|
5561
5791
|
proto.analytic.GamesResponse.prototype.getItemsList = function() {
|
5562
|
-
return /** @type{!Array<!proto.analytic.
|
5563
|
-
jspb.Message.getRepeatedWrapperField(this, proto.analytic.
|
5792
|
+
return /** @type{!Array<!proto.analytic.GameItemWrapper>} */ (
|
5793
|
+
jspb.Message.getRepeatedWrapperField(this, proto.analytic.GameItemWrapper, 1));
|
5564
5794
|
};
|
5565
5795
|
|
5566
5796
|
|
5567
5797
|
/**
|
5568
|
-
* @param {!Array<!proto.analytic.
|
5798
|
+
* @param {!Array<!proto.analytic.GameItemWrapper>} value
|
5569
5799
|
* @return {!proto.analytic.GamesResponse} returns this
|
5570
5800
|
*/
|
5571
5801
|
proto.analytic.GamesResponse.prototype.setItemsList = function(value) {
|
@@ -5574,12 +5804,12 @@ proto.analytic.GamesResponse.prototype.setItemsList = function(value) {
|
|
5574
5804
|
|
5575
5805
|
|
5576
5806
|
/**
|
5577
|
-
* @param {!proto.analytic.
|
5807
|
+
* @param {!proto.analytic.GameItemWrapper=} opt_value
|
5578
5808
|
* @param {number=} opt_index
|
5579
|
-
* @return {!proto.analytic.
|
5809
|
+
* @return {!proto.analytic.GameItemWrapper}
|
5580
5810
|
*/
|
5581
5811
|
proto.analytic.GamesResponse.prototype.addItems = function(opt_value, opt_index) {
|
5582
|
-
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.analytic.
|
5812
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.analytic.GameItemWrapper, opt_index);
|
5583
5813
|
};
|
5584
5814
|
|
5585
5815
|
|
package/game/game.proto
CHANGED
@@ -68,6 +68,7 @@ service Game {
|
|
68
68
|
rpc getGamesByIds(GamesIds) returns (GamePoorItemsResponse);
|
69
69
|
rpc getGameScopesByIds(ScopeRequest) returns (ScopeResponse);
|
70
70
|
rpc getCounterScopes(ScopeRequest) returns (ScopeResponse);
|
71
|
+
rpc getProvidersByIds(ProvidersIds) returns (ProviderPoorItemsResponse);
|
71
72
|
//Wager lists
|
72
73
|
rpc readSingleWagerList(GetWagerListRequest) returns (WagerListResponse);
|
73
74
|
rpc createSingleWagerList(WagerListRequest) returns (WagerListResponse);
|
@@ -520,6 +521,12 @@ message TournamentGamesRequest {
|
|
520
521
|
int32 tournament_id = 1;
|
521
522
|
repeated int32 game_ids = 2;
|
522
523
|
}
|
524
|
+
message ProvidersIds {
|
525
|
+
repeated int32 ids = 1;
|
526
|
+
}
|
527
|
+
message ProviderPoorItemsResponse {
|
528
|
+
repeated ProviderItem items = 1;
|
529
|
+
}
|
523
530
|
//Free Spins
|
524
531
|
message FreeSpinSettingsRequest {
|
525
532
|
string game_uuid = 1;
|
package/game/game_grpc_pb.js
CHANGED
@@ -598,6 +598,17 @@ function deserialize_game_ProviderItemsResponse(buffer_arg) {
|
|
598
598
|
return game_pb.ProviderItemsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
599
599
|
}
|
600
600
|
|
601
|
+
function serialize_game_ProviderPoorItemsResponse(arg) {
|
602
|
+
if (!(arg instanceof game_pb.ProviderPoorItemsResponse)) {
|
603
|
+
throw new Error('Expected argument of type game.ProviderPoorItemsResponse');
|
604
|
+
}
|
605
|
+
return Buffer.from(arg.serializeBinary());
|
606
|
+
}
|
607
|
+
|
608
|
+
function deserialize_game_ProviderPoorItemsResponse(buffer_arg) {
|
609
|
+
return game_pb.ProviderPoorItemsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
610
|
+
}
|
611
|
+
|
601
612
|
function serialize_game_ProviderRequest(arg) {
|
602
613
|
if (!(arg instanceof game_pb.ProviderRequest)) {
|
603
614
|
throw new Error('Expected argument of type game.ProviderRequest');
|
@@ -631,6 +642,17 @@ function deserialize_game_ProviderStatusResponse(buffer_arg) {
|
|
631
642
|
return game_pb.ProviderStatusResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
632
643
|
}
|
633
644
|
|
645
|
+
function serialize_game_ProvidersIds(arg) {
|
646
|
+
if (!(arg instanceof game_pb.ProvidersIds)) {
|
647
|
+
throw new Error('Expected argument of type game.ProvidersIds');
|
648
|
+
}
|
649
|
+
return Buffer.from(arg.serializeBinary());
|
650
|
+
}
|
651
|
+
|
652
|
+
function deserialize_game_ProvidersIds(buffer_arg) {
|
653
|
+
return game_pb.ProvidersIds.deserializeBinary(new Uint8Array(buffer_arg));
|
654
|
+
}
|
655
|
+
|
634
656
|
function serialize_game_SEOInstanceRequest(arg) {
|
635
657
|
if (!(arg instanceof game_pb.SEOInstanceRequest)) {
|
636
658
|
throw new Error('Expected argument of type game.SEOInstanceRequest');
|
@@ -1499,6 +1521,17 @@ getGamesByUuids: {
|
|
1499
1521
|
responseSerialize: serialize_game_ScopeResponse,
|
1500
1522
|
responseDeserialize: deserialize_game_ScopeResponse,
|
1501
1523
|
},
|
1524
|
+
getProvidersByIds: {
|
1525
|
+
path: '/game.Game/getProvidersByIds',
|
1526
|
+
requestStream: false,
|
1527
|
+
responseStream: false,
|
1528
|
+
requestType: game_pb.ProvidersIds,
|
1529
|
+
responseType: game_pb.ProviderPoorItemsResponse,
|
1530
|
+
requestSerialize: serialize_game_ProvidersIds,
|
1531
|
+
requestDeserialize: deserialize_game_ProvidersIds,
|
1532
|
+
responseSerialize: serialize_game_ProviderPoorItemsResponse,
|
1533
|
+
responseDeserialize: deserialize_game_ProviderPoorItemsResponse,
|
1534
|
+
},
|
1502
1535
|
// Wager lists
|
1503
1536
|
readSingleWagerList: {
|
1504
1537
|
path: '/game.Game/readSingleWagerList',
|
package/game/game_pb.js
CHANGED
@@ -91,10 +91,12 @@ goog.exportSymbol('proto.game.PongResponse', null, global);
|
|
91
91
|
goog.exportSymbol('proto.game.ProviderItem', null, global);
|
92
92
|
goog.exportSymbol('proto.game.ProviderItemRequest', null, global);
|
93
93
|
goog.exportSymbol('proto.game.ProviderItemsResponse', null, global);
|
94
|
+
goog.exportSymbol('proto.game.ProviderPoorItemsResponse', null, global);
|
94
95
|
goog.exportSymbol('proto.game.ProviderRequest', null, global);
|
95
96
|
goog.exportSymbol('proto.game.ProviderRequest.RequestCase', null, global);
|
96
97
|
goog.exportSymbol('proto.game.ProviderResponse', null, global);
|
97
98
|
goog.exportSymbol('proto.game.ProviderStatusResponse', null, global);
|
99
|
+
goog.exportSymbol('proto.game.ProvidersIds', null, global);
|
98
100
|
goog.exportSymbol('proto.game.SEOAttribute', null, global);
|
99
101
|
goog.exportSymbol('proto.game.SEOInstanceRequest', null, global);
|
100
102
|
goog.exportSymbol('proto.game.SEOInstanceResponse', null, global);
|
@@ -1677,6 +1679,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
1677
1679
|
*/
|
1678
1680
|
proto.game.TournamentGamesRequest.displayName = 'proto.game.TournamentGamesRequest';
|
1679
1681
|
}
|
1682
|
+
/**
|
1683
|
+
* Generated by JsPbCodeGenerator.
|
1684
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
1685
|
+
* server response, or constructed directly in Javascript. The array is used
|
1686
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
1687
|
+
* If no data is provided, the constructed object will be empty, but still
|
1688
|
+
* valid.
|
1689
|
+
* @extends {jspb.Message}
|
1690
|
+
* @constructor
|
1691
|
+
*/
|
1692
|
+
proto.game.ProvidersIds = function(opt_data) {
|
1693
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.game.ProvidersIds.repeatedFields_, null);
|
1694
|
+
};
|
1695
|
+
goog.inherits(proto.game.ProvidersIds, jspb.Message);
|
1696
|
+
if (goog.DEBUG && !COMPILED) {
|
1697
|
+
/**
|
1698
|
+
* @public
|
1699
|
+
* @override
|
1700
|
+
*/
|
1701
|
+
proto.game.ProvidersIds.displayName = 'proto.game.ProvidersIds';
|
1702
|
+
}
|
1703
|
+
/**
|
1704
|
+
* Generated by JsPbCodeGenerator.
|
1705
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
1706
|
+
* server response, or constructed directly in Javascript. The array is used
|
1707
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
1708
|
+
* If no data is provided, the constructed object will be empty, but still
|
1709
|
+
* valid.
|
1710
|
+
* @extends {jspb.Message}
|
1711
|
+
* @constructor
|
1712
|
+
*/
|
1713
|
+
proto.game.ProviderPoorItemsResponse = function(opt_data) {
|
1714
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.game.ProviderPoorItemsResponse.repeatedFields_, null);
|
1715
|
+
};
|
1716
|
+
goog.inherits(proto.game.ProviderPoorItemsResponse, jspb.Message);
|
1717
|
+
if (goog.DEBUG && !COMPILED) {
|
1718
|
+
/**
|
1719
|
+
* @public
|
1720
|
+
* @override
|
1721
|
+
*/
|
1722
|
+
proto.game.ProviderPoorItemsResponse.displayName = 'proto.game.ProviderPoorItemsResponse';
|
1723
|
+
}
|
1680
1724
|
/**
|
1681
1725
|
* Generated by JsPbCodeGenerator.
|
1682
1726
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
@@ -21633,6 +21677,324 @@ proto.game.TournamentGamesRequest.prototype.clearGameIdsList = function() {
|
|
21633
21677
|
|
21634
21678
|
|
21635
21679
|
|
21680
|
+
/**
|
21681
|
+
* List of repeated fields within this message type.
|
21682
|
+
* @private {!Array<number>}
|
21683
|
+
* @const
|
21684
|
+
*/
|
21685
|
+
proto.game.ProvidersIds.repeatedFields_ = [1];
|
21686
|
+
|
21687
|
+
|
21688
|
+
|
21689
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
21690
|
+
/**
|
21691
|
+
* Creates an object representation of this proto.
|
21692
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
21693
|
+
* Optional fields that are not set will be set to undefined.
|
21694
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
21695
|
+
* For the list of reserved names please see:
|
21696
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
21697
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
21698
|
+
* JSPB instance for transitional soy proto support:
|
21699
|
+
* http://goto/soy-param-migration
|
21700
|
+
* @return {!Object}
|
21701
|
+
*/
|
21702
|
+
proto.game.ProvidersIds.prototype.toObject = function(opt_includeInstance) {
|
21703
|
+
return proto.game.ProvidersIds.toObject(opt_includeInstance, this);
|
21704
|
+
};
|
21705
|
+
|
21706
|
+
|
21707
|
+
/**
|
21708
|
+
* Static version of the {@see toObject} method.
|
21709
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
21710
|
+
* the JSPB instance for transitional soy proto support:
|
21711
|
+
* http://goto/soy-param-migration
|
21712
|
+
* @param {!proto.game.ProvidersIds} msg The msg instance to transform.
|
21713
|
+
* @return {!Object}
|
21714
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
21715
|
+
*/
|
21716
|
+
proto.game.ProvidersIds.toObject = function(includeInstance, msg) {
|
21717
|
+
var f, obj = {
|
21718
|
+
idsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
21719
|
+
};
|
21720
|
+
|
21721
|
+
if (includeInstance) {
|
21722
|
+
obj.$jspbMessageInstance = msg;
|
21723
|
+
}
|
21724
|
+
return obj;
|
21725
|
+
};
|
21726
|
+
}
|
21727
|
+
|
21728
|
+
|
21729
|
+
/**
|
21730
|
+
* Deserializes binary data (in protobuf wire format).
|
21731
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
21732
|
+
* @return {!proto.game.ProvidersIds}
|
21733
|
+
*/
|
21734
|
+
proto.game.ProvidersIds.deserializeBinary = function(bytes) {
|
21735
|
+
var reader = new jspb.BinaryReader(bytes);
|
21736
|
+
var msg = new proto.game.ProvidersIds;
|
21737
|
+
return proto.game.ProvidersIds.deserializeBinaryFromReader(msg, reader);
|
21738
|
+
};
|
21739
|
+
|
21740
|
+
|
21741
|
+
/**
|
21742
|
+
* Deserializes binary data (in protobuf wire format) from the
|
21743
|
+
* given reader into the given message object.
|
21744
|
+
* @param {!proto.game.ProvidersIds} msg The message object to deserialize into.
|
21745
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
21746
|
+
* @return {!proto.game.ProvidersIds}
|
21747
|
+
*/
|
21748
|
+
proto.game.ProvidersIds.deserializeBinaryFromReader = function(msg, reader) {
|
21749
|
+
while (reader.nextField()) {
|
21750
|
+
if (reader.isEndGroup()) {
|
21751
|
+
break;
|
21752
|
+
}
|
21753
|
+
var field = reader.getFieldNumber();
|
21754
|
+
switch (field) {
|
21755
|
+
case 1:
|
21756
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
21757
|
+
for (var i = 0; i < values.length; i++) {
|
21758
|
+
msg.addIds(values[i]);
|
21759
|
+
}
|
21760
|
+
break;
|
21761
|
+
default:
|
21762
|
+
reader.skipField();
|
21763
|
+
break;
|
21764
|
+
}
|
21765
|
+
}
|
21766
|
+
return msg;
|
21767
|
+
};
|
21768
|
+
|
21769
|
+
|
21770
|
+
/**
|
21771
|
+
* Serializes the message to binary data (in protobuf wire format).
|
21772
|
+
* @return {!Uint8Array}
|
21773
|
+
*/
|
21774
|
+
proto.game.ProvidersIds.prototype.serializeBinary = function() {
|
21775
|
+
var writer = new jspb.BinaryWriter();
|
21776
|
+
proto.game.ProvidersIds.serializeBinaryToWriter(this, writer);
|
21777
|
+
return writer.getResultBuffer();
|
21778
|
+
};
|
21779
|
+
|
21780
|
+
|
21781
|
+
/**
|
21782
|
+
* Serializes the given message to binary data (in protobuf wire
|
21783
|
+
* format), writing to the given BinaryWriter.
|
21784
|
+
* @param {!proto.game.ProvidersIds} message
|
21785
|
+
* @param {!jspb.BinaryWriter} writer
|
21786
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
21787
|
+
*/
|
21788
|
+
proto.game.ProvidersIds.serializeBinaryToWriter = function(message, writer) {
|
21789
|
+
var f = undefined;
|
21790
|
+
f = message.getIdsList();
|
21791
|
+
if (f.length > 0) {
|
21792
|
+
writer.writePackedInt32(
|
21793
|
+
1,
|
21794
|
+
f
|
21795
|
+
);
|
21796
|
+
}
|
21797
|
+
};
|
21798
|
+
|
21799
|
+
|
21800
|
+
/**
|
21801
|
+
* repeated int32 ids = 1;
|
21802
|
+
* @return {!Array<number>}
|
21803
|
+
*/
|
21804
|
+
proto.game.ProvidersIds.prototype.getIdsList = function() {
|
21805
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
|
21806
|
+
};
|
21807
|
+
|
21808
|
+
|
21809
|
+
/**
|
21810
|
+
* @param {!Array<number>} value
|
21811
|
+
* @return {!proto.game.ProvidersIds} returns this
|
21812
|
+
*/
|
21813
|
+
proto.game.ProvidersIds.prototype.setIdsList = function(value) {
|
21814
|
+
return jspb.Message.setField(this, 1, value || []);
|
21815
|
+
};
|
21816
|
+
|
21817
|
+
|
21818
|
+
/**
|
21819
|
+
* @param {number} value
|
21820
|
+
* @param {number=} opt_index
|
21821
|
+
* @return {!proto.game.ProvidersIds} returns this
|
21822
|
+
*/
|
21823
|
+
proto.game.ProvidersIds.prototype.addIds = function(value, opt_index) {
|
21824
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
21825
|
+
};
|
21826
|
+
|
21827
|
+
|
21828
|
+
/**
|
21829
|
+
* Clears the list making it empty but non-null.
|
21830
|
+
* @return {!proto.game.ProvidersIds} returns this
|
21831
|
+
*/
|
21832
|
+
proto.game.ProvidersIds.prototype.clearIdsList = function() {
|
21833
|
+
return this.setIdsList([]);
|
21834
|
+
};
|
21835
|
+
|
21836
|
+
|
21837
|
+
|
21838
|
+
/**
|
21839
|
+
* List of repeated fields within this message type.
|
21840
|
+
* @private {!Array<number>}
|
21841
|
+
* @const
|
21842
|
+
*/
|
21843
|
+
proto.game.ProviderPoorItemsResponse.repeatedFields_ = [1];
|
21844
|
+
|
21845
|
+
|
21846
|
+
|
21847
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
21848
|
+
/**
|
21849
|
+
* Creates an object representation of this proto.
|
21850
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
21851
|
+
* Optional fields that are not set will be set to undefined.
|
21852
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
21853
|
+
* For the list of reserved names please see:
|
21854
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
21855
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
21856
|
+
* JSPB instance for transitional soy proto support:
|
21857
|
+
* http://goto/soy-param-migration
|
21858
|
+
* @return {!Object}
|
21859
|
+
*/
|
21860
|
+
proto.game.ProviderPoorItemsResponse.prototype.toObject = function(opt_includeInstance) {
|
21861
|
+
return proto.game.ProviderPoorItemsResponse.toObject(opt_includeInstance, this);
|
21862
|
+
};
|
21863
|
+
|
21864
|
+
|
21865
|
+
/**
|
21866
|
+
* Static version of the {@see toObject} method.
|
21867
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
21868
|
+
* the JSPB instance for transitional soy proto support:
|
21869
|
+
* http://goto/soy-param-migration
|
21870
|
+
* @param {!proto.game.ProviderPoorItemsResponse} msg The msg instance to transform.
|
21871
|
+
* @return {!Object}
|
21872
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
21873
|
+
*/
|
21874
|
+
proto.game.ProviderPoorItemsResponse.toObject = function(includeInstance, msg) {
|
21875
|
+
var f, obj = {
|
21876
|
+
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
21877
|
+
proto.game.ProviderItem.toObject, includeInstance)
|
21878
|
+
};
|
21879
|
+
|
21880
|
+
if (includeInstance) {
|
21881
|
+
obj.$jspbMessageInstance = msg;
|
21882
|
+
}
|
21883
|
+
return obj;
|
21884
|
+
};
|
21885
|
+
}
|
21886
|
+
|
21887
|
+
|
21888
|
+
/**
|
21889
|
+
* Deserializes binary data (in protobuf wire format).
|
21890
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
21891
|
+
* @return {!proto.game.ProviderPoorItemsResponse}
|
21892
|
+
*/
|
21893
|
+
proto.game.ProviderPoorItemsResponse.deserializeBinary = function(bytes) {
|
21894
|
+
var reader = new jspb.BinaryReader(bytes);
|
21895
|
+
var msg = new proto.game.ProviderPoorItemsResponse;
|
21896
|
+
return proto.game.ProviderPoorItemsResponse.deserializeBinaryFromReader(msg, reader);
|
21897
|
+
};
|
21898
|
+
|
21899
|
+
|
21900
|
+
/**
|
21901
|
+
* Deserializes binary data (in protobuf wire format) from the
|
21902
|
+
* given reader into the given message object.
|
21903
|
+
* @param {!proto.game.ProviderPoorItemsResponse} msg The message object to deserialize into.
|
21904
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
21905
|
+
* @return {!proto.game.ProviderPoorItemsResponse}
|
21906
|
+
*/
|
21907
|
+
proto.game.ProviderPoorItemsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
21908
|
+
while (reader.nextField()) {
|
21909
|
+
if (reader.isEndGroup()) {
|
21910
|
+
break;
|
21911
|
+
}
|
21912
|
+
var field = reader.getFieldNumber();
|
21913
|
+
switch (field) {
|
21914
|
+
case 1:
|
21915
|
+
var value = new proto.game.ProviderItem;
|
21916
|
+
reader.readMessage(value,proto.game.ProviderItem.deserializeBinaryFromReader);
|
21917
|
+
msg.addItems(value);
|
21918
|
+
break;
|
21919
|
+
default:
|
21920
|
+
reader.skipField();
|
21921
|
+
break;
|
21922
|
+
}
|
21923
|
+
}
|
21924
|
+
return msg;
|
21925
|
+
};
|
21926
|
+
|
21927
|
+
|
21928
|
+
/**
|
21929
|
+
* Serializes the message to binary data (in protobuf wire format).
|
21930
|
+
* @return {!Uint8Array}
|
21931
|
+
*/
|
21932
|
+
proto.game.ProviderPoorItemsResponse.prototype.serializeBinary = function() {
|
21933
|
+
var writer = new jspb.BinaryWriter();
|
21934
|
+
proto.game.ProviderPoorItemsResponse.serializeBinaryToWriter(this, writer);
|
21935
|
+
return writer.getResultBuffer();
|
21936
|
+
};
|
21937
|
+
|
21938
|
+
|
21939
|
+
/**
|
21940
|
+
* Serializes the given message to binary data (in protobuf wire
|
21941
|
+
* format), writing to the given BinaryWriter.
|
21942
|
+
* @param {!proto.game.ProviderPoorItemsResponse} message
|
21943
|
+
* @param {!jspb.BinaryWriter} writer
|
21944
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
21945
|
+
*/
|
21946
|
+
proto.game.ProviderPoorItemsResponse.serializeBinaryToWriter = function(message, writer) {
|
21947
|
+
var f = undefined;
|
21948
|
+
f = message.getItemsList();
|
21949
|
+
if (f.length > 0) {
|
21950
|
+
writer.writeRepeatedMessage(
|
21951
|
+
1,
|
21952
|
+
f,
|
21953
|
+
proto.game.ProviderItem.serializeBinaryToWriter
|
21954
|
+
);
|
21955
|
+
}
|
21956
|
+
};
|
21957
|
+
|
21958
|
+
|
21959
|
+
/**
|
21960
|
+
* repeated ProviderItem items = 1;
|
21961
|
+
* @return {!Array<!proto.game.ProviderItem>}
|
21962
|
+
*/
|
21963
|
+
proto.game.ProviderPoorItemsResponse.prototype.getItemsList = function() {
|
21964
|
+
return /** @type{!Array<!proto.game.ProviderItem>} */ (
|
21965
|
+
jspb.Message.getRepeatedWrapperField(this, proto.game.ProviderItem, 1));
|
21966
|
+
};
|
21967
|
+
|
21968
|
+
|
21969
|
+
/**
|
21970
|
+
* @param {!Array<!proto.game.ProviderItem>} value
|
21971
|
+
* @return {!proto.game.ProviderPoorItemsResponse} returns this
|
21972
|
+
*/
|
21973
|
+
proto.game.ProviderPoorItemsResponse.prototype.setItemsList = function(value) {
|
21974
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
21975
|
+
};
|
21976
|
+
|
21977
|
+
|
21978
|
+
/**
|
21979
|
+
* @param {!proto.game.ProviderItem=} opt_value
|
21980
|
+
* @param {number=} opt_index
|
21981
|
+
* @return {!proto.game.ProviderItem}
|
21982
|
+
*/
|
21983
|
+
proto.game.ProviderPoorItemsResponse.prototype.addItems = function(opt_value, opt_index) {
|
21984
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.game.ProviderItem, opt_index);
|
21985
|
+
};
|
21986
|
+
|
21987
|
+
|
21988
|
+
/**
|
21989
|
+
* Clears the list making it empty but non-null.
|
21990
|
+
* @return {!proto.game.ProviderPoorItemsResponse} returns this
|
21991
|
+
*/
|
21992
|
+
proto.game.ProviderPoorItemsResponse.prototype.clearItemsList = function() {
|
21993
|
+
return this.setItemsList([]);
|
21994
|
+
};
|
21995
|
+
|
21996
|
+
|
21997
|
+
|
21636
21998
|
|
21637
21999
|
|
21638
22000
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|