protobuf-platform 1.2.290 → 1.2.292

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
@@ -67,6 +67,10 @@ service Game {
67
67
  rpc getTournamentGamesPreviewByTournamentIds(TournamentIdsRequest) returns (TournamentGamesPreviewResponse);
68
68
  rpc getTournamentGames(PaginationRequest) returns (GameItemsResponse);
69
69
  rpc syncGamesImages(SyncImagesRequest) returns (GameStatusResponse);
70
+ //Game Images Parsing Technical
71
+ rpc parseGameImagesForProvider(ParseGameImagesForProviderRequest) returns (GameImagesParsingTechnicalResponse);
72
+ rpc parseGameImagesForAllInbound(ParseGameImagesForAllInboundRequest) returns (GameImagesParsingTechnicalResponse);
73
+ rpc syncGameImageUrls(SyncGameImageUrlsRequest) returns (GameImagesParsingTechnicalResponse);
70
74
  rpc searchGames(PaginationRequest) returns (SearchGamesResponse);
71
75
  //Vendor
72
76
  rpc processedVendorActionCallback(VendorActionRequest) returns (VendorActionResponse);
@@ -414,11 +418,29 @@ message ProviderStatusResponse {
414
418
  //Games Common
415
419
  message ParseGamesRequest { string vendor = 1; }
416
420
  message ParseGamesResponse { string data = 1; }
421
+ //Game Images Parsing Technical
422
+ message ParseGameImagesForProviderRequest {
423
+ string provider_entry_name = 1;
424
+ }
425
+ message ParseGameImagesForAllInboundRequest {}
426
+ message SyncGameImageUrlsRequest {}
427
+ message GameImagesParsingTechnicalResponse {
428
+ string status = 1;
429
+ int32 total = 2;
430
+ int32 ready = 3;
431
+ int32 skipped = 4;
432
+ int32 failed = 5;
433
+ }
417
434
  message IntegratorSettingsRequest { string route = 1; }
418
435
  message IntegratorSettingsResponse { string data = 1; }
419
436
  message IntegratorSelfValidationRequest { string vendor = 1; }
420
437
  message IntegratorSelfValidationResponse { string data = 1; }
421
438
  //Game CRUD
439
+ message GameImages {
440
+ optional string portrait = 1;
441
+ optional string landscape = 2;
442
+ optional string square = 3;
443
+ }
422
444
  message GameItem {
423
445
  optional int32 id = 1;
424
446
  optional ProviderItem provider = 2;
@@ -444,6 +466,7 @@ message GameItem {
444
466
  optional bool is_vip = 22;
445
467
  repeated string devices = 23;
446
468
  optional bool is_hidden = 24;
469
+ optional GameImages images = 25;
447
470
  }
448
471
  //Game CRUD | Requests
449
472
  message GameRequest {
@@ -301,6 +301,17 @@ function deserialize_game_GameConfigCheckResponse(buffer_arg) {
301
301
  return game_pb.GameConfigCheckResponse.deserializeBinary(new Uint8Array(buffer_arg));
302
302
  }
303
303
 
304
+ function serialize_game_GameImagesParsingTechnicalResponse(arg) {
305
+ if (!(arg instanceof game_pb.GameImagesParsingTechnicalResponse)) {
306
+ throw new Error('Expected argument of type game.GameImagesParsingTechnicalResponse');
307
+ }
308
+ return Buffer.from(arg.serializeBinary());
309
+ }
310
+
311
+ function deserialize_game_GameImagesParsingTechnicalResponse(buffer_arg) {
312
+ return game_pb.GameImagesParsingTechnicalResponse.deserializeBinary(new Uint8Array(buffer_arg));
313
+ }
314
+
304
315
  function serialize_game_GameItemsResponse(arg) {
305
316
  if (!(arg instanceof game_pb.GameItemsResponse)) {
306
317
  throw new Error('Expected argument of type game.GameItemsResponse');
@@ -664,6 +675,28 @@ function deserialize_game_PaginationRequest(buffer_arg) {
664
675
  return game_pb.PaginationRequest.deserializeBinary(new Uint8Array(buffer_arg));
665
676
  }
666
677
 
678
+ function serialize_game_ParseGameImagesForAllInboundRequest(arg) {
679
+ if (!(arg instanceof game_pb.ParseGameImagesForAllInboundRequest)) {
680
+ throw new Error('Expected argument of type game.ParseGameImagesForAllInboundRequest');
681
+ }
682
+ return Buffer.from(arg.serializeBinary());
683
+ }
684
+
685
+ function deserialize_game_ParseGameImagesForAllInboundRequest(buffer_arg) {
686
+ return game_pb.ParseGameImagesForAllInboundRequest.deserializeBinary(new Uint8Array(buffer_arg));
687
+ }
688
+
689
+ function serialize_game_ParseGameImagesForProviderRequest(arg) {
690
+ if (!(arg instanceof game_pb.ParseGameImagesForProviderRequest)) {
691
+ throw new Error('Expected argument of type game.ParseGameImagesForProviderRequest');
692
+ }
693
+ return Buffer.from(arg.serializeBinary());
694
+ }
695
+
696
+ function deserialize_game_ParseGameImagesForProviderRequest(buffer_arg) {
697
+ return game_pb.ParseGameImagesForProviderRequest.deserializeBinary(new Uint8Array(buffer_arg));
698
+ }
699
+
667
700
  function serialize_game_ParseGamesRequest(arg) {
668
701
  if (!(arg instanceof game_pb.ParseGamesRequest)) {
669
702
  throw new Error('Expected argument of type game.ParseGamesRequest');
@@ -895,6 +928,17 @@ function deserialize_game_SegmentedUserResponse(buffer_arg) {
895
928
  return game_pb.SegmentedUserResponse.deserializeBinary(new Uint8Array(buffer_arg));
896
929
  }
897
930
 
931
+ function serialize_game_SyncGameImageUrlsRequest(arg) {
932
+ if (!(arg instanceof game_pb.SyncGameImageUrlsRequest)) {
933
+ throw new Error('Expected argument of type game.SyncGameImageUrlsRequest');
934
+ }
935
+ return Buffer.from(arg.serializeBinary());
936
+ }
937
+
938
+ function deserialize_game_SyncGameImageUrlsRequest(buffer_arg) {
939
+ return game_pb.SyncGameImageUrlsRequest.deserializeBinary(new Uint8Array(buffer_arg));
940
+ }
941
+
898
942
  function serialize_game_SyncImagesRequest(arg) {
899
943
  if (!(arg instanceof game_pb.SyncImagesRequest)) {
900
944
  throw new Error('Expected argument of type game.SyncImagesRequest');
@@ -1707,6 +1751,40 @@ parseGames: {
1707
1751
  responseSerialize: serialize_game_GameStatusResponse,
1708
1752
  responseDeserialize: deserialize_game_GameStatusResponse,
1709
1753
  },
1754
+ // Game Images Parsing Technical
1755
+ parseGameImagesForProvider: {
1756
+ path: '/game.Game/parseGameImagesForProvider',
1757
+ requestStream: false,
1758
+ responseStream: false,
1759
+ requestType: game_pb.ParseGameImagesForProviderRequest,
1760
+ responseType: game_pb.GameImagesParsingTechnicalResponse,
1761
+ requestSerialize: serialize_game_ParseGameImagesForProviderRequest,
1762
+ requestDeserialize: deserialize_game_ParseGameImagesForProviderRequest,
1763
+ responseSerialize: serialize_game_GameImagesParsingTechnicalResponse,
1764
+ responseDeserialize: deserialize_game_GameImagesParsingTechnicalResponse,
1765
+ },
1766
+ parseGameImagesForAllInbound: {
1767
+ path: '/game.Game/parseGameImagesForAllInbound',
1768
+ requestStream: false,
1769
+ responseStream: false,
1770
+ requestType: game_pb.ParseGameImagesForAllInboundRequest,
1771
+ responseType: game_pb.GameImagesParsingTechnicalResponse,
1772
+ requestSerialize: serialize_game_ParseGameImagesForAllInboundRequest,
1773
+ requestDeserialize: deserialize_game_ParseGameImagesForAllInboundRequest,
1774
+ responseSerialize: serialize_game_GameImagesParsingTechnicalResponse,
1775
+ responseDeserialize: deserialize_game_GameImagesParsingTechnicalResponse,
1776
+ },
1777
+ syncGameImageUrls: {
1778
+ path: '/game.Game/syncGameImageUrls',
1779
+ requestStream: false,
1780
+ responseStream: false,
1781
+ requestType: game_pb.SyncGameImageUrlsRequest,
1782
+ responseType: game_pb.GameImagesParsingTechnicalResponse,
1783
+ requestSerialize: serialize_game_SyncGameImageUrlsRequest,
1784
+ requestDeserialize: deserialize_game_SyncGameImageUrlsRequest,
1785
+ responseSerialize: serialize_game_GameImagesParsingTechnicalResponse,
1786
+ responseDeserialize: deserialize_game_GameImagesParsingTechnicalResponse,
1787
+ },
1710
1788
  searchGames: {
1711
1789
  path: '/game.Game/searchGames',
1712
1790
  requestStream: false,