protobuf-platform 1.2.530 → 1.2.532
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 -1
- package/bonus/bonus_pb.js +70 -4
- package/package.json +1 -1
- package/payment/payment.proto +1 -0
- package/payment/payment_pb.js +49 -1
- package/user/user.proto +32 -0
- package/user/user_grpc_pb.js +66 -0
- package/user/user_pb.js +1404 -0
package/bonus/bonus.proto
CHANGED
|
@@ -454,7 +454,7 @@ message DepositEligibleUserBonusRewardItem {
|
|
|
454
454
|
optional string config = 3;
|
|
455
455
|
}
|
|
456
456
|
message DepositEligibleUserBonusItem {
|
|
457
|
-
int32 user_bonus_id = 1;
|
|
457
|
+
optional int32 user_bonus_id = 1;
|
|
458
458
|
// UI fields
|
|
459
459
|
optional string title = 2;
|
|
460
460
|
// Images
|
|
@@ -474,6 +474,7 @@ message DepositEligibleUserBonusItem {
|
|
|
474
474
|
optional int32 payout_x = 14;
|
|
475
475
|
repeated ActivationRule activation_rules = 15;
|
|
476
476
|
repeated BetsRange bets_range = 16;
|
|
477
|
+
optional int32 bonus_id = 17;
|
|
477
478
|
}
|
|
478
479
|
message GetActiveWageringUserBonusesRequest {
|
|
479
480
|
int32 user_id = 1;
|
package/bonus/bonus_pb.js
CHANGED
|
@@ -19552,7 +19552,8 @@ proto.bonus.DepositEligibleUserBonusItem.toObject = function(includeInstance, ms
|
|
|
19552
19552
|
activationRulesList: jspb.Message.toObjectList(msg.getActivationRulesList(),
|
|
19553
19553
|
proto.bonus.ActivationRule.toObject, includeInstance),
|
|
19554
19554
|
betsRangeList: jspb.Message.toObjectList(msg.getBetsRangeList(),
|
|
19555
|
-
proto.bonus.BetsRange.toObject, includeInstance)
|
|
19555
|
+
proto.bonus.BetsRange.toObject, includeInstance),
|
|
19556
|
+
bonusId: jspb.Message.getFieldWithDefault(msg, 17, 0)
|
|
19556
19557
|
};
|
|
19557
19558
|
|
|
19558
19559
|
if (includeInstance) {
|
|
@@ -19656,6 +19657,10 @@ proto.bonus.DepositEligibleUserBonusItem.deserializeBinaryFromReader = function(
|
|
|
19656
19657
|
reader.readMessage(value,proto.bonus.BetsRange.deserializeBinaryFromReader);
|
|
19657
19658
|
msg.addBetsRange(value);
|
|
19658
19659
|
break;
|
|
19660
|
+
case 17:
|
|
19661
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
19662
|
+
msg.setBonusId(value);
|
|
19663
|
+
break;
|
|
19659
19664
|
default:
|
|
19660
19665
|
reader.skipField();
|
|
19661
19666
|
break;
|
|
@@ -19685,8 +19690,8 @@ proto.bonus.DepositEligibleUserBonusItem.prototype.serializeBinary = function()
|
|
|
19685
19690
|
*/
|
|
19686
19691
|
proto.bonus.DepositEligibleUserBonusItem.serializeBinaryToWriter = function(message, writer) {
|
|
19687
19692
|
var f = undefined;
|
|
19688
|
-
f =
|
|
19689
|
-
if (f
|
|
19693
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 1));
|
|
19694
|
+
if (f != null) {
|
|
19690
19695
|
writer.writeInt32(
|
|
19691
19696
|
1,
|
|
19692
19697
|
f
|
|
@@ -19800,6 +19805,13 @@ proto.bonus.DepositEligibleUserBonusItem.serializeBinaryToWriter = function(mess
|
|
|
19800
19805
|
proto.bonus.BetsRange.serializeBinaryToWriter
|
|
19801
19806
|
);
|
|
19802
19807
|
}
|
|
19808
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 17));
|
|
19809
|
+
if (f != null) {
|
|
19810
|
+
writer.writeInt32(
|
|
19811
|
+
17,
|
|
19812
|
+
f
|
|
19813
|
+
);
|
|
19814
|
+
}
|
|
19803
19815
|
};
|
|
19804
19816
|
|
|
19805
19817
|
|
|
@@ -19817,7 +19829,25 @@ proto.bonus.DepositEligibleUserBonusItem.prototype.getUserBonusId = function() {
|
|
|
19817
19829
|
* @return {!proto.bonus.DepositEligibleUserBonusItem} returns this
|
|
19818
19830
|
*/
|
|
19819
19831
|
proto.bonus.DepositEligibleUserBonusItem.prototype.setUserBonusId = function(value) {
|
|
19820
|
-
return jspb.Message.
|
|
19832
|
+
return jspb.Message.setField(this, 1, value);
|
|
19833
|
+
};
|
|
19834
|
+
|
|
19835
|
+
|
|
19836
|
+
/**
|
|
19837
|
+
* Clears the field making it undefined.
|
|
19838
|
+
* @return {!proto.bonus.DepositEligibleUserBonusItem} returns this
|
|
19839
|
+
*/
|
|
19840
|
+
proto.bonus.DepositEligibleUserBonusItem.prototype.clearUserBonusId = function() {
|
|
19841
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
19842
|
+
};
|
|
19843
|
+
|
|
19844
|
+
|
|
19845
|
+
/**
|
|
19846
|
+
* Returns whether this field is set.
|
|
19847
|
+
* @return {boolean}
|
|
19848
|
+
*/
|
|
19849
|
+
proto.bonus.DepositEligibleUserBonusItem.prototype.hasUserBonusId = function() {
|
|
19850
|
+
return jspb.Message.getField(this, 1) != null;
|
|
19821
19851
|
};
|
|
19822
19852
|
|
|
19823
19853
|
|
|
@@ -20367,6 +20397,42 @@ proto.bonus.DepositEligibleUserBonusItem.prototype.clearBetsRangeList = function
|
|
|
20367
20397
|
};
|
|
20368
20398
|
|
|
20369
20399
|
|
|
20400
|
+
/**
|
|
20401
|
+
* optional int32 bonus_id = 17;
|
|
20402
|
+
* @return {number}
|
|
20403
|
+
*/
|
|
20404
|
+
proto.bonus.DepositEligibleUserBonusItem.prototype.getBonusId = function() {
|
|
20405
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 17, 0));
|
|
20406
|
+
};
|
|
20407
|
+
|
|
20408
|
+
|
|
20409
|
+
/**
|
|
20410
|
+
* @param {number} value
|
|
20411
|
+
* @return {!proto.bonus.DepositEligibleUserBonusItem} returns this
|
|
20412
|
+
*/
|
|
20413
|
+
proto.bonus.DepositEligibleUserBonusItem.prototype.setBonusId = function(value) {
|
|
20414
|
+
return jspb.Message.setField(this, 17, value);
|
|
20415
|
+
};
|
|
20416
|
+
|
|
20417
|
+
|
|
20418
|
+
/**
|
|
20419
|
+
* Clears the field making it undefined.
|
|
20420
|
+
* @return {!proto.bonus.DepositEligibleUserBonusItem} returns this
|
|
20421
|
+
*/
|
|
20422
|
+
proto.bonus.DepositEligibleUserBonusItem.prototype.clearBonusId = function() {
|
|
20423
|
+
return jspb.Message.setField(this, 17, undefined);
|
|
20424
|
+
};
|
|
20425
|
+
|
|
20426
|
+
|
|
20427
|
+
/**
|
|
20428
|
+
* Returns whether this field is set.
|
|
20429
|
+
* @return {boolean}
|
|
20430
|
+
*/
|
|
20431
|
+
proto.bonus.DepositEligibleUserBonusItem.prototype.hasBonusId = function() {
|
|
20432
|
+
return jspb.Message.getField(this, 17) != null;
|
|
20433
|
+
};
|
|
20434
|
+
|
|
20435
|
+
|
|
20370
20436
|
|
|
20371
20437
|
|
|
20372
20438
|
|
package/package.json
CHANGED
package/payment/payment.proto
CHANGED
package/payment/payment_pb.js
CHANGED
|
@@ -14695,7 +14695,8 @@ proto.payment.AttemptDepositRequest.toObject = function(includeInstance, msg) {
|
|
|
14695
14695
|
ifsc: jspb.Message.getFieldWithDefault(msg, 44, ""),
|
|
14696
14696
|
cryptoWallet: jspb.Message.getFieldWithDefault(msg, 45, ""),
|
|
14697
14697
|
requestCurrency: jspb.Message.getFieldWithDefault(msg, 46, ""),
|
|
14698
|
-
antifraudSession: jspb.Message.getFieldWithDefault(msg, 47, "")
|
|
14698
|
+
antifraudSession: jspb.Message.getFieldWithDefault(msg, 47, ""),
|
|
14699
|
+
bonusId: jspb.Message.getFieldWithDefault(msg, 48, 0)
|
|
14699
14700
|
};
|
|
14700
14701
|
|
|
14701
14702
|
if (includeInstance) {
|
|
@@ -14920,6 +14921,10 @@ proto.payment.AttemptDepositRequest.deserializeBinaryFromReader = function(msg,
|
|
|
14920
14921
|
var value = /** @type {string} */ (reader.readString());
|
|
14921
14922
|
msg.setAntifraudSession(value);
|
|
14922
14923
|
break;
|
|
14924
|
+
case 48:
|
|
14925
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
14926
|
+
msg.setBonusId(value);
|
|
14927
|
+
break;
|
|
14923
14928
|
default:
|
|
14924
14929
|
reader.skipField();
|
|
14925
14930
|
break;
|
|
@@ -15278,6 +15283,13 @@ proto.payment.AttemptDepositRequest.serializeBinaryToWriter = function(message,
|
|
|
15278
15283
|
f
|
|
15279
15284
|
);
|
|
15280
15285
|
}
|
|
15286
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 48));
|
|
15287
|
+
if (f != null) {
|
|
15288
|
+
writer.writeInt32(
|
|
15289
|
+
48,
|
|
15290
|
+
f
|
|
15291
|
+
);
|
|
15292
|
+
}
|
|
15281
15293
|
};
|
|
15282
15294
|
|
|
15283
15295
|
|
|
@@ -16919,6 +16931,42 @@ proto.payment.AttemptDepositRequest.prototype.hasAntifraudSession = function() {
|
|
|
16919
16931
|
};
|
|
16920
16932
|
|
|
16921
16933
|
|
|
16934
|
+
/**
|
|
16935
|
+
* optional int32 bonus_id = 48;
|
|
16936
|
+
* @return {number}
|
|
16937
|
+
*/
|
|
16938
|
+
proto.payment.AttemptDepositRequest.prototype.getBonusId = function() {
|
|
16939
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 48, 0));
|
|
16940
|
+
};
|
|
16941
|
+
|
|
16942
|
+
|
|
16943
|
+
/**
|
|
16944
|
+
* @param {number} value
|
|
16945
|
+
* @return {!proto.payment.AttemptDepositRequest} returns this
|
|
16946
|
+
*/
|
|
16947
|
+
proto.payment.AttemptDepositRequest.prototype.setBonusId = function(value) {
|
|
16948
|
+
return jspb.Message.setField(this, 48, value);
|
|
16949
|
+
};
|
|
16950
|
+
|
|
16951
|
+
|
|
16952
|
+
/**
|
|
16953
|
+
* Clears the field making it undefined.
|
|
16954
|
+
* @return {!proto.payment.AttemptDepositRequest} returns this
|
|
16955
|
+
*/
|
|
16956
|
+
proto.payment.AttemptDepositRequest.prototype.clearBonusId = function() {
|
|
16957
|
+
return jspb.Message.setField(this, 48, undefined);
|
|
16958
|
+
};
|
|
16959
|
+
|
|
16960
|
+
|
|
16961
|
+
/**
|
|
16962
|
+
* Returns whether this field is set.
|
|
16963
|
+
* @return {boolean}
|
|
16964
|
+
*/
|
|
16965
|
+
proto.payment.AttemptDepositRequest.prototype.hasBonusId = function() {
|
|
16966
|
+
return jspb.Message.getField(this, 48) != null;
|
|
16967
|
+
};
|
|
16968
|
+
|
|
16969
|
+
|
|
16922
16970
|
|
|
16923
16971
|
|
|
16924
16972
|
|
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;
|
package/user/user_grpc_pb.js
CHANGED
|
@@ -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: {
|