@allgroup/yandex-taxi-fleet-api
Version:
Unofficial yandex taxi fleet api library
12 lines (10 loc) • 352 B
text/typescript
import { z } from "zod";
export const OrderRequestOptionsSchema = z.object({
date: z.object({
start_time: z.string(),
end_time: z.string(),
}).optional(),
limit: z.number().max(500).default(500).optional(),
cursor: z.string().optional(),
});
export type OrdersListRequestOptions = z.infer<typeof OrderRequestOptionsSchema>;