UNPKG

@tmlmobilidade/types

Version:
25 lines (24 loc) 1.5 kB
import { z } from 'zod'; export declare const GetSamsBatchQuerySchema: z.ZodObject<{ agency_ids: z.ZodDefault<z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodString, "many">>, string[] | undefined, unknown>>; latest_apex_version: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodString, "many">>, string[] | undefined, unknown>; search: z.ZodOptional<z.ZodString>; seen_first_at: z.ZodOptional<z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>>; seen_last_at: z.ZodOptional<z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>>; system_status: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodEnum<["waiting", "incomplete", "complete", "error"]>, "many">>, ("error" | "waiting" | "complete" | "incomplete")[] | undefined, unknown>; }, "strip", z.ZodTypeAny, { agency_ids: string[]; search?: string | undefined; seen_last_at?: import("@tmlmobilidade/go-types-shared").UnixTimestamp | undefined; seen_first_at?: import("@tmlmobilidade/go-types-shared").UnixTimestamp | undefined; system_status?: ("error" | "waiting" | "complete" | "incomplete")[] | undefined; latest_apex_version?: string[] | undefined; }, { agency_ids?: unknown; search?: string | undefined; seen_last_at?: number | undefined; seen_first_at?: number | undefined; system_status?: unknown; latest_apex_version?: unknown; }>; export type GetSamsBatchQuery = z.infer<typeof GetSamsBatchQuerySchema>;