UNPKG

@tmlmobilidade/types

Version:
513 lines (512 loc) • 26.8 kB
import { z } from 'zod'; export declare const FileExportSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ _id: z.ZodString; created_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>; created_by: z.ZodDefault<z.ZodNullable<z.ZodString>>; updated_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>; updated_by: z.ZodOptional<z.ZodString>; file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>; file_name: z.ZodString; processing_status: z.ZodEnum<["waiting", "processing", "complete", "error", "skipped"]>; } & { properties: z.ZodObject<{ agency_ids: z.ZodArray<z.ZodString, "many">; calendars_clip_end_date: z.ZodEffects<z.ZodString, import("@tmlmobilidade/go-types-shared").OperationalDate, string>; calendars_clip_start_date: z.ZodEffects<z.ZodString, import("@tmlmobilidade/go-types-shared").OperationalDate, string>; feed_end_date: z.ZodEffects<z.ZodString, import("@tmlmobilidade/go-types-shared").OperationalDate, string>; feed_start_date: z.ZodEffects<z.ZodString, import("@tmlmobilidade/go-types-shared").OperationalDate, string>; lines_exclude: z.ZodDefault<z.ZodArray<z.ZodString, "many">>; lines_include: z.ZodDefault<z.ZodArray<z.ZodString, "many">>; lines_mode: z.ZodDefault<z.ZodEnum<["all", "exclude", "include"]>>; numeric_calendar_codes: z.ZodDefault<z.ZodBoolean>; stop_sequence_start: z.ZodDefault<z.ZodNumber>; stops_export_all: z.ZodDefault<z.ZodBoolean>; }, "strip", z.ZodTypeAny, { agency_ids: string[]; lines_mode: "exclude" | "include" | "all"; calendars_clip_end_date: string & { __brand: "OperationalDate"; }; calendars_clip_start_date: string & { __brand: "OperationalDate"; }; feed_end_date: string & { __brand: "OperationalDate"; }; feed_start_date: string & { __brand: "OperationalDate"; }; lines_exclude: string[]; lines_include: string[]; numeric_calendar_codes: boolean; stop_sequence_start: number; stops_export_all: boolean; }, { agency_ids: string[]; calendars_clip_end_date: string; calendars_clip_start_date: string; feed_end_date: string; feed_start_date: string; lines_mode?: "exclude" | "include" | "all" | undefined; lines_exclude?: string[] | undefined; lines_include?: string[] | undefined; numeric_calendar_codes?: boolean | undefined; stop_sequence_start?: number | undefined; stops_export_all?: boolean | undefined; }>; type: z.ZodLiteral<"gtfs">; }, "strip", z.ZodTypeAny, { _id: string; created_at: number & { __brand: "UnixTimestamp"; }; created_by: string | null; updated_at: number & { __brand: "UnixTimestamp"; }; type: "gtfs"; file_name: string; processing_status: "error" | "waiting" | "processing" | "complete" | "skipped"; properties: { agency_ids: string[]; lines_mode: "exclude" | "include" | "all"; calendars_clip_end_date: string & { __brand: "OperationalDate"; }; calendars_clip_start_date: string & { __brand: "OperationalDate"; }; feed_end_date: string & { __brand: "OperationalDate"; }; feed_start_date: string & { __brand: "OperationalDate"; }; lines_exclude: string[]; lines_include: string[]; numeric_calendar_codes: boolean; stop_sequence_start: number; stops_export_all: boolean; }; updated_by?: string | undefined; file_id?: string | null | undefined; }, { _id: string; created_at: number; updated_at: number; type: "gtfs"; file_name: string; processing_status: "error" | "waiting" | "processing" | "complete" | "skipped"; properties: { agency_ids: string[]; calendars_clip_end_date: string; calendars_clip_start_date: string; feed_end_date: string; feed_start_date: string; lines_mode?: "exclude" | "include" | "all" | undefined; lines_exclude?: string[] | undefined; lines_include?: string[] | undefined; numeric_calendar_codes?: boolean | undefined; stop_sequence_start?: number | undefined; stops_export_all?: boolean | undefined; }; created_by?: string | null | undefined; updated_by?: string | undefined; file_id?: string | null | undefined; }>, z.ZodObject<{ _id: z.ZodString; created_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>; created_by: z.ZodDefault<z.ZodNullable<z.ZodString>>; updated_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>; updated_by: z.ZodOptional<z.ZodString>; file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>; file_name: z.ZodString; processing_status: z.ZodEnum<["waiting", "processing", "complete", "error", "skipped"]>; } & { properties: z.ZodObject<{ agency_ids: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>; analysis_ended_at_last_stop: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEnum<["pass", "fail", "skip", "error"]>, z.ZodLiteral<"none">]>, "many">>>; analysis_expected_apex_validation_interval: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEnum<["pass", "fail", "skip", "error"]>, z.ZodLiteral<"none">]>, "many">>>; analysis_simple_three_vehicle_events: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEnum<["pass", "fail", "skip", "error"]>, z.ZodLiteral<"none">]>, "many">>>; analysis_transaction_sequentiality: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodEnum<["pass", "fail", "skip", "error"]>, z.ZodLiteral<"none">]>, "many">>>; date_end: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>; date_start: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>; delay_statuses: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodEnum<["ontime", "delayed", "early", "none"]>, "many">>>; operational_statuses: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodEnum<["ended", "missed", "running", "scheduled"]>, "many">>>; seen_statuses: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodEnum<["unseen", "seen", "gone"]>, "many">>>; line_ids: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>; stop_ids: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>; acceptance_status: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodEnum<["justification_required", "under_review", "accepted", "rejected", "none"]>, "many">>>; search: z.ZodNullable<z.ZodOptional<z.ZodString>>; }, "strip", z.ZodTypeAny, { date_end: number & { __brand: "UnixTimestamp"; }; date_start: number & { __brand: "UnixTimestamp"; }; agency_ids?: string[] | null | undefined; search?: string | null | undefined; acceptance_status?: ("none" | "justification_required" | "under_review" | "accepted" | "rejected")[] | null | undefined; analysis_ended_at_last_stop?: ("error" | "pass" | "fail" | "skip" | "none")[] | null | undefined; analysis_expected_apex_validation_interval?: ("error" | "pass" | "fail" | "skip" | "none")[] | null | undefined; analysis_simple_three_vehicle_events?: ("error" | "pass" | "fail" | "skip" | "none")[] | null | undefined; analysis_transaction_sequentiality?: ("error" | "pass" | "fail" | "skip" | "none")[] | null | undefined; delay_statuses?: ("none" | "ontime" | "delayed" | "early")[] | null | undefined; operational_statuses?: ("ended" | "missed" | "running" | "scheduled")[] | null | undefined; seen_statuses?: ("unseen" | "seen" | "gone")[] | null | undefined; line_ids?: string[] | null | undefined; stop_ids?: string[] | null | undefined; }, { date_end: number; date_start: number; agency_ids?: string[] | null | undefined; search?: string | null | undefined; acceptance_status?: ("none" | "justification_required" | "under_review" | "accepted" | "rejected")[] | null | undefined; analysis_ended_at_last_stop?: ("error" | "pass" | "fail" | "skip" | "none")[] | null | undefined; analysis_expected_apex_validation_interval?: ("error" | "pass" | "fail" | "skip" | "none")[] | null | undefined; analysis_simple_three_vehicle_events?: ("error" | "pass" | "fail" | "skip" | "none")[] | null | undefined; analysis_transaction_sequentiality?: ("error" | "pass" | "fail" | "skip" | "none")[] | null | undefined; delay_statuses?: ("none" | "ontime" | "delayed" | "early")[] | null | undefined; operational_statuses?: ("ended" | "missed" | "running" | "scheduled")[] | null | undefined; seen_statuses?: ("unseen" | "seen" | "gone")[] | null | undefined; line_ids?: string[] | null | undefined; stop_ids?: string[] | null | undefined; }>; type: z.ZodLiteral<"ride">; }, "strip", z.ZodTypeAny, { _id: string; created_at: number & { __brand: "UnixTimestamp"; }; created_by: string | null; updated_at: number & { __brand: "UnixTimestamp"; }; type: "ride"; file_name: string; processing_status: "error" | "waiting" | "processing" | "complete" | "skipped"; properties: { date_end: number & { __brand: "UnixTimestamp"; }; date_start: number & { __brand: "UnixTimestamp"; }; agency_ids?: string[] | null | undefined; search?: string | null | undefined; acceptance_status?: ("none" | "justification_required" | "under_review" | "accepted" | "rejected")[] | null | undefined; analysis_ended_at_last_stop?: ("error" | "pass" | "fail" | "skip" | "none")[] | null | undefined; analysis_expected_apex_validation_interval?: ("error" | "pass" | "fail" | "skip" | "none")[] | null | undefined; analysis_simple_three_vehicle_events?: ("error" | "pass" | "fail" | "skip" | "none")[] | null | undefined; analysis_transaction_sequentiality?: ("error" | "pass" | "fail" | "skip" | "none")[] | null | undefined; delay_statuses?: ("none" | "ontime" | "delayed" | "early")[] | null | undefined; operational_statuses?: ("ended" | "missed" | "running" | "scheduled")[] | null | undefined; seen_statuses?: ("unseen" | "seen" | "gone")[] | null | undefined; line_ids?: string[] | null | undefined; stop_ids?: string[] | null | undefined; }; updated_by?: string | undefined; file_id?: string | null | undefined; }, { _id: string; created_at: number; updated_at: number; type: "ride"; file_name: string; processing_status: "error" | "waiting" | "processing" | "complete" | "skipped"; properties: { date_end: number; date_start: number; agency_ids?: string[] | null | undefined; search?: string | null | undefined; acceptance_status?: ("none" | "justification_required" | "under_review" | "accepted" | "rejected")[] | null | undefined; analysis_ended_at_last_stop?: ("error" | "pass" | "fail" | "skip" | "none")[] | null | undefined; analysis_expected_apex_validation_interval?: ("error" | "pass" | "fail" | "skip" | "none")[] | null | undefined; analysis_simple_three_vehicle_events?: ("error" | "pass" | "fail" | "skip" | "none")[] | null | undefined; analysis_transaction_sequentiality?: ("error" | "pass" | "fail" | "skip" | "none")[] | null | undefined; delay_statuses?: ("none" | "ontime" | "delayed" | "early")[] | null | undefined; operational_statuses?: ("ended" | "missed" | "running" | "scheduled")[] | null | undefined; seen_statuses?: ("unseen" | "seen" | "gone")[] | null | undefined; line_ids?: string[] | null | undefined; stop_ids?: string[] | null | undefined; }; created_by?: string | null | undefined; updated_by?: string | undefined; file_id?: string | null | undefined; }>, z.ZodObject<{ _id: z.ZodString; created_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>; created_by: z.ZodDefault<z.ZodNullable<z.ZodString>>; updated_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>; updated_by: z.ZodOptional<z.ZodString>; file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>; file_name: z.ZodString; processing_status: z.ZodEnum<["waiting", "processing", "complete", "error", "skipped"]>; } & { properties: z.ZodObject<{ _id: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>; agency_ids: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>; apex_versions: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>; end_time: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>>>; favorites_only: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>; sam_ids: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>; search: z.ZodNullable<z.ZodOptional<z.ZodString>>; seen_first_at: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>>>; seen_last_at: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>>>; start_time: z.ZodNullable<z.ZodOptional<z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>>>; statuses: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodEnum<["waiting", "incomplete", "complete", "error"]>, "many">>>; }, "strip", z.ZodTypeAny, { _id?: number[] | null | undefined; agency_ids?: string[] | null | undefined; search?: string | null | undefined; seen_last_at?: import("@tmlmobilidade/go-types-shared").UnixTimestamp | null | undefined; end_time?: import("@tmlmobilidade/go-types-shared").UnixTimestamp | null | undefined; start_time?: import("@tmlmobilidade/go-types-shared").UnixTimestamp | null | undefined; seen_first_at?: import("@tmlmobilidade/go-types-shared").UnixTimestamp | null | undefined; apex_versions?: string[] | null | undefined; favorites_only?: boolean | null | undefined; sam_ids?: number[] | null | undefined; statuses?: ("error" | "waiting" | "complete" | "incomplete")[] | null | undefined; }, { _id?: number[] | null | undefined; agency_ids?: string[] | null | undefined; search?: string | null | undefined; seen_last_at?: number | null | undefined; end_time?: number | null | undefined; start_time?: number | null | undefined; seen_first_at?: number | null | undefined; apex_versions?: string[] | null | undefined; favorites_only?: boolean | null | undefined; sam_ids?: number[] | null | undefined; statuses?: ("error" | "waiting" | "complete" | "incomplete")[] | null | undefined; }>; type: z.ZodLiteral<"sams_analysis">; }, "strip", z.ZodTypeAny, { _id: string; created_at: number & { __brand: "UnixTimestamp"; }; created_by: string | null; updated_at: number & { __brand: "UnixTimestamp"; }; type: "sams_analysis"; file_name: string; processing_status: "error" | "waiting" | "processing" | "complete" | "skipped"; properties: { _id?: number[] | null | undefined; agency_ids?: string[] | null | undefined; search?: string | null | undefined; seen_last_at?: import("@tmlmobilidade/go-types-shared").UnixTimestamp | null | undefined; end_time?: import("@tmlmobilidade/go-types-shared").UnixTimestamp | null | undefined; start_time?: import("@tmlmobilidade/go-types-shared").UnixTimestamp | null | undefined; seen_first_at?: import("@tmlmobilidade/go-types-shared").UnixTimestamp | null | undefined; apex_versions?: string[] | null | undefined; favorites_only?: boolean | null | undefined; sam_ids?: number[] | null | undefined; statuses?: ("error" | "waiting" | "complete" | "incomplete")[] | null | undefined; }; updated_by?: string | undefined; file_id?: string | null | undefined; }, { _id: string; created_at: number; updated_at: number; type: "sams_analysis"; file_name: string; processing_status: "error" | "waiting" | "processing" | "complete" | "skipped"; properties: { _id?: number[] | null | undefined; agency_ids?: string[] | null | undefined; search?: string | null | undefined; seen_last_at?: number | null | undefined; end_time?: number | null | undefined; start_time?: number | null | undefined; seen_first_at?: number | null | undefined; apex_versions?: string[] | null | undefined; favorites_only?: boolean | null | undefined; sam_ids?: number[] | null | undefined; statuses?: ("error" | "waiting" | "complete" | "incomplete")[] | null | undefined; }; created_by?: string | null | undefined; updated_by?: string | undefined; file_id?: string | null | undefined; }>, z.ZodObject<{ _id: z.ZodString; created_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>; created_by: z.ZodDefault<z.ZodNullable<z.ZodString>>; updated_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>; updated_by: z.ZodOptional<z.ZodString>; file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>; file_name: z.ZodString; processing_status: z.ZodEnum<["waiting", "processing", "complete", "error", "skipped"]>; } & { properties: z.ZodObject<{ connections: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodEnum<["ferry", "light_rail", "subway", "train", "boat", "airport", "bike_sharing", "bike_parking", "car_parking"]>, "many">>>; equipment: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodEnum<["pip", "mupi", "mini_pip"]>, "many">>>; facilities: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodEnum<["fire_station", "health_clinic", "historic_building", "hospital", "police_station", "school", "shopping", "transit_office", "university", "beach"]>, "many">>>; flags: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{ agency_ids: z.ZodDefault<z.ZodArray<z.ZodString, "many">>; is_harmonized: z.ZodDefault<z.ZodBoolean>; short_name: z.ZodString; stop_id: z.ZodString; }, "strip", z.ZodTypeAny, { short_name: string; agency_ids: string[]; is_harmonized: boolean; stop_id: string; }, { short_name: string; stop_id: string; agency_ids?: string[] | undefined; is_harmonized?: boolean | undefined; }>, "many">>>; jurisdiction: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodEnum<["ip", "municipality", "other", "unknown"]>, "many">>>; lifecycle_statuses: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodEnum<["draft", "active", "inactive", "provisional", "seasonal", "voided"]>, "many">>>; search: z.ZodNullable<z.ZodOptional<z.ZodString>>; stop_ids: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>; }, "strip", z.ZodTypeAny, { search?: string | null | undefined; stop_ids?: number[] | null | undefined; flags?: { short_name: string; agency_ids: string[]; is_harmonized: boolean; stop_id: string; }[] | null | undefined; jurisdiction?: ("unknown" | "ip" | "municipality" | "other")[] | null | undefined; connections?: ("ferry" | "light_rail" | "subway" | "train" | "boat" | "airport" | "bike_sharing" | "bike_parking" | "car_parking")[] | null | undefined; facilities?: ("fire_station" | "health_clinic" | "historic_building" | "hospital" | "police_station" | "school" | "shopping" | "transit_office" | "university" | "beach")[] | null | undefined; equipment?: ("pip" | "mupi" | "mini_pip")[] | null | undefined; lifecycle_statuses?: ("draft" | "active" | "inactive" | "provisional" | "seasonal" | "voided")[] | null | undefined; }, { search?: string | null | undefined; stop_ids?: number[] | null | undefined; flags?: { short_name: string; stop_id: string; agency_ids?: string[] | undefined; is_harmonized?: boolean | undefined; }[] | null | undefined; jurisdiction?: ("unknown" | "ip" | "municipality" | "other")[] | null | undefined; connections?: ("ferry" | "light_rail" | "subway" | "train" | "boat" | "airport" | "bike_sharing" | "bike_parking" | "car_parking")[] | null | undefined; facilities?: ("fire_station" | "health_clinic" | "historic_building" | "hospital" | "police_station" | "school" | "shopping" | "transit_office" | "university" | "beach")[] | null | undefined; equipment?: ("pip" | "mupi" | "mini_pip")[] | null | undefined; lifecycle_statuses?: ("draft" | "active" | "inactive" | "provisional" | "seasonal" | "voided")[] | null | undefined; }>; type: z.ZodLiteral<"stop">; }, "strip", z.ZodTypeAny, { _id: string; created_at: number & { __brand: "UnixTimestamp"; }; created_by: string | null; updated_at: number & { __brand: "UnixTimestamp"; }; type: "stop"; file_name: string; processing_status: "error" | "waiting" | "processing" | "complete" | "skipped"; properties: { search?: string | null | undefined; stop_ids?: number[] | null | undefined; flags?: { short_name: string; agency_ids: string[]; is_harmonized: boolean; stop_id: string; }[] | null | undefined; jurisdiction?: ("unknown" | "ip" | "municipality" | "other")[] | null | undefined; connections?: ("ferry" | "light_rail" | "subway" | "train" | "boat" | "airport" | "bike_sharing" | "bike_parking" | "car_parking")[] | null | undefined; facilities?: ("fire_station" | "health_clinic" | "historic_building" | "hospital" | "police_station" | "school" | "shopping" | "transit_office" | "university" | "beach")[] | null | undefined; equipment?: ("pip" | "mupi" | "mini_pip")[] | null | undefined; lifecycle_statuses?: ("draft" | "active" | "inactive" | "provisional" | "seasonal" | "voided")[] | null | undefined; }; updated_by?: string | undefined; file_id?: string | null | undefined; }, { _id: string; created_at: number; updated_at: number; type: "stop"; file_name: string; processing_status: "error" | "waiting" | "processing" | "complete" | "skipped"; properties: { search?: string | null | undefined; stop_ids?: number[] | null | undefined; flags?: { short_name: string; stop_id: string; agency_ids?: string[] | undefined; is_harmonized?: boolean | undefined; }[] | null | undefined; jurisdiction?: ("unknown" | "ip" | "municipality" | "other")[] | null | undefined; connections?: ("ferry" | "light_rail" | "subway" | "train" | "boat" | "airport" | "bike_sharing" | "bike_parking" | "car_parking")[] | null | undefined; facilities?: ("fire_station" | "health_clinic" | "historic_building" | "hospital" | "police_station" | "school" | "shopping" | "transit_office" | "university" | "beach")[] | null | undefined; equipment?: ("pip" | "mupi" | "mini_pip")[] | null | undefined; lifecycle_statuses?: ("draft" | "active" | "inactive" | "provisional" | "seasonal" | "voided")[] | null | undefined; }; created_by?: string | null | undefined; updated_by?: string | undefined; file_id?: string | null | undefined; }>, z.ZodObject<{ _id: z.ZodString; created_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>; created_by: z.ZodDefault<z.ZodNullable<z.ZodString>>; updated_at: z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>; updated_by: z.ZodOptional<z.ZodString>; file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>; file_name: z.ZodString; processing_status: z.ZodEnum<["waiting", "processing", "complete", "error", "skipped"]>; } & { properties: z.ZodObject<{ agency_ids: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>; search: z.ZodNullable<z.ZodOptional<z.ZodString>>; vehicle_ids: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>; }, "strip", z.ZodTypeAny, { agency_ids?: string[] | null | undefined; search?: string | null | undefined; vehicle_ids?: string[] | null | undefined; }, { agency_ids?: string[] | null | undefined; search?: string | null | undefined; vehicle_ids?: string[] | null | undefined; }>; type: z.ZodLiteral<"vehicle">; }, "strip", z.ZodTypeAny, { _id: string; created_at: number & { __brand: "UnixTimestamp"; }; created_by: string | null; updated_at: number & { __brand: "UnixTimestamp"; }; type: "vehicle"; file_name: string; processing_status: "error" | "waiting" | "processing" | "complete" | "skipped"; properties: { agency_ids?: string[] | null | undefined; search?: string | null | undefined; vehicle_ids?: string[] | null | undefined; }; updated_by?: string | undefined; file_id?: string | null | undefined; }, { _id: string; created_at: number; updated_at: number; type: "vehicle"; file_name: string; processing_status: "error" | "waiting" | "processing" | "complete" | "skipped"; properties: { agency_ids?: string[] | null | undefined; search?: string | null | undefined; vehicle_ids?: string[] | null | undefined; }; created_by?: string | null | undefined; updated_by?: string | undefined; file_id?: string | null | undefined; }>]>; export type FileExport = z.infer<typeof FileExportSchema>;