protobuf-platform 1.2.659 → 1.2.661
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/analytic/analytic.proto +5 -0
- package/analytic/analytic_pb.js +253 -2
- package/bet/bet.proto +13 -0
- package/bet/bet_grpc_pb.js +55 -0
- package/bet/bet_pb.js +605 -1
- package/game/game.proto +5 -0
- package/game/game_grpc_pb.js +22 -0
- package/game/game_pb.js +229 -2
- package/notification/notification.proto +9 -0
- package/notification/notification_grpc_pb.js +44 -0
- package/notification/notification_pb.js +390 -0
- package/package.json +1 -1
- package/payment/payment.proto +4 -0
- package/payment/payment_pb.js +101 -2
- package/scripts/verify-precision-rg-contract.js +41 -3
- package/user/user.proto +8 -0
- package/user/user_grpc_pb.js +33 -0
- package/user/user_pb.js +362 -0
package/bet/bet_pb.js
CHANGED
|
@@ -40,6 +40,9 @@ goog.exportSymbol('proto.bet.DashboardRequest', null, global);
|
|
|
40
40
|
goog.exportSymbol('proto.bet.DashboardResponse', null, global);
|
|
41
41
|
goog.exportSymbol('proto.bet.PaginationRequest', null, global);
|
|
42
42
|
goog.exportSymbol('proto.bet.PingRequest', null, global);
|
|
43
|
+
goog.exportSymbol('proto.bet.PlayedGameUsersRequest', null, global);
|
|
44
|
+
goog.exportSymbol('proto.bet.PlayedGameUuidsByUserRequest', null, global);
|
|
45
|
+
goog.exportSymbol('proto.bet.PlayedGameUuidsResponse', null, global);
|
|
43
46
|
goog.exportSymbol('proto.bet.PongResponse', null, global);
|
|
44
47
|
goog.exportSymbol('proto.bet.PromotionalBigWinItem', null, global);
|
|
45
48
|
goog.exportSymbol('proto.bet.PromotionalBigWinItemsResponse', null, global);
|
|
@@ -342,6 +345,69 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
342
345
|
*/
|
|
343
346
|
proto.bet.SegmentedUserRequest.displayName = 'proto.bet.SegmentedUserRequest';
|
|
344
347
|
}
|
|
348
|
+
/**
|
|
349
|
+
* Generated by JsPbCodeGenerator.
|
|
350
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
351
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
352
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
353
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
354
|
+
* valid.
|
|
355
|
+
* @extends {jspb.Message}
|
|
356
|
+
* @constructor
|
|
357
|
+
*/
|
|
358
|
+
proto.bet.PlayedGameUsersRequest = function(opt_data) {
|
|
359
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.bet.PlayedGameUsersRequest.repeatedFields_, null);
|
|
360
|
+
};
|
|
361
|
+
goog.inherits(proto.bet.PlayedGameUsersRequest, jspb.Message);
|
|
362
|
+
if (goog.DEBUG && !COMPILED) {
|
|
363
|
+
/**
|
|
364
|
+
* @public
|
|
365
|
+
* @override
|
|
366
|
+
*/
|
|
367
|
+
proto.bet.PlayedGameUsersRequest.displayName = 'proto.bet.PlayedGameUsersRequest';
|
|
368
|
+
}
|
|
369
|
+
/**
|
|
370
|
+
* Generated by JsPbCodeGenerator.
|
|
371
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
372
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
373
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
374
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
375
|
+
* valid.
|
|
376
|
+
* @extends {jspb.Message}
|
|
377
|
+
* @constructor
|
|
378
|
+
*/
|
|
379
|
+
proto.bet.PlayedGameUuidsByUserRequest = function(opt_data) {
|
|
380
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
381
|
+
};
|
|
382
|
+
goog.inherits(proto.bet.PlayedGameUuidsByUserRequest, jspb.Message);
|
|
383
|
+
if (goog.DEBUG && !COMPILED) {
|
|
384
|
+
/**
|
|
385
|
+
* @public
|
|
386
|
+
* @override
|
|
387
|
+
*/
|
|
388
|
+
proto.bet.PlayedGameUuidsByUserRequest.displayName = 'proto.bet.PlayedGameUuidsByUserRequest';
|
|
389
|
+
}
|
|
390
|
+
/**
|
|
391
|
+
* Generated by JsPbCodeGenerator.
|
|
392
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
393
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
394
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
395
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
396
|
+
* valid.
|
|
397
|
+
* @extends {jspb.Message}
|
|
398
|
+
* @constructor
|
|
399
|
+
*/
|
|
400
|
+
proto.bet.PlayedGameUuidsResponse = function(opt_data) {
|
|
401
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.bet.PlayedGameUuidsResponse.repeatedFields_, null);
|
|
402
|
+
};
|
|
403
|
+
goog.inherits(proto.bet.PlayedGameUuidsResponse, jspb.Message);
|
|
404
|
+
if (goog.DEBUG && !COMPILED) {
|
|
405
|
+
/**
|
|
406
|
+
* @public
|
|
407
|
+
* @override
|
|
408
|
+
*/
|
|
409
|
+
proto.bet.PlayedGameUuidsResponse.displayName = 'proto.bet.PlayedGameUuidsResponse';
|
|
410
|
+
}
|
|
345
411
|
/**
|
|
346
412
|
* Generated by JsPbCodeGenerator.
|
|
347
413
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -10028,7 +10094,8 @@ proto.bet.SegmentedUserRequest.toObject = function(includeInstance, msg) {
|
|
|
10028
10094
|
winSumMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 14, 0.0),
|
|
10029
10095
|
winSumMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 15, 0.0),
|
|
10030
10096
|
winAvgMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 16, 0.0),
|
|
10031
|
-
winAvgMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 17, 0.0)
|
|
10097
|
+
winAvgMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 17, 0.0),
|
|
10098
|
+
userId: jspb.Message.getFieldWithDefault(msg, 18, 0)
|
|
10032
10099
|
};
|
|
10033
10100
|
|
|
10034
10101
|
if (includeInstance) {
|
|
@@ -10133,6 +10200,10 @@ proto.bet.SegmentedUserRequest.deserializeBinaryFromReader = function(msg, reade
|
|
|
10133
10200
|
var value = /** @type {number} */ (reader.readFloat());
|
|
10134
10201
|
msg.setWinAvgMax(value);
|
|
10135
10202
|
break;
|
|
10203
|
+
case 18:
|
|
10204
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
10205
|
+
msg.setUserId(value);
|
|
10206
|
+
break;
|
|
10136
10207
|
default:
|
|
10137
10208
|
reader.skipField();
|
|
10138
10209
|
break;
|
|
@@ -10281,6 +10352,13 @@ proto.bet.SegmentedUserRequest.serializeBinaryToWriter = function(message, write
|
|
|
10281
10352
|
f
|
|
10282
10353
|
);
|
|
10283
10354
|
}
|
|
10355
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 18));
|
|
10356
|
+
if (f != null) {
|
|
10357
|
+
writer.writeInt32(
|
|
10358
|
+
18,
|
|
10359
|
+
f
|
|
10360
|
+
);
|
|
10361
|
+
}
|
|
10284
10362
|
};
|
|
10285
10363
|
|
|
10286
10364
|
|
|
@@ -10896,6 +10974,532 @@ proto.bet.SegmentedUserRequest.prototype.hasWinAvgMax = function() {
|
|
|
10896
10974
|
};
|
|
10897
10975
|
|
|
10898
10976
|
|
|
10977
|
+
/**
|
|
10978
|
+
* optional int32 user_id = 18;
|
|
10979
|
+
* @return {number}
|
|
10980
|
+
*/
|
|
10981
|
+
proto.bet.SegmentedUserRequest.prototype.getUserId = function() {
|
|
10982
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 18, 0));
|
|
10983
|
+
};
|
|
10984
|
+
|
|
10985
|
+
|
|
10986
|
+
/**
|
|
10987
|
+
* @param {number} value
|
|
10988
|
+
* @return {!proto.bet.SegmentedUserRequest} returns this
|
|
10989
|
+
*/
|
|
10990
|
+
proto.bet.SegmentedUserRequest.prototype.setUserId = function(value) {
|
|
10991
|
+
return jspb.Message.setField(this, 18, value);
|
|
10992
|
+
};
|
|
10993
|
+
|
|
10994
|
+
|
|
10995
|
+
/**
|
|
10996
|
+
* Clears the field making it undefined.
|
|
10997
|
+
* @return {!proto.bet.SegmentedUserRequest} returns this
|
|
10998
|
+
*/
|
|
10999
|
+
proto.bet.SegmentedUserRequest.prototype.clearUserId = function() {
|
|
11000
|
+
return jspb.Message.setField(this, 18, undefined);
|
|
11001
|
+
};
|
|
11002
|
+
|
|
11003
|
+
|
|
11004
|
+
/**
|
|
11005
|
+
* Returns whether this field is set.
|
|
11006
|
+
* @return {boolean}
|
|
11007
|
+
*/
|
|
11008
|
+
proto.bet.SegmentedUserRequest.prototype.hasUserId = function() {
|
|
11009
|
+
return jspb.Message.getField(this, 18) != null;
|
|
11010
|
+
};
|
|
11011
|
+
|
|
11012
|
+
|
|
11013
|
+
|
|
11014
|
+
/**
|
|
11015
|
+
* List of repeated fields within this message type.
|
|
11016
|
+
* @private {!Array<number>}
|
|
11017
|
+
* @const
|
|
11018
|
+
*/
|
|
11019
|
+
proto.bet.PlayedGameUsersRequest.repeatedFields_ = [1];
|
|
11020
|
+
|
|
11021
|
+
|
|
11022
|
+
|
|
11023
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
11024
|
+
/**
|
|
11025
|
+
* Creates an object representation of this proto.
|
|
11026
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
11027
|
+
* Optional fields that are not set will be set to undefined.
|
|
11028
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
11029
|
+
* For the list of reserved names please see:
|
|
11030
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
11031
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
11032
|
+
* JSPB instance for transitional soy proto support:
|
|
11033
|
+
* http://goto/soy-param-migration
|
|
11034
|
+
* @return {!Object}
|
|
11035
|
+
*/
|
|
11036
|
+
proto.bet.PlayedGameUsersRequest.prototype.toObject = function(opt_includeInstance) {
|
|
11037
|
+
return proto.bet.PlayedGameUsersRequest.toObject(opt_includeInstance, this);
|
|
11038
|
+
};
|
|
11039
|
+
|
|
11040
|
+
|
|
11041
|
+
/**
|
|
11042
|
+
* Static version of the {@see toObject} method.
|
|
11043
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
11044
|
+
* the JSPB instance for transitional soy proto support:
|
|
11045
|
+
* http://goto/soy-param-migration
|
|
11046
|
+
* @param {!proto.bet.PlayedGameUsersRequest} msg The msg instance to transform.
|
|
11047
|
+
* @return {!Object}
|
|
11048
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11049
|
+
*/
|
|
11050
|
+
proto.bet.PlayedGameUsersRequest.toObject = function(includeInstance, msg) {
|
|
11051
|
+
var f, obj = {
|
|
11052
|
+
gameUuidsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
11053
|
+
userId: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
11054
|
+
};
|
|
11055
|
+
|
|
11056
|
+
if (includeInstance) {
|
|
11057
|
+
obj.$jspbMessageInstance = msg;
|
|
11058
|
+
}
|
|
11059
|
+
return obj;
|
|
11060
|
+
};
|
|
11061
|
+
}
|
|
11062
|
+
|
|
11063
|
+
|
|
11064
|
+
/**
|
|
11065
|
+
* Deserializes binary data (in protobuf wire format).
|
|
11066
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
11067
|
+
* @return {!proto.bet.PlayedGameUsersRequest}
|
|
11068
|
+
*/
|
|
11069
|
+
proto.bet.PlayedGameUsersRequest.deserializeBinary = function(bytes) {
|
|
11070
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
11071
|
+
var msg = new proto.bet.PlayedGameUsersRequest;
|
|
11072
|
+
return proto.bet.PlayedGameUsersRequest.deserializeBinaryFromReader(msg, reader);
|
|
11073
|
+
};
|
|
11074
|
+
|
|
11075
|
+
|
|
11076
|
+
/**
|
|
11077
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
11078
|
+
* given reader into the given message object.
|
|
11079
|
+
* @param {!proto.bet.PlayedGameUsersRequest} msg The message object to deserialize into.
|
|
11080
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
11081
|
+
* @return {!proto.bet.PlayedGameUsersRequest}
|
|
11082
|
+
*/
|
|
11083
|
+
proto.bet.PlayedGameUsersRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
11084
|
+
while (reader.nextField()) {
|
|
11085
|
+
if (reader.isEndGroup()) {
|
|
11086
|
+
break;
|
|
11087
|
+
}
|
|
11088
|
+
var field = reader.getFieldNumber();
|
|
11089
|
+
switch (field) {
|
|
11090
|
+
case 1:
|
|
11091
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11092
|
+
msg.addGameUuids(value);
|
|
11093
|
+
break;
|
|
11094
|
+
case 2:
|
|
11095
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
11096
|
+
msg.setUserId(value);
|
|
11097
|
+
break;
|
|
11098
|
+
default:
|
|
11099
|
+
reader.skipField();
|
|
11100
|
+
break;
|
|
11101
|
+
}
|
|
11102
|
+
}
|
|
11103
|
+
return msg;
|
|
11104
|
+
};
|
|
11105
|
+
|
|
11106
|
+
|
|
11107
|
+
/**
|
|
11108
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
11109
|
+
* @return {!Uint8Array}
|
|
11110
|
+
*/
|
|
11111
|
+
proto.bet.PlayedGameUsersRequest.prototype.serializeBinary = function() {
|
|
11112
|
+
var writer = new jspb.BinaryWriter();
|
|
11113
|
+
proto.bet.PlayedGameUsersRequest.serializeBinaryToWriter(this, writer);
|
|
11114
|
+
return writer.getResultBuffer();
|
|
11115
|
+
};
|
|
11116
|
+
|
|
11117
|
+
|
|
11118
|
+
/**
|
|
11119
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
11120
|
+
* format), writing to the given BinaryWriter.
|
|
11121
|
+
* @param {!proto.bet.PlayedGameUsersRequest} message
|
|
11122
|
+
* @param {!jspb.BinaryWriter} writer
|
|
11123
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11124
|
+
*/
|
|
11125
|
+
proto.bet.PlayedGameUsersRequest.serializeBinaryToWriter = function(message, writer) {
|
|
11126
|
+
var f = undefined;
|
|
11127
|
+
f = message.getGameUuidsList();
|
|
11128
|
+
if (f.length > 0) {
|
|
11129
|
+
writer.writeRepeatedString(
|
|
11130
|
+
1,
|
|
11131
|
+
f
|
|
11132
|
+
);
|
|
11133
|
+
}
|
|
11134
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 2));
|
|
11135
|
+
if (f != null) {
|
|
11136
|
+
writer.writeInt32(
|
|
11137
|
+
2,
|
|
11138
|
+
f
|
|
11139
|
+
);
|
|
11140
|
+
}
|
|
11141
|
+
};
|
|
11142
|
+
|
|
11143
|
+
|
|
11144
|
+
/**
|
|
11145
|
+
* repeated string game_uuids = 1;
|
|
11146
|
+
* @return {!Array<string>}
|
|
11147
|
+
*/
|
|
11148
|
+
proto.bet.PlayedGameUsersRequest.prototype.getGameUuidsList = function() {
|
|
11149
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
11150
|
+
};
|
|
11151
|
+
|
|
11152
|
+
|
|
11153
|
+
/**
|
|
11154
|
+
* @param {!Array<string>} value
|
|
11155
|
+
* @return {!proto.bet.PlayedGameUsersRequest} returns this
|
|
11156
|
+
*/
|
|
11157
|
+
proto.bet.PlayedGameUsersRequest.prototype.setGameUuidsList = function(value) {
|
|
11158
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
11159
|
+
};
|
|
11160
|
+
|
|
11161
|
+
|
|
11162
|
+
/**
|
|
11163
|
+
* @param {string} value
|
|
11164
|
+
* @param {number=} opt_index
|
|
11165
|
+
* @return {!proto.bet.PlayedGameUsersRequest} returns this
|
|
11166
|
+
*/
|
|
11167
|
+
proto.bet.PlayedGameUsersRequest.prototype.addGameUuids = function(value, opt_index) {
|
|
11168
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
11169
|
+
};
|
|
11170
|
+
|
|
11171
|
+
|
|
11172
|
+
/**
|
|
11173
|
+
* Clears the list making it empty but non-null.
|
|
11174
|
+
* @return {!proto.bet.PlayedGameUsersRequest} returns this
|
|
11175
|
+
*/
|
|
11176
|
+
proto.bet.PlayedGameUsersRequest.prototype.clearGameUuidsList = function() {
|
|
11177
|
+
return this.setGameUuidsList([]);
|
|
11178
|
+
};
|
|
11179
|
+
|
|
11180
|
+
|
|
11181
|
+
/**
|
|
11182
|
+
* optional int32 user_id = 2;
|
|
11183
|
+
* @return {number}
|
|
11184
|
+
*/
|
|
11185
|
+
proto.bet.PlayedGameUsersRequest.prototype.getUserId = function() {
|
|
11186
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
11187
|
+
};
|
|
11188
|
+
|
|
11189
|
+
|
|
11190
|
+
/**
|
|
11191
|
+
* @param {number} value
|
|
11192
|
+
* @return {!proto.bet.PlayedGameUsersRequest} returns this
|
|
11193
|
+
*/
|
|
11194
|
+
proto.bet.PlayedGameUsersRequest.prototype.setUserId = function(value) {
|
|
11195
|
+
return jspb.Message.setField(this, 2, value);
|
|
11196
|
+
};
|
|
11197
|
+
|
|
11198
|
+
|
|
11199
|
+
/**
|
|
11200
|
+
* Clears the field making it undefined.
|
|
11201
|
+
* @return {!proto.bet.PlayedGameUsersRequest} returns this
|
|
11202
|
+
*/
|
|
11203
|
+
proto.bet.PlayedGameUsersRequest.prototype.clearUserId = function() {
|
|
11204
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
11205
|
+
};
|
|
11206
|
+
|
|
11207
|
+
|
|
11208
|
+
/**
|
|
11209
|
+
* Returns whether this field is set.
|
|
11210
|
+
* @return {boolean}
|
|
11211
|
+
*/
|
|
11212
|
+
proto.bet.PlayedGameUsersRequest.prototype.hasUserId = function() {
|
|
11213
|
+
return jspb.Message.getField(this, 2) != null;
|
|
11214
|
+
};
|
|
11215
|
+
|
|
11216
|
+
|
|
11217
|
+
|
|
11218
|
+
|
|
11219
|
+
|
|
11220
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
11221
|
+
/**
|
|
11222
|
+
* Creates an object representation of this proto.
|
|
11223
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
11224
|
+
* Optional fields that are not set will be set to undefined.
|
|
11225
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
11226
|
+
* For the list of reserved names please see:
|
|
11227
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
11228
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
11229
|
+
* JSPB instance for transitional soy proto support:
|
|
11230
|
+
* http://goto/soy-param-migration
|
|
11231
|
+
* @return {!Object}
|
|
11232
|
+
*/
|
|
11233
|
+
proto.bet.PlayedGameUuidsByUserRequest.prototype.toObject = function(opt_includeInstance) {
|
|
11234
|
+
return proto.bet.PlayedGameUuidsByUserRequest.toObject(opt_includeInstance, this);
|
|
11235
|
+
};
|
|
11236
|
+
|
|
11237
|
+
|
|
11238
|
+
/**
|
|
11239
|
+
* Static version of the {@see toObject} method.
|
|
11240
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
11241
|
+
* the JSPB instance for transitional soy proto support:
|
|
11242
|
+
* http://goto/soy-param-migration
|
|
11243
|
+
* @param {!proto.bet.PlayedGameUuidsByUserRequest} msg The msg instance to transform.
|
|
11244
|
+
* @return {!Object}
|
|
11245
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11246
|
+
*/
|
|
11247
|
+
proto.bet.PlayedGameUuidsByUserRequest.toObject = function(includeInstance, msg) {
|
|
11248
|
+
var f, obj = {
|
|
11249
|
+
userId: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
11250
|
+
};
|
|
11251
|
+
|
|
11252
|
+
if (includeInstance) {
|
|
11253
|
+
obj.$jspbMessageInstance = msg;
|
|
11254
|
+
}
|
|
11255
|
+
return obj;
|
|
11256
|
+
};
|
|
11257
|
+
}
|
|
11258
|
+
|
|
11259
|
+
|
|
11260
|
+
/**
|
|
11261
|
+
* Deserializes binary data (in protobuf wire format).
|
|
11262
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
11263
|
+
* @return {!proto.bet.PlayedGameUuidsByUserRequest}
|
|
11264
|
+
*/
|
|
11265
|
+
proto.bet.PlayedGameUuidsByUserRequest.deserializeBinary = function(bytes) {
|
|
11266
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
11267
|
+
var msg = new proto.bet.PlayedGameUuidsByUserRequest;
|
|
11268
|
+
return proto.bet.PlayedGameUuidsByUserRequest.deserializeBinaryFromReader(msg, reader);
|
|
11269
|
+
};
|
|
11270
|
+
|
|
11271
|
+
|
|
11272
|
+
/**
|
|
11273
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
11274
|
+
* given reader into the given message object.
|
|
11275
|
+
* @param {!proto.bet.PlayedGameUuidsByUserRequest} msg The message object to deserialize into.
|
|
11276
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
11277
|
+
* @return {!proto.bet.PlayedGameUuidsByUserRequest}
|
|
11278
|
+
*/
|
|
11279
|
+
proto.bet.PlayedGameUuidsByUserRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
11280
|
+
while (reader.nextField()) {
|
|
11281
|
+
if (reader.isEndGroup()) {
|
|
11282
|
+
break;
|
|
11283
|
+
}
|
|
11284
|
+
var field = reader.getFieldNumber();
|
|
11285
|
+
switch (field) {
|
|
11286
|
+
case 1:
|
|
11287
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
11288
|
+
msg.setUserId(value);
|
|
11289
|
+
break;
|
|
11290
|
+
default:
|
|
11291
|
+
reader.skipField();
|
|
11292
|
+
break;
|
|
11293
|
+
}
|
|
11294
|
+
}
|
|
11295
|
+
return msg;
|
|
11296
|
+
};
|
|
11297
|
+
|
|
11298
|
+
|
|
11299
|
+
/**
|
|
11300
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
11301
|
+
* @return {!Uint8Array}
|
|
11302
|
+
*/
|
|
11303
|
+
proto.bet.PlayedGameUuidsByUserRequest.prototype.serializeBinary = function() {
|
|
11304
|
+
var writer = new jspb.BinaryWriter();
|
|
11305
|
+
proto.bet.PlayedGameUuidsByUserRequest.serializeBinaryToWriter(this, writer);
|
|
11306
|
+
return writer.getResultBuffer();
|
|
11307
|
+
};
|
|
11308
|
+
|
|
11309
|
+
|
|
11310
|
+
/**
|
|
11311
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
11312
|
+
* format), writing to the given BinaryWriter.
|
|
11313
|
+
* @param {!proto.bet.PlayedGameUuidsByUserRequest} message
|
|
11314
|
+
* @param {!jspb.BinaryWriter} writer
|
|
11315
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11316
|
+
*/
|
|
11317
|
+
proto.bet.PlayedGameUuidsByUserRequest.serializeBinaryToWriter = function(message, writer) {
|
|
11318
|
+
var f = undefined;
|
|
11319
|
+
f = message.getUserId();
|
|
11320
|
+
if (f !== 0) {
|
|
11321
|
+
writer.writeInt32(
|
|
11322
|
+
1,
|
|
11323
|
+
f
|
|
11324
|
+
);
|
|
11325
|
+
}
|
|
11326
|
+
};
|
|
11327
|
+
|
|
11328
|
+
|
|
11329
|
+
/**
|
|
11330
|
+
* optional int32 user_id = 1;
|
|
11331
|
+
* @return {number}
|
|
11332
|
+
*/
|
|
11333
|
+
proto.bet.PlayedGameUuidsByUserRequest.prototype.getUserId = function() {
|
|
11334
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
11335
|
+
};
|
|
11336
|
+
|
|
11337
|
+
|
|
11338
|
+
/**
|
|
11339
|
+
* @param {number} value
|
|
11340
|
+
* @return {!proto.bet.PlayedGameUuidsByUserRequest} returns this
|
|
11341
|
+
*/
|
|
11342
|
+
proto.bet.PlayedGameUuidsByUserRequest.prototype.setUserId = function(value) {
|
|
11343
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
11344
|
+
};
|
|
11345
|
+
|
|
11346
|
+
|
|
11347
|
+
|
|
11348
|
+
/**
|
|
11349
|
+
* List of repeated fields within this message type.
|
|
11350
|
+
* @private {!Array<number>}
|
|
11351
|
+
* @const
|
|
11352
|
+
*/
|
|
11353
|
+
proto.bet.PlayedGameUuidsResponse.repeatedFields_ = [1];
|
|
11354
|
+
|
|
11355
|
+
|
|
11356
|
+
|
|
11357
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
11358
|
+
/**
|
|
11359
|
+
* Creates an object representation of this proto.
|
|
11360
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
11361
|
+
* Optional fields that are not set will be set to undefined.
|
|
11362
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
11363
|
+
* For the list of reserved names please see:
|
|
11364
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
11365
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
11366
|
+
* JSPB instance for transitional soy proto support:
|
|
11367
|
+
* http://goto/soy-param-migration
|
|
11368
|
+
* @return {!Object}
|
|
11369
|
+
*/
|
|
11370
|
+
proto.bet.PlayedGameUuidsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
11371
|
+
return proto.bet.PlayedGameUuidsResponse.toObject(opt_includeInstance, this);
|
|
11372
|
+
};
|
|
11373
|
+
|
|
11374
|
+
|
|
11375
|
+
/**
|
|
11376
|
+
* Static version of the {@see toObject} method.
|
|
11377
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
11378
|
+
* the JSPB instance for transitional soy proto support:
|
|
11379
|
+
* http://goto/soy-param-migration
|
|
11380
|
+
* @param {!proto.bet.PlayedGameUuidsResponse} msg The msg instance to transform.
|
|
11381
|
+
* @return {!Object}
|
|
11382
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11383
|
+
*/
|
|
11384
|
+
proto.bet.PlayedGameUuidsResponse.toObject = function(includeInstance, msg) {
|
|
11385
|
+
var f, obj = {
|
|
11386
|
+
gameUuidsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
11387
|
+
};
|
|
11388
|
+
|
|
11389
|
+
if (includeInstance) {
|
|
11390
|
+
obj.$jspbMessageInstance = msg;
|
|
11391
|
+
}
|
|
11392
|
+
return obj;
|
|
11393
|
+
};
|
|
11394
|
+
}
|
|
11395
|
+
|
|
11396
|
+
|
|
11397
|
+
/**
|
|
11398
|
+
* Deserializes binary data (in protobuf wire format).
|
|
11399
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
11400
|
+
* @return {!proto.bet.PlayedGameUuidsResponse}
|
|
11401
|
+
*/
|
|
11402
|
+
proto.bet.PlayedGameUuidsResponse.deserializeBinary = function(bytes) {
|
|
11403
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
11404
|
+
var msg = new proto.bet.PlayedGameUuidsResponse;
|
|
11405
|
+
return proto.bet.PlayedGameUuidsResponse.deserializeBinaryFromReader(msg, reader);
|
|
11406
|
+
};
|
|
11407
|
+
|
|
11408
|
+
|
|
11409
|
+
/**
|
|
11410
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
11411
|
+
* given reader into the given message object.
|
|
11412
|
+
* @param {!proto.bet.PlayedGameUuidsResponse} msg The message object to deserialize into.
|
|
11413
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
11414
|
+
* @return {!proto.bet.PlayedGameUuidsResponse}
|
|
11415
|
+
*/
|
|
11416
|
+
proto.bet.PlayedGameUuidsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
11417
|
+
while (reader.nextField()) {
|
|
11418
|
+
if (reader.isEndGroup()) {
|
|
11419
|
+
break;
|
|
11420
|
+
}
|
|
11421
|
+
var field = reader.getFieldNumber();
|
|
11422
|
+
switch (field) {
|
|
11423
|
+
case 1:
|
|
11424
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11425
|
+
msg.addGameUuids(value);
|
|
11426
|
+
break;
|
|
11427
|
+
default:
|
|
11428
|
+
reader.skipField();
|
|
11429
|
+
break;
|
|
11430
|
+
}
|
|
11431
|
+
}
|
|
11432
|
+
return msg;
|
|
11433
|
+
};
|
|
11434
|
+
|
|
11435
|
+
|
|
11436
|
+
/**
|
|
11437
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
11438
|
+
* @return {!Uint8Array}
|
|
11439
|
+
*/
|
|
11440
|
+
proto.bet.PlayedGameUuidsResponse.prototype.serializeBinary = function() {
|
|
11441
|
+
var writer = new jspb.BinaryWriter();
|
|
11442
|
+
proto.bet.PlayedGameUuidsResponse.serializeBinaryToWriter(this, writer);
|
|
11443
|
+
return writer.getResultBuffer();
|
|
11444
|
+
};
|
|
11445
|
+
|
|
11446
|
+
|
|
11447
|
+
/**
|
|
11448
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
11449
|
+
* format), writing to the given BinaryWriter.
|
|
11450
|
+
* @param {!proto.bet.PlayedGameUuidsResponse} message
|
|
11451
|
+
* @param {!jspb.BinaryWriter} writer
|
|
11452
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11453
|
+
*/
|
|
11454
|
+
proto.bet.PlayedGameUuidsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
11455
|
+
var f = undefined;
|
|
11456
|
+
f = message.getGameUuidsList();
|
|
11457
|
+
if (f.length > 0) {
|
|
11458
|
+
writer.writeRepeatedString(
|
|
11459
|
+
1,
|
|
11460
|
+
f
|
|
11461
|
+
);
|
|
11462
|
+
}
|
|
11463
|
+
};
|
|
11464
|
+
|
|
11465
|
+
|
|
11466
|
+
/**
|
|
11467
|
+
* repeated string game_uuids = 1;
|
|
11468
|
+
* @return {!Array<string>}
|
|
11469
|
+
*/
|
|
11470
|
+
proto.bet.PlayedGameUuidsResponse.prototype.getGameUuidsList = function() {
|
|
11471
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
11472
|
+
};
|
|
11473
|
+
|
|
11474
|
+
|
|
11475
|
+
/**
|
|
11476
|
+
* @param {!Array<string>} value
|
|
11477
|
+
* @return {!proto.bet.PlayedGameUuidsResponse} returns this
|
|
11478
|
+
*/
|
|
11479
|
+
proto.bet.PlayedGameUuidsResponse.prototype.setGameUuidsList = function(value) {
|
|
11480
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
11481
|
+
};
|
|
11482
|
+
|
|
11483
|
+
|
|
11484
|
+
/**
|
|
11485
|
+
* @param {string} value
|
|
11486
|
+
* @param {number=} opt_index
|
|
11487
|
+
* @return {!proto.bet.PlayedGameUuidsResponse} returns this
|
|
11488
|
+
*/
|
|
11489
|
+
proto.bet.PlayedGameUuidsResponse.prototype.addGameUuids = function(value, opt_index) {
|
|
11490
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
11491
|
+
};
|
|
11492
|
+
|
|
11493
|
+
|
|
11494
|
+
/**
|
|
11495
|
+
* Clears the list making it empty but non-null.
|
|
11496
|
+
* @return {!proto.bet.PlayedGameUuidsResponse} returns this
|
|
11497
|
+
*/
|
|
11498
|
+
proto.bet.PlayedGameUuidsResponse.prototype.clearGameUuidsList = function() {
|
|
11499
|
+
return this.setGameUuidsList([]);
|
|
11500
|
+
};
|
|
11501
|
+
|
|
11502
|
+
|
|
10899
11503
|
|
|
10900
11504
|
/**
|
|
10901
11505
|
* List of repeated fields within this message type.
|
package/game/game.proto
CHANGED
|
@@ -159,6 +159,7 @@ service Game {
|
|
|
159
159
|
rpc readSEOInstanceAttributes(SEOInstanceRequest) returns (SEOInstanceResponse);
|
|
160
160
|
//Segmentation
|
|
161
161
|
rpc getSegmentedUsers(SegmentedUserRequest) returns (SegmentedUserResponse);
|
|
162
|
+
rpc resolveSegmentGameUuids(SegmentedUserRequest) returns (SegmentGameUuidsResponse);
|
|
162
163
|
// Lightweight batch read for notification CTA target enrichment.
|
|
163
164
|
rpc getGameSnapshotsByIds(GetGameSnapshotsByIdsRequest) returns (GameSnapshotItemsResponse);
|
|
164
165
|
rpc getCollectionSnapshotsByIds(GetCollectionSnapshotsByIdsRequest) returns (CollectionSnapshotItemsResponse);
|
|
@@ -1382,10 +1383,14 @@ message SegmentedUserRequest {
|
|
|
1382
1383
|
repeated int32 game_ids = 4;
|
|
1383
1384
|
optional float rtp_min = 5;
|
|
1384
1385
|
optional float rtp_max = 6;
|
|
1386
|
+
repeated string candidate_game_uuids = 7;
|
|
1385
1387
|
}
|
|
1386
1388
|
message SegmentedUserResponse {
|
|
1387
1389
|
repeated int32 user_ids = 1;
|
|
1388
1390
|
}
|
|
1391
|
+
message SegmentGameUuidsResponse {
|
|
1392
|
+
repeated string game_uuids = 1;
|
|
1393
|
+
}
|
|
1389
1394
|
//Restrictions
|
|
1390
1395
|
//GEO
|
|
1391
1396
|
message GeoRestrictionRequest {
|
package/game/game_grpc_pb.js
CHANGED
|
@@ -1368,6 +1368,17 @@ function deserialize_game_SearchGamesResponse(buffer_arg) {
|
|
|
1368
1368
|
return game_pb.SearchGamesResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1369
1369
|
}
|
|
1370
1370
|
|
|
1371
|
+
function serialize_game_SegmentGameUuidsResponse(arg) {
|
|
1372
|
+
if (!(arg instanceof game_pb.SegmentGameUuidsResponse)) {
|
|
1373
|
+
throw new Error('Expected argument of type game.SegmentGameUuidsResponse');
|
|
1374
|
+
}
|
|
1375
|
+
return Buffer.from(arg.serializeBinary());
|
|
1376
|
+
}
|
|
1377
|
+
|
|
1378
|
+
function deserialize_game_SegmentGameUuidsResponse(buffer_arg) {
|
|
1379
|
+
return game_pb.SegmentGameUuidsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1380
|
+
}
|
|
1381
|
+
|
|
1371
1382
|
function serialize_game_SegmentedUserRequest(arg) {
|
|
1372
1383
|
if (!(arg instanceof game_pb.SegmentedUserRequest)) {
|
|
1373
1384
|
throw new Error('Expected argument of type game.SegmentedUserRequest');
|
|
@@ -3128,6 +3139,17 @@ getSegmentedUsers: {
|
|
|
3128
3139
|
responseSerialize: serialize_game_SegmentedUserResponse,
|
|
3129
3140
|
responseDeserialize: deserialize_game_SegmentedUserResponse,
|
|
3130
3141
|
},
|
|
3142
|
+
resolveSegmentGameUuids: {
|
|
3143
|
+
path: '/game.Game/resolveSegmentGameUuids',
|
|
3144
|
+
requestStream: false,
|
|
3145
|
+
responseStream: false,
|
|
3146
|
+
requestType: game_pb.SegmentedUserRequest,
|
|
3147
|
+
responseType: game_pb.SegmentGameUuidsResponse,
|
|
3148
|
+
requestSerialize: serialize_game_SegmentedUserRequest,
|
|
3149
|
+
requestDeserialize: deserialize_game_SegmentedUserRequest,
|
|
3150
|
+
responseSerialize: serialize_game_SegmentGameUuidsResponse,
|
|
3151
|
+
responseDeserialize: deserialize_game_SegmentGameUuidsResponse,
|
|
3152
|
+
},
|
|
3131
3153
|
// Lightweight batch read for notification CTA target enrichment.
|
|
3132
3154
|
getGameSnapshotsByIds: {
|
|
3133
3155
|
path: '/game.Game/getGameSnapshotsByIds',
|