@sniipwebmaster/kyc-client-grpcweb 25.3.1393 → 25.3.1399
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/dependancies/service_pb.js +40 -1
- package/package.json +1 -1
|
@@ -34,6 +34,7 @@ goog.exportSymbol('proto.kycserviceapi.GetUserKycStatusInternalRequest', null, g
|
|
|
34
34
|
goog.exportSymbol('proto.kycserviceapi.GetUserKycSummaryRequest', null, global);
|
|
35
35
|
goog.exportSymbol('proto.kycserviceapi.KycPaymentMethod', null, global);
|
|
36
36
|
goog.exportSymbol('proto.kycserviceapi.KycUserStatusUpdateRequest', null, global);
|
|
37
|
+
goog.exportSymbol('proto.kycserviceapi.KycUserStatusUpdateRequest.DocumentType', null, global);
|
|
37
38
|
goog.exportSymbol('proto.kycserviceapi.NotifyUserRequest', null, global);
|
|
38
39
|
goog.exportSymbol('proto.kycserviceapi.Passport', null, global);
|
|
39
40
|
goog.exportSymbol('proto.kycserviceapi.RequestUserKycRequest', null, global);
|
|
@@ -2908,7 +2909,8 @@ proto.kycserviceapi.KycUserStatusUpdateRequest.toObject = function(includeInstan
|
|
|
2908
2909
|
userid: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
2909
2910
|
status: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
2910
2911
|
requested: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
|
2911
|
-
reason: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
2912
|
+
reason: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
2913
|
+
documentstype: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
2912
2914
|
};
|
|
2913
2915
|
|
|
2914
2916
|
if (includeInstance) {
|
|
@@ -2961,6 +2963,10 @@ proto.kycserviceapi.KycUserStatusUpdateRequest.deserializeBinaryFromReader = fun
|
|
|
2961
2963
|
var value = /** @type {string} */ (reader.readString());
|
|
2962
2964
|
msg.setReason(value);
|
|
2963
2965
|
break;
|
|
2966
|
+
case 5:
|
|
2967
|
+
var value = /** @type {!proto.kycserviceapi.KycUserStatusUpdateRequest.DocumentType} */ (reader.readEnum());
|
|
2968
|
+
msg.setDocumentstype(value);
|
|
2969
|
+
break;
|
|
2964
2970
|
default:
|
|
2965
2971
|
reader.skipField();
|
|
2966
2972
|
break;
|
|
@@ -3018,9 +3024,24 @@ proto.kycserviceapi.KycUserStatusUpdateRequest.serializeBinaryToWriter = functio
|
|
|
3018
3024
|
f
|
|
3019
3025
|
);
|
|
3020
3026
|
}
|
|
3027
|
+
f = message.getDocumentstype();
|
|
3028
|
+
if (f !== 0.0) {
|
|
3029
|
+
writer.writeEnum(
|
|
3030
|
+
5,
|
|
3031
|
+
f
|
|
3032
|
+
);
|
|
3033
|
+
}
|
|
3021
3034
|
};
|
|
3022
3035
|
|
|
3023
3036
|
|
|
3037
|
+
/**
|
|
3038
|
+
* @enum {number}
|
|
3039
|
+
*/
|
|
3040
|
+
proto.kycserviceapi.KycUserStatusUpdateRequest.DocumentType = {
|
|
3041
|
+
INTERNAL: 0,
|
|
3042
|
+
EXTERNAL: 1
|
|
3043
|
+
};
|
|
3044
|
+
|
|
3024
3045
|
/**
|
|
3025
3046
|
* optional int64 userId = 1;
|
|
3026
3047
|
* @return {number}
|
|
@@ -3093,6 +3114,24 @@ proto.kycserviceapi.KycUserStatusUpdateRequest.prototype.setReason = function(va
|
|
|
3093
3114
|
};
|
|
3094
3115
|
|
|
3095
3116
|
|
|
3117
|
+
/**
|
|
3118
|
+
* optional DocumentType documentsType = 5;
|
|
3119
|
+
* @return {!proto.kycserviceapi.KycUserStatusUpdateRequest.DocumentType}
|
|
3120
|
+
*/
|
|
3121
|
+
proto.kycserviceapi.KycUserStatusUpdateRequest.prototype.getDocumentstype = function() {
|
|
3122
|
+
return /** @type {!proto.kycserviceapi.KycUserStatusUpdateRequest.DocumentType} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
3123
|
+
};
|
|
3124
|
+
|
|
3125
|
+
|
|
3126
|
+
/**
|
|
3127
|
+
* @param {!proto.kycserviceapi.KycUserStatusUpdateRequest.DocumentType} value
|
|
3128
|
+
* @return {!proto.kycserviceapi.KycUserStatusUpdateRequest} returns this
|
|
3129
|
+
*/
|
|
3130
|
+
proto.kycserviceapi.KycUserStatusUpdateRequest.prototype.setDocumentstype = function(value) {
|
|
3131
|
+
return jspb.Message.setProto3EnumField(this, 5, value);
|
|
3132
|
+
};
|
|
3133
|
+
|
|
3134
|
+
|
|
3096
3135
|
|
|
3097
3136
|
|
|
3098
3137
|
|