keevo-api-services-hcm 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/index.mjs +2 -0
- package/esm2022/keevo-api-services-hcm.mjs +5 -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/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/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/pessoa/analista/analistapessoa.model.mjs +2 -0
- package/esm2022/lib/models/pessoa/analista/possivelanalistapessoa.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/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/modules/api-services-hcm.module.mjs +45 -0
- package/esm2022/lib/services/hcm/cargo.service.mjs +29 -0
- package/esm2022/lib/services/hcm/centro-custo.service.mjs +37 -0
- package/esm2022/lib/services/hcm/centro-resultado.service.mjs +33 -0
- package/esm2022/lib/services/hcm/departamento.service.mjs +33 -0
- package/esm2022/lib/services/hcm/equipe-membro.service.mjs +53 -0
- package/esm2022/lib/services/hcm/equipe.service.mjs +45 -0
- package/esm2022/lib/services/hcm/relacionamento-lotacao.service.mjs +53 -0
- package/esm2022/lib/services/hcm/sub-tipo-ocorrencia.service.mjs +33 -0
- package/esm2022/lib/services/hcm/tipo-estado.service.mjs +41 -0
- package/esm2022/lib/services/hcm/tipo-ocorrencia.service.mjs +41 -0
- package/esm2022/lib/services/hcm/unidade-administrativa.service.mjs +33 -0
- package/esm2022/lib/services/hcm/unidade-hierarquica.service.mjs +61 -0
- package/esm2022/lib/services/passaporte/empresa-banner.service.mjs +32 -0
- package/esm2022/lib/services/passaporte/empresa-parametros.service.mjs +36 -0
- package/esm2022/lib/services/passaporte/empresa.service.mjs +32 -0
- package/esm2022/lib/services/pessoa/analista-pessoa.service.mjs +45 -0
- package/esm2022/lib/services/pessoa/keex.service.mjs +49 -0
- package/esm2022/lib/services/pessoa/lider.service.mjs +80 -0
- package/esm2022/lib/services/pessoa/registro.service.mjs +68 -0
- package/esm2022/lib/services/pessoa/tomador.service.mjs +33 -0
- package/esm2022/lib/services/utilitarios/dadosrelacionamento.service.mjs +29 -0
- package/esm2022/public-api.mjs +98 -0
- package/fesm2022/keevo-api-services-hcm.mjs +839 -0
- package/fesm2022/keevo-api-services-hcm.mjs.map +1 -0
- package/index.d.ts +1 -0
- package/lib/models/filtro/filtroaniversariante.model.d.ts +9 -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/lib/models/filtro/filtrolistahcm.model.d.ts +10 -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 +10 -0
- package/{src/lib/models/filtro/filtrolistaregistro.model.ts → lib/models/filtro/filtrolistaregistro.model.d.ts} +3 -4
- 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 +9 -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/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/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/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/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/modules/api-services-hcm.module.d.ts +10 -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/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/keex.service.d.ts +27 -0
- package/lib/services/pessoa/lider.service.d.ts +44 -0
- package/lib/services/pessoa/registro.service.d.ts +40 -0
- package/lib/services/pessoa/tomador.service.d.ts +17 -0
- package/lib/services/utilitarios/dadosrelacionamento.service.d.ts +11 -0
- package/package.json +16 -3
- package/{src/public-api.ts → public-api.d.ts} +1 -7
- package/ng-package.json +0 -7
- package/src/index.ts +0 -1
- package/src/lib/models/filtro/filtroaniversariante.model.ts +0 -9
- package/src/lib/models/filtro/filtrocpfcnpj.ts +0 -7
- package/src/lib/models/filtro/filtrolistahcm.model.ts +0 -10
- package/src/lib/models/filtro/filtrolistalidersubstituto.model.ts +0 -10
- package/src/lib/models/filtro/filtrolistausuario.model.ts +0 -9
- 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/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/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/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/modules/api-services-hcm.module.ts +0 -61
- package/src/lib/services/hcm/cargo.service.ts +0 -22
- package/src/lib/services/hcm/centro-custo.service.ts +0 -32
- package/src/lib/services/hcm/centro-resultado.service.ts +0 -27
- package/src/lib/services/hcm/departamento.service.ts +0 -27
- package/src/lib/services/hcm/equipe-membro.service.ts +0 -56
- package/src/lib/services/hcm/equipe.service.ts +0 -45
- package/src/lib/services/hcm/relacionamento-lotacao.service.ts +0 -52
- package/src/lib/services/hcm/sub-tipo-ocorrencia.service.ts +0 -27
- package/src/lib/services/hcm/tipo-estado.service.ts +0 -39
- package/src/lib/services/hcm/tipo-ocorrencia.service.ts +0 -37
- package/src/lib/services/hcm/unidade-administrativa.service.ts +0 -27
- package/src/lib/services/hcm/unidade-hierarquica.service.ts +0 -64
- package/src/lib/services/passaporte/empresa-banner.service.ts +0 -26
- package/src/lib/services/passaporte/empresa-parametros.service.ts +0 -31
- package/src/lib/services/passaporte/empresa.service.ts +0 -27
- package/src/lib/services/pessoa/analista-pessoa.service.ts +0 -43
- package/src/lib/services/pessoa/keex.service.ts +0 -50
- package/src/lib/services/pessoa/lider.service.ts +0 -91
- package/src/lib/services/pessoa/registro.service.ts +0 -77
- package/src/lib/services/pessoa/tomador.service.ts +0 -27
- package/src/lib/services/utilitarios/dadosrelacionamento.service.ts +0 -25
- 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,839 @@
|
|
1
|
+
import * as i1 from '@angular/common/http';
|
2
|
+
import { HttpHeaders } from '@angular/common/http';
|
3
|
+
import * as i0 from '@angular/core';
|
4
|
+
import { Injectable, Inject, NgModule } from '@angular/core';
|
5
|
+
import * as i2 from 'keevo-api-services';
|
6
|
+
import { BaseApiService } from 'keevo-api-services';
|
7
|
+
import { CommonModule } from '@angular/common';
|
8
|
+
|
9
|
+
class CargoService extends BaseApiService {
|
10
|
+
constructor(httpClient, configHcm) {
|
11
|
+
super(httpClient);
|
12
|
+
this.httpClient = httpClient;
|
13
|
+
this.configHcm = configHcm;
|
14
|
+
this.rotaListarTodos = 'hcm/api/v1/cargo/listartodos';
|
15
|
+
}
|
16
|
+
Listar(filtro) {
|
17
|
+
return this.getAllHeaders(this.configHcm.apiUrl, this.rotaListarTodos, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
18
|
+
}
|
19
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: CargoService, deps: [{ token: i1.HttpClient }, { token: 'configHcm' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
20
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: CargoService, providedIn: 'root' }); }
|
21
|
+
}
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: CargoService, decorators: [{
|
23
|
+
type: Injectable,
|
24
|
+
args: [{
|
25
|
+
providedIn: 'root'
|
26
|
+
}]
|
27
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: i2.Configurations, decorators: [{
|
28
|
+
type: Inject,
|
29
|
+
args: ['configHcm']
|
30
|
+
}] }] });
|
31
|
+
|
32
|
+
class CentroCustoService extends BaseApiService {
|
33
|
+
constructor(httpClient, configHcm) {
|
34
|
+
super(httpClient);
|
35
|
+
this.httpClient = httpClient;
|
36
|
+
this.configHcm = configHcm;
|
37
|
+
this.rotaListar = 'hcm/api/v1/centrocusto/listar';
|
38
|
+
this.rotaListarTodos = 'hcm/api/v1/centrocusto/listartodos';
|
39
|
+
this.rotaSelecionar = 'hcm/api/v1/centrocusto/selecionar';
|
40
|
+
}
|
41
|
+
Listar(filtro) {
|
42
|
+
return this.getAllHeaders(this.configHcm.apiUrl, this.rotaListar, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
43
|
+
}
|
44
|
+
ListarTodos(filtro) {
|
45
|
+
return this.getAllHeaders(this.configHcm.apiUrl, this.rotaListarTodos, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
46
|
+
}
|
47
|
+
Selecionar(idcentrocusto) {
|
48
|
+
return this.get(this.configHcm.apiUrl, `${this.rotaSelecionar}/${idcentrocusto}`);
|
49
|
+
}
|
50
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: CentroCustoService, deps: [{ token: i1.HttpClient }, { token: 'configHcm' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
51
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: CentroCustoService, providedIn: 'root' }); }
|
52
|
+
}
|
53
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: CentroCustoService, decorators: [{
|
54
|
+
type: Injectable,
|
55
|
+
args: [{
|
56
|
+
providedIn: 'root'
|
57
|
+
}]
|
58
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: i2.Configurations, decorators: [{
|
59
|
+
type: Inject,
|
60
|
+
args: ['configHcm']
|
61
|
+
}] }] });
|
62
|
+
|
63
|
+
class CentroResultadoService extends BaseApiService {
|
64
|
+
constructor(httpClient, configHcm) {
|
65
|
+
super(httpClient);
|
66
|
+
this.httpClient = httpClient;
|
67
|
+
this.configHcm = configHcm;
|
68
|
+
this.rotaListarTodos = 'hcm/api/v1/centroresultado/listartodos';
|
69
|
+
this.rotaSelecionar = 'hcm/api/v1/centroresultado/selecionar';
|
70
|
+
}
|
71
|
+
ListarTodos(filtro) {
|
72
|
+
return this.getAllHeaders(this.configHcm.apiUrl, this.rotaListarTodos, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
73
|
+
}
|
74
|
+
Selecionar(idcentroresultado) {
|
75
|
+
return this.get(this.configHcm.apiUrl, `${this.rotaSelecionar}/${idcentroresultado}`);
|
76
|
+
}
|
77
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: CentroResultadoService, deps: [{ token: i1.HttpClient }, { token: 'configHcm' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
78
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: CentroResultadoService, providedIn: 'root' }); }
|
79
|
+
}
|
80
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: CentroResultadoService, decorators: [{
|
81
|
+
type: Injectable,
|
82
|
+
args: [{
|
83
|
+
providedIn: 'root'
|
84
|
+
}]
|
85
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: i2.Configurations, decorators: [{
|
86
|
+
type: Inject,
|
87
|
+
args: ['configHcm']
|
88
|
+
}] }] });
|
89
|
+
|
90
|
+
class DepartamentoService extends BaseApiService {
|
91
|
+
constructor(httpClient, configHcm) {
|
92
|
+
super(httpClient);
|
93
|
+
this.httpClient = httpClient;
|
94
|
+
this.configHcm = configHcm;
|
95
|
+
this.rotaListarTodos = 'hcm/api/v1/departamento/listartodos';
|
96
|
+
this.rotaListarSelecionar = 'hcm/api/v1/departamento/selecionar';
|
97
|
+
}
|
98
|
+
ListarTodos(filtro) {
|
99
|
+
return this.getAllHeaders(this.configHcm.apiUrl, this.rotaListarTodos, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
100
|
+
}
|
101
|
+
Selecionar(iddepartamento) {
|
102
|
+
return this.get(this.configHcm.apiUrl, `${this.rotaListarSelecionar}/${iddepartamento}`);
|
103
|
+
}
|
104
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: DepartamentoService, deps: [{ token: i1.HttpClient }, { token: 'configHcm' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
105
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: DepartamentoService, providedIn: 'root' }); }
|
106
|
+
}
|
107
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: DepartamentoService, decorators: [{
|
108
|
+
type: Injectable,
|
109
|
+
args: [{
|
110
|
+
providedIn: 'root'
|
111
|
+
}]
|
112
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: i2.Configurations, decorators: [{
|
113
|
+
type: Inject,
|
114
|
+
args: ['configHcm']
|
115
|
+
}] }] });
|
116
|
+
|
117
|
+
class EquipeMembroService extends BaseApiService {
|
118
|
+
constructor(httpClient, configHcm) {
|
119
|
+
super(httpClient);
|
120
|
+
this.httpClient = httpClient;
|
121
|
+
this.configHcm = configHcm;
|
122
|
+
this.rotaExcluir = 'hcm/api/v1/equipemembro/excluir';
|
123
|
+
this.rotaListar = 'hcm/api/v1/equipemembro/listar';
|
124
|
+
this.rotaListarPorchave = 'hcm/api/v1/equipemembro/listarporchave';
|
125
|
+
this.rotaListarPossiveisMembros = 'hcm/api/v1/equipemembro/listarpossiveismembros';
|
126
|
+
this.rotaSalvar = 'hcm/api/v1/equipemembro/salvar';
|
127
|
+
this.rotaSalvarEmLote = 'hcm/api/v1/equipemembro/salvaremlote';
|
128
|
+
this.rotaSelecionar = 'hcm/api/v1/equipemembro/selecionar';
|
129
|
+
}
|
130
|
+
Excluir(idanalista) {
|
131
|
+
return this.delete(this.configHcm.apiUrl, `${this.rotaExcluir}/${idanalista}`);
|
132
|
+
}
|
133
|
+
Listar(filtro) {
|
134
|
+
return this.getAllHeaders(this.configHcm.apiUrl, this.rotaListar, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
135
|
+
}
|
136
|
+
ListarPorChave(filtro) {
|
137
|
+
return this.getAllHeaders(this.configHcm.apiUrl, this.rotaListarPorchave, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
138
|
+
}
|
139
|
+
ListarPossiveisMembros(filtro) {
|
140
|
+
return this.getAllHeaders(this.configHcm.apiUrl, this.rotaListarPossiveisMembros, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
141
|
+
}
|
142
|
+
Salvar(data) {
|
143
|
+
return this.post(this.configHcm.apiUrl, this.rotaSalvar, data);
|
144
|
+
}
|
145
|
+
SalvarEmLote(data) {
|
146
|
+
return this.post(this.configHcm.apiUrl, this.rotaSalvarEmLote, data);
|
147
|
+
}
|
148
|
+
Selecionar(idanalista) {
|
149
|
+
return this.get(this.configHcm.apiUrl, `${this.rotaSelecionar}/${idanalista}`);
|
150
|
+
}
|
151
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: EquipeMembroService, deps: [{ token: i1.HttpClient }, { token: 'configHcm' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
152
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: EquipeMembroService, providedIn: 'root' }); }
|
153
|
+
}
|
154
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: EquipeMembroService, decorators: [{
|
155
|
+
type: Injectable,
|
156
|
+
args: [{
|
157
|
+
providedIn: 'root'
|
158
|
+
}]
|
159
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: i2.Configurations, decorators: [{
|
160
|
+
type: Inject,
|
161
|
+
args: ['configHcm']
|
162
|
+
}] }] });
|
163
|
+
|
164
|
+
class EquipeService extends BaseApiService {
|
165
|
+
constructor(httpClient, configHcm) {
|
166
|
+
super(httpClient);
|
167
|
+
this.httpClient = httpClient;
|
168
|
+
this.configHcm = configHcm;
|
169
|
+
this.rotaExcluir = 'hcm/api/v1/equipe/excluir';
|
170
|
+
this.rotaListar = 'hcm/api/v1/equipe/listar';
|
171
|
+
this.rotaListarPorchave = 'hcm/api/v1/equipe/listarporchave';
|
172
|
+
this.rotaSalvar = 'hcm/api/v1/equipe/salvar';
|
173
|
+
this.rotaSelecionar = 'hcm/api/v1/equipe/selecionar';
|
174
|
+
}
|
175
|
+
Excluir(idequipe) {
|
176
|
+
return this.delete(this.configHcm.apiUrl, `${this.rotaExcluir}/${idequipe}`);
|
177
|
+
}
|
178
|
+
Listar(filtro) {
|
179
|
+
return this.getAllHeaders(this.configHcm.apiUrl, this.rotaListar, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
180
|
+
}
|
181
|
+
ListarPorChave(filtro) {
|
182
|
+
return this.getAllHeaders(this.configHcm.apiUrl, this.rotaListarPorchave, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
183
|
+
}
|
184
|
+
Salvar(data) {
|
185
|
+
return this.post(this.configHcm.apiUrl, this.rotaSalvar, data);
|
186
|
+
}
|
187
|
+
Selecionar(idanalista) {
|
188
|
+
return this.get(this.configHcm.apiUrl, `${this.rotaSelecionar}/${idanalista}`);
|
189
|
+
}
|
190
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: EquipeService, deps: [{ token: i1.HttpClient }, { token: 'configHcm' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
191
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: EquipeService, providedIn: 'root' }); }
|
192
|
+
}
|
193
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: EquipeService, decorators: [{
|
194
|
+
type: Injectable,
|
195
|
+
args: [{
|
196
|
+
providedIn: 'root'
|
197
|
+
}]
|
198
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: i2.Configurations, decorators: [{
|
199
|
+
type: Inject,
|
200
|
+
args: ['configHcm']
|
201
|
+
}] }] });
|
202
|
+
|
203
|
+
class RelacionamentoLotacaoService extends BaseApiService {
|
204
|
+
constructor(httpClient, configHcm) {
|
205
|
+
super(httpClient);
|
206
|
+
this.httpClient = httpClient;
|
207
|
+
this.configHcm = configHcm;
|
208
|
+
this.rotaExcluir = 'hcm/api/v1/relacionamentolotacao/excluir';
|
209
|
+
this.rotaExisteEmpresa = 'hcm/api/v1/relacionamentolotacao/existeempresa';
|
210
|
+
this.rotaListar = 'hcm/api/v1/relacionamentolotacao/listar';
|
211
|
+
this.rotaListarTodos = 'hcm/api/v1/relacionamentolotacao/listartodos';
|
212
|
+
this.rotaListarPossiveisAnalistas = 'hcm/api/v1/relacionamentolotacao/listarpossiveisanalistas';
|
213
|
+
this.rotaSalvar = 'hcm/api/v1/relacionamentolotacao/salvar';
|
214
|
+
this.rotaSelecionar = 'hcm/api/v1/relacionamentolotacao/selecionar';
|
215
|
+
}
|
216
|
+
Excluir(idanalista) {
|
217
|
+
return this.delete(this.configHcm.apiUrl, `${this.rotaExcluir}/${idanalista}`);
|
218
|
+
}
|
219
|
+
ExisteEmpresa(idmaster, idempresaevocenter) {
|
220
|
+
return this.get(this.configHcm.apiUrl, `${this.rotaExisteEmpresa}/${idmaster}/${idempresaevocenter}`);
|
221
|
+
}
|
222
|
+
Listar(filtro) {
|
223
|
+
return this.getAllHeaders(this.configHcm.apiUrl, this.rotaListar, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
224
|
+
}
|
225
|
+
ListarTodos(filtro) {
|
226
|
+
return this.getAllHeaders(this.configHcm.apiUrl, this.rotaListarTodos, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
227
|
+
}
|
228
|
+
ListarPossiveisAnalistas(filtro) {
|
229
|
+
return this.getAllHeaders(this.configHcm.apiUrl, this.rotaListarPossiveisAnalistas, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
230
|
+
}
|
231
|
+
Salvar(data) {
|
232
|
+
return this.post(this.configHcm.apiUrl, this.rotaSalvar, data);
|
233
|
+
}
|
234
|
+
Selecionar(idrelacionamentolotacao) {
|
235
|
+
return this.get(this.configHcm.apiUrl, `${this.rotaSelecionar}/${idrelacionamentolotacao}`);
|
236
|
+
}
|
237
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: RelacionamentoLotacaoService, deps: [{ token: i1.HttpClient }, { token: 'configHcm' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
238
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: RelacionamentoLotacaoService, providedIn: 'root' }); }
|
239
|
+
}
|
240
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: RelacionamentoLotacaoService, decorators: [{
|
241
|
+
type: Injectable,
|
242
|
+
args: [{
|
243
|
+
providedIn: 'root'
|
244
|
+
}]
|
245
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: i2.Configurations, decorators: [{
|
246
|
+
type: Inject,
|
247
|
+
args: ['configHcm']
|
248
|
+
}] }] });
|
249
|
+
|
250
|
+
class SubTipoOcorrenciaService extends BaseApiService {
|
251
|
+
constructor(httpClient, configHcm) {
|
252
|
+
super(httpClient);
|
253
|
+
this.httpClient = httpClient;
|
254
|
+
this.configHcm = configHcm;
|
255
|
+
this.rotaListar = 'hcm/api/v1/subtipoocorrencia/listar';
|
256
|
+
this.rotaSalvar = 'hcm/api/v1/subtipoocorrencia/salvar';
|
257
|
+
}
|
258
|
+
Listar(filtro) {
|
259
|
+
return this.getAllHeaders(this.configHcm.apiUrl, this.rotaListar, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
260
|
+
}
|
261
|
+
Salvar(data) {
|
262
|
+
return this.post(this.configHcm.apiUrl, this.rotaSalvar, data);
|
263
|
+
}
|
264
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: SubTipoOcorrenciaService, deps: [{ token: i1.HttpClient }, { token: 'configHcm' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
265
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: SubTipoOcorrenciaService, providedIn: 'root' }); }
|
266
|
+
}
|
267
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: SubTipoOcorrenciaService, decorators: [{
|
268
|
+
type: Injectable,
|
269
|
+
args: [{
|
270
|
+
providedIn: 'root'
|
271
|
+
}]
|
272
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: i2.Configurations, decorators: [{
|
273
|
+
type: Inject,
|
274
|
+
args: ['configHcm']
|
275
|
+
}] }] });
|
276
|
+
|
277
|
+
class TipoEstadoService extends BaseApiService {
|
278
|
+
constructor(httpClient, configHcm) {
|
279
|
+
super(httpClient);
|
280
|
+
this.httpClient = httpClient;
|
281
|
+
this.configHcm = configHcm;
|
282
|
+
this.rotaExcluir = 'hcm/api/v1/tipoestado/excluir';
|
283
|
+
this.rotaListar = 'hcm/api/v1/tipoestado/listar';
|
284
|
+
this.rotaSalvar = 'hcm/api/v1/tipoestado/salvar';
|
285
|
+
this.rotaSelecionar = 'hcm/api/v1/tipoestado/selecionar';
|
286
|
+
}
|
287
|
+
Excluir(id) {
|
288
|
+
return this.delete(this.configHcm.apiUrl, `${this.rotaExcluir}/${id}`);
|
289
|
+
}
|
290
|
+
Listar(filtro) {
|
291
|
+
return this.getAllHeaders(this.configHcm.apiUrl, this.rotaListar, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
292
|
+
}
|
293
|
+
Salvar(estado) {
|
294
|
+
return this.post(this.configHcm.apiUrl, this.rotaSalvar, estado);
|
295
|
+
}
|
296
|
+
Selecionar(id) {
|
297
|
+
return this.get(this.configHcm.apiUrl, `${this.rotaSelecionar}/${id}`);
|
298
|
+
}
|
299
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: TipoEstadoService, deps: [{ token: i1.HttpClient }, { token: 'configHcm' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
300
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: TipoEstadoService, providedIn: 'root' }); }
|
301
|
+
}
|
302
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: TipoEstadoService, decorators: [{
|
303
|
+
type: Injectable,
|
304
|
+
args: [{
|
305
|
+
providedIn: 'root'
|
306
|
+
}]
|
307
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: i2.Configurations, decorators: [{
|
308
|
+
type: Inject,
|
309
|
+
args: ['configHcm']
|
310
|
+
}] }] });
|
311
|
+
|
312
|
+
class TipoOcorrenciaService extends BaseApiService {
|
313
|
+
constructor(httpClient, configHcm) {
|
314
|
+
super(httpClient);
|
315
|
+
this.httpClient = httpClient;
|
316
|
+
this.configHcm = configHcm;
|
317
|
+
this.rotaExcluir = 'hcm/api/v1/tipoocorrencia/excluir';
|
318
|
+
this.rotaListar = 'hcm/api/v1/tipoocorrencia/listar';
|
319
|
+
this.rotaSalvar = 'hcm/api/v1/tipoocorrencia/salvar';
|
320
|
+
this.rotaSelecionar = 'hcm/api/v1/tipoocorrencia/selecionar';
|
321
|
+
}
|
322
|
+
Excluir(idtipoocorrencia) {
|
323
|
+
return this.delete(this.configHcm.apiUrl, `${this.rotaExcluir}/${idtipoocorrencia}`);
|
324
|
+
}
|
325
|
+
Listar(filtro) {
|
326
|
+
return this.getAllHeaders(this.configHcm.apiUrl, this.rotaListar, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
327
|
+
}
|
328
|
+
Salvar(data) {
|
329
|
+
return this.post(this.configHcm.apiUrl, this.rotaSalvar, data);
|
330
|
+
}
|
331
|
+
Selecionar(idtipoocorrencia) {
|
332
|
+
return this.get(this.configHcm.apiUrl, `${this.rotaSelecionar}/${idtipoocorrencia}`);
|
333
|
+
}
|
334
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: TipoOcorrenciaService, deps: [{ token: i1.HttpClient }, { token: 'configHcm' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
335
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: TipoOcorrenciaService, providedIn: 'root' }); }
|
336
|
+
}
|
337
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: TipoOcorrenciaService, decorators: [{
|
338
|
+
type: Injectable,
|
339
|
+
args: [{
|
340
|
+
providedIn: 'root'
|
341
|
+
}]
|
342
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: i2.Configurations, decorators: [{
|
343
|
+
type: Inject,
|
344
|
+
args: ['configHcm']
|
345
|
+
}] }] });
|
346
|
+
|
347
|
+
class UnidadeAdministrativaService extends BaseApiService {
|
348
|
+
constructor(httpClient, configHcm) {
|
349
|
+
super(httpClient);
|
350
|
+
this.httpClient = httpClient;
|
351
|
+
this.configHcm = configHcm;
|
352
|
+
this.rotaListarTodos = 'hcm/api/v1/unidadeadministrativa/listartodos';
|
353
|
+
this.rotaSelecionar = 'hcm/api/v1/unidadeadministrativa/selecionar';
|
354
|
+
}
|
355
|
+
ListarTodos(filtro) {
|
356
|
+
return this.getAllHeaders(this.configHcm.apiUrl, this.rotaListarTodos, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
357
|
+
}
|
358
|
+
Selecionar(idunidadeadministrativa) {
|
359
|
+
return this.get(this.configHcm.apiUrl, `${this.rotaSelecionar}/${idunidadeadministrativa}`);
|
360
|
+
}
|
361
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: UnidadeAdministrativaService, deps: [{ token: i1.HttpClient }, { token: 'configHcm' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
362
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: UnidadeAdministrativaService, providedIn: 'root' }); }
|
363
|
+
}
|
364
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: UnidadeAdministrativaService, decorators: [{
|
365
|
+
type: Injectable,
|
366
|
+
args: [{
|
367
|
+
providedIn: 'root'
|
368
|
+
}]
|
369
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: i2.Configurations, decorators: [{
|
370
|
+
type: Inject,
|
371
|
+
args: ['configHcm']
|
372
|
+
}] }] });
|
373
|
+
|
374
|
+
class UnidadehierarquicaService extends BaseApiService {
|
375
|
+
constructor(httpClient, configHcm) {
|
376
|
+
super(httpClient);
|
377
|
+
this.httpClient = httpClient;
|
378
|
+
this.configHcm = configHcm;
|
379
|
+
this.rotaExcluir = 'hcm/api/v1/unidadehierarquica/excluir';
|
380
|
+
this.rotaExisteEmpresa = 'hcm/api/v1/unidadehierarquica/existeempresa';
|
381
|
+
this.rotaListar = 'hcm/api/v1/unidadehierarquica/listar';
|
382
|
+
this.rotaListarTodos = 'hcm/api/v1/unidadehierarquica/listartodos';
|
383
|
+
this.rotaListarPorChave = 'hcm/api/v1/unidadehierarquica/listarporchave';
|
384
|
+
this.rotaListarPossiveisUnidadesSuperiores = 'hcm/api/v1/unidadehierarquica/listarpossiveisunidadessuperiores';
|
385
|
+
this.rotaSelecionarRaizPorChave = 'hcm/api/v1/unidadehierarquica/SelecionarRaizPorChave';
|
386
|
+
this.rotaSalvar = 'hcm/api/v1/unidadehierarquica/salvar';
|
387
|
+
this.rotaSelecionar = 'hcm/api/v1/unidadehierarquica/selecionar';
|
388
|
+
}
|
389
|
+
Excluir(idunidadehierarquica) {
|
390
|
+
return this.delete(this.configHcm.apiUrl, `${this.rotaExcluir}/${idunidadehierarquica}`);
|
391
|
+
}
|
392
|
+
ExisteEmpresa(idmaster, idempresaevocenter) {
|
393
|
+
return this.get(this.configHcm.apiUrl, `${this.rotaExisteEmpresa}/${idmaster}/${idempresaevocenter}`);
|
394
|
+
}
|
395
|
+
Listar(filtro) {
|
396
|
+
return this.getAllHeaders(this.configHcm.apiUrl, this.rotaListar, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
397
|
+
}
|
398
|
+
ListarPorChave(filtro) {
|
399
|
+
return this.getAllHeaders(this.configHcm.apiUrl, this.rotaListarPorChave, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
400
|
+
}
|
401
|
+
ListarPossiveisUnidadesSuperiores(filtro) {
|
402
|
+
return this.getAllHeaders(this.configHcm.apiUrl, this.rotaListarPossiveisUnidadesSuperiores, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
403
|
+
}
|
404
|
+
ListarTodos(filtro) {
|
405
|
+
return this.getAllHeaders(this.configHcm.apiUrl, this.rotaListarTodos, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
406
|
+
}
|
407
|
+
Salvar(data) {
|
408
|
+
return this.post(this.configHcm.apiUrl, this.rotaSalvar, data);
|
409
|
+
}
|
410
|
+
Selecionar(idunidadehierarquica) {
|
411
|
+
return this.get(this.configHcm.apiUrl, `${this.rotaSelecionar}/${idunidadehierarquica}`);
|
412
|
+
}
|
413
|
+
SelecionarRaizPorChave(filtro) {
|
414
|
+
return this.getHeaders(this.configHcm.apiUrl, this.rotaSelecionarRaizPorChave, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
415
|
+
}
|
416
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: UnidadehierarquicaService, deps: [{ token: i1.HttpClient }, { token: 'configHcm' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
417
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: UnidadehierarquicaService, providedIn: 'root' }); }
|
418
|
+
}
|
419
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: UnidadehierarquicaService, decorators: [{
|
420
|
+
type: Injectable,
|
421
|
+
args: [{
|
422
|
+
providedIn: 'root'
|
423
|
+
}]
|
424
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: i2.Configurations, decorators: [{
|
425
|
+
type: Inject,
|
426
|
+
args: ['configHcm']
|
427
|
+
}] }] });
|
428
|
+
|
429
|
+
class EmpresaBannerService extends BaseApiService {
|
430
|
+
constructor(httpClient, configHcm) {
|
431
|
+
super(httpClient);
|
432
|
+
this.httpClient = httpClient;
|
433
|
+
this.configHcm = configHcm;
|
434
|
+
this.rotaSalvar = 'hcm/api/v1/empresabanner/salvar';
|
435
|
+
this.rotaSelecionar = 'hcm/api/v1/empresabanner/selecionar';
|
436
|
+
}
|
437
|
+
Salvar(data) {
|
438
|
+
return this.post(this.configHcm.apiUrl, this.rotaSalvar, data);
|
439
|
+
}
|
440
|
+
Selecionar(idmaster, idempresaevocenter, ordem) {
|
441
|
+
return this.get(this.configHcm.apiUrl, `${this.rotaSelecionar}/${idmaster}/${idempresaevocenter}/${ordem}`);
|
442
|
+
}
|
443
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: EmpresaBannerService, deps: [{ token: i1.HttpClient }, { token: 'configHcm' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
444
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: EmpresaBannerService, providedIn: 'root' }); }
|
445
|
+
}
|
446
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: EmpresaBannerService, decorators: [{
|
447
|
+
type: Injectable,
|
448
|
+
args: [{
|
449
|
+
providedIn: 'root'
|
450
|
+
}]
|
451
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: i2.Configurations, decorators: [{
|
452
|
+
type: Inject,
|
453
|
+
args: ['configHcm']
|
454
|
+
}] }] });
|
455
|
+
|
456
|
+
class EmpresaParametrosService extends BaseApiService {
|
457
|
+
constructor(httpClient, configHcm) {
|
458
|
+
super(httpClient);
|
459
|
+
this.httpClient = httpClient;
|
460
|
+
this.configHcm = configHcm;
|
461
|
+
this.rotaSalvar = 'hcm/api/v1/empresaparametros/salvar';
|
462
|
+
this.rotaSalvarEkeep = 'hcm/api/v1/empresaparametros/salvarekeep';
|
463
|
+
this.rotaSelecionar = 'hcm/api/v1/empresaparametros/selecionar';
|
464
|
+
}
|
465
|
+
Selecionar(idempresaevocenter) {
|
466
|
+
return this.get(this.configHcm.apiUrl, `${this.rotaSelecionar}/${idempresaevocenter}`);
|
467
|
+
}
|
468
|
+
Salvar(data) {
|
469
|
+
return this.post(this.configHcm.apiUrl, this.rotaSalvar, data);
|
470
|
+
}
|
471
|
+
SalvarEkeep(data) {
|
472
|
+
return this.post(this.configHcm.apiUrl, this.rotaSalvarEkeep, data);
|
473
|
+
}
|
474
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: EmpresaParametrosService, deps: [{ token: i1.HttpClient }, { token: 'configHcm' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
475
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: EmpresaParametrosService, providedIn: 'root' }); }
|
476
|
+
}
|
477
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: EmpresaParametrosService, decorators: [{
|
478
|
+
type: Injectable,
|
479
|
+
args: [{
|
480
|
+
providedIn: 'root'
|
481
|
+
}]
|
482
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: i2.Configurations, decorators: [{
|
483
|
+
type: Inject,
|
484
|
+
args: ['configHcm']
|
485
|
+
}] }] });
|
486
|
+
|
487
|
+
class EmpresaService extends BaseApiService {
|
488
|
+
constructor(httpClient, configHcm) {
|
489
|
+
super(httpClient);
|
490
|
+
this.httpClient = httpClient;
|
491
|
+
this.configHcm = configHcm;
|
492
|
+
this.rotaListarEmpresas = 'hcm/api/v1/empresa/listarempresas';
|
493
|
+
this.rotaListarEmpresaseFiliais = 'hcm/api/v1/empresa/listarempresaefiliais';
|
494
|
+
}
|
495
|
+
ListarEmpresas(idmaster) {
|
496
|
+
return this.getAll(this.configHcm.apiUrl, `${this.rotaListarEmpresas}/${idmaster}`);
|
497
|
+
}
|
498
|
+
ListarEmpresaEFiliais(idmaster, idempresaevocenter) {
|
499
|
+
return this.getAll(this.configHcm.apiUrl, `${this.rotaListarEmpresaseFiliais}/${idmaster}/${idempresaevocenter}`);
|
500
|
+
}
|
501
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: EmpresaService, deps: [{ token: i1.HttpClient }, { token: 'configHcm' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
502
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: EmpresaService, providedIn: 'root' }); }
|
503
|
+
}
|
504
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: EmpresaService, decorators: [{
|
505
|
+
type: Injectable,
|
506
|
+
args: [{
|
507
|
+
providedIn: 'root'
|
508
|
+
}]
|
509
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: i2.Configurations, decorators: [{
|
510
|
+
type: Inject,
|
511
|
+
args: ['configHcm']
|
512
|
+
}] }] });
|
513
|
+
|
514
|
+
class AnalistaPessoaService extends BaseApiService {
|
515
|
+
constructor(httpClient, configHcm) {
|
516
|
+
super(httpClient);
|
517
|
+
this.httpClient = httpClient;
|
518
|
+
this.configHcm = configHcm;
|
519
|
+
this.rotaExcluir = 'hcm/api/v1/analistapessoa/excluir';
|
520
|
+
this.rotaListar = 'hcm/api/v1/analistapessoa/listar';
|
521
|
+
this.rotaListarPossiveisAnalistas = 'hcm/api/v1/analistapessoa/listarpossiveisanalistas';
|
522
|
+
this.rotaSalvar = 'hcm/api/v1/analistapessoa/salvar';
|
523
|
+
this.rotaSelecionar = 'hcm/api/v1/analistapessoa/selecionar';
|
524
|
+
}
|
525
|
+
Excluir(idanalista) {
|
526
|
+
return this.delete(this.configHcm.apiUrl, `${this.rotaExcluir}/${idanalista}`);
|
527
|
+
}
|
528
|
+
Listar(filtro) {
|
529
|
+
return this.post(this.configHcm.apiUrl, this.rotaListar, filtro);
|
530
|
+
}
|
531
|
+
ListarPossiveisAnalistas(filtro) {
|
532
|
+
return this.getAllHeaders(this.configHcm.apiUrl, this.rotaListarPossiveisAnalistas, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
533
|
+
}
|
534
|
+
Salvar(data) {
|
535
|
+
return this.post(this.configHcm.apiUrl, this.rotaSalvar, data);
|
536
|
+
}
|
537
|
+
Selecionar(idanalista) {
|
538
|
+
return this.get(this.configHcm.apiUrl, `${this.rotaSelecionar}/${idanalista}`);
|
539
|
+
}
|
540
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: AnalistaPessoaService, deps: [{ token: i1.HttpClient }, { token: 'configHcm' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
541
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: AnalistaPessoaService, providedIn: 'root' }); }
|
542
|
+
}
|
543
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: AnalistaPessoaService, decorators: [{
|
544
|
+
type: Injectable,
|
545
|
+
args: [{
|
546
|
+
providedIn: 'root'
|
547
|
+
}]
|
548
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: i2.Configurations, decorators: [{
|
549
|
+
type: Inject,
|
550
|
+
args: ['configHcm']
|
551
|
+
}] }] });
|
552
|
+
|
553
|
+
class KeexService extends BaseApiService {
|
554
|
+
constructor(httpClient, configHcm) {
|
555
|
+
super(httpClient);
|
556
|
+
this.httpClient = httpClient;
|
557
|
+
this.configHcm = configHcm;
|
558
|
+
this.rotaListarUsuarios = 'hcm/api/v1/keex/listarusuarios';
|
559
|
+
this.rotaPesquisarUsuario = 'hcm/api/v1/keex/pesquisarusuario';
|
560
|
+
this.rotaTotalFuncionariosAcessoKeex = 'hcm/api/v1/keex/totalfuncionariosacessokeex`';
|
561
|
+
this.rotaAlteracoesKeex = 'hcm/api/v1/keex/alteraracesokeex';
|
562
|
+
this.rotaAlteracoesKeexEmpresa = 'hcm/api/v1/keex/alteraracesokeexempresa';
|
563
|
+
this.rotaEnviaConvite = 'hcm/api/v1/keex/enviaconvite';
|
564
|
+
}
|
565
|
+
ListarUsuarios(filtro) {
|
566
|
+
return this.post(this.configHcm.apiUrl, this.rotaListarUsuarios, filtro);
|
567
|
+
}
|
568
|
+
PesquisarUsuario(filtro) {
|
569
|
+
return this.getAllHeaders(this.configHcm.apiUrl, this.rotaPesquisarUsuario, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
570
|
+
}
|
571
|
+
TotalFuncionariosAcessokeex(filtro) {
|
572
|
+
return this.getAllHeaders(this.configHcm.apiUrl, this.rotaTotalFuncionariosAcessoKeex, new HttpHeaders().set('filtro', JSON.stringify(filtro)));
|
573
|
+
}
|
574
|
+
AlteraAcessoAoKeex(parametros) {
|
575
|
+
return this.post(this.configHcm.apiUrl, this.rotaAlteracoesKeex, parametros);
|
576
|
+
}
|
577
|
+
AlteraAcessoAoKeexEmpresa(parametros) {
|
578
|
+
return this.post(this.configHcm.apiUrl, this.rotaAlteracoesKeexEmpresa, parametros);
|
579
|
+
}
|
580
|
+
EnviarConvite(usuarios) {
|
581
|
+
return this.post(this.configHcm.apiUrl, this.rotaEnviaConvite, usuarios);
|
582
|
+
}
|
583
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: KeexService, deps: [{ token: i1.HttpClient }, { token: 'configHcm' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
584
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: KeexService, providedIn: 'root' }); }
|
585
|
+
}
|
586
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: KeexService, decorators: [{
|
587
|
+
type: Injectable,
|
588
|
+
args: [{
|
589
|
+
providedIn: 'root',
|
590
|
+
}]
|
591
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: i2.Configurations, decorators: [{
|
592
|
+
type: Inject,
|
593
|
+
args: ['configHcm']
|
594
|
+
}] }] });
|
595
|
+
|
596
|
+
class LiderService extends BaseApiService {
|
597
|
+
constructor(httpClient, configHcm) {
|
598
|
+
super(httpClient);
|
599
|
+
this.httpClient = httpClient;
|
600
|
+
this.configHcm = configHcm;
|
601
|
+
this.rotaAtualizaEstadoAtivo = 'hcm/api/v1/lider/atualizaestadoativo';
|
602
|
+
this.rotaListarPossiveisLideres = 'hcm/api/v1/lider/listarpossiveislideres';
|
603
|
+
this.rotaListarPosiveisLideresSubstituto = 'hcm/api/v1/lider/listarposiveislideressubstituto';
|
604
|
+
this.rotaListar = 'hcm/api/v1/lider/listar';
|
605
|
+
this.rotaListarPorChave = 'hcm/api/v1/lider/listarporchave';
|
606
|
+
this.rotaSelecionar = 'hcm/api/v1/lider/selecionar';
|
607
|
+
this.rotaSelecionarDadosPesssoa = 'hcm/api/v1/lider/selecionardadospesssoa';
|
608
|
+
this.rotaSalvar = 'hcm/api/v1/lider/salvar';
|
609
|
+
this.rotaExcluir = 'hcm/api/v1/lider/excluir';
|
610
|
+
this.rotaVerificaLiderAtivo = 'hcm/api/v1/lider/verificaliderativo';
|
611
|
+
this.rotaExisteLiderPrincipal = 'hcm/api/v1/lider/existeliderprincipal';
|
612
|
+
this.rotaExisteCpf = 'hcm/api/v1/lider/existecpf';
|
613
|
+
this.rotaExisteIDRegistro = 'hcm/api/v1/lider/existeidregistro';
|
614
|
+
}
|
615
|
+
AtualizaEstadoAtivo(model) {
|
616
|
+
return this.post(this.configHcm.apiUrl, this.rotaAtualizaEstadoAtivo, model);
|
617
|
+
}
|
618
|
+
ListarPossiveisLideres(filtro) {
|
619
|
+
return this.getAllHeaders(this.configHcm.apiUrl, this.rotaListarPossiveisLideres, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
620
|
+
}
|
621
|
+
ListarPossiveisLideresSubstituto(filtro) {
|
622
|
+
return this.getAllHeaders(this.configHcm.apiUrl, this.rotaListarPosiveisLideresSubstituto, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
623
|
+
}
|
624
|
+
Listar(filtro) {
|
625
|
+
return this.getAllHeaders(this.configHcm.apiUrl, this.rotaListar, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
626
|
+
}
|
627
|
+
ListarTodos(idmaster, idempresaevocenter) {
|
628
|
+
return this.getAll(this.configHcm.apiUrl, `${this.rotaListar}/${idmaster}/${idempresaevocenter}`);
|
629
|
+
}
|
630
|
+
ListarPorChave(filtro) {
|
631
|
+
return this.getAllHeaders(this.configHcm.apiUrl, this.rotaListarPorChave, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
632
|
+
}
|
633
|
+
Selecionar(idlider) {
|
634
|
+
return this.get(this.configHcm.apiUrl, `${this.rotaSelecionar}/${idlider}`);
|
635
|
+
}
|
636
|
+
SelecionarDadosPessoa(idmaster, cpf) {
|
637
|
+
return this.get(this.configHcm.apiUrl, `${this.rotaSelecionarDadosPesssoa}/${idmaster}/${cpf}`);
|
638
|
+
}
|
639
|
+
Salvar(lider) {
|
640
|
+
return this.post(this.configHcm.apiUrl, this.rotaSalvar, lider);
|
641
|
+
}
|
642
|
+
Excluir(idlider) {
|
643
|
+
return this.delete(this.configHcm.apiUrl, `${this.rotaExcluir}/${idlider}`);
|
644
|
+
}
|
645
|
+
VerificaLiderAtivo(idlider) {
|
646
|
+
return this.get(this.configHcm.apiUrl, `${this.rotaVerificaLiderAtivo}/${idlider}`);
|
647
|
+
}
|
648
|
+
ExisteLiderPrincipal(idmaster, idempresaevocenter) {
|
649
|
+
return this.get(this.configHcm.apiUrl, `${this.rotaExisteLiderPrincipal}/${idmaster}/${idempresaevocenter}`);
|
650
|
+
}
|
651
|
+
ExisteCpf(idmaster, idempresaevocenter, cpf) {
|
652
|
+
return this.get(this.configHcm.apiUrl, `${this.rotaExisteCpf}/${idmaster}/${idempresaevocenter}/${cpf}`);
|
653
|
+
}
|
654
|
+
ExisteIDRegistro(idmaster, idempresaevocenter, idregistro) {
|
655
|
+
return this.get(this.configHcm.apiUrl, `${this.rotaExisteIDRegistro}/${idmaster}/${idempresaevocenter}/${idregistro}`);
|
656
|
+
}
|
657
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: LiderService, deps: [{ token: i1.HttpClient }, { token: 'configHcm' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
658
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: LiderService, providedIn: 'root' }); }
|
659
|
+
}
|
660
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: LiderService, decorators: [{
|
661
|
+
type: Injectable,
|
662
|
+
args: [{
|
663
|
+
providedIn: 'root'
|
664
|
+
}]
|
665
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: i2.Configurations, decorators: [{
|
666
|
+
type: Inject,
|
667
|
+
args: ['configHcm']
|
668
|
+
}] }] });
|
669
|
+
|
670
|
+
class RegistroService extends BaseApiService {
|
671
|
+
constructor(httpClient, configHcm) {
|
672
|
+
super(httpClient);
|
673
|
+
this.httpClient = httpClient;
|
674
|
+
this.configHcm = configHcm;
|
675
|
+
this.rotaExcluir = 'hcm/api/v1/registro/excluir';
|
676
|
+
this.rotaExisteCpf = 'hcm/api/v1/registro/existecpf';
|
677
|
+
this.rotaListar = 'hcm/api/v1/registro/listar';
|
678
|
+
this.rotaListarFuncionariosSemLotacao = 'hcm/api/v1/registro/ListarFuncionariosSemLotacao';
|
679
|
+
this.rotaPesquisar = 'hcm/api/v1/registro/pesquisar';
|
680
|
+
this.rotaListarAniversariantes = 'hcm/api/v1/registro/listaraniversariantes/?periodicidade=';
|
681
|
+
this.rotaSelecionarPerfil = 'hcm/api/v1/registro/SelecionarPerfil';
|
682
|
+
this.rotaSalvar = 'hcm/api/v1/registro/salvar';
|
683
|
+
this.rotaSelecionar = 'hcm/api/v1/registro/selecionar';
|
684
|
+
this.rotaAtualizarFoto = 'hcm/api/v1/registro/AtualizarFoto';
|
685
|
+
}
|
686
|
+
Excluir(id) {
|
687
|
+
return this.delete(this.configHcm.apiUrl, `${this.rotaExcluir}/${id}`);
|
688
|
+
}
|
689
|
+
ExisteCpf(idmaster, idempresaevocenter, cpf) {
|
690
|
+
return this.get(this.configHcm.apiUrl, `${this.rotaExisteCpf}/${idmaster}/${idempresaevocenter}/${cpf}`);
|
691
|
+
}
|
692
|
+
Listar(filtro) {
|
693
|
+
return this.post(this.configHcm.apiUrl, this.rotaListar, filtro);
|
694
|
+
}
|
695
|
+
ListarFuncionariosSemLotacao(filtro) {
|
696
|
+
return this.getAllHeaders(this.configHcm.apiUrl, this.rotaListarFuncionariosSemLotacao, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
697
|
+
}
|
698
|
+
Pesquisar(filtro) {
|
699
|
+
return this.getAllHeaders(this.configHcm.apiUrl, this.rotaPesquisar, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
700
|
+
}
|
701
|
+
ListarAniversariantes(filtro, periodicidade) {
|
702
|
+
return this.getAllHeaders(this.configHcm.apiUrl, `${this.rotaListarAniversariantes}${periodicidade}`, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
703
|
+
}
|
704
|
+
SelecionarPerfil(filtro) {
|
705
|
+
return this.getHeaders(this.configHcm.apiUrl, this.rotaSelecionarPerfil, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
706
|
+
}
|
707
|
+
Salvar(data) {
|
708
|
+
return this.post(this.configHcm.apiUrl, this.rotaSalvar, data);
|
709
|
+
}
|
710
|
+
Selecionar(id) {
|
711
|
+
return this.get(this.configHcm.apiUrl, `${this.rotaSelecionar}/${id}`);
|
712
|
+
}
|
713
|
+
SelecionarResumo(id) {
|
714
|
+
return this.get(this.configHcm.apiUrl, `${this.rotaSelecionar}/${id}`);
|
715
|
+
}
|
716
|
+
AtualizarFoto(model) {
|
717
|
+
return this.post(this.configHcm.apiUrl, this.rotaAtualizarFoto, model);
|
718
|
+
}
|
719
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: RegistroService, deps: [{ token: i1.HttpClient }, { token: 'configHcm' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
720
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: RegistroService, providedIn: 'root' }); }
|
721
|
+
}
|
722
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: RegistroService, decorators: [{
|
723
|
+
type: Injectable,
|
724
|
+
args: [{
|
725
|
+
providedIn: 'root'
|
726
|
+
}]
|
727
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: i2.Configurations, decorators: [{
|
728
|
+
type: Inject,
|
729
|
+
args: ['configHcm']
|
730
|
+
}] }] });
|
731
|
+
|
732
|
+
class TomadorService extends BaseApiService {
|
733
|
+
constructor(httpClient, configHcm) {
|
734
|
+
super(httpClient);
|
735
|
+
this.httpClient = httpClient;
|
736
|
+
this.configHcm = configHcm;
|
737
|
+
this.rotaListarTodos = 'hcm/api/v1/tomador/listartodos';
|
738
|
+
this.rotaSelecionar = 'hcm/api/v1/tomador/selecionar';
|
739
|
+
}
|
740
|
+
ListarTodos(filtro) {
|
741
|
+
return this.getAllHeaders(this.configHcm.apiUrl, this.rotaListarTodos, new HttpHeaders().set("filtro", JSON.stringify(filtro)));
|
742
|
+
}
|
743
|
+
Selecionar(idtomador) {
|
744
|
+
return this.get(this.configHcm.apiUrl, `${this.rotaSelecionar}/${idtomador}`);
|
745
|
+
}
|
746
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: TomadorService, deps: [{ token: i1.HttpClient }, { token: 'configHcm' }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
747
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: TomadorService, providedIn: 'root' }); }
|
748
|
+
}
|
749
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: TomadorService, decorators: [{
|
750
|
+
type: Injectable,
|
751
|
+
args: [{
|
752
|
+
providedIn: 'root'
|
753
|
+
}]
|
754
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: i2.Configurations, decorators: [{
|
755
|
+
type: Inject,
|
756
|
+
args: ['configHcm']
|
757
|
+
}] }] });
|
758
|
+
|
759
|
+
class DadosConfiguracoesService {
|
760
|
+
constructor() {
|
761
|
+
this.indicativosLotacaoEmpresa = [];
|
762
|
+
this.indicativosLotacaoDominio = [];
|
763
|
+
}
|
764
|
+
setIndicativosLotacaoEmpresa(indicativos) {
|
765
|
+
this.indicativosLotacaoEmpresa = indicativos;
|
766
|
+
}
|
767
|
+
getIndicativosLotacaoEmpresa() {
|
768
|
+
return this.indicativosLotacaoEmpresa;
|
769
|
+
}
|
770
|
+
setIndicativosLotacaoDominio(indicativos) {
|
771
|
+
this.indicativosLotacaoDominio = indicativos;
|
772
|
+
}
|
773
|
+
getIndicativosLotacaoDominio() {
|
774
|
+
return this.indicativosLotacaoDominio;
|
775
|
+
}
|
776
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: DadosConfiguracoesService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
777
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: DadosConfiguracoesService, providedIn: 'root' }); }
|
778
|
+
}
|
779
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: DadosConfiguracoesService, decorators: [{
|
780
|
+
type: Injectable,
|
781
|
+
args: [{
|
782
|
+
providedIn: 'root'
|
783
|
+
}]
|
784
|
+
}] });
|
785
|
+
|
786
|
+
class ApiServicesHcmModule {
|
787
|
+
static forRoot(configHcm) {
|
788
|
+
return {
|
789
|
+
ngModule: ApiServicesHcmModule,
|
790
|
+
providers: [
|
791
|
+
AnalistaPessoaService, { provide: 'configHcm', useValue: configHcm },
|
792
|
+
CargoService, { provide: 'configHcm', useValue: configHcm },
|
793
|
+
CentroCustoService, { provide: 'configHcm', useValue: configHcm },
|
794
|
+
CentroResultadoService, { provide: 'configHcm', useValue: configHcm },
|
795
|
+
DepartamentoService, { provide: 'configHcm', useValue: configHcm },
|
796
|
+
EmpresaBannerService, { provide: 'configHcm', useValue: configHcm },
|
797
|
+
EmpresaParametrosService, { provide: 'configHcm', useValue: configHcm },
|
798
|
+
EmpresaService, { provide: 'configHcm', useValue: configHcm },
|
799
|
+
EquipeMembroService, { provide: 'configHcm', useValue: configHcm },
|
800
|
+
EquipeService, { provide: 'configHcm', useValue: configHcm },
|
801
|
+
KeexService, { provide: 'configHcm', useValue: configHcm },
|
802
|
+
LiderService, { provide: 'configHcm', useValue: configHcm },
|
803
|
+
RegistroService, { provide: 'configHcm', useValue: configHcm },
|
804
|
+
RelacionamentoLotacaoService, { provide: 'configHcm', useValue: configHcm },
|
805
|
+
SubTipoOcorrenciaService, { provide: 'configHcm', useValue: configHcm },
|
806
|
+
TipoEstadoService, { provide: 'configHcm', useValue: configHcm },
|
807
|
+
TipoOcorrenciaService, { provide: 'configHcm', useValue: configHcm },
|
808
|
+
TomadorService, { provide: 'configHcm', useValue: configHcm },
|
809
|
+
UnidadeAdministrativaService, { provide: 'configHcm', useValue: configHcm },
|
810
|
+
UnidadehierarquicaService, { provide: 'configHcm', useValue: configHcm },
|
811
|
+
]
|
812
|
+
};
|
813
|
+
}
|
814
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: ApiServicesHcmModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
815
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.3", ngImport: i0, type: ApiServicesHcmModule, imports: [CommonModule] }); }
|
816
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: ApiServicesHcmModule, imports: [CommonModule] }); }
|
817
|
+
}
|
818
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.3", ngImport: i0, type: ApiServicesHcmModule, decorators: [{
|
819
|
+
type: NgModule,
|
820
|
+
args: [{
|
821
|
+
declarations: [],
|
822
|
+
imports: [CommonModule],
|
823
|
+
exports: []
|
824
|
+
}]
|
825
|
+
}] });
|
826
|
+
|
827
|
+
/*
|
828
|
+
* Public API Surface of keevo-api-services-hcm
|
829
|
+
*/
|
830
|
+
/**
|
831
|
+
* Models
|
832
|
+
*/
|
833
|
+
|
834
|
+
/**
|
835
|
+
* Generated bundle index. Do not edit.
|
836
|
+
*/
|
837
|
+
|
838
|
+
export { AnalistaPessoaService, ApiServicesHcmModule, CargoService, CentroCustoService, CentroResultadoService, DadosConfiguracoesService, DepartamentoService, EmpresaBannerService, EmpresaParametrosService, EmpresaService, EquipeMembroService, EquipeService, KeexService, LiderService, RegistroService, RelacionamentoLotacaoService, SubTipoOcorrenciaService, TipoEstadoService, TipoOcorrenciaService, TomadorService, UnidadeAdministrativaService, UnidadehierarquicaService };
|
839
|
+
//# sourceMappingURL=keevo-api-services-hcm.mjs.map
|