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.

9 lines (8 loc) 317 B
export class OptimizeAgentInput { constructor(agentId, agentJobIds, agentShipmentIds, agentLocationIds) { this.agentId = agentId; this.agentJobIds = new Set(agentJobIds); this.agentShipmentIds = new Set(agentShipmentIds); this.agentLocationIds = new Set(agentLocationIds); } }