protobuf-platform 1.2.173 → 1.2.176
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 +22 -0
- package/analytic/analytic_pb.js +577 -1
- package/config/config.proto +12 -0
- package/config/config_grpc_pb.js +23 -0
- package/config/config_pb.js +548 -1
- package/package.json +1 -1
package/analytic/analytic.proto
CHANGED
|
@@ -59,13 +59,35 @@ message DashboardResponse {
|
|
|
59
59
|
optional int32 dep_count = 10;
|
|
60
60
|
optional float dep_sum = 11;
|
|
61
61
|
optional float dep_avg = 12;
|
|
62
|
+
|
|
63
|
+
// Money metrics (base currency, processed_at range)
|
|
62
64
|
optional float turnover_total = 13;
|
|
63
65
|
optional float turnover_real = 14;
|
|
64
66
|
optional float turnover_bonus = 15;
|
|
67
|
+
|
|
65
68
|
optional float ggr_total = 16;
|
|
66
69
|
optional float ggr_real = 17;
|
|
67
70
|
optional float ggr_bonus = 18;
|
|
71
|
+
|
|
72
|
+
// Bet/Win counts (casino + sport, processed_at range)
|
|
73
|
+
optional int32 bet_total_count = 19;
|
|
74
|
+
optional int32 bet_real_count = 20;
|
|
75
|
+
optional int32 bet_bonus_count = 21;
|
|
76
|
+
|
|
77
|
+
optional int32 win_total_count = 22;
|
|
78
|
+
optional int32 win_real_count = 23;
|
|
79
|
+
optional int32 win_bonus_count = 24;
|
|
80
|
+
|
|
81
|
+
// Bet/Win averages (base currency, casino + sport, processed_at range)
|
|
82
|
+
optional float avg_bet_total = 25;
|
|
83
|
+
optional float avg_bet_real = 26;
|
|
84
|
+
optional float avg_bet_bonus = 27;
|
|
85
|
+
|
|
86
|
+
optional float avg_win_total = 28;
|
|
87
|
+
optional float avg_win_real = 29;
|
|
88
|
+
optional float avg_win_bonus = 30;
|
|
68
89
|
}
|
|
90
|
+
|
|
69
91
|
message MainDashboardResponse {
|
|
70
92
|
DashboardResponse summary = 1;
|
|
71
93
|
DashboardTurnoverSeries turnover_series = 2;
|
package/analytic/analytic_pb.js
CHANGED
|
@@ -1547,7 +1547,19 @@ proto.analytic.DashboardResponse.toObject = function(includeInstance, msg) {
|
|
|
1547
1547
|
turnoverBonus: jspb.Message.getFloatingPointFieldWithDefault(msg, 15, 0.0),
|
|
1548
1548
|
ggrTotal: jspb.Message.getFloatingPointFieldWithDefault(msg, 16, 0.0),
|
|
1549
1549
|
ggrReal: jspb.Message.getFloatingPointFieldWithDefault(msg, 17, 0.0),
|
|
1550
|
-
ggrBonus: jspb.Message.getFloatingPointFieldWithDefault(msg, 18, 0.0)
|
|
1550
|
+
ggrBonus: jspb.Message.getFloatingPointFieldWithDefault(msg, 18, 0.0),
|
|
1551
|
+
betTotalCount: jspb.Message.getFieldWithDefault(msg, 19, 0),
|
|
1552
|
+
betRealCount: jspb.Message.getFieldWithDefault(msg, 20, 0),
|
|
1553
|
+
betBonusCount: jspb.Message.getFieldWithDefault(msg, 21, 0),
|
|
1554
|
+
winTotalCount: jspb.Message.getFieldWithDefault(msg, 22, 0),
|
|
1555
|
+
winRealCount: jspb.Message.getFieldWithDefault(msg, 23, 0),
|
|
1556
|
+
winBonusCount: jspb.Message.getFieldWithDefault(msg, 24, 0),
|
|
1557
|
+
avgBetTotal: jspb.Message.getFloatingPointFieldWithDefault(msg, 25, 0.0),
|
|
1558
|
+
avgBetReal: jspb.Message.getFloatingPointFieldWithDefault(msg, 26, 0.0),
|
|
1559
|
+
avgBetBonus: jspb.Message.getFloatingPointFieldWithDefault(msg, 27, 0.0),
|
|
1560
|
+
avgWinTotal: jspb.Message.getFloatingPointFieldWithDefault(msg, 28, 0.0),
|
|
1561
|
+
avgWinReal: jspb.Message.getFloatingPointFieldWithDefault(msg, 29, 0.0),
|
|
1562
|
+
avgWinBonus: jspb.Message.getFloatingPointFieldWithDefault(msg, 30, 0.0)
|
|
1551
1563
|
};
|
|
1552
1564
|
|
|
1553
1565
|
if (includeInstance) {
|
|
@@ -1656,6 +1668,54 @@ proto.analytic.DashboardResponse.deserializeBinaryFromReader = function(msg, rea
|
|
|
1656
1668
|
var value = /** @type {number} */ (reader.readFloat());
|
|
1657
1669
|
msg.setGgrBonus(value);
|
|
1658
1670
|
break;
|
|
1671
|
+
case 19:
|
|
1672
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
1673
|
+
msg.setBetTotalCount(value);
|
|
1674
|
+
break;
|
|
1675
|
+
case 20:
|
|
1676
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
1677
|
+
msg.setBetRealCount(value);
|
|
1678
|
+
break;
|
|
1679
|
+
case 21:
|
|
1680
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
1681
|
+
msg.setBetBonusCount(value);
|
|
1682
|
+
break;
|
|
1683
|
+
case 22:
|
|
1684
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
1685
|
+
msg.setWinTotalCount(value);
|
|
1686
|
+
break;
|
|
1687
|
+
case 23:
|
|
1688
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
1689
|
+
msg.setWinRealCount(value);
|
|
1690
|
+
break;
|
|
1691
|
+
case 24:
|
|
1692
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
1693
|
+
msg.setWinBonusCount(value);
|
|
1694
|
+
break;
|
|
1695
|
+
case 25:
|
|
1696
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
1697
|
+
msg.setAvgBetTotal(value);
|
|
1698
|
+
break;
|
|
1699
|
+
case 26:
|
|
1700
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
1701
|
+
msg.setAvgBetReal(value);
|
|
1702
|
+
break;
|
|
1703
|
+
case 27:
|
|
1704
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
1705
|
+
msg.setAvgBetBonus(value);
|
|
1706
|
+
break;
|
|
1707
|
+
case 28:
|
|
1708
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
1709
|
+
msg.setAvgWinTotal(value);
|
|
1710
|
+
break;
|
|
1711
|
+
case 29:
|
|
1712
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
1713
|
+
msg.setAvgWinReal(value);
|
|
1714
|
+
break;
|
|
1715
|
+
case 30:
|
|
1716
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
1717
|
+
msg.setAvgWinBonus(value);
|
|
1718
|
+
break;
|
|
1659
1719
|
default:
|
|
1660
1720
|
reader.skipField();
|
|
1661
1721
|
break;
|
|
@@ -1811,6 +1871,90 @@ proto.analytic.DashboardResponse.serializeBinaryToWriter = function(message, wri
|
|
|
1811
1871
|
f
|
|
1812
1872
|
);
|
|
1813
1873
|
}
|
|
1874
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 19));
|
|
1875
|
+
if (f != null) {
|
|
1876
|
+
writer.writeInt32(
|
|
1877
|
+
19,
|
|
1878
|
+
f
|
|
1879
|
+
);
|
|
1880
|
+
}
|
|
1881
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 20));
|
|
1882
|
+
if (f != null) {
|
|
1883
|
+
writer.writeInt32(
|
|
1884
|
+
20,
|
|
1885
|
+
f
|
|
1886
|
+
);
|
|
1887
|
+
}
|
|
1888
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 21));
|
|
1889
|
+
if (f != null) {
|
|
1890
|
+
writer.writeInt32(
|
|
1891
|
+
21,
|
|
1892
|
+
f
|
|
1893
|
+
);
|
|
1894
|
+
}
|
|
1895
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 22));
|
|
1896
|
+
if (f != null) {
|
|
1897
|
+
writer.writeInt32(
|
|
1898
|
+
22,
|
|
1899
|
+
f
|
|
1900
|
+
);
|
|
1901
|
+
}
|
|
1902
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 23));
|
|
1903
|
+
if (f != null) {
|
|
1904
|
+
writer.writeInt32(
|
|
1905
|
+
23,
|
|
1906
|
+
f
|
|
1907
|
+
);
|
|
1908
|
+
}
|
|
1909
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 24));
|
|
1910
|
+
if (f != null) {
|
|
1911
|
+
writer.writeInt32(
|
|
1912
|
+
24,
|
|
1913
|
+
f
|
|
1914
|
+
);
|
|
1915
|
+
}
|
|
1916
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 25));
|
|
1917
|
+
if (f != null) {
|
|
1918
|
+
writer.writeFloat(
|
|
1919
|
+
25,
|
|
1920
|
+
f
|
|
1921
|
+
);
|
|
1922
|
+
}
|
|
1923
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 26));
|
|
1924
|
+
if (f != null) {
|
|
1925
|
+
writer.writeFloat(
|
|
1926
|
+
26,
|
|
1927
|
+
f
|
|
1928
|
+
);
|
|
1929
|
+
}
|
|
1930
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 27));
|
|
1931
|
+
if (f != null) {
|
|
1932
|
+
writer.writeFloat(
|
|
1933
|
+
27,
|
|
1934
|
+
f
|
|
1935
|
+
);
|
|
1936
|
+
}
|
|
1937
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 28));
|
|
1938
|
+
if (f != null) {
|
|
1939
|
+
writer.writeFloat(
|
|
1940
|
+
28,
|
|
1941
|
+
f
|
|
1942
|
+
);
|
|
1943
|
+
}
|
|
1944
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 29));
|
|
1945
|
+
if (f != null) {
|
|
1946
|
+
writer.writeFloat(
|
|
1947
|
+
29,
|
|
1948
|
+
f
|
|
1949
|
+
);
|
|
1950
|
+
}
|
|
1951
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 30));
|
|
1952
|
+
if (f != null) {
|
|
1953
|
+
writer.writeFloat(
|
|
1954
|
+
30,
|
|
1955
|
+
f
|
|
1956
|
+
);
|
|
1957
|
+
}
|
|
1814
1958
|
};
|
|
1815
1959
|
|
|
1816
1960
|
|
|
@@ -2462,6 +2606,438 @@ proto.analytic.DashboardResponse.prototype.hasGgrBonus = function() {
|
|
|
2462
2606
|
};
|
|
2463
2607
|
|
|
2464
2608
|
|
|
2609
|
+
/**
|
|
2610
|
+
* optional int32 bet_total_count = 19;
|
|
2611
|
+
* @return {number}
|
|
2612
|
+
*/
|
|
2613
|
+
proto.analytic.DashboardResponse.prototype.getBetTotalCount = function() {
|
|
2614
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 19, 0));
|
|
2615
|
+
};
|
|
2616
|
+
|
|
2617
|
+
|
|
2618
|
+
/**
|
|
2619
|
+
* @param {number} value
|
|
2620
|
+
* @return {!proto.analytic.DashboardResponse} returns this
|
|
2621
|
+
*/
|
|
2622
|
+
proto.analytic.DashboardResponse.prototype.setBetTotalCount = function(value) {
|
|
2623
|
+
return jspb.Message.setField(this, 19, value);
|
|
2624
|
+
};
|
|
2625
|
+
|
|
2626
|
+
|
|
2627
|
+
/**
|
|
2628
|
+
* Clears the field making it undefined.
|
|
2629
|
+
* @return {!proto.analytic.DashboardResponse} returns this
|
|
2630
|
+
*/
|
|
2631
|
+
proto.analytic.DashboardResponse.prototype.clearBetTotalCount = function() {
|
|
2632
|
+
return jspb.Message.setField(this, 19, undefined);
|
|
2633
|
+
};
|
|
2634
|
+
|
|
2635
|
+
|
|
2636
|
+
/**
|
|
2637
|
+
* Returns whether this field is set.
|
|
2638
|
+
* @return {boolean}
|
|
2639
|
+
*/
|
|
2640
|
+
proto.analytic.DashboardResponse.prototype.hasBetTotalCount = function() {
|
|
2641
|
+
return jspb.Message.getField(this, 19) != null;
|
|
2642
|
+
};
|
|
2643
|
+
|
|
2644
|
+
|
|
2645
|
+
/**
|
|
2646
|
+
* optional int32 bet_real_count = 20;
|
|
2647
|
+
* @return {number}
|
|
2648
|
+
*/
|
|
2649
|
+
proto.analytic.DashboardResponse.prototype.getBetRealCount = function() {
|
|
2650
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 20, 0));
|
|
2651
|
+
};
|
|
2652
|
+
|
|
2653
|
+
|
|
2654
|
+
/**
|
|
2655
|
+
* @param {number} value
|
|
2656
|
+
* @return {!proto.analytic.DashboardResponse} returns this
|
|
2657
|
+
*/
|
|
2658
|
+
proto.analytic.DashboardResponse.prototype.setBetRealCount = function(value) {
|
|
2659
|
+
return jspb.Message.setField(this, 20, value);
|
|
2660
|
+
};
|
|
2661
|
+
|
|
2662
|
+
|
|
2663
|
+
/**
|
|
2664
|
+
* Clears the field making it undefined.
|
|
2665
|
+
* @return {!proto.analytic.DashboardResponse} returns this
|
|
2666
|
+
*/
|
|
2667
|
+
proto.analytic.DashboardResponse.prototype.clearBetRealCount = function() {
|
|
2668
|
+
return jspb.Message.setField(this, 20, undefined);
|
|
2669
|
+
};
|
|
2670
|
+
|
|
2671
|
+
|
|
2672
|
+
/**
|
|
2673
|
+
* Returns whether this field is set.
|
|
2674
|
+
* @return {boolean}
|
|
2675
|
+
*/
|
|
2676
|
+
proto.analytic.DashboardResponse.prototype.hasBetRealCount = function() {
|
|
2677
|
+
return jspb.Message.getField(this, 20) != null;
|
|
2678
|
+
};
|
|
2679
|
+
|
|
2680
|
+
|
|
2681
|
+
/**
|
|
2682
|
+
* optional int32 bet_bonus_count = 21;
|
|
2683
|
+
* @return {number}
|
|
2684
|
+
*/
|
|
2685
|
+
proto.analytic.DashboardResponse.prototype.getBetBonusCount = function() {
|
|
2686
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 21, 0));
|
|
2687
|
+
};
|
|
2688
|
+
|
|
2689
|
+
|
|
2690
|
+
/**
|
|
2691
|
+
* @param {number} value
|
|
2692
|
+
* @return {!proto.analytic.DashboardResponse} returns this
|
|
2693
|
+
*/
|
|
2694
|
+
proto.analytic.DashboardResponse.prototype.setBetBonusCount = function(value) {
|
|
2695
|
+
return jspb.Message.setField(this, 21, value);
|
|
2696
|
+
};
|
|
2697
|
+
|
|
2698
|
+
|
|
2699
|
+
/**
|
|
2700
|
+
* Clears the field making it undefined.
|
|
2701
|
+
* @return {!proto.analytic.DashboardResponse} returns this
|
|
2702
|
+
*/
|
|
2703
|
+
proto.analytic.DashboardResponse.prototype.clearBetBonusCount = function() {
|
|
2704
|
+
return jspb.Message.setField(this, 21, undefined);
|
|
2705
|
+
};
|
|
2706
|
+
|
|
2707
|
+
|
|
2708
|
+
/**
|
|
2709
|
+
* Returns whether this field is set.
|
|
2710
|
+
* @return {boolean}
|
|
2711
|
+
*/
|
|
2712
|
+
proto.analytic.DashboardResponse.prototype.hasBetBonusCount = function() {
|
|
2713
|
+
return jspb.Message.getField(this, 21) != null;
|
|
2714
|
+
};
|
|
2715
|
+
|
|
2716
|
+
|
|
2717
|
+
/**
|
|
2718
|
+
* optional int32 win_total_count = 22;
|
|
2719
|
+
* @return {number}
|
|
2720
|
+
*/
|
|
2721
|
+
proto.analytic.DashboardResponse.prototype.getWinTotalCount = function() {
|
|
2722
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 22, 0));
|
|
2723
|
+
};
|
|
2724
|
+
|
|
2725
|
+
|
|
2726
|
+
/**
|
|
2727
|
+
* @param {number} value
|
|
2728
|
+
* @return {!proto.analytic.DashboardResponse} returns this
|
|
2729
|
+
*/
|
|
2730
|
+
proto.analytic.DashboardResponse.prototype.setWinTotalCount = function(value) {
|
|
2731
|
+
return jspb.Message.setField(this, 22, value);
|
|
2732
|
+
};
|
|
2733
|
+
|
|
2734
|
+
|
|
2735
|
+
/**
|
|
2736
|
+
* Clears the field making it undefined.
|
|
2737
|
+
* @return {!proto.analytic.DashboardResponse} returns this
|
|
2738
|
+
*/
|
|
2739
|
+
proto.analytic.DashboardResponse.prototype.clearWinTotalCount = function() {
|
|
2740
|
+
return jspb.Message.setField(this, 22, undefined);
|
|
2741
|
+
};
|
|
2742
|
+
|
|
2743
|
+
|
|
2744
|
+
/**
|
|
2745
|
+
* Returns whether this field is set.
|
|
2746
|
+
* @return {boolean}
|
|
2747
|
+
*/
|
|
2748
|
+
proto.analytic.DashboardResponse.prototype.hasWinTotalCount = function() {
|
|
2749
|
+
return jspb.Message.getField(this, 22) != null;
|
|
2750
|
+
};
|
|
2751
|
+
|
|
2752
|
+
|
|
2753
|
+
/**
|
|
2754
|
+
* optional int32 win_real_count = 23;
|
|
2755
|
+
* @return {number}
|
|
2756
|
+
*/
|
|
2757
|
+
proto.analytic.DashboardResponse.prototype.getWinRealCount = function() {
|
|
2758
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 23, 0));
|
|
2759
|
+
};
|
|
2760
|
+
|
|
2761
|
+
|
|
2762
|
+
/**
|
|
2763
|
+
* @param {number} value
|
|
2764
|
+
* @return {!proto.analytic.DashboardResponse} returns this
|
|
2765
|
+
*/
|
|
2766
|
+
proto.analytic.DashboardResponse.prototype.setWinRealCount = function(value) {
|
|
2767
|
+
return jspb.Message.setField(this, 23, value);
|
|
2768
|
+
};
|
|
2769
|
+
|
|
2770
|
+
|
|
2771
|
+
/**
|
|
2772
|
+
* Clears the field making it undefined.
|
|
2773
|
+
* @return {!proto.analytic.DashboardResponse} returns this
|
|
2774
|
+
*/
|
|
2775
|
+
proto.analytic.DashboardResponse.prototype.clearWinRealCount = function() {
|
|
2776
|
+
return jspb.Message.setField(this, 23, undefined);
|
|
2777
|
+
};
|
|
2778
|
+
|
|
2779
|
+
|
|
2780
|
+
/**
|
|
2781
|
+
* Returns whether this field is set.
|
|
2782
|
+
* @return {boolean}
|
|
2783
|
+
*/
|
|
2784
|
+
proto.analytic.DashboardResponse.prototype.hasWinRealCount = function() {
|
|
2785
|
+
return jspb.Message.getField(this, 23) != null;
|
|
2786
|
+
};
|
|
2787
|
+
|
|
2788
|
+
|
|
2789
|
+
/**
|
|
2790
|
+
* optional int32 win_bonus_count = 24;
|
|
2791
|
+
* @return {number}
|
|
2792
|
+
*/
|
|
2793
|
+
proto.analytic.DashboardResponse.prototype.getWinBonusCount = function() {
|
|
2794
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 24, 0));
|
|
2795
|
+
};
|
|
2796
|
+
|
|
2797
|
+
|
|
2798
|
+
/**
|
|
2799
|
+
* @param {number} value
|
|
2800
|
+
* @return {!proto.analytic.DashboardResponse} returns this
|
|
2801
|
+
*/
|
|
2802
|
+
proto.analytic.DashboardResponse.prototype.setWinBonusCount = function(value) {
|
|
2803
|
+
return jspb.Message.setField(this, 24, value);
|
|
2804
|
+
};
|
|
2805
|
+
|
|
2806
|
+
|
|
2807
|
+
/**
|
|
2808
|
+
* Clears the field making it undefined.
|
|
2809
|
+
* @return {!proto.analytic.DashboardResponse} returns this
|
|
2810
|
+
*/
|
|
2811
|
+
proto.analytic.DashboardResponse.prototype.clearWinBonusCount = function() {
|
|
2812
|
+
return jspb.Message.setField(this, 24, undefined);
|
|
2813
|
+
};
|
|
2814
|
+
|
|
2815
|
+
|
|
2816
|
+
/**
|
|
2817
|
+
* Returns whether this field is set.
|
|
2818
|
+
* @return {boolean}
|
|
2819
|
+
*/
|
|
2820
|
+
proto.analytic.DashboardResponse.prototype.hasWinBonusCount = function() {
|
|
2821
|
+
return jspb.Message.getField(this, 24) != null;
|
|
2822
|
+
};
|
|
2823
|
+
|
|
2824
|
+
|
|
2825
|
+
/**
|
|
2826
|
+
* optional float avg_bet_total = 25;
|
|
2827
|
+
* @return {number}
|
|
2828
|
+
*/
|
|
2829
|
+
proto.analytic.DashboardResponse.prototype.getAvgBetTotal = function() {
|
|
2830
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 25, 0.0));
|
|
2831
|
+
};
|
|
2832
|
+
|
|
2833
|
+
|
|
2834
|
+
/**
|
|
2835
|
+
* @param {number} value
|
|
2836
|
+
* @return {!proto.analytic.DashboardResponse} returns this
|
|
2837
|
+
*/
|
|
2838
|
+
proto.analytic.DashboardResponse.prototype.setAvgBetTotal = function(value) {
|
|
2839
|
+
return jspb.Message.setField(this, 25, value);
|
|
2840
|
+
};
|
|
2841
|
+
|
|
2842
|
+
|
|
2843
|
+
/**
|
|
2844
|
+
* Clears the field making it undefined.
|
|
2845
|
+
* @return {!proto.analytic.DashboardResponse} returns this
|
|
2846
|
+
*/
|
|
2847
|
+
proto.analytic.DashboardResponse.prototype.clearAvgBetTotal = function() {
|
|
2848
|
+
return jspb.Message.setField(this, 25, undefined);
|
|
2849
|
+
};
|
|
2850
|
+
|
|
2851
|
+
|
|
2852
|
+
/**
|
|
2853
|
+
* Returns whether this field is set.
|
|
2854
|
+
* @return {boolean}
|
|
2855
|
+
*/
|
|
2856
|
+
proto.analytic.DashboardResponse.prototype.hasAvgBetTotal = function() {
|
|
2857
|
+
return jspb.Message.getField(this, 25) != null;
|
|
2858
|
+
};
|
|
2859
|
+
|
|
2860
|
+
|
|
2861
|
+
/**
|
|
2862
|
+
* optional float avg_bet_real = 26;
|
|
2863
|
+
* @return {number}
|
|
2864
|
+
*/
|
|
2865
|
+
proto.analytic.DashboardResponse.prototype.getAvgBetReal = function() {
|
|
2866
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 26, 0.0));
|
|
2867
|
+
};
|
|
2868
|
+
|
|
2869
|
+
|
|
2870
|
+
/**
|
|
2871
|
+
* @param {number} value
|
|
2872
|
+
* @return {!proto.analytic.DashboardResponse} returns this
|
|
2873
|
+
*/
|
|
2874
|
+
proto.analytic.DashboardResponse.prototype.setAvgBetReal = function(value) {
|
|
2875
|
+
return jspb.Message.setField(this, 26, value);
|
|
2876
|
+
};
|
|
2877
|
+
|
|
2878
|
+
|
|
2879
|
+
/**
|
|
2880
|
+
* Clears the field making it undefined.
|
|
2881
|
+
* @return {!proto.analytic.DashboardResponse} returns this
|
|
2882
|
+
*/
|
|
2883
|
+
proto.analytic.DashboardResponse.prototype.clearAvgBetReal = function() {
|
|
2884
|
+
return jspb.Message.setField(this, 26, undefined);
|
|
2885
|
+
};
|
|
2886
|
+
|
|
2887
|
+
|
|
2888
|
+
/**
|
|
2889
|
+
* Returns whether this field is set.
|
|
2890
|
+
* @return {boolean}
|
|
2891
|
+
*/
|
|
2892
|
+
proto.analytic.DashboardResponse.prototype.hasAvgBetReal = function() {
|
|
2893
|
+
return jspb.Message.getField(this, 26) != null;
|
|
2894
|
+
};
|
|
2895
|
+
|
|
2896
|
+
|
|
2897
|
+
/**
|
|
2898
|
+
* optional float avg_bet_bonus = 27;
|
|
2899
|
+
* @return {number}
|
|
2900
|
+
*/
|
|
2901
|
+
proto.analytic.DashboardResponse.prototype.getAvgBetBonus = function() {
|
|
2902
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 27, 0.0));
|
|
2903
|
+
};
|
|
2904
|
+
|
|
2905
|
+
|
|
2906
|
+
/**
|
|
2907
|
+
* @param {number} value
|
|
2908
|
+
* @return {!proto.analytic.DashboardResponse} returns this
|
|
2909
|
+
*/
|
|
2910
|
+
proto.analytic.DashboardResponse.prototype.setAvgBetBonus = function(value) {
|
|
2911
|
+
return jspb.Message.setField(this, 27, value);
|
|
2912
|
+
};
|
|
2913
|
+
|
|
2914
|
+
|
|
2915
|
+
/**
|
|
2916
|
+
* Clears the field making it undefined.
|
|
2917
|
+
* @return {!proto.analytic.DashboardResponse} returns this
|
|
2918
|
+
*/
|
|
2919
|
+
proto.analytic.DashboardResponse.prototype.clearAvgBetBonus = function() {
|
|
2920
|
+
return jspb.Message.setField(this, 27, undefined);
|
|
2921
|
+
};
|
|
2922
|
+
|
|
2923
|
+
|
|
2924
|
+
/**
|
|
2925
|
+
* Returns whether this field is set.
|
|
2926
|
+
* @return {boolean}
|
|
2927
|
+
*/
|
|
2928
|
+
proto.analytic.DashboardResponse.prototype.hasAvgBetBonus = function() {
|
|
2929
|
+
return jspb.Message.getField(this, 27) != null;
|
|
2930
|
+
};
|
|
2931
|
+
|
|
2932
|
+
|
|
2933
|
+
/**
|
|
2934
|
+
* optional float avg_win_total = 28;
|
|
2935
|
+
* @return {number}
|
|
2936
|
+
*/
|
|
2937
|
+
proto.analytic.DashboardResponse.prototype.getAvgWinTotal = function() {
|
|
2938
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 28, 0.0));
|
|
2939
|
+
};
|
|
2940
|
+
|
|
2941
|
+
|
|
2942
|
+
/**
|
|
2943
|
+
* @param {number} value
|
|
2944
|
+
* @return {!proto.analytic.DashboardResponse} returns this
|
|
2945
|
+
*/
|
|
2946
|
+
proto.analytic.DashboardResponse.prototype.setAvgWinTotal = function(value) {
|
|
2947
|
+
return jspb.Message.setField(this, 28, value);
|
|
2948
|
+
};
|
|
2949
|
+
|
|
2950
|
+
|
|
2951
|
+
/**
|
|
2952
|
+
* Clears the field making it undefined.
|
|
2953
|
+
* @return {!proto.analytic.DashboardResponse} returns this
|
|
2954
|
+
*/
|
|
2955
|
+
proto.analytic.DashboardResponse.prototype.clearAvgWinTotal = function() {
|
|
2956
|
+
return jspb.Message.setField(this, 28, undefined);
|
|
2957
|
+
};
|
|
2958
|
+
|
|
2959
|
+
|
|
2960
|
+
/**
|
|
2961
|
+
* Returns whether this field is set.
|
|
2962
|
+
* @return {boolean}
|
|
2963
|
+
*/
|
|
2964
|
+
proto.analytic.DashboardResponse.prototype.hasAvgWinTotal = function() {
|
|
2965
|
+
return jspb.Message.getField(this, 28) != null;
|
|
2966
|
+
};
|
|
2967
|
+
|
|
2968
|
+
|
|
2969
|
+
/**
|
|
2970
|
+
* optional float avg_win_real = 29;
|
|
2971
|
+
* @return {number}
|
|
2972
|
+
*/
|
|
2973
|
+
proto.analytic.DashboardResponse.prototype.getAvgWinReal = function() {
|
|
2974
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 29, 0.0));
|
|
2975
|
+
};
|
|
2976
|
+
|
|
2977
|
+
|
|
2978
|
+
/**
|
|
2979
|
+
* @param {number} value
|
|
2980
|
+
* @return {!proto.analytic.DashboardResponse} returns this
|
|
2981
|
+
*/
|
|
2982
|
+
proto.analytic.DashboardResponse.prototype.setAvgWinReal = function(value) {
|
|
2983
|
+
return jspb.Message.setField(this, 29, value);
|
|
2984
|
+
};
|
|
2985
|
+
|
|
2986
|
+
|
|
2987
|
+
/**
|
|
2988
|
+
* Clears the field making it undefined.
|
|
2989
|
+
* @return {!proto.analytic.DashboardResponse} returns this
|
|
2990
|
+
*/
|
|
2991
|
+
proto.analytic.DashboardResponse.prototype.clearAvgWinReal = function() {
|
|
2992
|
+
return jspb.Message.setField(this, 29, undefined);
|
|
2993
|
+
};
|
|
2994
|
+
|
|
2995
|
+
|
|
2996
|
+
/**
|
|
2997
|
+
* Returns whether this field is set.
|
|
2998
|
+
* @return {boolean}
|
|
2999
|
+
*/
|
|
3000
|
+
proto.analytic.DashboardResponse.prototype.hasAvgWinReal = function() {
|
|
3001
|
+
return jspb.Message.getField(this, 29) != null;
|
|
3002
|
+
};
|
|
3003
|
+
|
|
3004
|
+
|
|
3005
|
+
/**
|
|
3006
|
+
* optional float avg_win_bonus = 30;
|
|
3007
|
+
* @return {number}
|
|
3008
|
+
*/
|
|
3009
|
+
proto.analytic.DashboardResponse.prototype.getAvgWinBonus = function() {
|
|
3010
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 30, 0.0));
|
|
3011
|
+
};
|
|
3012
|
+
|
|
3013
|
+
|
|
3014
|
+
/**
|
|
3015
|
+
* @param {number} value
|
|
3016
|
+
* @return {!proto.analytic.DashboardResponse} returns this
|
|
3017
|
+
*/
|
|
3018
|
+
proto.analytic.DashboardResponse.prototype.setAvgWinBonus = function(value) {
|
|
3019
|
+
return jspb.Message.setField(this, 30, value);
|
|
3020
|
+
};
|
|
3021
|
+
|
|
3022
|
+
|
|
3023
|
+
/**
|
|
3024
|
+
* Clears the field making it undefined.
|
|
3025
|
+
* @return {!proto.analytic.DashboardResponse} returns this
|
|
3026
|
+
*/
|
|
3027
|
+
proto.analytic.DashboardResponse.prototype.clearAvgWinBonus = function() {
|
|
3028
|
+
return jspb.Message.setField(this, 30, undefined);
|
|
3029
|
+
};
|
|
3030
|
+
|
|
3031
|
+
|
|
3032
|
+
/**
|
|
3033
|
+
* Returns whether this field is set.
|
|
3034
|
+
* @return {boolean}
|
|
3035
|
+
*/
|
|
3036
|
+
proto.analytic.DashboardResponse.prototype.hasAvgWinBonus = function() {
|
|
3037
|
+
return jspb.Message.getField(this, 30) != null;
|
|
3038
|
+
};
|
|
3039
|
+
|
|
3040
|
+
|
|
2465
3041
|
|
|
2466
3042
|
|
|
2467
3043
|
|
package/config/config.proto
CHANGED
|
@@ -14,6 +14,8 @@ service Config {
|
|
|
14
14
|
rpc changeGlobalData(GlobalDataRequest) returns (ConfigStatusResponse);
|
|
15
15
|
//Currency Rates
|
|
16
16
|
rpc getCurrencyRate(CurrencyRateRequest) returns (CurrencyRateResponse);
|
|
17
|
+
//Countries
|
|
18
|
+
rpc getCountriesList(PaginationRequest) returns (CountriesResponse);
|
|
17
19
|
//OpenAI
|
|
18
20
|
rpc generateText(PromptRequest) returns (GeneratedTextResponse);
|
|
19
21
|
//Countries data
|
|
@@ -46,6 +48,7 @@ message PaginationRequest {
|
|
|
46
48
|
optional string order = 3;
|
|
47
49
|
optional MirrorSearchRequest mirror_search_params = 4;
|
|
48
50
|
optional MirrorCountriesRequest mirror_country_params = 5;
|
|
51
|
+
optional CountriesRequest country_params = 6;
|
|
49
52
|
}
|
|
50
53
|
message MirrorSearchRequest {
|
|
51
54
|
optional string title = 1;
|
|
@@ -60,6 +63,10 @@ message MirrorCountriesRequest {
|
|
|
60
63
|
optional string type = 2;
|
|
61
64
|
repeated string countries = 3;
|
|
62
65
|
}
|
|
66
|
+
message CountriesRequest {
|
|
67
|
+
optional string name = 1;
|
|
68
|
+
optional string code = 2;
|
|
69
|
+
}
|
|
63
70
|
//Service settings
|
|
64
71
|
message SettingsRequest {
|
|
65
72
|
string environment = 1;
|
|
@@ -138,6 +145,11 @@ message CommonCountriesRequest {
|
|
|
138
145
|
message CommonCountriesResponse {
|
|
139
146
|
repeated CountryItem countries = 1;
|
|
140
147
|
}
|
|
148
|
+
message CountriesResponse {
|
|
149
|
+
repeated MirrorItem items = 1;
|
|
150
|
+
optional int32 total_pages = 2;
|
|
151
|
+
optional int32 total_items = 3;
|
|
152
|
+
}
|
|
141
153
|
//File Uploads
|
|
142
154
|
message R2FileRequest {
|
|
143
155
|
string environment = 1;
|
package/config/config_grpc_pb.js
CHANGED
|
@@ -70,6 +70,17 @@ function deserialize_config_ConfigStatusResponse(buffer_arg) {
|
|
|
70
70
|
return config_pb.ConfigStatusResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
+
function serialize_config_CountriesResponse(arg) {
|
|
74
|
+
if (!(arg instanceof config_pb.CountriesResponse)) {
|
|
75
|
+
throw new Error('Expected argument of type config.CountriesResponse');
|
|
76
|
+
}
|
|
77
|
+
return Buffer.from(arg.serializeBinary());
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
function deserialize_config_CountriesResponse(buffer_arg) {
|
|
81
|
+
return config_pb.CountriesResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
82
|
+
}
|
|
83
|
+
|
|
73
84
|
function serialize_config_CurrencyRateRequest(arg) {
|
|
74
85
|
if (!(arg instanceof config_pb.CurrencyRateRequest)) {
|
|
75
86
|
throw new Error('Expected argument of type config.CurrencyRateRequest');
|
|
@@ -439,6 +450,18 @@ getCurrencyRate: {
|
|
|
439
450
|
responseSerialize: serialize_config_CurrencyRateResponse,
|
|
440
451
|
responseDeserialize: deserialize_config_CurrencyRateResponse,
|
|
441
452
|
},
|
|
453
|
+
// Countries
|
|
454
|
+
getCountriesList: {
|
|
455
|
+
path: '/config.Config/getCountriesList',
|
|
456
|
+
requestStream: false,
|
|
457
|
+
responseStream: false,
|
|
458
|
+
requestType: config_pb.PaginationRequest,
|
|
459
|
+
responseType: config_pb.CountriesResponse,
|
|
460
|
+
requestSerialize: serialize_config_PaginationRequest,
|
|
461
|
+
requestDeserialize: deserialize_config_PaginationRequest,
|
|
462
|
+
responseSerialize: serialize_config_CountriesResponse,
|
|
463
|
+
responseDeserialize: deserialize_config_CountriesResponse,
|
|
464
|
+
},
|
|
442
465
|
// OpenAI
|
|
443
466
|
generateText: {
|
|
444
467
|
path: '/config.Config/generateText',
|
package/config/config_pb.js
CHANGED
|
@@ -27,6 +27,8 @@ goog.exportSymbol('proto.config.CommonCountriesResponse', null, global);
|
|
|
27
27
|
goog.exportSymbol('proto.config.ConfigDataResponse', null, global);
|
|
28
28
|
goog.exportSymbol('proto.config.ConfigRequest', null, global);
|
|
29
29
|
goog.exportSymbol('proto.config.ConfigStatusResponse', null, global);
|
|
30
|
+
goog.exportSymbol('proto.config.CountriesRequest', null, global);
|
|
31
|
+
goog.exportSymbol('proto.config.CountriesResponse', null, global);
|
|
30
32
|
goog.exportSymbol('proto.config.CountryItem', null, global);
|
|
31
33
|
goog.exportSymbol('proto.config.CurrencyRateRequest', null, global);
|
|
32
34
|
goog.exportSymbol('proto.config.CurrencyRateResponse', null, global);
|
|
@@ -162,6 +164,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
162
164
|
*/
|
|
163
165
|
proto.config.MirrorCountriesRequest.displayName = 'proto.config.MirrorCountriesRequest';
|
|
164
166
|
}
|
|
167
|
+
/**
|
|
168
|
+
* Generated by JsPbCodeGenerator.
|
|
169
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
170
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
171
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
172
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
173
|
+
* valid.
|
|
174
|
+
* @extends {jspb.Message}
|
|
175
|
+
* @constructor
|
|
176
|
+
*/
|
|
177
|
+
proto.config.CountriesRequest = function(opt_data) {
|
|
178
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
179
|
+
};
|
|
180
|
+
goog.inherits(proto.config.CountriesRequest, jspb.Message);
|
|
181
|
+
if (goog.DEBUG && !COMPILED) {
|
|
182
|
+
/**
|
|
183
|
+
* @public
|
|
184
|
+
* @override
|
|
185
|
+
*/
|
|
186
|
+
proto.config.CountriesRequest.displayName = 'proto.config.CountriesRequest';
|
|
187
|
+
}
|
|
165
188
|
/**
|
|
166
189
|
* Generated by JsPbCodeGenerator.
|
|
167
190
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -477,6 +500,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
477
500
|
*/
|
|
478
501
|
proto.config.CommonCountriesResponse.displayName = 'proto.config.CommonCountriesResponse';
|
|
479
502
|
}
|
|
503
|
+
/**
|
|
504
|
+
* Generated by JsPbCodeGenerator.
|
|
505
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
506
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
507
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
508
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
509
|
+
* valid.
|
|
510
|
+
* @extends {jspb.Message}
|
|
511
|
+
* @constructor
|
|
512
|
+
*/
|
|
513
|
+
proto.config.CountriesResponse = function(opt_data) {
|
|
514
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.config.CountriesResponse.repeatedFields_, null);
|
|
515
|
+
};
|
|
516
|
+
goog.inherits(proto.config.CountriesResponse, jspb.Message);
|
|
517
|
+
if (goog.DEBUG && !COMPILED) {
|
|
518
|
+
/**
|
|
519
|
+
* @public
|
|
520
|
+
* @override
|
|
521
|
+
*/
|
|
522
|
+
proto.config.CountriesResponse.displayName = 'proto.config.CountriesResponse';
|
|
523
|
+
}
|
|
480
524
|
/**
|
|
481
525
|
* Generated by JsPbCodeGenerator.
|
|
482
526
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -1109,7 +1153,8 @@ proto.config.PaginationRequest.toObject = function(includeInstance, msg) {
|
|
|
1109
1153
|
offset: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
1110
1154
|
order: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
1111
1155
|
mirrorSearchParams: (f = msg.getMirrorSearchParams()) && proto.config.MirrorSearchRequest.toObject(includeInstance, f),
|
|
1112
|
-
mirrorCountryParams: (f = msg.getMirrorCountryParams()) && proto.config.MirrorCountriesRequest.toObject(includeInstance, f)
|
|
1156
|
+
mirrorCountryParams: (f = msg.getMirrorCountryParams()) && proto.config.MirrorCountriesRequest.toObject(includeInstance, f),
|
|
1157
|
+
countryParams: (f = msg.getCountryParams()) && proto.config.CountriesRequest.toObject(includeInstance, f)
|
|
1113
1158
|
};
|
|
1114
1159
|
|
|
1115
1160
|
if (includeInstance) {
|
|
@@ -1168,6 +1213,11 @@ proto.config.PaginationRequest.deserializeBinaryFromReader = function(msg, reade
|
|
|
1168
1213
|
reader.readMessage(value,proto.config.MirrorCountriesRequest.deserializeBinaryFromReader);
|
|
1169
1214
|
msg.setMirrorCountryParams(value);
|
|
1170
1215
|
break;
|
|
1216
|
+
case 6:
|
|
1217
|
+
var value = new proto.config.CountriesRequest;
|
|
1218
|
+
reader.readMessage(value,proto.config.CountriesRequest.deserializeBinaryFromReader);
|
|
1219
|
+
msg.setCountryParams(value);
|
|
1220
|
+
break;
|
|
1171
1221
|
default:
|
|
1172
1222
|
reader.skipField();
|
|
1173
1223
|
break;
|
|
@@ -1234,6 +1284,14 @@ proto.config.PaginationRequest.serializeBinaryToWriter = function(message, write
|
|
|
1234
1284
|
proto.config.MirrorCountriesRequest.serializeBinaryToWriter
|
|
1235
1285
|
);
|
|
1236
1286
|
}
|
|
1287
|
+
f = message.getCountryParams();
|
|
1288
|
+
if (f != null) {
|
|
1289
|
+
writer.writeMessage(
|
|
1290
|
+
6,
|
|
1291
|
+
f,
|
|
1292
|
+
proto.config.CountriesRequest.serializeBinaryToWriter
|
|
1293
|
+
);
|
|
1294
|
+
}
|
|
1237
1295
|
};
|
|
1238
1296
|
|
|
1239
1297
|
|
|
@@ -1383,6 +1441,43 @@ proto.config.PaginationRequest.prototype.hasMirrorCountryParams = function() {
|
|
|
1383
1441
|
};
|
|
1384
1442
|
|
|
1385
1443
|
|
|
1444
|
+
/**
|
|
1445
|
+
* optional CountriesRequest country_params = 6;
|
|
1446
|
+
* @return {?proto.config.CountriesRequest}
|
|
1447
|
+
*/
|
|
1448
|
+
proto.config.PaginationRequest.prototype.getCountryParams = function() {
|
|
1449
|
+
return /** @type{?proto.config.CountriesRequest} */ (
|
|
1450
|
+
jspb.Message.getWrapperField(this, proto.config.CountriesRequest, 6));
|
|
1451
|
+
};
|
|
1452
|
+
|
|
1453
|
+
|
|
1454
|
+
/**
|
|
1455
|
+
* @param {?proto.config.CountriesRequest|undefined} value
|
|
1456
|
+
* @return {!proto.config.PaginationRequest} returns this
|
|
1457
|
+
*/
|
|
1458
|
+
proto.config.PaginationRequest.prototype.setCountryParams = function(value) {
|
|
1459
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
1460
|
+
};
|
|
1461
|
+
|
|
1462
|
+
|
|
1463
|
+
/**
|
|
1464
|
+
* Clears the message field making it undefined.
|
|
1465
|
+
* @return {!proto.config.PaginationRequest} returns this
|
|
1466
|
+
*/
|
|
1467
|
+
proto.config.PaginationRequest.prototype.clearCountryParams = function() {
|
|
1468
|
+
return this.setCountryParams(undefined);
|
|
1469
|
+
};
|
|
1470
|
+
|
|
1471
|
+
|
|
1472
|
+
/**
|
|
1473
|
+
* Returns whether this field is set.
|
|
1474
|
+
* @return {boolean}
|
|
1475
|
+
*/
|
|
1476
|
+
proto.config.PaginationRequest.prototype.hasCountryParams = function() {
|
|
1477
|
+
return jspb.Message.getField(this, 6) != null;
|
|
1478
|
+
};
|
|
1479
|
+
|
|
1480
|
+
|
|
1386
1481
|
|
|
1387
1482
|
/**
|
|
1388
1483
|
* List of repeated fields within this message type.
|
|
@@ -2036,6 +2131,202 @@ proto.config.MirrorCountriesRequest.prototype.clearCountriesList = function() {
|
|
|
2036
2131
|
|
|
2037
2132
|
|
|
2038
2133
|
|
|
2134
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2135
|
+
/**
|
|
2136
|
+
* Creates an object representation of this proto.
|
|
2137
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2138
|
+
* Optional fields that are not set will be set to undefined.
|
|
2139
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2140
|
+
* For the list of reserved names please see:
|
|
2141
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2142
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2143
|
+
* JSPB instance for transitional soy proto support:
|
|
2144
|
+
* http://goto/soy-param-migration
|
|
2145
|
+
* @return {!Object}
|
|
2146
|
+
*/
|
|
2147
|
+
proto.config.CountriesRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2148
|
+
return proto.config.CountriesRequest.toObject(opt_includeInstance, this);
|
|
2149
|
+
};
|
|
2150
|
+
|
|
2151
|
+
|
|
2152
|
+
/**
|
|
2153
|
+
* Static version of the {@see toObject} method.
|
|
2154
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2155
|
+
* the JSPB instance for transitional soy proto support:
|
|
2156
|
+
* http://goto/soy-param-migration
|
|
2157
|
+
* @param {!proto.config.CountriesRequest} msg The msg instance to transform.
|
|
2158
|
+
* @return {!Object}
|
|
2159
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2160
|
+
*/
|
|
2161
|
+
proto.config.CountriesRequest.toObject = function(includeInstance, msg) {
|
|
2162
|
+
var f, obj = {
|
|
2163
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2164
|
+
code: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
2165
|
+
};
|
|
2166
|
+
|
|
2167
|
+
if (includeInstance) {
|
|
2168
|
+
obj.$jspbMessageInstance = msg;
|
|
2169
|
+
}
|
|
2170
|
+
return obj;
|
|
2171
|
+
};
|
|
2172
|
+
}
|
|
2173
|
+
|
|
2174
|
+
|
|
2175
|
+
/**
|
|
2176
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2177
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2178
|
+
* @return {!proto.config.CountriesRequest}
|
|
2179
|
+
*/
|
|
2180
|
+
proto.config.CountriesRequest.deserializeBinary = function(bytes) {
|
|
2181
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2182
|
+
var msg = new proto.config.CountriesRequest;
|
|
2183
|
+
return proto.config.CountriesRequest.deserializeBinaryFromReader(msg, reader);
|
|
2184
|
+
};
|
|
2185
|
+
|
|
2186
|
+
|
|
2187
|
+
/**
|
|
2188
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2189
|
+
* given reader into the given message object.
|
|
2190
|
+
* @param {!proto.config.CountriesRequest} msg The message object to deserialize into.
|
|
2191
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2192
|
+
* @return {!proto.config.CountriesRequest}
|
|
2193
|
+
*/
|
|
2194
|
+
proto.config.CountriesRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2195
|
+
while (reader.nextField()) {
|
|
2196
|
+
if (reader.isEndGroup()) {
|
|
2197
|
+
break;
|
|
2198
|
+
}
|
|
2199
|
+
var field = reader.getFieldNumber();
|
|
2200
|
+
switch (field) {
|
|
2201
|
+
case 1:
|
|
2202
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2203
|
+
msg.setName(value);
|
|
2204
|
+
break;
|
|
2205
|
+
case 2:
|
|
2206
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2207
|
+
msg.setCode(value);
|
|
2208
|
+
break;
|
|
2209
|
+
default:
|
|
2210
|
+
reader.skipField();
|
|
2211
|
+
break;
|
|
2212
|
+
}
|
|
2213
|
+
}
|
|
2214
|
+
return msg;
|
|
2215
|
+
};
|
|
2216
|
+
|
|
2217
|
+
|
|
2218
|
+
/**
|
|
2219
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2220
|
+
* @return {!Uint8Array}
|
|
2221
|
+
*/
|
|
2222
|
+
proto.config.CountriesRequest.prototype.serializeBinary = function() {
|
|
2223
|
+
var writer = new jspb.BinaryWriter();
|
|
2224
|
+
proto.config.CountriesRequest.serializeBinaryToWriter(this, writer);
|
|
2225
|
+
return writer.getResultBuffer();
|
|
2226
|
+
};
|
|
2227
|
+
|
|
2228
|
+
|
|
2229
|
+
/**
|
|
2230
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2231
|
+
* format), writing to the given BinaryWriter.
|
|
2232
|
+
* @param {!proto.config.CountriesRequest} message
|
|
2233
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2234
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2235
|
+
*/
|
|
2236
|
+
proto.config.CountriesRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2237
|
+
var f = undefined;
|
|
2238
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 1));
|
|
2239
|
+
if (f != null) {
|
|
2240
|
+
writer.writeString(
|
|
2241
|
+
1,
|
|
2242
|
+
f
|
|
2243
|
+
);
|
|
2244
|
+
}
|
|
2245
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
2246
|
+
if (f != null) {
|
|
2247
|
+
writer.writeString(
|
|
2248
|
+
2,
|
|
2249
|
+
f
|
|
2250
|
+
);
|
|
2251
|
+
}
|
|
2252
|
+
};
|
|
2253
|
+
|
|
2254
|
+
|
|
2255
|
+
/**
|
|
2256
|
+
* optional string name = 1;
|
|
2257
|
+
* @return {string}
|
|
2258
|
+
*/
|
|
2259
|
+
proto.config.CountriesRequest.prototype.getName = function() {
|
|
2260
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2261
|
+
};
|
|
2262
|
+
|
|
2263
|
+
|
|
2264
|
+
/**
|
|
2265
|
+
* @param {string} value
|
|
2266
|
+
* @return {!proto.config.CountriesRequest} returns this
|
|
2267
|
+
*/
|
|
2268
|
+
proto.config.CountriesRequest.prototype.setName = function(value) {
|
|
2269
|
+
return jspb.Message.setField(this, 1, value);
|
|
2270
|
+
};
|
|
2271
|
+
|
|
2272
|
+
|
|
2273
|
+
/**
|
|
2274
|
+
* Clears the field making it undefined.
|
|
2275
|
+
* @return {!proto.config.CountriesRequest} returns this
|
|
2276
|
+
*/
|
|
2277
|
+
proto.config.CountriesRequest.prototype.clearName = function() {
|
|
2278
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
2279
|
+
};
|
|
2280
|
+
|
|
2281
|
+
|
|
2282
|
+
/**
|
|
2283
|
+
* Returns whether this field is set.
|
|
2284
|
+
* @return {boolean}
|
|
2285
|
+
*/
|
|
2286
|
+
proto.config.CountriesRequest.prototype.hasName = function() {
|
|
2287
|
+
return jspb.Message.getField(this, 1) != null;
|
|
2288
|
+
};
|
|
2289
|
+
|
|
2290
|
+
|
|
2291
|
+
/**
|
|
2292
|
+
* optional string code = 2;
|
|
2293
|
+
* @return {string}
|
|
2294
|
+
*/
|
|
2295
|
+
proto.config.CountriesRequest.prototype.getCode = function() {
|
|
2296
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
2297
|
+
};
|
|
2298
|
+
|
|
2299
|
+
|
|
2300
|
+
/**
|
|
2301
|
+
* @param {string} value
|
|
2302
|
+
* @return {!proto.config.CountriesRequest} returns this
|
|
2303
|
+
*/
|
|
2304
|
+
proto.config.CountriesRequest.prototype.setCode = function(value) {
|
|
2305
|
+
return jspb.Message.setField(this, 2, value);
|
|
2306
|
+
};
|
|
2307
|
+
|
|
2308
|
+
|
|
2309
|
+
/**
|
|
2310
|
+
* Clears the field making it undefined.
|
|
2311
|
+
* @return {!proto.config.CountriesRequest} returns this
|
|
2312
|
+
*/
|
|
2313
|
+
proto.config.CountriesRequest.prototype.clearCode = function() {
|
|
2314
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
2315
|
+
};
|
|
2316
|
+
|
|
2317
|
+
|
|
2318
|
+
/**
|
|
2319
|
+
* Returns whether this field is set.
|
|
2320
|
+
* @return {boolean}
|
|
2321
|
+
*/
|
|
2322
|
+
proto.config.CountriesRequest.prototype.hasCode = function() {
|
|
2323
|
+
return jspb.Message.getField(this, 2) != null;
|
|
2324
|
+
};
|
|
2325
|
+
|
|
2326
|
+
|
|
2327
|
+
|
|
2328
|
+
|
|
2329
|
+
|
|
2039
2330
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2040
2331
|
/**
|
|
2041
2332
|
* Creates an object representation of this proto.
|
|
@@ -5141,6 +5432,262 @@ proto.config.CommonCountriesResponse.prototype.clearCountriesList = function() {
|
|
|
5141
5432
|
|
|
5142
5433
|
|
|
5143
5434
|
|
|
5435
|
+
/**
|
|
5436
|
+
* List of repeated fields within this message type.
|
|
5437
|
+
* @private {!Array<number>}
|
|
5438
|
+
* @const
|
|
5439
|
+
*/
|
|
5440
|
+
proto.config.CountriesResponse.repeatedFields_ = [1];
|
|
5441
|
+
|
|
5442
|
+
|
|
5443
|
+
|
|
5444
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5445
|
+
/**
|
|
5446
|
+
* Creates an object representation of this proto.
|
|
5447
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
5448
|
+
* Optional fields that are not set will be set to undefined.
|
|
5449
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
5450
|
+
* For the list of reserved names please see:
|
|
5451
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
5452
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
5453
|
+
* JSPB instance for transitional soy proto support:
|
|
5454
|
+
* http://goto/soy-param-migration
|
|
5455
|
+
* @return {!Object}
|
|
5456
|
+
*/
|
|
5457
|
+
proto.config.CountriesResponse.prototype.toObject = function(opt_includeInstance) {
|
|
5458
|
+
return proto.config.CountriesResponse.toObject(opt_includeInstance, this);
|
|
5459
|
+
};
|
|
5460
|
+
|
|
5461
|
+
|
|
5462
|
+
/**
|
|
5463
|
+
* Static version of the {@see toObject} method.
|
|
5464
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5465
|
+
* the JSPB instance for transitional soy proto support:
|
|
5466
|
+
* http://goto/soy-param-migration
|
|
5467
|
+
* @param {!proto.config.CountriesResponse} msg The msg instance to transform.
|
|
5468
|
+
* @return {!Object}
|
|
5469
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5470
|
+
*/
|
|
5471
|
+
proto.config.CountriesResponse.toObject = function(includeInstance, msg) {
|
|
5472
|
+
var f, obj = {
|
|
5473
|
+
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
|
5474
|
+
proto.config.MirrorItem.toObject, includeInstance),
|
|
5475
|
+
totalPages: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
5476
|
+
totalItems: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
5477
|
+
};
|
|
5478
|
+
|
|
5479
|
+
if (includeInstance) {
|
|
5480
|
+
obj.$jspbMessageInstance = msg;
|
|
5481
|
+
}
|
|
5482
|
+
return obj;
|
|
5483
|
+
};
|
|
5484
|
+
}
|
|
5485
|
+
|
|
5486
|
+
|
|
5487
|
+
/**
|
|
5488
|
+
* Deserializes binary data (in protobuf wire format).
|
|
5489
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5490
|
+
* @return {!proto.config.CountriesResponse}
|
|
5491
|
+
*/
|
|
5492
|
+
proto.config.CountriesResponse.deserializeBinary = function(bytes) {
|
|
5493
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
5494
|
+
var msg = new proto.config.CountriesResponse;
|
|
5495
|
+
return proto.config.CountriesResponse.deserializeBinaryFromReader(msg, reader);
|
|
5496
|
+
};
|
|
5497
|
+
|
|
5498
|
+
|
|
5499
|
+
/**
|
|
5500
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
5501
|
+
* given reader into the given message object.
|
|
5502
|
+
* @param {!proto.config.CountriesResponse} msg The message object to deserialize into.
|
|
5503
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5504
|
+
* @return {!proto.config.CountriesResponse}
|
|
5505
|
+
*/
|
|
5506
|
+
proto.config.CountriesResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
5507
|
+
while (reader.nextField()) {
|
|
5508
|
+
if (reader.isEndGroup()) {
|
|
5509
|
+
break;
|
|
5510
|
+
}
|
|
5511
|
+
var field = reader.getFieldNumber();
|
|
5512
|
+
switch (field) {
|
|
5513
|
+
case 1:
|
|
5514
|
+
var value = new proto.config.MirrorItem;
|
|
5515
|
+
reader.readMessage(value,proto.config.MirrorItem.deserializeBinaryFromReader);
|
|
5516
|
+
msg.addItems(value);
|
|
5517
|
+
break;
|
|
5518
|
+
case 2:
|
|
5519
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
5520
|
+
msg.setTotalPages(value);
|
|
5521
|
+
break;
|
|
5522
|
+
case 3:
|
|
5523
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
5524
|
+
msg.setTotalItems(value);
|
|
5525
|
+
break;
|
|
5526
|
+
default:
|
|
5527
|
+
reader.skipField();
|
|
5528
|
+
break;
|
|
5529
|
+
}
|
|
5530
|
+
}
|
|
5531
|
+
return msg;
|
|
5532
|
+
};
|
|
5533
|
+
|
|
5534
|
+
|
|
5535
|
+
/**
|
|
5536
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
5537
|
+
* @return {!Uint8Array}
|
|
5538
|
+
*/
|
|
5539
|
+
proto.config.CountriesResponse.prototype.serializeBinary = function() {
|
|
5540
|
+
var writer = new jspb.BinaryWriter();
|
|
5541
|
+
proto.config.CountriesResponse.serializeBinaryToWriter(this, writer);
|
|
5542
|
+
return writer.getResultBuffer();
|
|
5543
|
+
};
|
|
5544
|
+
|
|
5545
|
+
|
|
5546
|
+
/**
|
|
5547
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
5548
|
+
* format), writing to the given BinaryWriter.
|
|
5549
|
+
* @param {!proto.config.CountriesResponse} message
|
|
5550
|
+
* @param {!jspb.BinaryWriter} writer
|
|
5551
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5552
|
+
*/
|
|
5553
|
+
proto.config.CountriesResponse.serializeBinaryToWriter = function(message, writer) {
|
|
5554
|
+
var f = undefined;
|
|
5555
|
+
f = message.getItemsList();
|
|
5556
|
+
if (f.length > 0) {
|
|
5557
|
+
writer.writeRepeatedMessage(
|
|
5558
|
+
1,
|
|
5559
|
+
f,
|
|
5560
|
+
proto.config.MirrorItem.serializeBinaryToWriter
|
|
5561
|
+
);
|
|
5562
|
+
}
|
|
5563
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 2));
|
|
5564
|
+
if (f != null) {
|
|
5565
|
+
writer.writeInt32(
|
|
5566
|
+
2,
|
|
5567
|
+
f
|
|
5568
|
+
);
|
|
5569
|
+
}
|
|
5570
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
|
5571
|
+
if (f != null) {
|
|
5572
|
+
writer.writeInt32(
|
|
5573
|
+
3,
|
|
5574
|
+
f
|
|
5575
|
+
);
|
|
5576
|
+
}
|
|
5577
|
+
};
|
|
5578
|
+
|
|
5579
|
+
|
|
5580
|
+
/**
|
|
5581
|
+
* repeated MirrorItem items = 1;
|
|
5582
|
+
* @return {!Array<!proto.config.MirrorItem>}
|
|
5583
|
+
*/
|
|
5584
|
+
proto.config.CountriesResponse.prototype.getItemsList = function() {
|
|
5585
|
+
return /** @type{!Array<!proto.config.MirrorItem>} */ (
|
|
5586
|
+
jspb.Message.getRepeatedWrapperField(this, proto.config.MirrorItem, 1));
|
|
5587
|
+
};
|
|
5588
|
+
|
|
5589
|
+
|
|
5590
|
+
/**
|
|
5591
|
+
* @param {!Array<!proto.config.MirrorItem>} value
|
|
5592
|
+
* @return {!proto.config.CountriesResponse} returns this
|
|
5593
|
+
*/
|
|
5594
|
+
proto.config.CountriesResponse.prototype.setItemsList = function(value) {
|
|
5595
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
5596
|
+
};
|
|
5597
|
+
|
|
5598
|
+
|
|
5599
|
+
/**
|
|
5600
|
+
* @param {!proto.config.MirrorItem=} opt_value
|
|
5601
|
+
* @param {number=} opt_index
|
|
5602
|
+
* @return {!proto.config.MirrorItem}
|
|
5603
|
+
*/
|
|
5604
|
+
proto.config.CountriesResponse.prototype.addItems = function(opt_value, opt_index) {
|
|
5605
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.config.MirrorItem, opt_index);
|
|
5606
|
+
};
|
|
5607
|
+
|
|
5608
|
+
|
|
5609
|
+
/**
|
|
5610
|
+
* Clears the list making it empty but non-null.
|
|
5611
|
+
* @return {!proto.config.CountriesResponse} returns this
|
|
5612
|
+
*/
|
|
5613
|
+
proto.config.CountriesResponse.prototype.clearItemsList = function() {
|
|
5614
|
+
return this.setItemsList([]);
|
|
5615
|
+
};
|
|
5616
|
+
|
|
5617
|
+
|
|
5618
|
+
/**
|
|
5619
|
+
* optional int32 total_pages = 2;
|
|
5620
|
+
* @return {number}
|
|
5621
|
+
*/
|
|
5622
|
+
proto.config.CountriesResponse.prototype.getTotalPages = function() {
|
|
5623
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
5624
|
+
};
|
|
5625
|
+
|
|
5626
|
+
|
|
5627
|
+
/**
|
|
5628
|
+
* @param {number} value
|
|
5629
|
+
* @return {!proto.config.CountriesResponse} returns this
|
|
5630
|
+
*/
|
|
5631
|
+
proto.config.CountriesResponse.prototype.setTotalPages = function(value) {
|
|
5632
|
+
return jspb.Message.setField(this, 2, value);
|
|
5633
|
+
};
|
|
5634
|
+
|
|
5635
|
+
|
|
5636
|
+
/**
|
|
5637
|
+
* Clears the field making it undefined.
|
|
5638
|
+
* @return {!proto.config.CountriesResponse} returns this
|
|
5639
|
+
*/
|
|
5640
|
+
proto.config.CountriesResponse.prototype.clearTotalPages = function() {
|
|
5641
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
5642
|
+
};
|
|
5643
|
+
|
|
5644
|
+
|
|
5645
|
+
/**
|
|
5646
|
+
* Returns whether this field is set.
|
|
5647
|
+
* @return {boolean}
|
|
5648
|
+
*/
|
|
5649
|
+
proto.config.CountriesResponse.prototype.hasTotalPages = function() {
|
|
5650
|
+
return jspb.Message.getField(this, 2) != null;
|
|
5651
|
+
};
|
|
5652
|
+
|
|
5653
|
+
|
|
5654
|
+
/**
|
|
5655
|
+
* optional int32 total_items = 3;
|
|
5656
|
+
* @return {number}
|
|
5657
|
+
*/
|
|
5658
|
+
proto.config.CountriesResponse.prototype.getTotalItems = function() {
|
|
5659
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
5660
|
+
};
|
|
5661
|
+
|
|
5662
|
+
|
|
5663
|
+
/**
|
|
5664
|
+
* @param {number} value
|
|
5665
|
+
* @return {!proto.config.CountriesResponse} returns this
|
|
5666
|
+
*/
|
|
5667
|
+
proto.config.CountriesResponse.prototype.setTotalItems = function(value) {
|
|
5668
|
+
return jspb.Message.setField(this, 3, value);
|
|
5669
|
+
};
|
|
5670
|
+
|
|
5671
|
+
|
|
5672
|
+
/**
|
|
5673
|
+
* Clears the field making it undefined.
|
|
5674
|
+
* @return {!proto.config.CountriesResponse} returns this
|
|
5675
|
+
*/
|
|
5676
|
+
proto.config.CountriesResponse.prototype.clearTotalItems = function() {
|
|
5677
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
5678
|
+
};
|
|
5679
|
+
|
|
5680
|
+
|
|
5681
|
+
/**
|
|
5682
|
+
* Returns whether this field is set.
|
|
5683
|
+
* @return {boolean}
|
|
5684
|
+
*/
|
|
5685
|
+
proto.config.CountriesResponse.prototype.hasTotalItems = function() {
|
|
5686
|
+
return jspb.Message.getField(this, 3) != null;
|
|
5687
|
+
};
|
|
5688
|
+
|
|
5689
|
+
|
|
5690
|
+
|
|
5144
5691
|
|
|
5145
5692
|
|
|
5146
5693
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|