protobuf-platform 1.1.53 → 1.1.55

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.
@@ -33,6 +33,7 @@ message DashboardRequest {
33
33
  message DashboardResponse {
34
34
  optional int32 active_users_count = 1;
35
35
  optional int32 registrations_count = 2;
36
+ optional int32 login_count = 3;
36
37
  }
37
38
  //Global
38
39
  message GlobalCasinoItem {
@@ -1307,7 +1307,8 @@ proto.analytic.DashboardResponse.prototype.toObject = function(opt_includeInstan
1307
1307
  proto.analytic.DashboardResponse.toObject = function(includeInstance, msg) {
1308
1308
  var f, obj = {
1309
1309
  activeUsersCount: jspb.Message.getFieldWithDefault(msg, 1, 0),
1310
- registrationsCount: jspb.Message.getFieldWithDefault(msg, 2, 0)
1310
+ registrationsCount: jspb.Message.getFieldWithDefault(msg, 2, 0),
1311
+ loginCount: jspb.Message.getFieldWithDefault(msg, 3, 0)
1311
1312
  };
1312
1313
 
1313
1314
  if (includeInstance) {
@@ -1352,6 +1353,10 @@ proto.analytic.DashboardResponse.deserializeBinaryFromReader = function(msg, rea
1352
1353
  var value = /** @type {number} */ (reader.readInt32());
1353
1354
  msg.setRegistrationsCount(value);
1354
1355
  break;
1356
+ case 3:
1357
+ var value = /** @type {number} */ (reader.readInt32());
1358
+ msg.setLoginCount(value);
1359
+ break;
1355
1360
  default:
1356
1361
  reader.skipField();
1357
1362
  break;
@@ -1395,6 +1400,13 @@ proto.analytic.DashboardResponse.serializeBinaryToWriter = function(message, wri
1395
1400
  f
1396
1401
  );
1397
1402
  }
1403
+ f = /** @type {number} */ (jspb.Message.getField(message, 3));
1404
+ if (f != null) {
1405
+ writer.writeInt32(
1406
+ 3,
1407
+ f
1408
+ );
1409
+ }
1398
1410
  };
1399
1411
 
1400
1412
 
@@ -1470,6 +1482,42 @@ proto.analytic.DashboardResponse.prototype.hasRegistrationsCount = function() {
1470
1482
  };
1471
1483
 
1472
1484
 
1485
+ /**
1486
+ * optional int32 login_count = 3;
1487
+ * @return {number}
1488
+ */
1489
+ proto.analytic.DashboardResponse.prototype.getLoginCount = function() {
1490
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
1491
+ };
1492
+
1493
+
1494
+ /**
1495
+ * @param {number} value
1496
+ * @return {!proto.analytic.DashboardResponse} returns this
1497
+ */
1498
+ proto.analytic.DashboardResponse.prototype.setLoginCount = function(value) {
1499
+ return jspb.Message.setField(this, 3, value);
1500
+ };
1501
+
1502
+
1503
+ /**
1504
+ * Clears the field making it undefined.
1505
+ * @return {!proto.analytic.DashboardResponse} returns this
1506
+ */
1507
+ proto.analytic.DashboardResponse.prototype.clearLoginCount = function() {
1508
+ return jspb.Message.setField(this, 3, undefined);
1509
+ };
1510
+
1511
+
1512
+ /**
1513
+ * Returns whether this field is set.
1514
+ * @return {boolean}
1515
+ */
1516
+ proto.analytic.DashboardResponse.prototype.hasLoginCount = function() {
1517
+ return jspb.Message.getField(this, 3) != null;
1518
+ };
1519
+
1520
+
1473
1521
 
1474
1522
 
1475
1523
 
package/bonus/bonus.proto CHANGED
@@ -235,4 +235,5 @@ message DashboardRequest {
235
235
  message DashboardResponse {
236
236
  int32 free_spins_total = 1;
237
237
  int32 free_spins_played = 2;
238
+ float free_spins_played_sum = 3;
238
239
  }
package/bonus/bonus_pb.js CHANGED
@@ -10382,7 +10382,8 @@ proto.bonus.DashboardResponse.prototype.toObject = function(opt_includeInstance)
10382
10382
  proto.bonus.DashboardResponse.toObject = function(includeInstance, msg) {
10383
10383
  var f, obj = {
10384
10384
  freeSpinsTotal: jspb.Message.getFieldWithDefault(msg, 1, 0),
10385
- freeSpinsPlayed: jspb.Message.getFieldWithDefault(msg, 2, 0)
10385
+ freeSpinsPlayed: jspb.Message.getFieldWithDefault(msg, 2, 0),
10386
+ freeSpinsPlayedSum: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0)
10386
10387
  };
10387
10388
 
10388
10389
  if (includeInstance) {
@@ -10427,6 +10428,10 @@ proto.bonus.DashboardResponse.deserializeBinaryFromReader = function(msg, reader
10427
10428
  var value = /** @type {number} */ (reader.readInt32());
10428
10429
  msg.setFreeSpinsPlayed(value);
10429
10430
  break;
10431
+ case 3:
10432
+ var value = /** @type {number} */ (reader.readFloat());
10433
+ msg.setFreeSpinsPlayedSum(value);
10434
+ break;
10430
10435
  default:
10431
10436
  reader.skipField();
10432
10437
  break;
@@ -10470,6 +10475,13 @@ proto.bonus.DashboardResponse.serializeBinaryToWriter = function(message, writer
10470
10475
  f
10471
10476
  );
10472
10477
  }
10478
+ f = message.getFreeSpinsPlayedSum();
10479
+ if (f !== 0.0) {
10480
+ writer.writeFloat(
10481
+ 3,
10482
+ f
10483
+ );
10484
+ }
10473
10485
  };
10474
10486
 
10475
10487
 
@@ -10509,4 +10521,22 @@ proto.bonus.DashboardResponse.prototype.setFreeSpinsPlayed = function(value) {
10509
10521
  };
10510
10522
 
10511
10523
 
10524
+ /**
10525
+ * optional float free_spins_played_sum = 3;
10526
+ * @return {number}
10527
+ */
10528
+ proto.bonus.DashboardResponse.prototype.getFreeSpinsPlayedSum = function() {
10529
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
10530
+ };
10531
+
10532
+
10533
+ /**
10534
+ * @param {number} value
10535
+ * @return {!proto.bonus.DashboardResponse} returns this
10536
+ */
10537
+ proto.bonus.DashboardResponse.prototype.setFreeSpinsPlayedSum = function(value) {
10538
+ return jspb.Message.setProto3FloatField(this, 3, value);
10539
+ };
10540
+
10541
+
10512
10542
  goog.object.extend(exports, proto.bonus);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.1.53",
3
+ "version": "1.1.55",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {