protobuf-platform 1.2.128 → 1.2.131
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/package.json +1 -1
- package/sport/sport.proto +3 -0
- package/sport/sport_pb.js +145 -1
package/package.json
CHANGED
package/sport/sport.proto
CHANGED
|
@@ -38,6 +38,9 @@ message LaunchBetbyRequest {
|
|
|
38
38
|
|
|
39
39
|
optional string player_name = 7;
|
|
40
40
|
optional string session_id = 8;
|
|
41
|
+
optional int32 sticky_top = 9;
|
|
42
|
+
optional int32 bet_slip_offset_top = 10;
|
|
43
|
+
optional int32 bet_slip_offset_bottom = 11;
|
|
41
44
|
}
|
|
42
45
|
|
|
43
46
|
// Launch response with rendered Betby widget.
|
package/sport/sport_pb.js
CHANGED
|
@@ -726,7 +726,10 @@ proto.sport.LaunchBetbyRequest.toObject = function(includeInstance, msg) {
|
|
|
726
726
|
returnUrl: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
727
727
|
clientIp: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
728
728
|
playerName: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
729
|
-
sessionId: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
729
|
+
sessionId: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
730
|
+
stickyTop: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
|
731
|
+
betSlipOffsetTop: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
732
|
+
betSlipOffsetBottom: jspb.Message.getFieldWithDefault(msg, 11, 0)
|
|
730
733
|
};
|
|
731
734
|
|
|
732
735
|
if (includeInstance) {
|
|
@@ -795,6 +798,18 @@ proto.sport.LaunchBetbyRequest.deserializeBinaryFromReader = function(msg, reade
|
|
|
795
798
|
var value = /** @type {string} */ (reader.readString());
|
|
796
799
|
msg.setSessionId(value);
|
|
797
800
|
break;
|
|
801
|
+
case 9:
|
|
802
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
803
|
+
msg.setStickyTop(value);
|
|
804
|
+
break;
|
|
805
|
+
case 10:
|
|
806
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
807
|
+
msg.setBetSlipOffsetTop(value);
|
|
808
|
+
break;
|
|
809
|
+
case 11:
|
|
810
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
811
|
+
msg.setBetSlipOffsetBottom(value);
|
|
812
|
+
break;
|
|
798
813
|
default:
|
|
799
814
|
reader.skipField();
|
|
800
815
|
break;
|
|
@@ -880,6 +895,27 @@ proto.sport.LaunchBetbyRequest.serializeBinaryToWriter = function(message, write
|
|
|
880
895
|
f
|
|
881
896
|
);
|
|
882
897
|
}
|
|
898
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 9));
|
|
899
|
+
if (f != null) {
|
|
900
|
+
writer.writeInt32(
|
|
901
|
+
9,
|
|
902
|
+
f
|
|
903
|
+
);
|
|
904
|
+
}
|
|
905
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 10));
|
|
906
|
+
if (f != null) {
|
|
907
|
+
writer.writeInt32(
|
|
908
|
+
10,
|
|
909
|
+
f
|
|
910
|
+
);
|
|
911
|
+
}
|
|
912
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 11));
|
|
913
|
+
if (f != null) {
|
|
914
|
+
writer.writeInt32(
|
|
915
|
+
11,
|
|
916
|
+
f
|
|
917
|
+
);
|
|
918
|
+
}
|
|
883
919
|
};
|
|
884
920
|
|
|
885
921
|
|
|
@@ -1171,6 +1207,114 @@ proto.sport.LaunchBetbyRequest.prototype.hasSessionId = function() {
|
|
|
1171
1207
|
};
|
|
1172
1208
|
|
|
1173
1209
|
|
|
1210
|
+
/**
|
|
1211
|
+
* optional int32 sticky_top = 9;
|
|
1212
|
+
* @return {number}
|
|
1213
|
+
*/
|
|
1214
|
+
proto.sport.LaunchBetbyRequest.prototype.getStickyTop = function() {
|
|
1215
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
|
|
1216
|
+
};
|
|
1217
|
+
|
|
1218
|
+
|
|
1219
|
+
/**
|
|
1220
|
+
* @param {number} value
|
|
1221
|
+
* @return {!proto.sport.LaunchBetbyRequest} returns this
|
|
1222
|
+
*/
|
|
1223
|
+
proto.sport.LaunchBetbyRequest.prototype.setStickyTop = function(value) {
|
|
1224
|
+
return jspb.Message.setField(this, 9, value);
|
|
1225
|
+
};
|
|
1226
|
+
|
|
1227
|
+
|
|
1228
|
+
/**
|
|
1229
|
+
* Clears the field making it undefined.
|
|
1230
|
+
* @return {!proto.sport.LaunchBetbyRequest} returns this
|
|
1231
|
+
*/
|
|
1232
|
+
proto.sport.LaunchBetbyRequest.prototype.clearStickyTop = function() {
|
|
1233
|
+
return jspb.Message.setField(this, 9, undefined);
|
|
1234
|
+
};
|
|
1235
|
+
|
|
1236
|
+
|
|
1237
|
+
/**
|
|
1238
|
+
* Returns whether this field is set.
|
|
1239
|
+
* @return {boolean}
|
|
1240
|
+
*/
|
|
1241
|
+
proto.sport.LaunchBetbyRequest.prototype.hasStickyTop = function() {
|
|
1242
|
+
return jspb.Message.getField(this, 9) != null;
|
|
1243
|
+
};
|
|
1244
|
+
|
|
1245
|
+
|
|
1246
|
+
/**
|
|
1247
|
+
* optional int32 bet_slip_offset_top = 10;
|
|
1248
|
+
* @return {number}
|
|
1249
|
+
*/
|
|
1250
|
+
proto.sport.LaunchBetbyRequest.prototype.getBetSlipOffsetTop = function() {
|
|
1251
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
|
|
1252
|
+
};
|
|
1253
|
+
|
|
1254
|
+
|
|
1255
|
+
/**
|
|
1256
|
+
* @param {number} value
|
|
1257
|
+
* @return {!proto.sport.LaunchBetbyRequest} returns this
|
|
1258
|
+
*/
|
|
1259
|
+
proto.sport.LaunchBetbyRequest.prototype.setBetSlipOffsetTop = function(value) {
|
|
1260
|
+
return jspb.Message.setField(this, 10, value);
|
|
1261
|
+
};
|
|
1262
|
+
|
|
1263
|
+
|
|
1264
|
+
/**
|
|
1265
|
+
* Clears the field making it undefined.
|
|
1266
|
+
* @return {!proto.sport.LaunchBetbyRequest} returns this
|
|
1267
|
+
*/
|
|
1268
|
+
proto.sport.LaunchBetbyRequest.prototype.clearBetSlipOffsetTop = function() {
|
|
1269
|
+
return jspb.Message.setField(this, 10, undefined);
|
|
1270
|
+
};
|
|
1271
|
+
|
|
1272
|
+
|
|
1273
|
+
/**
|
|
1274
|
+
* Returns whether this field is set.
|
|
1275
|
+
* @return {boolean}
|
|
1276
|
+
*/
|
|
1277
|
+
proto.sport.LaunchBetbyRequest.prototype.hasBetSlipOffsetTop = function() {
|
|
1278
|
+
return jspb.Message.getField(this, 10) != null;
|
|
1279
|
+
};
|
|
1280
|
+
|
|
1281
|
+
|
|
1282
|
+
/**
|
|
1283
|
+
* optional int32 bet_slip_offset_bottom = 11;
|
|
1284
|
+
* @return {number}
|
|
1285
|
+
*/
|
|
1286
|
+
proto.sport.LaunchBetbyRequest.prototype.getBetSlipOffsetBottom = function() {
|
|
1287
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
|
|
1288
|
+
};
|
|
1289
|
+
|
|
1290
|
+
|
|
1291
|
+
/**
|
|
1292
|
+
* @param {number} value
|
|
1293
|
+
* @return {!proto.sport.LaunchBetbyRequest} returns this
|
|
1294
|
+
*/
|
|
1295
|
+
proto.sport.LaunchBetbyRequest.prototype.setBetSlipOffsetBottom = function(value) {
|
|
1296
|
+
return jspb.Message.setField(this, 11, value);
|
|
1297
|
+
};
|
|
1298
|
+
|
|
1299
|
+
|
|
1300
|
+
/**
|
|
1301
|
+
* Clears the field making it undefined.
|
|
1302
|
+
* @return {!proto.sport.LaunchBetbyRequest} returns this
|
|
1303
|
+
*/
|
|
1304
|
+
proto.sport.LaunchBetbyRequest.prototype.clearBetSlipOffsetBottom = function() {
|
|
1305
|
+
return jspb.Message.setField(this, 11, undefined);
|
|
1306
|
+
};
|
|
1307
|
+
|
|
1308
|
+
|
|
1309
|
+
/**
|
|
1310
|
+
* Returns whether this field is set.
|
|
1311
|
+
* @return {boolean}
|
|
1312
|
+
*/
|
|
1313
|
+
proto.sport.LaunchBetbyRequest.prototype.hasBetSlipOffsetBottom = function() {
|
|
1314
|
+
return jspb.Message.getField(this, 11) != null;
|
|
1315
|
+
};
|
|
1316
|
+
|
|
1317
|
+
|
|
1174
1318
|
|
|
1175
1319
|
|
|
1176
1320
|
|