protobuf-platform 1.2.738 → 1.2.739

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.738",
3
+ "version": "1.2.739",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {