Interface TradePreference

Encapsulates typed und untyped workflow metadata for case properties

interface TradePreference {
    DE_A1200?: string;
    NC_38000?: string;
    bbox?: Bbox;
    confidence?: number;
    country?: string;
    countryGroup?: string;
    display?: boolean;
    errors?: ErrorModel[];
    exporterPermitNumber?: string;
    input?: string;
    lastChangedBy?: string;
    modifiedAt?: number;
    modifiedBy?: {
        displayName?: string;
        id?: string;
    };
    options?: string[];
    reason?: any;
    required?: boolean;
    reviewNeeded?: boolean;
    searchValue?: string;
    source?: string;
    templateValue?: string;
    treaty?: string;
    userEdited?: boolean;
    valid?: boolean;
    value?: string;
}

Hierarchy (view full)

  • Meta<string>
    • TradePreference

Properties

DE_A1200?: string
NC_38000?: string
bbox?: Bbox

Bounding box of extracted value

confidence?: number

Confidence supplied by data extraction or 1.0 if entered by human

country?: string
countryGroup?: string

e.g. LDC

display?: boolean
errors?: ErrorModel[]

could be validation errors

exporterPermitNumber?: string
input?: string

The input value which was initially supplied for the property

lastChangedBy?: string

Encoded user (username, userId, etc.)

Deprecated

modifiedAt?: number

Last modification date (user or machine), as a UTC unix timestamp

modifiedBy?: {
    displayName?: string;
    id?: string;
}

Field last changed by

Type declaration

  • Optional displayName?: string
  • Optional id?: string
options?: string[]
reason?: any
required?: boolean
reviewNeeded?: boolean
searchValue?: string

Normalized searchValue, for any related queries. Needs to be a string, even if value is of a different type.

source?: string
templateValue?: string

Template value which was used to generate the value

treaty?: string
userEdited?: boolean

Mark this property as user-edited (as opposed to machine-generated)

valid?: boolean

is trade preference valid?

value?: string

The current value of the property