@unlayer/types 1.469.0 → 1.470.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.
@@ -24,6 +24,23 @@ export type AIImageModel = `${AIImageProvider}/${string}` | (string & {});
24
24
 
25
25
  export type AIImageFallbackModels = boolean | AIImageModel[];
26
26
 
27
+ export interface AIBrand {
28
+ companyName?: string;
29
+ productDescription?: string;
30
+ targetAudience?: string;
31
+ colors?: {
32
+ primary?: string;
33
+ secondary?: string;
34
+ accent?: string;
35
+ };
36
+ fonts?: {
37
+ heading?: string;
38
+ body?: string;
39
+ };
40
+ voice?: string;
41
+ guidelines?: string;
42
+ }
43
+
27
44
  export interface TextEditorCustomButton {
28
45
  name: string;
29
46
  icon: string;
@@ -188,6 +205,12 @@ export interface Features {
188
205
  * other error that requires user/input/configuration changes.
189
206
  */
190
207
  fallbackModels?: AIFallbackModels;
208
+ /**
209
+ * Brand context applied to every AI Assistant text and design
210
+ * generation. Invalid colors are ignored. Company and font names
211
+ * are capped at 200 characters; other text fields at 2,000.
212
+ */
213
+ brand?: AIBrand;
191
214
  /**
192
215
  * Disable full-template, page, and body generation in the AI
193
216
  * Assistant when set to `false` — usually for cost or latency
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unlayer/types",
3
- "version": "1.469.0",
3
+ "version": "1.470.0",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "types": "./dist/index.d.ts",