protobuf-platform 1.2.13 → 1.2.14
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/bet/bet.proto +3 -2
- package/bet/bet_pb.js +45 -15
- package/package.json +1 -1
package/bet/bet.proto
CHANGED
@@ -134,8 +134,9 @@ message AxiomCreateBetRequest {
|
|
134
134
|
string bid = 3;
|
135
135
|
int32 user_id = 4;
|
136
136
|
float odds = 5;
|
137
|
-
|
138
|
-
optional string
|
137
|
+
string hash = 6;
|
138
|
+
optional string freebet_transaction_id = 7;
|
139
|
+
optional string bonus_type = 8;
|
139
140
|
}
|
140
141
|
message AxiomBetStatusResponse {
|
141
142
|
string status = 1;
|
package/bet/bet_pb.js
CHANGED
@@ -5755,8 +5755,9 @@ proto.bet.AxiomCreateBetRequest.toObject = function(includeInstance, msg) {
|
|
5755
5755
|
bid: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
5756
5756
|
userId: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
5757
5757
|
odds: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
|
5758
|
-
|
5759
|
-
|
5758
|
+
hash: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
5759
|
+
freebetTransactionId: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
5760
|
+
bonusType: jspb.Message.getFieldWithDefault(msg, 8, "")
|
5760
5761
|
};
|
5761
5762
|
|
5762
5763
|
if (includeInstance) {
|
@@ -5815,9 +5816,13 @@ proto.bet.AxiomCreateBetRequest.deserializeBinaryFromReader = function(msg, read
|
|
5815
5816
|
break;
|
5816
5817
|
case 6:
|
5817
5818
|
var value = /** @type {string} */ (reader.readString());
|
5818
|
-
msg.
|
5819
|
+
msg.setHash(value);
|
5819
5820
|
break;
|
5820
5821
|
case 7:
|
5822
|
+
var value = /** @type {string} */ (reader.readString());
|
5823
|
+
msg.setFreebetTransactionId(value);
|
5824
|
+
break;
|
5825
|
+
case 8:
|
5821
5826
|
var value = /** @type {string} */ (reader.readString());
|
5822
5827
|
msg.setBonusType(value);
|
5823
5828
|
break;
|
@@ -5885,8 +5890,8 @@ proto.bet.AxiomCreateBetRequest.serializeBinaryToWriter = function(message, writ
|
|
5885
5890
|
f
|
5886
5891
|
);
|
5887
5892
|
}
|
5888
|
-
f =
|
5889
|
-
if (f
|
5893
|
+
f = message.getHash();
|
5894
|
+
if (f.length > 0) {
|
5890
5895
|
writer.writeString(
|
5891
5896
|
6,
|
5892
5897
|
f
|
@@ -5899,6 +5904,13 @@ proto.bet.AxiomCreateBetRequest.serializeBinaryToWriter = function(message, writ
|
|
5899
5904
|
f
|
5900
5905
|
);
|
5901
5906
|
}
|
5907
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
5908
|
+
if (f != null) {
|
5909
|
+
writer.writeString(
|
5910
|
+
8,
|
5911
|
+
f
|
5912
|
+
);
|
5913
|
+
}
|
5902
5914
|
};
|
5903
5915
|
|
5904
5916
|
|
@@ -5993,20 +6005,38 @@ proto.bet.AxiomCreateBetRequest.prototype.setOdds = function(value) {
|
|
5993
6005
|
|
5994
6006
|
|
5995
6007
|
/**
|
5996
|
-
* optional string
|
6008
|
+
* optional string hash = 6;
|
5997
6009
|
* @return {string}
|
5998
6010
|
*/
|
5999
|
-
proto.bet.AxiomCreateBetRequest.prototype.
|
6011
|
+
proto.bet.AxiomCreateBetRequest.prototype.getHash = function() {
|
6000
6012
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
6001
6013
|
};
|
6002
6014
|
|
6003
6015
|
|
6016
|
+
/**
|
6017
|
+
* @param {string} value
|
6018
|
+
* @return {!proto.bet.AxiomCreateBetRequest} returns this
|
6019
|
+
*/
|
6020
|
+
proto.bet.AxiomCreateBetRequest.prototype.setHash = function(value) {
|
6021
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
6022
|
+
};
|
6023
|
+
|
6024
|
+
|
6025
|
+
/**
|
6026
|
+
* optional string freebet_transaction_id = 7;
|
6027
|
+
* @return {string}
|
6028
|
+
*/
|
6029
|
+
proto.bet.AxiomCreateBetRequest.prototype.getFreebetTransactionId = function() {
|
6030
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
6031
|
+
};
|
6032
|
+
|
6033
|
+
|
6004
6034
|
/**
|
6005
6035
|
* @param {string} value
|
6006
6036
|
* @return {!proto.bet.AxiomCreateBetRequest} returns this
|
6007
6037
|
*/
|
6008
6038
|
proto.bet.AxiomCreateBetRequest.prototype.setFreebetTransactionId = function(value) {
|
6009
|
-
return jspb.Message.setField(this,
|
6039
|
+
return jspb.Message.setField(this, 7, value);
|
6010
6040
|
};
|
6011
6041
|
|
6012
6042
|
|
@@ -6015,7 +6045,7 @@ proto.bet.AxiomCreateBetRequest.prototype.setFreebetTransactionId = function(val
|
|
6015
6045
|
* @return {!proto.bet.AxiomCreateBetRequest} returns this
|
6016
6046
|
*/
|
6017
6047
|
proto.bet.AxiomCreateBetRequest.prototype.clearFreebetTransactionId = function() {
|
6018
|
-
return jspb.Message.setField(this,
|
6048
|
+
return jspb.Message.setField(this, 7, undefined);
|
6019
6049
|
};
|
6020
6050
|
|
6021
6051
|
|
@@ -6024,16 +6054,16 @@ proto.bet.AxiomCreateBetRequest.prototype.clearFreebetTransactionId = function()
|
|
6024
6054
|
* @return {boolean}
|
6025
6055
|
*/
|
6026
6056
|
proto.bet.AxiomCreateBetRequest.prototype.hasFreebetTransactionId = function() {
|
6027
|
-
return jspb.Message.getField(this,
|
6057
|
+
return jspb.Message.getField(this, 7) != null;
|
6028
6058
|
};
|
6029
6059
|
|
6030
6060
|
|
6031
6061
|
/**
|
6032
|
-
* optional string bonus_type =
|
6062
|
+
* optional string bonus_type = 8;
|
6033
6063
|
* @return {string}
|
6034
6064
|
*/
|
6035
6065
|
proto.bet.AxiomCreateBetRequest.prototype.getBonusType = function() {
|
6036
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
6066
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
6037
6067
|
};
|
6038
6068
|
|
6039
6069
|
|
@@ -6042,7 +6072,7 @@ proto.bet.AxiomCreateBetRequest.prototype.getBonusType = function() {
|
|
6042
6072
|
* @return {!proto.bet.AxiomCreateBetRequest} returns this
|
6043
6073
|
*/
|
6044
6074
|
proto.bet.AxiomCreateBetRequest.prototype.setBonusType = function(value) {
|
6045
|
-
return jspb.Message.setField(this,
|
6075
|
+
return jspb.Message.setField(this, 8, value);
|
6046
6076
|
};
|
6047
6077
|
|
6048
6078
|
|
@@ -6051,7 +6081,7 @@ proto.bet.AxiomCreateBetRequest.prototype.setBonusType = function(value) {
|
|
6051
6081
|
* @return {!proto.bet.AxiomCreateBetRequest} returns this
|
6052
6082
|
*/
|
6053
6083
|
proto.bet.AxiomCreateBetRequest.prototype.clearBonusType = function() {
|
6054
|
-
return jspb.Message.setField(this,
|
6084
|
+
return jspb.Message.setField(this, 8, undefined);
|
6055
6085
|
};
|
6056
6086
|
|
6057
6087
|
|
@@ -6060,7 +6090,7 @@ proto.bet.AxiomCreateBetRequest.prototype.clearBonusType = function() {
|
|
6060
6090
|
* @return {boolean}
|
6061
6091
|
*/
|
6062
6092
|
proto.bet.AxiomCreateBetRequest.prototype.hasBonusType = function() {
|
6063
|
-
return jspb.Message.getField(this,
|
6093
|
+
return jspb.Message.getField(this, 8) != null;
|
6064
6094
|
};
|
6065
6095
|
|
6066
6096
|
|