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