flit-modulo-exportacoes 2.0.63 → 2.0.65

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.
@@ -8,7 +8,7 @@ class DepartamentosElastic extends elastic_base_1.ElasticBase {
8
8
  return await this.elasticClient.search({
9
9
  scroll: '1m',
10
10
  sort: [{
11
- data: 'asc'
11
+ i_id: 'asc'
12
12
  }],
13
13
  index: 'contas_departamentos',
14
14
  size: this.totalRegistrosFiltradosElastic,
@@ -196,6 +196,20 @@ export interface DadosIntegracao {
196
196
  tipo: string;
197
197
  id_externo?: string;
198
198
  }
199
+ /**
200
+ * Interface com o modelo das faltas a serem enviadas para a API do eContador.
201
+ *
202
+ * @interface FaltaEnvioEContador
203
+ */
204
+ export interface FaltaEnvioEContador {
205
+ fim: string;
206
+ dia: string;
207
+ empresa: null;
208
+ inicio: string;
209
+ empresaId: string;
210
+ funcionario: null;
211
+ funcionarioId: string;
212
+ }
199
213
  /**
200
214
  * Interface com o modelo dos movimentos a serem enviados para a API do eContador.
201
215
  *
@@ -209,11 +223,11 @@ export interface MovimentoEnvioEContador {
209
223
  eventoId: string;
210
224
  comentario: string;
211
225
  complemento: string;
212
- faltas: Array<string>;
213
226
  funcionarioId: string;
214
227
  departamentoId: string;
215
228
  tipomovimentoId: string;
216
229
  id: string | number | null;
230
+ faltas: Array<FaltaEnvioEContador>;
217
231
  }
218
232
  /**
219
233
  * Interface com o modelo dos dados a serem enviados para a API do eContador.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flit-modulo-exportacoes",
3
- "version": "2.0.63",
3
+ "version": "2.0.65",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "directories": {