@geoapify/route-planner-sdk
Version:
TypeScript SDK for the Geoapify Route Planner API. Supports route optimization, delivery planning, and timeline visualization in browser and Node.js
18 lines (17 loc) • 603 B
TypeScript
import { JobData } from "../../../interfaces";
export declare class Job {
private raw;
constructor(raw?: JobData);
getRaw(): JobData;
setRaw(value: JobData): this;
setLocation(lon: number, lat: number): this;
setLocationIndex(value: number): this;
setPriority(value: number): this;
setDuration(value: number): this;
setPickupAmount(value: number): this;
setDeliveryAmount(value: number): this;
addRequirement(value: string): this;
addTimeWindow(start: number, end: number): this;
setId(value: string): this;
setDescription(value: string): this;
}