Interface CaseModel

Model used for any kind of customs case.

interface CaseModel {
    accomplishedAt?: Date;
    aggregated?: AggregatedCaseDataModel;
    automatic?: boolean;
    contextId?: string;
    createdAt?: Date;
    createdBy?: {
        displayName?: string;
        id?: string;
    };
    customerId?: string;
    customerName?: string;
    documents?: DigicustDocumentModel[];
    environment?: Environment;
    errors?: ErrorModel[];
    executionStrategy?: ExecutionStrategy;
    finishedAt?: Date;
    flags?: {
        [key: string]: string;
    };
    id?: string;
    isProcessWithDextor?: boolean;
    isPseudonymized?: boolean;
    modifiedBy?: {
        date?: Date;
        displayName?: string;
        id?: string;
    };
    module?: ModuleType;
    moduleCategory?: ModuleCategory;
    moduleId?: string;
    mrnNumber?: Meta<string>;
    procedureMode?: ProcedureMode;
    processedAt?: string;
    processing?: ProcessingModel;
    projectId?: string;
    projectName?: string;
    reference?: string;
    sentAt?: Date;
    stats?: StatsCaseModel;
    status?: Meta<CaseStatus>;
    testingData?: any;
    totalItemsLength?: number;
    uploadedFiles?: UploadedFileModel[];
}

Properties

accomplishedAt?: Date

Aggregated case data

automatic?: boolean
contextId?: string
createdAt?: Date
createdBy?: {
    displayName?: string;
    id?: string;
}

Type declaration

  • Optional displayName?: string
  • Optional id?: string
customerId?: string
customerName?: string
documents?: DigicustDocumentModel[]

Customs documents (e.g. invoices, waybills, ...) Each item could only exist in condensed form

environment?: Environment
errors?: ErrorModel[]

Case level errors (property level errors are stored in property)

executionStrategy?: ExecutionStrategy

Information on how the case needs to be processed

finishedAt?: Date
flags?: {
    [key: string]: string;
}

custom flags

Type declaration

  • [key: string]: string
id?: string
isProcessWithDextor?: boolean
isPseudonymized?: boolean
modifiedBy?: {
    date?: Date;
    displayName?: string;
    id?: string;
}

Type declaration

  • Optional date?: Date
  • Optional displayName?: string
  • Optional id?: string
module?: ModuleType
moduleCategory?: ModuleCategory
moduleId?: string
mrnNumber?: Meta<string>
procedureMode?: ProcedureMode

Case Type

processedAt?: string
processing?: ProcessingModel
projectId?: string
projectName?: string
reference?: string
sentAt?: Date
status?: Meta<CaseStatus>
testingData?: any
totalItemsLength?: number
uploadedFiles?: UploadedFileModel[]

Original, uploaded files

Generated using TypeDoc