@supernova-studio/client 0.47.14 → 0.47.16

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/dist/index.d.mts CHANGED
@@ -200,6 +200,3446 @@ declare const DTOBrandsListResponse: z.ZodObject<{
200
200
  }>;
201
201
  type DTOBrandsListResponse = z.infer<typeof DTOBrandsListResponse>;
202
202
 
203
+ declare const DTODataSourceFigmaCloud: z.ZodObject<{
204
+ fileId: z.ZodString;
205
+ state: z.ZodEnum<["Active", "MissingIntegration", "MissingFileAccess", "MissingFileOwner"]>;
206
+ autoImportMode: z.ZodEnum<["Never", "Hourly"]>;
207
+ fileThumbnailUrl: z.ZodOptional<z.ZodString>;
208
+ lastImportResult: z.ZodOptional<z.ZodNullable<z.ZodObject<{
209
+ frames: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
210
+ components: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
211
+ componentSets: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
212
+ componentsCreated: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
213
+ componentsUpdated: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
214
+ componentsDeleted: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
215
+ componentAssetsCreated: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
216
+ componentAssetsUpdated: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
217
+ componentAssetsDeleted: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
218
+ tokensCreated: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
219
+ tokensUpdated: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
220
+ tokensDeleted: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
221
+ tokensCreatedPerType: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodUnion<[z.ZodEnum<["Color", "Border", "Gradient", "Shadow", "Dimension", "Duration", "Size", "Space", "Opacity", "FontSize", "LineHeight", "LetterSpacing", "ParagraphSpacing", "BorderWidth", "BorderRadius", "Duration", "ZIndex", "Image", "String", "ProductCopy", "FontFamily", "FontWeight", "TextDecoration", "TextCase", "Visibility", "Typography", "Blur", "Font"]>, z.ZodEnum<["Measure", "Radius", "GenericToken", "Font", "Text"]>]>, z.ZodNumber>>>, Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>, Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined>;
222
+ tokensUpdatedPerType: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodUnion<[z.ZodEnum<["Color", "Border", "Gradient", "Shadow", "Dimension", "Duration", "Size", "Space", "Opacity", "FontSize", "LineHeight", "LetterSpacing", "ParagraphSpacing", "BorderWidth", "BorderRadius", "Duration", "ZIndex", "Image", "String", "ProductCopy", "FontFamily", "FontWeight", "TextDecoration", "TextCase", "Visibility", "Typography", "Blur", "Font"]>, z.ZodEnum<["Measure", "Radius", "GenericToken", "Font", "Text"]>]>, z.ZodNumber>>>, Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>, Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined>;
223
+ tokensDeletedPerType: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodUnion<[z.ZodEnum<["Color", "Border", "Gradient", "Shadow", "Dimension", "Duration", "Size", "Space", "Opacity", "FontSize", "LineHeight", "LetterSpacing", "ParagraphSpacing", "BorderWidth", "BorderRadius", "Duration", "ZIndex", "Image", "String", "ProductCopy", "FontFamily", "FontWeight", "TextDecoration", "TextCase", "Visibility", "Typography", "Blur", "Font"]>, z.ZodEnum<["Measure", "Radius", "GenericToken", "Font", "Text"]>]>, z.ZodNumber>>>, Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>, Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined>;
224
+ sourceId: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
225
+ brandId: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
226
+ versionId: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
227
+ error: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<any, z.ZodTypeDef, any>>>, any, any>;
228
+ isFailed: z.ZodBoolean;
229
+ warnings: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
230
+ warningType: z.ZodEnum<["NoVersionFound", "UnsupportedFill", "UnsupportedStroke", "UnsupportedEffect", "NoPublishedElements", "NoPublishedStyles", "NoPublishedComponents", "NoPublishedAssets", "StyleNotApplied", "ComponentHasNoThumbnail", "DuplicateImportedStyleId", "DuplicateImportedStylePath", "NoUnpublishedStyles"]>;
231
+ componentId: z.ZodOptional<z.ZodString>;
232
+ componentName: z.ZodOptional<z.ZodString>;
233
+ styleId: z.ZodOptional<z.ZodString>;
234
+ styleName: z.ZodOptional<z.ZodString>;
235
+ unsupportedStyleValueType: z.ZodOptional<z.ZodString>;
236
+ }, "strip", z.ZodTypeAny, {
237
+ warningType: "NoVersionFound" | "UnsupportedFill" | "UnsupportedStroke" | "UnsupportedEffect" | "NoPublishedElements" | "NoPublishedStyles" | "NoPublishedComponents" | "NoPublishedAssets" | "StyleNotApplied" | "ComponentHasNoThumbnail" | "DuplicateImportedStyleId" | "DuplicateImportedStylePath" | "NoUnpublishedStyles";
238
+ componentId?: string | undefined;
239
+ componentName?: string | undefined;
240
+ styleId?: string | undefined;
241
+ styleName?: string | undefined;
242
+ unsupportedStyleValueType?: string | undefined;
243
+ }, {
244
+ warningType: "NoVersionFound" | "UnsupportedFill" | "UnsupportedStroke" | "UnsupportedEffect" | "NoPublishedElements" | "NoPublishedStyles" | "NoPublishedComponents" | "NoPublishedAssets" | "StyleNotApplied" | "ComponentHasNoThumbnail" | "DuplicateImportedStyleId" | "DuplicateImportedStylePath" | "NoUnpublishedStyles";
245
+ componentId?: string | undefined;
246
+ componentName?: string | undefined;
247
+ styleId?: string | undefined;
248
+ styleName?: string | undefined;
249
+ unsupportedStyleValueType?: string | undefined;
250
+ }>, "many">>>, {
251
+ warningType: "NoVersionFound" | "UnsupportedFill" | "UnsupportedStroke" | "UnsupportedEffect" | "NoPublishedElements" | "NoPublishedStyles" | "NoPublishedComponents" | "NoPublishedAssets" | "StyleNotApplied" | "ComponentHasNoThumbnail" | "DuplicateImportedStyleId" | "DuplicateImportedStylePath" | "NoUnpublishedStyles";
252
+ componentId?: string | undefined;
253
+ componentName?: string | undefined;
254
+ styleId?: string | undefined;
255
+ styleName?: string | undefined;
256
+ unsupportedStyleValueType?: string | undefined;
257
+ }[], {
258
+ warningType: "NoVersionFound" | "UnsupportedFill" | "UnsupportedStroke" | "UnsupportedEffect" | "NoPublishedElements" | "NoPublishedStyles" | "NoPublishedComponents" | "NoPublishedAssets" | "StyleNotApplied" | "ComponentHasNoThumbnail" | "DuplicateImportedStyleId" | "DuplicateImportedStylePath" | "NoUnpublishedStyles";
259
+ componentId?: string | undefined;
260
+ componentName?: string | undefined;
261
+ styleId?: string | undefined;
262
+ styleName?: string | undefined;
263
+ unsupportedStyleValueType?: string | undefined;
264
+ }[] | null | undefined>;
265
+ }, "strip", z.ZodTypeAny, {
266
+ frames: number;
267
+ components: number;
268
+ componentSets: number;
269
+ tokensCreated: number;
270
+ tokensUpdated: number;
271
+ tokensDeleted: number;
272
+ tokensCreatedPerType: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>;
273
+ tokensUpdatedPerType: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>;
274
+ tokensDeletedPerType: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>;
275
+ componentsCreated: number;
276
+ componentsUpdated: number;
277
+ componentsDeleted: number;
278
+ componentAssetsCreated: number;
279
+ componentAssetsUpdated: number;
280
+ componentAssetsDeleted: number;
281
+ isFailed: boolean;
282
+ warnings: {
283
+ warningType: "NoVersionFound" | "UnsupportedFill" | "UnsupportedStroke" | "UnsupportedEffect" | "NoPublishedElements" | "NoPublishedStyles" | "NoPublishedComponents" | "NoPublishedAssets" | "StyleNotApplied" | "ComponentHasNoThumbnail" | "DuplicateImportedStyleId" | "DuplicateImportedStylePath" | "NoUnpublishedStyles";
284
+ componentId?: string | undefined;
285
+ componentName?: string | undefined;
286
+ styleId?: string | undefined;
287
+ styleName?: string | undefined;
288
+ unsupportedStyleValueType?: string | undefined;
289
+ }[];
290
+ error?: any;
291
+ sourceId?: string | undefined;
292
+ brandId?: string | undefined;
293
+ versionId?: string | undefined;
294
+ }, {
295
+ isFailed: boolean;
296
+ error?: any;
297
+ sourceId?: string | null | undefined;
298
+ brandId?: string | null | undefined;
299
+ frames?: number | null | undefined;
300
+ components?: number | null | undefined;
301
+ componentSets?: number | null | undefined;
302
+ tokensCreated?: number | null | undefined;
303
+ tokensUpdated?: number | null | undefined;
304
+ tokensDeleted?: number | null | undefined;
305
+ tokensCreatedPerType?: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined;
306
+ tokensUpdatedPerType?: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined;
307
+ tokensDeletedPerType?: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined;
308
+ componentsCreated?: number | null | undefined;
309
+ componentsUpdated?: number | null | undefined;
310
+ componentsDeleted?: number | null | undefined;
311
+ componentAssetsCreated?: number | null | undefined;
312
+ componentAssetsUpdated?: number | null | undefined;
313
+ componentAssetsDeleted?: number | null | undefined;
314
+ versionId?: string | null | undefined;
315
+ warnings?: {
316
+ warningType: "NoVersionFound" | "UnsupportedFill" | "UnsupportedStroke" | "UnsupportedEffect" | "NoPublishedElements" | "NoPublishedStyles" | "NoPublishedComponents" | "NoPublishedAssets" | "StyleNotApplied" | "ComponentHasNoThumbnail" | "DuplicateImportedStyleId" | "DuplicateImportedStylePath" | "NoUnpublishedStyles";
317
+ componentId?: string | undefined;
318
+ componentName?: string | undefined;
319
+ styleId?: string | undefined;
320
+ styleName?: string | undefined;
321
+ unsupportedStyleValueType?: string | undefined;
322
+ }[] | null | undefined;
323
+ }>>>;
324
+ lastImportedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
325
+ lastImportedVersion: z.ZodOptional<z.ZodNullable<z.ZodObject<{
326
+ id: z.ZodString;
327
+ created_at: z.ZodDate;
328
+ label: z.ZodString;
329
+ description: z.ZodString;
330
+ }, "strip", z.ZodTypeAny, {
331
+ id: string;
332
+ created_at: Date;
333
+ label: string;
334
+ description: string;
335
+ }, {
336
+ id: string;
337
+ created_at: Date;
338
+ label: string;
339
+ description: string;
340
+ }>>>;
341
+ lastUpdatesCheckedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
342
+ ownerId: z.ZodString;
343
+ ownerUserName: z.ZodOptional<z.ZodString>;
344
+ preferredCredentialId: z.ZodOptional<z.ZodString>;
345
+ stats: z.ZodObject<{
346
+ tokens: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
347
+ components: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
348
+ assets: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
349
+ frames: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
350
+ }, "strip", z.ZodTypeAny, {
351
+ assets: number;
352
+ frames: number;
353
+ components: number;
354
+ tokens: number;
355
+ }, {
356
+ assets?: number | null | undefined;
357
+ frames?: number | null | undefined;
358
+ components?: number | null | undefined;
359
+ tokens?: number | null | undefined;
360
+ }>;
361
+ }, "strip", z.ZodTypeAny, {
362
+ fileId: string;
363
+ state: "Active" | "MissingIntegration" | "MissingFileAccess" | "MissingFileOwner";
364
+ autoImportMode: "Never" | "Hourly";
365
+ ownerId: string;
366
+ stats: {
367
+ assets: number;
368
+ frames: number;
369
+ components: number;
370
+ tokens: number;
371
+ };
372
+ fileThumbnailUrl?: string | undefined;
373
+ lastImportResult?: {
374
+ frames: number;
375
+ components: number;
376
+ componentSets: number;
377
+ tokensCreated: number;
378
+ tokensUpdated: number;
379
+ tokensDeleted: number;
380
+ tokensCreatedPerType: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>;
381
+ tokensUpdatedPerType: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>;
382
+ tokensDeletedPerType: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>;
383
+ componentsCreated: number;
384
+ componentsUpdated: number;
385
+ componentsDeleted: number;
386
+ componentAssetsCreated: number;
387
+ componentAssetsUpdated: number;
388
+ componentAssetsDeleted: number;
389
+ isFailed: boolean;
390
+ warnings: {
391
+ warningType: "NoVersionFound" | "UnsupportedFill" | "UnsupportedStroke" | "UnsupportedEffect" | "NoPublishedElements" | "NoPublishedStyles" | "NoPublishedComponents" | "NoPublishedAssets" | "StyleNotApplied" | "ComponentHasNoThumbnail" | "DuplicateImportedStyleId" | "DuplicateImportedStylePath" | "NoUnpublishedStyles";
392
+ componentId?: string | undefined;
393
+ componentName?: string | undefined;
394
+ styleId?: string | undefined;
395
+ styleName?: string | undefined;
396
+ unsupportedStyleValueType?: string | undefined;
397
+ }[];
398
+ error?: any;
399
+ sourceId?: string | undefined;
400
+ brandId?: string | undefined;
401
+ versionId?: string | undefined;
402
+ } | null | undefined;
403
+ lastImportedAt?: Date | null | undefined;
404
+ lastImportedVersion?: {
405
+ id: string;
406
+ created_at: Date;
407
+ label: string;
408
+ description: string;
409
+ } | null | undefined;
410
+ lastUpdatesCheckedAt?: Date | null | undefined;
411
+ ownerUserName?: string | undefined;
412
+ preferredCredentialId?: string | undefined;
413
+ }, {
414
+ fileId: string;
415
+ state: "Active" | "MissingIntegration" | "MissingFileAccess" | "MissingFileOwner";
416
+ autoImportMode: "Never" | "Hourly";
417
+ ownerId: string;
418
+ stats: {
419
+ assets?: number | null | undefined;
420
+ frames?: number | null | undefined;
421
+ components?: number | null | undefined;
422
+ tokens?: number | null | undefined;
423
+ };
424
+ fileThumbnailUrl?: string | undefined;
425
+ lastImportResult?: {
426
+ isFailed: boolean;
427
+ error?: any;
428
+ sourceId?: string | null | undefined;
429
+ brandId?: string | null | undefined;
430
+ frames?: number | null | undefined;
431
+ components?: number | null | undefined;
432
+ componentSets?: number | null | undefined;
433
+ tokensCreated?: number | null | undefined;
434
+ tokensUpdated?: number | null | undefined;
435
+ tokensDeleted?: number | null | undefined;
436
+ tokensCreatedPerType?: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined;
437
+ tokensUpdatedPerType?: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined;
438
+ tokensDeletedPerType?: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined;
439
+ componentsCreated?: number | null | undefined;
440
+ componentsUpdated?: number | null | undefined;
441
+ componentsDeleted?: number | null | undefined;
442
+ componentAssetsCreated?: number | null | undefined;
443
+ componentAssetsUpdated?: number | null | undefined;
444
+ componentAssetsDeleted?: number | null | undefined;
445
+ versionId?: string | null | undefined;
446
+ warnings?: {
447
+ warningType: "NoVersionFound" | "UnsupportedFill" | "UnsupportedStroke" | "UnsupportedEffect" | "NoPublishedElements" | "NoPublishedStyles" | "NoPublishedComponents" | "NoPublishedAssets" | "StyleNotApplied" | "ComponentHasNoThumbnail" | "DuplicateImportedStyleId" | "DuplicateImportedStylePath" | "NoUnpublishedStyles";
448
+ componentId?: string | undefined;
449
+ componentName?: string | undefined;
450
+ styleId?: string | undefined;
451
+ styleName?: string | undefined;
452
+ unsupportedStyleValueType?: string | undefined;
453
+ }[] | null | undefined;
454
+ } | null | undefined;
455
+ lastImportedAt?: Date | null | undefined;
456
+ lastImportedVersion?: {
457
+ id: string;
458
+ created_at: Date;
459
+ label: string;
460
+ description: string;
461
+ } | null | undefined;
462
+ lastUpdatesCheckedAt?: Date | null | undefined;
463
+ ownerUserName?: string | undefined;
464
+ preferredCredentialId?: string | undefined;
465
+ }>;
466
+ declare const DTODataSourceFigma: z.ZodObject<{
467
+ id: z.ZodString;
468
+ type: z.ZodLiteral<"Figma">;
469
+ fileName: z.ZodString;
470
+ scope: z.ZodObject<{
471
+ assets: z.ZodBoolean;
472
+ components: z.ZodBoolean;
473
+ documentationFrames: z.ZodBoolean;
474
+ tokens: z.ZodBoolean;
475
+ themePersistentId: z.ZodOptional<z.ZodString>;
476
+ isUnpublishedContentFallbackEnabled: z.ZodBoolean;
477
+ }, "strip", z.ZodTypeAny, {
478
+ assets: boolean;
479
+ components: boolean;
480
+ documentationFrames: boolean;
481
+ tokens: boolean;
482
+ isUnpublishedContentFallbackEnabled: boolean;
483
+ themePersistentId?: string | undefined;
484
+ }, {
485
+ assets: boolean;
486
+ components: boolean;
487
+ documentationFrames: boolean;
488
+ tokens: boolean;
489
+ isUnpublishedContentFallbackEnabled: boolean;
490
+ themePersistentId?: string | undefined;
491
+ }>;
492
+ brandId: z.ZodString;
493
+ themeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
494
+ cloud: z.ZodOptional<z.ZodNullable<z.ZodObject<{
495
+ fileId: z.ZodString;
496
+ state: z.ZodEnum<["Active", "MissingIntegration", "MissingFileAccess", "MissingFileOwner"]>;
497
+ autoImportMode: z.ZodEnum<["Never", "Hourly"]>;
498
+ fileThumbnailUrl: z.ZodOptional<z.ZodString>;
499
+ lastImportResult: z.ZodOptional<z.ZodNullable<z.ZodObject<{
500
+ frames: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
501
+ components: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
502
+ componentSets: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
503
+ componentsCreated: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
504
+ componentsUpdated: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
505
+ componentsDeleted: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
506
+ componentAssetsCreated: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
507
+ componentAssetsUpdated: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
508
+ componentAssetsDeleted: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
509
+ tokensCreated: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
510
+ tokensUpdated: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
511
+ tokensDeleted: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
512
+ tokensCreatedPerType: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodUnion<[z.ZodEnum<["Color", "Border", "Gradient", "Shadow", "Dimension", "Duration", "Size", "Space", "Opacity", "FontSize", "LineHeight", "LetterSpacing", "ParagraphSpacing", "BorderWidth", "BorderRadius", "Duration", "ZIndex", "Image", "String", "ProductCopy", "FontFamily", "FontWeight", "TextDecoration", "TextCase", "Visibility", "Typography", "Blur", "Font"]>, z.ZodEnum<["Measure", "Radius", "GenericToken", "Font", "Text"]>]>, z.ZodNumber>>>, Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>, Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined>;
513
+ tokensUpdatedPerType: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodUnion<[z.ZodEnum<["Color", "Border", "Gradient", "Shadow", "Dimension", "Duration", "Size", "Space", "Opacity", "FontSize", "LineHeight", "LetterSpacing", "ParagraphSpacing", "BorderWidth", "BorderRadius", "Duration", "ZIndex", "Image", "String", "ProductCopy", "FontFamily", "FontWeight", "TextDecoration", "TextCase", "Visibility", "Typography", "Blur", "Font"]>, z.ZodEnum<["Measure", "Radius", "GenericToken", "Font", "Text"]>]>, z.ZodNumber>>>, Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>, Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined>;
514
+ tokensDeletedPerType: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodUnion<[z.ZodEnum<["Color", "Border", "Gradient", "Shadow", "Dimension", "Duration", "Size", "Space", "Opacity", "FontSize", "LineHeight", "LetterSpacing", "ParagraphSpacing", "BorderWidth", "BorderRadius", "Duration", "ZIndex", "Image", "String", "ProductCopy", "FontFamily", "FontWeight", "TextDecoration", "TextCase", "Visibility", "Typography", "Blur", "Font"]>, z.ZodEnum<["Measure", "Radius", "GenericToken", "Font", "Text"]>]>, z.ZodNumber>>>, Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>, Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined>;
515
+ sourceId: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
516
+ brandId: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
517
+ versionId: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
518
+ error: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<any, z.ZodTypeDef, any>>>, any, any>;
519
+ isFailed: z.ZodBoolean;
520
+ warnings: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
521
+ warningType: z.ZodEnum<["NoVersionFound", "UnsupportedFill", "UnsupportedStroke", "UnsupportedEffect", "NoPublishedElements", "NoPublishedStyles", "NoPublishedComponents", "NoPublishedAssets", "StyleNotApplied", "ComponentHasNoThumbnail", "DuplicateImportedStyleId", "DuplicateImportedStylePath", "NoUnpublishedStyles"]>;
522
+ componentId: z.ZodOptional<z.ZodString>;
523
+ componentName: z.ZodOptional<z.ZodString>;
524
+ styleId: z.ZodOptional<z.ZodString>;
525
+ styleName: z.ZodOptional<z.ZodString>;
526
+ unsupportedStyleValueType: z.ZodOptional<z.ZodString>;
527
+ }, "strip", z.ZodTypeAny, {
528
+ warningType: "NoVersionFound" | "UnsupportedFill" | "UnsupportedStroke" | "UnsupportedEffect" | "NoPublishedElements" | "NoPublishedStyles" | "NoPublishedComponents" | "NoPublishedAssets" | "StyleNotApplied" | "ComponentHasNoThumbnail" | "DuplicateImportedStyleId" | "DuplicateImportedStylePath" | "NoUnpublishedStyles";
529
+ componentId?: string | undefined;
530
+ componentName?: string | undefined;
531
+ styleId?: string | undefined;
532
+ styleName?: string | undefined;
533
+ unsupportedStyleValueType?: string | undefined;
534
+ }, {
535
+ warningType: "NoVersionFound" | "UnsupportedFill" | "UnsupportedStroke" | "UnsupportedEffect" | "NoPublishedElements" | "NoPublishedStyles" | "NoPublishedComponents" | "NoPublishedAssets" | "StyleNotApplied" | "ComponentHasNoThumbnail" | "DuplicateImportedStyleId" | "DuplicateImportedStylePath" | "NoUnpublishedStyles";
536
+ componentId?: string | undefined;
537
+ componentName?: string | undefined;
538
+ styleId?: string | undefined;
539
+ styleName?: string | undefined;
540
+ unsupportedStyleValueType?: string | undefined;
541
+ }>, "many">>>, {
542
+ warningType: "NoVersionFound" | "UnsupportedFill" | "UnsupportedStroke" | "UnsupportedEffect" | "NoPublishedElements" | "NoPublishedStyles" | "NoPublishedComponents" | "NoPublishedAssets" | "StyleNotApplied" | "ComponentHasNoThumbnail" | "DuplicateImportedStyleId" | "DuplicateImportedStylePath" | "NoUnpublishedStyles";
543
+ componentId?: string | undefined;
544
+ componentName?: string | undefined;
545
+ styleId?: string | undefined;
546
+ styleName?: string | undefined;
547
+ unsupportedStyleValueType?: string | undefined;
548
+ }[], {
549
+ warningType: "NoVersionFound" | "UnsupportedFill" | "UnsupportedStroke" | "UnsupportedEffect" | "NoPublishedElements" | "NoPublishedStyles" | "NoPublishedComponents" | "NoPublishedAssets" | "StyleNotApplied" | "ComponentHasNoThumbnail" | "DuplicateImportedStyleId" | "DuplicateImportedStylePath" | "NoUnpublishedStyles";
550
+ componentId?: string | undefined;
551
+ componentName?: string | undefined;
552
+ styleId?: string | undefined;
553
+ styleName?: string | undefined;
554
+ unsupportedStyleValueType?: string | undefined;
555
+ }[] | null | undefined>;
556
+ }, "strip", z.ZodTypeAny, {
557
+ frames: number;
558
+ components: number;
559
+ componentSets: number;
560
+ tokensCreated: number;
561
+ tokensUpdated: number;
562
+ tokensDeleted: number;
563
+ tokensCreatedPerType: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>;
564
+ tokensUpdatedPerType: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>;
565
+ tokensDeletedPerType: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>;
566
+ componentsCreated: number;
567
+ componentsUpdated: number;
568
+ componentsDeleted: number;
569
+ componentAssetsCreated: number;
570
+ componentAssetsUpdated: number;
571
+ componentAssetsDeleted: number;
572
+ isFailed: boolean;
573
+ warnings: {
574
+ warningType: "NoVersionFound" | "UnsupportedFill" | "UnsupportedStroke" | "UnsupportedEffect" | "NoPublishedElements" | "NoPublishedStyles" | "NoPublishedComponents" | "NoPublishedAssets" | "StyleNotApplied" | "ComponentHasNoThumbnail" | "DuplicateImportedStyleId" | "DuplicateImportedStylePath" | "NoUnpublishedStyles";
575
+ componentId?: string | undefined;
576
+ componentName?: string | undefined;
577
+ styleId?: string | undefined;
578
+ styleName?: string | undefined;
579
+ unsupportedStyleValueType?: string | undefined;
580
+ }[];
581
+ error?: any;
582
+ sourceId?: string | undefined;
583
+ brandId?: string | undefined;
584
+ versionId?: string | undefined;
585
+ }, {
586
+ isFailed: boolean;
587
+ error?: any;
588
+ sourceId?: string | null | undefined;
589
+ brandId?: string | null | undefined;
590
+ frames?: number | null | undefined;
591
+ components?: number | null | undefined;
592
+ componentSets?: number | null | undefined;
593
+ tokensCreated?: number | null | undefined;
594
+ tokensUpdated?: number | null | undefined;
595
+ tokensDeleted?: number | null | undefined;
596
+ tokensCreatedPerType?: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined;
597
+ tokensUpdatedPerType?: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined;
598
+ tokensDeletedPerType?: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined;
599
+ componentsCreated?: number | null | undefined;
600
+ componentsUpdated?: number | null | undefined;
601
+ componentsDeleted?: number | null | undefined;
602
+ componentAssetsCreated?: number | null | undefined;
603
+ componentAssetsUpdated?: number | null | undefined;
604
+ componentAssetsDeleted?: number | null | undefined;
605
+ versionId?: string | null | undefined;
606
+ warnings?: {
607
+ warningType: "NoVersionFound" | "UnsupportedFill" | "UnsupportedStroke" | "UnsupportedEffect" | "NoPublishedElements" | "NoPublishedStyles" | "NoPublishedComponents" | "NoPublishedAssets" | "StyleNotApplied" | "ComponentHasNoThumbnail" | "DuplicateImportedStyleId" | "DuplicateImportedStylePath" | "NoUnpublishedStyles";
608
+ componentId?: string | undefined;
609
+ componentName?: string | undefined;
610
+ styleId?: string | undefined;
611
+ styleName?: string | undefined;
612
+ unsupportedStyleValueType?: string | undefined;
613
+ }[] | null | undefined;
614
+ }>>>;
615
+ lastImportedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
616
+ lastImportedVersion: z.ZodOptional<z.ZodNullable<z.ZodObject<{
617
+ id: z.ZodString;
618
+ created_at: z.ZodDate;
619
+ label: z.ZodString;
620
+ description: z.ZodString;
621
+ }, "strip", z.ZodTypeAny, {
622
+ id: string;
623
+ created_at: Date;
624
+ label: string;
625
+ description: string;
626
+ }, {
627
+ id: string;
628
+ created_at: Date;
629
+ label: string;
630
+ description: string;
631
+ }>>>;
632
+ lastUpdatesCheckedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
633
+ ownerId: z.ZodString;
634
+ ownerUserName: z.ZodOptional<z.ZodString>;
635
+ preferredCredentialId: z.ZodOptional<z.ZodString>;
636
+ stats: z.ZodObject<{
637
+ tokens: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
638
+ components: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
639
+ assets: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
640
+ frames: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
641
+ }, "strip", z.ZodTypeAny, {
642
+ assets: number;
643
+ frames: number;
644
+ components: number;
645
+ tokens: number;
646
+ }, {
647
+ assets?: number | null | undefined;
648
+ frames?: number | null | undefined;
649
+ components?: number | null | undefined;
650
+ tokens?: number | null | undefined;
651
+ }>;
652
+ }, "strip", z.ZodTypeAny, {
653
+ fileId: string;
654
+ state: "Active" | "MissingIntegration" | "MissingFileAccess" | "MissingFileOwner";
655
+ autoImportMode: "Never" | "Hourly";
656
+ ownerId: string;
657
+ stats: {
658
+ assets: number;
659
+ frames: number;
660
+ components: number;
661
+ tokens: number;
662
+ };
663
+ fileThumbnailUrl?: string | undefined;
664
+ lastImportResult?: {
665
+ frames: number;
666
+ components: number;
667
+ componentSets: number;
668
+ tokensCreated: number;
669
+ tokensUpdated: number;
670
+ tokensDeleted: number;
671
+ tokensCreatedPerType: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>;
672
+ tokensUpdatedPerType: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>;
673
+ tokensDeletedPerType: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>;
674
+ componentsCreated: number;
675
+ componentsUpdated: number;
676
+ componentsDeleted: number;
677
+ componentAssetsCreated: number;
678
+ componentAssetsUpdated: number;
679
+ componentAssetsDeleted: number;
680
+ isFailed: boolean;
681
+ warnings: {
682
+ warningType: "NoVersionFound" | "UnsupportedFill" | "UnsupportedStroke" | "UnsupportedEffect" | "NoPublishedElements" | "NoPublishedStyles" | "NoPublishedComponents" | "NoPublishedAssets" | "StyleNotApplied" | "ComponentHasNoThumbnail" | "DuplicateImportedStyleId" | "DuplicateImportedStylePath" | "NoUnpublishedStyles";
683
+ componentId?: string | undefined;
684
+ componentName?: string | undefined;
685
+ styleId?: string | undefined;
686
+ styleName?: string | undefined;
687
+ unsupportedStyleValueType?: string | undefined;
688
+ }[];
689
+ error?: any;
690
+ sourceId?: string | undefined;
691
+ brandId?: string | undefined;
692
+ versionId?: string | undefined;
693
+ } | null | undefined;
694
+ lastImportedAt?: Date | null | undefined;
695
+ lastImportedVersion?: {
696
+ id: string;
697
+ created_at: Date;
698
+ label: string;
699
+ description: string;
700
+ } | null | undefined;
701
+ lastUpdatesCheckedAt?: Date | null | undefined;
702
+ ownerUserName?: string | undefined;
703
+ preferredCredentialId?: string | undefined;
704
+ }, {
705
+ fileId: string;
706
+ state: "Active" | "MissingIntegration" | "MissingFileAccess" | "MissingFileOwner";
707
+ autoImportMode: "Never" | "Hourly";
708
+ ownerId: string;
709
+ stats: {
710
+ assets?: number | null | undefined;
711
+ frames?: number | null | undefined;
712
+ components?: number | null | undefined;
713
+ tokens?: number | null | undefined;
714
+ };
715
+ fileThumbnailUrl?: string | undefined;
716
+ lastImportResult?: {
717
+ isFailed: boolean;
718
+ error?: any;
719
+ sourceId?: string | null | undefined;
720
+ brandId?: string | null | undefined;
721
+ frames?: number | null | undefined;
722
+ components?: number | null | undefined;
723
+ componentSets?: number | null | undefined;
724
+ tokensCreated?: number | null | undefined;
725
+ tokensUpdated?: number | null | undefined;
726
+ tokensDeleted?: number | null | undefined;
727
+ tokensCreatedPerType?: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined;
728
+ tokensUpdatedPerType?: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined;
729
+ tokensDeletedPerType?: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined;
730
+ componentsCreated?: number | null | undefined;
731
+ componentsUpdated?: number | null | undefined;
732
+ componentsDeleted?: number | null | undefined;
733
+ componentAssetsCreated?: number | null | undefined;
734
+ componentAssetsUpdated?: number | null | undefined;
735
+ componentAssetsDeleted?: number | null | undefined;
736
+ versionId?: string | null | undefined;
737
+ warnings?: {
738
+ warningType: "NoVersionFound" | "UnsupportedFill" | "UnsupportedStroke" | "UnsupportedEffect" | "NoPublishedElements" | "NoPublishedStyles" | "NoPublishedComponents" | "NoPublishedAssets" | "StyleNotApplied" | "ComponentHasNoThumbnail" | "DuplicateImportedStyleId" | "DuplicateImportedStylePath" | "NoUnpublishedStyles";
739
+ componentId?: string | undefined;
740
+ componentName?: string | undefined;
741
+ styleId?: string | undefined;
742
+ styleName?: string | undefined;
743
+ unsupportedStyleValueType?: string | undefined;
744
+ }[] | null | undefined;
745
+ } | null | undefined;
746
+ lastImportedAt?: Date | null | undefined;
747
+ lastImportedVersion?: {
748
+ id: string;
749
+ created_at: Date;
750
+ label: string;
751
+ description: string;
752
+ } | null | undefined;
753
+ lastUpdatesCheckedAt?: Date | null | undefined;
754
+ ownerUserName?: string | undefined;
755
+ preferredCredentialId?: string | undefined;
756
+ }>>>;
757
+ tokenStudio: z.ZodLiteral<null>;
758
+ upload: z.ZodLiteral<null>;
759
+ figmaVariablesPlugin: z.ZodLiteral<null>;
760
+ }, "strip", z.ZodTypeAny, {
761
+ id: string;
762
+ type: "Figma";
763
+ fileName: string;
764
+ scope: {
765
+ assets: boolean;
766
+ components: boolean;
767
+ documentationFrames: boolean;
768
+ tokens: boolean;
769
+ isUnpublishedContentFallbackEnabled: boolean;
770
+ themePersistentId?: string | undefined;
771
+ };
772
+ brandId: string;
773
+ tokenStudio: null;
774
+ upload: null;
775
+ figmaVariablesPlugin: null;
776
+ themeId?: string | null | undefined;
777
+ cloud?: {
778
+ fileId: string;
779
+ state: "Active" | "MissingIntegration" | "MissingFileAccess" | "MissingFileOwner";
780
+ autoImportMode: "Never" | "Hourly";
781
+ ownerId: string;
782
+ stats: {
783
+ assets: number;
784
+ frames: number;
785
+ components: number;
786
+ tokens: number;
787
+ };
788
+ fileThumbnailUrl?: string | undefined;
789
+ lastImportResult?: {
790
+ frames: number;
791
+ components: number;
792
+ componentSets: number;
793
+ tokensCreated: number;
794
+ tokensUpdated: number;
795
+ tokensDeleted: number;
796
+ tokensCreatedPerType: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>;
797
+ tokensUpdatedPerType: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>;
798
+ tokensDeletedPerType: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>;
799
+ componentsCreated: number;
800
+ componentsUpdated: number;
801
+ componentsDeleted: number;
802
+ componentAssetsCreated: number;
803
+ componentAssetsUpdated: number;
804
+ componentAssetsDeleted: number;
805
+ isFailed: boolean;
806
+ warnings: {
807
+ warningType: "NoVersionFound" | "UnsupportedFill" | "UnsupportedStroke" | "UnsupportedEffect" | "NoPublishedElements" | "NoPublishedStyles" | "NoPublishedComponents" | "NoPublishedAssets" | "StyleNotApplied" | "ComponentHasNoThumbnail" | "DuplicateImportedStyleId" | "DuplicateImportedStylePath" | "NoUnpublishedStyles";
808
+ componentId?: string | undefined;
809
+ componentName?: string | undefined;
810
+ styleId?: string | undefined;
811
+ styleName?: string | undefined;
812
+ unsupportedStyleValueType?: string | undefined;
813
+ }[];
814
+ error?: any;
815
+ sourceId?: string | undefined;
816
+ brandId?: string | undefined;
817
+ versionId?: string | undefined;
818
+ } | null | undefined;
819
+ lastImportedAt?: Date | null | undefined;
820
+ lastImportedVersion?: {
821
+ id: string;
822
+ created_at: Date;
823
+ label: string;
824
+ description: string;
825
+ } | null | undefined;
826
+ lastUpdatesCheckedAt?: Date | null | undefined;
827
+ ownerUserName?: string | undefined;
828
+ preferredCredentialId?: string | undefined;
829
+ } | null | undefined;
830
+ }, {
831
+ id: string;
832
+ type: "Figma";
833
+ fileName: string;
834
+ scope: {
835
+ assets: boolean;
836
+ components: boolean;
837
+ documentationFrames: boolean;
838
+ tokens: boolean;
839
+ isUnpublishedContentFallbackEnabled: boolean;
840
+ themePersistentId?: string | undefined;
841
+ };
842
+ brandId: string;
843
+ tokenStudio: null;
844
+ upload: null;
845
+ figmaVariablesPlugin: null;
846
+ themeId?: string | null | undefined;
847
+ cloud?: {
848
+ fileId: string;
849
+ state: "Active" | "MissingIntegration" | "MissingFileAccess" | "MissingFileOwner";
850
+ autoImportMode: "Never" | "Hourly";
851
+ ownerId: string;
852
+ stats: {
853
+ assets?: number | null | undefined;
854
+ frames?: number | null | undefined;
855
+ components?: number | null | undefined;
856
+ tokens?: number | null | undefined;
857
+ };
858
+ fileThumbnailUrl?: string | undefined;
859
+ lastImportResult?: {
860
+ isFailed: boolean;
861
+ error?: any;
862
+ sourceId?: string | null | undefined;
863
+ brandId?: string | null | undefined;
864
+ frames?: number | null | undefined;
865
+ components?: number | null | undefined;
866
+ componentSets?: number | null | undefined;
867
+ tokensCreated?: number | null | undefined;
868
+ tokensUpdated?: number | null | undefined;
869
+ tokensDeleted?: number | null | undefined;
870
+ tokensCreatedPerType?: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined;
871
+ tokensUpdatedPerType?: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined;
872
+ tokensDeletedPerType?: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined;
873
+ componentsCreated?: number | null | undefined;
874
+ componentsUpdated?: number | null | undefined;
875
+ componentsDeleted?: number | null | undefined;
876
+ componentAssetsCreated?: number | null | undefined;
877
+ componentAssetsUpdated?: number | null | undefined;
878
+ componentAssetsDeleted?: number | null | undefined;
879
+ versionId?: string | null | undefined;
880
+ warnings?: {
881
+ warningType: "NoVersionFound" | "UnsupportedFill" | "UnsupportedStroke" | "UnsupportedEffect" | "NoPublishedElements" | "NoPublishedStyles" | "NoPublishedComponents" | "NoPublishedAssets" | "StyleNotApplied" | "ComponentHasNoThumbnail" | "DuplicateImportedStyleId" | "DuplicateImportedStylePath" | "NoUnpublishedStyles";
882
+ componentId?: string | undefined;
883
+ componentName?: string | undefined;
884
+ styleId?: string | undefined;
885
+ styleName?: string | undefined;
886
+ unsupportedStyleValueType?: string | undefined;
887
+ }[] | null | undefined;
888
+ } | null | undefined;
889
+ lastImportedAt?: Date | null | undefined;
890
+ lastImportedVersion?: {
891
+ id: string;
892
+ created_at: Date;
893
+ label: string;
894
+ description: string;
895
+ } | null | undefined;
896
+ lastUpdatesCheckedAt?: Date | null | undefined;
897
+ ownerUserName?: string | undefined;
898
+ preferredCredentialId?: string | undefined;
899
+ } | null | undefined;
900
+ }>;
901
+ type DTODataSourceFigma = z.infer<typeof DTODataSourceFigma>;
902
+ declare const DTODataSourceTokenStudio: z.ZodObject<{
903
+ id: z.ZodString;
904
+ type: z.ZodLiteral<"TokenStudio">;
905
+ fileName: z.ZodString;
906
+ brandId: z.ZodString;
907
+ themeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
908
+ cloud: z.ZodLiteral<null>;
909
+ tokenStudio: z.ZodObject<{
910
+ settings: z.ZodObject<{
911
+ dryRun: z.ZodBoolean;
912
+ verbose: z.ZodBoolean;
913
+ preciseCopy: z.ZodBoolean;
914
+ }, "strip", z.ZodTypeAny, {
915
+ dryRun: boolean;
916
+ verbose: boolean;
917
+ preciseCopy: boolean;
918
+ }, {
919
+ dryRun: boolean;
920
+ verbose: boolean;
921
+ preciseCopy: boolean;
922
+ }>;
923
+ connectionName: z.ZodString;
924
+ lastImportedAt: z.ZodDate;
925
+ lastImportedResults: z.ZodArray<z.ZodObject<{
926
+ mapping: z.ZodObject<{
927
+ tokenSets: z.ZodArray<z.ZodString, "many">;
928
+ supernovaBrand: z.ZodString;
929
+ supernovaTheme: z.ZodOptional<z.ZodString>;
930
+ }, "strip", z.ZodTypeAny, {
931
+ tokenSets: string[];
932
+ supernovaBrand: string;
933
+ supernovaTheme?: string | undefined;
934
+ }, {
935
+ tokenSets: string[];
936
+ supernovaBrand: string;
937
+ supernovaTheme?: string | undefined;
938
+ }>;
939
+ isFailed: z.ZodBoolean;
940
+ tokensCreated: z.ZodNumber;
941
+ tokensDeleted: z.ZodNumber;
942
+ tokensUpdated: z.ZodNumber;
943
+ }, "strip", z.ZodTypeAny, {
944
+ mapping: {
945
+ tokenSets: string[];
946
+ supernovaBrand: string;
947
+ supernovaTheme?: string | undefined;
948
+ };
949
+ isFailed: boolean;
950
+ tokensCreated: number;
951
+ tokensDeleted: number;
952
+ tokensUpdated: number;
953
+ }, {
954
+ mapping: {
955
+ tokenSets: string[];
956
+ supernovaBrand: string;
957
+ supernovaTheme?: string | undefined;
958
+ };
959
+ isFailed: boolean;
960
+ tokensCreated: number;
961
+ tokensDeleted: number;
962
+ tokensUpdated: number;
963
+ }>, "many">;
964
+ }, "strip", z.ZodTypeAny, {
965
+ lastImportedAt: Date;
966
+ settings: {
967
+ dryRun: boolean;
968
+ verbose: boolean;
969
+ preciseCopy: boolean;
970
+ };
971
+ connectionName: string;
972
+ lastImportedResults: {
973
+ mapping: {
974
+ tokenSets: string[];
975
+ supernovaBrand: string;
976
+ supernovaTheme?: string | undefined;
977
+ };
978
+ isFailed: boolean;
979
+ tokensCreated: number;
980
+ tokensDeleted: number;
981
+ tokensUpdated: number;
982
+ }[];
983
+ }, {
984
+ lastImportedAt: Date;
985
+ settings: {
986
+ dryRun: boolean;
987
+ verbose: boolean;
988
+ preciseCopy: boolean;
989
+ };
990
+ connectionName: string;
991
+ lastImportedResults: {
992
+ mapping: {
993
+ tokenSets: string[];
994
+ supernovaBrand: string;
995
+ supernovaTheme?: string | undefined;
996
+ };
997
+ isFailed: boolean;
998
+ tokensCreated: number;
999
+ tokensDeleted: number;
1000
+ tokensUpdated: number;
1001
+ }[];
1002
+ }>;
1003
+ upload: z.ZodLiteral<null>;
1004
+ figmaVariablesPlugin: z.ZodLiteral<null>;
1005
+ }, "strip", z.ZodTypeAny, {
1006
+ id: string;
1007
+ type: "TokenStudio";
1008
+ fileName: string;
1009
+ brandId: string;
1010
+ cloud: null;
1011
+ tokenStudio: {
1012
+ lastImportedAt: Date;
1013
+ settings: {
1014
+ dryRun: boolean;
1015
+ verbose: boolean;
1016
+ preciseCopy: boolean;
1017
+ };
1018
+ connectionName: string;
1019
+ lastImportedResults: {
1020
+ mapping: {
1021
+ tokenSets: string[];
1022
+ supernovaBrand: string;
1023
+ supernovaTheme?: string | undefined;
1024
+ };
1025
+ isFailed: boolean;
1026
+ tokensCreated: number;
1027
+ tokensDeleted: number;
1028
+ tokensUpdated: number;
1029
+ }[];
1030
+ };
1031
+ upload: null;
1032
+ figmaVariablesPlugin: null;
1033
+ themeId?: string | null | undefined;
1034
+ }, {
1035
+ id: string;
1036
+ type: "TokenStudio";
1037
+ fileName: string;
1038
+ brandId: string;
1039
+ cloud: null;
1040
+ tokenStudio: {
1041
+ lastImportedAt: Date;
1042
+ settings: {
1043
+ dryRun: boolean;
1044
+ verbose: boolean;
1045
+ preciseCopy: boolean;
1046
+ };
1047
+ connectionName: string;
1048
+ lastImportedResults: {
1049
+ mapping: {
1050
+ tokenSets: string[];
1051
+ supernovaBrand: string;
1052
+ supernovaTheme?: string | undefined;
1053
+ };
1054
+ isFailed: boolean;
1055
+ tokensCreated: number;
1056
+ tokensDeleted: number;
1057
+ tokensUpdated: number;
1058
+ }[];
1059
+ };
1060
+ upload: null;
1061
+ figmaVariablesPlugin: null;
1062
+ themeId?: string | null | undefined;
1063
+ }>;
1064
+ type DTODataSourceTokenStudio = z.infer<typeof DTODataSourceTokenStudio>;
1065
+ declare const DTODataSourceFigmaVariablesPlugin: z.ZodObject<{
1066
+ id: z.ZodString;
1067
+ type: z.ZodLiteral<"FigmaVariablesPlugin">;
1068
+ fileName: z.ZodString;
1069
+ brandId: z.ZodString;
1070
+ themeId: z.ZodLiteral<null>;
1071
+ cloud: z.ZodLiteral<null>;
1072
+ tokenStudio: z.ZodLiteral<null>;
1073
+ upload: z.ZodObject<{
1074
+ remoteId: z.ZodString;
1075
+ remoteSourceType: z.ZodEnum<["TokenStudio", "FigmaVariablesPlugin", "Custom"]>;
1076
+ lastImportedAt: z.ZodOptional<z.ZodDate>;
1077
+ lastImportMetadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1078
+ }, "strip", z.ZodTypeAny, {
1079
+ remoteId: string;
1080
+ remoteSourceType: "TokenStudio" | "FigmaVariablesPlugin" | "Custom";
1081
+ lastImportedAt?: Date | undefined;
1082
+ lastImportMetadata?: Record<string, any> | undefined;
1083
+ }, {
1084
+ remoteId: string;
1085
+ remoteSourceType: "TokenStudio" | "FigmaVariablesPlugin" | "Custom";
1086
+ lastImportedAt?: Date | undefined;
1087
+ lastImportMetadata?: Record<string, any> | undefined;
1088
+ }>;
1089
+ figmaVariablesPlugin: z.ZodObject<{
1090
+ fileId: z.ZodString;
1091
+ lastImportedAt: z.ZodOptional<z.ZodDate>;
1092
+ lastImportMetadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1093
+ }, "strip", z.ZodTypeAny, {
1094
+ fileId: string;
1095
+ lastImportedAt?: Date | undefined;
1096
+ lastImportMetadata?: Record<string, any> | undefined;
1097
+ }, {
1098
+ fileId: string;
1099
+ lastImportedAt?: Date | undefined;
1100
+ lastImportMetadata?: Record<string, any> | undefined;
1101
+ }>;
1102
+ }, "strip", z.ZodTypeAny, {
1103
+ id: string;
1104
+ type: "FigmaVariablesPlugin";
1105
+ fileName: string;
1106
+ brandId: string;
1107
+ themeId: null;
1108
+ cloud: null;
1109
+ tokenStudio: null;
1110
+ upload: {
1111
+ remoteId: string;
1112
+ remoteSourceType: "TokenStudio" | "FigmaVariablesPlugin" | "Custom";
1113
+ lastImportedAt?: Date | undefined;
1114
+ lastImportMetadata?: Record<string, any> | undefined;
1115
+ };
1116
+ figmaVariablesPlugin: {
1117
+ fileId: string;
1118
+ lastImportedAt?: Date | undefined;
1119
+ lastImportMetadata?: Record<string, any> | undefined;
1120
+ };
1121
+ }, {
1122
+ id: string;
1123
+ type: "FigmaVariablesPlugin";
1124
+ fileName: string;
1125
+ brandId: string;
1126
+ themeId: null;
1127
+ cloud: null;
1128
+ tokenStudio: null;
1129
+ upload: {
1130
+ remoteId: string;
1131
+ remoteSourceType: "TokenStudio" | "FigmaVariablesPlugin" | "Custom";
1132
+ lastImportedAt?: Date | undefined;
1133
+ lastImportMetadata?: Record<string, any> | undefined;
1134
+ };
1135
+ figmaVariablesPlugin: {
1136
+ fileId: string;
1137
+ lastImportedAt?: Date | undefined;
1138
+ lastImportMetadata?: Record<string, any> | undefined;
1139
+ };
1140
+ }>;
1141
+ type DTODataSourceFigmaVariablesPlugin = z.infer<typeof DTODataSourceFigmaVariablesPlugin>;
1142
+ declare const DTODataSource: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1143
+ id: z.ZodString;
1144
+ type: z.ZodLiteral<"Figma">;
1145
+ fileName: z.ZodString;
1146
+ scope: z.ZodObject<{
1147
+ assets: z.ZodBoolean;
1148
+ components: z.ZodBoolean;
1149
+ documentationFrames: z.ZodBoolean;
1150
+ tokens: z.ZodBoolean;
1151
+ themePersistentId: z.ZodOptional<z.ZodString>;
1152
+ isUnpublishedContentFallbackEnabled: z.ZodBoolean;
1153
+ }, "strip", z.ZodTypeAny, {
1154
+ assets: boolean;
1155
+ components: boolean;
1156
+ documentationFrames: boolean;
1157
+ tokens: boolean;
1158
+ isUnpublishedContentFallbackEnabled: boolean;
1159
+ themePersistentId?: string | undefined;
1160
+ }, {
1161
+ assets: boolean;
1162
+ components: boolean;
1163
+ documentationFrames: boolean;
1164
+ tokens: boolean;
1165
+ isUnpublishedContentFallbackEnabled: boolean;
1166
+ themePersistentId?: string | undefined;
1167
+ }>;
1168
+ brandId: z.ZodString;
1169
+ themeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1170
+ cloud: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1171
+ fileId: z.ZodString;
1172
+ state: z.ZodEnum<["Active", "MissingIntegration", "MissingFileAccess", "MissingFileOwner"]>;
1173
+ autoImportMode: z.ZodEnum<["Never", "Hourly"]>;
1174
+ fileThumbnailUrl: z.ZodOptional<z.ZodString>;
1175
+ lastImportResult: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1176
+ frames: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
1177
+ components: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
1178
+ componentSets: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
1179
+ componentsCreated: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
1180
+ componentsUpdated: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
1181
+ componentsDeleted: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
1182
+ componentAssetsCreated: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
1183
+ componentAssetsUpdated: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
1184
+ componentAssetsDeleted: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
1185
+ tokensCreated: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
1186
+ tokensUpdated: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
1187
+ tokensDeleted: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
1188
+ tokensCreatedPerType: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodUnion<[z.ZodEnum<["Color", "Border", "Gradient", "Shadow", "Dimension", "Duration", "Size", "Space", "Opacity", "FontSize", "LineHeight", "LetterSpacing", "ParagraphSpacing", "BorderWidth", "BorderRadius", "Duration", "ZIndex", "Image", "String", "ProductCopy", "FontFamily", "FontWeight", "TextDecoration", "TextCase", "Visibility", "Typography", "Blur", "Font"]>, z.ZodEnum<["Measure", "Radius", "GenericToken", "Font", "Text"]>]>, z.ZodNumber>>>, Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>, Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined>;
1189
+ tokensUpdatedPerType: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodUnion<[z.ZodEnum<["Color", "Border", "Gradient", "Shadow", "Dimension", "Duration", "Size", "Space", "Opacity", "FontSize", "LineHeight", "LetterSpacing", "ParagraphSpacing", "BorderWidth", "BorderRadius", "Duration", "ZIndex", "Image", "String", "ProductCopy", "FontFamily", "FontWeight", "TextDecoration", "TextCase", "Visibility", "Typography", "Blur", "Font"]>, z.ZodEnum<["Measure", "Radius", "GenericToken", "Font", "Text"]>]>, z.ZodNumber>>>, Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>, Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined>;
1190
+ tokensDeletedPerType: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodUnion<[z.ZodEnum<["Color", "Border", "Gradient", "Shadow", "Dimension", "Duration", "Size", "Space", "Opacity", "FontSize", "LineHeight", "LetterSpacing", "ParagraphSpacing", "BorderWidth", "BorderRadius", "Duration", "ZIndex", "Image", "String", "ProductCopy", "FontFamily", "FontWeight", "TextDecoration", "TextCase", "Visibility", "Typography", "Blur", "Font"]>, z.ZodEnum<["Measure", "Radius", "GenericToken", "Font", "Text"]>]>, z.ZodNumber>>>, Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>, Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined>;
1191
+ sourceId: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
1192
+ brandId: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
1193
+ versionId: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
1194
+ error: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<any, z.ZodTypeDef, any>>>, any, any>;
1195
+ isFailed: z.ZodBoolean;
1196
+ warnings: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
1197
+ warningType: z.ZodEnum<["NoVersionFound", "UnsupportedFill", "UnsupportedStroke", "UnsupportedEffect", "NoPublishedElements", "NoPublishedStyles", "NoPublishedComponents", "NoPublishedAssets", "StyleNotApplied", "ComponentHasNoThumbnail", "DuplicateImportedStyleId", "DuplicateImportedStylePath", "NoUnpublishedStyles"]>;
1198
+ componentId: z.ZodOptional<z.ZodString>;
1199
+ componentName: z.ZodOptional<z.ZodString>;
1200
+ styleId: z.ZodOptional<z.ZodString>;
1201
+ styleName: z.ZodOptional<z.ZodString>;
1202
+ unsupportedStyleValueType: z.ZodOptional<z.ZodString>;
1203
+ }, "strip", z.ZodTypeAny, {
1204
+ warningType: "NoVersionFound" | "UnsupportedFill" | "UnsupportedStroke" | "UnsupportedEffect" | "NoPublishedElements" | "NoPublishedStyles" | "NoPublishedComponents" | "NoPublishedAssets" | "StyleNotApplied" | "ComponentHasNoThumbnail" | "DuplicateImportedStyleId" | "DuplicateImportedStylePath" | "NoUnpublishedStyles";
1205
+ componentId?: string | undefined;
1206
+ componentName?: string | undefined;
1207
+ styleId?: string | undefined;
1208
+ styleName?: string | undefined;
1209
+ unsupportedStyleValueType?: string | undefined;
1210
+ }, {
1211
+ warningType: "NoVersionFound" | "UnsupportedFill" | "UnsupportedStroke" | "UnsupportedEffect" | "NoPublishedElements" | "NoPublishedStyles" | "NoPublishedComponents" | "NoPublishedAssets" | "StyleNotApplied" | "ComponentHasNoThumbnail" | "DuplicateImportedStyleId" | "DuplicateImportedStylePath" | "NoUnpublishedStyles";
1212
+ componentId?: string | undefined;
1213
+ componentName?: string | undefined;
1214
+ styleId?: string | undefined;
1215
+ styleName?: string | undefined;
1216
+ unsupportedStyleValueType?: string | undefined;
1217
+ }>, "many">>>, {
1218
+ warningType: "NoVersionFound" | "UnsupportedFill" | "UnsupportedStroke" | "UnsupportedEffect" | "NoPublishedElements" | "NoPublishedStyles" | "NoPublishedComponents" | "NoPublishedAssets" | "StyleNotApplied" | "ComponentHasNoThumbnail" | "DuplicateImportedStyleId" | "DuplicateImportedStylePath" | "NoUnpublishedStyles";
1219
+ componentId?: string | undefined;
1220
+ componentName?: string | undefined;
1221
+ styleId?: string | undefined;
1222
+ styleName?: string | undefined;
1223
+ unsupportedStyleValueType?: string | undefined;
1224
+ }[], {
1225
+ warningType: "NoVersionFound" | "UnsupportedFill" | "UnsupportedStroke" | "UnsupportedEffect" | "NoPublishedElements" | "NoPublishedStyles" | "NoPublishedComponents" | "NoPublishedAssets" | "StyleNotApplied" | "ComponentHasNoThumbnail" | "DuplicateImportedStyleId" | "DuplicateImportedStylePath" | "NoUnpublishedStyles";
1226
+ componentId?: string | undefined;
1227
+ componentName?: string | undefined;
1228
+ styleId?: string | undefined;
1229
+ styleName?: string | undefined;
1230
+ unsupportedStyleValueType?: string | undefined;
1231
+ }[] | null | undefined>;
1232
+ }, "strip", z.ZodTypeAny, {
1233
+ frames: number;
1234
+ components: number;
1235
+ componentSets: number;
1236
+ tokensCreated: number;
1237
+ tokensUpdated: number;
1238
+ tokensDeleted: number;
1239
+ tokensCreatedPerType: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>;
1240
+ tokensUpdatedPerType: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>;
1241
+ tokensDeletedPerType: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>;
1242
+ componentsCreated: number;
1243
+ componentsUpdated: number;
1244
+ componentsDeleted: number;
1245
+ componentAssetsCreated: number;
1246
+ componentAssetsUpdated: number;
1247
+ componentAssetsDeleted: number;
1248
+ isFailed: boolean;
1249
+ warnings: {
1250
+ warningType: "NoVersionFound" | "UnsupportedFill" | "UnsupportedStroke" | "UnsupportedEffect" | "NoPublishedElements" | "NoPublishedStyles" | "NoPublishedComponents" | "NoPublishedAssets" | "StyleNotApplied" | "ComponentHasNoThumbnail" | "DuplicateImportedStyleId" | "DuplicateImportedStylePath" | "NoUnpublishedStyles";
1251
+ componentId?: string | undefined;
1252
+ componentName?: string | undefined;
1253
+ styleId?: string | undefined;
1254
+ styleName?: string | undefined;
1255
+ unsupportedStyleValueType?: string | undefined;
1256
+ }[];
1257
+ error?: any;
1258
+ sourceId?: string | undefined;
1259
+ brandId?: string | undefined;
1260
+ versionId?: string | undefined;
1261
+ }, {
1262
+ isFailed: boolean;
1263
+ error?: any;
1264
+ sourceId?: string | null | undefined;
1265
+ brandId?: string | null | undefined;
1266
+ frames?: number | null | undefined;
1267
+ components?: number | null | undefined;
1268
+ componentSets?: number | null | undefined;
1269
+ tokensCreated?: number | null | undefined;
1270
+ tokensUpdated?: number | null | undefined;
1271
+ tokensDeleted?: number | null | undefined;
1272
+ tokensCreatedPerType?: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined;
1273
+ tokensUpdatedPerType?: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined;
1274
+ tokensDeletedPerType?: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined;
1275
+ componentsCreated?: number | null | undefined;
1276
+ componentsUpdated?: number | null | undefined;
1277
+ componentsDeleted?: number | null | undefined;
1278
+ componentAssetsCreated?: number | null | undefined;
1279
+ componentAssetsUpdated?: number | null | undefined;
1280
+ componentAssetsDeleted?: number | null | undefined;
1281
+ versionId?: string | null | undefined;
1282
+ warnings?: {
1283
+ warningType: "NoVersionFound" | "UnsupportedFill" | "UnsupportedStroke" | "UnsupportedEffect" | "NoPublishedElements" | "NoPublishedStyles" | "NoPublishedComponents" | "NoPublishedAssets" | "StyleNotApplied" | "ComponentHasNoThumbnail" | "DuplicateImportedStyleId" | "DuplicateImportedStylePath" | "NoUnpublishedStyles";
1284
+ componentId?: string | undefined;
1285
+ componentName?: string | undefined;
1286
+ styleId?: string | undefined;
1287
+ styleName?: string | undefined;
1288
+ unsupportedStyleValueType?: string | undefined;
1289
+ }[] | null | undefined;
1290
+ }>>>;
1291
+ lastImportedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1292
+ lastImportedVersion: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1293
+ id: z.ZodString;
1294
+ created_at: z.ZodDate;
1295
+ label: z.ZodString;
1296
+ description: z.ZodString;
1297
+ }, "strip", z.ZodTypeAny, {
1298
+ id: string;
1299
+ created_at: Date;
1300
+ label: string;
1301
+ description: string;
1302
+ }, {
1303
+ id: string;
1304
+ created_at: Date;
1305
+ label: string;
1306
+ description: string;
1307
+ }>>>;
1308
+ lastUpdatesCheckedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1309
+ ownerId: z.ZodString;
1310
+ ownerUserName: z.ZodOptional<z.ZodString>;
1311
+ preferredCredentialId: z.ZodOptional<z.ZodString>;
1312
+ stats: z.ZodObject<{
1313
+ tokens: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
1314
+ components: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
1315
+ assets: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
1316
+ frames: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
1317
+ }, "strip", z.ZodTypeAny, {
1318
+ assets: number;
1319
+ frames: number;
1320
+ components: number;
1321
+ tokens: number;
1322
+ }, {
1323
+ assets?: number | null | undefined;
1324
+ frames?: number | null | undefined;
1325
+ components?: number | null | undefined;
1326
+ tokens?: number | null | undefined;
1327
+ }>;
1328
+ }, "strip", z.ZodTypeAny, {
1329
+ fileId: string;
1330
+ state: "Active" | "MissingIntegration" | "MissingFileAccess" | "MissingFileOwner";
1331
+ autoImportMode: "Never" | "Hourly";
1332
+ ownerId: string;
1333
+ stats: {
1334
+ assets: number;
1335
+ frames: number;
1336
+ components: number;
1337
+ tokens: number;
1338
+ };
1339
+ fileThumbnailUrl?: string | undefined;
1340
+ lastImportResult?: {
1341
+ frames: number;
1342
+ components: number;
1343
+ componentSets: number;
1344
+ tokensCreated: number;
1345
+ tokensUpdated: number;
1346
+ tokensDeleted: number;
1347
+ tokensCreatedPerType: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>;
1348
+ tokensUpdatedPerType: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>;
1349
+ tokensDeletedPerType: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>;
1350
+ componentsCreated: number;
1351
+ componentsUpdated: number;
1352
+ componentsDeleted: number;
1353
+ componentAssetsCreated: number;
1354
+ componentAssetsUpdated: number;
1355
+ componentAssetsDeleted: number;
1356
+ isFailed: boolean;
1357
+ warnings: {
1358
+ warningType: "NoVersionFound" | "UnsupportedFill" | "UnsupportedStroke" | "UnsupportedEffect" | "NoPublishedElements" | "NoPublishedStyles" | "NoPublishedComponents" | "NoPublishedAssets" | "StyleNotApplied" | "ComponentHasNoThumbnail" | "DuplicateImportedStyleId" | "DuplicateImportedStylePath" | "NoUnpublishedStyles";
1359
+ componentId?: string | undefined;
1360
+ componentName?: string | undefined;
1361
+ styleId?: string | undefined;
1362
+ styleName?: string | undefined;
1363
+ unsupportedStyleValueType?: string | undefined;
1364
+ }[];
1365
+ error?: any;
1366
+ sourceId?: string | undefined;
1367
+ brandId?: string | undefined;
1368
+ versionId?: string | undefined;
1369
+ } | null | undefined;
1370
+ lastImportedAt?: Date | null | undefined;
1371
+ lastImportedVersion?: {
1372
+ id: string;
1373
+ created_at: Date;
1374
+ label: string;
1375
+ description: string;
1376
+ } | null | undefined;
1377
+ lastUpdatesCheckedAt?: Date | null | undefined;
1378
+ ownerUserName?: string | undefined;
1379
+ preferredCredentialId?: string | undefined;
1380
+ }, {
1381
+ fileId: string;
1382
+ state: "Active" | "MissingIntegration" | "MissingFileAccess" | "MissingFileOwner";
1383
+ autoImportMode: "Never" | "Hourly";
1384
+ ownerId: string;
1385
+ stats: {
1386
+ assets?: number | null | undefined;
1387
+ frames?: number | null | undefined;
1388
+ components?: number | null | undefined;
1389
+ tokens?: number | null | undefined;
1390
+ };
1391
+ fileThumbnailUrl?: string | undefined;
1392
+ lastImportResult?: {
1393
+ isFailed: boolean;
1394
+ error?: any;
1395
+ sourceId?: string | null | undefined;
1396
+ brandId?: string | null | undefined;
1397
+ frames?: number | null | undefined;
1398
+ components?: number | null | undefined;
1399
+ componentSets?: number | null | undefined;
1400
+ tokensCreated?: number | null | undefined;
1401
+ tokensUpdated?: number | null | undefined;
1402
+ tokensDeleted?: number | null | undefined;
1403
+ tokensCreatedPerType?: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined;
1404
+ tokensUpdatedPerType?: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined;
1405
+ tokensDeletedPerType?: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined;
1406
+ componentsCreated?: number | null | undefined;
1407
+ componentsUpdated?: number | null | undefined;
1408
+ componentsDeleted?: number | null | undefined;
1409
+ componentAssetsCreated?: number | null | undefined;
1410
+ componentAssetsUpdated?: number | null | undefined;
1411
+ componentAssetsDeleted?: number | null | undefined;
1412
+ versionId?: string | null | undefined;
1413
+ warnings?: {
1414
+ warningType: "NoVersionFound" | "UnsupportedFill" | "UnsupportedStroke" | "UnsupportedEffect" | "NoPublishedElements" | "NoPublishedStyles" | "NoPublishedComponents" | "NoPublishedAssets" | "StyleNotApplied" | "ComponentHasNoThumbnail" | "DuplicateImportedStyleId" | "DuplicateImportedStylePath" | "NoUnpublishedStyles";
1415
+ componentId?: string | undefined;
1416
+ componentName?: string | undefined;
1417
+ styleId?: string | undefined;
1418
+ styleName?: string | undefined;
1419
+ unsupportedStyleValueType?: string | undefined;
1420
+ }[] | null | undefined;
1421
+ } | null | undefined;
1422
+ lastImportedAt?: Date | null | undefined;
1423
+ lastImportedVersion?: {
1424
+ id: string;
1425
+ created_at: Date;
1426
+ label: string;
1427
+ description: string;
1428
+ } | null | undefined;
1429
+ lastUpdatesCheckedAt?: Date | null | undefined;
1430
+ ownerUserName?: string | undefined;
1431
+ preferredCredentialId?: string | undefined;
1432
+ }>>>;
1433
+ tokenStudio: z.ZodLiteral<null>;
1434
+ upload: z.ZodLiteral<null>;
1435
+ figmaVariablesPlugin: z.ZodLiteral<null>;
1436
+ }, "strip", z.ZodTypeAny, {
1437
+ id: string;
1438
+ type: "Figma";
1439
+ fileName: string;
1440
+ scope: {
1441
+ assets: boolean;
1442
+ components: boolean;
1443
+ documentationFrames: boolean;
1444
+ tokens: boolean;
1445
+ isUnpublishedContentFallbackEnabled: boolean;
1446
+ themePersistentId?: string | undefined;
1447
+ };
1448
+ brandId: string;
1449
+ tokenStudio: null;
1450
+ upload: null;
1451
+ figmaVariablesPlugin: null;
1452
+ themeId?: string | null | undefined;
1453
+ cloud?: {
1454
+ fileId: string;
1455
+ state: "Active" | "MissingIntegration" | "MissingFileAccess" | "MissingFileOwner";
1456
+ autoImportMode: "Never" | "Hourly";
1457
+ ownerId: string;
1458
+ stats: {
1459
+ assets: number;
1460
+ frames: number;
1461
+ components: number;
1462
+ tokens: number;
1463
+ };
1464
+ fileThumbnailUrl?: string | undefined;
1465
+ lastImportResult?: {
1466
+ frames: number;
1467
+ components: number;
1468
+ componentSets: number;
1469
+ tokensCreated: number;
1470
+ tokensUpdated: number;
1471
+ tokensDeleted: number;
1472
+ tokensCreatedPerType: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>;
1473
+ tokensUpdatedPerType: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>;
1474
+ tokensDeletedPerType: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>;
1475
+ componentsCreated: number;
1476
+ componentsUpdated: number;
1477
+ componentsDeleted: number;
1478
+ componentAssetsCreated: number;
1479
+ componentAssetsUpdated: number;
1480
+ componentAssetsDeleted: number;
1481
+ isFailed: boolean;
1482
+ warnings: {
1483
+ warningType: "NoVersionFound" | "UnsupportedFill" | "UnsupportedStroke" | "UnsupportedEffect" | "NoPublishedElements" | "NoPublishedStyles" | "NoPublishedComponents" | "NoPublishedAssets" | "StyleNotApplied" | "ComponentHasNoThumbnail" | "DuplicateImportedStyleId" | "DuplicateImportedStylePath" | "NoUnpublishedStyles";
1484
+ componentId?: string | undefined;
1485
+ componentName?: string | undefined;
1486
+ styleId?: string | undefined;
1487
+ styleName?: string | undefined;
1488
+ unsupportedStyleValueType?: string | undefined;
1489
+ }[];
1490
+ error?: any;
1491
+ sourceId?: string | undefined;
1492
+ brandId?: string | undefined;
1493
+ versionId?: string | undefined;
1494
+ } | null | undefined;
1495
+ lastImportedAt?: Date | null | undefined;
1496
+ lastImportedVersion?: {
1497
+ id: string;
1498
+ created_at: Date;
1499
+ label: string;
1500
+ description: string;
1501
+ } | null | undefined;
1502
+ lastUpdatesCheckedAt?: Date | null | undefined;
1503
+ ownerUserName?: string | undefined;
1504
+ preferredCredentialId?: string | undefined;
1505
+ } | null | undefined;
1506
+ }, {
1507
+ id: string;
1508
+ type: "Figma";
1509
+ fileName: string;
1510
+ scope: {
1511
+ assets: boolean;
1512
+ components: boolean;
1513
+ documentationFrames: boolean;
1514
+ tokens: boolean;
1515
+ isUnpublishedContentFallbackEnabled: boolean;
1516
+ themePersistentId?: string | undefined;
1517
+ };
1518
+ brandId: string;
1519
+ tokenStudio: null;
1520
+ upload: null;
1521
+ figmaVariablesPlugin: null;
1522
+ themeId?: string | null | undefined;
1523
+ cloud?: {
1524
+ fileId: string;
1525
+ state: "Active" | "MissingIntegration" | "MissingFileAccess" | "MissingFileOwner";
1526
+ autoImportMode: "Never" | "Hourly";
1527
+ ownerId: string;
1528
+ stats: {
1529
+ assets?: number | null | undefined;
1530
+ frames?: number | null | undefined;
1531
+ components?: number | null | undefined;
1532
+ tokens?: number | null | undefined;
1533
+ };
1534
+ fileThumbnailUrl?: string | undefined;
1535
+ lastImportResult?: {
1536
+ isFailed: boolean;
1537
+ error?: any;
1538
+ sourceId?: string | null | undefined;
1539
+ brandId?: string | null | undefined;
1540
+ frames?: number | null | undefined;
1541
+ components?: number | null | undefined;
1542
+ componentSets?: number | null | undefined;
1543
+ tokensCreated?: number | null | undefined;
1544
+ tokensUpdated?: number | null | undefined;
1545
+ tokensDeleted?: number | null | undefined;
1546
+ tokensCreatedPerType?: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined;
1547
+ tokensUpdatedPerType?: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined;
1548
+ tokensDeletedPerType?: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined;
1549
+ componentsCreated?: number | null | undefined;
1550
+ componentsUpdated?: number | null | undefined;
1551
+ componentsDeleted?: number | null | undefined;
1552
+ componentAssetsCreated?: number | null | undefined;
1553
+ componentAssetsUpdated?: number | null | undefined;
1554
+ componentAssetsDeleted?: number | null | undefined;
1555
+ versionId?: string | null | undefined;
1556
+ warnings?: {
1557
+ warningType: "NoVersionFound" | "UnsupportedFill" | "UnsupportedStroke" | "UnsupportedEffect" | "NoPublishedElements" | "NoPublishedStyles" | "NoPublishedComponents" | "NoPublishedAssets" | "StyleNotApplied" | "ComponentHasNoThumbnail" | "DuplicateImportedStyleId" | "DuplicateImportedStylePath" | "NoUnpublishedStyles";
1558
+ componentId?: string | undefined;
1559
+ componentName?: string | undefined;
1560
+ styleId?: string | undefined;
1561
+ styleName?: string | undefined;
1562
+ unsupportedStyleValueType?: string | undefined;
1563
+ }[] | null | undefined;
1564
+ } | null | undefined;
1565
+ lastImportedAt?: Date | null | undefined;
1566
+ lastImportedVersion?: {
1567
+ id: string;
1568
+ created_at: Date;
1569
+ label: string;
1570
+ description: string;
1571
+ } | null | undefined;
1572
+ lastUpdatesCheckedAt?: Date | null | undefined;
1573
+ ownerUserName?: string | undefined;
1574
+ preferredCredentialId?: string | undefined;
1575
+ } | null | undefined;
1576
+ }>, z.ZodObject<{
1577
+ id: z.ZodString;
1578
+ type: z.ZodLiteral<"FigmaVariablesPlugin">;
1579
+ fileName: z.ZodString;
1580
+ brandId: z.ZodString;
1581
+ themeId: z.ZodLiteral<null>;
1582
+ cloud: z.ZodLiteral<null>;
1583
+ tokenStudio: z.ZodLiteral<null>;
1584
+ upload: z.ZodObject<{
1585
+ remoteId: z.ZodString;
1586
+ remoteSourceType: z.ZodEnum<["TokenStudio", "FigmaVariablesPlugin", "Custom"]>;
1587
+ lastImportedAt: z.ZodOptional<z.ZodDate>;
1588
+ lastImportMetadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1589
+ }, "strip", z.ZodTypeAny, {
1590
+ remoteId: string;
1591
+ remoteSourceType: "TokenStudio" | "FigmaVariablesPlugin" | "Custom";
1592
+ lastImportedAt?: Date | undefined;
1593
+ lastImportMetadata?: Record<string, any> | undefined;
1594
+ }, {
1595
+ remoteId: string;
1596
+ remoteSourceType: "TokenStudio" | "FigmaVariablesPlugin" | "Custom";
1597
+ lastImportedAt?: Date | undefined;
1598
+ lastImportMetadata?: Record<string, any> | undefined;
1599
+ }>;
1600
+ figmaVariablesPlugin: z.ZodObject<{
1601
+ fileId: z.ZodString;
1602
+ lastImportedAt: z.ZodOptional<z.ZodDate>;
1603
+ lastImportMetadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
1604
+ }, "strip", z.ZodTypeAny, {
1605
+ fileId: string;
1606
+ lastImportedAt?: Date | undefined;
1607
+ lastImportMetadata?: Record<string, any> | undefined;
1608
+ }, {
1609
+ fileId: string;
1610
+ lastImportedAt?: Date | undefined;
1611
+ lastImportMetadata?: Record<string, any> | undefined;
1612
+ }>;
1613
+ }, "strip", z.ZodTypeAny, {
1614
+ id: string;
1615
+ type: "FigmaVariablesPlugin";
1616
+ fileName: string;
1617
+ brandId: string;
1618
+ themeId: null;
1619
+ cloud: null;
1620
+ tokenStudio: null;
1621
+ upload: {
1622
+ remoteId: string;
1623
+ remoteSourceType: "TokenStudio" | "FigmaVariablesPlugin" | "Custom";
1624
+ lastImportedAt?: Date | undefined;
1625
+ lastImportMetadata?: Record<string, any> | undefined;
1626
+ };
1627
+ figmaVariablesPlugin: {
1628
+ fileId: string;
1629
+ lastImportedAt?: Date | undefined;
1630
+ lastImportMetadata?: Record<string, any> | undefined;
1631
+ };
1632
+ }, {
1633
+ id: string;
1634
+ type: "FigmaVariablesPlugin";
1635
+ fileName: string;
1636
+ brandId: string;
1637
+ themeId: null;
1638
+ cloud: null;
1639
+ tokenStudio: null;
1640
+ upload: {
1641
+ remoteId: string;
1642
+ remoteSourceType: "TokenStudio" | "FigmaVariablesPlugin" | "Custom";
1643
+ lastImportedAt?: Date | undefined;
1644
+ lastImportMetadata?: Record<string, any> | undefined;
1645
+ };
1646
+ figmaVariablesPlugin: {
1647
+ fileId: string;
1648
+ lastImportedAt?: Date | undefined;
1649
+ lastImportMetadata?: Record<string, any> | undefined;
1650
+ };
1651
+ }>, z.ZodObject<{
1652
+ id: z.ZodString;
1653
+ type: z.ZodLiteral<"TokenStudio">;
1654
+ fileName: z.ZodString;
1655
+ brandId: z.ZodString;
1656
+ themeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1657
+ cloud: z.ZodLiteral<null>;
1658
+ tokenStudio: z.ZodObject<{
1659
+ settings: z.ZodObject<{
1660
+ dryRun: z.ZodBoolean;
1661
+ verbose: z.ZodBoolean;
1662
+ preciseCopy: z.ZodBoolean;
1663
+ }, "strip", z.ZodTypeAny, {
1664
+ dryRun: boolean;
1665
+ verbose: boolean;
1666
+ preciseCopy: boolean;
1667
+ }, {
1668
+ dryRun: boolean;
1669
+ verbose: boolean;
1670
+ preciseCopy: boolean;
1671
+ }>;
1672
+ connectionName: z.ZodString;
1673
+ lastImportedAt: z.ZodDate;
1674
+ lastImportedResults: z.ZodArray<z.ZodObject<{
1675
+ mapping: z.ZodObject<{
1676
+ tokenSets: z.ZodArray<z.ZodString, "many">;
1677
+ supernovaBrand: z.ZodString;
1678
+ supernovaTheme: z.ZodOptional<z.ZodString>;
1679
+ }, "strip", z.ZodTypeAny, {
1680
+ tokenSets: string[];
1681
+ supernovaBrand: string;
1682
+ supernovaTheme?: string | undefined;
1683
+ }, {
1684
+ tokenSets: string[];
1685
+ supernovaBrand: string;
1686
+ supernovaTheme?: string | undefined;
1687
+ }>;
1688
+ isFailed: z.ZodBoolean;
1689
+ tokensCreated: z.ZodNumber;
1690
+ tokensDeleted: z.ZodNumber;
1691
+ tokensUpdated: z.ZodNumber;
1692
+ }, "strip", z.ZodTypeAny, {
1693
+ mapping: {
1694
+ tokenSets: string[];
1695
+ supernovaBrand: string;
1696
+ supernovaTheme?: string | undefined;
1697
+ };
1698
+ isFailed: boolean;
1699
+ tokensCreated: number;
1700
+ tokensDeleted: number;
1701
+ tokensUpdated: number;
1702
+ }, {
1703
+ mapping: {
1704
+ tokenSets: string[];
1705
+ supernovaBrand: string;
1706
+ supernovaTheme?: string | undefined;
1707
+ };
1708
+ isFailed: boolean;
1709
+ tokensCreated: number;
1710
+ tokensDeleted: number;
1711
+ tokensUpdated: number;
1712
+ }>, "many">;
1713
+ }, "strip", z.ZodTypeAny, {
1714
+ lastImportedAt: Date;
1715
+ settings: {
1716
+ dryRun: boolean;
1717
+ verbose: boolean;
1718
+ preciseCopy: boolean;
1719
+ };
1720
+ connectionName: string;
1721
+ lastImportedResults: {
1722
+ mapping: {
1723
+ tokenSets: string[];
1724
+ supernovaBrand: string;
1725
+ supernovaTheme?: string | undefined;
1726
+ };
1727
+ isFailed: boolean;
1728
+ tokensCreated: number;
1729
+ tokensDeleted: number;
1730
+ tokensUpdated: number;
1731
+ }[];
1732
+ }, {
1733
+ lastImportedAt: Date;
1734
+ settings: {
1735
+ dryRun: boolean;
1736
+ verbose: boolean;
1737
+ preciseCopy: boolean;
1738
+ };
1739
+ connectionName: string;
1740
+ lastImportedResults: {
1741
+ mapping: {
1742
+ tokenSets: string[];
1743
+ supernovaBrand: string;
1744
+ supernovaTheme?: string | undefined;
1745
+ };
1746
+ isFailed: boolean;
1747
+ tokensCreated: number;
1748
+ tokensDeleted: number;
1749
+ tokensUpdated: number;
1750
+ }[];
1751
+ }>;
1752
+ upload: z.ZodLiteral<null>;
1753
+ figmaVariablesPlugin: z.ZodLiteral<null>;
1754
+ }, "strip", z.ZodTypeAny, {
1755
+ id: string;
1756
+ type: "TokenStudio";
1757
+ fileName: string;
1758
+ brandId: string;
1759
+ cloud: null;
1760
+ tokenStudio: {
1761
+ lastImportedAt: Date;
1762
+ settings: {
1763
+ dryRun: boolean;
1764
+ verbose: boolean;
1765
+ preciseCopy: boolean;
1766
+ };
1767
+ connectionName: string;
1768
+ lastImportedResults: {
1769
+ mapping: {
1770
+ tokenSets: string[];
1771
+ supernovaBrand: string;
1772
+ supernovaTheme?: string | undefined;
1773
+ };
1774
+ isFailed: boolean;
1775
+ tokensCreated: number;
1776
+ tokensDeleted: number;
1777
+ tokensUpdated: number;
1778
+ }[];
1779
+ };
1780
+ upload: null;
1781
+ figmaVariablesPlugin: null;
1782
+ themeId?: string | null | undefined;
1783
+ }, {
1784
+ id: string;
1785
+ type: "TokenStudio";
1786
+ fileName: string;
1787
+ brandId: string;
1788
+ cloud: null;
1789
+ tokenStudio: {
1790
+ lastImportedAt: Date;
1791
+ settings: {
1792
+ dryRun: boolean;
1793
+ verbose: boolean;
1794
+ preciseCopy: boolean;
1795
+ };
1796
+ connectionName: string;
1797
+ lastImportedResults: {
1798
+ mapping: {
1799
+ tokenSets: string[];
1800
+ supernovaBrand: string;
1801
+ supernovaTheme?: string | undefined;
1802
+ };
1803
+ isFailed: boolean;
1804
+ tokensCreated: number;
1805
+ tokensDeleted: number;
1806
+ tokensUpdated: number;
1807
+ }[];
1808
+ };
1809
+ upload: null;
1810
+ figmaVariablesPlugin: null;
1811
+ themeId?: string | null | undefined;
1812
+ }>]>;
1813
+ type DTODataSource = z.infer<typeof DTODataSource>;
1814
+ declare const DTODataSourceCreationResponse: z.ZodObject<{
1815
+ source: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1816
+ id: z.ZodString;
1817
+ type: z.ZodLiteral<"Figma">;
1818
+ fileName: z.ZodString;
1819
+ scope: z.ZodObject<{
1820
+ assets: z.ZodBoolean;
1821
+ components: z.ZodBoolean;
1822
+ documentationFrames: z.ZodBoolean;
1823
+ tokens: z.ZodBoolean;
1824
+ themePersistentId: z.ZodOptional<z.ZodString>;
1825
+ isUnpublishedContentFallbackEnabled: z.ZodBoolean;
1826
+ }, "strip", z.ZodTypeAny, {
1827
+ assets: boolean;
1828
+ components: boolean;
1829
+ documentationFrames: boolean;
1830
+ tokens: boolean;
1831
+ isUnpublishedContentFallbackEnabled: boolean;
1832
+ themePersistentId?: string | undefined;
1833
+ }, {
1834
+ assets: boolean;
1835
+ components: boolean;
1836
+ documentationFrames: boolean;
1837
+ tokens: boolean;
1838
+ isUnpublishedContentFallbackEnabled: boolean;
1839
+ themePersistentId?: string | undefined;
1840
+ }>;
1841
+ brandId: z.ZodString;
1842
+ themeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1843
+ cloud: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1844
+ fileId: z.ZodString;
1845
+ state: z.ZodEnum<["Active", "MissingIntegration", "MissingFileAccess", "MissingFileOwner"]>;
1846
+ autoImportMode: z.ZodEnum<["Never", "Hourly"]>;
1847
+ fileThumbnailUrl: z.ZodOptional<z.ZodString>;
1848
+ lastImportResult: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1849
+ frames: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
1850
+ components: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
1851
+ componentSets: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
1852
+ componentsCreated: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
1853
+ componentsUpdated: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
1854
+ componentsDeleted: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
1855
+ componentAssetsCreated: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
1856
+ componentAssetsUpdated: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
1857
+ componentAssetsDeleted: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
1858
+ tokensCreated: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
1859
+ tokensUpdated: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
1860
+ tokensDeleted: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
1861
+ tokensCreatedPerType: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodUnion<[z.ZodEnum<["Color", "Border", "Gradient", "Shadow", "Dimension", "Duration", "Size", "Space", "Opacity", "FontSize", "LineHeight", "LetterSpacing", "ParagraphSpacing", "BorderWidth", "BorderRadius", "Duration", "ZIndex", "Image", "String", "ProductCopy", "FontFamily", "FontWeight", "TextDecoration", "TextCase", "Visibility", "Typography", "Blur", "Font"]>, z.ZodEnum<["Measure", "Radius", "GenericToken", "Font", "Text"]>]>, z.ZodNumber>>>, Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>, Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined>;
1862
+ tokensUpdatedPerType: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodUnion<[z.ZodEnum<["Color", "Border", "Gradient", "Shadow", "Dimension", "Duration", "Size", "Space", "Opacity", "FontSize", "LineHeight", "LetterSpacing", "ParagraphSpacing", "BorderWidth", "BorderRadius", "Duration", "ZIndex", "Image", "String", "ProductCopy", "FontFamily", "FontWeight", "TextDecoration", "TextCase", "Visibility", "Typography", "Blur", "Font"]>, z.ZodEnum<["Measure", "Radius", "GenericToken", "Font", "Text"]>]>, z.ZodNumber>>>, Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>, Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined>;
1863
+ tokensDeletedPerType: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodUnion<[z.ZodEnum<["Color", "Border", "Gradient", "Shadow", "Dimension", "Duration", "Size", "Space", "Opacity", "FontSize", "LineHeight", "LetterSpacing", "ParagraphSpacing", "BorderWidth", "BorderRadius", "Duration", "ZIndex", "Image", "String", "ProductCopy", "FontFamily", "FontWeight", "TextDecoration", "TextCase", "Visibility", "Typography", "Blur", "Font"]>, z.ZodEnum<["Measure", "Radius", "GenericToken", "Font", "Text"]>]>, z.ZodNumber>>>, Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>, Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined>;
1864
+ sourceId: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
1865
+ brandId: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
1866
+ versionId: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
1867
+ error: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<any, z.ZodTypeDef, any>>>, any, any>;
1868
+ isFailed: z.ZodBoolean;
1869
+ warnings: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
1870
+ warningType: z.ZodEnum<["NoVersionFound", "UnsupportedFill", "UnsupportedStroke", "UnsupportedEffect", "NoPublishedElements", "NoPublishedStyles", "NoPublishedComponents", "NoPublishedAssets", "StyleNotApplied", "ComponentHasNoThumbnail", "DuplicateImportedStyleId", "DuplicateImportedStylePath", "NoUnpublishedStyles"]>;
1871
+ componentId: z.ZodOptional<z.ZodString>;
1872
+ componentName: z.ZodOptional<z.ZodString>;
1873
+ styleId: z.ZodOptional<z.ZodString>;
1874
+ styleName: z.ZodOptional<z.ZodString>;
1875
+ unsupportedStyleValueType: z.ZodOptional<z.ZodString>;
1876
+ }, "strip", z.ZodTypeAny, {
1877
+ warningType: "NoVersionFound" | "UnsupportedFill" | "UnsupportedStroke" | "UnsupportedEffect" | "NoPublishedElements" | "NoPublishedStyles" | "NoPublishedComponents" | "NoPublishedAssets" | "StyleNotApplied" | "ComponentHasNoThumbnail" | "DuplicateImportedStyleId" | "DuplicateImportedStylePath" | "NoUnpublishedStyles";
1878
+ componentId?: string | undefined;
1879
+ componentName?: string | undefined;
1880
+ styleId?: string | undefined;
1881
+ styleName?: string | undefined;
1882
+ unsupportedStyleValueType?: string | undefined;
1883
+ }, {
1884
+ warningType: "NoVersionFound" | "UnsupportedFill" | "UnsupportedStroke" | "UnsupportedEffect" | "NoPublishedElements" | "NoPublishedStyles" | "NoPublishedComponents" | "NoPublishedAssets" | "StyleNotApplied" | "ComponentHasNoThumbnail" | "DuplicateImportedStyleId" | "DuplicateImportedStylePath" | "NoUnpublishedStyles";
1885
+ componentId?: string | undefined;
1886
+ componentName?: string | undefined;
1887
+ styleId?: string | undefined;
1888
+ styleName?: string | undefined;
1889
+ unsupportedStyleValueType?: string | undefined;
1890
+ }>, "many">>>, {
1891
+ warningType: "NoVersionFound" | "UnsupportedFill" | "UnsupportedStroke" | "UnsupportedEffect" | "NoPublishedElements" | "NoPublishedStyles" | "NoPublishedComponents" | "NoPublishedAssets" | "StyleNotApplied" | "ComponentHasNoThumbnail" | "DuplicateImportedStyleId" | "DuplicateImportedStylePath" | "NoUnpublishedStyles";
1892
+ componentId?: string | undefined;
1893
+ componentName?: string | undefined;
1894
+ styleId?: string | undefined;
1895
+ styleName?: string | undefined;
1896
+ unsupportedStyleValueType?: string | undefined;
1897
+ }[], {
1898
+ warningType: "NoVersionFound" | "UnsupportedFill" | "UnsupportedStroke" | "UnsupportedEffect" | "NoPublishedElements" | "NoPublishedStyles" | "NoPublishedComponents" | "NoPublishedAssets" | "StyleNotApplied" | "ComponentHasNoThumbnail" | "DuplicateImportedStyleId" | "DuplicateImportedStylePath" | "NoUnpublishedStyles";
1899
+ componentId?: string | undefined;
1900
+ componentName?: string | undefined;
1901
+ styleId?: string | undefined;
1902
+ styleName?: string | undefined;
1903
+ unsupportedStyleValueType?: string | undefined;
1904
+ }[] | null | undefined>;
1905
+ }, "strip", z.ZodTypeAny, {
1906
+ frames: number;
1907
+ components: number;
1908
+ componentSets: number;
1909
+ tokensCreated: number;
1910
+ tokensUpdated: number;
1911
+ tokensDeleted: number;
1912
+ tokensCreatedPerType: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>;
1913
+ tokensUpdatedPerType: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>;
1914
+ tokensDeletedPerType: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>;
1915
+ componentsCreated: number;
1916
+ componentsUpdated: number;
1917
+ componentsDeleted: number;
1918
+ componentAssetsCreated: number;
1919
+ componentAssetsUpdated: number;
1920
+ componentAssetsDeleted: number;
1921
+ isFailed: boolean;
1922
+ warnings: {
1923
+ warningType: "NoVersionFound" | "UnsupportedFill" | "UnsupportedStroke" | "UnsupportedEffect" | "NoPublishedElements" | "NoPublishedStyles" | "NoPublishedComponents" | "NoPublishedAssets" | "StyleNotApplied" | "ComponentHasNoThumbnail" | "DuplicateImportedStyleId" | "DuplicateImportedStylePath" | "NoUnpublishedStyles";
1924
+ componentId?: string | undefined;
1925
+ componentName?: string | undefined;
1926
+ styleId?: string | undefined;
1927
+ styleName?: string | undefined;
1928
+ unsupportedStyleValueType?: string | undefined;
1929
+ }[];
1930
+ error?: any;
1931
+ sourceId?: string | undefined;
1932
+ brandId?: string | undefined;
1933
+ versionId?: string | undefined;
1934
+ }, {
1935
+ isFailed: boolean;
1936
+ error?: any;
1937
+ sourceId?: string | null | undefined;
1938
+ brandId?: string | null | undefined;
1939
+ frames?: number | null | undefined;
1940
+ components?: number | null | undefined;
1941
+ componentSets?: number | null | undefined;
1942
+ tokensCreated?: number | null | undefined;
1943
+ tokensUpdated?: number | null | undefined;
1944
+ tokensDeleted?: number | null | undefined;
1945
+ tokensCreatedPerType?: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined;
1946
+ tokensUpdatedPerType?: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined;
1947
+ tokensDeletedPerType?: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined;
1948
+ componentsCreated?: number | null | undefined;
1949
+ componentsUpdated?: number | null | undefined;
1950
+ componentsDeleted?: number | null | undefined;
1951
+ componentAssetsCreated?: number | null | undefined;
1952
+ componentAssetsUpdated?: number | null | undefined;
1953
+ componentAssetsDeleted?: number | null | undefined;
1954
+ versionId?: string | null | undefined;
1955
+ warnings?: {
1956
+ warningType: "NoVersionFound" | "UnsupportedFill" | "UnsupportedStroke" | "UnsupportedEffect" | "NoPublishedElements" | "NoPublishedStyles" | "NoPublishedComponents" | "NoPublishedAssets" | "StyleNotApplied" | "ComponentHasNoThumbnail" | "DuplicateImportedStyleId" | "DuplicateImportedStylePath" | "NoUnpublishedStyles";
1957
+ componentId?: string | undefined;
1958
+ componentName?: string | undefined;
1959
+ styleId?: string | undefined;
1960
+ styleName?: string | undefined;
1961
+ unsupportedStyleValueType?: string | undefined;
1962
+ }[] | null | undefined;
1963
+ }>>>;
1964
+ lastImportedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1965
+ lastImportedVersion: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1966
+ id: z.ZodString;
1967
+ created_at: z.ZodDate;
1968
+ label: z.ZodString;
1969
+ description: z.ZodString;
1970
+ }, "strip", z.ZodTypeAny, {
1971
+ id: string;
1972
+ created_at: Date;
1973
+ label: string;
1974
+ description: string;
1975
+ }, {
1976
+ id: string;
1977
+ created_at: Date;
1978
+ label: string;
1979
+ description: string;
1980
+ }>>>;
1981
+ lastUpdatesCheckedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
1982
+ ownerId: z.ZodString;
1983
+ ownerUserName: z.ZodOptional<z.ZodString>;
1984
+ preferredCredentialId: z.ZodOptional<z.ZodString>;
1985
+ stats: z.ZodObject<{
1986
+ tokens: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
1987
+ components: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
1988
+ assets: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
1989
+ frames: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
1990
+ }, "strip", z.ZodTypeAny, {
1991
+ assets: number;
1992
+ frames: number;
1993
+ components: number;
1994
+ tokens: number;
1995
+ }, {
1996
+ assets?: number | null | undefined;
1997
+ frames?: number | null | undefined;
1998
+ components?: number | null | undefined;
1999
+ tokens?: number | null | undefined;
2000
+ }>;
2001
+ }, "strip", z.ZodTypeAny, {
2002
+ fileId: string;
2003
+ state: "Active" | "MissingIntegration" | "MissingFileAccess" | "MissingFileOwner";
2004
+ autoImportMode: "Never" | "Hourly";
2005
+ ownerId: string;
2006
+ stats: {
2007
+ assets: number;
2008
+ frames: number;
2009
+ components: number;
2010
+ tokens: number;
2011
+ };
2012
+ fileThumbnailUrl?: string | undefined;
2013
+ lastImportResult?: {
2014
+ frames: number;
2015
+ components: number;
2016
+ componentSets: number;
2017
+ tokensCreated: number;
2018
+ tokensUpdated: number;
2019
+ tokensDeleted: number;
2020
+ tokensCreatedPerType: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>;
2021
+ tokensUpdatedPerType: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>;
2022
+ tokensDeletedPerType: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>;
2023
+ componentsCreated: number;
2024
+ componentsUpdated: number;
2025
+ componentsDeleted: number;
2026
+ componentAssetsCreated: number;
2027
+ componentAssetsUpdated: number;
2028
+ componentAssetsDeleted: number;
2029
+ isFailed: boolean;
2030
+ warnings: {
2031
+ warningType: "NoVersionFound" | "UnsupportedFill" | "UnsupportedStroke" | "UnsupportedEffect" | "NoPublishedElements" | "NoPublishedStyles" | "NoPublishedComponents" | "NoPublishedAssets" | "StyleNotApplied" | "ComponentHasNoThumbnail" | "DuplicateImportedStyleId" | "DuplicateImportedStylePath" | "NoUnpublishedStyles";
2032
+ componentId?: string | undefined;
2033
+ componentName?: string | undefined;
2034
+ styleId?: string | undefined;
2035
+ styleName?: string | undefined;
2036
+ unsupportedStyleValueType?: string | undefined;
2037
+ }[];
2038
+ error?: any;
2039
+ sourceId?: string | undefined;
2040
+ brandId?: string | undefined;
2041
+ versionId?: string | undefined;
2042
+ } | null | undefined;
2043
+ lastImportedAt?: Date | null | undefined;
2044
+ lastImportedVersion?: {
2045
+ id: string;
2046
+ created_at: Date;
2047
+ label: string;
2048
+ description: string;
2049
+ } | null | undefined;
2050
+ lastUpdatesCheckedAt?: Date | null | undefined;
2051
+ ownerUserName?: string | undefined;
2052
+ preferredCredentialId?: string | undefined;
2053
+ }, {
2054
+ fileId: string;
2055
+ state: "Active" | "MissingIntegration" | "MissingFileAccess" | "MissingFileOwner";
2056
+ autoImportMode: "Never" | "Hourly";
2057
+ ownerId: string;
2058
+ stats: {
2059
+ assets?: number | null | undefined;
2060
+ frames?: number | null | undefined;
2061
+ components?: number | null | undefined;
2062
+ tokens?: number | null | undefined;
2063
+ };
2064
+ fileThumbnailUrl?: string | undefined;
2065
+ lastImportResult?: {
2066
+ isFailed: boolean;
2067
+ error?: any;
2068
+ sourceId?: string | null | undefined;
2069
+ brandId?: string | null | undefined;
2070
+ frames?: number | null | undefined;
2071
+ components?: number | null | undefined;
2072
+ componentSets?: number | null | undefined;
2073
+ tokensCreated?: number | null | undefined;
2074
+ tokensUpdated?: number | null | undefined;
2075
+ tokensDeleted?: number | null | undefined;
2076
+ tokensCreatedPerType?: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined;
2077
+ tokensUpdatedPerType?: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined;
2078
+ tokensDeletedPerType?: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined;
2079
+ componentsCreated?: number | null | undefined;
2080
+ componentsUpdated?: number | null | undefined;
2081
+ componentsDeleted?: number | null | undefined;
2082
+ componentAssetsCreated?: number | null | undefined;
2083
+ componentAssetsUpdated?: number | null | undefined;
2084
+ componentAssetsDeleted?: number | null | undefined;
2085
+ versionId?: string | null | undefined;
2086
+ warnings?: {
2087
+ warningType: "NoVersionFound" | "UnsupportedFill" | "UnsupportedStroke" | "UnsupportedEffect" | "NoPublishedElements" | "NoPublishedStyles" | "NoPublishedComponents" | "NoPublishedAssets" | "StyleNotApplied" | "ComponentHasNoThumbnail" | "DuplicateImportedStyleId" | "DuplicateImportedStylePath" | "NoUnpublishedStyles";
2088
+ componentId?: string | undefined;
2089
+ componentName?: string | undefined;
2090
+ styleId?: string | undefined;
2091
+ styleName?: string | undefined;
2092
+ unsupportedStyleValueType?: string | undefined;
2093
+ }[] | null | undefined;
2094
+ } | null | undefined;
2095
+ lastImportedAt?: Date | null | undefined;
2096
+ lastImportedVersion?: {
2097
+ id: string;
2098
+ created_at: Date;
2099
+ label: string;
2100
+ description: string;
2101
+ } | null | undefined;
2102
+ lastUpdatesCheckedAt?: Date | null | undefined;
2103
+ ownerUserName?: string | undefined;
2104
+ preferredCredentialId?: string | undefined;
2105
+ }>>>;
2106
+ tokenStudio: z.ZodLiteral<null>;
2107
+ upload: z.ZodLiteral<null>;
2108
+ figmaVariablesPlugin: z.ZodLiteral<null>;
2109
+ }, "strip", z.ZodTypeAny, {
2110
+ id: string;
2111
+ type: "Figma";
2112
+ fileName: string;
2113
+ scope: {
2114
+ assets: boolean;
2115
+ components: boolean;
2116
+ documentationFrames: boolean;
2117
+ tokens: boolean;
2118
+ isUnpublishedContentFallbackEnabled: boolean;
2119
+ themePersistentId?: string | undefined;
2120
+ };
2121
+ brandId: string;
2122
+ tokenStudio: null;
2123
+ upload: null;
2124
+ figmaVariablesPlugin: null;
2125
+ themeId?: string | null | undefined;
2126
+ cloud?: {
2127
+ fileId: string;
2128
+ state: "Active" | "MissingIntegration" | "MissingFileAccess" | "MissingFileOwner";
2129
+ autoImportMode: "Never" | "Hourly";
2130
+ ownerId: string;
2131
+ stats: {
2132
+ assets: number;
2133
+ frames: number;
2134
+ components: number;
2135
+ tokens: number;
2136
+ };
2137
+ fileThumbnailUrl?: string | undefined;
2138
+ lastImportResult?: {
2139
+ frames: number;
2140
+ components: number;
2141
+ componentSets: number;
2142
+ tokensCreated: number;
2143
+ tokensUpdated: number;
2144
+ tokensDeleted: number;
2145
+ tokensCreatedPerType: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>;
2146
+ tokensUpdatedPerType: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>;
2147
+ tokensDeletedPerType: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>;
2148
+ componentsCreated: number;
2149
+ componentsUpdated: number;
2150
+ componentsDeleted: number;
2151
+ componentAssetsCreated: number;
2152
+ componentAssetsUpdated: number;
2153
+ componentAssetsDeleted: number;
2154
+ isFailed: boolean;
2155
+ warnings: {
2156
+ warningType: "NoVersionFound" | "UnsupportedFill" | "UnsupportedStroke" | "UnsupportedEffect" | "NoPublishedElements" | "NoPublishedStyles" | "NoPublishedComponents" | "NoPublishedAssets" | "StyleNotApplied" | "ComponentHasNoThumbnail" | "DuplicateImportedStyleId" | "DuplicateImportedStylePath" | "NoUnpublishedStyles";
2157
+ componentId?: string | undefined;
2158
+ componentName?: string | undefined;
2159
+ styleId?: string | undefined;
2160
+ styleName?: string | undefined;
2161
+ unsupportedStyleValueType?: string | undefined;
2162
+ }[];
2163
+ error?: any;
2164
+ sourceId?: string | undefined;
2165
+ brandId?: string | undefined;
2166
+ versionId?: string | undefined;
2167
+ } | null | undefined;
2168
+ lastImportedAt?: Date | null | undefined;
2169
+ lastImportedVersion?: {
2170
+ id: string;
2171
+ created_at: Date;
2172
+ label: string;
2173
+ description: string;
2174
+ } | null | undefined;
2175
+ lastUpdatesCheckedAt?: Date | null | undefined;
2176
+ ownerUserName?: string | undefined;
2177
+ preferredCredentialId?: string | undefined;
2178
+ } | null | undefined;
2179
+ }, {
2180
+ id: string;
2181
+ type: "Figma";
2182
+ fileName: string;
2183
+ scope: {
2184
+ assets: boolean;
2185
+ components: boolean;
2186
+ documentationFrames: boolean;
2187
+ tokens: boolean;
2188
+ isUnpublishedContentFallbackEnabled: boolean;
2189
+ themePersistentId?: string | undefined;
2190
+ };
2191
+ brandId: string;
2192
+ tokenStudio: null;
2193
+ upload: null;
2194
+ figmaVariablesPlugin: null;
2195
+ themeId?: string | null | undefined;
2196
+ cloud?: {
2197
+ fileId: string;
2198
+ state: "Active" | "MissingIntegration" | "MissingFileAccess" | "MissingFileOwner";
2199
+ autoImportMode: "Never" | "Hourly";
2200
+ ownerId: string;
2201
+ stats: {
2202
+ assets?: number | null | undefined;
2203
+ frames?: number | null | undefined;
2204
+ components?: number | null | undefined;
2205
+ tokens?: number | null | undefined;
2206
+ };
2207
+ fileThumbnailUrl?: string | undefined;
2208
+ lastImportResult?: {
2209
+ isFailed: boolean;
2210
+ error?: any;
2211
+ sourceId?: string | null | undefined;
2212
+ brandId?: string | null | undefined;
2213
+ frames?: number | null | undefined;
2214
+ components?: number | null | undefined;
2215
+ componentSets?: number | null | undefined;
2216
+ tokensCreated?: number | null | undefined;
2217
+ tokensUpdated?: number | null | undefined;
2218
+ tokensDeleted?: number | null | undefined;
2219
+ tokensCreatedPerType?: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined;
2220
+ tokensUpdatedPerType?: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined;
2221
+ tokensDeletedPerType?: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined;
2222
+ componentsCreated?: number | null | undefined;
2223
+ componentsUpdated?: number | null | undefined;
2224
+ componentsDeleted?: number | null | undefined;
2225
+ componentAssetsCreated?: number | null | undefined;
2226
+ componentAssetsUpdated?: number | null | undefined;
2227
+ componentAssetsDeleted?: number | null | undefined;
2228
+ versionId?: string | null | undefined;
2229
+ warnings?: {
2230
+ warningType: "NoVersionFound" | "UnsupportedFill" | "UnsupportedStroke" | "UnsupportedEffect" | "NoPublishedElements" | "NoPublishedStyles" | "NoPublishedComponents" | "NoPublishedAssets" | "StyleNotApplied" | "ComponentHasNoThumbnail" | "DuplicateImportedStyleId" | "DuplicateImportedStylePath" | "NoUnpublishedStyles";
2231
+ componentId?: string | undefined;
2232
+ componentName?: string | undefined;
2233
+ styleId?: string | undefined;
2234
+ styleName?: string | undefined;
2235
+ unsupportedStyleValueType?: string | undefined;
2236
+ }[] | null | undefined;
2237
+ } | null | undefined;
2238
+ lastImportedAt?: Date | null | undefined;
2239
+ lastImportedVersion?: {
2240
+ id: string;
2241
+ created_at: Date;
2242
+ label: string;
2243
+ description: string;
2244
+ } | null | undefined;
2245
+ lastUpdatesCheckedAt?: Date | null | undefined;
2246
+ ownerUserName?: string | undefined;
2247
+ preferredCredentialId?: string | undefined;
2248
+ } | null | undefined;
2249
+ }>, z.ZodObject<{
2250
+ id: z.ZodString;
2251
+ type: z.ZodLiteral<"FigmaVariablesPlugin">;
2252
+ fileName: z.ZodString;
2253
+ brandId: z.ZodString;
2254
+ themeId: z.ZodLiteral<null>;
2255
+ cloud: z.ZodLiteral<null>;
2256
+ tokenStudio: z.ZodLiteral<null>;
2257
+ upload: z.ZodObject<{
2258
+ remoteId: z.ZodString;
2259
+ remoteSourceType: z.ZodEnum<["TokenStudio", "FigmaVariablesPlugin", "Custom"]>;
2260
+ lastImportedAt: z.ZodOptional<z.ZodDate>;
2261
+ lastImportMetadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2262
+ }, "strip", z.ZodTypeAny, {
2263
+ remoteId: string;
2264
+ remoteSourceType: "TokenStudio" | "FigmaVariablesPlugin" | "Custom";
2265
+ lastImportedAt?: Date | undefined;
2266
+ lastImportMetadata?: Record<string, any> | undefined;
2267
+ }, {
2268
+ remoteId: string;
2269
+ remoteSourceType: "TokenStudio" | "FigmaVariablesPlugin" | "Custom";
2270
+ lastImportedAt?: Date | undefined;
2271
+ lastImportMetadata?: Record<string, any> | undefined;
2272
+ }>;
2273
+ figmaVariablesPlugin: z.ZodObject<{
2274
+ fileId: z.ZodString;
2275
+ lastImportedAt: z.ZodOptional<z.ZodDate>;
2276
+ lastImportMetadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
2277
+ }, "strip", z.ZodTypeAny, {
2278
+ fileId: string;
2279
+ lastImportedAt?: Date | undefined;
2280
+ lastImportMetadata?: Record<string, any> | undefined;
2281
+ }, {
2282
+ fileId: string;
2283
+ lastImportedAt?: Date | undefined;
2284
+ lastImportMetadata?: Record<string, any> | undefined;
2285
+ }>;
2286
+ }, "strip", z.ZodTypeAny, {
2287
+ id: string;
2288
+ type: "FigmaVariablesPlugin";
2289
+ fileName: string;
2290
+ brandId: string;
2291
+ themeId: null;
2292
+ cloud: null;
2293
+ tokenStudio: null;
2294
+ upload: {
2295
+ remoteId: string;
2296
+ remoteSourceType: "TokenStudio" | "FigmaVariablesPlugin" | "Custom";
2297
+ lastImportedAt?: Date | undefined;
2298
+ lastImportMetadata?: Record<string, any> | undefined;
2299
+ };
2300
+ figmaVariablesPlugin: {
2301
+ fileId: string;
2302
+ lastImportedAt?: Date | undefined;
2303
+ lastImportMetadata?: Record<string, any> | undefined;
2304
+ };
2305
+ }, {
2306
+ id: string;
2307
+ type: "FigmaVariablesPlugin";
2308
+ fileName: string;
2309
+ brandId: string;
2310
+ themeId: null;
2311
+ cloud: null;
2312
+ tokenStudio: null;
2313
+ upload: {
2314
+ remoteId: string;
2315
+ remoteSourceType: "TokenStudio" | "FigmaVariablesPlugin" | "Custom";
2316
+ lastImportedAt?: Date | undefined;
2317
+ lastImportMetadata?: Record<string, any> | undefined;
2318
+ };
2319
+ figmaVariablesPlugin: {
2320
+ fileId: string;
2321
+ lastImportedAt?: Date | undefined;
2322
+ lastImportMetadata?: Record<string, any> | undefined;
2323
+ };
2324
+ }>, z.ZodObject<{
2325
+ id: z.ZodString;
2326
+ type: z.ZodLiteral<"TokenStudio">;
2327
+ fileName: z.ZodString;
2328
+ brandId: z.ZodString;
2329
+ themeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2330
+ cloud: z.ZodLiteral<null>;
2331
+ tokenStudio: z.ZodObject<{
2332
+ settings: z.ZodObject<{
2333
+ dryRun: z.ZodBoolean;
2334
+ verbose: z.ZodBoolean;
2335
+ preciseCopy: z.ZodBoolean;
2336
+ }, "strip", z.ZodTypeAny, {
2337
+ dryRun: boolean;
2338
+ verbose: boolean;
2339
+ preciseCopy: boolean;
2340
+ }, {
2341
+ dryRun: boolean;
2342
+ verbose: boolean;
2343
+ preciseCopy: boolean;
2344
+ }>;
2345
+ connectionName: z.ZodString;
2346
+ lastImportedAt: z.ZodDate;
2347
+ lastImportedResults: z.ZodArray<z.ZodObject<{
2348
+ mapping: z.ZodObject<{
2349
+ tokenSets: z.ZodArray<z.ZodString, "many">;
2350
+ supernovaBrand: z.ZodString;
2351
+ supernovaTheme: z.ZodOptional<z.ZodString>;
2352
+ }, "strip", z.ZodTypeAny, {
2353
+ tokenSets: string[];
2354
+ supernovaBrand: string;
2355
+ supernovaTheme?: string | undefined;
2356
+ }, {
2357
+ tokenSets: string[];
2358
+ supernovaBrand: string;
2359
+ supernovaTheme?: string | undefined;
2360
+ }>;
2361
+ isFailed: z.ZodBoolean;
2362
+ tokensCreated: z.ZodNumber;
2363
+ tokensDeleted: z.ZodNumber;
2364
+ tokensUpdated: z.ZodNumber;
2365
+ }, "strip", z.ZodTypeAny, {
2366
+ mapping: {
2367
+ tokenSets: string[];
2368
+ supernovaBrand: string;
2369
+ supernovaTheme?: string | undefined;
2370
+ };
2371
+ isFailed: boolean;
2372
+ tokensCreated: number;
2373
+ tokensDeleted: number;
2374
+ tokensUpdated: number;
2375
+ }, {
2376
+ mapping: {
2377
+ tokenSets: string[];
2378
+ supernovaBrand: string;
2379
+ supernovaTheme?: string | undefined;
2380
+ };
2381
+ isFailed: boolean;
2382
+ tokensCreated: number;
2383
+ tokensDeleted: number;
2384
+ tokensUpdated: number;
2385
+ }>, "many">;
2386
+ }, "strip", z.ZodTypeAny, {
2387
+ lastImportedAt: Date;
2388
+ settings: {
2389
+ dryRun: boolean;
2390
+ verbose: boolean;
2391
+ preciseCopy: boolean;
2392
+ };
2393
+ connectionName: string;
2394
+ lastImportedResults: {
2395
+ mapping: {
2396
+ tokenSets: string[];
2397
+ supernovaBrand: string;
2398
+ supernovaTheme?: string | undefined;
2399
+ };
2400
+ isFailed: boolean;
2401
+ tokensCreated: number;
2402
+ tokensDeleted: number;
2403
+ tokensUpdated: number;
2404
+ }[];
2405
+ }, {
2406
+ lastImportedAt: Date;
2407
+ settings: {
2408
+ dryRun: boolean;
2409
+ verbose: boolean;
2410
+ preciseCopy: boolean;
2411
+ };
2412
+ connectionName: string;
2413
+ lastImportedResults: {
2414
+ mapping: {
2415
+ tokenSets: string[];
2416
+ supernovaBrand: string;
2417
+ supernovaTheme?: string | undefined;
2418
+ };
2419
+ isFailed: boolean;
2420
+ tokensCreated: number;
2421
+ tokensDeleted: number;
2422
+ tokensUpdated: number;
2423
+ }[];
2424
+ }>;
2425
+ upload: z.ZodLiteral<null>;
2426
+ figmaVariablesPlugin: z.ZodLiteral<null>;
2427
+ }, "strip", z.ZodTypeAny, {
2428
+ id: string;
2429
+ type: "TokenStudio";
2430
+ fileName: string;
2431
+ brandId: string;
2432
+ cloud: null;
2433
+ tokenStudio: {
2434
+ lastImportedAt: Date;
2435
+ settings: {
2436
+ dryRun: boolean;
2437
+ verbose: boolean;
2438
+ preciseCopy: boolean;
2439
+ };
2440
+ connectionName: string;
2441
+ lastImportedResults: {
2442
+ mapping: {
2443
+ tokenSets: string[];
2444
+ supernovaBrand: string;
2445
+ supernovaTheme?: string | undefined;
2446
+ };
2447
+ isFailed: boolean;
2448
+ tokensCreated: number;
2449
+ tokensDeleted: number;
2450
+ tokensUpdated: number;
2451
+ }[];
2452
+ };
2453
+ upload: null;
2454
+ figmaVariablesPlugin: null;
2455
+ themeId?: string | null | undefined;
2456
+ }, {
2457
+ id: string;
2458
+ type: "TokenStudio";
2459
+ fileName: string;
2460
+ brandId: string;
2461
+ cloud: null;
2462
+ tokenStudio: {
2463
+ lastImportedAt: Date;
2464
+ settings: {
2465
+ dryRun: boolean;
2466
+ verbose: boolean;
2467
+ preciseCopy: boolean;
2468
+ };
2469
+ connectionName: string;
2470
+ lastImportedResults: {
2471
+ mapping: {
2472
+ tokenSets: string[];
2473
+ supernovaBrand: string;
2474
+ supernovaTheme?: string | undefined;
2475
+ };
2476
+ isFailed: boolean;
2477
+ tokensCreated: number;
2478
+ tokensDeleted: number;
2479
+ tokensUpdated: number;
2480
+ }[];
2481
+ };
2482
+ upload: null;
2483
+ figmaVariablesPlugin: null;
2484
+ themeId?: string | null | undefined;
2485
+ }>]>;
2486
+ }, "strip", z.ZodTypeAny, {
2487
+ source: {
2488
+ id: string;
2489
+ type: "Figma";
2490
+ fileName: string;
2491
+ scope: {
2492
+ assets: boolean;
2493
+ components: boolean;
2494
+ documentationFrames: boolean;
2495
+ tokens: boolean;
2496
+ isUnpublishedContentFallbackEnabled: boolean;
2497
+ themePersistentId?: string | undefined;
2498
+ };
2499
+ brandId: string;
2500
+ tokenStudio: null;
2501
+ upload: null;
2502
+ figmaVariablesPlugin: null;
2503
+ themeId?: string | null | undefined;
2504
+ cloud?: {
2505
+ fileId: string;
2506
+ state: "Active" | "MissingIntegration" | "MissingFileAccess" | "MissingFileOwner";
2507
+ autoImportMode: "Never" | "Hourly";
2508
+ ownerId: string;
2509
+ stats: {
2510
+ assets: number;
2511
+ frames: number;
2512
+ components: number;
2513
+ tokens: number;
2514
+ };
2515
+ fileThumbnailUrl?: string | undefined;
2516
+ lastImportResult?: {
2517
+ frames: number;
2518
+ components: number;
2519
+ componentSets: number;
2520
+ tokensCreated: number;
2521
+ tokensUpdated: number;
2522
+ tokensDeleted: number;
2523
+ tokensCreatedPerType: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>;
2524
+ tokensUpdatedPerType: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>;
2525
+ tokensDeletedPerType: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>;
2526
+ componentsCreated: number;
2527
+ componentsUpdated: number;
2528
+ componentsDeleted: number;
2529
+ componentAssetsCreated: number;
2530
+ componentAssetsUpdated: number;
2531
+ componentAssetsDeleted: number;
2532
+ isFailed: boolean;
2533
+ warnings: {
2534
+ warningType: "NoVersionFound" | "UnsupportedFill" | "UnsupportedStroke" | "UnsupportedEffect" | "NoPublishedElements" | "NoPublishedStyles" | "NoPublishedComponents" | "NoPublishedAssets" | "StyleNotApplied" | "ComponentHasNoThumbnail" | "DuplicateImportedStyleId" | "DuplicateImportedStylePath" | "NoUnpublishedStyles";
2535
+ componentId?: string | undefined;
2536
+ componentName?: string | undefined;
2537
+ styleId?: string | undefined;
2538
+ styleName?: string | undefined;
2539
+ unsupportedStyleValueType?: string | undefined;
2540
+ }[];
2541
+ error?: any;
2542
+ sourceId?: string | undefined;
2543
+ brandId?: string | undefined;
2544
+ versionId?: string | undefined;
2545
+ } | null | undefined;
2546
+ lastImportedAt?: Date | null | undefined;
2547
+ lastImportedVersion?: {
2548
+ id: string;
2549
+ created_at: Date;
2550
+ label: string;
2551
+ description: string;
2552
+ } | null | undefined;
2553
+ lastUpdatesCheckedAt?: Date | null | undefined;
2554
+ ownerUserName?: string | undefined;
2555
+ preferredCredentialId?: string | undefined;
2556
+ } | null | undefined;
2557
+ } | {
2558
+ id: string;
2559
+ type: "TokenStudio";
2560
+ fileName: string;
2561
+ brandId: string;
2562
+ cloud: null;
2563
+ tokenStudio: {
2564
+ lastImportedAt: Date;
2565
+ settings: {
2566
+ dryRun: boolean;
2567
+ verbose: boolean;
2568
+ preciseCopy: boolean;
2569
+ };
2570
+ connectionName: string;
2571
+ lastImportedResults: {
2572
+ mapping: {
2573
+ tokenSets: string[];
2574
+ supernovaBrand: string;
2575
+ supernovaTheme?: string | undefined;
2576
+ };
2577
+ isFailed: boolean;
2578
+ tokensCreated: number;
2579
+ tokensDeleted: number;
2580
+ tokensUpdated: number;
2581
+ }[];
2582
+ };
2583
+ upload: null;
2584
+ figmaVariablesPlugin: null;
2585
+ themeId?: string | null | undefined;
2586
+ } | {
2587
+ id: string;
2588
+ type: "FigmaVariablesPlugin";
2589
+ fileName: string;
2590
+ brandId: string;
2591
+ themeId: null;
2592
+ cloud: null;
2593
+ tokenStudio: null;
2594
+ upload: {
2595
+ remoteId: string;
2596
+ remoteSourceType: "TokenStudio" | "FigmaVariablesPlugin" | "Custom";
2597
+ lastImportedAt?: Date | undefined;
2598
+ lastImportMetadata?: Record<string, any> | undefined;
2599
+ };
2600
+ figmaVariablesPlugin: {
2601
+ fileId: string;
2602
+ lastImportedAt?: Date | undefined;
2603
+ lastImportMetadata?: Record<string, any> | undefined;
2604
+ };
2605
+ };
2606
+ }, {
2607
+ source: {
2608
+ id: string;
2609
+ type: "Figma";
2610
+ fileName: string;
2611
+ scope: {
2612
+ assets: boolean;
2613
+ components: boolean;
2614
+ documentationFrames: boolean;
2615
+ tokens: boolean;
2616
+ isUnpublishedContentFallbackEnabled: boolean;
2617
+ themePersistentId?: string | undefined;
2618
+ };
2619
+ brandId: string;
2620
+ tokenStudio: null;
2621
+ upload: null;
2622
+ figmaVariablesPlugin: null;
2623
+ themeId?: string | null | undefined;
2624
+ cloud?: {
2625
+ fileId: string;
2626
+ state: "Active" | "MissingIntegration" | "MissingFileAccess" | "MissingFileOwner";
2627
+ autoImportMode: "Never" | "Hourly";
2628
+ ownerId: string;
2629
+ stats: {
2630
+ assets?: number | null | undefined;
2631
+ frames?: number | null | undefined;
2632
+ components?: number | null | undefined;
2633
+ tokens?: number | null | undefined;
2634
+ };
2635
+ fileThumbnailUrl?: string | undefined;
2636
+ lastImportResult?: {
2637
+ isFailed: boolean;
2638
+ error?: any;
2639
+ sourceId?: string | null | undefined;
2640
+ brandId?: string | null | undefined;
2641
+ frames?: number | null | undefined;
2642
+ components?: number | null | undefined;
2643
+ componentSets?: number | null | undefined;
2644
+ tokensCreated?: number | null | undefined;
2645
+ tokensUpdated?: number | null | undefined;
2646
+ tokensDeleted?: number | null | undefined;
2647
+ tokensCreatedPerType?: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined;
2648
+ tokensUpdatedPerType?: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined;
2649
+ tokensDeletedPerType?: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined;
2650
+ componentsCreated?: number | null | undefined;
2651
+ componentsUpdated?: number | null | undefined;
2652
+ componentsDeleted?: number | null | undefined;
2653
+ componentAssetsCreated?: number | null | undefined;
2654
+ componentAssetsUpdated?: number | null | undefined;
2655
+ componentAssetsDeleted?: number | null | undefined;
2656
+ versionId?: string | null | undefined;
2657
+ warnings?: {
2658
+ warningType: "NoVersionFound" | "UnsupportedFill" | "UnsupportedStroke" | "UnsupportedEffect" | "NoPublishedElements" | "NoPublishedStyles" | "NoPublishedComponents" | "NoPublishedAssets" | "StyleNotApplied" | "ComponentHasNoThumbnail" | "DuplicateImportedStyleId" | "DuplicateImportedStylePath" | "NoUnpublishedStyles";
2659
+ componentId?: string | undefined;
2660
+ componentName?: string | undefined;
2661
+ styleId?: string | undefined;
2662
+ styleName?: string | undefined;
2663
+ unsupportedStyleValueType?: string | undefined;
2664
+ }[] | null | undefined;
2665
+ } | null | undefined;
2666
+ lastImportedAt?: Date | null | undefined;
2667
+ lastImportedVersion?: {
2668
+ id: string;
2669
+ created_at: Date;
2670
+ label: string;
2671
+ description: string;
2672
+ } | null | undefined;
2673
+ lastUpdatesCheckedAt?: Date | null | undefined;
2674
+ ownerUserName?: string | undefined;
2675
+ preferredCredentialId?: string | undefined;
2676
+ } | null | undefined;
2677
+ } | {
2678
+ id: string;
2679
+ type: "TokenStudio";
2680
+ fileName: string;
2681
+ brandId: string;
2682
+ cloud: null;
2683
+ tokenStudio: {
2684
+ lastImportedAt: Date;
2685
+ settings: {
2686
+ dryRun: boolean;
2687
+ verbose: boolean;
2688
+ preciseCopy: boolean;
2689
+ };
2690
+ connectionName: string;
2691
+ lastImportedResults: {
2692
+ mapping: {
2693
+ tokenSets: string[];
2694
+ supernovaBrand: string;
2695
+ supernovaTheme?: string | undefined;
2696
+ };
2697
+ isFailed: boolean;
2698
+ tokensCreated: number;
2699
+ tokensDeleted: number;
2700
+ tokensUpdated: number;
2701
+ }[];
2702
+ };
2703
+ upload: null;
2704
+ figmaVariablesPlugin: null;
2705
+ themeId?: string | null | undefined;
2706
+ } | {
2707
+ id: string;
2708
+ type: "FigmaVariablesPlugin";
2709
+ fileName: string;
2710
+ brandId: string;
2711
+ themeId: null;
2712
+ cloud: null;
2713
+ tokenStudio: null;
2714
+ upload: {
2715
+ remoteId: string;
2716
+ remoteSourceType: "TokenStudio" | "FigmaVariablesPlugin" | "Custom";
2717
+ lastImportedAt?: Date | undefined;
2718
+ lastImportMetadata?: Record<string, any> | undefined;
2719
+ };
2720
+ figmaVariablesPlugin: {
2721
+ fileId: string;
2722
+ lastImportedAt?: Date | undefined;
2723
+ lastImportMetadata?: Record<string, any> | undefined;
2724
+ };
2725
+ };
2726
+ }>;
2727
+ type DTODataSourceCreationResponse = z.infer<typeof DTODataSourceCreationResponse>;
2728
+ declare const DTODataSourcesListResponse: z.ZodObject<{
2729
+ sources: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2730
+ id: z.ZodString;
2731
+ type: z.ZodLiteral<"Figma">;
2732
+ fileName: z.ZodString;
2733
+ scope: z.ZodObject<{
2734
+ assets: z.ZodBoolean;
2735
+ components: z.ZodBoolean;
2736
+ documentationFrames: z.ZodBoolean;
2737
+ tokens: z.ZodBoolean;
2738
+ themePersistentId: z.ZodOptional<z.ZodString>;
2739
+ isUnpublishedContentFallbackEnabled: z.ZodBoolean;
2740
+ }, "strip", z.ZodTypeAny, {
2741
+ assets: boolean;
2742
+ components: boolean;
2743
+ documentationFrames: boolean;
2744
+ tokens: boolean;
2745
+ isUnpublishedContentFallbackEnabled: boolean;
2746
+ themePersistentId?: string | undefined;
2747
+ }, {
2748
+ assets: boolean;
2749
+ components: boolean;
2750
+ documentationFrames: boolean;
2751
+ tokens: boolean;
2752
+ isUnpublishedContentFallbackEnabled: boolean;
2753
+ themePersistentId?: string | undefined;
2754
+ }>;
2755
+ brandId: z.ZodString;
2756
+ themeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2757
+ cloud: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2758
+ fileId: z.ZodString;
2759
+ state: z.ZodEnum<["Active", "MissingIntegration", "MissingFileAccess", "MissingFileOwner"]>;
2760
+ autoImportMode: z.ZodEnum<["Never", "Hourly"]>;
2761
+ fileThumbnailUrl: z.ZodOptional<z.ZodString>;
2762
+ lastImportResult: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2763
+ frames: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
2764
+ components: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
2765
+ componentSets: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
2766
+ componentsCreated: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
2767
+ componentsUpdated: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
2768
+ componentsDeleted: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
2769
+ componentAssetsCreated: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
2770
+ componentAssetsUpdated: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
2771
+ componentAssetsDeleted: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
2772
+ tokensCreated: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
2773
+ tokensUpdated: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
2774
+ tokensDeleted: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
2775
+ tokensCreatedPerType: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodUnion<[z.ZodEnum<["Color", "Border", "Gradient", "Shadow", "Dimension", "Duration", "Size", "Space", "Opacity", "FontSize", "LineHeight", "LetterSpacing", "ParagraphSpacing", "BorderWidth", "BorderRadius", "Duration", "ZIndex", "Image", "String", "ProductCopy", "FontFamily", "FontWeight", "TextDecoration", "TextCase", "Visibility", "Typography", "Blur", "Font"]>, z.ZodEnum<["Measure", "Radius", "GenericToken", "Font", "Text"]>]>, z.ZodNumber>>>, Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>, Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined>;
2776
+ tokensUpdatedPerType: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodUnion<[z.ZodEnum<["Color", "Border", "Gradient", "Shadow", "Dimension", "Duration", "Size", "Space", "Opacity", "FontSize", "LineHeight", "LetterSpacing", "ParagraphSpacing", "BorderWidth", "BorderRadius", "Duration", "ZIndex", "Image", "String", "ProductCopy", "FontFamily", "FontWeight", "TextDecoration", "TextCase", "Visibility", "Typography", "Blur", "Font"]>, z.ZodEnum<["Measure", "Radius", "GenericToken", "Font", "Text"]>]>, z.ZodNumber>>>, Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>, Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined>;
2777
+ tokensDeletedPerType: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodUnion<[z.ZodEnum<["Color", "Border", "Gradient", "Shadow", "Dimension", "Duration", "Size", "Space", "Opacity", "FontSize", "LineHeight", "LetterSpacing", "ParagraphSpacing", "BorderWidth", "BorderRadius", "Duration", "ZIndex", "Image", "String", "ProductCopy", "FontFamily", "FontWeight", "TextDecoration", "TextCase", "Visibility", "Typography", "Blur", "Font"]>, z.ZodEnum<["Measure", "Radius", "GenericToken", "Font", "Text"]>]>, z.ZodNumber>>>, Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>, Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined>;
2778
+ sourceId: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
2779
+ brandId: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
2780
+ versionId: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
2781
+ error: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<any, z.ZodTypeDef, any>>>, any, any>;
2782
+ isFailed: z.ZodBoolean;
2783
+ warnings: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
2784
+ warningType: z.ZodEnum<["NoVersionFound", "UnsupportedFill", "UnsupportedStroke", "UnsupportedEffect", "NoPublishedElements", "NoPublishedStyles", "NoPublishedComponents", "NoPublishedAssets", "StyleNotApplied", "ComponentHasNoThumbnail", "DuplicateImportedStyleId", "DuplicateImportedStylePath", "NoUnpublishedStyles"]>;
2785
+ componentId: z.ZodOptional<z.ZodString>;
2786
+ componentName: z.ZodOptional<z.ZodString>;
2787
+ styleId: z.ZodOptional<z.ZodString>;
2788
+ styleName: z.ZodOptional<z.ZodString>;
2789
+ unsupportedStyleValueType: z.ZodOptional<z.ZodString>;
2790
+ }, "strip", z.ZodTypeAny, {
2791
+ warningType: "NoVersionFound" | "UnsupportedFill" | "UnsupportedStroke" | "UnsupportedEffect" | "NoPublishedElements" | "NoPublishedStyles" | "NoPublishedComponents" | "NoPublishedAssets" | "StyleNotApplied" | "ComponentHasNoThumbnail" | "DuplicateImportedStyleId" | "DuplicateImportedStylePath" | "NoUnpublishedStyles";
2792
+ componentId?: string | undefined;
2793
+ componentName?: string | undefined;
2794
+ styleId?: string | undefined;
2795
+ styleName?: string | undefined;
2796
+ unsupportedStyleValueType?: string | undefined;
2797
+ }, {
2798
+ warningType: "NoVersionFound" | "UnsupportedFill" | "UnsupportedStroke" | "UnsupportedEffect" | "NoPublishedElements" | "NoPublishedStyles" | "NoPublishedComponents" | "NoPublishedAssets" | "StyleNotApplied" | "ComponentHasNoThumbnail" | "DuplicateImportedStyleId" | "DuplicateImportedStylePath" | "NoUnpublishedStyles";
2799
+ componentId?: string | undefined;
2800
+ componentName?: string | undefined;
2801
+ styleId?: string | undefined;
2802
+ styleName?: string | undefined;
2803
+ unsupportedStyleValueType?: string | undefined;
2804
+ }>, "many">>>, {
2805
+ warningType: "NoVersionFound" | "UnsupportedFill" | "UnsupportedStroke" | "UnsupportedEffect" | "NoPublishedElements" | "NoPublishedStyles" | "NoPublishedComponents" | "NoPublishedAssets" | "StyleNotApplied" | "ComponentHasNoThumbnail" | "DuplicateImportedStyleId" | "DuplicateImportedStylePath" | "NoUnpublishedStyles";
2806
+ componentId?: string | undefined;
2807
+ componentName?: string | undefined;
2808
+ styleId?: string | undefined;
2809
+ styleName?: string | undefined;
2810
+ unsupportedStyleValueType?: string | undefined;
2811
+ }[], {
2812
+ warningType: "NoVersionFound" | "UnsupportedFill" | "UnsupportedStroke" | "UnsupportedEffect" | "NoPublishedElements" | "NoPublishedStyles" | "NoPublishedComponents" | "NoPublishedAssets" | "StyleNotApplied" | "ComponentHasNoThumbnail" | "DuplicateImportedStyleId" | "DuplicateImportedStylePath" | "NoUnpublishedStyles";
2813
+ componentId?: string | undefined;
2814
+ componentName?: string | undefined;
2815
+ styleId?: string | undefined;
2816
+ styleName?: string | undefined;
2817
+ unsupportedStyleValueType?: string | undefined;
2818
+ }[] | null | undefined>;
2819
+ }, "strip", z.ZodTypeAny, {
2820
+ frames: number;
2821
+ components: number;
2822
+ componentSets: number;
2823
+ tokensCreated: number;
2824
+ tokensUpdated: number;
2825
+ tokensDeleted: number;
2826
+ tokensCreatedPerType: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>;
2827
+ tokensUpdatedPerType: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>;
2828
+ tokensDeletedPerType: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>;
2829
+ componentsCreated: number;
2830
+ componentsUpdated: number;
2831
+ componentsDeleted: number;
2832
+ componentAssetsCreated: number;
2833
+ componentAssetsUpdated: number;
2834
+ componentAssetsDeleted: number;
2835
+ isFailed: boolean;
2836
+ warnings: {
2837
+ warningType: "NoVersionFound" | "UnsupportedFill" | "UnsupportedStroke" | "UnsupportedEffect" | "NoPublishedElements" | "NoPublishedStyles" | "NoPublishedComponents" | "NoPublishedAssets" | "StyleNotApplied" | "ComponentHasNoThumbnail" | "DuplicateImportedStyleId" | "DuplicateImportedStylePath" | "NoUnpublishedStyles";
2838
+ componentId?: string | undefined;
2839
+ componentName?: string | undefined;
2840
+ styleId?: string | undefined;
2841
+ styleName?: string | undefined;
2842
+ unsupportedStyleValueType?: string | undefined;
2843
+ }[];
2844
+ error?: any;
2845
+ sourceId?: string | undefined;
2846
+ brandId?: string | undefined;
2847
+ versionId?: string | undefined;
2848
+ }, {
2849
+ isFailed: boolean;
2850
+ error?: any;
2851
+ sourceId?: string | null | undefined;
2852
+ brandId?: string | null | undefined;
2853
+ frames?: number | null | undefined;
2854
+ components?: number | null | undefined;
2855
+ componentSets?: number | null | undefined;
2856
+ tokensCreated?: number | null | undefined;
2857
+ tokensUpdated?: number | null | undefined;
2858
+ tokensDeleted?: number | null | undefined;
2859
+ tokensCreatedPerType?: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined;
2860
+ tokensUpdatedPerType?: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined;
2861
+ tokensDeletedPerType?: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined;
2862
+ componentsCreated?: number | null | undefined;
2863
+ componentsUpdated?: number | null | undefined;
2864
+ componentsDeleted?: number | null | undefined;
2865
+ componentAssetsCreated?: number | null | undefined;
2866
+ componentAssetsUpdated?: number | null | undefined;
2867
+ componentAssetsDeleted?: number | null | undefined;
2868
+ versionId?: string | null | undefined;
2869
+ warnings?: {
2870
+ warningType: "NoVersionFound" | "UnsupportedFill" | "UnsupportedStroke" | "UnsupportedEffect" | "NoPublishedElements" | "NoPublishedStyles" | "NoPublishedComponents" | "NoPublishedAssets" | "StyleNotApplied" | "ComponentHasNoThumbnail" | "DuplicateImportedStyleId" | "DuplicateImportedStylePath" | "NoUnpublishedStyles";
2871
+ componentId?: string | undefined;
2872
+ componentName?: string | undefined;
2873
+ styleId?: string | undefined;
2874
+ styleName?: string | undefined;
2875
+ unsupportedStyleValueType?: string | undefined;
2876
+ }[] | null | undefined;
2877
+ }>>>;
2878
+ lastImportedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2879
+ lastImportedVersion: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2880
+ id: z.ZodString;
2881
+ created_at: z.ZodDate;
2882
+ label: z.ZodString;
2883
+ description: z.ZodString;
2884
+ }, "strip", z.ZodTypeAny, {
2885
+ id: string;
2886
+ created_at: Date;
2887
+ label: string;
2888
+ description: string;
2889
+ }, {
2890
+ id: string;
2891
+ created_at: Date;
2892
+ label: string;
2893
+ description: string;
2894
+ }>>>;
2895
+ lastUpdatesCheckedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
2896
+ ownerId: z.ZodString;
2897
+ ownerUserName: z.ZodOptional<z.ZodString>;
2898
+ preferredCredentialId: z.ZodOptional<z.ZodString>;
2899
+ stats: z.ZodObject<{
2900
+ tokens: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
2901
+ components: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
2902
+ assets: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
2903
+ frames: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
2904
+ }, "strip", z.ZodTypeAny, {
2905
+ assets: number;
2906
+ frames: number;
2907
+ components: number;
2908
+ tokens: number;
2909
+ }, {
2910
+ assets?: number | null | undefined;
2911
+ frames?: number | null | undefined;
2912
+ components?: number | null | undefined;
2913
+ tokens?: number | null | undefined;
2914
+ }>;
2915
+ }, "strip", z.ZodTypeAny, {
2916
+ fileId: string;
2917
+ state: "Active" | "MissingIntegration" | "MissingFileAccess" | "MissingFileOwner";
2918
+ autoImportMode: "Never" | "Hourly";
2919
+ ownerId: string;
2920
+ stats: {
2921
+ assets: number;
2922
+ frames: number;
2923
+ components: number;
2924
+ tokens: number;
2925
+ };
2926
+ fileThumbnailUrl?: string | undefined;
2927
+ lastImportResult?: {
2928
+ frames: number;
2929
+ components: number;
2930
+ componentSets: number;
2931
+ tokensCreated: number;
2932
+ tokensUpdated: number;
2933
+ tokensDeleted: number;
2934
+ tokensCreatedPerType: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>;
2935
+ tokensUpdatedPerType: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>;
2936
+ tokensDeletedPerType: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>;
2937
+ componentsCreated: number;
2938
+ componentsUpdated: number;
2939
+ componentsDeleted: number;
2940
+ componentAssetsCreated: number;
2941
+ componentAssetsUpdated: number;
2942
+ componentAssetsDeleted: number;
2943
+ isFailed: boolean;
2944
+ warnings: {
2945
+ warningType: "NoVersionFound" | "UnsupportedFill" | "UnsupportedStroke" | "UnsupportedEffect" | "NoPublishedElements" | "NoPublishedStyles" | "NoPublishedComponents" | "NoPublishedAssets" | "StyleNotApplied" | "ComponentHasNoThumbnail" | "DuplicateImportedStyleId" | "DuplicateImportedStylePath" | "NoUnpublishedStyles";
2946
+ componentId?: string | undefined;
2947
+ componentName?: string | undefined;
2948
+ styleId?: string | undefined;
2949
+ styleName?: string | undefined;
2950
+ unsupportedStyleValueType?: string | undefined;
2951
+ }[];
2952
+ error?: any;
2953
+ sourceId?: string | undefined;
2954
+ brandId?: string | undefined;
2955
+ versionId?: string | undefined;
2956
+ } | null | undefined;
2957
+ lastImportedAt?: Date | null | undefined;
2958
+ lastImportedVersion?: {
2959
+ id: string;
2960
+ created_at: Date;
2961
+ label: string;
2962
+ description: string;
2963
+ } | null | undefined;
2964
+ lastUpdatesCheckedAt?: Date | null | undefined;
2965
+ ownerUserName?: string | undefined;
2966
+ preferredCredentialId?: string | undefined;
2967
+ }, {
2968
+ fileId: string;
2969
+ state: "Active" | "MissingIntegration" | "MissingFileAccess" | "MissingFileOwner";
2970
+ autoImportMode: "Never" | "Hourly";
2971
+ ownerId: string;
2972
+ stats: {
2973
+ assets?: number | null | undefined;
2974
+ frames?: number | null | undefined;
2975
+ components?: number | null | undefined;
2976
+ tokens?: number | null | undefined;
2977
+ };
2978
+ fileThumbnailUrl?: string | undefined;
2979
+ lastImportResult?: {
2980
+ isFailed: boolean;
2981
+ error?: any;
2982
+ sourceId?: string | null | undefined;
2983
+ brandId?: string | null | undefined;
2984
+ frames?: number | null | undefined;
2985
+ components?: number | null | undefined;
2986
+ componentSets?: number | null | undefined;
2987
+ tokensCreated?: number | null | undefined;
2988
+ tokensUpdated?: number | null | undefined;
2989
+ tokensDeleted?: number | null | undefined;
2990
+ tokensCreatedPerType?: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined;
2991
+ tokensUpdatedPerType?: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined;
2992
+ tokensDeletedPerType?: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined;
2993
+ componentsCreated?: number | null | undefined;
2994
+ componentsUpdated?: number | null | undefined;
2995
+ componentsDeleted?: number | null | undefined;
2996
+ componentAssetsCreated?: number | null | undefined;
2997
+ componentAssetsUpdated?: number | null | undefined;
2998
+ componentAssetsDeleted?: number | null | undefined;
2999
+ versionId?: string | null | undefined;
3000
+ warnings?: {
3001
+ warningType: "NoVersionFound" | "UnsupportedFill" | "UnsupportedStroke" | "UnsupportedEffect" | "NoPublishedElements" | "NoPublishedStyles" | "NoPublishedComponents" | "NoPublishedAssets" | "StyleNotApplied" | "ComponentHasNoThumbnail" | "DuplicateImportedStyleId" | "DuplicateImportedStylePath" | "NoUnpublishedStyles";
3002
+ componentId?: string | undefined;
3003
+ componentName?: string | undefined;
3004
+ styleId?: string | undefined;
3005
+ styleName?: string | undefined;
3006
+ unsupportedStyleValueType?: string | undefined;
3007
+ }[] | null | undefined;
3008
+ } | null | undefined;
3009
+ lastImportedAt?: Date | null | undefined;
3010
+ lastImportedVersion?: {
3011
+ id: string;
3012
+ created_at: Date;
3013
+ label: string;
3014
+ description: string;
3015
+ } | null | undefined;
3016
+ lastUpdatesCheckedAt?: Date | null | undefined;
3017
+ ownerUserName?: string | undefined;
3018
+ preferredCredentialId?: string | undefined;
3019
+ }>>>;
3020
+ tokenStudio: z.ZodLiteral<null>;
3021
+ upload: z.ZodLiteral<null>;
3022
+ figmaVariablesPlugin: z.ZodLiteral<null>;
3023
+ }, "strip", z.ZodTypeAny, {
3024
+ id: string;
3025
+ type: "Figma";
3026
+ fileName: string;
3027
+ scope: {
3028
+ assets: boolean;
3029
+ components: boolean;
3030
+ documentationFrames: boolean;
3031
+ tokens: boolean;
3032
+ isUnpublishedContentFallbackEnabled: boolean;
3033
+ themePersistentId?: string | undefined;
3034
+ };
3035
+ brandId: string;
3036
+ tokenStudio: null;
3037
+ upload: null;
3038
+ figmaVariablesPlugin: null;
3039
+ themeId?: string | null | undefined;
3040
+ cloud?: {
3041
+ fileId: string;
3042
+ state: "Active" | "MissingIntegration" | "MissingFileAccess" | "MissingFileOwner";
3043
+ autoImportMode: "Never" | "Hourly";
3044
+ ownerId: string;
3045
+ stats: {
3046
+ assets: number;
3047
+ frames: number;
3048
+ components: number;
3049
+ tokens: number;
3050
+ };
3051
+ fileThumbnailUrl?: string | undefined;
3052
+ lastImportResult?: {
3053
+ frames: number;
3054
+ components: number;
3055
+ componentSets: number;
3056
+ tokensCreated: number;
3057
+ tokensUpdated: number;
3058
+ tokensDeleted: number;
3059
+ tokensCreatedPerType: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>;
3060
+ tokensUpdatedPerType: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>;
3061
+ tokensDeletedPerType: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>;
3062
+ componentsCreated: number;
3063
+ componentsUpdated: number;
3064
+ componentsDeleted: number;
3065
+ componentAssetsCreated: number;
3066
+ componentAssetsUpdated: number;
3067
+ componentAssetsDeleted: number;
3068
+ isFailed: boolean;
3069
+ warnings: {
3070
+ warningType: "NoVersionFound" | "UnsupportedFill" | "UnsupportedStroke" | "UnsupportedEffect" | "NoPublishedElements" | "NoPublishedStyles" | "NoPublishedComponents" | "NoPublishedAssets" | "StyleNotApplied" | "ComponentHasNoThumbnail" | "DuplicateImportedStyleId" | "DuplicateImportedStylePath" | "NoUnpublishedStyles";
3071
+ componentId?: string | undefined;
3072
+ componentName?: string | undefined;
3073
+ styleId?: string | undefined;
3074
+ styleName?: string | undefined;
3075
+ unsupportedStyleValueType?: string | undefined;
3076
+ }[];
3077
+ error?: any;
3078
+ sourceId?: string | undefined;
3079
+ brandId?: string | undefined;
3080
+ versionId?: string | undefined;
3081
+ } | null | undefined;
3082
+ lastImportedAt?: Date | null | undefined;
3083
+ lastImportedVersion?: {
3084
+ id: string;
3085
+ created_at: Date;
3086
+ label: string;
3087
+ description: string;
3088
+ } | null | undefined;
3089
+ lastUpdatesCheckedAt?: Date | null | undefined;
3090
+ ownerUserName?: string | undefined;
3091
+ preferredCredentialId?: string | undefined;
3092
+ } | null | undefined;
3093
+ }, {
3094
+ id: string;
3095
+ type: "Figma";
3096
+ fileName: string;
3097
+ scope: {
3098
+ assets: boolean;
3099
+ components: boolean;
3100
+ documentationFrames: boolean;
3101
+ tokens: boolean;
3102
+ isUnpublishedContentFallbackEnabled: boolean;
3103
+ themePersistentId?: string | undefined;
3104
+ };
3105
+ brandId: string;
3106
+ tokenStudio: null;
3107
+ upload: null;
3108
+ figmaVariablesPlugin: null;
3109
+ themeId?: string | null | undefined;
3110
+ cloud?: {
3111
+ fileId: string;
3112
+ state: "Active" | "MissingIntegration" | "MissingFileAccess" | "MissingFileOwner";
3113
+ autoImportMode: "Never" | "Hourly";
3114
+ ownerId: string;
3115
+ stats: {
3116
+ assets?: number | null | undefined;
3117
+ frames?: number | null | undefined;
3118
+ components?: number | null | undefined;
3119
+ tokens?: number | null | undefined;
3120
+ };
3121
+ fileThumbnailUrl?: string | undefined;
3122
+ lastImportResult?: {
3123
+ isFailed: boolean;
3124
+ error?: any;
3125
+ sourceId?: string | null | undefined;
3126
+ brandId?: string | null | undefined;
3127
+ frames?: number | null | undefined;
3128
+ components?: number | null | undefined;
3129
+ componentSets?: number | null | undefined;
3130
+ tokensCreated?: number | null | undefined;
3131
+ tokensUpdated?: number | null | undefined;
3132
+ tokensDeleted?: number | null | undefined;
3133
+ tokensCreatedPerType?: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined;
3134
+ tokensUpdatedPerType?: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined;
3135
+ tokensDeletedPerType?: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined;
3136
+ componentsCreated?: number | null | undefined;
3137
+ componentsUpdated?: number | null | undefined;
3138
+ componentsDeleted?: number | null | undefined;
3139
+ componentAssetsCreated?: number | null | undefined;
3140
+ componentAssetsUpdated?: number | null | undefined;
3141
+ componentAssetsDeleted?: number | null | undefined;
3142
+ versionId?: string | null | undefined;
3143
+ warnings?: {
3144
+ warningType: "NoVersionFound" | "UnsupportedFill" | "UnsupportedStroke" | "UnsupportedEffect" | "NoPublishedElements" | "NoPublishedStyles" | "NoPublishedComponents" | "NoPublishedAssets" | "StyleNotApplied" | "ComponentHasNoThumbnail" | "DuplicateImportedStyleId" | "DuplicateImportedStylePath" | "NoUnpublishedStyles";
3145
+ componentId?: string | undefined;
3146
+ componentName?: string | undefined;
3147
+ styleId?: string | undefined;
3148
+ styleName?: string | undefined;
3149
+ unsupportedStyleValueType?: string | undefined;
3150
+ }[] | null | undefined;
3151
+ } | null | undefined;
3152
+ lastImportedAt?: Date | null | undefined;
3153
+ lastImportedVersion?: {
3154
+ id: string;
3155
+ created_at: Date;
3156
+ label: string;
3157
+ description: string;
3158
+ } | null | undefined;
3159
+ lastUpdatesCheckedAt?: Date | null | undefined;
3160
+ ownerUserName?: string | undefined;
3161
+ preferredCredentialId?: string | undefined;
3162
+ } | null | undefined;
3163
+ }>, z.ZodObject<{
3164
+ id: z.ZodString;
3165
+ type: z.ZodLiteral<"FigmaVariablesPlugin">;
3166
+ fileName: z.ZodString;
3167
+ brandId: z.ZodString;
3168
+ themeId: z.ZodLiteral<null>;
3169
+ cloud: z.ZodLiteral<null>;
3170
+ tokenStudio: z.ZodLiteral<null>;
3171
+ upload: z.ZodObject<{
3172
+ remoteId: z.ZodString;
3173
+ remoteSourceType: z.ZodEnum<["TokenStudio", "FigmaVariablesPlugin", "Custom"]>;
3174
+ lastImportedAt: z.ZodOptional<z.ZodDate>;
3175
+ lastImportMetadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3176
+ }, "strip", z.ZodTypeAny, {
3177
+ remoteId: string;
3178
+ remoteSourceType: "TokenStudio" | "FigmaVariablesPlugin" | "Custom";
3179
+ lastImportedAt?: Date | undefined;
3180
+ lastImportMetadata?: Record<string, any> | undefined;
3181
+ }, {
3182
+ remoteId: string;
3183
+ remoteSourceType: "TokenStudio" | "FigmaVariablesPlugin" | "Custom";
3184
+ lastImportedAt?: Date | undefined;
3185
+ lastImportMetadata?: Record<string, any> | undefined;
3186
+ }>;
3187
+ figmaVariablesPlugin: z.ZodObject<{
3188
+ fileId: z.ZodString;
3189
+ lastImportedAt: z.ZodOptional<z.ZodDate>;
3190
+ lastImportMetadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
3191
+ }, "strip", z.ZodTypeAny, {
3192
+ fileId: string;
3193
+ lastImportedAt?: Date | undefined;
3194
+ lastImportMetadata?: Record<string, any> | undefined;
3195
+ }, {
3196
+ fileId: string;
3197
+ lastImportedAt?: Date | undefined;
3198
+ lastImportMetadata?: Record<string, any> | undefined;
3199
+ }>;
3200
+ }, "strip", z.ZodTypeAny, {
3201
+ id: string;
3202
+ type: "FigmaVariablesPlugin";
3203
+ fileName: string;
3204
+ brandId: string;
3205
+ themeId: null;
3206
+ cloud: null;
3207
+ tokenStudio: null;
3208
+ upload: {
3209
+ remoteId: string;
3210
+ remoteSourceType: "TokenStudio" | "FigmaVariablesPlugin" | "Custom";
3211
+ lastImportedAt?: Date | undefined;
3212
+ lastImportMetadata?: Record<string, any> | undefined;
3213
+ };
3214
+ figmaVariablesPlugin: {
3215
+ fileId: string;
3216
+ lastImportedAt?: Date | undefined;
3217
+ lastImportMetadata?: Record<string, any> | undefined;
3218
+ };
3219
+ }, {
3220
+ id: string;
3221
+ type: "FigmaVariablesPlugin";
3222
+ fileName: string;
3223
+ brandId: string;
3224
+ themeId: null;
3225
+ cloud: null;
3226
+ tokenStudio: null;
3227
+ upload: {
3228
+ remoteId: string;
3229
+ remoteSourceType: "TokenStudio" | "FigmaVariablesPlugin" | "Custom";
3230
+ lastImportedAt?: Date | undefined;
3231
+ lastImportMetadata?: Record<string, any> | undefined;
3232
+ };
3233
+ figmaVariablesPlugin: {
3234
+ fileId: string;
3235
+ lastImportedAt?: Date | undefined;
3236
+ lastImportMetadata?: Record<string, any> | undefined;
3237
+ };
3238
+ }>, z.ZodObject<{
3239
+ id: z.ZodString;
3240
+ type: z.ZodLiteral<"TokenStudio">;
3241
+ fileName: z.ZodString;
3242
+ brandId: z.ZodString;
3243
+ themeId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3244
+ cloud: z.ZodLiteral<null>;
3245
+ tokenStudio: z.ZodObject<{
3246
+ settings: z.ZodObject<{
3247
+ dryRun: z.ZodBoolean;
3248
+ verbose: z.ZodBoolean;
3249
+ preciseCopy: z.ZodBoolean;
3250
+ }, "strip", z.ZodTypeAny, {
3251
+ dryRun: boolean;
3252
+ verbose: boolean;
3253
+ preciseCopy: boolean;
3254
+ }, {
3255
+ dryRun: boolean;
3256
+ verbose: boolean;
3257
+ preciseCopy: boolean;
3258
+ }>;
3259
+ connectionName: z.ZodString;
3260
+ lastImportedAt: z.ZodDate;
3261
+ lastImportedResults: z.ZodArray<z.ZodObject<{
3262
+ mapping: z.ZodObject<{
3263
+ tokenSets: z.ZodArray<z.ZodString, "many">;
3264
+ supernovaBrand: z.ZodString;
3265
+ supernovaTheme: z.ZodOptional<z.ZodString>;
3266
+ }, "strip", z.ZodTypeAny, {
3267
+ tokenSets: string[];
3268
+ supernovaBrand: string;
3269
+ supernovaTheme?: string | undefined;
3270
+ }, {
3271
+ tokenSets: string[];
3272
+ supernovaBrand: string;
3273
+ supernovaTheme?: string | undefined;
3274
+ }>;
3275
+ isFailed: z.ZodBoolean;
3276
+ tokensCreated: z.ZodNumber;
3277
+ tokensDeleted: z.ZodNumber;
3278
+ tokensUpdated: z.ZodNumber;
3279
+ }, "strip", z.ZodTypeAny, {
3280
+ mapping: {
3281
+ tokenSets: string[];
3282
+ supernovaBrand: string;
3283
+ supernovaTheme?: string | undefined;
3284
+ };
3285
+ isFailed: boolean;
3286
+ tokensCreated: number;
3287
+ tokensDeleted: number;
3288
+ tokensUpdated: number;
3289
+ }, {
3290
+ mapping: {
3291
+ tokenSets: string[];
3292
+ supernovaBrand: string;
3293
+ supernovaTheme?: string | undefined;
3294
+ };
3295
+ isFailed: boolean;
3296
+ tokensCreated: number;
3297
+ tokensDeleted: number;
3298
+ tokensUpdated: number;
3299
+ }>, "many">;
3300
+ }, "strip", z.ZodTypeAny, {
3301
+ lastImportedAt: Date;
3302
+ settings: {
3303
+ dryRun: boolean;
3304
+ verbose: boolean;
3305
+ preciseCopy: boolean;
3306
+ };
3307
+ connectionName: string;
3308
+ lastImportedResults: {
3309
+ mapping: {
3310
+ tokenSets: string[];
3311
+ supernovaBrand: string;
3312
+ supernovaTheme?: string | undefined;
3313
+ };
3314
+ isFailed: boolean;
3315
+ tokensCreated: number;
3316
+ tokensDeleted: number;
3317
+ tokensUpdated: number;
3318
+ }[];
3319
+ }, {
3320
+ lastImportedAt: Date;
3321
+ settings: {
3322
+ dryRun: boolean;
3323
+ verbose: boolean;
3324
+ preciseCopy: boolean;
3325
+ };
3326
+ connectionName: string;
3327
+ lastImportedResults: {
3328
+ mapping: {
3329
+ tokenSets: string[];
3330
+ supernovaBrand: string;
3331
+ supernovaTheme?: string | undefined;
3332
+ };
3333
+ isFailed: boolean;
3334
+ tokensCreated: number;
3335
+ tokensDeleted: number;
3336
+ tokensUpdated: number;
3337
+ }[];
3338
+ }>;
3339
+ upload: z.ZodLiteral<null>;
3340
+ figmaVariablesPlugin: z.ZodLiteral<null>;
3341
+ }, "strip", z.ZodTypeAny, {
3342
+ id: string;
3343
+ type: "TokenStudio";
3344
+ fileName: string;
3345
+ brandId: string;
3346
+ cloud: null;
3347
+ tokenStudio: {
3348
+ lastImportedAt: Date;
3349
+ settings: {
3350
+ dryRun: boolean;
3351
+ verbose: boolean;
3352
+ preciseCopy: boolean;
3353
+ };
3354
+ connectionName: string;
3355
+ lastImportedResults: {
3356
+ mapping: {
3357
+ tokenSets: string[];
3358
+ supernovaBrand: string;
3359
+ supernovaTheme?: string | undefined;
3360
+ };
3361
+ isFailed: boolean;
3362
+ tokensCreated: number;
3363
+ tokensDeleted: number;
3364
+ tokensUpdated: number;
3365
+ }[];
3366
+ };
3367
+ upload: null;
3368
+ figmaVariablesPlugin: null;
3369
+ themeId?: string | null | undefined;
3370
+ }, {
3371
+ id: string;
3372
+ type: "TokenStudio";
3373
+ fileName: string;
3374
+ brandId: string;
3375
+ cloud: null;
3376
+ tokenStudio: {
3377
+ lastImportedAt: Date;
3378
+ settings: {
3379
+ dryRun: boolean;
3380
+ verbose: boolean;
3381
+ preciseCopy: boolean;
3382
+ };
3383
+ connectionName: string;
3384
+ lastImportedResults: {
3385
+ mapping: {
3386
+ tokenSets: string[];
3387
+ supernovaBrand: string;
3388
+ supernovaTheme?: string | undefined;
3389
+ };
3390
+ isFailed: boolean;
3391
+ tokensCreated: number;
3392
+ tokensDeleted: number;
3393
+ tokensUpdated: number;
3394
+ }[];
3395
+ };
3396
+ upload: null;
3397
+ figmaVariablesPlugin: null;
3398
+ themeId?: string | null | undefined;
3399
+ }>]>, "many">;
3400
+ }, "strip", z.ZodTypeAny, {
3401
+ sources: ({
3402
+ id: string;
3403
+ type: "Figma";
3404
+ fileName: string;
3405
+ scope: {
3406
+ assets: boolean;
3407
+ components: boolean;
3408
+ documentationFrames: boolean;
3409
+ tokens: boolean;
3410
+ isUnpublishedContentFallbackEnabled: boolean;
3411
+ themePersistentId?: string | undefined;
3412
+ };
3413
+ brandId: string;
3414
+ tokenStudio: null;
3415
+ upload: null;
3416
+ figmaVariablesPlugin: null;
3417
+ themeId?: string | null | undefined;
3418
+ cloud?: {
3419
+ fileId: string;
3420
+ state: "Active" | "MissingIntegration" | "MissingFileAccess" | "MissingFileOwner";
3421
+ autoImportMode: "Never" | "Hourly";
3422
+ ownerId: string;
3423
+ stats: {
3424
+ assets: number;
3425
+ frames: number;
3426
+ components: number;
3427
+ tokens: number;
3428
+ };
3429
+ fileThumbnailUrl?: string | undefined;
3430
+ lastImportResult?: {
3431
+ frames: number;
3432
+ components: number;
3433
+ componentSets: number;
3434
+ tokensCreated: number;
3435
+ tokensUpdated: number;
3436
+ tokensDeleted: number;
3437
+ tokensCreatedPerType: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>;
3438
+ tokensUpdatedPerType: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>;
3439
+ tokensDeletedPerType: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>>;
3440
+ componentsCreated: number;
3441
+ componentsUpdated: number;
3442
+ componentsDeleted: number;
3443
+ componentAssetsCreated: number;
3444
+ componentAssetsUpdated: number;
3445
+ componentAssetsDeleted: number;
3446
+ isFailed: boolean;
3447
+ warnings: {
3448
+ warningType: "NoVersionFound" | "UnsupportedFill" | "UnsupportedStroke" | "UnsupportedEffect" | "NoPublishedElements" | "NoPublishedStyles" | "NoPublishedComponents" | "NoPublishedAssets" | "StyleNotApplied" | "ComponentHasNoThumbnail" | "DuplicateImportedStyleId" | "DuplicateImportedStylePath" | "NoUnpublishedStyles";
3449
+ componentId?: string | undefined;
3450
+ componentName?: string | undefined;
3451
+ styleId?: string | undefined;
3452
+ styleName?: string | undefined;
3453
+ unsupportedStyleValueType?: string | undefined;
3454
+ }[];
3455
+ error?: any;
3456
+ sourceId?: string | undefined;
3457
+ brandId?: string | undefined;
3458
+ versionId?: string | undefined;
3459
+ } | null | undefined;
3460
+ lastImportedAt?: Date | null | undefined;
3461
+ lastImportedVersion?: {
3462
+ id: string;
3463
+ created_at: Date;
3464
+ label: string;
3465
+ description: string;
3466
+ } | null | undefined;
3467
+ lastUpdatesCheckedAt?: Date | null | undefined;
3468
+ ownerUserName?: string | undefined;
3469
+ preferredCredentialId?: string | undefined;
3470
+ } | null | undefined;
3471
+ } | {
3472
+ id: string;
3473
+ type: "TokenStudio";
3474
+ fileName: string;
3475
+ brandId: string;
3476
+ cloud: null;
3477
+ tokenStudio: {
3478
+ lastImportedAt: Date;
3479
+ settings: {
3480
+ dryRun: boolean;
3481
+ verbose: boolean;
3482
+ preciseCopy: boolean;
3483
+ };
3484
+ connectionName: string;
3485
+ lastImportedResults: {
3486
+ mapping: {
3487
+ tokenSets: string[];
3488
+ supernovaBrand: string;
3489
+ supernovaTheme?: string | undefined;
3490
+ };
3491
+ isFailed: boolean;
3492
+ tokensCreated: number;
3493
+ tokensDeleted: number;
3494
+ tokensUpdated: number;
3495
+ }[];
3496
+ };
3497
+ upload: null;
3498
+ figmaVariablesPlugin: null;
3499
+ themeId?: string | null | undefined;
3500
+ } | {
3501
+ id: string;
3502
+ type: "FigmaVariablesPlugin";
3503
+ fileName: string;
3504
+ brandId: string;
3505
+ themeId: null;
3506
+ cloud: null;
3507
+ tokenStudio: null;
3508
+ upload: {
3509
+ remoteId: string;
3510
+ remoteSourceType: "TokenStudio" | "FigmaVariablesPlugin" | "Custom";
3511
+ lastImportedAt?: Date | undefined;
3512
+ lastImportMetadata?: Record<string, any> | undefined;
3513
+ };
3514
+ figmaVariablesPlugin: {
3515
+ fileId: string;
3516
+ lastImportedAt?: Date | undefined;
3517
+ lastImportMetadata?: Record<string, any> | undefined;
3518
+ };
3519
+ })[];
3520
+ }, {
3521
+ sources: ({
3522
+ id: string;
3523
+ type: "Figma";
3524
+ fileName: string;
3525
+ scope: {
3526
+ assets: boolean;
3527
+ components: boolean;
3528
+ documentationFrames: boolean;
3529
+ tokens: boolean;
3530
+ isUnpublishedContentFallbackEnabled: boolean;
3531
+ themePersistentId?: string | undefined;
3532
+ };
3533
+ brandId: string;
3534
+ tokenStudio: null;
3535
+ upload: null;
3536
+ figmaVariablesPlugin: null;
3537
+ themeId?: string | null | undefined;
3538
+ cloud?: {
3539
+ fileId: string;
3540
+ state: "Active" | "MissingIntegration" | "MissingFileAccess" | "MissingFileOwner";
3541
+ autoImportMode: "Never" | "Hourly";
3542
+ ownerId: string;
3543
+ stats: {
3544
+ assets?: number | null | undefined;
3545
+ frames?: number | null | undefined;
3546
+ components?: number | null | undefined;
3547
+ tokens?: number | null | undefined;
3548
+ };
3549
+ fileThumbnailUrl?: string | undefined;
3550
+ lastImportResult?: {
3551
+ isFailed: boolean;
3552
+ error?: any;
3553
+ sourceId?: string | null | undefined;
3554
+ brandId?: string | null | undefined;
3555
+ frames?: number | null | undefined;
3556
+ components?: number | null | undefined;
3557
+ componentSets?: number | null | undefined;
3558
+ tokensCreated?: number | null | undefined;
3559
+ tokensUpdated?: number | null | undefined;
3560
+ tokensDeleted?: number | null | undefined;
3561
+ tokensCreatedPerType?: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined;
3562
+ tokensUpdatedPerType?: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined;
3563
+ tokensDeletedPerType?: Partial<Record<"Text" | "Image" | "Font" | "Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Measure" | "Radius" | "GenericToken", number>> | null | undefined;
3564
+ componentsCreated?: number | null | undefined;
3565
+ componentsUpdated?: number | null | undefined;
3566
+ componentsDeleted?: number | null | undefined;
3567
+ componentAssetsCreated?: number | null | undefined;
3568
+ componentAssetsUpdated?: number | null | undefined;
3569
+ componentAssetsDeleted?: number | null | undefined;
3570
+ versionId?: string | null | undefined;
3571
+ warnings?: {
3572
+ warningType: "NoVersionFound" | "UnsupportedFill" | "UnsupportedStroke" | "UnsupportedEffect" | "NoPublishedElements" | "NoPublishedStyles" | "NoPublishedComponents" | "NoPublishedAssets" | "StyleNotApplied" | "ComponentHasNoThumbnail" | "DuplicateImportedStyleId" | "DuplicateImportedStylePath" | "NoUnpublishedStyles";
3573
+ componentId?: string | undefined;
3574
+ componentName?: string | undefined;
3575
+ styleId?: string | undefined;
3576
+ styleName?: string | undefined;
3577
+ unsupportedStyleValueType?: string | undefined;
3578
+ }[] | null | undefined;
3579
+ } | null | undefined;
3580
+ lastImportedAt?: Date | null | undefined;
3581
+ lastImportedVersion?: {
3582
+ id: string;
3583
+ created_at: Date;
3584
+ label: string;
3585
+ description: string;
3586
+ } | null | undefined;
3587
+ lastUpdatesCheckedAt?: Date | null | undefined;
3588
+ ownerUserName?: string | undefined;
3589
+ preferredCredentialId?: string | undefined;
3590
+ } | null | undefined;
3591
+ } | {
3592
+ id: string;
3593
+ type: "TokenStudio";
3594
+ fileName: string;
3595
+ brandId: string;
3596
+ cloud: null;
3597
+ tokenStudio: {
3598
+ lastImportedAt: Date;
3599
+ settings: {
3600
+ dryRun: boolean;
3601
+ verbose: boolean;
3602
+ preciseCopy: boolean;
3603
+ };
3604
+ connectionName: string;
3605
+ lastImportedResults: {
3606
+ mapping: {
3607
+ tokenSets: string[];
3608
+ supernovaBrand: string;
3609
+ supernovaTheme?: string | undefined;
3610
+ };
3611
+ isFailed: boolean;
3612
+ tokensCreated: number;
3613
+ tokensDeleted: number;
3614
+ tokensUpdated: number;
3615
+ }[];
3616
+ };
3617
+ upload: null;
3618
+ figmaVariablesPlugin: null;
3619
+ themeId?: string | null | undefined;
3620
+ } | {
3621
+ id: string;
3622
+ type: "FigmaVariablesPlugin";
3623
+ fileName: string;
3624
+ brandId: string;
3625
+ themeId: null;
3626
+ cloud: null;
3627
+ tokenStudio: null;
3628
+ upload: {
3629
+ remoteId: string;
3630
+ remoteSourceType: "TokenStudio" | "FigmaVariablesPlugin" | "Custom";
3631
+ lastImportedAt?: Date | undefined;
3632
+ lastImportMetadata?: Record<string, any> | undefined;
3633
+ };
3634
+ figmaVariablesPlugin: {
3635
+ fileId: string;
3636
+ lastImportedAt?: Date | undefined;
3637
+ lastImportMetadata?: Record<string, any> | undefined;
3638
+ };
3639
+ })[];
3640
+ }>;
3641
+ type DTODataSourcesListResponse = z.infer<typeof DTODataSourcesListResponse>;
3642
+
203
3643
  declare const DTODesignSystem: z.ZodObject<z.objectUtil.extendShape<Omit<{
204
3644
  id: z.ZodString;
205
3645
  workspaceId: z.ZodString;
@@ -228,7 +3668,7 @@ declare const DTODesignSystem: z.ZodObject<z.objectUtil.extendShape<Omit<{
228
3668
  } | null | undefined>;
229
3669
  createdAt: z.ZodDate;
230
3670
  updatedAt: z.ZodDate;
231
- }, "name" | "description" | "docExporterId">, {
3671
+ }, "description" | "name" | "docExporterId">, {
232
3672
  meta: z.ZodObject<{
233
3673
  name: z.ZodString;
234
3674
  description: z.ZodOptional<z.ZodString>;
@@ -304,25 +3744,25 @@ declare const VersionSQSPayload: z.ZodObject<{
304
3744
  name: z.ZodOptional<z.ZodString>;
305
3745
  description: z.ZodOptional<z.ZodString>;
306
3746
  }, "strip", z.ZodTypeAny, {
307
- name?: string | undefined;
308
3747
  description?: string | undefined;
309
- }, {
310
3748
  name?: string | undefined;
3749
+ }, {
311
3750
  description?: string | undefined;
3751
+ name?: string | undefined;
312
3752
  }>;
313
3753
  version: z.ZodEffects<z.ZodString, string, string>;
314
3754
  changeLog: z.ZodOptional<z.ZodString>;
315
3755
  }, "strip", z.ZodTypeAny, {
316
3756
  meta: {
317
- name?: string | undefined;
318
3757
  description?: string | undefined;
3758
+ name?: string | undefined;
319
3759
  };
320
3760
  version: string;
321
3761
  changeLog?: string | undefined;
322
3762
  }, {
323
3763
  meta: {
324
- name?: string | undefined;
325
3764
  description?: string | undefined;
3765
+ name?: string | undefined;
326
3766
  };
327
3767
  version: string;
328
3768
  changeLog?: string | undefined;
@@ -332,8 +3772,8 @@ declare const VersionSQSPayload: z.ZodObject<{
332
3772
  jobId: string;
333
3773
  input: {
334
3774
  meta: {
335
- name?: string | undefined;
336
3775
  description?: string | undefined;
3776
+ name?: string | undefined;
337
3777
  };
338
3778
  version: string;
339
3779
  changeLog?: string | undefined;
@@ -343,8 +3783,8 @@ declare const VersionSQSPayload: z.ZodObject<{
343
3783
  jobId: string;
344
3784
  input: {
345
3785
  meta: {
346
- name?: string | undefined;
347
3786
  description?: string | undefined;
3787
+ name?: string | undefined;
348
3788
  };
349
3789
  version: string;
350
3790
  changeLog?: string | undefined;
@@ -719,14 +4159,14 @@ declare const DTOElementViewThemeColumn: z.ZodObject<z.objectUtil.extendShape<{
719
4159
  id: string;
720
4160
  persistentId: string;
721
4161
  type: "Theme";
722
- width: number;
723
4162
  themeId: string;
4163
+ width: number;
724
4164
  }, {
725
4165
  id: string;
726
4166
  persistentId: string;
727
4167
  type: "Theme";
728
- width: number;
729
4168
  themeId: string;
4169
+ width: number;
730
4170
  }>;
731
4171
  declare const DTOElementViewColumn: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
732
4172
  id: z.ZodString;
@@ -777,14 +4217,14 @@ declare const DTOElementViewColumn: z.ZodDiscriminatedUnion<"type", [z.ZodObject
777
4217
  id: string;
778
4218
  persistentId: string;
779
4219
  type: "Theme";
780
- width: number;
781
4220
  themeId: string;
4221
+ width: number;
782
4222
  }, {
783
4223
  id: string;
784
4224
  persistentId: string;
785
4225
  type: "Theme";
786
- width: number;
787
4226
  themeId: string;
4227
+ width: number;
788
4228
  }>]>;
789
4229
  declare const DTOElementView: z.ZodObject<{
790
4230
  meta: z.ZodObject<{
@@ -850,14 +4290,14 @@ declare const DTOElementView: z.ZodObject<{
850
4290
  id: string;
851
4291
  persistentId: string;
852
4292
  type: "Theme";
853
- width: number;
854
4293
  themeId: string;
4294
+ width: number;
855
4295
  }, {
856
4296
  id: string;
857
4297
  persistentId: string;
858
4298
  type: "Theme";
859
- width: number;
860
4299
  themeId: string;
4300
+ width: number;
861
4301
  }>]>, "many">;
862
4302
  }, "strip", z.ZodTypeAny, {
863
4303
  id: string;
@@ -884,8 +4324,8 @@ declare const DTOElementView: z.ZodObject<{
884
4324
  id: string;
885
4325
  persistentId: string;
886
4326
  type: "Theme";
887
- width: number;
888
4327
  themeId: string;
4328
+ width: number;
889
4329
  })[];
890
4330
  }, {
891
4331
  id: string;
@@ -912,8 +4352,8 @@ declare const DTOElementView: z.ZodObject<{
912
4352
  id: string;
913
4353
  persistentId: string;
914
4354
  type: "Theme";
915
- width: number;
916
4355
  themeId: string;
4356
+ width: number;
917
4357
  })[];
918
4358
  }>;
919
4359
  type DTOElementView = z.infer<typeof DTOElementView>;
@@ -982,14 +4422,14 @@ declare const DTOElementViewsListResponse: z.ZodObject<{
982
4422
  id: string;
983
4423
  persistentId: string;
984
4424
  type: "Theme";
985
- width: number;
986
4425
  themeId: string;
4426
+ width: number;
987
4427
  }, {
988
4428
  id: string;
989
4429
  persistentId: string;
990
4430
  type: "Theme";
991
- width: number;
992
4431
  themeId: string;
4432
+ width: number;
993
4433
  }>]>, "many">;
994
4434
  }, "strip", z.ZodTypeAny, {
995
4435
  id: string;
@@ -1016,8 +4456,8 @@ declare const DTOElementViewsListResponse: z.ZodObject<{
1016
4456
  id: string;
1017
4457
  persistentId: string;
1018
4458
  type: "Theme";
1019
- width: number;
1020
4459
  themeId: string;
4460
+ width: number;
1021
4461
  })[];
1022
4462
  }, {
1023
4463
  id: string;
@@ -1044,8 +4484,8 @@ declare const DTOElementViewsListResponse: z.ZodObject<{
1044
4484
  id: string;
1045
4485
  persistentId: string;
1046
4486
  type: "Theme";
1047
- width: number;
1048
4487
  themeId: string;
4488
+ width: number;
1049
4489
  })[];
1050
4490
  }>, "many">;
1051
4491
  }, "strip", z.ZodTypeAny, {
@@ -1074,8 +4514,8 @@ declare const DTOElementViewsListResponse: z.ZodObject<{
1074
4514
  id: string;
1075
4515
  persistentId: string;
1076
4516
  type: "Theme";
1077
- width: number;
1078
4517
  themeId: string;
4518
+ width: number;
1079
4519
  })[];
1080
4520
  }[];
1081
4521
  }, {
@@ -1104,8 +4544,8 @@ declare const DTOElementViewsListResponse: z.ZodObject<{
1104
4544
  id: string;
1105
4545
  persistentId: string;
1106
4546
  type: "Theme";
1107
- width: number;
1108
4547
  themeId: string;
4548
+ width: number;
1109
4549
  })[];
1110
4550
  }[];
1111
4551
  }>;
@@ -9150,7 +12590,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
9150
12590
  data: z.ZodObject<{
9151
12591
  blocks: z.ZodArray<z.ZodType<PageBlockV1, z.ZodTypeDef, {
9152
12592
  persistentId: string;
9153
- type: "Theme" | "Token" | "Component" | "Tabs" | "Text" | "Link" | "Custom" | "Image" | "Code" | "Table" | "Divider" | "Quote" | "Callout" | "Embed" | "Heading" | "UnorderedList" | "OrderedList" | "Shortcuts" | "FigmaEmbed" | "YoutubeEmbed" | "StorybookEmbed" | "TokenGroup" | "TokenList" | "ComponentGroup" | "ComponentSandbox" | "FigmaFrames" | "ComponentAssets" | "RenderCode" | "TabItem" | "TableRow" | "TableCell";
12593
+ type: "Custom" | "Theme" | "Token" | "Component" | "Tabs" | "Text" | "Link" | "Image" | "Code" | "Table" | "Divider" | "Quote" | "Callout" | "Embed" | "Heading" | "UnorderedList" | "OrderedList" | "Shortcuts" | "FigmaEmbed" | "YoutubeEmbed" | "StorybookEmbed" | "TokenGroup" | "TokenList" | "ComponentGroup" | "ComponentSandbox" | "FigmaFrames" | "ComponentAssets" | "RenderCode" | "TabItem" | "TableRow" | "TableCell";
9154
12594
  url?: string | null | undefined;
9155
12595
  asset?: {
9156
12596
  type: "image" | "figmaFrame";
@@ -9680,7 +13120,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
9680
13120
  }, {
9681
13121
  blocks: ({
9682
13122
  persistentId: string;
9683
- type: "Theme" | "Token" | "Component" | "Tabs" | "Text" | "Link" | "Custom" | "Image" | "Code" | "Table" | "Divider" | "Quote" | "Callout" | "Embed" | "Heading" | "UnorderedList" | "OrderedList" | "Shortcuts" | "FigmaEmbed" | "YoutubeEmbed" | "StorybookEmbed" | "TokenGroup" | "TokenList" | "ComponentGroup" | "ComponentSandbox" | "FigmaFrames" | "ComponentAssets" | "RenderCode" | "TabItem" | "TableRow" | "TableCell";
13123
+ type: "Custom" | "Theme" | "Token" | "Component" | "Tabs" | "Text" | "Link" | "Image" | "Code" | "Table" | "Divider" | "Quote" | "Callout" | "Embed" | "Heading" | "UnorderedList" | "OrderedList" | "Shortcuts" | "FigmaEmbed" | "YoutubeEmbed" | "StorybookEmbed" | "TokenGroup" | "TokenList" | "ComponentGroup" | "ComponentSandbox" | "FigmaFrames" | "ComponentAssets" | "RenderCode" | "TabItem" | "TableRow" | "TableCell";
9684
13124
  url?: string | null | undefined;
9685
13125
  asset?: {
9686
13126
  type: "image" | "figmaFrame";
@@ -10434,7 +13874,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
10434
13874
  }>;
10435
13875
  blocks: z.ZodArray<z.ZodType<PageBlockV1, z.ZodTypeDef, {
10436
13876
  persistentId: string;
10437
- type: "Theme" | "Token" | "Component" | "Tabs" | "Text" | "Link" | "Custom" | "Image" | "Code" | "Table" | "Divider" | "Quote" | "Callout" | "Embed" | "Heading" | "UnorderedList" | "OrderedList" | "Shortcuts" | "FigmaEmbed" | "YoutubeEmbed" | "StorybookEmbed" | "TokenGroup" | "TokenList" | "ComponentGroup" | "ComponentSandbox" | "FigmaFrames" | "ComponentAssets" | "RenderCode" | "TabItem" | "TableRow" | "TableCell";
13877
+ type: "Custom" | "Theme" | "Token" | "Component" | "Tabs" | "Text" | "Link" | "Image" | "Code" | "Table" | "Divider" | "Quote" | "Callout" | "Embed" | "Heading" | "UnorderedList" | "OrderedList" | "Shortcuts" | "FigmaEmbed" | "YoutubeEmbed" | "StorybookEmbed" | "TokenGroup" | "TokenList" | "ComponentGroup" | "ComponentSandbox" | "FigmaFrames" | "ComponentAssets" | "RenderCode" | "TabItem" | "TableRow" | "TableCell";
10438
13878
  url?: string | null | undefined;
10439
13879
  asset?: {
10440
13880
  type: "image" | "figmaFrame";
@@ -10617,7 +14057,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
10617
14057
  } & {
10618
14058
  children: ({
10619
14059
  persistentId: string;
10620
- type: "Theme" | "Token" | "Component" | "Tabs" | "Text" | "Link" | "Custom" | "Image" | "Code" | "Table" | "Divider" | "Quote" | "Callout" | "Embed" | "Heading" | "UnorderedList" | "OrderedList" | "Shortcuts" | "FigmaEmbed" | "YoutubeEmbed" | "StorybookEmbed" | "TokenGroup" | "TokenList" | "ComponentGroup" | "ComponentSandbox" | "FigmaFrames" | "ComponentAssets" | "RenderCode" | "TabItem" | "TableRow" | "TableCell";
14060
+ type: "Custom" | "Theme" | "Token" | "Component" | "Tabs" | "Text" | "Link" | "Image" | "Code" | "Table" | "Divider" | "Quote" | "Callout" | "Embed" | "Heading" | "UnorderedList" | "OrderedList" | "Shortcuts" | "FigmaEmbed" | "YoutubeEmbed" | "StorybookEmbed" | "TokenGroup" | "TokenList" | "ComponentGroup" | "ComponentSandbox" | "FigmaFrames" | "ComponentAssets" | "RenderCode" | "TabItem" | "TableRow" | "TableCell";
10621
14061
  url?: string | null | undefined;
10622
14062
  asset?: {
10623
14063
  type: "image" | "figmaFrame";
@@ -10918,7 +14358,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
10918
14358
  };
10919
14359
  blocks: ({
10920
14360
  persistentId: string;
10921
- type: "Theme" | "Token" | "Component" | "Tabs" | "Text" | "Link" | "Custom" | "Image" | "Code" | "Table" | "Divider" | "Quote" | "Callout" | "Embed" | "Heading" | "UnorderedList" | "OrderedList" | "Shortcuts" | "FigmaEmbed" | "YoutubeEmbed" | "StorybookEmbed" | "TokenGroup" | "TokenList" | "ComponentGroup" | "ComponentSandbox" | "FigmaFrames" | "ComponentAssets" | "RenderCode" | "TabItem" | "TableRow" | "TableCell";
14361
+ type: "Custom" | "Theme" | "Token" | "Component" | "Tabs" | "Text" | "Link" | "Image" | "Code" | "Table" | "Divider" | "Quote" | "Callout" | "Embed" | "Heading" | "UnorderedList" | "OrderedList" | "Shortcuts" | "FigmaEmbed" | "YoutubeEmbed" | "StorybookEmbed" | "TokenGroup" | "TokenList" | "ComponentGroup" | "ComponentSandbox" | "FigmaFrames" | "ComponentAssets" | "RenderCode" | "TabItem" | "TableRow" | "TableCell";
10922
14362
  url?: string | null | undefined;
10923
14363
  asset?: {
10924
14364
  type: "image" | "figmaFrame";
@@ -11101,7 +14541,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<z.objectUtil.extendShape<Omit<
11101
14541
  } & {
11102
14542
  children: ({
11103
14543
  persistentId: string;
11104
- type: "Theme" | "Token" | "Component" | "Tabs" | "Text" | "Link" | "Custom" | "Image" | "Code" | "Table" | "Divider" | "Quote" | "Callout" | "Embed" | "Heading" | "UnorderedList" | "OrderedList" | "Shortcuts" | "FigmaEmbed" | "YoutubeEmbed" | "StorybookEmbed" | "TokenGroup" | "TokenList" | "ComponentGroup" | "ComponentSandbox" | "FigmaFrames" | "ComponentAssets" | "RenderCode" | "TabItem" | "TableRow" | "TableCell";
14544
+ type: "Custom" | "Theme" | "Token" | "Component" | "Tabs" | "Text" | "Link" | "Image" | "Code" | "Table" | "Divider" | "Quote" | "Callout" | "Embed" | "Heading" | "UnorderedList" | "OrderedList" | "Shortcuts" | "FigmaEmbed" | "YoutubeEmbed" | "StorybookEmbed" | "TokenGroup" | "TokenList" | "ComponentGroup" | "ComponentSandbox" | "FigmaFrames" | "ComponentAssets" | "RenderCode" | "TabItem" | "TableRow" | "TableCell";
11105
14545
  url?: string | null | undefined;
11106
14546
  asset?: {
11107
14547
  type: "image" | "figmaFrame";
@@ -11447,7 +14887,7 @@ declare const DTODocumentationPageV2: z.ZodObject<z.objectUtil.extendShape<Omit<
11447
14887
  }, {
11448
14888
  oldBlocks: z.ZodOptional<z.ZodArray<z.ZodType<_supernova_studio_model.PageBlockV1, z.ZodTypeDef, {
11449
14889
  persistentId: string;
11450
- type: "Theme" | "Token" | "Component" | "Tabs" | "Text" | "Link" | "Custom" | "Image" | "Code" | "Table" | "Divider" | "Quote" | "Callout" | "Embed" | "Heading" | "UnorderedList" | "OrderedList" | "Shortcuts" | "FigmaEmbed" | "YoutubeEmbed" | "StorybookEmbed" | "TokenGroup" | "TokenList" | "ComponentGroup" | "ComponentSandbox" | "FigmaFrames" | "ComponentAssets" | "RenderCode" | "TabItem" | "TableRow" | "TableCell";
14890
+ type: "Custom" | "Theme" | "Token" | "Component" | "Tabs" | "Text" | "Link" | "Image" | "Code" | "Table" | "Divider" | "Quote" | "Callout" | "Embed" | "Heading" | "UnorderedList" | "OrderedList" | "Shortcuts" | "FigmaEmbed" | "YoutubeEmbed" | "StorybookEmbed" | "TokenGroup" | "TokenList" | "ComponentGroup" | "ComponentSandbox" | "FigmaFrames" | "ComponentAssets" | "RenderCode" | "TabItem" | "TableRow" | "TableCell";
11451
14891
  url?: string | null | undefined;
11452
14892
  asset?: {
11453
14893
  type: "image" | "figmaFrame";
@@ -11699,7 +15139,7 @@ declare const DTODocumentationPageV2: z.ZodObject<z.objectUtil.extendShape<Omit<
11699
15139
  } | null | undefined;
11700
15140
  oldBlocks?: ({
11701
15141
  persistentId: string;
11702
- type: "Theme" | "Token" | "Component" | "Tabs" | "Text" | "Link" | "Custom" | "Image" | "Code" | "Table" | "Divider" | "Quote" | "Callout" | "Embed" | "Heading" | "UnorderedList" | "OrderedList" | "Shortcuts" | "FigmaEmbed" | "YoutubeEmbed" | "StorybookEmbed" | "TokenGroup" | "TokenList" | "ComponentGroup" | "ComponentSandbox" | "FigmaFrames" | "ComponentAssets" | "RenderCode" | "TabItem" | "TableRow" | "TableCell";
15142
+ type: "Custom" | "Theme" | "Token" | "Component" | "Tabs" | "Text" | "Link" | "Image" | "Code" | "Table" | "Divider" | "Quote" | "Callout" | "Embed" | "Heading" | "UnorderedList" | "OrderedList" | "Shortcuts" | "FigmaEmbed" | "YoutubeEmbed" | "StorybookEmbed" | "TokenGroup" | "TokenList" | "ComponentGroup" | "ComponentSandbox" | "FigmaFrames" | "ComponentAssets" | "RenderCode" | "TabItem" | "TableRow" | "TableCell";
11703
15143
  url?: string | null | undefined;
11704
15144
  asset?: {
11705
15145
  type: "image" | "figmaFrame";
@@ -12322,7 +15762,7 @@ declare const DTODocumentationPageStructureV2: z.ZodObject<z.objectUtil.extendSh
12322
15762
  }, {
12323
15763
  oldBlocks: z.ZodOptional<z.ZodArray<z.ZodType<_supernova_studio_model.PageBlockV1, z.ZodTypeDef, {
12324
15764
  persistentId: string;
12325
- type: "Theme" | "Token" | "Component" | "Tabs" | "Text" | "Link" | "Custom" | "Image" | "Code" | "Table" | "Divider" | "Quote" | "Callout" | "Embed" | "Heading" | "UnorderedList" | "OrderedList" | "Shortcuts" | "FigmaEmbed" | "YoutubeEmbed" | "StorybookEmbed" | "TokenGroup" | "TokenList" | "ComponentGroup" | "ComponentSandbox" | "FigmaFrames" | "ComponentAssets" | "RenderCode" | "TabItem" | "TableRow" | "TableCell";
15765
+ type: "Custom" | "Theme" | "Token" | "Component" | "Tabs" | "Text" | "Link" | "Image" | "Code" | "Table" | "Divider" | "Quote" | "Callout" | "Embed" | "Heading" | "UnorderedList" | "OrderedList" | "Shortcuts" | "FigmaEmbed" | "YoutubeEmbed" | "StorybookEmbed" | "TokenGroup" | "TokenList" | "ComponentGroup" | "ComponentSandbox" | "FigmaFrames" | "ComponentAssets" | "RenderCode" | "TabItem" | "TableRow" | "TableCell";
12326
15766
  url?: string | null | undefined;
12327
15767
  asset?: {
12328
15768
  type: "image" | "figmaFrame";
@@ -12574,7 +16014,7 @@ declare const DTODocumentationPageStructureV2: z.ZodObject<z.objectUtil.extendSh
12574
16014
  } | null | undefined;
12575
16015
  oldBlocks?: ({
12576
16016
  persistentId: string;
12577
- type: "Theme" | "Token" | "Component" | "Tabs" | "Text" | "Link" | "Custom" | "Image" | "Code" | "Table" | "Divider" | "Quote" | "Callout" | "Embed" | "Heading" | "UnorderedList" | "OrderedList" | "Shortcuts" | "FigmaEmbed" | "YoutubeEmbed" | "StorybookEmbed" | "TokenGroup" | "TokenList" | "ComponentGroup" | "ComponentSandbox" | "FigmaFrames" | "ComponentAssets" | "RenderCode" | "TabItem" | "TableRow" | "TableCell";
16017
+ type: "Custom" | "Theme" | "Token" | "Component" | "Tabs" | "Text" | "Link" | "Image" | "Code" | "Table" | "Divider" | "Quote" | "Callout" | "Embed" | "Heading" | "UnorderedList" | "OrderedList" | "Shortcuts" | "FigmaEmbed" | "YoutubeEmbed" | "StorybookEmbed" | "TokenGroup" | "TokenList" | "ComponentGroup" | "ComponentSandbox" | "FigmaFrames" | "ComponentAssets" | "RenderCode" | "TabItem" | "TableRow" | "TableCell";
12578
16018
  url?: string | null | undefined;
12579
16019
  asset?: {
12580
16020
  type: "image" | "figmaFrame";
@@ -13198,7 +16638,7 @@ declare const DTODocumentationHierarchyV2: z.ZodObject<{
13198
16638
  }, {
13199
16639
  oldBlocks: z.ZodOptional<z.ZodArray<z.ZodType<_supernova_studio_model.PageBlockV1, z.ZodTypeDef, {
13200
16640
  persistentId: string;
13201
- type: "Theme" | "Token" | "Component" | "Tabs" | "Text" | "Link" | "Custom" | "Image" | "Code" | "Table" | "Divider" | "Quote" | "Callout" | "Embed" | "Heading" | "UnorderedList" | "OrderedList" | "Shortcuts" | "FigmaEmbed" | "YoutubeEmbed" | "StorybookEmbed" | "TokenGroup" | "TokenList" | "ComponentGroup" | "ComponentSandbox" | "FigmaFrames" | "ComponentAssets" | "RenderCode" | "TabItem" | "TableRow" | "TableCell";
16641
+ type: "Custom" | "Theme" | "Token" | "Component" | "Tabs" | "Text" | "Link" | "Image" | "Code" | "Table" | "Divider" | "Quote" | "Callout" | "Embed" | "Heading" | "UnorderedList" | "OrderedList" | "Shortcuts" | "FigmaEmbed" | "YoutubeEmbed" | "StorybookEmbed" | "TokenGroup" | "TokenList" | "ComponentGroup" | "ComponentSandbox" | "FigmaFrames" | "ComponentAssets" | "RenderCode" | "TabItem" | "TableRow" | "TableCell";
13202
16642
  url?: string | null | undefined;
13203
16643
  asset?: {
13204
16644
  type: "image" | "figmaFrame";
@@ -13450,7 +16890,7 @@ declare const DTODocumentationHierarchyV2: z.ZodObject<{
13450
16890
  } | null | undefined;
13451
16891
  oldBlocks?: ({
13452
16892
  persistentId: string;
13453
- type: "Theme" | "Token" | "Component" | "Tabs" | "Text" | "Link" | "Custom" | "Image" | "Code" | "Table" | "Divider" | "Quote" | "Callout" | "Embed" | "Heading" | "UnorderedList" | "OrderedList" | "Shortcuts" | "FigmaEmbed" | "YoutubeEmbed" | "StorybookEmbed" | "TokenGroup" | "TokenList" | "ComponentGroup" | "ComponentSandbox" | "FigmaFrames" | "ComponentAssets" | "RenderCode" | "TabItem" | "TableRow" | "TableCell";
16893
+ type: "Custom" | "Theme" | "Token" | "Component" | "Tabs" | "Text" | "Link" | "Image" | "Code" | "Table" | "Divider" | "Quote" | "Callout" | "Embed" | "Heading" | "UnorderedList" | "OrderedList" | "Shortcuts" | "FigmaEmbed" | "YoutubeEmbed" | "StorybookEmbed" | "TokenGroup" | "TokenList" | "ComponentGroup" | "ComponentSandbox" | "FigmaFrames" | "ComponentAssets" | "RenderCode" | "TabItem" | "TableRow" | "TableCell";
13454
16894
  url?: string | null | undefined;
13455
16895
  asset?: {
13456
16896
  type: "image" | "figmaFrame";
@@ -16173,8 +19613,8 @@ declare const DTOPropertyDefinitionUpdateActionInputV2: z.ZodObject<{
16173
19613
  value: string;
16174
19614
  } | undefined;
16175
19615
  }[] | undefined;
16176
- name?: string | undefined;
16177
19616
  description?: string | undefined;
19617
+ name?: string | undefined;
16178
19618
  codeName?: string | undefined;
16179
19619
  }, {
16180
19620
  id: string;
@@ -16185,8 +19625,8 @@ declare const DTOPropertyDefinitionUpdateActionInputV2: z.ZodObject<{
16185
19625
  value: string;
16186
19626
  } | undefined;
16187
19627
  }[] | undefined;
16188
- name?: string | undefined;
16189
19628
  description?: string | undefined;
19629
+ name?: string | undefined;
16190
19630
  codeName?: string | undefined;
16191
19631
  }>;
16192
19632
  }, "strip", z.ZodTypeAny, {
@@ -16200,8 +19640,8 @@ declare const DTOPropertyDefinitionUpdateActionInputV2: z.ZodObject<{
16200
19640
  value: string;
16201
19641
  } | undefined;
16202
19642
  }[] | undefined;
16203
- name?: string | undefined;
16204
19643
  description?: string | undefined;
19644
+ name?: string | undefined;
16205
19645
  codeName?: string | undefined;
16206
19646
  };
16207
19647
  }, {
@@ -16215,8 +19655,8 @@ declare const DTOPropertyDefinitionUpdateActionInputV2: z.ZodObject<{
16215
19655
  value: string;
16216
19656
  } | undefined;
16217
19657
  }[] | undefined;
16218
- name?: string | undefined;
16219
19658
  description?: string | undefined;
19659
+ name?: string | undefined;
16220
19660
  codeName?: string | undefined;
16221
19661
  };
16222
19662
  }>;
@@ -16563,8 +20003,8 @@ declare const DTOUpdateElementPropertyDefinitionInputV2: z.ZodObject<{
16563
20003
  value: string;
16564
20004
  } | undefined;
16565
20005
  }[] | undefined;
16566
- name?: string | undefined;
16567
20006
  description?: string | undefined;
20007
+ name?: string | undefined;
16568
20008
  codeName?: string | undefined;
16569
20009
  }, {
16570
20010
  id: string;
@@ -16575,8 +20015,8 @@ declare const DTOUpdateElementPropertyDefinitionInputV2: z.ZodObject<{
16575
20015
  value: string;
16576
20016
  } | undefined;
16577
20017
  }[] | undefined;
16578
- name?: string | undefined;
16579
20018
  description?: string | undefined;
20019
+ name?: string | undefined;
16580
20020
  codeName?: string | undefined;
16581
20021
  }>;
16582
20022
  type DTOUpdateElementPropertyDefinitionInputV2 = z.infer<typeof DTOUpdateElementPropertyDefinitionInputV2>;
@@ -19177,8 +22617,8 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
19177
22617
  value: string;
19178
22618
  } | undefined;
19179
22619
  }[] | undefined;
19180
- name?: string | undefined;
19181
22620
  description?: string | undefined;
22621
+ name?: string | undefined;
19182
22622
  codeName?: string | undefined;
19183
22623
  }, {
19184
22624
  id: string;
@@ -19189,8 +22629,8 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
19189
22629
  value: string;
19190
22630
  } | undefined;
19191
22631
  }[] | undefined;
19192
- name?: string | undefined;
19193
22632
  description?: string | undefined;
22633
+ name?: string | undefined;
19194
22634
  codeName?: string | undefined;
19195
22635
  }>;
19196
22636
  }, "strip", z.ZodTypeAny, {
@@ -19204,8 +22644,8 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
19204
22644
  value: string;
19205
22645
  } | undefined;
19206
22646
  }[] | undefined;
19207
- name?: string | undefined;
19208
22647
  description?: string | undefined;
22648
+ name?: string | undefined;
19209
22649
  codeName?: string | undefined;
19210
22650
  };
19211
22651
  }, {
@@ -19219,8 +22659,8 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
19219
22659
  value: string;
19220
22660
  } | undefined;
19221
22661
  }[] | undefined;
19222
- name?: string | undefined;
19223
22662
  description?: string | undefined;
22663
+ name?: string | undefined;
19224
22664
  codeName?: string | undefined;
19225
22665
  };
19226
22666
  }>, z.ZodObject<{
@@ -20984,7 +24424,7 @@ declare const DTOIntegration: z.ZodObject<{
20984
24424
  }>, "many">>;
20985
24425
  }, "strip", z.ZodTypeAny, {
20986
24426
  id: string;
20987
- type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure" | "TokenStudio" | "FigmaVariablesPlugin";
24427
+ type: "Figma" | "TokenStudio" | "FigmaVariablesPlugin" | "Github" | "Gitlab" | "Bitbucket" | "Azure";
20988
24428
  workspaceId: string;
20989
24429
  createdAt: Date;
20990
24430
  integrationCredentials?: {
@@ -21024,7 +24464,7 @@ declare const DTOIntegration: z.ZodObject<{
21024
24464
  }[] | undefined;
21025
24465
  }, {
21026
24466
  id: string;
21027
- type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure" | "TokenStudio" | "FigmaVariablesPlugin";
24467
+ type: "Figma" | "TokenStudio" | "FigmaVariablesPlugin" | "Github" | "Gitlab" | "Bitbucket" | "Azure";
21028
24468
  workspaceId: string;
21029
24469
  createdAt: Date;
21030
24470
  integrationCredentials?: {
@@ -21205,7 +24645,7 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
21205
24645
  }>, "many">>;
21206
24646
  }, "strip", z.ZodTypeAny, {
21207
24647
  id: string;
21208
- type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure" | "TokenStudio" | "FigmaVariablesPlugin";
24648
+ type: "Figma" | "TokenStudio" | "FigmaVariablesPlugin" | "Github" | "Gitlab" | "Bitbucket" | "Azure";
21209
24649
  workspaceId: string;
21210
24650
  createdAt: Date;
21211
24651
  integrationCredentials?: {
@@ -21245,7 +24685,7 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
21245
24685
  }[] | undefined;
21246
24686
  }, {
21247
24687
  id: string;
21248
- type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure" | "TokenStudio" | "FigmaVariablesPlugin";
24688
+ type: "Figma" | "TokenStudio" | "FigmaVariablesPlugin" | "Github" | "Gitlab" | "Bitbucket" | "Azure";
21249
24689
  workspaceId: string;
21250
24690
  createdAt: Date;
21251
24691
  integrationCredentials?: {
@@ -21287,7 +24727,7 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
21287
24727
  }, "strip", z.ZodTypeAny, {
21288
24728
  integration: {
21289
24729
  id: string;
21290
- type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure" | "TokenStudio" | "FigmaVariablesPlugin";
24730
+ type: "Figma" | "TokenStudio" | "FigmaVariablesPlugin" | "Github" | "Gitlab" | "Bitbucket" | "Azure";
21291
24731
  workspaceId: string;
21292
24732
  createdAt: Date;
21293
24733
  integrationCredentials?: {
@@ -21329,7 +24769,7 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
21329
24769
  }, {
21330
24770
  integration: {
21331
24771
  id: string;
21332
- type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure" | "TokenStudio" | "FigmaVariablesPlugin";
24772
+ type: "Figma" | "TokenStudio" | "FigmaVariablesPlugin" | "Github" | "Gitlab" | "Bitbucket" | "Azure";
21333
24773
  workspaceId: string;
21334
24774
  createdAt: Date;
21335
24775
  integrationCredentials?: {
@@ -21503,7 +24943,7 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
21503
24943
  }>, "many">>;
21504
24944
  }, "strip", z.ZodTypeAny, {
21505
24945
  id: string;
21506
- type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure" | "TokenStudio" | "FigmaVariablesPlugin";
24946
+ type: "Figma" | "TokenStudio" | "FigmaVariablesPlugin" | "Github" | "Gitlab" | "Bitbucket" | "Azure";
21507
24947
  workspaceId: string;
21508
24948
  createdAt: Date;
21509
24949
  integrationCredentials?: {
@@ -21543,7 +24983,7 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
21543
24983
  }[] | undefined;
21544
24984
  }, {
21545
24985
  id: string;
21546
- type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure" | "TokenStudio" | "FigmaVariablesPlugin";
24986
+ type: "Figma" | "TokenStudio" | "FigmaVariablesPlugin" | "Github" | "Gitlab" | "Bitbucket" | "Azure";
21547
24987
  workspaceId: string;
21548
24988
  createdAt: Date;
21549
24989
  integrationCredentials?: {
@@ -21585,7 +25025,7 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
21585
25025
  }, "strip", z.ZodTypeAny, {
21586
25026
  integrations: {
21587
25027
  id: string;
21588
- type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure" | "TokenStudio" | "FigmaVariablesPlugin";
25028
+ type: "Figma" | "TokenStudio" | "FigmaVariablesPlugin" | "Github" | "Gitlab" | "Bitbucket" | "Azure";
21589
25029
  workspaceId: string;
21590
25030
  createdAt: Date;
21591
25031
  integrationCredentials?: {
@@ -21627,7 +25067,7 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
21627
25067
  }, {
21628
25068
  integrations: {
21629
25069
  id: string;
21630
- type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure" | "TokenStudio" | "FigmaVariablesPlugin";
25070
+ type: "Figma" | "TokenStudio" | "FigmaVariablesPlugin" | "Github" | "Gitlab" | "Bitbucket" | "Azure";
21631
25071
  workspaceId: string;
21632
25072
  createdAt: Date;
21633
25073
  integrationCredentials?: {
@@ -22528,7 +25968,7 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
22528
25968
  }, "strip", z.ZodTypeAny, {
22529
25969
  enabledScopes: string[];
22530
25970
  bypassProxy: boolean;
22531
- registryType: "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory" | "Custom";
25971
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
22532
25972
  authType: "Custom" | "Basic" | "Bearer" | "None";
22533
25973
  registryUrl: string;
22534
25974
  proxyUrl: string;
@@ -22539,7 +25979,7 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
22539
25979
  }, {
22540
25980
  enabledScopes: string[];
22541
25981
  bypassProxy: boolean;
22542
- registryType: "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory" | "Custom";
25982
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
22543
25983
  authType: "Custom" | "Basic" | "Bearer" | "None";
22544
25984
  registryUrl: string;
22545
25985
  proxyUrl: string;
@@ -22703,7 +26143,7 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
22703
26143
  npmRegistry?: {
22704
26144
  enabledScopes: string[];
22705
26145
  bypassProxy: boolean;
22706
- registryType: "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory" | "Custom";
26146
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
22707
26147
  authType: "Custom" | "Basic" | "Bearer" | "None";
22708
26148
  registryUrl: string;
22709
26149
  proxyUrl: string;
@@ -22867,7 +26307,7 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
22867
26307
  npmRegistry?: {
22868
26308
  enabledScopes: string[];
22869
26309
  bypassProxy: boolean;
22870
- registryType: "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory" | "Custom";
26310
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
22871
26311
  authType: "Custom" | "Basic" | "Bearer" | "None";
22872
26312
  registryUrl: string;
22873
26313
  proxyUrl: string;
@@ -23035,7 +26475,7 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
23035
26475
  npmRegistry?: {
23036
26476
  enabledScopes: string[];
23037
26477
  bypassProxy: boolean;
23038
- registryType: "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory" | "Custom";
26478
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
23039
26479
  authType: "Custom" | "Basic" | "Bearer" | "None";
23040
26480
  registryUrl: string;
23041
26481
  proxyUrl: string;
@@ -23203,7 +26643,7 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
23203
26643
  npmRegistry?: {
23204
26644
  enabledScopes: string[];
23205
26645
  bypassProxy: boolean;
23206
- registryType: "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory" | "Custom";
26646
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
23207
26647
  authType: "Custom" | "Basic" | "Bearer" | "None";
23208
26648
  registryUrl: string;
23209
26649
  proxyUrl: string;
@@ -24075,7 +27515,7 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
24075
27515
  }, "strip", z.ZodTypeAny, {
24076
27516
  enabledScopes: string[];
24077
27517
  bypassProxy: boolean;
24078
- registryType: "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory" | "Custom";
27518
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
24079
27519
  authType: "Custom" | "Basic" | "Bearer" | "None";
24080
27520
  registryUrl: string;
24081
27521
  proxyUrl: string;
@@ -24086,7 +27526,7 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
24086
27526
  }, {
24087
27527
  enabledScopes: string[];
24088
27528
  bypassProxy: boolean;
24089
- registryType: "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory" | "Custom";
27529
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
24090
27530
  authType: "Custom" | "Basic" | "Bearer" | "None";
24091
27531
  registryUrl: string;
24092
27532
  proxyUrl: string;
@@ -24250,7 +27690,7 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
24250
27690
  npmRegistry?: {
24251
27691
  enabledScopes: string[];
24252
27692
  bypassProxy: boolean;
24253
- registryType: "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory" | "Custom";
27693
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
24254
27694
  authType: "Custom" | "Basic" | "Bearer" | "None";
24255
27695
  registryUrl: string;
24256
27696
  proxyUrl: string;
@@ -24414,7 +27854,7 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
24414
27854
  npmRegistry?: {
24415
27855
  enabledScopes: string[];
24416
27856
  bypassProxy: boolean;
24417
- registryType: "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory" | "Custom";
27857
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
24418
27858
  authType: "Custom" | "Basic" | "Bearer" | "None";
24419
27859
  registryUrl: string;
24420
27860
  proxyUrl: string;
@@ -24582,7 +28022,7 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
24582
28022
  npmRegistry?: {
24583
28023
  enabledScopes: string[];
24584
28024
  bypassProxy: boolean;
24585
- registryType: "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory" | "Custom";
28025
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
24586
28026
  authType: "Custom" | "Basic" | "Bearer" | "None";
24587
28027
  registryUrl: string;
24588
28028
  proxyUrl: string;
@@ -24750,7 +28190,7 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
24750
28190
  npmRegistry?: {
24751
28191
  enabledScopes: string[];
24752
28192
  bypassProxy: boolean;
24753
- registryType: "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory" | "Custom";
28193
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
24754
28194
  authType: "Custom" | "Basic" | "Bearer" | "None";
24755
28195
  registryUrl: string;
24756
28196
  proxyUrl: string;
@@ -24920,7 +28360,7 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
24920
28360
  npmRegistry?: {
24921
28361
  enabledScopes: string[];
24922
28362
  bypassProxy: boolean;
24923
- registryType: "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory" | "Custom";
28363
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
24924
28364
  authType: "Custom" | "Basic" | "Bearer" | "None";
24925
28365
  registryUrl: string;
24926
28366
  proxyUrl: string;
@@ -25090,7 +28530,7 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
25090
28530
  npmRegistry?: {
25091
28531
  enabledScopes: string[];
25092
28532
  bypassProxy: boolean;
25093
- registryType: "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory" | "Custom";
28533
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
25094
28534
  authType: "Custom" | "Basic" | "Bearer" | "None";
25095
28535
  registryUrl: string;
25096
28536
  proxyUrl: string;
@@ -25123,7 +28563,7 @@ declare const DTONpmRegistryConfig: z.ZodObject<{
25123
28563
  }, "strip", z.ZodTypeAny, {
25124
28564
  enabledScopes: string[];
25125
28565
  bypassProxy: boolean;
25126
- registryType: "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory" | "Custom";
28566
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
25127
28567
  authType: "Custom" | "Basic" | "Bearer" | "None";
25128
28568
  registryUrl: string;
25129
28569
  proxyUrl: string;
@@ -25134,7 +28574,7 @@ declare const DTONpmRegistryConfig: z.ZodObject<{
25134
28574
  }, {
25135
28575
  enabledScopes: string[];
25136
28576
  bypassProxy: boolean;
25137
- registryType: "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory" | "Custom";
28577
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
25138
28578
  authType: "Custom" | "Basic" | "Bearer" | "None";
25139
28579
  registryUrl: string;
25140
28580
  proxyUrl: string;
@@ -26001,7 +29441,7 @@ declare const DTOWorkspace: z.ZodObject<{
26001
29441
  }, "strip", z.ZodTypeAny, {
26002
29442
  enabledScopes: string[];
26003
29443
  bypassProxy: boolean;
26004
- registryType: "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory" | "Custom";
29444
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
26005
29445
  authType: "Custom" | "Basic" | "Bearer" | "None";
26006
29446
  registryUrl: string;
26007
29447
  proxyUrl: string;
@@ -26012,7 +29452,7 @@ declare const DTOWorkspace: z.ZodObject<{
26012
29452
  }, {
26013
29453
  enabledScopes: string[];
26014
29454
  bypassProxy: boolean;
26015
- registryType: "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory" | "Custom";
29455
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
26016
29456
  authType: "Custom" | "Basic" | "Bearer" | "None";
26017
29457
  registryUrl: string;
26018
29458
  proxyUrl: string;
@@ -26176,7 +29616,7 @@ declare const DTOWorkspace: z.ZodObject<{
26176
29616
  npmRegistry?: {
26177
29617
  enabledScopes: string[];
26178
29618
  bypassProxy: boolean;
26179
- registryType: "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory" | "Custom";
29619
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
26180
29620
  authType: "Custom" | "Basic" | "Bearer" | "None";
26181
29621
  registryUrl: string;
26182
29622
  proxyUrl: string;
@@ -26340,7 +29780,7 @@ declare const DTOWorkspace: z.ZodObject<{
26340
29780
  npmRegistry?: {
26341
29781
  enabledScopes: string[];
26342
29782
  bypassProxy: boolean;
26343
- registryType: "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory" | "Custom";
29783
+ registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
26344
29784
  authType: "Custom" | "Basic" | "Bearer" | "None";
26345
29785
  registryUrl: string;
26346
29786
  proxyUrl: string;
@@ -26421,23 +29861,23 @@ declare const DTOCreateBrandInput: z.ZodObject<{
26421
29861
  name: z.ZodString;
26422
29862
  description: z.ZodString;
26423
29863
  }, "strip", z.ZodTypeAny, {
26424
- name: string;
26425
29864
  description: string;
26426
- }, {
26427
29865
  name: string;
29866
+ }, {
26428
29867
  description: string;
29868
+ name: string;
26429
29869
  }>;
26430
29870
  }, "strip", z.ZodTypeAny, {
26431
29871
  persistentId: string;
26432
29872
  meta: {
26433
- name: string;
26434
29873
  description: string;
29874
+ name: string;
26435
29875
  };
26436
29876
  }, {
26437
29877
  persistentId: string;
26438
29878
  meta: {
26439
- name: string;
26440
29879
  description: string;
29880
+ name: string;
26441
29881
  };
26442
29882
  }>;
26443
29883
  type DTOCreateBrandInput = z.infer<typeof DTOCreateBrandInput>;
@@ -26446,11 +29886,11 @@ declare const ObjectMeta: z.ZodObject<{
26446
29886
  name: z.ZodOptional<z.ZodString>;
26447
29887
  description: z.ZodOptional<z.ZodString>;
26448
29888
  }, "strip", z.ZodTypeAny, {
26449
- name?: string | undefined;
26450
29889
  description?: string | undefined;
26451
- }, {
26452
29890
  name?: string | undefined;
29891
+ }, {
26453
29892
  description?: string | undefined;
29893
+ name?: string | undefined;
26454
29894
  }>;
26455
29895
  declare function validateDesignSystemVersion(version: string): boolean;
26456
29896
  declare const DTOCreateVersionInput: z.ZodObject<{
@@ -26458,25 +29898,25 @@ declare const DTOCreateVersionInput: z.ZodObject<{
26458
29898
  name: z.ZodOptional<z.ZodString>;
26459
29899
  description: z.ZodOptional<z.ZodString>;
26460
29900
  }, "strip", z.ZodTypeAny, {
26461
- name?: string | undefined;
26462
29901
  description?: string | undefined;
26463
- }, {
26464
29902
  name?: string | undefined;
29903
+ }, {
26465
29904
  description?: string | undefined;
29905
+ name?: string | undefined;
26466
29906
  }>;
26467
29907
  version: z.ZodEffects<z.ZodString, string, string>;
26468
29908
  changeLog: z.ZodOptional<z.ZodString>;
26469
29909
  }, "strip", z.ZodTypeAny, {
26470
29910
  meta: {
26471
- name?: string | undefined;
26472
29911
  description?: string | undefined;
29912
+ name?: string | undefined;
26473
29913
  };
26474
29914
  version: string;
26475
29915
  changeLog?: string | undefined;
26476
29916
  }, {
26477
29917
  meta: {
26478
- name?: string | undefined;
26479
29918
  description?: string | undefined;
29919
+ name?: string | undefined;
26480
29920
  };
26481
29921
  version: string;
26482
29922
  changeLog?: string | undefined;
@@ -26487,25 +29927,25 @@ declare const DTOUpdateVersionInput: z.ZodObject<{
26487
29927
  name: z.ZodOptional<z.ZodString>;
26488
29928
  description: z.ZodOptional<z.ZodString>;
26489
29929
  }, "strip", z.ZodTypeAny, {
26490
- name?: string | undefined;
26491
29930
  description?: string | undefined;
26492
- }, {
26493
29931
  name?: string | undefined;
29932
+ }, {
26494
29933
  description?: string | undefined;
29934
+ name?: string | undefined;
26495
29935
  }>;
26496
29936
  version: z.ZodString;
26497
29937
  changeLog: z.ZodString;
26498
29938
  }, "strip", z.ZodTypeAny, {
26499
29939
  meta: {
26500
- name?: string | undefined;
26501
29940
  description?: string | undefined;
29941
+ name?: string | undefined;
26502
29942
  };
26503
29943
  version: string;
26504
29944
  changeLog: string;
26505
29945
  }, {
26506
29946
  meta: {
26507
- name?: string | undefined;
26508
29947
  description?: string | undefined;
29948
+ name?: string | undefined;
26509
29949
  };
26510
29950
  version: string;
26511
29951
  changeLog: string;
@@ -30182,4 +33622,4 @@ declare const BlockDefinitionUtils: {
30182
33622
  };
30183
33623
  };
30184
33624
 
30185
- export { BlockDefinitionUtils, BlockParsingUtils, DTOBrand, DTOBrandCreateResponse, DTOBrandGetResponse, DTOBrandsListResponse, DTOCreateBrandInput, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabInput, DTOCreateElementPropertyDefinitionInputV2, DTOCreateVersionInput, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODeleteElementPropertyDefinitionInputV2, DTODesignSystem, DTODesignSystemVersion, DTODesignSystemVersionCreationResponse, DTODesignSystemVersionGetResponse, DTODesignSystemVersionJobStatusResponse, DTODesignSystemVersionJobsResponse, DTODesignSystemVersionsListResponse, DTODocumentationGroupCreateActionInputV2, DTODocumentationGroupCreateActionOutputV2, DTODocumentationGroupDeleteActionInputV2, DTODocumentationGroupDeleteActionOutputV2, DTODocumentationGroupDuplicateActionInputV2, DTODocumentationGroupDuplicateActionOutputV2, DTODocumentationGroupMoveActionInputV2, DTODocumentationGroupMoveActionOutputV2, DTODocumentationGroupStructureV1, DTODocumentationGroupStructureV2, DTODocumentationGroupUpdateActionInputV2, DTODocumentationGroupUpdateActionOutputV2, DTODocumentationGroupV1, DTODocumentationGroupV2, DTODocumentationHierarchyV2, DTODocumentationItemConfigurationV1, DTODocumentationItemConfigurationV2, DTODocumentationItemHeaderV2, DTODocumentationLinkPreviewRequest, DTODocumentationLinkPreviewResponse, DTODocumentationPageAnchor, DTODocumentationPageContent, DTODocumentationPageContentGetResponse, DTODocumentationPageCreateActionInputV2, DTODocumentationPageCreateActionOutputV2, DTODocumentationPageDeleteActionInputV2, DTODocumentationPageDeleteActionOutputV2, DTODocumentationPageDuplicateActionInputV2, DTODocumentationPageDuplicateActionOutputV2, DTODocumentationPageMoveActionInputV2, DTODocumentationPageMoveActionOutputV2, DTODocumentationPageRoomHeaderData, DTODocumentationPageRoomHeaderDataUpdate, DTODocumentationPageStructureV2, DTODocumentationPageUpdateActionInputV2, DTODocumentationPageUpdateActionOutputV2, DTODocumentationPageV2, DTODocumentationTabCreateActionInputV2, DTODocumentationTabCreateActionOutputV2, type DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupDeleteActionInputV2, DTODocumentationTabGroupDeleteActionOutputV2, DTODuplicateDocumentationGroupInput, DTODuplicateDocumentationPageInputV2, DTOElementActionInput, DTOElementActionOutput, DTOElementPropertyDefinition, DTOElementPropertyDefinitionsGetResponse, DTOElementPropertyValue, DTOElementPropertyValuesGetResponse, DTOElementView, DTOElementViewBasePropertyColumn, DTOElementViewColumn, DTOElementViewColumnSharedAttributes, DTOElementViewPropertyDefinitionColumn, DTOElementViewThemeColumn, DTOElementViewsListResponse, DTOElementsGetOutput, type DTOElementsGetQueryParsed, type DTOElementsGetQueryRaw, DTOElementsGetQuerySchema, DTOElementsGetTypeFilter, DTOExportJob, DTOExportJobCreatedBy, DTOExportJobDesignSystemPreview, DTOExportJobDesignSystemVersionPreview, DTOExportJobDestinations, DTOExporterProperty, DTOExporterPropertyListResponse, DTOFigmaNode, DTOFigmaNodeData, DTOFigmaNodeOrigin, DTOFigmaNodeRenderActionInput, DTOFigmaNodeRenderActionOutput, DTOFigmaNodeRenderInput, DTOGetBlockDefinitionsOutput, DTOGetDocumentationPageAnchorsResponse, DTOGitBranch, DTOGitOrganization, DTOGitProject, DTOGitRepository, DTOIntegration, DTOIntegrationOAuthGetResponse, DTOIntegrationPostResponse, DTOIntegrationsGetListResponse, DTOLiveblocksAuthRequest, DTOLiveblocksAuthResponse, DTOMoveDocumentationGroupInput, DTOMoveDocumentationPageInputV2, DTONpmRegistryConfig, DTONpmRegistryConfigConstants, DTOPropertyDefinitionCreateActionInputV2, DTOPropertyDefinitionCreateActionOutputV2, DTOPropertyDefinitionDeleteActionInputV2, DTOPropertyDefinitionDeleteActionOutputV2, DTOPropertyDefinitionUpdateActionInputV2, DTOPropertyDefinitionUpdateActionOutputV2, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DTOUpdateElementPropertyDefinitionInputV2, DTOUpdateUserNotificationSettingsPayload, DTOUpdateVersionInput, DTOUserNotificationSettingsResponse, DTOUserProfileUpdatePayload, DTOUserProfileUpdateResponse, DTOUserWorkspaceMembership, DTOUserWorkspaceMembershipsResponse, DTOWorkspace, DTOWorkspaceIntegrationGetGitObjectsInput, DTOWorkspaceIntegrationOauthInput, DTOWorkspaceIntegrationPATInput, DTOWorkspaceRole, DocumentationHierarchySettings, DocumentationPageEditorModel, DocumentationPageV1DTO, type ListItemNode, type ListNode, ListTreeBuilder, NpmRegistryInput, ObjectMeta, PageBlockEditorModel, PageSectionEditorModel, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, VersionSQSPayload, WorkspaceConfigurationPayload, applyPrivacyConfigurationToNestedItems, blockToProsemirrorNode, buildDocPagePublishPaths, calculateElementParentChain, documentationElementsToHierarchyDto, documentationHierarchyToYjs, documentationItemConfigurationToDTOV1, documentationItemConfigurationToDTOV2, documentationPagesFixedConfigurationToDTOV1, documentationPagesFixedConfigurationToDTOV2, documentationPagesToDTOV1, documentationPagesToDTOV2, documentationPagesToStructureDTOV2, elementGroupsToDocumentationGroupDTOV1, elementGroupsToDocumentationGroupDTOV2, elementGroupsToDocumentationGroupFixedConfigurationDTOV1, elementGroupsToDocumentationGroupFixedConfigurationDTOV2, elementGroupsToDocumentationGroupStructureDTOV1, elementGroupsToDocumentationGroupStructureDTOV2, getDtoDefaultItemConfigurationV1, getDtoDefaultItemConfigurationV2, getMockPageBlockDefinitions, gitBranchToDto, gitOrganizationToDto, gitProjectToDto, gitRepositoryToDto, integrationToDto, itemConfigurationToYjs, pageToProsemirrorDoc, pageToYXmlFragment, pmSchema, prosemirrorDocToPage, prosemirrorNodeToSection, prosemirrorNodesToBlocks, serializeAsCustomBlock, shallowProsemirrorNodeToBlock, validateDesignSystemVersion, validateSsoPayload, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };
33625
+ export { BlockDefinitionUtils, BlockParsingUtils, DTOBrand, DTOBrandCreateResponse, DTOBrandGetResponse, DTOBrandsListResponse, DTOCreateBrandInput, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabInput, DTOCreateElementPropertyDefinitionInputV2, DTOCreateVersionInput, DTODataSource, DTODataSourceCreationResponse, DTODataSourceFigma, DTODataSourceFigmaCloud, DTODataSourceFigmaVariablesPlugin, DTODataSourceTokenStudio, DTODataSourcesListResponse, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODeleteElementPropertyDefinitionInputV2, DTODesignSystem, DTODesignSystemVersion, DTODesignSystemVersionCreationResponse, DTODesignSystemVersionGetResponse, DTODesignSystemVersionJobStatusResponse, DTODesignSystemVersionJobsResponse, DTODesignSystemVersionsListResponse, DTODocumentationGroupCreateActionInputV2, DTODocumentationGroupCreateActionOutputV2, DTODocumentationGroupDeleteActionInputV2, DTODocumentationGroupDeleteActionOutputV2, DTODocumentationGroupDuplicateActionInputV2, DTODocumentationGroupDuplicateActionOutputV2, DTODocumentationGroupMoveActionInputV2, DTODocumentationGroupMoveActionOutputV2, DTODocumentationGroupStructureV1, DTODocumentationGroupStructureV2, DTODocumentationGroupUpdateActionInputV2, DTODocumentationGroupUpdateActionOutputV2, DTODocumentationGroupV1, DTODocumentationGroupV2, DTODocumentationHierarchyV2, DTODocumentationItemConfigurationV1, DTODocumentationItemConfigurationV2, DTODocumentationItemHeaderV2, DTODocumentationLinkPreviewRequest, DTODocumentationLinkPreviewResponse, DTODocumentationPageAnchor, DTODocumentationPageContent, DTODocumentationPageContentGetResponse, DTODocumentationPageCreateActionInputV2, DTODocumentationPageCreateActionOutputV2, DTODocumentationPageDeleteActionInputV2, DTODocumentationPageDeleteActionOutputV2, DTODocumentationPageDuplicateActionInputV2, DTODocumentationPageDuplicateActionOutputV2, DTODocumentationPageMoveActionInputV2, DTODocumentationPageMoveActionOutputV2, DTODocumentationPageRoomHeaderData, DTODocumentationPageRoomHeaderDataUpdate, DTODocumentationPageStructureV2, DTODocumentationPageUpdateActionInputV2, DTODocumentationPageUpdateActionOutputV2, DTODocumentationPageV2, DTODocumentationTabCreateActionInputV2, DTODocumentationTabCreateActionOutputV2, type DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupDeleteActionInputV2, DTODocumentationTabGroupDeleteActionOutputV2, DTODuplicateDocumentationGroupInput, DTODuplicateDocumentationPageInputV2, DTOElementActionInput, DTOElementActionOutput, DTOElementPropertyDefinition, DTOElementPropertyDefinitionsGetResponse, DTOElementPropertyValue, DTOElementPropertyValuesGetResponse, DTOElementView, DTOElementViewBasePropertyColumn, DTOElementViewColumn, DTOElementViewColumnSharedAttributes, DTOElementViewPropertyDefinitionColumn, DTOElementViewThemeColumn, DTOElementViewsListResponse, DTOElementsGetOutput, type DTOElementsGetQueryParsed, type DTOElementsGetQueryRaw, DTOElementsGetQuerySchema, DTOElementsGetTypeFilter, DTOExportJob, DTOExportJobCreatedBy, DTOExportJobDesignSystemPreview, DTOExportJobDesignSystemVersionPreview, DTOExportJobDestinations, DTOExporterProperty, DTOExporterPropertyListResponse, DTOFigmaNode, DTOFigmaNodeData, DTOFigmaNodeOrigin, DTOFigmaNodeRenderActionInput, DTOFigmaNodeRenderActionOutput, DTOFigmaNodeRenderInput, DTOGetBlockDefinitionsOutput, DTOGetDocumentationPageAnchorsResponse, DTOGitBranch, DTOGitOrganization, DTOGitProject, DTOGitRepository, DTOIntegration, DTOIntegrationOAuthGetResponse, DTOIntegrationPostResponse, DTOIntegrationsGetListResponse, DTOLiveblocksAuthRequest, DTOLiveblocksAuthResponse, DTOMoveDocumentationGroupInput, DTOMoveDocumentationPageInputV2, DTONpmRegistryConfig, DTONpmRegistryConfigConstants, DTOPropertyDefinitionCreateActionInputV2, DTOPropertyDefinitionCreateActionOutputV2, DTOPropertyDefinitionDeleteActionInputV2, DTOPropertyDefinitionDeleteActionOutputV2, DTOPropertyDefinitionUpdateActionInputV2, DTOPropertyDefinitionUpdateActionOutputV2, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DTOUpdateElementPropertyDefinitionInputV2, DTOUpdateUserNotificationSettingsPayload, DTOUpdateVersionInput, DTOUserNotificationSettingsResponse, DTOUserProfileUpdatePayload, DTOUserProfileUpdateResponse, DTOUserWorkspaceMembership, DTOUserWorkspaceMembershipsResponse, DTOWorkspace, DTOWorkspaceIntegrationGetGitObjectsInput, DTOWorkspaceIntegrationOauthInput, DTOWorkspaceIntegrationPATInput, DTOWorkspaceRole, DocumentationHierarchySettings, DocumentationPageEditorModel, DocumentationPageV1DTO, type ListItemNode, type ListNode, ListTreeBuilder, NpmRegistryInput, ObjectMeta, PageBlockEditorModel, PageSectionEditorModel, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, VersionSQSPayload, WorkspaceConfigurationPayload, applyPrivacyConfigurationToNestedItems, blockToProsemirrorNode, buildDocPagePublishPaths, calculateElementParentChain, documentationElementsToHierarchyDto, documentationHierarchyToYjs, documentationItemConfigurationToDTOV1, documentationItemConfigurationToDTOV2, documentationPagesFixedConfigurationToDTOV1, documentationPagesFixedConfigurationToDTOV2, documentationPagesToDTOV1, documentationPagesToDTOV2, documentationPagesToStructureDTOV2, elementGroupsToDocumentationGroupDTOV1, elementGroupsToDocumentationGroupDTOV2, elementGroupsToDocumentationGroupFixedConfigurationDTOV1, elementGroupsToDocumentationGroupFixedConfigurationDTOV2, elementGroupsToDocumentationGroupStructureDTOV1, elementGroupsToDocumentationGroupStructureDTOV2, getDtoDefaultItemConfigurationV1, getDtoDefaultItemConfigurationV2, getMockPageBlockDefinitions, gitBranchToDto, gitOrganizationToDto, gitProjectToDto, gitRepositoryToDto, integrationToDto, itemConfigurationToYjs, pageToProsemirrorDoc, pageToYXmlFragment, pmSchema, prosemirrorDocToPage, prosemirrorNodeToSection, prosemirrorNodesToBlocks, serializeAsCustomBlock, shallowProsemirrorNodeToBlock, validateDesignSystemVersion, validateSsoPayload, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };