keevo-api-services-hcm 0.0.10 → 0.0.12

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