protobuf-platform 1.2.738 → 1.2.740

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.
@@ -138,6 +138,13 @@ message GlobalCasinoItem {
138
138
  optional float in_out_sum = 19;
139
139
  optional float in_out_percentages = 20;
140
140
  optional float dep_to_active_player = 21;
141
+ // Exact USD strings for Global Common. Legacy float fields retain their tags.
142
+ optional string total_turnover_decimal = 22;
143
+ optional string total_ggr_decimal = 23;
144
+ optional string real_turnover_decimal = 24;
145
+ optional string real_ggr_decimal = 25;
146
+ optional string bonus_turnover_decimal = 26;
147
+ optional string bonus_ggr_decimal = 27;
141
148
  }
142
149
 
143
150
  message GlobalCasinoResponse {
@@ -4068,7 +4068,13 @@ proto.analytic.GlobalCasinoItem.toObject = function(includeInstance, msg) {
4068
4068
  bonusGgr: jspb.Message.getFloatingPointFieldWithDefault(msg, 18, 0.0),
4069
4069
  inOutSum: jspb.Message.getFloatingPointFieldWithDefault(msg, 19, 0.0),
4070
4070
  inOutPercentages: jspb.Message.getFloatingPointFieldWithDefault(msg, 20, 0.0),
4071
- depToActivePlayer: jspb.Message.getFloatingPointFieldWithDefault(msg, 21, 0.0)
4071
+ depToActivePlayer: jspb.Message.getFloatingPointFieldWithDefault(msg, 21, 0.0),
4072
+ totalTurnoverDecimal: jspb.Message.getFieldWithDefault(msg, 22, ""),
4073
+ totalGgrDecimal: jspb.Message.getFieldWithDefault(msg, 23, ""),
4074
+ realTurnoverDecimal: jspb.Message.getFieldWithDefault(msg, 24, ""),
4075
+ realGgrDecimal: jspb.Message.getFieldWithDefault(msg, 25, ""),
4076
+ bonusTurnoverDecimal: jspb.Message.getFieldWithDefault(msg, 26, ""),
4077
+ bonusGgrDecimal: jspb.Message.getFieldWithDefault(msg, 27, "")
4072
4078
  };
4073
4079
 
4074
4080
  if (includeInstance) {
@@ -4189,6 +4195,30 @@ proto.analytic.GlobalCasinoItem.deserializeBinaryFromReader = function(msg, read
4189
4195
  var value = /** @type {number} */ (reader.readFloat());
4190
4196
  msg.setDepToActivePlayer(value);
4191
4197
  break;
4198
+ case 22:
4199
+ var value = /** @type {string} */ (reader.readString());
4200
+ msg.setTotalTurnoverDecimal(value);
4201
+ break;
4202
+ case 23:
4203
+ var value = /** @type {string} */ (reader.readString());
4204
+ msg.setTotalGgrDecimal(value);
4205
+ break;
4206
+ case 24:
4207
+ var value = /** @type {string} */ (reader.readString());
4208
+ msg.setRealTurnoverDecimal(value);
4209
+ break;
4210
+ case 25:
4211
+ var value = /** @type {string} */ (reader.readString());
4212
+ msg.setRealGgrDecimal(value);
4213
+ break;
4214
+ case 26:
4215
+ var value = /** @type {string} */ (reader.readString());
4216
+ msg.setBonusTurnoverDecimal(value);
4217
+ break;
4218
+ case 27:
4219
+ var value = /** @type {string} */ (reader.readString());
4220
+ msg.setBonusGgrDecimal(value);
4221
+ break;
4192
4222
  default:
4193
4223
  reader.skipField();
4194
4224
  break;
@@ -4365,6 +4395,48 @@ proto.analytic.GlobalCasinoItem.serializeBinaryToWriter = function(message, writ
4365
4395
  f
4366
4396
  );
4367
4397
  }
4398
+ f = /** @type {string} */ (jspb.Message.getField(message, 22));
4399
+ if (f != null) {
4400
+ writer.writeString(
4401
+ 22,
4402
+ f
4403
+ );
4404
+ }
4405
+ f = /** @type {string} */ (jspb.Message.getField(message, 23));
4406
+ if (f != null) {
4407
+ writer.writeString(
4408
+ 23,
4409
+ f
4410
+ );
4411
+ }
4412
+ f = /** @type {string} */ (jspb.Message.getField(message, 24));
4413
+ if (f != null) {
4414
+ writer.writeString(
4415
+ 24,
4416
+ f
4417
+ );
4418
+ }
4419
+ f = /** @type {string} */ (jspb.Message.getField(message, 25));
4420
+ if (f != null) {
4421
+ writer.writeString(
4422
+ 25,
4423
+ f
4424
+ );
4425
+ }
4426
+ f = /** @type {string} */ (jspb.Message.getField(message, 26));
4427
+ if (f != null) {
4428
+ writer.writeString(
4429
+ 26,
4430
+ f
4431
+ );
4432
+ }
4433
+ f = /** @type {string} */ (jspb.Message.getField(message, 27));
4434
+ if (f != null) {
4435
+ writer.writeString(
4436
+ 27,
4437
+ f
4438
+ );
4439
+ }
4368
4440
  };
4369
4441
 
4370
4442
 
@@ -5106,6 +5178,222 @@ proto.analytic.GlobalCasinoItem.prototype.hasDepToActivePlayer = function() {
5106
5178
  };
5107
5179
 
5108
5180
 
5181
+ /**
5182
+ * optional string total_turnover_decimal = 22;
5183
+ * @return {string}
5184
+ */
5185
+ proto.analytic.GlobalCasinoItem.prototype.getTotalTurnoverDecimal = function() {
5186
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 22, ""));
5187
+ };
5188
+
5189
+
5190
+ /**
5191
+ * @param {string} value
5192
+ * @return {!proto.analytic.GlobalCasinoItem} returns this
5193
+ */
5194
+ proto.analytic.GlobalCasinoItem.prototype.setTotalTurnoverDecimal = function(value) {
5195
+ return jspb.Message.setField(this, 22, value);
5196
+ };
5197
+
5198
+
5199
+ /**
5200
+ * Clears the field making it undefined.
5201
+ * @return {!proto.analytic.GlobalCasinoItem} returns this
5202
+ */
5203
+ proto.analytic.GlobalCasinoItem.prototype.clearTotalTurnoverDecimal = function() {
5204
+ return jspb.Message.setField(this, 22, undefined);
5205
+ };
5206
+
5207
+
5208
+ /**
5209
+ * Returns whether this field is set.
5210
+ * @return {boolean}
5211
+ */
5212
+ proto.analytic.GlobalCasinoItem.prototype.hasTotalTurnoverDecimal = function() {
5213
+ return jspb.Message.getField(this, 22) != null;
5214
+ };
5215
+
5216
+
5217
+ /**
5218
+ * optional string total_ggr_decimal = 23;
5219
+ * @return {string}
5220
+ */
5221
+ proto.analytic.GlobalCasinoItem.prototype.getTotalGgrDecimal = function() {
5222
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 23, ""));
5223
+ };
5224
+
5225
+
5226
+ /**
5227
+ * @param {string} value
5228
+ * @return {!proto.analytic.GlobalCasinoItem} returns this
5229
+ */
5230
+ proto.analytic.GlobalCasinoItem.prototype.setTotalGgrDecimal = function(value) {
5231
+ return jspb.Message.setField(this, 23, value);
5232
+ };
5233
+
5234
+
5235
+ /**
5236
+ * Clears the field making it undefined.
5237
+ * @return {!proto.analytic.GlobalCasinoItem} returns this
5238
+ */
5239
+ proto.analytic.GlobalCasinoItem.prototype.clearTotalGgrDecimal = function() {
5240
+ return jspb.Message.setField(this, 23, undefined);
5241
+ };
5242
+
5243
+
5244
+ /**
5245
+ * Returns whether this field is set.
5246
+ * @return {boolean}
5247
+ */
5248
+ proto.analytic.GlobalCasinoItem.prototype.hasTotalGgrDecimal = function() {
5249
+ return jspb.Message.getField(this, 23) != null;
5250
+ };
5251
+
5252
+
5253
+ /**
5254
+ * optional string real_turnover_decimal = 24;
5255
+ * @return {string}
5256
+ */
5257
+ proto.analytic.GlobalCasinoItem.prototype.getRealTurnoverDecimal = function() {
5258
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 24, ""));
5259
+ };
5260
+
5261
+
5262
+ /**
5263
+ * @param {string} value
5264
+ * @return {!proto.analytic.GlobalCasinoItem} returns this
5265
+ */
5266
+ proto.analytic.GlobalCasinoItem.prototype.setRealTurnoverDecimal = function(value) {
5267
+ return jspb.Message.setField(this, 24, value);
5268
+ };
5269
+
5270
+
5271
+ /**
5272
+ * Clears the field making it undefined.
5273
+ * @return {!proto.analytic.GlobalCasinoItem} returns this
5274
+ */
5275
+ proto.analytic.GlobalCasinoItem.prototype.clearRealTurnoverDecimal = function() {
5276
+ return jspb.Message.setField(this, 24, undefined);
5277
+ };
5278
+
5279
+
5280
+ /**
5281
+ * Returns whether this field is set.
5282
+ * @return {boolean}
5283
+ */
5284
+ proto.analytic.GlobalCasinoItem.prototype.hasRealTurnoverDecimal = function() {
5285
+ return jspb.Message.getField(this, 24) != null;
5286
+ };
5287
+
5288
+
5289
+ /**
5290
+ * optional string real_ggr_decimal = 25;
5291
+ * @return {string}
5292
+ */
5293
+ proto.analytic.GlobalCasinoItem.prototype.getRealGgrDecimal = function() {
5294
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 25, ""));
5295
+ };
5296
+
5297
+
5298
+ /**
5299
+ * @param {string} value
5300
+ * @return {!proto.analytic.GlobalCasinoItem} returns this
5301
+ */
5302
+ proto.analytic.GlobalCasinoItem.prototype.setRealGgrDecimal = function(value) {
5303
+ return jspb.Message.setField(this, 25, value);
5304
+ };
5305
+
5306
+
5307
+ /**
5308
+ * Clears the field making it undefined.
5309
+ * @return {!proto.analytic.GlobalCasinoItem} returns this
5310
+ */
5311
+ proto.analytic.GlobalCasinoItem.prototype.clearRealGgrDecimal = function() {
5312
+ return jspb.Message.setField(this, 25, undefined);
5313
+ };
5314
+
5315
+
5316
+ /**
5317
+ * Returns whether this field is set.
5318
+ * @return {boolean}
5319
+ */
5320
+ proto.analytic.GlobalCasinoItem.prototype.hasRealGgrDecimal = function() {
5321
+ return jspb.Message.getField(this, 25) != null;
5322
+ };
5323
+
5324
+
5325
+ /**
5326
+ * optional string bonus_turnover_decimal = 26;
5327
+ * @return {string}
5328
+ */
5329
+ proto.analytic.GlobalCasinoItem.prototype.getBonusTurnoverDecimal = function() {
5330
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 26, ""));
5331
+ };
5332
+
5333
+
5334
+ /**
5335
+ * @param {string} value
5336
+ * @return {!proto.analytic.GlobalCasinoItem} returns this
5337
+ */
5338
+ proto.analytic.GlobalCasinoItem.prototype.setBonusTurnoverDecimal = function(value) {
5339
+ return jspb.Message.setField(this, 26, value);
5340
+ };
5341
+
5342
+
5343
+ /**
5344
+ * Clears the field making it undefined.
5345
+ * @return {!proto.analytic.GlobalCasinoItem} returns this
5346
+ */
5347
+ proto.analytic.GlobalCasinoItem.prototype.clearBonusTurnoverDecimal = function() {
5348
+ return jspb.Message.setField(this, 26, undefined);
5349
+ };
5350
+
5351
+
5352
+ /**
5353
+ * Returns whether this field is set.
5354
+ * @return {boolean}
5355
+ */
5356
+ proto.analytic.GlobalCasinoItem.prototype.hasBonusTurnoverDecimal = function() {
5357
+ return jspb.Message.getField(this, 26) != null;
5358
+ };
5359
+
5360
+
5361
+ /**
5362
+ * optional string bonus_ggr_decimal = 27;
5363
+ * @return {string}
5364
+ */
5365
+ proto.analytic.GlobalCasinoItem.prototype.getBonusGgrDecimal = function() {
5366
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 27, ""));
5367
+ };
5368
+
5369
+
5370
+ /**
5371
+ * @param {string} value
5372
+ * @return {!proto.analytic.GlobalCasinoItem} returns this
5373
+ */
5374
+ proto.analytic.GlobalCasinoItem.prototype.setBonusGgrDecimal = function(value) {
5375
+ return jspb.Message.setField(this, 27, value);
5376
+ };
5377
+
5378
+
5379
+ /**
5380
+ * Clears the field making it undefined.
5381
+ * @return {!proto.analytic.GlobalCasinoItem} returns this
5382
+ */
5383
+ proto.analytic.GlobalCasinoItem.prototype.clearBonusGgrDecimal = function() {
5384
+ return jspb.Message.setField(this, 27, undefined);
5385
+ };
5386
+
5387
+
5388
+ /**
5389
+ * Returns whether this field is set.
5390
+ * @return {boolean}
5391
+ */
5392
+ proto.analytic.GlobalCasinoItem.prototype.hasBonusGgrDecimal = function() {
5393
+ return jspb.Message.getField(this, 27) != null;
5394
+ };
5395
+
5396
+
5109
5397
 
5110
5398
  /**
5111
5399
  * List of repeated fields within this message type.
package/bet/bet.proto CHANGED
@@ -584,6 +584,10 @@ message CommittedCasinoBooking {
584
584
  CasinoBookingEvidence original_amounts = 14;
585
585
  repeated CasinoBookingReversal reversals = 15;
586
586
  repeated string missing_evidence = 16;
587
+ // Original Bet count classification, including the single count for a mixed wager.
588
+ optional string count_side = 17;
589
+ // Game delivery identity time. Accounting uses the committed row's created_at_utc.
590
+ optional string game_event_time_utc = 18;
587
591
  }
588
592
 
589
593
  // Unsigned magnitudes. An absent field represents unavailable evidence.
package/bet/bet_pb.js CHANGED
@@ -22115,7 +22115,9 @@ proto.bet.CommittedCasinoBooking.toObject = function(includeInstance, msg) {
22115
22115
  originalAmounts: (f = msg.getOriginalAmounts()) && proto.bet.CasinoBookingEvidence.toObject(includeInstance, f),
22116
22116
  reversalsList: jspb.Message.toObjectList(msg.getReversalsList(),
22117
22117
  proto.bet.CasinoBookingReversal.toObject, includeInstance),
22118
- missingEvidenceList: (f = jspb.Message.getRepeatedField(msg, 16)) == null ? undefined : f
22118
+ missingEvidenceList: (f = jspb.Message.getRepeatedField(msg, 16)) == null ? undefined : f,
22119
+ countSide: jspb.Message.getFieldWithDefault(msg, 17, ""),
22120
+ gameEventTimeUtc: jspb.Message.getFieldWithDefault(msg, 18, "")
22119
22121
  };
22120
22122
 
22121
22123
  if (includeInstance) {
@@ -22218,6 +22220,14 @@ proto.bet.CommittedCasinoBooking.deserializeBinaryFromReader = function(msg, rea
22218
22220
  var value = /** @type {string} */ (reader.readString());
22219
22221
  msg.addMissingEvidence(value);
22220
22222
  break;
22223
+ case 17:
22224
+ var value = /** @type {string} */ (reader.readString());
22225
+ msg.setCountSide(value);
22226
+ break;
22227
+ case 18:
22228
+ var value = /** @type {string} */ (reader.readString());
22229
+ msg.setGameEventTimeUtc(value);
22230
+ break;
22221
22231
  default:
22222
22232
  reader.skipField();
22223
22233
  break;
@@ -22361,6 +22371,20 @@ proto.bet.CommittedCasinoBooking.serializeBinaryToWriter = function(message, wri
22361
22371
  f
22362
22372
  );
22363
22373
  }
22374
+ f = /** @type {string} */ (jspb.Message.getField(message, 17));
22375
+ if (f != null) {
22376
+ writer.writeString(
22377
+ 17,
22378
+ f
22379
+ );
22380
+ }
22381
+ f = /** @type {string} */ (jspb.Message.getField(message, 18));
22382
+ if (f != null) {
22383
+ writer.writeString(
22384
+ 18,
22385
+ f
22386
+ );
22387
+ }
22364
22388
  };
22365
22389
 
22366
22390
 
@@ -22800,6 +22824,78 @@ proto.bet.CommittedCasinoBooking.prototype.clearMissingEvidenceList = function()
22800
22824
  };
22801
22825
 
22802
22826
 
22827
+ /**
22828
+ * optional string count_side = 17;
22829
+ * @return {string}
22830
+ */
22831
+ proto.bet.CommittedCasinoBooking.prototype.getCountSide = function() {
22832
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
22833
+ };
22834
+
22835
+
22836
+ /**
22837
+ * @param {string} value
22838
+ * @return {!proto.bet.CommittedCasinoBooking} returns this
22839
+ */
22840
+ proto.bet.CommittedCasinoBooking.prototype.setCountSide = function(value) {
22841
+ return jspb.Message.setField(this, 17, value);
22842
+ };
22843
+
22844
+
22845
+ /**
22846
+ * Clears the field making it undefined.
22847
+ * @return {!proto.bet.CommittedCasinoBooking} returns this
22848
+ */
22849
+ proto.bet.CommittedCasinoBooking.prototype.clearCountSide = function() {
22850
+ return jspb.Message.setField(this, 17, undefined);
22851
+ };
22852
+
22853
+
22854
+ /**
22855
+ * Returns whether this field is set.
22856
+ * @return {boolean}
22857
+ */
22858
+ proto.bet.CommittedCasinoBooking.prototype.hasCountSide = function() {
22859
+ return jspb.Message.getField(this, 17) != null;
22860
+ };
22861
+
22862
+
22863
+ /**
22864
+ * optional string game_event_time_utc = 18;
22865
+ * @return {string}
22866
+ */
22867
+ proto.bet.CommittedCasinoBooking.prototype.getGameEventTimeUtc = function() {
22868
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
22869
+ };
22870
+
22871
+
22872
+ /**
22873
+ * @param {string} value
22874
+ * @return {!proto.bet.CommittedCasinoBooking} returns this
22875
+ */
22876
+ proto.bet.CommittedCasinoBooking.prototype.setGameEventTimeUtc = function(value) {
22877
+ return jspb.Message.setField(this, 18, value);
22878
+ };
22879
+
22880
+
22881
+ /**
22882
+ * Clears the field making it undefined.
22883
+ * @return {!proto.bet.CommittedCasinoBooking} returns this
22884
+ */
22885
+ proto.bet.CommittedCasinoBooking.prototype.clearGameEventTimeUtc = function() {
22886
+ return jspb.Message.setField(this, 18, undefined);
22887
+ };
22888
+
22889
+
22890
+ /**
22891
+ * Returns whether this field is set.
22892
+ * @return {boolean}
22893
+ */
22894
+ proto.bet.CommittedCasinoBooking.prototype.hasGameEventTimeUtc = function() {
22895
+ return jspb.Message.getField(this, 18) != null;
22896
+ };
22897
+
22898
+
22803
22899
 
22804
22900
 
22805
22901
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.738",
3
+ "version": "1.2.740",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {