keevo-api-services-hcm 0.0.10 → 0.0.11
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/README.md +24 -24
- package/esm2022/keevo-api-services-hcm.mjs +5 -0
- package/esm2022/lib/models/dominio/CodigoDirf.model.mjs +2 -0
- package/esm2022/lib/models/dominio/CodigoGps.model.mjs +2 -0
- package/esm2022/lib/models/dominio/categoriaocorrenciaestado.model.mjs +18 -0
- package/esm2022/lib/models/dominio/categoriatrabalhadortiposafastamento.model.mjs +2 -0
- package/esm2022/lib/models/dominio/cbo.model.mjs +2 -0
- package/esm2022/lib/models/dominio/codigoterceiro.model.mjs +2 -0
- package/esm2022/lib/models/dominio/considerarmesessemtrabalharporafastamento.model.mjs +2 -0
- package/esm2022/lib/models/dominio/cooperativa.model.mjs +2 -0
- package/esm2022/lib/models/dominio/fpas.model.mjs +2 -0
- package/esm2022/lib/models/dominio/tipopagamentosalario.model.mjs +2 -0
- package/esm2022/lib/models/dominio/tiposalario.model.mjs +2 -0
- package/esm2022/lib/models/filtro/filtroaniversariante.model.mjs +2 -0
- package/esm2022/lib/models/filtro/filtrocpfcnpj.mjs +2 -0
- package/esm2022/lib/models/filtro/filtrolistaanalistas.model.mjs +2 -0
- package/esm2022/lib/models/filtro/filtrolistacolaboradores.mjs +2 -0
- package/esm2022/lib/models/filtro/filtrolistahcm.model.mjs +2 -0
- package/esm2022/lib/models/filtro/filtrolistalider.model.mjs +2 -0
- package/esm2022/lib/models/filtro/filtrolistalidersubstituto.model.mjs +2 -0
- package/esm2022/lib/models/filtro/filtrolistaregistro.model.mjs +2 -0
- package/esm2022/lib/models/filtro/filtrolistarelacionamentolotacao.model.mjs +2 -0
- package/esm2022/lib/models/filtro/filtrolistausuario.model.mjs +2 -0
- package/esm2022/lib/models/hcm/cargo/cargoresumo.model.mjs +2 -0
- package/esm2022/lib/models/hcm/centrocusto/centrocusto.model.mjs +2 -0
- package/esm2022/lib/models/hcm/centroresultado/centroresultado.model.mjs +2 -0
- package/esm2022/lib/models/hcm/departamento/departamentoresumo.model.mjs +2 -0
- package/esm2022/lib/models/hcm/equipe/equipe.model.mjs +2 -0
- package/esm2022/lib/models/hcm/equipe/equipemembro.model.mjs +2 -0
- package/esm2022/lib/models/hcm/equipe/equipemembroresumo.model.mjs +2 -0
- package/esm2022/lib/models/hcm/equipe/equiperesumo.model.mjs +2 -0
- package/esm2022/lib/models/hcm/hierarquiaorganizacional/hierarquiaorganizacional.model.mjs +2 -0
- package/esm2022/lib/models/hcm/hierarquiaorganizacional/hierarquiaorganizacionalassociacaomodel.model.mjs +2 -0
- package/esm2022/lib/models/hcm/relacionamentolotacao/relacionamentolotacao.model.mjs +2 -0
- package/esm2022/lib/models/hcm/subtipoocorrencia/subtipoocorrencias.model.mjs +2 -0
- package/esm2022/lib/models/hcm/tipoestado/tipoestado.model.mjs +2 -0
- package/esm2022/lib/models/hcm/tipoestado/tipoestadoresumo.model.mjs +2 -0
- package/esm2022/lib/models/hcm/tipoocorrencia/tipoocorrencia.model.mjs +2 -0
- package/esm2022/lib/models/hcm/unidadeadministrativa/unidadeadministrativaresumo.model.mjs +2 -0
- package/esm2022/lib/models/hcm/unidadehierarquica/unidadehierarquica.model.mjs +2 -0
- package/esm2022/lib/models/hcm/unidadehierarquica/unidadehierarquicaresumo.model.mjs +2 -0
- package/esm2022/lib/models/passaporte/empresa/empresa.model.mjs +2 -0
- package/esm2022/lib/models/passaporte/empresa/empresabanner.model.mjs +2 -0
- package/esm2022/lib/models/passaporte/empresa/empresaparametros.model.mjs +2 -0
- 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 +2 -0
- package/esm2022/lib/models/pessoa/analista/possivelanalistapessoa.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/colaborador/colaborador.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/colaborador/periodovigencia.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/lider/lider.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/lider/liderresumo.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/lider/lidersubstituto.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/lider/periododevigencia.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/lider/pessoapossivellider.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/pessoa/atualizaflag.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/pessoa/atualizaflagpessoa.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/pessoa/pessoafoto.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/pessoa/pessoaperfil.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/registro/registro.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/registro/registroafastamento.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/registro/registroafastamentorelacionado.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/registro/registrocargo.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/registro/registrocentrocusto.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/registro/registrocentroresultado.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/registro/registrodadosbancarios.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/registro/registrodepartamento.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/registro/registrodepartamentoorganizacional.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/registro/registrodependente.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/registro/registroempresa.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/registro/registrofotomodel.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/registro/registrolotacao.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/registro/registroobservacaocontratotrabalho.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/registro/registrooperadoraplanosaude.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/registro/registropesquisa.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/registro/registroquadrohorario.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/registro/registroresumo.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/registro/registrosalario.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/registro/registrosefipocorrencia.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/registro/registrosindicato.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/registro/registrotomador.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/registro/registrotrabalhadorsubstituido.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/registro/registrotreinamento.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/registro/registrounidadeadministrativa.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/registro/registrovinculacaoexterna.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/registro/usuariopessoaresumo.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/tomador/tomadorresumo.model.mjs +2 -0
- package/esm2022/lib/services/dominio/categoria-ocorrencia-estado.service.mjs +39 -0
- package/esm2022/lib/services/dominio/categoria-trabalhador-tipos-afastamento.service.mjs +27 -0
- package/esm2022/lib/services/dominio/categoria-trabalhador.service.mjs +36 -0
- package/esm2022/lib/services/dominio/cbo.service.mjs +35 -0
- package/esm2022/lib/services/dominio/codigo-dirf.service.mjs +36 -0
- package/esm2022/lib/services/dominio/codigo-gps.service.mjs +35 -0
- package/esm2022/lib/services/dominio/codigo-terceiro.service.mjs +35 -0
- package/esm2022/lib/services/dominio/considerar-meses-sem-trabalhar-por-afastamento.service.mjs +35 -0
- package/esm2022/lib/services/dominio/contribuicao-patronal.service.mjs +35 -0
- package/esm2022/lib/services/dominio/cooperativa.service.mjs +35 -0
- package/esm2022/lib/services/dominio/fpas.service.mjs +35 -0
- package/esm2022/lib/services/dominio/tipo-pagamento-salario.service.mjs +35 -0
- package/esm2022/lib/services/dominio/tipo-salario.service.mjs +35 -0
- package/esm2022/lib/services/hcm/cargo.service.mjs +28 -0
- package/esm2022/lib/services/hcm/centro-custo.service.mjs +36 -0
- package/esm2022/lib/services/hcm/centro-resultado.service.mjs +32 -0
- package/esm2022/lib/services/hcm/departamento.service.mjs +32 -0
- package/esm2022/lib/services/hcm/equipe-membro.service.mjs +52 -0
- package/esm2022/lib/services/hcm/equipe.service.mjs +44 -0
- package/esm2022/lib/services/hcm/hierarquiaorganizacional.service.mjs +59 -0
- package/esm2022/lib/services/hcm/relacionamento-lotacao.service.mjs +52 -0
- package/esm2022/lib/services/hcm/sub-tipo-ocorrencia.service.mjs +32 -0
- package/esm2022/lib/services/hcm/tipo-estado.service.mjs +40 -0
- package/esm2022/lib/services/hcm/tipo-ocorrencia.service.mjs +40 -0
- package/esm2022/lib/services/hcm/unidade-administrativa.service.mjs +32 -0
- package/esm2022/lib/services/hcm/unidade-hierarquica.service.mjs +60 -0
- package/esm2022/lib/services/passaporte/empresa-banner.service.mjs +31 -0
- package/esm2022/lib/services/passaporte/empresa-parametros.service.mjs +35 -0
- package/esm2022/lib/services/passaporte/empresa.service.mjs +31 -0
- package/esm2022/lib/services/pessoa/analista-pessoa.service.mjs +44 -0
- package/esm2022/lib/services/pessoa/colaborador.service.mjs +68 -0
- package/esm2022/lib/services/pessoa/keex.service.mjs +48 -0
- package/esm2022/lib/services/pessoa/lider.service.mjs +79 -0
- package/esm2022/lib/services/pessoa/registro.service.mjs +75 -0
- package/esm2022/lib/services/pessoa/tomador.service.mjs +32 -0
- package/esm2022/lib/services/utilitarios/dadosrelacionamento.service.mjs +29 -0
- package/esm2022/lib/services/utilitarios/validators.service.mjs +166 -0
- package/esm2022/public-api.mjs +121 -0
- package/fesm2022/keevo-api-services-hcm.mjs +1486 -0
- package/fesm2022/keevo-api-services-hcm.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/models/dominio/CodigoDirf.model.d.ts +5 -0
- package/lib/models/dominio/CodigoGps.model.d.ts +6 -0
- package/lib/models/dominio/categoriaocorrenciaestado.model.d.ts +24 -0
- package/lib/models/dominio/categoriatrabalhadortiposafastamento.model.d.ts +7 -0
- package/lib/models/dominio/cbo.model.d.ts +5 -0
- package/{src/lib/models/hcm/codigoterceiro/codigoterceiro.model.ts → lib/models/dominio/codigoterceiro.model.d.ts} +1 -1
- package/lib/models/dominio/considerarmesessemtrabalharporafastamento.model.d.ts +5 -0
- package/lib/models/dominio/cooperativa.model.d.ts +4 -0
- package/{src/lib/models/hcm/fpas/fpas.model.ts → lib/models/dominio/fpas.model.d.ts} +1 -1
- package/lib/models/dominio/tipopagamentosalario.model.d.ts +5 -0
- package/lib/models/dominio/tiposalario.model.d.ts +5 -0
- package/lib/models/filtro/filtroaniversariante.model.d.ts +11 -0
- package/lib/models/filtro/filtrocpfcnpj.d.ts +7 -0
- package/{src/lib/models/filtro/filtrolistaanalistas.model.ts → lib/models/filtro/filtrolistaanalistas.model.d.ts} +1 -2
- package/{src/lib/models/filtro/filtrolistacolaboradores.ts → lib/models/filtro/filtrolistacolaboradores.d.ts} +1 -2
- package/lib/models/filtro/filtrolistahcm.model.d.ts +8 -0
- package/{src/lib/models/filtro/filtrolistalider.model.ts → lib/models/filtro/filtrolistalider.model.d.ts} +1 -2
- package/lib/models/filtro/filtrolistalidersubstituto.model.d.ts +7 -0
- package/lib/models/filtro/filtrolistaregistro.model.d.ts +8 -0
- package/{src/lib/models/filtro/filtrolistarelacionamentolotacao.model.ts → lib/models/filtro/filtrolistarelacionamentolotacao.model.d.ts} +1 -2
- package/lib/models/filtro/filtrolistausuario.model.d.ts +10 -0
- package/lib/models/hcm/cargo/cargoresumo.model.d.ts +12 -0
- package/{src/lib/models/hcm/centrocusto/centrocusto.model.ts → lib/models/hcm/centrocusto/centrocusto.model.d.ts} +1 -1
- package/{src/lib/models/hcm/centroresultado/centroresultado.model.ts → lib/models/hcm/centroresultado/centroresultado.model.d.ts} +1 -1
- package/lib/models/hcm/departamento/departamentoresumo.model.d.ts +6 -0
- package/lib/models/hcm/equipe/equipe.model.d.ts +10 -0
- package/lib/models/hcm/equipe/equipemembro.model.d.ts +7 -0
- package/lib/models/hcm/equipe/equipemembroresumo.model.d.ts +15 -0
- package/lib/models/hcm/equipe/equiperesumo.model.d.ts +32 -0
- package/lib/models/hcm/hierarquiaorganizacional/hierarquiaorganizacional.model.d.ts +13 -0
- package/{src/lib/models/hcm/hierarquiaorganizacional/hierarquiaorganizacionalassociacaomodel.model.ts → lib/models/hcm/hierarquiaorganizacional/hierarquiaorganizacionalassociacaomodel.model.d.ts} +1 -1
- package/lib/models/hcm/relacionamentolotacao/relacionamentolotacao.model.d.ts +24 -0
- package/{src/lib/models/hcm/subtipoocorrencia/subtipoocorrencias.model.ts → lib/models/hcm/subtipoocorrencia/subtipoocorrencias.model.d.ts} +1 -1
- package/{src/lib/models/hcm/tipoestado/tipoestado.model.ts → lib/models/hcm/tipoestado/tipoestado.model.d.ts} +1 -1
- package/{src/lib/models/hcm/tipoestado/tipoestadoresumo.model.ts → lib/models/hcm/tipoestado/tipoestadoresumo.model.d.ts} +1 -1
- package/{src/lib/models/hcm/unidadeadministrativa/unidadeadministrativaresumo.model.ts → lib/models/hcm/unidadeadministrativa/unidadeadministrativaresumo.model.d.ts} +1 -1
- package/lib/models/hcm/unidadehierarquica/unidadehierarquica.model.d.ts +10 -0
- package/lib/models/hcm/unidadehierarquica/unidadehierarquicaresumo.model.d.ts +32 -0
- package/{src/lib/models/passaporte/empresa/empresa.model.ts → lib/models/passaporte/empresa/empresa.model.d.ts} +1 -1
- package/{src/lib/models/passaporte/empresa/empresabanner.model.ts → lib/models/passaporte/empresa/empresabanner.model.d.ts} +1 -1
- package/{src/lib/models/passaporte/empresa/empresaparametros.model.ts → lib/models/passaporte/empresa/empresaparametros.model.d.ts} +0 -1
- package/{src/lib/models/passaporte/master/master-combo-model.ts → lib/models/passaporte/master/master-combo-model.d.ts} +1 -1
- package/{src/lib/models/passaporte/master/master-model.ts → lib/models/passaporte/master/master-model.d.ts} +1 -2
- package/{src/lib/models/passaporte/master/master-servidor.ts → lib/models/passaporte/master/master-servidor.d.ts} +1 -1
- package/{src/lib/models/pessoa/analista/analistapessoa.model.ts → lib/models/pessoa/analista/analistapessoa.model.d.ts} +2 -3
- package/lib/models/pessoa/analista/possivelanalistapessoa.model.d.ts +12 -0
- package/lib/models/pessoa/colaborador/colaborador.model.d.ts +28 -0
- package/{src/lib/models/pessoa/colaborador/periodovigencia.model.ts → lib/models/pessoa/colaborador/periodovigencia.model.d.ts} +2 -3
- package/lib/models/pessoa/lider/lider.model.d.ts +35 -0
- package/lib/models/pessoa/lider/liderresumo.model.d.ts +22 -0
- package/lib/models/pessoa/lider/lidersubstituto.model.d.ts +11 -0
- package/lib/models/pessoa/lider/periododevigencia.model.d.ts +4 -0
- package/lib/models/pessoa/lider/pessoapossivellider.model.d.ts +13 -0
- package/lib/models/pessoa/pessoa/atualizaflag.model.d.ts +6 -0
- package/lib/models/pessoa/pessoa/pessoafoto.model.d.ts +8 -0
- package/lib/models/pessoa/pessoa/pessoaperfil.model.d.ts +20 -0
- package/lib/models/pessoa/registro/registro.model.d.ts +209 -0
- package/{src/lib/models/pessoa/registro/registroafastamento.model.ts → lib/models/pessoa/registro/registroafastamento.model.d.ts} +1 -2
- package/{src/lib/models/pessoa/registro/registroafastamentorelacionado.model.ts → lib/models/pessoa/registro/registroafastamentorelacionado.model.d.ts} +1 -1
- package/{src/lib/models/pessoa/registro/registrocargo.model.ts → lib/models/pessoa/registro/registrocargo.model.d.ts} +1 -1
- package/{src/lib/models/pessoa/registro/registrocentrocusto.model.ts → lib/models/pessoa/registro/registrocentrocusto.model.d.ts} +1 -1
- package/{src/lib/models/pessoa/registro/registrocentroresultado.model.ts → lib/models/pessoa/registro/registrocentroresultado.model.d.ts} +1 -1
- package/{src/lib/models/pessoa/registro/registrodepartamento.model.ts → lib/models/pessoa/registro/registrodepartamento.model.d.ts} +1 -1
- package/{src/lib/models/pessoa/registro/registrodepartamentoorganizacional.model.ts → lib/models/pessoa/registro/registrodepartamentoorganizacional.model.d.ts} +1 -1
- package/{src/lib/models/pessoa/registro/registrodependente.model.ts → lib/models/pessoa/registro/registrodependente.model.d.ts} +1 -1
- package/{src/lib/models/pessoa/registro/registroempresa.model.ts → lib/models/pessoa/registro/registroempresa.model.d.ts} +1 -1
- package/lib/models/pessoa/registro/registrofotomodel.model.d.ts +6 -0
- package/{src/lib/models/pessoa/registro/registrolotacao.model.ts → lib/models/pessoa/registro/registrolotacao.model.d.ts} +1 -1
- package/{src/lib/models/pessoa/registro/registroobservacaocontratotrabalho.model.ts → lib/models/pessoa/registro/registroobservacaocontratotrabalho.model.d.ts} +1 -1
- package/{src/lib/models/pessoa/registro/registrooperadoraplanosaude.model.ts → lib/models/pessoa/registro/registrooperadoraplanosaude.model.d.ts} +1 -1
- package/lib/models/pessoa/registro/registropesquisa.model.d.ts +9 -0
- package/{src/lib/models/pessoa/registro/registroquadrohorario.model.ts → lib/models/pessoa/registro/registroquadrohorario.model.d.ts} +1 -1
- package/{src/lib/models/pessoa/registro/registroresumo.model.ts → lib/models/pessoa/registro/registroresumo.model.d.ts} +1 -1
- package/{src/lib/models/pessoa/registro/registrosalario.model.ts → lib/models/pessoa/registro/registrosalario.model.d.ts} +1 -1
- package/{src/lib/models/pessoa/registro/registrosefipocorrencia.model.ts → lib/models/pessoa/registro/registrosefipocorrencia.model.d.ts} +1 -1
- package/{src/lib/models/pessoa/registro/registrosindicato.model.ts → lib/models/pessoa/registro/registrosindicato.model.d.ts} +1 -1
- package/{src/lib/models/pessoa/registro/registrotomador.model.ts → lib/models/pessoa/registro/registrotomador.model.d.ts} +1 -1
- package/{src/lib/models/pessoa/registro/registrotrabalhadorsubstituido.model.ts → lib/models/pessoa/registro/registrotrabalhadorsubstituido.model.d.ts} +1 -1
- package/{src/lib/models/pessoa/registro/registrotreinamento.model.ts → lib/models/pessoa/registro/registrotreinamento.model.d.ts} +1 -1
- package/{src/lib/models/pessoa/registro/registrounidadeadministrativa.model.ts → lib/models/pessoa/registro/registrounidadeadministrativa.model.d.ts} +1 -1
- package/{src/lib/models/pessoa/registro/registrovinculacaoexterna.model.ts → lib/models/pessoa/registro/registrovinculacaoexterna.model.d.ts} +1 -1
- package/{src/lib/models/pessoa/registro/usuariopessoaresumo.model.ts → lib/models/pessoa/registro/usuariopessoaresumo.model.d.ts} +0 -2
- package/{src/lib/models/pessoa/tomador/tomadorresumo.model.ts → lib/models/pessoa/tomador/tomadorresumo.model.d.ts} +1 -1
- package/lib/services/dominio/categoria-ocorrencia-estado.service.d.ts +20 -0
- package/lib/services/dominio/categoria-trabalhador-tipos-afastamento.service.d.ts +14 -0
- package/lib/services/dominio/categoria-trabalhador.service.d.ts +19 -0
- package/lib/services/dominio/cbo.service.d.ts +18 -0
- package/lib/services/dominio/codigo-dirf.service.d.ts +19 -0
- package/lib/services/dominio/codigo-gps.service.d.ts +18 -0
- package/lib/services/dominio/codigo-terceiro.service.d.ts +18 -0
- package/lib/services/dominio/considerar-meses-sem-trabalhar-por-afastamento.service.d.ts +18 -0
- package/lib/services/dominio/contribuicao-patronal.service.d.ts +18 -0
- package/lib/services/dominio/cooperativa.service.d.ts +18 -0
- package/lib/services/dominio/fpas.service.d.ts +18 -0
- package/lib/services/dominio/tipo-pagamento-salario.service.d.ts +18 -0
- package/lib/services/dominio/tipo-salario.service.d.ts +18 -0
- package/lib/services/hcm/cargo.service.d.ts +15 -0
- package/lib/services/hcm/centro-custo.service.d.ts +19 -0
- package/lib/services/hcm/centro-resultado.service.d.ts +17 -0
- package/lib/services/hcm/departamento.service.d.ts +17 -0
- package/lib/services/hcm/equipe-membro.service.d.ts +31 -0
- package/lib/services/hcm/equipe.service.d.ts +26 -0
- package/lib/services/hcm/hierarquiaorganizacional.service.d.ts +32 -0
- package/lib/services/hcm/relacionamento-lotacao.service.d.ts +27 -0
- package/lib/services/hcm/sub-tipo-ocorrencia.service.d.ts +17 -0
- package/lib/services/hcm/tipo-estado.service.d.ts +22 -0
- package/lib/services/hcm/tipo-ocorrencia.service.d.ts +21 -0
- package/lib/services/hcm/unidade-administrativa.service.d.ts +17 -0
- package/lib/services/hcm/unidade-hierarquica.service.d.ts +32 -0
- package/lib/services/passaporte/empresa-banner.service.d.ts +16 -0
- package/lib/services/passaporte/empresa-parametros.service.d.ts +18 -0
- package/lib/services/passaporte/empresa.service.d.ts +16 -0
- package/lib/services/pessoa/analista-pessoa.service.d.ts +24 -0
- package/lib/services/pessoa/colaborador.service.d.ts +36 -0
- package/lib/services/pessoa/keex.service.d.ts +27 -0
- package/lib/services/pessoa/lider.service.d.ts +44 -0
- package/lib/services/pessoa/registro.service.d.ts +44 -0
- package/lib/services/pessoa/tomador.service.d.ts +17 -0
- package/lib/services/utilitarios/dadosrelacionamento.service.d.ts +11 -0
- package/lib/services/utilitarios/validators.service.d.ts +23 -0
- package/package.json +16 -3
- package/{src/public-api.ts → public-api.d.ts} +17 -11
- package/ng-package.json +0 -7
- package/src/index.ts +0 -1
- package/src/lib/models/filtro/filtroaniversariante.model.ts +0 -12
- package/src/lib/models/filtro/filtrocpfcnpj.ts +0 -7
- package/src/lib/models/filtro/filtrolistacontato.model.ts +0 -14
- package/src/lib/models/filtro/filtrolistahcm.model.ts +0 -9
- package/src/lib/models/filtro/filtrolistalidersubstituto.model.ts +0 -7
- package/src/lib/models/filtro/filtrolistaregistro.model.ts +0 -9
- package/src/lib/models/filtro/filtrolistausuario.model.ts +0 -10
- package/src/lib/models/hcm/cargo/cargoresumo.model.ts +0 -12
- package/src/lib/models/hcm/departamento/departamentoresumo.model.ts +0 -6
- package/src/lib/models/hcm/equipe/equipe.model.ts +0 -11
- package/src/lib/models/hcm/equipe/equipemembro.model.ts +0 -7
- package/src/lib/models/hcm/equipe/equipemembroresumo.model.ts +0 -15
- package/src/lib/models/hcm/equipe/equiperesumo.model.ts +0 -33
- package/src/lib/models/hcm/hierarquiaorganizacional/hierarquiaorganizacional.model.ts +0 -13
- package/src/lib/models/hcm/relacionamentolotacao/relacionamentolotacao.model.ts +0 -57
- package/src/lib/models/hcm/unidadehierarquica/unidadehierarquica.model.ts +0 -10
- package/src/lib/models/hcm/unidadehierarquica/unidadehierarquicaresumo.model.ts +0 -32
- package/src/lib/models/pessoa/analista/possivelanalistapessoa.model.ts +0 -12
- package/src/lib/models/pessoa/colaborador/colaborador.model.ts +0 -34
- package/src/lib/models/pessoa/lider/lider.model.ts +0 -36
- package/src/lib/models/pessoa/lider/liderresumo.model.ts +0 -23
- package/src/lib/models/pessoa/lider/lidersubstituto.model.ts +0 -11
- package/src/lib/models/pessoa/lider/periododevigencia.model.ts +0 -4
- package/src/lib/models/pessoa/lider/pessoapossivellider.model.ts +0 -13
- package/src/lib/models/pessoa/pessoa/atualizaflag.model.ts +0 -6
- package/src/lib/models/pessoa/pessoa/pessoafoto.model.ts +0 -8
- package/src/lib/models/pessoa/pessoa/pessoaperfil.model.ts +0 -20
- package/src/lib/models/pessoa/registro/registro.model.ts +0 -210
- package/src/lib/models/pessoa/registro/registrofotomodel.model.ts +0 -6
- package/src/lib/models/pessoa/registro/registropesquisa.model.ts +0 -9
- package/src/lib/models/utilitarios/periodo.interface.ts +0 -5
- package/src/lib/services/hcm/cargo.service.ts +0 -34
- package/src/lib/services/hcm/centro-custo.service.ts +0 -44
- package/src/lib/services/hcm/centro-resultado.service.ts +0 -39
- package/src/lib/services/hcm/codigo-terceiro.service.ts +0 -43
- package/src/lib/services/hcm/departamento.service.ts +0 -39
- package/src/lib/services/hcm/equipe-membro.service.ts +0 -68
- package/src/lib/services/hcm/equipe.service.ts +0 -57
- package/src/lib/services/hcm/fpas.service.ts +0 -43
- package/src/lib/services/hcm/hierarquiaorganizacional.service.ts +0 -66
- package/src/lib/services/hcm/relacionamento-lotacao.service.ts +0 -64
- package/src/lib/services/hcm/sub-tipo-ocorrencia.service.ts +0 -39
- package/src/lib/services/hcm/tipo-estado.service.ts +0 -51
- package/src/lib/services/hcm/tipo-ocorrencia.service.ts +0 -49
- package/src/lib/services/hcm/unidade-administrativa.service.ts +0 -39
- package/src/lib/services/hcm/unidade-hierarquica.service.ts +0 -76
- package/src/lib/services/passaporte/empresa-banner.service.ts +0 -35
- package/src/lib/services/passaporte/empresa-parametros.service.ts +0 -40
- package/src/lib/services/passaporte/empresa.service.ts +0 -35
- package/src/lib/services/pessoa/analista-pessoa.service.ts +0 -55
- package/src/lib/services/pessoa/colaborador.service.ts +0 -79
- package/src/lib/services/pessoa/keex.service.ts +0 -62
- package/src/lib/services/pessoa/lider.service.ts +0 -103
- package/src/lib/services/pessoa/registro.service.ts +0 -104
- package/src/lib/services/pessoa/tomador.service.ts +0 -39
- package/src/lib/services/utilitarios/dadosrelacionamento.service.ts +0 -25
- package/src/lib/services/utilitarios/validators.service.ts +0 -202
- package/tsconfig.lib.json +0 -14
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -14
- /package/{src/lib/models/hcm/tipoocorrencia/tipoocorrencia.model.ts → lib/models/hcm/tipoocorrencia/tipoocorrencia.model.d.ts} +0 -0
- /package/{src/lib/models/pessoa/pessoa/atualizaflagpessoa.model.ts → lib/models/pessoa/pessoa/atualizaflagpessoa.model.d.ts} +0 -0
- /package/{src/lib/models/pessoa/registro/registrodadosbancarios.model.ts → lib/models/pessoa/registro/registrodadosbancarios.model.d.ts} +0 -0
@@ -0,0 +1,1486 @@
|
|
1
|
+
import { BaseApiService } from 'keevo-api-services';
|
2
|
+
import * as i1 from '@angular/common/http';
|
3
|
+
import { HttpHeaders } from '@angular/common/http';
|
4
|
+
import * as i0 from '@angular/core';
|
5
|
+
import { Injectable, Inject } from '@angular/core';
|
6
|
+
|
7
|
+
class CargoService extends BaseApiService {
|
8
|
+
constructor(httpClient, hostEnv) {
|
9
|
+
super(httpClient);
|
10
|
+
this.httpClient = httpClient;
|
11
|
+
this.hostEnv = hostEnv;
|
12
|
+
this.rotaListarTodos = 'hcm/api/v1/cargo/listartodos';
|
13
|
+
}
|
14
|
+
Listar(filtro) {
|
15
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListarTodos, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
16
|
+
}
|
17
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", 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.8", ngImport: i0, type: CargoService, providedIn: 'root' }); }
|
19
|
+
}
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: CargoService, decorators: [{
|
21
|
+
type: Injectable,
|
22
|
+
args: [{
|
23
|
+
providedIn: 'root'
|
24
|
+
}]
|
25
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
26
|
+
type: Inject,
|
27
|
+
args: ['hostEnv']
|
28
|
+
}] }] });
|
29
|
+
|
30
|
+
class CentroCustoService extends BaseApiService {
|
31
|
+
constructor(httpClient, hostEnv) {
|
32
|
+
super(httpClient);
|
33
|
+
this.httpClient = httpClient;
|
34
|
+
this.hostEnv = hostEnv;
|
35
|
+
this.rotaListar = 'hcm/api/v1/centrocusto/listar';
|
36
|
+
this.rotaListarTodos = 'hcm/api/v1/centrocusto/listartodos';
|
37
|
+
this.rotaSelecionar = 'hcm/api/v1/centrocusto/selecionar';
|
38
|
+
}
|
39
|
+
Listar(filtro) {
|
40
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListar, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
41
|
+
}
|
42
|
+
ListarTodos(filtro) {
|
43
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListarTodos, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
44
|
+
}
|
45
|
+
Selecionar(idcentrocusto) {
|
46
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idcentrocusto}`);
|
47
|
+
}
|
48
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", 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.8", ngImport: i0, type: CentroCustoService, providedIn: 'root' }); }
|
50
|
+
}
|
51
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: CentroCustoService, decorators: [{
|
52
|
+
type: Injectable,
|
53
|
+
args: [{
|
54
|
+
providedIn: 'root'
|
55
|
+
}]
|
56
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
57
|
+
type: Inject,
|
58
|
+
args: ['hostEnv']
|
59
|
+
}] }] });
|
60
|
+
|
61
|
+
class CentroResultadoService extends BaseApiService {
|
62
|
+
constructor(httpClient, hostEnv) {
|
63
|
+
super(httpClient);
|
64
|
+
this.httpClient = httpClient;
|
65
|
+
this.hostEnv = hostEnv;
|
66
|
+
this.rotaListarTodos = 'hcm/api/v1/centroresultado/listartodos';
|
67
|
+
this.rotaSelecionar = 'hcm/api/v1/centroresultado/selecionar';
|
68
|
+
}
|
69
|
+
ListarTodos(filtro) {
|
70
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListarTodos, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
71
|
+
}
|
72
|
+
Selecionar(idcentroresultado) {
|
73
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idcentroresultado}`);
|
74
|
+
}
|
75
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", 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.8", ngImport: i0, type: CentroResultadoService, providedIn: 'root' }); }
|
77
|
+
}
|
78
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", 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.rotaListar = 'hcm/api/v1/colaborador/Listar';
|
94
|
+
this.rotaListarTodos = 'hcm/api/v1/colaborador/ListarTodos';
|
95
|
+
this.rotaListarColaboradoresPorHierarquiaOrganizacional = 'hcm/api/v1/colaborador/ListarColaboradoresPorHierarquiaOrganizacional';
|
96
|
+
this.rotaListarColaboradoresSecundariosPorHierarquiaOrganizacional = 'hcm/api/v1/colaborador/ListarColaboradoresSecundariosPorHierarquiaOrganizacional';
|
97
|
+
this.rotaListarPossiveisColaboradores = 'hcm/api/v1/colaborador/ListarPossiveisColaboradores';
|
98
|
+
this.rotaSelecionar = 'hcm/api/v1/colaborador/selecionar';
|
99
|
+
this.rotaSelecionarPossivelColaborador = 'hcm/api/v1/colaborador/SelecionarPossivelColaborador';
|
100
|
+
this.rotaSalvar = 'hcm/api/v1/colaborador/salvar';
|
101
|
+
this.rotaSalvarLinha = 'hcm/api/v1/colaborador/salvarlinha';
|
102
|
+
this.rotaAtualizaVinculoHierarquia = 'hcm/api/v1/colaborador/atualizavinculodehierarquia';
|
103
|
+
this.rotaVerificarColaboradorLider = 'hcm/api/v1/colaborador/Verificarcolaboradorlider';
|
104
|
+
}
|
105
|
+
AtualizaVinculoDeHierarquia(colaboradores) {
|
106
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaAtualizaVinculoHierarquia, colaboradores);
|
107
|
+
}
|
108
|
+
Listar(filtro) {
|
109
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaListar, filtro);
|
110
|
+
}
|
111
|
+
ListarTodos(idmaster, idempresaevocenter) {
|
112
|
+
return this.getAll(this.hostEnv.apiUrlHcm, `${this.rotaListarTodos}/${idmaster}/${idempresaevocenter}`);
|
113
|
+
}
|
114
|
+
ListarColaboradoresPorHierarquiaOrganizacional(idhierarquiaorganizacional) {
|
115
|
+
return this.getAll(this.hostEnv.apiUrlHcm, `${this.rotaListarColaboradoresPorHierarquiaOrganizacional}/${idhierarquiaorganizacional}`);
|
116
|
+
}
|
117
|
+
ListarColaboradoresSecundariosPorHierarquiaOrganizacional(idhierarquiaorganizacional) {
|
118
|
+
return this.getAll(this.hostEnv.apiUrlHcm, `${this.rotaListarColaboradoresSecundariosPorHierarquiaOrganizacional}/${idhierarquiaorganizacional}`);
|
119
|
+
}
|
120
|
+
ListarPossiveisColaboradores(model) {
|
121
|
+
return this.getHeaders(this.hostEnv.apiUrlHcm, `${this.rotaListarPossiveisColaboradores}`, new HttpHeaders().set("model", JSON.stringify(model)));
|
122
|
+
}
|
123
|
+
Selecionar(idcolaborador) {
|
124
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idcolaborador}`);
|
125
|
+
}
|
126
|
+
SelecionarPossivelColaborador(filtro) {
|
127
|
+
return this.getHeaders(this.hostEnv.apiUrlHcm, `${this.rotaSelecionarPossivelColaborador}`, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
128
|
+
}
|
129
|
+
Salvar(colaborador) {
|
130
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaSalvar, colaborador);
|
131
|
+
}
|
132
|
+
SalvarLinha(colaborador) {
|
133
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaSalvarLinha, colaborador);
|
134
|
+
}
|
135
|
+
VerificarColaboradorLider(filtro) {
|
136
|
+
return this.getHeaders(this.hostEnv.apiUrlHcm, this.rotaVerificarColaboradorLider, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
137
|
+
}
|
138
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: ColaboradorService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
139
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: ColaboradorService, providedIn: 'root' }); }
|
140
|
+
}
|
141
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: ColaboradorService, decorators: [{
|
142
|
+
type: Injectable,
|
143
|
+
args: [{
|
144
|
+
providedIn: 'root'
|
145
|
+
}]
|
146
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
147
|
+
type: Inject,
|
148
|
+
args: ['hostEnv']
|
149
|
+
}] }] });
|
150
|
+
|
151
|
+
class DepartamentoService extends BaseApiService {
|
152
|
+
constructor(httpClient, hostEnv) {
|
153
|
+
super(httpClient);
|
154
|
+
this.httpClient = httpClient;
|
155
|
+
this.hostEnv = hostEnv;
|
156
|
+
this.rotaListarTodos = 'hcm/api/v1/departamento/listartodos';
|
157
|
+
this.rotaListarSelecionar = 'hcm/api/v1/departamento/selecionar';
|
158
|
+
}
|
159
|
+
ListarTodos(filtro) {
|
160
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListarTodos, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
161
|
+
}
|
162
|
+
Selecionar(iddepartamento) {
|
163
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaListarSelecionar}/${iddepartamento}`);
|
164
|
+
}
|
165
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: DepartamentoService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
166
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: DepartamentoService, providedIn: 'root' }); }
|
167
|
+
}
|
168
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: DepartamentoService, decorators: [{
|
169
|
+
type: Injectable,
|
170
|
+
args: [{
|
171
|
+
providedIn: 'root'
|
172
|
+
}]
|
173
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
174
|
+
type: Inject,
|
175
|
+
args: ['hostEnv']
|
176
|
+
}] }] });
|
177
|
+
|
178
|
+
class EquipeMembroService extends BaseApiService {
|
179
|
+
constructor(httpClient, hostEnv) {
|
180
|
+
super(httpClient);
|
181
|
+
this.httpClient = httpClient;
|
182
|
+
this.hostEnv = hostEnv;
|
183
|
+
this.rotaExcluir = 'hcm/api/v1/equipemembro/excluir';
|
184
|
+
this.rotaListar = 'hcm/api/v1/equipemembro/listar';
|
185
|
+
this.rotaListarPorchave = 'hcm/api/v1/equipemembro/listarporchave';
|
186
|
+
this.rotaListarPossiveisMembros = 'hcm/api/v1/equipemembro/listarpossiveismembros';
|
187
|
+
this.rotaSalvar = 'hcm/api/v1/equipemembro/salvar';
|
188
|
+
this.rotaSalvarEmLote = 'hcm/api/v1/equipemembro/salvaremlote';
|
189
|
+
this.rotaSelecionar = 'hcm/api/v1/equipemembro/selecionar';
|
190
|
+
}
|
191
|
+
Excluir(idanalista) {
|
192
|
+
return this.delete(this.hostEnv.apiUrlHcm, `${this.rotaExcluir}/${idanalista}`);
|
193
|
+
}
|
194
|
+
Listar(filtro) {
|
195
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListar, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
196
|
+
}
|
197
|
+
ListarPorChave(filtro) {
|
198
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListarPorchave, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
199
|
+
}
|
200
|
+
ListarPossiveisMembros(filtro) {
|
201
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListarPossiveisMembros, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
202
|
+
}
|
203
|
+
Salvar(data) {
|
204
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaSalvar, data);
|
205
|
+
}
|
206
|
+
SalvarEmLote(data) {
|
207
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaSalvarEmLote, data);
|
208
|
+
}
|
209
|
+
Selecionar(idanalista) {
|
210
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idanalista}`);
|
211
|
+
}
|
212
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: EquipeMembroService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
213
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: EquipeMembroService, providedIn: 'root' }); }
|
214
|
+
}
|
215
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: EquipeMembroService, decorators: [{
|
216
|
+
type: Injectable,
|
217
|
+
args: [{
|
218
|
+
providedIn: 'root'
|
219
|
+
}]
|
220
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
221
|
+
type: Inject,
|
222
|
+
args: ['hostEnv']
|
223
|
+
}] }] });
|
224
|
+
|
225
|
+
class EquipeService extends BaseApiService {
|
226
|
+
constructor(httpClient, hostEnv) {
|
227
|
+
super(httpClient);
|
228
|
+
this.httpClient = httpClient;
|
229
|
+
this.hostEnv = hostEnv;
|
230
|
+
this.rotaExcluir = 'hcm/api/v1/equipe/excluir';
|
231
|
+
this.rotaListar = 'hcm/api/v1/equipe/listar';
|
232
|
+
this.rotaListarPorchave = 'hcm/api/v1/equipe/listarporchave';
|
233
|
+
this.rotaSalvar = 'hcm/api/v1/equipe/salvar';
|
234
|
+
this.rotaSelecionar = 'hcm/api/v1/equipe/selecionar';
|
235
|
+
}
|
236
|
+
Excluir(idequipe) {
|
237
|
+
return this.delete(this.hostEnv.apiUrlHcm, `${this.rotaExcluir}/${idequipe}`);
|
238
|
+
}
|
239
|
+
Listar(filtro) {
|
240
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListar, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
241
|
+
}
|
242
|
+
ListarPorChave(filtro) {
|
243
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListarPorchave, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
244
|
+
}
|
245
|
+
Salvar(data) {
|
246
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaSalvar, data);
|
247
|
+
}
|
248
|
+
Selecionar(idanalista) {
|
249
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idanalista}`);
|
250
|
+
}
|
251
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: EquipeService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
252
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: EquipeService, providedIn: 'root' }); }
|
253
|
+
}
|
254
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: EquipeService, decorators: [{
|
255
|
+
type: Injectable,
|
256
|
+
args: [{
|
257
|
+
providedIn: 'root'
|
258
|
+
}]
|
259
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
260
|
+
type: Inject,
|
261
|
+
args: ['hostEnv']
|
262
|
+
}] }] });
|
263
|
+
|
264
|
+
class HierarquiaOrganizacionalService extends BaseApiService {
|
265
|
+
constructor(httpClient, hostEnv) {
|
266
|
+
super(httpClient);
|
267
|
+
this.hostEnv = hostEnv;
|
268
|
+
this.rotaExcluir = 'hcm/api/v1/hierarquiaorganizacional/excluir';
|
269
|
+
this.rotaListar = 'hcm/api/v1/hierarquiaorganizacional/listar';
|
270
|
+
this.rotaListartodos = 'hcm/api/v1/hierarquiaorganizacional/listartodos';
|
271
|
+
this.rotaListartodosporlider = 'hcm/api/v1/hierarquiaorganizacional/listartodosporlider';
|
272
|
+
this.rotaListarLideresSubstitutosPorHierarquiaOrganizacional = 'hcm/api/v1/hierarquiaorganizacional/ListarLideresSubstitutosPorHierarquiaOrganizacional';
|
273
|
+
this.rotaSalvar = 'hcm/api/v1/hierarquiaorganizacional/salvar';
|
274
|
+
this.rotaAtualizaVinculoDeHierarquia = 'hcm/api/v1/hierarquiaorganizacional/AtualizaVinculoDeHierarquia';
|
275
|
+
this.rotaAtualizarOrdemHierarquia = 'hcm/api/v1/hierarquiaorganizacional/AtualizarOrdemHierarquia';
|
276
|
+
this.rotaSelecionar = 'hcm/api/v1/hierarquiaorganizacional/selecionar';
|
277
|
+
}
|
278
|
+
Excluir(id) {
|
279
|
+
return this.delete(this.hostEnv.apiUrlHcm, `${this.rotaExcluir}/${id}`);
|
280
|
+
}
|
281
|
+
Listar(filtro) {
|
282
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaListar, filtro);
|
283
|
+
}
|
284
|
+
ListarTodos(filtro) {
|
285
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaListartodos, filtro);
|
286
|
+
}
|
287
|
+
ListarTodosPorLider(filtro) {
|
288
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListartodosporlider, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
289
|
+
}
|
290
|
+
ListarLideresSubstitutosPorHierarquiaOrganizacional(filtro) {
|
291
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaListarLideresSubstitutosPorHierarquiaOrganizacional, filtro);
|
292
|
+
}
|
293
|
+
Salvar(dados) {
|
294
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaSalvar, dados);
|
295
|
+
}
|
296
|
+
AtualizaVinculoDeHierarquia(dados) {
|
297
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaAtualizaVinculoDeHierarquia, dados);
|
298
|
+
}
|
299
|
+
AtualizarOrdemHierarquia(idhierarquiaorganizacional, idordem) {
|
300
|
+
return this.post(this.hostEnv.apiUrlHcm, `${this.rotaAtualizarOrdemHierarquia}?idhierarquiaorganizacional=${idhierarquiaorganizacional}&ordem=${idordem}`);
|
301
|
+
}
|
302
|
+
Selecionar(id) {
|
303
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${id}`);
|
304
|
+
}
|
305
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: HierarquiaOrganizacionalService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
306
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: HierarquiaOrganizacionalService, providedIn: 'root' }); }
|
307
|
+
}
|
308
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: HierarquiaOrganizacionalService, decorators: [{
|
309
|
+
type: Injectable,
|
310
|
+
args: [{
|
311
|
+
providedIn: 'root'
|
312
|
+
}]
|
313
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
314
|
+
type: Inject,
|
315
|
+
args: ['hostEnv']
|
316
|
+
}] }] });
|
317
|
+
|
318
|
+
class RelacionamentoLotacaoService extends BaseApiService {
|
319
|
+
constructor(httpClient, hostEnv) {
|
320
|
+
super(httpClient);
|
321
|
+
this.httpClient = httpClient;
|
322
|
+
this.hostEnv = hostEnv;
|
323
|
+
this.rotaExcluir = 'hcm/api/v1/relacionamentolotacao/excluir';
|
324
|
+
this.rotaExisteEmpresa = 'hcm/api/v1/relacionamentolotacao/existeempresa';
|
325
|
+
this.rotaListar = 'hcm/api/v1/relacionamentolotacao/listar';
|
326
|
+
this.rotaListarTodos = 'hcm/api/v1/relacionamentolotacao/listartodos';
|
327
|
+
this.rotaListarPossiveisAnalistas = 'hcm/api/v1/relacionamentolotacao/listarpossiveisanalistas';
|
328
|
+
this.rotaSalvar = 'hcm/api/v1/relacionamentolotacao/salvar';
|
329
|
+
this.rotaSelecionar = 'hcm/api/v1/relacionamentolotacao/selecionar';
|
330
|
+
}
|
331
|
+
Excluir(idanalista) {
|
332
|
+
return this.delete(this.hostEnv.apiUrlHcm, `${this.rotaExcluir}/${idanalista}`);
|
333
|
+
}
|
334
|
+
ExisteEmpresa(idmaster, idempresaevocenter) {
|
335
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaExisteEmpresa}/${idmaster}/${idempresaevocenter}`);
|
336
|
+
}
|
337
|
+
Listar(filtro) {
|
338
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListar, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
339
|
+
}
|
340
|
+
ListarTodos(filtro) {
|
341
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListarTodos, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
342
|
+
}
|
343
|
+
ListarPossiveisAnalistas(filtro) {
|
344
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListarPossiveisAnalistas, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
345
|
+
}
|
346
|
+
Salvar(data) {
|
347
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaSalvar, data);
|
348
|
+
}
|
349
|
+
Selecionar(idrelacionamentolotacao) {
|
350
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idrelacionamentolotacao}`);
|
351
|
+
}
|
352
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: RelacionamentoLotacaoService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
353
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: RelacionamentoLotacaoService, providedIn: 'root' }); }
|
354
|
+
}
|
355
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: RelacionamentoLotacaoService, decorators: [{
|
356
|
+
type: Injectable,
|
357
|
+
args: [{
|
358
|
+
providedIn: 'root'
|
359
|
+
}]
|
360
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
361
|
+
type: Inject,
|
362
|
+
args: ['hostEnv']
|
363
|
+
}] }] });
|
364
|
+
|
365
|
+
class SubTipoOcorrenciaService extends BaseApiService {
|
366
|
+
constructor(httpClient, hostEnv) {
|
367
|
+
super(httpClient);
|
368
|
+
this.httpClient = httpClient;
|
369
|
+
this.hostEnv = hostEnv;
|
370
|
+
this.rotaListar = 'hcm/api/v1/subtipoocorrencia/listar';
|
371
|
+
this.rotaSalvar = 'hcm/api/v1/subtipoocorrencia/salvar';
|
372
|
+
}
|
373
|
+
Listar(filtro) {
|
374
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListar, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
375
|
+
}
|
376
|
+
Salvar(data) {
|
377
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaSalvar, data);
|
378
|
+
}
|
379
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: SubTipoOcorrenciaService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
380
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: SubTipoOcorrenciaService, providedIn: 'root' }); }
|
381
|
+
}
|
382
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: SubTipoOcorrenciaService, decorators: [{
|
383
|
+
type: Injectable,
|
384
|
+
args: [{
|
385
|
+
providedIn: 'root'
|
386
|
+
}]
|
387
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
388
|
+
type: Inject,
|
389
|
+
args: ['hostEnv']
|
390
|
+
}] }] });
|
391
|
+
|
392
|
+
class TipoEstadoService extends BaseApiService {
|
393
|
+
constructor(httpClient, hostEnv) {
|
394
|
+
super(httpClient);
|
395
|
+
this.httpClient = httpClient;
|
396
|
+
this.hostEnv = hostEnv;
|
397
|
+
this.rotaExcluir = 'hcm/api/v1/tipoestado/excluir';
|
398
|
+
this.rotaListar = 'hcm/api/v1/tipoestado/listar';
|
399
|
+
this.rotaSalvar = 'hcm/api/v1/tipoestado/salvar';
|
400
|
+
this.rotaSelecionar = 'hcm/api/v1/tipoestado/selecionar';
|
401
|
+
}
|
402
|
+
Excluir(id) {
|
403
|
+
return this.delete(this.hostEnv.apiUrlHcm, `${this.rotaExcluir}/${id}`);
|
404
|
+
}
|
405
|
+
Listar(filtro) {
|
406
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListar, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
407
|
+
}
|
408
|
+
Salvar(estado) {
|
409
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaSalvar, estado);
|
410
|
+
}
|
411
|
+
Selecionar(id) {
|
412
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${id}`);
|
413
|
+
}
|
414
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: TipoEstadoService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
415
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: TipoEstadoService, providedIn: 'root' }); }
|
416
|
+
}
|
417
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: TipoEstadoService, decorators: [{
|
418
|
+
type: Injectable,
|
419
|
+
args: [{
|
420
|
+
providedIn: 'root'
|
421
|
+
}]
|
422
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
423
|
+
type: Inject,
|
424
|
+
args: ['hostEnv']
|
425
|
+
}] }] });
|
426
|
+
|
427
|
+
class TipoOcorrenciaService extends BaseApiService {
|
428
|
+
constructor(httpClient, hostEnv) {
|
429
|
+
super(httpClient);
|
430
|
+
this.httpClient = httpClient;
|
431
|
+
this.hostEnv = hostEnv;
|
432
|
+
this.rotaExcluir = 'hcm/api/v1/tipoocorrencia/excluir';
|
433
|
+
this.rotaListar = 'hcm/api/v1/tipoocorrencia/listar';
|
434
|
+
this.rotaSalvar = 'hcm/api/v1/tipoocorrencia/salvar';
|
435
|
+
this.rotaSelecionar = 'hcm/api/v1/tipoocorrencia/selecionar';
|
436
|
+
}
|
437
|
+
Excluir(idtipoocorrencia) {
|
438
|
+
return this.delete(this.hostEnv.apiUrlHcm, `${this.rotaExcluir}/${idtipoocorrencia}`);
|
439
|
+
}
|
440
|
+
Listar(filtro) {
|
441
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListar, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
442
|
+
}
|
443
|
+
Salvar(data) {
|
444
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaSalvar, data);
|
445
|
+
}
|
446
|
+
Selecionar(idtipoocorrencia) {
|
447
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idtipoocorrencia}`);
|
448
|
+
}
|
449
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: TipoOcorrenciaService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
450
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: TipoOcorrenciaService, providedIn: 'root' }); }
|
451
|
+
}
|
452
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: TipoOcorrenciaService, decorators: [{
|
453
|
+
type: Injectable,
|
454
|
+
args: [{
|
455
|
+
providedIn: 'root'
|
456
|
+
}]
|
457
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
458
|
+
type: Inject,
|
459
|
+
args: ['hostEnv']
|
460
|
+
}] }] });
|
461
|
+
|
462
|
+
class UnidadeAdministrativaService extends BaseApiService {
|
463
|
+
constructor(httpClient, hostEnv) {
|
464
|
+
super(httpClient);
|
465
|
+
this.httpClient = httpClient;
|
466
|
+
this.hostEnv = hostEnv;
|
467
|
+
this.rotaListarTodos = 'hcm/api/v1/unidadeadministrativa/listartodos';
|
468
|
+
this.rotaSelecionar = 'hcm/api/v1/unidadeadministrativa/selecionar';
|
469
|
+
}
|
470
|
+
ListarTodos(filtro) {
|
471
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListarTodos, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
472
|
+
}
|
473
|
+
Selecionar(idunidadeadministrativa) {
|
474
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idunidadeadministrativa}`);
|
475
|
+
}
|
476
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: UnidadeAdministrativaService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
477
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: UnidadeAdministrativaService, providedIn: 'root' }); }
|
478
|
+
}
|
479
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: UnidadeAdministrativaService, decorators: [{
|
480
|
+
type: Injectable,
|
481
|
+
args: [{
|
482
|
+
providedIn: 'root'
|
483
|
+
}]
|
484
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
485
|
+
type: Inject,
|
486
|
+
args: ['hostEnv']
|
487
|
+
}] }] });
|
488
|
+
|
489
|
+
class UnidadehierarquicaService extends BaseApiService {
|
490
|
+
constructor(httpClient, hostEnv) {
|
491
|
+
super(httpClient);
|
492
|
+
this.httpClient = httpClient;
|
493
|
+
this.hostEnv = hostEnv;
|
494
|
+
this.rotaExcluir = 'hcm/api/v1/unidadehierarquica/excluir';
|
495
|
+
this.rotaExisteEmpresa = 'hcm/api/v1/unidadehierarquica/existeempresa';
|
496
|
+
this.rotaListar = 'hcm/api/v1/unidadehierarquica/listar';
|
497
|
+
this.rotaListarTodos = 'hcm/api/v1/unidadehierarquica/listartodos';
|
498
|
+
this.rotaListarPorChave = 'hcm/api/v1/unidadehierarquica/listarporchave';
|
499
|
+
this.rotaListarPossiveisUnidadesSuperiores = 'hcm/api/v1/unidadehierarquica/listarpossiveisunidadessuperiores';
|
500
|
+
this.rotaSelecionarRaizPorChave = 'hcm/api/v1/unidadehierarquica/SelecionarRaizPorChave';
|
501
|
+
this.rotaSalvar = 'hcm/api/v1/unidadehierarquica/salvar';
|
502
|
+
this.rotaSelecionar = 'hcm/api/v1/unidadehierarquica/selecionar';
|
503
|
+
}
|
504
|
+
Excluir(idunidadehierarquica) {
|
505
|
+
return this.delete(this.hostEnv.apiUrlHcm, `${this.rotaExcluir}/${idunidadehierarquica}`);
|
506
|
+
}
|
507
|
+
ExisteEmpresa(idmaster, idempresaevocenter) {
|
508
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaExisteEmpresa}/${idmaster}/${idempresaevocenter}`);
|
509
|
+
}
|
510
|
+
Listar(filtro) {
|
511
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListar, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
512
|
+
}
|
513
|
+
ListarPorChave(filtro) {
|
514
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListarPorChave, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
515
|
+
}
|
516
|
+
ListarPossiveisUnidadesSuperiores(filtro) {
|
517
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListarPossiveisUnidadesSuperiores, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
518
|
+
}
|
519
|
+
ListarTodos(filtro) {
|
520
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListarTodos, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
521
|
+
}
|
522
|
+
Salvar(data) {
|
523
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaSalvar, data);
|
524
|
+
}
|
525
|
+
Selecionar(idunidadehierarquica) {
|
526
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idunidadehierarquica}`);
|
527
|
+
}
|
528
|
+
SelecionarRaizPorChave(filtro) {
|
529
|
+
return this.getHeaders(this.hostEnv.apiUrlHcm, this.rotaSelecionarRaizPorChave, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
530
|
+
}
|
531
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: UnidadehierarquicaService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
532
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: UnidadehierarquicaService, providedIn: 'root' }); }
|
533
|
+
}
|
534
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: UnidadehierarquicaService, decorators: [{
|
535
|
+
type: Injectable,
|
536
|
+
args: [{
|
537
|
+
providedIn: 'root'
|
538
|
+
}]
|
539
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
540
|
+
type: Inject,
|
541
|
+
args: ['hostEnv']
|
542
|
+
}] }] });
|
543
|
+
|
544
|
+
class EmpresaBannerService extends BaseApiService {
|
545
|
+
constructor(httpClient, hostEnv) {
|
546
|
+
super(httpClient);
|
547
|
+
this.httpClient = httpClient;
|
548
|
+
this.hostEnv = hostEnv;
|
549
|
+
this.rotaSalvar = 'hcm/api/v1/empresabanner/salvar';
|
550
|
+
this.rotaSelecionar = 'hcm/api/v1/empresabanner/selecionar';
|
551
|
+
}
|
552
|
+
Salvar(data) {
|
553
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaSalvar, data);
|
554
|
+
}
|
555
|
+
Selecionar(idmaster, idempresaevocenter, ordem) {
|
556
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idmaster}/${idempresaevocenter}/${ordem}`);
|
557
|
+
}
|
558
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: EmpresaBannerService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
559
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: EmpresaBannerService, providedIn: 'root' }); }
|
560
|
+
}
|
561
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: EmpresaBannerService, decorators: [{
|
562
|
+
type: Injectable,
|
563
|
+
args: [{
|
564
|
+
providedIn: 'root'
|
565
|
+
}]
|
566
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
567
|
+
type: Inject,
|
568
|
+
args: ['hostEnv']
|
569
|
+
}] }] });
|
570
|
+
|
571
|
+
class EmpresaParametrosService extends BaseApiService {
|
572
|
+
constructor(httpClient, hostEnv) {
|
573
|
+
super(httpClient);
|
574
|
+
this.httpClient = httpClient;
|
575
|
+
this.hostEnv = hostEnv;
|
576
|
+
this.rotaSalvar = 'hcm/api/v1/empresaparametros/salvar';
|
577
|
+
this.rotaSalvarEkeep = 'hcm/api/v1/empresaparametros/salvarekeep';
|
578
|
+
this.rotaSelecionar = 'hcm/api/v1/empresaparametros/selecionar';
|
579
|
+
}
|
580
|
+
Selecionar(idempresaevocenter) {
|
581
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idempresaevocenter}`);
|
582
|
+
}
|
583
|
+
Salvar(data) {
|
584
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaSalvar, data);
|
585
|
+
}
|
586
|
+
SalvarEkeep(data) {
|
587
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaSalvarEkeep, data);
|
588
|
+
}
|
589
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: EmpresaParametrosService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
590
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: EmpresaParametrosService, providedIn: 'root' }); }
|
591
|
+
}
|
592
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: EmpresaParametrosService, decorators: [{
|
593
|
+
type: Injectable,
|
594
|
+
args: [{
|
595
|
+
providedIn: 'root'
|
596
|
+
}]
|
597
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
598
|
+
type: Inject,
|
599
|
+
args: ['hostEnv']
|
600
|
+
}] }] });
|
601
|
+
|
602
|
+
class EmpresaService extends BaseApiService {
|
603
|
+
constructor(httpClient, hostEnv) {
|
604
|
+
super(httpClient);
|
605
|
+
this.httpClient = httpClient;
|
606
|
+
this.hostEnv = hostEnv;
|
607
|
+
this.rotaListarEmpresas = 'hcm/api/v1/empresa/listarempresas';
|
608
|
+
this.rotaListarEmpresaseFiliais = 'hcm/api/v1/empresa/listarempresaefiliais';
|
609
|
+
}
|
610
|
+
ListarEmpresas(idmaster) {
|
611
|
+
return this.getAll(this.hostEnv.apiUrlHcm, `${this.rotaListarEmpresas}/${idmaster}`);
|
612
|
+
}
|
613
|
+
ListarEmpresaEFiliais(idmaster, idempresaevocenter) {
|
614
|
+
return this.getAll(this.hostEnv.apiUrlHcm, `${this.rotaListarEmpresaseFiliais}/${idmaster}/${idempresaevocenter}`);
|
615
|
+
}
|
616
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: EmpresaService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
617
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: EmpresaService, providedIn: 'root' }); }
|
618
|
+
}
|
619
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: EmpresaService, decorators: [{
|
620
|
+
type: Injectable,
|
621
|
+
args: [{
|
622
|
+
providedIn: 'root'
|
623
|
+
}]
|
624
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
625
|
+
type: Inject,
|
626
|
+
args: ['hostEnv']
|
627
|
+
}] }] });
|
628
|
+
|
629
|
+
class AnalistaPessoaService extends BaseApiService {
|
630
|
+
constructor(httpClient, hostEnv) {
|
631
|
+
super(httpClient);
|
632
|
+
this.httpClient = httpClient;
|
633
|
+
this.hostEnv = hostEnv;
|
634
|
+
this.rotaExcluir = 'hcm/api/v1/analistapessoa/excluir';
|
635
|
+
this.rotaListar = 'hcm/api/v1/analistapessoa/listar';
|
636
|
+
this.rotaListarPossiveisAnalistas = 'hcm/api/v1/analistapessoa/listarpossiveisanalistas';
|
637
|
+
this.rotaSalvar = 'hcm/api/v1/analistapessoa/salvar';
|
638
|
+
this.rotaSelecionar = 'hcm/api/v1/analistapessoa/selecionar';
|
639
|
+
}
|
640
|
+
Excluir(idanalista) {
|
641
|
+
return this.delete(this.hostEnv.apiUrlHcm, `${this.rotaExcluir}/${idanalista}`);
|
642
|
+
}
|
643
|
+
Listar(filtro) {
|
644
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaListar, filtro);
|
645
|
+
}
|
646
|
+
ListarPossiveisAnalistas(filtro) {
|
647
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListarPossiveisAnalistas, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
648
|
+
}
|
649
|
+
Salvar(data) {
|
650
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaSalvar, data);
|
651
|
+
}
|
652
|
+
Selecionar(idanalista) {
|
653
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idanalista}`);
|
654
|
+
}
|
655
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: AnalistaPessoaService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
656
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: AnalistaPessoaService, providedIn: 'root' }); }
|
657
|
+
}
|
658
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: AnalistaPessoaService, decorators: [{
|
659
|
+
type: Injectable,
|
660
|
+
args: [{
|
661
|
+
providedIn: 'root'
|
662
|
+
}]
|
663
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
664
|
+
type: Inject,
|
665
|
+
args: ['hostEnv']
|
666
|
+
}] }] });
|
667
|
+
|
668
|
+
class KeexService extends BaseApiService {
|
669
|
+
constructor(httpClient, hostEnv) {
|
670
|
+
super(httpClient);
|
671
|
+
this.httpClient = httpClient;
|
672
|
+
this.hostEnv = hostEnv;
|
673
|
+
this.rotaListarUsuarios = 'hcm/api/v1/keex/listarusuarios';
|
674
|
+
this.rotaPesquisarUsuario = 'hcm/api/v1/keex/pesquisarusuario';
|
675
|
+
this.rotaTotalFuncionariosAcessoKeex = 'hcm/api/v1/keex/totalfuncionariosacessokeex`';
|
676
|
+
this.rotaAlteracoesKeex = 'hcm/api/v1/keex/alteraracessokeex';
|
677
|
+
this.rotaAlteracoesKeexEmpresa = 'hcm/api/v1/keex/alteraracessokeexempresa';
|
678
|
+
this.rotaEnviaConvite = 'hcm/api/v1/keex/enviaconvite';
|
679
|
+
}
|
680
|
+
ListarUsuarios(filtro) {
|
681
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaListarUsuarios, filtro);
|
682
|
+
}
|
683
|
+
PesquisarUsuario(filtro) {
|
684
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaPesquisarUsuario, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
685
|
+
}
|
686
|
+
TotalFuncionariosAcessokeex(filtro) {
|
687
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaTotalFuncionariosAcessoKeex, new HttpHeaders().set('filtro', JSON.stringify(filtro)));
|
688
|
+
}
|
689
|
+
AlteraAcessoAoKeex(parametros) {
|
690
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaAlteracoesKeex, parametros);
|
691
|
+
}
|
692
|
+
AlteraAcessoAoKeexEmpresa(parametros) {
|
693
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaAlteracoesKeexEmpresa, parametros);
|
694
|
+
}
|
695
|
+
EnviarConvite(usuarios) {
|
696
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaEnviaConvite, usuarios);
|
697
|
+
}
|
698
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KeexService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
699
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KeexService, providedIn: 'root' }); }
|
700
|
+
}
|
701
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: KeexService, decorators: [{
|
702
|
+
type: Injectable,
|
703
|
+
args: [{
|
704
|
+
providedIn: 'root',
|
705
|
+
}]
|
706
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
707
|
+
type: Inject,
|
708
|
+
args: ['hostEnv']
|
709
|
+
}] }] });
|
710
|
+
|
711
|
+
class LiderService extends BaseApiService {
|
712
|
+
constructor(httpClient, hostEnv) {
|
713
|
+
super(httpClient);
|
714
|
+
this.httpClient = httpClient;
|
715
|
+
this.hostEnv = hostEnv;
|
716
|
+
this.rotaAtualizaEstadoAtivo = 'hcm/api/v1/lider/atualizaestadoativo';
|
717
|
+
this.rotaListarPossiveisLideres = 'hcm/api/v1/lider/listarpossiveislideres';
|
718
|
+
this.rotaListarPosiveisLideresSubstituto = 'hcm/api/v1/lider/listarposiveislideressubstituto';
|
719
|
+
this.rotaListar = 'hcm/api/v1/lider/listar';
|
720
|
+
this.rotaListarPorChave = 'hcm/api/v1/lider/listarporchave';
|
721
|
+
this.rotaSelecionar = 'hcm/api/v1/lider/selecionar';
|
722
|
+
this.rotaSelecionarDadosPesssoa = 'hcm/api/v1/lider/selecionardadospesssoa';
|
723
|
+
this.rotaSalvar = 'hcm/api/v1/lider/salvar';
|
724
|
+
this.rotaExcluir = 'hcm/api/v1/lider/excluir';
|
725
|
+
this.rotaVerificaLiderAtivo = 'hcm/api/v1/lider/verificaliderativo';
|
726
|
+
this.rotaExisteLiderPrincipal = 'hcm/api/v1/lider/existeliderprincipal';
|
727
|
+
this.rotaExisteCpf = 'hcm/api/v1/lider/existecpf';
|
728
|
+
this.rotaExisteIDRegistro = 'hcm/api/v1/lider/existeidregistro';
|
729
|
+
}
|
730
|
+
AtualizaEstadoAtivo(model) {
|
731
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaAtualizaEstadoAtivo, model);
|
732
|
+
}
|
733
|
+
ListarPossiveisLideres(filtro) {
|
734
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListarPossiveisLideres, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
735
|
+
}
|
736
|
+
ListarPossiveisLideresSubstituto(filtro) {
|
737
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListarPosiveisLideresSubstituto, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
738
|
+
}
|
739
|
+
Listar(filtro) {
|
740
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListar, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
741
|
+
}
|
742
|
+
ListarTodos(idmaster, idempresaevocenter) {
|
743
|
+
return this.getAll(this.hostEnv.apiUrlHcm, `${this.rotaListar}/${idmaster}/${idempresaevocenter}`);
|
744
|
+
}
|
745
|
+
ListarPorChave(filtro) {
|
746
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListarPorChave, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
747
|
+
}
|
748
|
+
Selecionar(idlider) {
|
749
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idlider}`);
|
750
|
+
}
|
751
|
+
SelecionarDadosPessoa(idmaster, cpf) {
|
752
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionarDadosPesssoa}/${idmaster}/${cpf}`);
|
753
|
+
}
|
754
|
+
Salvar(lider) {
|
755
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaSalvar, lider);
|
756
|
+
}
|
757
|
+
Excluir(idlider) {
|
758
|
+
return this.delete(this.hostEnv.apiUrlHcm, `${this.rotaExcluir}/${idlider}`);
|
759
|
+
}
|
760
|
+
VerificaLiderAtivo(idlider) {
|
761
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaVerificaLiderAtivo}/${idlider}`);
|
762
|
+
}
|
763
|
+
ExisteLiderPrincipal(idmaster, idempresaevocenter) {
|
764
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaExisteLiderPrincipal}/${idmaster}/${idempresaevocenter}`);
|
765
|
+
}
|
766
|
+
ExisteCpf(idmaster, idempresaevocenter, cpf) {
|
767
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaExisteCpf}/${idmaster}/${idempresaevocenter}/${cpf}`);
|
768
|
+
}
|
769
|
+
ExisteIDRegistro(idmaster, idempresaevocenter, idregistro) {
|
770
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaExisteIDRegistro}/${idmaster}/${idempresaevocenter}/${idregistro}`);
|
771
|
+
}
|
772
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: LiderService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
773
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: LiderService, providedIn: 'root' }); }
|
774
|
+
}
|
775
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: LiderService, decorators: [{
|
776
|
+
type: Injectable,
|
777
|
+
args: [{
|
778
|
+
providedIn: 'root'
|
779
|
+
}]
|
780
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
781
|
+
type: Inject,
|
782
|
+
args: ['hostEnv']
|
783
|
+
}] }] });
|
784
|
+
|
785
|
+
class RegistroService extends BaseApiService {
|
786
|
+
constructor(httpClient, hostEnv) {
|
787
|
+
super(httpClient);
|
788
|
+
this.httpClient = httpClient;
|
789
|
+
this.hostEnv = hostEnv;
|
790
|
+
this.rotaExcluir = 'hcm/api/v1/registro/excluir';
|
791
|
+
this.rotaExisteCpf = 'hcm/api/v1/registro/existecpf';
|
792
|
+
this.rotaListar = 'hcm/api/v1/registro/listar';
|
793
|
+
this.rotaListarContatos = 'hcm/api/v1/registro/listarcontatos';
|
794
|
+
this.rotaListarPerfil = 'hcm/api/v1/registro/ListarPerfil';
|
795
|
+
this.rotaListarFuncionariosSemLotacao = 'hcm/api/v1/registro/ListarFuncionariosSemLotacao';
|
796
|
+
this.rotaPesquisar = 'hcm/api/v1/registro/pesquisar';
|
797
|
+
this.rotaListarAniversariantes = 'hcm/api/v1/registro/listaraniversariantes';
|
798
|
+
this.rotaSelecionarPerfil = 'hcm/api/v1/registro/SelecionarPerfil';
|
799
|
+
this.rotaSalvar = 'hcm/api/v1/registro/salvar';
|
800
|
+
this.rotaSelecionar = 'hcm/api/v1/registro/selecionar';
|
801
|
+
this.rotaAtualizarFoto = 'hcm/api/v1/registro/AtualizarFoto';
|
802
|
+
}
|
803
|
+
Excluir(id) {
|
804
|
+
return this.delete(this.hostEnv.apiUrlHcm, `${this.rotaExcluir}/${id}`);
|
805
|
+
}
|
806
|
+
ExisteCpf(idmaster, idempresaevocenter, cpf) {
|
807
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaExisteCpf}/${idmaster}/${idempresaevocenter}/${cpf}`);
|
808
|
+
}
|
809
|
+
Listar(filtro) {
|
810
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaListar, filtro);
|
811
|
+
}
|
812
|
+
ListarContatos(filtro) {
|
813
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaListarContatos, filtro);
|
814
|
+
}
|
815
|
+
ListarPerfil(filtro) {
|
816
|
+
return this.getHeaders(this.hostEnv.apiUrlHcm, this.rotaListarPerfil, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
817
|
+
}
|
818
|
+
ListarFuncionariosSemLotacao(filtro) {
|
819
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListarFuncionariosSemLotacao, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
820
|
+
}
|
821
|
+
Pesquisar(filtro) {
|
822
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaPesquisar, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
823
|
+
}
|
824
|
+
ListarAniversariantes(filtro) {
|
825
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListarAniversariantes, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
826
|
+
}
|
827
|
+
SelecionarPerfil(filtro) {
|
828
|
+
return this.getHeaders(this.hostEnv.apiUrlHcm, this.rotaSelecionarPerfil, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
829
|
+
}
|
830
|
+
Salvar(data) {
|
831
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaSalvar, data);
|
832
|
+
}
|
833
|
+
Selecionar(id) {
|
834
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${id}`);
|
835
|
+
}
|
836
|
+
SelecionarResumo(id) {
|
837
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${id}`);
|
838
|
+
}
|
839
|
+
AtualizarFoto(model) {
|
840
|
+
return this.post(this.hostEnv.apiUrlHcm, this.rotaAtualizarFoto, model);
|
841
|
+
}
|
842
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: RegistroService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
843
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: RegistroService, providedIn: 'root' }); }
|
844
|
+
}
|
845
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: RegistroService, decorators: [{
|
846
|
+
type: Injectable,
|
847
|
+
args: [{
|
848
|
+
providedIn: 'root'
|
849
|
+
}]
|
850
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
851
|
+
type: Inject,
|
852
|
+
args: ['hostEnv']
|
853
|
+
}] }] });
|
854
|
+
|
855
|
+
class TomadorService extends BaseApiService {
|
856
|
+
constructor(httpClient, hostEnv) {
|
857
|
+
super(httpClient);
|
858
|
+
this.httpClient = httpClient;
|
859
|
+
this.hostEnv = hostEnv;
|
860
|
+
this.rotaListarTodos = 'hcm/api/v1/tomador/listartodos';
|
861
|
+
this.rotaSelecionar = 'hcm/api/v1/tomador/selecionar';
|
862
|
+
}
|
863
|
+
ListarTodos(filtro) {
|
864
|
+
return this.getAllHeaders(this.hostEnv.apiUrlHcm, this.rotaListarTodos, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
865
|
+
}
|
866
|
+
Selecionar(idtomador) {
|
867
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idtomador}`);
|
868
|
+
}
|
869
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: TomadorService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
870
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: TomadorService, providedIn: 'root' }); }
|
871
|
+
}
|
872
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: TomadorService, decorators: [{
|
873
|
+
type: Injectable,
|
874
|
+
args: [{
|
875
|
+
providedIn: 'root'
|
876
|
+
}]
|
877
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
878
|
+
type: Inject,
|
879
|
+
args: ['hostEnv']
|
880
|
+
}] }] });
|
881
|
+
|
882
|
+
class DadosConfiguracoesService {
|
883
|
+
constructor() {
|
884
|
+
this.indicativosLotacaoEmpresa = [];
|
885
|
+
this.indicativosLotacaoDominio = [];
|
886
|
+
}
|
887
|
+
setIndicativosLotacaoEmpresa(indicativos) {
|
888
|
+
this.indicativosLotacaoEmpresa = indicativos;
|
889
|
+
}
|
890
|
+
getIndicativosLotacaoEmpresa() {
|
891
|
+
return this.indicativosLotacaoEmpresa;
|
892
|
+
}
|
893
|
+
setIndicativosLotacaoDominio(indicativos) {
|
894
|
+
this.indicativosLotacaoDominio = indicativos;
|
895
|
+
}
|
896
|
+
getIndicativosLotacaoDominio() {
|
897
|
+
return this.indicativosLotacaoDominio;
|
898
|
+
}
|
899
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: DadosConfiguracoesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
900
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: DadosConfiguracoesService, providedIn: 'root' }); }
|
901
|
+
}
|
902
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: DadosConfiguracoesService, decorators: [{
|
903
|
+
type: Injectable,
|
904
|
+
args: [{
|
905
|
+
providedIn: 'root'
|
906
|
+
}]
|
907
|
+
}] });
|
908
|
+
|
909
|
+
class ValidatorsService {
|
910
|
+
constructor() { }
|
911
|
+
datainicio(control, formControlNameDateFinal, required = false, formControlNameCampoChave = '') {
|
912
|
+
const formGroup = control.parent;
|
913
|
+
if (control.value === null || control.value === undefined || control.value === '') {
|
914
|
+
if (required)
|
915
|
+
return { erroMessage: "Campo obrigatório" };
|
916
|
+
else {
|
917
|
+
const dataFim = formGroup?.get(formControlNameDateFinal)?.value;
|
918
|
+
if (dataFim)
|
919
|
+
formGroup?.get(formControlNameDateFinal)?.setValue(null);
|
920
|
+
return null;
|
921
|
+
}
|
922
|
+
}
|
923
|
+
const inputValue = control.value;
|
924
|
+
const valorChave = formGroup?.get(formControlNameCampoChave)?.value;
|
925
|
+
if (!inputValue)
|
926
|
+
return { erroMessage: 'Data inválida' };
|
927
|
+
const dataInicio = new Date(inputValue);
|
928
|
+
dataInicio.setHours(0, 0, 0, 0);
|
929
|
+
const dataAtual = new Date();
|
930
|
+
dataAtual.setHours(0, 0, 0, 0);
|
931
|
+
return valorChave ? null // Se campo chave tem valor, então é uma edição, portanto não valida data inicial
|
932
|
+
: dataInicio >= dataAtual ? null : { erroMessage: 'Data deve ser maior ou igual à data atual' };
|
933
|
+
}
|
934
|
+
datafim(control, formControlNameDateInitial, required = false) {
|
935
|
+
if (control.value === null || control.value === undefined || control.value === '') {
|
936
|
+
if (required)
|
937
|
+
return { erroMessage: "Campo obrigatório" }; // Retorna erro de required se o campo estiver vazio
|
938
|
+
else
|
939
|
+
return null;
|
940
|
+
}
|
941
|
+
const dataFim = new Date(control.value); // Obter a data e hora do controle
|
942
|
+
const formGroup = control.parent;
|
943
|
+
const dataInicio = formGroup?.get(formControlNameDateInitial)?.value;
|
944
|
+
if (!dataInicio) {
|
945
|
+
return { erroMessage: 'Data inicial não informada' }; // Se a data de início não estiver definida, não há como comparar, então retornamos null
|
946
|
+
}
|
947
|
+
const dataInicioSemHoras = new Date(new Date(dataInicio).setHours(0, 0, 0, 0)); // Remover as horas da data de início
|
948
|
+
const dataFimSemHoras = new Date(new Date(dataFim).setHours(0, 0, 0, 0)); // Remover as horas da data de fim
|
949
|
+
if (dataFimSemHoras > dataInicioSemHoras || dataFim > dataInicio) {
|
950
|
+
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
|
951
|
+
}
|
952
|
+
else {
|
953
|
+
return { erroMessage: 'A data final é menor que a data de início' };
|
954
|
+
}
|
955
|
+
}
|
956
|
+
datainIcioFlag(control, mensagem, flag) {
|
957
|
+
const formGroup = control.parent;
|
958
|
+
const controlFlag = formGroup?.get(flag)?.value;
|
959
|
+
if (controlFlag) {
|
960
|
+
if (control.value === null ||
|
961
|
+
control.value === undefined ||
|
962
|
+
control.value === '') {
|
963
|
+
return { erroMessage: "Campo obrigatório" };
|
964
|
+
}
|
965
|
+
else {
|
966
|
+
const dataInicio = new Date(control.value);
|
967
|
+
const dataAtual = new Date();
|
968
|
+
// Ajuste para comparar apenas ano, mês e dia
|
969
|
+
const inicioSemHoras = new Date(dataInicio.getFullYear(), dataInicio.getMonth(), dataInicio.getDate());
|
970
|
+
const atualSemHoras = new Date(dataAtual.getFullYear(), dataAtual.getMonth(), dataAtual.getDate());
|
971
|
+
if (inicioSemHoras >= atualSemHoras) {
|
972
|
+
return null;
|
973
|
+
}
|
974
|
+
else {
|
975
|
+
return { erroMessage: mensagem };
|
976
|
+
}
|
977
|
+
}
|
978
|
+
}
|
979
|
+
else {
|
980
|
+
return null;
|
981
|
+
}
|
982
|
+
}
|
983
|
+
dataFimFlag(control, nomechave, mensagem, flag) {
|
984
|
+
const formGroup = control.parent;
|
985
|
+
const controlFlag = formGroup?.get(flag)?.value;
|
986
|
+
if (controlFlag) {
|
987
|
+
if (control.value === null ||
|
988
|
+
control.value === undefined ||
|
989
|
+
control.value === '') {
|
990
|
+
return { erroMessage: "Campo obrigatório" };
|
991
|
+
}
|
992
|
+
else {
|
993
|
+
const dataFim = new Date(control.value);
|
994
|
+
const dataInicio = formGroup?.get(nomechave)?.value;
|
995
|
+
if (dataFim && dataFim.getTime() > dataInicio.getTime()) {
|
996
|
+
return null;
|
997
|
+
}
|
998
|
+
else {
|
999
|
+
return { erroMessage: mensagem };
|
1000
|
+
}
|
1001
|
+
}
|
1002
|
+
}
|
1003
|
+
else {
|
1004
|
+
return null;
|
1005
|
+
}
|
1006
|
+
}
|
1007
|
+
requiredCustomMessage(control, mensagem) {
|
1008
|
+
if (control.value === null ||
|
1009
|
+
control.value === undefined ||
|
1010
|
+
control.value === '') {
|
1011
|
+
return { erroMessage: mensagem };
|
1012
|
+
}
|
1013
|
+
let valorcampo = control.value;
|
1014
|
+
if (valorcampo) {
|
1015
|
+
return null;
|
1016
|
+
}
|
1017
|
+
else {
|
1018
|
+
return { erroMessage: mensagem };
|
1019
|
+
}
|
1020
|
+
}
|
1021
|
+
requiredDefautMessage(control) {
|
1022
|
+
if (control.value === null ||
|
1023
|
+
control.value === undefined ||
|
1024
|
+
control.value === '') {
|
1025
|
+
return { erroMessage: "Campo obrigatório" };
|
1026
|
+
}
|
1027
|
+
let valorcampo = control.value;
|
1028
|
+
if (valorcampo) {
|
1029
|
+
return null;
|
1030
|
+
}
|
1031
|
+
else {
|
1032
|
+
return { erroMessage: "Campo obrigatório" };
|
1033
|
+
}
|
1034
|
+
}
|
1035
|
+
minlenght(valorminimo, mensagem) {
|
1036
|
+
return (control) => {
|
1037
|
+
if (control.value === null || control.value === undefined || control.value === '') {
|
1038
|
+
return { erroMessage: 'Campo obrigatório' };
|
1039
|
+
}
|
1040
|
+
const valorcampo = control.value;
|
1041
|
+
if (valorcampo.length >= valorminimo) {
|
1042
|
+
return null;
|
1043
|
+
}
|
1044
|
+
else {
|
1045
|
+
return { erroMessage: mensagem };
|
1046
|
+
}
|
1047
|
+
};
|
1048
|
+
}
|
1049
|
+
maxlenght(valormaximo, mensagem) {
|
1050
|
+
return (control) => {
|
1051
|
+
if (control.value === null || control.value === undefined || control.value === '') {
|
1052
|
+
return { erroMessage: 'Campo obrigatório' };
|
1053
|
+
}
|
1054
|
+
const valorcampo = control.value;
|
1055
|
+
if (valorcampo.length <= valormaximo) {
|
1056
|
+
return null;
|
1057
|
+
}
|
1058
|
+
else {
|
1059
|
+
return { erroMessage: mensagem };
|
1060
|
+
}
|
1061
|
+
};
|
1062
|
+
}
|
1063
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: ValidatorsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1064
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: ValidatorsService, providedIn: 'root' }); }
|
1065
|
+
}
|
1066
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: ValidatorsService, decorators: [{
|
1067
|
+
type: Injectable,
|
1068
|
+
args: [{
|
1069
|
+
providedIn: 'root',
|
1070
|
+
}]
|
1071
|
+
}], ctorParameters: () => [] });
|
1072
|
+
|
1073
|
+
class CategoriaOcorrenciaEstadoService extends BaseApiService {
|
1074
|
+
constructor(httpClient, hostEnv) {
|
1075
|
+
super(httpClient);
|
1076
|
+
this.httpClient = httpClient;
|
1077
|
+
this.hostEnv = hostEnv;
|
1078
|
+
this.rotaExisteID = 'hcm/api/v1/CategoriaOcorrenciaEstado/ExisteID';
|
1079
|
+
this.rotaSelecionar = 'hcm/api/v1/CategoriaOcorrenciaEstado/selecionar';
|
1080
|
+
this.rotaListarTodos = 'hcm/api/v1/CategoriaOcorrenciaEstado/Listar';
|
1081
|
+
this.rotaListarPorTipoCategoria = 'hcm/api/v1/CategoriaOcorrenciaEstado/ListarPorTipoCategoria';
|
1082
|
+
}
|
1083
|
+
ExisteID(idcategoriaocorrenciaestado) {
|
1084
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaExisteID}/${idcategoriaocorrenciaestado}`);
|
1085
|
+
}
|
1086
|
+
Selecionar(idcategoriaocorrenciaestado) {
|
1087
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idcategoriaocorrenciaestado}`);
|
1088
|
+
}
|
1089
|
+
Listar() {
|
1090
|
+
return this.getAll(this.hostEnv.apiUrlHcm, this.rotaListarTodos);
|
1091
|
+
}
|
1092
|
+
ListarPorCategoria(idtipocategoriaocorrenciaestado) {
|
1093
|
+
return this.getAll(this.hostEnv.apiUrlHcm, `${this.rotaListarPorTipoCategoria}/${idtipocategoriaocorrenciaestado}`);
|
1094
|
+
}
|
1095
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: CategoriaOcorrenciaEstadoService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1096
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: CategoriaOcorrenciaEstadoService, providedIn: 'root' }); }
|
1097
|
+
}
|
1098
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: CategoriaOcorrenciaEstadoService, decorators: [{
|
1099
|
+
type: Injectable,
|
1100
|
+
args: [{
|
1101
|
+
providedIn: 'root'
|
1102
|
+
}]
|
1103
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
1104
|
+
type: Inject,
|
1105
|
+
args: ['hostEnv']
|
1106
|
+
}] }] });
|
1107
|
+
|
1108
|
+
class CategoriaTrabalhadorTiposAfastamentoService extends BaseApiService {
|
1109
|
+
constructor(httpClient, hostEnv) {
|
1110
|
+
super(httpClient);
|
1111
|
+
this.httpClient = httpClient;
|
1112
|
+
this.hostEnv = hostEnv;
|
1113
|
+
this.rotaListarTodos = 'hcm/api/v1/CategoriaTrabalhadorTiposAfastamento/Listar';
|
1114
|
+
}
|
1115
|
+
Listar() {
|
1116
|
+
return this.getAll(this.hostEnv.apiUrlHcm, this.rotaListarTodos);
|
1117
|
+
}
|
1118
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: CategoriaTrabalhadorTiposAfastamentoService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1119
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: CategoriaTrabalhadorTiposAfastamentoService, providedIn: 'root' }); }
|
1120
|
+
}
|
1121
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: CategoriaTrabalhadorTiposAfastamentoService, decorators: [{
|
1122
|
+
type: Injectable,
|
1123
|
+
args: [{
|
1124
|
+
providedIn: 'root'
|
1125
|
+
}]
|
1126
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
1127
|
+
type: Inject,
|
1128
|
+
args: ['hostEnv']
|
1129
|
+
}] }] });
|
1130
|
+
|
1131
|
+
class CategoriaTrabalhadorService extends BaseApiService {
|
1132
|
+
constructor(httpClient, hostEnv) {
|
1133
|
+
super(httpClient);
|
1134
|
+
this.httpClient = httpClient;
|
1135
|
+
this.hostEnv = hostEnv;
|
1136
|
+
this.rotaExisteID = 'hcm/api/v1/CategoriaTrabalhador/ExisteID';
|
1137
|
+
this.rotaSelecionar = 'hcm/api/v1/CategoriaTrabalhador/selecionar';
|
1138
|
+
this.rotaListarTodos = 'hcm/api/v1/CategoriaTrabalhador/Listar';
|
1139
|
+
this.rotaListarPorTipoCategoria = 'hcm/api/v1/CategoriaTrabalhador/ListarPorTipoCategoria';
|
1140
|
+
}
|
1141
|
+
ExisteID(idcategoriaocorrenciaestado) {
|
1142
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaExisteID}/${idcategoriaocorrenciaestado}`);
|
1143
|
+
}
|
1144
|
+
Listar() {
|
1145
|
+
return this.getAll(this.hostEnv.apiUrlHcm, this.rotaListarTodos);
|
1146
|
+
}
|
1147
|
+
Selecionar(idcategoriaocorrenciaestado) {
|
1148
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idcategoriaocorrenciaestado}`);
|
1149
|
+
}
|
1150
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: CategoriaTrabalhadorService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1151
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: CategoriaTrabalhadorService, providedIn: 'root' }); }
|
1152
|
+
}
|
1153
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: CategoriaTrabalhadorService, decorators: [{
|
1154
|
+
type: Injectable,
|
1155
|
+
args: [{
|
1156
|
+
providedIn: 'root'
|
1157
|
+
}]
|
1158
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
1159
|
+
type: Inject,
|
1160
|
+
args: ['hostEnv']
|
1161
|
+
}] }] });
|
1162
|
+
|
1163
|
+
class CboService extends BaseApiService {
|
1164
|
+
constructor(httpClient, hostEnv) {
|
1165
|
+
super(httpClient);
|
1166
|
+
this.httpClient = httpClient;
|
1167
|
+
this.hostEnv = hostEnv;
|
1168
|
+
this.rotaExisteID = 'hcm/api/v1/cbo/ExisteID';
|
1169
|
+
this.rotaSelecionar = 'hcm/api/v1/cbo/selecionar';
|
1170
|
+
this.rotaListarTodos = 'hcm/api/v1/cbo/Listar';
|
1171
|
+
}
|
1172
|
+
ExisteID(idcbo) {
|
1173
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaExisteID}/${idcbo}`);
|
1174
|
+
}
|
1175
|
+
Listar() {
|
1176
|
+
return this.getAll(this.hostEnv.apiUrlHcm, this.rotaListarTodos);
|
1177
|
+
}
|
1178
|
+
Selecionar(idcbo) {
|
1179
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idcbo}`);
|
1180
|
+
}
|
1181
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: CboService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1182
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: CboService, providedIn: 'root' }); }
|
1183
|
+
}
|
1184
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: CboService, decorators: [{
|
1185
|
+
type: Injectable,
|
1186
|
+
args: [{
|
1187
|
+
providedIn: 'root'
|
1188
|
+
}]
|
1189
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
1190
|
+
type: Inject,
|
1191
|
+
args: ['hostEnv']
|
1192
|
+
}] }] });
|
1193
|
+
|
1194
|
+
class CodigoDirfService extends BaseApiService {
|
1195
|
+
constructor(httpClient, hostEnv) {
|
1196
|
+
super(httpClient);
|
1197
|
+
this.httpClient = httpClient;
|
1198
|
+
this.hostEnv = hostEnv;
|
1199
|
+
this.rotaExisteID = 'hcm/api/v1/codigodirf/ExisteID';
|
1200
|
+
this.rotaSelecionar = 'hcm/api/v1/codigodirf/selecionar';
|
1201
|
+
this.rotaListarTodos = 'hcm/api/v1/codigodirf/Listar';
|
1202
|
+
this.rotaListarPorTipoCategoria = 'hcm/api/v1/codigodirf/ListarPorTipoCategoria';
|
1203
|
+
}
|
1204
|
+
ExisteID(idcodigodirf) {
|
1205
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaExisteID}/${idcodigodirf}`);
|
1206
|
+
}
|
1207
|
+
Listar() {
|
1208
|
+
return this.getAll(this.hostEnv.apiUrlHcm, this.rotaListarTodos);
|
1209
|
+
}
|
1210
|
+
Selecionar(idcodigodirf) {
|
1211
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idcodigodirf}`);
|
1212
|
+
}
|
1213
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: CodigoDirfService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1214
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: CodigoDirfService, providedIn: 'root' }); }
|
1215
|
+
}
|
1216
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: CodigoDirfService, decorators: [{
|
1217
|
+
type: Injectable,
|
1218
|
+
args: [{
|
1219
|
+
providedIn: 'root'
|
1220
|
+
}]
|
1221
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
1222
|
+
type: Inject,
|
1223
|
+
args: ['hostEnv']
|
1224
|
+
}] }] });
|
1225
|
+
|
1226
|
+
class CodigoGpsService extends BaseApiService {
|
1227
|
+
constructor(httpClient, hostEnv) {
|
1228
|
+
super(httpClient);
|
1229
|
+
this.httpClient = httpClient;
|
1230
|
+
this.hostEnv = hostEnv;
|
1231
|
+
this.rotaExisteID = 'hcm/api/v1/codigogps/ExisteID';
|
1232
|
+
this.rotaSelecionar = 'hcm/api/v1/codigogps/selecionar';
|
1233
|
+
this.rotaListarTodos = 'hcm/api/v1/codigogps/Listar';
|
1234
|
+
}
|
1235
|
+
ExisteID(idcodigogps) {
|
1236
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaExisteID}/${idcodigogps}`);
|
1237
|
+
}
|
1238
|
+
Listar() {
|
1239
|
+
return this.getAll(this.hostEnv.apiUrlHcm, this.rotaListarTodos);
|
1240
|
+
}
|
1241
|
+
Selecionar(idcodigogps) {
|
1242
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idcodigogps}`);
|
1243
|
+
}
|
1244
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: CodigoGpsService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1245
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: CodigoGpsService, providedIn: 'root' }); }
|
1246
|
+
}
|
1247
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: CodigoGpsService, decorators: [{
|
1248
|
+
type: Injectable,
|
1249
|
+
args: [{
|
1250
|
+
providedIn: 'root'
|
1251
|
+
}]
|
1252
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
1253
|
+
type: Inject,
|
1254
|
+
args: ['hostEnv']
|
1255
|
+
}] }] });
|
1256
|
+
|
1257
|
+
class CodigoTerceiroService extends BaseApiService {
|
1258
|
+
constructor(httpClient, hostEnv) {
|
1259
|
+
super(httpClient);
|
1260
|
+
this.httpClient = httpClient;
|
1261
|
+
this.hostEnv = hostEnv;
|
1262
|
+
this.rotaListar = 'hcm/api/v1/codigoterceiro/listar';
|
1263
|
+
this.rotaExisteID = 'hcm/api/v1/codigoterceiro/existeid';
|
1264
|
+
this.rotaSelecionar = 'hcm/api/v1/codigoterceiro/selecionar';
|
1265
|
+
}
|
1266
|
+
Listar() {
|
1267
|
+
return this.getAll(this.hostEnv.apiUrlHcm, this.rotaListar);
|
1268
|
+
}
|
1269
|
+
ExisteID(idcodigoterceiro) {
|
1270
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaExisteID}/${idcodigoterceiro}`);
|
1271
|
+
}
|
1272
|
+
Selecionar(idcodigoterceiro) {
|
1273
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idcodigoterceiro}`);
|
1274
|
+
}
|
1275
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: CodigoTerceiroService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1276
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: CodigoTerceiroService, providedIn: 'root' }); }
|
1277
|
+
}
|
1278
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: CodigoTerceiroService, decorators: [{
|
1279
|
+
type: Injectable,
|
1280
|
+
args: [{
|
1281
|
+
providedIn: 'root'
|
1282
|
+
}]
|
1283
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
1284
|
+
type: Inject,
|
1285
|
+
args: ['hostEnv']
|
1286
|
+
}] }] });
|
1287
|
+
|
1288
|
+
class ConsiderarMesesSemTrabalharPorAfastamentoService extends BaseApiService {
|
1289
|
+
constructor(httpClient, hostEnv) {
|
1290
|
+
super(httpClient);
|
1291
|
+
this.httpClient = httpClient;
|
1292
|
+
this.hostEnv = hostEnv;
|
1293
|
+
this.rotaListar = 'hcm/api/v1/considerarmesessemtrabalharporafastamento/listar';
|
1294
|
+
this.rotaExisteID = 'hcm/api/v1/considerarmesessemtrabalharporafastamento/existeid';
|
1295
|
+
this.rotaSelecionar = 'hcm/api/v1/considerarmesessemtrabalharporafastamento/selecionar';
|
1296
|
+
}
|
1297
|
+
Listar() {
|
1298
|
+
return this.getAll(this.hostEnv.apiUrlHcm, this.rotaListar);
|
1299
|
+
}
|
1300
|
+
ExisteID(idcodigoterceiro) {
|
1301
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaExisteID}/${idcodigoterceiro}`);
|
1302
|
+
}
|
1303
|
+
Selecionar(idcodigoterceiro) {
|
1304
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idcodigoterceiro}`);
|
1305
|
+
}
|
1306
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: ConsiderarMesesSemTrabalharPorAfastamentoService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1307
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: ConsiderarMesesSemTrabalharPorAfastamentoService, providedIn: 'root' }); }
|
1308
|
+
}
|
1309
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: ConsiderarMesesSemTrabalharPorAfastamentoService, decorators: [{
|
1310
|
+
type: Injectable,
|
1311
|
+
args: [{
|
1312
|
+
providedIn: 'root'
|
1313
|
+
}]
|
1314
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
1315
|
+
type: Inject,
|
1316
|
+
args: ['hostEnv']
|
1317
|
+
}] }] });
|
1318
|
+
|
1319
|
+
class ContribuicaoPatrimonialService extends BaseApiService {
|
1320
|
+
constructor(httpClient, hostEnv) {
|
1321
|
+
super(httpClient);
|
1322
|
+
this.httpClient = httpClient;
|
1323
|
+
this.hostEnv = hostEnv;
|
1324
|
+
this.rotaListar = 'hcm/api/v1/contribuicaopatronal/listar';
|
1325
|
+
this.rotaExisteID = 'hcm/api/v1/contribuicaopatronal/existeid';
|
1326
|
+
this.rotaSelecionar = 'hcm/api/v1/contribuicaopatronal/selecionar';
|
1327
|
+
}
|
1328
|
+
Listar() {
|
1329
|
+
return this.getAll(this.hostEnv.apiUrlHcm, this.rotaListar);
|
1330
|
+
}
|
1331
|
+
ExisteID(idcontribuicaopatronal) {
|
1332
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaExisteID}/${idcontribuicaopatronal}`);
|
1333
|
+
}
|
1334
|
+
Selecionar(idcontribuicaopatronal) {
|
1335
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idcontribuicaopatronal}`);
|
1336
|
+
}
|
1337
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: ContribuicaoPatrimonialService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1338
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: ContribuicaoPatrimonialService, providedIn: 'root' }); }
|
1339
|
+
}
|
1340
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: ContribuicaoPatrimonialService, decorators: [{
|
1341
|
+
type: Injectable,
|
1342
|
+
args: [{
|
1343
|
+
providedIn: 'root'
|
1344
|
+
}]
|
1345
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
1346
|
+
type: Inject,
|
1347
|
+
args: ['hostEnv']
|
1348
|
+
}] }] });
|
1349
|
+
|
1350
|
+
class CooperativaService extends BaseApiService {
|
1351
|
+
constructor(httpClient, hostEnv) {
|
1352
|
+
super(httpClient);
|
1353
|
+
this.httpClient = httpClient;
|
1354
|
+
this.hostEnv = hostEnv;
|
1355
|
+
this.rotaListar = 'hcm/api/v1/cooperativa/listar';
|
1356
|
+
this.rotaExisteID = 'hcm/api/v1/cooperativa/existeid';
|
1357
|
+
this.rotaSelecionar = 'hcm/api/v1/cooperativa/selecionar';
|
1358
|
+
}
|
1359
|
+
Listar() {
|
1360
|
+
return this.getAll(this.hostEnv.apiUrlHcm, this.rotaListar);
|
1361
|
+
}
|
1362
|
+
ExisteID(idcooperativa) {
|
1363
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaExisteID}/${idcooperativa}`);
|
1364
|
+
}
|
1365
|
+
Selecionar(idcooperativa) {
|
1366
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idcooperativa}`);
|
1367
|
+
}
|
1368
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: CooperativaService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1369
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: CooperativaService, providedIn: 'root' }); }
|
1370
|
+
}
|
1371
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: CooperativaService, decorators: [{
|
1372
|
+
type: Injectable,
|
1373
|
+
args: [{
|
1374
|
+
providedIn: 'root'
|
1375
|
+
}]
|
1376
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
1377
|
+
type: Inject,
|
1378
|
+
args: ['hostEnv']
|
1379
|
+
}] }] });
|
1380
|
+
|
1381
|
+
class FpasService extends BaseApiService {
|
1382
|
+
constructor(httpClient, hostEnv) {
|
1383
|
+
super(httpClient);
|
1384
|
+
this.httpClient = httpClient;
|
1385
|
+
this.hostEnv = hostEnv;
|
1386
|
+
this.rotaListar = 'hcm/api/v1/fpas/listar';
|
1387
|
+
this.rotaExisteID = 'hcm/api/v1/fpas/existeid';
|
1388
|
+
this.rotaSelecionar = 'hcm/api/v1/fpas/selecionar';
|
1389
|
+
}
|
1390
|
+
Listar() {
|
1391
|
+
return this.getAll(this.hostEnv.apiUrlHcm, this.rotaListar);
|
1392
|
+
}
|
1393
|
+
ExisteID(idfpas) {
|
1394
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaExisteID}/${idfpas}`);
|
1395
|
+
}
|
1396
|
+
Selecionar(idfpas) {
|
1397
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idfpas}`);
|
1398
|
+
}
|
1399
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: FpasService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1400
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: FpasService, providedIn: 'root' }); }
|
1401
|
+
}
|
1402
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: FpasService, decorators: [{
|
1403
|
+
type: Injectable,
|
1404
|
+
args: [{
|
1405
|
+
providedIn: 'root'
|
1406
|
+
}]
|
1407
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
1408
|
+
type: Inject,
|
1409
|
+
args: ['hostEnv']
|
1410
|
+
}] }] });
|
1411
|
+
|
1412
|
+
class TipoPagamentoSalarioService extends BaseApiService {
|
1413
|
+
constructor(httpClient, hostEnv) {
|
1414
|
+
super(httpClient);
|
1415
|
+
this.httpClient = httpClient;
|
1416
|
+
this.hostEnv = hostEnv;
|
1417
|
+
this.rotaListar = 'hcm/api/v1/tipopagamentosalario/listar';
|
1418
|
+
this.rotaExisteID = 'hcm/api/v1/tipopagamentosalario/existeid';
|
1419
|
+
this.rotaSelecionar = 'hcm/api/v1/tipopagamentosalario/selecionar';
|
1420
|
+
}
|
1421
|
+
Listar() {
|
1422
|
+
return this.getAll(this.hostEnv.apiUrlHcm, this.rotaListar);
|
1423
|
+
}
|
1424
|
+
ExisteID(idtipopagamentosalario) {
|
1425
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaExisteID}/${idtipopagamentosalario}`);
|
1426
|
+
}
|
1427
|
+
Selecionar(idtipopagamentosalario) {
|
1428
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idtipopagamentosalario}`);
|
1429
|
+
}
|
1430
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: TipoPagamentoSalarioService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1431
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: TipoPagamentoSalarioService, providedIn: 'root' }); }
|
1432
|
+
}
|
1433
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: TipoPagamentoSalarioService, decorators: [{
|
1434
|
+
type: Injectable,
|
1435
|
+
args: [{
|
1436
|
+
providedIn: 'root'
|
1437
|
+
}]
|
1438
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
1439
|
+
type: Inject,
|
1440
|
+
args: ['hostEnv']
|
1441
|
+
}] }] });
|
1442
|
+
|
1443
|
+
class TipoSalarioService extends BaseApiService {
|
1444
|
+
constructor(httpClient, hostEnv) {
|
1445
|
+
super(httpClient);
|
1446
|
+
this.httpClient = httpClient;
|
1447
|
+
this.hostEnv = hostEnv;
|
1448
|
+
this.rotaListar = 'hcm/api/v1/tiposalario/listar';
|
1449
|
+
this.rotaExisteID = 'hcm/api/v1/tiposalario/existeid';
|
1450
|
+
this.rotaSelecionar = 'hcm/api/v1/tiposalario/selecionar';
|
1451
|
+
}
|
1452
|
+
Listar() {
|
1453
|
+
return this.getAll(this.hostEnv.apiUrlHcm, this.rotaListar);
|
1454
|
+
}
|
1455
|
+
ExisteID(idtipopagamentosalario) {
|
1456
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaExisteID}/${idtipopagamentosalario}`);
|
1457
|
+
}
|
1458
|
+
Selecionar(idtipopagamentosalario) {
|
1459
|
+
return this.get(this.hostEnv.apiUrlHcm, `${this.rotaSelecionar}/${idtipopagamentosalario}`);
|
1460
|
+
}
|
1461
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: TipoSalarioService, deps: [{ token: i1.HttpClient }, { token: 'hostEnv' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
1462
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: TipoSalarioService, providedIn: 'root' }); }
|
1463
|
+
}
|
1464
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.8", ngImport: i0, type: TipoSalarioService, decorators: [{
|
1465
|
+
type: Injectable,
|
1466
|
+
args: [{
|
1467
|
+
providedIn: 'root'
|
1468
|
+
}]
|
1469
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
1470
|
+
type: Inject,
|
1471
|
+
args: ['hostEnv']
|
1472
|
+
}] }] });
|
1473
|
+
|
1474
|
+
/*
|
1475
|
+
* Public API Surface of keevo-api-services-hcm
|
1476
|
+
*/
|
1477
|
+
/**
|
1478
|
+
* Models
|
1479
|
+
*/
|
1480
|
+
|
1481
|
+
/**
|
1482
|
+
* Generated bundle index. Do not edit.
|
1483
|
+
*/
|
1484
|
+
|
1485
|
+
export { AnalistaPessoaService, CargoService, CategoriaOcorrenciaEstadoService, CategoriaTrabalhadorService, CategoriaTrabalhadorTiposAfastamentoService, CboService, CentroCustoService, CentroResultadoService, CodigoDirfService, CodigoGpsService, CodigoTerceiroService, ColaboradorService, ConsiderarMesesSemTrabalharPorAfastamentoService, ContribuicaoPatrimonialService, CooperativaService, DadosConfiguracoesService, DepartamentoService, EmpresaBannerService, EmpresaParametrosService, EmpresaService, EquipeMembroService, EquipeService, FpasService, HierarquiaOrganizacionalService, KeexService, LiderService, RegistroService, RelacionamentoLotacaoService, SubTipoOcorrenciaService, TipoEstadoService, TipoOcorrenciaService, TipoPagamentoSalarioService, TipoSalarioService, TomadorService, UnidadeAdministrativaService, UnidadehierarquicaService, ValidatorsService };
|
1486
|
+
//# sourceMappingURL=keevo-api-services-hcm.mjs.map
|