@mc-hogar/crosslib 1.0.43 → 1.0.45

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.
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./types"), exports);
18
+ __exportStar(require("./utils"), exports);
18
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/Financiacion/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/Financiacion/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB;AACvB,0CAAuB"}
@@ -1 +1 @@
1
- {"version":3,"file":"PlanPago.types.js","sourceRoot":"","sources":["../../../../../src/modules/Financiacion/types/PlanPago.types.ts"],"names":[],"mappings":";;;AAmCA,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,uCAAmB,CAAA;IACnB,2CAAuB,CAAA;IACvB,mCAAe,CAAA;AACjB,CAAC,EAJW,gBAAgB,gCAAhB,gBAAgB,QAI3B"}
1
+ {"version":3,"file":"PlanPago.types.js","sourceRoot":"","sources":["../../../../../src/modules/Financiacion/types/PlanPago.types.ts"],"names":[],"mappings":";;;AAoCA,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,uCAAmB,CAAA;IACnB,2CAAuB,CAAA;IACvB,mCAAe,CAAA;AACjB,CAAC,EAJW,gBAAgB,gCAAhB,gBAAgB,QAI3B"}
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/Financiacion/utils/index.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  export * from './types';
2
+ export * from './utils';
2
3
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/Financiacion/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/Financiacion/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"PlanPago.types.js","sourceRoot":"","sources":["../../../../../src/modules/Financiacion/types/PlanPago.types.ts"],"names":[],"mappings":"AAmCA,MAAM,CAAN,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,uCAAmB,CAAA;IACnB,2CAAuB,CAAA;IACvB,mCAAe,CAAA;AACjB,CAAC,EAJW,gBAAgB,KAAhB,gBAAgB,QAI3B"}
1
+ {"version":3,"file":"PlanPago.types.js","sourceRoot":"","sources":["../../../../../src/modules/Financiacion/types/PlanPago.types.ts"],"names":[],"mappings":"AAoCA,MAAM,CAAN,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,uCAAmB,CAAA;IACnB,2CAAuB,CAAA;IACvB,mCAAe,CAAA;AACjB,CAAC,EAJW,gBAAgB,KAAhB,gBAAgB,QAI3B"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/Financiacion/utils/index.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  export * from './types';
2
+ export * from './utils';
2
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/Financiacion/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/Financiacion/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA"}
@@ -1,4 +1,13 @@
1
- import type { PlanPago } from './PlanPago.types';
1
+ import type { PlanPago, PlanPagoPrisma } from './PlanPago.types';
2
+ export interface PlanDestacadoCardPrisma {
3
+ aik_ar_codigo: string;
4
+ plan_de_pago_id: number | null;
5
+ createdAt: Date;
6
+ updatedAt: Date;
7
+ }
8
+ export interface PlanDestacadoCardPrismaIncludingPlanDePagoPrisma extends PlanDestacadoCardPrisma {
9
+ finan_plan_de_pago: PlanPagoPrisma | null;
10
+ }
2
11
  export interface PlanDestacadoCard {
3
12
  aik_ar_codigo: string;
4
13
  plan_de_pago_id: number | null;
@@ -6,6 +15,6 @@ export interface PlanDestacadoCard {
6
15
  updatedAt: string;
7
16
  }
8
17
  export interface PlanDestacadoCardIncludingPlanDePago extends PlanDestacadoCard {
9
- finan_plan_de_pago: PlanPago;
18
+ finan_plan_de_pago: PlanPago | null;
10
19
  }
11
20
  //# sourceMappingURL=PlanDestacadoCard.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PlanDestacadoCard.types.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Financiacion/types/PlanDestacadoCard.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAChD,MAAM,WAAW,iBAAiB;IAC9B,aAAa,EAAE,MAAM,CAAC;IACtB,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,oCAAqC,SAAQ,iBAAiB;IAC3E,kBAAkB,EAAE,QAAQ,CAAA;CAC/B"}
1
+ {"version":3,"file":"PlanDestacadoCard.types.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Financiacion/types/PlanDestacadoCard.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAEhE,MAAM,WAAW,uBAAuB;IACpC,aAAa,EAAE,MAAM,CAAC;IACtB,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;CACnB;AAED,MAAM,WAAW,gDAAiD,SAAQ,uBAAuB;IAC7F,kBAAkB,EAAE,cAAc,GAAG,IAAI,CAAA;CAC5C;AAED,MAAM,WAAW,iBAAiB;IAC9B,aAAa,EAAE,MAAM,CAAC;IACtB,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,oCAAqC,SAAQ,iBAAiB;IAC3E,kBAAkB,EAAE,QAAQ,GAAG,IAAI,CAAA;CACtC"}
@@ -2,6 +2,7 @@ import { ServicioPago } from './ServicioPagos.types';
2
2
  import { Tarjeta } from './Tarjetas.types';
3
3
  import { Banco } from './Bancos.types';
4
4
  import { NroComercio } from './NroComercio.types';
5
+ import Decimal from 'decimal.js';
5
6
  export interface PlanPago {
6
7
  id: number;
7
8
  comentariosWeb: string | null;
@@ -39,4 +40,23 @@ export declare enum EstadoPlanFiltro {
39
40
  INACTIVOS = "inactivos",
40
41
  AMBOS = "ambos"
41
42
  }
43
+ export interface PlanPagoPrisma {
44
+ updated_at: Date;
45
+ id: number;
46
+ comentariosWeb: string | null;
47
+ comentarios: string | null;
48
+ cantidad_cuotas: number;
49
+ coeficiente_recargo_descuento: Decimal;
50
+ porcentaje_reintegro: Decimal | null;
51
+ activo: boolean;
52
+ mostrar_en_calculadora: boolean;
53
+ badge_img_url: string | null;
54
+ fecha_desde_valido: Date | null;
55
+ fecha_hasta_valido: Date | null;
56
+ created_at: Date;
57
+ servicio_pago_id: number;
58
+ tarjeta_id: number;
59
+ banco_id: number;
60
+ nro_comercio_id: number | null;
61
+ }
42
62
  //# sourceMappingURL=PlanPago.types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PlanPago.types.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Financiacion/types/PlanPago.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAA;AAC1C,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAA;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAEjD,MAAM,WAAW,QAAQ;IACrB,EAAE,EAAE,MAAM,CAAC;IACX,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,eAAe,EAAE,MAAM,CAAC;IACxB,6BAA6B,EAAE,MAAM,CAAC;IACtC,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,MAAM,EAAE,OAAO,CAAC;IAChB,sBAAsB,EAAE,OAAO,CAAC;IAChC,aAAa,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;IAClC,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,EAAE,MAAM,CAAC;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,MAAM,6BAA6B,GAAG,QAAQ,GAAG;IAAE,mBAAmB,EAAE,YAAY,CAAA;CAAE,CAAA;AAE5F,MAAM,MAAM,wBAAwB,GAAG,QAAQ,GAAG;IAAE,aAAa,EAAE,OAAO,CAAA;CAAE,CAAA;AAE5E,MAAM,MAAM,sBA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GAAG,IAAI,CAAC;CAChC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/Financiacion/utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mc-hogar/crosslib",
3
- "version": "1.0.43",
3
+ "version": "1.0.45",
4
4
  "description": "Cross-platform TypeScript library",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",