@supernova-studio/client 0.52.5 → 0.52.7

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.ts CHANGED
@@ -1,4 +1,3 @@
1
- import * as _supernova_studio_model from '@supernova-studio/model';
2
1
  import { DocumentationGroupV1, DocumentationPageV1, DocumentationPageV2, DocumentationPageApproval, PageBlockDefinitionLayout as PageBlockDefinitionLayout$1, PageBlockV1, ElementGroup, DocumentationItemConfigurationV1, DocumentationItemConfigurationV2, Pipeline, GitOrganization, GitProject, GitRepository, GitBranch, ExtendedIntegration, IntegrationCredentials, SsoProvider, PageBlockItemUntypedValue, PageBlockDefinition, PageBlockText, PageBlockDefinitionProperty, PageBlockDefinitionMultiRichTextPropertyStyle, PageBlockItemV2, PageBlockItemRichTextValue, PageBlockItemMultiRichTextValue, PageBlockItemTableValue, PageBlockItemEmbedValue, PageBlockDefinitionPropertyType, DocumentationPageSnapshot, ElementGroupSnapshot } from '@supernova-studio/model';
3
2
  import * as zod from 'zod';
4
3
  import { z, ZodTypeDef } from 'zod';
@@ -23326,6 +23325,8 @@ declare const DTODocumentationPageApprovalStateChangeInput: z.ZodObject<{
23326
23325
  }>;
23327
23326
  type DTODocumentationPageApprovalStateChangeInput = z.infer<typeof DTODocumentationPageApprovalStateChangeInput>;
23328
23327
 
23328
+ declare const DTOFigmaNodeRenderFormat: z.ZodEnum<["Png", "Svg"]>;
23329
+ type DTOFigmaNodeRenderFormat = z.infer<typeof DTOFigmaNodeRenderFormat>;
23329
23330
  declare const DTOFigmaNodeOrigin: z.ZodObject<{
23330
23331
  sourceId: z.ZodString;
23331
23332
  fileId: z.ZodOptional<z.ZodString>;
@@ -23345,6 +23346,7 @@ declare const DTOFigmaNodeData: z.ZodObject<{
23345
23346
  isValid: z.ZodBoolean;
23346
23347
  assetId: z.ZodString;
23347
23348
  assetUrl: z.ZodString;
23349
+ assetFormat: z.ZodEnum<["Png", "Svg"]>;
23348
23350
  assetScale: z.ZodNumber;
23349
23351
  assetWidth: z.ZodOptional<z.ZodNumber>;
23350
23352
  assetHeight: z.ZodOptional<z.ZodNumber>;
@@ -23353,6 +23355,7 @@ declare const DTOFigmaNodeData: z.ZodObject<{
23353
23355
  isValid: boolean;
23354
23356
  assetId: string;
23355
23357
  assetUrl: string;
23358
+ assetFormat: "Png" | "Svg";
23356
23359
  assetScale: number;
23357
23360
  assetWidth?: number | undefined;
23358
23361
  assetHeight?: number | undefined;
@@ -23361,6 +23364,7 @@ declare const DTOFigmaNodeData: z.ZodObject<{
23361
23364
  isValid: boolean;
23362
23365
  assetId: string;
23363
23366
  assetUrl: string;
23367
+ assetFormat: "Png" | "Svg";
23364
23368
  assetScale: number;
23365
23369
  assetWidth?: number | undefined;
23366
23370
  assetHeight?: number | undefined;
@@ -23383,78 +23387,52 @@ declare const DTOFigmaNode: z.ZodObject<z.objectUtil.extendShape<Omit<z.objectUt
23383
23387
  createdAt: z.ZodDate;
23384
23388
  updatedAt: z.ZodDate;
23385
23389
  }, {
23386
- origin: z.ZodObject<{
23387
- sourceId: z.ZodString;
23390
+ data: z.ZodObject<{
23391
+ structureElementId: z.ZodString;
23392
+ nodeId: z.ZodString;
23388
23393
  fileId: z.ZodOptional<z.ZodString>;
23394
+ valid: z.ZodBoolean;
23395
+ format: z.ZodDefault<z.ZodEnum<["Png", "Svg"]>>;
23396
+ assetId: z.ZodOptional<z.ZodString>;
23397
+ assetScale: z.ZodOptional<z.ZodNumber>;
23398
+ assetWidth: z.ZodOptional<z.ZodNumber>;
23399
+ assetHeight: z.ZodOptional<z.ZodNumber>;
23400
+ assetUrl: z.ZodOptional<z.ZodString>;
23401
+ assetOriginKey: z.ZodOptional<z.ZodString>;
23389
23402
  }, "strip", z.ZodTypeAny, {
23390
- sourceId: string;
23403
+ valid: boolean;
23404
+ format: "Png" | "Svg";
23405
+ structureElementId: string;
23406
+ nodeId: string;
23407
+ assetId?: string | undefined;
23408
+ assetScale?: number | undefined;
23409
+ assetUrl?: string | undefined;
23391
23410
  fileId?: string | undefined;
23392
- }, {
23393
- sourceId: string;
23411
+ assetWidth?: number | undefined;
23412
+ assetHeight?: number | undefined;
23413
+ assetOriginKey?: string | undefined;
23414
+ }, {
23415
+ valid: boolean;
23416
+ structureElementId: string;
23417
+ nodeId: string;
23418
+ assetId?: string | undefined;
23419
+ assetScale?: number | undefined;
23420
+ assetUrl?: string | undefined;
23421
+ format?: "Png" | "Svg" | undefined;
23394
23422
  fileId?: string | undefined;
23423
+ assetWidth?: number | undefined;
23424
+ assetHeight?: number | undefined;
23425
+ assetOriginKey?: string | undefined;
23395
23426
  }>;
23396
- data: z.ZodObject<{
23397
- rootNode: z.ZodType<_supernova_studio_model.FigmaFileStructureNode, z.ZodTypeDef, {
23398
- id: string;
23399
- type: "DOCUMENT" | "CANVAS" | "FRAME" | "COMPONENT" | "COMPONENT_SET";
23400
- name: string;
23401
- size?: {
23402
- width?: number | null | undefined;
23403
- height?: number | null | undefined;
23404
- } | undefined;
23405
- parentComponentSetId?: string | undefined;
23406
- } & {
23407
- children: any[];
23408
- }>;
23409
- assetsInFile: z.ZodObject<{
23410
- frames: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
23411
- components: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
23412
- componentSets: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
23413
- }, "strip", z.ZodTypeAny, {
23414
- components: number;
23415
- frames: number;
23416
- componentSets: number;
23417
- }, {
23418
- components?: number | null | undefined;
23419
- frames?: number | null | undefined;
23420
- componentSets?: number | null | undefined;
23421
- }>;
23427
+ origin: z.ZodObject<{
23428
+ sourceId: z.ZodString;
23429
+ parentName: z.ZodOptional<z.ZodString>;
23422
23430
  }, "strip", z.ZodTypeAny, {
23423
- assetsInFile: {
23424
- components: number;
23425
- frames: number;
23426
- componentSets: number;
23427
- };
23428
- rootNode: {
23429
- id: string;
23430
- type: "DOCUMENT" | "CANVAS" | "FRAME" | "COMPONENT" | "COMPONENT_SET";
23431
- name: string;
23432
- size?: {
23433
- width: number;
23434
- height: number;
23435
- } | undefined;
23436
- parentComponentSetId?: string | undefined;
23437
- } & {
23438
- children: _supernova_studio_model.FigmaFileStructureNode[];
23439
- };
23431
+ sourceId: string;
23432
+ parentName?: string | undefined;
23440
23433
  }, {
23441
- assetsInFile: {
23442
- components?: number | null | undefined;
23443
- frames?: number | null | undefined;
23444
- componentSets?: number | null | undefined;
23445
- };
23446
- rootNode: {
23447
- id: string;
23448
- type: "DOCUMENT" | "CANVAS" | "FRAME" | "COMPONENT" | "COMPONENT_SET";
23449
- name: string;
23450
- size?: {
23451
- width?: number | null | undefined;
23452
- height?: number | null | undefined;
23453
- } | undefined;
23454
- parentComponentSetId?: string | undefined;
23455
- } & {
23456
- children: any[];
23457
- };
23434
+ sourceId: string;
23435
+ parentName?: string | undefined;
23458
23436
  }>;
23459
23437
  }>, "data" | "origin">, {
23460
23438
  data: z.ZodObject<{
@@ -23462,6 +23440,7 @@ declare const DTOFigmaNode: z.ZodObject<z.objectUtil.extendShape<Omit<z.objectUt
23462
23440
  isValid: z.ZodBoolean;
23463
23441
  assetId: z.ZodString;
23464
23442
  assetUrl: z.ZodString;
23443
+ assetFormat: z.ZodEnum<["Png", "Svg"]>;
23465
23444
  assetScale: z.ZodNumber;
23466
23445
  assetWidth: z.ZodOptional<z.ZodNumber>;
23467
23446
  assetHeight: z.ZodOptional<z.ZodNumber>;
@@ -23470,6 +23449,7 @@ declare const DTOFigmaNode: z.ZodObject<z.objectUtil.extendShape<Omit<z.objectUt
23470
23449
  isValid: boolean;
23471
23450
  assetId: string;
23472
23451
  assetUrl: string;
23452
+ assetFormat: "Png" | "Svg";
23473
23453
  assetScale: number;
23474
23454
  assetWidth?: number | undefined;
23475
23455
  assetHeight?: number | undefined;
@@ -23478,6 +23458,7 @@ declare const DTOFigmaNode: z.ZodObject<z.objectUtil.extendShape<Omit<z.objectUt
23478
23458
  isValid: boolean;
23479
23459
  assetId: string;
23480
23460
  assetUrl: string;
23461
+ assetFormat: "Png" | "Svg";
23481
23462
  assetScale: number;
23482
23463
  assetWidth?: number | undefined;
23483
23464
  assetHeight?: number | undefined;
@@ -23510,6 +23491,7 @@ declare const DTOFigmaNode: z.ZodObject<z.objectUtil.extendShape<Omit<z.objectUt
23510
23491
  isValid: boolean;
23511
23492
  assetId: string;
23512
23493
  assetUrl: string;
23494
+ assetFormat: "Png" | "Svg";
23513
23495
  assetScale: number;
23514
23496
  assetWidth?: number | undefined;
23515
23497
  assetHeight?: number | undefined;
@@ -23534,6 +23516,7 @@ declare const DTOFigmaNode: z.ZodObject<z.objectUtil.extendShape<Omit<z.objectUt
23534
23516
  isValid: boolean;
23535
23517
  assetId: string;
23536
23518
  assetUrl: string;
23519
+ assetFormat: "Png" | "Svg";
23537
23520
  assetScale: number;
23538
23521
  assetWidth?: number | undefined;
23539
23522
  assetHeight?: number | undefined;
@@ -23546,87 +23529,29 @@ declare const DTOFigmaNode: z.ZodObject<z.objectUtil.extendShape<Omit<z.objectUt
23546
23529
  }>;
23547
23530
  type DTOFigmaNode = z.infer<typeof DTOFigmaNode>;
23548
23531
  declare const DTOFigmaNodeRenderInput: z.ZodObject<{
23532
+ /**
23533
+ * Id of a design system's data source representing a linked Figma file
23534
+ */
23549
23535
  sourceId: z.ZodString;
23536
+ /**
23537
+ * Id of a node within the Figma file
23538
+ */
23550
23539
  figmaFileNodeId: z.ZodString;
23540
+ /**
23541
+ * Format in which the node must be rendered, png by default.
23542
+ */
23543
+ format: z.ZodDefault<z.ZodEnum<["Png", "Svg"]>>;
23551
23544
  }, "strip", z.ZodTypeAny, {
23552
23545
  sourceId: string;
23553
23546
  figmaFileNodeId: string;
23547
+ format: "Png" | "Svg";
23554
23548
  }, {
23555
23549
  sourceId: string;
23556
23550
  figmaFileNodeId: string;
23551
+ format?: "Png" | "Svg" | undefined;
23557
23552
  }>;
23558
23553
  type DTOFigmaNodeRenderInput = z.infer<typeof DTOFigmaNodeRenderInput>;
23559
23554
 
23560
- declare const PageBlockDefinitionLayoutBase: z.ZodObject<{
23561
- type: z.ZodEnum<["Column", "Row"]>;
23562
- gap: z.ZodOptional<z.ZodEnum<["Small", "Medium", "Large", "None"]>>;
23563
- columnAlign: z.ZodOptional<z.ZodEnum<["Start", "Center", "End"]>>;
23564
- columnResizing: z.ZodOptional<z.ZodEnum<["Fill", "Hug"]>>;
23565
- }, "strip", z.ZodTypeAny, {
23566
- type: "Column" | "Row";
23567
- gap?: "None" | "Small" | "Medium" | "Large" | undefined;
23568
- columnAlign?: "Center" | "Start" | "End" | undefined;
23569
- columnResizing?: "Fill" | "Hug" | undefined;
23570
- }, {
23571
- type: "Column" | "Row";
23572
- gap?: "None" | "Small" | "Medium" | "Large" | undefined;
23573
- columnAlign?: "Center" | "Start" | "End" | undefined;
23574
- columnResizing?: "Fill" | "Hug" | undefined;
23575
- }>;
23576
- declare const PageBlockDefinitionLayout: z.ZodType<PageBlockDefinitionLayout, ZodTypeDef, PageBlockDefinitionLayout>;
23577
- type PageBlockDefinitionLayout = z.infer<typeof PageBlockDefinitionLayoutBase> & {
23578
- children: (PageBlockDefinitionLayout | string)[];
23579
- };
23580
-
23581
- type FigmaFileStructureNodeBaseInput = z.input<typeof FigmaFileStructureNodeBase> & {
23582
- children: FigmaFileStructureNodeBaseInput[];
23583
- };
23584
- declare const FigmaFileStructureNodeBase: z.ZodObject<{
23585
- id: z.ZodString;
23586
- name: z.ZodString;
23587
- type: z.ZodEnum<["DOCUMENT", "CANVAS", "FRAME", "COMPONENT", "COMPONENT_SET"]>;
23588
- size: z.ZodEffects<z.ZodOptional<z.ZodObject<{
23589
- width: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
23590
- height: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
23591
- }, "strip", z.ZodTypeAny, {
23592
- width: number;
23593
- height: number;
23594
- }, {
23595
- width?: number | null | undefined;
23596
- height?: number | null | undefined;
23597
- }>>, {
23598
- width: number;
23599
- height: number;
23600
- } | undefined, {
23601
- width?: number | null | undefined;
23602
- height?: number | null | undefined;
23603
- } | undefined>;
23604
- parentComponentSetId: z.ZodOptional<z.ZodString>;
23605
- }, "strip", z.ZodTypeAny, {
23606
- id: string;
23607
- type: "DOCUMENT" | "CANVAS" | "FRAME" | "COMPONENT" | "COMPONENT_SET";
23608
- name: string;
23609
- size?: {
23610
- width: number;
23611
- height: number;
23612
- } | undefined;
23613
- parentComponentSetId?: string | undefined;
23614
- }, {
23615
- id: string;
23616
- type: "DOCUMENT" | "CANVAS" | "FRAME" | "COMPONENT" | "COMPONENT_SET";
23617
- name: string;
23618
- size?: {
23619
- width?: number | null | undefined;
23620
- height?: number | null | undefined;
23621
- } | undefined;
23622
- parentComponentSetId?: string | undefined;
23623
- }>;
23624
- type FigmaFileStructureNodeBase = z.infer<typeof FigmaFileStructureNodeBase>;
23625
- declare const FigmaFileStructureNode: z.ZodType<FigmaFileStructureNode, ZodTypeDef, FigmaFileStructureNodeBaseInput>;
23626
- type FigmaFileStructureNode = z.infer<typeof FigmaFileStructureNodeBase> & {
23627
- children: FigmaFileStructureNode[];
23628
- };
23629
-
23630
23555
  declare const DTOFigmaNodeRenderActionOutput: z.ZodObject<{
23631
23556
  type: z.ZodLiteral<"FigmaNodeRender">;
23632
23557
  figmaNodes: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<Omit<z.objectUtil.extendShape<{
@@ -23646,78 +23571,52 @@ declare const DTOFigmaNodeRenderActionOutput: z.ZodObject<{
23646
23571
  createdAt: z.ZodDate;
23647
23572
  updatedAt: z.ZodDate;
23648
23573
  }, {
23649
- origin: z.ZodObject<{
23650
- sourceId: z.ZodString;
23574
+ data: z.ZodObject<{
23575
+ structureElementId: z.ZodString;
23576
+ nodeId: z.ZodString;
23651
23577
  fileId: z.ZodOptional<z.ZodString>;
23578
+ valid: z.ZodBoolean;
23579
+ format: z.ZodDefault<z.ZodEnum<["Png", "Svg"]>>;
23580
+ assetId: z.ZodOptional<z.ZodString>;
23581
+ assetScale: z.ZodOptional<z.ZodNumber>;
23582
+ assetWidth: z.ZodOptional<z.ZodNumber>;
23583
+ assetHeight: z.ZodOptional<z.ZodNumber>;
23584
+ assetUrl: z.ZodOptional<z.ZodString>;
23585
+ assetOriginKey: z.ZodOptional<z.ZodString>;
23652
23586
  }, "strip", z.ZodTypeAny, {
23653
- sourceId: string;
23587
+ valid: boolean;
23588
+ format: "Png" | "Svg";
23589
+ structureElementId: string;
23590
+ nodeId: string;
23591
+ assetId?: string | undefined;
23592
+ assetScale?: number | undefined;
23593
+ assetUrl?: string | undefined;
23654
23594
  fileId?: string | undefined;
23595
+ assetWidth?: number | undefined;
23596
+ assetHeight?: number | undefined;
23597
+ assetOriginKey?: string | undefined;
23655
23598
  }, {
23656
- sourceId: string;
23599
+ valid: boolean;
23600
+ structureElementId: string;
23601
+ nodeId: string;
23602
+ assetId?: string | undefined;
23603
+ assetScale?: number | undefined;
23604
+ assetUrl?: string | undefined;
23605
+ format?: "Png" | "Svg" | undefined;
23657
23606
  fileId?: string | undefined;
23607
+ assetWidth?: number | undefined;
23608
+ assetHeight?: number | undefined;
23609
+ assetOriginKey?: string | undefined;
23658
23610
  }>;
23659
- data: z.ZodObject<{
23660
- rootNode: z.ZodType<FigmaFileStructureNode, z.ZodTypeDef, {
23661
- id: string;
23662
- type: "DOCUMENT" | "CANVAS" | "FRAME" | "COMPONENT" | "COMPONENT_SET";
23663
- name: string;
23664
- size?: {
23665
- width?: number | null | undefined;
23666
- height?: number | null | undefined;
23667
- } | undefined;
23668
- parentComponentSetId?: string | undefined;
23669
- } & {
23670
- children: any[];
23671
- }>;
23672
- assetsInFile: z.ZodObject<{
23673
- frames: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
23674
- components: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
23675
- componentSets: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
23676
- }, "strip", z.ZodTypeAny, {
23677
- components: number;
23678
- frames: number;
23679
- componentSets: number;
23680
- }, {
23681
- components?: number | null | undefined;
23682
- frames?: number | null | undefined;
23683
- componentSets?: number | null | undefined;
23684
- }>;
23611
+ origin: z.ZodObject<{
23612
+ sourceId: z.ZodString;
23613
+ parentName: z.ZodOptional<z.ZodString>;
23685
23614
  }, "strip", z.ZodTypeAny, {
23686
- assetsInFile: {
23687
- components: number;
23688
- frames: number;
23689
- componentSets: number;
23690
- };
23691
- rootNode: {
23692
- id: string;
23693
- type: "DOCUMENT" | "CANVAS" | "FRAME" | "COMPONENT" | "COMPONENT_SET";
23694
- name: string;
23695
- size?: {
23696
- width: number;
23697
- height: number;
23698
- } | undefined;
23699
- parentComponentSetId?: string | undefined;
23700
- } & {
23701
- children: FigmaFileStructureNode[];
23702
- };
23615
+ sourceId: string;
23616
+ parentName?: string | undefined;
23703
23617
  }, {
23704
- assetsInFile: {
23705
- components?: number | null | undefined;
23706
- frames?: number | null | undefined;
23707
- componentSets?: number | null | undefined;
23708
- };
23709
- rootNode: {
23710
- id: string;
23711
- type: "DOCUMENT" | "CANVAS" | "FRAME" | "COMPONENT" | "COMPONENT_SET";
23712
- name: string;
23713
- size?: {
23714
- width?: number | null | undefined;
23715
- height?: number | null | undefined;
23716
- } | undefined;
23717
- parentComponentSetId?: string | undefined;
23718
- } & {
23719
- children: any[];
23720
- };
23618
+ sourceId: string;
23619
+ parentName?: string | undefined;
23721
23620
  }>;
23722
23621
  }>, "data" | "origin">, {
23723
23622
  data: z.ZodObject<{
@@ -23725,6 +23624,7 @@ declare const DTOFigmaNodeRenderActionOutput: z.ZodObject<{
23725
23624
  isValid: z.ZodBoolean;
23726
23625
  assetId: z.ZodString;
23727
23626
  assetUrl: z.ZodString;
23627
+ assetFormat: z.ZodEnum<["Png", "Svg"]>;
23728
23628
  assetScale: z.ZodNumber;
23729
23629
  assetWidth: z.ZodOptional<z.ZodNumber>;
23730
23630
  assetHeight: z.ZodOptional<z.ZodNumber>;
@@ -23733,6 +23633,7 @@ declare const DTOFigmaNodeRenderActionOutput: z.ZodObject<{
23733
23633
  isValid: boolean;
23734
23634
  assetId: string;
23735
23635
  assetUrl: string;
23636
+ assetFormat: "Png" | "Svg";
23736
23637
  assetScale: number;
23737
23638
  assetWidth?: number | undefined;
23738
23639
  assetHeight?: number | undefined;
@@ -23741,6 +23642,7 @@ declare const DTOFigmaNodeRenderActionOutput: z.ZodObject<{
23741
23642
  isValid: boolean;
23742
23643
  assetId: string;
23743
23644
  assetUrl: string;
23645
+ assetFormat: "Png" | "Svg";
23744
23646
  assetScale: number;
23745
23647
  assetWidth?: number | undefined;
23746
23648
  assetHeight?: number | undefined;
@@ -23773,6 +23675,7 @@ declare const DTOFigmaNodeRenderActionOutput: z.ZodObject<{
23773
23675
  isValid: boolean;
23774
23676
  assetId: string;
23775
23677
  assetUrl: string;
23678
+ assetFormat: "Png" | "Svg";
23776
23679
  assetScale: number;
23777
23680
  assetWidth?: number | undefined;
23778
23681
  assetHeight?: number | undefined;
@@ -23797,6 +23700,7 @@ declare const DTOFigmaNodeRenderActionOutput: z.ZodObject<{
23797
23700
  isValid: boolean;
23798
23701
  assetId: string;
23799
23702
  assetUrl: string;
23703
+ assetFormat: "Png" | "Svg";
23800
23704
  assetScale: number;
23801
23705
  assetWidth?: number | undefined;
23802
23706
  assetHeight?: number | undefined;
@@ -23824,6 +23728,7 @@ declare const DTOFigmaNodeRenderActionOutput: z.ZodObject<{
23824
23728
  isValid: boolean;
23825
23729
  assetId: string;
23826
23730
  assetUrl: string;
23731
+ assetFormat: "Png" | "Svg";
23827
23732
  assetScale: number;
23828
23733
  assetWidth?: number | undefined;
23829
23734
  assetHeight?: number | undefined;
@@ -23851,6 +23756,7 @@ declare const DTOFigmaNodeRenderActionOutput: z.ZodObject<{
23851
23756
  isValid: boolean;
23852
23757
  assetId: string;
23853
23758
  assetUrl: string;
23759
+ assetFormat: "Png" | "Svg";
23854
23760
  assetScale: number;
23855
23761
  assetWidth?: number | undefined;
23856
23762
  assetHeight?: number | undefined;
@@ -23868,24 +23774,29 @@ declare const DTOFigmaNodeRenderActionInput: z.ZodObject<{
23868
23774
  input: z.ZodArray<z.ZodObject<{
23869
23775
  sourceId: z.ZodString;
23870
23776
  figmaFileNodeId: z.ZodString;
23777
+ format: z.ZodDefault<z.ZodEnum<["Png", "Svg"]>>;
23871
23778
  }, "strip", z.ZodTypeAny, {
23872
23779
  sourceId: string;
23873
23780
  figmaFileNodeId: string;
23781
+ format: "Png" | "Svg";
23874
23782
  }, {
23875
23783
  sourceId: string;
23876
23784
  figmaFileNodeId: string;
23785
+ format?: "Png" | "Svg" | undefined;
23877
23786
  }>, "many">;
23878
23787
  }, "strip", z.ZodTypeAny, {
23879
23788
  type: "FigmaNodeRender";
23880
23789
  input: {
23881
23790
  sourceId: string;
23882
23791
  figmaFileNodeId: string;
23792
+ format: "Png" | "Svg";
23883
23793
  }[];
23884
23794
  }, {
23885
23795
  type: "FigmaNodeRender";
23886
23796
  input: {
23887
23797
  sourceId: string;
23888
23798
  figmaFileNodeId: string;
23799
+ format?: "Png" | "Svg" | undefined;
23889
23800
  }[];
23890
23801
  }>;
23891
23802
  type DTOFigmaNodeRenderActionInput = z.infer<typeof DTOFigmaNodeRenderActionInput>;
@@ -25056,78 +24967,52 @@ declare const DTOElementActionOutput: z.ZodDiscriminatedUnion<"type", [z.ZodObje
25056
24967
  createdAt: z.ZodDate;
25057
24968
  updatedAt: z.ZodDate;
25058
24969
  }, {
25059
- origin: z.ZodObject<{
25060
- sourceId: z.ZodString;
24970
+ data: z.ZodObject<{
24971
+ structureElementId: z.ZodString;
24972
+ nodeId: z.ZodString;
25061
24973
  fileId: z.ZodOptional<z.ZodString>;
24974
+ valid: z.ZodBoolean;
24975
+ format: z.ZodDefault<z.ZodEnum<["Png", "Svg"]>>;
24976
+ assetId: z.ZodOptional<z.ZodString>;
24977
+ assetScale: z.ZodOptional<z.ZodNumber>;
24978
+ assetWidth: z.ZodOptional<z.ZodNumber>;
24979
+ assetHeight: z.ZodOptional<z.ZodNumber>;
24980
+ assetUrl: z.ZodOptional<z.ZodString>;
24981
+ assetOriginKey: z.ZodOptional<z.ZodString>;
25062
24982
  }, "strip", z.ZodTypeAny, {
25063
- sourceId: string;
24983
+ valid: boolean;
24984
+ format: "Png" | "Svg";
24985
+ structureElementId: string;
24986
+ nodeId: string;
24987
+ assetId?: string | undefined;
24988
+ assetScale?: number | undefined;
24989
+ assetUrl?: string | undefined;
25064
24990
  fileId?: string | undefined;
24991
+ assetWidth?: number | undefined;
24992
+ assetHeight?: number | undefined;
24993
+ assetOriginKey?: string | undefined;
25065
24994
  }, {
25066
- sourceId: string;
24995
+ valid: boolean;
24996
+ structureElementId: string;
24997
+ nodeId: string;
24998
+ assetId?: string | undefined;
24999
+ assetScale?: number | undefined;
25000
+ assetUrl?: string | undefined;
25001
+ format?: "Png" | "Svg" | undefined;
25067
25002
  fileId?: string | undefined;
25003
+ assetWidth?: number | undefined;
25004
+ assetHeight?: number | undefined;
25005
+ assetOriginKey?: string | undefined;
25068
25006
  }>;
25069
- data: z.ZodObject<{
25070
- rootNode: z.ZodType<FigmaFileStructureNode, z.ZodTypeDef, {
25071
- id: string;
25072
- type: "DOCUMENT" | "CANVAS" | "FRAME" | "COMPONENT" | "COMPONENT_SET";
25073
- name: string;
25074
- size?: {
25075
- width?: number | null | undefined;
25076
- height?: number | null | undefined;
25077
- } | undefined;
25078
- parentComponentSetId?: string | undefined;
25079
- } & {
25080
- children: any[];
25081
- }>;
25082
- assetsInFile: z.ZodObject<{
25083
- frames: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
25084
- components: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
25085
- componentSets: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
25086
- }, "strip", z.ZodTypeAny, {
25087
- components: number;
25088
- frames: number;
25089
- componentSets: number;
25090
- }, {
25091
- components?: number | null | undefined;
25092
- frames?: number | null | undefined;
25093
- componentSets?: number | null | undefined;
25094
- }>;
25007
+ origin: z.ZodObject<{
25008
+ sourceId: z.ZodString;
25009
+ parentName: z.ZodOptional<z.ZodString>;
25095
25010
  }, "strip", z.ZodTypeAny, {
25096
- assetsInFile: {
25097
- components: number;
25098
- frames: number;
25099
- componentSets: number;
25100
- };
25101
- rootNode: {
25102
- id: string;
25103
- type: "DOCUMENT" | "CANVAS" | "FRAME" | "COMPONENT" | "COMPONENT_SET";
25104
- name: string;
25105
- size?: {
25106
- width: number;
25107
- height: number;
25108
- } | undefined;
25109
- parentComponentSetId?: string | undefined;
25110
- } & {
25111
- children: FigmaFileStructureNode[];
25112
- };
25011
+ sourceId: string;
25012
+ parentName?: string | undefined;
25113
25013
  }, {
25114
- assetsInFile: {
25115
- components?: number | null | undefined;
25116
- frames?: number | null | undefined;
25117
- componentSets?: number | null | undefined;
25118
- };
25119
- rootNode: {
25120
- id: string;
25121
- type: "DOCUMENT" | "CANVAS" | "FRAME" | "COMPONENT" | "COMPONENT_SET";
25122
- name: string;
25123
- size?: {
25124
- width?: number | null | undefined;
25125
- height?: number | null | undefined;
25126
- } | undefined;
25127
- parentComponentSetId?: string | undefined;
25128
- } & {
25129
- children: any[];
25130
- };
25014
+ sourceId: string;
25015
+ parentName?: string | undefined;
25131
25016
  }>;
25132
25017
  }>, "data" | "origin">, {
25133
25018
  data: z.ZodObject<{
@@ -25135,6 +25020,7 @@ declare const DTOElementActionOutput: z.ZodDiscriminatedUnion<"type", [z.ZodObje
25135
25020
  isValid: z.ZodBoolean;
25136
25021
  assetId: z.ZodString;
25137
25022
  assetUrl: z.ZodString;
25023
+ assetFormat: z.ZodEnum<["Png", "Svg"]>;
25138
25024
  assetScale: z.ZodNumber;
25139
25025
  assetWidth: z.ZodOptional<z.ZodNumber>;
25140
25026
  assetHeight: z.ZodOptional<z.ZodNumber>;
@@ -25143,6 +25029,7 @@ declare const DTOElementActionOutput: z.ZodDiscriminatedUnion<"type", [z.ZodObje
25143
25029
  isValid: boolean;
25144
25030
  assetId: string;
25145
25031
  assetUrl: string;
25032
+ assetFormat: "Png" | "Svg";
25146
25033
  assetScale: number;
25147
25034
  assetWidth?: number | undefined;
25148
25035
  assetHeight?: number | undefined;
@@ -25151,6 +25038,7 @@ declare const DTOElementActionOutput: z.ZodDiscriminatedUnion<"type", [z.ZodObje
25151
25038
  isValid: boolean;
25152
25039
  assetId: string;
25153
25040
  assetUrl: string;
25041
+ assetFormat: "Png" | "Svg";
25154
25042
  assetScale: number;
25155
25043
  assetWidth?: number | undefined;
25156
25044
  assetHeight?: number | undefined;
@@ -25183,6 +25071,7 @@ declare const DTOElementActionOutput: z.ZodDiscriminatedUnion<"type", [z.ZodObje
25183
25071
  isValid: boolean;
25184
25072
  assetId: string;
25185
25073
  assetUrl: string;
25074
+ assetFormat: "Png" | "Svg";
25186
25075
  assetScale: number;
25187
25076
  assetWidth?: number | undefined;
25188
25077
  assetHeight?: number | undefined;
@@ -25207,6 +25096,7 @@ declare const DTOElementActionOutput: z.ZodDiscriminatedUnion<"type", [z.ZodObje
25207
25096
  isValid: boolean;
25208
25097
  assetId: string;
25209
25098
  assetUrl: string;
25099
+ assetFormat: "Png" | "Svg";
25210
25100
  assetScale: number;
25211
25101
  assetWidth?: number | undefined;
25212
25102
  assetHeight?: number | undefined;
@@ -25234,6 +25124,7 @@ declare const DTOElementActionOutput: z.ZodDiscriminatedUnion<"type", [z.ZodObje
25234
25124
  isValid: boolean;
25235
25125
  assetId: string;
25236
25126
  assetUrl: string;
25127
+ assetFormat: "Png" | "Svg";
25237
25128
  assetScale: number;
25238
25129
  assetWidth?: number | undefined;
25239
25130
  assetHeight?: number | undefined;
@@ -25261,6 +25152,7 @@ declare const DTOElementActionOutput: z.ZodDiscriminatedUnion<"type", [z.ZodObje
25261
25152
  isValid: boolean;
25262
25153
  assetId: string;
25263
25154
  assetUrl: string;
25155
+ assetFormat: "Png" | "Svg";
25264
25156
  assetScale: number;
25265
25157
  assetWidth?: number | undefined;
25266
25158
  assetHeight?: number | undefined;
@@ -27211,24 +27103,29 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
27211
27103
  input: z.ZodArray<z.ZodObject<{
27212
27104
  sourceId: z.ZodString;
27213
27105
  figmaFileNodeId: z.ZodString;
27106
+ format: z.ZodDefault<z.ZodEnum<["Png", "Svg"]>>;
27214
27107
  }, "strip", z.ZodTypeAny, {
27215
27108
  sourceId: string;
27216
27109
  figmaFileNodeId: string;
27110
+ format: "Png" | "Svg";
27217
27111
  }, {
27218
27112
  sourceId: string;
27219
27113
  figmaFileNodeId: string;
27114
+ format?: "Png" | "Svg" | undefined;
27220
27115
  }>, "many">;
27221
27116
  }, "strip", z.ZodTypeAny, {
27222
27117
  type: "FigmaNodeRender";
27223
27118
  input: {
27224
27119
  sourceId: string;
27225
27120
  figmaFileNodeId: string;
27121
+ format: "Png" | "Svg";
27226
27122
  }[];
27227
27123
  }, {
27228
27124
  type: "FigmaNodeRender";
27229
27125
  input: {
27230
27126
  sourceId: string;
27231
27127
  figmaFileNodeId: string;
27128
+ format?: "Png" | "Svg" | undefined;
27232
27129
  }[];
27233
27130
  }>, z.ZodObject<{
27234
27131
  type: z.ZodLiteral<"PropertyDefinitionCreate">;
@@ -27552,78 +27449,52 @@ declare const DTOElementsGetOutput: z.ZodObject<{
27552
27449
  createdAt: z.ZodDate;
27553
27450
  updatedAt: z.ZodDate;
27554
27451
  }, {
27555
- origin: z.ZodObject<{
27556
- sourceId: z.ZodString;
27452
+ data: z.ZodObject<{
27453
+ structureElementId: z.ZodString;
27454
+ nodeId: z.ZodString;
27557
27455
  fileId: z.ZodOptional<z.ZodString>;
27456
+ valid: z.ZodBoolean;
27457
+ format: z.ZodDefault<z.ZodEnum<["Png", "Svg"]>>;
27458
+ assetId: z.ZodOptional<z.ZodString>;
27459
+ assetScale: z.ZodOptional<z.ZodNumber>;
27460
+ assetWidth: z.ZodOptional<z.ZodNumber>;
27461
+ assetHeight: z.ZodOptional<z.ZodNumber>;
27462
+ assetUrl: z.ZodOptional<z.ZodString>;
27463
+ assetOriginKey: z.ZodOptional<z.ZodString>;
27558
27464
  }, "strip", z.ZodTypeAny, {
27559
- sourceId: string;
27465
+ valid: boolean;
27466
+ format: "Png" | "Svg";
27467
+ structureElementId: string;
27468
+ nodeId: string;
27469
+ assetId?: string | undefined;
27470
+ assetScale?: number | undefined;
27471
+ assetUrl?: string | undefined;
27560
27472
  fileId?: string | undefined;
27473
+ assetWidth?: number | undefined;
27474
+ assetHeight?: number | undefined;
27475
+ assetOriginKey?: string | undefined;
27561
27476
  }, {
27562
- sourceId: string;
27477
+ valid: boolean;
27478
+ structureElementId: string;
27479
+ nodeId: string;
27480
+ assetId?: string | undefined;
27481
+ assetScale?: number | undefined;
27482
+ assetUrl?: string | undefined;
27483
+ format?: "Png" | "Svg" | undefined;
27563
27484
  fileId?: string | undefined;
27485
+ assetWidth?: number | undefined;
27486
+ assetHeight?: number | undefined;
27487
+ assetOriginKey?: string | undefined;
27564
27488
  }>;
27565
- data: z.ZodObject<{
27566
- rootNode: z.ZodType<FigmaFileStructureNode, z.ZodTypeDef, {
27567
- id: string;
27568
- type: "DOCUMENT" | "CANVAS" | "FRAME" | "COMPONENT" | "COMPONENT_SET";
27569
- name: string;
27570
- size?: {
27571
- width?: number | null | undefined;
27572
- height?: number | null | undefined;
27573
- } | undefined;
27574
- parentComponentSetId?: string | undefined;
27575
- } & {
27576
- children: any[];
27577
- }>;
27578
- assetsInFile: z.ZodObject<{
27579
- frames: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
27580
- components: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
27581
- componentSets: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodNumber>>, number, number | null | undefined>;
27582
- }, "strip", z.ZodTypeAny, {
27583
- components: number;
27584
- frames: number;
27585
- componentSets: number;
27586
- }, {
27587
- components?: number | null | undefined;
27588
- frames?: number | null | undefined;
27589
- componentSets?: number | null | undefined;
27590
- }>;
27489
+ origin: z.ZodObject<{
27490
+ sourceId: z.ZodString;
27491
+ parentName: z.ZodOptional<z.ZodString>;
27591
27492
  }, "strip", z.ZodTypeAny, {
27592
- assetsInFile: {
27593
- components: number;
27594
- frames: number;
27595
- componentSets: number;
27596
- };
27597
- rootNode: {
27598
- id: string;
27599
- type: "DOCUMENT" | "CANVAS" | "FRAME" | "COMPONENT" | "COMPONENT_SET";
27600
- name: string;
27601
- size?: {
27602
- width: number;
27603
- height: number;
27604
- } | undefined;
27605
- parentComponentSetId?: string | undefined;
27606
- } & {
27607
- children: FigmaFileStructureNode[];
27608
- };
27493
+ sourceId: string;
27494
+ parentName?: string | undefined;
27609
27495
  }, {
27610
- assetsInFile: {
27611
- components?: number | null | undefined;
27612
- frames?: number | null | undefined;
27613
- componentSets?: number | null | undefined;
27614
- };
27615
- rootNode: {
27616
- id: string;
27617
- type: "DOCUMENT" | "CANVAS" | "FRAME" | "COMPONENT" | "COMPONENT_SET";
27618
- name: string;
27619
- size?: {
27620
- width?: number | null | undefined;
27621
- height?: number | null | undefined;
27622
- } | undefined;
27623
- parentComponentSetId?: string | undefined;
27624
- } & {
27625
- children: any[];
27626
- };
27496
+ sourceId: string;
27497
+ parentName?: string | undefined;
27627
27498
  }>;
27628
27499
  }>, "data" | "origin">, {
27629
27500
  data: z.ZodObject<{
@@ -27631,6 +27502,7 @@ declare const DTOElementsGetOutput: z.ZodObject<{
27631
27502
  isValid: z.ZodBoolean;
27632
27503
  assetId: z.ZodString;
27633
27504
  assetUrl: z.ZodString;
27505
+ assetFormat: z.ZodEnum<["Png", "Svg"]>;
27634
27506
  assetScale: z.ZodNumber;
27635
27507
  assetWidth: z.ZodOptional<z.ZodNumber>;
27636
27508
  assetHeight: z.ZodOptional<z.ZodNumber>;
@@ -27639,6 +27511,7 @@ declare const DTOElementsGetOutput: z.ZodObject<{
27639
27511
  isValid: boolean;
27640
27512
  assetId: string;
27641
27513
  assetUrl: string;
27514
+ assetFormat: "Png" | "Svg";
27642
27515
  assetScale: number;
27643
27516
  assetWidth?: number | undefined;
27644
27517
  assetHeight?: number | undefined;
@@ -27647,6 +27520,7 @@ declare const DTOElementsGetOutput: z.ZodObject<{
27647
27520
  isValid: boolean;
27648
27521
  assetId: string;
27649
27522
  assetUrl: string;
27523
+ assetFormat: "Png" | "Svg";
27650
27524
  assetScale: number;
27651
27525
  assetWidth?: number | undefined;
27652
27526
  assetHeight?: number | undefined;
@@ -27679,6 +27553,7 @@ declare const DTOElementsGetOutput: z.ZodObject<{
27679
27553
  isValid: boolean;
27680
27554
  assetId: string;
27681
27555
  assetUrl: string;
27556
+ assetFormat: "Png" | "Svg";
27682
27557
  assetScale: number;
27683
27558
  assetWidth?: number | undefined;
27684
27559
  assetHeight?: number | undefined;
@@ -27703,6 +27578,7 @@ declare const DTOElementsGetOutput: z.ZodObject<{
27703
27578
  isValid: boolean;
27704
27579
  assetId: string;
27705
27580
  assetUrl: string;
27581
+ assetFormat: "Png" | "Svg";
27706
27582
  assetScale: number;
27707
27583
  assetWidth?: number | undefined;
27708
27584
  assetHeight?: number | undefined;
@@ -27729,6 +27605,7 @@ declare const DTOElementsGetOutput: z.ZodObject<{
27729
27605
  isValid: boolean;
27730
27606
  assetId: string;
27731
27607
  assetUrl: string;
27608
+ assetFormat: "Png" | "Svg";
27732
27609
  assetScale: number;
27733
27610
  assetWidth?: number | undefined;
27734
27611
  assetHeight?: number | undefined;
@@ -27755,6 +27632,7 @@ declare const DTOElementsGetOutput: z.ZodObject<{
27755
27632
  isValid: boolean;
27756
27633
  assetId: string;
27757
27634
  assetUrl: string;
27635
+ assetFormat: "Png" | "Svg";
27758
27636
  assetScale: number;
27759
27637
  assetWidth?: number | undefined;
27760
27638
  assetHeight?: number | undefined;
@@ -32092,13 +31970,13 @@ declare const DTOAssetRenderConfiguration: z.ZodObject<{
32092
31970
  scale: z.ZodEnum<["x1", "x2", "x3", "x4"]>;
32093
31971
  format: z.ZodEnum<["png", "pdf", "svg"]>;
32094
31972
  }, "strip", z.ZodTypeAny, {
32095
- scale: "x1" | "x2" | "x3" | "x4";
32096
31973
  format: "png" | "pdf" | "svg";
31974
+ scale: "x1" | "x2" | "x3" | "x4";
32097
31975
  prefix?: string | undefined;
32098
31976
  suffix?: string | undefined;
32099
31977
  }, {
32100
- scale: "x1" | "x2" | "x3" | "x4";
32101
31978
  format: "png" | "pdf" | "svg";
31979
+ scale: "x1" | "x2" | "x3" | "x4";
32102
31980
  prefix?: string | undefined;
32103
31981
  suffix?: string | undefined;
32104
31982
  }>;
@@ -32113,13 +31991,13 @@ declare const DTORenderedAssetFile: z.ZodObject<{
32113
31991
  scale: z.ZodEnum<["x1", "x2", "x3", "x4"]>;
32114
31992
  format: z.ZodEnum<["png", "pdf", "svg"]>;
32115
31993
  }, "strip", z.ZodTypeAny, {
32116
- scale: "x1" | "x2" | "x3" | "x4";
32117
31994
  format: "png" | "pdf" | "svg";
31995
+ scale: "x1" | "x2" | "x3" | "x4";
32118
31996
  prefix?: string | undefined;
32119
31997
  suffix?: string | undefined;
32120
31998
  }, {
32121
- scale: "x1" | "x2" | "x3" | "x4";
32122
31999
  format: "png" | "pdf" | "svg";
32000
+ scale: "x1" | "x2" | "x3" | "x4";
32123
32001
  prefix?: string | undefined;
32124
32002
  suffix?: string | undefined;
32125
32003
  }>;
@@ -32127,8 +32005,8 @@ declare const DTORenderedAssetFile: z.ZodObject<{
32127
32005
  }, "strip", z.ZodTypeAny, {
32128
32006
  fileName: string;
32129
32007
  settings: {
32130
- scale: "x1" | "x2" | "x3" | "x4";
32131
32008
  format: "png" | "pdf" | "svg";
32009
+ scale: "x1" | "x2" | "x3" | "x4";
32132
32010
  prefix?: string | undefined;
32133
32011
  suffix?: string | undefined;
32134
32012
  };
@@ -32138,8 +32016,8 @@ declare const DTORenderedAssetFile: z.ZodObject<{
32138
32016
  }, {
32139
32017
  fileName: string;
32140
32018
  settings: {
32141
- scale: "x1" | "x2" | "x3" | "x4";
32142
32019
  format: "png" | "pdf" | "svg";
32020
+ scale: "x1" | "x2" | "x3" | "x4";
32143
32021
  prefix?: string | undefined;
32144
32022
  suffix?: string | undefined;
32145
32023
  };
@@ -32156,28 +32034,28 @@ declare const DTODownloadAssetsRequest: z.ZodObject<{
32156
32034
  scale: z.ZodEnum<["x1", "x2", "x3", "x4"]>;
32157
32035
  format: z.ZodEnum<["png", "pdf", "svg"]>;
32158
32036
  }, "strip", z.ZodTypeAny, {
32159
- scale: "x1" | "x2" | "x3" | "x4";
32160
32037
  format: "png" | "pdf" | "svg";
32038
+ scale: "x1" | "x2" | "x3" | "x4";
32161
32039
  prefix?: string | undefined;
32162
32040
  suffix?: string | undefined;
32163
32041
  }, {
32164
- scale: "x1" | "x2" | "x3" | "x4";
32165
32042
  format: "png" | "pdf" | "svg";
32043
+ scale: "x1" | "x2" | "x3" | "x4";
32166
32044
  prefix?: string | undefined;
32167
32045
  suffix?: string | undefined;
32168
32046
  }>, "many">;
32169
32047
  }, "strip", z.ZodTypeAny, {
32170
32048
  settings: {
32171
- scale: "x1" | "x2" | "x3" | "x4";
32172
32049
  format: "png" | "pdf" | "svg";
32050
+ scale: "x1" | "x2" | "x3" | "x4";
32173
32051
  prefix?: string | undefined;
32174
32052
  suffix?: string | undefined;
32175
32053
  }[];
32176
32054
  persistentIds?: string[] | undefined;
32177
32055
  }, {
32178
32056
  settings: {
32179
- scale: "x1" | "x2" | "x3" | "x4";
32180
32057
  format: "png" | "pdf" | "svg";
32058
+ scale: "x1" | "x2" | "x3" | "x4";
32181
32059
  prefix?: string | undefined;
32182
32060
  suffix?: string | undefined;
32183
32061
  }[];
@@ -32195,13 +32073,13 @@ declare const DTODownloadAssetsResponse: z.ZodObject<{
32195
32073
  scale: z.ZodEnum<["x1", "x2", "x3", "x4"]>;
32196
32074
  format: z.ZodEnum<["png", "pdf", "svg"]>;
32197
32075
  }, "strip", z.ZodTypeAny, {
32198
- scale: "x1" | "x2" | "x3" | "x4";
32199
32076
  format: "png" | "pdf" | "svg";
32077
+ scale: "x1" | "x2" | "x3" | "x4";
32200
32078
  prefix?: string | undefined;
32201
32079
  suffix?: string | undefined;
32202
32080
  }, {
32203
- scale: "x1" | "x2" | "x3" | "x4";
32204
32081
  format: "png" | "pdf" | "svg";
32082
+ scale: "x1" | "x2" | "x3" | "x4";
32205
32083
  prefix?: string | undefined;
32206
32084
  suffix?: string | undefined;
32207
32085
  }>;
@@ -32209,8 +32087,8 @@ declare const DTODownloadAssetsResponse: z.ZodObject<{
32209
32087
  }, "strip", z.ZodTypeAny, {
32210
32088
  fileName: string;
32211
32089
  settings: {
32212
- scale: "x1" | "x2" | "x3" | "x4";
32213
32090
  format: "png" | "pdf" | "svg";
32091
+ scale: "x1" | "x2" | "x3" | "x4";
32214
32092
  prefix?: string | undefined;
32215
32093
  suffix?: string | undefined;
32216
32094
  };
@@ -32220,8 +32098,8 @@ declare const DTODownloadAssetsResponse: z.ZodObject<{
32220
32098
  }, {
32221
32099
  fileName: string;
32222
32100
  settings: {
32223
- scale: "x1" | "x2" | "x3" | "x4";
32224
32101
  format: "png" | "pdf" | "svg";
32102
+ scale: "x1" | "x2" | "x3" | "x4";
32225
32103
  prefix?: string | undefined;
32226
32104
  suffix?: string | undefined;
32227
32105
  };
@@ -32233,8 +32111,8 @@ declare const DTODownloadAssetsResponse: z.ZodObject<{
32233
32111
  items: {
32234
32112
  fileName: string;
32235
32113
  settings: {
32236
- scale: "x1" | "x2" | "x3" | "x4";
32237
32114
  format: "png" | "pdf" | "svg";
32115
+ scale: "x1" | "x2" | "x3" | "x4";
32238
32116
  prefix?: string | undefined;
32239
32117
  suffix?: string | undefined;
32240
32118
  };
@@ -32246,8 +32124,8 @@ declare const DTODownloadAssetsResponse: z.ZodObject<{
32246
32124
  items: {
32247
32125
  fileName: string;
32248
32126
  settings: {
32249
- scale: "x1" | "x2" | "x3" | "x4";
32250
32127
  format: "png" | "pdf" | "svg";
32128
+ scale: "x1" | "x2" | "x3" | "x4";
32251
32129
  prefix?: string | undefined;
32252
32130
  suffix?: string | undefined;
32253
32131
  };
@@ -39102,6 +38980,27 @@ declare const DTOUpdateVersionInput: z.ZodObject<{
39102
38980
  }>;
39103
38981
  type DTOUpdateVersionInput = z.infer<typeof DTOUpdateVersionInput>;
39104
38982
 
38983
+ declare const PageBlockDefinitionLayoutBase: z.ZodObject<{
38984
+ type: z.ZodEnum<["Column", "Row"]>;
38985
+ gap: z.ZodOptional<z.ZodEnum<["Small", "Medium", "Large", "None"]>>;
38986
+ columnAlign: z.ZodOptional<z.ZodEnum<["Start", "Center", "End"]>>;
38987
+ columnResizing: z.ZodOptional<z.ZodEnum<["Fill", "Hug"]>>;
38988
+ }, "strip", z.ZodTypeAny, {
38989
+ type: "Column" | "Row";
38990
+ gap?: "None" | "Small" | "Medium" | "Large" | undefined;
38991
+ columnAlign?: "Center" | "Start" | "End" | undefined;
38992
+ columnResizing?: "Fill" | "Hug" | undefined;
38993
+ }, {
38994
+ type: "Column" | "Row";
38995
+ gap?: "None" | "Small" | "Medium" | "Large" | undefined;
38996
+ columnAlign?: "Center" | "Start" | "End" | undefined;
38997
+ columnResizing?: "Fill" | "Hug" | undefined;
38998
+ }>;
38999
+ declare const PageBlockDefinitionLayout: z.ZodType<PageBlockDefinitionLayout, ZodTypeDef, PageBlockDefinitionLayout>;
39000
+ type PageBlockDefinitionLayout = z.infer<typeof PageBlockDefinitionLayoutBase> & {
39001
+ children: (PageBlockDefinitionLayout | string)[];
39002
+ };
39003
+
39105
39004
  declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
39106
39005
  definitions: z.ZodArray<z.ZodObject<{
39107
39006
  id: z.ZodString;
@@ -43840,4 +43739,4 @@ declare class FrontendVersionRoomYDoc {
43840
43739
 
43841
43740
  declare function generatePageContentHash(content: DocumentationPageEditorModel, definitions: PageBlockDefinition[], debug?: boolean): string;
43842
43741
 
43843
- export { BackendVersionRoomYDoc, BlockDefinitionUtils, BlockParsingUtils, DTOAssetRenderConfiguration, DTOBrand, DTOBrandCreateResponse, DTOBrandGetResponse, DTOBrandsListResponse, DTOCreateBrandInput, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabInput, DTOCreateElementPropertyDefinitionInputV2, DTOCreateVersionInput, DTODataSource, DTODataSourceCreationResponse, DTODataSourceFigma, DTODataSourceFigmaCloud, DTODataSourceFigmaVariablesPlugin, DTODataSourceTokenStudio, DTODataSourcesListResponse, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODeleteElementPropertyDefinitionInputV2, DTODesignElementsDataDiffResponse, DTODesignSystem, DTODesignSystemUpdateInput, DTODesignSystemVersion, DTODesignSystemVersionCreationResponse, DTODesignSystemVersionGetResponse, DTODesignSystemVersionJobStatusResponse, DTODesignSystemVersionJobsResponse, DTODesignSystemVersionsListResponse, DTODiffCountBase, DTODocumentationDraftChangeType, DTODocumentationDraftState, DTODocumentationDraftStateCreated, DTODocumentationDraftStateDeleted, DTODocumentationDraftStateUpdated, DTODocumentationGroupApprovalState, DTODocumentationGroupCreateActionInputV2, DTODocumentationGroupCreateActionOutputV2, DTODocumentationGroupDeleteActionInputV2, DTODocumentationGroupDeleteActionOutputV2, DTODocumentationGroupDuplicateActionInputV2, DTODocumentationGroupDuplicateActionOutputV2, DTODocumentationGroupMoveActionInputV2, DTODocumentationGroupMoveActionOutputV2, DTODocumentationGroupRestoreActionInput, DTODocumentationGroupRestoreActionOutput, DTODocumentationGroupStructureV1, DTODocumentationGroupUpdateActionInputV2, DTODocumentationGroupUpdateActionOutputV2, DTODocumentationGroupV1, DTODocumentationGroupV2, DTODocumentationHierarchyV2, DTODocumentationItemConfigurationV1, DTODocumentationItemConfigurationV2, DTODocumentationItemHeaderV2, DTODocumentationLinkPreviewRequest, DTODocumentationLinkPreviewResponse, DTODocumentationPageAnchor, DTODocumentationPageApprovalState, DTODocumentationPageApprovalStateChangeActionInput, DTODocumentationPageApprovalStateChangeActionOutput, DTODocumentationPageApprovalStateChangeInput, DTODocumentationPageContent, DTODocumentationPageContentGetResponse, DTODocumentationPageCreateActionInputV2, DTODocumentationPageCreateActionOutputV2, DTODocumentationPageDeleteActionInputV2, DTODocumentationPageDeleteActionOutputV2, DTODocumentationPageDuplicateActionInputV2, DTODocumentationPageDuplicateActionOutputV2, DTODocumentationPageMoveActionInputV2, DTODocumentationPageMoveActionOutputV2, DTODocumentationPageRestoreActionInput, DTODocumentationPageRestoreActionOutput, DTODocumentationPageRoomHeaderData, DTODocumentationPageRoomHeaderDataUpdate, DTODocumentationPageSnapshot, DTODocumentationPageUpdateActionInputV2, DTODocumentationPageUpdateActionOutputV2, DTODocumentationPageV2, DTODocumentationPublishMetadata, DTODocumentationPublishTypeQueryParams, DTODocumentationTabCreateActionInputV2, DTODocumentationTabCreateActionOutputV2, type DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupDeleteActionInputV2, DTODocumentationTabGroupDeleteActionOutputV2, DTODownloadAssetsRequest, DTODownloadAssetsResponse, DTODuplicateDocumentationGroupInput, DTODuplicateDocumentationPageInputV2, DTOElementActionInput, DTOElementActionOutput, DTOElementPropertyDefinition, DTOElementPropertyDefinitionsGetResponse, DTOElementPropertyValue, DTOElementPropertyValuesGetResponse, DTOElementView, DTOElementViewBasePropertyColumn, DTOElementViewColumn, DTOElementViewColumnSharedAttributes, DTOElementViewPropertyDefinitionColumn, DTOElementViewThemeColumn, DTOElementViewsListResponse, DTOElementsGetOutput, type DTOElementsGetQueryParsed, type DTOElementsGetQueryRaw, DTOElementsGetQuerySchema, DTOElementsGetTypeFilter, DTOExportJob, DTOExportJobCreatedBy, DTOExportJobDesignSystemPreview, DTOExportJobDesignSystemVersionPreview, DTOExportJobDestinations, DTOExportJobResponse, DTOExportJobResult, DTOExportJobsListFilter, DTOExporter, DTOExporterCreateInput, DTOExporterCreateOutput, DTOExporterGitProviderEnum, DTOExporterMembership, DTOExporterMembershipRole, DTOExporterProperty, DTOExporterPropertyListResponse, DTOExporterSource, DTOExporterType, DTOExporterUpdateInput, DTOFigmaNode, DTOFigmaNodeData, DTOFigmaNodeOrigin, DTOFigmaNodeRenderActionInput, DTOFigmaNodeRenderActionOutput, DTOFigmaNodeRenderInput, DTOGetBlockDefinitionsOutput, DTOGetDocumentationPageAnchorsResponse, DTOGitBranch, DTOGitOrganization, DTOGitProject, DTOGitRepository, DTOIntegration, DTOIntegrationCredentials, DTOIntegrationOAuthGetResponse, DTOIntegrationPostResponse, DTOIntegrationsGetListResponse, DTOLiveblocksAuthRequest, DTOLiveblocksAuthResponse, DTOMoveDocumentationGroupInput, DTOMoveDocumentationPageInputV2, DTONpmRegistryConfig, DTONpmRegistryConfigConstants, DTOPageBlockColorV2, DTOPageBlockDefinition, DTOPageBlockDefinitionBehavior, DTOPageBlockDefinitionItem, DTOPageBlockDefinitionLayout, DTOPageBlockDefinitionProperty, DTOPageBlockDefinitionVariant, DTOPageBlockItemV2, DTOPagination, DTOPipeline, DTOPipelineCreateBody, DTOPipelineTriggerBody, DTOPipelineUpdateBody, DTOPropertyDefinitionCreateActionInputV2, DTOPropertyDefinitionCreateActionOutputV2, DTOPropertyDefinitionDeleteActionInputV2, DTOPropertyDefinitionDeleteActionOutputV2, DTOPropertyDefinitionUpdateActionInputV2, DTOPropertyDefinitionUpdateActionOutputV2, DTOPublishDocumentationChanges, DTOPublishDocumentationRequest, DTOPublishDocumentationResponse, DTORenderedAssetFile, DTORestoreDocumentationGroupInput, DTORestoreDocumentationPageInput, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DTOUpdateElementPropertyDefinitionInputV2, DTOUpdateUserNotificationSettingsPayload, DTOUpdateVersionInput, DTOUserNotificationSettingsResponse, DTOUserProfileUpdatePayload, DTOUserProfileUpdateResponse, DTOUserWorkspaceMembership, DTOUserWorkspaceMembershipsResponse, DTOWorkspace, DTOWorkspaceIntegrationGetGitObjectsInput, DTOWorkspaceIntegrationOauthInput, DTOWorkspaceIntegrationPATInput, DTOWorkspaceRole, DocumentationHierarchySettings, DocumentationPageEditorModel, DocumentationPageV1DTO, FrontendVersionRoomYDoc, type ListItemNode, type ListNode, ListTreeBuilder, NpmRegistryInput, ObjectMeta, PageBlockEditorModel, PageSectionEditorModel, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, VersionRoomBaseYDoc, VersionSQSPayload, WorkspaceConfigurationPayload, applyPrivacyConfigurationToNestedItems, blockToProsemirrorNode, buildDocPagePublishPaths, calculateElementParentChain, documentationItemConfigurationToDTOV1, documentationItemConfigurationToDTOV2, documentationPageToDTOV2, documentationPagesFixedConfigurationToDTOV1, documentationPagesFixedConfigurationToDTOV2, documentationPagesToDTOV1, documentationPagesToDTOV2, elementGroupsToDocumentationGroupDTOV1, elementGroupsToDocumentationGroupDTOV2, elementGroupsToDocumentationGroupFixedConfigurationDTOV1, elementGroupsToDocumentationGroupFixedConfigurationDTOV2, elementGroupsToDocumentationGroupStructureDTOV1, generateHash, generatePageContentHash, getDtoDefaultItemConfigurationV1, getDtoDefaultItemConfigurationV2, getMockPageBlockDefinitions, gitBranchToDto, gitOrganizationToDto, gitProjectToDto, gitRepositoryToDto, integrationCredentialToDto, integrationToDto, itemConfigurationToYjs, pageToProsemirrorDoc, pageToYDoc, pageToYXmlFragment, pipelineToDto, pmSchema, prosemirrorDocToPage, prosemirrorNodeToSection, prosemirrorNodesToBlocks, serializeAsCustomBlock, shallowProsemirrorNodeToBlock, validateDesignSystemVersion, validateSsoPayload, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };
43742
+ export { BackendVersionRoomYDoc, BlockDefinitionUtils, BlockParsingUtils, DTOAssetRenderConfiguration, DTOBrand, DTOBrandCreateResponse, DTOBrandGetResponse, DTOBrandsListResponse, DTOCreateBrandInput, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabInput, DTOCreateElementPropertyDefinitionInputV2, DTOCreateVersionInput, DTODataSource, DTODataSourceCreationResponse, DTODataSourceFigma, DTODataSourceFigmaCloud, DTODataSourceFigmaVariablesPlugin, DTODataSourceTokenStudio, DTODataSourcesListResponse, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODeleteElementPropertyDefinitionInputV2, DTODesignElementsDataDiffResponse, DTODesignSystem, DTODesignSystemUpdateInput, DTODesignSystemVersion, DTODesignSystemVersionCreationResponse, DTODesignSystemVersionGetResponse, DTODesignSystemVersionJobStatusResponse, DTODesignSystemVersionJobsResponse, DTODesignSystemVersionsListResponse, DTODiffCountBase, DTODocumentationDraftChangeType, DTODocumentationDraftState, DTODocumentationDraftStateCreated, DTODocumentationDraftStateDeleted, DTODocumentationDraftStateUpdated, DTODocumentationGroupApprovalState, DTODocumentationGroupCreateActionInputV2, DTODocumentationGroupCreateActionOutputV2, DTODocumentationGroupDeleteActionInputV2, DTODocumentationGroupDeleteActionOutputV2, DTODocumentationGroupDuplicateActionInputV2, DTODocumentationGroupDuplicateActionOutputV2, DTODocumentationGroupMoveActionInputV2, DTODocumentationGroupMoveActionOutputV2, DTODocumentationGroupRestoreActionInput, DTODocumentationGroupRestoreActionOutput, DTODocumentationGroupStructureV1, DTODocumentationGroupUpdateActionInputV2, DTODocumentationGroupUpdateActionOutputV2, DTODocumentationGroupV1, DTODocumentationGroupV2, DTODocumentationHierarchyV2, DTODocumentationItemConfigurationV1, DTODocumentationItemConfigurationV2, DTODocumentationItemHeaderV2, DTODocumentationLinkPreviewRequest, DTODocumentationLinkPreviewResponse, DTODocumentationPageAnchor, DTODocumentationPageApprovalState, DTODocumentationPageApprovalStateChangeActionInput, DTODocumentationPageApprovalStateChangeActionOutput, DTODocumentationPageApprovalStateChangeInput, DTODocumentationPageContent, DTODocumentationPageContentGetResponse, DTODocumentationPageCreateActionInputV2, DTODocumentationPageCreateActionOutputV2, DTODocumentationPageDeleteActionInputV2, DTODocumentationPageDeleteActionOutputV2, DTODocumentationPageDuplicateActionInputV2, DTODocumentationPageDuplicateActionOutputV2, DTODocumentationPageMoveActionInputV2, DTODocumentationPageMoveActionOutputV2, DTODocumentationPageRestoreActionInput, DTODocumentationPageRestoreActionOutput, DTODocumentationPageRoomHeaderData, DTODocumentationPageRoomHeaderDataUpdate, DTODocumentationPageSnapshot, DTODocumentationPageUpdateActionInputV2, DTODocumentationPageUpdateActionOutputV2, DTODocumentationPageV2, DTODocumentationPublishMetadata, DTODocumentationPublishTypeQueryParams, DTODocumentationTabCreateActionInputV2, DTODocumentationTabCreateActionOutputV2, type DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupDeleteActionInputV2, DTODocumentationTabGroupDeleteActionOutputV2, DTODownloadAssetsRequest, DTODownloadAssetsResponse, DTODuplicateDocumentationGroupInput, DTODuplicateDocumentationPageInputV2, DTOElementActionInput, DTOElementActionOutput, DTOElementPropertyDefinition, DTOElementPropertyDefinitionsGetResponse, DTOElementPropertyValue, DTOElementPropertyValuesGetResponse, DTOElementView, DTOElementViewBasePropertyColumn, DTOElementViewColumn, DTOElementViewColumnSharedAttributes, DTOElementViewPropertyDefinitionColumn, DTOElementViewThemeColumn, DTOElementViewsListResponse, DTOElementsGetOutput, type DTOElementsGetQueryParsed, type DTOElementsGetQueryRaw, DTOElementsGetQuerySchema, DTOElementsGetTypeFilter, DTOExportJob, DTOExportJobCreatedBy, DTOExportJobDesignSystemPreview, DTOExportJobDesignSystemVersionPreview, DTOExportJobDestinations, DTOExportJobResponse, DTOExportJobResult, DTOExportJobsListFilter, DTOExporter, DTOExporterCreateInput, DTOExporterCreateOutput, DTOExporterGitProviderEnum, DTOExporterMembership, DTOExporterMembershipRole, DTOExporterProperty, DTOExporterPropertyListResponse, DTOExporterSource, DTOExporterType, DTOExporterUpdateInput, DTOFigmaNode, DTOFigmaNodeData, DTOFigmaNodeOrigin, DTOFigmaNodeRenderActionInput, DTOFigmaNodeRenderActionOutput, DTOFigmaNodeRenderFormat, DTOFigmaNodeRenderInput, DTOGetBlockDefinitionsOutput, DTOGetDocumentationPageAnchorsResponse, DTOGitBranch, DTOGitOrganization, DTOGitProject, DTOGitRepository, DTOIntegration, DTOIntegrationCredentials, DTOIntegrationOAuthGetResponse, DTOIntegrationPostResponse, DTOIntegrationsGetListResponse, DTOLiveblocksAuthRequest, DTOLiveblocksAuthResponse, DTOMoveDocumentationGroupInput, DTOMoveDocumentationPageInputV2, DTONpmRegistryConfig, DTONpmRegistryConfigConstants, DTOPageBlockColorV2, DTOPageBlockDefinition, DTOPageBlockDefinitionBehavior, DTOPageBlockDefinitionItem, DTOPageBlockDefinitionLayout, DTOPageBlockDefinitionProperty, DTOPageBlockDefinitionVariant, DTOPageBlockItemV2, DTOPagination, DTOPipeline, DTOPipelineCreateBody, DTOPipelineTriggerBody, DTOPipelineUpdateBody, DTOPropertyDefinitionCreateActionInputV2, DTOPropertyDefinitionCreateActionOutputV2, DTOPropertyDefinitionDeleteActionInputV2, DTOPropertyDefinitionDeleteActionOutputV2, DTOPropertyDefinitionUpdateActionInputV2, DTOPropertyDefinitionUpdateActionOutputV2, DTOPublishDocumentationChanges, DTOPublishDocumentationRequest, DTOPublishDocumentationResponse, DTORenderedAssetFile, DTORestoreDocumentationGroupInput, DTORestoreDocumentationPageInput, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DTOUpdateElementPropertyDefinitionInputV2, DTOUpdateUserNotificationSettingsPayload, DTOUpdateVersionInput, DTOUserNotificationSettingsResponse, DTOUserProfileUpdatePayload, DTOUserProfileUpdateResponse, DTOUserWorkspaceMembership, DTOUserWorkspaceMembershipsResponse, DTOWorkspace, DTOWorkspaceIntegrationGetGitObjectsInput, DTOWorkspaceIntegrationOauthInput, DTOWorkspaceIntegrationPATInput, DTOWorkspaceRole, DocumentationHierarchySettings, DocumentationPageEditorModel, DocumentationPageV1DTO, FrontendVersionRoomYDoc, type ListItemNode, type ListNode, ListTreeBuilder, NpmRegistryInput, ObjectMeta, PageBlockEditorModel, PageSectionEditorModel, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, VersionRoomBaseYDoc, VersionSQSPayload, WorkspaceConfigurationPayload, applyPrivacyConfigurationToNestedItems, blockToProsemirrorNode, buildDocPagePublishPaths, calculateElementParentChain, documentationItemConfigurationToDTOV1, documentationItemConfigurationToDTOV2, documentationPageToDTOV2, documentationPagesFixedConfigurationToDTOV1, documentationPagesFixedConfigurationToDTOV2, documentationPagesToDTOV1, documentationPagesToDTOV2, elementGroupsToDocumentationGroupDTOV1, elementGroupsToDocumentationGroupDTOV2, elementGroupsToDocumentationGroupFixedConfigurationDTOV1, elementGroupsToDocumentationGroupFixedConfigurationDTOV2, elementGroupsToDocumentationGroupStructureDTOV1, generateHash, generatePageContentHash, getDtoDefaultItemConfigurationV1, getDtoDefaultItemConfigurationV2, getMockPageBlockDefinitions, gitBranchToDto, gitOrganizationToDto, gitProjectToDto, gitRepositoryToDto, integrationCredentialToDto, integrationToDto, itemConfigurationToYjs, pageToProsemirrorDoc, pageToYDoc, pageToYXmlFragment, pipelineToDto, pmSchema, prosemirrorDocToPage, prosemirrorNodeToSection, prosemirrorNodesToBlocks, serializeAsCustomBlock, shallowProsemirrorNodeToBlock, validateDesignSystemVersion, validateSsoPayload, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };