@tolinax/ayoune-interfaces 2024.107.0 → 2024.108.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.
@@ -20,6 +20,11 @@ export interface DeviceConfig {
20
20
  desktopFactor?: number;
21
21
  mobileFactor?: number;
22
22
  industries: IndustryConfig[];
23
+ iab: IABConfig[];
24
+ }
25
+ export interface IABConfig {
26
+ iab: string;
27
+ ctr: number;
23
28
  }
24
29
  export interface MarketConfig {
25
30
  _market: ObjectId;
@@ -675,11 +675,216 @@ interface SlidesSettings {
675
675
  useIcon: boolean;
676
676
  showChat: boolean;
677
677
  chatBot: boolean;
678
- tacLink: string;
679
- imprintLink: string;
680
- privacyLink: string;
681
678
  seo: ISEOAttributes;
682
679
  }
680
+ interface OAuthConfig {
681
+ client_id: string;
682
+ client_secret: string;
683
+ }
684
+ interface ISettingCustomerPortalOptions {
685
+ navPos: "top" | "side";
686
+ theme: "light" | "dark";
687
+ dir: "ltr" | "rtl";
688
+ showHeader: boolean;
689
+ headerPos: "fixed" | "static" | "above";
690
+ showUserPanel: boolean;
691
+ sidenavOpened: boolean;
692
+ sidenavCollapsed: boolean;
693
+ language: string;
694
+ }
695
+ interface ISettingCustomerPortalWidgetWeather {
696
+ show: boolean;
697
+ country?: string;
698
+ city?: string;
699
+ }
700
+ interface ISettingCustomerPortalWidgets {
701
+ weather: ISettingCustomerPortalWidgetWeather;
702
+ }
703
+ interface ISettingCustomerPortalStyles {
704
+ logoMargin: number;
705
+ }
706
+ interface ISettingCustomerPortal {
707
+ oAuthConfig: {
708
+ google: OAuthConfig;
709
+ facebook: OAuthConfig;
710
+ };
711
+ color1: string;
712
+ color2: string;
713
+ showPreferdChannel: boolean;
714
+ showCrossSell: boolean;
715
+ showUpSell: boolean;
716
+ showBlogPosts: boolean;
717
+ showChat: boolean;
718
+ askForDoi: boolean;
719
+ heading: string;
720
+ heading_en: string;
721
+ doiHeadline: string;
722
+ doiHeadline_en: string;
723
+ doiSubline: string;
724
+ doiSubline_en: string;
725
+ usePasswords: boolean;
726
+ showCP: boolean;
727
+ theme?: string;
728
+ options: ISettingCustomerPortalOptions;
729
+ dashboard: boolean;
730
+ dashboard_icon: string;
731
+ dashboard_name: string;
732
+ dashboard_name_en: string;
733
+ dashboard_levels: string[];
734
+ locations: boolean;
735
+ locations_icon: string;
736
+ locations_name: string;
737
+ locations_name_en: string;
738
+ locations_levels: string[];
739
+ contacts: boolean;
740
+ contacts_icon: string;
741
+ contacts_name: string;
742
+ contacts_name_en: string;
743
+ contacts_levels: string[];
744
+ contracts: boolean;
745
+ contracts_icon: string;
746
+ contracts_name: string;
747
+ contracts_name_en: string;
748
+ contracts_levels: string[];
749
+ connections: boolean;
750
+ connections_icon: string;
751
+ connections_name: string;
752
+ connections_name_en: string;
753
+ connections_levels: string[];
754
+ knowledgebase: boolean;
755
+ knowledgebase_icon: string;
756
+ knowledgebase_name: string;
757
+ knowledgebase_name_en: string;
758
+ knowledgebase_levels: string[];
759
+ invoices: boolean;
760
+ invoices_icon: string;
761
+ invoices_name: string;
762
+ invoices_name_en: string;
763
+ invoices_levels: string[];
764
+ documents: boolean;
765
+ documents_icon: string;
766
+ documents_name: string;
767
+ documents_name_en: string;
768
+ documents_levels: string[];
769
+ checklists: boolean;
770
+ checklists_icon: string;
771
+ checklists_name: string;
772
+ checklists_name_en: string;
773
+ checklists_levels: string[];
774
+ offer: boolean;
775
+ offer_icon: string;
776
+ offer_name: string;
777
+ offer_name_en: string;
778
+ offer_levels: string[];
779
+ watchlist: boolean;
780
+ watchlist_icon: string;
781
+ watchlist_name: string;
782
+ watchlist_name_en: string;
783
+ watchlist_levels: string[];
784
+ interestchannel: boolean;
785
+ interestchannel_icon: string;
786
+ interestchannel_name: string;
787
+ interestchannel_name_en: string;
788
+ interestchannel_levels: string[];
789
+ newsletter: boolean;
790
+ newsletter_icon: string;
791
+ newsletter_name: string;
792
+ newsletter_name_en: string;
793
+ newsletter_levels: string[];
794
+ assignments: boolean;
795
+ assignments_icon: string;
796
+ assignments_name: string;
797
+ assignments_name_en: string;
798
+ assignments_levels: string[];
799
+ productionorders: boolean;
800
+ productionorders_icon: string;
801
+ productionorders_name: string;
802
+ productionorders_name_en: string;
803
+ productionorders_levels: string[];
804
+ warehouses: boolean;
805
+ warehouses_icon: string;
806
+ warehouses_name: string;
807
+ warehouses_name_en: string;
808
+ warehouses_levels: string[];
809
+ booking: boolean;
810
+ booking_icon: string;
811
+ booking_name: string;
812
+ booking_name_en: string;
813
+ booking_levels: string[];
814
+ faq: boolean;
815
+ faq_icon: string;
816
+ faq_name: string;
817
+ faq_name_en: string;
818
+ faq_levels: string[];
819
+ attributes: boolean;
820
+ attributes_icon: string;
821
+ projects: boolean;
822
+ projects_icon: string;
823
+ projects_name: string;
824
+ projects_name_en: string;
825
+ projects_levels: string[];
826
+ reports: boolean;
827
+ reports_icon: string;
828
+ reports_name: string;
829
+ reports_name_en: string;
830
+ reports_levels: string[];
831
+ appointments: boolean;
832
+ appointments_icon: string;
833
+ appointments_name: string;
834
+ appointments_name_en: string;
835
+ appointments_levels: string[];
836
+ configurations: boolean;
837
+ configurations_icon: string;
838
+ configurations_name: string;
839
+ configurations_name_en: string;
840
+ configurations_levels: string[];
841
+ products: boolean;
842
+ products_icon: string;
843
+ products_name: string;
844
+ products_name_en: string;
845
+ products_levels: string[];
846
+ downloads: boolean;
847
+ downloads_icon: string;
848
+ downloads_name: string;
849
+ downloads_name_en: string;
850
+ downloads_levels: string[];
851
+ downloadLists: boolean;
852
+ downloadLists_icon: string;
853
+ downloadLists_name: string;
854
+ downloadLists_name_en: string;
855
+ downloadLists_levels: string[];
856
+ streams: boolean;
857
+ streams_icon: string;
858
+ streams_name: string;
859
+ streams_name_en: string;
860
+ streams_levels: string[];
861
+ tasks: boolean;
862
+ release_process: boolean;
863
+ release_text: string;
864
+ text_left: string;
865
+ text_right: string;
866
+ text_left_en: string;
867
+ text_right_en: string;
868
+ tasksHeadline: string;
869
+ tasksHeadline_en: string;
870
+ tasksSubline: string;
871
+ tasksSubline_en: string;
872
+ apHeadline: string;
873
+ apHeadline_en: string;
874
+ apSubline: string;
875
+ apSubline_en: string;
876
+ widgets: ISettingCustomerPortalWidgets;
877
+ styles: ISettingCustomerPortalStyles;
878
+ defaultCalendarEditor?: string;
879
+ defaultCalendar?: string;
880
+ defaultPaymentCondition?: string;
881
+ startPageLeads: string;
882
+ startPageCustomers: string;
883
+ startPagePartner: string;
884
+ startPageContact: string;
885
+ startPageAffiliate: string;
886
+ startPageMultiplier: string;
887
+ }
683
888
  export interface ISetting extends IDefaultFields {
684
889
  _customerID: ObjectId;
685
890
  ai: AiSettings;
@@ -726,6 +931,7 @@ export interface ISetting extends IDefaultFields {
726
931
  marketplace: MarketplaceSettings;
727
932
  products: ProductsSettings;
728
933
  slides: SlidesSettings;
934
+ customerportal: ISettingCustomerPortal;
729
935
  [x: string]: any;
730
936
  }
731
937
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tolinax/ayoune-interfaces",
3
- "version": "2024.107.0",
3
+ "version": "2024.108.0",
4
4
  "description": "Houses TypeScript interfaces for aYOUne",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",