flit-models 3.2.68 → 3.3.0
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.
- package/lib/models/api/oncall-buscar-relatorio-absenteismo/index.d.ts +5 -1
- package/lib/models/api/oncall-buscar-relatorio-absenteismo/modelo-relatorio-absenteismo.d.ts +44 -0
- package/lib/models/api/oncall-buscar-relatorio-absenteismo/modelo-relatorio-absenteismo.js +139 -0
- package/lib/models/api/oncall-buscar-relatorio-absenteismo/relatorio_absenteismo.d.ts +71 -2
- package/lib/models/api/oncall-buscar-relatorio-absenteismo/relatorio_absenteismo.js +51 -13
- package/package.json +1 -1
|
@@ -1,9 +1,11 @@
|
|
|
1
|
-
import { RelatorioAbsenteismo } from './relatorio_absenteismo';
|
|
1
|
+
import { ModeloAbsenteismoPadraoIdentificadorEnum, RelatorioAbsenteismo } from './relatorio_absenteismo';
|
|
2
2
|
export interface OnCallBuscarRelatorioAbsenteismoRequestModelBase {
|
|
3
3
|
data_inicial: any;
|
|
4
4
|
data_final: any;
|
|
5
5
|
detalhado: boolean;
|
|
6
6
|
usuarios_ids: string[];
|
|
7
|
+
modelo_id?: string;
|
|
8
|
+
padrao_identificador?: ModeloAbsenteismoPadraoIdentificadorEnum.ABSENTEISMO_ATRASO;
|
|
7
9
|
ordenacao_colunas: {
|
|
8
10
|
[key: string]: {
|
|
9
11
|
order: 'asc' | 'desc';
|
|
@@ -15,6 +17,8 @@ export interface OnCallBuscarRelatorioAbsenteismoRequestModel extends OnCallBusc
|
|
|
15
17
|
data_final: string;
|
|
16
18
|
detalhado: boolean;
|
|
17
19
|
usuarios_ids: string[];
|
|
20
|
+
modelo_id?: string;
|
|
21
|
+
padrao_identificador?: ModeloAbsenteismoPadraoIdentificadorEnum.ABSENTEISMO_ATRASO;
|
|
18
22
|
ordenacao_colunas: {
|
|
19
23
|
[key: string]: {
|
|
20
24
|
order: 'asc' | 'desc';
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { AuditoriaModificadorFirestoreData } from '../../contas/auditoria/modificador';
|
|
2
|
+
export declare enum CamposFormulaDeCalculoAbsenteismoEnum {
|
|
3
|
+
FALTAS = "Faltas",
|
|
4
|
+
FALTASBH = "Faltas banco de horas",
|
|
5
|
+
ATRASOS = "Atrasos",
|
|
6
|
+
ATESTADOS = "Atestados"
|
|
7
|
+
}
|
|
8
|
+
export declare enum ColunasAbsenteismoEnum {
|
|
9
|
+
COLABORADOR = "Colaborador",
|
|
10
|
+
CPF = "CPF",
|
|
11
|
+
EMPRESA = "Empresa",
|
|
12
|
+
DEPARTAMENTO = "Departamento",
|
|
13
|
+
CARGO = "Cargo",
|
|
14
|
+
DIAS_TRABALHADOS = "Dias trabalhados",
|
|
15
|
+
HORAS_PREVISTAS = "Horas previstas",
|
|
16
|
+
HORAS_TRABALHADAS = "Horas trabalhadas",
|
|
17
|
+
HORAS_EXTRAS = "Horas extras",
|
|
18
|
+
ATESTADOS = "Atestados",
|
|
19
|
+
FALTAS = "Faltas",
|
|
20
|
+
FALTASBH = "Faltas_bh",
|
|
21
|
+
ATRASOS = "Atrasos",
|
|
22
|
+
ATRASOSPERCENT = "Atrasos %",
|
|
23
|
+
ABSENTEISMO = "Absente\u00EDsmo",
|
|
24
|
+
ABSENTEISMOPERCENT = "Absente\u00EDsmo %"
|
|
25
|
+
}
|
|
26
|
+
export declare enum ModeloAbsenteismoPadraoIdentificadorEnum {
|
|
27
|
+
ABSENTEISMO_COMPLETO = "ABSENTEISMO_COMPLETO",
|
|
28
|
+
ABSENTEISMO_FALTA = "ABSENTEISMO_FALTA",
|
|
29
|
+
ABSENTEISMO_ATRASO = "ABSENTEISMO_ATRASO"
|
|
30
|
+
}
|
|
31
|
+
export declare class ModeloAbsenteismo {
|
|
32
|
+
_id: string;
|
|
33
|
+
_path: string;
|
|
34
|
+
descricao: string;
|
|
35
|
+
excluido: boolean;
|
|
36
|
+
colunas: ColunasAbsenteismoEnum[];
|
|
37
|
+
campos_formula_de_calculo: CamposFormulaDeCalculoAbsenteismoEnum[];
|
|
38
|
+
padrao_identificador: ModeloAbsenteismoPadraoIdentificadorEnum;
|
|
39
|
+
modificador: AuditoriaModificadorFirestoreData;
|
|
40
|
+
data_criacao_doc: Date;
|
|
41
|
+
data_atualizacao_doc: Date;
|
|
42
|
+
constructor(data: Partial<ModeloAbsenteismo>);
|
|
43
|
+
}
|
|
44
|
+
export declare const modelosAbsenteismoPadroes: ModeloAbsenteismo[];
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.modelosAbsenteismoPadroes = exports.ModeloAbsenteismo = exports.ModeloAbsenteismoPadraoIdentificadorEnum = exports.ColunasAbsenteismoEnum = exports.CamposFormulaDeCalculoAbsenteismoEnum = void 0;
|
|
4
|
+
var CamposFormulaDeCalculoAbsenteismoEnum;
|
|
5
|
+
(function (CamposFormulaDeCalculoAbsenteismoEnum) {
|
|
6
|
+
CamposFormulaDeCalculoAbsenteismoEnum["FALTAS"] = "Faltas";
|
|
7
|
+
CamposFormulaDeCalculoAbsenteismoEnum["FALTASBH"] = "Faltas banco de horas";
|
|
8
|
+
CamposFormulaDeCalculoAbsenteismoEnum["ATRASOS"] = "Atrasos";
|
|
9
|
+
CamposFormulaDeCalculoAbsenteismoEnum["ATESTADOS"] = "Atestados";
|
|
10
|
+
})(CamposFormulaDeCalculoAbsenteismoEnum = exports.CamposFormulaDeCalculoAbsenteismoEnum || (exports.CamposFormulaDeCalculoAbsenteismoEnum = {}));
|
|
11
|
+
var ColunasAbsenteismoEnum;
|
|
12
|
+
(function (ColunasAbsenteismoEnum) {
|
|
13
|
+
ColunasAbsenteismoEnum["COLABORADOR"] = "Colaborador";
|
|
14
|
+
ColunasAbsenteismoEnum["CPF"] = "CPF";
|
|
15
|
+
ColunasAbsenteismoEnum["EMPRESA"] = "Empresa";
|
|
16
|
+
ColunasAbsenteismoEnum["DEPARTAMENTO"] = "Departamento";
|
|
17
|
+
ColunasAbsenteismoEnum["CARGO"] = "Cargo";
|
|
18
|
+
ColunasAbsenteismoEnum["DIAS_TRABALHADOS"] = "Dias trabalhados";
|
|
19
|
+
ColunasAbsenteismoEnum["HORAS_PREVISTAS"] = "Horas previstas";
|
|
20
|
+
ColunasAbsenteismoEnum["HORAS_TRABALHADAS"] = "Horas trabalhadas";
|
|
21
|
+
ColunasAbsenteismoEnum["HORAS_EXTRAS"] = "Horas extras";
|
|
22
|
+
ColunasAbsenteismoEnum["ATESTADOS"] = "Atestados";
|
|
23
|
+
ColunasAbsenteismoEnum["FALTAS"] = "Faltas";
|
|
24
|
+
ColunasAbsenteismoEnum["FALTASBH"] = "Faltas_bh";
|
|
25
|
+
ColunasAbsenteismoEnum["ATRASOS"] = "Atrasos";
|
|
26
|
+
ColunasAbsenteismoEnum["ATRASOSPERCENT"] = "Atrasos %";
|
|
27
|
+
ColunasAbsenteismoEnum["ABSENTEISMO"] = "Absente\u00EDsmo";
|
|
28
|
+
ColunasAbsenteismoEnum["ABSENTEISMOPERCENT"] = "Absente\u00EDsmo %";
|
|
29
|
+
})(ColunasAbsenteismoEnum = exports.ColunasAbsenteismoEnum || (exports.ColunasAbsenteismoEnum = {}));
|
|
30
|
+
var ModeloAbsenteismoPadraoIdentificadorEnum;
|
|
31
|
+
(function (ModeloAbsenteismoPadraoIdentificadorEnum) {
|
|
32
|
+
ModeloAbsenteismoPadraoIdentificadorEnum["ABSENTEISMO_COMPLETO"] = "ABSENTEISMO_COMPLETO";
|
|
33
|
+
ModeloAbsenteismoPadraoIdentificadorEnum["ABSENTEISMO_FALTA"] = "ABSENTEISMO_FALTA";
|
|
34
|
+
ModeloAbsenteismoPadraoIdentificadorEnum["ABSENTEISMO_ATRASO"] = "ABSENTEISMO_ATRASO";
|
|
35
|
+
})(ModeloAbsenteismoPadraoIdentificadorEnum = exports.ModeloAbsenteismoPadraoIdentificadorEnum || (exports.ModeloAbsenteismoPadraoIdentificadorEnum = {}));
|
|
36
|
+
var ModeloAbsenteismo = /** @class */ (function () {
|
|
37
|
+
function ModeloAbsenteismo(data) {
|
|
38
|
+
this._id = data._id;
|
|
39
|
+
this._path = data._path;
|
|
40
|
+
this.descricao = data.descricao;
|
|
41
|
+
this.excluido = data.excluido || false;
|
|
42
|
+
this.colunas = data.colunas || [
|
|
43
|
+
ColunasAbsenteismoEnum.COLABORADOR,
|
|
44
|
+
ColunasAbsenteismoEnum.CPF,
|
|
45
|
+
ColunasAbsenteismoEnum.EMPRESA,
|
|
46
|
+
ColunasAbsenteismoEnum.DEPARTAMENTO,
|
|
47
|
+
ColunasAbsenteismoEnum.CARGO,
|
|
48
|
+
ColunasAbsenteismoEnum.DIAS_TRABALHADOS,
|
|
49
|
+
ColunasAbsenteismoEnum.HORAS_PREVISTAS,
|
|
50
|
+
ColunasAbsenteismoEnum.HORAS_TRABALHADAS,
|
|
51
|
+
ColunasAbsenteismoEnum.HORAS_EXTRAS,
|
|
52
|
+
];
|
|
53
|
+
this.campos_formula_de_calculo = data.campos_formula_de_calculo || [];
|
|
54
|
+
this.padrao_identificador = data.padrao_identificador || null;
|
|
55
|
+
this.modificador = data.modificador || null;
|
|
56
|
+
this.data_atualizacao_doc = data.data_atualizacao_doc || null;
|
|
57
|
+
this.data_criacao_doc = data.data_criacao_doc || undefined;
|
|
58
|
+
}
|
|
59
|
+
return ModeloAbsenteismo;
|
|
60
|
+
}());
|
|
61
|
+
exports.ModeloAbsenteismo = ModeloAbsenteismo;
|
|
62
|
+
exports.modelosAbsenteismoPadroes = [
|
|
63
|
+
new ModeloAbsenteismo({
|
|
64
|
+
_id: null,
|
|
65
|
+
_path: null,
|
|
66
|
+
descricao: 'Absenteísmo atraso - (padrão)',
|
|
67
|
+
padrao_identificador: ModeloAbsenteismoPadraoIdentificadorEnum.ABSENTEISMO_ATRASO,
|
|
68
|
+
colunas: [
|
|
69
|
+
ColunasAbsenteismoEnum.COLABORADOR,
|
|
70
|
+
ColunasAbsenteismoEnum.CPF,
|
|
71
|
+
ColunasAbsenteismoEnum.EMPRESA,
|
|
72
|
+
ColunasAbsenteismoEnum.DEPARTAMENTO,
|
|
73
|
+
ColunasAbsenteismoEnum.CARGO,
|
|
74
|
+
ColunasAbsenteismoEnum.DIAS_TRABALHADOS,
|
|
75
|
+
ColunasAbsenteismoEnum.HORAS_PREVISTAS,
|
|
76
|
+
ColunasAbsenteismoEnum.HORAS_TRABALHADAS,
|
|
77
|
+
ColunasAbsenteismoEnum.HORAS_EXTRAS,
|
|
78
|
+
ColunasAbsenteismoEnum.ATRASOS,
|
|
79
|
+
ColunasAbsenteismoEnum.ABSENTEISMO,
|
|
80
|
+
ColunasAbsenteismoEnum.ABSENTEISMOPERCENT,
|
|
81
|
+
],
|
|
82
|
+
campos_formula_de_calculo: [CamposFormulaDeCalculoAbsenteismoEnum.ATRASOS],
|
|
83
|
+
}),
|
|
84
|
+
new ModeloAbsenteismo({
|
|
85
|
+
_id: null,
|
|
86
|
+
_path: null,
|
|
87
|
+
descricao: 'Absenteísmo falta',
|
|
88
|
+
padrao_identificador: ModeloAbsenteismoPadraoIdentificadorEnum.ABSENTEISMO_FALTA,
|
|
89
|
+
colunas: [
|
|
90
|
+
ColunasAbsenteismoEnum.COLABORADOR,
|
|
91
|
+
ColunasAbsenteismoEnum.CPF,
|
|
92
|
+
ColunasAbsenteismoEnum.EMPRESA,
|
|
93
|
+
ColunasAbsenteismoEnum.DEPARTAMENTO,
|
|
94
|
+
ColunasAbsenteismoEnum.CARGO,
|
|
95
|
+
ColunasAbsenteismoEnum.DIAS_TRABALHADOS,
|
|
96
|
+
ColunasAbsenteismoEnum.HORAS_PREVISTAS,
|
|
97
|
+
ColunasAbsenteismoEnum.HORAS_TRABALHADAS,
|
|
98
|
+
ColunasAbsenteismoEnum.HORAS_EXTRAS,
|
|
99
|
+
ColunasAbsenteismoEnum.FALTAS,
|
|
100
|
+
ColunasAbsenteismoEnum.FALTASBH,
|
|
101
|
+
ColunasAbsenteismoEnum.ABSENTEISMO,
|
|
102
|
+
ColunasAbsenteismoEnum.ABSENTEISMOPERCENT,
|
|
103
|
+
],
|
|
104
|
+
campos_formula_de_calculo: [
|
|
105
|
+
CamposFormulaDeCalculoAbsenteismoEnum.FALTAS,
|
|
106
|
+
CamposFormulaDeCalculoAbsenteismoEnum.FALTASBH,
|
|
107
|
+
],
|
|
108
|
+
}),
|
|
109
|
+
new ModeloAbsenteismo({
|
|
110
|
+
_id: null,
|
|
111
|
+
_path: null,
|
|
112
|
+
descricao: 'Absenteísmo completo',
|
|
113
|
+
padrao_identificador: ModeloAbsenteismoPadraoIdentificadorEnum.ABSENTEISMO_COMPLETO,
|
|
114
|
+
colunas: [
|
|
115
|
+
ColunasAbsenteismoEnum.COLABORADOR,
|
|
116
|
+
ColunasAbsenteismoEnum.CPF,
|
|
117
|
+
ColunasAbsenteismoEnum.EMPRESA,
|
|
118
|
+
ColunasAbsenteismoEnum.DEPARTAMENTO,
|
|
119
|
+
ColunasAbsenteismoEnum.CARGO,
|
|
120
|
+
ColunasAbsenteismoEnum.DIAS_TRABALHADOS,
|
|
121
|
+
ColunasAbsenteismoEnum.HORAS_PREVISTAS,
|
|
122
|
+
ColunasAbsenteismoEnum.HORAS_TRABALHADAS,
|
|
123
|
+
ColunasAbsenteismoEnum.HORAS_EXTRAS,
|
|
124
|
+
ColunasAbsenteismoEnum.ATESTADOS,
|
|
125
|
+
ColunasAbsenteismoEnum.FALTAS,
|
|
126
|
+
ColunasAbsenteismoEnum.FALTASBH,
|
|
127
|
+
ColunasAbsenteismoEnum.ATRASOS,
|
|
128
|
+
ColunasAbsenteismoEnum.ATRASOSPERCENT,
|
|
129
|
+
ColunasAbsenteismoEnum.ABSENTEISMO,
|
|
130
|
+
ColunasAbsenteismoEnum.ABSENTEISMOPERCENT,
|
|
131
|
+
],
|
|
132
|
+
campos_formula_de_calculo: [
|
|
133
|
+
CamposFormulaDeCalculoAbsenteismoEnum.ATESTADOS,
|
|
134
|
+
CamposFormulaDeCalculoAbsenteismoEnum.ATRASOS,
|
|
135
|
+
CamposFormulaDeCalculoAbsenteismoEnum.FALTAS,
|
|
136
|
+
CamposFormulaDeCalculoAbsenteismoEnum.FALTASBH,
|
|
137
|
+
],
|
|
138
|
+
}),
|
|
139
|
+
];
|
|
@@ -4,6 +4,22 @@ export interface RelatorioAbsenteismoDadosDiariosBase {
|
|
|
4
4
|
horas_previstas: any;
|
|
5
5
|
horas_trabalhadas: any;
|
|
6
6
|
horas_extras: any;
|
|
7
|
+
suspensoes: {
|
|
8
|
+
porcentagem: any;
|
|
9
|
+
horas: any;
|
|
10
|
+
};
|
|
11
|
+
atestados: {
|
|
12
|
+
porcentagem: any;
|
|
13
|
+
horas: any;
|
|
14
|
+
};
|
|
15
|
+
faltas: {
|
|
16
|
+
porcentagem: any;
|
|
17
|
+
horas: any;
|
|
18
|
+
};
|
|
19
|
+
faltas_bh: {
|
|
20
|
+
porcentagem: any;
|
|
21
|
+
horas: any;
|
|
22
|
+
};
|
|
7
23
|
atrasos: {
|
|
8
24
|
porcentagem: any;
|
|
9
25
|
horas: any;
|
|
@@ -13,11 +29,32 @@ export interface RelatorioAbsenteismoDadosDiariosBase {
|
|
|
13
29
|
horas: any;
|
|
14
30
|
};
|
|
15
31
|
}
|
|
32
|
+
export declare enum ModeloAbsenteismoPadraoIdentificadorEnum {
|
|
33
|
+
ABSENTEISMO_COMPLETO = "ABSENTEISMO_COMPLETO",
|
|
34
|
+
ABSENTEISMO_FALTA = "ABSENTEISMO_FALTA",
|
|
35
|
+
ABSENTEISMO_ATRASO = "ABSENTEISMO_ATRASO"
|
|
36
|
+
}
|
|
16
37
|
export interface RelatorioAbsenteismoBase {
|
|
17
38
|
total_dias_trabalhados: any;
|
|
18
39
|
total_horas_previstas: any;
|
|
19
40
|
total_horas_trabalhadas: any;
|
|
20
41
|
total_horas_extras: any;
|
|
42
|
+
total_suspensoes: {
|
|
43
|
+
porcentagem: any;
|
|
44
|
+
horas: any;
|
|
45
|
+
};
|
|
46
|
+
total_atestados: {
|
|
47
|
+
porcentagem: any;
|
|
48
|
+
horas: any;
|
|
49
|
+
};
|
|
50
|
+
total_faltas: {
|
|
51
|
+
porcentagem: any;
|
|
52
|
+
horas: any;
|
|
53
|
+
};
|
|
54
|
+
total_faltas_bh: {
|
|
55
|
+
porcentagem: any;
|
|
56
|
+
horas: any;
|
|
57
|
+
};
|
|
21
58
|
total_atrasos: {
|
|
22
59
|
porcentagem: any;
|
|
23
60
|
horas: any;
|
|
@@ -34,6 +71,22 @@ export declare class RelatorioAbsenteismoDadosDiarios implements RelatorioAbsent
|
|
|
34
71
|
horas_previstas: number;
|
|
35
72
|
horas_trabalhadas: number;
|
|
36
73
|
horas_extras: number;
|
|
74
|
+
suspensoes: {
|
|
75
|
+
porcentagem: number;
|
|
76
|
+
horas: number;
|
|
77
|
+
};
|
|
78
|
+
atestados: {
|
|
79
|
+
porcentagem: number;
|
|
80
|
+
horas: number;
|
|
81
|
+
};
|
|
82
|
+
faltas: {
|
|
83
|
+
porcentagem: number;
|
|
84
|
+
horas: number;
|
|
85
|
+
};
|
|
86
|
+
faltas_bh: {
|
|
87
|
+
porcentagem: number;
|
|
88
|
+
horas: number;
|
|
89
|
+
};
|
|
37
90
|
atrasos: {
|
|
38
91
|
porcentagem: number;
|
|
39
92
|
horas: number;
|
|
@@ -42,7 +95,7 @@ export declare class RelatorioAbsenteismoDadosDiarios implements RelatorioAbsent
|
|
|
42
95
|
porcentagem: number;
|
|
43
96
|
horas: number;
|
|
44
97
|
};
|
|
45
|
-
constructor({ data_hora, dias_trabalhados, horas_previstas, horas_trabalhadas, horas_extras, atrasos, absenteismo, }: RelatorioAbsenteismoDadosDiarios);
|
|
98
|
+
constructor({ data_hora, dias_trabalhados, horas_previstas, horas_trabalhadas, horas_extras, suspensoes, atestados, faltas, faltas_bh, atrasos, absenteismo, }: RelatorioAbsenteismoDadosDiarios);
|
|
46
99
|
}
|
|
47
100
|
export declare class RelatorioAbsenteismo implements RelatorioAbsenteismoBase {
|
|
48
101
|
_id: string;
|
|
@@ -51,6 +104,22 @@ export declare class RelatorioAbsenteismo implements RelatorioAbsenteismoBase {
|
|
|
51
104
|
total_horas_previstas: number;
|
|
52
105
|
total_horas_trabalhadas: number;
|
|
53
106
|
total_horas_extras: number;
|
|
107
|
+
total_suspensoes: {
|
|
108
|
+
porcentagem: number;
|
|
109
|
+
horas: number;
|
|
110
|
+
};
|
|
111
|
+
total_atestados: {
|
|
112
|
+
porcentagem: number;
|
|
113
|
+
horas: number;
|
|
114
|
+
};
|
|
115
|
+
total_faltas: {
|
|
116
|
+
porcentagem: number;
|
|
117
|
+
horas: number;
|
|
118
|
+
};
|
|
119
|
+
total_faltas_bh: {
|
|
120
|
+
porcentagem: number;
|
|
121
|
+
horas: number;
|
|
122
|
+
};
|
|
54
123
|
total_atrasos: {
|
|
55
124
|
porcentagem: number;
|
|
56
125
|
horas: number;
|
|
@@ -60,5 +129,5 @@ export declare class RelatorioAbsenteismo implements RelatorioAbsenteismoBase {
|
|
|
60
129
|
horas: number;
|
|
61
130
|
};
|
|
62
131
|
relatorio_dados_diarios: RelatorioAbsenteismoDadosDiarios[];
|
|
63
|
-
constructor({ _id, _usuario, total_dias_trabalhados, total_horas_previstas, total_horas_trabalhadas, total_horas_extras, total_atrasos, total_absenteismo, relatorio_dados_diarios, }: RelatorioAbsenteismo);
|
|
132
|
+
constructor({ _id, _usuario, total_dias_trabalhados, total_horas_previstas, total_horas_trabalhadas, total_horas_extras, total_suspensoes, total_atestados, total_faltas, total_faltas_bh, total_atrasos, total_absenteismo, relatorio_dados_diarios, }: RelatorioAbsenteismo);
|
|
64
133
|
}
|
|
@@ -1,22 +1,44 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RelatorioAbsenteismo = exports.RelatorioAbsenteismoDadosDiarios = void 0;
|
|
3
|
+
exports.RelatorioAbsenteismo = exports.RelatorioAbsenteismoDadosDiarios = exports.ModeloAbsenteismoPadraoIdentificadorEnum = void 0;
|
|
4
|
+
var ModeloAbsenteismoPadraoIdentificadorEnum;
|
|
5
|
+
(function (ModeloAbsenteismoPadraoIdentificadorEnum) {
|
|
6
|
+
ModeloAbsenteismoPadraoIdentificadorEnum["ABSENTEISMO_COMPLETO"] = "ABSENTEISMO_COMPLETO";
|
|
7
|
+
ModeloAbsenteismoPadraoIdentificadorEnum["ABSENTEISMO_FALTA"] = "ABSENTEISMO_FALTA";
|
|
8
|
+
ModeloAbsenteismoPadraoIdentificadorEnum["ABSENTEISMO_ATRASO"] = "ABSENTEISMO_ATRASO";
|
|
9
|
+
})(ModeloAbsenteismoPadraoIdentificadorEnum = exports.ModeloAbsenteismoPadraoIdentificadorEnum || (exports.ModeloAbsenteismoPadraoIdentificadorEnum = {}));
|
|
4
10
|
var RelatorioAbsenteismoDadosDiarios = /** @class */ (function () {
|
|
5
11
|
function RelatorioAbsenteismoDadosDiarios(_a) {
|
|
6
|
-
var data_hora = _a.data_hora, dias_trabalhados = _a.dias_trabalhados, horas_previstas = _a.horas_previstas, horas_trabalhadas = _a.horas_trabalhadas, horas_extras = _a.horas_extras, atrasos = _a.atrasos, absenteismo = _a.absenteismo;
|
|
7
|
-
var _b, _c, _d, _e;
|
|
12
|
+
var data_hora = _a.data_hora, dias_trabalhados = _a.dias_trabalhados, horas_previstas = _a.horas_previstas, horas_trabalhadas = _a.horas_trabalhadas, horas_extras = _a.horas_extras, suspensoes = _a.suspensoes, atestados = _a.atestados, faltas = _a.faltas, faltas_bh = _a.faltas_bh, atrasos = _a.atrasos, absenteismo = _a.absenteismo;
|
|
13
|
+
var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
8
14
|
this.data_hora = data_hora !== null && data_hora !== void 0 ? data_hora : null;
|
|
9
15
|
this.dias_trabalhados = dias_trabalhados !== null && dias_trabalhados !== void 0 ? dias_trabalhados : 0;
|
|
10
16
|
this.horas_previstas = horas_previstas !== null && horas_previstas !== void 0 ? horas_previstas : 0;
|
|
11
17
|
this.horas_trabalhadas = horas_trabalhadas !== null && horas_trabalhadas !== void 0 ? horas_trabalhadas : 0;
|
|
12
18
|
this.horas_extras = horas_extras !== null && horas_extras !== void 0 ? horas_extras : 0;
|
|
19
|
+
this.suspensoes = {
|
|
20
|
+
porcentagem: (_b = suspensoes.porcentagem) !== null && _b !== void 0 ? _b : 0,
|
|
21
|
+
horas: (_c = suspensoes.horas) !== null && _c !== void 0 ? _c : 0,
|
|
22
|
+
};
|
|
23
|
+
this.atestados = {
|
|
24
|
+
porcentagem: (_d = atestados.porcentagem) !== null && _d !== void 0 ? _d : 0,
|
|
25
|
+
horas: (_e = atestados.horas) !== null && _e !== void 0 ? _e : 0,
|
|
26
|
+
};
|
|
27
|
+
this.faltas = {
|
|
28
|
+
porcentagem: (_f = faltas.porcentagem) !== null && _f !== void 0 ? _f : 0,
|
|
29
|
+
horas: (_g = faltas.horas) !== null && _g !== void 0 ? _g : 0,
|
|
30
|
+
};
|
|
31
|
+
this.faltas_bh = {
|
|
32
|
+
porcentagem: (_h = faltas_bh.porcentagem) !== null && _h !== void 0 ? _h : 0,
|
|
33
|
+
horas: (_j = faltas_bh.horas) !== null && _j !== void 0 ? _j : 0,
|
|
34
|
+
};
|
|
13
35
|
this.atrasos = {
|
|
14
|
-
porcentagem: (
|
|
15
|
-
horas: (
|
|
36
|
+
porcentagem: (_k = atrasos.porcentagem) !== null && _k !== void 0 ? _k : 0,
|
|
37
|
+
horas: (_l = atrasos.horas) !== null && _l !== void 0 ? _l : 0,
|
|
16
38
|
};
|
|
17
39
|
this.absenteismo = {
|
|
18
|
-
porcentagem: (
|
|
19
|
-
horas: (
|
|
40
|
+
porcentagem: (_m = absenteismo.porcentagem) !== null && _m !== void 0 ? _m : 0,
|
|
41
|
+
horas: (_o = absenteismo.horas) !== null && _o !== void 0 ? _o : 0,
|
|
20
42
|
};
|
|
21
43
|
}
|
|
22
44
|
return RelatorioAbsenteismoDadosDiarios;
|
|
@@ -24,21 +46,37 @@ var RelatorioAbsenteismoDadosDiarios = /** @class */ (function () {
|
|
|
24
46
|
exports.RelatorioAbsenteismoDadosDiarios = RelatorioAbsenteismoDadosDiarios;
|
|
25
47
|
var RelatorioAbsenteismo = /** @class */ (function () {
|
|
26
48
|
function RelatorioAbsenteismo(_a) {
|
|
27
|
-
var _id = _a._id, _usuario = _a._usuario, total_dias_trabalhados = _a.total_dias_trabalhados, total_horas_previstas = _a.total_horas_previstas, total_horas_trabalhadas = _a.total_horas_trabalhadas, total_horas_extras = _a.total_horas_extras, total_atrasos = _a.total_atrasos, total_absenteismo = _a.total_absenteismo, relatorio_dados_diarios = _a.relatorio_dados_diarios;
|
|
28
|
-
var _b, _c, _d, _e;
|
|
49
|
+
var _id = _a._id, _usuario = _a._usuario, total_dias_trabalhados = _a.total_dias_trabalhados, total_horas_previstas = _a.total_horas_previstas, total_horas_trabalhadas = _a.total_horas_trabalhadas, total_horas_extras = _a.total_horas_extras, total_suspensoes = _a.total_suspensoes, total_atestados = _a.total_atestados, total_faltas = _a.total_faltas, total_faltas_bh = _a.total_faltas_bh, total_atrasos = _a.total_atrasos, total_absenteismo = _a.total_absenteismo, relatorio_dados_diarios = _a.relatorio_dados_diarios;
|
|
50
|
+
var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
29
51
|
this._id = _id !== null && _id !== void 0 ? _id : '';
|
|
30
52
|
this._usuario = _usuario !== null && _usuario !== void 0 ? _usuario : '';
|
|
31
53
|
this.total_dias_trabalhados = total_dias_trabalhados !== null && total_dias_trabalhados !== void 0 ? total_dias_trabalhados : 0;
|
|
32
54
|
this.total_horas_previstas = total_horas_previstas !== null && total_horas_previstas !== void 0 ? total_horas_previstas : 0;
|
|
33
55
|
this.total_horas_trabalhadas = total_horas_trabalhadas !== null && total_horas_trabalhadas !== void 0 ? total_horas_trabalhadas : 0;
|
|
34
56
|
this.total_horas_extras = total_horas_extras !== null && total_horas_extras !== void 0 ? total_horas_extras : 0;
|
|
57
|
+
this.total_suspensoes = {
|
|
58
|
+
porcentagem: (_b = total_suspensoes.porcentagem) !== null && _b !== void 0 ? _b : 0,
|
|
59
|
+
horas: (_c = total_suspensoes.horas) !== null && _c !== void 0 ? _c : 0,
|
|
60
|
+
};
|
|
61
|
+
this.total_atestados = {
|
|
62
|
+
porcentagem: (_d = total_atestados.porcentagem) !== null && _d !== void 0 ? _d : 0,
|
|
63
|
+
horas: (_e = total_atestados.horas) !== null && _e !== void 0 ? _e : 0,
|
|
64
|
+
};
|
|
65
|
+
this.total_faltas = {
|
|
66
|
+
porcentagem: (_f = total_faltas.porcentagem) !== null && _f !== void 0 ? _f : 0,
|
|
67
|
+
horas: (_g = total_faltas.horas) !== null && _g !== void 0 ? _g : 0,
|
|
68
|
+
};
|
|
69
|
+
this.total_faltas_bh = {
|
|
70
|
+
porcentagem: (_h = total_faltas_bh.porcentagem) !== null && _h !== void 0 ? _h : 0,
|
|
71
|
+
horas: (_j = total_faltas_bh.horas) !== null && _j !== void 0 ? _j : 0,
|
|
72
|
+
};
|
|
35
73
|
this.total_atrasos = {
|
|
36
|
-
porcentagem: (
|
|
37
|
-
horas: (
|
|
74
|
+
porcentagem: (_k = total_atrasos.porcentagem) !== null && _k !== void 0 ? _k : 0,
|
|
75
|
+
horas: (_l = total_atrasos.horas) !== null && _l !== void 0 ? _l : 0,
|
|
38
76
|
};
|
|
39
77
|
this.total_absenteismo = {
|
|
40
|
-
porcentagem: (
|
|
41
|
-
horas: (
|
|
78
|
+
porcentagem: (_m = total_absenteismo.porcentagem) !== null && _m !== void 0 ? _m : 0,
|
|
79
|
+
horas: (_o = total_absenteismo.horas) !== null && _o !== void 0 ? _o : 0,
|
|
42
80
|
};
|
|
43
81
|
this.relatorio_dados_diarios = relatorio_dados_diarios !== null && relatorio_dados_diarios !== void 0 ? relatorio_dados_diarios : [];
|
|
44
82
|
}
|