protobuf-platform 1.2.653 → 1.2.655
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 +10 -0
- package/bonus/bonus_pb.js +406 -2
- package/game/game.proto +15 -0
- package/game/game_grpc_pb.js +33 -0
- package/game/game_pb.js +588 -2
- package/loyalty/loyalty.proto +15 -0
- package/loyalty/loyalty_pb.js +805 -84
- package/package.json +1 -1
package/bonus/bonus.proto
CHANGED
|
@@ -347,6 +347,13 @@ message GetBonusSnapshotsByIdsRequest {
|
|
|
347
347
|
repeated int32 ids = 1;
|
|
348
348
|
optional string locale = 2;
|
|
349
349
|
}
|
|
350
|
+
// Display quantity for one bonus reward. Amount is the existing config value used on cards
|
|
351
|
+
// (freespins totalAmount, freebet amount, points, or deposit value). Internal execution fields stay omitted.
|
|
352
|
+
message BonusRewardPresentation {
|
|
353
|
+
string type = 1;
|
|
354
|
+
optional string amount = 2;
|
|
355
|
+
optional string currency = 3;
|
|
356
|
+
}
|
|
350
357
|
message BonusSnapshotItem {
|
|
351
358
|
int32 id = 1;
|
|
352
359
|
optional string title = 2;
|
|
@@ -362,6 +369,9 @@ message BonusSnapshotItem {
|
|
|
362
369
|
optional string finished_at = 12;
|
|
363
370
|
optional string portrait_image = 13;
|
|
364
371
|
optional string portrait_image_cdn = 14;
|
|
372
|
+
optional string type = 15;
|
|
373
|
+
optional string cadence = 16;
|
|
374
|
+
repeated BonusRewardPresentation rewards = 17;
|
|
365
375
|
}
|
|
366
376
|
message BonusSnapshotItemsResponse {
|
|
367
377
|
repeated BonusSnapshotItem items = 1;
|
package/bonus/bonus_pb.js
CHANGED
|
@@ -40,6 +40,7 @@ goog.exportSymbol('proto.bonus.BonusRequest', null, global);
|
|
|
40
40
|
goog.exportSymbol('proto.bonus.BonusRequest.RequestCase', null, global);
|
|
41
41
|
goog.exportSymbol('proto.bonus.BonusResponse', null, global);
|
|
42
42
|
goog.exportSymbol('proto.bonus.BonusReward', null, global);
|
|
43
|
+
goog.exportSymbol('proto.bonus.BonusRewardPresentation', null, global);
|
|
43
44
|
goog.exportSymbol('proto.bonus.BonusRewardWriteItem', null, global);
|
|
44
45
|
goog.exportSymbol('proto.bonus.BonusRewardsRequest', null, global);
|
|
45
46
|
goog.exportSymbol('proto.bonus.BonusSnapshotItem', null, global);
|
|
@@ -735,9 +736,30 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
735
736
|
* @extends {jspb.Message}
|
|
736
737
|
* @constructor
|
|
737
738
|
*/
|
|
738
|
-
proto.bonus.
|
|
739
|
+
proto.bonus.BonusRewardPresentation = function(opt_data) {
|
|
739
740
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
740
741
|
};
|
|
742
|
+
goog.inherits(proto.bonus.BonusRewardPresentation, jspb.Message);
|
|
743
|
+
if (goog.DEBUG && !COMPILED) {
|
|
744
|
+
/**
|
|
745
|
+
* @public
|
|
746
|
+
* @override
|
|
747
|
+
*/
|
|
748
|
+
proto.bonus.BonusRewardPresentation.displayName = 'proto.bonus.BonusRewardPresentation';
|
|
749
|
+
}
|
|
750
|
+
/**
|
|
751
|
+
* Generated by JsPbCodeGenerator.
|
|
752
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
753
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
754
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
755
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
756
|
+
* valid.
|
|
757
|
+
* @extends {jspb.Message}
|
|
758
|
+
* @constructor
|
|
759
|
+
*/
|
|
760
|
+
proto.bonus.BonusSnapshotItem = function(opt_data) {
|
|
761
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.bonus.BonusSnapshotItem.repeatedFields_, null);
|
|
762
|
+
};
|
|
741
763
|
goog.inherits(proto.bonus.BonusSnapshotItem, jspb.Message);
|
|
742
764
|
if (goog.DEBUG && !COMPILED) {
|
|
743
765
|
/**
|
|
@@ -14024,6 +14046,239 @@ proto.bonus.GetBonusSnapshotsByIdsRequest.prototype.hasLocale = function() {
|
|
|
14024
14046
|
|
|
14025
14047
|
|
|
14026
14048
|
|
|
14049
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
14050
|
+
/**
|
|
14051
|
+
* Creates an object representation of this proto.
|
|
14052
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
14053
|
+
* Optional fields that are not set will be set to undefined.
|
|
14054
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
14055
|
+
* For the list of reserved names please see:
|
|
14056
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
14057
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
14058
|
+
* JSPB instance for transitional soy proto support:
|
|
14059
|
+
* http://goto/soy-param-migration
|
|
14060
|
+
* @return {!Object}
|
|
14061
|
+
*/
|
|
14062
|
+
proto.bonus.BonusRewardPresentation.prototype.toObject = function(opt_includeInstance) {
|
|
14063
|
+
return proto.bonus.BonusRewardPresentation.toObject(opt_includeInstance, this);
|
|
14064
|
+
};
|
|
14065
|
+
|
|
14066
|
+
|
|
14067
|
+
/**
|
|
14068
|
+
* Static version of the {@see toObject} method.
|
|
14069
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
14070
|
+
* the JSPB instance for transitional soy proto support:
|
|
14071
|
+
* http://goto/soy-param-migration
|
|
14072
|
+
* @param {!proto.bonus.BonusRewardPresentation} msg The msg instance to transform.
|
|
14073
|
+
* @return {!Object}
|
|
14074
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14075
|
+
*/
|
|
14076
|
+
proto.bonus.BonusRewardPresentation.toObject = function(includeInstance, msg) {
|
|
14077
|
+
var f, obj = {
|
|
14078
|
+
type: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
14079
|
+
amount: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
14080
|
+
currency: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
14081
|
+
};
|
|
14082
|
+
|
|
14083
|
+
if (includeInstance) {
|
|
14084
|
+
obj.$jspbMessageInstance = msg;
|
|
14085
|
+
}
|
|
14086
|
+
return obj;
|
|
14087
|
+
};
|
|
14088
|
+
}
|
|
14089
|
+
|
|
14090
|
+
|
|
14091
|
+
/**
|
|
14092
|
+
* Deserializes binary data (in protobuf wire format).
|
|
14093
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
14094
|
+
* @return {!proto.bonus.BonusRewardPresentation}
|
|
14095
|
+
*/
|
|
14096
|
+
proto.bonus.BonusRewardPresentation.deserializeBinary = function(bytes) {
|
|
14097
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
14098
|
+
var msg = new proto.bonus.BonusRewardPresentation;
|
|
14099
|
+
return proto.bonus.BonusRewardPresentation.deserializeBinaryFromReader(msg, reader);
|
|
14100
|
+
};
|
|
14101
|
+
|
|
14102
|
+
|
|
14103
|
+
/**
|
|
14104
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
14105
|
+
* given reader into the given message object.
|
|
14106
|
+
* @param {!proto.bonus.BonusRewardPresentation} msg The message object to deserialize into.
|
|
14107
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
14108
|
+
* @return {!proto.bonus.BonusRewardPresentation}
|
|
14109
|
+
*/
|
|
14110
|
+
proto.bonus.BonusRewardPresentation.deserializeBinaryFromReader = function(msg, reader) {
|
|
14111
|
+
while (reader.nextField()) {
|
|
14112
|
+
if (reader.isEndGroup()) {
|
|
14113
|
+
break;
|
|
14114
|
+
}
|
|
14115
|
+
var field = reader.getFieldNumber();
|
|
14116
|
+
switch (field) {
|
|
14117
|
+
case 1:
|
|
14118
|
+
var value = /** @type {string} */ (reader.readString());
|
|
14119
|
+
msg.setType(value);
|
|
14120
|
+
break;
|
|
14121
|
+
case 2:
|
|
14122
|
+
var value = /** @type {string} */ (reader.readString());
|
|
14123
|
+
msg.setAmount(value);
|
|
14124
|
+
break;
|
|
14125
|
+
case 3:
|
|
14126
|
+
var value = /** @type {string} */ (reader.readString());
|
|
14127
|
+
msg.setCurrency(value);
|
|
14128
|
+
break;
|
|
14129
|
+
default:
|
|
14130
|
+
reader.skipField();
|
|
14131
|
+
break;
|
|
14132
|
+
}
|
|
14133
|
+
}
|
|
14134
|
+
return msg;
|
|
14135
|
+
};
|
|
14136
|
+
|
|
14137
|
+
|
|
14138
|
+
/**
|
|
14139
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
14140
|
+
* @return {!Uint8Array}
|
|
14141
|
+
*/
|
|
14142
|
+
proto.bonus.BonusRewardPresentation.prototype.serializeBinary = function() {
|
|
14143
|
+
var writer = new jspb.BinaryWriter();
|
|
14144
|
+
proto.bonus.BonusRewardPresentation.serializeBinaryToWriter(this, writer);
|
|
14145
|
+
return writer.getResultBuffer();
|
|
14146
|
+
};
|
|
14147
|
+
|
|
14148
|
+
|
|
14149
|
+
/**
|
|
14150
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
14151
|
+
* format), writing to the given BinaryWriter.
|
|
14152
|
+
* @param {!proto.bonus.BonusRewardPresentation} message
|
|
14153
|
+
* @param {!jspb.BinaryWriter} writer
|
|
14154
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14155
|
+
*/
|
|
14156
|
+
proto.bonus.BonusRewardPresentation.serializeBinaryToWriter = function(message, writer) {
|
|
14157
|
+
var f = undefined;
|
|
14158
|
+
f = message.getType();
|
|
14159
|
+
if (f.length > 0) {
|
|
14160
|
+
writer.writeString(
|
|
14161
|
+
1,
|
|
14162
|
+
f
|
|
14163
|
+
);
|
|
14164
|
+
}
|
|
14165
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
14166
|
+
if (f != null) {
|
|
14167
|
+
writer.writeString(
|
|
14168
|
+
2,
|
|
14169
|
+
f
|
|
14170
|
+
);
|
|
14171
|
+
}
|
|
14172
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
14173
|
+
if (f != null) {
|
|
14174
|
+
writer.writeString(
|
|
14175
|
+
3,
|
|
14176
|
+
f
|
|
14177
|
+
);
|
|
14178
|
+
}
|
|
14179
|
+
};
|
|
14180
|
+
|
|
14181
|
+
|
|
14182
|
+
/**
|
|
14183
|
+
* optional string type = 1;
|
|
14184
|
+
* @return {string}
|
|
14185
|
+
*/
|
|
14186
|
+
proto.bonus.BonusRewardPresentation.prototype.getType = function() {
|
|
14187
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
14188
|
+
};
|
|
14189
|
+
|
|
14190
|
+
|
|
14191
|
+
/**
|
|
14192
|
+
* @param {string} value
|
|
14193
|
+
* @return {!proto.bonus.BonusRewardPresentation} returns this
|
|
14194
|
+
*/
|
|
14195
|
+
proto.bonus.BonusRewardPresentation.prototype.setType = function(value) {
|
|
14196
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
14197
|
+
};
|
|
14198
|
+
|
|
14199
|
+
|
|
14200
|
+
/**
|
|
14201
|
+
* optional string amount = 2;
|
|
14202
|
+
* @return {string}
|
|
14203
|
+
*/
|
|
14204
|
+
proto.bonus.BonusRewardPresentation.prototype.getAmount = function() {
|
|
14205
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
14206
|
+
};
|
|
14207
|
+
|
|
14208
|
+
|
|
14209
|
+
/**
|
|
14210
|
+
* @param {string} value
|
|
14211
|
+
* @return {!proto.bonus.BonusRewardPresentation} returns this
|
|
14212
|
+
*/
|
|
14213
|
+
proto.bonus.BonusRewardPresentation.prototype.setAmount = function(value) {
|
|
14214
|
+
return jspb.Message.setField(this, 2, value);
|
|
14215
|
+
};
|
|
14216
|
+
|
|
14217
|
+
|
|
14218
|
+
/**
|
|
14219
|
+
* Clears the field making it undefined.
|
|
14220
|
+
* @return {!proto.bonus.BonusRewardPresentation} returns this
|
|
14221
|
+
*/
|
|
14222
|
+
proto.bonus.BonusRewardPresentation.prototype.clearAmount = function() {
|
|
14223
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
14224
|
+
};
|
|
14225
|
+
|
|
14226
|
+
|
|
14227
|
+
/**
|
|
14228
|
+
* Returns whether this field is set.
|
|
14229
|
+
* @return {boolean}
|
|
14230
|
+
*/
|
|
14231
|
+
proto.bonus.BonusRewardPresentation.prototype.hasAmount = function() {
|
|
14232
|
+
return jspb.Message.getField(this, 2) != null;
|
|
14233
|
+
};
|
|
14234
|
+
|
|
14235
|
+
|
|
14236
|
+
/**
|
|
14237
|
+
* optional string currency = 3;
|
|
14238
|
+
* @return {string}
|
|
14239
|
+
*/
|
|
14240
|
+
proto.bonus.BonusRewardPresentation.prototype.getCurrency = function() {
|
|
14241
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
14242
|
+
};
|
|
14243
|
+
|
|
14244
|
+
|
|
14245
|
+
/**
|
|
14246
|
+
* @param {string} value
|
|
14247
|
+
* @return {!proto.bonus.BonusRewardPresentation} returns this
|
|
14248
|
+
*/
|
|
14249
|
+
proto.bonus.BonusRewardPresentation.prototype.setCurrency = function(value) {
|
|
14250
|
+
return jspb.Message.setField(this, 3, value);
|
|
14251
|
+
};
|
|
14252
|
+
|
|
14253
|
+
|
|
14254
|
+
/**
|
|
14255
|
+
* Clears the field making it undefined.
|
|
14256
|
+
* @return {!proto.bonus.BonusRewardPresentation} returns this
|
|
14257
|
+
*/
|
|
14258
|
+
proto.bonus.BonusRewardPresentation.prototype.clearCurrency = function() {
|
|
14259
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
14260
|
+
};
|
|
14261
|
+
|
|
14262
|
+
|
|
14263
|
+
/**
|
|
14264
|
+
* Returns whether this field is set.
|
|
14265
|
+
* @return {boolean}
|
|
14266
|
+
*/
|
|
14267
|
+
proto.bonus.BonusRewardPresentation.prototype.hasCurrency = function() {
|
|
14268
|
+
return jspb.Message.getField(this, 3) != null;
|
|
14269
|
+
};
|
|
14270
|
+
|
|
14271
|
+
|
|
14272
|
+
|
|
14273
|
+
/**
|
|
14274
|
+
* List of repeated fields within this message type.
|
|
14275
|
+
* @private {!Array<number>}
|
|
14276
|
+
* @const
|
|
14277
|
+
*/
|
|
14278
|
+
proto.bonus.BonusSnapshotItem.repeatedFields_ = [17];
|
|
14279
|
+
|
|
14280
|
+
|
|
14281
|
+
|
|
14027
14282
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
14028
14283
|
/**
|
|
14029
14284
|
* Creates an object representation of this proto.
|
|
@@ -14066,7 +14321,11 @@ proto.bonus.BonusSnapshotItem.toObject = function(includeInstance, msg) {
|
|
|
14066
14321
|
startedAt: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
14067
14322
|
finishedAt: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
14068
14323
|
portraitImage: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
14069
|
-
portraitImageCdn: jspb.Message.getFieldWithDefault(msg, 14, "")
|
|
14324
|
+
portraitImageCdn: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
14325
|
+
type: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
14326
|
+
cadence: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
14327
|
+
rewardsList: jspb.Message.toObjectList(msg.getRewardsList(),
|
|
14328
|
+
proto.bonus.BonusRewardPresentation.toObject, includeInstance)
|
|
14070
14329
|
};
|
|
14071
14330
|
|
|
14072
14331
|
if (includeInstance) {
|
|
@@ -14159,6 +14418,19 @@ proto.bonus.BonusSnapshotItem.deserializeBinaryFromReader = function(msg, reader
|
|
|
14159
14418
|
var value = /** @type {string} */ (reader.readString());
|
|
14160
14419
|
msg.setPortraitImageCdn(value);
|
|
14161
14420
|
break;
|
|
14421
|
+
case 15:
|
|
14422
|
+
var value = /** @type {string} */ (reader.readString());
|
|
14423
|
+
msg.setType(value);
|
|
14424
|
+
break;
|
|
14425
|
+
case 16:
|
|
14426
|
+
var value = /** @type {string} */ (reader.readString());
|
|
14427
|
+
msg.setCadence(value);
|
|
14428
|
+
break;
|
|
14429
|
+
case 17:
|
|
14430
|
+
var value = new proto.bonus.BonusRewardPresentation;
|
|
14431
|
+
reader.readMessage(value,proto.bonus.BonusRewardPresentation.deserializeBinaryFromReader);
|
|
14432
|
+
msg.addRewards(value);
|
|
14433
|
+
break;
|
|
14162
14434
|
default:
|
|
14163
14435
|
reader.skipField();
|
|
14164
14436
|
break;
|
|
@@ -14286,6 +14558,28 @@ proto.bonus.BonusSnapshotItem.serializeBinaryToWriter = function(message, writer
|
|
|
14286
14558
|
f
|
|
14287
14559
|
);
|
|
14288
14560
|
}
|
|
14561
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 15));
|
|
14562
|
+
if (f != null) {
|
|
14563
|
+
writer.writeString(
|
|
14564
|
+
15,
|
|
14565
|
+
f
|
|
14566
|
+
);
|
|
14567
|
+
}
|
|
14568
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 16));
|
|
14569
|
+
if (f != null) {
|
|
14570
|
+
writer.writeString(
|
|
14571
|
+
16,
|
|
14572
|
+
f
|
|
14573
|
+
);
|
|
14574
|
+
}
|
|
14575
|
+
f = message.getRewardsList();
|
|
14576
|
+
if (f.length > 0) {
|
|
14577
|
+
writer.writeRepeatedMessage(
|
|
14578
|
+
17,
|
|
14579
|
+
f,
|
|
14580
|
+
proto.bonus.BonusRewardPresentation.serializeBinaryToWriter
|
|
14581
|
+
);
|
|
14582
|
+
}
|
|
14289
14583
|
};
|
|
14290
14584
|
|
|
14291
14585
|
|
|
@@ -14775,6 +15069,116 @@ proto.bonus.BonusSnapshotItem.prototype.hasPortraitImageCdn = function() {
|
|
|
14775
15069
|
};
|
|
14776
15070
|
|
|
14777
15071
|
|
|
15072
|
+
/**
|
|
15073
|
+
* optional string type = 15;
|
|
15074
|
+
* @return {string}
|
|
15075
|
+
*/
|
|
15076
|
+
proto.bonus.BonusSnapshotItem.prototype.getType = function() {
|
|
15077
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
15078
|
+
};
|
|
15079
|
+
|
|
15080
|
+
|
|
15081
|
+
/**
|
|
15082
|
+
* @param {string} value
|
|
15083
|
+
* @return {!proto.bonus.BonusSnapshotItem} returns this
|
|
15084
|
+
*/
|
|
15085
|
+
proto.bonus.BonusSnapshotItem.prototype.setType = function(value) {
|
|
15086
|
+
return jspb.Message.setField(this, 15, value);
|
|
15087
|
+
};
|
|
15088
|
+
|
|
15089
|
+
|
|
15090
|
+
/**
|
|
15091
|
+
* Clears the field making it undefined.
|
|
15092
|
+
* @return {!proto.bonus.BonusSnapshotItem} returns this
|
|
15093
|
+
*/
|
|
15094
|
+
proto.bonus.BonusSnapshotItem.prototype.clearType = function() {
|
|
15095
|
+
return jspb.Message.setField(this, 15, undefined);
|
|
15096
|
+
};
|
|
15097
|
+
|
|
15098
|
+
|
|
15099
|
+
/**
|
|
15100
|
+
* Returns whether this field is set.
|
|
15101
|
+
* @return {boolean}
|
|
15102
|
+
*/
|
|
15103
|
+
proto.bonus.BonusSnapshotItem.prototype.hasType = function() {
|
|
15104
|
+
return jspb.Message.getField(this, 15) != null;
|
|
15105
|
+
};
|
|
15106
|
+
|
|
15107
|
+
|
|
15108
|
+
/**
|
|
15109
|
+
* optional string cadence = 16;
|
|
15110
|
+
* @return {string}
|
|
15111
|
+
*/
|
|
15112
|
+
proto.bonus.BonusSnapshotItem.prototype.getCadence = function() {
|
|
15113
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
15114
|
+
};
|
|
15115
|
+
|
|
15116
|
+
|
|
15117
|
+
/**
|
|
15118
|
+
* @param {string} value
|
|
15119
|
+
* @return {!proto.bonus.BonusSnapshotItem} returns this
|
|
15120
|
+
*/
|
|
15121
|
+
proto.bonus.BonusSnapshotItem.prototype.setCadence = function(value) {
|
|
15122
|
+
return jspb.Message.setField(this, 16, value);
|
|
15123
|
+
};
|
|
15124
|
+
|
|
15125
|
+
|
|
15126
|
+
/**
|
|
15127
|
+
* Clears the field making it undefined.
|
|
15128
|
+
* @return {!proto.bonus.BonusSnapshotItem} returns this
|
|
15129
|
+
*/
|
|
15130
|
+
proto.bonus.BonusSnapshotItem.prototype.clearCadence = function() {
|
|
15131
|
+
return jspb.Message.setField(this, 16, undefined);
|
|
15132
|
+
};
|
|
15133
|
+
|
|
15134
|
+
|
|
15135
|
+
/**
|
|
15136
|
+
* Returns whether this field is set.
|
|
15137
|
+
* @return {boolean}
|
|
15138
|
+
*/
|
|
15139
|
+
proto.bonus.BonusSnapshotItem.prototype.hasCadence = function() {
|
|
15140
|
+
return jspb.Message.getField(this, 16) != null;
|
|
15141
|
+
};
|
|
15142
|
+
|
|
15143
|
+
|
|
15144
|
+
/**
|
|
15145
|
+
* repeated BonusRewardPresentation rewards = 17;
|
|
15146
|
+
* @return {!Array<!proto.bonus.BonusRewardPresentation>}
|
|
15147
|
+
*/
|
|
15148
|
+
proto.bonus.BonusSnapshotItem.prototype.getRewardsList = function() {
|
|
15149
|
+
return /** @type{!Array<!proto.bonus.BonusRewardPresentation>} */ (
|
|
15150
|
+
jspb.Message.getRepeatedWrapperField(this, proto.bonus.BonusRewardPresentation, 17));
|
|
15151
|
+
};
|
|
15152
|
+
|
|
15153
|
+
|
|
15154
|
+
/**
|
|
15155
|
+
* @param {!Array<!proto.bonus.BonusRewardPresentation>} value
|
|
15156
|
+
* @return {!proto.bonus.BonusSnapshotItem} returns this
|
|
15157
|
+
*/
|
|
15158
|
+
proto.bonus.BonusSnapshotItem.prototype.setRewardsList = function(value) {
|
|
15159
|
+
return jspb.Message.setRepeatedWrapperField(this, 17, value);
|
|
15160
|
+
};
|
|
15161
|
+
|
|
15162
|
+
|
|
15163
|
+
/**
|
|
15164
|
+
* @param {!proto.bonus.BonusRewardPresentation=} opt_value
|
|
15165
|
+
* @param {number=} opt_index
|
|
15166
|
+
* @return {!proto.bonus.BonusRewardPresentation}
|
|
15167
|
+
*/
|
|
15168
|
+
proto.bonus.BonusSnapshotItem.prototype.addRewards = function(opt_value, opt_index) {
|
|
15169
|
+
return jspb.Message.addToRepeatedWrapperField(this, 17, opt_value, proto.bonus.BonusRewardPresentation, opt_index);
|
|
15170
|
+
};
|
|
15171
|
+
|
|
15172
|
+
|
|
15173
|
+
/**
|
|
15174
|
+
* Clears the list making it empty but non-null.
|
|
15175
|
+
* @return {!proto.bonus.BonusSnapshotItem} returns this
|
|
15176
|
+
*/
|
|
15177
|
+
proto.bonus.BonusSnapshotItem.prototype.clearRewardsList = function() {
|
|
15178
|
+
return this.setRewardsList([]);
|
|
15179
|
+
};
|
|
15180
|
+
|
|
15181
|
+
|
|
14778
15182
|
|
|
14779
15183
|
/**
|
|
14780
15184
|
* List of repeated fields within this message type.
|
package/game/game.proto
CHANGED
|
@@ -66,6 +66,7 @@ service Game {
|
|
|
66
66
|
rpc prepareProviderCutover(ProviderCutoverRequest) returns (ProviderCutoverAcceptedResponse);
|
|
67
67
|
rpc replaceProviderCutoverPlacements(ProviderCutoverRequest) returns (ProviderCutoverAcceptedResponse);
|
|
68
68
|
rpc startProviderDemoAvailabilityCheck(ProviderDemoAvailabilityCheckRequest) returns (ProviderDemoAvailabilityCheckAcceptedResponse);
|
|
69
|
+
rpc setProviderCurrencyManagerEnabled(SetProviderCurrencyManagerEnabledRequest) returns (ProviderCurrencyCapability);
|
|
69
70
|
//Games
|
|
70
71
|
rpc parseGames(ParseGamesRequest) returns (ParseGamesResponse);
|
|
71
72
|
rpc readSingleGame(GetGameRequest) returns (GameResponse);
|
|
@@ -478,6 +479,20 @@ message ProviderItem {
|
|
|
478
479
|
optional string icon = 11;
|
|
479
480
|
optional string icon_cdn = 12;
|
|
480
481
|
repeated GameEntityTranslationItem translations = 13;
|
|
482
|
+
repeated string effective_currencies = 14;
|
|
483
|
+
repeated ProviderCurrencyCapability provider_currencies = 15;
|
|
484
|
+
}
|
|
485
|
+
message ProviderCurrencyCapability {
|
|
486
|
+
string currency = 1;
|
|
487
|
+
bool provider_supported = 2;
|
|
488
|
+
bool manager_enabled = 3;
|
|
489
|
+
bool effective_active = 4;
|
|
490
|
+
string effective_status = 5;
|
|
491
|
+
}
|
|
492
|
+
message SetProviderCurrencyManagerEnabledRequest {
|
|
493
|
+
int32 provider_id = 1;
|
|
494
|
+
string currency = 2;
|
|
495
|
+
bool manager_enabled = 3;
|
|
481
496
|
}
|
|
482
497
|
//Provider CRUD | Requests
|
|
483
498
|
message ProviderRequest {
|
package/game/game_grpc_pb.js
CHANGED
|
@@ -1082,6 +1082,17 @@ function deserialize_game_ProviderCatalogBatchResponse(buffer_arg) {
|
|
|
1082
1082
|
return game_pb.ProviderCatalogBatchResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1083
1083
|
}
|
|
1084
1084
|
|
|
1085
|
+
function serialize_game_ProviderCurrencyCapability(arg) {
|
|
1086
|
+
if (!(arg instanceof game_pb.ProviderCurrencyCapability)) {
|
|
1087
|
+
throw new Error('Expected argument of type game.ProviderCurrencyCapability');
|
|
1088
|
+
}
|
|
1089
|
+
return Buffer.from(arg.serializeBinary());
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
function deserialize_game_ProviderCurrencyCapability(buffer_arg) {
|
|
1093
|
+
return game_pb.ProviderCurrencyCapability.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1094
|
+
}
|
|
1095
|
+
|
|
1085
1096
|
function serialize_game_ProviderCutoverAcceptedResponse(arg) {
|
|
1086
1097
|
if (!(arg instanceof game_pb.ProviderCutoverAcceptedResponse)) {
|
|
1087
1098
|
throw new Error('Expected argument of type game.ProviderCutoverAcceptedResponse');
|
|
@@ -1379,6 +1390,17 @@ function deserialize_game_SegmentedUserResponse(buffer_arg) {
|
|
|
1379
1390
|
return game_pb.SegmentedUserResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1380
1391
|
}
|
|
1381
1392
|
|
|
1393
|
+
function serialize_game_SetProviderCurrencyManagerEnabledRequest(arg) {
|
|
1394
|
+
if (!(arg instanceof game_pb.SetProviderCurrencyManagerEnabledRequest)) {
|
|
1395
|
+
throw new Error('Expected argument of type game.SetProviderCurrencyManagerEnabledRequest');
|
|
1396
|
+
}
|
|
1397
|
+
return Buffer.from(arg.serializeBinary());
|
|
1398
|
+
}
|
|
1399
|
+
|
|
1400
|
+
function deserialize_game_SetProviderCurrencyManagerEnabledRequest(buffer_arg) {
|
|
1401
|
+
return game_pb.SetProviderCurrencyManagerEnabledRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1402
|
+
}
|
|
1403
|
+
|
|
1382
1404
|
function serialize_game_SyncGameImageUrlsForProviderRequest(arg) {
|
|
1383
1405
|
if (!(arg instanceof game_pb.SyncGameImageUrlsForProviderRequest)) {
|
|
1384
1406
|
throw new Error('Expected argument of type game.SyncGameImageUrlsForProviderRequest');
|
|
@@ -2223,6 +2245,17 @@ createSingleProvider: {
|
|
|
2223
2245
|
responseSerialize: serialize_game_ProviderDemoAvailabilityCheckAcceptedResponse,
|
|
2224
2246
|
responseDeserialize: deserialize_game_ProviderDemoAvailabilityCheckAcceptedResponse,
|
|
2225
2247
|
},
|
|
2248
|
+
setProviderCurrencyManagerEnabled: {
|
|
2249
|
+
path: '/game.Game/setProviderCurrencyManagerEnabled',
|
|
2250
|
+
requestStream: false,
|
|
2251
|
+
responseStream: false,
|
|
2252
|
+
requestType: game_pb.SetProviderCurrencyManagerEnabledRequest,
|
|
2253
|
+
responseType: game_pb.ProviderCurrencyCapability,
|
|
2254
|
+
requestSerialize: serialize_game_SetProviderCurrencyManagerEnabledRequest,
|
|
2255
|
+
requestDeserialize: deserialize_game_SetProviderCurrencyManagerEnabledRequest,
|
|
2256
|
+
responseSerialize: serialize_game_ProviderCurrencyCapability,
|
|
2257
|
+
responseDeserialize: deserialize_game_ProviderCurrencyCapability,
|
|
2258
|
+
},
|
|
2226
2259
|
// Games
|
|
2227
2260
|
parseGames: {
|
|
2228
2261
|
path: '/game.Game/parseGames',
|