protobuf-platform 1.2.674 → 1.2.675
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 +5 -0
- package/loyalty/loyalty_pb.js +241 -1
- package/package.json +1 -1
package/loyalty/loyalty.proto
CHANGED
|
@@ -205,6 +205,11 @@ message DepositPoint {
|
|
|
205
205
|
float min = 3;
|
|
206
206
|
float max = 4;
|
|
207
207
|
optional int32 number_of_deposit = 5;
|
|
208
|
+
optional bool use_deposit_amount = 6;
|
|
209
|
+
optional double deposit_multiplier = 7;
|
|
210
|
+
optional int32 loyalty_level_id = 8;
|
|
211
|
+
optional double loyalty_multiplier = 9;
|
|
212
|
+
optional bool clear_loyalty_override = 10;
|
|
208
213
|
}
|
|
209
214
|
message BetPoint {
|
|
210
215
|
string currency = 1;
|
package/loyalty/loyalty_pb.js
CHANGED
|
@@ -9014,7 +9014,12 @@ proto.loyalty.DepositPoint.toObject = function(includeInstance, msg) {
|
|
|
9014
9014
|
points: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
9015
9015
|
min: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
|
9016
9016
|
max: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
|
9017
|
-
numberOfDeposit: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
9017
|
+
numberOfDeposit: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
9018
|
+
useDepositAmount: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
|
9019
|
+
depositMultiplier: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
|
|
9020
|
+
loyaltyLevelId: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
9021
|
+
loyaltyMultiplier: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0),
|
|
9022
|
+
clearLoyaltyOverride: jspb.Message.getBooleanFieldWithDefault(msg, 10, false)
|
|
9018
9023
|
};
|
|
9019
9024
|
|
|
9020
9025
|
if (includeInstance) {
|
|
@@ -9071,6 +9076,26 @@ proto.loyalty.DepositPoint.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
9071
9076
|
var value = /** @type {number} */ (reader.readInt32());
|
|
9072
9077
|
msg.setNumberOfDeposit(value);
|
|
9073
9078
|
break;
|
|
9079
|
+
case 6:
|
|
9080
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
9081
|
+
msg.setUseDepositAmount(value);
|
|
9082
|
+
break;
|
|
9083
|
+
case 7:
|
|
9084
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
9085
|
+
msg.setDepositMultiplier(value);
|
|
9086
|
+
break;
|
|
9087
|
+
case 8:
|
|
9088
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
9089
|
+
msg.setLoyaltyLevelId(value);
|
|
9090
|
+
break;
|
|
9091
|
+
case 9:
|
|
9092
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
9093
|
+
msg.setLoyaltyMultiplier(value);
|
|
9094
|
+
break;
|
|
9095
|
+
case 10:
|
|
9096
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
9097
|
+
msg.setClearLoyaltyOverride(value);
|
|
9098
|
+
break;
|
|
9074
9099
|
default:
|
|
9075
9100
|
reader.skipField();
|
|
9076
9101
|
break;
|
|
@@ -9135,6 +9160,41 @@ proto.loyalty.DepositPoint.serializeBinaryToWriter = function(message, writer) {
|
|
|
9135
9160
|
f
|
|
9136
9161
|
);
|
|
9137
9162
|
}
|
|
9163
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 6));
|
|
9164
|
+
if (f != null) {
|
|
9165
|
+
writer.writeBool(
|
|
9166
|
+
6,
|
|
9167
|
+
f
|
|
9168
|
+
);
|
|
9169
|
+
}
|
|
9170
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 7));
|
|
9171
|
+
if (f != null) {
|
|
9172
|
+
writer.writeDouble(
|
|
9173
|
+
7,
|
|
9174
|
+
f
|
|
9175
|
+
);
|
|
9176
|
+
}
|
|
9177
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 8));
|
|
9178
|
+
if (f != null) {
|
|
9179
|
+
writer.writeInt32(
|
|
9180
|
+
8,
|
|
9181
|
+
f
|
|
9182
|
+
);
|
|
9183
|
+
}
|
|
9184
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 9));
|
|
9185
|
+
if (f != null) {
|
|
9186
|
+
writer.writeDouble(
|
|
9187
|
+
9,
|
|
9188
|
+
f
|
|
9189
|
+
);
|
|
9190
|
+
}
|
|
9191
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 10));
|
|
9192
|
+
if (f != null) {
|
|
9193
|
+
writer.writeBool(
|
|
9194
|
+
10,
|
|
9195
|
+
f
|
|
9196
|
+
);
|
|
9197
|
+
}
|
|
9138
9198
|
};
|
|
9139
9199
|
|
|
9140
9200
|
|
|
@@ -9246,6 +9306,186 @@ proto.loyalty.DepositPoint.prototype.hasNumberOfDeposit = function() {
|
|
|
9246
9306
|
};
|
|
9247
9307
|
|
|
9248
9308
|
|
|
9309
|
+
/**
|
|
9310
|
+
* optional bool use_deposit_amount = 6;
|
|
9311
|
+
* @return {boolean}
|
|
9312
|
+
*/
|
|
9313
|
+
proto.loyalty.DepositPoint.prototype.getUseDepositAmount = function() {
|
|
9314
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
|
|
9315
|
+
};
|
|
9316
|
+
|
|
9317
|
+
|
|
9318
|
+
/**
|
|
9319
|
+
* @param {boolean} value
|
|
9320
|
+
* @return {!proto.loyalty.DepositPoint} returns this
|
|
9321
|
+
*/
|
|
9322
|
+
proto.loyalty.DepositPoint.prototype.setUseDepositAmount = function(value) {
|
|
9323
|
+
return jspb.Message.setField(this, 6, value);
|
|
9324
|
+
};
|
|
9325
|
+
|
|
9326
|
+
|
|
9327
|
+
/**
|
|
9328
|
+
* Clears the field making it undefined.
|
|
9329
|
+
* @return {!proto.loyalty.DepositPoint} returns this
|
|
9330
|
+
*/
|
|
9331
|
+
proto.loyalty.DepositPoint.prototype.clearUseDepositAmount = function() {
|
|
9332
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
9333
|
+
};
|
|
9334
|
+
|
|
9335
|
+
|
|
9336
|
+
/**
|
|
9337
|
+
* Returns whether this field is set.
|
|
9338
|
+
* @return {boolean}
|
|
9339
|
+
*/
|
|
9340
|
+
proto.loyalty.DepositPoint.prototype.hasUseDepositAmount = function() {
|
|
9341
|
+
return jspb.Message.getField(this, 6) != null;
|
|
9342
|
+
};
|
|
9343
|
+
|
|
9344
|
+
|
|
9345
|
+
/**
|
|
9346
|
+
* optional double deposit_multiplier = 7;
|
|
9347
|
+
* @return {number}
|
|
9348
|
+
*/
|
|
9349
|
+
proto.loyalty.DepositPoint.prototype.getDepositMultiplier = function() {
|
|
9350
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 7, 0.0));
|
|
9351
|
+
};
|
|
9352
|
+
|
|
9353
|
+
|
|
9354
|
+
/**
|
|
9355
|
+
* @param {number} value
|
|
9356
|
+
* @return {!proto.loyalty.DepositPoint} returns this
|
|
9357
|
+
*/
|
|
9358
|
+
proto.loyalty.DepositPoint.prototype.setDepositMultiplier = function(value) {
|
|
9359
|
+
return jspb.Message.setField(this, 7, value);
|
|
9360
|
+
};
|
|
9361
|
+
|
|
9362
|
+
|
|
9363
|
+
/**
|
|
9364
|
+
* Clears the field making it undefined.
|
|
9365
|
+
* @return {!proto.loyalty.DepositPoint} returns this
|
|
9366
|
+
*/
|
|
9367
|
+
proto.loyalty.DepositPoint.prototype.clearDepositMultiplier = function() {
|
|
9368
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
9369
|
+
};
|
|
9370
|
+
|
|
9371
|
+
|
|
9372
|
+
/**
|
|
9373
|
+
* Returns whether this field is set.
|
|
9374
|
+
* @return {boolean}
|
|
9375
|
+
*/
|
|
9376
|
+
proto.loyalty.DepositPoint.prototype.hasDepositMultiplier = function() {
|
|
9377
|
+
return jspb.Message.getField(this, 7) != null;
|
|
9378
|
+
};
|
|
9379
|
+
|
|
9380
|
+
|
|
9381
|
+
/**
|
|
9382
|
+
* optional int32 loyalty_level_id = 8;
|
|
9383
|
+
* @return {number}
|
|
9384
|
+
*/
|
|
9385
|
+
proto.loyalty.DepositPoint.prototype.getLoyaltyLevelId = function() {
|
|
9386
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
9387
|
+
};
|
|
9388
|
+
|
|
9389
|
+
|
|
9390
|
+
/**
|
|
9391
|
+
* @param {number} value
|
|
9392
|
+
* @return {!proto.loyalty.DepositPoint} returns this
|
|
9393
|
+
*/
|
|
9394
|
+
proto.loyalty.DepositPoint.prototype.setLoyaltyLevelId = function(value) {
|
|
9395
|
+
return jspb.Message.setField(this, 8, value);
|
|
9396
|
+
};
|
|
9397
|
+
|
|
9398
|
+
|
|
9399
|
+
/**
|
|
9400
|
+
* Clears the field making it undefined.
|
|
9401
|
+
* @return {!proto.loyalty.DepositPoint} returns this
|
|
9402
|
+
*/
|
|
9403
|
+
proto.loyalty.DepositPoint.prototype.clearLoyaltyLevelId = function() {
|
|
9404
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
9405
|
+
};
|
|
9406
|
+
|
|
9407
|
+
|
|
9408
|
+
/**
|
|
9409
|
+
* Returns whether this field is set.
|
|
9410
|
+
* @return {boolean}
|
|
9411
|
+
*/
|
|
9412
|
+
proto.loyalty.DepositPoint.prototype.hasLoyaltyLevelId = function() {
|
|
9413
|
+
return jspb.Message.getField(this, 8) != null;
|
|
9414
|
+
};
|
|
9415
|
+
|
|
9416
|
+
|
|
9417
|
+
/**
|
|
9418
|
+
* optional double loyalty_multiplier = 9;
|
|
9419
|
+
* @return {number}
|
|
9420
|
+
*/
|
|
9421
|
+
proto.loyalty.DepositPoint.prototype.getLoyaltyMultiplier = function() {
|
|
9422
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 9, 0.0));
|
|
9423
|
+
};
|
|
9424
|
+
|
|
9425
|
+
|
|
9426
|
+
/**
|
|
9427
|
+
* @param {number} value
|
|
9428
|
+
* @return {!proto.loyalty.DepositPoint} returns this
|
|
9429
|
+
*/
|
|
9430
|
+
proto.loyalty.DepositPoint.prototype.setLoyaltyMultiplier = function(value) {
|
|
9431
|
+
return jspb.Message.setField(this, 9, value);
|
|
9432
|
+
};
|
|
9433
|
+
|
|
9434
|
+
|
|
9435
|
+
/**
|
|
9436
|
+
* Clears the field making it undefined.
|
|
9437
|
+
* @return {!proto.loyalty.DepositPoint} returns this
|
|
9438
|
+
*/
|
|
9439
|
+
proto.loyalty.DepositPoint.prototype.clearLoyaltyMultiplier = function() {
|
|
9440
|
+
return jspb.Message.setField(this, 9, undefined);
|
|
9441
|
+
};
|
|
9442
|
+
|
|
9443
|
+
|
|
9444
|
+
/**
|
|
9445
|
+
* Returns whether this field is set.
|
|
9446
|
+
* @return {boolean}
|
|
9447
|
+
*/
|
|
9448
|
+
proto.loyalty.DepositPoint.prototype.hasLoyaltyMultiplier = function() {
|
|
9449
|
+
return jspb.Message.getField(this, 9) != null;
|
|
9450
|
+
};
|
|
9451
|
+
|
|
9452
|
+
|
|
9453
|
+
/**
|
|
9454
|
+
* optional bool clear_loyalty_override = 10;
|
|
9455
|
+
* @return {boolean}
|
|
9456
|
+
*/
|
|
9457
|
+
proto.loyalty.DepositPoint.prototype.getClearLoyaltyOverride = function() {
|
|
9458
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 10, false));
|
|
9459
|
+
};
|
|
9460
|
+
|
|
9461
|
+
|
|
9462
|
+
/**
|
|
9463
|
+
* @param {boolean} value
|
|
9464
|
+
* @return {!proto.loyalty.DepositPoint} returns this
|
|
9465
|
+
*/
|
|
9466
|
+
proto.loyalty.DepositPoint.prototype.setClearLoyaltyOverride = function(value) {
|
|
9467
|
+
return jspb.Message.setField(this, 10, value);
|
|
9468
|
+
};
|
|
9469
|
+
|
|
9470
|
+
|
|
9471
|
+
/**
|
|
9472
|
+
* Clears the field making it undefined.
|
|
9473
|
+
* @return {!proto.loyalty.DepositPoint} returns this
|
|
9474
|
+
*/
|
|
9475
|
+
proto.loyalty.DepositPoint.prototype.clearClearLoyaltyOverride = function() {
|
|
9476
|
+
return jspb.Message.setField(this, 10, undefined);
|
|
9477
|
+
};
|
|
9478
|
+
|
|
9479
|
+
|
|
9480
|
+
/**
|
|
9481
|
+
* Returns whether this field is set.
|
|
9482
|
+
* @return {boolean}
|
|
9483
|
+
*/
|
|
9484
|
+
proto.loyalty.DepositPoint.prototype.hasClearLoyaltyOverride = function() {
|
|
9485
|
+
return jspb.Message.getField(this, 10) != null;
|
|
9486
|
+
};
|
|
9487
|
+
|
|
9488
|
+
|
|
9249
9489
|
|
|
9250
9490
|
|
|
9251
9491
|
|