UNPKG

@tmlmobilidade/types

Version:
49 lines (48 loc) 2.53 kB
import { z } from 'zod'; export declare const SamAnalysisSchema: z.ZodObject<{ apex_version: z.ZodNullable<z.ZodString>; device_id: z.ZodNullable<z.ZodString>; end_time: z.ZodNullable<z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>>; first_transaction_ase_counter_value: z.ZodNullable<z.ZodNumber>; first_transaction_id: z.ZodNullable<z.ZodString>; first_transaction_type: z.ZodNullable<z.ZodEnum<["location", "on_board_refund", "on_board_sale", "validation"]>>; last_transaction_ase_counter_value: z.ZodNullable<z.ZodNumber>; last_transaction_id: z.ZodNullable<z.ZodString>; last_transaction_type: z.ZodNullable<z.ZodEnum<["location", "on_board_refund", "on_board_sale", "validation"]>>; start_time: z.ZodNullable<z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>>; transactions_expected: z.ZodNumber; transactions_found: z.ZodNumber; transactions_missing: z.ZodNumber; vehicle_id: z.ZodNullable<z.ZodNumber>; }, "strip", z.ZodTypeAny, { apex_version: string | null; device_id: string | null; vehicle_id: number | null; end_time: import("../_common/unix-timestamp.js").UnixTimestamp | null; first_transaction_ase_counter_value: number | null; first_transaction_id: string | null; first_transaction_type: "validation" | "location" | "on_board_refund" | "on_board_sale" | null; last_transaction_ase_counter_value: number | null; last_transaction_id: string | null; last_transaction_type: "validation" | "location" | "on_board_refund" | "on_board_sale" | null; start_time: import("../_common/unix-timestamp.js").UnixTimestamp | null; transactions_expected: number; transactions_found: number; transactions_missing: number; }, { apex_version: string | null; device_id: string | null; vehicle_id: number | null; end_time: number | null; first_transaction_ase_counter_value: number | null; first_transaction_id: string | null; first_transaction_type: "validation" | "location" | "on_board_refund" | "on_board_sale" | null; last_transaction_ase_counter_value: number | null; last_transaction_id: string | null; last_transaction_type: "validation" | "location" | "on_board_refund" | "on_board_sale" | null; start_time: number | null; transactions_expected: number; transactions_found: number; transactions_missing: number; }>; export type SamAnalysis = z.infer<typeof SamAnalysisSchema>;