import { String, Datetime, Int } from 'oak-domain/lib/types/DataType'; import { EntityShape } from 'oak-domain/lib/types/Entity'; import { ActionDef, EntityDesc } from 'oak-domain/lib/types'; import { Schema as ShipService } from './ShipService'; import { Schema as Address } from 'oak-general-business/lib/entities/Address'; type Paths = Array<{ time: number; action: string; }>; export interface Schema extends EntityShape { type: 'virtual' | 'pickup' | 'express'; shipService?: ShipService; to?: Address; from?: Address; entity?: String<32>; entityId?: String<64>; phantom1?: String<32>; phantom2?: String<32>; phantom3?: Int<4>; phantom4?: Int<8>; phantom5?: Object; extraShipId?: String<128>; extraPaths?: Paths; receiveAt?: Datetime; } type IState = 'unshipped' | 'shipping' | 'cancelled' | 'received' | 'rejected' | 'unknown'; type IAction = 'ship' | 'receive' | 'cancel' | 'reject' | 'unknow'; export declare const IActionDef: ActionDef; type EAction = 'syncState' | 'syncPaths' | 'syncAll' | 'print'; type Action = IAction | EAction; export declare const entityDesc: EntityDesc; export {};