@sniipwebmaster/kyc-client-grpcweb 25.3.1411 → 25.3.1423
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.
|
@@ -688,6 +688,67 @@ proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.saveDocument =
|
|
|
688
688
|
};
|
|
689
689
|
|
|
690
690
|
|
|
691
|
+
/**
|
|
692
|
+
* @const
|
|
693
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
694
|
+
* !proto.kycserviceapi.SaveDocumentRequest,
|
|
695
|
+
* !proto.kycserviceapi.ResponseCode>}
|
|
696
|
+
*/
|
|
697
|
+
const methodDescriptor_KYCServiceAPIService_SaveAndSubmitDocument = new grpc.web.MethodDescriptor(
|
|
698
|
+
'/kycserviceapi.KYCServiceAPIService/SaveAndSubmitDocument',
|
|
699
|
+
grpc.web.MethodType.UNARY,
|
|
700
|
+
proto.kycserviceapi.SaveDocumentRequest,
|
|
701
|
+
proto.kycserviceapi.ResponseCode,
|
|
702
|
+
/**
|
|
703
|
+
* @param {!proto.kycserviceapi.SaveDocumentRequest} request
|
|
704
|
+
* @return {!Uint8Array}
|
|
705
|
+
*/
|
|
706
|
+
function(request) {
|
|
707
|
+
return request.serializeBinary();
|
|
708
|
+
},
|
|
709
|
+
proto.kycserviceapi.ResponseCode.deserializeBinary
|
|
710
|
+
);
|
|
711
|
+
|
|
712
|
+
|
|
713
|
+
/**
|
|
714
|
+
* @param {!proto.kycserviceapi.SaveDocumentRequest} request The
|
|
715
|
+
* request proto
|
|
716
|
+
* @param {?Object<string, string>} metadata User defined
|
|
717
|
+
* call metadata
|
|
718
|
+
* @param {function(?grpc.web.RpcError, ?proto.kycserviceapi.ResponseCode)}
|
|
719
|
+
* callback The callback function(error, response)
|
|
720
|
+
* @return {!grpc.web.ClientReadableStream<!proto.kycserviceapi.ResponseCode>|undefined}
|
|
721
|
+
* The XHR Node Readable Stream
|
|
722
|
+
*/
|
|
723
|
+
proto.kycserviceapi.KYCServiceAPIServiceClient.prototype.saveAndSubmitDocument =
|
|
724
|
+
function(request, metadata, callback) {
|
|
725
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
726
|
+
'/kycserviceapi.KYCServiceAPIService/SaveAndSubmitDocument',
|
|
727
|
+
request,
|
|
728
|
+
metadata || {},
|
|
729
|
+
methodDescriptor_KYCServiceAPIService_SaveAndSubmitDocument,
|
|
730
|
+
callback);
|
|
731
|
+
};
|
|
732
|
+
|
|
733
|
+
|
|
734
|
+
/**
|
|
735
|
+
* @param {!proto.kycserviceapi.SaveDocumentRequest} request The
|
|
736
|
+
* request proto
|
|
737
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
738
|
+
* call metadata
|
|
739
|
+
* @return {!Promise<!proto.kycserviceapi.ResponseCode>}
|
|
740
|
+
* Promise that resolves to the response
|
|
741
|
+
*/
|
|
742
|
+
proto.kycserviceapi.KYCServiceAPIServicePromiseClient.prototype.saveAndSubmitDocument =
|
|
743
|
+
function(request, metadata) {
|
|
744
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
745
|
+
'/kycserviceapi.KYCServiceAPIService/SaveAndSubmitDocument',
|
|
746
|
+
request,
|
|
747
|
+
metadata || {},
|
|
748
|
+
methodDescriptor_KYCServiceAPIService_SaveAndSubmitDocument);
|
|
749
|
+
};
|
|
750
|
+
|
|
751
|
+
|
|
691
752
|
/**
|
|
692
753
|
* @const
|
|
693
754
|
* @type {!grpc.web.MethodDescriptor<
|