@sigmatech/pergamo 0.1.44 → 0.1.47
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/index.d.ts +4 -0
- package/dist/entities/index.d.ts.map +1 -1
- package/dist/entities/index.js +4 -0
- package/dist/entities/index.js.map +1 -1
- package/dist/entities/person/characterization-annex.entity.d.ts +79 -0
- package/dist/entities/person/characterization-annex.entity.d.ts.map +1 -0
- package/dist/entities/person/characterization-annex.entity.js +97 -0
- package/dist/entities/person/characterization-annex.entity.js.map +1 -0
- package/dist/entities/person/characterization-family.entity.d.ts +100 -0
- package/dist/entities/person/characterization-family.entity.d.ts.map +1 -0
- package/dist/entities/person/characterization-family.entity.js +121 -0
- package/dist/entities/person/characterization-family.entity.js.map +1 -0
- package/dist/entities/person/characterization-linkage.entity.d.ts +135 -0
- package/dist/entities/person/characterization-linkage.entity.d.ts.map +1 -0
- package/dist/entities/person/characterization-linkage.entity.js +109 -0
- package/dist/entities/person/characterization-linkage.entity.js.map +1 -0
- package/dist/entities/person/person-characterization.entity.d.ts +94 -0
- package/dist/entities/person/person-characterization.entity.d.ts.map +1 -0
- package/dist/entities/person/person-characterization.entity.js +120 -0
- package/dist/entities/person/person-characterization.entity.js.map +1 -0
- package/dist/entities/person/person.entity.d.ts +59 -0
- package/dist/entities/person/person.entity.d.ts.map +1 -1
- package/dist/entities/person/person.entity.js +32 -0
- package/dist/entities/person/person.entity.js.map +1 -1
- package/dist/enums/characterization.enum.d.ts +65 -0
- package/dist/enums/characterization.enum.d.ts.map +1 -0
- package/dist/enums/characterization.enum.js +72 -0
- package/dist/enums/characterization.enum.js.map +1 -0
- package/dist/enums/index.d.ts +1 -0
- package/dist/enums/index.d.ts.map +1 -1
- package/dist/enums/index.js +1 -0
- package/dist/enums/index.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/types/index.d.ts +39 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/index.js +7 -0
- package/dist/types/index.js.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Enums for Person Characterization feature
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.SourceQuality = exports.LinkageType = exports.FamilyRelationship = exports.CharacterizationType = void 0;
|
|
7
|
+
/**
|
|
8
|
+
* Type of characterization profile
|
|
9
|
+
* INVESTIGACION: Full investigation profile
|
|
10
|
+
* COMPROBACION: Verification/check profile
|
|
11
|
+
*/
|
|
12
|
+
var CharacterizationType;
|
|
13
|
+
(function (CharacterizationType) {
|
|
14
|
+
CharacterizationType["INVESTIGACION"] = "INVESTIGACION";
|
|
15
|
+
CharacterizationType["COMPROBACION"] = "COMPROBACION";
|
|
16
|
+
})(CharacterizationType || (exports.CharacterizationType = CharacterizationType = {}));
|
|
17
|
+
/**
|
|
18
|
+
* Family relationship types for extended family data
|
|
19
|
+
*/
|
|
20
|
+
var FamilyRelationship;
|
|
21
|
+
(function (FamilyRelationship) {
|
|
22
|
+
FamilyRelationship["MADRE"] = "MADRE";
|
|
23
|
+
FamilyRelationship["PADRE"] = "PADRE";
|
|
24
|
+
FamilyRelationship["HIJO"] = "HIJO";
|
|
25
|
+
FamilyRelationship["HIJA"] = "HIJA";
|
|
26
|
+
FamilyRelationship["HERMANO"] = "HERMANO";
|
|
27
|
+
FamilyRelationship["HERMANA"] = "HERMANA";
|
|
28
|
+
FamilyRelationship["CONYUGUE"] = "CONYUGUE";
|
|
29
|
+
FamilyRelationship["ABUELO"] = "ABUELO";
|
|
30
|
+
FamilyRelationship["ABUELA"] = "ABUELA";
|
|
31
|
+
FamilyRelationship["TIO"] = "TIO";
|
|
32
|
+
FamilyRelationship["TIA"] = "TIA";
|
|
33
|
+
FamilyRelationship["PRIMO"] = "PRIMO";
|
|
34
|
+
FamilyRelationship["PRIMA"] = "PRIMA";
|
|
35
|
+
FamilyRelationship["SOBRINO"] = "SOBRINO";
|
|
36
|
+
FamilyRelationship["SOBRINA"] = "SOBRINA";
|
|
37
|
+
FamilyRelationship["NIETO"] = "NIETO";
|
|
38
|
+
FamilyRelationship["NIETA"] = "NIETA";
|
|
39
|
+
FamilyRelationship["SUEGRO"] = "SUEGRO";
|
|
40
|
+
FamilyRelationship["SUEGRA"] = "SUEGRA";
|
|
41
|
+
FamilyRelationship["CUNADO"] = "CUNADO";
|
|
42
|
+
FamilyRelationship["CUNADA"] = "CUNADA";
|
|
43
|
+
FamilyRelationship["YERNO"] = "YERNO";
|
|
44
|
+
FamilyRelationship["NUERA"] = "NUERA";
|
|
45
|
+
FamilyRelationship["OTRO"] = "OTRO";
|
|
46
|
+
})(FamilyRelationship || (exports.FamilyRelationship = FamilyRelationship = {}));
|
|
47
|
+
/**
|
|
48
|
+
* Types of linkages/associations for a person
|
|
49
|
+
*/
|
|
50
|
+
var LinkageType;
|
|
51
|
+
(function (LinkageType) {
|
|
52
|
+
LinkageType["FAMILY"] = "FAMILY";
|
|
53
|
+
LinkageType["COMPANY"] = "COMPANY";
|
|
54
|
+
LinkageType["SOCIAL_MEDIA"] = "SOCIAL_MEDIA";
|
|
55
|
+
LinkageType["LABOR"] = "LABOR";
|
|
56
|
+
LinkageType["SOCIAL_CIRCLE"] = "SOCIAL_CIRCLE";
|
|
57
|
+
LinkageType["POLITICAL"] = "POLITICAL";
|
|
58
|
+
LinkageType["CRIMINAL"] = "CRIMINAL";
|
|
59
|
+
})(LinkageType || (exports.LinkageType = LinkageType = {}));
|
|
60
|
+
/**
|
|
61
|
+
* Source quality classification (A-F scale)
|
|
62
|
+
*/
|
|
63
|
+
var SourceQuality;
|
|
64
|
+
(function (SourceQuality) {
|
|
65
|
+
SourceQuality["A"] = "A";
|
|
66
|
+
SourceQuality["B"] = "B";
|
|
67
|
+
SourceQuality["C"] = "C";
|
|
68
|
+
SourceQuality["D"] = "D";
|
|
69
|
+
SourceQuality["E"] = "E";
|
|
70
|
+
SourceQuality["F"] = "F";
|
|
71
|
+
})(SourceQuality || (exports.SourceQuality = SourceQuality = {}));
|
|
72
|
+
//# sourceMappingURL=characterization.enum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"characterization.enum.js","sourceRoot":"","sources":["../../src/enums/characterization.enum.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH;;;;GAIG;AACH,IAAY,oBAGX;AAHD,WAAY,oBAAoB;IAC9B,uDAA+B,CAAA;IAC/B,qDAA6B,CAAA;AAC/B,CAAC,EAHW,oBAAoB,oCAApB,oBAAoB,QAG/B;AAED;;GAEG;AACH,IAAY,kBAyBX;AAzBD,WAAY,kBAAkB;IAC5B,qCAAe,CAAA;IACf,qCAAe,CAAA;IACf,mCAAa,CAAA;IACb,mCAAa,CAAA;IACb,yCAAmB,CAAA;IACnB,yCAAmB,CAAA;IACnB,2CAAqB,CAAA;IACrB,uCAAiB,CAAA;IACjB,uCAAiB,CAAA;IACjB,iCAAW,CAAA;IACX,iCAAW,CAAA;IACX,qCAAe,CAAA;IACf,qCAAe,CAAA;IACf,yCAAmB,CAAA;IACnB,yCAAmB,CAAA;IACnB,qCAAe,CAAA;IACf,qCAAe,CAAA;IACf,uCAAiB,CAAA;IACjB,uCAAiB,CAAA;IACjB,uCAAiB,CAAA;IACjB,uCAAiB,CAAA;IACjB,qCAAe,CAAA;IACf,qCAAe,CAAA;IACf,mCAAa,CAAA;AACf,CAAC,EAzBW,kBAAkB,kCAAlB,kBAAkB,QAyB7B;AAED;;GAEG;AACH,IAAY,WAQX;AARD,WAAY,WAAW;IACrB,gCAAiB,CAAA;IACjB,kCAAmB,CAAA;IACnB,4CAA6B,CAAA;IAC7B,8BAAe,CAAA;IACf,8CAA+B,CAAA;IAC/B,sCAAuB,CAAA;IACvB,oCAAqB,CAAA;AACvB,CAAC,EARW,WAAW,2BAAX,WAAW,QAQtB;AAED;;GAEG;AACH,IAAY,aAOX;AAPD,WAAY,aAAa;IACvB,wBAAO,CAAA;IACP,wBAAO,CAAA;IACP,wBAAO,CAAA;IACP,wBAAO,CAAA;IACP,wBAAO,CAAA;IACP,wBAAO,CAAA;AACT,CAAC,EAPW,aAAa,6BAAb,aAAa,QAOxB"}
|
package/dist/enums/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/enums/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/enums/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,yBAAyB,CAAC"}
|
package/dist/enums/index.js
CHANGED
|
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./photo.enum"), exports);
|
|
18
|
+
__exportStar(require("./characterization.enum"), exports);
|
|
18
19
|
//# sourceMappingURL=index.js.map
|
package/dist/enums/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,0DAAwC"}
|
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,cAAc,YAAY,CAAC;AAG3B,cAAc,SAAS,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAGH,cAAc,YAAY,CAAC;AAG3B,cAAc,SAAS,CAAC;AAGxB,cAAc,SAAS,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -29,4 +29,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
__exportStar(require("./entities"), exports);
|
|
30
30
|
// Export enums
|
|
31
31
|
__exportStar(require("./enums"), exports);
|
|
32
|
+
// Export types
|
|
33
|
+
__exportStar(require("./types"), exports);
|
|
32
34
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;AAEH,sBAAsB;AACtB,6CAA2B;AAE3B,eAAe;AACf,0CAAwB"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;AAEH,sBAAsB;AACtB,6CAA2B;AAE3B,eAAe;AACf,0CAAwB;AAExB,eAAe;AACf,0CAAwB"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared types for Pergamo entities
|
|
3
|
+
* These types are used across Person and Characterization features
|
|
4
|
+
*/
|
|
5
|
+
export { SocialMediaAccount, SocialMediaData, PersonAddress, } from '../entities/person/person.entity';
|
|
6
|
+
export { LinkageMetadata, FamilyLinkageMetadata, CompanyLinkageMetadata, SocialMediaLinkageMetadata, LaborLinkageMetadata, SocialCircleLinkageMetadata, PoliticalLinkageMetadata, CriminalLinkageMetadata, } from '../entities/person/characterization-linkage.entity';
|
|
7
|
+
/**
|
|
8
|
+
* CNE (Electoral) data structure
|
|
9
|
+
*/
|
|
10
|
+
export interface CNEData {
|
|
11
|
+
estado?: string;
|
|
12
|
+
municipio?: string;
|
|
13
|
+
parroquia?: string;
|
|
14
|
+
centroVotacion?: string;
|
|
15
|
+
mesa?: string;
|
|
16
|
+
codigoCentro?: string;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* IVSS Employment data structure
|
|
20
|
+
*/
|
|
21
|
+
export interface IVSSEmploymentData {
|
|
22
|
+
empresa?: string;
|
|
23
|
+
periodoDesde?: string;
|
|
24
|
+
periodoHasta?: string;
|
|
25
|
+
cargo?: string;
|
|
26
|
+
salario?: string;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* SAREN/Catastro property data structure
|
|
30
|
+
*/
|
|
31
|
+
export interface SARENCatastroData {
|
|
32
|
+
tipo: 'INMUEBLE' | 'FINCA' | 'EDIFICIO' | 'TERRENO' | 'LOCAL' | 'OTRO';
|
|
33
|
+
ubicacion?: string;
|
|
34
|
+
registro?: string;
|
|
35
|
+
fechaRegistro?: string;
|
|
36
|
+
superficie?: string;
|
|
37
|
+
valorCatastral?: string;
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EACL,kBAAkB,EAClB,eAAe,EACf,aAAa,GACd,MAAM,kCAAkC,CAAC;AAG1C,OAAO,EACL,eAAe,EACf,qBAAqB,EACrB,sBAAsB,EACtB,0BAA0B,EAC1B,oBAAoB,EACpB,2BAA2B,EAC3B,wBAAwB,EACxB,uBAAuB,GACxB,MAAM,oDAAoD,CAAC;AAE5D;;GAEG;AACH,MAAM,WAAW,OAAO;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,UAAU,GAAG,OAAO,GAAG,UAAU,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;IACvE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";AAAA;;;GAGG"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sigmatech/pergamo",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.47",
|
|
4
4
|
"description": "Shared TypeORM entities and utilities for Dataven intelligence system - Named after the ancient library of Pergamon",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|