Represents a record's polymorphic resource identity, so that it can be queried and referenced dynamically.

interface EquipmentHistoryItemRevision {
    carrierId?: number;
    currentStation?: Grouping;
    currentTrack?: Grouping;
    deletedAt?: string;
    deliverToCarrierCode?: string;
    equipment: RelaxedEquipment;
    jobName?: string;
    moveType: HistoryMoveType;
    mutedAt?: string;
    numCharges: number;
    previousStation?: Grouping;
    previousTrack?: Grouping;
    receiveFromCarrierCode?: string;
    reportingFlag: StateReportingFlag;
    resourceId: number;
    revisionNumber: number;
    revisionTime: string;
    timestamp?: string;
    umlerSnapshot?: Umler;
    waybill: Waybill;
}

Properties

carrierId?: number
currentStation?: Grouping
currentTrack?: Grouping
deletedAt?: string

When the history item is marked as deleted

deliverToCarrierCode?: string
equipment: RelaxedEquipment
jobName?: string

Job name as reported in the movement

moveType: HistoryMoveType
mutedAt?: string

When the history item is marked as muted

numCharges: number
previousStation?: Grouping
previousTrack?: Grouping
receiveFromCarrierCode?: string
reportingFlag: StateReportingFlag

Flag that reflects the status of the history item. ACCEPTED means it is correct according to the history state machine. IMPUTED means it is not submitted by users but rather inferred by the system. REJECTED means the history state machine cannot find any valid path to reach this state.

resourceId: number

To prevent from having to re-query to get the correct foreign key for known records, we can store this here when passing event information around.

revisionNumber: number

An increment for revisions

revisionTime: string

When the revision is created

timestamp?: string
umlerSnapshot?: Umler
waybill: Waybill