softdinlibreriajs 1.0.0 → 1.0.2

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 (60) hide show
  1. package/package.json +1 -1
  2. package/src/EnumAplicacionConceptoNovedadEmpresal.js +25 -0
  3. package/src/EnumArchivoPlano.js +29 -0
  4. package/src/EnumAreaTrabajo.js +0 -4
  5. package/src/EnumCertificadoIngresosAportesListado.js +59 -0
  6. package/src/EnumClaseEmpresa.js +0 -4
  7. package/src/EnumConceptosCertificacion.js +123 -0
  8. package/src/EnumConceptosContrato.js +35 -0
  9. package/src/EnumDiasSemana.js +34 -0
  10. package/src/EnumEstadoCalendario.js +23 -0
  11. package/src/EnumEstadoCivil.js +33 -0
  12. package/src/EnumFormaPresentacion.js +27 -0
  13. package/src/EnumGrupoSanguineo.js +37 -0
  14. package/src/EnumIncapacidades.js +42 -0
  15. package/src/EnumLocalizacion.js +45 -0
  16. package/src/EnumMensajes.js +31 -0
  17. package/src/EnumModalidadEjecucionNomina.js +33 -0
  18. package/src/EnumModalidadServicio.js +25 -0
  19. package/src/EnumNovedadReteFuente.js +35 -0
  20. package/src/EnumParentesco.js +33 -0
  21. package/src/EnumRegimenExcepcionSSS.js +23 -0
  22. package/src/EnumReporteComprobantesPAGO.js +30 -0
  23. package/src/EnumReporteComprobantesPAGOFiltros.js +29 -0
  24. package/src/EnumRespuestaSINO.js +23 -0
  25. package/src/EnumReteFuenteProcedimiento.js +24 -0
  26. package/src/EnumRutas.js +30 -0
  27. package/src/EnumSemana.js +26 -0
  28. package/src/EnumSexo.js +24 -0
  29. package/src/EnumTiempo.js +26 -0
  30. package/src/EnumTiempoNovedades.js +25 -0
  31. package/src/EnumTipoActividad.js +26 -0
  32. package/src/EnumTipoCentroCosto.js +26 -0
  33. package/src/EnumTipoConceptoMO.js +23 -0
  34. package/src/EnumTipoContrato.js +32 -0
  35. package/src/EnumTipoCuenta.js +24 -0
  36. package/src/EnumTipoCuota.js +24 -0
  37. package/src/EnumTipoHora.js +39 -0
  38. package/src/EnumTipoIdentificacion.js +38 -0
  39. package/src/EnumTipoIdentificacionEmbargo.js +32 -0
  40. package/src/EnumTipoInformeSegSoc.js +23 -0
  41. package/src/EnumTipoLibretaMilitar.js +28 -0
  42. package/src/EnumTipoLiquidacion.js +24 -0
  43. package/src/EnumTipoMovimiento.js +25 -0
  44. package/src/EnumTipoNovedad.js +42 -0
  45. package/src/EnumTipoNovedadSeguridadSocial.js +40 -0
  46. package/src/EnumTipoNumeroPILA.js +23 -0
  47. package/src/EnumTipoPago.js +23 -0
  48. package/src/EnumTipoPagoLiquidacion.js +27 -0
  49. package/src/EnumTipoPersona.js +23 -0
  50. package/src/EnumTipoPlanilla.js +47 -0
  51. package/src/EnumTipoReferencia.js +23 -0
  52. package/src/EnumTipoRegimen.js +25 -0
  53. package/src/EnumTipoRegistro.js +26 -0
  54. package/src/EnumTipoRegistroConceptoNovedadEmpresa.js +24 -0
  55. package/src/EnumTipoRegistroHistorial.js +28 -0
  56. package/src/EnumTipoRegistroLiquidacion.js +26 -0
  57. package/src/EnumTipoServicioSeguridadSocial.js +37 -0
  58. package/src/EnumTipoTransferencia.js +24 -0
  59. package/src/EnumTipoTurno.js +26 -0
  60. package/src/EnumVariablesSistema.js +292 -0
@@ -0,0 +1,24 @@
1
+ class EnumTipoLiquidacion {
2
+ static LEY = 1;
3
+ static PROVISIONES = 2;
4
+
5
+ static descriptions = [
6
+ { id: EnumTipoLiquidacion.LEY, code: 'LEY', description: "Ley" },
7
+ { id: EnumTipoLiquidacion.PROVISIONES, code: 'PROVISIONES', description: "Provisiones" }
8
+ ];
9
+
10
+ static getById(id) {
11
+ return EnumTipoLiquidacion.descriptions.find(item => item.id === id) || null;
12
+ }
13
+
14
+ static getAll() {
15
+ return EnumTipoLiquidacion.descriptions;
16
+ }
17
+
18
+ static getByDescription(description) {
19
+ return EnumTipoLiquidacion.descriptions.find(item => item.description === description) || null;
20
+ }
21
+ }
22
+
23
+ module.exports = EnumTipoLiquidacion;
24
+
@@ -0,0 +1,25 @@
1
+ class EnumTipoMovimiento {
2
+ static INGRESO = 1;
3
+ static DESCUENTO = 2;
4
+
5
+ static descriptions = [
6
+ { id: EnumTipoMovimiento.INGRESO, code: 'INGRESO', description: 'Ingreso' },
7
+ { id: EnumTipoMovimiento.DESCUENTO, code: 'DESCUENTO', description: 'Descuento' }
8
+ ];
9
+
10
+
11
+ static getById(id) {
12
+ return EnumTipoMovimiento.descriptions.find(item => item.id === id) || null;
13
+ }
14
+
15
+ static getAll() {
16
+ return EnumTipoMovimiento.descriptions;
17
+ }
18
+
19
+ static getByDescription(description) {
20
+ return EnumTipoMovimiento.descriptions.find(item => item.description === description) || null;
21
+ }
22
+ }
23
+
24
+ module.exports = EnumTipoMovimiento;
25
+
@@ -0,0 +1,42 @@
1
+ class EnumTipoNovedad {
2
+ static INGRESO = 1;
3
+ static DEDUCCION = 2;
4
+ static HORAS_EXTRA = 3;
5
+ static PROV_PREST = 4;
6
+ static PROV_SEGSOC = 5;
7
+ static PLANILLA_UNICA = 6;
8
+ static LIQUIDACION = 7;
9
+ static CAMBIOS_V = 8;
10
+ static CAMBIOS_C = 9;
11
+ static AGRUPAR = 10;
12
+ static FORMULA = 11;
13
+
14
+ static descriptions = [
15
+ { id: EnumTipoNovedad.INGRESO, code: 'INGRESO', description: 'Ingreso' },
16
+ { id: EnumTipoNovedad.DEDUCCION, code: 'DEDUCCION', description: 'Deducción' },
17
+ { id: EnumTipoNovedad.HORAS_EXTRA, code: 'HORAS_EXTRA', description: 'Horas Extra' },
18
+ { id: EnumTipoNovedad.PROV_PREST, code: 'PROV_PREST', description: 'Provisión Prestaciones' },
19
+ { id: EnumTipoNovedad.PROV_SEGSOC, code: 'PROV_SEGSOC', description: 'Provisión Seguridad Social' },
20
+ { id: EnumTipoNovedad.PLANILLA_UNICA, code: 'PLANILLA_UNICA', description: 'Planilla Única' },
21
+ { id: EnumTipoNovedad.LIQUIDACION, code: 'LIQUIDACION', description: 'Liquidación' },
22
+ { id: EnumTipoNovedad.CAMBIOS_V, code: 'CAMBIOS_V', description: 'Cambios Vinculación' },
23
+ { id: EnumTipoNovedad.CAMBIOS_C, code: 'CAMBIOS_C', description: 'Cambios Contratación' },
24
+ { id: EnumTipoNovedad.AGRUPAR, code: 'AGRUPAR', description: 'Agrupar' },
25
+ { id: EnumTipoNovedad.FORMULA, code: 'FORMULA', description: 'Fórmula' }
26
+ ];
27
+
28
+ static getById(id) {
29
+ return EnumTipoNovedad.descriptions.find(item => item.id === id) || null;
30
+ }
31
+
32
+ static getAll() {
33
+ return EnumTipoNovedad.descriptions;
34
+ }
35
+
36
+ static getByDescription(description) {
37
+ return EnumTipoNovedad.descriptions.find(item => item.description === description) || null;
38
+ }
39
+ }
40
+
41
+ module.exports = EnumTipoNovedad;
42
+
@@ -0,0 +1,40 @@
1
+ class EnumTipoNovedadSeguridadSocial {
2
+ static I = 1;
3
+ static R = 2;
4
+ static N = 3;
5
+ static NOR = 4;
6
+ static SLN = 5;
7
+ static IGE = 6;
8
+ static LMA = 7;
9
+ static VAC = 8;
10
+ static IRL = 9;
11
+ static LRM = 10;
12
+
13
+ static descriptions = [
14
+ { id: EnumTipoNovedadSeguridadSocial.I, code: 'I', description: 'I' },
15
+ { id: EnumTipoNovedadSeguridadSocial.R, code: 'R', description: 'R' },
16
+ { id: EnumTipoNovedadSeguridadSocial.N, code: 'N', description: 'N' },
17
+ { id: EnumTipoNovedadSeguridadSocial.NOR, code: 'NOR', description: 'NOR' },
18
+ { id: EnumTipoNovedadSeguridadSocial.SLN, code: 'SLN', description: 'SLN' },
19
+ { id: EnumTipoNovedadSeguridadSocial.IGE, code: 'IGE', description: 'IGE' },
20
+ { id: EnumTipoNovedadSeguridadSocial.LMA, code: 'LMA', description: 'LMA' },
21
+ { id: EnumTipoNovedadSeguridadSocial.VAC, code: 'VAC', description: 'VAC' },
22
+ { id: EnumTipoNovedadSeguridadSocial.IRL, code: 'IRL', description: 'IRL' },
23
+ { id: EnumTipoNovedadSeguridadSocial.LRM, code: 'LRM', description: 'LRM' },
24
+ ];
25
+
26
+ static getById(id) {
27
+ return EnumTipoNovedadSeguridadSocial.descriptions.find(item => item.id === id) || null;
28
+ }
29
+
30
+ static getAll() {
31
+ return EnumTipoNovedadSeguridadSocial.descriptions;
32
+ }
33
+
34
+ static getByDescription(description) {
35
+ return EnumTipoNovedadSeguridadSocial.descriptions.find(item => item.description === description) || null;
36
+ }
37
+ }
38
+
39
+ module.exports = EnumTipoNovedadSeguridadSocial;
40
+
@@ -0,0 +1,23 @@
1
+ class EnumTipoNumeroPILA {
2
+ static N = 1;
3
+ static A = 2;
4
+
5
+ static descriptions = [
6
+ { id: EnumTipoNumeroPILA.N, code: 'N', description: 'N' },
7
+ { id: EnumTipoNumeroPILA.A, code: 'A', description: 'A' },
8
+ ];
9
+
10
+ static getById(id) {
11
+ return EnumTipoNumeroPILA.descriptions.find(item => item.id === id) || null;
12
+ }
13
+
14
+ static getAll() {
15
+ return EnumTipoNumeroPILA.descriptions;
16
+ }
17
+
18
+ static getByDescription(description) {
19
+ return EnumTipoNumeroPILA.descriptions.find(item => item.description === description) || null;
20
+ }
21
+ }
22
+
23
+ module.exports = EnumTipoNumeroPILA;
@@ -0,0 +1,23 @@
1
+ class EnumTipoPago {
2
+ static COMERCIAL = 1;
3
+ static CALENDARIO = 2;
4
+
5
+ static descriptions = [
6
+ { id: EnumTipoPago.COMERCIAL, code: 'COMERCIAL', description: 'Comercial' },
7
+ { id: EnumTipoPago.CALENDARIO, code: 'CALENDARIO', description: 'Calendario' },
8
+ ];
9
+
10
+ static getById(id) {
11
+ return EnumTipoPago.descriptions.find(item => item.id === id) || null;
12
+ }
13
+
14
+ static getAll() {
15
+ return EnumTipoPago.descriptions;
16
+ }
17
+
18
+ static getByDescription(description) {
19
+ return EnumTipoPago.descriptions.find(item => item.description === description) || null;
20
+ }
21
+ }
22
+
23
+ module.exports = EnumTipoPago;
@@ -0,0 +1,27 @@
1
+ class EnumTipoPagoLiquidacion {
2
+ static NOMINA = 1;
3
+ static TESORERIA = 2;
4
+ static FONDO = 3;
5
+ static AHORRO = 4;
6
+
7
+ static descriptions = [
8
+ { id: EnumTipoPagoLiquidacion.NOMINA, code: 'NOMINA', description: 'Nómina' },
9
+ { id: EnumTipoPagoLiquidacion.TESORERIA, code: 'TESORERIA', description: 'Tesorería' },
10
+ { id: EnumTipoPagoLiquidacion.FONDO, code: 'FONDO', description: 'Fondo' },
11
+ { id: EnumTipoPagoLiquidacion.AHORRO, code: 'AHORRO', description: 'Ahorro' }
12
+ ];
13
+
14
+ static getById(id) {
15
+ return EnumTipoPagoLiquidacion.descriptions.find(item => item.id === id) || null;
16
+ }
17
+
18
+ static getAll() {
19
+ return EnumTipoPagoLiquidacion.descriptions;
20
+ }
21
+
22
+ static getByDescription(description) {
23
+ return EnumTipoPagoLiquidacion.descriptions.find(item => item.description === description) || null;
24
+ }
25
+ }
26
+
27
+ module.exports = EnumTipoPagoLiquidacion;
@@ -0,0 +1,23 @@
1
+ class EnumTipoPersona {
2
+ static NATURAL = 1;
3
+ static JURIDICA = 2;
4
+
5
+ static descriptions = [
6
+ { id: EnumTipoPersona.NATURAL, code: 'NAT', description: 'Natural' },
7
+ { id: EnumTipoPersona.JURIDICA, code: 'JUR', description: 'Jurídica' }
8
+ ];
9
+
10
+ static getById(id) {
11
+ return EnumTipoPersona.descriptions.find(item => item.id === id) || null;
12
+ }
13
+
14
+ static getAll() {
15
+ return EnumTipoPersona.descriptions;
16
+ }
17
+
18
+ static getByDescription(description) {
19
+ return EnumTipoPersona.descriptions.find(item => item.description === description) || null;
20
+ }
21
+ }
22
+
23
+ module.exports = EnumTipoPersona;
@@ -0,0 +1,47 @@
1
+ class EnumTipoPlanilla {
2
+ static E = 1;
3
+ static Y = 2;
4
+ static A = 3;
5
+ static I = 4;
6
+ static S = 5;
7
+ static M = 6;
8
+ static N = 7;
9
+ static H = 8;
10
+ static T = 9;
11
+ static F = 10;
12
+ static J = 11;
13
+ static X = 12;
14
+ static U = 13;
15
+ static K = 14;
16
+
17
+ static descriptions = [
18
+ { id: EnumTipoPlanilla.E, code: 'E', description: 'Empleados Empresas' },
19
+ { id: EnumTipoPlanilla.Y, code: 'Y', description: 'Independientes Empresa' },
20
+ { id: EnumTipoPlanilla.A, code: 'A', description: 'Empleados Adicionales' },
21
+ { id: EnumTipoPlanilla.I, code: 'I', description: 'Independientes' },
22
+ { id: EnumTipoPlanilla.S, code: 'S', description: 'Empleados de Servicio Domestico' },
23
+ { id: EnumTipoPlanilla.M, code: 'M', description: 'Mora' },
24
+ { id: EnumTipoPlanilla.N, code: 'N', description: 'Correcciones' },
25
+ { id: EnumTipoPlanilla.H, code: 'H', description: 'Madres Sustitutas' },
26
+ { id: EnumTipoPlanilla.T, code: 'T', description: 'Empleados Entidad Beneficiaria SGP' },
27
+ { id: EnumTipoPlanilla.F, code: 'F', description: 'Pago Aporte Patronal Faltante SGP' },
28
+ { id: EnumTipoPlanilla.J, code: 'J', description: 'Pago Seguridad Social Cump. Sentencia Judicial' },
29
+ { id: EnumTipoPlanilla.X, code: 'X', description: 'Pago Empresa Liquidada' },
30
+ { id: EnumTipoPlanilla.U, code: 'U', description: 'Uso UGPP pago por tercero' },
31
+ { id: EnumTipoPlanilla.K, code: 'K', description: 'Estudiantes' }
32
+ ];
33
+
34
+ static getById(id) {
35
+ return EnumTipoPlanilla.descriptions.find(item => item.id === id) || null;
36
+ }
37
+
38
+ static getAll() {
39
+ return EnumTipoPlanilla.descriptions;
40
+ }
41
+
42
+ static getByDescription(description) {
43
+ return EnumTipoPlanilla.descriptions.find(item => item.description === description) || null;
44
+ }
45
+ }
46
+
47
+ module.exports = EnumTipoPlanilla;
@@ -0,0 +1,23 @@
1
+ class EnumTipoReferencia {
2
+ static PERSONAL = 1;
3
+ static FAMILIAR = 2;
4
+
5
+ static descriptions = [
6
+ { id: EnumTipoReferencia.PERSONAL, code: 'PERSONAL', description: 'Personal' },
7
+ { id: EnumTipoReferencia.FAMILIAR, code: 'FAMILIAR', description: 'Familiar' }
8
+ ];
9
+
10
+ static getById(id) {
11
+ return EnumTipoReferencia.descriptions.find(item => item.id === id) || null;
12
+ }
13
+
14
+ static getAll() {
15
+ return EnumTipoReferencia.descriptions;
16
+ }
17
+
18
+ static getByDescription(description) {
19
+ return EnumTipoReferencia.descriptions.find(item => item.description === description) || null;
20
+ }
21
+ }
22
+
23
+ module.exports = EnumTipoReferencia;
@@ -0,0 +1,25 @@
1
+ class EnumTipoRegimen {
2
+ static SIMPLIFICADO = 1;
3
+ static COMUN = 2;
4
+ static GRAN_CONTRIBUYENTE = 3;
5
+
6
+ static descriptions = [
7
+ { id: EnumTipoRegimen.SIMPLIFICADO, code: 'SIMPLIFICADO', description: 'Simplificado' },
8
+ { id: EnumTipoRegimen.COMUN, code: 'COMUN', description: 'Común' },
9
+ { id: EnumTipoRegimen.GRAN_CONTRIBUYENTE, code: 'GRAN_CONTRIBUYENTE', description: 'Gran Contribuyente' }
10
+ ];
11
+
12
+ static getById(id) {
13
+ return EnumTipoRegimen.descriptions.find(item => item.id === id) || null;
14
+ }
15
+
16
+ static getAll() {
17
+ return EnumTipoRegimen.descriptions;
18
+ }
19
+
20
+ static getByDescription(description) {
21
+ return EnumTipoRegimen.descriptions.find(item => item.description === description) || null;
22
+ }
23
+ }
24
+
25
+ module.exports = EnumTipoRegimen;
@@ -0,0 +1,26 @@
1
+ class EnumTipoRegistro {
2
+ static IMPORTACION = 1;
3
+ static REGISTRO = 2;
4
+ static WEB = 3;
5
+
6
+ static descriptions = [
7
+ { id: EnumTipoRegistro.IMPORTACION, code: 'IMPORTACION', description: 'Importación' },
8
+ { id: EnumTipoRegistro.REGISTRO, code: 'REGISTRO', description: 'Registro' },
9
+ { id: EnumTipoRegistro.WEB, code: 'WEB', description: 'Web' }
10
+ ];
11
+
12
+ static getById(id) {
13
+ return EnumTipoRegistro.descriptions.find(item => item.id === id) || null;
14
+ }
15
+
16
+ static getAll() {
17
+ return EnumTipoRegistro.descriptions;
18
+ }
19
+
20
+ static getByDescription(description) {
21
+ return EnumTipoRegistro.descriptions.find(item => item.description === description) || null;
22
+ }
23
+ }
24
+
25
+ module.exports = EnumTipoRegistro;
26
+
@@ -0,0 +1,24 @@
1
+ class EnumTipoRegistroConceptoNovedadEmpresa {
2
+ static ASIGCON = 1;
3
+ static EMPRESA = 2;
4
+
5
+ static descriptions = [
6
+ { id: EnumTipoRegistroConceptoNovedadEmpresa.ASIGCON, code: 'ASIGCON', description: 'Asignación Contable' },
7
+ { id: EnumTipoRegistroConceptoNovedadEmpresa.EMPRESA, code: 'EMPRESA', description: 'Asignación por Empresa' }
8
+ ];
9
+
10
+ static getById(id) {
11
+ return EnumTipoRegistroConceptoNovedadEmpresa.descriptions.find(item => item.id === id) || null;
12
+ }
13
+
14
+ static getAll() {
15
+ return EnumTipoRegistroConceptoNovedadEmpresa.descriptions;
16
+ }
17
+
18
+ static getByDescription(description) {
19
+ return EnumTipoRegistroConceptoNovedadEmpresa.descriptions.find(item => item.description === description) || null;
20
+ }
21
+ }
22
+
23
+ module.exports = EnumTipoRegistroConceptoNovedadEmpresa;
24
+
@@ -0,0 +1,28 @@
1
+ class EnumTipoRegistroHistorial {
2
+ static CONTRATACION = 1;
3
+ static PRORROGA = 2;
4
+ static TERMINO = 3;
5
+ static NOVEDADPILA = 4;
6
+
7
+ static descriptions = [
8
+ { id: EnumTipoRegistroHistorial.CONTRATACION, code: 'CONTRATACION', description: 'Contratación' },
9
+ { id: EnumTipoRegistroHistorial.PRORROGA, code: 'PRORROGA', description: 'Prórroga' },
10
+ { id: EnumTipoRegistroHistorial.TERMINO, code: 'TERMINO', description: 'Termino' },
11
+ { id: EnumTipoRegistroHistorial.NOVEDADPILA, code: 'NOVEDADPILA', description: 'Novedades de PILA' }
12
+ ];
13
+
14
+ static getById(id) {
15
+ return EnumTipoRegistroHistorial.descriptions.find(item => item.id === id) || null;
16
+ }
17
+
18
+ static getAll() {
19
+ return EnumTipoRegistroHistorial.descriptions;
20
+ }
21
+
22
+ static getByDescription(description) {
23
+ return EnumTipoRegistroHistorial.descriptions.find(item => item.description === description) || null;
24
+ }
25
+ }
26
+
27
+ module.exports = EnumTipoRegistroHistorial;
28
+
@@ -0,0 +1,26 @@
1
+ class EnumTipoRegistroLiquidacion {
2
+ static ANTICIPO = 1;
3
+ static PAGO = 2;
4
+ static PAGO_SD = 3;
5
+
6
+ static descriptions = [
7
+ { id: EnumTipoRegistroLiquidacion.ANTICIPO, code: 'ANTICIPO', description: 'Anticipo' },
8
+ { id: EnumTipoRegistroLiquidacion.PAGO, code: 'PAGO', description: 'Pago' },
9
+ { id: EnumTipoRegistroLiquidacion.PAGO_SD, code: 'PAGO_SD', description: 'Pago SD' }
10
+ ];
11
+
12
+ static getById(id) {
13
+ return EnumTipoRegistroLiquidacion.descriptions.find(item => item.id === id) || null;
14
+ }
15
+
16
+ static getAll() {
17
+ return EnumTipoRegistroLiquidacion.descriptions;
18
+ }
19
+
20
+ static getByDescription(description) {
21
+ return EnumTipoRegistroLiquidacion.descriptions.find(item => item.description === description) || null;
22
+ }
23
+ }
24
+
25
+ module.exports = EnumTipoRegistroLiquidacion;
26
+
@@ -0,0 +1,37 @@
1
+ class EnumTipoServicioSeguridadSocial {
2
+ static EPS = 1;
3
+ static AFP = 2;
4
+ static ARP = 3;
5
+ static CCF = 4;
6
+ static SENA = 5;
7
+ static ICBF = 6;
8
+ static ESAP = 7;
9
+ static MINISTERIOEDUCACION = 8;
10
+ static FONDO_CESANTIAS = 9;
11
+
12
+ static descriptions = [
13
+ { id: EnumTipoServicioSeguridadSocial.EPS, code: 'EPS', description: 'EPS' },
14
+ { id: EnumTipoServicioSeguridadSocial.AFP, code: 'AFP', description: 'AFP' },
15
+ { id: EnumTipoServicioSeguridadSocial.ARP, code: 'ARP', description: 'ARP' },
16
+ { id: EnumTipoServicioSeguridadSocial.CCF, code: 'CCF', description: 'CCF' },
17
+ { id: EnumTipoServicioSeguridadSocial.SENA, code: 'SENA', description: 'SENA' },
18
+ { id: EnumTipoServicioSeguridadSocial.ICBF, code: 'ICBF', description: 'ICBF' },
19
+ { id: EnumTipoServicioSeguridadSocial.ESAP, code: 'ESAP', description: 'ESAP' },
20
+ { id: EnumTipoServicioSeguridadSocial.MINISTERIOEDUCACION, code: 'MINISTERIOEDUCACION', description: 'Ministerio de Educación' },
21
+ { id: EnumTipoServicioSeguridadSocial.FONDO_CESANTIAS, code: 'FONDO_CESANTIAS', description: 'Fondo de Cesantías' }
22
+ ];
23
+
24
+ static getById(id) {
25
+ return EnumTipoServicioSeguridadSocial.descriptions.find(item => item.id === id) || null;
26
+ }
27
+
28
+ static getAll() {
29
+ return EnumTipoServicioSeguridadSocial.descriptions;
30
+ }
31
+
32
+ static getByDescription(description) {
33
+ return EnumTipoServicioSeguridadSocial.descriptions.find(item => item.description === description) || null;
34
+ }
35
+ }
36
+
37
+ module.exports = EnumTipoServicioSeguridadSocial;
@@ -0,0 +1,24 @@
1
+ class EnumTipoTransferencia {
2
+ static CONSIGNACION = 1;
3
+ static CHEQUE = 2;
4
+
5
+ static descriptions = [
6
+ { id: EnumTipoTransferencia.CONSIGNACION, code: 'CONSIGNACION', description: 'Consignación' },
7
+ { id: EnumTipoTransferencia.CHEQUE, code: 'CHEQUE', description: 'Cheque' }
8
+ ];
9
+
10
+ static getById(id) {
11
+ return EnumTipoTransferencia.descriptions.find(item => item.id === id) || null;
12
+ }
13
+
14
+ static getAll() {
15
+ return EnumTipoTransferencia.descriptions;
16
+ }
17
+
18
+ static getByDescription(description) {
19
+ return EnumTipoTransferencia.descriptions.find(item => item.description === description) || null;
20
+ }
21
+ }
22
+
23
+ module.exports = EnumTipoTransferencia;
24
+
@@ -0,0 +1,26 @@
1
+ class EnumTipoTurno {
2
+ static PRIMER_TURNO = 1;
3
+ static SEGUNDO_TURNO = 2;
4
+ static TERCER_TURNO = 3;
5
+
6
+ static descriptions = [
7
+ { id: EnumTipoTurno.PRIMER_TURNO, code: 'PRIMER_TURNO', description: 'Turno 1' },
8
+ { id: EnumTipoTurno.SEGUNDO_TURNO, code: 'SEGUNDO_TURNO', description: 'Turno 2' },
9
+ { id: EnumTipoTurno.TERCER_TURNO, code: 'TERCER_TURNO', description: 'Turno 3' }
10
+ ];
11
+
12
+ static getById(id) {
13
+ return EnumTipoTurno.descriptions.find(item => item.id === id) || null;
14
+ }
15
+
16
+ static getAll() {
17
+ return EnumTipoTurno.descriptions;
18
+ }
19
+
20
+ static getByDescription(description) {
21
+ return EnumTipoTurno.descriptions.find(item => item.description === description) || null;
22
+ }
23
+ }
24
+
25
+ module.exports = EnumTipoTurno;
26
+