@allgroup/yandex-taxi-fleet-api
Version:
Unofficial yandex taxi fleet api library
31 lines (29 loc) • 721 B
text/typescript
export interface DriverAccount {
balance: string;
currency: string;
id: string;
last_transaction_date: string;
type: string;
}
export interface DriverProfile
{
accounts: DriverAccount[];
car: {
id?: string,
number?: string
}
current_status: {
status: "offline" | "busy" | "free" | "in_order_free" | "in_order_busy";
};
driver_profile: Partial<DriverProfileDetails>;
}
export interface DriverProfileDetails {
id: string;
first_name: string;
last_name: string;
middle_name: string;
phones: string[];
work_status: "working" | "not_working" | "fired",
park_id: string,
work_rule_id: string;
}