protobuf-platform 1.2.626 → 1.2.628
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/cms/cms.proto +3 -1
- package/cms/cms_pb.js +97 -1
- package/package.json +1 -1
- package/payment/payment.proto +4 -1
- package/payment/payment_pb.js +146 -2
package/cms/cms.proto
CHANGED
|
@@ -731,6 +731,8 @@ message GetCustomWidgetForUserRequest {
|
|
|
731
731
|
optional string locale = 3;
|
|
732
732
|
optional bool is_mobile = 4;
|
|
733
733
|
optional bool admin_side = 5;
|
|
734
|
+
optional string country = 6; // Payment reward context, separate from widget visibility geo.
|
|
735
|
+
optional string currency = 7;
|
|
734
736
|
}
|
|
735
737
|
message CustomWidgetsItemsResponse {
|
|
736
738
|
repeated CustomWidgetItem items = 1;
|
|
@@ -1345,4 +1347,4 @@ message PresetCashierConfigsResponse {
|
|
|
1345
1347
|
repeated PresetCashierConfigItem items = 1;
|
|
1346
1348
|
optional int32 total_pages = 2;
|
|
1347
1349
|
optional int32 total_items = 3;
|
|
1348
|
-
}
|
|
1350
|
+
}
|
package/cms/cms_pb.js
CHANGED
|
@@ -30839,7 +30839,9 @@ proto.cms.GetCustomWidgetForUserRequest.toObject = function(includeInstance, msg
|
|
|
30839
30839
|
geo: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
30840
30840
|
locale: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
30841
30841
|
isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
30842
|
-
adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
|
|
30842
|
+
adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
|
|
30843
|
+
country: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
30844
|
+
currency: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
30843
30845
|
};
|
|
30844
30846
|
|
|
30845
30847
|
if (includeInstance) {
|
|
@@ -30896,6 +30898,14 @@ proto.cms.GetCustomWidgetForUserRequest.deserializeBinaryFromReader = function(m
|
|
|
30896
30898
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
30897
30899
|
msg.setAdminSide(value);
|
|
30898
30900
|
break;
|
|
30901
|
+
case 6:
|
|
30902
|
+
var value = /** @type {string} */ (reader.readString());
|
|
30903
|
+
msg.setCountry(value);
|
|
30904
|
+
break;
|
|
30905
|
+
case 7:
|
|
30906
|
+
var value = /** @type {string} */ (reader.readString());
|
|
30907
|
+
msg.setCurrency(value);
|
|
30908
|
+
break;
|
|
30899
30909
|
default:
|
|
30900
30910
|
reader.skipField();
|
|
30901
30911
|
break;
|
|
@@ -30960,6 +30970,20 @@ proto.cms.GetCustomWidgetForUserRequest.serializeBinaryToWriter = function(messa
|
|
|
30960
30970
|
f
|
|
30961
30971
|
);
|
|
30962
30972
|
}
|
|
30973
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
30974
|
+
if (f != null) {
|
|
30975
|
+
writer.writeString(
|
|
30976
|
+
6,
|
|
30977
|
+
f
|
|
30978
|
+
);
|
|
30979
|
+
}
|
|
30980
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
30981
|
+
if (f != null) {
|
|
30982
|
+
writer.writeString(
|
|
30983
|
+
7,
|
|
30984
|
+
f
|
|
30985
|
+
);
|
|
30986
|
+
}
|
|
30963
30987
|
};
|
|
30964
30988
|
|
|
30965
30989
|
|
|
@@ -31125,6 +31149,78 @@ proto.cms.GetCustomWidgetForUserRequest.prototype.hasAdminSide = function() {
|
|
|
31125
31149
|
};
|
|
31126
31150
|
|
|
31127
31151
|
|
|
31152
|
+
/**
|
|
31153
|
+
* optional string country = 6;
|
|
31154
|
+
* @return {string}
|
|
31155
|
+
*/
|
|
31156
|
+
proto.cms.GetCustomWidgetForUserRequest.prototype.getCountry = function() {
|
|
31157
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
31158
|
+
};
|
|
31159
|
+
|
|
31160
|
+
|
|
31161
|
+
/**
|
|
31162
|
+
* @param {string} value
|
|
31163
|
+
* @return {!proto.cms.GetCustomWidgetForUserRequest} returns this
|
|
31164
|
+
*/
|
|
31165
|
+
proto.cms.GetCustomWidgetForUserRequest.prototype.setCountry = function(value) {
|
|
31166
|
+
return jspb.Message.setField(this, 6, value);
|
|
31167
|
+
};
|
|
31168
|
+
|
|
31169
|
+
|
|
31170
|
+
/**
|
|
31171
|
+
* Clears the field making it undefined.
|
|
31172
|
+
* @return {!proto.cms.GetCustomWidgetForUserRequest} returns this
|
|
31173
|
+
*/
|
|
31174
|
+
proto.cms.GetCustomWidgetForUserRequest.prototype.clearCountry = function() {
|
|
31175
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
31176
|
+
};
|
|
31177
|
+
|
|
31178
|
+
|
|
31179
|
+
/**
|
|
31180
|
+
* Returns whether this field is set.
|
|
31181
|
+
* @return {boolean}
|
|
31182
|
+
*/
|
|
31183
|
+
proto.cms.GetCustomWidgetForUserRequest.prototype.hasCountry = function() {
|
|
31184
|
+
return jspb.Message.getField(this, 6) != null;
|
|
31185
|
+
};
|
|
31186
|
+
|
|
31187
|
+
|
|
31188
|
+
/**
|
|
31189
|
+
* optional string currency = 7;
|
|
31190
|
+
* @return {string}
|
|
31191
|
+
*/
|
|
31192
|
+
proto.cms.GetCustomWidgetForUserRequest.prototype.getCurrency = function() {
|
|
31193
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
31194
|
+
};
|
|
31195
|
+
|
|
31196
|
+
|
|
31197
|
+
/**
|
|
31198
|
+
* @param {string} value
|
|
31199
|
+
* @return {!proto.cms.GetCustomWidgetForUserRequest} returns this
|
|
31200
|
+
*/
|
|
31201
|
+
proto.cms.GetCustomWidgetForUserRequest.prototype.setCurrency = function(value) {
|
|
31202
|
+
return jspb.Message.setField(this, 7, value);
|
|
31203
|
+
};
|
|
31204
|
+
|
|
31205
|
+
|
|
31206
|
+
/**
|
|
31207
|
+
* Clears the field making it undefined.
|
|
31208
|
+
* @return {!proto.cms.GetCustomWidgetForUserRequest} returns this
|
|
31209
|
+
*/
|
|
31210
|
+
proto.cms.GetCustomWidgetForUserRequest.prototype.clearCurrency = function() {
|
|
31211
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
31212
|
+
};
|
|
31213
|
+
|
|
31214
|
+
|
|
31215
|
+
/**
|
|
31216
|
+
* Returns whether this field is set.
|
|
31217
|
+
* @return {boolean}
|
|
31218
|
+
*/
|
|
31219
|
+
proto.cms.GetCustomWidgetForUserRequest.prototype.hasCurrency = function() {
|
|
31220
|
+
return jspb.Message.getField(this, 7) != null;
|
|
31221
|
+
};
|
|
31222
|
+
|
|
31223
|
+
|
|
31128
31224
|
|
|
31129
31225
|
/**
|
|
31130
31226
|
* List of repeated fields within this message type.
|
package/package.json
CHANGED
package/payment/payment.proto
CHANGED
|
@@ -237,6 +237,8 @@ message PoorMethodsRequest {
|
|
|
237
237
|
}
|
|
238
238
|
message GetPaymentMethodSnapshotsByIdsRequest {
|
|
239
239
|
repeated int32 ids = 1;
|
|
240
|
+
optional string country = 2; // Exact reward config context; no payment-processing fallbacks.
|
|
241
|
+
optional string currency = 3;
|
|
240
242
|
}
|
|
241
243
|
message PaymentMethodSnapshotItem {
|
|
242
244
|
int32 id = 1;
|
|
@@ -252,6 +254,7 @@ message PaymentMethodSnapshotItem {
|
|
|
252
254
|
optional string provider_title = 11;
|
|
253
255
|
optional string provider_image = 12;
|
|
254
256
|
optional string provider_image_cdn = 13;
|
|
257
|
+
optional int32 reward_percent = 14; // From the exact method + country + currency config.
|
|
255
258
|
}
|
|
256
259
|
message PaymentMethodSnapshotItemsResponse {
|
|
257
260
|
repeated PaymentMethodSnapshotItem items = 1;
|
|
@@ -1208,4 +1211,4 @@ message FinancialOperationResponse {
|
|
|
1208
1211
|
optional int64 required_wager_minor = 16;
|
|
1209
1212
|
optional string created_at = 17;
|
|
1210
1213
|
optional string completed_at = 18;
|
|
1211
|
-
}
|
|
1214
|
+
}
|
package/payment/payment_pb.js
CHANGED
|
@@ -10201,7 +10201,9 @@ proto.payment.GetPaymentMethodSnapshotsByIdsRequest.prototype.toObject = functio
|
|
|
10201
10201
|
*/
|
|
10202
10202
|
proto.payment.GetPaymentMethodSnapshotsByIdsRequest.toObject = function(includeInstance, msg) {
|
|
10203
10203
|
var f, obj = {
|
|
10204
|
-
idsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
10204
|
+
idsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
10205
|
+
country: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
10206
|
+
currency: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
10205
10207
|
};
|
|
10206
10208
|
|
|
10207
10209
|
if (includeInstance) {
|
|
@@ -10244,6 +10246,14 @@ proto.payment.GetPaymentMethodSnapshotsByIdsRequest.deserializeBinaryFromReader
|
|
|
10244
10246
|
msg.addIds(values[i]);
|
|
10245
10247
|
}
|
|
10246
10248
|
break;
|
|
10249
|
+
case 2:
|
|
10250
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10251
|
+
msg.setCountry(value);
|
|
10252
|
+
break;
|
|
10253
|
+
case 3:
|
|
10254
|
+
var value = /** @type {string} */ (reader.readString());
|
|
10255
|
+
msg.setCurrency(value);
|
|
10256
|
+
break;
|
|
10247
10257
|
default:
|
|
10248
10258
|
reader.skipField();
|
|
10249
10259
|
break;
|
|
@@ -10280,6 +10290,20 @@ proto.payment.GetPaymentMethodSnapshotsByIdsRequest.serializeBinaryToWriter = fu
|
|
|
10280
10290
|
f
|
|
10281
10291
|
);
|
|
10282
10292
|
}
|
|
10293
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
10294
|
+
if (f != null) {
|
|
10295
|
+
writer.writeString(
|
|
10296
|
+
2,
|
|
10297
|
+
f
|
|
10298
|
+
);
|
|
10299
|
+
}
|
|
10300
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
10301
|
+
if (f != null) {
|
|
10302
|
+
writer.writeString(
|
|
10303
|
+
3,
|
|
10304
|
+
f
|
|
10305
|
+
);
|
|
10306
|
+
}
|
|
10283
10307
|
};
|
|
10284
10308
|
|
|
10285
10309
|
|
|
@@ -10320,6 +10344,78 @@ proto.payment.GetPaymentMethodSnapshotsByIdsRequest.prototype.clearIdsList = fun
|
|
|
10320
10344
|
};
|
|
10321
10345
|
|
|
10322
10346
|
|
|
10347
|
+
/**
|
|
10348
|
+
* optional string country = 2;
|
|
10349
|
+
* @return {string}
|
|
10350
|
+
*/
|
|
10351
|
+
proto.payment.GetPaymentMethodSnapshotsByIdsRequest.prototype.getCountry = function() {
|
|
10352
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
10353
|
+
};
|
|
10354
|
+
|
|
10355
|
+
|
|
10356
|
+
/**
|
|
10357
|
+
* @param {string} value
|
|
10358
|
+
* @return {!proto.payment.GetPaymentMethodSnapshotsByIdsRequest} returns this
|
|
10359
|
+
*/
|
|
10360
|
+
proto.payment.GetPaymentMethodSnapshotsByIdsRequest.prototype.setCountry = function(value) {
|
|
10361
|
+
return jspb.Message.setField(this, 2, value);
|
|
10362
|
+
};
|
|
10363
|
+
|
|
10364
|
+
|
|
10365
|
+
/**
|
|
10366
|
+
* Clears the field making it undefined.
|
|
10367
|
+
* @return {!proto.payment.GetPaymentMethodSnapshotsByIdsRequest} returns this
|
|
10368
|
+
*/
|
|
10369
|
+
proto.payment.GetPaymentMethodSnapshotsByIdsRequest.prototype.clearCountry = function() {
|
|
10370
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
10371
|
+
};
|
|
10372
|
+
|
|
10373
|
+
|
|
10374
|
+
/**
|
|
10375
|
+
* Returns whether this field is set.
|
|
10376
|
+
* @return {boolean}
|
|
10377
|
+
*/
|
|
10378
|
+
proto.payment.GetPaymentMethodSnapshotsByIdsRequest.prototype.hasCountry = function() {
|
|
10379
|
+
return jspb.Message.getField(this, 2) != null;
|
|
10380
|
+
};
|
|
10381
|
+
|
|
10382
|
+
|
|
10383
|
+
/**
|
|
10384
|
+
* optional string currency = 3;
|
|
10385
|
+
* @return {string}
|
|
10386
|
+
*/
|
|
10387
|
+
proto.payment.GetPaymentMethodSnapshotsByIdsRequest.prototype.getCurrency = function() {
|
|
10388
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
10389
|
+
};
|
|
10390
|
+
|
|
10391
|
+
|
|
10392
|
+
/**
|
|
10393
|
+
* @param {string} value
|
|
10394
|
+
* @return {!proto.payment.GetPaymentMethodSnapshotsByIdsRequest} returns this
|
|
10395
|
+
*/
|
|
10396
|
+
proto.payment.GetPaymentMethodSnapshotsByIdsRequest.prototype.setCurrency = function(value) {
|
|
10397
|
+
return jspb.Message.setField(this, 3, value);
|
|
10398
|
+
};
|
|
10399
|
+
|
|
10400
|
+
|
|
10401
|
+
/**
|
|
10402
|
+
* Clears the field making it undefined.
|
|
10403
|
+
* @return {!proto.payment.GetPaymentMethodSnapshotsByIdsRequest} returns this
|
|
10404
|
+
*/
|
|
10405
|
+
proto.payment.GetPaymentMethodSnapshotsByIdsRequest.prototype.clearCurrency = function() {
|
|
10406
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
10407
|
+
};
|
|
10408
|
+
|
|
10409
|
+
|
|
10410
|
+
/**
|
|
10411
|
+
* Returns whether this field is set.
|
|
10412
|
+
* @return {boolean}
|
|
10413
|
+
*/
|
|
10414
|
+
proto.payment.GetPaymentMethodSnapshotsByIdsRequest.prototype.hasCurrency = function() {
|
|
10415
|
+
return jspb.Message.getField(this, 3) != null;
|
|
10416
|
+
};
|
|
10417
|
+
|
|
10418
|
+
|
|
10323
10419
|
|
|
10324
10420
|
|
|
10325
10421
|
|
|
@@ -10364,7 +10460,8 @@ proto.payment.PaymentMethodSnapshotItem.toObject = function(includeInstance, msg
|
|
|
10364
10460
|
providerId: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
10365
10461
|
providerTitle: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
10366
10462
|
providerImage: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
10367
|
-
providerImageCdn: jspb.Message.getFieldWithDefault(msg, 13, "")
|
|
10463
|
+
providerImageCdn: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
10464
|
+
rewardPercent: jspb.Message.getFieldWithDefault(msg, 14, 0)
|
|
10368
10465
|
};
|
|
10369
10466
|
|
|
10370
10467
|
if (includeInstance) {
|
|
@@ -10453,6 +10550,10 @@ proto.payment.PaymentMethodSnapshotItem.deserializeBinaryFromReader = function(m
|
|
|
10453
10550
|
var value = /** @type {string} */ (reader.readString());
|
|
10454
10551
|
msg.setProviderImageCdn(value);
|
|
10455
10552
|
break;
|
|
10553
|
+
case 14:
|
|
10554
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
10555
|
+
msg.setRewardPercent(value);
|
|
10556
|
+
break;
|
|
10456
10557
|
default:
|
|
10457
10558
|
reader.skipField();
|
|
10458
10559
|
break;
|
|
@@ -10573,6 +10674,13 @@ proto.payment.PaymentMethodSnapshotItem.serializeBinaryToWriter = function(messa
|
|
|
10573
10674
|
f
|
|
10574
10675
|
);
|
|
10575
10676
|
}
|
|
10677
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 14));
|
|
10678
|
+
if (f != null) {
|
|
10679
|
+
writer.writeInt32(
|
|
10680
|
+
14,
|
|
10681
|
+
f
|
|
10682
|
+
);
|
|
10683
|
+
}
|
|
10576
10684
|
};
|
|
10577
10685
|
|
|
10578
10686
|
|
|
@@ -11026,6 +11134,42 @@ proto.payment.PaymentMethodSnapshotItem.prototype.hasProviderImageCdn = function
|
|
|
11026
11134
|
};
|
|
11027
11135
|
|
|
11028
11136
|
|
|
11137
|
+
/**
|
|
11138
|
+
* optional int32 reward_percent = 14;
|
|
11139
|
+
* @return {number}
|
|
11140
|
+
*/
|
|
11141
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.getRewardPercent = function() {
|
|
11142
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
|
|
11143
|
+
};
|
|
11144
|
+
|
|
11145
|
+
|
|
11146
|
+
/**
|
|
11147
|
+
* @param {number} value
|
|
11148
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem} returns this
|
|
11149
|
+
*/
|
|
11150
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.setRewardPercent = function(value) {
|
|
11151
|
+
return jspb.Message.setField(this, 14, value);
|
|
11152
|
+
};
|
|
11153
|
+
|
|
11154
|
+
|
|
11155
|
+
/**
|
|
11156
|
+
* Clears the field making it undefined.
|
|
11157
|
+
* @return {!proto.payment.PaymentMethodSnapshotItem} returns this
|
|
11158
|
+
*/
|
|
11159
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.clearRewardPercent = function() {
|
|
11160
|
+
return jspb.Message.setField(this, 14, undefined);
|
|
11161
|
+
};
|
|
11162
|
+
|
|
11163
|
+
|
|
11164
|
+
/**
|
|
11165
|
+
* Returns whether this field is set.
|
|
11166
|
+
* @return {boolean}
|
|
11167
|
+
*/
|
|
11168
|
+
proto.payment.PaymentMethodSnapshotItem.prototype.hasRewardPercent = function() {
|
|
11169
|
+
return jspb.Message.getField(this, 14) != null;
|
|
11170
|
+
};
|
|
11171
|
+
|
|
11172
|
+
|
|
11029
11173
|
|
|
11030
11174
|
/**
|
|
11031
11175
|
* List of repeated fields within this message type.
|