flit-models 3.2.46 → 3.2.47

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.
@@ -2,7 +2,8 @@ export * from './modificador-fire-convert';
2
2
  export declare enum EnumAuditoriaModificadorTipo {
3
3
  USUARIO = "USUARIO",
4
4
  API_ECONTADOR = "API_ECONTADOR",
5
- API_DOMINIO = "API_DOMINIO"
5
+ API_DOMINIO = "API_DOMINIO",
6
+ INTERNO = "INTERNO"
6
7
  }
7
8
  export interface AuditoriaModificadorBase {
8
9
  id: string;
@@ -21,6 +21,7 @@ var EnumAuditoriaModificadorTipo;
21
21
  EnumAuditoriaModificadorTipo["USUARIO"] = "USUARIO";
22
22
  EnumAuditoriaModificadorTipo["API_ECONTADOR"] = "API_ECONTADOR";
23
23
  EnumAuditoriaModificadorTipo["API_DOMINIO"] = "API_DOMINIO";
24
+ EnumAuditoriaModificadorTipo["INTERNO"] = "INTERNO";
24
25
  })(EnumAuditoriaModificadorTipo = exports.EnumAuditoriaModificadorTipo || (exports.EnumAuditoriaModificadorTipo = {}));
25
26
  /**
26
27
  * Internal class auditoria doc.
@@ -111,7 +111,7 @@ export declare class Lancamento implements LancamentoBase {
111
111
  integracao?: {
112
112
  id: string;
113
113
  tipo: LancamentoIntegracaoTipoEnum;
114
- detalhes: {
114
+ detalhes?: {
115
115
  [key: string]: any;
116
116
  gestor_parecer?: string;
117
117
  parecer_gestor_concatenado_jornada: boolean;
@@ -31,10 +31,10 @@ export interface LancamentoElasticSource {
31
31
  descricao: string;
32
32
  empresa: Empresa;
33
33
  excluido: boolean;
34
- integracao: {
34
+ integracao?: {
35
35
  id: string;
36
36
  tipo: LancamentoIntegracaoTipoEnum;
37
- detalhes: {
37
+ detalhes?: {
38
38
  [key: string]: any;
39
39
  gestor_parecer?: string;
40
40
  parecer_gestor_concatenado_jornada: boolean;
@@ -24,7 +24,7 @@ export declare class LancamentoFirestoreData implements LancamentoBase {
24
24
  integracao?: {
25
25
  id: string;
26
26
  tipo: LancamentoIntegracaoTipoEnum;
27
- detalhes: {
27
+ detalhes?: {
28
28
  [key: string]: any;
29
29
  gestor_parecer?: string;
30
30
  parecer_gestor_concatenado_jornada: boolean;
@@ -28,7 +28,7 @@ export declare class LancamentoJsonData implements LancamentoBase {
28
28
  integracao?: {
29
29
  id: string;
30
30
  tipo: LancamentoIntegracaoTipoEnum;
31
- detalhes: {
31
+ detalhes?: {
32
32
  [key: string]: any;
33
33
  gestor_parecer?: string;
34
34
  parecer_gestor_concatenado_jornada: boolean;
@@ -17,7 +17,7 @@ var LancamentoJsonConvert = /** @class */ (function () {
17
17
  function LancamentoJsonConvert() {
18
18
  }
19
19
  LancamentoJsonConvert.fromJson = function (obj) {
20
- var _a, _b, _c;
20
+ var _a, _b, _c, _d;
21
21
  return new _1.Lancamento({
22
22
  _id: (_a = obj._id) !== null && _a !== void 0 ? _a : null,
23
23
  _path: (_b = obj._path) !== null && _b !== void 0 ? _b : null,
@@ -51,7 +51,7 @@ var LancamentoJsonConvert = /** @class */ (function () {
51
51
  ? {
52
52
  id: obj.integracao.id,
53
53
  tipo: obj.integracao.tipo,
54
- detalhes: obj.integracao.detalhes,
54
+ detalhes: (_d = obj.integracao.detalhes) !== null && _d !== void 0 ? _d : undefined,
55
55
  }
56
56
  : undefined,
57
57
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flit-models",
3
- "version": "3.2.46",
3
+ "version": "3.2.47",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",