protobuf-platform 1.2.419 → 1.2.421

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.
@@ -149,12 +149,18 @@ message BetPoint {
149
149
  optional int32 is_real_balance_allowed = 8;
150
150
  optional int32 is_bonus_balance_allowed = 9;
151
151
  }
152
+ message WagerPoint {
153
+ string currency = 1;
154
+ double multiplier = 2;
155
+ optional int32 is_active = 3;
156
+ }
152
157
  message PointItem {
153
158
  optional int32 id = 1;
154
159
  optional string type = 2;
155
160
  optional SignUpPoint sign_up_point = 3;
156
161
  optional DepositPoint deposit_point = 4;
157
162
  optional BetPoint bet_point = 5;
163
+ optional WagerPoint wager_point = 6;
158
164
  }
159
165
  //Point CRUD | Requests
160
166
  message PointRequest {
@@ -163,6 +169,7 @@ message PointRequest {
163
169
  optional SignUpPoint sign_up_point = 3;
164
170
  optional DepositPoint deposit_point = 4;
165
171
  optional BetPoint bet_point = 5;
172
+ optional WagerPoint wager_point = 6;
166
173
  }
167
174
  message GetPointRequest {
168
175
  int32 id = 1;
@@ -195,12 +202,14 @@ message UserLoyaltyResponse {
195
202
  optional int32 points_to_complete = 5;
196
203
  optional string image = 6;
197
204
  optional int32 current_points = 7;
205
+ optional double current_points_decimal = 8;
198
206
  }
199
207
  message UserLoyaltyPoint {
200
208
  int32 user_point_id = 1;
201
209
  string type = 2;
202
210
  int32 points = 3;
203
211
  optional string created = 4;
212
+ optional double points_decimal = 5;
204
213
  }
205
214
  message UserLoyaltyPointsResponse {
206
215
  repeated UserLoyaltyPoint items = 1;
@@ -53,6 +53,7 @@ goog.exportSymbol('proto.loyalty.SignUpPoint', null, global);
53
53
  goog.exportSymbol('proto.loyalty.UserLoyaltyPoint', null, global);
54
54
  goog.exportSymbol('proto.loyalty.UserLoyaltyPointsResponse', null, global);
55
55
  goog.exportSymbol('proto.loyalty.UserLoyaltyResponse', null, global);
56
+ goog.exportSymbol('proto.loyalty.WagerPoint', null, global);
56
57
  /**
57
58
  * Generated by JsPbCodeGenerator.
58
59
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -494,6 +495,27 @@ if (goog.DEBUG && !COMPILED) {
494
495
  */
495
496
  proto.loyalty.BetPoint.displayName = 'proto.loyalty.BetPoint';
496
497
  }
498
+ /**
499
+ * Generated by JsPbCodeGenerator.
500
+ * @param {Array=} opt_data Optional initial data array, typically from a
501
+ * server response, or constructed directly in Javascript. The array is used
502
+ * in place and becomes part of the constructed object. It is not cloned.
503
+ * If no data is provided, the constructed object will be empty, but still
504
+ * valid.
505
+ * @extends {jspb.Message}
506
+ * @constructor
507
+ */
508
+ proto.loyalty.WagerPoint = function(opt_data) {
509
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
510
+ };
511
+ goog.inherits(proto.loyalty.WagerPoint, jspb.Message);
512
+ if (goog.DEBUG && !COMPILED) {
513
+ /**
514
+ * @public
515
+ * @override
516
+ */
517
+ proto.loyalty.WagerPoint.displayName = 'proto.loyalty.WagerPoint';
518
+ }
497
519
  /**
498
520
  * Generated by JsPbCodeGenerator.
499
521
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -6518,6 +6540,214 @@ proto.loyalty.BetPoint.prototype.hasIsBonusBalanceAllowed = function() {
6518
6540
 
6519
6541
 
6520
6542
 
6543
+ if (jspb.Message.GENERATE_TO_OBJECT) {
6544
+ /**
6545
+ * Creates an object representation of this proto.
6546
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
6547
+ * Optional fields that are not set will be set to undefined.
6548
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6549
+ * For the list of reserved names please see:
6550
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
6551
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
6552
+ * JSPB instance for transitional soy proto support:
6553
+ * http://goto/soy-param-migration
6554
+ * @return {!Object}
6555
+ */
6556
+ proto.loyalty.WagerPoint.prototype.toObject = function(opt_includeInstance) {
6557
+ return proto.loyalty.WagerPoint.toObject(opt_includeInstance, this);
6558
+ };
6559
+
6560
+
6561
+ /**
6562
+ * Static version of the {@see toObject} method.
6563
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6564
+ * the JSPB instance for transitional soy proto support:
6565
+ * http://goto/soy-param-migration
6566
+ * @param {!proto.loyalty.WagerPoint} msg The msg instance to transform.
6567
+ * @return {!Object}
6568
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6569
+ */
6570
+ proto.loyalty.WagerPoint.toObject = function(includeInstance, msg) {
6571
+ var f, obj = {
6572
+ currency: jspb.Message.getFieldWithDefault(msg, 1, ""),
6573
+ multiplier: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0),
6574
+ isActive: jspb.Message.getFieldWithDefault(msg, 3, 0)
6575
+ };
6576
+
6577
+ if (includeInstance) {
6578
+ obj.$jspbMessageInstance = msg;
6579
+ }
6580
+ return obj;
6581
+ };
6582
+ }
6583
+
6584
+
6585
+ /**
6586
+ * Deserializes binary data (in protobuf wire format).
6587
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
6588
+ * @return {!proto.loyalty.WagerPoint}
6589
+ */
6590
+ proto.loyalty.WagerPoint.deserializeBinary = function(bytes) {
6591
+ var reader = new jspb.BinaryReader(bytes);
6592
+ var msg = new proto.loyalty.WagerPoint;
6593
+ return proto.loyalty.WagerPoint.deserializeBinaryFromReader(msg, reader);
6594
+ };
6595
+
6596
+
6597
+ /**
6598
+ * Deserializes binary data (in protobuf wire format) from the
6599
+ * given reader into the given message object.
6600
+ * @param {!proto.loyalty.WagerPoint} msg The message object to deserialize into.
6601
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6602
+ * @return {!proto.loyalty.WagerPoint}
6603
+ */
6604
+ proto.loyalty.WagerPoint.deserializeBinaryFromReader = function(msg, reader) {
6605
+ while (reader.nextField()) {
6606
+ if (reader.isEndGroup()) {
6607
+ break;
6608
+ }
6609
+ var field = reader.getFieldNumber();
6610
+ switch (field) {
6611
+ case 1:
6612
+ var value = /** @type {string} */ (reader.readString());
6613
+ msg.setCurrency(value);
6614
+ break;
6615
+ case 2:
6616
+ var value = /** @type {number} */ (reader.readDouble());
6617
+ msg.setMultiplier(value);
6618
+ break;
6619
+ case 3:
6620
+ var value = /** @type {number} */ (reader.readInt32());
6621
+ msg.setIsActive(value);
6622
+ break;
6623
+ default:
6624
+ reader.skipField();
6625
+ break;
6626
+ }
6627
+ }
6628
+ return msg;
6629
+ };
6630
+
6631
+
6632
+ /**
6633
+ * Serializes the message to binary data (in protobuf wire format).
6634
+ * @return {!Uint8Array}
6635
+ */
6636
+ proto.loyalty.WagerPoint.prototype.serializeBinary = function() {
6637
+ var writer = new jspb.BinaryWriter();
6638
+ proto.loyalty.WagerPoint.serializeBinaryToWriter(this, writer);
6639
+ return writer.getResultBuffer();
6640
+ };
6641
+
6642
+
6643
+ /**
6644
+ * Serializes the given message to binary data (in protobuf wire
6645
+ * format), writing to the given BinaryWriter.
6646
+ * @param {!proto.loyalty.WagerPoint} message
6647
+ * @param {!jspb.BinaryWriter} writer
6648
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6649
+ */
6650
+ proto.loyalty.WagerPoint.serializeBinaryToWriter = function(message, writer) {
6651
+ var f = undefined;
6652
+ f = message.getCurrency();
6653
+ if (f.length > 0) {
6654
+ writer.writeString(
6655
+ 1,
6656
+ f
6657
+ );
6658
+ }
6659
+ f = message.getMultiplier();
6660
+ if (f !== 0.0) {
6661
+ writer.writeDouble(
6662
+ 2,
6663
+ f
6664
+ );
6665
+ }
6666
+ f = /** @type {number} */ (jspb.Message.getField(message, 3));
6667
+ if (f != null) {
6668
+ writer.writeInt32(
6669
+ 3,
6670
+ f
6671
+ );
6672
+ }
6673
+ };
6674
+
6675
+
6676
+ /**
6677
+ * optional string currency = 1;
6678
+ * @return {string}
6679
+ */
6680
+ proto.loyalty.WagerPoint.prototype.getCurrency = function() {
6681
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
6682
+ };
6683
+
6684
+
6685
+ /**
6686
+ * @param {string} value
6687
+ * @return {!proto.loyalty.WagerPoint} returns this
6688
+ */
6689
+ proto.loyalty.WagerPoint.prototype.setCurrency = function(value) {
6690
+ return jspb.Message.setProto3StringField(this, 1, value);
6691
+ };
6692
+
6693
+
6694
+ /**
6695
+ * optional double multiplier = 2;
6696
+ * @return {number}
6697
+ */
6698
+ proto.loyalty.WagerPoint.prototype.getMultiplier = function() {
6699
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0));
6700
+ };
6701
+
6702
+
6703
+ /**
6704
+ * @param {number} value
6705
+ * @return {!proto.loyalty.WagerPoint} returns this
6706
+ */
6707
+ proto.loyalty.WagerPoint.prototype.setMultiplier = function(value) {
6708
+ return jspb.Message.setProto3FloatField(this, 2, value);
6709
+ };
6710
+
6711
+
6712
+ /**
6713
+ * optional int32 is_active = 3;
6714
+ * @return {number}
6715
+ */
6716
+ proto.loyalty.WagerPoint.prototype.getIsActive = function() {
6717
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
6718
+ };
6719
+
6720
+
6721
+ /**
6722
+ * @param {number} value
6723
+ * @return {!proto.loyalty.WagerPoint} returns this
6724
+ */
6725
+ proto.loyalty.WagerPoint.prototype.setIsActive = function(value) {
6726
+ return jspb.Message.setField(this, 3, value);
6727
+ };
6728
+
6729
+
6730
+ /**
6731
+ * Clears the field making it undefined.
6732
+ * @return {!proto.loyalty.WagerPoint} returns this
6733
+ */
6734
+ proto.loyalty.WagerPoint.prototype.clearIsActive = function() {
6735
+ return jspb.Message.setField(this, 3, undefined);
6736
+ };
6737
+
6738
+
6739
+ /**
6740
+ * Returns whether this field is set.
6741
+ * @return {boolean}
6742
+ */
6743
+ proto.loyalty.WagerPoint.prototype.hasIsActive = function() {
6744
+ return jspb.Message.getField(this, 3) != null;
6745
+ };
6746
+
6747
+
6748
+
6749
+
6750
+
6521
6751
  if (jspb.Message.GENERATE_TO_OBJECT) {
6522
6752
  /**
6523
6753
  * Creates an object representation of this proto.
@@ -6551,7 +6781,8 @@ proto.loyalty.PointItem.toObject = function(includeInstance, msg) {
6551
6781
  type: jspb.Message.getFieldWithDefault(msg, 2, ""),
6552
6782
  signUpPoint: (f = msg.getSignUpPoint()) && proto.loyalty.SignUpPoint.toObject(includeInstance, f),
6553
6783
  depositPoint: (f = msg.getDepositPoint()) && proto.loyalty.DepositPoint.toObject(includeInstance, f),
6554
- betPoint: (f = msg.getBetPoint()) && proto.loyalty.BetPoint.toObject(includeInstance, f)
6784
+ betPoint: (f = msg.getBetPoint()) && proto.loyalty.BetPoint.toObject(includeInstance, f),
6785
+ wagerPoint: (f = msg.getWagerPoint()) && proto.loyalty.WagerPoint.toObject(includeInstance, f)
6555
6786
  };
6556
6787
 
6557
6788
  if (includeInstance) {
@@ -6611,6 +6842,11 @@ proto.loyalty.PointItem.deserializeBinaryFromReader = function(msg, reader) {
6611
6842
  reader.readMessage(value,proto.loyalty.BetPoint.deserializeBinaryFromReader);
6612
6843
  msg.setBetPoint(value);
6613
6844
  break;
6845
+ case 6:
6846
+ var value = new proto.loyalty.WagerPoint;
6847
+ reader.readMessage(value,proto.loyalty.WagerPoint.deserializeBinaryFromReader);
6848
+ msg.setWagerPoint(value);
6849
+ break;
6614
6850
  default:
6615
6851
  reader.skipField();
6616
6852
  break;
@@ -6678,6 +6914,14 @@ proto.loyalty.PointItem.serializeBinaryToWriter = function(message, writer) {
6678
6914
  proto.loyalty.BetPoint.serializeBinaryToWriter
6679
6915
  );
6680
6916
  }
6917
+ f = message.getWagerPoint();
6918
+ if (f != null) {
6919
+ writer.writeMessage(
6920
+ 6,
6921
+ f,
6922
+ proto.loyalty.WagerPoint.serializeBinaryToWriter
6923
+ );
6924
+ }
6681
6925
  };
6682
6926
 
6683
6927
 
@@ -6864,6 +7108,43 @@ proto.loyalty.PointItem.prototype.hasBetPoint = function() {
6864
7108
  };
6865
7109
 
6866
7110
 
7111
+ /**
7112
+ * optional WagerPoint wager_point = 6;
7113
+ * @return {?proto.loyalty.WagerPoint}
7114
+ */
7115
+ proto.loyalty.PointItem.prototype.getWagerPoint = function() {
7116
+ return /** @type{?proto.loyalty.WagerPoint} */ (
7117
+ jspb.Message.getWrapperField(this, proto.loyalty.WagerPoint, 6));
7118
+ };
7119
+
7120
+
7121
+ /**
7122
+ * @param {?proto.loyalty.WagerPoint|undefined} value
7123
+ * @return {!proto.loyalty.PointItem} returns this
7124
+ */
7125
+ proto.loyalty.PointItem.prototype.setWagerPoint = function(value) {
7126
+ return jspb.Message.setWrapperField(this, 6, value);
7127
+ };
7128
+
7129
+
7130
+ /**
7131
+ * Clears the message field making it undefined.
7132
+ * @return {!proto.loyalty.PointItem} returns this
7133
+ */
7134
+ proto.loyalty.PointItem.prototype.clearWagerPoint = function() {
7135
+ return this.setWagerPoint(undefined);
7136
+ };
7137
+
7138
+
7139
+ /**
7140
+ * Returns whether this field is set.
7141
+ * @return {boolean}
7142
+ */
7143
+ proto.loyalty.PointItem.prototype.hasWagerPoint = function() {
7144
+ return jspb.Message.getField(this, 6) != null;
7145
+ };
7146
+
7147
+
6867
7148
 
6868
7149
 
6869
7150
 
@@ -6900,7 +7181,8 @@ proto.loyalty.PointRequest.toObject = function(includeInstance, msg) {
6900
7181
  type: jspb.Message.getFieldWithDefault(msg, 2, ""),
6901
7182
  signUpPoint: (f = msg.getSignUpPoint()) && proto.loyalty.SignUpPoint.toObject(includeInstance, f),
6902
7183
  depositPoint: (f = msg.getDepositPoint()) && proto.loyalty.DepositPoint.toObject(includeInstance, f),
6903
- betPoint: (f = msg.getBetPoint()) && proto.loyalty.BetPoint.toObject(includeInstance, f)
7184
+ betPoint: (f = msg.getBetPoint()) && proto.loyalty.BetPoint.toObject(includeInstance, f),
7185
+ wagerPoint: (f = msg.getWagerPoint()) && proto.loyalty.WagerPoint.toObject(includeInstance, f)
6904
7186
  };
6905
7187
 
6906
7188
  if (includeInstance) {
@@ -6960,6 +7242,11 @@ proto.loyalty.PointRequest.deserializeBinaryFromReader = function(msg, reader) {
6960
7242
  reader.readMessage(value,proto.loyalty.BetPoint.deserializeBinaryFromReader);
6961
7243
  msg.setBetPoint(value);
6962
7244
  break;
7245
+ case 6:
7246
+ var value = new proto.loyalty.WagerPoint;
7247
+ reader.readMessage(value,proto.loyalty.WagerPoint.deserializeBinaryFromReader);
7248
+ msg.setWagerPoint(value);
7249
+ break;
6963
7250
  default:
6964
7251
  reader.skipField();
6965
7252
  break;
@@ -7027,6 +7314,14 @@ proto.loyalty.PointRequest.serializeBinaryToWriter = function(message, writer) {
7027
7314
  proto.loyalty.BetPoint.serializeBinaryToWriter
7028
7315
  );
7029
7316
  }
7317
+ f = message.getWagerPoint();
7318
+ if (f != null) {
7319
+ writer.writeMessage(
7320
+ 6,
7321
+ f,
7322
+ proto.loyalty.WagerPoint.serializeBinaryToWriter
7323
+ );
7324
+ }
7030
7325
  };
7031
7326
 
7032
7327
 
@@ -7213,6 +7508,43 @@ proto.loyalty.PointRequest.prototype.hasBetPoint = function() {
7213
7508
  };
7214
7509
 
7215
7510
 
7511
+ /**
7512
+ * optional WagerPoint wager_point = 6;
7513
+ * @return {?proto.loyalty.WagerPoint}
7514
+ */
7515
+ proto.loyalty.PointRequest.prototype.getWagerPoint = function() {
7516
+ return /** @type{?proto.loyalty.WagerPoint} */ (
7517
+ jspb.Message.getWrapperField(this, proto.loyalty.WagerPoint, 6));
7518
+ };
7519
+
7520
+
7521
+ /**
7522
+ * @param {?proto.loyalty.WagerPoint|undefined} value
7523
+ * @return {!proto.loyalty.PointRequest} returns this
7524
+ */
7525
+ proto.loyalty.PointRequest.prototype.setWagerPoint = function(value) {
7526
+ return jspb.Message.setWrapperField(this, 6, value);
7527
+ };
7528
+
7529
+
7530
+ /**
7531
+ * Clears the message field making it undefined.
7532
+ * @return {!proto.loyalty.PointRequest} returns this
7533
+ */
7534
+ proto.loyalty.PointRequest.prototype.clearWagerPoint = function() {
7535
+ return this.setWagerPoint(undefined);
7536
+ };
7537
+
7538
+
7539
+ /**
7540
+ * Returns whether this field is set.
7541
+ * @return {boolean}
7542
+ */
7543
+ proto.loyalty.PointRequest.prototype.hasWagerPoint = function() {
7544
+ return jspb.Message.getField(this, 6) != null;
7545
+ };
7546
+
7547
+
7216
7548
 
7217
7549
 
7218
7550
 
@@ -8222,7 +8554,8 @@ proto.loyalty.UserLoyaltyResponse.toObject = function(includeInstance, msg) {
8222
8554
  description: jspb.Message.getFieldWithDefault(msg, 4, ""),
8223
8555
  pointsToComplete: jspb.Message.getFieldWithDefault(msg, 5, 0),
8224
8556
  image: jspb.Message.getFieldWithDefault(msg, 6, ""),
8225
- currentPoints: jspb.Message.getFieldWithDefault(msg, 7, 0)
8557
+ currentPoints: jspb.Message.getFieldWithDefault(msg, 7, 0),
8558
+ currentPointsDecimal: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0)
8226
8559
  };
8227
8560
 
8228
8561
  if (includeInstance) {
@@ -8287,6 +8620,10 @@ proto.loyalty.UserLoyaltyResponse.deserializeBinaryFromReader = function(msg, re
8287
8620
  var value = /** @type {number} */ (reader.readInt32());
8288
8621
  msg.setCurrentPoints(value);
8289
8622
  break;
8623
+ case 8:
8624
+ var value = /** @type {number} */ (reader.readDouble());
8625
+ msg.setCurrentPointsDecimal(value);
8626
+ break;
8290
8627
  default:
8291
8628
  reader.skipField();
8292
8629
  break;
@@ -8365,6 +8702,13 @@ proto.loyalty.UserLoyaltyResponse.serializeBinaryToWriter = function(message, wr
8365
8702
  f
8366
8703
  );
8367
8704
  }
8705
+ f = /** @type {number} */ (jspb.Message.getField(message, 8));
8706
+ if (f != null) {
8707
+ writer.writeDouble(
8708
+ 8,
8709
+ f
8710
+ );
8711
+ }
8368
8712
  };
8369
8713
 
8370
8714
 
@@ -8620,6 +8964,42 @@ proto.loyalty.UserLoyaltyResponse.prototype.hasCurrentPoints = function() {
8620
8964
  };
8621
8965
 
8622
8966
 
8967
+ /**
8968
+ * optional double current_points_decimal = 8;
8969
+ * @return {number}
8970
+ */
8971
+ proto.loyalty.UserLoyaltyResponse.prototype.getCurrentPointsDecimal = function() {
8972
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0));
8973
+ };
8974
+
8975
+
8976
+ /**
8977
+ * @param {number} value
8978
+ * @return {!proto.loyalty.UserLoyaltyResponse} returns this
8979
+ */
8980
+ proto.loyalty.UserLoyaltyResponse.prototype.setCurrentPointsDecimal = function(value) {
8981
+ return jspb.Message.setField(this, 8, value);
8982
+ };
8983
+
8984
+
8985
+ /**
8986
+ * Clears the field making it undefined.
8987
+ * @return {!proto.loyalty.UserLoyaltyResponse} returns this
8988
+ */
8989
+ proto.loyalty.UserLoyaltyResponse.prototype.clearCurrentPointsDecimal = function() {
8990
+ return jspb.Message.setField(this, 8, undefined);
8991
+ };
8992
+
8993
+
8994
+ /**
8995
+ * Returns whether this field is set.
8996
+ * @return {boolean}
8997
+ */
8998
+ proto.loyalty.UserLoyaltyResponse.prototype.hasCurrentPointsDecimal = function() {
8999
+ return jspb.Message.getField(this, 8) != null;
9000
+ };
9001
+
9002
+
8623
9003
 
8624
9004
 
8625
9005
 
@@ -8655,7 +9035,8 @@ proto.loyalty.UserLoyaltyPoint.toObject = function(includeInstance, msg) {
8655
9035
  userPointId: jspb.Message.getFieldWithDefault(msg, 1, 0),
8656
9036
  type: jspb.Message.getFieldWithDefault(msg, 2, ""),
8657
9037
  points: jspb.Message.getFieldWithDefault(msg, 3, 0),
8658
- created: jspb.Message.getFieldWithDefault(msg, 4, "")
9038
+ created: jspb.Message.getFieldWithDefault(msg, 4, ""),
9039
+ pointsDecimal: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0)
8659
9040
  };
8660
9041
 
8661
9042
  if (includeInstance) {
@@ -8708,6 +9089,10 @@ proto.loyalty.UserLoyaltyPoint.deserializeBinaryFromReader = function(msg, reade
8708
9089
  var value = /** @type {string} */ (reader.readString());
8709
9090
  msg.setCreated(value);
8710
9091
  break;
9092
+ case 5:
9093
+ var value = /** @type {number} */ (reader.readDouble());
9094
+ msg.setPointsDecimal(value);
9095
+ break;
8711
9096
  default:
8712
9097
  reader.skipField();
8713
9098
  break;
@@ -8765,6 +9150,13 @@ proto.loyalty.UserLoyaltyPoint.serializeBinaryToWriter = function(message, write
8765
9150
  f
8766
9151
  );
8767
9152
  }
9153
+ f = /** @type {number} */ (jspb.Message.getField(message, 5));
9154
+ if (f != null) {
9155
+ writer.writeDouble(
9156
+ 5,
9157
+ f
9158
+ );
9159
+ }
8768
9160
  };
8769
9161
 
8770
9162
 
@@ -8858,6 +9250,42 @@ proto.loyalty.UserLoyaltyPoint.prototype.hasCreated = function() {
8858
9250
  };
8859
9251
 
8860
9252
 
9253
+ /**
9254
+ * optional double points_decimal = 5;
9255
+ * @return {number}
9256
+ */
9257
+ proto.loyalty.UserLoyaltyPoint.prototype.getPointsDecimal = function() {
9258
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
9259
+ };
9260
+
9261
+
9262
+ /**
9263
+ * @param {number} value
9264
+ * @return {!proto.loyalty.UserLoyaltyPoint} returns this
9265
+ */
9266
+ proto.loyalty.UserLoyaltyPoint.prototype.setPointsDecimal = function(value) {
9267
+ return jspb.Message.setField(this, 5, value);
9268
+ };
9269
+
9270
+
9271
+ /**
9272
+ * Clears the field making it undefined.
9273
+ * @return {!proto.loyalty.UserLoyaltyPoint} returns this
9274
+ */
9275
+ proto.loyalty.UserLoyaltyPoint.prototype.clearPointsDecimal = function() {
9276
+ return jspb.Message.setField(this, 5, undefined);
9277
+ };
9278
+
9279
+
9280
+ /**
9281
+ * Returns whether this field is set.
9282
+ * @return {boolean}
9283
+ */
9284
+ proto.loyalty.UserLoyaltyPoint.prototype.hasPointsDecimal = function() {
9285
+ return jspb.Message.getField(this, 5) != null;
9286
+ };
9287
+
9288
+
8861
9289
 
8862
9290
  /**
8863
9291
  * 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.419",
3
+ "version": "1.2.421",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {