protobuf-platform 1.1.34 → 1.1.36
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/bonus/bonus.proto +15 -7
- package/bonus/bonus_pb.js +535 -97
- package/package.json +1 -1
package/bonus/bonus.proto
CHANGED
@@ -45,21 +45,28 @@ message BonusRequest {
|
|
45
45
|
message BonusActivationRulesRequest {
|
46
46
|
int32 bonus_id = 1;
|
47
47
|
string currency = 2;
|
48
|
-
|
49
|
-
optional
|
48
|
+
optional int32 deposit_required = 3;
|
49
|
+
optional float deposit_min = 4;
|
50
|
+
optional float deposit_max = 5;
|
51
|
+
optional int32 deposit_number = 6;
|
52
|
+
optional float cancellation_amount = 7;
|
53
|
+
optional string promo_code = 8;
|
50
54
|
}
|
51
55
|
message BonusRewardsRequest {
|
52
56
|
int32 bonus_id = 1;
|
53
57
|
string currency = 2;
|
54
|
-
|
55
|
-
optional
|
58
|
+
optional float deposit_static = 3;
|
59
|
+
optional float deposit_percentage = 4;
|
60
|
+
optional float coins = 5;
|
61
|
+
optional float loyalty = 6;
|
62
|
+
optional float ranking = 7;
|
63
|
+
optional string free_spins_config = 8;
|
56
64
|
}
|
57
65
|
message BonusBetRangesRequest {
|
58
66
|
int32 bonus_id = 1;
|
59
67
|
string currency = 2;
|
60
|
-
|
61
|
-
optional float
|
62
|
-
optional float max = 5;
|
68
|
+
optional float min = 3;
|
69
|
+
optional float max = 4;
|
63
70
|
}
|
64
71
|
message ActivationRule {
|
65
72
|
string type = 1;
|
@@ -96,6 +103,7 @@ message BonusItemRequest {
|
|
96
103
|
optional int32 claim_period_in_hours = 17;
|
97
104
|
optional int32 activation_period_in_hours = 18;
|
98
105
|
optional int32 wagering_period_in_hours = 19;
|
106
|
+
optional string status_data = 20;
|
99
107
|
}
|
100
108
|
message GetBonusRequest {
|
101
109
|
int32 id = 1;
|
package/bonus/bonus_pb.js
CHANGED
@@ -1685,8 +1685,12 @@ proto.bonus.BonusActivationRulesRequest.toObject = function(includeInstance, msg
|
|
1685
1685
|
var f, obj = {
|
1686
1686
|
bonusId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
1687
1687
|
currency: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
1688
|
-
|
1689
|
-
|
1688
|
+
depositRequired: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
1689
|
+
depositMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
1690
|
+
depositMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
|
1691
|
+
depositNumber: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
1692
|
+
cancellationAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
|
1693
|
+
promoCode: jspb.Message.getFieldWithDefault(msg, 8, "")
|
1690
1694
|
};
|
1691
1695
|
|
1692
1696
|
if (includeInstance) {
|
@@ -1732,12 +1736,28 @@ proto.bonus.BonusActivationRulesRequest.deserializeBinaryFromReader = function(m
|
|
1732
1736
|
msg.setCurrency(value);
|
1733
1737
|
break;
|
1734
1738
|
case 3:
|
1735
|
-
var value = /** @type {
|
1736
|
-
msg.
|
1739
|
+
var value = /** @type {number} */ (reader.readInt32());
|
1740
|
+
msg.setDepositRequired(value);
|
1737
1741
|
break;
|
1738
1742
|
case 4:
|
1743
|
+
var value = /** @type {number} */ (reader.readFloat());
|
1744
|
+
msg.setDepositMin(value);
|
1745
|
+
break;
|
1746
|
+
case 5:
|
1747
|
+
var value = /** @type {number} */ (reader.readFloat());
|
1748
|
+
msg.setDepositMax(value);
|
1749
|
+
break;
|
1750
|
+
case 6:
|
1751
|
+
var value = /** @type {number} */ (reader.readInt32());
|
1752
|
+
msg.setDepositNumber(value);
|
1753
|
+
break;
|
1754
|
+
case 7:
|
1755
|
+
var value = /** @type {number} */ (reader.readFloat());
|
1756
|
+
msg.setCancellationAmount(value);
|
1757
|
+
break;
|
1758
|
+
case 8:
|
1739
1759
|
var value = /** @type {string} */ (reader.readString());
|
1740
|
-
msg.
|
1760
|
+
msg.setPromoCode(value);
|
1741
1761
|
break;
|
1742
1762
|
default:
|
1743
1763
|
reader.skipField();
|
@@ -1782,20 +1802,48 @@ proto.bonus.BonusActivationRulesRequest.serializeBinaryToWriter = function(messa
|
|
1782
1802
|
f
|
1783
1803
|
);
|
1784
1804
|
}
|
1785
|
-
f =
|
1786
|
-
if (f
|
1787
|
-
writer.
|
1805
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
1806
|
+
if (f != null) {
|
1807
|
+
writer.writeInt32(
|
1788
1808
|
3,
|
1789
1809
|
f
|
1790
1810
|
);
|
1791
1811
|
}
|
1792
|
-
f = /** @type {
|
1812
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
1793
1813
|
if (f != null) {
|
1794
|
-
writer.
|
1814
|
+
writer.writeFloat(
|
1795
1815
|
4,
|
1796
1816
|
f
|
1797
1817
|
);
|
1798
1818
|
}
|
1819
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 5));
|
1820
|
+
if (f != null) {
|
1821
|
+
writer.writeFloat(
|
1822
|
+
5,
|
1823
|
+
f
|
1824
|
+
);
|
1825
|
+
}
|
1826
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 6));
|
1827
|
+
if (f != null) {
|
1828
|
+
writer.writeInt32(
|
1829
|
+
6,
|
1830
|
+
f
|
1831
|
+
);
|
1832
|
+
}
|
1833
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 7));
|
1834
|
+
if (f != null) {
|
1835
|
+
writer.writeFloat(
|
1836
|
+
7,
|
1837
|
+
f
|
1838
|
+
);
|
1839
|
+
}
|
1840
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
1841
|
+
if (f != null) {
|
1842
|
+
writer.writeString(
|
1843
|
+
8,
|
1844
|
+
f
|
1845
|
+
);
|
1846
|
+
}
|
1799
1847
|
};
|
1800
1848
|
|
1801
1849
|
|
@@ -1836,37 +1884,55 @@ proto.bonus.BonusActivationRulesRequest.prototype.setCurrency = function(value)
|
|
1836
1884
|
|
1837
1885
|
|
1838
1886
|
/**
|
1839
|
-
* optional
|
1840
|
-
* @return {
|
1887
|
+
* optional int32 deposit_required = 3;
|
1888
|
+
* @return {number}
|
1841
1889
|
*/
|
1842
|
-
proto.bonus.BonusActivationRulesRequest.prototype.
|
1843
|
-
return /** @type {
|
1890
|
+
proto.bonus.BonusActivationRulesRequest.prototype.getDepositRequired = function() {
|
1891
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
1844
1892
|
};
|
1845
1893
|
|
1846
1894
|
|
1847
1895
|
/**
|
1848
|
-
* @param {
|
1896
|
+
* @param {number} value
|
1849
1897
|
* @return {!proto.bonus.BonusActivationRulesRequest} returns this
|
1850
1898
|
*/
|
1851
|
-
proto.bonus.BonusActivationRulesRequest.prototype.
|
1852
|
-
return jspb.Message.
|
1899
|
+
proto.bonus.BonusActivationRulesRequest.prototype.setDepositRequired = function(value) {
|
1900
|
+
return jspb.Message.setField(this, 3, value);
|
1853
1901
|
};
|
1854
1902
|
|
1855
1903
|
|
1856
1904
|
/**
|
1857
|
-
*
|
1858
|
-
* @return {
|
1905
|
+
* Clears the field making it undefined.
|
1906
|
+
* @return {!proto.bonus.BonusActivationRulesRequest} returns this
|
1859
1907
|
*/
|
1860
|
-
proto.bonus.BonusActivationRulesRequest.prototype.
|
1861
|
-
return
|
1908
|
+
proto.bonus.BonusActivationRulesRequest.prototype.clearDepositRequired = function() {
|
1909
|
+
return jspb.Message.setField(this, 3, undefined);
|
1862
1910
|
};
|
1863
1911
|
|
1864
1912
|
|
1865
1913
|
/**
|
1866
|
-
*
|
1914
|
+
* Returns whether this field is set.
|
1915
|
+
* @return {boolean}
|
1916
|
+
*/
|
1917
|
+
proto.bonus.BonusActivationRulesRequest.prototype.hasDepositRequired = function() {
|
1918
|
+
return jspb.Message.getField(this, 3) != null;
|
1919
|
+
};
|
1920
|
+
|
1921
|
+
|
1922
|
+
/**
|
1923
|
+
* optional float deposit_min = 4;
|
1924
|
+
* @return {number}
|
1925
|
+
*/
|
1926
|
+
proto.bonus.BonusActivationRulesRequest.prototype.getDepositMin = function() {
|
1927
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
|
1928
|
+
};
|
1929
|
+
|
1930
|
+
|
1931
|
+
/**
|
1932
|
+
* @param {number} value
|
1867
1933
|
* @return {!proto.bonus.BonusActivationRulesRequest} returns this
|
1868
1934
|
*/
|
1869
|
-
proto.bonus.BonusActivationRulesRequest.prototype.
|
1935
|
+
proto.bonus.BonusActivationRulesRequest.prototype.setDepositMin = function(value) {
|
1870
1936
|
return jspb.Message.setField(this, 4, value);
|
1871
1937
|
};
|
1872
1938
|
|
@@ -1875,7 +1941,7 @@ proto.bonus.BonusActivationRulesRequest.prototype.setConfig = function(value) {
|
|
1875
1941
|
* Clears the field making it undefined.
|
1876
1942
|
* @return {!proto.bonus.BonusActivationRulesRequest} returns this
|
1877
1943
|
*/
|
1878
|
-
proto.bonus.BonusActivationRulesRequest.prototype.
|
1944
|
+
proto.bonus.BonusActivationRulesRequest.prototype.clearDepositMin = function() {
|
1879
1945
|
return jspb.Message.setField(this, 4, undefined);
|
1880
1946
|
};
|
1881
1947
|
|
@@ -1884,11 +1950,155 @@ proto.bonus.BonusActivationRulesRequest.prototype.clearConfig = function() {
|
|
1884
1950
|
* Returns whether this field is set.
|
1885
1951
|
* @return {boolean}
|
1886
1952
|
*/
|
1887
|
-
proto.bonus.BonusActivationRulesRequest.prototype.
|
1953
|
+
proto.bonus.BonusActivationRulesRequest.prototype.hasDepositMin = function() {
|
1888
1954
|
return jspb.Message.getField(this, 4) != null;
|
1889
1955
|
};
|
1890
1956
|
|
1891
1957
|
|
1958
|
+
/**
|
1959
|
+
* optional float deposit_max = 5;
|
1960
|
+
* @return {number}
|
1961
|
+
*/
|
1962
|
+
proto.bonus.BonusActivationRulesRequest.prototype.getDepositMax = function() {
|
1963
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
|
1964
|
+
};
|
1965
|
+
|
1966
|
+
|
1967
|
+
/**
|
1968
|
+
* @param {number} value
|
1969
|
+
* @return {!proto.bonus.BonusActivationRulesRequest} returns this
|
1970
|
+
*/
|
1971
|
+
proto.bonus.BonusActivationRulesRequest.prototype.setDepositMax = function(value) {
|
1972
|
+
return jspb.Message.setField(this, 5, value);
|
1973
|
+
};
|
1974
|
+
|
1975
|
+
|
1976
|
+
/**
|
1977
|
+
* Clears the field making it undefined.
|
1978
|
+
* @return {!proto.bonus.BonusActivationRulesRequest} returns this
|
1979
|
+
*/
|
1980
|
+
proto.bonus.BonusActivationRulesRequest.prototype.clearDepositMax = function() {
|
1981
|
+
return jspb.Message.setField(this, 5, undefined);
|
1982
|
+
};
|
1983
|
+
|
1984
|
+
|
1985
|
+
/**
|
1986
|
+
* Returns whether this field is set.
|
1987
|
+
* @return {boolean}
|
1988
|
+
*/
|
1989
|
+
proto.bonus.BonusActivationRulesRequest.prototype.hasDepositMax = function() {
|
1990
|
+
return jspb.Message.getField(this, 5) != null;
|
1991
|
+
};
|
1992
|
+
|
1993
|
+
|
1994
|
+
/**
|
1995
|
+
* optional int32 deposit_number = 6;
|
1996
|
+
* @return {number}
|
1997
|
+
*/
|
1998
|
+
proto.bonus.BonusActivationRulesRequest.prototype.getDepositNumber = function() {
|
1999
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
2000
|
+
};
|
2001
|
+
|
2002
|
+
|
2003
|
+
/**
|
2004
|
+
* @param {number} value
|
2005
|
+
* @return {!proto.bonus.BonusActivationRulesRequest} returns this
|
2006
|
+
*/
|
2007
|
+
proto.bonus.BonusActivationRulesRequest.prototype.setDepositNumber = function(value) {
|
2008
|
+
return jspb.Message.setField(this, 6, value);
|
2009
|
+
};
|
2010
|
+
|
2011
|
+
|
2012
|
+
/**
|
2013
|
+
* Clears the field making it undefined.
|
2014
|
+
* @return {!proto.bonus.BonusActivationRulesRequest} returns this
|
2015
|
+
*/
|
2016
|
+
proto.bonus.BonusActivationRulesRequest.prototype.clearDepositNumber = function() {
|
2017
|
+
return jspb.Message.setField(this, 6, undefined);
|
2018
|
+
};
|
2019
|
+
|
2020
|
+
|
2021
|
+
/**
|
2022
|
+
* Returns whether this field is set.
|
2023
|
+
* @return {boolean}
|
2024
|
+
*/
|
2025
|
+
proto.bonus.BonusActivationRulesRequest.prototype.hasDepositNumber = function() {
|
2026
|
+
return jspb.Message.getField(this, 6) != null;
|
2027
|
+
};
|
2028
|
+
|
2029
|
+
|
2030
|
+
/**
|
2031
|
+
* optional float cancellation_amount = 7;
|
2032
|
+
* @return {number}
|
2033
|
+
*/
|
2034
|
+
proto.bonus.BonusActivationRulesRequest.prototype.getCancellationAmount = function() {
|
2035
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0));
|
2036
|
+
};
|
2037
|
+
|
2038
|
+
|
2039
|
+
/**
|
2040
|
+
* @param {number} value
|
2041
|
+
* @return {!proto.bonus.BonusActivationRulesRequest} returns this
|
2042
|
+
*/
|
2043
|
+
proto.bonus.BonusActivationRulesRequest.prototype.setCancellationAmount = function(value) {
|
2044
|
+
return jspb.Message.setField(this, 7, value);
|
2045
|
+
};
|
2046
|
+
|
2047
|
+
|
2048
|
+
/**
|
2049
|
+
* Clears the field making it undefined.
|
2050
|
+
* @return {!proto.bonus.BonusActivationRulesRequest} returns this
|
2051
|
+
*/
|
2052
|
+
proto.bonus.BonusActivationRulesRequest.prototype.clearCancellationAmount = function() {
|
2053
|
+
return jspb.Message.setField(this, 7, undefined);
|
2054
|
+
};
|
2055
|
+
|
2056
|
+
|
2057
|
+
/**
|
2058
|
+
* Returns whether this field is set.
|
2059
|
+
* @return {boolean}
|
2060
|
+
*/
|
2061
|
+
proto.bonus.BonusActivationRulesRequest.prototype.hasCancellationAmount = function() {
|
2062
|
+
return jspb.Message.getField(this, 7) != null;
|
2063
|
+
};
|
2064
|
+
|
2065
|
+
|
2066
|
+
/**
|
2067
|
+
* optional string promo_code = 8;
|
2068
|
+
* @return {string}
|
2069
|
+
*/
|
2070
|
+
proto.bonus.BonusActivationRulesRequest.prototype.getPromoCode = function() {
|
2071
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
2072
|
+
};
|
2073
|
+
|
2074
|
+
|
2075
|
+
/**
|
2076
|
+
* @param {string} value
|
2077
|
+
* @return {!proto.bonus.BonusActivationRulesRequest} returns this
|
2078
|
+
*/
|
2079
|
+
proto.bonus.BonusActivationRulesRequest.prototype.setPromoCode = function(value) {
|
2080
|
+
return jspb.Message.setField(this, 8, value);
|
2081
|
+
};
|
2082
|
+
|
2083
|
+
|
2084
|
+
/**
|
2085
|
+
* Clears the field making it undefined.
|
2086
|
+
* @return {!proto.bonus.BonusActivationRulesRequest} returns this
|
2087
|
+
*/
|
2088
|
+
proto.bonus.BonusActivationRulesRequest.prototype.clearPromoCode = function() {
|
2089
|
+
return jspb.Message.setField(this, 8, undefined);
|
2090
|
+
};
|
2091
|
+
|
2092
|
+
|
2093
|
+
/**
|
2094
|
+
* Returns whether this field is set.
|
2095
|
+
* @return {boolean}
|
2096
|
+
*/
|
2097
|
+
proto.bonus.BonusActivationRulesRequest.prototype.hasPromoCode = function() {
|
2098
|
+
return jspb.Message.getField(this, 8) != null;
|
2099
|
+
};
|
2100
|
+
|
2101
|
+
|
1892
2102
|
|
1893
2103
|
|
1894
2104
|
|
@@ -1923,8 +2133,12 @@ proto.bonus.BonusRewardsRequest.toObject = function(includeInstance, msg) {
|
|
1923
2133
|
var f, obj = {
|
1924
2134
|
bonusId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
1925
2135
|
currency: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
1926
|
-
|
1927
|
-
|
2136
|
+
depositStatic: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
2137
|
+
depositPercentage: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
2138
|
+
coins: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
|
2139
|
+
loyalty: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
2140
|
+
ranking: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
|
2141
|
+
freeSpinsConfig: jspb.Message.getFieldWithDefault(msg, 8, "")
|
1928
2142
|
};
|
1929
2143
|
|
1930
2144
|
if (includeInstance) {
|
@@ -1970,12 +2184,28 @@ proto.bonus.BonusRewardsRequest.deserializeBinaryFromReader = function(msg, read
|
|
1970
2184
|
msg.setCurrency(value);
|
1971
2185
|
break;
|
1972
2186
|
case 3:
|
1973
|
-
var value = /** @type {
|
1974
|
-
msg.
|
2187
|
+
var value = /** @type {number} */ (reader.readFloat());
|
2188
|
+
msg.setDepositStatic(value);
|
1975
2189
|
break;
|
1976
2190
|
case 4:
|
2191
|
+
var value = /** @type {number} */ (reader.readFloat());
|
2192
|
+
msg.setDepositPercentage(value);
|
2193
|
+
break;
|
2194
|
+
case 5:
|
2195
|
+
var value = /** @type {number} */ (reader.readFloat());
|
2196
|
+
msg.setCoins(value);
|
2197
|
+
break;
|
2198
|
+
case 6:
|
2199
|
+
var value = /** @type {number} */ (reader.readFloat());
|
2200
|
+
msg.setLoyalty(value);
|
2201
|
+
break;
|
2202
|
+
case 7:
|
2203
|
+
var value = /** @type {number} */ (reader.readFloat());
|
2204
|
+
msg.setRanking(value);
|
2205
|
+
break;
|
2206
|
+
case 8:
|
1977
2207
|
var value = /** @type {string} */ (reader.readString());
|
1978
|
-
msg.
|
2208
|
+
msg.setFreeSpinsConfig(value);
|
1979
2209
|
break;
|
1980
2210
|
default:
|
1981
2211
|
reader.skipField();
|
@@ -2020,20 +2250,48 @@ proto.bonus.BonusRewardsRequest.serializeBinaryToWriter = function(message, writ
|
|
2020
2250
|
f
|
2021
2251
|
);
|
2022
2252
|
}
|
2023
|
-
f =
|
2024
|
-
if (f
|
2025
|
-
writer.
|
2253
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
2254
|
+
if (f != null) {
|
2255
|
+
writer.writeFloat(
|
2026
2256
|
3,
|
2027
2257
|
f
|
2028
2258
|
);
|
2029
2259
|
}
|
2030
|
-
f = /** @type {
|
2260
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
2031
2261
|
if (f != null) {
|
2032
|
-
writer.
|
2262
|
+
writer.writeFloat(
|
2033
2263
|
4,
|
2034
2264
|
f
|
2035
2265
|
);
|
2036
2266
|
}
|
2267
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 5));
|
2268
|
+
if (f != null) {
|
2269
|
+
writer.writeFloat(
|
2270
|
+
5,
|
2271
|
+
f
|
2272
|
+
);
|
2273
|
+
}
|
2274
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 6));
|
2275
|
+
if (f != null) {
|
2276
|
+
writer.writeFloat(
|
2277
|
+
6,
|
2278
|
+
f
|
2279
|
+
);
|
2280
|
+
}
|
2281
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 7));
|
2282
|
+
if (f != null) {
|
2283
|
+
writer.writeFloat(
|
2284
|
+
7,
|
2285
|
+
f
|
2286
|
+
);
|
2287
|
+
}
|
2288
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
2289
|
+
if (f != null) {
|
2290
|
+
writer.writeString(
|
2291
|
+
8,
|
2292
|
+
f
|
2293
|
+
);
|
2294
|
+
}
|
2037
2295
|
};
|
2038
2296
|
|
2039
2297
|
|
@@ -2074,37 +2332,55 @@ proto.bonus.BonusRewardsRequest.prototype.setCurrency = function(value) {
|
|
2074
2332
|
|
2075
2333
|
|
2076
2334
|
/**
|
2077
|
-
* optional
|
2078
|
-
* @return {
|
2335
|
+
* optional float deposit_static = 3;
|
2336
|
+
* @return {number}
|
2079
2337
|
*/
|
2080
|
-
proto.bonus.BonusRewardsRequest.prototype.
|
2081
|
-
return /** @type {
|
2338
|
+
proto.bonus.BonusRewardsRequest.prototype.getDepositStatic = function() {
|
2339
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
2082
2340
|
};
|
2083
2341
|
|
2084
2342
|
|
2085
2343
|
/**
|
2086
|
-
* @param {
|
2344
|
+
* @param {number} value
|
2087
2345
|
* @return {!proto.bonus.BonusRewardsRequest} returns this
|
2088
2346
|
*/
|
2089
|
-
proto.bonus.BonusRewardsRequest.prototype.
|
2090
|
-
return jspb.Message.
|
2347
|
+
proto.bonus.BonusRewardsRequest.prototype.setDepositStatic = function(value) {
|
2348
|
+
return jspb.Message.setField(this, 3, value);
|
2091
2349
|
};
|
2092
2350
|
|
2093
2351
|
|
2094
2352
|
/**
|
2095
|
-
*
|
2096
|
-
* @return {
|
2353
|
+
* Clears the field making it undefined.
|
2354
|
+
* @return {!proto.bonus.BonusRewardsRequest} returns this
|
2097
2355
|
*/
|
2098
|
-
proto.bonus.BonusRewardsRequest.prototype.
|
2099
|
-
return
|
2356
|
+
proto.bonus.BonusRewardsRequest.prototype.clearDepositStatic = function() {
|
2357
|
+
return jspb.Message.setField(this, 3, undefined);
|
2100
2358
|
};
|
2101
2359
|
|
2102
2360
|
|
2103
2361
|
/**
|
2104
|
-
*
|
2362
|
+
* Returns whether this field is set.
|
2363
|
+
* @return {boolean}
|
2364
|
+
*/
|
2365
|
+
proto.bonus.BonusRewardsRequest.prototype.hasDepositStatic = function() {
|
2366
|
+
return jspb.Message.getField(this, 3) != null;
|
2367
|
+
};
|
2368
|
+
|
2369
|
+
|
2370
|
+
/**
|
2371
|
+
* optional float deposit_percentage = 4;
|
2372
|
+
* @return {number}
|
2373
|
+
*/
|
2374
|
+
proto.bonus.BonusRewardsRequest.prototype.getDepositPercentage = function() {
|
2375
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
|
2376
|
+
};
|
2377
|
+
|
2378
|
+
|
2379
|
+
/**
|
2380
|
+
* @param {number} value
|
2105
2381
|
* @return {!proto.bonus.BonusRewardsRequest} returns this
|
2106
2382
|
*/
|
2107
|
-
proto.bonus.BonusRewardsRequest.prototype.
|
2383
|
+
proto.bonus.BonusRewardsRequest.prototype.setDepositPercentage = function(value) {
|
2108
2384
|
return jspb.Message.setField(this, 4, value);
|
2109
2385
|
};
|
2110
2386
|
|
@@ -2113,7 +2389,7 @@ proto.bonus.BonusRewardsRequest.prototype.setConfig = function(value) {
|
|
2113
2389
|
* Clears the field making it undefined.
|
2114
2390
|
* @return {!proto.bonus.BonusRewardsRequest} returns this
|
2115
2391
|
*/
|
2116
|
-
proto.bonus.BonusRewardsRequest.prototype.
|
2392
|
+
proto.bonus.BonusRewardsRequest.prototype.clearDepositPercentage = function() {
|
2117
2393
|
return jspb.Message.setField(this, 4, undefined);
|
2118
2394
|
};
|
2119
2395
|
|
@@ -2122,11 +2398,155 @@ proto.bonus.BonusRewardsRequest.prototype.clearConfig = function() {
|
|
2122
2398
|
* Returns whether this field is set.
|
2123
2399
|
* @return {boolean}
|
2124
2400
|
*/
|
2125
|
-
proto.bonus.BonusRewardsRequest.prototype.
|
2401
|
+
proto.bonus.BonusRewardsRequest.prototype.hasDepositPercentage = function() {
|
2126
2402
|
return jspb.Message.getField(this, 4) != null;
|
2127
2403
|
};
|
2128
2404
|
|
2129
2405
|
|
2406
|
+
/**
|
2407
|
+
* optional float coins = 5;
|
2408
|
+
* @return {number}
|
2409
|
+
*/
|
2410
|
+
proto.bonus.BonusRewardsRequest.prototype.getCoins = function() {
|
2411
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
|
2412
|
+
};
|
2413
|
+
|
2414
|
+
|
2415
|
+
/**
|
2416
|
+
* @param {number} value
|
2417
|
+
* @return {!proto.bonus.BonusRewardsRequest} returns this
|
2418
|
+
*/
|
2419
|
+
proto.bonus.BonusRewardsRequest.prototype.setCoins = function(value) {
|
2420
|
+
return jspb.Message.setField(this, 5, value);
|
2421
|
+
};
|
2422
|
+
|
2423
|
+
|
2424
|
+
/**
|
2425
|
+
* Clears the field making it undefined.
|
2426
|
+
* @return {!proto.bonus.BonusRewardsRequest} returns this
|
2427
|
+
*/
|
2428
|
+
proto.bonus.BonusRewardsRequest.prototype.clearCoins = function() {
|
2429
|
+
return jspb.Message.setField(this, 5, undefined);
|
2430
|
+
};
|
2431
|
+
|
2432
|
+
|
2433
|
+
/**
|
2434
|
+
* Returns whether this field is set.
|
2435
|
+
* @return {boolean}
|
2436
|
+
*/
|
2437
|
+
proto.bonus.BonusRewardsRequest.prototype.hasCoins = function() {
|
2438
|
+
return jspb.Message.getField(this, 5) != null;
|
2439
|
+
};
|
2440
|
+
|
2441
|
+
|
2442
|
+
/**
|
2443
|
+
* optional float loyalty = 6;
|
2444
|
+
* @return {number}
|
2445
|
+
*/
|
2446
|
+
proto.bonus.BonusRewardsRequest.prototype.getLoyalty = function() {
|
2447
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
|
2448
|
+
};
|
2449
|
+
|
2450
|
+
|
2451
|
+
/**
|
2452
|
+
* @param {number} value
|
2453
|
+
* @return {!proto.bonus.BonusRewardsRequest} returns this
|
2454
|
+
*/
|
2455
|
+
proto.bonus.BonusRewardsRequest.prototype.setLoyalty = function(value) {
|
2456
|
+
return jspb.Message.setField(this, 6, value);
|
2457
|
+
};
|
2458
|
+
|
2459
|
+
|
2460
|
+
/**
|
2461
|
+
* Clears the field making it undefined.
|
2462
|
+
* @return {!proto.bonus.BonusRewardsRequest} returns this
|
2463
|
+
*/
|
2464
|
+
proto.bonus.BonusRewardsRequest.prototype.clearLoyalty = function() {
|
2465
|
+
return jspb.Message.setField(this, 6, undefined);
|
2466
|
+
};
|
2467
|
+
|
2468
|
+
|
2469
|
+
/**
|
2470
|
+
* Returns whether this field is set.
|
2471
|
+
* @return {boolean}
|
2472
|
+
*/
|
2473
|
+
proto.bonus.BonusRewardsRequest.prototype.hasLoyalty = function() {
|
2474
|
+
return jspb.Message.getField(this, 6) != null;
|
2475
|
+
};
|
2476
|
+
|
2477
|
+
|
2478
|
+
/**
|
2479
|
+
* optional float ranking = 7;
|
2480
|
+
* @return {number}
|
2481
|
+
*/
|
2482
|
+
proto.bonus.BonusRewardsRequest.prototype.getRanking = function() {
|
2483
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0));
|
2484
|
+
};
|
2485
|
+
|
2486
|
+
|
2487
|
+
/**
|
2488
|
+
* @param {number} value
|
2489
|
+
* @return {!proto.bonus.BonusRewardsRequest} returns this
|
2490
|
+
*/
|
2491
|
+
proto.bonus.BonusRewardsRequest.prototype.setRanking = function(value) {
|
2492
|
+
return jspb.Message.setField(this, 7, value);
|
2493
|
+
};
|
2494
|
+
|
2495
|
+
|
2496
|
+
/**
|
2497
|
+
* Clears the field making it undefined.
|
2498
|
+
* @return {!proto.bonus.BonusRewardsRequest} returns this
|
2499
|
+
*/
|
2500
|
+
proto.bonus.BonusRewardsRequest.prototype.clearRanking = function() {
|
2501
|
+
return jspb.Message.setField(this, 7, undefined);
|
2502
|
+
};
|
2503
|
+
|
2504
|
+
|
2505
|
+
/**
|
2506
|
+
* Returns whether this field is set.
|
2507
|
+
* @return {boolean}
|
2508
|
+
*/
|
2509
|
+
proto.bonus.BonusRewardsRequest.prototype.hasRanking = function() {
|
2510
|
+
return jspb.Message.getField(this, 7) != null;
|
2511
|
+
};
|
2512
|
+
|
2513
|
+
|
2514
|
+
/**
|
2515
|
+
* optional string free_spins_config = 8;
|
2516
|
+
* @return {string}
|
2517
|
+
*/
|
2518
|
+
proto.bonus.BonusRewardsRequest.prototype.getFreeSpinsConfig = function() {
|
2519
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
2520
|
+
};
|
2521
|
+
|
2522
|
+
|
2523
|
+
/**
|
2524
|
+
* @param {string} value
|
2525
|
+
* @return {!proto.bonus.BonusRewardsRequest} returns this
|
2526
|
+
*/
|
2527
|
+
proto.bonus.BonusRewardsRequest.prototype.setFreeSpinsConfig = function(value) {
|
2528
|
+
return jspb.Message.setField(this, 8, value);
|
2529
|
+
};
|
2530
|
+
|
2531
|
+
|
2532
|
+
/**
|
2533
|
+
* Clears the field making it undefined.
|
2534
|
+
* @return {!proto.bonus.BonusRewardsRequest} returns this
|
2535
|
+
*/
|
2536
|
+
proto.bonus.BonusRewardsRequest.prototype.clearFreeSpinsConfig = function() {
|
2537
|
+
return jspb.Message.setField(this, 8, undefined);
|
2538
|
+
};
|
2539
|
+
|
2540
|
+
|
2541
|
+
/**
|
2542
|
+
* Returns whether this field is set.
|
2543
|
+
* @return {boolean}
|
2544
|
+
*/
|
2545
|
+
proto.bonus.BonusRewardsRequest.prototype.hasFreeSpinsConfig = function() {
|
2546
|
+
return jspb.Message.getField(this, 8) != null;
|
2547
|
+
};
|
2548
|
+
|
2549
|
+
|
2130
2550
|
|
2131
2551
|
|
2132
2552
|
|
@@ -2161,9 +2581,8 @@ proto.bonus.BonusBetRangesRequest.toObject = function(includeInstance, msg) {
|
|
2161
2581
|
var f, obj = {
|
2162
2582
|
bonusId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
2163
2583
|
currency: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
2164
|
-
|
2165
|
-
|
2166
|
-
max: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0)
|
2584
|
+
min: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
2585
|
+
max: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0)
|
2167
2586
|
};
|
2168
2587
|
|
2169
2588
|
if (includeInstance) {
|
@@ -2209,14 +2628,10 @@ proto.bonus.BonusBetRangesRequest.deserializeBinaryFromReader = function(msg, re
|
|
2209
2628
|
msg.setCurrency(value);
|
2210
2629
|
break;
|
2211
2630
|
case 3:
|
2212
|
-
var value = /** @type {string} */ (reader.readString());
|
2213
|
-
msg.setType(value);
|
2214
|
-
break;
|
2215
|
-
case 4:
|
2216
2631
|
var value = /** @type {number} */ (reader.readFloat());
|
2217
2632
|
msg.setMin(value);
|
2218
2633
|
break;
|
2219
|
-
case
|
2634
|
+
case 4:
|
2220
2635
|
var value = /** @type {number} */ (reader.readFloat());
|
2221
2636
|
msg.setMax(value);
|
2222
2637
|
break;
|
@@ -2263,9 +2678,9 @@ proto.bonus.BonusBetRangesRequest.serializeBinaryToWriter = function(message, wr
|
|
2263
2678
|
f
|
2264
2679
|
);
|
2265
2680
|
}
|
2266
|
-
f =
|
2267
|
-
if (f
|
2268
|
-
writer.
|
2681
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
2682
|
+
if (f != null) {
|
2683
|
+
writer.writeFloat(
|
2269
2684
|
3,
|
2270
2685
|
f
|
2271
2686
|
);
|
@@ -2277,13 +2692,6 @@ proto.bonus.BonusBetRangesRequest.serializeBinaryToWriter = function(message, wr
|
|
2277
2692
|
f
|
2278
2693
|
);
|
2279
2694
|
}
|
2280
|
-
f = /** @type {number} */ (jspb.Message.getField(message, 5));
|
2281
|
-
if (f != null) {
|
2282
|
-
writer.writeFloat(
|
2283
|
-
5,
|
2284
|
-
f
|
2285
|
-
);
|
2286
|
-
}
|
2287
2695
|
};
|
2288
2696
|
|
2289
2697
|
|
@@ -2324,29 +2732,11 @@ proto.bonus.BonusBetRangesRequest.prototype.setCurrency = function(value) {
|
|
2324
2732
|
|
2325
2733
|
|
2326
2734
|
/**
|
2327
|
-
* optional
|
2328
|
-
* @return {string}
|
2329
|
-
*/
|
2330
|
-
proto.bonus.BonusBetRangesRequest.prototype.getType = function() {
|
2331
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
2332
|
-
};
|
2333
|
-
|
2334
|
-
|
2335
|
-
/**
|
2336
|
-
* @param {string} value
|
2337
|
-
* @return {!proto.bonus.BonusBetRangesRequest} returns this
|
2338
|
-
*/
|
2339
|
-
proto.bonus.BonusBetRangesRequest.prototype.setType = function(value) {
|
2340
|
-
return jspb.Message.setProto3StringField(this, 3, value);
|
2341
|
-
};
|
2342
|
-
|
2343
|
-
|
2344
|
-
/**
|
2345
|
-
* optional float min = 4;
|
2735
|
+
* optional float min = 3;
|
2346
2736
|
* @return {number}
|
2347
2737
|
*/
|
2348
2738
|
proto.bonus.BonusBetRangesRequest.prototype.getMin = function() {
|
2349
|
-
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this,
|
2739
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
2350
2740
|
};
|
2351
2741
|
|
2352
2742
|
|
@@ -2355,7 +2745,7 @@ proto.bonus.BonusBetRangesRequest.prototype.getMin = function() {
|
|
2355
2745
|
* @return {!proto.bonus.BonusBetRangesRequest} returns this
|
2356
2746
|
*/
|
2357
2747
|
proto.bonus.BonusBetRangesRequest.prototype.setMin = function(value) {
|
2358
|
-
return jspb.Message.setField(this,
|
2748
|
+
return jspb.Message.setField(this, 3, value);
|
2359
2749
|
};
|
2360
2750
|
|
2361
2751
|
|
@@ -2364,7 +2754,7 @@ proto.bonus.BonusBetRangesRequest.prototype.setMin = function(value) {
|
|
2364
2754
|
* @return {!proto.bonus.BonusBetRangesRequest} returns this
|
2365
2755
|
*/
|
2366
2756
|
proto.bonus.BonusBetRangesRequest.prototype.clearMin = function() {
|
2367
|
-
return jspb.Message.setField(this,
|
2757
|
+
return jspb.Message.setField(this, 3, undefined);
|
2368
2758
|
};
|
2369
2759
|
|
2370
2760
|
|
@@ -2373,16 +2763,16 @@ proto.bonus.BonusBetRangesRequest.prototype.clearMin = function() {
|
|
2373
2763
|
* @return {boolean}
|
2374
2764
|
*/
|
2375
2765
|
proto.bonus.BonusBetRangesRequest.prototype.hasMin = function() {
|
2376
|
-
return jspb.Message.getField(this,
|
2766
|
+
return jspb.Message.getField(this, 3) != null;
|
2377
2767
|
};
|
2378
2768
|
|
2379
2769
|
|
2380
2770
|
/**
|
2381
|
-
* optional float max =
|
2771
|
+
* optional float max = 4;
|
2382
2772
|
* @return {number}
|
2383
2773
|
*/
|
2384
2774
|
proto.bonus.BonusBetRangesRequest.prototype.getMax = function() {
|
2385
|
-
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this,
|
2775
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
|
2386
2776
|
};
|
2387
2777
|
|
2388
2778
|
|
@@ -2391,7 +2781,7 @@ proto.bonus.BonusBetRangesRequest.prototype.getMax = function() {
|
|
2391
2781
|
* @return {!proto.bonus.BonusBetRangesRequest} returns this
|
2392
2782
|
*/
|
2393
2783
|
proto.bonus.BonusBetRangesRequest.prototype.setMax = function(value) {
|
2394
|
-
return jspb.Message.setField(this,
|
2784
|
+
return jspb.Message.setField(this, 4, value);
|
2395
2785
|
};
|
2396
2786
|
|
2397
2787
|
|
@@ -2400,7 +2790,7 @@ proto.bonus.BonusBetRangesRequest.prototype.setMax = function(value) {
|
|
2400
2790
|
* @return {!proto.bonus.BonusBetRangesRequest} returns this
|
2401
2791
|
*/
|
2402
2792
|
proto.bonus.BonusBetRangesRequest.prototype.clearMax = function() {
|
2403
|
-
return jspb.Message.setField(this,
|
2793
|
+
return jspb.Message.setField(this, 4, undefined);
|
2404
2794
|
};
|
2405
2795
|
|
2406
2796
|
|
@@ -2409,7 +2799,7 @@ proto.bonus.BonusBetRangesRequest.prototype.clearMax = function() {
|
|
2409
2799
|
* @return {boolean}
|
2410
2800
|
*/
|
2411
2801
|
proto.bonus.BonusBetRangesRequest.prototype.hasMax = function() {
|
2412
|
-
return jspb.Message.getField(this,
|
2802
|
+
return jspb.Message.getField(this, 4) != null;
|
2413
2803
|
};
|
2414
2804
|
|
2415
2805
|
|
@@ -3069,7 +3459,8 @@ proto.bonus.BonusItemRequest.toObject = function(includeInstance, msg) {
|
|
3069
3459
|
showPreviousAt: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
3070
3460
|
claimPeriodInHours: jspb.Message.getFieldWithDefault(msg, 17, 0),
|
3071
3461
|
activationPeriodInHours: jspb.Message.getFieldWithDefault(msg, 18, 0),
|
3072
|
-
wageringPeriodInHours: jspb.Message.getFieldWithDefault(msg, 19, 0)
|
3462
|
+
wageringPeriodInHours: jspb.Message.getFieldWithDefault(msg, 19, 0),
|
3463
|
+
statusData: jspb.Message.getFieldWithDefault(msg, 20, "")
|
3073
3464
|
};
|
3074
3465
|
|
3075
3466
|
if (includeInstance) {
|
@@ -3182,6 +3573,10 @@ proto.bonus.BonusItemRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
3182
3573
|
var value = /** @type {number} */ (reader.readInt32());
|
3183
3574
|
msg.setWageringPeriodInHours(value);
|
3184
3575
|
break;
|
3576
|
+
case 20:
|
3577
|
+
var value = /** @type {string} */ (reader.readString());
|
3578
|
+
msg.setStatusData(value);
|
3579
|
+
break;
|
3185
3580
|
default:
|
3186
3581
|
reader.skipField();
|
3187
3582
|
break;
|
@@ -3344,6 +3739,13 @@ proto.bonus.BonusItemRequest.serializeBinaryToWriter = function(message, writer)
|
|
3344
3739
|
f
|
3345
3740
|
);
|
3346
3741
|
}
|
3742
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 20));
|
3743
|
+
if (f != null) {
|
3744
|
+
writer.writeString(
|
3745
|
+
20,
|
3746
|
+
f
|
3747
|
+
);
|
3748
|
+
}
|
3347
3749
|
};
|
3348
3750
|
|
3349
3751
|
|
@@ -4031,6 +4433,42 @@ proto.bonus.BonusItemRequest.prototype.hasWageringPeriodInHours = function() {
|
|
4031
4433
|
};
|
4032
4434
|
|
4033
4435
|
|
4436
|
+
/**
|
4437
|
+
* optional string status_data = 20;
|
4438
|
+
* @return {string}
|
4439
|
+
*/
|
4440
|
+
proto.bonus.BonusItemRequest.prototype.getStatusData = function() {
|
4441
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
|
4442
|
+
};
|
4443
|
+
|
4444
|
+
|
4445
|
+
/**
|
4446
|
+
* @param {string} value
|
4447
|
+
* @return {!proto.bonus.BonusItemRequest} returns this
|
4448
|
+
*/
|
4449
|
+
proto.bonus.BonusItemRequest.prototype.setStatusData = function(value) {
|
4450
|
+
return jspb.Message.setField(this, 20, value);
|
4451
|
+
};
|
4452
|
+
|
4453
|
+
|
4454
|
+
/**
|
4455
|
+
* Clears the field making it undefined.
|
4456
|
+
* @return {!proto.bonus.BonusItemRequest} returns this
|
4457
|
+
*/
|
4458
|
+
proto.bonus.BonusItemRequest.prototype.clearStatusData = function() {
|
4459
|
+
return jspb.Message.setField(this, 20, undefined);
|
4460
|
+
};
|
4461
|
+
|
4462
|
+
|
4463
|
+
/**
|
4464
|
+
* Returns whether this field is set.
|
4465
|
+
* @return {boolean}
|
4466
|
+
*/
|
4467
|
+
proto.bonus.BonusItemRequest.prototype.hasStatusData = function() {
|
4468
|
+
return jspb.Message.getField(this, 20) != null;
|
4469
|
+
};
|
4470
|
+
|
4471
|
+
|
4034
4472
|
|
4035
4473
|
|
4036
4474
|
|