flit-models 2.1.32 → 2.1.35

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.
@@ -4,9 +4,9 @@ export * from './lancamento-json-convert';
4
4
  export * from './verificacoes/verificacao-lancamento-fire-convert';
5
5
  export * from './verificacoes/verificacao-lancamento';
6
6
  export declare enum LancamentoStatusEnum {
7
- COMPLETO = "COMPLETO",
8
- PROCESSANDO = "PROCESSANDO",
9
- VERIFICAR = "VERIFICAR"
7
+ REALIZADO = "REALIZADO",
8
+ EXCLUIDO = "EXCLUIDO",
9
+ PENDENTE = "PENDENTE"
10
10
  }
11
11
  export declare enum TipoAcaoLancamentoEnum {
12
12
  Abono = "Abono",
@@ -21,9 +21,10 @@ __exportStar(require("./verificacoes/verificacao-lancamento-fire-convert"), expo
21
21
  __exportStar(require("./verificacoes/verificacao-lancamento"), exports);
22
22
  var LancamentoStatusEnum;
23
23
  (function (LancamentoStatusEnum) {
24
- LancamentoStatusEnum["COMPLETO"] = "COMPLETO";
25
- LancamentoStatusEnum["PROCESSANDO"] = "PROCESSANDO";
26
- LancamentoStatusEnum["VERIFICAR"] = "VERIFICAR";
24
+ LancamentoStatusEnum["REALIZADO"] = "REALIZADO";
25
+ LancamentoStatusEnum["EXCLUIDO"] = "EXCLUIDO";
26
+ LancamentoStatusEnum["PENDENTE"] = "PENDENTE";
27
+ // PROCESSANDO = 'PROCESSANDO', // lançamento em processamento (Não esta sendo usado hoje ainda)
27
28
  })(LancamentoStatusEnum = exports.LancamentoStatusEnum || (exports.LancamentoStatusEnum = {}));
28
29
  var TipoAcaoLancamentoEnum;
29
30
  (function (TipoAcaoLancamentoEnum) {
@@ -75,8 +75,8 @@ var LancamentoFireConvert = /** @class */ (function () {
75
75
  : lancamento.data_final
76
76
  ? firestore_1.Timestamp.fromDate(lancamento.data_final)
77
77
  : null,
78
- data_intervalo: array_helpers_1.ArrayHelper.checkStringArray(lancamento.data_intervalo, undefined),
79
- colaboradores_ids: array_helpers_1.ArrayHelper.checkStringArray(lancamento.data_intervalo, undefined),
78
+ data_intervalo: array_helpers_1.ArrayHelper.checkStringArray(lancamento.data_intervalo, null),
79
+ colaboradores_ids: array_helpers_1.ArrayHelper.checkStringArray(lancamento.colaboradores_ids, null),
80
80
  descricao: string_helper_1.StringHelper.trim(lancamento.descricao, null),
81
81
  excluido: boolean_helper_1.BooleanHelper.check(lancamento.excluido, false),
82
82
  acao_tipo: string_helper_1.StringHelper.trim(lancamento.acao_tipo, null),
@@ -21,7 +21,7 @@ export interface VerificacaoLancamentoBase {
21
21
  visto: any;
22
22
  }
23
23
  /**
24
- * Internal class col contas/${contaId}/lancamentos/${lancamentoId}/verificacoes_lancamentos/${usuarioId}.
24
+ * Internal class col contas/${contaId}/lancamentos/${lancamentoId}/verificacoes_lancamentos/${verificacaoId}.
25
25
  *
26
26
  * @export
27
27
  * @class UsuarioLancamento
@@ -7,7 +7,7 @@ var TipoReferenciaVerificacaoLancamento;
7
7
  TipoReferenciaVerificacaoLancamento["USUARIO"] = "USUARIO";
8
8
  })(TipoReferenciaVerificacaoLancamento = exports.TipoReferenciaVerificacaoLancamento || (exports.TipoReferenciaVerificacaoLancamento = {}));
9
9
  /**
10
- * Internal class col contas/${contaId}/lancamentos/${lancamentoId}/verificacoes_lancamentos/${usuarioId}.
10
+ * Internal class col contas/${contaId}/lancamentos/${lancamentoId}/verificacoes_lancamentos/${verificacaoId}.
11
11
  *
12
12
  * @export
13
13
  * @class UsuarioLancamento
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flit-models",
3
- "version": "2.1.32",
3
+ "version": "2.1.35",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",