protobuf-platform 1.1.78 → 1.1.79

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.1.78",
3
+ "version": "1.1.79",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/user/user.proto CHANGED
@@ -291,6 +291,7 @@ message SegmentPaymentRuleRequest {
291
291
  optional float deposit_avg_max = 12;
292
292
  repeated string payment_providers = 13;
293
293
  repeated string payment_types = 14;
294
+ optional int32 is_active = 15;
294
295
  }
295
296
  message SegmentBetRuleRequest {
296
297
  int32 segment_id = 1;
@@ -311,6 +312,7 @@ message SegmentBetRuleRequest {
311
312
  optional float win_sum_max = 16;
312
313
  optional float win_avg_min = 17;
313
314
  optional float win_avg_max = 18;
315
+ optional int32 is_active = 19;
314
316
  }
315
317
  message SegmentRuleItem {
316
318
  optional SegmentPaymentRuleItem payment_rule = 1;
@@ -331,6 +333,7 @@ message SegmentPaymentRuleItem {
331
333
  repeated string payment_types = 12;
332
334
  optional int32 segment_id = 13;
333
335
  optional string currency = 14;
336
+ optional int32 is_active = 15;
334
337
  }
335
338
  message SegmentBetRuleItem {
336
339
  optional int32 segment_id = 1;
@@ -351,6 +354,7 @@ message SegmentBetRuleItem {
351
354
  optional float win_sum_max = 16;
352
355
  optional float win_avg_min = 17;
353
356
  optional float win_avg_max = 18;
357
+ optional int32 is_active = 19;
354
358
  }
355
359
  //Statuses
356
360
  message RiskStatus {
package/user/user_pb.js CHANGED
@@ -11689,7 +11689,8 @@ proto.user.SegmentPaymentRuleRequest.toObject = function(includeInstance, msg) {
11689
11689
  depositAvgMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0),
11690
11690
  depositAvgMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 12, 0.0),
11691
11691
  paymentProvidersList: (f = jspb.Message.getRepeatedField(msg, 13)) == null ? undefined : f,
11692
- paymentTypesList: (f = jspb.Message.getRepeatedField(msg, 14)) == null ? undefined : f
11692
+ paymentTypesList: (f = jspb.Message.getRepeatedField(msg, 14)) == null ? undefined : f,
11693
+ isActive: jspb.Message.getFieldWithDefault(msg, 15, 0)
11693
11694
  };
11694
11695
 
11695
11696
  if (includeInstance) {
@@ -11782,6 +11783,10 @@ proto.user.SegmentPaymentRuleRequest.deserializeBinaryFromReader = function(msg,
11782
11783
  var value = /** @type {string} */ (reader.readString());
11783
11784
  msg.addPaymentTypes(value);
11784
11785
  break;
11786
+ case 15:
11787
+ var value = /** @type {number} */ (reader.readInt32());
11788
+ msg.setIsActive(value);
11789
+ break;
11785
11790
  default:
11786
11791
  reader.skipField();
11787
11792
  break;
@@ -11909,6 +11914,13 @@ proto.user.SegmentPaymentRuleRequest.serializeBinaryToWriter = function(message,
11909
11914
  f
11910
11915
  );
11911
11916
  }
11917
+ f = /** @type {number} */ (jspb.Message.getField(message, 15));
11918
+ if (f != null) {
11919
+ writer.writeInt32(
11920
+ 15,
11921
+ f
11922
+ );
11923
+ }
11912
11924
  };
11913
11925
 
11914
11926
 
@@ -12382,6 +12394,42 @@ proto.user.SegmentPaymentRuleRequest.prototype.clearPaymentTypesList = function(
12382
12394
  };
12383
12395
 
12384
12396
 
12397
+ /**
12398
+ * optional int32 is_active = 15;
12399
+ * @return {number}
12400
+ */
12401
+ proto.user.SegmentPaymentRuleRequest.prototype.getIsActive = function() {
12402
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0));
12403
+ };
12404
+
12405
+
12406
+ /**
12407
+ * @param {number} value
12408
+ * @return {!proto.user.SegmentPaymentRuleRequest} returns this
12409
+ */
12410
+ proto.user.SegmentPaymentRuleRequest.prototype.setIsActive = function(value) {
12411
+ return jspb.Message.setField(this, 15, value);
12412
+ };
12413
+
12414
+
12415
+ /**
12416
+ * Clears the field making it undefined.
12417
+ * @return {!proto.user.SegmentPaymentRuleRequest} returns this
12418
+ */
12419
+ proto.user.SegmentPaymentRuleRequest.prototype.clearIsActive = function() {
12420
+ return jspb.Message.setField(this, 15, undefined);
12421
+ };
12422
+
12423
+
12424
+ /**
12425
+ * Returns whether this field is set.
12426
+ * @return {boolean}
12427
+ */
12428
+ proto.user.SegmentPaymentRuleRequest.prototype.hasIsActive = function() {
12429
+ return jspb.Message.getField(this, 15) != null;
12430
+ };
12431
+
12432
+
12385
12433
 
12386
12434
 
12387
12435
 
@@ -12431,7 +12479,8 @@ proto.user.SegmentBetRuleRequest.toObject = function(includeInstance, msg) {
12431
12479
  winSumMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 15, 0.0),
12432
12480
  winSumMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 16, 0.0),
12433
12481
  winAvgMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 17, 0.0),
12434
- winAvgMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 18, 0.0)
12482
+ winAvgMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 18, 0.0),
12483
+ isActive: jspb.Message.getFieldWithDefault(msg, 19, 0)
12435
12484
  };
12436
12485
 
12437
12486
  if (includeInstance) {
@@ -12540,6 +12589,10 @@ proto.user.SegmentBetRuleRequest.deserializeBinaryFromReader = function(msg, rea
12540
12589
  var value = /** @type {number} */ (reader.readFloat());
12541
12590
  msg.setWinAvgMax(value);
12542
12591
  break;
12592
+ case 19:
12593
+ var value = /** @type {number} */ (reader.readInt32());
12594
+ msg.setIsActive(value);
12595
+ break;
12543
12596
  default:
12544
12597
  reader.skipField();
12545
12598
  break;
@@ -12695,6 +12748,13 @@ proto.user.SegmentBetRuleRequest.serializeBinaryToWriter = function(message, wri
12695
12748
  f
12696
12749
  );
12697
12750
  }
12751
+ f = /** @type {number} */ (jspb.Message.getField(message, 19));
12752
+ if (f != null) {
12753
+ writer.writeInt32(
12754
+ 19,
12755
+ f
12756
+ );
12757
+ }
12698
12758
  };
12699
12759
 
12700
12760
 
@@ -13310,6 +13370,42 @@ proto.user.SegmentBetRuleRequest.prototype.hasWinAvgMax = function() {
13310
13370
  };
13311
13371
 
13312
13372
 
13373
+ /**
13374
+ * optional int32 is_active = 19;
13375
+ * @return {number}
13376
+ */
13377
+ proto.user.SegmentBetRuleRequest.prototype.getIsActive = function() {
13378
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 19, 0));
13379
+ };
13380
+
13381
+
13382
+ /**
13383
+ * @param {number} value
13384
+ * @return {!proto.user.SegmentBetRuleRequest} returns this
13385
+ */
13386
+ proto.user.SegmentBetRuleRequest.prototype.setIsActive = function(value) {
13387
+ return jspb.Message.setField(this, 19, value);
13388
+ };
13389
+
13390
+
13391
+ /**
13392
+ * Clears the field making it undefined.
13393
+ * @return {!proto.user.SegmentBetRuleRequest} returns this
13394
+ */
13395
+ proto.user.SegmentBetRuleRequest.prototype.clearIsActive = function() {
13396
+ return jspb.Message.setField(this, 19, undefined);
13397
+ };
13398
+
13399
+
13400
+ /**
13401
+ * Returns whether this field is set.
13402
+ * @return {boolean}
13403
+ */
13404
+ proto.user.SegmentBetRuleRequest.prototype.hasIsActive = function() {
13405
+ return jspb.Message.getField(this, 19) != null;
13406
+ };
13407
+
13408
+
13313
13409
 
13314
13410
 
13315
13411
 
@@ -13564,7 +13660,8 @@ proto.user.SegmentPaymentRuleItem.toObject = function(includeInstance, msg) {
13564
13660
  paymentProvidersList: (f = jspb.Message.getRepeatedField(msg, 11)) == null ? undefined : f,
13565
13661
  paymentTypesList: (f = jspb.Message.getRepeatedField(msg, 12)) == null ? undefined : f,
13566
13662
  segmentId: jspb.Message.getFieldWithDefault(msg, 13, 0),
13567
- currency: jspb.Message.getFieldWithDefault(msg, 14, "")
13663
+ currency: jspb.Message.getFieldWithDefault(msg, 14, ""),
13664
+ isActive: jspb.Message.getFieldWithDefault(msg, 15, 0)
13568
13665
  };
13569
13666
 
13570
13667
  if (includeInstance) {
@@ -13657,6 +13754,10 @@ proto.user.SegmentPaymentRuleItem.deserializeBinaryFromReader = function(msg, re
13657
13754
  var value = /** @type {string} */ (reader.readString());
13658
13755
  msg.setCurrency(value);
13659
13756
  break;
13757
+ case 15:
13758
+ var value = /** @type {number} */ (reader.readInt32());
13759
+ msg.setIsActive(value);
13760
+ break;
13660
13761
  default:
13661
13762
  reader.skipField();
13662
13763
  break;
@@ -13784,6 +13885,13 @@ proto.user.SegmentPaymentRuleItem.serializeBinaryToWriter = function(message, wr
13784
13885
  f
13785
13886
  );
13786
13887
  }
13888
+ f = /** @type {number} */ (jspb.Message.getField(message, 15));
13889
+ if (f != null) {
13890
+ writer.writeInt32(
13891
+ 15,
13892
+ f
13893
+ );
13894
+ }
13787
13895
  };
13788
13896
 
13789
13897
 
@@ -14293,6 +14401,42 @@ proto.user.SegmentPaymentRuleItem.prototype.hasCurrency = function() {
14293
14401
  };
14294
14402
 
14295
14403
 
14404
+ /**
14405
+ * optional int32 is_active = 15;
14406
+ * @return {number}
14407
+ */
14408
+ proto.user.SegmentPaymentRuleItem.prototype.getIsActive = function() {
14409
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0));
14410
+ };
14411
+
14412
+
14413
+ /**
14414
+ * @param {number} value
14415
+ * @return {!proto.user.SegmentPaymentRuleItem} returns this
14416
+ */
14417
+ proto.user.SegmentPaymentRuleItem.prototype.setIsActive = function(value) {
14418
+ return jspb.Message.setField(this, 15, value);
14419
+ };
14420
+
14421
+
14422
+ /**
14423
+ * Clears the field making it undefined.
14424
+ * @return {!proto.user.SegmentPaymentRuleItem} returns this
14425
+ */
14426
+ proto.user.SegmentPaymentRuleItem.prototype.clearIsActive = function() {
14427
+ return jspb.Message.setField(this, 15, undefined);
14428
+ };
14429
+
14430
+
14431
+ /**
14432
+ * Returns whether this field is set.
14433
+ * @return {boolean}
14434
+ */
14435
+ proto.user.SegmentPaymentRuleItem.prototype.hasIsActive = function() {
14436
+ return jspb.Message.getField(this, 15) != null;
14437
+ };
14438
+
14439
+
14296
14440
 
14297
14441
 
14298
14442
 
@@ -14342,7 +14486,8 @@ proto.user.SegmentBetRuleItem.toObject = function(includeInstance, msg) {
14342
14486
  winSumMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 15, 0.0),
14343
14487
  winSumMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 16, 0.0),
14344
14488
  winAvgMin: jspb.Message.getFloatingPointFieldWithDefault(msg, 17, 0.0),
14345
- winAvgMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 18, 0.0)
14489
+ winAvgMax: jspb.Message.getFloatingPointFieldWithDefault(msg, 18, 0.0),
14490
+ isActive: jspb.Message.getFieldWithDefault(msg, 19, 0)
14346
14491
  };
14347
14492
 
14348
14493
  if (includeInstance) {
@@ -14451,6 +14596,10 @@ proto.user.SegmentBetRuleItem.deserializeBinaryFromReader = function(msg, reader
14451
14596
  var value = /** @type {number} */ (reader.readFloat());
14452
14597
  msg.setWinAvgMax(value);
14453
14598
  break;
14599
+ case 19:
14600
+ var value = /** @type {number} */ (reader.readInt32());
14601
+ msg.setIsActive(value);
14602
+ break;
14454
14603
  default:
14455
14604
  reader.skipField();
14456
14605
  break;
@@ -14606,6 +14755,13 @@ proto.user.SegmentBetRuleItem.serializeBinaryToWriter = function(message, writer
14606
14755
  f
14607
14756
  );
14608
14757
  }
14758
+ f = /** @type {number} */ (jspb.Message.getField(message, 19));
14759
+ if (f != null) {
14760
+ writer.writeInt32(
14761
+ 19,
14762
+ f
14763
+ );
14764
+ }
14609
14765
  };
14610
14766
 
14611
14767
 
@@ -15257,6 +15413,42 @@ proto.user.SegmentBetRuleItem.prototype.hasWinAvgMax = function() {
15257
15413
  };
15258
15414
 
15259
15415
 
15416
+ /**
15417
+ * optional int32 is_active = 19;
15418
+ * @return {number}
15419
+ */
15420
+ proto.user.SegmentBetRuleItem.prototype.getIsActive = function() {
15421
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 19, 0));
15422
+ };
15423
+
15424
+
15425
+ /**
15426
+ * @param {number} value
15427
+ * @return {!proto.user.SegmentBetRuleItem} returns this
15428
+ */
15429
+ proto.user.SegmentBetRuleItem.prototype.setIsActive = function(value) {
15430
+ return jspb.Message.setField(this, 19, value);
15431
+ };
15432
+
15433
+
15434
+ /**
15435
+ * Clears the field making it undefined.
15436
+ * @return {!proto.user.SegmentBetRuleItem} returns this
15437
+ */
15438
+ proto.user.SegmentBetRuleItem.prototype.clearIsActive = function() {
15439
+ return jspb.Message.setField(this, 19, undefined);
15440
+ };
15441
+
15442
+
15443
+ /**
15444
+ * Returns whether this field is set.
15445
+ * @return {boolean}
15446
+ */
15447
+ proto.user.SegmentBetRuleItem.prototype.hasIsActive = function() {
15448
+ return jspb.Message.getField(this, 19) != null;
15449
+ };
15450
+
15451
+
15260
15452
 
15261
15453
 
15262
15454