@win2win/shared 1.0.163 → 1.0.165

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.
@@ -117,7 +117,8 @@ export declare const TEMPLATES: Readonly<{
117
117
  };
118
118
  readonly "ecommerce-banner": {
119
119
  readonly label: "Banner para Ecommerce";
120
- readonly params: readonly ["title", "text", "background", "image", "height", "custom"];
120
+ readonly params: readonly ["title", "text", "background", "image", "height", "custom", "button"];
121
+ readonly variants: readonly ["default", "text-image", "text-centered", "text-image-background"];
121
122
  };
122
123
  readonly "ecommerce-filters": {
123
124
  readonly label: "Filtros para Ecommerce";
@@ -161,7 +161,21 @@ exports.TEMPLATES = Object.freeze({
161
161
  },
162
162
  "ecommerce-banner": {
163
163
  label: "Banner para Ecommerce",
164
- params: ["title", "text", "background", "image", "height", "custom"],
164
+ params: [
165
+ "title",
166
+ "text",
167
+ "background",
168
+ "image",
169
+ "height",
170
+ "custom",
171
+ "button",
172
+ ],
173
+ variants: [
174
+ "default",
175
+ "text-image",
176
+ "text-centered",
177
+ "text-image-background",
178
+ ],
165
179
  },
166
180
  "ecommerce-filters": {
167
181
  label: "Filtros para Ecommerce",
@@ -25,11 +25,11 @@ export interface CaptacionRaw {
25
25
  COD_CAPTACION: string;
26
26
  CODIGO_EXTERNO: string;
27
27
  UNI_ID_TPV: string | null;
28
- FECHA_CAPTADO: Date;
29
28
  ESTADO: EstadoCaptacion;
30
29
  INCIDENCIA: number;
31
30
  PUBLIC_TOKEN: string;
32
31
  DESCRIPCION_GENERAL: string | null;
32
+ FECHA_CAPTADO: Date | string;
33
33
  FECHA_UPD: Date | string;
34
34
  R_ESTADO: JsonObject | null;
35
35
  R_PEDIDO: JsonObject | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@win2win/shared",
3
- "version": "1.0.163",
3
+ "version": "1.0.165",
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",
package/README.md DELETED
@@ -1,11 +0,0 @@
1
- # README #
2
- version 1.0.1
3
-
4
- ### Como hacer deploy del repo
5
-
6
- * Correr el comando
7
- `npm run deploy`
8
-
9
- * [Enlace al repo](https://www.npmjs.com/package/@win2win/shared)
10
-
11
-