UNPKG

solvice-js-client

Version:

A JavaScript client to access the Solvice api.

26 lines (21 loc) 454 B
import {ILocation} from "./location"; export interface IWindow { starttime: number; endtime: number; type?: string; } export interface IOrder { name: string; location: ILocation; demand: number; duration: number; type: string; } export interface IVrpOrder extends IOrder { activity: 'PICKUP'|'DROPOFF'; windows: IWindow[]; } export interface IPdpOrder extends IOrder { ride: string; window: IWindow; }