@win2win/shared 1.0.155 → 1.0.157

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.
@@ -5,4 +5,5 @@ export * from "./landings";
5
5
  export * from "./layout_documentos";
6
6
  export * from "./liquidaciones";
7
7
  export * from "./props";
8
+ export * from "./raw_entities";
8
9
  export * from "./shared";
@@ -21,4 +21,5 @@ __exportStar(require("./landings"), exports);
21
21
  __exportStar(require("./layout_documentos"), exports);
22
22
  __exportStar(require("./liquidaciones"), exports);
23
23
  __exportStar(require("./props"), exports);
24
+ __exportStar(require("./raw_entities"), exports);
24
25
  __exportStar(require("./shared"), exports);
@@ -0,0 +1,20 @@
1
+ export interface ArchivoRaw {
2
+ FILETYPE: string;
3
+ ID_ARCHIVO: number;
4
+ LOCATION: string;
5
+ FILENAME: string;
6
+ ID_DOCUMENTACION_SOLICITADA: number;
7
+ DESCRIPCION: string;
8
+ OBSERVACION: null;
9
+ TAGS: string;
10
+ APROBADA: string;
11
+ ESTADO: number;
12
+ SUBIDO_POR: null;
13
+ APROBADO_POR: number;
14
+ FECHA_SUBIDA: Date;
15
+ FECHA_APROBADO: Date;
16
+ ID_CONTACTO: null;
17
+ ID_PRODUCTO: number;
18
+ PUBLICO: boolean;
19
+ PRINCIPAL: boolean;
20
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,16 @@
1
+ import { GamaProp } from "../props";
2
+ import { JsonObject } from "../shared";
3
+ export interface GamaRaw {
4
+ ID_GAMA: number;
5
+ ID_GAMA_PADRE: number;
6
+ ID_EMPRESA: number;
7
+ CODIGO: number;
8
+ NOMBRE: string;
9
+ ESTADO: string;
10
+ MOSTRAR: string;
11
+ PROPS: GamaProp[];
12
+ REQUIERE: JsonObject;
13
+ PRESENTACION: JsonObject;
14
+ FECHA_CREADO: Date;
15
+ FECHA_UPD: Date;
16
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ export * from './archivo';
2
+ export * from './gama';
3
+ export * from './producto';
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./archivo"), exports);
18
+ __exportStar(require("./gama"), exports);
19
+ __exportStar(require("./producto"), exports);
@@ -0,0 +1,39 @@
1
+ import { Estado } from "../estados";
2
+ import { JsonObject } from "../shared";
3
+ import { ArchivoRaw } from "./archivo";
4
+ import { GamaRaw } from "./gama";
5
+ export interface ProductoRaw {
6
+ ID_PRODUCTO: number;
7
+ ID_EMPRESA: number;
8
+ COD_ART_MVX: string;
9
+ PACK: boolean;
10
+ NOMBRE: string;
11
+ DESCRIPCION: string;
12
+ ID_CAPTACION: number;
13
+ ID_PROVEEDOR: number;
14
+ PAQUETE?: boolean;
15
+ PRECIO?: number;
16
+ PRECIOS?: any[];
17
+ ID_PRODUCTOS_PAQUETE?: string;
18
+ TIPO: string;
19
+ ESTADO: string;
20
+ ID_GAMA: number;
21
+ ID_TIE_DEF: string;
22
+ PROPS: JsonObject;
23
+ PRODUCT_PROPS?: any;
24
+ PUBLICO: boolean;
25
+ FECHA_UPD: Date;
26
+ FECHA_CREADO: Date;
27
+ GRUPO: string;
28
+ UNDBASICA: string;
29
+ FACTORAGR: string;
30
+ CONTROLLOTE: string;
31
+ TIPO_CLIENTE: string;
32
+ UBICACION: JsonObject;
33
+ TIE: any;
34
+ TAGS: string;
35
+ GAMA: GamaRaw;
36
+ R_GAMA: GamaRaw;
37
+ R_IMG: Partial<ArchivoRaw>[];
38
+ R_ESTADO: Partial<Estado>;
39
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@win2win/shared",
3
- "version": "1.0.155",
3
+ "version": "1.0.157",
4
4
  "description": "Tipos, interfaces, funciones, constantes, clases y enums compartidos por todos los proyectos de Win2Win",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",