protobuf-platform 1.2.748 → 1.2.750

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.
@@ -95,6 +95,10 @@ message DashboardResponse {
95
95
 
96
96
  optional double arppu = 31;
97
97
  optional int32 paying_users_count = 32;
98
+ // Casino campaign awards only; excluded from ordinary turnover/GGR.
99
+ // Decimal strings preserve the hourly accounting precision for BO readers.
100
+ optional string casino_win_fs_usd = 33;
101
+ optional string casino_bet_fs_usd = 34;
98
102
  }
99
103
 
100
104
  message MainDashboardResponse {
@@ -356,4 +360,4 @@ message GetUserCasinoRealGgrResponse {
356
360
  int32 user_id = 1;
357
361
  string currency = 2; // Brand base currency of the stored aggregate.
358
362
  string real_ggr = 3; // Signed major-unit decimal string.
359
- }
363
+ }
@@ -1759,7 +1759,9 @@ proto.analytic.DashboardResponse.toObject = function(includeInstance, msg) {
1759
1759
  avgWinReal: jspb.Message.getFloatingPointFieldWithDefault(msg, 29, 0.0),
1760
1760
  avgWinBonus: jspb.Message.getFloatingPointFieldWithDefault(msg, 30, 0.0),
1761
1761
  arppu: jspb.Message.getFloatingPointFieldWithDefault(msg, 31, 0.0),
1762
- payingUsersCount: jspb.Message.getFieldWithDefault(msg, 32, 0)
1762
+ payingUsersCount: jspb.Message.getFieldWithDefault(msg, 32, 0),
1763
+ casinoWinFsUsd: jspb.Message.getFieldWithDefault(msg, 33, ""),
1764
+ casinoBetFsUsd: jspb.Message.getFieldWithDefault(msg, 34, "")
1763
1765
  };
1764
1766
 
1765
1767
  if (includeInstance) {
@@ -1924,6 +1926,14 @@ proto.analytic.DashboardResponse.deserializeBinaryFromReader = function(msg, rea
1924
1926
  var value = /** @type {number} */ (reader.readInt32());
1925
1927
  msg.setPayingUsersCount(value);
1926
1928
  break;
1929
+ case 33:
1930
+ var value = /** @type {string} */ (reader.readString());
1931
+ msg.setCasinoWinFsUsd(value);
1932
+ break;
1933
+ case 34:
1934
+ var value = /** @type {string} */ (reader.readString());
1935
+ msg.setCasinoBetFsUsd(value);
1936
+ break;
1927
1937
  default:
1928
1938
  reader.skipField();
1929
1939
  break;
@@ -2177,6 +2187,20 @@ proto.analytic.DashboardResponse.serializeBinaryToWriter = function(message, wri
2177
2187
  f
2178
2188
  );
2179
2189
  }
2190
+ f = /** @type {string} */ (jspb.Message.getField(message, 33));
2191
+ if (f != null) {
2192
+ writer.writeString(
2193
+ 33,
2194
+ f
2195
+ );
2196
+ }
2197
+ f = /** @type {string} */ (jspb.Message.getField(message, 34));
2198
+ if (f != null) {
2199
+ writer.writeString(
2200
+ 34,
2201
+ f
2202
+ );
2203
+ }
2180
2204
  };
2181
2205
 
2182
2206
 
@@ -3332,6 +3356,78 @@ proto.analytic.DashboardResponse.prototype.hasPayingUsersCount = function() {
3332
3356
  };
3333
3357
 
3334
3358
 
3359
+ /**
3360
+ * optional string casino_win_fs_usd = 33;
3361
+ * @return {string}
3362
+ */
3363
+ proto.analytic.DashboardResponse.prototype.getCasinoWinFsUsd = function() {
3364
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 33, ""));
3365
+ };
3366
+
3367
+
3368
+ /**
3369
+ * @param {string} value
3370
+ * @return {!proto.analytic.DashboardResponse} returns this
3371
+ */
3372
+ proto.analytic.DashboardResponse.prototype.setCasinoWinFsUsd = function(value) {
3373
+ return jspb.Message.setField(this, 33, value);
3374
+ };
3375
+
3376
+
3377
+ /**
3378
+ * Clears the field making it undefined.
3379
+ * @return {!proto.analytic.DashboardResponse} returns this
3380
+ */
3381
+ proto.analytic.DashboardResponse.prototype.clearCasinoWinFsUsd = function() {
3382
+ return jspb.Message.setField(this, 33, undefined);
3383
+ };
3384
+
3385
+
3386
+ /**
3387
+ * Returns whether this field is set.
3388
+ * @return {boolean}
3389
+ */
3390
+ proto.analytic.DashboardResponse.prototype.hasCasinoWinFsUsd = function() {
3391
+ return jspb.Message.getField(this, 33) != null;
3392
+ };
3393
+
3394
+
3395
+ /**
3396
+ * optional string casino_bet_fs_usd = 34;
3397
+ * @return {string}
3398
+ */
3399
+ proto.analytic.DashboardResponse.prototype.getCasinoBetFsUsd = function() {
3400
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 34, ""));
3401
+ };
3402
+
3403
+
3404
+ /**
3405
+ * @param {string} value
3406
+ * @return {!proto.analytic.DashboardResponse} returns this
3407
+ */
3408
+ proto.analytic.DashboardResponse.prototype.setCasinoBetFsUsd = function(value) {
3409
+ return jspb.Message.setField(this, 34, value);
3410
+ };
3411
+
3412
+
3413
+ /**
3414
+ * Clears the field making it undefined.
3415
+ * @return {!proto.analytic.DashboardResponse} returns this
3416
+ */
3417
+ proto.analytic.DashboardResponse.prototype.clearCasinoBetFsUsd = function() {
3418
+ return jspb.Message.setField(this, 34, undefined);
3419
+ };
3420
+
3421
+
3422
+ /**
3423
+ * Returns whether this field is set.
3424
+ * @return {boolean}
3425
+ */
3426
+ proto.analytic.DashboardResponse.prototype.hasCasinoBetFsUsd = function() {
3427
+ return jspb.Message.getField(this, 34) != null;
3428
+ };
3429
+
3430
+
3335
3431
 
3336
3432
 
3337
3433
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.748",
3
+ "version": "1.2.750",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -1472,6 +1472,7 @@ message AdjustmentItemsResponse {
1472
1472
  optional int32 total_items = 3;
1473
1473
  }
1474
1474
  // confiscation_type values: fund_confiscation, other_debit, balance_transfer_debit
1475
+ // balance_source values: real, bonus. Missing or empty means real.
1475
1476
  message ConfiscationRequest {
1476
1477
  int32 user_id = 1;
1477
1478
  int64 amount_minor = 2;
@@ -1482,6 +1483,7 @@ message ConfiscationRequest {
1482
1483
  string internal_comment = 7;
1483
1484
  string amount = 8;
1484
1485
  string confiscation_type = 9;
1486
+ optional string balance_source = 10;
1485
1487
  }
1486
1488
  message ConfiscationSearchRequest {
1487
1489
  optional int32 operation_id = 1;
@@ -1515,6 +1517,8 @@ message ConfiscationItem {
1515
1517
  optional string player_email = 15;
1516
1518
  optional string operator_name = 16;
1517
1519
  optional string operator_email = 17;
1520
+ // real or bonus. Missing or empty means real.
1521
+ optional string balance_source = 18;
1518
1522
  }
1519
1523
  message ConfiscationItemsResponse {
1520
1524
  repeated ConfiscationItem items = 1;
@@ -60261,7 +60261,8 @@ proto.payment.ConfiscationRequest.toObject = function(includeInstance, msg) {
60261
60261
  transactionCode: jspb.Message.getFieldWithDefault(msg, 6, ""),
60262
60262
  internalComment: jspb.Message.getFieldWithDefault(msg, 7, ""),
60263
60263
  amount: jspb.Message.getFieldWithDefault(msg, 8, ""),
60264
- confiscationType: jspb.Message.getFieldWithDefault(msg, 9, "")
60264
+ confiscationType: jspb.Message.getFieldWithDefault(msg, 9, ""),
60265
+ balanceSource: jspb.Message.getFieldWithDefault(msg, 10, "")
60265
60266
  };
60266
60267
 
60267
60268
  if (includeInstance) {
@@ -60334,6 +60335,10 @@ proto.payment.ConfiscationRequest.deserializeBinaryFromReader = function(msg, re
60334
60335
  var value = /** @type {string} */ (reader.readString());
60335
60336
  msg.setConfiscationType(value);
60336
60337
  break;
60338
+ case 10:
60339
+ var value = /** @type {string} */ (reader.readString());
60340
+ msg.setBalanceSource(value);
60341
+ break;
60337
60342
  default:
60338
60343
  reader.skipField();
60339
60344
  break;
@@ -60426,6 +60431,13 @@ proto.payment.ConfiscationRequest.serializeBinaryToWriter = function(message, wr
60426
60431
  f
60427
60432
  );
60428
60433
  }
60434
+ f = /** @type {string} */ (jspb.Message.getField(message, 10));
60435
+ if (f != null) {
60436
+ writer.writeString(
60437
+ 10,
60438
+ f
60439
+ );
60440
+ }
60429
60441
  };
60430
60442
 
60431
60443
 
@@ -60591,6 +60603,42 @@ proto.payment.ConfiscationRequest.prototype.setConfiscationType = function(value
60591
60603
  };
60592
60604
 
60593
60605
 
60606
+ /**
60607
+ * optional string balance_source = 10;
60608
+ * @return {string}
60609
+ */
60610
+ proto.payment.ConfiscationRequest.prototype.getBalanceSource = function() {
60611
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
60612
+ };
60613
+
60614
+
60615
+ /**
60616
+ * @param {string} value
60617
+ * @return {!proto.payment.ConfiscationRequest} returns this
60618
+ */
60619
+ proto.payment.ConfiscationRequest.prototype.setBalanceSource = function(value) {
60620
+ return jspb.Message.setField(this, 10, value);
60621
+ };
60622
+
60623
+
60624
+ /**
60625
+ * Clears the field making it undefined.
60626
+ * @return {!proto.payment.ConfiscationRequest} returns this
60627
+ */
60628
+ proto.payment.ConfiscationRequest.prototype.clearBalanceSource = function() {
60629
+ return jspb.Message.setField(this, 10, undefined);
60630
+ };
60631
+
60632
+
60633
+ /**
60634
+ * Returns whether this field is set.
60635
+ * @return {boolean}
60636
+ */
60637
+ proto.payment.ConfiscationRequest.prototype.hasBalanceSource = function() {
60638
+ return jspb.Message.getField(this, 10) != null;
60639
+ };
60640
+
60641
+
60594
60642
 
60595
60643
  /**
60596
60644
  * List of repeated fields within this message type.
@@ -61331,7 +61379,8 @@ proto.payment.ConfiscationItem.toObject = function(includeInstance, msg) {
61331
61379
  playerNickname: jspb.Message.getFieldWithDefault(msg, 14, ""),
61332
61380
  playerEmail: jspb.Message.getFieldWithDefault(msg, 15, ""),
61333
61381
  operatorName: jspb.Message.getFieldWithDefault(msg, 16, ""),
61334
- operatorEmail: jspb.Message.getFieldWithDefault(msg, 17, "")
61382
+ operatorEmail: jspb.Message.getFieldWithDefault(msg, 17, ""),
61383
+ balanceSource: jspb.Message.getFieldWithDefault(msg, 18, "")
61335
61384
  };
61336
61385
 
61337
61386
  if (includeInstance) {
@@ -61436,6 +61485,10 @@ proto.payment.ConfiscationItem.deserializeBinaryFromReader = function(msg, reade
61436
61485
  var value = /** @type {string} */ (reader.readString());
61437
61486
  msg.setOperatorEmail(value);
61438
61487
  break;
61488
+ case 18:
61489
+ var value = /** @type {string} */ (reader.readString());
61490
+ msg.setBalanceSource(value);
61491
+ break;
61439
61492
  default:
61440
61493
  reader.skipField();
61441
61494
  break;
@@ -61584,6 +61637,13 @@ proto.payment.ConfiscationItem.serializeBinaryToWriter = function(message, write
61584
61637
  f
61585
61638
  );
61586
61639
  }
61640
+ f = /** @type {string} */ (jspb.Message.getField(message, 18));
61641
+ if (f != null) {
61642
+ writer.writeString(
61643
+ 18,
61644
+ f
61645
+ );
61646
+ }
61587
61647
  };
61588
61648
 
61589
61649
 
@@ -61983,6 +62043,42 @@ proto.payment.ConfiscationItem.prototype.hasOperatorEmail = function() {
61983
62043
  };
61984
62044
 
61985
62045
 
62046
+ /**
62047
+ * optional string balance_source = 18;
62048
+ * @return {string}
62049
+ */
62050
+ proto.payment.ConfiscationItem.prototype.getBalanceSource = function() {
62051
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
62052
+ };
62053
+
62054
+
62055
+ /**
62056
+ * @param {string} value
62057
+ * @return {!proto.payment.ConfiscationItem} returns this
62058
+ */
62059
+ proto.payment.ConfiscationItem.prototype.setBalanceSource = function(value) {
62060
+ return jspb.Message.setField(this, 18, value);
62061
+ };
62062
+
62063
+
62064
+ /**
62065
+ * Clears the field making it undefined.
62066
+ * @return {!proto.payment.ConfiscationItem} returns this
62067
+ */
62068
+ proto.payment.ConfiscationItem.prototype.clearBalanceSource = function() {
62069
+ return jspb.Message.setField(this, 18, undefined);
62070
+ };
62071
+
62072
+
62073
+ /**
62074
+ * Returns whether this field is set.
62075
+ * @return {boolean}
62076
+ */
62077
+ proto.payment.ConfiscationItem.prototype.hasBalanceSource = function() {
62078
+ return jspb.Message.getField(this, 18) != null;
62079
+ };
62080
+
62081
+
61986
62082
 
61987
62083
  /**
61988
62084
  * List of repeated fields within this message type.