Files
aura-courier-mcp/dist/config.d.ts
T
Amirul Islam Redwan71 0606928a09
CI / Build & Quality Check (push) Has been cancelled
fix(http): add malformed JSON syntax error handling middleware and update dist
2026-09-26 00:51:21 +06:00

43 lines
1.1 KiB
TypeScript

export interface CourierConfig {
steadfast: {
apiKey: string;
secretKey: string;
baseUrl: string;
enabled: boolean;
};
pathao: {
clientId: string;
clientSecret: string;
username: string;
password: string;
storeId: string;
baseUrl: string;
enabled: boolean;
};
redx: {
apiToken: string;
baseUrl: string;
pickupStoreId: string;
enabled: boolean;
};
paperfly: {
apiKey: string;
username: string;
password: string;
storeName: string;
baseUrl: string;
enabled: boolean;
};
googleMaps: {
apiKey: string;
enabled: boolean;
};
}
export type EnvSource = Record<string, string | undefined>;
/**
* Build a CourierConfig from a key/value source.
* Defaults to process.env (used by the STDIO/npx entrypoint); the HTTP
* entrypoint passes a per-request map built from that client's headers/query.
*/
export declare function loadConfig(src?: EnvSource): CourierConfig;