sigesp 0.9.9-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 (147) hide show
  1. package/bundles/sigesp.umd.js +447 -212
  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 +2 -2
  74. package/esm2015/public-api.js +2 -2
  75. package/fesm2015/sigesp.js +442 -184
  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/package.json +1 -1
  146. package/public-api.d.ts +1 -1
  147. 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.
@@ -423,6 +401,7 @@
423
401
  if (e === void 0) { e = null; }
424
402
  var _this = _super.call(this) || this;
425
403
  _this.idEmpresa = 0;
404
+ _this.idEnterprise = 0;
426
405
  _this.idPersonalNomina = 0;
427
406
  _this.idPersonal = 0;
428
407
  _this.idNomina = 1;
@@ -509,8 +488,12 @@
509
488
  _this.idClasificadorDocente = 0;
510
489
  _this.codigoClasificador = '';
511
490
  _this.denominacionClasificador = '';
491
+ _this.idPlanHorario = 0;
492
+ _this.codigoPlanHorario = '';
493
+ _this.denominacionPlanHorario = '';
512
494
  if (e) {
513
- _this.idEmpresa = parseInt(e.id_empresa);
495
+ _this.idEnterprise = +e.id_enterprise;
496
+ _this.idEmpresa = e.id_empresa;
514
497
  _this.idPersonalNomina = parseInt(e.id_personalnomina);
515
498
  _this.idPersonal = parseInt(e.id_personal);
516
499
  _this.idNomina = parseInt(e.id_nomina);
@@ -616,6 +599,9 @@
616
599
  _this.nombreBanco = e.codban_ctaper;
617
600
  _this.idBanco = parseInt(e.id_banco_ctaper);
618
601
  }
602
+ _this.idPlanHorario = +e.id_planhor;
603
+ _this.codigoPlanHorario = e.codplanhor;
604
+ _this.denominacionPlanHorario = e.denplanhor;
619
605
  }
620
606
  else {
621
607
  _this.isNew = true;
@@ -632,7 +618,8 @@
632
618
  this.codigoGrado = '0';
633
619
  }
634
620
  return {
635
- id_empresa: this.idEmpresa.toString(),
621
+ id_empresa: this.idEmpresa,
622
+ id_enterprise: this.idEnterprise.toString(),
636
623
  id_personalnomina: this.idPersonalNomina.toString(),
637
624
  id_personal: this.idPersonal.toString(),
638
625
  id_nomina: this.idNomina.toString(),
@@ -713,6 +700,7 @@
713
700
  monsalgra: this.montoSaldoGrado.toString(),
714
701
  apeper: this.apellidoPersonal,
715
702
  id_clasificacion_docente: this.idClasificadorDocente.toString(),
703
+ id_planhor: this.idPlanHorario.toString()
716
704
  };
717
705
  };
718
706
  return MPersonalNomina;
@@ -723,6 +711,7 @@
723
711
  function MHojaTiempo(e) {
724
712
  if (e === void 0) { e = null; }
725
713
  var _this = _super.call(this) || this;
714
+ _this.idEnterprise = 0;
726
715
  _this.idEmpresa = 0;
727
716
  _this.idPersonalNomina = 0;
728
717
  _this.idPeriodo = 0;
@@ -742,6 +731,7 @@
742
731
  _this.fechaDesdePeriodo = '1900-01-01';
743
732
  _this.fechaHastaPeriodo = '1900-01-01';
744
733
  if (e) {
734
+ _this.idEnterprise = +e.id_enterprise;
745
735
  _this.idEmpresa = +e.id_empresa;
746
736
  _this.idPersonalNomina = +e.id_personalnomina;
747
737
  _this.fechaHojaTiempo = e.fechojtie;
@@ -769,7 +759,8 @@
769
759
  }
770
760
  MHojaTiempo.prototype.dataInterface = function () {
771
761
  return {
772
- id_empresa: this.idEmpresa.toString(),
762
+ id_enterprise: this.idEnterprise.toString(),
763
+ id_empresa: this.idEmpresa,
773
764
  id_personalnomina: this.idPersonalNomina.toString(),
774
765
  fechojtie: this.fechaHojaTiempo,
775
766
  esthojtie: this.estatusHojaTiempo.toString(),
@@ -795,6 +786,7 @@
795
786
  __extends(MHorario, _super);
796
787
  function MHorario(e) {
797
788
  var _this = _super.call(this) || this;
789
+ _this.idEnterprise = 0;
798
790
  _this.idEmpresa = 0;
799
791
  _this.idHora = 0;
800
792
  _this.codigoHorario = '';
@@ -822,6 +814,7 @@
822
814
  }
823
815
  MHorario.prototype.dataInterface = function () {
824
816
  return {
817
+ id_enterprise: this.idEnterprise.toString(),
825
818
  id_empresa: this.idEmpresa,
826
819
  id_hora: this.idHora,
827
820
  codhor: this.codigoHorario,
@@ -2155,13 +2148,15 @@
2155
2148
  var MClasification = /** @class */ (function () {
2156
2149
  function MClasification(clasi) {
2157
2150
  this.id = null;
2158
- this.idEmpresa = null;
2151
+ this.idEnterprise = 0;
2152
+ this.idEmpresa = 0;
2159
2153
  this.denomination = null;
2160
2154
  this.isNew = false;
2161
2155
  this.error = false;
2162
2156
  this.selected = false;
2163
2157
  this.id = parseInt(clasi.id_clasificacion);
2164
2158
  this.idEmpresa = parseInt(clasi.id_empresa);
2159
+ this.idEnterprise = +clasi.id_enterprise;
2165
2160
  this.denomination = clasi.dencla;
2166
2161
  }
2167
2162
  return MClasification;
@@ -3197,13 +3192,15 @@
3197
3192
  __extends(MConceptosCXP, _super);
3198
3193
  function MConceptosCXP(concepto) {
3199
3194
  var _this = _super.call(this) || this;
3195
+ _this.idEnterprise = 0;
3200
3196
  _this.idEmpresa = 0;
3201
3197
  _this.idConceptoCXP = 0;
3202
3198
  _this.denominacionConceptoCXP = '';
3203
3199
  _this.cuenta = '';
3204
3200
  _this.estatusActivo = 0;
3205
3201
  if (concepto) {
3206
- _this.idEmpresa = parseInt(concepto.id_empresa);
3202
+ _this.idEnterprise = +concepto.id_enterprise;
3203
+ _this.idEmpresa = concepto.id_empresa;
3207
3204
  _this.idConceptoCXP = parseInt(concepto.id_concxp);
3208
3205
  _this.denominacionConceptoCXP = concepto.denconcxp;
3209
3206
  _this.cuenta = concepto.sc_cuenta;
@@ -3216,7 +3213,8 @@
3216
3213
  }
3217
3214
  MConceptosCXP.prototype.dataInterface = function () {
3218
3215
  return {
3219
- id_empresa: this.idEmpresa.toString(),
3216
+ id_enterprise: this.idEnterprise.toString(),
3217
+ id_empresa: this.idEmpresa,
3220
3218
  id_concxp: this.idConceptoCXP.toString(),
3221
3219
  denconcxp: this.denominacionConceptoCXP,
3222
3220
  sc_cuenta: this.cuenta,
@@ -3228,6 +3226,7 @@
3228
3226
 
3229
3227
  var MTipoDocumentoCXP = /** @class */ (function () {
3230
3228
  function MTipoDocumentoCXP(tipo) {
3229
+ this.idEnterprise = 0;
3231
3230
  this.idEmpresa = 0;
3232
3231
  this.idTipoDocumento = 0;
3233
3232
  this.denominacionTipoDocumento = '';
@@ -3239,7 +3238,8 @@
3239
3238
  this.estatusCreditos = 0;
3240
3239
  this.estatusDebitos = 0;
3241
3240
  if (tipo) {
3242
- this.idEmpresa = parseInt(tipo.id_empresa);
3241
+ this.idEnterprise = +tipo.id_enterprise;
3242
+ this.idEmpresa = +tipo.id_empresa;
3243
3243
  this.idTipoDocumento = parseInt(tipo.id_tipodocumento);
3244
3244
  this.denominacionTipoDocumento = tipo.dentipden;
3245
3245
  this.estatusContable = parseInt(tipo.estcon);
@@ -3253,7 +3253,8 @@
3253
3253
  }
3254
3254
  MTipoDocumentoCXP.prototype.dataInterface = function () {
3255
3255
  return {
3256
- id_empresa: this.idEmpresa.toString(),
3256
+ id_enterprise: this.idEnterprise.toString(),
3257
+ id_empresa: this.idEmpresa,
3257
3258
  id_tipodocumento: this.idTipoDocumento.toString(),
3258
3259
  dentipden: this.denominacionTipoDocumento,
3259
3260
  estcon: this.estatusContable.toString(),
@@ -3272,6 +3273,7 @@
3272
3273
  __extends(MConfiguracionSNO, _super);
3273
3274
  function MConfiguracionSNO(I) {
3274
3275
  var _this = _super.call(this) || this;
3276
+ _this.idEnterprise = 0;
3275
3277
  _this.idEmpresa = 0;
3276
3278
  _this.idNomina = 0;
3277
3279
  _this.estatusCambiarDenominacionSueldoIntegral = 1;
@@ -3398,7 +3400,8 @@
3398
3400
  _this.digitosCodigoConcepto = 10;
3399
3401
  _this.segmentarPersonal = 10000;
3400
3402
  if (I) {
3401
- _this.idEmpresa = parseInt(I.id_empresa);
3403
+ _this.idEnterprise = +I.id_enterprise;
3404
+ _this.idEmpresa = +I.id_empresa;
3402
3405
  _this.idNomina = parseInt(I.id_sno);
3403
3406
  _this.estatusCambiarDenominacionSueldoIntegral = parseInt(I.estcamdensueint);
3404
3407
  _this.denominacionSueltoIntegral = I.densueint;
@@ -3530,6 +3533,7 @@
3530
3533
  }
3531
3534
  MConfiguracionSNO.prototype.dataInterface = function () {
3532
3535
  return {
3536
+ id_enterprise: this.idEnterprise.toString(),
3533
3537
  id_empresa: this.idEmpresa.toString(),
3534
3538
  id_sno: this.idNomina.toString(),
3535
3539
  estcamdensueint: this.estatusCambiarDenominacionSueldoIntegral.toString(),
@@ -3664,6 +3668,7 @@
3664
3668
  function MPeriodoNomina(e) {
3665
3669
  if (e === void 0) { e = null; }
3666
3670
  var _this = _super.call(this) || this;
3671
+ _this.idEnterprise = 0;
3667
3672
  _this.idEmpresa = 0;
3668
3673
  _this.idNomina = 0;
3669
3674
  _this.idPeriodo = 0;
@@ -3682,7 +3687,8 @@
3682
3687
  _this.prenomina = false;
3683
3688
  _this.calculado = false;
3684
3689
  if (e) {
3685
- _this.idEmpresa = parseInt(e.id_empresa);
3690
+ _this.idEnterprise = +e.id_enterprise;
3691
+ _this.idEmpresa = +e.id_empresa;
3686
3692
  _this.idNomina = parseInt(e.id_nomina);
3687
3693
  _this.idPeriodo = parseInt(e.id_periodo);
3688
3694
  _this.codigoPeriodo = e.codperi;
@@ -3704,7 +3710,8 @@
3704
3710
  }
3705
3711
  MPeriodoNomina.prototype.dataInterface = function () {
3706
3712
  return {
3707
- id_empresa: this.idEmpresa.toString(),
3713
+ id_enterprise: this.idEnterprise.toString(),
3714
+ id_empresa: this.idEmpresa,
3708
3715
  id_nomina: this.idNomina.toString(),
3709
3716
  id_periodo: this.idPeriodo.toString(),
3710
3717
  codperi: this.codigoPeriodo,
@@ -3760,6 +3767,7 @@
3760
3767
  function MDefinicionNomina(e) {
3761
3768
  if (e === void 0) { e = null; }
3762
3769
  var _this = _super.call(this) || this;
3770
+ _this.idEnterprise = 0;
3763
3771
  _this.idEmpresa = 0;
3764
3772
  _this.idNomina = 0;
3765
3773
  _this.codigoNomina = '';
@@ -3838,7 +3846,8 @@
3838
3846
  _this.segmentarPersonal = 3000;
3839
3847
  _this.periodosNomina = [];
3840
3848
  if (e) {
3841
- _this.idEmpresa = parseInt(e.id_empresa);
3849
+ _this.idEnterprise = +e.id_enterprise;
3850
+ _this.idEmpresa = +e.id_empresa;
3842
3851
  _this.idNomina = parseInt(e.id_nomina);
3843
3852
  _this.codigoNomina = e.codnom;
3844
3853
  _this.denominacionNomina = e.dennom;
@@ -3914,7 +3923,8 @@
3914
3923
  this.segmentarPersonal = 10000;
3915
3924
  }
3916
3925
  return {
3917
- id_empresa: this.idEmpresa.toString(),
3926
+ id_enterprise: this.idEnterprise.toString(),
3927
+ id_empresa: this.idEmpresa,
3918
3928
  id_nomina: this.idNomina.toString(),
3919
3929
  codnom: this.codigoNomina,
3920
3930
  dennom: this.denominacionNomina,
@@ -4100,6 +4110,7 @@
4100
4110
  __extends(MAsignacionCargo, _super);
4101
4111
  function MAsignacionCargo(e) {
4102
4112
  var _this = _super.call(this) || this;
4113
+ _this.idEnterprise = 0;
4103
4114
  _this.idEmpresa = 0;
4104
4115
  _this.idAsignacionCargo = 0;
4105
4116
  _this.codigoAsignacionCargo = '';
@@ -4133,7 +4144,8 @@
4133
4144
  _this.detallesOrganigrama = [];
4134
4145
  _this.organigramaEliminar = [];
4135
4146
  if (e) {
4136
- _this.idEmpresa = parseInt(e.id_empresa);
4147
+ _this.idEnterprise = +e.id_enterprise;
4148
+ _this.idEmpresa = +e.id_empresa;
4137
4149
  _this.idAsignacionCargo = parseInt(e.id_carper);
4138
4150
  _this.codigoAsignacionCargo = e.codcar;
4139
4151
  _this.denominacionAsignacionCargo = e.descar;
@@ -4175,7 +4187,8 @@
4175
4187
  }
4176
4188
  MAsignacionCargo.prototype.dataInterface = function () {
4177
4189
  return {
4178
- id_empresa: this.idEmpresa.toString(),
4190
+ id_enterprise: this.idEnterprise.toString(),
4191
+ id_empresa: this.idEmpresa,
4179
4192
  id_carper: this.idAsignacionCargo.toString(),
4180
4193
  codcar: this.codigoAsignacionCargo,
4181
4194
  descar: this.denominacionAsignacionCargo,
@@ -4303,6 +4316,7 @@
4303
4316
  function MNominaSimple(e) {
4304
4317
  if (e === void 0) { e = null; }
4305
4318
  var _this = _super.call(this) || this;
4319
+ _this.idEnterprise = 0;
4306
4320
  _this.idEmpresa = 0;
4307
4321
  _this.idNomina = 0;
4308
4322
  _this.codigoNomina = '';
@@ -4330,7 +4344,8 @@
4330
4344
  _this.idPersonal = 0;
4331
4345
  _this.idPersonalNomina = 0;
4332
4346
  if (e) {
4333
- _this.idEmpresa = parseInt(e.id_empresa);
4347
+ _this.idEnterprise = +e.id_enterprise;
4348
+ _this.idEmpresa = +e.id_empresa;
4334
4349
  _this.idNomina = parseInt(e.id_nomina);
4335
4350
  _this.codigoNomina = e.codnom;
4336
4351
  _this.denominacioNomina = e.dennom;
@@ -4369,7 +4384,8 @@
4369
4384
  }
4370
4385
  MNominaSimple.prototype.dataInterface = function () {
4371
4386
  return {
4372
- id_empresa: this.idEmpresa.toString(),
4387
+ id_enterprise: this.idEnterprise.toString(),
4388
+ id_empresa: this.idEmpresa,
4373
4389
  id_nomina: this.idNomina.toString(),
4374
4390
  id_carper: this.idCargo.toString(),
4375
4391
  id_personal: this.idPersonal.toString(),
@@ -4736,6 +4752,7 @@
4736
4752
  if (p === void 0) { p = null; }
4737
4753
  var _this = _super.call(this) || this;
4738
4754
  _this.idEmpresa = 0;
4755
+ _this.idEnterprise = 0;
4739
4756
  _this.idPersonal = 0;
4740
4757
  _this.codigoPersonal = ''; //10
4741
4758
  _this.cedulaPersonal = ''; //10
@@ -4845,7 +4862,8 @@
4845
4862
  _this.codigoPuestoTrabajo = '';
4846
4863
  _this.descripcionHorario = '';
4847
4864
  if (p) {
4848
- _this.idEmpresa = +p.id_empresa;
4865
+ _this.idEnterprise = +p.id_enterprise;
4866
+ _this.idEmpresa = p.id_empresa;
4849
4867
  _this.idPersonal = +p.id_personal;
4850
4868
  _this.codigoPersonal = p.codper;
4851
4869
  _this.cedulaPersonal = p.cedper;
@@ -4974,7 +4992,8 @@
4974
4992
  }
4975
4993
  MPersonal.prototype.dataInterface = function () {
4976
4994
  return {
4977
- id_empresa: +this.idEmpresa,
4995
+ id_empresa: this.idEmpresa,
4996
+ id_enterprise: this.idEnterprise.toString(),
4978
4997
  id_personal: +this.idPersonal,
4979
4998
  codper: this.codigoPersonal,
4980
4999
  cedper: this.cedulaPersonal,
@@ -5082,6 +5101,8 @@
5082
5101
  function MCambioEstatusPersonal(e) {
5083
5102
  if (e === void 0) { e = null; }
5084
5103
  var _this = _super.call(this) || this;
5104
+ _this.idEmpresa = 0;
5105
+ _this.idEnterprise = 0;
5085
5106
  _this.idPersonal = 0;
5086
5107
  _this.codigoPersonal = '';
5087
5108
  _this.estatusActual = '2';
@@ -5093,6 +5114,8 @@
5093
5114
  _this.observacion = '';
5094
5115
  _this.fechaReingreso = '1900-01-01';
5095
5116
  if (e) {
5117
+ _this.idEnterprise = +e.id_enterprise;
5118
+ _this.idEmpresa = e.id_empresa;
5096
5119
  _this.idPersonal = e.idPersonal;
5097
5120
  _this.codigoPersonal = e.codigoPersonal;
5098
5121
  _this.estatusActual = e.estatusActual;
@@ -5108,6 +5131,8 @@
5108
5131
  }
5109
5132
  MCambioEstatusPersonal.prototype.dataInterface = function () {
5110
5133
  return {
5134
+ id_empresa: this.idEmpresa,
5135
+ id_enterprise: this.idEnterprise.toString(),
5111
5136
  idPersonal: this.idPersonal,
5112
5137
  codigoPersonal: this.codigoPersonal,
5113
5138
  estatusActual: this.estatusActual,
@@ -5127,6 +5152,7 @@
5127
5152
  function MPersonalCuentaBanco(e) {
5128
5153
  var _this = _super.call(this) || this;
5129
5154
  _this.idEmpresa = 0;
5155
+ _this.idEnterprise = 0;
5130
5156
  _this.idPersonal = 0;
5131
5157
  _this.idCuentaBancoPersonal = -1;
5132
5158
  _this.codigoCuentaBancoPersonal = '';
@@ -5141,7 +5167,8 @@
5141
5167
  _this.nombreBanco = '';
5142
5168
  _this.nombreTipoCuentaBanco = '';
5143
5169
  if (e) {
5144
- _this.idEmpresa = parseInt(e.id_empresa);
5170
+ _this.idEnterprise = +e.id_enterprise;
5171
+ _this.idEmpresa = e.id_empresa;
5145
5172
  _this.idPersonal = parseInt(e.id_personal);
5146
5173
  _this.idCuentaBancoPersonal = parseInt(e.id_ctabanper);
5147
5174
  _this.codigoCuentaBancoPersonal = e.codctabanper;
@@ -5163,7 +5190,8 @@
5163
5190
  }
5164
5191
  MPersonalCuentaBanco.prototype.dataInterface = function () {
5165
5192
  return {
5166
- id_empresa: this.idEmpresa.toString(),
5193
+ id_enterprise: this.idEnterprise.toString(),
5194
+ id_empresa: this.idEmpresa,
5167
5195
  id_personal: this.idPersonal.toString(),
5168
5196
  id_ctabanper: this.idCuentaBancoPersonal.toString(),
5169
5197
  codctabanper: this.codigoCuentaBancoPersonal,
@@ -5182,6 +5210,7 @@
5182
5210
  var _this = this;
5183
5211
  if (e === void 0) { e = null; }
5184
5212
  this.idEmpresa = 0;
5213
+ this.idEnterprise = 0;
5185
5214
  this.idPersonal = 0;
5186
5215
  this.idEstudio = 0;
5187
5216
  this.codigoEstudioRealizado = '';
@@ -5201,7 +5230,8 @@
5201
5230
  this.TipoEstudio = Estudios;
5202
5231
  this.Aprobado = EstatusEstudio;
5203
5232
  if (e) {
5204
- this.idEmpresa = parseInt(e.id_empresa);
5233
+ this.idEmpresa = e.id_empresa;
5234
+ this.idEnterprise = +e.id_enterprise;
5205
5235
  this.idPersonal = parseInt(e.id_personal);
5206
5236
  this.idEstudio = parseInt(e.id_estudio);
5207
5237
  this.codigoEstudioRealizado = e.codestrea;
@@ -5223,7 +5253,8 @@
5223
5253
  }
5224
5254
  MEstudiosRealizados.prototype.dataInterface = function () {
5225
5255
  return {
5226
- id_empresa: this.idEmpresa.toString(),
5256
+ id_empresa: this.idEmpresa,
5257
+ id_enterprise: this.idEnterprise.toString(),
5227
5258
  id_personal: this.idPersonal.toString(),
5228
5259
  id_estudio: this.idEstudio.toString(),
5229
5260
  codestrea: this.codigoEstudioRealizado,
@@ -5249,6 +5280,7 @@
5249
5280
  if (e === void 0) { e = null; }
5250
5281
  var _this = _super.call(this) || this;
5251
5282
  _this.idEmpresa = 0;
5283
+ _this.idEnterprice = 0;
5252
5284
  _this.idPersonal = 0;
5253
5285
  _this.idFideicomiso = 0;
5254
5286
  _this.anoCurPeriodo = 0;
@@ -5270,7 +5302,8 @@
5270
5302
  _this.codigoUsuario = '';
5271
5303
  _this.idDtFideicomisoPeriodo = 0;
5272
5304
  if (e) {
5273
- _this.idEmpresa = parseInt(e.id_empresa);
5305
+ _this.idEmpresa = e.id_empresa;
5306
+ _this.idEmpresa = +e.id_enterprise;
5274
5307
  _this.idPersonal = parseInt(e.id_personal);
5275
5308
  _this.idFideicomiso = parseInt(e.id_fideicomiso);
5276
5309
  _this.anoCurPeriodo = parseInt(e.anocurper);
@@ -5299,7 +5332,8 @@
5299
5332
  }
5300
5333
  MPrestacionesAntiguedad.prototype.dataInterface = function () {
5301
5334
  return {
5302
- id_empresa: this.idEmpresa.toString(),
5335
+ id_empresa: this.idEmpresa,
5336
+ id_enterprise: this.idEnterprice.toString(),
5303
5337
  id_personal: this.idPersonal.toString(),
5304
5338
  id_fideicomiso: this.idFideicomiso.toString(),
5305
5339
  anocurper: this.anoCurPeriodo.toString(),
@@ -6909,7 +6943,7 @@
6909
6943
  if (tipo === void 0) { tipo = null; }
6910
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) {
6911
6945
  if (res.success) {
6912
- res.data = new MEnterprise(res.data);
6946
+ res.data = res.data.map(function (e) { return new MEnterprise(e); });
6913
6947
  }
6914
6948
  return res;
6915
6949
  }));
@@ -8305,6 +8339,7 @@
8305
8339
  __extends(MAnticipoPrestaciones, _super);
8306
8340
  function MAnticipoPrestaciones(e) {
8307
8341
  var _this = _super.call(this) || this;
8342
+ _this.idEnterprise = 0;
8308
8343
  _this.idEmpresa = 0;
8309
8344
  _this.idPersonal = 0;
8310
8345
  _this.idAnticipo = 0;
@@ -8326,6 +8361,7 @@
8326
8361
  _this.montoMaximoInteres = 0;
8327
8362
  _this.denominacionEstatus = '';
8328
8363
  if (e) {
8364
+ _this.idEnterprise = +e.id_enterprise;
8329
8365
  _this.idEmpresa = +e.id_empresa;
8330
8366
  _this.idPersonal = +e.id_personal;
8331
8367
  _this.idAnticipo = +e.id_anticipops;
@@ -8354,6 +8390,7 @@
8354
8390
  }
8355
8391
  MAnticipoPrestaciones.prototype.dataInterface = function () {
8356
8392
  return {
8393
+ id_enterprise: this.idEnterprise.toString(),
8357
8394
  id_empresa: this.idEmpresa,
8358
8395
  id_personal: this.idPersonal,
8359
8396
  id_anticipops: this.idAnticipo,
@@ -8404,6 +8441,7 @@
8404
8441
  __extends(MArchivoTxtCampo, _super);
8405
8442
  function MArchivoTxtCampo(e) {
8406
8443
  var _this = _super.call(this) || this;
8444
+ _this.idEnterprise = 0;
8407
8445
  _this.idEmpresa = 0;
8408
8446
  _this.idArchivoTxt = 0;
8409
8447
  _this.codigoCampo = 0;
@@ -8419,7 +8457,8 @@
8419
8457
  _this.tipoCampo = '';
8420
8458
  _this.idDtCampo = 0;
8421
8459
  if (e) {
8422
- _this.idEmpresa = parseInt(e.id_empresa);
8460
+ _this.idEnterprise = +e.id_enterprise;
8461
+ _this.idEmpresa = +e.id_empresa;
8423
8462
  _this.idArchivoTxt = parseInt(e.id_archivotxt);
8424
8463
  _this.codigoCampo = parseInt(e.codcam);
8425
8464
  _this.descripcionCampo = e.descam;
@@ -8441,7 +8480,8 @@
8441
8480
  }
8442
8481
  MArchivoTxtCampo.prototype.dataInterface = function () {
8443
8482
  return {
8444
- id_empresa: this.idEmpresa.toString(),
8483
+ id_enterprise: this.idEnterprise.toString(),
8484
+ id_empresa: this.idEmpresa,
8445
8485
  id_archivotxt: this.idArchivoTxt.toString(),
8446
8486
  codcam: this.codigoCampo.toString(),
8447
8487
  descam: this.descripcionCampo,
@@ -8464,6 +8504,7 @@
8464
8504
  __extends(MArchivosTxt, _super);
8465
8505
  function MArchivosTxt(e) {
8466
8506
  var _this = _super.call(this) || this;
8507
+ _this.idEnterprise = 0;
8467
8508
  _this.idEmpresa = 0;
8468
8509
  _this.idArchivoTxt = 0;
8469
8510
  _this.codigoArchivo = '';
@@ -8473,7 +8514,8 @@
8473
8514
  _this.campos = [];
8474
8515
  if (e) {
8475
8516
  e.acumon == '1' ? _this.acumularMonto = true : _this.acumularMonto = false;
8476
- _this.idEmpresa = parseInt(e.id_empresa);
8517
+ _this.idEnterprise = +e.id_enterprise;
8518
+ _this.idEmpresa = +e.id_empresa;
8477
8519
  _this.idArchivoTxt = parseInt(e.id_archivotxt);
8478
8520
  _this.codigoArchivo = e.codarch;
8479
8521
  _this.denominacionArchivo = e.denarch;
@@ -8487,7 +8529,8 @@
8487
8529
  }
8488
8530
  MArchivosTxt.prototype.dataInterface = function () {
8489
8531
  return {
8490
- id_empresa: this.idEmpresa.toString(),
8532
+ id_enterprise: this.idEnterprise.toString(),
8533
+ id_empresa: this.idEmpresa,
8491
8534
  id_archivotxt: this.idArchivoTxt.toString(),
8492
8535
  codarch: this.codigoArchivo,
8493
8536
  denarch: this.denominacionArchivo,
@@ -8503,6 +8546,7 @@
8503
8546
  __extends(MAspectoEvaluacion, _super);
8504
8547
  function MAspectoEvaluacion(e) {
8505
8548
  var _this = _super.call(this) || this;
8549
+ _this.idEnterprise = 0;
8506
8550
  _this.idEmpresa = 0;
8507
8551
  _this.idTipoEvaluacion = 0;
8508
8552
  _this.idAspectoEvaluacion = 0;
@@ -8511,7 +8555,8 @@
8511
8555
  _this.codigoAspecto = '';
8512
8556
  _this.denominacionAspecto = '';
8513
8557
  if (e) {
8514
- _this.idEmpresa = parseInt(e.id_empresa);
8558
+ _this.idEnterprise = +e.id_enterprise;
8559
+ _this.idEmpresa = +e.id_empresa;
8515
8560
  _this.idTipoEvaluacion = parseInt(e.id_tipoeval);
8516
8561
  _this.idAspectoEvaluacion = parseInt(e.id_aspecto);
8517
8562
  _this.codigoTipoEvaluacion = e.codtipeval;
@@ -8526,7 +8571,8 @@
8526
8571
  }
8527
8572
  MAspectoEvaluacion.prototype.dataInterface = function () {
8528
8573
  return {
8529
- id_empresa: this.idEmpresa.toString(),
8574
+ id_enterprise: this.idEnterprise.toString(),
8575
+ id_empresa: this.idEmpresa,
8530
8576
  id_tipoeval: this.idTipoEvaluacion.toString(),
8531
8577
  id_aspecto: this.idAspectoEvaluacion.toString(),
8532
8578
  codasp: this.codigoAspecto,
@@ -8542,6 +8588,7 @@
8542
8588
  function MItemsEvalucion(e) {
8543
8589
  if (e === void 0) { e = null; }
8544
8590
  var _this = _super.call(this) || this;
8591
+ _this.idEnterprise = 0;
8545
8592
  _this.idEmpresa = 0;
8546
8593
  _this.idTipoEvaluacion = 0;
8547
8594
  _this.idAspectoEvaluacion = 0;
@@ -8554,7 +8601,8 @@
8554
8601
  _this.codigoAspecto = '';
8555
8602
  _this.denominacionAspecto = '';
8556
8603
  if (e) {
8557
- _this.idEmpresa = parseInt(e.id_empresa);
8604
+ _this.idEnterprise = +e.id_enterprise;
8605
+ _this.idEmpresa = +e.id_empresa;
8558
8606
  _this.idTipoEvaluacion = parseInt(e.id_tipoeval);
8559
8607
  _this.idAspectoEvaluacion = parseInt(e.id_aspecto);
8560
8608
  _this.idItems = parseInt(e.id_item);
@@ -8573,7 +8621,8 @@
8573
8621
  }
8574
8622
  MItemsEvalucion.prototype.dataInterface = function () {
8575
8623
  return {
8576
- id_empresa: this.idEmpresa.toString(),
8624
+ id_enterprise: this.idEnterprise.toString(),
8625
+ id_empresa: this.idEmpresa,
8577
8626
  id_tipoeval: this.idTipoEvaluacion.toString(),
8578
8627
  id_aspecto: this.idAspectoEvaluacion.toString(),
8579
8628
  id_item: this.idItems.toString(),
@@ -8593,6 +8642,7 @@
8593
8642
  __extends(MBeneficiario, _super);
8594
8643
  function MBeneficiario(e) {
8595
8644
  var _this = _super.call(this) || this;
8645
+ _this.idEnterprise = 0;
8596
8646
  _this.idEmpresa = 0;
8597
8647
  _this.idPersonal = 0;
8598
8648
  _this.idFamiliar = 0;
@@ -8619,7 +8669,8 @@
8619
8669
  _this.medidaActiva = false;
8620
8670
  _this.tribunal = '';
8621
8671
  if (e) {
8622
- _this.idEmpresa = parseInt(e.id_empresa);
8672
+ _this.idEnterprise = +e.id_enterprise;
8673
+ _this.idEmpresa = +e.id_empresa;
8623
8674
  _this.idPersonal = parseInt(e.id_personal);
8624
8675
  _this.idFamiliar = parseInt(e.id_familiar);
8625
8676
  _this.idProveedor = parseInt(e.id_proveedor);
@@ -8652,7 +8703,8 @@
8652
8703
  }
8653
8704
  MBeneficiario.prototype.dataInterface = function () {
8654
8705
  return {
8655
- id_empresa: this.idEmpresa.toString(),
8706
+ id_enterprise: this.idEnterprise.toString(),
8707
+ id_empresa: this.idEmpresa,
8656
8708
  id_personal: this.idPersonal.toString(),
8657
8709
  id_familiar: this.idFamiliar.toString(),
8658
8710
  id_proveedor: this.idProveedor.toString(),
@@ -8677,6 +8729,7 @@
8677
8729
  function MCargosPersonal(p) {
8678
8730
  if (p === void 0) { p = null; }
8679
8731
  var _this = _super.call(this) || this;
8732
+ _this.idEnterprise = 0;
8680
8733
  _this.idEmpresa = 0;
8681
8734
  _this.idPersonal = 0;
8682
8735
  _this.idCargo = 0;
@@ -8706,6 +8759,8 @@
8706
8759
  _this.detallesOrganigrama = [];
8707
8760
  _this.detallesNomina = [];
8708
8761
  if (p) {
8762
+ _this.idEnterprise = +p.id_enterprise;
8763
+ _this.idEmpresa = +p.id_empresa;
8709
8764
  _this.idPersonal = parseInt(p.id_personal);
8710
8765
  _this.idCargo = +p.id_carper;
8711
8766
  _this.codigoCargo = p.codcar;
@@ -8745,7 +8800,8 @@
8745
8800
  }
8746
8801
  MCargosPersonal.prototype.dataInterface = function () {
8747
8802
  return {
8748
- id_empresa: this.idEmpresa.toString(),
8803
+ id_enterprise: this.idEnterprise.toString(),
8804
+ id_empresa: this.idEmpresa,
8749
8805
  id_personal: this.idPersonal.toString(),
8750
8806
  id_carper: this.idCargo.toString(),
8751
8807
  id_tabulador: this.idTabulador.toString(),
@@ -8765,6 +8821,7 @@
8765
8821
  __extends(MCargaFamiliar, _super);
8766
8822
  function MCargaFamiliar(e) {
8767
8823
  var _this = _super.call(this) || this;
8824
+ _this.idEnterprise = 0;
8768
8825
  _this.idEmpresa = 0;
8769
8826
  _this.idConcurso = 0;
8770
8827
  _this.idConcursante = 0;
@@ -8777,7 +8834,8 @@
8777
8834
  _this.parentesco = '';
8778
8835
  _this.fechaNacimiento = '';
8779
8836
  if (e) {
8780
- _this.idEmpresa = parseInt(e.id_empresa);
8837
+ _this.idEnterprise = +e.id_enterprise;
8838
+ _this.idEmpresa = +e.id_empresa;
8781
8839
  _this.idConcurso = parseInt(e.id_concurso);
8782
8840
  _this.idConcursante = parseInt(e.id_concursante);
8783
8841
  _this.idFamilia = parseInt(e.id_familiacon);
@@ -8796,7 +8854,8 @@
8796
8854
  }
8797
8855
  MCargaFamiliar.prototype.dataInterface = function () {
8798
8856
  return {
8799
- id_empresa: this.idEmpresa.toString(),
8857
+ id_enterprise: this.idEnterprise.toString(),
8858
+ id_empresa: this.idEmpresa,
8800
8859
  id_concurso: this.idConcurso.toString(),
8801
8860
  id_concursante: this.idConcurso.toString(),
8802
8861
  id_familiacon: this.idFamilia.toString(),
@@ -8816,6 +8875,7 @@
8816
8875
  __extends(MClasificacionObrero, _super);
8817
8876
  function MClasificacionObrero(e) {
8818
8877
  var _this = _super.call(this) || this;
8878
+ _this.idEnterprise = 0;
8819
8879
  _this.idEmpresa = 0;
8820
8880
  _this.idClasificacionObrero = 0;
8821
8881
  _this.grado = '';
@@ -8826,7 +8886,8 @@
8826
8886
  _this.numeroGaceta = '';
8827
8887
  _this.observacion = '';
8828
8888
  if (e) {
8829
- _this.idEmpresa = parseInt(e.id_empresa);
8889
+ _this.idEnterprise = +e.id_enterprise;
8890
+ _this.idEmpresa = +e.id_empresa;
8830
8891
  _this.idClasificacionObrero = parseInt(e.id_claobr);
8831
8892
  _this.grado = e.grado;
8832
8893
  _this.sueldoMinimo = e.suemin;
@@ -8843,7 +8904,8 @@
8843
8904
  }
8844
8905
  MClasificacionObrero.prototype.dataInterface = function () {
8845
8906
  return {
8846
- id_empresa: this.idEmpresa.toString(),
8907
+ id_enterprise: this.idEnterprise.toString(),
8908
+ id_empresa: this.idEmpresa,
8847
8909
  id_claobr: this.idClasificacionObrero.toString(),
8848
8910
  grado: this.grado,
8849
8911
  suemin: this.sueldoMinimo,
@@ -8862,6 +8924,7 @@
8862
8924
  function MConceptoVacaciones(e) {
8863
8925
  if (e === void 0) { e = null; }
8864
8926
  var _this = _super.call(this) || this;
8927
+ _this.idEnterprise = 0;
8865
8928
  _this.idEmpresa = 0;
8866
8929
  _this.idConceptoVacaciones = 0;
8867
8930
  _this.idNomina = 0;
@@ -8886,6 +8949,7 @@
8886
8949
  _this.nombreConcepto = '';
8887
8950
  _this.signoConcepto = '';
8888
8951
  if (e) {
8952
+ _this.idEnterprise = +e.id_enterprise;
8889
8953
  _this.idEmpresa = +e.id_empresa;
8890
8954
  _this.idConceptoVacaciones = +e.id_convac;
8891
8955
  _this.idNomina = +e.id_nomina;
@@ -8914,7 +8978,8 @@
8914
8978
  }
8915
8979
  MConceptoVacaciones.prototype.dataInterface = function () {
8916
8980
  return {
8917
- id_empresa: this.idEmpresa.toString(),
8981
+ id_enterprise: this.idEnterprise.toString(),
8982
+ id_empresa: this.idEmpresa,
8918
8983
  id_convac: this.idConceptoVacaciones.toString(),
8919
8984
  id_nomina: this.idNomina.toString(),
8920
8985
  id_concepto: this.idConcepto.toString(),
@@ -8974,6 +9039,7 @@
8974
9039
  function MConceptosNomina(e) {
8975
9040
  if (e === void 0) { e = null; }
8976
9041
  var _this = _super.call(this) || this;
9042
+ _this.idEnterprise = 0;
8977
9043
  _this.idEmpresa = 0;
8978
9044
  _this.idNomina = 0;
8979
9045
  _this.idConcepto = 0;
@@ -9039,6 +9105,7 @@
9039
9105
  _this.evaluarEnPrenomina = 0;
9040
9106
  _this.antiguedadComplementaria = 0;
9041
9107
  if (e) {
9108
+ _this.idEnterprise = +e.id_enterprise;
9042
9109
  _this.idEmpresa = +e.id_empresa;
9043
9110
  _this.idNomina = +e.id_nomina;
9044
9111
  _this.idConcepto = +e.id_concepto;
@@ -9116,7 +9183,8 @@
9116
9183
  }
9117
9184
  MConceptosNomina.prototype.dataInterface = function () {
9118
9185
  return {
9119
- id_empresa: this.idEmpresa.toString(),
9186
+ id_enterprise: this.idEnterprise.toString(),
9187
+ id_empresa: this.idEmpresa,
9120
9188
  id_nomina: this.idNomina.toString(),
9121
9189
  id_concepto: this.idConcepto.toString(),
9122
9190
  codconc: this.codigoConcepto,
@@ -9193,6 +9261,7 @@
9193
9261
  function MConceptosPersonalNomina(e) {
9194
9262
  if (e === void 0) { e = null; }
9195
9263
  var _this = _super.call(this) || this;
9264
+ _this.idEnterprise = 0;
9196
9265
  _this.idEmpresa = 0;
9197
9266
  _this.idPersonalNomina = 0;
9198
9267
  _this.idNomina = 0;
@@ -9219,7 +9288,8 @@
9219
9288
  _this.codigoNomina = '';
9220
9289
  _this.numeroPeriodoNomina = 0;
9221
9290
  if (e) {
9222
- _this.idEmpresa = parseInt(e.id_empresa);
9291
+ _this.idEnterprise = +e.id_enterprise;
9292
+ _this.idEmpresa = +e.id_empresa;
9223
9293
  _this.idPersonalNomina = parseInt(e.id_personalnomina);
9224
9294
  _this.idNomina = parseInt(e.id_nomina);
9225
9295
  _this.idConcepto = parseInt(e.id_concepto);
@@ -9251,7 +9321,8 @@
9251
9321
  }
9252
9322
  MConceptosPersonalNomina.prototype.dataInterface = function () {
9253
9323
  return {
9254
- id_empresa: this.idEmpresa.toString(),
9324
+ id_enterprise: this.idEnterprise.toString(),
9325
+ id_empresa: this.idEmpresa,
9255
9326
  id_personalnomina: this.idPersonalNomina.toString(),
9256
9327
  id_nomina: this.idNomina.toString(),
9257
9328
  id_concepto: this.idConcepto.toString(),
@@ -9290,6 +9361,7 @@
9290
9361
  function MConstanteNomina(e) {
9291
9362
  if (e === void 0) { e = null; }
9292
9363
  var _this = _super.call(this) || this;
9364
+ _this.idEnterprise = 0;
9293
9365
  _this.idEmpresa = 0;
9294
9366
  _this.idNomina = 1;
9295
9367
  _this.idConstante = 0;
@@ -9307,6 +9379,7 @@
9307
9379
  _this.registroIncidencia = '';
9308
9380
  _this.valorInicialIncidencia = 0;
9309
9381
  if (e) {
9382
+ _this.idEnterprise = +e.id_enterprise;
9310
9383
  _this.idEmpresa = +e.id_empresa;
9311
9384
  _this.idNomina = +e.id_nomina;
9312
9385
  _this.idConstante = +e.id_constante;
@@ -9331,7 +9404,8 @@
9331
9404
  }
9332
9405
  MConstanteNomina.prototype.dataInterface = function () {
9333
9406
  return {
9334
- id_empresa: this.idEmpresa.toString(),
9407
+ id_enterprise: this.idEnterprise.toString(),
9408
+ id_empresa: this.idEmpresa,
9335
9409
  id_nomina: this.idNomina.toString(),
9336
9410
  id_constante: this.idConstante.toString(),
9337
9411
  codcons: this.codigoConstante,
@@ -9357,6 +9431,7 @@
9357
9431
  function MConstantePersonalNomina(e) {
9358
9432
  if (e === void 0) { e = null; }
9359
9433
  var _this = _super.call(this) || this;
9434
+ _this.idEnterprise = 0;
9360
9435
  _this.idEmpresa = 0;
9361
9436
  _this.idNomina = 0;
9362
9437
  _this.idConstante = 0;
@@ -9377,6 +9452,7 @@
9377
9452
  _this.denominacionCargoPersonal = '';
9378
9453
  _this.idPersonal = 0;
9379
9454
  if (e) {
9455
+ _this.idEnterprise = +e.id_enterprise;
9380
9456
  _this.idEmpresa = +e.id_empresa;
9381
9457
  _this.idNomina = +e.id_nomina;
9382
9458
  _this.idConstante = +e.id_constante;
@@ -9404,7 +9480,8 @@
9404
9480
  }
9405
9481
  MConstantePersonalNomina.prototype.dataInterface = function () {
9406
9482
  return {
9407
- id_empresa: this.idEmpresa.toString(),
9483
+ id_enterprise: this.idEnterprise.toString(),
9484
+ id_empresa: this.idEmpresa,
9408
9485
  id_nomina: this.idNomina.toString(),
9409
9486
  id_constante: this.idConstante.toString(),
9410
9487
  id_personalnomina: this.idPersonalNomina.toString(),
@@ -9436,6 +9513,7 @@
9436
9513
  function MRango(e) {
9437
9514
  if (e === void 0) { e = null; }
9438
9515
  var _this = _super.call(this) || this;
9516
+ _this.idEnterprise = 0;
9439
9517
  _this.idEmpresa = 0;
9440
9518
  _this.idComponente = 0;
9441
9519
  _this.IdRango = 0;
@@ -9445,7 +9523,8 @@
9445
9523
  _this.nombreAbreviatura = '';
9446
9524
  _this.codigoCategoriaRango = '';
9447
9525
  if (e) {
9448
- _this.idEmpresa = parseInt(e.id_empresa);
9526
+ _this.idEnterprise = +e.id_enterprise;
9527
+ _this.idEmpresa = +e.id_empresa;
9449
9528
  _this.idComponente = parseInt(e.id_componente);
9450
9529
  _this.IdRango = parseInt(e.id_rango);
9451
9530
  _this.IdCategoria = parseInt(e.id_catrango);
@@ -9461,7 +9540,8 @@
9461
9540
  }
9462
9541
  MRango.prototype.dataInterface = function () {
9463
9542
  return {
9464
- id_empresa: this.idEmpresa.toString(),
9543
+ id_enterprise: this.idEnterprise.toString(),
9544
+ id_empresa: this.idEmpresa,
9465
9545
  id_componente: this.idComponente.toString(),
9466
9546
  id_rango: this.IdRango.toString(),
9467
9547
  id_catrango: this.IdCategoria.toString(),
@@ -9478,6 +9558,7 @@
9478
9558
  __extends(MComponete, _super);
9479
9559
  function MComponete(e) {
9480
9560
  var _this = _super.call(this) || this;
9561
+ _this.idEnterprise = 0;
9481
9562
  _this.idEmpresa = 0;
9482
9563
  _this.idComponente = 0;
9483
9564
  _this.codigoComponente = '';
@@ -9485,7 +9566,8 @@
9485
9566
  _this.nombreAbreviatura = '';
9486
9567
  _this.rangos = [];
9487
9568
  if (e) {
9488
- _this.idEmpresa = parseInt(e.id_empresa);
9569
+ _this.idEnterprise = +e.id_enterprise;
9570
+ _this.idEmpresa = +e.id_empresa;
9489
9571
  _this.idComponente = parseInt(e.id_componente);
9490
9572
  _this.codigoComponente = e.codcom;
9491
9573
  _this.denominacionComponente = e.dencom;
@@ -9499,7 +9581,8 @@
9499
9581
  }
9500
9582
  MComponete.prototype.dataInterface = function () {
9501
9583
  return {
9502
- id_empresa: this.idEmpresa.toString(),
9584
+ id_enterprise: this.idEnterprise.toString(),
9585
+ id_empresa: this.idEmpresa,
9503
9586
  id_componente: this.idComponente.toString(),
9504
9587
  codcom: this.codigoComponente,
9505
9588
  dencom: this.denominacionComponente,
@@ -9515,6 +9598,7 @@
9515
9598
  function MConcursante(e) {
9516
9599
  if (e === void 0) { e = null; }
9517
9600
  var _this = _super.call(this) || this;
9601
+ _this.idEnterprise = 0;
9518
9602
  _this.idEmpresa = 0;
9519
9603
  _this.idConcurso = 0;
9520
9604
  _this.codigoConcurso = '';
@@ -9541,7 +9625,8 @@
9541
9625
  _this.nivelAcademico = 0;
9542
9626
  _this.estatusRequisitos = 1;
9543
9627
  if (e) {
9544
- _this.idEmpresa = parseInt(e.id_empresa);
9628
+ _this.idEnterprise = +e.id_enterprise;
9629
+ _this.idEmpresa = +e.id_empresa;
9545
9630
  _this.idConcurso = parseInt(e.id_concurso);
9546
9631
  _this.codigoConcurso = e.codcon;
9547
9632
  _this.idConcursante = parseInt(e.id_concursante);
@@ -9571,7 +9656,8 @@
9571
9656
  }
9572
9657
  MConcursante.prototype.dataInterface = function () {
9573
9658
  return {
9574
- id_empresa: this.idEmpresa.toString(),
9659
+ id_enterprise: this.idEnterprise.toString(),
9660
+ id_empresa: this.idEmpresa,
9575
9661
  id_concurso: this.idConcurso.toString(),
9576
9662
  codcon: this.codigoConcurso,
9577
9663
  id_concursante: this.idConcursante.toString(),
@@ -9604,6 +9690,7 @@
9604
9690
  __extends(MTrabajosConcursantes, _super);
9605
9691
  function MTrabajosConcursantes(e) {
9606
9692
  var _this = _super.call(this) || this;
9693
+ _this.idEnterprise = 0;
9607
9694
  _this.idEmpresa = 0;
9608
9695
  _this.idConcurso = 0;
9609
9696
  _this.idConcursante = 0;
@@ -9614,7 +9701,8 @@
9614
9701
  _this.fechaIngreso = '';
9615
9702
  _this.fechaRetiro = '';
9616
9703
  if (e) {
9617
- _this.idEmpresa = parseInt(e.id_empresa);
9704
+ _this.idEnterprise = +e.id_enterprise;
9705
+ _this.idEmpresa = +e.id_empresa;
9618
9706
  _this.idConcurso = parseInt(e.id_concurso);
9619
9707
  _this.idConcursante = parseInt(e.id_concursante);
9620
9708
  _this.idTrabajo = parseInt(e.id_trabajocon);
@@ -9631,7 +9719,8 @@
9631
9719
  }
9632
9720
  MTrabajosConcursantes.prototype.dataInterface = function () {
9633
9721
  return {
9634
- id_empresa: this.idEmpresa.toString(),
9722
+ id_enterprise: this.idEnterprise.toString(),
9723
+ id_empresa: this.idEmpresa,
9635
9724
  id_concurso: this.idConcurso.toString(),
9636
9725
  id_concursante: this.idConcursante.toString(),
9637
9726
  id_trabajocon: this.idTrabajo.toString(),
@@ -9649,6 +9738,7 @@
9649
9738
  function MEstudiosConcursantes(e) {
9650
9739
  if (e === void 0) { e = null; }
9651
9740
  var _this = _super.call(this) || this;
9741
+ _this.idEnterprise = 0;
9652
9742
  _this.idEmpresa = 0;
9653
9743
  _this.idConcurso = 0;
9654
9744
  _this.idConcursante = 0;
@@ -9662,7 +9752,8 @@
9662
9752
  _this.yearAprobados = 0;
9663
9753
  _this.horasEstudiosRealizadas = 0;
9664
9754
  if (e) {
9665
- _this.idEmpresa = parseInt(e.id_empresa);
9755
+ _this.idEnterprise = +e.id_enterprise;
9756
+ _this.idEmpresa = +e.id_empresa;
9666
9757
  _this.idConcurso = parseInt(e.id_concurso);
9667
9758
  _this.idConcursante = parseInt(e.id_concursante);
9668
9759
  _this.idEstudio = parseInt(e.id_estudiocon);
@@ -9682,7 +9773,8 @@
9682
9773
  }
9683
9774
  MEstudiosConcursantes.prototype.dataInterface = function () {
9684
9775
  return {
9685
- id_empresa: this.idEmpresa.toString(),
9776
+ id_enterprise: this.idEnterprise.toString(),
9777
+ id_empresa: this.idEmpresa,
9686
9778
  id_concurso: this.idConcurso.toString(),
9687
9779
  id_concursante: this.idConcursante.toString(),
9688
9780
  id_estudiocon: this.idEstudio.toString(),
@@ -9748,6 +9840,7 @@
9748
9840
  function MFamiliaConcursante(e) {
9749
9841
  if (e === void 0) { e = null; }
9750
9842
  var _this = _super.call(this) || this;
9843
+ _this.idEnterprise = 0;
9751
9844
  _this.idEmpresa = 0;
9752
9845
  _this.idConcurso = 0;
9753
9846
  _this.idConcursante = 0;
@@ -9760,7 +9853,8 @@
9760
9853
  _this.nexo = '';
9761
9854
  _this.fecha = '';
9762
9855
  if (e) {
9763
- _this.idEmpresa = parseInt(e.id_empresa);
9856
+ _this.idEnterprise = +e.id_enterprise;
9857
+ _this.idEmpresa = +e.id_empresa;
9764
9858
  _this.idConcurso = parseInt(e.id_concurso);
9765
9859
  _this.idConcursante = parseInt(e.id_concursante);
9766
9860
  _this.idFamiliar = parseInt(e.id_familiacon);
@@ -9779,7 +9873,8 @@
9779
9873
  }
9780
9874
  MFamiliaConcursante.prototype.dataInterface = function () {
9781
9875
  return {
9782
- id_empresa: this.idEmpresa.toString(),
9876
+ id_enterprise: this.idEnterprise.toString(),
9877
+ id_empresa: this.idEmpresa,
9783
9878
  id_concurso: this.idConcurso.toString(),
9784
9879
  id_concursante: this.idConcursante.toString(),
9785
9880
  id_familiacon: this.idFamiliar.toString(),
@@ -9799,6 +9894,7 @@
9799
9894
  function MFormacionInformal(e) {
9800
9895
  if (e === void 0) { e = null; }
9801
9896
  var _this = _super.call(this) || this;
9897
+ _this.idEnterprise = 0;
9802
9898
  _this.idEmpresa = 0;
9803
9899
  _this.idConcurso = 0;
9804
9900
  _this.idConcursante = 0;
@@ -9807,7 +9903,8 @@
9807
9903
  _this.descripcionCurso = '';
9808
9904
  _this.horasCurso = 0;
9809
9905
  if (e) {
9810
- _this.idEmpresa = parseInt(e.id_empresa);
9906
+ _this.idEnterprise = +e.id_enterprise;
9907
+ _this.idEmpresa = +e.id_empresa;
9811
9908
  _this.idConcursante = parseInt(e.id_concurso);
9812
9909
  _this.idConcursante = parseInt(e.id_concursante);
9813
9910
  _this.idCurso = parseInt(e.id_curso);
@@ -9822,7 +9919,8 @@
9822
9919
  }
9823
9920
  MFormacionInformal.prototype.dataInterface = function () {
9824
9921
  return {
9825
- id_empresa: this.idEmpresa.toString(),
9922
+ id_enterprise: this.idEnterprise.toString(),
9923
+ id_empresa: this.idEmpresa,
9826
9924
  id_concurso: this.idConcurso.toString(),
9827
9925
  id_concursante: this.idConcurso.toString(),
9828
9926
  id_curso: this.idCurso.toString(),
@@ -9838,6 +9936,7 @@
9838
9936
  __extends(MRequisitosConcursos, _super);
9839
9937
  function MRequisitosConcursos(e) {
9840
9938
  var _this = _super.call(this) || this;
9939
+ _this.idEnterprise = 0;
9841
9940
  _this.idEmpresa = 0;
9842
9941
  _this.idConcurso = 0;
9843
9942
  _this.idRequisito = 0;
@@ -9846,7 +9945,8 @@
9846
9945
  _this.cantidadRequisito = 0;
9847
9946
  _this.requisitoIndispensable = 0;
9848
9947
  if (e) {
9849
- _this.idEmpresa = parseInt(e.id_empresa);
9948
+ _this.idEnterprise = +e.id_enterprise;
9949
+ _this.idEmpresa = +e.id_empresa;
9850
9950
  _this.idConcurso = parseInt(e.id_concurso);
9851
9951
  _this.idRequisito = parseInt(e.id_reqcon);
9852
9952
  _this.codigoRequisito = e.codreqcon;
@@ -9858,7 +9958,8 @@
9858
9958
  }
9859
9959
  MRequisitosConcursos.prototype.dataInterface = function () {
9860
9960
  return {
9861
- id_empresa: this.idEmpresa.toString(),
9961
+ id_enterprise: this.idEnterprise.toString(),
9962
+ id_empresa: this.idEmpresa,
9862
9963
  id_concurso: this.idConcurso.toString(),
9863
9964
  id_reqcon: this.idRequisito.toString(),
9864
9965
  codreqcon: this.codigoRequisito,
@@ -9875,6 +9976,7 @@
9875
9976
  function MConcurso(e) {
9876
9977
  if (e === void 0) { e = null; }
9877
9978
  var _this = _super.call(this) || this;
9979
+ _this.idEnterprise = 0;
9878
9980
  _this.idEmpresa = 0;
9879
9981
  _this.idConcurso = 0;
9880
9982
  _this.codigoConcurso = '';
@@ -9891,7 +9993,8 @@
9891
9993
  _this.detalleRequisitos = [];
9892
9994
  _this.eliminarDetalles = [];
9893
9995
  if (e) {
9894
- _this.idEmpresa = parseInt(e.id_empresa);
9996
+ _this.idEnterprise = +e.id_enterprise;
9997
+ _this.idEmpresa = +e.id_empresa;
9895
9998
  _this.idConcurso = parseInt(e.id_concurso);
9896
9999
  _this.codigoConcurso = e.codcon;
9897
10000
  _this.denominacionConcurso = e.dencon;
@@ -9912,7 +10015,8 @@
9912
10015
  }
9913
10016
  MConcurso.prototype.dataInterface = function () {
9914
10017
  return {
9915
- id_empresa: this.idEmpresa.toString(),
10018
+ id_enterprise: this.idEnterprise.toString(),
10019
+ id_empresa: this.idEmpresa,
9916
10020
  id_concurso: this.idConcurso.toString(),
9917
10021
  codcon: this.codigoConcurso,
9918
10022
  dencon: this.denominacionConcurso,
@@ -9935,6 +10039,7 @@
9935
10039
  function MPrevioEvaluacion(e) {
9936
10040
  if (e === void 0) { e = null; }
9937
10041
  var _this = _super.call(this) || this;
10042
+ _this.idEnterprise = 0;
9938
10043
  _this.idEmpresa = 0;
9939
10044
  _this.idPrevio = 0;
9940
10045
  _this.proceso = '';
@@ -9954,7 +10059,8 @@
9954
10059
  _this.estatusRegistro = 0;
9955
10060
  _this.detallesRegistro = [];
9956
10061
  if (e) {
9957
- _this.idEmpresa = parseInt(e.id_empresa);
10062
+ _this.idEnterprise = +e.id_enterprise;
10063
+ _this.idEmpresa = +e.id_empresa;
9958
10064
  _this.idPrevio = parseInt(e.id_previo);
9959
10065
  _this.proceso = e.proceso;
9960
10066
  _this.idConcurso = parseInt(e.id_concurso);
@@ -9981,7 +10087,8 @@
9981
10087
  }
9982
10088
  MPrevioEvaluacion.prototype.dataInterface = function () {
9983
10089
  return {
9984
- id_empresa: this.idEmpresa.toString(),
10090
+ id_enterprise: this.idEnterprise.toString(),
10091
+ id_empresa: this.idEmpresa,
9985
10092
  id_previo: this.idPrevio.toString(),
9986
10093
  proceso: this.proceso,
9987
10094
  id_concurso: this.idConcurso.toString(),
@@ -10009,6 +10116,7 @@
10009
10116
  function MPrevioEvaluacionDt(e) {
10010
10117
  if (e === void 0) { e = null; }
10011
10118
  var _this = _super.call(this) || this;
10119
+ _this.idEnterprise = 0;
10012
10120
  _this.idEmpresa = 0;
10013
10121
  _this.idPrevio = 0;
10014
10122
  _this.idAspecto = 0;
@@ -10020,7 +10128,8 @@
10020
10128
  _this.puntos = 0;
10021
10129
  _this.valorMaximo = 0;
10022
10130
  if (e) {
10023
- _this.idEmpresa = parseInt(e.id_empresa);
10131
+ _this.idEnterprise = +e.id_enterprise;
10132
+ _this.idEmpresa = +e.id_empresa;
10024
10133
  _this.idPrevio = parseInt(e.id_previo);
10025
10134
  _this.idAspecto = parseInt(e.id_aspecto);
10026
10135
  _this.idTipoEvaluacion = parseInt(e.id_tipoeval);
@@ -10038,7 +10147,8 @@
10038
10147
  }
10039
10148
  MPrevioEvaluacionDt.prototype.dataInterface = function () {
10040
10149
  return {
10041
- id_empresa: this.idEmpresa.toString(),
10150
+ id_enterprise: this.idEnterprise.toString(),
10151
+ id_empresa: this.idEmpresa,
10042
10152
  id_previo: this.idPrevio.toString(),
10043
10153
  id_tipoeval: this.idTipoEvaluacion.toString(),
10044
10154
  id_aspecto: this.idAspecto.toString(),
@@ -10056,6 +10166,7 @@
10056
10166
  __extends(MResultadosEvaluacion, _super);
10057
10167
  function MResultadosEvaluacion(e) {
10058
10168
  var _this = _super.call(this) || this;
10169
+ _this.idEnterprise = 0;
10059
10170
  _this.idEmpresa = 0;
10060
10171
  _this.idEvaluacion = 0;
10061
10172
  _this.idConcurso = 0;
@@ -10072,7 +10183,8 @@
10072
10183
  _this.resultado_rqm = 0;
10073
10184
  _this.usuarioRegistro = '';
10074
10185
  if (e) {
10075
- _this.idEmpresa = parseInt(e.id_empresa);
10186
+ _this.idEnterprise = +e.id_enterprise;
10187
+ _this.idEmpresa = +e.id_empresa;
10076
10188
  _this.idEvaluacion = parseInt(e.id_evaluacion);
10077
10189
  _this.idConcurso = parseInt(e.id_concurso);
10078
10190
  _this.codigoConcurso = e.codcon,
@@ -10096,7 +10208,8 @@
10096
10208
  }
10097
10209
  MResultadosEvaluacion.prototype.dataInterface = function () {
10098
10210
  return {
10099
- id_empresa: this.idEmpresa.toString(),
10211
+ id_enterprise: this.idEnterprise.toString(),
10212
+ id_empresa: this.idEmpresa,
10100
10213
  id_evaluacion: this.idEvaluacion.toString(),
10101
10214
  id_concurso: this.idConcurso.toString(),
10102
10215
  codcon: this.codigoConcurso,
@@ -10121,6 +10234,7 @@
10121
10234
  __extends(MTipoPersonal, _super);
10122
10235
  function MTipoPersonal(e) {
10123
10236
  var _this = _super.call(this) || this;
10237
+ _this.idEnterprise = 0;
10124
10238
  _this.idEmpresa = 0;
10125
10239
  _this.idDedicacion = 0;
10126
10240
  _this.idTipoPersonal = 0;
@@ -10128,7 +10242,8 @@
10128
10242
  _this.codigoTipoPersonal = '';
10129
10243
  _this.denominacionTipoPersonal = '';
10130
10244
  if (e) {
10131
- _this.idEmpresa = parseInt(e.id_empresa);
10245
+ _this.idEnterprise = +e.id_enterprise;
10246
+ _this.idEmpresa = +e.id_empresa;
10132
10247
  _this.idDedicacion = parseInt(e.id_dedicacion);
10133
10248
  _this.idTipoPersonal = parseInt(e.id_tipopersonal);
10134
10249
  _this.idDtTipoPersonal = parseInt(e.id_dt_tipopersonal);
@@ -10139,7 +10254,8 @@
10139
10254
  }
10140
10255
  MTipoPersonal.prototype.dataInterface = function () {
10141
10256
  return {
10142
- id_empresa: this.idEmpresa.toString(),
10257
+ id_enterprise: this.idEnterprise.toString(),
10258
+ id_empresa: this.idEmpresa,
10143
10259
  id_tipopersonal: this.idTipoPersonal.toString(),
10144
10260
  id_dedicacion: this.idDedicacion.toString(),
10145
10261
  id_dt_tipopersonal: this.idDtTipoPersonal.toString(),
@@ -10155,13 +10271,15 @@
10155
10271
  function MDedicacion(e) {
10156
10272
  if (e === void 0) { e = null; }
10157
10273
  var _this = _super.call(this) || this;
10274
+ _this.idEnterprise = 0;
10158
10275
  _this.idEmpresa = 0;
10159
10276
  _this.idDedicacion = 0;
10160
10277
  _this.codigoDedicacion = '';
10161
10278
  _this.denominacionDedicacion = '';
10162
10279
  _this.tipoPersonal = [];
10163
10280
  if (e) {
10164
- _this.idEmpresa = parseInt(e.id_empresa);
10281
+ _this.idEnterprise = +e.id_enterprise;
10282
+ _this.idEmpresa = +e.id_empresa;
10165
10283
  _this.idDedicacion = parseInt(e.id_dedicacion);
10166
10284
  _this.codigoDedicacion = e.codded;
10167
10285
  _this.denominacionDedicacion = e.dended;
@@ -10174,7 +10292,8 @@
10174
10292
  }
10175
10293
  MDedicacion.prototype.dataInterface = function () {
10176
10294
  return {
10177
- id_empresa: this.idEmpresa.toString(),
10295
+ id_enterprise: this.idEnterprise.toString(),
10296
+ id_empresa: this.idEmpresa,
10178
10297
  id_dedicacion: this.idDedicacion.toString(),
10179
10298
  codded: this.codigoDedicacion,
10180
10299
  dended: this.denominacionDedicacion,
@@ -10189,12 +10308,16 @@
10189
10308
  function MDefinicionesBasicas(e) {
10190
10309
  if (e === void 0) { e = null; }
10191
10310
  var _this = _super.call(this) || this;
10311
+ _this.idEnterprise = 0;
10312
+ _this.idEmpresa = 0;
10192
10313
  _this.idDefinicion = -1;
10193
10314
  _this.codigo = '';
10194
10315
  _this.denominacion = '';
10195
10316
  _this.tipoPersonalObrero = false;
10196
10317
  _this.observacionRetenciones = '';
10197
10318
  if (e) {
10319
+ _this.idEnterprise = +e.id_enterprise;
10320
+ _this.idEmpresa = +e.id_empresa;
10198
10321
  _this.idDefinicion = parseInt(e.id);
10199
10322
  _this.codigo = e.coddef;
10200
10323
  _this.denominacion = e.dendef;
@@ -10217,6 +10340,8 @@
10217
10340
  tipo = '1';
10218
10341
  }
10219
10342
  return {
10343
+ id_enterprise: this.idEnterprise.toString(),
10344
+ id_empresa: this.idEmpresa,
10220
10345
  id: this.idDefinicion.toString(),
10221
10346
  coddef: this.codigo,
10222
10347
  dendef: this.denominacion,
@@ -10230,6 +10355,7 @@
10230
10355
  __extends(MSueldoMinimo, _super);
10231
10356
  function MSueldoMinimo(e) {
10232
10357
  var _this = _super.call(this) || this;
10358
+ _this.idEnterprise = 0;
10233
10359
  _this.idEmpresa = 0;
10234
10360
  _this.idSueldoMinimo = 0;
10235
10361
  _this.codigoSueldoMinimo = '';
@@ -10239,7 +10365,8 @@
10239
10365
  _this.montoSueldoMinimo = 0;
10240
10366
  _this.observacionSueldoMinimo = '';
10241
10367
  if (e) {
10242
- _this.idEmpresa = parseInt(e.id_empresa);
10368
+ _this.idEnterprise = +e.id_enterprise;
10369
+ _this.idEmpresa = +e.id_empresa;
10243
10370
  _this.idSueldoMinimo = parseInt(e.id_sueldominimo);
10244
10371
  _this.codigoSueldoMinimo = e.codsuemin;
10245
10372
  _this.annoSueldoMinimo = parseInt(e.anosuemin);
@@ -10252,7 +10379,8 @@
10252
10379
  }
10253
10380
  MSueldoMinimo.prototype.dataInterface = function () {
10254
10381
  return {
10255
- id_empresa: this.idEmpresa.toString(),
10382
+ id_enterprise: this.idEnterprise.toString(),
10383
+ id_empresa: this.idEmpresa,
10256
10384
  id_sueldominimo: this.idSueldoMinimo.toString(),
10257
10385
  codsuemin: this.codigoSueldoMinimo,
10258
10386
  anosuemin: this.annoSueldoMinimo.toString(),
@@ -10270,6 +10398,7 @@
10270
10398
  function MDeudaAnterior(e) {
10271
10399
  if (e === void 0) { e = null; }
10272
10400
  var _this = _super.call(this) || this;
10401
+ _this.idEnterprise = 0;
10273
10402
  _this.idEmpresa = 0;
10274
10403
  _this.idPersonal = 0;
10275
10404
  _this.fechaCorteDeuda = '1900-01-01';
@@ -10278,6 +10407,7 @@
10278
10407
  _this.montoDeudaAnterior = 0;
10279
10408
  _this.montoAnticipoInteres = 0;
10280
10409
  if (e) {
10410
+ _this.idEnterprise = +e.id_enterprise;
10281
10411
  _this.idEmpresa = +e.id_empresa;
10282
10412
  _this.idPersonal = +e.id_personal;
10283
10413
  _this.fechaCorteDeuda = e.feccordeu;
@@ -10293,6 +10423,7 @@
10293
10423
  }
10294
10424
  MDeudaAnterior.prototype.dataInterface = function () {
10295
10425
  return {
10426
+ id_enterprise: this.idEnterprise.toString(),
10296
10427
  id_empresa: this.idEmpresa,
10297
10428
  id_personal: this.idPersonal,
10298
10429
  feccordeu: this.fechaCorteDeuda,
@@ -10309,6 +10440,7 @@
10309
10440
  __extends(MEscalaEvaluacionDt, _super);
10310
10441
  function MEscalaEvaluacionDt(e) {
10311
10442
  var _this = _super.call(this) || this;
10443
+ _this.idEnterprise = 0;
10312
10444
  _this.idEmpresa = 0;
10313
10445
  _this.idEscala = 0;
10314
10446
  _this.codigoDetalleEscala = '';
@@ -10317,7 +10449,8 @@
10317
10449
  _this.valorFinalDetalleEscala = 0;
10318
10450
  _this.idDtEscala = 0;
10319
10451
  if (e) {
10320
- _this.idEmpresa = parseInt(e.id_empresa);
10452
+ _this.idEnterprise = +e.id_enterprise;
10453
+ _this.idEmpresa = +e.id_empresa;
10321
10454
  _this.idEscala = parseInt(e.id_escala);
10322
10455
  _this.codigoDetalleEscala = e.coddetesc;
10323
10456
  _this.denominacionDetalleEscala = e.dendetesc;
@@ -10329,7 +10462,8 @@
10329
10462
  }
10330
10463
  MEscalaEvaluacionDt.prototype.dataInterface = function () {
10331
10464
  return {
10332
- id_empresa: this.idEmpresa.toString(),
10465
+ id_enterprise: this.idEnterprise.toString(),
10466
+ id_empresa: this.idEmpresa,
10333
10467
  id_escala: this.idEscala.toString(),
10334
10468
  coddetesc: this.codigoDetalleEscala,
10335
10469
  dendetesc: this.denominacionDetalleEscala,
@@ -10345,6 +10479,7 @@
10345
10479
  __extends(MEscalaEvaluacion, _super);
10346
10480
  function MEscalaEvaluacion(e) {
10347
10481
  var _this = _super.call(this) || this;
10482
+ _this.idEnterprise = 0;
10348
10483
  _this.idEmpresa = 0;
10349
10484
  _this.idEscala = 0;
10350
10485
  _this.codigoEscala = '';
@@ -10353,7 +10488,8 @@
10353
10488
  _this.valorFinalEscala = 0;
10354
10489
  _this.detalles = [];
10355
10490
  if (e) {
10356
- _this.idEmpresa = parseInt(e.id_empresa);
10491
+ _this.idEnterprise = +e.id_enterprise;
10492
+ _this.idEmpresa = +e.id_empresa;
10357
10493
  _this.idEscala = parseInt(e.id_escala);
10358
10494
  _this.codigoEscala = e.codesc;
10359
10495
  _this.denominacionEscala = e.denesc;
@@ -10365,7 +10501,8 @@
10365
10501
  }
10366
10502
  MEscalaEvaluacion.prototype.dataInterface = function () {
10367
10503
  return {
10368
- id_empresa: this.idEmpresa.toString(),
10504
+ id_enterprise: this.idEnterprise.toString(),
10505
+ id_empresa: this.idEmpresa,
10369
10506
  id_escala: this.idEscala.toString(),
10370
10507
  codesc: this.codigoEscala,
10371
10508
  denesc: this.denominacionEscala,
@@ -10381,6 +10518,7 @@
10381
10518
  __extends(MEstructuraOrganizativa, _super);
10382
10519
  function MEstructuraOrganizativa(e) {
10383
10520
  var _this = _super.call(this) || this;
10521
+ _this.idEnterprise = 0;
10384
10522
  _this.idEmpresa = 0;
10385
10523
  _this.idOrganigrama = 0;
10386
10524
  _this.codigoEstructuraOrganizativa = '';
@@ -10414,7 +10552,8 @@
10414
10552
  _this.ubicacionZona = 0;
10415
10553
  _this.ubicacionNoAplica = 0;
10416
10554
  if (e) {
10417
- _this.idEmpresa = parseInt(e.id_empresa);
10555
+ _this.idEnterprise = +e.id_enterprise;
10556
+ _this.idEmpresa = +e.id_empresa;
10418
10557
  _this.idOrganigrama = parseInt(e.id_organigrama);
10419
10558
  _this.codigoEstructuraOrganizativa = e.codestorg;
10420
10559
  _this.denominacionEstructuraOrganizativa = e.denestorg;
@@ -10451,7 +10590,8 @@
10451
10590
  }
10452
10591
  MEstructuraOrganizativa.prototype.dataInterface = function () {
10453
10592
  return {
10454
- id_empresa: this.idEmpresa.toString(),
10593
+ id_enterprise: this.idEnterprise.toString(),
10594
+ id_empresa: this.idEmpresa,
10455
10595
  id_organigrama: this.idOrganigrama.toString(),
10456
10596
  codestorg: this.codigoEstructuraOrganizativa,
10457
10597
  denestorg: this.denominacionEstructuraOrganizativa,
@@ -10492,6 +10632,7 @@
10492
10632
  __extends(MFamiliares, _super);
10493
10633
  function MFamiliares(e) {
10494
10634
  var _this = _super.call(this) || this;
10635
+ _this.idEnterprise = 0;
10495
10636
  _this.idEmpresa = 0;
10496
10637
  _this.idPersonal = 0;
10497
10638
  _this.idFamiliar = 0;
@@ -10517,7 +10658,8 @@
10517
10658
  _this.Nexo = Nexofamiliar;
10518
10659
  _this.Academico = NivelAcademicoFamiliar;
10519
10660
  if (e) {
10520
- _this.idEmpresa = parseInt(e.id_empresa);
10661
+ _this.idEnterprise = +e.id_enterprise;
10662
+ _this.idEmpresa = +e.id_empresa;
10521
10663
  _this.idPersonal = parseInt(e.id_personal);
10522
10664
  _this.idFamiliar = parseInt(e.id_familiar);
10523
10665
  _this.cedulaFamiliar = e.cedfam;
@@ -10547,7 +10689,8 @@
10547
10689
  }
10548
10690
  MFamiliares.prototype.dataInterface = function () {
10549
10691
  return {
10550
- id_empresa: this.idEmpresa.toString(),
10692
+ id_enterprise: this.idEnterprise.toString(),
10693
+ id_empresa: this.idEmpresa,
10551
10694
  id_personal: this.idPersonal.toString(),
10552
10695
  id_familiar: this.idFamiliar.toString(),
10553
10696
  cedfam: this.cedulaFamiliar,
@@ -10621,6 +10764,7 @@
10621
10764
  __extends(MFideicomiso, _super);
10622
10765
  function MFideicomiso(e) {
10623
10766
  var _this = _super.call(this) || this;
10767
+ _this.idEnterprise = 0;
10624
10768
  _this.idEmpresa = 0;
10625
10769
  _this.idPersonal = 0;
10626
10770
  _this.idfideicomiso = 0;
@@ -10641,7 +10785,8 @@
10641
10785
  _this.denominacionUbicacionFisica = '';
10642
10786
  _this.codigoUbicacionFisica = '';
10643
10787
  if (e) {
10644
- _this.idEmpresa = parseInt(e.id_empresa);
10788
+ _this.idEnterprise = +e.id_enterprise;
10789
+ _this.idEmpresa = +e.id_empresa;
10645
10790
  _this.idPersonal = parseInt(e.id_personal);
10646
10791
  _this.idfideicomiso = parseInt(e.id_fideicomiso);
10647
10792
  _this.codigoFideicomiso = e.codfid;
@@ -10668,7 +10813,8 @@
10668
10813
  }
10669
10814
  MFideicomiso.prototype.dataInterface = function () {
10670
10815
  return {
10671
- id_empresa: this.idEmpresa.toString(),
10816
+ id_enterprise: this.idEnterprise.toString(),
10817
+ id_empresa: this.idEmpresa,
10672
10818
  id_personal: this.idPersonal.toString(),
10673
10819
  id_fideicomiso: this.idfideicomiso.toString(),
10674
10820
  codfid: this.codigoFideicomiso,
@@ -10692,6 +10838,7 @@
10692
10838
  __extends(MConfiguracionFideicomiso, _super);
10693
10839
  function MConfiguracionFideicomiso(e) {
10694
10840
  var _this = _super.call(this) || this;
10841
+ _this.idEnterprise = 0;
10695
10842
  _this.idEmpresa = 0;
10696
10843
  _this.idFideicomisoConfiguracion = 0;
10697
10844
  _this.idDedicacion = 0;
@@ -10706,7 +10853,8 @@
10706
10853
  _this.denominacionTipoPersonal = '';
10707
10854
  _this.formulaFideicomiso = 'xxx';
10708
10855
  if (e) {
10709
- _this.idEmpresa = parseInt(e.id_empresa);
10856
+ _this.idEnterprise = +e.id_enterprise;
10857
+ _this.idEmpresa = +e.id_empresa;
10710
10858
  _this.idDedicacion = parseInt(e.id_dedicacion);
10711
10859
  _this.idTipoPersonal = parseInt(e.id_tipopersonal);
10712
10860
  _this.anioCursoFideicomiso = e.anocurfid;
@@ -10727,7 +10875,8 @@
10727
10875
  }
10728
10876
  MConfiguracionFideicomiso.prototype.dataInterface = function () {
10729
10877
  return {
10730
- id_empresa: this.idEmpresa.toString(),
10878
+ id_enterprise: this.idEnterprise.toString(),
10879
+ id_empresa: this.idEmpresa,
10731
10880
  id_fidconfig: this.idFideicomisoConfiguracion.toString(),
10732
10881
  id_dedicacion: this.idDedicacion.toString(),
10733
10882
  id_tipopersonal: this.idTipoPersonal.toString(),
@@ -10744,6 +10893,7 @@
10744
10893
  __extends(MFideicomisoInteres, _super);
10745
10894
  function MFideicomisoInteres(e) {
10746
10895
  var _this = _super.call(this) || this;
10896
+ _this.idEnterprise = 0;
10747
10897
  _this.idEmpresa = 0;
10748
10898
  _this.idInteresFideicomiso = 0;
10749
10899
  _this.mesInteres = 0;
@@ -10752,7 +10902,8 @@
10752
10902
  _this.fechaVigenciaGacetaInteres = '1900-01-01';
10753
10903
  _this.montoTasaInteres = 0;
10754
10904
  if (e) {
10755
- _this.idEmpresa = parseInt(e.id_empresa);
10905
+ _this.idEnterprise = +e.id_enterprise;
10906
+ _this.idEmpresa = +e.id_empresa;
10756
10907
  _this.idInteresFideicomiso = parseInt(e.id_intfide);
10757
10908
  _this.mesInteres = parseInt(e.mesint);
10758
10909
  _this.anioInteres = parseInt(e.anoint);
@@ -10767,7 +10918,8 @@
10767
10918
  }
10768
10919
  MFideicomisoInteres.prototype.dataInterface = function () {
10769
10920
  return {
10770
- id_empresa: this.idEmpresa.toString(),
10921
+ id_enterprise: this.idEnterprise.toString(),
10922
+ id_empresa: this.idEmpresa,
10771
10923
  id_intfide: this.idInteresFideicomiso.toString(),
10772
10924
  mesint: this.mesInteres.toString(),
10773
10925
  anoint: this.anioInteres.toString(),
@@ -10783,6 +10935,7 @@
10783
10935
  function MCalculoPrestacion(e) {
10784
10936
  if (e === void 0) { e = null; }
10785
10937
  var _this = _super.call(this) || this;
10938
+ _this.idEnterprise = 0;
10786
10939
  _this.idEmpresa = 0;
10787
10940
  _this.mes = '';
10788
10941
  _this.anio = '';
@@ -10791,7 +10944,8 @@
10791
10944
  _this.mesCalculado = '';
10792
10945
  _this.anioCalculado = '';
10793
10946
  if (e) {
10794
- _this.idEmpresa = parseInt(e.id_empresa);
10947
+ _this.idEnterprise = +e.id_enterprise;
10948
+ _this.idEmpresa = +e.id_empresa;
10795
10949
  _this.mes = e.mes;
10796
10950
  _this.anio = e.anio;
10797
10951
  _this.cedulaDesde = e.cedula_desde;
@@ -10806,7 +10960,8 @@
10806
10960
  }
10807
10961
  MCalculoPrestacion.prototype.dataInterface = function () {
10808
10962
  return {
10809
- id_empresa: this.idEmpresa.toString(),
10963
+ id_enterprise: this.idEnterprise.toString(),
10964
+ id_empresa: this.idEmpresa,
10810
10965
  mes: this.mes,
10811
10966
  anio: this.anio,
10812
10967
  cedula_desde: this.cedulaDesde,
@@ -10822,6 +10977,7 @@
10822
10977
  function MFideicomisoPeriodo(e) {
10823
10978
  if (e === void 0) { e = null; }
10824
10979
  var _this = _super.call(this) || this;
10980
+ _this.idEnterprise = 0;
10825
10981
  _this.idEmpresa = 0;
10826
10982
  _this.idPersonal = 0;
10827
10983
  _this.idNomina = 0;
@@ -10916,6 +11072,8 @@
10916
11072
  function MFideicomisoPeriodoInteresCatalogo(e) {
10917
11073
  if (e === void 0) { e = null; }
10918
11074
  var _this = _super.call(this) || this;
11075
+ _this.idEnterprise = 0;
11076
+ _this.idEmpresa = 0;
10919
11077
  _this.idPersonal = 0;
10920
11078
  _this.codigoPersonal = '';
10921
11079
  _this.cedulaPersonal = '';
@@ -10926,6 +11084,8 @@
10926
11084
  _this.denominacionEstatus = '';
10927
11085
  _this.interes = [];
10928
11086
  if (e) {
11087
+ _this.idEnterprise = +e.id_enterprise;
11088
+ _this.idEmpresa = +e.id_empresa;
10929
11089
  _this.idPersonal = +e.id_personal;
10930
11090
  _this.codigoPersonal = e.codper;
10931
11091
  _this.cedulaPersonal = e.cedper;
@@ -10957,6 +11117,7 @@
10957
11117
  function MFideicomisoPeriodoInteres(e) {
10958
11118
  if (e === void 0) { e = null; }
10959
11119
  var _this = _super.call(this) || this;
11120
+ _this.idEnterprise = 0;
10960
11121
  _this.idEmpresa = 0;
10961
11122
  _this.idPersonal = 0;
10962
11123
  _this.idNomina = 0;
@@ -11033,6 +11194,7 @@
11033
11194
  __extends(MFormacionAcademica, _super);
11034
11195
  function MFormacionAcademica(e) {
11035
11196
  var _this = _super.call(this) || this;
11197
+ _this.idEnterprise = 0;
11036
11198
  _this.idEmpresa = 0;
11037
11199
  _this.idConcurso = 0;
11038
11200
  _this.idConcursante = 0;
@@ -11045,7 +11207,8 @@
11045
11207
  _this.tituloObtenido = '';
11046
11208
  _this.yearAprobados = 0;
11047
11209
  if (e) {
11048
- _this.idEmpresa = parseInt(e.id_empresa);
11210
+ _this.idEnterprise = +e.id_enterprise;
11211
+ _this.idEmpresa = +e.id_empresa;
11049
11212
  _this.idConcurso = parseInt(e.id_concurso);
11050
11213
  _this.idConcursante = parseInt(e.id_concursante);
11051
11214
  _this.idEstudioConcursante = parseInt(e.id_estudiocon);
@@ -11061,7 +11224,8 @@
11061
11224
  }
11062
11225
  MFormacionAcademica.prototype.dataInterface = function () {
11063
11226
  return {
11064
- id_empresa: this.idEmpresa.toString(),
11227
+ id_enterprise: this.idEnterprise.toString(),
11228
+ id_empresa: this.idEmpresa,
11065
11229
  id_concurso: this.idConcurso.toString(),
11066
11230
  id_concursante: this.idConcursante.toString(),
11067
11231
  id_estudiocon: this.idEstudioConcursante.toString(),
@@ -11082,6 +11246,7 @@
11082
11246
  function MPrimaGrados(e) {
11083
11247
  if (e === void 0) { e = null; }
11084
11248
  var _this = _super.call(this) || this;
11249
+ _this.idEnterprise = 0;
11085
11250
  _this.idEmpresa = 0;
11086
11251
  _this.idTabulador = 0;
11087
11252
  _this.codigoGrado = '';
@@ -11091,7 +11256,8 @@
11091
11256
  _this.montoPrima = 0;
11092
11257
  _this.IdDetallePrima = 0;
11093
11258
  if (e) {
11094
- _this.idEmpresa = parseInt(e.id_empresa);
11259
+ _this.idEnterprise = +e.id_enterprise;
11260
+ _this.idEmpresa = +e.id_empresa;
11095
11261
  _this.idTabulador = parseInt(e.id_tabulador);
11096
11262
  _this.codigoGrado = e.codgra;
11097
11263
  _this.codigoPaso = e.codpas;
@@ -11107,7 +11273,8 @@
11107
11273
  }
11108
11274
  MPrimaGrados.prototype.dataInterface = function () {
11109
11275
  return {
11110
- id_empresa: this.idEmpresa.toString(),
11276
+ id_enterprise: this.idEnterprise.toString(),
11277
+ id_empresa: this.idEmpresa,
11111
11278
  id_tabulador: this.idTabulador.toString(),
11112
11279
  codgra: this.codigoGrado,
11113
11280
  codpas: this.codigoPaso,
@@ -11125,6 +11292,7 @@
11125
11292
  function MGrados(e) {
11126
11293
  if (e === void 0) { e = null; }
11127
11294
  var _this = _super.call(this) || this;
11295
+ _this.idEnterprise = 0;
11128
11296
  _this.idEmpresa = 0;
11129
11297
  _this.idTabulador = 0;
11130
11298
  _this.codigoGrado = 0;
@@ -11136,7 +11304,8 @@
11136
11304
  _this.IdDetalleGrado = 0;
11137
11305
  _this.detallePrima = [];
11138
11306
  if (e) {
11139
- _this.idEmpresa = parseInt(e.id_empresa);
11307
+ _this.idEnterprise = +e.id_enterprise;
11308
+ _this.idEmpresa = +e.id_empresa;
11140
11309
  _this.idTabulador = parseInt(e.id_tabulador);
11141
11310
  _this.codigoGrado = parseInt(e.codgra);
11142
11311
  _this.codigoPaso = parseInt(e.codpas);
@@ -11151,7 +11320,8 @@
11151
11320
  }
11152
11321
  MGrados.prototype.dataInterface = function () {
11153
11322
  return {
11154
- id_empresa: this.idEmpresa.toString(),
11323
+ id_enterprise: this.idEnterprise.toString(),
11324
+ id_empresa: this.idEmpresa,
11155
11325
  id_tabulador: this.idTabulador.toString(),
11156
11326
  codgra: this.codigoGrado.toString(),
11157
11327
  codpas: this.codigoPaso.toString(),
@@ -11171,6 +11341,7 @@
11171
11341
  function MPrimasConcepto(e) {
11172
11342
  if (e === void 0) { e = null; }
11173
11343
  var _this = _super.call(this) || this;
11344
+ _this.idEnterprise = 0;
11174
11345
  _this.idEmpresa = 0;
11175
11346
  _this.idPrimaConcepto = 0;
11176
11347
  _this.idNomina = 0;
@@ -11180,6 +11351,7 @@
11180
11351
  _this.codigoConcepto = '';
11181
11352
  _this.nombreConcepto = '';
11182
11353
  if (e) {
11354
+ _this.idEnterprise = +e.id_enterprise;
11183
11355
  _this.idEmpresa = +e.id_empresa;
11184
11356
  _this.idPrimaConcepto = +e.id_primaconcepto;
11185
11357
  _this.idNomina = +e.id_nomina;
@@ -11196,7 +11368,8 @@
11196
11368
  }
11197
11369
  MPrimasConcepto.prototype.dataInterface = function () {
11198
11370
  return {
11199
- id_empresa: this.idEmpresa.toString(),
11371
+ id_enterprise: this.idEnterprise.toString(),
11372
+ id_empresa: this.idEmpresa,
11200
11373
  id_primaconcepto: this.idPrimaConcepto.toString(),
11201
11374
  id_nomina: this.idNomina.toString(),
11202
11375
  id_concepto: this.idConcepto.toString(),
@@ -11214,6 +11387,7 @@
11214
11387
  function MRequisitosConcursantes(e) {
11215
11388
  if (e === void 0) { e = null; }
11216
11389
  var _this = _super.call(this) || this;
11390
+ _this.idEnterprise = 0;
11217
11391
  _this.idEmpresa = 0;
11218
11392
  _this.idConcurso = 0;
11219
11393
  _this.idConcursante = 0;
@@ -11224,7 +11398,8 @@
11224
11398
  _this.requisitosEntregado = '';
11225
11399
  _this.cantidadEntregado = 0;
11226
11400
  if (e) {
11227
- _this.idEmpresa = parseInt(e.id_empresa);
11401
+ _this.idEnterprise = +e.id_enterprise;
11402
+ _this.idEmpresa = +e.id_empresa;
11228
11403
  _this.idConcursante = parseInt(e.id_concurso);
11229
11404
  _this.idConcursante = parseInt(e.id_concursante);
11230
11405
  _this.idRequisitos = parseInt(e.id_reqcon);
@@ -11241,7 +11416,8 @@
11241
11416
  }
11242
11417
  MRequisitosConcursantes.prototype.dataInterface = function () {
11243
11418
  return {
11244
- id_empresa: this.idEmpresa.toString(),
11419
+ id_enterprise: this.idEnterprise.toString(),
11420
+ id_empresa: this.idEmpresa,
11245
11421
  id_concurso: this.idConcurso.toString(),
11246
11422
  id_concursante: this.idConcurso.toString(),
11247
11423
  id_reqcon: this.idRequisitos.toString(),
@@ -11259,6 +11435,7 @@
11259
11435
  __extends(MRequisitosMinimos, _super);
11260
11436
  function MRequisitosMinimos(e) {
11261
11437
  var _this = _super.call(this) || this;
11438
+ _this.idEnterprise = 0;
11262
11439
  _this.idEmpresa = 0;
11263
11440
  _this.idConcurso = 0;
11264
11441
  _this.idConcursante = 0;
@@ -11275,7 +11452,8 @@
11275
11452
  _this.items = [];
11276
11453
  _this.eliminarDetalles = [];
11277
11454
  if (e) {
11278
- _this.idEmpresa = parseInt(e.id_empresa);
11455
+ _this.idEnterprise = +e.id_enterprise;
11456
+ _this.idEmpresa = +e.id_empresa;
11279
11457
  _this.idConcursante;
11280
11458
  _this.codigoConcursante = e.codper;
11281
11459
  _this.nombreConcursante = e.nomper + ' ' + e.apeper;
@@ -11297,7 +11475,8 @@
11297
11475
  }
11298
11476
  MRequisitosMinimos.prototype.dataInterface = function () {
11299
11477
  return {
11300
- id_empresa: this.idEmpresa.toString(),
11478
+ id_enterprise: this.idEnterprise.toString(),
11479
+ id_empresa: this.idEmpresa,
11301
11480
  id_tipoeval: this.idTipoEvaluacion.toString(),
11302
11481
  id_concurso: this.idConcurso.toString(),
11303
11482
  id_reqmin: this.IdRequisitosMinimos.toString(),
@@ -11319,6 +11498,7 @@
11319
11498
  }(MBasicModel));
11320
11499
  var MDtRequisitosMinimos = /** @class */ (function () {
11321
11500
  function MDtRequisitosMinimos(e) {
11501
+ this.idEnterprise = 0;
11322
11502
  this.idEmpresa = 0;
11323
11503
  this.idConcurso = 0;
11324
11504
  this.fechaEvaluacion = '1900-01-01';
@@ -11332,7 +11512,8 @@
11332
11512
  this.idDtRequisito = 0;
11333
11513
  this.idConcursante = 0;
11334
11514
  if (e) {
11335
- this.idEmpresa = parseInt(e.id_empresa);
11515
+ this.idEnterprise = +e.id_enterprise;
11516
+ this.idEmpresa = +e.id_empresa;
11336
11517
  this.idConcurso = parseInt(e.id_concurso);
11337
11518
  this.idConcursante = parseInt(e.id_concursante);
11338
11519
  this.fechaEvaluacion = this.fechaEvaluacion;
@@ -11348,7 +11529,8 @@
11348
11529
  }
11349
11530
  MDtRequisitosMinimos.prototype.dataInterface = function () {
11350
11531
  return {
11351
- id_empresa: this.idEmpresa.toString(),
11532
+ id_enterprise: this.idEnterprise.toString(),
11533
+ id_empresa: this.idEmpresa,
11352
11534
  id_concurso: this.idConcurso.toString(),
11353
11535
  id_tipoeval: this.idTipoEvaluacion.toString(),
11354
11536
  id_aspecto: this.idAspecto.toString(),
@@ -11370,6 +11552,7 @@
11370
11552
  function MSalarioHistorico(e) {
11371
11553
  if (e === void 0) { e = null; }
11372
11554
  var _this = _super.call(this) || this;
11555
+ _this.idEnterprise = 0;
11373
11556
  _this.idEmpresa = 0;
11374
11557
  _this.idPersonal = 0;
11375
11558
  _this.idDedicacion = 0;
@@ -11389,7 +11572,8 @@
11389
11572
  _this.denominacionDedicacion = '';
11390
11573
  _this.denominacionTipoPersonal = '';
11391
11574
  if (e) {
11392
- _this.idEmpresa = parseInt(e.id_empresa);
11575
+ _this.idEnterprise = +e.id_enterprise;
11576
+ _this.idEmpresa = +e.id_empresa;
11393
11577
  _this.idPersonal = parseInt(e.id_personal);
11394
11578
  _this.idDedicacion = parseInt(e.id_dedicacion);
11395
11579
  _this.idTipoPersonal = parseInt(e.id_tipopersonal);
@@ -11412,7 +11596,8 @@
11412
11596
  }
11413
11597
  MSalarioHistorico.prototype.dataInterface = function () {
11414
11598
  return {
11415
- id_empresa: this.idEmpresa.toString(),
11599
+ id_enterprise: this.idEnterprise.toString(),
11600
+ id_empresa: this.idEmpresa,
11416
11601
  id_personal: this.idPersonal.toString(),
11417
11602
  id_dedicacion: this.idDedicacion.toString(),
11418
11603
  id_tipopersonal: this.idTipoPersonal.toString(),
@@ -11440,6 +11625,7 @@
11440
11625
  function MSolicitudEmpleo(e) {
11441
11626
  if (e === void 0) { e = null; }
11442
11627
  var _this = _super.call(this) || this;
11628
+ _this.idEnterprise = 0;
11443
11629
  _this.idEmpresa = 0;
11444
11630
  _this.idSolicitudEmpleo = 0;
11445
11631
  _this.numeroSolicitud = '';
@@ -11476,7 +11662,8 @@
11476
11662
  _this.pesoSolicitante = 0;
11477
11663
  _this.competenciaPerfilSolicitante = '';
11478
11664
  if (e) {
11479
- _this.idEmpresa = parseInt(e.id_empresa);
11665
+ _this.idEnterprise = +e.id_enterprise;
11666
+ _this.idEmpresa = +e.id_empresa;
11480
11667
  _this.idSolicitudEmpleo = parseInt(e.id_solempleo);
11481
11668
  _this.numeroSolicitud = e.nrosol;
11482
11669
  _this.cedulaSolicitante = e.cedsol;
@@ -11516,7 +11703,8 @@
11516
11703
  }
11517
11704
  MSolicitudEmpleo.prototype.dataInterface = function () {
11518
11705
  return {
11519
- id_empresa: this.idEmpresa.toString(),
11706
+ id_enterprise: this.idEnterprise.toString(),
11707
+ id_empresa: this.idEmpresa,
11520
11708
  id_solempleo: this.idSolicitudEmpleo.toString(),
11521
11709
  nrosol: this.numeroSolicitud,
11522
11710
  cedsol: this.cedulaSolicitante,
@@ -11561,6 +11749,7 @@
11561
11749
  function MTablaVacacionesPeriodo(e) {
11562
11750
  if (e === void 0) { e = null; }
11563
11751
  var _this = _super.call(this) || this;
11752
+ _this.idEnterprise = 0;
11564
11753
  _this.idEmpresa = 0;
11565
11754
  _this.idTablaVaciones = 0;
11566
11755
  _this.lapsoPeriodoVacacional = 0;
@@ -11570,7 +11759,8 @@
11570
11759
  _this.diaAdicionalBonoVacacional = 0;
11571
11760
  _this.idPeriodo = 0;
11572
11761
  if (e) {
11573
- _this.idEmpresa = parseInt(e.id_empresa);
11762
+ _this.idEnterprise = +e.id_enterprise;
11763
+ _this.idEmpresa = +e.id_empresa;
11574
11764
  _this.idTablaVaciones = parseInt(e.id_tabvac);
11575
11765
  _this.lapsoPeriodoVacacional = parseInt(e.lappervac);
11576
11766
  _this.diaAdicionalVacaciones = parseInt(e.diadisvac);
@@ -11583,7 +11773,8 @@
11583
11773
  }
11584
11774
  MTablaVacacionesPeriodo.prototype.dataInterface = function () {
11585
11775
  return {
11586
- id_empresa: this.idEmpresa.toString(),
11776
+ id_enterprise: this.idEnterprise.toString(),
11777
+ id_empresa: this.idEmpresa,
11587
11778
  id_tabvac: this.idTablaVaciones.toString(),
11588
11779
  lappervac: this.lapsoPeriodoVacacional.toString(),
11589
11780
  diadisvac: this.diaAdicionalVacaciones.toString(),
@@ -11599,6 +11790,7 @@
11599
11790
  var MTablaVacaciones = /** @class */ (function () {
11600
11791
  function MTablaVacaciones(e) {
11601
11792
  if (e === void 0) { e = null; }
11793
+ this.idEnterprise = 0;
11602
11794
  this.idEmpresa = 0;
11603
11795
  this.idTablaVacaciones = 0;
11604
11796
  this.codigoTablaVacaciones = '';
@@ -11608,7 +11800,8 @@
11608
11800
  this.diaVacacionCalculado = false;
11609
11801
  this.periodos = [];
11610
11802
  if (e) {
11611
- this.idEmpresa = parseInt(e.id_empresa);
11803
+ this.idEnterprise = +e.id_enterprise;
11804
+ this.idEmpresa = +e.id_empresa;
11612
11805
  this.idTablaVacaciones = parseInt(e.id_tabvac);
11613
11806
  this.codigoTablaVacaciones = e.codtabvac;
11614
11807
  this.denominacionTablaVacaciones = e.dentabvac;
@@ -11638,7 +11831,8 @@
11638
11831
  dia = '1';
11639
11832
  }
11640
11833
  return {
11641
- id_empresa: this.idEmpresa.toString(),
11834
+ id_enterprise: this.idEnterprise.toString(),
11835
+ id_empresa: this.idEmpresa,
11642
11836
  id_tabvac: this.idTablaVacaciones.toString(),
11643
11837
  codtabvac: this.codigoTablaVacaciones,
11644
11838
  dentabvac: this.denominacionTablaVacaciones,
@@ -11656,6 +11850,7 @@
11656
11850
  function MTabulador(e) {
11657
11851
  if (e === void 0) { e = null; }
11658
11852
  var _this = _super.call(this) || this;
11853
+ _this.idEnterprise = 0;
11659
11854
  _this.idEmpresa = 0;
11660
11855
  _this.idTabulador = -1;
11661
11856
  _this.codigoTabulador = '';
@@ -11669,7 +11864,8 @@
11669
11864
  _this.eliminarNomina = [];
11670
11865
  _this.eliminarPrima = [];
11671
11866
  if (e) {
11672
- _this.idEmpresa = parseInt(e.id_empresa);
11867
+ _this.idEnterprise = +e.id_enterprise;
11868
+ _this.idEmpresa = +e.id_empresa;
11673
11869
  _this.idTabulador = parseInt(e.id_tabulador);
11674
11870
  _this.codigoTabulador = e.codtab;
11675
11871
  _this.descripcionTabulador = e.destab;
@@ -11687,7 +11883,8 @@
11687
11883
  }
11688
11884
  MTabulador.prototype.dataInterface = function () {
11689
11885
  return {
11690
- id_empresa: this.idEmpresa.toString(),
11886
+ id_enterprise: this.idEnterprise.toString(),
11887
+ id_empresa: this.idEmpresa,
11691
11888
  id_tabulador: this.idTabulador.toString(),
11692
11889
  codtab: this.codigoTabulador,
11693
11890
  destab: this.descripcionTabulador,
@@ -11705,6 +11902,7 @@
11705
11902
  var MTabuladorNominas = /** @class */ (function () {
11706
11903
  function MTabuladorNominas(e) {
11707
11904
  if (e === void 0) { e = null; }
11905
+ this.idEnterprise = 0;
11708
11906
  this.idEmpresa = 0;
11709
11907
  this.idNomina = 0;
11710
11908
  this.idTabulador = 0;
@@ -11720,7 +11918,8 @@
11720
11918
  this.editable = false;
11721
11919
  this.calculada = false;
11722
11920
  if (e) {
11723
- this.idEmpresa = parseInt(e.id_empresa);
11921
+ this.idEnterprise = +e.id_enterprise;
11922
+ this.idEmpresa = +e.id_empresa;
11724
11923
  this.idNomina = parseInt(e.id_nomina);
11725
11924
  this.idTabulador = parseInt(e.id_tabulador);
11726
11925
  this.codigoNomina = e.codnom;
@@ -11736,7 +11935,8 @@
11736
11935
  }
11737
11936
  MTabuladorNominas.prototype.dataInterface = function () {
11738
11937
  return {
11739
- id_empresa: this.idEmpresa.toString(),
11938
+ id_enterprise: this.idEnterprise.toString(),
11939
+ id_empresa: this.idEmpresa,
11740
11940
  id_nomina: this.idNomina.toString(),
11741
11941
  id_tabulador: this.idTabulador.toString(),
11742
11942
  id_dt_tabnom: this.idDtNomina.toString()
@@ -11750,6 +11950,7 @@
11750
11950
  function MTipoEvaluacion(e) {
11751
11951
  if (e === void 0) { e = null; }
11752
11952
  var _this = _super.call(this) || this;
11953
+ _this.idEnterprise = 0;
11753
11954
  _this.idEmpresa = 0;
11754
11955
  _this.idTipoEvaluacion = 0;
11755
11956
  _this.idEscala = 0;
@@ -11758,7 +11959,8 @@
11758
11959
  _this.codigoEscala = '';
11759
11960
  _this.denominacionEscala = '';
11760
11961
  if (e) {
11761
- _this.idEmpresa = parseInt(e.id_empresa);
11962
+ _this.idEnterprise = +e.id_enterprise;
11963
+ _this.idEmpresa = +e.id_empresa;
11762
11964
  _this.idTipoEvaluacion = parseInt(e.id_tipoeval);
11763
11965
  _this.idEscala = parseInt(e.id_escala);
11764
11966
  _this.codigoTipoEvaluacion = e.codtipeval;
@@ -11770,7 +11972,8 @@
11770
11972
  }
11771
11973
  MTipoEvaluacion.prototype.dataInterface = function () {
11772
11974
  return {
11773
- id_empresa: this.idEmpresa.toString(),
11975
+ id_enterprise: this.idEnterprise.toString(),
11976
+ id_empresa: this.idEmpresa,
11774
11977
  id_tipoeval: this.idTipoEvaluacion.toString(),
11775
11978
  id_escala: this.idEscala.toString(),
11776
11979
  codtipeval: this.codigoTipoEvaluacion,
@@ -11784,6 +11987,7 @@
11784
11987
  var MTipoEvaluacionAspecto = /** @class */ (function () {
11785
11988
  function MTipoEvaluacionAspecto(e) {
11786
11989
  if (e === void 0) { e = null; }
11990
+ this.idEnterprise = 0;
11787
11991
  this.idEmpresa = 0;
11788
11992
  this.idTipoEvaluacion = 0;
11789
11993
  this.idEscala = 0;
@@ -11793,7 +11997,8 @@
11793
11997
  this.denominacionEscala = '';
11794
11998
  this.aspectos = [];
11795
11999
  if (e) {
11796
- this.idEmpresa = parseInt(e.id_empresa);
12000
+ this.idEnterprise = +e.id_enterprise;
12001
+ this.idEmpresa = +e.id_empresa;
11797
12002
  this.idTipoEvaluacion = parseInt(e.id_tipoeval);
11798
12003
  this.idEscala = parseInt(e.id_escala);
11799
12004
  this.codigoTipoEvaluacion = e.codtipeval;
@@ -11805,7 +12010,8 @@
11805
12010
  }
11806
12011
  MTipoEvaluacionAspecto.prototype.dataInterface = function () {
11807
12012
  return {
11808
- id_empresa: this.idEmpresa.toString(),
12013
+ id_enterprise: this.idEnterprise.toString(),
12014
+ id_empresa: this.idEmpresa,
11809
12015
  id_tipoeval: this.idTipoEvaluacion.toString(),
11810
12016
  id_escala: this.idEscala.toString(),
11811
12017
  codtipeval: this.codigoTipoEvaluacion,
@@ -11823,6 +12029,7 @@
11823
12029
  function MTiposEnfermedad(e) {
11824
12030
  if (e === void 0) { e = null; }
11825
12031
  var _this = _super.call(this) || this;
12032
+ _this.idEnterprise = 0;
11826
12033
  _this.idEmpresa = 0;
11827
12034
  _this.idEnfermedad = 0;
11828
12035
  _this.codigoEnfermedad = '';
@@ -11831,7 +12038,8 @@
11831
12038
  _this.riesgoLetal = '';
11832
12039
  _this.observacionEnfermedad = '';
11833
12040
  if (e) {
11834
- _this.idEmpresa = parseInt(e.id_empresa);
12041
+ _this.idEnterprise = +e.id_enterprise;
12042
+ _this.idEmpresa = +e.id_empresa;
11835
12043
  _this.idEnfermedad = parseInt(e.id_enfermedad);
11836
12044
  _this.codigoEnfermedad = e.codenf;
11837
12045
  _this.denominacionEnfermedad = e.denenf;
@@ -11843,7 +12051,8 @@
11843
12051
  }
11844
12052
  MTiposEnfermedad.prototype.dataInterface = function () {
11845
12053
  return {
11846
- id_empresa: this.idEmpresa.toString(),
12054
+ id_enterprise: this.idEnterprise.toString(),
12055
+ id_empresa: this.idEmpresa,
11847
12056
  id_enfermedad: this.idEnfermedad.toString(),
11848
12057
  codenf: this.codigoEnfermedad,
11849
12058
  denenf: this.denominacionEnfermedad,
@@ -11860,6 +12069,7 @@
11860
12069
  function MTrabajoAnterior(e) {
11861
12070
  if (e === void 0) { e = null; }
11862
12071
  var _this = _super.call(this) || this;
12072
+ _this.idEnterprise = 0;
11863
12073
  _this.idEmpresa = 0;
11864
12074
  _this.idPersonal = 0;
11865
12075
  _this.idTrabajoAnterior = 0;
@@ -11878,6 +12088,7 @@
11878
12088
  _this.codigoTrabajoAnterior = '';
11879
12089
  _this.TipoEmpresa = TipoEmpresa;
11880
12090
  if (e) {
12091
+ _this.idEnterprise = +e.id_enterprise;
11881
12092
  _this.idEmpresa = +e.id_empresa;
11882
12093
  _this.idPersonal = +e.id_personal;
11883
12094
  _this.idTrabajoAnterior = +e.id_trabajoant;
@@ -11899,6 +12110,7 @@
11899
12110
  }
11900
12111
  MTrabajoAnterior.prototype.dataInterface = function () {
11901
12112
  return {
12113
+ id_enterprise: this.idEnterprise.toString(),
11902
12114
  id_empresa: this.idEmpresa,
11903
12115
  id_personal: this.idPersonal,
11904
12116
  id_trabajoant: this.idTrabajoAnterior,
@@ -11924,6 +12136,7 @@
11924
12136
  function MUbicacionFisica(e) {
11925
12137
  if (e === void 0) { e = null; }
11926
12138
  var _this = _super.call(this) || this;
12139
+ _this.idEnterprise = 0;
11927
12140
  _this.idEmpresa = 0;
11928
12141
  _this.idUbicacionFisica = 0;
11929
12142
  _this.codigoUbicacionFisica = '';
@@ -11939,7 +12152,8 @@
11939
12152
  _this.direccionUbicacionFisica = '';
11940
12153
  _this.tiempoTrasladoUbicacionFisica = '';
11941
12154
  if (e) {
11942
- _this.idEmpresa = parseInt(e.id_empresa);
12155
+ _this.idEnterprise = +e.id_enterprise;
12156
+ _this.idEmpresa = +e.id_empresa;
11943
12157
  _this.idUbicacionFisica = parseInt(e.id_ubifis);
11944
12158
  _this.codigoUbicacionFisica = e.codubifis;
11945
12159
  _this.denominacionUbicacionFisica = e.denubifis;
@@ -11961,7 +12175,8 @@
11961
12175
  }
11962
12176
  MUbicacionFisica.prototype.dataInterface = function () {
11963
12177
  return {
11964
- id_empresa: this.idEmpresa.toString(),
12178
+ id_enterprise: this.idEnterprise.toString(),
12179
+ id_empresa: this.idEmpresa,
11965
12180
  id_ubifis: this.idUbicacionFisica.toString(),
11966
12181
  codubifis: this.codigoUbicacionFisica,
11967
12182
  denubifis: this.denominacionUbicacionFisica,
@@ -11985,6 +12200,7 @@
11985
12200
  function MVacacionesPersonal(e) {
11986
12201
  if (e === void 0) { e = null; }
11987
12202
  var _this = _super.call(this) || this;
12203
+ _this.idEnterprise = 0;
11988
12204
  _this.idEmpresa = 0;
11989
12205
  _this.idPersonal = 0;
11990
12206
  _this.idVacacionesPersonal = 0;
@@ -12019,7 +12235,8 @@
12019
12235
  _this.diasHabiles = 0;
12020
12236
  _this.procesarFueraPeriodo = 0;
12021
12237
  if (e) {
12022
- _this.idEmpresa = parseInt(e.id_empresa);
12238
+ _this.idEnterprise = +e.id_enterprise;
12239
+ _this.idEmpresa = +e.id_empresa;
12023
12240
  _this.idPersonal = parseInt(e.id_personal);
12024
12241
  _this.idVacacionesPersonal = parseInt(e.id_vacper);
12025
12242
  _this.codigoVacaciones = parseInt(e.codvac);
@@ -12057,7 +12274,8 @@
12057
12274
  }
12058
12275
  MVacacionesPersonal.prototype.dataInterface = function () {
12059
12276
  return {
12060
- id_empresa: this.idEmpresa.toString(),
12277
+ id_enterprise: this.idEnterprise.toString(),
12278
+ id_empresa: this.idEmpresa,
12061
12279
  id_personal: this.idPersonal.toString(),
12062
12280
  id_vacper: this.idVacacionesPersonal.toString(),
12063
12281
  codvac: this.codigoVacaciones.toString(),
@@ -12099,6 +12317,7 @@
12099
12317
  __extends(MEncargaduria, _super);
12100
12318
  function MEncargaduria(e) {
12101
12319
  var _this = _super.call(this) || this;
12320
+ _this.idEnterprise = 0;
12102
12321
  _this.idEmpresa = 0;
12103
12322
  _this.idPersonalNomina = 0;
12104
12323
  _this.idEncargaduria = 0;
@@ -12140,7 +12359,8 @@
12140
12359
  _this.denominacionNominaEncargado = '';
12141
12360
  _this.denominacionEstatusEncargaduria = '';
12142
12361
  if (e) {
12143
- _this.idEmpresa = parseInt(e.id_empresa);
12362
+ _this.idEnterprise = +e.id_enterprise;
12363
+ _this.idEmpresa = +e.id_empresa;
12144
12364
  _this.idPersonalNomina = parseInt(e.id_personalnomina);
12145
12365
  _this.idEncargaduria = parseInt(e.id_encargaduria);
12146
12366
  _this.codigoEncargaduria = e.codenc;
@@ -12188,7 +12408,8 @@
12188
12408
  }
12189
12409
  MEncargaduria.prototype.dataInterface = function () {
12190
12410
  return {
12191
- id_empresa: this.idEmpresa.toString(),
12411
+ id_enterprise: this.idEnterprise.toString(),
12412
+ id_empresa: this.idEmpresa,
12192
12413
  id_personalnomina: this.idPersonalNomina.toString(),
12193
12414
  id_encargaduria: this.idEncargaduria.toString(),
12194
12415
  codenc: this.codigoEncargaduria,
@@ -12236,6 +12457,7 @@
12236
12457
  __extends(MCodigoUnicoRac, _super);
12237
12458
  function MCodigoUnicoRac(e) {
12238
12459
  var _this = _super.call(this) || this;
12460
+ _this.idEnterprise = 0;
12239
12461
  _this.idEmpresa = 0;
12240
12462
  _this.idCargoPersonal = 0;
12241
12463
  _this.idNomina = 0;
@@ -12244,7 +12466,8 @@
12244
12466
  _this.idCodigoUnicoRac = 0;
12245
12467
  _this.denominacionEstatus = '';
12246
12468
  if (e) {
12247
- _this.idEmpresa = parseInt(e.id_empresa);
12469
+ _this.idEnterprise = +e.id_enterprise;
12470
+ _this.idEmpresa = +e.id_empresa;
12248
12471
  _this.idCargoPersonal = parseInt(e.id_carper);
12249
12472
  _this.idNomina = parseInt(e.id_nomina);
12250
12473
  _this.idCodigoUnicoRac = parseInt(e.id_codunirac);
@@ -12259,7 +12482,8 @@
12259
12482
  }
12260
12483
  MCodigoUnicoRac.prototype.dataInterface = function () {
12261
12484
  return {
12262
- id_empresa: this.idEmpresa.toString(),
12485
+ id_enterprise: this.idEnterprise.toString(),
12486
+ id_empresa: this.idEmpresa,
12263
12487
  id_carper: this.idCargoPersonal.toString(),
12264
12488
  id_nomina: this.idNomina.toString(),
12265
12489
  codunirac: this.codigoUnicoRac,
@@ -12274,6 +12498,7 @@
12274
12498
  __extends(MPersonalJubilado, _super);
12275
12499
  function MPersonalJubilado(e) {
12276
12500
  var _this = _super.call(this) || this;
12501
+ _this.idEnterprise = 0;
12277
12502
  _this.idEmpresa = 0;
12278
12503
  _this.idPersonal = 0;
12279
12504
  _this.idJubilacion = 0;
@@ -12285,7 +12510,8 @@
12285
12510
  _this.fechaFeVida = '1900-01-01';
12286
12511
  _this.tipoJubilacion = 0;
12287
12512
  if (e) {
12288
- _this.idEmpresa = parseInt(e.id_empresa);
12513
+ _this.idEnterprise = +e.id_enterprise;
12514
+ _this.idEmpresa = +e.id_empresa;
12289
12515
  _this.idPersonal = parseInt(e.id_personal);
12290
12516
  _this.idJubilacion = parseInt(e.id_jubilado);
12291
12517
  _this.primeraRemuneracion = parseFloat(e.prirem);
@@ -12303,7 +12529,8 @@
12303
12529
  }
12304
12530
  MPersonalJubilado.prototype.dataInterface = function () {
12305
12531
  return {
12306
- id_empresa: this.idEmpresa.toString(),
12532
+ id_enterprise: this.idEnterprise.toString(),
12533
+ id_empresa: this.idEmpresa,
12307
12534
  id_personal: this.idPersonal.toString(),
12308
12535
  id_jubilado: this.idJubilacion.toString(),
12309
12536
  prirem: this.primeraRemuneracion.toString(),
@@ -12322,6 +12549,7 @@
12322
12549
  __extends(MPermisos, _super);
12323
12550
  function MPermisos(e) {
12324
12551
  var _this = _super.call(this) || this;
12552
+ _this.idEnterprise = 0;
12325
12553
  _this.idEmpresa = 0;
12326
12554
  _this.idPersonal = 0;
12327
12555
  _this.idPermiso = 0;
@@ -12340,6 +12568,7 @@
12340
12568
  _this.denominacionEnfermedad = '';
12341
12569
  _this.TipoPermiso = TipoPermiso;
12342
12570
  if (e) {
12571
+ _this.idEnterprise = +e.id_enterprise;
12343
12572
  _this.idEmpresa = +e.id_empresa;
12344
12573
  _this.idPersonal = +e.id_personal;
12345
12574
  _this.idPermiso = +e.id_permiso;
@@ -12364,6 +12593,7 @@
12364
12593
  }
12365
12594
  MPermisos.prototype.dataInterface = function () {
12366
12595
  return {
12596
+ id_enterprise: this.idEnterprise.toString(),
12367
12597
  id_empresa: this.idEmpresa,
12368
12598
  id_personal: this.idPersonal,
12369
12599
  id_permiso: this.idPermiso,
@@ -12459,6 +12689,7 @@
12459
12689
  __extends(MImpuestoSobreRenta, _super);
12460
12690
  function MImpuestoSobreRenta(e) {
12461
12691
  var _this = _super.call(this) || this;
12692
+ _this.idEnterprise = 0;
12462
12693
  _this.idEmpresa = 0;
12463
12694
  _this.idPersonal = 0;
12464
12695
  _this.idImpuestoSobreRenta = 0;
@@ -12478,6 +12709,7 @@
12478
12709
  _this.diciembre = 0;
12479
12710
  _this.denominacionConcepto = '';
12480
12711
  if (e) {
12712
+ _this.idEnterprise = +e.id_enterprise;
12481
12713
  _this.idEmpresa = +e.id_empresa;
12482
12714
  _this.idPersonal = +e.id_personal;
12483
12715
  _this.idImpuestoSobreRenta = +e.id_isr;
@@ -12504,6 +12736,7 @@
12504
12736
  }
12505
12737
  MImpuestoSobreRenta.prototype.dataInterface = function () {
12506
12738
  return {
12739
+ id_enterprise: this.idEnterprise.toString(),
12507
12740
  id_empresa: this.idEmpresa,
12508
12741
  id_personal: this.idPersonal,
12509
12742
  id_isr: this.idImpuestoSobreRenta,
@@ -12532,6 +12765,7 @@
12532
12765
  function MMetodoBanco(e) {
12533
12766
  if (e === void 0) { e = null; }
12534
12767
  var _this = _super.call(this) || this;
12768
+ _this.idEnterprise = 0;
12535
12769
  _this.idEmpresa = 0;
12536
12770
  _this.idMetodoBanco = 0;
12537
12771
  _this.id = 0;
@@ -12547,7 +12781,8 @@
12547
12781
  _this.numeroConvenio = '';
12548
12782
  _this.activo = 0;
12549
12783
  if (e) {
12550
- _this.idEmpresa = parseInt(e.id_empresa);
12784
+ _this.idEnterprise = +e.id_enterprise;
12785
+ _this.idEmpresa = +e.id_empresa;
12551
12786
  _this.idMetodoBanco = parseInt(e.id_metbco);
12552
12787
  _this.codigoMetodo = e.codmet;
12553
12788
  _this.denominacionMetodo = e.denmet;
@@ -12569,7 +12804,8 @@
12569
12804
  }
12570
12805
  MMetodoBanco.prototype.dataInterface = function () {
12571
12806
  return {
12572
- id_empresa: this.idEmpresa.toString(),
12807
+ id_enterprise: this.idEnterprise.toString(),
12808
+ id_empresa: this.idEmpresa,
12573
12809
  id_metbco: this.idMetodoBanco.toString(),
12574
12810
  codmet: this.codigoMetodo,
12575
12811
  denmet: this.denominacionMetodo,
@@ -12592,6 +12828,7 @@
12592
12828
  function MMetodos(e) {
12593
12829
  if (e === void 0) { e = null; }
12594
12830
  var _this = _super.call(this) || this;
12831
+ _this.idEnterprise = 0;
12595
12832
  _this.idEmpresa = 0;
12596
12833
  _this.idMetodo = 0;
12597
12834
  _this.codigoMetodo = '';
@@ -12602,7 +12839,8 @@
12602
12839
  _this.montoDescuentoDia = 0;
12603
12840
  _this.numeroTarjeta = '';
12604
12841
  if (e) {
12605
- _this.idEmpresa = parseInt(e.id_empresa);
12842
+ _this.idEnterprise = +e.id_enterprise;
12843
+ _this.idEmpresa = +e.id_empresa;
12606
12844
  _this.idMetodo = parseInt(e.id_metodo);
12607
12845
  _this.codigoMetodo = e.codmet;
12608
12846
  _this.denominacionMetodo = e.denmet;
@@ -12619,7 +12857,8 @@
12619
12857
  }
12620
12858
  MMetodos.prototype.dataInterface = function () {
12621
12859
  return {
12622
- id_empresa: this.idEmpresa.toString(),
12860
+ id_enterprise: this.idEnterprise.toString(),
12861
+ id_empresa: this.idEmpresa,
12623
12862
  id_metodo: this.idMetodo.toString(),
12624
12863
  codmet: this.codigoMetodo,
12625
12864
  denmet: this.denominacionMetodo,
@@ -12638,6 +12877,7 @@
12638
12877
  function MPrestamo(e) {
12639
12878
  if (e === void 0) { e = null; }
12640
12879
  var _this = _super.call(this) || this;
12880
+ _this.idEnterprise = 0;
12641
12881
  _this.idEmpresa = 0;
12642
12882
  _this.idPersonal = 0;
12643
12883
  _this.idPrestamo = 0;
@@ -12668,6 +12908,7 @@
12668
12908
  _this.periodos = [];
12669
12909
  _this.amortizacion = [];
12670
12910
  if (e) {
12911
+ _this.idEnterprise = +e.id_enterprise;
12671
12912
  _this.idEmpresa = +e.id_empresa;
12672
12913
  _this.idPrestamo = +e.id_prestamo;
12673
12914
  _this.idPersonal = +e.id_personal;
@@ -12705,6 +12946,7 @@
12705
12946
  }
12706
12947
  MPrestamo.prototype.dataInterface = function () {
12707
12948
  return {
12949
+ id_enterprise: this.idEnterprise.toString(),
12708
12950
  id_empresa: this.idEmpresa,
12709
12951
  id_personal: this.idPersonal,
12710
12952
  id_prestamo: this.idPrestamo,
@@ -12765,6 +13007,7 @@
12765
13007
  __extends(MPrestamosPeriodo, _super);
12766
13008
  function MPrestamosPeriodo(e) {
12767
13009
  var _this = _super.call(this) || this;
13010
+ _this.idEnterprise = 0;
12768
13011
  _this.idEmpresa = 0;
12769
13012
  _this.idPersonal = 0;
12770
13013
  _this.idPrestamo = 0;
@@ -12775,6 +13018,7 @@
12775
13018
  _this.montoCuota = 0;
12776
13019
  _this.estatusCuota = 0;
12777
13020
  if (e) {
13021
+ _this.idEnterprise = +e.id_enterprise;
12778
13022
  _this.idEmpresa = +e.id_empresa;
12779
13023
  _this.idPersonal = +e.id_personal;
12780
13024
  _this.idPrestamo = +e.id_prestamo;
@@ -12794,6 +13038,7 @@
12794
13038
  }
12795
13039
  MPrestamosPeriodo.prototype.dataInterface = function () {
12796
13040
  return {
13041
+ id_enterprise: this.idEnterprise.toString(),
12797
13042
  id_empresa: this.idEmpresa,
12798
13043
  id_personal: this.idPersonal,
12799
13044
  id_prestamo: this.idPrestamo,
@@ -12819,6 +13064,7 @@
12819
13064
  __extends(MPrestamoAmortizacion, _super);
12820
13065
  function MPrestamoAmortizacion(e) {
12821
13066
  var _this = _super.call(this) || this;
13067
+ _this.idEnterprise = 0;
12822
13068
  _this.idEmpresa = 0;
12823
13069
  _this.idPersonal = 0;
12824
13070
  _this.idPrestamo = 0;
@@ -12828,6 +13074,7 @@
12828
13074
  _this.montoAmortizacion = 0;
12829
13075
  _this.descripcionAmortizacion = '';
12830
13076
  if (e) {
13077
+ _this.idEnterprise = +e.id_enterprise;
12831
13078
  _this.idEmpresa = +e.id_empresa;
12832
13079
  _this.idPersonal = +e.id_personal;
12833
13080
  _this.idPrestamo = +e.id_prestamo;
@@ -12841,6 +13088,7 @@
12841
13088
  }
12842
13089
  MPrestamoAmortizacion.prototype.dataInterface = function () {
12843
13090
  return {
13091
+ id_enterprise: this.idEnterprise.toString(),
12844
13092
  id_empresa: this.idEmpresa,
12845
13093
  id_personal: this.idPersonal,
12846
13094
  id_prestamo: this.idPrestamo,
@@ -13341,6 +13589,7 @@
13341
13589
  __extends(MSnoLog, _super);
13342
13590
  function MSnoLog(e) {
13343
13591
  var _this = _super.call(this) || this;
13592
+ _this.idEnterprise = 0;
13344
13593
  _this.idEmpresa = 0;
13345
13594
  _this.idPersonal = 0;
13346
13595
  _this.idAuditoriaPersonal = 0;
@@ -13356,6 +13605,7 @@
13356
13605
  _this.evento = '';
13357
13606
  _this.campoPermitido = Campos;
13358
13607
  if (e) {
13608
+ _this.idEnterprise = +e.id_enterprise;
13359
13609
  _this.idEmpresa = +e.id_empresa;
13360
13610
  _this.idPersonal = +e.id_personal;
13361
13611
  _this.idAuditoriaPersonal = +e.id_auditoria_personal;
@@ -13378,7 +13628,8 @@
13378
13628
  MSnoLog.prototype.dataInteface = function () {
13379
13629
  var _this = this;
13380
13630
  return {
13381
- id_empresa: this.idEmpresa.toString(),
13631
+ id_enterprise: this.idEnterprise.toString(),
13632
+ id_empresa: this.idEmpresa,
13382
13633
  id_personal: this.idPersonal.toString(),
13383
13634
  id_auditoria_personal: this.idAuditoriaPersonal.toString(),
13384
13635
  id_registro: this.idRegistro.toString(),
@@ -13396,9 +13647,11 @@
13396
13647
  return MSnoLog;
13397
13648
  }(MBasicModel));
13398
13649
 
13650
+ var moment$3 = require("moment");
13399
13651
  var MPlanHorario = /** @class */ (function () {
13400
13652
  function MPlanHorario(e) {
13401
13653
  if (e === void 0) { e = null; }
13654
+ this.idEnterprise = 0;
13402
13655
  this.idEmpresa = 0;
13403
13656
  this.idPlanHorario = 0;
13404
13657
  this.idNomina = 0;
@@ -13412,6 +13665,7 @@
13412
13665
  this.denominacionNomina = '';
13413
13666
  this.periodos = [];
13414
13667
  if (e) {
13668
+ this.idEnterprise = +e.id_enterprise;
13415
13669
  this.idEmpresa = +e.id_empresa;
13416
13670
  this.idPlanHorario = +e.id_planhor;
13417
13671
  this.idNomina = e.id_nomina;
@@ -13430,6 +13684,7 @@
13430
13684
  }
13431
13685
  MPlanHorario.prototype.dataInterface = function () {
13432
13686
  return {
13687
+ id_enterprise: this.idEnterprise.toString(),
13433
13688
  id_empresa: this.idEmpresa,
13434
13689
  id_planhor: this.idPlanHorario,
13435
13690
  id_nomina: this.idNomina,
@@ -13446,6 +13701,7 @@
13446
13701
  }());
13447
13702
  var MPeriodosPlan = /** @class */ (function () {
13448
13703
  function MPeriodosPlan(e) {
13704
+ this.idEnterprise = 0;
13449
13705
  this.idEmpresa = 0;
13450
13706
  this.idPlanHorario = 0;
13451
13707
  this.denominacionPeriodoPlan = '';
@@ -13455,79 +13711,59 @@
13455
13711
  this.codigoPeriodoNomina = '';
13456
13712
  this.tipoFeriado = false;
13457
13713
  this.simboloFeriado = '';
13458
- this.horarios = [];
13459
- if (e) {
13460
- this.idEmpresa = +e.id_empresa;
13461
- this.idPlanHorario = +e.id_planhor;
13462
- this.denominacionPeriodoPlan = e.denperplan;
13463
- this.fechaPeriodoPlan = e.fecperplan;
13464
- this.idPeriodo = +e.id_periodo;
13465
- this.idPeriodoPlan = e.id_perplan;
13466
- this.codigoPeriodoNomina = e.codperi;
13467
- this.tipoFeriado = e.tipfer == '1' ? true : false;
13468
- if (this.tipoFeriado) {
13469
- this.simboloFeriado = 'check_small';
13470
- }
13471
- if (e.horarios) {
13472
- this.horarios = e.horarios.map(function (e) { return new MHorarioPeriodosPlan(e); });
13473
- }
13474
- }
13475
- }
13476
- MPeriodosPlan.prototype.dataInterface = function () {
13477
- return {
13478
- id_empresa: this.idEmpresa,
13479
- id_planhor: this.idPlanHorario,
13480
- denperplan: this.denominacionPeriodoPlan,
13481
- fecperplan: this.fechaPeriodoPlan,
13482
- id_periodo: this.idPeriodo,
13483
- id_perplan: this.idPeriodoPlan,
13484
- tipfer: this.tipoFeriado ? '1' : '0',
13485
- horarios: this.horarios.map(function (e) { return e.dataInterface(); })
13486
- };
13487
- };
13488
- return MPeriodosPlan;
13489
- }());
13490
- var MHorarioPeriodosPlan = /** @class */ (function () {
13491
- function MHorarioPeriodosPlan(e) {
13492
- this.idEmpresa = 0;
13493
- this.idPlanHorario = 0;
13494
- this.idPeriodoPlan = 0;
13495
13714
  this.idHora = 0;
13496
13715
  this.incidencias = [];
13497
- this.descripcionHorario = '';
13498
- this.idDetalle = 0;
13499
13716
  this.codigoHorario = '';
13500
13717
  this.denominacionHorario = '';
13501
13718
  this.horaInicio = '';
13502
13719
  this.horaFinal = '';
13720
+ this.denomiacionFecha = '';
13721
+ this.dia = '';
13722
+ this.descripcionHorario = '';
13503
13723
  if (e) {
13504
- this.idEmpresa = e.id_empresa;
13724
+ this.idEnterprise = +e.id_enterprise;
13725
+ this.idEmpresa = +e.id_empresa;
13505
13726
  this.idPlanHorario = e.id_planhor;
13727
+ this.denominacionPeriodoPlan = e.denperplan;
13728
+ this.fechaPeriodoPlan = e.fecperplan;
13729
+ this.idPeriodo = e.id_periodo;
13506
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
+ }
13507
13740
  this.idHora = e.id_hora;
13508
13741
  this.codigoHorario = e.codhor;
13509
13742
  this.denominacionHorario = e.denhor;
13510
- this.horaInicio = moment__namespace(e.horini, 'H:m:s').format('h:mm a');
13511
- this.horaFinal = moment__namespace(e.horfin, 'H:m:s').format('h:mm a');
13512
13743
  if (e.incidencias != '') {
13513
13744
  this.incidencias = e.incidencias.split(',');
13514
13745
  }
13515
13746
  ;
13516
- 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');
13517
13749
  this.descripcionHorario = this.codigoHorario + ' - ' + this.denominacionHorario + ' - ' + this.horaInicio + '-' + this.horaFinal;
13518
13750
  }
13519
13751
  }
13520
- MHorarioPeriodosPlan.prototype.dataInterface = function () {
13752
+ MPeriodosPlan.prototype.dataInterface = function () {
13521
13753
  return {
13754
+ id_enterprise: this.idEnterprise.toString(),
13522
13755
  id_empresa: this.idEmpresa,
13523
13756
  id_planhor: this.idPlanHorario,
13757
+ denperplan: this.denominacionPeriodoPlan,
13758
+ fecperplan: this.fechaPeriodoPlan,
13759
+ id_periodo: this.idPeriodo,
13524
13760
  id_perplan: this.idPeriodoPlan,
13761
+ tipfer: this.tipoFeriado ? '1' : '0',
13525
13762
  id_hora: this.idHora,
13526
13763
  incidencias: this.incidencias.length > 0 ? this.incidencias.join(',') : "",
13527
- id_dt_horperplan: this.idDetalle,
13528
13764
  };
13529
13765
  };
13530
- return MHorarioPeriodosPlan;
13766
+ return MPeriodosPlan;
13531
13767
  }());
13532
13768
 
13533
13769
  var customPaginator = /** @class */ (function (_super) {
@@ -13677,7 +13913,6 @@
13677
13913
  exports.MGroup = MGroup;
13678
13914
  exports.MHojaTiempo = MHojaTiempo;
13679
13915
  exports.MHorario = MHorario;
13680
- exports.MHorarioPeriodosPlan = MHorarioPeriodosPlan;
13681
13916
  exports.MImpuestoSobreRenta = MImpuestoSobreRenta;
13682
13917
  exports.MItemsEvalucion = MItemsEvalucion;
13683
13918
  exports.MLog = MLog;