protobuf-platform 1.2.369 → 1.2.371

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 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,50 @@ 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 SearchGamesFullProviderItem {
596
+ ProviderItem provider = 1;
597
+ repeated GameItem games = 2;
598
+ optional int32 total_games = 3;
599
+ }
600
+ message SearchGamesFullProviderSection {
601
+ repeated SearchGamesFullProviderItem items = 1;
602
+ optional int32 total_items = 2;
603
+ optional int32 total_pages = 3;
604
+ }
605
+ message SearchGamesFullCategoryItem {
606
+ CategoryItem category = 1;
607
+ repeated GameItem games = 2;
608
+ optional int32 total_games = 3;
609
+ }
610
+ message SearchGamesFullCategorySection {
611
+ repeated SearchGamesFullCategoryItem items = 1;
612
+ optional int32 total_items = 2;
613
+ optional int32 total_pages = 3;
614
+ }
615
+ message SearchGamesFullResponse {
616
+ optional SearchGamesFullGameSection games = 1;
617
+ optional SearchGamesFullProviderSection providers = 2;
618
+ optional SearchGamesFullCategorySection categories = 3;
619
+ }
575
620
  message SearchGamesIntoCollectionsRequest {
576
621
  repeated string collection_slugs = 1;
577
622
  optional string geo = 2;
@@ -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',