@supernova-studio/client 1.6.3 → 1.6.5

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.mjs CHANGED
@@ -5650,81 +5650,106 @@ function integrationCredentialToDto(credential) {
5650
5650
  };
5651
5651
  }
5652
5652
 
5653
- // src/api/dto/aux/color.ts
5653
+ // src/api/dto/access-tokens/access-token.ts
5654
5654
  import { z as z191 } from "zod";
5655
- var DTOColorTokenInlineData = z191.object({
5656
- value: z191.string().regex(/^#[a-f0-9]{6,8}$/)
5655
+ var DTOAccessToken = z191.object({
5656
+ id: z191.string(),
5657
+ createdAt: z191.coerce.date(),
5658
+ name: z191.string(),
5659
+ scope: z191.string().optional()
5660
+ });
5661
+ var DTOAccessTokenFull = DTOAccessToken.extend({
5662
+ token: z191.string()
5663
+ });
5664
+ var DTOAccessTokenListResponse = z191.object({
5665
+ tokens: DTOAccessToken.array()
5666
+ });
5667
+ var DTOAccessTokenResponse = z191.object({
5668
+ token: DTOAccessToken
5669
+ });
5670
+ var DTOAccessTokenFullResponse = z191.object({
5671
+ token: DTOAccessTokenFull
5672
+ });
5673
+ var DTOAccessTokenCreatePayload = z191.object({
5674
+ name: z191.string(),
5675
+ scope: z191.string().optional()
5657
5676
  });
5658
5677
 
5659
- // src/api/dto/aux/meta.ts
5678
+ // src/api/dto/aux/color.ts
5660
5679
  import { z as z192 } from "zod";
5661
- var DTOObjectMeta = z192.object({
5662
- name: z192.string().max(512),
5663
- description: z192.string().max(2048).optional()
5680
+ var DTOColorTokenInlineData = z192.object({
5681
+ value: z192.string().regex(/^#[a-f0-9]{6,8}$/)
5664
5682
  });
5665
5683
 
5666
- // src/api/dto/aux/pagination.ts
5684
+ // src/api/dto/aux/meta.ts
5667
5685
  import { z as z193 } from "zod";
5668
- var DTOPagination = z193.object({
5669
- limit: z193.string().optional(),
5670
- offset: z193.string().optional()
5686
+ var DTOObjectMeta = z193.object({
5687
+ name: z193.string().max(512),
5688
+ description: z193.string().max(2048).optional()
5689
+ });
5690
+
5691
+ // src/api/dto/aux/pagination.ts
5692
+ import { z as z194 } from "zod";
5693
+ var DTOPagination = z194.object({
5694
+ limit: z194.string().optional(),
5695
+ offset: z194.string().optional()
5671
5696
  });
5672
5697
 
5673
5698
  // src/api/dto/bff/app-bootstrap-data.ts
5674
- import { z as z234 } from "zod";
5699
+ import { z as z235 } from "zod";
5675
5700
 
5676
5701
  // src/api/dto/design-systems/brand.ts
5677
- import { z as z194 } from "zod";
5678
- var DTOBrand = z194.object({
5679
- id: z194.string(),
5680
- designSystemVersionId: z194.string(),
5681
- persistentId: z194.string(),
5702
+ import { z as z195 } from "zod";
5703
+ var DTOBrand = z195.object({
5704
+ id: z195.string(),
5705
+ designSystemVersionId: z195.string(),
5706
+ persistentId: z195.string(),
5682
5707
  meta: ObjectMeta
5683
5708
  });
5684
- var DTOBrandGetResponse = z194.object({ brand: DTOBrand });
5685
- var DTOBrandCreateResponse = z194.object({
5709
+ var DTOBrandGetResponse = z195.object({ brand: DTOBrand });
5710
+ var DTOBrandCreateResponse = z195.object({
5686
5711
  brand: DTOBrand
5687
5712
  });
5688
- var DTOBrandsListResponse = z194.object({ brands: z194.array(DTOBrand) });
5689
- var DTOBrandCreatePayload = z194.object({
5690
- persistentId: z194.string().uuid(),
5713
+ var DTOBrandsListResponse = z195.object({ brands: z195.array(DTOBrand) });
5714
+ var DTOBrandCreatePayload = z195.object({
5715
+ persistentId: z195.string().uuid(),
5691
5716
  meta: DTOObjectMeta
5692
5717
  });
5693
- var DTOBrandUpdatePayload = z194.object({
5718
+ var DTOBrandUpdatePayload = z195.object({
5694
5719
  meta: DTOObjectMeta.optional(),
5695
- persistentId: z194.string()
5720
+ persistentId: z195.string()
5696
5721
  });
5697
5722
 
5698
5723
  // src/api/dto/design-systems/code-component.ts
5699
- import { z as z195 } from "zod";
5724
+ import { z as z196 } from "zod";
5700
5725
  var DTOCodeComponentResolvedTypeKind = CodeComponentResolvedTypeKind;
5701
5726
  var DTOCodeComponentResolvedType = CodeComponentResolvedType;
5702
5727
  var DTOCodeComponentParentType = CodeComponentParentType;
5703
5728
  var DTOCodeComponentProperty = CodeComponentProperty;
5704
5729
  var DTOCodeComponent = CodeComponent;
5705
- var DTOCodeComponentResponse = z195.object({
5730
+ var DTOCodeComponentResponse = z196.object({
5706
5731
  codeComponent: DTOCodeComponent
5707
5732
  });
5708
- var DTOCodeComponentListResponse = z195.object({
5733
+ var DTOCodeComponentListResponse = z196.object({
5709
5734
  codeComponents: DTOCodeComponent.array()
5710
5735
  });
5711
- var DTOCodeComponentCreateInput = z195.object({
5712
- persistentId: z195.string(),
5713
- exportName: z195.string(),
5714
- componentPath: z195.string(),
5715
- description: z195.string(),
5716
- properties: z195.record(z195.string(), DTOCodeComponentProperty),
5717
- tags: z195.record(z195.string(), z195.string()).nullable()
5736
+ var DTOCodeComponentCreateInput = z196.object({
5737
+ persistentId: z196.string(),
5738
+ exportName: z196.string(),
5739
+ componentPath: z196.string(),
5740
+ description: z196.string(),
5741
+ properties: z196.record(z196.string(), DTOCodeComponentProperty),
5742
+ tags: z196.record(z196.string(), z196.string()).nullable()
5718
5743
  });
5719
- var DTOCodeComponentsCreateInput = z195.object({
5744
+ var DTOCodeComponentsCreateInput = z196.object({
5720
5745
  codeComponents: DTOCodeComponentCreateInput.array()
5721
5746
  });
5722
5747
  var DTOCodeComponentUpsertResponse = CodeComponentUpsertResponse;
5723
5748
  var DTOAnalyzeCodeComponentsInPackage = AnalyzeCodeComponentsInPackage;
5724
5749
  var DTODependencyDefinition = DependencyDefinition;
5725
5750
  var DTORegistry = Registry;
5726
- var DTOAnalyzeCodeComponentsInPackageResponse = z195.object({
5727
- ok: z195.literal(true)
5751
+ var DTOAnalyzeCodeComponentsInPackageResponse = z196.object({
5752
+ ok: z196.literal(true)
5728
5753
  });
5729
5754
  var DTOAnalyzeCodeComponentsInPackageInput = AnalyzeCodeComponentsInPackage.omit({
5730
5755
  designSystemId: true,
@@ -5733,48 +5758,48 @@ var DTOAnalyzeCodeComponentsInPackageInput = AnalyzeCodeComponentsInPackage.omit
5733
5758
  });
5734
5759
 
5735
5760
  // src/api/dto/design-systems/component.ts
5736
- import { z as z196 } from "zod";
5737
- var DTODesignSystemComponent = z196.object({
5738
- id: z196.string(),
5739
- persistentId: z196.string(),
5740
- designSystemVersionId: z196.string(),
5741
- brandId: z196.string(),
5761
+ import { z as z197 } from "zod";
5762
+ var DTODesignSystemComponent = z197.object({
5763
+ id: z197.string(),
5764
+ persistentId: z197.string(),
5765
+ designSystemVersionId: z197.string(),
5766
+ brandId: z197.string(),
5742
5767
  meta: DTOObjectMeta,
5743
- createdAt: z196.coerce.date(),
5744
- updatedAt: z196.coerce.date()
5768
+ createdAt: z197.coerce.date(),
5769
+ updatedAt: z197.coerce.date()
5745
5770
  });
5746
- var DTODesignSystemComponentResponse = z196.object({
5771
+ var DTODesignSystemComponentResponse = z197.object({
5747
5772
  designSystemComponent: DTODesignSystemComponent
5748
5773
  });
5749
- var DTODesignSystemComponentListResponse = z196.object({
5774
+ var DTODesignSystemComponentListResponse = z197.object({
5750
5775
  designSystemComponents: DTODesignSystemComponent.array()
5751
5776
  });
5752
- var DTODesignSystemComponentCreateInput = z196.object({
5753
- brandId: z196.string(),
5777
+ var DTODesignSystemComponentCreateInput = z197.object({
5778
+ brandId: z197.string(),
5754
5779
  // Persistent ID,
5755
- persistentId: z196.string(),
5780
+ persistentId: z197.string(),
5756
5781
  meta: DTOObjectMeta
5757
5782
  });
5758
5783
 
5759
5784
  // src/api/dto/design-systems/contact.ts
5760
- import { z as z200 } from "zod";
5785
+ import { z as z201 } from "zod";
5761
5786
 
5762
5787
  // src/api/dto/users/authenticated-user.ts
5763
- import { z as z198 } from "zod";
5788
+ import { z as z199 } from "zod";
5764
5789
 
5765
5790
  // src/api/dto/users/user.ts
5766
- import { z as z197 } from "zod";
5767
- var DTOUserProfile = z197.object({
5768
- name: z197.string(),
5769
- nickname: z197.string().optional(),
5770
- avatar: z197.string().optional()
5771
- });
5772
- var DTOUser = z197.object({
5773
- id: z197.string(),
5774
- email: z197.string(),
5791
+ import { z as z198 } from "zod";
5792
+ var DTOUserProfile = z198.object({
5793
+ name: z198.string(),
5794
+ nickname: z198.string().optional(),
5795
+ avatar: z198.string().optional()
5796
+ });
5797
+ var DTOUser = z198.object({
5798
+ id: z198.string(),
5799
+ email: z198.string(),
5775
5800
  profile: DTOUserProfile
5776
5801
  });
5777
- var DTOUserGetResponse = z197.object({
5802
+ var DTOUserGetResponse = z198.object({
5778
5803
  user: DTOUser
5779
5804
  });
5780
5805
  var DTOUserProfileUpdate = UserProfileUpdate;
@@ -5784,17 +5809,17 @@ var DTOUserOnboardingDepartment = UserOnboardingDepartment;
5784
5809
  var DTOUserOnboardingJobLevel = UserOnboardingJobLevel;
5785
5810
  var DTOUserSource = UserSource;
5786
5811
  var DTOUserTheme = UserTheme;
5787
- var DTOUserOnboarding = z198.object({
5788
- companyName: z198.string().optional(),
5789
- numberOfPeopleInOrg: z198.string().optional(),
5790
- numberOfPeopleInDesignTeam: z198.string().optional(),
5812
+ var DTOUserOnboarding = z199.object({
5813
+ companyName: z199.string().optional(),
5814
+ numberOfPeopleInOrg: z199.string().optional(),
5815
+ numberOfPeopleInDesignTeam: z199.string().optional(),
5791
5816
  department: DTOUserOnboardingDepartment.optional(),
5792
- jobTitle: z198.string().optional(),
5793
- phase: z198.string().optional(),
5817
+ jobTitle: z199.string().optional(),
5818
+ phase: z199.string().optional(),
5794
5819
  jobLevel: DTOUserOnboardingJobLevel.optional(),
5795
- designSystemName: z198.string().optional(),
5796
- defaultDestination: z198.string().optional(),
5797
- isPageDraftOnboardingFinished: z198.boolean().optional()
5820
+ designSystemName: z199.string().optional(),
5821
+ defaultDestination: z199.string().optional(),
5822
+ isPageDraftOnboardingFinished: z199.boolean().optional()
5798
5823
  });
5799
5824
  var DTOAuthenticatedUserProfile = DTOUserProfile.extend({
5800
5825
  onboarding: DTOUserOnboarding.optional(),
@@ -5802,189 +5827,189 @@ var DTOAuthenticatedUserProfile = DTOUserProfile.extend({
5802
5827
  });
5803
5828
  var DTOAuthenticatedUser = DTOUser.extend({
5804
5829
  profile: DTOAuthenticatedUserProfile,
5805
- createdAt: z198.coerce.date(),
5806
- loggedOutAt: z198.coerce.date().optional(),
5830
+ createdAt: z199.coerce.date(),
5831
+ loggedOutAt: z199.coerce.date().optional(),
5807
5832
  source: DTOUserSource.optional()
5808
5833
  });
5809
- var DTOAuthenticatedUserResponse = z198.object({
5834
+ var DTOAuthenticatedUserResponse = z199.object({
5810
5835
  user: DTOAuthenticatedUser
5811
5836
  });
5812
5837
 
5813
5838
  // src/api/dto/users/update.ts
5814
- import { z as z199 } from "zod";
5815
- var DTOUserProfileUpdateResponse = z199.object({
5839
+ import { z as z200 } from "zod";
5840
+ var DTOUserProfileUpdateResponse = z200.object({
5816
5841
  user: User
5817
5842
  });
5818
5843
 
5819
5844
  // src/api/dto/design-systems/contact.ts
5820
- var DTODesignSystemContactsResponse = z200.object({
5821
- contacts: z200.object({
5822
- workspace: z200.array(DTOUser),
5823
- designSystem: z200.array(DTOUser)
5845
+ var DTODesignSystemContactsResponse = z201.object({
5846
+ contacts: z201.object({
5847
+ workspace: z201.array(DTOUser),
5848
+ designSystem: z201.array(DTOUser)
5824
5849
  })
5825
5850
  });
5826
5851
 
5827
5852
  // src/api/dto/design-systems/data-source.ts
5828
- import { z as z201 } from "zod";
5853
+ import { z as z202 } from "zod";
5829
5854
  var DTODataSourceFigmaScope = DataSourceFigmaScope;
5830
- var DTODataSourceFigmaFileVersion = z201.object({
5831
- id: z201.string(),
5832
- created_at: z201.coerce.date(),
5833
- label: z201.string(),
5834
- description: z201.string()
5835
- });
5836
- var DTODataSourceFigmaCloud = z201.object({
5837
- fileId: z201.string(),
5855
+ var DTODataSourceFigmaFileVersion = z202.object({
5856
+ id: z202.string(),
5857
+ created_at: z202.coerce.date(),
5858
+ label: z202.string(),
5859
+ description: z202.string()
5860
+ });
5861
+ var DTODataSourceFigmaCloud = z202.object({
5862
+ fileId: z202.string(),
5838
5863
  state: DataSourceFigmaState,
5839
5864
  autoImportMode: DataSourceAutoImportMode,
5840
- fileThumbnailUrl: z201.string().optional(),
5865
+ fileThumbnailUrl: z202.string().optional(),
5841
5866
  lastImportResult: SourceImportSummary.nullish(),
5842
- lastImportedAt: z201.coerce.date().nullish(),
5867
+ lastImportedAt: z202.coerce.date().nullish(),
5843
5868
  lastImportedVersion: DTODataSourceFigmaFileVersion.nullish(),
5844
- lastUpdatesCheckedAt: z201.date().nullish(),
5845
- ownerId: z201.string(),
5846
- ownerUserName: z201.string().optional(),
5847
- preferredCredentialId: z201.string().optional(),
5869
+ lastUpdatesCheckedAt: z202.date().nullish(),
5870
+ ownerId: z202.string(),
5871
+ ownerUserName: z202.string().optional(),
5872
+ preferredCredentialId: z202.string().optional(),
5848
5873
  stats: DataSourceStats
5849
5874
  });
5850
- var DTODataSourceFigma = z201.object({
5851
- id: z201.string(),
5852
- type: z201.literal(DataSourceRemoteType.Enum.Figma),
5853
- fileName: z201.string(),
5875
+ var DTODataSourceFigma = z202.object({
5876
+ id: z202.string(),
5877
+ type: z202.literal(DataSourceRemoteType.Enum.Figma),
5878
+ fileName: z202.string(),
5854
5879
  scope: DTODataSourceFigmaScope,
5855
- brandId: z201.string(),
5856
- themeId: z201.string().nullish(),
5880
+ brandId: z202.string(),
5881
+ themeId: z202.string().nullish(),
5857
5882
  cloud: DTODataSourceFigmaCloud.nullish(),
5858
- sortOrder: z201.number().optional()
5859
- });
5860
- var DTODataSourceTokenStudio = z201.object({
5861
- id: z201.string(),
5862
- type: z201.literal(DataSourceRemoteType.Enum.TokenStudio),
5863
- fileName: z201.string(),
5864
- brandId: z201.string(),
5865
- themeId: z201.string().nullish(),
5866
- sortOrder: z201.number().optional(),
5867
- tokenStudio: z201.object({
5868
- settings: z201.object({
5869
- dryRun: z201.boolean(),
5870
- verbose: z201.boolean(),
5871
- preciseCopy: z201.boolean()
5883
+ sortOrder: z202.number().optional()
5884
+ });
5885
+ var DTODataSourceTokenStudio = z202.object({
5886
+ id: z202.string(),
5887
+ type: z202.literal(DataSourceRemoteType.Enum.TokenStudio),
5888
+ fileName: z202.string(),
5889
+ brandId: z202.string(),
5890
+ themeId: z202.string().nullish(),
5891
+ sortOrder: z202.number().optional(),
5892
+ tokenStudio: z202.object({
5893
+ settings: z202.object({
5894
+ dryRun: z202.boolean(),
5895
+ verbose: z202.boolean(),
5896
+ preciseCopy: z202.boolean()
5872
5897
  }),
5873
- connectionName: z201.string(),
5874
- lastImportedAt: z201.coerce.date(),
5875
- lastImportedResults: z201.array(
5876
- z201.object({
5877
- mapping: z201.object({
5878
- tokenSets: z201.array(z201.string()),
5879
- supernovaBrand: z201.string(),
5880
- supernovaTheme: z201.string().optional()
5898
+ connectionName: z202.string(),
5899
+ lastImportedAt: z202.coerce.date(),
5900
+ lastImportedResults: z202.array(
5901
+ z202.object({
5902
+ mapping: z202.object({
5903
+ tokenSets: z202.array(z202.string()),
5904
+ supernovaBrand: z202.string(),
5905
+ supernovaTheme: z202.string().optional()
5881
5906
  }),
5882
- isFailed: z201.boolean(),
5883
- tokensCreated: z201.number(),
5884
- tokensDeleted: z201.number(),
5885
- tokensUpdated: z201.number()
5907
+ isFailed: z202.boolean(),
5908
+ tokensCreated: z202.number(),
5909
+ tokensDeleted: z202.number(),
5910
+ tokensUpdated: z202.number()
5886
5911
  })
5887
5912
  )
5888
5913
  })
5889
5914
  });
5890
- var DTODataSourceFigmaVariablesPlugin = z201.object({
5891
- id: z201.string(),
5892
- type: z201.literal(DataSourceRemoteType.Enum.FigmaVariablesPlugin),
5893
- fileName: z201.string(),
5894
- brandId: z201.string(),
5895
- sortOrder: z201.number().optional(),
5896
- upload: z201.object({
5897
- remoteId: z201.string(),
5915
+ var DTODataSourceFigmaVariablesPlugin = z202.object({
5916
+ id: z202.string(),
5917
+ type: z202.literal(DataSourceRemoteType.Enum.FigmaVariablesPlugin),
5918
+ fileName: z202.string(),
5919
+ brandId: z202.string(),
5920
+ sortOrder: z202.number().optional(),
5921
+ upload: z202.object({
5922
+ remoteId: z202.string(),
5898
5923
  remoteSourceType: DataSourceUploadRemoteSource,
5899
- lastImportedAt: z201.coerce.date().optional(),
5924
+ lastImportedAt: z202.coerce.date().optional(),
5900
5925
  lastImportMetadata: DataSourceUploadImportMetadata.optional(),
5901
- isTokenTypeSplitEnabled: z201.boolean()
5926
+ isTokenTypeSplitEnabled: z202.boolean()
5902
5927
  }),
5903
- figmaVariablesPlugin: z201.object({
5904
- fileId: z201.string(),
5905
- lastImportedAt: z201.coerce.date().optional(),
5928
+ figmaVariablesPlugin: z202.object({
5929
+ fileId: z202.string(),
5930
+ lastImportedAt: z202.coerce.date().optional(),
5906
5931
  lastImportMetadata: DataSourceUploadImportMetadata.optional(),
5907
- isTokenTypeSplitEnabled: z201.boolean(),
5908
- isCollectionsMigrationCompleted: z201.boolean().default(false)
5932
+ isTokenTypeSplitEnabled: z202.boolean(),
5933
+ isCollectionsMigrationCompleted: z202.boolean().default(false)
5909
5934
  })
5910
5935
  });
5911
- var DTODataSourceStorybook = z201.object({
5912
- id: z201.string(),
5913
- type: z201.literal(DataSourceRemoteType.Enum.Storybook),
5914
- fileName: z201.string(),
5915
- brandId: z201.string(),
5916
- sortOrder: z201.number().optional(),
5917
- storybook: z201.object({
5918
- indexUrl: z201.string(),
5919
- userUrl: z201.string(),
5920
- lastImportedAt: z201.coerce.date().optional(),
5936
+ var DTODataSourceStorybook = z202.object({
5937
+ id: z202.string(),
5938
+ type: z202.literal(DataSourceRemoteType.Enum.Storybook),
5939
+ fileName: z202.string(),
5940
+ brandId: z202.string(),
5941
+ sortOrder: z202.number().optional(),
5942
+ storybook: z202.object({
5943
+ indexUrl: z202.string(),
5944
+ userUrl: z202.string(),
5945
+ lastImportedAt: z202.coerce.date().optional(),
5921
5946
  lastImportedResult: SourceImportStorybookSummary.optional(),
5922
- lastImportedSuccessfully: z201.coerce.date().optional(),
5923
- isFailed: z201.boolean(),
5924
- storiesCount: z201.number(),
5925
- docsCount: z201.number(),
5926
- description: z201.string().optional(),
5927
- isUsingVpn: z201.boolean().optional()
5947
+ lastImportedSuccessfully: z202.coerce.date().optional(),
5948
+ isFailed: z202.boolean(),
5949
+ storiesCount: z202.number(),
5950
+ docsCount: z202.number(),
5951
+ description: z202.string().optional(),
5952
+ isUsingVpn: z202.boolean().optional()
5928
5953
  })
5929
5954
  });
5930
- var DTODataSourcesStorybookResponse = z201.object({
5931
- isFailed: z201.boolean(),
5932
- storiesCount: z201.number(),
5933
- docsCount: z201.number(),
5934
- created: z201.array(z201.string()).optional(),
5935
- updated: z201.array(z201.string()).optional(),
5936
- deleted: z201.array(z201.string()).optional()
5955
+ var DTODataSourcesStorybookResponse = z202.object({
5956
+ isFailed: z202.boolean(),
5957
+ storiesCount: z202.number(),
5958
+ docsCount: z202.number(),
5959
+ created: z202.array(z202.string()).optional(),
5960
+ updated: z202.array(z202.string()).optional(),
5961
+ deleted: z202.array(z202.string()).optional()
5937
5962
  });
5938
- var DTODataSource = z201.discriminatedUnion("type", [
5963
+ var DTODataSource = z202.discriminatedUnion("type", [
5939
5964
  DTODataSourceFigma,
5940
5965
  DTODataSourceFigmaVariablesPlugin,
5941
5966
  DTODataSourceTokenStudio,
5942
5967
  DTODataSourceStorybook
5943
5968
  ]);
5944
- var DTODataSourcesListResponse = z201.object({
5945
- sources: z201.array(DTODataSource)
5969
+ var DTODataSourcesListResponse = z202.object({
5970
+ sources: z202.array(DTODataSource)
5946
5971
  });
5947
- var DTODataSourceResponse = z201.object({
5972
+ var DTODataSourceResponse = z202.object({
5948
5973
  source: DTODataSource
5949
5974
  });
5950
- var DTODataSourceFigmaCreatePayload = z201.object({
5951
- brandPersistentId: z201.string(),
5952
- figmaFileUrl: z201.string(),
5975
+ var DTODataSourceFigmaCreatePayload = z202.object({
5976
+ brandPersistentId: z202.string(),
5977
+ figmaFileUrl: z202.string(),
5953
5978
  scope: DTODataSourceFigmaScope,
5954
5979
  autoImportMode: DataSourceAutoImportMode
5955
5980
  });
5956
- var DTODataSourceFigmaImportPayload = z201.object({
5957
- sourceIds: z201.array(z201.string())
5981
+ var DTODataSourceFigmaImportPayload = z202.object({
5982
+ sourceIds: z202.array(z202.string())
5958
5983
  });
5959
- var DTODataSourceStorybookCreatePayload = z201.object({
5960
- brandPersistentId: z201.string(),
5961
- fileName: z201.string().optional(),
5962
- userUrl: z201.string(),
5963
- indexUrl: z201.string(),
5964
- payload: z201.unknown(),
5965
- type: z201.literal(DataSourceRemoteType.Enum.Storybook),
5966
- description: z201.string().optional(),
5967
- isUsingVpn: z201.boolean().optional()
5984
+ var DTODataSourceStorybookCreatePayload = z202.object({
5985
+ brandPersistentId: z202.string(),
5986
+ fileName: z202.string().optional(),
5987
+ userUrl: z202.string(),
5988
+ indexUrl: z202.string(),
5989
+ payload: z202.unknown(),
5990
+ type: z202.literal(DataSourceRemoteType.Enum.Storybook),
5991
+ description: z202.string().optional(),
5992
+ isUsingVpn: z202.boolean().optional()
5968
5993
  });
5969
- var DTOStorybookImportPayload = z201.object({
5970
- sourceId: z201.string(),
5971
- payload: z201.unknown()
5994
+ var DTOStorybookImportPayload = z202.object({
5995
+ sourceId: z202.string(),
5996
+ payload: z202.unknown()
5972
5997
  });
5973
- var DTOStorybookSourceUpdatePayload = z201.object({
5974
- description: z201.string().nullish().optional(),
5975
- isUsingVpn: z201.boolean().optional(),
5976
- fileName: z201.string().optional()
5998
+ var DTOStorybookSourceUpdatePayload = z202.object({
5999
+ description: z202.string().nullish().optional(),
6000
+ isUsingVpn: z202.boolean().optional(),
6001
+ fileName: z202.string().optional()
5977
6002
  });
5978
6003
 
5979
6004
  // src/api/dto/design-systems/design-system.ts
5980
- import { z as z204 } from "zod";
6005
+ import { z as z205 } from "zod";
5981
6006
 
5982
6007
  // src/api/dto/design-systems/members.ts
5983
- import { z as z203 } from "zod";
6008
+ import { z as z204 } from "zod";
5984
6009
 
5985
6010
  // src/api/dto/design-systems/role.ts
5986
- import { z as z202 } from "zod";
5987
- var DTODesignSystemRole = z202.enum([
6011
+ import { z as z203 } from "zod";
6012
+ var DTODesignSystemRole = z203.enum([
5988
6013
  WorkspaceRole.Admin,
5989
6014
  WorkspaceRole.Contributor,
5990
6015
  WorkspaceRole.Creator,
@@ -5992,29 +6017,29 @@ var DTODesignSystemRole = z202.enum([
5992
6017
  ]);
5993
6018
 
5994
6019
  // src/api/dto/design-systems/members.ts
5995
- var DTODesignSystemMember = z203.object({
5996
- userId: z203.string(),
6020
+ var DTODesignSystemMember = z204.object({
6021
+ userId: z204.string(),
5997
6022
  /**
5998
6023
  * Role that the member has in the design system,
5999
6024
  * undefined if set to inherit from workspace
6000
6025
  */
6001
6026
  designSystemRole: DTODesignSystemRole.optional()
6002
6027
  });
6003
- var DTODesignSystemInvitation = z203.object({
6004
- id: z203.string(),
6005
- workspaceInvitationId: z203.string(),
6028
+ var DTODesignSystemInvitation = z204.object({
6029
+ id: z204.string(),
6030
+ workspaceInvitationId: z204.string(),
6006
6031
  /**
6007
6032
  * Role that the invitation has in the design system,
6008
6033
  * undefined if set to inherit from workspace
6009
6034
  */
6010
6035
  designSystemRole: DTODesignSystemRole.optional()
6011
6036
  });
6012
- var DTODesignSystemMemberListResponse = z203.object({
6037
+ var DTODesignSystemMemberListResponse = z204.object({
6013
6038
  members: DTODesignSystemMember.array(),
6014
6039
  invitations: DTODesignSystemInvitation.array()
6015
6040
  });
6016
- var DTODesignSystemMembersUpdateResponse = z203.object({
6017
- ok: z203.literal(true)
6041
+ var DTODesignSystemMembersUpdateResponse = z204.object({
6042
+ ok: z204.literal(true)
6018
6043
  });
6019
6044
  var DTODesignSystemMembersUpdatePayload = DesignSystemMembershipUpdates;
6020
6045
 
@@ -6025,14 +6050,14 @@ var DTODesignSystem = DesignSystem.omit({
6025
6050
  docExporterId: true
6026
6051
  }).extend({
6027
6052
  meta: ObjectMeta,
6028
- docExporterId: z204.string(),
6029
- sources: z204.array(z204.any()),
6030
- isPublic: z204.literal(true),
6053
+ docExporterId: z205.string(),
6054
+ sources: z205.array(z205.any()),
6055
+ isPublic: z205.literal(true),
6031
6056
  /**
6032
6057
  * Whether or not user who is requesting the design system
6033
6058
  * has access to the design system's contents.
6034
6059
  */
6035
- isAvailableToUser: z204.boolean(),
6060
+ isAvailableToUser: z205.boolean(),
6036
6061
  /**
6037
6062
  * @deprecated
6038
6063
  */
@@ -6043,17 +6068,17 @@ var DTODesignSystem = DesignSystem.omit({
6043
6068
  */
6044
6069
  effectiveRole: DTODesignSystemRole.optional()
6045
6070
  });
6046
- var DTODesignSystemResponse = z204.object({
6071
+ var DTODesignSystemResponse = z205.object({
6047
6072
  designSystem: DTODesignSystem
6048
6073
  });
6049
- var DTODesignSystemsListResponse = z204.object({
6074
+ var DTODesignSystemsListResponse = z205.object({
6050
6075
  designSystems: DTODesignSystem.array()
6051
6076
  });
6052
- var DTODesignSystemCreateInput = z204.object({
6053
- workspaceId: z204.string(),
6077
+ var DTODesignSystemCreateInput = z205.object({
6078
+ workspaceId: z205.string(),
6054
6079
  meta: ObjectMeta.optional(),
6055
- name: z204.string().min(2).max(64).optional(),
6056
- description: z204.string().max(1024).optional(),
6080
+ name: z205.string().min(2).max(64).optional(),
6081
+ description: z205.string().max(1024).optional(),
6057
6082
  accessMode: DesignSystemAccessMode.optional(),
6058
6083
  invites: DTODesignSystemMembersUpdatePayload.pick({
6059
6084
  usersToInvite: true,
@@ -6063,20 +6088,20 @@ var DTODesignSystemCreateInput = z204.object({
6063
6088
  });
6064
6089
 
6065
6090
  // src/api/dto/design-systems/elements-diff.ts
6066
- import { z as z205 } from "zod";
6067
- var DTODiffCountBase = z205.object({
6068
- created: z205.number(),
6069
- updated: z205.number(),
6070
- deleted: z205.number()
6091
+ import { z as z206 } from "zod";
6092
+ var DTODiffCountBase = z206.object({
6093
+ created: z206.number(),
6094
+ updated: z206.number(),
6095
+ deleted: z206.number()
6071
6096
  });
6072
- var DTODesignElementsDataDiffResponse = z205.object({
6097
+ var DTODesignElementsDataDiffResponse = z206.object({
6073
6098
  tokens: DTODiffCountBase,
6074
6099
  assets: DTODiffCountBase
6075
6100
  });
6076
6101
 
6077
6102
  // src/api/dto/design-systems/figma-variables.ts
6078
- import { z as z206 } from "zod";
6079
- var DimensionsVariableScopeSchema = z206.enum([
6103
+ import { z as z207 } from "zod";
6104
+ var DimensionsVariableScopeSchema = z207.enum([
6080
6105
  "CORNER_RADIUS",
6081
6106
  "WIDTH_HEIGHT",
6082
6107
  "GAP",
@@ -6090,327 +6115,328 @@ var DimensionsVariableScopeSchema = z206.enum([
6090
6115
  "PARAGRAPH_INDENT",
6091
6116
  "FONT_WEIGHT"
6092
6117
  ]);
6093
- var StringVariableScopeSchema = z206.enum(["TEXT_CONTENT", "FONT_FAMILY", "FONT_STYLE"]);
6118
+ var StringVariableScopeSchema = z207.enum(["TEXT_CONTENT", "FONT_FAMILY", "FONT_STYLE"]);
6094
6119
  var DimensionsVariableScopeType = DimensionsVariableScopeSchema.enum;
6095
6120
  var StringVariableScopeType = StringVariableScopeSchema.enum;
6096
- var VariableScope = z206.string();
6097
- var ReferencedVariableOrigin = z206.object({
6098
- name: z206.string(),
6099
- remote: z206.boolean()
6121
+ var VariableScope = z207.string();
6122
+ var ReferencedVariableOrigin = z207.object({
6123
+ name: z207.string(),
6124
+ remote: z207.boolean()
6100
6125
  });
6101
- var RGB = z206.object({
6102
- r: z206.number(),
6103
- g: z206.number(),
6104
- b: z206.number()
6126
+ var RGB = z207.object({
6127
+ r: z207.number(),
6128
+ g: z207.number(),
6129
+ b: z207.number()
6105
6130
  });
6106
6131
  var RGBA = RGB.extend({
6107
- a: z206.number()
6108
- });
6109
- var VariableAlias = z206.object({
6110
- type: z206.literal("VARIABLE_ALIAS"),
6111
- id: z206.string(),
6112
- resolvedValue: z206.boolean().or(z206.number()).or(z206.string()).or(RGBA).or(RGB).optional(),
6113
- referenceOrigin: ReferencedVariableOrigin.optional().or(z206.null())
6114
- });
6115
- var VariableValue = z206.boolean().or(z206.number()).or(z206.string()).or(RGBA).or(RGB).or(VariableAlias);
6116
- var ResolvedVariableType = z206.enum(["BOOLEAN", "FLOAT", "STRING", "COLOR"]);
6117
- var Variable = z206.object({
6118
- id: z206.string(),
6119
- name: z206.string(),
6120
- key: z206.string(),
6121
- variableCollectionId: z206.string(),
6132
+ a: z207.number()
6133
+ });
6134
+ var VariableAlias = z207.object({
6135
+ type: z207.literal("VARIABLE_ALIAS"),
6136
+ id: z207.string(),
6137
+ resolvedValue: z207.boolean().or(z207.number()).or(z207.string()).or(RGBA).or(RGB).optional(),
6138
+ referenceOrigin: ReferencedVariableOrigin.optional().or(z207.null())
6139
+ });
6140
+ var VariableValue = z207.boolean().or(z207.number()).or(z207.string()).or(RGBA).or(RGB).or(VariableAlias);
6141
+ var ResolvedVariableType = z207.enum(["BOOLEAN", "FLOAT", "STRING", "COLOR"]);
6142
+ var Variable = z207.object({
6143
+ id: z207.string(),
6144
+ name: z207.string(),
6145
+ key: z207.string(),
6146
+ variableCollectionId: z207.string(),
6122
6147
  resolvedType: ResolvedVariableType,
6123
- valuesByMode: z206.record(VariableValue),
6124
- remote: z206.boolean(),
6125
- description: z206.string(),
6126
- hiddenFromPublishing: z206.boolean(),
6127
- scopes: z206.array(VariableScope),
6128
- codeSyntax: z206.record(z206.any()).optional()
6129
- });
6130
- var VariableMode = z206.object({
6131
- modeId: z206.string(),
6132
- name: z206.string()
6133
- });
6134
- var Collection2 = z206.object({
6135
- id: z206.string(),
6136
- name: z206.string(),
6137
- modes: z206.array(VariableMode),
6138
- defaultModeId: z206.string(),
6139
- remote: z206.boolean(),
6140
- hiddenFromPublishing: z206.boolean()
6141
- });
6142
- var VariablesMapping = z206.object({
6143
- variableCollections: z206.array(z206.string()).min(1),
6144
- variableMode: z206.string().min(1),
6145
- supernovaBrand: z206.string().min(1),
6146
- supernovaTheme: z206.string().min(1).optional().or(z206.null())
6147
- });
6148
- var FormattedCollections = z206.object({
6149
- variables: z206.record(z206.string(), Variable),
6150
- variableCollections: z206.record(z206.string(), Collection2),
6151
- mappings: z206.array(VariablesMapping).optional(),
6152
- variablesOrder: z206.string().array().optional()
6148
+ valuesByMode: z207.record(VariableValue),
6149
+ remote: z207.boolean(),
6150
+ description: z207.string(),
6151
+ hiddenFromPublishing: z207.boolean(),
6152
+ scopes: z207.array(VariableScope),
6153
+ codeSyntax: z207.record(z207.any()).optional()
6154
+ });
6155
+ var VariableMode = z207.object({
6156
+ modeId: z207.string(),
6157
+ name: z207.string()
6158
+ });
6159
+ var Collection2 = z207.object({
6160
+ id: z207.string(),
6161
+ name: z207.string(),
6162
+ modes: z207.array(VariableMode),
6163
+ defaultModeId: z207.string(),
6164
+ remote: z207.boolean(),
6165
+ hiddenFromPublishing: z207.boolean()
6166
+ });
6167
+ var VariablesMapping = z207.object({
6168
+ variableCollections: z207.array(z207.string()).min(1),
6169
+ variableMode: z207.string().min(1),
6170
+ supernovaBrand: z207.string().min(1),
6171
+ supernovaTheme: z207.string().min(1).optional().or(z207.null())
6172
+ });
6173
+ var FormattedCollections = z207.object({
6174
+ variables: z207.record(z207.string(), Variable),
6175
+ variableCollections: z207.record(z207.string(), Collection2),
6176
+ mappings: z207.array(VariablesMapping).optional(),
6177
+ variablesOrder: z207.string().array().optional()
6153
6178
  });
6154
6179
 
6155
6180
  // src/api/dto/design-systems/import-job.ts
6156
- import { z as z207 } from "zod";
6157
- var DTOImportJob = z207.object({
6158
- id: z207.string(),
6159
- designSystemId: z207.string(),
6160
- designSystemVersionId: z207.string(),
6161
- operation: z207.literal("Import"),
6162
- createdAt: z207.coerce.date(),
6163
- stateChangedAt: z207.coerce.date(),
6181
+ import { z as z208 } from "zod";
6182
+ var DTOImportJob = z208.object({
6183
+ id: z208.string(),
6184
+ designSystemId: z208.string(),
6185
+ designSystemVersionId: z208.string(),
6186
+ operation: z208.literal("Import"),
6187
+ createdAt: z208.coerce.date(),
6188
+ stateChangedAt: z208.coerce.date(),
6164
6189
  state: ImportJobState,
6165
- sourceIds: z207.string().array()
6190
+ sourceIds: z208.string().array()
6166
6191
  });
6167
- var DTOImportJobResponse = z207.object({
6192
+ var DTOImportJobResponse = z208.object({
6168
6193
  job: DTOImportJob
6169
6194
  });
6170
- var DTOBffFigmaImportRequestBody = z207.object({
6171
- type: z207.literal(DataSourceRemoteType.Enum.Figma),
6172
- brandPersistentId: z207.string().optional(),
6173
- fileId: z207.string(),
6195
+ var DTOBffFigmaImportRequestBody = z208.object({
6196
+ type: z208.literal(DataSourceRemoteType.Enum.Figma),
6197
+ brandPersistentId: z208.string().optional(),
6198
+ fileId: z208.string(),
6174
6199
  scope: DataSourceFigmaScope,
6175
6200
  autoImportMode: DataSourceAutoImportMode
6176
6201
  });
6177
- var DTOBffUploadImportRequestBody = z207.object({
6178
- type: z207.enum([DataSourceRemoteType.Enum.FigmaVariablesPlugin, "Upload"]).transform((v) => DataSourceRemoteType.Enum.FigmaVariablesPlugin),
6179
- brandPersistentId: z207.string().optional(),
6180
- sourceName: z207.string().optional(),
6181
- remoteId: z207.string(),
6182
- isTokenTypeSplitEnabled: z207.boolean().optional(),
6183
- payload: z207.any()
6202
+ var DTOBffUploadImportRequestBody = z208.object({
6203
+ type: z208.enum([DataSourceRemoteType.Enum.FigmaVariablesPlugin, "Upload"]).transform((v) => DataSourceRemoteType.Enum.FigmaVariablesPlugin),
6204
+ brandPersistentId: z208.string().optional(),
6205
+ sourceName: z208.string().optional(),
6206
+ remoteId: z208.string(),
6207
+ isTokenTypeSplitEnabled: z208.boolean().optional(),
6208
+ payload: z208.any()
6184
6209
  });
6185
- var DTOBffImportRequestBody = z207.discriminatedUnion("type", [
6210
+ var DTOBffImportRequestBody = z208.discriminatedUnion("type", [
6186
6211
  DTOBffFigmaImportRequestBody,
6187
6212
  DTOBffUploadImportRequestBody
6188
6213
  ]);
6189
6214
 
6190
6215
  // src/api/dto/design-systems/redirects.ts
6191
- import { z as z208 } from "zod";
6192
- var DTOPageRedirectCreateBody = z208.object({
6193
- pagePersistentId: z208.string(),
6194
- path: z208.string()
6216
+ import { z as z209 } from "zod";
6217
+ var DTOPageRedirectCreateBody = z209.object({
6218
+ pagePersistentId: z209.string(),
6219
+ path: z209.string()
6195
6220
  });
6196
6221
  var DTOPageRedirectUpdateBody = DTOPageRedirectCreateBody.partial();
6197
- var DTOPageRedirect = z208.object({
6198
- id: z208.string(),
6199
- pagePersistentId: z208.string(),
6200
- path: z208.string()
6222
+ var DTOPageRedirect = z209.object({
6223
+ id: z209.string(),
6224
+ pagePersistentId: z209.string(),
6225
+ path: z209.string()
6201
6226
  });
6202
- var DTOPageRedirectListResponse = z208.object({
6227
+ var DTOPageRedirectListResponse = z209.object({
6203
6228
  redirects: DTOPageRedirect.array()
6204
6229
  });
6205
- var DTOPageRedirectResponse = z208.object({
6230
+ var DTOPageRedirectResponse = z209.object({
6206
6231
  redirect: DTOPageRedirect
6207
6232
  });
6208
- var DTOPageRedirectDeleteResponse = z208.object({
6209
- success: z208.boolean()
6233
+ var DTOPageRedirectDeleteResponse = z209.object({
6234
+ success: z209.boolean()
6210
6235
  });
6211
6236
 
6212
6237
  // src/api/dto/design-systems/stats.ts
6213
- import { z as z209 } from "zod";
6214
- var DTODesignSystemVersionStats = z209.object({
6215
- tokens: z209.number(),
6216
- designSystemComponents: z209.number(),
6217
- assets: z209.number(),
6218
- documentationPages: z209.number(),
6219
- figmaComponents: z209.number()
6220
- });
6221
- var DTODesignSystemVersionStatsQuery = z209.object({
6238
+ import { z as z210 } from "zod";
6239
+ var DTODesignSystemVersionStats = z210.object({
6240
+ tokens: z210.number(),
6241
+ designSystemComponents: z210.number(),
6242
+ assets: z210.number(),
6243
+ documentationPages: z210.number(),
6244
+ figmaComponents: z210.number()
6245
+ });
6246
+ var DTODesignSystemVersionStatsQuery = z210.object({
6222
6247
  /**
6223
6248
  * Unique ID across versions (non-persistent ID)
6224
6249
  */
6225
- brandId: z209.string().optional()
6250
+ brandId: z210.string().optional()
6226
6251
  });
6227
6252
 
6228
6253
  // src/api/dto/design-systems/storybook.ts
6229
- import { z as z210 } from "zod";
6230
- var DTOStorybookUploadUrlRequest = z210.object({
6231
- name: z210.string()
6232
- });
6233
- var DTOStorybookUploadUrlResponse = z210.object({
6234
- signedUrl: z210.string(),
6235
- storybookUploadId: z210.string()
6236
- });
6237
- var DTOStorybookAccessTokenResponse = z210.object({
6238
- accessToken: z210.string()
6239
- });
6240
- var DTOStorybookAccessTokenPayload = z210.object({
6241
- designSystemId: z210.string(),
6242
- storybookUploadId: z210.string()
6243
- });
6244
- var DTOStorybookUploadStatus = z210.object({
6245
- status: z210.enum(["Failed", "InProgress", "Completed", "Unknown"]),
6246
- timestamp: z210.number().optional()
6247
- });
6248
- var DTOStorybookEntryOrigin = z210.object({
6249
- id: z210.string(),
6250
- type: z210.enum(["story", "docs"]),
6251
- name: z210.string(),
6252
- title: z210.string()
6253
- });
6254
- var DTOStorybookEntry = z210.object({
6255
- id: z210.string(),
6256
- storyId: z210.string(),
6257
- designSystemId: z210.string(),
6258
- sourceId: z210.string(),
6259
- aliases: z210.array(z210.string()).optional(),
6260
- url: z210.string(),
6261
- isDeleted: z210.boolean().optional(),
6254
+ import { z as z211 } from "zod";
6255
+ var DTOStorybookUploadUrlRequest = z211.object({
6256
+ name: z211.string()
6257
+ });
6258
+ var DTOStorybookUploadUrlResponse = z211.object({
6259
+ signedUrl: z211.string(),
6260
+ storybookUploadId: z211.string()
6261
+ });
6262
+ var DTOStorybookAccessTokenResponse = z211.object({
6263
+ accessToken: z211.string()
6264
+ });
6265
+ var DTOStorybookAccessTokenPayload = z211.object({
6266
+ designSystemId: z211.string(),
6267
+ storybookUploadId: z211.string()
6268
+ });
6269
+ var DTOStorybookUploadStatus = z211.object({
6270
+ status: z211.enum(["Failed", "InProgress", "Completed", "Unknown"]),
6271
+ timestamp: z211.number().optional(),
6272
+ reason: z211.string().optional()
6273
+ });
6274
+ var DTOStorybookEntryOrigin = z211.object({
6275
+ id: z211.string(),
6276
+ type: z211.enum(["story", "docs"]),
6277
+ name: z211.string(),
6278
+ title: z211.string()
6279
+ });
6280
+ var DTOStorybookEntry = z211.object({
6281
+ id: z211.string(),
6282
+ storyId: z211.string(),
6283
+ designSystemId: z211.string(),
6284
+ sourceId: z211.string(),
6285
+ aliases: z211.array(z211.string()).optional(),
6286
+ url: z211.string(),
6287
+ isDeleted: z211.boolean().optional(),
6262
6288
  origin: DTOStorybookEntryOrigin,
6263
- createdAt: z210.coerce.date(),
6264
- updatedAt: z210.coerce.date()
6289
+ createdAt: z211.coerce.date(),
6290
+ updatedAt: z211.coerce.date()
6265
6291
  });
6266
- var DTOStorybookEntryReplaceAction = z210.object({
6267
- newStoryId: z210.string()
6292
+ var DTOStorybookEntryReplaceAction = z211.object({
6293
+ newStoryId: z211.string()
6268
6294
  });
6269
- var DTOStorybookEntryListResponse = z210.object({ entries: z210.array(DTOStorybookEntry) });
6270
- var DTOStorybookEntryResponse = z210.object({ entry: DTOStorybookEntry });
6295
+ var DTOStorybookEntryListResponse = z211.object({ entries: z211.array(DTOStorybookEntry) });
6296
+ var DTOStorybookEntryResponse = z211.object({ entry: DTOStorybookEntry });
6271
6297
 
6272
6298
  // src/api/dto/design-systems/user-design-systems.ts
6273
- import { z as z218 } from "zod";
6299
+ import { z as z219 } from "zod";
6274
6300
 
6275
6301
  // src/api/dto/workspaces/git.ts
6276
- import { z as z211 } from "zod";
6277
- var DTOGitOrganization = z211.object({
6278
- id: z211.string(),
6279
- name: z211.string(),
6280
- url: z211.string(),
6281
- slug: z211.string()
6302
+ import { z as z212 } from "zod";
6303
+ var DTOGitOrganization = z212.object({
6304
+ id: z212.string(),
6305
+ name: z212.string(),
6306
+ url: z212.string(),
6307
+ slug: z212.string()
6282
6308
  });
6283
- var DTOGitProject = z211.object({
6284
- id: z211.string(),
6285
- name: z211.string(),
6286
- url: z211.string(),
6287
- slug: z211.string()
6309
+ var DTOGitProject = z212.object({
6310
+ id: z212.string(),
6311
+ name: z212.string(),
6312
+ url: z212.string(),
6313
+ slug: z212.string()
6288
6314
  });
6289
- var DTOGitRepository = z211.object({
6290
- id: z211.string(),
6291
- name: z211.string(),
6292
- url: z211.string(),
6293
- slug: z211.string(),
6294
- defaultBranch: z211.string().optional()
6315
+ var DTOGitRepository = z212.object({
6316
+ id: z212.string(),
6317
+ name: z212.string(),
6318
+ url: z212.string(),
6319
+ slug: z212.string(),
6320
+ defaultBranch: z212.string().optional()
6295
6321
  });
6296
- var DTOGitBranch = z211.object({
6297
- name: z211.string(),
6298
- lastCommitId: z211.string()
6322
+ var DTOGitBranch = z212.object({
6323
+ name: z212.string(),
6324
+ lastCommitId: z212.string()
6299
6325
  });
6300
6326
 
6301
6327
  // src/api/dto/workspaces/integrations.ts
6302
- import { z as z212 } from "zod";
6328
+ import { z as z213 } from "zod";
6303
6329
  var DTOIntegrationCredentials = IntegrationCredentials.omit({
6304
6330
  accessToken: true,
6305
6331
  refreshToken: true
6306
6332
  });
6307
- var DTOIntegration = z212.object({
6308
- id: z212.string(),
6309
- workspaceId: z212.string(),
6333
+ var DTOIntegration = z213.object({
6334
+ id: z213.string(),
6335
+ workspaceId: z213.string(),
6310
6336
  type: ExtendedIntegrationType,
6311
- createdAt: z212.coerce.date(),
6312
- integrationCredentials: z212.array(DTOIntegrationCredentials).optional(),
6313
- integrationDesignSystems: z212.array(IntegrationDesignSystem).optional()
6337
+ createdAt: z213.coerce.date(),
6338
+ integrationCredentials: z213.array(DTOIntegrationCredentials).optional(),
6339
+ integrationDesignSystems: z213.array(IntegrationDesignSystem).optional()
6314
6340
  });
6315
- var DTOIntegrationOAuthGetResponse = z212.object({
6316
- url: z212.string()
6341
+ var DTOIntegrationOAuthGetResponse = z213.object({
6342
+ url: z213.string()
6317
6343
  });
6318
- var DTOIntegrationPostResponse = z212.object({
6344
+ var DTOIntegrationPostResponse = z213.object({
6319
6345
  integration: DTOIntegration
6320
6346
  });
6321
- var DTOIntegrationsGetListResponse = z212.object({
6347
+ var DTOIntegrationsGetListResponse = z213.object({
6322
6348
  integrations: DTOIntegration.array()
6323
6349
  });
6324
6350
 
6325
6351
  // src/api/dto/workspaces/invitations.ts
6326
- import { z as z213 } from "zod";
6327
- var DTOWorkspaceInvitationInput = z213.object({
6328
- email: z213.string().email(),
6352
+ import { z as z214 } from "zod";
6353
+ var DTOWorkspaceInvitationInput = z214.object({
6354
+ email: z214.string().email(),
6329
6355
  role: WorkspaceRoleSchema
6330
6356
  });
6331
- var DTOWorkspaceInvitationsListInput = z213.object({
6357
+ var DTOWorkspaceInvitationsListInput = z214.object({
6332
6358
  invites: DTOWorkspaceInvitationInput.array().max(100),
6333
- designSystemId: z213.string().optional()
6359
+ designSystemId: z214.string().optional()
6334
6360
  });
6335
- var DTOWorkspaceInvitationsResponse = z213.object({
6361
+ var DTOWorkspaceInvitationsResponse = z214.object({
6336
6362
  invitations: WorkspaceInvitation.array()
6337
6363
  });
6338
- var DTOWorkspaceInviteUpdate = z213.object({
6364
+ var DTOWorkspaceInviteUpdate = z214.object({
6339
6365
  role: WorkspaceRoleSchema
6340
6366
  });
6341
- var DTOWorkspaceInvitationUpdateResponse = z213.object({
6367
+ var DTOWorkspaceInvitationUpdateResponse = z214.object({
6342
6368
  invitation: WorkspaceInvitation
6343
6369
  });
6344
6370
 
6345
6371
  // src/api/dto/workspaces/membership.ts
6346
- import { z as z216 } from "zod";
6372
+ import { z as z217 } from "zod";
6347
6373
 
6348
6374
  // src/api/dto/workspaces/workspace.ts
6349
- import { z as z215 } from "zod";
6375
+ import { z as z216 } from "zod";
6350
6376
 
6351
6377
  // src/api/dto/workspaces/npm-registry.ts
6352
- import { z as z214 } from "zod";
6378
+ import { z as z215 } from "zod";
6353
6379
  var DTONpmRegistryConfigConstants = {
6354
6380
  passwordPlaceholder: "redacted"
6355
6381
  };
6356
- var DTONpmRegistryConfig = z214.object({
6382
+ var DTONpmRegistryConfig = z215.object({
6357
6383
  // Registry basic configuration
6358
6384
  registryType: NpmRegistryType,
6359
- registryUrl: z214.string(),
6360
- customRegistryUrl: z214.string().optional(),
6385
+ registryUrl: z215.string(),
6386
+ customRegistryUrl: z215.string().optional(),
6361
6387
  // URL of Supernova NPM packages proxy
6362
- proxyUrl: z214.string(),
6388
+ proxyUrl: z215.string(),
6363
6389
  // Auth configuration
6364
6390
  authType: NpmRegistryAuthType,
6365
- accessToken: z214.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
6366
- username: z214.string().optional(),
6367
- password: z214.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
6391
+ accessToken: z215.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
6392
+ username: z215.string().optional(),
6393
+ password: z215.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
6368
6394
  // NPM package scopes for whih the proxy should be enabled
6369
- enabledScopes: z214.array(z214.string()),
6395
+ enabledScopes: z215.array(z215.string()),
6370
6396
  // True if client should bypass Supernova proxy and connect directly to the registry
6371
6397
  // (e.g. when the NPM registry is behind a VPN or firewall which prevents Supernova from accessing it)
6372
- bypassProxy: z214.boolean()
6398
+ bypassProxy: z215.boolean()
6373
6399
  });
6374
- var DTONpmRegistryAccessTokenResponse = z214.object({
6375
- version: z214.number(),
6376
- accessToken: z214.string().optional(),
6377
- registryUrl: z214.string()
6400
+ var DTONpmRegistryAccessTokenResponse = z215.object({
6401
+ version: z215.number(),
6402
+ accessToken: z215.string().optional(),
6403
+ registryUrl: z215.string()
6378
6404
  });
6379
- var DTOUpdateRegistryInput = z214.object({
6405
+ var DTOUpdateRegistryInput = z215.object({
6380
6406
  registryType: nullishToOptional(NpmRegistryType),
6381
6407
  authType: nullishToOptional(NpmRegistryAuthType),
6382
- enabledScopes: nullishToOptional(z214.array(z214.string())),
6383
- customRegistryUrl: nullishToOptional(z214.string()),
6384
- bypassProxy: nullishToOptional(z214.boolean()),
6385
- npmProxyVersion: nullishToOptional(z214.number()),
6386
- authHeaderName: nullishToOptional(z214.string()),
6387
- authHeaderValue: nullishToOptional(z214.string()),
6388
- accessToken: nullishToOptional(z214.string()),
6389
- username: nullishToOptional(z214.string()),
6390
- password: nullishToOptional(z214.string())
6391
- });
6392
- var DTOUpdateRegistryOutput = z214.object({
6408
+ enabledScopes: nullishToOptional(z215.array(z215.string())),
6409
+ customRegistryUrl: nullishToOptional(z215.string()),
6410
+ bypassProxy: nullishToOptional(z215.boolean()),
6411
+ npmProxyVersion: nullishToOptional(z215.number()),
6412
+ authHeaderName: nullishToOptional(z215.string()),
6413
+ authHeaderValue: nullishToOptional(z215.string()),
6414
+ accessToken: nullishToOptional(z215.string()),
6415
+ username: nullishToOptional(z215.string()),
6416
+ password: nullishToOptional(z215.string())
6417
+ });
6418
+ var DTOUpdateRegistryOutput = z215.object({
6393
6419
  npmRegistrySettings: DTONpmRegistryConfig
6394
6420
  });
6395
6421
 
6396
6422
  // src/api/dto/workspaces/workspace.ts
6397
6423
  var DTOWorkspaceProfile = WorkspaceProfile;
6398
- var DTOWorkspace = z215.object({
6399
- id: z215.string(),
6424
+ var DTOWorkspace = z216.object({
6425
+ id: z216.string(),
6400
6426
  profile: DTOWorkspaceProfile,
6401
6427
  subscription: Subscription,
6402
6428
  npmRegistry: DTONpmRegistryConfig.optional()
6403
6429
  });
6404
- var DTOWorkspaceCreateInput = z215.object({
6405
- name: z215.string()
6430
+ var DTOWorkspaceCreateInput = z216.object({
6431
+ name: z216.string()
6406
6432
  });
6407
- var DTOWorkspaceResponse = z215.object({
6433
+ var DTOWorkspaceResponse = z216.object({
6408
6434
  workspace: DTOWorkspace
6409
6435
  });
6410
6436
 
6411
6437
  // src/api/dto/workspaces/membership.ts
6412
- var DTOWorkspaceRole = z216.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Contributor"]);
6413
- var DTOUserWorkspaceMembership = z216.object({
6438
+ var DTOWorkspaceRole = z217.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Contributor"]);
6439
+ var DTOUserWorkspaceMembership = z217.object({
6414
6440
  // Workspace the user is a member of
6415
6441
  workspace: DTOWorkspace,
6416
6442
  // Assigned role the user has in the workspace
@@ -6420,54 +6446,54 @@ var DTOUserWorkspaceMembership = z216.object({
6420
6446
  // when a workspace's subscription is downgraded to free tier
6421
6447
  effectiveRole: DTOWorkspaceRole
6422
6448
  });
6423
- var DTOWorkspaceMember = z216.object({
6449
+ var DTOWorkspaceMember = z217.object({
6424
6450
  user: User,
6425
6451
  role: WorkspaceRoleSchema,
6426
6452
  effectiveRole: WorkspaceRoleSchema
6427
6453
  });
6428
- var DTOUserWorkspaceMembershipsResponse = z216.object({
6429
- membership: z216.array(DTOUserWorkspaceMembership)
6454
+ var DTOUserWorkspaceMembershipsResponse = z217.object({
6455
+ membership: z217.array(DTOUserWorkspaceMembership)
6430
6456
  });
6431
- var DTOWorkspaceMembersListResponse = z216.object({
6432
- members: z216.array(DTOWorkspaceMember)
6457
+ var DTOWorkspaceMembersListResponse = z217.object({
6458
+ members: z217.array(DTOWorkspaceMember)
6433
6459
  });
6434
6460
 
6435
6461
  // src/api/dto/workspaces/untyped-data.ts
6436
- import { z as z217 } from "zod";
6462
+ import { z as z218 } from "zod";
6437
6463
  var DTOWorkspaceUntypedData = WorkspaceUntypedData;
6438
- var DTOWorkspaceUntypedDataListResponse = z217.object({
6464
+ var DTOWorkspaceUntypedDataListResponse = z218.object({
6439
6465
  data: DTOWorkspaceUntypedData.array()
6440
6466
  });
6441
- var DTOWorkspaceUntypedDataResponse = z217.object({
6467
+ var DTOWorkspaceUntypedDataResponse = z218.object({
6442
6468
  data: DTOWorkspaceUntypedData
6443
6469
  });
6444
- var DTOWorkspaceUntypedDataCreatePayload = z217.object({
6445
- value: z217.unknown()
6470
+ var DTOWorkspaceUntypedDataCreatePayload = z218.object({
6471
+ value: z218.unknown()
6446
6472
  });
6447
- var DTOWorkspaceUntypedDataUpdatePayload = z217.object({
6448
- value: z217.unknown()
6473
+ var DTOWorkspaceUntypedDataUpdatePayload = z218.object({
6474
+ value: z218.unknown()
6449
6475
  });
6450
6476
 
6451
6477
  // src/api/dto/design-systems/user-design-systems.ts
6452
- var DTOUserDesignSystemsResponse = z218.object({
6478
+ var DTOUserDesignSystemsResponse = z219.object({
6453
6479
  designSystems: DTODesignSystem.array(),
6454
6480
  workspaces: DTOWorkspace.array()
6455
6481
  });
6456
6482
 
6457
6483
  // src/api/dto/design-systems/version-room.ts
6458
- import { z as z219 } from "zod";
6459
- var DTODesignSystemVersionRoom = z219.object({
6460
- id: z219.string()
6484
+ import { z as z220 } from "zod";
6485
+ var DTODesignSystemVersionRoom = z220.object({
6486
+ id: z220.string()
6461
6487
  });
6462
- var DTODesignSystemVersionRoomResponse = z219.object({
6488
+ var DTODesignSystemVersionRoomResponse = z220.object({
6463
6489
  room: DTODesignSystemVersionRoom
6464
6490
  });
6465
6491
 
6466
6492
  // src/api/dto/design-systems/version.ts
6467
- import { z as z232 } from "zod";
6493
+ import { z as z233 } from "zod";
6468
6494
 
6469
6495
  // src/api/payloads/design-systems/update-design-system.ts
6470
- import { z as z220 } from "zod";
6496
+ import { z as z221 } from "zod";
6471
6497
  var DTODesignSystemUpdateInput = DesignSystem.partial().omit({
6472
6498
  id: true,
6473
6499
  workspaceId: true,
@@ -6479,56 +6505,56 @@ var DTODesignSystemUpdateInput = DesignSystem.partial().omit({
6479
6505
  }).extend({
6480
6506
  meta: ObjectMeta.partial().optional()
6481
6507
  });
6482
- var DTODesignSystemUpdateAccessModeInput = z220.object({
6508
+ var DTODesignSystemUpdateAccessModeInput = z221.object({
6483
6509
  accessMode: DesignSystemAccessMode,
6484
- retain: z220.object({
6485
- userIds: z220.string().array(),
6486
- inviteIds: z220.string().array()
6510
+ retain: z221.object({
6511
+ userIds: z221.string().array(),
6512
+ inviteIds: z221.string().array()
6487
6513
  }).optional()
6488
6514
  });
6489
6515
 
6490
6516
  // src/api/payloads/design-systems/version.ts
6491
- import { z as z221 } from "zod";
6492
- var ObjectMeta2 = z221.object({
6493
- name: z221.string().max(150).optional(),
6494
- description: z221.string().max(2e3).optional()
6517
+ import { z as z222 } from "zod";
6518
+ var ObjectMeta2 = z222.object({
6519
+ name: z222.string().max(150).optional(),
6520
+ description: z222.string().max(2e3).optional()
6495
6521
  });
6496
6522
  function validateDesignSystemVersion(version) {
6497
6523
  const urlCompliantRegex = /^[a-zA-Z0-9+.-]+$/;
6498
6524
  return urlCompliantRegex.test(version);
6499
6525
  }
6500
- var DTOCreateVersionInput = z221.object({
6526
+ var DTOCreateVersionInput = z222.object({
6501
6527
  meta: ObjectMeta2,
6502
- version: z221.string().refine(validateDesignSystemVersion, {
6528
+ version: z222.string().refine(validateDesignSystemVersion, {
6503
6529
  message: "Invalid semantic versioning format"
6504
6530
  }),
6505
- changeLog: z221.string().optional()
6531
+ changeLog: z222.string().optional()
6506
6532
  });
6507
- var DTOUpdateVersionInput = z221.object({
6533
+ var DTOUpdateVersionInput = z222.object({
6508
6534
  meta: ObjectMeta2,
6509
- version: z221.string(),
6535
+ version: z222.string(),
6510
6536
  // required for PUT, but not editable
6511
- changeLog: z221.string()
6537
+ changeLog: z222.string()
6512
6538
  });
6513
6539
 
6514
6540
  // src/api/payloads/documentation/analytics.ts
6515
- import { z as z222 } from "zod";
6516
- var DTODocumentationAnalyticsTimeFrameComparison = z222.object({
6517
- referencePeriod: z222.object({
6518
- start: z222.coerce.date(),
6519
- end: z222.coerce.date().optional()
6541
+ import { z as z223 } from "zod";
6542
+ var DTODocumentationAnalyticsTimeFrameComparison = z223.object({
6543
+ referencePeriod: z223.object({
6544
+ start: z223.coerce.date(),
6545
+ end: z223.coerce.date().optional()
6520
6546
  }),
6521
- baselinePeriod: z222.object({
6522
- start: z222.coerce.date(),
6523
- end: z222.coerce.date().optional()
6547
+ baselinePeriod: z223.object({
6548
+ start: z223.coerce.date(),
6549
+ end: z223.coerce.date().optional()
6524
6550
  })
6525
6551
  });
6526
- var DTODocumentationAnalyticsDiffPayload = z222.object({
6527
- timeFrames: z222.array(DTODocumentationAnalyticsTimeFrameComparison)
6552
+ var DTODocumentationAnalyticsDiffPayload = z223.object({
6553
+ timeFrames: z223.array(DTODocumentationAnalyticsTimeFrameComparison)
6528
6554
  });
6529
6555
 
6530
6556
  // src/api/payloads/documentation/block-definitions.ts
6531
- import { z as z223 } from "zod";
6557
+ import { z as z224 } from "zod";
6532
6558
 
6533
6559
  // src/api/dto/documentation/block-definition.ts
6534
6560
  var DTOPageBlockDefinitionBehavior = PageBlockDefinitionBehavior;
@@ -6540,76 +6566,76 @@ var DTOPageBlockColorV2 = PageBlockColorV2;
6540
6566
  var DTOPageBlockDefinition = PageBlockDefinition;
6541
6567
 
6542
6568
  // src/api/payloads/documentation/block-definitions.ts
6543
- var DTOGetBlockDefinitionsOutput = z223.object({
6544
- definitions: z223.array(DTOPageBlockDefinition)
6569
+ var DTOGetBlockDefinitionsOutput = z224.object({
6570
+ definitions: z224.array(DTOPageBlockDefinition)
6545
6571
  });
6546
6572
 
6547
6573
  // src/api/payloads/documentation/design-data-doc-diff.ts
6548
- import { z as z224 } from "zod";
6549
- var DTODocumentationPublishTypeQueryParams = z224.object({
6550
- environment: z224.enum(["Live", "Preview"])
6574
+ import { z as z225 } from "zod";
6575
+ var DTODocumentationPublishTypeQueryParams = z225.object({
6576
+ environment: z225.enum(["Live", "Preview"])
6551
6577
  });
6552
6578
 
6553
6579
  // src/api/payloads/export/pipeline.ts
6554
- import { z as z226 } from "zod";
6580
+ import { z as z227 } from "zod";
6555
6581
 
6556
6582
  // src/api/dto/export/exporter-property.ts
6557
- import { z as z225 } from "zod";
6558
- var PrimitiveValue2 = z225.number().or(z225.boolean()).or(z225.string());
6559
- var ArrayValue2 = z225.array(z225.string());
6560
- var ObjectValue2 = z225.record(z225.string());
6583
+ import { z as z226 } from "zod";
6584
+ var PrimitiveValue2 = z226.number().or(z226.boolean()).or(z226.string());
6585
+ var ArrayValue2 = z226.array(z226.string());
6586
+ var ObjectValue2 = z226.record(z226.string());
6561
6587
  var DTOExporterPropertyValue = PrimitiveValue2.or(ArrayValue2).or(ObjectValue2);
6562
- var DTOExporterPropertyType = z225.enum(["Enum", "Boolean", "String", "Number", "Array", "Object", "Code"]);
6563
- var PropertyDefinitionBase2 = z225.object({
6564
- key: z225.string(),
6565
- title: z225.string(),
6566
- description: z225.string(),
6567
- category: z225.string().optional(),
6568
- dependsOn: z225.record(z225.boolean()).optional()
6569
- });
6570
- var DTOExporterPropertyDefinitionEnumOption = z225.object({
6571
- label: z225.string(),
6572
- description: z225.string()
6588
+ var DTOExporterPropertyType = z226.enum(["Enum", "Boolean", "String", "Number", "Array", "Object", "Code"]);
6589
+ var PropertyDefinitionBase2 = z226.object({
6590
+ key: z226.string(),
6591
+ title: z226.string(),
6592
+ description: z226.string(),
6593
+ category: z226.string().optional(),
6594
+ dependsOn: z226.record(z226.boolean()).optional()
6595
+ });
6596
+ var DTOExporterPropertyDefinitionEnumOption = z226.object({
6597
+ label: z226.string(),
6598
+ description: z226.string()
6573
6599
  });
6574
6600
  var DTOExporterPropertyDefinitionEnum = PropertyDefinitionBase2.extend({
6575
- type: z225.literal(DTOExporterPropertyType.Enum.Enum),
6576
- options: z225.record(DTOExporterPropertyDefinitionEnumOption),
6577
- default: z225.string()
6601
+ type: z226.literal(DTOExporterPropertyType.Enum.Enum),
6602
+ options: z226.record(DTOExporterPropertyDefinitionEnumOption),
6603
+ default: z226.string()
6578
6604
  });
6579
6605
  var DTOExporterPropertyDefinitionBoolean = PropertyDefinitionBase2.extend({
6580
- type: z225.literal(DTOExporterPropertyType.Enum.Boolean),
6581
- default: z225.boolean()
6606
+ type: z226.literal(DTOExporterPropertyType.Enum.Boolean),
6607
+ default: z226.boolean()
6582
6608
  });
6583
6609
  var DTOExporterPropertyDefinitionString = PropertyDefinitionBase2.extend({
6584
- type: z225.literal(DTOExporterPropertyType.Enum.String),
6585
- default: z225.string(),
6586
- isMultiline: z225.boolean().optional()
6610
+ type: z226.literal(DTOExporterPropertyType.Enum.String),
6611
+ default: z226.string(),
6612
+ isMultiline: z226.boolean().optional()
6587
6613
  });
6588
6614
  var DTOExporterPropertyDefinitionNumber = PropertyDefinitionBase2.extend({
6589
- type: z225.literal(DTOExporterPropertyType.Enum.Number),
6590
- default: z225.number()
6615
+ type: z226.literal(DTOExporterPropertyType.Enum.Number),
6616
+ default: z226.number()
6591
6617
  });
6592
6618
  var DTOExporterPropertyDefinitionArray = PropertyDefinitionBase2.extend({
6593
- type: z225.literal(DTOExporterPropertyType.Enum.Array),
6619
+ type: z226.literal(DTOExporterPropertyType.Enum.Array),
6594
6620
  default: ArrayValue2
6595
6621
  });
6596
6622
  var DTOExporterPropertyDefinitionObject = PropertyDefinitionBase2.extend({
6597
- type: z225.literal(DTOExporterPropertyType.Enum.Object),
6623
+ type: z226.literal(DTOExporterPropertyType.Enum.Object),
6598
6624
  default: ObjectValue2,
6599
- allowedKeys: z225.object({
6600
- options: z225.string().array(),
6601
- type: z225.string()
6625
+ allowedKeys: z226.object({
6626
+ options: z226.string().array(),
6627
+ type: z226.string()
6602
6628
  }).optional(),
6603
- allowedValues: z225.object({
6604
- type: z225.string()
6629
+ allowedValues: z226.object({
6630
+ type: z226.string()
6605
6631
  }).optional()
6606
6632
  });
6607
6633
  var DTOExporterPropertyDefinitionCode = PropertyDefinitionBase2.extend({
6608
- type: z225.literal(DTOExporterPropertyType.Enum.Code),
6609
- language: z225.string(),
6610
- default: z225.string()
6634
+ type: z226.literal(DTOExporterPropertyType.Enum.Code),
6635
+ language: z226.string(),
6636
+ default: z226.string()
6611
6637
  });
6612
- var DTOExporterPropertyDefinition = z225.discriminatedUnion("type", [
6638
+ var DTOExporterPropertyDefinition = z226.discriminatedUnion("type", [
6613
6639
  DTOExporterPropertyDefinitionEnum,
6614
6640
  DTOExporterPropertyDefinitionBoolean,
6615
6641
  DTOExporterPropertyDefinitionString,
@@ -6618,84 +6644,84 @@ var DTOExporterPropertyDefinition = z225.discriminatedUnion("type", [
6618
6644
  DTOExporterPropertyDefinitionObject,
6619
6645
  DTOExporterPropertyDefinitionCode
6620
6646
  ]);
6621
- var DTOExporterPropertyDefinitionsResponse = z225.object({
6647
+ var DTOExporterPropertyDefinitionsResponse = z226.object({
6622
6648
  properties: DTOExporterPropertyDefinition.array()
6623
6649
  });
6624
- var DTOExporterPropertyValueMap = z225.record(DTOExporterPropertyValue);
6650
+ var DTOExporterPropertyValueMap = z226.record(DTOExporterPropertyValue);
6625
6651
 
6626
6652
  // src/api/payloads/export/pipeline.ts
6627
- var GitDestinationOptions = z226.object({
6628
- branch: z226.string().min(1).optional(),
6629
- commitMessage: z226.string().min(1).optional(),
6630
- commitAuthorName: z226.string().min(1).optional(),
6631
- commitAuthorEmail: z226.string().email().optional(),
6632
- pullRequestTitle: z226.string().min(1).optional(),
6633
- pullRequestDescription: z226.string().min(1).optional(),
6634
- relativePath: z226.string().optional(),
6635
- purgeDirectory: z226.boolean().optional()
6636
- });
6637
- var DTOPipelineCreateBody = z226.object({
6638
- name: z226.string(),
6639
- exporterId: z226.string(),
6640
- designSystemId: z226.string(),
6641
- isEnabled: z226.boolean(),
6653
+ var GitDestinationOptions = z227.object({
6654
+ branch: z227.string().min(1).optional(),
6655
+ commitMessage: z227.string().min(1).optional(),
6656
+ commitAuthorName: z227.string().min(1).optional(),
6657
+ commitAuthorEmail: z227.string().email().optional(),
6658
+ pullRequestTitle: z227.string().min(1).optional(),
6659
+ pullRequestDescription: z227.string().min(1).optional(),
6660
+ relativePath: z227.string().optional(),
6661
+ purgeDirectory: z227.boolean().optional()
6662
+ });
6663
+ var DTOPipelineCreateBody = z227.object({
6664
+ name: z227.string(),
6665
+ exporterId: z227.string(),
6666
+ designSystemId: z227.string(),
6667
+ isEnabled: z227.boolean(),
6642
6668
  eventType: PipelineEventType,
6643
- brandPersistentId: z226.string().optional(),
6644
- themePersistentId: z226.string().optional(),
6645
- themePersistentIds: z226.string().array().optional(),
6669
+ brandPersistentId: z227.string().optional(),
6670
+ themePersistentId: z227.string().optional(),
6671
+ themePersistentIds: z227.string().array().optional(),
6646
6672
  exporterPropertyValues: DTOExporterPropertyValueMap.optional(),
6647
6673
  destination: PipelineDestinationType.optional(),
6648
6674
  gitQuery: GitObjectsQuery,
6649
- destinations: z226.object({
6675
+ destinations: z227.object({
6650
6676
  s3: ExporterDestinationS3.nullish(),
6651
6677
  azure: ExporterDestinationAzure.nullish(),
6652
6678
  bitbucket: ExporterDestinationBitbucket.nullish(),
6653
6679
  github: ExporterDestinationGithub.nullish(),
6654
6680
  gitlab: ExporterDestinationGitlab.nullish(),
6655
6681
  documentation: ExporterDestinationDocs.nullish(),
6656
- webhookUrl: z226.string().nullish()
6682
+ webhookUrl: z227.string().nullish()
6657
6683
  })
6658
6684
  });
6659
- var DTOPipelineUpdateBody = z226.object({
6660
- exporterId: z226.string().optional(),
6661
- name: z226.string().optional(),
6662
- isEnabled: z226.boolean().optional(),
6685
+ var DTOPipelineUpdateBody = z227.object({
6686
+ exporterId: z227.string().optional(),
6687
+ name: z227.string().optional(),
6688
+ isEnabled: z227.boolean().optional(),
6663
6689
  eventType: PipelineEventType.optional(),
6664
- brandPersistentId: z226.string().optional(),
6665
- themePersistentId: z226.string().optional(),
6666
- themePersistentIds: z226.string().array().optional(),
6690
+ brandPersistentId: z227.string().optional(),
6691
+ themePersistentId: z227.string().optional(),
6692
+ themePersistentIds: z227.string().array().optional(),
6667
6693
  exporterPropertyValues: DTOExporterPropertyValueMap.optional(),
6668
6694
  destination: PipelineDestinationType.optional(),
6669
6695
  gitQuery: GitObjectsQuery.optional(),
6670
- destinations: z226.object({
6696
+ destinations: z227.object({
6671
6697
  s3: ExporterDestinationS3.nullish(),
6672
6698
  azure: ExporterDestinationAzure.nullish(),
6673
6699
  bitbucket: ExporterDestinationBitbucket.nullish(),
6674
6700
  github: ExporterDestinationGithub.nullish(),
6675
6701
  gitlab: ExporterDestinationGitlab.nullish(),
6676
6702
  documentation: ExporterDestinationDocs.nullish(),
6677
- webhookUrl: z226.string().nullish()
6703
+ webhookUrl: z227.string().nullish()
6678
6704
  }).optional(),
6679
6705
  gitDestinationOptions: GitDestinationOptions.partial().optional()
6680
6706
  });
6681
- var DTOPipelineTriggerBody = z226.object({
6682
- designSystemVersionId: z226.string()
6707
+ var DTOPipelineTriggerBody = z227.object({
6708
+ designSystemVersionId: z227.string()
6683
6709
  });
6684
6710
 
6685
6711
  // src/api/payloads/liveblocks/auth.ts
6686
- import { z as z227 } from "zod";
6687
- var DTOLiveblocksAuthRequest = z227.object({
6688
- room: z227.string().optional()
6712
+ import { z as z228 } from "zod";
6713
+ var DTOLiveblocksAuthRequest = z228.object({
6714
+ room: z228.string().optional()
6689
6715
  });
6690
6716
 
6691
6717
  // src/api/payloads/users/notifications/notification-settings.ts
6692
- import { z as z228 } from "zod";
6693
- var DTOUpdateUserNotificationSettingsPayload = z228.object({
6718
+ import { z as z229 } from "zod";
6719
+ var DTOUpdateUserNotificationSettingsPayload = z229.object({
6694
6720
  notificationSettings: UserNotificationSettings
6695
6721
  });
6696
- var DTOUserNotificationSettingsResponse = z228.object({
6697
- userId: z228.string(),
6698
- workspaceId: z228.string(),
6722
+ var DTOUserNotificationSettingsResponse = z229.object({
6723
+ userId: z229.string(),
6724
+ workspaceId: z229.string(),
6699
6725
  notificationSettings: UserNotificationSettings
6700
6726
  });
6701
6727
 
@@ -6703,13 +6729,13 @@ var DTOUserNotificationSettingsResponse = z228.object({
6703
6729
  var DTOUserProfileUpdatePayload = UserProfileUpdate;
6704
6730
 
6705
6731
  // src/api/payloads/workspaces/transfer-ownership.ts
6706
- import { z as z229 } from "zod";
6707
- var DTOTransferOwnershipPayload = z229.object({
6708
- newOwnerId: z229.string()
6732
+ import { z as z230 } from "zod";
6733
+ var DTOTransferOwnershipPayload = z230.object({
6734
+ newOwnerId: z230.string()
6709
6735
  });
6710
6736
 
6711
6737
  // src/api/payloads/workspaces/workspace-configuration.ts
6712
- import { z as z230 } from "zod";
6738
+ import { z as z231 } from "zod";
6713
6739
  var prohibitedSsoKeys = ["providerId", "metadataXml", "emailDomains"];
6714
6740
  function validateSsoPayload(ssoPayload) {
6715
6741
  const keys = [];
@@ -6732,21 +6758,21 @@ function validateSsoPayload(ssoPayload) {
6732
6758
  keys
6733
6759
  };
6734
6760
  }
6735
- var NpmRegistryInput = z230.object({
6736
- enabledScopes: z230.array(z230.string()),
6737
- customRegistryUrl: z230.string().optional(),
6738
- bypassProxy: z230.boolean().optional(),
6739
- npmProxyRegistryConfigId: z230.string().optional(),
6740
- npmProxyVersion: z230.number().optional(),
6741
- registryType: z230.string(),
6742
- authType: z230.string(),
6743
- authHeaderName: z230.string(),
6744
- authHeaderValue: z230.string(),
6745
- accessToken: z230.string(),
6746
- username: z230.string(),
6747
- password: z230.string()
6748
- });
6749
- var WorkspaceConfigurationPayload = z230.object({
6761
+ var NpmRegistryInput = z231.object({
6762
+ enabledScopes: z231.array(z231.string()),
6763
+ customRegistryUrl: z231.string().optional(),
6764
+ bypassProxy: z231.boolean().optional(),
6765
+ npmProxyRegistryConfigId: z231.string().optional(),
6766
+ npmProxyVersion: z231.number().optional(),
6767
+ registryType: z231.string(),
6768
+ authType: z231.string(),
6769
+ authHeaderName: z231.string(),
6770
+ authHeaderValue: z231.string(),
6771
+ accessToken: z231.string(),
6772
+ username: z231.string(),
6773
+ password: z231.string()
6774
+ });
6775
+ var WorkspaceConfigurationPayload = z231.object({
6750
6776
  ipWhitelist: WorkspaceIpSettings.partial().optional(),
6751
6777
  sso: SsoProvider.partial().optional(),
6752
6778
  npmRegistrySettings: NpmRegistryInput.partial().optional(),
@@ -6754,107 +6780,107 @@ var WorkspaceConfigurationPayload = z230.object({
6754
6780
  });
6755
6781
 
6756
6782
  // src/api/payloads/workspaces/workspace-integrations.ts
6757
- import { z as z231 } from "zod";
6758
- var DTOWorkspaceIntegrationOauthInput = z231.object({
6783
+ import { z as z232 } from "zod";
6784
+ var DTOWorkspaceIntegrationOauthInput = z232.object({
6759
6785
  type: IntegrationType
6760
6786
  });
6761
- var DTOWorkspaceIntegrationPATInput = z231.object({
6787
+ var DTOWorkspaceIntegrationPATInput = z232.object({
6762
6788
  type: IntegrationType,
6763
6789
  token: IntegrationToken
6764
6790
  });
6765
- var DTOWorkspaceIntegrationGetGitObjectsInput = z231.object({
6766
- organization: z231.string().optional(),
6791
+ var DTOWorkspaceIntegrationGetGitObjectsInput = z232.object({
6792
+ organization: z232.string().optional(),
6767
6793
  // Azure Organization | Bitbucket Workspace slug | Gitlab Group and Sub-Groups | Github Account (User or Organization)
6768
- project: z231.string().optional(),
6794
+ project: z232.string().optional(),
6769
6795
  // Only for Bitbucket and Azure
6770
- repository: z231.string().optional(),
6796
+ repository: z232.string().optional(),
6771
6797
  // For all providers. Pay attention for Gitlab, they call repositories "projects".
6772
- branch: z231.string().optional(),
6798
+ branch: z232.string().optional(),
6773
6799
  // For all providers, useful for PR creations.
6774
- user: z231.string().optional()
6800
+ user: z232.string().optional()
6775
6801
  // Only for Gitlab User Repositories
6776
6802
  });
6777
6803
 
6778
6804
  // src/api/dto/design-systems/version.ts
6779
- var DTODesignSystemVersion = z232.object({
6780
- id: z232.string(),
6781
- createdAt: z232.coerce.date(),
6805
+ var DTODesignSystemVersion = z233.object({
6806
+ id: z233.string(),
6807
+ createdAt: z233.coerce.date(),
6782
6808
  meta: ObjectMeta,
6783
- version: z232.string(),
6784
- isReadonly: z232.boolean(),
6785
- changeLog: z232.string(),
6786
- designSystemId: z232.string()
6809
+ version: z233.string(),
6810
+ isReadonly: z233.boolean(),
6811
+ changeLog: z233.string(),
6812
+ designSystemId: z233.string()
6787
6813
  });
6788
- var DTODesignSystemVersionsListResponse = z232.object({
6789
- designSystemVersions: z232.array(DTODesignSystemVersion)
6814
+ var DTODesignSystemVersionsListResponse = z233.object({
6815
+ designSystemVersions: z233.array(DTODesignSystemVersion)
6790
6816
  });
6791
- var DTODesignSystemVersionGetResponse = z232.object({
6817
+ var DTODesignSystemVersionGetResponse = z233.object({
6792
6818
  designSystemVersion: DTODesignSystemVersion
6793
6819
  });
6794
- var DTODesignSystemVersionCreationResponse = z232.object({
6820
+ var DTODesignSystemVersionCreationResponse = z233.object({
6795
6821
  meta: ObjectMeta,
6796
- version: z232.string(),
6797
- changeLog: z232.string(),
6798
- isReadOnly: z232.boolean(),
6799
- designSystemId: z232.string(),
6800
- jobId: z232.string()
6801
- });
6802
- var VersionSQSPayload = z232.object({
6803
- jobId: z232.string(),
6804
- designSystemId: z232.string(),
6822
+ version: z233.string(),
6823
+ changeLog: z233.string(),
6824
+ isReadOnly: z233.boolean(),
6825
+ designSystemId: z233.string(),
6826
+ jobId: z233.string()
6827
+ });
6828
+ var VersionSQSPayload = z233.object({
6829
+ jobId: z233.string(),
6830
+ designSystemId: z233.string(),
6805
6831
  input: DTOCreateVersionInput
6806
6832
  });
6807
- var DTODesignSystemVersionJobsResponse = z232.object({
6808
- jobs: z232.array(VersionCreationJob)
6833
+ var DTODesignSystemVersionJobsResponse = z233.object({
6834
+ jobs: z233.array(VersionCreationJob)
6809
6835
  });
6810
- var DTODesignSystemVersionJobStatusResponse = z232.object({
6836
+ var DTODesignSystemVersionJobStatusResponse = z233.object({
6811
6837
  job: VersionCreationJob
6812
6838
  });
6813
6839
 
6814
6840
  // src/api/dto/design-systems/view.ts
6815
- import { z as z233 } from "zod";
6816
- var DTOElementViewColumnSharedAttributes = z233.object({
6817
- id: z233.string(),
6818
- persistentId: z233.string(),
6819
- width: z233.number()
6841
+ import { z as z234 } from "zod";
6842
+ var DTOElementViewColumnSharedAttributes = z234.object({
6843
+ id: z234.string(),
6844
+ persistentId: z234.string(),
6845
+ width: z234.number()
6820
6846
  });
6821
6847
  var DTOElementViewBasePropertyColumn = DTOElementViewColumnSharedAttributes.extend({
6822
- type: z233.literal("BaseProperty"),
6848
+ type: z234.literal("BaseProperty"),
6823
6849
  basePropertyType: ElementViewBaseColumnType
6824
6850
  });
6825
6851
  var DTOElementViewPropertyDefinitionColumn = DTOElementViewColumnSharedAttributes.extend({
6826
- type: z233.literal("PropertyDefinition"),
6827
- propertyDefinitionId: z233.string()
6852
+ type: z234.literal("PropertyDefinition"),
6853
+ propertyDefinitionId: z234.string()
6828
6854
  });
6829
6855
  var DTOElementViewThemeColumn = DTOElementViewColumnSharedAttributes.extend({
6830
- type: z233.literal("Theme"),
6831
- themeId: z233.string()
6856
+ type: z234.literal("Theme"),
6857
+ themeId: z234.string()
6832
6858
  });
6833
- var DTOElementViewColumn = z233.discriminatedUnion("type", [
6859
+ var DTOElementViewColumn = z234.discriminatedUnion("type", [
6834
6860
  DTOElementViewBasePropertyColumn,
6835
6861
  DTOElementViewPropertyDefinitionColumn,
6836
6862
  DTOElementViewThemeColumn
6837
6863
  ]);
6838
- var DTOElementView = z233.object({
6864
+ var DTOElementView = z234.object({
6839
6865
  meta: ObjectMeta,
6840
- persistentId: z233.string(),
6866
+ persistentId: z234.string(),
6841
6867
  targetElementType: ElementPropertyTargetType,
6842
- id: z233.string(),
6843
- isDefault: z233.boolean(),
6844
- columns: z233.array(DTOElementViewColumn)
6868
+ id: z234.string(),
6869
+ isDefault: z234.boolean(),
6870
+ columns: z234.array(DTOElementViewColumn)
6845
6871
  });
6846
- var DTOElementViewsListResponse = z233.object({
6847
- elementDataViews: z233.array(DTOElementView)
6872
+ var DTOElementViewsListResponse = z234.object({
6873
+ elementDataViews: z234.array(DTOElementView)
6848
6874
  });
6849
6875
 
6850
6876
  // src/api/dto/bff/app-bootstrap-data.ts
6851
- var DTOAppBootstrapDataQuery = z234.object({
6852
- preferredWorkspaceId: z234.string().optional(),
6853
- preferredDesignSystemId: z234.string().optional(),
6854
- preferredVersionId: z234.string().optional(),
6855
- preferredBrandId: z234.string().optional()
6877
+ var DTOAppBootstrapDataQuery = z235.object({
6878
+ preferredWorkspaceId: z235.string().optional(),
6879
+ preferredDesignSystemId: z235.string().optional(),
6880
+ preferredVersionId: z235.string().optional(),
6881
+ preferredBrandId: z235.string().optional()
6856
6882
  });
6857
- var DTOAppBootstrapDataResponse = z234.object({
6883
+ var DTOAppBootstrapDataResponse = z235.object({
6858
6884
  workspaceMembership: DTOUserWorkspaceMembership.optional(),
6859
6885
  designSystem: DTODesignSystem.optional(),
6860
6886
  version: DTODesignSystemVersion.optional(),
@@ -6862,92 +6888,92 @@ var DTOAppBootstrapDataResponse = z234.object({
6862
6888
  });
6863
6889
 
6864
6890
  // src/api/dto/collections/token-collection.ts
6865
- import { z as z235 } from "zod";
6866
- var DTOTokenCollection = z235.object({
6867
- id: z235.string(),
6868
- persistentId: z235.string(),
6869
- designSystemVersionId: z235.string(),
6891
+ import { z as z236 } from "zod";
6892
+ var DTOTokenCollection = z236.object({
6893
+ id: z236.string(),
6894
+ persistentId: z236.string(),
6895
+ designSystemVersionId: z236.string(),
6870
6896
  meta: ObjectMeta,
6871
6897
  backgroundColor: ColorTokenInlineData.optional(),
6872
- elementPropertyOptionId: z235.string(),
6873
- createdAt: z235.coerce.date(),
6874
- updatedAt: z235.coerce.date(),
6898
+ elementPropertyOptionId: z236.string(),
6899
+ createdAt: z236.coerce.date(),
6900
+ updatedAt: z236.coerce.date(),
6875
6901
  origin: CollectionOrigin.optional()
6876
6902
  });
6877
- var DTOTokenCollectionsListReponse = z235.object({
6903
+ var DTOTokenCollectionsListReponse = z236.object({
6878
6904
  collections: DTOTokenCollection.array()
6879
6905
  });
6880
6906
 
6881
6907
  // src/api/dto/design-tokens/design-token.ts
6882
- import { z as z236 } from "zod";
6908
+ import { z as z237 } from "zod";
6883
6909
  var DTODesignToken = DesignTokenTypedData.and(
6884
- z236.object({
6885
- id: z236.string(),
6886
- persistentId: z236.string(),
6887
- designSystemVersionId: z236.string(),
6910
+ z237.object({
6911
+ id: z237.string(),
6912
+ persistentId: z237.string(),
6913
+ designSystemVersionId: z237.string(),
6888
6914
  meta: ObjectMeta,
6889
6915
  originStyle: DesignTokenOrigin.optional(),
6890
- brandId: z236.string(),
6891
- collectionId: z236.string().optional(),
6892
- updatedAt: z236.coerce.date()
6916
+ brandId: z237.string(),
6917
+ collectionId: z237.string().optional(),
6918
+ updatedAt: z237.coerce.date()
6893
6919
  })
6894
6920
  );
6895
- var DTODesignTokenListResponse = z236.object({
6921
+ var DTODesignTokenListResponse = z237.object({
6896
6922
  tokens: DTODesignToken.array()
6897
6923
  });
6898
- var DTODesignTokenResponse = z236.object({
6924
+ var DTODesignTokenResponse = z237.object({
6899
6925
  token: DTODesignToken
6900
6926
  });
6901
- var DTODesignTokenGroup = z236.object({
6902
- id: z236.string(),
6927
+ var DTODesignTokenGroup = z237.object({
6928
+ id: z237.string(),
6903
6929
  tokenType: DesignTokenType,
6904
- persistentId: z236.string(),
6905
- isRoot: z236.boolean(),
6906
- brandId: z236.string(),
6930
+ persistentId: z237.string(),
6931
+ isRoot: z237.boolean(),
6932
+ brandId: z237.string(),
6907
6933
  meta: ObjectMeta,
6908
- childrenIds: z236.string().array()
6934
+ childrenIds: z237.string().array()
6909
6935
  });
6910
- var DTODesignTokenGroupListResponse = z236.object({
6936
+ var DTODesignTokenGroupListResponse = z237.object({
6911
6937
  groups: DTODesignTokenGroup.array()
6912
6938
  });
6913
- var DTODesignTokenGroupResponse = z236.object({
6939
+ var DTODesignTokenGroupResponse = z237.object({
6914
6940
  group: DTODesignTokenGroup
6915
6941
  });
6916
6942
  var DTODesignTokenCreatePayload = DesignTokenTypedData.and(
6917
- z236.object({
6918
- persistentId: z236.string(),
6943
+ z237.object({
6944
+ persistentId: z237.string(),
6919
6945
  meta: ObjectMeta,
6920
- brandId: z236.string(),
6921
- groupPersistentId: z236.string().optional()
6946
+ brandId: z237.string(),
6947
+ groupPersistentId: z237.string().optional()
6922
6948
  })
6923
6949
  );
6924
- var DTODesignTokenGroupCreatePayload = z236.object({
6925
- persistentId: z236.string(),
6950
+ var DTODesignTokenGroupCreatePayload = z237.object({
6951
+ persistentId: z237.string(),
6926
6952
  meta: ObjectMeta,
6927
- brandId: z236.string(),
6928
- parentId: z236.string().optional(),
6953
+ brandId: z237.string(),
6954
+ parentId: z237.string().optional(),
6929
6955
  tokenType: DesignTokenType,
6930
- childrenIds: z236.string().array()
6956
+ childrenIds: z237.string().array()
6931
6957
  });
6932
6958
 
6933
6959
  // src/api/dto/documentation/analytics-v2.ts
6934
- import { z as z237 } from "zod";
6935
- var DTODocumentationAnalyticsTimeFrame = z237.object({
6936
- start: z237.coerce.date(),
6937
- end: z237.coerce.date().optional()
6960
+ import { z as z238 } from "zod";
6961
+ var DTODocumentationAnalyticsTimeFrame = z238.object({
6962
+ start: z238.coerce.date(),
6963
+ end: z238.coerce.date().optional()
6938
6964
  });
6939
- var DTOPublishedDocVisitData = z237.object({
6940
- timestamp: z237.coerce.date(),
6941
- versionId: z237.string(),
6942
- locale: z237.string().optional(),
6943
- visits: z237.number(),
6944
- sessions: z237.number()
6965
+ var DTOPublishedDocVisitData = z238.object({
6966
+ timestamp: z238.coerce.date(),
6967
+ versionId: z238.string(),
6968
+ locale: z238.string().optional(),
6969
+ visits: z238.number(),
6970
+ sessions: z238.number()
6945
6971
  });
6946
6972
  var DTOPublishedDocPageVisitData = DTOPublishedDocVisitData.extend({
6947
- pagePersistentId: z237.string()
6973
+ pagePersistentId: z238.string()
6948
6974
  });
6949
- var DTOPublishedDocVisitHeatMapDay = z237.number().array().length(12);
6950
- var DTOPublishedDocVisitHeatMapWeek = z237.object({
6975
+ var DTOPublishedDocVisitHeatMapDay = z238.number().array().length(12);
6976
+ var DTOPublishedDocVisitHeatMapWeek = z238.object({
6951
6977
  /**
6952
6978
  * For which timeframe it was calculated
6953
6979
  */
@@ -6960,65 +6986,65 @@ var DTOPublishedDocVisitHeatMapWeek = z237.object({
6960
6986
  sat: DTOPublishedDocVisitHeatMapDay,
6961
6987
  sun: DTOPublishedDocVisitHeatMapDay
6962
6988
  });
6963
- var DTOPublishedDocAnalyticsComparisonData = z237.object({
6989
+ var DTOPublishedDocAnalyticsComparisonData = z238.object({
6964
6990
  /**
6965
6991
  * For which timeframe it was calculated
6966
6992
  */
6967
6993
  timeFrame: DTODocumentationAnalyticsTimeFrame,
6968
- priorVisitCount: z237.number(),
6969
- priorSessionCount: z237.number(),
6970
- currentVisitCount: z237.number(),
6971
- currentSessionCount: z237.number()
6994
+ priorVisitCount: z238.number(),
6995
+ priorSessionCount: z238.number(),
6996
+ currentVisitCount: z238.number(),
6997
+ currentSessionCount: z238.number()
6972
6998
  });
6973
6999
  var DTOPublishedDocPageAnalyticsComparisonData = DTOPublishedDocAnalyticsComparisonData.extend({
6974
- pagePersistentId: z237.string()
7000
+ pagePersistentId: z238.string()
6975
7001
  });
6976
- var DTODocumentationPageAnalyticsResponse = z237.object({
7002
+ var DTODocumentationPageAnalyticsResponse = z238.object({
6977
7003
  globalAnalytics: DTOPublishedDocVisitData.array(),
6978
7004
  pageAnalytics: DTOPublishedDocPageVisitData.array(),
6979
7005
  heatMapData: DTOPublishedDocVisitHeatMapWeek.array(),
6980
7006
  comparisonData: DTOPublishedDocAnalyticsComparisonData.array(),
6981
7007
  pageComparisonData: DTOPublishedDocPageAnalyticsComparisonData.array()
6982
7008
  });
6983
- var DTODocumentationAnalyticsRequest = z237.object({
6984
- timeFrames: z237.array(DTODocumentationAnalyticsTimeFrame)
7009
+ var DTODocumentationAnalyticsRequest = z238.object({
7010
+ timeFrames: z238.array(DTODocumentationAnalyticsTimeFrame)
6985
7011
  });
6986
7012
 
6987
7013
  // src/api/dto/documentation/analytics.ts
6988
- import { z as z238 } from "zod";
6989
- var DTODocumentationPageAnalyticsDifference = z238.object({
6990
- startDate: z238.coerce.date(),
6991
- endDate: z238.coerce.date().optional(),
6992
- currentVisitCount: z238.number(),
6993
- currentSessionCount: z238.number(),
6994
- priorVisitCount: z238.number(),
6995
- priorSessionCount: z238.number()
7014
+ import { z as z239 } from "zod";
7015
+ var DTODocumentationPageAnalyticsDifference = z239.object({
7016
+ startDate: z239.coerce.date(),
7017
+ endDate: z239.coerce.date().optional(),
7018
+ currentVisitCount: z239.number(),
7019
+ currentSessionCount: z239.number(),
7020
+ priorVisitCount: z239.number(),
7021
+ priorSessionCount: z239.number()
6996
7022
  });
6997
- var DTODocumentationPageIntervalDifferenceResponse = z238.object({
6998
- differences: z238.array(DTODocumentationPageAnalyticsDifference)
7023
+ var DTODocumentationPageIntervalDifferenceResponse = z239.object({
7024
+ differences: z239.array(DTODocumentationPageAnalyticsDifference)
6999
7025
  });
7000
7026
 
7001
7027
  // src/api/dto/documentation/anchor.ts
7002
- import { z as z239 } from "zod";
7028
+ import { z as z240 } from "zod";
7003
7029
  var DTODocumentationPageAnchor = DocumentationPageAnchor;
7004
- var DTOGetDocumentationPageAnchorsResponse = z239.object({
7005
- anchors: z239.array(DTODocumentationPageAnchor)
7030
+ var DTOGetDocumentationPageAnchorsResponse = z240.object({
7031
+ anchors: z240.array(DTODocumentationPageAnchor)
7006
7032
  });
7007
7033
 
7008
7034
  // src/api/dto/documentation/approvals.ts
7009
- import { z as z240 } from "zod";
7010
- var DTODocumentationPageApprovalState = z240.object({
7035
+ import { z as z241 } from "zod";
7036
+ var DTODocumentationPageApprovalState = z241.object({
7011
7037
  approvalState: DocumentationPageApprovalState,
7012
- pagePersistentId: z240.string(),
7013
- updatedByUserId: z240.string(),
7014
- designSystemVersionId: z240.string(),
7015
- updatedAt: z240.coerce.date(),
7016
- createdAt: z240.coerce.date()
7017
- });
7018
- var DTODocumentationGroupApprovalState = z240.object({
7019
- persistentId: z240.string(),
7020
- groupPersistentId: z240.string(),
7021
- designSystemVersionId: z240.string(),
7038
+ pagePersistentId: z241.string(),
7039
+ updatedByUserId: z241.string(),
7040
+ designSystemVersionId: z241.string(),
7041
+ updatedAt: z241.coerce.date(),
7042
+ createdAt: z241.coerce.date()
7043
+ });
7044
+ var DTODocumentationGroupApprovalState = z241.object({
7045
+ persistentId: z241.string(),
7046
+ groupPersistentId: z241.string(),
7047
+ designSystemVersionId: z241.string(),
7022
7048
  approvalState: DocumentationPageApprovalState
7023
7049
  });
7024
7050
 
@@ -7026,68 +7052,68 @@ var DTODocumentationGroupApprovalState = z240.object({
7026
7052
  var DTOPageBlockItemV2 = PageBlockItemV2;
7027
7053
 
7028
7054
  // src/api/dto/documentation/documentation-page-snapshot.ts
7029
- import { z as z245 } from "zod";
7055
+ import { z as z246 } from "zod";
7030
7056
 
7031
7057
  // src/api/dto/elements/documentation/page-v2.ts
7032
- import { z as z244 } from "zod";
7058
+ import { z as z245 } from "zod";
7033
7059
 
7034
7060
  // src/api/dto/elements/documentation/draft-state.ts
7035
- import { z as z242 } from "zod";
7061
+ import { z as z243 } from "zod";
7036
7062
 
7037
7063
  // src/api/dto/elements/documentation/item-configuration-v2.ts
7038
- import { z as z241 } from "zod";
7064
+ import { z as z242 } from "zod";
7039
7065
  var DTODocumentationItemHeaderV2 = DocumentationItemHeaderV2;
7040
- var DTODocumentationItemConfigurationV2 = z241.object({
7041
- showSidebar: z241.boolean(),
7042
- isPrivate: z241.boolean(),
7043
- isHidden: z241.boolean(),
7066
+ var DTODocumentationItemConfigurationV2 = z242.object({
7067
+ showSidebar: z242.boolean(),
7068
+ isPrivate: z242.boolean(),
7069
+ isHidden: z242.boolean(),
7044
7070
  header: DTODocumentationItemHeaderV2
7045
7071
  });
7046
7072
 
7047
7073
  // src/api/dto/elements/documentation/draft-state.ts
7048
- var DTODocumentationDraftChangeType = z242.enum(["Created", "Updated", "Deleted"]);
7049
- var DTODocumentationDraftStateCreated = z242.object({
7050
- changeType: z242.literal(DTODocumentationDraftChangeType.enum.Created)
7051
- });
7052
- var DTODocumentationDraftStateUpdated = z242.object({
7053
- changeType: z242.literal(DTODocumentationDraftChangeType.enum.Updated),
7054
- changes: z242.object({
7055
- previousTitle: z242.string().optional(),
7074
+ var DTODocumentationDraftChangeType = z243.enum(["Created", "Updated", "Deleted"]);
7075
+ var DTODocumentationDraftStateCreated = z243.object({
7076
+ changeType: z243.literal(DTODocumentationDraftChangeType.enum.Created)
7077
+ });
7078
+ var DTODocumentationDraftStateUpdated = z243.object({
7079
+ changeType: z243.literal(DTODocumentationDraftChangeType.enum.Updated),
7080
+ changes: z243.object({
7081
+ previousTitle: z243.string().optional(),
7056
7082
  previousConfiguration: DTODocumentationItemConfigurationV2.optional(),
7057
- previousContentHash: z242.string().optional()
7083
+ previousContentHash: z243.string().optional()
7058
7084
  })
7059
7085
  });
7060
- var DTODocumentationDraftStateDeleted = z242.object({
7061
- changeType: z242.literal(DTODocumentationDraftChangeType.enum.Deleted),
7062
- deletedAt: z242.coerce.date(),
7063
- deletedByUserId: z242.string()
7086
+ var DTODocumentationDraftStateDeleted = z243.object({
7087
+ changeType: z243.literal(DTODocumentationDraftChangeType.enum.Deleted),
7088
+ deletedAt: z243.coerce.date(),
7089
+ deletedByUserId: z243.string()
7064
7090
  });
7065
- var DTODocumentationDraftState = z242.discriminatedUnion("changeType", [
7091
+ var DTODocumentationDraftState = z243.discriminatedUnion("changeType", [
7066
7092
  DTODocumentationDraftStateCreated,
7067
7093
  DTODocumentationDraftStateUpdated,
7068
7094
  DTODocumentationDraftStateDeleted
7069
7095
  ]);
7070
7096
 
7071
7097
  // src/api/dto/elements/documentation/metadata.ts
7072
- import { z as z243 } from "zod";
7073
- var DTODocumentationPublishMetadata = z243.object({
7074
- lastPublishedByUserId: z243.string(),
7075
- lastPublishedAt: z243.coerce.date()
7098
+ import { z as z244 } from "zod";
7099
+ var DTODocumentationPublishMetadata = z244.object({
7100
+ lastPublishedByUserId: z244.string(),
7101
+ lastPublishedAt: z244.coerce.date()
7076
7102
  });
7077
7103
 
7078
7104
  // src/api/dto/elements/documentation/page-v2.ts
7079
- var DTODocumentationPageV2 = z244.object({
7080
- id: z244.string(),
7081
- persistentId: z244.string(),
7082
- designSystemVersionId: z244.string(),
7083
- title: z244.string(),
7105
+ var DTODocumentationPageV2 = z245.object({
7106
+ id: z245.string(),
7107
+ persistentId: z245.string(),
7108
+ designSystemVersionId: z245.string(),
7109
+ title: z245.string(),
7084
7110
  configuration: DTODocumentationItemConfigurationV2,
7085
- shortPersistentId: z244.string(),
7086
- slug: z244.string().optional(),
7087
- userSlug: z244.string().optional(),
7088
- createdAt: z244.coerce.date(),
7089
- updatedAt: z244.coerce.date(),
7090
- path: z244.string(),
7111
+ shortPersistentId: z245.string(),
7112
+ slug: z245.string().optional(),
7113
+ userSlug: z245.string().optional(),
7114
+ createdAt: z245.coerce.date(),
7115
+ updatedAt: z245.coerce.date(),
7116
+ path: z245.string(),
7091
7117
  /** Defined when a page has changed since last publish and can be included into a partial publish */
7092
7118
  draftState: DTODocumentationDraftState.optional(),
7093
7119
  /** Defined if a page was published at least once and contains metadata about last publish */
@@ -7095,267 +7121,267 @@ var DTODocumentationPageV2 = z244.object({
7095
7121
  /** Defines the approval state of the documentation page */
7096
7122
  approvalState: DTODocumentationPageApprovalState.optional(),
7097
7123
  /** Id of the page document room */
7098
- liveblocksRoomId: z244.string().optional(),
7124
+ liveblocksRoomId: z245.string().optional(),
7099
7125
  // Backward compatibility
7100
- type: z244.literal("Page")
7126
+ type: z245.literal("Page")
7101
7127
  });
7102
- var DTOCreateDocumentationPageInputV2 = z244.object({
7128
+ var DTOCreateDocumentationPageInputV2 = z245.object({
7103
7129
  // Identifier
7104
- persistentId: z244.string(),
7130
+ persistentId: z245.string(),
7105
7131
  // Page properties
7106
- title: z244.string(),
7132
+ title: z245.string(),
7107
7133
  configuration: DTODocumentationItemConfigurationV2.partial().optional(),
7108
7134
  // Page placement properties
7109
- parentPersistentId: z244.string(),
7110
- afterPersistentId: z244.string().nullish()
7135
+ parentPersistentId: z245.string(),
7136
+ afterPersistentId: z245.string().nullish()
7111
7137
  });
7112
- var DTOUpdateDocumentationPageInputV2 = z244.object({
7138
+ var DTOUpdateDocumentationPageInputV2 = z245.object({
7113
7139
  // Identifier of the page to update
7114
- id: z244.string(),
7140
+ id: z245.string(),
7115
7141
  // Page properties
7116
- title: z244.string().optional(),
7142
+ title: z245.string().optional(),
7117
7143
  configuration: DTODocumentationItemConfigurationV2.partial().optional()
7118
7144
  });
7119
- var DTOUpdateDocumentationPageDocumentInputV2 = z244.object({
7145
+ var DTOUpdateDocumentationPageDocumentInputV2 = z245.object({
7120
7146
  // Identifier of the page to update
7121
- id: z244.string(),
7147
+ id: z245.string(),
7122
7148
  // Page properties
7123
- documentItems: z244.array(DocumentationPageContentItem)
7149
+ documentItems: z245.array(DocumentationPageContentItem)
7124
7150
  });
7125
- var DTOMoveDocumentationPageInputV2 = z244.object({
7151
+ var DTOMoveDocumentationPageInputV2 = z245.object({
7126
7152
  // Identifier of the group to update
7127
- id: z244.string(),
7153
+ id: z245.string(),
7128
7154
  // Page placement properties
7129
- parentPersistentId: z244.string(),
7130
- afterPersistentId: z244.string().nullish()
7155
+ parentPersistentId: z245.string(),
7156
+ afterPersistentId: z245.string().nullish()
7131
7157
  });
7132
- var DTODuplicateDocumentationPageInputV2 = z244.object({
7158
+ var DTODuplicateDocumentationPageInputV2 = z245.object({
7133
7159
  // Identifier of the page to duplicate from
7134
- id: z244.string(),
7160
+ id: z245.string(),
7135
7161
  // New page persistent id
7136
- persistentId: z244.string(),
7162
+ persistentId: z245.string(),
7137
7163
  // Page placement properties
7138
- parentPersistentId: z244.string(),
7139
- afterPersistentId: z244.string().nullish()
7164
+ parentPersistentId: z245.string(),
7165
+ afterPersistentId: z245.string().nullish()
7140
7166
  });
7141
- var DTODeleteDocumentationPageInputV2 = z244.object({
7167
+ var DTODeleteDocumentationPageInputV2 = z245.object({
7142
7168
  // Identifier
7143
- id: z244.string()
7169
+ id: z245.string()
7144
7170
  });
7145
- var DTORestoreDocumentationPageInput = z244.object({
7146
- persistentId: z244.string(),
7147
- snapshotId: z244.string().optional()
7171
+ var DTORestoreDocumentationPageInput = z245.object({
7172
+ persistentId: z245.string(),
7173
+ snapshotId: z245.string().optional()
7148
7174
  });
7149
- var DTORestoreDocumentationGroupInput = z244.object({
7150
- persistentId: z244.string(),
7151
- snapshotId: z244.string().optional()
7175
+ var DTORestoreDocumentationGroupInput = z245.object({
7176
+ persistentId: z245.string(),
7177
+ snapshotId: z245.string().optional()
7152
7178
  });
7153
- var DTODocumentationPageApprovalStateChangeInput = z244.object({
7154
- persistentId: z244.string(),
7179
+ var DTODocumentationPageApprovalStateChangeInput = z245.object({
7180
+ persistentId: z245.string(),
7155
7181
  approvalState: DocumentationPageApprovalState.optional()
7156
7182
  });
7157
7183
 
7158
7184
  // src/api/dto/documentation/documentation-page-snapshot.ts
7159
- var DTODocumentationPageSnapshot = z245.object({
7160
- id: z245.string(),
7161
- designSystemVersionId: z245.string(),
7162
- createdAt: z245.string(),
7163
- updatedAt: z245.string(),
7185
+ var DTODocumentationPageSnapshot = z246.object({
7186
+ id: z246.string(),
7187
+ designSystemVersionId: z246.string(),
7188
+ createdAt: z246.string(),
7189
+ updatedAt: z246.string(),
7164
7190
  documentationPage: DTODocumentationPageV2,
7165
- pageContentHash: z245.string(),
7191
+ pageContentHash: z246.string(),
7166
7192
  reason: DesignElementSnapshotReason
7167
7193
  });
7168
7194
 
7169
7195
  // src/api/dto/documentation/link-preview.ts
7170
- import { z as z246 } from "zod";
7171
- var DTODocumentationLinkPreviewResponse = z246.object({
7196
+ import { z as z247 } from "zod";
7197
+ var DTODocumentationLinkPreviewResponse = z247.object({
7172
7198
  linkPreview: DocumentationLinkPreview
7173
7199
  });
7174
- var DTODocumentationLinkPreviewRequest = z246.object({
7175
- url: z246.string().optional(),
7176
- documentationItemPersistentId: z246.string().optional()
7200
+ var DTODocumentationLinkPreviewRequest = z247.object({
7201
+ url: z247.string().optional(),
7202
+ documentationItemPersistentId: z247.string().optional()
7177
7203
  });
7178
7204
 
7179
7205
  // src/api/dto/documentation/publish.ts
7180
- import { z as z250 } from "zod";
7206
+ import { z as z251 } from "zod";
7181
7207
 
7182
7208
  // src/api/dto/export/exporter.ts
7183
- import { z as z247 } from "zod";
7184
- var DTOExporterType = z247.enum(["documentation", "code"]);
7185
- var DTOExporterSource = z247.enum(["git", "upload"]);
7186
- var DTOExporterMembershipRole = z247.enum(["Owner", "OwnerArchived", "User"]);
7187
- var DTOExporterListQuery = z247.object({
7188
- limit: z247.coerce.number().optional(),
7189
- offset: z247.coerce.number().optional(),
7209
+ import { z as z248 } from "zod";
7210
+ var DTOExporterType = z248.enum(["documentation", "code"]);
7211
+ var DTOExporterSource = z248.enum(["git", "upload"]);
7212
+ var DTOExporterMembershipRole = z248.enum(["Owner", "OwnerArchived", "User"]);
7213
+ var DTOExporterListQuery = z248.object({
7214
+ limit: z248.coerce.number().optional(),
7215
+ offset: z248.coerce.number().optional(),
7190
7216
  type: DTOExporterType.optional(),
7191
- search: z247.string().optional()
7217
+ search: z248.string().optional()
7192
7218
  });
7193
- var DTOExporter = z247.object({
7194
- id: z247.string(),
7195
- name: z247.string(),
7196
- isPrivate: z247.boolean(),
7219
+ var DTOExporter = z248.object({
7220
+ id: z248.string(),
7221
+ name: z248.string(),
7222
+ isPrivate: z248.boolean(),
7197
7223
  exporterType: DTOExporterType,
7198
- isDefaultDocumentationExporter: z247.boolean(),
7199
- iconURL: z247.string().optional(),
7224
+ isDefaultDocumentationExporter: z248.boolean(),
7225
+ iconURL: z248.string().optional(),
7200
7226
  configurationProperties: PulsarContributionConfigurationProperty.array(),
7201
7227
  properties: DTOExporterPropertyDefinition.array().optional(),
7202
7228
  customBlocks: PulsarCustomBlock.array(),
7203
- blockVariants: z247.record(z247.string(), PulsarContributionVariant.array()),
7204
- homepage: z247.string().optional(),
7205
- organization: z247.string().optional(),
7206
- packageId: z247.string().optional(),
7207
- tags: z247.array(z247.string()),
7208
- author: z247.string().optional(),
7209
- version: z247.string(),
7210
- description: z247.string(),
7211
- usesLocale: z247.boolean(),
7212
- usesBrands: z247.boolean(),
7213
- usesThemes: z247.boolean(),
7214
- readme: z247.string().optional(),
7215
- routingVersion: z247.string().optional(),
7229
+ blockVariants: z248.record(z248.string(), PulsarContributionVariant.array()),
7230
+ homepage: z248.string().optional(),
7231
+ organization: z248.string().optional(),
7232
+ packageId: z248.string().optional(),
7233
+ tags: z248.array(z248.string()),
7234
+ author: z248.string().optional(),
7235
+ version: z248.string(),
7236
+ description: z248.string(),
7237
+ usesLocale: z248.boolean(),
7238
+ usesBrands: z248.boolean(),
7239
+ usesThemes: z248.boolean(),
7240
+ readme: z248.string().optional(),
7241
+ routingVersion: z248.string().optional(),
7216
7242
  source: DTOExporterSource,
7217
- gitProvider: z247.string().optional(),
7218
- gitUrl: nullishToOptional(z247.string()),
7219
- gitBranch: nullishToOptional(z247.string()),
7220
- gitDirectory: nullishToOptional(z247.string()),
7221
- isDeprecated: z247.boolean(),
7222
- deprecationNote: z247.string().optional(),
7223
- replacementExporterId: z247.string().optional()
7224
- });
7225
- var DTOExporterMembership = z247.object({
7226
- workspaceId: z247.string(),
7227
- exporterId: z247.string(),
7243
+ gitProvider: z248.string().optional(),
7244
+ gitUrl: nullishToOptional(z248.string()),
7245
+ gitBranch: nullishToOptional(z248.string()),
7246
+ gitDirectory: nullishToOptional(z248.string()),
7247
+ isDeprecated: z248.boolean(),
7248
+ deprecationNote: z248.string().optional(),
7249
+ replacementExporterId: z248.string().optional()
7250
+ });
7251
+ var DTOExporterMembership = z248.object({
7252
+ workspaceId: z248.string(),
7253
+ exporterId: z248.string(),
7228
7254
  role: DTOExporterMembershipRole
7229
7255
  });
7230
- var DTOExporterResponse = z247.object({
7256
+ var DTOExporterResponse = z248.object({
7231
7257
  exporter: DTOExporter,
7232
7258
  membership: DTOExporterMembership
7233
7259
  });
7234
- var DTOExporterListResponse = z247.object({
7260
+ var DTOExporterListResponse = z248.object({
7235
7261
  exporters: DTOExporter.array(),
7236
7262
  membership: DTOExporterMembership.array(),
7237
- total: z247.number()
7263
+ total: z248.number()
7238
7264
  });
7239
- var DTOExporterGitProviderEnum = z247.enum(["github", "gitlab", "bitbucket", "azure"]);
7240
- var DTOExporterCreateInput = z247.object({
7241
- url: z247.string(),
7265
+ var DTOExporterGitProviderEnum = z248.enum(["github", "gitlab", "bitbucket", "azure"]);
7266
+ var DTOExporterCreateInput = z248.object({
7267
+ url: z248.string(),
7242
7268
  provider: DTOExporterGitProviderEnum
7243
7269
  });
7244
- var DTOExporterUpdateInput = z247.object({
7245
- url: z247.string().optional()
7270
+ var DTOExporterUpdateInput = z248.object({
7271
+ url: z248.string().optional()
7246
7272
  });
7247
- var DTOExporterDeprecationInput = z247.object({
7248
- isDeprecated: z247.boolean(),
7249
- deprecationNote: z247.string().optional(),
7250
- replacementExporterId: z247.string().optional()
7273
+ var DTOExporterDeprecationInput = z248.object({
7274
+ isDeprecated: z248.boolean(),
7275
+ deprecationNote: z248.string().optional(),
7276
+ replacementExporterId: z248.string().optional()
7251
7277
  });
7252
7278
 
7253
7279
  // src/api/dto/export/filter.ts
7254
7280
  var DTOExportJobsListFilter = ExportJobFindByFilter;
7255
7281
 
7256
7282
  // src/api/dto/export/job.ts
7257
- import { z as z248 } from "zod";
7258
- var DTOExportJobCreatedBy = z248.object({
7259
- userId: z248.string(),
7260
- userName: z248.string()
7283
+ import { z as z249 } from "zod";
7284
+ var DTOExportJobCreatedBy = z249.object({
7285
+ userId: z249.string(),
7286
+ userName: z249.string()
7261
7287
  });
7262
- var DTOExportJobDesignSystemPreview = z248.object({
7263
- id: z248.string(),
7288
+ var DTOExportJobDesignSystemPreview = z249.object({
7289
+ id: z249.string(),
7264
7290
  meta: ObjectMeta
7265
7291
  });
7266
- var DTOExportJobDesignSystemVersionPreview = z248.object({
7267
- id: z248.string(),
7292
+ var DTOExportJobDesignSystemVersionPreview = z249.object({
7293
+ id: z249.string(),
7268
7294
  meta: ObjectMeta,
7269
- version: z248.string(),
7270
- isReadonly: z248.boolean()
7295
+ version: z249.string(),
7296
+ isReadonly: z249.boolean()
7271
7297
  });
7272
- var DTOExportJobDestinations = z248.object({
7298
+ var DTOExportJobDestinations = z249.object({
7273
7299
  s3: ExporterDestinationS3.optional(),
7274
7300
  azure: ExporterDestinationAzure.optional(),
7275
7301
  bitbucket: ExporterDestinationBitbucket.optional(),
7276
7302
  github: ExporterDestinationGithub.optional(),
7277
7303
  gitlab: ExporterDestinationGitlab.optional(),
7278
7304
  documentation: ExporterDestinationDocs.optional(),
7279
- webhookUrl: z248.string().optional()
7305
+ webhookUrl: z249.string().optional()
7280
7306
  });
7281
7307
  var DTOExportJobResult = ExportJobResult.omit({
7282
7308
  sndocs: true
7283
7309
  }).extend({
7284
7310
  documentation: ExportJobDocsDestinationResult.optional()
7285
7311
  });
7286
- var DTOExportJob = z248.object({
7287
- id: z248.string(),
7288
- createdAt: z248.coerce.date(),
7289
- finishedAt: z248.coerce.date().optional(),
7290
- index: z248.number().optional(),
7312
+ var DTOExportJob = z249.object({
7313
+ id: z249.string(),
7314
+ createdAt: z249.coerce.date(),
7315
+ finishedAt: z249.coerce.date().optional(),
7316
+ index: z249.number().optional(),
7291
7317
  status: ExportJobStatus,
7292
- estimatedExecutionTime: z248.number().optional(),
7318
+ estimatedExecutionTime: z249.number().optional(),
7293
7319
  createdBy: DTOExportJobCreatedBy.optional(),
7294
7320
  designSystem: DTOExportJobDesignSystemPreview,
7295
7321
  designSystemVersion: DTOExportJobDesignSystemVersionPreview,
7296
7322
  destinations: DTOExportJobDestinations,
7297
- exporterId: z248.string(),
7298
- scheduleId: z248.string().optional(),
7323
+ exporterId: z249.string(),
7324
+ scheduleId: z249.string().optional(),
7299
7325
  result: DTOExportJobResult.optional(),
7300
- brandPersistentId: z248.string().optional(),
7301
- themePersistentId: z248.string().optional(),
7302
- themePersistentIds: z248.string().array().optional(),
7326
+ brandPersistentId: z249.string().optional(),
7327
+ themePersistentId: z249.string().optional(),
7328
+ themePersistentIds: z249.string().array().optional(),
7303
7329
  exporterPropertyValues: DTOExporterPropertyValueMap.optional()
7304
7330
  });
7305
- var DTOExportJobResponse = z248.object({
7331
+ var DTOExportJobResponse = z249.object({
7306
7332
  job: DTOExportJob
7307
7333
  });
7308
- var DTOExportJobResponseLegacy = z248.object({
7309
- job: z248.object({
7310
- id: z248.string(),
7334
+ var DTOExportJobResponseLegacy = z249.object({
7335
+ job: z249.object({
7336
+ id: z249.string(),
7311
7337
  status: ExportJobStatus
7312
7338
  })
7313
7339
  });
7314
- var DTOExportJobCreateInput = z248.object({
7315
- designSystemId: z248.string(),
7316
- designSystemVersionId: z248.string(),
7317
- exporterId: z248.string(),
7318
- brandId: z248.string().optional(),
7319
- themeId: z248.string().optional(),
7320
- themePersistentIds: z248.string().array().optional(),
7340
+ var DTOExportJobCreateInput = z249.object({
7341
+ designSystemId: z249.string(),
7342
+ designSystemVersionId: z249.string(),
7343
+ exporterId: z249.string(),
7344
+ brandId: z249.string().optional(),
7345
+ themeId: z249.string().optional(),
7346
+ themePersistentIds: z249.string().array().optional(),
7321
7347
  destinations: DTOExportJobDestinations,
7322
7348
  exporterPropertyValues: DTOExporterPropertyValueMap.optional(),
7323
- previewMode: z248.boolean().optional()
7349
+ previewMode: z249.boolean().optional()
7324
7350
  });
7325
7351
 
7326
7352
  // src/api/dto/export/pipeline.ts
7327
- import { z as z249 } from "zod";
7328
- var DTOPipelineListQuery = z249.object({
7329
- designSystemId: z249.string().optional(),
7330
- exporterId: z249.string().optional(),
7331
- latestJobsLimit: z249.coerce.number().optional()
7332
- });
7333
- var DTOPipeline = z249.object({
7334
- id: z249.string(),
7335
- name: z249.string(),
7353
+ import { z as z250 } from "zod";
7354
+ var DTOPipelineListQuery = z250.object({
7355
+ designSystemId: z250.string().optional(),
7356
+ exporterId: z250.string().optional(),
7357
+ latestJobsLimit: z250.coerce.number().optional()
7358
+ });
7359
+ var DTOPipeline = z250.object({
7360
+ id: z250.string(),
7361
+ name: z250.string(),
7336
7362
  eventType: PipelineEventType,
7337
- isEnabled: z249.boolean(),
7338
- workspaceId: z249.string(),
7339
- designSystemId: z249.string(),
7340
- exporterId: z249.string(),
7341
- brandPersistentId: z249.string().optional(),
7342
- themePersistentId: z249.string().optional(),
7343
- themePersistentIds: z249.string().array().optional(),
7363
+ isEnabled: z250.boolean(),
7364
+ workspaceId: z250.string(),
7365
+ designSystemId: z250.string(),
7366
+ exporterId: z250.string(),
7367
+ brandPersistentId: z250.string().optional(),
7368
+ themePersistentId: z250.string().optional(),
7369
+ themePersistentIds: z250.string().array().optional(),
7344
7370
  exporterPropertyValues: DTOExporterPropertyValueMap.optional(),
7345
7371
  ...ExportDestinationsMap.shape,
7346
7372
  latestJobs: DTOExportJob.array(),
7347
- isExporterDeprecated: z249.boolean()
7373
+ isExporterDeprecated: z250.boolean()
7348
7374
  });
7349
- var DTOPipelineListResponse = z249.object({
7375
+ var DTOPipelineListResponse = z250.object({
7350
7376
  pipelines: DTOPipeline.array()
7351
7377
  });
7352
- var DTOPipelineResponse = z249.object({
7378
+ var DTOPipelineResponse = z250.object({
7353
7379
  pipeline: DTOPipeline
7354
7380
  });
7355
7381
 
7356
7382
  // src/api/dto/documentation/publish.ts
7357
7383
  var DTOPublishDocumentationChanges = ExportJobDocumentationChanges;
7358
- var DTOPublishDocumentationRequest = z250.object({
7384
+ var DTOPublishDocumentationRequest = z251.object({
7359
7385
  environment: PublishedDocEnvironment,
7360
7386
  /**
7361
7387
  * If defined, this allows narrowing down what is published to a set of specific pages and groups
@@ -7363,66 +7389,66 @@ var DTOPublishDocumentationRequest = z250.object({
7363
7389
  */
7364
7390
  changes: DTOPublishDocumentationChanges.optional()
7365
7391
  });
7366
- var DTOPublishDocumentationResponse = z250.object({
7392
+ var DTOPublishDocumentationResponse = z251.object({
7367
7393
  job: DTOExportJob
7368
7394
  });
7369
7395
 
7370
7396
  // src/api/dto/documentation/room.ts
7371
- import { z as z251 } from "zod";
7372
- var DTODocumentationPageRoom = z251.object({
7373
- id: z251.string()
7397
+ import { z as z252 } from "zod";
7398
+ var DTODocumentationPageRoom = z252.object({
7399
+ id: z252.string()
7374
7400
  });
7375
- var DTODocumentationPageRoomResponse = z251.object({
7401
+ var DTODocumentationPageRoomResponse = z252.object({
7376
7402
  room: DTODocumentationPageRoom
7377
7403
  });
7378
7404
 
7379
7405
  // src/api/dto/elements/components/figma-component-group.ts
7380
- import z252 from "zod";
7381
- var DTOFigmaComponentGroup = z252.object({
7382
- id: z252.string(),
7383
- designSystemVersionId: z252.string(),
7384
- persistentId: z252.string(),
7385
- isRoot: z252.boolean(),
7386
- brandId: z252.string(),
7406
+ import z253 from "zod";
7407
+ var DTOFigmaComponentGroup = z253.object({
7408
+ id: z253.string(),
7409
+ designSystemVersionId: z253.string(),
7410
+ persistentId: z253.string(),
7411
+ isRoot: z253.boolean(),
7412
+ brandId: z253.string(),
7387
7413
  meta: DTOObjectMeta,
7388
- childrenIds: z252.string().array()
7414
+ childrenIds: z253.string().array()
7389
7415
  });
7390
- var DTOFigmaComponentGroupListResponse = z252.object({
7416
+ var DTOFigmaComponentGroupListResponse = z253.object({
7391
7417
  groups: DTOFigmaComponentGroup.array()
7392
7418
  });
7393
7419
 
7394
7420
  // src/api/dto/elements/components/figma-component.ts
7395
- import { z as z253 } from "zod";
7421
+ import { z as z254 } from "zod";
7396
7422
  var DTOFigmaComponentProperty = FigmaComponentProperty;
7397
- var DTOFigmaComponentPropertyMap = z253.record(DTOFigmaComponentProperty);
7398
- var DTOFigmaComponent = z253.object({
7399
- id: z253.string(),
7400
- persistentId: z253.string(),
7401
- designSystemVersionId: z253.string(),
7402
- brandId: z253.string(),
7403
- thumbnailUrl: z253.string().optional(),
7404
- svgUrl: z253.string().optional(),
7405
- exportProperties: z253.object({
7406
- isAsset: z253.boolean()
7423
+ var DTOFigmaComponentPropertyMap = z254.record(DTOFigmaComponentProperty);
7424
+ var DTOFigmaComponent = z254.object({
7425
+ id: z254.string(),
7426
+ persistentId: z254.string(),
7427
+ designSystemVersionId: z254.string(),
7428
+ brandId: z254.string(),
7429
+ thumbnailUrl: z254.string().optional(),
7430
+ svgUrl: z254.string().optional(),
7431
+ exportProperties: z254.object({
7432
+ isAsset: z254.boolean()
7407
7433
  }),
7408
- createdAt: z253.coerce.date(),
7409
- updatedAt: z253.coerce.date(),
7434
+ createdAt: z254.coerce.date(),
7435
+ updatedAt: z254.coerce.date(),
7410
7436
  meta: ObjectMeta,
7411
7437
  originComponent: FigmaComponentOrigin.optional(),
7412
- parentComponentPersistentId: z253.string().optional(),
7413
- childrenPersistentIds: z253.string().array().optional(),
7438
+ parentComponentPersistentId: z254.string().optional(),
7439
+ childrenPersistentIds: z254.string().array().optional(),
7414
7440
  componentPropertyDefinitions: DTOFigmaComponentPropertyMap.optional(),
7415
- variantPropertyValues: z253.record(z253.string()).optional()
7441
+ variantPropertyValues: z254.record(z254.string()).optional()
7416
7442
  });
7417
- var DTOFigmaComponentListResponse = z253.object({
7443
+ var DTOFigmaComponentListResponse = z254.object({
7418
7444
  components: DTOFigmaComponent.array()
7419
7445
  });
7420
7446
 
7421
7447
  // src/api/dto/elements/documentation/group-action.ts
7422
- import { z as z255 } from "zod";
7448
+ import { z as z256 } from "zod";
7423
7449
 
7424
7450
  // src/api/dto/elements/documentation/group-v2.ts
7425
- import { z as z254 } from "zod";
7451
+ import { z as z255 } from "zod";
7426
7452
  var DTODocumentationGroupV2 = ElementGroup.omit({
7427
7453
  sortOrder: true,
7428
7454
  parentPersistentId: true,
@@ -7432,13 +7458,13 @@ var DTODocumentationGroupV2 = ElementGroup.omit({
7432
7458
  data: true,
7433
7459
  shortPersistentId: true
7434
7460
  }).extend({
7435
- title: z254.string(),
7436
- isRoot: z254.boolean(),
7437
- childrenIds: z254.array(z254.string()),
7461
+ title: z255.string(),
7462
+ isRoot: z255.boolean(),
7463
+ childrenIds: z255.array(z255.string()),
7438
7464
  groupBehavior: DocumentationGroupBehavior,
7439
- shortPersistentId: z254.string(),
7465
+ shortPersistentId: z255.string(),
7440
7466
  configuration: DTODocumentationItemConfigurationV2,
7441
- type: z254.literal("Group"),
7467
+ type: z255.literal("Group"),
7442
7468
  /** Defined when a group has changed since last publish and can be included into a partial publish */
7443
7469
  draftState: DTODocumentationDraftState.optional(),
7444
7470
  /** Defined if a group was published at least once and contains metadata about last publish */
@@ -7446,127 +7472,127 @@ var DTODocumentationGroupV2 = ElementGroup.omit({
7446
7472
  //** An approval state for frontend to utilize. */
7447
7473
  approvalState: DTODocumentationGroupApprovalState.optional()
7448
7474
  });
7449
- var DTOCreateDocumentationGroupInput = z254.object({
7475
+ var DTOCreateDocumentationGroupInput = z255.object({
7450
7476
  // Identifier
7451
- persistentId: z254.string(),
7477
+ persistentId: z255.string(),
7452
7478
  // Group properties
7453
- title: z254.string(),
7479
+ title: z255.string(),
7454
7480
  configuration: DTODocumentationItemConfigurationV2.partial().optional(),
7455
7481
  // Group placement properties
7456
- afterPersistentId: z254.string().nullish(),
7457
- parentPersistentId: z254.string()
7482
+ afterPersistentId: z255.string().nullish(),
7483
+ parentPersistentId: z255.string()
7458
7484
  });
7459
- var DTOUpdateDocumentationGroupInput = z254.object({
7485
+ var DTOUpdateDocumentationGroupInput = z255.object({
7460
7486
  // Identifier of the group to update
7461
- id: z254.string(),
7487
+ id: z255.string(),
7462
7488
  // Group properties
7463
- title: z254.string().optional(),
7489
+ title: z255.string().optional(),
7464
7490
  configuration: DTODocumentationItemConfigurationV2.partial().optional()
7465
7491
  });
7466
- var DTOMoveDocumentationGroupInput = z254.object({
7492
+ var DTOMoveDocumentationGroupInput = z255.object({
7467
7493
  // Identifier of the group to update
7468
- id: z254.string(),
7494
+ id: z255.string(),
7469
7495
  // Group placement properties
7470
- parentPersistentId: z254.string(),
7471
- afterPersistentId: z254.string().nullish()
7496
+ parentPersistentId: z255.string(),
7497
+ afterPersistentId: z255.string().nullish()
7472
7498
  });
7473
- var DTODuplicateDocumentationGroupInput = z254.object({
7499
+ var DTODuplicateDocumentationGroupInput = z255.object({
7474
7500
  // Identifier of the group to duplicate from
7475
- id: z254.string(),
7501
+ id: z255.string(),
7476
7502
  // New group persistent id
7477
- persistentId: z254.string(),
7503
+ persistentId: z255.string(),
7478
7504
  // Group placement properties
7479
- afterPersistentId: z254.string().nullish(),
7480
- parentPersistentId: z254.string()
7505
+ afterPersistentId: z255.string().nullish(),
7506
+ parentPersistentId: z255.string()
7481
7507
  });
7482
- var DTOCreateDocumentationTabInput = z254.object({
7508
+ var DTOCreateDocumentationTabInput = z255.object({
7483
7509
  // New group persistent id
7484
- persistentId: z254.string(),
7510
+ persistentId: z255.string(),
7485
7511
  // If this is page, we will attempt to convert it to tab
7486
7512
  // If this is tab group, we will add a new tab to it
7487
- fromItemPersistentId: z254.string(),
7488
- tabName: z254.string()
7513
+ fromItemPersistentId: z255.string(),
7514
+ tabName: z255.string()
7489
7515
  });
7490
- var DTODeleteDocumentationTabGroupInput = z254.object({
7516
+ var DTODeleteDocumentationTabGroupInput = z255.object({
7491
7517
  // Deleted group id
7492
- id: z254.string()
7518
+ id: z255.string()
7493
7519
  });
7494
- var DTODeleteDocumentationGroupInput = z254.object({
7520
+ var DTODeleteDocumentationGroupInput = z255.object({
7495
7521
  // Identifier
7496
- id: z254.string(),
7522
+ id: z255.string(),
7497
7523
  // Deletion options
7498
- deleteSubtree: z254.boolean().default(false)
7524
+ deleteSubtree: z255.boolean().default(false)
7499
7525
  });
7500
7526
 
7501
7527
  // src/api/dto/elements/documentation/group-action.ts
7502
- var SuccessPayload = z255.object({
7503
- success: z255.literal(true)
7528
+ var SuccessPayload = z256.object({
7529
+ success: z256.literal(true)
7504
7530
  });
7505
- var DTODocumentationGroupCreateActionOutputV2 = z255.object({
7506
- type: z255.literal("DocumentationGroupCreate"),
7531
+ var DTODocumentationGroupCreateActionOutputV2 = z256.object({
7532
+ type: z256.literal("DocumentationGroupCreate"),
7507
7533
  output: SuccessPayload
7508
7534
  });
7509
- var DTODocumentationTabCreateActionOutputV2 = z255.object({
7510
- type: z255.literal("DocumentationTabCreate"),
7535
+ var DTODocumentationTabCreateActionOutputV2 = z256.object({
7536
+ type: z256.literal("DocumentationTabCreate"),
7511
7537
  output: SuccessPayload
7512
7538
  });
7513
- var DTODocumentationGroupUpdateActionOutputV2 = z255.object({
7514
- type: z255.literal("DocumentationGroupUpdate"),
7539
+ var DTODocumentationGroupUpdateActionOutputV2 = z256.object({
7540
+ type: z256.literal("DocumentationGroupUpdate"),
7515
7541
  output: SuccessPayload
7516
7542
  });
7517
- var DTODocumentationGroupMoveActionOutputV2 = z255.object({
7518
- type: z255.literal("DocumentationGroupMove"),
7543
+ var DTODocumentationGroupMoveActionOutputV2 = z256.object({
7544
+ type: z256.literal("DocumentationGroupMove"),
7519
7545
  output: SuccessPayload
7520
7546
  });
7521
- var DTODocumentationGroupDuplicateActionOutputV2 = z255.object({
7522
- type: z255.literal("DocumentationGroupDuplicate"),
7547
+ var DTODocumentationGroupDuplicateActionOutputV2 = z256.object({
7548
+ type: z256.literal("DocumentationGroupDuplicate"),
7523
7549
  output: SuccessPayload
7524
7550
  });
7525
- var DTODocumentationGroupDeleteActionOutputV2 = z255.object({
7526
- type: z255.literal("DocumentationGroupDelete"),
7551
+ var DTODocumentationGroupDeleteActionOutputV2 = z256.object({
7552
+ type: z256.literal("DocumentationGroupDelete"),
7527
7553
  output: SuccessPayload
7528
7554
  });
7529
- var DTODocumentationTabGroupDeleteActionOutputV2 = z255.object({
7530
- type: z255.literal("DocumentationTabGroupDelete"),
7555
+ var DTODocumentationTabGroupDeleteActionOutputV2 = z256.object({
7556
+ type: z256.literal("DocumentationTabGroupDelete"),
7531
7557
  output: SuccessPayload
7532
7558
  });
7533
- var DTODocumentationGroupCreateActionInputV2 = z255.object({
7534
- type: z255.literal("DocumentationGroupCreate"),
7559
+ var DTODocumentationGroupCreateActionInputV2 = z256.object({
7560
+ type: z256.literal("DocumentationGroupCreate"),
7535
7561
  input: DTOCreateDocumentationGroupInput
7536
7562
  });
7537
- var DTODocumentationTabCreateActionInputV2 = z255.object({
7538
- type: z255.literal("DocumentationTabCreate"),
7563
+ var DTODocumentationTabCreateActionInputV2 = z256.object({
7564
+ type: z256.literal("DocumentationTabCreate"),
7539
7565
  input: DTOCreateDocumentationTabInput
7540
7566
  });
7541
- var DTODocumentationGroupUpdateActionInputV2 = z255.object({
7542
- type: z255.literal("DocumentationGroupUpdate"),
7567
+ var DTODocumentationGroupUpdateActionInputV2 = z256.object({
7568
+ type: z256.literal("DocumentationGroupUpdate"),
7543
7569
  input: DTOUpdateDocumentationGroupInput
7544
7570
  });
7545
- var DTODocumentationGroupMoveActionInputV2 = z255.object({
7546
- type: z255.literal("DocumentationGroupMove"),
7571
+ var DTODocumentationGroupMoveActionInputV2 = z256.object({
7572
+ type: z256.literal("DocumentationGroupMove"),
7547
7573
  input: DTOMoveDocumentationGroupInput
7548
7574
  });
7549
- var DTODocumentationGroupDuplicateActionInputV2 = z255.object({
7550
- type: z255.literal("DocumentationGroupDuplicate"),
7575
+ var DTODocumentationGroupDuplicateActionInputV2 = z256.object({
7576
+ type: z256.literal("DocumentationGroupDuplicate"),
7551
7577
  input: DTODuplicateDocumentationGroupInput
7552
7578
  });
7553
- var DTODocumentationGroupDeleteActionInputV2 = z255.object({
7554
- type: z255.literal("DocumentationGroupDelete"),
7579
+ var DTODocumentationGroupDeleteActionInputV2 = z256.object({
7580
+ type: z256.literal("DocumentationGroupDelete"),
7555
7581
  input: DTODeleteDocumentationGroupInput
7556
7582
  });
7557
- var DTODocumentationTabGroupDeleteActionInputV2 = z255.object({
7558
- type: z255.literal("DocumentationTabGroupDelete"),
7583
+ var DTODocumentationTabGroupDeleteActionInputV2 = z256.object({
7584
+ type: z256.literal("DocumentationTabGroupDelete"),
7559
7585
  input: DTODeleteDocumentationTabGroupInput
7560
7586
  });
7561
7587
 
7562
7588
  // src/api/dto/elements/documentation/group-v1.ts
7563
- import { z as z257 } from "zod";
7589
+ import { z as z258 } from "zod";
7564
7590
 
7565
7591
  // src/api/dto/elements/documentation/item-configuration-v1.ts
7566
- import { z as z256 } from "zod";
7567
- var DocumentationColorV1 = z256.object({
7568
- aliasTo: z256.string().optional(),
7569
- value: z256.string().optional()
7592
+ import { z as z257 } from "zod";
7593
+ var DocumentationColorV1 = z257.object({
7594
+ aliasTo: z257.string().optional(),
7595
+ value: z257.string().optional()
7570
7596
  });
7571
7597
  var DTODocumentationItemHeaderV1 = DocumentationItemHeaderV1.omit({
7572
7598
  foregroundColor: true,
@@ -7575,10 +7601,10 @@ var DTODocumentationItemHeaderV1 = DocumentationItemHeaderV1.omit({
7575
7601
  foregroundColor: DocumentationColorV1.optional(),
7576
7602
  backgroundColor: DocumentationColorV1.optional()
7577
7603
  });
7578
- var DTODocumentationItemConfigurationV1 = z256.object({
7579
- showSidebar: z256.boolean(),
7580
- isPrivate: z256.boolean(),
7581
- isHidden: z256.boolean(),
7604
+ var DTODocumentationItemConfigurationV1 = z257.object({
7605
+ showSidebar: z257.boolean(),
7606
+ isPrivate: z257.boolean(),
7607
+ isHidden: z257.boolean(),
7582
7608
  header: DTODocumentationItemHeaderV1
7583
7609
  });
7584
7610
 
@@ -7592,145 +7618,145 @@ var DTODocumentationGroupStructureV1 = ElementGroup.omit({
7592
7618
  data: true,
7593
7619
  shortPersistentId: true
7594
7620
  }).extend({
7595
- title: z257.string(),
7596
- isRoot: z257.boolean(),
7597
- childrenIds: z257.array(z257.string()),
7621
+ title: z258.string(),
7622
+ isRoot: z258.boolean(),
7623
+ childrenIds: z258.array(z258.string()),
7598
7624
  groupBehavior: DocumentationGroupBehavior,
7599
- shortPersistentId: z257.string(),
7600
- type: z257.literal("Group")
7625
+ shortPersistentId: z258.string(),
7626
+ type: z258.literal("Group")
7601
7627
  });
7602
7628
  var DTODocumentationGroupV1 = DTODocumentationGroupStructureV1.extend({
7603
7629
  configuration: DTODocumentationItemConfigurationV1
7604
7630
  });
7605
7631
 
7606
7632
  // src/api/dto/elements/documentation/hierarchy.ts
7607
- import { z as z258 } from "zod";
7608
- var DTODocumentationHierarchyV2 = z258.object({
7609
- pages: z258.array(
7633
+ import { z as z259 } from "zod";
7634
+ var DTODocumentationHierarchyV2 = z259.object({
7635
+ pages: z259.array(
7610
7636
  DTODocumentationPageV2.extend({
7611
7637
  /** Defined when a page has changed since last publish and can be included into a partial publish */
7612
7638
  draftState: DTODocumentationDraftState.optional()
7613
7639
  })
7614
7640
  ),
7615
- groups: z258.array(
7641
+ groups: z259.array(
7616
7642
  DTODocumentationGroupV2.extend({
7617
7643
  /** Defined when a page has changed since last publish and can be included into a partial publish */
7618
7644
  draftState: DTODocumentationDraftState.optional()
7619
7645
  })
7620
7646
  ),
7621
7647
  /** True if the documentation was already published, false otherwise. */
7622
- hasPublishedDocumentationContent: z258.boolean()
7648
+ hasPublishedDocumentationContent: z259.boolean()
7623
7649
  });
7624
7650
 
7625
7651
  // src/api/dto/elements/documentation/page-actions-v2.ts
7626
- import { z as z259 } from "zod";
7627
- var SuccessPayload2 = z259.object({
7628
- success: z259.literal(true)
7652
+ import { z as z260 } from "zod";
7653
+ var SuccessPayload2 = z260.object({
7654
+ success: z260.literal(true)
7629
7655
  });
7630
- var DTODocumentationPageCreateActionOutputV2 = z259.object({
7631
- type: z259.literal("DocumentationPageCreate"),
7656
+ var DTODocumentationPageCreateActionOutputV2 = z260.object({
7657
+ type: z260.literal("DocumentationPageCreate"),
7632
7658
  output: SuccessPayload2
7633
7659
  });
7634
- var DTODocumentationPageUpdateActionOutputV2 = z259.object({
7635
- type: z259.literal("DocumentationPageUpdate"),
7660
+ var DTODocumentationPageUpdateActionOutputV2 = z260.object({
7661
+ type: z260.literal("DocumentationPageUpdate"),
7636
7662
  output: SuccessPayload2
7637
7663
  });
7638
- var DTODocumentationPageUpdateDocumentActionOutputV2 = z259.object({
7639
- type: z259.literal("DocumentationPageUpdateDocument"),
7664
+ var DTODocumentationPageUpdateDocumentActionOutputV2 = z260.object({
7665
+ type: z260.literal("DocumentationPageUpdateDocument"),
7640
7666
  output: SuccessPayload2
7641
7667
  });
7642
- var DTODocumentationPageMoveActionOutputV2 = z259.object({
7643
- type: z259.literal("DocumentationPageMove"),
7668
+ var DTODocumentationPageMoveActionOutputV2 = z260.object({
7669
+ type: z260.literal("DocumentationPageMove"),
7644
7670
  output: SuccessPayload2
7645
7671
  });
7646
- var DTODocumentationPageDuplicateActionOutputV2 = z259.object({
7647
- type: z259.literal("DocumentationPageDuplicate"),
7672
+ var DTODocumentationPageDuplicateActionOutputV2 = z260.object({
7673
+ type: z260.literal("DocumentationPageDuplicate"),
7648
7674
  output: SuccessPayload2
7649
7675
  });
7650
- var DTODocumentationPageDeleteActionOutputV2 = z259.object({
7651
- type: z259.literal("DocumentationPageDelete"),
7676
+ var DTODocumentationPageDeleteActionOutputV2 = z260.object({
7677
+ type: z260.literal("DocumentationPageDelete"),
7652
7678
  output: SuccessPayload2
7653
7679
  });
7654
- var DTODocumentationPageRestoreActionOutput = z259.object({
7655
- type: z259.literal("DocumentationPageRestore"),
7680
+ var DTODocumentationPageRestoreActionOutput = z260.object({
7681
+ type: z260.literal("DocumentationPageRestore"),
7656
7682
  output: SuccessPayload2
7657
7683
  });
7658
- var DTODocumentationGroupRestoreActionOutput = z259.object({
7659
- type: z259.literal("DocumentationGroupRestore"),
7684
+ var DTODocumentationGroupRestoreActionOutput = z260.object({
7685
+ type: z260.literal("DocumentationGroupRestore"),
7660
7686
  output: SuccessPayload2
7661
7687
  });
7662
- var DTODocumentationPageApprovalStateChangeActionOutput = z259.object({
7663
- type: z259.literal("DocumentationPageApprovalStateChange"),
7688
+ var DTODocumentationPageApprovalStateChangeActionOutput = z260.object({
7689
+ type: z260.literal("DocumentationPageApprovalStateChange"),
7664
7690
  output: SuccessPayload2
7665
7691
  });
7666
- var DTODocumentationPageCreateActionInputV2 = z259.object({
7667
- type: z259.literal("DocumentationPageCreate"),
7692
+ var DTODocumentationPageCreateActionInputV2 = z260.object({
7693
+ type: z260.literal("DocumentationPageCreate"),
7668
7694
  input: DTOCreateDocumentationPageInputV2
7669
7695
  });
7670
- var DTODocumentationPageUpdateActionInputV2 = z259.object({
7671
- type: z259.literal("DocumentationPageUpdate"),
7696
+ var DTODocumentationPageUpdateActionInputV2 = z260.object({
7697
+ type: z260.literal("DocumentationPageUpdate"),
7672
7698
  input: DTOUpdateDocumentationPageInputV2
7673
7699
  });
7674
- var DTODocumentationPageUpdateDocumentActionInputV2 = z259.object({
7675
- type: z259.literal("DocumentationPageUpdateDocument"),
7700
+ var DTODocumentationPageUpdateDocumentActionInputV2 = z260.object({
7701
+ type: z260.literal("DocumentationPageUpdateDocument"),
7676
7702
  input: DTOUpdateDocumentationPageDocumentInputV2
7677
7703
  });
7678
- var DTODocumentationPageMoveActionInputV2 = z259.object({
7679
- type: z259.literal("DocumentationPageMove"),
7704
+ var DTODocumentationPageMoveActionInputV2 = z260.object({
7705
+ type: z260.literal("DocumentationPageMove"),
7680
7706
  input: DTOMoveDocumentationPageInputV2
7681
7707
  });
7682
- var DTODocumentationPageDuplicateActionInputV2 = z259.object({
7683
- type: z259.literal("DocumentationPageDuplicate"),
7708
+ var DTODocumentationPageDuplicateActionInputV2 = z260.object({
7709
+ type: z260.literal("DocumentationPageDuplicate"),
7684
7710
  input: DTODuplicateDocumentationPageInputV2
7685
7711
  });
7686
- var DTODocumentationPageDeleteActionInputV2 = z259.object({
7687
- type: z259.literal("DocumentationPageDelete"),
7712
+ var DTODocumentationPageDeleteActionInputV2 = z260.object({
7713
+ type: z260.literal("DocumentationPageDelete"),
7688
7714
  input: DTODeleteDocumentationPageInputV2
7689
7715
  });
7690
- var DTODocumentationPageRestoreActionInput = z259.object({
7691
- type: z259.literal("DocumentationPageRestore"),
7716
+ var DTODocumentationPageRestoreActionInput = z260.object({
7717
+ type: z260.literal("DocumentationPageRestore"),
7692
7718
  input: DTORestoreDocumentationPageInput
7693
7719
  });
7694
- var DTODocumentationGroupRestoreActionInput = z259.object({
7695
- type: z259.literal("DocumentationGroupRestore"),
7720
+ var DTODocumentationGroupRestoreActionInput = z260.object({
7721
+ type: z260.literal("DocumentationGroupRestore"),
7696
7722
  input: DTORestoreDocumentationGroupInput
7697
7723
  });
7698
- var DTODocumentationPageApprovalStateChangeActionInput = z259.object({
7699
- type: z259.literal("DocumentationPageApprovalStateChange"),
7724
+ var DTODocumentationPageApprovalStateChangeActionInput = z260.object({
7725
+ type: z260.literal("DocumentationPageApprovalStateChange"),
7700
7726
  input: DTODocumentationPageApprovalStateChangeInput
7701
7727
  });
7702
7728
 
7703
7729
  // src/api/dto/elements/documentation/page-content.ts
7704
- import { z as z260 } from "zod";
7730
+ import { z as z261 } from "zod";
7705
7731
  var DTODocumentationPageContent = DocumentationPageContent;
7706
- var DTODocumentationPageContentGetResponse = z260.object({
7732
+ var DTODocumentationPageContentGetResponse = z261.object({
7707
7733
  pageContent: DTODocumentationPageContent
7708
7734
  });
7709
7735
 
7710
7736
  // src/api/dto/elements/documentation/page-dependencies.ts
7711
- import { z as z261 } from "zod";
7712
- var DTODocumentationPageDependencies = z261.object({
7713
- id: z261.string(),
7714
- designSystemVersionId: z261.string(),
7715
- createdAt: z261.coerce.date(),
7716
- updatedAt: z261.coerce.date(),
7717
- documentationPageId: z261.string(),
7718
- tokenPersistentIds: z261.array(z261.string()),
7719
- figmaComponentPersistentIds: z261.array(z261.string()),
7720
- componentPersistentIds: z261.array(z261.string()),
7721
- figmaNodePersistentIds: z261.array(z261.string()),
7722
- groupPersistentIds: z261.array(z261.string()),
7723
- propertyPersistentIds: z261.array(z261.string()),
7724
- themePersistentIds: z261.array(z261.string()),
7725
- documentationPagePersistentIds: z261.array(z261.string()),
7726
- storybookEntriesStoryIds: z261.array(z261.string())
7727
- });
7728
- var DTODocumentationPageDependenciesGetResponse = z261.object({
7729
- dependencies: z261.array(DTODocumentationPageDependencies)
7737
+ import { z as z262 } from "zod";
7738
+ var DTODocumentationPageDependencies = z262.object({
7739
+ id: z262.string(),
7740
+ designSystemVersionId: z262.string(),
7741
+ createdAt: z262.coerce.date(),
7742
+ updatedAt: z262.coerce.date(),
7743
+ documentationPageId: z262.string(),
7744
+ tokenPersistentIds: z262.array(z262.string()),
7745
+ figmaComponentPersistentIds: z262.array(z262.string()),
7746
+ componentPersistentIds: z262.array(z262.string()),
7747
+ figmaNodePersistentIds: z262.array(z262.string()),
7748
+ groupPersistentIds: z262.array(z262.string()),
7749
+ propertyPersistentIds: z262.array(z262.string()),
7750
+ themePersistentIds: z262.array(z262.string()),
7751
+ documentationPagePersistentIds: z262.array(z262.string()),
7752
+ storybookEntriesStoryIds: z262.array(z262.string())
7753
+ });
7754
+ var DTODocumentationPageDependenciesGetResponse = z262.object({
7755
+ dependencies: z262.array(DTODocumentationPageDependencies)
7730
7756
  });
7731
7757
 
7732
7758
  // src/api/dto/elements/documentation/page-v1.ts
7733
- import { z as z262 } from "zod";
7759
+ import { z as z263 } from "zod";
7734
7760
  var DocumentationPageV1DTO = DocumentationPageV1.omit({
7735
7761
  data: true,
7736
7762
  meta: true,
@@ -7738,81 +7764,81 @@ var DocumentationPageV1DTO = DocumentationPageV1.omit({
7738
7764
  sortOrder: true
7739
7765
  }).extend({
7740
7766
  configuration: DTODocumentationItemConfigurationV1,
7741
- blocks: z262.array(PageBlockV1),
7742
- title: z262.string(),
7743
- path: z262.string()
7767
+ blocks: z263.array(PageBlockV1),
7768
+ title: z263.string(),
7769
+ path: z263.string()
7744
7770
  });
7745
7771
 
7746
7772
  // src/api/dto/elements/documentation/settings.ts
7747
- import { z as z263 } from "zod";
7748
- var DTODocumentationSettings = z263.object({
7749
- isDraftFeatureAdopted: z263.boolean(),
7750
- isApprovalsFeatureEnabled: z263.boolean(),
7751
- isApprovalRequiredForPublishing: z263.boolean()
7773
+ import { z as z264 } from "zod";
7774
+ var DTODocumentationSettings = z264.object({
7775
+ isDraftFeatureAdopted: z264.boolean(),
7776
+ isApprovalsFeatureEnabled: z264.boolean(),
7777
+ isApprovalRequiredForPublishing: z264.boolean()
7752
7778
  });
7753
7779
 
7754
7780
  // src/api/dto/elements/documentation/structure.ts
7755
- import { z as z264 } from "zod";
7756
- var DTODocumentationStructureItemType = z264.enum(["Group", "Page"]);
7757
- var DTODocumentationStructureItemBase = z264.object({
7781
+ import { z as z265 } from "zod";
7782
+ var DTODocumentationStructureItemType = z265.enum(["Group", "Page"]);
7783
+ var DTODocumentationStructureItemBase = z265.object({
7758
7784
  type: DTODocumentationStructureItemType,
7759
- id: z264.string(),
7760
- designSystemVersionId: z264.string(),
7761
- shortPersistentId: z264.string(),
7762
- persistentId: z264.string(),
7763
- title: z264.string(),
7764
- createdAt: z264.coerce.date(),
7765
- updatedAt: z264.coerce.date()
7785
+ id: z265.string(),
7786
+ designSystemVersionId: z265.string(),
7787
+ shortPersistentId: z265.string(),
7788
+ persistentId: z265.string(),
7789
+ title: z265.string(),
7790
+ createdAt: z265.coerce.date(),
7791
+ updatedAt: z265.coerce.date()
7766
7792
  });
7767
7793
  var DTODocumentationStructureGroupItem = DTODocumentationStructureItemBase.extend({
7768
- type: z264.literal(DTODocumentationStructureItemType.enum.Group),
7769
- groupBehavior: z264.string(),
7770
- childrenIds: z264.string().array(),
7771
- isRoot: z264.boolean()
7794
+ type: z265.literal(DTODocumentationStructureItemType.enum.Group),
7795
+ groupBehavior: z265.string(),
7796
+ childrenIds: z265.string().array(),
7797
+ isRoot: z265.boolean()
7772
7798
  });
7773
7799
  var DTODocumentationStructurePageItem = DTODocumentationStructureItemBase.extend({
7774
- type: z264.literal(DTODocumentationStructureItemType.enum.Page),
7775
- path: z264.string()
7800
+ type: z265.literal(DTODocumentationStructureItemType.enum.Page),
7801
+ path: z265.string()
7776
7802
  });
7777
- var DTODocumentationStructureItem = z264.discriminatedUnion("type", [
7803
+ var DTODocumentationStructureItem = z265.discriminatedUnion("type", [
7778
7804
  DTODocumentationStructureGroupItem,
7779
7805
  DTODocumentationStructurePageItem
7780
7806
  ]);
7781
- var DTODocumentationStructure = z264.object({
7782
- items: z264.array(DTODocumentationStructureItem)
7807
+ var DTODocumentationStructure = z265.object({
7808
+ items: z265.array(DTODocumentationStructureItem)
7783
7809
  });
7784
7810
 
7785
7811
  // src/api/dto/elements/figma-nodes/figma-node-structure.ts
7786
- import { z as z265 } from "zod";
7787
- var DTOFigmaNodeStructure = z265.object({
7788
- id: z265.string(),
7789
- sourceId: z265.string(),
7812
+ import { z as z266 } from "zod";
7813
+ var DTOFigmaNodeStructure = z266.object({
7814
+ id: z266.string(),
7815
+ sourceId: z266.string(),
7790
7816
  importState: FigmaNodeStructureStateV2,
7791
- createdAt: z265.coerce.date(),
7792
- updatedAt: z265.coerce.date()
7817
+ createdAt: z266.coerce.date(),
7818
+ updatedAt: z266.coerce.date()
7793
7819
  });
7794
7820
  var DTOFigmaNodeStructureDetail = DTOFigmaNodeStructure.extend({
7795
7821
  rootNode: FigmaFileStructureNode
7796
7822
  });
7797
- var DTOFigmaNodeStructureListResponse = z265.object({
7823
+ var DTOFigmaNodeStructureListResponse = z266.object({
7798
7824
  structures: DTOFigmaNodeStructure.array()
7799
7825
  });
7800
- var DTOFigmaNodeStructureDetailResponse = z265.object({
7826
+ var DTOFigmaNodeStructureDetailResponse = z266.object({
7801
7827
  structure: DTOFigmaNodeStructureDetail
7802
7828
  });
7803
7829
 
7804
7830
  // src/api/dto/elements/figma-nodes/figma-node-v1.ts
7805
- import { z as z267 } from "zod";
7831
+ import { z as z268 } from "zod";
7806
7832
 
7807
7833
  // src/api/dto/elements/figma-nodes/figma-node.ts
7808
- import { z as z266 } from "zod";
7834
+ import { z as z267 } from "zod";
7809
7835
  var DTOFigmaNodeRenderFormat = FigmaNodeRenderFormat;
7810
- var DTOFigmaNodeOrigin = z266.object({
7811
- sourceId: z266.string(),
7812
- fileId: z266.string().optional(),
7813
- parentName: z266.string().optional()
7836
+ var DTOFigmaNodeOrigin = z267.object({
7837
+ sourceId: z267.string(),
7838
+ fileId: z267.string().optional(),
7839
+ parentName: z267.string().optional()
7814
7840
  });
7815
- var DTOFigmaNodeRenderInputBase = z266.object({
7841
+ var DTOFigmaNodeRenderInputBase = z267.object({
7816
7842
  /**
7817
7843
  * Format in which the node must be rendered, png by default.
7818
7844
  */
@@ -7820,57 +7846,57 @@ var DTOFigmaNodeRenderInputBase = z266.object({
7820
7846
  /**
7821
7847
  * Scale to apply to PNG images, can be between 1 and 4. Scale is ignored for other image formats.
7822
7848
  */
7823
- scale: z266.number().optional()
7849
+ scale: z267.number().optional()
7824
7850
  });
7825
7851
  var DTOFigmaNodeRenderIdInput = DTOFigmaNodeRenderInputBase.extend({
7826
- inputType: z266.literal("NodeId").optional().transform((v) => v ?? "NodeId"),
7852
+ inputType: z267.literal("NodeId").optional().transform((v) => v ?? "NodeId"),
7827
7853
  /**
7828
7854
  * Id of a design system's data source representing a linked Figma file
7829
7855
  */
7830
- sourceId: z266.string(),
7856
+ sourceId: z267.string(),
7831
7857
  /**
7832
7858
  * Id of a node within the Figma file
7833
7859
  */
7834
- figmaFileNodeId: z266.string()
7860
+ figmaFileNodeId: z267.string()
7835
7861
  });
7836
7862
  var DTOFigmaNodeRenderUrlInput = DTOFigmaNodeRenderInputBase.extend({
7837
- inputType: z266.literal("URL"),
7863
+ inputType: z267.literal("URL"),
7838
7864
  /**
7839
7865
  * Id of a design system's data source representing a linked Figma file
7840
7866
  */
7841
- figmaNodeUrl: z266.string(),
7867
+ figmaNodeUrl: z267.string(),
7842
7868
  /**
7843
7869
  * Brand persistent id to use in case a source has to be created for this render
7844
7870
  */
7845
- brandPersistentId: z266.string()
7871
+ brandPersistentId: z267.string()
7846
7872
  });
7847
- var DTOFigmaNodeRerenderInput = z266.object({
7848
- inputType: z266.literal("Rerender"),
7873
+ var DTOFigmaNodeRerenderInput = z267.object({
7874
+ inputType: z267.literal("Rerender"),
7849
7875
  /**
7850
7876
  * Persistent ID of an existing Figma node
7851
7877
  */
7852
- figmaNodePersistentId: z266.string()
7878
+ figmaNodePersistentId: z267.string()
7853
7879
  });
7854
- var DTOFigmaNodeRenderInput = z266.discriminatedUnion("inputType", [
7880
+ var DTOFigmaNodeRenderInput = z267.discriminatedUnion("inputType", [
7855
7881
  DTOFigmaNodeRenderIdInput,
7856
7882
  DTOFigmaNodeRenderUrlInput,
7857
7883
  DTOFigmaNodeRerenderInput
7858
7884
  ]);
7859
7885
 
7860
7886
  // src/api/dto/elements/figma-nodes/figma-node-v1.ts
7861
- var DTOFigmaNodeData = z267.object({
7887
+ var DTOFigmaNodeData = z268.object({
7862
7888
  // Id of the node in the Figma file
7863
- figmaNodeId: z267.string(),
7889
+ figmaNodeId: z268.string(),
7864
7890
  // Validity
7865
- isValid: z267.boolean(),
7891
+ isValid: z268.boolean(),
7866
7892
  // Asset data
7867
- assetId: z267.string(),
7868
- assetUrl: z267.string(),
7893
+ assetId: z268.string(),
7894
+ assetUrl: z268.string(),
7869
7895
  assetFormat: DTOFigmaNodeRenderFormat,
7870
7896
  // Asset metadata
7871
- assetScale: z267.number(),
7872
- assetWidth: z267.number().optional(),
7873
- assetHeight: z267.number().optional()
7897
+ assetScale: z268.number(),
7898
+ assetWidth: z268.number().optional(),
7899
+ assetHeight: z268.number().optional()
7874
7900
  });
7875
7901
  var DTOFigmaNode = FigmaNodeReference.omit({
7876
7902
  data: true,
@@ -7881,15 +7907,15 @@ var DTOFigmaNode = FigmaNodeReference.omit({
7881
7907
  });
7882
7908
 
7883
7909
  // src/api/dto/elements/figma-nodes/figma-node-v2.ts
7884
- import { z as z268 } from "zod";
7885
- var DTOFigmaNodeDataV2 = z268.object({
7886
- sceneNodeId: z268.string(),
7910
+ import { z as z269 } from "zod";
7911
+ var DTOFigmaNodeDataV2 = z269.object({
7912
+ sceneNodeId: z269.string(),
7887
7913
  format: FigmaNodeRenderFormat,
7888
- scale: z268.number().optional(),
7914
+ scale: z269.number().optional(),
7889
7915
  renderState: FigmaNodeRenderState,
7890
7916
  renderedImage: FigmaNodeRenderedImage.optional(),
7891
7917
  renderError: FigmaNodeRenderError.optional(),
7892
- hasSource: z268.boolean()
7918
+ hasSource: z269.boolean()
7893
7919
  });
7894
7920
  var DTOFigmaNodeV2 = FigmaNodeReference.omit({
7895
7921
  data: true,
@@ -7900,113 +7926,113 @@ var DTOFigmaNodeV2 = FigmaNodeReference.omit({
7900
7926
  });
7901
7927
 
7902
7928
  // src/api/dto/elements/figma-nodes/node-actions-v2.ts
7903
- import { z as z269 } from "zod";
7904
- var DTOFigmaNodeRenderActionOutput = z269.object({
7905
- type: z269.literal("FigmaNodeRender"),
7906
- figmaNodes: z269.array(DTOFigmaNode)
7929
+ import { z as z270 } from "zod";
7930
+ var DTOFigmaNodeRenderActionOutput = z270.object({
7931
+ type: z270.literal("FigmaNodeRender"),
7932
+ figmaNodes: z270.array(DTOFigmaNode)
7907
7933
  });
7908
- var DTOFigmaNodeRenderAsyncActionOutput = z269.object({
7909
- type: z269.literal("FigmaNodeRenderAsync"),
7910
- figmaNodes: z269.array(DTOFigmaNodeV2)
7934
+ var DTOFigmaNodeRenderAsyncActionOutput = z270.object({
7935
+ type: z270.literal("FigmaNodeRenderAsync"),
7936
+ figmaNodes: z270.array(DTOFigmaNodeV2)
7911
7937
  });
7912
- var DTOFigmaNodeRenderActionInput = z269.object({
7913
- type: z269.literal("FigmaNodeRender"),
7938
+ var DTOFigmaNodeRenderActionInput = z270.object({
7939
+ type: z270.literal("FigmaNodeRender"),
7914
7940
  input: DTOFigmaNodeRenderIdInput.array()
7915
7941
  });
7916
- var DTOFigmaNodeRenderAsyncActionInput = z269.object({
7917
- type: z269.literal("FigmaNodeRenderAsync"),
7942
+ var DTOFigmaNodeRenderAsyncActionInput = z270.object({
7943
+ type: z270.literal("FigmaNodeRenderAsync"),
7918
7944
  nodes: DTOFigmaNodeRenderInput.array()
7919
7945
  });
7920
7946
 
7921
7947
  // src/api/dto/elements/frame-node-structures/frame-node-structure.ts
7922
- import { z as z270 } from "zod";
7923
- var DTOFrameNodeStructure = z270.object({
7924
- id: z270.string(),
7925
- persistentId: z270.string(),
7926
- designSystemVersionId: z270.string(),
7948
+ import { z as z271 } from "zod";
7949
+ var DTOFrameNodeStructure = z271.object({
7950
+ id: z271.string(),
7951
+ persistentId: z271.string(),
7952
+ designSystemVersionId: z271.string(),
7927
7953
  origin: FigmaFileStructureOrigin,
7928
7954
  assetsInFile: FigmaFileStructureStatistics
7929
7955
  });
7930
- var DTOFrameNodeStructureListResponse = z270.object({
7956
+ var DTOFrameNodeStructureListResponse = z271.object({
7931
7957
  structures: DTOFrameNodeStructure.array()
7932
7958
  });
7933
7959
 
7934
7960
  // src/api/dto/elements/properties/property-definitions.ts
7935
- import { z as z271 } from "zod";
7961
+ import { z as z272 } from "zod";
7936
7962
  var CODE_NAME_REGEX2 = /^[a-zA-Z_$][a-zA-Z_$0-9-]{1,99}$/;
7937
- var DTOElementPropertyDefinitionOption = z271.object({
7938
- id: z271.string(),
7939
- name: z271.string(),
7963
+ var DTOElementPropertyDefinitionOption = z272.object({
7964
+ id: z272.string(),
7965
+ name: z272.string(),
7940
7966
  backgroundColor: DTOColorTokenInlineData.optional()
7941
7967
  });
7942
- var DTOElementPropertyDefinition = z271.object({
7943
- id: z271.string(),
7944
- designSystemVersionId: z271.string(),
7968
+ var DTOElementPropertyDefinition = z272.object({
7969
+ id: z272.string(),
7970
+ designSystemVersionId: z272.string(),
7945
7971
  meta: DTOObjectMeta,
7946
- persistentId: z271.string(),
7972
+ persistentId: z272.string(),
7947
7973
  type: ElementPropertyTypeSchema,
7948
7974
  targetElementType: ElementPropertyTargetType,
7949
- codeName: z271.string().regex(CODE_NAME_REGEX2),
7950
- options: nullishToOptional(z271.array(DTOElementPropertyDefinitionOption)),
7975
+ codeName: z272.string().regex(CODE_NAME_REGEX2),
7976
+ options: nullishToOptional(z272.array(DTOElementPropertyDefinitionOption)),
7951
7977
  linkElementType: nullishToOptional(ElementPropertyLinkType),
7952
- isImmutable: z271.boolean(),
7978
+ isImmutable: z272.boolean(),
7953
7979
  immutablePropertyType: ElementPropertyImmutableType.optional()
7954
7980
  });
7955
- var DTOElementPropertyDefinitionListResponse = z271.object({
7956
- definitions: z271.array(DTOElementPropertyDefinition)
7981
+ var DTOElementPropertyDefinitionListResponse = z272.object({
7982
+ definitions: z272.array(DTOElementPropertyDefinition)
7957
7983
  });
7958
- var DTOElementPropertyDefinitionResponse = z271.object({
7984
+ var DTOElementPropertyDefinitionResponse = z272.object({
7959
7985
  definition: DTOElementPropertyDefinition
7960
7986
  });
7961
- var DTOElementPropertyDefinitionCreatePayload = z271.object({
7987
+ var DTOElementPropertyDefinitionCreatePayload = z272.object({
7962
7988
  meta: DTOObjectMeta,
7963
- persistentId: z271.string(),
7989
+ persistentId: z272.string(),
7964
7990
  type: ElementPropertyTypeSchema,
7965
7991
  targetElementType: ElementPropertyTargetType,
7966
- codeName: z271.string().regex(CODE_NAME_REGEX2),
7967
- options: nullishToOptional(z271.array(DTOElementPropertyDefinitionOption)),
7992
+ codeName: z272.string().regex(CODE_NAME_REGEX2),
7993
+ options: nullishToOptional(z272.array(DTOElementPropertyDefinitionOption)),
7968
7994
  linkElementType: nullishToOptional(ElementPropertyLinkType),
7969
- columnWidth: z271.number().max(1024).optional()
7995
+ columnWidth: z272.number().max(1024).optional()
7970
7996
  });
7971
- var DTOElementPropertyDefinitionUpdatePayload = z271.object({
7997
+ var DTOElementPropertyDefinitionUpdatePayload = z272.object({
7972
7998
  meta: DTOObjectMeta.optional(),
7973
- codeName: z271.string().regex(CODE_NAME_REGEX2).optional(),
7974
- options: z271.array(DTOElementPropertyDefinitionOption).optional()
7999
+ codeName: z272.string().regex(CODE_NAME_REGEX2).optional(),
8000
+ options: z272.array(DTOElementPropertyDefinitionOption).optional()
7975
8001
  });
7976
8002
 
7977
8003
  // src/api/dto/elements/properties/property-values.ts
7978
- import { z as z272 } from "zod";
7979
- var DTOElementPropertyValue = z272.object({
7980
- id: z272.string(),
7981
- designSystemVersionId: z272.string(),
7982
- definitionId: z272.string(),
7983
- targetElementId: z272.string(),
7984
- value: z272.union([z272.string(), z272.number(), z272.boolean()]).optional(),
7985
- valuePreview: z272.string().optional()
7986
- });
7987
- var DTOElementPropertyValueListResponse = z272.object({
7988
- values: z272.array(DTOElementPropertyValue)
7989
- });
7990
- var DTOElementPropertyValueResponse = z272.object({
8004
+ import { z as z273 } from "zod";
8005
+ var DTOElementPropertyValue = z273.object({
8006
+ id: z273.string(),
8007
+ designSystemVersionId: z273.string(),
8008
+ definitionId: z273.string(),
8009
+ targetElementId: z273.string(),
8010
+ value: z273.union([z273.string(), z273.number(), z273.boolean()]).optional(),
8011
+ valuePreview: z273.string().optional()
8012
+ });
8013
+ var DTOElementPropertyValueListResponse = z273.object({
8014
+ values: z273.array(DTOElementPropertyValue)
8015
+ });
8016
+ var DTOElementPropertyValueResponse = z273.object({
7991
8017
  value: DTOElementPropertyValue
7992
8018
  });
7993
- var DTOElementPropertyValuesEditActionOutput = z272.object({
7994
- type: z272.literal("ElementPropertyValuesEdit"),
7995
- output: z272.object({ success: z272.literal(true) })
8019
+ var DTOElementPropertyValuesEditActionOutput = z273.object({
8020
+ type: z273.literal("ElementPropertyValuesEdit"),
8021
+ output: z273.object({ success: z273.literal(true) })
7996
8022
  });
7997
- var DTOElementPropertyValueUpsertPaylod = z272.object({
7998
- definitionId: z272.string(),
7999
- targetElementId: z272.string(),
8000
- value: z272.string().or(z272.number()).or(z272.boolean()).nullable()
8023
+ var DTOElementPropertyValueUpsertPaylod = z273.object({
8024
+ definitionId: z273.string(),
8025
+ targetElementId: z273.string(),
8026
+ value: z273.string().or(z273.number()).or(z273.boolean()).nullable()
8001
8027
  });
8002
- var DTOElementPropertyValuesEditActionInput = z272.object({
8003
- type: z272.literal("ElementPropertyValuesEdit"),
8028
+ var DTOElementPropertyValuesEditActionInput = z273.object({
8029
+ type: z273.literal("ElementPropertyValuesEdit"),
8004
8030
  values: DTOElementPropertyValueUpsertPaylod.array()
8005
8031
  });
8006
8032
 
8007
8033
  // src/api/dto/elements/elements-action-v2.ts
8008
- import { z as z273 } from "zod";
8009
- var DTOElementActionOutput = z273.discriminatedUnion("type", [
8034
+ import { z as z274 } from "zod";
8035
+ var DTOElementActionOutput = z274.discriminatedUnion("type", [
8010
8036
  // Documentation pages
8011
8037
  DTODocumentationPageCreateActionOutputV2,
8012
8038
  DTODocumentationPageUpdateActionOutputV2,
@@ -8033,7 +8059,7 @@ var DTOElementActionOutput = z273.discriminatedUnion("type", [
8033
8059
  // Element properties
8034
8060
  DTOElementPropertyValuesEditActionOutput
8035
8061
  ]);
8036
- var DTOElementActionInput = z273.discriminatedUnion("type", [
8062
+ var DTOElementActionInput = z274.discriminatedUnion("type", [
8037
8063
  // Documentation pages
8038
8064
  DTODocumentationPageCreateActionInputV2,
8039
8065
  DTODocumentationPageUpdateActionInputV2,
@@ -8060,90 +8086,90 @@ var DTOElementActionInput = z273.discriminatedUnion("type", [
8060
8086
  // Element properties
8061
8087
  DTOElementPropertyValuesEditActionInput
8062
8088
  ]).and(
8063
- z273.object({
8064
- tId: z273.string().optional()
8089
+ z274.object({
8090
+ tId: z274.string().optional()
8065
8091
  })
8066
8092
  );
8067
8093
 
8068
8094
  // src/api/dto/elements/get-elements-v2.ts
8069
- import { z as z274 } from "zod";
8070
- var DTOElementsGetTypeFilter = z274.enum(["FigmaNode"]);
8071
- var DTOElementsGetQuerySchema = z274.object({
8072
- types: z274.string().transform((val) => val.split(",").map((v) => DTOElementsGetTypeFilter.parse(v))),
8073
- responseVersion: z274.coerce.number().default(1)
8095
+ import { z as z275 } from "zod";
8096
+ var DTOElementsGetTypeFilter = z275.enum(["FigmaNode"]);
8097
+ var DTOElementsGetQuerySchema = z275.object({
8098
+ types: z275.string().transform((val) => val.split(",").map((v) => DTOElementsGetTypeFilter.parse(v))),
8099
+ responseVersion: z275.coerce.number().default(1)
8074
8100
  });
8075
- var DTOElementsGetOutput = z274.object({
8076
- figmaNodes: z274.array(DTOFigmaNode).optional()
8101
+ var DTOElementsGetOutput = z275.object({
8102
+ figmaNodes: z275.array(DTOFigmaNode).optional()
8077
8103
  });
8078
- var DTOElementsGetOutputV2 = z274.object({
8079
- figmaNodes: z274.array(DTOFigmaNodeV2).optional()
8104
+ var DTOElementsGetOutputV2 = z275.object({
8105
+ figmaNodes: z275.array(DTOFigmaNodeV2).optional()
8080
8106
  });
8081
8107
 
8082
8108
  // src/api/dto/figma-components/assets/download.ts
8083
- import { z as z275 } from "zod";
8084
- var DTOAssetRenderConfiguration = z275.object({
8085
- prefix: z275.string().optional(),
8086
- suffix: z275.string().optional(),
8087
- scale: z275.enum(["x1", "x2", "x3", "x4"]),
8088
- format: z275.enum(["png", "pdf", "svg"])
8089
- });
8090
- var DTORenderedAssetFile = z275.object({
8091
- assetId: z275.string(),
8092
- fileName: z275.string(),
8093
- sourceUrl: z275.string(),
8109
+ import { z as z276 } from "zod";
8110
+ var DTOAssetRenderConfiguration = z276.object({
8111
+ prefix: z276.string().optional(),
8112
+ suffix: z276.string().optional(),
8113
+ scale: z276.enum(["x1", "x2", "x3", "x4"]),
8114
+ format: z276.enum(["png", "pdf", "svg"])
8115
+ });
8116
+ var DTORenderedAssetFile = z276.object({
8117
+ assetId: z276.string(),
8118
+ fileName: z276.string(),
8119
+ sourceUrl: z276.string(),
8094
8120
  settings: DTOAssetRenderConfiguration,
8095
- originalName: z275.string()
8121
+ originalName: z276.string()
8096
8122
  });
8097
- var DTODownloadAssetsRequest = z275.object({
8098
- persistentIds: z275.array(z275.string().uuid()).optional(),
8123
+ var DTODownloadAssetsRequest = z276.object({
8124
+ persistentIds: z276.array(z276.string().uuid()).optional(),
8099
8125
  settings: DTOAssetRenderConfiguration.array()
8100
8126
  });
8101
- var DTODownloadAssetsResponse = z275.object({
8127
+ var DTODownloadAssetsResponse = z276.object({
8102
8128
  items: DTORenderedAssetFile.array()
8103
8129
  });
8104
8130
 
8105
8131
  // src/api/dto/liveblocks/auth-response.ts
8106
- import { z as z276 } from "zod";
8107
- var DTOLiveblocksAuthResponse = z276.object({
8108
- token: z276.string()
8132
+ import { z as z277 } from "zod";
8133
+ var DTOLiveblocksAuthResponse = z277.object({
8134
+ token: z277.string()
8109
8135
  });
8110
8136
 
8111
8137
  // src/api/dto/themes/override.ts
8112
- import { z as z277 } from "zod";
8138
+ import { z as z278 } from "zod";
8113
8139
  var DTOThemeOverride = DesignTokenTypedData.and(
8114
- z277.object({
8115
- tokenPersistentId: z277.string(),
8140
+ z278.object({
8141
+ tokenPersistentId: z278.string(),
8116
8142
  origin: ThemeOverrideOrigin.optional()
8117
8143
  })
8118
8144
  );
8119
8145
  var DTOThemeOverrideCreatePayload = DesignTokenTypedData.and(
8120
- z277.object({
8121
- tokenPersistentId: z277.string()
8146
+ z278.object({
8147
+ tokenPersistentId: z278.string()
8122
8148
  })
8123
8149
  );
8124
8150
 
8125
8151
  // src/api/dto/themes/theme.ts
8126
- import { z as z278 } from "zod";
8127
- var DTOTheme = z278.object({
8128
- id: z278.string(),
8129
- persistentId: z278.string(),
8130
- designSystemVersionId: z278.string(),
8131
- brandId: z278.string(),
8152
+ import { z as z279 } from "zod";
8153
+ var DTOTheme = z279.object({
8154
+ id: z279.string(),
8155
+ persistentId: z279.string(),
8156
+ designSystemVersionId: z279.string(),
8157
+ brandId: z279.string(),
8132
8158
  meta: ObjectMeta,
8133
- codeName: z278.string(),
8159
+ codeName: z279.string(),
8134
8160
  overrides: DTOThemeOverride.array()
8135
8161
  });
8136
- var DTOThemeResponse = z278.object({
8162
+ var DTOThemeResponse = z279.object({
8137
8163
  theme: DTOTheme
8138
8164
  });
8139
- var DTOThemeListResponse = z278.object({
8165
+ var DTOThemeListResponse = z279.object({
8140
8166
  themes: DTOTheme.array()
8141
8167
  });
8142
- var DTOThemeCreatePayload = z278.object({
8168
+ var DTOThemeCreatePayload = z279.object({
8143
8169
  meta: ObjectMeta,
8144
- persistentId: z278.string(),
8145
- brandId: z278.string(),
8146
- codeName: z278.string(),
8170
+ persistentId: z279.string(),
8171
+ brandId: z279.string(),
8172
+ codeName: z279.string(),
8147
8173
  overrides: DTOThemeOverride.array()
8148
8174
  });
8149
8175
 
@@ -8379,13 +8405,13 @@ var ExportersEndpoint = class {
8379
8405
  };
8380
8406
 
8381
8407
  // src/api/endpoints/codegen/jobs.ts
8382
- import { z as z279 } from "zod";
8408
+ import { z as z280 } from "zod";
8383
8409
  var ExporterJobsEndpoint = class {
8384
8410
  constructor(requestExecutor) {
8385
8411
  this.requestExecutor = requestExecutor;
8386
8412
  }
8387
8413
  list(workspaceId) {
8388
- return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/jobs`, z279.any());
8414
+ return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/jobs`, z280.any());
8389
8415
  }
8390
8416
  get(workspaceId, jobId) {
8391
8417
  return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/jobs/${jobId}`, DTOExportJobResponseLegacy);
@@ -8443,7 +8469,7 @@ var CodegenEndpoint = class {
8443
8469
  };
8444
8470
 
8445
8471
  // src/api/endpoints/design-system/versions/brands.ts
8446
- import { z as z280 } from "zod";
8472
+ import { z as z281 } from "zod";
8447
8473
  var BrandsEndpoint = class {
8448
8474
  constructor(requestExecutor) {
8449
8475
  this.requestExecutor = requestExecutor;
@@ -8477,7 +8503,7 @@ var BrandsEndpoint = class {
8477
8503
  });
8478
8504
  }
8479
8505
  delete(dsId, vId, brandId) {
8480
- return this.requestExecutor.json(`/design-systems/${dsId}/versions/${vId}/brands/${brandId}`, z280.any(), {
8506
+ return this.requestExecutor.json(`/design-systems/${dsId}/versions/${vId}/brands/${brandId}`, z281.any(), {
8481
8507
  method: "DELETE"
8482
8508
  });
8483
8509
  }
@@ -8700,7 +8726,7 @@ var ImportJobsEndpoint = class {
8700
8726
  };
8701
8727
 
8702
8728
  // src/api/endpoints/design-system/versions/overrides.ts
8703
- import { z as z281 } from "zod";
8729
+ import { z as z282 } from "zod";
8704
8730
  var OverridesEndpoint = class {
8705
8731
  constructor(requestExecutor) {
8706
8732
  this.requestExecutor = requestExecutor;
@@ -8708,7 +8734,7 @@ var OverridesEndpoint = class {
8708
8734
  create(dsId, versionId, themeId, body) {
8709
8735
  return this.requestExecutor.json(
8710
8736
  `/design-systems/${dsId}/versions/${versionId}/themes/${themeId}/overrides`,
8711
- z281.any(),
8737
+ z282.any(),
8712
8738
  {
8713
8739
  method: "POST",
8714
8740
  body
@@ -8718,7 +8744,7 @@ var OverridesEndpoint = class {
8718
8744
  };
8719
8745
 
8720
8746
  // src/api/endpoints/design-system/versions/property-definitions.ts
8721
- import { z as z282 } from "zod";
8747
+ import { z as z283 } from "zod";
8722
8748
  var ElementPropertyDefinitionsEndpoint = class {
8723
8749
  constructor(requestExecutor) {
8724
8750
  this.requestExecutor = requestExecutor;
@@ -8746,7 +8772,7 @@ var ElementPropertyDefinitionsEndpoint = class {
8746
8772
  delete(designSystemId, versionId, defId) {
8747
8773
  return this.requestExecutor.json(
8748
8774
  `/design-systems/${designSystemId}/versions/${versionId}/element-properties/definitions/${defId}`,
8749
- z282.any(),
8775
+ z283.any(),
8750
8776
  { method: "DELETE" }
8751
8777
  );
8752
8778
  }
@@ -8785,7 +8811,7 @@ var VersionStatsEndpoint = class {
8785
8811
  };
8786
8812
 
8787
8813
  // src/api/endpoints/design-system/versions/themes.ts
8788
- import { z as z283 } from "zod";
8814
+ import { z as z284 } from "zod";
8789
8815
  var ThemesEndpoint = class {
8790
8816
  constructor(requestExecutor) {
8791
8817
  this.requestExecutor = requestExecutor;
@@ -8808,7 +8834,7 @@ var ThemesEndpoint = class {
8808
8834
  });
8809
8835
  }
8810
8836
  delete(dsId, versionId, themeId) {
8811
- return this.requestExecutor.json(`/design-systems/${dsId}/versions/${versionId}/themes/${themeId}`, z283.any(), {
8837
+ return this.requestExecutor.json(`/design-systems/${dsId}/versions/${versionId}/themes/${themeId}`, z284.any(), {
8812
8838
  method: "DELETE"
8813
8839
  });
8814
8840
  }
@@ -8977,7 +9003,7 @@ var DesignSystemContactsEndpoint = class {
8977
9003
  };
8978
9004
 
8979
9005
  // src/api/endpoints/design-system/design-systems.ts
8980
- import { z as z287 } from "zod";
9006
+ import { z as z288 } from "zod";
8981
9007
 
8982
9008
  // src/api/endpoints/design-system/figma-node-structures.ts
8983
9009
  var FigmaNodeStructuresEndpoint = class {
@@ -9054,7 +9080,7 @@ var DesignSystemPageRedirectsEndpoint = class {
9054
9080
  };
9055
9081
 
9056
9082
  // src/api/endpoints/design-system/sources.ts
9057
- import { z as z284 } from "zod";
9083
+ import { z as z285 } from "zod";
9058
9084
  var DesignSystemSourcesEndpoint = class {
9059
9085
  constructor(requestExecutor) {
9060
9086
  this.requestExecutor = requestExecutor;
@@ -9072,7 +9098,7 @@ var DesignSystemSourcesEndpoint = class {
9072
9098
  return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, DTODataSourceResponse);
9073
9099
  }
9074
9100
  delete(dsId, sourceId) {
9075
- return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, z284.any(), { method: "DELETE" });
9101
+ return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, z285.any(), { method: "DELETE" });
9076
9102
  }
9077
9103
  figmaImport(dsId, payload) {
9078
9104
  return this.requestExecutor.json(`/design-systems/${dsId}/versions/head/cloud-import`, DTOImportJobResponse, {
@@ -9103,7 +9129,7 @@ var DesignSystemSourcesEndpoint = class {
9103
9129
  };
9104
9130
 
9105
9131
  // src/api/endpoints/design-system/storybook.ts
9106
- import { z as z285 } from "zod";
9132
+ import { z as z286 } from "zod";
9107
9133
  var StorybookEntriesEndpoint = class {
9108
9134
  constructor(requestExecutor) {
9109
9135
  this.requestExecutor = requestExecutor;
@@ -9119,14 +9145,14 @@ var StorybookEntriesEndpoint = class {
9119
9145
  );
9120
9146
  }
9121
9147
  delete(dsId, entryId) {
9122
- return this.requestExecutor.json(`/design-systems/${dsId}/versions/head/storybook/${entryId}`, z285.any(), {
9148
+ return this.requestExecutor.json(`/design-systems/${dsId}/versions/head/storybook/${entryId}`, z286.any(), {
9123
9149
  method: "DELETE"
9124
9150
  });
9125
9151
  }
9126
9152
  };
9127
9153
 
9128
9154
  // src/api/endpoints/design-system/storybook-hosting.ts
9129
- import { z as z286 } from "zod";
9155
+ import { z as z287 } from "zod";
9130
9156
  var StorybookHostingEndpoint = class {
9131
9157
  constructor(requestExecutor) {
9132
9158
  this.requestExecutor = requestExecutor;
@@ -9140,7 +9166,7 @@ var StorybookHostingEndpoint = class {
9140
9166
  delete(dsId, storybookUploadId) {
9141
9167
  return this.requestExecutor.json(
9142
9168
  `/design-systems/${dsId}/storybook/${storybookUploadId}`,
9143
- z286.object({ ok: z286.boolean() }),
9169
+ z287.object({ ok: z287.boolean() }),
9144
9170
  {
9145
9171
  method: "DELETE"
9146
9172
  }
@@ -9198,7 +9224,7 @@ var DesignSystemsEndpoint = class {
9198
9224
  return this.requestExecutor.json(`/design-systems/${dsId}`, DTODesignSystemResponse);
9199
9225
  }
9200
9226
  delete(dsId) {
9201
- return this.requestExecutor.json(`/design-systems/${dsId}`, z287.any(), { method: "DELETE" });
9227
+ return this.requestExecutor.json(`/design-systems/${dsId}`, z288.any(), { method: "DELETE" });
9202
9228
  }
9203
9229
  update(dsId, body) {
9204
9230
  return this.requestExecutor.json(`/design-systems/${dsId}`, DTODesignSystemResponse, {
@@ -9215,7 +9241,7 @@ var DesignSystemsEndpoint = class {
9215
9241
  };
9216
9242
 
9217
9243
  // src/api/endpoints/workspaces/integrations.ts
9218
- import { z as z288 } from "zod";
9244
+ import { z as z289 } from "zod";
9219
9245
  var WorkspaceIntegrationsEndpoint = class {
9220
9246
  constructor(requestExecutor) {
9221
9247
  this.requestExecutor = requestExecutor;
@@ -9224,7 +9250,7 @@ var WorkspaceIntegrationsEndpoint = class {
9224
9250
  return this.requestExecutor.json(`/workspaces/${wsId}/integrations`, DTOIntegrationsGetListResponse);
9225
9251
  }
9226
9252
  delete(wsId, iId) {
9227
- return this.requestExecutor.json(`/workspaces/${wsId}/integrations/${iId}`, z288.unknown(), { method: "DELETE" });
9253
+ return this.requestExecutor.json(`/workspaces/${wsId}/integrations/${iId}`, z289.unknown(), { method: "DELETE" });
9228
9254
  }
9229
9255
  };
9230
9256
 
@@ -9256,7 +9282,7 @@ var WorkspaceInvitationsEndpoint = class {
9256
9282
  };
9257
9283
 
9258
9284
  // src/api/endpoints/workspaces/members.ts
9259
- import { z as z289 } from "zod";
9285
+ import { z as z290 } from "zod";
9260
9286
  var WorkspaceMembersEndpoint = class {
9261
9287
  constructor(requestExecutor) {
9262
9288
  this.requestExecutor = requestExecutor;
@@ -9273,7 +9299,7 @@ var WorkspaceMembersEndpoint = class {
9273
9299
  });
9274
9300
  }
9275
9301
  invite(workspaceId, body) {
9276
- return this.requestExecutor.json(`/workspaces/${workspaceId}/members`, z289.any(), { method: "POST", body });
9302
+ return this.requestExecutor.json(`/workspaces/${workspaceId}/members`, z290.any(), { method: "POST", body });
9277
9303
  }
9278
9304
  delete(workspaceId, userId) {
9279
9305
  return this.requestExecutor.json(`/workspaces/${workspaceId}/members/${userId}`, DTOWorkspaceResponse, {
@@ -9302,7 +9328,7 @@ var WorkspaceNpmRegistryEndpoint = class {
9302
9328
  };
9303
9329
 
9304
9330
  // src/api/endpoints/workspaces/workspaces.ts
9305
- import { z as z290 } from "zod";
9331
+ import { z as z291 } from "zod";
9306
9332
  var WorkspacesEndpoint = class {
9307
9333
  constructor(requestExecutor) {
9308
9334
  this.requestExecutor = requestExecutor;
@@ -9332,10 +9358,10 @@ var WorkspacesEndpoint = class {
9332
9358
  return this.requestExecutor.json(`/workspaces/${workspaceId}`, DTOWorkspaceResponse, { method: "GET" });
9333
9359
  }
9334
9360
  delete(workspaceId) {
9335
- return this.requestExecutor.json(`/workspaces/${workspaceId}`, z290.any(), { method: "DELETE" });
9361
+ return this.requestExecutor.json(`/workspaces/${workspaceId}`, z291.any(), { method: "DELETE" });
9336
9362
  }
9337
9363
  subscription(workspaceId) {
9338
- return this.requestExecutor.json(`/workspaces/${workspaceId}/subscription`, z290.any(), { method: "GET" });
9364
+ return this.requestExecutor.json(`/workspaces/${workspaceId}/subscription`, z291.any(), { method: "GET" });
9339
9365
  }
9340
9366
  transferOwnership(workspaceId, body) {
9341
9367
  return this.requestExecutor.json(`/workspaces/${workspaceId}/ownership`, DTOWorkspaceResponse, {
@@ -9435,9 +9461,9 @@ ${bodyText}`,
9435
9461
 
9436
9462
  // src/api/transport/request-executor.ts
9437
9463
  import fetch from "node-fetch";
9438
- import { z as z291 } from "zod";
9439
- var ResponseWrapper = z291.object({
9440
- result: z291.record(z291.any())
9464
+ import { z as z292 } from "zod";
9465
+ var ResponseWrapper = z292.object({
9466
+ result: z292.record(z292.any())
9441
9467
  });
9442
9468
  var RequestExecutor = class {
9443
9469
  constructor(testServerConfig) {
@@ -9511,31 +9537,31 @@ var SupernovaApiClient = class {
9511
9537
  };
9512
9538
 
9513
9539
  // src/events/design-system.ts
9514
- import { z as z292 } from "zod";
9515
- var DTOEventFigmaNodesRendered = z292.object({
9516
- type: z292.literal("DesignSystem.FigmaNodesRendered"),
9517
- designSystemId: z292.string(),
9518
- versionId: z292.string(),
9519
- figmaNodePersistentIds: z292.string().array()
9520
- });
9521
- var DTOEventDataSourcesImported = z292.object({
9522
- type: z292.literal("DesignSystem.ImportJobFinished"),
9523
- designSystemId: z292.string(),
9524
- versionId: z292.string(),
9525
- importJobId: z292.string(),
9540
+ import { z as z293 } from "zod";
9541
+ var DTOEventFigmaNodesRendered = z293.object({
9542
+ type: z293.literal("DesignSystem.FigmaNodesRendered"),
9543
+ designSystemId: z293.string(),
9544
+ versionId: z293.string(),
9545
+ figmaNodePersistentIds: z293.string().array()
9546
+ });
9547
+ var DTOEventDataSourcesImported = z293.object({
9548
+ type: z293.literal("DesignSystem.ImportJobFinished"),
9549
+ designSystemId: z293.string(),
9550
+ versionId: z293.string(),
9551
+ importJobId: z293.string(),
9526
9552
  dataSourceType: DataSourceRemoteType,
9527
- dataSourceIds: z292.string().array()
9553
+ dataSourceIds: z293.string().array()
9528
9554
  });
9529
9555
 
9530
9556
  // src/events/event.ts
9531
- import { z as z293 } from "zod";
9532
- var DTOEvent = z293.discriminatedUnion("type", [DTOEventDataSourcesImported, DTOEventFigmaNodesRendered]);
9557
+ import { z as z294 } from "zod";
9558
+ var DTOEvent = z294.discriminatedUnion("type", [DTOEventDataSourcesImported, DTOEventFigmaNodesRendered]);
9533
9559
 
9534
9560
  // src/sync/docs-structure-repo.ts
9535
9561
  import PQueue from "p-queue";
9536
9562
 
9537
9563
  // src/yjs/design-system-content/documentation-hierarchy.ts
9538
- import { z as z294 } from "zod";
9564
+ import { z as z295 } from "zod";
9539
9565
 
9540
9566
  // src/yjs/version-room/base.ts
9541
9567
  var VersionRoomBaseYDoc = class {
@@ -10085,24 +10111,24 @@ var FrontendVersionRoomYDoc = class {
10085
10111
  };
10086
10112
 
10087
10113
  // src/yjs/design-system-content/documentation-hierarchy.ts
10088
- var DocumentationHierarchySettings = z294.object({
10089
- routingVersion: z294.string(),
10090
- isDraftFeatureAdopted: z294.boolean(),
10091
- isApprovalFeatureEnabled: z294.boolean(),
10092
- approvalRequiredForPublishing: z294.boolean()
10114
+ var DocumentationHierarchySettings = z295.object({
10115
+ routingVersion: z295.string(),
10116
+ isDraftFeatureAdopted: z295.boolean(),
10117
+ isApprovalFeatureEnabled: z295.boolean(),
10118
+ approvalRequiredForPublishing: z295.boolean()
10093
10119
  });
10094
10120
  function yjsToDocumentationHierarchy(doc) {
10095
10121
  return new FrontendVersionRoomYDoc(doc).getDocumentationHierarchy();
10096
10122
  }
10097
10123
 
10098
10124
  // src/yjs/design-system-content/item-configuration.ts
10099
- import { z as z295 } from "zod";
10100
- var DTODocumentationPageRoomHeaderData = z295.object({
10101
- title: z295.string(),
10125
+ import { z as z296 } from "zod";
10126
+ var DTODocumentationPageRoomHeaderData = z296.object({
10127
+ title: z296.string(),
10102
10128
  configuration: DTODocumentationItemConfigurationV2
10103
10129
  });
10104
- var DTODocumentationPageRoomHeaderDataUpdate = z295.object({
10105
- title: z295.string().optional(),
10130
+ var DTODocumentationPageRoomHeaderDataUpdate = z296.object({
10131
+ title: z296.string().optional(),
10106
10132
  configuration: DTODocumentationItemConfigurationV2.omit({ header: true }).extend({ header: DocumentationItemHeaderV2.partial() }).optional()
10107
10133
  });
10108
10134
  function itemConfigurationToYjs(yDoc, item) {
@@ -10137,9 +10163,9 @@ var PageBlockEditorModel = PageBlockEditorModelV2;
10137
10163
  var PageSectionEditorModel = PageSectionEditorModelV2;
10138
10164
 
10139
10165
  // src/yjs/docs-editor/model/page.ts
10140
- import { z as z296 } from "zod";
10141
- var DocumentationPageEditorModel = z296.object({
10142
- blocks: z296.array(DocumentationPageContentItem)
10166
+ import { z as z297 } from "zod";
10167
+ var DocumentationPageEditorModel = z297.object({
10168
+ blocks: z297.array(DocumentationPageContentItem)
10143
10169
  });
10144
10170
 
10145
10171
  // src/yjs/docs-editor/prosemirror/inner-editor-schema.ts
@@ -13732,7 +13758,7 @@ var blocks = [
13732
13758
 
13733
13759
  // src/yjs/docs-editor/prosemirror-to-blocks.ts
13734
13760
  import { yXmlFragmentToProsemirrorJSON } from "y-prosemirror";
13735
- import { z as z297 } from "zod";
13761
+ import { z as z298 } from "zod";
13736
13762
  function yDocToPage(yDoc, definitions) {
13737
13763
  return yXmlFragmentToPage(yDoc.getXmlFragment("default"), definitions);
13738
13764
  }
@@ -13808,7 +13834,7 @@ function prosemirrorNodeToSectionItem(prosemirrorNode, definitionsMap) {
13808
13834
  if (!id) return null;
13809
13835
  return {
13810
13836
  id,
13811
- title: getProsemirrorAttribute(prosemirrorNode, "title", z297.string()) ?? "",
13837
+ title: getProsemirrorAttribute(prosemirrorNode, "title", z298.string()) ?? "",
13812
13838
  columns: (prosemirrorNode.content ?? []).filter((c) => c.type === "sectionItemColumn").map((c) => prosemirrorNodeToSectionColumns(c, definitionsMap)).filter(nonNullFilter)
13813
13839
  };
13814
13840
  }
@@ -13842,7 +13868,7 @@ function internalProsemirrorNodesToBlocks(prosemirrorNodes, definitionsMap, dept
13842
13868
  });
13843
13869
  }
13844
13870
  function internalProsemirrorNodeToBlock(prosemirrorNode, definitionsMap, depth) {
13845
- const definitionId = getProsemirrorAttribute(prosemirrorNode, "definitionId", z297.string());
13871
+ const definitionId = getProsemirrorAttribute(prosemirrorNode, "definitionId", z298.string());
13846
13872
  if (!definitionId) {
13847
13873
  console.warn(`definitionId on ${prosemirrorNode.type} is required to be interpreted as a block, skipping node`);
13848
13874
  return [];
@@ -13883,7 +13909,7 @@ function parseAsRichText(prosemirrorNode, definition, property) {
13883
13909
  const id = getProsemirrorBlockId(prosemirrorNode);
13884
13910
  if (!id) return null;
13885
13911
  const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
13886
- const calloutType = parseCalloutType(getProsemirrorAttribute(prosemirrorNode, "type", z297.string().optional()));
13912
+ const calloutType = parseCalloutType(getProsemirrorAttribute(prosemirrorNode, "type", z298.string().optional()));
13887
13913
  return {
13888
13914
  id,
13889
13915
  type: "Block",
@@ -14006,9 +14032,9 @@ function parseRichTextAttribute(mark) {
14006
14032
  return null;
14007
14033
  }
14008
14034
  function parseProsemirrorLink(mark) {
14009
- const href = getProsemirrorAttribute(mark, "href", z297.string().optional());
14035
+ const href = getProsemirrorAttribute(mark, "href", z298.string().optional());
14010
14036
  if (!href) return null;
14011
- const target = getProsemirrorAttribute(mark, "target", z297.string().optional());
14037
+ const target = getProsemirrorAttribute(mark, "target", z298.string().optional());
14012
14038
  const openInNewTab = target === "_blank";
14013
14039
  if (href.startsWith("@")) {
14014
14040
  return {
@@ -14027,9 +14053,9 @@ function parseProsemirrorLink(mark) {
14027
14053
  }
14028
14054
  }
14029
14055
  function parseProsemirrorCommentHighlight(mark) {
14030
- const highlightId = getProsemirrorAttribute(mark, "highlightId", z297.string().optional());
14056
+ const highlightId = getProsemirrorAttribute(mark, "highlightId", z298.string().optional());
14031
14057
  if (!highlightId) return null;
14032
- const isResolved = getProsemirrorAttribute(mark, "resolved", z297.boolean().optional()) ?? false;
14058
+ const isResolved = getProsemirrorAttribute(mark, "resolved", z298.boolean().optional()) ?? false;
14033
14059
  return {
14034
14060
  type: "Comment",
14035
14061
  commentHighlightId: highlightId,
@@ -14040,7 +14066,7 @@ function parseAsTable(prosemirrorNode, definition, property) {
14040
14066
  const id = getProsemirrorBlockId(prosemirrorNode);
14041
14067
  if (!id) return null;
14042
14068
  const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
14043
- const hasBorder = getProsemirrorAttribute(prosemirrorNode, "hasBorder", z297.boolean().optional()) !== false;
14069
+ const hasBorder = getProsemirrorAttribute(prosemirrorNode, "hasBorder", z298.boolean().optional()) !== false;
14044
14070
  const tableChild = prosemirrorNode.content?.find((c) => c.type === "table");
14045
14071
  if (!tableChild) {
14046
14072
  return emptyTable(id, variantId, 0);
@@ -14086,9 +14112,9 @@ function parseAsTable(prosemirrorNode, definition, property) {
14086
14112
  function parseAsTableCell(prosemirrorNode) {
14087
14113
  const id = getProsemirrorBlockId(prosemirrorNode);
14088
14114
  if (!id) return null;
14089
- const textAlign = getProsemirrorAttribute(prosemirrorNode, "textAlign", z297.string().optional());
14115
+ const textAlign = getProsemirrorAttribute(prosemirrorNode, "textAlign", z298.string().optional());
14090
14116
  let columnWidth;
14091
- const columnWidthArray = getProsemirrorAttribute(prosemirrorNode, "colwidth", z297.array(z297.number()).nullish());
14117
+ const columnWidthArray = getProsemirrorAttribute(prosemirrorNode, "colwidth", z298.array(z298.number()).nullish());
14092
14118
  if (columnWidthArray) {
14093
14119
  columnWidth = roundDimension(columnWidthArray[0]);
14094
14120
  }
@@ -14124,7 +14150,7 @@ function parseAsTableNode(prosemirrorNode) {
14124
14150
  value: parseRichText(prosemirrorNode.content ?? [])
14125
14151
  };
14126
14152
  case "image":
14127
- const items = getProsemirrorAttribute(prosemirrorNode, "items", z297.string());
14153
+ const items = getProsemirrorAttribute(prosemirrorNode, "items", z298.string());
14128
14154
  if (!items) return null;
14129
14155
  const parsedItems = PageBlockItemV2.array().safeParse(JSON.parse(items));
14130
14156
  if (!parsedItems.success) return null;
@@ -14238,7 +14264,7 @@ function definitionExpectsPlaceholderItem(definition) {
14238
14264
  );
14239
14265
  }
14240
14266
  function parseBlockItems(prosemirrorNode, definition) {
14241
- const itemsString = getProsemirrorAttribute(prosemirrorNode, "items", z297.string());
14267
+ const itemsString = getProsemirrorAttribute(prosemirrorNode, "items", z298.string());
14242
14268
  if (!itemsString) return null;
14243
14269
  const itemsJson = JSON.parse(itemsString);
14244
14270
  if (!Array.isArray(itemsJson)) {
@@ -14249,18 +14275,18 @@ function parseBlockItems(prosemirrorNode, definition) {
14249
14275
  }
14250
14276
  function parseAppearance(prosemirrorNode) {
14251
14277
  let appearance = {};
14252
- const rawAppearanceString = getProsemirrorAttribute(prosemirrorNode, "appearance", z297.string().optional());
14278
+ const rawAppearanceString = getProsemirrorAttribute(prosemirrorNode, "appearance", z298.string().optional());
14253
14279
  if (rawAppearanceString) {
14254
14280
  const parsedAppearance = PageBlockAppearanceV2.safeParse(JSON.parse(rawAppearanceString));
14255
14281
  if (parsedAppearance.success) {
14256
14282
  appearance = parsedAppearance.data;
14257
14283
  }
14258
14284
  }
14259
- const columns = getProsemirrorAttribute(prosemirrorNode, "columns", z297.number().optional());
14285
+ const columns = getProsemirrorAttribute(prosemirrorNode, "columns", z298.number().optional());
14260
14286
  if (columns) {
14261
14287
  appearance.numberOfColumns = columns;
14262
14288
  }
14263
- const backgroundColor = getProsemirrorAttribute(prosemirrorNode, "backgroundColor", z297.string().optional());
14289
+ const backgroundColor = getProsemirrorAttribute(prosemirrorNode, "backgroundColor", z298.string().optional());
14264
14290
  if (backgroundColor) {
14265
14291
  const parsedColor = PageBlockColorV2.safeParse(JSON.parse(backgroundColor));
14266
14292
  if (parsedColor.success) {
@@ -14359,12 +14385,12 @@ function valueSchemaForPropertyType(type) {
14359
14385
  }
14360
14386
  }
14361
14387
  function getProsemirrorBlockId(prosemirrorNode) {
14362
- const id = getProsemirrorAttribute(prosemirrorNode, "id", z297.string());
14388
+ const id = getProsemirrorAttribute(prosemirrorNode, "id", z298.string());
14363
14389
  if (!id) console.warn(`Prosemirror attribute "id" on ${prosemirrorNode.type} is required`);
14364
14390
  return id;
14365
14391
  }
14366
14392
  function getProsemirrorBlockVariantId(prosemirrorNode) {
14367
- return getProsemirrorAttribute(prosemirrorNode, "variantId", nullishToOptional(z297.string()));
14393
+ return getProsemirrorAttribute(prosemirrorNode, "variantId", nullishToOptional(z298.string()));
14368
14394
  }
14369
14395
  function getProsemirrorAttribute(prosemirrorNode, attributeName, validationSchema) {
14370
14396
  const parsedAttr = validationSchema.safeParse(prosemirrorNode.attrs?.[attributeName]);
@@ -14905,6 +14931,12 @@ export {
14905
14931
  CodeComponentsEndpoint,
14906
14932
  CodegenEndpoint,
14907
14933
  Collection2 as Collection,
14934
+ DTOAccessToken,
14935
+ DTOAccessTokenCreatePayload,
14936
+ DTOAccessTokenFull,
14937
+ DTOAccessTokenFullResponse,
14938
+ DTOAccessTokenListResponse,
14939
+ DTOAccessTokenResponse,
14908
14940
  DTOAnalyzeCodeComponentsInPackage,
14909
14941
  DTOAnalyzeCodeComponentsInPackageInput,
14910
14942
  DTOAnalyzeCodeComponentsInPackageResponse,