lml-main
Version:
This is now a mono repository published into many standalone packages.
17 lines (16 loc) • 688 B
TypeScript
import { AllocationType } from '../../allocation/data';
export declare const ALLOCATE = "ALLOCATE";
export declare const DEALLOCATE_ACTIVE_JOB = "DEALLOCATE_ACTIVE_JOB";
export interface AllocateAction {
type: 'ALLOCATE';
allocationType: AllocationType;
jobRefId?: string;
courierRefId?: string;
callsign?: string;
timestamp: string;
}
export interface DeallocateActiveJobAction {
type: 'DEALLOCATE_ACTIVE_JOB';
}
export declare const allocate: (allocationType: "ACTUAL" | "DEALLOCATION" | "REALLOCATION" | "TAG" | "UNTAG", jobRefId?: string, courierRefId?: string) => AllocateAction;
export declare const deallocateActiveJob: () => DeallocateActiveJobAction;