@idelio/contracts 0.1.0-beta.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.
- package/LICENSE +21 -0
- package/README.md +27 -0
- package/dist/api-keys.d.ts +44 -0
- package/dist/api-keys.js +19 -0
- package/dist/assets.d.ts +188 -0
- package/dist/assets.js +107 -0
- package/dist/billing.d.ts +94 -0
- package/dist/billing.js +67 -0
- package/dist/brands.d.ts +641 -0
- package/dist/brands.js +364 -0
- package/dist/catalog.d.ts +26 -0
- package/dist/catalog.js +53 -0
- package/dist/consent.d.ts +60 -0
- package/dist/consent.js +65 -0
- package/dist/creative-direction.d.ts +333 -0
- package/dist/creative-direction.js +681 -0
- package/dist/credits.d.ts +38 -0
- package/dist/credits.js +31 -0
- package/dist/errors.d.ts +26 -0
- package/dist/errors.js +22 -0
- package/dist/events.d.ts +20 -0
- package/dist/events.js +29 -0
- package/dist/ids.d.ts +28 -0
- package/dist/ids.js +29 -0
- package/dist/index.d.ts +19 -0
- package/dist/index.js +19 -0
- package/dist/jobs.d.ts +100 -0
- package/dist/jobs.js +81 -0
- package/dist/me.d.ts +77 -0
- package/dist/me.js +45 -0
- package/dist/notifications.d.ts +17 -0
- package/dist/notifications.js +26 -0
- package/dist/pricing.d.ts +38 -0
- package/dist/pricing.js +105 -0
- package/dist/rate-limits.d.ts +8 -0
- package/dist/rate-limits.js +18 -0
- package/dist/usage.d.ts +22 -0
- package/dist/usage.js +11 -0
- package/dist/waitlist.d.ts +34 -0
- package/dist/waitlist.js +27 -0
- package/dist/webhooks.d.ts +74 -0
- package/dist/webhooks.js +26 -0
- package/openapi/openapi.yaml +3026 -0
- package/package.json +54 -0
package/dist/brands.d.ts
ADDED
|
@@ -0,0 +1,641 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const brandStatuses: readonly ["draft", "generating", "ready", "failed"];
|
|
3
|
+
export declare const teamTiers: readonly ["flash", "studio", "elite"];
|
|
4
|
+
export declare const assetKinds: readonly ["logo", "logo_alternative", "logo_wordmark", "color_palette", "font_pairing", "logo_mono", "logo_reversed", "favicon", "brand_guide", "profile_avatar", "social_x", "social_linkedin", "social_linkedin_personal", "social_facebook", "social_youtube", "social_post", "social_story", "app_icon", "og_image", "email_signature", "hero_image", "play_feature_graphic", "business_card", "letterhead", "mockup", "custom_image"];
|
|
5
|
+
export declare const requiredAssetKinds: readonly ["logo", "logo_alternative", "logo_wordmark", "color_palette", "font_pairing"];
|
|
6
|
+
export type RequiredAssetKind = (typeof requiredAssetKinds)[number];
|
|
7
|
+
export declare function isRequiredAssetKind(kind: AssetKind): kind is RequiredAssetKind;
|
|
8
|
+
export declare const defaultLockedAssetKinds: readonly ["logo", "logo_alternative", "logo_wordmark", "color_palette", "font_pairing"];
|
|
9
|
+
export type DefaultLockedAssetKind = RequiredAssetKind;
|
|
10
|
+
export declare function isDefaultLockedAssetKind(kind: AssetKind): kind is DefaultLockedAssetKind;
|
|
11
|
+
export declare const templatedAssetKinds: readonly ["hero_image"];
|
|
12
|
+
export type TemplatedAssetKind = (typeof templatedAssetKinds)[number];
|
|
13
|
+
export declare const flashUnavailableAssetKinds: readonly ["mockup", "hero_image"];
|
|
14
|
+
export declare const expandableAssetKinds: ("logo_alternative" | "logo_wordmark" | "color_palette" | "font_pairing" | "logo_mono" | "logo_reversed" | "favicon" | "brand_guide" | "profile_avatar" | "social_x" | "social_linkedin" | "social_linkedin_personal" | "social_facebook" | "social_youtube" | "social_post" | "social_story" | "app_icon" | "og_image" | "email_signature" | "hero_image" | "play_feature_graphic" | "business_card" | "letterhead" | "mockup" | "custom_image")[];
|
|
15
|
+
export type ExpandableAssetKind = (typeof expandableAssetKinds)[number];
|
|
16
|
+
export declare const regenerableAssetKinds: readonly ["color_palette", "font_pairing", "logo_wordmark", "business_card", "letterhead", "mockup", "og_image", "email_signature", "hero_image", "play_feature_graphic", "social_x", "social_linkedin", "social_linkedin_personal", "social_facebook", "social_youtube", "social_post", "social_story"];
|
|
17
|
+
export type RegenerableAssetKind = (typeof regenerableAssetKinds)[number];
|
|
18
|
+
export declare const suggestableAssetKinds: readonly ["logo_alternative", "logo_wordmark", "logo_mono", "logo_reversed", "favicon", "brand_guide", "profile_avatar", "social_x", "social_linkedin", "social_linkedin_personal", "social_facebook", "social_youtube", "social_post", "social_story", "app_icon", "og_image", "email_signature", "hero_image", "play_feature_graphic", "business_card", "letterhead", "mockup"];
|
|
19
|
+
export type SuggestableAssetKind = (typeof suggestableAssetKinds)[number];
|
|
20
|
+
export declare const suggestionItemKinds: readonly ["logo_alternative", "logo_wordmark", "logo_mono", "logo_reversed", "favicon", "brand_guide", "profile_avatar", "social_x", "social_linkedin", "social_linkedin_personal", "social_facebook", "social_youtube", "social_post", "social_story", "app_icon", "og_image", "email_signature", "hero_image", "play_feature_graphic", "business_card", "letterhead", "mockup", "custom_image"];
|
|
21
|
+
export type SuggestionItemKind = (typeof suggestionItemKinds)[number];
|
|
22
|
+
export declare function nextSuggestableKinds(owned: Iterable<string>, count?: number): SuggestableAssetKind[];
|
|
23
|
+
export declare const composedAssetKinds: readonly ["favicon", "app_icon", "business_card", "letterhead", "og_image", "email_signature", "play_feature_graphic", "profile_avatar", "social_x", "social_linkedin", "social_linkedin_personal", "social_facebook", "social_youtube", "social_post", "social_story"];
|
|
24
|
+
export type ComposedAssetKind = (typeof composedAssetKinds)[number];
|
|
25
|
+
export declare function isComposedAssetKind(kind: string): kind is ComposedAssetKind;
|
|
26
|
+
export declare const markRequiringAssetKinds: readonly ["logo_alternative", "logo_mono", "logo_reversed", "brand_guide", "favicon", "app_icon", "business_card", "letterhead", "og_image", "email_signature", "play_feature_graphic", "profile_avatar", "social_x", "social_linkedin", "social_linkedin_personal", "social_facebook", "social_youtube", "social_post", "social_story"];
|
|
27
|
+
export type MarkRequiringAssetKind = (typeof markRequiringAssetKinds)[number];
|
|
28
|
+
export declare function isMarkRequiringAssetKind(kind: string): kind is MarkRequiringAssetKind;
|
|
29
|
+
export declare const generationLocksSchema: z.ZodObject<{
|
|
30
|
+
colors: z.ZodDefault<z.ZodBoolean>;
|
|
31
|
+
typography: z.ZodDefault<z.ZodBoolean>;
|
|
32
|
+
icon: z.ZodDefault<z.ZodBoolean>;
|
|
33
|
+
}, z.core.$strip>;
|
|
34
|
+
export declare const createBrandRequestSchema: z.ZodObject<{
|
|
35
|
+
prompt: z.ZodOptional<z.ZodString>;
|
|
36
|
+
template_id: z.ZodOptional<z.ZodString>;
|
|
37
|
+
name: z.ZodOptional<z.ZodString>;
|
|
38
|
+
tagline: z.ZodOptional<z.ZodString>;
|
|
39
|
+
assets: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
40
|
+
logo: "logo";
|
|
41
|
+
logo_alternative: "logo_alternative";
|
|
42
|
+
logo_wordmark: "logo_wordmark";
|
|
43
|
+
color_palette: "color_palette";
|
|
44
|
+
font_pairing: "font_pairing";
|
|
45
|
+
logo_mono: "logo_mono";
|
|
46
|
+
logo_reversed: "logo_reversed";
|
|
47
|
+
favicon: "favicon";
|
|
48
|
+
brand_guide: "brand_guide";
|
|
49
|
+
profile_avatar: "profile_avatar";
|
|
50
|
+
social_x: "social_x";
|
|
51
|
+
social_linkedin: "social_linkedin";
|
|
52
|
+
social_linkedin_personal: "social_linkedin_personal";
|
|
53
|
+
social_facebook: "social_facebook";
|
|
54
|
+
social_youtube: "social_youtube";
|
|
55
|
+
social_post: "social_post";
|
|
56
|
+
social_story: "social_story";
|
|
57
|
+
app_icon: "app_icon";
|
|
58
|
+
og_image: "og_image";
|
|
59
|
+
email_signature: "email_signature";
|
|
60
|
+
hero_image: "hero_image";
|
|
61
|
+
play_feature_graphic: "play_feature_graphic";
|
|
62
|
+
business_card: "business_card";
|
|
63
|
+
letterhead: "letterhead";
|
|
64
|
+
mockup: "mockup";
|
|
65
|
+
custom_image: "custom_image";
|
|
66
|
+
}>>>;
|
|
67
|
+
team: z.ZodDefault<z.ZodEnum<{
|
|
68
|
+
flash: "flash";
|
|
69
|
+
studio: "studio";
|
|
70
|
+
elite: "elite";
|
|
71
|
+
}>>;
|
|
72
|
+
customize: z.ZodOptional<z.ZodObject<{
|
|
73
|
+
palette: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
74
|
+
typography: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
75
|
+
logo_direction: z.ZodOptional<z.ZodString>;
|
|
76
|
+
}, z.core.$strip>>;
|
|
77
|
+
creative_direction: z.ZodOptional<z.ZodObject<{
|
|
78
|
+
styles: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
79
|
+
modern: "modern";
|
|
80
|
+
minimal: "minimal";
|
|
81
|
+
bold: "bold";
|
|
82
|
+
playful: "playful";
|
|
83
|
+
elegant: "elegant";
|
|
84
|
+
corporate: "corporate";
|
|
85
|
+
luxury: "luxury";
|
|
86
|
+
organic: "organic";
|
|
87
|
+
geometric: "geometric";
|
|
88
|
+
handcrafted: "handcrafted";
|
|
89
|
+
brutalist: "brutalist";
|
|
90
|
+
editorial: "editorial";
|
|
91
|
+
retro: "retro";
|
|
92
|
+
vintage: "vintage";
|
|
93
|
+
futuristic: "futuristic";
|
|
94
|
+
timeless: "timeless";
|
|
95
|
+
art_deco: "art_deco";
|
|
96
|
+
y2k: "y2k";
|
|
97
|
+
calm: "calm";
|
|
98
|
+
energetic: "energetic";
|
|
99
|
+
warm: "warm";
|
|
100
|
+
technical: "technical";
|
|
101
|
+
rebellious: "rebellious";
|
|
102
|
+
premium: "premium";
|
|
103
|
+
}>>>;
|
|
104
|
+
color: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
105
|
+
mode: z.ZodLiteral<"ai">;
|
|
106
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
107
|
+
mode: z.ZodLiteral<"preset">;
|
|
108
|
+
preset_id: z.ZodEnum<{
|
|
109
|
+
indigo: "indigo";
|
|
110
|
+
teal: "teal";
|
|
111
|
+
amber: "amber";
|
|
112
|
+
forest: "forest";
|
|
113
|
+
rose: "rose";
|
|
114
|
+
slate: "slate";
|
|
115
|
+
midnight: "midnight";
|
|
116
|
+
coral: "coral";
|
|
117
|
+
sand: "sand";
|
|
118
|
+
plum: "plum";
|
|
119
|
+
ocean: "ocean";
|
|
120
|
+
citrus: "citrus";
|
|
121
|
+
mono_warm: "mono_warm";
|
|
122
|
+
berry: "berry";
|
|
123
|
+
}>;
|
|
124
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
125
|
+
mode: z.ZodLiteral<"custom">;
|
|
126
|
+
colors: z.ZodArray<z.ZodString>;
|
|
127
|
+
}, z.core.$strict>], "mode">>;
|
|
128
|
+
typography: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
129
|
+
mode: z.ZodLiteral<"ai">;
|
|
130
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
131
|
+
mode: z.ZodLiteral<"preset">;
|
|
132
|
+
preset_id: z.ZodEnum<{
|
|
133
|
+
sora_inter: "sora_inter";
|
|
134
|
+
fraunces_inter: "fraunces_inter";
|
|
135
|
+
space_inter: "space_inter";
|
|
136
|
+
playfair_source: "playfair_source";
|
|
137
|
+
dmserif_dmsans: "dmserif_dmsans";
|
|
138
|
+
outfit_inter: "outfit_inter";
|
|
139
|
+
manrope_manrope: "manrope_manrope";
|
|
140
|
+
bricolage_inter: "bricolage_inter";
|
|
141
|
+
instrument_inter: "instrument_inter";
|
|
142
|
+
archivo_archivo: "archivo_archivo";
|
|
143
|
+
lora_lato: "lora_lato";
|
|
144
|
+
syne_inter: "syne_inter";
|
|
145
|
+
epilogue_inter: "epilogue_inter";
|
|
146
|
+
ibmplex_ibmplex: "ibmplex_ibmplex";
|
|
147
|
+
jost_inter: "jost_inter";
|
|
148
|
+
newsreader_inter: "newsreader_inter";
|
|
149
|
+
chivo_chivo: "chivo_chivo";
|
|
150
|
+
unbounded_inter: "unbounded_inter";
|
|
151
|
+
figtree_figtree: "figtree_figtree";
|
|
152
|
+
spectral_inter: "spectral_inter";
|
|
153
|
+
}>;
|
|
154
|
+
}, z.core.$strict>], "mode">>;
|
|
155
|
+
logo: z.ZodOptional<z.ZodObject<{
|
|
156
|
+
style: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"ai">, z.ZodEnum<{
|
|
157
|
+
organic: "organic";
|
|
158
|
+
geometric: "geometric";
|
|
159
|
+
rounded: "rounded";
|
|
160
|
+
circular: "circular";
|
|
161
|
+
sharp: "sharp";
|
|
162
|
+
monogram: "monogram";
|
|
163
|
+
lettermark: "lettermark";
|
|
164
|
+
abstract: "abstract";
|
|
165
|
+
emblem: "emblem";
|
|
166
|
+
line: "line";
|
|
167
|
+
gradient: "gradient";
|
|
168
|
+
wordmark_only: "wordmark_only";
|
|
169
|
+
}>]>>;
|
|
170
|
+
lockup: z.ZodDefault<z.ZodUnion<readonly [z.ZodLiteral<"ai">, z.ZodEnum<{
|
|
171
|
+
horizontal: "horizontal";
|
|
172
|
+
stacked: "stacked";
|
|
173
|
+
icon_only: "icon_only";
|
|
174
|
+
}>]>>;
|
|
175
|
+
include_tagline: z.ZodDefault<z.ZodBoolean>;
|
|
176
|
+
}, z.core.$strict>>;
|
|
177
|
+
}, z.core.$strict>>;
|
|
178
|
+
auto_select_logo: z.ZodOptional<z.ZodBoolean>;
|
|
179
|
+
}, z.core.$strip>;
|
|
180
|
+
export declare const updateBrandRequestSchema: z.ZodObject<{
|
|
181
|
+
name: z.ZodOptional<z.ZodString>;
|
|
182
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
183
|
+
locks: z.ZodOptional<z.ZodObject<{
|
|
184
|
+
colors: z.ZodOptional<z.ZodBoolean>;
|
|
185
|
+
typography: z.ZodOptional<z.ZodBoolean>;
|
|
186
|
+
icon: z.ZodOptional<z.ZodBoolean>;
|
|
187
|
+
}, z.core.$strip>>;
|
|
188
|
+
}, z.core.$strip>;
|
|
189
|
+
export type UpdateBrandRequest = z.infer<typeof updateBrandRequestSchema>;
|
|
190
|
+
export declare const brandPreviewSchema: z.ZodObject<{
|
|
191
|
+
palette: z.ZodArray<z.ZodString>;
|
|
192
|
+
cover: z.ZodNullable<z.ZodString>;
|
|
193
|
+
asset_count: z.ZodNumber;
|
|
194
|
+
logo_url: z.ZodNullable<z.ZodString>;
|
|
195
|
+
gradient_stops: z.ZodArray<z.ZodString>;
|
|
196
|
+
}, z.core.$strip>;
|
|
197
|
+
export declare const brandSchema: z.ZodObject<{
|
|
198
|
+
id: z.ZodString;
|
|
199
|
+
workspace_id: z.ZodString;
|
|
200
|
+
name: z.ZodString;
|
|
201
|
+
slug: z.ZodString;
|
|
202
|
+
status: z.ZodEnum<{
|
|
203
|
+
draft: "draft";
|
|
204
|
+
generating: "generating";
|
|
205
|
+
ready: "ready";
|
|
206
|
+
failed: "failed";
|
|
207
|
+
}>;
|
|
208
|
+
current_version_id: z.ZodNullable<z.ZodString>;
|
|
209
|
+
locks: z.ZodObject<{
|
|
210
|
+
colors: z.ZodDefault<z.ZodBoolean>;
|
|
211
|
+
typography: z.ZodDefault<z.ZodBoolean>;
|
|
212
|
+
icon: z.ZodDefault<z.ZodBoolean>;
|
|
213
|
+
}, z.core.$strip>;
|
|
214
|
+
preview: z.ZodOptional<z.ZodObject<{
|
|
215
|
+
palette: z.ZodArray<z.ZodString>;
|
|
216
|
+
cover: z.ZodNullable<z.ZodString>;
|
|
217
|
+
asset_count: z.ZodNumber;
|
|
218
|
+
logo_url: z.ZodNullable<z.ZodString>;
|
|
219
|
+
gradient_stops: z.ZodArray<z.ZodString>;
|
|
220
|
+
}, z.core.$strip>>;
|
|
221
|
+
created_at: z.ZodString;
|
|
222
|
+
updated_at: z.ZodString;
|
|
223
|
+
}, z.core.$strip>;
|
|
224
|
+
export type Brand = z.infer<typeof brandSchema>;
|
|
225
|
+
export type BrandPreview = z.infer<typeof brandPreviewSchema>;
|
|
226
|
+
export type CreateBrandRequest = z.infer<typeof createBrandRequestSchema>;
|
|
227
|
+
export type AssetKind = (typeof assetKinds)[number];
|
|
228
|
+
export type TeamTier = (typeof teamTiers)[number];
|
|
229
|
+
export declare const customImageFormats: readonly ["square_1_1", "portrait_4_5", "story_9_16", "landscape_16_9", "wide_21_9", "photo_3_2", "poster_2_3", "standard_4_3", "auto", "instagram_post", "story", "linkedin_post", "ad_banner", "custom"];
|
|
230
|
+
export type CustomImageFormat = (typeof customImageFormats)[number];
|
|
231
|
+
export declare const OFFERED_CUSTOM_IMAGE_FORMATS: readonly ["square_1_1", "portrait_4_5", "story_9_16", "landscape_16_9", "wide_21_9", "photo_3_2", "poster_2_3", "standard_4_3", "auto"];
|
|
232
|
+
export declare const MODEL_ASPECT_RATIOS: readonly ["auto", "21:9", "16:9", "3:2", "4:3", "5:4", "1:1", "4:5", "3:4", "2:3", "9:16"];
|
|
233
|
+
export declare const CUSTOM_IMAGE_ASPECT_RATIOS: Record<CustomImageFormat, string>;
|
|
234
|
+
export declare const customSuggestionSchema: z.ZodObject<{
|
|
235
|
+
name: z.ZodString;
|
|
236
|
+
prompt: z.ZodString;
|
|
237
|
+
format: z.ZodEnum<{
|
|
238
|
+
square_1_1: "square_1_1";
|
|
239
|
+
portrait_4_5: "portrait_4_5";
|
|
240
|
+
story_9_16: "story_9_16";
|
|
241
|
+
landscape_16_9: "landscape_16_9";
|
|
242
|
+
wide_21_9: "wide_21_9";
|
|
243
|
+
photo_3_2: "photo_3_2";
|
|
244
|
+
poster_2_3: "poster_2_3";
|
|
245
|
+
standard_4_3: "standard_4_3";
|
|
246
|
+
auto: "auto";
|
|
247
|
+
}>;
|
|
248
|
+
}, z.core.$strip>;
|
|
249
|
+
export type CustomSuggestion = z.infer<typeof customSuggestionSchema>;
|
|
250
|
+
export declare const brandSuggestionItemSchema: z.ZodObject<{
|
|
251
|
+
kind: z.ZodEnum<{
|
|
252
|
+
logo_alternative: "logo_alternative";
|
|
253
|
+
logo_wordmark: "logo_wordmark";
|
|
254
|
+
logo_mono: "logo_mono";
|
|
255
|
+
logo_reversed: "logo_reversed";
|
|
256
|
+
favicon: "favicon";
|
|
257
|
+
brand_guide: "brand_guide";
|
|
258
|
+
profile_avatar: "profile_avatar";
|
|
259
|
+
social_x: "social_x";
|
|
260
|
+
social_linkedin: "social_linkedin";
|
|
261
|
+
social_linkedin_personal: "social_linkedin_personal";
|
|
262
|
+
social_facebook: "social_facebook";
|
|
263
|
+
social_youtube: "social_youtube";
|
|
264
|
+
social_post: "social_post";
|
|
265
|
+
social_story: "social_story";
|
|
266
|
+
app_icon: "app_icon";
|
|
267
|
+
og_image: "og_image";
|
|
268
|
+
email_signature: "email_signature";
|
|
269
|
+
hero_image: "hero_image";
|
|
270
|
+
play_feature_graphic: "play_feature_graphic";
|
|
271
|
+
business_card: "business_card";
|
|
272
|
+
letterhead: "letterhead";
|
|
273
|
+
mockup: "mockup";
|
|
274
|
+
custom_image: "custom_image";
|
|
275
|
+
}>;
|
|
276
|
+
tag: z.ZodString;
|
|
277
|
+
title: z.ZodString;
|
|
278
|
+
desc: z.ZodString;
|
|
279
|
+
state: z.ZodEnum<{
|
|
280
|
+
generating: "generating";
|
|
281
|
+
ready: "ready";
|
|
282
|
+
idle: "idle";
|
|
283
|
+
}>;
|
|
284
|
+
asset_id: z.ZodNullable<z.ZodString>;
|
|
285
|
+
custom: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
286
|
+
name: z.ZodString;
|
|
287
|
+
prompt: z.ZodString;
|
|
288
|
+
format: z.ZodEnum<{
|
|
289
|
+
square_1_1: "square_1_1";
|
|
290
|
+
portrait_4_5: "portrait_4_5";
|
|
291
|
+
story_9_16: "story_9_16";
|
|
292
|
+
landscape_16_9: "landscape_16_9";
|
|
293
|
+
wide_21_9: "wide_21_9";
|
|
294
|
+
photo_3_2: "photo_3_2";
|
|
295
|
+
poster_2_3: "poster_2_3";
|
|
296
|
+
standard_4_3: "standard_4_3";
|
|
297
|
+
auto: "auto";
|
|
298
|
+
}>;
|
|
299
|
+
}, z.core.$strip>>>;
|
|
300
|
+
}, z.core.$strip>;
|
|
301
|
+
export type BrandSuggestionItem = z.infer<typeof brandSuggestionItemSchema>;
|
|
302
|
+
export declare const brandSuggestionsResponseSchema: z.ZodObject<{
|
|
303
|
+
items: z.ZodArray<z.ZodObject<{
|
|
304
|
+
kind: z.ZodEnum<{
|
|
305
|
+
logo_alternative: "logo_alternative";
|
|
306
|
+
logo_wordmark: "logo_wordmark";
|
|
307
|
+
logo_mono: "logo_mono";
|
|
308
|
+
logo_reversed: "logo_reversed";
|
|
309
|
+
favicon: "favicon";
|
|
310
|
+
brand_guide: "brand_guide";
|
|
311
|
+
profile_avatar: "profile_avatar";
|
|
312
|
+
social_x: "social_x";
|
|
313
|
+
social_linkedin: "social_linkedin";
|
|
314
|
+
social_linkedin_personal: "social_linkedin_personal";
|
|
315
|
+
social_facebook: "social_facebook";
|
|
316
|
+
social_youtube: "social_youtube";
|
|
317
|
+
social_post: "social_post";
|
|
318
|
+
social_story: "social_story";
|
|
319
|
+
app_icon: "app_icon";
|
|
320
|
+
og_image: "og_image";
|
|
321
|
+
email_signature: "email_signature";
|
|
322
|
+
hero_image: "hero_image";
|
|
323
|
+
play_feature_graphic: "play_feature_graphic";
|
|
324
|
+
business_card: "business_card";
|
|
325
|
+
letterhead: "letterhead";
|
|
326
|
+
mockup: "mockup";
|
|
327
|
+
custom_image: "custom_image";
|
|
328
|
+
}>;
|
|
329
|
+
tag: z.ZodString;
|
|
330
|
+
title: z.ZodString;
|
|
331
|
+
desc: z.ZodString;
|
|
332
|
+
state: z.ZodEnum<{
|
|
333
|
+
generating: "generating";
|
|
334
|
+
ready: "ready";
|
|
335
|
+
idle: "idle";
|
|
336
|
+
}>;
|
|
337
|
+
asset_id: z.ZodNullable<z.ZodString>;
|
|
338
|
+
custom: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
339
|
+
name: z.ZodString;
|
|
340
|
+
prompt: z.ZodString;
|
|
341
|
+
format: z.ZodEnum<{
|
|
342
|
+
square_1_1: "square_1_1";
|
|
343
|
+
portrait_4_5: "portrait_4_5";
|
|
344
|
+
story_9_16: "story_9_16";
|
|
345
|
+
landscape_16_9: "landscape_16_9";
|
|
346
|
+
wide_21_9: "wide_21_9";
|
|
347
|
+
photo_3_2: "photo_3_2";
|
|
348
|
+
poster_2_3: "poster_2_3";
|
|
349
|
+
standard_4_3: "standard_4_3";
|
|
350
|
+
auto: "auto";
|
|
351
|
+
}>;
|
|
352
|
+
}, z.core.$strip>>>;
|
|
353
|
+
}, z.core.$strip>>;
|
|
354
|
+
}, z.core.$strip>;
|
|
355
|
+
export type BrandSuggestionsResponse = z.infer<typeof brandSuggestionsResponseSchema>;
|
|
356
|
+
export declare const workspaceSuggestionItemSchema: z.ZodObject<{
|
|
357
|
+
kind: z.ZodEnum<{
|
|
358
|
+
logo_alternative: "logo_alternative";
|
|
359
|
+
logo_wordmark: "logo_wordmark";
|
|
360
|
+
logo_mono: "logo_mono";
|
|
361
|
+
logo_reversed: "logo_reversed";
|
|
362
|
+
favicon: "favicon";
|
|
363
|
+
brand_guide: "brand_guide";
|
|
364
|
+
profile_avatar: "profile_avatar";
|
|
365
|
+
social_x: "social_x";
|
|
366
|
+
social_linkedin: "social_linkedin";
|
|
367
|
+
social_linkedin_personal: "social_linkedin_personal";
|
|
368
|
+
social_facebook: "social_facebook";
|
|
369
|
+
social_youtube: "social_youtube";
|
|
370
|
+
social_post: "social_post";
|
|
371
|
+
social_story: "social_story";
|
|
372
|
+
app_icon: "app_icon";
|
|
373
|
+
og_image: "og_image";
|
|
374
|
+
email_signature: "email_signature";
|
|
375
|
+
hero_image: "hero_image";
|
|
376
|
+
play_feature_graphic: "play_feature_graphic";
|
|
377
|
+
business_card: "business_card";
|
|
378
|
+
letterhead: "letterhead";
|
|
379
|
+
mockup: "mockup";
|
|
380
|
+
custom_image: "custom_image";
|
|
381
|
+
}>;
|
|
382
|
+
tag: z.ZodString;
|
|
383
|
+
title: z.ZodString;
|
|
384
|
+
desc: z.ZodString;
|
|
385
|
+
state: z.ZodEnum<{
|
|
386
|
+
generating: "generating";
|
|
387
|
+
ready: "ready";
|
|
388
|
+
idle: "idle";
|
|
389
|
+
}>;
|
|
390
|
+
asset_id: z.ZodNullable<z.ZodString>;
|
|
391
|
+
custom: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
392
|
+
name: z.ZodString;
|
|
393
|
+
prompt: z.ZodString;
|
|
394
|
+
format: z.ZodEnum<{
|
|
395
|
+
square_1_1: "square_1_1";
|
|
396
|
+
portrait_4_5: "portrait_4_5";
|
|
397
|
+
story_9_16: "story_9_16";
|
|
398
|
+
landscape_16_9: "landscape_16_9";
|
|
399
|
+
wide_21_9: "wide_21_9";
|
|
400
|
+
photo_3_2: "photo_3_2";
|
|
401
|
+
poster_2_3: "poster_2_3";
|
|
402
|
+
standard_4_3: "standard_4_3";
|
|
403
|
+
auto: "auto";
|
|
404
|
+
}>;
|
|
405
|
+
}, z.core.$strip>>>;
|
|
406
|
+
job_id: z.ZodNullable<z.ZodString>;
|
|
407
|
+
brand: z.ZodObject<{
|
|
408
|
+
id: z.ZodString;
|
|
409
|
+
name: z.ZodString;
|
|
410
|
+
preview: z.ZodOptional<z.ZodObject<{
|
|
411
|
+
palette: z.ZodArray<z.ZodString>;
|
|
412
|
+
cover: z.ZodNullable<z.ZodString>;
|
|
413
|
+
asset_count: z.ZodNumber;
|
|
414
|
+
logo_url: z.ZodNullable<z.ZodString>;
|
|
415
|
+
gradient_stops: z.ZodArray<z.ZodString>;
|
|
416
|
+
}, z.core.$strip>>;
|
|
417
|
+
}, z.core.$strip>;
|
|
418
|
+
}, z.core.$strip>;
|
|
419
|
+
export type WorkspaceSuggestionItem = z.infer<typeof workspaceSuggestionItemSchema>;
|
|
420
|
+
export declare const workspaceSuggestionsResponseSchema: z.ZodObject<{
|
|
421
|
+
items: z.ZodArray<z.ZodObject<{
|
|
422
|
+
kind: z.ZodEnum<{
|
|
423
|
+
logo_alternative: "logo_alternative";
|
|
424
|
+
logo_wordmark: "logo_wordmark";
|
|
425
|
+
logo_mono: "logo_mono";
|
|
426
|
+
logo_reversed: "logo_reversed";
|
|
427
|
+
favicon: "favicon";
|
|
428
|
+
brand_guide: "brand_guide";
|
|
429
|
+
profile_avatar: "profile_avatar";
|
|
430
|
+
social_x: "social_x";
|
|
431
|
+
social_linkedin: "social_linkedin";
|
|
432
|
+
social_linkedin_personal: "social_linkedin_personal";
|
|
433
|
+
social_facebook: "social_facebook";
|
|
434
|
+
social_youtube: "social_youtube";
|
|
435
|
+
social_post: "social_post";
|
|
436
|
+
social_story: "social_story";
|
|
437
|
+
app_icon: "app_icon";
|
|
438
|
+
og_image: "og_image";
|
|
439
|
+
email_signature: "email_signature";
|
|
440
|
+
hero_image: "hero_image";
|
|
441
|
+
play_feature_graphic: "play_feature_graphic";
|
|
442
|
+
business_card: "business_card";
|
|
443
|
+
letterhead: "letterhead";
|
|
444
|
+
mockup: "mockup";
|
|
445
|
+
custom_image: "custom_image";
|
|
446
|
+
}>;
|
|
447
|
+
tag: z.ZodString;
|
|
448
|
+
title: z.ZodString;
|
|
449
|
+
desc: z.ZodString;
|
|
450
|
+
state: z.ZodEnum<{
|
|
451
|
+
generating: "generating";
|
|
452
|
+
ready: "ready";
|
|
453
|
+
idle: "idle";
|
|
454
|
+
}>;
|
|
455
|
+
asset_id: z.ZodNullable<z.ZodString>;
|
|
456
|
+
custom: z.ZodDefault<z.ZodNullable<z.ZodObject<{
|
|
457
|
+
name: z.ZodString;
|
|
458
|
+
prompt: z.ZodString;
|
|
459
|
+
format: z.ZodEnum<{
|
|
460
|
+
square_1_1: "square_1_1";
|
|
461
|
+
portrait_4_5: "portrait_4_5";
|
|
462
|
+
story_9_16: "story_9_16";
|
|
463
|
+
landscape_16_9: "landscape_16_9";
|
|
464
|
+
wide_21_9: "wide_21_9";
|
|
465
|
+
photo_3_2: "photo_3_2";
|
|
466
|
+
poster_2_3: "poster_2_3";
|
|
467
|
+
standard_4_3: "standard_4_3";
|
|
468
|
+
auto: "auto";
|
|
469
|
+
}>;
|
|
470
|
+
}, z.core.$strip>>>;
|
|
471
|
+
job_id: z.ZodNullable<z.ZodString>;
|
|
472
|
+
brand: z.ZodObject<{
|
|
473
|
+
id: z.ZodString;
|
|
474
|
+
name: z.ZodString;
|
|
475
|
+
preview: z.ZodOptional<z.ZodObject<{
|
|
476
|
+
palette: z.ZodArray<z.ZodString>;
|
|
477
|
+
cover: z.ZodNullable<z.ZodString>;
|
|
478
|
+
asset_count: z.ZodNumber;
|
|
479
|
+
logo_url: z.ZodNullable<z.ZodString>;
|
|
480
|
+
gradient_stops: z.ZodArray<z.ZodString>;
|
|
481
|
+
}, z.core.$strip>>;
|
|
482
|
+
}, z.core.$strip>;
|
|
483
|
+
}, z.core.$strip>>;
|
|
484
|
+
}, z.core.$strip>;
|
|
485
|
+
export type WorkspaceSuggestionsResponse = z.infer<typeof workspaceSuggestionsResponseSchema>;
|
|
486
|
+
export declare const surpriseBriefResponseSchema: z.ZodObject<{
|
|
487
|
+
name: z.ZodString;
|
|
488
|
+
tagline: z.ZodString;
|
|
489
|
+
description: z.ZodString;
|
|
490
|
+
styles: z.ZodArray<z.ZodEnum<{
|
|
491
|
+
modern: "modern";
|
|
492
|
+
minimal: "minimal";
|
|
493
|
+
bold: "bold";
|
|
494
|
+
playful: "playful";
|
|
495
|
+
elegant: "elegant";
|
|
496
|
+
corporate: "corporate";
|
|
497
|
+
luxury: "luxury";
|
|
498
|
+
organic: "organic";
|
|
499
|
+
geometric: "geometric";
|
|
500
|
+
handcrafted: "handcrafted";
|
|
501
|
+
brutalist: "brutalist";
|
|
502
|
+
editorial: "editorial";
|
|
503
|
+
retro: "retro";
|
|
504
|
+
vintage: "vintage";
|
|
505
|
+
futuristic: "futuristic";
|
|
506
|
+
timeless: "timeless";
|
|
507
|
+
art_deco: "art_deco";
|
|
508
|
+
y2k: "y2k";
|
|
509
|
+
calm: "calm";
|
|
510
|
+
energetic: "energetic";
|
|
511
|
+
warm: "warm";
|
|
512
|
+
technical: "technical";
|
|
513
|
+
rebellious: "rebellious";
|
|
514
|
+
premium: "premium";
|
|
515
|
+
}>>;
|
|
516
|
+
}, z.core.$strip>;
|
|
517
|
+
export type SurpriseBriefResponse = z.infer<typeof surpriseBriefResponseSchema>;
|
|
518
|
+
export declare const nameStyles: readonly ["compound", "abstract", "evocative", "playful"];
|
|
519
|
+
export type NameStyle = (typeof nameStyles)[number];
|
|
520
|
+
export declare const nameIdeasRequestSchema: z.ZodObject<{
|
|
521
|
+
style: z.ZodEnum<{
|
|
522
|
+
playful: "playful";
|
|
523
|
+
abstract: "abstract";
|
|
524
|
+
compound: "compound";
|
|
525
|
+
evocative: "evocative";
|
|
526
|
+
}>;
|
|
527
|
+
keyword: z.ZodOptional<z.ZodString>;
|
|
528
|
+
description: z.ZodOptional<z.ZodString>;
|
|
529
|
+
}, z.core.$strip>;
|
|
530
|
+
export type NameIdeasRequest = z.infer<typeof nameIdeasRequestSchema>;
|
|
531
|
+
export declare const nameIdeaSchema: z.ZodObject<{
|
|
532
|
+
name: z.ZodString;
|
|
533
|
+
hint: z.ZodString;
|
|
534
|
+
}, z.core.$strip>;
|
|
535
|
+
export type NameIdea = z.infer<typeof nameIdeaSchema>;
|
|
536
|
+
export declare const nameIdeasResponseSchema: z.ZodObject<{
|
|
537
|
+
items: z.ZodArray<z.ZodObject<{
|
|
538
|
+
name: z.ZodString;
|
|
539
|
+
hint: z.ZodString;
|
|
540
|
+
}, z.core.$strip>>;
|
|
541
|
+
}, z.core.$strip>;
|
|
542
|
+
export type NameIdeasResponse = z.infer<typeof nameIdeasResponseSchema>;
|
|
543
|
+
export declare const expandBrandRequestSchema: z.ZodObject<{
|
|
544
|
+
assets: z.ZodArray<z.ZodEnum<{
|
|
545
|
+
logo: "logo";
|
|
546
|
+
logo_alternative: "logo_alternative";
|
|
547
|
+
logo_wordmark: "logo_wordmark";
|
|
548
|
+
color_palette: "color_palette";
|
|
549
|
+
font_pairing: "font_pairing";
|
|
550
|
+
logo_mono: "logo_mono";
|
|
551
|
+
logo_reversed: "logo_reversed";
|
|
552
|
+
favicon: "favicon";
|
|
553
|
+
brand_guide: "brand_guide";
|
|
554
|
+
profile_avatar: "profile_avatar";
|
|
555
|
+
social_x: "social_x";
|
|
556
|
+
social_linkedin: "social_linkedin";
|
|
557
|
+
social_linkedin_personal: "social_linkedin_personal";
|
|
558
|
+
social_facebook: "social_facebook";
|
|
559
|
+
social_youtube: "social_youtube";
|
|
560
|
+
social_post: "social_post";
|
|
561
|
+
social_story: "social_story";
|
|
562
|
+
app_icon: "app_icon";
|
|
563
|
+
og_image: "og_image";
|
|
564
|
+
email_signature: "email_signature";
|
|
565
|
+
hero_image: "hero_image";
|
|
566
|
+
play_feature_graphic: "play_feature_graphic";
|
|
567
|
+
business_card: "business_card";
|
|
568
|
+
letterhead: "letterhead";
|
|
569
|
+
mockup: "mockup";
|
|
570
|
+
custom_image: "custom_image";
|
|
571
|
+
}>>;
|
|
572
|
+
team: z.ZodOptional<z.ZodEnum<{
|
|
573
|
+
flash: "flash";
|
|
574
|
+
studio: "studio";
|
|
575
|
+
elite: "elite";
|
|
576
|
+
}>>;
|
|
577
|
+
custom_image_prompt: z.ZodOptional<z.ZodString>;
|
|
578
|
+
custom_image_format: z.ZodOptional<z.ZodEnum<{
|
|
579
|
+
custom: "custom";
|
|
580
|
+
square_1_1: "square_1_1";
|
|
581
|
+
portrait_4_5: "portrait_4_5";
|
|
582
|
+
story_9_16: "story_9_16";
|
|
583
|
+
landscape_16_9: "landscape_16_9";
|
|
584
|
+
wide_21_9: "wide_21_9";
|
|
585
|
+
photo_3_2: "photo_3_2";
|
|
586
|
+
poster_2_3: "poster_2_3";
|
|
587
|
+
standard_4_3: "standard_4_3";
|
|
588
|
+
auto: "auto";
|
|
589
|
+
instagram_post: "instagram_post";
|
|
590
|
+
story: "story";
|
|
591
|
+
linkedin_post: "linkedin_post";
|
|
592
|
+
ad_banner: "ad_banner";
|
|
593
|
+
}>>;
|
|
594
|
+
custom_image_name: z.ZodOptional<z.ZodString>;
|
|
595
|
+
}, z.core.$strip>;
|
|
596
|
+
export type ExpandBrandRequest = z.infer<typeof expandBrandRequestSchema>;
|
|
597
|
+
export declare const brandRefineRequestSchema: z.ZodObject<{
|
|
598
|
+
message: z.ZodString;
|
|
599
|
+
}, z.core.$strip>;
|
|
600
|
+
export type BrandRefineRequest = z.infer<typeof brandRefineRequestSchema>;
|
|
601
|
+
export declare const brandDnaSchema: z.ZodObject<{
|
|
602
|
+
brief: z.ZodObject<{
|
|
603
|
+
industry: z.ZodOptional<z.ZodString>;
|
|
604
|
+
audience: z.ZodOptional<z.ZodString>;
|
|
605
|
+
tone: z.ZodOptional<z.ZodString>;
|
|
606
|
+
keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
607
|
+
constraints: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
608
|
+
}, z.core.$strip>;
|
|
609
|
+
strategy: z.ZodObject<{
|
|
610
|
+
positioning: z.ZodOptional<z.ZodString>;
|
|
611
|
+
archetype: z.ZodOptional<z.ZodString>;
|
|
612
|
+
values: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
613
|
+
name: z.ZodOptional<z.ZodString>;
|
|
614
|
+
tagline: z.ZodOptional<z.ZodString>;
|
|
615
|
+
name_rationale: z.ZodOptional<z.ZodString>;
|
|
616
|
+
}, z.core.$strip>;
|
|
617
|
+
visual_system: z.ZodOptional<z.ZodObject<{
|
|
618
|
+
palette: z.ZodOptional<z.ZodObject<{
|
|
619
|
+
tokens: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
620
|
+
name: z.ZodString;
|
|
621
|
+
hex: z.ZodString;
|
|
622
|
+
}, z.core.$strip>>>;
|
|
623
|
+
}, z.core.$strip>>;
|
|
624
|
+
typography: z.ZodOptional<z.ZodObject<{
|
|
625
|
+
heading_font: z.ZodOptional<z.ZodString>;
|
|
626
|
+
body_font: z.ZodOptional<z.ZodString>;
|
|
627
|
+
mono_font: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
628
|
+
}, z.core.$strip>>;
|
|
629
|
+
}, z.core.$strip>>;
|
|
630
|
+
}, z.core.$strip>;
|
|
631
|
+
export type BrandDna = z.infer<typeof brandDnaSchema>;
|
|
632
|
+
export declare const brandVersionSummarySchema: z.ZodObject<{
|
|
633
|
+
id: z.ZodString;
|
|
634
|
+
version_no: z.ZodNumber;
|
|
635
|
+
message: z.ZodNullable<z.ZodString>;
|
|
636
|
+
created_by: z.ZodString;
|
|
637
|
+
qa_score: z.ZodNullable<z.ZodNumber>;
|
|
638
|
+
created_at: z.ZodString;
|
|
639
|
+
is_current: z.ZodBoolean;
|
|
640
|
+
}, z.core.$strip>;
|
|
641
|
+
export type BrandVersionSummary = z.infer<typeof brandVersionSummarySchema>;
|