UNPKG

facturacionelectronicapy-ts-xmlgen

Version:

Genera el contenido del archivo XML del Documento electrónico exigido por la SET

88 lines (87 loc) 3.92 kB
import { z } from 'zod'; import { FuelType } from '../../data/fuelTypes.table'; import { VehicleOperationType } from '../../data/vehicleOperationTypes.table'; /**E8.5. Sector de automotores nuevos y usados (E770-E789) */ export declare const SectorAutomotorSchema: z.ZodEffects<z.ZodObject<{ tipo: z.ZodOptional<z.ZodNativeEnum<typeof VehicleOperationType>>; chasis: z.ZodOptional<z.ZodString>; color: z.ZodOptional<z.ZodString>; potencia: z.ZodEffects<z.ZodOptional<z.ZodNumber>, number | undefined, number | undefined>; capacidadMotor: z.ZodEffects<z.ZodOptional<z.ZodNumber>, number | undefined, number | undefined>; pesoNeto: z.ZodEffects<z.ZodOptional<z.ZodNumber>, number | undefined, number | undefined>; pesoBruto: z.ZodEffects<z.ZodOptional<z.ZodNumber>, number | undefined, number | undefined>; tipoCombustible: z.ZodOptional<z.ZodNativeEnum<typeof FuelType>>; tipoCombustibleDescripcion: z.ZodOptional<z.ZodString>; numeroMotor: z.ZodOptional<z.ZodString>; capacidadTraccion: z.ZodEffects<z.ZodOptional<z.ZodNumber>, number | undefined, number | undefined>; año: z.ZodEffects<z.ZodOptional<z.ZodNumber>, number | undefined, number | undefined>; tipoVehiculo: z.ZodOptional<z.ZodString>; capacidadPasajeros: z.ZodEffects<z.ZodOptional<z.ZodNumber>, number | undefined, number | undefined>; cilindradas: z.ZodOptional<z.ZodString>; }, "strip", z.ZodTypeAny, { tipo?: VehicleOperationType | undefined; chasis?: string | undefined; color?: string | undefined; potencia?: number | undefined; capacidadMotor?: number | undefined; pesoNeto?: number | undefined; pesoBruto?: number | undefined; tipoCombustible?: FuelType | undefined; tipoCombustibleDescripcion?: string | undefined; numeroMotor?: string | undefined; capacidadTraccion?: number | undefined; año?: number | undefined; tipoVehiculo?: string | undefined; capacidadPasajeros?: number | undefined; cilindradas?: string | undefined; }, { tipo?: VehicleOperationType | undefined; chasis?: string | undefined; color?: string | undefined; potencia?: number | undefined; capacidadMotor?: number | undefined; pesoNeto?: number | undefined; pesoBruto?: number | undefined; tipoCombustible?: FuelType | undefined; tipoCombustibleDescripcion?: string | undefined; numeroMotor?: string | undefined; capacidadTraccion?: number | undefined; año?: number | undefined; tipoVehiculo?: string | undefined; capacidadPasajeros?: number | undefined; cilindradas?: string | undefined; }>, { tipoDescripcion: string | undefined; tipo?: VehicleOperationType | undefined; chasis?: string | undefined; color?: string | undefined; potencia?: number | undefined; capacidadMotor?: number | undefined; pesoNeto?: number | undefined; pesoBruto?: number | undefined; tipoCombustible?: FuelType | undefined; tipoCombustibleDescripcion?: string | undefined; numeroMotor?: string | undefined; capacidadTraccion?: number | undefined; año?: number | undefined; tipoVehiculo?: string | undefined; capacidadPasajeros?: number | undefined; cilindradas?: string | undefined; }, { tipo?: VehicleOperationType | undefined; chasis?: string | undefined; color?: string | undefined; potencia?: number | undefined; capacidadMotor?: number | undefined; pesoNeto?: number | undefined; pesoBruto?: number | undefined; tipoCombustible?: FuelType | undefined; tipoCombustibleDescripcion?: string | undefined; numeroMotor?: string | undefined; capacidadTraccion?: number | undefined; año?: number | undefined; tipoVehiculo?: string | undefined; capacidadPasajeros?: number | undefined; cilindradas?: string | undefined; }>; export type SectorAutomotor = z.infer<typeof SectorAutomotorSchema>;