protobuf-platform 1.2.42 → 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.
@@ -38,10 +38,13 @@ message DashboardResponse {
38
38
  optional int32 login_count = 3;
39
39
  optional int32 ftd_count = 4;
40
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;
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;
45
48
  }
46
49
  //Global
47
50
  message GlobalCasinoItem {
@@ -1355,10 +1355,13 @@ proto.analytic.DashboardResponse.toObject = function(includeInstance, msg) {
1355
1355
  loginCount: jspb.Message.getFieldWithDefault(msg, 3, 0),
1356
1356
  ftdCount: jspb.Message.getFieldWithDefault(msg, 4, 0),
1357
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)
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)
1362
1365
  };
1363
1366
 
1364
1367
  if (includeInstance) {
@@ -1416,21 +1419,33 @@ proto.analytic.DashboardResponse.deserializeBinaryFromReader = function(msg, rea
1416
1419
  msg.setFtdSum(value);
1417
1420
  break;
1418
1421
  case 6:
1422
+ var value = /** @type {number} */ (reader.readFloat());
1423
+ msg.setFtdAvg(value);
1424
+ break;
1425
+ case 7:
1419
1426
  var value = /** @type {number} */ (reader.readInt32());
1420
1427
  msg.setRedepCount(value);
1421
1428
  break;
1422
- case 7:
1429
+ case 8:
1423
1430
  var value = /** @type {number} */ (reader.readFloat());
1424
1431
  msg.setRedepSum(value);
1425
1432
  break;
1426
- case 8:
1433
+ case 9:
1434
+ var value = /** @type {number} */ (reader.readFloat());
1435
+ msg.setRedepAvg(value);
1436
+ break;
1437
+ case 10:
1427
1438
  var value = /** @type {number} */ (reader.readInt32());
1428
1439
  msg.setDepCount(value);
1429
1440
  break;
1430
- case 9:
1441
+ case 11:
1431
1442
  var value = /** @type {number} */ (reader.readFloat());
1432
1443
  msg.setDepSum(value);
1433
1444
  break;
1445
+ case 12:
1446
+ var value = /** @type {number} */ (reader.readFloat());
1447
+ msg.setDepAvg(value);
1448
+ break;
1434
1449
  default:
1435
1450
  reader.skipField();
1436
1451
  break;
@@ -1497,21 +1512,21 @@ proto.analytic.DashboardResponse.serializeBinaryToWriter = function(message, wri
1497
1512
  }
1498
1513
  f = /** @type {number} */ (jspb.Message.getField(message, 6));
1499
1514
  if (f != null) {
1500
- writer.writeInt32(
1515
+ writer.writeFloat(
1501
1516
  6,
1502
1517
  f
1503
1518
  );
1504
1519
  }
1505
1520
  f = /** @type {number} */ (jspb.Message.getField(message, 7));
1506
1521
  if (f != null) {
1507
- writer.writeFloat(
1522
+ writer.writeInt32(
1508
1523
  7,
1509
1524
  f
1510
1525
  );
1511
1526
  }
1512
1527
  f = /** @type {number} */ (jspb.Message.getField(message, 8));
1513
1528
  if (f != null) {
1514
- writer.writeInt32(
1529
+ writer.writeFloat(
1515
1530
  8,
1516
1531
  f
1517
1532
  );
@@ -1523,6 +1538,27 @@ proto.analytic.DashboardResponse.serializeBinaryToWriter = function(message, wri
1523
1538
  f
1524
1539
  );
1525
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
+ }
1526
1562
  };
1527
1563
 
1528
1564
 
@@ -1707,11 +1743,47 @@ proto.analytic.DashboardResponse.prototype.hasFtdSum = function() {
1707
1743
 
1708
1744
 
1709
1745
  /**
1710
- * optional int32 redep_count = 6;
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;
1711
1783
  * @return {number}
1712
1784
  */
1713
1785
  proto.analytic.DashboardResponse.prototype.getRedepCount = function() {
1714
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
1786
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
1715
1787
  };
1716
1788
 
1717
1789
 
@@ -1720,7 +1792,7 @@ proto.analytic.DashboardResponse.prototype.getRedepCount = function() {
1720
1792
  * @return {!proto.analytic.DashboardResponse} returns this
1721
1793
  */
1722
1794
  proto.analytic.DashboardResponse.prototype.setRedepCount = function(value) {
1723
- return jspb.Message.setField(this, 6, value);
1795
+ return jspb.Message.setField(this, 7, value);
1724
1796
  };
1725
1797
 
1726
1798
 
@@ -1729,7 +1801,7 @@ proto.analytic.DashboardResponse.prototype.setRedepCount = function(value) {
1729
1801
  * @return {!proto.analytic.DashboardResponse} returns this
1730
1802
  */
1731
1803
  proto.analytic.DashboardResponse.prototype.clearRedepCount = function() {
1732
- return jspb.Message.setField(this, 6, undefined);
1804
+ return jspb.Message.setField(this, 7, undefined);
1733
1805
  };
1734
1806
 
1735
1807
 
@@ -1738,16 +1810,16 @@ proto.analytic.DashboardResponse.prototype.clearRedepCount = function() {
1738
1810
  * @return {boolean}
1739
1811
  */
1740
1812
  proto.analytic.DashboardResponse.prototype.hasRedepCount = function() {
1741
- return jspb.Message.getField(this, 6) != null;
1813
+ return jspb.Message.getField(this, 7) != null;
1742
1814
  };
1743
1815
 
1744
1816
 
1745
1817
  /**
1746
- * optional float redep_sum = 7;
1818
+ * optional float redep_sum = 8;
1747
1819
  * @return {number}
1748
1820
  */
1749
1821
  proto.analytic.DashboardResponse.prototype.getRedepSum = function() {
1750
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0));
1822
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0));
1751
1823
  };
1752
1824
 
1753
1825
 
@@ -1756,7 +1828,7 @@ proto.analytic.DashboardResponse.prototype.getRedepSum = function() {
1756
1828
  * @return {!proto.analytic.DashboardResponse} returns this
1757
1829
  */
1758
1830
  proto.analytic.DashboardResponse.prototype.setRedepSum = function(value) {
1759
- return jspb.Message.setField(this, 7, value);
1831
+ return jspb.Message.setField(this, 8, value);
1760
1832
  };
1761
1833
 
1762
1834
 
@@ -1765,7 +1837,7 @@ proto.analytic.DashboardResponse.prototype.setRedepSum = function(value) {
1765
1837
  * @return {!proto.analytic.DashboardResponse} returns this
1766
1838
  */
1767
1839
  proto.analytic.DashboardResponse.prototype.clearRedepSum = function() {
1768
- return jspb.Message.setField(this, 7, undefined);
1840
+ return jspb.Message.setField(this, 8, undefined);
1769
1841
  };
1770
1842
 
1771
1843
 
@@ -1774,16 +1846,52 @@ proto.analytic.DashboardResponse.prototype.clearRedepSum = function() {
1774
1846
  * @return {boolean}
1775
1847
  */
1776
1848
  proto.analytic.DashboardResponse.prototype.hasRedepSum = function() {
1777
- return jspb.Message.getField(this, 7) != null;
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;
1778
1886
  };
1779
1887
 
1780
1888
 
1781
1889
  /**
1782
- * optional int32 dep_count = 8;
1890
+ * optional int32 dep_count = 10;
1783
1891
  * @return {number}
1784
1892
  */
1785
1893
  proto.analytic.DashboardResponse.prototype.getDepCount = function() {
1786
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
1894
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
1787
1895
  };
1788
1896
 
1789
1897
 
@@ -1792,7 +1900,7 @@ proto.analytic.DashboardResponse.prototype.getDepCount = function() {
1792
1900
  * @return {!proto.analytic.DashboardResponse} returns this
1793
1901
  */
1794
1902
  proto.analytic.DashboardResponse.prototype.setDepCount = function(value) {
1795
- return jspb.Message.setField(this, 8, value);
1903
+ return jspb.Message.setField(this, 10, value);
1796
1904
  };
1797
1905
 
1798
1906
 
@@ -1801,7 +1909,7 @@ proto.analytic.DashboardResponse.prototype.setDepCount = function(value) {
1801
1909
  * @return {!proto.analytic.DashboardResponse} returns this
1802
1910
  */
1803
1911
  proto.analytic.DashboardResponse.prototype.clearDepCount = function() {
1804
- return jspb.Message.setField(this, 8, undefined);
1912
+ return jspb.Message.setField(this, 10, undefined);
1805
1913
  };
1806
1914
 
1807
1915
 
@@ -1810,16 +1918,16 @@ proto.analytic.DashboardResponse.prototype.clearDepCount = function() {
1810
1918
  * @return {boolean}
1811
1919
  */
1812
1920
  proto.analytic.DashboardResponse.prototype.hasDepCount = function() {
1813
- return jspb.Message.getField(this, 8) != null;
1921
+ return jspb.Message.getField(this, 10) != null;
1814
1922
  };
1815
1923
 
1816
1924
 
1817
1925
  /**
1818
- * optional float dep_sum = 9;
1926
+ * optional float dep_sum = 11;
1819
1927
  * @return {number}
1820
1928
  */
1821
1929
  proto.analytic.DashboardResponse.prototype.getDepSum = function() {
1822
- return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 9, 0.0));
1930
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 11, 0.0));
1823
1931
  };
1824
1932
 
1825
1933
 
@@ -1828,7 +1936,7 @@ proto.analytic.DashboardResponse.prototype.getDepSum = function() {
1828
1936
  * @return {!proto.analytic.DashboardResponse} returns this
1829
1937
  */
1830
1938
  proto.analytic.DashboardResponse.prototype.setDepSum = function(value) {
1831
- return jspb.Message.setField(this, 9, value);
1939
+ return jspb.Message.setField(this, 11, value);
1832
1940
  };
1833
1941
 
1834
1942
 
@@ -1837,7 +1945,7 @@ proto.analytic.DashboardResponse.prototype.setDepSum = function(value) {
1837
1945
  * @return {!proto.analytic.DashboardResponse} returns this
1838
1946
  */
1839
1947
  proto.analytic.DashboardResponse.prototype.clearDepSum = function() {
1840
- return jspb.Message.setField(this, 9, undefined);
1948
+ return jspb.Message.setField(this, 11, undefined);
1841
1949
  };
1842
1950
 
1843
1951
 
@@ -1846,7 +1954,43 @@ proto.analytic.DashboardResponse.prototype.clearDepSum = function() {
1846
1954
  * @return {boolean}
1847
1955
  */
1848
1956
  proto.analytic.DashboardResponse.prototype.hasDepSum = function() {
1849
- return jspb.Message.getField(this, 9) != null;
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;
1850
1994
  };
1851
1995
 
1852
1996
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.42",
3
+ "version": "1.2.43",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {