protobuf-platform 1.2.200 → 1.2.202
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 +3 -0
- package/game/game_pb.js +194 -2
- package/package.json +1 -1
package/game/game.proto
CHANGED
|
@@ -713,6 +713,8 @@ message CashbackGamePreview {
|
|
|
713
713
|
string provider_slug = 2;
|
|
714
714
|
string image = 3;
|
|
715
715
|
optional int32 game_id = 4;
|
|
716
|
+
optional string provider_title = 5;
|
|
717
|
+
optional string provider_image = 6;
|
|
716
718
|
}
|
|
717
719
|
message CashBackListGamesItem {
|
|
718
720
|
int32 cashback_list_id = 1;
|
|
@@ -727,6 +729,7 @@ message CashBackTypesGamesRequest {
|
|
|
727
729
|
optional int32 offset = 3;
|
|
728
730
|
optional int32 is_mobile = 4;
|
|
729
731
|
optional string geo = 5;
|
|
732
|
+
optional bool is_admin = 6;
|
|
730
733
|
}
|
|
731
734
|
message CashBackTypeGamesItem {
|
|
732
735
|
string cashback_type = 1;
|
package/game/game_pb.js
CHANGED
|
@@ -29882,7 +29882,9 @@ proto.game.CashbackGamePreview.toObject = function(includeInstance, msg) {
|
|
|
29882
29882
|
gameSlug: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
29883
29883
|
providerSlug: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
29884
29884
|
image: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
29885
|
-
gameId: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
29885
|
+
gameId: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
29886
|
+
providerTitle: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
29887
|
+
providerImage: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
29886
29888
|
};
|
|
29887
29889
|
|
|
29888
29890
|
if (includeInstance) {
|
|
@@ -29935,6 +29937,14 @@ proto.game.CashbackGamePreview.deserializeBinaryFromReader = function(msg, reade
|
|
|
29935
29937
|
var value = /** @type {number} */ (reader.readInt32());
|
|
29936
29938
|
msg.setGameId(value);
|
|
29937
29939
|
break;
|
|
29940
|
+
case 5:
|
|
29941
|
+
var value = /** @type {string} */ (reader.readString());
|
|
29942
|
+
msg.setProviderTitle(value);
|
|
29943
|
+
break;
|
|
29944
|
+
case 6:
|
|
29945
|
+
var value = /** @type {string} */ (reader.readString());
|
|
29946
|
+
msg.setProviderImage(value);
|
|
29947
|
+
break;
|
|
29938
29948
|
default:
|
|
29939
29949
|
reader.skipField();
|
|
29940
29950
|
break;
|
|
@@ -29992,6 +30002,20 @@ proto.game.CashbackGamePreview.serializeBinaryToWriter = function(message, write
|
|
|
29992
30002
|
f
|
|
29993
30003
|
);
|
|
29994
30004
|
}
|
|
30005
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
30006
|
+
if (f != null) {
|
|
30007
|
+
writer.writeString(
|
|
30008
|
+
5,
|
|
30009
|
+
f
|
|
30010
|
+
);
|
|
30011
|
+
}
|
|
30012
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
30013
|
+
if (f != null) {
|
|
30014
|
+
writer.writeString(
|
|
30015
|
+
6,
|
|
30016
|
+
f
|
|
30017
|
+
);
|
|
30018
|
+
}
|
|
29995
30019
|
};
|
|
29996
30020
|
|
|
29997
30021
|
|
|
@@ -30085,6 +30109,78 @@ proto.game.CashbackGamePreview.prototype.hasGameId = function() {
|
|
|
30085
30109
|
};
|
|
30086
30110
|
|
|
30087
30111
|
|
|
30112
|
+
/**
|
|
30113
|
+
* optional string provider_title = 5;
|
|
30114
|
+
* @return {string}
|
|
30115
|
+
*/
|
|
30116
|
+
proto.game.CashbackGamePreview.prototype.getProviderTitle = function() {
|
|
30117
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
30118
|
+
};
|
|
30119
|
+
|
|
30120
|
+
|
|
30121
|
+
/**
|
|
30122
|
+
* @param {string} value
|
|
30123
|
+
* @return {!proto.game.CashbackGamePreview} returns this
|
|
30124
|
+
*/
|
|
30125
|
+
proto.game.CashbackGamePreview.prototype.setProviderTitle = function(value) {
|
|
30126
|
+
return jspb.Message.setField(this, 5, value);
|
|
30127
|
+
};
|
|
30128
|
+
|
|
30129
|
+
|
|
30130
|
+
/**
|
|
30131
|
+
* Clears the field making it undefined.
|
|
30132
|
+
* @return {!proto.game.CashbackGamePreview} returns this
|
|
30133
|
+
*/
|
|
30134
|
+
proto.game.CashbackGamePreview.prototype.clearProviderTitle = function() {
|
|
30135
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
30136
|
+
};
|
|
30137
|
+
|
|
30138
|
+
|
|
30139
|
+
/**
|
|
30140
|
+
* Returns whether this field is set.
|
|
30141
|
+
* @return {boolean}
|
|
30142
|
+
*/
|
|
30143
|
+
proto.game.CashbackGamePreview.prototype.hasProviderTitle = function() {
|
|
30144
|
+
return jspb.Message.getField(this, 5) != null;
|
|
30145
|
+
};
|
|
30146
|
+
|
|
30147
|
+
|
|
30148
|
+
/**
|
|
30149
|
+
* optional string provider_image = 6;
|
|
30150
|
+
* @return {string}
|
|
30151
|
+
*/
|
|
30152
|
+
proto.game.CashbackGamePreview.prototype.getProviderImage = function() {
|
|
30153
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
30154
|
+
};
|
|
30155
|
+
|
|
30156
|
+
|
|
30157
|
+
/**
|
|
30158
|
+
* @param {string} value
|
|
30159
|
+
* @return {!proto.game.CashbackGamePreview} returns this
|
|
30160
|
+
*/
|
|
30161
|
+
proto.game.CashbackGamePreview.prototype.setProviderImage = function(value) {
|
|
30162
|
+
return jspb.Message.setField(this, 6, value);
|
|
30163
|
+
};
|
|
30164
|
+
|
|
30165
|
+
|
|
30166
|
+
/**
|
|
30167
|
+
* Clears the field making it undefined.
|
|
30168
|
+
* @return {!proto.game.CashbackGamePreview} returns this
|
|
30169
|
+
*/
|
|
30170
|
+
proto.game.CashbackGamePreview.prototype.clearProviderImage = function() {
|
|
30171
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
30172
|
+
};
|
|
30173
|
+
|
|
30174
|
+
|
|
30175
|
+
/**
|
|
30176
|
+
* Returns whether this field is set.
|
|
30177
|
+
* @return {boolean}
|
|
30178
|
+
*/
|
|
30179
|
+
proto.game.CashbackGamePreview.prototype.hasProviderImage = function() {
|
|
30180
|
+
return jspb.Message.getField(this, 6) != null;
|
|
30181
|
+
};
|
|
30182
|
+
|
|
30183
|
+
|
|
30088
30184
|
|
|
30089
30185
|
/**
|
|
30090
30186
|
* List of repeated fields within this message type.
|
|
@@ -30477,7 +30573,9 @@ proto.game.CashBackTypesGamesRequest.toObject = function(includeInstance, msg) {
|
|
|
30477
30573
|
cashbackTypesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
30478
30574
|
limit: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
30479
30575
|
offset: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
30480
|
-
isMobile: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
30576
|
+
isMobile: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
30577
|
+
geo: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
30578
|
+
isAdmin: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
|
|
30481
30579
|
};
|
|
30482
30580
|
|
|
30483
30581
|
if (includeInstance) {
|
|
@@ -30530,6 +30628,14 @@ proto.game.CashBackTypesGamesRequest.deserializeBinaryFromReader = function(msg,
|
|
|
30530
30628
|
var value = /** @type {number} */ (reader.readInt32());
|
|
30531
30629
|
msg.setIsMobile(value);
|
|
30532
30630
|
break;
|
|
30631
|
+
case 5:
|
|
30632
|
+
var value = /** @type {string} */ (reader.readString());
|
|
30633
|
+
msg.setGeo(value);
|
|
30634
|
+
break;
|
|
30635
|
+
case 6:
|
|
30636
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
30637
|
+
msg.setIsAdmin(value);
|
|
30638
|
+
break;
|
|
30533
30639
|
default:
|
|
30534
30640
|
reader.skipField();
|
|
30535
30641
|
break;
|
|
@@ -30587,6 +30693,20 @@ proto.game.CashBackTypesGamesRequest.serializeBinaryToWriter = function(message,
|
|
|
30587
30693
|
f
|
|
30588
30694
|
);
|
|
30589
30695
|
}
|
|
30696
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
30697
|
+
if (f != null) {
|
|
30698
|
+
writer.writeString(
|
|
30699
|
+
5,
|
|
30700
|
+
f
|
|
30701
|
+
);
|
|
30702
|
+
}
|
|
30703
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 6));
|
|
30704
|
+
if (f != null) {
|
|
30705
|
+
writer.writeBool(
|
|
30706
|
+
6,
|
|
30707
|
+
f
|
|
30708
|
+
);
|
|
30709
|
+
}
|
|
30590
30710
|
};
|
|
30591
30711
|
|
|
30592
30712
|
|
|
@@ -30735,6 +30855,78 @@ proto.game.CashBackTypesGamesRequest.prototype.hasIsMobile = function() {
|
|
|
30735
30855
|
};
|
|
30736
30856
|
|
|
30737
30857
|
|
|
30858
|
+
/**
|
|
30859
|
+
* optional string geo = 5;
|
|
30860
|
+
* @return {string}
|
|
30861
|
+
*/
|
|
30862
|
+
proto.game.CashBackTypesGamesRequest.prototype.getGeo = function() {
|
|
30863
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
30864
|
+
};
|
|
30865
|
+
|
|
30866
|
+
|
|
30867
|
+
/**
|
|
30868
|
+
* @param {string} value
|
|
30869
|
+
* @return {!proto.game.CashBackTypesGamesRequest} returns this
|
|
30870
|
+
*/
|
|
30871
|
+
proto.game.CashBackTypesGamesRequest.prototype.setGeo = function(value) {
|
|
30872
|
+
return jspb.Message.setField(this, 5, value);
|
|
30873
|
+
};
|
|
30874
|
+
|
|
30875
|
+
|
|
30876
|
+
/**
|
|
30877
|
+
* Clears the field making it undefined.
|
|
30878
|
+
* @return {!proto.game.CashBackTypesGamesRequest} returns this
|
|
30879
|
+
*/
|
|
30880
|
+
proto.game.CashBackTypesGamesRequest.prototype.clearGeo = function() {
|
|
30881
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
30882
|
+
};
|
|
30883
|
+
|
|
30884
|
+
|
|
30885
|
+
/**
|
|
30886
|
+
* Returns whether this field is set.
|
|
30887
|
+
* @return {boolean}
|
|
30888
|
+
*/
|
|
30889
|
+
proto.game.CashBackTypesGamesRequest.prototype.hasGeo = function() {
|
|
30890
|
+
return jspb.Message.getField(this, 5) != null;
|
|
30891
|
+
};
|
|
30892
|
+
|
|
30893
|
+
|
|
30894
|
+
/**
|
|
30895
|
+
* optional bool is_admin = 6;
|
|
30896
|
+
* @return {boolean}
|
|
30897
|
+
*/
|
|
30898
|
+
proto.game.CashBackTypesGamesRequest.prototype.getIsAdmin = function() {
|
|
30899
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
|
|
30900
|
+
};
|
|
30901
|
+
|
|
30902
|
+
|
|
30903
|
+
/**
|
|
30904
|
+
* @param {boolean} value
|
|
30905
|
+
* @return {!proto.game.CashBackTypesGamesRequest} returns this
|
|
30906
|
+
*/
|
|
30907
|
+
proto.game.CashBackTypesGamesRequest.prototype.setIsAdmin = function(value) {
|
|
30908
|
+
return jspb.Message.setField(this, 6, value);
|
|
30909
|
+
};
|
|
30910
|
+
|
|
30911
|
+
|
|
30912
|
+
/**
|
|
30913
|
+
* Clears the field making it undefined.
|
|
30914
|
+
* @return {!proto.game.CashBackTypesGamesRequest} returns this
|
|
30915
|
+
*/
|
|
30916
|
+
proto.game.CashBackTypesGamesRequest.prototype.clearIsAdmin = function() {
|
|
30917
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
30918
|
+
};
|
|
30919
|
+
|
|
30920
|
+
|
|
30921
|
+
/**
|
|
30922
|
+
* Returns whether this field is set.
|
|
30923
|
+
* @return {boolean}
|
|
30924
|
+
*/
|
|
30925
|
+
proto.game.CashBackTypesGamesRequest.prototype.hasIsAdmin = function() {
|
|
30926
|
+
return jspb.Message.getField(this, 6) != null;
|
|
30927
|
+
};
|
|
30928
|
+
|
|
30929
|
+
|
|
30738
30930
|
|
|
30739
30931
|
/**
|
|
30740
30932
|
* List of repeated fields within this message type.
|