@win2win/shared 1.0.241 → 1.0.242

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,40 +58,34 @@ 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;
@@ -99,6 +93,16 @@ export interface LandingLink {
99
93
  section?: string;
100
94
  external?: boolean;
101
95
  }
96
+ export interface LandingLegalData {
97
+ companyName: string;
98
+ nif: string;
99
+ cif: string;
100
+ owner: string;
101
+ phone: string;
102
+ address: string;
103
+ website: string;
104
+ [key: string]: string;
105
+ }
102
106
  export interface LandingMetadata {
103
107
  perfil_al_procesar: Id;
104
108
  gama_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.242",
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",