protobuf-platform 1.2.531 → 1.2.533

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
@@ -663,6 +663,7 @@ message SearchGamesIntoCollectionsRequest {
663
663
  optional int32 offset = 4;
664
664
  optional bool is_mobile = 5;
665
665
  optional bool admin_side = 6;
666
+ optional string game_title = 7;
666
667
  }
667
668
  message SearchGamesIntoTagsRequest {
668
669
  repeated string tag_slugs = 1;
@@ -671,6 +672,7 @@ message SearchGamesIntoTagsRequest {
671
672
  optional int32 offset = 4;
672
673
  optional bool is_mobile = 5;
673
674
  optional bool admin_side = 6;
675
+ optional string game_title = 7;
674
676
  }
675
677
  message SearchGamesIntoProvidersRequest {
676
678
  repeated string provider_slugs = 1;
package/game/game_pb.js CHANGED
@@ -27753,7 +27753,8 @@ proto.game.SearchGamesIntoCollectionsRequest.toObject = function(includeInstance
27753
27753
  limit: jspb.Message.getFieldWithDefault(msg, 3, 0),
27754
27754
  offset: jspb.Message.getFieldWithDefault(msg, 4, 0),
27755
27755
  isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
27756
- adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
27756
+ adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
27757
+ gameTitle: jspb.Message.getFieldWithDefault(msg, 7, "")
27757
27758
  };
27758
27759
 
27759
27760
  if (includeInstance) {
@@ -27814,6 +27815,10 @@ proto.game.SearchGamesIntoCollectionsRequest.deserializeBinaryFromReader = funct
27814
27815
  var value = /** @type {boolean} */ (reader.readBool());
27815
27816
  msg.setAdminSide(value);
27816
27817
  break;
27818
+ case 7:
27819
+ var value = /** @type {string} */ (reader.readString());
27820
+ msg.setGameTitle(value);
27821
+ break;
27817
27822
  default:
27818
27823
  reader.skipField();
27819
27824
  break;
@@ -27885,6 +27890,13 @@ proto.game.SearchGamesIntoCollectionsRequest.serializeBinaryToWriter = function(
27885
27890
  f
27886
27891
  );
27887
27892
  }
27893
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
27894
+ if (f != null) {
27895
+ writer.writeString(
27896
+ 7,
27897
+ f
27898
+ );
27899
+ }
27888
27900
  };
27889
27901
 
27890
27902
 
@@ -28105,6 +28117,42 @@ proto.game.SearchGamesIntoCollectionsRequest.prototype.hasAdminSide = function()
28105
28117
  };
28106
28118
 
28107
28119
 
28120
+ /**
28121
+ * optional string game_title = 7;
28122
+ * @return {string}
28123
+ */
28124
+ proto.game.SearchGamesIntoCollectionsRequest.prototype.getGameTitle = function() {
28125
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
28126
+ };
28127
+
28128
+
28129
+ /**
28130
+ * @param {string} value
28131
+ * @return {!proto.game.SearchGamesIntoCollectionsRequest} returns this
28132
+ */
28133
+ proto.game.SearchGamesIntoCollectionsRequest.prototype.setGameTitle = function(value) {
28134
+ return jspb.Message.setField(this, 7, value);
28135
+ };
28136
+
28137
+
28138
+ /**
28139
+ * Clears the field making it undefined.
28140
+ * @return {!proto.game.SearchGamesIntoCollectionsRequest} returns this
28141
+ */
28142
+ proto.game.SearchGamesIntoCollectionsRequest.prototype.clearGameTitle = function() {
28143
+ return jspb.Message.setField(this, 7, undefined);
28144
+ };
28145
+
28146
+
28147
+ /**
28148
+ * Returns whether this field is set.
28149
+ * @return {boolean}
28150
+ */
28151
+ proto.game.SearchGamesIntoCollectionsRequest.prototype.hasGameTitle = function() {
28152
+ return jspb.Message.getField(this, 7) != null;
28153
+ };
28154
+
28155
+
28108
28156
 
28109
28157
  /**
28110
28158
  * List of repeated fields within this message type.
@@ -28149,7 +28197,8 @@ proto.game.SearchGamesIntoTagsRequest.toObject = function(includeInstance, msg)
28149
28197
  limit: jspb.Message.getFieldWithDefault(msg, 3, 0),
28150
28198
  offset: jspb.Message.getFieldWithDefault(msg, 4, 0),
28151
28199
  isMobile: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
28152
- adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
28200
+ adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
28201
+ gameTitle: jspb.Message.getFieldWithDefault(msg, 7, "")
28153
28202
  };
28154
28203
 
28155
28204
  if (includeInstance) {
@@ -28210,6 +28259,10 @@ proto.game.SearchGamesIntoTagsRequest.deserializeBinaryFromReader = function(msg
28210
28259
  var value = /** @type {boolean} */ (reader.readBool());
28211
28260
  msg.setAdminSide(value);
28212
28261
  break;
28262
+ case 7:
28263
+ var value = /** @type {string} */ (reader.readString());
28264
+ msg.setGameTitle(value);
28265
+ break;
28213
28266
  default:
28214
28267
  reader.skipField();
28215
28268
  break;
@@ -28281,6 +28334,13 @@ proto.game.SearchGamesIntoTagsRequest.serializeBinaryToWriter = function(message
28281
28334
  f
28282
28335
  );
28283
28336
  }
28337
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
28338
+ if (f != null) {
28339
+ writer.writeString(
28340
+ 7,
28341
+ f
28342
+ );
28343
+ }
28284
28344
  };
28285
28345
 
28286
28346
 
@@ -28501,6 +28561,42 @@ proto.game.SearchGamesIntoTagsRequest.prototype.hasAdminSide = function() {
28501
28561
  };
28502
28562
 
28503
28563
 
28564
+ /**
28565
+ * optional string game_title = 7;
28566
+ * @return {string}
28567
+ */
28568
+ proto.game.SearchGamesIntoTagsRequest.prototype.getGameTitle = function() {
28569
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
28570
+ };
28571
+
28572
+
28573
+ /**
28574
+ * @param {string} value
28575
+ * @return {!proto.game.SearchGamesIntoTagsRequest} returns this
28576
+ */
28577
+ proto.game.SearchGamesIntoTagsRequest.prototype.setGameTitle = function(value) {
28578
+ return jspb.Message.setField(this, 7, value);
28579
+ };
28580
+
28581
+
28582
+ /**
28583
+ * Clears the field making it undefined.
28584
+ * @return {!proto.game.SearchGamesIntoTagsRequest} returns this
28585
+ */
28586
+ proto.game.SearchGamesIntoTagsRequest.prototype.clearGameTitle = function() {
28587
+ return jspb.Message.setField(this, 7, undefined);
28588
+ };
28589
+
28590
+
28591
+ /**
28592
+ * Returns whether this field is set.
28593
+ * @return {boolean}
28594
+ */
28595
+ proto.game.SearchGamesIntoTagsRequest.prototype.hasGameTitle = function() {
28596
+ return jspb.Message.getField(this, 7) != null;
28597
+ };
28598
+
28599
+
28504
28600
 
28505
28601
  /**
28506
28602
  * List of repeated fields within this message type.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.531",
3
+ "version": "1.2.533",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/user/user.proto CHANGED
@@ -108,6 +108,8 @@ service User {
108
108
  rpc scoreAntifraudPaymentEvent(ScoreAntifraudPaymentEventRequest) returns (ScoreAntifraudPaymentEventResponse);
109
109
  // Optional operational support: refresh or poll provider verification status where the provider supports it.
110
110
  rpc syncUserKycProviderStatus(SyncUserKycProviderStatusRequest) returns (UserKycProfileResponse);
111
+ rpc readUserKycVerificationDocuments(ReadUserKycVerificationDocumentsRequest) returns (UserKycVerificationDocumentsResponse);
112
+ rpc readUserKycVerificationDocumentPreview(ReadUserKycVerificationDocumentPreviewRequest) returns (UserKycVerificationDocumentPreviewResponse);
111
113
  // KYC requirement matrix: configured trigger rules and presets (separate from provider KYC flow).
112
114
  // KYC rule definitions
113
115
  rpc createKycRuleDefinition(CreateKycRuleDefinitionRequest) returns (KycRuleDefinitionResponse);
@@ -1288,6 +1290,36 @@ message SyncUserKycProviderStatusRequest {
1288
1290
  optional string provider_applicant_id = 3;
1289
1291
  optional string correlation_id = 4;
1290
1292
  }
1293
+ message ReadUserKycVerificationDocumentsRequest {
1294
+ int32 user_id = 1;
1295
+ }
1296
+ message UserKycVerificationDocumentSide {
1297
+ string side = 1;
1298
+ bool available = 2;
1299
+ }
1300
+ message UserKycVerificationDocumentItem {
1301
+ string document_ref = 1;
1302
+ string category = 2;
1303
+ string document_type = 3;
1304
+ string status = 4;
1305
+ optional string reason_code = 5;
1306
+ repeated UserKycVerificationDocumentSide sides = 6;
1307
+ optional string created_at = 7;
1308
+ }
1309
+ message UserKycVerificationDocumentsResponse {
1310
+ int32 user_id = 1;
1311
+ repeated UserKycVerificationDocumentItem documents = 2;
1312
+ }
1313
+ message ReadUserKycVerificationDocumentPreviewRequest {
1314
+ int32 user_id = 1;
1315
+ string document_ref = 2;
1316
+ string side = 3;
1317
+ }
1318
+ message UserKycVerificationDocumentPreviewResponse {
1319
+ string preview_url = 1;
1320
+ optional string mime_type = 2;
1321
+ optional string expires_at = 3;
1322
+ }
1291
1323
  message ReadListRiskPlayersRequest {
1292
1324
  int32 limit = 1;
1293
1325
  int32 offset = 2;
@@ -950,6 +950,28 @@ function deserialize_user_ReadUserKycRequirementStatusRequest(buffer_arg) {
950
950
  return user_pb.ReadUserKycRequirementStatusRequest.deserializeBinary(new Uint8Array(buffer_arg));
951
951
  }
952
952
 
953
+ function serialize_user_ReadUserKycVerificationDocumentPreviewRequest(arg) {
954
+ if (!(arg instanceof user_pb.ReadUserKycVerificationDocumentPreviewRequest)) {
955
+ throw new Error('Expected argument of type user.ReadUserKycVerificationDocumentPreviewRequest');
956
+ }
957
+ return Buffer.from(arg.serializeBinary());
958
+ }
959
+
960
+ function deserialize_user_ReadUserKycVerificationDocumentPreviewRequest(buffer_arg) {
961
+ return user_pb.ReadUserKycVerificationDocumentPreviewRequest.deserializeBinary(new Uint8Array(buffer_arg));
962
+ }
963
+
964
+ function serialize_user_ReadUserKycVerificationDocumentsRequest(arg) {
965
+ if (!(arg instanceof user_pb.ReadUserKycVerificationDocumentsRequest)) {
966
+ throw new Error('Expected argument of type user.ReadUserKycVerificationDocumentsRequest');
967
+ }
968
+ return Buffer.from(arg.serializeBinary());
969
+ }
970
+
971
+ function deserialize_user_ReadUserKycVerificationDocumentsRequest(buffer_arg) {
972
+ return user_pb.ReadUserKycVerificationDocumentsRequest.deserializeBinary(new Uint8Array(buffer_arg));
973
+ }
974
+
953
975
  function serialize_user_ReadUserManualRestrictionsRequest(arg) {
954
976
  if (!(arg instanceof user_pb.ReadUserManualRestrictionsRequest)) {
955
977
  throw new Error('Expected argument of type user.ReadUserManualRestrictionsRequest');
@@ -1731,6 +1753,28 @@ function deserialize_user_UserKycRequirementStatusResponse(buffer_arg) {
1731
1753
  return user_pb.UserKycRequirementStatusResponse.deserializeBinary(new Uint8Array(buffer_arg));
1732
1754
  }
1733
1755
 
1756
+ function serialize_user_UserKycVerificationDocumentPreviewResponse(arg) {
1757
+ if (!(arg instanceof user_pb.UserKycVerificationDocumentPreviewResponse)) {
1758
+ throw new Error('Expected argument of type user.UserKycVerificationDocumentPreviewResponse');
1759
+ }
1760
+ return Buffer.from(arg.serializeBinary());
1761
+ }
1762
+
1763
+ function deserialize_user_UserKycVerificationDocumentPreviewResponse(buffer_arg) {
1764
+ return user_pb.UserKycVerificationDocumentPreviewResponse.deserializeBinary(new Uint8Array(buffer_arg));
1765
+ }
1766
+
1767
+ function serialize_user_UserKycVerificationDocumentsResponse(arg) {
1768
+ if (!(arg instanceof user_pb.UserKycVerificationDocumentsResponse)) {
1769
+ throw new Error('Expected argument of type user.UserKycVerificationDocumentsResponse');
1770
+ }
1771
+ return Buffer.from(arg.serializeBinary());
1772
+ }
1773
+
1774
+ function deserialize_user_UserKycVerificationDocumentsResponse(buffer_arg) {
1775
+ return user_pb.UserKycVerificationDocumentsResponse.deserializeBinary(new Uint8Array(buffer_arg));
1776
+ }
1777
+
1734
1778
  function serialize_user_UserLimitsRequest(arg) {
1735
1779
  if (!(arg instanceof user_pb.UserLimitsRequest)) {
1736
1780
  throw new Error('Expected argument of type user.UserLimitsRequest');
@@ -2854,6 +2898,28 @@ syncUserKycProviderStatus: {
2854
2898
  responseSerialize: serialize_user_UserKycProfileResponse,
2855
2899
  responseDeserialize: deserialize_user_UserKycProfileResponse,
2856
2900
  },
2901
+ readUserKycVerificationDocuments: {
2902
+ path: '/user.User/readUserKycVerificationDocuments',
2903
+ requestStream: false,
2904
+ responseStream: false,
2905
+ requestType: user_pb.ReadUserKycVerificationDocumentsRequest,
2906
+ responseType: user_pb.UserKycVerificationDocumentsResponse,
2907
+ requestSerialize: serialize_user_ReadUserKycVerificationDocumentsRequest,
2908
+ requestDeserialize: deserialize_user_ReadUserKycVerificationDocumentsRequest,
2909
+ responseSerialize: serialize_user_UserKycVerificationDocumentsResponse,
2910
+ responseDeserialize: deserialize_user_UserKycVerificationDocumentsResponse,
2911
+ },
2912
+ readUserKycVerificationDocumentPreview: {
2913
+ path: '/user.User/readUserKycVerificationDocumentPreview',
2914
+ requestStream: false,
2915
+ responseStream: false,
2916
+ requestType: user_pb.ReadUserKycVerificationDocumentPreviewRequest,
2917
+ responseType: user_pb.UserKycVerificationDocumentPreviewResponse,
2918
+ requestSerialize: serialize_user_ReadUserKycVerificationDocumentPreviewRequest,
2919
+ requestDeserialize: deserialize_user_ReadUserKycVerificationDocumentPreviewRequest,
2920
+ responseSerialize: serialize_user_UserKycVerificationDocumentPreviewResponse,
2921
+ responseDeserialize: deserialize_user_UserKycVerificationDocumentPreviewResponse,
2922
+ },
2857
2923
  // KYC requirement matrix: configured trigger rules and presets (separate from provider KYC flow).
2858
2924
  // KYC rule definitions
2859
2925
  createKycRuleDefinition: {