protobuf-platform 1.2.749 → 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.749",
3
+ "version": "1.2.750",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {