sigesp 0.9.8-20221205 → 0.9.10-20221210

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 (148) hide show
  1. package/bundles/sigesp.umd.js +532 -281
  2. package/bundles/sigesp.umd.js.map +1 -1
  3. package/bundles/sigesp.umd.min.js +15 -1
  4. package/bundles/sigesp.umd.min.js.map +1 -1
  5. package/esm2015/lib/core/interfaces/Auditoria.js +1 -1
  6. package/esm2015/lib/core/interfaces/Clasificacion.js +1 -1
  7. package/esm2015/lib/core/interfaces/CuentasPorPagar.js +1 -1
  8. package/esm2015/lib/core/interfaces/Nomina.js +1 -1
  9. package/esm2015/lib/core/interfaces/RecursosHumanos.js +1 -1
  10. package/esm2015/lib/core/models/CXP/MConceptosCXP.model.js +6 -3
  11. package/esm2015/lib/core/models/CXP/MTipoDocumentoCXP.model.js +6 -3
  12. package/esm2015/lib/core/models/RPC/clasification.model.js +4 -2
  13. package/esm2015/lib/core/models/SNO/MAnticipoPrestaciones.model.js +4 -1
  14. package/esm2015/lib/core/models/SNO/MArchivoTxtCampo.model.js +6 -3
  15. package/esm2015/lib/core/models/SNO/MArchivosTxt.model.js +6 -3
  16. package/esm2015/lib/core/models/SNO/MAsignacionCargo.model.js +6 -3
  17. package/esm2015/lib/core/models/SNO/MAspectoEvaluacion.model.js +11 -5
  18. package/esm2015/lib/core/models/SNO/MAuditoria.model.js +5 -2
  19. package/esm2015/lib/core/models/SNO/MBeneficiario.model.js +6 -3
  20. package/esm2015/lib/core/models/SNO/MCargosPersonal.model.js +6 -2
  21. package/esm2015/lib/core/models/SNO/MClasificacionObrero.mdel.js +6 -3
  22. package/esm2015/lib/core/models/SNO/MCodigoUnicoRac.model.js +6 -3
  23. package/esm2015/lib/core/models/SNO/MComponete.model.js +6 -3
  24. package/esm2015/lib/core/models/SNO/MConceptoVacaciones.model.js +5 -2
  25. package/esm2015/lib/core/models/SNO/MConceptosNomina.model.js +5 -2
  26. package/esm2015/lib/core/models/SNO/MConceptosPersonalNomina.model.js +6 -3
  27. package/esm2015/lib/core/models/SNO/MConcursante.model.js +26 -11
  28. package/esm2015/lib/core/models/SNO/MConcurso.model.js +21 -9
  29. package/esm2015/lib/core/models/SNO/MConfiguracionSNO.model.js +5 -2
  30. package/esm2015/lib/core/models/SNO/MConstanteNomina.model.js +5 -2
  31. package/esm2015/lib/core/models/SNO/MConstantePersonalNomina.model.js +5 -2
  32. package/esm2015/lib/core/models/SNO/MDedicacion.model.js +6 -3
  33. package/esm2015/lib/core/models/SNO/MDefinicionNomina.model.js +6 -3
  34. package/esm2015/lib/core/models/SNO/MDefinicionesBasicas.model.js +12 -3
  35. package/esm2015/lib/core/models/SNO/MDeudaAnterior.model.js +4 -1
  36. package/esm2015/lib/core/models/SNO/MEncargaduria.model.js +6 -3
  37. package/esm2015/lib/core/models/SNO/MEscalaEvaluacion.model.js +6 -3
  38. package/esm2015/lib/core/models/SNO/MEscalaEvaluacionDt.model.js +6 -3
  39. package/esm2015/lib/core/models/SNO/MEstructuraOrganizativa.model.js +6 -3
  40. package/esm2015/lib/core/models/SNO/MFamiliares.model.js +6 -3
  41. package/esm2015/lib/core/models/SNO/MFideicomiso.model.js +27 -9
  42. package/esm2015/lib/core/models/SNO/MFormacionAcademica.model.js +6 -3
  43. package/esm2015/lib/core/models/SNO/MGrado.model.js +6 -3
  44. package/esm2015/lib/core/models/SNO/MHojaTiempo.model.js +7 -2
  45. package/esm2015/lib/core/models/SNO/MImpuestoSobreRenta.model.js +4 -1
  46. package/esm2015/lib/core/models/SNO/MMetodoBanco.model.js +11 -5
  47. package/esm2015/lib/core/models/SNO/MNominaSimple.model.js +6 -3
  48. package/esm2015/lib/core/models/SNO/MPeriodoNomina.model.js +6 -3
  49. package/esm2015/lib/core/models/SNO/MPermisos.model.js +4 -1
  50. package/esm2015/lib/core/models/SNO/MPersonal.model.js +27 -9
  51. package/esm2015/lib/core/models/SNO/MPersonalJubilado.model.js +6 -3
  52. package/esm2015/lib/core/models/SNO/MPersonalNomina.model.js +13 -3
  53. package/esm2015/lib/core/models/SNO/MPlanHorario.model.js +30 -45
  54. package/esm2015/lib/core/models/SNO/MPrestamo.model.js +10 -1
  55. package/esm2015/lib/core/models/SNO/MPrimaGrados.model.js +6 -3
  56. package/esm2015/lib/core/models/SNO/MPrimasConcepto.model.js +5 -2
  57. package/esm2015/lib/core/models/SNO/MRango.model.js +6 -3
  58. package/esm2015/lib/core/models/SNO/MRequisitosConcursante.model.js +6 -3
  59. package/esm2015/lib/core/models/SNO/MRequisitosConcursos.model.js +6 -3
  60. package/esm2015/lib/core/models/SNO/MRequisitosMinimos.model.js +11 -5
  61. package/esm2015/lib/core/models/SNO/MSalarioHistorico.model.js +6 -3
  62. package/esm2015/lib/core/models/SNO/MSolicitudEmpleo.model.js +6 -3
  63. package/esm2015/lib/core/models/SNO/MTablaVacaciones.model.js +6 -3
  64. package/esm2015/lib/core/models/SNO/MTablaVacacionesPeriodo.model.js +6 -3
  65. package/esm2015/lib/core/models/SNO/MTabulador.model.js +11 -5
  66. package/esm2015/lib/core/models/SNO/MTipoEvaluacion.model.js +11 -5
  67. package/esm2015/lib/core/models/SNO/MTipoPersonal.model.js +6 -3
  68. package/esm2015/lib/core/models/SNO/MTiposEnfermedad.model.js +6 -3
  69. package/esm2015/lib/core/models/SNO/MTrabajoAnterior.model.js +4 -1
  70. package/esm2015/lib/core/models/SNO/MUbicacionFisica.model.js +6 -3
  71. package/esm2015/lib/core/models/SNO/MVacacionesPersonal.model.js +6 -3
  72. package/esm2015/lib/core/models/SNO/McargaFamiliar.model.js +6 -3
  73. package/esm2015/lib/sigesp.service.js +18 -2
  74. package/esm2015/public-api.js +2 -2
  75. package/fesm2015/sigesp.js +524 -251
  76. package/fesm2015/sigesp.js.map +1 -1
  77. package/lib/core/interfaces/Auditoria.d.ts +2 -1
  78. package/lib/core/interfaces/Clasificacion.d.ts +1 -0
  79. package/lib/core/interfaces/CuentasPorPagar.d.ts +6 -3
  80. package/lib/core/interfaces/Nomina.d.ts +31 -14
  81. package/lib/core/interfaces/RecursosHumanos.d.ts +140 -57
  82. package/lib/core/models/CXP/MConceptosCXP.model.d.ts +1 -0
  83. package/lib/core/models/CXP/MTipoDocumentoCXP.model.d.ts +1 -0
  84. package/lib/core/models/RPC/clasification.model.d.ts +1 -0
  85. package/lib/core/models/SNO/MAnticipoPrestaciones.model.d.ts +1 -0
  86. package/lib/core/models/SNO/MArchivoTxtCampo.model.d.ts +1 -0
  87. package/lib/core/models/SNO/MArchivosTxt.model.d.ts +1 -0
  88. package/lib/core/models/SNO/MAsignacionCargo.model.d.ts +1 -0
  89. package/lib/core/models/SNO/MAspectoEvaluacion.model.d.ts +2 -0
  90. package/lib/core/models/SNO/MAuditoria.model.d.ts +1 -0
  91. package/lib/core/models/SNO/MBeneficiario.model.d.ts +1 -0
  92. package/lib/core/models/SNO/MCargosPersonal.model.d.ts +1 -0
  93. package/lib/core/models/SNO/MClasificacionObrero.mdel.d.ts +1 -0
  94. package/lib/core/models/SNO/MCodigoUnicoRac.model.d.ts +1 -0
  95. package/lib/core/models/SNO/MComponete.model.d.ts +1 -0
  96. package/lib/core/models/SNO/MConceptoVacaciones.model.d.ts +1 -0
  97. package/lib/core/models/SNO/MConceptosNomina.model.d.ts +1 -0
  98. package/lib/core/models/SNO/MConceptosPersonalNomina.model.d.ts +1 -0
  99. package/lib/core/models/SNO/MConcursante.model.d.ts +5 -0
  100. package/lib/core/models/SNO/MConcurso.model.d.ts +4 -0
  101. package/lib/core/models/SNO/MConfiguracionSNO.model.d.ts +1 -0
  102. package/lib/core/models/SNO/MConstanteNomina.model.d.ts +1 -0
  103. package/lib/core/models/SNO/MConstantePersonalNomina.model.d.ts +1 -0
  104. package/lib/core/models/SNO/MDedicacion.model.d.ts +1 -0
  105. package/lib/core/models/SNO/MDefinicionNomina.model.d.ts +1 -0
  106. package/lib/core/models/SNO/MDefinicionesBasicas.model.d.ts +3 -0
  107. package/lib/core/models/SNO/MDeudaAnterior.model.d.ts +1 -0
  108. package/lib/core/models/SNO/MEncargaduria.model.d.ts +1 -0
  109. package/lib/core/models/SNO/MEscalaEvaluacion.model.d.ts +1 -0
  110. package/lib/core/models/SNO/MEscalaEvaluacionDt.model.d.ts +1 -0
  111. package/lib/core/models/SNO/MEstructuraOrganizativa.model.d.ts +1 -0
  112. package/lib/core/models/SNO/MFamiliares.model.d.ts +1 -0
  113. package/lib/core/models/SNO/MFideicomiso.model.d.ts +8 -0
  114. package/lib/core/models/SNO/MFormacionAcademica.model.d.ts +1 -0
  115. package/lib/core/models/SNO/MGrado.model.d.ts +1 -0
  116. package/lib/core/models/SNO/MHojaTiempo.model.d.ts +2 -0
  117. package/lib/core/models/SNO/MImpuestoSobreRenta.model.d.ts +1 -0
  118. package/lib/core/models/SNO/MMetodoBanco.model.d.ts +2 -0
  119. package/lib/core/models/SNO/MNominaSimple.model.d.ts +1 -0
  120. package/lib/core/models/SNO/MPeriodoNomina.model.d.ts +1 -0
  121. package/lib/core/models/SNO/MPermisos.model.d.ts +1 -0
  122. package/lib/core/models/SNO/MPersonal.model.d.ts +6 -0
  123. package/lib/core/models/SNO/MPersonalJubilado.model.d.ts +1 -0
  124. package/lib/core/models/SNO/MPersonalNomina.model.d.ts +4 -0
  125. package/lib/core/models/SNO/MPlanHorario.model.d.ts +8 -13
  126. package/lib/core/models/SNO/MPrestamo.model.d.ts +3 -0
  127. package/lib/core/models/SNO/MPrimaGrados.model.d.ts +1 -0
  128. package/lib/core/models/SNO/MPrimasConcepto.model.d.ts +1 -0
  129. package/lib/core/models/SNO/MRango.model.d.ts +1 -0
  130. package/lib/core/models/SNO/MRequisitosConcursante.model.d.ts +1 -0
  131. package/lib/core/models/SNO/MRequisitosConcursos.model.d.ts +1 -0
  132. package/lib/core/models/SNO/MRequisitosMinimos.model.d.ts +2 -0
  133. package/lib/core/models/SNO/MSalarioHistorico.model.d.ts +1 -0
  134. package/lib/core/models/SNO/MSolicitudEmpleo.model.d.ts +1 -0
  135. package/lib/core/models/SNO/MTablaVacaciones.model.d.ts +1 -0
  136. package/lib/core/models/SNO/MTablaVacacionesPeriodo.model.d.ts +1 -0
  137. package/lib/core/models/SNO/MTabulador.model.d.ts +2 -0
  138. package/lib/core/models/SNO/MTipoEvaluacion.model.d.ts +2 -0
  139. package/lib/core/models/SNO/MTipoPersonal.model.d.ts +1 -0
  140. package/lib/core/models/SNO/MTiposEnfermedad.model.d.ts +1 -0
  141. package/lib/core/models/SNO/MTrabajoAnterior.model.d.ts +1 -0
  142. package/lib/core/models/SNO/MUbicacionFisica.model.d.ts +1 -0
  143. package/lib/core/models/SNO/MVacacionesPersonal.model.d.ts +1 -0
  144. package/lib/core/models/SNO/McargaFamiliar.model.d.ts +1 -0
  145. package/lib/sigesp.service.d.ts +8 -0
  146. package/package.json +1 -1
  147. package/public-api.d.ts +1 -1
  148. package/sigesp.metadata.json +1 -1
@@ -1,34 +1,12 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common/http'), require('rxjs'), require('rxjs/operators'), require('@angular/material/dialog'), require('@angular/material/table'), require('@angular/material/paginator'), require('@angular/material/sort'), require('ngx-toastr'), require('@angular/cdk/collections'), require('sweetalert2'), require('crypto-js'), require('@angular/common'), require('@angular/cdk/table'), require('@angular/cdk/tree'), require('@angular/material-moment-adapter'), require('@angular/cdk/portal'), require('@angular/cdk/scrolling'), require('@angular/cdk/drag-drop'), require('@angular/cdk/a11y'), require('@angular/cdk/stepper'), require('@angular/material/button'), require('@angular/material/toolbar'), require('@angular/material/core'), require('@angular/material/icon'), require('@angular/material/sidenav'), require('@angular/material/list'), require('@angular/material/select'), require('@angular/material/input'), require('@angular/material/progress-spinner'), require('@angular/material/divider'), require('@angular/material/expansion'), require('@angular/material/autocomplete'), require('@angular/material/badge'), require('@angular/material/bottom-sheet'), require('@angular/material/button-toggle'), require('@angular/material/card'), require('@angular/material/checkbox'), require('@angular/material/chips'), require('@angular/material/stepper'), require('@angular/material/datepicker'), require('@angular/material/grid-list'), require('@angular/material/menu'), require('@angular/material/progress-bar'), require('@angular/material/radio'), require('@angular/material/slider'), require('@angular/material/slide-toggle'), require('@angular/material/snack-bar'), require('@angular/material/tabs'), require('@angular/material/tooltip'), require('@angular/material/tree'), require('@angular/forms'), require('moment')) :
3
- typeof define === 'function' && define.amd ? define('sigesp', ['exports', '@angular/core', '@angular/common/http', 'rxjs', 'rxjs/operators', '@angular/material/dialog', '@angular/material/table', '@angular/material/paginator', '@angular/material/sort', 'ngx-toastr', '@angular/cdk/collections', 'sweetalert2', 'crypto-js', '@angular/common', '@angular/cdk/table', '@angular/cdk/tree', '@angular/material-moment-adapter', '@angular/cdk/portal', '@angular/cdk/scrolling', '@angular/cdk/drag-drop', '@angular/cdk/a11y', '@angular/cdk/stepper', '@angular/material/button', '@angular/material/toolbar', '@angular/material/core', '@angular/material/icon', '@angular/material/sidenav', '@angular/material/list', '@angular/material/select', '@angular/material/input', '@angular/material/progress-spinner', '@angular/material/divider', '@angular/material/expansion', '@angular/material/autocomplete', '@angular/material/badge', '@angular/material/bottom-sheet', '@angular/material/button-toggle', '@angular/material/card', '@angular/material/checkbox', '@angular/material/chips', '@angular/material/stepper', '@angular/material/datepicker', '@angular/material/grid-list', '@angular/material/menu', '@angular/material/progress-bar', '@angular/material/radio', '@angular/material/slider', '@angular/material/slide-toggle', '@angular/material/snack-bar', '@angular/material/tabs', '@angular/material/tooltip', '@angular/material/tree', '@angular/forms', 'moment'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.sigesp = {}, global.ng.core, global.ng.common.http, global.rxjs, global.rxjs.operators, global.ng.material.dialog, global.ng.material.table, global.ng.material.paginator, global.ng.material.sort, global.i3, global.ng.cdk.collections, global.Swal, global.CryptoJS, global.ng.common, global.ng.cdk.table, global.ng.cdk.tree, global.ng.materialMomentAdapter, global.ng.cdk.portal, global.ng.cdk.scrolling, global.ng.cdk.dragDrop, global.ng.cdk.a11y, global.ng.cdk.stepper, global.ng.material.button, global.ng.material.toolbar, global.ng.material.core, global.ng.material.icon, global.ng.material.sidenav, global.ng.material.list, global.ng.material.select, global.ng.material.input, global.ng.material.progressSpinner, global.ng.material.divider, global.ng.material.expansion, global.ng.material.autocomplete, global.ng.material.badge, global.ng.material.bottomSheet, global.ng.material.buttonToggle, global.ng.material.card, global.ng.material.checkbox, global.ng.material.chips, global.ng.material.stepper, global.ng.material.datepicker, global.ng.material.gridList, global.ng.material.menu, global.ng.material.progressBar, global.ng.material.radio, global.ng.material.slider, global.ng.material.slideToggle, global.ng.material.snackBar, global.ng.material.tabs, global.ng.material.tooltip, global.ng.material.tree, global.ng.forms, global.moment));
5
- }(this, (function (exports, i0, i1, rxjs, operators, i2, table, paginator, sort, i3, collections, Swal, CryptoJS, common, table$1, tree, materialMomentAdapter, portal, scrolling, dragDrop, a11y, stepper, button, toolbar, core, icon, sidenav, list, select, input, progressSpinner, divider, expansion, autocomplete, badge, bottomSheet, buttonToggle, card, checkbox, chips, stepper$1, datepicker, gridList, menu, progressBar, radio, slider, slideToggle, snackBar, tabs, tooltip, tree$1, forms, moment$3) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common/http'), require('rxjs'), require('rxjs/operators'), require('@angular/material/dialog'), require('@angular/material/table'), require('@angular/material/paginator'), require('@angular/material/sort'), require('ngx-toastr'), require('@angular/cdk/collections'), require('sweetalert2'), require('crypto-js'), require('@angular/common'), require('@angular/cdk/table'), require('@angular/cdk/tree'), require('@angular/material-moment-adapter'), require('@angular/cdk/portal'), require('@angular/cdk/scrolling'), require('@angular/cdk/drag-drop'), require('@angular/cdk/a11y'), require('@angular/cdk/stepper'), require('@angular/material/button'), require('@angular/material/toolbar'), require('@angular/material/core'), require('@angular/material/icon'), require('@angular/material/sidenav'), require('@angular/material/list'), require('@angular/material/select'), require('@angular/material/input'), require('@angular/material/progress-spinner'), require('@angular/material/divider'), require('@angular/material/expansion'), require('@angular/material/autocomplete'), require('@angular/material/badge'), require('@angular/material/bottom-sheet'), require('@angular/material/button-toggle'), require('@angular/material/card'), require('@angular/material/checkbox'), require('@angular/material/chips'), require('@angular/material/stepper'), require('@angular/material/datepicker'), require('@angular/material/grid-list'), require('@angular/material/menu'), require('@angular/material/progress-bar'), require('@angular/material/radio'), require('@angular/material/slider'), require('@angular/material/slide-toggle'), require('@angular/material/snack-bar'), require('@angular/material/tabs'), require('@angular/material/tooltip'), require('@angular/material/tree'), require('@angular/forms')) :
3
+ typeof define === 'function' && define.amd ? define('sigesp', ['exports', '@angular/core', '@angular/common/http', 'rxjs', 'rxjs/operators', '@angular/material/dialog', '@angular/material/table', '@angular/material/paginator', '@angular/material/sort', 'ngx-toastr', '@angular/cdk/collections', 'sweetalert2', 'crypto-js', '@angular/common', '@angular/cdk/table', '@angular/cdk/tree', '@angular/material-moment-adapter', '@angular/cdk/portal', '@angular/cdk/scrolling', '@angular/cdk/drag-drop', '@angular/cdk/a11y', '@angular/cdk/stepper', '@angular/material/button', '@angular/material/toolbar', '@angular/material/core', '@angular/material/icon', '@angular/material/sidenav', '@angular/material/list', '@angular/material/select', '@angular/material/input', '@angular/material/progress-spinner', '@angular/material/divider', '@angular/material/expansion', '@angular/material/autocomplete', '@angular/material/badge', '@angular/material/bottom-sheet', '@angular/material/button-toggle', '@angular/material/card', '@angular/material/checkbox', '@angular/material/chips', '@angular/material/stepper', '@angular/material/datepicker', '@angular/material/grid-list', '@angular/material/menu', '@angular/material/progress-bar', '@angular/material/radio', '@angular/material/slider', '@angular/material/slide-toggle', '@angular/material/snack-bar', '@angular/material/tabs', '@angular/material/tooltip', '@angular/material/tree', '@angular/forms'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.sigesp = {}, global.ng.core, global.ng.common.http, global.rxjs, global.rxjs.operators, global.ng.material.dialog, global.ng.material.table, global.ng.material.paginator, global.ng.material.sort, global.i3, global.ng.cdk.collections, global.Swal, global.CryptoJS, global.ng.common, global.ng.cdk.table, global.ng.cdk.tree, global.ng.materialMomentAdapter, global.ng.cdk.portal, global.ng.cdk.scrolling, global.ng.cdk.dragDrop, global.ng.cdk.a11y, global.ng.cdk.stepper, global.ng.material.button, global.ng.material.toolbar, global.ng.material.core, global.ng.material.icon, global.ng.material.sidenav, global.ng.material.list, global.ng.material.select, global.ng.material.input, global.ng.material.progressSpinner, global.ng.material.divider, global.ng.material.expansion, global.ng.material.autocomplete, global.ng.material.badge, global.ng.material.bottomSheet, global.ng.material.buttonToggle, global.ng.material.card, global.ng.material.checkbox, global.ng.material.chips, global.ng.material.stepper, global.ng.material.datepicker, global.ng.material.gridList, global.ng.material.menu, global.ng.material.progressBar, global.ng.material.radio, global.ng.material.slider, global.ng.material.slideToggle, global.ng.material.snackBar, global.ng.material.tabs, global.ng.material.tooltip, global.ng.material.tree, global.ng.forms));
5
+ }(this, (function (exports, i0, i1, rxjs, operators, i2, table, paginator, sort, i3, collections, Swal, CryptoJS, common, table$1, tree, materialMomentAdapter, portal, scrolling, dragDrop, a11y, stepper, button, toolbar, core, icon, sidenav, list, select, input, progressSpinner, divider, expansion, autocomplete, badge, bottomSheet, buttonToggle, card, checkbox, chips, stepper$1, datepicker, gridList, menu, progressBar, radio, slider, slideToggle, snackBar, tabs, tooltip, tree$1, forms) { 'use strict';
6
6
 
7
7
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
8
 
9
- function _interopNamespace(e) {
10
- if (e && e.__esModule) { return e; } else {
11
- var n = Object.create(null);
12
- if (e) {
13
- Object.keys(e).forEach(function (k) {
14
- if (k !== 'default') {
15
- var d = Object.getOwnPropertyDescriptor(e, k);
16
- Object.defineProperty(n, k, d.get ? d : {
17
- enumerable: true,
18
- get: function () {
19
- return e[k];
20
- }
21
- });
22
- }
23
- });
24
- }
25
- n['default'] = e;
26
- return Object.freeze(n);
27
- }
28
- }
29
-
30
9
  var Swal__default = /*#__PURE__*/_interopDefaultLegacy(Swal);
31
- var moment__namespace = /*#__PURE__*/_interopNamespace(moment$3);
32
10
 
33
11
  /*! *****************************************************************************
34
12
  Copyright (c) Microsoft Corporation.
@@ -348,12 +326,82 @@
348
326
  return MBasicModel;
349
327
  }());
350
328
 
329
+ var MEnterprise = /** @class */ (function (_super) {
330
+ __extends(MEnterprise, _super);
331
+ function MEnterprise(e) {
332
+ var _this = _super.call(this) || this;
333
+ _this.idEmpresa = 0;
334
+ _this.idEnterprise = 0;
335
+ _this.codigo = '';
336
+ _this.razonSocial = '';
337
+ _this.titulo = '';
338
+ _this.logo = '';
339
+ _this.rif = '';
340
+ _this.direccion = '';
341
+ _this.cuentaIngreso = '';
342
+ _this.CuentaPorCobrar = '';
343
+ _this.CuentaIva = '';
344
+ _this.cuentaInventario = '';
345
+ _this.cuentaUtilidad = '';
346
+ _this.cuentaPerdida = '';
347
+ _this.cuentaPasivoDiferido = '';
348
+ _this.cuentAnterior = '';
349
+ _this.cuentSobrante = '';
350
+ if (e) {
351
+ _this.idEmpresa = +e.id_empresa;
352
+ _this.idEnterprise = +e.id_enterprise;
353
+ _this.codigo = e.codigo;
354
+ _this.razonSocial = e.denominacion;
355
+ _this.titulo = e.titulo;
356
+ _this.logo = e.logo;
357
+ _this.rif = e.rif;
358
+ _this.direccion = e.direccion;
359
+ _this.cuentaIngreso = e.spi_cuenta;
360
+ _this.CuentaPorCobrar = e.sc_cuenta_cxc;
361
+ _this.CuentaIva = e.sc_cuenta_iva;
362
+ _this.cuentaInventario = e.sc_cuenta_inventario;
363
+ _this.cuentaUtilidad = e.sc_cuenta_utilidad;
364
+ _this.cuentaPerdida = e.sc_cuenta_perdida;
365
+ _this.cuentaPasivoDiferido = e.sc_cuenta_pasivo_diferido;
366
+ _this.cuentAnterior = e.sc_cuenta_ant;
367
+ _this.cuentSobrante = e.spi_cuenta_sobrante;
368
+ }
369
+ else {
370
+ _this.isNew = true;
371
+ }
372
+ return _this;
373
+ }
374
+ MEnterprise.prototype.dataInterface = function () {
375
+ return {
376
+ id_empresa: this.idEmpresa.toString(),
377
+ id_enterprise: this.idEnterprise.toString(),
378
+ codigo: this.codigo,
379
+ denominacion: this.razonSocial,
380
+ titulo: this.titulo,
381
+ logo: this.logo,
382
+ rif: this.rif,
383
+ direccion: this.direccion,
384
+ spi_cuenta: this.cuentaIngreso,
385
+ sc_cuenta_cxc: this.CuentaPorCobrar,
386
+ sc_cuenta_iva: this.CuentaIva,
387
+ sc_cuenta_inventario: this.cuentaInventario,
388
+ sc_cuenta_utilidad: this.cuentaUtilidad,
389
+ sc_cuenta_perdida: this.cuentaPerdida,
390
+ sc_cuenta_pasivo_diferido: this.cuentaPasivoDiferido,
391
+ sc_cuenta_ant: this.cuentAnterior,
392
+ spi_cuenta_sobrante: this.cuentSobrante
393
+ };
394
+ };
395
+ return MEnterprise;
396
+ }(MBasicModel));
397
+
351
398
  var MPersonalNomina = /** @class */ (function (_super) {
352
399
  __extends(MPersonalNomina, _super);
353
400
  function MPersonalNomina(e) {
354
401
  if (e === void 0) { e = null; }
355
402
  var _this = _super.call(this) || this;
356
403
  _this.idEmpresa = 0;
404
+ _this.idEnterprise = 0;
357
405
  _this.idPersonalNomina = 0;
358
406
  _this.idPersonal = 0;
359
407
  _this.idNomina = 1;
@@ -440,8 +488,12 @@
440
488
  _this.idClasificadorDocente = 0;
441
489
  _this.codigoClasificador = '';
442
490
  _this.denominacionClasificador = '';
491
+ _this.idPlanHorario = 0;
492
+ _this.codigoPlanHorario = '';
493
+ _this.denominacionPlanHorario = '';
443
494
  if (e) {
444
- _this.idEmpresa = parseInt(e.id_empresa);
495
+ _this.idEnterprise = +e.id_enterprise;
496
+ _this.idEmpresa = e.id_empresa;
445
497
  _this.idPersonalNomina = parseInt(e.id_personalnomina);
446
498
  _this.idPersonal = parseInt(e.id_personal);
447
499
  _this.idNomina = parseInt(e.id_nomina);
@@ -547,6 +599,9 @@
547
599
  _this.nombreBanco = e.codban_ctaper;
548
600
  _this.idBanco = parseInt(e.id_banco_ctaper);
549
601
  }
602
+ _this.idPlanHorario = +e.id_planhor;
603
+ _this.codigoPlanHorario = e.codplanhor;
604
+ _this.denominacionPlanHorario = e.denplanhor;
550
605
  }
551
606
  else {
552
607
  _this.isNew = true;
@@ -563,7 +618,8 @@
563
618
  this.codigoGrado = '0';
564
619
  }
565
620
  return {
566
- id_empresa: this.idEmpresa.toString(),
621
+ id_empresa: this.idEmpresa,
622
+ id_enterprise: this.idEnterprise.toString(),
567
623
  id_personalnomina: this.idPersonalNomina.toString(),
568
624
  id_personal: this.idPersonal.toString(),
569
625
  id_nomina: this.idNomina.toString(),
@@ -644,6 +700,7 @@
644
700
  monsalgra: this.montoSaldoGrado.toString(),
645
701
  apeper: this.apellidoPersonal,
646
702
  id_clasificacion_docente: this.idClasificadorDocente.toString(),
703
+ id_planhor: this.idPlanHorario.toString()
647
704
  };
648
705
  };
649
706
  return MPersonalNomina;
@@ -654,6 +711,7 @@
654
711
  function MHojaTiempo(e) {
655
712
  if (e === void 0) { e = null; }
656
713
  var _this = _super.call(this) || this;
714
+ _this.idEnterprise = 0;
657
715
  _this.idEmpresa = 0;
658
716
  _this.idPersonalNomina = 0;
659
717
  _this.idPeriodo = 0;
@@ -673,6 +731,7 @@
673
731
  _this.fechaDesdePeriodo = '1900-01-01';
674
732
  _this.fechaHastaPeriodo = '1900-01-01';
675
733
  if (e) {
734
+ _this.idEnterprise = +e.id_enterprise;
676
735
  _this.idEmpresa = +e.id_empresa;
677
736
  _this.idPersonalNomina = +e.id_personalnomina;
678
737
  _this.fechaHojaTiempo = e.fechojtie;
@@ -700,7 +759,8 @@
700
759
  }
701
760
  MHojaTiempo.prototype.dataInterface = function () {
702
761
  return {
703
- id_empresa: this.idEmpresa.toString(),
762
+ id_enterprise: this.idEnterprise.toString(),
763
+ id_empresa: this.idEmpresa,
704
764
  id_personalnomina: this.idPersonalNomina.toString(),
705
765
  fechojtie: this.fechaHojaTiempo,
706
766
  esthojtie: this.estatusHojaTiempo.toString(),
@@ -726,6 +786,7 @@
726
786
  __extends(MHorario, _super);
727
787
  function MHorario(e) {
728
788
  var _this = _super.call(this) || this;
789
+ _this.idEnterprise = 0;
729
790
  _this.idEmpresa = 0;
730
791
  _this.idHora = 0;
731
792
  _this.codigoHorario = '';
@@ -753,6 +814,7 @@
753
814
  }
754
815
  MHorario.prototype.dataInterface = function () {
755
816
  return {
817
+ id_enterprise: this.idEnterprise.toString(),
756
818
  id_empresa: this.idEmpresa,
757
819
  id_hora: this.idHora,
758
820
  codhor: this.codigoHorario,
@@ -2086,13 +2148,15 @@
2086
2148
  var MClasification = /** @class */ (function () {
2087
2149
  function MClasification(clasi) {
2088
2150
  this.id = null;
2089
- this.idEmpresa = null;
2151
+ this.idEnterprise = 0;
2152
+ this.idEmpresa = 0;
2090
2153
  this.denomination = null;
2091
2154
  this.isNew = false;
2092
2155
  this.error = false;
2093
2156
  this.selected = false;
2094
2157
  this.id = parseInt(clasi.id_clasificacion);
2095
2158
  this.idEmpresa = parseInt(clasi.id_empresa);
2159
+ this.idEnterprise = +clasi.id_enterprise;
2096
2160
  this.denomination = clasi.dencla;
2097
2161
  }
2098
2162
  return MClasification;
@@ -3128,13 +3192,15 @@
3128
3192
  __extends(MConceptosCXP, _super);
3129
3193
  function MConceptosCXP(concepto) {
3130
3194
  var _this = _super.call(this) || this;
3195
+ _this.idEnterprise = 0;
3131
3196
  _this.idEmpresa = 0;
3132
3197
  _this.idConceptoCXP = 0;
3133
3198
  _this.denominacionConceptoCXP = '';
3134
3199
  _this.cuenta = '';
3135
3200
  _this.estatusActivo = 0;
3136
3201
  if (concepto) {
3137
- _this.idEmpresa = parseInt(concepto.id_empresa);
3202
+ _this.idEnterprise = +concepto.id_enterprise;
3203
+ _this.idEmpresa = concepto.id_empresa;
3138
3204
  _this.idConceptoCXP = parseInt(concepto.id_concxp);
3139
3205
  _this.denominacionConceptoCXP = concepto.denconcxp;
3140
3206
  _this.cuenta = concepto.sc_cuenta;
@@ -3147,7 +3213,8 @@
3147
3213
  }
3148
3214
  MConceptosCXP.prototype.dataInterface = function () {
3149
3215
  return {
3150
- id_empresa: this.idEmpresa.toString(),
3216
+ id_enterprise: this.idEnterprise.toString(),
3217
+ id_empresa: this.idEmpresa,
3151
3218
  id_concxp: this.idConceptoCXP.toString(),
3152
3219
  denconcxp: this.denominacionConceptoCXP,
3153
3220
  sc_cuenta: this.cuenta,
@@ -3159,6 +3226,7 @@
3159
3226
 
3160
3227
  var MTipoDocumentoCXP = /** @class */ (function () {
3161
3228
  function MTipoDocumentoCXP(tipo) {
3229
+ this.idEnterprise = 0;
3162
3230
  this.idEmpresa = 0;
3163
3231
  this.idTipoDocumento = 0;
3164
3232
  this.denominacionTipoDocumento = '';
@@ -3170,7 +3238,8 @@
3170
3238
  this.estatusCreditos = 0;
3171
3239
  this.estatusDebitos = 0;
3172
3240
  if (tipo) {
3173
- this.idEmpresa = parseInt(tipo.id_empresa);
3241
+ this.idEnterprise = +tipo.id_enterprise;
3242
+ this.idEmpresa = +tipo.id_empresa;
3174
3243
  this.idTipoDocumento = parseInt(tipo.id_tipodocumento);
3175
3244
  this.denominacionTipoDocumento = tipo.dentipden;
3176
3245
  this.estatusContable = parseInt(tipo.estcon);
@@ -3184,7 +3253,8 @@
3184
3253
  }
3185
3254
  MTipoDocumentoCXP.prototype.dataInterface = function () {
3186
3255
  return {
3187
- id_empresa: this.idEmpresa.toString(),
3256
+ id_enterprise: this.idEnterprise.toString(),
3257
+ id_empresa: this.idEmpresa,
3188
3258
  id_tipodocumento: this.idTipoDocumento.toString(),
3189
3259
  dentipden: this.denominacionTipoDocumento,
3190
3260
  estcon: this.estatusContable.toString(),
@@ -3203,6 +3273,7 @@
3203
3273
  __extends(MConfiguracionSNO, _super);
3204
3274
  function MConfiguracionSNO(I) {
3205
3275
  var _this = _super.call(this) || this;
3276
+ _this.idEnterprise = 0;
3206
3277
  _this.idEmpresa = 0;
3207
3278
  _this.idNomina = 0;
3208
3279
  _this.estatusCambiarDenominacionSueldoIntegral = 1;
@@ -3329,7 +3400,8 @@
3329
3400
  _this.digitosCodigoConcepto = 10;
3330
3401
  _this.segmentarPersonal = 10000;
3331
3402
  if (I) {
3332
- _this.idEmpresa = parseInt(I.id_empresa);
3403
+ _this.idEnterprise = +I.id_enterprise;
3404
+ _this.idEmpresa = +I.id_empresa;
3333
3405
  _this.idNomina = parseInt(I.id_sno);
3334
3406
  _this.estatusCambiarDenominacionSueldoIntegral = parseInt(I.estcamdensueint);
3335
3407
  _this.denominacionSueltoIntegral = I.densueint;
@@ -3461,6 +3533,7 @@
3461
3533
  }
3462
3534
  MConfiguracionSNO.prototype.dataInterface = function () {
3463
3535
  return {
3536
+ id_enterprise: this.idEnterprise.toString(),
3464
3537
  id_empresa: this.idEmpresa.toString(),
3465
3538
  id_sno: this.idNomina.toString(),
3466
3539
  estcamdensueint: this.estatusCambiarDenominacionSueldoIntegral.toString(),
@@ -3595,6 +3668,7 @@
3595
3668
  function MPeriodoNomina(e) {
3596
3669
  if (e === void 0) { e = null; }
3597
3670
  var _this = _super.call(this) || this;
3671
+ _this.idEnterprise = 0;
3598
3672
  _this.idEmpresa = 0;
3599
3673
  _this.idNomina = 0;
3600
3674
  _this.idPeriodo = 0;
@@ -3613,7 +3687,8 @@
3613
3687
  _this.prenomina = false;
3614
3688
  _this.calculado = false;
3615
3689
  if (e) {
3616
- _this.idEmpresa = parseInt(e.id_empresa);
3690
+ _this.idEnterprise = +e.id_enterprise;
3691
+ _this.idEmpresa = +e.id_empresa;
3617
3692
  _this.idNomina = parseInt(e.id_nomina);
3618
3693
  _this.idPeriodo = parseInt(e.id_periodo);
3619
3694
  _this.codigoPeriodo = e.codperi;
@@ -3635,7 +3710,8 @@
3635
3710
  }
3636
3711
  MPeriodoNomina.prototype.dataInterface = function () {
3637
3712
  return {
3638
- id_empresa: this.idEmpresa.toString(),
3713
+ id_enterprise: this.idEnterprise.toString(),
3714
+ id_empresa: this.idEmpresa,
3639
3715
  id_nomina: this.idNomina.toString(),
3640
3716
  id_periodo: this.idPeriodo.toString(),
3641
3717
  codperi: this.codigoPeriodo,
@@ -3691,6 +3767,7 @@
3691
3767
  function MDefinicionNomina(e) {
3692
3768
  if (e === void 0) { e = null; }
3693
3769
  var _this = _super.call(this) || this;
3770
+ _this.idEnterprise = 0;
3694
3771
  _this.idEmpresa = 0;
3695
3772
  _this.idNomina = 0;
3696
3773
  _this.codigoNomina = '';
@@ -3769,7 +3846,8 @@
3769
3846
  _this.segmentarPersonal = 3000;
3770
3847
  _this.periodosNomina = [];
3771
3848
  if (e) {
3772
- _this.idEmpresa = parseInt(e.id_empresa);
3849
+ _this.idEnterprise = +e.id_enterprise;
3850
+ _this.idEmpresa = +e.id_empresa;
3773
3851
  _this.idNomina = parseInt(e.id_nomina);
3774
3852
  _this.codigoNomina = e.codnom;
3775
3853
  _this.denominacionNomina = e.dennom;
@@ -3845,7 +3923,8 @@
3845
3923
  this.segmentarPersonal = 10000;
3846
3924
  }
3847
3925
  return {
3848
- id_empresa: this.idEmpresa.toString(),
3926
+ id_enterprise: this.idEnterprise.toString(),
3927
+ id_empresa: this.idEmpresa,
3849
3928
  id_nomina: this.idNomina.toString(),
3850
3929
  codnom: this.codigoNomina,
3851
3930
  dennom: this.denominacionNomina,
@@ -4031,6 +4110,7 @@
4031
4110
  __extends(MAsignacionCargo, _super);
4032
4111
  function MAsignacionCargo(e) {
4033
4112
  var _this = _super.call(this) || this;
4113
+ _this.idEnterprise = 0;
4034
4114
  _this.idEmpresa = 0;
4035
4115
  _this.idAsignacionCargo = 0;
4036
4116
  _this.codigoAsignacionCargo = '';
@@ -4064,7 +4144,8 @@
4064
4144
  _this.detallesOrganigrama = [];
4065
4145
  _this.organigramaEliminar = [];
4066
4146
  if (e) {
4067
- _this.idEmpresa = parseInt(e.id_empresa);
4147
+ _this.idEnterprise = +e.id_enterprise;
4148
+ _this.idEmpresa = +e.id_empresa;
4068
4149
  _this.idAsignacionCargo = parseInt(e.id_carper);
4069
4150
  _this.codigoAsignacionCargo = e.codcar;
4070
4151
  _this.denominacionAsignacionCargo = e.descar;
@@ -4106,7 +4187,8 @@
4106
4187
  }
4107
4188
  MAsignacionCargo.prototype.dataInterface = function () {
4108
4189
  return {
4109
- id_empresa: this.idEmpresa.toString(),
4190
+ id_enterprise: this.idEnterprise.toString(),
4191
+ id_empresa: this.idEmpresa,
4110
4192
  id_carper: this.idAsignacionCargo.toString(),
4111
4193
  codcar: this.codigoAsignacionCargo,
4112
4194
  descar: this.denominacionAsignacionCargo,
@@ -4234,6 +4316,7 @@
4234
4316
  function MNominaSimple(e) {
4235
4317
  if (e === void 0) { e = null; }
4236
4318
  var _this = _super.call(this) || this;
4319
+ _this.idEnterprise = 0;
4237
4320
  _this.idEmpresa = 0;
4238
4321
  _this.idNomina = 0;
4239
4322
  _this.codigoNomina = '';
@@ -4261,7 +4344,8 @@
4261
4344
  _this.idPersonal = 0;
4262
4345
  _this.idPersonalNomina = 0;
4263
4346
  if (e) {
4264
- _this.idEmpresa = parseInt(e.id_empresa);
4347
+ _this.idEnterprise = +e.id_enterprise;
4348
+ _this.idEmpresa = +e.id_empresa;
4265
4349
  _this.idNomina = parseInt(e.id_nomina);
4266
4350
  _this.codigoNomina = e.codnom;
4267
4351
  _this.denominacioNomina = e.dennom;
@@ -4300,7 +4384,8 @@
4300
4384
  }
4301
4385
  MNominaSimple.prototype.dataInterface = function () {
4302
4386
  return {
4303
- id_empresa: this.idEmpresa.toString(),
4387
+ id_enterprise: this.idEnterprise.toString(),
4388
+ id_empresa: this.idEmpresa,
4304
4389
  id_nomina: this.idNomina.toString(),
4305
4390
  id_carper: this.idCargo.toString(),
4306
4391
  id_personal: this.idPersonal.toString(),
@@ -4667,6 +4752,7 @@
4667
4752
  if (p === void 0) { p = null; }
4668
4753
  var _this = _super.call(this) || this;
4669
4754
  _this.idEmpresa = 0;
4755
+ _this.idEnterprise = 0;
4670
4756
  _this.idPersonal = 0;
4671
4757
  _this.codigoPersonal = ''; //10
4672
4758
  _this.cedulaPersonal = ''; //10
@@ -4776,7 +4862,8 @@
4776
4862
  _this.codigoPuestoTrabajo = '';
4777
4863
  _this.descripcionHorario = '';
4778
4864
  if (p) {
4779
- _this.idEmpresa = +p.id_empresa;
4865
+ _this.idEnterprise = +p.id_enterprise;
4866
+ _this.idEmpresa = p.id_empresa;
4780
4867
  _this.idPersonal = +p.id_personal;
4781
4868
  _this.codigoPersonal = p.codper;
4782
4869
  _this.cedulaPersonal = p.cedper;
@@ -4905,7 +4992,8 @@
4905
4992
  }
4906
4993
  MPersonal.prototype.dataInterface = function () {
4907
4994
  return {
4908
- id_empresa: +this.idEmpresa,
4995
+ id_empresa: this.idEmpresa,
4996
+ id_enterprise: this.idEnterprise.toString(),
4909
4997
  id_personal: +this.idPersonal,
4910
4998
  codper: this.codigoPersonal,
4911
4999
  cedper: this.cedulaPersonal,
@@ -5013,6 +5101,8 @@
5013
5101
  function MCambioEstatusPersonal(e) {
5014
5102
  if (e === void 0) { e = null; }
5015
5103
  var _this = _super.call(this) || this;
5104
+ _this.idEmpresa = 0;
5105
+ _this.idEnterprise = 0;
5016
5106
  _this.idPersonal = 0;
5017
5107
  _this.codigoPersonal = '';
5018
5108
  _this.estatusActual = '2';
@@ -5024,6 +5114,8 @@
5024
5114
  _this.observacion = '';
5025
5115
  _this.fechaReingreso = '1900-01-01';
5026
5116
  if (e) {
5117
+ _this.idEnterprise = +e.id_enterprise;
5118
+ _this.idEmpresa = e.id_empresa;
5027
5119
  _this.idPersonal = e.idPersonal;
5028
5120
  _this.codigoPersonal = e.codigoPersonal;
5029
5121
  _this.estatusActual = e.estatusActual;
@@ -5039,6 +5131,8 @@
5039
5131
  }
5040
5132
  MCambioEstatusPersonal.prototype.dataInterface = function () {
5041
5133
  return {
5134
+ id_empresa: this.idEmpresa,
5135
+ id_enterprise: this.idEnterprise.toString(),
5042
5136
  idPersonal: this.idPersonal,
5043
5137
  codigoPersonal: this.codigoPersonal,
5044
5138
  estatusActual: this.estatusActual,
@@ -5058,6 +5152,7 @@
5058
5152
  function MPersonalCuentaBanco(e) {
5059
5153
  var _this = _super.call(this) || this;
5060
5154
  _this.idEmpresa = 0;
5155
+ _this.idEnterprise = 0;
5061
5156
  _this.idPersonal = 0;
5062
5157
  _this.idCuentaBancoPersonal = -1;
5063
5158
  _this.codigoCuentaBancoPersonal = '';
@@ -5072,7 +5167,8 @@
5072
5167
  _this.nombreBanco = '';
5073
5168
  _this.nombreTipoCuentaBanco = '';
5074
5169
  if (e) {
5075
- _this.idEmpresa = parseInt(e.id_empresa);
5170
+ _this.idEnterprise = +e.id_enterprise;
5171
+ _this.idEmpresa = e.id_empresa;
5076
5172
  _this.idPersonal = parseInt(e.id_personal);
5077
5173
  _this.idCuentaBancoPersonal = parseInt(e.id_ctabanper);
5078
5174
  _this.codigoCuentaBancoPersonal = e.codctabanper;
@@ -5094,7 +5190,8 @@
5094
5190
  }
5095
5191
  MPersonalCuentaBanco.prototype.dataInterface = function () {
5096
5192
  return {
5097
- id_empresa: this.idEmpresa.toString(),
5193
+ id_enterprise: this.idEnterprise.toString(),
5194
+ id_empresa: this.idEmpresa,
5098
5195
  id_personal: this.idPersonal.toString(),
5099
5196
  id_ctabanper: this.idCuentaBancoPersonal.toString(),
5100
5197
  codctabanper: this.codigoCuentaBancoPersonal,
@@ -5113,6 +5210,7 @@
5113
5210
  var _this = this;
5114
5211
  if (e === void 0) { e = null; }
5115
5212
  this.idEmpresa = 0;
5213
+ this.idEnterprise = 0;
5116
5214
  this.idPersonal = 0;
5117
5215
  this.idEstudio = 0;
5118
5216
  this.codigoEstudioRealizado = '';
@@ -5132,7 +5230,8 @@
5132
5230
  this.TipoEstudio = Estudios;
5133
5231
  this.Aprobado = EstatusEstudio;
5134
5232
  if (e) {
5135
- this.idEmpresa = parseInt(e.id_empresa);
5233
+ this.idEmpresa = e.id_empresa;
5234
+ this.idEnterprise = +e.id_enterprise;
5136
5235
  this.idPersonal = parseInt(e.id_personal);
5137
5236
  this.idEstudio = parseInt(e.id_estudio);
5138
5237
  this.codigoEstudioRealizado = e.codestrea;
@@ -5154,7 +5253,8 @@
5154
5253
  }
5155
5254
  MEstudiosRealizados.prototype.dataInterface = function () {
5156
5255
  return {
5157
- id_empresa: this.idEmpresa.toString(),
5256
+ id_empresa: this.idEmpresa,
5257
+ id_enterprise: this.idEnterprise.toString(),
5158
5258
  id_personal: this.idPersonal.toString(),
5159
5259
  id_estudio: this.idEstudio.toString(),
5160
5260
  codestrea: this.codigoEstudioRealizado,
@@ -5180,6 +5280,7 @@
5180
5280
  if (e === void 0) { e = null; }
5181
5281
  var _this = _super.call(this) || this;
5182
5282
  _this.idEmpresa = 0;
5283
+ _this.idEnterprice = 0;
5183
5284
  _this.idPersonal = 0;
5184
5285
  _this.idFideicomiso = 0;
5185
5286
  _this.anoCurPeriodo = 0;
@@ -5201,7 +5302,8 @@
5201
5302
  _this.codigoUsuario = '';
5202
5303
  _this.idDtFideicomisoPeriodo = 0;
5203
5304
  if (e) {
5204
- _this.idEmpresa = parseInt(e.id_empresa);
5305
+ _this.idEmpresa = e.id_empresa;
5306
+ _this.idEmpresa = +e.id_enterprise;
5205
5307
  _this.idPersonal = parseInt(e.id_personal);
5206
5308
  _this.idFideicomiso = parseInt(e.id_fideicomiso);
5207
5309
  _this.anoCurPeriodo = parseInt(e.anocurper);
@@ -5230,7 +5332,8 @@
5230
5332
  }
5231
5333
  MPrestacionesAntiguedad.prototype.dataInterface = function () {
5232
5334
  return {
5233
- id_empresa: this.idEmpresa.toString(),
5335
+ id_empresa: this.idEmpresa,
5336
+ id_enterprise: this.idEnterprice.toString(),
5234
5337
  id_personal: this.idPersonal.toString(),
5235
5338
  id_fideicomiso: this.idFideicomiso.toString(),
5236
5339
  anocurper: this.anoCurPeriodo.toString(),
@@ -6822,7 +6925,7 @@
6822
6925
  * @actualizado: 4-12-20222
6823
6926
  */
6824
6927
  SigespService.prototype.getCurrentCurrency = function () {
6825
- return this.http.get(this.URL + "/dao/cfg/moneda_dao.php?tipo={'actual'}", { headers: this.getHttpHeaders() }).pipe(operators.retry(3), operators.catchError(this.handlerError), operators.map(function (res) {
6928
+ return this.http.get(this.URL + "/dao/cfg/moneda_dao.php?tipo=" + 'actual', { headers: this.getHttpHeaders() }).pipe(operators.retry(3), operators.catchError(this.handlerError), operators.map(function (res) {
6826
6929
  if (res.success) {
6827
6930
  res.data = new MMonedaConfig(res.data);
6828
6931
  }
@@ -6830,6 +6933,22 @@
6830
6933
  }));
6831
6934
  };
6832
6935
  /**
6936
+ * @description Obtiene la linea empresa
6937
+ * @return Observable<IResponse>
6938
+ * @author Dimaly Crespo
6939
+ * @actualizado: 5-12-20222
6940
+ * @tipo
6941
+ */
6942
+ SigespService.prototype.getEnterprise = function (tipo, id) {
6943
+ if (tipo === void 0) { tipo = null; }
6944
+ return this.http.get(this.URL + "/dao/cfg/enterprise_dao.php?", { headers: this.getHttpHeaders() }).pipe(operators.retry(3), operators.catchError(this.handlerError), operators.map(function (res) {
6945
+ if (res.success) {
6946
+ res.data = res.data.map(function (e) { return new MEnterprise(e); });
6947
+ }
6948
+ return res;
6949
+ }));
6950
+ };
6951
+ /**
6833
6952
  * @description Obtiene los tipos de organizacion
6834
6953
  * @return Observable<IResponse>
6835
6954
  * @author Carlos Albornoz
@@ -7966,75 +8085,6 @@
7966
8085
  },] }
7967
8086
  ];
7968
8087
 
7969
- var MEnterprise = /** @class */ (function (_super) {
7970
- __extends(MEnterprise, _super);
7971
- function MEnterprise(e) {
7972
- var _this = _super.call(this) || this;
7973
- _this.idEmpresa = 0;
7974
- _this.idEnterprise = 0;
7975
- _this.codigo = '';
7976
- _this.razonSocial = '';
7977
- _this.titulo = '';
7978
- _this.logo = '';
7979
- _this.rif = '';
7980
- _this.direccion = '';
7981
- _this.cuentaIngreso = '';
7982
- _this.CuentaPorCobrar = '';
7983
- _this.CuentaIva = '';
7984
- _this.cuentaInventario = '';
7985
- _this.cuentaUtilidad = '';
7986
- _this.cuentaPerdida = '';
7987
- _this.cuentaPasivoDiferido = '';
7988
- _this.cuentAnterior = '';
7989
- _this.cuentSobrante = '';
7990
- if (e) {
7991
- _this.idEmpresa = +e.id_empresa;
7992
- _this.idEnterprise = +e.id_enterprise;
7993
- _this.codigo = e.codigo;
7994
- _this.razonSocial = e.denominacion;
7995
- _this.titulo = e.titulo;
7996
- _this.logo = e.logo;
7997
- _this.rif = e.rif;
7998
- _this.direccion = e.direccion;
7999
- _this.cuentaIngreso = e.spi_cuenta;
8000
- _this.CuentaPorCobrar = e.sc_cuenta_cxc;
8001
- _this.CuentaIva = e.sc_cuenta_iva;
8002
- _this.cuentaInventario = e.sc_cuenta_inventario;
8003
- _this.cuentaUtilidad = e.sc_cuenta_utilidad;
8004
- _this.cuentaPerdida = e.sc_cuenta_perdida;
8005
- _this.cuentaPasivoDiferido = e.sc_cuenta_pasivo_diferido;
8006
- _this.cuentAnterior = e.sc_cuenta_ant;
8007
- _this.cuentSobrante = e.spi_cuenta_sobrante;
8008
- }
8009
- else {
8010
- _this.isNew = true;
8011
- }
8012
- return _this;
8013
- }
8014
- MEnterprise.prototype.dataInterface = function () {
8015
- return {
8016
- id_empresa: this.idEmpresa.toString(),
8017
- id_enterprise: this.idEnterprise.toString(),
8018
- codigo: this.codigo,
8019
- denominacion: this.razonSocial,
8020
- titulo: this.titulo,
8021
- logo: this.logo,
8022
- rif: this.rif,
8023
- direccion: this.direccion,
8024
- spi_cuenta: this.cuentaIngreso,
8025
- sc_cuenta_cxc: this.CuentaPorCobrar,
8026
- sc_cuenta_iva: this.CuentaIva,
8027
- sc_cuenta_inventario: this.cuentaInventario,
8028
- sc_cuenta_utilidad: this.cuentaUtilidad,
8029
- sc_cuenta_perdida: this.cuentaPerdida,
8030
- sc_cuenta_pasivo_diferido: this.cuentaPasivoDiferido,
8031
- sc_cuenta_ant: this.cuentAnterior,
8032
- spi_cuenta_sobrante: this.cuentSobrante
8033
- };
8034
- };
8035
- return MEnterprise;
8036
- }(MBasicModel));
8037
-
8038
8088
  var MAccountMarriage = /** @class */ (function () {
8039
8089
  function MAccountMarriage(marriage) {
8040
8090
  this.idEmpresa = null;
@@ -8289,6 +8339,7 @@
8289
8339
  __extends(MAnticipoPrestaciones, _super);
8290
8340
  function MAnticipoPrestaciones(e) {
8291
8341
  var _this = _super.call(this) || this;
8342
+ _this.idEnterprise = 0;
8292
8343
  _this.idEmpresa = 0;
8293
8344
  _this.idPersonal = 0;
8294
8345
  _this.idAnticipo = 0;
@@ -8310,6 +8361,7 @@
8310
8361
  _this.montoMaximoInteres = 0;
8311
8362
  _this.denominacionEstatus = '';
8312
8363
  if (e) {
8364
+ _this.idEnterprise = +e.id_enterprise;
8313
8365
  _this.idEmpresa = +e.id_empresa;
8314
8366
  _this.idPersonal = +e.id_personal;
8315
8367
  _this.idAnticipo = +e.id_anticipops;
@@ -8338,6 +8390,7 @@
8338
8390
  }
8339
8391
  MAnticipoPrestaciones.prototype.dataInterface = function () {
8340
8392
  return {
8393
+ id_enterprise: this.idEnterprise.toString(),
8341
8394
  id_empresa: this.idEmpresa,
8342
8395
  id_personal: this.idPersonal,
8343
8396
  id_anticipops: this.idAnticipo,
@@ -8388,6 +8441,7 @@
8388
8441
  __extends(MArchivoTxtCampo, _super);
8389
8442
  function MArchivoTxtCampo(e) {
8390
8443
  var _this = _super.call(this) || this;
8444
+ _this.idEnterprise = 0;
8391
8445
  _this.idEmpresa = 0;
8392
8446
  _this.idArchivoTxt = 0;
8393
8447
  _this.codigoCampo = 0;
@@ -8403,7 +8457,8 @@
8403
8457
  _this.tipoCampo = '';
8404
8458
  _this.idDtCampo = 0;
8405
8459
  if (e) {
8406
- _this.idEmpresa = parseInt(e.id_empresa);
8460
+ _this.idEnterprise = +e.id_enterprise;
8461
+ _this.idEmpresa = +e.id_empresa;
8407
8462
  _this.idArchivoTxt = parseInt(e.id_archivotxt);
8408
8463
  _this.codigoCampo = parseInt(e.codcam);
8409
8464
  _this.descripcionCampo = e.descam;
@@ -8425,7 +8480,8 @@
8425
8480
  }
8426
8481
  MArchivoTxtCampo.prototype.dataInterface = function () {
8427
8482
  return {
8428
- id_empresa: this.idEmpresa.toString(),
8483
+ id_enterprise: this.idEnterprise.toString(),
8484
+ id_empresa: this.idEmpresa,
8429
8485
  id_archivotxt: this.idArchivoTxt.toString(),
8430
8486
  codcam: this.codigoCampo.toString(),
8431
8487
  descam: this.descripcionCampo,
@@ -8448,6 +8504,7 @@
8448
8504
  __extends(MArchivosTxt, _super);
8449
8505
  function MArchivosTxt(e) {
8450
8506
  var _this = _super.call(this) || this;
8507
+ _this.idEnterprise = 0;
8451
8508
  _this.idEmpresa = 0;
8452
8509
  _this.idArchivoTxt = 0;
8453
8510
  _this.codigoArchivo = '';
@@ -8457,7 +8514,8 @@
8457
8514
  _this.campos = [];
8458
8515
  if (e) {
8459
8516
  e.acumon == '1' ? _this.acumularMonto = true : _this.acumularMonto = false;
8460
- _this.idEmpresa = parseInt(e.id_empresa);
8517
+ _this.idEnterprise = +e.id_enterprise;
8518
+ _this.idEmpresa = +e.id_empresa;
8461
8519
  _this.idArchivoTxt = parseInt(e.id_archivotxt);
8462
8520
  _this.codigoArchivo = e.codarch;
8463
8521
  _this.denominacionArchivo = e.denarch;
@@ -8471,7 +8529,8 @@
8471
8529
  }
8472
8530
  MArchivosTxt.prototype.dataInterface = function () {
8473
8531
  return {
8474
- id_empresa: this.idEmpresa.toString(),
8532
+ id_enterprise: this.idEnterprise.toString(),
8533
+ id_empresa: this.idEmpresa,
8475
8534
  id_archivotxt: this.idArchivoTxt.toString(),
8476
8535
  codarch: this.codigoArchivo,
8477
8536
  denarch: this.denominacionArchivo,
@@ -8487,6 +8546,7 @@
8487
8546
  __extends(MAspectoEvaluacion, _super);
8488
8547
  function MAspectoEvaluacion(e) {
8489
8548
  var _this = _super.call(this) || this;
8549
+ _this.idEnterprise = 0;
8490
8550
  _this.idEmpresa = 0;
8491
8551
  _this.idTipoEvaluacion = 0;
8492
8552
  _this.idAspectoEvaluacion = 0;
@@ -8495,7 +8555,8 @@
8495
8555
  _this.codigoAspecto = '';
8496
8556
  _this.denominacionAspecto = '';
8497
8557
  if (e) {
8498
- _this.idEmpresa = parseInt(e.id_empresa);
8558
+ _this.idEnterprise = +e.id_enterprise;
8559
+ _this.idEmpresa = +e.id_empresa;
8499
8560
  _this.idTipoEvaluacion = parseInt(e.id_tipoeval);
8500
8561
  _this.idAspectoEvaluacion = parseInt(e.id_aspecto);
8501
8562
  _this.codigoTipoEvaluacion = e.codtipeval;
@@ -8510,7 +8571,8 @@
8510
8571
  }
8511
8572
  MAspectoEvaluacion.prototype.dataInterface = function () {
8512
8573
  return {
8513
- id_empresa: this.idEmpresa.toString(),
8574
+ id_enterprise: this.idEnterprise.toString(),
8575
+ id_empresa: this.idEmpresa,
8514
8576
  id_tipoeval: this.idTipoEvaluacion.toString(),
8515
8577
  id_aspecto: this.idAspectoEvaluacion.toString(),
8516
8578
  codasp: this.codigoAspecto,
@@ -8526,6 +8588,7 @@
8526
8588
  function MItemsEvalucion(e) {
8527
8589
  if (e === void 0) { e = null; }
8528
8590
  var _this = _super.call(this) || this;
8591
+ _this.idEnterprise = 0;
8529
8592
  _this.idEmpresa = 0;
8530
8593
  _this.idTipoEvaluacion = 0;
8531
8594
  _this.idAspectoEvaluacion = 0;
@@ -8538,7 +8601,8 @@
8538
8601
  _this.codigoAspecto = '';
8539
8602
  _this.denominacionAspecto = '';
8540
8603
  if (e) {
8541
- _this.idEmpresa = parseInt(e.id_empresa);
8604
+ _this.idEnterprise = +e.id_enterprise;
8605
+ _this.idEmpresa = +e.id_empresa;
8542
8606
  _this.idTipoEvaluacion = parseInt(e.id_tipoeval);
8543
8607
  _this.idAspectoEvaluacion = parseInt(e.id_aspecto);
8544
8608
  _this.idItems = parseInt(e.id_item);
@@ -8557,7 +8621,8 @@
8557
8621
  }
8558
8622
  MItemsEvalucion.prototype.dataInterface = function () {
8559
8623
  return {
8560
- id_empresa: this.idEmpresa.toString(),
8624
+ id_enterprise: this.idEnterprise.toString(),
8625
+ id_empresa: this.idEmpresa,
8561
8626
  id_tipoeval: this.idTipoEvaluacion.toString(),
8562
8627
  id_aspecto: this.idAspectoEvaluacion.toString(),
8563
8628
  id_item: this.idItems.toString(),
@@ -8577,6 +8642,7 @@
8577
8642
  __extends(MBeneficiario, _super);
8578
8643
  function MBeneficiario(e) {
8579
8644
  var _this = _super.call(this) || this;
8645
+ _this.idEnterprise = 0;
8580
8646
  _this.idEmpresa = 0;
8581
8647
  _this.idPersonal = 0;
8582
8648
  _this.idFamiliar = 0;
@@ -8603,7 +8669,8 @@
8603
8669
  _this.medidaActiva = false;
8604
8670
  _this.tribunal = '';
8605
8671
  if (e) {
8606
- _this.idEmpresa = parseInt(e.id_empresa);
8672
+ _this.idEnterprise = +e.id_enterprise;
8673
+ _this.idEmpresa = +e.id_empresa;
8607
8674
  _this.idPersonal = parseInt(e.id_personal);
8608
8675
  _this.idFamiliar = parseInt(e.id_familiar);
8609
8676
  _this.idProveedor = parseInt(e.id_proveedor);
@@ -8636,7 +8703,8 @@
8636
8703
  }
8637
8704
  MBeneficiario.prototype.dataInterface = function () {
8638
8705
  return {
8639
- id_empresa: this.idEmpresa.toString(),
8706
+ id_enterprise: this.idEnterprise.toString(),
8707
+ id_empresa: this.idEmpresa,
8640
8708
  id_personal: this.idPersonal.toString(),
8641
8709
  id_familiar: this.idFamiliar.toString(),
8642
8710
  id_proveedor: this.idProveedor.toString(),
@@ -8661,6 +8729,7 @@
8661
8729
  function MCargosPersonal(p) {
8662
8730
  if (p === void 0) { p = null; }
8663
8731
  var _this = _super.call(this) || this;
8732
+ _this.idEnterprise = 0;
8664
8733
  _this.idEmpresa = 0;
8665
8734
  _this.idPersonal = 0;
8666
8735
  _this.idCargo = 0;
@@ -8690,6 +8759,8 @@
8690
8759
  _this.detallesOrganigrama = [];
8691
8760
  _this.detallesNomina = [];
8692
8761
  if (p) {
8762
+ _this.idEnterprise = +p.id_enterprise;
8763
+ _this.idEmpresa = +p.id_empresa;
8693
8764
  _this.idPersonal = parseInt(p.id_personal);
8694
8765
  _this.idCargo = +p.id_carper;
8695
8766
  _this.codigoCargo = p.codcar;
@@ -8729,7 +8800,8 @@
8729
8800
  }
8730
8801
  MCargosPersonal.prototype.dataInterface = function () {
8731
8802
  return {
8732
- id_empresa: this.idEmpresa.toString(),
8803
+ id_enterprise: this.idEnterprise.toString(),
8804
+ id_empresa: this.idEmpresa,
8733
8805
  id_personal: this.idPersonal.toString(),
8734
8806
  id_carper: this.idCargo.toString(),
8735
8807
  id_tabulador: this.idTabulador.toString(),
@@ -8749,6 +8821,7 @@
8749
8821
  __extends(MCargaFamiliar, _super);
8750
8822
  function MCargaFamiliar(e) {
8751
8823
  var _this = _super.call(this) || this;
8824
+ _this.idEnterprise = 0;
8752
8825
  _this.idEmpresa = 0;
8753
8826
  _this.idConcurso = 0;
8754
8827
  _this.idConcursante = 0;
@@ -8761,7 +8834,8 @@
8761
8834
  _this.parentesco = '';
8762
8835
  _this.fechaNacimiento = '';
8763
8836
  if (e) {
8764
- _this.idEmpresa = parseInt(e.id_empresa);
8837
+ _this.idEnterprise = +e.id_enterprise;
8838
+ _this.idEmpresa = +e.id_empresa;
8765
8839
  _this.idConcurso = parseInt(e.id_concurso);
8766
8840
  _this.idConcursante = parseInt(e.id_concursante);
8767
8841
  _this.idFamilia = parseInt(e.id_familiacon);
@@ -8780,7 +8854,8 @@
8780
8854
  }
8781
8855
  MCargaFamiliar.prototype.dataInterface = function () {
8782
8856
  return {
8783
- id_empresa: this.idEmpresa.toString(),
8857
+ id_enterprise: this.idEnterprise.toString(),
8858
+ id_empresa: this.idEmpresa,
8784
8859
  id_concurso: this.idConcurso.toString(),
8785
8860
  id_concursante: this.idConcurso.toString(),
8786
8861
  id_familiacon: this.idFamilia.toString(),
@@ -8800,6 +8875,7 @@
8800
8875
  __extends(MClasificacionObrero, _super);
8801
8876
  function MClasificacionObrero(e) {
8802
8877
  var _this = _super.call(this) || this;
8878
+ _this.idEnterprise = 0;
8803
8879
  _this.idEmpresa = 0;
8804
8880
  _this.idClasificacionObrero = 0;
8805
8881
  _this.grado = '';
@@ -8810,7 +8886,8 @@
8810
8886
  _this.numeroGaceta = '';
8811
8887
  _this.observacion = '';
8812
8888
  if (e) {
8813
- _this.idEmpresa = parseInt(e.id_empresa);
8889
+ _this.idEnterprise = +e.id_enterprise;
8890
+ _this.idEmpresa = +e.id_empresa;
8814
8891
  _this.idClasificacionObrero = parseInt(e.id_claobr);
8815
8892
  _this.grado = e.grado;
8816
8893
  _this.sueldoMinimo = e.suemin;
@@ -8827,7 +8904,8 @@
8827
8904
  }
8828
8905
  MClasificacionObrero.prototype.dataInterface = function () {
8829
8906
  return {
8830
- id_empresa: this.idEmpresa.toString(),
8907
+ id_enterprise: this.idEnterprise.toString(),
8908
+ id_empresa: this.idEmpresa,
8831
8909
  id_claobr: this.idClasificacionObrero.toString(),
8832
8910
  grado: this.grado,
8833
8911
  suemin: this.sueldoMinimo,
@@ -8846,6 +8924,7 @@
8846
8924
  function MConceptoVacaciones(e) {
8847
8925
  if (e === void 0) { e = null; }
8848
8926
  var _this = _super.call(this) || this;
8927
+ _this.idEnterprise = 0;
8849
8928
  _this.idEmpresa = 0;
8850
8929
  _this.idConceptoVacaciones = 0;
8851
8930
  _this.idNomina = 0;
@@ -8870,6 +8949,7 @@
8870
8949
  _this.nombreConcepto = '';
8871
8950
  _this.signoConcepto = '';
8872
8951
  if (e) {
8952
+ _this.idEnterprise = +e.id_enterprise;
8873
8953
  _this.idEmpresa = +e.id_empresa;
8874
8954
  _this.idConceptoVacaciones = +e.id_convac;
8875
8955
  _this.idNomina = +e.id_nomina;
@@ -8898,7 +8978,8 @@
8898
8978
  }
8899
8979
  MConceptoVacaciones.prototype.dataInterface = function () {
8900
8980
  return {
8901
- id_empresa: this.idEmpresa.toString(),
8981
+ id_enterprise: this.idEnterprise.toString(),
8982
+ id_empresa: this.idEmpresa,
8902
8983
  id_convac: this.idConceptoVacaciones.toString(),
8903
8984
  id_nomina: this.idNomina.toString(),
8904
8985
  id_concepto: this.idConcepto.toString(),
@@ -8958,6 +9039,7 @@
8958
9039
  function MConceptosNomina(e) {
8959
9040
  if (e === void 0) { e = null; }
8960
9041
  var _this = _super.call(this) || this;
9042
+ _this.idEnterprise = 0;
8961
9043
  _this.idEmpresa = 0;
8962
9044
  _this.idNomina = 0;
8963
9045
  _this.idConcepto = 0;
@@ -9023,6 +9105,7 @@
9023
9105
  _this.evaluarEnPrenomina = 0;
9024
9106
  _this.antiguedadComplementaria = 0;
9025
9107
  if (e) {
9108
+ _this.idEnterprise = +e.id_enterprise;
9026
9109
  _this.idEmpresa = +e.id_empresa;
9027
9110
  _this.idNomina = +e.id_nomina;
9028
9111
  _this.idConcepto = +e.id_concepto;
@@ -9100,7 +9183,8 @@
9100
9183
  }
9101
9184
  MConceptosNomina.prototype.dataInterface = function () {
9102
9185
  return {
9103
- id_empresa: this.idEmpresa.toString(),
9186
+ id_enterprise: this.idEnterprise.toString(),
9187
+ id_empresa: this.idEmpresa,
9104
9188
  id_nomina: this.idNomina.toString(),
9105
9189
  id_concepto: this.idConcepto.toString(),
9106
9190
  codconc: this.codigoConcepto,
@@ -9177,6 +9261,7 @@
9177
9261
  function MConceptosPersonalNomina(e) {
9178
9262
  if (e === void 0) { e = null; }
9179
9263
  var _this = _super.call(this) || this;
9264
+ _this.idEnterprise = 0;
9180
9265
  _this.idEmpresa = 0;
9181
9266
  _this.idPersonalNomina = 0;
9182
9267
  _this.idNomina = 0;
@@ -9203,7 +9288,8 @@
9203
9288
  _this.codigoNomina = '';
9204
9289
  _this.numeroPeriodoNomina = 0;
9205
9290
  if (e) {
9206
- _this.idEmpresa = parseInt(e.id_empresa);
9291
+ _this.idEnterprise = +e.id_enterprise;
9292
+ _this.idEmpresa = +e.id_empresa;
9207
9293
  _this.idPersonalNomina = parseInt(e.id_personalnomina);
9208
9294
  _this.idNomina = parseInt(e.id_nomina);
9209
9295
  _this.idConcepto = parseInt(e.id_concepto);
@@ -9235,7 +9321,8 @@
9235
9321
  }
9236
9322
  MConceptosPersonalNomina.prototype.dataInterface = function () {
9237
9323
  return {
9238
- id_empresa: this.idEmpresa.toString(),
9324
+ id_enterprise: this.idEnterprise.toString(),
9325
+ id_empresa: this.idEmpresa,
9239
9326
  id_personalnomina: this.idPersonalNomina.toString(),
9240
9327
  id_nomina: this.idNomina.toString(),
9241
9328
  id_concepto: this.idConcepto.toString(),
@@ -9274,6 +9361,7 @@
9274
9361
  function MConstanteNomina(e) {
9275
9362
  if (e === void 0) { e = null; }
9276
9363
  var _this = _super.call(this) || this;
9364
+ _this.idEnterprise = 0;
9277
9365
  _this.idEmpresa = 0;
9278
9366
  _this.idNomina = 1;
9279
9367
  _this.idConstante = 0;
@@ -9291,6 +9379,7 @@
9291
9379
  _this.registroIncidencia = '';
9292
9380
  _this.valorInicialIncidencia = 0;
9293
9381
  if (e) {
9382
+ _this.idEnterprise = +e.id_enterprise;
9294
9383
  _this.idEmpresa = +e.id_empresa;
9295
9384
  _this.idNomina = +e.id_nomina;
9296
9385
  _this.idConstante = +e.id_constante;
@@ -9315,7 +9404,8 @@
9315
9404
  }
9316
9405
  MConstanteNomina.prototype.dataInterface = function () {
9317
9406
  return {
9318
- id_empresa: this.idEmpresa.toString(),
9407
+ id_enterprise: this.idEnterprise.toString(),
9408
+ id_empresa: this.idEmpresa,
9319
9409
  id_nomina: this.idNomina.toString(),
9320
9410
  id_constante: this.idConstante.toString(),
9321
9411
  codcons: this.codigoConstante,
@@ -9341,6 +9431,7 @@
9341
9431
  function MConstantePersonalNomina(e) {
9342
9432
  if (e === void 0) { e = null; }
9343
9433
  var _this = _super.call(this) || this;
9434
+ _this.idEnterprise = 0;
9344
9435
  _this.idEmpresa = 0;
9345
9436
  _this.idNomina = 0;
9346
9437
  _this.idConstante = 0;
@@ -9361,6 +9452,7 @@
9361
9452
  _this.denominacionCargoPersonal = '';
9362
9453
  _this.idPersonal = 0;
9363
9454
  if (e) {
9455
+ _this.idEnterprise = +e.id_enterprise;
9364
9456
  _this.idEmpresa = +e.id_empresa;
9365
9457
  _this.idNomina = +e.id_nomina;
9366
9458
  _this.idConstante = +e.id_constante;
@@ -9388,7 +9480,8 @@
9388
9480
  }
9389
9481
  MConstantePersonalNomina.prototype.dataInterface = function () {
9390
9482
  return {
9391
- id_empresa: this.idEmpresa.toString(),
9483
+ id_enterprise: this.idEnterprise.toString(),
9484
+ id_empresa: this.idEmpresa,
9392
9485
  id_nomina: this.idNomina.toString(),
9393
9486
  id_constante: this.idConstante.toString(),
9394
9487
  id_personalnomina: this.idPersonalNomina.toString(),
@@ -9420,6 +9513,7 @@
9420
9513
  function MRango(e) {
9421
9514
  if (e === void 0) { e = null; }
9422
9515
  var _this = _super.call(this) || this;
9516
+ _this.idEnterprise = 0;
9423
9517
  _this.idEmpresa = 0;
9424
9518
  _this.idComponente = 0;
9425
9519
  _this.IdRango = 0;
@@ -9429,7 +9523,8 @@
9429
9523
  _this.nombreAbreviatura = '';
9430
9524
  _this.codigoCategoriaRango = '';
9431
9525
  if (e) {
9432
- _this.idEmpresa = parseInt(e.id_empresa);
9526
+ _this.idEnterprise = +e.id_enterprise;
9527
+ _this.idEmpresa = +e.id_empresa;
9433
9528
  _this.idComponente = parseInt(e.id_componente);
9434
9529
  _this.IdRango = parseInt(e.id_rango);
9435
9530
  _this.IdCategoria = parseInt(e.id_catrango);
@@ -9445,7 +9540,8 @@
9445
9540
  }
9446
9541
  MRango.prototype.dataInterface = function () {
9447
9542
  return {
9448
- id_empresa: this.idEmpresa.toString(),
9543
+ id_enterprise: this.idEnterprise.toString(),
9544
+ id_empresa: this.idEmpresa,
9449
9545
  id_componente: this.idComponente.toString(),
9450
9546
  id_rango: this.IdRango.toString(),
9451
9547
  id_catrango: this.IdCategoria.toString(),
@@ -9462,6 +9558,7 @@
9462
9558
  __extends(MComponete, _super);
9463
9559
  function MComponete(e) {
9464
9560
  var _this = _super.call(this) || this;
9561
+ _this.idEnterprise = 0;
9465
9562
  _this.idEmpresa = 0;
9466
9563
  _this.idComponente = 0;
9467
9564
  _this.codigoComponente = '';
@@ -9469,7 +9566,8 @@
9469
9566
  _this.nombreAbreviatura = '';
9470
9567
  _this.rangos = [];
9471
9568
  if (e) {
9472
- _this.idEmpresa = parseInt(e.id_empresa);
9569
+ _this.idEnterprise = +e.id_enterprise;
9570
+ _this.idEmpresa = +e.id_empresa;
9473
9571
  _this.idComponente = parseInt(e.id_componente);
9474
9572
  _this.codigoComponente = e.codcom;
9475
9573
  _this.denominacionComponente = e.dencom;
@@ -9483,7 +9581,8 @@
9483
9581
  }
9484
9582
  MComponete.prototype.dataInterface = function () {
9485
9583
  return {
9486
- id_empresa: this.idEmpresa.toString(),
9584
+ id_enterprise: this.idEnterprise.toString(),
9585
+ id_empresa: this.idEmpresa,
9487
9586
  id_componente: this.idComponente.toString(),
9488
9587
  codcom: this.codigoComponente,
9489
9588
  dencom: this.denominacionComponente,
@@ -9499,6 +9598,7 @@
9499
9598
  function MConcursante(e) {
9500
9599
  if (e === void 0) { e = null; }
9501
9600
  var _this = _super.call(this) || this;
9601
+ _this.idEnterprise = 0;
9502
9602
  _this.idEmpresa = 0;
9503
9603
  _this.idConcurso = 0;
9504
9604
  _this.codigoConcurso = '';
@@ -9525,7 +9625,8 @@
9525
9625
  _this.nivelAcademico = 0;
9526
9626
  _this.estatusRequisitos = 1;
9527
9627
  if (e) {
9528
- _this.idEmpresa = parseInt(e.id_empresa);
9628
+ _this.idEnterprise = +e.id_enterprise;
9629
+ _this.idEmpresa = +e.id_empresa;
9529
9630
  _this.idConcurso = parseInt(e.id_concurso);
9530
9631
  _this.codigoConcurso = e.codcon;
9531
9632
  _this.idConcursante = parseInt(e.id_concursante);
@@ -9555,7 +9656,8 @@
9555
9656
  }
9556
9657
  MConcursante.prototype.dataInterface = function () {
9557
9658
  return {
9558
- id_empresa: this.idEmpresa.toString(),
9659
+ id_enterprise: this.idEnterprise.toString(),
9660
+ id_empresa: this.idEmpresa,
9559
9661
  id_concurso: this.idConcurso.toString(),
9560
9662
  codcon: this.codigoConcurso,
9561
9663
  id_concursante: this.idConcursante.toString(),
@@ -9588,6 +9690,7 @@
9588
9690
  __extends(MTrabajosConcursantes, _super);
9589
9691
  function MTrabajosConcursantes(e) {
9590
9692
  var _this = _super.call(this) || this;
9693
+ _this.idEnterprise = 0;
9591
9694
  _this.idEmpresa = 0;
9592
9695
  _this.idConcurso = 0;
9593
9696
  _this.idConcursante = 0;
@@ -9598,7 +9701,8 @@
9598
9701
  _this.fechaIngreso = '';
9599
9702
  _this.fechaRetiro = '';
9600
9703
  if (e) {
9601
- _this.idEmpresa = parseInt(e.id_empresa);
9704
+ _this.idEnterprise = +e.id_enterprise;
9705
+ _this.idEmpresa = +e.id_empresa;
9602
9706
  _this.idConcurso = parseInt(e.id_concurso);
9603
9707
  _this.idConcursante = parseInt(e.id_concursante);
9604
9708
  _this.idTrabajo = parseInt(e.id_trabajocon);
@@ -9615,7 +9719,8 @@
9615
9719
  }
9616
9720
  MTrabajosConcursantes.prototype.dataInterface = function () {
9617
9721
  return {
9618
- id_empresa: this.idEmpresa.toString(),
9722
+ id_enterprise: this.idEnterprise.toString(),
9723
+ id_empresa: this.idEmpresa,
9619
9724
  id_concurso: this.idConcurso.toString(),
9620
9725
  id_concursante: this.idConcursante.toString(),
9621
9726
  id_trabajocon: this.idTrabajo.toString(),
@@ -9633,6 +9738,7 @@
9633
9738
  function MEstudiosConcursantes(e) {
9634
9739
  if (e === void 0) { e = null; }
9635
9740
  var _this = _super.call(this) || this;
9741
+ _this.idEnterprise = 0;
9636
9742
  _this.idEmpresa = 0;
9637
9743
  _this.idConcurso = 0;
9638
9744
  _this.idConcursante = 0;
@@ -9646,7 +9752,8 @@
9646
9752
  _this.yearAprobados = 0;
9647
9753
  _this.horasEstudiosRealizadas = 0;
9648
9754
  if (e) {
9649
- _this.idEmpresa = parseInt(e.id_empresa);
9755
+ _this.idEnterprise = +e.id_enterprise;
9756
+ _this.idEmpresa = +e.id_empresa;
9650
9757
  _this.idConcurso = parseInt(e.id_concurso);
9651
9758
  _this.idConcursante = parseInt(e.id_concursante);
9652
9759
  _this.idEstudio = parseInt(e.id_estudiocon);
@@ -9666,7 +9773,8 @@
9666
9773
  }
9667
9774
  MEstudiosConcursantes.prototype.dataInterface = function () {
9668
9775
  return {
9669
- id_empresa: this.idEmpresa.toString(),
9776
+ id_enterprise: this.idEnterprise.toString(),
9777
+ id_empresa: this.idEmpresa,
9670
9778
  id_concurso: this.idConcurso.toString(),
9671
9779
  id_concursante: this.idConcursante.toString(),
9672
9780
  id_estudiocon: this.idEstudio.toString(),
@@ -9732,6 +9840,7 @@
9732
9840
  function MFamiliaConcursante(e) {
9733
9841
  if (e === void 0) { e = null; }
9734
9842
  var _this = _super.call(this) || this;
9843
+ _this.idEnterprise = 0;
9735
9844
  _this.idEmpresa = 0;
9736
9845
  _this.idConcurso = 0;
9737
9846
  _this.idConcursante = 0;
@@ -9744,7 +9853,8 @@
9744
9853
  _this.nexo = '';
9745
9854
  _this.fecha = '';
9746
9855
  if (e) {
9747
- _this.idEmpresa = parseInt(e.id_empresa);
9856
+ _this.idEnterprise = +e.id_enterprise;
9857
+ _this.idEmpresa = +e.id_empresa;
9748
9858
  _this.idConcurso = parseInt(e.id_concurso);
9749
9859
  _this.idConcursante = parseInt(e.id_concursante);
9750
9860
  _this.idFamiliar = parseInt(e.id_familiacon);
@@ -9763,7 +9873,8 @@
9763
9873
  }
9764
9874
  MFamiliaConcursante.prototype.dataInterface = function () {
9765
9875
  return {
9766
- id_empresa: this.idEmpresa.toString(),
9876
+ id_enterprise: this.idEnterprise.toString(),
9877
+ id_empresa: this.idEmpresa,
9767
9878
  id_concurso: this.idConcurso.toString(),
9768
9879
  id_concursante: this.idConcursante.toString(),
9769
9880
  id_familiacon: this.idFamiliar.toString(),
@@ -9783,6 +9894,7 @@
9783
9894
  function MFormacionInformal(e) {
9784
9895
  if (e === void 0) { e = null; }
9785
9896
  var _this = _super.call(this) || this;
9897
+ _this.idEnterprise = 0;
9786
9898
  _this.idEmpresa = 0;
9787
9899
  _this.idConcurso = 0;
9788
9900
  _this.idConcursante = 0;
@@ -9791,7 +9903,8 @@
9791
9903
  _this.descripcionCurso = '';
9792
9904
  _this.horasCurso = 0;
9793
9905
  if (e) {
9794
- _this.idEmpresa = parseInt(e.id_empresa);
9906
+ _this.idEnterprise = +e.id_enterprise;
9907
+ _this.idEmpresa = +e.id_empresa;
9795
9908
  _this.idConcursante = parseInt(e.id_concurso);
9796
9909
  _this.idConcursante = parseInt(e.id_concursante);
9797
9910
  _this.idCurso = parseInt(e.id_curso);
@@ -9806,7 +9919,8 @@
9806
9919
  }
9807
9920
  MFormacionInformal.prototype.dataInterface = function () {
9808
9921
  return {
9809
- id_empresa: this.idEmpresa.toString(),
9922
+ id_enterprise: this.idEnterprise.toString(),
9923
+ id_empresa: this.idEmpresa,
9810
9924
  id_concurso: this.idConcurso.toString(),
9811
9925
  id_concursante: this.idConcurso.toString(),
9812
9926
  id_curso: this.idCurso.toString(),
@@ -9822,6 +9936,7 @@
9822
9936
  __extends(MRequisitosConcursos, _super);
9823
9937
  function MRequisitosConcursos(e) {
9824
9938
  var _this = _super.call(this) || this;
9939
+ _this.idEnterprise = 0;
9825
9940
  _this.idEmpresa = 0;
9826
9941
  _this.idConcurso = 0;
9827
9942
  _this.idRequisito = 0;
@@ -9830,7 +9945,8 @@
9830
9945
  _this.cantidadRequisito = 0;
9831
9946
  _this.requisitoIndispensable = 0;
9832
9947
  if (e) {
9833
- _this.idEmpresa = parseInt(e.id_empresa);
9948
+ _this.idEnterprise = +e.id_enterprise;
9949
+ _this.idEmpresa = +e.id_empresa;
9834
9950
  _this.idConcurso = parseInt(e.id_concurso);
9835
9951
  _this.idRequisito = parseInt(e.id_reqcon);
9836
9952
  _this.codigoRequisito = e.codreqcon;
@@ -9842,7 +9958,8 @@
9842
9958
  }
9843
9959
  MRequisitosConcursos.prototype.dataInterface = function () {
9844
9960
  return {
9845
- id_empresa: this.idEmpresa.toString(),
9961
+ id_enterprise: this.idEnterprise.toString(),
9962
+ id_empresa: this.idEmpresa,
9846
9963
  id_concurso: this.idConcurso.toString(),
9847
9964
  id_reqcon: this.idRequisito.toString(),
9848
9965
  codreqcon: this.codigoRequisito,
@@ -9859,6 +9976,7 @@
9859
9976
  function MConcurso(e) {
9860
9977
  if (e === void 0) { e = null; }
9861
9978
  var _this = _super.call(this) || this;
9979
+ _this.idEnterprise = 0;
9862
9980
  _this.idEmpresa = 0;
9863
9981
  _this.idConcurso = 0;
9864
9982
  _this.codigoConcurso = '';
@@ -9875,7 +9993,8 @@
9875
9993
  _this.detalleRequisitos = [];
9876
9994
  _this.eliminarDetalles = [];
9877
9995
  if (e) {
9878
- _this.idEmpresa = parseInt(e.id_empresa);
9996
+ _this.idEnterprise = +e.id_enterprise;
9997
+ _this.idEmpresa = +e.id_empresa;
9879
9998
  _this.idConcurso = parseInt(e.id_concurso);
9880
9999
  _this.codigoConcurso = e.codcon;
9881
10000
  _this.denominacionConcurso = e.dencon;
@@ -9896,7 +10015,8 @@
9896
10015
  }
9897
10016
  MConcurso.prototype.dataInterface = function () {
9898
10017
  return {
9899
- id_empresa: this.idEmpresa.toString(),
10018
+ id_enterprise: this.idEnterprise.toString(),
10019
+ id_empresa: this.idEmpresa,
9900
10020
  id_concurso: this.idConcurso.toString(),
9901
10021
  codcon: this.codigoConcurso,
9902
10022
  dencon: this.denominacionConcurso,
@@ -9919,6 +10039,7 @@
9919
10039
  function MPrevioEvaluacion(e) {
9920
10040
  if (e === void 0) { e = null; }
9921
10041
  var _this = _super.call(this) || this;
10042
+ _this.idEnterprise = 0;
9922
10043
  _this.idEmpresa = 0;
9923
10044
  _this.idPrevio = 0;
9924
10045
  _this.proceso = '';
@@ -9938,7 +10059,8 @@
9938
10059
  _this.estatusRegistro = 0;
9939
10060
  _this.detallesRegistro = [];
9940
10061
  if (e) {
9941
- _this.idEmpresa = parseInt(e.id_empresa);
10062
+ _this.idEnterprise = +e.id_enterprise;
10063
+ _this.idEmpresa = +e.id_empresa;
9942
10064
  _this.idPrevio = parseInt(e.id_previo);
9943
10065
  _this.proceso = e.proceso;
9944
10066
  _this.idConcurso = parseInt(e.id_concurso);
@@ -9965,7 +10087,8 @@
9965
10087
  }
9966
10088
  MPrevioEvaluacion.prototype.dataInterface = function () {
9967
10089
  return {
9968
- id_empresa: this.idEmpresa.toString(),
10090
+ id_enterprise: this.idEnterprise.toString(),
10091
+ id_empresa: this.idEmpresa,
9969
10092
  id_previo: this.idPrevio.toString(),
9970
10093
  proceso: this.proceso,
9971
10094
  id_concurso: this.idConcurso.toString(),
@@ -9993,6 +10116,7 @@
9993
10116
  function MPrevioEvaluacionDt(e) {
9994
10117
  if (e === void 0) { e = null; }
9995
10118
  var _this = _super.call(this) || this;
10119
+ _this.idEnterprise = 0;
9996
10120
  _this.idEmpresa = 0;
9997
10121
  _this.idPrevio = 0;
9998
10122
  _this.idAspecto = 0;
@@ -10004,7 +10128,8 @@
10004
10128
  _this.puntos = 0;
10005
10129
  _this.valorMaximo = 0;
10006
10130
  if (e) {
10007
- _this.idEmpresa = parseInt(e.id_empresa);
10131
+ _this.idEnterprise = +e.id_enterprise;
10132
+ _this.idEmpresa = +e.id_empresa;
10008
10133
  _this.idPrevio = parseInt(e.id_previo);
10009
10134
  _this.idAspecto = parseInt(e.id_aspecto);
10010
10135
  _this.idTipoEvaluacion = parseInt(e.id_tipoeval);
@@ -10022,7 +10147,8 @@
10022
10147
  }
10023
10148
  MPrevioEvaluacionDt.prototype.dataInterface = function () {
10024
10149
  return {
10025
- id_empresa: this.idEmpresa.toString(),
10150
+ id_enterprise: this.idEnterprise.toString(),
10151
+ id_empresa: this.idEmpresa,
10026
10152
  id_previo: this.idPrevio.toString(),
10027
10153
  id_tipoeval: this.idTipoEvaluacion.toString(),
10028
10154
  id_aspecto: this.idAspecto.toString(),
@@ -10040,6 +10166,7 @@
10040
10166
  __extends(MResultadosEvaluacion, _super);
10041
10167
  function MResultadosEvaluacion(e) {
10042
10168
  var _this = _super.call(this) || this;
10169
+ _this.idEnterprise = 0;
10043
10170
  _this.idEmpresa = 0;
10044
10171
  _this.idEvaluacion = 0;
10045
10172
  _this.idConcurso = 0;
@@ -10056,7 +10183,8 @@
10056
10183
  _this.resultado_rqm = 0;
10057
10184
  _this.usuarioRegistro = '';
10058
10185
  if (e) {
10059
- _this.idEmpresa = parseInt(e.id_empresa);
10186
+ _this.idEnterprise = +e.id_enterprise;
10187
+ _this.idEmpresa = +e.id_empresa;
10060
10188
  _this.idEvaluacion = parseInt(e.id_evaluacion);
10061
10189
  _this.idConcurso = parseInt(e.id_concurso);
10062
10190
  _this.codigoConcurso = e.codcon,
@@ -10080,7 +10208,8 @@
10080
10208
  }
10081
10209
  MResultadosEvaluacion.prototype.dataInterface = function () {
10082
10210
  return {
10083
- id_empresa: this.idEmpresa.toString(),
10211
+ id_enterprise: this.idEnterprise.toString(),
10212
+ id_empresa: this.idEmpresa,
10084
10213
  id_evaluacion: this.idEvaluacion.toString(),
10085
10214
  id_concurso: this.idConcurso.toString(),
10086
10215
  codcon: this.codigoConcurso,
@@ -10105,6 +10234,7 @@
10105
10234
  __extends(MTipoPersonal, _super);
10106
10235
  function MTipoPersonal(e) {
10107
10236
  var _this = _super.call(this) || this;
10237
+ _this.idEnterprise = 0;
10108
10238
  _this.idEmpresa = 0;
10109
10239
  _this.idDedicacion = 0;
10110
10240
  _this.idTipoPersonal = 0;
@@ -10112,7 +10242,8 @@
10112
10242
  _this.codigoTipoPersonal = '';
10113
10243
  _this.denominacionTipoPersonal = '';
10114
10244
  if (e) {
10115
- _this.idEmpresa = parseInt(e.id_empresa);
10245
+ _this.idEnterprise = +e.id_enterprise;
10246
+ _this.idEmpresa = +e.id_empresa;
10116
10247
  _this.idDedicacion = parseInt(e.id_dedicacion);
10117
10248
  _this.idTipoPersonal = parseInt(e.id_tipopersonal);
10118
10249
  _this.idDtTipoPersonal = parseInt(e.id_dt_tipopersonal);
@@ -10123,7 +10254,8 @@
10123
10254
  }
10124
10255
  MTipoPersonal.prototype.dataInterface = function () {
10125
10256
  return {
10126
- id_empresa: this.idEmpresa.toString(),
10257
+ id_enterprise: this.idEnterprise.toString(),
10258
+ id_empresa: this.idEmpresa,
10127
10259
  id_tipopersonal: this.idTipoPersonal.toString(),
10128
10260
  id_dedicacion: this.idDedicacion.toString(),
10129
10261
  id_dt_tipopersonal: this.idDtTipoPersonal.toString(),
@@ -10139,13 +10271,15 @@
10139
10271
  function MDedicacion(e) {
10140
10272
  if (e === void 0) { e = null; }
10141
10273
  var _this = _super.call(this) || this;
10274
+ _this.idEnterprise = 0;
10142
10275
  _this.idEmpresa = 0;
10143
10276
  _this.idDedicacion = 0;
10144
10277
  _this.codigoDedicacion = '';
10145
10278
  _this.denominacionDedicacion = '';
10146
10279
  _this.tipoPersonal = [];
10147
10280
  if (e) {
10148
- _this.idEmpresa = parseInt(e.id_empresa);
10281
+ _this.idEnterprise = +e.id_enterprise;
10282
+ _this.idEmpresa = +e.id_empresa;
10149
10283
  _this.idDedicacion = parseInt(e.id_dedicacion);
10150
10284
  _this.codigoDedicacion = e.codded;
10151
10285
  _this.denominacionDedicacion = e.dended;
@@ -10158,7 +10292,8 @@
10158
10292
  }
10159
10293
  MDedicacion.prototype.dataInterface = function () {
10160
10294
  return {
10161
- id_empresa: this.idEmpresa.toString(),
10295
+ id_enterprise: this.idEnterprise.toString(),
10296
+ id_empresa: this.idEmpresa,
10162
10297
  id_dedicacion: this.idDedicacion.toString(),
10163
10298
  codded: this.codigoDedicacion,
10164
10299
  dended: this.denominacionDedicacion,
@@ -10173,12 +10308,16 @@
10173
10308
  function MDefinicionesBasicas(e) {
10174
10309
  if (e === void 0) { e = null; }
10175
10310
  var _this = _super.call(this) || this;
10311
+ _this.idEnterprise = 0;
10312
+ _this.idEmpresa = 0;
10176
10313
  _this.idDefinicion = -1;
10177
10314
  _this.codigo = '';
10178
10315
  _this.denominacion = '';
10179
10316
  _this.tipoPersonalObrero = false;
10180
10317
  _this.observacionRetenciones = '';
10181
10318
  if (e) {
10319
+ _this.idEnterprise = +e.id_enterprise;
10320
+ _this.idEmpresa = +e.id_empresa;
10182
10321
  _this.idDefinicion = parseInt(e.id);
10183
10322
  _this.codigo = e.coddef;
10184
10323
  _this.denominacion = e.dendef;
@@ -10201,6 +10340,8 @@
10201
10340
  tipo = '1';
10202
10341
  }
10203
10342
  return {
10343
+ id_enterprise: this.idEnterprise.toString(),
10344
+ id_empresa: this.idEmpresa,
10204
10345
  id: this.idDefinicion.toString(),
10205
10346
  coddef: this.codigo,
10206
10347
  dendef: this.denominacion,
@@ -10214,6 +10355,7 @@
10214
10355
  __extends(MSueldoMinimo, _super);
10215
10356
  function MSueldoMinimo(e) {
10216
10357
  var _this = _super.call(this) || this;
10358
+ _this.idEnterprise = 0;
10217
10359
  _this.idEmpresa = 0;
10218
10360
  _this.idSueldoMinimo = 0;
10219
10361
  _this.codigoSueldoMinimo = '';
@@ -10223,7 +10365,8 @@
10223
10365
  _this.montoSueldoMinimo = 0;
10224
10366
  _this.observacionSueldoMinimo = '';
10225
10367
  if (e) {
10226
- _this.idEmpresa = parseInt(e.id_empresa);
10368
+ _this.idEnterprise = +e.id_enterprise;
10369
+ _this.idEmpresa = +e.id_empresa;
10227
10370
  _this.idSueldoMinimo = parseInt(e.id_sueldominimo);
10228
10371
  _this.codigoSueldoMinimo = e.codsuemin;
10229
10372
  _this.annoSueldoMinimo = parseInt(e.anosuemin);
@@ -10236,7 +10379,8 @@
10236
10379
  }
10237
10380
  MSueldoMinimo.prototype.dataInterface = function () {
10238
10381
  return {
10239
- id_empresa: this.idEmpresa.toString(),
10382
+ id_enterprise: this.idEnterprise.toString(),
10383
+ id_empresa: this.idEmpresa,
10240
10384
  id_sueldominimo: this.idSueldoMinimo.toString(),
10241
10385
  codsuemin: this.codigoSueldoMinimo,
10242
10386
  anosuemin: this.annoSueldoMinimo.toString(),
@@ -10254,6 +10398,7 @@
10254
10398
  function MDeudaAnterior(e) {
10255
10399
  if (e === void 0) { e = null; }
10256
10400
  var _this = _super.call(this) || this;
10401
+ _this.idEnterprise = 0;
10257
10402
  _this.idEmpresa = 0;
10258
10403
  _this.idPersonal = 0;
10259
10404
  _this.fechaCorteDeuda = '1900-01-01';
@@ -10262,6 +10407,7 @@
10262
10407
  _this.montoDeudaAnterior = 0;
10263
10408
  _this.montoAnticipoInteres = 0;
10264
10409
  if (e) {
10410
+ _this.idEnterprise = +e.id_enterprise;
10265
10411
  _this.idEmpresa = +e.id_empresa;
10266
10412
  _this.idPersonal = +e.id_personal;
10267
10413
  _this.fechaCorteDeuda = e.feccordeu;
@@ -10277,6 +10423,7 @@
10277
10423
  }
10278
10424
  MDeudaAnterior.prototype.dataInterface = function () {
10279
10425
  return {
10426
+ id_enterprise: this.idEnterprise.toString(),
10280
10427
  id_empresa: this.idEmpresa,
10281
10428
  id_personal: this.idPersonal,
10282
10429
  feccordeu: this.fechaCorteDeuda,
@@ -10293,6 +10440,7 @@
10293
10440
  __extends(MEscalaEvaluacionDt, _super);
10294
10441
  function MEscalaEvaluacionDt(e) {
10295
10442
  var _this = _super.call(this) || this;
10443
+ _this.idEnterprise = 0;
10296
10444
  _this.idEmpresa = 0;
10297
10445
  _this.idEscala = 0;
10298
10446
  _this.codigoDetalleEscala = '';
@@ -10301,7 +10449,8 @@
10301
10449
  _this.valorFinalDetalleEscala = 0;
10302
10450
  _this.idDtEscala = 0;
10303
10451
  if (e) {
10304
- _this.idEmpresa = parseInt(e.id_empresa);
10452
+ _this.idEnterprise = +e.id_enterprise;
10453
+ _this.idEmpresa = +e.id_empresa;
10305
10454
  _this.idEscala = parseInt(e.id_escala);
10306
10455
  _this.codigoDetalleEscala = e.coddetesc;
10307
10456
  _this.denominacionDetalleEscala = e.dendetesc;
@@ -10313,7 +10462,8 @@
10313
10462
  }
10314
10463
  MEscalaEvaluacionDt.prototype.dataInterface = function () {
10315
10464
  return {
10316
- id_empresa: this.idEmpresa.toString(),
10465
+ id_enterprise: this.idEnterprise.toString(),
10466
+ id_empresa: this.idEmpresa,
10317
10467
  id_escala: this.idEscala.toString(),
10318
10468
  coddetesc: this.codigoDetalleEscala,
10319
10469
  dendetesc: this.denominacionDetalleEscala,
@@ -10329,6 +10479,7 @@
10329
10479
  __extends(MEscalaEvaluacion, _super);
10330
10480
  function MEscalaEvaluacion(e) {
10331
10481
  var _this = _super.call(this) || this;
10482
+ _this.idEnterprise = 0;
10332
10483
  _this.idEmpresa = 0;
10333
10484
  _this.idEscala = 0;
10334
10485
  _this.codigoEscala = '';
@@ -10337,7 +10488,8 @@
10337
10488
  _this.valorFinalEscala = 0;
10338
10489
  _this.detalles = [];
10339
10490
  if (e) {
10340
- _this.idEmpresa = parseInt(e.id_empresa);
10491
+ _this.idEnterprise = +e.id_enterprise;
10492
+ _this.idEmpresa = +e.id_empresa;
10341
10493
  _this.idEscala = parseInt(e.id_escala);
10342
10494
  _this.codigoEscala = e.codesc;
10343
10495
  _this.denominacionEscala = e.denesc;
@@ -10349,7 +10501,8 @@
10349
10501
  }
10350
10502
  MEscalaEvaluacion.prototype.dataInterface = function () {
10351
10503
  return {
10352
- id_empresa: this.idEmpresa.toString(),
10504
+ id_enterprise: this.idEnterprise.toString(),
10505
+ id_empresa: this.idEmpresa,
10353
10506
  id_escala: this.idEscala.toString(),
10354
10507
  codesc: this.codigoEscala,
10355
10508
  denesc: this.denominacionEscala,
@@ -10365,6 +10518,7 @@
10365
10518
  __extends(MEstructuraOrganizativa, _super);
10366
10519
  function MEstructuraOrganizativa(e) {
10367
10520
  var _this = _super.call(this) || this;
10521
+ _this.idEnterprise = 0;
10368
10522
  _this.idEmpresa = 0;
10369
10523
  _this.idOrganigrama = 0;
10370
10524
  _this.codigoEstructuraOrganizativa = '';
@@ -10398,7 +10552,8 @@
10398
10552
  _this.ubicacionZona = 0;
10399
10553
  _this.ubicacionNoAplica = 0;
10400
10554
  if (e) {
10401
- _this.idEmpresa = parseInt(e.id_empresa);
10555
+ _this.idEnterprise = +e.id_enterprise;
10556
+ _this.idEmpresa = +e.id_empresa;
10402
10557
  _this.idOrganigrama = parseInt(e.id_organigrama);
10403
10558
  _this.codigoEstructuraOrganizativa = e.codestorg;
10404
10559
  _this.denominacionEstructuraOrganizativa = e.denestorg;
@@ -10435,7 +10590,8 @@
10435
10590
  }
10436
10591
  MEstructuraOrganizativa.prototype.dataInterface = function () {
10437
10592
  return {
10438
- id_empresa: this.idEmpresa.toString(),
10593
+ id_enterprise: this.idEnterprise.toString(),
10594
+ id_empresa: this.idEmpresa,
10439
10595
  id_organigrama: this.idOrganigrama.toString(),
10440
10596
  codestorg: this.codigoEstructuraOrganizativa,
10441
10597
  denestorg: this.denominacionEstructuraOrganizativa,
@@ -10476,6 +10632,7 @@
10476
10632
  __extends(MFamiliares, _super);
10477
10633
  function MFamiliares(e) {
10478
10634
  var _this = _super.call(this) || this;
10635
+ _this.idEnterprise = 0;
10479
10636
  _this.idEmpresa = 0;
10480
10637
  _this.idPersonal = 0;
10481
10638
  _this.idFamiliar = 0;
@@ -10501,7 +10658,8 @@
10501
10658
  _this.Nexo = Nexofamiliar;
10502
10659
  _this.Academico = NivelAcademicoFamiliar;
10503
10660
  if (e) {
10504
- _this.idEmpresa = parseInt(e.id_empresa);
10661
+ _this.idEnterprise = +e.id_enterprise;
10662
+ _this.idEmpresa = +e.id_empresa;
10505
10663
  _this.idPersonal = parseInt(e.id_personal);
10506
10664
  _this.idFamiliar = parseInt(e.id_familiar);
10507
10665
  _this.cedulaFamiliar = e.cedfam;
@@ -10531,7 +10689,8 @@
10531
10689
  }
10532
10690
  MFamiliares.prototype.dataInterface = function () {
10533
10691
  return {
10534
- id_empresa: this.idEmpresa.toString(),
10692
+ id_enterprise: this.idEnterprise.toString(),
10693
+ id_empresa: this.idEmpresa,
10535
10694
  id_personal: this.idPersonal.toString(),
10536
10695
  id_familiar: this.idFamiliar.toString(),
10537
10696
  cedfam: this.cedulaFamiliar,
@@ -10605,6 +10764,7 @@
10605
10764
  __extends(MFideicomiso, _super);
10606
10765
  function MFideicomiso(e) {
10607
10766
  var _this = _super.call(this) || this;
10767
+ _this.idEnterprise = 0;
10608
10768
  _this.idEmpresa = 0;
10609
10769
  _this.idPersonal = 0;
10610
10770
  _this.idfideicomiso = 0;
@@ -10625,7 +10785,8 @@
10625
10785
  _this.denominacionUbicacionFisica = '';
10626
10786
  _this.codigoUbicacionFisica = '';
10627
10787
  if (e) {
10628
- _this.idEmpresa = parseInt(e.id_empresa);
10788
+ _this.idEnterprise = +e.id_enterprise;
10789
+ _this.idEmpresa = +e.id_empresa;
10629
10790
  _this.idPersonal = parseInt(e.id_personal);
10630
10791
  _this.idfideicomiso = parseInt(e.id_fideicomiso);
10631
10792
  _this.codigoFideicomiso = e.codfid;
@@ -10652,7 +10813,8 @@
10652
10813
  }
10653
10814
  MFideicomiso.prototype.dataInterface = function () {
10654
10815
  return {
10655
- id_empresa: this.idEmpresa.toString(),
10816
+ id_enterprise: this.idEnterprise.toString(),
10817
+ id_empresa: this.idEmpresa,
10656
10818
  id_personal: this.idPersonal.toString(),
10657
10819
  id_fideicomiso: this.idfideicomiso.toString(),
10658
10820
  codfid: this.codigoFideicomiso,
@@ -10676,6 +10838,7 @@
10676
10838
  __extends(MConfiguracionFideicomiso, _super);
10677
10839
  function MConfiguracionFideicomiso(e) {
10678
10840
  var _this = _super.call(this) || this;
10841
+ _this.idEnterprise = 0;
10679
10842
  _this.idEmpresa = 0;
10680
10843
  _this.idFideicomisoConfiguracion = 0;
10681
10844
  _this.idDedicacion = 0;
@@ -10690,7 +10853,8 @@
10690
10853
  _this.denominacionTipoPersonal = '';
10691
10854
  _this.formulaFideicomiso = 'xxx';
10692
10855
  if (e) {
10693
- _this.idEmpresa = parseInt(e.id_empresa);
10856
+ _this.idEnterprise = +e.id_enterprise;
10857
+ _this.idEmpresa = +e.id_empresa;
10694
10858
  _this.idDedicacion = parseInt(e.id_dedicacion);
10695
10859
  _this.idTipoPersonal = parseInt(e.id_tipopersonal);
10696
10860
  _this.anioCursoFideicomiso = e.anocurfid;
@@ -10711,7 +10875,8 @@
10711
10875
  }
10712
10876
  MConfiguracionFideicomiso.prototype.dataInterface = function () {
10713
10877
  return {
10714
- id_empresa: this.idEmpresa.toString(),
10878
+ id_enterprise: this.idEnterprise.toString(),
10879
+ id_empresa: this.idEmpresa,
10715
10880
  id_fidconfig: this.idFideicomisoConfiguracion.toString(),
10716
10881
  id_dedicacion: this.idDedicacion.toString(),
10717
10882
  id_tipopersonal: this.idTipoPersonal.toString(),
@@ -10728,6 +10893,7 @@
10728
10893
  __extends(MFideicomisoInteres, _super);
10729
10894
  function MFideicomisoInteres(e) {
10730
10895
  var _this = _super.call(this) || this;
10896
+ _this.idEnterprise = 0;
10731
10897
  _this.idEmpresa = 0;
10732
10898
  _this.idInteresFideicomiso = 0;
10733
10899
  _this.mesInteres = 0;
@@ -10736,7 +10902,8 @@
10736
10902
  _this.fechaVigenciaGacetaInteres = '1900-01-01';
10737
10903
  _this.montoTasaInteres = 0;
10738
10904
  if (e) {
10739
- _this.idEmpresa = parseInt(e.id_empresa);
10905
+ _this.idEnterprise = +e.id_enterprise;
10906
+ _this.idEmpresa = +e.id_empresa;
10740
10907
  _this.idInteresFideicomiso = parseInt(e.id_intfide);
10741
10908
  _this.mesInteres = parseInt(e.mesint);
10742
10909
  _this.anioInteres = parseInt(e.anoint);
@@ -10751,7 +10918,8 @@
10751
10918
  }
10752
10919
  MFideicomisoInteres.prototype.dataInterface = function () {
10753
10920
  return {
10754
- id_empresa: this.idEmpresa.toString(),
10921
+ id_enterprise: this.idEnterprise.toString(),
10922
+ id_empresa: this.idEmpresa,
10755
10923
  id_intfide: this.idInteresFideicomiso.toString(),
10756
10924
  mesint: this.mesInteres.toString(),
10757
10925
  anoint: this.anioInteres.toString(),
@@ -10767,6 +10935,7 @@
10767
10935
  function MCalculoPrestacion(e) {
10768
10936
  if (e === void 0) { e = null; }
10769
10937
  var _this = _super.call(this) || this;
10938
+ _this.idEnterprise = 0;
10770
10939
  _this.idEmpresa = 0;
10771
10940
  _this.mes = '';
10772
10941
  _this.anio = '';
@@ -10775,7 +10944,8 @@
10775
10944
  _this.mesCalculado = '';
10776
10945
  _this.anioCalculado = '';
10777
10946
  if (e) {
10778
- _this.idEmpresa = parseInt(e.id_empresa);
10947
+ _this.idEnterprise = +e.id_enterprise;
10948
+ _this.idEmpresa = +e.id_empresa;
10779
10949
  _this.mes = e.mes;
10780
10950
  _this.anio = e.anio;
10781
10951
  _this.cedulaDesde = e.cedula_desde;
@@ -10790,7 +10960,8 @@
10790
10960
  }
10791
10961
  MCalculoPrestacion.prototype.dataInterface = function () {
10792
10962
  return {
10793
- id_empresa: this.idEmpresa.toString(),
10963
+ id_enterprise: this.idEnterprise.toString(),
10964
+ id_empresa: this.idEmpresa,
10794
10965
  mes: this.mes,
10795
10966
  anio: this.anio,
10796
10967
  cedula_desde: this.cedulaDesde,
@@ -10806,6 +10977,7 @@
10806
10977
  function MFideicomisoPeriodo(e) {
10807
10978
  if (e === void 0) { e = null; }
10808
10979
  var _this = _super.call(this) || this;
10980
+ _this.idEnterprise = 0;
10809
10981
  _this.idEmpresa = 0;
10810
10982
  _this.idPersonal = 0;
10811
10983
  _this.idNomina = 0;
@@ -10900,6 +11072,8 @@
10900
11072
  function MFideicomisoPeriodoInteresCatalogo(e) {
10901
11073
  if (e === void 0) { e = null; }
10902
11074
  var _this = _super.call(this) || this;
11075
+ _this.idEnterprise = 0;
11076
+ _this.idEmpresa = 0;
10903
11077
  _this.idPersonal = 0;
10904
11078
  _this.codigoPersonal = '';
10905
11079
  _this.cedulaPersonal = '';
@@ -10910,6 +11084,8 @@
10910
11084
  _this.denominacionEstatus = '';
10911
11085
  _this.interes = [];
10912
11086
  if (e) {
11087
+ _this.idEnterprise = +e.id_enterprise;
11088
+ _this.idEmpresa = +e.id_empresa;
10913
11089
  _this.idPersonal = +e.id_personal;
10914
11090
  _this.codigoPersonal = e.codper;
10915
11091
  _this.cedulaPersonal = e.cedper;
@@ -10941,6 +11117,7 @@
10941
11117
  function MFideicomisoPeriodoInteres(e) {
10942
11118
  if (e === void 0) { e = null; }
10943
11119
  var _this = _super.call(this) || this;
11120
+ _this.idEnterprise = 0;
10944
11121
  _this.idEmpresa = 0;
10945
11122
  _this.idPersonal = 0;
10946
11123
  _this.idNomina = 0;
@@ -11017,6 +11194,7 @@
11017
11194
  __extends(MFormacionAcademica, _super);
11018
11195
  function MFormacionAcademica(e) {
11019
11196
  var _this = _super.call(this) || this;
11197
+ _this.idEnterprise = 0;
11020
11198
  _this.idEmpresa = 0;
11021
11199
  _this.idConcurso = 0;
11022
11200
  _this.idConcursante = 0;
@@ -11029,7 +11207,8 @@
11029
11207
  _this.tituloObtenido = '';
11030
11208
  _this.yearAprobados = 0;
11031
11209
  if (e) {
11032
- _this.idEmpresa = parseInt(e.id_empresa);
11210
+ _this.idEnterprise = +e.id_enterprise;
11211
+ _this.idEmpresa = +e.id_empresa;
11033
11212
  _this.idConcurso = parseInt(e.id_concurso);
11034
11213
  _this.idConcursante = parseInt(e.id_concursante);
11035
11214
  _this.idEstudioConcursante = parseInt(e.id_estudiocon);
@@ -11045,7 +11224,8 @@
11045
11224
  }
11046
11225
  MFormacionAcademica.prototype.dataInterface = function () {
11047
11226
  return {
11048
- id_empresa: this.idEmpresa.toString(),
11227
+ id_enterprise: this.idEnterprise.toString(),
11228
+ id_empresa: this.idEmpresa,
11049
11229
  id_concurso: this.idConcurso.toString(),
11050
11230
  id_concursante: this.idConcursante.toString(),
11051
11231
  id_estudiocon: this.idEstudioConcursante.toString(),
@@ -11066,6 +11246,7 @@
11066
11246
  function MPrimaGrados(e) {
11067
11247
  if (e === void 0) { e = null; }
11068
11248
  var _this = _super.call(this) || this;
11249
+ _this.idEnterprise = 0;
11069
11250
  _this.idEmpresa = 0;
11070
11251
  _this.idTabulador = 0;
11071
11252
  _this.codigoGrado = '';
@@ -11075,7 +11256,8 @@
11075
11256
  _this.montoPrima = 0;
11076
11257
  _this.IdDetallePrima = 0;
11077
11258
  if (e) {
11078
- _this.idEmpresa = parseInt(e.id_empresa);
11259
+ _this.idEnterprise = +e.id_enterprise;
11260
+ _this.idEmpresa = +e.id_empresa;
11079
11261
  _this.idTabulador = parseInt(e.id_tabulador);
11080
11262
  _this.codigoGrado = e.codgra;
11081
11263
  _this.codigoPaso = e.codpas;
@@ -11091,7 +11273,8 @@
11091
11273
  }
11092
11274
  MPrimaGrados.prototype.dataInterface = function () {
11093
11275
  return {
11094
- id_empresa: this.idEmpresa.toString(),
11276
+ id_enterprise: this.idEnterprise.toString(),
11277
+ id_empresa: this.idEmpresa,
11095
11278
  id_tabulador: this.idTabulador.toString(),
11096
11279
  codgra: this.codigoGrado,
11097
11280
  codpas: this.codigoPaso,
@@ -11109,6 +11292,7 @@
11109
11292
  function MGrados(e) {
11110
11293
  if (e === void 0) { e = null; }
11111
11294
  var _this = _super.call(this) || this;
11295
+ _this.idEnterprise = 0;
11112
11296
  _this.idEmpresa = 0;
11113
11297
  _this.idTabulador = 0;
11114
11298
  _this.codigoGrado = 0;
@@ -11120,7 +11304,8 @@
11120
11304
  _this.IdDetalleGrado = 0;
11121
11305
  _this.detallePrima = [];
11122
11306
  if (e) {
11123
- _this.idEmpresa = parseInt(e.id_empresa);
11307
+ _this.idEnterprise = +e.id_enterprise;
11308
+ _this.idEmpresa = +e.id_empresa;
11124
11309
  _this.idTabulador = parseInt(e.id_tabulador);
11125
11310
  _this.codigoGrado = parseInt(e.codgra);
11126
11311
  _this.codigoPaso = parseInt(e.codpas);
@@ -11135,7 +11320,8 @@
11135
11320
  }
11136
11321
  MGrados.prototype.dataInterface = function () {
11137
11322
  return {
11138
- id_empresa: this.idEmpresa.toString(),
11323
+ id_enterprise: this.idEnterprise.toString(),
11324
+ id_empresa: this.idEmpresa,
11139
11325
  id_tabulador: this.idTabulador.toString(),
11140
11326
  codgra: this.codigoGrado.toString(),
11141
11327
  codpas: this.codigoPaso.toString(),
@@ -11155,6 +11341,7 @@
11155
11341
  function MPrimasConcepto(e) {
11156
11342
  if (e === void 0) { e = null; }
11157
11343
  var _this = _super.call(this) || this;
11344
+ _this.idEnterprise = 0;
11158
11345
  _this.idEmpresa = 0;
11159
11346
  _this.idPrimaConcepto = 0;
11160
11347
  _this.idNomina = 0;
@@ -11164,6 +11351,7 @@
11164
11351
  _this.codigoConcepto = '';
11165
11352
  _this.nombreConcepto = '';
11166
11353
  if (e) {
11354
+ _this.idEnterprise = +e.id_enterprise;
11167
11355
  _this.idEmpresa = +e.id_empresa;
11168
11356
  _this.idPrimaConcepto = +e.id_primaconcepto;
11169
11357
  _this.idNomina = +e.id_nomina;
@@ -11180,7 +11368,8 @@
11180
11368
  }
11181
11369
  MPrimasConcepto.prototype.dataInterface = function () {
11182
11370
  return {
11183
- id_empresa: this.idEmpresa.toString(),
11371
+ id_enterprise: this.idEnterprise.toString(),
11372
+ id_empresa: this.idEmpresa,
11184
11373
  id_primaconcepto: this.idPrimaConcepto.toString(),
11185
11374
  id_nomina: this.idNomina.toString(),
11186
11375
  id_concepto: this.idConcepto.toString(),
@@ -11198,6 +11387,7 @@
11198
11387
  function MRequisitosConcursantes(e) {
11199
11388
  if (e === void 0) { e = null; }
11200
11389
  var _this = _super.call(this) || this;
11390
+ _this.idEnterprise = 0;
11201
11391
  _this.idEmpresa = 0;
11202
11392
  _this.idConcurso = 0;
11203
11393
  _this.idConcursante = 0;
@@ -11208,7 +11398,8 @@
11208
11398
  _this.requisitosEntregado = '';
11209
11399
  _this.cantidadEntregado = 0;
11210
11400
  if (e) {
11211
- _this.idEmpresa = parseInt(e.id_empresa);
11401
+ _this.idEnterprise = +e.id_enterprise;
11402
+ _this.idEmpresa = +e.id_empresa;
11212
11403
  _this.idConcursante = parseInt(e.id_concurso);
11213
11404
  _this.idConcursante = parseInt(e.id_concursante);
11214
11405
  _this.idRequisitos = parseInt(e.id_reqcon);
@@ -11225,7 +11416,8 @@
11225
11416
  }
11226
11417
  MRequisitosConcursantes.prototype.dataInterface = function () {
11227
11418
  return {
11228
- id_empresa: this.idEmpresa.toString(),
11419
+ id_enterprise: this.idEnterprise.toString(),
11420
+ id_empresa: this.idEmpresa,
11229
11421
  id_concurso: this.idConcurso.toString(),
11230
11422
  id_concursante: this.idConcurso.toString(),
11231
11423
  id_reqcon: this.idRequisitos.toString(),
@@ -11243,6 +11435,7 @@
11243
11435
  __extends(MRequisitosMinimos, _super);
11244
11436
  function MRequisitosMinimos(e) {
11245
11437
  var _this = _super.call(this) || this;
11438
+ _this.idEnterprise = 0;
11246
11439
  _this.idEmpresa = 0;
11247
11440
  _this.idConcurso = 0;
11248
11441
  _this.idConcursante = 0;
@@ -11259,7 +11452,8 @@
11259
11452
  _this.items = [];
11260
11453
  _this.eliminarDetalles = [];
11261
11454
  if (e) {
11262
- _this.idEmpresa = parseInt(e.id_empresa);
11455
+ _this.idEnterprise = +e.id_enterprise;
11456
+ _this.idEmpresa = +e.id_empresa;
11263
11457
  _this.idConcursante;
11264
11458
  _this.codigoConcursante = e.codper;
11265
11459
  _this.nombreConcursante = e.nomper + ' ' + e.apeper;
@@ -11281,7 +11475,8 @@
11281
11475
  }
11282
11476
  MRequisitosMinimos.prototype.dataInterface = function () {
11283
11477
  return {
11284
- id_empresa: this.idEmpresa.toString(),
11478
+ id_enterprise: this.idEnterprise.toString(),
11479
+ id_empresa: this.idEmpresa,
11285
11480
  id_tipoeval: this.idTipoEvaluacion.toString(),
11286
11481
  id_concurso: this.idConcurso.toString(),
11287
11482
  id_reqmin: this.IdRequisitosMinimos.toString(),
@@ -11303,6 +11498,7 @@
11303
11498
  }(MBasicModel));
11304
11499
  var MDtRequisitosMinimos = /** @class */ (function () {
11305
11500
  function MDtRequisitosMinimos(e) {
11501
+ this.idEnterprise = 0;
11306
11502
  this.idEmpresa = 0;
11307
11503
  this.idConcurso = 0;
11308
11504
  this.fechaEvaluacion = '1900-01-01';
@@ -11316,7 +11512,8 @@
11316
11512
  this.idDtRequisito = 0;
11317
11513
  this.idConcursante = 0;
11318
11514
  if (e) {
11319
- this.idEmpresa = parseInt(e.id_empresa);
11515
+ this.idEnterprise = +e.id_enterprise;
11516
+ this.idEmpresa = +e.id_empresa;
11320
11517
  this.idConcurso = parseInt(e.id_concurso);
11321
11518
  this.idConcursante = parseInt(e.id_concursante);
11322
11519
  this.fechaEvaluacion = this.fechaEvaluacion;
@@ -11332,7 +11529,8 @@
11332
11529
  }
11333
11530
  MDtRequisitosMinimos.prototype.dataInterface = function () {
11334
11531
  return {
11335
- id_empresa: this.idEmpresa.toString(),
11532
+ id_enterprise: this.idEnterprise.toString(),
11533
+ id_empresa: this.idEmpresa,
11336
11534
  id_concurso: this.idConcurso.toString(),
11337
11535
  id_tipoeval: this.idTipoEvaluacion.toString(),
11338
11536
  id_aspecto: this.idAspecto.toString(),
@@ -11354,6 +11552,7 @@
11354
11552
  function MSalarioHistorico(e) {
11355
11553
  if (e === void 0) { e = null; }
11356
11554
  var _this = _super.call(this) || this;
11555
+ _this.idEnterprise = 0;
11357
11556
  _this.idEmpresa = 0;
11358
11557
  _this.idPersonal = 0;
11359
11558
  _this.idDedicacion = 0;
@@ -11373,7 +11572,8 @@
11373
11572
  _this.denominacionDedicacion = '';
11374
11573
  _this.denominacionTipoPersonal = '';
11375
11574
  if (e) {
11376
- _this.idEmpresa = parseInt(e.id_empresa);
11575
+ _this.idEnterprise = +e.id_enterprise;
11576
+ _this.idEmpresa = +e.id_empresa;
11377
11577
  _this.idPersonal = parseInt(e.id_personal);
11378
11578
  _this.idDedicacion = parseInt(e.id_dedicacion);
11379
11579
  _this.idTipoPersonal = parseInt(e.id_tipopersonal);
@@ -11396,7 +11596,8 @@
11396
11596
  }
11397
11597
  MSalarioHistorico.prototype.dataInterface = function () {
11398
11598
  return {
11399
- id_empresa: this.idEmpresa.toString(),
11599
+ id_enterprise: this.idEnterprise.toString(),
11600
+ id_empresa: this.idEmpresa,
11400
11601
  id_personal: this.idPersonal.toString(),
11401
11602
  id_dedicacion: this.idDedicacion.toString(),
11402
11603
  id_tipopersonal: this.idTipoPersonal.toString(),
@@ -11424,6 +11625,7 @@
11424
11625
  function MSolicitudEmpleo(e) {
11425
11626
  if (e === void 0) { e = null; }
11426
11627
  var _this = _super.call(this) || this;
11628
+ _this.idEnterprise = 0;
11427
11629
  _this.idEmpresa = 0;
11428
11630
  _this.idSolicitudEmpleo = 0;
11429
11631
  _this.numeroSolicitud = '';
@@ -11460,7 +11662,8 @@
11460
11662
  _this.pesoSolicitante = 0;
11461
11663
  _this.competenciaPerfilSolicitante = '';
11462
11664
  if (e) {
11463
- _this.idEmpresa = parseInt(e.id_empresa);
11665
+ _this.idEnterprise = +e.id_enterprise;
11666
+ _this.idEmpresa = +e.id_empresa;
11464
11667
  _this.idSolicitudEmpleo = parseInt(e.id_solempleo);
11465
11668
  _this.numeroSolicitud = e.nrosol;
11466
11669
  _this.cedulaSolicitante = e.cedsol;
@@ -11500,7 +11703,8 @@
11500
11703
  }
11501
11704
  MSolicitudEmpleo.prototype.dataInterface = function () {
11502
11705
  return {
11503
- id_empresa: this.idEmpresa.toString(),
11706
+ id_enterprise: this.idEnterprise.toString(),
11707
+ id_empresa: this.idEmpresa,
11504
11708
  id_solempleo: this.idSolicitudEmpleo.toString(),
11505
11709
  nrosol: this.numeroSolicitud,
11506
11710
  cedsol: this.cedulaSolicitante,
@@ -11545,6 +11749,7 @@
11545
11749
  function MTablaVacacionesPeriodo(e) {
11546
11750
  if (e === void 0) { e = null; }
11547
11751
  var _this = _super.call(this) || this;
11752
+ _this.idEnterprise = 0;
11548
11753
  _this.idEmpresa = 0;
11549
11754
  _this.idTablaVaciones = 0;
11550
11755
  _this.lapsoPeriodoVacacional = 0;
@@ -11554,7 +11759,8 @@
11554
11759
  _this.diaAdicionalBonoVacacional = 0;
11555
11760
  _this.idPeriodo = 0;
11556
11761
  if (e) {
11557
- _this.idEmpresa = parseInt(e.id_empresa);
11762
+ _this.idEnterprise = +e.id_enterprise;
11763
+ _this.idEmpresa = +e.id_empresa;
11558
11764
  _this.idTablaVaciones = parseInt(e.id_tabvac);
11559
11765
  _this.lapsoPeriodoVacacional = parseInt(e.lappervac);
11560
11766
  _this.diaAdicionalVacaciones = parseInt(e.diadisvac);
@@ -11567,7 +11773,8 @@
11567
11773
  }
11568
11774
  MTablaVacacionesPeriodo.prototype.dataInterface = function () {
11569
11775
  return {
11570
- id_empresa: this.idEmpresa.toString(),
11776
+ id_enterprise: this.idEnterprise.toString(),
11777
+ id_empresa: this.idEmpresa,
11571
11778
  id_tabvac: this.idTablaVaciones.toString(),
11572
11779
  lappervac: this.lapsoPeriodoVacacional.toString(),
11573
11780
  diadisvac: this.diaAdicionalVacaciones.toString(),
@@ -11583,6 +11790,7 @@
11583
11790
  var MTablaVacaciones = /** @class */ (function () {
11584
11791
  function MTablaVacaciones(e) {
11585
11792
  if (e === void 0) { e = null; }
11793
+ this.idEnterprise = 0;
11586
11794
  this.idEmpresa = 0;
11587
11795
  this.idTablaVacaciones = 0;
11588
11796
  this.codigoTablaVacaciones = '';
@@ -11592,7 +11800,8 @@
11592
11800
  this.diaVacacionCalculado = false;
11593
11801
  this.periodos = [];
11594
11802
  if (e) {
11595
- this.idEmpresa = parseInt(e.id_empresa);
11803
+ this.idEnterprise = +e.id_enterprise;
11804
+ this.idEmpresa = +e.id_empresa;
11596
11805
  this.idTablaVacaciones = parseInt(e.id_tabvac);
11597
11806
  this.codigoTablaVacaciones = e.codtabvac;
11598
11807
  this.denominacionTablaVacaciones = e.dentabvac;
@@ -11622,7 +11831,8 @@
11622
11831
  dia = '1';
11623
11832
  }
11624
11833
  return {
11625
- id_empresa: this.idEmpresa.toString(),
11834
+ id_enterprise: this.idEnterprise.toString(),
11835
+ id_empresa: this.idEmpresa,
11626
11836
  id_tabvac: this.idTablaVacaciones.toString(),
11627
11837
  codtabvac: this.codigoTablaVacaciones,
11628
11838
  dentabvac: this.denominacionTablaVacaciones,
@@ -11640,6 +11850,7 @@
11640
11850
  function MTabulador(e) {
11641
11851
  if (e === void 0) { e = null; }
11642
11852
  var _this = _super.call(this) || this;
11853
+ _this.idEnterprise = 0;
11643
11854
  _this.idEmpresa = 0;
11644
11855
  _this.idTabulador = -1;
11645
11856
  _this.codigoTabulador = '';
@@ -11653,7 +11864,8 @@
11653
11864
  _this.eliminarNomina = [];
11654
11865
  _this.eliminarPrima = [];
11655
11866
  if (e) {
11656
- _this.idEmpresa = parseInt(e.id_empresa);
11867
+ _this.idEnterprise = +e.id_enterprise;
11868
+ _this.idEmpresa = +e.id_empresa;
11657
11869
  _this.idTabulador = parseInt(e.id_tabulador);
11658
11870
  _this.codigoTabulador = e.codtab;
11659
11871
  _this.descripcionTabulador = e.destab;
@@ -11671,7 +11883,8 @@
11671
11883
  }
11672
11884
  MTabulador.prototype.dataInterface = function () {
11673
11885
  return {
11674
- id_empresa: this.idEmpresa.toString(),
11886
+ id_enterprise: this.idEnterprise.toString(),
11887
+ id_empresa: this.idEmpresa,
11675
11888
  id_tabulador: this.idTabulador.toString(),
11676
11889
  codtab: this.codigoTabulador,
11677
11890
  destab: this.descripcionTabulador,
@@ -11689,6 +11902,7 @@
11689
11902
  var MTabuladorNominas = /** @class */ (function () {
11690
11903
  function MTabuladorNominas(e) {
11691
11904
  if (e === void 0) { e = null; }
11905
+ this.idEnterprise = 0;
11692
11906
  this.idEmpresa = 0;
11693
11907
  this.idNomina = 0;
11694
11908
  this.idTabulador = 0;
@@ -11704,7 +11918,8 @@
11704
11918
  this.editable = false;
11705
11919
  this.calculada = false;
11706
11920
  if (e) {
11707
- this.idEmpresa = parseInt(e.id_empresa);
11921
+ this.idEnterprise = +e.id_enterprise;
11922
+ this.idEmpresa = +e.id_empresa;
11708
11923
  this.idNomina = parseInt(e.id_nomina);
11709
11924
  this.idTabulador = parseInt(e.id_tabulador);
11710
11925
  this.codigoNomina = e.codnom;
@@ -11720,7 +11935,8 @@
11720
11935
  }
11721
11936
  MTabuladorNominas.prototype.dataInterface = function () {
11722
11937
  return {
11723
- id_empresa: this.idEmpresa.toString(),
11938
+ id_enterprise: this.idEnterprise.toString(),
11939
+ id_empresa: this.idEmpresa,
11724
11940
  id_nomina: this.idNomina.toString(),
11725
11941
  id_tabulador: this.idTabulador.toString(),
11726
11942
  id_dt_tabnom: this.idDtNomina.toString()
@@ -11734,6 +11950,7 @@
11734
11950
  function MTipoEvaluacion(e) {
11735
11951
  if (e === void 0) { e = null; }
11736
11952
  var _this = _super.call(this) || this;
11953
+ _this.idEnterprise = 0;
11737
11954
  _this.idEmpresa = 0;
11738
11955
  _this.idTipoEvaluacion = 0;
11739
11956
  _this.idEscala = 0;
@@ -11742,7 +11959,8 @@
11742
11959
  _this.codigoEscala = '';
11743
11960
  _this.denominacionEscala = '';
11744
11961
  if (e) {
11745
- _this.idEmpresa = parseInt(e.id_empresa);
11962
+ _this.idEnterprise = +e.id_enterprise;
11963
+ _this.idEmpresa = +e.id_empresa;
11746
11964
  _this.idTipoEvaluacion = parseInt(e.id_tipoeval);
11747
11965
  _this.idEscala = parseInt(e.id_escala);
11748
11966
  _this.codigoTipoEvaluacion = e.codtipeval;
@@ -11754,7 +11972,8 @@
11754
11972
  }
11755
11973
  MTipoEvaluacion.prototype.dataInterface = function () {
11756
11974
  return {
11757
- id_empresa: this.idEmpresa.toString(),
11975
+ id_enterprise: this.idEnterprise.toString(),
11976
+ id_empresa: this.idEmpresa,
11758
11977
  id_tipoeval: this.idTipoEvaluacion.toString(),
11759
11978
  id_escala: this.idEscala.toString(),
11760
11979
  codtipeval: this.codigoTipoEvaluacion,
@@ -11768,6 +11987,7 @@
11768
11987
  var MTipoEvaluacionAspecto = /** @class */ (function () {
11769
11988
  function MTipoEvaluacionAspecto(e) {
11770
11989
  if (e === void 0) { e = null; }
11990
+ this.idEnterprise = 0;
11771
11991
  this.idEmpresa = 0;
11772
11992
  this.idTipoEvaluacion = 0;
11773
11993
  this.idEscala = 0;
@@ -11777,7 +11997,8 @@
11777
11997
  this.denominacionEscala = '';
11778
11998
  this.aspectos = [];
11779
11999
  if (e) {
11780
- this.idEmpresa = parseInt(e.id_empresa);
12000
+ this.idEnterprise = +e.id_enterprise;
12001
+ this.idEmpresa = +e.id_empresa;
11781
12002
  this.idTipoEvaluacion = parseInt(e.id_tipoeval);
11782
12003
  this.idEscala = parseInt(e.id_escala);
11783
12004
  this.codigoTipoEvaluacion = e.codtipeval;
@@ -11789,7 +12010,8 @@
11789
12010
  }
11790
12011
  MTipoEvaluacionAspecto.prototype.dataInterface = function () {
11791
12012
  return {
11792
- id_empresa: this.idEmpresa.toString(),
12013
+ id_enterprise: this.idEnterprise.toString(),
12014
+ id_empresa: this.idEmpresa,
11793
12015
  id_tipoeval: this.idTipoEvaluacion.toString(),
11794
12016
  id_escala: this.idEscala.toString(),
11795
12017
  codtipeval: this.codigoTipoEvaluacion,
@@ -11807,6 +12029,7 @@
11807
12029
  function MTiposEnfermedad(e) {
11808
12030
  if (e === void 0) { e = null; }
11809
12031
  var _this = _super.call(this) || this;
12032
+ _this.idEnterprise = 0;
11810
12033
  _this.idEmpresa = 0;
11811
12034
  _this.idEnfermedad = 0;
11812
12035
  _this.codigoEnfermedad = '';
@@ -11815,7 +12038,8 @@
11815
12038
  _this.riesgoLetal = '';
11816
12039
  _this.observacionEnfermedad = '';
11817
12040
  if (e) {
11818
- _this.idEmpresa = parseInt(e.id_empresa);
12041
+ _this.idEnterprise = +e.id_enterprise;
12042
+ _this.idEmpresa = +e.id_empresa;
11819
12043
  _this.idEnfermedad = parseInt(e.id_enfermedad);
11820
12044
  _this.codigoEnfermedad = e.codenf;
11821
12045
  _this.denominacionEnfermedad = e.denenf;
@@ -11827,7 +12051,8 @@
11827
12051
  }
11828
12052
  MTiposEnfermedad.prototype.dataInterface = function () {
11829
12053
  return {
11830
- id_empresa: this.idEmpresa.toString(),
12054
+ id_enterprise: this.idEnterprise.toString(),
12055
+ id_empresa: this.idEmpresa,
11831
12056
  id_enfermedad: this.idEnfermedad.toString(),
11832
12057
  codenf: this.codigoEnfermedad,
11833
12058
  denenf: this.denominacionEnfermedad,
@@ -11844,6 +12069,7 @@
11844
12069
  function MTrabajoAnterior(e) {
11845
12070
  if (e === void 0) { e = null; }
11846
12071
  var _this = _super.call(this) || this;
12072
+ _this.idEnterprise = 0;
11847
12073
  _this.idEmpresa = 0;
11848
12074
  _this.idPersonal = 0;
11849
12075
  _this.idTrabajoAnterior = 0;
@@ -11862,6 +12088,7 @@
11862
12088
  _this.codigoTrabajoAnterior = '';
11863
12089
  _this.TipoEmpresa = TipoEmpresa;
11864
12090
  if (e) {
12091
+ _this.idEnterprise = +e.id_enterprise;
11865
12092
  _this.idEmpresa = +e.id_empresa;
11866
12093
  _this.idPersonal = +e.id_personal;
11867
12094
  _this.idTrabajoAnterior = +e.id_trabajoant;
@@ -11883,6 +12110,7 @@
11883
12110
  }
11884
12111
  MTrabajoAnterior.prototype.dataInterface = function () {
11885
12112
  return {
12113
+ id_enterprise: this.idEnterprise.toString(),
11886
12114
  id_empresa: this.idEmpresa,
11887
12115
  id_personal: this.idPersonal,
11888
12116
  id_trabajoant: this.idTrabajoAnterior,
@@ -11908,6 +12136,7 @@
11908
12136
  function MUbicacionFisica(e) {
11909
12137
  if (e === void 0) { e = null; }
11910
12138
  var _this = _super.call(this) || this;
12139
+ _this.idEnterprise = 0;
11911
12140
  _this.idEmpresa = 0;
11912
12141
  _this.idUbicacionFisica = 0;
11913
12142
  _this.codigoUbicacionFisica = '';
@@ -11923,7 +12152,8 @@
11923
12152
  _this.direccionUbicacionFisica = '';
11924
12153
  _this.tiempoTrasladoUbicacionFisica = '';
11925
12154
  if (e) {
11926
- _this.idEmpresa = parseInt(e.id_empresa);
12155
+ _this.idEnterprise = +e.id_enterprise;
12156
+ _this.idEmpresa = +e.id_empresa;
11927
12157
  _this.idUbicacionFisica = parseInt(e.id_ubifis);
11928
12158
  _this.codigoUbicacionFisica = e.codubifis;
11929
12159
  _this.denominacionUbicacionFisica = e.denubifis;
@@ -11945,7 +12175,8 @@
11945
12175
  }
11946
12176
  MUbicacionFisica.prototype.dataInterface = function () {
11947
12177
  return {
11948
- id_empresa: this.idEmpresa.toString(),
12178
+ id_enterprise: this.idEnterprise.toString(),
12179
+ id_empresa: this.idEmpresa,
11949
12180
  id_ubifis: this.idUbicacionFisica.toString(),
11950
12181
  codubifis: this.codigoUbicacionFisica,
11951
12182
  denubifis: this.denominacionUbicacionFisica,
@@ -11969,6 +12200,7 @@
11969
12200
  function MVacacionesPersonal(e) {
11970
12201
  if (e === void 0) { e = null; }
11971
12202
  var _this = _super.call(this) || this;
12203
+ _this.idEnterprise = 0;
11972
12204
  _this.idEmpresa = 0;
11973
12205
  _this.idPersonal = 0;
11974
12206
  _this.idVacacionesPersonal = 0;
@@ -12003,7 +12235,8 @@
12003
12235
  _this.diasHabiles = 0;
12004
12236
  _this.procesarFueraPeriodo = 0;
12005
12237
  if (e) {
12006
- _this.idEmpresa = parseInt(e.id_empresa);
12238
+ _this.idEnterprise = +e.id_enterprise;
12239
+ _this.idEmpresa = +e.id_empresa;
12007
12240
  _this.idPersonal = parseInt(e.id_personal);
12008
12241
  _this.idVacacionesPersonal = parseInt(e.id_vacper);
12009
12242
  _this.codigoVacaciones = parseInt(e.codvac);
@@ -12041,7 +12274,8 @@
12041
12274
  }
12042
12275
  MVacacionesPersonal.prototype.dataInterface = function () {
12043
12276
  return {
12044
- id_empresa: this.idEmpresa.toString(),
12277
+ id_enterprise: this.idEnterprise.toString(),
12278
+ id_empresa: this.idEmpresa,
12045
12279
  id_personal: this.idPersonal.toString(),
12046
12280
  id_vacper: this.idVacacionesPersonal.toString(),
12047
12281
  codvac: this.codigoVacaciones.toString(),
@@ -12083,6 +12317,7 @@
12083
12317
  __extends(MEncargaduria, _super);
12084
12318
  function MEncargaduria(e) {
12085
12319
  var _this = _super.call(this) || this;
12320
+ _this.idEnterprise = 0;
12086
12321
  _this.idEmpresa = 0;
12087
12322
  _this.idPersonalNomina = 0;
12088
12323
  _this.idEncargaduria = 0;
@@ -12124,7 +12359,8 @@
12124
12359
  _this.denominacionNominaEncargado = '';
12125
12360
  _this.denominacionEstatusEncargaduria = '';
12126
12361
  if (e) {
12127
- _this.idEmpresa = parseInt(e.id_empresa);
12362
+ _this.idEnterprise = +e.id_enterprise;
12363
+ _this.idEmpresa = +e.id_empresa;
12128
12364
  _this.idPersonalNomina = parseInt(e.id_personalnomina);
12129
12365
  _this.idEncargaduria = parseInt(e.id_encargaduria);
12130
12366
  _this.codigoEncargaduria = e.codenc;
@@ -12172,7 +12408,8 @@
12172
12408
  }
12173
12409
  MEncargaduria.prototype.dataInterface = function () {
12174
12410
  return {
12175
- id_empresa: this.idEmpresa.toString(),
12411
+ id_enterprise: this.idEnterprise.toString(),
12412
+ id_empresa: this.idEmpresa,
12176
12413
  id_personalnomina: this.idPersonalNomina.toString(),
12177
12414
  id_encargaduria: this.idEncargaduria.toString(),
12178
12415
  codenc: this.codigoEncargaduria,
@@ -12220,6 +12457,7 @@
12220
12457
  __extends(MCodigoUnicoRac, _super);
12221
12458
  function MCodigoUnicoRac(e) {
12222
12459
  var _this = _super.call(this) || this;
12460
+ _this.idEnterprise = 0;
12223
12461
  _this.idEmpresa = 0;
12224
12462
  _this.idCargoPersonal = 0;
12225
12463
  _this.idNomina = 0;
@@ -12228,7 +12466,8 @@
12228
12466
  _this.idCodigoUnicoRac = 0;
12229
12467
  _this.denominacionEstatus = '';
12230
12468
  if (e) {
12231
- _this.idEmpresa = parseInt(e.id_empresa);
12469
+ _this.idEnterprise = +e.id_enterprise;
12470
+ _this.idEmpresa = +e.id_empresa;
12232
12471
  _this.idCargoPersonal = parseInt(e.id_carper);
12233
12472
  _this.idNomina = parseInt(e.id_nomina);
12234
12473
  _this.idCodigoUnicoRac = parseInt(e.id_codunirac);
@@ -12243,7 +12482,8 @@
12243
12482
  }
12244
12483
  MCodigoUnicoRac.prototype.dataInterface = function () {
12245
12484
  return {
12246
- id_empresa: this.idEmpresa.toString(),
12485
+ id_enterprise: this.idEnterprise.toString(),
12486
+ id_empresa: this.idEmpresa,
12247
12487
  id_carper: this.idCargoPersonal.toString(),
12248
12488
  id_nomina: this.idNomina.toString(),
12249
12489
  codunirac: this.codigoUnicoRac,
@@ -12258,6 +12498,7 @@
12258
12498
  __extends(MPersonalJubilado, _super);
12259
12499
  function MPersonalJubilado(e) {
12260
12500
  var _this = _super.call(this) || this;
12501
+ _this.idEnterprise = 0;
12261
12502
  _this.idEmpresa = 0;
12262
12503
  _this.idPersonal = 0;
12263
12504
  _this.idJubilacion = 0;
@@ -12269,7 +12510,8 @@
12269
12510
  _this.fechaFeVida = '1900-01-01';
12270
12511
  _this.tipoJubilacion = 0;
12271
12512
  if (e) {
12272
- _this.idEmpresa = parseInt(e.id_empresa);
12513
+ _this.idEnterprise = +e.id_enterprise;
12514
+ _this.idEmpresa = +e.id_empresa;
12273
12515
  _this.idPersonal = parseInt(e.id_personal);
12274
12516
  _this.idJubilacion = parseInt(e.id_jubilado);
12275
12517
  _this.primeraRemuneracion = parseFloat(e.prirem);
@@ -12287,7 +12529,8 @@
12287
12529
  }
12288
12530
  MPersonalJubilado.prototype.dataInterface = function () {
12289
12531
  return {
12290
- id_empresa: this.idEmpresa.toString(),
12532
+ id_enterprise: this.idEnterprise.toString(),
12533
+ id_empresa: this.idEmpresa,
12291
12534
  id_personal: this.idPersonal.toString(),
12292
12535
  id_jubilado: this.idJubilacion.toString(),
12293
12536
  prirem: this.primeraRemuneracion.toString(),
@@ -12306,6 +12549,7 @@
12306
12549
  __extends(MPermisos, _super);
12307
12550
  function MPermisos(e) {
12308
12551
  var _this = _super.call(this) || this;
12552
+ _this.idEnterprise = 0;
12309
12553
  _this.idEmpresa = 0;
12310
12554
  _this.idPersonal = 0;
12311
12555
  _this.idPermiso = 0;
@@ -12324,6 +12568,7 @@
12324
12568
  _this.denominacionEnfermedad = '';
12325
12569
  _this.TipoPermiso = TipoPermiso;
12326
12570
  if (e) {
12571
+ _this.idEnterprise = +e.id_enterprise;
12327
12572
  _this.idEmpresa = +e.id_empresa;
12328
12573
  _this.idPersonal = +e.id_personal;
12329
12574
  _this.idPermiso = +e.id_permiso;
@@ -12348,6 +12593,7 @@
12348
12593
  }
12349
12594
  MPermisos.prototype.dataInterface = function () {
12350
12595
  return {
12596
+ id_enterprise: this.idEnterprise.toString(),
12351
12597
  id_empresa: this.idEmpresa,
12352
12598
  id_personal: this.idPersonal,
12353
12599
  id_permiso: this.idPermiso,
@@ -12443,6 +12689,7 @@
12443
12689
  __extends(MImpuestoSobreRenta, _super);
12444
12690
  function MImpuestoSobreRenta(e) {
12445
12691
  var _this = _super.call(this) || this;
12692
+ _this.idEnterprise = 0;
12446
12693
  _this.idEmpresa = 0;
12447
12694
  _this.idPersonal = 0;
12448
12695
  _this.idImpuestoSobreRenta = 0;
@@ -12462,6 +12709,7 @@
12462
12709
  _this.diciembre = 0;
12463
12710
  _this.denominacionConcepto = '';
12464
12711
  if (e) {
12712
+ _this.idEnterprise = +e.id_enterprise;
12465
12713
  _this.idEmpresa = +e.id_empresa;
12466
12714
  _this.idPersonal = +e.id_personal;
12467
12715
  _this.idImpuestoSobreRenta = +e.id_isr;
@@ -12488,6 +12736,7 @@
12488
12736
  }
12489
12737
  MImpuestoSobreRenta.prototype.dataInterface = function () {
12490
12738
  return {
12739
+ id_enterprise: this.idEnterprise.toString(),
12491
12740
  id_empresa: this.idEmpresa,
12492
12741
  id_personal: this.idPersonal,
12493
12742
  id_isr: this.idImpuestoSobreRenta,
@@ -12516,6 +12765,7 @@
12516
12765
  function MMetodoBanco(e) {
12517
12766
  if (e === void 0) { e = null; }
12518
12767
  var _this = _super.call(this) || this;
12768
+ _this.idEnterprise = 0;
12519
12769
  _this.idEmpresa = 0;
12520
12770
  _this.idMetodoBanco = 0;
12521
12771
  _this.id = 0;
@@ -12531,7 +12781,8 @@
12531
12781
  _this.numeroConvenio = '';
12532
12782
  _this.activo = 0;
12533
12783
  if (e) {
12534
- _this.idEmpresa = parseInt(e.id_empresa);
12784
+ _this.idEnterprise = +e.id_enterprise;
12785
+ _this.idEmpresa = +e.id_empresa;
12535
12786
  _this.idMetodoBanco = parseInt(e.id_metbco);
12536
12787
  _this.codigoMetodo = e.codmet;
12537
12788
  _this.denominacionMetodo = e.denmet;
@@ -12553,7 +12804,8 @@
12553
12804
  }
12554
12805
  MMetodoBanco.prototype.dataInterface = function () {
12555
12806
  return {
12556
- id_empresa: this.idEmpresa.toString(),
12807
+ id_enterprise: this.idEnterprise.toString(),
12808
+ id_empresa: this.idEmpresa,
12557
12809
  id_metbco: this.idMetodoBanco.toString(),
12558
12810
  codmet: this.codigoMetodo,
12559
12811
  denmet: this.denominacionMetodo,
@@ -12576,6 +12828,7 @@
12576
12828
  function MMetodos(e) {
12577
12829
  if (e === void 0) { e = null; }
12578
12830
  var _this = _super.call(this) || this;
12831
+ _this.idEnterprise = 0;
12579
12832
  _this.idEmpresa = 0;
12580
12833
  _this.idMetodo = 0;
12581
12834
  _this.codigoMetodo = '';
@@ -12586,7 +12839,8 @@
12586
12839
  _this.montoDescuentoDia = 0;
12587
12840
  _this.numeroTarjeta = '';
12588
12841
  if (e) {
12589
- _this.idEmpresa = parseInt(e.id_empresa);
12842
+ _this.idEnterprise = +e.id_enterprise;
12843
+ _this.idEmpresa = +e.id_empresa;
12590
12844
  _this.idMetodo = parseInt(e.id_metodo);
12591
12845
  _this.codigoMetodo = e.codmet;
12592
12846
  _this.denominacionMetodo = e.denmet;
@@ -12603,7 +12857,8 @@
12603
12857
  }
12604
12858
  MMetodos.prototype.dataInterface = function () {
12605
12859
  return {
12606
- id_empresa: this.idEmpresa.toString(),
12860
+ id_enterprise: this.idEnterprise.toString(),
12861
+ id_empresa: this.idEmpresa,
12607
12862
  id_metodo: this.idMetodo.toString(),
12608
12863
  codmet: this.codigoMetodo,
12609
12864
  denmet: this.denominacionMetodo,
@@ -12622,6 +12877,7 @@
12622
12877
  function MPrestamo(e) {
12623
12878
  if (e === void 0) { e = null; }
12624
12879
  var _this = _super.call(this) || this;
12880
+ _this.idEnterprise = 0;
12625
12881
  _this.idEmpresa = 0;
12626
12882
  _this.idPersonal = 0;
12627
12883
  _this.idPrestamo = 0;
@@ -12652,6 +12908,7 @@
12652
12908
  _this.periodos = [];
12653
12909
  _this.amortizacion = [];
12654
12910
  if (e) {
12911
+ _this.idEnterprise = +e.id_enterprise;
12655
12912
  _this.idEmpresa = +e.id_empresa;
12656
12913
  _this.idPrestamo = +e.id_prestamo;
12657
12914
  _this.idPersonal = +e.id_personal;
@@ -12689,6 +12946,7 @@
12689
12946
  }
12690
12947
  MPrestamo.prototype.dataInterface = function () {
12691
12948
  return {
12949
+ id_enterprise: this.idEnterprise.toString(),
12692
12950
  id_empresa: this.idEmpresa,
12693
12951
  id_personal: this.idPersonal,
12694
12952
  id_prestamo: this.idPrestamo,
@@ -12749,6 +13007,7 @@
12749
13007
  __extends(MPrestamosPeriodo, _super);
12750
13008
  function MPrestamosPeriodo(e) {
12751
13009
  var _this = _super.call(this) || this;
13010
+ _this.idEnterprise = 0;
12752
13011
  _this.idEmpresa = 0;
12753
13012
  _this.idPersonal = 0;
12754
13013
  _this.idPrestamo = 0;
@@ -12759,6 +13018,7 @@
12759
13018
  _this.montoCuota = 0;
12760
13019
  _this.estatusCuota = 0;
12761
13020
  if (e) {
13021
+ _this.idEnterprise = +e.id_enterprise;
12762
13022
  _this.idEmpresa = +e.id_empresa;
12763
13023
  _this.idPersonal = +e.id_personal;
12764
13024
  _this.idPrestamo = +e.id_prestamo;
@@ -12778,6 +13038,7 @@
12778
13038
  }
12779
13039
  MPrestamosPeriodo.prototype.dataInterface = function () {
12780
13040
  return {
13041
+ id_enterprise: this.idEnterprise.toString(),
12781
13042
  id_empresa: this.idEmpresa,
12782
13043
  id_personal: this.idPersonal,
12783
13044
  id_prestamo: this.idPrestamo,
@@ -12803,6 +13064,7 @@
12803
13064
  __extends(MPrestamoAmortizacion, _super);
12804
13065
  function MPrestamoAmortizacion(e) {
12805
13066
  var _this = _super.call(this) || this;
13067
+ _this.idEnterprise = 0;
12806
13068
  _this.idEmpresa = 0;
12807
13069
  _this.idPersonal = 0;
12808
13070
  _this.idPrestamo = 0;
@@ -12812,6 +13074,7 @@
12812
13074
  _this.montoAmortizacion = 0;
12813
13075
  _this.descripcionAmortizacion = '';
12814
13076
  if (e) {
13077
+ _this.idEnterprise = +e.id_enterprise;
12815
13078
  _this.idEmpresa = +e.id_empresa;
12816
13079
  _this.idPersonal = +e.id_personal;
12817
13080
  _this.idPrestamo = +e.id_prestamo;
@@ -12825,6 +13088,7 @@
12825
13088
  }
12826
13089
  MPrestamoAmortizacion.prototype.dataInterface = function () {
12827
13090
  return {
13091
+ id_enterprise: this.idEnterprise.toString(),
12828
13092
  id_empresa: this.idEmpresa,
12829
13093
  id_personal: this.idPersonal,
12830
13094
  id_prestamo: this.idPrestamo,
@@ -13325,6 +13589,7 @@
13325
13589
  __extends(MSnoLog, _super);
13326
13590
  function MSnoLog(e) {
13327
13591
  var _this = _super.call(this) || this;
13592
+ _this.idEnterprise = 0;
13328
13593
  _this.idEmpresa = 0;
13329
13594
  _this.idPersonal = 0;
13330
13595
  _this.idAuditoriaPersonal = 0;
@@ -13340,6 +13605,7 @@
13340
13605
  _this.evento = '';
13341
13606
  _this.campoPermitido = Campos;
13342
13607
  if (e) {
13608
+ _this.idEnterprise = +e.id_enterprise;
13343
13609
  _this.idEmpresa = +e.id_empresa;
13344
13610
  _this.idPersonal = +e.id_personal;
13345
13611
  _this.idAuditoriaPersonal = +e.id_auditoria_personal;
@@ -13362,7 +13628,8 @@
13362
13628
  MSnoLog.prototype.dataInteface = function () {
13363
13629
  var _this = this;
13364
13630
  return {
13365
- id_empresa: this.idEmpresa.toString(),
13631
+ id_enterprise: this.idEnterprise.toString(),
13632
+ id_empresa: this.idEmpresa,
13366
13633
  id_personal: this.idPersonal.toString(),
13367
13634
  id_auditoria_personal: this.idAuditoriaPersonal.toString(),
13368
13635
  id_registro: this.idRegistro.toString(),
@@ -13380,9 +13647,11 @@
13380
13647
  return MSnoLog;
13381
13648
  }(MBasicModel));
13382
13649
 
13650
+ var moment$3 = require("moment");
13383
13651
  var MPlanHorario = /** @class */ (function () {
13384
13652
  function MPlanHorario(e) {
13385
13653
  if (e === void 0) { e = null; }
13654
+ this.idEnterprise = 0;
13386
13655
  this.idEmpresa = 0;
13387
13656
  this.idPlanHorario = 0;
13388
13657
  this.idNomina = 0;
@@ -13396,6 +13665,7 @@
13396
13665
  this.denominacionNomina = '';
13397
13666
  this.periodos = [];
13398
13667
  if (e) {
13668
+ this.idEnterprise = +e.id_enterprise;
13399
13669
  this.idEmpresa = +e.id_empresa;
13400
13670
  this.idPlanHorario = +e.id_planhor;
13401
13671
  this.idNomina = e.id_nomina;
@@ -13414,6 +13684,7 @@
13414
13684
  }
13415
13685
  MPlanHorario.prototype.dataInterface = function () {
13416
13686
  return {
13687
+ id_enterprise: this.idEnterprise.toString(),
13417
13688
  id_empresa: this.idEmpresa,
13418
13689
  id_planhor: this.idPlanHorario,
13419
13690
  id_nomina: this.idNomina,
@@ -13430,6 +13701,7 @@
13430
13701
  }());
13431
13702
  var MPeriodosPlan = /** @class */ (function () {
13432
13703
  function MPeriodosPlan(e) {
13704
+ this.idEnterprise = 0;
13433
13705
  this.idEmpresa = 0;
13434
13706
  this.idPlanHorario = 0;
13435
13707
  this.denominacionPeriodoPlan = '';
@@ -13439,79 +13711,59 @@
13439
13711
  this.codigoPeriodoNomina = '';
13440
13712
  this.tipoFeriado = false;
13441
13713
  this.simboloFeriado = '';
13442
- this.horarios = [];
13443
- if (e) {
13444
- this.idEmpresa = +e.id_empresa;
13445
- this.idPlanHorario = +e.id_planhor;
13446
- this.denominacionPeriodoPlan = e.denperplan;
13447
- this.fechaPeriodoPlan = e.fecperplan;
13448
- this.idPeriodo = +e.id_periodo;
13449
- this.idPeriodoPlan = e.id_perplan;
13450
- this.codigoPeriodoNomina = e.codperi;
13451
- this.tipoFeriado = e.tipfer == '1' ? true : false;
13452
- if (this.tipoFeriado) {
13453
- this.simboloFeriado = 'check_small';
13454
- }
13455
- if (e.horarios) {
13456
- this.horarios = e.horarios.map(function (e) { return new MHorarioPeriodosPlan(e); });
13457
- }
13458
- }
13459
- }
13460
- MPeriodosPlan.prototype.dataInterface = function () {
13461
- return {
13462
- id_empresa: this.idEmpresa,
13463
- id_planhor: this.idPlanHorario,
13464
- denperplan: this.denominacionPeriodoPlan,
13465
- fecperplan: this.fechaPeriodoPlan,
13466
- id_periodo: this.idPeriodo,
13467
- id_perplan: this.idPeriodoPlan,
13468
- tipfer: this.tipoFeriado ? '1' : '0',
13469
- horarios: this.horarios.map(function (e) { return e.dataInterface(); })
13470
- };
13471
- };
13472
- return MPeriodosPlan;
13473
- }());
13474
- var MHorarioPeriodosPlan = /** @class */ (function () {
13475
- function MHorarioPeriodosPlan(e) {
13476
- this.idEmpresa = 0;
13477
- this.idPlanHorario = 0;
13478
- this.idPeriodoPlan = 0;
13479
13714
  this.idHora = 0;
13480
13715
  this.incidencias = [];
13481
- this.descripcionHorario = '';
13482
- this.idDetalle = 0;
13483
13716
  this.codigoHorario = '';
13484
13717
  this.denominacionHorario = '';
13485
13718
  this.horaInicio = '';
13486
13719
  this.horaFinal = '';
13720
+ this.denomiacionFecha = '';
13721
+ this.dia = '';
13722
+ this.descripcionHorario = '';
13487
13723
  if (e) {
13488
- this.idEmpresa = e.id_empresa;
13724
+ this.idEnterprise = +e.id_enterprise;
13725
+ this.idEmpresa = +e.id_empresa;
13489
13726
  this.idPlanHorario = e.id_planhor;
13727
+ this.denominacionPeriodoPlan = e.denperplan;
13728
+ this.fechaPeriodoPlan = e.fecperplan;
13729
+ this.idPeriodo = e.id_periodo;
13490
13730
  this.idPeriodoPlan = e.id_perplan;
13731
+ this.codigoPeriodoNomina = e.codperi;
13732
+ this.tipoFeriado = e.tipfer == '1' ? true : false;
13733
+ moment$3.locale('es');
13734
+ var day = moment$3(this.fechaPeriodoPlan);
13735
+ var dia = moment$3.weekdays(day.day());
13736
+ this.denomiacionFecha = dia + ', ' + moment$3(this.fechaPeriodoPlan).format('DD-MM-YYYY');
13737
+ if (this.tipoFeriado && dia != 'domingo') {
13738
+ this.simboloFeriado = 'check_small';
13739
+ }
13491
13740
  this.idHora = e.id_hora;
13492
13741
  this.codigoHorario = e.codhor;
13493
13742
  this.denominacionHorario = e.denhor;
13494
- this.horaInicio = moment__namespace(e.horini, 'H:m:s').format('h:mm a');
13495
- this.horaFinal = moment__namespace(e.horfin, 'H:m:s').format('h:mm a');
13496
13743
  if (e.incidencias != '') {
13497
13744
  this.incidencias = e.incidencias.split(',');
13498
13745
  }
13499
13746
  ;
13500
- this.idDetalle = e.id_dt_horperplan;
13747
+ this.horaInicio = moment$3(e.horini, 'H:m:s').format('h:mm a');
13748
+ this.horaFinal = moment$3(e.horfin, 'H:m:s').format('h:mm a');
13501
13749
  this.descripcionHorario = this.codigoHorario + ' - ' + this.denominacionHorario + ' - ' + this.horaInicio + '-' + this.horaFinal;
13502
13750
  }
13503
13751
  }
13504
- MHorarioPeriodosPlan.prototype.dataInterface = function () {
13752
+ MPeriodosPlan.prototype.dataInterface = function () {
13505
13753
  return {
13754
+ id_enterprise: this.idEnterprise.toString(),
13506
13755
  id_empresa: this.idEmpresa,
13507
13756
  id_planhor: this.idPlanHorario,
13757
+ denperplan: this.denominacionPeriodoPlan,
13758
+ fecperplan: this.fechaPeriodoPlan,
13759
+ id_periodo: this.idPeriodo,
13508
13760
  id_perplan: this.idPeriodoPlan,
13761
+ tipfer: this.tipoFeriado ? '1' : '0',
13509
13762
  id_hora: this.idHora,
13510
13763
  incidencias: this.incidencias.length > 0 ? this.incidencias.join(',') : "",
13511
- id_dt_horperplan: this.idDetalle,
13512
13764
  };
13513
13765
  };
13514
- return MHorarioPeriodosPlan;
13766
+ return MPeriodosPlan;
13515
13767
  }());
13516
13768
 
13517
13769
  var customPaginator = /** @class */ (function (_super) {
@@ -13661,7 +13913,6 @@
13661
13913
  exports.MGroup = MGroup;
13662
13914
  exports.MHojaTiempo = MHojaTiempo;
13663
13915
  exports.MHorario = MHorario;
13664
- exports.MHorarioPeriodosPlan = MHorarioPeriodosPlan;
13665
13916
  exports.MImpuestoSobreRenta = MImpuestoSobreRenta;
13666
13917
  exports.MItemsEvalucion = MItemsEvalucion;
13667
13918
  exports.MLog = MLog;