protobuf-platform 1.2.673 → 1.2.674

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.
@@ -92,6 +92,9 @@ message DashboardResponse {
92
92
  optional float avg_win_total = 28;
93
93
  optional float avg_win_real = 29;
94
94
  optional float avg_win_bonus = 30;
95
+
96
+ optional double arppu = 31;
97
+ optional int32 paying_users_count = 32;
95
98
  }
96
99
 
97
100
  message MainDashboardResponse {
@@ -1757,7 +1757,9 @@ proto.analytic.DashboardResponse.toObject = function(includeInstance, msg) {
1757
1757
  avgBetBonus: jspb.Message.getFloatingPointFieldWithDefault(msg, 27, 0.0),
1758
1758
  avgWinTotal: jspb.Message.getFloatingPointFieldWithDefault(msg, 28, 0.0),
1759
1759
  avgWinReal: jspb.Message.getFloatingPointFieldWithDefault(msg, 29, 0.0),
1760
- avgWinBonus: jspb.Message.getFloatingPointFieldWithDefault(msg, 30, 0.0)
1760
+ avgWinBonus: jspb.Message.getFloatingPointFieldWithDefault(msg, 30, 0.0),
1761
+ arppu: jspb.Message.getFloatingPointFieldWithDefault(msg, 31, 0.0),
1762
+ payingUsersCount: jspb.Message.getFieldWithDefault(msg, 32, 0)
1761
1763
  };
1762
1764
 
1763
1765
  if (includeInstance) {
@@ -1914,6 +1916,14 @@ proto.analytic.DashboardResponse.deserializeBinaryFromReader = function(msg, rea
1914
1916
  var value = /** @type {number} */ (reader.readFloat());
1915
1917
  msg.setAvgWinBonus(value);
1916
1918
  break;
1919
+ case 31:
1920
+ var value = /** @type {number} */ (reader.readDouble());
1921
+ msg.setArppu(value);
1922
+ break;
1923
+ case 32:
1924
+ var value = /** @type {number} */ (reader.readInt32());
1925
+ msg.setPayingUsersCount(value);
1926
+ break;
1917
1927
  default:
1918
1928
  reader.skipField();
1919
1929
  break;
@@ -2153,6 +2163,20 @@ proto.analytic.DashboardResponse.serializeBinaryToWriter = function(message, wri
2153
2163
  f
2154
2164
  );
2155
2165
  }
2166
+ f = /** @type {number} */ (jspb.Message.getField(message, 31));
2167
+ if (f != null) {
2168
+ writer.writeDouble(
2169
+ 31,
2170
+ f
2171
+ );
2172
+ }
2173
+ f = /** @type {number} */ (jspb.Message.getField(message, 32));
2174
+ if (f != null) {
2175
+ writer.writeInt32(
2176
+ 32,
2177
+ f
2178
+ );
2179
+ }
2156
2180
  };
2157
2181
 
2158
2182
 
@@ -3236,6 +3260,78 @@ proto.analytic.DashboardResponse.prototype.hasAvgWinBonus = function() {
3236
3260
  };
3237
3261
 
3238
3262
 
3263
+ /**
3264
+ * optional double arppu = 31;
3265
+ * @return {number}
3266
+ */
3267
+ proto.analytic.DashboardResponse.prototype.getArppu = function() {
3268
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 31, 0.0));
3269
+ };
3270
+
3271
+
3272
+ /**
3273
+ * @param {number} value
3274
+ * @return {!proto.analytic.DashboardResponse} returns this
3275
+ */
3276
+ proto.analytic.DashboardResponse.prototype.setArppu = function(value) {
3277
+ return jspb.Message.setField(this, 31, value);
3278
+ };
3279
+
3280
+
3281
+ /**
3282
+ * Clears the field making it undefined.
3283
+ * @return {!proto.analytic.DashboardResponse} returns this
3284
+ */
3285
+ proto.analytic.DashboardResponse.prototype.clearArppu = function() {
3286
+ return jspb.Message.setField(this, 31, undefined);
3287
+ };
3288
+
3289
+
3290
+ /**
3291
+ * Returns whether this field is set.
3292
+ * @return {boolean}
3293
+ */
3294
+ proto.analytic.DashboardResponse.prototype.hasArppu = function() {
3295
+ return jspb.Message.getField(this, 31) != null;
3296
+ };
3297
+
3298
+
3299
+ /**
3300
+ * optional int32 paying_users_count = 32;
3301
+ * @return {number}
3302
+ */
3303
+ proto.analytic.DashboardResponse.prototype.getPayingUsersCount = function() {
3304
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 32, 0));
3305
+ };
3306
+
3307
+
3308
+ /**
3309
+ * @param {number} value
3310
+ * @return {!proto.analytic.DashboardResponse} returns this
3311
+ */
3312
+ proto.analytic.DashboardResponse.prototype.setPayingUsersCount = function(value) {
3313
+ return jspb.Message.setField(this, 32, value);
3314
+ };
3315
+
3316
+
3317
+ /**
3318
+ * Clears the field making it undefined.
3319
+ * @return {!proto.analytic.DashboardResponse} returns this
3320
+ */
3321
+ proto.analytic.DashboardResponse.prototype.clearPayingUsersCount = function() {
3322
+ return jspb.Message.setField(this, 32, undefined);
3323
+ };
3324
+
3325
+
3326
+ /**
3327
+ * Returns whether this field is set.
3328
+ * @return {boolean}
3329
+ */
3330
+ proto.analytic.DashboardResponse.prototype.hasPayingUsersCount = function() {
3331
+ return jspb.Message.getField(this, 32) != null;
3332
+ };
3333
+
3334
+
3239
3335
 
3240
3336
 
3241
3337
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.673",
3
+ "version": "1.2.674",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {