@supernova-studio/client 0.55.26 → 0.55.28

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
@@ -12287,16 +12287,39 @@ declare const DTOFigmaComponentInstanceSwapProperty: z.ZodObject<z.objectUtil.ex
12287
12287
  }, {
12288
12288
  type: z.ZodLiteral<"InstanceSwap">;
12289
12289
  defaultValue: z.ZodString;
12290
+ defaultValuePreview: z.ZodOptional<z.ZodObject<{
12291
+ componentName: z.ZodString;
12292
+ componentSetName: z.ZodOptional<z.ZodString>;
12293
+ isRemote: z.ZodBoolean;
12294
+ }, "strip", z.ZodTypeAny, {
12295
+ componentName: string;
12296
+ isRemote: boolean;
12297
+ componentSetName?: string | undefined;
12298
+ }, {
12299
+ componentName: string;
12300
+ isRemote: boolean;
12301
+ componentSetName?: string | undefined;
12302
+ }>>;
12290
12303
  }>, "strip", z.ZodTypeAny, {
12291
12304
  id: string;
12292
12305
  type: "InstanceSwap";
12293
12306
  name: string;
12294
12307
  defaultValue: string;
12308
+ defaultValuePreview?: {
12309
+ componentName: string;
12310
+ isRemote: boolean;
12311
+ componentSetName?: string | undefined;
12312
+ } | undefined;
12295
12313
  }, {
12296
12314
  id: string;
12297
12315
  type: "InstanceSwap";
12298
12316
  name: string;
12299
12317
  defaultValue: string;
12318
+ defaultValuePreview?: {
12319
+ componentName: string;
12320
+ isRemote: boolean;
12321
+ componentSetName?: string | undefined;
12322
+ } | undefined;
12300
12323
  }>;
12301
12324
  type DTOFigmaComponentInstanceSwapProperty = z.infer<typeof DTOFigmaComponentInstanceSwapProperty>;
12302
12325
  declare const DTOFigmaComponentTextProperty: z.ZodObject<z.objectUtil.extendShape<{
@@ -12361,16 +12384,39 @@ declare const DTOFigmaComponentProperty: z.ZodDiscriminatedUnion<"type", [z.ZodO
12361
12384
  }, {
12362
12385
  type: z.ZodLiteral<"InstanceSwap">;
12363
12386
  defaultValue: z.ZodString;
12387
+ defaultValuePreview: z.ZodOptional<z.ZodObject<{
12388
+ componentName: z.ZodString;
12389
+ componentSetName: z.ZodOptional<z.ZodString>;
12390
+ isRemote: z.ZodBoolean;
12391
+ }, "strip", z.ZodTypeAny, {
12392
+ componentName: string;
12393
+ isRemote: boolean;
12394
+ componentSetName?: string | undefined;
12395
+ }, {
12396
+ componentName: string;
12397
+ isRemote: boolean;
12398
+ componentSetName?: string | undefined;
12399
+ }>>;
12364
12400
  }>, "strip", z.ZodTypeAny, {
12365
12401
  id: string;
12366
12402
  type: "InstanceSwap";
12367
12403
  name: string;
12368
12404
  defaultValue: string;
12405
+ defaultValuePreview?: {
12406
+ componentName: string;
12407
+ isRemote: boolean;
12408
+ componentSetName?: string | undefined;
12409
+ } | undefined;
12369
12410
  }, {
12370
12411
  id: string;
12371
12412
  type: "InstanceSwap";
12372
12413
  name: string;
12373
12414
  defaultValue: string;
12415
+ defaultValuePreview?: {
12416
+ componentName: string;
12417
+ isRemote: boolean;
12418
+ componentSetName?: string | undefined;
12419
+ } | undefined;
12374
12420
  }>, z.ZodObject<z.objectUtil.extendShape<{
12375
12421
  id: z.ZodString;
12376
12422
  name: z.ZodString;
@@ -12431,16 +12477,39 @@ declare const DTOFigmaComponentPropertyMap: z.ZodRecord<z.ZodString, z.ZodDiscri
12431
12477
  }, {
12432
12478
  type: z.ZodLiteral<"InstanceSwap">;
12433
12479
  defaultValue: z.ZodString;
12480
+ defaultValuePreview: z.ZodOptional<z.ZodObject<{
12481
+ componentName: z.ZodString;
12482
+ componentSetName: z.ZodOptional<z.ZodString>;
12483
+ isRemote: z.ZodBoolean;
12484
+ }, "strip", z.ZodTypeAny, {
12485
+ componentName: string;
12486
+ isRemote: boolean;
12487
+ componentSetName?: string | undefined;
12488
+ }, {
12489
+ componentName: string;
12490
+ isRemote: boolean;
12491
+ componentSetName?: string | undefined;
12492
+ }>>;
12434
12493
  }>, "strip", z.ZodTypeAny, {
12435
12494
  id: string;
12436
12495
  type: "InstanceSwap";
12437
12496
  name: string;
12438
12497
  defaultValue: string;
12498
+ defaultValuePreview?: {
12499
+ componentName: string;
12500
+ isRemote: boolean;
12501
+ componentSetName?: string | undefined;
12502
+ } | undefined;
12439
12503
  }, {
12440
12504
  id: string;
12441
12505
  type: "InstanceSwap";
12442
12506
  name: string;
12443
12507
  defaultValue: string;
12508
+ defaultValuePreview?: {
12509
+ componentName: string;
12510
+ isRemote: boolean;
12511
+ componentSetName?: string | undefined;
12512
+ } | undefined;
12444
12513
  }>, z.ZodObject<z.objectUtil.extendShape<{
12445
12514
  id: z.ZodString;
12446
12515
  name: z.ZodString;
@@ -12552,16 +12621,39 @@ declare const DTOFigmaComponent: z.ZodObject<{
12552
12621
  }, {
12553
12622
  type: z.ZodLiteral<"InstanceSwap">;
12554
12623
  defaultValue: z.ZodString;
12624
+ defaultValuePreview: z.ZodOptional<z.ZodObject<{
12625
+ componentName: z.ZodString;
12626
+ componentSetName: z.ZodOptional<z.ZodString>;
12627
+ isRemote: z.ZodBoolean;
12628
+ }, "strip", z.ZodTypeAny, {
12629
+ componentName: string;
12630
+ isRemote: boolean;
12631
+ componentSetName?: string | undefined;
12632
+ }, {
12633
+ componentName: string;
12634
+ isRemote: boolean;
12635
+ componentSetName?: string | undefined;
12636
+ }>>;
12555
12637
  }>, "strip", z.ZodTypeAny, {
12556
12638
  id: string;
12557
12639
  type: "InstanceSwap";
12558
12640
  name: string;
12559
12641
  defaultValue: string;
12642
+ defaultValuePreview?: {
12643
+ componentName: string;
12644
+ isRemote: boolean;
12645
+ componentSetName?: string | undefined;
12646
+ } | undefined;
12560
12647
  }, {
12561
12648
  id: string;
12562
12649
  type: "InstanceSwap";
12563
12650
  name: string;
12564
12651
  defaultValue: string;
12652
+ defaultValuePreview?: {
12653
+ componentName: string;
12654
+ isRemote: boolean;
12655
+ componentSetName?: string | undefined;
12656
+ } | undefined;
12565
12657
  }>, z.ZodObject<z.objectUtil.extendShape<{
12566
12658
  id: z.ZodString;
12567
12659
  name: z.ZodString;
@@ -12636,6 +12728,11 @@ declare const DTOFigmaComponent: z.ZodObject<{
12636
12728
  type: "InstanceSwap";
12637
12729
  name: string;
12638
12730
  defaultValue: string;
12731
+ defaultValuePreview?: {
12732
+ componentName: string;
12733
+ isRemote: boolean;
12734
+ componentSetName?: string | undefined;
12735
+ } | undefined;
12639
12736
  } | {
12640
12737
  id: string;
12641
12738
  type: "Text";
@@ -12685,6 +12782,11 @@ declare const DTOFigmaComponent: z.ZodObject<{
12685
12782
  type: "InstanceSwap";
12686
12783
  name: string;
12687
12784
  defaultValue: string;
12785
+ defaultValuePreview?: {
12786
+ componentName: string;
12787
+ isRemote: boolean;
12788
+ componentSetName?: string | undefined;
12789
+ } | undefined;
12688
12790
  } | {
12689
12791
  id: string;
12690
12792
  type: "Text";
@@ -12774,16 +12876,39 @@ declare const DTOFigmaComponentListResponse: z.ZodObject<{
12774
12876
  }, {
12775
12877
  type: z.ZodLiteral<"InstanceSwap">;
12776
12878
  defaultValue: z.ZodString;
12879
+ defaultValuePreview: z.ZodOptional<z.ZodObject<{
12880
+ componentName: z.ZodString;
12881
+ componentSetName: z.ZodOptional<z.ZodString>;
12882
+ isRemote: z.ZodBoolean;
12883
+ }, "strip", z.ZodTypeAny, {
12884
+ componentName: string;
12885
+ isRemote: boolean;
12886
+ componentSetName?: string | undefined;
12887
+ }, {
12888
+ componentName: string;
12889
+ isRemote: boolean;
12890
+ componentSetName?: string | undefined;
12891
+ }>>;
12777
12892
  }>, "strip", z.ZodTypeAny, {
12778
12893
  id: string;
12779
12894
  type: "InstanceSwap";
12780
12895
  name: string;
12781
12896
  defaultValue: string;
12897
+ defaultValuePreview?: {
12898
+ componentName: string;
12899
+ isRemote: boolean;
12900
+ componentSetName?: string | undefined;
12901
+ } | undefined;
12782
12902
  }, {
12783
12903
  id: string;
12784
12904
  type: "InstanceSwap";
12785
12905
  name: string;
12786
12906
  defaultValue: string;
12907
+ defaultValuePreview?: {
12908
+ componentName: string;
12909
+ isRemote: boolean;
12910
+ componentSetName?: string | undefined;
12911
+ } | undefined;
12787
12912
  }>, z.ZodObject<z.objectUtil.extendShape<{
12788
12913
  id: z.ZodString;
12789
12914
  name: z.ZodString;
@@ -12858,6 +12983,11 @@ declare const DTOFigmaComponentListResponse: z.ZodObject<{
12858
12983
  type: "InstanceSwap";
12859
12984
  name: string;
12860
12985
  defaultValue: string;
12986
+ defaultValuePreview?: {
12987
+ componentName: string;
12988
+ isRemote: boolean;
12989
+ componentSetName?: string | undefined;
12990
+ } | undefined;
12861
12991
  } | {
12862
12992
  id: string;
12863
12993
  type: "Text";
@@ -12907,6 +13037,11 @@ declare const DTOFigmaComponentListResponse: z.ZodObject<{
12907
13037
  type: "InstanceSwap";
12908
13038
  name: string;
12909
13039
  defaultValue: string;
13040
+ defaultValuePreview?: {
13041
+ componentName: string;
13042
+ isRemote: boolean;
13043
+ componentSetName?: string | undefined;
13044
+ } | undefined;
12910
13045
  } | {
12911
13046
  id: string;
12912
13047
  type: "Text";
@@ -12958,6 +13093,11 @@ declare const DTOFigmaComponentListResponse: z.ZodObject<{
12958
13093
  type: "InstanceSwap";
12959
13094
  name: string;
12960
13095
  defaultValue: string;
13096
+ defaultValuePreview?: {
13097
+ componentName: string;
13098
+ isRemote: boolean;
13099
+ componentSetName?: string | undefined;
13100
+ } | undefined;
12961
13101
  } | {
12962
13102
  id: string;
12963
13103
  type: "Text";
@@ -13009,6 +13149,11 @@ declare const DTOFigmaComponentListResponse: z.ZodObject<{
13009
13149
  type: "InstanceSwap";
13010
13150
  name: string;
13011
13151
  defaultValue: string;
13152
+ defaultValuePreview?: {
13153
+ componentName: string;
13154
+ isRemote: boolean;
13155
+ componentSetName?: string | undefined;
13156
+ } | undefined;
13012
13157
  } | {
13013
13158
  id: string;
13014
13159
  type: "Text";
package/dist/index.d.ts CHANGED
@@ -12287,16 +12287,39 @@ declare const DTOFigmaComponentInstanceSwapProperty: z.ZodObject<z.objectUtil.ex
12287
12287
  }, {
12288
12288
  type: z.ZodLiteral<"InstanceSwap">;
12289
12289
  defaultValue: z.ZodString;
12290
+ defaultValuePreview: z.ZodOptional<z.ZodObject<{
12291
+ componentName: z.ZodString;
12292
+ componentSetName: z.ZodOptional<z.ZodString>;
12293
+ isRemote: z.ZodBoolean;
12294
+ }, "strip", z.ZodTypeAny, {
12295
+ componentName: string;
12296
+ isRemote: boolean;
12297
+ componentSetName?: string | undefined;
12298
+ }, {
12299
+ componentName: string;
12300
+ isRemote: boolean;
12301
+ componentSetName?: string | undefined;
12302
+ }>>;
12290
12303
  }>, "strip", z.ZodTypeAny, {
12291
12304
  id: string;
12292
12305
  type: "InstanceSwap";
12293
12306
  name: string;
12294
12307
  defaultValue: string;
12308
+ defaultValuePreview?: {
12309
+ componentName: string;
12310
+ isRemote: boolean;
12311
+ componentSetName?: string | undefined;
12312
+ } | undefined;
12295
12313
  }, {
12296
12314
  id: string;
12297
12315
  type: "InstanceSwap";
12298
12316
  name: string;
12299
12317
  defaultValue: string;
12318
+ defaultValuePreview?: {
12319
+ componentName: string;
12320
+ isRemote: boolean;
12321
+ componentSetName?: string | undefined;
12322
+ } | undefined;
12300
12323
  }>;
12301
12324
  type DTOFigmaComponentInstanceSwapProperty = z.infer<typeof DTOFigmaComponentInstanceSwapProperty>;
12302
12325
  declare const DTOFigmaComponentTextProperty: z.ZodObject<z.objectUtil.extendShape<{
@@ -12361,16 +12384,39 @@ declare const DTOFigmaComponentProperty: z.ZodDiscriminatedUnion<"type", [z.ZodO
12361
12384
  }, {
12362
12385
  type: z.ZodLiteral<"InstanceSwap">;
12363
12386
  defaultValue: z.ZodString;
12387
+ defaultValuePreview: z.ZodOptional<z.ZodObject<{
12388
+ componentName: z.ZodString;
12389
+ componentSetName: z.ZodOptional<z.ZodString>;
12390
+ isRemote: z.ZodBoolean;
12391
+ }, "strip", z.ZodTypeAny, {
12392
+ componentName: string;
12393
+ isRemote: boolean;
12394
+ componentSetName?: string | undefined;
12395
+ }, {
12396
+ componentName: string;
12397
+ isRemote: boolean;
12398
+ componentSetName?: string | undefined;
12399
+ }>>;
12364
12400
  }>, "strip", z.ZodTypeAny, {
12365
12401
  id: string;
12366
12402
  type: "InstanceSwap";
12367
12403
  name: string;
12368
12404
  defaultValue: string;
12405
+ defaultValuePreview?: {
12406
+ componentName: string;
12407
+ isRemote: boolean;
12408
+ componentSetName?: string | undefined;
12409
+ } | undefined;
12369
12410
  }, {
12370
12411
  id: string;
12371
12412
  type: "InstanceSwap";
12372
12413
  name: string;
12373
12414
  defaultValue: string;
12415
+ defaultValuePreview?: {
12416
+ componentName: string;
12417
+ isRemote: boolean;
12418
+ componentSetName?: string | undefined;
12419
+ } | undefined;
12374
12420
  }>, z.ZodObject<z.objectUtil.extendShape<{
12375
12421
  id: z.ZodString;
12376
12422
  name: z.ZodString;
@@ -12431,16 +12477,39 @@ declare const DTOFigmaComponentPropertyMap: z.ZodRecord<z.ZodString, z.ZodDiscri
12431
12477
  }, {
12432
12478
  type: z.ZodLiteral<"InstanceSwap">;
12433
12479
  defaultValue: z.ZodString;
12480
+ defaultValuePreview: z.ZodOptional<z.ZodObject<{
12481
+ componentName: z.ZodString;
12482
+ componentSetName: z.ZodOptional<z.ZodString>;
12483
+ isRemote: z.ZodBoolean;
12484
+ }, "strip", z.ZodTypeAny, {
12485
+ componentName: string;
12486
+ isRemote: boolean;
12487
+ componentSetName?: string | undefined;
12488
+ }, {
12489
+ componentName: string;
12490
+ isRemote: boolean;
12491
+ componentSetName?: string | undefined;
12492
+ }>>;
12434
12493
  }>, "strip", z.ZodTypeAny, {
12435
12494
  id: string;
12436
12495
  type: "InstanceSwap";
12437
12496
  name: string;
12438
12497
  defaultValue: string;
12498
+ defaultValuePreview?: {
12499
+ componentName: string;
12500
+ isRemote: boolean;
12501
+ componentSetName?: string | undefined;
12502
+ } | undefined;
12439
12503
  }, {
12440
12504
  id: string;
12441
12505
  type: "InstanceSwap";
12442
12506
  name: string;
12443
12507
  defaultValue: string;
12508
+ defaultValuePreview?: {
12509
+ componentName: string;
12510
+ isRemote: boolean;
12511
+ componentSetName?: string | undefined;
12512
+ } | undefined;
12444
12513
  }>, z.ZodObject<z.objectUtil.extendShape<{
12445
12514
  id: z.ZodString;
12446
12515
  name: z.ZodString;
@@ -12552,16 +12621,39 @@ declare const DTOFigmaComponent: z.ZodObject<{
12552
12621
  }, {
12553
12622
  type: z.ZodLiteral<"InstanceSwap">;
12554
12623
  defaultValue: z.ZodString;
12624
+ defaultValuePreview: z.ZodOptional<z.ZodObject<{
12625
+ componentName: z.ZodString;
12626
+ componentSetName: z.ZodOptional<z.ZodString>;
12627
+ isRemote: z.ZodBoolean;
12628
+ }, "strip", z.ZodTypeAny, {
12629
+ componentName: string;
12630
+ isRemote: boolean;
12631
+ componentSetName?: string | undefined;
12632
+ }, {
12633
+ componentName: string;
12634
+ isRemote: boolean;
12635
+ componentSetName?: string | undefined;
12636
+ }>>;
12555
12637
  }>, "strip", z.ZodTypeAny, {
12556
12638
  id: string;
12557
12639
  type: "InstanceSwap";
12558
12640
  name: string;
12559
12641
  defaultValue: string;
12642
+ defaultValuePreview?: {
12643
+ componentName: string;
12644
+ isRemote: boolean;
12645
+ componentSetName?: string | undefined;
12646
+ } | undefined;
12560
12647
  }, {
12561
12648
  id: string;
12562
12649
  type: "InstanceSwap";
12563
12650
  name: string;
12564
12651
  defaultValue: string;
12652
+ defaultValuePreview?: {
12653
+ componentName: string;
12654
+ isRemote: boolean;
12655
+ componentSetName?: string | undefined;
12656
+ } | undefined;
12565
12657
  }>, z.ZodObject<z.objectUtil.extendShape<{
12566
12658
  id: z.ZodString;
12567
12659
  name: z.ZodString;
@@ -12636,6 +12728,11 @@ declare const DTOFigmaComponent: z.ZodObject<{
12636
12728
  type: "InstanceSwap";
12637
12729
  name: string;
12638
12730
  defaultValue: string;
12731
+ defaultValuePreview?: {
12732
+ componentName: string;
12733
+ isRemote: boolean;
12734
+ componentSetName?: string | undefined;
12735
+ } | undefined;
12639
12736
  } | {
12640
12737
  id: string;
12641
12738
  type: "Text";
@@ -12685,6 +12782,11 @@ declare const DTOFigmaComponent: z.ZodObject<{
12685
12782
  type: "InstanceSwap";
12686
12783
  name: string;
12687
12784
  defaultValue: string;
12785
+ defaultValuePreview?: {
12786
+ componentName: string;
12787
+ isRemote: boolean;
12788
+ componentSetName?: string | undefined;
12789
+ } | undefined;
12688
12790
  } | {
12689
12791
  id: string;
12690
12792
  type: "Text";
@@ -12774,16 +12876,39 @@ declare const DTOFigmaComponentListResponse: z.ZodObject<{
12774
12876
  }, {
12775
12877
  type: z.ZodLiteral<"InstanceSwap">;
12776
12878
  defaultValue: z.ZodString;
12879
+ defaultValuePreview: z.ZodOptional<z.ZodObject<{
12880
+ componentName: z.ZodString;
12881
+ componentSetName: z.ZodOptional<z.ZodString>;
12882
+ isRemote: z.ZodBoolean;
12883
+ }, "strip", z.ZodTypeAny, {
12884
+ componentName: string;
12885
+ isRemote: boolean;
12886
+ componentSetName?: string | undefined;
12887
+ }, {
12888
+ componentName: string;
12889
+ isRemote: boolean;
12890
+ componentSetName?: string | undefined;
12891
+ }>>;
12777
12892
  }>, "strip", z.ZodTypeAny, {
12778
12893
  id: string;
12779
12894
  type: "InstanceSwap";
12780
12895
  name: string;
12781
12896
  defaultValue: string;
12897
+ defaultValuePreview?: {
12898
+ componentName: string;
12899
+ isRemote: boolean;
12900
+ componentSetName?: string | undefined;
12901
+ } | undefined;
12782
12902
  }, {
12783
12903
  id: string;
12784
12904
  type: "InstanceSwap";
12785
12905
  name: string;
12786
12906
  defaultValue: string;
12907
+ defaultValuePreview?: {
12908
+ componentName: string;
12909
+ isRemote: boolean;
12910
+ componentSetName?: string | undefined;
12911
+ } | undefined;
12787
12912
  }>, z.ZodObject<z.objectUtil.extendShape<{
12788
12913
  id: z.ZodString;
12789
12914
  name: z.ZodString;
@@ -12858,6 +12983,11 @@ declare const DTOFigmaComponentListResponse: z.ZodObject<{
12858
12983
  type: "InstanceSwap";
12859
12984
  name: string;
12860
12985
  defaultValue: string;
12986
+ defaultValuePreview?: {
12987
+ componentName: string;
12988
+ isRemote: boolean;
12989
+ componentSetName?: string | undefined;
12990
+ } | undefined;
12861
12991
  } | {
12862
12992
  id: string;
12863
12993
  type: "Text";
@@ -12907,6 +13037,11 @@ declare const DTOFigmaComponentListResponse: z.ZodObject<{
12907
13037
  type: "InstanceSwap";
12908
13038
  name: string;
12909
13039
  defaultValue: string;
13040
+ defaultValuePreview?: {
13041
+ componentName: string;
13042
+ isRemote: boolean;
13043
+ componentSetName?: string | undefined;
13044
+ } | undefined;
12910
13045
  } | {
12911
13046
  id: string;
12912
13047
  type: "Text";
@@ -12958,6 +13093,11 @@ declare const DTOFigmaComponentListResponse: z.ZodObject<{
12958
13093
  type: "InstanceSwap";
12959
13094
  name: string;
12960
13095
  defaultValue: string;
13096
+ defaultValuePreview?: {
13097
+ componentName: string;
13098
+ isRemote: boolean;
13099
+ componentSetName?: string | undefined;
13100
+ } | undefined;
12961
13101
  } | {
12962
13102
  id: string;
12963
13103
  type: "Text";
@@ -13009,6 +13149,11 @@ declare const DTOFigmaComponentListResponse: z.ZodObject<{
13009
13149
  type: "InstanceSwap";
13010
13150
  name: string;
13011
13151
  defaultValue: string;
13152
+ defaultValuePreview?: {
13153
+ componentName: string;
13154
+ isRemote: boolean;
13155
+ componentSetName?: string | undefined;
13156
+ } | undefined;
13012
13157
  } | {
13013
13158
  id: string;
13014
13159
  type: "Text";
package/dist/index.js CHANGED
@@ -552,7 +552,8 @@ var Asset = _zod.z.object({
552
552
  properties: AssetProperties.nullish(),
553
553
  state: AssetProcessStatus.optional(),
554
554
  origin: AssetOrigin.optional(),
555
- originKey: _zod.z.string().optional()
555
+ originKey: _zod.z.string().optional(),
556
+ createdByImportJobId: _zod.z.string().optional()
556
557
  });
557
558
  var ResolvedAsset = Asset.extend({
558
559
  url: _zod.z.string()
@@ -653,13 +654,19 @@ var FigmaComponentPropertyBase = _zod.z.object({
653
654
  id: _zod.z.string(),
654
655
  name: _zod.z.string()
655
656
  });
657
+ var FigmaComponentInstancePreview = _zod.z.object({
658
+ componentName: _zod.z.string(),
659
+ componentSetName: _zod.z.string().optional(),
660
+ isRemote: _zod.z.boolean()
661
+ });
656
662
  var FigmaComponentBooleanProperty = FigmaComponentPropertyBase.extend({
657
663
  type: _zod.z.literal(FigmaComponentPropertyType.enum.Boolean),
658
664
  defaultValue: _zod.z.boolean()
659
665
  });
660
666
  var FigmaComponentInstanceSwapProperty = FigmaComponentPropertyBase.extend({
661
667
  type: _zod.z.literal(FigmaComponentPropertyType.enum.InstanceSwap),
662
- defaultValue: _zod.z.string()
668
+ defaultValue: _zod.z.string(),
669
+ defaultValuePreview: FigmaComponentInstancePreview.optional()
663
670
  });
664
671
  var FigmaComponentVariantProperty = FigmaComponentPropertyBase.extend({
665
672
  type: _zod.z.literal(FigmaComponentPropertyType.enum.Variant),
@@ -3120,7 +3127,8 @@ var DataSourceUploadRemote = _zod.z.object({
3120
3127
  remoteId: _zod.z.string(),
3121
3128
  remoteSourceType: DataSourceUploadRemoteSource,
3122
3129
  lastImportMetadata: DataSourceUploadImportMetadata.optional(),
3123
- warnings: nullishToOptional(ImportWarning.array())
3130
+ warnings: nullishToOptional(ImportWarning.array()),
3131
+ isTokenTypeSplitEnabled: _zod.z.boolean()
3124
3132
  });
3125
3133
  var DataSourceRemote = _zod.z.discriminatedUnion("type", [
3126
3134
  DataSourceFigmaRemote,
@@ -5810,13 +5818,13 @@ var DTODocumentationPageV2 = _zod.z.object({
5810
5818
  });
5811
5819
  var DTOCreateDocumentationPageInputV2 = _zod.z.object({
5812
5820
  // Identifier
5813
- persistentId: _zod.z.string().uuid(),
5821
+ persistentId: _zod.z.string(),
5814
5822
  // Page properties
5815
5823
  title: _zod.z.string(),
5816
5824
  configuration: DTODocumentationItemConfigurationV2.partial().optional(),
5817
5825
  // Page placement properties
5818
- parentPersistentId: _zod.z.string().uuid(),
5819
- afterPersistentId: _zod.z.string().uuid().nullish()
5826
+ parentPersistentId: _zod.z.string(),
5827
+ afterPersistentId: _zod.z.string().nullish()
5820
5828
  });
5821
5829
  var DTOUpdateDocumentationPageInputV2 = _zod.z.object({
5822
5830
  // Identifier of the group to update
@@ -5829,17 +5837,17 @@ var DTOMoveDocumentationPageInputV2 = _zod.z.object({
5829
5837
  // Identifier of the group to update
5830
5838
  id: _zod.z.string(),
5831
5839
  // Page placement properties
5832
- parentPersistentId: _zod.z.string().uuid(),
5833
- afterPersistentId: _zod.z.string().uuid().nullish()
5840
+ parentPersistentId: _zod.z.string(),
5841
+ afterPersistentId: _zod.z.string().nullish()
5834
5842
  });
5835
5843
  var DTODuplicateDocumentationPageInputV2 = _zod.z.object({
5836
5844
  // Identifier of the page to duplicate from
5837
5845
  id: _zod.z.string(),
5838
5846
  // New page persistent id
5839
- persistentId: _zod.z.string().uuid(),
5847
+ persistentId: _zod.z.string(),
5840
5848
  // Page placement properties
5841
- parentPersistentId: _zod.z.string().uuid(),
5842
- afterPersistentId: _zod.z.string().uuid().nullish()
5849
+ parentPersistentId: _zod.z.string(),
5850
+ afterPersistentId: _zod.z.string().nullish()
5843
5851
  });
5844
5852
  var DTODeleteDocumentationPageInputV2 = _zod.z.object({
5845
5853
  // Identifier
@@ -6065,13 +6073,13 @@ var DTODocumentationGroupV2 = ElementGroup.omit({
6065
6073
  });
6066
6074
  var DTOCreateDocumentationGroupInput = _zod.z.object({
6067
6075
  // Identifier
6068
- persistentId: _zod.z.string().uuid(),
6076
+ persistentId: _zod.z.string(),
6069
6077
  // Group properties
6070
6078
  title: _zod.z.string(),
6071
6079
  configuration: DTODocumentationItemConfigurationV2.partial().optional(),
6072
6080
  // Group placement properties
6073
- afterPersistentId: _zod.z.string().uuid().nullish(),
6074
- parentPersistentId: _zod.z.string().uuid()
6081
+ afterPersistentId: _zod.z.string().nullish(),
6082
+ parentPersistentId: _zod.z.string()
6075
6083
  });
6076
6084
  var DTOUpdateDocumentationGroupInput = _zod.z.object({
6077
6085
  // Identifier of the group to update
@@ -6084,21 +6092,21 @@ var DTOMoveDocumentationGroupInput = _zod.z.object({
6084
6092
  // Identifier of the group to update
6085
6093
  id: _zod.z.string(),
6086
6094
  // Group placement properties
6087
- parentPersistentId: _zod.z.string().uuid(),
6088
- afterPersistentId: _zod.z.string().uuid().nullish()
6095
+ parentPersistentId: _zod.z.string(),
6096
+ afterPersistentId: _zod.z.string().nullish()
6089
6097
  });
6090
6098
  var DTODuplicateDocumentationGroupInput = _zod.z.object({
6091
6099
  // Identifier of the group to duplicate from
6092
6100
  id: _zod.z.string(),
6093
6101
  // New group persistent id
6094
- persistentId: _zod.z.string().uuid(),
6102
+ persistentId: _zod.z.string(),
6095
6103
  // Group placement properties
6096
- afterPersistentId: _zod.z.string().uuid().nullish(),
6097
- parentPersistentId: _zod.z.string().uuid()
6104
+ afterPersistentId: _zod.z.string().nullish(),
6105
+ parentPersistentId: _zod.z.string()
6098
6106
  });
6099
6107
  var DTOCreateDocumentationTabInput = _zod.z.object({
6100
6108
  // New group persistent id
6101
- persistentId: _zod.z.string().uuid(),
6109
+ persistentId: _zod.z.string(),
6102
6110
  // If this is page, we will attempt to convert it to tab
6103
6111
  // If this is tab group, we will add a new tab to it
6104
6112
  fromItemPersistentId: _zod.z.string(),