@tolinax/ayoune-interfaces 2026.33.0 → 2026.33.1
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/ISenderBrand.d.ts +22 -0
- package/interfaces/IWebsite.d.ts +18 -0
- package/package.json +1 -1
|
@@ -19,4 +19,26 @@ export interface ISenderBrand extends IDefaultFields {
|
|
|
19
19
|
useInForms?: boolean;
|
|
20
20
|
useInPortals?: boolean;
|
|
21
21
|
fallback?: boolean;
|
|
22
|
+
/** Brand visual identity — logo as base64 or URL */
|
|
23
|
+
logo?: string;
|
|
24
|
+
/** Brand icon (square) as base64 or URL */
|
|
25
|
+
icon?: string;
|
|
26
|
+
/** Brand colors for website rendering and consumer-facing surfaces */
|
|
27
|
+
primaryColor?: string;
|
|
28
|
+
secondaryColor?: string;
|
|
29
|
+
accentColor?: string;
|
|
30
|
+
/** Font configuration for consumer-facing surfaces */
|
|
31
|
+
fonts?: {
|
|
32
|
+
heading?: string;
|
|
33
|
+
body?: string;
|
|
34
|
+
url?: string;
|
|
35
|
+
};
|
|
36
|
+
/** Brand claim / tagline (DE) */
|
|
37
|
+
claim?: string;
|
|
38
|
+
/** Brand claim / tagline (EN) */
|
|
39
|
+
claim_en?: string;
|
|
40
|
+
/** Brand slug for URL-safe identification (e.g. "tolinax", "ayoune") */
|
|
41
|
+
slug?: string;
|
|
42
|
+
/** Use this brand in consumer-facing websites */
|
|
43
|
+
useInWebsites?: boolean;
|
|
22
44
|
}
|
package/interfaces/IWebsite.d.ts
CHANGED
|
@@ -4,6 +4,8 @@ export interface IWebsite extends IDefaultFields {
|
|
|
4
4
|
_clientID: ObjectId[];
|
|
5
5
|
_subID: ObjectId[];
|
|
6
6
|
_affiliateID: ObjectId;
|
|
7
|
+
/** Reference to SenderBrand — the brand identity powering this website */
|
|
8
|
+
_brandID?: ObjectId;
|
|
7
9
|
name?: string;
|
|
8
10
|
title?: string;
|
|
9
11
|
html?: string;
|
|
@@ -181,4 +183,20 @@ export interface IWebsite extends IDefaultFields {
|
|
|
181
183
|
/** Whether attribution is scoped per-website or shared across the whole customer */
|
|
182
184
|
attributionScope?: "per-website" | "per-customer";
|
|
183
185
|
};
|
|
186
|
+
/**
|
|
187
|
+
* Per-website feature toggles. Controls which consumer-app route groups
|
|
188
|
+
* are active on this website. Unset features default to false.
|
|
189
|
+
*/
|
|
190
|
+
features?: {
|
|
191
|
+
/** Enable online shop (catalog, cart, checkout) */
|
|
192
|
+
shop?: boolean;
|
|
193
|
+
/** Enable blog / content listing */
|
|
194
|
+
blog?: boolean;
|
|
195
|
+
/** Enable public help center (FAQ, glossary, KB, changelog) */
|
|
196
|
+
helpCenter?: boolean;
|
|
197
|
+
/** Enable developer portal (API docs, SDK reference, webhooks) */
|
|
198
|
+
developerPortal?: boolean;
|
|
199
|
+
/** Enable consumer portal (authenticated area: invoices, tickets, etc.) */
|
|
200
|
+
consumerPortal?: boolean;
|
|
201
|
+
};
|
|
184
202
|
}
|