@tmlmobilidade/types
Version:
421 lines (420 loc) • 26.3 kB
TypeScript
import { z } from 'zod';
export declare const FlatRideSchema: z.ZodObject<{
_id: z.ZodNullable<z.ZodString>;
agency_id: z.ZodNullable<z.ZodString>;
driver_ids: z.ZodNullable<z.ZodString>;
headsign: z.ZodNullable<z.ZodString>;
line_id: z.ZodNullable<z.ZodNumber>;
pattern_id: z.ZodNullable<z.ZodString>;
plan_id: z.ZodNullable<z.ZodString>;
route_id: z.ZodNullable<z.ZodString>;
trip_id: z.ZodNullable<z.ZodString>;
vehicle_ids: z.ZodNullable<z.ZodString>;
operational_date: z.ZodNullable<z.ZodString>;
operational_status: z.ZodNullable<z.ZodString>;
start_delay_status: z.ZodNullable<z.ZodString>;
start_time_observed: z.ZodNullable<z.ZodString>;
start_time_scheduled: z.ZodNullable<z.ZodString>;
end_delay_status: z.ZodNullable<z.ZodString>;
end_time_observed: z.ZodNullable<z.ZodString>;
end_time_scheduled: z.ZodNullable<z.ZodString>;
extension_observed: z.ZodNullable<z.ZodNumber>;
extension_scheduled: z.ZodNullable<z.ZodNumber>;
seen_first_at: z.ZodNullable<z.ZodString>;
seen_last_at: z.ZodNullable<z.ZodString>;
seen_status: z.ZodNullable<z.ZodString>;
passengers_estimated: z.ZodNullable<z.ZodNumber>;
passengers_observed: z.ZodNullable<z.ZodNumber>;
passengers_observed_on_board_sales_amount: z.ZodNullable<z.ZodNumber>;
passengers_observed_on_board_sales_qty: z.ZodNullable<z.ZodNumber>;
passengers_observed_prepaid_amount: z.ZodNullable<z.ZodNumber>;
passengers_observed_prepaid_qty: z.ZodNullable<z.ZodNumber>;
passengers_observed_subscription_qty: z.ZodNullable<z.ZodNumber>;
apex_locations_qty: z.ZodNullable<z.ZodNumber>;
apex_on_board_refunds_amount: z.ZodNullable<z.ZodNumber>;
apex_on_board_refunds_qty: z.ZodNullable<z.ZodNumber>;
apex_on_board_sales_amount: z.ZodNullable<z.ZodNumber>;
apex_on_board_sales_qty: z.ZodNullable<z.ZodNumber>;
apex_validations_qty: z.ZodNullable<z.ZodNumber>;
analysis_AT_LEAST_ONE_VEHICLE_EVENT_ON_FIRST_STOP: z.ZodNullable<z.ZodString>;
analysis_ENDED_AT_LAST_STOP: z.ZodNullable<z.ZodString>;
analysis_EXPECTED_APEX_VALIDATION_INTERVAL: z.ZodNullable<z.ZodString>;
analysis_EXPECTED_DRIVER_ID_QTY: z.ZodNullable<z.ZodString>;
analysis_EXPECTED_START_TIME: z.ZodNullable<z.ZodString>;
analysis_EXPECTED_START_TIME_value: z.ZodNullable<z.ZodNumber>;
analysis_EXPECTED_VEHICLE_EVENT_DELAY: z.ZodNullable<z.ZodString>;
analysis_EXPECTED_VEHICLE_EVENT_INTERVAL: z.ZodNullable<z.ZodString>;
analysis_EXPECTED_VEHICLE_EVENT_QTY: z.ZodNullable<z.ZodString>;
analysis_EXPECTED_VEHICLE_EVENT_QTY_expected_qty: z.ZodNullable<z.ZodNumber>;
analysis_EXPECTED_VEHICLE_EVENT_QTY_found_qty: z.ZodNullable<z.ZodNumber>;
analysis_EXPECTED_VEHICLE_ID_QTY: z.ZodNullable<z.ZodString>;
analysis_MATCHING_APEX_LOCATIONS: z.ZodNullable<z.ZodString>;
analysis_MATCHING_VEHICLE_IDS: z.ZodNullable<z.ZodString>;
analysis_SIMPLE_ONE_APEX_VALIDATION: z.ZodNullable<z.ZodString>;
analysis_SIMPLE_ONE_VEHICLE_EVENT_OR_APEX_VALIDATION: z.ZodNullable<z.ZodString>;
analysis_SIMPLE_THREE_VEHICLE_EVENTS: z.ZodNullable<z.ZodString>;
analysis_SIMPLE_THREE_VEHICLE_EVENTS_reason: z.ZodNullable<z.ZodString>;
analysis_SIMPLE_THREE_VEHICLE_EVENTS_stop_ids_first: z.ZodNullable<z.ZodString>;
analysis_SIMPLE_THREE_VEHICLE_EVENTS_stop_ids_last: z.ZodNullable<z.ZodString>;
analysis_SIMPLE_THREE_VEHICLE_EVENTS_stop_ids_middle: z.ZodNullable<z.ZodString>;
analysis_TRANSACTION_SEQUENTIALITY: z.ZodNullable<z.ZodString>;
analysis_TRANSACTION_SEQUENTIALITY_expected_qty: z.ZodNullable<z.ZodNumber>;
analysis_TRANSACTION_SEQUENTIALITY_found_qty: z.ZodNullable<z.ZodNumber>;
analysis_TRANSACTION_SEQUENTIALITY_missing_qty: z.ZodNullable<z.ZodNumber>;
acceptance_status: z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodEnum<["justification_required", "under_review", "accepted", "rejected"]>>>>;
justification_cause: z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodEnum<["ACCIDENT", "CONSTRUCTION", "DEMONSTRATION", "MEDICAL_EMERGENCY", "POLICE_ACTIVITY", "STRIKE", "TECHNICAL_ISSUE", "WEATHER", "ABUSIVE_PARKING", "DRIVER_ABSENCE", "DRIVER_ISSUE", "HIGH_PASSENGER_LOAD", "NETWORK_UPDATE", "ROAD_ISSUE", "TRAFFIC_JAM", "PUBLIC_DISORDER", "VEHICLE_ISSUE"]>>>>;
justification_source: z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodEnum<["MANUAL", "ALERT"]>>>>;
manual_trip_id: z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
pto_message: z.ZodNullable<z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>>;
}, "strip", z.ZodTypeAny, {
_id: string | null;
agency_id: string | null;
seen_last_at: string | null;
headsign: string | null;
line_id: number | null;
route_id: string | null;
driver_ids: string | null;
pattern_id: string | null;
plan_id: string | null;
trip_id: string | null;
vehicle_ids: string | null;
operational_date: string | null;
operational_status: string | null;
start_delay_status: string | null;
start_time_observed: string | null;
start_time_scheduled: string | null;
end_delay_status: string | null;
end_time_observed: string | null;
end_time_scheduled: string | null;
extension_observed: number | null;
extension_scheduled: number | null;
seen_first_at: string | null;
seen_status: string | null;
passengers_estimated: number | null;
passengers_observed: number | null;
passengers_observed_on_board_sales_amount: number | null;
passengers_observed_on_board_sales_qty: number | null;
passengers_observed_prepaid_amount: number | null;
passengers_observed_prepaid_qty: number | null;
passengers_observed_subscription_qty: number | null;
apex_locations_qty: number | null;
apex_on_board_refunds_amount: number | null;
apex_on_board_refunds_qty: number | null;
apex_on_board_sales_amount: number | null;
apex_on_board_sales_qty: number | null;
apex_validations_qty: number | null;
analysis_AT_LEAST_ONE_VEHICLE_EVENT_ON_FIRST_STOP: string | null;
analysis_ENDED_AT_LAST_STOP: string | null;
analysis_EXPECTED_APEX_VALIDATION_INTERVAL: string | null;
analysis_EXPECTED_DRIVER_ID_QTY: string | null;
analysis_EXPECTED_START_TIME: string | null;
analysis_EXPECTED_START_TIME_value: number | null;
analysis_EXPECTED_VEHICLE_EVENT_DELAY: string | null;
analysis_EXPECTED_VEHICLE_EVENT_INTERVAL: string | null;
analysis_EXPECTED_VEHICLE_EVENT_QTY: string | null;
analysis_EXPECTED_VEHICLE_EVENT_QTY_expected_qty: number | null;
analysis_EXPECTED_VEHICLE_EVENT_QTY_found_qty: number | null;
analysis_EXPECTED_VEHICLE_ID_QTY: string | null;
analysis_MATCHING_APEX_LOCATIONS: string | null;
analysis_MATCHING_VEHICLE_IDS: string | null;
analysis_SIMPLE_ONE_APEX_VALIDATION: string | null;
analysis_SIMPLE_ONE_VEHICLE_EVENT_OR_APEX_VALIDATION: string | null;
analysis_SIMPLE_THREE_VEHICLE_EVENTS: string | null;
analysis_SIMPLE_THREE_VEHICLE_EVENTS_reason: string | null;
analysis_SIMPLE_THREE_VEHICLE_EVENTS_stop_ids_first: string | null;
analysis_SIMPLE_THREE_VEHICLE_EVENTS_stop_ids_last: string | null;
analysis_SIMPLE_THREE_VEHICLE_EVENTS_stop_ids_middle: string | null;
analysis_TRANSACTION_SEQUENTIALITY: string | null;
analysis_TRANSACTION_SEQUENTIALITY_expected_qty: number | null;
analysis_TRANSACTION_SEQUENTIALITY_found_qty: number | null;
analysis_TRANSACTION_SEQUENTIALITY_missing_qty: number | null;
acceptance_status?: "justification_required" | "under_review" | "accepted" | "rejected" | null | undefined;
pto_message?: string | null | undefined;
justification_cause?: "ACCIDENT" | "CONSTRUCTION" | "DEMONSTRATION" | "MEDICAL_EMERGENCY" | "POLICE_ACTIVITY" | "STRIKE" | "TECHNICAL_ISSUE" | "WEATHER" | "ABUSIVE_PARKING" | "DRIVER_ABSENCE" | "DRIVER_ISSUE" | "HIGH_PASSENGER_LOAD" | "NETWORK_UPDATE" | "ROAD_ISSUE" | "TRAFFIC_JAM" | "PUBLIC_DISORDER" | "VEHICLE_ISSUE" | null | undefined;
justification_source?: "MANUAL" | "ALERT" | null | undefined;
manual_trip_id?: string | null | undefined;
}, {
_id: string | null;
agency_id: string | null;
seen_last_at: string | null;
headsign: string | null;
line_id: number | null;
route_id: string | null;
driver_ids: string | null;
pattern_id: string | null;
plan_id: string | null;
trip_id: string | null;
vehicle_ids: string | null;
operational_date: string | null;
operational_status: string | null;
start_delay_status: string | null;
start_time_observed: string | null;
start_time_scheduled: string | null;
end_delay_status: string | null;
end_time_observed: string | null;
end_time_scheduled: string | null;
extension_observed: number | null;
extension_scheduled: number | null;
seen_first_at: string | null;
seen_status: string | null;
passengers_estimated: number | null;
passengers_observed: number | null;
passengers_observed_on_board_sales_amount: number | null;
passengers_observed_on_board_sales_qty: number | null;
passengers_observed_prepaid_amount: number | null;
passengers_observed_prepaid_qty: number | null;
passengers_observed_subscription_qty: number | null;
apex_locations_qty: number | null;
apex_on_board_refunds_amount: number | null;
apex_on_board_refunds_qty: number | null;
apex_on_board_sales_amount: number | null;
apex_on_board_sales_qty: number | null;
apex_validations_qty: number | null;
analysis_AT_LEAST_ONE_VEHICLE_EVENT_ON_FIRST_STOP: string | null;
analysis_ENDED_AT_LAST_STOP: string | null;
analysis_EXPECTED_APEX_VALIDATION_INTERVAL: string | null;
analysis_EXPECTED_DRIVER_ID_QTY: string | null;
analysis_EXPECTED_START_TIME: string | null;
analysis_EXPECTED_START_TIME_value: number | null;
analysis_EXPECTED_VEHICLE_EVENT_DELAY: string | null;
analysis_EXPECTED_VEHICLE_EVENT_INTERVAL: string | null;
analysis_EXPECTED_VEHICLE_EVENT_QTY: string | null;
analysis_EXPECTED_VEHICLE_EVENT_QTY_expected_qty: number | null;
analysis_EXPECTED_VEHICLE_EVENT_QTY_found_qty: number | null;
analysis_EXPECTED_VEHICLE_ID_QTY: string | null;
analysis_MATCHING_APEX_LOCATIONS: string | null;
analysis_MATCHING_VEHICLE_IDS: string | null;
analysis_SIMPLE_ONE_APEX_VALIDATION: string | null;
analysis_SIMPLE_ONE_VEHICLE_EVENT_OR_APEX_VALIDATION: string | null;
analysis_SIMPLE_THREE_VEHICLE_EVENTS: string | null;
analysis_SIMPLE_THREE_VEHICLE_EVENTS_reason: string | null;
analysis_SIMPLE_THREE_VEHICLE_EVENTS_stop_ids_first: string | null;
analysis_SIMPLE_THREE_VEHICLE_EVENTS_stop_ids_last: string | null;
analysis_SIMPLE_THREE_VEHICLE_EVENTS_stop_ids_middle: string | null;
analysis_TRANSACTION_SEQUENTIALITY: string | null;
analysis_TRANSACTION_SEQUENTIALITY_expected_qty: number | null;
analysis_TRANSACTION_SEQUENTIALITY_found_qty: number | null;
analysis_TRANSACTION_SEQUENTIALITY_missing_qty: number | null;
acceptance_status?: "justification_required" | "under_review" | "accepted" | "rejected" | null | undefined;
pto_message?: string | null | undefined;
justification_cause?: "ACCIDENT" | "CONSTRUCTION" | "DEMONSTRATION" | "MEDICAL_EMERGENCY" | "POLICE_ACTIVITY" | "STRIKE" | "TECHNICAL_ISSUE" | "WEATHER" | "ABUSIVE_PARKING" | "DRIVER_ABSENCE" | "DRIVER_ISSUE" | "HIGH_PASSENGER_LOAD" | "NETWORK_UPDATE" | "ROAD_ISSUE" | "TRAFFIC_JAM" | "PUBLIC_DISORDER" | "VEHICLE_ISSUE" | null | undefined;
justification_source?: "MANUAL" | "ALERT" | null | undefined;
manual_trip_id?: string | null | undefined;
}>;
export declare const RideExportPropertiesSchema: z.ZodObject<{
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, {
type: "ride";
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;
};
}, {
type: "ride";
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;
};
}>;
export declare const RideExportSchema: 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;
}>;
export type RideExportProperties = z.infer<typeof RideExportPropertiesSchema>;
export type RideExportData = z.infer<typeof FlatRideSchema>;