@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.
Files changed (261) hide show
  1. package/dist/entities/app-config.entity.d.ts +7 -0
  2. package/dist/entities/app-config.entity.d.ts.map +1 -0
  3. package/dist/entities/app-config.entity.js +32 -0
  4. package/dist/entities/app-config.entity.js.map +1 -0
  5. package/dist/entities/audit-log.entity.d.ts +10 -0
  6. package/dist/entities/audit-log.entity.d.ts.map +1 -0
  7. package/dist/entities/audit-log.entity.js +50 -0
  8. package/dist/entities/audit-log.entity.js.map +1 -0
  9. package/dist/entities/base/_base.d.ts +25 -0
  10. package/dist/entities/base/_base.d.ts.map +1 -0
  11. package/dist/entities/base/_base.js +68 -0
  12. package/dist/entities/base/_base.js.map +1 -0
  13. package/dist/entities/base/_global-base.d.ts +31 -0
  14. package/dist/entities/base/_global-base.d.ts.map +1 -0
  15. package/dist/entities/base/_global-base.js +68 -0
  16. package/dist/entities/base/_global-base.js.map +1 -0
  17. package/dist/entities/base/index.d.ts +9 -0
  18. package/dist/entities/base/index.d.ts.map +1 -0
  19. package/dist/entities/base/index.js +14 -0
  20. package/dist/entities/base/index.js.map +1 -0
  21. package/dist/entities/case/case-asset.entity.d.ts +56 -0
  22. package/dist/entities/case/case-asset.entity.d.ts.map +1 -0
  23. package/dist/entities/case/case-asset.entity.js +175 -0
  24. package/dist/entities/case/case-asset.entity.js.map +1 -0
  25. package/dist/entities/case/case-role.entity.d.ts +55 -0
  26. package/dist/entities/case/case-role.entity.d.ts.map +1 -0
  27. package/dist/entities/case/case-role.entity.js +245 -0
  28. package/dist/entities/case/case-role.entity.js.map +1 -0
  29. package/dist/entities/case/case-search.entity.d.ts +49 -0
  30. package/dist/entities/case/case-search.entity.d.ts.map +1 -0
  31. package/dist/entities/case/case-search.entity.js +188 -0
  32. package/dist/entities/case/case-search.entity.js.map +1 -0
  33. package/dist/entities/case/case.entity.d.ts +53 -0
  34. package/dist/entities/case/case.entity.d.ts.map +1 -0
  35. package/dist/entities/case/case.entity.js +176 -0
  36. package/dist/entities/case/case.entity.js.map +1 -0
  37. package/dist/entities/comprobacion/dbrovp_2018.entity.d.ts +22 -0
  38. package/dist/entities/comprobacion/dbrovp_2018.entity.d.ts.map +1 -0
  39. package/dist/entities/comprobacion/dbrovp_2018.entity.js +60 -0
  40. package/dist/entities/comprobacion/dbrovp_2018.entity.js.map +1 -0
  41. package/dist/entities/comprobacion/index.d.ts +4 -0
  42. package/dist/entities/comprobacion/index.d.ts.map +1 -0
  43. package/dist/entities/comprobacion/index.js +20 -0
  44. package/dist/entities/comprobacion/index.js.map +1 -0
  45. package/dist/entities/comprobacion/maisanta.entity.d.ts +14 -0
  46. package/dist/entities/comprobacion/maisanta.entity.d.ts.map +1 -0
  47. package/dist/entities/comprobacion/maisanta.entity.js +59 -0
  48. package/dist/entities/comprobacion/maisanta.entity.js.map +1 -0
  49. package/dist/entities/comprobacion/revocatorio2016.entity.d.ts +8 -0
  50. package/dist/entities/comprobacion/revocatorio2016.entity.d.ts.map +1 -0
  51. package/dist/entities/comprobacion/revocatorio2016.entity.js +35 -0
  52. package/dist/entities/comprobacion/revocatorio2016.entity.js.map +1 -0
  53. package/dist/entities/contribuyente.entity.d.ts +67 -0
  54. package/dist/entities/contribuyente.entity.d.ts.map +1 -0
  55. package/dist/entities/contribuyente.entity.js +95 -0
  56. package/dist/entities/contribuyente.entity.js.map +1 -0
  57. package/dist/entities/cpnb/cpnb_general.entity.d.ts +28 -0
  58. package/dist/entities/cpnb/cpnb_general.entity.d.ts.map +1 -0
  59. package/dist/entities/cpnb/cpnb_general.entity.js +121 -0
  60. package/dist/entities/cpnb/cpnb_general.entity.js.map +1 -0
  61. package/dist/entities/cpnb/sipolnab.entity.d.ts +14 -0
  62. package/dist/entities/cpnb/sipolnab.entity.d.ts.map +1 -0
  63. package/dist/entities/cpnb/sipolnab.entity.js +66 -0
  64. package/dist/entities/cpnb/sipolnab.entity.js.map +1 -0
  65. package/dist/entities/criminal/cicpc-solicitados.entity.d.ts +10 -0
  66. package/dist/entities/criminal/cicpc-solicitados.entity.d.ts.map +1 -0
  67. package/dist/entities/criminal/cicpc-solicitados.entity.js +43 -0
  68. package/dist/entities/criminal/cicpc-solicitados.entity.js.map +1 -0
  69. package/dist/entities/data-telecom/person-relation-phone.entity.d.ts +10 -0
  70. package/dist/entities/data-telecom/person-relation-phone.entity.d.ts.map +1 -0
  71. package/dist/entities/data-telecom/person-relation-phone.entity.js +60 -0
  72. package/dist/entities/data-telecom/person-relation-phone.entity.js.map +1 -0
  73. package/dist/entities/data-telecom/person-suscriptor-phone.entity.d.ts +19 -0
  74. package/dist/entities/data-telecom/person-suscriptor-phone.entity.d.ts.map +1 -0
  75. package/dist/entities/data-telecom/person-suscriptor-phone.entity.js +116 -0
  76. package/dist/entities/data-telecom/person-suscriptor-phone.entity.js.map +1 -0
  77. package/dist/entities/data-telecom/phone.entity.d.ts +19 -0
  78. package/dist/entities/data-telecom/phone.entity.d.ts.map +1 -0
  79. package/dist/entities/data-telecom/phone.entity.js +67 -0
  80. package/dist/entities/data-telecom/phone.entity.js.map +1 -0
  81. package/dist/entities/document/document-entity-link.entity.d.ts +40 -0
  82. package/dist/entities/document/document-entity-link.entity.d.ts.map +1 -0
  83. package/dist/entities/document/document-entity-link.entity.js +72 -0
  84. package/dist/entities/document/document-entity-link.entity.js.map +1 -0
  85. package/dist/entities/document/document.entity.d.ts +70 -0
  86. package/dist/entities/document/document.entity.d.ts.map +1 -0
  87. package/dist/entities/document/document.entity.js +92 -0
  88. package/dist/entities/document/document.entity.js.map +1 -0
  89. package/dist/entities/inac/aeronave.entity.d.ts +106 -0
  90. package/dist/entities/inac/aeronave.entity.d.ts.map +1 -0
  91. package/dist/entities/inac/aeronave.entity.js +130 -0
  92. package/dist/entities/inac/aeronave.entity.js.map +1 -0
  93. package/dist/entities/inac/detentor.entity.d.ts +30 -0
  94. package/dist/entities/inac/detentor.entity.d.ts.map +1 -0
  95. package/dist/entities/inac/detentor.entity.js +61 -0
  96. package/dist/entities/inac/detentor.entity.js.map +1 -0
  97. package/dist/entities/index.d.ts +46 -0
  98. package/dist/entities/index.d.ts.map +1 -0
  99. package/dist/entities/index.js +81 -0
  100. package/dist/entities/index.js.map +1 -0
  101. package/dist/entities/ipsfa/ipsfa.entity.d.ts +53 -0
  102. package/dist/entities/ipsfa/ipsfa.entity.d.ts.map +1 -0
  103. package/dist/entities/ipsfa/ipsfa.entity.js +178 -0
  104. package/dist/entities/ipsfa/ipsfa.entity.js.map +1 -0
  105. package/dist/entities/ivss/ivss-affiliation.entity.d.ts +14 -0
  106. package/dist/entities/ivss/ivss-affiliation.entity.d.ts.map +1 -0
  107. package/dist/entities/ivss/ivss-affiliation.entity.js +61 -0
  108. package/dist/entities/ivss/ivss-affiliation.entity.js.map +1 -0
  109. package/dist/entities/ivss/ivss-annual-history.entity.d.ts +12 -0
  110. package/dist/entities/ivss/ivss-annual-history.entity.d.ts.map +1 -0
  111. package/dist/entities/ivss/ivss-annual-history.entity.js +52 -0
  112. package/dist/entities/ivss/ivss-annual-history.entity.js.map +1 -0
  113. package/dist/entities/ivss/ivss-insured.entity.d.ts +40 -0
  114. package/dist/entities/ivss/ivss-insured.entity.d.ts.map +1 -0
  115. package/dist/entities/ivss/ivss-insured.entity.js +115 -0
  116. package/dist/entities/ivss/ivss-insured.entity.js.map +1 -0
  117. package/dist/entities/ivss/person-ivss.entity.d.ts +11 -0
  118. package/dist/entities/ivss/person-ivss.entity.d.ts.map +1 -0
  119. package/dist/entities/ivss/person-ivss.entity.js +47 -0
  120. package/dist/entities/ivss/person-ivss.entity.js.map +1 -0
  121. package/dist/entities/notifications/system-notification.entity.d.ts +30 -0
  122. package/dist/entities/notifications/system-notification.entity.d.ts.map +1 -0
  123. package/dist/entities/notifications/system-notification.entity.js +105 -0
  124. package/dist/entities/notifications/system-notification.entity.js.map +1 -0
  125. package/dist/entities/notifications/user-notification-read.entity.d.ts +12 -0
  126. package/dist/entities/notifications/user-notification-read.entity.d.ts.map +1 -0
  127. package/dist/entities/notifications/user-notification-read.entity.js +56 -0
  128. package/dist/entities/notifications/user-notification-read.entity.js.map +1 -0
  129. package/dist/entities/person/person-criminal-data.entity.d.ts +9 -0
  130. package/dist/entities/person/person-criminal-data.entity.d.ts.map +1 -0
  131. package/dist/entities/person/person-criminal-data.entity.js +42 -0
  132. package/dist/entities/person/person-criminal-data.entity.js.map +1 -0
  133. package/dist/entities/person/person-data-telecom.entity.d.ts +11 -0
  134. package/dist/entities/person/person-data-telecom.entity.d.ts.map +1 -0
  135. package/dist/entities/person/person-data-telecom.entity.js +52 -0
  136. package/dist/entities/person/person-data-telecom.entity.js.map +1 -0
  137. package/dist/entities/person/person-fiscal-data.entity.d.ts +35 -0
  138. package/dist/entities/person/person-fiscal-data.entity.d.ts.map +1 -0
  139. package/dist/entities/person/person-fiscal-data.entity.js +138 -0
  140. package/dist/entities/person/person-fiscal-data.entity.js.map +1 -0
  141. package/dist/entities/person/person-identification.entity.d.ts +24 -0
  142. package/dist/entities/person/person-identification.entity.d.ts.map +1 -0
  143. package/dist/entities/person/person-identification.entity.js +102 -0
  144. package/dist/entities/person/person-identification.entity.js.map +1 -0
  145. package/dist/entities/person/person-iio.entity.d.ts +12 -0
  146. package/dist/entities/person/person-iio.entity.d.ts.map +1 -0
  147. package/dist/entities/person/person-iio.entity.js +56 -0
  148. package/dist/entities/person/person-iio.entity.js.map +1 -0
  149. package/dist/entities/person/person-migration.entity.d.ts +22 -0
  150. package/dist/entities/person/person-migration.entity.d.ts.map +1 -0
  151. package/dist/entities/person/person-migration.entity.js +93 -0
  152. package/dist/entities/person/person-migration.entity.js.map +1 -0
  153. package/dist/entities/person/person-police-data.entity.d.ts +9 -0
  154. package/dist/entities/person/person-police-data.entity.d.ts.map +1 -0
  155. package/dist/entities/person/person-police-data.entity.js +48 -0
  156. package/dist/entities/person/person-police-data.entity.js.map +1 -0
  157. package/dist/entities/person/person-political-data.entity.d.ts +12 -0
  158. package/dist/entities/person/person-political-data.entity.d.ts.map +1 -0
  159. package/dist/entities/person/person-political-data.entity.js +54 -0
  160. package/dist/entities/person/person-political-data.entity.js.map +1 -0
  161. package/dist/entities/person/person-prohibition.entity.d.ts +41 -0
  162. package/dist/entities/person/person-prohibition.entity.d.ts.map +1 -0
  163. package/dist/entities/person/person-prohibition.entity.js +176 -0
  164. package/dist/entities/person/person-prohibition.entity.js.map +1 -0
  165. package/dist/entities/person/person-repatriado.entity.d.ts +15 -0
  166. package/dist/entities/person/person-repatriado.entity.d.ts.map +1 -0
  167. package/dist/entities/person/person-repatriado.entity.js +67 -0
  168. package/dist/entities/person/person-repatriado.entity.js.map +1 -0
  169. package/dist/entities/person/person.entity.d.ts +64 -0
  170. package/dist/entities/person/person.entity.d.ts.map +1 -0
  171. package/dist/entities/person/person.entity.js +303 -0
  172. package/dist/entities/person/person.entity.js.map +1 -0
  173. package/dist/entities/person/photo-person.entity.d.ts +10 -0
  174. package/dist/entities/person/photo-person.entity.d.ts.map +1 -0
  175. package/dist/entities/person/photo-person.entity.js +41 -0
  176. package/dist/entities/person/photo-person.entity.js.map +1 -0
  177. package/dist/entities/person/photo.entity.d.ts +11 -0
  178. package/dist/entities/person/photo.entity.d.ts.map +1 -0
  179. package/dist/entities/person/photo.entity.js +46 -0
  180. package/dist/entities/person/photo.entity.js.map +1 -0
  181. package/dist/entities/political/person-political-party.entity.d.ts +13 -0
  182. package/dist/entities/political/person-political-party.entity.d.ts.map +1 -0
  183. package/dist/entities/political/person-political-party.entity.js +55 -0
  184. package/dist/entities/political/person-political-party.entity.js.map +1 -0
  185. package/dist/entities/political/political-party.entity.d.ts +14 -0
  186. package/dist/entities/political/political-party.entity.d.ts.map +1 -0
  187. package/dist/entities/political/political-party.entity.js +57 -0
  188. package/dist/entities/political/political-party.entity.js.map +1 -0
  189. package/dist/entities/repatriados/vuelta-a-la-patria.entity.d.ts +13 -0
  190. package/dist/entities/repatriados/vuelta-a-la-patria.entity.d.ts.map +1 -0
  191. package/dist/entities/repatriados/vuelta-a-la-patria.entity.js +54 -0
  192. package/dist/entities/repatriados/vuelta-a-la-patria.entity.js.map +1 -0
  193. package/dist/entities/seniat.entity.d.ts +67 -0
  194. package/dist/entities/seniat.entity.d.ts.map +1 -0
  195. package/dist/entities/seniat.entity.js +93 -0
  196. package/dist/entities/seniat.entity.js.map +1 -0
  197. package/dist/entities/telefonia/bts.entity.d.ts +20 -0
  198. package/dist/entities/telefonia/bts.entity.d.ts.map +1 -0
  199. package/dist/entities/telefonia/bts.entity.js +68 -0
  200. package/dist/entities/telefonia/bts.entity.js.map +1 -0
  201. package/dist/entities/telefonia/historial-ubicacion.entity.d.ts +39 -0
  202. package/dist/entities/telefonia/historial-ubicacion.entity.d.ts.map +1 -0
  203. package/dist/entities/telefonia/historial-ubicacion.entity.js +61 -0
  204. package/dist/entities/telefonia/historial-ubicacion.entity.js.map +1 -0
  205. package/dist/entities/telefonia/index.d.ts +5 -0
  206. package/dist/entities/telefonia/index.d.ts.map +1 -0
  207. package/dist/entities/telefonia/index.js +21 -0
  208. package/dist/entities/telefonia/index.js.map +1 -0
  209. package/dist/entities/telefonia/m_digitel_2024.entity.d.ts +14 -0
  210. package/dist/entities/telefonia/m_digitel_2024.entity.d.ts.map +1 -0
  211. package/dist/entities/telefonia/m_digitel_2024.entity.js +64 -0
  212. package/dist/entities/telefonia/m_digitel_2024.entity.js.map +1 -0
  213. package/dist/entities/telefonia/m_digitel_2025.entity.d.ts +16 -0
  214. package/dist/entities/telefonia/m_digitel_2025.entity.d.ts.map +1 -0
  215. package/dist/entities/telefonia/m_digitel_2025.entity.js +74 -0
  216. package/dist/entities/telefonia/m_digitel_2025.entity.js.map +1 -0
  217. package/dist/entities/telefonia/m_movilnet_api_latest.entity.d.ts +121 -0
  218. package/dist/entities/telefonia/m_movilnet_api_latest.entity.d.ts.map +1 -0
  219. package/dist/entities/telefonia/m_movilnet_api_latest.entity.js +92 -0
  220. package/dist/entities/telefonia/m_movilnet_api_latest.entity.js.map +1 -0
  221. package/dist/entities/telefonia/telefonia.entity.d.ts +58 -0
  222. package/dist/entities/telefonia/telefonia.entity.d.ts.map +1 -0
  223. package/dist/entities/telefonia/telefonia.entity.js +77 -0
  224. package/dist/entities/telefonia/telefonia.entity.js.map +1 -0
  225. package/dist/entities/user-profile/index.d.ts +4 -0
  226. package/dist/entities/user-profile/index.d.ts.map +1 -0
  227. package/dist/entities/user-profile/index.js +10 -0
  228. package/dist/entities/user-profile/index.js.map +1 -0
  229. package/dist/entities/user-profile/user-profile-visit.entity.d.ts +16 -0
  230. package/dist/entities/user-profile/user-profile-visit.entity.d.ts.map +1 -0
  231. package/dist/entities/user-profile/user-profile-visit.entity.js +75 -0
  232. package/dist/entities/user-profile/user-profile-visit.entity.js.map +1 -0
  233. package/dist/entities/user-profile/user-search-log.entity.d.ts +15 -0
  234. package/dist/entities/user-profile/user-search-log.entity.d.ts.map +1 -0
  235. package/dist/entities/user-profile/user-search-log.entity.js +71 -0
  236. package/dist/entities/user-profile/user-search-log.entity.js.map +1 -0
  237. package/dist/entities/user-profile/user-session-log.entity.d.ts +19 -0
  238. package/dist/entities/user-profile/user-session-log.entity.d.ts.map +1 -0
  239. package/dist/entities/user-profile/user-session-log.entity.js +87 -0
  240. package/dist/entities/user-profile/user-session-log.entity.js.map +1 -0
  241. package/dist/entities/user.entity.d.ts +21 -0
  242. package/dist/entities/user.entity.d.ts.map +1 -0
  243. package/dist/entities/user.entity.js +94 -0
  244. package/dist/entities/user.entity.js.map +1 -0
  245. package/dist/entities/vehicle/vehicle.entity.d.ts +38 -0
  246. package/dist/entities/vehicle/vehicle.entity.d.ts.map +1 -0
  247. package/dist/entities/vehicle/vehicle.entity.js +78 -0
  248. package/dist/entities/vehicle/vehicle.entity.js.map +1 -0
  249. package/dist/enums/index.d.ts +2 -0
  250. package/dist/enums/index.d.ts.map +1 -0
  251. package/dist/enums/index.js +18 -0
  252. package/dist/enums/index.js.map +1 -0
  253. package/dist/enums/photo.enum.d.ts +6 -0
  254. package/dist/enums/photo.enum.d.ts.map +1 -0
  255. package/dist/enums/photo.enum.js +10 -0
  256. package/dist/enums/photo.enum.js.map +1 -0
  257. package/dist/index.d.ts +14 -0
  258. package/dist/index.d.ts.map +1 -0
  259. package/dist/index.js +32 -0
  260. package/dist/index.js.map +1 -0
  261. package/package.json +43 -0
@@ -0,0 +1,28 @@
1
+ import { GlobalBase } from '../base/_global-base';
2
+ import { PersonPoliceData } from '../person/person-police-data.entity';
3
+ export declare class CpnbGeneral extends GlobalBase {
4
+ cedula: string;
5
+ nombres?: string;
6
+ sexo?: string;
7
+ rango?: string;
8
+ dependencia?: string;
9
+ region?: string;
10
+ estado?: string;
11
+ servicio?: string;
12
+ cohorte?: string;
13
+ institucionOrigen?: string;
14
+ fechaIngresoCpnb?: Date;
15
+ telefono?: string;
16
+ status?: string;
17
+ fechaNacimiento?: Date;
18
+ edadFuncionario?: number;
19
+ fechaOficio?: Date;
20
+ fechaTransferencia?: Date;
21
+ tipoMovimiento?: string;
22
+ observaciones?: string;
23
+ fechaEgreso?: Date;
24
+ direccion?: string;
25
+ correoElectronico?: string;
26
+ policeData?: PersonPoliceData;
27
+ }
28
+ //# sourceMappingURL=cpnb_general.entity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cpnb_general.entity.d.ts","sourceRoot":"","sources":["../../../src/entities/cpnb/cpnb_general.entity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AAGvE,qBAEa,WAAY,SAAQ,UAAU;IAEzC,MAAM,EAAG,MAAM,CAAC;IAGhB,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,WAAW,CAAC,EAAE,MAAM,CAAC;IAGrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,OAAO,CAAC,EAAE,MAAM,CAAC;IAGjB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAG3B,gBAAgB,CAAC,EAAE,IAAI,CAAC;IAGxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,eAAe,CAAC,EAAE,IAAI,CAAC;IAGvB,eAAe,CAAC,EAAE,MAAM,CAAC;IAGzB,WAAW,CAAC,EAAE,IAAI,CAAC;IAGnB,kBAAkB,CAAC,EAAE,IAAI,CAAC;IAG1B,cAAc,CAAC,EAAE,MAAM,CAAC;IAGxB,aAAa,CAAC,EAAE,MAAM,CAAC;IAGvB,WAAW,CAAC,EAAE,IAAI,CAAC;IAGnB,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAQ3B,UAAU,CAAC,EAAE,gBAAgB,CAAC;CAC/B"}
@@ -0,0 +1,121 @@
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.CpnbGeneral = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const _global_base_1 = require("../base/_global-base");
15
+ const person_police_data_entity_1 = require("../person/person-police-data.entity");
16
+ const typeorm_1 = require("typeorm");
17
+ let CpnbGeneral = class CpnbGeneral extends _global_base_1.GlobalBase {
18
+ };
19
+ exports.CpnbGeneral = CpnbGeneral;
20
+ __decorate([
21
+ (0, typeorm_1.Column)({ type: 'varchar', length: 15, nullable: false, unique: true }),
22
+ __metadata("design:type", String)
23
+ ], CpnbGeneral.prototype, "cedula", void 0);
24
+ __decorate([
25
+ (0, typeorm_1.Column)({ type: 'varchar', length: 200, nullable: true }),
26
+ __metadata("design:type", String)
27
+ ], CpnbGeneral.prototype, "nombres", void 0);
28
+ __decorate([
29
+ (0, typeorm_1.Column)({ type: 'varchar', length: 1, nullable: true }),
30
+ __metadata("design:type", String)
31
+ ], CpnbGeneral.prototype, "sexo", void 0);
32
+ __decorate([
33
+ (0, typeorm_1.Column)({ type: 'varchar', length: 50, nullable: true }),
34
+ __metadata("design:type", String)
35
+ ], CpnbGeneral.prototype, "rango", void 0);
36
+ __decorate([
37
+ (0, typeorm_1.Column)({ type: 'varchar', length: 200, nullable: true }),
38
+ __metadata("design:type", String)
39
+ ], CpnbGeneral.prototype, "dependencia", void 0);
40
+ __decorate([
41
+ (0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
42
+ __metadata("design:type", String)
43
+ ], CpnbGeneral.prototype, "region", void 0);
44
+ __decorate([
45
+ (0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
46
+ __metadata("design:type", String)
47
+ ], CpnbGeneral.prototype, "estado", void 0);
48
+ __decorate([
49
+ (0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
50
+ __metadata("design:type", String)
51
+ ], CpnbGeneral.prototype, "servicio", void 0);
52
+ __decorate([
53
+ (0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
54
+ __metadata("design:type", String)
55
+ ], CpnbGeneral.prototype, "cohorte", void 0);
56
+ __decorate([
57
+ (0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
58
+ __metadata("design:type", String)
59
+ ], CpnbGeneral.prototype, "institucionOrigen", void 0);
60
+ __decorate([
61
+ (0, typeorm_1.Column)({ type: 'date', nullable: true }),
62
+ __metadata("design:type", Date)
63
+ ], CpnbGeneral.prototype, "fechaIngresoCpnb", void 0);
64
+ __decorate([
65
+ (0, typeorm_1.Column)({ type: 'varchar', length: 255, nullable: true }),
66
+ __metadata("design:type", String)
67
+ ], CpnbGeneral.prototype, "telefono", void 0);
68
+ __decorate([
69
+ (0, typeorm_1.Column)({ type: 'varchar', length: 10, nullable: true }),
70
+ __metadata("design:type", String)
71
+ ], CpnbGeneral.prototype, "status", void 0);
72
+ __decorate([
73
+ (0, typeorm_1.Column)({ type: 'date', nullable: true }),
74
+ __metadata("design:type", Date)
75
+ ], CpnbGeneral.prototype, "fechaNacimiento", void 0);
76
+ __decorate([
77
+ (0, typeorm_1.Column)({ type: 'int', nullable: true }),
78
+ __metadata("design:type", Number)
79
+ ], CpnbGeneral.prototype, "edadFuncionario", void 0);
80
+ __decorate([
81
+ (0, typeorm_1.Column)({ type: 'date', nullable: true }),
82
+ __metadata("design:type", Date)
83
+ ], CpnbGeneral.prototype, "fechaOficio", void 0);
84
+ __decorate([
85
+ (0, typeorm_1.Column)({ type: 'date', nullable: true }),
86
+ __metadata("design:type", Date)
87
+ ], CpnbGeneral.prototype, "fechaTransferencia", void 0);
88
+ __decorate([
89
+ (0, typeorm_1.Column)({ type: 'varchar', length: 100, nullable: true }),
90
+ __metadata("design:type", String)
91
+ ], CpnbGeneral.prototype, "tipoMovimiento", void 0);
92
+ __decorate([
93
+ (0, typeorm_1.Column)({ type: 'text', nullable: true }),
94
+ __metadata("design:type", String)
95
+ ], CpnbGeneral.prototype, "observaciones", void 0);
96
+ __decorate([
97
+ (0, typeorm_1.Column)({ type: 'date', nullable: true }),
98
+ __metadata("design:type", Date)
99
+ ], CpnbGeneral.prototype, "fechaEgreso", void 0);
100
+ __decorate([
101
+ (0, typeorm_1.Column)({ type: 'text', nullable: true }),
102
+ __metadata("design:type", String)
103
+ ], CpnbGeneral.prototype, "direccion", void 0);
104
+ __decorate([
105
+ (0, typeorm_1.Column)({ type: 'varchar', length: 250, nullable: true }),
106
+ __metadata("design:type", String)
107
+ ], CpnbGeneral.prototype, "correoElectronico", void 0);
108
+ __decorate([
109
+ (0, class_transformer_1.Exclude)({ toPlainOnly: true }),
110
+ (0, typeorm_1.OneToOne)(() => person_police_data_entity_1.PersonPoliceData, (policeData) => policeData.cpnbGeneral, {
111
+ nullable: true,
112
+ onDelete: 'CASCADE',
113
+ onUpdate: 'CASCADE',
114
+ }),
115
+ __metadata("design:type", person_police_data_entity_1.PersonPoliceData)
116
+ ], CpnbGeneral.prototype, "policeData", void 0);
117
+ exports.CpnbGeneral = CpnbGeneral = __decorate([
118
+ (0, typeorm_1.Entity)('cpnb_general'),
119
+ (0, typeorm_1.Index)('cpnb_general_cedula_idx', ['cedula'], { unique: true })
120
+ ], CpnbGeneral);
121
+ //# sourceMappingURL=cpnb_general.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cpnb_general.entity.js","sourceRoot":"","sources":["../../../src/entities/cpnb/cpnb_general.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA4C;AAC5C,uDAAkD;AAClD,mFAAuE;AACvE,qCAA0D;AAInD,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,yBAAU;CA0E1C,CAAA;AA1EY,kCAAW;AAEtB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;2CACvD;AAGhB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;4CACxC;AAGjB;IADC,IAAA,gBAAM,EAAC,EAAE,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AAC,UAAU,EAAE,EAAE,CAAC,UAAU,CAAC,WAAW,EAAE;QACxE,QAAQ,EAAE,IAAI;QACd,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACpB,CAAC;8BACW,4CAAgB;+CAAC;sBAzEnB,WAAW;IAFvB,IAAA,gBAAM,EAAC,cAAc,CAAC;IACtB,IAAA,eAAK,EAAC,yBAAyB,EAAE,CAAC,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;GAClD,WAAW,CA0EvB"}
@@ -0,0 +1,14 @@
1
+ import { GlobalBase } from '../base/_global-base';
2
+ import { Person } from '../person/person.entity';
3
+ export declare class Sipolnab extends GlobalBase {
4
+ identification?: string;
5
+ firstName?: string;
6
+ secondName?: string;
7
+ firstLastname?: string;
8
+ secondLastname?: string;
9
+ email?: string;
10
+ range?: number;
11
+ statusIn?: number;
12
+ person?: Person;
13
+ }
14
+ //# sourceMappingURL=sipolnab.entity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sipolnab.entity.d.ts","sourceRoot":"","sources":["../../../src/entities/cpnb/sipolnab.entity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AAGjD,qBAEa,QAAS,SAAQ,UAAU;IAEtC,cAAc,CAAC,EAAE,MAAM,CAAC;IAGxB,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,UAAU,CAAC,EAAE,MAAM,CAAC;IAGpB,aAAa,CAAC,EAAE,MAAM,CAAC;IAGvB,cAAc,CAAC,EAAE,MAAM,CAAC;IAGxB,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,KAAK,CAAC,EAAE,MAAM,CAAC;IAGf,QAAQ,CAAC,EAAE,MAAM,CAAC;IASlB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
@@ -0,0 +1,66 @@
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.Sipolnab = void 0;
13
+ const class_transformer_1 = require("class-transformer");
14
+ const _global_base_1 = require("../base/_global-base");
15
+ const person_entity_1 = require("../person/person.entity");
16
+ const typeorm_1 = require("typeorm");
17
+ let Sipolnab = class Sipolnab extends _global_base_1.GlobalBase {
18
+ };
19
+ exports.Sipolnab = Sipolnab;
20
+ __decorate([
21
+ (0, typeorm_1.Column)({ type: 'varchar', length: 10, nullable: true }),
22
+ __metadata("design:type", String)
23
+ ], Sipolnab.prototype, "identification", void 0);
24
+ __decorate([
25
+ (0, typeorm_1.Column)({ type: 'varchar', length: 150, nullable: true }),
26
+ __metadata("design:type", String)
27
+ ], Sipolnab.prototype, "firstName", void 0);
28
+ __decorate([
29
+ (0, typeorm_1.Column)({ type: 'varchar', length: 150, nullable: true }),
30
+ __metadata("design:type", String)
31
+ ], Sipolnab.prototype, "secondName", void 0);
32
+ __decorate([
33
+ (0, typeorm_1.Column)({ type: 'varchar', length: 150, nullable: true }),
34
+ __metadata("design:type", String)
35
+ ], Sipolnab.prototype, "firstLastname", void 0);
36
+ __decorate([
37
+ (0, typeorm_1.Column)({ type: 'varchar', length: 150, nullable: true }),
38
+ __metadata("design:type", String)
39
+ ], Sipolnab.prototype, "secondLastname", void 0);
40
+ __decorate([
41
+ (0, typeorm_1.Column)({ type: 'varchar', length: 250, nullable: true }),
42
+ __metadata("design:type", String)
43
+ ], Sipolnab.prototype, "email", void 0);
44
+ __decorate([
45
+ (0, typeorm_1.Column)({ type: 'int', nullable: true }),
46
+ __metadata("design:type", Number)
47
+ ], Sipolnab.prototype, "range", void 0);
48
+ __decorate([
49
+ (0, typeorm_1.Column)({ type: 'int', nullable: true }),
50
+ __metadata("design:type", Number)
51
+ ], Sipolnab.prototype, "statusIn", void 0);
52
+ __decorate([
53
+ (0, class_transformer_1.Exclude)({ toPlainOnly: true }),
54
+ (0, typeorm_1.OneToOne)(() => person_entity_1.Person, (person) => person.militarData, {
55
+ nullable: true,
56
+ onDelete: 'CASCADE',
57
+ onUpdate: 'CASCADE',
58
+ }),
59
+ (0, typeorm_1.JoinColumn)(),
60
+ __metadata("design:type", person_entity_1.Person)
61
+ ], Sipolnab.prototype, "person", void 0);
62
+ exports.Sipolnab = Sipolnab = __decorate([
63
+ (0, typeorm_1.Entity)('sipolnab'),
64
+ (0, typeorm_1.Index)('sipolnab_identification_idx', ['identification'], { unique: true })
65
+ ], Sipolnab);
66
+ //# sourceMappingURL=sipolnab.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sipolnab.entity.js","sourceRoot":"","sources":["../../../src/entities/cpnb/sipolnab.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA4C;AAC5C,uDAAkD;AAClD,2DAAiD;AACjD,qCAAsE;AAI/D,IAAM,QAAQ,GAAd,MAAM,QAAS,SAAQ,yBAAU;CAiCvC,CAAA;AAjCY,4BAAQ;AAEnB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gDAChC;AAGxB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,I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,10 @@
1
+ import { BaseEntity } from 'typeorm';
2
+ import { PersonPoliticalData } from '../person/person-political-data.entity';
3
+ export declare class CicpcSolicitados extends BaseEntity {
4
+ id: string;
5
+ cedula: string;
6
+ status: string;
7
+ razon: string;
8
+ personData?: PersonPoliticalData;
9
+ }
10
+ //# sourceMappingURL=cicpc-solicitados.entity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cicpc-solicitados.entity.d.ts","sourceRoot":"","sources":["../../../src/entities/criminal/cicpc-solicitados.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAIH,UAAU,EAGX,MAAM,SAAS,CAAC;AACnB,OAAO,EAAE,mBAAmB,EAAE,MAAM,wCAAwC,CAAC;AAE3E,qBAEa,gBAAiB,SAAQ,UAAU;IAE9C,EAAE,EAAG,MAAM,CAAC;IAGZ,MAAM,EAAG,MAAM,CAAC;IAGhB,MAAM,EAAG,MAAM,CAAC;IAGhB,KAAK,EAAG,MAAM,CAAC;IAGf,UAAU,CAAC,EAAE,mBAAmB,CAAC;CAClC"}
@@ -0,0 +1,43 @@
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.CicpcSolicitados = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ const person_political_data_entity_1 = require("../person/person-political-data.entity");
15
+ let CicpcSolicitados = class CicpcSolicitados extends typeorm_1.BaseEntity {
16
+ };
17
+ exports.CicpcSolicitados = CicpcSolicitados;
18
+ __decorate([
19
+ (0, typeorm_1.PrimaryGeneratedColumn)('uuid'),
20
+ __metadata("design:type", String)
21
+ ], CicpcSolicitados.prototype, "id", void 0);
22
+ __decorate([
23
+ (0, typeorm_1.Column)({ type: "varchar", length: 13, nullable: false }),
24
+ __metadata("design:type", String)
25
+ ], CicpcSolicitados.prototype, "cedula", void 0);
26
+ __decorate([
27
+ (0, typeorm_1.Column)({ type: "varchar", length: 100, nullable: false }),
28
+ __metadata("design:type", String)
29
+ ], CicpcSolicitados.prototype, "status", void 0);
30
+ __decorate([
31
+ (0, typeorm_1.Column)({ type: "varchar", length: 150, nullable: true }),
32
+ __metadata("design:type", String)
33
+ ], CicpcSolicitados.prototype, "razon", void 0);
34
+ __decorate([
35
+ (0, typeorm_1.OneToOne)(() => person_political_data_entity_1.PersonPoliticalData, (personPoliticalData) => personPoliticalData.comprobacionRevocatorio2016) // Relación 1:1
36
+ ,
37
+ __metadata("design:type", person_political_data_entity_1.PersonPoliticalData)
38
+ ], CicpcSolicitados.prototype, "personData", void 0);
39
+ exports.CicpcSolicitados = CicpcSolicitados = __decorate([
40
+ (0, typeorm_1.Entity)('cicpc_solicitados'),
41
+ (0, typeorm_1.Index)('cicpc_solicitados_cedula_idx', ['cedula'], { unique: false })
42
+ ], CicpcSolicitados);
43
+ //# sourceMappingURL=cicpc-solicitados.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cicpc-solicitados.entity.js","sourceRoot":"","sources":["../../../src/entities/criminal/cicpc-solicitados.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAOmB;AACnB,yFAA6E;AAIpE,IAAM,gBAAgB,GAAtB,MAAM,gBAAiB,SAAQ,oBAAU;CAe/C,CAAA;AAfY,4CAAgB;AAE3B;IADC,IAAA,gCAAsB,EAAC,MAAM,CAAC;;4CACnB;AAGZ;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;gDACzC;AAGhB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;gDAC1C;AAGhB;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+CAC1C;AAGf;IADC,IAAA,kBAAQ,EAAC,GAAG,EAAE,CAAC,kDAAmB,EAAE,CAAC,mBAAmB,EAAE,EAAE,CAAC,mBAAmB,CAAC,2BAA2B,CAAC,CAAC,eAAe;;8BACjH,kDAAmB;oDAAC;2BAdtB,gBAAgB;IAF5B,IAAA,gBAAM,EAAC,mBAAmB,CAAC;IAC3B,IAAA,eAAK,EAAC,8BAA8B,EAAE,CAAC,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC;GACxD,gBAAgB,CAe5B"}
@@ -0,0 +1,10 @@
1
+ import { GlobalBase } from '../base/_global-base';
2
+ import { Phone } from './phone.entity';
3
+ import { PersonDataTelecom } from '../person/person-data-telecom.entity';
4
+ export declare class PersonRelationPhone extends GlobalBase {
5
+ phone: Phone;
6
+ relationType?: string;
7
+ fuente?: string;
8
+ personDataTelecom?: PersonDataTelecom;
9
+ }
10
+ //# sourceMappingURL=person-relation-phone.entity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"person-relation-phone.entity.d.ts","sourceRoot":"","sources":["../../../src/entities/data-telecom/person-relation-phone.entity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AAEzE,qBAGa,mBAAoB,SAAQ,UAAU;IAMjD,KAAK,EAAG,KAAK,CAAC;IAQd,YAAY,CAAC,EAAE,MAAM,CAAC;IAQtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAYhB,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;CACvC"}
@@ -0,0 +1,60 @@
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.PersonRelationPhone = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ const _global_base_1 = require("../base/_global-base");
15
+ const phone_entity_1 = require("./phone.entity");
16
+ const person_data_telecom_entity_1 = require("../person/person-data-telecom.entity");
17
+ let PersonRelationPhone = class PersonRelationPhone extends _global_base_1.GlobalBase {
18
+ };
19
+ exports.PersonRelationPhone = PersonRelationPhone;
20
+ __decorate([
21
+ (0, typeorm_1.ManyToOne)(() => phone_entity_1.Phone, (phone) => phone.relations, {
22
+ onDelete: 'CASCADE', // Al eliminar Phone, eliminar PersonRelationPhone
23
+ onUpdate: 'CASCADE',
24
+ }),
25
+ (0, typeorm_1.JoinColumn)(),
26
+ __metadata("design:type", phone_entity_1.Phone)
27
+ ], PersonRelationPhone.prototype, "phone", void 0);
28
+ __decorate([
29
+ (0, typeorm_1.Column)({
30
+ name: 'relation_type',
31
+ type: 'varchar',
32
+ length: 100,
33
+ nullable: true,
34
+ }),
35
+ __metadata("design:type", String)
36
+ ], PersonRelationPhone.prototype, "relationType", void 0);
37
+ __decorate([
38
+ (0, typeorm_1.Column)({
39
+ name: 'fuente',
40
+ type: 'varchar',
41
+ length: 75,
42
+ nullable: true,
43
+ }),
44
+ __metadata("design:type", String)
45
+ ], PersonRelationPhone.prototype, "fuente", void 0);
46
+ __decorate([
47
+ (0, typeorm_1.ManyToOne)(() => person_data_telecom_entity_1.PersonDataTelecom, (personDataTelecom) => personDataTelecom.relationPhones, {
48
+ onDelete: 'SET NULL',
49
+ onUpdate: 'CASCADE',
50
+ nullable: true,
51
+ }),
52
+ (0, typeorm_1.JoinColumn)({ name: 'person_data_telecom_id' }),
53
+ __metadata("design:type", person_data_telecom_entity_1.PersonDataTelecom)
54
+ ], PersonRelationPhone.prototype, "personDataTelecom", void 0);
55
+ exports.PersonRelationPhone = PersonRelationPhone = __decorate([
56
+ (0, typeorm_1.Entity)({ name: 'dt_person_relation_phone' }),
57
+ (0, typeorm_1.Index)('idx_prp_phone_id', ['phone']),
58
+ (0, typeorm_1.Index)('idx_prp_person_data_telecom_id', ['personDataTelecom'])
59
+ ], PersonRelationPhone);
60
+ //# sourceMappingURL=person-relation-phone.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"person-relation-phone.entity.js","sourceRoot":"","sources":["../../../src/entities/data-telecom/person-relation-phone.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAuE;AACvE,uDAAkD;AAClD,iDAAuC;AACvC,qFAAyE;AAKlE,IAAM,mBAAmB,GAAzB,MAAM,mBAAoB,SAAQ,yBAAU;CAmClD,CAAA;AAnCY,kDAAmB;AAM9B;IALC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,oBAAK,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,SAAS,EAAE;QAClD,QAAQ,EAAE,SAAS,EAAE,kDAAkD;QACvE,QAAQ,EAAE,SAAS;KACpB,CAAC;IACD,IAAA,oBAAU,GAAE;8BACL,oBAAK;kDAAC;AAQd;IANC,IAAA,gBAAM,EAAC;QACN,IAAI,EAAE,eAAe;QACrB,IAAI,EAAE,SAAS;QACf,MAAM,EAAE,GAAG;QACX,QAAQ,EAAE,IAAI;KACf,CAAC;;yDACoB;AAQtB;IANC,IAAA,gBAAM,EAAC;QACN,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,SAAS;QACf,MAAM,EAAE,EAAE;QACV,QAAQ,EAAE,IAAI;KACf,CAAC;;mDACc;AAYhB;IAVC,IAAA,mBAAS,EACR,GAAG,EAAE,CAAC,8CAAiB,EACvB,CAAC,iBAAiB,EAAE,EAAE,CAAC,iBAAiB,CAAC,cAAc,EACvD;QACE,QAAQ,EAAE,UAAU;QACpB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,IAAI;KACf,CACF;IACA,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,wBAAwB,EAAE,CAAC;8BAC3B,8CAAiB;8DAAC;8BAlC3B,mBAAmB;IAH/B,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,0BAA0B,EAAE,CAAC;IAC5C,IAAA,eAAK,EAAC,kBAAkB,EAAE,CAAC,OAAO,CAAC,CAAC;IACpC,IAAA,eAAK,EAAC,gCAAgC,EAAE,CAAC,mBAAmB,CAAC,CAAC;GAClD,mBAAmB,CAmC/B"}
@@ -0,0 +1,19 @@
1
+ import { GlobalBase } from '../base/_global-base';
2
+ import { Phone } from './phone.entity';
3
+ import { PersonDataTelecom } from '../person/person-data-telecom.entity';
4
+ export declare class PersonSuscriptorPhone extends GlobalBase {
5
+ phone: Phone;
6
+ professionSuscriptor?: string;
7
+ estado?: string;
8
+ ciudad?: string;
9
+ municipio?: string;
10
+ direccion?: string;
11
+ estadoLinea?: string;
12
+ tipoChip?: string;
13
+ imei?: string;
14
+ imsi?: string;
15
+ fechaActivacion?: Date;
16
+ fuente?: string;
17
+ personDataTelecom?: PersonDataTelecom;
18
+ }
19
+ //# sourceMappingURL=person-suscriptor-phone.entity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"person-suscriptor-phone.entity.d.ts","sourceRoot":"","sources":["../../../src/entities/data-telecom/person-suscriptor-phone.entity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AACvC,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AAEzE,qBAGa,qBAAsB,SAAQ,UAAU;IAMnD,KAAK,EAAG,KAAK,CAAC;IAQd,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAG9B,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,SAAS,CAAC,EAAE,MAAM,CAAC;IAGnB,SAAS,CAAC,EAAE,MAAM,CAAC;IAQnB,WAAW,CAAC,EAAE,MAAM,CAAC;IAQrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAQlB,IAAI,CAAC,EAAE,MAAM,CAAC;IAQd,IAAI,CAAC,EAAE,MAAM,CAAC;IAGd,eAAe,CAAC,EAAE,IAAI,CAAC;IAQvB,MAAM,CAAC,EAAE,MAAM,CAAC;IAYhB,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;CACvC"}
@@ -0,0 +1,116 @@
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.PersonSuscriptorPhone = void 0;
13
+ const typeorm_1 = require("typeorm");
14
+ const _global_base_1 = require("../base/_global-base");
15
+ const phone_entity_1 = require("./phone.entity");
16
+ const person_data_telecom_entity_1 = require("../person/person-data-telecom.entity");
17
+ let PersonSuscriptorPhone = class PersonSuscriptorPhone extends _global_base_1.GlobalBase {
18
+ };
19
+ exports.PersonSuscriptorPhone = PersonSuscriptorPhone;
20
+ __decorate([
21
+ (0, typeorm_1.ManyToOne)(() => phone_entity_1.Phone, (phone) => phone.suscriptors, {
22
+ onDelete: 'CASCADE', // Al eliminar Phone, eliminar PersonSuscriptorPhone
23
+ onUpdate: 'CASCADE',
24
+ }),
25
+ (0, typeorm_1.JoinColumn)(),
26
+ __metadata("design:type", phone_entity_1.Phone)
27
+ ], PersonSuscriptorPhone.prototype, "phone", void 0);
28
+ __decorate([
29
+ (0, typeorm_1.Column)({
30
+ name: 'profession_suscriptor',
31
+ type: 'varchar',
32
+ length: 100,
33
+ nullable: true,
34
+ }),
35
+ __metadata("design:type", String)
36
+ ], PersonSuscriptorPhone.prototype, "professionSuscriptor", void 0);
37
+ __decorate([
38
+ (0, typeorm_1.Column)({ name: 'estado', type: 'varchar', length: 100, nullable: true }),
39
+ __metadata("design:type", String)
40
+ ], PersonSuscriptorPhone.prototype, "estado", void 0);
41
+ __decorate([
42
+ (0, typeorm_1.Column)({ name: 'ciudad', type: 'varchar', length: 100, nullable: true }),
43
+ __metadata("design:type", String)
44
+ ], PersonSuscriptorPhone.prototype, "ciudad", void 0);
45
+ __decorate([
46
+ (0, typeorm_1.Column)({ name: 'municipio', type: 'varchar', length: 100, nullable: true }),
47
+ __metadata("design:type", String)
48
+ ], PersonSuscriptorPhone.prototype, "municipio", void 0);
49
+ __decorate([
50
+ (0, typeorm_1.Column)({ name: 'direccion', type: 'varchar', length: 300, nullable: true }),
51
+ __metadata("design:type", String)
52
+ ], PersonSuscriptorPhone.prototype, "direccion", void 0);
53
+ __decorate([
54
+ (0, typeorm_1.Column)({
55
+ name: 'eastado_linea',
56
+ type: 'varchar',
57
+ length: 50,
58
+ nullable: true,
59
+ }),
60
+ __metadata("design:type", String)
61
+ ], PersonSuscriptorPhone.prototype, "estadoLinea", void 0);
62
+ __decorate([
63
+ (0, typeorm_1.Column)({
64
+ name: 'tipo_chip',
65
+ type: 'varchar',
66
+ length: 20,
67
+ nullable: true,
68
+ }),
69
+ __metadata("design:type", String)
70
+ ], PersonSuscriptorPhone.prototype, "tipoChip", void 0);
71
+ __decorate([
72
+ (0, typeorm_1.Column)({
73
+ name: 'imei',
74
+ type: 'varchar',
75
+ length: 20,
76
+ nullable: true,
77
+ }),
78
+ __metadata("design:type", String)
79
+ ], PersonSuscriptorPhone.prototype, "imei", void 0);
80
+ __decorate([
81
+ (0, typeorm_1.Column)({
82
+ name: 'imsi',
83
+ type: 'varchar',
84
+ length: 20,
85
+ nullable: true,
86
+ }),
87
+ __metadata("design:type", String)
88
+ ], PersonSuscriptorPhone.prototype, "imsi", void 0);
89
+ __decorate([
90
+ (0, typeorm_1.Column)({ name: 'fecha_activacion', type: 'date', nullable: true }),
91
+ __metadata("design:type", Date)
92
+ ], PersonSuscriptorPhone.prototype, "fechaActivacion", void 0);
93
+ __decorate([
94
+ (0, typeorm_1.Column)({
95
+ name: 'fuente',
96
+ type: 'varchar',
97
+ length: 75,
98
+ nullable: true,
99
+ }),
100
+ __metadata("design:type", String)
101
+ ], PersonSuscriptorPhone.prototype, "fuente", void 0);
102
+ __decorate([
103
+ (0, typeorm_1.ManyToOne)(() => person_data_telecom_entity_1.PersonDataTelecom, (personDataTelecom) => personDataTelecom.suscriptorPhones, {
104
+ onDelete: 'SET NULL',
105
+ onUpdate: 'CASCADE',
106
+ nullable: true,
107
+ }),
108
+ (0, typeorm_1.JoinColumn)({ name: 'person_data_telecom_id' }),
109
+ __metadata("design:type", person_data_telecom_entity_1.PersonDataTelecom)
110
+ ], PersonSuscriptorPhone.prototype, "personDataTelecom", void 0);
111
+ exports.PersonSuscriptorPhone = PersonSuscriptorPhone = __decorate([
112
+ (0, typeorm_1.Entity)({ name: 'dt_person_suscriptor_phone' }),
113
+ (0, typeorm_1.Index)('idx_psp_phone_id', ['phone']),
114
+ (0, typeorm_1.Index)('idx_psp_person_data_telecom_id', ['personDataTelecom'])
115
+ ], PersonSuscriptorPhone);
116
+ //# sourceMappingURL=person-suscriptor-phone.entity.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"person-suscriptor-phone.entity.js","sourceRoot":"","sources":["../../../src/entities/data-telecom/person-suscriptor-phone.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAuE;AACvE,uDAAkD;AAClD,iDAAuC;AACvC,qFAAyE;AAKlE,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,yBAAU;CAkFpD,CAAA;AAlFY,sDAAqB;AAMhC;IALC,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,oBAAK,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,CAAC,WAAW,EAAE;QACpD,QAAQ,EAAE,SAAS,EAAE,oDAAoD;QACzE,QAAQ,EAAE,SAAS;KACpB,CAAC;IACD,IAAA,oBAAU,GAAE;8BACL,oBAAK;oDAAC;AAQd;IANC,IAAA,gBAAM,EAAC;QACN,IAAI,EAAE,uBAAuB;QAC7B,IAAI,EAAE,SAAS;QACf,MAAM,EAAE,GAAG;QACX,QAAQ,EAAE,IAAI;KACf,CAAC;;mEAC4B;AAG9B;IADC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;qDACzD;AAGhB;IADC,IAAA,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EAAE,EAAE;QACV,QAAQ,EAAE,IAAI;KACf,CAAC;;qDACc;AAYhB;IAVC,IAAA,mBAAS,EACR,GAAG,EAAE,CAAC,8CAAiB,EACvB,CAAC,iBAAiB,EAAE,EAAE,CAAC,iBAAiB,CAAC,gBAAgB,EACzD;QACE,QAAQ,EAAE,UAAU;QACpB,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,IAAI;KACf,CACF;IACA,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,wBAAwB,EAAE,CAAC;8BAC3B,8CAAiB;gEAAC;gCAjF3B,qBAAqB;IAHjC,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,4BAA4B,EAAE,CAAC;IAC9C,IAAA,eAAK,EAAC,kBAAkB,EAAE,CAAC,OAAO,CAAC,CAAC;IACpC,IAAA,eAAK,EAAC,gCAAgC,EAAE,CAAC,mBAAmB,CAAC,CAAC;GAClD,qBAAqB,CAkFjC"}
@@ -0,0 +1,19 @@
1
+ import { GlobalBase } from '../base/_global-base';
2
+ import { PersonSuscriptorPhone } from './person-suscriptor-phone.entity';
3
+ import { PersonRelationPhone } from './person-relation-phone.entity';
4
+ /**
5
+ * Entidad que representa los datos de telefonía.
6
+ */
7
+ export declare class Phone extends GlobalBase {
8
+ /**
9
+ * Número de teléfono.
10
+ * Cadena de 15 caracteres.
11
+ */
12
+ number?: string;
13
+ countryCode?: string;
14
+ operatorCode?: string;
15
+ operatorName?: string;
16
+ suscriptors: PersonSuscriptorPhone[];
17
+ relations: PersonRelationPhone[];
18
+ }
19
+ //# sourceMappingURL=phone.entity.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"phone.entity.d.ts","sourceRoot":"","sources":["../../../src/entities/data-telecom/phone.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,OAAO,EAAE,qBAAqB,EAAE,MAAM,kCAAkC,CAAC;AACzE,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAErE;;GAEG;AACH,qBAEa,KAAM,SAAQ,UAAU;IACnC;;;OAGG;IAEH,MAAM,CAAC,EAAE,MAAM,CAAC;IAIhB,WAAW,CAAC,EAAE,MAAM,CAAC;IASrB,YAAY,CAAC,EAAE,MAAM,CAAC;IAStB,YAAY,CAAC,EAAE,MAAM,CAAC;IAUtB,WAAW,EAAG,qBAAqB,EAAE,CAAC;IAUtC,SAAS,EAAG,mBAAmB,EAAE,CAAC;CACnC"}
@@ -0,0 +1,67 @@
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.Phone = void 0;
13
+ const _global_base_1 = require("../base/_global-base");
14
+ const typeorm_1 = require("typeorm");
15
+ const person_suscriptor_phone_entity_1 = require("./person-suscriptor-phone.entity");
16
+ const person_relation_phone_entity_1 = require("./person-relation-phone.entity");
17
+ /**
18
+ * Entidad que representa los datos de telefonía.
19
+ */
20
+ let Phone = class Phone extends _global_base_1.GlobalBase {
21
+ };
22
+ exports.Phone = Phone;
23
+ __decorate([
24
+ (0, typeorm_1.Column)({ name: 'number', type: 'varchar', length: 25, nullable: false }),
25
+ __metadata("design:type", String)
26
+ ], Phone.prototype, "number", void 0);
27
+ __decorate([
28
+ (0, typeorm_1.Column)({ name: 'country_code', type: 'varchar', length: 5, nullable: false }),
29
+ __metadata("design:type", String)
30
+ ], Phone.prototype, "countryCode", void 0);
31
+ __decorate([
32
+ (0, typeorm_1.Column)({
33
+ name: 'operator_code',
34
+ type: 'varchar',
35
+ length: 5,
36
+ nullable: false,
37
+ }),
38
+ __metadata("design:type", String)
39
+ ], Phone.prototype, "operatorCode", void 0);
40
+ __decorate([
41
+ (0, typeorm_1.Column)({
42
+ name: 'operator_name',
43
+ type: 'varchar',
44
+ length: 50,
45
+ nullable: false,
46
+ }),
47
+ __metadata("design:type", String)
48
+ ], Phone.prototype, "operatorName", void 0);
49
+ __decorate([
50
+ (0, typeorm_1.OneToMany)(() => person_suscriptor_phone_entity_1.PersonSuscriptorPhone, (personSuscriptorPhone) => personSuscriptorPhone.phone, {
51
+ onDelete: 'CASCADE', // Al eliminar Phone, eliminar PersonSuscriptorPhone
52
+ onUpdate: 'CASCADE',
53
+ }),
54
+ __metadata("design:type", Array)
55
+ ], Phone.prototype, "suscriptors", void 0);
56
+ __decorate([
57
+ (0, typeorm_1.OneToMany)(() => person_relation_phone_entity_1.PersonRelationPhone, (personRelationPhone) => personRelationPhone.phone, {
58
+ onDelete: 'CASCADE', // Al eliminar Phone, eliminar PersonRelationPhone
59
+ onUpdate: 'CASCADE',
60
+ }),
61
+ __metadata("design:type", Array)
62
+ ], Phone.prototype, "relations", void 0);
63
+ exports.Phone = Phone = __decorate([
64
+ (0, typeorm_1.Entity)({ name: 'dt_phone' }),
65
+ (0, typeorm_1.Index)('idx_number', ['number'], { unique: true })
66
+ ], Phone);
67
+ //# sourceMappingURL=phone.entity.js.map