protobuf-platform 1.2.749 → 1.2.751

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,13 @@ 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;
102
+ // Exact Casino-only totals; legacy combined float fields remain unchanged.
103
+ optional string casino_ggr_usd = 35;
104
+ optional string casino_turnover_usd = 36;
98
105
  }
99
106
 
100
107
  message MainDashboardResponse {
@@ -356,4 +363,4 @@ message GetUserCasinoRealGgrResponse {
356
363
  int32 user_id = 1;
357
364
  string currency = 2; // Brand base currency of the stored aggregate.
358
365
  string real_ggr = 3; // Signed major-unit decimal string.
359
- }
366
+ }
@@ -1759,7 +1759,11 @@ 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, ""),
1765
+ casinoGgrUsd: jspb.Message.getFieldWithDefault(msg, 35, ""),
1766
+ casinoTurnoverUsd: jspb.Message.getFieldWithDefault(msg, 36, "")
1763
1767
  };
1764
1768
 
1765
1769
  if (includeInstance) {
@@ -1924,6 +1928,22 @@ proto.analytic.DashboardResponse.deserializeBinaryFromReader = function(msg, rea
1924
1928
  var value = /** @type {number} */ (reader.readInt32());
1925
1929
  msg.setPayingUsersCount(value);
1926
1930
  break;
1931
+ case 33:
1932
+ var value = /** @type {string} */ (reader.readString());
1933
+ msg.setCasinoWinFsUsd(value);
1934
+ break;
1935
+ case 34:
1936
+ var value = /** @type {string} */ (reader.readString());
1937
+ msg.setCasinoBetFsUsd(value);
1938
+ break;
1939
+ case 35:
1940
+ var value = /** @type {string} */ (reader.readString());
1941
+ msg.setCasinoGgrUsd(value);
1942
+ break;
1943
+ case 36:
1944
+ var value = /** @type {string} */ (reader.readString());
1945
+ msg.setCasinoTurnoverUsd(value);
1946
+ break;
1927
1947
  default:
1928
1948
  reader.skipField();
1929
1949
  break;
@@ -2177,6 +2197,34 @@ proto.analytic.DashboardResponse.serializeBinaryToWriter = function(message, wri
2177
2197
  f
2178
2198
  );
2179
2199
  }
2200
+ f = /** @type {string} */ (jspb.Message.getField(message, 33));
2201
+ if (f != null) {
2202
+ writer.writeString(
2203
+ 33,
2204
+ f
2205
+ );
2206
+ }
2207
+ f = /** @type {string} */ (jspb.Message.getField(message, 34));
2208
+ if (f != null) {
2209
+ writer.writeString(
2210
+ 34,
2211
+ f
2212
+ );
2213
+ }
2214
+ f = /** @type {string} */ (jspb.Message.getField(message, 35));
2215
+ if (f != null) {
2216
+ writer.writeString(
2217
+ 35,
2218
+ f
2219
+ );
2220
+ }
2221
+ f = /** @type {string} */ (jspb.Message.getField(message, 36));
2222
+ if (f != null) {
2223
+ writer.writeString(
2224
+ 36,
2225
+ f
2226
+ );
2227
+ }
2180
2228
  };
2181
2229
 
2182
2230
 
@@ -3332,6 +3380,150 @@ proto.analytic.DashboardResponse.prototype.hasPayingUsersCount = function() {
3332
3380
  };
3333
3381
 
3334
3382
 
3383
+ /**
3384
+ * optional string casino_win_fs_usd = 33;
3385
+ * @return {string}
3386
+ */
3387
+ proto.analytic.DashboardResponse.prototype.getCasinoWinFsUsd = function() {
3388
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 33, ""));
3389
+ };
3390
+
3391
+
3392
+ /**
3393
+ * @param {string} value
3394
+ * @return {!proto.analytic.DashboardResponse} returns this
3395
+ */
3396
+ proto.analytic.DashboardResponse.prototype.setCasinoWinFsUsd = function(value) {
3397
+ return jspb.Message.setField(this, 33, value);
3398
+ };
3399
+
3400
+
3401
+ /**
3402
+ * Clears the field making it undefined.
3403
+ * @return {!proto.analytic.DashboardResponse} returns this
3404
+ */
3405
+ proto.analytic.DashboardResponse.prototype.clearCasinoWinFsUsd = function() {
3406
+ return jspb.Message.setField(this, 33, undefined);
3407
+ };
3408
+
3409
+
3410
+ /**
3411
+ * Returns whether this field is set.
3412
+ * @return {boolean}
3413
+ */
3414
+ proto.analytic.DashboardResponse.prototype.hasCasinoWinFsUsd = function() {
3415
+ return jspb.Message.getField(this, 33) != null;
3416
+ };
3417
+
3418
+
3419
+ /**
3420
+ * optional string casino_bet_fs_usd = 34;
3421
+ * @return {string}
3422
+ */
3423
+ proto.analytic.DashboardResponse.prototype.getCasinoBetFsUsd = function() {
3424
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 34, ""));
3425
+ };
3426
+
3427
+
3428
+ /**
3429
+ * @param {string} value
3430
+ * @return {!proto.analytic.DashboardResponse} returns this
3431
+ */
3432
+ proto.analytic.DashboardResponse.prototype.setCasinoBetFsUsd = function(value) {
3433
+ return jspb.Message.setField(this, 34, value);
3434
+ };
3435
+
3436
+
3437
+ /**
3438
+ * Clears the field making it undefined.
3439
+ * @return {!proto.analytic.DashboardResponse} returns this
3440
+ */
3441
+ proto.analytic.DashboardResponse.prototype.clearCasinoBetFsUsd = function() {
3442
+ return jspb.Message.setField(this, 34, undefined);
3443
+ };
3444
+
3445
+
3446
+ /**
3447
+ * Returns whether this field is set.
3448
+ * @return {boolean}
3449
+ */
3450
+ proto.analytic.DashboardResponse.prototype.hasCasinoBetFsUsd = function() {
3451
+ return jspb.Message.getField(this, 34) != null;
3452
+ };
3453
+
3454
+
3455
+ /**
3456
+ * optional string casino_ggr_usd = 35;
3457
+ * @return {string}
3458
+ */
3459
+ proto.analytic.DashboardResponse.prototype.getCasinoGgrUsd = function() {
3460
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 35, ""));
3461
+ };
3462
+
3463
+
3464
+ /**
3465
+ * @param {string} value
3466
+ * @return {!proto.analytic.DashboardResponse} returns this
3467
+ */
3468
+ proto.analytic.DashboardResponse.prototype.setCasinoGgrUsd = function(value) {
3469
+ return jspb.Message.setField(this, 35, value);
3470
+ };
3471
+
3472
+
3473
+ /**
3474
+ * Clears the field making it undefined.
3475
+ * @return {!proto.analytic.DashboardResponse} returns this
3476
+ */
3477
+ proto.analytic.DashboardResponse.prototype.clearCasinoGgrUsd = function() {
3478
+ return jspb.Message.setField(this, 35, undefined);
3479
+ };
3480
+
3481
+
3482
+ /**
3483
+ * Returns whether this field is set.
3484
+ * @return {boolean}
3485
+ */
3486
+ proto.analytic.DashboardResponse.prototype.hasCasinoGgrUsd = function() {
3487
+ return jspb.Message.getField(this, 35) != null;
3488
+ };
3489
+
3490
+
3491
+ /**
3492
+ * optional string casino_turnover_usd = 36;
3493
+ * @return {string}
3494
+ */
3495
+ proto.analytic.DashboardResponse.prototype.getCasinoTurnoverUsd = function() {
3496
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 36, ""));
3497
+ };
3498
+
3499
+
3500
+ /**
3501
+ * @param {string} value
3502
+ * @return {!proto.analytic.DashboardResponse} returns this
3503
+ */
3504
+ proto.analytic.DashboardResponse.prototype.setCasinoTurnoverUsd = function(value) {
3505
+ return jspb.Message.setField(this, 36, value);
3506
+ };
3507
+
3508
+
3509
+ /**
3510
+ * Clears the field making it undefined.
3511
+ * @return {!proto.analytic.DashboardResponse} returns this
3512
+ */
3513
+ proto.analytic.DashboardResponse.prototype.clearCasinoTurnoverUsd = function() {
3514
+ return jspb.Message.setField(this, 36, undefined);
3515
+ };
3516
+
3517
+
3518
+ /**
3519
+ * Returns whether this field is set.
3520
+ * @return {boolean}
3521
+ */
3522
+ proto.analytic.DashboardResponse.prototype.hasCasinoTurnoverUsd = function() {
3523
+ return jspb.Message.getField(this, 36) != null;
3524
+ };
3525
+
3526
+
3335
3527
 
3336
3528
 
3337
3529
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.749",
3
+ "version": "1.2.751",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {