flit-modulo-exportacoes 2.0.52 → 2.0.54

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 (38) hide show
  1. package/dist/dao/contas-elastic.d.ts +3 -3
  2. package/dist/dao/contas-elastic.js +6 -13
  3. package/dist/dao/elastic-base.d.ts +2 -2
  4. package/dist/dao/empresas-elastic.d.ts +7 -2
  5. package/dist/dao/empresas-elastic.js +33 -15
  6. package/dist/dao/empresas-feriado-elastic.d.ts +3 -2
  7. package/dist/dao/empresas-feriado-elastic.js +9 -10
  8. package/dist/dao/eventos-exportacoes-elastic.d.ts +3 -3
  9. package/dist/dao/eventos-exportacoes-elastic.js +9 -21
  10. package/dist/dao/feriados-elastic.d.ts +3 -2
  11. package/dist/dao/feriados-elastic.js +8 -14
  12. package/dist/dao/jornadas-elastic.d.ts +3 -2
  13. package/dist/dao/jornadas-elastic.js +6 -28
  14. package/dist/dao/model/conta-model.d.ts +6 -0
  15. package/dist/dao/model/conta-model.js +10 -0
  16. package/dist/dao/model/empresa-feriado-model.d.ts +4 -0
  17. package/dist/dao/model/empresa-feriado-model.js +10 -0
  18. package/dist/dao/model/empresa-model.d.ts +16 -0
  19. package/dist/dao/model/empresa-model.js +22 -0
  20. package/dist/dao/model/eventos-exportacao-model.d.ts +5 -0
  21. package/dist/dao/model/eventos-exportacao-model.js +12 -0
  22. package/dist/dao/model/feriado-model.d.ts +10 -0
  23. package/dist/dao/model/feriado-model.js +22 -0
  24. package/dist/dao/model/general-models.d.ts +165 -0
  25. package/dist/dao/model/general-models.js +81 -0
  26. package/dist/dao/model/jornada-model.d.ts +38 -0
  27. package/dist/dao/model/jornada-model.js +34 -0
  28. package/dist/dao/model/usuario-model.d.ts +11 -0
  29. package/dist/dao/model/usuario-model.js +18 -0
  30. package/dist/dao/usuarios-elastic.d.ts +3 -2
  31. package/dist/dao/usuarios-elastic.js +6 -10
  32. package/dist/index.d.ts +1 -1
  33. package/dist/index.js +85 -84
  34. package/dist/unificacao-eventos-repetidos.d.ts +1 -1
  35. package/dist/unificacao-eventos-repetidos.js +48 -48
  36. package/dist/utils.d.ts +18 -9
  37. package/dist/utils.js +26 -8
  38. package/package.json +4 -4
@@ -1,6 +1,6 @@
1
1
  import { ElasticBase } from './elastic-base';
2
+ import { SourceConta } from './model/conta-model';
2
3
  import { SearchHit } from '@elastic/elasticsearch/lib/api/types';
3
- export declare class ContasElastic extends ElasticBase {
4
- private internalGetContasElastic;
5
- getContaElastic(contaId: string): Promise<SearchHit<any>>;
4
+ export declare class ContasElastic extends ElasticBase<SourceConta> {
5
+ getContaElastic(contaId: string): Promise<SearchHit<SourceConta> | null>;
6
6
  }
@@ -2,15 +2,12 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ContasElastic = void 0;
4
4
  const elastic_base_1 = require("./elastic-base");
5
+ const conta_model_1 = require("./model/conta-model");
5
6
  class ContasElastic extends elastic_base_1.ElasticBase {
6
- async internalGetContasElastic(contaId) {
7
- return await this.elasticClient.search({
8
- scroll: '1m',
7
+ async getContaElastic(contaId) {
8
+ const contas = await this.elasticClient.search({
9
+ size: 1,
9
10
  index: 'contas',
10
- size: this.totalRegistrosFiltradosElastic,
11
- _source: [
12
- 'parametros.horario_noturno'
13
- ],
14
11
  query: {
15
12
  bool: {
16
13
  must: [{
@@ -24,13 +21,9 @@ class ContasElastic extends elastic_base_1.ElasticBase {
24
21
  }]
25
22
  }
26
23
  },
27
- sort: [{
28
- i_id: 'asc'
29
- }]
24
+ _source: Object.keys(new conta_model_1.SourceConta({}))
30
25
  });
31
- }
32
- async getContaElastic(contaId) {
33
- return (await this.retornaTodosDadosPaginacaoElastic(await this.internalGetContasElastic(contaId)))[0];
26
+ return contas?.hits?.hits?.length > 0 ? contas?.hits?.hits[0] : null;
34
27
  }
35
28
  }
36
29
  exports.ContasElastic = ContasElastic;
@@ -1,10 +1,10 @@
1
1
  import { Client } from '@elastic/elasticsearch';
2
2
  import { SearchHit, SearchResponse } from '@elastic/elasticsearch/lib/api/types';
3
- export declare class ElasticBase {
3
+ export declare class ElasticBase<T> {
4
4
  protected readonly elasticClient: Client;
5
5
  protected readonly totalRegistrosFiltradosElastic = 500;
6
6
  constructor(elasticClient: Client);
7
7
  private searchScrollObjectElastic;
8
8
  private adicionarRegistrosPaginacaoElastic;
9
- protected retornaTodosDadosPaginacaoElastic(filtroInicial: SearchResponse): Promise<Array<SearchHit<any>>>;
9
+ protected retornaTodosDadosPaginacaoElastic(filtroInicial: SearchResponse<T>): Promise<Array<SearchHit<T>>>;
10
10
  }
@@ -1,6 +1,11 @@
1
1
  import { ElasticBase } from './elastic-base';
2
+ import { SourceEmpresa } from './model/empresa-model';
2
3
  import { SearchHit } from '@elastic/elasticsearch/lib/api/types';
3
- export declare class EmpresasElastic extends ElasticBase {
4
+ export declare class EmpresasElastic extends ElasticBase<SourceEmpresa> {
5
+ getEmpresaElastic({ contaId, empresaId }: {
6
+ contaId: string;
7
+ empresaId: string;
8
+ }): Promise<SearchHit<SourceEmpresa> | null>;
4
9
  private internalGetEmpresasElastic;
5
- getEmpresasElastic(contaId: string): Promise<Array<SearchHit<any>>>;
10
+ getEmpresasElastic(contaId: string): Promise<Array<SearchHit<SourceEmpresa>>>;
6
11
  }
@@ -2,37 +2,55 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.EmpresasElastic = void 0;
4
4
  const elastic_base_1 = require("./elastic-base");
5
+ const empresa_model_1 = require("./model/empresa-model");
5
6
  class EmpresasElastic extends elastic_base_1.ElasticBase {
7
+ async getEmpresaElastic({ contaId, empresaId }) {
8
+ const empresa = await this.elasticClient.search({
9
+ size: 1,
10
+ index: 'contas_empresas',
11
+ query: {
12
+ bool: {
13
+ must: [{
14
+ match: {
15
+ excluido: false
16
+ }
17
+ }, {
18
+ match: {
19
+ i_id: empresaId
20
+ }
21
+ }, {
22
+ match: {
23
+ i_parent_id: contaId
24
+ }
25
+ }]
26
+ }
27
+ },
28
+ _source: Object.keys(new empresa_model_1.SourceEmpresa({}))
29
+ });
30
+ return empresa?.hits?.hits?.length > 0 ? empresa?.hits?.hits[0] : null;
31
+ }
6
32
  async internalGetEmpresasElastic(contaId) {
7
33
  return await this.elasticClient.search({
8
34
  scroll: '1m',
35
+ sort: [{
36
+ i_id: 'asc'
37
+ }],
9
38
  index: 'contas_empresas',
10
- size: this.totalRegistrosFiltradosElastic,
11
- _source: [
12
- 'i_id',
13
- 'cnpj',
14
- 'razao',
15
- 'fantasia',
16
- 'endereco.uf',
17
- 'endereco.cidade',
18
- 'parametros.codigo_externo'
19
- ],
20
39
  query: {
21
40
  bool: {
22
41
  must: [{
23
42
  match: {
24
- i_parent_id: contaId
43
+ excluido: false
25
44
  }
26
45
  }, {
27
46
  match: {
28
- excluido: false
47
+ i_parent_id: contaId
29
48
  }
30
49
  }]
31
50
  }
32
51
  },
33
- sort: [{
34
- i_id: 'asc'
35
- }]
52
+ size: this.totalRegistrosFiltradosElastic,
53
+ _source: Object.keys(new empresa_model_1.SourceEmpresa({}))
36
54
  });
37
55
  }
38
56
  async getEmpresasElastic(contaId) {
@@ -1,9 +1,10 @@
1
1
  import { ElasticBase } from './elastic-base';
2
+ import { SourceEmpresaFeriado } from './model/empresa-feriado-model';
2
3
  import { SearchHit } from '@elastic/elasticsearch/lib/api/types';
3
- export declare class EmpresasFeriadoElastic extends ElasticBase {
4
+ export declare class EmpresasFeriadoElastic extends ElasticBase<SourceEmpresaFeriado> {
4
5
  private internalGeEmpresasFeriadoElastic;
5
6
  getEmpresasFeriadoElastic({ empresaId, feriadoId }: {
6
7
  empresaId: string;
7
8
  feriadoId: string;
8
- }): Promise<Array<SearchHit<any>>>;
9
+ }): Promise<Array<SearchHit<SourceEmpresaFeriado>>>;
9
10
  }
@@ -2,20 +2,19 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.EmpresasFeriadoElastic = void 0;
4
4
  const elastic_base_1 = require("./elastic-base");
5
+ const empresa_feriado_model_1 = require("./model/empresa-feriado-model");
5
6
  class EmpresasFeriadoElastic extends elastic_base_1.ElasticBase {
6
7
  async internalGeEmpresasFeriadoElastic({ empresaId, feriadoId }) {
7
8
  return await this.elasticClient.search({
8
9
  scroll: '1m',
9
- index: 'contas_feriados_empresasferiado',
10
- size: this.totalRegistrosFiltradosElastic,
11
- _source: [
12
- 'i_id'
13
- ],
10
+ sort: [{
11
+ i_id: 'asc'
12
+ }],
14
13
  query: {
15
14
  bool: {
16
15
  must: [{
17
16
  match: {
18
- i_parent_id: feriadoId
17
+ excluido: false
19
18
  }
20
19
  }, {
21
20
  match: {
@@ -23,14 +22,14 @@ class EmpresasFeriadoElastic extends elastic_base_1.ElasticBase {
23
22
  }
24
23
  }, {
25
24
  match: {
26
- excluido: false
25
+ i_parent_id: feriadoId
27
26
  }
28
27
  }]
29
28
  }
30
29
  },
31
- sort: [{
32
- i_id: 'asc'
33
- }]
30
+ index: 'contas_feriados_empresasferiado',
31
+ size: this.totalRegistrosFiltradosElastic,
32
+ _source: Object.keys(new empresa_feriado_model_1.SourceEmpresaFeriado({}))
34
33
  });
35
34
  }
36
35
  async getEmpresasFeriadoElastic({ empresaId, feriadoId }) {
@@ -1,9 +1,9 @@
1
1
  import { ElasticBase } from './elastic-base';
2
2
  import { SearchHit } from '@elastic/elasticsearch/lib/api/types';
3
- export declare class EventosExportacoesElastic extends ElasticBase {
4
- private internalGetEventosExportacoesElastic;
3
+ import { SourceEventosExportacao } from './model/eventos-exportacao-model';
4
+ export declare class EventosExportacoesElastic extends ElasticBase<SourceEventosExportacao> {
5
5
  getEventosExportacoesElastic({ contaId, tabelaEventosId }: {
6
6
  contaId: string;
7
7
  tabelaEventosId: string;
8
- }): Promise<SearchHit<any>>;
8
+ }): Promise<SearchHit<SourceEventosExportacao> | null>;
9
9
  }
@@ -2,44 +2,32 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.EventosExportacoesElastic = void 0;
4
4
  const elastic_base_1 = require("./elastic-base");
5
+ const eventos_exportacao_model_1 = require("./model/eventos-exportacao-model");
5
6
  class EventosExportacoesElastic extends elastic_base_1.ElasticBase {
6
- async internalGetEventosExportacoesElastic({ contaId, tabelaEventosId }) {
7
- return await this.elasticClient.search({
8
- scroll: '1m',
7
+ async getEventosExportacoesElastic({ contaId, tabelaEventosId }) {
8
+ const eventos = await this.elasticClient.search({
9
+ size: 1,
9
10
  index: 'contas_eventosexportacoes',
10
- size: this.totalRegistrosFiltradosElastic,
11
- _source: [
12
- 'eventos',
13
- 'forma_envio_faltas'
14
- ],
15
11
  query: {
16
12
  bool: {
17
13
  must: [{
18
14
  match: {
19
- i_parent_id: contaId
15
+ excluido: false
20
16
  }
21
17
  }, {
22
18
  match: {
23
- i_id: tabelaEventosId
19
+ i_parent_id: contaId
24
20
  }
25
21
  }, {
26
22
  match: {
27
- excluido: false
23
+ i_id: tabelaEventosId
28
24
  }
29
25
  }]
30
26
  }
31
27
  },
32
- sort: [{
33
- i_id: 'asc'
34
- }]
28
+ _source: Object.keys(new eventos_exportacao_model_1.SourceEventosExportacao({}))
35
29
  });
36
- }
37
- async getEventosExportacoesElastic({ contaId, tabelaEventosId }) {
38
- const retorno = await this.retornaTodosDadosPaginacaoElastic(await this.internalGetEventosExportacoesElastic({
39
- contaId: contaId,
40
- tabelaEventosId: tabelaEventosId
41
- }));
42
- return retorno[0];
30
+ return eventos?.hits?.hits?.length > 0 ? eventos?.hits?.hits[0] : null;
43
31
  }
44
32
  }
45
33
  exports.EventosExportacoesElastic = EventosExportacoesElastic;
@@ -1,10 +1,11 @@
1
1
  import { ElasticBase } from './elastic-base';
2
+ import { SourceFeriado } from './model/feriado-model';
2
3
  import { SearchHit } from '@elastic/elasticsearch/lib/api/types';
3
- export declare class FeriadosElastic extends ElasticBase {
4
+ export declare class FeriadosElastic extends ElasticBase<SourceFeriado> {
4
5
  private internalGetFeriadosElastic;
5
6
  getFeriadosElastic({ contaId, dataFinal, dataInicial }: {
6
7
  contaId: string;
7
8
  dataFinal: Date;
8
9
  dataInicial: Date;
9
- }): Promise<Array<SearchHit<any>>>;
10
+ }): Promise<Array<SearchHit<SourceFeriado>>>;
10
11
  }
@@ -6,29 +6,26 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.FeriadosElastic = void 0;
7
7
  const moment_1 = __importDefault(require("moment"));
8
8
  const elastic_base_1 = require("./elastic-base");
9
+ const feriado_model_1 = require("./model/feriado-model");
9
10
  class FeriadosElastic extends elastic_base_1.ElasticBase {
10
11
  async internalGetFeriadosElastic({ contaId, dataFinal, dataInicial }) {
11
12
  return await this.elasticClient.search({
12
13
  scroll: '1m',
14
+ sort: [{
15
+ data: 'asc'
16
+ }],
13
17
  index: 'contas_feriados',
14
18
  size: this.totalRegistrosFiltradosElastic,
15
- _source: [
16
- 'uf',
17
- 'i_id',
18
- 'tipo',
19
- 'data',
20
- 'municipio',
21
- 'todas_empresas'
22
- ],
19
+ _source: Object.keys(new feriado_model_1.SourceFeriado({})),
23
20
  query: {
24
21
  bool: {
25
22
  must: [{
26
23
  match: {
27
- i_parent_id: contaId
24
+ excluido: false
28
25
  }
29
26
  }, {
30
27
  match: {
31
- excluido: false
28
+ i_parent_id: contaId
32
29
  }
33
30
  }, {
34
31
  range: {
@@ -39,10 +36,7 @@ class FeriadosElastic extends elastic_base_1.ElasticBase {
39
36
  }
40
37
  }]
41
38
  }
42
- },
43
- sort: [{
44
- data: 'asc'
45
- }]
39
+ }
46
40
  });
47
41
  }
48
42
  async getFeriadosElastic({ contaId, dataFinal, dataInicial }) {
@@ -1,6 +1,7 @@
1
1
  import { ElasticBase } from './elastic-base';
2
+ import { SourceJornada } from './model/jornada-model';
2
3
  import { SearchHit } from '@elastic/elasticsearch/lib/api/types';
3
- export declare class JornadasElastic extends ElasticBase {
4
+ export declare class JornadasElastic extends ElasticBase<SourceJornada> {
4
5
  private internalGetJornadasElastic;
5
6
  getJornadasElastic({ contaId, dataFinal, empresaId, dataInicial, usuariosIds, departamentosIds }: {
6
7
  contaId: string;
@@ -9,5 +10,5 @@ export declare class JornadasElastic extends ElasticBase {
9
10
  dataInicial: Date;
10
11
  usuariosIds?: Array<string>;
11
12
  departamentosIds?: Array<string>;
12
- }): Promise<Array<SearchHit<any>>>;
13
+ }): Promise<Array<SearchHit<SourceJornada>>>;
13
14
  }
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.JornadasElastic = void 0;
7
7
  const moment_1 = __importDefault(require("moment"));
8
8
  const elastic_base_1 = require("./elastic-base");
9
+ const jornada_model_1 = require("./model/jornada-model");
9
10
  class JornadasElastic extends elastic_base_1.ElasticBase {
10
11
  async internalGetJornadasElastic({ fim, inicio, contaId, empresaId, usuariosIds, departamentosIds }) {
11
12
  const queryMust = new Array();
@@ -43,32 +44,12 @@ class JornadasElastic extends elastic_base_1.ElasticBase {
43
44
  });
44
45
  return await this.elasticClient.search({
45
46
  scroll: '1m',
47
+ sort: [{
48
+ data_hora: 'asc'
49
+ }],
46
50
  index: 'contas_jornadas',
47
51
  size: this.totalRegistrosFiltradosElastic,
48
- _source: [
49
- 'data_hora',
50
- 'usuario.uid',
51
- 'usuario.cpf',
52
- 'usuario.pis',
53
- 'horas_extras',
54
- 'horas_normais',
55
- 'horas_noturnas',
56
- 'horas_negativas',
57
- 'jornada_prevista',
58
- 'jornada_realizada',
59
- 'regime_compensacao',
60
- 'usuario.cargo.nome',
61
- 'usuario.empresa.uf',
62
- 'faixas_horas_extras',
63
- 'usuario.empresa.uid',
64
- 'marcacoes_ignoradas',
65
- 'usuario.empresa.cnpj',
66
- 'horas_noturnas_extras',
67
- 'usuario.empresa.cidade',
68
- 'horas_extras_intrajornada',
69
- 'usuario.parametros.codigo_externo',
70
- 'usuario.empresa.parametros.codigo_externo'
71
- ],
52
+ _source: Object.keys(new jornada_model_1.SourceJornada({})),
72
53
  query: {
73
54
  bool: {
74
55
  must: queryMust,
@@ -78,10 +59,7 @@ class JornadasElastic extends elastic_base_1.ElasticBase {
78
59
  }
79
60
  }]
80
61
  }
81
- },
82
- sort: [{
83
- data_hora: 'asc'
84
- }]
62
+ }
85
63
  });
86
64
  }
87
65
  async getJornadasElastic({ contaId, dataFinal, empresaId, dataInicial, usuariosIds, departamentosIds }) {
@@ -0,0 +1,6 @@
1
+ export declare class SourceConta {
2
+ parametros: {
3
+ horario_noturno: any;
4
+ };
5
+ constructor(conta: Partial<SourceConta>);
6
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SourceConta = void 0;
4
+ class SourceConta {
5
+ parametros;
6
+ constructor(conta) {
7
+ this.parametros = conta.parametros;
8
+ }
9
+ }
10
+ exports.SourceConta = SourceConta;
@@ -0,0 +1,4 @@
1
+ export declare class SourceEmpresaFeriado {
2
+ i_id: string;
3
+ constructor(empresaFeriado: Partial<SourceEmpresaFeriado>);
4
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SourceEmpresaFeriado = void 0;
4
+ class SourceEmpresaFeriado {
5
+ i_id;
6
+ constructor(empresaFeriado) {
7
+ this.i_id = empresaFeriado.i_id;
8
+ }
9
+ }
10
+ exports.SourceEmpresaFeriado = SourceEmpresaFeriado;
@@ -0,0 +1,16 @@
1
+ import { DadosIntegracao } from "./general-models";
2
+ export declare class SourceEmpresa {
3
+ i_id: string;
4
+ cnpj: string;
5
+ razao: string;
6
+ fantasia: string;
7
+ endereco: {
8
+ uf: string;
9
+ cidade: string;
10
+ };
11
+ parametros: {
12
+ codigo_externo: string;
13
+ };
14
+ integracao: DadosIntegracao;
15
+ constructor(empresa: Partial<SourceEmpresa>);
16
+ }
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SourceEmpresa = void 0;
4
+ class SourceEmpresa {
5
+ i_id;
6
+ cnpj;
7
+ razao;
8
+ fantasia;
9
+ endereco;
10
+ parametros;
11
+ integracao;
12
+ constructor(empresa) {
13
+ this.i_id = empresa.i_id;
14
+ this.cnpj = empresa.cnpj;
15
+ this.razao = empresa.razao;
16
+ this.fantasia = empresa.fantasia;
17
+ this.endereco = empresa.endereco;
18
+ this.integracao = empresa.integracao;
19
+ this.parametros = empresa.parametros;
20
+ }
21
+ }
22
+ exports.SourceEmpresa = SourceEmpresa;
@@ -0,0 +1,5 @@
1
+ export declare class SourceEventosExportacao {
2
+ eventos: any;
3
+ forma_envio_faltas: string;
4
+ constructor(eventoExportacao: Partial<SourceEventosExportacao>);
5
+ }
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SourceEventosExportacao = void 0;
4
+ class SourceEventosExportacao {
5
+ eventos;
6
+ forma_envio_faltas;
7
+ constructor(eventoExportacao) {
8
+ this.eventos = eventoExportacao.eventos;
9
+ this.forma_envio_faltas = eventoExportacao.forma_envio_faltas;
10
+ }
11
+ }
12
+ exports.SourceEventosExportacao = SourceEventosExportacao;
@@ -0,0 +1,10 @@
1
+ export declare class SourceFeriado {
2
+ uf: string;
3
+ data: Date;
4
+ i_id: string;
5
+ tipo: string;
6
+ municipio: string;
7
+ todas_empresas: boolean;
8
+ departamentos?: Array<string>;
9
+ constructor(feriado: Partial<SourceFeriado>);
10
+ }
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SourceFeriado = void 0;
4
+ class SourceFeriado {
5
+ uf;
6
+ data;
7
+ i_id;
8
+ tipo;
9
+ municipio;
10
+ todas_empresas;
11
+ departamentos;
12
+ constructor(feriado) {
13
+ this.uf = feriado.uf;
14
+ this.data = feriado.data;
15
+ this.i_id = feriado.i_id;
16
+ this.tipo = feriado.tipo;
17
+ this.municipio = feriado.municipio;
18
+ this.departamentos = feriado.departamentos;
19
+ this.todas_empresas = feriado.todas_empresas;
20
+ }
21
+ }
22
+ exports.SourceFeriado = SourceFeriado;