protobuf-platform 1.2.671 → 1.2.672

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.
@@ -227,6 +227,9 @@ message WagerPoint {
227
227
  optional string game_type = 7;
228
228
  optional int32 provider_id = 8;
229
229
  repeated int32 game_ids = 9;
230
+ optional int32 loyalty_level_id = 10;
231
+ optional double loyalty_multiplier = 11;
232
+ optional bool clear_loyalty_override = 12;
230
233
  }
231
234
  message PointItem {
232
235
  optional int32 id = 1;
@@ -9753,7 +9753,10 @@ proto.loyalty.WagerPoint.toObject = function(includeInstance, msg) {
9753
9753
  scope: jspb.Message.getFieldWithDefault(msg, 6, ""),
9754
9754
  gameType: jspb.Message.getFieldWithDefault(msg, 7, ""),
9755
9755
  providerId: jspb.Message.getFieldWithDefault(msg, 8, 0),
9756
- gameIdsList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f
9756
+ gameIdsList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f,
9757
+ loyaltyLevelId: jspb.Message.getFieldWithDefault(msg, 10, 0),
9758
+ loyaltyMultiplier: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0),
9759
+ clearLoyaltyOverride: jspb.Message.getBooleanFieldWithDefault(msg, 12, false)
9757
9760
  };
9758
9761
 
9759
9762
  if (includeInstance) {
@@ -9828,6 +9831,18 @@ proto.loyalty.WagerPoint.deserializeBinaryFromReader = function(msg, reader) {
9828
9831
  msg.addGameIds(values[i]);
9829
9832
  }
9830
9833
  break;
9834
+ case 10:
9835
+ var value = /** @type {number} */ (reader.readInt32());
9836
+ msg.setLoyaltyLevelId(value);
9837
+ break;
9838
+ case 11:
9839
+ var value = /** @type {number} */ (reader.readDouble());
9840
+ msg.setLoyaltyMultiplier(value);
9841
+ break;
9842
+ case 12:
9843
+ var value = /** @type {boolean} */ (reader.readBool());
9844
+ msg.setClearLoyaltyOverride(value);
9845
+ break;
9831
9846
  default:
9832
9847
  reader.skipField();
9833
9848
  break;
@@ -9920,6 +9935,27 @@ proto.loyalty.WagerPoint.serializeBinaryToWriter = function(message, writer) {
9920
9935
  f
9921
9936
  );
9922
9937
  }
9938
+ f = /** @type {number} */ (jspb.Message.getField(message, 10));
9939
+ if (f != null) {
9940
+ writer.writeInt32(
9941
+ 10,
9942
+ f
9943
+ );
9944
+ }
9945
+ f = /** @type {number} */ (jspb.Message.getField(message, 11));
9946
+ if (f != null) {
9947
+ writer.writeDouble(
9948
+ 11,
9949
+ f
9950
+ );
9951
+ }
9952
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 12));
9953
+ if (f != null) {
9954
+ writer.writeBool(
9955
+ 12,
9956
+ f
9957
+ );
9958
+ }
9923
9959
  };
9924
9960
 
9925
9961
 
@@ -10212,6 +10248,114 @@ proto.loyalty.WagerPoint.prototype.clearGameIdsList = function() {
10212
10248
  };
10213
10249
 
10214
10250
 
10251
+ /**
10252
+ * optional int32 loyalty_level_id = 10;
10253
+ * @return {number}
10254
+ */
10255
+ proto.loyalty.WagerPoint.prototype.getLoyaltyLevelId = function() {
10256
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
10257
+ };
10258
+
10259
+
10260
+ /**
10261
+ * @param {number} value
10262
+ * @return {!proto.loyalty.WagerPoint} returns this
10263
+ */
10264
+ proto.loyalty.WagerPoint.prototype.setLoyaltyLevelId = function(value) {
10265
+ return jspb.Message.setField(this, 10, value);
10266
+ };
10267
+
10268
+
10269
+ /**
10270
+ * Clears the field making it undefined.
10271
+ * @return {!proto.loyalty.WagerPoint} returns this
10272
+ */
10273
+ proto.loyalty.WagerPoint.prototype.clearLoyaltyLevelId = function() {
10274
+ return jspb.Message.setField(this, 10, undefined);
10275
+ };
10276
+
10277
+
10278
+ /**
10279
+ * Returns whether this field is set.
10280
+ * @return {boolean}
10281
+ */
10282
+ proto.loyalty.WagerPoint.prototype.hasLoyaltyLevelId = function() {
10283
+ return jspb.Message.getField(this, 10) != null;
10284
+ };
10285
+
10286
+
10287
+ /**
10288
+ * optional double loyalty_multiplier = 11;
10289
+ * @return {number}
10290
+ */
10291
+ proto.loyalty.WagerPoint.prototype.getLoyaltyMultiplier = function() {
10292
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 11, 0.0));
10293
+ };
10294
+
10295
+
10296
+ /**
10297
+ * @param {number} value
10298
+ * @return {!proto.loyalty.WagerPoint} returns this
10299
+ */
10300
+ proto.loyalty.WagerPoint.prototype.setLoyaltyMultiplier = function(value) {
10301
+ return jspb.Message.setField(this, 11, value);
10302
+ };
10303
+
10304
+
10305
+ /**
10306
+ * Clears the field making it undefined.
10307
+ * @return {!proto.loyalty.WagerPoint} returns this
10308
+ */
10309
+ proto.loyalty.WagerPoint.prototype.clearLoyaltyMultiplier = function() {
10310
+ return jspb.Message.setField(this, 11, undefined);
10311
+ };
10312
+
10313
+
10314
+ /**
10315
+ * Returns whether this field is set.
10316
+ * @return {boolean}
10317
+ */
10318
+ proto.loyalty.WagerPoint.prototype.hasLoyaltyMultiplier = function() {
10319
+ return jspb.Message.getField(this, 11) != null;
10320
+ };
10321
+
10322
+
10323
+ /**
10324
+ * optional bool clear_loyalty_override = 12;
10325
+ * @return {boolean}
10326
+ */
10327
+ proto.loyalty.WagerPoint.prototype.getClearLoyaltyOverride = function() {
10328
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 12, false));
10329
+ };
10330
+
10331
+
10332
+ /**
10333
+ * @param {boolean} value
10334
+ * @return {!proto.loyalty.WagerPoint} returns this
10335
+ */
10336
+ proto.loyalty.WagerPoint.prototype.setClearLoyaltyOverride = function(value) {
10337
+ return jspb.Message.setField(this, 12, value);
10338
+ };
10339
+
10340
+
10341
+ /**
10342
+ * Clears the field making it undefined.
10343
+ * @return {!proto.loyalty.WagerPoint} returns this
10344
+ */
10345
+ proto.loyalty.WagerPoint.prototype.clearClearLoyaltyOverride = function() {
10346
+ return jspb.Message.setField(this, 12, undefined);
10347
+ };
10348
+
10349
+
10350
+ /**
10351
+ * Returns whether this field is set.
10352
+ * @return {boolean}
10353
+ */
10354
+ proto.loyalty.WagerPoint.prototype.hasClearLoyaltyOverride = function() {
10355
+ return jspb.Message.getField(this, 12) != null;
10356
+ };
10357
+
10358
+
10215
10359
 
10216
10360
 
10217
10361
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.671",
3
+ "version": "1.2.672",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {