protobuf-platform 1.2.420 → 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.
- package/loyalty/loyalty.proto +2 -0
- package/loyalty/loyalty_pb.js +98 -2
- package/package.json +1 -1
package/loyalty/loyalty.proto
CHANGED
|
@@ -202,12 +202,14 @@ message UserLoyaltyResponse {
|
|
|
202
202
|
optional int32 points_to_complete = 5;
|
|
203
203
|
optional string image = 6;
|
|
204
204
|
optional int32 current_points = 7;
|
|
205
|
+
optional double current_points_decimal = 8;
|
|
205
206
|
}
|
|
206
207
|
message UserLoyaltyPoint {
|
|
207
208
|
int32 user_point_id = 1;
|
|
208
209
|
string type = 2;
|
|
209
210
|
int32 points = 3;
|
|
210
211
|
optional string created = 4;
|
|
212
|
+
optional double points_decimal = 5;
|
|
211
213
|
}
|
|
212
214
|
message UserLoyaltyPointsResponse {
|
|
213
215
|
repeated UserLoyaltyPoint items = 1;
|
package/loyalty/loyalty_pb.js
CHANGED
|
@@ -8554,7 +8554,8 @@ proto.loyalty.UserLoyaltyResponse.toObject = function(includeInstance, msg) {
|
|
|
8554
8554
|
description: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
8555
8555
|
pointsToComplete: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
8556
8556
|
image: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
8557
|
-
currentPoints: jspb.Message.getFieldWithDefault(msg, 7, 0)
|
|
8557
|
+
currentPoints: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
8558
|
+
currentPointsDecimal: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0)
|
|
8558
8559
|
};
|
|
8559
8560
|
|
|
8560
8561
|
if (includeInstance) {
|
|
@@ -8619,6 +8620,10 @@ proto.loyalty.UserLoyaltyResponse.deserializeBinaryFromReader = function(msg, re
|
|
|
8619
8620
|
var value = /** @type {number} */ (reader.readInt32());
|
|
8620
8621
|
msg.setCurrentPoints(value);
|
|
8621
8622
|
break;
|
|
8623
|
+
case 8:
|
|
8624
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
8625
|
+
msg.setCurrentPointsDecimal(value);
|
|
8626
|
+
break;
|
|
8622
8627
|
default:
|
|
8623
8628
|
reader.skipField();
|
|
8624
8629
|
break;
|
|
@@ -8697,6 +8702,13 @@ proto.loyalty.UserLoyaltyResponse.serializeBinaryToWriter = function(message, wr
|
|
|
8697
8702
|
f
|
|
8698
8703
|
);
|
|
8699
8704
|
}
|
|
8705
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 8));
|
|
8706
|
+
if (f != null) {
|
|
8707
|
+
writer.writeDouble(
|
|
8708
|
+
8,
|
|
8709
|
+
f
|
|
8710
|
+
);
|
|
8711
|
+
}
|
|
8700
8712
|
};
|
|
8701
8713
|
|
|
8702
8714
|
|
|
@@ -8952,6 +8964,42 @@ proto.loyalty.UserLoyaltyResponse.prototype.hasCurrentPoints = function() {
|
|
|
8952
8964
|
};
|
|
8953
8965
|
|
|
8954
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
|
+
|
|
8955
9003
|
|
|
8956
9004
|
|
|
8957
9005
|
|
|
@@ -8987,7 +9035,8 @@ proto.loyalty.UserLoyaltyPoint.toObject = function(includeInstance, msg) {
|
|
|
8987
9035
|
userPointId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
8988
9036
|
type: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
8989
9037
|
points: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
8990
|
-
created: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
9038
|
+
created: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
9039
|
+
pointsDecimal: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0)
|
|
8991
9040
|
};
|
|
8992
9041
|
|
|
8993
9042
|
if (includeInstance) {
|
|
@@ -9040,6 +9089,10 @@ proto.loyalty.UserLoyaltyPoint.deserializeBinaryFromReader = function(msg, reade
|
|
|
9040
9089
|
var value = /** @type {string} */ (reader.readString());
|
|
9041
9090
|
msg.setCreated(value);
|
|
9042
9091
|
break;
|
|
9092
|
+
case 5:
|
|
9093
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
9094
|
+
msg.setPointsDecimal(value);
|
|
9095
|
+
break;
|
|
9043
9096
|
default:
|
|
9044
9097
|
reader.skipField();
|
|
9045
9098
|
break;
|
|
@@ -9097,6 +9150,13 @@ proto.loyalty.UserLoyaltyPoint.serializeBinaryToWriter = function(message, write
|
|
|
9097
9150
|
f
|
|
9098
9151
|
);
|
|
9099
9152
|
}
|
|
9153
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 5));
|
|
9154
|
+
if (f != null) {
|
|
9155
|
+
writer.writeDouble(
|
|
9156
|
+
5,
|
|
9157
|
+
f
|
|
9158
|
+
);
|
|
9159
|
+
}
|
|
9100
9160
|
};
|
|
9101
9161
|
|
|
9102
9162
|
|
|
@@ -9190,6 +9250,42 @@ proto.loyalty.UserLoyaltyPoint.prototype.hasCreated = function() {
|
|
|
9190
9250
|
};
|
|
9191
9251
|
|
|
9192
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
|
+
|
|
9193
9289
|
|
|
9194
9290
|
/**
|
|
9195
9291
|
* List of repeated fields within this message type.
|