@tolinax/ayoune-interfaces 2024.9.1 → 2024.9.3
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.
- package/interfaces/ISetting.d.ts +33 -0
- package/package.json +1 -1
package/interfaces/ISetting.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { IDefaultFields } from "./IDefaultFields";
|
|
2
|
+
import { ISEOAttributes } from "./ISEOAttributes";
|
|
2
3
|
interface AiSettings {
|
|
3
4
|
useAI?: boolean;
|
|
4
5
|
primingMessage?: string;
|
|
@@ -81,6 +82,14 @@ interface ColorsSettings {
|
|
|
81
82
|
error?: string;
|
|
82
83
|
info?: string;
|
|
83
84
|
}
|
|
85
|
+
interface FontsSettings {
|
|
86
|
+
brand?: string;
|
|
87
|
+
primary?: string;
|
|
88
|
+
secondary?: string;
|
|
89
|
+
accent?: string;
|
|
90
|
+
error?: string;
|
|
91
|
+
info?: string;
|
|
92
|
+
}
|
|
84
93
|
interface RewardsSettings {
|
|
85
94
|
playSound?: boolean;
|
|
86
95
|
sound?: string;
|
|
@@ -640,6 +649,28 @@ interface ProductsSettings {
|
|
|
640
649
|
lockProductsAfterApprove?: boolean;
|
|
641
650
|
reCheckPriceOnAmountChange?: boolean;
|
|
642
651
|
}
|
|
652
|
+
interface ILogoSettings {
|
|
653
|
+
height?: number;
|
|
654
|
+
margin?: number;
|
|
655
|
+
padding?: number;
|
|
656
|
+
invert: boolean;
|
|
657
|
+
}
|
|
658
|
+
interface SlidesSettings {
|
|
659
|
+
logoSettings: ILogoSettings;
|
|
660
|
+
active: boolean;
|
|
661
|
+
title: string;
|
|
662
|
+
defaultLanguage: string;
|
|
663
|
+
description: string;
|
|
664
|
+
color1: string;
|
|
665
|
+
color2: string;
|
|
666
|
+
useIcon: boolean;
|
|
667
|
+
showChat: boolean;
|
|
668
|
+
chatBot: boolean;
|
|
669
|
+
tacLink: string;
|
|
670
|
+
imprintLink: string;
|
|
671
|
+
privacyLink: string;
|
|
672
|
+
seo: ISEOAttributes;
|
|
673
|
+
}
|
|
643
674
|
export interface ISetting extends IDefaultFields {
|
|
644
675
|
_customerID: ObjectId;
|
|
645
676
|
ai: AiSettings;
|
|
@@ -649,6 +680,7 @@ export interface ISetting extends IDefaultFields {
|
|
|
649
680
|
setup: SetupSettings;
|
|
650
681
|
formats: FormatsSettings;
|
|
651
682
|
colors: ColorsSettings;
|
|
683
|
+
fonts: FontsSettings;
|
|
652
684
|
useRewards?: boolean;
|
|
653
685
|
rewards: RewardsSettings;
|
|
654
686
|
attention: AttentionSettings;
|
|
@@ -684,6 +716,7 @@ export interface ISetting extends IDefaultFields {
|
|
|
684
716
|
pim: PimSettings;
|
|
685
717
|
marketplace: MarketplaceSettings;
|
|
686
718
|
products: ProductsSettings;
|
|
719
|
+
slides: SlidesSettings;
|
|
687
720
|
[x: string]: any;
|
|
688
721
|
}
|
|
689
722
|
export {};
|