UNPKG

facturacionelectronicapy-ts-xmlgen

Version:

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

522 lines (521 loc) • 32.9 kB
import { EDocDataInput } from './schemas/EDocData.schema'; import { EDocParamsInput } from './schemas/EDocParams.schema'; import EventXMLGenerator from './services/EventXMLGenerator.service'; import { XmlGenConfig } from './types/XmlGenConfig'; declare class EDocument { constructor(); generateXMLDocument(params: EDocParamsInput, data: EDocDataInput, config?: XmlGenConfig): Promise<string>; generateXMLEvent(...p: Parameters<(typeof EventXMLGenerator)['generateXMLEvent']>): Promise<string>; db(): Readonly<{ exchangeRateConditions: import("./helpers/Table").default<{ 0: ["_id", import("./types").GlobalAndPerItem]; 1: ["description", string]; }, { 0: import("./types").GlobalAndPerItem; 1: string; }, import("./types").GlobalAndPerItem, Required<{ description?: string | undefined; _id?: import("./types").GlobalAndPerItem | undefined; }>>; advancePaymentConditions: import("./helpers/Table").default<{ 0: ["_id", import("./types").GlobalAndPerItem]; 1: ["description", string]; }, { 0: import("./types").GlobalAndPerItem; 1: string; }, import("./types").GlobalAndPerItem, Required<{ description?: string | undefined; _id?: import("./types").GlobalAndPerItem | undefined; }>>; idDocsUsers: import("./helpers/Table").default<{ 0: ["_id", import("./types").IdentityDocumentUser]; 1: ["description", string]; }, { 0: import("./types").IdentityDocumentUser; 1: string; }, import("./types").IdentityDocumentUser, Required<{ description?: string | undefined; _id?: import("./types").IdentityDocumentUser | undefined; }>>; idDocsCarriers: import("./helpers/Table").default<{ 0: ["_id", import("./types").IdentityDocumentCarrier]; 1: ["description", string]; }, { 0: import("./types").IdentityDocumentCarrier; 1: string; }, import("./types").IdentityDocumentCarrier, Required<{ description?: string | undefined; _id?: import("./types").IdentityDocumentCarrier | undefined; }>>; idDocsReceptors: import("./helpers/Table").default<{ 0: ["_id", import("./types").IdentityDocumentReceptor]; 1: ["description", string]; }, { 0: import("./types").IdentityDocumentReceptor; 1: string; }, import("./types").IdentityDocumentReceptor, Required<{ description?: string | undefined; _id?: import("./types").IdentityDocumentReceptor | undefined; }>>; idDocsInnominateReceptors: import("./helpers/Table").default<{ 0: ["_id", import("./types").IdentityDocumentInnominateReceptor]; 1: ["description", string]; }, { 0: import("./types").IdentityDocumentInnominateReceptor; 1: string; }, import("./types").IdentityDocumentInnominateReceptor, Required<{ description?: string | undefined; _id?: import("./types").IdentityDocumentInnominateReceptor | undefined; }>>; identityDocsForNominationEvent: import("./helpers/Table").default<{ 0: ["_id", import("./types").IdentityDocForNominationEvent]; 1: ["description", string]; }, { 0: import("./types").IdentityDocForNominationEvent; 1: string; }, import("./types").IdentityDocForNominationEvent, Required<{ description?: string | undefined; _id?: import("./types").IdentityDocForNominationEvent | undefined; }>>; eDocumentTypes: import("./helpers/Table").default<{ 0: ["_id", import("./types").EDocumentType]; 1: ["description", string]; 2: ["state", number]; }, { 0: import("./types").EDocumentType; 1: string; 2: number; }, import("./types").EDocumentType, Required<{ description?: string | undefined; _id?: import("./types").EDocumentType | undefined; state?: number | undefined; }>>; emissionTypes: import("./helpers/Table").default<{ 0: ["_id", import("./types").EmissionType]; 1: ["description", string]; }, { 0: import("./types").EmissionType; 1: string; }, import("./types").EmissionType, Required<{ description?: string | undefined; _id?: import("./types").EmissionType | undefined; }>>; transactionTypes: import("./helpers/Table").default<{ 0: ["_id", import("./types").TransactionType]; 1: ["description", string]; 2: ["state", number]; }, { 0: import("./types").TransactionType; 1: string; 2: number; }, import("./types").TransactionType, Required<{ description?: string | undefined; _id?: import("./types").TransactionType | undefined; state?: number | undefined; }>>; taxpayerTypes: import("./helpers/Table").default<{ 0: ["_id", import("./types").TaxpayerType]; 1: ["description", string]; }, { 0: import("./types").TaxpayerType; 1: string; }, import("./types").TaxpayerType, Required<{ description?: string | undefined; _id?: import("./types").TaxpayerType | undefined; }>>; taxTypes: import("./helpers/Table").default<{ 0: ["_id", import("./types").TaxType]; 1: ["description", string]; 2: ["state", number]; }, { 0: import("./types").TaxType; 1: string; 2: number; }, import("./types").TaxType, Required<{ description?: string | undefined; _id?: import("./types").TaxType | undefined; state?: number | undefined; }>>; obligations: import("./helpers/Table").default<{ 0: ["_id", import("./types").Obligation]; 1: ["description", string]; }, { 0: import("./types").Obligation; 1: string; }, import("./types").Obligation, Required<{ description?: string | undefined; _id?: import("./types").Obligation | undefined; }>>; currencies: import("./helpers/Table").default<{ 0: ["_id", `${import("./types").Currency}`]; 1: ["description", string]; }, { 0: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZM" | "BAM" | "BBD" | "BYN" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYR" | "BZD" | "CAD" | "CDF" | "CHF" | "CHE" | "CHW" | "CLP" | "CLF" | "CNY" | "COP" | "COU" | "CRC" | "CUP" | "CUC" | "CVE" | "CYP" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EEK" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GHC" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LTL" | "LVL" | "LYD" | "MAD" | "MZN" | "MDL" | "MGF" | "MKD" | "MGA" | "MMK" | "MNT" | "MOP" | "MRO" | "MTL" | "MUR" | "XUA" | "MVR" | "MRU" | "MMW" | "MXN" | "MXV" | "MYR" | "MZM" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "ROL" | "RUB" | "RWF" | "SAR" | "RSD" | "SBD" | "SCR" | "SDD" | "SDG" | "SRD" | "SEK" | "SGD" | "SHP" | "SIT" | "SKK" | "SLL" | "SOS" | "SRG" | "SSP" | "STD" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMM" | "TND" | "TRY" | "TMT" | "TOP" | "TRL" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYU" | "UYI" | "UYW" | "UZS" | "VEB" | "VND" | "VUV" | "VES" | "WST" | "STN" | "XAF" | "XAG" | "XAU" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XBA" | "XBB" | "XBC" | "XTS" | "XXX" | "YER" | "YUM" | "ZMW" | "ZWL" | "ZAR" | "ZMK" | "ZWD"; 1: string; }, "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZM" | "BAM" | "BBD" | "BYN" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYR" | "BZD" | "CAD" | "CDF" | "CHF" | "CHE" | "CHW" | "CLP" | "CLF" | "CNY" | "COP" | "COU" | "CRC" | "CUP" | "CUC" | "CVE" | "CYP" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EEK" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GHC" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LTL" | "LVL" | "LYD" | "MAD" | "MZN" | "MDL" | "MGF" | "MKD" | "MGA" | "MMK" | "MNT" | "MOP" | "MRO" | "MTL" | "MUR" | "XUA" | "MVR" | "MRU" | "MMW" | "MXN" | "MXV" | "MYR" | "MZM" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "ROL" | "RUB" | "RWF" | "SAR" | "RSD" | "SBD" | "SCR" | "SDD" | "SDG" | "SRD" | "SEK" | "SGD" | "SHP" | "SIT" | "SKK" | "SLL" | "SOS" | "SRG" | "SSP" | "STD" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMM" | "TND" | "TRY" | "TMT" | "TOP" | "TRL" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYU" | "UYI" | "UYW" | "UZS" | "VEB" | "VND" | "VUV" | "VES" | "WST" | "STN" | "XAF" | "XAG" | "XAU" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XBA" | "XBB" | "XBC" | "XTS" | "XXX" | "YER" | "YUM" | "ZMW" | "ZWL" | "ZAR" | "ZMK" | "ZWD", Required<{ _id?: "AED" | "AFN" | "ALL" | "AMD" | "ANG" | "AOA" | "ARS" | "AUD" | "AWG" | "AZM" | "BAM" | "BBD" | "BYN" | "BDT" | "BGN" | "BHD" | "BIF" | "BMD" | "BND" | "BOB" | "BOV" | "BRL" | "BSD" | "BTN" | "BWP" | "BYR" | "BZD" | "CAD" | "CDF" | "CHF" | "CHE" | "CHW" | "CLP" | "CLF" | "CNY" | "COP" | "COU" | "CRC" | "CUP" | "CUC" | "CVE" | "CYP" | "CZK" | "DJF" | "DKK" | "DOP" | "DZD" | "EEK" | "EGP" | "ERN" | "ETB" | "EUR" | "FJD" | "FKP" | "GBP" | "GEL" | "GHS" | "GHC" | "GIP" | "GMD" | "GNF" | "GTQ" | "GYD" | "HKD" | "HNL" | "HRK" | "HTG" | "HUF" | "IDR" | "ILS" | "INR" | "IQD" | "IRR" | "ISK" | "JMD" | "JOD" | "JPY" | "KES" | "KGS" | "KHR" | "KMF" | "KPW" | "KRW" | "KWD" | "KYD" | "KZT" | "LAK" | "LBP" | "LKR" | "LRD" | "LSL" | "LTL" | "LVL" | "LYD" | "MAD" | "MZN" | "MDL" | "MGF" | "MKD" | "MGA" | "MMK" | "MNT" | "MOP" | "MRO" | "MTL" | "MUR" | "XUA" | "MVR" | "MRU" | "MMW" | "MXN" | "MXV" | "MYR" | "MZM" | "NAD" | "NGN" | "NIO" | "NOK" | "NPR" | "NZD" | "OMR" | "PAB" | "PEN" | "PGK" | "PHP" | "PKR" | "PLN" | "PYG" | "QAR" | "RON" | "ROL" | "RUB" | "RWF" | "SAR" | "RSD" | "SBD" | "SCR" | "SDD" | "SDG" | "SRD" | "SEK" | "SGD" | "SHP" | "SIT" | "SKK" | "SLL" | "SOS" | "SRG" | "SSP" | "STD" | "SVC" | "SYP" | "SZL" | "THB" | "TJS" | "TMM" | "TND" | "TRY" | "TMT" | "TOP" | "TRL" | "TTD" | "TWD" | "TZS" | "UAH" | "UGX" | "USD" | "USN" | "UYU" | "UYI" | "UYW" | "UZS" | "VEB" | "VND" | "VUV" | "VES" | "WST" | "STN" | "XAF" | "XAG" | "XAU" | "XCD" | "XDR" | "XOF" | "XPD" | "XPF" | "XPT" | "XSU" | "XBA" | "XBB" | "XBC" | "XTS" | "XXX" | "YER" | "YUM" | "ZMW" | "ZWL" | "ZAR" | "ZMK" | "ZWD" | undefined; description?: string | undefined; }>>; regimeTypes: import("./helpers/Table").default<{ 0: ["_id", import("./types").RegimeType]; 1: ["description", string]; }, { 0: import("./types").RegimeType; 1: string; }, import("./types").RegimeType, Required<{ description?: string | undefined; _id?: import("./types").RegimeType | undefined; }>>; operationTypes: import("./helpers/Table").default<{ 0: ["_id", import("./types").OperationType]; 1: ["description", string]; }, { 0: import("./types").OperationType; 1: string; }, import("./types").OperationType, Required<{ description?: string | undefined; _id?: import("./types").OperationType | undefined; }>>; presenceIndicators: import("./helpers/Table").default<{ 0: ["_id", import("./types").PresenceIndicator]; 1: ["description", string]; }, { 0: import("./types").PresenceIndicator; 1: string; }, import("./types").PresenceIndicator, Required<{ description?: string | undefined; _id?: import("./types").PresenceIndicator | undefined; }>>; taxpayerNotTaxpayer: import("./helpers/Table").default<{ 0: ["_id", import("./types").TaxpayerNotTaxpayer]; 1: ["description", string]; }, { 0: import("./types").TaxpayerNotTaxpayer; 1: string; }, import("./types").TaxpayerNotTaxpayer, Required<{ description?: string | undefined; _id?: import("./types").TaxpayerNotTaxpayer | undefined; }>>; sellerNatureSelfInvoicingCases: import("./helpers/Table").default<{ 0: ["_id", import("./types").SellerNatureSelfInvoicing]; 1: ["description", string]; }, { 0: import("./types").SellerNatureSelfInvoicing; 1: string; }, import("./types").SellerNatureSelfInvoicing, Required<{ description?: string | undefined; _id?: import("./types").SellerNatureSelfInvoicing | undefined; }>>; creditNoteReasons: import("./helpers/Table").default<{ 0: ["_id", import("./types").CreditNoteReason]; 1: ["description", string]; }, { 0: import("./types").CreditNoteReason; 1: string; }, import("./types").CreditNoteReason, Required<{ description?: string | undefined; _id?: import("./types").CreditNoteReason | undefined; }>>; remissionReasons: import("./helpers/Table").default<{ 0: ["_id", import("./types").RemissionReason]; 1: ["description", string]; }, { 0: import("./types").RemissionReason; 1: string; }, import("./types").RemissionReason, Required<{ description?: string | undefined; _id?: import("./types").RemissionReason | undefined; }>>; remissionResponsibles: import("./helpers/Table").default<{ 0: ["_id", import("./types").RemissionResponsible]; 1: ["description", string]; }, { 0: import("./types").RemissionResponsible; 1: string; }, import("./types").RemissionResponsible, Required<{ description?: string | undefined; _id?: import("./types").RemissionResponsible | undefined; }>>; operatingConditions: import("./helpers/Table").default<{ 0: ["_id", import("./types").OperatingCondition]; 1: ["description", string]; }, { 0: import("./types").OperatingCondition; 1: string; }, import("./types").OperatingCondition, Required<{ description?: string | undefined; _id?: import("./types").OperatingCondition | undefined; }>>; paymentTypes: import("./helpers/Table").default<{ 0: ["_id", import("./types").PaymentType]; 1: ["description", string]; }, { 0: import("./types").PaymentType; 1: string; }, import("./types").PaymentType, Required<{ description?: string | undefined; _id?: import("./types").PaymentType | undefined; }>>; paymentConditions: import("./helpers/Table").default<{ 0: ["_id", import("./types").PaymentCondition]; 1: ["description", string]; }, { 0: import("./types").PaymentCondition; 1: string; }, import("./types").PaymentCondition, Required<{ description?: string | undefined; _id?: import("./types").PaymentCondition | undefined; }>>; creditTypes: import("./helpers/Table").default<{ 0: ["_id", import("./types").CreditType]; 1: ["description", string]; }, { 0: import("./types").CreditType; 1: string; }, import("./types").CreditType, Required<{ description?: string | undefined; _id?: import("./types").CreditType | undefined; }>>; creditCards: import("./helpers/Table").default<{ 0: ["_id", import("./types").CreditCard]; 1: ["description", string]; }, { 0: import("./types").CreditCard; 1: string; }, import("./types").CreditCard, Required<{ description?: string | undefined; _id?: import("./types").CreditCard | undefined; }>>; creditCardProcessingMethods: import("./helpers/Table").default<{ 0: ["_id", import("./types").CreditCardProcessingMethod]; 1: ["description", string]; }, { 0: import("./types").CreditCardProcessingMethod; 1: string; }, import("./types").CreditCardProcessingMethod, Required<{ description?: string | undefined; _id?: import("./types").CreditCardProcessingMethod | undefined; }>>; measurementUnits: import("./helpers/Table").default<{ 0: ["_id", import("./types").MeasurementUnit]; 1: ["description", string]; 2: ["representation", string]; }, { 0: import("./types").MeasurementUnit; 1: string; 2: string; }, import("./types").MeasurementUnit, Required<{ description?: string | undefined; _id?: import("./types").MeasurementUnit | undefined; representation?: string | undefined; }>>; taxTreatments: import("./helpers/Table").default<{ 0: ["_id", import("./types").TaxTreatment]; 1: ["description", string]; }, { 0: import("./types").TaxTreatment; 1: string; }, import("./types").TaxTreatment, Required<{ description?: string | undefined; _id?: import("./types").TaxTreatment | undefined; }>>; iscCategories: import("./helpers/Table").default<{ 0: ["_id", import("./types").IscCategory]; 1: ["description", string]; }, { 0: import("./types").IscCategory; 1: string; }, import("./types").IscCategory, Required<{ description?: string | undefined; _id?: import("./types").IscCategory | undefined; }>>; iscTaxes: import("./helpers/Table").default<{ 0: ["_id", import("./types").IscTax]; 1: ["percentage", number]; }, { 0: import("./types").IscTax; 1: number; }, import("./types").IscTax, Required<{ _id?: import("./types").IscTax | undefined; percentage?: number | undefined; }>>; tradingConditions: import("./helpers/Table").default<{ 0: ["_id", `${import("./types").TradingCondition}`]; 1: ["description", string]; }, { 0: "CFR" | "CIF" | "CIP" | "CPT" | "DAP" | "DAT" | "DDP" | "EXW" | "FAS" | "FCA" | "FOB"; 1: string; }, "CFR" | "CIF" | "CIP" | "CPT" | "DAP" | "DAT" | "DDP" | "EXW" | "FAS" | "FCA" | "FOB", Required<{ description?: string | undefined; _id?: "CFR" | "CIF" | "CIP" | "CPT" | "DAP" | "DAT" | "DDP" | "EXW" | "FAS" | "FCA" | "FOB" | undefined; }>>; merchandiseRelevances: import("./helpers/Table").default<{ 0: ["_id", import("./types").MerchandiseRelevance]; 1: ["description", string]; }, { 0: import("./types").MerchandiseRelevance; 1: string; }, import("./types").MerchandiseRelevance, Required<{ description?: string | undefined; _id?: import("./types").MerchandiseRelevance | undefined; }>>; vehicleOperationTypes: import("./helpers/Table").default<{ 0: ["_id", import("./types").VehicleOperationType]; 1: ["description", string]; }, { 0: import("./types").VehicleOperationType; 1: string; }, import("./types").VehicleOperationType, Required<{ description?: string | undefined; _id?: import("./types").VehicleOperationType | undefined; }>>; vehicleIdentifications: import("./helpers/Table").default<{ 0: ["_id", import("./types").VehicleIdentification]; 1: ["description", string]; }, { 0: import("./types").VehicleIdentification; 1: string; }, import("./types").VehicleIdentification, Required<{ description?: string | undefined; _id?: import("./types").VehicleIdentification | undefined; }>>; fuelTypes: import("./helpers/Table").default<{ 0: ["_id", import("./types").FuelType]; 1: ["description", string]; }, { 0: import("./types").FuelType; 1: string; }, import("./types").FuelType, Required<{ description?: string | undefined; _id?: import("./types").FuelType | undefined; }>>; transportTypes: import("./helpers/Table").default<{ 0: ["_id", import("./types").TransportType]; 1: ["description", string]; }, { 0: import("./types").TransportType; 1: string; }, import("./types").TransportType, Required<{ description?: string | undefined; _id?: import("./types").TransportType | undefined; }>>; transportModalities: import("./helpers/Table").default<{ 0: ["_id", import("./types").TransportModality]; 1: ["description", string]; }, { 0: import("./types").TransportModality; 1: string; }, import("./types").TransportModality, Required<{ description?: string | undefined; _id?: import("./types").TransportModality | undefined; }>>; freightResponsibles: import("./helpers/Table").default<{ 0: ["_id", import("./types").FreightResponsible]; 1: ["description", string]; }, { 0: import("./types").FreightResponsible; 1: string; }, import("./types").FreightResponsible, Required<{ description?: string | undefined; _id?: import("./types").FreightResponsible | undefined; }>>; associatedDocumentTypes: import("./helpers/Table").default<{ 0: ["_id", import("./types").AssociatedDocumentType]; 1: ["description", string]; }, { 0: import("./types").AssociatedDocumentType; 1: string; }, import("./types").AssociatedDocumentType, Required<{ description?: string | undefined; _id?: import("./types").AssociatedDocumentType | undefined; }>>; printedDocumentTypes: import("./helpers/Table").default<{ 0: ["_id", import("./types").PrintedDocumentType]; 1: ["description", string]; }, { 0: import("./types").PrintedDocumentType; 1: string; }, import("./types").PrintedDocumentType, Required<{ description?: string | undefined; _id?: import("./types").PrintedDocumentType | undefined; }>>; constancyTypes: import("./helpers/Table").default<{ 0: ["_id", import("./types").ConstancyType]; 1: ["description", string]; }, { 0: import("./types").ConstancyType; 1: string; }, import("./types").ConstancyType, Required<{ description?: string | undefined; _id?: import("./types").ConstancyType | undefined; }>>; cargoCharacteristics: import("./helpers/Table").default<{ 0: ["_id", import("./types").CargoCharacteristic]; 1: ["description", string]; }, { 0: import("./types").CargoCharacteristic; 1: string; }, import("./types").CargoCharacteristic, Required<{ description?: string | undefined; _id?: import("./types").CargoCharacteristic | undefined; }>>; complianceEventTypes: import("./helpers/Table").default<{ 0: ["_id", import("./types").ComplianceEventType]; 1: ["description", string]; }, { 0: import("./types").ComplianceEventType; 1: string; }, import("./types").ComplianceEventType, Required<{ description?: string | undefined; _id?: import("./types").ComplianceEventType | undefined; }>>; countries: import("./helpers/Table").default<{ 0: ["_id", `${import("./types").Country}`]; 1: ["description", string]; }, { 0: "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"; 1: string; }, "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", 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; }>>; departments: import("./helpers/Table").default<{ 0: ["_id", import("./types").Department]; 1: ["description", string]; }, { 0: import("./types").Department; 1: string; }, import("./types").Department, Required<{ description?: string | undefined; _id?: import("./types").Department | undefined; }>>; districts: import("./helpers/Table").default<{ 0: ["_id", number]; 1: ["description", string]; 2: ["department", number]; }, { 0: number; 1: string; 2: number; }, number, Required<{ description?: string | undefined; _id?: number | undefined; department?: number | undefined; }>>; cities: import("./helpers/Table").default<{ 0: ["_id", number]; 1: ["description", string]; 2: ["distrito", number]; }, { 0: number; 1: string; 2: number; }, number, Required<{ description?: string | undefined; _id?: number | undefined; distrito?: number | undefined; }>>; }>; } declare const _default: EDocument; export default _default;