Files
CollectFlow/src/types/httpntlm.d.ts
T
MichaelandClaude Opus 4.8 aee968d30f feat(grid): replace ranking/AI/score with Qlik network data
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>
2026-06-20 22:52:39 +02:00

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;
}