@supernova-studio/client 0.42.0 → 0.44.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
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  import * as _supernova_studio_model from '@supernova-studio/model';
3
- import { PageBlockV1, DesignSystemVersion, ElementPropertyDefinition, ElementPropertyValue, Brand, ElementView, ElementViewColumn, DocumentationPageV2, ElementGroup, DocumentationGroupV1, DocumentationPageV1, DocumentationItemConfigurationV1, DocumentationItemConfigurationV2, SsoProvider, PageBlockItemUntypedValue, PageBlockDefinition, PageBlockText, PageBlockDefinitionProperty, PageBlockDefinitionMultiRichTextPropertyStyle, PageBlockItemV2, PageBlockItemRichTextValue, PageBlockItemMultiRichTextValue, PageBlockItemTableValue, PageBlockItemEmbedValue, PageBlockDefinitionPropertyType } from '@supernova-studio/model';
3
+ import { PageBlockV1, DesignSystemVersion, ElementPropertyDefinition, ElementPropertyValue, Brand, ElementView, ElementViewColumn, DocumentationPageV2, ElementGroup, DocumentationGroupV1, DocumentationPageV1, DocumentationItemConfigurationV1, DocumentationItemConfigurationV2, Integration, SsoProvider, PageBlockItemUntypedValue, PageBlockDefinition, PageBlockText, PageBlockDefinitionProperty, PageBlockDefinitionMultiRichTextPropertyStyle, PageBlockItemV2, PageBlockItemRichTextValue, PageBlockItemMultiRichTextValue, PageBlockItemTableValue, PageBlockItemEmbedValue, PageBlockDefinitionPropertyType } from '@supernova-studio/model';
4
4
  import * as Y from 'yjs';
5
5
  import { Schema } from 'prosemirror-model';
6
6
 
@@ -1618,10 +1618,10 @@ declare const DTODocumentationGroupUpdateActionInputV2: z.ZodObject<{
1618
1618
  id: z.ZodString;
1619
1619
  title: z.ZodOptional<z.ZodString>;
1620
1620
  configuration: z.ZodOptional<z.ZodObject<{
1621
- showSidebar: z.ZodBoolean;
1622
- isPrivate: z.ZodBoolean;
1623
- isHidden: z.ZodBoolean;
1624
- header: z.ZodObject<{
1621
+ showSidebar: z.ZodOptional<z.ZodBoolean>;
1622
+ isPrivate: z.ZodOptional<z.ZodBoolean>;
1623
+ isHidden: z.ZodOptional<z.ZodBoolean>;
1624
+ header: z.ZodOptional<z.ZodObject<{
1625
1625
  description: z.ZodString;
1626
1626
  alignment: z.ZodEnum<["Left", "Center"]>;
1627
1627
  foregroundColor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -1743,12 +1743,12 @@ declare const DTODocumentationGroupUpdateActionInputV2: z.ZodObject<{
1743
1743
  } | undefined;
1744
1744
  } | null | undefined;
1745
1745
  minHeight?: number | null | undefined;
1746
- }>;
1746
+ }>>;
1747
1747
  }, "strip", z.ZodTypeAny, {
1748
- showSidebar: boolean;
1749
- isPrivate: boolean;
1750
- isHidden: boolean;
1751
- header: {
1748
+ showSidebar?: boolean | undefined;
1749
+ isPrivate?: boolean | undefined;
1750
+ isHidden?: boolean | undefined;
1751
+ header?: {
1752
1752
  description: string;
1753
1753
  alignment: "Left" | "Center";
1754
1754
  backgroundImageScaleType: "AspectFill" | "AspectFit";
@@ -1774,12 +1774,12 @@ declare const DTODocumentationGroupUpdateActionInputV2: z.ZodObject<{
1774
1774
  } | undefined;
1775
1775
  } | null | undefined;
1776
1776
  minHeight?: number | null | undefined;
1777
- };
1777
+ } | undefined;
1778
1778
  }, {
1779
- showSidebar: boolean;
1780
- isPrivate: boolean;
1781
- isHidden: boolean;
1782
- header: {
1779
+ showSidebar?: boolean | undefined;
1780
+ isPrivate?: boolean | undefined;
1781
+ isHidden?: boolean | undefined;
1782
+ header?: {
1783
1783
  description: string;
1784
1784
  alignment: "Left" | "Center";
1785
1785
  backgroundImageScaleType: "AspectFill" | "AspectFit";
@@ -1805,16 +1805,16 @@ declare const DTODocumentationGroupUpdateActionInputV2: z.ZodObject<{
1805
1805
  } | undefined;
1806
1806
  } | null | undefined;
1807
1807
  minHeight?: number | null | undefined;
1808
- };
1808
+ } | undefined;
1809
1809
  }>>;
1810
1810
  }, "strip", z.ZodTypeAny, {
1811
1811
  id: string;
1812
1812
  title?: string | undefined;
1813
1813
  configuration?: {
1814
- showSidebar: boolean;
1815
- isPrivate: boolean;
1816
- isHidden: boolean;
1817
- header: {
1814
+ showSidebar?: boolean | undefined;
1815
+ isPrivate?: boolean | undefined;
1816
+ isHidden?: boolean | undefined;
1817
+ header?: {
1818
1818
  description: string;
1819
1819
  alignment: "Left" | "Center";
1820
1820
  backgroundImageScaleType: "AspectFill" | "AspectFit";
@@ -1840,16 +1840,16 @@ declare const DTODocumentationGroupUpdateActionInputV2: z.ZodObject<{
1840
1840
  } | undefined;
1841
1841
  } | null | undefined;
1842
1842
  minHeight?: number | null | undefined;
1843
- };
1843
+ } | undefined;
1844
1844
  } | undefined;
1845
1845
  }, {
1846
1846
  id: string;
1847
1847
  title?: string | undefined;
1848
1848
  configuration?: {
1849
- showSidebar: boolean;
1850
- isPrivate: boolean;
1851
- isHidden: boolean;
1852
- header: {
1849
+ showSidebar?: boolean | undefined;
1850
+ isPrivate?: boolean | undefined;
1851
+ isHidden?: boolean | undefined;
1852
+ header?: {
1853
1853
  description: string;
1854
1854
  alignment: "Left" | "Center";
1855
1855
  backgroundImageScaleType: "AspectFill" | "AspectFit";
@@ -1875,7 +1875,7 @@ declare const DTODocumentationGroupUpdateActionInputV2: z.ZodObject<{
1875
1875
  } | undefined;
1876
1876
  } | null | undefined;
1877
1877
  minHeight?: number | null | undefined;
1878
- };
1878
+ } | undefined;
1879
1879
  } | undefined;
1880
1880
  }>;
1881
1881
  }, "strip", z.ZodTypeAny, {
@@ -1884,10 +1884,10 @@ declare const DTODocumentationGroupUpdateActionInputV2: z.ZodObject<{
1884
1884
  id: string;
1885
1885
  title?: string | undefined;
1886
1886
  configuration?: {
1887
- showSidebar: boolean;
1888
- isPrivate: boolean;
1889
- isHidden: boolean;
1890
- header: {
1887
+ showSidebar?: boolean | undefined;
1888
+ isPrivate?: boolean | undefined;
1889
+ isHidden?: boolean | undefined;
1890
+ header?: {
1891
1891
  description: string;
1892
1892
  alignment: "Left" | "Center";
1893
1893
  backgroundImageScaleType: "AspectFill" | "AspectFit";
@@ -1913,7 +1913,7 @@ declare const DTODocumentationGroupUpdateActionInputV2: z.ZodObject<{
1913
1913
  } | undefined;
1914
1914
  } | null | undefined;
1915
1915
  minHeight?: number | null | undefined;
1916
- };
1916
+ } | undefined;
1917
1917
  } | undefined;
1918
1918
  };
1919
1919
  }, {
@@ -1922,10 +1922,10 @@ declare const DTODocumentationGroupUpdateActionInputV2: z.ZodObject<{
1922
1922
  id: string;
1923
1923
  title?: string | undefined;
1924
1924
  configuration?: {
1925
- showSidebar: boolean;
1926
- isPrivate: boolean;
1927
- isHidden: boolean;
1928
- header: {
1925
+ showSidebar?: boolean | undefined;
1926
+ isPrivate?: boolean | undefined;
1927
+ isHidden?: boolean | undefined;
1928
+ header?: {
1929
1929
  description: string;
1930
1930
  alignment: "Left" | "Center";
1931
1931
  backgroundImageScaleType: "AspectFill" | "AspectFit";
@@ -1951,7 +1951,7 @@ declare const DTODocumentationGroupUpdateActionInputV2: z.ZodObject<{
1951
1951
  } | undefined;
1952
1952
  } | null | undefined;
1953
1953
  minHeight?: number | null | undefined;
1954
- };
1954
+ } | undefined;
1955
1955
  } | undefined;
1956
1956
  };
1957
1957
  }>;
@@ -2605,64 +2605,19 @@ type DTODocumentationGroupV1 = z.infer<typeof DTODocumentationGroupV1>;
2605
2605
  * Structure DTO is element properties minus element data (in other words data required
2606
2606
  * to display the element in the left panel)
2607
2607
  */
2608
- declare const DTODocumentationGroupStructureV2: z.ZodObject<{
2609
- id: z.ZodString;
2610
- designSystemVersionId: z.ZodString;
2611
- persistentId: z.ZodString;
2612
- createdAt: z.ZodDate;
2613
- updatedAt: z.ZodDate;
2614
- slug: z.ZodOptional<z.ZodString>;
2615
- userSlug: z.ZodOptional<z.ZodString>;
2616
- title: z.ZodString;
2617
- isRoot: z.ZodBoolean;
2618
- childrenIds: z.ZodArray<z.ZodString, "many">;
2619
- groupBehavior: z.ZodEnum<["Group", "Tabs"]>;
2620
- shortPersistentId: z.ZodString;
2621
- type: z.ZodLiteral<"Group">;
2622
- }, "strip", z.ZodTypeAny, {
2623
- id: string;
2624
- designSystemVersionId: string;
2625
- persistentId: string;
2626
- type: "Group";
2627
- createdAt: Date;
2628
- updatedAt: Date;
2629
- shortPersistentId: string;
2630
- title: string;
2631
- isRoot: boolean;
2632
- childrenIds: string[];
2633
- groupBehavior: "Group" | "Tabs";
2634
- slug?: string | undefined;
2635
- userSlug?: string | undefined;
2636
- }, {
2637
- id: string;
2638
- designSystemVersionId: string;
2639
- persistentId: string;
2640
- type: "Group";
2641
- createdAt: Date;
2642
- updatedAt: Date;
2643
- shortPersistentId: string;
2644
- title: string;
2645
- isRoot: boolean;
2646
- childrenIds: string[];
2647
- groupBehavior: "Group" | "Tabs";
2648
- slug?: string | undefined;
2649
- userSlug?: string | undefined;
2650
- }>;
2651
- type DTODocumentationGroupStructureV2 = z.infer<typeof DTODocumentationGroupStructureV2>;
2652
2608
  declare const DTODocumentationGroupV2: z.ZodObject<{
2653
2609
  id: z.ZodString;
2654
2610
  designSystemVersionId: z.ZodString;
2655
2611
  persistentId: z.ZodString;
2656
- type: z.ZodLiteral<"Group">;
2657
2612
  createdAt: z.ZodDate;
2658
2613
  updatedAt: z.ZodDate;
2659
2614
  slug: z.ZodOptional<z.ZodString>;
2660
2615
  userSlug: z.ZodOptional<z.ZodString>;
2661
- shortPersistentId: z.ZodString;
2662
2616
  title: z.ZodString;
2663
2617
  isRoot: z.ZodBoolean;
2664
2618
  childrenIds: z.ZodArray<z.ZodString, "many">;
2665
2619
  groupBehavior: z.ZodEnum<["Group", "Tabs"]>;
2620
+ shortPersistentId: z.ZodString;
2666
2621
  configuration: z.ZodObject<{
2667
2622
  showSidebar: z.ZodBoolean;
2668
2623
  isPrivate: z.ZodBoolean;
@@ -2853,6 +2808,7 @@ declare const DTODocumentationGroupV2: z.ZodObject<{
2853
2808
  minHeight?: number | null | undefined;
2854
2809
  };
2855
2810
  }>;
2811
+ type: z.ZodLiteral<"Group">;
2856
2812
  }, "strip", z.ZodTypeAny, {
2857
2813
  id: string;
2858
2814
  designSystemVersionId: string;
@@ -2947,10 +2903,20 @@ declare const DTODocumentationGroupV2: z.ZodObject<{
2947
2903
  userSlug?: string | undefined;
2948
2904
  }>;
2949
2905
  type DTODocumentationGroupV2 = z.infer<typeof DTODocumentationGroupV2>;
2950
- declare const DTOCreateDocumentationGroupInput: z.ZodObject<{
2906
+ declare const DTODocumentationGroupStructureV2: z.ZodObject<{
2907
+ id: z.ZodString;
2908
+ designSystemVersionId: z.ZodString;
2951
2909
  persistentId: z.ZodString;
2910
+ createdAt: z.ZodDate;
2911
+ updatedAt: z.ZodDate;
2912
+ slug: z.ZodOptional<z.ZodString>;
2913
+ userSlug: z.ZodOptional<z.ZodString>;
2952
2914
  title: z.ZodString;
2953
- configuration: z.ZodOptional<z.ZodObject<{
2915
+ isRoot: z.ZodBoolean;
2916
+ childrenIds: z.ZodArray<z.ZodString, "many">;
2917
+ groupBehavior: z.ZodEnum<["Group", "Tabs"]>;
2918
+ shortPersistentId: z.ZodString;
2919
+ configuration: z.ZodObject<{
2954
2920
  showSidebar: z.ZodBoolean;
2955
2921
  isPrivate: z.ZodBoolean;
2956
2922
  isHidden: z.ZodBoolean;
@@ -3139,14 +3105,21 @@ declare const DTOCreateDocumentationGroupInput: z.ZodObject<{
3139
3105
  } | null | undefined;
3140
3106
  minHeight?: number | null | undefined;
3141
3107
  };
3142
- }>>;
3143
- afterPersistentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3144
- parentPersistentId: z.ZodString;
3108
+ }>;
3109
+ type: z.ZodLiteral<"Group">;
3145
3110
  }, "strip", z.ZodTypeAny, {
3111
+ id: string;
3112
+ designSystemVersionId: string;
3146
3113
  persistentId: string;
3147
- parentPersistentId: string;
3114
+ type: "Group";
3115
+ createdAt: Date;
3116
+ updatedAt: Date;
3117
+ shortPersistentId: string;
3148
3118
  title: string;
3149
- configuration?: {
3119
+ isRoot: boolean;
3120
+ childrenIds: string[];
3121
+ groupBehavior: "Group" | "Tabs";
3122
+ configuration: {
3150
3123
  showSidebar: boolean;
3151
3124
  isPrivate: boolean;
3152
3125
  isHidden: boolean;
@@ -3177,13 +3150,22 @@ declare const DTOCreateDocumentationGroupInput: z.ZodObject<{
3177
3150
  } | null | undefined;
3178
3151
  minHeight?: number | null | undefined;
3179
3152
  };
3180
- } | undefined;
3181
- afterPersistentId?: string | null | undefined;
3153
+ };
3154
+ slug?: string | undefined;
3155
+ userSlug?: string | undefined;
3182
3156
  }, {
3157
+ id: string;
3158
+ designSystemVersionId: string;
3183
3159
  persistentId: string;
3184
- parentPersistentId: string;
3160
+ type: "Group";
3161
+ createdAt: Date;
3162
+ updatedAt: Date;
3163
+ shortPersistentId: string;
3185
3164
  title: string;
3186
- configuration?: {
3165
+ isRoot: boolean;
3166
+ childrenIds: string[];
3167
+ groupBehavior: "Group" | "Tabs";
3168
+ configuration: {
3187
3169
  showSidebar: boolean;
3188
3170
  isPrivate: boolean;
3189
3171
  isHidden: boolean;
@@ -3214,13 +3196,14 @@ declare const DTOCreateDocumentationGroupInput: z.ZodObject<{
3214
3196
  } | null | undefined;
3215
3197
  minHeight?: number | null | undefined;
3216
3198
  };
3217
- } | undefined;
3218
- afterPersistentId?: string | null | undefined;
3199
+ };
3200
+ slug?: string | undefined;
3201
+ userSlug?: string | undefined;
3219
3202
  }>;
3220
- type DTOCreateDocumentationGroupInput = z.infer<typeof DTOCreateDocumentationGroupInput>;
3221
- declare const DTOUpdateDocumentationGroupInput: z.ZodObject<{
3222
- id: z.ZodString;
3223
- title: z.ZodOptional<z.ZodString>;
3203
+ type DTODocumentationGroupStructureV2 = DTODocumentationGroupV2;
3204
+ declare const DTOCreateDocumentationGroupInput: z.ZodObject<{
3205
+ persistentId: z.ZodString;
3206
+ title: z.ZodString;
3224
3207
  configuration: z.ZodOptional<z.ZodObject<{
3225
3208
  showSidebar: z.ZodBoolean;
3226
3209
  isPrivate: z.ZodBoolean;
@@ -3411,9 +3394,12 @@ declare const DTOUpdateDocumentationGroupInput: z.ZodObject<{
3411
3394
  minHeight?: number | null | undefined;
3412
3395
  };
3413
3396
  }>>;
3397
+ afterPersistentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3398
+ parentPersistentId: z.ZodString;
3414
3399
  }, "strip", z.ZodTypeAny, {
3415
- id: string;
3416
- title?: string | undefined;
3400
+ persistentId: string;
3401
+ parentPersistentId: string;
3402
+ title: string;
3417
3403
  configuration?: {
3418
3404
  showSidebar: boolean;
3419
3405
  isPrivate: boolean;
@@ -3446,9 +3432,11 @@ declare const DTOUpdateDocumentationGroupInput: z.ZodObject<{
3446
3432
  minHeight?: number | null | undefined;
3447
3433
  };
3448
3434
  } | undefined;
3435
+ afterPersistentId?: string | null | undefined;
3449
3436
  }, {
3450
- id: string;
3451
- title?: string | undefined;
3437
+ persistentId: string;
3438
+ parentPersistentId: string;
3439
+ title: string;
3452
3440
  configuration?: {
3453
3441
  showSidebar: boolean;
3454
3442
  isPrivate: boolean;
@@ -3481,101 +3469,367 @@ declare const DTOUpdateDocumentationGroupInput: z.ZodObject<{
3481
3469
  minHeight?: number | null | undefined;
3482
3470
  };
3483
3471
  } | undefined;
3484
- }>;
3485
- type DTOUpdateDocumentationGroupInput = z.infer<typeof DTOUpdateDocumentationGroupInput>;
3486
- declare const DTOMoveDocumentationGroupInput: z.ZodObject<{
3487
- id: z.ZodString;
3488
- parentPersistentId: z.ZodString;
3489
- afterPersistentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3490
- }, "strip", z.ZodTypeAny, {
3491
- id: string;
3492
- parentPersistentId: string;
3493
- afterPersistentId?: string | null | undefined;
3494
- }, {
3495
- id: string;
3496
- parentPersistentId: string;
3497
- afterPersistentId?: string | null | undefined;
3498
- }>;
3499
- type DTOMoveDocumentationGroupInput = z.infer<typeof DTOMoveDocumentationGroupInput>;
3500
- declare const DTODuplicateDocumentationGroupInput: z.ZodObject<{
3501
- id: z.ZodString;
3502
- persistentId: z.ZodString;
3503
- afterPersistentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3504
- parentPersistentId: z.ZodString;
3505
- }, "strip", z.ZodTypeAny, {
3506
- id: string;
3507
- persistentId: string;
3508
- parentPersistentId: string;
3509
- afterPersistentId?: string | null | undefined;
3510
- }, {
3511
- id: string;
3512
- persistentId: string;
3513
- parentPersistentId: string;
3514
3472
  afterPersistentId?: string | null | undefined;
3515
3473
  }>;
3516
- type DTODuplicateDocumentationGroupInput = z.infer<typeof DTODuplicateDocumentationGroupInput>;
3517
- declare const DTOCreateDocumentationTabInput: z.ZodObject<{
3518
- persistentId: z.ZodString;
3519
- fromItemPersistentId: z.ZodString;
3520
- tabName: z.ZodString;
3521
- }, "strip", z.ZodTypeAny, {
3522
- persistentId: string;
3523
- fromItemPersistentId: string;
3524
- tabName: string;
3525
- }, {
3526
- persistentId: string;
3527
- fromItemPersistentId: string;
3528
- tabName: string;
3529
- }>;
3530
- type DTOCreateDocumentationTabInput = z.infer<typeof DTOCreateDocumentationTabInput>;
3531
- declare const DTODeleteDocumentationTabGroupInput: z.ZodObject<{
3532
- id: z.ZodString;
3533
- }, "strip", z.ZodTypeAny, {
3534
- id: string;
3535
- }, {
3536
- id: string;
3537
- }>;
3538
- type DTODeleteDocumentationTabGroupInput = z.infer<typeof DTODeleteDocumentationTabGroupInput>;
3539
- declare const DTODeleteDocumentationGroupInput: z.ZodObject<{
3474
+ type DTOCreateDocumentationGroupInput = z.infer<typeof DTOCreateDocumentationGroupInput>;
3475
+ declare const DTOUpdateDocumentationGroupInput: z.ZodObject<{
3540
3476
  id: z.ZodString;
3541
- deleteSubtree: z.ZodDefault<z.ZodBoolean>;
3542
- }, "strip", z.ZodTypeAny, {
3543
- id: string;
3544
- deleteSubtree: boolean;
3545
- }, {
3546
- id: string;
3547
- deleteSubtree?: boolean | undefined;
3548
- }>;
3549
- type DTODeleteDocumentationGroupInput = z.infer<typeof DTODeleteDocumentationGroupInput>;
3550
-
3551
- declare const DTODocumentationItemConfigurationV1: z.ZodObject<{
3552
- showSidebar: z.ZodBoolean;
3553
- isPrivate: z.ZodBoolean;
3554
- isHidden: z.ZodBoolean;
3555
- header: z.ZodObject<{
3556
- description: z.ZodString;
3557
- alignment: z.ZodEnum<["Left", "Center"]>;
3558
- backgroundImageAsset: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3559
- type: z.ZodEnum<["image", "figmaFrame"]>;
3560
- id: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
3561
- url: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
3562
- figmaFrame: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
3563
- persistentId: string;
3564
- sourceId: string;
3565
- sourceFrameId: string;
3566
- title?: string | undefined;
3567
- description?: string | undefined;
3568
- backgroundColor?: {
3569
- value: string;
3570
- } | undefined;
3571
- origin?: {
3572
- sourceFileName?: string | undefined;
3573
- title?: string | undefined;
3574
- previewUrl?: string | undefined;
3575
- valid?: boolean | undefined;
3576
- referenceId?: string | undefined;
3577
- assetId?: string | undefined;
3578
- assetScale?: number | undefined;
3477
+ title: z.ZodOptional<z.ZodString>;
3478
+ configuration: z.ZodOptional<z.ZodObject<{
3479
+ showSidebar: z.ZodOptional<z.ZodBoolean>;
3480
+ isPrivate: z.ZodOptional<z.ZodBoolean>;
3481
+ isHidden: z.ZodOptional<z.ZodBoolean>;
3482
+ header: z.ZodOptional<z.ZodObject<{
3483
+ description: z.ZodString;
3484
+ alignment: z.ZodEnum<["Left", "Center"]>;
3485
+ foregroundColor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3486
+ value: z.ZodString;
3487
+ referencedTokenId: z.ZodOptional<z.ZodString>;
3488
+ }, "strip", z.ZodTypeAny, {
3489
+ value: string;
3490
+ referencedTokenId?: string | undefined;
3491
+ }, {
3492
+ value: string;
3493
+ referencedTokenId?: string | undefined;
3494
+ }>>>;
3495
+ backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3496
+ value: z.ZodString;
3497
+ referencedTokenId: z.ZodOptional<z.ZodString>;
3498
+ }, "strip", z.ZodTypeAny, {
3499
+ value: string;
3500
+ referencedTokenId?: string | undefined;
3501
+ }, {
3502
+ value: string;
3503
+ referencedTokenId?: string | undefined;
3504
+ }>>>;
3505
+ backgroundImageAsset: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3506
+ type: z.ZodEnum<["Resource", "FigmaNode"]>;
3507
+ resource: z.ZodOptional<z.ZodObject<{
3508
+ resourceId: z.ZodString;
3509
+ url: z.ZodString;
3510
+ }, "strip", z.ZodTypeAny, {
3511
+ url: string;
3512
+ resourceId: string;
3513
+ }, {
3514
+ url: string;
3515
+ resourceId: string;
3516
+ }>>;
3517
+ figmaNode: z.ZodOptional<z.ZodObject<{
3518
+ sourceId: z.ZodString;
3519
+ frameReferenceId: z.ZodString;
3520
+ }, "strip", z.ZodTypeAny, {
3521
+ sourceId: string;
3522
+ frameReferenceId: string;
3523
+ }, {
3524
+ sourceId: string;
3525
+ frameReferenceId: string;
3526
+ }>>;
3527
+ }, "strip", z.ZodTypeAny, {
3528
+ type: "FigmaNode" | "Resource";
3529
+ resource?: {
3530
+ url: string;
3531
+ resourceId: string;
3532
+ } | undefined;
3533
+ figmaNode?: {
3534
+ sourceId: string;
3535
+ frameReferenceId: string;
3536
+ } | undefined;
3537
+ }, {
3538
+ type: "FigmaNode" | "Resource";
3539
+ resource?: {
3540
+ url: string;
3541
+ resourceId: string;
3542
+ } | undefined;
3543
+ figmaNode?: {
3544
+ sourceId: string;
3545
+ frameReferenceId: string;
3546
+ } | undefined;
3547
+ }>>>;
3548
+ backgroundImageScaleType: z.ZodEnum<["AspectFill", "AspectFit"]>;
3549
+ showBackgroundOverlay: z.ZodBoolean;
3550
+ showCoverText: z.ZodBoolean;
3551
+ minHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3552
+ }, "strip", z.ZodTypeAny, {
3553
+ description: string;
3554
+ alignment: "Left" | "Center";
3555
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
3556
+ showBackgroundOverlay: boolean;
3557
+ showCoverText: boolean;
3558
+ foregroundColor?: {
3559
+ value: string;
3560
+ referencedTokenId?: string | undefined;
3561
+ } | null | undefined;
3562
+ backgroundColor?: {
3563
+ value: string;
3564
+ referencedTokenId?: string | undefined;
3565
+ } | null | undefined;
3566
+ backgroundImageAsset?: {
3567
+ type: "FigmaNode" | "Resource";
3568
+ resource?: {
3569
+ url: string;
3570
+ resourceId: string;
3571
+ } | undefined;
3572
+ figmaNode?: {
3573
+ sourceId: string;
3574
+ frameReferenceId: string;
3575
+ } | undefined;
3576
+ } | null | undefined;
3577
+ minHeight?: number | null | undefined;
3578
+ }, {
3579
+ description: string;
3580
+ alignment: "Left" | "Center";
3581
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
3582
+ showBackgroundOverlay: boolean;
3583
+ showCoverText: boolean;
3584
+ foregroundColor?: {
3585
+ value: string;
3586
+ referencedTokenId?: string | undefined;
3587
+ } | null | undefined;
3588
+ backgroundColor?: {
3589
+ value: string;
3590
+ referencedTokenId?: string | undefined;
3591
+ } | null | undefined;
3592
+ backgroundImageAsset?: {
3593
+ type: "FigmaNode" | "Resource";
3594
+ resource?: {
3595
+ url: string;
3596
+ resourceId: string;
3597
+ } | undefined;
3598
+ figmaNode?: {
3599
+ sourceId: string;
3600
+ frameReferenceId: string;
3601
+ } | undefined;
3602
+ } | null | undefined;
3603
+ minHeight?: number | null | undefined;
3604
+ }>>;
3605
+ }, "strip", z.ZodTypeAny, {
3606
+ showSidebar?: boolean | undefined;
3607
+ isPrivate?: boolean | undefined;
3608
+ isHidden?: boolean | undefined;
3609
+ header?: {
3610
+ description: string;
3611
+ alignment: "Left" | "Center";
3612
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
3613
+ showBackgroundOverlay: boolean;
3614
+ showCoverText: boolean;
3615
+ foregroundColor?: {
3616
+ value: string;
3617
+ referencedTokenId?: string | undefined;
3618
+ } | null | undefined;
3619
+ backgroundColor?: {
3620
+ value: string;
3621
+ referencedTokenId?: string | undefined;
3622
+ } | null | undefined;
3623
+ backgroundImageAsset?: {
3624
+ type: "FigmaNode" | "Resource";
3625
+ resource?: {
3626
+ url: string;
3627
+ resourceId: string;
3628
+ } | undefined;
3629
+ figmaNode?: {
3630
+ sourceId: string;
3631
+ frameReferenceId: string;
3632
+ } | undefined;
3633
+ } | null | undefined;
3634
+ minHeight?: number | null | undefined;
3635
+ } | undefined;
3636
+ }, {
3637
+ showSidebar?: boolean | undefined;
3638
+ isPrivate?: boolean | undefined;
3639
+ isHidden?: boolean | undefined;
3640
+ header?: {
3641
+ description: string;
3642
+ alignment: "Left" | "Center";
3643
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
3644
+ showBackgroundOverlay: boolean;
3645
+ showCoverText: boolean;
3646
+ foregroundColor?: {
3647
+ value: string;
3648
+ referencedTokenId?: string | undefined;
3649
+ } | null | undefined;
3650
+ backgroundColor?: {
3651
+ value: string;
3652
+ referencedTokenId?: string | undefined;
3653
+ } | null | undefined;
3654
+ backgroundImageAsset?: {
3655
+ type: "FigmaNode" | "Resource";
3656
+ resource?: {
3657
+ url: string;
3658
+ resourceId: string;
3659
+ } | undefined;
3660
+ figmaNode?: {
3661
+ sourceId: string;
3662
+ frameReferenceId: string;
3663
+ } | undefined;
3664
+ } | null | undefined;
3665
+ minHeight?: number | null | undefined;
3666
+ } | undefined;
3667
+ }>>;
3668
+ }, "strip", z.ZodTypeAny, {
3669
+ id: string;
3670
+ title?: string | undefined;
3671
+ configuration?: {
3672
+ showSidebar?: boolean | undefined;
3673
+ isPrivate?: boolean | undefined;
3674
+ isHidden?: boolean | undefined;
3675
+ header?: {
3676
+ description: string;
3677
+ alignment: "Left" | "Center";
3678
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
3679
+ showBackgroundOverlay: boolean;
3680
+ showCoverText: boolean;
3681
+ foregroundColor?: {
3682
+ value: string;
3683
+ referencedTokenId?: string | undefined;
3684
+ } | null | undefined;
3685
+ backgroundColor?: {
3686
+ value: string;
3687
+ referencedTokenId?: string | undefined;
3688
+ } | null | undefined;
3689
+ backgroundImageAsset?: {
3690
+ type: "FigmaNode" | "Resource";
3691
+ resource?: {
3692
+ url: string;
3693
+ resourceId: string;
3694
+ } | undefined;
3695
+ figmaNode?: {
3696
+ sourceId: string;
3697
+ frameReferenceId: string;
3698
+ } | undefined;
3699
+ } | null | undefined;
3700
+ minHeight?: number | null | undefined;
3701
+ } | undefined;
3702
+ } | undefined;
3703
+ }, {
3704
+ id: string;
3705
+ title?: string | undefined;
3706
+ configuration?: {
3707
+ showSidebar?: boolean | undefined;
3708
+ isPrivate?: boolean | undefined;
3709
+ isHidden?: boolean | undefined;
3710
+ header?: {
3711
+ description: string;
3712
+ alignment: "Left" | "Center";
3713
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
3714
+ showBackgroundOverlay: boolean;
3715
+ showCoverText: boolean;
3716
+ foregroundColor?: {
3717
+ value: string;
3718
+ referencedTokenId?: string | undefined;
3719
+ } | null | undefined;
3720
+ backgroundColor?: {
3721
+ value: string;
3722
+ referencedTokenId?: string | undefined;
3723
+ } | null | undefined;
3724
+ backgroundImageAsset?: {
3725
+ type: "FigmaNode" | "Resource";
3726
+ resource?: {
3727
+ url: string;
3728
+ resourceId: string;
3729
+ } | undefined;
3730
+ figmaNode?: {
3731
+ sourceId: string;
3732
+ frameReferenceId: string;
3733
+ } | undefined;
3734
+ } | null | undefined;
3735
+ minHeight?: number | null | undefined;
3736
+ } | undefined;
3737
+ } | undefined;
3738
+ }>;
3739
+ type DTOUpdateDocumentationGroupInput = z.infer<typeof DTOUpdateDocumentationGroupInput>;
3740
+ declare const DTOMoveDocumentationGroupInput: z.ZodObject<{
3741
+ id: z.ZodString;
3742
+ parentPersistentId: z.ZodString;
3743
+ afterPersistentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3744
+ }, "strip", z.ZodTypeAny, {
3745
+ id: string;
3746
+ parentPersistentId: string;
3747
+ afterPersistentId?: string | null | undefined;
3748
+ }, {
3749
+ id: string;
3750
+ parentPersistentId: string;
3751
+ afterPersistentId?: string | null | undefined;
3752
+ }>;
3753
+ type DTOMoveDocumentationGroupInput = z.infer<typeof DTOMoveDocumentationGroupInput>;
3754
+ declare const DTODuplicateDocumentationGroupInput: z.ZodObject<{
3755
+ id: z.ZodString;
3756
+ persistentId: z.ZodString;
3757
+ afterPersistentId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3758
+ parentPersistentId: z.ZodString;
3759
+ }, "strip", z.ZodTypeAny, {
3760
+ id: string;
3761
+ persistentId: string;
3762
+ parentPersistentId: string;
3763
+ afterPersistentId?: string | null | undefined;
3764
+ }, {
3765
+ id: string;
3766
+ persistentId: string;
3767
+ parentPersistentId: string;
3768
+ afterPersistentId?: string | null | undefined;
3769
+ }>;
3770
+ type DTODuplicateDocumentationGroupInput = z.infer<typeof DTODuplicateDocumentationGroupInput>;
3771
+ declare const DTOCreateDocumentationTabInput: z.ZodObject<{
3772
+ persistentId: z.ZodString;
3773
+ fromItemPersistentId: z.ZodString;
3774
+ tabName: z.ZodString;
3775
+ }, "strip", z.ZodTypeAny, {
3776
+ persistentId: string;
3777
+ fromItemPersistentId: string;
3778
+ tabName: string;
3779
+ }, {
3780
+ persistentId: string;
3781
+ fromItemPersistentId: string;
3782
+ tabName: string;
3783
+ }>;
3784
+ type DTOCreateDocumentationTabInput = z.infer<typeof DTOCreateDocumentationTabInput>;
3785
+ declare const DTODeleteDocumentationTabGroupInput: z.ZodObject<{
3786
+ id: z.ZodString;
3787
+ }, "strip", z.ZodTypeAny, {
3788
+ id: string;
3789
+ }, {
3790
+ id: string;
3791
+ }>;
3792
+ type DTODeleteDocumentationTabGroupInput = z.infer<typeof DTODeleteDocumentationTabGroupInput>;
3793
+ declare const DTODeleteDocumentationGroupInput: z.ZodObject<{
3794
+ id: z.ZodString;
3795
+ deleteSubtree: z.ZodDefault<z.ZodBoolean>;
3796
+ }, "strip", z.ZodTypeAny, {
3797
+ id: string;
3798
+ deleteSubtree: boolean;
3799
+ }, {
3800
+ id: string;
3801
+ deleteSubtree?: boolean | undefined;
3802
+ }>;
3803
+ type DTODeleteDocumentationGroupInput = z.infer<typeof DTODeleteDocumentationGroupInput>;
3804
+
3805
+ declare const DTODocumentationItemConfigurationV1: z.ZodObject<{
3806
+ showSidebar: z.ZodBoolean;
3807
+ isPrivate: z.ZodBoolean;
3808
+ isHidden: z.ZodBoolean;
3809
+ header: z.ZodObject<{
3810
+ description: z.ZodString;
3811
+ alignment: z.ZodEnum<["Left", "Center"]>;
3812
+ backgroundImageAsset: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3813
+ type: z.ZodEnum<["image", "figmaFrame"]>;
3814
+ id: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
3815
+ url: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
3816
+ figmaFrame: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
3817
+ persistentId: string;
3818
+ sourceId: string;
3819
+ sourceFrameId: string;
3820
+ title?: string | undefined;
3821
+ description?: string | undefined;
3822
+ backgroundColor?: {
3823
+ value: string;
3824
+ } | undefined;
3825
+ origin?: {
3826
+ sourceFileName?: string | undefined;
3827
+ title?: string | undefined;
3828
+ previewUrl?: string | undefined;
3829
+ valid?: boolean | undefined;
3830
+ referenceId?: string | undefined;
3831
+ assetId?: string | undefined;
3832
+ assetScale?: number | undefined;
3579
3833
  width?: number | undefined;
3580
3834
  height?: number | undefined;
3581
3835
  } | undefined;
@@ -4674,10 +4928,10 @@ declare const DTODocumentationPageUpdateActionInputV2: z.ZodObject<{
4674
4928
  id: z.ZodString;
4675
4929
  title: z.ZodOptional<z.ZodString>;
4676
4930
  configuration: z.ZodOptional<z.ZodObject<{
4677
- showSidebar: z.ZodBoolean;
4678
- isPrivate: z.ZodBoolean;
4679
- isHidden: z.ZodBoolean;
4680
- header: z.ZodObject<{
4931
+ showSidebar: z.ZodOptional<z.ZodBoolean>;
4932
+ isPrivate: z.ZodOptional<z.ZodBoolean>;
4933
+ isHidden: z.ZodOptional<z.ZodBoolean>;
4934
+ header: z.ZodOptional<z.ZodObject<{
4681
4935
  description: z.ZodString;
4682
4936
  alignment: z.ZodEnum<["Left", "Center"]>;
4683
4937
  foregroundColor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -4799,12 +5053,12 @@ declare const DTODocumentationPageUpdateActionInputV2: z.ZodObject<{
4799
5053
  } | undefined;
4800
5054
  } | null | undefined;
4801
5055
  minHeight?: number | null | undefined;
4802
- }>;
5056
+ }>>;
4803
5057
  }, "strip", z.ZodTypeAny, {
4804
- showSidebar: boolean;
4805
- isPrivate: boolean;
4806
- isHidden: boolean;
4807
- header: {
5058
+ showSidebar?: boolean | undefined;
5059
+ isPrivate?: boolean | undefined;
5060
+ isHidden?: boolean | undefined;
5061
+ header?: {
4808
5062
  description: string;
4809
5063
  alignment: "Left" | "Center";
4810
5064
  backgroundImageScaleType: "AspectFill" | "AspectFit";
@@ -4830,12 +5084,12 @@ declare const DTODocumentationPageUpdateActionInputV2: z.ZodObject<{
4830
5084
  } | undefined;
4831
5085
  } | null | undefined;
4832
5086
  minHeight?: number | null | undefined;
4833
- };
5087
+ } | undefined;
4834
5088
  }, {
4835
- showSidebar: boolean;
4836
- isPrivate: boolean;
4837
- isHidden: boolean;
4838
- header: {
5089
+ showSidebar?: boolean | undefined;
5090
+ isPrivate?: boolean | undefined;
5091
+ isHidden?: boolean | undefined;
5092
+ header?: {
4839
5093
  description: string;
4840
5094
  alignment: "Left" | "Center";
4841
5095
  backgroundImageScaleType: "AspectFill" | "AspectFit";
@@ -4861,16 +5115,16 @@ declare const DTODocumentationPageUpdateActionInputV2: z.ZodObject<{
4861
5115
  } | undefined;
4862
5116
  } | null | undefined;
4863
5117
  minHeight?: number | null | undefined;
4864
- };
5118
+ } | undefined;
4865
5119
  }>>;
4866
5120
  }, "strip", z.ZodTypeAny, {
4867
5121
  id: string;
4868
5122
  title?: string | undefined;
4869
5123
  configuration?: {
4870
- showSidebar: boolean;
4871
- isPrivate: boolean;
4872
- isHidden: boolean;
4873
- header: {
5124
+ showSidebar?: boolean | undefined;
5125
+ isPrivate?: boolean | undefined;
5126
+ isHidden?: boolean | undefined;
5127
+ header?: {
4874
5128
  description: string;
4875
5129
  alignment: "Left" | "Center";
4876
5130
  backgroundImageScaleType: "AspectFill" | "AspectFit";
@@ -4896,16 +5150,16 @@ declare const DTODocumentationPageUpdateActionInputV2: z.ZodObject<{
4896
5150
  } | undefined;
4897
5151
  } | null | undefined;
4898
5152
  minHeight?: number | null | undefined;
4899
- };
5153
+ } | undefined;
4900
5154
  } | undefined;
4901
5155
  }, {
4902
5156
  id: string;
4903
5157
  title?: string | undefined;
4904
5158
  configuration?: {
4905
- showSidebar: boolean;
4906
- isPrivate: boolean;
4907
- isHidden: boolean;
4908
- header: {
5159
+ showSidebar?: boolean | undefined;
5160
+ isPrivate?: boolean | undefined;
5161
+ isHidden?: boolean | undefined;
5162
+ header?: {
4909
5163
  description: string;
4910
5164
  alignment: "Left" | "Center";
4911
5165
  backgroundImageScaleType: "AspectFill" | "AspectFit";
@@ -4931,7 +5185,7 @@ declare const DTODocumentationPageUpdateActionInputV2: z.ZodObject<{
4931
5185
  } | undefined;
4932
5186
  } | null | undefined;
4933
5187
  minHeight?: number | null | undefined;
4934
- };
5188
+ } | undefined;
4935
5189
  } | undefined;
4936
5190
  }>;
4937
5191
  }, "strip", z.ZodTypeAny, {
@@ -4940,10 +5194,10 @@ declare const DTODocumentationPageUpdateActionInputV2: z.ZodObject<{
4940
5194
  id: string;
4941
5195
  title?: string | undefined;
4942
5196
  configuration?: {
4943
- showSidebar: boolean;
4944
- isPrivate: boolean;
4945
- isHidden: boolean;
4946
- header: {
5197
+ showSidebar?: boolean | undefined;
5198
+ isPrivate?: boolean | undefined;
5199
+ isHidden?: boolean | undefined;
5200
+ header?: {
4947
5201
  description: string;
4948
5202
  alignment: "Left" | "Center";
4949
5203
  backgroundImageScaleType: "AspectFill" | "AspectFit";
@@ -4969,7 +5223,7 @@ declare const DTODocumentationPageUpdateActionInputV2: z.ZodObject<{
4969
5223
  } | undefined;
4970
5224
  } | null | undefined;
4971
5225
  minHeight?: number | null | undefined;
4972
- };
5226
+ } | undefined;
4973
5227
  } | undefined;
4974
5228
  };
4975
5229
  }, {
@@ -4978,10 +5232,10 @@ declare const DTODocumentationPageUpdateActionInputV2: z.ZodObject<{
4978
5232
  id: string;
4979
5233
  title?: string | undefined;
4980
5234
  configuration?: {
4981
- showSidebar: boolean;
4982
- isPrivate: boolean;
4983
- isHidden: boolean;
4984
- header: {
5235
+ showSidebar?: boolean | undefined;
5236
+ isPrivate?: boolean | undefined;
5237
+ isHidden?: boolean | undefined;
5238
+ header?: {
4985
5239
  description: string;
4986
5240
  alignment: "Left" | "Center";
4987
5241
  backgroundImageScaleType: "AspectFill" | "AspectFit";
@@ -5007,7 +5261,7 @@ declare const DTODocumentationPageUpdateActionInputV2: z.ZodObject<{
5007
5261
  } | undefined;
5008
5262
  } | null | undefined;
5009
5263
  minHeight?: number | null | undefined;
5010
- };
5264
+ } | undefined;
5011
5265
  } | undefined;
5012
5266
  };
5013
5267
  }>;
@@ -8627,87 +8881,383 @@ declare const DocumentationPageV1DTO: z.ZodObject<{
8627
8881
  value: string;
8628
8882
  } | null | undefined;
8629
8883
  } | null | undefined;
8630
- figmaFrames?: {
8631
- persistentId: string;
8632
- sourceId: string;
8633
- sourceFrameId: string;
8634
- title?: string | null | undefined;
8635
- description?: string | null | undefined;
8636
- backgroundColor?: {
8637
- value: string;
8638
- } | null | undefined;
8639
- origin?: {
8640
- sourceFileName?: string | null | undefined;
8641
- title?: string | null | undefined;
8642
- previewUrl?: string | null | undefined;
8643
- valid?: boolean | null | undefined;
8644
- referenceId?: string | null | undefined;
8645
- assetId?: string | null | undefined;
8646
- assetScale?: number | null | undefined;
8647
- width?: number | null | undefined;
8648
- height?: number | null | undefined;
8649
- } | null | undefined;
8650
- }[] | null | undefined;
8651
- size?: {
8652
- width?: number | null | undefined;
8653
- height?: number | null | undefined;
8884
+ figmaFrames?: {
8885
+ persistentId: string;
8886
+ sourceId: string;
8887
+ sourceFrameId: string;
8888
+ title?: string | null | undefined;
8889
+ description?: string | null | undefined;
8890
+ backgroundColor?: {
8891
+ value: string;
8892
+ } | null | undefined;
8893
+ origin?: {
8894
+ sourceFileName?: string | null | undefined;
8895
+ title?: string | null | undefined;
8896
+ previewUrl?: string | null | undefined;
8897
+ valid?: boolean | null | undefined;
8898
+ referenceId?: string | null | undefined;
8899
+ assetId?: string | null | undefined;
8900
+ assetScale?: number | null | undefined;
8901
+ width?: number | null | undefined;
8902
+ height?: number | null | undefined;
8903
+ } | null | undefined;
8904
+ }[] | null | undefined;
8905
+ size?: {
8906
+ width?: number | null | undefined;
8907
+ height?: number | null | undefined;
8908
+ } | null | undefined;
8909
+ backgroundColor?: {
8910
+ value: string;
8911
+ } | null | undefined;
8912
+ renderCodeProperties?: {
8913
+ showCode: boolean;
8914
+ } | null | undefined;
8915
+ componentAssets?: {
8916
+ persistentId: string;
8917
+ componentAssetId: string;
8918
+ title?: string | null | undefined;
8919
+ description?: string | null | undefined;
8920
+ backgroundColor?: {
8921
+ value: string;
8922
+ } | null | undefined;
8923
+ }[] | null | undefined;
8924
+ tableProperties?: {
8925
+ showBorders: boolean;
8926
+ showHeaderRow: boolean;
8927
+ showHeaderColumn: boolean;
8928
+ columns: {
8929
+ id: string;
8930
+ width: {
8931
+ aliasTo?: string | null | undefined;
8932
+ value?: {
8933
+ unit: "Pixels" | "Raw" | "Percent" | "Rem" | "Ms" | "Points";
8934
+ measure: number;
8935
+ } | null | undefined;
8936
+ };
8937
+ }[];
8938
+ } | null | undefined;
8939
+ columnId?: string | null | undefined;
8940
+ theme?: {
8941
+ type: "Override" | "Comparison";
8942
+ themeIds: string[];
8943
+ } | null | undefined;
8944
+ blacklistedElementProperties?: string[] | null | undefined;
8945
+ userMetadata?: string | null | undefined;
8946
+ } & any)[] | null | undefined;
8947
+ })[];
8948
+ slug?: string | undefined;
8949
+ userSlug?: string | undefined;
8950
+ }>;
8951
+ type DocumentationPageV1DTO = z.infer<typeof DocumentationPageV1DTO>;
8952
+
8953
+ /**
8954
+ * Structure DTO is element properties minus element data (in other words data required
8955
+ * to display the element in the left panel)
8956
+ */
8957
+ declare const DTODocumentationPageV2: z.ZodObject<{
8958
+ id: z.ZodString;
8959
+ designSystemVersionId: z.ZodString;
8960
+ persistentId: z.ZodString;
8961
+ createdAt: z.ZodDate;
8962
+ updatedAt: z.ZodDate;
8963
+ slug: z.ZodOptional<z.ZodString>;
8964
+ userSlug: z.ZodOptional<z.ZodString>;
8965
+ shortPersistentId: z.ZodString;
8966
+ title: z.ZodString;
8967
+ path: z.ZodString;
8968
+ type: z.ZodLiteral<"Page">;
8969
+ configuration: z.ZodObject<{
8970
+ showSidebar: z.ZodBoolean;
8971
+ isPrivate: z.ZodBoolean;
8972
+ isHidden: z.ZodBoolean;
8973
+ header: z.ZodObject<{
8974
+ description: z.ZodString;
8975
+ alignment: z.ZodEnum<["Left", "Center"]>;
8976
+ foregroundColor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
8977
+ value: z.ZodString;
8978
+ referencedTokenId: z.ZodOptional<z.ZodString>;
8979
+ }, "strip", z.ZodTypeAny, {
8980
+ value: string;
8981
+ referencedTokenId?: string | undefined;
8982
+ }, {
8983
+ value: string;
8984
+ referencedTokenId?: string | undefined;
8985
+ }>>>;
8986
+ backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
8987
+ value: z.ZodString;
8988
+ referencedTokenId: z.ZodOptional<z.ZodString>;
8989
+ }, "strip", z.ZodTypeAny, {
8990
+ value: string;
8991
+ referencedTokenId?: string | undefined;
8992
+ }, {
8993
+ value: string;
8994
+ referencedTokenId?: string | undefined;
8995
+ }>>>;
8996
+ backgroundImageAsset: z.ZodOptional<z.ZodNullable<z.ZodObject<{
8997
+ type: z.ZodEnum<["Resource", "FigmaNode"]>;
8998
+ resource: z.ZodOptional<z.ZodObject<{
8999
+ resourceId: z.ZodString;
9000
+ url: z.ZodString;
9001
+ }, "strip", z.ZodTypeAny, {
9002
+ url: string;
9003
+ resourceId: string;
9004
+ }, {
9005
+ url: string;
9006
+ resourceId: string;
9007
+ }>>;
9008
+ figmaNode: z.ZodOptional<z.ZodObject<{
9009
+ sourceId: z.ZodString;
9010
+ frameReferenceId: z.ZodString;
9011
+ }, "strip", z.ZodTypeAny, {
9012
+ sourceId: string;
9013
+ frameReferenceId: string;
9014
+ }, {
9015
+ sourceId: string;
9016
+ frameReferenceId: string;
9017
+ }>>;
9018
+ }, "strip", z.ZodTypeAny, {
9019
+ type: "FigmaNode" | "Resource";
9020
+ resource?: {
9021
+ url: string;
9022
+ resourceId: string;
9023
+ } | undefined;
9024
+ figmaNode?: {
9025
+ sourceId: string;
9026
+ frameReferenceId: string;
9027
+ } | undefined;
9028
+ }, {
9029
+ type: "FigmaNode" | "Resource";
9030
+ resource?: {
9031
+ url: string;
9032
+ resourceId: string;
9033
+ } | undefined;
9034
+ figmaNode?: {
9035
+ sourceId: string;
9036
+ frameReferenceId: string;
9037
+ } | undefined;
9038
+ }>>>;
9039
+ backgroundImageScaleType: z.ZodEnum<["AspectFill", "AspectFit"]>;
9040
+ showBackgroundOverlay: z.ZodBoolean;
9041
+ showCoverText: z.ZodBoolean;
9042
+ minHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
9043
+ }, "strip", z.ZodTypeAny, {
9044
+ description: string;
9045
+ alignment: "Left" | "Center";
9046
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
9047
+ showBackgroundOverlay: boolean;
9048
+ showCoverText: boolean;
9049
+ foregroundColor?: {
9050
+ value: string;
9051
+ referencedTokenId?: string | undefined;
9052
+ } | null | undefined;
9053
+ backgroundColor?: {
9054
+ value: string;
9055
+ referencedTokenId?: string | undefined;
9056
+ } | null | undefined;
9057
+ backgroundImageAsset?: {
9058
+ type: "FigmaNode" | "Resource";
9059
+ resource?: {
9060
+ url: string;
9061
+ resourceId: string;
9062
+ } | undefined;
9063
+ figmaNode?: {
9064
+ sourceId: string;
9065
+ frameReferenceId: string;
9066
+ } | undefined;
9067
+ } | null | undefined;
9068
+ minHeight?: number | null | undefined;
9069
+ }, {
9070
+ description: string;
9071
+ alignment: "Left" | "Center";
9072
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
9073
+ showBackgroundOverlay: boolean;
9074
+ showCoverText: boolean;
9075
+ foregroundColor?: {
9076
+ value: string;
9077
+ referencedTokenId?: string | undefined;
9078
+ } | null | undefined;
9079
+ backgroundColor?: {
9080
+ value: string;
9081
+ referencedTokenId?: string | undefined;
9082
+ } | null | undefined;
9083
+ backgroundImageAsset?: {
9084
+ type: "FigmaNode" | "Resource";
9085
+ resource?: {
9086
+ url: string;
9087
+ resourceId: string;
9088
+ } | undefined;
9089
+ figmaNode?: {
9090
+ sourceId: string;
9091
+ frameReferenceId: string;
9092
+ } | undefined;
9093
+ } | null | undefined;
9094
+ minHeight?: number | null | undefined;
9095
+ }>;
9096
+ }, "strip", z.ZodTypeAny, {
9097
+ showSidebar: boolean;
9098
+ isPrivate: boolean;
9099
+ isHidden: boolean;
9100
+ header: {
9101
+ description: string;
9102
+ alignment: "Left" | "Center";
9103
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
9104
+ showBackgroundOverlay: boolean;
9105
+ showCoverText: boolean;
9106
+ foregroundColor?: {
9107
+ value: string;
9108
+ referencedTokenId?: string | undefined;
8654
9109
  } | null | undefined;
8655
9110
  backgroundColor?: {
8656
9111
  value: string;
9112
+ referencedTokenId?: string | undefined;
8657
9113
  } | null | undefined;
8658
- renderCodeProperties?: {
8659
- showCode: boolean;
9114
+ backgroundImageAsset?: {
9115
+ type: "FigmaNode" | "Resource";
9116
+ resource?: {
9117
+ url: string;
9118
+ resourceId: string;
9119
+ } | undefined;
9120
+ figmaNode?: {
9121
+ sourceId: string;
9122
+ frameReferenceId: string;
9123
+ } | undefined;
8660
9124
  } | null | undefined;
8661
- componentAssets?: {
8662
- persistentId: string;
8663
- componentAssetId: string;
8664
- title?: string | null | undefined;
8665
- description?: string | null | undefined;
8666
- backgroundColor?: {
8667
- value: string;
8668
- } | null | undefined;
8669
- }[] | null | undefined;
8670
- tableProperties?: {
8671
- showBorders: boolean;
8672
- showHeaderRow: boolean;
8673
- showHeaderColumn: boolean;
8674
- columns: {
8675
- id: string;
8676
- width: {
8677
- aliasTo?: string | null | undefined;
8678
- value?: {
8679
- unit: "Pixels" | "Raw" | "Percent" | "Rem" | "Ms" | "Points";
8680
- measure: number;
8681
- } | null | undefined;
8682
- };
8683
- }[];
9125
+ minHeight?: number | null | undefined;
9126
+ };
9127
+ }, {
9128
+ showSidebar: boolean;
9129
+ isPrivate: boolean;
9130
+ isHidden: boolean;
9131
+ header: {
9132
+ description: string;
9133
+ alignment: "Left" | "Center";
9134
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
9135
+ showBackgroundOverlay: boolean;
9136
+ showCoverText: boolean;
9137
+ foregroundColor?: {
9138
+ value: string;
9139
+ referencedTokenId?: string | undefined;
8684
9140
  } | null | undefined;
8685
- columnId?: string | null | undefined;
8686
- theme?: {
8687
- type: "Override" | "Comparison";
8688
- themeIds: string[];
9141
+ backgroundColor?: {
9142
+ value: string;
9143
+ referencedTokenId?: string | undefined;
8689
9144
  } | null | undefined;
8690
- blacklistedElementProperties?: string[] | null | undefined;
8691
- userMetadata?: string | null | undefined;
8692
- } & any)[] | null | undefined;
8693
- })[];
9145
+ backgroundImageAsset?: {
9146
+ type: "FigmaNode" | "Resource";
9147
+ resource?: {
9148
+ url: string;
9149
+ resourceId: string;
9150
+ } | undefined;
9151
+ figmaNode?: {
9152
+ sourceId: string;
9153
+ frameReferenceId: string;
9154
+ } | undefined;
9155
+ } | null | undefined;
9156
+ minHeight?: number | null | undefined;
9157
+ };
9158
+ }>;
9159
+ }, "strip", z.ZodTypeAny, {
9160
+ id: string;
9161
+ designSystemVersionId: string;
9162
+ persistentId: string;
9163
+ path: string;
9164
+ type: "Page";
9165
+ createdAt: Date;
9166
+ updatedAt: Date;
9167
+ shortPersistentId: string;
9168
+ title: string;
9169
+ configuration: {
9170
+ showSidebar: boolean;
9171
+ isPrivate: boolean;
9172
+ isHidden: boolean;
9173
+ header: {
9174
+ description: string;
9175
+ alignment: "Left" | "Center";
9176
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
9177
+ showBackgroundOverlay: boolean;
9178
+ showCoverText: boolean;
9179
+ foregroundColor?: {
9180
+ value: string;
9181
+ referencedTokenId?: string | undefined;
9182
+ } | null | undefined;
9183
+ backgroundColor?: {
9184
+ value: string;
9185
+ referencedTokenId?: string | undefined;
9186
+ } | null | undefined;
9187
+ backgroundImageAsset?: {
9188
+ type: "FigmaNode" | "Resource";
9189
+ resource?: {
9190
+ url: string;
9191
+ resourceId: string;
9192
+ } | undefined;
9193
+ figmaNode?: {
9194
+ sourceId: string;
9195
+ frameReferenceId: string;
9196
+ } | undefined;
9197
+ } | null | undefined;
9198
+ minHeight?: number | null | undefined;
9199
+ };
9200
+ };
9201
+ slug?: string | undefined;
9202
+ userSlug?: string | undefined;
9203
+ }, {
9204
+ id: string;
9205
+ designSystemVersionId: string;
9206
+ persistentId: string;
9207
+ path: string;
9208
+ type: "Page";
9209
+ createdAt: Date;
9210
+ updatedAt: Date;
9211
+ shortPersistentId: string;
9212
+ title: string;
9213
+ configuration: {
9214
+ showSidebar: boolean;
9215
+ isPrivate: boolean;
9216
+ isHidden: boolean;
9217
+ header: {
9218
+ description: string;
9219
+ alignment: "Left" | "Center";
9220
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
9221
+ showBackgroundOverlay: boolean;
9222
+ showCoverText: boolean;
9223
+ foregroundColor?: {
9224
+ value: string;
9225
+ referencedTokenId?: string | undefined;
9226
+ } | null | undefined;
9227
+ backgroundColor?: {
9228
+ value: string;
9229
+ referencedTokenId?: string | undefined;
9230
+ } | null | undefined;
9231
+ backgroundImageAsset?: {
9232
+ type: "FigmaNode" | "Resource";
9233
+ resource?: {
9234
+ url: string;
9235
+ resourceId: string;
9236
+ } | undefined;
9237
+ figmaNode?: {
9238
+ sourceId: string;
9239
+ frameReferenceId: string;
9240
+ } | undefined;
9241
+ } | null | undefined;
9242
+ minHeight?: number | null | undefined;
9243
+ };
9244
+ };
8694
9245
  slug?: string | undefined;
8695
9246
  userSlug?: string | undefined;
8696
9247
  }>;
8697
- type DocumentationPageV1DTO = z.infer<typeof DocumentationPageV1DTO>;
8698
-
8699
- declare const DTODocumentationPageV2: z.ZodObject<{
9248
+ type DTODocumentationPageV2 = z.infer<typeof DTODocumentationPageV2>;
9249
+ declare const DTODocumentationPageStructureV2: z.ZodObject<{
8700
9250
  id: z.ZodString;
8701
9251
  designSystemVersionId: z.ZodString;
8702
9252
  persistentId: z.ZodString;
8703
- path: z.ZodString;
8704
- type: z.ZodLiteral<"Page">;
8705
9253
  createdAt: z.ZodDate;
8706
9254
  updatedAt: z.ZodDate;
8707
9255
  slug: z.ZodOptional<z.ZodString>;
8708
9256
  userSlug: z.ZodOptional<z.ZodString>;
8709
9257
  shortPersistentId: z.ZodString;
8710
9258
  title: z.ZodString;
9259
+ path: z.ZodString;
9260
+ type: z.ZodLiteral<"Page">;
8711
9261
  configuration: z.ZodObject<{
8712
9262
  showSidebar: z.ZodBoolean;
8713
9263
  isPrivate: z.ZodBoolean;
@@ -8987,49 +9537,7 @@ declare const DTODocumentationPageV2: z.ZodObject<{
8987
9537
  slug?: string | undefined;
8988
9538
  userSlug?: string | undefined;
8989
9539
  }>;
8990
- type DTODocumentationPageV2 = z.infer<typeof DTODocumentationPageV2>;
8991
- /**
8992
- * Structure DTO is element properties minus element data (in other words data required
8993
- * to display the element in the left panel)
8994
- */
8995
- declare const DTODocumentationPageStructureV2: z.ZodObject<{
8996
- id: z.ZodString;
8997
- designSystemVersionId: z.ZodString;
8998
- persistentId: z.ZodString;
8999
- createdAt: z.ZodDate;
9000
- updatedAt: z.ZodDate;
9001
- slug: z.ZodOptional<z.ZodString>;
9002
- userSlug: z.ZodOptional<z.ZodString>;
9003
- shortPersistentId: z.ZodString;
9004
- title: z.ZodString;
9005
- path: z.ZodString;
9006
- type: z.ZodLiteral<"Page">;
9007
- }, "strip", z.ZodTypeAny, {
9008
- id: string;
9009
- designSystemVersionId: string;
9010
- persistentId: string;
9011
- path: string;
9012
- type: "Page";
9013
- createdAt: Date;
9014
- updatedAt: Date;
9015
- shortPersistentId: string;
9016
- title: string;
9017
- slug?: string | undefined;
9018
- userSlug?: string | undefined;
9019
- }, {
9020
- id: string;
9021
- designSystemVersionId: string;
9022
- persistentId: string;
9023
- path: string;
9024
- type: "Page";
9025
- createdAt: Date;
9026
- updatedAt: Date;
9027
- shortPersistentId: string;
9028
- title: string;
9029
- slug?: string | undefined;
9030
- userSlug?: string | undefined;
9031
- }>;
9032
- type DTODocumentationPageStructureV2 = z.infer<typeof DTODocumentationPageStructureV2>;
9540
+ type DTODocumentationPageStructureV2 = DTODocumentationPageV2;
9033
9541
  declare const DTODocumentationHierarchyV2: z.ZodObject<{
9034
9542
  pages: z.ZodArray<z.ZodObject<{
9035
9543
  id: z.ZodString;
@@ -9043,6 +9551,196 @@ declare const DTODocumentationHierarchyV2: z.ZodObject<{
9043
9551
  title: z.ZodString;
9044
9552
  path: z.ZodString;
9045
9553
  type: z.ZodLiteral<"Page">;
9554
+ configuration: z.ZodObject<{
9555
+ showSidebar: z.ZodBoolean;
9556
+ isPrivate: z.ZodBoolean;
9557
+ isHidden: z.ZodBoolean;
9558
+ header: z.ZodObject<{
9559
+ description: z.ZodString;
9560
+ alignment: z.ZodEnum<["Left", "Center"]>;
9561
+ foregroundColor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
9562
+ value: z.ZodString;
9563
+ referencedTokenId: z.ZodOptional<z.ZodString>;
9564
+ }, "strip", z.ZodTypeAny, {
9565
+ value: string;
9566
+ referencedTokenId?: string | undefined;
9567
+ }, {
9568
+ value: string;
9569
+ referencedTokenId?: string | undefined;
9570
+ }>>>;
9571
+ backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
9572
+ value: z.ZodString;
9573
+ referencedTokenId: z.ZodOptional<z.ZodString>;
9574
+ }, "strip", z.ZodTypeAny, {
9575
+ value: string;
9576
+ referencedTokenId?: string | undefined;
9577
+ }, {
9578
+ value: string;
9579
+ referencedTokenId?: string | undefined;
9580
+ }>>>;
9581
+ backgroundImageAsset: z.ZodOptional<z.ZodNullable<z.ZodObject<{
9582
+ type: z.ZodEnum<["Resource", "FigmaNode"]>;
9583
+ resource: z.ZodOptional<z.ZodObject<{
9584
+ resourceId: z.ZodString;
9585
+ url: z.ZodString;
9586
+ }, "strip", z.ZodTypeAny, {
9587
+ url: string;
9588
+ resourceId: string;
9589
+ }, {
9590
+ url: string;
9591
+ resourceId: string;
9592
+ }>>;
9593
+ figmaNode: z.ZodOptional<z.ZodObject<{
9594
+ sourceId: z.ZodString;
9595
+ frameReferenceId: z.ZodString;
9596
+ }, "strip", z.ZodTypeAny, {
9597
+ sourceId: string;
9598
+ frameReferenceId: string;
9599
+ }, {
9600
+ sourceId: string;
9601
+ frameReferenceId: string;
9602
+ }>>;
9603
+ }, "strip", z.ZodTypeAny, {
9604
+ type: "FigmaNode" | "Resource";
9605
+ resource?: {
9606
+ url: string;
9607
+ resourceId: string;
9608
+ } | undefined;
9609
+ figmaNode?: {
9610
+ sourceId: string;
9611
+ frameReferenceId: string;
9612
+ } | undefined;
9613
+ }, {
9614
+ type: "FigmaNode" | "Resource";
9615
+ resource?: {
9616
+ url: string;
9617
+ resourceId: string;
9618
+ } | undefined;
9619
+ figmaNode?: {
9620
+ sourceId: string;
9621
+ frameReferenceId: string;
9622
+ } | undefined;
9623
+ }>>>;
9624
+ backgroundImageScaleType: z.ZodEnum<["AspectFill", "AspectFit"]>;
9625
+ showBackgroundOverlay: z.ZodBoolean;
9626
+ showCoverText: z.ZodBoolean;
9627
+ minHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
9628
+ }, "strip", z.ZodTypeAny, {
9629
+ description: string;
9630
+ alignment: "Left" | "Center";
9631
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
9632
+ showBackgroundOverlay: boolean;
9633
+ showCoverText: boolean;
9634
+ foregroundColor?: {
9635
+ value: string;
9636
+ referencedTokenId?: string | undefined;
9637
+ } | null | undefined;
9638
+ backgroundColor?: {
9639
+ value: string;
9640
+ referencedTokenId?: string | undefined;
9641
+ } | null | undefined;
9642
+ backgroundImageAsset?: {
9643
+ type: "FigmaNode" | "Resource";
9644
+ resource?: {
9645
+ url: string;
9646
+ resourceId: string;
9647
+ } | undefined;
9648
+ figmaNode?: {
9649
+ sourceId: string;
9650
+ frameReferenceId: string;
9651
+ } | undefined;
9652
+ } | null | undefined;
9653
+ minHeight?: number | null | undefined;
9654
+ }, {
9655
+ description: string;
9656
+ alignment: "Left" | "Center";
9657
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
9658
+ showBackgroundOverlay: boolean;
9659
+ showCoverText: boolean;
9660
+ foregroundColor?: {
9661
+ value: string;
9662
+ referencedTokenId?: string | undefined;
9663
+ } | null | undefined;
9664
+ backgroundColor?: {
9665
+ value: string;
9666
+ referencedTokenId?: string | undefined;
9667
+ } | null | undefined;
9668
+ backgroundImageAsset?: {
9669
+ type: "FigmaNode" | "Resource";
9670
+ resource?: {
9671
+ url: string;
9672
+ resourceId: string;
9673
+ } | undefined;
9674
+ figmaNode?: {
9675
+ sourceId: string;
9676
+ frameReferenceId: string;
9677
+ } | undefined;
9678
+ } | null | undefined;
9679
+ minHeight?: number | null | undefined;
9680
+ }>;
9681
+ }, "strip", z.ZodTypeAny, {
9682
+ showSidebar: boolean;
9683
+ isPrivate: boolean;
9684
+ isHidden: boolean;
9685
+ header: {
9686
+ description: string;
9687
+ alignment: "Left" | "Center";
9688
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
9689
+ showBackgroundOverlay: boolean;
9690
+ showCoverText: boolean;
9691
+ foregroundColor?: {
9692
+ value: string;
9693
+ referencedTokenId?: string | undefined;
9694
+ } | null | undefined;
9695
+ backgroundColor?: {
9696
+ value: string;
9697
+ referencedTokenId?: string | undefined;
9698
+ } | null | undefined;
9699
+ backgroundImageAsset?: {
9700
+ type: "FigmaNode" | "Resource";
9701
+ resource?: {
9702
+ url: string;
9703
+ resourceId: string;
9704
+ } | undefined;
9705
+ figmaNode?: {
9706
+ sourceId: string;
9707
+ frameReferenceId: string;
9708
+ } | undefined;
9709
+ } | null | undefined;
9710
+ minHeight?: number | null | undefined;
9711
+ };
9712
+ }, {
9713
+ showSidebar: boolean;
9714
+ isPrivate: boolean;
9715
+ isHidden: boolean;
9716
+ header: {
9717
+ description: string;
9718
+ alignment: "Left" | "Center";
9719
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
9720
+ showBackgroundOverlay: boolean;
9721
+ showCoverText: boolean;
9722
+ foregroundColor?: {
9723
+ value: string;
9724
+ referencedTokenId?: string | undefined;
9725
+ } | null | undefined;
9726
+ backgroundColor?: {
9727
+ value: string;
9728
+ referencedTokenId?: string | undefined;
9729
+ } | null | undefined;
9730
+ backgroundImageAsset?: {
9731
+ type: "FigmaNode" | "Resource";
9732
+ resource?: {
9733
+ url: string;
9734
+ resourceId: string;
9735
+ } | undefined;
9736
+ figmaNode?: {
9737
+ sourceId: string;
9738
+ frameReferenceId: string;
9739
+ } | undefined;
9740
+ } | null | undefined;
9741
+ minHeight?: number | null | undefined;
9742
+ };
9743
+ }>;
9046
9744
  }, "strip", z.ZodTypeAny, {
9047
9745
  id: string;
9048
9746
  designSystemVersionId: string;
@@ -9053,6 +9751,38 @@ declare const DTODocumentationHierarchyV2: z.ZodObject<{
9053
9751
  updatedAt: Date;
9054
9752
  shortPersistentId: string;
9055
9753
  title: string;
9754
+ configuration: {
9755
+ showSidebar: boolean;
9756
+ isPrivate: boolean;
9757
+ isHidden: boolean;
9758
+ header: {
9759
+ description: string;
9760
+ alignment: "Left" | "Center";
9761
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
9762
+ showBackgroundOverlay: boolean;
9763
+ showCoverText: boolean;
9764
+ foregroundColor?: {
9765
+ value: string;
9766
+ referencedTokenId?: string | undefined;
9767
+ } | null | undefined;
9768
+ backgroundColor?: {
9769
+ value: string;
9770
+ referencedTokenId?: string | undefined;
9771
+ } | null | undefined;
9772
+ backgroundImageAsset?: {
9773
+ type: "FigmaNode" | "Resource";
9774
+ resource?: {
9775
+ url: string;
9776
+ resourceId: string;
9777
+ } | undefined;
9778
+ figmaNode?: {
9779
+ sourceId: string;
9780
+ frameReferenceId: string;
9781
+ } | undefined;
9782
+ } | null | undefined;
9783
+ minHeight?: number | null | undefined;
9784
+ };
9785
+ };
9056
9786
  slug?: string | undefined;
9057
9787
  userSlug?: string | undefined;
9058
9788
  }, {
@@ -9065,6 +9795,38 @@ declare const DTODocumentationHierarchyV2: z.ZodObject<{
9065
9795
  updatedAt: Date;
9066
9796
  shortPersistentId: string;
9067
9797
  title: string;
9798
+ configuration: {
9799
+ showSidebar: boolean;
9800
+ isPrivate: boolean;
9801
+ isHidden: boolean;
9802
+ header: {
9803
+ description: string;
9804
+ alignment: "Left" | "Center";
9805
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
9806
+ showBackgroundOverlay: boolean;
9807
+ showCoverText: boolean;
9808
+ foregroundColor?: {
9809
+ value: string;
9810
+ referencedTokenId?: string | undefined;
9811
+ } | null | undefined;
9812
+ backgroundColor?: {
9813
+ value: string;
9814
+ referencedTokenId?: string | undefined;
9815
+ } | null | undefined;
9816
+ backgroundImageAsset?: {
9817
+ type: "FigmaNode" | "Resource";
9818
+ resource?: {
9819
+ url: string;
9820
+ resourceId: string;
9821
+ } | undefined;
9822
+ figmaNode?: {
9823
+ sourceId: string;
9824
+ frameReferenceId: string;
9825
+ } | undefined;
9826
+ } | null | undefined;
9827
+ minHeight?: number | null | undefined;
9828
+ };
9829
+ };
9068
9830
  slug?: string | undefined;
9069
9831
  userSlug?: string | undefined;
9070
9832
  }>, "many">;
@@ -9081,6 +9843,196 @@ declare const DTODocumentationHierarchyV2: z.ZodObject<{
9081
9843
  childrenIds: z.ZodArray<z.ZodString, "many">;
9082
9844
  groupBehavior: z.ZodEnum<["Group", "Tabs"]>;
9083
9845
  shortPersistentId: z.ZodString;
9846
+ configuration: z.ZodObject<{
9847
+ showSidebar: z.ZodBoolean;
9848
+ isPrivate: z.ZodBoolean;
9849
+ isHidden: z.ZodBoolean;
9850
+ header: z.ZodObject<{
9851
+ description: z.ZodString;
9852
+ alignment: z.ZodEnum<["Left", "Center"]>;
9853
+ foregroundColor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
9854
+ value: z.ZodString;
9855
+ referencedTokenId: z.ZodOptional<z.ZodString>;
9856
+ }, "strip", z.ZodTypeAny, {
9857
+ value: string;
9858
+ referencedTokenId?: string | undefined;
9859
+ }, {
9860
+ value: string;
9861
+ referencedTokenId?: string | undefined;
9862
+ }>>>;
9863
+ backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
9864
+ value: z.ZodString;
9865
+ referencedTokenId: z.ZodOptional<z.ZodString>;
9866
+ }, "strip", z.ZodTypeAny, {
9867
+ value: string;
9868
+ referencedTokenId?: string | undefined;
9869
+ }, {
9870
+ value: string;
9871
+ referencedTokenId?: string | undefined;
9872
+ }>>>;
9873
+ backgroundImageAsset: z.ZodOptional<z.ZodNullable<z.ZodObject<{
9874
+ type: z.ZodEnum<["Resource", "FigmaNode"]>;
9875
+ resource: z.ZodOptional<z.ZodObject<{
9876
+ resourceId: z.ZodString;
9877
+ url: z.ZodString;
9878
+ }, "strip", z.ZodTypeAny, {
9879
+ url: string;
9880
+ resourceId: string;
9881
+ }, {
9882
+ url: string;
9883
+ resourceId: string;
9884
+ }>>;
9885
+ figmaNode: z.ZodOptional<z.ZodObject<{
9886
+ sourceId: z.ZodString;
9887
+ frameReferenceId: z.ZodString;
9888
+ }, "strip", z.ZodTypeAny, {
9889
+ sourceId: string;
9890
+ frameReferenceId: string;
9891
+ }, {
9892
+ sourceId: string;
9893
+ frameReferenceId: string;
9894
+ }>>;
9895
+ }, "strip", z.ZodTypeAny, {
9896
+ type: "FigmaNode" | "Resource";
9897
+ resource?: {
9898
+ url: string;
9899
+ resourceId: string;
9900
+ } | undefined;
9901
+ figmaNode?: {
9902
+ sourceId: string;
9903
+ frameReferenceId: string;
9904
+ } | undefined;
9905
+ }, {
9906
+ type: "FigmaNode" | "Resource";
9907
+ resource?: {
9908
+ url: string;
9909
+ resourceId: string;
9910
+ } | undefined;
9911
+ figmaNode?: {
9912
+ sourceId: string;
9913
+ frameReferenceId: string;
9914
+ } | undefined;
9915
+ }>>>;
9916
+ backgroundImageScaleType: z.ZodEnum<["AspectFill", "AspectFit"]>;
9917
+ showBackgroundOverlay: z.ZodBoolean;
9918
+ showCoverText: z.ZodBoolean;
9919
+ minHeight: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
9920
+ }, "strip", z.ZodTypeAny, {
9921
+ description: string;
9922
+ alignment: "Left" | "Center";
9923
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
9924
+ showBackgroundOverlay: boolean;
9925
+ showCoverText: boolean;
9926
+ foregroundColor?: {
9927
+ value: string;
9928
+ referencedTokenId?: string | undefined;
9929
+ } | null | undefined;
9930
+ backgroundColor?: {
9931
+ value: string;
9932
+ referencedTokenId?: string | undefined;
9933
+ } | null | undefined;
9934
+ backgroundImageAsset?: {
9935
+ type: "FigmaNode" | "Resource";
9936
+ resource?: {
9937
+ url: string;
9938
+ resourceId: string;
9939
+ } | undefined;
9940
+ figmaNode?: {
9941
+ sourceId: string;
9942
+ frameReferenceId: string;
9943
+ } | undefined;
9944
+ } | null | undefined;
9945
+ minHeight?: number | null | undefined;
9946
+ }, {
9947
+ description: string;
9948
+ alignment: "Left" | "Center";
9949
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
9950
+ showBackgroundOverlay: boolean;
9951
+ showCoverText: boolean;
9952
+ foregroundColor?: {
9953
+ value: string;
9954
+ referencedTokenId?: string | undefined;
9955
+ } | null | undefined;
9956
+ backgroundColor?: {
9957
+ value: string;
9958
+ referencedTokenId?: string | undefined;
9959
+ } | null | undefined;
9960
+ backgroundImageAsset?: {
9961
+ type: "FigmaNode" | "Resource";
9962
+ resource?: {
9963
+ url: string;
9964
+ resourceId: string;
9965
+ } | undefined;
9966
+ figmaNode?: {
9967
+ sourceId: string;
9968
+ frameReferenceId: string;
9969
+ } | undefined;
9970
+ } | null | undefined;
9971
+ minHeight?: number | null | undefined;
9972
+ }>;
9973
+ }, "strip", z.ZodTypeAny, {
9974
+ showSidebar: boolean;
9975
+ isPrivate: boolean;
9976
+ isHidden: boolean;
9977
+ header: {
9978
+ description: string;
9979
+ alignment: "Left" | "Center";
9980
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
9981
+ showBackgroundOverlay: boolean;
9982
+ showCoverText: boolean;
9983
+ foregroundColor?: {
9984
+ value: string;
9985
+ referencedTokenId?: string | undefined;
9986
+ } | null | undefined;
9987
+ backgroundColor?: {
9988
+ value: string;
9989
+ referencedTokenId?: string | undefined;
9990
+ } | null | undefined;
9991
+ backgroundImageAsset?: {
9992
+ type: "FigmaNode" | "Resource";
9993
+ resource?: {
9994
+ url: string;
9995
+ resourceId: string;
9996
+ } | undefined;
9997
+ figmaNode?: {
9998
+ sourceId: string;
9999
+ frameReferenceId: string;
10000
+ } | undefined;
10001
+ } | null | undefined;
10002
+ minHeight?: number | null | undefined;
10003
+ };
10004
+ }, {
10005
+ showSidebar: boolean;
10006
+ isPrivate: boolean;
10007
+ isHidden: boolean;
10008
+ header: {
10009
+ description: string;
10010
+ alignment: "Left" | "Center";
10011
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
10012
+ showBackgroundOverlay: boolean;
10013
+ showCoverText: boolean;
10014
+ foregroundColor?: {
10015
+ value: string;
10016
+ referencedTokenId?: string | undefined;
10017
+ } | null | undefined;
10018
+ backgroundColor?: {
10019
+ value: string;
10020
+ referencedTokenId?: string | undefined;
10021
+ } | null | undefined;
10022
+ backgroundImageAsset?: {
10023
+ type: "FigmaNode" | "Resource";
10024
+ resource?: {
10025
+ url: string;
10026
+ resourceId: string;
10027
+ } | undefined;
10028
+ figmaNode?: {
10029
+ sourceId: string;
10030
+ frameReferenceId: string;
10031
+ } | undefined;
10032
+ } | null | undefined;
10033
+ minHeight?: number | null | undefined;
10034
+ };
10035
+ }>;
9084
10036
  type: z.ZodLiteral<"Group">;
9085
10037
  }, "strip", z.ZodTypeAny, {
9086
10038
  id: string;
@@ -9094,6 +10046,38 @@ declare const DTODocumentationHierarchyV2: z.ZodObject<{
9094
10046
  isRoot: boolean;
9095
10047
  childrenIds: string[];
9096
10048
  groupBehavior: "Group" | "Tabs";
10049
+ configuration: {
10050
+ showSidebar: boolean;
10051
+ isPrivate: boolean;
10052
+ isHidden: boolean;
10053
+ header: {
10054
+ description: string;
10055
+ alignment: "Left" | "Center";
10056
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
10057
+ showBackgroundOverlay: boolean;
10058
+ showCoverText: boolean;
10059
+ foregroundColor?: {
10060
+ value: string;
10061
+ referencedTokenId?: string | undefined;
10062
+ } | null | undefined;
10063
+ backgroundColor?: {
10064
+ value: string;
10065
+ referencedTokenId?: string | undefined;
10066
+ } | null | undefined;
10067
+ backgroundImageAsset?: {
10068
+ type: "FigmaNode" | "Resource";
10069
+ resource?: {
10070
+ url: string;
10071
+ resourceId: string;
10072
+ } | undefined;
10073
+ figmaNode?: {
10074
+ sourceId: string;
10075
+ frameReferenceId: string;
10076
+ } | undefined;
10077
+ } | null | undefined;
10078
+ minHeight?: number | null | undefined;
10079
+ };
10080
+ };
9097
10081
  slug?: string | undefined;
9098
10082
  userSlug?: string | undefined;
9099
10083
  }, {
@@ -9108,6 +10092,38 @@ declare const DTODocumentationHierarchyV2: z.ZodObject<{
9108
10092
  isRoot: boolean;
9109
10093
  childrenIds: string[];
9110
10094
  groupBehavior: "Group" | "Tabs";
10095
+ configuration: {
10096
+ showSidebar: boolean;
10097
+ isPrivate: boolean;
10098
+ isHidden: boolean;
10099
+ header: {
10100
+ description: string;
10101
+ alignment: "Left" | "Center";
10102
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
10103
+ showBackgroundOverlay: boolean;
10104
+ showCoverText: boolean;
10105
+ foregroundColor?: {
10106
+ value: string;
10107
+ referencedTokenId?: string | undefined;
10108
+ } | null | undefined;
10109
+ backgroundColor?: {
10110
+ value: string;
10111
+ referencedTokenId?: string | undefined;
10112
+ } | null | undefined;
10113
+ backgroundImageAsset?: {
10114
+ type: "FigmaNode" | "Resource";
10115
+ resource?: {
10116
+ url: string;
10117
+ resourceId: string;
10118
+ } | undefined;
10119
+ figmaNode?: {
10120
+ sourceId: string;
10121
+ frameReferenceId: string;
10122
+ } | undefined;
10123
+ } | null | undefined;
10124
+ minHeight?: number | null | undefined;
10125
+ };
10126
+ };
9111
10127
  slug?: string | undefined;
9112
10128
  userSlug?: string | undefined;
9113
10129
  }>, "many">;
@@ -9122,6 +10138,38 @@ declare const DTODocumentationHierarchyV2: z.ZodObject<{
9122
10138
  updatedAt: Date;
9123
10139
  shortPersistentId: string;
9124
10140
  title: string;
10141
+ configuration: {
10142
+ showSidebar: boolean;
10143
+ isPrivate: boolean;
10144
+ isHidden: boolean;
10145
+ header: {
10146
+ description: string;
10147
+ alignment: "Left" | "Center";
10148
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
10149
+ showBackgroundOverlay: boolean;
10150
+ showCoverText: boolean;
10151
+ foregroundColor?: {
10152
+ value: string;
10153
+ referencedTokenId?: string | undefined;
10154
+ } | null | undefined;
10155
+ backgroundColor?: {
10156
+ value: string;
10157
+ referencedTokenId?: string | undefined;
10158
+ } | null | undefined;
10159
+ backgroundImageAsset?: {
10160
+ type: "FigmaNode" | "Resource";
10161
+ resource?: {
10162
+ url: string;
10163
+ resourceId: string;
10164
+ } | undefined;
10165
+ figmaNode?: {
10166
+ sourceId: string;
10167
+ frameReferenceId: string;
10168
+ } | undefined;
10169
+ } | null | undefined;
10170
+ minHeight?: number | null | undefined;
10171
+ };
10172
+ };
9125
10173
  slug?: string | undefined;
9126
10174
  userSlug?: string | undefined;
9127
10175
  }[];
@@ -9137,6 +10185,38 @@ declare const DTODocumentationHierarchyV2: z.ZodObject<{
9137
10185
  isRoot: boolean;
9138
10186
  childrenIds: string[];
9139
10187
  groupBehavior: "Group" | "Tabs";
10188
+ configuration: {
10189
+ showSidebar: boolean;
10190
+ isPrivate: boolean;
10191
+ isHidden: boolean;
10192
+ header: {
10193
+ description: string;
10194
+ alignment: "Left" | "Center";
10195
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
10196
+ showBackgroundOverlay: boolean;
10197
+ showCoverText: boolean;
10198
+ foregroundColor?: {
10199
+ value: string;
10200
+ referencedTokenId?: string | undefined;
10201
+ } | null | undefined;
10202
+ backgroundColor?: {
10203
+ value: string;
10204
+ referencedTokenId?: string | undefined;
10205
+ } | null | undefined;
10206
+ backgroundImageAsset?: {
10207
+ type: "FigmaNode" | "Resource";
10208
+ resource?: {
10209
+ url: string;
10210
+ resourceId: string;
10211
+ } | undefined;
10212
+ figmaNode?: {
10213
+ sourceId: string;
10214
+ frameReferenceId: string;
10215
+ } | undefined;
10216
+ } | null | undefined;
10217
+ minHeight?: number | null | undefined;
10218
+ };
10219
+ };
9140
10220
  slug?: string | undefined;
9141
10221
  userSlug?: string | undefined;
9142
10222
  }[];
@@ -9151,6 +10231,38 @@ declare const DTODocumentationHierarchyV2: z.ZodObject<{
9151
10231
  updatedAt: Date;
9152
10232
  shortPersistentId: string;
9153
10233
  title: string;
10234
+ configuration: {
10235
+ showSidebar: boolean;
10236
+ isPrivate: boolean;
10237
+ isHidden: boolean;
10238
+ header: {
10239
+ description: string;
10240
+ alignment: "Left" | "Center";
10241
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
10242
+ showBackgroundOverlay: boolean;
10243
+ showCoverText: boolean;
10244
+ foregroundColor?: {
10245
+ value: string;
10246
+ referencedTokenId?: string | undefined;
10247
+ } | null | undefined;
10248
+ backgroundColor?: {
10249
+ value: string;
10250
+ referencedTokenId?: string | undefined;
10251
+ } | null | undefined;
10252
+ backgroundImageAsset?: {
10253
+ type: "FigmaNode" | "Resource";
10254
+ resource?: {
10255
+ url: string;
10256
+ resourceId: string;
10257
+ } | undefined;
10258
+ figmaNode?: {
10259
+ sourceId: string;
10260
+ frameReferenceId: string;
10261
+ } | undefined;
10262
+ } | null | undefined;
10263
+ minHeight?: number | null | undefined;
10264
+ };
10265
+ };
9154
10266
  slug?: string | undefined;
9155
10267
  userSlug?: string | undefined;
9156
10268
  }[];
@@ -9166,6 +10278,38 @@ declare const DTODocumentationHierarchyV2: z.ZodObject<{
9166
10278
  isRoot: boolean;
9167
10279
  childrenIds: string[];
9168
10280
  groupBehavior: "Group" | "Tabs";
10281
+ configuration: {
10282
+ showSidebar: boolean;
10283
+ isPrivate: boolean;
10284
+ isHidden: boolean;
10285
+ header: {
10286
+ description: string;
10287
+ alignment: "Left" | "Center";
10288
+ backgroundImageScaleType: "AspectFill" | "AspectFit";
10289
+ showBackgroundOverlay: boolean;
10290
+ showCoverText: boolean;
10291
+ foregroundColor?: {
10292
+ value: string;
10293
+ referencedTokenId?: string | undefined;
10294
+ } | null | undefined;
10295
+ backgroundColor?: {
10296
+ value: string;
10297
+ referencedTokenId?: string | undefined;
10298
+ } | null | undefined;
10299
+ backgroundImageAsset?: {
10300
+ type: "FigmaNode" | "Resource";
10301
+ resource?: {
10302
+ url: string;
10303
+ resourceId: string;
10304
+ } | undefined;
10305
+ figmaNode?: {
10306
+ sourceId: string;
10307
+ frameReferenceId: string;
10308
+ } | undefined;
10309
+ } | null | undefined;
10310
+ minHeight?: number | null | undefined;
10311
+ };
10312
+ };
9169
10313
  slug?: string | undefined;
9170
10314
  userSlug?: string | undefined;
9171
10315
  }[];
@@ -9446,10 +10590,10 @@ declare const DTOUpdateDocumentationPageInputV2: z.ZodObject<{
9446
10590
  id: z.ZodString;
9447
10591
  title: z.ZodOptional<z.ZodString>;
9448
10592
  configuration: z.ZodOptional<z.ZodObject<{
9449
- showSidebar: z.ZodBoolean;
9450
- isPrivate: z.ZodBoolean;
9451
- isHidden: z.ZodBoolean;
9452
- header: z.ZodObject<{
10593
+ showSidebar: z.ZodOptional<z.ZodBoolean>;
10594
+ isPrivate: z.ZodOptional<z.ZodBoolean>;
10595
+ isHidden: z.ZodOptional<z.ZodBoolean>;
10596
+ header: z.ZodOptional<z.ZodObject<{
9453
10597
  description: z.ZodString;
9454
10598
  alignment: z.ZodEnum<["Left", "Center"]>;
9455
10599
  foregroundColor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -9571,12 +10715,12 @@ declare const DTOUpdateDocumentationPageInputV2: z.ZodObject<{
9571
10715
  } | undefined;
9572
10716
  } | null | undefined;
9573
10717
  minHeight?: number | null | undefined;
9574
- }>;
10718
+ }>>;
9575
10719
  }, "strip", z.ZodTypeAny, {
9576
- showSidebar: boolean;
9577
- isPrivate: boolean;
9578
- isHidden: boolean;
9579
- header: {
10720
+ showSidebar?: boolean | undefined;
10721
+ isPrivate?: boolean | undefined;
10722
+ isHidden?: boolean | undefined;
10723
+ header?: {
9580
10724
  description: string;
9581
10725
  alignment: "Left" | "Center";
9582
10726
  backgroundImageScaleType: "AspectFill" | "AspectFit";
@@ -9602,12 +10746,12 @@ declare const DTOUpdateDocumentationPageInputV2: z.ZodObject<{
9602
10746
  } | undefined;
9603
10747
  } | null | undefined;
9604
10748
  minHeight?: number | null | undefined;
9605
- };
10749
+ } | undefined;
9606
10750
  }, {
9607
- showSidebar: boolean;
9608
- isPrivate: boolean;
9609
- isHidden: boolean;
9610
- header: {
10751
+ showSidebar?: boolean | undefined;
10752
+ isPrivate?: boolean | undefined;
10753
+ isHidden?: boolean | undefined;
10754
+ header?: {
9611
10755
  description: string;
9612
10756
  alignment: "Left" | "Center";
9613
10757
  backgroundImageScaleType: "AspectFill" | "AspectFit";
@@ -9633,16 +10777,16 @@ declare const DTOUpdateDocumentationPageInputV2: z.ZodObject<{
9633
10777
  } | undefined;
9634
10778
  } | null | undefined;
9635
10779
  minHeight?: number | null | undefined;
9636
- };
10780
+ } | undefined;
9637
10781
  }>>;
9638
10782
  }, "strip", z.ZodTypeAny, {
9639
10783
  id: string;
9640
10784
  title?: string | undefined;
9641
10785
  configuration?: {
9642
- showSidebar: boolean;
9643
- isPrivate: boolean;
9644
- isHidden: boolean;
9645
- header: {
10786
+ showSidebar?: boolean | undefined;
10787
+ isPrivate?: boolean | undefined;
10788
+ isHidden?: boolean | undefined;
10789
+ header?: {
9646
10790
  description: string;
9647
10791
  alignment: "Left" | "Center";
9648
10792
  backgroundImageScaleType: "AspectFill" | "AspectFit";
@@ -9668,16 +10812,16 @@ declare const DTOUpdateDocumentationPageInputV2: z.ZodObject<{
9668
10812
  } | undefined;
9669
10813
  } | null | undefined;
9670
10814
  minHeight?: number | null | undefined;
9671
- };
10815
+ } | undefined;
9672
10816
  } | undefined;
9673
10817
  }, {
9674
10818
  id: string;
9675
10819
  title?: string | undefined;
9676
10820
  configuration?: {
9677
- showSidebar: boolean;
9678
- isPrivate: boolean;
9679
- isHidden: boolean;
9680
- header: {
10821
+ showSidebar?: boolean | undefined;
10822
+ isPrivate?: boolean | undefined;
10823
+ isHidden?: boolean | undefined;
10824
+ header?: {
9681
10825
  description: string;
9682
10826
  alignment: "Left" | "Center";
9683
10827
  backgroundImageScaleType: "AspectFill" | "AspectFit";
@@ -9703,7 +10847,7 @@ declare const DTOUpdateDocumentationPageInputV2: z.ZodObject<{
9703
10847
  } | undefined;
9704
10848
  } | null | undefined;
9705
10849
  minHeight?: number | null | undefined;
9706
- };
10850
+ } | undefined;
9707
10851
  } | undefined;
9708
10852
  }>;
9709
10853
  type DTOUpdateDocumentationPageInputV2 = z.infer<typeof DTOUpdateDocumentationPageInputV2>;
@@ -11995,10 +13139,10 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
11995
13139
  id: z.ZodString;
11996
13140
  title: z.ZodOptional<z.ZodString>;
11997
13141
  configuration: z.ZodOptional<z.ZodObject<{
11998
- showSidebar: z.ZodBoolean;
11999
- isPrivate: z.ZodBoolean;
12000
- isHidden: z.ZodBoolean;
12001
- header: z.ZodObject<{
13142
+ showSidebar: z.ZodOptional<z.ZodBoolean>;
13143
+ isPrivate: z.ZodOptional<z.ZodBoolean>;
13144
+ isHidden: z.ZodOptional<z.ZodBoolean>;
13145
+ header: z.ZodOptional<z.ZodObject<{
12002
13146
  description: z.ZodString;
12003
13147
  alignment: z.ZodEnum<["Left", "Center"]>;
12004
13148
  foregroundColor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -12120,12 +13264,12 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
12120
13264
  } | undefined;
12121
13265
  } | null | undefined;
12122
13266
  minHeight?: number | null | undefined;
12123
- }>;
13267
+ }>>;
12124
13268
  }, "strip", z.ZodTypeAny, {
12125
- showSidebar: boolean;
12126
- isPrivate: boolean;
12127
- isHidden: boolean;
12128
- header: {
13269
+ showSidebar?: boolean | undefined;
13270
+ isPrivate?: boolean | undefined;
13271
+ isHidden?: boolean | undefined;
13272
+ header?: {
12129
13273
  description: string;
12130
13274
  alignment: "Left" | "Center";
12131
13275
  backgroundImageScaleType: "AspectFill" | "AspectFit";
@@ -12151,12 +13295,12 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
12151
13295
  } | undefined;
12152
13296
  } | null | undefined;
12153
13297
  minHeight?: number | null | undefined;
12154
- };
13298
+ } | undefined;
12155
13299
  }, {
12156
- showSidebar: boolean;
12157
- isPrivate: boolean;
12158
- isHidden: boolean;
12159
- header: {
13300
+ showSidebar?: boolean | undefined;
13301
+ isPrivate?: boolean | undefined;
13302
+ isHidden?: boolean | undefined;
13303
+ header?: {
12160
13304
  description: string;
12161
13305
  alignment: "Left" | "Center";
12162
13306
  backgroundImageScaleType: "AspectFill" | "AspectFit";
@@ -12182,16 +13326,16 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
12182
13326
  } | undefined;
12183
13327
  } | null | undefined;
12184
13328
  minHeight?: number | null | undefined;
12185
- };
13329
+ } | undefined;
12186
13330
  }>>;
12187
13331
  }, "strip", z.ZodTypeAny, {
12188
13332
  id: string;
12189
13333
  title?: string | undefined;
12190
13334
  configuration?: {
12191
- showSidebar: boolean;
12192
- isPrivate: boolean;
12193
- isHidden: boolean;
12194
- header: {
13335
+ showSidebar?: boolean | undefined;
13336
+ isPrivate?: boolean | undefined;
13337
+ isHidden?: boolean | undefined;
13338
+ header?: {
12195
13339
  description: string;
12196
13340
  alignment: "Left" | "Center";
12197
13341
  backgroundImageScaleType: "AspectFill" | "AspectFit";
@@ -12217,16 +13361,16 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
12217
13361
  } | undefined;
12218
13362
  } | null | undefined;
12219
13363
  minHeight?: number | null | undefined;
12220
- };
13364
+ } | undefined;
12221
13365
  } | undefined;
12222
13366
  }, {
12223
13367
  id: string;
12224
13368
  title?: string | undefined;
12225
13369
  configuration?: {
12226
- showSidebar: boolean;
12227
- isPrivate: boolean;
12228
- isHidden: boolean;
12229
- header: {
13370
+ showSidebar?: boolean | undefined;
13371
+ isPrivate?: boolean | undefined;
13372
+ isHidden?: boolean | undefined;
13373
+ header?: {
12230
13374
  description: string;
12231
13375
  alignment: "Left" | "Center";
12232
13376
  backgroundImageScaleType: "AspectFill" | "AspectFit";
@@ -12252,7 +13396,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
12252
13396
  } | undefined;
12253
13397
  } | null | undefined;
12254
13398
  minHeight?: number | null | undefined;
12255
- };
13399
+ } | undefined;
12256
13400
  } | undefined;
12257
13401
  }>;
12258
13402
  }, "strip", z.ZodTypeAny, {
@@ -12261,10 +13405,10 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
12261
13405
  id: string;
12262
13406
  title?: string | undefined;
12263
13407
  configuration?: {
12264
- showSidebar: boolean;
12265
- isPrivate: boolean;
12266
- isHidden: boolean;
12267
- header: {
13408
+ showSidebar?: boolean | undefined;
13409
+ isPrivate?: boolean | undefined;
13410
+ isHidden?: boolean | undefined;
13411
+ header?: {
12268
13412
  description: string;
12269
13413
  alignment: "Left" | "Center";
12270
13414
  backgroundImageScaleType: "AspectFill" | "AspectFit";
@@ -12290,7 +13434,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
12290
13434
  } | undefined;
12291
13435
  } | null | undefined;
12292
13436
  minHeight?: number | null | undefined;
12293
- };
13437
+ } | undefined;
12294
13438
  } | undefined;
12295
13439
  };
12296
13440
  }, {
@@ -12299,10 +13443,10 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
12299
13443
  id: string;
12300
13444
  title?: string | undefined;
12301
13445
  configuration?: {
12302
- showSidebar: boolean;
12303
- isPrivate: boolean;
12304
- isHidden: boolean;
12305
- header: {
13446
+ showSidebar?: boolean | undefined;
13447
+ isPrivate?: boolean | undefined;
13448
+ isHidden?: boolean | undefined;
13449
+ header?: {
12306
13450
  description: string;
12307
13451
  alignment: "Left" | "Center";
12308
13452
  backgroundImageScaleType: "AspectFill" | "AspectFit";
@@ -12328,7 +13472,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
12328
13472
  } | undefined;
12329
13473
  } | null | undefined;
12330
13474
  minHeight?: number | null | undefined;
12331
- };
13475
+ } | undefined;
12332
13476
  } | undefined;
12333
13477
  };
12334
13478
  }>, z.ZodObject<{
@@ -12800,10 +13944,10 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
12800
13944
  id: z.ZodString;
12801
13945
  title: z.ZodOptional<z.ZodString>;
12802
13946
  configuration: z.ZodOptional<z.ZodObject<{
12803
- showSidebar: z.ZodBoolean;
12804
- isPrivate: z.ZodBoolean;
12805
- isHidden: z.ZodBoolean;
12806
- header: z.ZodObject<{
13947
+ showSidebar: z.ZodOptional<z.ZodBoolean>;
13948
+ isPrivate: z.ZodOptional<z.ZodBoolean>;
13949
+ isHidden: z.ZodOptional<z.ZodBoolean>;
13950
+ header: z.ZodOptional<z.ZodObject<{
12807
13951
  description: z.ZodString;
12808
13952
  alignment: z.ZodEnum<["Left", "Center"]>;
12809
13953
  foregroundColor: z.ZodOptional<z.ZodNullable<z.ZodObject<{
@@ -12925,12 +14069,12 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
12925
14069
  } | undefined;
12926
14070
  } | null | undefined;
12927
14071
  minHeight?: number | null | undefined;
12928
- }>;
14072
+ }>>;
12929
14073
  }, "strip", z.ZodTypeAny, {
12930
- showSidebar: boolean;
12931
- isPrivate: boolean;
12932
- isHidden: boolean;
12933
- header: {
14074
+ showSidebar?: boolean | undefined;
14075
+ isPrivate?: boolean | undefined;
14076
+ isHidden?: boolean | undefined;
14077
+ header?: {
12934
14078
  description: string;
12935
14079
  alignment: "Left" | "Center";
12936
14080
  backgroundImageScaleType: "AspectFill" | "AspectFit";
@@ -12956,12 +14100,12 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
12956
14100
  } | undefined;
12957
14101
  } | null | undefined;
12958
14102
  minHeight?: number | null | undefined;
12959
- };
14103
+ } | undefined;
12960
14104
  }, {
12961
- showSidebar: boolean;
12962
- isPrivate: boolean;
12963
- isHidden: boolean;
12964
- header: {
14105
+ showSidebar?: boolean | undefined;
14106
+ isPrivate?: boolean | undefined;
14107
+ isHidden?: boolean | undefined;
14108
+ header?: {
12965
14109
  description: string;
12966
14110
  alignment: "Left" | "Center";
12967
14111
  backgroundImageScaleType: "AspectFill" | "AspectFit";
@@ -12987,16 +14131,16 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
12987
14131
  } | undefined;
12988
14132
  } | null | undefined;
12989
14133
  minHeight?: number | null | undefined;
12990
- };
14134
+ } | undefined;
12991
14135
  }>>;
12992
14136
  }, "strip", z.ZodTypeAny, {
12993
14137
  id: string;
12994
14138
  title?: string | undefined;
12995
14139
  configuration?: {
12996
- showSidebar: boolean;
12997
- isPrivate: boolean;
12998
- isHidden: boolean;
12999
- header: {
14140
+ showSidebar?: boolean | undefined;
14141
+ isPrivate?: boolean | undefined;
14142
+ isHidden?: boolean | undefined;
14143
+ header?: {
13000
14144
  description: string;
13001
14145
  alignment: "Left" | "Center";
13002
14146
  backgroundImageScaleType: "AspectFill" | "AspectFit";
@@ -13022,16 +14166,16 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
13022
14166
  } | undefined;
13023
14167
  } | null | undefined;
13024
14168
  minHeight?: number | null | undefined;
13025
- };
14169
+ } | undefined;
13026
14170
  } | undefined;
13027
14171
  }, {
13028
14172
  id: string;
13029
14173
  title?: string | undefined;
13030
14174
  configuration?: {
13031
- showSidebar: boolean;
13032
- isPrivate: boolean;
13033
- isHidden: boolean;
13034
- header: {
14175
+ showSidebar?: boolean | undefined;
14176
+ isPrivate?: boolean | undefined;
14177
+ isHidden?: boolean | undefined;
14178
+ header?: {
13035
14179
  description: string;
13036
14180
  alignment: "Left" | "Center";
13037
14181
  backgroundImageScaleType: "AspectFill" | "AspectFit";
@@ -13057,7 +14201,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
13057
14201
  } | undefined;
13058
14202
  } | null | undefined;
13059
14203
  minHeight?: number | null | undefined;
13060
- };
14204
+ } | undefined;
13061
14205
  } | undefined;
13062
14206
  }>;
13063
14207
  }, "strip", z.ZodTypeAny, {
@@ -13066,10 +14210,10 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
13066
14210
  id: string;
13067
14211
  title?: string | undefined;
13068
14212
  configuration?: {
13069
- showSidebar: boolean;
13070
- isPrivate: boolean;
13071
- isHidden: boolean;
13072
- header: {
14213
+ showSidebar?: boolean | undefined;
14214
+ isPrivate?: boolean | undefined;
14215
+ isHidden?: boolean | undefined;
14216
+ header?: {
13073
14217
  description: string;
13074
14218
  alignment: "Left" | "Center";
13075
14219
  backgroundImageScaleType: "AspectFill" | "AspectFit";
@@ -13095,7 +14239,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
13095
14239
  } | undefined;
13096
14240
  } | null | undefined;
13097
14241
  minHeight?: number | null | undefined;
13098
- };
14242
+ } | undefined;
13099
14243
  } | undefined;
13100
14244
  };
13101
14245
  }, {
@@ -13104,10 +14248,10 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
13104
14248
  id: string;
13105
14249
  title?: string | undefined;
13106
14250
  configuration?: {
13107
- showSidebar: boolean;
13108
- isPrivate: boolean;
13109
- isHidden: boolean;
13110
- header: {
14251
+ showSidebar?: boolean | undefined;
14252
+ isPrivate?: boolean | undefined;
14253
+ isHidden?: boolean | undefined;
14254
+ header?: {
13111
14255
  description: string;
13112
14256
  alignment: "Left" | "Center";
13113
14257
  backgroundImageScaleType: "AspectFill" | "AspectFit";
@@ -13133,7 +14277,7 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
13133
14277
  } | undefined;
13134
14278
  } | null | undefined;
13135
14279
  minHeight?: number | null | undefined;
13136
- };
14280
+ } | undefined;
13137
14281
  } | undefined;
13138
14282
  };
13139
14283
  }>, z.ZodObject<{
@@ -13659,16 +14803,92 @@ declare const DTOIntegration: z.ZodObject<{
13659
14803
  workspaceId: z.ZodString;
13660
14804
  type: z.ZodEnum<["Figma", "Github", "Gitlab", "Bitbucket", "Azure"]>;
13661
14805
  createdAt: z.ZodDate;
14806
+ integrationCredentials: z.ZodOptional<z.ZodArray<z.ZodObject<{
14807
+ id: z.ZodString;
14808
+ type: z.ZodEnum<["OAuth2", "PAT"]>;
14809
+ integrationId: z.ZodString;
14810
+ accessToken: z.ZodString;
14811
+ userId: z.ZodString;
14812
+ createdAt: z.ZodDate;
14813
+ refreshToken: z.ZodOptional<z.ZodString>;
14814
+ profile: z.ZodOptional<z.ZodObject<{
14815
+ id: z.ZodString;
14816
+ username: z.ZodOptional<z.ZodString>;
14817
+ avatarUrl: z.ZodOptional<z.ZodString>;
14818
+ }, "strip", z.ZodTypeAny, {
14819
+ id: string;
14820
+ username?: string | undefined;
14821
+ avatarUrl?: string | undefined;
14822
+ }, {
14823
+ id: string;
14824
+ username?: string | undefined;
14825
+ avatarUrl?: string | undefined;
14826
+ }>>;
14827
+ }, "strip", z.ZodTypeAny, {
14828
+ id: string;
14829
+ createdAt: Date;
14830
+ type: "OAuth2" | "PAT";
14831
+ accessToken: string;
14832
+ userId: string;
14833
+ integrationId: string;
14834
+ refreshToken?: string | undefined;
14835
+ profile?: {
14836
+ id: string;
14837
+ username?: string | undefined;
14838
+ avatarUrl?: string | undefined;
14839
+ } | undefined;
14840
+ }, {
14841
+ id: string;
14842
+ createdAt: Date;
14843
+ type: "OAuth2" | "PAT";
14844
+ accessToken: string;
14845
+ userId: string;
14846
+ integrationId: string;
14847
+ refreshToken?: string | undefined;
14848
+ profile?: {
14849
+ id: string;
14850
+ username?: string | undefined;
14851
+ avatarUrl?: string | undefined;
14852
+ } | undefined;
14853
+ }>, "many">>;
13662
14854
  }, "strip", z.ZodTypeAny, {
13663
14855
  id: string;
13664
14856
  type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure";
13665
14857
  workspaceId: string;
13666
14858
  createdAt: Date;
14859
+ integrationCredentials?: {
14860
+ id: string;
14861
+ createdAt: Date;
14862
+ type: "OAuth2" | "PAT";
14863
+ accessToken: string;
14864
+ userId: string;
14865
+ integrationId: string;
14866
+ refreshToken?: string | undefined;
14867
+ profile?: {
14868
+ id: string;
14869
+ username?: string | undefined;
14870
+ avatarUrl?: string | undefined;
14871
+ } | undefined;
14872
+ }[] | undefined;
13667
14873
  }, {
13668
14874
  id: string;
13669
14875
  type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure";
13670
14876
  workspaceId: string;
13671
14877
  createdAt: Date;
14878
+ integrationCredentials?: {
14879
+ id: string;
14880
+ createdAt: Date;
14881
+ type: "OAuth2" | "PAT";
14882
+ accessToken: string;
14883
+ userId: string;
14884
+ integrationId: string;
14885
+ refreshToken?: string | undefined;
14886
+ profile?: {
14887
+ id: string;
14888
+ username?: string | undefined;
14889
+ avatarUrl?: string | undefined;
14890
+ } | undefined;
14891
+ }[] | undefined;
13672
14892
  }>;
13673
14893
  type DTOIntegration = z.infer<typeof DTOIntegration>;
13674
14894
  declare const DTOIntegrationOAuthGetResponse: z.ZodObject<{
@@ -13679,6 +14899,280 @@ declare const DTOIntegrationOAuthGetResponse: z.ZodObject<{
13679
14899
  url: string;
13680
14900
  }>;
13681
14901
  type DTOIntegrationOAuthGetResponse = z.infer<typeof DTOIntegrationOAuthGetResponse>;
14902
+ declare const DTOIntegrationPostResponse: z.ZodObject<{
14903
+ integration: z.ZodObject<{
14904
+ id: z.ZodString;
14905
+ workspaceId: z.ZodString;
14906
+ type: z.ZodEnum<["Figma", "Github", "Gitlab", "Bitbucket", "Azure"]>;
14907
+ createdAt: z.ZodDate;
14908
+ integrationCredentials: z.ZodOptional<z.ZodArray<z.ZodObject<{
14909
+ id: z.ZodString;
14910
+ type: z.ZodEnum<["OAuth2", "PAT"]>;
14911
+ integrationId: z.ZodString;
14912
+ accessToken: z.ZodString;
14913
+ userId: z.ZodString;
14914
+ createdAt: z.ZodDate;
14915
+ refreshToken: z.ZodOptional<z.ZodString>;
14916
+ profile: z.ZodOptional<z.ZodObject<{
14917
+ id: z.ZodString;
14918
+ username: z.ZodOptional<z.ZodString>;
14919
+ avatarUrl: z.ZodOptional<z.ZodString>;
14920
+ }, "strip", z.ZodTypeAny, {
14921
+ id: string;
14922
+ username?: string | undefined;
14923
+ avatarUrl?: string | undefined;
14924
+ }, {
14925
+ id: string;
14926
+ username?: string | undefined;
14927
+ avatarUrl?: string | undefined;
14928
+ }>>;
14929
+ }, "strip", z.ZodTypeAny, {
14930
+ id: string;
14931
+ createdAt: Date;
14932
+ type: "OAuth2" | "PAT";
14933
+ accessToken: string;
14934
+ userId: string;
14935
+ integrationId: string;
14936
+ refreshToken?: string | undefined;
14937
+ profile?: {
14938
+ id: string;
14939
+ username?: string | undefined;
14940
+ avatarUrl?: string | undefined;
14941
+ } | undefined;
14942
+ }, {
14943
+ id: string;
14944
+ createdAt: Date;
14945
+ type: "OAuth2" | "PAT";
14946
+ accessToken: string;
14947
+ userId: string;
14948
+ integrationId: string;
14949
+ refreshToken?: string | undefined;
14950
+ profile?: {
14951
+ id: string;
14952
+ username?: string | undefined;
14953
+ avatarUrl?: string | undefined;
14954
+ } | undefined;
14955
+ }>, "many">>;
14956
+ }, "strip", z.ZodTypeAny, {
14957
+ id: string;
14958
+ type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure";
14959
+ workspaceId: string;
14960
+ createdAt: Date;
14961
+ integrationCredentials?: {
14962
+ id: string;
14963
+ createdAt: Date;
14964
+ type: "OAuth2" | "PAT";
14965
+ accessToken: string;
14966
+ userId: string;
14967
+ integrationId: string;
14968
+ refreshToken?: string | undefined;
14969
+ profile?: {
14970
+ id: string;
14971
+ username?: string | undefined;
14972
+ avatarUrl?: string | undefined;
14973
+ } | undefined;
14974
+ }[] | undefined;
14975
+ }, {
14976
+ id: string;
14977
+ type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure";
14978
+ workspaceId: string;
14979
+ createdAt: Date;
14980
+ integrationCredentials?: {
14981
+ id: string;
14982
+ createdAt: Date;
14983
+ type: "OAuth2" | "PAT";
14984
+ accessToken: string;
14985
+ userId: string;
14986
+ integrationId: string;
14987
+ refreshToken?: string | undefined;
14988
+ profile?: {
14989
+ id: string;
14990
+ username?: string | undefined;
14991
+ avatarUrl?: string | undefined;
14992
+ } | undefined;
14993
+ }[] | undefined;
14994
+ }>;
14995
+ }, "strip", z.ZodTypeAny, {
14996
+ integration: {
14997
+ id: string;
14998
+ type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure";
14999
+ workspaceId: string;
15000
+ createdAt: Date;
15001
+ integrationCredentials?: {
15002
+ id: string;
15003
+ createdAt: Date;
15004
+ type: "OAuth2" | "PAT";
15005
+ accessToken: string;
15006
+ userId: string;
15007
+ integrationId: string;
15008
+ refreshToken?: string | undefined;
15009
+ profile?: {
15010
+ id: string;
15011
+ username?: string | undefined;
15012
+ avatarUrl?: string | undefined;
15013
+ } | undefined;
15014
+ }[] | undefined;
15015
+ };
15016
+ }, {
15017
+ integration: {
15018
+ id: string;
15019
+ type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure";
15020
+ workspaceId: string;
15021
+ createdAt: Date;
15022
+ integrationCredentials?: {
15023
+ id: string;
15024
+ createdAt: Date;
15025
+ type: "OAuth2" | "PAT";
15026
+ accessToken: string;
15027
+ userId: string;
15028
+ integrationId: string;
15029
+ refreshToken?: string | undefined;
15030
+ profile?: {
15031
+ id: string;
15032
+ username?: string | undefined;
15033
+ avatarUrl?: string | undefined;
15034
+ } | undefined;
15035
+ }[] | undefined;
15036
+ };
15037
+ }>;
15038
+ type DTOIntegrationPostResponse = z.infer<typeof DTOIntegrationPostResponse>;
15039
+ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
15040
+ integrations: z.ZodArray<z.ZodObject<{
15041
+ id: z.ZodString;
15042
+ workspaceId: z.ZodString;
15043
+ type: z.ZodEnum<["Figma", "Github", "Gitlab", "Bitbucket", "Azure"]>;
15044
+ createdAt: z.ZodDate;
15045
+ integrationCredentials: z.ZodOptional<z.ZodArray<z.ZodObject<{
15046
+ id: z.ZodString;
15047
+ type: z.ZodEnum<["OAuth2", "PAT"]>;
15048
+ integrationId: z.ZodString;
15049
+ accessToken: z.ZodString;
15050
+ userId: z.ZodString;
15051
+ createdAt: z.ZodDate;
15052
+ refreshToken: z.ZodOptional<z.ZodString>;
15053
+ profile: z.ZodOptional<z.ZodObject<{
15054
+ id: z.ZodString;
15055
+ username: z.ZodOptional<z.ZodString>;
15056
+ avatarUrl: z.ZodOptional<z.ZodString>;
15057
+ }, "strip", z.ZodTypeAny, {
15058
+ id: string;
15059
+ username?: string | undefined;
15060
+ avatarUrl?: string | undefined;
15061
+ }, {
15062
+ id: string;
15063
+ username?: string | undefined;
15064
+ avatarUrl?: string | undefined;
15065
+ }>>;
15066
+ }, "strip", z.ZodTypeAny, {
15067
+ id: string;
15068
+ createdAt: Date;
15069
+ type: "OAuth2" | "PAT";
15070
+ accessToken: string;
15071
+ userId: string;
15072
+ integrationId: string;
15073
+ refreshToken?: string | undefined;
15074
+ profile?: {
15075
+ id: string;
15076
+ username?: string | undefined;
15077
+ avatarUrl?: string | undefined;
15078
+ } | undefined;
15079
+ }, {
15080
+ id: string;
15081
+ createdAt: Date;
15082
+ type: "OAuth2" | "PAT";
15083
+ accessToken: string;
15084
+ userId: string;
15085
+ integrationId: string;
15086
+ refreshToken?: string | undefined;
15087
+ profile?: {
15088
+ id: string;
15089
+ username?: string | undefined;
15090
+ avatarUrl?: string | undefined;
15091
+ } | undefined;
15092
+ }>, "many">>;
15093
+ }, "strip", z.ZodTypeAny, {
15094
+ id: string;
15095
+ type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure";
15096
+ workspaceId: string;
15097
+ createdAt: Date;
15098
+ integrationCredentials?: {
15099
+ id: string;
15100
+ createdAt: Date;
15101
+ type: "OAuth2" | "PAT";
15102
+ accessToken: string;
15103
+ userId: string;
15104
+ integrationId: string;
15105
+ refreshToken?: string | undefined;
15106
+ profile?: {
15107
+ id: string;
15108
+ username?: string | undefined;
15109
+ avatarUrl?: string | undefined;
15110
+ } | undefined;
15111
+ }[] | undefined;
15112
+ }, {
15113
+ id: string;
15114
+ type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure";
15115
+ workspaceId: string;
15116
+ createdAt: Date;
15117
+ integrationCredentials?: {
15118
+ id: string;
15119
+ createdAt: Date;
15120
+ type: "OAuth2" | "PAT";
15121
+ accessToken: string;
15122
+ userId: string;
15123
+ integrationId: string;
15124
+ refreshToken?: string | undefined;
15125
+ profile?: {
15126
+ id: string;
15127
+ username?: string | undefined;
15128
+ avatarUrl?: string | undefined;
15129
+ } | undefined;
15130
+ }[] | undefined;
15131
+ }>, "many">;
15132
+ }, "strip", z.ZodTypeAny, {
15133
+ integrations: {
15134
+ id: string;
15135
+ type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure";
15136
+ workspaceId: string;
15137
+ createdAt: Date;
15138
+ integrationCredentials?: {
15139
+ id: string;
15140
+ createdAt: Date;
15141
+ type: "OAuth2" | "PAT";
15142
+ accessToken: string;
15143
+ userId: string;
15144
+ integrationId: string;
15145
+ refreshToken?: string | undefined;
15146
+ profile?: {
15147
+ id: string;
15148
+ username?: string | undefined;
15149
+ avatarUrl?: string | undefined;
15150
+ } | undefined;
15151
+ }[] | undefined;
15152
+ }[];
15153
+ }, {
15154
+ integrations: {
15155
+ id: string;
15156
+ type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure";
15157
+ workspaceId: string;
15158
+ createdAt: Date;
15159
+ integrationCredentials?: {
15160
+ id: string;
15161
+ createdAt: Date;
15162
+ type: "OAuth2" | "PAT";
15163
+ accessToken: string;
15164
+ userId: string;
15165
+ integrationId: string;
15166
+ refreshToken?: string | undefined;
15167
+ profile?: {
15168
+ id: string;
15169
+ username?: string | undefined;
15170
+ avatarUrl?: string | undefined;
15171
+ } | undefined;
15172
+ }[] | undefined;
15173
+ }[];
15174
+ }>;
15175
+ type DTOIntegrationsGetListResponse = z.infer<typeof DTOIntegrationsGetListResponse>;
13682
15176
 
13683
15177
  declare const DTOWorkspaceRole: z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing"]>;
13684
15178
  type DTOWorkspaceRole = z.infer<typeof DTOWorkspaceRole>;
@@ -14029,6 +15523,19 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
14029
15523
  errorReason: string;
14030
15524
  enabled: boolean;
14031
15525
  }>;
15526
+ protectedPages: z.ZodObject<{
15527
+ enabled: z.ZodBoolean;
15528
+ errorMessage: z.ZodString;
15529
+ errorReason: z.ZodString;
15530
+ }, "strip", z.ZodTypeAny, {
15531
+ errorMessage: string;
15532
+ errorReason: string;
15533
+ enabled: boolean;
15534
+ }, {
15535
+ errorMessage: string;
15536
+ errorReason: string;
15537
+ enabled: boolean;
15538
+ }>;
14032
15539
  }, "strip", z.ZodTypeAny, {
14033
15540
  designSystems: {
14034
15541
  max: number;
@@ -14117,6 +15624,11 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
14117
15624
  errorReason: string;
14118
15625
  enabled: boolean;
14119
15626
  };
15627
+ protectedPages: {
15628
+ errorMessage: string;
15629
+ errorReason: string;
15630
+ enabled: boolean;
15631
+ };
14120
15632
  }, {
14121
15633
  designSystems: {
14122
15634
  max: number;
@@ -14205,6 +15717,11 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
14205
15717
  errorReason: string;
14206
15718
  enabled: boolean;
14207
15719
  };
15720
+ protectedPages: {
15721
+ errorMessage: string;
15722
+ errorReason: string;
15723
+ enabled: boolean;
15724
+ };
14208
15725
  }>>;
14209
15726
  stripeProductDescription: z.ZodOptional<z.ZodString>;
14210
15727
  stripeProductFeatures: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -14345,6 +15862,11 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
14345
15862
  errorReason: string;
14346
15863
  enabled: boolean;
14347
15864
  };
15865
+ protectedPages: {
15866
+ errorMessage: string;
15867
+ errorReason: string;
15868
+ enabled: boolean;
15869
+ };
14348
15870
  } | undefined;
14349
15871
  stripeProductDescription?: string | undefined;
14350
15872
  stripeProductFeatures?: string[] | undefined;
@@ -14467,6 +15989,11 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
14467
15989
  errorReason: string;
14468
15990
  enabled: boolean;
14469
15991
  };
15992
+ protectedPages: {
15993
+ errorMessage: string;
15994
+ errorReason: string;
15995
+ enabled: boolean;
15996
+ };
14470
15997
  } | undefined;
14471
15998
  stripeProductDescription?: string | undefined;
14472
15999
  stripeProductFeatures?: string[] | undefined;
@@ -14648,6 +16175,11 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
14648
16175
  errorReason: string;
14649
16176
  enabled: boolean;
14650
16177
  };
16178
+ protectedPages: {
16179
+ errorMessage: string;
16180
+ errorReason: string;
16181
+ enabled: boolean;
16182
+ };
14651
16183
  } | undefined;
14652
16184
  stripeProductDescription?: string | undefined;
14653
16185
  stripeProductFeatures?: string[] | undefined;
@@ -14807,6 +16339,11 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
14807
16339
  errorReason: string;
14808
16340
  enabled: boolean;
14809
16341
  };
16342
+ protectedPages: {
16343
+ errorMessage: string;
16344
+ errorReason: string;
16345
+ enabled: boolean;
16346
+ };
14810
16347
  } | undefined;
14811
16348
  stripeProductDescription?: string | undefined;
14812
16349
  stripeProductFeatures?: string[] | undefined;
@@ -14970,6 +16507,11 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
14970
16507
  errorReason: string;
14971
16508
  enabled: boolean;
14972
16509
  };
16510
+ protectedPages: {
16511
+ errorMessage: string;
16512
+ errorReason: string;
16513
+ enabled: boolean;
16514
+ };
14973
16515
  } | undefined;
14974
16516
  stripeProductDescription?: string | undefined;
14975
16517
  stripeProductFeatures?: string[] | undefined;
@@ -15133,6 +16675,11 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
15133
16675
  errorReason: string;
15134
16676
  enabled: boolean;
15135
16677
  };
16678
+ protectedPages: {
16679
+ errorMessage: string;
16680
+ errorReason: string;
16681
+ enabled: boolean;
16682
+ };
15136
16683
  } | undefined;
15137
16684
  stripeProductDescription?: string | undefined;
15138
16685
  stripeProductFeatures?: string[] | undefined;
@@ -15522,6 +17069,19 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
15522
17069
  errorReason: string;
15523
17070
  enabled: boolean;
15524
17071
  }>;
17072
+ protectedPages: z.ZodObject<{
17073
+ enabled: z.ZodBoolean;
17074
+ errorMessage: z.ZodString;
17075
+ errorReason: z.ZodString;
17076
+ }, "strip", z.ZodTypeAny, {
17077
+ errorMessage: string;
17078
+ errorReason: string;
17079
+ enabled: boolean;
17080
+ }, {
17081
+ errorMessage: string;
17082
+ errorReason: string;
17083
+ enabled: boolean;
17084
+ }>;
15525
17085
  }, "strip", z.ZodTypeAny, {
15526
17086
  designSystems: {
15527
17087
  max: number;
@@ -15610,6 +17170,11 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
15610
17170
  errorReason: string;
15611
17171
  enabled: boolean;
15612
17172
  };
17173
+ protectedPages: {
17174
+ errorMessage: string;
17175
+ errorReason: string;
17176
+ enabled: boolean;
17177
+ };
15613
17178
  }, {
15614
17179
  designSystems: {
15615
17180
  max: number;
@@ -15698,6 +17263,11 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
15698
17263
  errorReason: string;
15699
17264
  enabled: boolean;
15700
17265
  };
17266
+ protectedPages: {
17267
+ errorMessage: string;
17268
+ errorReason: string;
17269
+ enabled: boolean;
17270
+ };
15701
17271
  }>>;
15702
17272
  stripeProductDescription: z.ZodOptional<z.ZodString>;
15703
17273
  stripeProductFeatures: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -15838,6 +17408,11 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
15838
17408
  errorReason: string;
15839
17409
  enabled: boolean;
15840
17410
  };
17411
+ protectedPages: {
17412
+ errorMessage: string;
17413
+ errorReason: string;
17414
+ enabled: boolean;
17415
+ };
15841
17416
  } | undefined;
15842
17417
  stripeProductDescription?: string | undefined;
15843
17418
  stripeProductFeatures?: string[] | undefined;
@@ -15960,6 +17535,11 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
15960
17535
  errorReason: string;
15961
17536
  enabled: boolean;
15962
17537
  };
17538
+ protectedPages: {
17539
+ errorMessage: string;
17540
+ errorReason: string;
17541
+ enabled: boolean;
17542
+ };
15963
17543
  } | undefined;
15964
17544
  stripeProductDescription?: string | undefined;
15965
17545
  stripeProductFeatures?: string[] | undefined;
@@ -16141,6 +17721,11 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
16141
17721
  errorReason: string;
16142
17722
  enabled: boolean;
16143
17723
  };
17724
+ protectedPages: {
17725
+ errorMessage: string;
17726
+ errorReason: string;
17727
+ enabled: boolean;
17728
+ };
16144
17729
  } | undefined;
16145
17730
  stripeProductDescription?: string | undefined;
16146
17731
  stripeProductFeatures?: string[] | undefined;
@@ -16300,6 +17885,11 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
16300
17885
  errorReason: string;
16301
17886
  enabled: boolean;
16302
17887
  };
17888
+ protectedPages: {
17889
+ errorMessage: string;
17890
+ errorReason: string;
17891
+ enabled: boolean;
17892
+ };
16303
17893
  } | undefined;
16304
17894
  stripeProductDescription?: string | undefined;
16305
17895
  stripeProductFeatures?: string[] | undefined;
@@ -16463,6 +18053,11 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
16463
18053
  errorReason: string;
16464
18054
  enabled: boolean;
16465
18055
  };
18056
+ protectedPages: {
18057
+ errorMessage: string;
18058
+ errorReason: string;
18059
+ enabled: boolean;
18060
+ };
16466
18061
  } | undefined;
16467
18062
  stripeProductDescription?: string | undefined;
16468
18063
  stripeProductFeatures?: string[] | undefined;
@@ -16626,6 +18221,11 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
16626
18221
  errorReason: string;
16627
18222
  enabled: boolean;
16628
18223
  };
18224
+ protectedPages: {
18225
+ errorMessage: string;
18226
+ errorReason: string;
18227
+ enabled: boolean;
18228
+ };
16629
18229
  } | undefined;
16630
18230
  stripeProductDescription?: string | undefined;
16631
18231
  stripeProductFeatures?: string[] | undefined;
@@ -16791,6 +18391,11 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
16791
18391
  errorReason: string;
16792
18392
  enabled: boolean;
16793
18393
  };
18394
+ protectedPages: {
18395
+ errorMessage: string;
18396
+ errorReason: string;
18397
+ enabled: boolean;
18398
+ };
16794
18399
  } | undefined;
16795
18400
  stripeProductDescription?: string | undefined;
16796
18401
  stripeProductFeatures?: string[] | undefined;
@@ -16956,6 +18561,11 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
16956
18561
  errorReason: string;
16957
18562
  enabled: boolean;
16958
18563
  };
18564
+ protectedPages: {
18565
+ errorMessage: string;
18566
+ errorReason: string;
18567
+ enabled: boolean;
18568
+ };
16959
18569
  } | undefined;
16960
18570
  stripeProductDescription?: string | undefined;
16961
18571
  stripeProductFeatures?: string[] | undefined;
@@ -17381,6 +18991,19 @@ declare const DTOWorkspace: z.ZodObject<{
17381
18991
  errorReason: string;
17382
18992
  enabled: boolean;
17383
18993
  }>;
18994
+ protectedPages: z.ZodObject<{
18995
+ enabled: z.ZodBoolean;
18996
+ errorMessage: z.ZodString;
18997
+ errorReason: z.ZodString;
18998
+ }, "strip", z.ZodTypeAny, {
18999
+ errorMessage: string;
19000
+ errorReason: string;
19001
+ enabled: boolean;
19002
+ }, {
19003
+ errorMessage: string;
19004
+ errorReason: string;
19005
+ enabled: boolean;
19006
+ }>;
17384
19007
  }, "strip", z.ZodTypeAny, {
17385
19008
  designSystems: {
17386
19009
  max: number;
@@ -17469,6 +19092,11 @@ declare const DTOWorkspace: z.ZodObject<{
17469
19092
  errorReason: string;
17470
19093
  enabled: boolean;
17471
19094
  };
19095
+ protectedPages: {
19096
+ errorMessage: string;
19097
+ errorReason: string;
19098
+ enabled: boolean;
19099
+ };
17472
19100
  }, {
17473
19101
  designSystems: {
17474
19102
  max: number;
@@ -17557,6 +19185,11 @@ declare const DTOWorkspace: z.ZodObject<{
17557
19185
  errorReason: string;
17558
19186
  enabled: boolean;
17559
19187
  };
19188
+ protectedPages: {
19189
+ errorMessage: string;
19190
+ errorReason: string;
19191
+ enabled: boolean;
19192
+ };
17560
19193
  }>>;
17561
19194
  stripeProductDescription: z.ZodOptional<z.ZodString>;
17562
19195
  stripeProductFeatures: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -17697,6 +19330,11 @@ declare const DTOWorkspace: z.ZodObject<{
17697
19330
  errorReason: string;
17698
19331
  enabled: boolean;
17699
19332
  };
19333
+ protectedPages: {
19334
+ errorMessage: string;
19335
+ errorReason: string;
19336
+ enabled: boolean;
19337
+ };
17700
19338
  } | undefined;
17701
19339
  stripeProductDescription?: string | undefined;
17702
19340
  stripeProductFeatures?: string[] | undefined;
@@ -17819,6 +19457,11 @@ declare const DTOWorkspace: z.ZodObject<{
17819
19457
  errorReason: string;
17820
19458
  enabled: boolean;
17821
19459
  };
19460
+ protectedPages: {
19461
+ errorMessage: string;
19462
+ errorReason: string;
19463
+ enabled: boolean;
19464
+ };
17822
19465
  } | undefined;
17823
19466
  stripeProductDescription?: string | undefined;
17824
19467
  stripeProductFeatures?: string[] | undefined;
@@ -18000,6 +19643,11 @@ declare const DTOWorkspace: z.ZodObject<{
18000
19643
  errorReason: string;
18001
19644
  enabled: boolean;
18002
19645
  };
19646
+ protectedPages: {
19647
+ errorMessage: string;
19648
+ errorReason: string;
19649
+ enabled: boolean;
19650
+ };
18003
19651
  } | undefined;
18004
19652
  stripeProductDescription?: string | undefined;
18005
19653
  stripeProductFeatures?: string[] | undefined;
@@ -18159,6 +19807,11 @@ declare const DTOWorkspace: z.ZodObject<{
18159
19807
  errorReason: string;
18160
19808
  enabled: boolean;
18161
19809
  };
19810
+ protectedPages: {
19811
+ errorMessage: string;
19812
+ errorReason: string;
19813
+ enabled: boolean;
19814
+ };
18162
19815
  } | undefined;
18163
19816
  stripeProductDescription?: string | undefined;
18164
19817
  stripeProductFeatures?: string[] | undefined;
@@ -18233,6 +19886,8 @@ declare function documentationPagesToDTOV1(pages: DocumentationPageV1[], groups:
18233
19886
  declare function documentationPagesToStructureDTOV2(pages: DocumentationPageV2[], groups: ElementGroup[], routingVersion: string): DTODocumentationPageStructureV2[];
18234
19887
  declare function documentationPagesToDTOV2(pages: DocumentationPageV2[], groups: ElementGroup[], routingVersion: string): DTODocumentationPageV2[];
18235
19888
 
19889
+ declare function integrationToDto(integration: Integration): DTOIntegration;
19890
+
18236
19891
  declare const DTOCreateBrandInput: z.ZodObject<{
18237
19892
  persistentId: z.ZodString;
18238
19893
  meta: z.ZodObject<{
@@ -18863,11 +20518,11 @@ declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
18863
20518
  type DTOGetBlockDefinitionsOutput = z.infer<typeof DTOGetBlockDefinitionsOutput>;
18864
20519
 
18865
20520
  declare const DTOLiveblocksAuthRequest: z.ZodObject<{
18866
- room: z.ZodString;
20521
+ room: z.ZodOptional<z.ZodString>;
18867
20522
  }, "strip", z.ZodTypeAny, {
18868
- room: string;
20523
+ room?: string | undefined;
18869
20524
  }, {
18870
- room: string;
20525
+ room?: string | undefined;
18871
20526
  }>;
18872
20527
  type DTOLiveblocksAuthRequest = z.infer<typeof DTOLiveblocksAuthRequest>;
18873
20528
 
@@ -21572,4 +23227,4 @@ declare const BlockDefinitionUtils: {
21572
23227
  };
21573
23228
  };
21574
23229
 
21575
- export { BlockDefinitionUtils, BlockParsingUtils, DTOBrand, DTOBrandCreateResponse, DTOBrandGetResponse, DTOBrandsListResponse, DTOCreateBrandInput, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabInput, DTOCreateElementPropertyDefinitionInputV2, DTOCreateVersionInput, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODeleteElementPropertyDefinitionInputV2, DTODesignSystem, DTODesignSystemVersion, DTODesignSystemVersionGetResponse, DTODesignSystemVersionsListResponse, DTODocumentationGroupCreateActionInputV2, DTODocumentationGroupCreateActionOutputV2, DTODocumentationGroupDeleteActionInputV2, DTODocumentationGroupDeleteActionOutputV2, DTODocumentationGroupDuplicateActionInputV2, DTODocumentationGroupDuplicateActionOutputV2, DTODocumentationGroupMoveActionInputV2, DTODocumentationGroupMoveActionOutputV2, DTODocumentationGroupStructureV1, DTODocumentationGroupStructureV2, DTODocumentationGroupUpdateActionInputV2, DTODocumentationGroupUpdateActionOutputV2, DTODocumentationGroupV1, DTODocumentationGroupV2, DTODocumentationHierarchyV2, DTODocumentationItemConfigurationV1, DTODocumentationItemConfigurationV2, DTODocumentationItemHeaderV2, DTODocumentationLinkPreviewRequest, DTODocumentationLinkPreviewResponse, DTODocumentationPageAnchor, DTODocumentationPageContent, DTODocumentationPageContentGetResponse, DTODocumentationPageCreateActionInputV2, DTODocumentationPageCreateActionOutputV2, DTODocumentationPageDeleteActionInputV2, DTODocumentationPageDeleteActionOutputV2, DTODocumentationPageDuplicateActionInputV2, DTODocumentationPageDuplicateActionOutputV2, DTODocumentationPageMoveActionInputV2, DTODocumentationPageMoveActionOutputV2, DTODocumentationPageRoomHeaderData, DTODocumentationPageRoomHeaderDataUpdate, DTODocumentationPageStructureV2, DTODocumentationPageUpdateActionInputV2, DTODocumentationPageUpdateActionOutputV2, DTODocumentationPageV2, DTODocumentationTabCreateActionInputV2, DTODocumentationTabCreateActionOutputV2, type DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupDeleteActionInputV2, DTODocumentationTabGroupDeleteActionOutputV2, DTODuplicateDocumentationGroupInput, DTODuplicateDocumentationPageInputV2, DTOElementActionInput, DTOElementActionOutput, DTOElementPropertyDefinition, DTOElementPropertyDefinitionsGetResponse, DTOElementPropertyValue, DTOElementPropertyValuesGetResponse, DTOElementView, DTOElementViewBasePropertyColumn, DTOElementViewColumn, DTOElementViewColumnSharedAttributes, DTOElementViewPropertyDefinitionColumn, DTOElementViewThemeColumn, DTOElementViewsListResponse, DTOElementsGetOutput, type DTOElementsGetQueryParsed, type DTOElementsGetQueryRaw, DTOElementsGetQuerySchema, DTOElementsGetTypeFilter, DTOExporterProperty, DTOExporterPropertyListResponse, DTOFigmaNode, DTOFigmaNodeData, DTOFigmaNodeRenderActionInput, DTOFigmaNodeRenderActionOutput, DTOFigmaNodeRenderInput, DTOGetBlockDefinitionsOutput, DTOGetDocumentationPageAnchorsResponse, DTOIntegration, DTOIntegrationOAuthGetResponse, DTOLiveblocksAuthRequest, DTOMoveDocumentationGroupInput, DTOMoveDocumentationPageInputV2, DTONpmRegistryConfig, DTOPropertyDefinitionCreateActionInputV2, DTOPropertyDefinitionCreateActionOutputV2, DTOPropertyDefinitionDeleteActionInputV2, DTOPropertyDefinitionDeleteActionOutputV2, DTOPropertyDefinitionUpdateActionInputV2, DTOPropertyDefinitionUpdateActionOutputV2, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DTOUpdateElementPropertyDefinitionInputV2, DTOUserWorkspaceMembership, DTOUserWorkspaceMembershipsResponse, DTOWorkspace, DTOWorkspaceIntegrationOauthInput, DTOWorkspaceRole, DocumentationHierarchySettings, DocumentationPageEditorModel, DocumentationPageV1DTO, type ListItemNode, type ListNode, ListTreeBuilder, NpmRegistryInput, PageBlockEditorModel, PageSectionEditorModel, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, WorkspaceConfigurationPayload, blockToProsemirrorNode, buildDocPagePublishPaths, calculateElementParentChain, designSystemBrandToDto, designSystemVersionToDto, documentationElementsToHierarchyDto, documentationHierarchyToYjs, documentationItemConfigurationToDTOV1, documentationItemConfigurationToDTOV2, documentationPagesToDTOV1, documentationPagesToDTOV2, documentationPagesToStructureDTOV2, dtoDefaultItemConfigurationV1, elementGroupsToDocumentationGroupDTOV1, elementGroupsToDocumentationGroupDTOV2, elementGroupsToDocumentationGroupStructureDTOV1, elementGroupsToDocumentationGroupStructureDTOV2, elementPropertyDefinitionToDto, elementPropertyValueToDto, elementViewToDto, getMockPageBlockDefinitions, itemConfigurationToYjs, pageToProsemirrorDoc, pageToYXmlFragment, pmSchema, prosemirrorDocToPage, prosemirrorNodeToSection, prosemirrorNodesToBlocks, serializeAsCustomBlock, shallowProsemirrorNodeToBlock, validateSemver, validateSsoPayload, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };
23230
+ export { BlockDefinitionUtils, BlockParsingUtils, DTOBrand, DTOBrandCreateResponse, DTOBrandGetResponse, DTOBrandsListResponse, DTOCreateBrandInput, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabInput, DTOCreateElementPropertyDefinitionInputV2, DTOCreateVersionInput, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODeleteElementPropertyDefinitionInputV2, DTODesignSystem, DTODesignSystemVersion, DTODesignSystemVersionGetResponse, DTODesignSystemVersionsListResponse, DTODocumentationGroupCreateActionInputV2, DTODocumentationGroupCreateActionOutputV2, DTODocumentationGroupDeleteActionInputV2, DTODocumentationGroupDeleteActionOutputV2, DTODocumentationGroupDuplicateActionInputV2, DTODocumentationGroupDuplicateActionOutputV2, DTODocumentationGroupMoveActionInputV2, DTODocumentationGroupMoveActionOutputV2, DTODocumentationGroupStructureV1, DTODocumentationGroupStructureV2, DTODocumentationGroupUpdateActionInputV2, DTODocumentationGroupUpdateActionOutputV2, DTODocumentationGroupV1, DTODocumentationGroupV2, DTODocumentationHierarchyV2, DTODocumentationItemConfigurationV1, DTODocumentationItemConfigurationV2, DTODocumentationItemHeaderV2, DTODocumentationLinkPreviewRequest, DTODocumentationLinkPreviewResponse, DTODocumentationPageAnchor, DTODocumentationPageContent, DTODocumentationPageContentGetResponse, DTODocumentationPageCreateActionInputV2, DTODocumentationPageCreateActionOutputV2, DTODocumentationPageDeleteActionInputV2, DTODocumentationPageDeleteActionOutputV2, DTODocumentationPageDuplicateActionInputV2, DTODocumentationPageDuplicateActionOutputV2, DTODocumentationPageMoveActionInputV2, DTODocumentationPageMoveActionOutputV2, DTODocumentationPageRoomHeaderData, DTODocumentationPageRoomHeaderDataUpdate, DTODocumentationPageStructureV2, DTODocumentationPageUpdateActionInputV2, DTODocumentationPageUpdateActionOutputV2, DTODocumentationPageV2, DTODocumentationTabCreateActionInputV2, DTODocumentationTabCreateActionOutputV2, type DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupDeleteActionInputV2, DTODocumentationTabGroupDeleteActionOutputV2, DTODuplicateDocumentationGroupInput, DTODuplicateDocumentationPageInputV2, DTOElementActionInput, DTOElementActionOutput, DTOElementPropertyDefinition, DTOElementPropertyDefinitionsGetResponse, DTOElementPropertyValue, DTOElementPropertyValuesGetResponse, DTOElementView, DTOElementViewBasePropertyColumn, DTOElementViewColumn, DTOElementViewColumnSharedAttributes, DTOElementViewPropertyDefinitionColumn, DTOElementViewThemeColumn, DTOElementViewsListResponse, DTOElementsGetOutput, type DTOElementsGetQueryParsed, type DTOElementsGetQueryRaw, DTOElementsGetQuerySchema, DTOElementsGetTypeFilter, DTOExporterProperty, DTOExporterPropertyListResponse, DTOFigmaNode, DTOFigmaNodeData, DTOFigmaNodeRenderActionInput, DTOFigmaNodeRenderActionOutput, DTOFigmaNodeRenderInput, DTOGetBlockDefinitionsOutput, DTOGetDocumentationPageAnchorsResponse, DTOIntegration, DTOIntegrationOAuthGetResponse, DTOIntegrationPostResponse, DTOIntegrationsGetListResponse, DTOLiveblocksAuthRequest, DTOMoveDocumentationGroupInput, DTOMoveDocumentationPageInputV2, DTONpmRegistryConfig, DTOPropertyDefinitionCreateActionInputV2, DTOPropertyDefinitionCreateActionOutputV2, DTOPropertyDefinitionDeleteActionInputV2, DTOPropertyDefinitionDeleteActionOutputV2, DTOPropertyDefinitionUpdateActionInputV2, DTOPropertyDefinitionUpdateActionOutputV2, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DTOUpdateElementPropertyDefinitionInputV2, DTOUserWorkspaceMembership, DTOUserWorkspaceMembershipsResponse, DTOWorkspace, DTOWorkspaceIntegrationOauthInput, DTOWorkspaceRole, DocumentationHierarchySettings, DocumentationPageEditorModel, DocumentationPageV1DTO, type ListItemNode, type ListNode, ListTreeBuilder, NpmRegistryInput, PageBlockEditorModel, PageSectionEditorModel, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, WorkspaceConfigurationPayload, blockToProsemirrorNode, buildDocPagePublishPaths, calculateElementParentChain, designSystemBrandToDto, designSystemVersionToDto, documentationElementsToHierarchyDto, documentationHierarchyToYjs, documentationItemConfigurationToDTOV1, documentationItemConfigurationToDTOV2, documentationPagesToDTOV1, documentationPagesToDTOV2, documentationPagesToStructureDTOV2, dtoDefaultItemConfigurationV1, elementGroupsToDocumentationGroupDTOV1, elementGroupsToDocumentationGroupDTOV2, elementGroupsToDocumentationGroupStructureDTOV1, elementGroupsToDocumentationGroupStructureDTOV2, elementPropertyDefinitionToDto, elementPropertyValueToDto, elementViewToDto, getMockPageBlockDefinitions, integrationToDto, itemConfigurationToYjs, pageToProsemirrorDoc, pageToYXmlFragment, pmSchema, prosemirrorDocToPage, prosemirrorNodeToSection, prosemirrorNodesToBlocks, serializeAsCustomBlock, shallowProsemirrorNodeToBlock, validateSemver, validateSsoPayload, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };