@win2win/shared 1.0.11 → 1.0.13

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.
@@ -1,17 +1,17 @@
1
1
  import { Id } from "../shared";
2
2
  import { TipoComision } from "./comision";
3
- export interface ItemLiquidable {
3
+ interface ItemLiquidable {
4
4
  ID_CAPTACION: Id;
5
5
  TIPO: string;
6
6
  ESTADO: string;
7
- pedido: Pedido;
8
- gerente: UsuarioLite;
9
- jefe_delefacion: UsuarioLite;
7
+ pedido: ItemLiquidablePedido;
8
+ gerente: ItemLiquidableUsuarioLite;
9
+ jefe_delefacion: ItemLiquidableUsuarioLite;
10
10
  situacion: {
11
11
  ID_SITUACION: number;
12
12
  NOMBRE: string;
13
13
  };
14
- captador: UsuarioLite;
14
+ captador: ItemLiquidableUsuarioLite;
15
15
  delegacion: {
16
16
  ID_DELEGACION: Id;
17
17
  COD_DEL_MVX: string;
@@ -21,17 +21,18 @@ export interface ItemLiquidable {
21
21
  ID_GERENCIA: Id;
22
22
  NOMBRE: string;
23
23
  };
24
- comision: Comision;
25
- comision_calculada: ComisionCalculada;
24
+ comision: ItemLiquidableComision;
25
+ comision_calculada: ItemLiquidableComisionCalculada;
26
26
  }
27
- interface UsuarioLite {
27
+ interface ItemLiquidableUsuarioLite {
28
28
  ID_USUARIO: Id;
29
+ COD_USU_MVX: string;
29
30
  CONTACTO: {
30
31
  NOMBRE: string;
31
32
  APELLIDO: null;
32
33
  };
33
34
  }
34
- interface Comision {
35
+ interface ItemLiquidableComision {
35
36
  ID_COMISION_DET: Id;
36
37
  TIPO: TipoComision;
37
38
  ORGANIZADOR: number;
@@ -45,8 +46,8 @@ interface Comision {
45
46
  OVER5: number;
46
47
  BOLSA: number;
47
48
  }
48
- type ComisionCalculada = Omit<Comision, 'ID_COMISION_DET' | 'TIPO' | 'BOLSA'>;
49
- export interface Pedido {
49
+ type ItemLiquidableComisionCalculada = Omit<ItemLiquidableComision, 'ID_COMISION_DET' | 'TIPO' | 'BOLSA'>;
50
+ interface ItemLiquidablePedido {
50
51
  ID_PEDIDO: Id;
51
52
  IMP_TOTAL_PED: number;
52
53
  IMP_NETO_PED: number;
@@ -60,4 +61,4 @@ export interface Pedido {
60
61
  };
61
62
  }[];
62
63
  }
63
- export {};
64
+ export { ItemLiquidable, ItemLiquidableComision, ItemLiquidableComisionCalculada, ItemLiquidablePedido, ItemLiquidableUsuarioLite };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@win2win/shared",
3
- "version": "1.0.11",
3
+ "version": "1.0.13",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",