@win2win/shared 1.0.241 → 1.0.243

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.
@@ -58,46 +58,52 @@ export interface LandingParams {
58
58
  link: string;
59
59
  color: string;
60
60
  };
61
+ showContactFab: boolean;
61
62
  footer: LandingFooter;
62
63
  header: LandingHeader;
63
- contact: {
64
- phone: string;
65
- whatsapp: string;
66
- email: string;
67
- address: string;
68
- name: string;
69
- identification: string;
70
- };
71
- showContactFab: boolean;
72
- aiAgent: {
73
- enabled: boolean;
74
- size: string;
75
- position: "left" | "right";
76
- iframeUrl: string;
77
- name: string;
78
- avatarMobile: string;
79
- avatarDesktop: string;
80
- };
81
- legal: {
82
- companyName: string;
83
- nif: string;
84
- cif: string;
85
- owner: string;
86
- phone: string;
87
- address: string;
88
- website: string;
89
- [key: string]: string;
90
- };
91
- ecommerce: {
92
- showShopcart: boolean;
93
- routeAfterAddToShopcart: string;
94
- };
64
+ aiAgent: LandingAiAgentConfig;
65
+ contact: LandingContactData;
66
+ legal: LandingLegalData;
67
+ ecommerce: LandingEcommerceConfig;
68
+ }
69
+ export interface LandingEcommerceConfig {
70
+ showShopcart: boolean;
71
+ routeAfterAddToShopcart: string;
72
+ }
73
+ export interface LandingContactData {
74
+ phone: string;
75
+ whatsapp: string;
76
+ email: string;
77
+ address: string;
78
+ name: string;
79
+ identification: string;
80
+ }
81
+ export interface LandingAiAgentConfig {
82
+ enabled: boolean;
83
+ size: string;
84
+ position: "left" | "right";
85
+ iframeUrl: string;
86
+ name: string;
87
+ avatarMobile: string;
88
+ avatarDesktop: string;
95
89
  }
96
90
  export interface LandingLink {
97
91
  text: string;
98
92
  link: string;
93
+ group: boolean;
99
94
  section?: string;
100
95
  external?: boolean;
96
+ items?: LandingLink[];
97
+ }
98
+ export interface LandingLegalData {
99
+ companyName: string;
100
+ nif: string;
101
+ cif: string;
102
+ owner: string;
103
+ phone: string;
104
+ address: string;
105
+ website: string;
106
+ [key: string]: string;
101
107
  }
102
108
  export interface LandingMetadata {
103
109
  perfil_al_procesar: Id;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@win2win/shared",
3
- "version": "1.0.241",
3
+ "version": "1.0.243",
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",