@tmlmobilidade/types
Version:
49 lines (48 loc) • 2.18 kB
TypeScript
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("@tmlmobilidade/go-types-shared").UnixTimestamp, number>>;
first_transaction_ase_counter_value: z.ZodNullable<z.ZodNumber>;
first_transaction_id: z.ZodNullable<z.ZodString>;
first_transaction_type: z.ZodNullable<z.ZodString>;
last_transaction_ase_counter_value: z.ZodNullable<z.ZodNumber>;
last_transaction_id: z.ZodNullable<z.ZodString>;
last_transaction_type: z.ZodNullable<z.ZodString>;
start_time: z.ZodNullable<z.ZodEffects<z.ZodNumber, import("@tmlmobilidade/go-types-shared").UnixTimestamp, number>>;
transactions_expected: z.ZodNumber;
transactions_found: z.ZodNumber;
transactions_missing: z.ZodNumber;
vehicle_id: z.ZodNullable<z.ZodNumber>;
}, "strip", z.ZodTypeAny, {
end_time: import("@tmlmobilidade/go-types-shared").UnixTimestamp | null;
start_time: import("@tmlmobilidade/go-types-shared").UnixTimestamp | null;
apex_version: string | null;
device_id: string | null;
first_transaction_ase_counter_value: number | null;
first_transaction_id: string | null;
first_transaction_type: string | null;
last_transaction_ase_counter_value: number | null;
last_transaction_id: string | null;
last_transaction_type: string | null;
transactions_expected: number;
transactions_found: number;
transactions_missing: number;
vehicle_id: number | null;
}, {
end_time: number | null;
start_time: number | null;
apex_version: string | null;
device_id: string | null;
first_transaction_ase_counter_value: number | null;
first_transaction_id: string | null;
first_transaction_type: string | null;
last_transaction_ase_counter_value: number | null;
last_transaction_id: string | null;
last_transaction_type: string | null;
transactions_expected: number;
transactions_found: number;
transactions_missing: number;
vehicle_id: number | null;
}>;
export type SamAnalysis = z.infer<typeof SamAnalysisSchema>;