protobuf-platform 1.2.368 → 1.2.370
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/bonus/bonus.proto +2 -0
- package/bonus/bonus_pb.js +97 -1
- package/game/game.proto +40 -0
- package/game/game_grpc_pb.js +33 -0
- package/game/game_pb.js +2070 -0
- package/notification/notification.proto +50 -5
- package/notification/notification_grpc_pb.js +101 -2
- package/notification/notification_pb.js +2697 -834
- package/package.json +1 -1
- package/user/user.proto +1 -0
- package/user/user_grpc_pb.js +11 -0
package/bonus/bonus.proto
CHANGED
|
@@ -353,6 +353,8 @@ message DepositEligibleUserBonusItem {
|
|
|
353
353
|
// Display/validity
|
|
354
354
|
optional string activation_until = 9;
|
|
355
355
|
repeated DepositEligibleUserBonusRewardItem rewards = 10;
|
|
356
|
+
optional string mobile_image = 11; // file name / relative path
|
|
357
|
+
optional string mobile_image_cdn = 12; // absolute CDN URL
|
|
356
358
|
}
|
|
357
359
|
message GetActiveWageringUserBonusesRequest {
|
|
358
360
|
int32 user_id = 1;
|
package/bonus/bonus_pb.js
CHANGED
|
@@ -15012,7 +15012,9 @@ proto.bonus.DepositEligibleUserBonusItem.toObject = function(includeInstance, ms
|
|
|
15012
15012
|
numberOfDeposit: jspb.Message.getFieldWithDefault(msg, 8, 0),
|
|
15013
15013
|
activationUntil: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
15014
15014
|
rewardsList: jspb.Message.toObjectList(msg.getRewardsList(),
|
|
15015
|
-
proto.bonus.DepositEligibleUserBonusRewardItem.toObject, includeInstance)
|
|
15015
|
+
proto.bonus.DepositEligibleUserBonusRewardItem.toObject, includeInstance),
|
|
15016
|
+
mobileImage: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
15017
|
+
mobileImageCdn: jspb.Message.getFieldWithDefault(msg, 12, "")
|
|
15016
15018
|
};
|
|
15017
15019
|
|
|
15018
15020
|
if (includeInstance) {
|
|
@@ -15090,6 +15092,14 @@ proto.bonus.DepositEligibleUserBonusItem.deserializeBinaryFromReader = function(
|
|
|
15090
15092
|
reader.readMessage(value,proto.bonus.DepositEligibleUserBonusRewardItem.deserializeBinaryFromReader);
|
|
15091
15093
|
msg.addRewards(value);
|
|
15092
15094
|
break;
|
|
15095
|
+
case 11:
|
|
15096
|
+
var value = /** @type {string} */ (reader.readString());
|
|
15097
|
+
msg.setMobileImage(value);
|
|
15098
|
+
break;
|
|
15099
|
+
case 12:
|
|
15100
|
+
var value = /** @type {string} */ (reader.readString());
|
|
15101
|
+
msg.setMobileImageCdn(value);
|
|
15102
|
+
break;
|
|
15093
15103
|
default:
|
|
15094
15104
|
reader.skipField();
|
|
15095
15105
|
break;
|
|
@@ -15190,6 +15200,20 @@ proto.bonus.DepositEligibleUserBonusItem.serializeBinaryToWriter = function(mess
|
|
|
15190
15200
|
proto.bonus.DepositEligibleUserBonusRewardItem.serializeBinaryToWriter
|
|
15191
15201
|
);
|
|
15192
15202
|
}
|
|
15203
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 11));
|
|
15204
|
+
if (f != null) {
|
|
15205
|
+
writer.writeString(
|
|
15206
|
+
11,
|
|
15207
|
+
f
|
|
15208
|
+
);
|
|
15209
|
+
}
|
|
15210
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 12));
|
|
15211
|
+
if (f != null) {
|
|
15212
|
+
writer.writeString(
|
|
15213
|
+
12,
|
|
15214
|
+
f
|
|
15215
|
+
);
|
|
15216
|
+
}
|
|
15193
15217
|
};
|
|
15194
15218
|
|
|
15195
15219
|
|
|
@@ -15537,6 +15561,78 @@ proto.bonus.DepositEligibleUserBonusItem.prototype.clearRewardsList = function()
|
|
|
15537
15561
|
};
|
|
15538
15562
|
|
|
15539
15563
|
|
|
15564
|
+
/**
|
|
15565
|
+
* optional string mobile_image = 11;
|
|
15566
|
+
* @return {string}
|
|
15567
|
+
*/
|
|
15568
|
+
proto.bonus.DepositEligibleUserBonusItem.prototype.getMobileImage = function() {
|
|
15569
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
15570
|
+
};
|
|
15571
|
+
|
|
15572
|
+
|
|
15573
|
+
/**
|
|
15574
|
+
* @param {string} value
|
|
15575
|
+
* @return {!proto.bonus.DepositEligibleUserBonusItem} returns this
|
|
15576
|
+
*/
|
|
15577
|
+
proto.bonus.DepositEligibleUserBonusItem.prototype.setMobileImage = function(value) {
|
|
15578
|
+
return jspb.Message.setField(this, 11, value);
|
|
15579
|
+
};
|
|
15580
|
+
|
|
15581
|
+
|
|
15582
|
+
/**
|
|
15583
|
+
* Clears the field making it undefined.
|
|
15584
|
+
* @return {!proto.bonus.DepositEligibleUserBonusItem} returns this
|
|
15585
|
+
*/
|
|
15586
|
+
proto.bonus.DepositEligibleUserBonusItem.prototype.clearMobileImage = function() {
|
|
15587
|
+
return jspb.Message.setField(this, 11, undefined);
|
|
15588
|
+
};
|
|
15589
|
+
|
|
15590
|
+
|
|
15591
|
+
/**
|
|
15592
|
+
* Returns whether this field is set.
|
|
15593
|
+
* @return {boolean}
|
|
15594
|
+
*/
|
|
15595
|
+
proto.bonus.DepositEligibleUserBonusItem.prototype.hasMobileImage = function() {
|
|
15596
|
+
return jspb.Message.getField(this, 11) != null;
|
|
15597
|
+
};
|
|
15598
|
+
|
|
15599
|
+
|
|
15600
|
+
/**
|
|
15601
|
+
* optional string mobile_image_cdn = 12;
|
|
15602
|
+
* @return {string}
|
|
15603
|
+
*/
|
|
15604
|
+
proto.bonus.DepositEligibleUserBonusItem.prototype.getMobileImageCdn = function() {
|
|
15605
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
15606
|
+
};
|
|
15607
|
+
|
|
15608
|
+
|
|
15609
|
+
/**
|
|
15610
|
+
* @param {string} value
|
|
15611
|
+
* @return {!proto.bonus.DepositEligibleUserBonusItem} returns this
|
|
15612
|
+
*/
|
|
15613
|
+
proto.bonus.DepositEligibleUserBonusItem.prototype.setMobileImageCdn = function(value) {
|
|
15614
|
+
return jspb.Message.setField(this, 12, value);
|
|
15615
|
+
};
|
|
15616
|
+
|
|
15617
|
+
|
|
15618
|
+
/**
|
|
15619
|
+
* Clears the field making it undefined.
|
|
15620
|
+
* @return {!proto.bonus.DepositEligibleUserBonusItem} returns this
|
|
15621
|
+
*/
|
|
15622
|
+
proto.bonus.DepositEligibleUserBonusItem.prototype.clearMobileImageCdn = function() {
|
|
15623
|
+
return jspb.Message.setField(this, 12, undefined);
|
|
15624
|
+
};
|
|
15625
|
+
|
|
15626
|
+
|
|
15627
|
+
/**
|
|
15628
|
+
* Returns whether this field is set.
|
|
15629
|
+
* @return {boolean}
|
|
15630
|
+
*/
|
|
15631
|
+
proto.bonus.DepositEligibleUserBonusItem.prototype.hasMobileImageCdn = function() {
|
|
15632
|
+
return jspb.Message.getField(this, 12) != null;
|
|
15633
|
+
};
|
|
15634
|
+
|
|
15635
|
+
|
|
15540
15636
|
|
|
15541
15637
|
|
|
15542
15638
|
|
package/game/game.proto
CHANGED
|
@@ -74,6 +74,7 @@ service Game {
|
|
|
74
74
|
rpc syncGameImageUrls(SyncGameImageUrlsRequest) returns (GameImagesParsingTechnicalResponse);
|
|
75
75
|
rpc syncGameImageUrlsForProvider(SyncGameImageUrlsForProviderRequest) returns (GameImagesParsingTechnicalResponse);
|
|
76
76
|
rpc searchGames(PaginationRequest) returns (SearchGamesResponse);
|
|
77
|
+
rpc searchGamesFull(SearchGamesFullRequest) returns (SearchGamesFullResponse);
|
|
77
78
|
//Vendor
|
|
78
79
|
rpc processedVendorActionCallback(VendorActionRequest) returns (VendorActionResponse);
|
|
79
80
|
rpc getIntegratorSettings(IntegratorSettingsRequest) returns (IntegratorSettingsResponse);
|
|
@@ -572,6 +573,45 @@ message SearchGamesResponse {
|
|
|
572
573
|
optional int32 total_items = 3;
|
|
573
574
|
repeated ProviderItem provider_games = 4;
|
|
574
575
|
}
|
|
576
|
+
message SearchGamesFullRequest {
|
|
577
|
+
optional string query = 1;
|
|
578
|
+
string type = 2;
|
|
579
|
+
optional int32 limit = 3;
|
|
580
|
+
optional int32 offset = 4;
|
|
581
|
+
optional string order = 5;
|
|
582
|
+
optional int32 is_mobile = 6;
|
|
583
|
+
optional string user_geo = 7;
|
|
584
|
+
optional int32 is_active = 8;
|
|
585
|
+
optional bool popular = 9;
|
|
586
|
+
optional bool favourites = 10;
|
|
587
|
+
optional bool last_played = 11;
|
|
588
|
+
optional int32 user_id = 12;
|
|
589
|
+
}
|
|
590
|
+
message SearchGamesFullGameSection {
|
|
591
|
+
repeated GameItem items = 1;
|
|
592
|
+
optional int32 total_items = 2;
|
|
593
|
+
optional int32 total_pages = 3;
|
|
594
|
+
}
|
|
595
|
+
message SearchGamesFullProviderSection {
|
|
596
|
+
repeated ProviderItem items = 1;
|
|
597
|
+
optional int32 total_items = 2;
|
|
598
|
+
optional int32 total_pages = 3;
|
|
599
|
+
}
|
|
600
|
+
message SearchGamesFullCategoryItem {
|
|
601
|
+
CategoryItem category = 1;
|
|
602
|
+
repeated GameItem games = 2;
|
|
603
|
+
optional int32 total_games = 3;
|
|
604
|
+
}
|
|
605
|
+
message SearchGamesFullCategorySection {
|
|
606
|
+
repeated SearchGamesFullCategoryItem items = 1;
|
|
607
|
+
optional int32 total_items = 2;
|
|
608
|
+
optional int32 total_pages = 3;
|
|
609
|
+
}
|
|
610
|
+
message SearchGamesFullResponse {
|
|
611
|
+
optional SearchGamesFullGameSection games = 1;
|
|
612
|
+
optional SearchGamesFullProviderSection providers = 2;
|
|
613
|
+
optional SearchGamesFullCategorySection categories = 3;
|
|
614
|
+
}
|
|
575
615
|
message SearchGamesIntoCollectionsRequest {
|
|
576
616
|
repeated string collection_slugs = 1;
|
|
577
617
|
optional string geo = 2;
|
package/game/game_grpc_pb.js
CHANGED
|
@@ -873,6 +873,28 @@ function deserialize_game_ScopeResponse(buffer_arg) {
|
|
|
873
873
|
return game_pb.ScopeResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
874
874
|
}
|
|
875
875
|
|
|
876
|
+
function serialize_game_SearchGamesFullRequest(arg) {
|
|
877
|
+
if (!(arg instanceof game_pb.SearchGamesFullRequest)) {
|
|
878
|
+
throw new Error('Expected argument of type game.SearchGamesFullRequest');
|
|
879
|
+
}
|
|
880
|
+
return Buffer.from(arg.serializeBinary());
|
|
881
|
+
}
|
|
882
|
+
|
|
883
|
+
function deserialize_game_SearchGamesFullRequest(buffer_arg) {
|
|
884
|
+
return game_pb.SearchGamesFullRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
function serialize_game_SearchGamesFullResponse(arg) {
|
|
888
|
+
if (!(arg instanceof game_pb.SearchGamesFullResponse)) {
|
|
889
|
+
throw new Error('Expected argument of type game.SearchGamesFullResponse');
|
|
890
|
+
}
|
|
891
|
+
return Buffer.from(arg.serializeBinary());
|
|
892
|
+
}
|
|
893
|
+
|
|
894
|
+
function deserialize_game_SearchGamesFullResponse(buffer_arg) {
|
|
895
|
+
return game_pb.SearchGamesFullResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
896
|
+
}
|
|
897
|
+
|
|
876
898
|
function serialize_game_SearchGamesIntoCategoriesRequest(arg) {
|
|
877
899
|
if (!(arg instanceof game_pb.SearchGamesIntoCategoriesRequest)) {
|
|
878
900
|
throw new Error('Expected argument of type game.SearchGamesIntoCategoriesRequest');
|
|
@@ -1851,6 +1873,17 @@ parseGameImagesForProvider: {
|
|
|
1851
1873
|
responseSerialize: serialize_game_SearchGamesResponse,
|
|
1852
1874
|
responseDeserialize: deserialize_game_SearchGamesResponse,
|
|
1853
1875
|
},
|
|
1876
|
+
searchGamesFull: {
|
|
1877
|
+
path: '/game.Game/searchGamesFull',
|
|
1878
|
+
requestStream: false,
|
|
1879
|
+
responseStream: false,
|
|
1880
|
+
requestType: game_pb.SearchGamesFullRequest,
|
|
1881
|
+
responseType: game_pb.SearchGamesFullResponse,
|
|
1882
|
+
requestSerialize: serialize_game_SearchGamesFullRequest,
|
|
1883
|
+
requestDeserialize: deserialize_game_SearchGamesFullRequest,
|
|
1884
|
+
responseSerialize: serialize_game_SearchGamesFullResponse,
|
|
1885
|
+
responseDeserialize: deserialize_game_SearchGamesFullResponse,
|
|
1886
|
+
},
|
|
1854
1887
|
// Vendor
|
|
1855
1888
|
processedVendorActionCallback: {
|
|
1856
1889
|
path: '/game.Game/processedVendorActionCallback',
|