@sigmatech/pergamo 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/entities/app-config.entity.d.ts +7 -0
- package/dist/entities/app-config.entity.d.ts.map +1 -0
- package/dist/entities/app-config.entity.js +32 -0
- package/dist/entities/app-config.entity.js.map +1 -0
- package/dist/entities/audit-log.entity.d.ts +10 -0
- package/dist/entities/audit-log.entity.d.ts.map +1 -0
- package/dist/entities/audit-log.entity.js +50 -0
- package/dist/entities/audit-log.entity.js.map +1 -0
- package/dist/entities/base/_base.d.ts +25 -0
- package/dist/entities/base/_base.d.ts.map +1 -0
- package/dist/entities/base/_base.js +68 -0
- package/dist/entities/base/_base.js.map +1 -0
- package/dist/entities/base/_global-base.d.ts +31 -0
- package/dist/entities/base/_global-base.d.ts.map +1 -0
- package/dist/entities/base/_global-base.js +68 -0
- package/dist/entities/base/_global-base.js.map +1 -0
- package/dist/entities/base/index.d.ts +9 -0
- package/dist/entities/base/index.d.ts.map +1 -0
- package/dist/entities/base/index.js +14 -0
- package/dist/entities/base/index.js.map +1 -0
- package/dist/entities/case/case-asset.entity.d.ts +56 -0
- package/dist/entities/case/case-asset.entity.d.ts.map +1 -0
- package/dist/entities/case/case-asset.entity.js +175 -0
- package/dist/entities/case/case-asset.entity.js.map +1 -0
- package/dist/entities/case/case-role.entity.d.ts +55 -0
- package/dist/entities/case/case-role.entity.d.ts.map +1 -0
- package/dist/entities/case/case-role.entity.js +245 -0
- package/dist/entities/case/case-role.entity.js.map +1 -0
- package/dist/entities/case/case-search.entity.d.ts +49 -0
- package/dist/entities/case/case-search.entity.d.ts.map +1 -0
- package/dist/entities/case/case-search.entity.js +188 -0
- package/dist/entities/case/case-search.entity.js.map +1 -0
- package/dist/entities/case/case.entity.d.ts +53 -0
- package/dist/entities/case/case.entity.d.ts.map +1 -0
- package/dist/entities/case/case.entity.js +176 -0
- package/dist/entities/case/case.entity.js.map +1 -0
- package/dist/entities/comprobacion/dbrovp_2018.entity.d.ts +22 -0
- package/dist/entities/comprobacion/dbrovp_2018.entity.d.ts.map +1 -0
- package/dist/entities/comprobacion/dbrovp_2018.entity.js +60 -0
- package/dist/entities/comprobacion/dbrovp_2018.entity.js.map +1 -0
- package/dist/entities/comprobacion/index.d.ts +4 -0
- package/dist/entities/comprobacion/index.d.ts.map +1 -0
- package/dist/entities/comprobacion/index.js +20 -0
- package/dist/entities/comprobacion/index.js.map +1 -0
- package/dist/entities/comprobacion/maisanta.entity.d.ts +14 -0
- package/dist/entities/comprobacion/maisanta.entity.d.ts.map +1 -0
- package/dist/entities/comprobacion/maisanta.entity.js +59 -0
- package/dist/entities/comprobacion/maisanta.entity.js.map +1 -0
- package/dist/entities/comprobacion/revocatorio2016.entity.d.ts +8 -0
- package/dist/entities/comprobacion/revocatorio2016.entity.d.ts.map +1 -0
- package/dist/entities/comprobacion/revocatorio2016.entity.js +35 -0
- package/dist/entities/comprobacion/revocatorio2016.entity.js.map +1 -0
- package/dist/entities/contribuyente.entity.d.ts +67 -0
- package/dist/entities/contribuyente.entity.d.ts.map +1 -0
- package/dist/entities/contribuyente.entity.js +95 -0
- package/dist/entities/contribuyente.entity.js.map +1 -0
- package/dist/entities/cpnb/cpnb_general.entity.d.ts +28 -0
- package/dist/entities/cpnb/cpnb_general.entity.d.ts.map +1 -0
- package/dist/entities/cpnb/cpnb_general.entity.js +121 -0
- package/dist/entities/cpnb/cpnb_general.entity.js.map +1 -0
- package/dist/entities/cpnb/sipolnab.entity.d.ts +14 -0
- package/dist/entities/cpnb/sipolnab.entity.d.ts.map +1 -0
- package/dist/entities/cpnb/sipolnab.entity.js +66 -0
- package/dist/entities/cpnb/sipolnab.entity.js.map +1 -0
- package/dist/entities/criminal/cicpc-solicitados.entity.d.ts +10 -0
- package/dist/entities/criminal/cicpc-solicitados.entity.d.ts.map +1 -0
- package/dist/entities/criminal/cicpc-solicitados.entity.js +43 -0
- package/dist/entities/criminal/cicpc-solicitados.entity.js.map +1 -0
- package/dist/entities/data-telecom/person-relation-phone.entity.d.ts +10 -0
- package/dist/entities/data-telecom/person-relation-phone.entity.d.ts.map +1 -0
- package/dist/entities/data-telecom/person-relation-phone.entity.js +60 -0
- package/dist/entities/data-telecom/person-relation-phone.entity.js.map +1 -0
- package/dist/entities/data-telecom/person-suscriptor-phone.entity.d.ts +19 -0
- package/dist/entities/data-telecom/person-suscriptor-phone.entity.d.ts.map +1 -0
- package/dist/entities/data-telecom/person-suscriptor-phone.entity.js +116 -0
- package/dist/entities/data-telecom/person-suscriptor-phone.entity.js.map +1 -0
- package/dist/entities/data-telecom/phone.entity.d.ts +19 -0
- package/dist/entities/data-telecom/phone.entity.d.ts.map +1 -0
- package/dist/entities/data-telecom/phone.entity.js +67 -0
- package/dist/entities/data-telecom/phone.entity.js.map +1 -0
- package/dist/entities/document/document-entity-link.entity.d.ts +40 -0
- package/dist/entities/document/document-entity-link.entity.d.ts.map +1 -0
- package/dist/entities/document/document-entity-link.entity.js +72 -0
- package/dist/entities/document/document-entity-link.entity.js.map +1 -0
- package/dist/entities/document/document.entity.d.ts +70 -0
- package/dist/entities/document/document.entity.d.ts.map +1 -0
- package/dist/entities/document/document.entity.js +92 -0
- package/dist/entities/document/document.entity.js.map +1 -0
- package/dist/entities/inac/aeronave.entity.d.ts +106 -0
- package/dist/entities/inac/aeronave.entity.d.ts.map +1 -0
- package/dist/entities/inac/aeronave.entity.js +130 -0
- package/dist/entities/inac/aeronave.entity.js.map +1 -0
- package/dist/entities/inac/detentor.entity.d.ts +30 -0
- package/dist/entities/inac/detentor.entity.d.ts.map +1 -0
- package/dist/entities/inac/detentor.entity.js +61 -0
- package/dist/entities/inac/detentor.entity.js.map +1 -0
- package/dist/entities/index.d.ts +46 -0
- package/dist/entities/index.d.ts.map +1 -0
- package/dist/entities/index.js +81 -0
- package/dist/entities/index.js.map +1 -0
- package/dist/entities/ipsfa/ipsfa.entity.d.ts +53 -0
- package/dist/entities/ipsfa/ipsfa.entity.d.ts.map +1 -0
- package/dist/entities/ipsfa/ipsfa.entity.js +178 -0
- package/dist/entities/ipsfa/ipsfa.entity.js.map +1 -0
- package/dist/entities/ivss/ivss-affiliation.entity.d.ts +14 -0
- package/dist/entities/ivss/ivss-affiliation.entity.d.ts.map +1 -0
- package/dist/entities/ivss/ivss-affiliation.entity.js +61 -0
- package/dist/entities/ivss/ivss-affiliation.entity.js.map +1 -0
- package/dist/entities/ivss/ivss-annual-history.entity.d.ts +12 -0
- package/dist/entities/ivss/ivss-annual-history.entity.d.ts.map +1 -0
- package/dist/entities/ivss/ivss-annual-history.entity.js +52 -0
- package/dist/entities/ivss/ivss-annual-history.entity.js.map +1 -0
- package/dist/entities/ivss/ivss-insured.entity.d.ts +40 -0
- package/dist/entities/ivss/ivss-insured.entity.d.ts.map +1 -0
- package/dist/entities/ivss/ivss-insured.entity.js +115 -0
- package/dist/entities/ivss/ivss-insured.entity.js.map +1 -0
- package/dist/entities/ivss/person-ivss.entity.d.ts +11 -0
- package/dist/entities/ivss/person-ivss.entity.d.ts.map +1 -0
- package/dist/entities/ivss/person-ivss.entity.js +47 -0
- package/dist/entities/ivss/person-ivss.entity.js.map +1 -0
- package/dist/entities/notifications/system-notification.entity.d.ts +30 -0
- package/dist/entities/notifications/system-notification.entity.d.ts.map +1 -0
- package/dist/entities/notifications/system-notification.entity.js +105 -0
- package/dist/entities/notifications/system-notification.entity.js.map +1 -0
- package/dist/entities/notifications/user-notification-read.entity.d.ts +12 -0
- package/dist/entities/notifications/user-notification-read.entity.d.ts.map +1 -0
- package/dist/entities/notifications/user-notification-read.entity.js +56 -0
- package/dist/entities/notifications/user-notification-read.entity.js.map +1 -0
- package/dist/entities/person/person-criminal-data.entity.d.ts +9 -0
- package/dist/entities/person/person-criminal-data.entity.d.ts.map +1 -0
- package/dist/entities/person/person-criminal-data.entity.js +42 -0
- package/dist/entities/person/person-criminal-data.entity.js.map +1 -0
- package/dist/entities/person/person-data-telecom.entity.d.ts +11 -0
- package/dist/entities/person/person-data-telecom.entity.d.ts.map +1 -0
- package/dist/entities/person/person-data-telecom.entity.js +52 -0
- package/dist/entities/person/person-data-telecom.entity.js.map +1 -0
- package/dist/entities/person/person-fiscal-data.entity.d.ts +35 -0
- package/dist/entities/person/person-fiscal-data.entity.d.ts.map +1 -0
- package/dist/entities/person/person-fiscal-data.entity.js +138 -0
- package/dist/entities/person/person-fiscal-data.entity.js.map +1 -0
- package/dist/entities/person/person-identification.entity.d.ts +24 -0
- package/dist/entities/person/person-identification.entity.d.ts.map +1 -0
- package/dist/entities/person/person-identification.entity.js +102 -0
- package/dist/entities/person/person-identification.entity.js.map +1 -0
- package/dist/entities/person/person-iio.entity.d.ts +12 -0
- package/dist/entities/person/person-iio.entity.d.ts.map +1 -0
- package/dist/entities/person/person-iio.entity.js +56 -0
- package/dist/entities/person/person-iio.entity.js.map +1 -0
- package/dist/entities/person/person-migration.entity.d.ts +22 -0
- package/dist/entities/person/person-migration.entity.d.ts.map +1 -0
- package/dist/entities/person/person-migration.entity.js +93 -0
- package/dist/entities/person/person-migration.entity.js.map +1 -0
- package/dist/entities/person/person-police-data.entity.d.ts +9 -0
- package/dist/entities/person/person-police-data.entity.d.ts.map +1 -0
- package/dist/entities/person/person-police-data.entity.js +48 -0
- package/dist/entities/person/person-police-data.entity.js.map +1 -0
- package/dist/entities/person/person-political-data.entity.d.ts +12 -0
- package/dist/entities/person/person-political-data.entity.d.ts.map +1 -0
- package/dist/entities/person/person-political-data.entity.js +54 -0
- package/dist/entities/person/person-political-data.entity.js.map +1 -0
- package/dist/entities/person/person-prohibition.entity.d.ts +41 -0
- package/dist/entities/person/person-prohibition.entity.d.ts.map +1 -0
- package/dist/entities/person/person-prohibition.entity.js +176 -0
- package/dist/entities/person/person-prohibition.entity.js.map +1 -0
- package/dist/entities/person/person-repatriado.entity.d.ts +15 -0
- package/dist/entities/person/person-repatriado.entity.d.ts.map +1 -0
- package/dist/entities/person/person-repatriado.entity.js +67 -0
- package/dist/entities/person/person-repatriado.entity.js.map +1 -0
- package/dist/entities/person/person.entity.d.ts +64 -0
- package/dist/entities/person/person.entity.d.ts.map +1 -0
- package/dist/entities/person/person.entity.js +303 -0
- package/dist/entities/person/person.entity.js.map +1 -0
- package/dist/entities/person/photo-person.entity.d.ts +10 -0
- package/dist/entities/person/photo-person.entity.d.ts.map +1 -0
- package/dist/entities/person/photo-person.entity.js +41 -0
- package/dist/entities/person/photo-person.entity.js.map +1 -0
- package/dist/entities/person/photo.entity.d.ts +11 -0
- package/dist/entities/person/photo.entity.d.ts.map +1 -0
- package/dist/entities/person/photo.entity.js +46 -0
- package/dist/entities/person/photo.entity.js.map +1 -0
- package/dist/entities/political/person-political-party.entity.d.ts +13 -0
- package/dist/entities/political/person-political-party.entity.d.ts.map +1 -0
- package/dist/entities/political/person-political-party.entity.js +55 -0
- package/dist/entities/political/person-political-party.entity.js.map +1 -0
- package/dist/entities/political/political-party.entity.d.ts +14 -0
- package/dist/entities/political/political-party.entity.d.ts.map +1 -0
- package/dist/entities/political/political-party.entity.js +57 -0
- package/dist/entities/political/political-party.entity.js.map +1 -0
- package/dist/entities/repatriados/vuelta-a-la-patria.entity.d.ts +13 -0
- package/dist/entities/repatriados/vuelta-a-la-patria.entity.d.ts.map +1 -0
- package/dist/entities/repatriados/vuelta-a-la-patria.entity.js +54 -0
- package/dist/entities/repatriados/vuelta-a-la-patria.entity.js.map +1 -0
- package/dist/entities/seniat.entity.d.ts +67 -0
- package/dist/entities/seniat.entity.d.ts.map +1 -0
- package/dist/entities/seniat.entity.js +93 -0
- package/dist/entities/seniat.entity.js.map +1 -0
- package/dist/entities/telefonia/bts.entity.d.ts +20 -0
- package/dist/entities/telefonia/bts.entity.d.ts.map +1 -0
- package/dist/entities/telefonia/bts.entity.js +68 -0
- package/dist/entities/telefonia/bts.entity.js.map +1 -0
- package/dist/entities/telefonia/historial-ubicacion.entity.d.ts +39 -0
- package/dist/entities/telefonia/historial-ubicacion.entity.d.ts.map +1 -0
- package/dist/entities/telefonia/historial-ubicacion.entity.js +61 -0
- package/dist/entities/telefonia/historial-ubicacion.entity.js.map +1 -0
- package/dist/entities/telefonia/index.d.ts +5 -0
- package/dist/entities/telefonia/index.d.ts.map +1 -0
- package/dist/entities/telefonia/index.js +21 -0
- package/dist/entities/telefonia/index.js.map +1 -0
- package/dist/entities/telefonia/m_digitel_2024.entity.d.ts +14 -0
- package/dist/entities/telefonia/m_digitel_2024.entity.d.ts.map +1 -0
- package/dist/entities/telefonia/m_digitel_2024.entity.js +64 -0
- package/dist/entities/telefonia/m_digitel_2024.entity.js.map +1 -0
- package/dist/entities/telefonia/m_digitel_2025.entity.d.ts +16 -0
- package/dist/entities/telefonia/m_digitel_2025.entity.d.ts.map +1 -0
- package/dist/entities/telefonia/m_digitel_2025.entity.js +74 -0
- package/dist/entities/telefonia/m_digitel_2025.entity.js.map +1 -0
- package/dist/entities/telefonia/m_movilnet_api_latest.entity.d.ts +121 -0
- package/dist/entities/telefonia/m_movilnet_api_latest.entity.d.ts.map +1 -0
- package/dist/entities/telefonia/m_movilnet_api_latest.entity.js +92 -0
- package/dist/entities/telefonia/m_movilnet_api_latest.entity.js.map +1 -0
- package/dist/entities/telefonia/telefonia.entity.d.ts +58 -0
- package/dist/entities/telefonia/telefonia.entity.d.ts.map +1 -0
- package/dist/entities/telefonia/telefonia.entity.js +77 -0
- package/dist/entities/telefonia/telefonia.entity.js.map +1 -0
- package/dist/entities/user-profile/index.d.ts +4 -0
- package/dist/entities/user-profile/index.d.ts.map +1 -0
- package/dist/entities/user-profile/index.js +10 -0
- package/dist/entities/user-profile/index.js.map +1 -0
- package/dist/entities/user-profile/user-profile-visit.entity.d.ts +16 -0
- package/dist/entities/user-profile/user-profile-visit.entity.d.ts.map +1 -0
- package/dist/entities/user-profile/user-profile-visit.entity.js +75 -0
- package/dist/entities/user-profile/user-profile-visit.entity.js.map +1 -0
- package/dist/entities/user-profile/user-search-log.entity.d.ts +15 -0
- package/dist/entities/user-profile/user-search-log.entity.d.ts.map +1 -0
- package/dist/entities/user-profile/user-search-log.entity.js +71 -0
- package/dist/entities/user-profile/user-search-log.entity.js.map +1 -0
- package/dist/entities/user-profile/user-session-log.entity.d.ts +19 -0
- package/dist/entities/user-profile/user-session-log.entity.d.ts.map +1 -0
- package/dist/entities/user-profile/user-session-log.entity.js +87 -0
- package/dist/entities/user-profile/user-session-log.entity.js.map +1 -0
- package/dist/entities/user.entity.d.ts +21 -0
- package/dist/entities/user.entity.d.ts.map +1 -0
- package/dist/entities/user.entity.js +94 -0
- package/dist/entities/user.entity.js.map +1 -0
- package/dist/entities/vehicle/vehicle.entity.d.ts +38 -0
- package/dist/entities/vehicle/vehicle.entity.d.ts.map +1 -0
- package/dist/entities/vehicle/vehicle.entity.js +78 -0
- package/dist/entities/vehicle/vehicle.entity.js.map +1 -0
- package/dist/enums/index.d.ts +2 -0
- package/dist/enums/index.d.ts.map +1 -0
- package/dist/enums/index.js +18 -0
- package/dist/enums/index.js.map +1 -0
- package/dist/enums/photo.enum.d.ts +6 -0
- package/dist/enums/photo.enum.d.ts.map +1 -0
- package/dist/enums/photo.enum.js +10 -0
- package/dist/enums/photo.enum.js.map +1 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +32 -0
- package/dist/index.js.map +1 -0
- package/package.json +43 -0
|
@@ -0,0 +1,303 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.Person = exports.PersonType = void 0;
|
|
13
|
+
const _global_base_1 = require("../base/_global-base");
|
|
14
|
+
const typeorm_1 = require("typeorm");
|
|
15
|
+
const person_identification_entity_1 = require("./person-identification.entity");
|
|
16
|
+
const person_migration_entity_1 = require("./person-migration.entity");
|
|
17
|
+
const ipsfa_entity_1 = require("../ipsfa/ipsfa.entity");
|
|
18
|
+
const detentor_entity_1 = require("../inac/detentor.entity");
|
|
19
|
+
const person_fiscal_data_entity_1 = require("./person-fiscal-data.entity");
|
|
20
|
+
const person_iio_entity_1 = require("./person-iio.entity");
|
|
21
|
+
const person_political_data_entity_1 = require("./person-political-data.entity");
|
|
22
|
+
const photo_person_entity_1 = require("./photo-person.entity");
|
|
23
|
+
const person_criminal_data_entity_1 = require("./person-criminal-data.entity");
|
|
24
|
+
const person_repatriado_entity_1 = require("./person-repatriado.entity");
|
|
25
|
+
const person_police_data_entity_1 = require("./person-police-data.entity");
|
|
26
|
+
const person_ivss_entity_1 = require("../ivss/person-ivss.entity");
|
|
27
|
+
const person_prohibition_entity_1 = require("./person-prohibition.entity");
|
|
28
|
+
const person_data_telecom_entity_1 = require("./person-data-telecom.entity");
|
|
29
|
+
var PersonType;
|
|
30
|
+
(function (PersonType) {
|
|
31
|
+
PersonType["NATURAL"] = "NATURAL";
|
|
32
|
+
PersonType["JURIDICA"] = "JURIDICA";
|
|
33
|
+
})(PersonType || (exports.PersonType = PersonType = {}));
|
|
34
|
+
let Person = class Person extends _global_base_1.GlobalBase {
|
|
35
|
+
};
|
|
36
|
+
exports.Person = Person;
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, typeorm_1.Column)({ enum: PersonType, default: PersonType.NATURAL }),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], Person.prototype, "type", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 3, nullable: true, name: 'cedula_letter' }),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], Person.prototype, "cedulaLetter", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 15, nullable: true }),
|
|
47
|
+
__metadata("design:type", String)
|
|
48
|
+
], Person.prototype, "cedula", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 3, nullable: true, name: 'rif_letter' }),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], Person.prototype, "rifLetter", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 15, nullable: true }),
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], Person.prototype, "rif", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, typeorm_1.Column)({ length: 75, nullable: true }),
|
|
59
|
+
__metadata("design:type", String)
|
|
60
|
+
], Person.prototype, "primer_nombre", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, typeorm_1.Column)({ length: 75, nullable: true }),
|
|
63
|
+
__metadata("design:type", String)
|
|
64
|
+
], Person.prototype, "segundo_nombre", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, typeorm_1.Column)({ length: 75, nullable: true }),
|
|
67
|
+
__metadata("design:type", String)
|
|
68
|
+
], Person.prototype, "primer_apellido", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, typeorm_1.Column)({ length: 75, nullable: true }),
|
|
71
|
+
__metadata("design:type", String)
|
|
72
|
+
], Person.prototype, "segundo_apellido", void 0);
|
|
73
|
+
__decorate([
|
|
74
|
+
(0, typeorm_1.Column)({ length: 150, nullable: true }),
|
|
75
|
+
__metadata("design:type", String)
|
|
76
|
+
], Person.prototype, "nombres", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, typeorm_1.Column)({ length: 150, nullable: true }),
|
|
79
|
+
__metadata("design:type", String)
|
|
80
|
+
], Person.prototype, "apellidos", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, typeorm_1.Column)({ length: 300, nullable: true }),
|
|
83
|
+
__metadata("design:type", String)
|
|
84
|
+
], Person.prototype, "nombre_completo", void 0);
|
|
85
|
+
__decorate([
|
|
86
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 20, nullable: true }),
|
|
87
|
+
__metadata("design:type", String)
|
|
88
|
+
], Person.prototype, "fullCedula", void 0);
|
|
89
|
+
__decorate([
|
|
90
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 20, nullable: true }),
|
|
91
|
+
__metadata("design:type", String)
|
|
92
|
+
], Person.prototype, "fullRif", void 0);
|
|
93
|
+
__decorate([
|
|
94
|
+
(0, typeorm_1.OneToMany)(() => person_identification_entity_1.PersonIdentification, (personIdentification) => personIdentification.person, {
|
|
95
|
+
onDelete: 'SET NULL',
|
|
96
|
+
onUpdate: 'CASCADE',
|
|
97
|
+
}),
|
|
98
|
+
__metadata("design:type", Array)
|
|
99
|
+
], Person.prototype, "identifications", void 0);
|
|
100
|
+
__decorate([
|
|
101
|
+
(0, typeorm_1.OneToMany)(() => person_migration_entity_1.PersonMigration, (personMigration) => personMigration.person, {
|
|
102
|
+
onDelete: 'SET NULL',
|
|
103
|
+
onUpdate: 'CASCADE',
|
|
104
|
+
}),
|
|
105
|
+
__metadata("design:type", Array)
|
|
106
|
+
], Person.prototype, "migrations", void 0);
|
|
107
|
+
__decorate([
|
|
108
|
+
(0, typeorm_1.OneToMany)(() => person_fiscal_data_entity_1.PersonFiscalData, (fiscalData) => fiscalData.person, {
|
|
109
|
+
onDelete: 'CASCADE',
|
|
110
|
+
onUpdate: 'CASCADE',
|
|
111
|
+
}),
|
|
112
|
+
__metadata("design:type", Array)
|
|
113
|
+
], Person.prototype, "fiscalData", void 0);
|
|
114
|
+
__decorate([
|
|
115
|
+
(0, typeorm_1.OneToOne)(() => ipsfa_entity_1.Ipsfa, (ipsfa) => ipsfa.person, {
|
|
116
|
+
onDelete: 'SET NULL',
|
|
117
|
+
onUpdate: 'CASCADE',
|
|
118
|
+
}),
|
|
119
|
+
__metadata("design:type", ipsfa_entity_1.Ipsfa)
|
|
120
|
+
], Person.prototype, "militarData", void 0);
|
|
121
|
+
__decorate([
|
|
122
|
+
(0, typeorm_1.OneToMany)(() => detentor_entity_1.Detentor, (aeronaveDetentor) => aeronaveDetentor.person, {
|
|
123
|
+
onDelete: 'SET NULL',
|
|
124
|
+
onUpdate: 'CASCADE',
|
|
125
|
+
}),
|
|
126
|
+
__metadata("design:type", Array)
|
|
127
|
+
], Person.prototype, "aircrafts", void 0);
|
|
128
|
+
__decorate([
|
|
129
|
+
(0, typeorm_1.Column)({ type: 'jsonb', nullable: true }),
|
|
130
|
+
__metadata("design:type", Array)
|
|
131
|
+
], Person.prototype, "iio", void 0);
|
|
132
|
+
__decorate([
|
|
133
|
+
(0, typeorm_1.OneToOne)(() => person_iio_entity_1.PersonOperationalProfiling, {
|
|
134
|
+
onDelete: 'SET NULL',
|
|
135
|
+
onUpdate: 'CASCADE',
|
|
136
|
+
}) // Relación 1:1
|
|
137
|
+
,
|
|
138
|
+
(0, typeorm_1.JoinColumn)() // Indica que esta entidad es la propietaria de la relación
|
|
139
|
+
,
|
|
140
|
+
__metadata("design:type", person_iio_entity_1.PersonOperationalProfiling)
|
|
141
|
+
], Person.prototype, "operationalProfiling", void 0);
|
|
142
|
+
__decorate([
|
|
143
|
+
(0, typeorm_1.OneToOne)(() => person_political_data_entity_1.PersonPoliticalData, (politicalData) => politicalData.person, {
|
|
144
|
+
onDelete: 'SET NULL',
|
|
145
|
+
onUpdate: 'CASCADE',
|
|
146
|
+
}) // Relación 1:1 - PersonPoliticalData es el owner
|
|
147
|
+
,
|
|
148
|
+
__metadata("design:type", person_political_data_entity_1.PersonPoliticalData)
|
|
149
|
+
], Person.prototype, "politicalData", void 0);
|
|
150
|
+
__decorate([
|
|
151
|
+
(0, typeorm_1.OneToOne)(() => person_criminal_data_entity_1.PersonCriminalData, {
|
|
152
|
+
onDelete: 'SET NULL',
|
|
153
|
+
onUpdate: 'CASCADE',
|
|
154
|
+
}) // Relación 1:1
|
|
155
|
+
,
|
|
156
|
+
(0, typeorm_1.JoinColumn)() // Indica que esta entidad es la propietaria de la relación
|
|
157
|
+
,
|
|
158
|
+
__metadata("design:type", person_criminal_data_entity_1.PersonCriminalData)
|
|
159
|
+
], Person.prototype, "criminalData", void 0);
|
|
160
|
+
__decorate([
|
|
161
|
+
(0, typeorm_1.OneToOne)(() => person_data_telecom_entity_1.PersonDataTelecom, (personDataTelecom) => personDataTelecom.person, {
|
|
162
|
+
onDelete: 'CASCADE', // Si se elimina Person, eliminar PersonDataTelecom
|
|
163
|
+
onUpdate: 'CASCADE',
|
|
164
|
+
}) // Relación 1:1 - PersonDataTelecom es el owner
|
|
165
|
+
,
|
|
166
|
+
__metadata("design:type", person_data_telecom_entity_1.PersonDataTelecom)
|
|
167
|
+
], Person.prototype, "dataTelecom", void 0);
|
|
168
|
+
__decorate([
|
|
169
|
+
(0, typeorm_1.OneToMany)(() => photo_person_entity_1.PhotoPerson, (photoPerson) => photoPerson.person, {
|
|
170
|
+
onDelete: 'SET NULL',
|
|
171
|
+
onUpdate: 'CASCADE',
|
|
172
|
+
}),
|
|
173
|
+
__metadata("design:type", Array)
|
|
174
|
+
], Person.prototype, "photoPersons", void 0);
|
|
175
|
+
__decorate([
|
|
176
|
+
(0, typeorm_1.OneToMany)(() => person_repatriado_entity_1.PersonRepatriado, (personRepatriado) => personRepatriado.person),
|
|
177
|
+
__metadata("design:type", Array)
|
|
178
|
+
], Person.prototype, "repatriados", void 0);
|
|
179
|
+
__decorate([
|
|
180
|
+
(0, typeorm_1.OneToOne)(() => person_police_data_entity_1.PersonPoliceData, (policeData) => policeData.person, {
|
|
181
|
+
onDelete: 'SET NULL',
|
|
182
|
+
onUpdate: 'CASCADE',
|
|
183
|
+
}),
|
|
184
|
+
__metadata("design:type", person_police_data_entity_1.PersonPoliceData)
|
|
185
|
+
], Person.prototype, "policeData", void 0);
|
|
186
|
+
__decorate([
|
|
187
|
+
(0, typeorm_1.OneToMany)(() => person_ivss_entity_1.PersonIvss, (personIvss) => personIvss.person, {
|
|
188
|
+
onDelete: 'SET NULL',
|
|
189
|
+
onUpdate: 'CASCADE',
|
|
190
|
+
}),
|
|
191
|
+
__metadata("design:type", Array)
|
|
192
|
+
], Person.prototype, "ivssData", void 0);
|
|
193
|
+
__decorate([
|
|
194
|
+
(0, typeorm_1.OneToMany)(() => person_prohibition_entity_1.PersonProhibition, (prohibition) => prohibition.person, {
|
|
195
|
+
onDelete: 'SET NULL',
|
|
196
|
+
onUpdate: 'CASCADE',
|
|
197
|
+
}),
|
|
198
|
+
__metadata("design:type", Array)
|
|
199
|
+
], Person.prototype, "prohibitions", void 0);
|
|
200
|
+
__decorate([
|
|
201
|
+
(0, typeorm_1.Column)({ type: 'boolean', default: false, name: 'prohibitions_checked' }),
|
|
202
|
+
__metadata("design:type", Boolean)
|
|
203
|
+
], Person.prototype, "prohibitionsChecked", void 0);
|
|
204
|
+
__decorate([
|
|
205
|
+
(0, typeorm_1.Column)({
|
|
206
|
+
type: 'timestamp',
|
|
207
|
+
nullable: true,
|
|
208
|
+
name: 'prohibitions_last_check',
|
|
209
|
+
}),
|
|
210
|
+
__metadata("design:type", Date)
|
|
211
|
+
], Person.prototype, "prohibitionsLastCheck", void 0);
|
|
212
|
+
__decorate([
|
|
213
|
+
(0, typeorm_1.Column)({
|
|
214
|
+
type: 'boolean',
|
|
215
|
+
default: false,
|
|
216
|
+
name: 'telecom_data_checked',
|
|
217
|
+
}),
|
|
218
|
+
__metadata("design:type", Boolean)
|
|
219
|
+
], Person.prototype, "telecomDataChecked", void 0);
|
|
220
|
+
__decorate([
|
|
221
|
+
(0, typeorm_1.Column)({
|
|
222
|
+
type: 'timestamp',
|
|
223
|
+
nullable: true,
|
|
224
|
+
name: 'telecom_data_last_check',
|
|
225
|
+
}),
|
|
226
|
+
__metadata("design:type", Date)
|
|
227
|
+
], Person.prototype, "telecomDataLastCheck", void 0);
|
|
228
|
+
__decorate([
|
|
229
|
+
(0, typeorm_1.Column)({
|
|
230
|
+
type: 'boolean',
|
|
231
|
+
default: false,
|
|
232
|
+
name: 'political_data_checked',
|
|
233
|
+
}),
|
|
234
|
+
__metadata("design:type", Boolean)
|
|
235
|
+
], Person.prototype, "politicalDataChecked", void 0);
|
|
236
|
+
__decorate([
|
|
237
|
+
(0, typeorm_1.Column)({
|
|
238
|
+
type: 'timestamp',
|
|
239
|
+
nullable: true,
|
|
240
|
+
name: 'political_data_last_check',
|
|
241
|
+
}),
|
|
242
|
+
__metadata("design:type", Date)
|
|
243
|
+
], Person.prototype, "politicalDataLastCheck", void 0);
|
|
244
|
+
__decorate([
|
|
245
|
+
(0, typeorm_1.Column)({
|
|
246
|
+
type: 'boolean',
|
|
247
|
+
default: false,
|
|
248
|
+
name: 'police_data_checked',
|
|
249
|
+
}),
|
|
250
|
+
__metadata("design:type", Boolean)
|
|
251
|
+
], Person.prototype, "policeDataChecked", void 0);
|
|
252
|
+
__decorate([
|
|
253
|
+
(0, typeorm_1.Column)({
|
|
254
|
+
type: 'timestamp',
|
|
255
|
+
nullable: true,
|
|
256
|
+
name: 'police_data_last_check',
|
|
257
|
+
}),
|
|
258
|
+
__metadata("design:type", Date)
|
|
259
|
+
], Person.prototype, "policeDataLastCheck", void 0);
|
|
260
|
+
__decorate([
|
|
261
|
+
(0, typeorm_1.Column)({
|
|
262
|
+
type: 'boolean',
|
|
263
|
+
default: false,
|
|
264
|
+
name: 'ivss_data_checked',
|
|
265
|
+
}),
|
|
266
|
+
__metadata("design:type", Boolean)
|
|
267
|
+
], Person.prototype, "ivssDataChecked", void 0);
|
|
268
|
+
__decorate([
|
|
269
|
+
(0, typeorm_1.Column)({
|
|
270
|
+
type: 'timestamp',
|
|
271
|
+
nullable: true,
|
|
272
|
+
name: 'ivss_data_last_check',
|
|
273
|
+
}),
|
|
274
|
+
__metadata("design:type", Date)
|
|
275
|
+
], Person.prototype, "ivssDataLastCheck", void 0);
|
|
276
|
+
__decorate([
|
|
277
|
+
(0, typeorm_1.Column)({
|
|
278
|
+
type: 'boolean',
|
|
279
|
+
default: false,
|
|
280
|
+
name: 'fiscal_data_checked',
|
|
281
|
+
}),
|
|
282
|
+
__metadata("design:type", Boolean)
|
|
283
|
+
], Person.prototype, "fiscalDataChecked", void 0);
|
|
284
|
+
__decorate([
|
|
285
|
+
(0, typeorm_1.Column)({
|
|
286
|
+
type: 'timestamp',
|
|
287
|
+
nullable: true,
|
|
288
|
+
name: 'fiscal_data_last_check',
|
|
289
|
+
}),
|
|
290
|
+
__metadata("design:type", Date)
|
|
291
|
+
], Person.prototype, "fiscalDataLastCheck", void 0);
|
|
292
|
+
__decorate([
|
|
293
|
+
(0, typeorm_1.Column)({ type: 'jsonb', nullable: true }),
|
|
294
|
+
__metadata("design:type", Object)
|
|
295
|
+
], Person.prototype, "sb2", void 0);
|
|
296
|
+
exports.Person = Person = __decorate([
|
|
297
|
+
(0, typeorm_1.Entity)('person'),
|
|
298
|
+
(0, typeorm_1.Index)('person_cedula_idx', ['cedula', 'cedulaLetter'], { unique: true }),
|
|
299
|
+
(0, typeorm_1.Index)('person_rif_idx', ['rif', 'rifLetter'], { unique: true }),
|
|
300
|
+
(0, typeorm_1.Index)('person_full_cedula_idx', ['fullCedula'], { unique: false }),
|
|
301
|
+
(0, typeorm_1.Index)('person_full_rif_idx', ['fullRif'], { unique: false })
|
|
302
|
+
], Person);
|
|
303
|
+
//# sourceMappingURL=person.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"person.entity.js","sourceRoot":"","sources":["../../../src/entities/person/person.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uDAAk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AAsB;KAC7B,CAAC;8BACkB,IAAI;iDAAC;AAQzB;IALC,IAAA,gBAAM,EAAC;QACN,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,KAAK;QACd,IAAI,EAAE,qBAAqB;KAC5B,CAAC;;iDAC0B;AAO5B;IALC,IAAA,gBAAM,EAAC;QACN,IAAI,EAAE,WAAW;QACjB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,wBAAwB;KAC/B,CAAC;8BACoB,IAAI;mDAAC;AAG3B;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mCAChB;iBAnPf,MAAM;IALlB,IAAA,gBAAM,EAAC,QAAQ,CAAC;IAChB,IAAA,eAAK,EAAC,mBAAmB,EAAE,CAAC,QAAQ,EAAE,cAAc,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;IACxE,IAAA,eAAK,EAAC,gBAAgB,EAAE,CAAC,KAAK,EAAE,WAAW,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;IAC/D,IAAA,eAAK,EAAC,wBAAwB,EAAE,CAAC,YAAY,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC;IAClE,IAAA,eAAK,EAAC,qBAAqB,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC;GAChD,MAAM,CAoPlB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Photo } from './photo.entity';
|
|
2
|
+
import { Person } from './person.entity';
|
|
3
|
+
import { GlobalBase } from '../base/_global-base';
|
|
4
|
+
export declare class PhotoPerson extends GlobalBase {
|
|
5
|
+
photo: Photo;
|
|
6
|
+
person: Person;
|
|
7
|
+
fuente?: string;
|
|
8
|
+
calidadFuente?: string;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=photo-person.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"photo-person.entity.d.ts","sourceRoot":"","sources":["../../../src/entities/person/photo-person.entity.ts"],"names":[],"mappings":"AAME,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAEhD,qBACa,WAAY,SAAQ,UAAU;IAKzC,KAAK,EAAG,KAAK,CAAC;IAKd,MAAM,EAAG,MAAM,CAAC;IAIhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.PhotoPerson = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const photo_entity_1 = require("./photo.entity");
|
|
15
|
+
const person_entity_1 = require("./person.entity");
|
|
16
|
+
const _global_base_1 = require("../base/_global-base");
|
|
17
|
+
let PhotoPerson = class PhotoPerson extends _global_base_1.GlobalBase {
|
|
18
|
+
};
|
|
19
|
+
exports.PhotoPerson = PhotoPerson;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, typeorm_1.ManyToOne)(() => photo_entity_1.Photo, photo => photo.photoPersons, { onDelete: 'CASCADE' }),
|
|
22
|
+
(0, typeorm_1.JoinColumn)({ name: 'photo_id' }),
|
|
23
|
+
__metadata("design:type", photo_entity_1.Photo)
|
|
24
|
+
], PhotoPerson.prototype, "photo", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, typeorm_1.ManyToOne)(() => person_entity_1.Person, person => person.photoPersons, { onDelete: 'SET NULL' }),
|
|
27
|
+
(0, typeorm_1.JoinColumn)({ name: 'person_id' }),
|
|
28
|
+
__metadata("design:type", person_entity_1.Person)
|
|
29
|
+
], PhotoPerson.prototype, "person", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 200, nullable: true }),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], PhotoPerson.prototype, "fuente", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 2, nullable: true }),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], PhotoPerson.prototype, "calidadFuente", void 0);
|
|
38
|
+
exports.PhotoPerson = PhotoPerson = __decorate([
|
|
39
|
+
(0, typeorm_1.Entity)('photo_person')
|
|
40
|
+
], PhotoPerson);
|
|
41
|
+
//# sourceMappingURL=photo-person.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"photo-person.entity.js","sourceRoot":"","sources":["../../../src/entities/person/photo-person.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAKmB;AACjB,iDAAuC;AACvC,mDAAyC;AAC3C,uDAAkD;AAGzC,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,yBAAU;CAkB1C,CAAA;AAlBY,kCAAW;AAKtB;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,oBAAK,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,YAAY,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;IAC5E,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC;8BACzB,oBAAK;0CAAC;AAKd;IAFC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,sBAAM,EAAE,MAAM,CAAC,EAAE,CAAC,MAAM,CAAC,YAAY,EAAE,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC;IAChF,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;8BACzB,sBAAM;2CAAC;AAIhB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;2CACzC;AAGhB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDAChC;sBAjBZ,WAAW;IADvB,IAAA,gBAAM,EAAC,cAAc,CAAC;GACV,WAAW,CAkBvB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PhotoType } from '../../enums/photo.enum';
|
|
2
|
+
import { PhotoPerson } from './photo-person.entity';
|
|
3
|
+
import { GlobalBase } from '../base/_global-base';
|
|
4
|
+
export declare class Photo extends GlobalBase {
|
|
5
|
+
url: string;
|
|
6
|
+
type: PhotoType;
|
|
7
|
+
name?: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
photoPersons?: PhotoPerson[];
|
|
10
|
+
}
|
|
11
|
+
//# sourceMappingURL=photo.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"photo.entity.d.ts","sourceRoot":"","sources":["../../../src/entities/person/photo.entity.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAEhD,qBACa,KAAM,SAAQ,UAAU;IAGnC,GAAG,EAAG,MAAM,CAAC;IAOb,IAAI,EAAG,SAAS,CAAC;IAGjB,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,WAAW,CAAC,EAAE,MAAM,CAAC;IAIrB,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC;CAC9B"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.Photo = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const photo_enum_1 = require("../../enums/photo.enum");
|
|
15
|
+
const photo_person_entity_1 = require("./photo-person.entity");
|
|
16
|
+
const _global_base_1 = require("../base/_global-base");
|
|
17
|
+
let Photo = class Photo extends _global_base_1.GlobalBase {
|
|
18
|
+
};
|
|
19
|
+
exports.Photo = Photo;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255 }),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], Photo.prototype, "url", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, typeorm_1.Column)({
|
|
26
|
+
type: 'enum',
|
|
27
|
+
enum: photo_enum_1.PhotoType,
|
|
28
|
+
}),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], Photo.prototype, "type", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
|
|
33
|
+
__metadata("design:type", String)
|
|
34
|
+
], Photo.prototype, "name", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, typeorm_1.Column)({ type: 'text', nullable: true }),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], Photo.prototype, "description", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, typeorm_1.OneToMany)(() => photo_person_entity_1.PhotoPerson, photoPerson => photoPerson.photo),
|
|
41
|
+
__metadata("design:type", Array)
|
|
42
|
+
], Photo.prototype, "photoPersons", void 0);
|
|
43
|
+
exports.Photo = Photo = __decorate([
|
|
44
|
+
(0, typeorm_1.Entity)('photo')
|
|
45
|
+
], Photo);
|
|
46
|
+
//# sourceMappingURL=photo.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"photo.entity.js","sourceRoot":"","sources":["../../../src/entities/person/photo.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAImB;AACnB,uDAAmD;AACnD,+DAAoD;AACpD,uDAAkD;AAGzC,IAAM,KAAK,GAAX,MAAM,KAAM,SAAQ,yBAAU;CAqBpC,CAAA;AArBY,sBAAK;AAGhB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC;;kCAC5B;AAOb;IAJC,IAAA,gBAAM,EAAC;QACN,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,sBAAS;KAChB,CAAC;;mCACe;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mCAC3C;AAGd;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;0CACpB;AAIrB;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,iCAAW,EAAE,WAAW,CAAC,EAAE,CAAC,WAAW,CAAC,KAAK,CAAC;;2CAClC;gBApBlB,KAAK;IADjB,IAAA,gBAAM,EAAC,OAAO,CAAC;GACH,KAAK,CAqBjB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { BaseEntity } from 'typeorm';
|
|
2
|
+
import { PoliticalParty } from './political-party.entity';
|
|
3
|
+
import { PersonPoliticalData } from '../person/person-political-data.entity';
|
|
4
|
+
export declare class PersonPoliticalParty extends BaseEntity {
|
|
5
|
+
id: string;
|
|
6
|
+
role?: string;
|
|
7
|
+
startDate?: Date;
|
|
8
|
+
endDate?: Date;
|
|
9
|
+
politicalParty: PoliticalParty;
|
|
10
|
+
personPoliticalData: PersonPoliticalData;
|
|
11
|
+
metadata?: Record<string, any>;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=person-political-party.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"person-political-party.entity.d.ts","sourceRoot":"","sources":["../../../src/entities/political/person-political-party.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAML,UAAU,EACX,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAE7E,qBACa,oBAAqB,SAAQ,UAAU;IAElD,EAAE,EAAG,MAAM,CAAC;IAGZ,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,SAAS,CAAC,EAAE,IAAI,CAAC;IAGjB,OAAO,CAAC,EAAE,IAAI,CAAC;IAQf,cAAc,EAAG,cAAc,CAAC;IAYhC,mBAAmB,EAAG,mBAAmB,CAAC;IAI1C,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAChC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.PersonPoliticalParty = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const political_party_entity_1 = require("./political-party.entity");
|
|
15
|
+
const person_political_data_entity_1 = require("../person/person-political-data.entity");
|
|
16
|
+
let PersonPoliticalParty = class PersonPoliticalParty extends typeorm_1.BaseEntity {
|
|
17
|
+
};
|
|
18
|
+
exports.PersonPoliticalParty = PersonPoliticalParty;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, typeorm_1.PrimaryGeneratedColumn)('uuid'),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], PersonPoliticalParty.prototype, "id", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], PersonPoliticalParty.prototype, "role", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, typeorm_1.Column)({ type: 'date', nullable: true }),
|
|
29
|
+
__metadata("design:type", Date)
|
|
30
|
+
], PersonPoliticalParty.prototype, "startDate", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, typeorm_1.Column)({ type: 'date', nullable: true }),
|
|
33
|
+
__metadata("design:type", Date)
|
|
34
|
+
], PersonPoliticalParty.prototype, "endDate", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, typeorm_1.ManyToOne)(() => political_party_entity_1.PoliticalParty, (politicalParty) => politicalParty.personPoliticalParties),
|
|
37
|
+
(0, typeorm_1.JoinColumn)({ name: 'political_party_id' }),
|
|
38
|
+
__metadata("design:type", political_party_entity_1.PoliticalParty)
|
|
39
|
+
], PersonPoliticalParty.prototype, "politicalParty", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, typeorm_1.ManyToOne)(() => person_political_data_entity_1.PersonPoliticalData, (personPoliticalData) => personPoliticalData.personPoliticalParties, {
|
|
42
|
+
onDelete: 'CASCADE',
|
|
43
|
+
onUpdate: 'CASCADE',
|
|
44
|
+
}),
|
|
45
|
+
(0, typeorm_1.JoinColumn)({ name: 'person_political_data_id' }),
|
|
46
|
+
__metadata("design:type", person_political_data_entity_1.PersonPoliticalData)
|
|
47
|
+
], PersonPoliticalParty.prototype, "personPoliticalData", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, typeorm_1.Column)({ type: 'jsonb', nullable: true }),
|
|
50
|
+
__metadata("design:type", Object)
|
|
51
|
+
], PersonPoliticalParty.prototype, "metadata", void 0);
|
|
52
|
+
exports.PersonPoliticalParty = PersonPoliticalParty = __decorate([
|
|
53
|
+
(0, typeorm_1.Entity)('person_political_party')
|
|
54
|
+
], PersonPoliticalParty);
|
|
55
|
+
//# sourceMappingURL=person-political-party.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"person-political-party.entity.js","sourceRoot":"","sources":["../../../src/entities/political/person-political-party.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAOiB;AACjB,qEAA0D;AAC1D,yFAA6E;AAGtE,IAAM,oBAAoB,GAA1B,MAAM,oBAAqB,SAAQ,oBAAU;CAoCnD,CAAA;AApCY,oDAAoB;AAE/B;IADC,IAAA,gCAAsB,EAAC,MAAM,CAAC;;gDACnB;AAGZ;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;kDAC3C;AAGd;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BAC7B,IAAI;uDAAC;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BAC/B,IAAI;qDAAC;AAQf;IALC,IAAA,mBAAS,EACR,GAAG,EAAE,CAAC,uCAAc,EACpB,CAAC,cAAc,EAAE,EAAE,CAAC,cAAc,CAAC,sBAAsB,CAC1D;IACA,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,oBAAoB,EAAE,CAAC;8BAC1B,uCAAc;4DAAC;AAYhC;IATC,IAAA,mBAAS,EACR,GAAG,EAAE,CAAC,kDAAmB,EACzB,CAAC,mBAAmB,EAAE,EAAE,CAAC,mBAAmB,CAAC,sBAAsB,EACnE;QACE,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACpB,CACF;IACA,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,0BAA0B,EAAE,CAAC;8BAC3B,kDAAmB;iEAAC;AAI1C;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;sDACX;+BAnCpB,oBAAoB;IADhC,IAAA,gBAAM,EAAC,wBAAwB,CAAC;GACpB,oBAAoB,CAoChC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { BaseEntity } from 'typeorm';
|
|
2
|
+
import { PersonPoliticalParty } from './person-political-party.entity';
|
|
3
|
+
export declare class PoliticalParty extends BaseEntity {
|
|
4
|
+
id: string;
|
|
5
|
+
name: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
logo?: string;
|
|
8
|
+
website?: string;
|
|
9
|
+
foundation_date?: Date;
|
|
10
|
+
headquarters?: string;
|
|
11
|
+
abbreviation?: string;
|
|
12
|
+
personPoliticalParties: PersonPoliticalParty[];
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=political-party.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"political-party.entity.d.ts","sourceRoot":"","sources":["../../../src/entities/political/political-party.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAIH,UAAU,EAEX,MAAM,SAAS,CAAC;AACnB,OAAO,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AAErE,qBACa,cAAe,SAAQ,UAAU;IAE5C,EAAE,EAAG,MAAM,CAAC;IAGZ,IAAI,EAAG,MAAM,CAAC;IAGd,WAAW,CAAC,EAAE,MAAM,CAAC;IAGrB,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,OAAO,CAAC,EAAE,MAAM,CAAC;IAIjB,eAAe,CAAC,EAAE,IAAI,CAAC;IAIvB,YAAY,CAAC,EAAE,MAAM,CAAC;IAItB,YAAY,CAAC,EAAE,MAAM,CAAC;IAGtB,sBAAsB,EAAG,oBAAoB,EAAE,CAAC;CACjD"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.PoliticalParty = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const person_political_party_entity_1 = require("./person-political-party.entity");
|
|
15
|
+
let PoliticalParty = class PoliticalParty extends typeorm_1.BaseEntity {
|
|
16
|
+
};
|
|
17
|
+
exports.PoliticalParty = PoliticalParty;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, typeorm_1.PrimaryGeneratedColumn)('uuid'),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], PoliticalParty.prototype, "id", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 75, nullable: false }),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], PoliticalParty.prototype, "name", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, typeorm_1.Column)({ type: "text", nullable: true }),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], PoliticalParty.prototype, "description", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 100, nullable: true }),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], PoliticalParty.prototype, "logo", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 100, nullable: true }),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], PoliticalParty.prototype, "website", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, typeorm_1.Column)({ type: "date", nullable: true }),
|
|
40
|
+
__metadata("design:type", Date)
|
|
41
|
+
], PoliticalParty.prototype, "foundation_date", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 100, nullable: true }),
|
|
44
|
+
__metadata("design:type", String)
|
|
45
|
+
], PoliticalParty.prototype, "headquarters", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, typeorm_1.Column)({ type: "varchar", length: 10, nullable: true }),
|
|
48
|
+
__metadata("design:type", String)
|
|
49
|
+
], PoliticalParty.prototype, "abbreviation", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, typeorm_1.OneToMany)(() => person_political_party_entity_1.PersonPoliticalParty, (personPoliticalParty) => personPoliticalParty.politicalParty),
|
|
52
|
+
__metadata("design:type", Array)
|
|
53
|
+
], PoliticalParty.prototype, "personPoliticalParties", void 0);
|
|
54
|
+
exports.PoliticalParty = PoliticalParty = __decorate([
|
|
55
|
+
(0, typeorm_1.Entity)('political_party')
|
|
56
|
+
], PoliticalParty);
|
|
57
|
+
//# sourceMappingURL=political-party.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"political-party.entity.js","sourceRoot":"","sources":["../../../src/entities/political/political-party.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAMmB;AACnB,mFAAuE;AAG9D,IAAM,cAAc,GAApB,MAAM,cAAe,SAAQ,oBAAU;CA8B7C,CAAA;AA9BY,wCAAc;AAEzB;IADC,IAAA,gCAAsB,EAAC,MAAM,CAAC;;0CACnB;AAGZ;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;4CAC3C;AAGd;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mDACpB;AAGrB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4CAC3C;AAGd;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CACxC;AAIjB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;8BACvB,IAAI;uDAAC;AAIvB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oDACnC;AAItB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oDAClC;AAGtB;IADC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,oDAAoB,EAAE,CAAC,oBAAoB,EAAE,EAAE,CAAC,oBAAoB,CAAC,cAAc,CAAC;;8DACrD;yBA7BrC,cAAc;IAD1B,IAAA,gBAAM,EAAC,iBAAiB,CAAC;GACb,cAAc,CA8B1B"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { GlobalBase } from '../base/_global-base';
|
|
2
|
+
import { PersonRepatriado } from '../person/person-repatriado.entity';
|
|
3
|
+
export declare class VueltaALaPatria extends GlobalBase {
|
|
4
|
+
numeroVuelo: number;
|
|
5
|
+
vuelo: string;
|
|
6
|
+
fecha: Date;
|
|
7
|
+
origen?: string;
|
|
8
|
+
interconexion?: string;
|
|
9
|
+
metadata: Record<string, any>;
|
|
10
|
+
observaciones?: string;
|
|
11
|
+
persons?: PersonRepatriado[];
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=vuelta-a-la-patria.entity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vuelta-a-la-patria.entity.d.ts","sourceRoot":"","sources":["../../../src/entities/repatriados/vuelta-a-la-patria.entity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AACtE,qBACa,eAAgB,SAAQ,UAAU;IAE7C,WAAW,EAAG,MAAM,CAAC;IAGrB,KAAK,EAAG,MAAM,CAAC;IAGf,KAAK,EAAG,IAAI,CAAC;IAGb,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,aAAa,CAAC,EAAE,MAAM,CAAC;IAGvB,QAAQ,EAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAG/B,aAAa,CAAC,EAAE,MAAM,CAAC;IAMvB,OAAO,CAAC,EAAE,gBAAgB,EAAE,CAAC;CAC9B"}
|