feat(v2.7.4): parallel 7-courier Bangladesh fraud breakdown engine with strict zero-mock per-carrier stats

This commit is contained in:
Amirul Islam Redwan71
2026-11-27 05:56:40 +06:00
parent a3392ae69f
commit 43d55baca3
32 changed files with 1283 additions and 145 deletions
+12
View File
@@ -2,6 +2,8 @@ export interface CourierConfig {
steadfast: {
apiKey: string;
secretKey: string;
email?: string;
password?: string;
baseUrl: string;
enabled: boolean;
};
@@ -16,6 +18,8 @@ export interface CourierConfig {
};
redx: {
apiToken: string;
phone?: string;
password?: string;
baseUrl: string;
pickupStoreId: string;
enabled: boolean;
@@ -32,6 +36,14 @@ export interface CourierConfig {
apiKey: string;
enabled: boolean;
};
extraFraudCreds?: {
carrybeeEmail: string;
carrybeePassword: string;
ecourierApiKey: string;
ecourierApiSecret: string;
ecourierUserId: string;
parceldexApiKey: string;
};
}
export type EnvSource = Record<string, string | undefined>;
export declare const ALLOWED_CARRIER_HOSTS: Record<"steadfast" | "pathao" | "redx" | "paperfly", readonly string[]>;