flit-modulo-exportacoes 2.0.105 → 2.0.107
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.
|
@@ -4,6 +4,7 @@ export declare enum EnumTipoEventosExportacoes {
|
|
|
4
4
|
SCI = "SCI",
|
|
5
5
|
DebX = "DEBX",
|
|
6
6
|
DIMEP = "DIMEP",
|
|
7
|
+
Prosol = "PROSOL",
|
|
7
8
|
Dexion = "DEXION",
|
|
8
9
|
Fortes = "FORTES",
|
|
9
10
|
GCASPP = "GCASPP",
|
|
@@ -34,6 +35,7 @@ export declare enum EnumPadraoFormaEnvioFaltaSistemas {
|
|
|
34
35
|
SCI = "HORAS",
|
|
35
36
|
DebX = "HORAS",
|
|
36
37
|
DIMEP = "HORAS",
|
|
38
|
+
Prosol = "HORAS",
|
|
37
39
|
Dexion = "HORAS",
|
|
38
40
|
Fortes = "HORAS",
|
|
39
41
|
GCASPP = "HORAS",
|
|
@@ -8,6 +8,7 @@ var EnumTipoEventosExportacoes;
|
|
|
8
8
|
EnumTipoEventosExportacoes["SCI"] = "SCI";
|
|
9
9
|
EnumTipoEventosExportacoes["DebX"] = "DEBX";
|
|
10
10
|
EnumTipoEventosExportacoes["DIMEP"] = "DIMEP";
|
|
11
|
+
EnumTipoEventosExportacoes["Prosol"] = "PROSOL";
|
|
11
12
|
EnumTipoEventosExportacoes["Dexion"] = "DEXION";
|
|
12
13
|
EnumTipoEventosExportacoes["Fortes"] = "FORTES";
|
|
13
14
|
EnumTipoEventosExportacoes["GCASPP"] = "GCASPP";
|
|
@@ -40,6 +41,7 @@ var EnumPadraoFormaEnvioFaltaSistemas;
|
|
|
40
41
|
EnumPadraoFormaEnvioFaltaSistemas["SCI"] = "HORAS";
|
|
41
42
|
EnumPadraoFormaEnvioFaltaSistemas["DebX"] = "HORAS";
|
|
42
43
|
EnumPadraoFormaEnvioFaltaSistemas["DIMEP"] = "HORAS";
|
|
44
|
+
EnumPadraoFormaEnvioFaltaSistemas["Prosol"] = "HORAS";
|
|
43
45
|
EnumPadraoFormaEnvioFaltaSistemas["Dexion"] = "HORAS";
|
|
44
46
|
EnumPadraoFormaEnvioFaltaSistemas["Fortes"] = "HORAS";
|
|
45
47
|
EnumPadraoFormaEnvioFaltaSistemas["GCASPP"] = "HORAS";
|
package/dist/index.js
CHANGED
|
@@ -411,7 +411,9 @@ async function calcularValoresExportacao({ contaId, elasticClient, conta, jornad
|
|
|
411
411
|
dataHoraUltimaJornadaProcessada = new Date(jornada.data_hora);
|
|
412
412
|
bancoHorasAcumuladoUltimaJornada = jornada.banco_horas_acumulado ?? 0;
|
|
413
413
|
}
|
|
414
|
-
const minutosPrevistos =
|
|
414
|
+
const minutosPrevistos = [jornada_model_1.TiposOcorrenciaFrequencia.DiaTrabalhado, jornada_model_1.TiposOcorrenciaFrequencia.JornadaExterna].includes(jornada.jornada_prevista?.ocorrencia_frequencia?.tipo)
|
|
415
|
+
? (0, utils_2.retornaNumeroMinutosPrevistosEscala)(jornada.jornada_prevista?.periodos ?? [])
|
|
416
|
+
: 0;
|
|
415
417
|
if (jornada.jornada_realizada?.ocorrencia_frequencia?.tipo === jornada_model_1.TiposOcorrenciaFrequencia.Falta) {
|
|
416
418
|
valoresEventos.DatasFaltas.push(new Date(jornada.data_hora));
|
|
417
419
|
valoresEventos.ValorFaltas.Dias += 1;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "flit-modulo-exportacoes",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.107",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"directories": {
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@elastic/elasticsearch": "^8.19.1",
|
|
19
19
|
"@types/luxon": "^3.7.1",
|
|
20
|
-
"flit-calcular-jornada": "2.
|
|
21
|
-
"prettier": "^3.8.
|
|
20
|
+
"flit-calcular-jornada": "2.8.0",
|
|
21
|
+
"prettier": "^3.8.3",
|
|
22
22
|
"tsc-alias": "^1.8.16",
|
|
23
23
|
"typescript": "^4.9.5"
|
|
24
24
|
},
|