protobuf-platform 1.2.118 → 1.2.120
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 -3
- package/sport/sport_pb.js +98 -50
package/package.json
CHANGED
package/sport/sport.proto
CHANGED
|
@@ -30,6 +30,9 @@ message LaunchBetbyRequest {
|
|
|
30
30
|
|
|
31
31
|
// Client IP address for Betby (X-Client-Ip).
|
|
32
32
|
optional string client_ip = 5;
|
|
33
|
+
|
|
34
|
+
optional string player_name = 6;
|
|
35
|
+
optional string session_id = 7;
|
|
33
36
|
}
|
|
34
37
|
|
|
35
38
|
// Launch response with rendered Betby widget.
|
|
@@ -39,7 +42,4 @@ message LaunchBetbyResponse {
|
|
|
39
42
|
|
|
40
43
|
// Launch mode: "guest" or "player".
|
|
41
44
|
optional string mode = 2;
|
|
42
|
-
|
|
43
|
-
// Internal sportsbook session identifier on our side.
|
|
44
|
-
optional string session_id = 3;
|
|
45
45
|
}
|
package/sport/sport_pb.js
CHANGED
|
@@ -635,7 +635,9 @@ proto.sport.LaunchBetbyRequest.toObject = function(includeInstance, msg) {
|
|
|
635
635
|
currency: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
636
636
|
language: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
637
637
|
returnUrl: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
638
|
-
clientIp: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
638
|
+
clientIp: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
639
|
+
playerName: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
640
|
+
sessionId: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
639
641
|
};
|
|
640
642
|
|
|
641
643
|
if (includeInstance) {
|
|
@@ -692,6 +694,14 @@ proto.sport.LaunchBetbyRequest.deserializeBinaryFromReader = function(msg, reade
|
|
|
692
694
|
var value = /** @type {string} */ (reader.readString());
|
|
693
695
|
msg.setClientIp(value);
|
|
694
696
|
break;
|
|
697
|
+
case 6:
|
|
698
|
+
var value = /** @type {string} */ (reader.readString());
|
|
699
|
+
msg.setPlayerName(value);
|
|
700
|
+
break;
|
|
701
|
+
case 7:
|
|
702
|
+
var value = /** @type {string} */ (reader.readString());
|
|
703
|
+
msg.setSessionId(value);
|
|
704
|
+
break;
|
|
695
705
|
default:
|
|
696
706
|
reader.skipField();
|
|
697
707
|
break;
|
|
@@ -756,6 +766,20 @@ proto.sport.LaunchBetbyRequest.serializeBinaryToWriter = function(message, write
|
|
|
756
766
|
f
|
|
757
767
|
);
|
|
758
768
|
}
|
|
769
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
770
|
+
if (f != null) {
|
|
771
|
+
writer.writeString(
|
|
772
|
+
6,
|
|
773
|
+
f
|
|
774
|
+
);
|
|
775
|
+
}
|
|
776
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
777
|
+
if (f != null) {
|
|
778
|
+
writer.writeString(
|
|
779
|
+
7,
|
|
780
|
+
f
|
|
781
|
+
);
|
|
782
|
+
}
|
|
759
783
|
};
|
|
760
784
|
|
|
761
785
|
|
|
@@ -939,6 +963,78 @@ proto.sport.LaunchBetbyRequest.prototype.hasClientIp = function() {
|
|
|
939
963
|
};
|
|
940
964
|
|
|
941
965
|
|
|
966
|
+
/**
|
|
967
|
+
* optional string player_name = 6;
|
|
968
|
+
* @return {string}
|
|
969
|
+
*/
|
|
970
|
+
proto.sport.LaunchBetbyRequest.prototype.getPlayerName = function() {
|
|
971
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
972
|
+
};
|
|
973
|
+
|
|
974
|
+
|
|
975
|
+
/**
|
|
976
|
+
* @param {string} value
|
|
977
|
+
* @return {!proto.sport.LaunchBetbyRequest} returns this
|
|
978
|
+
*/
|
|
979
|
+
proto.sport.LaunchBetbyRequest.prototype.setPlayerName = function(value) {
|
|
980
|
+
return jspb.Message.setField(this, 6, value);
|
|
981
|
+
};
|
|
982
|
+
|
|
983
|
+
|
|
984
|
+
/**
|
|
985
|
+
* Clears the field making it undefined.
|
|
986
|
+
* @return {!proto.sport.LaunchBetbyRequest} returns this
|
|
987
|
+
*/
|
|
988
|
+
proto.sport.LaunchBetbyRequest.prototype.clearPlayerName = function() {
|
|
989
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
990
|
+
};
|
|
991
|
+
|
|
992
|
+
|
|
993
|
+
/**
|
|
994
|
+
* Returns whether this field is set.
|
|
995
|
+
* @return {boolean}
|
|
996
|
+
*/
|
|
997
|
+
proto.sport.LaunchBetbyRequest.prototype.hasPlayerName = function() {
|
|
998
|
+
return jspb.Message.getField(this, 6) != null;
|
|
999
|
+
};
|
|
1000
|
+
|
|
1001
|
+
|
|
1002
|
+
/**
|
|
1003
|
+
* optional string session_id = 7;
|
|
1004
|
+
* @return {string}
|
|
1005
|
+
*/
|
|
1006
|
+
proto.sport.LaunchBetbyRequest.prototype.getSessionId = function() {
|
|
1007
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
1008
|
+
};
|
|
1009
|
+
|
|
1010
|
+
|
|
1011
|
+
/**
|
|
1012
|
+
* @param {string} value
|
|
1013
|
+
* @return {!proto.sport.LaunchBetbyRequest} returns this
|
|
1014
|
+
*/
|
|
1015
|
+
proto.sport.LaunchBetbyRequest.prototype.setSessionId = function(value) {
|
|
1016
|
+
return jspb.Message.setField(this, 7, value);
|
|
1017
|
+
};
|
|
1018
|
+
|
|
1019
|
+
|
|
1020
|
+
/**
|
|
1021
|
+
* Clears the field making it undefined.
|
|
1022
|
+
* @return {!proto.sport.LaunchBetbyRequest} returns this
|
|
1023
|
+
*/
|
|
1024
|
+
proto.sport.LaunchBetbyRequest.prototype.clearSessionId = function() {
|
|
1025
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
1026
|
+
};
|
|
1027
|
+
|
|
1028
|
+
|
|
1029
|
+
/**
|
|
1030
|
+
* Returns whether this field is set.
|
|
1031
|
+
* @return {boolean}
|
|
1032
|
+
*/
|
|
1033
|
+
proto.sport.LaunchBetbyRequest.prototype.hasSessionId = function() {
|
|
1034
|
+
return jspb.Message.getField(this, 7) != null;
|
|
1035
|
+
};
|
|
1036
|
+
|
|
1037
|
+
|
|
942
1038
|
|
|
943
1039
|
|
|
944
1040
|
|
|
@@ -972,8 +1068,7 @@ proto.sport.LaunchBetbyResponse.prototype.toObject = function(opt_includeInstanc
|
|
|
972
1068
|
proto.sport.LaunchBetbyResponse.toObject = function(includeInstance, msg) {
|
|
973
1069
|
var f, obj = {
|
|
974
1070
|
html: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
975
|
-
mode: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
976
|
-
sessionId: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
1071
|
+
mode: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
977
1072
|
};
|
|
978
1073
|
|
|
979
1074
|
if (includeInstance) {
|
|
@@ -1018,10 +1113,6 @@ proto.sport.LaunchBetbyResponse.deserializeBinaryFromReader = function(msg, read
|
|
|
1018
1113
|
var value = /** @type {string} */ (reader.readString());
|
|
1019
1114
|
msg.setMode(value);
|
|
1020
1115
|
break;
|
|
1021
|
-
case 3:
|
|
1022
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1023
|
-
msg.setSessionId(value);
|
|
1024
|
-
break;
|
|
1025
1116
|
default:
|
|
1026
1117
|
reader.skipField();
|
|
1027
1118
|
break;
|
|
@@ -1065,13 +1156,6 @@ proto.sport.LaunchBetbyResponse.serializeBinaryToWriter = function(message, writ
|
|
|
1065
1156
|
f
|
|
1066
1157
|
);
|
|
1067
1158
|
}
|
|
1068
|
-
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
1069
|
-
if (f != null) {
|
|
1070
|
-
writer.writeString(
|
|
1071
|
-
3,
|
|
1072
|
-
f
|
|
1073
|
-
);
|
|
1074
|
-
}
|
|
1075
1159
|
};
|
|
1076
1160
|
|
|
1077
1161
|
|
|
@@ -1129,40 +1213,4 @@ proto.sport.LaunchBetbyResponse.prototype.hasMode = function() {
|
|
|
1129
1213
|
};
|
|
1130
1214
|
|
|
1131
1215
|
|
|
1132
|
-
/**
|
|
1133
|
-
* optional string session_id = 3;
|
|
1134
|
-
* @return {string}
|
|
1135
|
-
*/
|
|
1136
|
-
proto.sport.LaunchBetbyResponse.prototype.getSessionId = function() {
|
|
1137
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
1138
|
-
};
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
/**
|
|
1142
|
-
* @param {string} value
|
|
1143
|
-
* @return {!proto.sport.LaunchBetbyResponse} returns this
|
|
1144
|
-
*/
|
|
1145
|
-
proto.sport.LaunchBetbyResponse.prototype.setSessionId = function(value) {
|
|
1146
|
-
return jspb.Message.setField(this, 3, value);
|
|
1147
|
-
};
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
/**
|
|
1151
|
-
* Clears the field making it undefined.
|
|
1152
|
-
* @return {!proto.sport.LaunchBetbyResponse} returns this
|
|
1153
|
-
*/
|
|
1154
|
-
proto.sport.LaunchBetbyResponse.prototype.clearSessionId = function() {
|
|
1155
|
-
return jspb.Message.setField(this, 3, undefined);
|
|
1156
|
-
};
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
/**
|
|
1160
|
-
* Returns whether this field is set.
|
|
1161
|
-
* @return {boolean}
|
|
1162
|
-
*/
|
|
1163
|
-
proto.sport.LaunchBetbyResponse.prototype.hasSessionId = function() {
|
|
1164
|
-
return jspb.Message.getField(this, 3) != null;
|
|
1165
|
-
};
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
1216
|
goog.object.extend(exports, proto.sport);
|