protobuf-platform 1.2.699 → 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/config/config.proto +3 -0
- package/config/config_pb.js +99 -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
|
|
package/config/config.proto
CHANGED
|
@@ -373,6 +373,7 @@ message MirrorCountriesResponse {
|
|
|
373
373
|
enum CloudflareCacheInvalidationAction {
|
|
374
374
|
CLOUDFLARE_CACHE_INVALIDATION_ACTION_UNSPECIFIED = 0;
|
|
375
375
|
CLOUDFLARE_CACHE_INVALIDATION_ACTION_BUMP_VERSION = 1;
|
|
376
|
+
CLOUDFLARE_CACHE_INVALIDATION_ACTION_PUBLISH_VERSION = 2;
|
|
376
377
|
}
|
|
377
378
|
message CloudflareCacheInvalidationDimension {
|
|
378
379
|
string key = 1;
|
|
@@ -386,6 +387,8 @@ message InvalidateCloudflareCacheRequest {
|
|
|
386
387
|
string environment = 1;
|
|
387
388
|
CloudflareCacheInvalidationAction action = 2;
|
|
388
389
|
repeated CloudflareCacheInvalidationTarget targets = 3;
|
|
390
|
+
optional int64 published_version = 4;
|
|
391
|
+
optional string customer = 5;
|
|
389
392
|
}
|
|
390
393
|
message CloudflareCacheInvalidationTargetResult {
|
|
391
394
|
string namespace = 1;
|
package/config/config_pb.js
CHANGED
|
@@ -15377,7 +15377,9 @@ proto.config.InvalidateCloudflareCacheRequest.toObject = function(includeInstanc
|
|
|
15377
15377
|
environment: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
15378
15378
|
action: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
15379
15379
|
targetsList: jspb.Message.toObjectList(msg.getTargetsList(),
|
|
15380
|
-
proto.config.CloudflareCacheInvalidationTarget.toObject, includeInstance)
|
|
15380
|
+
proto.config.CloudflareCacheInvalidationTarget.toObject, includeInstance),
|
|
15381
|
+
publishedVersion: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
15382
|
+
customer: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
15381
15383
|
};
|
|
15382
15384
|
|
|
15383
15385
|
if (includeInstance) {
|
|
@@ -15427,6 +15429,14 @@ proto.config.InvalidateCloudflareCacheRequest.deserializeBinaryFromReader = func
|
|
|
15427
15429
|
reader.readMessage(value,proto.config.CloudflareCacheInvalidationTarget.deserializeBinaryFromReader);
|
|
15428
15430
|
msg.addTargets(value);
|
|
15429
15431
|
break;
|
|
15432
|
+
case 4:
|
|
15433
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
15434
|
+
msg.setPublishedVersion(value);
|
|
15435
|
+
break;
|
|
15436
|
+
case 5:
|
|
15437
|
+
var value = /** @type {string} */ (reader.readString());
|
|
15438
|
+
msg.setCustomer(value);
|
|
15439
|
+
break;
|
|
15430
15440
|
default:
|
|
15431
15441
|
reader.skipField();
|
|
15432
15442
|
break;
|
|
@@ -15478,6 +15488,20 @@ proto.config.InvalidateCloudflareCacheRequest.serializeBinaryToWriter = function
|
|
|
15478
15488
|
proto.config.CloudflareCacheInvalidationTarget.serializeBinaryToWriter
|
|
15479
15489
|
);
|
|
15480
15490
|
}
|
|
15491
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
|
15492
|
+
if (f != null) {
|
|
15493
|
+
writer.writeInt64(
|
|
15494
|
+
4,
|
|
15495
|
+
f
|
|
15496
|
+
);
|
|
15497
|
+
}
|
|
15498
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
15499
|
+
if (f != null) {
|
|
15500
|
+
writer.writeString(
|
|
15501
|
+
5,
|
|
15502
|
+
f
|
|
15503
|
+
);
|
|
15504
|
+
}
|
|
15481
15505
|
};
|
|
15482
15506
|
|
|
15483
15507
|
|
|
@@ -15555,6 +15579,78 @@ proto.config.InvalidateCloudflareCacheRequest.prototype.clearTargetsList = funct
|
|
|
15555
15579
|
};
|
|
15556
15580
|
|
|
15557
15581
|
|
|
15582
|
+
/**
|
|
15583
|
+
* optional int64 published_version = 4;
|
|
15584
|
+
* @return {number}
|
|
15585
|
+
*/
|
|
15586
|
+
proto.config.InvalidateCloudflareCacheRequest.prototype.getPublishedVersion = function() {
|
|
15587
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
15588
|
+
};
|
|
15589
|
+
|
|
15590
|
+
|
|
15591
|
+
/**
|
|
15592
|
+
* @param {number} value
|
|
15593
|
+
* @return {!proto.config.InvalidateCloudflareCacheRequest} returns this
|
|
15594
|
+
*/
|
|
15595
|
+
proto.config.InvalidateCloudflareCacheRequest.prototype.setPublishedVersion = function(value) {
|
|
15596
|
+
return jspb.Message.setField(this, 4, value);
|
|
15597
|
+
};
|
|
15598
|
+
|
|
15599
|
+
|
|
15600
|
+
/**
|
|
15601
|
+
* Clears the field making it undefined.
|
|
15602
|
+
* @return {!proto.config.InvalidateCloudflareCacheRequest} returns this
|
|
15603
|
+
*/
|
|
15604
|
+
proto.config.InvalidateCloudflareCacheRequest.prototype.clearPublishedVersion = function() {
|
|
15605
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
15606
|
+
};
|
|
15607
|
+
|
|
15608
|
+
|
|
15609
|
+
/**
|
|
15610
|
+
* Returns whether this field is set.
|
|
15611
|
+
* @return {boolean}
|
|
15612
|
+
*/
|
|
15613
|
+
proto.config.InvalidateCloudflareCacheRequest.prototype.hasPublishedVersion = function() {
|
|
15614
|
+
return jspb.Message.getField(this, 4) != null;
|
|
15615
|
+
};
|
|
15616
|
+
|
|
15617
|
+
|
|
15618
|
+
/**
|
|
15619
|
+
* optional string customer = 5;
|
|
15620
|
+
* @return {string}
|
|
15621
|
+
*/
|
|
15622
|
+
proto.config.InvalidateCloudflareCacheRequest.prototype.getCustomer = function() {
|
|
15623
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
15624
|
+
};
|
|
15625
|
+
|
|
15626
|
+
|
|
15627
|
+
/**
|
|
15628
|
+
* @param {string} value
|
|
15629
|
+
* @return {!proto.config.InvalidateCloudflareCacheRequest} returns this
|
|
15630
|
+
*/
|
|
15631
|
+
proto.config.InvalidateCloudflareCacheRequest.prototype.setCustomer = function(value) {
|
|
15632
|
+
return jspb.Message.setField(this, 5, value);
|
|
15633
|
+
};
|
|
15634
|
+
|
|
15635
|
+
|
|
15636
|
+
/**
|
|
15637
|
+
* Clears the field making it undefined.
|
|
15638
|
+
* @return {!proto.config.InvalidateCloudflareCacheRequest} returns this
|
|
15639
|
+
*/
|
|
15640
|
+
proto.config.InvalidateCloudflareCacheRequest.prototype.clearCustomer = function() {
|
|
15641
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
15642
|
+
};
|
|
15643
|
+
|
|
15644
|
+
|
|
15645
|
+
/**
|
|
15646
|
+
* Returns whether this field is set.
|
|
15647
|
+
* @return {boolean}
|
|
15648
|
+
*/
|
|
15649
|
+
proto.config.InvalidateCloudflareCacheRequest.prototype.hasCustomer = function() {
|
|
15650
|
+
return jspb.Message.getField(this, 5) != null;
|
|
15651
|
+
};
|
|
15652
|
+
|
|
15653
|
+
|
|
15558
15654
|
|
|
15559
15655
|
/**
|
|
15560
15656
|
* List of repeated fields within this message type.
|
|
@@ -16066,7 +16162,8 @@ proto.config.InvalidateCloudflareCacheResponse.prototype.clearResultsList = func
|
|
|
16066
16162
|
*/
|
|
16067
16163
|
proto.config.CloudflareCacheInvalidationAction = {
|
|
16068
16164
|
CLOUDFLARE_CACHE_INVALIDATION_ACTION_UNSPECIFIED: 0,
|
|
16069
|
-
CLOUDFLARE_CACHE_INVALIDATION_ACTION_BUMP_VERSION: 1
|
|
16165
|
+
CLOUDFLARE_CACHE_INVALIDATION_ACTION_BUMP_VERSION: 1,
|
|
16166
|
+
CLOUDFLARE_CACHE_INVALIDATION_ACTION_PUBLISH_VERSION: 2
|
|
16070
16167
|
};
|
|
16071
16168
|
|
|
16072
16169
|
goog.object.extend(exports, proto.config);
|