protobuf-platform 1.2.673 → 1.2.675

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
 
@@ -205,6 +205,11 @@ message DepositPoint {
205
205
  float min = 3;
206
206
  float max = 4;
207
207
  optional int32 number_of_deposit = 5;
208
+ optional bool use_deposit_amount = 6;
209
+ optional double deposit_multiplier = 7;
210
+ optional int32 loyalty_level_id = 8;
211
+ optional double loyalty_multiplier = 9;
212
+ optional bool clear_loyalty_override = 10;
208
213
  }
209
214
  message BetPoint {
210
215
  string currency = 1;
@@ -9014,7 +9014,12 @@ proto.loyalty.DepositPoint.toObject = function(includeInstance, msg) {
9014
9014
  points: jspb.Message.getFieldWithDefault(msg, 2, 0),
9015
9015
  min: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
9016
9016
  max: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
9017
- numberOfDeposit: jspb.Message.getFieldWithDefault(msg, 5, 0)
9017
+ numberOfDeposit: jspb.Message.getFieldWithDefault(msg, 5, 0),
9018
+ useDepositAmount: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
9019
+ depositMultiplier: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
9020
+ loyaltyLevelId: jspb.Message.getFieldWithDefault(msg, 8, 0),
9021
+ loyaltyMultiplier: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0),
9022
+ clearLoyaltyOverride: jspb.Message.getBooleanFieldWithDefault(msg, 10, false)
9018
9023
  };
9019
9024
 
9020
9025
  if (includeInstance) {
@@ -9071,6 +9076,26 @@ proto.loyalty.DepositPoint.deserializeBinaryFromReader = function(msg, reader) {
9071
9076
  var value = /** @type {number} */ (reader.readInt32());
9072
9077
  msg.setNumberOfDeposit(value);
9073
9078
  break;
9079
+ case 6:
9080
+ var value = /** @type {boolean} */ (reader.readBool());
9081
+ msg.setUseDepositAmount(value);
9082
+ break;
9083
+ case 7:
9084
+ var value = /** @type {number} */ (reader.readDouble());
9085
+ msg.setDepositMultiplier(value);
9086
+ break;
9087
+ case 8:
9088
+ var value = /** @type {number} */ (reader.readInt32());
9089
+ msg.setLoyaltyLevelId(value);
9090
+ break;
9091
+ case 9:
9092
+ var value = /** @type {number} */ (reader.readDouble());
9093
+ msg.setLoyaltyMultiplier(value);
9094
+ break;
9095
+ case 10:
9096
+ var value = /** @type {boolean} */ (reader.readBool());
9097
+ msg.setClearLoyaltyOverride(value);
9098
+ break;
9074
9099
  default:
9075
9100
  reader.skipField();
9076
9101
  break;
@@ -9135,6 +9160,41 @@ proto.loyalty.DepositPoint.serializeBinaryToWriter = function(message, writer) {
9135
9160
  f
9136
9161
  );
9137
9162
  }
9163
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 6));
9164
+ if (f != null) {
9165
+ writer.writeBool(
9166
+ 6,
9167
+ f
9168
+ );
9169
+ }
9170
+ f = /** @type {number} */ (jspb.Message.getField(message, 7));
9171
+ if (f != null) {
9172
+ writer.writeDouble(
9173
+ 7,
9174
+ f
9175
+ );
9176
+ }
9177
+ f = /** @type {number} */ (jspb.Message.getField(message, 8));
9178
+ if (f != null) {
9179
+ writer.writeInt32(
9180
+ 8,
9181
+ f
9182
+ );
9183
+ }
9184
+ f = /** @type {number} */ (jspb.Message.getField(message, 9));
9185
+ if (f != null) {
9186
+ writer.writeDouble(
9187
+ 9,
9188
+ f
9189
+ );
9190
+ }
9191
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 10));
9192
+ if (f != null) {
9193
+ writer.writeBool(
9194
+ 10,
9195
+ f
9196
+ );
9197
+ }
9138
9198
  };
9139
9199
 
9140
9200
 
@@ -9246,6 +9306,186 @@ proto.loyalty.DepositPoint.prototype.hasNumberOfDeposit = function() {
9246
9306
  };
9247
9307
 
9248
9308
 
9309
+ /**
9310
+ * optional bool use_deposit_amount = 6;
9311
+ * @return {boolean}
9312
+ */
9313
+ proto.loyalty.DepositPoint.prototype.getUseDepositAmount = function() {
9314
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
9315
+ };
9316
+
9317
+
9318
+ /**
9319
+ * @param {boolean} value
9320
+ * @return {!proto.loyalty.DepositPoint} returns this
9321
+ */
9322
+ proto.loyalty.DepositPoint.prototype.setUseDepositAmount = function(value) {
9323
+ return jspb.Message.setField(this, 6, value);
9324
+ };
9325
+
9326
+
9327
+ /**
9328
+ * Clears the field making it undefined.
9329
+ * @return {!proto.loyalty.DepositPoint} returns this
9330
+ */
9331
+ proto.loyalty.DepositPoint.prototype.clearUseDepositAmount = function() {
9332
+ return jspb.Message.setField(this, 6, undefined);
9333
+ };
9334
+
9335
+
9336
+ /**
9337
+ * Returns whether this field is set.
9338
+ * @return {boolean}
9339
+ */
9340
+ proto.loyalty.DepositPoint.prototype.hasUseDepositAmount = function() {
9341
+ return jspb.Message.getField(this, 6) != null;
9342
+ };
9343
+
9344
+
9345
+ /**
9346
+ * optional double deposit_multiplier = 7;
9347
+ * @return {number}
9348
+ */
9349
+ proto.loyalty.DepositPoint.prototype.getDepositMultiplier = function() {
9350
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0));
9351
+ };
9352
+
9353
+
9354
+ /**
9355
+ * @param {number} value
9356
+ * @return {!proto.loyalty.DepositPoint} returns this
9357
+ */
9358
+ proto.loyalty.DepositPoint.prototype.setDepositMultiplier = function(value) {
9359
+ return jspb.Message.setField(this, 7, value);
9360
+ };
9361
+
9362
+
9363
+ /**
9364
+ * Clears the field making it undefined.
9365
+ * @return {!proto.loyalty.DepositPoint} returns this
9366
+ */
9367
+ proto.loyalty.DepositPoint.prototype.clearDepositMultiplier = function() {
9368
+ return jspb.Message.setField(this, 7, undefined);
9369
+ };
9370
+
9371
+
9372
+ /**
9373
+ * Returns whether this field is set.
9374
+ * @return {boolean}
9375
+ */
9376
+ proto.loyalty.DepositPoint.prototype.hasDepositMultiplier = function() {
9377
+ return jspb.Message.getField(this, 7) != null;
9378
+ };
9379
+
9380
+
9381
+ /**
9382
+ * optional int32 loyalty_level_id = 8;
9383
+ * @return {number}
9384
+ */
9385
+ proto.loyalty.DepositPoint.prototype.getLoyaltyLevelId = function() {
9386
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
9387
+ };
9388
+
9389
+
9390
+ /**
9391
+ * @param {number} value
9392
+ * @return {!proto.loyalty.DepositPoint} returns this
9393
+ */
9394
+ proto.loyalty.DepositPoint.prototype.setLoyaltyLevelId = function(value) {
9395
+ return jspb.Message.setField(this, 8, value);
9396
+ };
9397
+
9398
+
9399
+ /**
9400
+ * Clears the field making it undefined.
9401
+ * @return {!proto.loyalty.DepositPoint} returns this
9402
+ */
9403
+ proto.loyalty.DepositPoint.prototype.clearLoyaltyLevelId = function() {
9404
+ return jspb.Message.setField(this, 8, undefined);
9405
+ };
9406
+
9407
+
9408
+ /**
9409
+ * Returns whether this field is set.
9410
+ * @return {boolean}
9411
+ */
9412
+ proto.loyalty.DepositPoint.prototype.hasLoyaltyLevelId = function() {
9413
+ return jspb.Message.getField(this, 8) != null;
9414
+ };
9415
+
9416
+
9417
+ /**
9418
+ * optional double loyalty_multiplier = 9;
9419
+ * @return {number}
9420
+ */
9421
+ proto.loyalty.DepositPoint.prototype.getLoyaltyMultiplier = function() {
9422
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 9, 0.0));
9423
+ };
9424
+
9425
+
9426
+ /**
9427
+ * @param {number} value
9428
+ * @return {!proto.loyalty.DepositPoint} returns this
9429
+ */
9430
+ proto.loyalty.DepositPoint.prototype.setLoyaltyMultiplier = function(value) {
9431
+ return jspb.Message.setField(this, 9, value);
9432
+ };
9433
+
9434
+
9435
+ /**
9436
+ * Clears the field making it undefined.
9437
+ * @return {!proto.loyalty.DepositPoint} returns this
9438
+ */
9439
+ proto.loyalty.DepositPoint.prototype.clearLoyaltyMultiplier = function() {
9440
+ return jspb.Message.setField(this, 9, undefined);
9441
+ };
9442
+
9443
+
9444
+ /**
9445
+ * Returns whether this field is set.
9446
+ * @return {boolean}
9447
+ */
9448
+ proto.loyalty.DepositPoint.prototype.hasLoyaltyMultiplier = function() {
9449
+ return jspb.Message.getField(this, 9) != null;
9450
+ };
9451
+
9452
+
9453
+ /**
9454
+ * optional bool clear_loyalty_override = 10;
9455
+ * @return {boolean}
9456
+ */
9457
+ proto.loyalty.DepositPoint.prototype.getClearLoyaltyOverride = function() {
9458
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 10, false));
9459
+ };
9460
+
9461
+
9462
+ /**
9463
+ * @param {boolean} value
9464
+ * @return {!proto.loyalty.DepositPoint} returns this
9465
+ */
9466
+ proto.loyalty.DepositPoint.prototype.setClearLoyaltyOverride = function(value) {
9467
+ return jspb.Message.setField(this, 10, value);
9468
+ };
9469
+
9470
+
9471
+ /**
9472
+ * Clears the field making it undefined.
9473
+ * @return {!proto.loyalty.DepositPoint} returns this
9474
+ */
9475
+ proto.loyalty.DepositPoint.prototype.clearClearLoyaltyOverride = function() {
9476
+ return jspb.Message.setField(this, 10, undefined);
9477
+ };
9478
+
9479
+
9480
+ /**
9481
+ * Returns whether this field is set.
9482
+ * @return {boolean}
9483
+ */
9484
+ proto.loyalty.DepositPoint.prototype.hasClearLoyaltyOverride = function() {
9485
+ return jspb.Message.getField(this, 10) != null;
9486
+ };
9487
+
9488
+
9249
9489
 
9250
9490
 
9251
9491
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.673",
3
+ "version": "1.2.675",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {