/** * VRt.Universal [UV] * * The version of the OpenAPI document: 7.26.3024 * Contact: servicedesk@veeroute.com * * NOTE: This class is auto generated by OpenAPI Generator. * Do not edit the class manually. */ import { AttributeUniversal } from './attribute'; import { PossibleEventUniversal } from './possibleEvent'; import { DemandTypeUniversal } from './demandType'; /** * Request for a single action with a cargo (pickup / drop) or work at a location. */ export interface DemandUniversal { [key: string]: any | any; /** * Demand key, unique identifier. */ key: string; demand_type: DemandTypeUniversal; /** * The list of cargo keys depends on the type of order in which the cargoes are located: * `PICKUP` - list of keys * `DROP` - one key * `WORK` - empty list * `PICKUP_TO_BOX` - one key * `DROP_FROM_BOX` - one key */ target_cargos?: Array; /** * Precedence within a trip, 0 - the precedence is not taken into account. */ precedence_in_trip?: number; /** * Precedence within an order, 0 - the precedence is not taken into account. */ precedence_in_order?: number; /** * List of possible time windows and location keys to fulfil an order. */ possible_events: Array; /** * Name, information field. */ name?: string; /** * Attributes. Used to add service information. */ attributes?: Array; }