/** * Veeroute.Lastmile * Veeroute Lastmile 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 { CapacityLastmile } from './capacity'; import { MeasurementsLastmile } from './measurements'; import { QualityStatisticsLastmile } from './qualityStatistics'; /** * General statistics for one or more trips. * `capacity_utilization` - the ratio of the total utilization value for the capacity parameter to the capacity for this parameter. * `capacity_max` - max capacity load. */ export interface StatisticsLastmile { /** * Total costs calculated based on the performer\'s and transport tariffs. The total cost is equal to the difference between the total reward (`reward`) and expenses (`cost`). */ cost: number; /** * The total reward for orders fulfillment. */ reward: number; measurements: MeasurementsLastmile | null; /** * The total number of planned and assigned orders. */ orders_count: number; /** * The total number of planned orders. */ plan_orders_count?: number; /** * The total number of assigned orders. */ waitlist_orders_count?: number; /** * The total number of performers involved in orders fulfillment. */ performers_count: number; capacity_utilization?: CapacityLastmile | null; capacity_max?: CapacityLastmile | null; quality?: QualityStatisticsLastmile | null; }