@win2win/shared 1.0.301 → 1.0.303

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.
@@ -0,0 +1,33 @@
1
+ import { Estado } from "../estados";
2
+ import { Id, JsonObject, Uuid } from "../shared";
3
+ export interface IncidenciaRaw {
4
+ ID_INCIDENCIA?: Id;
5
+ ID_CONTACTO?: Id | null;
6
+ ID_UBICACION?: Id | null;
7
+ ID_PRODUCTO?: Id | null;
8
+ ID_DOCUMENTO?: Id | null;
9
+ ID_CAPTACION?: Id | null;
10
+ ID_PEDIDO?: Id | null;
11
+ ID_GAMA?: Id | null;
12
+ CODIGO?: string;
13
+ CODIGO_EXTERNO?: string;
14
+ NOMBRE?: string;
15
+ CONTENIDO?: string;
16
+ OBSERVACION?: string | null;
17
+ TIPO?: string;
18
+ ESTADO?: string;
19
+ ID_ESTADO?: Uuid;
20
+ ORIGEN?: string;
21
+ CREADA_POR?: string | null;
22
+ PROPS?: JsonObject;
23
+ GRUPO?: string;
24
+ FECHA_UPD?: string;
25
+ FECHA_CREATE?: string;
26
+ FECHA_RESOLUCION?: string | null;
27
+ R_ESTADO?: Partial<Estado>;
28
+ R_CONTACTO?: {
29
+ NOMBRE?: string;
30
+ APELLIDO?: string;
31
+ } | null;
32
+ INCIDENCIA_MERGED_TO?: IncidenciaRaw;
33
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export * from "./incidencias";
@@ -0,0 +1,17 @@
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("./incidencias"), exports);
@@ -1,6 +1,7 @@
1
1
  export * from "./escaparates";
2
2
  export * from "./estados";
3
3
  export * from "./importaciones";
4
+ export * from "./incidencias";
4
5
  export * from "./landings";
5
6
  export * from "./layout_documentos";
6
7
  export * from "./liquidaciones";
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./escaparates"), exports);
18
18
  __exportStar(require("./estados"), exports);
19
19
  __exportStar(require("./importaciones"), exports);
20
+ __exportStar(require("./incidencias"), exports);
20
21
  __exportStar(require("./landings"), exports);
21
22
  __exportStar(require("./layout_documentos"), exports);
22
23
  __exportStar(require("./liquidaciones"), exports);
@@ -15,7 +15,9 @@ export declare enum PropValidatorKeys {
15
15
  IBAN = "iban",
16
16
  INE = "ine",
17
17
  RFC = "rfc",
18
- CURP = "curp"
18
+ CURP = "curp",
19
+ MINIMO_EDAD = "minAge",
20
+ MAXIMO_EDAD = "maxAge"
19
21
  }
20
22
  export declare const VALIDATORS: {
21
23
  fn: (val: number) => (control: GamaPropModel) => boolean;
@@ -148,5 +148,8 @@ var PropValidatorKeys;
148
148
  PropValidatorKeys["INE"] = "ine";
149
149
  PropValidatorKeys["RFC"] = "rfc";
150
150
  PropValidatorKeys["CURP"] = "curp";
151
+ // Edad
152
+ PropValidatorKeys["MINIMO_EDAD"] = "minAge";
153
+ PropValidatorKeys["MAXIMO_EDAD"] = "maxAge";
151
154
  })(PropValidatorKeys || (exports.PropValidatorKeys = PropValidatorKeys = {}));
152
155
  exports.VALIDATORS = Object.entries(exports.GamaPropValidatorsMap).map(([key, value]) => ({ value: key, ...value }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@win2win/shared",
3
- "version": "1.0.301",
3
+ "version": "1.0.303",
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",