protobuf-platform 1.2.402 → 1.2.404

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.
@@ -26,9 +26,11 @@ goog.exportSymbol('proto.promocode.ApplyUserPromocodeResponse', null, global);
26
26
  goog.exportSymbol('proto.promocode.BatchGetUserPromocodeSnapshotsRequest', null, global);
27
27
  goog.exportSymbol('proto.promocode.BatchGetUserPromocodeSnapshotsResponse', null, global);
28
28
  goog.exportSymbol('proto.promocode.BonusMaskItem', null, global);
29
+ goog.exportSymbol('proto.promocode.BonusMaskItemRequest', null, global);
29
30
  goog.exportSymbol('proto.promocode.BonusMaskItemsResponse', null, global);
30
31
  goog.exportSymbol('proto.promocode.BonusMaskPaginationRequest', null, global);
31
32
  goog.exportSymbol('proto.promocode.BonusMaskRequest', null, global);
33
+ goog.exportSymbol('proto.promocode.BonusMaskRequest.RequestCase', null, global);
32
34
  goog.exportSymbol('proto.promocode.BonusMaskResponse', null, global);
33
35
  goog.exportSymbol('proto.promocode.BonusMaskSearchRequest', null, global);
34
36
  goog.exportSymbol('proto.promocode.BonusMaskStatusResponse', null, global);
@@ -37,6 +39,7 @@ goog.exportSymbol('proto.promocode.CodeItemsResponse', null, global);
37
39
  goog.exportSymbol('proto.promocode.CodeRequest', null, global);
38
40
  goog.exportSymbol('proto.promocode.CodeResponse', null, global);
39
41
  goog.exportSymbol('proto.promocode.CodeStatusResponse', null, global);
42
+ goog.exportSymbol('proto.promocode.File', null, global);
40
43
  goog.exportSymbol('proto.promocode.GetBonusMaskRequest', null, global);
41
44
  goog.exportSymbol('proto.promocode.GetCodeRequest', null, global);
42
45
  goog.exportSymbol('proto.promocode.ItemsBunchRequest', null, global);
@@ -300,6 +303,27 @@ if (goog.DEBUG && !COMPILED) {
300
303
  */
301
304
  proto.promocode.CodeStatusResponse.displayName = 'proto.promocode.CodeStatusResponse';
302
305
  }
306
+ /**
307
+ * Generated by JsPbCodeGenerator.
308
+ * @param {Array=} opt_data Optional initial data array, typically from a
309
+ * server response, or constructed directly in Javascript. The array is used
310
+ * in place and becomes part of the constructed object. It is not cloned.
311
+ * If no data is provided, the constructed object will be empty, but still
312
+ * valid.
313
+ * @extends {jspb.Message}
314
+ * @constructor
315
+ */
316
+ proto.promocode.File = function(opt_data) {
317
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
318
+ };
319
+ goog.inherits(proto.promocode.File, jspb.Message);
320
+ if (goog.DEBUG && !COMPILED) {
321
+ /**
322
+ * @public
323
+ * @override
324
+ */
325
+ proto.promocode.File.displayName = 'proto.promocode.File';
326
+ }
303
327
  /**
304
328
  * Generated by JsPbCodeGenerator.
305
329
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -332,7 +356,7 @@ if (goog.DEBUG && !COMPILED) {
332
356
  * @constructor
333
357
  */
334
358
  proto.promocode.BonusMaskRequest = function(opt_data) {
335
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
359
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.promocode.BonusMaskRequest.oneofGroups_);
336
360
  };
337
361
  goog.inherits(proto.promocode.BonusMaskRequest, jspb.Message);
338
362
  if (goog.DEBUG && !COMPILED) {
@@ -342,6 +366,27 @@ if (goog.DEBUG && !COMPILED) {
342
366
  */
343
367
  proto.promocode.BonusMaskRequest.displayName = 'proto.promocode.BonusMaskRequest';
344
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.promocode.BonusMaskItemRequest = function(opt_data) {
380
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
381
+ };
382
+ goog.inherits(proto.promocode.BonusMaskItemRequest, jspb.Message);
383
+ if (goog.DEBUG && !COMPILED) {
384
+ /**
385
+ * @public
386
+ * @override
387
+ */
388
+ proto.promocode.BonusMaskItemRequest.displayName = 'proto.promocode.BonusMaskItemRequest';
389
+ }
345
390
  /**
346
391
  * Generated by JsPbCodeGenerator.
347
392
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -4202,8 +4247,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
4202
4247
  * http://goto/soy-param-migration
4203
4248
  * @return {!Object}
4204
4249
  */
4205
- proto.promocode.GetBonusMaskRequest.prototype.toObject = function(opt_includeInstance) {
4206
- return proto.promocode.GetBonusMaskRequest.toObject(opt_includeInstance, this);
4250
+ proto.promocode.File.prototype.toObject = function(opt_includeInstance) {
4251
+ return proto.promocode.File.toObject(opt_includeInstance, this);
4207
4252
  };
4208
4253
 
4209
4254
 
@@ -4212,13 +4257,15 @@ proto.promocode.GetBonusMaskRequest.prototype.toObject = function(opt_includeIns
4212
4257
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4213
4258
  * the JSPB instance for transitional soy proto support:
4214
4259
  * http://goto/soy-param-migration
4215
- * @param {!proto.promocode.GetBonusMaskRequest} msg The msg instance to transform.
4260
+ * @param {!proto.promocode.File} msg The msg instance to transform.
4216
4261
  * @return {!Object}
4217
4262
  * @suppress {unusedLocalVariables} f is only used for nested messages
4218
4263
  */
4219
- proto.promocode.GetBonusMaskRequest.toObject = function(includeInstance, msg) {
4264
+ proto.promocode.File.toObject = function(includeInstance, msg) {
4220
4265
  var f, obj = {
4221
- id: jspb.Message.getFieldWithDefault(msg, 1, 0)
4266
+ media: msg.getMedia_asB64(),
4267
+ fileRole: jspb.Message.getFieldWithDefault(msg, 2, ""),
4268
+ fileType: jspb.Message.getFieldWithDefault(msg, 3, "")
4222
4269
  };
4223
4270
 
4224
4271
  if (includeInstance) {
@@ -4232,23 +4279,23 @@ proto.promocode.GetBonusMaskRequest.toObject = function(includeInstance, msg) {
4232
4279
  /**
4233
4280
  * Deserializes binary data (in protobuf wire format).
4234
4281
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
4235
- * @return {!proto.promocode.GetBonusMaskRequest}
4282
+ * @return {!proto.promocode.File}
4236
4283
  */
4237
- proto.promocode.GetBonusMaskRequest.deserializeBinary = function(bytes) {
4284
+ proto.promocode.File.deserializeBinary = function(bytes) {
4238
4285
  var reader = new jspb.BinaryReader(bytes);
4239
- var msg = new proto.promocode.GetBonusMaskRequest;
4240
- return proto.promocode.GetBonusMaskRequest.deserializeBinaryFromReader(msg, reader);
4286
+ var msg = new proto.promocode.File;
4287
+ return proto.promocode.File.deserializeBinaryFromReader(msg, reader);
4241
4288
  };
4242
4289
 
4243
4290
 
4244
4291
  /**
4245
4292
  * Deserializes binary data (in protobuf wire format) from the
4246
4293
  * given reader into the given message object.
4247
- * @param {!proto.promocode.GetBonusMaskRequest} msg The message object to deserialize into.
4294
+ * @param {!proto.promocode.File} msg The message object to deserialize into.
4248
4295
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4249
- * @return {!proto.promocode.GetBonusMaskRequest}
4296
+ * @return {!proto.promocode.File}
4250
4297
  */
4251
- proto.promocode.GetBonusMaskRequest.deserializeBinaryFromReader = function(msg, reader) {
4298
+ proto.promocode.File.deserializeBinaryFromReader = function(msg, reader) {
4252
4299
  while (reader.nextField()) {
4253
4300
  if (reader.isEndGroup()) {
4254
4301
  break;
@@ -4256,8 +4303,16 @@ proto.promocode.GetBonusMaskRequest.deserializeBinaryFromReader = function(msg,
4256
4303
  var field = reader.getFieldNumber();
4257
4304
  switch (field) {
4258
4305
  case 1:
4259
- var value = /** @type {number} */ (reader.readInt32());
4260
- msg.setId(value);
4306
+ var value = /** @type {!Uint8Array} */ (reader.readBytes());
4307
+ msg.setMedia(value);
4308
+ break;
4309
+ case 2:
4310
+ var value = /** @type {string} */ (reader.readString());
4311
+ msg.setFileRole(value);
4312
+ break;
4313
+ case 3:
4314
+ var value = /** @type {string} */ (reader.readString());
4315
+ msg.setFileType(value);
4261
4316
  break;
4262
4317
  default:
4263
4318
  reader.skipField();
@@ -4272,9 +4327,9 @@ proto.promocode.GetBonusMaskRequest.deserializeBinaryFromReader = function(msg,
4272
4327
  * Serializes the message to binary data (in protobuf wire format).
4273
4328
  * @return {!Uint8Array}
4274
4329
  */
4275
- proto.promocode.GetBonusMaskRequest.prototype.serializeBinary = function() {
4330
+ proto.promocode.File.prototype.serializeBinary = function() {
4276
4331
  var writer = new jspb.BinaryWriter();
4277
- proto.promocode.GetBonusMaskRequest.serializeBinaryToWriter(this, writer);
4332
+ proto.promocode.File.serializeBinaryToWriter(this, writer);
4278
4333
  return writer.getResultBuffer();
4279
4334
  };
4280
4335
 
@@ -4282,37 +4337,147 @@ proto.promocode.GetBonusMaskRequest.prototype.serializeBinary = function() {
4282
4337
  /**
4283
4338
  * Serializes the given message to binary data (in protobuf wire
4284
4339
  * format), writing to the given BinaryWriter.
4285
- * @param {!proto.promocode.GetBonusMaskRequest} message
4340
+ * @param {!proto.promocode.File} message
4286
4341
  * @param {!jspb.BinaryWriter} writer
4287
4342
  * @suppress {unusedLocalVariables} f is only used for nested messages
4288
4343
  */
4289
- proto.promocode.GetBonusMaskRequest.serializeBinaryToWriter = function(message, writer) {
4344
+ proto.promocode.File.serializeBinaryToWriter = function(message, writer) {
4290
4345
  var f = undefined;
4291
- f = message.getId();
4292
- if (f !== 0) {
4293
- writer.writeInt32(
4346
+ f = message.getMedia_asU8();
4347
+ if (f.length > 0) {
4348
+ writer.writeBytes(
4294
4349
  1,
4295
4350
  f
4296
4351
  );
4297
4352
  }
4353
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
4354
+ if (f != null) {
4355
+ writer.writeString(
4356
+ 2,
4357
+ f
4358
+ );
4359
+ }
4360
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
4361
+ if (f != null) {
4362
+ writer.writeString(
4363
+ 3,
4364
+ f
4365
+ );
4366
+ }
4298
4367
  };
4299
4368
 
4300
4369
 
4301
4370
  /**
4302
- * optional int32 id = 1;
4303
- * @return {number}
4371
+ * optional bytes media = 1;
4372
+ * @return {!(string|Uint8Array)}
4304
4373
  */
4305
- proto.promocode.GetBonusMaskRequest.prototype.getId = function() {
4306
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
4374
+ proto.promocode.File.prototype.getMedia = function() {
4375
+ return /** @type {!(string|Uint8Array)} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
4307
4376
  };
4308
4377
 
4309
4378
 
4310
4379
  /**
4311
- * @param {number} value
4312
- * @return {!proto.promocode.GetBonusMaskRequest} returns this
4380
+ * optional bytes media = 1;
4381
+ * This is a type-conversion wrapper around `getMedia()`
4382
+ * @return {string}
4313
4383
  */
4314
- proto.promocode.GetBonusMaskRequest.prototype.setId = function(value) {
4315
- return jspb.Message.setProto3IntField(this, 1, value);
4384
+ proto.promocode.File.prototype.getMedia_asB64 = function() {
4385
+ return /** @type {string} */ (jspb.Message.bytesAsB64(
4386
+ this.getMedia()));
4387
+ };
4388
+
4389
+
4390
+ /**
4391
+ * optional bytes media = 1;
4392
+ * Note that Uint8Array is not supported on all browsers.
4393
+ * @see http://caniuse.com/Uint8Array
4394
+ * This is a type-conversion wrapper around `getMedia()`
4395
+ * @return {!Uint8Array}
4396
+ */
4397
+ proto.promocode.File.prototype.getMedia_asU8 = function() {
4398
+ return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
4399
+ this.getMedia()));
4400
+ };
4401
+
4402
+
4403
+ /**
4404
+ * @param {!(string|Uint8Array)} value
4405
+ * @return {!proto.promocode.File} returns this
4406
+ */
4407
+ proto.promocode.File.prototype.setMedia = function(value) {
4408
+ return jspb.Message.setProto3BytesField(this, 1, value);
4409
+ };
4410
+
4411
+
4412
+ /**
4413
+ * optional string file_role = 2;
4414
+ * @return {string}
4415
+ */
4416
+ proto.promocode.File.prototype.getFileRole = function() {
4417
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
4418
+ };
4419
+
4420
+
4421
+ /**
4422
+ * @param {string} value
4423
+ * @return {!proto.promocode.File} returns this
4424
+ */
4425
+ proto.promocode.File.prototype.setFileRole = function(value) {
4426
+ return jspb.Message.setField(this, 2, value);
4427
+ };
4428
+
4429
+
4430
+ /**
4431
+ * Clears the field making it undefined.
4432
+ * @return {!proto.promocode.File} returns this
4433
+ */
4434
+ proto.promocode.File.prototype.clearFileRole = function() {
4435
+ return jspb.Message.setField(this, 2, undefined);
4436
+ };
4437
+
4438
+
4439
+ /**
4440
+ * Returns whether this field is set.
4441
+ * @return {boolean}
4442
+ */
4443
+ proto.promocode.File.prototype.hasFileRole = function() {
4444
+ return jspb.Message.getField(this, 2) != null;
4445
+ };
4446
+
4447
+
4448
+ /**
4449
+ * optional string file_type = 3;
4450
+ * @return {string}
4451
+ */
4452
+ proto.promocode.File.prototype.getFileType = function() {
4453
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
4454
+ };
4455
+
4456
+
4457
+ /**
4458
+ * @param {string} value
4459
+ * @return {!proto.promocode.File} returns this
4460
+ */
4461
+ proto.promocode.File.prototype.setFileType = function(value) {
4462
+ return jspb.Message.setField(this, 3, value);
4463
+ };
4464
+
4465
+
4466
+ /**
4467
+ * Clears the field making it undefined.
4468
+ * @return {!proto.promocode.File} returns this
4469
+ */
4470
+ proto.promocode.File.prototype.clearFileType = function() {
4471
+ return jspb.Message.setField(this, 3, undefined);
4472
+ };
4473
+
4474
+
4475
+ /**
4476
+ * Returns whether this field is set.
4477
+ * @return {boolean}
4478
+ */
4479
+ proto.promocode.File.prototype.hasFileType = function() {
4480
+ return jspb.Message.getField(this, 3) != null;
4316
4481
  };
4317
4482
 
4318
4483
 
@@ -4332,8 +4497,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
4332
4497
  * http://goto/soy-param-migration
4333
4498
  * @return {!Object}
4334
4499
  */
4335
- proto.promocode.BonusMaskRequest.prototype.toObject = function(opt_includeInstance) {
4336
- return proto.promocode.BonusMaskRequest.toObject(opt_includeInstance, this);
4500
+ proto.promocode.GetBonusMaskRequest.prototype.toObject = function(opt_includeInstance) {
4501
+ return proto.promocode.GetBonusMaskRequest.toObject(opt_includeInstance, this);
4337
4502
  };
4338
4503
 
4339
4504
 
@@ -4342,30 +4507,13 @@ proto.promocode.BonusMaskRequest.prototype.toObject = function(opt_includeInstan
4342
4507
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4343
4508
  * the JSPB instance for transitional soy proto support:
4344
4509
  * http://goto/soy-param-migration
4345
- * @param {!proto.promocode.BonusMaskRequest} msg The msg instance to transform.
4510
+ * @param {!proto.promocode.GetBonusMaskRequest} msg The msg instance to transform.
4346
4511
  * @return {!Object}
4347
4512
  * @suppress {unusedLocalVariables} f is only used for nested messages
4348
4513
  */
4349
- proto.promocode.BonusMaskRequest.toObject = function(includeInstance, msg) {
4514
+ proto.promocode.GetBonusMaskRequest.toObject = function(includeInstance, msg) {
4350
4515
  var f, obj = {
4351
- id: jspb.Message.getFieldWithDefault(msg, 1, 0),
4352
- promocodeId: jspb.Message.getFieldWithDefault(msg, 2, 0),
4353
- targetBonusId: jspb.Message.getFieldWithDefault(msg, 3, 0),
4354
- activationArea: jspb.Message.getFieldWithDefault(msg, 4, ""),
4355
- currency: jspb.Message.getFieldWithDefault(msg, 5, ""),
4356
- isActive: jspb.Message.getFieldWithDefault(msg, 6, 0),
4357
- title: jspb.Message.getFieldWithDefault(msg, 7, ""),
4358
- description: jspb.Message.getFieldWithDefault(msg, 8, ""),
4359
- imageCdn: jspb.Message.getFieldWithDefault(msg, 9, ""),
4360
- mobileImageCdn: jspb.Message.getFieldWithDefault(msg, 10, ""),
4361
- payoutMultiplier: jspb.Message.getFieldWithDefault(msg, 11, 0),
4362
- wagerMultiplier: jspb.Message.getFieldWithDefault(msg, 12, 0),
4363
- depositPercentageValue: jspb.Message.getFieldWithDefault(msg, 13, ""),
4364
- depositPercentageMax: jspb.Message.getFieldWithDefault(msg, 14, ""),
4365
- freeSpinsGameId: jspb.Message.getFieldWithDefault(msg, 15, 0),
4366
- freeSpinsSpinAmount: jspb.Message.getFieldWithDefault(msg, 16, ""),
4367
- freeSpinsTotalAmount: jspb.Message.getFieldWithDefault(msg, 17, 0),
4368
- freeSpinsMaxWin: jspb.Message.getFieldWithDefault(msg, 18, "")
4516
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0)
4369
4517
  };
4370
4518
 
4371
4519
  if (includeInstance) {
@@ -4379,23 +4527,23 @@ proto.promocode.BonusMaskRequest.toObject = function(includeInstance, msg) {
4379
4527
  /**
4380
4528
  * Deserializes binary data (in protobuf wire format).
4381
4529
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
4382
- * @return {!proto.promocode.BonusMaskRequest}
4530
+ * @return {!proto.promocode.GetBonusMaskRequest}
4383
4531
  */
4384
- proto.promocode.BonusMaskRequest.deserializeBinary = function(bytes) {
4532
+ proto.promocode.GetBonusMaskRequest.deserializeBinary = function(bytes) {
4385
4533
  var reader = new jspb.BinaryReader(bytes);
4386
- var msg = new proto.promocode.BonusMaskRequest;
4387
- return proto.promocode.BonusMaskRequest.deserializeBinaryFromReader(msg, reader);
4534
+ var msg = new proto.promocode.GetBonusMaskRequest;
4535
+ return proto.promocode.GetBonusMaskRequest.deserializeBinaryFromReader(msg, reader);
4388
4536
  };
4389
4537
 
4390
4538
 
4391
4539
  /**
4392
4540
  * Deserializes binary data (in protobuf wire format) from the
4393
4541
  * given reader into the given message object.
4394
- * @param {!proto.promocode.BonusMaskRequest} msg The message object to deserialize into.
4542
+ * @param {!proto.promocode.GetBonusMaskRequest} msg The message object to deserialize into.
4395
4543
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4396
- * @return {!proto.promocode.BonusMaskRequest}
4544
+ * @return {!proto.promocode.GetBonusMaskRequest}
4397
4545
  */
4398
- proto.promocode.BonusMaskRequest.deserializeBinaryFromReader = function(msg, reader) {
4546
+ proto.promocode.GetBonusMaskRequest.deserializeBinaryFromReader = function(msg, reader) {
4399
4547
  while (reader.nextField()) {
4400
4548
  if (reader.isEndGroup()) {
4401
4549
  break;
@@ -4406,71 +4554,436 @@ proto.promocode.BonusMaskRequest.deserializeBinaryFromReader = function(msg, rea
4406
4554
  var value = /** @type {number} */ (reader.readInt32());
4407
4555
  msg.setId(value);
4408
4556
  break;
4409
- case 2:
4410
- var value = /** @type {number} */ (reader.readInt32());
4411
- msg.setPromocodeId(value);
4412
- break;
4413
- case 3:
4414
- var value = /** @type {number} */ (reader.readInt32());
4415
- msg.setTargetBonusId(value);
4416
- break;
4417
- case 4:
4418
- var value = /** @type {string} */ (reader.readString());
4419
- msg.setActivationArea(value);
4420
- break;
4421
- case 5:
4422
- var value = /** @type {string} */ (reader.readString());
4423
- msg.setCurrency(value);
4424
- break;
4425
- case 6:
4426
- var value = /** @type {number} */ (reader.readInt32());
4427
- msg.setIsActive(value);
4428
- break;
4429
- case 7:
4430
- var value = /** @type {string} */ (reader.readString());
4431
- msg.setTitle(value);
4432
- break;
4433
- case 8:
4434
- var value = /** @type {string} */ (reader.readString());
4435
- msg.setDescription(value);
4436
- break;
4437
- case 9:
4438
- var value = /** @type {string} */ (reader.readString());
4439
- msg.setImageCdn(value);
4440
- break;
4441
- case 10:
4442
- var value = /** @type {string} */ (reader.readString());
4443
- msg.setMobileImageCdn(value);
4444
- break;
4445
- case 11:
4446
- var value = /** @type {number} */ (reader.readInt32());
4447
- msg.setPayoutMultiplier(value);
4448
- break;
4449
- case 12:
4450
- var value = /** @type {number} */ (reader.readInt32());
4451
- msg.setWagerMultiplier(value);
4452
- break;
4453
- case 13:
4454
- var value = /** @type {string} */ (reader.readString());
4455
- msg.setDepositPercentageValue(value);
4456
- break;
4457
- case 14:
4458
- var value = /** @type {string} */ (reader.readString());
4459
- msg.setDepositPercentageMax(value);
4460
- break;
4461
- case 15:
4462
- var value = /** @type {number} */ (reader.readInt32());
4463
- msg.setFreeSpinsGameId(value);
4557
+ default:
4558
+ reader.skipField();
4464
4559
  break;
4465
- case 16:
4466
- var value = /** @type {string} */ (reader.readString());
4560
+ }
4561
+ }
4562
+ return msg;
4563
+ };
4564
+
4565
+
4566
+ /**
4567
+ * Serializes the message to binary data (in protobuf wire format).
4568
+ * @return {!Uint8Array}
4569
+ */
4570
+ proto.promocode.GetBonusMaskRequest.prototype.serializeBinary = function() {
4571
+ var writer = new jspb.BinaryWriter();
4572
+ proto.promocode.GetBonusMaskRequest.serializeBinaryToWriter(this, writer);
4573
+ return writer.getResultBuffer();
4574
+ };
4575
+
4576
+
4577
+ /**
4578
+ * Serializes the given message to binary data (in protobuf wire
4579
+ * format), writing to the given BinaryWriter.
4580
+ * @param {!proto.promocode.GetBonusMaskRequest} message
4581
+ * @param {!jspb.BinaryWriter} writer
4582
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4583
+ */
4584
+ proto.promocode.GetBonusMaskRequest.serializeBinaryToWriter = function(message, writer) {
4585
+ var f = undefined;
4586
+ f = message.getId();
4587
+ if (f !== 0) {
4588
+ writer.writeInt32(
4589
+ 1,
4590
+ f
4591
+ );
4592
+ }
4593
+ };
4594
+
4595
+
4596
+ /**
4597
+ * optional int32 id = 1;
4598
+ * @return {number}
4599
+ */
4600
+ proto.promocode.GetBonusMaskRequest.prototype.getId = function() {
4601
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
4602
+ };
4603
+
4604
+
4605
+ /**
4606
+ * @param {number} value
4607
+ * @return {!proto.promocode.GetBonusMaskRequest} returns this
4608
+ */
4609
+ proto.promocode.GetBonusMaskRequest.prototype.setId = function(value) {
4610
+ return jspb.Message.setProto3IntField(this, 1, value);
4611
+ };
4612
+
4613
+
4614
+
4615
+ /**
4616
+ * Oneof group definitions for this message. Each group defines the field
4617
+ * numbers belonging to that group. When of these fields' value is set, all
4618
+ * other fields in the group are cleared. During deserialization, if multiple
4619
+ * fields are encountered for a group, only the last value seen will be kept.
4620
+ * @private {!Array<!Array<number>>}
4621
+ * @const
4622
+ */
4623
+ proto.promocode.BonusMaskRequest.oneofGroups_ = [[1,2]];
4624
+
4625
+ /**
4626
+ * @enum {number}
4627
+ */
4628
+ proto.promocode.BonusMaskRequest.RequestCase = {
4629
+ REQUEST_NOT_SET: 0,
4630
+ BONUS_MASK_DATA: 1,
4631
+ FILE: 2
4632
+ };
4633
+
4634
+ /**
4635
+ * @return {proto.promocode.BonusMaskRequest.RequestCase}
4636
+ */
4637
+ proto.promocode.BonusMaskRequest.prototype.getRequestCase = function() {
4638
+ return /** @type {proto.promocode.BonusMaskRequest.RequestCase} */(jspb.Message.computeOneofCase(this, proto.promocode.BonusMaskRequest.oneofGroups_[0]));
4639
+ };
4640
+
4641
+
4642
+
4643
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4644
+ /**
4645
+ * Creates an object representation of this proto.
4646
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4647
+ * Optional fields that are not set will be set to undefined.
4648
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4649
+ * For the list of reserved names please see:
4650
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4651
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4652
+ * JSPB instance for transitional soy proto support:
4653
+ * http://goto/soy-param-migration
4654
+ * @return {!Object}
4655
+ */
4656
+ proto.promocode.BonusMaskRequest.prototype.toObject = function(opt_includeInstance) {
4657
+ return proto.promocode.BonusMaskRequest.toObject(opt_includeInstance, this);
4658
+ };
4659
+
4660
+
4661
+ /**
4662
+ * Static version of the {@see toObject} method.
4663
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4664
+ * the JSPB instance for transitional soy proto support:
4665
+ * http://goto/soy-param-migration
4666
+ * @param {!proto.promocode.BonusMaskRequest} msg The msg instance to transform.
4667
+ * @return {!Object}
4668
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4669
+ */
4670
+ proto.promocode.BonusMaskRequest.toObject = function(includeInstance, msg) {
4671
+ var f, obj = {
4672
+ bonusMaskData: (f = msg.getBonusMaskData()) && proto.promocode.BonusMaskItemRequest.toObject(includeInstance, f),
4673
+ file: (f = msg.getFile()) && proto.promocode.File.toObject(includeInstance, f)
4674
+ };
4675
+
4676
+ if (includeInstance) {
4677
+ obj.$jspbMessageInstance = msg;
4678
+ }
4679
+ return obj;
4680
+ };
4681
+ }
4682
+
4683
+
4684
+ /**
4685
+ * Deserializes binary data (in protobuf wire format).
4686
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
4687
+ * @return {!proto.promocode.BonusMaskRequest}
4688
+ */
4689
+ proto.promocode.BonusMaskRequest.deserializeBinary = function(bytes) {
4690
+ var reader = new jspb.BinaryReader(bytes);
4691
+ var msg = new proto.promocode.BonusMaskRequest;
4692
+ return proto.promocode.BonusMaskRequest.deserializeBinaryFromReader(msg, reader);
4693
+ };
4694
+
4695
+
4696
+ /**
4697
+ * Deserializes binary data (in protobuf wire format) from the
4698
+ * given reader into the given message object.
4699
+ * @param {!proto.promocode.BonusMaskRequest} msg The message object to deserialize into.
4700
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4701
+ * @return {!proto.promocode.BonusMaskRequest}
4702
+ */
4703
+ proto.promocode.BonusMaskRequest.deserializeBinaryFromReader = function(msg, reader) {
4704
+ while (reader.nextField()) {
4705
+ if (reader.isEndGroup()) {
4706
+ break;
4707
+ }
4708
+ var field = reader.getFieldNumber();
4709
+ switch (field) {
4710
+ case 1:
4711
+ var value = new proto.promocode.BonusMaskItemRequest;
4712
+ reader.readMessage(value,proto.promocode.BonusMaskItemRequest.deserializeBinaryFromReader);
4713
+ msg.setBonusMaskData(value);
4714
+ break;
4715
+ case 2:
4716
+ var value = new proto.promocode.File;
4717
+ reader.readMessage(value,proto.promocode.File.deserializeBinaryFromReader);
4718
+ msg.setFile(value);
4719
+ break;
4720
+ default:
4721
+ reader.skipField();
4722
+ break;
4723
+ }
4724
+ }
4725
+ return msg;
4726
+ };
4727
+
4728
+
4729
+ /**
4730
+ * Serializes the message to binary data (in protobuf wire format).
4731
+ * @return {!Uint8Array}
4732
+ */
4733
+ proto.promocode.BonusMaskRequest.prototype.serializeBinary = function() {
4734
+ var writer = new jspb.BinaryWriter();
4735
+ proto.promocode.BonusMaskRequest.serializeBinaryToWriter(this, writer);
4736
+ return writer.getResultBuffer();
4737
+ };
4738
+
4739
+
4740
+ /**
4741
+ * Serializes the given message to binary data (in protobuf wire
4742
+ * format), writing to the given BinaryWriter.
4743
+ * @param {!proto.promocode.BonusMaskRequest} message
4744
+ * @param {!jspb.BinaryWriter} writer
4745
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4746
+ */
4747
+ proto.promocode.BonusMaskRequest.serializeBinaryToWriter = function(message, writer) {
4748
+ var f = undefined;
4749
+ f = message.getBonusMaskData();
4750
+ if (f != null) {
4751
+ writer.writeMessage(
4752
+ 1,
4753
+ f,
4754
+ proto.promocode.BonusMaskItemRequest.serializeBinaryToWriter
4755
+ );
4756
+ }
4757
+ f = message.getFile();
4758
+ if (f != null) {
4759
+ writer.writeMessage(
4760
+ 2,
4761
+ f,
4762
+ proto.promocode.File.serializeBinaryToWriter
4763
+ );
4764
+ }
4765
+ };
4766
+
4767
+
4768
+ /**
4769
+ * optional BonusMaskItemRequest bonus_mask_data = 1;
4770
+ * @return {?proto.promocode.BonusMaskItemRequest}
4771
+ */
4772
+ proto.promocode.BonusMaskRequest.prototype.getBonusMaskData = function() {
4773
+ return /** @type{?proto.promocode.BonusMaskItemRequest} */ (
4774
+ jspb.Message.getWrapperField(this, proto.promocode.BonusMaskItemRequest, 1));
4775
+ };
4776
+
4777
+
4778
+ /**
4779
+ * @param {?proto.promocode.BonusMaskItemRequest|undefined} value
4780
+ * @return {!proto.promocode.BonusMaskRequest} returns this
4781
+ */
4782
+ proto.promocode.BonusMaskRequest.prototype.setBonusMaskData = function(value) {
4783
+ return jspb.Message.setOneofWrapperField(this, 1, proto.promocode.BonusMaskRequest.oneofGroups_[0], value);
4784
+ };
4785
+
4786
+
4787
+ /**
4788
+ * Clears the message field making it undefined.
4789
+ * @return {!proto.promocode.BonusMaskRequest} returns this
4790
+ */
4791
+ proto.promocode.BonusMaskRequest.prototype.clearBonusMaskData = function() {
4792
+ return this.setBonusMaskData(undefined);
4793
+ };
4794
+
4795
+
4796
+ /**
4797
+ * Returns whether this field is set.
4798
+ * @return {boolean}
4799
+ */
4800
+ proto.promocode.BonusMaskRequest.prototype.hasBonusMaskData = function() {
4801
+ return jspb.Message.getField(this, 1) != null;
4802
+ };
4803
+
4804
+
4805
+ /**
4806
+ * optional File file = 2;
4807
+ * @return {?proto.promocode.File}
4808
+ */
4809
+ proto.promocode.BonusMaskRequest.prototype.getFile = function() {
4810
+ return /** @type{?proto.promocode.File} */ (
4811
+ jspb.Message.getWrapperField(this, proto.promocode.File, 2));
4812
+ };
4813
+
4814
+
4815
+ /**
4816
+ * @param {?proto.promocode.File|undefined} value
4817
+ * @return {!proto.promocode.BonusMaskRequest} returns this
4818
+ */
4819
+ proto.promocode.BonusMaskRequest.prototype.setFile = function(value) {
4820
+ return jspb.Message.setOneofWrapperField(this, 2, proto.promocode.BonusMaskRequest.oneofGroups_[0], value);
4821
+ };
4822
+
4823
+
4824
+ /**
4825
+ * Clears the message field making it undefined.
4826
+ * @return {!proto.promocode.BonusMaskRequest} returns this
4827
+ */
4828
+ proto.promocode.BonusMaskRequest.prototype.clearFile = function() {
4829
+ return this.setFile(undefined);
4830
+ };
4831
+
4832
+
4833
+ /**
4834
+ * Returns whether this field is set.
4835
+ * @return {boolean}
4836
+ */
4837
+ proto.promocode.BonusMaskRequest.prototype.hasFile = function() {
4838
+ return jspb.Message.getField(this, 2) != null;
4839
+ };
4840
+
4841
+
4842
+
4843
+
4844
+
4845
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4846
+ /**
4847
+ * Creates an object representation of this proto.
4848
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4849
+ * Optional fields that are not set will be set to undefined.
4850
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4851
+ * For the list of reserved names please see:
4852
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4853
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4854
+ * JSPB instance for transitional soy proto support:
4855
+ * http://goto/soy-param-migration
4856
+ * @return {!Object}
4857
+ */
4858
+ proto.promocode.BonusMaskItemRequest.prototype.toObject = function(opt_includeInstance) {
4859
+ return proto.promocode.BonusMaskItemRequest.toObject(opt_includeInstance, this);
4860
+ };
4861
+
4862
+
4863
+ /**
4864
+ * Static version of the {@see toObject} method.
4865
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4866
+ * the JSPB instance for transitional soy proto support:
4867
+ * http://goto/soy-param-migration
4868
+ * @param {!proto.promocode.BonusMaskItemRequest} msg The msg instance to transform.
4869
+ * @return {!Object}
4870
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4871
+ */
4872
+ proto.promocode.BonusMaskItemRequest.toObject = function(includeInstance, msg) {
4873
+ var f, obj = {
4874
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
4875
+ promocodeId: jspb.Message.getFieldWithDefault(msg, 2, 0),
4876
+ targetBonusId: jspb.Message.getFieldWithDefault(msg, 3, 0),
4877
+ activationArea: jspb.Message.getFieldWithDefault(msg, 4, ""),
4878
+ currency: jspb.Message.getFieldWithDefault(msg, 5, ""),
4879
+ isActive: jspb.Message.getFieldWithDefault(msg, 6, 0),
4880
+ title: jspb.Message.getFieldWithDefault(msg, 7, ""),
4881
+ description: jspb.Message.getFieldWithDefault(msg, 8, ""),
4882
+ payoutMultiplier: jspb.Message.getFieldWithDefault(msg, 9, 0),
4883
+ wagerMultiplier: jspb.Message.getFieldWithDefault(msg, 10, 0),
4884
+ depositPercentageValue: jspb.Message.getFieldWithDefault(msg, 11, ""),
4885
+ depositPercentageMax: jspb.Message.getFieldWithDefault(msg, 12, ""),
4886
+ freeSpinsGameId: jspb.Message.getFieldWithDefault(msg, 13, 0),
4887
+ freeSpinsSpinAmount: jspb.Message.getFieldWithDefault(msg, 14, ""),
4888
+ freeSpinsTotalAmount: jspb.Message.getFieldWithDefault(msg, 15, 0),
4889
+ freeSpinsMaxWin: jspb.Message.getFieldWithDefault(msg, 16, "")
4890
+ };
4891
+
4892
+ if (includeInstance) {
4893
+ obj.$jspbMessageInstance = msg;
4894
+ }
4895
+ return obj;
4896
+ };
4897
+ }
4898
+
4899
+
4900
+ /**
4901
+ * Deserializes binary data (in protobuf wire format).
4902
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
4903
+ * @return {!proto.promocode.BonusMaskItemRequest}
4904
+ */
4905
+ proto.promocode.BonusMaskItemRequest.deserializeBinary = function(bytes) {
4906
+ var reader = new jspb.BinaryReader(bytes);
4907
+ var msg = new proto.promocode.BonusMaskItemRequest;
4908
+ return proto.promocode.BonusMaskItemRequest.deserializeBinaryFromReader(msg, reader);
4909
+ };
4910
+
4911
+
4912
+ /**
4913
+ * Deserializes binary data (in protobuf wire format) from the
4914
+ * given reader into the given message object.
4915
+ * @param {!proto.promocode.BonusMaskItemRequest} msg The message object to deserialize into.
4916
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4917
+ * @return {!proto.promocode.BonusMaskItemRequest}
4918
+ */
4919
+ proto.promocode.BonusMaskItemRequest.deserializeBinaryFromReader = function(msg, reader) {
4920
+ while (reader.nextField()) {
4921
+ if (reader.isEndGroup()) {
4922
+ break;
4923
+ }
4924
+ var field = reader.getFieldNumber();
4925
+ switch (field) {
4926
+ case 1:
4927
+ var value = /** @type {number} */ (reader.readInt32());
4928
+ msg.setId(value);
4929
+ break;
4930
+ case 2:
4931
+ var value = /** @type {number} */ (reader.readInt32());
4932
+ msg.setPromocodeId(value);
4933
+ break;
4934
+ case 3:
4935
+ var value = /** @type {number} */ (reader.readInt32());
4936
+ msg.setTargetBonusId(value);
4937
+ break;
4938
+ case 4:
4939
+ var value = /** @type {string} */ (reader.readString());
4940
+ msg.setActivationArea(value);
4941
+ break;
4942
+ case 5:
4943
+ var value = /** @type {string} */ (reader.readString());
4944
+ msg.setCurrency(value);
4945
+ break;
4946
+ case 6:
4947
+ var value = /** @type {number} */ (reader.readInt32());
4948
+ msg.setIsActive(value);
4949
+ break;
4950
+ case 7:
4951
+ var value = /** @type {string} */ (reader.readString());
4952
+ msg.setTitle(value);
4953
+ break;
4954
+ case 8:
4955
+ var value = /** @type {string} */ (reader.readString());
4956
+ msg.setDescription(value);
4957
+ break;
4958
+ case 9:
4959
+ var value = /** @type {number} */ (reader.readInt32());
4960
+ msg.setPayoutMultiplier(value);
4961
+ break;
4962
+ case 10:
4963
+ var value = /** @type {number} */ (reader.readInt32());
4964
+ msg.setWagerMultiplier(value);
4965
+ break;
4966
+ case 11:
4967
+ var value = /** @type {string} */ (reader.readString());
4968
+ msg.setDepositPercentageValue(value);
4969
+ break;
4970
+ case 12:
4971
+ var value = /** @type {string} */ (reader.readString());
4972
+ msg.setDepositPercentageMax(value);
4973
+ break;
4974
+ case 13:
4975
+ var value = /** @type {number} */ (reader.readInt32());
4976
+ msg.setFreeSpinsGameId(value);
4977
+ break;
4978
+ case 14:
4979
+ var value = /** @type {string} */ (reader.readString());
4467
4980
  msg.setFreeSpinsSpinAmount(value);
4468
4981
  break;
4469
- case 17:
4982
+ case 15:
4470
4983
  var value = /** @type {number} */ (reader.readInt32());
4471
4984
  msg.setFreeSpinsTotalAmount(value);
4472
4985
  break;
4473
- case 18:
4986
+ case 16:
4474
4987
  var value = /** @type {string} */ (reader.readString());
4475
4988
  msg.setFreeSpinsMaxWin(value);
4476
4989
  break;
@@ -4487,9 +5000,9 @@ proto.promocode.BonusMaskRequest.deserializeBinaryFromReader = function(msg, rea
4487
5000
  * Serializes the message to binary data (in protobuf wire format).
4488
5001
  * @return {!Uint8Array}
4489
5002
  */
4490
- proto.promocode.BonusMaskRequest.prototype.serializeBinary = function() {
5003
+ proto.promocode.BonusMaskItemRequest.prototype.serializeBinary = function() {
4491
5004
  var writer = new jspb.BinaryWriter();
4492
- proto.promocode.BonusMaskRequest.serializeBinaryToWriter(this, writer);
5005
+ proto.promocode.BonusMaskItemRequest.serializeBinaryToWriter(this, writer);
4493
5006
  return writer.getResultBuffer();
4494
5007
  };
4495
5008
 
@@ -4497,11 +5010,11 @@ proto.promocode.BonusMaskRequest.prototype.serializeBinary = function() {
4497
5010
  /**
4498
5011
  * Serializes the given message to binary data (in protobuf wire
4499
5012
  * format), writing to the given BinaryWriter.
4500
- * @param {!proto.promocode.BonusMaskRequest} message
5013
+ * @param {!proto.promocode.BonusMaskItemRequest} message
4501
5014
  * @param {!jspb.BinaryWriter} writer
4502
5015
  * @suppress {unusedLocalVariables} f is only used for nested messages
4503
5016
  */
4504
- proto.promocode.BonusMaskRequest.serializeBinaryToWriter = function(message, writer) {
5017
+ proto.promocode.BonusMaskItemRequest.serializeBinaryToWriter = function(message, writer) {
4505
5018
  var f = undefined;
4506
5019
  f = /** @type {number} */ (jspb.Message.getField(message, 1));
4507
5020
  if (f != null) {
@@ -4559,37 +5072,37 @@ proto.promocode.BonusMaskRequest.serializeBinaryToWriter = function(message, wri
4559
5072
  f
4560
5073
  );
4561
5074
  }
4562
- f = /** @type {string} */ (jspb.Message.getField(message, 9));
5075
+ f = /** @type {number} */ (jspb.Message.getField(message, 9));
4563
5076
  if (f != null) {
4564
- writer.writeString(
5077
+ writer.writeInt32(
4565
5078
  9,
4566
5079
  f
4567
5080
  );
4568
5081
  }
4569
- f = /** @type {string} */ (jspb.Message.getField(message, 10));
5082
+ f = /** @type {number} */ (jspb.Message.getField(message, 10));
4570
5083
  if (f != null) {
4571
- writer.writeString(
5084
+ writer.writeInt32(
4572
5085
  10,
4573
5086
  f
4574
5087
  );
4575
5088
  }
4576
- f = /** @type {number} */ (jspb.Message.getField(message, 11));
5089
+ f = /** @type {string} */ (jspb.Message.getField(message, 11));
4577
5090
  if (f != null) {
4578
- writer.writeInt32(
5091
+ writer.writeString(
4579
5092
  11,
4580
5093
  f
4581
5094
  );
4582
5095
  }
4583
- f = /** @type {number} */ (jspb.Message.getField(message, 12));
5096
+ f = /** @type {string} */ (jspb.Message.getField(message, 12));
4584
5097
  if (f != null) {
4585
- writer.writeInt32(
5098
+ writer.writeString(
4586
5099
  12,
4587
5100
  f
4588
5101
  );
4589
5102
  }
4590
- f = /** @type {string} */ (jspb.Message.getField(message, 13));
5103
+ f = /** @type {number} */ (jspb.Message.getField(message, 13));
4591
5104
  if (f != null) {
4592
- writer.writeString(
5105
+ writer.writeInt32(
4593
5106
  13,
4594
5107
  f
4595
5108
  );
@@ -4615,20 +5128,6 @@ proto.promocode.BonusMaskRequest.serializeBinaryToWriter = function(message, wri
4615
5128
  f
4616
5129
  );
4617
5130
  }
4618
- f = /** @type {number} */ (jspb.Message.getField(message, 17));
4619
- if (f != null) {
4620
- writer.writeInt32(
4621
- 17,
4622
- f
4623
- );
4624
- }
4625
- f = /** @type {string} */ (jspb.Message.getField(message, 18));
4626
- if (f != null) {
4627
- writer.writeString(
4628
- 18,
4629
- f
4630
- );
4631
- }
4632
5131
  };
4633
5132
 
4634
5133
 
@@ -4636,25 +5135,25 @@ proto.promocode.BonusMaskRequest.serializeBinaryToWriter = function(message, wri
4636
5135
  * optional int32 id = 1;
4637
5136
  * @return {number}
4638
5137
  */
4639
- proto.promocode.BonusMaskRequest.prototype.getId = function() {
5138
+ proto.promocode.BonusMaskItemRequest.prototype.getId = function() {
4640
5139
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
4641
5140
  };
4642
5141
 
4643
5142
 
4644
5143
  /**
4645
5144
  * @param {number} value
4646
- * @return {!proto.promocode.BonusMaskRequest} returns this
5145
+ * @return {!proto.promocode.BonusMaskItemRequest} returns this
4647
5146
  */
4648
- proto.promocode.BonusMaskRequest.prototype.setId = function(value) {
5147
+ proto.promocode.BonusMaskItemRequest.prototype.setId = function(value) {
4649
5148
  return jspb.Message.setField(this, 1, value);
4650
5149
  };
4651
5150
 
4652
5151
 
4653
5152
  /**
4654
5153
  * Clears the field making it undefined.
4655
- * @return {!proto.promocode.BonusMaskRequest} returns this
5154
+ * @return {!proto.promocode.BonusMaskItemRequest} returns this
4656
5155
  */
4657
- proto.promocode.BonusMaskRequest.prototype.clearId = function() {
5156
+ proto.promocode.BonusMaskItemRequest.prototype.clearId = function() {
4658
5157
  return jspb.Message.setField(this, 1, undefined);
4659
5158
  };
4660
5159
 
@@ -4663,7 +5162,7 @@ proto.promocode.BonusMaskRequest.prototype.clearId = function() {
4663
5162
  * Returns whether this field is set.
4664
5163
  * @return {boolean}
4665
5164
  */
4666
- proto.promocode.BonusMaskRequest.prototype.hasId = function() {
5165
+ proto.promocode.BonusMaskItemRequest.prototype.hasId = function() {
4667
5166
  return jspb.Message.getField(this, 1) != null;
4668
5167
  };
4669
5168
 
@@ -4672,25 +5171,25 @@ proto.promocode.BonusMaskRequest.prototype.hasId = function() {
4672
5171
  * optional int32 promocode_id = 2;
4673
5172
  * @return {number}
4674
5173
  */
4675
- proto.promocode.BonusMaskRequest.prototype.getPromocodeId = function() {
5174
+ proto.promocode.BonusMaskItemRequest.prototype.getPromocodeId = function() {
4676
5175
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
4677
5176
  };
4678
5177
 
4679
5178
 
4680
5179
  /**
4681
5180
  * @param {number} value
4682
- * @return {!proto.promocode.BonusMaskRequest} returns this
5181
+ * @return {!proto.promocode.BonusMaskItemRequest} returns this
4683
5182
  */
4684
- proto.promocode.BonusMaskRequest.prototype.setPromocodeId = function(value) {
5183
+ proto.promocode.BonusMaskItemRequest.prototype.setPromocodeId = function(value) {
4685
5184
  return jspb.Message.setField(this, 2, value);
4686
5185
  };
4687
5186
 
4688
5187
 
4689
5188
  /**
4690
5189
  * Clears the field making it undefined.
4691
- * @return {!proto.promocode.BonusMaskRequest} returns this
5190
+ * @return {!proto.promocode.BonusMaskItemRequest} returns this
4692
5191
  */
4693
- proto.promocode.BonusMaskRequest.prototype.clearPromocodeId = function() {
5192
+ proto.promocode.BonusMaskItemRequest.prototype.clearPromocodeId = function() {
4694
5193
  return jspb.Message.setField(this, 2, undefined);
4695
5194
  };
4696
5195
 
@@ -4699,7 +5198,7 @@ proto.promocode.BonusMaskRequest.prototype.clearPromocodeId = function() {
4699
5198
  * Returns whether this field is set.
4700
5199
  * @return {boolean}
4701
5200
  */
4702
- proto.promocode.BonusMaskRequest.prototype.hasPromocodeId = function() {
5201
+ proto.promocode.BonusMaskItemRequest.prototype.hasPromocodeId = function() {
4703
5202
  return jspb.Message.getField(this, 2) != null;
4704
5203
  };
4705
5204
 
@@ -4708,25 +5207,25 @@ proto.promocode.BonusMaskRequest.prototype.hasPromocodeId = function() {
4708
5207
  * optional int32 target_bonus_id = 3;
4709
5208
  * @return {number}
4710
5209
  */
4711
- proto.promocode.BonusMaskRequest.prototype.getTargetBonusId = function() {
5210
+ proto.promocode.BonusMaskItemRequest.prototype.getTargetBonusId = function() {
4712
5211
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
4713
5212
  };
4714
5213
 
4715
5214
 
4716
5215
  /**
4717
5216
  * @param {number} value
4718
- * @return {!proto.promocode.BonusMaskRequest} returns this
5217
+ * @return {!proto.promocode.BonusMaskItemRequest} returns this
4719
5218
  */
4720
- proto.promocode.BonusMaskRequest.prototype.setTargetBonusId = function(value) {
5219
+ proto.promocode.BonusMaskItemRequest.prototype.setTargetBonusId = function(value) {
4721
5220
  return jspb.Message.setField(this, 3, value);
4722
5221
  };
4723
5222
 
4724
5223
 
4725
5224
  /**
4726
5225
  * Clears the field making it undefined.
4727
- * @return {!proto.promocode.BonusMaskRequest} returns this
5226
+ * @return {!proto.promocode.BonusMaskItemRequest} returns this
4728
5227
  */
4729
- proto.promocode.BonusMaskRequest.prototype.clearTargetBonusId = function() {
5228
+ proto.promocode.BonusMaskItemRequest.prototype.clearTargetBonusId = function() {
4730
5229
  return jspb.Message.setField(this, 3, undefined);
4731
5230
  };
4732
5231
 
@@ -4735,7 +5234,7 @@ proto.promocode.BonusMaskRequest.prototype.clearTargetBonusId = function() {
4735
5234
  * Returns whether this field is set.
4736
5235
  * @return {boolean}
4737
5236
  */
4738
- proto.promocode.BonusMaskRequest.prototype.hasTargetBonusId = function() {
5237
+ proto.promocode.BonusMaskItemRequest.prototype.hasTargetBonusId = function() {
4739
5238
  return jspb.Message.getField(this, 3) != null;
4740
5239
  };
4741
5240
 
@@ -4744,25 +5243,25 @@ proto.promocode.BonusMaskRequest.prototype.hasTargetBonusId = function() {
4744
5243
  * optional string activation_area = 4;
4745
5244
  * @return {string}
4746
5245
  */
4747
- proto.promocode.BonusMaskRequest.prototype.getActivationArea = function() {
5246
+ proto.promocode.BonusMaskItemRequest.prototype.getActivationArea = function() {
4748
5247
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
4749
5248
  };
4750
5249
 
4751
5250
 
4752
5251
  /**
4753
5252
  * @param {string} value
4754
- * @return {!proto.promocode.BonusMaskRequest} returns this
5253
+ * @return {!proto.promocode.BonusMaskItemRequest} returns this
4755
5254
  */
4756
- proto.promocode.BonusMaskRequest.prototype.setActivationArea = function(value) {
5255
+ proto.promocode.BonusMaskItemRequest.prototype.setActivationArea = function(value) {
4757
5256
  return jspb.Message.setField(this, 4, value);
4758
5257
  };
4759
5258
 
4760
5259
 
4761
5260
  /**
4762
5261
  * Clears the field making it undefined.
4763
- * @return {!proto.promocode.BonusMaskRequest} returns this
5262
+ * @return {!proto.promocode.BonusMaskItemRequest} returns this
4764
5263
  */
4765
- proto.promocode.BonusMaskRequest.prototype.clearActivationArea = function() {
5264
+ proto.promocode.BonusMaskItemRequest.prototype.clearActivationArea = function() {
4766
5265
  return jspb.Message.setField(this, 4, undefined);
4767
5266
  };
4768
5267
 
@@ -4771,7 +5270,7 @@ proto.promocode.BonusMaskRequest.prototype.clearActivationArea = function() {
4771
5270
  * Returns whether this field is set.
4772
5271
  * @return {boolean}
4773
5272
  */
4774
- proto.promocode.BonusMaskRequest.prototype.hasActivationArea = function() {
5273
+ proto.promocode.BonusMaskItemRequest.prototype.hasActivationArea = function() {
4775
5274
  return jspb.Message.getField(this, 4) != null;
4776
5275
  };
4777
5276
 
@@ -4780,25 +5279,25 @@ proto.promocode.BonusMaskRequest.prototype.hasActivationArea = function() {
4780
5279
  * optional string currency = 5;
4781
5280
  * @return {string}
4782
5281
  */
4783
- proto.promocode.BonusMaskRequest.prototype.getCurrency = function() {
5282
+ proto.promocode.BonusMaskItemRequest.prototype.getCurrency = function() {
4784
5283
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
4785
5284
  };
4786
5285
 
4787
5286
 
4788
5287
  /**
4789
5288
  * @param {string} value
4790
- * @return {!proto.promocode.BonusMaskRequest} returns this
5289
+ * @return {!proto.promocode.BonusMaskItemRequest} returns this
4791
5290
  */
4792
- proto.promocode.BonusMaskRequest.prototype.setCurrency = function(value) {
5291
+ proto.promocode.BonusMaskItemRequest.prototype.setCurrency = function(value) {
4793
5292
  return jspb.Message.setField(this, 5, value);
4794
5293
  };
4795
5294
 
4796
5295
 
4797
5296
  /**
4798
5297
  * Clears the field making it undefined.
4799
- * @return {!proto.promocode.BonusMaskRequest} returns this
5298
+ * @return {!proto.promocode.BonusMaskItemRequest} returns this
4800
5299
  */
4801
- proto.promocode.BonusMaskRequest.prototype.clearCurrency = function() {
5300
+ proto.promocode.BonusMaskItemRequest.prototype.clearCurrency = function() {
4802
5301
  return jspb.Message.setField(this, 5, undefined);
4803
5302
  };
4804
5303
 
@@ -4807,7 +5306,7 @@ proto.promocode.BonusMaskRequest.prototype.clearCurrency = function() {
4807
5306
  * Returns whether this field is set.
4808
5307
  * @return {boolean}
4809
5308
  */
4810
- proto.promocode.BonusMaskRequest.prototype.hasCurrency = function() {
5309
+ proto.promocode.BonusMaskItemRequest.prototype.hasCurrency = function() {
4811
5310
  return jspb.Message.getField(this, 5) != null;
4812
5311
  };
4813
5312
 
@@ -4816,25 +5315,25 @@ proto.promocode.BonusMaskRequest.prototype.hasCurrency = function() {
4816
5315
  * optional int32 is_active = 6;
4817
5316
  * @return {number}
4818
5317
  */
4819
- proto.promocode.BonusMaskRequest.prototype.getIsActive = function() {
5318
+ proto.promocode.BonusMaskItemRequest.prototype.getIsActive = function() {
4820
5319
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
4821
5320
  };
4822
5321
 
4823
5322
 
4824
5323
  /**
4825
5324
  * @param {number} value
4826
- * @return {!proto.promocode.BonusMaskRequest} returns this
5325
+ * @return {!proto.promocode.BonusMaskItemRequest} returns this
4827
5326
  */
4828
- proto.promocode.BonusMaskRequest.prototype.setIsActive = function(value) {
5327
+ proto.promocode.BonusMaskItemRequest.prototype.setIsActive = function(value) {
4829
5328
  return jspb.Message.setField(this, 6, value);
4830
5329
  };
4831
5330
 
4832
5331
 
4833
5332
  /**
4834
5333
  * Clears the field making it undefined.
4835
- * @return {!proto.promocode.BonusMaskRequest} returns this
5334
+ * @return {!proto.promocode.BonusMaskItemRequest} returns this
4836
5335
  */
4837
- proto.promocode.BonusMaskRequest.prototype.clearIsActive = function() {
5336
+ proto.promocode.BonusMaskItemRequest.prototype.clearIsActive = function() {
4838
5337
  return jspb.Message.setField(this, 6, undefined);
4839
5338
  };
4840
5339
 
@@ -4843,7 +5342,7 @@ proto.promocode.BonusMaskRequest.prototype.clearIsActive = function() {
4843
5342
  * Returns whether this field is set.
4844
5343
  * @return {boolean}
4845
5344
  */
4846
- proto.promocode.BonusMaskRequest.prototype.hasIsActive = function() {
5345
+ proto.promocode.BonusMaskItemRequest.prototype.hasIsActive = function() {
4847
5346
  return jspb.Message.getField(this, 6) != null;
4848
5347
  };
4849
5348
 
@@ -4852,25 +5351,25 @@ proto.promocode.BonusMaskRequest.prototype.hasIsActive = function() {
4852
5351
  * optional string title = 7;
4853
5352
  * @return {string}
4854
5353
  */
4855
- proto.promocode.BonusMaskRequest.prototype.getTitle = function() {
5354
+ proto.promocode.BonusMaskItemRequest.prototype.getTitle = function() {
4856
5355
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
4857
5356
  };
4858
5357
 
4859
5358
 
4860
5359
  /**
4861
5360
  * @param {string} value
4862
- * @return {!proto.promocode.BonusMaskRequest} returns this
5361
+ * @return {!proto.promocode.BonusMaskItemRequest} returns this
4863
5362
  */
4864
- proto.promocode.BonusMaskRequest.prototype.setTitle = function(value) {
5363
+ proto.promocode.BonusMaskItemRequest.prototype.setTitle = function(value) {
4865
5364
  return jspb.Message.setField(this, 7, value);
4866
5365
  };
4867
5366
 
4868
5367
 
4869
5368
  /**
4870
5369
  * Clears the field making it undefined.
4871
- * @return {!proto.promocode.BonusMaskRequest} returns this
5370
+ * @return {!proto.promocode.BonusMaskItemRequest} returns this
4872
5371
  */
4873
- proto.promocode.BonusMaskRequest.prototype.clearTitle = function() {
5372
+ proto.promocode.BonusMaskItemRequest.prototype.clearTitle = function() {
4874
5373
  return jspb.Message.setField(this, 7, undefined);
4875
5374
  };
4876
5375
 
@@ -4879,7 +5378,7 @@ proto.promocode.BonusMaskRequest.prototype.clearTitle = function() {
4879
5378
  * Returns whether this field is set.
4880
5379
  * @return {boolean}
4881
5380
  */
4882
- proto.promocode.BonusMaskRequest.prototype.hasTitle = function() {
5381
+ proto.promocode.BonusMaskItemRequest.prototype.hasTitle = function() {
4883
5382
  return jspb.Message.getField(this, 7) != null;
4884
5383
  };
4885
5384
 
@@ -4888,25 +5387,25 @@ proto.promocode.BonusMaskRequest.prototype.hasTitle = function() {
4888
5387
  * optional string description = 8;
4889
5388
  * @return {string}
4890
5389
  */
4891
- proto.promocode.BonusMaskRequest.prototype.getDescription = function() {
5390
+ proto.promocode.BonusMaskItemRequest.prototype.getDescription = function() {
4892
5391
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
4893
5392
  };
4894
5393
 
4895
5394
 
4896
5395
  /**
4897
5396
  * @param {string} value
4898
- * @return {!proto.promocode.BonusMaskRequest} returns this
5397
+ * @return {!proto.promocode.BonusMaskItemRequest} returns this
4899
5398
  */
4900
- proto.promocode.BonusMaskRequest.prototype.setDescription = function(value) {
5399
+ proto.promocode.BonusMaskItemRequest.prototype.setDescription = function(value) {
4901
5400
  return jspb.Message.setField(this, 8, value);
4902
5401
  };
4903
5402
 
4904
5403
 
4905
5404
  /**
4906
5405
  * Clears the field making it undefined.
4907
- * @return {!proto.promocode.BonusMaskRequest} returns this
5406
+ * @return {!proto.promocode.BonusMaskItemRequest} returns this
4908
5407
  */
4909
- proto.promocode.BonusMaskRequest.prototype.clearDescription = function() {
5408
+ proto.promocode.BonusMaskItemRequest.prototype.clearDescription = function() {
4910
5409
  return jspb.Message.setField(this, 8, undefined);
4911
5410
  };
4912
5411
 
@@ -4915,34 +5414,34 @@ proto.promocode.BonusMaskRequest.prototype.clearDescription = function() {
4915
5414
  * Returns whether this field is set.
4916
5415
  * @return {boolean}
4917
5416
  */
4918
- proto.promocode.BonusMaskRequest.prototype.hasDescription = function() {
5417
+ proto.promocode.BonusMaskItemRequest.prototype.hasDescription = function() {
4919
5418
  return jspb.Message.getField(this, 8) != null;
4920
5419
  };
4921
5420
 
4922
5421
 
4923
5422
  /**
4924
- * optional string image_cdn = 9;
4925
- * @return {string}
5423
+ * optional int32 payout_multiplier = 9;
5424
+ * @return {number}
4926
5425
  */
4927
- proto.promocode.BonusMaskRequest.prototype.getImageCdn = function() {
4928
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
5426
+ proto.promocode.BonusMaskItemRequest.prototype.getPayoutMultiplier = function() {
5427
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
4929
5428
  };
4930
5429
 
4931
5430
 
4932
5431
  /**
4933
- * @param {string} value
4934
- * @return {!proto.promocode.BonusMaskRequest} returns this
5432
+ * @param {number} value
5433
+ * @return {!proto.promocode.BonusMaskItemRequest} returns this
4935
5434
  */
4936
- proto.promocode.BonusMaskRequest.prototype.setImageCdn = function(value) {
5435
+ proto.promocode.BonusMaskItemRequest.prototype.setPayoutMultiplier = function(value) {
4937
5436
  return jspb.Message.setField(this, 9, value);
4938
5437
  };
4939
5438
 
4940
5439
 
4941
5440
  /**
4942
5441
  * Clears the field making it undefined.
4943
- * @return {!proto.promocode.BonusMaskRequest} returns this
5442
+ * @return {!proto.promocode.BonusMaskItemRequest} returns this
4944
5443
  */
4945
- proto.promocode.BonusMaskRequest.prototype.clearImageCdn = function() {
5444
+ proto.promocode.BonusMaskItemRequest.prototype.clearPayoutMultiplier = function() {
4946
5445
  return jspb.Message.setField(this, 9, undefined);
4947
5446
  };
4948
5447
 
@@ -4951,34 +5450,34 @@ proto.promocode.BonusMaskRequest.prototype.clearImageCdn = function() {
4951
5450
  * Returns whether this field is set.
4952
5451
  * @return {boolean}
4953
5452
  */
4954
- proto.promocode.BonusMaskRequest.prototype.hasImageCdn = function() {
5453
+ proto.promocode.BonusMaskItemRequest.prototype.hasPayoutMultiplier = function() {
4955
5454
  return jspb.Message.getField(this, 9) != null;
4956
5455
  };
4957
5456
 
4958
5457
 
4959
5458
  /**
4960
- * optional string mobile_image_cdn = 10;
4961
- * @return {string}
5459
+ * optional int32 wager_multiplier = 10;
5460
+ * @return {number}
4962
5461
  */
4963
- proto.promocode.BonusMaskRequest.prototype.getMobileImageCdn = function() {
4964
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
5462
+ proto.promocode.BonusMaskItemRequest.prototype.getWagerMultiplier = function() {
5463
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
4965
5464
  };
4966
5465
 
4967
5466
 
4968
5467
  /**
4969
- * @param {string} value
4970
- * @return {!proto.promocode.BonusMaskRequest} returns this
5468
+ * @param {number} value
5469
+ * @return {!proto.promocode.BonusMaskItemRequest} returns this
4971
5470
  */
4972
- proto.promocode.BonusMaskRequest.prototype.setMobileImageCdn = function(value) {
5471
+ proto.promocode.BonusMaskItemRequest.prototype.setWagerMultiplier = function(value) {
4973
5472
  return jspb.Message.setField(this, 10, value);
4974
5473
  };
4975
5474
 
4976
5475
 
4977
5476
  /**
4978
5477
  * Clears the field making it undefined.
4979
- * @return {!proto.promocode.BonusMaskRequest} returns this
5478
+ * @return {!proto.promocode.BonusMaskItemRequest} returns this
4980
5479
  */
4981
- proto.promocode.BonusMaskRequest.prototype.clearMobileImageCdn = function() {
5480
+ proto.promocode.BonusMaskItemRequest.prototype.clearWagerMultiplier = function() {
4982
5481
  return jspb.Message.setField(this, 10, undefined);
4983
5482
  };
4984
5483
 
@@ -4987,34 +5486,34 @@ proto.promocode.BonusMaskRequest.prototype.clearMobileImageCdn = function() {
4987
5486
  * Returns whether this field is set.
4988
5487
  * @return {boolean}
4989
5488
  */
4990
- proto.promocode.BonusMaskRequest.prototype.hasMobileImageCdn = function() {
5489
+ proto.promocode.BonusMaskItemRequest.prototype.hasWagerMultiplier = function() {
4991
5490
  return jspb.Message.getField(this, 10) != null;
4992
5491
  };
4993
5492
 
4994
5493
 
4995
5494
  /**
4996
- * optional int32 payout_multiplier = 11;
4997
- * @return {number}
5495
+ * optional string deposit_percentage_value = 11;
5496
+ * @return {string}
4998
5497
  */
4999
- proto.promocode.BonusMaskRequest.prototype.getPayoutMultiplier = function() {
5000
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
5498
+ proto.promocode.BonusMaskItemRequest.prototype.getDepositPercentageValue = function() {
5499
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
5001
5500
  };
5002
5501
 
5003
5502
 
5004
5503
  /**
5005
- * @param {number} value
5006
- * @return {!proto.promocode.BonusMaskRequest} returns this
5504
+ * @param {string} value
5505
+ * @return {!proto.promocode.BonusMaskItemRequest} returns this
5007
5506
  */
5008
- proto.promocode.BonusMaskRequest.prototype.setPayoutMultiplier = function(value) {
5507
+ proto.promocode.BonusMaskItemRequest.prototype.setDepositPercentageValue = function(value) {
5009
5508
  return jspb.Message.setField(this, 11, value);
5010
5509
  };
5011
5510
 
5012
5511
 
5013
5512
  /**
5014
5513
  * Clears the field making it undefined.
5015
- * @return {!proto.promocode.BonusMaskRequest} returns this
5514
+ * @return {!proto.promocode.BonusMaskItemRequest} returns this
5016
5515
  */
5017
- proto.promocode.BonusMaskRequest.prototype.clearPayoutMultiplier = function() {
5516
+ proto.promocode.BonusMaskItemRequest.prototype.clearDepositPercentageValue = function() {
5018
5517
  return jspb.Message.setField(this, 11, undefined);
5019
5518
  };
5020
5519
 
@@ -5023,34 +5522,34 @@ proto.promocode.BonusMaskRequest.prototype.clearPayoutMultiplier = function() {
5023
5522
  * Returns whether this field is set.
5024
5523
  * @return {boolean}
5025
5524
  */
5026
- proto.promocode.BonusMaskRequest.prototype.hasPayoutMultiplier = function() {
5525
+ proto.promocode.BonusMaskItemRequest.prototype.hasDepositPercentageValue = function() {
5027
5526
  return jspb.Message.getField(this, 11) != null;
5028
5527
  };
5029
5528
 
5030
5529
 
5031
5530
  /**
5032
- * optional int32 wager_multiplier = 12;
5033
- * @return {number}
5531
+ * optional string deposit_percentage_max = 12;
5532
+ * @return {string}
5034
5533
  */
5035
- proto.promocode.BonusMaskRequest.prototype.getWagerMultiplier = function() {
5036
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
5534
+ proto.promocode.BonusMaskItemRequest.prototype.getDepositPercentageMax = function() {
5535
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
5037
5536
  };
5038
5537
 
5039
5538
 
5040
5539
  /**
5041
- * @param {number} value
5042
- * @return {!proto.promocode.BonusMaskRequest} returns this
5540
+ * @param {string} value
5541
+ * @return {!proto.promocode.BonusMaskItemRequest} returns this
5043
5542
  */
5044
- proto.promocode.BonusMaskRequest.prototype.setWagerMultiplier = function(value) {
5543
+ proto.promocode.BonusMaskItemRequest.prototype.setDepositPercentageMax = function(value) {
5045
5544
  return jspb.Message.setField(this, 12, value);
5046
5545
  };
5047
5546
 
5048
5547
 
5049
5548
  /**
5050
5549
  * Clears the field making it undefined.
5051
- * @return {!proto.promocode.BonusMaskRequest} returns this
5550
+ * @return {!proto.promocode.BonusMaskItemRequest} returns this
5052
5551
  */
5053
- proto.promocode.BonusMaskRequest.prototype.clearWagerMultiplier = function() {
5552
+ proto.promocode.BonusMaskItemRequest.prototype.clearDepositPercentageMax = function() {
5054
5553
  return jspb.Message.setField(this, 12, undefined);
5055
5554
  };
5056
5555
 
@@ -5059,34 +5558,34 @@ proto.promocode.BonusMaskRequest.prototype.clearWagerMultiplier = function() {
5059
5558
  * Returns whether this field is set.
5060
5559
  * @return {boolean}
5061
5560
  */
5062
- proto.promocode.BonusMaskRequest.prototype.hasWagerMultiplier = function() {
5561
+ proto.promocode.BonusMaskItemRequest.prototype.hasDepositPercentageMax = function() {
5063
5562
  return jspb.Message.getField(this, 12) != null;
5064
5563
  };
5065
5564
 
5066
5565
 
5067
5566
  /**
5068
- * optional string deposit_percentage_value = 13;
5069
- * @return {string}
5567
+ * optional int32 free_spins_game_id = 13;
5568
+ * @return {number}
5070
5569
  */
5071
- proto.promocode.BonusMaskRequest.prototype.getDepositPercentageValue = function() {
5072
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
5570
+ proto.promocode.BonusMaskItemRequest.prototype.getFreeSpinsGameId = function() {
5571
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
5073
5572
  };
5074
5573
 
5075
5574
 
5076
5575
  /**
5077
- * @param {string} value
5078
- * @return {!proto.promocode.BonusMaskRequest} returns this
5576
+ * @param {number} value
5577
+ * @return {!proto.promocode.BonusMaskItemRequest} returns this
5079
5578
  */
5080
- proto.promocode.BonusMaskRequest.prototype.setDepositPercentageValue = function(value) {
5579
+ proto.promocode.BonusMaskItemRequest.prototype.setFreeSpinsGameId = function(value) {
5081
5580
  return jspb.Message.setField(this, 13, value);
5082
5581
  };
5083
5582
 
5084
5583
 
5085
5584
  /**
5086
5585
  * Clears the field making it undefined.
5087
- * @return {!proto.promocode.BonusMaskRequest} returns this
5586
+ * @return {!proto.promocode.BonusMaskItemRequest} returns this
5088
5587
  */
5089
- proto.promocode.BonusMaskRequest.prototype.clearDepositPercentageValue = function() {
5588
+ proto.promocode.BonusMaskItemRequest.prototype.clearFreeSpinsGameId = function() {
5090
5589
  return jspb.Message.setField(this, 13, undefined);
5091
5590
  };
5092
5591
 
@@ -5095,34 +5594,34 @@ proto.promocode.BonusMaskRequest.prototype.clearDepositPercentageValue = functio
5095
5594
  * Returns whether this field is set.
5096
5595
  * @return {boolean}
5097
5596
  */
5098
- proto.promocode.BonusMaskRequest.prototype.hasDepositPercentageValue = function() {
5597
+ proto.promocode.BonusMaskItemRequest.prototype.hasFreeSpinsGameId = function() {
5099
5598
  return jspb.Message.getField(this, 13) != null;
5100
5599
  };
5101
5600
 
5102
5601
 
5103
5602
  /**
5104
- * optional string deposit_percentage_max = 14;
5603
+ * optional string free_spins_spin_amount = 14;
5105
5604
  * @return {string}
5106
5605
  */
5107
- proto.promocode.BonusMaskRequest.prototype.getDepositPercentageMax = function() {
5606
+ proto.promocode.BonusMaskItemRequest.prototype.getFreeSpinsSpinAmount = function() {
5108
5607
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
5109
5608
  };
5110
5609
 
5111
5610
 
5112
5611
  /**
5113
5612
  * @param {string} value
5114
- * @return {!proto.promocode.BonusMaskRequest} returns this
5613
+ * @return {!proto.promocode.BonusMaskItemRequest} returns this
5115
5614
  */
5116
- proto.promocode.BonusMaskRequest.prototype.setDepositPercentageMax = function(value) {
5615
+ proto.promocode.BonusMaskItemRequest.prototype.setFreeSpinsSpinAmount = function(value) {
5117
5616
  return jspb.Message.setField(this, 14, value);
5118
5617
  };
5119
5618
 
5120
5619
 
5121
5620
  /**
5122
5621
  * Clears the field making it undefined.
5123
- * @return {!proto.promocode.BonusMaskRequest} returns this
5622
+ * @return {!proto.promocode.BonusMaskItemRequest} returns this
5124
5623
  */
5125
- proto.promocode.BonusMaskRequest.prototype.clearDepositPercentageMax = function() {
5624
+ proto.promocode.BonusMaskItemRequest.prototype.clearFreeSpinsSpinAmount = function() {
5126
5625
  return jspb.Message.setField(this, 14, undefined);
5127
5626
  };
5128
5627
 
@@ -5131,34 +5630,34 @@ proto.promocode.BonusMaskRequest.prototype.clearDepositPercentageMax = function(
5131
5630
  * Returns whether this field is set.
5132
5631
  * @return {boolean}
5133
5632
  */
5134
- proto.promocode.BonusMaskRequest.prototype.hasDepositPercentageMax = function() {
5633
+ proto.promocode.BonusMaskItemRequest.prototype.hasFreeSpinsSpinAmount = function() {
5135
5634
  return jspb.Message.getField(this, 14) != null;
5136
5635
  };
5137
5636
 
5138
5637
 
5139
5638
  /**
5140
- * optional int32 free_spins_game_id = 15;
5639
+ * optional int32 free_spins_total_amount = 15;
5141
5640
  * @return {number}
5142
5641
  */
5143
- proto.promocode.BonusMaskRequest.prototype.getFreeSpinsGameId = function() {
5642
+ proto.promocode.BonusMaskItemRequest.prototype.getFreeSpinsTotalAmount = function() {
5144
5643
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0));
5145
5644
  };
5146
5645
 
5147
5646
 
5148
5647
  /**
5149
5648
  * @param {number} value
5150
- * @return {!proto.promocode.BonusMaskRequest} returns this
5649
+ * @return {!proto.promocode.BonusMaskItemRequest} returns this
5151
5650
  */
5152
- proto.promocode.BonusMaskRequest.prototype.setFreeSpinsGameId = function(value) {
5651
+ proto.promocode.BonusMaskItemRequest.prototype.setFreeSpinsTotalAmount = function(value) {
5153
5652
  return jspb.Message.setField(this, 15, value);
5154
5653
  };
5155
5654
 
5156
5655
 
5157
5656
  /**
5158
5657
  * Clears the field making it undefined.
5159
- * @return {!proto.promocode.BonusMaskRequest} returns this
5658
+ * @return {!proto.promocode.BonusMaskItemRequest} returns this
5160
5659
  */
5161
- proto.promocode.BonusMaskRequest.prototype.clearFreeSpinsGameId = function() {
5660
+ proto.promocode.BonusMaskItemRequest.prototype.clearFreeSpinsTotalAmount = function() {
5162
5661
  return jspb.Message.setField(this, 15, undefined);
5163
5662
  };
5164
5663
 
@@ -5167,34 +5666,34 @@ proto.promocode.BonusMaskRequest.prototype.clearFreeSpinsGameId = function() {
5167
5666
  * Returns whether this field is set.
5168
5667
  * @return {boolean}
5169
5668
  */
5170
- proto.promocode.BonusMaskRequest.prototype.hasFreeSpinsGameId = function() {
5669
+ proto.promocode.BonusMaskItemRequest.prototype.hasFreeSpinsTotalAmount = function() {
5171
5670
  return jspb.Message.getField(this, 15) != null;
5172
5671
  };
5173
5672
 
5174
5673
 
5175
5674
  /**
5176
- * optional string free_spins_spin_amount = 16;
5675
+ * optional string free_spins_max_win = 16;
5177
5676
  * @return {string}
5178
5677
  */
5179
- proto.promocode.BonusMaskRequest.prototype.getFreeSpinsSpinAmount = function() {
5678
+ proto.promocode.BonusMaskItemRequest.prototype.getFreeSpinsMaxWin = function() {
5180
5679
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
5181
5680
  };
5182
5681
 
5183
5682
 
5184
5683
  /**
5185
5684
  * @param {string} value
5186
- * @return {!proto.promocode.BonusMaskRequest} returns this
5685
+ * @return {!proto.promocode.BonusMaskItemRequest} returns this
5187
5686
  */
5188
- proto.promocode.BonusMaskRequest.prototype.setFreeSpinsSpinAmount = function(value) {
5687
+ proto.promocode.BonusMaskItemRequest.prototype.setFreeSpinsMaxWin = function(value) {
5189
5688
  return jspb.Message.setField(this, 16, value);
5190
5689
  };
5191
5690
 
5192
5691
 
5193
5692
  /**
5194
5693
  * Clears the field making it undefined.
5195
- * @return {!proto.promocode.BonusMaskRequest} returns this
5694
+ * @return {!proto.promocode.BonusMaskItemRequest} returns this
5196
5695
  */
5197
- proto.promocode.BonusMaskRequest.prototype.clearFreeSpinsSpinAmount = function() {
5696
+ proto.promocode.BonusMaskItemRequest.prototype.clearFreeSpinsMaxWin = function() {
5198
5697
  return jspb.Message.setField(this, 16, undefined);
5199
5698
  };
5200
5699
 
@@ -5203,83 +5702,11 @@ proto.promocode.BonusMaskRequest.prototype.clearFreeSpinsSpinAmount = function()
5203
5702
  * Returns whether this field is set.
5204
5703
  * @return {boolean}
5205
5704
  */
5206
- proto.promocode.BonusMaskRequest.prototype.hasFreeSpinsSpinAmount = function() {
5705
+ proto.promocode.BonusMaskItemRequest.prototype.hasFreeSpinsMaxWin = function() {
5207
5706
  return jspb.Message.getField(this, 16) != null;
5208
5707
  };
5209
5708
 
5210
5709
 
5211
- /**
5212
- * optional int32 free_spins_total_amount = 17;
5213
- * @return {number}
5214
- */
5215
- proto.promocode.BonusMaskRequest.prototype.getFreeSpinsTotalAmount = function() {
5216
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 17, 0));
5217
- };
5218
-
5219
-
5220
- /**
5221
- * @param {number} value
5222
- * @return {!proto.promocode.BonusMaskRequest} returns this
5223
- */
5224
- proto.promocode.BonusMaskRequest.prototype.setFreeSpinsTotalAmount = function(value) {
5225
- return jspb.Message.setField(this, 17, value);
5226
- };
5227
-
5228
-
5229
- /**
5230
- * Clears the field making it undefined.
5231
- * @return {!proto.promocode.BonusMaskRequest} returns this
5232
- */
5233
- proto.promocode.BonusMaskRequest.prototype.clearFreeSpinsTotalAmount = function() {
5234
- return jspb.Message.setField(this, 17, undefined);
5235
- };
5236
-
5237
-
5238
- /**
5239
- * Returns whether this field is set.
5240
- * @return {boolean}
5241
- */
5242
- proto.promocode.BonusMaskRequest.prototype.hasFreeSpinsTotalAmount = function() {
5243
- return jspb.Message.getField(this, 17) != null;
5244
- };
5245
-
5246
-
5247
- /**
5248
- * optional string free_spins_max_win = 18;
5249
- * @return {string}
5250
- */
5251
- proto.promocode.BonusMaskRequest.prototype.getFreeSpinsMaxWin = function() {
5252
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
5253
- };
5254
-
5255
-
5256
- /**
5257
- * @param {string} value
5258
- * @return {!proto.promocode.BonusMaskRequest} returns this
5259
- */
5260
- proto.promocode.BonusMaskRequest.prototype.setFreeSpinsMaxWin = function(value) {
5261
- return jspb.Message.setField(this, 18, value);
5262
- };
5263
-
5264
-
5265
- /**
5266
- * Clears the field making it undefined.
5267
- * @return {!proto.promocode.BonusMaskRequest} returns this
5268
- */
5269
- proto.promocode.BonusMaskRequest.prototype.clearFreeSpinsMaxWin = function() {
5270
- return jspb.Message.setField(this, 18, undefined);
5271
- };
5272
-
5273
-
5274
- /**
5275
- * Returns whether this field is set.
5276
- * @return {boolean}
5277
- */
5278
- proto.promocode.BonusMaskRequest.prototype.hasFreeSpinsMaxWin = function() {
5279
- return jspb.Message.getField(this, 18) != null;
5280
- };
5281
-
5282
-
5283
5710
 
5284
5711
 
5285
5712
 
@@ -5329,7 +5756,9 @@ proto.promocode.BonusMaskItem.toObject = function(includeInstance, msg) {
5329
5756
  freeSpinsGameId: jspb.Message.getFieldWithDefault(msg, 15, 0),
5330
5757
  freeSpinsSpinAmount: jspb.Message.getFieldWithDefault(msg, 16, ""),
5331
5758
  freeSpinsTotalAmount: jspb.Message.getFieldWithDefault(msg, 17, 0),
5332
- freeSpinsMaxWin: jspb.Message.getFieldWithDefault(msg, 18, "")
5759
+ freeSpinsMaxWin: jspb.Message.getFieldWithDefault(msg, 18, ""),
5760
+ image: jspb.Message.getFieldWithDefault(msg, 19, ""),
5761
+ mobileImage: jspb.Message.getFieldWithDefault(msg, 20, "")
5333
5762
  };
5334
5763
 
5335
5764
  if (includeInstance) {
@@ -5438,6 +5867,14 @@ proto.promocode.BonusMaskItem.deserializeBinaryFromReader = function(msg, reader
5438
5867
  var value = /** @type {string} */ (reader.readString());
5439
5868
  msg.setFreeSpinsMaxWin(value);
5440
5869
  break;
5870
+ case 19:
5871
+ var value = /** @type {string} */ (reader.readString());
5872
+ msg.setImage(value);
5873
+ break;
5874
+ case 20:
5875
+ var value = /** @type {string} */ (reader.readString());
5876
+ msg.setMobileImage(value);
5877
+ break;
5441
5878
  default:
5442
5879
  reader.skipField();
5443
5880
  break;
@@ -5593,6 +6030,20 @@ proto.promocode.BonusMaskItem.serializeBinaryToWriter = function(message, writer
5593
6030
  f
5594
6031
  );
5595
6032
  }
6033
+ f = /** @type {string} */ (jspb.Message.getField(message, 19));
6034
+ if (f != null) {
6035
+ writer.writeString(
6036
+ 19,
6037
+ f
6038
+ );
6039
+ }
6040
+ f = /** @type {string} */ (jspb.Message.getField(message, 20));
6041
+ if (f != null) {
6042
+ writer.writeString(
6043
+ 20,
6044
+ f
6045
+ );
6046
+ }
5596
6047
  };
5597
6048
 
5598
6049
 
@@ -6244,6 +6695,78 @@ proto.promocode.BonusMaskItem.prototype.hasFreeSpinsMaxWin = function() {
6244
6695
  };
6245
6696
 
6246
6697
 
6698
+ /**
6699
+ * optional string image = 19;
6700
+ * @return {string}
6701
+ */
6702
+ proto.promocode.BonusMaskItem.prototype.getImage = function() {
6703
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
6704
+ };
6705
+
6706
+
6707
+ /**
6708
+ * @param {string} value
6709
+ * @return {!proto.promocode.BonusMaskItem} returns this
6710
+ */
6711
+ proto.promocode.BonusMaskItem.prototype.setImage = function(value) {
6712
+ return jspb.Message.setField(this, 19, value);
6713
+ };
6714
+
6715
+
6716
+ /**
6717
+ * Clears the field making it undefined.
6718
+ * @return {!proto.promocode.BonusMaskItem} returns this
6719
+ */
6720
+ proto.promocode.BonusMaskItem.prototype.clearImage = function() {
6721
+ return jspb.Message.setField(this, 19, undefined);
6722
+ };
6723
+
6724
+
6725
+ /**
6726
+ * Returns whether this field is set.
6727
+ * @return {boolean}
6728
+ */
6729
+ proto.promocode.BonusMaskItem.prototype.hasImage = function() {
6730
+ return jspb.Message.getField(this, 19) != null;
6731
+ };
6732
+
6733
+
6734
+ /**
6735
+ * optional string mobile_image = 20;
6736
+ * @return {string}
6737
+ */
6738
+ proto.promocode.BonusMaskItem.prototype.getMobileImage = function() {
6739
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
6740
+ };
6741
+
6742
+
6743
+ /**
6744
+ * @param {string} value
6745
+ * @return {!proto.promocode.BonusMaskItem} returns this
6746
+ */
6747
+ proto.promocode.BonusMaskItem.prototype.setMobileImage = function(value) {
6748
+ return jspb.Message.setField(this, 20, value);
6749
+ };
6750
+
6751
+
6752
+ /**
6753
+ * Clears the field making it undefined.
6754
+ * @return {!proto.promocode.BonusMaskItem} returns this
6755
+ */
6756
+ proto.promocode.BonusMaskItem.prototype.clearMobileImage = function() {
6757
+ return jspb.Message.setField(this, 20, undefined);
6758
+ };
6759
+
6760
+
6761
+ /**
6762
+ * Returns whether this field is set.
6763
+ * @return {boolean}
6764
+ */
6765
+ proto.promocode.BonusMaskItem.prototype.hasMobileImage = function() {
6766
+ return jspb.Message.getField(this, 20) != null;
6767
+ };
6768
+
6769
+
6247
6770
 
6248
6771
 
6249
6772