protobuf-platform 1.2.41 → 1.2.43

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,15 @@ 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 float ftd_avg = 6;
42
+ optional int32 redep_count = 7;
43
+ optional float redep_sum = 8;
44
+ optional float redep_avg = 9;
45
+ optional int32 dep_count = 10;
46
+ optional float dep_sum = 11;
47
+ optional float dep_avg = 12;
39
48
  }
40
49
  //Global
41
50
  message GlobalCasinoItem {
@@ -1352,7 +1352,16 @@ 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
+ ftdAvg: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
1359
+ redepCount: jspb.Message.getFieldWithDefault(msg, 7, 0),
1360
+ redepSum: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0),
1361
+ redepAvg: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0),
1362
+ depCount: jspb.Message.getFieldWithDefault(msg, 10, 0),
1363
+ depSum: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0),
1364
+ depAvg: jspb.Message.getFloatingPointFieldWithDefault(msg, 12, 0.0)
1356
1365
  };
1357
1366
 
1358
1367
  if (includeInstance) {
@@ -1401,6 +1410,42 @@ proto.analytic.DashboardResponse.deserializeBinaryFromReader = function(msg, rea
1401
1410
  var value = /** @type {number} */ (reader.readInt32());
1402
1411
  msg.setLoginCount(value);
1403
1412
  break;
1413
+ case 4:
1414
+ var value = /** @type {number} */ (reader.readInt32());
1415
+ msg.setFtdCount(value);
1416
+ break;
1417
+ case 5:
1418
+ var value = /** @type {number} */ (reader.readFloat());
1419
+ msg.setFtdSum(value);
1420
+ break;
1421
+ case 6:
1422
+ var value = /** @type {number} */ (reader.readFloat());
1423
+ msg.setFtdAvg(value);
1424
+ break;
1425
+ case 7:
1426
+ var value = /** @type {number} */ (reader.readInt32());
1427
+ msg.setRedepCount(value);
1428
+ break;
1429
+ case 8:
1430
+ var value = /** @type {number} */ (reader.readFloat());
1431
+ msg.setRedepSum(value);
1432
+ break;
1433
+ case 9:
1434
+ var value = /** @type {number} */ (reader.readFloat());
1435
+ msg.setRedepAvg(value);
1436
+ break;
1437
+ case 10:
1438
+ var value = /** @type {number} */ (reader.readInt32());
1439
+ msg.setDepCount(value);
1440
+ break;
1441
+ case 11:
1442
+ var value = /** @type {number} */ (reader.readFloat());
1443
+ msg.setDepSum(value);
1444
+ break;
1445
+ case 12:
1446
+ var value = /** @type {number} */ (reader.readFloat());
1447
+ msg.setDepAvg(value);
1448
+ break;
1404
1449
  default:
1405
1450
  reader.skipField();
1406
1451
  break;
@@ -1451,6 +1496,69 @@ proto.analytic.DashboardResponse.serializeBinaryToWriter = function(message, wri
1451
1496
  f
1452
1497
  );
1453
1498
  }
1499
+ f = /** @type {number} */ (jspb.Message.getField(message, 4));
1500
+ if (f != null) {
1501
+ writer.writeInt32(
1502
+ 4,
1503
+ f
1504
+ );
1505
+ }
1506
+ f = /** @type {number} */ (jspb.Message.getField(message, 5));
1507
+ if (f != null) {
1508
+ writer.writeFloat(
1509
+ 5,
1510
+ f
1511
+ );
1512
+ }
1513
+ f = /** @type {number} */ (jspb.Message.getField(message, 6));
1514
+ if (f != null) {
1515
+ writer.writeFloat(
1516
+ 6,
1517
+ f
1518
+ );
1519
+ }
1520
+ f = /** @type {number} */ (jspb.Message.getField(message, 7));
1521
+ if (f != null) {
1522
+ writer.writeInt32(
1523
+ 7,
1524
+ f
1525
+ );
1526
+ }
1527
+ f = /** @type {number} */ (jspb.Message.getField(message, 8));
1528
+ if (f != null) {
1529
+ writer.writeFloat(
1530
+ 8,
1531
+ f
1532
+ );
1533
+ }
1534
+ f = /** @type {number} */ (jspb.Message.getField(message, 9));
1535
+ if (f != null) {
1536
+ writer.writeFloat(
1537
+ 9,
1538
+ f
1539
+ );
1540
+ }
1541
+ f = /** @type {number} */ (jspb.Message.getField(message, 10));
1542
+ if (f != null) {
1543
+ writer.writeInt32(
1544
+ 10,
1545
+ f
1546
+ );
1547
+ }
1548
+ f = /** @type {number} */ (jspb.Message.getField(message, 11));
1549
+ if (f != null) {
1550
+ writer.writeFloat(
1551
+ 11,
1552
+ f
1553
+ );
1554
+ }
1555
+ f = /** @type {number} */ (jspb.Message.getField(message, 12));
1556
+ if (f != null) {
1557
+ writer.writeFloat(
1558
+ 12,
1559
+ f
1560
+ );
1561
+ }
1454
1562
  };
1455
1563
 
1456
1564
 
@@ -1562,6 +1670,330 @@ proto.analytic.DashboardResponse.prototype.hasLoginCount = function() {
1562
1670
  };
1563
1671
 
1564
1672
 
1673
+ /**
1674
+ * optional int32 ftd_count = 4;
1675
+ * @return {number}
1676
+ */
1677
+ proto.analytic.DashboardResponse.prototype.getFtdCount = function() {
1678
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
1679
+ };
1680
+
1681
+
1682
+ /**
1683
+ * @param {number} value
1684
+ * @return {!proto.analytic.DashboardResponse} returns this
1685
+ */
1686
+ proto.analytic.DashboardResponse.prototype.setFtdCount = function(value) {
1687
+ return jspb.Message.setField(this, 4, 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.clearFtdCount = function() {
1696
+ return jspb.Message.setField(this, 4, undefined);
1697
+ };
1698
+
1699
+
1700
+ /**
1701
+ * Returns whether this field is set.
1702
+ * @return {boolean}
1703
+ */
1704
+ proto.analytic.DashboardResponse.prototype.hasFtdCount = function() {
1705
+ return jspb.Message.getField(this, 4) != null;
1706
+ };
1707
+
1708
+
1709
+ /**
1710
+ * optional float ftd_sum = 5;
1711
+ * @return {number}
1712
+ */
1713
+ proto.analytic.DashboardResponse.prototype.getFtdSum = function() {
1714
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
1715
+ };
1716
+
1717
+
1718
+ /**
1719
+ * @param {number} value
1720
+ * @return {!proto.analytic.DashboardResponse} returns this
1721
+ */
1722
+ proto.analytic.DashboardResponse.prototype.setFtdSum = function(value) {
1723
+ return jspb.Message.setField(this, 5, 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.clearFtdSum = function() {
1732
+ return jspb.Message.setField(this, 5, undefined);
1733
+ };
1734
+
1735
+
1736
+ /**
1737
+ * Returns whether this field is set.
1738
+ * @return {boolean}
1739
+ */
1740
+ proto.analytic.DashboardResponse.prototype.hasFtdSum = function() {
1741
+ return jspb.Message.getField(this, 5) != null;
1742
+ };
1743
+
1744
+
1745
+ /**
1746
+ * optional float ftd_avg = 6;
1747
+ * @return {number}
1748
+ */
1749
+ proto.analytic.DashboardResponse.prototype.getFtdAvg = function() {
1750
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
1751
+ };
1752
+
1753
+
1754
+ /**
1755
+ * @param {number} value
1756
+ * @return {!proto.analytic.DashboardResponse} returns this
1757
+ */
1758
+ proto.analytic.DashboardResponse.prototype.setFtdAvg = function(value) {
1759
+ return jspb.Message.setField(this, 6, 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.clearFtdAvg = function() {
1768
+ return jspb.Message.setField(this, 6, undefined);
1769
+ };
1770
+
1771
+
1772
+ /**
1773
+ * Returns whether this field is set.
1774
+ * @return {boolean}
1775
+ */
1776
+ proto.analytic.DashboardResponse.prototype.hasFtdAvg = function() {
1777
+ return jspb.Message.getField(this, 6) != null;
1778
+ };
1779
+
1780
+
1781
+ /**
1782
+ * optional int32 redep_count = 7;
1783
+ * @return {number}
1784
+ */
1785
+ proto.analytic.DashboardResponse.prototype.getRedepCount = function() {
1786
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
1787
+ };
1788
+
1789
+
1790
+ /**
1791
+ * @param {number} value
1792
+ * @return {!proto.analytic.DashboardResponse} returns this
1793
+ */
1794
+ proto.analytic.DashboardResponse.prototype.setRedepCount = function(value) {
1795
+ return jspb.Message.setField(this, 7, 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.clearRedepCount = function() {
1804
+ return jspb.Message.setField(this, 7, undefined);
1805
+ };
1806
+
1807
+
1808
+ /**
1809
+ * Returns whether this field is set.
1810
+ * @return {boolean}
1811
+ */
1812
+ proto.analytic.DashboardResponse.prototype.hasRedepCount = function() {
1813
+ return jspb.Message.getField(this, 7) != null;
1814
+ };
1815
+
1816
+
1817
+ /**
1818
+ * optional float redep_sum = 8;
1819
+ * @return {number}
1820
+ */
1821
+ proto.analytic.DashboardResponse.prototype.getRedepSum = function() {
1822
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0));
1823
+ };
1824
+
1825
+
1826
+ /**
1827
+ * @param {number} value
1828
+ * @return {!proto.analytic.DashboardResponse} returns this
1829
+ */
1830
+ proto.analytic.DashboardResponse.prototype.setRedepSum = function(value) {
1831
+ return jspb.Message.setField(this, 8, 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.clearRedepSum = function() {
1840
+ return jspb.Message.setField(this, 8, undefined);
1841
+ };
1842
+
1843
+
1844
+ /**
1845
+ * Returns whether this field is set.
1846
+ * @return {boolean}
1847
+ */
1848
+ proto.analytic.DashboardResponse.prototype.hasRedepSum = function() {
1849
+ return jspb.Message.getField(this, 8) != null;
1850
+ };
1851
+
1852
+
1853
+ /**
1854
+ * optional float redep_avg = 9;
1855
+ * @return {number}
1856
+ */
1857
+ proto.analytic.DashboardResponse.prototype.getRedepAvg = function() {
1858
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 9, 0.0));
1859
+ };
1860
+
1861
+
1862
+ /**
1863
+ * @param {number} value
1864
+ * @return {!proto.analytic.DashboardResponse} returns this
1865
+ */
1866
+ proto.analytic.DashboardResponse.prototype.setRedepAvg = function(value) {
1867
+ return jspb.Message.setField(this, 9, value);
1868
+ };
1869
+
1870
+
1871
+ /**
1872
+ * Clears the field making it undefined.
1873
+ * @return {!proto.analytic.DashboardResponse} returns this
1874
+ */
1875
+ proto.analytic.DashboardResponse.prototype.clearRedepAvg = function() {
1876
+ return jspb.Message.setField(this, 9, undefined);
1877
+ };
1878
+
1879
+
1880
+ /**
1881
+ * Returns whether this field is set.
1882
+ * @return {boolean}
1883
+ */
1884
+ proto.analytic.DashboardResponse.prototype.hasRedepAvg = function() {
1885
+ return jspb.Message.getField(this, 9) != null;
1886
+ };
1887
+
1888
+
1889
+ /**
1890
+ * optional int32 dep_count = 10;
1891
+ * @return {number}
1892
+ */
1893
+ proto.analytic.DashboardResponse.prototype.getDepCount = function() {
1894
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
1895
+ };
1896
+
1897
+
1898
+ /**
1899
+ * @param {number} value
1900
+ * @return {!proto.analytic.DashboardResponse} returns this
1901
+ */
1902
+ proto.analytic.DashboardResponse.prototype.setDepCount = function(value) {
1903
+ return jspb.Message.setField(this, 10, value);
1904
+ };
1905
+
1906
+
1907
+ /**
1908
+ * Clears the field making it undefined.
1909
+ * @return {!proto.analytic.DashboardResponse} returns this
1910
+ */
1911
+ proto.analytic.DashboardResponse.prototype.clearDepCount = function() {
1912
+ return jspb.Message.setField(this, 10, undefined);
1913
+ };
1914
+
1915
+
1916
+ /**
1917
+ * Returns whether this field is set.
1918
+ * @return {boolean}
1919
+ */
1920
+ proto.analytic.DashboardResponse.prototype.hasDepCount = function() {
1921
+ return jspb.Message.getField(this, 10) != null;
1922
+ };
1923
+
1924
+
1925
+ /**
1926
+ * optional float dep_sum = 11;
1927
+ * @return {number}
1928
+ */
1929
+ proto.analytic.DashboardResponse.prototype.getDepSum = function() {
1930
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 11, 0.0));
1931
+ };
1932
+
1933
+
1934
+ /**
1935
+ * @param {number} value
1936
+ * @return {!proto.analytic.DashboardResponse} returns this
1937
+ */
1938
+ proto.analytic.DashboardResponse.prototype.setDepSum = function(value) {
1939
+ return jspb.Message.setField(this, 11, value);
1940
+ };
1941
+
1942
+
1943
+ /**
1944
+ * Clears the field making it undefined.
1945
+ * @return {!proto.analytic.DashboardResponse} returns this
1946
+ */
1947
+ proto.analytic.DashboardResponse.prototype.clearDepSum = function() {
1948
+ return jspb.Message.setField(this, 11, undefined);
1949
+ };
1950
+
1951
+
1952
+ /**
1953
+ * Returns whether this field is set.
1954
+ * @return {boolean}
1955
+ */
1956
+ proto.analytic.DashboardResponse.prototype.hasDepSum = function() {
1957
+ return jspb.Message.getField(this, 11) != null;
1958
+ };
1959
+
1960
+
1961
+ /**
1962
+ * optional float dep_avg = 12;
1963
+ * @return {number}
1964
+ */
1965
+ proto.analytic.DashboardResponse.prototype.getDepAvg = function() {
1966
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 12, 0.0));
1967
+ };
1968
+
1969
+
1970
+ /**
1971
+ * @param {number} value
1972
+ * @return {!proto.analytic.DashboardResponse} returns this
1973
+ */
1974
+ proto.analytic.DashboardResponse.prototype.setDepAvg = function(value) {
1975
+ return jspb.Message.setField(this, 12, value);
1976
+ };
1977
+
1978
+
1979
+ /**
1980
+ * Clears the field making it undefined.
1981
+ * @return {!proto.analytic.DashboardResponse} returns this
1982
+ */
1983
+ proto.analytic.DashboardResponse.prototype.clearDepAvg = function() {
1984
+ return jspb.Message.setField(this, 12, undefined);
1985
+ };
1986
+
1987
+
1988
+ /**
1989
+ * Returns whether this field is set.
1990
+ * @return {boolean}
1991
+ */
1992
+ proto.analytic.DashboardResponse.prototype.hasDepAvg = function() {
1993
+ return jspb.Message.getField(this, 12) != null;
1994
+ };
1995
+
1996
+
1565
1997
 
1566
1998
 
1567
1999
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.41",
3
+ "version": "1.2.43",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {