keevo-api-services-hcm 0.0.20 → 0.0.22
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/lib/models/dominio/camposobrigatorioscadastro.model.mjs +2 -0
- package/esm2022/lib/models/dominio/categoriatrabalhador.model.mjs +2 -0
- package/esm2022/lib/models/dominio/tipodadospessoa.model.mjs +2 -0
- package/esm2022/lib/models/dominio/tipodiatrabalhado.model.mjs +2 -0
- package/esm2022/lib/models/dominio/tipoentidadehcm.model.mjs +2 -0
- package/esm2022/lib/models/dominio/tipofolha.model.mjs +1 -1
- package/esm2022/lib/models/dominio/tipofuncionario.model.mjs +2 -0
- package/esm2022/lib/models/dominio/tipoinss.model.mjs +2 -0
- package/esm2022/lib/models/dominio/tipojornada.model.mjs +2 -0
- package/esm2022/lib/models/dominio/tipolotacao.model.mjs +2 -0
- package/esm2022/lib/models/dominio/tipomotivosalariofamilia.model.mjs +2 -0
- package/esm2022/lib/models/dominio/tiporegimeprevidenciario.model.mjs +2 -0
- package/esm2022/lib/models/dominio/tiporegimetrabalhista.model.mjs +2 -0
- package/esm2022/lib/models/dominio/tiporeintegracao.model.mjs +2 -0
- package/esm2022/lib/models/dominio/tiposindicato.model.mjs +2 -0
- package/esm2022/lib/models/dominio/tipotomador.model.mjs +2 -0
- package/esm2022/lib/models/dominio/tipotransporte.model.mjs +2 -0
- package/esm2022/lib/models/dominio/tipovinculoempregaticio.model.mjs +2 -0
- package/esm2022/lib/models/dominio/treinamento.model.mjs +2 -0
- package/esm2022/lib/models/filtro/filtrolistausuario.model.mjs +1 -1
- package/esm2022/lib/models/hcm/hierarquiaorganizacional/hierarquiaorganizacional.model.mjs +1 -1
- package/esm2022/lib/models/hcm/relacionamentolotacao/relacionamentolotacao.model.mjs +1 -1
- package/esm2022/lib/models/pessoa/colaborador/colaborador.model.mjs +1 -1
- package/esm2022/lib/models/pessoa/registro/registro.model.mjs +1 -1
- package/esm2022/lib/models/pessoa/registro/usuariopessoaresumo.model.mjs +1 -1
- package/esm2022/lib/services/dominio/campos-obrigatorios-cadastro.service.mjs +35 -0
- package/esm2022/lib/services/dominio/categoria-trabalhador.service.mjs +1 -1
- package/esm2022/lib/services/dominio/tipo-dados-pessoa.service.mjs +35 -0
- package/esm2022/lib/services/dominio/tipo-dia-trabalhado.service.mjs +35 -0
- package/esm2022/lib/services/dominio/tipo-entidade-hcm.service.mjs +35 -0
- package/esm2022/lib/services/dominio/tipo-folha.service.mjs +1 -1
- package/esm2022/lib/services/dominio/tipo-funcionario.service.mjs +35 -0
- package/esm2022/lib/services/dominio/tipo-inss.service.mjs +35 -0
- package/esm2022/lib/services/dominio/tipo-jornada.service.mjs +35 -0
- package/esm2022/lib/services/dominio/tipo-lotacao.service.mjs +35 -0
- package/esm2022/lib/services/dominio/tipo-motivo-salario-familia.service.mjs +35 -0
- package/esm2022/lib/services/dominio/tipo-regime-previdenciario.service.mjs +35 -0
- package/esm2022/lib/services/dominio/tipo-regime-trabalhista.service.mjs +35 -0
- package/esm2022/lib/services/dominio/tipo-reintegracao.service.mjs +35 -0
- package/esm2022/lib/services/dominio/tipo-sindicato.service.mjs +35 -0
- package/esm2022/lib/services/dominio/tipo-tomador.service.mjs +35 -0
- package/esm2022/lib/services/dominio/tipo-transporte.service.mjs +35 -0
- package/esm2022/lib/services/dominio/tipo-vinculo-empregaticio.service.mjs +35 -0
- package/esm2022/lib/services/dominio/treinamento.service.mjs +35 -0
- package/esm2022/lib/services/hcm/hierarquiaorganizacional.service.mjs +28 -12
- package/esm2022/lib/services/passaporte/empresa.service.mjs +5 -1
- package/esm2022/lib/services/pessoa/colaborador.service.mjs +5 -1
- package/esm2022/lib/services/pessoa/keex.service.mjs +5 -1
- package/esm2022/lib/services/pessoa/registro.service.mjs +21 -1
- package/esm2022/lib/services/utilitarios/validators.service.mjs +75 -1
- package/esm2022/public-api.mjs +19 -1
- package/fesm2022/keevo-api-services-hcm.mjs +661 -12
- package/fesm2022/keevo-api-services-hcm.mjs.map +1 -1
- package/lib/models/dominio/camposobrigatorioscadastro.model.d.ts +8 -0
- package/lib/models/dominio/categoriatrabalhador.model.d.ts +5 -0
- package/lib/models/dominio/tipodadospessoa.model.d.ts +4 -0
- package/lib/models/dominio/tipodiatrabalhado.model.d.ts +4 -0
- package/lib/models/dominio/tipoentidadehcm.model.d.ts +4 -0
- package/lib/models/dominio/tipofolha.model.d.ts +1 -1
- package/lib/models/dominio/tipofuncionario.model.d.ts +6 -0
- package/lib/models/dominio/tipoinss.model.d.ts +4 -0
- package/lib/models/dominio/tipojornada.model.d.ts +4 -0
- package/lib/models/dominio/tipolotacao.model.d.ts +5 -0
- package/lib/models/dominio/tipomotivosalariofamilia.model.d.ts +4 -0
- package/lib/models/dominio/tiporegimeprevidenciario.model.d.ts +4 -0
- package/lib/models/dominio/tiporegimetrabalhista.model.d.ts +4 -0
- package/lib/models/dominio/tiporeintegracao.model.d.ts +4 -0
- package/lib/models/dominio/tiposindicato.model.d.ts +5 -0
- package/lib/models/dominio/tipotomador.model.d.ts +4 -0
- package/lib/models/dominio/tipotransporte.model.d.ts +4 -0
- package/lib/models/dominio/tipovinculoempregaticio.model.d.ts +6 -0
- package/lib/models/dominio/treinamento.model.d.ts +7 -0
- package/lib/models/filtro/filtrolistausuario.model.d.ts +1 -0
- package/lib/models/hcm/hierarquiaorganizacional/hierarquiaorganizacional.model.d.ts +2 -1
- package/lib/models/pessoa/colaborador/colaborador.model.d.ts +2 -0
- package/lib/models/pessoa/registro/registro.model.d.ts +1 -0
- package/lib/models/pessoa/registro/usuariopessoaresumo.model.d.ts +1 -0
- package/lib/services/dominio/campos-obrigatorios-cadastro.service.d.ts +18 -0
- package/lib/services/dominio/categoria-trabalhador.service.d.ts +2 -2
- package/lib/services/dominio/tipo-dados-pessoa.service.d.ts +18 -0
- package/lib/services/dominio/tipo-dia-trabalhado.service.d.ts +18 -0
- package/lib/services/dominio/tipo-entidade-hcm.service.d.ts +18 -0
- package/lib/services/dominio/tipo-folha.service.d.ts +1 -1
- package/lib/services/dominio/tipo-funcionario.service.d.ts +18 -0
- package/lib/services/dominio/tipo-inss.service.d.ts +18 -0
- package/lib/services/dominio/tipo-jornada.service.d.ts +18 -0
- package/lib/services/dominio/tipo-lotacao.service.d.ts +18 -0
- package/lib/services/dominio/tipo-motivo-salario-familia.service.d.ts +18 -0
- package/lib/services/dominio/tipo-regime-previdenciario.service.d.ts +18 -0
- package/lib/services/dominio/tipo-regime-trabalhista.service.d.ts +18 -0
- package/lib/services/dominio/tipo-reintegracao.service.d.ts +18 -0
- package/lib/services/dominio/tipo-sindicato.service.d.ts +18 -0
- package/lib/services/dominio/tipo-tomador.service.d.ts +18 -0
- package/lib/services/dominio/tipo-transporte.service.d.ts +18 -0
- package/lib/services/dominio/tipo-vinculo-empregaticio.service.d.ts +18 -0
- package/lib/services/dominio/treinamento.service.d.ts +18 -0
- package/lib/services/hcm/equipe-membro.service.d.ts +2 -2
- package/lib/services/hcm/equipe.service.d.ts +1 -1
- package/lib/services/hcm/hierarquiaorganizacional.service.d.ts +18 -10
- package/lib/services/hcm/relacionamento-lotacao.service.d.ts +1 -1
- package/lib/services/hcm/sub-tipo-ocorrencia.service.d.ts +1 -1
- package/lib/services/hcm/tipo-estado.service.d.ts +1 -1
- package/lib/services/hcm/tipo-ocorrencia.service.d.ts +1 -1
- package/lib/services/hcm/unidade-hierarquica.service.d.ts +1 -1
- package/lib/services/passaporte/empresa-banner.service.d.ts +1 -1
- package/lib/services/passaporte/empresa-parametros.service.d.ts +2 -2
- package/lib/services/passaporte/empresa.service.d.ts +2 -0
- package/lib/services/pessoa/analista-pessoa.service.d.ts +2 -2
- package/lib/services/pessoa/colaborador.service.d.ts +2 -0
- package/lib/services/pessoa/keex.service.d.ts +3 -1
- package/lib/services/pessoa/lider.service.d.ts +1 -1
- package/lib/services/pessoa/registro.service.d.ts +17 -3
- package/lib/services/utilitarios/validators.service.d.ts +4 -0
- package/package.json +2 -2
- package/public-api.d.ts +18 -0
@@ -208,13 +208,26 @@ class HierarquiaOrganizacionalService extends BaseApiService {
|
|
208
208
|
this.rotaListartodos = 'hcm/api/v1/hierarquiaorganizacional/listartodos';
|
209
209
|
this.rotaListartodosporlider = 'hcm/api/v1/hierarquiaorganizacional/listartodosporlider';
|
210
210
|
this.rotaListarLideresSubstitutosPorHierarquiaOrganizacional = 'hcm/api/v1/hierarquiaorganizacional/ListarLideresSubstitutosPorHierarquiaOrganizacional';
|
211
|
+
this.rotaListarPossiveisLideres = 'hcm/api/v1/hierarquiaorganizacional/listarpossiveislideres';
|
212
|
+
this.rotaListarmembros = 'hcm/api/v1/hierarquiaorganizacional/listarmembros';
|
211
213
|
this.rotaSalvar = 'hcm/api/v1/hierarquiaorganizacional/salvar';
|
212
214
|
this.rotaAtualizaVinculoDeHierarquia = 'hcm/api/v1/hierarquiaorganizacional/AtualizaVinculoDeHierarquia';
|
213
215
|
this.rotaAtualizarOrdemHierarquia = 'hcm/api/v1/hierarquiaorganizacional/AtualizarOrdemHierarquia';
|
214
216
|
this.rotaAtualizarOrdemHierarquias = 'hcm/api/v1/hierarquiaorganizacional/AtualizarOrdemHierarquias';
|
215
217
|
this.rotaSelecionar = 'hcm/api/v1/hierarquiaorganizacional/selecionar';
|
216
|
-
this.rotaListarPossiveisLideres = 'hcm/api/v1/hierarquiaorganizacional/listarpossiveislideres';
|
217
218
|
this.rotaSolicitarConfirmacaoAlteracaoLideranca = 'hcm/api/v1/hierarquiaorganizacional/SolicitarConfirmacaoAlteracaoLideranca';
|
219
|
+
this.rotaSelecionarTotalHierarquias = 'hcm/api/v1/hierarquiaorganizacional/selecionartotalhierarquias';
|
220
|
+
this.rotaVerificaLideranca = 'hcm/api/v1/hierarquiaorganizacional/VerificaLideranca';
|
221
|
+
this.rotalistarTodosLideres = 'hcm/api/v1/hierarquiaorganizacional/listarTodosLideres';
|
222
|
+
}
|
223
|
+
AtualizaVinculoDeHierarquia(dados) {
|
224
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaAtualizaVinculoDeHierarquia, dados);
|
225
|
+
}
|
226
|
+
AtualizarOrdemHierarquia(idhierarquiaorganizacional, idordem) {
|
227
|
+
return this.post(this.hostEnv.apiUrlHcm, `${this.rotaAtualizarOrdemHierarquia}?idhierarquiaorganizacional=${idhierarquiaorganizacional}&ordem=${idordem}`);
|
228
|
+
}
|
229
|
+
AtualizarOrdemHierarquias(listaOrdens) {
|
230
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaAtualizarOrdemHierarquias, listaOrdens);
|
218
231
|
}
|
219
232
|
Excluir(id) {
|
220
233
|
return this.post(this.hostEnv.apiUrlHcm, this.rotaExcluir, id);
|
@@ -234,27 +247,30 @@ class HierarquiaOrganizacionalService extends BaseApiService {
|
|
234
247
|
ListarLideresSubstitutosPorHierarquiaOrganizacional(filtro) {
|
235
248
|
return this.post(this.hostEnv.apiUrlHcm, this.rotaListarLideresSubstitutosPorHierarquiaOrganizacional, filtro);
|
236
249
|
}
|
237
|
-
ListarPossiveisLideres(filtro
|
250
|
+
ListarPossiveisLideres(filtro) {
|
238
251
|
return this.post(this.hostEnv.apiUrlHcm, this.rotaListarPossiveisLideres, filtro);
|
239
252
|
}
|
253
|
+
ListarMembros(filtro) {
|
254
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaListarmembros, filtro);
|
255
|
+
}
|
256
|
+
ListarTodosLideres(filtro) {
|
257
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotalistarTodosLideres, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
258
|
+
}
|
240
259
|
Salvar(dados) {
|
241
260
|
return this.post(this.hostEnv.apiUrlHcm, this.rotaSalvar, dados);
|
242
261
|
}
|
243
262
|
SolicitarConfirmacaoAlteracaoLideranca(filtro) {
|
244
263
|
return this.getHeaders(this.hostEnv.apiUrlHcm, this.rotaSolicitarConfirmacaoAlteracaoLideranca, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
245
264
|
}
|
246
|
-
AtualizaVinculoDeHierarquia(dados) {
|
247
|
-
return this.post(this.hostEnv.apiUrlHcm, this.rotaAtualizaVinculoDeHierarquia, dados);
|
248
|
-
}
|
249
|
-
AtualizarOrdemHierarquia(idhierarquiaorganizacional, idordem) {
|
250
|
-
return this.post(this.hostEnv.apiUrlHcm, `${this.rotaAtualizarOrdemHierarquia}?idhierarquiaorganizacional=${idhierarquiaorganizacional}&ordem=${idordem}`);
|
251
|
-
}
|
252
|
-
AtualizarOrdemHierarquias(listaOrdens) {
|
253
|
-
return this.post(this.hostEnv.apiUrlHcm, this.rotaAtualizarOrdemHierarquias, listaOrdens);
|
254
|
-
}
|
255
265
|
Selecionar(id) {
|
256
266
|
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${id}`);
|
257
267
|
}
|
268
|
+
SelecionarTotalHierarquias(idmaster, idempresaevocenter) {
|
269
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionarTotalHierarquias}/${idmaster}/${idempresaevocenter}`);
|
270
|
+
}
|
271
|
+
VerificarLideranca(filtro) {
|
272
|
+
return this.getHeaders(this.hostEnv.apiUrlHcm, this.rotaVerificaLideranca, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
273
|
+
}
|
258
274
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: HierarquiaOrganizacionalService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
259
275
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: HierarquiaOrganizacionalService, providedIn: 'root' }); }
|
260
276
|
}
|
@@ -559,6 +575,7 @@ class EmpresaService extends BaseApiService {
|
|
559
575
|
this.hostEnv = hostEnv;
|
560
576
|
this.rotaListarEmpresas = 'hcm/api/v1/empresa/listarempresas';
|
561
577
|
this.rotaListarEmpresaseFiliais = 'hcm/api/v1/empresa/listarempresaefiliais';
|
578
|
+
this.rotaListarFiliais = 'hcm/api/v1/empresa/listarfiliais';
|
562
579
|
}
|
563
580
|
ListarEmpresas(idmaster) {
|
564
581
|
return this.getAll(this.hostEnv.apiUrlHcm, `${this.rotaListarEmpresas}/${idmaster}`);
|
@@ -566,6 +583,9 @@ class EmpresaService extends BaseApiService {
|
|
566
583
|
ListarEmpresaEFiliais(idmaster, idempresaevocenter) {
|
567
584
|
return this.getAll(this.hostEnv.apiUrlHcm, `${this.rotaListarEmpresaseFiliais}/${idmaster}/${idempresaevocenter}`);
|
568
585
|
}
|
586
|
+
ListarFiliais(idempresaevocenter) {
|
587
|
+
return this.getAll(this.hostEnv.apiUrlHcm, `${this.rotaListarFiliais}/${idempresaevocenter}`);
|
588
|
+
}
|
569
589
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EmpresaService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
570
590
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: EmpresaService, providedIn: 'root' }); }
|
571
591
|
}
|
@@ -629,6 +649,7 @@ class ColaboradorService extends BaseApiService {
|
|
629
649
|
this.rotaListarColaboradoresSecundariosPorHierarquiaOrganizacional = 'hcm/api/v1/colaborador/ListarColaboradoresSecundariosPorHierarquiaOrganizacional';
|
630
650
|
this.rotaListarPossiveisColaboradores = 'hcm/api/v1/colaborador/ListarPossiveisColaboradores';
|
631
651
|
this.rotaSelecionar = 'hcm/api/v1/colaborador/selecionar';
|
652
|
+
this.rotaSelecionarPorGuid = 'hcm/api/v1/colaborador/selecionarporguid';
|
632
653
|
this.rotaSelecionarPossivelColaborador = 'hcm/api/v1/colaborador/SelecionarPossivelColaborador';
|
633
654
|
this.rotaSalvar = 'hcm/api/v1/colaborador/salvar';
|
634
655
|
this.rotaSalvarLinha = 'hcm/api/v1/colaborador/salvarlinha';
|
@@ -656,6 +677,9 @@ class ColaboradorService extends BaseApiService {
|
|
656
677
|
Selecionar(idcolaborador) {
|
657
678
|
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idcolaborador}`);
|
658
679
|
}
|
680
|
+
SelecionarPorGuid(guid) {
|
681
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionarPorGuid}/${guid}`);
|
682
|
+
}
|
659
683
|
SelecionarPossivelColaborador(filtro) {
|
660
684
|
return this.getHeaders(this.hostEnv.apiUrlHcm, `${this.rotaSelecionarPossivelColaborador}`, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
661
685
|
}
|
@@ -690,6 +714,7 @@ class KeexService extends BaseApiService {
|
|
690
714
|
this.rotaPesquisarUsuario = 'hcm/api/v1/keex/pesquisarusuario';
|
691
715
|
this.rotaTotalFuncionariosAcessoKeex = 'hcm/api/v1/keex/totalfuncionariosacessokeex';
|
692
716
|
this.rotaAlteracoesKeex = 'hcm/api/v1/keex/alteraracessokeex';
|
717
|
+
this.rotaValidacaoKeex = 'hcm/api/v1/keex/alterarvalidacaokeex';
|
693
718
|
this.rotaAlteracoesKeexEmpresa = 'hcm/api/v1/keex/alteraracessokeexempresa';
|
694
719
|
this.rotaEnviaConvite = 'hcm/api/v1/keex/enviaconvite';
|
695
720
|
this.rotaListarEnderecos = 'hcm/api/v1/keex/ListarEnderecos';
|
@@ -708,6 +733,9 @@ class KeexService extends BaseApiService {
|
|
708
733
|
AlteraAcessoAoKeex(parametros) {
|
709
734
|
return this.post(this.hostEnv.apiUrlHcm, this.rotaAlteracoesKeex, parametros);
|
710
735
|
}
|
736
|
+
AlteraValidacaoKeex(parametros) {
|
737
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaValidacaoKeex, parametros);
|
738
|
+
}
|
711
739
|
EnviarConvite(usuarios) {
|
712
740
|
return this.post(this.hostEnv.apiUrlHcm, this.rotaEnviaConvite, usuarios);
|
713
741
|
}
|
@@ -817,17 +845,22 @@ class RegistroService extends BaseApiService {
|
|
817
845
|
this.rotaListar = 'hcm/api/v1/registro/listar';
|
818
846
|
this.rotaListarContatos = 'hcm/api/v1/registro/listarcontatos';
|
819
847
|
this.rotaListarIdPorCpf = 'hcm/api/v1/registro/ListarIdPorCpf';
|
848
|
+
this.rotaListarGuidPorCpf = 'hcm/api/v1/registro/ListarGuidPorCpf';
|
820
849
|
this.rotaListarFuncionariosSemLotacao = 'hcm/api/v1/registro/ListarFuncionariosSemLotacao';
|
821
850
|
this.rotaPesquisar = 'hcm/api/v1/registro/pesquisar';
|
822
851
|
this.rotaListarAniversariantes = 'hcm/api/v1/registro/listaraniversariantes';
|
823
852
|
this.rotaSelecionarPerfil = 'hcm/api/v1/registro/SelecionarPerfil';
|
824
853
|
this.rotaSalvar = 'hcm/api/v1/registro/salvar';
|
825
854
|
this.rotaSelecionar = 'hcm/api/v1/registro/selecionar';
|
855
|
+
this.rotaSelecionarPorGuid = 'hcm/api/v1/registro/SelecionarPorGuid';
|
826
856
|
this.rotaAtualizarFoto = 'hcm/api/v1/registro/AtualizarFoto';
|
827
857
|
this.rotaAlteraVisualizacaoTelefone = 'hcm/api/v1/registro/AlteraVisualizacaoTelefone';
|
828
858
|
this.rotaAlteraVisualizacaoAniversario = 'hcm/api/v1/registro/AlteraVisualizacaoAniversario';
|
829
859
|
this.rotaTotalColaboradoresAtivos = 'hcm/api/v1/registro/TotalColaboradoresAtivos';
|
830
860
|
this.rotaPesquisaLiderSubordinado = 'hcm/api/v1/registro/PesquisarLiderSubordinado';
|
861
|
+
this.rotaGEDListarDemonstrativoDePagamentoPorEmpresa = 'hcm/api/v1/registro/GEDListarDemonstrativoDePagamentoPorEmpresa';
|
862
|
+
this.rotaVerificaDemissaoIndividual = 'hcm/api/v1/registro/VerificaDemissaoIndividual';
|
863
|
+
this.rotaVerificaDemissaoPorEmpresa = 'hcm/api/v1/registro/VerificaDemissaoPorEmpresa';
|
831
864
|
}
|
832
865
|
Excluir(id) {
|
833
866
|
return this.delete(this.hostEnv.apiUrlHcm, `${this.rotaExcluir}/${id}`);
|
@@ -844,6 +877,9 @@ class RegistroService extends BaseApiService {
|
|
844
877
|
ListarIdPorCpf(filtro) {
|
845
878
|
return this.getHeaders(this.hostEnv.apiUrlHcm, this.rotaListarIdPorCpf, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
846
879
|
}
|
880
|
+
ListarGuidPorCpforCpf(filtro) {
|
881
|
+
return this.getHeaders(this.hostEnv.apiUrlHcm, this.rotaListarGuidPorCpf, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
882
|
+
}
|
847
883
|
ListarFuncionariosSemLotacao(filtro) {
|
848
884
|
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListarFuncionariosSemLotacao, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
849
885
|
}
|
@@ -859,12 +895,18 @@ class RegistroService extends BaseApiService {
|
|
859
895
|
SelecionarPerfil(filtro) {
|
860
896
|
return this.getHeaders(this.hostEnv.apiUrlHcm, this.rotaSelecionarPerfil, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
861
897
|
}
|
898
|
+
GEDListarDemonstrativoDePagamentoPorEmpresa(filtro) {
|
899
|
+
return this.getHeaders(this.hostEnv.apiUrlHcm, this.rotaGEDListarDemonstrativoDePagamentoPorEmpresa, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
900
|
+
}
|
862
901
|
Salvar(data) {
|
863
902
|
return this.post(this.hostEnv.apiUrlHcm, this.rotaSalvar, data);
|
864
903
|
}
|
865
904
|
Selecionar(id) {
|
866
905
|
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${id}`);
|
867
906
|
}
|
907
|
+
SelecionarPorGuid(uuid) {
|
908
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionarPorGuid}/${uuid}`);
|
909
|
+
}
|
868
910
|
SelecionarResumo(id) {
|
869
911
|
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${id}`);
|
870
912
|
}
|
@@ -880,6 +922,12 @@ class RegistroService extends BaseApiService {
|
|
880
922
|
TotalColaboradoresAtivos(filtro) {
|
881
923
|
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaTotalColaboradoresAtivos, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
882
924
|
}
|
925
|
+
VerificaDemissaoIndividual(idmaster, idempresaevocenter, cpfcnpj) {
|
926
|
+
return this.get(this.hostEnv.apiUrlHcm, this.rotaVerificaDemissaoIndividual + `/${idmaster}/${idempresaevocenter}/${cpfcnpj}`);
|
927
|
+
}
|
928
|
+
VerificaDemissaoPorEmpresa(idmaster, idempresaevocenter) {
|
929
|
+
return this.get(this.hostEnv.apiUrlHcm, this.rotaVerificaDemissaoPorEmpresa + `/${idmaster}/${idempresaevocenter}`);
|
930
|
+
}
|
883
931
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RegistroService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
884
932
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: RegistroService, providedIn: 'root' }); }
|
885
933
|
}
|
@@ -1087,6 +1135,60 @@ class ValidatorsService {
|
|
1087
1135
|
}
|
1088
1136
|
};
|
1089
1137
|
}
|
1138
|
+
conditionalRequired(conditionalFormControlName, message = 'Campo obrigatório') {
|
1139
|
+
return (control) => {
|
1140
|
+
if (control.value === null || control.value === undefined || control.value === '') {
|
1141
|
+
// Verifica se algum dos controles listados está preenchido
|
1142
|
+
if (conditionalFormControlName.some(name => control.parent?.get(name)?.value)) {
|
1143
|
+
return { erroMessage: message }; // Retorna o erro se algum controle estiver preenchido
|
1144
|
+
}
|
1145
|
+
else {
|
1146
|
+
return null; // Não retorna erro se nenhum controle estiver preenchido
|
1147
|
+
}
|
1148
|
+
}
|
1149
|
+
return null; // Retorna null se o campo atual estiver preenchido
|
1150
|
+
};
|
1151
|
+
}
|
1152
|
+
conditionalValueRequired(conditionalFormControlName, value, message = 'Campo obrigatório') {
|
1153
|
+
return (control) => {
|
1154
|
+
if (!control.parent) {
|
1155
|
+
return null; // Retorna null se não houver um formulário pai
|
1156
|
+
}
|
1157
|
+
// Verifica se algum dos controles especificados possui o valor informado
|
1158
|
+
const isAnyControlWithValue = conditionalFormControlName.some(name => {
|
1159
|
+
const controlToCheck = control.parent?.get(name);
|
1160
|
+
return controlToCheck && controlToCheck.value == value;
|
1161
|
+
});
|
1162
|
+
// Se algum controle tiver o valor informado, o controle atual se torna obrigatório
|
1163
|
+
if (isAnyControlWithValue) {
|
1164
|
+
// Verifica se o controle atual está vazio
|
1165
|
+
if (control.value === null || control.value === undefined || control.value === '') {
|
1166
|
+
return { erroMessage: message }; // Retorna o erro de campo obrigatório
|
1167
|
+
}
|
1168
|
+
}
|
1169
|
+
return null; // Retorna null se o campo atual estiver preenchido ou a condição não for atendida
|
1170
|
+
};
|
1171
|
+
}
|
1172
|
+
conditionalNotValueRequired(conditionalFormControlName, value, message = 'Campo obrigatório') {
|
1173
|
+
return (control) => {
|
1174
|
+
if (!control.parent) {
|
1175
|
+
return null; // Retorna null se não houver um formulário pai
|
1176
|
+
}
|
1177
|
+
// Verifica se algum dos controles especificados possui o valor informado
|
1178
|
+
const isAnyControlWithValue = conditionalFormControlName.some(name => {
|
1179
|
+
const controlToCheck = control.parent?.get(name);
|
1180
|
+
return controlToCheck && controlToCheck.value != value;
|
1181
|
+
});
|
1182
|
+
// Se algum controle tiver o valor informado, o controle atual se torna obrigatório
|
1183
|
+
if (isAnyControlWithValue) {
|
1184
|
+
// Verifica se o controle atual está vazio
|
1185
|
+
if (control.value === null || control.value === undefined || control.value === '') {
|
1186
|
+
return { erroMessage: message }; // Retorna o erro de campo obrigatório
|
1187
|
+
}
|
1188
|
+
}
|
1189
|
+
return null; // Retorna null se o campo atual estiver preenchido ou a condição não for atendida
|
1190
|
+
};
|
1191
|
+
}
|
1090
1192
|
maxlenght(valormaximo, mensagem) {
|
1091
1193
|
return (control) => {
|
1092
1194
|
if (control.value === null || control.value === undefined || control.value === '') {
|
@@ -1101,6 +1203,26 @@ class ValidatorsService {
|
|
1101
1203
|
}
|
1102
1204
|
};
|
1103
1205
|
}
|
1206
|
+
validateFileName(control) {
|
1207
|
+
const fileName = control.value;
|
1208
|
+
// Regras do Windows para nomes de arquivos
|
1209
|
+
const invalidCharsRegex = /[\/\\:*?"<>|]/; // Caracteres especiais não permitidos
|
1210
|
+
const endsWithInvalidCharRegex = /[.]$/; // Não pode terminar com um ponto
|
1211
|
+
const multipleDotsRegex = /(\.\.)/; // Não pode ter múltiplos pontos seguidos
|
1212
|
+
if (!fileName || fileName.trim() === '') {
|
1213
|
+
return { erroMessage: "Campo obrigatório" };
|
1214
|
+
}
|
1215
|
+
if (invalidCharsRegex.test(fileName)) {
|
1216
|
+
return { erroMessage: "Nome de arquivo contém caracteres inválidos" };
|
1217
|
+
}
|
1218
|
+
if (endsWithInvalidCharRegex.test(fileName)) {
|
1219
|
+
return { erroMessage: "Nome de arquivo não pode terminar com um ponto" };
|
1220
|
+
}
|
1221
|
+
if (multipleDotsRegex.test(fileName)) {
|
1222
|
+
return { erroMessage: "Nome de arquivo não pode conter '..'" };
|
1223
|
+
}
|
1224
|
+
return null; // Retorna null se não houver erro
|
1225
|
+
}
|
1104
1226
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ValidatorsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1105
1227
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ValidatorsService, providedIn: 'root' }); }
|
1106
1228
|
}
|
@@ -2318,6 +2440,533 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
2318
2440
|
args: ['hostEnv']
|
2319
2441
|
}] }] });
|
2320
2442
|
|
2443
|
+
class TipoDiaTrabalhadoService extends BaseApiService {
|
2444
|
+
constructor(httpClient, hostEnv) {
|
2445
|
+
super(httpClient);
|
2446
|
+
this.httpClient = httpClient;
|
2447
|
+
this.hostEnv = hostEnv;
|
2448
|
+
this.rotaListar = 'hcm/api/v1/TipoDiaTrabalhado/listar';
|
2449
|
+
this.rotaExisteID = 'hcm/api/v1/TipoDiaTrabalhado/existeid';
|
2450
|
+
this.rotaSelecionar = 'hcm/api/v1/TipoDiaTrabalhado/selecionar';
|
2451
|
+
}
|
2452
|
+
Listar() {
|
2453
|
+
return this.getAll(this.hostEnv.apiUrlHcm, this.rotaListar);
|
2454
|
+
}
|
2455
|
+
ExisteID(idtipodiatrabalhado) {
|
2456
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaExisteID}/${idtipodiatrabalhado}`);
|
2457
|
+
}
|
2458
|
+
Selecionar(idtipodiatrabalhado) {
|
2459
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idtipodiatrabalhado}`);
|
2460
|
+
}
|
2461
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoDiaTrabalhadoService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
2462
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoDiaTrabalhadoService, providedIn: 'root' }); }
|
2463
|
+
}
|
2464
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoDiaTrabalhadoService, decorators: [{
|
2465
|
+
type: Injectable,
|
2466
|
+
args: [{
|
2467
|
+
providedIn: 'root'
|
2468
|
+
}]
|
2469
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
2470
|
+
type: Inject,
|
2471
|
+
args: ['hostEnv']
|
2472
|
+
}] }] });
|
2473
|
+
|
2474
|
+
class TipoTransporteService extends BaseApiService {
|
2475
|
+
constructor(httpClient, hostEnv) {
|
2476
|
+
super(httpClient);
|
2477
|
+
this.httpClient = httpClient;
|
2478
|
+
this.hostEnv = hostEnv;
|
2479
|
+
this.rotaListar = 'hcm/api/v1/TipoTransporte/listar';
|
2480
|
+
this.rotaExisteID = 'hcm/api/v1/TipoTransporte/existeid';
|
2481
|
+
this.rotaSelecionar = 'hcm/api/v1/TipoTransporte/selecionar';
|
2482
|
+
}
|
2483
|
+
Listar() {
|
2484
|
+
return this.getAll(this.hostEnv.apiUrlHcm, this.rotaListar);
|
2485
|
+
}
|
2486
|
+
ExisteID(idtipotransporte) {
|
2487
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaExisteID}/${idtipotransporte}`);
|
2488
|
+
}
|
2489
|
+
Selecionar(idtipotransporte) {
|
2490
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idtipotransporte}`);
|
2491
|
+
}
|
2492
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoTransporteService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
2493
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoTransporteService, providedIn: 'root' }); }
|
2494
|
+
}
|
2495
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoTransporteService, decorators: [{
|
2496
|
+
type: Injectable,
|
2497
|
+
args: [{
|
2498
|
+
providedIn: 'root'
|
2499
|
+
}]
|
2500
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
2501
|
+
type: Inject,
|
2502
|
+
args: ['hostEnv']
|
2503
|
+
}] }] });
|
2504
|
+
|
2505
|
+
class TipoSindicatoService extends BaseApiService {
|
2506
|
+
constructor(httpClient, hostEnv) {
|
2507
|
+
super(httpClient);
|
2508
|
+
this.httpClient = httpClient;
|
2509
|
+
this.hostEnv = hostEnv;
|
2510
|
+
this.rotaListar = 'hcm/api/v1/TipoSindicato/listar';
|
2511
|
+
this.rotaExisteID = 'hcm/api/v1/TipoSindicato/existeid';
|
2512
|
+
this.rotaSelecionar = 'hcm/api/v1/TipoSindicato/selecionar';
|
2513
|
+
}
|
2514
|
+
Listar() {
|
2515
|
+
return this.getAll(this.hostEnv.apiUrlHcm, this.rotaListar);
|
2516
|
+
}
|
2517
|
+
ExisteID(idtiposindicato) {
|
2518
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaExisteID}/${idtiposindicato}`);
|
2519
|
+
}
|
2520
|
+
Selecionar(idtiposindicato) {
|
2521
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idtiposindicato}`);
|
2522
|
+
}
|
2523
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoSindicatoService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
2524
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoSindicatoService, providedIn: 'root' }); }
|
2525
|
+
}
|
2526
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoSindicatoService, decorators: [{
|
2527
|
+
type: Injectable,
|
2528
|
+
args: [{
|
2529
|
+
providedIn: 'root'
|
2530
|
+
}]
|
2531
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
2532
|
+
type: Inject,
|
2533
|
+
args: ['hostEnv']
|
2534
|
+
}] }] });
|
2535
|
+
|
2536
|
+
class TreinamentoService extends BaseApiService {
|
2537
|
+
constructor(httpClient, hostEnv) {
|
2538
|
+
super(httpClient);
|
2539
|
+
this.httpClient = httpClient;
|
2540
|
+
this.hostEnv = hostEnv;
|
2541
|
+
this.rotaListar = 'hcm/api/v1/Treinamento/listar';
|
2542
|
+
this.rotaExisteID = 'hcm/api/v1/Treinamento/existeid';
|
2543
|
+
this.rotaSelecionar = 'hcm/api/v1/Treinamento/selecionar';
|
2544
|
+
}
|
2545
|
+
Listar() {
|
2546
|
+
return this.getAll(this.hostEnv.apiUrlHcm, this.rotaListar);
|
2547
|
+
}
|
2548
|
+
ExisteID(idtreinamento) {
|
2549
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaExisteID}/${idtreinamento}`);
|
2550
|
+
}
|
2551
|
+
Selecionar(idtreinamento) {
|
2552
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idtreinamento}`);
|
2553
|
+
}
|
2554
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TreinamentoService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
2555
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TreinamentoService, providedIn: 'root' }); }
|
2556
|
+
}
|
2557
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TreinamentoService, decorators: [{
|
2558
|
+
type: Injectable,
|
2559
|
+
args: [{
|
2560
|
+
providedIn: 'root'
|
2561
|
+
}]
|
2562
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
2563
|
+
type: Inject,
|
2564
|
+
args: ['hostEnv']
|
2565
|
+
}] }] });
|
2566
|
+
|
2567
|
+
class TipoVinculoEmpregaticioService extends BaseApiService {
|
2568
|
+
constructor(httpClient, hostEnv) {
|
2569
|
+
super(httpClient);
|
2570
|
+
this.httpClient = httpClient;
|
2571
|
+
this.hostEnv = hostEnv;
|
2572
|
+
this.rotaListar = 'hcm/api/v1/TipoVinculoEmpregaticio/listar';
|
2573
|
+
this.rotaExisteID = 'hcm/api/v1/TipoVinculoEmpregaticio/existeid';
|
2574
|
+
this.rotaSelecionar = 'hcm/api/v1/TipoVinculoEmpregaticio/selecionar';
|
2575
|
+
}
|
2576
|
+
Listar() {
|
2577
|
+
return this.getAll(this.hostEnv.apiUrlHcm, this.rotaListar);
|
2578
|
+
}
|
2579
|
+
ExisteID(idtipovinculoempregaticio) {
|
2580
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaExisteID}/${idtipovinculoempregaticio}`);
|
2581
|
+
}
|
2582
|
+
Selecionar(idtipovinculoempregaticio) {
|
2583
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idtipovinculoempregaticio}`);
|
2584
|
+
}
|
2585
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoVinculoEmpregaticioService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
2586
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoVinculoEmpregaticioService, providedIn: 'root' }); }
|
2587
|
+
}
|
2588
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoVinculoEmpregaticioService, decorators: [{
|
2589
|
+
type: Injectable,
|
2590
|
+
args: [{
|
2591
|
+
providedIn: 'root'
|
2592
|
+
}]
|
2593
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
2594
|
+
type: Inject,
|
2595
|
+
args: ['hostEnv']
|
2596
|
+
}] }] });
|
2597
|
+
|
2598
|
+
class TipoTomadorService extends BaseApiService {
|
2599
|
+
constructor(httpClient, hostEnv) {
|
2600
|
+
super(httpClient);
|
2601
|
+
this.httpClient = httpClient;
|
2602
|
+
this.hostEnv = hostEnv;
|
2603
|
+
this.rotaListar = 'hcm/api/v1/TipoTomador/listar';
|
2604
|
+
this.rotaExisteID = 'hcm/api/v1/TipoTomador/existeid';
|
2605
|
+
this.rotaSelecionar = 'hcm/api/v1/TipoTomador/selecionar';
|
2606
|
+
}
|
2607
|
+
Listar() {
|
2608
|
+
return this.getAll(this.hostEnv.apiUrlHcm, this.rotaListar);
|
2609
|
+
}
|
2610
|
+
ExisteID(idtipotomador) {
|
2611
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaExisteID}/${idtipotomador}`);
|
2612
|
+
}
|
2613
|
+
Selecionar(idtipotomador) {
|
2614
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idtipotomador}`);
|
2615
|
+
}
|
2616
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoTomadorService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
2617
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoTomadorService, providedIn: 'root' }); }
|
2618
|
+
}
|
2619
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoTomadorService, decorators: [{
|
2620
|
+
type: Injectable,
|
2621
|
+
args: [{
|
2622
|
+
providedIn: 'root'
|
2623
|
+
}]
|
2624
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
2625
|
+
type: Inject,
|
2626
|
+
args: ['hostEnv']
|
2627
|
+
}] }] });
|
2628
|
+
|
2629
|
+
class TipoReintegracaoService extends BaseApiService {
|
2630
|
+
constructor(httpClient, hostEnv) {
|
2631
|
+
super(httpClient);
|
2632
|
+
this.httpClient = httpClient;
|
2633
|
+
this.hostEnv = hostEnv;
|
2634
|
+
this.rotaListar = 'hcm/api/v1/TipoReintegracao/listar';
|
2635
|
+
this.rotaExisteID = 'hcm/api/v1/TipoReintegracao/existeid';
|
2636
|
+
this.rotaSelecionar = 'hcm/api/v1/TipoReintegracao/selecionar';
|
2637
|
+
}
|
2638
|
+
Listar() {
|
2639
|
+
return this.getAll(this.hostEnv.apiUrlHcm, this.rotaListar);
|
2640
|
+
}
|
2641
|
+
ExisteID(idtipotomador) {
|
2642
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaExisteID}/${idtipotomador}`);
|
2643
|
+
}
|
2644
|
+
Selecionar(idtipotomador) {
|
2645
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idtipotomador}`);
|
2646
|
+
}
|
2647
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoReintegracaoService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
2648
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoReintegracaoService, providedIn: 'root' }); }
|
2649
|
+
}
|
2650
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoReintegracaoService, decorators: [{
|
2651
|
+
type: Injectable,
|
2652
|
+
args: [{
|
2653
|
+
providedIn: 'root'
|
2654
|
+
}]
|
2655
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
2656
|
+
type: Inject,
|
2657
|
+
args: ['hostEnv']
|
2658
|
+
}] }] });
|
2659
|
+
|
2660
|
+
class TipoRegimeTrabalhistaService extends BaseApiService {
|
2661
|
+
constructor(httpClient, hostEnv) {
|
2662
|
+
super(httpClient);
|
2663
|
+
this.httpClient = httpClient;
|
2664
|
+
this.hostEnv = hostEnv;
|
2665
|
+
this.rotaListar = 'hcm/api/v1/TipoRegimeTrabalhista/listar';
|
2666
|
+
this.rotaExisteID = 'hcm/api/v1/TipoRegimeTrabalhista/existeid';
|
2667
|
+
this.rotaSelecionar = 'hcm/api/v1/TipoRegimeTrabalhista/selecionar';
|
2668
|
+
}
|
2669
|
+
Listar() {
|
2670
|
+
return this.getAll(this.hostEnv.apiUrlHcm, this.rotaListar);
|
2671
|
+
}
|
2672
|
+
ExisteID(idtiporegimetrabalhista) {
|
2673
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaExisteID}/${idtiporegimetrabalhista}`);
|
2674
|
+
}
|
2675
|
+
Selecionar(idtiporegimetrabalhista) {
|
2676
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idtiporegimetrabalhista}`);
|
2677
|
+
}
|
2678
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoRegimeTrabalhistaService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
2679
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoRegimeTrabalhistaService, providedIn: 'root' }); }
|
2680
|
+
}
|
2681
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoRegimeTrabalhistaService, decorators: [{
|
2682
|
+
type: Injectable,
|
2683
|
+
args: [{
|
2684
|
+
providedIn: 'root'
|
2685
|
+
}]
|
2686
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
2687
|
+
type: Inject,
|
2688
|
+
args: ['hostEnv']
|
2689
|
+
}] }] });
|
2690
|
+
|
2691
|
+
class TipoRegimePrevidenciarioService extends BaseApiService {
|
2692
|
+
constructor(httpClient, hostEnv) {
|
2693
|
+
super(httpClient);
|
2694
|
+
this.httpClient = httpClient;
|
2695
|
+
this.hostEnv = hostEnv;
|
2696
|
+
this.rotaListar = 'hcm/api/v1/TipoRegimePrevidenciario/listar';
|
2697
|
+
this.rotaExisteID = 'hcm/api/v1/TipoRegimePrevidenciario/existeid';
|
2698
|
+
this.rotaSelecionar = 'hcm/api/v1/TipoRegimePrevidenciario/selecionar';
|
2699
|
+
}
|
2700
|
+
Listar() {
|
2701
|
+
return this.getAll(this.hostEnv.apiUrlHcm, this.rotaListar);
|
2702
|
+
}
|
2703
|
+
ExisteID(idtiporegimetrabalhista) {
|
2704
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaExisteID}/${idtiporegimetrabalhista}`);
|
2705
|
+
}
|
2706
|
+
Selecionar(idtiporegimetrabalhista) {
|
2707
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idtiporegimetrabalhista}`);
|
2708
|
+
}
|
2709
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoRegimePrevidenciarioService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
2710
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoRegimePrevidenciarioService, providedIn: 'root' }); }
|
2711
|
+
}
|
2712
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoRegimePrevidenciarioService, decorators: [{
|
2713
|
+
type: Injectable,
|
2714
|
+
args: [{
|
2715
|
+
providedIn: 'root'
|
2716
|
+
}]
|
2717
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
2718
|
+
type: Inject,
|
2719
|
+
args: ['hostEnv']
|
2720
|
+
}] }] });
|
2721
|
+
|
2722
|
+
class TipoMotivoSalarioFamiliaService extends BaseApiService {
|
2723
|
+
constructor(httpClient, hostEnv) {
|
2724
|
+
super(httpClient);
|
2725
|
+
this.httpClient = httpClient;
|
2726
|
+
this.hostEnv = hostEnv;
|
2727
|
+
this.rotaListar = 'hcm/api/v1/TipoMotivoSalarioFamilia/listar';
|
2728
|
+
this.rotaExisteID = 'hcm/api/v1/TipoMotivoSalarioFamilia/existeid';
|
2729
|
+
this.rotaSelecionar = 'hcm/api/v1/TipoMotivoSalarioFamilia/selecionar';
|
2730
|
+
}
|
2731
|
+
Listar() {
|
2732
|
+
return this.getAll(this.hostEnv.apiUrlHcm, this.rotaListar);
|
2733
|
+
}
|
2734
|
+
ExisteID(idtipomotivosalariofamilia) {
|
2735
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaExisteID}/${idtipomotivosalariofamilia}`);
|
2736
|
+
}
|
2737
|
+
Selecionar(idtipomotivosalariofamilia) {
|
2738
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idtipomotivosalariofamilia}`);
|
2739
|
+
}
|
2740
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoMotivoSalarioFamiliaService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
2741
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoMotivoSalarioFamiliaService, providedIn: 'root' }); }
|
2742
|
+
}
|
2743
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoMotivoSalarioFamiliaService, decorators: [{
|
2744
|
+
type: Injectable,
|
2745
|
+
args: [{
|
2746
|
+
providedIn: 'root'
|
2747
|
+
}]
|
2748
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
2749
|
+
type: Inject,
|
2750
|
+
args: ['hostEnv']
|
2751
|
+
}] }] });
|
2752
|
+
|
2753
|
+
class TipoLotacaoService extends BaseApiService {
|
2754
|
+
constructor(httpClient, hostEnv) {
|
2755
|
+
super(httpClient);
|
2756
|
+
this.httpClient = httpClient;
|
2757
|
+
this.hostEnv = hostEnv;
|
2758
|
+
this.rotaListar = 'hcm/api/v1/TipoLotacao/listar';
|
2759
|
+
this.rotaExisteID = 'hcm/api/v1/TipoLotacao/existeid';
|
2760
|
+
this.rotaSelecionar = 'hcm/api/v1/TipoLotacao/selecionar';
|
2761
|
+
}
|
2762
|
+
Listar() {
|
2763
|
+
return this.getAll(this.hostEnv.apiUrlHcm, this.rotaListar);
|
2764
|
+
}
|
2765
|
+
ExisteID(idtipolotacao) {
|
2766
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaExisteID}/${idtipolotacao}`);
|
2767
|
+
}
|
2768
|
+
Selecionar(idtipolotacao) {
|
2769
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idtipolotacao}`);
|
2770
|
+
}
|
2771
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoLotacaoService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
2772
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoLotacaoService, providedIn: 'root' }); }
|
2773
|
+
}
|
2774
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoLotacaoService, decorators: [{
|
2775
|
+
type: Injectable,
|
2776
|
+
args: [{
|
2777
|
+
providedIn: 'root'
|
2778
|
+
}]
|
2779
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
2780
|
+
type: Inject,
|
2781
|
+
args: ['hostEnv']
|
2782
|
+
}] }] });
|
2783
|
+
|
2784
|
+
class TipoJornadaService extends BaseApiService {
|
2785
|
+
constructor(httpClient, hostEnv) {
|
2786
|
+
super(httpClient);
|
2787
|
+
this.httpClient = httpClient;
|
2788
|
+
this.hostEnv = hostEnv;
|
2789
|
+
this.rotaListar = 'hcm/api/v1/TipoJornada/listar';
|
2790
|
+
this.rotaExisteID = 'hcm/api/v1/TipoJornada/existeid';
|
2791
|
+
this.rotaSelecionar = 'hcm/api/v1/TipoJornada/selecionar';
|
2792
|
+
}
|
2793
|
+
Listar() {
|
2794
|
+
return this.getAll(this.hostEnv.apiUrlHcm, this.rotaListar);
|
2795
|
+
}
|
2796
|
+
ExisteID(idtipojornada) {
|
2797
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaExisteID}/${idtipojornada}`);
|
2798
|
+
}
|
2799
|
+
Selecionar(idtipojornada) {
|
2800
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idtipojornada}`);
|
2801
|
+
}
|
2802
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoJornadaService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
2803
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoJornadaService, providedIn: 'root' }); }
|
2804
|
+
}
|
2805
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoJornadaService, decorators: [{
|
2806
|
+
type: Injectable,
|
2807
|
+
args: [{
|
2808
|
+
providedIn: 'root'
|
2809
|
+
}]
|
2810
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
2811
|
+
type: Inject,
|
2812
|
+
args: ['hostEnv']
|
2813
|
+
}] }] });
|
2814
|
+
|
2815
|
+
class TipoFuncionarioService extends BaseApiService {
|
2816
|
+
constructor(httpClient, hostEnv) {
|
2817
|
+
super(httpClient);
|
2818
|
+
this.httpClient = httpClient;
|
2819
|
+
this.hostEnv = hostEnv;
|
2820
|
+
this.rotaListar = 'hcm/api/v1/TipoFuncionario/listar';
|
2821
|
+
this.rotaExisteID = 'hcm/api/v1/TipoFuncionario/existeid';
|
2822
|
+
this.rotaSelecionar = 'hcm/api/v1/TipoFuncionario/selecionar';
|
2823
|
+
}
|
2824
|
+
Listar() {
|
2825
|
+
return this.getAll(this.hostEnv.apiUrlHcm, this.rotaListar);
|
2826
|
+
}
|
2827
|
+
ExisteID(idtipofuncionario) {
|
2828
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaExisteID}/${idtipofuncionario}`);
|
2829
|
+
}
|
2830
|
+
Selecionar(idtipofuncionario) {
|
2831
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idtipofuncionario}`);
|
2832
|
+
}
|
2833
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoFuncionarioService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
2834
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoFuncionarioService, providedIn: 'root' }); }
|
2835
|
+
}
|
2836
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoFuncionarioService, decorators: [{
|
2837
|
+
type: Injectable,
|
2838
|
+
args: [{
|
2839
|
+
providedIn: 'root'
|
2840
|
+
}]
|
2841
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
2842
|
+
type: Inject,
|
2843
|
+
args: ['hostEnv']
|
2844
|
+
}] }] });
|
2845
|
+
|
2846
|
+
class TipoInssService extends BaseApiService {
|
2847
|
+
constructor(httpClient, hostEnv) {
|
2848
|
+
super(httpClient);
|
2849
|
+
this.httpClient = httpClient;
|
2850
|
+
this.hostEnv = hostEnv;
|
2851
|
+
this.rotaListar = 'hcm/api/v1/TipoInss/listar';
|
2852
|
+
this.rotaExisteID = 'hcm/api/v1/TipoInss/existeid';
|
2853
|
+
this.rotaSelecionar = 'hcm/api/v1/TipoInss/selecionar';
|
2854
|
+
}
|
2855
|
+
Listar() {
|
2856
|
+
return this.getAll(this.hostEnv.apiUrlHcm, this.rotaListar);
|
2857
|
+
}
|
2858
|
+
ExisteID(idtipoinss) {
|
2859
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaExisteID}/${idtipoinss}`);
|
2860
|
+
}
|
2861
|
+
Selecionar(idtipoinss) {
|
2862
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idtipoinss}`);
|
2863
|
+
}
|
2864
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoInssService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
2865
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoInssService, providedIn: 'root' }); }
|
2866
|
+
}
|
2867
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoInssService, decorators: [{
|
2868
|
+
type: Injectable,
|
2869
|
+
args: [{
|
2870
|
+
providedIn: 'root'
|
2871
|
+
}]
|
2872
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
2873
|
+
type: Inject,
|
2874
|
+
args: ['hostEnv']
|
2875
|
+
}] }] });
|
2876
|
+
|
2877
|
+
class TipoEntidadeHcmService extends BaseApiService {
|
2878
|
+
constructor(httpClient, hostEnv) {
|
2879
|
+
super(httpClient);
|
2880
|
+
this.httpClient = httpClient;
|
2881
|
+
this.hostEnv = hostEnv;
|
2882
|
+
this.rotaListar = 'hcm/api/v1/TipoEntidadeHcm/listar';
|
2883
|
+
this.rotaExisteID = 'hcm/api/v1/TipoEntidadeHcm/existeid';
|
2884
|
+
this.rotaSelecionar = 'hcm/api/v1/TipoEntidadeHcm/selecionar';
|
2885
|
+
}
|
2886
|
+
Listar() {
|
2887
|
+
return this.getAll(this.hostEnv.apiUrlHcm, this.rotaListar);
|
2888
|
+
}
|
2889
|
+
ExisteID(idtipoentidadehcm) {
|
2890
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaExisteID}/${idtipoentidadehcm}`);
|
2891
|
+
}
|
2892
|
+
Selecionar(idtipoentidadehcm) {
|
2893
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idtipoentidadehcm}`);
|
2894
|
+
}
|
2895
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoEntidadeHcmService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
2896
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoEntidadeHcmService, providedIn: 'root' }); }
|
2897
|
+
}
|
2898
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoEntidadeHcmService, decorators: [{
|
2899
|
+
type: Injectable,
|
2900
|
+
args: [{
|
2901
|
+
providedIn: 'root'
|
2902
|
+
}]
|
2903
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
2904
|
+
type: Inject,
|
2905
|
+
args: ['hostEnv']
|
2906
|
+
}] }] });
|
2907
|
+
|
2908
|
+
class TipoDadosPessoaService extends BaseApiService {
|
2909
|
+
constructor(httpClient, hostEnv) {
|
2910
|
+
super(httpClient);
|
2911
|
+
this.httpClient = httpClient;
|
2912
|
+
this.hostEnv = hostEnv;
|
2913
|
+
this.rotaListar = 'hcm/api/v1/TipoDadosPessoa/listar';
|
2914
|
+
this.rotaExisteID = 'hcm/api/v1/TipoDadosPessoa/existeid';
|
2915
|
+
this.rotaSelecionar = 'hcm/api/v1/TipoDadosPessoa/selecionar';
|
2916
|
+
}
|
2917
|
+
Listar() {
|
2918
|
+
return this.getAll(this.hostEnv.apiUrlHcm, this.rotaListar);
|
2919
|
+
}
|
2920
|
+
ExisteID(idtipodadospessoa) {
|
2921
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaExisteID}/${idtipodadospessoa}`);
|
2922
|
+
}
|
2923
|
+
Selecionar(idtipodadospessoa) {
|
2924
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idtipodadospessoa}`);
|
2925
|
+
}
|
2926
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoDadosPessoaService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
2927
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoDadosPessoaService, providedIn: 'root' }); }
|
2928
|
+
}
|
2929
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TipoDadosPessoaService, decorators: [{
|
2930
|
+
type: Injectable,
|
2931
|
+
args: [{
|
2932
|
+
providedIn: 'root'
|
2933
|
+
}]
|
2934
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
2935
|
+
type: Inject,
|
2936
|
+
args: ['hostEnv']
|
2937
|
+
}] }] });
|
2938
|
+
|
2939
|
+
class CamposObrigatoriosCadastroServico extends BaseApiService {
|
2940
|
+
constructor(httpClient, hostEnv) {
|
2941
|
+
super(httpClient);
|
2942
|
+
this.httpClient = httpClient;
|
2943
|
+
this.hostEnv = hostEnv;
|
2944
|
+
this.rotaExisteID = 'hcm/api/v1/CamposObrigatoriosCadastro/ExisteID';
|
2945
|
+
this.rotaSelecionar = 'hcm/api/v1/CamposObrigatoriosCadastro/Selecionar';
|
2946
|
+
this.rotaListarTodos = 'hcm/api/v1/CamposObrigatoriosCadastro/Listar';
|
2947
|
+
}
|
2948
|
+
ExisteID(idcamposobrigatorioscadastro) {
|
2949
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaExisteID}/${idcamposobrigatorioscadastro}`);
|
2950
|
+
}
|
2951
|
+
Listar() {
|
2952
|
+
return this.getAll(this.hostEnv.apiUrlHcm, this.rotaListarTodos);
|
2953
|
+
}
|
2954
|
+
Selecionar(idcamposobrigatorioscadastro) {
|
2955
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idcamposobrigatorioscadastro}`);
|
2956
|
+
}
|
2957
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CamposObrigatoriosCadastroServico, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
2958
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CamposObrigatoriosCadastroServico, providedIn: 'root' }); }
|
2959
|
+
}
|
2960
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: CamposObrigatoriosCadastroServico, decorators: [{
|
2961
|
+
type: Injectable,
|
2962
|
+
args: [{
|
2963
|
+
providedIn: 'root'
|
2964
|
+
}]
|
2965
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
2966
|
+
type: Inject,
|
2967
|
+
args: ['hostEnv']
|
2968
|
+
}] }] });
|
2969
|
+
|
2321
2970
|
/*
|
2322
2971
|
* Public API Surface of keevo-api-services-hcm
|
2323
2972
|
*/
|
@@ -2329,5 +2978,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
2329
2978
|
* Generated bundle index. Do not edit.
|
2330
2979
|
*/
|
2331
2980
|
|
2332
|
-
export { AnalistaPessoaService, CargoService, CategoriaHabilitacaoCnhService, CategoriaOcorrenciaEstadoService, CategoriaTrabalhadorService, CategoriaTrabalhadorTiposAfastamentoService, CboService, CentroCustoService, CentroResultadoService, CodigoDirfService, CodigoGpsService, CodigoTerceiroService, ColaboradorService, CondicaoIngressoTrabalhadorImigranteService, ConsiderarMesesSemTrabalharPorAfastamentoService, ContribuicaoPatrimonialService, CooperativaService, DadosConfiguracoesService, DepartamentoService, EmpresaBannerService, EmpresaParametrosService, EmpresaService, EquipeMembroService, EquipeService, FpasService, HierarquiaOrganizacionalService, IndicativoAdmissaoService, IndicativoLotacaoService, KeexService, LiderService, MotivoDesligamentoDiretorNaoEmpregadoService, NivelRiscoService, OnusCessaoService, OnusRemuneracaoService, RegimeJornadaService, RegistroService, RegistroSituacaoService, RelacaoDependenciaPlanoSaudeService, RelacionamentoLotacaoService, SefipOcorrenciaService, StatusMovimentoEstadoService, SubTipoOcorrenciaService, TempoResidenciaTrabalhadorImigranteService, TipoAcidenteTransitoService, TipoAcordoConvencaoService, TipoAdmissaoCagedService, TipoAdmissaoESocialService, TipoAdmissaoService, TipoApuracaoMediaService, TipoCaepfService, TipoCalculoService, TipoContratacaoService, TipoContratoTrabalhoService, TipoDependenciaIrrfService, TipoEstadoService, TipoFolhaService, TipoOcorrenciaService, TipoPagamentoSalarioService, TipoSalarioService, TomadorService, UnidadeAdministrativaService, UnidadehierarquicaService, ValidatorsService };
|
2981
|
+
export { AnalistaPessoaService, CamposObrigatoriosCadastroServico, CargoService, CategoriaHabilitacaoCnhService, CategoriaOcorrenciaEstadoService, CategoriaTrabalhadorService, CategoriaTrabalhadorTiposAfastamentoService, CboService, CentroCustoService, CentroResultadoService, CodigoDirfService, CodigoGpsService, CodigoTerceiroService, ColaboradorService, CondicaoIngressoTrabalhadorImigranteService, ConsiderarMesesSemTrabalharPorAfastamentoService, ContribuicaoPatrimonialService, CooperativaService, DadosConfiguracoesService, DepartamentoService, EmpresaBannerService, EmpresaParametrosService, EmpresaService, EquipeMembroService, EquipeService, FpasService, HierarquiaOrganizacionalService, IndicativoAdmissaoService, IndicativoLotacaoService, KeexService, LiderService, MotivoDesligamentoDiretorNaoEmpregadoService, NivelRiscoService, OnusCessaoService, OnusRemuneracaoService, RegimeJornadaService, RegistroService, RegistroSituacaoService, RelacaoDependenciaPlanoSaudeService, RelacionamentoLotacaoService, SefipOcorrenciaService, StatusMovimentoEstadoService, SubTipoOcorrenciaService, TempoResidenciaTrabalhadorImigranteService, TipoAcidenteTransitoService, TipoAcordoConvencaoService, TipoAdmissaoCagedService, TipoAdmissaoESocialService, TipoAdmissaoService, TipoApuracaoMediaService, TipoCaepfService, TipoCalculoService, TipoContratacaoService, TipoContratoTrabalhoService, TipoDadosPessoaService, TipoDependenciaIrrfService, TipoDiaTrabalhadoService, TipoEntidadeHcmService, TipoEstadoService, TipoFolhaService, TipoFuncionarioService, TipoInssService, TipoJornadaService, TipoLotacaoService, TipoMotivoSalarioFamiliaService, TipoOcorrenciaService, TipoPagamentoSalarioService, TipoRegimePrevidenciarioService, TipoRegimeTrabalhistaService, TipoReintegracaoService, TipoSalarioService, TipoSindicatoService, TipoTomadorService, TipoTransporteService, TipoVinculoEmpregaticioService, TomadorService, TreinamentoService, UnidadeAdministrativaService, UnidadehierarquicaService, ValidatorsService };
|
2333
2982
|
//# sourceMappingURL=keevo-api-services-hcm.mjs.map
|