feat(v2.7.4): parallel 7-courier Bangladesh fraud breakdown engine with strict zero-mock per-carrier stats
This commit is contained in:
Vendored
+10
-4
@@ -1,11 +1,17 @@
|
||||
import { FraudRiskScoreResponse } from "../types.js";
|
||||
import { SteadfastAdapter } from "./steadfast.js";
|
||||
import { PathaoAdapter } from "./pathao.js";
|
||||
import { CourierConfig } from "../config.js";
|
||||
export declare class FraudRiskEngine {
|
||||
private static checkSteadfastWeb;
|
||||
private static checkRedxNationwide;
|
||||
private static checkPaperflySmartCheck;
|
||||
private static checkCarrybee;
|
||||
private static checkEcourier;
|
||||
/**
|
||||
* Real-Time Multi-Carrier Fraud & Delivery Risk Evaluation (T6)
|
||||
* Queries Pathao Nationwide Customer Delivery Database (/aladdin/api/v1/user/success),
|
||||
* Steadfast Nationwide Logistics Database (/fraud_check/{phone}), and BD Operator Prefix Validator.
|
||||
* Real-Time All-Bangladesh Multi-Carrier Fraud & Delivery Risk Evaluation (v2.7.4)
|
||||
* Executes parallel live lookups across Steadfast, Pathao, RedX, Paperfly, CarryBee, eCourier & ParcelDex.
|
||||
* Strictly Zero Mock Data: non-connected or inactive carrier accounts return `null` counts with transparent status.
|
||||
*/
|
||||
static evaluateRisk(phoneNumber: string, steadfastAdapter?: SteadfastAdapter, pathaoAdapter?: PathaoAdapter): Promise<FraudRiskScoreResponse>;
|
||||
static evaluateRisk(phoneNumber: string, steadfastAdapter?: SteadfastAdapter, pathaoAdapter?: PathaoAdapter, config?: CourierConfig): Promise<FraudRiskScoreResponse>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user