keevo-api-services-hcm 0.0.61 → 0.0.62
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/models/dominio/origemconteudo.model.mjs +6 -0
- package/esm2022/lib/models/dominio/publicoalvo.model.mjs +10 -0
- package/esm2022/lib/models/filtro/filtrolistadocumento.model.mjs +2 -0
- package/esm2022/lib/models/filtro/filtrolistausuario.model.mjs +1 -1
- package/esm2022/lib/models/hcm/documento/assinaturadocumento.model.mjs +2 -0
- package/esm2022/lib/models/hcm/documento/documento.model.mjs +2 -0
- package/esm2022/lib/models/hcm/documento/documentoformalizacaoresumo.model.mjs +2 -0
- package/esm2022/lib/models/hcm/documento/documentopublicoalvo.model.mjs +2 -0
- package/esm2022/lib/models/hcm/documento/documentoresumo.model.mjs +2 -0
- package/esm2022/lib/models/hcm/documento/documentoversao.model.mjs +2 -0
- package/esm2022/lib/models/hcm/documento/documentoversaocolaboradorevento.model.mjs +2 -0
- package/esm2022/lib/models/hcm/resumo/documentopendente-contagem.model.mjs +2 -0
- package/esm2022/lib/models/passaporte/empresa/empresa.model.mjs +1 -1
- package/esm2022/lib/services/dominio/origem-conteudo.service.mjs +35 -0
- package/esm2022/lib/services/dominio/publico-alvo.service.mjs +35 -0
- package/esm2022/lib/services/hcm/documento.service.mjs +72 -0
- package/esm2022/lib/services/pessoa/colaborador.service.mjs +5 -1
- package/esm2022/public-api.mjs +8 -1
- package/fesm2022/keevo-api-services-hcm.mjs +150 -1
- package/fesm2022/keevo-api-services-hcm.mjs.map +1 -1
- package/lib/models/dominio/origemconteudo.model.d.ts +8 -0
- package/lib/models/dominio/publicoalvo.model.d.ts +12 -0
- package/lib/models/filtro/filtrolistadocumento.model.d.ts +15 -0
- package/lib/models/filtro/filtrolistausuario.model.d.ts +1 -0
- package/lib/models/hcm/documento/assinaturadocumento.model.d.ts +4 -0
- package/lib/models/hcm/documento/documento.model.d.ts +18 -0
- package/lib/models/hcm/documento/documentoformalizacaoresumo.model.d.ts +6 -0
- package/lib/models/hcm/documento/documentopublicoalvo.model.d.ts +6 -0
- package/lib/models/hcm/documento/documentoresumo.model.d.ts +25 -0
- package/lib/models/hcm/documento/documentoversao.model.d.ts +11 -0
- package/lib/models/hcm/documento/documentoversaocolaboradorevento.model.d.ts +6 -0
- package/lib/models/hcm/resumo/documentopendente-contagem.model.d.ts +6 -0
- package/lib/models/passaporte/empresa/empresa.model.d.ts +2 -0
- package/lib/services/dominio/origem-conteudo.service.d.ts +18 -0
- package/lib/services/dominio/publico-alvo.service.d.ts +18 -0
- package/lib/services/hcm/documento.service.d.ts +42 -0
- package/lib/services/pessoa/colaborador.service.d.ts +2 -0
- package/package.json +1 -1
- package/public-api.d.ts +7 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface FiltroListaDocumentoModel {
|
|
2
|
+
idmaster: number;
|
|
3
|
+
idempresaevocenter: string;
|
|
4
|
+
paginaInicial: number;
|
|
5
|
+
tamanhoPagina: number;
|
|
6
|
+
termoPesquisa: string;
|
|
7
|
+
ordenacao: string;
|
|
8
|
+
filtro?: string;
|
|
9
|
+
areas?: number[];
|
|
10
|
+
subareas?: number[];
|
|
11
|
+
tipodocumentos?: number[];
|
|
12
|
+
publicacoes?: number[];
|
|
13
|
+
ano?: number;
|
|
14
|
+
cpf?: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { DocumentoPublicoAlvoModel } from "./documentopublicoalvo.model";
|
|
2
|
+
import { DocumentoVersaoModel } from "./documentoversao.model";
|
|
3
|
+
export interface DocumentoModel {
|
|
4
|
+
iddocumento?: string | null;
|
|
5
|
+
idmaster: number;
|
|
6
|
+
idempresaevocenter: string;
|
|
7
|
+
nomedocumento: string;
|
|
8
|
+
nomeexibicao: string;
|
|
9
|
+
idarea: number;
|
|
10
|
+
idsubarea: number;
|
|
11
|
+
idtipodocumento?: number | null;
|
|
12
|
+
idorigemconteudo: number;
|
|
13
|
+
idpublicoalvo: number;
|
|
14
|
+
indexcluido?: boolean | null;
|
|
15
|
+
datahoralog?: Date | null;
|
|
16
|
+
publicoalvo?: DocumentoPublicoAlvoModel[] | null;
|
|
17
|
+
versao?: DocumentoVersaoModel | null;
|
|
18
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export interface DocumentoResumoModel {
|
|
2
|
+
iddocumento: number;
|
|
3
|
+
idmaster: number;
|
|
4
|
+
idempresaevocenter: string;
|
|
5
|
+
nomedocumento: string;
|
|
6
|
+
nomeexibicao: string;
|
|
7
|
+
idarea: number;
|
|
8
|
+
descricaoarea: string;
|
|
9
|
+
idsubarea: number;
|
|
10
|
+
descricaosubarea: string;
|
|
11
|
+
idtipodocumento?: number;
|
|
12
|
+
descricaotipodocumento: string;
|
|
13
|
+
idpublicacao: number;
|
|
14
|
+
descricaopublicacao: string;
|
|
15
|
+
idarquivo: string;
|
|
16
|
+
idorigemconteudo: number;
|
|
17
|
+
descricaoorigemconteudo: string;
|
|
18
|
+
idpublicoalvo: number;
|
|
19
|
+
descricaopublicoalvo: string;
|
|
20
|
+
datahoralog?: Date;
|
|
21
|
+
datapublicao?: Date;
|
|
22
|
+
dataexpiracao?: Date;
|
|
23
|
+
totalconcluido?: number;
|
|
24
|
+
totalpendente?: number;
|
|
25
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface DocumentoVersaoModel {
|
|
2
|
+
iddocumentoversao?: string | null;
|
|
3
|
+
iddocumento?: string | null;
|
|
4
|
+
numeroversao?: number | null;
|
|
5
|
+
idarquivo?: string | null;
|
|
6
|
+
arquivobase64?: string | null;
|
|
7
|
+
iddocumentoconfirmacao: number;
|
|
8
|
+
idpublicacao: number;
|
|
9
|
+
datapublicacao?: Date | null;
|
|
10
|
+
dataexpiracao?: Date | null;
|
|
11
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { PessoaEnderecoModel } from "keevo-api-services-keevocenter";
|
|
1
2
|
export interface EmpresaModel {
|
|
2
3
|
idempresaevocenter: string;
|
|
3
4
|
idempresaevocenterpai: string | null;
|
|
@@ -9,4 +10,5 @@ export interface EmpresaModel {
|
|
|
9
10
|
cno: string;
|
|
10
11
|
caepf: string;
|
|
11
12
|
indativo: boolean | null;
|
|
13
|
+
enderecos?: PessoaEnderecoModel[];
|
|
12
14
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { BaseApiService, HostEnvironment } from "keevo-api-services";
|
|
2
|
+
import { HttpClient } from '@angular/common/http';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { OrigemConteudoModel } from "../../models/dominio/origemconteudo.model";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class OrigemConteudoService extends BaseApiService {
|
|
7
|
+
private httpClient;
|
|
8
|
+
private hostEnv;
|
|
9
|
+
constructor(httpClient: HttpClient, hostEnv: HostEnvironment);
|
|
10
|
+
private rotaExisteID;
|
|
11
|
+
private rotaSelecionar;
|
|
12
|
+
private rotaListarTodos;
|
|
13
|
+
ExisteID(idorigemconteudo: number): Observable<unknown>;
|
|
14
|
+
Listar(): Observable<OrigemConteudoModel[]>;
|
|
15
|
+
Selecionar(idorigemconteudo: number): Observable<unknown>;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OrigemConteudoService, never>;
|
|
17
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<OrigemConteudoService>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { BaseApiService, HostEnvironment } from "keevo-api-services";
|
|
2
|
+
import { HttpClient } from '@angular/common/http';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { PublicoAlvoModel } from "../../models/dominio/publicoalvo.model";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class PublicoAlvoService extends BaseApiService {
|
|
7
|
+
private httpClient;
|
|
8
|
+
private hostEnv;
|
|
9
|
+
constructor(httpClient: HttpClient, hostEnv: HostEnvironment);
|
|
10
|
+
private rotaExisteID;
|
|
11
|
+
private rotaSelecionar;
|
|
12
|
+
private rotaListarTodos;
|
|
13
|
+
ExisteID(idpublicoalvo: number): Observable<unknown>;
|
|
14
|
+
Listar(): Observable<PublicoAlvoModel[]>;
|
|
15
|
+
Selecionar(idpublicoalvo: number): Observable<unknown>;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PublicoAlvoService, never>;
|
|
17
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PublicoAlvoService>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { BaseApiService, HostEnvironment } from "keevo-api-services";
|
|
2
|
+
import { HttpClient } from '@angular/common/http';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import { FiltroListaDocumentoModel } from "../../models/filtro/filtrolistadocumento.model";
|
|
5
|
+
import { DocumentoResumoModel } from "../../models/hcm/documento/documentoresumo.model";
|
|
6
|
+
import { DocumentoModel } from "../../models/hcm/documento/documento.model";
|
|
7
|
+
import { DocumentoFormalizacaoResumoModel } from "../../models/hcm/documento/documentoformalizacaoresumo.model";
|
|
8
|
+
import { DocumentoVersaoColaboradorEventoModel } from "../../models/hcm/documento/documentoversaocolaboradorevento.model";
|
|
9
|
+
import { AssinaturaDocumentoModel } from "../../models/hcm/documento/assinaturadocumento.model";
|
|
10
|
+
import { DocumentoPendenteContagemModel } from "../../models/hcm/resumo/documentopendente-contagem.model";
|
|
11
|
+
import * as i0 from "@angular/core";
|
|
12
|
+
export declare class DocumentoService extends BaseApiService {
|
|
13
|
+
private httpClient;
|
|
14
|
+
private hostEnv;
|
|
15
|
+
private rotaAssinarDocumento;
|
|
16
|
+
private rotaContarPendentesPorTipo;
|
|
17
|
+
private rotaExcluirLogicamente;
|
|
18
|
+
private rotaExcluirPermanentemente;
|
|
19
|
+
private rotaListarComunicacao;
|
|
20
|
+
private rotaListarFormalizacao;
|
|
21
|
+
private rotaPublicar;
|
|
22
|
+
private rotaRetirarPublicacao;
|
|
23
|
+
private rotaSalvar;
|
|
24
|
+
private rotaSalvarEvento;
|
|
25
|
+
private rotaSelecionar;
|
|
26
|
+
private rotaSelecionarFormalizacao;
|
|
27
|
+
constructor(httpClient: HttpClient, hostEnv: HostEnvironment);
|
|
28
|
+
ContarPendentesPorTipo(idmaster: number, idempresaevocenter: string, cpf: string): Observable<DocumentoPendenteContagemModel>;
|
|
29
|
+
ExcluirLogicamente(iddocumento: string): Observable<Object>;
|
|
30
|
+
ExcluirPermanentemente(iddocumento: string): Observable<Object>;
|
|
31
|
+
ListarComunicacao(filtro: FiltroListaDocumentoModel): Observable<DocumentoResumoModel[]>;
|
|
32
|
+
ListarFormalizacao(filtro: FiltroListaDocumentoModel): Observable<DocumentoResumoModel[]>;
|
|
33
|
+
SelecionarFormalizacao(filtro: FiltroListaDocumentoModel): Observable<DocumentoFormalizacaoResumoModel[]>;
|
|
34
|
+
Publicar(iddocumento: string, idarquivo: string): Observable<unknown>;
|
|
35
|
+
RetirarPublicacao(iddocumento: string, idarquivo: string): Observable<unknown>;
|
|
36
|
+
Salvar(documento: DocumentoModel): Observable<unknown>;
|
|
37
|
+
SalvarEvento(documento: DocumentoVersaoColaboradorEventoModel): Observable<unknown>;
|
|
38
|
+
Selecionar(iddocumento: string): Observable<DocumentoModel>;
|
|
39
|
+
AssinarDocumento(documento: AssinaturaDocumentoModel): Observable<unknown>;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DocumentoService, never>;
|
|
41
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DocumentoService>;
|
|
42
|
+
}
|
|
@@ -33,6 +33,7 @@ export declare class ColaboradorService extends BaseApiService {
|
|
|
33
33
|
private rotaVincularColaboradorHierarquia;
|
|
34
34
|
private rotaExisteRegistroAtivoAssociadoColaboradorExterno;
|
|
35
35
|
private rotaAlterarNomes;
|
|
36
|
+
private rotaSelecionarColaboradorCancelamentoTrilha;
|
|
36
37
|
constructor(httpClient: HttpClient, hostEnv: HostEnvironment);
|
|
37
38
|
AtualizaVinculoDeHierarquia(colaboradores: any): Observable<any>;
|
|
38
39
|
AlterarNomes(model: DadosPessoaEmpresaNomesModel): Observable<unknown>;
|
|
@@ -54,6 +55,7 @@ export declare class ColaboradorService extends BaseApiService {
|
|
|
54
55
|
VerificarColaboradorExterno(filtro: FiltroCpfCnpj): Observable<boolean>;
|
|
55
56
|
VerificarColaboradorEstrangeiro(filtro: FiltroCpfCnpj): Observable<boolean>;
|
|
56
57
|
ExisteRegistroAtivoAssociadoColaboradorExterno(idmaster: number, idempresaevocenter: string, cpfcnpj: string): Observable<boolean>;
|
|
58
|
+
SelecionarColaboradorCancelamentoTrilha(idmaster: number, idempresaevocenter: string, codigoregistro: string): Observable<boolean>;
|
|
57
59
|
static ɵfac: i0.ɵɵFactoryDeclaration<ColaboradorService, never>;
|
|
58
60
|
static ɵprov: i0.ɵɵInjectableDeclaration<ColaboradorService>;
|
|
59
61
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -92,6 +92,10 @@ export * from './lib/models/hcm/movimentofolha/movimentofolharesumo.model';
|
|
|
92
92
|
export * from './lib/models/hcm/movimentofolha/filtromovimentofolha.model';
|
|
93
93
|
export * from './lib/models/hcm/movimentofolhafatogerador/movimentofolhafatogerador.model';
|
|
94
94
|
export * from './lib/models/hcm/movimentofolhafatogeradordatas/movimentofolhafatogeradordatas.model';
|
|
95
|
+
export * from './lib/models/hcm/documento/documentoresumo.model';
|
|
96
|
+
export * from './lib/models/hcm/resumo/documentopendente-contagem.model';
|
|
97
|
+
export * from './lib/models/dominio/origemconteudo.model';
|
|
98
|
+
export * from './lib/models/dominio/publicoalvo.model';
|
|
95
99
|
export * from './lib/services/hcm/ferias.service';
|
|
96
100
|
export * from './lib/services/hcm/cargo.service';
|
|
97
101
|
export * from './lib/services/hcm/centro-custo.service';
|
|
@@ -127,6 +131,7 @@ export * from './lib/services/utilitarios/validators.service';
|
|
|
127
131
|
export * from './lib/services/hcm/falhaintegracao.service';
|
|
128
132
|
export * from './lib/services/hcm/movimentofolhatipofatogerador.service';
|
|
129
133
|
export * from './lib/services/hcm/movimento-folha.service';
|
|
134
|
+
export * from './lib/services/hcm/documento.service';
|
|
130
135
|
export * from './lib/services/dominio/categoria-ocorrencia-estado.service';
|
|
131
136
|
export * from './lib/services/dominio/categoria-trabalhador-tipos-afastamento.service';
|
|
132
137
|
export * from './lib/services/dominio/categoria-trabalhador.service';
|
|
@@ -197,3 +202,5 @@ export * from './lib/services/dominio/sefip-recolhimento.service';
|
|
|
197
202
|
export * from './lib/services/dominio/subtipo-ocorrencia-fabrica.service';
|
|
198
203
|
export * from './lib/services/dominio/tipo-contrato-tempo-parcial.service';
|
|
199
204
|
export * from './lib/services/dominio/tipo-dependente-esocial.service';
|
|
205
|
+
export * from './lib/services/dominio/origem-conteudo.service';
|
|
206
|
+
export * from './lib/services/dominio/publico-alvo.service';
|