UNPKG

@geoapify/route-planner-sdk

Version:

A TypeScript SDK for the Geoapify Route Planner API that simplifies route optimization requests, and helps visualize and edit resulting routes.

20 lines (19 loc) 715 B
import { Break } from "./break"; import { AgentData } from "../../../interfaces"; export declare class Agent { private raw; constructor(raw?: AgentData); getRaw(): AgentData; setRaw(value: AgentData): this; setStartLocation(lon: number, lat: number): this; setStartLocationIndex(value: number): this; setEndLocation(lon: number, lat: number): this; setEndLocationIndex(value: number): this; setPickupCapacity(value: number): this; setDeliveryCapacity(value: number): this; addCapability(value: string): this; addTimeWindow(start: number, end: number): this; addBreak(value: Break): this; setId(value: string): this; setDescription(value: string): this; }