protobuf-platform 1.2.471 → 1.2.473
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 +16 -0
- package/bonus/bonus_grpc_pb.js +184 -149
- package/bonus/bonus_pb.js +493 -3
- package/game/game.proto +13 -0
- package/game/game_grpc_pb.js +23 -0
- package/game/game_pb.js +469 -1
- package/package.json +1 -1
- package/update_protobuf.sh +26 -19
package/bonus/bonus_pb.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// source: bonus.proto
|
|
1
|
+
// source: bonus/bonus.proto
|
|
2
2
|
/**
|
|
3
3
|
* @fileoverview
|
|
4
4
|
* @enhanceable
|
|
@@ -21,6 +21,8 @@ var global = (function() {
|
|
|
21
21
|
return Function('return this')();
|
|
22
22
|
}.call(null));
|
|
23
23
|
|
|
24
|
+
var game_game_pb = require('../game/game_pb.js');
|
|
25
|
+
goog.object.extend(proto, game_game_pb);
|
|
24
26
|
goog.exportSymbol('proto.bonus.ActivationRule', null, global);
|
|
25
27
|
goog.exportSymbol('proto.bonus.ActiveWageringUserBonusItem', null, global);
|
|
26
28
|
goog.exportSymbol('proto.bonus.ActiveWageringUserBonusesResponse', null, global);
|
|
@@ -61,6 +63,7 @@ goog.exportSymbol('proto.bonus.GetBonusBySlugRequest', null, global);
|
|
|
61
63
|
goog.exportSymbol('proto.bonus.GetBonusRequest', null, global);
|
|
62
64
|
goog.exportSymbol('proto.bonus.GetBonusSnapshotsByIdsRequest', null, global);
|
|
63
65
|
goog.exportSymbol('proto.bonus.GetBonusTranslationRequest', null, global);
|
|
66
|
+
goog.exportSymbol('proto.bonus.GetBonusWagerGamesRequest', null, global);
|
|
64
67
|
goog.exportSymbol('proto.bonus.GetCommonUserBonusItemsRequest', null, global);
|
|
65
68
|
goog.exportSymbol('proto.bonus.GetCommonUserBonusItemsResponse', null, global);
|
|
66
69
|
goog.exportSymbol('proto.bonus.GetDepositEligibleUserBonusesRequest', null, global);
|
|
@@ -436,6 +439,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
436
439
|
*/
|
|
437
440
|
proto.bonus.GetBonusBySlugRequest.displayName = 'proto.bonus.GetBonusBySlugRequest';
|
|
438
441
|
}
|
|
442
|
+
/**
|
|
443
|
+
* Generated by JsPbCodeGenerator.
|
|
444
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
445
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
446
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
447
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
448
|
+
* valid.
|
|
449
|
+
* @extends {jspb.Message}
|
|
450
|
+
* @constructor
|
|
451
|
+
*/
|
|
452
|
+
proto.bonus.GetBonusWagerGamesRequest = function(opt_data) {
|
|
453
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
454
|
+
};
|
|
455
|
+
goog.inherits(proto.bonus.GetBonusWagerGamesRequest, jspb.Message);
|
|
456
|
+
if (goog.DEBUG && !COMPILED) {
|
|
457
|
+
/**
|
|
458
|
+
* @public
|
|
459
|
+
* @override
|
|
460
|
+
*/
|
|
461
|
+
proto.bonus.GetBonusWagerGamesRequest.displayName = 'proto.bonus.GetBonusWagerGamesRequest';
|
|
462
|
+
}
|
|
439
463
|
/**
|
|
440
464
|
* Generated by JsPbCodeGenerator.
|
|
441
465
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -6855,6 +6879,376 @@ proto.bonus.GetBonusBySlugRequest.prototype.hasLocale = function() {
|
|
|
6855
6879
|
|
|
6856
6880
|
|
|
6857
6881
|
|
|
6882
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6883
|
+
/**
|
|
6884
|
+
* Creates an object representation of this proto.
|
|
6885
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
6886
|
+
* Optional fields that are not set will be set to undefined.
|
|
6887
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
6888
|
+
* For the list of reserved names please see:
|
|
6889
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
6890
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
6891
|
+
* JSPB instance for transitional soy proto support:
|
|
6892
|
+
* http://goto/soy-param-migration
|
|
6893
|
+
* @return {!Object}
|
|
6894
|
+
*/
|
|
6895
|
+
proto.bonus.GetBonusWagerGamesRequest.prototype.toObject = function(opt_includeInstance) {
|
|
6896
|
+
return proto.bonus.GetBonusWagerGamesRequest.toObject(opt_includeInstance, this);
|
|
6897
|
+
};
|
|
6898
|
+
|
|
6899
|
+
|
|
6900
|
+
/**
|
|
6901
|
+
* Static version of the {@see toObject} method.
|
|
6902
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
6903
|
+
* the JSPB instance for transitional soy proto support:
|
|
6904
|
+
* http://goto/soy-param-migration
|
|
6905
|
+
* @param {!proto.bonus.GetBonusWagerGamesRequest} msg The msg instance to transform.
|
|
6906
|
+
* @return {!Object}
|
|
6907
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
6908
|
+
*/
|
|
6909
|
+
proto.bonus.GetBonusWagerGamesRequest.toObject = function(includeInstance, msg) {
|
|
6910
|
+
var f, obj = {
|
|
6911
|
+
bonusId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
6912
|
+
limit: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
6913
|
+
offset: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
6914
|
+
isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
6915
|
+
country: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
6916
|
+
adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
|
|
6917
|
+
};
|
|
6918
|
+
|
|
6919
|
+
if (includeInstance) {
|
|
6920
|
+
obj.$jspbMessageInstance = msg;
|
|
6921
|
+
}
|
|
6922
|
+
return obj;
|
|
6923
|
+
};
|
|
6924
|
+
}
|
|
6925
|
+
|
|
6926
|
+
|
|
6927
|
+
/**
|
|
6928
|
+
* Deserializes binary data (in protobuf wire format).
|
|
6929
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
6930
|
+
* @return {!proto.bonus.GetBonusWagerGamesRequest}
|
|
6931
|
+
*/
|
|
6932
|
+
proto.bonus.GetBonusWagerGamesRequest.deserializeBinary = function(bytes) {
|
|
6933
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
6934
|
+
var msg = new proto.bonus.GetBonusWagerGamesRequest;
|
|
6935
|
+
return proto.bonus.GetBonusWagerGamesRequest.deserializeBinaryFromReader(msg, reader);
|
|
6936
|
+
};
|
|
6937
|
+
|
|
6938
|
+
|
|
6939
|
+
/**
|
|
6940
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
6941
|
+
* given reader into the given message object.
|
|
6942
|
+
* @param {!proto.bonus.GetBonusWagerGamesRequest} msg The message object to deserialize into.
|
|
6943
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
6944
|
+
* @return {!proto.bonus.GetBonusWagerGamesRequest}
|
|
6945
|
+
*/
|
|
6946
|
+
proto.bonus.GetBonusWagerGamesRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
6947
|
+
while (reader.nextField()) {
|
|
6948
|
+
if (reader.isEndGroup()) {
|
|
6949
|
+
break;
|
|
6950
|
+
}
|
|
6951
|
+
var field = reader.getFieldNumber();
|
|
6952
|
+
switch (field) {
|
|
6953
|
+
case 1:
|
|
6954
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
6955
|
+
msg.setBonusId(value);
|
|
6956
|
+
break;
|
|
6957
|
+
case 2:
|
|
6958
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
6959
|
+
msg.setLimit(value);
|
|
6960
|
+
break;
|
|
6961
|
+
case 3:
|
|
6962
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
6963
|
+
msg.setOffset(value);
|
|
6964
|
+
break;
|
|
6965
|
+
case 4:
|
|
6966
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
6967
|
+
msg.setIsMobile(value);
|
|
6968
|
+
break;
|
|
6969
|
+
case 5:
|
|
6970
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6971
|
+
msg.setCountry(value);
|
|
6972
|
+
break;
|
|
6973
|
+
case 6:
|
|
6974
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
6975
|
+
msg.setAdminSide(value);
|
|
6976
|
+
break;
|
|
6977
|
+
default:
|
|
6978
|
+
reader.skipField();
|
|
6979
|
+
break;
|
|
6980
|
+
}
|
|
6981
|
+
}
|
|
6982
|
+
return msg;
|
|
6983
|
+
};
|
|
6984
|
+
|
|
6985
|
+
|
|
6986
|
+
/**
|
|
6987
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
6988
|
+
* @return {!Uint8Array}
|
|
6989
|
+
*/
|
|
6990
|
+
proto.bonus.GetBonusWagerGamesRequest.prototype.serializeBinary = function() {
|
|
6991
|
+
var writer = new jspb.BinaryWriter();
|
|
6992
|
+
proto.bonus.GetBonusWagerGamesRequest.serializeBinaryToWriter(this, writer);
|
|
6993
|
+
return writer.getResultBuffer();
|
|
6994
|
+
};
|
|
6995
|
+
|
|
6996
|
+
|
|
6997
|
+
/**
|
|
6998
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
6999
|
+
* format), writing to the given BinaryWriter.
|
|
7000
|
+
* @param {!proto.bonus.GetBonusWagerGamesRequest} message
|
|
7001
|
+
* @param {!jspb.BinaryWriter} writer
|
|
7002
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7003
|
+
*/
|
|
7004
|
+
proto.bonus.GetBonusWagerGamesRequest.serializeBinaryToWriter = function(message, writer) {
|
|
7005
|
+
var f = undefined;
|
|
7006
|
+
f = message.getBonusId();
|
|
7007
|
+
if (f !== 0) {
|
|
7008
|
+
writer.writeInt32(
|
|
7009
|
+
1,
|
|
7010
|
+
f
|
|
7011
|
+
);
|
|
7012
|
+
}
|
|
7013
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 2));
|
|
7014
|
+
if (f != null) {
|
|
7015
|
+
writer.writeInt32(
|
|
7016
|
+
2,
|
|
7017
|
+
f
|
|
7018
|
+
);
|
|
7019
|
+
}
|
|
7020
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
|
7021
|
+
if (f != null) {
|
|
7022
|
+
writer.writeInt32(
|
|
7023
|
+
3,
|
|
7024
|
+
f
|
|
7025
|
+
);
|
|
7026
|
+
}
|
|
7027
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 4));
|
|
7028
|
+
if (f != null) {
|
|
7029
|
+
writer.writeBool(
|
|
7030
|
+
4,
|
|
7031
|
+
f
|
|
7032
|
+
);
|
|
7033
|
+
}
|
|
7034
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
7035
|
+
if (f != null) {
|
|
7036
|
+
writer.writeString(
|
|
7037
|
+
5,
|
|
7038
|
+
f
|
|
7039
|
+
);
|
|
7040
|
+
}
|
|
7041
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 6));
|
|
7042
|
+
if (f != null) {
|
|
7043
|
+
writer.writeBool(
|
|
7044
|
+
6,
|
|
7045
|
+
f
|
|
7046
|
+
);
|
|
7047
|
+
}
|
|
7048
|
+
};
|
|
7049
|
+
|
|
7050
|
+
|
|
7051
|
+
/**
|
|
7052
|
+
* optional int32 bonus_id = 1;
|
|
7053
|
+
* @return {number}
|
|
7054
|
+
*/
|
|
7055
|
+
proto.bonus.GetBonusWagerGamesRequest.prototype.getBonusId = function() {
|
|
7056
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
7057
|
+
};
|
|
7058
|
+
|
|
7059
|
+
|
|
7060
|
+
/**
|
|
7061
|
+
* @param {number} value
|
|
7062
|
+
* @return {!proto.bonus.GetBonusWagerGamesRequest} returns this
|
|
7063
|
+
*/
|
|
7064
|
+
proto.bonus.GetBonusWagerGamesRequest.prototype.setBonusId = function(value) {
|
|
7065
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
7066
|
+
};
|
|
7067
|
+
|
|
7068
|
+
|
|
7069
|
+
/**
|
|
7070
|
+
* optional int32 limit = 2;
|
|
7071
|
+
* @return {number}
|
|
7072
|
+
*/
|
|
7073
|
+
proto.bonus.GetBonusWagerGamesRequest.prototype.getLimit = function() {
|
|
7074
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
7075
|
+
};
|
|
7076
|
+
|
|
7077
|
+
|
|
7078
|
+
/**
|
|
7079
|
+
* @param {number} value
|
|
7080
|
+
* @return {!proto.bonus.GetBonusWagerGamesRequest} returns this
|
|
7081
|
+
*/
|
|
7082
|
+
proto.bonus.GetBonusWagerGamesRequest.prototype.setLimit = function(value) {
|
|
7083
|
+
return jspb.Message.setField(this, 2, value);
|
|
7084
|
+
};
|
|
7085
|
+
|
|
7086
|
+
|
|
7087
|
+
/**
|
|
7088
|
+
* Clears the field making it undefined.
|
|
7089
|
+
* @return {!proto.bonus.GetBonusWagerGamesRequest} returns this
|
|
7090
|
+
*/
|
|
7091
|
+
proto.bonus.GetBonusWagerGamesRequest.prototype.clearLimit = function() {
|
|
7092
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
7093
|
+
};
|
|
7094
|
+
|
|
7095
|
+
|
|
7096
|
+
/**
|
|
7097
|
+
* Returns whether this field is set.
|
|
7098
|
+
* @return {boolean}
|
|
7099
|
+
*/
|
|
7100
|
+
proto.bonus.GetBonusWagerGamesRequest.prototype.hasLimit = function() {
|
|
7101
|
+
return jspb.Message.getField(this, 2) != null;
|
|
7102
|
+
};
|
|
7103
|
+
|
|
7104
|
+
|
|
7105
|
+
/**
|
|
7106
|
+
* optional int32 offset = 3;
|
|
7107
|
+
* @return {number}
|
|
7108
|
+
*/
|
|
7109
|
+
proto.bonus.GetBonusWagerGamesRequest.prototype.getOffset = function() {
|
|
7110
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
7111
|
+
};
|
|
7112
|
+
|
|
7113
|
+
|
|
7114
|
+
/**
|
|
7115
|
+
* @param {number} value
|
|
7116
|
+
* @return {!proto.bonus.GetBonusWagerGamesRequest} returns this
|
|
7117
|
+
*/
|
|
7118
|
+
proto.bonus.GetBonusWagerGamesRequest.prototype.setOffset = function(value) {
|
|
7119
|
+
return jspb.Message.setField(this, 3, value);
|
|
7120
|
+
};
|
|
7121
|
+
|
|
7122
|
+
|
|
7123
|
+
/**
|
|
7124
|
+
* Clears the field making it undefined.
|
|
7125
|
+
* @return {!proto.bonus.GetBonusWagerGamesRequest} returns this
|
|
7126
|
+
*/
|
|
7127
|
+
proto.bonus.GetBonusWagerGamesRequest.prototype.clearOffset = function() {
|
|
7128
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
7129
|
+
};
|
|
7130
|
+
|
|
7131
|
+
|
|
7132
|
+
/**
|
|
7133
|
+
* Returns whether this field is set.
|
|
7134
|
+
* @return {boolean}
|
|
7135
|
+
*/
|
|
7136
|
+
proto.bonus.GetBonusWagerGamesRequest.prototype.hasOffset = function() {
|
|
7137
|
+
return jspb.Message.getField(this, 3) != null;
|
|
7138
|
+
};
|
|
7139
|
+
|
|
7140
|
+
|
|
7141
|
+
/**
|
|
7142
|
+
* optional bool is_mobile = 4;
|
|
7143
|
+
* @return {boolean}
|
|
7144
|
+
*/
|
|
7145
|
+
proto.bonus.GetBonusWagerGamesRequest.prototype.getIsMobile = function() {
|
|
7146
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
|
|
7147
|
+
};
|
|
7148
|
+
|
|
7149
|
+
|
|
7150
|
+
/**
|
|
7151
|
+
* @param {boolean} value
|
|
7152
|
+
* @return {!proto.bonus.GetBonusWagerGamesRequest} returns this
|
|
7153
|
+
*/
|
|
7154
|
+
proto.bonus.GetBonusWagerGamesRequest.prototype.setIsMobile = function(value) {
|
|
7155
|
+
return jspb.Message.setField(this, 4, value);
|
|
7156
|
+
};
|
|
7157
|
+
|
|
7158
|
+
|
|
7159
|
+
/**
|
|
7160
|
+
* Clears the field making it undefined.
|
|
7161
|
+
* @return {!proto.bonus.GetBonusWagerGamesRequest} returns this
|
|
7162
|
+
*/
|
|
7163
|
+
proto.bonus.GetBonusWagerGamesRequest.prototype.clearIsMobile = function() {
|
|
7164
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
7165
|
+
};
|
|
7166
|
+
|
|
7167
|
+
|
|
7168
|
+
/**
|
|
7169
|
+
* Returns whether this field is set.
|
|
7170
|
+
* @return {boolean}
|
|
7171
|
+
*/
|
|
7172
|
+
proto.bonus.GetBonusWagerGamesRequest.prototype.hasIsMobile = function() {
|
|
7173
|
+
return jspb.Message.getField(this, 4) != null;
|
|
7174
|
+
};
|
|
7175
|
+
|
|
7176
|
+
|
|
7177
|
+
/**
|
|
7178
|
+
* optional string country = 5;
|
|
7179
|
+
* @return {string}
|
|
7180
|
+
*/
|
|
7181
|
+
proto.bonus.GetBonusWagerGamesRequest.prototype.getCountry = function() {
|
|
7182
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
7183
|
+
};
|
|
7184
|
+
|
|
7185
|
+
|
|
7186
|
+
/**
|
|
7187
|
+
* @param {string} value
|
|
7188
|
+
* @return {!proto.bonus.GetBonusWagerGamesRequest} returns this
|
|
7189
|
+
*/
|
|
7190
|
+
proto.bonus.GetBonusWagerGamesRequest.prototype.setCountry = function(value) {
|
|
7191
|
+
return jspb.Message.setField(this, 5, value);
|
|
7192
|
+
};
|
|
7193
|
+
|
|
7194
|
+
|
|
7195
|
+
/**
|
|
7196
|
+
* Clears the field making it undefined.
|
|
7197
|
+
* @return {!proto.bonus.GetBonusWagerGamesRequest} returns this
|
|
7198
|
+
*/
|
|
7199
|
+
proto.bonus.GetBonusWagerGamesRequest.prototype.clearCountry = function() {
|
|
7200
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
7201
|
+
};
|
|
7202
|
+
|
|
7203
|
+
|
|
7204
|
+
/**
|
|
7205
|
+
* Returns whether this field is set.
|
|
7206
|
+
* @return {boolean}
|
|
7207
|
+
*/
|
|
7208
|
+
proto.bonus.GetBonusWagerGamesRequest.prototype.hasCountry = function() {
|
|
7209
|
+
return jspb.Message.getField(this, 5) != null;
|
|
7210
|
+
};
|
|
7211
|
+
|
|
7212
|
+
|
|
7213
|
+
/**
|
|
7214
|
+
* optional bool admin_side = 6;
|
|
7215
|
+
* @return {boolean}
|
|
7216
|
+
*/
|
|
7217
|
+
proto.bonus.GetBonusWagerGamesRequest.prototype.getAdminSide = function() {
|
|
7218
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
|
|
7219
|
+
};
|
|
7220
|
+
|
|
7221
|
+
|
|
7222
|
+
/**
|
|
7223
|
+
* @param {boolean} value
|
|
7224
|
+
* @return {!proto.bonus.GetBonusWagerGamesRequest} returns this
|
|
7225
|
+
*/
|
|
7226
|
+
proto.bonus.GetBonusWagerGamesRequest.prototype.setAdminSide = function(value) {
|
|
7227
|
+
return jspb.Message.setField(this, 6, value);
|
|
7228
|
+
};
|
|
7229
|
+
|
|
7230
|
+
|
|
7231
|
+
/**
|
|
7232
|
+
* Clears the field making it undefined.
|
|
7233
|
+
* @return {!proto.bonus.GetBonusWagerGamesRequest} returns this
|
|
7234
|
+
*/
|
|
7235
|
+
proto.bonus.GetBonusWagerGamesRequest.prototype.clearAdminSide = function() {
|
|
7236
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
7237
|
+
};
|
|
7238
|
+
|
|
7239
|
+
|
|
7240
|
+
/**
|
|
7241
|
+
* Returns whether this field is set.
|
|
7242
|
+
* @return {boolean}
|
|
7243
|
+
*/
|
|
7244
|
+
proto.bonus.GetBonusWagerGamesRequest.prototype.hasAdminSide = function() {
|
|
7245
|
+
return jspb.Message.getField(this, 6) != null;
|
|
7246
|
+
};
|
|
7247
|
+
|
|
7248
|
+
|
|
7249
|
+
|
|
7250
|
+
|
|
7251
|
+
|
|
6858
7252
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
6859
7253
|
/**
|
|
6860
7254
|
* Creates an object representation of this proto.
|
|
@@ -18826,7 +19220,8 @@ proto.bonus.ActiveWageringUserBonusItem.toObject = function(includeInstance, msg
|
|
|
18826
19220
|
totalWagerAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
|
18827
19221
|
wageringEndInMilliseconds: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
18828
19222
|
wagerBalancesList: (f = jspb.Message.getRepeatedField(msg, 8)) == null ? undefined : f,
|
|
18829
|
-
wagerGamesListId: jspb.Message.getFieldWithDefault(msg, 9, 0)
|
|
19223
|
+
wagerGamesListId: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
|
19224
|
+
wagerBalancePriority: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
18830
19225
|
};
|
|
18831
19226
|
|
|
18832
19227
|
if (includeInstance) {
|
|
@@ -18899,6 +19294,10 @@ proto.bonus.ActiveWageringUserBonusItem.deserializeBinaryFromReader = function(m
|
|
|
18899
19294
|
var value = /** @type {number} */ (reader.readInt32());
|
|
18900
19295
|
msg.setWagerGamesListId(value);
|
|
18901
19296
|
break;
|
|
19297
|
+
case 10:
|
|
19298
|
+
var value = /** @type {string} */ (reader.readString());
|
|
19299
|
+
msg.setWagerBalancePriority(value);
|
|
19300
|
+
break;
|
|
18902
19301
|
default:
|
|
18903
19302
|
reader.skipField();
|
|
18904
19303
|
break;
|
|
@@ -18991,6 +19390,13 @@ proto.bonus.ActiveWageringUserBonusItem.serializeBinaryToWriter = function(messa
|
|
|
18991
19390
|
f
|
|
18992
19391
|
);
|
|
18993
19392
|
}
|
|
19393
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 10));
|
|
19394
|
+
if (f != null) {
|
|
19395
|
+
writer.writeString(
|
|
19396
|
+
10,
|
|
19397
|
+
f
|
|
19398
|
+
);
|
|
19399
|
+
}
|
|
18994
19400
|
};
|
|
18995
19401
|
|
|
18996
19402
|
|
|
@@ -19301,6 +19707,42 @@ proto.bonus.ActiveWageringUserBonusItem.prototype.hasWagerGamesListId = function
|
|
|
19301
19707
|
};
|
|
19302
19708
|
|
|
19303
19709
|
|
|
19710
|
+
/**
|
|
19711
|
+
* optional string wager_balance_priority = 10;
|
|
19712
|
+
* @return {string}
|
|
19713
|
+
*/
|
|
19714
|
+
proto.bonus.ActiveWageringUserBonusItem.prototype.getWagerBalancePriority = function() {
|
|
19715
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
19716
|
+
};
|
|
19717
|
+
|
|
19718
|
+
|
|
19719
|
+
/**
|
|
19720
|
+
* @param {string} value
|
|
19721
|
+
* @return {!proto.bonus.ActiveWageringUserBonusItem} returns this
|
|
19722
|
+
*/
|
|
19723
|
+
proto.bonus.ActiveWageringUserBonusItem.prototype.setWagerBalancePriority = function(value) {
|
|
19724
|
+
return jspb.Message.setField(this, 10, value);
|
|
19725
|
+
};
|
|
19726
|
+
|
|
19727
|
+
|
|
19728
|
+
/**
|
|
19729
|
+
* Clears the field making it undefined.
|
|
19730
|
+
* @return {!proto.bonus.ActiveWageringUserBonusItem} returns this
|
|
19731
|
+
*/
|
|
19732
|
+
proto.bonus.ActiveWageringUserBonusItem.prototype.clearWagerBalancePriority = function() {
|
|
19733
|
+
return jspb.Message.setField(this, 10, undefined);
|
|
19734
|
+
};
|
|
19735
|
+
|
|
19736
|
+
|
|
19737
|
+
/**
|
|
19738
|
+
* Returns whether this field is set.
|
|
19739
|
+
* @return {boolean}
|
|
19740
|
+
*/
|
|
19741
|
+
proto.bonus.ActiveWageringUserBonusItem.prototype.hasWagerBalancePriority = function() {
|
|
19742
|
+
return jspb.Message.getField(this, 10) != null;
|
|
19743
|
+
};
|
|
19744
|
+
|
|
19745
|
+
|
|
19304
19746
|
|
|
19305
19747
|
|
|
19306
19748
|
|
|
@@ -20304,7 +20746,8 @@ proto.bonus.ValidateSelectedWageringUserBonusResponse.toObject = function(includ
|
|
|
20304
20746
|
maxBet: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0),
|
|
20305
20747
|
realWagering: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
|
|
20306
20748
|
bonusWagering: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
|
|
20307
|
-
cancellationAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0)
|
|
20749
|
+
cancellationAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0),
|
|
20750
|
+
wagerBalancePriority: jspb.Message.getFieldWithDefault(msg, 12, "")
|
|
20308
20751
|
};
|
|
20309
20752
|
|
|
20310
20753
|
if (includeInstance) {
|
|
@@ -20385,6 +20828,10 @@ proto.bonus.ValidateSelectedWageringUserBonusResponse.deserializeBinaryFromReade
|
|
|
20385
20828
|
var value = /** @type {number} */ (reader.readFloat());
|
|
20386
20829
|
msg.setCancellationAmount(value);
|
|
20387
20830
|
break;
|
|
20831
|
+
case 12:
|
|
20832
|
+
var value = /** @type {string} */ (reader.readString());
|
|
20833
|
+
msg.setWagerBalancePriority(value);
|
|
20834
|
+
break;
|
|
20388
20835
|
default:
|
|
20389
20836
|
reader.skipField();
|
|
20390
20837
|
break;
|
|
@@ -20491,6 +20938,13 @@ proto.bonus.ValidateSelectedWageringUserBonusResponse.serializeBinaryToWriter =
|
|
|
20491
20938
|
f
|
|
20492
20939
|
);
|
|
20493
20940
|
}
|
|
20941
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 12));
|
|
20942
|
+
if (f != null) {
|
|
20943
|
+
writer.writeString(
|
|
20944
|
+
12,
|
|
20945
|
+
f
|
|
20946
|
+
);
|
|
20947
|
+
}
|
|
20494
20948
|
};
|
|
20495
20949
|
|
|
20496
20950
|
|
|
@@ -20711,6 +21165,42 @@ proto.bonus.ValidateSelectedWageringUserBonusResponse.prototype.setCancellationA
|
|
|
20711
21165
|
};
|
|
20712
21166
|
|
|
20713
21167
|
|
|
21168
|
+
/**
|
|
21169
|
+
* optional string wager_balance_priority = 12;
|
|
21170
|
+
* @return {string}
|
|
21171
|
+
*/
|
|
21172
|
+
proto.bonus.ValidateSelectedWageringUserBonusResponse.prototype.getWagerBalancePriority = function() {
|
|
21173
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
21174
|
+
};
|
|
21175
|
+
|
|
21176
|
+
|
|
21177
|
+
/**
|
|
21178
|
+
* @param {string} value
|
|
21179
|
+
* @return {!proto.bonus.ValidateSelectedWageringUserBonusResponse} returns this
|
|
21180
|
+
*/
|
|
21181
|
+
proto.bonus.ValidateSelectedWageringUserBonusResponse.prototype.setWagerBalancePriority = function(value) {
|
|
21182
|
+
return jspb.Message.setField(this, 12, value);
|
|
21183
|
+
};
|
|
21184
|
+
|
|
21185
|
+
|
|
21186
|
+
/**
|
|
21187
|
+
* Clears the field making it undefined.
|
|
21188
|
+
* @return {!proto.bonus.ValidateSelectedWageringUserBonusResponse} returns this
|
|
21189
|
+
*/
|
|
21190
|
+
proto.bonus.ValidateSelectedWageringUserBonusResponse.prototype.clearWagerBalancePriority = function() {
|
|
21191
|
+
return jspb.Message.setField(this, 12, undefined);
|
|
21192
|
+
};
|
|
21193
|
+
|
|
21194
|
+
|
|
21195
|
+
/**
|
|
21196
|
+
* Returns whether this field is set.
|
|
21197
|
+
* @return {boolean}
|
|
21198
|
+
*/
|
|
21199
|
+
proto.bonus.ValidateSelectedWageringUserBonusResponse.prototype.hasWagerBalancePriority = function() {
|
|
21200
|
+
return jspb.Message.getField(this, 12) != null;
|
|
21201
|
+
};
|
|
21202
|
+
|
|
21203
|
+
|
|
20714
21204
|
|
|
20715
21205
|
|
|
20716
21206
|
|
package/game/game.proto
CHANGED
|
@@ -104,6 +104,8 @@ service Game {
|
|
|
104
104
|
rpc addGamesIntoWagerList(WagerListGamesRequest) returns (GameStatusResponse);
|
|
105
105
|
rpc removeGamesFromWagerList(WagerListGamesRequest) returns (GameStatusResponse);
|
|
106
106
|
rpc fetchGamesFromWagerList(PaginationRequest) returns (GameItemsResponse);
|
|
107
|
+
// Flat paginated games from multiple wager lists combined into one result set.
|
|
108
|
+
rpc fetchGamesFromWagerLists(FetchGamesFromWagerListsRequest) returns (GameItemsResponse);
|
|
107
109
|
rpc notProcessedGamesInWagerList(PaginationRequest) returns (GameItemsResponse);
|
|
108
110
|
rpc getPoorWagerLists(WagerSearchRequest) returns (WagerListItemsResponse);
|
|
109
111
|
rpc updateWagerListsInBunch(ItemsBunchRequest) returns (GameStatusResponse);
|
|
@@ -758,6 +760,8 @@ message ActiveWageringUserBonus {
|
|
|
758
760
|
int64 wagering_end_in_milliseconds = 7;
|
|
759
761
|
repeated string wager_balances = 8;
|
|
760
762
|
int32 wager_games_list_id = 9;
|
|
763
|
+
// Business-allowed: "any" | "real" | "bonus"
|
|
764
|
+
optional string wager_balance_priority = 10;
|
|
761
765
|
}
|
|
762
766
|
message GameConfigCheckResponse {
|
|
763
767
|
int32 game_id = 1;
|
|
@@ -917,6 +921,15 @@ message WagerListGamesRequest {
|
|
|
917
921
|
int32 id = 1;
|
|
918
922
|
repeated int32 game_ids = 2;
|
|
919
923
|
}
|
|
924
|
+
// Combined wager-list games query; pagination applies to the merged result.
|
|
925
|
+
message FetchGamesFromWagerListsRequest {
|
|
926
|
+
repeated int32 wager_list_ids = 1; // All wager lists to search.
|
|
927
|
+
optional int32 limit = 2; // Maximum number of games returned.
|
|
928
|
+
optional int32 offset = 3; // Number of combined result rows to skip.
|
|
929
|
+
optional bool is_mobile = 4;
|
|
930
|
+
optional string geo = 5;
|
|
931
|
+
optional bool admin_side = 6;
|
|
932
|
+
}
|
|
920
933
|
message WagerListItem {
|
|
921
934
|
int32 id = 1;
|
|
922
935
|
string title = 2;
|
package/game/game_grpc_pb.js
CHANGED
|
@@ -246,6 +246,17 @@ function deserialize_game_DashboardResponse(buffer_arg) {
|
|
|
246
246
|
return game_pb.DashboardResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
247
247
|
}
|
|
248
248
|
|
|
249
|
+
function serialize_game_FetchGamesFromWagerListsRequest(arg) {
|
|
250
|
+
if (!(arg instanceof game_pb.FetchGamesFromWagerListsRequest)) {
|
|
251
|
+
throw new Error('Expected argument of type game.FetchGamesFromWagerListsRequest');
|
|
252
|
+
}
|
|
253
|
+
return Buffer.from(arg.serializeBinary());
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
function deserialize_game_FetchGamesFromWagerListsRequest(buffer_arg) {
|
|
257
|
+
return game_pb.FetchGamesFromWagerListsRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
258
|
+
}
|
|
259
|
+
|
|
249
260
|
function serialize_game_File(arg) {
|
|
250
261
|
if (!(arg instanceof game_pb.File)) {
|
|
251
262
|
throw new Error('Expected argument of type game.File');
|
|
@@ -2274,6 +2285,18 @@ readSingleWagerList: {
|
|
|
2274
2285
|
responseSerialize: serialize_game_GameItemsResponse,
|
|
2275
2286
|
responseDeserialize: deserialize_game_GameItemsResponse,
|
|
2276
2287
|
},
|
|
2288
|
+
// Flat paginated games from multiple wager lists combined into one result set.
|
|
2289
|
+
fetchGamesFromWagerLists: {
|
|
2290
|
+
path: '/game.Game/fetchGamesFromWagerLists',
|
|
2291
|
+
requestStream: false,
|
|
2292
|
+
responseStream: false,
|
|
2293
|
+
requestType: game_pb.FetchGamesFromWagerListsRequest,
|
|
2294
|
+
responseType: game_pb.GameItemsResponse,
|
|
2295
|
+
requestSerialize: serialize_game_FetchGamesFromWagerListsRequest,
|
|
2296
|
+
requestDeserialize: deserialize_game_FetchGamesFromWagerListsRequest,
|
|
2297
|
+
responseSerialize: serialize_game_GameItemsResponse,
|
|
2298
|
+
responseDeserialize: deserialize_game_GameItemsResponse,
|
|
2299
|
+
},
|
|
2277
2300
|
notProcessedGamesInWagerList: {
|
|
2278
2301
|
path: '/game.Game/notProcessedGamesInWagerList',
|
|
2279
2302
|
requestStream: false,
|