keevo-api-services-hcm 0.0.9 → 0.0.10

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