@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.
Files changed (41) hide show
  1. package/dist/entities/index.d.ts +4 -0
  2. package/dist/entities/index.d.ts.map +1 -1
  3. package/dist/entities/index.js +4 -0
  4. package/dist/entities/index.js.map +1 -1
  5. package/dist/entities/person/characterization-annex.entity.d.ts +79 -0
  6. package/dist/entities/person/characterization-annex.entity.d.ts.map +1 -0
  7. package/dist/entities/person/characterization-annex.entity.js +97 -0
  8. package/dist/entities/person/characterization-annex.entity.js.map +1 -0
  9. package/dist/entities/person/characterization-family.entity.d.ts +100 -0
  10. package/dist/entities/person/characterization-family.entity.d.ts.map +1 -0
  11. package/dist/entities/person/characterization-family.entity.js +121 -0
  12. package/dist/entities/person/characterization-family.entity.js.map +1 -0
  13. package/dist/entities/person/characterization-linkage.entity.d.ts +135 -0
  14. package/dist/entities/person/characterization-linkage.entity.d.ts.map +1 -0
  15. package/dist/entities/person/characterization-linkage.entity.js +109 -0
  16. package/dist/entities/person/characterization-linkage.entity.js.map +1 -0
  17. package/dist/entities/person/person-characterization.entity.d.ts +94 -0
  18. package/dist/entities/person/person-characterization.entity.d.ts.map +1 -0
  19. package/dist/entities/person/person-characterization.entity.js +120 -0
  20. package/dist/entities/person/person-characterization.entity.js.map +1 -0
  21. package/dist/entities/person/person.entity.d.ts +59 -0
  22. package/dist/entities/person/person.entity.d.ts.map +1 -1
  23. package/dist/entities/person/person.entity.js +32 -0
  24. package/dist/entities/person/person.entity.js.map +1 -1
  25. package/dist/enums/characterization.enum.d.ts +65 -0
  26. package/dist/enums/characterization.enum.d.ts.map +1 -0
  27. package/dist/enums/characterization.enum.js +72 -0
  28. package/dist/enums/characterization.enum.js.map +1 -0
  29. package/dist/enums/index.d.ts +1 -0
  30. package/dist/enums/index.d.ts.map +1 -1
  31. package/dist/enums/index.js +1 -0
  32. package/dist/enums/index.js.map +1 -1
  33. package/dist/index.d.ts +1 -0
  34. package/dist/index.d.ts.map +1 -1
  35. package/dist/index.js +2 -0
  36. package/dist/index.js.map +1 -1
  37. package/dist/types/index.d.ts +39 -0
  38. package/dist/types/index.d.ts.map +1 -0
  39. package/dist/types/index.js +7 -0
  40. package/dist/types/index.js.map +1 -0
  41. 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"}
@@ -1,2 +1,3 @@
1
1
  export * from './photo.enum';
2
+ export * from './characterization.enum';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -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"}
@@ -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
@@ -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
@@ -11,4 +11,5 @@
11
11
  */
12
12
  export * from './entities';
13
13
  export * from './enums';
14
+ export * from './types';
14
15
  //# sourceMappingURL=index.d.ts.map
@@ -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,7 @@
1
+ "use strict";
2
+ /**
3
+ * Shared types for Pergamo entities
4
+ * These types are used across Person and Characterization features
5
+ */
6
+ Object.defineProperty(exports, "__esModule", { value: true });
7
+ //# sourceMappingURL=index.js.map
@@ -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.44",
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",