@supernova-studio/client 0.22.0 → 0.23.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -285,7 +285,7 @@ declare const DTODocumentationGroupCreateActionInputV2: z.ZodObject<{
285
285
  frameReferenceId: string;
286
286
  }>>;
287
287
  }, "strip", z.ZodTypeAny, {
288
- type: "Resource" | "FigmaNode";
288
+ type: "FigmaNode" | "Resource";
289
289
  resource?: {
290
290
  url: string;
291
291
  resourceId: string;
@@ -295,7 +295,7 @@ declare const DTODocumentationGroupCreateActionInputV2: z.ZodObject<{
295
295
  frameReferenceId: string;
296
296
  } | undefined;
297
297
  }, {
298
- type: "Resource" | "FigmaNode";
298
+ type: "FigmaNode" | "Resource";
299
299
  resource?: {
300
300
  url: string;
301
301
  resourceId: string;
@@ -324,7 +324,7 @@ declare const DTODocumentationGroupCreateActionInputV2: z.ZodObject<{
324
324
  referencedTokenId?: string | undefined;
325
325
  } | null | undefined;
326
326
  backgroundImageAsset?: {
327
- type: "Resource" | "FigmaNode";
327
+ type: "FigmaNode" | "Resource";
328
328
  resource?: {
329
329
  url: string;
330
330
  resourceId: string;
@@ -350,7 +350,7 @@ declare const DTODocumentationGroupCreateActionInputV2: z.ZodObject<{
350
350
  referencedTokenId?: string | undefined;
351
351
  } | null | undefined;
352
352
  backgroundImageAsset?: {
353
- type: "Resource" | "FigmaNode";
353
+ type: "FigmaNode" | "Resource";
354
354
  resource?: {
355
355
  url: string;
356
356
  resourceId: string;
@@ -379,7 +379,7 @@ declare const DTODocumentationGroupCreateActionInputV2: z.ZodObject<{
379
379
  referencedTokenId?: string | undefined;
380
380
  } | null | undefined;
381
381
  backgroundImageAsset?: {
382
- type: "Resource" | "FigmaNode";
382
+ type: "FigmaNode" | "Resource";
383
383
  resource?: {
384
384
  url: string;
385
385
  resourceId: string;
@@ -408,7 +408,7 @@ declare const DTODocumentationGroupCreateActionInputV2: z.ZodObject<{
408
408
  referencedTokenId?: string | undefined;
409
409
  } | null | undefined;
410
410
  backgroundImageAsset?: {
411
- type: "Resource" | "FigmaNode";
411
+ type: "FigmaNode" | "Resource";
412
412
  resource?: {
413
413
  url: string;
414
414
  resourceId: string;
@@ -444,7 +444,7 @@ declare const DTODocumentationGroupCreateActionInputV2: z.ZodObject<{
444
444
  referencedTokenId?: string | undefined;
445
445
  } | null | undefined;
446
446
  backgroundImageAsset?: {
447
- type: "Resource" | "FigmaNode";
447
+ type: "FigmaNode" | "Resource";
448
448
  resource?: {
449
449
  url: string;
450
450
  resourceId: string;
@@ -479,7 +479,7 @@ declare const DTODocumentationGroupCreateActionInputV2: z.ZodObject<{
479
479
  referencedTokenId?: string | undefined;
480
480
  } | null | undefined;
481
481
  backgroundImageAsset?: {
482
- type: "Resource" | "FigmaNode";
482
+ type: "FigmaNode" | "Resource";
483
483
  resource?: {
484
484
  url: string;
485
485
  resourceId: string;
@@ -517,7 +517,7 @@ declare const DTODocumentationGroupCreateActionInputV2: z.ZodObject<{
517
517
  referencedTokenId?: string | undefined;
518
518
  } | null | undefined;
519
519
  backgroundImageAsset?: {
520
- type: "Resource" | "FigmaNode";
520
+ type: "FigmaNode" | "Resource";
521
521
  resource?: {
522
522
  url: string;
523
523
  resourceId: string;
@@ -555,7 +555,7 @@ declare const DTODocumentationGroupCreateActionInputV2: z.ZodObject<{
555
555
  referencedTokenId?: string | undefined;
556
556
  } | null | undefined;
557
557
  backgroundImageAsset?: {
558
- type: "Resource" | "FigmaNode";
558
+ type: "FigmaNode" | "Resource";
559
559
  resource?: {
560
560
  url: string;
561
561
  resourceId: string;
@@ -656,7 +656,7 @@ declare const DTODocumentationGroupUpdateActionInputV2: z.ZodObject<{
656
656
  frameReferenceId: string;
657
657
  }>>;
658
658
  }, "strip", z.ZodTypeAny, {
659
- type: "Resource" | "FigmaNode";
659
+ type: "FigmaNode" | "Resource";
660
660
  resource?: {
661
661
  url: string;
662
662
  resourceId: string;
@@ -666,7 +666,7 @@ declare const DTODocumentationGroupUpdateActionInputV2: z.ZodObject<{
666
666
  frameReferenceId: string;
667
667
  } | undefined;
668
668
  }, {
669
- type: "Resource" | "FigmaNode";
669
+ type: "FigmaNode" | "Resource";
670
670
  resource?: {
671
671
  url: string;
672
672
  resourceId: string;
@@ -695,7 +695,7 @@ declare const DTODocumentationGroupUpdateActionInputV2: z.ZodObject<{
695
695
  referencedTokenId?: string | undefined;
696
696
  } | null | undefined;
697
697
  backgroundImageAsset?: {
698
- type: "Resource" | "FigmaNode";
698
+ type: "FigmaNode" | "Resource";
699
699
  resource?: {
700
700
  url: string;
701
701
  resourceId: string;
@@ -721,7 +721,7 @@ declare const DTODocumentationGroupUpdateActionInputV2: z.ZodObject<{
721
721
  referencedTokenId?: string | undefined;
722
722
  } | null | undefined;
723
723
  backgroundImageAsset?: {
724
- type: "Resource" | "FigmaNode";
724
+ type: "FigmaNode" | "Resource";
725
725
  resource?: {
726
726
  url: string;
727
727
  resourceId: string;
@@ -750,7 +750,7 @@ declare const DTODocumentationGroupUpdateActionInputV2: z.ZodObject<{
750
750
  referencedTokenId?: string | undefined;
751
751
  } | null | undefined;
752
752
  backgroundImageAsset?: {
753
- type: "Resource" | "FigmaNode";
753
+ type: "FigmaNode" | "Resource";
754
754
  resource?: {
755
755
  url: string;
756
756
  resourceId: string;
@@ -779,7 +779,7 @@ declare const DTODocumentationGroupUpdateActionInputV2: z.ZodObject<{
779
779
  referencedTokenId?: string | undefined;
780
780
  } | null | undefined;
781
781
  backgroundImageAsset?: {
782
- type: "Resource" | "FigmaNode";
782
+ type: "FigmaNode" | "Resource";
783
783
  resource?: {
784
784
  url: string;
785
785
  resourceId: string;
@@ -812,7 +812,7 @@ declare const DTODocumentationGroupUpdateActionInputV2: z.ZodObject<{
812
812
  referencedTokenId?: string | undefined;
813
813
  } | null | undefined;
814
814
  backgroundImageAsset?: {
815
- type: "Resource" | "FigmaNode";
815
+ type: "FigmaNode" | "Resource";
816
816
  resource?: {
817
817
  url: string;
818
818
  resourceId: string;
@@ -845,7 +845,7 @@ declare const DTODocumentationGroupUpdateActionInputV2: z.ZodObject<{
845
845
  referencedTokenId?: string | undefined;
846
846
  } | null | undefined;
847
847
  backgroundImageAsset?: {
848
- type: "Resource" | "FigmaNode";
848
+ type: "FigmaNode" | "Resource";
849
849
  resource?: {
850
850
  url: string;
851
851
  resourceId: string;
@@ -881,7 +881,7 @@ declare const DTODocumentationGroupUpdateActionInputV2: z.ZodObject<{
881
881
  referencedTokenId?: string | undefined;
882
882
  } | null | undefined;
883
883
  backgroundImageAsset?: {
884
- type: "Resource" | "FigmaNode";
884
+ type: "FigmaNode" | "Resource";
885
885
  resource?: {
886
886
  url: string;
887
887
  resourceId: string;
@@ -917,7 +917,7 @@ declare const DTODocumentationGroupUpdateActionInputV2: z.ZodObject<{
917
917
  referencedTokenId?: string | undefined;
918
918
  } | null | undefined;
919
919
  backgroundImageAsset?: {
920
- type: "Resource" | "FigmaNode";
920
+ type: "FigmaNode" | "Resource";
921
921
  resource?: {
922
922
  url: string;
923
923
  resourceId: string;
@@ -1158,7 +1158,7 @@ declare const DTODocumentationGroupV2: z.ZodObject<{
1158
1158
  frameReferenceId: string;
1159
1159
  }>>;
1160
1160
  }, "strip", z.ZodTypeAny, {
1161
- type: "Resource" | "FigmaNode";
1161
+ type: "FigmaNode" | "Resource";
1162
1162
  resource?: {
1163
1163
  url: string;
1164
1164
  resourceId: string;
@@ -1168,7 +1168,7 @@ declare const DTODocumentationGroupV2: z.ZodObject<{
1168
1168
  frameReferenceId: string;
1169
1169
  } | undefined;
1170
1170
  }, {
1171
- type: "Resource" | "FigmaNode";
1171
+ type: "FigmaNode" | "Resource";
1172
1172
  resource?: {
1173
1173
  url: string;
1174
1174
  resourceId: string;
@@ -1197,7 +1197,7 @@ declare const DTODocumentationGroupV2: z.ZodObject<{
1197
1197
  referencedTokenId?: string | undefined;
1198
1198
  } | null | undefined;
1199
1199
  backgroundImageAsset?: {
1200
- type: "Resource" | "FigmaNode";
1200
+ type: "FigmaNode" | "Resource";
1201
1201
  resource?: {
1202
1202
  url: string;
1203
1203
  resourceId: string;
@@ -1223,7 +1223,7 @@ declare const DTODocumentationGroupV2: z.ZodObject<{
1223
1223
  referencedTokenId?: string | undefined;
1224
1224
  } | null | undefined;
1225
1225
  backgroundImageAsset?: {
1226
- type: "Resource" | "FigmaNode";
1226
+ type: "FigmaNode" | "Resource";
1227
1227
  resource?: {
1228
1228
  url: string;
1229
1229
  resourceId: string;
@@ -1252,7 +1252,7 @@ declare const DTODocumentationGroupV2: z.ZodObject<{
1252
1252
  referencedTokenId?: string | undefined;
1253
1253
  } | null | undefined;
1254
1254
  backgroundImageAsset?: {
1255
- type: "Resource" | "FigmaNode";
1255
+ type: "FigmaNode" | "Resource";
1256
1256
  resource?: {
1257
1257
  url: string;
1258
1258
  resourceId: string;
@@ -1281,7 +1281,7 @@ declare const DTODocumentationGroupV2: z.ZodObject<{
1281
1281
  referencedTokenId?: string | undefined;
1282
1282
  } | null | undefined;
1283
1283
  backgroundImageAsset?: {
1284
- type: "Resource" | "FigmaNode";
1284
+ type: "FigmaNode" | "Resource";
1285
1285
  resource?: {
1286
1286
  url: string;
1287
1287
  resourceId: string;
@@ -1323,7 +1323,7 @@ declare const DTODocumentationGroupV2: z.ZodObject<{
1323
1323
  referencedTokenId?: string | undefined;
1324
1324
  } | null | undefined;
1325
1325
  backgroundImageAsset?: {
1326
- type: "Resource" | "FigmaNode";
1326
+ type: "FigmaNode" | "Resource";
1327
1327
  resource?: {
1328
1328
  url: string;
1329
1329
  resourceId: string;
@@ -1367,7 +1367,7 @@ declare const DTODocumentationGroupV2: z.ZodObject<{
1367
1367
  referencedTokenId?: string | undefined;
1368
1368
  } | null | undefined;
1369
1369
  backgroundImageAsset?: {
1370
- type: "Resource" | "FigmaNode";
1370
+ type: "FigmaNode" | "Resource";
1371
1371
  resource?: {
1372
1372
  url: string;
1373
1373
  resourceId: string;
@@ -1435,7 +1435,7 @@ declare const DTOCreateDocumentationGroupInput: z.ZodObject<{
1435
1435
  frameReferenceId: string;
1436
1436
  }>>;
1437
1437
  }, "strip", z.ZodTypeAny, {
1438
- type: "Resource" | "FigmaNode";
1438
+ type: "FigmaNode" | "Resource";
1439
1439
  resource?: {
1440
1440
  url: string;
1441
1441
  resourceId: string;
@@ -1445,7 +1445,7 @@ declare const DTOCreateDocumentationGroupInput: z.ZodObject<{
1445
1445
  frameReferenceId: string;
1446
1446
  } | undefined;
1447
1447
  }, {
1448
- type: "Resource" | "FigmaNode";
1448
+ type: "FigmaNode" | "Resource";
1449
1449
  resource?: {
1450
1450
  url: string;
1451
1451
  resourceId: string;
@@ -1474,7 +1474,7 @@ declare const DTOCreateDocumentationGroupInput: z.ZodObject<{
1474
1474
  referencedTokenId?: string | undefined;
1475
1475
  } | null | undefined;
1476
1476
  backgroundImageAsset?: {
1477
- type: "Resource" | "FigmaNode";
1477
+ type: "FigmaNode" | "Resource";
1478
1478
  resource?: {
1479
1479
  url: string;
1480
1480
  resourceId: string;
@@ -1500,7 +1500,7 @@ declare const DTOCreateDocumentationGroupInput: z.ZodObject<{
1500
1500
  referencedTokenId?: string | undefined;
1501
1501
  } | null | undefined;
1502
1502
  backgroundImageAsset?: {
1503
- type: "Resource" | "FigmaNode";
1503
+ type: "FigmaNode" | "Resource";
1504
1504
  resource?: {
1505
1505
  url: string;
1506
1506
  resourceId: string;
@@ -1529,7 +1529,7 @@ declare const DTOCreateDocumentationGroupInput: z.ZodObject<{
1529
1529
  referencedTokenId?: string | undefined;
1530
1530
  } | null | undefined;
1531
1531
  backgroundImageAsset?: {
1532
- type: "Resource" | "FigmaNode";
1532
+ type: "FigmaNode" | "Resource";
1533
1533
  resource?: {
1534
1534
  url: string;
1535
1535
  resourceId: string;
@@ -1558,7 +1558,7 @@ declare const DTOCreateDocumentationGroupInput: z.ZodObject<{
1558
1558
  referencedTokenId?: string | undefined;
1559
1559
  } | null | undefined;
1560
1560
  backgroundImageAsset?: {
1561
- type: "Resource" | "FigmaNode";
1561
+ type: "FigmaNode" | "Resource";
1562
1562
  resource?: {
1563
1563
  url: string;
1564
1564
  resourceId: string;
@@ -1594,7 +1594,7 @@ declare const DTOCreateDocumentationGroupInput: z.ZodObject<{
1594
1594
  referencedTokenId?: string | undefined;
1595
1595
  } | null | undefined;
1596
1596
  backgroundImageAsset?: {
1597
- type: "Resource" | "FigmaNode";
1597
+ type: "FigmaNode" | "Resource";
1598
1598
  resource?: {
1599
1599
  url: string;
1600
1600
  resourceId: string;
@@ -1629,7 +1629,7 @@ declare const DTOCreateDocumentationGroupInput: z.ZodObject<{
1629
1629
  referencedTokenId?: string | undefined;
1630
1630
  } | null | undefined;
1631
1631
  backgroundImageAsset?: {
1632
- type: "Resource" | "FigmaNode";
1632
+ type: "FigmaNode" | "Resource";
1633
1633
  resource?: {
1634
1634
  url: string;
1635
1635
  resourceId: string;
@@ -1696,7 +1696,7 @@ declare const DTOUpdateDocumentationGroupInput: z.ZodObject<{
1696
1696
  frameReferenceId: string;
1697
1697
  }>>;
1698
1698
  }, "strip", z.ZodTypeAny, {
1699
- type: "Resource" | "FigmaNode";
1699
+ type: "FigmaNode" | "Resource";
1700
1700
  resource?: {
1701
1701
  url: string;
1702
1702
  resourceId: string;
@@ -1706,7 +1706,7 @@ declare const DTOUpdateDocumentationGroupInput: z.ZodObject<{
1706
1706
  frameReferenceId: string;
1707
1707
  } | undefined;
1708
1708
  }, {
1709
- type: "Resource" | "FigmaNode";
1709
+ type: "FigmaNode" | "Resource";
1710
1710
  resource?: {
1711
1711
  url: string;
1712
1712
  resourceId: string;
@@ -1735,7 +1735,7 @@ declare const DTOUpdateDocumentationGroupInput: z.ZodObject<{
1735
1735
  referencedTokenId?: string | undefined;
1736
1736
  } | null | undefined;
1737
1737
  backgroundImageAsset?: {
1738
- type: "Resource" | "FigmaNode";
1738
+ type: "FigmaNode" | "Resource";
1739
1739
  resource?: {
1740
1740
  url: string;
1741
1741
  resourceId: string;
@@ -1761,7 +1761,7 @@ declare const DTOUpdateDocumentationGroupInput: z.ZodObject<{
1761
1761
  referencedTokenId?: string | undefined;
1762
1762
  } | null | undefined;
1763
1763
  backgroundImageAsset?: {
1764
- type: "Resource" | "FigmaNode";
1764
+ type: "FigmaNode" | "Resource";
1765
1765
  resource?: {
1766
1766
  url: string;
1767
1767
  resourceId: string;
@@ -1790,7 +1790,7 @@ declare const DTOUpdateDocumentationGroupInput: z.ZodObject<{
1790
1790
  referencedTokenId?: string | undefined;
1791
1791
  } | null | undefined;
1792
1792
  backgroundImageAsset?: {
1793
- type: "Resource" | "FigmaNode";
1793
+ type: "FigmaNode" | "Resource";
1794
1794
  resource?: {
1795
1795
  url: string;
1796
1796
  resourceId: string;
@@ -1819,7 +1819,7 @@ declare const DTOUpdateDocumentationGroupInput: z.ZodObject<{
1819
1819
  referencedTokenId?: string | undefined;
1820
1820
  } | null | undefined;
1821
1821
  backgroundImageAsset?: {
1822
- type: "Resource" | "FigmaNode";
1822
+ type: "FigmaNode" | "Resource";
1823
1823
  resource?: {
1824
1824
  url: string;
1825
1825
  resourceId: string;
@@ -1852,7 +1852,7 @@ declare const DTOUpdateDocumentationGroupInput: z.ZodObject<{
1852
1852
  referencedTokenId?: string | undefined;
1853
1853
  } | null | undefined;
1854
1854
  backgroundImageAsset?: {
1855
- type: "Resource" | "FigmaNode";
1855
+ type: "FigmaNode" | "Resource";
1856
1856
  resource?: {
1857
1857
  url: string;
1858
1858
  resourceId: string;
@@ -1885,7 +1885,7 @@ declare const DTOUpdateDocumentationGroupInput: z.ZodObject<{
1885
1885
  referencedTokenId?: string | undefined;
1886
1886
  } | null | undefined;
1887
1887
  backgroundImageAsset?: {
1888
- type: "Resource" | "FigmaNode";
1888
+ type: "FigmaNode" | "Resource";
1889
1889
  resource?: {
1890
1890
  url: string;
1891
1891
  resourceId: string;
@@ -2123,7 +2123,7 @@ declare const DTODocumentationPageCreateActionInputV2: z.ZodObject<{
2123
2123
  frameReferenceId: string;
2124
2124
  }>>;
2125
2125
  }, "strip", z.ZodTypeAny, {
2126
- type: "Resource" | "FigmaNode";
2126
+ type: "FigmaNode" | "Resource";
2127
2127
  resource?: {
2128
2128
  url: string;
2129
2129
  resourceId: string;
@@ -2133,7 +2133,7 @@ declare const DTODocumentationPageCreateActionInputV2: z.ZodObject<{
2133
2133
  frameReferenceId: string;
2134
2134
  } | undefined;
2135
2135
  }, {
2136
- type: "Resource" | "FigmaNode";
2136
+ type: "FigmaNode" | "Resource";
2137
2137
  resource?: {
2138
2138
  url: string;
2139
2139
  resourceId: string;
@@ -2162,7 +2162,7 @@ declare const DTODocumentationPageCreateActionInputV2: z.ZodObject<{
2162
2162
  referencedTokenId?: string | undefined;
2163
2163
  } | null | undefined;
2164
2164
  backgroundImageAsset?: {
2165
- type: "Resource" | "FigmaNode";
2165
+ type: "FigmaNode" | "Resource";
2166
2166
  resource?: {
2167
2167
  url: string;
2168
2168
  resourceId: string;
@@ -2188,7 +2188,7 @@ declare const DTODocumentationPageCreateActionInputV2: z.ZodObject<{
2188
2188
  referencedTokenId?: string | undefined;
2189
2189
  } | null | undefined;
2190
2190
  backgroundImageAsset?: {
2191
- type: "Resource" | "FigmaNode";
2191
+ type: "FigmaNode" | "Resource";
2192
2192
  resource?: {
2193
2193
  url: string;
2194
2194
  resourceId: string;
@@ -2217,7 +2217,7 @@ declare const DTODocumentationPageCreateActionInputV2: z.ZodObject<{
2217
2217
  referencedTokenId?: string | undefined;
2218
2218
  } | null | undefined;
2219
2219
  backgroundImageAsset?: {
2220
- type: "Resource" | "FigmaNode";
2220
+ type: "FigmaNode" | "Resource";
2221
2221
  resource?: {
2222
2222
  url: string;
2223
2223
  resourceId: string;
@@ -2246,7 +2246,7 @@ declare const DTODocumentationPageCreateActionInputV2: z.ZodObject<{
2246
2246
  referencedTokenId?: string | undefined;
2247
2247
  } | null | undefined;
2248
2248
  backgroundImageAsset?: {
2249
- type: "Resource" | "FigmaNode";
2249
+ type: "FigmaNode" | "Resource";
2250
2250
  resource?: {
2251
2251
  url: string;
2252
2252
  resourceId: string;
@@ -2282,7 +2282,7 @@ declare const DTODocumentationPageCreateActionInputV2: z.ZodObject<{
2282
2282
  referencedTokenId?: string | undefined;
2283
2283
  } | null | undefined;
2284
2284
  backgroundImageAsset?: {
2285
- type: "Resource" | "FigmaNode";
2285
+ type: "FigmaNode" | "Resource";
2286
2286
  resource?: {
2287
2287
  url: string;
2288
2288
  resourceId: string;
@@ -2317,7 +2317,7 @@ declare const DTODocumentationPageCreateActionInputV2: z.ZodObject<{
2317
2317
  referencedTokenId?: string | undefined;
2318
2318
  } | null | undefined;
2319
2319
  backgroundImageAsset?: {
2320
- type: "Resource" | "FigmaNode";
2320
+ type: "FigmaNode" | "Resource";
2321
2321
  resource?: {
2322
2322
  url: string;
2323
2323
  resourceId: string;
@@ -2355,7 +2355,7 @@ declare const DTODocumentationPageCreateActionInputV2: z.ZodObject<{
2355
2355
  referencedTokenId?: string | undefined;
2356
2356
  } | null | undefined;
2357
2357
  backgroundImageAsset?: {
2358
- type: "Resource" | "FigmaNode";
2358
+ type: "FigmaNode" | "Resource";
2359
2359
  resource?: {
2360
2360
  url: string;
2361
2361
  resourceId: string;
@@ -2393,7 +2393,7 @@ declare const DTODocumentationPageCreateActionInputV2: z.ZodObject<{
2393
2393
  referencedTokenId?: string | undefined;
2394
2394
  } | null | undefined;
2395
2395
  backgroundImageAsset?: {
2396
- type: "Resource" | "FigmaNode";
2396
+ type: "FigmaNode" | "Resource";
2397
2397
  resource?: {
2398
2398
  url: string;
2399
2399
  resourceId: string;
@@ -2463,7 +2463,7 @@ declare const DTODocumentationPageUpdateActionInputV2: z.ZodObject<{
2463
2463
  frameReferenceId: string;
2464
2464
  }>>;
2465
2465
  }, "strip", z.ZodTypeAny, {
2466
- type: "Resource" | "FigmaNode";
2466
+ type: "FigmaNode" | "Resource";
2467
2467
  resource?: {
2468
2468
  url: string;
2469
2469
  resourceId: string;
@@ -2473,7 +2473,7 @@ declare const DTODocumentationPageUpdateActionInputV2: z.ZodObject<{
2473
2473
  frameReferenceId: string;
2474
2474
  } | undefined;
2475
2475
  }, {
2476
- type: "Resource" | "FigmaNode";
2476
+ type: "FigmaNode" | "Resource";
2477
2477
  resource?: {
2478
2478
  url: string;
2479
2479
  resourceId: string;
@@ -2502,7 +2502,7 @@ declare const DTODocumentationPageUpdateActionInputV2: z.ZodObject<{
2502
2502
  referencedTokenId?: string | undefined;
2503
2503
  } | null | undefined;
2504
2504
  backgroundImageAsset?: {
2505
- type: "Resource" | "FigmaNode";
2505
+ type: "FigmaNode" | "Resource";
2506
2506
  resource?: {
2507
2507
  url: string;
2508
2508
  resourceId: string;
@@ -2528,7 +2528,7 @@ declare const DTODocumentationPageUpdateActionInputV2: z.ZodObject<{
2528
2528
  referencedTokenId?: string | undefined;
2529
2529
  } | null | undefined;
2530
2530
  backgroundImageAsset?: {
2531
- type: "Resource" | "FigmaNode";
2531
+ type: "FigmaNode" | "Resource";
2532
2532
  resource?: {
2533
2533
  url: string;
2534
2534
  resourceId: string;
@@ -2557,7 +2557,7 @@ declare const DTODocumentationPageUpdateActionInputV2: z.ZodObject<{
2557
2557
  referencedTokenId?: string | undefined;
2558
2558
  } | null | undefined;
2559
2559
  backgroundImageAsset?: {
2560
- type: "Resource" | "FigmaNode";
2560
+ type: "FigmaNode" | "Resource";
2561
2561
  resource?: {
2562
2562
  url: string;
2563
2563
  resourceId: string;
@@ -2586,7 +2586,7 @@ declare const DTODocumentationPageUpdateActionInputV2: z.ZodObject<{
2586
2586
  referencedTokenId?: string | undefined;
2587
2587
  } | null | undefined;
2588
2588
  backgroundImageAsset?: {
2589
- type: "Resource" | "FigmaNode";
2589
+ type: "FigmaNode" | "Resource";
2590
2590
  resource?: {
2591
2591
  url: string;
2592
2592
  resourceId: string;
@@ -2619,7 +2619,7 @@ declare const DTODocumentationPageUpdateActionInputV2: z.ZodObject<{
2619
2619
  referencedTokenId?: string | undefined;
2620
2620
  } | null | undefined;
2621
2621
  backgroundImageAsset?: {
2622
- type: "Resource" | "FigmaNode";
2622
+ type: "FigmaNode" | "Resource";
2623
2623
  resource?: {
2624
2624
  url: string;
2625
2625
  resourceId: string;
@@ -2652,7 +2652,7 @@ declare const DTODocumentationPageUpdateActionInputV2: z.ZodObject<{
2652
2652
  referencedTokenId?: string | undefined;
2653
2653
  } | null | undefined;
2654
2654
  backgroundImageAsset?: {
2655
- type: "Resource" | "FigmaNode";
2655
+ type: "FigmaNode" | "Resource";
2656
2656
  resource?: {
2657
2657
  url: string;
2658
2658
  resourceId: string;
@@ -2688,7 +2688,7 @@ declare const DTODocumentationPageUpdateActionInputV2: z.ZodObject<{
2688
2688
  referencedTokenId?: string | undefined;
2689
2689
  } | null | undefined;
2690
2690
  backgroundImageAsset?: {
2691
- type: "Resource" | "FigmaNode";
2691
+ type: "FigmaNode" | "Resource";
2692
2692
  resource?: {
2693
2693
  url: string;
2694
2694
  resourceId: string;
@@ -2724,7 +2724,7 @@ declare const DTODocumentationPageUpdateActionInputV2: z.ZodObject<{
2724
2724
  referencedTokenId?: string | undefined;
2725
2725
  } | null | undefined;
2726
2726
  backgroundImageAsset?: {
2727
- type: "Resource" | "FigmaNode";
2727
+ type: "FigmaNode" | "Resource";
2728
2728
  resource?: {
2729
2729
  url: string;
2730
2730
  resourceId: string;
@@ -3729,7 +3729,7 @@ declare const DTODocumentationPageV2: z.ZodObject<{
3729
3729
  frameReferenceId: string;
3730
3730
  }>>;
3731
3731
  }, "strip", z.ZodTypeAny, {
3732
- type: "Resource" | "FigmaNode";
3732
+ type: "FigmaNode" | "Resource";
3733
3733
  resource?: {
3734
3734
  url: string;
3735
3735
  resourceId: string;
@@ -3739,7 +3739,7 @@ declare const DTODocumentationPageV2: z.ZodObject<{
3739
3739
  frameReferenceId: string;
3740
3740
  } | undefined;
3741
3741
  }, {
3742
- type: "Resource" | "FigmaNode";
3742
+ type: "FigmaNode" | "Resource";
3743
3743
  resource?: {
3744
3744
  url: string;
3745
3745
  resourceId: string;
@@ -3768,7 +3768,7 @@ declare const DTODocumentationPageV2: z.ZodObject<{
3768
3768
  referencedTokenId?: string | undefined;
3769
3769
  } | null | undefined;
3770
3770
  backgroundImageAsset?: {
3771
- type: "Resource" | "FigmaNode";
3771
+ type: "FigmaNode" | "Resource";
3772
3772
  resource?: {
3773
3773
  url: string;
3774
3774
  resourceId: string;
@@ -3794,7 +3794,7 @@ declare const DTODocumentationPageV2: z.ZodObject<{
3794
3794
  referencedTokenId?: string | undefined;
3795
3795
  } | null | undefined;
3796
3796
  backgroundImageAsset?: {
3797
- type: "Resource" | "FigmaNode";
3797
+ type: "FigmaNode" | "Resource";
3798
3798
  resource?: {
3799
3799
  url: string;
3800
3800
  resourceId: string;
@@ -3823,7 +3823,7 @@ declare const DTODocumentationPageV2: z.ZodObject<{
3823
3823
  referencedTokenId?: string | undefined;
3824
3824
  } | null | undefined;
3825
3825
  backgroundImageAsset?: {
3826
- type: "Resource" | "FigmaNode";
3826
+ type: "FigmaNode" | "Resource";
3827
3827
  resource?: {
3828
3828
  url: string;
3829
3829
  resourceId: string;
@@ -3852,7 +3852,7 @@ declare const DTODocumentationPageV2: z.ZodObject<{
3852
3852
  referencedTokenId?: string | undefined;
3853
3853
  } | null | undefined;
3854
3854
  backgroundImageAsset?: {
3855
- type: "Resource" | "FigmaNode";
3855
+ type: "FigmaNode" | "Resource";
3856
3856
  resource?: {
3857
3857
  url: string;
3858
3858
  resourceId: string;
@@ -3892,7 +3892,7 @@ declare const DTODocumentationPageV2: z.ZodObject<{
3892
3892
  referencedTokenId?: string | undefined;
3893
3893
  } | null | undefined;
3894
3894
  backgroundImageAsset?: {
3895
- type: "Resource" | "FigmaNode";
3895
+ type: "FigmaNode" | "Resource";
3896
3896
  resource?: {
3897
3897
  url: string;
3898
3898
  resourceId: string;
@@ -3934,7 +3934,7 @@ declare const DTODocumentationPageV2: z.ZodObject<{
3934
3934
  referencedTokenId?: string | undefined;
3935
3935
  } | null | undefined;
3936
3936
  backgroundImageAsset?: {
3937
- type: "Resource" | "FigmaNode";
3937
+ type: "FigmaNode" | "Resource";
3938
3938
  resource?: {
3939
3939
  url: string;
3940
3940
  resourceId: string;
@@ -4185,7 +4185,7 @@ declare const DTOCreateDocumentationPageInputV2: z.ZodObject<{
4185
4185
  frameReferenceId: string;
4186
4186
  }>>;
4187
4187
  }, "strip", z.ZodTypeAny, {
4188
- type: "Resource" | "FigmaNode";
4188
+ type: "FigmaNode" | "Resource";
4189
4189
  resource?: {
4190
4190
  url: string;
4191
4191
  resourceId: string;
@@ -4195,7 +4195,7 @@ declare const DTOCreateDocumentationPageInputV2: z.ZodObject<{
4195
4195
  frameReferenceId: string;
4196
4196
  } | undefined;
4197
4197
  }, {
4198
- type: "Resource" | "FigmaNode";
4198
+ type: "FigmaNode" | "Resource";
4199
4199
  resource?: {
4200
4200
  url: string;
4201
4201
  resourceId: string;
@@ -4224,7 +4224,7 @@ declare const DTOCreateDocumentationPageInputV2: z.ZodObject<{
4224
4224
  referencedTokenId?: string | undefined;
4225
4225
  } | null | undefined;
4226
4226
  backgroundImageAsset?: {
4227
- type: "Resource" | "FigmaNode";
4227
+ type: "FigmaNode" | "Resource";
4228
4228
  resource?: {
4229
4229
  url: string;
4230
4230
  resourceId: string;
@@ -4250,7 +4250,7 @@ declare const DTOCreateDocumentationPageInputV2: z.ZodObject<{
4250
4250
  referencedTokenId?: string | undefined;
4251
4251
  } | null | undefined;
4252
4252
  backgroundImageAsset?: {
4253
- type: "Resource" | "FigmaNode";
4253
+ type: "FigmaNode" | "Resource";
4254
4254
  resource?: {
4255
4255
  url: string;
4256
4256
  resourceId: string;
@@ -4279,7 +4279,7 @@ declare const DTOCreateDocumentationPageInputV2: z.ZodObject<{
4279
4279
  referencedTokenId?: string | undefined;
4280
4280
  } | null | undefined;
4281
4281
  backgroundImageAsset?: {
4282
- type: "Resource" | "FigmaNode";
4282
+ type: "FigmaNode" | "Resource";
4283
4283
  resource?: {
4284
4284
  url: string;
4285
4285
  resourceId: string;
@@ -4308,7 +4308,7 @@ declare const DTOCreateDocumentationPageInputV2: z.ZodObject<{
4308
4308
  referencedTokenId?: string | undefined;
4309
4309
  } | null | undefined;
4310
4310
  backgroundImageAsset?: {
4311
- type: "Resource" | "FigmaNode";
4311
+ type: "FigmaNode" | "Resource";
4312
4312
  resource?: {
4313
4313
  url: string;
4314
4314
  resourceId: string;
@@ -4344,7 +4344,7 @@ declare const DTOCreateDocumentationPageInputV2: z.ZodObject<{
4344
4344
  referencedTokenId?: string | undefined;
4345
4345
  } | null | undefined;
4346
4346
  backgroundImageAsset?: {
4347
- type: "Resource" | "FigmaNode";
4347
+ type: "FigmaNode" | "Resource";
4348
4348
  resource?: {
4349
4349
  url: string;
4350
4350
  resourceId: string;
@@ -4379,7 +4379,7 @@ declare const DTOCreateDocumentationPageInputV2: z.ZodObject<{
4379
4379
  referencedTokenId?: string | undefined;
4380
4380
  } | null | undefined;
4381
4381
  backgroundImageAsset?: {
4382
- type: "Resource" | "FigmaNode";
4382
+ type: "FigmaNode" | "Resource";
4383
4383
  resource?: {
4384
4384
  url: string;
4385
4385
  resourceId: string;
@@ -4446,7 +4446,7 @@ declare const DTOUpdateDocumentationPageInputV2: z.ZodObject<{
4446
4446
  frameReferenceId: string;
4447
4447
  }>>;
4448
4448
  }, "strip", z.ZodTypeAny, {
4449
- type: "Resource" | "FigmaNode";
4449
+ type: "FigmaNode" | "Resource";
4450
4450
  resource?: {
4451
4451
  url: string;
4452
4452
  resourceId: string;
@@ -4456,7 +4456,7 @@ declare const DTOUpdateDocumentationPageInputV2: z.ZodObject<{
4456
4456
  frameReferenceId: string;
4457
4457
  } | undefined;
4458
4458
  }, {
4459
- type: "Resource" | "FigmaNode";
4459
+ type: "FigmaNode" | "Resource";
4460
4460
  resource?: {
4461
4461
  url: string;
4462
4462
  resourceId: string;
@@ -4485,7 +4485,7 @@ declare const DTOUpdateDocumentationPageInputV2: z.ZodObject<{
4485
4485
  referencedTokenId?: string | undefined;
4486
4486
  } | null | undefined;
4487
4487
  backgroundImageAsset?: {
4488
- type: "Resource" | "FigmaNode";
4488
+ type: "FigmaNode" | "Resource";
4489
4489
  resource?: {
4490
4490
  url: string;
4491
4491
  resourceId: string;
@@ -4511,7 +4511,7 @@ declare const DTOUpdateDocumentationPageInputV2: z.ZodObject<{
4511
4511
  referencedTokenId?: string | undefined;
4512
4512
  } | null | undefined;
4513
4513
  backgroundImageAsset?: {
4514
- type: "Resource" | "FigmaNode";
4514
+ type: "FigmaNode" | "Resource";
4515
4515
  resource?: {
4516
4516
  url: string;
4517
4517
  resourceId: string;
@@ -4540,7 +4540,7 @@ declare const DTOUpdateDocumentationPageInputV2: z.ZodObject<{
4540
4540
  referencedTokenId?: string | undefined;
4541
4541
  } | null | undefined;
4542
4542
  backgroundImageAsset?: {
4543
- type: "Resource" | "FigmaNode";
4543
+ type: "FigmaNode" | "Resource";
4544
4544
  resource?: {
4545
4545
  url: string;
4546
4546
  resourceId: string;
@@ -4569,7 +4569,7 @@ declare const DTOUpdateDocumentationPageInputV2: z.ZodObject<{
4569
4569
  referencedTokenId?: string | undefined;
4570
4570
  } | null | undefined;
4571
4571
  backgroundImageAsset?: {
4572
- type: "Resource" | "FigmaNode";
4572
+ type: "FigmaNode" | "Resource";
4573
4573
  resource?: {
4574
4574
  url: string;
4575
4575
  resourceId: string;
@@ -4602,7 +4602,7 @@ declare const DTOUpdateDocumentationPageInputV2: z.ZodObject<{
4602
4602
  referencedTokenId?: string | undefined;
4603
4603
  } | null | undefined;
4604
4604
  backgroundImageAsset?: {
4605
- type: "Resource" | "FigmaNode";
4605
+ type: "FigmaNode" | "Resource";
4606
4606
  resource?: {
4607
4607
  url: string;
4608
4608
  resourceId: string;
@@ -4635,7 +4635,7 @@ declare const DTOUpdateDocumentationPageInputV2: z.ZodObject<{
4635
4635
  referencedTokenId?: string | undefined;
4636
4636
  } | null | undefined;
4637
4637
  backgroundImageAsset?: {
4638
- type: "Resource" | "FigmaNode";
4638
+ type: "FigmaNode" | "Resource";
4639
4639
  resource?: {
4640
4640
  url: string;
4641
4641
  resourceId: string;
@@ -4690,6 +4690,143 @@ declare const DTODeleteDocumentationPageInputV2: z.ZodObject<{
4690
4690
  }>;
4691
4691
  type DTODeleteDocumentationPageInputV2 = z.infer<typeof DTODeleteDocumentationPageInputV2>;
4692
4692
 
4693
+ declare const DTOFigmaNodeData: z.ZodObject<{
4694
+ figmaNodeId: z.ZodString;
4695
+ isValid: z.ZodBoolean;
4696
+ assetId: z.ZodString;
4697
+ assetUrl: z.ZodString;
4698
+ assetScale: z.ZodNumber;
4699
+ assetWidth: z.ZodOptional<z.ZodNumber>;
4700
+ assetHeight: z.ZodOptional<z.ZodNumber>;
4701
+ }, "strip", z.ZodTypeAny, {
4702
+ figmaNodeId: string;
4703
+ isValid: boolean;
4704
+ assetId: string;
4705
+ assetUrl: string;
4706
+ assetScale: number;
4707
+ assetWidth?: number | undefined;
4708
+ assetHeight?: number | undefined;
4709
+ }, {
4710
+ figmaNodeId: string;
4711
+ isValid: boolean;
4712
+ assetId: string;
4713
+ assetUrl: string;
4714
+ assetScale: number;
4715
+ assetWidth?: number | undefined;
4716
+ assetHeight?: number | undefined;
4717
+ }>;
4718
+ type DTOFigmaNodeData = z.infer<typeof DTOFigmaNodeData>;
4719
+ declare const DTOFigmaNode: z.ZodObject<{
4720
+ id: z.ZodString;
4721
+ createdAt: z.ZodDate;
4722
+ updatedAt: z.ZodDate;
4723
+ meta: z.ZodObject<{
4724
+ name: z.ZodString;
4725
+ description: z.ZodOptional<z.ZodString>;
4726
+ }, "strip", z.ZodTypeAny, {
4727
+ name: string;
4728
+ description?: string | undefined;
4729
+ }, {
4730
+ name: string;
4731
+ description?: string | undefined;
4732
+ }>;
4733
+ persistentId: z.ZodString;
4734
+ designSystemVersionId: z.ZodString;
4735
+ origin: z.ZodObject<{
4736
+ sourceId: z.ZodString;
4737
+ fileId: z.ZodOptional<z.ZodString>;
4738
+ }, "strip", z.ZodTypeAny, {
4739
+ sourceId: string;
4740
+ fileId?: string | undefined;
4741
+ }, {
4742
+ sourceId: string;
4743
+ fileId?: string | undefined;
4744
+ }>;
4745
+ data: z.ZodObject<{
4746
+ figmaNodeId: z.ZodString;
4747
+ isValid: z.ZodBoolean;
4748
+ assetId: z.ZodString;
4749
+ assetUrl: z.ZodString;
4750
+ assetScale: z.ZodNumber;
4751
+ assetWidth: z.ZodOptional<z.ZodNumber>;
4752
+ assetHeight: z.ZodOptional<z.ZodNumber>;
4753
+ }, "strip", z.ZodTypeAny, {
4754
+ figmaNodeId: string;
4755
+ isValid: boolean;
4756
+ assetId: string;
4757
+ assetUrl: string;
4758
+ assetScale: number;
4759
+ assetWidth?: number | undefined;
4760
+ assetHeight?: number | undefined;
4761
+ }, {
4762
+ figmaNodeId: string;
4763
+ isValid: boolean;
4764
+ assetId: string;
4765
+ assetUrl: string;
4766
+ assetScale: number;
4767
+ assetWidth?: number | undefined;
4768
+ assetHeight?: number | undefined;
4769
+ }>;
4770
+ }, "strip", z.ZodTypeAny, {
4771
+ id: string;
4772
+ createdAt: Date;
4773
+ updatedAt: Date;
4774
+ meta: {
4775
+ name: string;
4776
+ description?: string | undefined;
4777
+ };
4778
+ persistentId: string;
4779
+ designSystemVersionId: string;
4780
+ data: {
4781
+ figmaNodeId: string;
4782
+ isValid: boolean;
4783
+ assetId: string;
4784
+ assetUrl: string;
4785
+ assetScale: number;
4786
+ assetWidth?: number | undefined;
4787
+ assetHeight?: number | undefined;
4788
+ };
4789
+ origin: {
4790
+ sourceId: string;
4791
+ fileId?: string | undefined;
4792
+ };
4793
+ }, {
4794
+ id: string;
4795
+ createdAt: Date;
4796
+ updatedAt: Date;
4797
+ meta: {
4798
+ name: string;
4799
+ description?: string | undefined;
4800
+ };
4801
+ persistentId: string;
4802
+ designSystemVersionId: string;
4803
+ data: {
4804
+ figmaNodeId: string;
4805
+ isValid: boolean;
4806
+ assetId: string;
4807
+ assetUrl: string;
4808
+ assetScale: number;
4809
+ assetWidth?: number | undefined;
4810
+ assetHeight?: number | undefined;
4811
+ };
4812
+ origin: {
4813
+ sourceId: string;
4814
+ fileId?: string | undefined;
4815
+ };
4816
+ }>;
4817
+ type DTOFigmaNode = z.infer<typeof DTOFigmaNode>;
4818
+ declare const DTOFigmaNodeCreateInput: z.ZodObject<{
4819
+ sourceId: z.ZodString;
4820
+ figmaFileNodeId: z.ZodString;
4821
+ }, "strip", z.ZodTypeAny, {
4822
+ sourceId: string;
4823
+ figmaFileNodeId: string;
4824
+ }, {
4825
+ sourceId: string;
4826
+ figmaFileNodeId: string;
4827
+ }>;
4828
+ type DTOFigmaNodeCreateInput = z.infer<typeof DTOFigmaNodeCreateInput>;
4829
+
4693
4830
  declare const DTOFigmaNodeActionOutput: z.ZodObject<{
4694
4831
  type: z.ZodLiteral<"FigmaNodeRender">;
4695
4832
  figmaNodes: z.ZodArray<z.ZodObject<{
@@ -4871,143 +5008,6 @@ declare const DTOFigmaNodeActionInput: z.ZodObject<{
4871
5008
  }>;
4872
5009
  type DTOFigmaNodeActionInput = z.infer<typeof DTOFigmaNodeActionInput>;
4873
5010
 
4874
- declare const DTOFigmaNodeData: z.ZodObject<{
4875
- figmaNodeId: z.ZodString;
4876
- isValid: z.ZodBoolean;
4877
- assetId: z.ZodString;
4878
- assetUrl: z.ZodString;
4879
- assetScale: z.ZodNumber;
4880
- assetWidth: z.ZodOptional<z.ZodNumber>;
4881
- assetHeight: z.ZodOptional<z.ZodNumber>;
4882
- }, "strip", z.ZodTypeAny, {
4883
- figmaNodeId: string;
4884
- isValid: boolean;
4885
- assetId: string;
4886
- assetUrl: string;
4887
- assetScale: number;
4888
- assetWidth?: number | undefined;
4889
- assetHeight?: number | undefined;
4890
- }, {
4891
- figmaNodeId: string;
4892
- isValid: boolean;
4893
- assetId: string;
4894
- assetUrl: string;
4895
- assetScale: number;
4896
- assetWidth?: number | undefined;
4897
- assetHeight?: number | undefined;
4898
- }>;
4899
- type DTOFigmaNodeData = z.infer<typeof DTOFigmaNodeData>;
4900
- declare const DTOFigmaNode: z.ZodObject<{
4901
- id: z.ZodString;
4902
- createdAt: z.ZodDate;
4903
- updatedAt: z.ZodDate;
4904
- meta: z.ZodObject<{
4905
- name: z.ZodString;
4906
- description: z.ZodOptional<z.ZodString>;
4907
- }, "strip", z.ZodTypeAny, {
4908
- name: string;
4909
- description?: string | undefined;
4910
- }, {
4911
- name: string;
4912
- description?: string | undefined;
4913
- }>;
4914
- persistentId: z.ZodString;
4915
- designSystemVersionId: z.ZodString;
4916
- origin: z.ZodObject<{
4917
- sourceId: z.ZodString;
4918
- fileId: z.ZodOptional<z.ZodString>;
4919
- }, "strip", z.ZodTypeAny, {
4920
- sourceId: string;
4921
- fileId?: string | undefined;
4922
- }, {
4923
- sourceId: string;
4924
- fileId?: string | undefined;
4925
- }>;
4926
- data: z.ZodObject<{
4927
- figmaNodeId: z.ZodString;
4928
- isValid: z.ZodBoolean;
4929
- assetId: z.ZodString;
4930
- assetUrl: z.ZodString;
4931
- assetScale: z.ZodNumber;
4932
- assetWidth: z.ZodOptional<z.ZodNumber>;
4933
- assetHeight: z.ZodOptional<z.ZodNumber>;
4934
- }, "strip", z.ZodTypeAny, {
4935
- figmaNodeId: string;
4936
- isValid: boolean;
4937
- assetId: string;
4938
- assetUrl: string;
4939
- assetScale: number;
4940
- assetWidth?: number | undefined;
4941
- assetHeight?: number | undefined;
4942
- }, {
4943
- figmaNodeId: string;
4944
- isValid: boolean;
4945
- assetId: string;
4946
- assetUrl: string;
4947
- assetScale: number;
4948
- assetWidth?: number | undefined;
4949
- assetHeight?: number | undefined;
4950
- }>;
4951
- }, "strip", z.ZodTypeAny, {
4952
- id: string;
4953
- createdAt: Date;
4954
- updatedAt: Date;
4955
- meta: {
4956
- name: string;
4957
- description?: string | undefined;
4958
- };
4959
- persistentId: string;
4960
- designSystemVersionId: string;
4961
- data: {
4962
- figmaNodeId: string;
4963
- isValid: boolean;
4964
- assetId: string;
4965
- assetUrl: string;
4966
- assetScale: number;
4967
- assetWidth?: number | undefined;
4968
- assetHeight?: number | undefined;
4969
- };
4970
- origin: {
4971
- sourceId: string;
4972
- fileId?: string | undefined;
4973
- };
4974
- }, {
4975
- id: string;
4976
- createdAt: Date;
4977
- updatedAt: Date;
4978
- meta: {
4979
- name: string;
4980
- description?: string | undefined;
4981
- };
4982
- persistentId: string;
4983
- designSystemVersionId: string;
4984
- data: {
4985
- figmaNodeId: string;
4986
- isValid: boolean;
4987
- assetId: string;
4988
- assetUrl: string;
4989
- assetScale: number;
4990
- assetWidth?: number | undefined;
4991
- assetHeight?: number | undefined;
4992
- };
4993
- origin: {
4994
- sourceId: string;
4995
- fileId?: string | undefined;
4996
- };
4997
- }>;
4998
- type DTOFigmaNode = z.infer<typeof DTOFigmaNode>;
4999
- declare const DTOFigmaNodeCreateInput: z.ZodObject<{
5000
- sourceId: z.ZodString;
5001
- figmaFileNodeId: z.ZodString;
5002
- }, "strip", z.ZodTypeAny, {
5003
- sourceId: string;
5004
- figmaFileNodeId: string;
5005
- }, {
5006
- sourceId: string;
5007
- figmaFileNodeId: string;
5008
- }>;
5009
- type DTOFigmaNodeCreateInput = z.infer<typeof DTOFigmaNodeCreateInput>;
5010
-
5011
5011
  declare const DTOElementActionOutput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
5012
5012
  type: z.ZodLiteral<"DocumentationPageCreate">;
5013
5013
  output: z.ZodObject<{
@@ -5443,7 +5443,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5443
5443
  frameReferenceId: string;
5444
5444
  }>>;
5445
5445
  }, "strip", z.ZodTypeAny, {
5446
- type: "Resource" | "FigmaNode";
5446
+ type: "FigmaNode" | "Resource";
5447
5447
  resource?: {
5448
5448
  url: string;
5449
5449
  resourceId: string;
@@ -5453,7 +5453,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5453
5453
  frameReferenceId: string;
5454
5454
  } | undefined;
5455
5455
  }, {
5456
- type: "Resource" | "FigmaNode";
5456
+ type: "FigmaNode" | "Resource";
5457
5457
  resource?: {
5458
5458
  url: string;
5459
5459
  resourceId: string;
@@ -5482,7 +5482,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5482
5482
  referencedTokenId?: string | undefined;
5483
5483
  } | null | undefined;
5484
5484
  backgroundImageAsset?: {
5485
- type: "Resource" | "FigmaNode";
5485
+ type: "FigmaNode" | "Resource";
5486
5486
  resource?: {
5487
5487
  url: string;
5488
5488
  resourceId: string;
@@ -5508,7 +5508,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5508
5508
  referencedTokenId?: string | undefined;
5509
5509
  } | null | undefined;
5510
5510
  backgroundImageAsset?: {
5511
- type: "Resource" | "FigmaNode";
5511
+ type: "FigmaNode" | "Resource";
5512
5512
  resource?: {
5513
5513
  url: string;
5514
5514
  resourceId: string;
@@ -5537,7 +5537,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5537
5537
  referencedTokenId?: string | undefined;
5538
5538
  } | null | undefined;
5539
5539
  backgroundImageAsset?: {
5540
- type: "Resource" | "FigmaNode";
5540
+ type: "FigmaNode" | "Resource";
5541
5541
  resource?: {
5542
5542
  url: string;
5543
5543
  resourceId: string;
@@ -5566,7 +5566,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5566
5566
  referencedTokenId?: string | undefined;
5567
5567
  } | null | undefined;
5568
5568
  backgroundImageAsset?: {
5569
- type: "Resource" | "FigmaNode";
5569
+ type: "FigmaNode" | "Resource";
5570
5570
  resource?: {
5571
5571
  url: string;
5572
5572
  resourceId: string;
@@ -5602,7 +5602,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5602
5602
  referencedTokenId?: string | undefined;
5603
5603
  } | null | undefined;
5604
5604
  backgroundImageAsset?: {
5605
- type: "Resource" | "FigmaNode";
5605
+ type: "FigmaNode" | "Resource";
5606
5606
  resource?: {
5607
5607
  url: string;
5608
5608
  resourceId: string;
@@ -5637,7 +5637,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5637
5637
  referencedTokenId?: string | undefined;
5638
5638
  } | null | undefined;
5639
5639
  backgroundImageAsset?: {
5640
- type: "Resource" | "FigmaNode";
5640
+ type: "FigmaNode" | "Resource";
5641
5641
  resource?: {
5642
5642
  url: string;
5643
5643
  resourceId: string;
@@ -5675,7 +5675,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5675
5675
  referencedTokenId?: string | undefined;
5676
5676
  } | null | undefined;
5677
5677
  backgroundImageAsset?: {
5678
- type: "Resource" | "FigmaNode";
5678
+ type: "FigmaNode" | "Resource";
5679
5679
  resource?: {
5680
5680
  url: string;
5681
5681
  resourceId: string;
@@ -5713,7 +5713,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5713
5713
  referencedTokenId?: string | undefined;
5714
5714
  } | null | undefined;
5715
5715
  backgroundImageAsset?: {
5716
- type: "Resource" | "FigmaNode";
5716
+ type: "FigmaNode" | "Resource";
5717
5717
  resource?: {
5718
5718
  url: string;
5719
5719
  resourceId: string;
@@ -5781,7 +5781,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5781
5781
  frameReferenceId: string;
5782
5782
  }>>;
5783
5783
  }, "strip", z.ZodTypeAny, {
5784
- type: "Resource" | "FigmaNode";
5784
+ type: "FigmaNode" | "Resource";
5785
5785
  resource?: {
5786
5786
  url: string;
5787
5787
  resourceId: string;
@@ -5791,7 +5791,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5791
5791
  frameReferenceId: string;
5792
5792
  } | undefined;
5793
5793
  }, {
5794
- type: "Resource" | "FigmaNode";
5794
+ type: "FigmaNode" | "Resource";
5795
5795
  resource?: {
5796
5796
  url: string;
5797
5797
  resourceId: string;
@@ -5820,7 +5820,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5820
5820
  referencedTokenId?: string | undefined;
5821
5821
  } | null | undefined;
5822
5822
  backgroundImageAsset?: {
5823
- type: "Resource" | "FigmaNode";
5823
+ type: "FigmaNode" | "Resource";
5824
5824
  resource?: {
5825
5825
  url: string;
5826
5826
  resourceId: string;
@@ -5846,7 +5846,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5846
5846
  referencedTokenId?: string | undefined;
5847
5847
  } | null | undefined;
5848
5848
  backgroundImageAsset?: {
5849
- type: "Resource" | "FigmaNode";
5849
+ type: "FigmaNode" | "Resource";
5850
5850
  resource?: {
5851
5851
  url: string;
5852
5852
  resourceId: string;
@@ -5875,7 +5875,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5875
5875
  referencedTokenId?: string | undefined;
5876
5876
  } | null | undefined;
5877
5877
  backgroundImageAsset?: {
5878
- type: "Resource" | "FigmaNode";
5878
+ type: "FigmaNode" | "Resource";
5879
5879
  resource?: {
5880
5880
  url: string;
5881
5881
  resourceId: string;
@@ -5904,7 +5904,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5904
5904
  referencedTokenId?: string | undefined;
5905
5905
  } | null | undefined;
5906
5906
  backgroundImageAsset?: {
5907
- type: "Resource" | "FigmaNode";
5907
+ type: "FigmaNode" | "Resource";
5908
5908
  resource?: {
5909
5909
  url: string;
5910
5910
  resourceId: string;
@@ -5937,7 +5937,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5937
5937
  referencedTokenId?: string | undefined;
5938
5938
  } | null | undefined;
5939
5939
  backgroundImageAsset?: {
5940
- type: "Resource" | "FigmaNode";
5940
+ type: "FigmaNode" | "Resource";
5941
5941
  resource?: {
5942
5942
  url: string;
5943
5943
  resourceId: string;
@@ -5970,7 +5970,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5970
5970
  referencedTokenId?: string | undefined;
5971
5971
  } | null | undefined;
5972
5972
  backgroundImageAsset?: {
5973
- type: "Resource" | "FigmaNode";
5973
+ type: "FigmaNode" | "Resource";
5974
5974
  resource?: {
5975
5975
  url: string;
5976
5976
  resourceId: string;
@@ -6006,7 +6006,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6006
6006
  referencedTokenId?: string | undefined;
6007
6007
  } | null | undefined;
6008
6008
  backgroundImageAsset?: {
6009
- type: "Resource" | "FigmaNode";
6009
+ type: "FigmaNode" | "Resource";
6010
6010
  resource?: {
6011
6011
  url: string;
6012
6012
  resourceId: string;
@@ -6042,7 +6042,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6042
6042
  referencedTokenId?: string | undefined;
6043
6043
  } | null | undefined;
6044
6044
  backgroundImageAsset?: {
6045
- type: "Resource" | "FigmaNode";
6045
+ type: "FigmaNode" | "Resource";
6046
6046
  resource?: {
6047
6047
  url: string;
6048
6048
  resourceId: string;
@@ -6191,7 +6191,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6191
6191
  frameReferenceId: string;
6192
6192
  }>>;
6193
6193
  }, "strip", z.ZodTypeAny, {
6194
- type: "Resource" | "FigmaNode";
6194
+ type: "FigmaNode" | "Resource";
6195
6195
  resource?: {
6196
6196
  url: string;
6197
6197
  resourceId: string;
@@ -6201,7 +6201,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6201
6201
  frameReferenceId: string;
6202
6202
  } | undefined;
6203
6203
  }, {
6204
- type: "Resource" | "FigmaNode";
6204
+ type: "FigmaNode" | "Resource";
6205
6205
  resource?: {
6206
6206
  url: string;
6207
6207
  resourceId: string;
@@ -6230,7 +6230,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6230
6230
  referencedTokenId?: string | undefined;
6231
6231
  } | null | undefined;
6232
6232
  backgroundImageAsset?: {
6233
- type: "Resource" | "FigmaNode";
6233
+ type: "FigmaNode" | "Resource";
6234
6234
  resource?: {
6235
6235
  url: string;
6236
6236
  resourceId: string;
@@ -6256,7 +6256,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6256
6256
  referencedTokenId?: string | undefined;
6257
6257
  } | null | undefined;
6258
6258
  backgroundImageAsset?: {
6259
- type: "Resource" | "FigmaNode";
6259
+ type: "FigmaNode" | "Resource";
6260
6260
  resource?: {
6261
6261
  url: string;
6262
6262
  resourceId: string;
@@ -6285,7 +6285,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6285
6285
  referencedTokenId?: string | undefined;
6286
6286
  } | null | undefined;
6287
6287
  backgroundImageAsset?: {
6288
- type: "Resource" | "FigmaNode";
6288
+ type: "FigmaNode" | "Resource";
6289
6289
  resource?: {
6290
6290
  url: string;
6291
6291
  resourceId: string;
@@ -6314,7 +6314,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6314
6314
  referencedTokenId?: string | undefined;
6315
6315
  } | null | undefined;
6316
6316
  backgroundImageAsset?: {
6317
- type: "Resource" | "FigmaNode";
6317
+ type: "FigmaNode" | "Resource";
6318
6318
  resource?: {
6319
6319
  url: string;
6320
6320
  resourceId: string;
@@ -6350,7 +6350,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6350
6350
  referencedTokenId?: string | undefined;
6351
6351
  } | null | undefined;
6352
6352
  backgroundImageAsset?: {
6353
- type: "Resource" | "FigmaNode";
6353
+ type: "FigmaNode" | "Resource";
6354
6354
  resource?: {
6355
6355
  url: string;
6356
6356
  resourceId: string;
@@ -6385,7 +6385,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6385
6385
  referencedTokenId?: string | undefined;
6386
6386
  } | null | undefined;
6387
6387
  backgroundImageAsset?: {
6388
- type: "Resource" | "FigmaNode";
6388
+ type: "FigmaNode" | "Resource";
6389
6389
  resource?: {
6390
6390
  url: string;
6391
6391
  resourceId: string;
@@ -6423,7 +6423,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6423
6423
  referencedTokenId?: string | undefined;
6424
6424
  } | null | undefined;
6425
6425
  backgroundImageAsset?: {
6426
- type: "Resource" | "FigmaNode";
6426
+ type: "FigmaNode" | "Resource";
6427
6427
  resource?: {
6428
6428
  url: string;
6429
6429
  resourceId: string;
@@ -6461,7 +6461,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6461
6461
  referencedTokenId?: string | undefined;
6462
6462
  } | null | undefined;
6463
6463
  backgroundImageAsset?: {
6464
- type: "Resource" | "FigmaNode";
6464
+ type: "FigmaNode" | "Resource";
6465
6465
  resource?: {
6466
6466
  url: string;
6467
6467
  resourceId: string;
@@ -6558,7 +6558,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6558
6558
  frameReferenceId: string;
6559
6559
  }>>;
6560
6560
  }, "strip", z.ZodTypeAny, {
6561
- type: "Resource" | "FigmaNode";
6561
+ type: "FigmaNode" | "Resource";
6562
6562
  resource?: {
6563
6563
  url: string;
6564
6564
  resourceId: string;
@@ -6568,7 +6568,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6568
6568
  frameReferenceId: string;
6569
6569
  } | undefined;
6570
6570
  }, {
6571
- type: "Resource" | "FigmaNode";
6571
+ type: "FigmaNode" | "Resource";
6572
6572
  resource?: {
6573
6573
  url: string;
6574
6574
  resourceId: string;
@@ -6597,7 +6597,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6597
6597
  referencedTokenId?: string | undefined;
6598
6598
  } | null | undefined;
6599
6599
  backgroundImageAsset?: {
6600
- type: "Resource" | "FigmaNode";
6600
+ type: "FigmaNode" | "Resource";
6601
6601
  resource?: {
6602
6602
  url: string;
6603
6603
  resourceId: string;
@@ -6623,7 +6623,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6623
6623
  referencedTokenId?: string | undefined;
6624
6624
  } | null | undefined;
6625
6625
  backgroundImageAsset?: {
6626
- type: "Resource" | "FigmaNode";
6626
+ type: "FigmaNode" | "Resource";
6627
6627
  resource?: {
6628
6628
  url: string;
6629
6629
  resourceId: string;
@@ -6652,7 +6652,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6652
6652
  referencedTokenId?: string | undefined;
6653
6653
  } | null | undefined;
6654
6654
  backgroundImageAsset?: {
6655
- type: "Resource" | "FigmaNode";
6655
+ type: "FigmaNode" | "Resource";
6656
6656
  resource?: {
6657
6657
  url: string;
6658
6658
  resourceId: string;
@@ -6681,7 +6681,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6681
6681
  referencedTokenId?: string | undefined;
6682
6682
  } | null | undefined;
6683
6683
  backgroundImageAsset?: {
6684
- type: "Resource" | "FigmaNode";
6684
+ type: "FigmaNode" | "Resource";
6685
6685
  resource?: {
6686
6686
  url: string;
6687
6687
  resourceId: string;
@@ -6714,7 +6714,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6714
6714
  referencedTokenId?: string | undefined;
6715
6715
  } | null | undefined;
6716
6716
  backgroundImageAsset?: {
6717
- type: "Resource" | "FigmaNode";
6717
+ type: "FigmaNode" | "Resource";
6718
6718
  resource?: {
6719
6719
  url: string;
6720
6720
  resourceId: string;
@@ -6747,7 +6747,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6747
6747
  referencedTokenId?: string | undefined;
6748
6748
  } | null | undefined;
6749
6749
  backgroundImageAsset?: {
6750
- type: "Resource" | "FigmaNode";
6750
+ type: "FigmaNode" | "Resource";
6751
6751
  resource?: {
6752
6752
  url: string;
6753
6753
  resourceId: string;
@@ -6783,7 +6783,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6783
6783
  referencedTokenId?: string | undefined;
6784
6784
  } | null | undefined;
6785
6785
  backgroundImageAsset?: {
6786
- type: "Resource" | "FigmaNode";
6786
+ type: "FigmaNode" | "Resource";
6787
6787
  resource?: {
6788
6788
  url: string;
6789
6789
  resourceId: string;
@@ -6819,7 +6819,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6819
6819
  referencedTokenId?: string | undefined;
6820
6820
  } | null | undefined;
6821
6821
  backgroundImageAsset?: {
6822
- type: "Resource" | "FigmaNode";
6822
+ type: "FigmaNode" | "Resource";
6823
6823
  resource?: {
6824
6824
  url: string;
6825
6825
  resourceId: string;
@@ -6966,6 +6966,169 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6966
6966
  }>]>;
6967
6967
  type DTOElementActionInput = z.infer<typeof DTOElementActionInput>;
6968
6968
 
6969
+ declare const DTOElementGetQuerySchema: z.ZodObject<{
6970
+ types: z.ZodEffects<z.ZodString, "FigmaNode"[], string>;
6971
+ }, "strip", z.ZodTypeAny, {
6972
+ types: "FigmaNode"[];
6973
+ }, {
6974
+ types: string;
6975
+ }>;
6976
+ declare const DTOElementsGetOutput: z.ZodObject<{
6977
+ figmaNodes: z.ZodOptional<z.ZodArray<z.ZodObject<{
6978
+ id: z.ZodString;
6979
+ createdAt: z.ZodDate;
6980
+ updatedAt: z.ZodDate;
6981
+ meta: z.ZodObject<{
6982
+ name: z.ZodString;
6983
+ description: z.ZodOptional<z.ZodString>;
6984
+ }, "strip", z.ZodTypeAny, {
6985
+ name: string;
6986
+ description?: string | undefined;
6987
+ }, {
6988
+ name: string;
6989
+ description?: string | undefined;
6990
+ }>;
6991
+ persistentId: z.ZodString;
6992
+ designSystemVersionId: z.ZodString;
6993
+ origin: z.ZodObject<{
6994
+ sourceId: z.ZodString;
6995
+ fileId: z.ZodOptional<z.ZodString>;
6996
+ }, "strip", z.ZodTypeAny, {
6997
+ sourceId: string;
6998
+ fileId?: string | undefined;
6999
+ }, {
7000
+ sourceId: string;
7001
+ fileId?: string | undefined;
7002
+ }>;
7003
+ data: z.ZodObject<{
7004
+ figmaNodeId: z.ZodString;
7005
+ isValid: z.ZodBoolean;
7006
+ assetId: z.ZodString;
7007
+ assetUrl: z.ZodString;
7008
+ assetScale: z.ZodNumber;
7009
+ assetWidth: z.ZodOptional<z.ZodNumber>;
7010
+ assetHeight: z.ZodOptional<z.ZodNumber>;
7011
+ }, "strip", z.ZodTypeAny, {
7012
+ figmaNodeId: string;
7013
+ isValid: boolean;
7014
+ assetId: string;
7015
+ assetUrl: string;
7016
+ assetScale: number;
7017
+ assetWidth?: number | undefined;
7018
+ assetHeight?: number | undefined;
7019
+ }, {
7020
+ figmaNodeId: string;
7021
+ isValid: boolean;
7022
+ assetId: string;
7023
+ assetUrl: string;
7024
+ assetScale: number;
7025
+ assetWidth?: number | undefined;
7026
+ assetHeight?: number | undefined;
7027
+ }>;
7028
+ }, "strip", z.ZodTypeAny, {
7029
+ id: string;
7030
+ createdAt: Date;
7031
+ updatedAt: Date;
7032
+ meta: {
7033
+ name: string;
7034
+ description?: string | undefined;
7035
+ };
7036
+ persistentId: string;
7037
+ designSystemVersionId: string;
7038
+ data: {
7039
+ figmaNodeId: string;
7040
+ isValid: boolean;
7041
+ assetId: string;
7042
+ assetUrl: string;
7043
+ assetScale: number;
7044
+ assetWidth?: number | undefined;
7045
+ assetHeight?: number | undefined;
7046
+ };
7047
+ origin: {
7048
+ sourceId: string;
7049
+ fileId?: string | undefined;
7050
+ };
7051
+ }, {
7052
+ id: string;
7053
+ createdAt: Date;
7054
+ updatedAt: Date;
7055
+ meta: {
7056
+ name: string;
7057
+ description?: string | undefined;
7058
+ };
7059
+ persistentId: string;
7060
+ designSystemVersionId: string;
7061
+ data: {
7062
+ figmaNodeId: string;
7063
+ isValid: boolean;
7064
+ assetId: string;
7065
+ assetUrl: string;
7066
+ assetScale: number;
7067
+ assetWidth?: number | undefined;
7068
+ assetHeight?: number | undefined;
7069
+ };
7070
+ origin: {
7071
+ sourceId: string;
7072
+ fileId?: string | undefined;
7073
+ };
7074
+ }>, "many">>;
7075
+ }, "strip", z.ZodTypeAny, {
7076
+ figmaNodes?: {
7077
+ id: string;
7078
+ createdAt: Date;
7079
+ updatedAt: Date;
7080
+ meta: {
7081
+ name: string;
7082
+ description?: string | undefined;
7083
+ };
7084
+ persistentId: string;
7085
+ designSystemVersionId: string;
7086
+ data: {
7087
+ figmaNodeId: string;
7088
+ isValid: boolean;
7089
+ assetId: string;
7090
+ assetUrl: string;
7091
+ assetScale: number;
7092
+ assetWidth?: number | undefined;
7093
+ assetHeight?: number | undefined;
7094
+ };
7095
+ origin: {
7096
+ sourceId: string;
7097
+ fileId?: string | undefined;
7098
+ };
7099
+ }[] | undefined;
7100
+ }, {
7101
+ figmaNodes?: {
7102
+ id: string;
7103
+ createdAt: Date;
7104
+ updatedAt: Date;
7105
+ meta: {
7106
+ name: string;
7107
+ description?: string | undefined;
7108
+ };
7109
+ persistentId: string;
7110
+ designSystemVersionId: string;
7111
+ data: {
7112
+ figmaNodeId: string;
7113
+ isValid: boolean;
7114
+ assetId: string;
7115
+ assetUrl: string;
7116
+ assetScale: number;
7117
+ assetWidth?: number | undefined;
7118
+ assetHeight?: number | undefined;
7119
+ };
7120
+ origin: {
7121
+ sourceId: string;
7122
+ fileId?: string | undefined;
7123
+ };
7124
+ }[] | undefined;
7125
+ }>;
7126
+ type DTOElementsGetOutput = z.infer<typeof DTOElementsGetOutput>;
7127
+ type DTOElementGetQueryRaw = z.input<typeof DTOElementGetQuerySchema>;
7128
+ type DTOElementGetQueryParsed = z.output<typeof DTOElementGetQuerySchema>;
7129
+ declare const DTOElementGetTypeFilter: z.ZodEnum<["FigmaNode"]>;
7130
+ type DTOElementGetTypeFilter = z.infer<typeof DTOElementGetTypeFilter>;
7131
+
6969
7132
  declare function documentationElementsToHierarchyDto(docPages: DocumentationPageV2[], docGroups: ElementGroup[]): DTODocumentationHierarchyV2;
6970
7133
 
6971
7134
  declare function elementGroupsToDocumentationGroupStructureDTO(groups: ElementGroup[], pages: (DocumentationPageV1 | DocumentationPageV2)[]): DTODocumentationGroupStructureV2[];
@@ -7591,7 +7754,7 @@ declare const DTODocumentationPageRoomHeaderData: z.ZodObject<{
7591
7754
  frameReferenceId: string;
7592
7755
  }>>;
7593
7756
  }, "strip", z.ZodTypeAny, {
7594
- type: "Resource" | "FigmaNode";
7757
+ type: "FigmaNode" | "Resource";
7595
7758
  resource?: {
7596
7759
  url: string;
7597
7760
  resourceId: string;
@@ -7601,7 +7764,7 @@ declare const DTODocumentationPageRoomHeaderData: z.ZodObject<{
7601
7764
  frameReferenceId: string;
7602
7765
  } | undefined;
7603
7766
  }, {
7604
- type: "Resource" | "FigmaNode";
7767
+ type: "FigmaNode" | "Resource";
7605
7768
  resource?: {
7606
7769
  url: string;
7607
7770
  resourceId: string;
@@ -7630,7 +7793,7 @@ declare const DTODocumentationPageRoomHeaderData: z.ZodObject<{
7630
7793
  referencedTokenId?: string | undefined;
7631
7794
  } | null | undefined;
7632
7795
  backgroundImageAsset?: {
7633
- type: "Resource" | "FigmaNode";
7796
+ type: "FigmaNode" | "Resource";
7634
7797
  resource?: {
7635
7798
  url: string;
7636
7799
  resourceId: string;
@@ -7656,7 +7819,7 @@ declare const DTODocumentationPageRoomHeaderData: z.ZodObject<{
7656
7819
  referencedTokenId?: string | undefined;
7657
7820
  } | null | undefined;
7658
7821
  backgroundImageAsset?: {
7659
- type: "Resource" | "FigmaNode";
7822
+ type: "FigmaNode" | "Resource";
7660
7823
  resource?: {
7661
7824
  url: string;
7662
7825
  resourceId: string;
@@ -7685,7 +7848,7 @@ declare const DTODocumentationPageRoomHeaderData: z.ZodObject<{
7685
7848
  referencedTokenId?: string | undefined;
7686
7849
  } | null | undefined;
7687
7850
  backgroundImageAsset?: {
7688
- type: "Resource" | "FigmaNode";
7851
+ type: "FigmaNode" | "Resource";
7689
7852
  resource?: {
7690
7853
  url: string;
7691
7854
  resourceId: string;
@@ -7714,7 +7877,7 @@ declare const DTODocumentationPageRoomHeaderData: z.ZodObject<{
7714
7877
  referencedTokenId?: string | undefined;
7715
7878
  } | null | undefined;
7716
7879
  backgroundImageAsset?: {
7717
- type: "Resource" | "FigmaNode";
7880
+ type: "FigmaNode" | "Resource";
7718
7881
  resource?: {
7719
7882
  url: string;
7720
7883
  resourceId: string;
@@ -7746,7 +7909,7 @@ declare const DTODocumentationPageRoomHeaderData: z.ZodObject<{
7746
7909
  referencedTokenId?: string | undefined;
7747
7910
  } | null | undefined;
7748
7911
  backgroundImageAsset?: {
7749
- type: "Resource" | "FigmaNode";
7912
+ type: "FigmaNode" | "Resource";
7750
7913
  resource?: {
7751
7914
  url: string;
7752
7915
  resourceId: string;
@@ -7778,7 +7941,7 @@ declare const DTODocumentationPageRoomHeaderData: z.ZodObject<{
7778
7941
  referencedTokenId?: string | undefined;
7779
7942
  } | null | undefined;
7780
7943
  backgroundImageAsset?: {
7781
- type: "Resource" | "FigmaNode";
7944
+ type: "FigmaNode" | "Resource";
7782
7945
  resource?: {
7783
7946
  url: string;
7784
7947
  resourceId: string;
@@ -7843,7 +8006,7 @@ declare const DTODocumentationPageRoomHeaderDataUpdate: z.ZodObject<{
7843
8006
  frameReferenceId: string;
7844
8007
  }>>;
7845
8008
  }, "strip", z.ZodTypeAny, {
7846
- type: "Resource" | "FigmaNode";
8009
+ type: "FigmaNode" | "Resource";
7847
8010
  resource?: {
7848
8011
  url: string;
7849
8012
  resourceId: string;
@@ -7853,7 +8016,7 @@ declare const DTODocumentationPageRoomHeaderDataUpdate: z.ZodObject<{
7853
8016
  frameReferenceId: string;
7854
8017
  } | undefined;
7855
8018
  }, {
7856
- type: "Resource" | "FigmaNode";
8019
+ type: "FigmaNode" | "Resource";
7857
8020
  resource?: {
7858
8021
  url: string;
7859
8022
  resourceId: string;
@@ -7879,7 +8042,7 @@ declare const DTODocumentationPageRoomHeaderDataUpdate: z.ZodObject<{
7879
8042
  referencedTokenId?: string | undefined;
7880
8043
  } | null | undefined;
7881
8044
  backgroundImageAsset?: {
7882
- type: "Resource" | "FigmaNode";
8045
+ type: "FigmaNode" | "Resource";
7883
8046
  resource?: {
7884
8047
  url: string;
7885
8048
  resourceId: string;
@@ -7905,7 +8068,7 @@ declare const DTODocumentationPageRoomHeaderDataUpdate: z.ZodObject<{
7905
8068
  referencedTokenId?: string | undefined;
7906
8069
  } | null | undefined;
7907
8070
  backgroundImageAsset?: {
7908
- type: "Resource" | "FigmaNode";
8071
+ type: "FigmaNode" | "Resource";
7909
8072
  resource?: {
7910
8073
  url: string;
7911
8074
  resourceId: string;
@@ -7934,7 +8097,7 @@ declare const DTODocumentationPageRoomHeaderDataUpdate: z.ZodObject<{
7934
8097
  referencedTokenId?: string | undefined;
7935
8098
  } | null | undefined;
7936
8099
  backgroundImageAsset?: {
7937
- type: "Resource" | "FigmaNode";
8100
+ type: "FigmaNode" | "Resource";
7938
8101
  resource?: {
7939
8102
  url: string;
7940
8103
  resourceId: string;
@@ -7963,7 +8126,7 @@ declare const DTODocumentationPageRoomHeaderDataUpdate: z.ZodObject<{
7963
8126
  referencedTokenId?: string | undefined;
7964
8127
  } | null | undefined;
7965
8128
  backgroundImageAsset?: {
7966
- type: "Resource" | "FigmaNode";
8129
+ type: "FigmaNode" | "Resource";
7967
8130
  resource?: {
7968
8131
  url: string;
7969
8132
  resourceId: string;
@@ -7995,7 +8158,7 @@ declare const DTODocumentationPageRoomHeaderDataUpdate: z.ZodObject<{
7995
8158
  referencedTokenId?: string | undefined;
7996
8159
  } | null | undefined;
7997
8160
  backgroundImageAsset?: {
7998
- type: "Resource" | "FigmaNode";
8161
+ type: "FigmaNode" | "Resource";
7999
8162
  resource?: {
8000
8163
  url: string;
8001
8164
  resourceId: string;
@@ -8027,7 +8190,7 @@ declare const DTODocumentationPageRoomHeaderDataUpdate: z.ZodObject<{
8027
8190
  referencedTokenId?: string | undefined;
8028
8191
  } | null | undefined;
8029
8192
  backgroundImageAsset?: {
8030
- type: "Resource" | "FigmaNode";
8193
+ type: "FigmaNode" | "Resource";
8031
8194
  resource?: {
8032
8195
  url: string;
8033
8196
  resourceId: string;
@@ -8661,4 +8824,4 @@ declare const BlockDefinitionUtils: {
8661
8824
  };
8662
8825
  };
8663
8826
 
8664
- export { BlockDefinitionUtils, BlockParsingUtils, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabGroupInput, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODesignSystem, DTODocumentationGroupCreateActionInputV2, DTODocumentationGroupCreateActionOutputV2, DTODocumentationGroupDeleteActionInputV2, DTODocumentationGroupDeleteActionOutputV2, DTODocumentationGroupDuplicateActionInputV2, DTODocumentationGroupDuplicateActionOutputV2, DTODocumentationGroupMoveActionInputV2, DTODocumentationGroupMoveActionOutputV2, DTODocumentationGroupStructureV2, DTODocumentationGroupUpdateActionInputV2, DTODocumentationGroupUpdateActionOutputV2, DTODocumentationGroupV2, DTODocumentationHierarchyV2, DTODocumentationPageCreateActionInputV2, DTODocumentationPageCreateActionOutputV2, DTODocumentationPageDeleteActionInputV2, DTODocumentationPageDeleteActionOutputV2, DTODocumentationPageDuplicateActionInputV2, DTODocumentationPageDuplicateActionOutputV2, DTODocumentationPageMoveActionInputV2, DTODocumentationPageMoveActionOutputV2, DTODocumentationPageRoomHeaderData, DTODocumentationPageRoomHeaderDataUpdate, DTODocumentationPageStructureV2, DTODocumentationPageUpdateActionInputV2, DTODocumentationPageUpdateActionOutputV2, DTODocumentationPageV2, DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupCreateActionOutputV2, DTODocumentationTabGroupDeleteActionInputV2, DTODocumentationTabGroupDeleteActionOutputV2, DTODuplicateDocumentationGroupInput, DTODuplicateDocumentationPageInputV2, DTOElementActionInput, DTOElementActionOutput, DTOFigmaNode, DTOFigmaNodeActionInput, DTOFigmaNodeActionOutput, DTOFigmaNodeCreateInput, DTOFigmaNodeData, DTOGetBlockDefinitionsOutput, DTOLiveblocksAuthRequest, DTOMoveDocumentationGroupInput, DTOMoveDocumentationPageInputV2, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DocumentationPageEditorModel, DocumentationPageV1DTO, PageBlockEditorModel, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, blockDefinitionForBlock, blockToProsemirrorNode, buildDocPagePublishPaths, calculateElementParentChain, documentationElementsToHierarchyDto, documentationHierarchyToYjs, documentationPagesToDTOV1, documentationPagesToDTOV2, documentationPagesToStructureDTOV2, elementGroupsToDocumentationGroupDTO, elementGroupsToDocumentationGroupStructureDTO, getMockPageBlockDefinitions, itemConfigurationToYjs, pageToProsemirrorDoc, pageToYXmlFragment, pmSchema, prosemirrorDocToPage, prosemirrorNodeToBlock, serializeAsCustomBlock, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };
8827
+ export { BlockDefinitionUtils, BlockParsingUtils, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabGroupInput, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODesignSystem, DTODocumentationGroupCreateActionInputV2, DTODocumentationGroupCreateActionOutputV2, DTODocumentationGroupDeleteActionInputV2, DTODocumentationGroupDeleteActionOutputV2, DTODocumentationGroupDuplicateActionInputV2, DTODocumentationGroupDuplicateActionOutputV2, DTODocumentationGroupMoveActionInputV2, DTODocumentationGroupMoveActionOutputV2, DTODocumentationGroupStructureV2, DTODocumentationGroupUpdateActionInputV2, DTODocumentationGroupUpdateActionOutputV2, DTODocumentationGroupV2, DTODocumentationHierarchyV2, DTODocumentationPageCreateActionInputV2, DTODocumentationPageCreateActionOutputV2, DTODocumentationPageDeleteActionInputV2, DTODocumentationPageDeleteActionOutputV2, DTODocumentationPageDuplicateActionInputV2, DTODocumentationPageDuplicateActionOutputV2, DTODocumentationPageMoveActionInputV2, DTODocumentationPageMoveActionOutputV2, DTODocumentationPageRoomHeaderData, DTODocumentationPageRoomHeaderDataUpdate, DTODocumentationPageStructureV2, DTODocumentationPageUpdateActionInputV2, DTODocumentationPageUpdateActionOutputV2, DTODocumentationPageV2, DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupCreateActionOutputV2, DTODocumentationTabGroupDeleteActionInputV2, DTODocumentationTabGroupDeleteActionOutputV2, DTODuplicateDocumentationGroupInput, DTODuplicateDocumentationPageInputV2, DTOElementActionInput, DTOElementActionOutput, type DTOElementGetQueryParsed, type DTOElementGetQueryRaw, DTOElementGetQuerySchema, DTOElementGetTypeFilter, DTOElementsGetOutput, DTOFigmaNode, DTOFigmaNodeActionInput, DTOFigmaNodeActionOutput, DTOFigmaNodeCreateInput, DTOFigmaNodeData, DTOGetBlockDefinitionsOutput, DTOLiveblocksAuthRequest, DTOMoveDocumentationGroupInput, DTOMoveDocumentationPageInputV2, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DocumentationPageEditorModel, DocumentationPageV1DTO, PageBlockEditorModel, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, blockDefinitionForBlock, blockToProsemirrorNode, buildDocPagePublishPaths, calculateElementParentChain, documentationElementsToHierarchyDto, documentationHierarchyToYjs, documentationPagesToDTOV1, documentationPagesToDTOV2, documentationPagesToStructureDTOV2, elementGroupsToDocumentationGroupDTO, elementGroupsToDocumentationGroupStructureDTO, getMockPageBlockDefinitions, itemConfigurationToYjs, pageToProsemirrorDoc, pageToYXmlFragment, pmSchema, prosemirrorDocToPage, prosemirrorNodeToBlock, serializeAsCustomBlock, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };