protobuf-platform 1.2.311 → 1.2.314
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 +147 -3
- package/package.json +1 -1
- package/user/user.proto +4 -3
- package/user/user_pb.js +47 -17
package/game/game.proto
CHANGED
|
@@ -226,6 +226,7 @@ message TagSearchRequest {
|
|
|
226
226
|
message ItemsBunchRequest {
|
|
227
227
|
repeated int32 ids = 1;
|
|
228
228
|
optional int32 is_active = 2;
|
|
229
|
+
optional int32 is_popular = 3;
|
|
229
230
|
}
|
|
230
231
|
message SyncImagesRequest {
|
|
231
232
|
string type = 1;
|
|
@@ -384,6 +385,7 @@ message ProviderItem {
|
|
|
384
385
|
optional string image = 6;
|
|
385
386
|
optional string image_cdn = 7;
|
|
386
387
|
optional int32 count_of_games = 8;
|
|
388
|
+
optional int32 is_popular = 9;
|
|
387
389
|
}
|
|
388
390
|
//Provider CRUD | Requests
|
|
389
391
|
message ProviderRequest {
|
|
@@ -400,6 +402,7 @@ message ProviderItemRequest {
|
|
|
400
402
|
optional int32 is_active = 5;
|
|
401
403
|
optional string file_name = 6;
|
|
402
404
|
optional string file_type = 7;
|
|
405
|
+
optional int32 is_popular = 8;
|
|
403
406
|
}
|
|
404
407
|
message GetProviderRequest {
|
|
405
408
|
int32 id = 1;
|
package/game/game_pb.js
CHANGED
|
@@ -8148,7 +8148,8 @@ proto.game.ItemsBunchRequest.prototype.toObject = function(opt_includeInstance)
|
|
|
8148
8148
|
proto.game.ItemsBunchRequest.toObject = function(includeInstance, msg) {
|
|
8149
8149
|
var f, obj = {
|
|
8150
8150
|
idsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
8151
|
-
isActive: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
8151
|
+
isActive: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
8152
|
+
isPopular: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
8152
8153
|
};
|
|
8153
8154
|
|
|
8154
8155
|
if (includeInstance) {
|
|
@@ -8195,6 +8196,10 @@ proto.game.ItemsBunchRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
|
8195
8196
|
var value = /** @type {number} */ (reader.readInt32());
|
|
8196
8197
|
msg.setIsActive(value);
|
|
8197
8198
|
break;
|
|
8199
|
+
case 3:
|
|
8200
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
8201
|
+
msg.setIsPopular(value);
|
|
8202
|
+
break;
|
|
8198
8203
|
default:
|
|
8199
8204
|
reader.skipField();
|
|
8200
8205
|
break;
|
|
@@ -8238,6 +8243,13 @@ proto.game.ItemsBunchRequest.serializeBinaryToWriter = function(message, writer)
|
|
|
8238
8243
|
f
|
|
8239
8244
|
);
|
|
8240
8245
|
}
|
|
8246
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 3));
|
|
8247
|
+
if (f != null) {
|
|
8248
|
+
writer.writeInt32(
|
|
8249
|
+
3,
|
|
8250
|
+
f
|
|
8251
|
+
);
|
|
8252
|
+
}
|
|
8241
8253
|
};
|
|
8242
8254
|
|
|
8243
8255
|
|
|
@@ -8314,6 +8326,42 @@ proto.game.ItemsBunchRequest.prototype.hasIsActive = function() {
|
|
|
8314
8326
|
};
|
|
8315
8327
|
|
|
8316
8328
|
|
|
8329
|
+
/**
|
|
8330
|
+
* optional int32 is_popular = 3;
|
|
8331
|
+
* @return {number}
|
|
8332
|
+
*/
|
|
8333
|
+
proto.game.ItemsBunchRequest.prototype.getIsPopular = function() {
|
|
8334
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
8335
|
+
};
|
|
8336
|
+
|
|
8337
|
+
|
|
8338
|
+
/**
|
|
8339
|
+
* @param {number} value
|
|
8340
|
+
* @return {!proto.game.ItemsBunchRequest} returns this
|
|
8341
|
+
*/
|
|
8342
|
+
proto.game.ItemsBunchRequest.prototype.setIsPopular = function(value) {
|
|
8343
|
+
return jspb.Message.setField(this, 3, value);
|
|
8344
|
+
};
|
|
8345
|
+
|
|
8346
|
+
|
|
8347
|
+
/**
|
|
8348
|
+
* Clears the field making it undefined.
|
|
8349
|
+
* @return {!proto.game.ItemsBunchRequest} returns this
|
|
8350
|
+
*/
|
|
8351
|
+
proto.game.ItemsBunchRequest.prototype.clearIsPopular = function() {
|
|
8352
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
8353
|
+
};
|
|
8354
|
+
|
|
8355
|
+
|
|
8356
|
+
/**
|
|
8357
|
+
* Returns whether this field is set.
|
|
8358
|
+
* @return {boolean}
|
|
8359
|
+
*/
|
|
8360
|
+
proto.game.ItemsBunchRequest.prototype.hasIsPopular = function() {
|
|
8361
|
+
return jspb.Message.getField(this, 3) != null;
|
|
8362
|
+
};
|
|
8363
|
+
|
|
8364
|
+
|
|
8317
8365
|
|
|
8318
8366
|
|
|
8319
8367
|
|
|
@@ -14757,7 +14805,8 @@ proto.game.ProviderItem.toObject = function(includeInstance, msg) {
|
|
|
14757
14805
|
isActive: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
14758
14806
|
image: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
14759
14807
|
imageCdn: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
14760
|
-
countOfGames: jspb.Message.getFieldWithDefault(msg, 8, 0)
|
|
14808
|
+
countOfGames: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
14809
|
+
isPopular: jspb.Message.getFieldWithDefault(msg, 9, 0)
|
|
14761
14810
|
};
|
|
14762
14811
|
|
|
14763
14812
|
if (includeInstance) {
|
|
@@ -14826,6 +14875,10 @@ proto.game.ProviderItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
14826
14875
|
var value = /** @type {number} */ (reader.readInt32());
|
|
14827
14876
|
msg.setCountOfGames(value);
|
|
14828
14877
|
break;
|
|
14878
|
+
case 9:
|
|
14879
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
14880
|
+
msg.setIsPopular(value);
|
|
14881
|
+
break;
|
|
14829
14882
|
default:
|
|
14830
14883
|
reader.skipField();
|
|
14831
14884
|
break;
|
|
@@ -14911,6 +14964,13 @@ proto.game.ProviderItem.serializeBinaryToWriter = function(message, writer) {
|
|
|
14911
14964
|
f
|
|
14912
14965
|
);
|
|
14913
14966
|
}
|
|
14967
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 9));
|
|
14968
|
+
if (f != null) {
|
|
14969
|
+
writer.writeInt32(
|
|
14970
|
+
9,
|
|
14971
|
+
f
|
|
14972
|
+
);
|
|
14973
|
+
}
|
|
14914
14974
|
};
|
|
14915
14975
|
|
|
14916
14976
|
|
|
@@ -15202,6 +15262,42 @@ proto.game.ProviderItem.prototype.hasCountOfGames = function() {
|
|
|
15202
15262
|
};
|
|
15203
15263
|
|
|
15204
15264
|
|
|
15265
|
+
/**
|
|
15266
|
+
* optional int32 is_popular = 9;
|
|
15267
|
+
* @return {number}
|
|
15268
|
+
*/
|
|
15269
|
+
proto.game.ProviderItem.prototype.getIsPopular = function() {
|
|
15270
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
|
|
15271
|
+
};
|
|
15272
|
+
|
|
15273
|
+
|
|
15274
|
+
/**
|
|
15275
|
+
* @param {number} value
|
|
15276
|
+
* @return {!proto.game.ProviderItem} returns this
|
|
15277
|
+
*/
|
|
15278
|
+
proto.game.ProviderItem.prototype.setIsPopular = function(value) {
|
|
15279
|
+
return jspb.Message.setField(this, 9, value);
|
|
15280
|
+
};
|
|
15281
|
+
|
|
15282
|
+
|
|
15283
|
+
/**
|
|
15284
|
+
* Clears the field making it undefined.
|
|
15285
|
+
* @return {!proto.game.ProviderItem} returns this
|
|
15286
|
+
*/
|
|
15287
|
+
proto.game.ProviderItem.prototype.clearIsPopular = function() {
|
|
15288
|
+
return jspb.Message.setField(this, 9, undefined);
|
|
15289
|
+
};
|
|
15290
|
+
|
|
15291
|
+
|
|
15292
|
+
/**
|
|
15293
|
+
* Returns whether this field is set.
|
|
15294
|
+
* @return {boolean}
|
|
15295
|
+
*/
|
|
15296
|
+
proto.game.ProviderItem.prototype.hasIsPopular = function() {
|
|
15297
|
+
return jspb.Message.getField(this, 9) != null;
|
|
15298
|
+
};
|
|
15299
|
+
|
|
15300
|
+
|
|
15205
15301
|
|
|
15206
15302
|
/**
|
|
15207
15303
|
* Oneof group definitions for this message. Each group defines the field
|
|
@@ -15468,7 +15564,8 @@ proto.game.ProviderItemRequest.toObject = function(includeInstance, msg) {
|
|
|
15468
15564
|
description: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
15469
15565
|
isActive: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
15470
15566
|
fileName: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
15471
|
-
fileType: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
15567
|
+
fileType: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
15568
|
+
isPopular: jspb.Message.getFieldWithDefault(msg, 8, 0)
|
|
15472
15569
|
};
|
|
15473
15570
|
|
|
15474
15571
|
if (includeInstance) {
|
|
@@ -15533,6 +15630,10 @@ proto.game.ProviderItemRequest.deserializeBinaryFromReader = function(msg, reade
|
|
|
15533
15630
|
var value = /** @type {string} */ (reader.readString());
|
|
15534
15631
|
msg.setFileType(value);
|
|
15535
15632
|
break;
|
|
15633
|
+
case 8:
|
|
15634
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
15635
|
+
msg.setIsPopular(value);
|
|
15636
|
+
break;
|
|
15536
15637
|
default:
|
|
15537
15638
|
reader.skipField();
|
|
15538
15639
|
break;
|
|
@@ -15611,6 +15712,13 @@ proto.game.ProviderItemRequest.serializeBinaryToWriter = function(message, write
|
|
|
15611
15712
|
f
|
|
15612
15713
|
);
|
|
15613
15714
|
}
|
|
15715
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 8));
|
|
15716
|
+
if (f != null) {
|
|
15717
|
+
writer.writeInt32(
|
|
15718
|
+
8,
|
|
15719
|
+
f
|
|
15720
|
+
);
|
|
15721
|
+
}
|
|
15614
15722
|
};
|
|
15615
15723
|
|
|
15616
15724
|
|
|
@@ -15866,6 +15974,42 @@ proto.game.ProviderItemRequest.prototype.hasFileType = function() {
|
|
|
15866
15974
|
};
|
|
15867
15975
|
|
|
15868
15976
|
|
|
15977
|
+
/**
|
|
15978
|
+
* optional int32 is_popular = 8;
|
|
15979
|
+
* @return {number}
|
|
15980
|
+
*/
|
|
15981
|
+
proto.game.ProviderItemRequest.prototype.getIsPopular = function() {
|
|
15982
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
15983
|
+
};
|
|
15984
|
+
|
|
15985
|
+
|
|
15986
|
+
/**
|
|
15987
|
+
* @param {number} value
|
|
15988
|
+
* @return {!proto.game.ProviderItemRequest} returns this
|
|
15989
|
+
*/
|
|
15990
|
+
proto.game.ProviderItemRequest.prototype.setIsPopular = function(value) {
|
|
15991
|
+
return jspb.Message.setField(this, 8, value);
|
|
15992
|
+
};
|
|
15993
|
+
|
|
15994
|
+
|
|
15995
|
+
/**
|
|
15996
|
+
* Clears the field making it undefined.
|
|
15997
|
+
* @return {!proto.game.ProviderItemRequest} returns this
|
|
15998
|
+
*/
|
|
15999
|
+
proto.game.ProviderItemRequest.prototype.clearIsPopular = function() {
|
|
16000
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
16001
|
+
};
|
|
16002
|
+
|
|
16003
|
+
|
|
16004
|
+
/**
|
|
16005
|
+
* Returns whether this field is set.
|
|
16006
|
+
* @return {boolean}
|
|
16007
|
+
*/
|
|
16008
|
+
proto.game.ProviderItemRequest.prototype.hasIsPopular = function() {
|
|
16009
|
+
return jspb.Message.getField(this, 8) != null;
|
|
16010
|
+
};
|
|
16011
|
+
|
|
16012
|
+
|
|
15869
16013
|
|
|
15870
16014
|
|
|
15871
16015
|
|
package/package.json
CHANGED
package/user/user.proto
CHANGED
|
@@ -770,9 +770,10 @@ message UpdateRiskPermissionMatrixLimitRequest {
|
|
|
770
770
|
string risk_level = 1;
|
|
771
771
|
string operation_type = 2;
|
|
772
772
|
int64 amount_minor = 3;
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
773
|
+
int64 amount_major = 4;
|
|
774
|
+
string currency = 5;
|
|
775
|
+
int32 currency_scale = 6;
|
|
776
|
+
bool is_active = 7;
|
|
776
777
|
}
|
|
777
778
|
message CategoryItem {
|
|
778
779
|
int32 id = 1;
|
package/user/user_pb.js
CHANGED
|
@@ -33028,9 +33028,10 @@ proto.user.UpdateRiskPermissionMatrixLimitRequest.toObject = function(includeIns
|
|
|
33028
33028
|
riskLevel: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
33029
33029
|
operationType: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
33030
33030
|
amountMinor: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
33031
|
-
|
|
33032
|
-
|
|
33033
|
-
|
|
33031
|
+
amountMajor: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
33032
|
+
currency: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
33033
|
+
currencyScale: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
33034
|
+
isActive: jspb.Message.getBooleanFieldWithDefault(msg, 7, false)
|
|
33034
33035
|
};
|
|
33035
33036
|
|
|
33036
33037
|
if (includeInstance) {
|
|
@@ -33080,14 +33081,18 @@ proto.user.UpdateRiskPermissionMatrixLimitRequest.deserializeBinaryFromReader =
|
|
|
33080
33081
|
msg.setAmountMinor(value);
|
|
33081
33082
|
break;
|
|
33082
33083
|
case 4:
|
|
33084
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
33085
|
+
msg.setAmountMajor(value);
|
|
33086
|
+
break;
|
|
33087
|
+
case 5:
|
|
33083
33088
|
var value = /** @type {string} */ (reader.readString());
|
|
33084
33089
|
msg.setCurrency(value);
|
|
33085
33090
|
break;
|
|
33086
|
-
case
|
|
33091
|
+
case 6:
|
|
33087
33092
|
var value = /** @type {number} */ (reader.readInt32());
|
|
33088
33093
|
msg.setCurrencyScale(value);
|
|
33089
33094
|
break;
|
|
33090
|
-
case
|
|
33095
|
+
case 7:
|
|
33091
33096
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
33092
33097
|
msg.setIsActive(value);
|
|
33093
33098
|
break;
|
|
@@ -33141,24 +33146,31 @@ proto.user.UpdateRiskPermissionMatrixLimitRequest.serializeBinaryToWriter = func
|
|
|
33141
33146
|
f
|
|
33142
33147
|
);
|
|
33143
33148
|
}
|
|
33149
|
+
f = message.getAmountMajor();
|
|
33150
|
+
if (f !== 0) {
|
|
33151
|
+
writer.writeInt64(
|
|
33152
|
+
4,
|
|
33153
|
+
f
|
|
33154
|
+
);
|
|
33155
|
+
}
|
|
33144
33156
|
f = message.getCurrency();
|
|
33145
33157
|
if (f.length > 0) {
|
|
33146
33158
|
writer.writeString(
|
|
33147
|
-
|
|
33159
|
+
5,
|
|
33148
33160
|
f
|
|
33149
33161
|
);
|
|
33150
33162
|
}
|
|
33151
33163
|
f = message.getCurrencyScale();
|
|
33152
33164
|
if (f !== 0) {
|
|
33153
33165
|
writer.writeInt32(
|
|
33154
|
-
|
|
33166
|
+
6,
|
|
33155
33167
|
f
|
|
33156
33168
|
);
|
|
33157
33169
|
}
|
|
33158
33170
|
f = message.getIsActive();
|
|
33159
33171
|
if (f) {
|
|
33160
33172
|
writer.writeBool(
|
|
33161
|
-
|
|
33173
|
+
7,
|
|
33162
33174
|
f
|
|
33163
33175
|
);
|
|
33164
33176
|
}
|
|
@@ -33220,11 +33232,29 @@ proto.user.UpdateRiskPermissionMatrixLimitRequest.prototype.setAmountMinor = fun
|
|
|
33220
33232
|
|
|
33221
33233
|
|
|
33222
33234
|
/**
|
|
33223
|
-
* optional
|
|
33235
|
+
* optional int64 amount_major = 4;
|
|
33236
|
+
* @return {number}
|
|
33237
|
+
*/
|
|
33238
|
+
proto.user.UpdateRiskPermissionMatrixLimitRequest.prototype.getAmountMajor = function() {
|
|
33239
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
33240
|
+
};
|
|
33241
|
+
|
|
33242
|
+
|
|
33243
|
+
/**
|
|
33244
|
+
* @param {number} value
|
|
33245
|
+
* @return {!proto.user.UpdateRiskPermissionMatrixLimitRequest} returns this
|
|
33246
|
+
*/
|
|
33247
|
+
proto.user.UpdateRiskPermissionMatrixLimitRequest.prototype.setAmountMajor = function(value) {
|
|
33248
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
33249
|
+
};
|
|
33250
|
+
|
|
33251
|
+
|
|
33252
|
+
/**
|
|
33253
|
+
* optional string currency = 5;
|
|
33224
33254
|
* @return {string}
|
|
33225
33255
|
*/
|
|
33226
33256
|
proto.user.UpdateRiskPermissionMatrixLimitRequest.prototype.getCurrency = function() {
|
|
33227
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
33257
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
33228
33258
|
};
|
|
33229
33259
|
|
|
33230
33260
|
|
|
@@ -33233,16 +33263,16 @@ proto.user.UpdateRiskPermissionMatrixLimitRequest.prototype.getCurrency = functi
|
|
|
33233
33263
|
* @return {!proto.user.UpdateRiskPermissionMatrixLimitRequest} returns this
|
|
33234
33264
|
*/
|
|
33235
33265
|
proto.user.UpdateRiskPermissionMatrixLimitRequest.prototype.setCurrency = function(value) {
|
|
33236
|
-
return jspb.Message.setProto3StringField(this,
|
|
33266
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
33237
33267
|
};
|
|
33238
33268
|
|
|
33239
33269
|
|
|
33240
33270
|
/**
|
|
33241
|
-
* optional int32 currency_scale =
|
|
33271
|
+
* optional int32 currency_scale = 6;
|
|
33242
33272
|
* @return {number}
|
|
33243
33273
|
*/
|
|
33244
33274
|
proto.user.UpdateRiskPermissionMatrixLimitRequest.prototype.getCurrencyScale = function() {
|
|
33245
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
33275
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
33246
33276
|
};
|
|
33247
33277
|
|
|
33248
33278
|
|
|
@@ -33251,16 +33281,16 @@ proto.user.UpdateRiskPermissionMatrixLimitRequest.prototype.getCurrencyScale = f
|
|
|
33251
33281
|
* @return {!proto.user.UpdateRiskPermissionMatrixLimitRequest} returns this
|
|
33252
33282
|
*/
|
|
33253
33283
|
proto.user.UpdateRiskPermissionMatrixLimitRequest.prototype.setCurrencyScale = function(value) {
|
|
33254
|
-
return jspb.Message.setProto3IntField(this,
|
|
33284
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
33255
33285
|
};
|
|
33256
33286
|
|
|
33257
33287
|
|
|
33258
33288
|
/**
|
|
33259
|
-
* optional bool is_active =
|
|
33289
|
+
* optional bool is_active = 7;
|
|
33260
33290
|
* @return {boolean}
|
|
33261
33291
|
*/
|
|
33262
33292
|
proto.user.UpdateRiskPermissionMatrixLimitRequest.prototype.getIsActive = function() {
|
|
33263
|
-
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this,
|
|
33293
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false));
|
|
33264
33294
|
};
|
|
33265
33295
|
|
|
33266
33296
|
|
|
@@ -33269,7 +33299,7 @@ proto.user.UpdateRiskPermissionMatrixLimitRequest.prototype.getIsActive = functi
|
|
|
33269
33299
|
* @return {!proto.user.UpdateRiskPermissionMatrixLimitRequest} returns this
|
|
33270
33300
|
*/
|
|
33271
33301
|
proto.user.UpdateRiskPermissionMatrixLimitRequest.prototype.setIsActive = function(value) {
|
|
33272
|
-
return jspb.Message.setProto3BooleanField(this,
|
|
33302
|
+
return jspb.Message.setProto3BooleanField(this, 7, value);
|
|
33273
33303
|
};
|
|
33274
33304
|
|
|
33275
33305
|
|