Type Alias ImportRequest

Import request wrapping the export file and optional conflict resolutions.

type ImportRequest = {
    conflictResolutions?: ConflictResolution[] | null;
    defaultConflictStrategy?: "OVERWRITE" | "SKIP" | "KEEP_BOTH";
    file: unknown;
    skipConfirmation?: boolean;
}
Index
conflictResolutions?: ConflictResolution[] | null

Per-type conflict resolution. Each entry maps a conflicting label to its strategy. Labels not listed fall back to defaultConflictStrategy. Omit entirely (or send null) on the first call to trigger conflict detection. Sending an array — even an empty one — applies the import, using defaultConflictStrategy for every conflict not listed.

defaultConflictStrategy?: "OVERWRITE" | "SKIP" | "KEEP_BOTH"

Fallback strategy applied to conflicting types not listed in conflictResolutions. Defaults to SKIP.

file: unknown

The export file payload as-is. Format is detected from the exportFormat field. Accepts QlikSemanticTypesExport (Qlik native) or DQDictionaryImportExport (Talend legacy).

skipConfirmation?: boolean

Controls preview vs. one-shot import when no conflictResolutions are supplied. When false (default) the call is a preview: the file is analysed and a per-type conflict/summary body is returned (HTTP 200) without importing anything. When true the import is attempted one-shot: if real conflicts or in-file duplicates exist the conflict body is returned (HTTP 200) and nothing is imported; otherwise all types are imported (HTTP 201). Ignored when conflictResolutions are provided (those always apply the import).