lml-main
Version:
This is now a mono repository published into many standalone packages.
15 lines (14 loc) • 919 B
TypeScript
import { RxHttpRequestAction, RxHttpActionTypes } from 'redux-rx-http';
import { CourierActionModel } from '@lml/cosmo-ts-data';
import { PostCourierActionRequest } from '../interfaces';
export declare const FETCH_COURIER_ACTION_BY_JOB_ID: RxHttpActionTypes;
export declare const POST_COURIER_ACTION: RxHttpActionTypes;
export declare const SET_COURIER_ACTION_BY_JOB_ID = "SET_COURIER_ACTION_BY_JOB_ID";
export interface SetCourierActionByJobIdAction {
type: 'SET_COURIER_ACTION_BY_JOB_ID';
jobRefId: string;
courierActions: CourierActionModel[];
}
export declare const fetchCourierActionByJobId: (jobRefId: string, args?: any) => RxHttpRequestAction;
export declare const postCourierAction: (courierAction: PostCourierActionRequest, args?: any) => RxHttpRequestAction;
export declare const setCourierActionByJobId: (jobRefId: string, courierActions: CourierActionModel[]) => SetCourierActionByJobIdAction;