protobuf-platform 1.2.700 → 1.2.701
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/cashback/cashback.proto +4 -0
- package/cashback/cashback_pb.js +98 -2
- package/package.json +1 -1
package/cashback/cashback.proto
CHANGED
|
@@ -114,6 +114,8 @@ message CashbackConfigRequest {
|
|
|
114
114
|
optional float max = 4;
|
|
115
115
|
optional float percentage = 5;
|
|
116
116
|
optional string payout_currency = 6;
|
|
117
|
+
// Exact decimal percentage. Authoritative when present. Field 5 remains for older clients.
|
|
118
|
+
optional string percentage_decimal = 7;
|
|
117
119
|
}
|
|
118
120
|
|
|
119
121
|
message CashbackConfigItem {
|
|
@@ -123,6 +125,8 @@ message CashbackConfigItem {
|
|
|
123
125
|
optional float max = 4;
|
|
124
126
|
optional float percentage = 5;
|
|
125
127
|
optional string payout_currency = 6;
|
|
128
|
+
// Exact decimal percentage. Authoritative when present. Field 5 remains for older clients.
|
|
129
|
+
optional string percentage_decimal = 7;
|
|
126
130
|
}
|
|
127
131
|
message CashbackActions {
|
|
128
132
|
bool can_claim = 1;
|
package/cashback/cashback_pb.js
CHANGED
|
@@ -4995,7 +4995,8 @@ proto.cashback.CashbackConfigRequest.toObject = function(includeInstance, msg) {
|
|
|
4995
4995
|
min: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
|
4996
4996
|
max: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
|
4997
4997
|
percentage: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
|
|
4998
|
-
payoutCurrency: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
4998
|
+
payoutCurrency: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
4999
|
+
percentageDecimal: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
4999
5000
|
};
|
|
5000
5001
|
|
|
5001
5002
|
if (includeInstance) {
|
|
@@ -5056,6 +5057,10 @@ proto.cashback.CashbackConfigRequest.deserializeBinaryFromReader = function(msg,
|
|
|
5056
5057
|
var value = /** @type {string} */ (reader.readString());
|
|
5057
5058
|
msg.setPayoutCurrency(value);
|
|
5058
5059
|
break;
|
|
5060
|
+
case 7:
|
|
5061
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5062
|
+
msg.setPercentageDecimal(value);
|
|
5063
|
+
break;
|
|
5059
5064
|
default:
|
|
5060
5065
|
reader.skipField();
|
|
5061
5066
|
break;
|
|
@@ -5127,6 +5132,13 @@ proto.cashback.CashbackConfigRequest.serializeBinaryToWriter = function(message,
|
|
|
5127
5132
|
f
|
|
5128
5133
|
);
|
|
5129
5134
|
}
|
|
5135
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
5136
|
+
if (f != null) {
|
|
5137
|
+
writer.writeString(
|
|
5138
|
+
7,
|
|
5139
|
+
f
|
|
5140
|
+
);
|
|
5141
|
+
}
|
|
5130
5142
|
};
|
|
5131
5143
|
|
|
5132
5144
|
|
|
@@ -5310,6 +5322,42 @@ proto.cashback.CashbackConfigRequest.prototype.hasPayoutCurrency = function() {
|
|
|
5310
5322
|
};
|
|
5311
5323
|
|
|
5312
5324
|
|
|
5325
|
+
/**
|
|
5326
|
+
* optional string percentage_decimal = 7;
|
|
5327
|
+
* @return {string}
|
|
5328
|
+
*/
|
|
5329
|
+
proto.cashback.CashbackConfigRequest.prototype.getPercentageDecimal = function() {
|
|
5330
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
5331
|
+
};
|
|
5332
|
+
|
|
5333
|
+
|
|
5334
|
+
/**
|
|
5335
|
+
* @param {string} value
|
|
5336
|
+
* @return {!proto.cashback.CashbackConfigRequest} returns this
|
|
5337
|
+
*/
|
|
5338
|
+
proto.cashback.CashbackConfigRequest.prototype.setPercentageDecimal = function(value) {
|
|
5339
|
+
return jspb.Message.setField(this, 7, value);
|
|
5340
|
+
};
|
|
5341
|
+
|
|
5342
|
+
|
|
5343
|
+
/**
|
|
5344
|
+
* Clears the field making it undefined.
|
|
5345
|
+
* @return {!proto.cashback.CashbackConfigRequest} returns this
|
|
5346
|
+
*/
|
|
5347
|
+
proto.cashback.CashbackConfigRequest.prototype.clearPercentageDecimal = function() {
|
|
5348
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
5349
|
+
};
|
|
5350
|
+
|
|
5351
|
+
|
|
5352
|
+
/**
|
|
5353
|
+
* Returns whether this field is set.
|
|
5354
|
+
* @return {boolean}
|
|
5355
|
+
*/
|
|
5356
|
+
proto.cashback.CashbackConfigRequest.prototype.hasPercentageDecimal = function() {
|
|
5357
|
+
return jspb.Message.getField(this, 7) != null;
|
|
5358
|
+
};
|
|
5359
|
+
|
|
5360
|
+
|
|
5313
5361
|
|
|
5314
5362
|
|
|
5315
5363
|
|
|
@@ -5347,7 +5395,8 @@ proto.cashback.CashbackConfigItem.toObject = function(includeInstance, msg) {
|
|
|
5347
5395
|
min: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
|
5348
5396
|
max: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
|
5349
5397
|
percentage: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
|
|
5350
|
-
payoutCurrency: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
5398
|
+
payoutCurrency: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
5399
|
+
percentageDecimal: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
5351
5400
|
};
|
|
5352
5401
|
|
|
5353
5402
|
if (includeInstance) {
|
|
@@ -5408,6 +5457,10 @@ proto.cashback.CashbackConfigItem.deserializeBinaryFromReader = function(msg, re
|
|
|
5408
5457
|
var value = /** @type {string} */ (reader.readString());
|
|
5409
5458
|
msg.setPayoutCurrency(value);
|
|
5410
5459
|
break;
|
|
5460
|
+
case 7:
|
|
5461
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5462
|
+
msg.setPercentageDecimal(value);
|
|
5463
|
+
break;
|
|
5411
5464
|
default:
|
|
5412
5465
|
reader.skipField();
|
|
5413
5466
|
break;
|
|
@@ -5479,6 +5532,13 @@ proto.cashback.CashbackConfigItem.serializeBinaryToWriter = function(message, wr
|
|
|
5479
5532
|
f
|
|
5480
5533
|
);
|
|
5481
5534
|
}
|
|
5535
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
5536
|
+
if (f != null) {
|
|
5537
|
+
writer.writeString(
|
|
5538
|
+
7,
|
|
5539
|
+
f
|
|
5540
|
+
);
|
|
5541
|
+
}
|
|
5482
5542
|
};
|
|
5483
5543
|
|
|
5484
5544
|
|
|
@@ -5698,6 +5758,42 @@ proto.cashback.CashbackConfigItem.prototype.hasPayoutCurrency = function() {
|
|
|
5698
5758
|
};
|
|
5699
5759
|
|
|
5700
5760
|
|
|
5761
|
+
/**
|
|
5762
|
+
* optional string percentage_decimal = 7;
|
|
5763
|
+
* @return {string}
|
|
5764
|
+
*/
|
|
5765
|
+
proto.cashback.CashbackConfigItem.prototype.getPercentageDecimal = function() {
|
|
5766
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
5767
|
+
};
|
|
5768
|
+
|
|
5769
|
+
|
|
5770
|
+
/**
|
|
5771
|
+
* @param {string} value
|
|
5772
|
+
* @return {!proto.cashback.CashbackConfigItem} returns this
|
|
5773
|
+
*/
|
|
5774
|
+
proto.cashback.CashbackConfigItem.prototype.setPercentageDecimal = function(value) {
|
|
5775
|
+
return jspb.Message.setField(this, 7, value);
|
|
5776
|
+
};
|
|
5777
|
+
|
|
5778
|
+
|
|
5779
|
+
/**
|
|
5780
|
+
* Clears the field making it undefined.
|
|
5781
|
+
* @return {!proto.cashback.CashbackConfigItem} returns this
|
|
5782
|
+
*/
|
|
5783
|
+
proto.cashback.CashbackConfigItem.prototype.clearPercentageDecimal = function() {
|
|
5784
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
5785
|
+
};
|
|
5786
|
+
|
|
5787
|
+
|
|
5788
|
+
/**
|
|
5789
|
+
* Returns whether this field is set.
|
|
5790
|
+
* @return {boolean}
|
|
5791
|
+
*/
|
|
5792
|
+
proto.cashback.CashbackConfigItem.prototype.hasPercentageDecimal = function() {
|
|
5793
|
+
return jspb.Message.getField(this, 7) != null;
|
|
5794
|
+
};
|
|
5795
|
+
|
|
5796
|
+
|
|
5701
5797
|
|
|
5702
5798
|
|
|
5703
5799
|
|