mirror of
https://github.com/R0m1k3/CollectFlow.git
synced 2026-10-11 17:26:32 +02:00
Remove ranking, AI analysis (routes + ai-copilot module), and score-engine from the grid. Add Qlik Sense network metrics (CA, Qte, nb magasins per product) joined by code centrale (articles.artcentrale). - qlik-client.ts: NTLM + ticket SSO auth, QIX hypercube extraction (master items) - qlik-network-cache.ts + qlik_network_metrics table (db-init): cache layer - POST /api/qlik/sync?fournisseur=: per-supplier sync into cache - SyncQlikButton: per-supplier sync, grid reload, last-update date display - get-product-rows Phase 8: enrich rows with cached network metrics - heatmap-grid: CA reseau / Qte reseau / Magasins (/270) / % presence columns - discovery: app 9872ee6e, master items CA N / Quantite N / Magasin Ventes Nb N - deps: httpntlm, ws Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
24 lines
644 B
TypeScript
24 lines
644 B
TypeScript
declare module "httpntlm" {
|
|
interface NtlmOptions {
|
|
url: string;
|
|
username: string;
|
|
password: string;
|
|
domain?: string;
|
|
workstation?: string;
|
|
headers?: Record<string, string>;
|
|
rejectUnauthorized?: boolean;
|
|
[key: string]: unknown;
|
|
}
|
|
interface NtlmResponse {
|
|
statusCode: number;
|
|
headers: Record<string, unknown>;
|
|
body: string;
|
|
}
|
|
type Cb = (err: Error | null, res: NtlmResponse) => void;
|
|
const httpntlm: {
|
|
get(opts: NtlmOptions, cb: Cb): void;
|
|
post(opts: NtlmOptions, cb: Cb): void;
|
|
};
|
|
export default httpntlm;
|
|
}
|