protobuf-platform 1.2.721 → 1.2.723
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/game/game.proto +5 -0
- package/game/game_pb.js +245 -5
- package/package.json +1 -1
- package/payment/payment.proto +9 -0
- package/payment/payment_pb.js +147 -3
package/game/game.proto
CHANGED
|
@@ -1039,6 +1039,7 @@ message MultiScopeCompositionItem {
|
|
|
1039
1039
|
optional string icon = 8;
|
|
1040
1040
|
optional string icon_cdn = 9;
|
|
1041
1041
|
bool is_active = 10;
|
|
1042
|
+
optional string description = 11;
|
|
1042
1043
|
}
|
|
1043
1044
|
message MultiScopeCompositionResponse {
|
|
1044
1045
|
repeated MultiScopeCompositionItem items = 1;
|
|
@@ -1057,6 +1058,7 @@ message MultiScopeItem {
|
|
|
1057
1058
|
reserved 11, 12;
|
|
1058
1059
|
reserved "collections", "tags";
|
|
1059
1060
|
repeated MultiScopeCompositionItem items = 13;
|
|
1061
|
+
optional string description = 14;
|
|
1060
1062
|
}
|
|
1061
1063
|
message MultiScopeItemRequest {
|
|
1062
1064
|
optional int32 id = 1;
|
|
@@ -1065,6 +1067,7 @@ message MultiScopeItemRequest {
|
|
|
1065
1067
|
optional bool is_active = 4;
|
|
1066
1068
|
optional bool remove_image = 5;
|
|
1067
1069
|
optional bool remove_icon = 6;
|
|
1070
|
+
optional string description = 7;
|
|
1068
1071
|
}
|
|
1069
1072
|
message MultiScopeRequest {
|
|
1070
1073
|
oneof request {
|
|
@@ -1498,6 +1501,7 @@ message CategoryHierarchyCollectionItem {
|
|
|
1498
1501
|
optional string image_cdn = 5;
|
|
1499
1502
|
optional string icon = 6;
|
|
1500
1503
|
optional string icon_cdn = 7;
|
|
1504
|
+
optional string description = 8;
|
|
1501
1505
|
}
|
|
1502
1506
|
message CategoryHierarchyItem {
|
|
1503
1507
|
int32 id = 1;
|
|
@@ -1508,6 +1512,7 @@ message CategoryHierarchyItem {
|
|
|
1508
1512
|
optional string icon = 6;
|
|
1509
1513
|
optional string icon_cdn = 7;
|
|
1510
1514
|
repeated CategoryHierarchyCollectionItem collections = 8;
|
|
1515
|
+
optional string description = 9;
|
|
1511
1516
|
}
|
|
1512
1517
|
message CategoryHierarchyResponse {
|
|
1513
1518
|
repeated CategoryHierarchyItem items = 1;
|
package/game/game_pb.js
CHANGED
|
@@ -42761,7 +42761,8 @@ proto.game.MultiScopeCompositionItem.toObject = function(includeInstance, msg) {
|
|
|
42761
42761
|
imageCdn: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
42762
42762
|
icon: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
42763
42763
|
iconCdn: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
42764
|
-
isActive: jspb.Message.getBooleanFieldWithDefault(msg, 10, false)
|
|
42764
|
+
isActive: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
|
|
42765
|
+
description: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
42765
42766
|
};
|
|
42766
42767
|
|
|
42767
42768
|
if (includeInstance) {
|
|
@@ -42838,6 +42839,10 @@ proto.game.MultiScopeCompositionItem.deserializeBinaryFromReader = function(msg,
|
|
|
42838
42839
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
42839
42840
|
msg.setIsActive(value);
|
|
42840
42841
|
break;
|
|
42842
|
+
case 11:
|
|
42843
|
+
var value = /** @type {string} */ (reader.readString());
|
|
42844
|
+
msg.setDescription(value);
|
|
42845
|
+
break;
|
|
42841
42846
|
default:
|
|
42842
42847
|
reader.skipField();
|
|
42843
42848
|
break;
|
|
@@ -42937,6 +42942,13 @@ proto.game.MultiScopeCompositionItem.serializeBinaryToWriter = function(message,
|
|
|
42937
42942
|
f
|
|
42938
42943
|
);
|
|
42939
42944
|
}
|
|
42945
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 11));
|
|
42946
|
+
if (f != null) {
|
|
42947
|
+
writer.writeString(
|
|
42948
|
+
11,
|
|
42949
|
+
f
|
|
42950
|
+
);
|
|
42951
|
+
}
|
|
42940
42952
|
};
|
|
42941
42953
|
|
|
42942
42954
|
|
|
@@ -43192,6 +43204,42 @@ proto.game.MultiScopeCompositionItem.prototype.setIsActive = function(value) {
|
|
|
43192
43204
|
};
|
|
43193
43205
|
|
|
43194
43206
|
|
|
43207
|
+
/**
|
|
43208
|
+
* optional string description = 11;
|
|
43209
|
+
* @return {string}
|
|
43210
|
+
*/
|
|
43211
|
+
proto.game.MultiScopeCompositionItem.prototype.getDescription = function() {
|
|
43212
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
43213
|
+
};
|
|
43214
|
+
|
|
43215
|
+
|
|
43216
|
+
/**
|
|
43217
|
+
* @param {string} value
|
|
43218
|
+
* @return {!proto.game.MultiScopeCompositionItem} returns this
|
|
43219
|
+
*/
|
|
43220
|
+
proto.game.MultiScopeCompositionItem.prototype.setDescription = function(value) {
|
|
43221
|
+
return jspb.Message.setField(this, 11, value);
|
|
43222
|
+
};
|
|
43223
|
+
|
|
43224
|
+
|
|
43225
|
+
/**
|
|
43226
|
+
* Clears the field making it undefined.
|
|
43227
|
+
* @return {!proto.game.MultiScopeCompositionItem} returns this
|
|
43228
|
+
*/
|
|
43229
|
+
proto.game.MultiScopeCompositionItem.prototype.clearDescription = function() {
|
|
43230
|
+
return jspb.Message.setField(this, 11, undefined);
|
|
43231
|
+
};
|
|
43232
|
+
|
|
43233
|
+
|
|
43234
|
+
/**
|
|
43235
|
+
* Returns whether this field is set.
|
|
43236
|
+
* @return {boolean}
|
|
43237
|
+
*/
|
|
43238
|
+
proto.game.MultiScopeCompositionItem.prototype.hasDescription = function() {
|
|
43239
|
+
return jspb.Message.getField(this, 11) != null;
|
|
43240
|
+
};
|
|
43241
|
+
|
|
43242
|
+
|
|
43195
43243
|
|
|
43196
43244
|
/**
|
|
43197
43245
|
* List of repeated fields within this message type.
|
|
@@ -43402,7 +43450,8 @@ proto.game.MultiScopeItem.toObject = function(includeInstance, msg) {
|
|
|
43402
43450
|
createdAt: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
43403
43451
|
updatedAt: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
43404
43452
|
itemsList: jspb.Message.toObjectList(msg.getItemsList(),
|
|
43405
|
-
proto.game.MultiScopeCompositionItem.toObject, includeInstance)
|
|
43453
|
+
proto.game.MultiScopeCompositionItem.toObject, includeInstance),
|
|
43454
|
+
description: jspb.Message.getFieldWithDefault(msg, 14, "")
|
|
43406
43455
|
};
|
|
43407
43456
|
|
|
43408
43457
|
if (includeInstance) {
|
|
@@ -43484,6 +43533,10 @@ proto.game.MultiScopeItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
43484
43533
|
reader.readMessage(value,proto.game.MultiScopeCompositionItem.deserializeBinaryFromReader);
|
|
43485
43534
|
msg.addItems(value);
|
|
43486
43535
|
break;
|
|
43536
|
+
case 14:
|
|
43537
|
+
var value = /** @type {string} */ (reader.readString());
|
|
43538
|
+
msg.setDescription(value);
|
|
43539
|
+
break;
|
|
43487
43540
|
default:
|
|
43488
43541
|
reader.skipField();
|
|
43489
43542
|
break;
|
|
@@ -43591,6 +43644,13 @@ proto.game.MultiScopeItem.serializeBinaryToWriter = function(message, writer) {
|
|
|
43591
43644
|
proto.game.MultiScopeCompositionItem.serializeBinaryToWriter
|
|
43592
43645
|
);
|
|
43593
43646
|
}
|
|
43647
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 14));
|
|
43648
|
+
if (f != null) {
|
|
43649
|
+
writer.writeString(
|
|
43650
|
+
14,
|
|
43651
|
+
f
|
|
43652
|
+
);
|
|
43653
|
+
}
|
|
43594
43654
|
};
|
|
43595
43655
|
|
|
43596
43656
|
|
|
@@ -43884,6 +43944,42 @@ proto.game.MultiScopeItem.prototype.clearItemsList = function() {
|
|
|
43884
43944
|
};
|
|
43885
43945
|
|
|
43886
43946
|
|
|
43947
|
+
/**
|
|
43948
|
+
* optional string description = 14;
|
|
43949
|
+
* @return {string}
|
|
43950
|
+
*/
|
|
43951
|
+
proto.game.MultiScopeItem.prototype.getDescription = function() {
|
|
43952
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
43953
|
+
};
|
|
43954
|
+
|
|
43955
|
+
|
|
43956
|
+
/**
|
|
43957
|
+
* @param {string} value
|
|
43958
|
+
* @return {!proto.game.MultiScopeItem} returns this
|
|
43959
|
+
*/
|
|
43960
|
+
proto.game.MultiScopeItem.prototype.setDescription = function(value) {
|
|
43961
|
+
return jspb.Message.setField(this, 14, value);
|
|
43962
|
+
};
|
|
43963
|
+
|
|
43964
|
+
|
|
43965
|
+
/**
|
|
43966
|
+
* Clears the field making it undefined.
|
|
43967
|
+
* @return {!proto.game.MultiScopeItem} returns this
|
|
43968
|
+
*/
|
|
43969
|
+
proto.game.MultiScopeItem.prototype.clearDescription = function() {
|
|
43970
|
+
return jspb.Message.setField(this, 14, undefined);
|
|
43971
|
+
};
|
|
43972
|
+
|
|
43973
|
+
|
|
43974
|
+
/**
|
|
43975
|
+
* Returns whether this field is set.
|
|
43976
|
+
* @return {boolean}
|
|
43977
|
+
*/
|
|
43978
|
+
proto.game.MultiScopeItem.prototype.hasDescription = function() {
|
|
43979
|
+
return jspb.Message.getField(this, 14) != null;
|
|
43980
|
+
};
|
|
43981
|
+
|
|
43982
|
+
|
|
43887
43983
|
|
|
43888
43984
|
|
|
43889
43985
|
|
|
@@ -43921,7 +44017,8 @@ proto.game.MultiScopeItemRequest.toObject = function(includeInstance, msg) {
|
|
|
43921
44017
|
slug: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
43922
44018
|
isActive: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
43923
44019
|
removeImage: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
|
|
43924
|
-
removeIcon: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
|
|
44020
|
+
removeIcon: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
|
44021
|
+
description: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
43925
44022
|
};
|
|
43926
44023
|
|
|
43927
44024
|
if (includeInstance) {
|
|
@@ -43982,6 +44079,10 @@ proto.game.MultiScopeItemRequest.deserializeBinaryFromReader = function(msg, rea
|
|
|
43982
44079
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
43983
44080
|
msg.setRemoveIcon(value);
|
|
43984
44081
|
break;
|
|
44082
|
+
case 7:
|
|
44083
|
+
var value = /** @type {string} */ (reader.readString());
|
|
44084
|
+
msg.setDescription(value);
|
|
44085
|
+
break;
|
|
43985
44086
|
default:
|
|
43986
44087
|
reader.skipField();
|
|
43987
44088
|
break;
|
|
@@ -44053,6 +44154,13 @@ proto.game.MultiScopeItemRequest.serializeBinaryToWriter = function(message, wri
|
|
|
44053
44154
|
f
|
|
44054
44155
|
);
|
|
44055
44156
|
}
|
|
44157
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
44158
|
+
if (f != null) {
|
|
44159
|
+
writer.writeString(
|
|
44160
|
+
7,
|
|
44161
|
+
f
|
|
44162
|
+
);
|
|
44163
|
+
}
|
|
44056
44164
|
};
|
|
44057
44165
|
|
|
44058
44166
|
|
|
@@ -44272,6 +44380,42 @@ proto.game.MultiScopeItemRequest.prototype.hasRemoveIcon = function() {
|
|
|
44272
44380
|
};
|
|
44273
44381
|
|
|
44274
44382
|
|
|
44383
|
+
/**
|
|
44384
|
+
* optional string description = 7;
|
|
44385
|
+
* @return {string}
|
|
44386
|
+
*/
|
|
44387
|
+
proto.game.MultiScopeItemRequest.prototype.getDescription = function() {
|
|
44388
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
44389
|
+
};
|
|
44390
|
+
|
|
44391
|
+
|
|
44392
|
+
/**
|
|
44393
|
+
* @param {string} value
|
|
44394
|
+
* @return {!proto.game.MultiScopeItemRequest} returns this
|
|
44395
|
+
*/
|
|
44396
|
+
proto.game.MultiScopeItemRequest.prototype.setDescription = function(value) {
|
|
44397
|
+
return jspb.Message.setField(this, 7, value);
|
|
44398
|
+
};
|
|
44399
|
+
|
|
44400
|
+
|
|
44401
|
+
/**
|
|
44402
|
+
* Clears the field making it undefined.
|
|
44403
|
+
* @return {!proto.game.MultiScopeItemRequest} returns this
|
|
44404
|
+
*/
|
|
44405
|
+
proto.game.MultiScopeItemRequest.prototype.clearDescription = function() {
|
|
44406
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
44407
|
+
};
|
|
44408
|
+
|
|
44409
|
+
|
|
44410
|
+
/**
|
|
44411
|
+
* Returns whether this field is set.
|
|
44412
|
+
* @return {boolean}
|
|
44413
|
+
*/
|
|
44414
|
+
proto.game.MultiScopeItemRequest.prototype.hasDescription = function() {
|
|
44415
|
+
return jspb.Message.getField(this, 7) != null;
|
|
44416
|
+
};
|
|
44417
|
+
|
|
44418
|
+
|
|
44275
44419
|
|
|
44276
44420
|
/**
|
|
44277
44421
|
* Oneof group definitions for this message. Each group defines the field
|
|
@@ -63110,7 +63254,8 @@ proto.game.CategoryHierarchyCollectionItem.toObject = function(includeInstance,
|
|
|
63110
63254
|
image: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
63111
63255
|
imageCdn: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
63112
63256
|
icon: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
63113
|
-
iconCdn: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
63257
|
+
iconCdn: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
63258
|
+
description: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
63114
63259
|
};
|
|
63115
63260
|
|
|
63116
63261
|
if (includeInstance) {
|
|
@@ -63175,6 +63320,10 @@ proto.game.CategoryHierarchyCollectionItem.deserializeBinaryFromReader = functio
|
|
|
63175
63320
|
var value = /** @type {string} */ (reader.readString());
|
|
63176
63321
|
msg.setIconCdn(value);
|
|
63177
63322
|
break;
|
|
63323
|
+
case 8:
|
|
63324
|
+
var value = /** @type {string} */ (reader.readString());
|
|
63325
|
+
msg.setDescription(value);
|
|
63326
|
+
break;
|
|
63178
63327
|
default:
|
|
63179
63328
|
reader.skipField();
|
|
63180
63329
|
break;
|
|
@@ -63253,6 +63402,13 @@ proto.game.CategoryHierarchyCollectionItem.serializeBinaryToWriter = function(me
|
|
|
63253
63402
|
f
|
|
63254
63403
|
);
|
|
63255
63404
|
}
|
|
63405
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
|
63406
|
+
if (f != null) {
|
|
63407
|
+
writer.writeString(
|
|
63408
|
+
8,
|
|
63409
|
+
f
|
|
63410
|
+
);
|
|
63411
|
+
}
|
|
63256
63412
|
};
|
|
63257
63413
|
|
|
63258
63414
|
|
|
@@ -63490,6 +63646,42 @@ proto.game.CategoryHierarchyCollectionItem.prototype.hasIconCdn = function() {
|
|
|
63490
63646
|
};
|
|
63491
63647
|
|
|
63492
63648
|
|
|
63649
|
+
/**
|
|
63650
|
+
* optional string description = 8;
|
|
63651
|
+
* @return {string}
|
|
63652
|
+
*/
|
|
63653
|
+
proto.game.CategoryHierarchyCollectionItem.prototype.getDescription = function() {
|
|
63654
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
63655
|
+
};
|
|
63656
|
+
|
|
63657
|
+
|
|
63658
|
+
/**
|
|
63659
|
+
* @param {string} value
|
|
63660
|
+
* @return {!proto.game.CategoryHierarchyCollectionItem} returns this
|
|
63661
|
+
*/
|
|
63662
|
+
proto.game.CategoryHierarchyCollectionItem.prototype.setDescription = function(value) {
|
|
63663
|
+
return jspb.Message.setField(this, 8, value);
|
|
63664
|
+
};
|
|
63665
|
+
|
|
63666
|
+
|
|
63667
|
+
/**
|
|
63668
|
+
* Clears the field making it undefined.
|
|
63669
|
+
* @return {!proto.game.CategoryHierarchyCollectionItem} returns this
|
|
63670
|
+
*/
|
|
63671
|
+
proto.game.CategoryHierarchyCollectionItem.prototype.clearDescription = function() {
|
|
63672
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
63673
|
+
};
|
|
63674
|
+
|
|
63675
|
+
|
|
63676
|
+
/**
|
|
63677
|
+
* Returns whether this field is set.
|
|
63678
|
+
* @return {boolean}
|
|
63679
|
+
*/
|
|
63680
|
+
proto.game.CategoryHierarchyCollectionItem.prototype.hasDescription = function() {
|
|
63681
|
+
return jspb.Message.getField(this, 8) != null;
|
|
63682
|
+
};
|
|
63683
|
+
|
|
63684
|
+
|
|
63493
63685
|
|
|
63494
63686
|
/**
|
|
63495
63687
|
* List of repeated fields within this message type.
|
|
@@ -63537,7 +63729,8 @@ proto.game.CategoryHierarchyItem.toObject = function(includeInstance, msg) {
|
|
|
63537
63729
|
icon: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
63538
63730
|
iconCdn: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
63539
63731
|
collectionsList: jspb.Message.toObjectList(msg.getCollectionsList(),
|
|
63540
|
-
proto.game.CategoryHierarchyCollectionItem.toObject, includeInstance)
|
|
63732
|
+
proto.game.CategoryHierarchyCollectionItem.toObject, includeInstance),
|
|
63733
|
+
description: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
63541
63734
|
};
|
|
63542
63735
|
|
|
63543
63736
|
if (includeInstance) {
|
|
@@ -63607,6 +63800,10 @@ proto.game.CategoryHierarchyItem.deserializeBinaryFromReader = function(msg, rea
|
|
|
63607
63800
|
reader.readMessage(value,proto.game.CategoryHierarchyCollectionItem.deserializeBinaryFromReader);
|
|
63608
63801
|
msg.addCollections(value);
|
|
63609
63802
|
break;
|
|
63803
|
+
case 9:
|
|
63804
|
+
var value = /** @type {string} */ (reader.readString());
|
|
63805
|
+
msg.setDescription(value);
|
|
63806
|
+
break;
|
|
63610
63807
|
default:
|
|
63611
63808
|
reader.skipField();
|
|
63612
63809
|
break;
|
|
@@ -63693,6 +63890,13 @@ proto.game.CategoryHierarchyItem.serializeBinaryToWriter = function(message, wri
|
|
|
63693
63890
|
proto.game.CategoryHierarchyCollectionItem.serializeBinaryToWriter
|
|
63694
63891
|
);
|
|
63695
63892
|
}
|
|
63893
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 9));
|
|
63894
|
+
if (f != null) {
|
|
63895
|
+
writer.writeString(
|
|
63896
|
+
9,
|
|
63897
|
+
f
|
|
63898
|
+
);
|
|
63899
|
+
}
|
|
63696
63900
|
};
|
|
63697
63901
|
|
|
63698
63902
|
|
|
@@ -63968,6 +64172,42 @@ proto.game.CategoryHierarchyItem.prototype.clearCollectionsList = function() {
|
|
|
63968
64172
|
};
|
|
63969
64173
|
|
|
63970
64174
|
|
|
64175
|
+
/**
|
|
64176
|
+
* optional string description = 9;
|
|
64177
|
+
* @return {string}
|
|
64178
|
+
*/
|
|
64179
|
+
proto.game.CategoryHierarchyItem.prototype.getDescription = function() {
|
|
64180
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
64181
|
+
};
|
|
64182
|
+
|
|
64183
|
+
|
|
64184
|
+
/**
|
|
64185
|
+
* @param {string} value
|
|
64186
|
+
* @return {!proto.game.CategoryHierarchyItem} returns this
|
|
64187
|
+
*/
|
|
64188
|
+
proto.game.CategoryHierarchyItem.prototype.setDescription = function(value) {
|
|
64189
|
+
return jspb.Message.setField(this, 9, value);
|
|
64190
|
+
};
|
|
64191
|
+
|
|
64192
|
+
|
|
64193
|
+
/**
|
|
64194
|
+
* Clears the field making it undefined.
|
|
64195
|
+
* @return {!proto.game.CategoryHierarchyItem} returns this
|
|
64196
|
+
*/
|
|
64197
|
+
proto.game.CategoryHierarchyItem.prototype.clearDescription = function() {
|
|
64198
|
+
return jspb.Message.setField(this, 9, undefined);
|
|
64199
|
+
};
|
|
64200
|
+
|
|
64201
|
+
|
|
64202
|
+
/**
|
|
64203
|
+
* Returns whether this field is set.
|
|
64204
|
+
* @return {boolean}
|
|
64205
|
+
*/
|
|
64206
|
+
proto.game.CategoryHierarchyItem.prototype.hasDescription = function() {
|
|
64207
|
+
return jspb.Message.getField(this, 9) != null;
|
|
64208
|
+
};
|
|
64209
|
+
|
|
64210
|
+
|
|
63971
64211
|
|
|
63972
64212
|
/**
|
|
63973
64213
|
* List of repeated fields within this message type.
|
package/package.json
CHANGED
package/payment/payment.proto
CHANGED
|
@@ -278,6 +278,9 @@ message MethodItem {
|
|
|
278
278
|
optional string code = 13;
|
|
279
279
|
optional string currency_type = 14;
|
|
280
280
|
optional bool is_test = 15;
|
|
281
|
+
// Coming soon at the payment-method level. Mutually exclusive with an active method.
|
|
282
|
+
// Absent means false for older producers and legacy rows.
|
|
283
|
+
optional bool soon = 16;
|
|
281
284
|
}
|
|
282
285
|
message MethodRequest {
|
|
283
286
|
oneof request {
|
|
@@ -296,6 +299,9 @@ message MethodItemRequest {
|
|
|
296
299
|
optional string code = 9;
|
|
297
300
|
optional string currency_type = 10;
|
|
298
301
|
optional bool is_test = 11;
|
|
302
|
+
// Coming soon at the payment-method level. Mutually exclusive with is_active=true.
|
|
303
|
+
// Absent leaves the stored value unchanged on update.
|
|
304
|
+
optional bool soon = 12;
|
|
299
305
|
}
|
|
300
306
|
message GetMethodRequest {
|
|
301
307
|
int32 id = 1;
|
|
@@ -998,6 +1004,9 @@ message UserPaymentMethodItem {
|
|
|
998
1004
|
repeated SavedDepositCard saved_cards = 31;
|
|
999
1005
|
// Most recently confirmed successful saved card for this method. Never a PAN.
|
|
1000
1006
|
optional string saved_card_id = 32;
|
|
1007
|
+
// True only for a coming-soon method returned by client discovery.
|
|
1008
|
+
// Absent means false. Hidden methods are omitted entirely.
|
|
1009
|
+
optional bool soon = 33;
|
|
1001
1010
|
}
|
|
1002
1011
|
message UserPaymentMethodsResponse {
|
|
1003
1012
|
repeated UserPaymentMethodItem items = 1;
|
package/payment/payment_pb.js
CHANGED
|
@@ -10568,7 +10568,8 @@ proto.payment.MethodItem.toObject = function(includeInstance, msg) {
|
|
|
10568
10568
|
providerImageCdn: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
10569
10569
|
code: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
10570
10570
|
currencyType: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
10571
|
-
isTest: jspb.Message.getBooleanFieldWithDefault(msg, 15, false)
|
|
10571
|
+
isTest: jspb.Message.getBooleanFieldWithDefault(msg, 15, false),
|
|
10572
|
+
soon: jspb.Message.getBooleanFieldWithDefault(msg, 16, false)
|
|
10572
10573
|
};
|
|
10573
10574
|
|
|
10574
10575
|
if (includeInstance) {
|
|
@@ -10661,6 +10662,10 @@ proto.payment.MethodItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
10661
10662
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
10662
10663
|
msg.setIsTest(value);
|
|
10663
10664
|
break;
|
|
10665
|
+
case 16:
|
|
10666
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
10667
|
+
msg.setSoon(value);
|
|
10668
|
+
break;
|
|
10664
10669
|
default:
|
|
10665
10670
|
reader.skipField();
|
|
10666
10671
|
break;
|
|
@@ -10788,6 +10793,13 @@ proto.payment.MethodItem.serializeBinaryToWriter = function(message, writer) {
|
|
|
10788
10793
|
f
|
|
10789
10794
|
);
|
|
10790
10795
|
}
|
|
10796
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 16));
|
|
10797
|
+
if (f != null) {
|
|
10798
|
+
writer.writeBool(
|
|
10799
|
+
16,
|
|
10800
|
+
f
|
|
10801
|
+
);
|
|
10802
|
+
}
|
|
10791
10803
|
};
|
|
10792
10804
|
|
|
10793
10805
|
|
|
@@ -11295,6 +11307,42 @@ proto.payment.MethodItem.prototype.hasIsTest = function() {
|
|
|
11295
11307
|
};
|
|
11296
11308
|
|
|
11297
11309
|
|
|
11310
|
+
/**
|
|
11311
|
+
* optional bool soon = 16;
|
|
11312
|
+
* @return {boolean}
|
|
11313
|
+
*/
|
|
11314
|
+
proto.payment.MethodItem.prototype.getSoon = function() {
|
|
11315
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 16, false));
|
|
11316
|
+
};
|
|
11317
|
+
|
|
11318
|
+
|
|
11319
|
+
/**
|
|
11320
|
+
* @param {boolean} value
|
|
11321
|
+
* @return {!proto.payment.MethodItem} returns this
|
|
11322
|
+
*/
|
|
11323
|
+
proto.payment.MethodItem.prototype.setSoon = function(value) {
|
|
11324
|
+
return jspb.Message.setField(this, 16, value);
|
|
11325
|
+
};
|
|
11326
|
+
|
|
11327
|
+
|
|
11328
|
+
/**
|
|
11329
|
+
* Clears the field making it undefined.
|
|
11330
|
+
* @return {!proto.payment.MethodItem} returns this
|
|
11331
|
+
*/
|
|
11332
|
+
proto.payment.MethodItem.prototype.clearSoon = function() {
|
|
11333
|
+
return jspb.Message.setField(this, 16, undefined);
|
|
11334
|
+
};
|
|
11335
|
+
|
|
11336
|
+
|
|
11337
|
+
/**
|
|
11338
|
+
* Returns whether this field is set.
|
|
11339
|
+
* @return {boolean}
|
|
11340
|
+
*/
|
|
11341
|
+
proto.payment.MethodItem.prototype.hasSoon = function() {
|
|
11342
|
+
return jspb.Message.getField(this, 16) != null;
|
|
11343
|
+
};
|
|
11344
|
+
|
|
11345
|
+
|
|
11298
11346
|
|
|
11299
11347
|
/**
|
|
11300
11348
|
* Oneof group definitions for this message. Each group defines the field
|
|
@@ -11564,7 +11612,8 @@ proto.payment.MethodItemRequest.toObject = function(includeInstance, msg) {
|
|
|
11564
11612
|
processingType: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
11565
11613
|
code: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
11566
11614
|
currencyType: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
11567
|
-
isTest: jspb.Message.getBooleanFieldWithDefault(msg, 11, false)
|
|
11615
|
+
isTest: jspb.Message.getBooleanFieldWithDefault(msg, 11, false),
|
|
11616
|
+
soon: jspb.Message.getBooleanFieldWithDefault(msg, 12, false)
|
|
11568
11617
|
};
|
|
11569
11618
|
|
|
11570
11619
|
if (includeInstance) {
|
|
@@ -11641,6 +11690,10 @@ proto.payment.MethodItemRequest.deserializeBinaryFromReader = function(msg, read
|
|
|
11641
11690
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
11642
11691
|
msg.setIsTest(value);
|
|
11643
11692
|
break;
|
|
11693
|
+
case 12:
|
|
11694
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
11695
|
+
msg.setSoon(value);
|
|
11696
|
+
break;
|
|
11644
11697
|
default:
|
|
11645
11698
|
reader.skipField();
|
|
11646
11699
|
break;
|
|
@@ -11740,6 +11793,13 @@ proto.payment.MethodItemRequest.serializeBinaryToWriter = function(message, writ
|
|
|
11740
11793
|
f
|
|
11741
11794
|
);
|
|
11742
11795
|
}
|
|
11796
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 12));
|
|
11797
|
+
if (f != null) {
|
|
11798
|
+
writer.writeBool(
|
|
11799
|
+
12,
|
|
11800
|
+
f
|
|
11801
|
+
);
|
|
11802
|
+
}
|
|
11743
11803
|
};
|
|
11744
11804
|
|
|
11745
11805
|
|
|
@@ -12103,6 +12163,42 @@ proto.payment.MethodItemRequest.prototype.hasIsTest = function() {
|
|
|
12103
12163
|
};
|
|
12104
12164
|
|
|
12105
12165
|
|
|
12166
|
+
/**
|
|
12167
|
+
* optional bool soon = 12;
|
|
12168
|
+
* @return {boolean}
|
|
12169
|
+
*/
|
|
12170
|
+
proto.payment.MethodItemRequest.prototype.getSoon = function() {
|
|
12171
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 12, false));
|
|
12172
|
+
};
|
|
12173
|
+
|
|
12174
|
+
|
|
12175
|
+
/**
|
|
12176
|
+
* @param {boolean} value
|
|
12177
|
+
* @return {!proto.payment.MethodItemRequest} returns this
|
|
12178
|
+
*/
|
|
12179
|
+
proto.payment.MethodItemRequest.prototype.setSoon = function(value) {
|
|
12180
|
+
return jspb.Message.setField(this, 12, value);
|
|
12181
|
+
};
|
|
12182
|
+
|
|
12183
|
+
|
|
12184
|
+
/**
|
|
12185
|
+
* Clears the field making it undefined.
|
|
12186
|
+
* @return {!proto.payment.MethodItemRequest} returns this
|
|
12187
|
+
*/
|
|
12188
|
+
proto.payment.MethodItemRequest.prototype.clearSoon = function() {
|
|
12189
|
+
return jspb.Message.setField(this, 12, undefined);
|
|
12190
|
+
};
|
|
12191
|
+
|
|
12192
|
+
|
|
12193
|
+
/**
|
|
12194
|
+
* Returns whether this field is set.
|
|
12195
|
+
* @return {boolean}
|
|
12196
|
+
*/
|
|
12197
|
+
proto.payment.MethodItemRequest.prototype.hasSoon = function() {
|
|
12198
|
+
return jspb.Message.getField(this, 12) != null;
|
|
12199
|
+
};
|
|
12200
|
+
|
|
12201
|
+
|
|
12106
12202
|
|
|
12107
12203
|
|
|
12108
12204
|
|
|
@@ -40803,7 +40899,8 @@ proto.payment.UserPaymentMethodItem.toObject = function(includeInstance, msg) {
|
|
|
40803
40899
|
saveCard: jspb.Message.getBooleanFieldWithDefault(msg, 30, false),
|
|
40804
40900
|
savedCardsList: jspb.Message.toObjectList(msg.getSavedCardsList(),
|
|
40805
40901
|
proto.payment.SavedDepositCard.toObject, includeInstance),
|
|
40806
|
-
savedCardId: jspb.Message.getFieldWithDefault(msg, 32, "")
|
|
40902
|
+
savedCardId: jspb.Message.getFieldWithDefault(msg, 32, ""),
|
|
40903
|
+
soon: jspb.Message.getBooleanFieldWithDefault(msg, 33, false)
|
|
40807
40904
|
};
|
|
40808
40905
|
|
|
40809
40906
|
if (includeInstance) {
|
|
@@ -40970,6 +41067,10 @@ proto.payment.UserPaymentMethodItem.deserializeBinaryFromReader = function(msg,
|
|
|
40970
41067
|
var value = /** @type {string} */ (reader.readString());
|
|
40971
41068
|
msg.setSavedCardId(value);
|
|
40972
41069
|
break;
|
|
41070
|
+
case 33:
|
|
41071
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
41072
|
+
msg.setSoon(value);
|
|
41073
|
+
break;
|
|
40973
41074
|
default:
|
|
40974
41075
|
reader.skipField();
|
|
40975
41076
|
break;
|
|
@@ -41225,6 +41326,13 @@ proto.payment.UserPaymentMethodItem.serializeBinaryToWriter = function(message,
|
|
|
41225
41326
|
f
|
|
41226
41327
|
);
|
|
41227
41328
|
}
|
|
41329
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 33));
|
|
41330
|
+
if (f != null) {
|
|
41331
|
+
writer.writeBool(
|
|
41332
|
+
33,
|
|
41333
|
+
f
|
|
41334
|
+
);
|
|
41335
|
+
}
|
|
41228
41336
|
};
|
|
41229
41337
|
|
|
41230
41338
|
|
|
@@ -42204,6 +42312,42 @@ proto.payment.UserPaymentMethodItem.prototype.hasSavedCardId = function() {
|
|
|
42204
42312
|
};
|
|
42205
42313
|
|
|
42206
42314
|
|
|
42315
|
+
/**
|
|
42316
|
+
* optional bool soon = 33;
|
|
42317
|
+
* @return {boolean}
|
|
42318
|
+
*/
|
|
42319
|
+
proto.payment.UserPaymentMethodItem.prototype.getSoon = function() {
|
|
42320
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 33, false));
|
|
42321
|
+
};
|
|
42322
|
+
|
|
42323
|
+
|
|
42324
|
+
/**
|
|
42325
|
+
* @param {boolean} value
|
|
42326
|
+
* @return {!proto.payment.UserPaymentMethodItem} returns this
|
|
42327
|
+
*/
|
|
42328
|
+
proto.payment.UserPaymentMethodItem.prototype.setSoon = function(value) {
|
|
42329
|
+
return jspb.Message.setField(this, 33, value);
|
|
42330
|
+
};
|
|
42331
|
+
|
|
42332
|
+
|
|
42333
|
+
/**
|
|
42334
|
+
* Clears the field making it undefined.
|
|
42335
|
+
* @return {!proto.payment.UserPaymentMethodItem} returns this
|
|
42336
|
+
*/
|
|
42337
|
+
proto.payment.UserPaymentMethodItem.prototype.clearSoon = function() {
|
|
42338
|
+
return jspb.Message.setField(this, 33, undefined);
|
|
42339
|
+
};
|
|
42340
|
+
|
|
42341
|
+
|
|
42342
|
+
/**
|
|
42343
|
+
* Returns whether this field is set.
|
|
42344
|
+
* @return {boolean}
|
|
42345
|
+
*/
|
|
42346
|
+
proto.payment.UserPaymentMethodItem.prototype.hasSoon = function() {
|
|
42347
|
+
return jspb.Message.getField(this, 33) != null;
|
|
42348
|
+
};
|
|
42349
|
+
|
|
42350
|
+
|
|
42207
42351
|
|
|
42208
42352
|
/**
|
|
42209
42353
|
* List of repeated fields within this message type.
|