protobuf-platform 1.1.50 → 1.1.52

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.
@@ -11,6 +11,8 @@ service Analytic {
11
11
  rpc getDepositsStats(PaginationRequest) returns (DepositsResponse);
12
12
  //Games
13
13
  rpc getGamesStats(PaginationRequest) returns (GamesResponse);
14
+ //Dashboard
15
+ rpc getDashboardInfo(DashboardRequest) returns (DashboardResponse);
14
16
  }
15
17
  //Technical
16
18
  message PingRequest { string ping = 1; }
@@ -23,6 +25,15 @@ message GlobalSearchRequest {
23
25
  optional string period = 3;
24
26
  optional string type = 4;
25
27
  }
28
+ message DashboardRequest {
29
+ string start_date = 1;
30
+ string end_date = 2;
31
+ }
32
+ //Dashboard
33
+ message DashboardResponse {
34
+ optional int32 active_users_count = 1;
35
+ optional int32 registrations_count = 2;
36
+ }
26
37
  //Global
27
38
  message GlobalCasinoItem {
28
39
  string date = 1;
@@ -4,6 +4,28 @@
4
4
  var grpc = require('@grpc/grpc-js');
5
5
  var analytic_pb = require('./analytic_pb.js');
6
6
 
7
+ function serialize_analytic_DashboardRequest(arg) {
8
+ if (!(arg instanceof analytic_pb.DashboardRequest)) {
9
+ throw new Error('Expected argument of type analytic.DashboardRequest');
10
+ }
11
+ return Buffer.from(arg.serializeBinary());
12
+ }
13
+
14
+ function deserialize_analytic_DashboardRequest(buffer_arg) {
15
+ return analytic_pb.DashboardRequest.deserializeBinary(new Uint8Array(buffer_arg));
16
+ }
17
+
18
+ function serialize_analytic_DashboardResponse(arg) {
19
+ if (!(arg instanceof analytic_pb.DashboardResponse)) {
20
+ throw new Error('Expected argument of type analytic.DashboardResponse');
21
+ }
22
+ return Buffer.from(arg.serializeBinary());
23
+ }
24
+
25
+ function deserialize_analytic_DashboardResponse(buffer_arg) {
26
+ return analytic_pb.DashboardResponse.deserializeBinary(new Uint8Array(buffer_arg));
27
+ }
28
+
7
29
  function serialize_analytic_DepositsResponse(arg) {
8
30
  if (!(arg instanceof analytic_pb.DepositsResponse)) {
9
31
  throw new Error('Expected argument of type analytic.DepositsResponse');
@@ -141,6 +163,18 @@ getGamesStats: {
141
163
  responseSerialize: serialize_analytic_GamesResponse,
142
164
  responseDeserialize: deserialize_analytic_GamesResponse,
143
165
  },
166
+ // Dashboard
167
+ getDashboardInfo: {
168
+ path: '/analytic.Analytic/getDashboardInfo',
169
+ requestStream: false,
170
+ responseStream: false,
171
+ requestType: analytic_pb.DashboardRequest,
172
+ responseType: analytic_pb.DashboardResponse,
173
+ requestSerialize: serialize_analytic_DashboardRequest,
174
+ requestDeserialize: deserialize_analytic_DashboardRequest,
175
+ responseSerialize: serialize_analytic_DashboardResponse,
176
+ responseDeserialize: deserialize_analytic_DashboardResponse,
177
+ },
144
178
  };
145
179
 
146
180
  exports.AnalyticClient = grpc.makeGenericClientConstructor(AnalyticService);
@@ -21,6 +21,8 @@ var global = (function() {
21
21
  return Function('return this')();
22
22
  }.call(null));
23
23
 
24
+ goog.exportSymbol('proto.analytic.DashboardRequest', null, global);
25
+ goog.exportSymbol('proto.analytic.DashboardResponse', null, global);
24
26
  goog.exportSymbol('proto.analytic.DepositItem', null, global);
25
27
  goog.exportSymbol('proto.analytic.DepositsResponse', null, global);
26
28
  goog.exportSymbol('proto.analytic.GameItem', null, global);
@@ -118,6 +120,48 @@ if (goog.DEBUG && !COMPILED) {
118
120
  */
119
121
  proto.analytic.GlobalSearchRequest.displayName = 'proto.analytic.GlobalSearchRequest';
120
122
  }
123
+ /**
124
+ * Generated by JsPbCodeGenerator.
125
+ * @param {Array=} opt_data Optional initial data array, typically from a
126
+ * server response, or constructed directly in Javascript. The array is used
127
+ * in place and becomes part of the constructed object. It is not cloned.
128
+ * If no data is provided, the constructed object will be empty, but still
129
+ * valid.
130
+ * @extends {jspb.Message}
131
+ * @constructor
132
+ */
133
+ proto.analytic.DashboardRequest = function(opt_data) {
134
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
135
+ };
136
+ goog.inherits(proto.analytic.DashboardRequest, jspb.Message);
137
+ if (goog.DEBUG && !COMPILED) {
138
+ /**
139
+ * @public
140
+ * @override
141
+ */
142
+ proto.analytic.DashboardRequest.displayName = 'proto.analytic.DashboardRequest';
143
+ }
144
+ /**
145
+ * Generated by JsPbCodeGenerator.
146
+ * @param {Array=} opt_data Optional initial data array, typically from a
147
+ * server response, or constructed directly in Javascript. The array is used
148
+ * in place and becomes part of the constructed object. It is not cloned.
149
+ * If no data is provided, the constructed object will be empty, but still
150
+ * valid.
151
+ * @extends {jspb.Message}
152
+ * @constructor
153
+ */
154
+ proto.analytic.DashboardResponse = function(opt_data) {
155
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
156
+ };
157
+ goog.inherits(proto.analytic.DashboardResponse, jspb.Message);
158
+ if (goog.DEBUG && !COMPILED) {
159
+ /**
160
+ * @public
161
+ * @override
162
+ */
163
+ proto.analytic.DashboardResponse.displayName = 'proto.analytic.DashboardResponse';
164
+ }
121
165
  /**
122
166
  * Generated by JsPbCodeGenerator.
123
167
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -1073,6 +1117,362 @@ proto.analytic.GlobalSearchRequest.prototype.hasType = function() {
1073
1117
 
1074
1118
 
1075
1119
 
1120
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1121
+ /**
1122
+ * Creates an object representation of this proto.
1123
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1124
+ * Optional fields that are not set will be set to undefined.
1125
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1126
+ * For the list of reserved names please see:
1127
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1128
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1129
+ * JSPB instance for transitional soy proto support:
1130
+ * http://goto/soy-param-migration
1131
+ * @return {!Object}
1132
+ */
1133
+ proto.analytic.DashboardRequest.prototype.toObject = function(opt_includeInstance) {
1134
+ return proto.analytic.DashboardRequest.toObject(opt_includeInstance, this);
1135
+ };
1136
+
1137
+
1138
+ /**
1139
+ * Static version of the {@see toObject} method.
1140
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1141
+ * the JSPB instance for transitional soy proto support:
1142
+ * http://goto/soy-param-migration
1143
+ * @param {!proto.analytic.DashboardRequest} msg The msg instance to transform.
1144
+ * @return {!Object}
1145
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1146
+ */
1147
+ proto.analytic.DashboardRequest.toObject = function(includeInstance, msg) {
1148
+ var f, obj = {
1149
+ startDate: jspb.Message.getFieldWithDefault(msg, 1, ""),
1150
+ endDate: jspb.Message.getFieldWithDefault(msg, 2, "")
1151
+ };
1152
+
1153
+ if (includeInstance) {
1154
+ obj.$jspbMessageInstance = msg;
1155
+ }
1156
+ return obj;
1157
+ };
1158
+ }
1159
+
1160
+
1161
+ /**
1162
+ * Deserializes binary data (in protobuf wire format).
1163
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1164
+ * @return {!proto.analytic.DashboardRequest}
1165
+ */
1166
+ proto.analytic.DashboardRequest.deserializeBinary = function(bytes) {
1167
+ var reader = new jspb.BinaryReader(bytes);
1168
+ var msg = new proto.analytic.DashboardRequest;
1169
+ return proto.analytic.DashboardRequest.deserializeBinaryFromReader(msg, reader);
1170
+ };
1171
+
1172
+
1173
+ /**
1174
+ * Deserializes binary data (in protobuf wire format) from the
1175
+ * given reader into the given message object.
1176
+ * @param {!proto.analytic.DashboardRequest} msg The message object to deserialize into.
1177
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1178
+ * @return {!proto.analytic.DashboardRequest}
1179
+ */
1180
+ proto.analytic.DashboardRequest.deserializeBinaryFromReader = function(msg, reader) {
1181
+ while (reader.nextField()) {
1182
+ if (reader.isEndGroup()) {
1183
+ break;
1184
+ }
1185
+ var field = reader.getFieldNumber();
1186
+ switch (field) {
1187
+ case 1:
1188
+ var value = /** @type {string} */ (reader.readString());
1189
+ msg.setStartDate(value);
1190
+ break;
1191
+ case 2:
1192
+ var value = /** @type {string} */ (reader.readString());
1193
+ msg.setEndDate(value);
1194
+ break;
1195
+ default:
1196
+ reader.skipField();
1197
+ break;
1198
+ }
1199
+ }
1200
+ return msg;
1201
+ };
1202
+
1203
+
1204
+ /**
1205
+ * Serializes the message to binary data (in protobuf wire format).
1206
+ * @return {!Uint8Array}
1207
+ */
1208
+ proto.analytic.DashboardRequest.prototype.serializeBinary = function() {
1209
+ var writer = new jspb.BinaryWriter();
1210
+ proto.analytic.DashboardRequest.serializeBinaryToWriter(this, writer);
1211
+ return writer.getResultBuffer();
1212
+ };
1213
+
1214
+
1215
+ /**
1216
+ * Serializes the given message to binary data (in protobuf wire
1217
+ * format), writing to the given BinaryWriter.
1218
+ * @param {!proto.analytic.DashboardRequest} message
1219
+ * @param {!jspb.BinaryWriter} writer
1220
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1221
+ */
1222
+ proto.analytic.DashboardRequest.serializeBinaryToWriter = function(message, writer) {
1223
+ var f = undefined;
1224
+ f = message.getStartDate();
1225
+ if (f.length > 0) {
1226
+ writer.writeString(
1227
+ 1,
1228
+ f
1229
+ );
1230
+ }
1231
+ f = message.getEndDate();
1232
+ if (f.length > 0) {
1233
+ writer.writeString(
1234
+ 2,
1235
+ f
1236
+ );
1237
+ }
1238
+ };
1239
+
1240
+
1241
+ /**
1242
+ * optional string start_date = 1;
1243
+ * @return {string}
1244
+ */
1245
+ proto.analytic.DashboardRequest.prototype.getStartDate = function() {
1246
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
1247
+ };
1248
+
1249
+
1250
+ /**
1251
+ * @param {string} value
1252
+ * @return {!proto.analytic.DashboardRequest} returns this
1253
+ */
1254
+ proto.analytic.DashboardRequest.prototype.setStartDate = function(value) {
1255
+ return jspb.Message.setProto3StringField(this, 1, value);
1256
+ };
1257
+
1258
+
1259
+ /**
1260
+ * optional string end_date = 2;
1261
+ * @return {string}
1262
+ */
1263
+ proto.analytic.DashboardRequest.prototype.getEndDate = function() {
1264
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
1265
+ };
1266
+
1267
+
1268
+ /**
1269
+ * @param {string} value
1270
+ * @return {!proto.analytic.DashboardRequest} returns this
1271
+ */
1272
+ proto.analytic.DashboardRequest.prototype.setEndDate = function(value) {
1273
+ return jspb.Message.setProto3StringField(this, 2, value);
1274
+ };
1275
+
1276
+
1277
+
1278
+
1279
+
1280
+ if (jspb.Message.GENERATE_TO_OBJECT) {
1281
+ /**
1282
+ * Creates an object representation of this proto.
1283
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
1284
+ * Optional fields that are not set will be set to undefined.
1285
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
1286
+ * For the list of reserved names please see:
1287
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
1288
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
1289
+ * JSPB instance for transitional soy proto support:
1290
+ * http://goto/soy-param-migration
1291
+ * @return {!Object}
1292
+ */
1293
+ proto.analytic.DashboardResponse.prototype.toObject = function(opt_includeInstance) {
1294
+ return proto.analytic.DashboardResponse.toObject(opt_includeInstance, this);
1295
+ };
1296
+
1297
+
1298
+ /**
1299
+ * Static version of the {@see toObject} method.
1300
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
1301
+ * the JSPB instance for transitional soy proto support:
1302
+ * http://goto/soy-param-migration
1303
+ * @param {!proto.analytic.DashboardResponse} msg The msg instance to transform.
1304
+ * @return {!Object}
1305
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1306
+ */
1307
+ proto.analytic.DashboardResponse.toObject = function(includeInstance, msg) {
1308
+ var f, obj = {
1309
+ activeUsersCount: jspb.Message.getFieldWithDefault(msg, 1, 0),
1310
+ registrationsCount: jspb.Message.getFieldWithDefault(msg, 2, 0)
1311
+ };
1312
+
1313
+ if (includeInstance) {
1314
+ obj.$jspbMessageInstance = msg;
1315
+ }
1316
+ return obj;
1317
+ };
1318
+ }
1319
+
1320
+
1321
+ /**
1322
+ * Deserializes binary data (in protobuf wire format).
1323
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
1324
+ * @return {!proto.analytic.DashboardResponse}
1325
+ */
1326
+ proto.analytic.DashboardResponse.deserializeBinary = function(bytes) {
1327
+ var reader = new jspb.BinaryReader(bytes);
1328
+ var msg = new proto.analytic.DashboardResponse;
1329
+ return proto.analytic.DashboardResponse.deserializeBinaryFromReader(msg, reader);
1330
+ };
1331
+
1332
+
1333
+ /**
1334
+ * Deserializes binary data (in protobuf wire format) from the
1335
+ * given reader into the given message object.
1336
+ * @param {!proto.analytic.DashboardResponse} msg The message object to deserialize into.
1337
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
1338
+ * @return {!proto.analytic.DashboardResponse}
1339
+ */
1340
+ proto.analytic.DashboardResponse.deserializeBinaryFromReader = function(msg, reader) {
1341
+ while (reader.nextField()) {
1342
+ if (reader.isEndGroup()) {
1343
+ break;
1344
+ }
1345
+ var field = reader.getFieldNumber();
1346
+ switch (field) {
1347
+ case 1:
1348
+ var value = /** @type {number} */ (reader.readInt32());
1349
+ msg.setActiveUsersCount(value);
1350
+ break;
1351
+ case 2:
1352
+ var value = /** @type {number} */ (reader.readInt32());
1353
+ msg.setRegistrationsCount(value);
1354
+ break;
1355
+ default:
1356
+ reader.skipField();
1357
+ break;
1358
+ }
1359
+ }
1360
+ return msg;
1361
+ };
1362
+
1363
+
1364
+ /**
1365
+ * Serializes the message to binary data (in protobuf wire format).
1366
+ * @return {!Uint8Array}
1367
+ */
1368
+ proto.analytic.DashboardResponse.prototype.serializeBinary = function() {
1369
+ var writer = new jspb.BinaryWriter();
1370
+ proto.analytic.DashboardResponse.serializeBinaryToWriter(this, writer);
1371
+ return writer.getResultBuffer();
1372
+ };
1373
+
1374
+
1375
+ /**
1376
+ * Serializes the given message to binary data (in protobuf wire
1377
+ * format), writing to the given BinaryWriter.
1378
+ * @param {!proto.analytic.DashboardResponse} message
1379
+ * @param {!jspb.BinaryWriter} writer
1380
+ * @suppress {unusedLocalVariables} f is only used for nested messages
1381
+ */
1382
+ proto.analytic.DashboardResponse.serializeBinaryToWriter = function(message, writer) {
1383
+ var f = undefined;
1384
+ f = /** @type {number} */ (jspb.Message.getField(message, 1));
1385
+ if (f != null) {
1386
+ writer.writeInt32(
1387
+ 1,
1388
+ f
1389
+ );
1390
+ }
1391
+ f = /** @type {number} */ (jspb.Message.getField(message, 2));
1392
+ if (f != null) {
1393
+ writer.writeInt32(
1394
+ 2,
1395
+ f
1396
+ );
1397
+ }
1398
+ };
1399
+
1400
+
1401
+ /**
1402
+ * optional int32 active_users_count = 1;
1403
+ * @return {number}
1404
+ */
1405
+ proto.analytic.DashboardResponse.prototype.getActiveUsersCount = function() {
1406
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
1407
+ };
1408
+
1409
+
1410
+ /**
1411
+ * @param {number} value
1412
+ * @return {!proto.analytic.DashboardResponse} returns this
1413
+ */
1414
+ proto.analytic.DashboardResponse.prototype.setActiveUsersCount = function(value) {
1415
+ return jspb.Message.setField(this, 1, value);
1416
+ };
1417
+
1418
+
1419
+ /**
1420
+ * Clears the field making it undefined.
1421
+ * @return {!proto.analytic.DashboardResponse} returns this
1422
+ */
1423
+ proto.analytic.DashboardResponse.prototype.clearActiveUsersCount = function() {
1424
+ return jspb.Message.setField(this, 1, undefined);
1425
+ };
1426
+
1427
+
1428
+ /**
1429
+ * Returns whether this field is set.
1430
+ * @return {boolean}
1431
+ */
1432
+ proto.analytic.DashboardResponse.prototype.hasActiveUsersCount = function() {
1433
+ return jspb.Message.getField(this, 1) != null;
1434
+ };
1435
+
1436
+
1437
+ /**
1438
+ * optional int32 registrations_count = 2;
1439
+ * @return {number}
1440
+ */
1441
+ proto.analytic.DashboardResponse.prototype.getRegistrationsCount = function() {
1442
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
1443
+ };
1444
+
1445
+
1446
+ /**
1447
+ * @param {number} value
1448
+ * @return {!proto.analytic.DashboardResponse} returns this
1449
+ */
1450
+ proto.analytic.DashboardResponse.prototype.setRegistrationsCount = function(value) {
1451
+ return jspb.Message.setField(this, 2, value);
1452
+ };
1453
+
1454
+
1455
+ /**
1456
+ * Clears the field making it undefined.
1457
+ * @return {!proto.analytic.DashboardResponse} returns this
1458
+ */
1459
+ proto.analytic.DashboardResponse.prototype.clearRegistrationsCount = function() {
1460
+ return jspb.Message.setField(this, 2, undefined);
1461
+ };
1462
+
1463
+
1464
+ /**
1465
+ * Returns whether this field is set.
1466
+ * @return {boolean}
1467
+ */
1468
+ proto.analytic.DashboardResponse.prototype.hasRegistrationsCount = function() {
1469
+ return jspb.Message.getField(this, 2) != null;
1470
+ };
1471
+
1472
+
1473
+
1474
+
1475
+
1076
1476
  if (jspb.Message.GENERATE_TO_OBJECT) {
1077
1477
  /**
1078
1478
  * Creates an object representation of this proto.
package/bet/bet.proto CHANGED
@@ -48,6 +48,10 @@ message DashboardResponse {
48
48
  repeated DashboardGameInfo top_games_count_bet_bonus = 17;
49
49
  repeated DashboardGameInfo top_games_sum_bet_real = 18;
50
50
  repeated DashboardGameInfo top_games_sum_bet_bonus = 19;
51
+ optional int32 bet_real_count = 20;
52
+ optional int32 bet_bonus_count = 21;
53
+ optional int32 win_real_count = 22;
54
+ optional int32 win_bonus_count = 23;
51
55
  }
52
56
  //User info
53
57
  message UserBetItem {
package/bet/bet_pb.js CHANGED
@@ -1411,7 +1411,11 @@ proto.bet.DashboardResponse.toObject = function(includeInstance, msg) {
1411
1411
  topGamesSumBetRealList: jspb.Message.toObjectList(msg.getTopGamesSumBetRealList(),
1412
1412
  proto.bet.DashboardGameInfo.toObject, includeInstance),
1413
1413
  topGamesSumBetBonusList: jspb.Message.toObjectList(msg.getTopGamesSumBetBonusList(),
1414
- proto.bet.DashboardGameInfo.toObject, includeInstance)
1414
+ proto.bet.DashboardGameInfo.toObject, includeInstance),
1415
+ betRealCount: jspb.Message.getFieldWithDefault(msg, 20, 0),
1416
+ betBonusCount: jspb.Message.getFieldWithDefault(msg, 21, 0),
1417
+ winRealCount: jspb.Message.getFieldWithDefault(msg, 22, 0),
1418
+ winBonusCount: jspb.Message.getFieldWithDefault(msg, 23, 0)
1415
1419
  };
1416
1420
 
1417
1421
  if (includeInstance) {
@@ -1528,6 +1532,22 @@ proto.bet.DashboardResponse.deserializeBinaryFromReader = function(msg, reader)
1528
1532
  reader.readMessage(value,proto.bet.DashboardGameInfo.deserializeBinaryFromReader);
1529
1533
  msg.addTopGamesSumBetBonus(value);
1530
1534
  break;
1535
+ case 20:
1536
+ var value = /** @type {number} */ (reader.readInt32());
1537
+ msg.setBetRealCount(value);
1538
+ break;
1539
+ case 21:
1540
+ var value = /** @type {number} */ (reader.readInt32());
1541
+ msg.setBetBonusCount(value);
1542
+ break;
1543
+ case 22:
1544
+ var value = /** @type {number} */ (reader.readInt32());
1545
+ msg.setWinRealCount(value);
1546
+ break;
1547
+ case 23:
1548
+ var value = /** @type {number} */ (reader.readInt32());
1549
+ msg.setWinBonusCount(value);
1550
+ break;
1531
1551
  default:
1532
1552
  reader.skipField();
1533
1553
  break;
@@ -1694,6 +1714,34 @@ proto.bet.DashboardResponse.serializeBinaryToWriter = function(message, writer)
1694
1714
  proto.bet.DashboardGameInfo.serializeBinaryToWriter
1695
1715
  );
1696
1716
  }
1717
+ f = /** @type {number} */ (jspb.Message.getField(message, 20));
1718
+ if (f != null) {
1719
+ writer.writeInt32(
1720
+ 20,
1721
+ f
1722
+ );
1723
+ }
1724
+ f = /** @type {number} */ (jspb.Message.getField(message, 21));
1725
+ if (f != null) {
1726
+ writer.writeInt32(
1727
+ 21,
1728
+ f
1729
+ );
1730
+ }
1731
+ f = /** @type {number} */ (jspb.Message.getField(message, 22));
1732
+ if (f != null) {
1733
+ writer.writeInt32(
1734
+ 22,
1735
+ f
1736
+ );
1737
+ }
1738
+ f = /** @type {number} */ (jspb.Message.getField(message, 23));
1739
+ if (f != null) {
1740
+ writer.writeInt32(
1741
+ 23,
1742
+ f
1743
+ );
1744
+ }
1697
1745
  };
1698
1746
 
1699
1747
 
@@ -2389,6 +2437,150 @@ proto.bet.DashboardResponse.prototype.clearTopGamesSumBetBonusList = function()
2389
2437
  };
2390
2438
 
2391
2439
 
2440
+ /**
2441
+ * optional int32 bet_real_count = 20;
2442
+ * @return {number}
2443
+ */
2444
+ proto.bet.DashboardResponse.prototype.getBetRealCount = function() {
2445
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 20, 0));
2446
+ };
2447
+
2448
+
2449
+ /**
2450
+ * @param {number} value
2451
+ * @return {!proto.bet.DashboardResponse} returns this
2452
+ */
2453
+ proto.bet.DashboardResponse.prototype.setBetRealCount = function(value) {
2454
+ return jspb.Message.setField(this, 20, value);
2455
+ };
2456
+
2457
+
2458
+ /**
2459
+ * Clears the field making it undefined.
2460
+ * @return {!proto.bet.DashboardResponse} returns this
2461
+ */
2462
+ proto.bet.DashboardResponse.prototype.clearBetRealCount = function() {
2463
+ return jspb.Message.setField(this, 20, undefined);
2464
+ };
2465
+
2466
+
2467
+ /**
2468
+ * Returns whether this field is set.
2469
+ * @return {boolean}
2470
+ */
2471
+ proto.bet.DashboardResponse.prototype.hasBetRealCount = function() {
2472
+ return jspb.Message.getField(this, 20) != null;
2473
+ };
2474
+
2475
+
2476
+ /**
2477
+ * optional int32 bet_bonus_count = 21;
2478
+ * @return {number}
2479
+ */
2480
+ proto.bet.DashboardResponse.prototype.getBetBonusCount = function() {
2481
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 21, 0));
2482
+ };
2483
+
2484
+
2485
+ /**
2486
+ * @param {number} value
2487
+ * @return {!proto.bet.DashboardResponse} returns this
2488
+ */
2489
+ proto.bet.DashboardResponse.prototype.setBetBonusCount = function(value) {
2490
+ return jspb.Message.setField(this, 21, value);
2491
+ };
2492
+
2493
+
2494
+ /**
2495
+ * Clears the field making it undefined.
2496
+ * @return {!proto.bet.DashboardResponse} returns this
2497
+ */
2498
+ proto.bet.DashboardResponse.prototype.clearBetBonusCount = function() {
2499
+ return jspb.Message.setField(this, 21, undefined);
2500
+ };
2501
+
2502
+
2503
+ /**
2504
+ * Returns whether this field is set.
2505
+ * @return {boolean}
2506
+ */
2507
+ proto.bet.DashboardResponse.prototype.hasBetBonusCount = function() {
2508
+ return jspb.Message.getField(this, 21) != null;
2509
+ };
2510
+
2511
+
2512
+ /**
2513
+ * optional int32 win_real_count = 22;
2514
+ * @return {number}
2515
+ */
2516
+ proto.bet.DashboardResponse.prototype.getWinRealCount = function() {
2517
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 22, 0));
2518
+ };
2519
+
2520
+
2521
+ /**
2522
+ * @param {number} value
2523
+ * @return {!proto.bet.DashboardResponse} returns this
2524
+ */
2525
+ proto.bet.DashboardResponse.prototype.setWinRealCount = function(value) {
2526
+ return jspb.Message.setField(this, 22, value);
2527
+ };
2528
+
2529
+
2530
+ /**
2531
+ * Clears the field making it undefined.
2532
+ * @return {!proto.bet.DashboardResponse} returns this
2533
+ */
2534
+ proto.bet.DashboardResponse.prototype.clearWinRealCount = function() {
2535
+ return jspb.Message.setField(this, 22, undefined);
2536
+ };
2537
+
2538
+
2539
+ /**
2540
+ * Returns whether this field is set.
2541
+ * @return {boolean}
2542
+ */
2543
+ proto.bet.DashboardResponse.prototype.hasWinRealCount = function() {
2544
+ return jspb.Message.getField(this, 22) != null;
2545
+ };
2546
+
2547
+
2548
+ /**
2549
+ * optional int32 win_bonus_count = 23;
2550
+ * @return {number}
2551
+ */
2552
+ proto.bet.DashboardResponse.prototype.getWinBonusCount = function() {
2553
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 23, 0));
2554
+ };
2555
+
2556
+
2557
+ /**
2558
+ * @param {number} value
2559
+ * @return {!proto.bet.DashboardResponse} returns this
2560
+ */
2561
+ proto.bet.DashboardResponse.prototype.setWinBonusCount = function(value) {
2562
+ return jspb.Message.setField(this, 23, value);
2563
+ };
2564
+
2565
+
2566
+ /**
2567
+ * Clears the field making it undefined.
2568
+ * @return {!proto.bet.DashboardResponse} returns this
2569
+ */
2570
+ proto.bet.DashboardResponse.prototype.clearWinBonusCount = function() {
2571
+ return jspb.Message.setField(this, 23, undefined);
2572
+ };
2573
+
2574
+
2575
+ /**
2576
+ * Returns whether this field is set.
2577
+ * @return {boolean}
2578
+ */
2579
+ proto.bet.DashboardResponse.prototype.hasWinBonusCount = function() {
2580
+ return jspb.Message.getField(this, 23) != null;
2581
+ };
2582
+
2583
+
2392
2584
 
2393
2585
 
2394
2586
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.1.50",
3
+ "version": "1.1.52",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {