protobuf-platform 1.1.29 → 1.1.30
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/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
|
|