flit-models 2.1.20 → 2.1.21

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.
@@ -56,7 +56,7 @@ var Lancamento = /** @class */ (function () {
56
56
  */
57
57
  function Lancamento(lancamentoPayload) {
58
58
  var _this = this;
59
- var keysOfProps = ["data_criacao", "status", "_id", "_path", "descricao", "excluido", "data_inicial", "data_final", "ocorrencia", "todos_colaboradores", "periodos", "data_atualizacao", "data_intervalo", "acao_tipo", "empresa"];
59
+ var keysOfProps = ["data_criacao", "status", "_id", "_path", "descricao", "excluido", "data_inicial", "data_final", "acao_tipo", "ocorrencia", "todos_colaboradores", "periodos", "data_atualizacao", "data_intervalo", "empresa"];
60
60
  keysOfProps.forEach(function (key) {
61
61
  _this[key] = lancamentoPayload
62
62
  ? lancamentoPayload[key]
@@ -30,8 +30,8 @@ var LancamentoFireConvert = /** @class */ (function () {
30
30
  : null,
31
31
  descricao: string_helper_1.StringHelper.trim(doc.get('descricao'), null),
32
32
  excluido: boolean_helper_1.BooleanHelper.check(doc.get('excluido'), false),
33
- acao_tipo: string_helper_1.StringHelper.trim(doc.get('tipo'), null),
34
- status: string_helper_1.StringHelper.trim(doc.get('tipo'), null),
33
+ acao_tipo: string_helper_1.StringHelper.trim(doc.get('acao_tipo'), null),
34
+ status: string_helper_1.StringHelper.trim(doc.get('status'), null),
35
35
  empresa: {
36
36
  documento: string_helper_1.StringHelper.trim(doc.get('empresa.documento'), null),
37
37
  fantasia: string_helper_1.StringHelper.trim(doc.get('empresa.fantasia'), null),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flit-models",
3
- "version": "2.1.20",
3
+ "version": "2.1.21",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",