feat(v2.7.4): parallel 7-courier Bangladesh fraud breakdown engine with strict zero-mock per-carrier stats
This commit is contained in:
Vendored
+12
@@ -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[]>;
|
||||
|
||||
Reference in New Issue
Block a user