sigesp 0.9.9-20221205 → 0.9.11-20221211

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 +449 -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 +29 -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 +444 -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;
@@ -4966,6 +4984,8 @@
4966
4984
  else if (_this.idHora > 0) {
4967
4985
  _this.descripcionHorario = p.horini + '-' + p.horfin;
4968
4986
  }
4987
+ _this.descripcionPuestoTrabajo = p.despuetra;
4988
+ _this.codigoPuestoTrabajo = p.codpuetra;
4969
4989
  }
4970
4990
  else {
4971
4991
  _this.isNew = true;
@@ -4974,7 +4994,8 @@
4974
4994
  }
4975
4995
  MPersonal.prototype.dataInterface = function () {
4976
4996
  return {
4977
- id_empresa: +this.idEmpresa,
4997
+ id_empresa: this.idEmpresa,
4998
+ id_enterprise: this.idEnterprise.toString(),
4978
4999
  id_personal: +this.idPersonal,
4979
5000
  codper: this.codigoPersonal,
4980
5001
  cedper: this.cedulaPersonal,
@@ -5082,6 +5103,8 @@
5082
5103
  function MCambioEstatusPersonal(e) {
5083
5104
  if (e === void 0) { e = null; }
5084
5105
  var _this = _super.call(this) || this;
5106
+ _this.idEmpresa = 0;
5107
+ _this.idEnterprise = 0;
5085
5108
  _this.idPersonal = 0;
5086
5109
  _this.codigoPersonal = '';
5087
5110
  _this.estatusActual = '2';
@@ -5093,6 +5116,8 @@
5093
5116
  _this.observacion = '';
5094
5117
  _this.fechaReingreso = '1900-01-01';
5095
5118
  if (e) {
5119
+ _this.idEnterprise = +e.id_enterprise;
5120
+ _this.idEmpresa = e.id_empresa;
5096
5121
  _this.idPersonal = e.idPersonal;
5097
5122
  _this.codigoPersonal = e.codigoPersonal;
5098
5123
  _this.estatusActual = e.estatusActual;
@@ -5108,6 +5133,8 @@
5108
5133
  }
5109
5134
  MCambioEstatusPersonal.prototype.dataInterface = function () {
5110
5135
  return {
5136
+ id_empresa: this.idEmpresa,
5137
+ id_enterprise: this.idEnterprise.toString(),
5111
5138
  idPersonal: this.idPersonal,
5112
5139
  codigoPersonal: this.codigoPersonal,
5113
5140
  estatusActual: this.estatusActual,
@@ -5127,6 +5154,7 @@
5127
5154
  function MPersonalCuentaBanco(e) {
5128
5155
  var _this = _super.call(this) || this;
5129
5156
  _this.idEmpresa = 0;
5157
+ _this.idEnterprise = 0;
5130
5158
  _this.idPersonal = 0;
5131
5159
  _this.idCuentaBancoPersonal = -1;
5132
5160
  _this.codigoCuentaBancoPersonal = '';
@@ -5141,7 +5169,8 @@
5141
5169
  _this.nombreBanco = '';
5142
5170
  _this.nombreTipoCuentaBanco = '';
5143
5171
  if (e) {
5144
- _this.idEmpresa = parseInt(e.id_empresa);
5172
+ _this.idEnterprise = +e.id_enterprise;
5173
+ _this.idEmpresa = e.id_empresa;
5145
5174
  _this.idPersonal = parseInt(e.id_personal);
5146
5175
  _this.idCuentaBancoPersonal = parseInt(e.id_ctabanper);
5147
5176
  _this.codigoCuentaBancoPersonal = e.codctabanper;
@@ -5163,7 +5192,8 @@
5163
5192
  }
5164
5193
  MPersonalCuentaBanco.prototype.dataInterface = function () {
5165
5194
  return {
5166
- id_empresa: this.idEmpresa.toString(),
5195
+ id_enterprise: this.idEnterprise.toString(),
5196
+ id_empresa: this.idEmpresa,
5167
5197
  id_personal: this.idPersonal.toString(),
5168
5198
  id_ctabanper: this.idCuentaBancoPersonal.toString(),
5169
5199
  codctabanper: this.codigoCuentaBancoPersonal,
@@ -5182,6 +5212,7 @@
5182
5212
  var _this = this;
5183
5213
  if (e === void 0) { e = null; }
5184
5214
  this.idEmpresa = 0;
5215
+ this.idEnterprise = 0;
5185
5216
  this.idPersonal = 0;
5186
5217
  this.idEstudio = 0;
5187
5218
  this.codigoEstudioRealizado = '';
@@ -5201,7 +5232,8 @@
5201
5232
  this.TipoEstudio = Estudios;
5202
5233
  this.Aprobado = EstatusEstudio;
5203
5234
  if (e) {
5204
- this.idEmpresa = parseInt(e.id_empresa);
5235
+ this.idEmpresa = e.id_empresa;
5236
+ this.idEnterprise = +e.id_enterprise;
5205
5237
  this.idPersonal = parseInt(e.id_personal);
5206
5238
  this.idEstudio = parseInt(e.id_estudio);
5207
5239
  this.codigoEstudioRealizado = e.codestrea;
@@ -5223,7 +5255,8 @@
5223
5255
  }
5224
5256
  MEstudiosRealizados.prototype.dataInterface = function () {
5225
5257
  return {
5226
- id_empresa: this.idEmpresa.toString(),
5258
+ id_empresa: this.idEmpresa,
5259
+ id_enterprise: this.idEnterprise.toString(),
5227
5260
  id_personal: this.idPersonal.toString(),
5228
5261
  id_estudio: this.idEstudio.toString(),
5229
5262
  codestrea: this.codigoEstudioRealizado,
@@ -5249,6 +5282,7 @@
5249
5282
  if (e === void 0) { e = null; }
5250
5283
  var _this = _super.call(this) || this;
5251
5284
  _this.idEmpresa = 0;
5285
+ _this.idEnterprice = 0;
5252
5286
  _this.idPersonal = 0;
5253
5287
  _this.idFideicomiso = 0;
5254
5288
  _this.anoCurPeriodo = 0;
@@ -5270,7 +5304,8 @@
5270
5304
  _this.codigoUsuario = '';
5271
5305
  _this.idDtFideicomisoPeriodo = 0;
5272
5306
  if (e) {
5273
- _this.idEmpresa = parseInt(e.id_empresa);
5307
+ _this.idEmpresa = e.id_empresa;
5308
+ _this.idEmpresa = +e.id_enterprise;
5274
5309
  _this.idPersonal = parseInt(e.id_personal);
5275
5310
  _this.idFideicomiso = parseInt(e.id_fideicomiso);
5276
5311
  _this.anoCurPeriodo = parseInt(e.anocurper);
@@ -5299,7 +5334,8 @@
5299
5334
  }
5300
5335
  MPrestacionesAntiguedad.prototype.dataInterface = function () {
5301
5336
  return {
5302
- id_empresa: this.idEmpresa.toString(),
5337
+ id_empresa: this.idEmpresa,
5338
+ id_enterprise: this.idEnterprice.toString(),
5303
5339
  id_personal: this.idPersonal.toString(),
5304
5340
  id_fideicomiso: this.idFideicomiso.toString(),
5305
5341
  anocurper: this.anoCurPeriodo.toString(),
@@ -6909,7 +6945,7 @@
6909
6945
  if (tipo === void 0) { tipo = null; }
6910
6946
  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
6947
  if (res.success) {
6912
- res.data = new MEnterprise(res.data);
6948
+ res.data = res.data.map(function (e) { return new MEnterprise(e); });
6913
6949
  }
6914
6950
  return res;
6915
6951
  }));
@@ -8305,6 +8341,7 @@
8305
8341
  __extends(MAnticipoPrestaciones, _super);
8306
8342
  function MAnticipoPrestaciones(e) {
8307
8343
  var _this = _super.call(this) || this;
8344
+ _this.idEnterprise = 0;
8308
8345
  _this.idEmpresa = 0;
8309
8346
  _this.idPersonal = 0;
8310
8347
  _this.idAnticipo = 0;
@@ -8326,6 +8363,7 @@
8326
8363
  _this.montoMaximoInteres = 0;
8327
8364
  _this.denominacionEstatus = '';
8328
8365
  if (e) {
8366
+ _this.idEnterprise = +e.id_enterprise;
8329
8367
  _this.idEmpresa = +e.id_empresa;
8330
8368
  _this.idPersonal = +e.id_personal;
8331
8369
  _this.idAnticipo = +e.id_anticipops;
@@ -8354,6 +8392,7 @@
8354
8392
  }
8355
8393
  MAnticipoPrestaciones.prototype.dataInterface = function () {
8356
8394
  return {
8395
+ id_enterprise: this.idEnterprise.toString(),
8357
8396
  id_empresa: this.idEmpresa,
8358
8397
  id_personal: this.idPersonal,
8359
8398
  id_anticipops: this.idAnticipo,
@@ -8404,6 +8443,7 @@
8404
8443
  __extends(MArchivoTxtCampo, _super);
8405
8444
  function MArchivoTxtCampo(e) {
8406
8445
  var _this = _super.call(this) || this;
8446
+ _this.idEnterprise = 0;
8407
8447
  _this.idEmpresa = 0;
8408
8448
  _this.idArchivoTxt = 0;
8409
8449
  _this.codigoCampo = 0;
@@ -8419,7 +8459,8 @@
8419
8459
  _this.tipoCampo = '';
8420
8460
  _this.idDtCampo = 0;
8421
8461
  if (e) {
8422
- _this.idEmpresa = parseInt(e.id_empresa);
8462
+ _this.idEnterprise = +e.id_enterprise;
8463
+ _this.idEmpresa = +e.id_empresa;
8423
8464
  _this.idArchivoTxt = parseInt(e.id_archivotxt);
8424
8465
  _this.codigoCampo = parseInt(e.codcam);
8425
8466
  _this.descripcionCampo = e.descam;
@@ -8441,7 +8482,8 @@
8441
8482
  }
8442
8483
  MArchivoTxtCampo.prototype.dataInterface = function () {
8443
8484
  return {
8444
- id_empresa: this.idEmpresa.toString(),
8485
+ id_enterprise: this.idEnterprise.toString(),
8486
+ id_empresa: this.idEmpresa,
8445
8487
  id_archivotxt: this.idArchivoTxt.toString(),
8446
8488
  codcam: this.codigoCampo.toString(),
8447
8489
  descam: this.descripcionCampo,
@@ -8464,6 +8506,7 @@
8464
8506
  __extends(MArchivosTxt, _super);
8465
8507
  function MArchivosTxt(e) {
8466
8508
  var _this = _super.call(this) || this;
8509
+ _this.idEnterprise = 0;
8467
8510
  _this.idEmpresa = 0;
8468
8511
  _this.idArchivoTxt = 0;
8469
8512
  _this.codigoArchivo = '';
@@ -8473,7 +8516,8 @@
8473
8516
  _this.campos = [];
8474
8517
  if (e) {
8475
8518
  e.acumon == '1' ? _this.acumularMonto = true : _this.acumularMonto = false;
8476
- _this.idEmpresa = parseInt(e.id_empresa);
8519
+ _this.idEnterprise = +e.id_enterprise;
8520
+ _this.idEmpresa = +e.id_empresa;
8477
8521
  _this.idArchivoTxt = parseInt(e.id_archivotxt);
8478
8522
  _this.codigoArchivo = e.codarch;
8479
8523
  _this.denominacionArchivo = e.denarch;
@@ -8487,7 +8531,8 @@
8487
8531
  }
8488
8532
  MArchivosTxt.prototype.dataInterface = function () {
8489
8533
  return {
8490
- id_empresa: this.idEmpresa.toString(),
8534
+ id_enterprise: this.idEnterprise.toString(),
8535
+ id_empresa: this.idEmpresa,
8491
8536
  id_archivotxt: this.idArchivoTxt.toString(),
8492
8537
  codarch: this.codigoArchivo,
8493
8538
  denarch: this.denominacionArchivo,
@@ -8503,6 +8548,7 @@
8503
8548
  __extends(MAspectoEvaluacion, _super);
8504
8549
  function MAspectoEvaluacion(e) {
8505
8550
  var _this = _super.call(this) || this;
8551
+ _this.idEnterprise = 0;
8506
8552
  _this.idEmpresa = 0;
8507
8553
  _this.idTipoEvaluacion = 0;
8508
8554
  _this.idAspectoEvaluacion = 0;
@@ -8511,7 +8557,8 @@
8511
8557
  _this.codigoAspecto = '';
8512
8558
  _this.denominacionAspecto = '';
8513
8559
  if (e) {
8514
- _this.idEmpresa = parseInt(e.id_empresa);
8560
+ _this.idEnterprise = +e.id_enterprise;
8561
+ _this.idEmpresa = +e.id_empresa;
8515
8562
  _this.idTipoEvaluacion = parseInt(e.id_tipoeval);
8516
8563
  _this.idAspectoEvaluacion = parseInt(e.id_aspecto);
8517
8564
  _this.codigoTipoEvaluacion = e.codtipeval;
@@ -8526,7 +8573,8 @@
8526
8573
  }
8527
8574
  MAspectoEvaluacion.prototype.dataInterface = function () {
8528
8575
  return {
8529
- id_empresa: this.idEmpresa.toString(),
8576
+ id_enterprise: this.idEnterprise.toString(),
8577
+ id_empresa: this.idEmpresa,
8530
8578
  id_tipoeval: this.idTipoEvaluacion.toString(),
8531
8579
  id_aspecto: this.idAspectoEvaluacion.toString(),
8532
8580
  codasp: this.codigoAspecto,
@@ -8542,6 +8590,7 @@
8542
8590
  function MItemsEvalucion(e) {
8543
8591
  if (e === void 0) { e = null; }
8544
8592
  var _this = _super.call(this) || this;
8593
+ _this.idEnterprise = 0;
8545
8594
  _this.idEmpresa = 0;
8546
8595
  _this.idTipoEvaluacion = 0;
8547
8596
  _this.idAspectoEvaluacion = 0;
@@ -8554,7 +8603,8 @@
8554
8603
  _this.codigoAspecto = '';
8555
8604
  _this.denominacionAspecto = '';
8556
8605
  if (e) {
8557
- _this.idEmpresa = parseInt(e.id_empresa);
8606
+ _this.idEnterprise = +e.id_enterprise;
8607
+ _this.idEmpresa = +e.id_empresa;
8558
8608
  _this.idTipoEvaluacion = parseInt(e.id_tipoeval);
8559
8609
  _this.idAspectoEvaluacion = parseInt(e.id_aspecto);
8560
8610
  _this.idItems = parseInt(e.id_item);
@@ -8573,7 +8623,8 @@
8573
8623
  }
8574
8624
  MItemsEvalucion.prototype.dataInterface = function () {
8575
8625
  return {
8576
- id_empresa: this.idEmpresa.toString(),
8626
+ id_enterprise: this.idEnterprise.toString(),
8627
+ id_empresa: this.idEmpresa,
8577
8628
  id_tipoeval: this.idTipoEvaluacion.toString(),
8578
8629
  id_aspecto: this.idAspectoEvaluacion.toString(),
8579
8630
  id_item: this.idItems.toString(),
@@ -8593,6 +8644,7 @@
8593
8644
  __extends(MBeneficiario, _super);
8594
8645
  function MBeneficiario(e) {
8595
8646
  var _this = _super.call(this) || this;
8647
+ _this.idEnterprise = 0;
8596
8648
  _this.idEmpresa = 0;
8597
8649
  _this.idPersonal = 0;
8598
8650
  _this.idFamiliar = 0;
@@ -8619,7 +8671,8 @@
8619
8671
  _this.medidaActiva = false;
8620
8672
  _this.tribunal = '';
8621
8673
  if (e) {
8622
- _this.idEmpresa = parseInt(e.id_empresa);
8674
+ _this.idEnterprise = +e.id_enterprise;
8675
+ _this.idEmpresa = +e.id_empresa;
8623
8676
  _this.idPersonal = parseInt(e.id_personal);
8624
8677
  _this.idFamiliar = parseInt(e.id_familiar);
8625
8678
  _this.idProveedor = parseInt(e.id_proveedor);
@@ -8652,7 +8705,8 @@
8652
8705
  }
8653
8706
  MBeneficiario.prototype.dataInterface = function () {
8654
8707
  return {
8655
- id_empresa: this.idEmpresa.toString(),
8708
+ id_enterprise: this.idEnterprise.toString(),
8709
+ id_empresa: this.idEmpresa,
8656
8710
  id_personal: this.idPersonal.toString(),
8657
8711
  id_familiar: this.idFamiliar.toString(),
8658
8712
  id_proveedor: this.idProveedor.toString(),
@@ -8677,6 +8731,7 @@
8677
8731
  function MCargosPersonal(p) {
8678
8732
  if (p === void 0) { p = null; }
8679
8733
  var _this = _super.call(this) || this;
8734
+ _this.idEnterprise = 0;
8680
8735
  _this.idEmpresa = 0;
8681
8736
  _this.idPersonal = 0;
8682
8737
  _this.idCargo = 0;
@@ -8706,6 +8761,8 @@
8706
8761
  _this.detallesOrganigrama = [];
8707
8762
  _this.detallesNomina = [];
8708
8763
  if (p) {
8764
+ _this.idEnterprise = +p.id_enterprise;
8765
+ _this.idEmpresa = +p.id_empresa;
8709
8766
  _this.idPersonal = parseInt(p.id_personal);
8710
8767
  _this.idCargo = +p.id_carper;
8711
8768
  _this.codigoCargo = p.codcar;
@@ -8745,7 +8802,8 @@
8745
8802
  }
8746
8803
  MCargosPersonal.prototype.dataInterface = function () {
8747
8804
  return {
8748
- id_empresa: this.idEmpresa.toString(),
8805
+ id_enterprise: this.idEnterprise.toString(),
8806
+ id_empresa: this.idEmpresa,
8749
8807
  id_personal: this.idPersonal.toString(),
8750
8808
  id_carper: this.idCargo.toString(),
8751
8809
  id_tabulador: this.idTabulador.toString(),
@@ -8765,6 +8823,7 @@
8765
8823
  __extends(MCargaFamiliar, _super);
8766
8824
  function MCargaFamiliar(e) {
8767
8825
  var _this = _super.call(this) || this;
8826
+ _this.idEnterprise = 0;
8768
8827
  _this.idEmpresa = 0;
8769
8828
  _this.idConcurso = 0;
8770
8829
  _this.idConcursante = 0;
@@ -8777,7 +8836,8 @@
8777
8836
  _this.parentesco = '';
8778
8837
  _this.fechaNacimiento = '';
8779
8838
  if (e) {
8780
- _this.idEmpresa = parseInt(e.id_empresa);
8839
+ _this.idEnterprise = +e.id_enterprise;
8840
+ _this.idEmpresa = +e.id_empresa;
8781
8841
  _this.idConcurso = parseInt(e.id_concurso);
8782
8842
  _this.idConcursante = parseInt(e.id_concursante);
8783
8843
  _this.idFamilia = parseInt(e.id_familiacon);
@@ -8796,7 +8856,8 @@
8796
8856
  }
8797
8857
  MCargaFamiliar.prototype.dataInterface = function () {
8798
8858
  return {
8799
- id_empresa: this.idEmpresa.toString(),
8859
+ id_enterprise: this.idEnterprise.toString(),
8860
+ id_empresa: this.idEmpresa,
8800
8861
  id_concurso: this.idConcurso.toString(),
8801
8862
  id_concursante: this.idConcurso.toString(),
8802
8863
  id_familiacon: this.idFamilia.toString(),
@@ -8816,6 +8877,7 @@
8816
8877
  __extends(MClasificacionObrero, _super);
8817
8878
  function MClasificacionObrero(e) {
8818
8879
  var _this = _super.call(this) || this;
8880
+ _this.idEnterprise = 0;
8819
8881
  _this.idEmpresa = 0;
8820
8882
  _this.idClasificacionObrero = 0;
8821
8883
  _this.grado = '';
@@ -8826,7 +8888,8 @@
8826
8888
  _this.numeroGaceta = '';
8827
8889
  _this.observacion = '';
8828
8890
  if (e) {
8829
- _this.idEmpresa = parseInt(e.id_empresa);
8891
+ _this.idEnterprise = +e.id_enterprise;
8892
+ _this.idEmpresa = +e.id_empresa;
8830
8893
  _this.idClasificacionObrero = parseInt(e.id_claobr);
8831
8894
  _this.grado = e.grado;
8832
8895
  _this.sueldoMinimo = e.suemin;
@@ -8843,7 +8906,8 @@
8843
8906
  }
8844
8907
  MClasificacionObrero.prototype.dataInterface = function () {
8845
8908
  return {
8846
- id_empresa: this.idEmpresa.toString(),
8909
+ id_enterprise: this.idEnterprise.toString(),
8910
+ id_empresa: this.idEmpresa,
8847
8911
  id_claobr: this.idClasificacionObrero.toString(),
8848
8912
  grado: this.grado,
8849
8913
  suemin: this.sueldoMinimo,
@@ -8862,6 +8926,7 @@
8862
8926
  function MConceptoVacaciones(e) {
8863
8927
  if (e === void 0) { e = null; }
8864
8928
  var _this = _super.call(this) || this;
8929
+ _this.idEnterprise = 0;
8865
8930
  _this.idEmpresa = 0;
8866
8931
  _this.idConceptoVacaciones = 0;
8867
8932
  _this.idNomina = 0;
@@ -8886,6 +8951,7 @@
8886
8951
  _this.nombreConcepto = '';
8887
8952
  _this.signoConcepto = '';
8888
8953
  if (e) {
8954
+ _this.idEnterprise = +e.id_enterprise;
8889
8955
  _this.idEmpresa = +e.id_empresa;
8890
8956
  _this.idConceptoVacaciones = +e.id_convac;
8891
8957
  _this.idNomina = +e.id_nomina;
@@ -8914,7 +8980,8 @@
8914
8980
  }
8915
8981
  MConceptoVacaciones.prototype.dataInterface = function () {
8916
8982
  return {
8917
- id_empresa: this.idEmpresa.toString(),
8983
+ id_enterprise: this.idEnterprise.toString(),
8984
+ id_empresa: this.idEmpresa,
8918
8985
  id_convac: this.idConceptoVacaciones.toString(),
8919
8986
  id_nomina: this.idNomina.toString(),
8920
8987
  id_concepto: this.idConcepto.toString(),
@@ -8974,6 +9041,7 @@
8974
9041
  function MConceptosNomina(e) {
8975
9042
  if (e === void 0) { e = null; }
8976
9043
  var _this = _super.call(this) || this;
9044
+ _this.idEnterprise = 0;
8977
9045
  _this.idEmpresa = 0;
8978
9046
  _this.idNomina = 0;
8979
9047
  _this.idConcepto = 0;
@@ -9039,6 +9107,7 @@
9039
9107
  _this.evaluarEnPrenomina = 0;
9040
9108
  _this.antiguedadComplementaria = 0;
9041
9109
  if (e) {
9110
+ _this.idEnterprise = +e.id_enterprise;
9042
9111
  _this.idEmpresa = +e.id_empresa;
9043
9112
  _this.idNomina = +e.id_nomina;
9044
9113
  _this.idConcepto = +e.id_concepto;
@@ -9116,7 +9185,8 @@
9116
9185
  }
9117
9186
  MConceptosNomina.prototype.dataInterface = function () {
9118
9187
  return {
9119
- id_empresa: this.idEmpresa.toString(),
9188
+ id_enterprise: this.idEnterprise.toString(),
9189
+ id_empresa: this.idEmpresa,
9120
9190
  id_nomina: this.idNomina.toString(),
9121
9191
  id_concepto: this.idConcepto.toString(),
9122
9192
  codconc: this.codigoConcepto,
@@ -9193,6 +9263,7 @@
9193
9263
  function MConceptosPersonalNomina(e) {
9194
9264
  if (e === void 0) { e = null; }
9195
9265
  var _this = _super.call(this) || this;
9266
+ _this.idEnterprise = 0;
9196
9267
  _this.idEmpresa = 0;
9197
9268
  _this.idPersonalNomina = 0;
9198
9269
  _this.idNomina = 0;
@@ -9219,7 +9290,8 @@
9219
9290
  _this.codigoNomina = '';
9220
9291
  _this.numeroPeriodoNomina = 0;
9221
9292
  if (e) {
9222
- _this.idEmpresa = parseInt(e.id_empresa);
9293
+ _this.idEnterprise = +e.id_enterprise;
9294
+ _this.idEmpresa = +e.id_empresa;
9223
9295
  _this.idPersonalNomina = parseInt(e.id_personalnomina);
9224
9296
  _this.idNomina = parseInt(e.id_nomina);
9225
9297
  _this.idConcepto = parseInt(e.id_concepto);
@@ -9251,7 +9323,8 @@
9251
9323
  }
9252
9324
  MConceptosPersonalNomina.prototype.dataInterface = function () {
9253
9325
  return {
9254
- id_empresa: this.idEmpresa.toString(),
9326
+ id_enterprise: this.idEnterprise.toString(),
9327
+ id_empresa: this.idEmpresa,
9255
9328
  id_personalnomina: this.idPersonalNomina.toString(),
9256
9329
  id_nomina: this.idNomina.toString(),
9257
9330
  id_concepto: this.idConcepto.toString(),
@@ -9290,6 +9363,7 @@
9290
9363
  function MConstanteNomina(e) {
9291
9364
  if (e === void 0) { e = null; }
9292
9365
  var _this = _super.call(this) || this;
9366
+ _this.idEnterprise = 0;
9293
9367
  _this.idEmpresa = 0;
9294
9368
  _this.idNomina = 1;
9295
9369
  _this.idConstante = 0;
@@ -9307,6 +9381,7 @@
9307
9381
  _this.registroIncidencia = '';
9308
9382
  _this.valorInicialIncidencia = 0;
9309
9383
  if (e) {
9384
+ _this.idEnterprise = +e.id_enterprise;
9310
9385
  _this.idEmpresa = +e.id_empresa;
9311
9386
  _this.idNomina = +e.id_nomina;
9312
9387
  _this.idConstante = +e.id_constante;
@@ -9331,7 +9406,8 @@
9331
9406
  }
9332
9407
  MConstanteNomina.prototype.dataInterface = function () {
9333
9408
  return {
9334
- id_empresa: this.idEmpresa.toString(),
9409
+ id_enterprise: this.idEnterprise.toString(),
9410
+ id_empresa: this.idEmpresa,
9335
9411
  id_nomina: this.idNomina.toString(),
9336
9412
  id_constante: this.idConstante.toString(),
9337
9413
  codcons: this.codigoConstante,
@@ -9357,6 +9433,7 @@
9357
9433
  function MConstantePersonalNomina(e) {
9358
9434
  if (e === void 0) { e = null; }
9359
9435
  var _this = _super.call(this) || this;
9436
+ _this.idEnterprise = 0;
9360
9437
  _this.idEmpresa = 0;
9361
9438
  _this.idNomina = 0;
9362
9439
  _this.idConstante = 0;
@@ -9377,6 +9454,7 @@
9377
9454
  _this.denominacionCargoPersonal = '';
9378
9455
  _this.idPersonal = 0;
9379
9456
  if (e) {
9457
+ _this.idEnterprise = +e.id_enterprise;
9380
9458
  _this.idEmpresa = +e.id_empresa;
9381
9459
  _this.idNomina = +e.id_nomina;
9382
9460
  _this.idConstante = +e.id_constante;
@@ -9404,7 +9482,8 @@
9404
9482
  }
9405
9483
  MConstantePersonalNomina.prototype.dataInterface = function () {
9406
9484
  return {
9407
- id_empresa: this.idEmpresa.toString(),
9485
+ id_enterprise: this.idEnterprise.toString(),
9486
+ id_empresa: this.idEmpresa,
9408
9487
  id_nomina: this.idNomina.toString(),
9409
9488
  id_constante: this.idConstante.toString(),
9410
9489
  id_personalnomina: this.idPersonalNomina.toString(),
@@ -9436,6 +9515,7 @@
9436
9515
  function MRango(e) {
9437
9516
  if (e === void 0) { e = null; }
9438
9517
  var _this = _super.call(this) || this;
9518
+ _this.idEnterprise = 0;
9439
9519
  _this.idEmpresa = 0;
9440
9520
  _this.idComponente = 0;
9441
9521
  _this.IdRango = 0;
@@ -9445,7 +9525,8 @@
9445
9525
  _this.nombreAbreviatura = '';
9446
9526
  _this.codigoCategoriaRango = '';
9447
9527
  if (e) {
9448
- _this.idEmpresa = parseInt(e.id_empresa);
9528
+ _this.idEnterprise = +e.id_enterprise;
9529
+ _this.idEmpresa = +e.id_empresa;
9449
9530
  _this.idComponente = parseInt(e.id_componente);
9450
9531
  _this.IdRango = parseInt(e.id_rango);
9451
9532
  _this.IdCategoria = parseInt(e.id_catrango);
@@ -9461,7 +9542,8 @@
9461
9542
  }
9462
9543
  MRango.prototype.dataInterface = function () {
9463
9544
  return {
9464
- id_empresa: this.idEmpresa.toString(),
9545
+ id_enterprise: this.idEnterprise.toString(),
9546
+ id_empresa: this.idEmpresa,
9465
9547
  id_componente: this.idComponente.toString(),
9466
9548
  id_rango: this.IdRango.toString(),
9467
9549
  id_catrango: this.IdCategoria.toString(),
@@ -9478,6 +9560,7 @@
9478
9560
  __extends(MComponete, _super);
9479
9561
  function MComponete(e) {
9480
9562
  var _this = _super.call(this) || this;
9563
+ _this.idEnterprise = 0;
9481
9564
  _this.idEmpresa = 0;
9482
9565
  _this.idComponente = 0;
9483
9566
  _this.codigoComponente = '';
@@ -9485,7 +9568,8 @@
9485
9568
  _this.nombreAbreviatura = '';
9486
9569
  _this.rangos = [];
9487
9570
  if (e) {
9488
- _this.idEmpresa = parseInt(e.id_empresa);
9571
+ _this.idEnterprise = +e.id_enterprise;
9572
+ _this.idEmpresa = +e.id_empresa;
9489
9573
  _this.idComponente = parseInt(e.id_componente);
9490
9574
  _this.codigoComponente = e.codcom;
9491
9575
  _this.denominacionComponente = e.dencom;
@@ -9499,7 +9583,8 @@
9499
9583
  }
9500
9584
  MComponete.prototype.dataInterface = function () {
9501
9585
  return {
9502
- id_empresa: this.idEmpresa.toString(),
9586
+ id_enterprise: this.idEnterprise.toString(),
9587
+ id_empresa: this.idEmpresa,
9503
9588
  id_componente: this.idComponente.toString(),
9504
9589
  codcom: this.codigoComponente,
9505
9590
  dencom: this.denominacionComponente,
@@ -9515,6 +9600,7 @@
9515
9600
  function MConcursante(e) {
9516
9601
  if (e === void 0) { e = null; }
9517
9602
  var _this = _super.call(this) || this;
9603
+ _this.idEnterprise = 0;
9518
9604
  _this.idEmpresa = 0;
9519
9605
  _this.idConcurso = 0;
9520
9606
  _this.codigoConcurso = '';
@@ -9541,7 +9627,8 @@
9541
9627
  _this.nivelAcademico = 0;
9542
9628
  _this.estatusRequisitos = 1;
9543
9629
  if (e) {
9544
- _this.idEmpresa = parseInt(e.id_empresa);
9630
+ _this.idEnterprise = +e.id_enterprise;
9631
+ _this.idEmpresa = +e.id_empresa;
9545
9632
  _this.idConcurso = parseInt(e.id_concurso);
9546
9633
  _this.codigoConcurso = e.codcon;
9547
9634
  _this.idConcursante = parseInt(e.id_concursante);
@@ -9571,7 +9658,8 @@
9571
9658
  }
9572
9659
  MConcursante.prototype.dataInterface = function () {
9573
9660
  return {
9574
- id_empresa: this.idEmpresa.toString(),
9661
+ id_enterprise: this.idEnterprise.toString(),
9662
+ id_empresa: this.idEmpresa,
9575
9663
  id_concurso: this.idConcurso.toString(),
9576
9664
  codcon: this.codigoConcurso,
9577
9665
  id_concursante: this.idConcursante.toString(),
@@ -9604,6 +9692,7 @@
9604
9692
  __extends(MTrabajosConcursantes, _super);
9605
9693
  function MTrabajosConcursantes(e) {
9606
9694
  var _this = _super.call(this) || this;
9695
+ _this.idEnterprise = 0;
9607
9696
  _this.idEmpresa = 0;
9608
9697
  _this.idConcurso = 0;
9609
9698
  _this.idConcursante = 0;
@@ -9614,7 +9703,8 @@
9614
9703
  _this.fechaIngreso = '';
9615
9704
  _this.fechaRetiro = '';
9616
9705
  if (e) {
9617
- _this.idEmpresa = parseInt(e.id_empresa);
9706
+ _this.idEnterprise = +e.id_enterprise;
9707
+ _this.idEmpresa = +e.id_empresa;
9618
9708
  _this.idConcurso = parseInt(e.id_concurso);
9619
9709
  _this.idConcursante = parseInt(e.id_concursante);
9620
9710
  _this.idTrabajo = parseInt(e.id_trabajocon);
@@ -9631,7 +9721,8 @@
9631
9721
  }
9632
9722
  MTrabajosConcursantes.prototype.dataInterface = function () {
9633
9723
  return {
9634
- id_empresa: this.idEmpresa.toString(),
9724
+ id_enterprise: this.idEnterprise.toString(),
9725
+ id_empresa: this.idEmpresa,
9635
9726
  id_concurso: this.idConcurso.toString(),
9636
9727
  id_concursante: this.idConcursante.toString(),
9637
9728
  id_trabajocon: this.idTrabajo.toString(),
@@ -9649,6 +9740,7 @@
9649
9740
  function MEstudiosConcursantes(e) {
9650
9741
  if (e === void 0) { e = null; }
9651
9742
  var _this = _super.call(this) || this;
9743
+ _this.idEnterprise = 0;
9652
9744
  _this.idEmpresa = 0;
9653
9745
  _this.idConcurso = 0;
9654
9746
  _this.idConcursante = 0;
@@ -9662,7 +9754,8 @@
9662
9754
  _this.yearAprobados = 0;
9663
9755
  _this.horasEstudiosRealizadas = 0;
9664
9756
  if (e) {
9665
- _this.idEmpresa = parseInt(e.id_empresa);
9757
+ _this.idEnterprise = +e.id_enterprise;
9758
+ _this.idEmpresa = +e.id_empresa;
9666
9759
  _this.idConcurso = parseInt(e.id_concurso);
9667
9760
  _this.idConcursante = parseInt(e.id_concursante);
9668
9761
  _this.idEstudio = parseInt(e.id_estudiocon);
@@ -9682,7 +9775,8 @@
9682
9775
  }
9683
9776
  MEstudiosConcursantes.prototype.dataInterface = function () {
9684
9777
  return {
9685
- id_empresa: this.idEmpresa.toString(),
9778
+ id_enterprise: this.idEnterprise.toString(),
9779
+ id_empresa: this.idEmpresa,
9686
9780
  id_concurso: this.idConcurso.toString(),
9687
9781
  id_concursante: this.idConcursante.toString(),
9688
9782
  id_estudiocon: this.idEstudio.toString(),
@@ -9748,6 +9842,7 @@
9748
9842
  function MFamiliaConcursante(e) {
9749
9843
  if (e === void 0) { e = null; }
9750
9844
  var _this = _super.call(this) || this;
9845
+ _this.idEnterprise = 0;
9751
9846
  _this.idEmpresa = 0;
9752
9847
  _this.idConcurso = 0;
9753
9848
  _this.idConcursante = 0;
@@ -9760,7 +9855,8 @@
9760
9855
  _this.nexo = '';
9761
9856
  _this.fecha = '';
9762
9857
  if (e) {
9763
- _this.idEmpresa = parseInt(e.id_empresa);
9858
+ _this.idEnterprise = +e.id_enterprise;
9859
+ _this.idEmpresa = +e.id_empresa;
9764
9860
  _this.idConcurso = parseInt(e.id_concurso);
9765
9861
  _this.idConcursante = parseInt(e.id_concursante);
9766
9862
  _this.idFamiliar = parseInt(e.id_familiacon);
@@ -9779,7 +9875,8 @@
9779
9875
  }
9780
9876
  MFamiliaConcursante.prototype.dataInterface = function () {
9781
9877
  return {
9782
- id_empresa: this.idEmpresa.toString(),
9878
+ id_enterprise: this.idEnterprise.toString(),
9879
+ id_empresa: this.idEmpresa,
9783
9880
  id_concurso: this.idConcurso.toString(),
9784
9881
  id_concursante: this.idConcursante.toString(),
9785
9882
  id_familiacon: this.idFamiliar.toString(),
@@ -9799,6 +9896,7 @@
9799
9896
  function MFormacionInformal(e) {
9800
9897
  if (e === void 0) { e = null; }
9801
9898
  var _this = _super.call(this) || this;
9899
+ _this.idEnterprise = 0;
9802
9900
  _this.idEmpresa = 0;
9803
9901
  _this.idConcurso = 0;
9804
9902
  _this.idConcursante = 0;
@@ -9807,7 +9905,8 @@
9807
9905
  _this.descripcionCurso = '';
9808
9906
  _this.horasCurso = 0;
9809
9907
  if (e) {
9810
- _this.idEmpresa = parseInt(e.id_empresa);
9908
+ _this.idEnterprise = +e.id_enterprise;
9909
+ _this.idEmpresa = +e.id_empresa;
9811
9910
  _this.idConcursante = parseInt(e.id_concurso);
9812
9911
  _this.idConcursante = parseInt(e.id_concursante);
9813
9912
  _this.idCurso = parseInt(e.id_curso);
@@ -9822,7 +9921,8 @@
9822
9921
  }
9823
9922
  MFormacionInformal.prototype.dataInterface = function () {
9824
9923
  return {
9825
- id_empresa: this.idEmpresa.toString(),
9924
+ id_enterprise: this.idEnterprise.toString(),
9925
+ id_empresa: this.idEmpresa,
9826
9926
  id_concurso: this.idConcurso.toString(),
9827
9927
  id_concursante: this.idConcurso.toString(),
9828
9928
  id_curso: this.idCurso.toString(),
@@ -9838,6 +9938,7 @@
9838
9938
  __extends(MRequisitosConcursos, _super);
9839
9939
  function MRequisitosConcursos(e) {
9840
9940
  var _this = _super.call(this) || this;
9941
+ _this.idEnterprise = 0;
9841
9942
  _this.idEmpresa = 0;
9842
9943
  _this.idConcurso = 0;
9843
9944
  _this.idRequisito = 0;
@@ -9846,7 +9947,8 @@
9846
9947
  _this.cantidadRequisito = 0;
9847
9948
  _this.requisitoIndispensable = 0;
9848
9949
  if (e) {
9849
- _this.idEmpresa = parseInt(e.id_empresa);
9950
+ _this.idEnterprise = +e.id_enterprise;
9951
+ _this.idEmpresa = +e.id_empresa;
9850
9952
  _this.idConcurso = parseInt(e.id_concurso);
9851
9953
  _this.idRequisito = parseInt(e.id_reqcon);
9852
9954
  _this.codigoRequisito = e.codreqcon;
@@ -9858,7 +9960,8 @@
9858
9960
  }
9859
9961
  MRequisitosConcursos.prototype.dataInterface = function () {
9860
9962
  return {
9861
- id_empresa: this.idEmpresa.toString(),
9963
+ id_enterprise: this.idEnterprise.toString(),
9964
+ id_empresa: this.idEmpresa,
9862
9965
  id_concurso: this.idConcurso.toString(),
9863
9966
  id_reqcon: this.idRequisito.toString(),
9864
9967
  codreqcon: this.codigoRequisito,
@@ -9875,6 +9978,7 @@
9875
9978
  function MConcurso(e) {
9876
9979
  if (e === void 0) { e = null; }
9877
9980
  var _this = _super.call(this) || this;
9981
+ _this.idEnterprise = 0;
9878
9982
  _this.idEmpresa = 0;
9879
9983
  _this.idConcurso = 0;
9880
9984
  _this.codigoConcurso = '';
@@ -9891,7 +9995,8 @@
9891
9995
  _this.detalleRequisitos = [];
9892
9996
  _this.eliminarDetalles = [];
9893
9997
  if (e) {
9894
- _this.idEmpresa = parseInt(e.id_empresa);
9998
+ _this.idEnterprise = +e.id_enterprise;
9999
+ _this.idEmpresa = +e.id_empresa;
9895
10000
  _this.idConcurso = parseInt(e.id_concurso);
9896
10001
  _this.codigoConcurso = e.codcon;
9897
10002
  _this.denominacionConcurso = e.dencon;
@@ -9912,7 +10017,8 @@
9912
10017
  }
9913
10018
  MConcurso.prototype.dataInterface = function () {
9914
10019
  return {
9915
- id_empresa: this.idEmpresa.toString(),
10020
+ id_enterprise: this.idEnterprise.toString(),
10021
+ id_empresa: this.idEmpresa,
9916
10022
  id_concurso: this.idConcurso.toString(),
9917
10023
  codcon: this.codigoConcurso,
9918
10024
  dencon: this.denominacionConcurso,
@@ -9935,6 +10041,7 @@
9935
10041
  function MPrevioEvaluacion(e) {
9936
10042
  if (e === void 0) { e = null; }
9937
10043
  var _this = _super.call(this) || this;
10044
+ _this.idEnterprise = 0;
9938
10045
  _this.idEmpresa = 0;
9939
10046
  _this.idPrevio = 0;
9940
10047
  _this.proceso = '';
@@ -9954,7 +10061,8 @@
9954
10061
  _this.estatusRegistro = 0;
9955
10062
  _this.detallesRegistro = [];
9956
10063
  if (e) {
9957
- _this.idEmpresa = parseInt(e.id_empresa);
10064
+ _this.idEnterprise = +e.id_enterprise;
10065
+ _this.idEmpresa = +e.id_empresa;
9958
10066
  _this.idPrevio = parseInt(e.id_previo);
9959
10067
  _this.proceso = e.proceso;
9960
10068
  _this.idConcurso = parseInt(e.id_concurso);
@@ -9981,7 +10089,8 @@
9981
10089
  }
9982
10090
  MPrevioEvaluacion.prototype.dataInterface = function () {
9983
10091
  return {
9984
- id_empresa: this.idEmpresa.toString(),
10092
+ id_enterprise: this.idEnterprise.toString(),
10093
+ id_empresa: this.idEmpresa,
9985
10094
  id_previo: this.idPrevio.toString(),
9986
10095
  proceso: this.proceso,
9987
10096
  id_concurso: this.idConcurso.toString(),
@@ -10009,6 +10118,7 @@
10009
10118
  function MPrevioEvaluacionDt(e) {
10010
10119
  if (e === void 0) { e = null; }
10011
10120
  var _this = _super.call(this) || this;
10121
+ _this.idEnterprise = 0;
10012
10122
  _this.idEmpresa = 0;
10013
10123
  _this.idPrevio = 0;
10014
10124
  _this.idAspecto = 0;
@@ -10020,7 +10130,8 @@
10020
10130
  _this.puntos = 0;
10021
10131
  _this.valorMaximo = 0;
10022
10132
  if (e) {
10023
- _this.idEmpresa = parseInt(e.id_empresa);
10133
+ _this.idEnterprise = +e.id_enterprise;
10134
+ _this.idEmpresa = +e.id_empresa;
10024
10135
  _this.idPrevio = parseInt(e.id_previo);
10025
10136
  _this.idAspecto = parseInt(e.id_aspecto);
10026
10137
  _this.idTipoEvaluacion = parseInt(e.id_tipoeval);
@@ -10038,7 +10149,8 @@
10038
10149
  }
10039
10150
  MPrevioEvaluacionDt.prototype.dataInterface = function () {
10040
10151
  return {
10041
- id_empresa: this.idEmpresa.toString(),
10152
+ id_enterprise: this.idEnterprise.toString(),
10153
+ id_empresa: this.idEmpresa,
10042
10154
  id_previo: this.idPrevio.toString(),
10043
10155
  id_tipoeval: this.idTipoEvaluacion.toString(),
10044
10156
  id_aspecto: this.idAspecto.toString(),
@@ -10056,6 +10168,7 @@
10056
10168
  __extends(MResultadosEvaluacion, _super);
10057
10169
  function MResultadosEvaluacion(e) {
10058
10170
  var _this = _super.call(this) || this;
10171
+ _this.idEnterprise = 0;
10059
10172
  _this.idEmpresa = 0;
10060
10173
  _this.idEvaluacion = 0;
10061
10174
  _this.idConcurso = 0;
@@ -10072,7 +10185,8 @@
10072
10185
  _this.resultado_rqm = 0;
10073
10186
  _this.usuarioRegistro = '';
10074
10187
  if (e) {
10075
- _this.idEmpresa = parseInt(e.id_empresa);
10188
+ _this.idEnterprise = +e.id_enterprise;
10189
+ _this.idEmpresa = +e.id_empresa;
10076
10190
  _this.idEvaluacion = parseInt(e.id_evaluacion);
10077
10191
  _this.idConcurso = parseInt(e.id_concurso);
10078
10192
  _this.codigoConcurso = e.codcon,
@@ -10096,7 +10210,8 @@
10096
10210
  }
10097
10211
  MResultadosEvaluacion.prototype.dataInterface = function () {
10098
10212
  return {
10099
- id_empresa: this.idEmpresa.toString(),
10213
+ id_enterprise: this.idEnterprise.toString(),
10214
+ id_empresa: this.idEmpresa,
10100
10215
  id_evaluacion: this.idEvaluacion.toString(),
10101
10216
  id_concurso: this.idConcurso.toString(),
10102
10217
  codcon: this.codigoConcurso,
@@ -10121,6 +10236,7 @@
10121
10236
  __extends(MTipoPersonal, _super);
10122
10237
  function MTipoPersonal(e) {
10123
10238
  var _this = _super.call(this) || this;
10239
+ _this.idEnterprise = 0;
10124
10240
  _this.idEmpresa = 0;
10125
10241
  _this.idDedicacion = 0;
10126
10242
  _this.idTipoPersonal = 0;
@@ -10128,7 +10244,8 @@
10128
10244
  _this.codigoTipoPersonal = '';
10129
10245
  _this.denominacionTipoPersonal = '';
10130
10246
  if (e) {
10131
- _this.idEmpresa = parseInt(e.id_empresa);
10247
+ _this.idEnterprise = +e.id_enterprise;
10248
+ _this.idEmpresa = +e.id_empresa;
10132
10249
  _this.idDedicacion = parseInt(e.id_dedicacion);
10133
10250
  _this.idTipoPersonal = parseInt(e.id_tipopersonal);
10134
10251
  _this.idDtTipoPersonal = parseInt(e.id_dt_tipopersonal);
@@ -10139,7 +10256,8 @@
10139
10256
  }
10140
10257
  MTipoPersonal.prototype.dataInterface = function () {
10141
10258
  return {
10142
- id_empresa: this.idEmpresa.toString(),
10259
+ id_enterprise: this.idEnterprise.toString(),
10260
+ id_empresa: this.idEmpresa,
10143
10261
  id_tipopersonal: this.idTipoPersonal.toString(),
10144
10262
  id_dedicacion: this.idDedicacion.toString(),
10145
10263
  id_dt_tipopersonal: this.idDtTipoPersonal.toString(),
@@ -10155,13 +10273,15 @@
10155
10273
  function MDedicacion(e) {
10156
10274
  if (e === void 0) { e = null; }
10157
10275
  var _this = _super.call(this) || this;
10276
+ _this.idEnterprise = 0;
10158
10277
  _this.idEmpresa = 0;
10159
10278
  _this.idDedicacion = 0;
10160
10279
  _this.codigoDedicacion = '';
10161
10280
  _this.denominacionDedicacion = '';
10162
10281
  _this.tipoPersonal = [];
10163
10282
  if (e) {
10164
- _this.idEmpresa = parseInt(e.id_empresa);
10283
+ _this.idEnterprise = +e.id_enterprise;
10284
+ _this.idEmpresa = +e.id_empresa;
10165
10285
  _this.idDedicacion = parseInt(e.id_dedicacion);
10166
10286
  _this.codigoDedicacion = e.codded;
10167
10287
  _this.denominacionDedicacion = e.dended;
@@ -10174,7 +10294,8 @@
10174
10294
  }
10175
10295
  MDedicacion.prototype.dataInterface = function () {
10176
10296
  return {
10177
- id_empresa: this.idEmpresa.toString(),
10297
+ id_enterprise: this.idEnterprise.toString(),
10298
+ id_empresa: this.idEmpresa,
10178
10299
  id_dedicacion: this.idDedicacion.toString(),
10179
10300
  codded: this.codigoDedicacion,
10180
10301
  dended: this.denominacionDedicacion,
@@ -10189,12 +10310,16 @@
10189
10310
  function MDefinicionesBasicas(e) {
10190
10311
  if (e === void 0) { e = null; }
10191
10312
  var _this = _super.call(this) || this;
10313
+ _this.idEnterprise = 0;
10314
+ _this.idEmpresa = 0;
10192
10315
  _this.idDefinicion = -1;
10193
10316
  _this.codigo = '';
10194
10317
  _this.denominacion = '';
10195
10318
  _this.tipoPersonalObrero = false;
10196
10319
  _this.observacionRetenciones = '';
10197
10320
  if (e) {
10321
+ _this.idEnterprise = +e.id_enterprise;
10322
+ _this.idEmpresa = +e.id_empresa;
10198
10323
  _this.idDefinicion = parseInt(e.id);
10199
10324
  _this.codigo = e.coddef;
10200
10325
  _this.denominacion = e.dendef;
@@ -10217,6 +10342,8 @@
10217
10342
  tipo = '1';
10218
10343
  }
10219
10344
  return {
10345
+ id_enterprise: this.idEnterprise.toString(),
10346
+ id_empresa: this.idEmpresa,
10220
10347
  id: this.idDefinicion.toString(),
10221
10348
  coddef: this.codigo,
10222
10349
  dendef: this.denominacion,
@@ -10230,6 +10357,7 @@
10230
10357
  __extends(MSueldoMinimo, _super);
10231
10358
  function MSueldoMinimo(e) {
10232
10359
  var _this = _super.call(this) || this;
10360
+ _this.idEnterprise = 0;
10233
10361
  _this.idEmpresa = 0;
10234
10362
  _this.idSueldoMinimo = 0;
10235
10363
  _this.codigoSueldoMinimo = '';
@@ -10239,7 +10367,8 @@
10239
10367
  _this.montoSueldoMinimo = 0;
10240
10368
  _this.observacionSueldoMinimo = '';
10241
10369
  if (e) {
10242
- _this.idEmpresa = parseInt(e.id_empresa);
10370
+ _this.idEnterprise = +e.id_enterprise;
10371
+ _this.idEmpresa = +e.id_empresa;
10243
10372
  _this.idSueldoMinimo = parseInt(e.id_sueldominimo);
10244
10373
  _this.codigoSueldoMinimo = e.codsuemin;
10245
10374
  _this.annoSueldoMinimo = parseInt(e.anosuemin);
@@ -10252,7 +10381,8 @@
10252
10381
  }
10253
10382
  MSueldoMinimo.prototype.dataInterface = function () {
10254
10383
  return {
10255
- id_empresa: this.idEmpresa.toString(),
10384
+ id_enterprise: this.idEnterprise.toString(),
10385
+ id_empresa: this.idEmpresa,
10256
10386
  id_sueldominimo: this.idSueldoMinimo.toString(),
10257
10387
  codsuemin: this.codigoSueldoMinimo,
10258
10388
  anosuemin: this.annoSueldoMinimo.toString(),
@@ -10270,6 +10400,7 @@
10270
10400
  function MDeudaAnterior(e) {
10271
10401
  if (e === void 0) { e = null; }
10272
10402
  var _this = _super.call(this) || this;
10403
+ _this.idEnterprise = 0;
10273
10404
  _this.idEmpresa = 0;
10274
10405
  _this.idPersonal = 0;
10275
10406
  _this.fechaCorteDeuda = '1900-01-01';
@@ -10278,6 +10409,7 @@
10278
10409
  _this.montoDeudaAnterior = 0;
10279
10410
  _this.montoAnticipoInteres = 0;
10280
10411
  if (e) {
10412
+ _this.idEnterprise = +e.id_enterprise;
10281
10413
  _this.idEmpresa = +e.id_empresa;
10282
10414
  _this.idPersonal = +e.id_personal;
10283
10415
  _this.fechaCorteDeuda = e.feccordeu;
@@ -10293,6 +10425,7 @@
10293
10425
  }
10294
10426
  MDeudaAnterior.prototype.dataInterface = function () {
10295
10427
  return {
10428
+ id_enterprise: this.idEnterprise.toString(),
10296
10429
  id_empresa: this.idEmpresa,
10297
10430
  id_personal: this.idPersonal,
10298
10431
  feccordeu: this.fechaCorteDeuda,
@@ -10309,6 +10442,7 @@
10309
10442
  __extends(MEscalaEvaluacionDt, _super);
10310
10443
  function MEscalaEvaluacionDt(e) {
10311
10444
  var _this = _super.call(this) || this;
10445
+ _this.idEnterprise = 0;
10312
10446
  _this.idEmpresa = 0;
10313
10447
  _this.idEscala = 0;
10314
10448
  _this.codigoDetalleEscala = '';
@@ -10317,7 +10451,8 @@
10317
10451
  _this.valorFinalDetalleEscala = 0;
10318
10452
  _this.idDtEscala = 0;
10319
10453
  if (e) {
10320
- _this.idEmpresa = parseInt(e.id_empresa);
10454
+ _this.idEnterprise = +e.id_enterprise;
10455
+ _this.idEmpresa = +e.id_empresa;
10321
10456
  _this.idEscala = parseInt(e.id_escala);
10322
10457
  _this.codigoDetalleEscala = e.coddetesc;
10323
10458
  _this.denominacionDetalleEscala = e.dendetesc;
@@ -10329,7 +10464,8 @@
10329
10464
  }
10330
10465
  MEscalaEvaluacionDt.prototype.dataInterface = function () {
10331
10466
  return {
10332
- id_empresa: this.idEmpresa.toString(),
10467
+ id_enterprise: this.idEnterprise.toString(),
10468
+ id_empresa: this.idEmpresa,
10333
10469
  id_escala: this.idEscala.toString(),
10334
10470
  coddetesc: this.codigoDetalleEscala,
10335
10471
  dendetesc: this.denominacionDetalleEscala,
@@ -10345,6 +10481,7 @@
10345
10481
  __extends(MEscalaEvaluacion, _super);
10346
10482
  function MEscalaEvaluacion(e) {
10347
10483
  var _this = _super.call(this) || this;
10484
+ _this.idEnterprise = 0;
10348
10485
  _this.idEmpresa = 0;
10349
10486
  _this.idEscala = 0;
10350
10487
  _this.codigoEscala = '';
@@ -10353,7 +10490,8 @@
10353
10490
  _this.valorFinalEscala = 0;
10354
10491
  _this.detalles = [];
10355
10492
  if (e) {
10356
- _this.idEmpresa = parseInt(e.id_empresa);
10493
+ _this.idEnterprise = +e.id_enterprise;
10494
+ _this.idEmpresa = +e.id_empresa;
10357
10495
  _this.idEscala = parseInt(e.id_escala);
10358
10496
  _this.codigoEscala = e.codesc;
10359
10497
  _this.denominacionEscala = e.denesc;
@@ -10365,7 +10503,8 @@
10365
10503
  }
10366
10504
  MEscalaEvaluacion.prototype.dataInterface = function () {
10367
10505
  return {
10368
- id_empresa: this.idEmpresa.toString(),
10506
+ id_enterprise: this.idEnterprise.toString(),
10507
+ id_empresa: this.idEmpresa,
10369
10508
  id_escala: this.idEscala.toString(),
10370
10509
  codesc: this.codigoEscala,
10371
10510
  denesc: this.denominacionEscala,
@@ -10381,6 +10520,7 @@
10381
10520
  __extends(MEstructuraOrganizativa, _super);
10382
10521
  function MEstructuraOrganizativa(e) {
10383
10522
  var _this = _super.call(this) || this;
10523
+ _this.idEnterprise = 0;
10384
10524
  _this.idEmpresa = 0;
10385
10525
  _this.idOrganigrama = 0;
10386
10526
  _this.codigoEstructuraOrganizativa = '';
@@ -10414,7 +10554,8 @@
10414
10554
  _this.ubicacionZona = 0;
10415
10555
  _this.ubicacionNoAplica = 0;
10416
10556
  if (e) {
10417
- _this.idEmpresa = parseInt(e.id_empresa);
10557
+ _this.idEnterprise = +e.id_enterprise;
10558
+ _this.idEmpresa = +e.id_empresa;
10418
10559
  _this.idOrganigrama = parseInt(e.id_organigrama);
10419
10560
  _this.codigoEstructuraOrganizativa = e.codestorg;
10420
10561
  _this.denominacionEstructuraOrganizativa = e.denestorg;
@@ -10451,7 +10592,8 @@
10451
10592
  }
10452
10593
  MEstructuraOrganizativa.prototype.dataInterface = function () {
10453
10594
  return {
10454
- id_empresa: this.idEmpresa.toString(),
10595
+ id_enterprise: this.idEnterprise.toString(),
10596
+ id_empresa: this.idEmpresa,
10455
10597
  id_organigrama: this.idOrganigrama.toString(),
10456
10598
  codestorg: this.codigoEstructuraOrganizativa,
10457
10599
  denestorg: this.denominacionEstructuraOrganizativa,
@@ -10492,6 +10634,7 @@
10492
10634
  __extends(MFamiliares, _super);
10493
10635
  function MFamiliares(e) {
10494
10636
  var _this = _super.call(this) || this;
10637
+ _this.idEnterprise = 0;
10495
10638
  _this.idEmpresa = 0;
10496
10639
  _this.idPersonal = 0;
10497
10640
  _this.idFamiliar = 0;
@@ -10517,7 +10660,8 @@
10517
10660
  _this.Nexo = Nexofamiliar;
10518
10661
  _this.Academico = NivelAcademicoFamiliar;
10519
10662
  if (e) {
10520
- _this.idEmpresa = parseInt(e.id_empresa);
10663
+ _this.idEnterprise = +e.id_enterprise;
10664
+ _this.idEmpresa = +e.id_empresa;
10521
10665
  _this.idPersonal = parseInt(e.id_personal);
10522
10666
  _this.idFamiliar = parseInt(e.id_familiar);
10523
10667
  _this.cedulaFamiliar = e.cedfam;
@@ -10547,7 +10691,8 @@
10547
10691
  }
10548
10692
  MFamiliares.prototype.dataInterface = function () {
10549
10693
  return {
10550
- id_empresa: this.idEmpresa.toString(),
10694
+ id_enterprise: this.idEnterprise.toString(),
10695
+ id_empresa: this.idEmpresa,
10551
10696
  id_personal: this.idPersonal.toString(),
10552
10697
  id_familiar: this.idFamiliar.toString(),
10553
10698
  cedfam: this.cedulaFamiliar,
@@ -10621,6 +10766,7 @@
10621
10766
  __extends(MFideicomiso, _super);
10622
10767
  function MFideicomiso(e) {
10623
10768
  var _this = _super.call(this) || this;
10769
+ _this.idEnterprise = 0;
10624
10770
  _this.idEmpresa = 0;
10625
10771
  _this.idPersonal = 0;
10626
10772
  _this.idfideicomiso = 0;
@@ -10641,7 +10787,8 @@
10641
10787
  _this.denominacionUbicacionFisica = '';
10642
10788
  _this.codigoUbicacionFisica = '';
10643
10789
  if (e) {
10644
- _this.idEmpresa = parseInt(e.id_empresa);
10790
+ _this.idEnterprise = +e.id_enterprise;
10791
+ _this.idEmpresa = +e.id_empresa;
10645
10792
  _this.idPersonal = parseInt(e.id_personal);
10646
10793
  _this.idfideicomiso = parseInt(e.id_fideicomiso);
10647
10794
  _this.codigoFideicomiso = e.codfid;
@@ -10668,7 +10815,8 @@
10668
10815
  }
10669
10816
  MFideicomiso.prototype.dataInterface = function () {
10670
10817
  return {
10671
- id_empresa: this.idEmpresa.toString(),
10818
+ id_enterprise: this.idEnterprise.toString(),
10819
+ id_empresa: this.idEmpresa,
10672
10820
  id_personal: this.idPersonal.toString(),
10673
10821
  id_fideicomiso: this.idfideicomiso.toString(),
10674
10822
  codfid: this.codigoFideicomiso,
@@ -10692,6 +10840,7 @@
10692
10840
  __extends(MConfiguracionFideicomiso, _super);
10693
10841
  function MConfiguracionFideicomiso(e) {
10694
10842
  var _this = _super.call(this) || this;
10843
+ _this.idEnterprise = 0;
10695
10844
  _this.idEmpresa = 0;
10696
10845
  _this.idFideicomisoConfiguracion = 0;
10697
10846
  _this.idDedicacion = 0;
@@ -10706,7 +10855,8 @@
10706
10855
  _this.denominacionTipoPersonal = '';
10707
10856
  _this.formulaFideicomiso = 'xxx';
10708
10857
  if (e) {
10709
- _this.idEmpresa = parseInt(e.id_empresa);
10858
+ _this.idEnterprise = +e.id_enterprise;
10859
+ _this.idEmpresa = +e.id_empresa;
10710
10860
  _this.idDedicacion = parseInt(e.id_dedicacion);
10711
10861
  _this.idTipoPersonal = parseInt(e.id_tipopersonal);
10712
10862
  _this.anioCursoFideicomiso = e.anocurfid;
@@ -10727,7 +10877,8 @@
10727
10877
  }
10728
10878
  MConfiguracionFideicomiso.prototype.dataInterface = function () {
10729
10879
  return {
10730
- id_empresa: this.idEmpresa.toString(),
10880
+ id_enterprise: this.idEnterprise.toString(),
10881
+ id_empresa: this.idEmpresa,
10731
10882
  id_fidconfig: this.idFideicomisoConfiguracion.toString(),
10732
10883
  id_dedicacion: this.idDedicacion.toString(),
10733
10884
  id_tipopersonal: this.idTipoPersonal.toString(),
@@ -10744,6 +10895,7 @@
10744
10895
  __extends(MFideicomisoInteres, _super);
10745
10896
  function MFideicomisoInteres(e) {
10746
10897
  var _this = _super.call(this) || this;
10898
+ _this.idEnterprise = 0;
10747
10899
  _this.idEmpresa = 0;
10748
10900
  _this.idInteresFideicomiso = 0;
10749
10901
  _this.mesInteres = 0;
@@ -10752,7 +10904,8 @@
10752
10904
  _this.fechaVigenciaGacetaInteres = '1900-01-01';
10753
10905
  _this.montoTasaInteres = 0;
10754
10906
  if (e) {
10755
- _this.idEmpresa = parseInt(e.id_empresa);
10907
+ _this.idEnterprise = +e.id_enterprise;
10908
+ _this.idEmpresa = +e.id_empresa;
10756
10909
  _this.idInteresFideicomiso = parseInt(e.id_intfide);
10757
10910
  _this.mesInteres = parseInt(e.mesint);
10758
10911
  _this.anioInteres = parseInt(e.anoint);
@@ -10767,7 +10920,8 @@
10767
10920
  }
10768
10921
  MFideicomisoInteres.prototype.dataInterface = function () {
10769
10922
  return {
10770
- id_empresa: this.idEmpresa.toString(),
10923
+ id_enterprise: this.idEnterprise.toString(),
10924
+ id_empresa: this.idEmpresa,
10771
10925
  id_intfide: this.idInteresFideicomiso.toString(),
10772
10926
  mesint: this.mesInteres.toString(),
10773
10927
  anoint: this.anioInteres.toString(),
@@ -10783,6 +10937,7 @@
10783
10937
  function MCalculoPrestacion(e) {
10784
10938
  if (e === void 0) { e = null; }
10785
10939
  var _this = _super.call(this) || this;
10940
+ _this.idEnterprise = 0;
10786
10941
  _this.idEmpresa = 0;
10787
10942
  _this.mes = '';
10788
10943
  _this.anio = '';
@@ -10791,7 +10946,8 @@
10791
10946
  _this.mesCalculado = '';
10792
10947
  _this.anioCalculado = '';
10793
10948
  if (e) {
10794
- _this.idEmpresa = parseInt(e.id_empresa);
10949
+ _this.idEnterprise = +e.id_enterprise;
10950
+ _this.idEmpresa = +e.id_empresa;
10795
10951
  _this.mes = e.mes;
10796
10952
  _this.anio = e.anio;
10797
10953
  _this.cedulaDesde = e.cedula_desde;
@@ -10806,7 +10962,8 @@
10806
10962
  }
10807
10963
  MCalculoPrestacion.prototype.dataInterface = function () {
10808
10964
  return {
10809
- id_empresa: this.idEmpresa.toString(),
10965
+ id_enterprise: this.idEnterprise.toString(),
10966
+ id_empresa: this.idEmpresa,
10810
10967
  mes: this.mes,
10811
10968
  anio: this.anio,
10812
10969
  cedula_desde: this.cedulaDesde,
@@ -10822,6 +10979,7 @@
10822
10979
  function MFideicomisoPeriodo(e) {
10823
10980
  if (e === void 0) { e = null; }
10824
10981
  var _this = _super.call(this) || this;
10982
+ _this.idEnterprise = 0;
10825
10983
  _this.idEmpresa = 0;
10826
10984
  _this.idPersonal = 0;
10827
10985
  _this.idNomina = 0;
@@ -10916,6 +11074,8 @@
10916
11074
  function MFideicomisoPeriodoInteresCatalogo(e) {
10917
11075
  if (e === void 0) { e = null; }
10918
11076
  var _this = _super.call(this) || this;
11077
+ _this.idEnterprise = 0;
11078
+ _this.idEmpresa = 0;
10919
11079
  _this.idPersonal = 0;
10920
11080
  _this.codigoPersonal = '';
10921
11081
  _this.cedulaPersonal = '';
@@ -10926,6 +11086,8 @@
10926
11086
  _this.denominacionEstatus = '';
10927
11087
  _this.interes = [];
10928
11088
  if (e) {
11089
+ _this.idEnterprise = +e.id_enterprise;
11090
+ _this.idEmpresa = +e.id_empresa;
10929
11091
  _this.idPersonal = +e.id_personal;
10930
11092
  _this.codigoPersonal = e.codper;
10931
11093
  _this.cedulaPersonal = e.cedper;
@@ -10957,6 +11119,7 @@
10957
11119
  function MFideicomisoPeriodoInteres(e) {
10958
11120
  if (e === void 0) { e = null; }
10959
11121
  var _this = _super.call(this) || this;
11122
+ _this.idEnterprise = 0;
10960
11123
  _this.idEmpresa = 0;
10961
11124
  _this.idPersonal = 0;
10962
11125
  _this.idNomina = 0;
@@ -11033,6 +11196,7 @@
11033
11196
  __extends(MFormacionAcademica, _super);
11034
11197
  function MFormacionAcademica(e) {
11035
11198
  var _this = _super.call(this) || this;
11199
+ _this.idEnterprise = 0;
11036
11200
  _this.idEmpresa = 0;
11037
11201
  _this.idConcurso = 0;
11038
11202
  _this.idConcursante = 0;
@@ -11045,7 +11209,8 @@
11045
11209
  _this.tituloObtenido = '';
11046
11210
  _this.yearAprobados = 0;
11047
11211
  if (e) {
11048
- _this.idEmpresa = parseInt(e.id_empresa);
11212
+ _this.idEnterprise = +e.id_enterprise;
11213
+ _this.idEmpresa = +e.id_empresa;
11049
11214
  _this.idConcurso = parseInt(e.id_concurso);
11050
11215
  _this.idConcursante = parseInt(e.id_concursante);
11051
11216
  _this.idEstudioConcursante = parseInt(e.id_estudiocon);
@@ -11061,7 +11226,8 @@
11061
11226
  }
11062
11227
  MFormacionAcademica.prototype.dataInterface = function () {
11063
11228
  return {
11064
- id_empresa: this.idEmpresa.toString(),
11229
+ id_enterprise: this.idEnterprise.toString(),
11230
+ id_empresa: this.idEmpresa,
11065
11231
  id_concurso: this.idConcurso.toString(),
11066
11232
  id_concursante: this.idConcursante.toString(),
11067
11233
  id_estudiocon: this.idEstudioConcursante.toString(),
@@ -11082,6 +11248,7 @@
11082
11248
  function MPrimaGrados(e) {
11083
11249
  if (e === void 0) { e = null; }
11084
11250
  var _this = _super.call(this) || this;
11251
+ _this.idEnterprise = 0;
11085
11252
  _this.idEmpresa = 0;
11086
11253
  _this.idTabulador = 0;
11087
11254
  _this.codigoGrado = '';
@@ -11091,7 +11258,8 @@
11091
11258
  _this.montoPrima = 0;
11092
11259
  _this.IdDetallePrima = 0;
11093
11260
  if (e) {
11094
- _this.idEmpresa = parseInt(e.id_empresa);
11261
+ _this.idEnterprise = +e.id_enterprise;
11262
+ _this.idEmpresa = +e.id_empresa;
11095
11263
  _this.idTabulador = parseInt(e.id_tabulador);
11096
11264
  _this.codigoGrado = e.codgra;
11097
11265
  _this.codigoPaso = e.codpas;
@@ -11107,7 +11275,8 @@
11107
11275
  }
11108
11276
  MPrimaGrados.prototype.dataInterface = function () {
11109
11277
  return {
11110
- id_empresa: this.idEmpresa.toString(),
11278
+ id_enterprise: this.idEnterprise.toString(),
11279
+ id_empresa: this.idEmpresa,
11111
11280
  id_tabulador: this.idTabulador.toString(),
11112
11281
  codgra: this.codigoGrado,
11113
11282
  codpas: this.codigoPaso,
@@ -11125,6 +11294,7 @@
11125
11294
  function MGrados(e) {
11126
11295
  if (e === void 0) { e = null; }
11127
11296
  var _this = _super.call(this) || this;
11297
+ _this.idEnterprise = 0;
11128
11298
  _this.idEmpresa = 0;
11129
11299
  _this.idTabulador = 0;
11130
11300
  _this.codigoGrado = 0;
@@ -11136,7 +11306,8 @@
11136
11306
  _this.IdDetalleGrado = 0;
11137
11307
  _this.detallePrima = [];
11138
11308
  if (e) {
11139
- _this.idEmpresa = parseInt(e.id_empresa);
11309
+ _this.idEnterprise = +e.id_enterprise;
11310
+ _this.idEmpresa = +e.id_empresa;
11140
11311
  _this.idTabulador = parseInt(e.id_tabulador);
11141
11312
  _this.codigoGrado = parseInt(e.codgra);
11142
11313
  _this.codigoPaso = parseInt(e.codpas);
@@ -11151,7 +11322,8 @@
11151
11322
  }
11152
11323
  MGrados.prototype.dataInterface = function () {
11153
11324
  return {
11154
- id_empresa: this.idEmpresa.toString(),
11325
+ id_enterprise: this.idEnterprise.toString(),
11326
+ id_empresa: this.idEmpresa,
11155
11327
  id_tabulador: this.idTabulador.toString(),
11156
11328
  codgra: this.codigoGrado.toString(),
11157
11329
  codpas: this.codigoPaso.toString(),
@@ -11171,6 +11343,7 @@
11171
11343
  function MPrimasConcepto(e) {
11172
11344
  if (e === void 0) { e = null; }
11173
11345
  var _this = _super.call(this) || this;
11346
+ _this.idEnterprise = 0;
11174
11347
  _this.idEmpresa = 0;
11175
11348
  _this.idPrimaConcepto = 0;
11176
11349
  _this.idNomina = 0;
@@ -11180,6 +11353,7 @@
11180
11353
  _this.codigoConcepto = '';
11181
11354
  _this.nombreConcepto = '';
11182
11355
  if (e) {
11356
+ _this.idEnterprise = +e.id_enterprise;
11183
11357
  _this.idEmpresa = +e.id_empresa;
11184
11358
  _this.idPrimaConcepto = +e.id_primaconcepto;
11185
11359
  _this.idNomina = +e.id_nomina;
@@ -11196,7 +11370,8 @@
11196
11370
  }
11197
11371
  MPrimasConcepto.prototype.dataInterface = function () {
11198
11372
  return {
11199
- id_empresa: this.idEmpresa.toString(),
11373
+ id_enterprise: this.idEnterprise.toString(),
11374
+ id_empresa: this.idEmpresa,
11200
11375
  id_primaconcepto: this.idPrimaConcepto.toString(),
11201
11376
  id_nomina: this.idNomina.toString(),
11202
11377
  id_concepto: this.idConcepto.toString(),
@@ -11214,6 +11389,7 @@
11214
11389
  function MRequisitosConcursantes(e) {
11215
11390
  if (e === void 0) { e = null; }
11216
11391
  var _this = _super.call(this) || this;
11392
+ _this.idEnterprise = 0;
11217
11393
  _this.idEmpresa = 0;
11218
11394
  _this.idConcurso = 0;
11219
11395
  _this.idConcursante = 0;
@@ -11224,7 +11400,8 @@
11224
11400
  _this.requisitosEntregado = '';
11225
11401
  _this.cantidadEntregado = 0;
11226
11402
  if (e) {
11227
- _this.idEmpresa = parseInt(e.id_empresa);
11403
+ _this.idEnterprise = +e.id_enterprise;
11404
+ _this.idEmpresa = +e.id_empresa;
11228
11405
  _this.idConcursante = parseInt(e.id_concurso);
11229
11406
  _this.idConcursante = parseInt(e.id_concursante);
11230
11407
  _this.idRequisitos = parseInt(e.id_reqcon);
@@ -11241,7 +11418,8 @@
11241
11418
  }
11242
11419
  MRequisitosConcursantes.prototype.dataInterface = function () {
11243
11420
  return {
11244
- id_empresa: this.idEmpresa.toString(),
11421
+ id_enterprise: this.idEnterprise.toString(),
11422
+ id_empresa: this.idEmpresa,
11245
11423
  id_concurso: this.idConcurso.toString(),
11246
11424
  id_concursante: this.idConcurso.toString(),
11247
11425
  id_reqcon: this.idRequisitos.toString(),
@@ -11259,6 +11437,7 @@
11259
11437
  __extends(MRequisitosMinimos, _super);
11260
11438
  function MRequisitosMinimos(e) {
11261
11439
  var _this = _super.call(this) || this;
11440
+ _this.idEnterprise = 0;
11262
11441
  _this.idEmpresa = 0;
11263
11442
  _this.idConcurso = 0;
11264
11443
  _this.idConcursante = 0;
@@ -11275,7 +11454,8 @@
11275
11454
  _this.items = [];
11276
11455
  _this.eliminarDetalles = [];
11277
11456
  if (e) {
11278
- _this.idEmpresa = parseInt(e.id_empresa);
11457
+ _this.idEnterprise = +e.id_enterprise;
11458
+ _this.idEmpresa = +e.id_empresa;
11279
11459
  _this.idConcursante;
11280
11460
  _this.codigoConcursante = e.codper;
11281
11461
  _this.nombreConcursante = e.nomper + ' ' + e.apeper;
@@ -11297,7 +11477,8 @@
11297
11477
  }
11298
11478
  MRequisitosMinimos.prototype.dataInterface = function () {
11299
11479
  return {
11300
- id_empresa: this.idEmpresa.toString(),
11480
+ id_enterprise: this.idEnterprise.toString(),
11481
+ id_empresa: this.idEmpresa,
11301
11482
  id_tipoeval: this.idTipoEvaluacion.toString(),
11302
11483
  id_concurso: this.idConcurso.toString(),
11303
11484
  id_reqmin: this.IdRequisitosMinimos.toString(),
@@ -11319,6 +11500,7 @@
11319
11500
  }(MBasicModel));
11320
11501
  var MDtRequisitosMinimos = /** @class */ (function () {
11321
11502
  function MDtRequisitosMinimos(e) {
11503
+ this.idEnterprise = 0;
11322
11504
  this.idEmpresa = 0;
11323
11505
  this.idConcurso = 0;
11324
11506
  this.fechaEvaluacion = '1900-01-01';
@@ -11332,7 +11514,8 @@
11332
11514
  this.idDtRequisito = 0;
11333
11515
  this.idConcursante = 0;
11334
11516
  if (e) {
11335
- this.idEmpresa = parseInt(e.id_empresa);
11517
+ this.idEnterprise = +e.id_enterprise;
11518
+ this.idEmpresa = +e.id_empresa;
11336
11519
  this.idConcurso = parseInt(e.id_concurso);
11337
11520
  this.idConcursante = parseInt(e.id_concursante);
11338
11521
  this.fechaEvaluacion = this.fechaEvaluacion;
@@ -11348,7 +11531,8 @@
11348
11531
  }
11349
11532
  MDtRequisitosMinimos.prototype.dataInterface = function () {
11350
11533
  return {
11351
- id_empresa: this.idEmpresa.toString(),
11534
+ id_enterprise: this.idEnterprise.toString(),
11535
+ id_empresa: this.idEmpresa,
11352
11536
  id_concurso: this.idConcurso.toString(),
11353
11537
  id_tipoeval: this.idTipoEvaluacion.toString(),
11354
11538
  id_aspecto: this.idAspecto.toString(),
@@ -11370,6 +11554,7 @@
11370
11554
  function MSalarioHistorico(e) {
11371
11555
  if (e === void 0) { e = null; }
11372
11556
  var _this = _super.call(this) || this;
11557
+ _this.idEnterprise = 0;
11373
11558
  _this.idEmpresa = 0;
11374
11559
  _this.idPersonal = 0;
11375
11560
  _this.idDedicacion = 0;
@@ -11389,7 +11574,8 @@
11389
11574
  _this.denominacionDedicacion = '';
11390
11575
  _this.denominacionTipoPersonal = '';
11391
11576
  if (e) {
11392
- _this.idEmpresa = parseInt(e.id_empresa);
11577
+ _this.idEnterprise = +e.id_enterprise;
11578
+ _this.idEmpresa = +e.id_empresa;
11393
11579
  _this.idPersonal = parseInt(e.id_personal);
11394
11580
  _this.idDedicacion = parseInt(e.id_dedicacion);
11395
11581
  _this.idTipoPersonal = parseInt(e.id_tipopersonal);
@@ -11412,7 +11598,8 @@
11412
11598
  }
11413
11599
  MSalarioHistorico.prototype.dataInterface = function () {
11414
11600
  return {
11415
- id_empresa: this.idEmpresa.toString(),
11601
+ id_enterprise: this.idEnterprise.toString(),
11602
+ id_empresa: this.idEmpresa,
11416
11603
  id_personal: this.idPersonal.toString(),
11417
11604
  id_dedicacion: this.idDedicacion.toString(),
11418
11605
  id_tipopersonal: this.idTipoPersonal.toString(),
@@ -11440,6 +11627,7 @@
11440
11627
  function MSolicitudEmpleo(e) {
11441
11628
  if (e === void 0) { e = null; }
11442
11629
  var _this = _super.call(this) || this;
11630
+ _this.idEnterprise = 0;
11443
11631
  _this.idEmpresa = 0;
11444
11632
  _this.idSolicitudEmpleo = 0;
11445
11633
  _this.numeroSolicitud = '';
@@ -11476,7 +11664,8 @@
11476
11664
  _this.pesoSolicitante = 0;
11477
11665
  _this.competenciaPerfilSolicitante = '';
11478
11666
  if (e) {
11479
- _this.idEmpresa = parseInt(e.id_empresa);
11667
+ _this.idEnterprise = +e.id_enterprise;
11668
+ _this.idEmpresa = +e.id_empresa;
11480
11669
  _this.idSolicitudEmpleo = parseInt(e.id_solempleo);
11481
11670
  _this.numeroSolicitud = e.nrosol;
11482
11671
  _this.cedulaSolicitante = e.cedsol;
@@ -11516,7 +11705,8 @@
11516
11705
  }
11517
11706
  MSolicitudEmpleo.prototype.dataInterface = function () {
11518
11707
  return {
11519
- id_empresa: this.idEmpresa.toString(),
11708
+ id_enterprise: this.idEnterprise.toString(),
11709
+ id_empresa: this.idEmpresa,
11520
11710
  id_solempleo: this.idSolicitudEmpleo.toString(),
11521
11711
  nrosol: this.numeroSolicitud,
11522
11712
  cedsol: this.cedulaSolicitante,
@@ -11561,6 +11751,7 @@
11561
11751
  function MTablaVacacionesPeriodo(e) {
11562
11752
  if (e === void 0) { e = null; }
11563
11753
  var _this = _super.call(this) || this;
11754
+ _this.idEnterprise = 0;
11564
11755
  _this.idEmpresa = 0;
11565
11756
  _this.idTablaVaciones = 0;
11566
11757
  _this.lapsoPeriodoVacacional = 0;
@@ -11570,7 +11761,8 @@
11570
11761
  _this.diaAdicionalBonoVacacional = 0;
11571
11762
  _this.idPeriodo = 0;
11572
11763
  if (e) {
11573
- _this.idEmpresa = parseInt(e.id_empresa);
11764
+ _this.idEnterprise = +e.id_enterprise;
11765
+ _this.idEmpresa = +e.id_empresa;
11574
11766
  _this.idTablaVaciones = parseInt(e.id_tabvac);
11575
11767
  _this.lapsoPeriodoVacacional = parseInt(e.lappervac);
11576
11768
  _this.diaAdicionalVacaciones = parseInt(e.diadisvac);
@@ -11583,7 +11775,8 @@
11583
11775
  }
11584
11776
  MTablaVacacionesPeriodo.prototype.dataInterface = function () {
11585
11777
  return {
11586
- id_empresa: this.idEmpresa.toString(),
11778
+ id_enterprise: this.idEnterprise.toString(),
11779
+ id_empresa: this.idEmpresa,
11587
11780
  id_tabvac: this.idTablaVaciones.toString(),
11588
11781
  lappervac: this.lapsoPeriodoVacacional.toString(),
11589
11782
  diadisvac: this.diaAdicionalVacaciones.toString(),
@@ -11599,6 +11792,7 @@
11599
11792
  var MTablaVacaciones = /** @class */ (function () {
11600
11793
  function MTablaVacaciones(e) {
11601
11794
  if (e === void 0) { e = null; }
11795
+ this.idEnterprise = 0;
11602
11796
  this.idEmpresa = 0;
11603
11797
  this.idTablaVacaciones = 0;
11604
11798
  this.codigoTablaVacaciones = '';
@@ -11608,7 +11802,8 @@
11608
11802
  this.diaVacacionCalculado = false;
11609
11803
  this.periodos = [];
11610
11804
  if (e) {
11611
- this.idEmpresa = parseInt(e.id_empresa);
11805
+ this.idEnterprise = +e.id_enterprise;
11806
+ this.idEmpresa = +e.id_empresa;
11612
11807
  this.idTablaVacaciones = parseInt(e.id_tabvac);
11613
11808
  this.codigoTablaVacaciones = e.codtabvac;
11614
11809
  this.denominacionTablaVacaciones = e.dentabvac;
@@ -11638,7 +11833,8 @@
11638
11833
  dia = '1';
11639
11834
  }
11640
11835
  return {
11641
- id_empresa: this.idEmpresa.toString(),
11836
+ id_enterprise: this.idEnterprise.toString(),
11837
+ id_empresa: this.idEmpresa,
11642
11838
  id_tabvac: this.idTablaVacaciones.toString(),
11643
11839
  codtabvac: this.codigoTablaVacaciones,
11644
11840
  dentabvac: this.denominacionTablaVacaciones,
@@ -11656,6 +11852,7 @@
11656
11852
  function MTabulador(e) {
11657
11853
  if (e === void 0) { e = null; }
11658
11854
  var _this = _super.call(this) || this;
11855
+ _this.idEnterprise = 0;
11659
11856
  _this.idEmpresa = 0;
11660
11857
  _this.idTabulador = -1;
11661
11858
  _this.codigoTabulador = '';
@@ -11669,7 +11866,8 @@
11669
11866
  _this.eliminarNomina = [];
11670
11867
  _this.eliminarPrima = [];
11671
11868
  if (e) {
11672
- _this.idEmpresa = parseInt(e.id_empresa);
11869
+ _this.idEnterprise = +e.id_enterprise;
11870
+ _this.idEmpresa = +e.id_empresa;
11673
11871
  _this.idTabulador = parseInt(e.id_tabulador);
11674
11872
  _this.codigoTabulador = e.codtab;
11675
11873
  _this.descripcionTabulador = e.destab;
@@ -11687,7 +11885,8 @@
11687
11885
  }
11688
11886
  MTabulador.prototype.dataInterface = function () {
11689
11887
  return {
11690
- id_empresa: this.idEmpresa.toString(),
11888
+ id_enterprise: this.idEnterprise.toString(),
11889
+ id_empresa: this.idEmpresa,
11691
11890
  id_tabulador: this.idTabulador.toString(),
11692
11891
  codtab: this.codigoTabulador,
11693
11892
  destab: this.descripcionTabulador,
@@ -11705,6 +11904,7 @@
11705
11904
  var MTabuladorNominas = /** @class */ (function () {
11706
11905
  function MTabuladorNominas(e) {
11707
11906
  if (e === void 0) { e = null; }
11907
+ this.idEnterprise = 0;
11708
11908
  this.idEmpresa = 0;
11709
11909
  this.idNomina = 0;
11710
11910
  this.idTabulador = 0;
@@ -11720,7 +11920,8 @@
11720
11920
  this.editable = false;
11721
11921
  this.calculada = false;
11722
11922
  if (e) {
11723
- this.idEmpresa = parseInt(e.id_empresa);
11923
+ this.idEnterprise = +e.id_enterprise;
11924
+ this.idEmpresa = +e.id_empresa;
11724
11925
  this.idNomina = parseInt(e.id_nomina);
11725
11926
  this.idTabulador = parseInt(e.id_tabulador);
11726
11927
  this.codigoNomina = e.codnom;
@@ -11736,7 +11937,8 @@
11736
11937
  }
11737
11938
  MTabuladorNominas.prototype.dataInterface = function () {
11738
11939
  return {
11739
- id_empresa: this.idEmpresa.toString(),
11940
+ id_enterprise: this.idEnterprise.toString(),
11941
+ id_empresa: this.idEmpresa,
11740
11942
  id_nomina: this.idNomina.toString(),
11741
11943
  id_tabulador: this.idTabulador.toString(),
11742
11944
  id_dt_tabnom: this.idDtNomina.toString()
@@ -11750,6 +11952,7 @@
11750
11952
  function MTipoEvaluacion(e) {
11751
11953
  if (e === void 0) { e = null; }
11752
11954
  var _this = _super.call(this) || this;
11955
+ _this.idEnterprise = 0;
11753
11956
  _this.idEmpresa = 0;
11754
11957
  _this.idTipoEvaluacion = 0;
11755
11958
  _this.idEscala = 0;
@@ -11758,7 +11961,8 @@
11758
11961
  _this.codigoEscala = '';
11759
11962
  _this.denominacionEscala = '';
11760
11963
  if (e) {
11761
- _this.idEmpresa = parseInt(e.id_empresa);
11964
+ _this.idEnterprise = +e.id_enterprise;
11965
+ _this.idEmpresa = +e.id_empresa;
11762
11966
  _this.idTipoEvaluacion = parseInt(e.id_tipoeval);
11763
11967
  _this.idEscala = parseInt(e.id_escala);
11764
11968
  _this.codigoTipoEvaluacion = e.codtipeval;
@@ -11770,7 +11974,8 @@
11770
11974
  }
11771
11975
  MTipoEvaluacion.prototype.dataInterface = function () {
11772
11976
  return {
11773
- id_empresa: this.idEmpresa.toString(),
11977
+ id_enterprise: this.idEnterprise.toString(),
11978
+ id_empresa: this.idEmpresa,
11774
11979
  id_tipoeval: this.idTipoEvaluacion.toString(),
11775
11980
  id_escala: this.idEscala.toString(),
11776
11981
  codtipeval: this.codigoTipoEvaluacion,
@@ -11784,6 +11989,7 @@
11784
11989
  var MTipoEvaluacionAspecto = /** @class */ (function () {
11785
11990
  function MTipoEvaluacionAspecto(e) {
11786
11991
  if (e === void 0) { e = null; }
11992
+ this.idEnterprise = 0;
11787
11993
  this.idEmpresa = 0;
11788
11994
  this.idTipoEvaluacion = 0;
11789
11995
  this.idEscala = 0;
@@ -11793,7 +11999,8 @@
11793
11999
  this.denominacionEscala = '';
11794
12000
  this.aspectos = [];
11795
12001
  if (e) {
11796
- this.idEmpresa = parseInt(e.id_empresa);
12002
+ this.idEnterprise = +e.id_enterprise;
12003
+ this.idEmpresa = +e.id_empresa;
11797
12004
  this.idTipoEvaluacion = parseInt(e.id_tipoeval);
11798
12005
  this.idEscala = parseInt(e.id_escala);
11799
12006
  this.codigoTipoEvaluacion = e.codtipeval;
@@ -11805,7 +12012,8 @@
11805
12012
  }
11806
12013
  MTipoEvaluacionAspecto.prototype.dataInterface = function () {
11807
12014
  return {
11808
- id_empresa: this.idEmpresa.toString(),
12015
+ id_enterprise: this.idEnterprise.toString(),
12016
+ id_empresa: this.idEmpresa,
11809
12017
  id_tipoeval: this.idTipoEvaluacion.toString(),
11810
12018
  id_escala: this.idEscala.toString(),
11811
12019
  codtipeval: this.codigoTipoEvaluacion,
@@ -11823,6 +12031,7 @@
11823
12031
  function MTiposEnfermedad(e) {
11824
12032
  if (e === void 0) { e = null; }
11825
12033
  var _this = _super.call(this) || this;
12034
+ _this.idEnterprise = 0;
11826
12035
  _this.idEmpresa = 0;
11827
12036
  _this.idEnfermedad = 0;
11828
12037
  _this.codigoEnfermedad = '';
@@ -11831,7 +12040,8 @@
11831
12040
  _this.riesgoLetal = '';
11832
12041
  _this.observacionEnfermedad = '';
11833
12042
  if (e) {
11834
- _this.idEmpresa = parseInt(e.id_empresa);
12043
+ _this.idEnterprise = +e.id_enterprise;
12044
+ _this.idEmpresa = +e.id_empresa;
11835
12045
  _this.idEnfermedad = parseInt(e.id_enfermedad);
11836
12046
  _this.codigoEnfermedad = e.codenf;
11837
12047
  _this.denominacionEnfermedad = e.denenf;
@@ -11843,7 +12053,8 @@
11843
12053
  }
11844
12054
  MTiposEnfermedad.prototype.dataInterface = function () {
11845
12055
  return {
11846
- id_empresa: this.idEmpresa.toString(),
12056
+ id_enterprise: this.idEnterprise.toString(),
12057
+ id_empresa: this.idEmpresa,
11847
12058
  id_enfermedad: this.idEnfermedad.toString(),
11848
12059
  codenf: this.codigoEnfermedad,
11849
12060
  denenf: this.denominacionEnfermedad,
@@ -11860,6 +12071,7 @@
11860
12071
  function MTrabajoAnterior(e) {
11861
12072
  if (e === void 0) { e = null; }
11862
12073
  var _this = _super.call(this) || this;
12074
+ _this.idEnterprise = 0;
11863
12075
  _this.idEmpresa = 0;
11864
12076
  _this.idPersonal = 0;
11865
12077
  _this.idTrabajoAnterior = 0;
@@ -11878,6 +12090,7 @@
11878
12090
  _this.codigoTrabajoAnterior = '';
11879
12091
  _this.TipoEmpresa = TipoEmpresa;
11880
12092
  if (e) {
12093
+ _this.idEnterprise = +e.id_enterprise;
11881
12094
  _this.idEmpresa = +e.id_empresa;
11882
12095
  _this.idPersonal = +e.id_personal;
11883
12096
  _this.idTrabajoAnterior = +e.id_trabajoant;
@@ -11899,6 +12112,7 @@
11899
12112
  }
11900
12113
  MTrabajoAnterior.prototype.dataInterface = function () {
11901
12114
  return {
12115
+ id_enterprise: this.idEnterprise.toString(),
11902
12116
  id_empresa: this.idEmpresa,
11903
12117
  id_personal: this.idPersonal,
11904
12118
  id_trabajoant: this.idTrabajoAnterior,
@@ -11924,6 +12138,7 @@
11924
12138
  function MUbicacionFisica(e) {
11925
12139
  if (e === void 0) { e = null; }
11926
12140
  var _this = _super.call(this) || this;
12141
+ _this.idEnterprise = 0;
11927
12142
  _this.idEmpresa = 0;
11928
12143
  _this.idUbicacionFisica = 0;
11929
12144
  _this.codigoUbicacionFisica = '';
@@ -11939,7 +12154,8 @@
11939
12154
  _this.direccionUbicacionFisica = '';
11940
12155
  _this.tiempoTrasladoUbicacionFisica = '';
11941
12156
  if (e) {
11942
- _this.idEmpresa = parseInt(e.id_empresa);
12157
+ _this.idEnterprise = +e.id_enterprise;
12158
+ _this.idEmpresa = +e.id_empresa;
11943
12159
  _this.idUbicacionFisica = parseInt(e.id_ubifis);
11944
12160
  _this.codigoUbicacionFisica = e.codubifis;
11945
12161
  _this.denominacionUbicacionFisica = e.denubifis;
@@ -11961,7 +12177,8 @@
11961
12177
  }
11962
12178
  MUbicacionFisica.prototype.dataInterface = function () {
11963
12179
  return {
11964
- id_empresa: this.idEmpresa.toString(),
12180
+ id_enterprise: this.idEnterprise.toString(),
12181
+ id_empresa: this.idEmpresa,
11965
12182
  id_ubifis: this.idUbicacionFisica.toString(),
11966
12183
  codubifis: this.codigoUbicacionFisica,
11967
12184
  denubifis: this.denominacionUbicacionFisica,
@@ -11985,6 +12202,7 @@
11985
12202
  function MVacacionesPersonal(e) {
11986
12203
  if (e === void 0) { e = null; }
11987
12204
  var _this = _super.call(this) || this;
12205
+ _this.idEnterprise = 0;
11988
12206
  _this.idEmpresa = 0;
11989
12207
  _this.idPersonal = 0;
11990
12208
  _this.idVacacionesPersonal = 0;
@@ -12019,7 +12237,8 @@
12019
12237
  _this.diasHabiles = 0;
12020
12238
  _this.procesarFueraPeriodo = 0;
12021
12239
  if (e) {
12022
- _this.idEmpresa = parseInt(e.id_empresa);
12240
+ _this.idEnterprise = +e.id_enterprise;
12241
+ _this.idEmpresa = +e.id_empresa;
12023
12242
  _this.idPersonal = parseInt(e.id_personal);
12024
12243
  _this.idVacacionesPersonal = parseInt(e.id_vacper);
12025
12244
  _this.codigoVacaciones = parseInt(e.codvac);
@@ -12057,7 +12276,8 @@
12057
12276
  }
12058
12277
  MVacacionesPersonal.prototype.dataInterface = function () {
12059
12278
  return {
12060
- id_empresa: this.idEmpresa.toString(),
12279
+ id_enterprise: this.idEnterprise.toString(),
12280
+ id_empresa: this.idEmpresa,
12061
12281
  id_personal: this.idPersonal.toString(),
12062
12282
  id_vacper: this.idVacacionesPersonal.toString(),
12063
12283
  codvac: this.codigoVacaciones.toString(),
@@ -12099,6 +12319,7 @@
12099
12319
  __extends(MEncargaduria, _super);
12100
12320
  function MEncargaduria(e) {
12101
12321
  var _this = _super.call(this) || this;
12322
+ _this.idEnterprise = 0;
12102
12323
  _this.idEmpresa = 0;
12103
12324
  _this.idPersonalNomina = 0;
12104
12325
  _this.idEncargaduria = 0;
@@ -12140,7 +12361,8 @@
12140
12361
  _this.denominacionNominaEncargado = '';
12141
12362
  _this.denominacionEstatusEncargaduria = '';
12142
12363
  if (e) {
12143
- _this.idEmpresa = parseInt(e.id_empresa);
12364
+ _this.idEnterprise = +e.id_enterprise;
12365
+ _this.idEmpresa = +e.id_empresa;
12144
12366
  _this.idPersonalNomina = parseInt(e.id_personalnomina);
12145
12367
  _this.idEncargaduria = parseInt(e.id_encargaduria);
12146
12368
  _this.codigoEncargaduria = e.codenc;
@@ -12188,7 +12410,8 @@
12188
12410
  }
12189
12411
  MEncargaduria.prototype.dataInterface = function () {
12190
12412
  return {
12191
- id_empresa: this.idEmpresa.toString(),
12413
+ id_enterprise: this.idEnterprise.toString(),
12414
+ id_empresa: this.idEmpresa,
12192
12415
  id_personalnomina: this.idPersonalNomina.toString(),
12193
12416
  id_encargaduria: this.idEncargaduria.toString(),
12194
12417
  codenc: this.codigoEncargaduria,
@@ -12236,6 +12459,7 @@
12236
12459
  __extends(MCodigoUnicoRac, _super);
12237
12460
  function MCodigoUnicoRac(e) {
12238
12461
  var _this = _super.call(this) || this;
12462
+ _this.idEnterprise = 0;
12239
12463
  _this.idEmpresa = 0;
12240
12464
  _this.idCargoPersonal = 0;
12241
12465
  _this.idNomina = 0;
@@ -12244,7 +12468,8 @@
12244
12468
  _this.idCodigoUnicoRac = 0;
12245
12469
  _this.denominacionEstatus = '';
12246
12470
  if (e) {
12247
- _this.idEmpresa = parseInt(e.id_empresa);
12471
+ _this.idEnterprise = +e.id_enterprise;
12472
+ _this.idEmpresa = +e.id_empresa;
12248
12473
  _this.idCargoPersonal = parseInt(e.id_carper);
12249
12474
  _this.idNomina = parseInt(e.id_nomina);
12250
12475
  _this.idCodigoUnicoRac = parseInt(e.id_codunirac);
@@ -12259,7 +12484,8 @@
12259
12484
  }
12260
12485
  MCodigoUnicoRac.prototype.dataInterface = function () {
12261
12486
  return {
12262
- id_empresa: this.idEmpresa.toString(),
12487
+ id_enterprise: this.idEnterprise.toString(),
12488
+ id_empresa: this.idEmpresa,
12263
12489
  id_carper: this.idCargoPersonal.toString(),
12264
12490
  id_nomina: this.idNomina.toString(),
12265
12491
  codunirac: this.codigoUnicoRac,
@@ -12274,6 +12500,7 @@
12274
12500
  __extends(MPersonalJubilado, _super);
12275
12501
  function MPersonalJubilado(e) {
12276
12502
  var _this = _super.call(this) || this;
12503
+ _this.idEnterprise = 0;
12277
12504
  _this.idEmpresa = 0;
12278
12505
  _this.idPersonal = 0;
12279
12506
  _this.idJubilacion = 0;
@@ -12285,7 +12512,8 @@
12285
12512
  _this.fechaFeVida = '1900-01-01';
12286
12513
  _this.tipoJubilacion = 0;
12287
12514
  if (e) {
12288
- _this.idEmpresa = parseInt(e.id_empresa);
12515
+ _this.idEnterprise = +e.id_enterprise;
12516
+ _this.idEmpresa = +e.id_empresa;
12289
12517
  _this.idPersonal = parseInt(e.id_personal);
12290
12518
  _this.idJubilacion = parseInt(e.id_jubilado);
12291
12519
  _this.primeraRemuneracion = parseFloat(e.prirem);
@@ -12303,7 +12531,8 @@
12303
12531
  }
12304
12532
  MPersonalJubilado.prototype.dataInterface = function () {
12305
12533
  return {
12306
- id_empresa: this.idEmpresa.toString(),
12534
+ id_enterprise: this.idEnterprise.toString(),
12535
+ id_empresa: this.idEmpresa,
12307
12536
  id_personal: this.idPersonal.toString(),
12308
12537
  id_jubilado: this.idJubilacion.toString(),
12309
12538
  prirem: this.primeraRemuneracion.toString(),
@@ -12322,6 +12551,7 @@
12322
12551
  __extends(MPermisos, _super);
12323
12552
  function MPermisos(e) {
12324
12553
  var _this = _super.call(this) || this;
12554
+ _this.idEnterprise = 0;
12325
12555
  _this.idEmpresa = 0;
12326
12556
  _this.idPersonal = 0;
12327
12557
  _this.idPermiso = 0;
@@ -12340,6 +12570,7 @@
12340
12570
  _this.denominacionEnfermedad = '';
12341
12571
  _this.TipoPermiso = TipoPermiso;
12342
12572
  if (e) {
12573
+ _this.idEnterprise = +e.id_enterprise;
12343
12574
  _this.idEmpresa = +e.id_empresa;
12344
12575
  _this.idPersonal = +e.id_personal;
12345
12576
  _this.idPermiso = +e.id_permiso;
@@ -12364,6 +12595,7 @@
12364
12595
  }
12365
12596
  MPermisos.prototype.dataInterface = function () {
12366
12597
  return {
12598
+ id_enterprise: this.idEnterprise.toString(),
12367
12599
  id_empresa: this.idEmpresa,
12368
12600
  id_personal: this.idPersonal,
12369
12601
  id_permiso: this.idPermiso,
@@ -12459,6 +12691,7 @@
12459
12691
  __extends(MImpuestoSobreRenta, _super);
12460
12692
  function MImpuestoSobreRenta(e) {
12461
12693
  var _this = _super.call(this) || this;
12694
+ _this.idEnterprise = 0;
12462
12695
  _this.idEmpresa = 0;
12463
12696
  _this.idPersonal = 0;
12464
12697
  _this.idImpuestoSobreRenta = 0;
@@ -12478,6 +12711,7 @@
12478
12711
  _this.diciembre = 0;
12479
12712
  _this.denominacionConcepto = '';
12480
12713
  if (e) {
12714
+ _this.idEnterprise = +e.id_enterprise;
12481
12715
  _this.idEmpresa = +e.id_empresa;
12482
12716
  _this.idPersonal = +e.id_personal;
12483
12717
  _this.idImpuestoSobreRenta = +e.id_isr;
@@ -12504,6 +12738,7 @@
12504
12738
  }
12505
12739
  MImpuestoSobreRenta.prototype.dataInterface = function () {
12506
12740
  return {
12741
+ id_enterprise: this.idEnterprise.toString(),
12507
12742
  id_empresa: this.idEmpresa,
12508
12743
  id_personal: this.idPersonal,
12509
12744
  id_isr: this.idImpuestoSobreRenta,
@@ -12532,6 +12767,7 @@
12532
12767
  function MMetodoBanco(e) {
12533
12768
  if (e === void 0) { e = null; }
12534
12769
  var _this = _super.call(this) || this;
12770
+ _this.idEnterprise = 0;
12535
12771
  _this.idEmpresa = 0;
12536
12772
  _this.idMetodoBanco = 0;
12537
12773
  _this.id = 0;
@@ -12547,7 +12783,8 @@
12547
12783
  _this.numeroConvenio = '';
12548
12784
  _this.activo = 0;
12549
12785
  if (e) {
12550
- _this.idEmpresa = parseInt(e.id_empresa);
12786
+ _this.idEnterprise = +e.id_enterprise;
12787
+ _this.idEmpresa = +e.id_empresa;
12551
12788
  _this.idMetodoBanco = parseInt(e.id_metbco);
12552
12789
  _this.codigoMetodo = e.codmet;
12553
12790
  _this.denominacionMetodo = e.denmet;
@@ -12569,7 +12806,8 @@
12569
12806
  }
12570
12807
  MMetodoBanco.prototype.dataInterface = function () {
12571
12808
  return {
12572
- id_empresa: this.idEmpresa.toString(),
12809
+ id_enterprise: this.idEnterprise.toString(),
12810
+ id_empresa: this.idEmpresa,
12573
12811
  id_metbco: this.idMetodoBanco.toString(),
12574
12812
  codmet: this.codigoMetodo,
12575
12813
  denmet: this.denominacionMetodo,
@@ -12592,6 +12830,7 @@
12592
12830
  function MMetodos(e) {
12593
12831
  if (e === void 0) { e = null; }
12594
12832
  var _this = _super.call(this) || this;
12833
+ _this.idEnterprise = 0;
12595
12834
  _this.idEmpresa = 0;
12596
12835
  _this.idMetodo = 0;
12597
12836
  _this.codigoMetodo = '';
@@ -12602,7 +12841,8 @@
12602
12841
  _this.montoDescuentoDia = 0;
12603
12842
  _this.numeroTarjeta = '';
12604
12843
  if (e) {
12605
- _this.idEmpresa = parseInt(e.id_empresa);
12844
+ _this.idEnterprise = +e.id_enterprise;
12845
+ _this.idEmpresa = +e.id_empresa;
12606
12846
  _this.idMetodo = parseInt(e.id_metodo);
12607
12847
  _this.codigoMetodo = e.codmet;
12608
12848
  _this.denominacionMetodo = e.denmet;
@@ -12619,7 +12859,8 @@
12619
12859
  }
12620
12860
  MMetodos.prototype.dataInterface = function () {
12621
12861
  return {
12622
- id_empresa: this.idEmpresa.toString(),
12862
+ id_enterprise: this.idEnterprise.toString(),
12863
+ id_empresa: this.idEmpresa,
12623
12864
  id_metodo: this.idMetodo.toString(),
12624
12865
  codmet: this.codigoMetodo,
12625
12866
  denmet: this.denominacionMetodo,
@@ -12638,6 +12879,7 @@
12638
12879
  function MPrestamo(e) {
12639
12880
  if (e === void 0) { e = null; }
12640
12881
  var _this = _super.call(this) || this;
12882
+ _this.idEnterprise = 0;
12641
12883
  _this.idEmpresa = 0;
12642
12884
  _this.idPersonal = 0;
12643
12885
  _this.idPrestamo = 0;
@@ -12668,6 +12910,7 @@
12668
12910
  _this.periodos = [];
12669
12911
  _this.amortizacion = [];
12670
12912
  if (e) {
12913
+ _this.idEnterprise = +e.id_enterprise;
12671
12914
  _this.idEmpresa = +e.id_empresa;
12672
12915
  _this.idPrestamo = +e.id_prestamo;
12673
12916
  _this.idPersonal = +e.id_personal;
@@ -12705,6 +12948,7 @@
12705
12948
  }
12706
12949
  MPrestamo.prototype.dataInterface = function () {
12707
12950
  return {
12951
+ id_enterprise: this.idEnterprise.toString(),
12708
12952
  id_empresa: this.idEmpresa,
12709
12953
  id_personal: this.idPersonal,
12710
12954
  id_prestamo: this.idPrestamo,
@@ -12765,6 +13009,7 @@
12765
13009
  __extends(MPrestamosPeriodo, _super);
12766
13010
  function MPrestamosPeriodo(e) {
12767
13011
  var _this = _super.call(this) || this;
13012
+ _this.idEnterprise = 0;
12768
13013
  _this.idEmpresa = 0;
12769
13014
  _this.idPersonal = 0;
12770
13015
  _this.idPrestamo = 0;
@@ -12775,6 +13020,7 @@
12775
13020
  _this.montoCuota = 0;
12776
13021
  _this.estatusCuota = 0;
12777
13022
  if (e) {
13023
+ _this.idEnterprise = +e.id_enterprise;
12778
13024
  _this.idEmpresa = +e.id_empresa;
12779
13025
  _this.idPersonal = +e.id_personal;
12780
13026
  _this.idPrestamo = +e.id_prestamo;
@@ -12794,6 +13040,7 @@
12794
13040
  }
12795
13041
  MPrestamosPeriodo.prototype.dataInterface = function () {
12796
13042
  return {
13043
+ id_enterprise: this.idEnterprise.toString(),
12797
13044
  id_empresa: this.idEmpresa,
12798
13045
  id_personal: this.idPersonal,
12799
13046
  id_prestamo: this.idPrestamo,
@@ -12819,6 +13066,7 @@
12819
13066
  __extends(MPrestamoAmortizacion, _super);
12820
13067
  function MPrestamoAmortizacion(e) {
12821
13068
  var _this = _super.call(this) || this;
13069
+ _this.idEnterprise = 0;
12822
13070
  _this.idEmpresa = 0;
12823
13071
  _this.idPersonal = 0;
12824
13072
  _this.idPrestamo = 0;
@@ -12828,6 +13076,7 @@
12828
13076
  _this.montoAmortizacion = 0;
12829
13077
  _this.descripcionAmortizacion = '';
12830
13078
  if (e) {
13079
+ _this.idEnterprise = +e.id_enterprise;
12831
13080
  _this.idEmpresa = +e.id_empresa;
12832
13081
  _this.idPersonal = +e.id_personal;
12833
13082
  _this.idPrestamo = +e.id_prestamo;
@@ -12841,6 +13090,7 @@
12841
13090
  }
12842
13091
  MPrestamoAmortizacion.prototype.dataInterface = function () {
12843
13092
  return {
13093
+ id_enterprise: this.idEnterprise.toString(),
12844
13094
  id_empresa: this.idEmpresa,
12845
13095
  id_personal: this.idPersonal,
12846
13096
  id_prestamo: this.idPrestamo,
@@ -13341,6 +13591,7 @@
13341
13591
  __extends(MSnoLog, _super);
13342
13592
  function MSnoLog(e) {
13343
13593
  var _this = _super.call(this) || this;
13594
+ _this.idEnterprise = 0;
13344
13595
  _this.idEmpresa = 0;
13345
13596
  _this.idPersonal = 0;
13346
13597
  _this.idAuditoriaPersonal = 0;
@@ -13356,6 +13607,7 @@
13356
13607
  _this.evento = '';
13357
13608
  _this.campoPermitido = Campos;
13358
13609
  if (e) {
13610
+ _this.idEnterprise = +e.id_enterprise;
13359
13611
  _this.idEmpresa = +e.id_empresa;
13360
13612
  _this.idPersonal = +e.id_personal;
13361
13613
  _this.idAuditoriaPersonal = +e.id_auditoria_personal;
@@ -13378,7 +13630,8 @@
13378
13630
  MSnoLog.prototype.dataInteface = function () {
13379
13631
  var _this = this;
13380
13632
  return {
13381
- id_empresa: this.idEmpresa.toString(),
13633
+ id_enterprise: this.idEnterprise.toString(),
13634
+ id_empresa: this.idEmpresa,
13382
13635
  id_personal: this.idPersonal.toString(),
13383
13636
  id_auditoria_personal: this.idAuditoriaPersonal.toString(),
13384
13637
  id_registro: this.idRegistro.toString(),
@@ -13396,9 +13649,11 @@
13396
13649
  return MSnoLog;
13397
13650
  }(MBasicModel));
13398
13651
 
13652
+ var moment$3 = require("moment");
13399
13653
  var MPlanHorario = /** @class */ (function () {
13400
13654
  function MPlanHorario(e) {
13401
13655
  if (e === void 0) { e = null; }
13656
+ this.idEnterprise = 0;
13402
13657
  this.idEmpresa = 0;
13403
13658
  this.idPlanHorario = 0;
13404
13659
  this.idNomina = 0;
@@ -13412,6 +13667,7 @@
13412
13667
  this.denominacionNomina = '';
13413
13668
  this.periodos = [];
13414
13669
  if (e) {
13670
+ this.idEnterprise = +e.id_enterprise;
13415
13671
  this.idEmpresa = +e.id_empresa;
13416
13672
  this.idPlanHorario = +e.id_planhor;
13417
13673
  this.idNomina = e.id_nomina;
@@ -13430,6 +13686,7 @@
13430
13686
  }
13431
13687
  MPlanHorario.prototype.dataInterface = function () {
13432
13688
  return {
13689
+ id_enterprise: this.idEnterprise.toString(),
13433
13690
  id_empresa: this.idEmpresa,
13434
13691
  id_planhor: this.idPlanHorario,
13435
13692
  id_nomina: this.idNomina,
@@ -13446,6 +13703,7 @@
13446
13703
  }());
13447
13704
  var MPeriodosPlan = /** @class */ (function () {
13448
13705
  function MPeriodosPlan(e) {
13706
+ this.idEnterprise = 0;
13449
13707
  this.idEmpresa = 0;
13450
13708
  this.idPlanHorario = 0;
13451
13709
  this.denominacionPeriodoPlan = '';
@@ -13455,79 +13713,59 @@
13455
13713
  this.codigoPeriodoNomina = '';
13456
13714
  this.tipoFeriado = false;
13457
13715
  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
13716
  this.idHora = 0;
13496
13717
  this.incidencias = [];
13497
- this.descripcionHorario = '';
13498
- this.idDetalle = 0;
13499
13718
  this.codigoHorario = '';
13500
13719
  this.denominacionHorario = '';
13501
13720
  this.horaInicio = '';
13502
13721
  this.horaFinal = '';
13722
+ this.denomiacionFecha = '';
13723
+ this.dia = '';
13724
+ this.descripcionHorario = '';
13503
13725
  if (e) {
13504
- this.idEmpresa = e.id_empresa;
13726
+ this.idEnterprise = +e.id_enterprise;
13727
+ this.idEmpresa = +e.id_empresa;
13505
13728
  this.idPlanHorario = e.id_planhor;
13729
+ this.denominacionPeriodoPlan = e.denperplan;
13730
+ this.fechaPeriodoPlan = e.fecperplan;
13731
+ this.idPeriodo = e.id_periodo;
13506
13732
  this.idPeriodoPlan = e.id_perplan;
13733
+ this.codigoPeriodoNomina = e.codperi;
13734
+ this.tipoFeriado = e.tipfer == '1' ? true : false;
13735
+ moment$3.locale('es');
13736
+ var day = moment$3(this.fechaPeriodoPlan);
13737
+ var dia = moment$3.weekdays(day.day());
13738
+ this.denomiacionFecha = dia + ', ' + moment$3(this.fechaPeriodoPlan).format('DD-MM-YYYY');
13739
+ if (this.tipoFeriado && dia != 'domingo') {
13740
+ this.simboloFeriado = 'check_small';
13741
+ }
13507
13742
  this.idHora = e.id_hora;
13508
13743
  this.codigoHorario = e.codhor;
13509
13744
  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
13745
  if (e.incidencias != '') {
13513
13746
  this.incidencias = e.incidencias.split(',');
13514
13747
  }
13515
13748
  ;
13516
- this.idDetalle = e.id_dt_horperplan;
13749
+ this.horaInicio = moment$3(e.horini, 'H:m:s').format('h:mm a');
13750
+ this.horaFinal = moment$3(e.horfin, 'H:m:s').format('h:mm a');
13517
13751
  this.descripcionHorario = this.codigoHorario + ' - ' + this.denominacionHorario + ' - ' + this.horaInicio + '-' + this.horaFinal;
13518
13752
  }
13519
13753
  }
13520
- MHorarioPeriodosPlan.prototype.dataInterface = function () {
13754
+ MPeriodosPlan.prototype.dataInterface = function () {
13521
13755
  return {
13756
+ id_enterprise: this.idEnterprise.toString(),
13522
13757
  id_empresa: this.idEmpresa,
13523
13758
  id_planhor: this.idPlanHorario,
13759
+ denperplan: this.denominacionPeriodoPlan,
13760
+ fecperplan: this.fechaPeriodoPlan,
13761
+ id_periodo: this.idPeriodo,
13524
13762
  id_perplan: this.idPeriodoPlan,
13763
+ tipfer: this.tipoFeriado ? '1' : '0',
13525
13764
  id_hora: this.idHora,
13526
13765
  incidencias: this.incidencias.length > 0 ? this.incidencias.join(',') : "",
13527
- id_dt_horperplan: this.idDetalle,
13528
13766
  };
13529
13767
  };
13530
- return MHorarioPeriodosPlan;
13768
+ return MPeriodosPlan;
13531
13769
  }());
13532
13770
 
13533
13771
  var customPaginator = /** @class */ (function (_super) {
@@ -13677,7 +13915,6 @@
13677
13915
  exports.MGroup = MGroup;
13678
13916
  exports.MHojaTiempo = MHojaTiempo;
13679
13917
  exports.MHorario = MHorario;
13680
- exports.MHorarioPeriodosPlan = MHorarioPeriodosPlan;
13681
13918
  exports.MImpuestoSobreRenta = MImpuestoSobreRenta;
13682
13919
  exports.MItemsEvalucion = MItemsEvalucion;
13683
13920
  exports.MLog = MLog;