/** * Veeroute.Delivery * Veeroute Delivery API * * The version of the OpenAPI document: 3.15.183137 * Contact: support@veeroute.com * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import { OrderCostDelivery } from './orderCost'; import { CargoDelivery } from './cargo'; import { CustomerDelivery } from './customer'; import { OrderTypeDelivery } from './orderType'; /** * Order for cargo delivery to a location or cargo pickup from any location. */ export interface OrderDelivery { /** * Order key. unique ID. */ key: string; type?: OrderTypeDelivery; /** * List of possible warehouses for cargo pickup or drop. */ warehouse_keys: Array; customer: CustomerDelivery; /** * Cargoes list. All mentioned cargoes are delivered from one location to other by one performer during one trip. */ cargos: Array; /** * Average pickup time for all cargoes in one trip, in minutes. */ warehouse_duration?: number; /** * Average drop time for all cargoes in one trip, in minutes. */ customer_duration?: number; cost?: OrderCostDelivery; /** * Order features list. */ order_features?: Set; /** * List of requirements for an order being delivered during the same trip. */ order_restrictions?: Set; /** * Requirements list for the performer. Used for checking the compatibility of the performer and the order (work). */ performer_restrictions?: Set; /** * A list of requirements that the performer is not allowed to have. Used for checking the compatibility of the performer and the order (work). This list should not intersect with `performer_restrictions`. */ performer_blacklist?: Set; }