@tolinax/ayoune-interfaces 2024.115.0 → 2024.116.0

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.
@@ -885,6 +885,72 @@ interface ISettingCustomerPortal {
885
885
  startPageAffiliate: string;
886
886
  startPageMultiplier: string;
887
887
  }
888
+ interface LinkPortalPerson {
889
+ person: ObjectId;
890
+ description: string;
891
+ tagLine: string;
892
+ }
893
+ interface LinkPortalLink {
894
+ title: string;
895
+ tagLine: string;
896
+ icon: string;
897
+ link: string;
898
+ adult: boolean;
899
+ }
900
+ interface LinkPortalGroup {
901
+ title: string;
902
+ description: string;
903
+ links: LinkPortalLink[];
904
+ }
905
+ interface LinkPortalStyle {
906
+ backgroundMode: "gradient" | "image";
907
+ color1: string;
908
+ color2: string;
909
+ fontColor: string;
910
+ backgroundImage: string;
911
+ buttonColor1: string;
912
+ buttonColor2: string;
913
+ buttonFontColor: string;
914
+ }
915
+ interface LinkPortalHeaders {
916
+ vCard?: string;
917
+ qrCode?: string;
918
+ contact?: string;
919
+ links?: string;
920
+ social?: string;
921
+ team?: string;
922
+ }
923
+ interface LinkPortalOptions {
924
+ useIcon?: boolean;
925
+ showLogo?: boolean;
926
+ useLightVersions?: boolean;
927
+ showClaim?: boolean;
928
+ showDownload?: boolean;
929
+ showQR?: boolean;
930
+ showContact?: boolean;
931
+ showLinks?: boolean;
932
+ showSocial?: boolean;
933
+ showTeam?: boolean;
934
+ showCustomArea1?: boolean;
935
+ showCustomArea2?: boolean;
936
+ }
937
+ interface LinkPortalCustomArea {
938
+ title: string;
939
+ content: string;
940
+ }
941
+ interface ILinkPortal {
942
+ title: string;
943
+ description: string;
944
+ style: LinkPortalStyle;
945
+ headers: LinkPortalHeaders;
946
+ options: LinkPortalOptions;
947
+ customArea1?: LinkPortalCustomArea;
948
+ customArea2?: LinkPortalCustomArea;
949
+ links: {
950
+ groups: LinkPortalGroup[];
951
+ };
952
+ persons: LinkPortalPerson[];
953
+ }
888
954
  export interface ISetting extends IDefaultFields {
889
955
  _customerID: ObjectId;
890
956
  ai: AiSettings;
@@ -932,6 +998,7 @@ export interface ISetting extends IDefaultFields {
932
998
  products: ProductsSettings;
933
999
  slides: SlidesSettings;
934
1000
  customerportal: ISettingCustomerPortal;
1001
+ linkPortal: ILinkPortal;
935
1002
  [x: string]: any;
936
1003
  }
937
1004
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tolinax/ayoune-interfaces",
3
- "version": "2024.115.0",
3
+ "version": "2024.116.0",
4
4
  "description": "Houses TypeScript interfaces for aYOUne",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",