facturacionelectronicapy-ts-xmlgen
Version:
Genera el contenido del archivo XML del Documento electrónico exigido por la SET
28 lines (27 loc) • 1.64 kB
JavaScript
;
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.IdentityDocumentReceptor = void 0;
const idDoc_table_1 = require("../data/shared/idDoc.table");
const Table_1 = __importDefault(require("../helpers/Table"));
var IdentityDocumentReceptor;
(function (IdentityDocumentReceptor) {
IdentityDocumentReceptor[IdentityDocumentReceptor["CEDULA_PARAGUAYA"] = 1] = "CEDULA_PARAGUAYA";
IdentityDocumentReceptor[IdentityDocumentReceptor["PASAPORTE"] = 2] = "PASAPORTE";
IdentityDocumentReceptor[IdentityDocumentReceptor["CEDULA_EXTRANJERA"] = 3] = "CEDULA_EXTRANJERA";
IdentityDocumentReceptor[IdentityDocumentReceptor["CARNET_DE_RESIDENCIA"] = 4] = "CARNET_DE_RESIDENCIA";
IdentityDocumentReceptor[IdentityDocumentReceptor["INNOMINADO"] = 5] = "INNOMINADO";
IdentityDocumentReceptor[IdentityDocumentReceptor["TARJETA_DIPLOMATICA_DE_EXONERACION_FISCAL"] = 6] = "TARJETA_DIPLOMATICA_DE_EXONERACION_FISCAL";
IdentityDocumentReceptor[IdentityDocumentReceptor["OTRO"] = 9] = "OTRO";
})(IdentityDocumentReceptor || (exports.IdentityDocumentReceptor = IdentityDocumentReceptor = {}));
exports.default = new Table_1.default(['_id', 'description'], [
idDoc_table_1.idDocs.CEDULA_PARAGUAYA,
idDoc_table_1.idDocs.PASAPORTE,
idDoc_table_1.idDocs.CEDULA_EXTRANJERA,
idDoc_table_1.idDocs.CARNET_DE_RESIDENCIA,
idDoc_table_1.idDocs.INNOMINADO,
idDoc_table_1.idDocs.TARJETA_DIPLOMATICA_DE_EXONERACION_FISCAL,
idDoc_table_1.idDocs.OTRO,
]);