keevo-api-services-hcm 0.0.3 → 0.0.5
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/esm2022/keevo-api-services-hcm.mjs +2 -2
- package/esm2022/lib/models/filtro/filtrocpfcnpj.mjs +1 -1
- package/esm2022/lib/models/filtro/filtrolistaanalistas.model.mjs +1 -1
- package/esm2022/lib/models/filtro/filtrolistahcm.model.mjs +1 -1
- package/esm2022/lib/models/filtro/filtrolistalider.model.mjs +1 -1
- package/esm2022/lib/models/filtro/filtrolistaregistro.model.mjs +1 -1
- package/esm2022/lib/models/filtro/filtrolistarelacionamentolotacao.model.mjs +1 -1
- package/esm2022/lib/models/filtro/filtrolistausuario.model.mjs +1 -1
- package/esm2022/lib/models/hcm/cargo/cargoresumo.model.mjs +1 -1
- package/esm2022/lib/models/hcm/departamento/departamentoresumo.model.mjs +1 -1
- package/esm2022/lib/models/hcm/equipe/equipe.model.mjs +1 -1
- package/esm2022/lib/models/hcm/equipe/equipemembro.model.mjs +1 -1
- package/esm2022/lib/models/hcm/equipe/equipemembroresumo.model.mjs +1 -1
- package/esm2022/lib/models/hcm/equipe/equiperesumo.model.mjs +1 -1
- package/esm2022/lib/models/hcm/hierarquiaorganizacional/hierarquiaorganizacional.model.mjs +2 -0
- package/esm2022/lib/models/hcm/tipoestado/tipoestado.model.mjs +1 -1
- package/esm2022/lib/models/hcm/tipoestado/tipoestadoresumo.model.mjs +1 -1
- package/esm2022/lib/models/hcm/unidadehierarquica/unidadehierarquica.model.mjs +1 -1
- package/esm2022/lib/models/hcm/unidadehierarquica/unidadehierarquicaresumo.model.mjs +1 -1
- package/esm2022/lib/models/passaporte/master/master-combo-model.mjs +2 -0
- package/esm2022/lib/models/passaporte/master/master-model.mjs +2 -0
- package/esm2022/lib/models/passaporte/master/master-servidor.mjs +2 -0
- package/esm2022/lib/models/pessoa/analista/analistapessoa.model.mjs +1 -1
- package/esm2022/lib/models/pessoa/colaborador/colaborador.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/lider/lider.model.mjs +1 -1
- package/esm2022/lib/models/pessoa/lider/lidersubstituto.model.mjs +1 -1
- package/esm2022/lib/models/pessoa/lider/periododevigencia.model.mjs +1 -1
- package/esm2022/lib/models/pessoa/pessoa/atualizaflag.model.mjs +1 -1
- package/esm2022/lib/models/pessoa/pessoa/atualizaflagpessoa.model.mjs +1 -1
- package/esm2022/lib/models/pessoa/pessoa/pessoafoto.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/registro/registrofotomodel.model.mjs +1 -1
- package/esm2022/lib/services/hcm/cargo.service.mjs +10 -11
- package/esm2022/lib/services/hcm/centro-custo.service.mjs +12 -13
- package/esm2022/lib/services/hcm/centro-resultado.service.mjs +11 -12
- package/esm2022/lib/services/hcm/departamento.service.mjs +11 -12
- package/esm2022/lib/services/hcm/equipe-membro.service.mjs +16 -17
- package/esm2022/lib/services/hcm/equipe.service.mjs +14 -15
- package/esm2022/lib/services/hcm/hierarquiaorganizacional.service.mjs +42 -0
- package/esm2022/lib/services/hcm/relacionamento-lotacao.service.mjs +16 -17
- package/esm2022/lib/services/hcm/sub-tipo-ocorrencia.service.mjs +11 -12
- package/esm2022/lib/services/hcm/tipo-estado.service.mjs +13 -14
- package/esm2022/lib/services/hcm/tipo-ocorrencia.service.mjs +13 -14
- package/esm2022/lib/services/hcm/unidade-administrativa.service.mjs +11 -12
- package/esm2022/lib/services/hcm/unidade-hierarquica.service.mjs +18 -19
- package/esm2022/lib/services/passaporte/empresa-banner.service.mjs +11 -12
- package/esm2022/lib/services/passaporte/empresa-parametros.service.mjs +12 -13
- package/esm2022/lib/services/passaporte/empresa.service.mjs +11 -12
- package/esm2022/lib/services/pessoa/analista-pessoa.service.mjs +14 -15
- package/esm2022/lib/services/pessoa/colaborador.service.mjs +44 -0
- package/esm2022/lib/services/pessoa/keex.service.mjs +16 -17
- package/esm2022/lib/services/pessoa/lider.service.mjs +23 -24
- package/esm2022/lib/services/pessoa/registro.service.mjs +24 -21
- package/esm2022/lib/services/pessoa/tomador.service.mjs +12 -13
- package/esm2022/lib/services/utilitarios/dadosrelacionamento.service.mjs +3 -3
- package/esm2022/lib/services/utilitarios/validators.service.mjs +158 -0
- package/esm2022/public-api.mjs +13 -6
- package/fesm2022/keevo-api-services-hcm.mjs +470 -276
- package/fesm2022/keevo-api-services-hcm.mjs.map +1 -1
- package/index.d.ts +4 -0
- package/lib/models/filtro/filtrocpfcnpj.d.ts +2 -2
- package/lib/models/filtro/filtrolistaanalistas.model.d.ts +1 -1
- package/lib/models/filtro/filtrolistahcm.model.d.ts +2 -4
- package/lib/models/filtro/filtrolistalider.model.d.ts +1 -1
- package/lib/models/filtro/filtrolistaregistro.model.d.ts +2 -1
- package/lib/models/filtro/filtrolistarelacionamentolotacao.model.d.ts +1 -1
- package/lib/models/filtro/filtrolistausuario.model.d.ts +2 -1
- package/lib/models/hcm/cargo/cargoresumo.model.d.ts +1 -1
- package/lib/models/hcm/departamento/departamentoresumo.model.d.ts +1 -1
- package/lib/models/hcm/equipe/equipe.model.d.ts +3 -3
- package/lib/models/hcm/equipe/equipemembro.model.d.ts +1 -1
- package/lib/models/hcm/equipe/equipemembroresumo.model.d.ts +1 -1
- package/lib/models/hcm/equipe/equiperesumo.model.d.ts +2 -2
- package/lib/models/hcm/hierarquiaorganizacional/hierarquiaorganizacional.model.d.ts +9 -0
- package/lib/models/hcm/tipoestado/tipoestado.model.d.ts +1 -1
- package/lib/models/hcm/tipoestado/tipoestadoresumo.model.d.ts +1 -1
- package/lib/models/hcm/unidadehierarquica/unidadehierarquica.model.d.ts +1 -1
- package/lib/models/hcm/unidadehierarquica/unidadehierarquicaresumo.model.d.ts +1 -1
- package/lib/models/passaporte/master/master-combo-model.d.ts +5 -0
- package/lib/models/passaporte/master/master-model.d.ts +12 -0
- package/lib/models/passaporte/master/master-servidor.d.ts +6 -0
- package/lib/models/pessoa/analista/analistapessoa.model.d.ts +1 -1
- package/lib/models/pessoa/colaborador/colaborador.model.d.ts +26 -0
- package/lib/models/pessoa/lider/lider.model.d.ts +4 -4
- package/lib/models/pessoa/lider/lidersubstituto.model.d.ts +1 -1
- package/lib/models/pessoa/lider/periododevigencia.model.d.ts +1 -1
- package/lib/models/pessoa/pessoa/atualizaflag.model.d.ts +1 -1
- package/lib/models/pessoa/pessoa/atualizaflagpessoa.model.d.ts +1 -1
- package/lib/models/pessoa/pessoa/pessoafoto.model.d.ts +8 -0
- package/lib/models/pessoa/registro/registrofotomodel.model.d.ts +4 -4
- package/lib/services/hcm/cargo.service.d.ts +4 -4
- package/lib/services/hcm/centro-custo.service.d.ts +4 -4
- package/lib/services/hcm/centro-resultado.service.d.ts +4 -4
- package/lib/services/hcm/departamento.service.d.ts +4 -4
- package/lib/services/hcm/equipe-membro.service.d.ts +9 -9
- package/lib/services/hcm/equipe.service.d.ts +6 -6
- package/lib/services/hcm/hierarquiaorganizacional.service.d.ts +22 -0
- package/lib/services/hcm/relacionamento-lotacao.service.d.ts +4 -4
- package/lib/services/hcm/sub-tipo-ocorrencia.service.d.ts +4 -4
- package/lib/services/hcm/tipo-estado.service.d.ts +5 -5
- package/lib/services/hcm/tipo-ocorrencia.service.d.ts +4 -4
- package/lib/services/hcm/unidade-administrativa.service.d.ts +3 -3
- package/lib/services/hcm/unidade-hierarquica.service.d.ts +5 -5
- package/lib/services/passaporte/empresa-banner.service.d.ts +3 -3
- package/lib/services/passaporte/empresa-parametros.service.d.ts +3 -3
- package/lib/services/passaporte/empresa.service.d.ts +3 -3
- package/lib/services/pessoa/analista-pessoa.service.d.ts +4 -4
- package/lib/services/pessoa/colaborador.service.d.ts +23 -0
- package/lib/services/pessoa/keex.service.d.ts +5 -5
- package/lib/services/pessoa/lider.service.d.ts +7 -7
- package/lib/services/pessoa/registro.service.d.ts +12 -10
- package/lib/services/pessoa/tomador.service.d.ts +5 -5
- package/lib/services/utilitarios/validators.service.d.ts +23 -0
- package/package.json +2 -2
- package/public-api.d.ts +12 -5
- package/esm2022/index.mjs +0 -2
- package/esm2022/lib/modules/api-services-hcm.module.mjs +0 -45
- package/lib/modules/api-services-hcm.module.d.ts +0 -10
@@ -1,124 +1,161 @@
|
|
1
|
+
import { BaseApiService } from 'keevo-api-services';
|
1
2
|
import * as i1 from '@angular/common/http';
|
2
3
|
import { HttpHeaders } from '@angular/common/http';
|
3
4
|
import * as i0 from '@angular/core';
|
4
|
-
import { Injectable, Inject
|
5
|
-
import * as i2 from 'keevo-api-services';
|
6
|
-
import { BaseApiService } from 'keevo-api-services';
|
7
|
-
import { CommonModule } from '@angular/common';
|
5
|
+
import { Injectable, Inject } from '@angular/core';
|
8
6
|
|
9
7
|
class CargoService extends BaseApiService {
|
10
|
-
constructor(httpClient,
|
8
|
+
constructor(httpClient, hostEnv) {
|
11
9
|
super(httpClient);
|
12
10
|
this.httpClient = httpClient;
|
13
|
-
this.
|
11
|
+
this.hostEnv = hostEnv;
|
14
12
|
this.rotaListarTodos = 'hcm/api/v1/cargo/listartodos';
|
15
13
|
}
|
16
14
|
Listar(filtro) {
|
17
|
-
return this.getAllHeaders(this.
|
15
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListarTodos, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
18
16
|
}
|
19
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
20
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
17
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: CargoService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
18
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: CargoService, providedIn: 'root' }); }
|
21
19
|
}
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: CargoService, decorators: [{
|
23
21
|
type: Injectable,
|
24
22
|
args: [{
|
25
23
|
providedIn: 'root'
|
26
24
|
}]
|
27
|
-
}], ctorParameters: () => [{ type: i1.HttpClient }, { type:
|
25
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
28
26
|
type: Inject,
|
29
|
-
args: ['
|
27
|
+
args: ['hostEnv']
|
30
28
|
}] }] });
|
31
29
|
|
32
30
|
class CentroCustoService extends BaseApiService {
|
33
|
-
constructor(httpClient,
|
31
|
+
constructor(httpClient, hostEnv) {
|
34
32
|
super(httpClient);
|
35
33
|
this.httpClient = httpClient;
|
36
|
-
this.
|
34
|
+
this.hostEnv = hostEnv;
|
37
35
|
this.rotaListar = 'hcm/api/v1/centrocusto/listar';
|
38
36
|
this.rotaListarTodos = 'hcm/api/v1/centrocusto/listartodos';
|
39
37
|
this.rotaSelecionar = 'hcm/api/v1/centrocusto/selecionar';
|
40
38
|
}
|
41
39
|
Listar(filtro) {
|
42
|
-
return this.getAllHeaders(this.
|
40
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListar, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
43
41
|
}
|
44
42
|
ListarTodos(filtro) {
|
45
|
-
return this.getAllHeaders(this.
|
43
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListarTodos, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
46
44
|
}
|
47
45
|
Selecionar(idcentrocusto) {
|
48
|
-
return this.get(this.
|
46
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idcentrocusto}`);
|
49
47
|
}
|
50
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
51
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
48
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: CentroCustoService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
49
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: CentroCustoService, providedIn: 'root' }); }
|
52
50
|
}
|
53
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
51
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: CentroCustoService, decorators: [{
|
54
52
|
type: Injectable,
|
55
53
|
args: [{
|
56
54
|
providedIn: 'root'
|
57
55
|
}]
|
58
|
-
}], ctorParameters: () => [{ type: i1.HttpClient }, { type:
|
56
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
59
57
|
type: Inject,
|
60
|
-
args: ['
|
58
|
+
args: ['hostEnv']
|
61
59
|
}] }] });
|
62
60
|
|
63
61
|
class CentroResultadoService extends BaseApiService {
|
64
|
-
constructor(httpClient,
|
62
|
+
constructor(httpClient, hostEnv) {
|
65
63
|
super(httpClient);
|
66
64
|
this.httpClient = httpClient;
|
67
|
-
this.
|
65
|
+
this.hostEnv = hostEnv;
|
68
66
|
this.rotaListarTodos = 'hcm/api/v1/centroresultado/listartodos';
|
69
67
|
this.rotaSelecionar = 'hcm/api/v1/centroresultado/selecionar';
|
70
68
|
}
|
71
69
|
ListarTodos(filtro) {
|
72
|
-
return this.getAllHeaders(this.
|
70
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListarTodos, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
73
71
|
}
|
74
72
|
Selecionar(idcentroresultado) {
|
75
|
-
return this.get(this.
|
73
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idcentroresultado}`);
|
74
|
+
}
|
75
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: CentroResultadoService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
76
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: CentroResultadoService, providedIn: 'root' }); }
|
77
|
+
}
|
78
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: CentroResultadoService, decorators: [{
|
79
|
+
type: Injectable,
|
80
|
+
args: [{
|
81
|
+
providedIn: 'root'
|
82
|
+
}]
|
83
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
84
|
+
type: Inject,
|
85
|
+
args: ['hostEnv']
|
86
|
+
}] }] });
|
87
|
+
|
88
|
+
class ColaboradorService extends BaseApiService {
|
89
|
+
constructor(httpClient, hostEnv) {
|
90
|
+
super(httpClient);
|
91
|
+
this.httpClient = httpClient;
|
92
|
+
this.hostEnv = hostEnv;
|
93
|
+
this.rotaListarTodos = 'hcm/api/v1/colaborador/Listar';
|
94
|
+
this.rotaSelecionar = 'hcm/api/v1/colaborador/selecionar';
|
95
|
+
this.rotaSelecionarPossivelColaborador = 'hcm/api/v1/colaborador/SelecionarPossivelColaborador';
|
96
|
+
this.rotaSalvar = 'hcm/api/v1/colaborador/salvar';
|
97
|
+
this.rotaSalvarLinha = 'hcm/api/v1/colaborador/salvarlinha';
|
98
|
+
}
|
99
|
+
Listar(filtro) {
|
100
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListarTodos, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
101
|
+
}
|
102
|
+
Selecionar(idcolaborador) {
|
103
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idcolaborador}`);
|
104
|
+
}
|
105
|
+
SelecionarPossivelColaborador(filtro) {
|
106
|
+
return this.getHeaders(this.hostEnv.apiUrlHcm, `${this.rotaSelecionarPossivelColaborador}`, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
76
107
|
}
|
77
|
-
|
78
|
-
|
108
|
+
Salvar(colaborador) {
|
109
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaSalvar, colaborador);
|
110
|
+
}
|
111
|
+
SalvarLinha(colaborador) {
|
112
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaSalvarLinha, colaborador);
|
113
|
+
}
|
114
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: ColaboradorService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
115
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: ColaboradorService, providedIn: 'root' }); }
|
79
116
|
}
|
80
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
117
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: ColaboradorService, decorators: [{
|
81
118
|
type: Injectable,
|
82
119
|
args: [{
|
83
120
|
providedIn: 'root'
|
84
121
|
}]
|
85
|
-
}], ctorParameters: () => [{ type: i1.HttpClient }, { type:
|
122
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
86
123
|
type: Inject,
|
87
|
-
args: ['
|
124
|
+
args: ['hostEnv']
|
88
125
|
}] }] });
|
89
126
|
|
90
127
|
class DepartamentoService extends BaseApiService {
|
91
|
-
constructor(httpClient,
|
128
|
+
constructor(httpClient, hostEnv) {
|
92
129
|
super(httpClient);
|
93
130
|
this.httpClient = httpClient;
|
94
|
-
this.
|
131
|
+
this.hostEnv = hostEnv;
|
95
132
|
this.rotaListarTodos = 'hcm/api/v1/departamento/listartodos';
|
96
133
|
this.rotaListarSelecionar = 'hcm/api/v1/departamento/selecionar';
|
97
134
|
}
|
98
135
|
ListarTodos(filtro) {
|
99
|
-
return this.getAllHeaders(this.
|
136
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListarTodos, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
100
137
|
}
|
101
138
|
Selecionar(iddepartamento) {
|
102
|
-
return this.get(this.
|
139
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaListarSelecionar}/${iddepartamento}`);
|
103
140
|
}
|
104
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
105
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
141
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: DepartamentoService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
142
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: DepartamentoService, providedIn: 'root' }); }
|
106
143
|
}
|
107
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
144
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: DepartamentoService, decorators: [{
|
108
145
|
type: Injectable,
|
109
146
|
args: [{
|
110
147
|
providedIn: 'root'
|
111
148
|
}]
|
112
|
-
}], ctorParameters: () => [{ type: i1.HttpClient }, { type:
|
149
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
113
150
|
type: Inject,
|
114
|
-
args: ['
|
151
|
+
args: ['hostEnv']
|
115
152
|
}] }] });
|
116
153
|
|
117
154
|
class EquipeMembroService extends BaseApiService {
|
118
|
-
constructor(httpClient,
|
155
|
+
constructor(httpClient, hostEnv) {
|
119
156
|
super(httpClient);
|
120
157
|
this.httpClient = httpClient;
|
121
|
-
this.
|
158
|
+
this.hostEnv = hostEnv;
|
122
159
|
this.rotaExcluir = 'hcm/api/v1/equipemembro/excluir';
|
123
160
|
this.rotaListar = 'hcm/api/v1/equipemembro/listar';
|
124
161
|
this.rotaListarPorchave = 'hcm/api/v1/equipemembro/listarporchave';
|
@@ -128,44 +165,44 @@ class EquipeMembroService extends BaseApiService {
|
|
128
165
|
this.rotaSelecionar = 'hcm/api/v1/equipemembro/selecionar';
|
129
166
|
}
|
130
167
|
Excluir(idanalista) {
|
131
|
-
return this.delete(this.
|
168
|
+
return this.delete(this.hostEnv.apiUrlHcm, `${this.rotaExcluir}/${idanalista}`);
|
132
169
|
}
|
133
170
|
Listar(filtro) {
|
134
|
-
return this.getAllHeaders(this.
|
171
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListar, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
135
172
|
}
|
136
173
|
ListarPorChave(filtro) {
|
137
|
-
return this.getAllHeaders(this.
|
174
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListarPorchave, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
138
175
|
}
|
139
176
|
ListarPossiveisMembros(filtro) {
|
140
|
-
return this.getAllHeaders(this.
|
177
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListarPossiveisMembros, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
141
178
|
}
|
142
179
|
Salvar(data) {
|
143
|
-
return this.post(this.
|
180
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaSalvar, data);
|
144
181
|
}
|
145
182
|
SalvarEmLote(data) {
|
146
|
-
return this.post(this.
|
183
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaSalvarEmLote, data);
|
147
184
|
}
|
148
185
|
Selecionar(idanalista) {
|
149
|
-
return this.get(this.
|
186
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idanalista}`);
|
150
187
|
}
|
151
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
152
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
188
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: EquipeMembroService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
189
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: EquipeMembroService, providedIn: 'root' }); }
|
153
190
|
}
|
154
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
191
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: EquipeMembroService, decorators: [{
|
155
192
|
type: Injectable,
|
156
193
|
args: [{
|
157
194
|
providedIn: 'root'
|
158
195
|
}]
|
159
|
-
}], ctorParameters: () => [{ type: i1.HttpClient }, { type:
|
196
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
160
197
|
type: Inject,
|
161
|
-
args: ['
|
198
|
+
args: ['hostEnv']
|
162
199
|
}] }] });
|
163
200
|
|
164
201
|
class EquipeService extends BaseApiService {
|
165
|
-
constructor(httpClient,
|
202
|
+
constructor(httpClient, hostEnv) {
|
166
203
|
super(httpClient);
|
167
204
|
this.httpClient = httpClient;
|
168
|
-
this.
|
205
|
+
this.hostEnv = hostEnv;
|
169
206
|
this.rotaExcluir = 'hcm/api/v1/equipe/excluir';
|
170
207
|
this.rotaListar = 'hcm/api/v1/equipe/listar';
|
171
208
|
this.rotaListarPorchave = 'hcm/api/v1/equipe/listarporchave';
|
@@ -173,38 +210,76 @@ class EquipeService extends BaseApiService {
|
|
173
210
|
this.rotaSelecionar = 'hcm/api/v1/equipe/selecionar';
|
174
211
|
}
|
175
212
|
Excluir(idequipe) {
|
176
|
-
return this.delete(this.
|
213
|
+
return this.delete(this.hostEnv.apiUrlHcm, `${this.rotaExcluir}/${idequipe}`);
|
177
214
|
}
|
178
215
|
Listar(filtro) {
|
179
|
-
return this.getAllHeaders(this.
|
216
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListar, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
180
217
|
}
|
181
218
|
ListarPorChave(filtro) {
|
182
|
-
return this.getAllHeaders(this.
|
219
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListarPorchave, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
183
220
|
}
|
184
221
|
Salvar(data) {
|
185
|
-
return this.post(this.
|
222
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaSalvar, data);
|
186
223
|
}
|
187
224
|
Selecionar(idanalista) {
|
188
|
-
return this.get(this.
|
225
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idanalista}`);
|
226
|
+
}
|
227
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: EquipeService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
228
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: EquipeService, providedIn: 'root' }); }
|
229
|
+
}
|
230
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: EquipeService, decorators: [{
|
231
|
+
type: Injectable,
|
232
|
+
args: [{
|
233
|
+
providedIn: 'root'
|
234
|
+
}]
|
235
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
236
|
+
type: Inject,
|
237
|
+
args: ['hostEnv']
|
238
|
+
}] }] });
|
239
|
+
|
240
|
+
class HierarquiaOrganizacionalService extends BaseApiService {
|
241
|
+
constructor(httpClient, hostEnv) {
|
242
|
+
super(httpClient);
|
243
|
+
this.hostEnv = hostEnv;
|
244
|
+
this.rotaExcluir = 'hcm/api/v1/hierarquiaorganizacional/excluir';
|
245
|
+
this.rotaListar = 'hcm/api/v1/hierarquiaorganizacional/listar';
|
246
|
+
this.rotaListartodos = 'hcm/api/v1/hierarquiaorganizacional/listartodos';
|
247
|
+
this.rotaSalvar = 'hcm/api/v1/hierarquiaorganizacional/salvar';
|
248
|
+
this.rotaSelecionar = 'hcm/api/v1/hierarquiaorganizacional/selecionar';
|
249
|
+
}
|
250
|
+
Excluir(id) {
|
251
|
+
return this.delete(this.hostEnv.apiUrlHcm, `${this.rotaExcluir}/${id}`);
|
252
|
+
}
|
253
|
+
Listar(filtro) {
|
254
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaListar, filtro);
|
189
255
|
}
|
190
|
-
|
191
|
-
|
256
|
+
ListarTodos(filtro) {
|
257
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaListartodos, filtro);
|
258
|
+
}
|
259
|
+
Salvar(dados) {
|
260
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaSalvar, dados);
|
261
|
+
}
|
262
|
+
Selecionar(id) {
|
263
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${id}`);
|
264
|
+
}
|
265
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: HierarquiaOrganizacionalService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
266
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: HierarquiaOrganizacionalService, providedIn: 'root' }); }
|
192
267
|
}
|
193
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
268
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: HierarquiaOrganizacionalService, decorators: [{
|
194
269
|
type: Injectable,
|
195
270
|
args: [{
|
196
271
|
providedIn: 'root'
|
197
272
|
}]
|
198
|
-
}], ctorParameters: () => [{ type: i1.HttpClient }, { type:
|
273
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
199
274
|
type: Inject,
|
200
|
-
args: ['
|
275
|
+
args: ['hostEnv']
|
201
276
|
}] }] });
|
202
277
|
|
203
278
|
class RelacionamentoLotacaoService extends BaseApiService {
|
204
|
-
constructor(httpClient,
|
279
|
+
constructor(httpClient, hostEnv) {
|
205
280
|
super(httpClient);
|
206
281
|
this.httpClient = httpClient;
|
207
|
-
this.
|
282
|
+
this.hostEnv = hostEnv;
|
208
283
|
this.rotaExcluir = 'hcm/api/v1/relacionamentolotacao/excluir';
|
209
284
|
this.rotaExisteEmpresa = 'hcm/api/v1/relacionamentolotacao/existeempresa';
|
210
285
|
this.rotaListar = 'hcm/api/v1/relacionamentolotacao/listar';
|
@@ -214,168 +289,168 @@ class RelacionamentoLotacaoService extends BaseApiService {
|
|
214
289
|
this.rotaSelecionar = 'hcm/api/v1/relacionamentolotacao/selecionar';
|
215
290
|
}
|
216
291
|
Excluir(idanalista) {
|
217
|
-
return this.delete(this.
|
292
|
+
return this.delete(this.hostEnv.apiUrlHcm, `${this.rotaExcluir}/${idanalista}`);
|
218
293
|
}
|
219
294
|
ExisteEmpresa(idmaster, idempresaevocenter) {
|
220
|
-
return this.get(this.
|
295
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaExisteEmpresa}/${idmaster}/${idempresaevocenter}`);
|
221
296
|
}
|
222
297
|
Listar(filtro) {
|
223
|
-
return this.getAllHeaders(this.
|
298
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListar, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
224
299
|
}
|
225
300
|
ListarTodos(filtro) {
|
226
|
-
return this.getAllHeaders(this.
|
301
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListarTodos, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
227
302
|
}
|
228
303
|
ListarPossiveisAnalistas(filtro) {
|
229
|
-
return this.getAllHeaders(this.
|
304
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListarPossiveisAnalistas, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
230
305
|
}
|
231
306
|
Salvar(data) {
|
232
|
-
return this.post(this.
|
307
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaSalvar, data);
|
233
308
|
}
|
234
309
|
Selecionar(idrelacionamentolotacao) {
|
235
|
-
return this.get(this.
|
310
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idrelacionamentolotacao}`);
|
236
311
|
}
|
237
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
238
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
312
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: RelacionamentoLotacaoService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
313
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: RelacionamentoLotacaoService, providedIn: 'root' }); }
|
239
314
|
}
|
240
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
315
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: RelacionamentoLotacaoService, decorators: [{
|
241
316
|
type: Injectable,
|
242
317
|
args: [{
|
243
318
|
providedIn: 'root'
|
244
319
|
}]
|
245
|
-
}], ctorParameters: () => [{ type: i1.HttpClient }, { type:
|
320
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
246
321
|
type: Inject,
|
247
|
-
args: ['
|
322
|
+
args: ['hostEnv']
|
248
323
|
}] }] });
|
249
324
|
|
250
325
|
class SubTipoOcorrenciaService extends BaseApiService {
|
251
|
-
constructor(httpClient,
|
326
|
+
constructor(httpClient, hostEnv) {
|
252
327
|
super(httpClient);
|
253
328
|
this.httpClient = httpClient;
|
254
|
-
this.
|
329
|
+
this.hostEnv = hostEnv;
|
255
330
|
this.rotaListar = 'hcm/api/v1/subtipoocorrencia/listar';
|
256
331
|
this.rotaSalvar = 'hcm/api/v1/subtipoocorrencia/salvar';
|
257
332
|
}
|
258
333
|
Listar(filtro) {
|
259
|
-
return this.getAllHeaders(this.
|
334
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListar, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
260
335
|
}
|
261
336
|
Salvar(data) {
|
262
|
-
return this.post(this.
|
337
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaSalvar, data);
|
263
338
|
}
|
264
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
265
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
339
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: SubTipoOcorrenciaService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
340
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: SubTipoOcorrenciaService, providedIn: 'root' }); }
|
266
341
|
}
|
267
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
342
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: SubTipoOcorrenciaService, decorators: [{
|
268
343
|
type: Injectable,
|
269
344
|
args: [{
|
270
345
|
providedIn: 'root'
|
271
346
|
}]
|
272
|
-
}], ctorParameters: () => [{ type: i1.HttpClient }, { type:
|
347
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
273
348
|
type: Inject,
|
274
|
-
args: ['
|
349
|
+
args: ['hostEnv']
|
275
350
|
}] }] });
|
276
351
|
|
277
352
|
class TipoEstadoService extends BaseApiService {
|
278
|
-
constructor(httpClient,
|
353
|
+
constructor(httpClient, hostEnv) {
|
279
354
|
super(httpClient);
|
280
355
|
this.httpClient = httpClient;
|
281
|
-
this.
|
356
|
+
this.hostEnv = hostEnv;
|
282
357
|
this.rotaExcluir = 'hcm/api/v1/tipoestado/excluir';
|
283
358
|
this.rotaListar = 'hcm/api/v1/tipoestado/listar';
|
284
359
|
this.rotaSalvar = 'hcm/api/v1/tipoestado/salvar';
|
285
360
|
this.rotaSelecionar = 'hcm/api/v1/tipoestado/selecionar';
|
286
361
|
}
|
287
362
|
Excluir(id) {
|
288
|
-
return this.delete(this.
|
363
|
+
return this.delete(this.hostEnv.apiUrlHcm, `${this.rotaExcluir}/${id}`);
|
289
364
|
}
|
290
365
|
Listar(filtro) {
|
291
|
-
return this.getAllHeaders(this.
|
366
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListar, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
292
367
|
}
|
293
368
|
Salvar(estado) {
|
294
|
-
return this.post(this.
|
369
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaSalvar, estado);
|
295
370
|
}
|
296
371
|
Selecionar(id) {
|
297
|
-
return this.get(this.
|
372
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${id}`);
|
298
373
|
}
|
299
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
300
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
374
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: TipoEstadoService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
375
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: TipoEstadoService, providedIn: 'root' }); }
|
301
376
|
}
|
302
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
377
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: TipoEstadoService, decorators: [{
|
303
378
|
type: Injectable,
|
304
379
|
args: [{
|
305
380
|
providedIn: 'root'
|
306
381
|
}]
|
307
|
-
}], ctorParameters: () => [{ type: i1.HttpClient }, { type:
|
382
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
308
383
|
type: Inject,
|
309
|
-
args: ['
|
384
|
+
args: ['hostEnv']
|
310
385
|
}] }] });
|
311
386
|
|
312
387
|
class TipoOcorrenciaService extends BaseApiService {
|
313
|
-
constructor(httpClient,
|
388
|
+
constructor(httpClient, hostEnv) {
|
314
389
|
super(httpClient);
|
315
390
|
this.httpClient = httpClient;
|
316
|
-
this.
|
391
|
+
this.hostEnv = hostEnv;
|
317
392
|
this.rotaExcluir = 'hcm/api/v1/tipoocorrencia/excluir';
|
318
393
|
this.rotaListar = 'hcm/api/v1/tipoocorrencia/listar';
|
319
394
|
this.rotaSalvar = 'hcm/api/v1/tipoocorrencia/salvar';
|
320
395
|
this.rotaSelecionar = 'hcm/api/v1/tipoocorrencia/selecionar';
|
321
396
|
}
|
322
397
|
Excluir(idtipoocorrencia) {
|
323
|
-
return this.delete(this.
|
398
|
+
return this.delete(this.hostEnv.apiUrlHcm, `${this.rotaExcluir}/${idtipoocorrencia}`);
|
324
399
|
}
|
325
400
|
Listar(filtro) {
|
326
|
-
return this.getAllHeaders(this.
|
401
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListar, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
327
402
|
}
|
328
403
|
Salvar(data) {
|
329
|
-
return this.post(this.
|
404
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaSalvar, data);
|
330
405
|
}
|
331
406
|
Selecionar(idtipoocorrencia) {
|
332
|
-
return this.get(this.
|
407
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idtipoocorrencia}`);
|
333
408
|
}
|
334
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
335
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
409
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: TipoOcorrenciaService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
410
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: TipoOcorrenciaService, providedIn: 'root' }); }
|
336
411
|
}
|
337
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
412
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: TipoOcorrenciaService, decorators: [{
|
338
413
|
type: Injectable,
|
339
414
|
args: [{
|
340
415
|
providedIn: 'root'
|
341
416
|
}]
|
342
|
-
}], ctorParameters: () => [{ type: i1.HttpClient }, { type:
|
417
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
343
418
|
type: Inject,
|
344
|
-
args: ['
|
419
|
+
args: ['hostEnv']
|
345
420
|
}] }] });
|
346
421
|
|
347
422
|
class UnidadeAdministrativaService extends BaseApiService {
|
348
|
-
constructor(httpClient,
|
423
|
+
constructor(httpClient, hostEnv) {
|
349
424
|
super(httpClient);
|
350
425
|
this.httpClient = httpClient;
|
351
|
-
this.
|
426
|
+
this.hostEnv = hostEnv;
|
352
427
|
this.rotaListarTodos = 'hcm/api/v1/unidadeadministrativa/listartodos';
|
353
428
|
this.rotaSelecionar = 'hcm/api/v1/unidadeadministrativa/selecionar';
|
354
429
|
}
|
355
430
|
ListarTodos(filtro) {
|
356
|
-
return this.getAllHeaders(this.
|
431
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListarTodos, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
357
432
|
}
|
358
433
|
Selecionar(idunidadeadministrativa) {
|
359
|
-
return this.get(this.
|
434
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idunidadeadministrativa}`);
|
360
435
|
}
|
361
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
362
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
436
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: UnidadeAdministrativaService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
437
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: UnidadeAdministrativaService, providedIn: 'root' }); }
|
363
438
|
}
|
364
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
439
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: UnidadeAdministrativaService, decorators: [{
|
365
440
|
type: Injectable,
|
366
441
|
args: [{
|
367
442
|
providedIn: 'root'
|
368
443
|
}]
|
369
|
-
}], ctorParameters: () => [{ type: i1.HttpClient }, { type:
|
444
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
370
445
|
type: Inject,
|
371
|
-
args: ['
|
446
|
+
args: ['hostEnv']
|
372
447
|
}] }] });
|
373
448
|
|
374
449
|
class UnidadehierarquicaService extends BaseApiService {
|
375
|
-
constructor(httpClient,
|
450
|
+
constructor(httpClient, hostEnv) {
|
376
451
|
super(httpClient);
|
377
452
|
this.httpClient = httpClient;
|
378
|
-
this.
|
453
|
+
this.hostEnv = hostEnv;
|
379
454
|
this.rotaExcluir = 'hcm/api/v1/unidadehierarquica/excluir';
|
380
455
|
this.rotaExisteEmpresa = 'hcm/api/v1/unidadehierarquica/existeempresa';
|
381
456
|
this.rotaListar = 'hcm/api/v1/unidadehierarquica/listar';
|
@@ -387,135 +462,135 @@ class UnidadehierarquicaService extends BaseApiService {
|
|
387
462
|
this.rotaSelecionar = 'hcm/api/v1/unidadehierarquica/selecionar';
|
388
463
|
}
|
389
464
|
Excluir(idunidadehierarquica) {
|
390
|
-
return this.delete(this.
|
465
|
+
return this.delete(this.hostEnv.apiUrlHcm, `${this.rotaExcluir}/${idunidadehierarquica}`);
|
391
466
|
}
|
392
467
|
ExisteEmpresa(idmaster, idempresaevocenter) {
|
393
|
-
return this.get(this.
|
468
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaExisteEmpresa}/${idmaster}/${idempresaevocenter}`);
|
394
469
|
}
|
395
470
|
Listar(filtro) {
|
396
|
-
return this.getAllHeaders(this.
|
471
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListar, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
397
472
|
}
|
398
473
|
ListarPorChave(filtro) {
|
399
|
-
return this.getAllHeaders(this.
|
474
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListarPorChave, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
400
475
|
}
|
401
476
|
ListarPossiveisUnidadesSuperiores(filtro) {
|
402
|
-
return this.getAllHeaders(this.
|
477
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListarPossiveisUnidadesSuperiores, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
403
478
|
}
|
404
479
|
ListarTodos(filtro) {
|
405
|
-
return this.getAllHeaders(this.
|
480
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListarTodos, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
406
481
|
}
|
407
482
|
Salvar(data) {
|
408
|
-
return this.post(this.
|
483
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaSalvar, data);
|
409
484
|
}
|
410
485
|
Selecionar(idunidadehierarquica) {
|
411
|
-
return this.get(this.
|
486
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idunidadehierarquica}`);
|
412
487
|
}
|
413
488
|
SelecionarRaizPorChave(filtro) {
|
414
|
-
return this.getHeaders(this.
|
489
|
+
return this.getHeaders(this.hostEnv.apiUrlHcm, this.rotaSelecionarRaizPorChave, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
415
490
|
}
|
416
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
417
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
491
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: UnidadehierarquicaService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
492
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: UnidadehierarquicaService, providedIn: 'root' }); }
|
418
493
|
}
|
419
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
494
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: UnidadehierarquicaService, decorators: [{
|
420
495
|
type: Injectable,
|
421
496
|
args: [{
|
422
497
|
providedIn: 'root'
|
423
498
|
}]
|
424
|
-
}], ctorParameters: () => [{ type: i1.HttpClient }, { type:
|
499
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
425
500
|
type: Inject,
|
426
|
-
args: ['
|
501
|
+
args: ['hostEnv']
|
427
502
|
}] }] });
|
428
503
|
|
429
504
|
class EmpresaBannerService extends BaseApiService {
|
430
|
-
constructor(httpClient,
|
505
|
+
constructor(httpClient, hostEnv) {
|
431
506
|
super(httpClient);
|
432
507
|
this.httpClient = httpClient;
|
433
|
-
this.
|
508
|
+
this.hostEnv = hostEnv;
|
434
509
|
this.rotaSalvar = 'hcm/api/v1/empresabanner/salvar';
|
435
510
|
this.rotaSelecionar = 'hcm/api/v1/empresabanner/selecionar';
|
436
511
|
}
|
437
512
|
Salvar(data) {
|
438
|
-
return this.post(this.
|
513
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaSalvar, data);
|
439
514
|
}
|
440
515
|
Selecionar(idmaster, idempresaevocenter, ordem) {
|
441
|
-
return this.get(this.
|
516
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idmaster}/${idempresaevocenter}/${ordem}`);
|
442
517
|
}
|
443
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
444
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
518
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: EmpresaBannerService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
519
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: EmpresaBannerService, providedIn: 'root' }); }
|
445
520
|
}
|
446
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
521
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: EmpresaBannerService, decorators: [{
|
447
522
|
type: Injectable,
|
448
523
|
args: [{
|
449
524
|
providedIn: 'root'
|
450
525
|
}]
|
451
|
-
}], ctorParameters: () => [{ type: i1.HttpClient }, { type:
|
526
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
452
527
|
type: Inject,
|
453
|
-
args: ['
|
528
|
+
args: ['hostEnv']
|
454
529
|
}] }] });
|
455
530
|
|
456
531
|
class EmpresaParametrosService extends BaseApiService {
|
457
|
-
constructor(httpClient,
|
532
|
+
constructor(httpClient, hostEnv) {
|
458
533
|
super(httpClient);
|
459
534
|
this.httpClient = httpClient;
|
460
|
-
this.
|
535
|
+
this.hostEnv = hostEnv;
|
461
536
|
this.rotaSalvar = 'hcm/api/v1/empresaparametros/salvar';
|
462
537
|
this.rotaSalvarEkeep = 'hcm/api/v1/empresaparametros/salvarekeep';
|
463
538
|
this.rotaSelecionar = 'hcm/api/v1/empresaparametros/selecionar';
|
464
539
|
}
|
465
540
|
Selecionar(idempresaevocenter) {
|
466
|
-
return this.get(this.
|
541
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idempresaevocenter}`);
|
467
542
|
}
|
468
543
|
Salvar(data) {
|
469
|
-
return this.post(this.
|
544
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaSalvar, data);
|
470
545
|
}
|
471
546
|
SalvarEkeep(data) {
|
472
|
-
return this.post(this.
|
547
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaSalvarEkeep, data);
|
473
548
|
}
|
474
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
475
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
549
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: EmpresaParametrosService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
550
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: EmpresaParametrosService, providedIn: 'root' }); }
|
476
551
|
}
|
477
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
552
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: EmpresaParametrosService, decorators: [{
|
478
553
|
type: Injectable,
|
479
554
|
args: [{
|
480
555
|
providedIn: 'root'
|
481
556
|
}]
|
482
|
-
}], ctorParameters: () => [{ type: i1.HttpClient }, { type:
|
557
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
483
558
|
type: Inject,
|
484
|
-
args: ['
|
559
|
+
args: ['hostEnv']
|
485
560
|
}] }] });
|
486
561
|
|
487
562
|
class EmpresaService extends BaseApiService {
|
488
|
-
constructor(httpClient,
|
563
|
+
constructor(httpClient, hostEnv) {
|
489
564
|
super(httpClient);
|
490
565
|
this.httpClient = httpClient;
|
491
|
-
this.
|
566
|
+
this.hostEnv = hostEnv;
|
492
567
|
this.rotaListarEmpresas = 'hcm/api/v1/empresa/listarempresas';
|
493
568
|
this.rotaListarEmpresaseFiliais = 'hcm/api/v1/empresa/listarempresaefiliais';
|
494
569
|
}
|
495
570
|
ListarEmpresas(idmaster) {
|
496
|
-
return this.getAll(this.
|
571
|
+
return this.getAll(this.hostEnv.apiUrlHcm, `${this.rotaListarEmpresas}/${idmaster}`);
|
497
572
|
}
|
498
573
|
ListarEmpresaEFiliais(idmaster, idempresaevocenter) {
|
499
|
-
return this.getAll(this.
|
574
|
+
return this.getAll(this.hostEnv.apiUrlHcm, `${this.rotaListarEmpresaseFiliais}/${idmaster}/${idempresaevocenter}`);
|
500
575
|
}
|
501
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
502
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
576
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: EmpresaService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
577
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: EmpresaService, providedIn: 'root' }); }
|
503
578
|
}
|
504
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
579
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: EmpresaService, decorators: [{
|
505
580
|
type: Injectable,
|
506
581
|
args: [{
|
507
582
|
providedIn: 'root'
|
508
583
|
}]
|
509
|
-
}], ctorParameters: () => [{ type: i1.HttpClient }, { type:
|
584
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
510
585
|
type: Inject,
|
511
|
-
args: ['
|
586
|
+
args: ['hostEnv']
|
512
587
|
}] }] });
|
513
588
|
|
514
589
|
class AnalistaPessoaService extends BaseApiService {
|
515
|
-
constructor(httpClient,
|
590
|
+
constructor(httpClient, hostEnv) {
|
516
591
|
super(httpClient);
|
517
592
|
this.httpClient = httpClient;
|
518
|
-
this.
|
593
|
+
this.hostEnv = hostEnv;
|
519
594
|
this.rotaExcluir = 'hcm/api/v1/analistapessoa/excluir';
|
520
595
|
this.rotaListar = 'hcm/api/v1/analistapessoa/listar';
|
521
596
|
this.rotaListarPossiveisAnalistas = 'hcm/api/v1/analistapessoa/listarpossiveisanalistas';
|
@@ -523,38 +598,38 @@ class AnalistaPessoaService extends BaseApiService {
|
|
523
598
|
this.rotaSelecionar = 'hcm/api/v1/analistapessoa/selecionar';
|
524
599
|
}
|
525
600
|
Excluir(idanalista) {
|
526
|
-
return this.delete(this.
|
601
|
+
return this.delete(this.hostEnv.apiUrlHcm, `${this.rotaExcluir}/${idanalista}`);
|
527
602
|
}
|
528
603
|
Listar(filtro) {
|
529
|
-
return this.post(this.
|
604
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaListar, filtro);
|
530
605
|
}
|
531
606
|
ListarPossiveisAnalistas(filtro) {
|
532
|
-
return this.getAllHeaders(this.
|
607
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListarPossiveisAnalistas, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
533
608
|
}
|
534
609
|
Salvar(data) {
|
535
|
-
return this.post(this.
|
610
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaSalvar, data);
|
536
611
|
}
|
537
612
|
Selecionar(idanalista) {
|
538
|
-
return this.get(this.
|
613
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idanalista}`);
|
539
614
|
}
|
540
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
541
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
615
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: AnalistaPessoaService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
616
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: AnalistaPessoaService, providedIn: 'root' }); }
|
542
617
|
}
|
543
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
618
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: AnalistaPessoaService, decorators: [{
|
544
619
|
type: Injectable,
|
545
620
|
args: [{
|
546
621
|
providedIn: 'root'
|
547
622
|
}]
|
548
|
-
}], ctorParameters: () => [{ type: i1.HttpClient }, { type:
|
623
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
549
624
|
type: Inject,
|
550
|
-
args: ['
|
625
|
+
args: ['hostEnv']
|
551
626
|
}] }] });
|
552
627
|
|
553
628
|
class KeexService extends BaseApiService {
|
554
|
-
constructor(httpClient,
|
629
|
+
constructor(httpClient, hostEnv) {
|
555
630
|
super(httpClient);
|
556
631
|
this.httpClient = httpClient;
|
557
|
-
this.
|
632
|
+
this.hostEnv = hostEnv;
|
558
633
|
this.rotaListarUsuarios = 'hcm/api/v1/keex/listarusuarios';
|
559
634
|
this.rotaPesquisarUsuario = 'hcm/api/v1/keex/pesquisarusuario';
|
560
635
|
this.rotaTotalFuncionariosAcessoKeex = 'hcm/api/v1/keex/totalfuncionariosacessokeex`';
|
@@ -563,41 +638,41 @@ class KeexService extends BaseApiService {
|
|
563
638
|
this.rotaEnviaConvite = 'hcm/api/v1/keex/enviaconvite';
|
564
639
|
}
|
565
640
|
ListarUsuarios(filtro) {
|
566
|
-
return this.post(this.
|
641
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaListarUsuarios, filtro);
|
567
642
|
}
|
568
643
|
PesquisarUsuario(filtro) {
|
569
|
-
return this.getAllHeaders(this.
|
644
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaPesquisarUsuario, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
570
645
|
}
|
571
646
|
TotalFuncionariosAcessokeex(filtro) {
|
572
|
-
return this.getAllHeaders(this.
|
647
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaTotalFuncionariosAcessoKeex, new HttpHeaders().set('filtro', JSON.stringify(filtro)));
|
573
648
|
}
|
574
649
|
AlteraAcessoAoKeex(parametros) {
|
575
|
-
return this.post(this.
|
650
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaAlteracoesKeex, parametros);
|
576
651
|
}
|
577
652
|
AlteraAcessoAoKeexEmpresa(parametros) {
|
578
|
-
return this.post(this.
|
653
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaAlteracoesKeexEmpresa, parametros);
|
579
654
|
}
|
580
655
|
EnviarConvite(usuarios) {
|
581
|
-
return this.post(this.
|
656
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaEnviaConvite, usuarios);
|
582
657
|
}
|
583
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
584
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
658
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: KeexService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
659
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: KeexService, providedIn: 'root' }); }
|
585
660
|
}
|
586
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
661
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: KeexService, decorators: [{
|
587
662
|
type: Injectable,
|
588
663
|
args: [{
|
589
664
|
providedIn: 'root',
|
590
665
|
}]
|
591
|
-
}], ctorParameters: () => [{ type: i1.HttpClient }, { type:
|
666
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
592
667
|
type: Inject,
|
593
|
-
args: ['
|
668
|
+
args: ['hostEnv']
|
594
669
|
}] }] });
|
595
670
|
|
596
671
|
class LiderService extends BaseApiService {
|
597
|
-
constructor(httpClient,
|
672
|
+
constructor(httpClient, hostEnv) {
|
598
673
|
super(httpClient);
|
599
674
|
this.httpClient = httpClient;
|
600
|
-
this.
|
675
|
+
this.hostEnv = hostEnv;
|
601
676
|
this.rotaAtualizaEstadoAtivo = 'hcm/api/v1/lider/atualizaestadoativo';
|
602
677
|
this.rotaListarPossiveisLideres = 'hcm/api/v1/lider/listarpossiveislideres';
|
603
678
|
this.rotaListarPosiveisLideresSubstituto = 'hcm/api/v1/lider/listarposiveislideressubstituto';
|
@@ -613,68 +688,69 @@ class LiderService extends BaseApiService {
|
|
613
688
|
this.rotaExisteIDRegistro = 'hcm/api/v1/lider/existeidregistro';
|
614
689
|
}
|
615
690
|
AtualizaEstadoAtivo(model) {
|
616
|
-
return this.post(this.
|
691
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaAtualizaEstadoAtivo, model);
|
617
692
|
}
|
618
693
|
ListarPossiveisLideres(filtro) {
|
619
|
-
return this.getAllHeaders(this.
|
694
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListarPossiveisLideres, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
620
695
|
}
|
621
696
|
ListarPossiveisLideresSubstituto(filtro) {
|
622
|
-
return this.getAllHeaders(this.
|
697
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListarPosiveisLideresSubstituto, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
623
698
|
}
|
624
699
|
Listar(filtro) {
|
625
|
-
return this.getAllHeaders(this.
|
700
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListar, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
626
701
|
}
|
627
702
|
ListarTodos(idmaster, idempresaevocenter) {
|
628
|
-
return this.getAll(this.
|
703
|
+
return this.getAll(this.hostEnv.apiUrlHcm, `${this.rotaListar}/${idmaster}/${idempresaevocenter}`);
|
629
704
|
}
|
630
705
|
ListarPorChave(filtro) {
|
631
|
-
return this.getAllHeaders(this.
|
706
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListarPorChave, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
632
707
|
}
|
633
708
|
Selecionar(idlider) {
|
634
|
-
return this.get(this.
|
709
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idlider}`);
|
635
710
|
}
|
636
711
|
SelecionarDadosPessoa(idmaster, cpf) {
|
637
|
-
return this.get(this.
|
712
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionarDadosPesssoa}/${idmaster}/${cpf}`);
|
638
713
|
}
|
639
714
|
Salvar(lider) {
|
640
|
-
return this.post(this.
|
715
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaSalvar, lider);
|
641
716
|
}
|
642
717
|
Excluir(idlider) {
|
643
|
-
return this.delete(this.
|
718
|
+
return this.delete(this.hostEnv.apiUrlHcm, `${this.rotaExcluir}/${idlider}`);
|
644
719
|
}
|
645
720
|
VerificaLiderAtivo(idlider) {
|
646
|
-
return this.get(this.
|
721
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaVerificaLiderAtivo}/${idlider}`);
|
647
722
|
}
|
648
723
|
ExisteLiderPrincipal(idmaster, idempresaevocenter) {
|
649
|
-
return this.get(this.
|
724
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaExisteLiderPrincipal}/${idmaster}/${idempresaevocenter}`);
|
650
725
|
}
|
651
726
|
ExisteCpf(idmaster, idempresaevocenter, cpf) {
|
652
|
-
return this.get(this.
|
727
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaExisteCpf}/${idmaster}/${idempresaevocenter}/${cpf}`);
|
653
728
|
}
|
654
729
|
ExisteIDRegistro(idmaster, idempresaevocenter, idregistro) {
|
655
|
-
return this.get(this.
|
730
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaExisteIDRegistro}/${idmaster}/${idempresaevocenter}/${idregistro}`);
|
656
731
|
}
|
657
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
658
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
732
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: LiderService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
733
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: LiderService, providedIn: 'root' }); }
|
659
734
|
}
|
660
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
735
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: LiderService, decorators: [{
|
661
736
|
type: Injectable,
|
662
737
|
args: [{
|
663
738
|
providedIn: 'root'
|
664
739
|
}]
|
665
|
-
}], ctorParameters: () => [{ type: i1.HttpClient }, { type:
|
740
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
666
741
|
type: Inject,
|
667
|
-
args: ['
|
742
|
+
args: ['hostEnv']
|
668
743
|
}] }] });
|
669
744
|
|
670
745
|
class RegistroService extends BaseApiService {
|
671
|
-
constructor(httpClient,
|
746
|
+
constructor(httpClient, hostEnv) {
|
672
747
|
super(httpClient);
|
673
748
|
this.httpClient = httpClient;
|
674
|
-
this.
|
749
|
+
this.hostEnv = hostEnv;
|
675
750
|
this.rotaExcluir = 'hcm/api/v1/registro/excluir';
|
676
751
|
this.rotaExisteCpf = 'hcm/api/v1/registro/existecpf';
|
677
752
|
this.rotaListar = 'hcm/api/v1/registro/listar';
|
753
|
+
this.rotaListarPerfil = 'hcm/api/v1/registro/ListarPerfil';
|
678
754
|
this.rotaListarFuncionariosSemLotacao = 'hcm/api/v1/registro/ListarFuncionariosSemLotacao';
|
679
755
|
this.rotaPesquisar = 'hcm/api/v1/registro/pesquisar';
|
680
756
|
this.rotaListarAniversariantes = 'hcm/api/v1/registro/listaraniversariantes/?periodicidade=';
|
@@ -684,76 +760,79 @@ class RegistroService extends BaseApiService {
|
|
684
760
|
this.rotaAtualizarFoto = 'hcm/api/v1/registro/AtualizarFoto';
|
685
761
|
}
|
686
762
|
Excluir(id) {
|
687
|
-
return this.delete(this.
|
763
|
+
return this.delete(this.hostEnv.apiUrlHcm, `${this.rotaExcluir}/${id}`);
|
688
764
|
}
|
689
765
|
ExisteCpf(idmaster, idempresaevocenter, cpf) {
|
690
|
-
return this.get(this.
|
766
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaExisteCpf}/${idmaster}/${idempresaevocenter}/${cpf}`);
|
691
767
|
}
|
692
768
|
Listar(filtro) {
|
693
|
-
return this.post(this.
|
769
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaListar, filtro);
|
770
|
+
}
|
771
|
+
ListarPerfil(filtro) {
|
772
|
+
return this.getHeaders(this.hostEnv.apiUrlHcm, this.rotaListarPerfil, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
694
773
|
}
|
695
774
|
ListarFuncionariosSemLotacao(filtro) {
|
696
|
-
return this.getAllHeaders(this.
|
775
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListarFuncionariosSemLotacao, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
697
776
|
}
|
698
777
|
Pesquisar(filtro) {
|
699
|
-
return this.getAllHeaders(this.
|
778
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaPesquisar, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
700
779
|
}
|
701
780
|
ListarAniversariantes(filtro, periodicidade) {
|
702
|
-
return this.getAllHeaders(this.
|
781
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, `${this.rotaListarAniversariantes}${periodicidade}`, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
703
782
|
}
|
704
783
|
SelecionarPerfil(filtro) {
|
705
|
-
return this.getHeaders(this.
|
784
|
+
return this.getHeaders(this.hostEnv.apiUrlHcm, this.rotaSelecionarPerfil, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
706
785
|
}
|
707
786
|
Salvar(data) {
|
708
|
-
return this.post(this.
|
787
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaSalvar, data);
|
709
788
|
}
|
710
789
|
Selecionar(id) {
|
711
|
-
return this.get(this.
|
790
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${id}`);
|
712
791
|
}
|
713
792
|
SelecionarResumo(id) {
|
714
|
-
return this.get(this.
|
793
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${id}`);
|
715
794
|
}
|
716
795
|
AtualizarFoto(model) {
|
717
|
-
return this.post(this.
|
796
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaAtualizarFoto, model);
|
718
797
|
}
|
719
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
720
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
798
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: RegistroService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
799
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: RegistroService, providedIn: 'root' }); }
|
721
800
|
}
|
722
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
801
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: RegistroService, decorators: [{
|
723
802
|
type: Injectable,
|
724
803
|
args: [{
|
725
804
|
providedIn: 'root'
|
726
805
|
}]
|
727
|
-
}], ctorParameters: () => [{ type: i1.HttpClient }, { type:
|
806
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
728
807
|
type: Inject,
|
729
|
-
args: ['
|
808
|
+
args: ['hostEnv']
|
730
809
|
}] }] });
|
731
810
|
|
732
811
|
class TomadorService extends BaseApiService {
|
733
|
-
constructor(httpClient,
|
812
|
+
constructor(httpClient, hostEnv) {
|
734
813
|
super(httpClient);
|
735
814
|
this.httpClient = httpClient;
|
736
|
-
this.
|
815
|
+
this.hostEnv = hostEnv;
|
737
816
|
this.rotaListarTodos = 'hcm/api/v1/tomador/listartodos';
|
738
817
|
this.rotaSelecionar = 'hcm/api/v1/tomador/selecionar';
|
739
818
|
}
|
740
819
|
ListarTodos(filtro) {
|
741
|
-
return this.getAllHeaders(this.
|
820
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListarTodos, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
742
821
|
}
|
743
822
|
Selecionar(idtomador) {
|
744
|
-
return this.get(this.
|
823
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idtomador}`);
|
745
824
|
}
|
746
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
747
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
825
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: TomadorService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
826
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: TomadorService, providedIn: 'root' }); }
|
748
827
|
}
|
749
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
828
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: TomadorService, decorators: [{
|
750
829
|
type: Injectable,
|
751
830
|
args: [{
|
752
831
|
providedIn: 'root'
|
753
832
|
}]
|
754
|
-
}], ctorParameters: () => [{ type: i1.HttpClient }, { type:
|
833
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
755
834
|
type: Inject,
|
756
|
-
args: ['
|
835
|
+
args: ['hostEnv']
|
757
836
|
}] }] });
|
758
837
|
|
759
838
|
class DadosConfiguracoesService {
|
@@ -773,56 +852,171 @@ class DadosConfiguracoesService {
|
|
773
852
|
getIndicativosLotacaoDominio() {
|
774
853
|
return this.indicativosLotacaoDominio;
|
775
854
|
}
|
776
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.
|
777
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.
|
855
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: DadosConfiguracoesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
856
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: DadosConfiguracoesService, providedIn: 'root' }); }
|
778
857
|
}
|
779
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
858
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: DadosConfiguracoesService, decorators: [{
|
780
859
|
type: Injectable,
|
781
860
|
args: [{
|
782
861
|
providedIn: 'root'
|
783
862
|
}]
|
784
863
|
}] });
|
785
864
|
|
786
|
-
class
|
787
|
-
|
788
|
-
|
789
|
-
|
790
|
-
|
791
|
-
|
792
|
-
|
793
|
-
|
794
|
-
|
795
|
-
|
796
|
-
|
797
|
-
|
798
|
-
|
799
|
-
|
800
|
-
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
|
805
|
-
|
806
|
-
|
807
|
-
|
808
|
-
|
809
|
-
|
810
|
-
|
811
|
-
|
865
|
+
class ValidatorsService {
|
866
|
+
constructor() { }
|
867
|
+
datainicio(control, mensagem) {
|
868
|
+
if (control.value === null ||
|
869
|
+
control.value === undefined ||
|
870
|
+
control.value === '') {
|
871
|
+
return { erroMessage: "Campo obrigatório" }; // Retorna erro de required se o campo estiver vazio
|
872
|
+
}
|
873
|
+
const dataInicio = new Date(new Date(control.value).setHours(0, 0, 0, 0));
|
874
|
+
const dataAtual = new Date();
|
875
|
+
dataAtual.setHours(0, 0, 0, 0);
|
876
|
+
if (dataInicio >= dataAtual) {
|
877
|
+
return null; // Retorna null se a data de início for maior ou igual à data atual
|
878
|
+
}
|
879
|
+
else {
|
880
|
+
return { erroMessage: mensagem }; // Retorna erro se a data de início for menor que a data atual
|
881
|
+
}
|
882
|
+
}
|
883
|
+
datafim(control, nomechave, mensagem) {
|
884
|
+
if (control.value === null ||
|
885
|
+
control.value === undefined ||
|
886
|
+
control.value === '') {
|
887
|
+
return { erroMessage: "Campo obrigatório" };
|
888
|
+
}
|
889
|
+
const dataFim = new Date(control.value); // Obter a data e hora do controle
|
890
|
+
const formGroup = control.parent;
|
891
|
+
const dataInicio = formGroup?.get(nomechave)?.value;
|
892
|
+
if (!dataInicio) {
|
893
|
+
return null; // Se a data de início não estiver definida, não há como comparar, então retornamos null
|
894
|
+
}
|
895
|
+
const dataInicioSemHoras = new Date(new Date(dataInicio).setHours(0, 0, 0, 0)); // Remover as horas da data de início
|
896
|
+
const dataFimSemHoras = new Date(new Date(dataFim).setHours(0, 0, 0, 0)); // Remover as horas da data de fim
|
897
|
+
if (dataFimSemHoras > dataInicioSemHoras || dataFim > dataInicio) {
|
898
|
+
return null; // Se a data de fim (com ou sem horas) for maior que a data de início (com ou sem horas), então está tudo certo
|
899
|
+
}
|
900
|
+
else {
|
901
|
+
return { erroMessage: mensagem };
|
902
|
+
}
|
903
|
+
}
|
904
|
+
datainIcioFlag(control, mensagem, flag) {
|
905
|
+
const formGroup = control.parent;
|
906
|
+
const controlFlag = formGroup?.get(flag)?.value;
|
907
|
+
if (controlFlag) {
|
908
|
+
if (control.value === null ||
|
909
|
+
control.value === undefined ||
|
910
|
+
control.value === '') {
|
911
|
+
return { erroMessage: "Campo obrigatório" };
|
912
|
+
}
|
913
|
+
else {
|
914
|
+
const dataInicio = new Date(control.value);
|
915
|
+
const dataAtual = new Date();
|
916
|
+
// Ajuste para comparar apenas ano, mês e dia
|
917
|
+
const inicioSemHoras = new Date(dataInicio.getFullYear(), dataInicio.getMonth(), dataInicio.getDate());
|
918
|
+
const atualSemHoras = new Date(dataAtual.getFullYear(), dataAtual.getMonth(), dataAtual.getDate());
|
919
|
+
if (inicioSemHoras >= atualSemHoras) {
|
920
|
+
return null;
|
921
|
+
}
|
922
|
+
else {
|
923
|
+
return { erroMessage: mensagem };
|
924
|
+
}
|
925
|
+
}
|
926
|
+
}
|
927
|
+
else {
|
928
|
+
return null;
|
929
|
+
}
|
930
|
+
}
|
931
|
+
dataFimFlag(control, nomechave, mensagem, flag) {
|
932
|
+
const formGroup = control.parent;
|
933
|
+
const controlFlag = formGroup?.get(flag)?.value;
|
934
|
+
if (controlFlag) {
|
935
|
+
if (control.value === null ||
|
936
|
+
control.value === undefined ||
|
937
|
+
control.value === '') {
|
938
|
+
return { erroMessage: "Campo obrigatório" };
|
939
|
+
}
|
940
|
+
else {
|
941
|
+
const dataFim = new Date(control.value);
|
942
|
+
const dataInicio = formGroup?.get(nomechave)?.value;
|
943
|
+
if (dataFim && dataFim.getTime() > dataInicio.getTime()) {
|
944
|
+
return null;
|
945
|
+
}
|
946
|
+
else {
|
947
|
+
return { erroMessage: mensagem };
|
948
|
+
}
|
949
|
+
}
|
950
|
+
}
|
951
|
+
else {
|
952
|
+
return null;
|
953
|
+
}
|
954
|
+
}
|
955
|
+
requiredCustomMessage(control, mensagem) {
|
956
|
+
if (control.value === null ||
|
957
|
+
control.value === undefined ||
|
958
|
+
control.value === '') {
|
959
|
+
return { erroMessage: mensagem };
|
960
|
+
}
|
961
|
+
let valorcampo = control.value;
|
962
|
+
if (valorcampo) {
|
963
|
+
return null;
|
964
|
+
}
|
965
|
+
else {
|
966
|
+
return { erroMessage: mensagem };
|
967
|
+
}
|
968
|
+
}
|
969
|
+
requiredDefautMessage(control) {
|
970
|
+
if (control.value === null ||
|
971
|
+
control.value === undefined ||
|
972
|
+
control.value === '') {
|
973
|
+
return { erroMessage: "Campo obrigatório" };
|
974
|
+
}
|
975
|
+
let valorcampo = control.value;
|
976
|
+
if (valorcampo) {
|
977
|
+
return null;
|
978
|
+
}
|
979
|
+
else {
|
980
|
+
return { erroMessage: "Campo obrigatório" };
|
981
|
+
}
|
982
|
+
}
|
983
|
+
minlenght(valorminimo, mensagem) {
|
984
|
+
return (control) => {
|
985
|
+
if (control.value === null || control.value === undefined || control.value === '') {
|
986
|
+
return { erroMessage: 'Campo obrigatório' };
|
987
|
+
}
|
988
|
+
const valorcampo = control.value;
|
989
|
+
if (valorcampo.length >= valorminimo) {
|
990
|
+
return null;
|
991
|
+
}
|
992
|
+
else {
|
993
|
+
return { erroMessage: mensagem };
|
994
|
+
}
|
812
995
|
};
|
813
996
|
}
|
814
|
-
|
815
|
-
|
816
|
-
|
997
|
+
maxlenght(valormaximo, mensagem) {
|
998
|
+
return (control) => {
|
999
|
+
if (control.value === null || control.value === undefined || control.value === '') {
|
1000
|
+
return { erroMessage: 'Campo obrigatório' };
|
1001
|
+
}
|
1002
|
+
const valorcampo = control.value;
|
1003
|
+
if (valorcampo.length <= valormaximo) {
|
1004
|
+
return null;
|
1005
|
+
}
|
1006
|
+
else {
|
1007
|
+
return { erroMessage: mensagem };
|
1008
|
+
}
|
1009
|
+
};
|
1010
|
+
}
|
1011
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: ValidatorsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1012
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: ValidatorsService, providedIn: 'root' }); }
|
817
1013
|
}
|
818
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.
|
819
|
-
type:
|
1014
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.4", ngImport: i0, type: ValidatorsService, decorators: [{
|
1015
|
+
type: Injectable,
|
820
1016
|
args: [{
|
821
|
-
|
822
|
-
imports: [CommonModule],
|
823
|
-
exports: []
|
1017
|
+
providedIn: 'root',
|
824
1018
|
}]
|
825
|
-
}] });
|
1019
|
+
}], ctorParameters: () => [] });
|
826
1020
|
|
827
1021
|
/*
|
828
1022
|
* Public API Surface of keevo-api-services-hcm
|
@@ -835,5 +1029,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.3", ngImpor
|
|
835
1029
|
* Generated bundle index. Do not edit.
|
836
1030
|
*/
|
837
1031
|
|
838
|
-
export { AnalistaPessoaService,
|
1032
|
+
export { AnalistaPessoaService, CargoService, CentroCustoService, CentroResultadoService, ColaboradorService, DadosConfiguracoesService, DepartamentoService, EmpresaBannerService, EmpresaParametrosService, EmpresaService, EquipeMembroService, EquipeService, HierarquiaOrganizacionalService, KeexService, LiderService, RegistroService, RelacionamentoLotacaoService, SubTipoOcorrenciaService, TipoEstadoService, TipoOcorrenciaService, TomadorService, UnidadeAdministrativaService, UnidadehierarquicaService, ValidatorsService };
|
839
1033
|
//# sourceMappingURL=keevo-api-services-hcm.mjs.map
|