facturacionelectronicapy-ts-xmlgen
Version:
Genera el contenido del archivo XML del Documento electrónico exigido por la SET
550 lines (549 loc) • 26.8 kB
TypeScript
import { z } from 'zod';
import { FreightResponsible } from '../../data/freightResponsibles.table';
import { TradingCondition } from '../../data/tradingConditions.table';
import { TransportModality } from '../../data/transportModalities.table';
import { TransportType } from '../../data/transportTypes.table';
export declare const TransporteSchema: z.ZodEffects<z.ZodObject<{
tipo: z.ZodOptional<z.ZodNativeEnum<typeof TransportType>>;
modalidad: z.ZodNativeEnum<typeof TransportModality>;
tipoResponsable: z.ZodNativeEnum<typeof FreightResponsible>;
condicionNegociacion: z.ZodOptional<z.ZodNativeEnum<typeof TradingCondition>>;
numeroManifiesto: z.ZodOptional<z.ZodString>;
numeroDespachoImportacion: z.ZodOptional<z.ZodString>;
inicioEstimadoTranslado: z.ZodOptional<z.ZodEffects<z.ZodDate, string, Date>>;
finEstimadoTranslado: z.ZodOptional<z.ZodEffects<z.ZodDate, string, Date>>;
paisDestino: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").Country>>;
salida: z.ZodOptional<z.ZodEffects<z.ZodObject<{
direccion: z.ZodString;
numeroCasa: z.ZodEffects<z.ZodNumber, number, number>;
complementoDireccion1: z.ZodOptional<z.ZodString>;
complementoDireccion2: z.ZodOptional<z.ZodString>;
departamento: z.ZodNativeEnum<typeof import("../../types").Department>;
distrito: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
ciudad: z.ZodEffects<z.ZodNumber, number, number>;
telefonoContacto: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
departamento: import("../../types").Department;
ciudad: number;
direccion: string;
numeroCasa: number;
distrito?: number | undefined;
complementoDireccion1?: string | undefined;
complementoDireccion2?: string | undefined;
telefonoContacto?: string | undefined;
}, {
departamento: import("../../types").Department;
ciudad: number;
direccion: string;
numeroCasa: number;
distrito?: number | undefined;
complementoDireccion1?: string | undefined;
complementoDireccion2?: string | undefined;
telefonoContacto?: string | undefined;
}>, {
departamentoDescripcion: string;
distritoDescripcion: string | undefined;
ciudadDescripcion: string;
departamento: import("../../types").Department;
ciudad: number;
direccion: string;
numeroCasa: number;
distrito?: number | undefined;
complementoDireccion1?: string | undefined;
complementoDireccion2?: string | undefined;
telefonoContacto?: string | undefined;
}, {
departamento: import("../../types").Department;
ciudad: number;
direccion: string;
numeroCasa: number;
distrito?: number | undefined;
complementoDireccion1?: string | undefined;
complementoDireccion2?: string | undefined;
telefonoContacto?: string | undefined;
}>>;
entrega: z.ZodOptional<z.ZodEffects<z.ZodObject<{
direccion: z.ZodString;
numeroCasa: z.ZodEffects<z.ZodNumber, number, number>;
complementoDireccion1: z.ZodOptional<z.ZodString>;
complementoDireccion2: z.ZodOptional<z.ZodString>;
departamento: z.ZodNativeEnum<typeof import("../../types").Department>;
distrito: z.ZodOptional<z.ZodEffects<z.ZodNumber, number, number>>;
ciudad: z.ZodEffects<z.ZodNumber, number, number>;
telefonoContacto: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
departamento: import("../../types").Department;
ciudad: number;
direccion: string;
numeroCasa: number;
distrito?: number | undefined;
complementoDireccion1?: string | undefined;
complementoDireccion2?: string | undefined;
telefonoContacto?: string | undefined;
}, {
departamento: import("../../types").Department;
ciudad: number;
direccion: string;
numeroCasa: number;
distrito?: number | undefined;
complementoDireccion1?: string | undefined;
complementoDireccion2?: string | undefined;
telefonoContacto?: string | undefined;
}>, {
departamentoDescripcion: string;
distritoDescripcion: string | undefined;
ciudadDescripcion: string;
departamento: import("../../types").Department;
ciudad: number;
direccion: string;
numeroCasa: number;
distrito?: number | undefined;
complementoDireccion1?: string | undefined;
complementoDireccion2?: string | undefined;
telefonoContacto?: string | undefined;
}, {
departamento: import("../../types").Department;
ciudad: number;
direccion: string;
numeroCasa: number;
distrito?: number | undefined;
complementoDireccion1?: string | undefined;
complementoDireccion2?: string | undefined;
telefonoContacto?: string | undefined;
}>>;
vehiculo: z.ZodOptional<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 import("../../types").VehicleIdentification>;
}, "strip", z.ZodTypeAny, {
tipo: string;
documentoTipo: import("../../types").VehicleIdentification;
marca: string;
documentoNumero?: string | undefined;
obs?: string | undefined;
numeroMatricula?: string | undefined;
numeroVuelo?: string | undefined;
}, {
tipo: string;
documentoTipo: import("../../types").VehicleIdentification;
marca: string;
documentoNumero?: string | undefined;
obs?: string | undefined;
numeroMatricula?: string | undefined;
numeroVuelo?: string | undefined;
}>, {
tipo: string;
documentoTipo: import("../../types").VehicleIdentification;
marca: string;
documentoNumero?: string | undefined;
obs?: string | undefined;
numeroMatricula?: string | undefined;
numeroVuelo?: string | undefined;
}, {
tipo: string;
documentoTipo: import("../../types").VehicleIdentification;
marca: string;
documentoNumero?: string | undefined;
obs?: string | undefined;
numeroMatricula?: string | undefined;
numeroVuelo?: string | undefined;
}>>;
transportista: z.ZodOptional<z.ZodEffects<z.ZodObject<{
contribuyente: z.ZodEffects<z.ZodBoolean, import("../../types").TaxpayerNotTaxpayer, boolean>;
nombre: z.ZodString;
ruc: z.ZodEffects<z.ZodString, string, string>;
documentoTipo: z.ZodOptional<z.ZodNativeEnum<typeof import("../../types").IdentityDocumentCarrier>>;
documentoNumero: z.ZodOptional<z.ZodString>;
pais: z.ZodNativeEnum<typeof import("../../types").Country>;
chofer: z.ZodObject<{
documentoNumero: z.ZodString;
nombre: z.ZodString;
direccion: z.ZodString;
}, "strip", z.ZodTypeAny, {
documentoNumero: string;
nombre: string;
direccion: string;
}, {
documentoNumero: string;
nombre: string;
direccion: string;
}>;
direccion: z.ZodString;
agente: z.ZodOptional<z.ZodEffects<z.ZodObject<{
nombre: z.ZodOptional<z.ZodString>;
ruc: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
direccion: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
nombre?: string | undefined;
direccion?: string | undefined;
ruc?: string | undefined;
}, {
nombre?: string | undefined;
direccion?: string | undefined;
ruc?: string | undefined;
}>, {
rucID: string;
rucDV: string;
nombre?: string | undefined;
direccion?: string | undefined;
ruc?: string | undefined;
}, {
nombre?: string | undefined;
direccion?: string | undefined;
ruc?: string | undefined;
}>>;
}, "strip", z.ZodTypeAny, {
pais: import("../../types").Country;
nombre: string;
direccion: string;
contribuyente: import("../../types").TaxpayerNotTaxpayer;
ruc: string;
chofer: {
documentoNumero: string;
nombre: string;
direccion: string;
};
documentoTipo?: import("../../types").IdentityDocumentCarrier | undefined;
documentoNumero?: string | undefined;
agente?: {
rucID: string;
rucDV: string;
nombre?: string | undefined;
direccion?: string | undefined;
ruc?: string | undefined;
} | undefined;
}, {
pais: import("../../types").Country;
nombre: string;
direccion: string;
contribuyente: boolean;
ruc: string;
chofer: {
documentoNumero: string;
nombre: string;
direccion: string;
};
documentoTipo?: import("../../types").IdentityDocumentCarrier | undefined;
documentoNumero?: string | undefined;
agente?: {
nombre?: string | undefined;
direccion?: string | undefined;
ruc?: string | undefined;
} | undefined;
}>, {
rucID: string;
rucDV: string;
documentoTipoDescripcion: string | undefined;
paisDescripcion: Required<{
description?: string | undefined;
_id?: "BTN" | "CHE" | "CYP" | "MKD" | "TWN" | "DZA" | "EGY" | "LBY" | "MAR" | "SDN" | "TUN" | "ESH" | "IOT" | "BDI" | "COM" | "DJI" | "ERI" | "ETH" | "ATF" | "KEN" | "MDG" | "MWI" | "MUS" | "MYT" | "MOZ" | "REU" | "RWA" | "SYC" | "SOM" | "SSD" | "UGA" | "TZA" | "ZMB" | "ZWE" | "AGO" | "CMR" | "CAF" | "TCD" | "COG" | "COD" | "GNQ" | "GAB" | "STP" | "BWA" | "LSO" | "NAM" | "ZAF" | "SWZ" | "BEN" | "BFA" | "CPV" | "CIV" | "GMB" | "GHA" | "GIN" | "GNB" | "LBR" | "MLI" | "MRT" | "NER" | "NGA" | "SHN" | "SEN" | "SLE" | "TGO" | "AIA" | "ATG" | "ABW" | "BHS" | "BRB" | "BES" | "VGB" | "CYM" | "CUB" | "CUW" | "DMA" | "DOM" | "GRD" | "GLP" | "HTI" | "JAM" | "MTQ" | "MSR" | "PRI" | "BLM" | "KNA" | "LCA" | "MAF" | "VCT" | "SXM" | "TTO" | "TCA" | "VIR" | "BLZ" | "CRI" | "SLV" | "GTM" | "HND" | "MEX" | "NIC" | "PAN" | "ARG" | "BOL" | "BRA" | "CHL" | "COL" | "ECU" | "FLK" | "GUF" | "GUY" | "PRY" | "PER" | "SGS" | "SUR" | "URY" | "VEN" | "BMU" | "CAN" | "GRL" | "SPM" | "USA" | "ATA" | "KAZ" | "KGZ" | "TJK" | "TKM" | "UZB" | "CHN" | "HKG" | "MAC" | "PRK" | "JPN" | "MNG" | "KOR" | "BRN" | "KHM" | "IDN" | "LAO" | "MYS" | "MMR" | "PHL" | "SGP" | "THA" | "TLS" | "VNM" | "AFG" | "BGD" | "IND" | "IRN" | "MDV" | "NPL" | "PAK" | "LKA" | "ARM" | "AZE" | "BHR" | "GEO" | "IRQ" | "ISR" | "JOR" | "KWT" | "LBN" | "OMN" | "QAT" | "SAU" | "PSE" | "SYR" | "TUR" | "ARE" | "YEM" | "BLR" | "BGR" | "CZE" | "HUN" | "POL" | "MDA" | "ROU" | "RUS" | "SVK" | "UKR" | "ALA" | "GGY" | "JEY" | "DNK" | "EST" | "FRO" | "FIN" | "ISL" | "IRL" | "IMN" | "LVA" | "LTU" | "NOR" | "SJM" | "SWE" | "GBR" | "ALB" | "AND" | "BIH" | "HRV" | "GIB" | "GRC" | "VAT" | "ITA" | "MLT" | "MNE" | "PRT" | "SMR" | "SRB" | "SVN" | "ESP" | "AUT" | "BEL" | "FRA" | "DEU" | "LIE" | "LUX" | "MCO" | "NLD" | "AUS" | "CXR" | "CCK" | "HMD" | "NZL" | "NFK" | "FJI" | "NCL" | "PNG" | "SLB" | "VUT" | "GUM" | "KIR" | "MHL" | "FSM" | "NRU" | "MNP" | "PLW" | "UMI" | "ASM" | "COK" | "PYF" | "NIU" | "PCN" | "WSM" | "TKL" | "TON" | "TUV" | "WLF" | "NN" | undefined;
}>;
pais: import("../../types").Country;
nombre: string;
direccion: string;
contribuyente: import("../../types").TaxpayerNotTaxpayer;
ruc: string;
chofer: {
documentoNumero: string;
nombre: string;
direccion: string;
};
documentoTipo?: import("../../types").IdentityDocumentCarrier | undefined;
documentoNumero?: string | undefined;
agente?: {
rucID: string;
rucDV: string;
nombre?: string | undefined;
direccion?: string | undefined;
ruc?: string | undefined;
} | undefined;
}, {
pais: import("../../types").Country;
nombre: string;
direccion: string;
contribuyente: boolean;
ruc: string;
chofer: {
documentoNumero: string;
nombre: string;
direccion: string;
};
documentoTipo?: import("../../types").IdentityDocumentCarrier | undefined;
documentoNumero?: string | undefined;
agente?: {
nombre?: string | undefined;
direccion?: string | undefined;
ruc?: string | undefined;
} | undefined;
}>>;
}, "strip", z.ZodTypeAny, {
modalidad: TransportModality;
tipoResponsable: FreightResponsible;
tipo?: TransportType | undefined;
condicionNegociacion?: TradingCondition | undefined;
numeroManifiesto?: string | undefined;
numeroDespachoImportacion?: string | undefined;
inicioEstimadoTranslado?: string | undefined;
finEstimadoTranslado?: string | undefined;
paisDestino?: import("../../types").Country | undefined;
salida?: {
departamentoDescripcion: string;
distritoDescripcion: string | undefined;
ciudadDescripcion: string;
departamento: import("../../types").Department;
ciudad: number;
direccion: string;
numeroCasa: number;
distrito?: number | undefined;
complementoDireccion1?: string | undefined;
complementoDireccion2?: string | undefined;
telefonoContacto?: string | undefined;
} | undefined;
entrega?: {
departamentoDescripcion: string;
distritoDescripcion: string | undefined;
ciudadDescripcion: string;
departamento: import("../../types").Department;
ciudad: number;
direccion: string;
numeroCasa: number;
distrito?: number | undefined;
complementoDireccion1?: string | undefined;
complementoDireccion2?: string | undefined;
telefonoContacto?: string | undefined;
} | undefined;
vehiculo?: {
tipo: string;
documentoTipo: import("../../types").VehicleIdentification;
marca: string;
documentoNumero?: string | undefined;
obs?: string | undefined;
numeroMatricula?: string | undefined;
numeroVuelo?: string | undefined;
} | undefined;
transportista?: {
rucID: string;
rucDV: string;
documentoTipoDescripcion: string | undefined;
paisDescripcion: Required<{
description?: string | undefined;
_id?: "BTN" | "CHE" | "CYP" | "MKD" | "TWN" | "DZA" | "EGY" | "LBY" | "MAR" | "SDN" | "TUN" | "ESH" | "IOT" | "BDI" | "COM" | "DJI" | "ERI" | "ETH" | "ATF" | "KEN" | "MDG" | "MWI" | "MUS" | "MYT" | "MOZ" | "REU" | "RWA" | "SYC" | "SOM" | "SSD" | "UGA" | "TZA" | "ZMB" | "ZWE" | "AGO" | "CMR" | "CAF" | "TCD" | "COG" | "COD" | "GNQ" | "GAB" | "STP" | "BWA" | "LSO" | "NAM" | "ZAF" | "SWZ" | "BEN" | "BFA" | "CPV" | "CIV" | "GMB" | "GHA" | "GIN" | "GNB" | "LBR" | "MLI" | "MRT" | "NER" | "NGA" | "SHN" | "SEN" | "SLE" | "TGO" | "AIA" | "ATG" | "ABW" | "BHS" | "BRB" | "BES" | "VGB" | "CYM" | "CUB" | "CUW" | "DMA" | "DOM" | "GRD" | "GLP" | "HTI" | "JAM" | "MTQ" | "MSR" | "PRI" | "BLM" | "KNA" | "LCA" | "MAF" | "VCT" | "SXM" | "TTO" | "TCA" | "VIR" | "BLZ" | "CRI" | "SLV" | "GTM" | "HND" | "MEX" | "NIC" | "PAN" | "ARG" | "BOL" | "BRA" | "CHL" | "COL" | "ECU" | "FLK" | "GUF" | "GUY" | "PRY" | "PER" | "SGS" | "SUR" | "URY" | "VEN" | "BMU" | "CAN" | "GRL" | "SPM" | "USA" | "ATA" | "KAZ" | "KGZ" | "TJK" | "TKM" | "UZB" | "CHN" | "HKG" | "MAC" | "PRK" | "JPN" | "MNG" | "KOR" | "BRN" | "KHM" | "IDN" | "LAO" | "MYS" | "MMR" | "PHL" | "SGP" | "THA" | "TLS" | "VNM" | "AFG" | "BGD" | "IND" | "IRN" | "MDV" | "NPL" | "PAK" | "LKA" | "ARM" | "AZE" | "BHR" | "GEO" | "IRQ" | "ISR" | "JOR" | "KWT" | "LBN" | "OMN" | "QAT" | "SAU" | "PSE" | "SYR" | "TUR" | "ARE" | "YEM" | "BLR" | "BGR" | "CZE" | "HUN" | "POL" | "MDA" | "ROU" | "RUS" | "SVK" | "UKR" | "ALA" | "GGY" | "JEY" | "DNK" | "EST" | "FRO" | "FIN" | "ISL" | "IRL" | "IMN" | "LVA" | "LTU" | "NOR" | "SJM" | "SWE" | "GBR" | "ALB" | "AND" | "BIH" | "HRV" | "GIB" | "GRC" | "VAT" | "ITA" | "MLT" | "MNE" | "PRT" | "SMR" | "SRB" | "SVN" | "ESP" | "AUT" | "BEL" | "FRA" | "DEU" | "LIE" | "LUX" | "MCO" | "NLD" | "AUS" | "CXR" | "CCK" | "HMD" | "NZL" | "NFK" | "FJI" | "NCL" | "PNG" | "SLB" | "VUT" | "GUM" | "KIR" | "MHL" | "FSM" | "NRU" | "MNP" | "PLW" | "UMI" | "ASM" | "COK" | "PYF" | "NIU" | "PCN" | "WSM" | "TKL" | "TON" | "TUV" | "WLF" | "NN" | undefined;
}>;
pais: import("../../types").Country;
nombre: string;
direccion: string;
contribuyente: import("../../types").TaxpayerNotTaxpayer;
ruc: string;
chofer: {
documentoNumero: string;
nombre: string;
direccion: string;
};
documentoTipo?: import("../../types").IdentityDocumentCarrier | undefined;
documentoNumero?: string | undefined;
agente?: {
rucID: string;
rucDV: string;
nombre?: string | undefined;
direccion?: string | undefined;
ruc?: string | undefined;
} | undefined;
} | undefined;
}, {
modalidad: TransportModality;
tipoResponsable: FreightResponsible;
tipo?: TransportType | undefined;
condicionNegociacion?: TradingCondition | undefined;
numeroManifiesto?: string | undefined;
numeroDespachoImportacion?: string | undefined;
inicioEstimadoTranslado?: Date | undefined;
finEstimadoTranslado?: Date | undefined;
paisDestino?: import("../../types").Country | undefined;
salida?: {
departamento: import("../../types").Department;
ciudad: number;
direccion: string;
numeroCasa: number;
distrito?: number | undefined;
complementoDireccion1?: string | undefined;
complementoDireccion2?: string | undefined;
telefonoContacto?: string | undefined;
} | undefined;
entrega?: {
departamento: import("../../types").Department;
ciudad: number;
direccion: string;
numeroCasa: number;
distrito?: number | undefined;
complementoDireccion1?: string | undefined;
complementoDireccion2?: string | undefined;
telefonoContacto?: string | undefined;
} | undefined;
vehiculo?: {
tipo: string;
documentoTipo: import("../../types").VehicleIdentification;
marca: string;
documentoNumero?: string | undefined;
obs?: string | undefined;
numeroMatricula?: string | undefined;
numeroVuelo?: string | undefined;
} | undefined;
transportista?: {
pais: import("../../types").Country;
nombre: string;
direccion: string;
contribuyente: boolean;
ruc: string;
chofer: {
documentoNumero: string;
nombre: string;
direccion: string;
};
documentoTipo?: import("../../types").IdentityDocumentCarrier | undefined;
documentoNumero?: string | undefined;
agente?: {
nombre?: string | undefined;
direccion?: string | undefined;
ruc?: string | undefined;
} | undefined;
} | undefined;
}>, {
tipoDescripcion: string | undefined;
modalidadDescripcion: string;
paisDestinoNombre: string | undefined;
modalidad: TransportModality;
tipoResponsable: FreightResponsible;
tipo?: TransportType | undefined;
condicionNegociacion?: TradingCondition | undefined;
numeroManifiesto?: string | undefined;
numeroDespachoImportacion?: string | undefined;
inicioEstimadoTranslado?: string | undefined;
finEstimadoTranslado?: string | undefined;
paisDestino?: import("../../types").Country | undefined;
salida?: {
departamentoDescripcion: string;
distritoDescripcion: string | undefined;
ciudadDescripcion: string;
departamento: import("../../types").Department;
ciudad: number;
direccion: string;
numeroCasa: number;
distrito?: number | undefined;
complementoDireccion1?: string | undefined;
complementoDireccion2?: string | undefined;
telefonoContacto?: string | undefined;
} | undefined;
entrega?: {
departamentoDescripcion: string;
distritoDescripcion: string | undefined;
ciudadDescripcion: string;
departamento: import("../../types").Department;
ciudad: number;
direccion: string;
numeroCasa: number;
distrito?: number | undefined;
complementoDireccion1?: string | undefined;
complementoDireccion2?: string | undefined;
telefonoContacto?: string | undefined;
} | undefined;
vehiculo?: {
tipo: string;
documentoTipo: import("../../types").VehicleIdentification;
marca: string;
documentoNumero?: string | undefined;
obs?: string | undefined;
numeroMatricula?: string | undefined;
numeroVuelo?: string | undefined;
} | undefined;
transportista?: {
rucID: string;
rucDV: string;
documentoTipoDescripcion: string | undefined;
paisDescripcion: Required<{
description?: string | undefined;
_id?: "BTN" | "CHE" | "CYP" | "MKD" | "TWN" | "DZA" | "EGY" | "LBY" | "MAR" | "SDN" | "TUN" | "ESH" | "IOT" | "BDI" | "COM" | "DJI" | "ERI" | "ETH" | "ATF" | "KEN" | "MDG" | "MWI" | "MUS" | "MYT" | "MOZ" | "REU" | "RWA" | "SYC" | "SOM" | "SSD" | "UGA" | "TZA" | "ZMB" | "ZWE" | "AGO" | "CMR" | "CAF" | "TCD" | "COG" | "COD" | "GNQ" | "GAB" | "STP" | "BWA" | "LSO" | "NAM" | "ZAF" | "SWZ" | "BEN" | "BFA" | "CPV" | "CIV" | "GMB" | "GHA" | "GIN" | "GNB" | "LBR" | "MLI" | "MRT" | "NER" | "NGA" | "SHN" | "SEN" | "SLE" | "TGO" | "AIA" | "ATG" | "ABW" | "BHS" | "BRB" | "BES" | "VGB" | "CYM" | "CUB" | "CUW" | "DMA" | "DOM" | "GRD" | "GLP" | "HTI" | "JAM" | "MTQ" | "MSR" | "PRI" | "BLM" | "KNA" | "LCA" | "MAF" | "VCT" | "SXM" | "TTO" | "TCA" | "VIR" | "BLZ" | "CRI" | "SLV" | "GTM" | "HND" | "MEX" | "NIC" | "PAN" | "ARG" | "BOL" | "BRA" | "CHL" | "COL" | "ECU" | "FLK" | "GUF" | "GUY" | "PRY" | "PER" | "SGS" | "SUR" | "URY" | "VEN" | "BMU" | "CAN" | "GRL" | "SPM" | "USA" | "ATA" | "KAZ" | "KGZ" | "TJK" | "TKM" | "UZB" | "CHN" | "HKG" | "MAC" | "PRK" | "JPN" | "MNG" | "KOR" | "BRN" | "KHM" | "IDN" | "LAO" | "MYS" | "MMR" | "PHL" | "SGP" | "THA" | "TLS" | "VNM" | "AFG" | "BGD" | "IND" | "IRN" | "MDV" | "NPL" | "PAK" | "LKA" | "ARM" | "AZE" | "BHR" | "GEO" | "IRQ" | "ISR" | "JOR" | "KWT" | "LBN" | "OMN" | "QAT" | "SAU" | "PSE" | "SYR" | "TUR" | "ARE" | "YEM" | "BLR" | "BGR" | "CZE" | "HUN" | "POL" | "MDA" | "ROU" | "RUS" | "SVK" | "UKR" | "ALA" | "GGY" | "JEY" | "DNK" | "EST" | "FRO" | "FIN" | "ISL" | "IRL" | "IMN" | "LVA" | "LTU" | "NOR" | "SJM" | "SWE" | "GBR" | "ALB" | "AND" | "BIH" | "HRV" | "GIB" | "GRC" | "VAT" | "ITA" | "MLT" | "MNE" | "PRT" | "SMR" | "SRB" | "SVN" | "ESP" | "AUT" | "BEL" | "FRA" | "DEU" | "LIE" | "LUX" | "MCO" | "NLD" | "AUS" | "CXR" | "CCK" | "HMD" | "NZL" | "NFK" | "FJI" | "NCL" | "PNG" | "SLB" | "VUT" | "GUM" | "KIR" | "MHL" | "FSM" | "NRU" | "MNP" | "PLW" | "UMI" | "ASM" | "COK" | "PYF" | "NIU" | "PCN" | "WSM" | "TKL" | "TON" | "TUV" | "WLF" | "NN" | undefined;
}>;
pais: import("../../types").Country;
nombre: string;
direccion: string;
contribuyente: import("../../types").TaxpayerNotTaxpayer;
ruc: string;
chofer: {
documentoNumero: string;
nombre: string;
direccion: string;
};
documentoTipo?: import("../../types").IdentityDocumentCarrier | undefined;
documentoNumero?: string | undefined;
agente?: {
rucID: string;
rucDV: string;
nombre?: string | undefined;
direccion?: string | undefined;
ruc?: string | undefined;
} | undefined;
} | undefined;
}, {
modalidad: TransportModality;
tipoResponsable: FreightResponsible;
tipo?: TransportType | undefined;
condicionNegociacion?: TradingCondition | undefined;
numeroManifiesto?: string | undefined;
numeroDespachoImportacion?: string | undefined;
inicioEstimadoTranslado?: Date | undefined;
finEstimadoTranslado?: Date | undefined;
paisDestino?: import("../../types").Country | undefined;
salida?: {
departamento: import("../../types").Department;
ciudad: number;
direccion: string;
numeroCasa: number;
distrito?: number | undefined;
complementoDireccion1?: string | undefined;
complementoDireccion2?: string | undefined;
telefonoContacto?: string | undefined;
} | undefined;
entrega?: {
departamento: import("../../types").Department;
ciudad: number;
direccion: string;
numeroCasa: number;
distrito?: number | undefined;
complementoDireccion1?: string | undefined;
complementoDireccion2?: string | undefined;
telefonoContacto?: string | undefined;
} | undefined;
vehiculo?: {
tipo: string;
documentoTipo: import("../../types").VehicleIdentification;
marca: string;
documentoNumero?: string | undefined;
obs?: string | undefined;
numeroMatricula?: string | undefined;
numeroVuelo?: string | undefined;
} | undefined;
transportista?: {
pais: import("../../types").Country;
nombre: string;
direccion: string;
contribuyente: boolean;
ruc: string;
chofer: {
documentoNumero: string;
nombre: string;
direccion: string;
};
documentoTipo?: import("../../types").IdentityDocumentCarrier | undefined;
documentoNumero?: string | undefined;
agente?: {
nombre?: string | undefined;
direccion?: string | undefined;
ruc?: string | undefined;
} | undefined;
} | undefined;
}>;
export type Transporte = z.infer<typeof TransporteSchema>;