protobuf-platform 1.2.172 → 1.2.173

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.
@@ -59,6 +59,12 @@ message DashboardResponse {
59
59
  optional int32 dep_count = 10;
60
60
  optional float dep_sum = 11;
61
61
  optional float dep_avg = 12;
62
+ optional float turnover_total = 13;
63
+ optional float turnover_real = 14;
64
+ optional float turnover_bonus = 15;
65
+ optional float ggr_total = 16;
66
+ optional float ggr_real = 17;
67
+ optional float ggr_bonus = 18;
62
68
  }
63
69
  message MainDashboardResponse {
64
70
  DashboardResponse summary = 1;
@@ -1541,7 +1541,13 @@ proto.analytic.DashboardResponse.toObject = function(includeInstance, msg) {
1541
1541
  redepAvg: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0),
1542
1542
  depCount: jspb.Message.getFieldWithDefault(msg, 10, 0),
1543
1543
  depSum: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0),
1544
- depAvg: jspb.Message.getFloatingPointFieldWithDefault(msg, 12, 0.0)
1544
+ depAvg: jspb.Message.getFloatingPointFieldWithDefault(msg, 12, 0.0),
1545
+ turnoverTotal: jspb.Message.getFloatingPointFieldWithDefault(msg, 13, 0.0),
1546
+ turnoverReal: jspb.Message.getFloatingPointFieldWithDefault(msg, 14, 0.0),
1547
+ turnoverBonus: jspb.Message.getFloatingPointFieldWithDefault(msg, 15, 0.0),
1548
+ ggrTotal: jspb.Message.getFloatingPointFieldWithDefault(msg, 16, 0.0),
1549
+ ggrReal: jspb.Message.getFloatingPointFieldWithDefault(msg, 17, 0.0),
1550
+ ggrBonus: jspb.Message.getFloatingPointFieldWithDefault(msg, 18, 0.0)
1545
1551
  };
1546
1552
 
1547
1553
  if (includeInstance) {
@@ -1626,6 +1632,30 @@ proto.analytic.DashboardResponse.deserializeBinaryFromReader = function(msg, rea
1626
1632
  var value = /** @type {number} */ (reader.readFloat());
1627
1633
  msg.setDepAvg(value);
1628
1634
  break;
1635
+ case 13:
1636
+ var value = /** @type {number} */ (reader.readFloat());
1637
+ msg.setTurnoverTotal(value);
1638
+ break;
1639
+ case 14:
1640
+ var value = /** @type {number} */ (reader.readFloat());
1641
+ msg.setTurnoverReal(value);
1642
+ break;
1643
+ case 15:
1644
+ var value = /** @type {number} */ (reader.readFloat());
1645
+ msg.setTurnoverBonus(value);
1646
+ break;
1647
+ case 16:
1648
+ var value = /** @type {number} */ (reader.readFloat());
1649
+ msg.setGgrTotal(value);
1650
+ break;
1651
+ case 17:
1652
+ var value = /** @type {number} */ (reader.readFloat());
1653
+ msg.setGgrReal(value);
1654
+ break;
1655
+ case 18:
1656
+ var value = /** @type {number} */ (reader.readFloat());
1657
+ msg.setGgrBonus(value);
1658
+ break;
1629
1659
  default:
1630
1660
  reader.skipField();
1631
1661
  break;
@@ -1739,6 +1769,48 @@ proto.analytic.DashboardResponse.serializeBinaryToWriter = function(message, wri
1739
1769
  f
1740
1770
  );
1741
1771
  }
1772
+ f = /** @type {number} */ (jspb.Message.getField(message, 13));
1773
+ if (f != null) {
1774
+ writer.writeFloat(
1775
+ 13,
1776
+ f
1777
+ );
1778
+ }
1779
+ f = /** @type {number} */ (jspb.Message.getField(message, 14));
1780
+ if (f != null) {
1781
+ writer.writeFloat(
1782
+ 14,
1783
+ f
1784
+ );
1785
+ }
1786
+ f = /** @type {number} */ (jspb.Message.getField(message, 15));
1787
+ if (f != null) {
1788
+ writer.writeFloat(
1789
+ 15,
1790
+ f
1791
+ );
1792
+ }
1793
+ f = /** @type {number} */ (jspb.Message.getField(message, 16));
1794
+ if (f != null) {
1795
+ writer.writeFloat(
1796
+ 16,
1797
+ f
1798
+ );
1799
+ }
1800
+ f = /** @type {number} */ (jspb.Message.getField(message, 17));
1801
+ if (f != null) {
1802
+ writer.writeFloat(
1803
+ 17,
1804
+ f
1805
+ );
1806
+ }
1807
+ f = /** @type {number} */ (jspb.Message.getField(message, 18));
1808
+ if (f != null) {
1809
+ writer.writeFloat(
1810
+ 18,
1811
+ f
1812
+ );
1813
+ }
1742
1814
  };
1743
1815
 
1744
1816
 
@@ -2174,6 +2246,222 @@ proto.analytic.DashboardResponse.prototype.hasDepAvg = function() {
2174
2246
  };
2175
2247
 
2176
2248
 
2249
+ /**
2250
+ * optional float turnover_total = 13;
2251
+ * @return {number}
2252
+ */
2253
+ proto.analytic.DashboardResponse.prototype.getTurnoverTotal = function() {
2254
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 13, 0.0));
2255
+ };
2256
+
2257
+
2258
+ /**
2259
+ * @param {number} value
2260
+ * @return {!proto.analytic.DashboardResponse} returns this
2261
+ */
2262
+ proto.analytic.DashboardResponse.prototype.setTurnoverTotal = function(value) {
2263
+ return jspb.Message.setField(this, 13, value);
2264
+ };
2265
+
2266
+
2267
+ /**
2268
+ * Clears the field making it undefined.
2269
+ * @return {!proto.analytic.DashboardResponse} returns this
2270
+ */
2271
+ proto.analytic.DashboardResponse.prototype.clearTurnoverTotal = function() {
2272
+ return jspb.Message.setField(this, 13, undefined);
2273
+ };
2274
+
2275
+
2276
+ /**
2277
+ * Returns whether this field is set.
2278
+ * @return {boolean}
2279
+ */
2280
+ proto.analytic.DashboardResponse.prototype.hasTurnoverTotal = function() {
2281
+ return jspb.Message.getField(this, 13) != null;
2282
+ };
2283
+
2284
+
2285
+ /**
2286
+ * optional float turnover_real = 14;
2287
+ * @return {number}
2288
+ */
2289
+ proto.analytic.DashboardResponse.prototype.getTurnoverReal = function() {
2290
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 14, 0.0));
2291
+ };
2292
+
2293
+
2294
+ /**
2295
+ * @param {number} value
2296
+ * @return {!proto.analytic.DashboardResponse} returns this
2297
+ */
2298
+ proto.analytic.DashboardResponse.prototype.setTurnoverReal = function(value) {
2299
+ return jspb.Message.setField(this, 14, value);
2300
+ };
2301
+
2302
+
2303
+ /**
2304
+ * Clears the field making it undefined.
2305
+ * @return {!proto.analytic.DashboardResponse} returns this
2306
+ */
2307
+ proto.analytic.DashboardResponse.prototype.clearTurnoverReal = function() {
2308
+ return jspb.Message.setField(this, 14, undefined);
2309
+ };
2310
+
2311
+
2312
+ /**
2313
+ * Returns whether this field is set.
2314
+ * @return {boolean}
2315
+ */
2316
+ proto.analytic.DashboardResponse.prototype.hasTurnoverReal = function() {
2317
+ return jspb.Message.getField(this, 14) != null;
2318
+ };
2319
+
2320
+
2321
+ /**
2322
+ * optional float turnover_bonus = 15;
2323
+ * @return {number}
2324
+ */
2325
+ proto.analytic.DashboardResponse.prototype.getTurnoverBonus = function() {
2326
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 15, 0.0));
2327
+ };
2328
+
2329
+
2330
+ /**
2331
+ * @param {number} value
2332
+ * @return {!proto.analytic.DashboardResponse} returns this
2333
+ */
2334
+ proto.analytic.DashboardResponse.prototype.setTurnoverBonus = function(value) {
2335
+ return jspb.Message.setField(this, 15, value);
2336
+ };
2337
+
2338
+
2339
+ /**
2340
+ * Clears the field making it undefined.
2341
+ * @return {!proto.analytic.DashboardResponse} returns this
2342
+ */
2343
+ proto.analytic.DashboardResponse.prototype.clearTurnoverBonus = function() {
2344
+ return jspb.Message.setField(this, 15, undefined);
2345
+ };
2346
+
2347
+
2348
+ /**
2349
+ * Returns whether this field is set.
2350
+ * @return {boolean}
2351
+ */
2352
+ proto.analytic.DashboardResponse.prototype.hasTurnoverBonus = function() {
2353
+ return jspb.Message.getField(this, 15) != null;
2354
+ };
2355
+
2356
+
2357
+ /**
2358
+ * optional float ggr_total = 16;
2359
+ * @return {number}
2360
+ */
2361
+ proto.analytic.DashboardResponse.prototype.getGgrTotal = function() {
2362
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 16, 0.0));
2363
+ };
2364
+
2365
+
2366
+ /**
2367
+ * @param {number} value
2368
+ * @return {!proto.analytic.DashboardResponse} returns this
2369
+ */
2370
+ proto.analytic.DashboardResponse.prototype.setGgrTotal = function(value) {
2371
+ return jspb.Message.setField(this, 16, value);
2372
+ };
2373
+
2374
+
2375
+ /**
2376
+ * Clears the field making it undefined.
2377
+ * @return {!proto.analytic.DashboardResponse} returns this
2378
+ */
2379
+ proto.analytic.DashboardResponse.prototype.clearGgrTotal = function() {
2380
+ return jspb.Message.setField(this, 16, undefined);
2381
+ };
2382
+
2383
+
2384
+ /**
2385
+ * Returns whether this field is set.
2386
+ * @return {boolean}
2387
+ */
2388
+ proto.analytic.DashboardResponse.prototype.hasGgrTotal = function() {
2389
+ return jspb.Message.getField(this, 16) != null;
2390
+ };
2391
+
2392
+
2393
+ /**
2394
+ * optional float ggr_real = 17;
2395
+ * @return {number}
2396
+ */
2397
+ proto.analytic.DashboardResponse.prototype.getGgrReal = function() {
2398
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 17, 0.0));
2399
+ };
2400
+
2401
+
2402
+ /**
2403
+ * @param {number} value
2404
+ * @return {!proto.analytic.DashboardResponse} returns this
2405
+ */
2406
+ proto.analytic.DashboardResponse.prototype.setGgrReal = function(value) {
2407
+ return jspb.Message.setField(this, 17, value);
2408
+ };
2409
+
2410
+
2411
+ /**
2412
+ * Clears the field making it undefined.
2413
+ * @return {!proto.analytic.DashboardResponse} returns this
2414
+ */
2415
+ proto.analytic.DashboardResponse.prototype.clearGgrReal = function() {
2416
+ return jspb.Message.setField(this, 17, undefined);
2417
+ };
2418
+
2419
+
2420
+ /**
2421
+ * Returns whether this field is set.
2422
+ * @return {boolean}
2423
+ */
2424
+ proto.analytic.DashboardResponse.prototype.hasGgrReal = function() {
2425
+ return jspb.Message.getField(this, 17) != null;
2426
+ };
2427
+
2428
+
2429
+ /**
2430
+ * optional float ggr_bonus = 18;
2431
+ * @return {number}
2432
+ */
2433
+ proto.analytic.DashboardResponse.prototype.getGgrBonus = function() {
2434
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 18, 0.0));
2435
+ };
2436
+
2437
+
2438
+ /**
2439
+ * @param {number} value
2440
+ * @return {!proto.analytic.DashboardResponse} returns this
2441
+ */
2442
+ proto.analytic.DashboardResponse.prototype.setGgrBonus = function(value) {
2443
+ return jspb.Message.setField(this, 18, value);
2444
+ };
2445
+
2446
+
2447
+ /**
2448
+ * Clears the field making it undefined.
2449
+ * @return {!proto.analytic.DashboardResponse} returns this
2450
+ */
2451
+ proto.analytic.DashboardResponse.prototype.clearGgrBonus = function() {
2452
+ return jspb.Message.setField(this, 18, undefined);
2453
+ };
2454
+
2455
+
2456
+ /**
2457
+ * Returns whether this field is set.
2458
+ * @return {boolean}
2459
+ */
2460
+ proto.analytic.DashboardResponse.prototype.hasGgrBonus = function() {
2461
+ return jspb.Message.getField(this, 18) != null;
2462
+ };
2463
+
2464
+
2177
2465
 
2178
2466
 
2179
2467
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.172",
3
+ "version": "1.2.173",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {