UNPKG

lml-main

Version:

This is now a mono repository published into many standalone packages.

30 lines (29 loc) 919 B
import { RxHttpRequestAction, RxHttpActionTypes } from 'redux-rx-http'; import { PositionModel, AddressModel, StopTimeModel } from '@lml/cosmo-ts-data'; export declare const POST_RETURN_TO_DEPOT: RxHttpActionTypes; /** * This is not a crud route * It is more like an orchestration layer * Either you can pass the place id, or you * can pass the address, but not really both */ export interface PostReturnToDepotRequest { jobId: string; depot: { place: { id?: string; position: PositionModel; address: AddressModel; }; instructions: string; contact: { company: string; name?: string; phone?: string; mobile?: string; email?: string; }; }; stopTime: StopTimeModel; } export declare const postReturnToDepot: (data: PostReturnToDepotRequest) => RxHttpRequestAction;