facturacionelectronicapy-ts-xmlgen
Version:
Genera el contenido del archivo XML del Documento electrónico exigido por la SET
46 lines (45 loc) • 1.58 kB
TypeScript
import { z } from 'zod';
import { VehicleIdentification } from '../../data/vehicleIdentifications.table';
/**E10.3. Campos que identifican el vehículo de traslado de mercaderías (E960-E979) */
export declare const VehiculoSchema: z.ZodEffects<z.ZodObject<{
tipo: z.ZodString;
marca: z.ZodString;
documentoNumero: z.ZodOptional<z.ZodString>;
obs: z.ZodOptional<z.ZodString>;
numeroMatricula: z.ZodOptional<z.ZodString>;
numeroVuelo: z.ZodOptional<z.ZodString>;
documentoTipo: z.ZodNativeEnum<typeof VehicleIdentification>;
}, "strip", z.ZodTypeAny, {
tipo: string;
documentoTipo: VehicleIdentification;
marca: string;
documentoNumero?: string | undefined;
obs?: string | undefined;
numeroMatricula?: string | undefined;
numeroVuelo?: string | undefined;
}, {
tipo: string;
documentoTipo: VehicleIdentification;
marca: string;
documentoNumero?: string | undefined;
obs?: string | undefined;
numeroMatricula?: string | undefined;
numeroVuelo?: string | undefined;
}>, {
tipo: string;
documentoTipo: VehicleIdentification;
marca: string;
documentoNumero?: string | undefined;
obs?: string | undefined;
numeroMatricula?: string | undefined;
numeroVuelo?: string | undefined;
}, {
tipo: string;
documentoTipo: VehicleIdentification;
marca: string;
documentoNumero?: string | undefined;
obs?: string | undefined;
numeroMatricula?: string | undefined;
numeroVuelo?: string | undefined;
}>;
export type Vehiculo = z.infer<typeof VehiculoSchema>;