Order
{
id: <int>
created: <timestamp>
creator_id: <int>
creator_name: <string | null>
updated_at: <timestamp | null>
last_updater_id: <int>
updater_name: <string | null>
source: <OrderSource>
type: <OrderType>
deffered_trip: <timestamp | null>
phone: <int>
driver: <string | null>
src_address: <string>
src_lat: <string>
src_long: <string>
src_office_id: <int>
dst_address: <string>
dst_lat: <string>
dst_long: <string>
dst_office_id: <int>
taxi_class_id: <TaxiClassID>
requirements: <json string | null>
comment: <string | null>
comment_yandex: <string | null>
provider: <Provider>
status: <OrderStatus>
taxi_status: <TaxiStatus>
taxi_sub_status: <string | null>
trip_start: <timestamp | null>
trip_finish: <timestamp | null>
order_created: <timestamp>
taxi_status_updated: <timestamp | null>
arrive_at: <timestamp | null>
cancel_reason: <string | null>
trip_distance: <float | null>
price: <string | null>
price_block: <string | null>
estimate_price: <string | null>
estimate_time: <int>
project: <string>
project_id: <int>
project_domain: <string>
project_description: <string>
widget: <string | null>
widget_id: <int>
client_id: <int>
client_arrived_marker: <0 | 1>
marker_date: <timestamp | null>
arrived_marker_updater: <int | null>
marker_updater_name: <string | null>
increased_demand: <0 | 1>
country_code: <int>
office_id: <int>
group_id: <int>
interim_destinations: <json string | null>
zone: <int>
limit_exceeded: <0 | 1>
price_changed: <0 | 1>
was_raised: <0 | 1>
cost_center: <string>
black: <string | null>
old_price: <string | null>
second_cost_center: <string | null>
extra: <string | null>
providers: Provider[]
user_id: <string>
}
Типы: TaxiClassID OrderStatus Provider TaxiStatus OrderSource