@win2win/shared 1.0.240 → 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.
@@ -39,6 +39,7 @@ export interface LandingFooter {
39
39
  }
40
40
  export interface LandingHeader {
41
41
  show: boolean;
42
+ logoHeight: string;
42
43
  background: string;
43
44
  links: LandingLink[];
44
45
  showLogo: boolean;
@@ -57,40 +58,34 @@ export interface LandingParams {
57
58
  link: string;
58
59
  color: string;
59
60
  };
61
+ showContactFab: boolean;
60
62
  footer: LandingFooter;
61
63
  header: LandingHeader;
62
- contact: {
63
- phone: string;
64
- whatsapp: string;
65
- email: string;
66
- address: string;
67
- name: string;
68
- identification: string;
69
- };
70
- showContactFab: boolean;
71
- aiAgent: {
72
- enabled: boolean;
73
- size: string;
74
- position: "left" | "right";
75
- iframeUrl: string;
76
- name: string;
77
- avatarMobile: string;
78
- avatarDesktop: string;
79
- };
80
- legal: {
81
- companyName: string;
82
- nif: string;
83
- cif: string;
84
- owner: string;
85
- phone: string;
86
- address: string;
87
- website: string;
88
- [key: string]: string;
89
- };
90
- ecommerce: {
91
- showShopcart: boolean;
92
- routeAfterAddToShopcart: string;
93
- };
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;
94
89
  }
95
90
  export interface LandingLink {
96
91
  text: string;
@@ -98,6 +93,16 @@ export interface LandingLink {
98
93
  section?: string;
99
94
  external?: boolean;
100
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
+ }
101
106
  export interface LandingMetadata {
102
107
  perfil_al_procesar: Id;
103
108
  gama_al_procesar: Id;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@win2win/shared",
3
- "version": "1.0.240",
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",