@win2win/shared 1.0.154 → 1.0.156
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.
- package/dist/interfaces/index.d.ts +1 -0
- package/dist/interfaces/index.js +1 -0
- package/dist/interfaces/raw_entities/archivo.d.ts +20 -0
- package/dist/interfaces/raw_entities/archivo.js +2 -0
- package/dist/interfaces/raw_entities/gama.d.ts +16 -0
- package/dist/interfaces/raw_entities/gama.js +2 -0
- package/dist/interfaces/raw_entities/index.d.ts +3 -0
- package/dist/interfaces/raw_entities/index.js +19 -0
- package/dist/interfaces/raw_entities/producto.d.ts +36 -0
- package/dist/interfaces/raw_entities/producto.js +2 -0
- package/dist/interfaces/shared/shared-types.d.ts +4 -0
- package/package.json +1 -1
package/dist/interfaces/index.js
CHANGED
|
@@ -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,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,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,36 @@
|
|
|
1
|
+
import { JsonObject } from "../shared";
|
|
2
|
+
import { ArchivoRaw } from "./archivo";
|
|
3
|
+
import { GamaRaw } from "./gama";
|
|
4
|
+
export interface ProductoRaw {
|
|
5
|
+
ID_PRODUCTO: number;
|
|
6
|
+
ID_EMPRESA: number;
|
|
7
|
+
COD_ART_MVX: string;
|
|
8
|
+
PACK: boolean;
|
|
9
|
+
NOMBRE: string;
|
|
10
|
+
DESCRIPCION: string;
|
|
11
|
+
ID_CAPTACION: number;
|
|
12
|
+
ID_PROVEEDOR: number;
|
|
13
|
+
PAQUETE?: boolean;
|
|
14
|
+
PRECIO?: number;
|
|
15
|
+
PRECIOS?: any[];
|
|
16
|
+
ID_PRODUCTOS_PAQUETE?: string;
|
|
17
|
+
TIPO: string;
|
|
18
|
+
ESTADO: string;
|
|
19
|
+
ID_GAMA: number;
|
|
20
|
+
ID_TIE_DEF: string;
|
|
21
|
+
PROPS: JsonObject;
|
|
22
|
+
PRODUCT_PROPS?: any;
|
|
23
|
+
PUBLICO: boolean;
|
|
24
|
+
FECHA_UPD: Date;
|
|
25
|
+
FECHA_CREADO: Date;
|
|
26
|
+
GRUPO: string;
|
|
27
|
+
UNDBASICA: string;
|
|
28
|
+
FACTORAGR: string;
|
|
29
|
+
CONTROLLOTE: string;
|
|
30
|
+
TIPO_CLIENTE: string;
|
|
31
|
+
UBICACION: JsonObject;
|
|
32
|
+
GAMA: GamaRaw;
|
|
33
|
+
R_IMG: Partial<ArchivoRaw>[];
|
|
34
|
+
TIE: any;
|
|
35
|
+
TAGS: string;
|
|
36
|
+
}
|
|
@@ -2,3 +2,7 @@ export type SerializedFunction = string;
|
|
|
2
2
|
export type Prettify<T> = {
|
|
3
3
|
[K in keyof T]: T[K];
|
|
4
4
|
} & {};
|
|
5
|
+
export type JsonObject = Record<string, any>;
|
|
6
|
+
export type StringKeys<T> = Extract<keyof T, string>;
|
|
7
|
+
export type UppercasedKeys<T extends JsonObject> = Record<Uppercase<StringKeys<T>>, T[StringKeys<T>]>;
|
|
8
|
+
export type LowercasedKeys<T extends JsonObject> = Record<Lowercase<StringKeys<T>>, T[StringKeys<T>]>;
|
package/package.json
CHANGED