/**
 * VRt.Studio [ST]
 *
 * The version of the OpenAPI document: 7.18.2755
 * Contact: servicedesk@veeroute.com
 *
 * NOTE: This class is auto generated by OpenAPI Generator.
 * Do not edit the class manually.
 */
import { CapacityStatisticsRatioStudio } from './capacityStatisticsRatio';
import { CapacityStatisticsLoadStudio } from './capacityStatisticsLoad';
import { MeasurementsStudio } from './measurements';
import { CapacityStatisticsSumStudio } from './capacityStatisticsSum';
import { AttributeStudio } from './attribute';
/**
 * Summary statistics for one or a set of trips.
 */
export interface GeneralStatisticsStudio {
    [key: string]: any | any;
    /**
     * Total cost calculated based on the performer\'s and transport tariffs.
     */
    cost: number;
    /**
     * The total reward for orders fulfillment.
     */
    reward: number;
    /**
     * The total profit is equal to the difference between the total reward (`reward`) and cost (`cost`).
     */
    profit: number;
    measurements: MeasurementsStudio;
    /**
     * The total number of planned trips.
     */
    trips_count: number;
    /**
     * The total number of performers involved in orders fulfillment.
     */
    performers_count: number;
    /**
     * 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 stops (non-unique locations).
     */
    stops_count: number;
    /**
     * The total number of unique locations within one trip. For general statistics - the sum of unique locations within each trip.
     */
    locations_count: number;
    cargo_capacity_sum: CapacityStatisticsSumStudio;
    cargo_capacity_ratio: CapacityStatisticsRatioStudio;
    max_transport_load: CapacityStatisticsLoadStudio;
    /**
     * Average speed is the ratio of the total distance to the total time of movement, km/h.
     */
    average_speed: number;
    /**
     * Number of [roundtrips](#section/Description/Roundtrips) within a trip.
     */
    round_trips_count: number;
    /**
     * Average mileage per roundtrip is the ratio of the total mileage per trip to the number of roundtrips, in meters.
     */
    average_roundtrip_distance: number;
    /**
     * Time duration according to [ISO 8601 duration](https://en.wikipedia.org/wiki/ISO_8601#Durations).
     */
    average_roundtrip_time: string;
    /**
     * Attributes. Used to add service information.
     */
    attributes?: Array<AttributeStudio>;
}
