@allgroup/yandex-taxi-fleet-api
Version:
Unofficial yandex taxi fleet api library
22 lines (20 loc) • 534 B
text/typescript
import { DriverAccount } from "./driver-profile"
import { DriverProfileDetails } from "./driver-profile"
export interface DriversListRequest {
"fields": DriversListRequestFields,
"limit": number,
"offset": number,
"query": {
"park": {
"id": string
},
"text": string
}
}
export interface DriversListRequestFields {
"account": Array<keyof DriverAccount>,
"car": "number"[],
"current_status": "status"[],
"driver_profile": Array<keyof DriverProfileDetails>,
"park": "name"[]
}