@sniipwebmaster/transaction-service-client-grpcweb 0.2.3946 → 0.2.3961
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.
|
@@ -1080,6 +1080,61 @@ proto.sniiptransactionapi.SniipTransactionAPIServicePromiseClient.prototype.post
|
|
|
1080
1080
|
};
|
|
1081
1081
|
|
|
1082
1082
|
|
|
1083
|
+
/**
|
|
1084
|
+
* @const
|
|
1085
|
+
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
1086
|
+
* !proto.google.protobuf.Empty,
|
|
1087
|
+
* !proto.sniiptransactionapi.ResponseCode>}
|
|
1088
|
+
*/
|
|
1089
|
+
const methodInfo_SniipTransactionAPIService_RetrieveFraudRisks = new grpc.web.AbstractClientBase.MethodInfo(
|
|
1090
|
+
proto.sniiptransactionapi.ResponseCode,
|
|
1091
|
+
/** @param {!proto.google.protobuf.Empty} request */
|
|
1092
|
+
function(request) {
|
|
1093
|
+
return request.serializeBinary();
|
|
1094
|
+
},
|
|
1095
|
+
proto.sniiptransactionapi.ResponseCode.deserializeBinary
|
|
1096
|
+
);
|
|
1097
|
+
|
|
1098
|
+
|
|
1099
|
+
/**
|
|
1100
|
+
* @param {!proto.google.protobuf.Empty} request The
|
|
1101
|
+
* request proto
|
|
1102
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1103
|
+
* call metadata
|
|
1104
|
+
* @param {function(?grpc.web.Error, ?proto.sniiptransactionapi.ResponseCode)}
|
|
1105
|
+
* callback The callback function(error, response)
|
|
1106
|
+
* @return {!grpc.web.ClientReadableStream<!proto.sniiptransactionapi.ResponseCode>|undefined}
|
|
1107
|
+
* The XHR Node Readable Stream
|
|
1108
|
+
*/
|
|
1109
|
+
proto.sniiptransactionapi.SniipTransactionAPIServiceClient.prototype.retrieveFraudRisks =
|
|
1110
|
+
function(request, metadata, callback) {
|
|
1111
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1112
|
+
'/sniiptransactionapi.SniipTransactionAPIService/RetrieveFraudRisks',
|
|
1113
|
+
request,
|
|
1114
|
+
metadata || {},
|
|
1115
|
+
methodInfo_SniipTransactionAPIService_RetrieveFraudRisks,
|
|
1116
|
+
callback);
|
|
1117
|
+
};
|
|
1118
|
+
|
|
1119
|
+
|
|
1120
|
+
/**
|
|
1121
|
+
* @param {!proto.google.protobuf.Empty} request The
|
|
1122
|
+
* request proto
|
|
1123
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1124
|
+
* call metadata
|
|
1125
|
+
* @return {!Promise<!proto.sniiptransactionapi.ResponseCode>}
|
|
1126
|
+
* A native promise that resolves to the response
|
|
1127
|
+
*/
|
|
1128
|
+
proto.sniiptransactionapi.SniipTransactionAPIServicePromiseClient.prototype.retrieveFraudRisks =
|
|
1129
|
+
function(request, metadata) {
|
|
1130
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1131
|
+
'/sniiptransactionapi.SniipTransactionAPIService/RetrieveFraudRisks',
|
|
1132
|
+
request,
|
|
1133
|
+
metadata || {},
|
|
1134
|
+
methodInfo_SniipTransactionAPIService_RetrieveFraudRisks);
|
|
1135
|
+
};
|
|
1136
|
+
|
|
1137
|
+
|
|
1083
1138
|
/**
|
|
1084
1139
|
* @const
|
|
1085
1140
|
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|