protobuf-platform 1.2.671 → 1.2.673
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 +3 -0
- package/loyalty/loyalty_pb.js +145 -1
- package/package.json +1 -1
- package/payment/payment.proto +1 -0
- package/payment/payment_pb.js +49 -1
package/loyalty/loyalty.proto
CHANGED
|
@@ -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;
|
package/loyalty/loyalty_pb.js
CHANGED
|
@@ -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
package/payment/payment.proto
CHANGED
|
@@ -853,6 +853,7 @@ message UserPaymentMethodItem {
|
|
|
853
853
|
optional int32 is_top = 26;
|
|
854
854
|
optional int32 is_popular = 27;
|
|
855
855
|
optional int32 is_new = 28;
|
|
856
|
+
optional bool allow_zero_amount = 29;
|
|
856
857
|
}
|
|
857
858
|
message UserPaymentMethodsResponse {
|
|
858
859
|
repeated UserPaymentMethodItem items = 1;
|
package/payment/payment_pb.js
CHANGED
|
@@ -35802,7 +35802,8 @@ proto.payment.UserPaymentMethodItem.toObject = function(includeInstance, msg) {
|
|
|
35802
35802
|
isVip: jspb.Message.getFieldWithDefault(msg, 25, 0),
|
|
35803
35803
|
isTop: jspb.Message.getFieldWithDefault(msg, 26, 0),
|
|
35804
35804
|
isPopular: jspb.Message.getFieldWithDefault(msg, 27, 0),
|
|
35805
|
-
isNew: jspb.Message.getFieldWithDefault(msg, 28, 0)
|
|
35805
|
+
isNew: jspb.Message.getFieldWithDefault(msg, 28, 0),
|
|
35806
|
+
allowZeroAmount: jspb.Message.getBooleanFieldWithDefault(msg, 29, false)
|
|
35806
35807
|
};
|
|
35807
35808
|
|
|
35808
35809
|
if (includeInstance) {
|
|
@@ -35952,6 +35953,10 @@ proto.payment.UserPaymentMethodItem.deserializeBinaryFromReader = function(msg,
|
|
|
35952
35953
|
var value = /** @type {number} */ (reader.readInt32());
|
|
35953
35954
|
msg.setIsNew(value);
|
|
35954
35955
|
break;
|
|
35956
|
+
case 29:
|
|
35957
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
35958
|
+
msg.setAllowZeroAmount(value);
|
|
35959
|
+
break;
|
|
35955
35960
|
default:
|
|
35956
35961
|
reader.skipField();
|
|
35957
35962
|
break;
|
|
@@ -36178,6 +36183,13 @@ proto.payment.UserPaymentMethodItem.serializeBinaryToWriter = function(message,
|
|
|
36178
36183
|
f
|
|
36179
36184
|
);
|
|
36180
36185
|
}
|
|
36186
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 29));
|
|
36187
|
+
if (f != null) {
|
|
36188
|
+
writer.writeBool(
|
|
36189
|
+
29,
|
|
36190
|
+
f
|
|
36191
|
+
);
|
|
36192
|
+
}
|
|
36181
36193
|
};
|
|
36182
36194
|
|
|
36183
36195
|
|
|
@@ -37011,6 +37023,42 @@ proto.payment.UserPaymentMethodItem.prototype.hasIsNew = function() {
|
|
|
37011
37023
|
};
|
|
37012
37024
|
|
|
37013
37025
|
|
|
37026
|
+
/**
|
|
37027
|
+
* optional bool allow_zero_amount = 29;
|
|
37028
|
+
* @return {boolean}
|
|
37029
|
+
*/
|
|
37030
|
+
proto.payment.UserPaymentMethodItem.prototype.getAllowZeroAmount = function() {
|
|
37031
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 29, false));
|
|
37032
|
+
};
|
|
37033
|
+
|
|
37034
|
+
|
|
37035
|
+
/**
|
|
37036
|
+
* @param {boolean} value
|
|
37037
|
+
* @return {!proto.payment.UserPaymentMethodItem} returns this
|
|
37038
|
+
*/
|
|
37039
|
+
proto.payment.UserPaymentMethodItem.prototype.setAllowZeroAmount = function(value) {
|
|
37040
|
+
return jspb.Message.setField(this, 29, value);
|
|
37041
|
+
};
|
|
37042
|
+
|
|
37043
|
+
|
|
37044
|
+
/**
|
|
37045
|
+
* Clears the field making it undefined.
|
|
37046
|
+
* @return {!proto.payment.UserPaymentMethodItem} returns this
|
|
37047
|
+
*/
|
|
37048
|
+
proto.payment.UserPaymentMethodItem.prototype.clearAllowZeroAmount = function() {
|
|
37049
|
+
return jspb.Message.setField(this, 29, undefined);
|
|
37050
|
+
};
|
|
37051
|
+
|
|
37052
|
+
|
|
37053
|
+
/**
|
|
37054
|
+
* Returns whether this field is set.
|
|
37055
|
+
* @return {boolean}
|
|
37056
|
+
*/
|
|
37057
|
+
proto.payment.UserPaymentMethodItem.prototype.hasAllowZeroAmount = function() {
|
|
37058
|
+
return jspb.Message.getField(this, 29) != null;
|
|
37059
|
+
};
|
|
37060
|
+
|
|
37061
|
+
|
|
37014
37062
|
|
|
37015
37063
|
/**
|
|
37016
37064
|
* List of repeated fields within this message type.
|