protobuf-platform 1.2.40 → 1.2.42

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.
@@ -36,6 +36,12 @@ message DashboardResponse {
36
36
  optional int32 active_users_count = 1;
37
37
  optional int32 registrations_count = 2;
38
38
  optional int32 login_count = 3;
39
+ optional int32 ftd_count = 4;
40
+ optional float ftd_sum = 5;
41
+ optional int32 redep_count = 6;
42
+ optional float redep_sum = 7;
43
+ optional int32 dep_count = 8;
44
+ optional float dep_sum = 9;
39
45
  }
40
46
  //Global
41
47
  message GlobalCasinoItem {
@@ -1352,7 +1352,13 @@ proto.analytic.DashboardResponse.toObject = function(includeInstance, msg) {
1352
1352
  var f, obj = {
1353
1353
  activeUsersCount: jspb.Message.getFieldWithDefault(msg, 1, 0),
1354
1354
  registrationsCount: jspb.Message.getFieldWithDefault(msg, 2, 0),
1355
- loginCount: jspb.Message.getFieldWithDefault(msg, 3, 0)
1355
+ loginCount: jspb.Message.getFieldWithDefault(msg, 3, 0),
1356
+ ftdCount: jspb.Message.getFieldWithDefault(msg, 4, 0),
1357
+ ftdSum: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
1358
+ redepCount: jspb.Message.getFieldWithDefault(msg, 6, 0),
1359
+ redepSum: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
1360
+ depCount: jspb.Message.getFieldWithDefault(msg, 8, 0),
1361
+ depSum: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0)
1356
1362
  };
1357
1363
 
1358
1364
  if (includeInstance) {
@@ -1401,6 +1407,30 @@ proto.analytic.DashboardResponse.deserializeBinaryFromReader = function(msg, rea
1401
1407
  var value = /** @type {number} */ (reader.readInt32());
1402
1408
  msg.setLoginCount(value);
1403
1409
  break;
1410
+ case 4:
1411
+ var value = /** @type {number} */ (reader.readInt32());
1412
+ msg.setFtdCount(value);
1413
+ break;
1414
+ case 5:
1415
+ var value = /** @type {number} */ (reader.readFloat());
1416
+ msg.setFtdSum(value);
1417
+ break;
1418
+ case 6:
1419
+ var value = /** @type {number} */ (reader.readInt32());
1420
+ msg.setRedepCount(value);
1421
+ break;
1422
+ case 7:
1423
+ var value = /** @type {number} */ (reader.readFloat());
1424
+ msg.setRedepSum(value);
1425
+ break;
1426
+ case 8:
1427
+ var value = /** @type {number} */ (reader.readInt32());
1428
+ msg.setDepCount(value);
1429
+ break;
1430
+ case 9:
1431
+ var value = /** @type {number} */ (reader.readFloat());
1432
+ msg.setDepSum(value);
1433
+ break;
1404
1434
  default:
1405
1435
  reader.skipField();
1406
1436
  break;
@@ -1451,6 +1481,48 @@ proto.analytic.DashboardResponse.serializeBinaryToWriter = function(message, wri
1451
1481
  f
1452
1482
  );
1453
1483
  }
1484
+ f = /** @type {number} */ (jspb.Message.getField(message, 4));
1485
+ if (f != null) {
1486
+ writer.writeInt32(
1487
+ 4,
1488
+ f
1489
+ );
1490
+ }
1491
+ f = /** @type {number} */ (jspb.Message.getField(message, 5));
1492
+ if (f != null) {
1493
+ writer.writeFloat(
1494
+ 5,
1495
+ f
1496
+ );
1497
+ }
1498
+ f = /** @type {number} */ (jspb.Message.getField(message, 6));
1499
+ if (f != null) {
1500
+ writer.writeInt32(
1501
+ 6,
1502
+ f
1503
+ );
1504
+ }
1505
+ f = /** @type {number} */ (jspb.Message.getField(message, 7));
1506
+ if (f != null) {
1507
+ writer.writeFloat(
1508
+ 7,
1509
+ f
1510
+ );
1511
+ }
1512
+ f = /** @type {number} */ (jspb.Message.getField(message, 8));
1513
+ if (f != null) {
1514
+ writer.writeInt32(
1515
+ 8,
1516
+ f
1517
+ );
1518
+ }
1519
+ f = /** @type {number} */ (jspb.Message.getField(message, 9));
1520
+ if (f != null) {
1521
+ writer.writeFloat(
1522
+ 9,
1523
+ f
1524
+ );
1525
+ }
1454
1526
  };
1455
1527
 
1456
1528
 
@@ -1562,6 +1634,222 @@ proto.analytic.DashboardResponse.prototype.hasLoginCount = function() {
1562
1634
  };
1563
1635
 
1564
1636
 
1637
+ /**
1638
+ * optional int32 ftd_count = 4;
1639
+ * @return {number}
1640
+ */
1641
+ proto.analytic.DashboardResponse.prototype.getFtdCount = function() {
1642
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
1643
+ };
1644
+
1645
+
1646
+ /**
1647
+ * @param {number} value
1648
+ * @return {!proto.analytic.DashboardResponse} returns this
1649
+ */
1650
+ proto.analytic.DashboardResponse.prototype.setFtdCount = function(value) {
1651
+ return jspb.Message.setField(this, 4, value);
1652
+ };
1653
+
1654
+
1655
+ /**
1656
+ * Clears the field making it undefined.
1657
+ * @return {!proto.analytic.DashboardResponse} returns this
1658
+ */
1659
+ proto.analytic.DashboardResponse.prototype.clearFtdCount = function() {
1660
+ return jspb.Message.setField(this, 4, undefined);
1661
+ };
1662
+
1663
+
1664
+ /**
1665
+ * Returns whether this field is set.
1666
+ * @return {boolean}
1667
+ */
1668
+ proto.analytic.DashboardResponse.prototype.hasFtdCount = function() {
1669
+ return jspb.Message.getField(this, 4) != null;
1670
+ };
1671
+
1672
+
1673
+ /**
1674
+ * optional float ftd_sum = 5;
1675
+ * @return {number}
1676
+ */
1677
+ proto.analytic.DashboardResponse.prototype.getFtdSum = function() {
1678
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
1679
+ };
1680
+
1681
+
1682
+ /**
1683
+ * @param {number} value
1684
+ * @return {!proto.analytic.DashboardResponse} returns this
1685
+ */
1686
+ proto.analytic.DashboardResponse.prototype.setFtdSum = function(value) {
1687
+ return jspb.Message.setField(this, 5, value);
1688
+ };
1689
+
1690
+
1691
+ /**
1692
+ * Clears the field making it undefined.
1693
+ * @return {!proto.analytic.DashboardResponse} returns this
1694
+ */
1695
+ proto.analytic.DashboardResponse.prototype.clearFtdSum = function() {
1696
+ return jspb.Message.setField(this, 5, undefined);
1697
+ };
1698
+
1699
+
1700
+ /**
1701
+ * Returns whether this field is set.
1702
+ * @return {boolean}
1703
+ */
1704
+ proto.analytic.DashboardResponse.prototype.hasFtdSum = function() {
1705
+ return jspb.Message.getField(this, 5) != null;
1706
+ };
1707
+
1708
+
1709
+ /**
1710
+ * optional int32 redep_count = 6;
1711
+ * @return {number}
1712
+ */
1713
+ proto.analytic.DashboardResponse.prototype.getRedepCount = function() {
1714
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
1715
+ };
1716
+
1717
+
1718
+ /**
1719
+ * @param {number} value
1720
+ * @return {!proto.analytic.DashboardResponse} returns this
1721
+ */
1722
+ proto.analytic.DashboardResponse.prototype.setRedepCount = function(value) {
1723
+ return jspb.Message.setField(this, 6, value);
1724
+ };
1725
+
1726
+
1727
+ /**
1728
+ * Clears the field making it undefined.
1729
+ * @return {!proto.analytic.DashboardResponse} returns this
1730
+ */
1731
+ proto.analytic.DashboardResponse.prototype.clearRedepCount = function() {
1732
+ return jspb.Message.setField(this, 6, undefined);
1733
+ };
1734
+
1735
+
1736
+ /**
1737
+ * Returns whether this field is set.
1738
+ * @return {boolean}
1739
+ */
1740
+ proto.analytic.DashboardResponse.prototype.hasRedepCount = function() {
1741
+ return jspb.Message.getField(this, 6) != null;
1742
+ };
1743
+
1744
+
1745
+ /**
1746
+ * optional float redep_sum = 7;
1747
+ * @return {number}
1748
+ */
1749
+ proto.analytic.DashboardResponse.prototype.getRedepSum = function() {
1750
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0));
1751
+ };
1752
+
1753
+
1754
+ /**
1755
+ * @param {number} value
1756
+ * @return {!proto.analytic.DashboardResponse} returns this
1757
+ */
1758
+ proto.analytic.DashboardResponse.prototype.setRedepSum = function(value) {
1759
+ return jspb.Message.setField(this, 7, value);
1760
+ };
1761
+
1762
+
1763
+ /**
1764
+ * Clears the field making it undefined.
1765
+ * @return {!proto.analytic.DashboardResponse} returns this
1766
+ */
1767
+ proto.analytic.DashboardResponse.prototype.clearRedepSum = function() {
1768
+ return jspb.Message.setField(this, 7, undefined);
1769
+ };
1770
+
1771
+
1772
+ /**
1773
+ * Returns whether this field is set.
1774
+ * @return {boolean}
1775
+ */
1776
+ proto.analytic.DashboardResponse.prototype.hasRedepSum = function() {
1777
+ return jspb.Message.getField(this, 7) != null;
1778
+ };
1779
+
1780
+
1781
+ /**
1782
+ * optional int32 dep_count = 8;
1783
+ * @return {number}
1784
+ */
1785
+ proto.analytic.DashboardResponse.prototype.getDepCount = function() {
1786
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
1787
+ };
1788
+
1789
+
1790
+ /**
1791
+ * @param {number} value
1792
+ * @return {!proto.analytic.DashboardResponse} returns this
1793
+ */
1794
+ proto.analytic.DashboardResponse.prototype.setDepCount = function(value) {
1795
+ return jspb.Message.setField(this, 8, value);
1796
+ };
1797
+
1798
+
1799
+ /**
1800
+ * Clears the field making it undefined.
1801
+ * @return {!proto.analytic.DashboardResponse} returns this
1802
+ */
1803
+ proto.analytic.DashboardResponse.prototype.clearDepCount = function() {
1804
+ return jspb.Message.setField(this, 8, undefined);
1805
+ };
1806
+
1807
+
1808
+ /**
1809
+ * Returns whether this field is set.
1810
+ * @return {boolean}
1811
+ */
1812
+ proto.analytic.DashboardResponse.prototype.hasDepCount = function() {
1813
+ return jspb.Message.getField(this, 8) != null;
1814
+ };
1815
+
1816
+
1817
+ /**
1818
+ * optional float dep_sum = 9;
1819
+ * @return {number}
1820
+ */
1821
+ proto.analytic.DashboardResponse.prototype.getDepSum = function() {
1822
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 9, 0.0));
1823
+ };
1824
+
1825
+
1826
+ /**
1827
+ * @param {number} value
1828
+ * @return {!proto.analytic.DashboardResponse} returns this
1829
+ */
1830
+ proto.analytic.DashboardResponse.prototype.setDepSum = function(value) {
1831
+ return jspb.Message.setField(this, 9, value);
1832
+ };
1833
+
1834
+
1835
+ /**
1836
+ * Clears the field making it undefined.
1837
+ * @return {!proto.analytic.DashboardResponse} returns this
1838
+ */
1839
+ proto.analytic.DashboardResponse.prototype.clearDepSum = function() {
1840
+ return jspb.Message.setField(this, 9, undefined);
1841
+ };
1842
+
1843
+
1844
+ /**
1845
+ * Returns whether this field is set.
1846
+ * @return {boolean}
1847
+ */
1848
+ proto.analytic.DashboardResponse.prototype.hasDepSum = function() {
1849
+ return jspb.Message.getField(this, 9) != null;
1850
+ };
1851
+
1852
+
1565
1853
 
1566
1854
 
1567
1855
 
package/game/game.proto CHANGED
@@ -154,6 +154,7 @@ message TournamentSearchRequest {
154
154
  message ProviderSearchRequest {
155
155
  optional string provider_title = 1;
156
156
  optional int32 is_active = 2;
157
+ optional string geo = 3;
157
158
  }
158
159
  message CategorySearchRequest {
159
160
  optional string category_title = 1;
package/game/game_pb.js CHANGED
@@ -4999,7 +4999,8 @@ proto.game.ProviderSearchRequest.prototype.toObject = function(opt_includeInstan
4999
4999
  proto.game.ProviderSearchRequest.toObject = function(includeInstance, msg) {
5000
5000
  var f, obj = {
5001
5001
  providerTitle: jspb.Message.getFieldWithDefault(msg, 1, ""),
5002
- isActive: jspb.Message.getFieldWithDefault(msg, 2, 0)
5002
+ isActive: jspb.Message.getFieldWithDefault(msg, 2, 0),
5003
+ geo: jspb.Message.getFieldWithDefault(msg, 3, "")
5003
5004
  };
5004
5005
 
5005
5006
  if (includeInstance) {
@@ -5044,6 +5045,10 @@ proto.game.ProviderSearchRequest.deserializeBinaryFromReader = function(msg, rea
5044
5045
  var value = /** @type {number} */ (reader.readInt32());
5045
5046
  msg.setIsActive(value);
5046
5047
  break;
5048
+ case 3:
5049
+ var value = /** @type {string} */ (reader.readString());
5050
+ msg.setGeo(value);
5051
+ break;
5047
5052
  default:
5048
5053
  reader.skipField();
5049
5054
  break;
@@ -5087,6 +5092,13 @@ proto.game.ProviderSearchRequest.serializeBinaryToWriter = function(message, wri
5087
5092
  f
5088
5093
  );
5089
5094
  }
5095
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
5096
+ if (f != null) {
5097
+ writer.writeString(
5098
+ 3,
5099
+ f
5100
+ );
5101
+ }
5090
5102
  };
5091
5103
 
5092
5104
 
@@ -5162,6 +5174,42 @@ proto.game.ProviderSearchRequest.prototype.hasIsActive = function() {
5162
5174
  };
5163
5175
 
5164
5176
 
5177
+ /**
5178
+ * optional string geo = 3;
5179
+ * @return {string}
5180
+ */
5181
+ proto.game.ProviderSearchRequest.prototype.getGeo = function() {
5182
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
5183
+ };
5184
+
5185
+
5186
+ /**
5187
+ * @param {string} value
5188
+ * @return {!proto.game.ProviderSearchRequest} returns this
5189
+ */
5190
+ proto.game.ProviderSearchRequest.prototype.setGeo = function(value) {
5191
+ return jspb.Message.setField(this, 3, value);
5192
+ };
5193
+
5194
+
5195
+ /**
5196
+ * Clears the field making it undefined.
5197
+ * @return {!proto.game.ProviderSearchRequest} returns this
5198
+ */
5199
+ proto.game.ProviderSearchRequest.prototype.clearGeo = function() {
5200
+ return jspb.Message.setField(this, 3, undefined);
5201
+ };
5202
+
5203
+
5204
+ /**
5205
+ * Returns whether this field is set.
5206
+ * @return {boolean}
5207
+ */
5208
+ proto.game.ProviderSearchRequest.prototype.hasGeo = function() {
5209
+ return jspb.Message.getField(this, 3) != null;
5210
+ };
5211
+
5212
+
5165
5213
 
5166
5214
 
5167
5215
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.40",
3
+ "version": "1.2.42",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {