protobuf-platform 1.2.660 → 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 +1 -0
- package/payment/payment_pb.js +49 -1
- package/user/user.proto +8 -0
- package/user/user_grpc_pb.js +33 -0
- package/user/user_pb.js +362 -0
|
@@ -21,6 +21,7 @@ var global = (function() {
|
|
|
21
21
|
return Function('return this')();
|
|
22
22
|
}.call(null));
|
|
23
23
|
|
|
24
|
+
goog.exportSymbol('proto.notification.AutoNotificationSegmentIdsResponse', null, global);
|
|
24
25
|
goog.exportSymbol('proto.notification.DeleteAllUserNotificationsRequest', null, global);
|
|
25
26
|
goog.exportSymbol('proto.notification.DeleteUserNotificationByIdRequest', null, global);
|
|
26
27
|
goog.exportSymbol('proto.notification.DispatchManualNotificationRequest', null, global);
|
|
@@ -62,6 +63,7 @@ goog.exportSymbol('proto.notification.PingRequest', null, global);
|
|
|
62
63
|
goog.exportSymbol('proto.notification.PongResponse', null, global);
|
|
63
64
|
goog.exportSymbol('proto.notification.ProcessGamixterBonusAwardedWebhookRequest', null, global);
|
|
64
65
|
goog.exportSymbol('proto.notification.ReadAllUserNotificationsRequest', null, global);
|
|
66
|
+
goog.exportSymbol('proto.notification.ReplaceAutoNotificationSegmentIdsRequest', null, global);
|
|
65
67
|
goog.exportSymbol('proto.notification.ResolveAffiliateByPromoCodeRequest', null, global);
|
|
66
68
|
goog.exportSymbol('proto.notification.ResolveAffiliateByPromoCodeResponse', null, global);
|
|
67
69
|
goog.exportSymbol('proto.notification.SendNotificationRequest', null, global);
|
|
@@ -365,6 +367,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
365
367
|
*/
|
|
366
368
|
proto.notification.DispatchManualNotificationRequest.displayName = 'proto.notification.DispatchManualNotificationRequest';
|
|
367
369
|
}
|
|
370
|
+
/**
|
|
371
|
+
* Generated by JsPbCodeGenerator.
|
|
372
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
373
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
374
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
375
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
376
|
+
* valid.
|
|
377
|
+
* @extends {jspb.Message}
|
|
378
|
+
* @constructor
|
|
379
|
+
*/
|
|
380
|
+
proto.notification.ReplaceAutoNotificationSegmentIdsRequest = function(opt_data) {
|
|
381
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.notification.ReplaceAutoNotificationSegmentIdsRequest.repeatedFields_, null);
|
|
382
|
+
};
|
|
383
|
+
goog.inherits(proto.notification.ReplaceAutoNotificationSegmentIdsRequest, jspb.Message);
|
|
384
|
+
if (goog.DEBUG && !COMPILED) {
|
|
385
|
+
/**
|
|
386
|
+
* @public
|
|
387
|
+
* @override
|
|
388
|
+
*/
|
|
389
|
+
proto.notification.ReplaceAutoNotificationSegmentIdsRequest.displayName = 'proto.notification.ReplaceAutoNotificationSegmentIdsRequest';
|
|
390
|
+
}
|
|
391
|
+
/**
|
|
392
|
+
* Generated by JsPbCodeGenerator.
|
|
393
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
394
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
395
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
396
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
397
|
+
* valid.
|
|
398
|
+
* @extends {jspb.Message}
|
|
399
|
+
* @constructor
|
|
400
|
+
*/
|
|
401
|
+
proto.notification.AutoNotificationSegmentIdsResponse = function(opt_data) {
|
|
402
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.notification.AutoNotificationSegmentIdsResponse.repeatedFields_, null);
|
|
403
|
+
};
|
|
404
|
+
goog.inherits(proto.notification.AutoNotificationSegmentIdsResponse, jspb.Message);
|
|
405
|
+
if (goog.DEBUG && !COMPILED) {
|
|
406
|
+
/**
|
|
407
|
+
* @public
|
|
408
|
+
* @override
|
|
409
|
+
*/
|
|
410
|
+
proto.notification.AutoNotificationSegmentIdsResponse.displayName = 'proto.notification.AutoNotificationSegmentIdsResponse';
|
|
411
|
+
}
|
|
368
412
|
/**
|
|
369
413
|
* Generated by JsPbCodeGenerator.
|
|
370
414
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -4902,6 +4946,352 @@ proto.notification.DispatchManualNotificationRequest.prototype.clearSegmentIdsLi
|
|
|
4902
4946
|
|
|
4903
4947
|
|
|
4904
4948
|
|
|
4949
|
+
/**
|
|
4950
|
+
* List of repeated fields within this message type.
|
|
4951
|
+
* @private {!Array<number>}
|
|
4952
|
+
* @const
|
|
4953
|
+
*/
|
|
4954
|
+
proto.notification.ReplaceAutoNotificationSegmentIdsRequest.repeatedFields_ = [2];
|
|
4955
|
+
|
|
4956
|
+
|
|
4957
|
+
|
|
4958
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4959
|
+
/**
|
|
4960
|
+
* Creates an object representation of this proto.
|
|
4961
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4962
|
+
* Optional fields that are not set will be set to undefined.
|
|
4963
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4964
|
+
* For the list of reserved names please see:
|
|
4965
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4966
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4967
|
+
* JSPB instance for transitional soy proto support:
|
|
4968
|
+
* http://goto/soy-param-migration
|
|
4969
|
+
* @return {!Object}
|
|
4970
|
+
*/
|
|
4971
|
+
proto.notification.ReplaceAutoNotificationSegmentIdsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
4972
|
+
return proto.notification.ReplaceAutoNotificationSegmentIdsRequest.toObject(opt_includeInstance, this);
|
|
4973
|
+
};
|
|
4974
|
+
|
|
4975
|
+
|
|
4976
|
+
/**
|
|
4977
|
+
* Static version of the {@see toObject} method.
|
|
4978
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4979
|
+
* the JSPB instance for transitional soy proto support:
|
|
4980
|
+
* http://goto/soy-param-migration
|
|
4981
|
+
* @param {!proto.notification.ReplaceAutoNotificationSegmentIdsRequest} msg The msg instance to transform.
|
|
4982
|
+
* @return {!Object}
|
|
4983
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4984
|
+
*/
|
|
4985
|
+
proto.notification.ReplaceAutoNotificationSegmentIdsRequest.toObject = function(includeInstance, msg) {
|
|
4986
|
+
var f, obj = {
|
|
4987
|
+
notificationId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
4988
|
+
segmentIdsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
|
|
4989
|
+
};
|
|
4990
|
+
|
|
4991
|
+
if (includeInstance) {
|
|
4992
|
+
obj.$jspbMessageInstance = msg;
|
|
4993
|
+
}
|
|
4994
|
+
return obj;
|
|
4995
|
+
};
|
|
4996
|
+
}
|
|
4997
|
+
|
|
4998
|
+
|
|
4999
|
+
/**
|
|
5000
|
+
* Deserializes binary data (in protobuf wire format).
|
|
5001
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5002
|
+
* @return {!proto.notification.ReplaceAutoNotificationSegmentIdsRequest}
|
|
5003
|
+
*/
|
|
5004
|
+
proto.notification.ReplaceAutoNotificationSegmentIdsRequest.deserializeBinary = function(bytes) {
|
|
5005
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
5006
|
+
var msg = new proto.notification.ReplaceAutoNotificationSegmentIdsRequest;
|
|
5007
|
+
return proto.notification.ReplaceAutoNotificationSegmentIdsRequest.deserializeBinaryFromReader(msg, reader);
|
|
5008
|
+
};
|
|
5009
|
+
|
|
5010
|
+
|
|
5011
|
+
/**
|
|
5012
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
5013
|
+
* given reader into the given message object.
|
|
5014
|
+
* @param {!proto.notification.ReplaceAutoNotificationSegmentIdsRequest} msg The message object to deserialize into.
|
|
5015
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5016
|
+
* @return {!proto.notification.ReplaceAutoNotificationSegmentIdsRequest}
|
|
5017
|
+
*/
|
|
5018
|
+
proto.notification.ReplaceAutoNotificationSegmentIdsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
5019
|
+
while (reader.nextField()) {
|
|
5020
|
+
if (reader.isEndGroup()) {
|
|
5021
|
+
break;
|
|
5022
|
+
}
|
|
5023
|
+
var field = reader.getFieldNumber();
|
|
5024
|
+
switch (field) {
|
|
5025
|
+
case 1:
|
|
5026
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
5027
|
+
msg.setNotificationId(value);
|
|
5028
|
+
break;
|
|
5029
|
+
case 2:
|
|
5030
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
|
5031
|
+
for (var i = 0; i < values.length; i++) {
|
|
5032
|
+
msg.addSegmentIds(values[i]);
|
|
5033
|
+
}
|
|
5034
|
+
break;
|
|
5035
|
+
default:
|
|
5036
|
+
reader.skipField();
|
|
5037
|
+
break;
|
|
5038
|
+
}
|
|
5039
|
+
}
|
|
5040
|
+
return msg;
|
|
5041
|
+
};
|
|
5042
|
+
|
|
5043
|
+
|
|
5044
|
+
/**
|
|
5045
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
5046
|
+
* @return {!Uint8Array}
|
|
5047
|
+
*/
|
|
5048
|
+
proto.notification.ReplaceAutoNotificationSegmentIdsRequest.prototype.serializeBinary = function() {
|
|
5049
|
+
var writer = new jspb.BinaryWriter();
|
|
5050
|
+
proto.notification.ReplaceAutoNotificationSegmentIdsRequest.serializeBinaryToWriter(this, writer);
|
|
5051
|
+
return writer.getResultBuffer();
|
|
5052
|
+
};
|
|
5053
|
+
|
|
5054
|
+
|
|
5055
|
+
/**
|
|
5056
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
5057
|
+
* format), writing to the given BinaryWriter.
|
|
5058
|
+
* @param {!proto.notification.ReplaceAutoNotificationSegmentIdsRequest} message
|
|
5059
|
+
* @param {!jspb.BinaryWriter} writer
|
|
5060
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5061
|
+
*/
|
|
5062
|
+
proto.notification.ReplaceAutoNotificationSegmentIdsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
5063
|
+
var f = undefined;
|
|
5064
|
+
f = message.getNotificationId();
|
|
5065
|
+
if (f !== 0) {
|
|
5066
|
+
writer.writeInt32(
|
|
5067
|
+
1,
|
|
5068
|
+
f
|
|
5069
|
+
);
|
|
5070
|
+
}
|
|
5071
|
+
f = message.getSegmentIdsList();
|
|
5072
|
+
if (f.length > 0) {
|
|
5073
|
+
writer.writePackedInt32(
|
|
5074
|
+
2,
|
|
5075
|
+
f
|
|
5076
|
+
);
|
|
5077
|
+
}
|
|
5078
|
+
};
|
|
5079
|
+
|
|
5080
|
+
|
|
5081
|
+
/**
|
|
5082
|
+
* optional int32 notification_id = 1;
|
|
5083
|
+
* @return {number}
|
|
5084
|
+
*/
|
|
5085
|
+
proto.notification.ReplaceAutoNotificationSegmentIdsRequest.prototype.getNotificationId = function() {
|
|
5086
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
5087
|
+
};
|
|
5088
|
+
|
|
5089
|
+
|
|
5090
|
+
/**
|
|
5091
|
+
* @param {number} value
|
|
5092
|
+
* @return {!proto.notification.ReplaceAutoNotificationSegmentIdsRequest} returns this
|
|
5093
|
+
*/
|
|
5094
|
+
proto.notification.ReplaceAutoNotificationSegmentIdsRequest.prototype.setNotificationId = function(value) {
|
|
5095
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
5096
|
+
};
|
|
5097
|
+
|
|
5098
|
+
|
|
5099
|
+
/**
|
|
5100
|
+
* repeated int32 segment_ids = 2;
|
|
5101
|
+
* @return {!Array<number>}
|
|
5102
|
+
*/
|
|
5103
|
+
proto.notification.ReplaceAutoNotificationSegmentIdsRequest.prototype.getSegmentIdsList = function() {
|
|
5104
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
5105
|
+
};
|
|
5106
|
+
|
|
5107
|
+
|
|
5108
|
+
/**
|
|
5109
|
+
* @param {!Array<number>} value
|
|
5110
|
+
* @return {!proto.notification.ReplaceAutoNotificationSegmentIdsRequest} returns this
|
|
5111
|
+
*/
|
|
5112
|
+
proto.notification.ReplaceAutoNotificationSegmentIdsRequest.prototype.setSegmentIdsList = function(value) {
|
|
5113
|
+
return jspb.Message.setField(this, 2, value || []);
|
|
5114
|
+
};
|
|
5115
|
+
|
|
5116
|
+
|
|
5117
|
+
/**
|
|
5118
|
+
* @param {number} value
|
|
5119
|
+
* @param {number=} opt_index
|
|
5120
|
+
* @return {!proto.notification.ReplaceAutoNotificationSegmentIdsRequest} returns this
|
|
5121
|
+
*/
|
|
5122
|
+
proto.notification.ReplaceAutoNotificationSegmentIdsRequest.prototype.addSegmentIds = function(value, opt_index) {
|
|
5123
|
+
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
5124
|
+
};
|
|
5125
|
+
|
|
5126
|
+
|
|
5127
|
+
/**
|
|
5128
|
+
* Clears the list making it empty but non-null.
|
|
5129
|
+
* @return {!proto.notification.ReplaceAutoNotificationSegmentIdsRequest} returns this
|
|
5130
|
+
*/
|
|
5131
|
+
proto.notification.ReplaceAutoNotificationSegmentIdsRequest.prototype.clearSegmentIdsList = function() {
|
|
5132
|
+
return this.setSegmentIdsList([]);
|
|
5133
|
+
};
|
|
5134
|
+
|
|
5135
|
+
|
|
5136
|
+
|
|
5137
|
+
/**
|
|
5138
|
+
* List of repeated fields within this message type.
|
|
5139
|
+
* @private {!Array<number>}
|
|
5140
|
+
* @const
|
|
5141
|
+
*/
|
|
5142
|
+
proto.notification.AutoNotificationSegmentIdsResponse.repeatedFields_ = [1];
|
|
5143
|
+
|
|
5144
|
+
|
|
5145
|
+
|
|
5146
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
5147
|
+
/**
|
|
5148
|
+
* Creates an object representation of this proto.
|
|
5149
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
5150
|
+
* Optional fields that are not set will be set to undefined.
|
|
5151
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
5152
|
+
* For the list of reserved names please see:
|
|
5153
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
5154
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
5155
|
+
* JSPB instance for transitional soy proto support:
|
|
5156
|
+
* http://goto/soy-param-migration
|
|
5157
|
+
* @return {!Object}
|
|
5158
|
+
*/
|
|
5159
|
+
proto.notification.AutoNotificationSegmentIdsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
5160
|
+
return proto.notification.AutoNotificationSegmentIdsResponse.toObject(opt_includeInstance, this);
|
|
5161
|
+
};
|
|
5162
|
+
|
|
5163
|
+
|
|
5164
|
+
/**
|
|
5165
|
+
* Static version of the {@see toObject} method.
|
|
5166
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
5167
|
+
* the JSPB instance for transitional soy proto support:
|
|
5168
|
+
* http://goto/soy-param-migration
|
|
5169
|
+
* @param {!proto.notification.AutoNotificationSegmentIdsResponse} msg The msg instance to transform.
|
|
5170
|
+
* @return {!Object}
|
|
5171
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5172
|
+
*/
|
|
5173
|
+
proto.notification.AutoNotificationSegmentIdsResponse.toObject = function(includeInstance, msg) {
|
|
5174
|
+
var f, obj = {
|
|
5175
|
+
segmentIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
5176
|
+
};
|
|
5177
|
+
|
|
5178
|
+
if (includeInstance) {
|
|
5179
|
+
obj.$jspbMessageInstance = msg;
|
|
5180
|
+
}
|
|
5181
|
+
return obj;
|
|
5182
|
+
};
|
|
5183
|
+
}
|
|
5184
|
+
|
|
5185
|
+
|
|
5186
|
+
/**
|
|
5187
|
+
* Deserializes binary data (in protobuf wire format).
|
|
5188
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
5189
|
+
* @return {!proto.notification.AutoNotificationSegmentIdsResponse}
|
|
5190
|
+
*/
|
|
5191
|
+
proto.notification.AutoNotificationSegmentIdsResponse.deserializeBinary = function(bytes) {
|
|
5192
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
5193
|
+
var msg = new proto.notification.AutoNotificationSegmentIdsResponse;
|
|
5194
|
+
return proto.notification.AutoNotificationSegmentIdsResponse.deserializeBinaryFromReader(msg, reader);
|
|
5195
|
+
};
|
|
5196
|
+
|
|
5197
|
+
|
|
5198
|
+
/**
|
|
5199
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
5200
|
+
* given reader into the given message object.
|
|
5201
|
+
* @param {!proto.notification.AutoNotificationSegmentIdsResponse} msg The message object to deserialize into.
|
|
5202
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
5203
|
+
* @return {!proto.notification.AutoNotificationSegmentIdsResponse}
|
|
5204
|
+
*/
|
|
5205
|
+
proto.notification.AutoNotificationSegmentIdsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
5206
|
+
while (reader.nextField()) {
|
|
5207
|
+
if (reader.isEndGroup()) {
|
|
5208
|
+
break;
|
|
5209
|
+
}
|
|
5210
|
+
var field = reader.getFieldNumber();
|
|
5211
|
+
switch (field) {
|
|
5212
|
+
case 1:
|
|
5213
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedInt32() : [reader.readInt32()]);
|
|
5214
|
+
for (var i = 0; i < values.length; i++) {
|
|
5215
|
+
msg.addSegmentIds(values[i]);
|
|
5216
|
+
}
|
|
5217
|
+
break;
|
|
5218
|
+
default:
|
|
5219
|
+
reader.skipField();
|
|
5220
|
+
break;
|
|
5221
|
+
}
|
|
5222
|
+
}
|
|
5223
|
+
return msg;
|
|
5224
|
+
};
|
|
5225
|
+
|
|
5226
|
+
|
|
5227
|
+
/**
|
|
5228
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
5229
|
+
* @return {!Uint8Array}
|
|
5230
|
+
*/
|
|
5231
|
+
proto.notification.AutoNotificationSegmentIdsResponse.prototype.serializeBinary = function() {
|
|
5232
|
+
var writer = new jspb.BinaryWriter();
|
|
5233
|
+
proto.notification.AutoNotificationSegmentIdsResponse.serializeBinaryToWriter(this, writer);
|
|
5234
|
+
return writer.getResultBuffer();
|
|
5235
|
+
};
|
|
5236
|
+
|
|
5237
|
+
|
|
5238
|
+
/**
|
|
5239
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
5240
|
+
* format), writing to the given BinaryWriter.
|
|
5241
|
+
* @param {!proto.notification.AutoNotificationSegmentIdsResponse} message
|
|
5242
|
+
* @param {!jspb.BinaryWriter} writer
|
|
5243
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
5244
|
+
*/
|
|
5245
|
+
proto.notification.AutoNotificationSegmentIdsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
5246
|
+
var f = undefined;
|
|
5247
|
+
f = message.getSegmentIdsList();
|
|
5248
|
+
if (f.length > 0) {
|
|
5249
|
+
writer.writePackedInt32(
|
|
5250
|
+
1,
|
|
5251
|
+
f
|
|
5252
|
+
);
|
|
5253
|
+
}
|
|
5254
|
+
};
|
|
5255
|
+
|
|
5256
|
+
|
|
5257
|
+
/**
|
|
5258
|
+
* repeated int32 segment_ids = 1;
|
|
5259
|
+
* @return {!Array<number>}
|
|
5260
|
+
*/
|
|
5261
|
+
proto.notification.AutoNotificationSegmentIdsResponse.prototype.getSegmentIdsList = function() {
|
|
5262
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
5263
|
+
};
|
|
5264
|
+
|
|
5265
|
+
|
|
5266
|
+
/**
|
|
5267
|
+
* @param {!Array<number>} value
|
|
5268
|
+
* @return {!proto.notification.AutoNotificationSegmentIdsResponse} returns this
|
|
5269
|
+
*/
|
|
5270
|
+
proto.notification.AutoNotificationSegmentIdsResponse.prototype.setSegmentIdsList = function(value) {
|
|
5271
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
5272
|
+
};
|
|
5273
|
+
|
|
5274
|
+
|
|
5275
|
+
/**
|
|
5276
|
+
* @param {number} value
|
|
5277
|
+
* @param {number=} opt_index
|
|
5278
|
+
* @return {!proto.notification.AutoNotificationSegmentIdsResponse} returns this
|
|
5279
|
+
*/
|
|
5280
|
+
proto.notification.AutoNotificationSegmentIdsResponse.prototype.addSegmentIds = function(value, opt_index) {
|
|
5281
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
5282
|
+
};
|
|
5283
|
+
|
|
5284
|
+
|
|
5285
|
+
/**
|
|
5286
|
+
* Clears the list making it empty but non-null.
|
|
5287
|
+
* @return {!proto.notification.AutoNotificationSegmentIdsResponse} returns this
|
|
5288
|
+
*/
|
|
5289
|
+
proto.notification.AutoNotificationSegmentIdsResponse.prototype.clearSegmentIdsList = function() {
|
|
5290
|
+
return this.setSegmentIdsList([]);
|
|
5291
|
+
};
|
|
5292
|
+
|
|
5293
|
+
|
|
5294
|
+
|
|
4905
5295
|
|
|
4906
5296
|
|
|
4907
5297
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
package/package.json
CHANGED
package/payment/payment.proto
CHANGED
|
@@ -971,6 +971,7 @@ message SegmentedUserRequest {
|
|
|
971
971
|
optional string currency = 11;
|
|
972
972
|
repeated string payment_providers = 12;
|
|
973
973
|
repeated string payment_types = 13;
|
|
974
|
+
optional int32 user_id = 14;
|
|
974
975
|
}
|
|
975
976
|
message SegmentedUserResponse {
|
|
976
977
|
repeated int32 user_ids = 1;
|
package/payment/payment_pb.js
CHANGED
|
@@ -40626,7 +40626,8 @@ proto.payment.SegmentedUserRequest.toObject = function(includeInstance, msg) {
|
|
|
40626
40626
|
depositAvgMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0),
|
|
40627
40627
|
currency: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
40628
40628
|
paymentProvidersList: (f = jspb.Message.getRepeatedField(msg, 12)) == null ? undefined : f,
|
|
40629
|
-
paymentTypesList: (f = jspb.Message.getRepeatedField(msg, 13)) == null ? undefined : f
|
|
40629
|
+
paymentTypesList: (f = jspb.Message.getRepeatedField(msg, 13)) == null ? undefined : f,
|
|
40630
|
+
userId: jspb.Message.getFieldWithDefault(msg, 14, 0)
|
|
40630
40631
|
};
|
|
40631
40632
|
|
|
40632
40633
|
if (includeInstance) {
|
|
@@ -40715,6 +40716,10 @@ proto.payment.SegmentedUserRequest.deserializeBinaryFromReader = function(msg, r
|
|
|
40715
40716
|
var value = /** @type {string} */ (reader.readString());
|
|
40716
40717
|
msg.addPaymentTypes(value);
|
|
40717
40718
|
break;
|
|
40719
|
+
case 14:
|
|
40720
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
40721
|
+
msg.setUserId(value);
|
|
40722
|
+
break;
|
|
40718
40723
|
default:
|
|
40719
40724
|
reader.skipField();
|
|
40720
40725
|
break;
|
|
@@ -40835,6 +40840,13 @@ proto.payment.SegmentedUserRequest.serializeBinaryToWriter = function(message, w
|
|
|
40835
40840
|
f
|
|
40836
40841
|
);
|
|
40837
40842
|
}
|
|
40843
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 14));
|
|
40844
|
+
if (f != null) {
|
|
40845
|
+
writer.writeInt32(
|
|
40846
|
+
14,
|
|
40847
|
+
f
|
|
40848
|
+
);
|
|
40849
|
+
}
|
|
40838
40850
|
};
|
|
40839
40851
|
|
|
40840
40852
|
|
|
@@ -41308,6 +41320,42 @@ proto.payment.SegmentedUserRequest.prototype.clearPaymentTypesList = function()
|
|
|
41308
41320
|
};
|
|
41309
41321
|
|
|
41310
41322
|
|
|
41323
|
+
/**
|
|
41324
|
+
* optional int32 user_id = 14;
|
|
41325
|
+
* @return {number}
|
|
41326
|
+
*/
|
|
41327
|
+
proto.payment.SegmentedUserRequest.prototype.getUserId = function() {
|
|
41328
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
|
|
41329
|
+
};
|
|
41330
|
+
|
|
41331
|
+
|
|
41332
|
+
/**
|
|
41333
|
+
* @param {number} value
|
|
41334
|
+
* @return {!proto.payment.SegmentedUserRequest} returns this
|
|
41335
|
+
*/
|
|
41336
|
+
proto.payment.SegmentedUserRequest.prototype.setUserId = function(value) {
|
|
41337
|
+
return jspb.Message.setField(this, 14, value);
|
|
41338
|
+
};
|
|
41339
|
+
|
|
41340
|
+
|
|
41341
|
+
/**
|
|
41342
|
+
* Clears the field making it undefined.
|
|
41343
|
+
* @return {!proto.payment.SegmentedUserRequest} returns this
|
|
41344
|
+
*/
|
|
41345
|
+
proto.payment.SegmentedUserRequest.prototype.clearUserId = function() {
|
|
41346
|
+
return jspb.Message.setField(this, 14, undefined);
|
|
41347
|
+
};
|
|
41348
|
+
|
|
41349
|
+
|
|
41350
|
+
/**
|
|
41351
|
+
* Returns whether this field is set.
|
|
41352
|
+
* @return {boolean}
|
|
41353
|
+
*/
|
|
41354
|
+
proto.payment.SegmentedUserRequest.prototype.hasUserId = function() {
|
|
41355
|
+
return jspb.Message.getField(this, 14) != null;
|
|
41356
|
+
};
|
|
41357
|
+
|
|
41358
|
+
|
|
41311
41359
|
|
|
41312
41360
|
/**
|
|
41313
41361
|
* List of repeated fields within this message type.
|
package/user/user.proto
CHANGED
|
@@ -63,6 +63,7 @@ service User {
|
|
|
63
63
|
rpc getSegmentRule(GetSegmentRuleRequest) returns (SegmentRuleItem);
|
|
64
64
|
rpc getSegmentsForParticularUser(GetSegmentRequest) returns (SegmentItemsResponse);
|
|
65
65
|
rpc getUserSegmentIds(GetUserSegmentIdsRequest) returns (UserSegmentIdsResponse);
|
|
66
|
+
rpc userMatchesAnyAutoSegments(UserAutoSegmentMatchRequest) returns (UserAutoSegmentMatchResponse);
|
|
66
67
|
//Presets
|
|
67
68
|
rpc createPreset(CreatePresetRequest) returns (CreatePresetResponse);
|
|
68
69
|
rpc readPreset(ReadPresetRequest) returns (ReadPresetResponse);
|
|
@@ -898,6 +899,13 @@ message GetUserSegmentIdsRequest {
|
|
|
898
899
|
message UserSegmentIdsResponse {
|
|
899
900
|
repeated int32 segment_ids = 1;
|
|
900
901
|
}
|
|
902
|
+
message UserAutoSegmentMatchRequest {
|
|
903
|
+
int32 user_id = 1;
|
|
904
|
+
repeated int32 segment_ids = 2;
|
|
905
|
+
}
|
|
906
|
+
message UserAutoSegmentMatchResponse {
|
|
907
|
+
bool matches = 1;
|
|
908
|
+
}
|
|
901
909
|
message SegmentRuleRequest {
|
|
902
910
|
optional SegmentPaymentRuleRequest payment_rule = 1;
|
|
903
911
|
optional SegmentBetRuleRequest bet_rule = 2;
|
package/user/user_grpc_pb.js
CHANGED
|
@@ -2105,6 +2105,28 @@ function deserialize_user_UserAffiliateAttributionResponse(buffer_arg) {
|
|
|
2105
2105
|
return user_pb.UserAffiliateAttributionResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
2106
2106
|
}
|
|
2107
2107
|
|
|
2108
|
+
function serialize_user_UserAutoSegmentMatchRequest(arg) {
|
|
2109
|
+
if (!(arg instanceof user_pb.UserAutoSegmentMatchRequest)) {
|
|
2110
|
+
throw new Error('Expected argument of type user.UserAutoSegmentMatchRequest');
|
|
2111
|
+
}
|
|
2112
|
+
return Buffer.from(arg.serializeBinary());
|
|
2113
|
+
}
|
|
2114
|
+
|
|
2115
|
+
function deserialize_user_UserAutoSegmentMatchRequest(buffer_arg) {
|
|
2116
|
+
return user_pb.UserAutoSegmentMatchRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
2117
|
+
}
|
|
2118
|
+
|
|
2119
|
+
function serialize_user_UserAutoSegmentMatchResponse(arg) {
|
|
2120
|
+
if (!(arg instanceof user_pb.UserAutoSegmentMatchResponse)) {
|
|
2121
|
+
throw new Error('Expected argument of type user.UserAutoSegmentMatchResponse');
|
|
2122
|
+
}
|
|
2123
|
+
return Buffer.from(arg.serializeBinary());
|
|
2124
|
+
}
|
|
2125
|
+
|
|
2126
|
+
function deserialize_user_UserAutoSegmentMatchResponse(buffer_arg) {
|
|
2127
|
+
return user_pb.UserAutoSegmentMatchResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
2128
|
+
}
|
|
2129
|
+
|
|
2108
2130
|
function serialize_user_UserBalanceRequest(arg) {
|
|
2109
2131
|
if (!(arg instanceof user_pb.UserBalanceRequest)) {
|
|
2110
2132
|
throw new Error('Expected argument of type user.UserBalanceRequest');
|
|
@@ -3124,6 +3146,17 @@ createSingleSegment: {
|
|
|
3124
3146
|
responseSerialize: serialize_user_UserSegmentIdsResponse,
|
|
3125
3147
|
responseDeserialize: deserialize_user_UserSegmentIdsResponse,
|
|
3126
3148
|
},
|
|
3149
|
+
userMatchesAnyAutoSegments: {
|
|
3150
|
+
path: '/user.User/userMatchesAnyAutoSegments',
|
|
3151
|
+
requestStream: false,
|
|
3152
|
+
responseStream: false,
|
|
3153
|
+
requestType: user_pb.UserAutoSegmentMatchRequest,
|
|
3154
|
+
responseType: user_pb.UserAutoSegmentMatchResponse,
|
|
3155
|
+
requestSerialize: serialize_user_UserAutoSegmentMatchRequest,
|
|
3156
|
+
requestDeserialize: deserialize_user_UserAutoSegmentMatchRequest,
|
|
3157
|
+
responseSerialize: serialize_user_UserAutoSegmentMatchResponse,
|
|
3158
|
+
responseDeserialize: deserialize_user_UserAutoSegmentMatchResponse,
|
|
3159
|
+
},
|
|
3127
3160
|
// Presets
|
|
3128
3161
|
createPreset: {
|
|
3129
3162
|
path: '/user.User/createPreset',
|