UNPKG

nav-connect

Version:

Nav Online Invoice connection module

21 lines (20 loc) 571 B
import type { SoftwareType } from "nav-osa-types"; export declare const DEFAULT_HTTP_TIMEOUT_MS = 55000; interface TechnicalUser { user: string; password: string; signatureKey: string; exchangeKey: string; } export interface NavApiConfig { testSystem: boolean; taxNumber: string; technicalUser: TechnicalUser; software: SoftwareType; httpTimeoutMs?: number; minIntervalMs?: number; baseUrlOverride?: string; validateResponse?: boolean; } export declare function validateNavApiConfig(config: NavApiConfig): void; export {};