@supernova-studio/client 1.6.6 → 1.6.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -177,24 +177,25 @@ import { z as z167 } from "zod";
177
177
  import { z as z170 } from "zod";
178
178
  import { z as z171 } from "zod";
179
179
  import { z as z172 } from "zod";
180
- import { z as z175 } from "zod";
180
+ import { z as z176 } from "zod";
181
181
  import { z as z173 } from "zod";
182
182
  import { z as z174 } from "zod";
183
- import { z as z176 } from "zod";
183
+ import { z as z175 } from "zod";
184
184
  import { z as z177 } from "zod";
185
185
  import { z as z178 } from "zod";
186
186
  import { z as z179 } from "zod";
187
187
  import { z as z180 } from "zod";
188
188
  import { z as z181 } from "zod";
189
189
  import { z as z182 } from "zod";
190
- import { z as z184 } from "zod";
191
190
  import { z as z183 } from "zod";
192
191
  import { z as z185 } from "zod";
192
+ import { z as z184 } from "zod";
193
193
  import { z as z186 } from "zod";
194
194
  import { z as z187 } from "zod";
195
195
  import { z as z188 } from "zod";
196
196
  import { z as z189 } from "zod";
197
197
  import { z as z190 } from "zod";
198
+ import { z as z191 } from "zod";
198
199
  var __defProp2 = Object.defineProperty;
199
200
  var __defNormalProp2 = (obj, key, value) => key in obj ? __defProp2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
200
201
  var __publicField2 = (obj, key, value) => __defNormalProp2(obj, typeof key !== "symbol" ? key + "" : key, value);
@@ -3884,7 +3885,7 @@ var DocumentationPageDependencies = z114.object({
3884
3885
  propertyPersistentIds: z114.set(z114.string()),
3885
3886
  themePersistentIds: z114.set(z114.string()),
3886
3887
  documentationPagePersistentIds: z114.set(z114.string()),
3887
- storybookEntriesStoryIds: z114.set(z114.string())
3888
+ storybookEntriesStoryIds: z114.array(z114.string())
3888
3889
  });
3889
3890
  var DocumentationPage = z115.object({
3890
3891
  type: z115.literal("DocumentationPage"),
@@ -4588,7 +4589,13 @@ var ExportDestinationsMapUpdate = z157.object({
4588
4589
  destinationGitlab: ExporterDestinationGitlab.nullish(),
4589
4590
  destinationBitbucket: ExporterDestinationBitbucket.nullish()
4590
4591
  });
4591
- var PipelineEventType = z158.enum(["OnVersionReleased", "OnHeadChanged", "OnSourceUpdated", "None"]);
4592
+ var PipelineEventType = z158.enum([
4593
+ "OnVersionReleased",
4594
+ "OnHeadChanged",
4595
+ "OnSourceUpdated",
4596
+ "OnDocumentationPublished",
4597
+ "None"
4598
+ ]);
4592
4599
  var PipelineDestinationGitType = z158.enum(["Github", "Gitlab", "Bitbucket", "Azure"]);
4593
4600
  var PipelineDestinationExtraType = z158.enum(["WebhookUrl", "S3", "Documentation"]);
4594
4601
  var PipelineDestinationType = z158.union([PipelineDestinationGitType, PipelineDestinationExtraType]);
@@ -4891,38 +4898,48 @@ var EventVersionReleased = z174.object({
4891
4898
  designSystemId: z174.string(),
4892
4899
  versionId: z174.string()
4893
4900
  });
4894
- var Event = z175.discriminatedUnion("type", [EventVersionReleased, EventDataSourceImported]);
4895
- var ExportJobDocumentationContext = z176.object({
4896
- isSingleVersionDocs: z176.boolean(),
4897
- versionSlug: z176.string(),
4901
+ var EventDocumentationPublished = z175.object({
4902
+ type: z175.literal("DocumentationPublished"),
4903
+ workspaceId: z175.string(),
4904
+ designSystemId: z175.string(),
4905
+ versionId: z175.string()
4906
+ });
4907
+ var Event = z176.discriminatedUnion("type", [
4908
+ EventVersionReleased,
4909
+ EventDataSourceImported,
4910
+ EventDocumentationPublished
4911
+ ]);
4912
+ var ExportJobDocumentationContext = z177.object({
4913
+ isSingleVersionDocs: z177.boolean(),
4914
+ versionSlug: z177.string(),
4898
4915
  environment: PublishedDocEnvironment
4899
4916
  });
4900
- var ExportJobContext = z176.object({
4901
- apiUrl: z176.string(),
4902
- accessToken: z176.string(),
4903
- designSystemId: z176.string(),
4904
- designSystemName: z176.string(),
4905
- exporterId: z176.string(),
4906
- versionId: z176.string(),
4907
- brandId: z176.string().optional(),
4908
- themeId: z176.string().optional(),
4909
- themePersistentIds: z176.string().array().optional(),
4910
- previewMode: z176.boolean().optional(),
4911
- exporterName: z176.string(),
4917
+ var ExportJobContext = z177.object({
4918
+ apiUrl: z177.string(),
4919
+ accessToken: z177.string(),
4920
+ designSystemId: z177.string(),
4921
+ designSystemName: z177.string(),
4922
+ exporterId: z177.string(),
4923
+ versionId: z177.string(),
4924
+ brandId: z177.string().optional(),
4925
+ themeId: z177.string().optional(),
4926
+ themePersistentIds: z177.string().array().optional(),
4927
+ previewMode: z177.boolean().optional(),
4928
+ exporterName: z177.string(),
4912
4929
  documentation: ExportJobDocumentationContext.optional()
4913
4930
  });
4914
- var ExportJobExporterConfiguration = z176.object({
4915
- exporterPackageUrl: z176.string(),
4931
+ var ExportJobExporterConfiguration = z177.object({
4932
+ exporterPackageUrl: z177.string(),
4916
4933
  exporterPropertyValues: ExporterConfigurationPropertyValue.array(),
4917
4934
  exporterPropertyValuesV2: ExporterPropertyValueMap.optional()
4918
4935
  });
4919
- var ExporterFunctionPayload = z177.object({
4920
- exportJobId: z177.string(),
4921
- exportContextId: z177.string(),
4922
- designSystemId: z177.string(),
4923
- workspaceId: z177.string()
4936
+ var ExporterFunctionPayload = z178.object({
4937
+ exportJobId: z178.string(),
4938
+ exportContextId: z178.string(),
4939
+ designSystemId: z178.string(),
4940
+ workspaceId: z178.string()
4924
4941
  });
4925
- var ExportJobDestinationType = z178.enum([
4942
+ var ExportJobDestinationType = z179.enum([
4926
4943
  "s3",
4927
4944
  "webhookUrl",
4928
4945
  "github",
@@ -4931,30 +4948,30 @@ var ExportJobDestinationType = z178.enum([
4931
4948
  "gitlab",
4932
4949
  "bitbucket"
4933
4950
  ]);
4934
- var ExportJobStatus = z178.enum(["InProgress", "Success", "Failed", "Timeout"]);
4935
- var ExportJobLogEntryType = z178.enum(["success", "info", "warning", "error", "user"]);
4936
- var ExportJobLogEntry = z178.object({
4937
- id: z178.string().optional(),
4938
- time: z178.coerce.date(),
4951
+ var ExportJobStatus = z179.enum(["InProgress", "Success", "Failed", "Timeout"]);
4952
+ var ExportJobLogEntryType = z179.enum(["success", "info", "warning", "error", "user"]);
4953
+ var ExportJobLogEntry = z179.object({
4954
+ id: z179.string().optional(),
4955
+ time: z179.coerce.date(),
4939
4956
  type: ExportJobLogEntryType,
4940
- message: z178.string()
4957
+ message: z179.string()
4941
4958
  });
4942
- var ExportJobPullRequestDestinationResult = z178.object({
4943
- pullRequestUrl: z178.string()
4959
+ var ExportJobPullRequestDestinationResult = z179.object({
4960
+ pullRequestUrl: z179.string()
4944
4961
  });
4945
- var ExportJobS3DestinationResult = z178.object({
4946
- bucket: z178.string(),
4947
- urlPrefix: z178.string().optional(),
4948
- path: z178.string(),
4949
- files: z178.array(z178.string()),
4950
- url: nullishToOptional(z178.string()),
4951
- urls: nullishToOptional(z178.string().array())
4962
+ var ExportJobS3DestinationResult = z179.object({
4963
+ bucket: z179.string(),
4964
+ urlPrefix: z179.string().optional(),
4965
+ path: z179.string(),
4966
+ files: z179.array(z179.string()),
4967
+ url: nullishToOptional(z179.string()),
4968
+ urls: nullishToOptional(z179.string().array())
4952
4969
  });
4953
- var ExportJobDocsDestinationResult = z178.object({
4954
- url: z178.string()
4970
+ var ExportJobDocsDestinationResult = z179.object({
4971
+ url: z179.string()
4955
4972
  });
4956
- var ExportJobResult = z178.object({
4957
- error: z178.string().optional(),
4973
+ var ExportJobResult = z179.object({
4974
+ error: z179.string().optional(),
4958
4975
  s3: nullishToOptional(ExportJobS3DestinationResult),
4959
4976
  github: nullishToOptional(ExportJobPullRequestDestinationResult),
4960
4977
  azure: nullishToOptional(ExportJobPullRequestDestinationResult),
@@ -4963,24 +4980,24 @@ var ExportJobResult = z178.object({
4963
4980
  sndocs: nullishToOptional(ExportJobDocsDestinationResult),
4964
4981
  logs: nullishToOptional(ExportJobLogEntry.array())
4965
4982
  });
4966
- var ExportJob = z178.object({
4967
- id: z178.string(),
4968
- createdAt: z178.coerce.date(),
4969
- finishedAt: z178.coerce.date().optional(),
4970
- designSystemId: z178.string(),
4971
- designSystemVersionId: z178.string(),
4972
- workspaceId: z178.string(),
4973
- scheduleId: z178.string().nullish(),
4974
- exporterId: z178.string(),
4975
- brandId: z178.string().optional(),
4976
- themeId: z178.string().optional(),
4977
- themePersistentIds: z178.string().array().optional(),
4978
- estimatedExecutionTime: z178.number().optional(),
4983
+ var ExportJob = z179.object({
4984
+ id: z179.string(),
4985
+ createdAt: z179.coerce.date(),
4986
+ finishedAt: z179.coerce.date().optional(),
4987
+ designSystemId: z179.string(),
4988
+ designSystemVersionId: z179.string(),
4989
+ workspaceId: z179.string(),
4990
+ scheduleId: z179.string().nullish(),
4991
+ exporterId: z179.string(),
4992
+ brandId: z179.string().optional(),
4993
+ themeId: z179.string().optional(),
4994
+ themePersistentIds: z179.string().array().optional(),
4995
+ estimatedExecutionTime: z179.number().optional(),
4979
4996
  status: ExportJobStatus,
4980
4997
  result: ExportJobResult.optional(),
4981
- createdByUserId: z178.string().optional(),
4998
+ createdByUserId: z179.string().optional(),
4982
4999
  exporterPropertyValues: ExporterPropertyValueMap.optional(),
4983
- previewMode: z178.boolean().optional(),
5000
+ previewMode: z179.boolean().optional(),
4984
5001
  // Destinations
4985
5002
  ...ExportDestinationsMap.shape
4986
5003
  });
@@ -4994,24 +5011,24 @@ var ExportJobFindByFilter = ExportJob.pick({
4994
5011
  themeId: true,
4995
5012
  brandId: true
4996
5013
  }).extend({
4997
- destinations: z178.array(ExportJobDestinationType),
5014
+ destinations: z179.array(ExportJobDestinationType),
4998
5015
  docsEnvironment: PublishedDocEnvironment
4999
5016
  }).partial();
5000
- var ExporterType2 = z179.enum(["documentation", "code"]);
5001
- var ListExporterQuery = z179.object({
5002
- limit: z179.number().optional(),
5003
- offset: z179.number().optional(),
5017
+ var ExporterType2 = z180.enum(["documentation", "code"]);
5018
+ var ListExporterQuery = z180.object({
5019
+ limit: z180.number().optional(),
5020
+ offset: z180.number().optional(),
5004
5021
  type: ExporterType2.optional(),
5005
- search: z179.string().optional()
5022
+ search: z180.string().optional()
5006
5023
  });
5007
- var ExporterWorkspaceMembershipRole = z180.enum(["Owner", "OwnerArchived", "User"]);
5008
- var ExporterWorkspaceMembership = z181.object({
5009
- id: z181.string(),
5010
- workspaceId: z181.string(),
5011
- exporterId: z181.string(),
5024
+ var ExporterWorkspaceMembershipRole = z181.enum(["Owner", "OwnerArchived", "User"]);
5025
+ var ExporterWorkspaceMembership = z182.object({
5026
+ id: z182.string(),
5027
+ workspaceId: z182.string(),
5028
+ exporterId: z182.string(),
5012
5029
  role: ExporterWorkspaceMembershipRole
5013
5030
  });
5014
- var FlaggedFeature = z182.enum([
5031
+ var FlaggedFeature = z183.enum([
5015
5032
  "FigmaImporterV2",
5016
5033
  "DisableImporter",
5017
5034
  "VariablesOrder",
@@ -5022,13 +5039,13 @@ var FlaggedFeature = z182.enum([
5022
5039
  "TypographyUseFontStyle",
5023
5040
  "FigmaImporterV3"
5024
5041
  ]);
5025
- var FeatureFlagMap = z182.record(FlaggedFeature, z182.boolean());
5026
- var FeatureFlag = z182.object({
5027
- id: z182.string(),
5042
+ var FeatureFlagMap = z183.record(FlaggedFeature, z183.boolean());
5043
+ var FeatureFlag = z183.object({
5044
+ id: z183.string(),
5028
5045
  feature: FlaggedFeature,
5029
- createdAt: z182.coerce.date(),
5030
- enabled: z182.boolean(),
5031
- designSystemId: z182.string().optional()
5046
+ createdAt: z183.coerce.date(),
5047
+ enabled: z183.boolean(),
5048
+ designSystemId: z183.string().optional()
5032
5049
  });
5033
5050
  var OAuthProviderNames = /* @__PURE__ */ ((OAuthProviderNames2) => {
5034
5051
  OAuthProviderNames2["Figma"] = "figma";
@@ -5038,108 +5055,108 @@ var OAuthProviderNames = /* @__PURE__ */ ((OAuthProviderNames2) => {
5038
5055
  OAuthProviderNames2["Bitbucket"] = "bitbucket";
5039
5056
  return OAuthProviderNames2;
5040
5057
  })(OAuthProviderNames || {});
5041
- var OAuthProviderSchema = z183.nativeEnum(OAuthProviderNames);
5058
+ var OAuthProviderSchema = z184.nativeEnum(OAuthProviderNames);
5042
5059
  var OAuthProvider = OAuthProviderSchema.enum;
5043
- var ExternalOAuthRequest = z184.object({
5044
- id: z184.string(),
5060
+ var ExternalOAuthRequest = z185.object({
5061
+ id: z185.string(),
5045
5062
  provider: OAuthProviderSchema,
5046
- userId: z184.string(),
5047
- state: z184.string(),
5048
- createdAt: z184.coerce.date()
5063
+ userId: z185.string(),
5064
+ state: z185.string(),
5065
+ createdAt: z185.coerce.date()
5049
5066
  });
5050
- var GitObjectsQuery = z185.object({
5051
- organization: z185.string().optional(),
5067
+ var GitObjectsQuery = z186.object({
5068
+ organization: z186.string().optional(),
5052
5069
  // Azure Organization | Bitbucket Workspace slug | Gitlab Group | Github Account (User or Organization)
5053
- project: z185.string().optional(),
5070
+ project: z186.string().optional(),
5054
5071
  // Only for Bitbucket and Azure
5055
- repository: z185.string().optional(),
5072
+ repository: z186.string().optional(),
5056
5073
  // For all providers. For Gitlab, it's called "project".
5057
- branch: z185.string().optional(),
5074
+ branch: z186.string().optional(),
5058
5075
  // For all providers.
5059
- user: z185.string().optional()
5076
+ user: z186.string().optional()
5060
5077
  // Gitlab user
5061
5078
  });
5062
- var GitOrganization = z185.object({
5063
- id: z185.string(),
5064
- name: z185.string(),
5065
- url: z185.string(),
5066
- slug: z185.string()
5079
+ var GitOrganization = z186.object({
5080
+ id: z186.string(),
5081
+ name: z186.string(),
5082
+ url: z186.string(),
5083
+ slug: z186.string()
5067
5084
  });
5068
- var GitProject = z185.object({
5069
- id: z185.string(),
5070
- name: z185.string(),
5071
- url: z185.string(),
5072
- slug: z185.string()
5085
+ var GitProject = z186.object({
5086
+ id: z186.string(),
5087
+ name: z186.string(),
5088
+ url: z186.string(),
5089
+ slug: z186.string()
5073
5090
  });
5074
- var GitRepository = z185.object({
5075
- id: z185.string(),
5076
- name: z185.string(),
5077
- url: z185.string(),
5078
- slug: z185.string(),
5091
+ var GitRepository = z186.object({
5092
+ id: z186.string(),
5093
+ name: z186.string(),
5094
+ url: z186.string(),
5095
+ slug: z186.string(),
5079
5096
  /**
5080
5097
  * Can be undefined when:
5081
5098
  * - there are no branches in the repository yet
5082
5099
  * - Git provider doesn't expose this information on a repository via their API
5083
5100
  */
5084
- defaultBranch: z185.string().optional()
5101
+ defaultBranch: z186.string().optional()
5085
5102
  });
5086
- var GitBranch = z185.object({
5087
- name: z185.string(),
5088
- lastCommitId: z185.string()
5103
+ var GitBranch = z186.object({
5104
+ name: z186.string(),
5105
+ lastCommitId: z186.string()
5089
5106
  });
5090
- var IntegrationTokenSchemaOld = z186.object({
5091
- id: z186.string(),
5092
- provider: OAuthProviderSchema,
5093
- scope: z186.string(),
5094
- userId: z186.string(),
5095
- accessToken: z186.string(),
5096
- refreshToken: z186.string(),
5097
- expiresAt: z186.coerce.date(),
5098
- externalUserId: z186.string().nullish()
5099
- });
5100
- var WorkspaceOAuthRequestSchema = z187.object({
5107
+ var IntegrationTokenSchemaOld = z187.object({
5101
5108
  id: z187.string(),
5102
- workspaceId: z187.string(),
5103
5109
  provider: OAuthProviderSchema,
5110
+ scope: z187.string(),
5104
5111
  userId: z187.string(),
5105
- createdAt: z187.coerce.date()
5112
+ accessToken: z187.string(),
5113
+ refreshToken: z187.string(),
5114
+ expiresAt: z187.coerce.date(),
5115
+ externalUserId: z187.string().nullish()
5116
+ });
5117
+ var WorkspaceOAuthRequestSchema = z188.object({
5118
+ id: z188.string(),
5119
+ workspaceId: z188.string(),
5120
+ provider: OAuthProviderSchema,
5121
+ userId: z188.string(),
5122
+ createdAt: z188.coerce.date()
5106
5123
  });
5107
- var AnyRecord = z188.record(z188.any());
5124
+ var AnyRecord = z189.record(z189.any());
5108
5125
  var NpmPackageVersionDist = AnyRecord.and(
5109
- z188.object({
5110
- tarball: z188.string()
5126
+ z189.object({
5127
+ tarball: z189.string()
5111
5128
  })
5112
5129
  );
5113
5130
  var NpmPackageVersion = AnyRecord.and(
5114
- z188.object({
5131
+ z189.object({
5115
5132
  dist: NpmPackageVersionDist
5116
5133
  })
5117
5134
  );
5118
5135
  var NpmPackage = AnyRecord.and(
5119
- z188.object({
5120
- _id: z188.string(),
5121
- name: z188.string(),
5136
+ z189.object({
5137
+ _id: z189.string(),
5138
+ name: z189.string(),
5122
5139
  // e.g. "latest": "1.2.3"
5123
- "dist-tags": z188.record(z188.string(), z188.string()),
5140
+ "dist-tags": z189.record(z189.string(), z189.string()),
5124
5141
  // "1.2.3": {...}
5125
- versions: z188.record(NpmPackageVersion)
5142
+ versions: z189.record(NpmPackageVersion)
5126
5143
  })
5127
5144
  );
5128
- var NpmProxyTokenPayload = z189.object({
5129
- npmProxyRegistryConfigId: z189.string()
5130
- });
5131
- var PersonalAccessToken = z190.object({
5132
- id: z190.string(),
5133
- userId: z190.string(),
5134
- workspaceId: z190.string().optional(),
5135
- designSystemId: z190.string().optional(),
5145
+ var NpmProxyTokenPayload = z190.object({
5146
+ npmProxyRegistryConfigId: z190.string()
5147
+ });
5148
+ var PersonalAccessToken = z191.object({
5149
+ id: z191.string(),
5150
+ userId: z191.string(),
5151
+ workspaceId: z191.string().optional(),
5152
+ designSystemId: z191.string().optional(),
5136
5153
  workspaceRole: WorkspaceRoleSchema.optional(),
5137
- name: z190.string(),
5138
- hidden: z190.boolean(),
5139
- token: z190.string(),
5140
- scope: z190.string().optional(),
5141
- createdAt: z190.coerce.date(),
5142
- expireAt: z190.coerce.date().optional()
5154
+ name: z191.string(),
5155
+ hidden: z191.boolean(),
5156
+ token: z191.string(),
5157
+ scope: z191.string().optional(),
5158
+ createdAt: z191.coerce.date(),
5159
+ expireAt: z191.coerce.date().optional()
5143
5160
  });
5144
5161
 
5145
5162
  // src/api/conversion/analytics/page-visits-to-dto.ts
@@ -5660,105 +5677,105 @@ function integrationCredentialToDto(credential) {
5660
5677
  }
5661
5678
 
5662
5679
  // src/api/dto/access-tokens/access-token.ts
5663
- import { z as z191 } from "zod";
5664
- var DTOAccessToken = z191.object({
5665
- id: z191.string(),
5666
- createdAt: z191.coerce.date(),
5667
- name: z191.string(),
5668
- scope: z191.string().optional()
5680
+ import { z as z192 } from "zod";
5681
+ var DTOAccessToken = z192.object({
5682
+ id: z192.string(),
5683
+ createdAt: z192.coerce.date(),
5684
+ name: z192.string(),
5685
+ scope: z192.string().optional()
5669
5686
  });
5670
5687
  var DTOAccessTokenFull = DTOAccessToken.extend({
5671
- token: z191.string()
5688
+ token: z192.string()
5672
5689
  });
5673
- var DTOAccessTokenListResponse = z191.object({
5690
+ var DTOAccessTokenListResponse = z192.object({
5674
5691
  tokens: DTOAccessToken.array()
5675
5692
  });
5676
- var DTOAccessTokenResponse = z191.object({
5693
+ var DTOAccessTokenResponse = z192.object({
5677
5694
  token: DTOAccessToken
5678
5695
  });
5679
- var DTOAccessTokenFullResponse = z191.object({
5696
+ var DTOAccessTokenFullResponse = z192.object({
5680
5697
  token: DTOAccessTokenFull
5681
5698
  });
5682
- var DTOAccessTokenCreatePayload = z191.object({
5683
- name: z191.string(),
5684
- scope: z191.string().optional()
5699
+ var DTOAccessTokenCreatePayload = z192.object({
5700
+ name: z192.string(),
5701
+ scope: z192.string().optional()
5685
5702
  });
5686
5703
 
5687
5704
  // src/api/dto/aux/color.ts
5688
- import { z as z192 } from "zod";
5689
- var DTOColorTokenInlineData = z192.object({
5690
- value: z192.string().regex(/^#[a-f0-9]{6,8}$/)
5705
+ import { z as z193 } from "zod";
5706
+ var DTOColorTokenInlineData = z193.object({
5707
+ value: z193.string().regex(/^#[a-f0-9]{6,8}$/)
5691
5708
  });
5692
5709
 
5693
5710
  // src/api/dto/aux/meta.ts
5694
- import { z as z193 } from "zod";
5695
- var DTOObjectMeta = z193.object({
5696
- name: z193.string().max(512),
5697
- description: z193.string().max(2048).optional()
5711
+ import { z as z194 } from "zod";
5712
+ var DTOObjectMeta = z194.object({
5713
+ name: z194.string().max(512),
5714
+ description: z194.string().max(2048).optional()
5698
5715
  });
5699
5716
 
5700
5717
  // src/api/dto/aux/pagination.ts
5701
- import { z as z194 } from "zod";
5702
- var DTOPagination = z194.object({
5703
- limit: z194.string().optional(),
5704
- offset: z194.string().optional()
5718
+ import { z as z195 } from "zod";
5719
+ var DTOPagination = z195.object({
5720
+ limit: z195.string().optional(),
5721
+ offset: z195.string().optional()
5705
5722
  });
5706
5723
 
5707
5724
  // src/api/dto/bff/app-bootstrap-data.ts
5708
- import { z as z235 } from "zod";
5725
+ import { z as z236 } from "zod";
5709
5726
 
5710
5727
  // src/api/dto/design-systems/brand.ts
5711
- import { z as z195 } from "zod";
5712
- var DTOBrand = z195.object({
5713
- id: z195.string(),
5714
- designSystemVersionId: z195.string(),
5715
- persistentId: z195.string(),
5728
+ import { z as z196 } from "zod";
5729
+ var DTOBrand = z196.object({
5730
+ id: z196.string(),
5731
+ designSystemVersionId: z196.string(),
5732
+ persistentId: z196.string(),
5716
5733
  meta: ObjectMeta
5717
5734
  });
5718
- var DTOBrandGetResponse = z195.object({ brand: DTOBrand });
5719
- var DTOBrandCreateResponse = z195.object({
5735
+ var DTOBrandGetResponse = z196.object({ brand: DTOBrand });
5736
+ var DTOBrandCreateResponse = z196.object({
5720
5737
  brand: DTOBrand
5721
5738
  });
5722
- var DTOBrandsListResponse = z195.object({ brands: z195.array(DTOBrand) });
5723
- var DTOBrandCreatePayload = z195.object({
5724
- persistentId: z195.string().uuid(),
5739
+ var DTOBrandsListResponse = z196.object({ brands: z196.array(DTOBrand) });
5740
+ var DTOBrandCreatePayload = z196.object({
5741
+ persistentId: z196.string().uuid(),
5725
5742
  meta: DTOObjectMeta
5726
5743
  });
5727
- var DTOBrandUpdatePayload = z195.object({
5744
+ var DTOBrandUpdatePayload = z196.object({
5728
5745
  meta: DTOObjectMeta.optional(),
5729
- persistentId: z195.string()
5746
+ persistentId: z196.string()
5730
5747
  });
5731
5748
 
5732
5749
  // src/api/dto/design-systems/code-component.ts
5733
- import { z as z196 } from "zod";
5750
+ import { z as z197 } from "zod";
5734
5751
  var DTOCodeComponentResolvedTypeKind = CodeComponentResolvedTypeKind;
5735
5752
  var DTOCodeComponentResolvedType = CodeComponentResolvedType;
5736
5753
  var DTOCodeComponentParentType = CodeComponentParentType;
5737
5754
  var DTOCodeComponentProperty = CodeComponentProperty;
5738
5755
  var DTOCodeComponent = CodeComponent;
5739
- var DTOCodeComponentResponse = z196.object({
5756
+ var DTOCodeComponentResponse = z197.object({
5740
5757
  codeComponent: DTOCodeComponent
5741
5758
  });
5742
- var DTOCodeComponentListResponse = z196.object({
5759
+ var DTOCodeComponentListResponse = z197.object({
5743
5760
  codeComponents: DTOCodeComponent.array()
5744
5761
  });
5745
- var DTOCodeComponentCreateInput = z196.object({
5746
- persistentId: z196.string(),
5747
- exportName: z196.string(),
5748
- componentPath: z196.string(),
5749
- description: z196.string(),
5750
- properties: z196.record(z196.string(), DTOCodeComponentProperty),
5751
- tags: z196.record(z196.string(), z196.string()).nullable()
5762
+ var DTOCodeComponentCreateInput = z197.object({
5763
+ persistentId: z197.string(),
5764
+ exportName: z197.string(),
5765
+ componentPath: z197.string(),
5766
+ description: z197.string(),
5767
+ properties: z197.record(z197.string(), DTOCodeComponentProperty),
5768
+ tags: z197.record(z197.string(), z197.string()).nullable()
5752
5769
  });
5753
- var DTOCodeComponentsCreateInput = z196.object({
5770
+ var DTOCodeComponentsCreateInput = z197.object({
5754
5771
  codeComponents: DTOCodeComponentCreateInput.array()
5755
5772
  });
5756
5773
  var DTOCodeComponentUpsertResponse = CodeComponentUpsertResponse;
5757
5774
  var DTOAnalyzeCodeComponentsInPackage = AnalyzeCodeComponentsInPackage;
5758
5775
  var DTODependencyDefinition = DependencyDefinition;
5759
5776
  var DTORegistry = Registry;
5760
- var DTOAnalyzeCodeComponentsInPackageResponse = z196.object({
5761
- ok: z196.literal(true)
5777
+ var DTOAnalyzeCodeComponentsInPackageResponse = z197.object({
5778
+ ok: z197.literal(true)
5762
5779
  });
5763
5780
  var DTOAnalyzeCodeComponentsInPackageInput = AnalyzeCodeComponentsInPackage.omit({
5764
5781
  designSystemId: true,
@@ -5767,48 +5784,48 @@ var DTOAnalyzeCodeComponentsInPackageInput = AnalyzeCodeComponentsInPackage.omit
5767
5784
  });
5768
5785
 
5769
5786
  // src/api/dto/design-systems/component.ts
5770
- import { z as z197 } from "zod";
5771
- var DTODesignSystemComponent = z197.object({
5772
- id: z197.string(),
5773
- persistentId: z197.string(),
5774
- designSystemVersionId: z197.string(),
5775
- brandId: z197.string(),
5787
+ import { z as z198 } from "zod";
5788
+ var DTODesignSystemComponent = z198.object({
5789
+ id: z198.string(),
5790
+ persistentId: z198.string(),
5791
+ designSystemVersionId: z198.string(),
5792
+ brandId: z198.string(),
5776
5793
  meta: DTOObjectMeta,
5777
- createdAt: z197.coerce.date(),
5778
- updatedAt: z197.coerce.date()
5794
+ createdAt: z198.coerce.date(),
5795
+ updatedAt: z198.coerce.date()
5779
5796
  });
5780
- var DTODesignSystemComponentResponse = z197.object({
5797
+ var DTODesignSystemComponentResponse = z198.object({
5781
5798
  designSystemComponent: DTODesignSystemComponent
5782
5799
  });
5783
- var DTODesignSystemComponentListResponse = z197.object({
5800
+ var DTODesignSystemComponentListResponse = z198.object({
5784
5801
  designSystemComponents: DTODesignSystemComponent.array()
5785
5802
  });
5786
- var DTODesignSystemComponentCreateInput = z197.object({
5787
- brandId: z197.string(),
5803
+ var DTODesignSystemComponentCreateInput = z198.object({
5804
+ brandId: z198.string(),
5788
5805
  // Persistent ID,
5789
- persistentId: z197.string(),
5806
+ persistentId: z198.string(),
5790
5807
  meta: DTOObjectMeta
5791
5808
  });
5792
5809
 
5793
5810
  // src/api/dto/design-systems/contact.ts
5794
- import { z as z201 } from "zod";
5811
+ import { z as z202 } from "zod";
5795
5812
 
5796
5813
  // src/api/dto/users/authenticated-user.ts
5797
- import { z as z199 } from "zod";
5814
+ import { z as z200 } from "zod";
5798
5815
 
5799
5816
  // src/api/dto/users/user.ts
5800
- import { z as z198 } from "zod";
5801
- var DTOUserProfile = z198.object({
5802
- name: z198.string(),
5803
- nickname: z198.string().optional(),
5804
- avatar: z198.string().optional()
5805
- });
5806
- var DTOUser = z198.object({
5807
- id: z198.string(),
5808
- email: z198.string(),
5817
+ import { z as z199 } from "zod";
5818
+ var DTOUserProfile = z199.object({
5819
+ name: z199.string(),
5820
+ nickname: z199.string().optional(),
5821
+ avatar: z199.string().optional()
5822
+ });
5823
+ var DTOUser = z199.object({
5824
+ id: z199.string(),
5825
+ email: z199.string(),
5809
5826
  profile: DTOUserProfile
5810
5827
  });
5811
- var DTOUserGetResponse = z198.object({
5828
+ var DTOUserGetResponse = z199.object({
5812
5829
  user: DTOUser
5813
5830
  });
5814
5831
  var DTOUserProfileUpdate = UserProfileUpdate;
@@ -5818,17 +5835,17 @@ var DTOUserOnboardingDepartment = UserOnboardingDepartment;
5818
5835
  var DTOUserOnboardingJobLevel = UserOnboardingJobLevel;
5819
5836
  var DTOUserSource = UserSource;
5820
5837
  var DTOUserTheme = UserTheme;
5821
- var DTOUserOnboarding = z199.object({
5822
- companyName: z199.string().optional(),
5823
- numberOfPeopleInOrg: z199.string().optional(),
5824
- numberOfPeopleInDesignTeam: z199.string().optional(),
5838
+ var DTOUserOnboarding = z200.object({
5839
+ companyName: z200.string().optional(),
5840
+ numberOfPeopleInOrg: z200.string().optional(),
5841
+ numberOfPeopleInDesignTeam: z200.string().optional(),
5825
5842
  department: DTOUserOnboardingDepartment.optional(),
5826
- jobTitle: z199.string().optional(),
5827
- phase: z199.string().optional(),
5843
+ jobTitle: z200.string().optional(),
5844
+ phase: z200.string().optional(),
5828
5845
  jobLevel: DTOUserOnboardingJobLevel.optional(),
5829
- designSystemName: z199.string().optional(),
5830
- defaultDestination: z199.string().optional(),
5831
- isPageDraftOnboardingFinished: z199.boolean().optional()
5846
+ designSystemName: z200.string().optional(),
5847
+ defaultDestination: z200.string().optional(),
5848
+ isPageDraftOnboardingFinished: z200.boolean().optional()
5832
5849
  });
5833
5850
  var DTOAuthenticatedUserProfile = DTOUserProfile.extend({
5834
5851
  onboarding: DTOUserOnboarding.optional(),
@@ -5836,189 +5853,189 @@ var DTOAuthenticatedUserProfile = DTOUserProfile.extend({
5836
5853
  });
5837
5854
  var DTOAuthenticatedUser = DTOUser.extend({
5838
5855
  profile: DTOAuthenticatedUserProfile,
5839
- createdAt: z199.coerce.date(),
5840
- loggedOutAt: z199.coerce.date().optional(),
5856
+ createdAt: z200.coerce.date(),
5857
+ loggedOutAt: z200.coerce.date().optional(),
5841
5858
  source: DTOUserSource.optional()
5842
5859
  });
5843
- var DTOAuthenticatedUserResponse = z199.object({
5860
+ var DTOAuthenticatedUserResponse = z200.object({
5844
5861
  user: DTOAuthenticatedUser
5845
5862
  });
5846
5863
 
5847
5864
  // src/api/dto/users/update.ts
5848
- import { z as z200 } from "zod";
5849
- var DTOUserProfileUpdateResponse = z200.object({
5865
+ import { z as z201 } from "zod";
5866
+ var DTOUserProfileUpdateResponse = z201.object({
5850
5867
  user: User
5851
5868
  });
5852
5869
 
5853
5870
  // src/api/dto/design-systems/contact.ts
5854
- var DTODesignSystemContactsResponse = z201.object({
5855
- contacts: z201.object({
5856
- workspace: z201.array(DTOUser),
5857
- designSystem: z201.array(DTOUser)
5871
+ var DTODesignSystemContactsResponse = z202.object({
5872
+ contacts: z202.object({
5873
+ workspace: z202.array(DTOUser),
5874
+ designSystem: z202.array(DTOUser)
5858
5875
  })
5859
5876
  });
5860
5877
 
5861
5878
  // src/api/dto/design-systems/data-source.ts
5862
- import { z as z202 } from "zod";
5879
+ import { z as z203 } from "zod";
5863
5880
  var DTODataSourceFigmaScope = DataSourceFigmaScope;
5864
- var DTODataSourceFigmaFileVersion = z202.object({
5865
- id: z202.string(),
5866
- created_at: z202.coerce.date(),
5867
- label: z202.string(),
5868
- description: z202.string()
5869
- });
5870
- var DTODataSourceFigmaCloud = z202.object({
5871
- fileId: z202.string(),
5881
+ var DTODataSourceFigmaFileVersion = z203.object({
5882
+ id: z203.string(),
5883
+ created_at: z203.coerce.date(),
5884
+ label: z203.string(),
5885
+ description: z203.string()
5886
+ });
5887
+ var DTODataSourceFigmaCloud = z203.object({
5888
+ fileId: z203.string(),
5872
5889
  state: DataSourceFigmaState,
5873
5890
  autoImportMode: DataSourceAutoImportMode,
5874
- fileThumbnailUrl: z202.string().optional(),
5891
+ fileThumbnailUrl: z203.string().optional(),
5875
5892
  lastImportResult: SourceImportSummary.nullish(),
5876
- lastImportedAt: z202.coerce.date().nullish(),
5893
+ lastImportedAt: z203.coerce.date().nullish(),
5877
5894
  lastImportedVersion: DTODataSourceFigmaFileVersion.nullish(),
5878
- lastUpdatesCheckedAt: z202.date().nullish(),
5879
- ownerId: z202.string(),
5880
- ownerUserName: z202.string().optional(),
5881
- preferredCredentialId: z202.string().optional(),
5895
+ lastUpdatesCheckedAt: z203.date().nullish(),
5896
+ ownerId: z203.string(),
5897
+ ownerUserName: z203.string().optional(),
5898
+ preferredCredentialId: z203.string().optional(),
5882
5899
  stats: DataSourceStats
5883
5900
  });
5884
- var DTODataSourceFigma = z202.object({
5885
- id: z202.string(),
5886
- type: z202.literal(DataSourceRemoteType.Enum.Figma),
5887
- fileName: z202.string(),
5901
+ var DTODataSourceFigma = z203.object({
5902
+ id: z203.string(),
5903
+ type: z203.literal(DataSourceRemoteType.Enum.Figma),
5904
+ fileName: z203.string(),
5888
5905
  scope: DTODataSourceFigmaScope,
5889
- brandId: z202.string(),
5890
- themeId: z202.string().nullish(),
5906
+ brandId: z203.string(),
5907
+ themeId: z203.string().nullish(),
5891
5908
  cloud: DTODataSourceFigmaCloud.nullish(),
5892
- sortOrder: z202.number().optional()
5893
- });
5894
- var DTODataSourceTokenStudio = z202.object({
5895
- id: z202.string(),
5896
- type: z202.literal(DataSourceRemoteType.Enum.TokenStudio),
5897
- fileName: z202.string(),
5898
- brandId: z202.string(),
5899
- themeId: z202.string().nullish(),
5900
- sortOrder: z202.number().optional(),
5901
- tokenStudio: z202.object({
5902
- settings: z202.object({
5903
- dryRun: z202.boolean(),
5904
- verbose: z202.boolean(),
5905
- preciseCopy: z202.boolean()
5909
+ sortOrder: z203.number().optional()
5910
+ });
5911
+ var DTODataSourceTokenStudio = z203.object({
5912
+ id: z203.string(),
5913
+ type: z203.literal(DataSourceRemoteType.Enum.TokenStudio),
5914
+ fileName: z203.string(),
5915
+ brandId: z203.string(),
5916
+ themeId: z203.string().nullish(),
5917
+ sortOrder: z203.number().optional(),
5918
+ tokenStudio: z203.object({
5919
+ settings: z203.object({
5920
+ dryRun: z203.boolean(),
5921
+ verbose: z203.boolean(),
5922
+ preciseCopy: z203.boolean()
5906
5923
  }),
5907
- connectionName: z202.string(),
5908
- lastImportedAt: z202.coerce.date(),
5909
- lastImportedResults: z202.array(
5910
- z202.object({
5911
- mapping: z202.object({
5912
- tokenSets: z202.array(z202.string()),
5913
- supernovaBrand: z202.string(),
5914
- supernovaTheme: z202.string().optional()
5924
+ connectionName: z203.string(),
5925
+ lastImportedAt: z203.coerce.date(),
5926
+ lastImportedResults: z203.array(
5927
+ z203.object({
5928
+ mapping: z203.object({
5929
+ tokenSets: z203.array(z203.string()),
5930
+ supernovaBrand: z203.string(),
5931
+ supernovaTheme: z203.string().optional()
5915
5932
  }),
5916
- isFailed: z202.boolean(),
5917
- tokensCreated: z202.number(),
5918
- tokensDeleted: z202.number(),
5919
- tokensUpdated: z202.number()
5933
+ isFailed: z203.boolean(),
5934
+ tokensCreated: z203.number(),
5935
+ tokensDeleted: z203.number(),
5936
+ tokensUpdated: z203.number()
5920
5937
  })
5921
5938
  )
5922
5939
  })
5923
5940
  });
5924
- var DTODataSourceFigmaVariablesPlugin = z202.object({
5925
- id: z202.string(),
5926
- type: z202.literal(DataSourceRemoteType.Enum.FigmaVariablesPlugin),
5927
- fileName: z202.string(),
5928
- brandId: z202.string(),
5929
- sortOrder: z202.number().optional(),
5930
- upload: z202.object({
5931
- remoteId: z202.string(),
5941
+ var DTODataSourceFigmaVariablesPlugin = z203.object({
5942
+ id: z203.string(),
5943
+ type: z203.literal(DataSourceRemoteType.Enum.FigmaVariablesPlugin),
5944
+ fileName: z203.string(),
5945
+ brandId: z203.string(),
5946
+ sortOrder: z203.number().optional(),
5947
+ upload: z203.object({
5948
+ remoteId: z203.string(),
5932
5949
  remoteSourceType: DataSourceUploadRemoteSource,
5933
- lastImportedAt: z202.coerce.date().optional(),
5950
+ lastImportedAt: z203.coerce.date().optional(),
5934
5951
  lastImportMetadata: DataSourceUploadImportMetadata.optional(),
5935
- isTokenTypeSplitEnabled: z202.boolean()
5952
+ isTokenTypeSplitEnabled: z203.boolean()
5936
5953
  }),
5937
- figmaVariablesPlugin: z202.object({
5938
- fileId: z202.string(),
5939
- lastImportedAt: z202.coerce.date().optional(),
5954
+ figmaVariablesPlugin: z203.object({
5955
+ fileId: z203.string(),
5956
+ lastImportedAt: z203.coerce.date().optional(),
5940
5957
  lastImportMetadata: DataSourceUploadImportMetadata.optional(),
5941
- isTokenTypeSplitEnabled: z202.boolean(),
5942
- isCollectionsMigrationCompleted: z202.boolean().default(false)
5958
+ isTokenTypeSplitEnabled: z203.boolean(),
5959
+ isCollectionsMigrationCompleted: z203.boolean().default(false)
5943
5960
  })
5944
5961
  });
5945
- var DTODataSourceStorybook = z202.object({
5946
- id: z202.string(),
5947
- type: z202.literal(DataSourceRemoteType.Enum.Storybook),
5948
- fileName: z202.string(),
5949
- brandId: z202.string(),
5950
- sortOrder: z202.number().optional(),
5951
- storybook: z202.object({
5952
- indexUrl: z202.string(),
5953
- userUrl: z202.string(),
5954
- lastImportedAt: z202.coerce.date().optional(),
5962
+ var DTODataSourceStorybook = z203.object({
5963
+ id: z203.string(),
5964
+ type: z203.literal(DataSourceRemoteType.Enum.Storybook),
5965
+ fileName: z203.string(),
5966
+ brandId: z203.string(),
5967
+ sortOrder: z203.number().optional(),
5968
+ storybook: z203.object({
5969
+ indexUrl: z203.string(),
5970
+ userUrl: z203.string(),
5971
+ lastImportedAt: z203.coerce.date().optional(),
5955
5972
  lastImportedResult: SourceImportStorybookSummary.optional(),
5956
- lastImportedSuccessfully: z202.coerce.date().optional(),
5957
- isFailed: z202.boolean(),
5958
- storiesCount: z202.number(),
5959
- docsCount: z202.number(),
5960
- description: z202.string().optional(),
5961
- isUsingVpn: z202.boolean().optional()
5973
+ lastImportedSuccessfully: z203.coerce.date().optional(),
5974
+ isFailed: z203.boolean(),
5975
+ storiesCount: z203.number(),
5976
+ docsCount: z203.number(),
5977
+ description: z203.string().optional(),
5978
+ isUsingVpn: z203.boolean().optional()
5962
5979
  })
5963
5980
  });
5964
- var DTODataSourcesStorybookResponse = z202.object({
5965
- isFailed: z202.boolean(),
5966
- storiesCount: z202.number(),
5967
- docsCount: z202.number(),
5968
- created: z202.array(z202.string()).optional(),
5969
- updated: z202.array(z202.string()).optional(),
5970
- deleted: z202.array(z202.string()).optional()
5981
+ var DTODataSourcesStorybookResponse = z203.object({
5982
+ isFailed: z203.boolean(),
5983
+ storiesCount: z203.number(),
5984
+ docsCount: z203.number(),
5985
+ created: z203.array(z203.string()).optional(),
5986
+ updated: z203.array(z203.string()).optional(),
5987
+ deleted: z203.array(z203.string()).optional()
5971
5988
  });
5972
- var DTODataSource = z202.discriminatedUnion("type", [
5989
+ var DTODataSource = z203.discriminatedUnion("type", [
5973
5990
  DTODataSourceFigma,
5974
5991
  DTODataSourceFigmaVariablesPlugin,
5975
5992
  DTODataSourceTokenStudio,
5976
5993
  DTODataSourceStorybook
5977
5994
  ]);
5978
- var DTODataSourcesListResponse = z202.object({
5979
- sources: z202.array(DTODataSource)
5995
+ var DTODataSourcesListResponse = z203.object({
5996
+ sources: z203.array(DTODataSource)
5980
5997
  });
5981
- var DTODataSourceResponse = z202.object({
5998
+ var DTODataSourceResponse = z203.object({
5982
5999
  source: DTODataSource
5983
6000
  });
5984
- var DTODataSourceFigmaCreatePayload = z202.object({
5985
- brandPersistentId: z202.string(),
5986
- figmaFileUrl: z202.string(),
6001
+ var DTODataSourceFigmaCreatePayload = z203.object({
6002
+ brandPersistentId: z203.string(),
6003
+ figmaFileUrl: z203.string(),
5987
6004
  scope: DTODataSourceFigmaScope,
5988
6005
  autoImportMode: DataSourceAutoImportMode
5989
6006
  });
5990
- var DTODataSourceFigmaImportPayload = z202.object({
5991
- sourceIds: z202.array(z202.string())
6007
+ var DTODataSourceFigmaImportPayload = z203.object({
6008
+ sourceIds: z203.array(z203.string())
5992
6009
  });
5993
- var DTODataSourceStorybookCreatePayload = z202.object({
5994
- brandPersistentId: z202.string(),
5995
- fileName: z202.string().optional(),
5996
- userUrl: z202.string(),
5997
- indexUrl: z202.string(),
5998
- payload: z202.unknown(),
5999
- type: z202.literal(DataSourceRemoteType.Enum.Storybook),
6000
- description: z202.string().optional(),
6001
- isUsingVpn: z202.boolean().optional()
6010
+ var DTODataSourceStorybookCreatePayload = z203.object({
6011
+ brandPersistentId: z203.string(),
6012
+ fileName: z203.string().optional(),
6013
+ userUrl: z203.string(),
6014
+ indexUrl: z203.string(),
6015
+ payload: z203.unknown(),
6016
+ type: z203.literal(DataSourceRemoteType.Enum.Storybook),
6017
+ description: z203.string().optional(),
6018
+ isUsingVpn: z203.boolean().optional()
6002
6019
  });
6003
- var DTOStorybookImportPayload = z202.object({
6004
- sourceId: z202.string(),
6005
- payload: z202.unknown()
6020
+ var DTOStorybookImportPayload = z203.object({
6021
+ sourceId: z203.string(),
6022
+ payload: z203.unknown()
6006
6023
  });
6007
- var DTOStorybookSourceUpdatePayload = z202.object({
6008
- description: z202.string().nullish().optional(),
6009
- isUsingVpn: z202.boolean().optional(),
6010
- fileName: z202.string().optional()
6024
+ var DTOStorybookSourceUpdatePayload = z203.object({
6025
+ description: z203.string().nullish().optional(),
6026
+ isUsingVpn: z203.boolean().optional(),
6027
+ fileName: z203.string().optional()
6011
6028
  });
6012
6029
 
6013
6030
  // src/api/dto/design-systems/design-system.ts
6014
- import { z as z205 } from "zod";
6031
+ import { z as z206 } from "zod";
6015
6032
 
6016
6033
  // src/api/dto/design-systems/members.ts
6017
- import { z as z204 } from "zod";
6034
+ import { z as z205 } from "zod";
6018
6035
 
6019
6036
  // src/api/dto/design-systems/role.ts
6020
- import { z as z203 } from "zod";
6021
- var DTODesignSystemRole = z203.enum([
6037
+ import { z as z204 } from "zod";
6038
+ var DTODesignSystemRole = z204.enum([
6022
6039
  WorkspaceRole.Admin,
6023
6040
  WorkspaceRole.Contributor,
6024
6041
  WorkspaceRole.Creator,
@@ -6026,29 +6043,29 @@ var DTODesignSystemRole = z203.enum([
6026
6043
  ]);
6027
6044
 
6028
6045
  // src/api/dto/design-systems/members.ts
6029
- var DTODesignSystemMember = z204.object({
6030
- userId: z204.string(),
6046
+ var DTODesignSystemMember = z205.object({
6047
+ userId: z205.string(),
6031
6048
  /**
6032
6049
  * Role that the member has in the design system,
6033
6050
  * undefined if set to inherit from workspace
6034
6051
  */
6035
6052
  designSystemRole: DTODesignSystemRole.optional()
6036
6053
  });
6037
- var DTODesignSystemInvitation = z204.object({
6038
- id: z204.string(),
6039
- workspaceInvitationId: z204.string(),
6054
+ var DTODesignSystemInvitation = z205.object({
6055
+ id: z205.string(),
6056
+ workspaceInvitationId: z205.string(),
6040
6057
  /**
6041
6058
  * Role that the invitation has in the design system,
6042
6059
  * undefined if set to inherit from workspace
6043
6060
  */
6044
6061
  designSystemRole: DTODesignSystemRole.optional()
6045
6062
  });
6046
- var DTODesignSystemMemberListResponse = z204.object({
6063
+ var DTODesignSystemMemberListResponse = z205.object({
6047
6064
  members: DTODesignSystemMember.array(),
6048
6065
  invitations: DTODesignSystemInvitation.array()
6049
6066
  });
6050
- var DTODesignSystemMembersUpdateResponse = z204.object({
6051
- ok: z204.literal(true)
6067
+ var DTODesignSystemMembersUpdateResponse = z205.object({
6068
+ ok: z205.literal(true)
6052
6069
  });
6053
6070
  var DTODesignSystemMembersUpdatePayload = DesignSystemMembershipUpdates;
6054
6071
 
@@ -6059,14 +6076,14 @@ var DTODesignSystem = DesignSystem.omit({
6059
6076
  docExporterId: true
6060
6077
  }).extend({
6061
6078
  meta: ObjectMeta,
6062
- docExporterId: z205.string(),
6063
- sources: z205.array(z205.any()),
6064
- isPublic: z205.literal(true),
6079
+ docExporterId: z206.string(),
6080
+ sources: z206.array(z206.any()),
6081
+ isPublic: z206.literal(true),
6065
6082
  /**
6066
6083
  * Whether or not user who is requesting the design system
6067
6084
  * has access to the design system's contents.
6068
6085
  */
6069
- isAvailableToUser: z205.boolean(),
6086
+ isAvailableToUser: z206.boolean(),
6070
6087
  /**
6071
6088
  * @deprecated
6072
6089
  */
@@ -6077,17 +6094,17 @@ var DTODesignSystem = DesignSystem.omit({
6077
6094
  */
6078
6095
  effectiveRole: DTODesignSystemRole.optional()
6079
6096
  });
6080
- var DTODesignSystemResponse = z205.object({
6097
+ var DTODesignSystemResponse = z206.object({
6081
6098
  designSystem: DTODesignSystem
6082
6099
  });
6083
- var DTODesignSystemsListResponse = z205.object({
6100
+ var DTODesignSystemsListResponse = z206.object({
6084
6101
  designSystems: DTODesignSystem.array()
6085
6102
  });
6086
- var DTODesignSystemCreateInput = z205.object({
6087
- workspaceId: z205.string(),
6103
+ var DTODesignSystemCreateInput = z206.object({
6104
+ workspaceId: z206.string(),
6088
6105
  meta: ObjectMeta.optional(),
6089
- name: z205.string().min(2).max(64).optional(),
6090
- description: z205.string().max(1024).optional(),
6106
+ name: z206.string().min(2).max(64).optional(),
6107
+ description: z206.string().max(1024).optional(),
6091
6108
  accessMode: DesignSystemAccessMode.optional(),
6092
6109
  invites: DTODesignSystemMembersUpdatePayload.pick({
6093
6110
  usersToInvite: true,
@@ -6097,20 +6114,20 @@ var DTODesignSystemCreateInput = z205.object({
6097
6114
  });
6098
6115
 
6099
6116
  // src/api/dto/design-systems/elements-diff.ts
6100
- import { z as z206 } from "zod";
6101
- var DTODiffCountBase = z206.object({
6102
- created: z206.number(),
6103
- updated: z206.number(),
6104
- deleted: z206.number()
6117
+ import { z as z207 } from "zod";
6118
+ var DTODiffCountBase = z207.object({
6119
+ created: z207.number(),
6120
+ updated: z207.number(),
6121
+ deleted: z207.number()
6105
6122
  });
6106
- var DTODesignElementsDataDiffResponse = z206.object({
6123
+ var DTODesignElementsDataDiffResponse = z207.object({
6107
6124
  tokens: DTODiffCountBase,
6108
6125
  assets: DTODiffCountBase
6109
6126
  });
6110
6127
 
6111
6128
  // src/api/dto/design-systems/figma-variables.ts
6112
- import { z as z207 } from "zod";
6113
- var DimensionsVariableScopeSchema = z207.enum([
6129
+ import { z as z208 } from "zod";
6130
+ var DimensionsVariableScopeSchema = z208.enum([
6114
6131
  "CORNER_RADIUS",
6115
6132
  "WIDTH_HEIGHT",
6116
6133
  "GAP",
@@ -6124,328 +6141,328 @@ var DimensionsVariableScopeSchema = z207.enum([
6124
6141
  "PARAGRAPH_INDENT",
6125
6142
  "FONT_WEIGHT"
6126
6143
  ]);
6127
- var StringVariableScopeSchema = z207.enum(["TEXT_CONTENT", "FONT_FAMILY", "FONT_STYLE"]);
6144
+ var StringVariableScopeSchema = z208.enum(["TEXT_CONTENT", "FONT_FAMILY", "FONT_STYLE"]);
6128
6145
  var DimensionsVariableScopeType = DimensionsVariableScopeSchema.enum;
6129
6146
  var StringVariableScopeType = StringVariableScopeSchema.enum;
6130
- var VariableScope = z207.string();
6131
- var ReferencedVariableOrigin = z207.object({
6132
- name: z207.string(),
6133
- remote: z207.boolean()
6147
+ var VariableScope = z208.string();
6148
+ var ReferencedVariableOrigin = z208.object({
6149
+ name: z208.string(),
6150
+ remote: z208.boolean()
6134
6151
  });
6135
- var RGB = z207.object({
6136
- r: z207.number(),
6137
- g: z207.number(),
6138
- b: z207.number()
6152
+ var RGB = z208.object({
6153
+ r: z208.number(),
6154
+ g: z208.number(),
6155
+ b: z208.number()
6139
6156
  });
6140
6157
  var RGBA = RGB.extend({
6141
- a: z207.number()
6142
- });
6143
- var VariableAlias = z207.object({
6144
- type: z207.literal("VARIABLE_ALIAS"),
6145
- id: z207.string(),
6146
- resolvedValue: z207.boolean().or(z207.number()).or(z207.string()).or(RGBA).or(RGB).optional(),
6147
- referenceOrigin: ReferencedVariableOrigin.optional().or(z207.null())
6148
- });
6149
- var VariableValue = z207.boolean().or(z207.number()).or(z207.string()).or(RGBA).or(RGB).or(VariableAlias);
6150
- var ResolvedVariableType = z207.enum(["BOOLEAN", "FLOAT", "STRING", "COLOR"]);
6151
- var Variable = z207.object({
6152
- id: z207.string(),
6153
- name: z207.string(),
6154
- key: z207.string(),
6155
- variableCollectionId: z207.string(),
6158
+ a: z208.number()
6159
+ });
6160
+ var VariableAlias = z208.object({
6161
+ type: z208.literal("VARIABLE_ALIAS"),
6162
+ id: z208.string(),
6163
+ resolvedValue: z208.boolean().or(z208.number()).or(z208.string()).or(RGBA).or(RGB).optional(),
6164
+ referenceOrigin: ReferencedVariableOrigin.optional().or(z208.null())
6165
+ });
6166
+ var VariableValue = z208.boolean().or(z208.number()).or(z208.string()).or(RGBA).or(RGB).or(VariableAlias);
6167
+ var ResolvedVariableType = z208.enum(["BOOLEAN", "FLOAT", "STRING", "COLOR"]);
6168
+ var Variable = z208.object({
6169
+ id: z208.string(),
6170
+ name: z208.string(),
6171
+ key: z208.string(),
6172
+ variableCollectionId: z208.string(),
6156
6173
  resolvedType: ResolvedVariableType,
6157
- valuesByMode: z207.record(VariableValue),
6158
- remote: z207.boolean(),
6159
- description: z207.string(),
6160
- hiddenFromPublishing: z207.boolean(),
6161
- scopes: z207.array(VariableScope),
6162
- codeSyntax: z207.record(z207.any()).optional()
6163
- });
6164
- var VariableMode = z207.object({
6165
- modeId: z207.string(),
6166
- name: z207.string()
6167
- });
6168
- var Collection2 = z207.object({
6169
- id: z207.string(),
6170
- name: z207.string(),
6171
- modes: z207.array(VariableMode),
6172
- defaultModeId: z207.string(),
6173
- remote: z207.boolean(),
6174
- hiddenFromPublishing: z207.boolean()
6175
- });
6176
- var VariablesMapping = z207.object({
6177
- variableCollections: z207.array(z207.string()).min(1),
6178
- variableMode: z207.string().min(1),
6179
- supernovaBrand: z207.string().min(1),
6180
- supernovaTheme: z207.string().min(1).optional().or(z207.null())
6181
- });
6182
- var FormattedCollections = z207.object({
6183
- variables: z207.record(z207.string(), Variable),
6184
- variableCollections: z207.record(z207.string(), Collection2),
6185
- mappings: z207.array(VariablesMapping).optional(),
6186
- variablesOrder: z207.string().array().optional()
6174
+ valuesByMode: z208.record(VariableValue),
6175
+ remote: z208.boolean(),
6176
+ description: z208.string(),
6177
+ hiddenFromPublishing: z208.boolean(),
6178
+ scopes: z208.array(VariableScope),
6179
+ codeSyntax: z208.record(z208.any()).optional()
6180
+ });
6181
+ var VariableMode = z208.object({
6182
+ modeId: z208.string(),
6183
+ name: z208.string()
6184
+ });
6185
+ var Collection2 = z208.object({
6186
+ id: z208.string(),
6187
+ name: z208.string(),
6188
+ modes: z208.array(VariableMode),
6189
+ defaultModeId: z208.string(),
6190
+ remote: z208.boolean(),
6191
+ hiddenFromPublishing: z208.boolean()
6192
+ });
6193
+ var VariablesMapping = z208.object({
6194
+ variableCollections: z208.array(z208.string()).min(1),
6195
+ variableMode: z208.string().min(1),
6196
+ supernovaBrand: z208.string().min(1),
6197
+ supernovaTheme: z208.string().min(1).optional().or(z208.null())
6198
+ });
6199
+ var FormattedCollections = z208.object({
6200
+ variables: z208.record(z208.string(), Variable),
6201
+ variableCollections: z208.record(z208.string(), Collection2),
6202
+ mappings: z208.array(VariablesMapping).optional(),
6203
+ variablesOrder: z208.string().array().optional()
6187
6204
  });
6188
6205
 
6189
6206
  // src/api/dto/design-systems/import-job.ts
6190
- import { z as z208 } from "zod";
6191
- var DTOImportJob = z208.object({
6192
- id: z208.string(),
6193
- designSystemId: z208.string(),
6194
- designSystemVersionId: z208.string(),
6195
- operation: z208.literal("Import"),
6196
- createdAt: z208.coerce.date(),
6197
- stateChangedAt: z208.coerce.date(),
6207
+ import { z as z209 } from "zod";
6208
+ var DTOImportJob = z209.object({
6209
+ id: z209.string(),
6210
+ designSystemId: z209.string(),
6211
+ designSystemVersionId: z209.string(),
6212
+ operation: z209.literal("Import"),
6213
+ createdAt: z209.coerce.date(),
6214
+ stateChangedAt: z209.coerce.date(),
6198
6215
  state: ImportJobState,
6199
- sourceIds: z208.string().array()
6216
+ sourceIds: z209.string().array()
6200
6217
  });
6201
- var DTOImportJobResponse = z208.object({
6218
+ var DTOImportJobResponse = z209.object({
6202
6219
  job: DTOImportJob
6203
6220
  });
6204
- var DTOBffFigmaImportRequestBody = z208.object({
6205
- type: z208.literal(DataSourceRemoteType.Enum.Figma),
6206
- brandPersistentId: z208.string().optional(),
6207
- fileId: z208.string(),
6221
+ var DTOBffFigmaImportRequestBody = z209.object({
6222
+ type: z209.literal(DataSourceRemoteType.Enum.Figma),
6223
+ brandPersistentId: z209.string().optional(),
6224
+ fileId: z209.string(),
6208
6225
  scope: DataSourceFigmaScope,
6209
6226
  autoImportMode: DataSourceAutoImportMode
6210
6227
  });
6211
- var DTOBffUploadImportRequestBody = z208.object({
6212
- type: z208.enum([DataSourceRemoteType.Enum.FigmaVariablesPlugin, "Upload"]).transform((v) => DataSourceRemoteType.Enum.FigmaVariablesPlugin),
6213
- brandPersistentId: z208.string().optional(),
6214
- sourceName: z208.string().optional(),
6215
- remoteId: z208.string(),
6216
- isTokenTypeSplitEnabled: z208.boolean().optional(),
6217
- payload: z208.any()
6228
+ var DTOBffUploadImportRequestBody = z209.object({
6229
+ type: z209.enum([DataSourceRemoteType.Enum.FigmaVariablesPlugin, "Upload"]).transform((v) => DataSourceRemoteType.Enum.FigmaVariablesPlugin),
6230
+ brandPersistentId: z209.string().optional(),
6231
+ sourceName: z209.string().optional(),
6232
+ remoteId: z209.string(),
6233
+ isTokenTypeSplitEnabled: z209.boolean().optional(),
6234
+ payload: z209.any()
6218
6235
  });
6219
- var DTOBffImportRequestBody = z208.discriminatedUnion("type", [
6236
+ var DTOBffImportRequestBody = z209.discriminatedUnion("type", [
6220
6237
  DTOBffFigmaImportRequestBody,
6221
6238
  DTOBffUploadImportRequestBody
6222
6239
  ]);
6223
6240
 
6224
6241
  // src/api/dto/design-systems/redirects.ts
6225
- import { z as z209 } from "zod";
6226
- var DTOPageRedirectCreateBody = z209.object({
6227
- pagePersistentId: z209.string(),
6228
- path: z209.string()
6242
+ import { z as z210 } from "zod";
6243
+ var DTOPageRedirectCreateBody = z210.object({
6244
+ pagePersistentId: z210.string(),
6245
+ path: z210.string()
6229
6246
  });
6230
6247
  var DTOPageRedirectUpdateBody = DTOPageRedirectCreateBody.partial();
6231
- var DTOPageRedirect = z209.object({
6232
- id: z209.string(),
6233
- pagePersistentId: z209.string(),
6234
- path: z209.string()
6248
+ var DTOPageRedirect = z210.object({
6249
+ id: z210.string(),
6250
+ pagePersistentId: z210.string(),
6251
+ path: z210.string()
6235
6252
  });
6236
- var DTOPageRedirectListResponse = z209.object({
6253
+ var DTOPageRedirectListResponse = z210.object({
6237
6254
  redirects: DTOPageRedirect.array()
6238
6255
  });
6239
- var DTOPageRedirectResponse = z209.object({
6256
+ var DTOPageRedirectResponse = z210.object({
6240
6257
  redirect: DTOPageRedirect
6241
6258
  });
6242
- var DTOPageRedirectDeleteResponse = z209.object({
6243
- success: z209.boolean()
6259
+ var DTOPageRedirectDeleteResponse = z210.object({
6260
+ success: z210.boolean()
6244
6261
  });
6245
6262
 
6246
6263
  // src/api/dto/design-systems/stats.ts
6247
- import { z as z210 } from "zod";
6248
- var DTODesignSystemVersionStats = z210.object({
6249
- tokens: z210.number(),
6250
- designSystemComponents: z210.number(),
6251
- assets: z210.number(),
6252
- documentationPages: z210.number(),
6253
- figmaComponents: z210.number()
6254
- });
6255
- var DTODesignSystemVersionStatsQuery = z210.object({
6264
+ import { z as z211 } from "zod";
6265
+ var DTODesignSystemVersionStats = z211.object({
6266
+ tokens: z211.number(),
6267
+ designSystemComponents: z211.number(),
6268
+ assets: z211.number(),
6269
+ documentationPages: z211.number(),
6270
+ figmaComponents: z211.number()
6271
+ });
6272
+ var DTODesignSystemVersionStatsQuery = z211.object({
6256
6273
  /**
6257
6274
  * Unique ID across versions (non-persistent ID)
6258
6275
  */
6259
- brandId: z210.string().optional()
6276
+ brandId: z211.string().optional()
6260
6277
  });
6261
6278
 
6262
6279
  // src/api/dto/design-systems/storybook.ts
6263
- import { z as z211 } from "zod";
6264
- var DTOStorybookUploadUrlRequest = z211.object({
6265
- name: z211.string()
6266
- });
6267
- var DTOStorybookUploadUrlResponse = z211.object({
6268
- signedUrl: z211.string(),
6269
- storybookUploadId: z211.string()
6270
- });
6271
- var DTOStorybookAccessTokenResponse = z211.object({
6272
- accessToken: z211.string()
6273
- });
6274
- var DTOStorybookAccessTokenPayload = z211.object({
6275
- designSystemId: z211.string(),
6276
- storybookUploadId: z211.string()
6277
- });
6278
- var DTOStorybookUploadStatus = z211.object({
6279
- status: z211.enum(["Failed", "InProgress", "Completed", "Unknown"]),
6280
- timestamp: z211.number().optional(),
6281
- reason: z211.string().optional()
6282
- });
6283
- var DTOStorybookEntryOrigin = z211.object({
6284
- id: z211.string(),
6285
- type: z211.enum(["story", "docs"]),
6286
- name: z211.string(),
6287
- title: z211.string()
6288
- });
6289
- var DTOStorybookEntry = z211.object({
6290
- id: z211.string(),
6291
- storyId: z211.string(),
6292
- designSystemId: z211.string(),
6293
- sourceId: z211.string(),
6294
- aliases: z211.array(z211.string()).optional(),
6295
- url: z211.string(),
6296
- isDeleted: z211.boolean().optional(),
6280
+ import { z as z212 } from "zod";
6281
+ var DTOStorybookUploadUrlRequest = z212.object({
6282
+ name: z212.string()
6283
+ });
6284
+ var DTOStorybookUploadUrlResponse = z212.object({
6285
+ signedUrl: z212.string(),
6286
+ storybookUploadId: z212.string()
6287
+ });
6288
+ var DTOStorybookAccessTokenResponse = z212.object({
6289
+ accessToken: z212.string()
6290
+ });
6291
+ var DTOStorybookAccessTokenPayload = z212.object({
6292
+ designSystemId: z212.string(),
6293
+ storybookUploadId: z212.string()
6294
+ });
6295
+ var DTOStorybookUploadStatus = z212.object({
6296
+ status: z212.enum(["Failed", "InProgress", "Completed", "Unknown"]),
6297
+ timestamp: z212.number().optional(),
6298
+ reason: z212.string().optional()
6299
+ });
6300
+ var DTOStorybookEntryOrigin = z212.object({
6301
+ id: z212.string(),
6302
+ type: z212.enum(["story", "docs"]),
6303
+ name: z212.string(),
6304
+ title: z212.string()
6305
+ });
6306
+ var DTOStorybookEntry = z212.object({
6307
+ id: z212.string(),
6308
+ storyId: z212.string(),
6309
+ designSystemId: z212.string(),
6310
+ sourceId: z212.string(),
6311
+ aliases: z212.array(z212.string()).optional(),
6312
+ url: z212.string(),
6313
+ isDeleted: z212.boolean().optional(),
6297
6314
  origin: DTOStorybookEntryOrigin,
6298
- createdAt: z211.coerce.date(),
6299
- updatedAt: z211.coerce.date()
6315
+ createdAt: z212.coerce.date(),
6316
+ updatedAt: z212.coerce.date()
6300
6317
  });
6301
- var DTOStorybookEntryReplaceAction = z211.object({
6302
- newStoryId: z211.string()
6318
+ var DTOStorybookEntryReplaceAction = z212.object({
6319
+ newStoryId: z212.string()
6303
6320
  });
6304
- var DTOStorybookEntryListResponse = z211.object({ entries: z211.array(DTOStorybookEntry) });
6305
- var DTOStorybookEntryResponse = z211.object({ entry: DTOStorybookEntry });
6321
+ var DTOStorybookEntryListResponse = z212.object({ entries: z212.array(DTOStorybookEntry) });
6322
+ var DTOStorybookEntryResponse = z212.object({ entry: DTOStorybookEntry });
6306
6323
 
6307
6324
  // src/api/dto/design-systems/user-design-systems.ts
6308
- import { z as z219 } from "zod";
6325
+ import { z as z220 } from "zod";
6309
6326
 
6310
6327
  // src/api/dto/workspaces/git.ts
6311
- import { z as z212 } from "zod";
6312
- var DTOGitOrganization = z212.object({
6313
- id: z212.string(),
6314
- name: z212.string(),
6315
- url: z212.string(),
6316
- slug: z212.string()
6328
+ import { z as z213 } from "zod";
6329
+ var DTOGitOrganization = z213.object({
6330
+ id: z213.string(),
6331
+ name: z213.string(),
6332
+ url: z213.string(),
6333
+ slug: z213.string()
6317
6334
  });
6318
- var DTOGitProject = z212.object({
6319
- id: z212.string(),
6320
- name: z212.string(),
6321
- url: z212.string(),
6322
- slug: z212.string()
6335
+ var DTOGitProject = z213.object({
6336
+ id: z213.string(),
6337
+ name: z213.string(),
6338
+ url: z213.string(),
6339
+ slug: z213.string()
6323
6340
  });
6324
- var DTOGitRepository = z212.object({
6325
- id: z212.string(),
6326
- name: z212.string(),
6327
- url: z212.string(),
6328
- slug: z212.string(),
6329
- defaultBranch: z212.string().optional()
6341
+ var DTOGitRepository = z213.object({
6342
+ id: z213.string(),
6343
+ name: z213.string(),
6344
+ url: z213.string(),
6345
+ slug: z213.string(),
6346
+ defaultBranch: z213.string().optional()
6330
6347
  });
6331
- var DTOGitBranch = z212.object({
6332
- name: z212.string(),
6333
- lastCommitId: z212.string()
6348
+ var DTOGitBranch = z213.object({
6349
+ name: z213.string(),
6350
+ lastCommitId: z213.string()
6334
6351
  });
6335
6352
 
6336
6353
  // src/api/dto/workspaces/integrations.ts
6337
- import { z as z213 } from "zod";
6354
+ import { z as z214 } from "zod";
6338
6355
  var DTOIntegrationCredentials = IntegrationCredentials.omit({
6339
6356
  accessToken: true,
6340
6357
  refreshToken: true
6341
6358
  });
6342
- var DTOIntegration = z213.object({
6343
- id: z213.string(),
6344
- workspaceId: z213.string(),
6359
+ var DTOIntegration = z214.object({
6360
+ id: z214.string(),
6361
+ workspaceId: z214.string(),
6345
6362
  type: ExtendedIntegrationType,
6346
- createdAt: z213.coerce.date(),
6347
- integrationCredentials: z213.array(DTOIntegrationCredentials).optional(),
6348
- integrationDesignSystems: z213.array(IntegrationDesignSystem).optional()
6363
+ createdAt: z214.coerce.date(),
6364
+ integrationCredentials: z214.array(DTOIntegrationCredentials).optional(),
6365
+ integrationDesignSystems: z214.array(IntegrationDesignSystem).optional()
6349
6366
  });
6350
- var DTOIntegrationOAuthGetResponse = z213.object({
6351
- url: z213.string()
6367
+ var DTOIntegrationOAuthGetResponse = z214.object({
6368
+ url: z214.string()
6352
6369
  });
6353
- var DTOIntegrationPostResponse = z213.object({
6370
+ var DTOIntegrationPostResponse = z214.object({
6354
6371
  integration: DTOIntegration
6355
6372
  });
6356
- var DTOIntegrationsGetListResponse = z213.object({
6373
+ var DTOIntegrationsGetListResponse = z214.object({
6357
6374
  integrations: DTOIntegration.array()
6358
6375
  });
6359
6376
 
6360
6377
  // src/api/dto/workspaces/invitations.ts
6361
- import { z as z214 } from "zod";
6362
- var DTOWorkspaceInvitationInput = z214.object({
6363
- email: z214.string().email(),
6378
+ import { z as z215 } from "zod";
6379
+ var DTOWorkspaceInvitationInput = z215.object({
6380
+ email: z215.string().email(),
6364
6381
  role: WorkspaceRoleSchema
6365
6382
  });
6366
- var DTOWorkspaceInvitationsListInput = z214.object({
6383
+ var DTOWorkspaceInvitationsListInput = z215.object({
6367
6384
  invites: DTOWorkspaceInvitationInput.array().max(100),
6368
- designSystemId: z214.string().optional()
6385
+ designSystemId: z215.string().optional()
6369
6386
  });
6370
- var DTOWorkspaceInvitationsResponse = z214.object({
6387
+ var DTOWorkspaceInvitationsResponse = z215.object({
6371
6388
  invitations: WorkspaceInvitation.array()
6372
6389
  });
6373
- var DTOWorkspaceInviteUpdate = z214.object({
6390
+ var DTOWorkspaceInviteUpdate = z215.object({
6374
6391
  role: WorkspaceRoleSchema
6375
6392
  });
6376
- var DTOWorkspaceInvitationUpdateResponse = z214.object({
6393
+ var DTOWorkspaceInvitationUpdateResponse = z215.object({
6377
6394
  invitation: WorkspaceInvitation
6378
6395
  });
6379
6396
 
6380
6397
  // src/api/dto/workspaces/membership.ts
6381
- import { z as z217 } from "zod";
6398
+ import { z as z218 } from "zod";
6382
6399
 
6383
6400
  // src/api/dto/workspaces/workspace.ts
6384
- import { z as z216 } from "zod";
6401
+ import { z as z217 } from "zod";
6385
6402
 
6386
6403
  // src/api/dto/workspaces/npm-registry.ts
6387
- import { z as z215 } from "zod";
6404
+ import { z as z216 } from "zod";
6388
6405
  var DTONpmRegistryConfigConstants = {
6389
6406
  passwordPlaceholder: "redacted"
6390
6407
  };
6391
- var DTONpmRegistryConfig = z215.object({
6408
+ var DTONpmRegistryConfig = z216.object({
6392
6409
  // Registry basic configuration
6393
6410
  registryType: NpmRegistryType,
6394
- registryUrl: z215.string(),
6395
- customRegistryUrl: z215.string().optional(),
6411
+ registryUrl: z216.string(),
6412
+ customRegistryUrl: z216.string().optional(),
6396
6413
  // URL of Supernova NPM packages proxy
6397
- proxyUrl: z215.string(),
6414
+ proxyUrl: z216.string(),
6398
6415
  // Auth configuration
6399
6416
  authType: NpmRegistryAuthType,
6400
- accessToken: z215.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
6401
- username: z215.string().optional(),
6402
- password: z215.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
6417
+ accessToken: z216.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
6418
+ username: z216.string().optional(),
6419
+ password: z216.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
6403
6420
  // NPM package scopes for whih the proxy should be enabled
6404
- enabledScopes: z215.array(z215.string()),
6421
+ enabledScopes: z216.array(z216.string()),
6405
6422
  // True if client should bypass Supernova proxy and connect directly to the registry
6406
6423
  // (e.g. when the NPM registry is behind a VPN or firewall which prevents Supernova from accessing it)
6407
- bypassProxy: z215.boolean()
6424
+ bypassProxy: z216.boolean()
6408
6425
  });
6409
- var DTONpmRegistryAccessTokenResponse = z215.object({
6410
- version: z215.number(),
6411
- accessToken: z215.string().optional(),
6412
- registryUrl: z215.string()
6426
+ var DTONpmRegistryAccessTokenResponse = z216.object({
6427
+ version: z216.number(),
6428
+ accessToken: z216.string().optional(),
6429
+ registryUrl: z216.string()
6413
6430
  });
6414
- var DTOUpdateRegistryInput = z215.object({
6431
+ var DTOUpdateRegistryInput = z216.object({
6415
6432
  registryType: nullishToOptional(NpmRegistryType),
6416
6433
  authType: nullishToOptional(NpmRegistryAuthType),
6417
- enabledScopes: nullishToOptional(z215.array(z215.string())),
6418
- customRegistryUrl: nullishToOptional(z215.string()),
6419
- bypassProxy: nullishToOptional(z215.boolean()),
6420
- npmProxyVersion: nullishToOptional(z215.number()),
6421
- authHeaderName: nullishToOptional(z215.string()),
6422
- authHeaderValue: nullishToOptional(z215.string()),
6423
- accessToken: nullishToOptional(z215.string()),
6424
- username: nullishToOptional(z215.string()),
6425
- password: nullishToOptional(z215.string())
6426
- });
6427
- var DTOUpdateRegistryOutput = z215.object({
6434
+ enabledScopes: nullishToOptional(z216.array(z216.string())),
6435
+ customRegistryUrl: nullishToOptional(z216.string()),
6436
+ bypassProxy: nullishToOptional(z216.boolean()),
6437
+ npmProxyVersion: nullishToOptional(z216.number()),
6438
+ authHeaderName: nullishToOptional(z216.string()),
6439
+ authHeaderValue: nullishToOptional(z216.string()),
6440
+ accessToken: nullishToOptional(z216.string()),
6441
+ username: nullishToOptional(z216.string()),
6442
+ password: nullishToOptional(z216.string())
6443
+ });
6444
+ var DTOUpdateRegistryOutput = z216.object({
6428
6445
  npmRegistrySettings: DTONpmRegistryConfig
6429
6446
  });
6430
6447
 
6431
6448
  // src/api/dto/workspaces/workspace.ts
6432
6449
  var DTOWorkspaceProfile = WorkspaceProfile;
6433
- var DTOWorkspace = z216.object({
6434
- id: z216.string(),
6450
+ var DTOWorkspace = z217.object({
6451
+ id: z217.string(),
6435
6452
  profile: DTOWorkspaceProfile,
6436
6453
  subscription: Subscription,
6437
6454
  npmRegistry: DTONpmRegistryConfig.optional()
6438
6455
  });
6439
- var DTOWorkspaceCreateInput = z216.object({
6440
- name: z216.string()
6456
+ var DTOWorkspaceCreateInput = z217.object({
6457
+ name: z217.string()
6441
6458
  });
6442
- var DTOWorkspaceResponse = z216.object({
6459
+ var DTOWorkspaceResponse = z217.object({
6443
6460
  workspace: DTOWorkspace
6444
6461
  });
6445
6462
 
6446
6463
  // src/api/dto/workspaces/membership.ts
6447
- var DTOWorkspaceRole = z217.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Contributor"]);
6448
- var DTOUserWorkspaceMembership = z217.object({
6464
+ var DTOWorkspaceRole = z218.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Contributor"]);
6465
+ var DTOUserWorkspaceMembership = z218.object({
6449
6466
  // Workspace the user is a member of
6450
6467
  workspace: DTOWorkspace,
6451
6468
  // Assigned role the user has in the workspace
@@ -6455,54 +6472,54 @@ var DTOUserWorkspaceMembership = z217.object({
6455
6472
  // when a workspace's subscription is downgraded to free tier
6456
6473
  effectiveRole: DTOWorkspaceRole
6457
6474
  });
6458
- var DTOWorkspaceMember = z217.object({
6475
+ var DTOWorkspaceMember = z218.object({
6459
6476
  user: User,
6460
6477
  role: WorkspaceRoleSchema,
6461
6478
  effectiveRole: WorkspaceRoleSchema
6462
6479
  });
6463
- var DTOUserWorkspaceMembershipsResponse = z217.object({
6464
- membership: z217.array(DTOUserWorkspaceMembership)
6480
+ var DTOUserWorkspaceMembershipsResponse = z218.object({
6481
+ membership: z218.array(DTOUserWorkspaceMembership)
6465
6482
  });
6466
- var DTOWorkspaceMembersListResponse = z217.object({
6467
- members: z217.array(DTOWorkspaceMember)
6483
+ var DTOWorkspaceMembersListResponse = z218.object({
6484
+ members: z218.array(DTOWorkspaceMember)
6468
6485
  });
6469
6486
 
6470
6487
  // src/api/dto/workspaces/untyped-data.ts
6471
- import { z as z218 } from "zod";
6488
+ import { z as z219 } from "zod";
6472
6489
  var DTOWorkspaceUntypedData = WorkspaceUntypedData;
6473
- var DTOWorkspaceUntypedDataListResponse = z218.object({
6490
+ var DTOWorkspaceUntypedDataListResponse = z219.object({
6474
6491
  data: DTOWorkspaceUntypedData.array()
6475
6492
  });
6476
- var DTOWorkspaceUntypedDataResponse = z218.object({
6493
+ var DTOWorkspaceUntypedDataResponse = z219.object({
6477
6494
  data: DTOWorkspaceUntypedData
6478
6495
  });
6479
- var DTOWorkspaceUntypedDataCreatePayload = z218.object({
6480
- value: z218.unknown()
6496
+ var DTOWorkspaceUntypedDataCreatePayload = z219.object({
6497
+ value: z219.unknown()
6481
6498
  });
6482
- var DTOWorkspaceUntypedDataUpdatePayload = z218.object({
6483
- value: z218.unknown()
6499
+ var DTOWorkspaceUntypedDataUpdatePayload = z219.object({
6500
+ value: z219.unknown()
6484
6501
  });
6485
6502
 
6486
6503
  // src/api/dto/design-systems/user-design-systems.ts
6487
- var DTOUserDesignSystemsResponse = z219.object({
6504
+ var DTOUserDesignSystemsResponse = z220.object({
6488
6505
  designSystems: DTODesignSystem.array(),
6489
6506
  workspaces: DTOWorkspace.array()
6490
6507
  });
6491
6508
 
6492
6509
  // src/api/dto/design-systems/version-room.ts
6493
- import { z as z220 } from "zod";
6494
- var DTODesignSystemVersionRoom = z220.object({
6495
- id: z220.string()
6510
+ import { z as z221 } from "zod";
6511
+ var DTODesignSystemVersionRoom = z221.object({
6512
+ id: z221.string()
6496
6513
  });
6497
- var DTODesignSystemVersionRoomResponse = z220.object({
6514
+ var DTODesignSystemVersionRoomResponse = z221.object({
6498
6515
  room: DTODesignSystemVersionRoom
6499
6516
  });
6500
6517
 
6501
6518
  // src/api/dto/design-systems/version.ts
6502
- import { z as z233 } from "zod";
6519
+ import { z as z234 } from "zod";
6503
6520
 
6504
6521
  // src/api/payloads/design-systems/update-design-system.ts
6505
- import { z as z221 } from "zod";
6522
+ import { z as z222 } from "zod";
6506
6523
  var DTODesignSystemUpdateInput = DesignSystem.partial().omit({
6507
6524
  id: true,
6508
6525
  workspaceId: true,
@@ -6514,56 +6531,56 @@ var DTODesignSystemUpdateInput = DesignSystem.partial().omit({
6514
6531
  }).extend({
6515
6532
  meta: ObjectMeta.partial().optional()
6516
6533
  });
6517
- var DTODesignSystemUpdateAccessModeInput = z221.object({
6534
+ var DTODesignSystemUpdateAccessModeInput = z222.object({
6518
6535
  accessMode: DesignSystemAccessMode,
6519
- retain: z221.object({
6520
- userIds: z221.string().array(),
6521
- inviteIds: z221.string().array()
6536
+ retain: z222.object({
6537
+ userIds: z222.string().array(),
6538
+ inviteIds: z222.string().array()
6522
6539
  }).optional()
6523
6540
  });
6524
6541
 
6525
6542
  // src/api/payloads/design-systems/version.ts
6526
- import { z as z222 } from "zod";
6527
- var ObjectMeta2 = z222.object({
6528
- name: z222.string().max(150).optional(),
6529
- description: z222.string().max(2e3).optional()
6543
+ import { z as z223 } from "zod";
6544
+ var ObjectMeta2 = z223.object({
6545
+ name: z223.string().max(150).optional(),
6546
+ description: z223.string().max(2e3).optional()
6530
6547
  });
6531
6548
  function validateDesignSystemVersion(version) {
6532
6549
  const urlCompliantRegex = /^[a-zA-Z0-9+.-]+$/;
6533
6550
  return urlCompliantRegex.test(version);
6534
6551
  }
6535
- var DTOCreateVersionInput = z222.object({
6552
+ var DTOCreateVersionInput = z223.object({
6536
6553
  meta: ObjectMeta2,
6537
- version: z222.string().refine(validateDesignSystemVersion, {
6554
+ version: z223.string().refine(validateDesignSystemVersion, {
6538
6555
  message: "Invalid semantic versioning format"
6539
6556
  }),
6540
- changeLog: z222.string().optional()
6557
+ changeLog: z223.string().optional()
6541
6558
  });
6542
- var DTOUpdateVersionInput = z222.object({
6559
+ var DTOUpdateVersionInput = z223.object({
6543
6560
  meta: ObjectMeta2,
6544
- version: z222.string(),
6561
+ version: z223.string(),
6545
6562
  // required for PUT, but not editable
6546
- changeLog: z222.string()
6563
+ changeLog: z223.string()
6547
6564
  });
6548
6565
 
6549
6566
  // src/api/payloads/documentation/analytics.ts
6550
- import { z as z223 } from "zod";
6551
- var DTODocumentationAnalyticsTimeFrameComparison = z223.object({
6552
- referencePeriod: z223.object({
6553
- start: z223.coerce.date(),
6554
- end: z223.coerce.date().optional()
6567
+ import { z as z224 } from "zod";
6568
+ var DTODocumentationAnalyticsTimeFrameComparison = z224.object({
6569
+ referencePeriod: z224.object({
6570
+ start: z224.coerce.date(),
6571
+ end: z224.coerce.date().optional()
6555
6572
  }),
6556
- baselinePeriod: z223.object({
6557
- start: z223.coerce.date(),
6558
- end: z223.coerce.date().optional()
6573
+ baselinePeriod: z224.object({
6574
+ start: z224.coerce.date(),
6575
+ end: z224.coerce.date().optional()
6559
6576
  })
6560
6577
  });
6561
- var DTODocumentationAnalyticsDiffPayload = z223.object({
6562
- timeFrames: z223.array(DTODocumentationAnalyticsTimeFrameComparison)
6578
+ var DTODocumentationAnalyticsDiffPayload = z224.object({
6579
+ timeFrames: z224.array(DTODocumentationAnalyticsTimeFrameComparison)
6563
6580
  });
6564
6581
 
6565
6582
  // src/api/payloads/documentation/block-definitions.ts
6566
- import { z as z224 } from "zod";
6583
+ import { z as z225 } from "zod";
6567
6584
 
6568
6585
  // src/api/dto/documentation/block-definition.ts
6569
6586
  var DTOPageBlockDefinitionBehavior = PageBlockDefinitionBehavior;
@@ -6575,76 +6592,76 @@ var DTOPageBlockColorV2 = PageBlockColorV2;
6575
6592
  var DTOPageBlockDefinition = PageBlockDefinition;
6576
6593
 
6577
6594
  // src/api/payloads/documentation/block-definitions.ts
6578
- var DTOGetBlockDefinitionsOutput = z224.object({
6579
- definitions: z224.array(DTOPageBlockDefinition)
6595
+ var DTOGetBlockDefinitionsOutput = z225.object({
6596
+ definitions: z225.array(DTOPageBlockDefinition)
6580
6597
  });
6581
6598
 
6582
6599
  // src/api/payloads/documentation/design-data-doc-diff.ts
6583
- import { z as z225 } from "zod";
6584
- var DTODocumentationPublishTypeQueryParams = z225.object({
6585
- environment: z225.enum(["Live", "Preview"])
6600
+ import { z as z226 } from "zod";
6601
+ var DTODocumentationPublishTypeQueryParams = z226.object({
6602
+ environment: z226.enum(["Live", "Preview"])
6586
6603
  });
6587
6604
 
6588
6605
  // src/api/payloads/export/pipeline.ts
6589
- import { z as z227 } from "zod";
6606
+ import { z as z228 } from "zod";
6590
6607
 
6591
6608
  // src/api/dto/export/exporter-property.ts
6592
- import { z as z226 } from "zod";
6593
- var PrimitiveValue2 = z226.number().or(z226.boolean()).or(z226.string());
6594
- var ArrayValue2 = z226.array(z226.string());
6595
- var ObjectValue2 = z226.record(z226.string());
6609
+ import { z as z227 } from "zod";
6610
+ var PrimitiveValue2 = z227.number().or(z227.boolean()).or(z227.string());
6611
+ var ArrayValue2 = z227.array(z227.string());
6612
+ var ObjectValue2 = z227.record(z227.string());
6596
6613
  var DTOExporterPropertyValue = PrimitiveValue2.or(ArrayValue2).or(ObjectValue2);
6597
- var DTOExporterPropertyType = z226.enum(["Enum", "Boolean", "String", "Number", "Array", "Object", "Code"]);
6598
- var PropertyDefinitionBase2 = z226.object({
6599
- key: z226.string(),
6600
- title: z226.string(),
6601
- description: z226.string(),
6602
- category: z226.string().optional(),
6603
- dependsOn: z226.record(z226.boolean()).optional()
6604
- });
6605
- var DTOExporterPropertyDefinitionEnumOption = z226.object({
6606
- label: z226.string(),
6607
- description: z226.string()
6614
+ var DTOExporterPropertyType = z227.enum(["Enum", "Boolean", "String", "Number", "Array", "Object", "Code"]);
6615
+ var PropertyDefinitionBase2 = z227.object({
6616
+ key: z227.string(),
6617
+ title: z227.string(),
6618
+ description: z227.string(),
6619
+ category: z227.string().optional(),
6620
+ dependsOn: z227.record(z227.boolean()).optional()
6621
+ });
6622
+ var DTOExporterPropertyDefinitionEnumOption = z227.object({
6623
+ label: z227.string(),
6624
+ description: z227.string()
6608
6625
  });
6609
6626
  var DTOExporterPropertyDefinitionEnum = PropertyDefinitionBase2.extend({
6610
- type: z226.literal(DTOExporterPropertyType.Enum.Enum),
6611
- options: z226.record(DTOExporterPropertyDefinitionEnumOption),
6612
- default: z226.string()
6627
+ type: z227.literal(DTOExporterPropertyType.Enum.Enum),
6628
+ options: z227.record(DTOExporterPropertyDefinitionEnumOption),
6629
+ default: z227.string()
6613
6630
  });
6614
6631
  var DTOExporterPropertyDefinitionBoolean = PropertyDefinitionBase2.extend({
6615
- type: z226.literal(DTOExporterPropertyType.Enum.Boolean),
6616
- default: z226.boolean()
6632
+ type: z227.literal(DTOExporterPropertyType.Enum.Boolean),
6633
+ default: z227.boolean()
6617
6634
  });
6618
6635
  var DTOExporterPropertyDefinitionString = PropertyDefinitionBase2.extend({
6619
- type: z226.literal(DTOExporterPropertyType.Enum.String),
6620
- default: z226.string(),
6621
- isMultiline: z226.boolean().optional()
6636
+ type: z227.literal(DTOExporterPropertyType.Enum.String),
6637
+ default: z227.string(),
6638
+ isMultiline: z227.boolean().optional()
6622
6639
  });
6623
6640
  var DTOExporterPropertyDefinitionNumber = PropertyDefinitionBase2.extend({
6624
- type: z226.literal(DTOExporterPropertyType.Enum.Number),
6625
- default: z226.number()
6641
+ type: z227.literal(DTOExporterPropertyType.Enum.Number),
6642
+ default: z227.number()
6626
6643
  });
6627
6644
  var DTOExporterPropertyDefinitionArray = PropertyDefinitionBase2.extend({
6628
- type: z226.literal(DTOExporterPropertyType.Enum.Array),
6645
+ type: z227.literal(DTOExporterPropertyType.Enum.Array),
6629
6646
  default: ArrayValue2
6630
6647
  });
6631
6648
  var DTOExporterPropertyDefinitionObject = PropertyDefinitionBase2.extend({
6632
- type: z226.literal(DTOExporterPropertyType.Enum.Object),
6649
+ type: z227.literal(DTOExporterPropertyType.Enum.Object),
6633
6650
  default: ObjectValue2,
6634
- allowedKeys: z226.object({
6635
- options: z226.string().array(),
6636
- type: z226.string()
6651
+ allowedKeys: z227.object({
6652
+ options: z227.string().array(),
6653
+ type: z227.string()
6637
6654
  }).optional(),
6638
- allowedValues: z226.object({
6639
- type: z226.string()
6655
+ allowedValues: z227.object({
6656
+ type: z227.string()
6640
6657
  }).optional()
6641
6658
  });
6642
6659
  var DTOExporterPropertyDefinitionCode = PropertyDefinitionBase2.extend({
6643
- type: z226.literal(DTOExporterPropertyType.Enum.Code),
6644
- language: z226.string(),
6645
- default: z226.string()
6660
+ type: z227.literal(DTOExporterPropertyType.Enum.Code),
6661
+ language: z227.string(),
6662
+ default: z227.string()
6646
6663
  });
6647
- var DTOExporterPropertyDefinition = z226.discriminatedUnion("type", [
6664
+ var DTOExporterPropertyDefinition = z227.discriminatedUnion("type", [
6648
6665
  DTOExporterPropertyDefinitionEnum,
6649
6666
  DTOExporterPropertyDefinitionBoolean,
6650
6667
  DTOExporterPropertyDefinitionString,
@@ -6653,84 +6670,84 @@ var DTOExporterPropertyDefinition = z226.discriminatedUnion("type", [
6653
6670
  DTOExporterPropertyDefinitionObject,
6654
6671
  DTOExporterPropertyDefinitionCode
6655
6672
  ]);
6656
- var DTOExporterPropertyDefinitionsResponse = z226.object({
6673
+ var DTOExporterPropertyDefinitionsResponse = z227.object({
6657
6674
  properties: DTOExporterPropertyDefinition.array()
6658
6675
  });
6659
- var DTOExporterPropertyValueMap = z226.record(DTOExporterPropertyValue);
6676
+ var DTOExporterPropertyValueMap = z227.record(DTOExporterPropertyValue);
6660
6677
 
6661
6678
  // src/api/payloads/export/pipeline.ts
6662
- var GitDestinationOptions = z227.object({
6663
- branch: z227.string().min(1).optional(),
6664
- commitMessage: z227.string().min(1).optional(),
6665
- commitAuthorName: z227.string().min(1).optional(),
6666
- commitAuthorEmail: z227.string().email().optional(),
6667
- pullRequestTitle: z227.string().min(1).optional(),
6668
- pullRequestDescription: z227.string().min(1).optional(),
6669
- relativePath: z227.string().optional(),
6670
- purgeDirectory: z227.boolean().optional()
6671
- });
6672
- var DTOPipelineCreateBody = z227.object({
6673
- name: z227.string(),
6674
- exporterId: z227.string(),
6675
- designSystemId: z227.string(),
6676
- isEnabled: z227.boolean(),
6679
+ var GitDestinationOptions = z228.object({
6680
+ branch: z228.string().min(1).optional(),
6681
+ commitMessage: z228.string().min(1).optional(),
6682
+ commitAuthorName: z228.string().min(1).optional(),
6683
+ commitAuthorEmail: z228.string().email().optional(),
6684
+ pullRequestTitle: z228.string().min(1).optional(),
6685
+ pullRequestDescription: z228.string().min(1).optional(),
6686
+ relativePath: z228.string().optional(),
6687
+ purgeDirectory: z228.boolean().optional()
6688
+ });
6689
+ var DTOPipelineCreateBody = z228.object({
6690
+ name: z228.string(),
6691
+ exporterId: z228.string(),
6692
+ designSystemId: z228.string(),
6693
+ isEnabled: z228.boolean(),
6677
6694
  eventType: PipelineEventType,
6678
- brandPersistentId: z227.string().optional(),
6679
- themePersistentId: z227.string().optional(),
6680
- themePersistentIds: z227.string().array().optional(),
6695
+ brandPersistentId: z228.string().optional(),
6696
+ themePersistentId: z228.string().optional(),
6697
+ themePersistentIds: z228.string().array().optional(),
6681
6698
  exporterPropertyValues: DTOExporterPropertyValueMap.optional(),
6682
6699
  destination: PipelineDestinationType.optional(),
6683
6700
  gitQuery: GitObjectsQuery,
6684
- destinations: z227.object({
6701
+ destinations: z228.object({
6685
6702
  s3: ExporterDestinationS3.nullish(),
6686
6703
  azure: ExporterDestinationAzure.nullish(),
6687
6704
  bitbucket: ExporterDestinationBitbucket.nullish(),
6688
6705
  github: ExporterDestinationGithub.nullish(),
6689
6706
  gitlab: ExporterDestinationGitlab.nullish(),
6690
6707
  documentation: ExporterDestinationDocs.nullish(),
6691
- webhookUrl: z227.string().nullish()
6708
+ webhookUrl: z228.string().nullish()
6692
6709
  })
6693
6710
  });
6694
- var DTOPipelineUpdateBody = z227.object({
6695
- exporterId: z227.string().optional(),
6696
- name: z227.string().optional(),
6697
- isEnabled: z227.boolean().optional(),
6711
+ var DTOPipelineUpdateBody = z228.object({
6712
+ exporterId: z228.string().optional(),
6713
+ name: z228.string().optional(),
6714
+ isEnabled: z228.boolean().optional(),
6698
6715
  eventType: PipelineEventType.optional(),
6699
- brandPersistentId: z227.string().optional(),
6700
- themePersistentId: z227.string().optional(),
6701
- themePersistentIds: z227.string().array().optional(),
6716
+ brandPersistentId: z228.string().optional(),
6717
+ themePersistentId: z228.string().optional(),
6718
+ themePersistentIds: z228.string().array().optional(),
6702
6719
  exporterPropertyValues: DTOExporterPropertyValueMap.optional(),
6703
6720
  destination: PipelineDestinationType.optional(),
6704
6721
  gitQuery: GitObjectsQuery.optional(),
6705
- destinations: z227.object({
6722
+ destinations: z228.object({
6706
6723
  s3: ExporterDestinationS3.nullish(),
6707
6724
  azure: ExporterDestinationAzure.nullish(),
6708
6725
  bitbucket: ExporterDestinationBitbucket.nullish(),
6709
6726
  github: ExporterDestinationGithub.nullish(),
6710
6727
  gitlab: ExporterDestinationGitlab.nullish(),
6711
6728
  documentation: ExporterDestinationDocs.nullish(),
6712
- webhookUrl: z227.string().nullish()
6729
+ webhookUrl: z228.string().nullish()
6713
6730
  }).optional(),
6714
6731
  gitDestinationOptions: GitDestinationOptions.partial().optional()
6715
6732
  });
6716
- var DTOPipelineTriggerBody = z227.object({
6717
- designSystemVersionId: z227.string()
6733
+ var DTOPipelineTriggerBody = z228.object({
6734
+ designSystemVersionId: z228.string()
6718
6735
  });
6719
6736
 
6720
6737
  // src/api/payloads/liveblocks/auth.ts
6721
- import { z as z228 } from "zod";
6722
- var DTOLiveblocksAuthRequest = z228.object({
6723
- room: z228.string().optional()
6738
+ import { z as z229 } from "zod";
6739
+ var DTOLiveblocksAuthRequest = z229.object({
6740
+ room: z229.string().optional()
6724
6741
  });
6725
6742
 
6726
6743
  // src/api/payloads/users/notifications/notification-settings.ts
6727
- import { z as z229 } from "zod";
6728
- var DTOUpdateUserNotificationSettingsPayload = z229.object({
6744
+ import { z as z230 } from "zod";
6745
+ var DTOUpdateUserNotificationSettingsPayload = z230.object({
6729
6746
  notificationSettings: UserNotificationSettings
6730
6747
  });
6731
- var DTOUserNotificationSettingsResponse = z229.object({
6732
- userId: z229.string(),
6733
- workspaceId: z229.string(),
6748
+ var DTOUserNotificationSettingsResponse = z230.object({
6749
+ userId: z230.string(),
6750
+ workspaceId: z230.string(),
6734
6751
  notificationSettings: UserNotificationSettings
6735
6752
  });
6736
6753
 
@@ -6738,13 +6755,13 @@ var DTOUserNotificationSettingsResponse = z229.object({
6738
6755
  var DTOUserProfileUpdatePayload = UserProfileUpdate;
6739
6756
 
6740
6757
  // src/api/payloads/workspaces/transfer-ownership.ts
6741
- import { z as z230 } from "zod";
6742
- var DTOTransferOwnershipPayload = z230.object({
6743
- newOwnerId: z230.string()
6758
+ import { z as z231 } from "zod";
6759
+ var DTOTransferOwnershipPayload = z231.object({
6760
+ newOwnerId: z231.string()
6744
6761
  });
6745
6762
 
6746
6763
  // src/api/payloads/workspaces/workspace-configuration.ts
6747
- import { z as z231 } from "zod";
6764
+ import { z as z232 } from "zod";
6748
6765
  var prohibitedSsoKeys = ["providerId", "metadataXml", "emailDomains"];
6749
6766
  function validateSsoPayload(ssoPayload) {
6750
6767
  const keys = [];
@@ -6767,21 +6784,21 @@ function validateSsoPayload(ssoPayload) {
6767
6784
  keys
6768
6785
  };
6769
6786
  }
6770
- var NpmRegistryInput = z231.object({
6771
- enabledScopes: z231.array(z231.string()),
6772
- customRegistryUrl: z231.string().optional(),
6773
- bypassProxy: z231.boolean().optional(),
6774
- npmProxyRegistryConfigId: z231.string().optional(),
6775
- npmProxyVersion: z231.number().optional(),
6776
- registryType: z231.string(),
6777
- authType: z231.string(),
6778
- authHeaderName: z231.string(),
6779
- authHeaderValue: z231.string(),
6780
- accessToken: z231.string(),
6781
- username: z231.string(),
6782
- password: z231.string()
6783
- });
6784
- var WorkspaceConfigurationPayload = z231.object({
6787
+ var NpmRegistryInput = z232.object({
6788
+ enabledScopes: z232.array(z232.string()),
6789
+ customRegistryUrl: z232.string().optional(),
6790
+ bypassProxy: z232.boolean().optional(),
6791
+ npmProxyRegistryConfigId: z232.string().optional(),
6792
+ npmProxyVersion: z232.number().optional(),
6793
+ registryType: z232.string(),
6794
+ authType: z232.string(),
6795
+ authHeaderName: z232.string(),
6796
+ authHeaderValue: z232.string(),
6797
+ accessToken: z232.string(),
6798
+ username: z232.string(),
6799
+ password: z232.string()
6800
+ });
6801
+ var WorkspaceConfigurationPayload = z232.object({
6785
6802
  ipWhitelist: WorkspaceIpSettings.partial().optional(),
6786
6803
  sso: SsoProvider.partial().optional(),
6787
6804
  npmRegistrySettings: NpmRegistryInput.partial().optional(),
@@ -6789,107 +6806,107 @@ var WorkspaceConfigurationPayload = z231.object({
6789
6806
  });
6790
6807
 
6791
6808
  // src/api/payloads/workspaces/workspace-integrations.ts
6792
- import { z as z232 } from "zod";
6793
- var DTOWorkspaceIntegrationOauthInput = z232.object({
6809
+ import { z as z233 } from "zod";
6810
+ var DTOWorkspaceIntegrationOauthInput = z233.object({
6794
6811
  type: IntegrationType
6795
6812
  });
6796
- var DTOWorkspaceIntegrationPATInput = z232.object({
6813
+ var DTOWorkspaceIntegrationPATInput = z233.object({
6797
6814
  type: IntegrationType,
6798
6815
  token: IntegrationToken
6799
6816
  });
6800
- var DTOWorkspaceIntegrationGetGitObjectsInput = z232.object({
6801
- organization: z232.string().optional(),
6817
+ var DTOWorkspaceIntegrationGetGitObjectsInput = z233.object({
6818
+ organization: z233.string().optional(),
6802
6819
  // Azure Organization | Bitbucket Workspace slug | Gitlab Group and Sub-Groups | Github Account (User or Organization)
6803
- project: z232.string().optional(),
6820
+ project: z233.string().optional(),
6804
6821
  // Only for Bitbucket and Azure
6805
- repository: z232.string().optional(),
6822
+ repository: z233.string().optional(),
6806
6823
  // For all providers. Pay attention for Gitlab, they call repositories "projects".
6807
- branch: z232.string().optional(),
6824
+ branch: z233.string().optional(),
6808
6825
  // For all providers, useful for PR creations.
6809
- user: z232.string().optional()
6826
+ user: z233.string().optional()
6810
6827
  // Only for Gitlab User Repositories
6811
6828
  });
6812
6829
 
6813
6830
  // src/api/dto/design-systems/version.ts
6814
- var DTODesignSystemVersion = z233.object({
6815
- id: z233.string(),
6816
- createdAt: z233.coerce.date(),
6831
+ var DTODesignSystemVersion = z234.object({
6832
+ id: z234.string(),
6833
+ createdAt: z234.coerce.date(),
6817
6834
  meta: ObjectMeta,
6818
- version: z233.string(),
6819
- isReadonly: z233.boolean(),
6820
- changeLog: z233.string(),
6821
- designSystemId: z233.string()
6835
+ version: z234.string(),
6836
+ isReadonly: z234.boolean(),
6837
+ changeLog: z234.string(),
6838
+ designSystemId: z234.string()
6822
6839
  });
6823
- var DTODesignSystemVersionsListResponse = z233.object({
6824
- designSystemVersions: z233.array(DTODesignSystemVersion)
6840
+ var DTODesignSystemVersionsListResponse = z234.object({
6841
+ designSystemVersions: z234.array(DTODesignSystemVersion)
6825
6842
  });
6826
- var DTODesignSystemVersionGetResponse = z233.object({
6843
+ var DTODesignSystemVersionGetResponse = z234.object({
6827
6844
  designSystemVersion: DTODesignSystemVersion
6828
6845
  });
6829
- var DTODesignSystemVersionCreationResponse = z233.object({
6846
+ var DTODesignSystemVersionCreationResponse = z234.object({
6830
6847
  meta: ObjectMeta,
6831
- version: z233.string(),
6832
- changeLog: z233.string(),
6833
- isReadOnly: z233.boolean(),
6834
- designSystemId: z233.string(),
6835
- jobId: z233.string()
6836
- });
6837
- var VersionSQSPayload = z233.object({
6838
- jobId: z233.string(),
6839
- designSystemId: z233.string(),
6848
+ version: z234.string(),
6849
+ changeLog: z234.string(),
6850
+ isReadOnly: z234.boolean(),
6851
+ designSystemId: z234.string(),
6852
+ jobId: z234.string()
6853
+ });
6854
+ var VersionSQSPayload = z234.object({
6855
+ jobId: z234.string(),
6856
+ designSystemId: z234.string(),
6840
6857
  input: DTOCreateVersionInput
6841
6858
  });
6842
- var DTODesignSystemVersionJobsResponse = z233.object({
6843
- jobs: z233.array(VersionCreationJob)
6859
+ var DTODesignSystemVersionJobsResponse = z234.object({
6860
+ jobs: z234.array(VersionCreationJob)
6844
6861
  });
6845
- var DTODesignSystemVersionJobStatusResponse = z233.object({
6862
+ var DTODesignSystemVersionJobStatusResponse = z234.object({
6846
6863
  job: VersionCreationJob
6847
6864
  });
6848
6865
 
6849
6866
  // src/api/dto/design-systems/view.ts
6850
- import { z as z234 } from "zod";
6851
- var DTOElementViewColumnSharedAttributes = z234.object({
6852
- id: z234.string(),
6853
- persistentId: z234.string(),
6854
- width: z234.number()
6867
+ import { z as z235 } from "zod";
6868
+ var DTOElementViewColumnSharedAttributes = z235.object({
6869
+ id: z235.string(),
6870
+ persistentId: z235.string(),
6871
+ width: z235.number()
6855
6872
  });
6856
6873
  var DTOElementViewBasePropertyColumn = DTOElementViewColumnSharedAttributes.extend({
6857
- type: z234.literal("BaseProperty"),
6874
+ type: z235.literal("BaseProperty"),
6858
6875
  basePropertyType: ElementViewBaseColumnType
6859
6876
  });
6860
6877
  var DTOElementViewPropertyDefinitionColumn = DTOElementViewColumnSharedAttributes.extend({
6861
- type: z234.literal("PropertyDefinition"),
6862
- propertyDefinitionId: z234.string()
6878
+ type: z235.literal("PropertyDefinition"),
6879
+ propertyDefinitionId: z235.string()
6863
6880
  });
6864
6881
  var DTOElementViewThemeColumn = DTOElementViewColumnSharedAttributes.extend({
6865
- type: z234.literal("Theme"),
6866
- themeId: z234.string()
6882
+ type: z235.literal("Theme"),
6883
+ themeId: z235.string()
6867
6884
  });
6868
- var DTOElementViewColumn = z234.discriminatedUnion("type", [
6885
+ var DTOElementViewColumn = z235.discriminatedUnion("type", [
6869
6886
  DTOElementViewBasePropertyColumn,
6870
6887
  DTOElementViewPropertyDefinitionColumn,
6871
6888
  DTOElementViewThemeColumn
6872
6889
  ]);
6873
- var DTOElementView = z234.object({
6890
+ var DTOElementView = z235.object({
6874
6891
  meta: ObjectMeta,
6875
- persistentId: z234.string(),
6892
+ persistentId: z235.string(),
6876
6893
  targetElementType: ElementPropertyTargetType,
6877
- id: z234.string(),
6878
- isDefault: z234.boolean(),
6879
- columns: z234.array(DTOElementViewColumn)
6894
+ id: z235.string(),
6895
+ isDefault: z235.boolean(),
6896
+ columns: z235.array(DTOElementViewColumn)
6880
6897
  });
6881
- var DTOElementViewsListResponse = z234.object({
6882
- elementDataViews: z234.array(DTOElementView)
6898
+ var DTOElementViewsListResponse = z235.object({
6899
+ elementDataViews: z235.array(DTOElementView)
6883
6900
  });
6884
6901
 
6885
6902
  // src/api/dto/bff/app-bootstrap-data.ts
6886
- var DTOAppBootstrapDataQuery = z235.object({
6887
- preferredWorkspaceId: z235.string().optional(),
6888
- preferredDesignSystemId: z235.string().optional(),
6889
- preferredVersionId: z235.string().optional(),
6890
- preferredBrandId: z235.string().optional()
6903
+ var DTOAppBootstrapDataQuery = z236.object({
6904
+ preferredWorkspaceId: z236.string().optional(),
6905
+ preferredDesignSystemId: z236.string().optional(),
6906
+ preferredVersionId: z236.string().optional(),
6907
+ preferredBrandId: z236.string().optional()
6891
6908
  });
6892
- var DTOAppBootstrapDataResponse = z235.object({
6909
+ var DTOAppBootstrapDataResponse = z236.object({
6893
6910
  workspaceMembership: DTOUserWorkspaceMembership.optional(),
6894
6911
  designSystem: DTODesignSystem.optional(),
6895
6912
  version: DTODesignSystemVersion.optional(),
@@ -6897,92 +6914,92 @@ var DTOAppBootstrapDataResponse = z235.object({
6897
6914
  });
6898
6915
 
6899
6916
  // src/api/dto/collections/token-collection.ts
6900
- import { z as z236 } from "zod";
6901
- var DTOTokenCollection = z236.object({
6902
- id: z236.string(),
6903
- persistentId: z236.string(),
6904
- designSystemVersionId: z236.string(),
6917
+ import { z as z237 } from "zod";
6918
+ var DTOTokenCollection = z237.object({
6919
+ id: z237.string(),
6920
+ persistentId: z237.string(),
6921
+ designSystemVersionId: z237.string(),
6905
6922
  meta: ObjectMeta,
6906
6923
  backgroundColor: ColorTokenInlineData.optional(),
6907
- elementPropertyOptionId: z236.string(),
6908
- createdAt: z236.coerce.date(),
6909
- updatedAt: z236.coerce.date(),
6924
+ elementPropertyOptionId: z237.string(),
6925
+ createdAt: z237.coerce.date(),
6926
+ updatedAt: z237.coerce.date(),
6910
6927
  origin: CollectionOrigin.optional()
6911
6928
  });
6912
- var DTOTokenCollectionsListReponse = z236.object({
6929
+ var DTOTokenCollectionsListReponse = z237.object({
6913
6930
  collections: DTOTokenCollection.array()
6914
6931
  });
6915
6932
 
6916
6933
  // src/api/dto/design-tokens/design-token.ts
6917
- import { z as z237 } from "zod";
6934
+ import { z as z238 } from "zod";
6918
6935
  var DTODesignToken = DesignTokenTypedData.and(
6919
- z237.object({
6920
- id: z237.string(),
6921
- persistentId: z237.string(),
6922
- designSystemVersionId: z237.string(),
6936
+ z238.object({
6937
+ id: z238.string(),
6938
+ persistentId: z238.string(),
6939
+ designSystemVersionId: z238.string(),
6923
6940
  meta: ObjectMeta,
6924
6941
  originStyle: DesignTokenOrigin.optional(),
6925
- brandId: z237.string(),
6926
- collectionId: z237.string().optional(),
6927
- updatedAt: z237.coerce.date()
6942
+ brandId: z238.string(),
6943
+ collectionId: z238.string().optional(),
6944
+ updatedAt: z238.coerce.date()
6928
6945
  })
6929
6946
  );
6930
- var DTODesignTokenListResponse = z237.object({
6947
+ var DTODesignTokenListResponse = z238.object({
6931
6948
  tokens: DTODesignToken.array()
6932
6949
  });
6933
- var DTODesignTokenResponse = z237.object({
6950
+ var DTODesignTokenResponse = z238.object({
6934
6951
  token: DTODesignToken
6935
6952
  });
6936
- var DTODesignTokenGroup = z237.object({
6937
- id: z237.string(),
6953
+ var DTODesignTokenGroup = z238.object({
6954
+ id: z238.string(),
6938
6955
  tokenType: DesignTokenType,
6939
- persistentId: z237.string(),
6940
- isRoot: z237.boolean(),
6941
- brandId: z237.string(),
6956
+ persistentId: z238.string(),
6957
+ isRoot: z238.boolean(),
6958
+ brandId: z238.string(),
6942
6959
  meta: ObjectMeta,
6943
- childrenIds: z237.string().array()
6960
+ childrenIds: z238.string().array()
6944
6961
  });
6945
- var DTODesignTokenGroupListResponse = z237.object({
6962
+ var DTODesignTokenGroupListResponse = z238.object({
6946
6963
  groups: DTODesignTokenGroup.array()
6947
6964
  });
6948
- var DTODesignTokenGroupResponse = z237.object({
6965
+ var DTODesignTokenGroupResponse = z238.object({
6949
6966
  group: DTODesignTokenGroup
6950
6967
  });
6951
6968
  var DTODesignTokenCreatePayload = DesignTokenTypedData.and(
6952
- z237.object({
6953
- persistentId: z237.string(),
6969
+ z238.object({
6970
+ persistentId: z238.string(),
6954
6971
  meta: ObjectMeta,
6955
- brandId: z237.string(),
6956
- groupPersistentId: z237.string().optional()
6972
+ brandId: z238.string(),
6973
+ groupPersistentId: z238.string().optional()
6957
6974
  })
6958
6975
  );
6959
- var DTODesignTokenGroupCreatePayload = z237.object({
6960
- persistentId: z237.string(),
6976
+ var DTODesignTokenGroupCreatePayload = z238.object({
6977
+ persistentId: z238.string(),
6961
6978
  meta: ObjectMeta,
6962
- brandId: z237.string(),
6963
- parentId: z237.string().optional(),
6979
+ brandId: z238.string(),
6980
+ parentId: z238.string().optional(),
6964
6981
  tokenType: DesignTokenType,
6965
- childrenIds: z237.string().array()
6982
+ childrenIds: z238.string().array()
6966
6983
  });
6967
6984
 
6968
6985
  // src/api/dto/documentation/analytics-v2.ts
6969
- import { z as z238 } from "zod";
6970
- var DTODocumentationAnalyticsTimeFrame = z238.object({
6971
- start: z238.coerce.date(),
6972
- end: z238.coerce.date().optional()
6986
+ import { z as z239 } from "zod";
6987
+ var DTODocumentationAnalyticsTimeFrame = z239.object({
6988
+ start: z239.coerce.date(),
6989
+ end: z239.coerce.date().optional()
6973
6990
  });
6974
- var DTOPublishedDocVisitData = z238.object({
6975
- timestamp: z238.coerce.date(),
6976
- versionId: z238.string(),
6977
- locale: z238.string().optional(),
6978
- visits: z238.number(),
6979
- sessions: z238.number()
6991
+ var DTOPublishedDocVisitData = z239.object({
6992
+ timestamp: z239.coerce.date(),
6993
+ versionId: z239.string(),
6994
+ locale: z239.string().optional(),
6995
+ visits: z239.number(),
6996
+ sessions: z239.number()
6980
6997
  });
6981
6998
  var DTOPublishedDocPageVisitData = DTOPublishedDocVisitData.extend({
6982
- pagePersistentId: z238.string()
6999
+ pagePersistentId: z239.string()
6983
7000
  });
6984
- var DTOPublishedDocVisitHeatMapDay = z238.number().array().length(12);
6985
- var DTOPublishedDocVisitHeatMapWeek = z238.object({
7001
+ var DTOPublishedDocVisitHeatMapDay = z239.number().array().length(12);
7002
+ var DTOPublishedDocVisitHeatMapWeek = z239.object({
6986
7003
  /**
6987
7004
  * For which timeframe it was calculated
6988
7005
  */
@@ -6995,65 +7012,65 @@ var DTOPublishedDocVisitHeatMapWeek = z238.object({
6995
7012
  sat: DTOPublishedDocVisitHeatMapDay,
6996
7013
  sun: DTOPublishedDocVisitHeatMapDay
6997
7014
  });
6998
- var DTOPublishedDocAnalyticsComparisonData = z238.object({
7015
+ var DTOPublishedDocAnalyticsComparisonData = z239.object({
6999
7016
  /**
7000
7017
  * For which timeframe it was calculated
7001
7018
  */
7002
7019
  timeFrame: DTODocumentationAnalyticsTimeFrame,
7003
- priorVisitCount: z238.number(),
7004
- priorSessionCount: z238.number(),
7005
- currentVisitCount: z238.number(),
7006
- currentSessionCount: z238.number()
7020
+ priorVisitCount: z239.number(),
7021
+ priorSessionCount: z239.number(),
7022
+ currentVisitCount: z239.number(),
7023
+ currentSessionCount: z239.number()
7007
7024
  });
7008
7025
  var DTOPublishedDocPageAnalyticsComparisonData = DTOPublishedDocAnalyticsComparisonData.extend({
7009
- pagePersistentId: z238.string()
7026
+ pagePersistentId: z239.string()
7010
7027
  });
7011
- var DTODocumentationPageAnalyticsResponse = z238.object({
7028
+ var DTODocumentationPageAnalyticsResponse = z239.object({
7012
7029
  globalAnalytics: DTOPublishedDocVisitData.array(),
7013
7030
  pageAnalytics: DTOPublishedDocPageVisitData.array(),
7014
7031
  heatMapData: DTOPublishedDocVisitHeatMapWeek.array(),
7015
7032
  comparisonData: DTOPublishedDocAnalyticsComparisonData.array(),
7016
7033
  pageComparisonData: DTOPublishedDocPageAnalyticsComparisonData.array()
7017
7034
  });
7018
- var DTODocumentationAnalyticsRequest = z238.object({
7019
- timeFrames: z238.array(DTODocumentationAnalyticsTimeFrame)
7035
+ var DTODocumentationAnalyticsRequest = z239.object({
7036
+ timeFrames: z239.array(DTODocumentationAnalyticsTimeFrame)
7020
7037
  });
7021
7038
 
7022
7039
  // src/api/dto/documentation/analytics.ts
7023
- import { z as z239 } from "zod";
7024
- var DTODocumentationPageAnalyticsDifference = z239.object({
7025
- startDate: z239.coerce.date(),
7026
- endDate: z239.coerce.date().optional(),
7027
- currentVisitCount: z239.number(),
7028
- currentSessionCount: z239.number(),
7029
- priorVisitCount: z239.number(),
7030
- priorSessionCount: z239.number()
7040
+ import { z as z240 } from "zod";
7041
+ var DTODocumentationPageAnalyticsDifference = z240.object({
7042
+ startDate: z240.coerce.date(),
7043
+ endDate: z240.coerce.date().optional(),
7044
+ currentVisitCount: z240.number(),
7045
+ currentSessionCount: z240.number(),
7046
+ priorVisitCount: z240.number(),
7047
+ priorSessionCount: z240.number()
7031
7048
  });
7032
- var DTODocumentationPageIntervalDifferenceResponse = z239.object({
7033
- differences: z239.array(DTODocumentationPageAnalyticsDifference)
7049
+ var DTODocumentationPageIntervalDifferenceResponse = z240.object({
7050
+ differences: z240.array(DTODocumentationPageAnalyticsDifference)
7034
7051
  });
7035
7052
 
7036
7053
  // src/api/dto/documentation/anchor.ts
7037
- import { z as z240 } from "zod";
7054
+ import { z as z241 } from "zod";
7038
7055
  var DTODocumentationPageAnchor = DocumentationPageAnchor;
7039
- var DTOGetDocumentationPageAnchorsResponse = z240.object({
7040
- anchors: z240.array(DTODocumentationPageAnchor)
7056
+ var DTOGetDocumentationPageAnchorsResponse = z241.object({
7057
+ anchors: z241.array(DTODocumentationPageAnchor)
7041
7058
  });
7042
7059
 
7043
7060
  // src/api/dto/documentation/approvals.ts
7044
- import { z as z241 } from "zod";
7045
- var DTODocumentationPageApprovalState = z241.object({
7061
+ import { z as z242 } from "zod";
7062
+ var DTODocumentationPageApprovalState = z242.object({
7046
7063
  approvalState: DocumentationPageApprovalState,
7047
- pagePersistentId: z241.string(),
7048
- updatedByUserId: z241.string(),
7049
- designSystemVersionId: z241.string(),
7050
- updatedAt: z241.coerce.date(),
7051
- createdAt: z241.coerce.date()
7052
- });
7053
- var DTODocumentationGroupApprovalState = z241.object({
7054
- persistentId: z241.string(),
7055
- groupPersistentId: z241.string(),
7056
- designSystemVersionId: z241.string(),
7064
+ pagePersistentId: z242.string(),
7065
+ updatedByUserId: z242.string(),
7066
+ designSystemVersionId: z242.string(),
7067
+ updatedAt: z242.coerce.date(),
7068
+ createdAt: z242.coerce.date()
7069
+ });
7070
+ var DTODocumentationGroupApprovalState = z242.object({
7071
+ persistentId: z242.string(),
7072
+ groupPersistentId: z242.string(),
7073
+ designSystemVersionId: z242.string(),
7057
7074
  approvalState: DocumentationPageApprovalState
7058
7075
  });
7059
7076
 
@@ -7061,68 +7078,68 @@ var DTODocumentationGroupApprovalState = z241.object({
7061
7078
  var DTOPageBlockItemV2 = PageBlockItemV2;
7062
7079
 
7063
7080
  // src/api/dto/documentation/documentation-page-snapshot.ts
7064
- import { z as z246 } from "zod";
7081
+ import { z as z247 } from "zod";
7065
7082
 
7066
7083
  // src/api/dto/elements/documentation/page-v2.ts
7067
- import { z as z245 } from "zod";
7084
+ import { z as z246 } from "zod";
7068
7085
 
7069
7086
  // src/api/dto/elements/documentation/draft-state.ts
7070
- import { z as z243 } from "zod";
7087
+ import { z as z244 } from "zod";
7071
7088
 
7072
7089
  // src/api/dto/elements/documentation/item-configuration-v2.ts
7073
- import { z as z242 } from "zod";
7090
+ import { z as z243 } from "zod";
7074
7091
  var DTODocumentationItemHeaderV2 = DocumentationItemHeaderV2;
7075
- var DTODocumentationItemConfigurationV2 = z242.object({
7076
- showSidebar: z242.boolean(),
7077
- isPrivate: z242.boolean(),
7078
- isHidden: z242.boolean(),
7092
+ var DTODocumentationItemConfigurationV2 = z243.object({
7093
+ showSidebar: z243.boolean(),
7094
+ isPrivate: z243.boolean(),
7095
+ isHidden: z243.boolean(),
7079
7096
  header: DTODocumentationItemHeaderV2
7080
7097
  });
7081
7098
 
7082
7099
  // src/api/dto/elements/documentation/draft-state.ts
7083
- var DTODocumentationDraftChangeType = z243.enum(["Created", "Updated", "Deleted"]);
7084
- var DTODocumentationDraftStateCreated = z243.object({
7085
- changeType: z243.literal(DTODocumentationDraftChangeType.enum.Created)
7086
- });
7087
- var DTODocumentationDraftStateUpdated = z243.object({
7088
- changeType: z243.literal(DTODocumentationDraftChangeType.enum.Updated),
7089
- changes: z243.object({
7090
- previousTitle: z243.string().optional(),
7100
+ var DTODocumentationDraftChangeType = z244.enum(["Created", "Updated", "Deleted"]);
7101
+ var DTODocumentationDraftStateCreated = z244.object({
7102
+ changeType: z244.literal(DTODocumentationDraftChangeType.enum.Created)
7103
+ });
7104
+ var DTODocumentationDraftStateUpdated = z244.object({
7105
+ changeType: z244.literal(DTODocumentationDraftChangeType.enum.Updated),
7106
+ changes: z244.object({
7107
+ previousTitle: z244.string().optional(),
7091
7108
  previousConfiguration: DTODocumentationItemConfigurationV2.optional(),
7092
- previousContentHash: z243.string().optional()
7109
+ previousContentHash: z244.string().optional()
7093
7110
  })
7094
7111
  });
7095
- var DTODocumentationDraftStateDeleted = z243.object({
7096
- changeType: z243.literal(DTODocumentationDraftChangeType.enum.Deleted),
7097
- deletedAt: z243.coerce.date(),
7098
- deletedByUserId: z243.string()
7112
+ var DTODocumentationDraftStateDeleted = z244.object({
7113
+ changeType: z244.literal(DTODocumentationDraftChangeType.enum.Deleted),
7114
+ deletedAt: z244.coerce.date(),
7115
+ deletedByUserId: z244.string()
7099
7116
  });
7100
- var DTODocumentationDraftState = z243.discriminatedUnion("changeType", [
7117
+ var DTODocumentationDraftState = z244.discriminatedUnion("changeType", [
7101
7118
  DTODocumentationDraftStateCreated,
7102
7119
  DTODocumentationDraftStateUpdated,
7103
7120
  DTODocumentationDraftStateDeleted
7104
7121
  ]);
7105
7122
 
7106
7123
  // src/api/dto/elements/documentation/metadata.ts
7107
- import { z as z244 } from "zod";
7108
- var DTODocumentationPublishMetadata = z244.object({
7109
- lastPublishedByUserId: z244.string(),
7110
- lastPublishedAt: z244.coerce.date()
7124
+ import { z as z245 } from "zod";
7125
+ var DTODocumentationPublishMetadata = z245.object({
7126
+ lastPublishedByUserId: z245.string(),
7127
+ lastPublishedAt: z245.coerce.date()
7111
7128
  });
7112
7129
 
7113
7130
  // src/api/dto/elements/documentation/page-v2.ts
7114
- var DTODocumentationPageV2 = z245.object({
7115
- id: z245.string(),
7116
- persistentId: z245.string(),
7117
- designSystemVersionId: z245.string(),
7118
- title: z245.string(),
7131
+ var DTODocumentationPageV2 = z246.object({
7132
+ id: z246.string(),
7133
+ persistentId: z246.string(),
7134
+ designSystemVersionId: z246.string(),
7135
+ title: z246.string(),
7119
7136
  configuration: DTODocumentationItemConfigurationV2,
7120
- shortPersistentId: z245.string(),
7121
- slug: z245.string().optional(),
7122
- userSlug: z245.string().optional(),
7123
- createdAt: z245.coerce.date(),
7124
- updatedAt: z245.coerce.date(),
7125
- path: z245.string(),
7137
+ shortPersistentId: z246.string(),
7138
+ slug: z246.string().optional(),
7139
+ userSlug: z246.string().optional(),
7140
+ createdAt: z246.coerce.date(),
7141
+ updatedAt: z246.coerce.date(),
7142
+ path: z246.string(),
7126
7143
  /** Defined when a page has changed since last publish and can be included into a partial publish */
7127
7144
  draftState: DTODocumentationDraftState.optional(),
7128
7145
  /** Defined if a page was published at least once and contains metadata about last publish */
@@ -7130,267 +7147,267 @@ var DTODocumentationPageV2 = z245.object({
7130
7147
  /** Defines the approval state of the documentation page */
7131
7148
  approvalState: DTODocumentationPageApprovalState.optional(),
7132
7149
  /** Id of the page document room */
7133
- liveblocksRoomId: z245.string().optional(),
7150
+ liveblocksRoomId: z246.string().optional(),
7134
7151
  // Backward compatibility
7135
- type: z245.literal("Page")
7152
+ type: z246.literal("Page")
7136
7153
  });
7137
- var DTOCreateDocumentationPageInputV2 = z245.object({
7154
+ var DTOCreateDocumentationPageInputV2 = z246.object({
7138
7155
  // Identifier
7139
- persistentId: z245.string(),
7156
+ persistentId: z246.string(),
7140
7157
  // Page properties
7141
- title: z245.string(),
7158
+ title: z246.string(),
7142
7159
  configuration: DTODocumentationItemConfigurationV2.partial().optional(),
7143
7160
  // Page placement properties
7144
- parentPersistentId: z245.string(),
7145
- afterPersistentId: z245.string().nullish()
7161
+ parentPersistentId: z246.string(),
7162
+ afterPersistentId: z246.string().nullish()
7146
7163
  });
7147
- var DTOUpdateDocumentationPageInputV2 = z245.object({
7164
+ var DTOUpdateDocumentationPageInputV2 = z246.object({
7148
7165
  // Identifier of the page to update
7149
- id: z245.string(),
7166
+ id: z246.string(),
7150
7167
  // Page properties
7151
- title: z245.string().optional(),
7168
+ title: z246.string().optional(),
7152
7169
  configuration: DTODocumentationItemConfigurationV2.partial().optional()
7153
7170
  });
7154
- var DTOUpdateDocumentationPageDocumentInputV2 = z245.object({
7171
+ var DTOUpdateDocumentationPageDocumentInputV2 = z246.object({
7155
7172
  // Identifier of the page to update
7156
- id: z245.string(),
7173
+ id: z246.string(),
7157
7174
  // Page properties
7158
- documentItems: z245.array(DocumentationPageContentItem)
7175
+ documentItems: z246.array(DocumentationPageContentItem)
7159
7176
  });
7160
- var DTOMoveDocumentationPageInputV2 = z245.object({
7177
+ var DTOMoveDocumentationPageInputV2 = z246.object({
7161
7178
  // Identifier of the group to update
7162
- id: z245.string(),
7179
+ id: z246.string(),
7163
7180
  // Page placement properties
7164
- parentPersistentId: z245.string(),
7165
- afterPersistentId: z245.string().nullish()
7181
+ parentPersistentId: z246.string(),
7182
+ afterPersistentId: z246.string().nullish()
7166
7183
  });
7167
- var DTODuplicateDocumentationPageInputV2 = z245.object({
7184
+ var DTODuplicateDocumentationPageInputV2 = z246.object({
7168
7185
  // Identifier of the page to duplicate from
7169
- id: z245.string(),
7186
+ id: z246.string(),
7170
7187
  // New page persistent id
7171
- persistentId: z245.string(),
7188
+ persistentId: z246.string(),
7172
7189
  // Page placement properties
7173
- parentPersistentId: z245.string(),
7174
- afterPersistentId: z245.string().nullish()
7190
+ parentPersistentId: z246.string(),
7191
+ afterPersistentId: z246.string().nullish()
7175
7192
  });
7176
- var DTODeleteDocumentationPageInputV2 = z245.object({
7193
+ var DTODeleteDocumentationPageInputV2 = z246.object({
7177
7194
  // Identifier
7178
- id: z245.string()
7195
+ id: z246.string()
7179
7196
  });
7180
- var DTORestoreDocumentationPageInput = z245.object({
7181
- persistentId: z245.string(),
7182
- snapshotId: z245.string().optional()
7197
+ var DTORestoreDocumentationPageInput = z246.object({
7198
+ persistentId: z246.string(),
7199
+ snapshotId: z246.string().optional()
7183
7200
  });
7184
- var DTORestoreDocumentationGroupInput = z245.object({
7185
- persistentId: z245.string(),
7186
- snapshotId: z245.string().optional()
7201
+ var DTORestoreDocumentationGroupInput = z246.object({
7202
+ persistentId: z246.string(),
7203
+ snapshotId: z246.string().optional()
7187
7204
  });
7188
- var DTODocumentationPageApprovalStateChangeInput = z245.object({
7189
- persistentId: z245.string(),
7205
+ var DTODocumentationPageApprovalStateChangeInput = z246.object({
7206
+ persistentId: z246.string(),
7190
7207
  approvalState: DocumentationPageApprovalState.optional()
7191
7208
  });
7192
7209
 
7193
7210
  // src/api/dto/documentation/documentation-page-snapshot.ts
7194
- var DTODocumentationPageSnapshot = z246.object({
7195
- id: z246.string(),
7196
- designSystemVersionId: z246.string(),
7197
- createdAt: z246.string(),
7198
- updatedAt: z246.string(),
7211
+ var DTODocumentationPageSnapshot = z247.object({
7212
+ id: z247.string(),
7213
+ designSystemVersionId: z247.string(),
7214
+ createdAt: z247.string(),
7215
+ updatedAt: z247.string(),
7199
7216
  documentationPage: DTODocumentationPageV2,
7200
- pageContentHash: z246.string(),
7217
+ pageContentHash: z247.string(),
7201
7218
  reason: DesignElementSnapshotReason
7202
7219
  });
7203
7220
 
7204
7221
  // src/api/dto/documentation/link-preview.ts
7205
- import { z as z247 } from "zod";
7206
- var DTODocumentationLinkPreviewResponse = z247.object({
7222
+ import { z as z248 } from "zod";
7223
+ var DTODocumentationLinkPreviewResponse = z248.object({
7207
7224
  linkPreview: DocumentationLinkPreview
7208
7225
  });
7209
- var DTODocumentationLinkPreviewRequest = z247.object({
7210
- url: z247.string().optional(),
7211
- documentationItemPersistentId: z247.string().optional()
7226
+ var DTODocumentationLinkPreviewRequest = z248.object({
7227
+ url: z248.string().optional(),
7228
+ documentationItemPersistentId: z248.string().optional()
7212
7229
  });
7213
7230
 
7214
7231
  // src/api/dto/documentation/publish.ts
7215
- import { z as z251 } from "zod";
7232
+ import { z as z252 } from "zod";
7216
7233
 
7217
7234
  // src/api/dto/export/exporter.ts
7218
- import { z as z248 } from "zod";
7219
- var DTOExporterType = z248.enum(["documentation", "code"]);
7220
- var DTOExporterSource = z248.enum(["git", "upload"]);
7221
- var DTOExporterMembershipRole = z248.enum(["Owner", "OwnerArchived", "User"]);
7222
- var DTOExporterListQuery = z248.object({
7223
- limit: z248.coerce.number().optional(),
7224
- offset: z248.coerce.number().optional(),
7235
+ import { z as z249 } from "zod";
7236
+ var DTOExporterType = z249.enum(["documentation", "code"]);
7237
+ var DTOExporterSource = z249.enum(["git", "upload"]);
7238
+ var DTOExporterMembershipRole = z249.enum(["Owner", "OwnerArchived", "User"]);
7239
+ var DTOExporterListQuery = z249.object({
7240
+ limit: z249.coerce.number().optional(),
7241
+ offset: z249.coerce.number().optional(),
7225
7242
  type: DTOExporterType.optional(),
7226
- search: z248.string().optional()
7243
+ search: z249.string().optional()
7227
7244
  });
7228
- var DTOExporter = z248.object({
7229
- id: z248.string(),
7230
- name: z248.string(),
7231
- isPrivate: z248.boolean(),
7245
+ var DTOExporter = z249.object({
7246
+ id: z249.string(),
7247
+ name: z249.string(),
7248
+ isPrivate: z249.boolean(),
7232
7249
  exporterType: DTOExporterType,
7233
- isDefaultDocumentationExporter: z248.boolean(),
7234
- iconURL: z248.string().optional(),
7250
+ isDefaultDocumentationExporter: z249.boolean(),
7251
+ iconURL: z249.string().optional(),
7235
7252
  configurationProperties: PulsarContributionConfigurationProperty.array(),
7236
7253
  properties: DTOExporterPropertyDefinition.array().optional(),
7237
7254
  customBlocks: PulsarCustomBlock.array(),
7238
- blockVariants: z248.record(z248.string(), PulsarContributionVariant.array()),
7239
- homepage: z248.string().optional(),
7240
- organization: z248.string().optional(),
7241
- packageId: z248.string().optional(),
7242
- tags: z248.array(z248.string()),
7243
- author: z248.string().optional(),
7244
- version: z248.string(),
7245
- description: z248.string(),
7246
- usesLocale: z248.boolean(),
7247
- usesBrands: z248.boolean(),
7248
- usesThemes: z248.boolean(),
7249
- readme: z248.string().optional(),
7250
- routingVersion: z248.string().optional(),
7255
+ blockVariants: z249.record(z249.string(), PulsarContributionVariant.array()),
7256
+ homepage: z249.string().optional(),
7257
+ organization: z249.string().optional(),
7258
+ packageId: z249.string().optional(),
7259
+ tags: z249.array(z249.string()),
7260
+ author: z249.string().optional(),
7261
+ version: z249.string(),
7262
+ description: z249.string(),
7263
+ usesLocale: z249.boolean(),
7264
+ usesBrands: z249.boolean(),
7265
+ usesThemes: z249.boolean(),
7266
+ readme: z249.string().optional(),
7267
+ routingVersion: z249.string().optional(),
7251
7268
  source: DTOExporterSource,
7252
- gitProvider: z248.string().optional(),
7253
- gitUrl: nullishToOptional(z248.string()),
7254
- gitBranch: nullishToOptional(z248.string()),
7255
- gitDirectory: nullishToOptional(z248.string()),
7256
- isDeprecated: z248.boolean(),
7257
- deprecationNote: z248.string().optional(),
7258
- replacementExporterId: z248.string().optional()
7259
- });
7260
- var DTOExporterMembership = z248.object({
7261
- workspaceId: z248.string(),
7262
- exporterId: z248.string(),
7269
+ gitProvider: z249.string().optional(),
7270
+ gitUrl: nullishToOptional(z249.string()),
7271
+ gitBranch: nullishToOptional(z249.string()),
7272
+ gitDirectory: nullishToOptional(z249.string()),
7273
+ isDeprecated: z249.boolean(),
7274
+ deprecationNote: z249.string().optional(),
7275
+ replacementExporterId: z249.string().optional()
7276
+ });
7277
+ var DTOExporterMembership = z249.object({
7278
+ workspaceId: z249.string(),
7279
+ exporterId: z249.string(),
7263
7280
  role: DTOExporterMembershipRole
7264
7281
  });
7265
- var DTOExporterResponse = z248.object({
7282
+ var DTOExporterResponse = z249.object({
7266
7283
  exporter: DTOExporter,
7267
7284
  membership: DTOExporterMembership
7268
7285
  });
7269
- var DTOExporterListResponse = z248.object({
7286
+ var DTOExporterListResponse = z249.object({
7270
7287
  exporters: DTOExporter.array(),
7271
7288
  membership: DTOExporterMembership.array(),
7272
- total: z248.number()
7289
+ total: z249.number()
7273
7290
  });
7274
- var DTOExporterGitProviderEnum = z248.enum(["github", "gitlab", "bitbucket", "azure"]);
7275
- var DTOExporterCreateInput = z248.object({
7276
- url: z248.string(),
7291
+ var DTOExporterGitProviderEnum = z249.enum(["github", "gitlab", "bitbucket", "azure"]);
7292
+ var DTOExporterCreateInput = z249.object({
7293
+ url: z249.string(),
7277
7294
  provider: DTOExporterGitProviderEnum
7278
7295
  });
7279
- var DTOExporterUpdateInput = z248.object({
7280
- url: z248.string().optional()
7296
+ var DTOExporterUpdateInput = z249.object({
7297
+ url: z249.string().optional()
7281
7298
  });
7282
- var DTOExporterDeprecationInput = z248.object({
7283
- isDeprecated: z248.boolean(),
7284
- deprecationNote: z248.string().optional(),
7285
- replacementExporterId: z248.string().optional()
7299
+ var DTOExporterDeprecationInput = z249.object({
7300
+ isDeprecated: z249.boolean(),
7301
+ deprecationNote: z249.string().optional(),
7302
+ replacementExporterId: z249.string().optional()
7286
7303
  });
7287
7304
 
7288
7305
  // src/api/dto/export/filter.ts
7289
7306
  var DTOExportJobsListFilter = ExportJobFindByFilter;
7290
7307
 
7291
7308
  // src/api/dto/export/job.ts
7292
- import { z as z249 } from "zod";
7293
- var DTOExportJobCreatedBy = z249.object({
7294
- userId: z249.string(),
7295
- userName: z249.string()
7309
+ import { z as z250 } from "zod";
7310
+ var DTOExportJobCreatedBy = z250.object({
7311
+ userId: z250.string(),
7312
+ userName: z250.string()
7296
7313
  });
7297
- var DTOExportJobDesignSystemPreview = z249.object({
7298
- id: z249.string(),
7314
+ var DTOExportJobDesignSystemPreview = z250.object({
7315
+ id: z250.string(),
7299
7316
  meta: ObjectMeta
7300
7317
  });
7301
- var DTOExportJobDesignSystemVersionPreview = z249.object({
7302
- id: z249.string(),
7318
+ var DTOExportJobDesignSystemVersionPreview = z250.object({
7319
+ id: z250.string(),
7303
7320
  meta: ObjectMeta,
7304
- version: z249.string(),
7305
- isReadonly: z249.boolean()
7321
+ version: z250.string(),
7322
+ isReadonly: z250.boolean()
7306
7323
  });
7307
- var DTOExportJobDestinations = z249.object({
7324
+ var DTOExportJobDestinations = z250.object({
7308
7325
  s3: ExporterDestinationS3.optional(),
7309
7326
  azure: ExporterDestinationAzure.optional(),
7310
7327
  bitbucket: ExporterDestinationBitbucket.optional(),
7311
7328
  github: ExporterDestinationGithub.optional(),
7312
7329
  gitlab: ExporterDestinationGitlab.optional(),
7313
7330
  documentation: ExporterDestinationDocs.optional(),
7314
- webhookUrl: z249.string().optional()
7331
+ webhookUrl: z250.string().optional()
7315
7332
  });
7316
7333
  var DTOExportJobResult = ExportJobResult.omit({
7317
7334
  sndocs: true
7318
7335
  }).extend({
7319
7336
  documentation: ExportJobDocsDestinationResult.optional()
7320
7337
  });
7321
- var DTOExportJob = z249.object({
7322
- id: z249.string(),
7323
- createdAt: z249.coerce.date(),
7324
- finishedAt: z249.coerce.date().optional(),
7325
- index: z249.number().optional(),
7338
+ var DTOExportJob = z250.object({
7339
+ id: z250.string(),
7340
+ createdAt: z250.coerce.date(),
7341
+ finishedAt: z250.coerce.date().optional(),
7342
+ index: z250.number().optional(),
7326
7343
  status: ExportJobStatus,
7327
- estimatedExecutionTime: z249.number().optional(),
7344
+ estimatedExecutionTime: z250.number().optional(),
7328
7345
  createdBy: DTOExportJobCreatedBy.optional(),
7329
7346
  designSystem: DTOExportJobDesignSystemPreview,
7330
7347
  designSystemVersion: DTOExportJobDesignSystemVersionPreview,
7331
7348
  destinations: DTOExportJobDestinations,
7332
- exporterId: z249.string(),
7333
- scheduleId: z249.string().optional(),
7349
+ exporterId: z250.string(),
7350
+ scheduleId: z250.string().optional(),
7334
7351
  result: DTOExportJobResult.optional(),
7335
- brandPersistentId: z249.string().optional(),
7336
- themePersistentId: z249.string().optional(),
7337
- themePersistentIds: z249.string().array().optional(),
7352
+ brandPersistentId: z250.string().optional(),
7353
+ themePersistentId: z250.string().optional(),
7354
+ themePersistentIds: z250.string().array().optional(),
7338
7355
  exporterPropertyValues: DTOExporterPropertyValueMap.optional()
7339
7356
  });
7340
- var DTOExportJobResponse = z249.object({
7357
+ var DTOExportJobResponse = z250.object({
7341
7358
  job: DTOExportJob
7342
7359
  });
7343
- var DTOExportJobResponseLegacy = z249.object({
7344
- job: z249.object({
7345
- id: z249.string(),
7360
+ var DTOExportJobResponseLegacy = z250.object({
7361
+ job: z250.object({
7362
+ id: z250.string(),
7346
7363
  status: ExportJobStatus
7347
7364
  })
7348
7365
  });
7349
- var DTOExportJobCreateInput = z249.object({
7350
- designSystemId: z249.string(),
7351
- designSystemVersionId: z249.string(),
7352
- exporterId: z249.string(),
7353
- brandId: z249.string().optional(),
7354
- themeId: z249.string().optional(),
7355
- themePersistentIds: z249.string().array().optional(),
7366
+ var DTOExportJobCreateInput = z250.object({
7367
+ designSystemId: z250.string(),
7368
+ designSystemVersionId: z250.string(),
7369
+ exporterId: z250.string(),
7370
+ brandId: z250.string().optional(),
7371
+ themeId: z250.string().optional(),
7372
+ themePersistentIds: z250.string().array().optional(),
7356
7373
  destinations: DTOExportJobDestinations,
7357
7374
  exporterPropertyValues: DTOExporterPropertyValueMap.optional(),
7358
- previewMode: z249.boolean().optional()
7375
+ previewMode: z250.boolean().optional()
7359
7376
  });
7360
7377
 
7361
7378
  // src/api/dto/export/pipeline.ts
7362
- import { z as z250 } from "zod";
7363
- var DTOPipelineListQuery = z250.object({
7364
- designSystemId: z250.string().optional(),
7365
- exporterId: z250.string().optional(),
7366
- latestJobsLimit: z250.coerce.number().optional()
7367
- });
7368
- var DTOPipeline = z250.object({
7369
- id: z250.string(),
7370
- name: z250.string(),
7379
+ import { z as z251 } from "zod";
7380
+ var DTOPipelineListQuery = z251.object({
7381
+ designSystemId: z251.string().optional(),
7382
+ exporterId: z251.string().optional(),
7383
+ latestJobsLimit: z251.coerce.number().optional()
7384
+ });
7385
+ var DTOPipeline = z251.object({
7386
+ id: z251.string(),
7387
+ name: z251.string(),
7371
7388
  eventType: PipelineEventType,
7372
- isEnabled: z250.boolean(),
7373
- workspaceId: z250.string(),
7374
- designSystemId: z250.string(),
7375
- exporterId: z250.string(),
7376
- brandPersistentId: z250.string().optional(),
7377
- themePersistentId: z250.string().optional(),
7378
- themePersistentIds: z250.string().array().optional(),
7389
+ isEnabled: z251.boolean(),
7390
+ workspaceId: z251.string(),
7391
+ designSystemId: z251.string(),
7392
+ exporterId: z251.string(),
7393
+ brandPersistentId: z251.string().optional(),
7394
+ themePersistentId: z251.string().optional(),
7395
+ themePersistentIds: z251.string().array().optional(),
7379
7396
  exporterPropertyValues: DTOExporterPropertyValueMap.optional(),
7380
7397
  ...ExportDestinationsMap.shape,
7381
7398
  latestJobs: DTOExportJob.array(),
7382
- isExporterDeprecated: z250.boolean()
7399
+ isExporterDeprecated: z251.boolean()
7383
7400
  });
7384
- var DTOPipelineListResponse = z250.object({
7401
+ var DTOPipelineListResponse = z251.object({
7385
7402
  pipelines: DTOPipeline.array()
7386
7403
  });
7387
- var DTOPipelineResponse = z250.object({
7404
+ var DTOPipelineResponse = z251.object({
7388
7405
  pipeline: DTOPipeline
7389
7406
  });
7390
7407
 
7391
7408
  // src/api/dto/documentation/publish.ts
7392
7409
  var DTOPublishDocumentationChanges = ExportJobDocumentationChanges;
7393
- var DTOPublishDocumentationRequest = z251.object({
7410
+ var DTOPublishDocumentationRequest = z252.object({
7394
7411
  environment: PublishedDocEnvironment,
7395
7412
  /**
7396
7413
  * If defined, this allows narrowing down what is published to a set of specific pages and groups
@@ -7398,66 +7415,66 @@ var DTOPublishDocumentationRequest = z251.object({
7398
7415
  */
7399
7416
  changes: DTOPublishDocumentationChanges.optional()
7400
7417
  });
7401
- var DTOPublishDocumentationResponse = z251.object({
7418
+ var DTOPublishDocumentationResponse = z252.object({
7402
7419
  job: DTOExportJob
7403
7420
  });
7404
7421
 
7405
7422
  // src/api/dto/documentation/room.ts
7406
- import { z as z252 } from "zod";
7407
- var DTODocumentationPageRoom = z252.object({
7408
- id: z252.string()
7423
+ import { z as z253 } from "zod";
7424
+ var DTODocumentationPageRoom = z253.object({
7425
+ id: z253.string()
7409
7426
  });
7410
- var DTODocumentationPageRoomResponse = z252.object({
7427
+ var DTODocumentationPageRoomResponse = z253.object({
7411
7428
  room: DTODocumentationPageRoom
7412
7429
  });
7413
7430
 
7414
7431
  // src/api/dto/elements/components/figma-component-group.ts
7415
- import z253 from "zod";
7416
- var DTOFigmaComponentGroup = z253.object({
7417
- id: z253.string(),
7418
- designSystemVersionId: z253.string(),
7419
- persistentId: z253.string(),
7420
- isRoot: z253.boolean(),
7421
- brandId: z253.string(),
7432
+ import z254 from "zod";
7433
+ var DTOFigmaComponentGroup = z254.object({
7434
+ id: z254.string(),
7435
+ designSystemVersionId: z254.string(),
7436
+ persistentId: z254.string(),
7437
+ isRoot: z254.boolean(),
7438
+ brandId: z254.string(),
7422
7439
  meta: DTOObjectMeta,
7423
- childrenIds: z253.string().array()
7440
+ childrenIds: z254.string().array()
7424
7441
  });
7425
- var DTOFigmaComponentGroupListResponse = z253.object({
7442
+ var DTOFigmaComponentGroupListResponse = z254.object({
7426
7443
  groups: DTOFigmaComponentGroup.array()
7427
7444
  });
7428
7445
 
7429
7446
  // src/api/dto/elements/components/figma-component.ts
7430
- import { z as z254 } from "zod";
7447
+ import { z as z255 } from "zod";
7431
7448
  var DTOFigmaComponentProperty = FigmaComponentProperty;
7432
- var DTOFigmaComponentPropertyMap = z254.record(DTOFigmaComponentProperty);
7433
- var DTOFigmaComponent = z254.object({
7434
- id: z254.string(),
7435
- persistentId: z254.string(),
7436
- designSystemVersionId: z254.string(),
7437
- brandId: z254.string(),
7438
- thumbnailUrl: z254.string().optional(),
7439
- svgUrl: z254.string().optional(),
7440
- exportProperties: z254.object({
7441
- isAsset: z254.boolean()
7449
+ var DTOFigmaComponentPropertyMap = z255.record(DTOFigmaComponentProperty);
7450
+ var DTOFigmaComponent = z255.object({
7451
+ id: z255.string(),
7452
+ persistentId: z255.string(),
7453
+ designSystemVersionId: z255.string(),
7454
+ brandId: z255.string(),
7455
+ thumbnailUrl: z255.string().optional(),
7456
+ svgUrl: z255.string().optional(),
7457
+ exportProperties: z255.object({
7458
+ isAsset: z255.boolean()
7442
7459
  }),
7443
- createdAt: z254.coerce.date(),
7444
- updatedAt: z254.coerce.date(),
7460
+ createdAt: z255.coerce.date(),
7461
+ updatedAt: z255.coerce.date(),
7445
7462
  meta: ObjectMeta,
7446
7463
  originComponent: FigmaComponentOrigin.optional(),
7447
- parentComponentPersistentId: z254.string().optional(),
7448
- childrenPersistentIds: z254.string().array().optional(),
7464
+ parentComponentPersistentId: z255.string().optional(),
7465
+ childrenPersistentIds: z255.string().array().optional(),
7449
7466
  componentPropertyDefinitions: DTOFigmaComponentPropertyMap.optional(),
7450
- variantPropertyValues: z254.record(z254.string()).optional()
7467
+ variantPropertyValues: z255.record(z255.string()).optional()
7451
7468
  });
7452
- var DTOFigmaComponentListResponse = z254.object({
7469
+ var DTOFigmaComponentListResponse = z255.object({
7453
7470
  components: DTOFigmaComponent.array()
7454
7471
  });
7455
7472
 
7456
7473
  // src/api/dto/elements/documentation/group-action.ts
7457
- import { z as z256 } from "zod";
7474
+ import { z as z257 } from "zod";
7458
7475
 
7459
7476
  // src/api/dto/elements/documentation/group-v2.ts
7460
- import { z as z255 } from "zod";
7477
+ import { z as z256 } from "zod";
7461
7478
  var DTODocumentationGroupV2 = ElementGroup.omit({
7462
7479
  sortOrder: true,
7463
7480
  parentPersistentId: true,
@@ -7467,13 +7484,13 @@ var DTODocumentationGroupV2 = ElementGroup.omit({
7467
7484
  data: true,
7468
7485
  shortPersistentId: true
7469
7486
  }).extend({
7470
- title: z255.string(),
7471
- isRoot: z255.boolean(),
7472
- childrenIds: z255.array(z255.string()),
7487
+ title: z256.string(),
7488
+ isRoot: z256.boolean(),
7489
+ childrenIds: z256.array(z256.string()),
7473
7490
  groupBehavior: DocumentationGroupBehavior,
7474
- shortPersistentId: z255.string(),
7491
+ shortPersistentId: z256.string(),
7475
7492
  configuration: DTODocumentationItemConfigurationV2,
7476
- type: z255.literal("Group"),
7493
+ type: z256.literal("Group"),
7477
7494
  /** Defined when a group has changed since last publish and can be included into a partial publish */
7478
7495
  draftState: DTODocumentationDraftState.optional(),
7479
7496
  /** Defined if a group was published at least once and contains metadata about last publish */
@@ -7481,127 +7498,127 @@ var DTODocumentationGroupV2 = ElementGroup.omit({
7481
7498
  //** An approval state for frontend to utilize. */
7482
7499
  approvalState: DTODocumentationGroupApprovalState.optional()
7483
7500
  });
7484
- var DTOCreateDocumentationGroupInput = z255.object({
7501
+ var DTOCreateDocumentationGroupInput = z256.object({
7485
7502
  // Identifier
7486
- persistentId: z255.string(),
7503
+ persistentId: z256.string(),
7487
7504
  // Group properties
7488
- title: z255.string(),
7505
+ title: z256.string(),
7489
7506
  configuration: DTODocumentationItemConfigurationV2.partial().optional(),
7490
7507
  // Group placement properties
7491
- afterPersistentId: z255.string().nullish(),
7492
- parentPersistentId: z255.string()
7508
+ afterPersistentId: z256.string().nullish(),
7509
+ parentPersistentId: z256.string()
7493
7510
  });
7494
- var DTOUpdateDocumentationGroupInput = z255.object({
7511
+ var DTOUpdateDocumentationGroupInput = z256.object({
7495
7512
  // Identifier of the group to update
7496
- id: z255.string(),
7513
+ id: z256.string(),
7497
7514
  // Group properties
7498
- title: z255.string().optional(),
7515
+ title: z256.string().optional(),
7499
7516
  configuration: DTODocumentationItemConfigurationV2.partial().optional()
7500
7517
  });
7501
- var DTOMoveDocumentationGroupInput = z255.object({
7518
+ var DTOMoveDocumentationGroupInput = z256.object({
7502
7519
  // Identifier of the group to update
7503
- id: z255.string(),
7520
+ id: z256.string(),
7504
7521
  // Group placement properties
7505
- parentPersistentId: z255.string(),
7506
- afterPersistentId: z255.string().nullish()
7522
+ parentPersistentId: z256.string(),
7523
+ afterPersistentId: z256.string().nullish()
7507
7524
  });
7508
- var DTODuplicateDocumentationGroupInput = z255.object({
7525
+ var DTODuplicateDocumentationGroupInput = z256.object({
7509
7526
  // Identifier of the group to duplicate from
7510
- id: z255.string(),
7527
+ id: z256.string(),
7511
7528
  // New group persistent id
7512
- persistentId: z255.string(),
7529
+ persistentId: z256.string(),
7513
7530
  // Group placement properties
7514
- afterPersistentId: z255.string().nullish(),
7515
- parentPersistentId: z255.string()
7531
+ afterPersistentId: z256.string().nullish(),
7532
+ parentPersistentId: z256.string()
7516
7533
  });
7517
- var DTOCreateDocumentationTabInput = z255.object({
7534
+ var DTOCreateDocumentationTabInput = z256.object({
7518
7535
  // New group persistent id
7519
- persistentId: z255.string(),
7536
+ persistentId: z256.string(),
7520
7537
  // If this is page, we will attempt to convert it to tab
7521
7538
  // If this is tab group, we will add a new tab to it
7522
- fromItemPersistentId: z255.string(),
7523
- tabName: z255.string()
7539
+ fromItemPersistentId: z256.string(),
7540
+ tabName: z256.string()
7524
7541
  });
7525
- var DTODeleteDocumentationTabGroupInput = z255.object({
7542
+ var DTODeleteDocumentationTabGroupInput = z256.object({
7526
7543
  // Deleted group id
7527
- id: z255.string()
7544
+ id: z256.string()
7528
7545
  });
7529
- var DTODeleteDocumentationGroupInput = z255.object({
7546
+ var DTODeleteDocumentationGroupInput = z256.object({
7530
7547
  // Identifier
7531
- id: z255.string(),
7548
+ id: z256.string(),
7532
7549
  // Deletion options
7533
- deleteSubtree: z255.boolean().default(false)
7550
+ deleteSubtree: z256.boolean().default(false)
7534
7551
  });
7535
7552
 
7536
7553
  // src/api/dto/elements/documentation/group-action.ts
7537
- var SuccessPayload = z256.object({
7538
- success: z256.literal(true)
7554
+ var SuccessPayload = z257.object({
7555
+ success: z257.literal(true)
7539
7556
  });
7540
- var DTODocumentationGroupCreateActionOutputV2 = z256.object({
7541
- type: z256.literal("DocumentationGroupCreate"),
7557
+ var DTODocumentationGroupCreateActionOutputV2 = z257.object({
7558
+ type: z257.literal("DocumentationGroupCreate"),
7542
7559
  output: SuccessPayload
7543
7560
  });
7544
- var DTODocumentationTabCreateActionOutputV2 = z256.object({
7545
- type: z256.literal("DocumentationTabCreate"),
7561
+ var DTODocumentationTabCreateActionOutputV2 = z257.object({
7562
+ type: z257.literal("DocumentationTabCreate"),
7546
7563
  output: SuccessPayload
7547
7564
  });
7548
- var DTODocumentationGroupUpdateActionOutputV2 = z256.object({
7549
- type: z256.literal("DocumentationGroupUpdate"),
7565
+ var DTODocumentationGroupUpdateActionOutputV2 = z257.object({
7566
+ type: z257.literal("DocumentationGroupUpdate"),
7550
7567
  output: SuccessPayload
7551
7568
  });
7552
- var DTODocumentationGroupMoveActionOutputV2 = z256.object({
7553
- type: z256.literal("DocumentationGroupMove"),
7569
+ var DTODocumentationGroupMoveActionOutputV2 = z257.object({
7570
+ type: z257.literal("DocumentationGroupMove"),
7554
7571
  output: SuccessPayload
7555
7572
  });
7556
- var DTODocumentationGroupDuplicateActionOutputV2 = z256.object({
7557
- type: z256.literal("DocumentationGroupDuplicate"),
7573
+ var DTODocumentationGroupDuplicateActionOutputV2 = z257.object({
7574
+ type: z257.literal("DocumentationGroupDuplicate"),
7558
7575
  output: SuccessPayload
7559
7576
  });
7560
- var DTODocumentationGroupDeleteActionOutputV2 = z256.object({
7561
- type: z256.literal("DocumentationGroupDelete"),
7577
+ var DTODocumentationGroupDeleteActionOutputV2 = z257.object({
7578
+ type: z257.literal("DocumentationGroupDelete"),
7562
7579
  output: SuccessPayload
7563
7580
  });
7564
- var DTODocumentationTabGroupDeleteActionOutputV2 = z256.object({
7565
- type: z256.literal("DocumentationTabGroupDelete"),
7581
+ var DTODocumentationTabGroupDeleteActionOutputV2 = z257.object({
7582
+ type: z257.literal("DocumentationTabGroupDelete"),
7566
7583
  output: SuccessPayload
7567
7584
  });
7568
- var DTODocumentationGroupCreateActionInputV2 = z256.object({
7569
- type: z256.literal("DocumentationGroupCreate"),
7585
+ var DTODocumentationGroupCreateActionInputV2 = z257.object({
7586
+ type: z257.literal("DocumentationGroupCreate"),
7570
7587
  input: DTOCreateDocumentationGroupInput
7571
7588
  });
7572
- var DTODocumentationTabCreateActionInputV2 = z256.object({
7573
- type: z256.literal("DocumentationTabCreate"),
7589
+ var DTODocumentationTabCreateActionInputV2 = z257.object({
7590
+ type: z257.literal("DocumentationTabCreate"),
7574
7591
  input: DTOCreateDocumentationTabInput
7575
7592
  });
7576
- var DTODocumentationGroupUpdateActionInputV2 = z256.object({
7577
- type: z256.literal("DocumentationGroupUpdate"),
7593
+ var DTODocumentationGroupUpdateActionInputV2 = z257.object({
7594
+ type: z257.literal("DocumentationGroupUpdate"),
7578
7595
  input: DTOUpdateDocumentationGroupInput
7579
7596
  });
7580
- var DTODocumentationGroupMoveActionInputV2 = z256.object({
7581
- type: z256.literal("DocumentationGroupMove"),
7597
+ var DTODocumentationGroupMoveActionInputV2 = z257.object({
7598
+ type: z257.literal("DocumentationGroupMove"),
7582
7599
  input: DTOMoveDocumentationGroupInput
7583
7600
  });
7584
- var DTODocumentationGroupDuplicateActionInputV2 = z256.object({
7585
- type: z256.literal("DocumentationGroupDuplicate"),
7601
+ var DTODocumentationGroupDuplicateActionInputV2 = z257.object({
7602
+ type: z257.literal("DocumentationGroupDuplicate"),
7586
7603
  input: DTODuplicateDocumentationGroupInput
7587
7604
  });
7588
- var DTODocumentationGroupDeleteActionInputV2 = z256.object({
7589
- type: z256.literal("DocumentationGroupDelete"),
7605
+ var DTODocumentationGroupDeleteActionInputV2 = z257.object({
7606
+ type: z257.literal("DocumentationGroupDelete"),
7590
7607
  input: DTODeleteDocumentationGroupInput
7591
7608
  });
7592
- var DTODocumentationTabGroupDeleteActionInputV2 = z256.object({
7593
- type: z256.literal("DocumentationTabGroupDelete"),
7609
+ var DTODocumentationTabGroupDeleteActionInputV2 = z257.object({
7610
+ type: z257.literal("DocumentationTabGroupDelete"),
7594
7611
  input: DTODeleteDocumentationTabGroupInput
7595
7612
  });
7596
7613
 
7597
7614
  // src/api/dto/elements/documentation/group-v1.ts
7598
- import { z as z258 } from "zod";
7615
+ import { z as z259 } from "zod";
7599
7616
 
7600
7617
  // src/api/dto/elements/documentation/item-configuration-v1.ts
7601
- import { z as z257 } from "zod";
7602
- var DocumentationColorV1 = z257.object({
7603
- aliasTo: z257.string().optional(),
7604
- value: z257.string().optional()
7618
+ import { z as z258 } from "zod";
7619
+ var DocumentationColorV1 = z258.object({
7620
+ aliasTo: z258.string().optional(),
7621
+ value: z258.string().optional()
7605
7622
  });
7606
7623
  var DTODocumentationItemHeaderV1 = DocumentationItemHeaderV1.omit({
7607
7624
  foregroundColor: true,
@@ -7610,10 +7627,10 @@ var DTODocumentationItemHeaderV1 = DocumentationItemHeaderV1.omit({
7610
7627
  foregroundColor: DocumentationColorV1.optional(),
7611
7628
  backgroundColor: DocumentationColorV1.optional()
7612
7629
  });
7613
- var DTODocumentationItemConfigurationV1 = z257.object({
7614
- showSidebar: z257.boolean(),
7615
- isPrivate: z257.boolean(),
7616
- isHidden: z257.boolean(),
7630
+ var DTODocumentationItemConfigurationV1 = z258.object({
7631
+ showSidebar: z258.boolean(),
7632
+ isPrivate: z258.boolean(),
7633
+ isHidden: z258.boolean(),
7617
7634
  header: DTODocumentationItemHeaderV1
7618
7635
  });
7619
7636
 
@@ -7627,145 +7644,145 @@ var DTODocumentationGroupStructureV1 = ElementGroup.omit({
7627
7644
  data: true,
7628
7645
  shortPersistentId: true
7629
7646
  }).extend({
7630
- title: z258.string(),
7631
- isRoot: z258.boolean(),
7632
- childrenIds: z258.array(z258.string()),
7647
+ title: z259.string(),
7648
+ isRoot: z259.boolean(),
7649
+ childrenIds: z259.array(z259.string()),
7633
7650
  groupBehavior: DocumentationGroupBehavior,
7634
- shortPersistentId: z258.string(),
7635
- type: z258.literal("Group")
7651
+ shortPersistentId: z259.string(),
7652
+ type: z259.literal("Group")
7636
7653
  });
7637
7654
  var DTODocumentationGroupV1 = DTODocumentationGroupStructureV1.extend({
7638
7655
  configuration: DTODocumentationItemConfigurationV1
7639
7656
  });
7640
7657
 
7641
7658
  // src/api/dto/elements/documentation/hierarchy.ts
7642
- import { z as z259 } from "zod";
7643
- var DTODocumentationHierarchyV2 = z259.object({
7644
- pages: z259.array(
7659
+ import { z as z260 } from "zod";
7660
+ var DTODocumentationHierarchyV2 = z260.object({
7661
+ pages: z260.array(
7645
7662
  DTODocumentationPageV2.extend({
7646
7663
  /** Defined when a page has changed since last publish and can be included into a partial publish */
7647
7664
  draftState: DTODocumentationDraftState.optional()
7648
7665
  })
7649
7666
  ),
7650
- groups: z259.array(
7667
+ groups: z260.array(
7651
7668
  DTODocumentationGroupV2.extend({
7652
7669
  /** Defined when a page has changed since last publish and can be included into a partial publish */
7653
7670
  draftState: DTODocumentationDraftState.optional()
7654
7671
  })
7655
7672
  ),
7656
7673
  /** True if the documentation was already published, false otherwise. */
7657
- hasPublishedDocumentationContent: z259.boolean()
7674
+ hasPublishedDocumentationContent: z260.boolean()
7658
7675
  });
7659
7676
 
7660
7677
  // src/api/dto/elements/documentation/page-actions-v2.ts
7661
- import { z as z260 } from "zod";
7662
- var SuccessPayload2 = z260.object({
7663
- success: z260.literal(true)
7678
+ import { z as z261 } from "zod";
7679
+ var SuccessPayload2 = z261.object({
7680
+ success: z261.literal(true)
7664
7681
  });
7665
- var DTODocumentationPageCreateActionOutputV2 = z260.object({
7666
- type: z260.literal("DocumentationPageCreate"),
7682
+ var DTODocumentationPageCreateActionOutputV2 = z261.object({
7683
+ type: z261.literal("DocumentationPageCreate"),
7667
7684
  output: SuccessPayload2
7668
7685
  });
7669
- var DTODocumentationPageUpdateActionOutputV2 = z260.object({
7670
- type: z260.literal("DocumentationPageUpdate"),
7686
+ var DTODocumentationPageUpdateActionOutputV2 = z261.object({
7687
+ type: z261.literal("DocumentationPageUpdate"),
7671
7688
  output: SuccessPayload2
7672
7689
  });
7673
- var DTODocumentationPageUpdateDocumentActionOutputV2 = z260.object({
7674
- type: z260.literal("DocumentationPageUpdateDocument"),
7690
+ var DTODocumentationPageUpdateDocumentActionOutputV2 = z261.object({
7691
+ type: z261.literal("DocumentationPageUpdateDocument"),
7675
7692
  output: SuccessPayload2
7676
7693
  });
7677
- var DTODocumentationPageMoveActionOutputV2 = z260.object({
7678
- type: z260.literal("DocumentationPageMove"),
7694
+ var DTODocumentationPageMoveActionOutputV2 = z261.object({
7695
+ type: z261.literal("DocumentationPageMove"),
7679
7696
  output: SuccessPayload2
7680
7697
  });
7681
- var DTODocumentationPageDuplicateActionOutputV2 = z260.object({
7682
- type: z260.literal("DocumentationPageDuplicate"),
7698
+ var DTODocumentationPageDuplicateActionOutputV2 = z261.object({
7699
+ type: z261.literal("DocumentationPageDuplicate"),
7683
7700
  output: SuccessPayload2
7684
7701
  });
7685
- var DTODocumentationPageDeleteActionOutputV2 = z260.object({
7686
- type: z260.literal("DocumentationPageDelete"),
7702
+ var DTODocumentationPageDeleteActionOutputV2 = z261.object({
7703
+ type: z261.literal("DocumentationPageDelete"),
7687
7704
  output: SuccessPayload2
7688
7705
  });
7689
- var DTODocumentationPageRestoreActionOutput = z260.object({
7690
- type: z260.literal("DocumentationPageRestore"),
7706
+ var DTODocumentationPageRestoreActionOutput = z261.object({
7707
+ type: z261.literal("DocumentationPageRestore"),
7691
7708
  output: SuccessPayload2
7692
7709
  });
7693
- var DTODocumentationGroupRestoreActionOutput = z260.object({
7694
- type: z260.literal("DocumentationGroupRestore"),
7710
+ var DTODocumentationGroupRestoreActionOutput = z261.object({
7711
+ type: z261.literal("DocumentationGroupRestore"),
7695
7712
  output: SuccessPayload2
7696
7713
  });
7697
- var DTODocumentationPageApprovalStateChangeActionOutput = z260.object({
7698
- type: z260.literal("DocumentationPageApprovalStateChange"),
7714
+ var DTODocumentationPageApprovalStateChangeActionOutput = z261.object({
7715
+ type: z261.literal("DocumentationPageApprovalStateChange"),
7699
7716
  output: SuccessPayload2
7700
7717
  });
7701
- var DTODocumentationPageCreateActionInputV2 = z260.object({
7702
- type: z260.literal("DocumentationPageCreate"),
7718
+ var DTODocumentationPageCreateActionInputV2 = z261.object({
7719
+ type: z261.literal("DocumentationPageCreate"),
7703
7720
  input: DTOCreateDocumentationPageInputV2
7704
7721
  });
7705
- var DTODocumentationPageUpdateActionInputV2 = z260.object({
7706
- type: z260.literal("DocumentationPageUpdate"),
7722
+ var DTODocumentationPageUpdateActionInputV2 = z261.object({
7723
+ type: z261.literal("DocumentationPageUpdate"),
7707
7724
  input: DTOUpdateDocumentationPageInputV2
7708
7725
  });
7709
- var DTODocumentationPageUpdateDocumentActionInputV2 = z260.object({
7710
- type: z260.literal("DocumentationPageUpdateDocument"),
7726
+ var DTODocumentationPageUpdateDocumentActionInputV2 = z261.object({
7727
+ type: z261.literal("DocumentationPageUpdateDocument"),
7711
7728
  input: DTOUpdateDocumentationPageDocumentInputV2
7712
7729
  });
7713
- var DTODocumentationPageMoveActionInputV2 = z260.object({
7714
- type: z260.literal("DocumentationPageMove"),
7730
+ var DTODocumentationPageMoveActionInputV2 = z261.object({
7731
+ type: z261.literal("DocumentationPageMove"),
7715
7732
  input: DTOMoveDocumentationPageInputV2
7716
7733
  });
7717
- var DTODocumentationPageDuplicateActionInputV2 = z260.object({
7718
- type: z260.literal("DocumentationPageDuplicate"),
7734
+ var DTODocumentationPageDuplicateActionInputV2 = z261.object({
7735
+ type: z261.literal("DocumentationPageDuplicate"),
7719
7736
  input: DTODuplicateDocumentationPageInputV2
7720
7737
  });
7721
- var DTODocumentationPageDeleteActionInputV2 = z260.object({
7722
- type: z260.literal("DocumentationPageDelete"),
7738
+ var DTODocumentationPageDeleteActionInputV2 = z261.object({
7739
+ type: z261.literal("DocumentationPageDelete"),
7723
7740
  input: DTODeleteDocumentationPageInputV2
7724
7741
  });
7725
- var DTODocumentationPageRestoreActionInput = z260.object({
7726
- type: z260.literal("DocumentationPageRestore"),
7742
+ var DTODocumentationPageRestoreActionInput = z261.object({
7743
+ type: z261.literal("DocumentationPageRestore"),
7727
7744
  input: DTORestoreDocumentationPageInput
7728
7745
  });
7729
- var DTODocumentationGroupRestoreActionInput = z260.object({
7730
- type: z260.literal("DocumentationGroupRestore"),
7746
+ var DTODocumentationGroupRestoreActionInput = z261.object({
7747
+ type: z261.literal("DocumentationGroupRestore"),
7731
7748
  input: DTORestoreDocumentationGroupInput
7732
7749
  });
7733
- var DTODocumentationPageApprovalStateChangeActionInput = z260.object({
7734
- type: z260.literal("DocumentationPageApprovalStateChange"),
7750
+ var DTODocumentationPageApprovalStateChangeActionInput = z261.object({
7751
+ type: z261.literal("DocumentationPageApprovalStateChange"),
7735
7752
  input: DTODocumentationPageApprovalStateChangeInput
7736
7753
  });
7737
7754
 
7738
7755
  // src/api/dto/elements/documentation/page-content.ts
7739
- import { z as z261 } from "zod";
7756
+ import { z as z262 } from "zod";
7740
7757
  var DTODocumentationPageContent = DocumentationPageContent;
7741
- var DTODocumentationPageContentGetResponse = z261.object({
7758
+ var DTODocumentationPageContentGetResponse = z262.object({
7742
7759
  pageContent: DTODocumentationPageContent
7743
7760
  });
7744
7761
 
7745
7762
  // src/api/dto/elements/documentation/page-dependencies.ts
7746
- import { z as z262 } from "zod";
7747
- var DTODocumentationPageDependencies = z262.object({
7748
- id: z262.string(),
7749
- designSystemVersionId: z262.string(),
7750
- createdAt: z262.coerce.date(),
7751
- updatedAt: z262.coerce.date(),
7752
- documentationPageId: z262.string(),
7753
- tokenPersistentIds: z262.array(z262.string()),
7754
- figmaComponentPersistentIds: z262.array(z262.string()),
7755
- componentPersistentIds: z262.array(z262.string()),
7756
- figmaNodePersistentIds: z262.array(z262.string()),
7757
- groupPersistentIds: z262.array(z262.string()),
7758
- propertyPersistentIds: z262.array(z262.string()),
7759
- themePersistentIds: z262.array(z262.string()),
7760
- documentationPagePersistentIds: z262.array(z262.string()),
7761
- storybookEntriesStoryIds: z262.array(z262.string())
7762
- });
7763
- var DTODocumentationPageDependenciesGetResponse = z262.object({
7764
- dependencies: z262.array(DTODocumentationPageDependencies)
7763
+ import { z as z263 } from "zod";
7764
+ var DTODocumentationPageDependencies = z263.object({
7765
+ id: z263.string(),
7766
+ designSystemVersionId: z263.string(),
7767
+ createdAt: z263.coerce.date(),
7768
+ updatedAt: z263.coerce.date(),
7769
+ documentationPageId: z263.string(),
7770
+ tokenPersistentIds: z263.array(z263.string()),
7771
+ figmaComponentPersistentIds: z263.array(z263.string()),
7772
+ componentPersistentIds: z263.array(z263.string()),
7773
+ figmaNodePersistentIds: z263.array(z263.string()),
7774
+ groupPersistentIds: z263.array(z263.string()),
7775
+ propertyPersistentIds: z263.array(z263.string()),
7776
+ themePersistentIds: z263.array(z263.string()),
7777
+ documentationPagePersistentIds: z263.array(z263.string()),
7778
+ storybookEntriesStoryIds: z263.array(z263.string())
7779
+ });
7780
+ var DTODocumentationPageDependenciesGetResponse = z263.object({
7781
+ dependencies: z263.array(DTODocumentationPageDependencies)
7765
7782
  });
7766
7783
 
7767
7784
  // src/api/dto/elements/documentation/page-v1.ts
7768
- import { z as z263 } from "zod";
7785
+ import { z as z264 } from "zod";
7769
7786
  var DocumentationPageV1DTO = DocumentationPageV1.omit({
7770
7787
  data: true,
7771
7788
  meta: true,
@@ -7773,81 +7790,81 @@ var DocumentationPageV1DTO = DocumentationPageV1.omit({
7773
7790
  sortOrder: true
7774
7791
  }).extend({
7775
7792
  configuration: DTODocumentationItemConfigurationV1,
7776
- blocks: z263.array(PageBlockV1),
7777
- title: z263.string(),
7778
- path: z263.string()
7793
+ blocks: z264.array(PageBlockV1),
7794
+ title: z264.string(),
7795
+ path: z264.string()
7779
7796
  });
7780
7797
 
7781
7798
  // src/api/dto/elements/documentation/settings.ts
7782
- import { z as z264 } from "zod";
7783
- var DTODocumentationSettings = z264.object({
7784
- isDraftFeatureAdopted: z264.boolean(),
7785
- isApprovalsFeatureEnabled: z264.boolean(),
7786
- isApprovalRequiredForPublishing: z264.boolean()
7799
+ import { z as z265 } from "zod";
7800
+ var DTODocumentationSettings = z265.object({
7801
+ isDraftFeatureAdopted: z265.boolean(),
7802
+ isApprovalsFeatureEnabled: z265.boolean(),
7803
+ isApprovalRequiredForPublishing: z265.boolean()
7787
7804
  });
7788
7805
 
7789
7806
  // src/api/dto/elements/documentation/structure.ts
7790
- import { z as z265 } from "zod";
7791
- var DTODocumentationStructureItemType = z265.enum(["Group", "Page"]);
7792
- var DTODocumentationStructureItemBase = z265.object({
7807
+ import { z as z266 } from "zod";
7808
+ var DTODocumentationStructureItemType = z266.enum(["Group", "Page"]);
7809
+ var DTODocumentationStructureItemBase = z266.object({
7793
7810
  type: DTODocumentationStructureItemType,
7794
- id: z265.string(),
7795
- designSystemVersionId: z265.string(),
7796
- shortPersistentId: z265.string(),
7797
- persistentId: z265.string(),
7798
- title: z265.string(),
7799
- createdAt: z265.coerce.date(),
7800
- updatedAt: z265.coerce.date()
7811
+ id: z266.string(),
7812
+ designSystemVersionId: z266.string(),
7813
+ shortPersistentId: z266.string(),
7814
+ persistentId: z266.string(),
7815
+ title: z266.string(),
7816
+ createdAt: z266.coerce.date(),
7817
+ updatedAt: z266.coerce.date()
7801
7818
  });
7802
7819
  var DTODocumentationStructureGroupItem = DTODocumentationStructureItemBase.extend({
7803
- type: z265.literal(DTODocumentationStructureItemType.enum.Group),
7804
- groupBehavior: z265.string(),
7805
- childrenIds: z265.string().array(),
7806
- isRoot: z265.boolean()
7820
+ type: z266.literal(DTODocumentationStructureItemType.enum.Group),
7821
+ groupBehavior: z266.string(),
7822
+ childrenIds: z266.string().array(),
7823
+ isRoot: z266.boolean()
7807
7824
  });
7808
7825
  var DTODocumentationStructurePageItem = DTODocumentationStructureItemBase.extend({
7809
- type: z265.literal(DTODocumentationStructureItemType.enum.Page),
7810
- path: z265.string()
7826
+ type: z266.literal(DTODocumentationStructureItemType.enum.Page),
7827
+ path: z266.string()
7811
7828
  });
7812
- var DTODocumentationStructureItem = z265.discriminatedUnion("type", [
7829
+ var DTODocumentationStructureItem = z266.discriminatedUnion("type", [
7813
7830
  DTODocumentationStructureGroupItem,
7814
7831
  DTODocumentationStructurePageItem
7815
7832
  ]);
7816
- var DTODocumentationStructure = z265.object({
7817
- items: z265.array(DTODocumentationStructureItem)
7833
+ var DTODocumentationStructure = z266.object({
7834
+ items: z266.array(DTODocumentationStructureItem)
7818
7835
  });
7819
7836
 
7820
7837
  // src/api/dto/elements/figma-nodes/figma-node-structure.ts
7821
- import { z as z266 } from "zod";
7822
- var DTOFigmaNodeStructure = z266.object({
7823
- id: z266.string(),
7824
- sourceId: z266.string(),
7838
+ import { z as z267 } from "zod";
7839
+ var DTOFigmaNodeStructure = z267.object({
7840
+ id: z267.string(),
7841
+ sourceId: z267.string(),
7825
7842
  importState: FigmaNodeStructureStateV2,
7826
- createdAt: z266.coerce.date(),
7827
- updatedAt: z266.coerce.date()
7843
+ createdAt: z267.coerce.date(),
7844
+ updatedAt: z267.coerce.date()
7828
7845
  });
7829
7846
  var DTOFigmaNodeStructureDetail = DTOFigmaNodeStructure.extend({
7830
7847
  rootNode: FigmaFileStructureNode
7831
7848
  });
7832
- var DTOFigmaNodeStructureListResponse = z266.object({
7849
+ var DTOFigmaNodeStructureListResponse = z267.object({
7833
7850
  structures: DTOFigmaNodeStructure.array()
7834
7851
  });
7835
- var DTOFigmaNodeStructureDetailResponse = z266.object({
7852
+ var DTOFigmaNodeStructureDetailResponse = z267.object({
7836
7853
  structure: DTOFigmaNodeStructureDetail
7837
7854
  });
7838
7855
 
7839
7856
  // src/api/dto/elements/figma-nodes/figma-node-v1.ts
7840
- import { z as z268 } from "zod";
7857
+ import { z as z269 } from "zod";
7841
7858
 
7842
7859
  // src/api/dto/elements/figma-nodes/figma-node.ts
7843
- import { z as z267 } from "zod";
7860
+ import { z as z268 } from "zod";
7844
7861
  var DTOFigmaNodeRenderFormat = FigmaNodeRenderFormat;
7845
- var DTOFigmaNodeOrigin = z267.object({
7846
- sourceId: z267.string(),
7847
- fileId: z267.string().optional(),
7848
- parentName: z267.string().optional()
7862
+ var DTOFigmaNodeOrigin = z268.object({
7863
+ sourceId: z268.string(),
7864
+ fileId: z268.string().optional(),
7865
+ parentName: z268.string().optional()
7849
7866
  });
7850
- var DTOFigmaNodeRenderInputBase = z267.object({
7867
+ var DTOFigmaNodeRenderInputBase = z268.object({
7851
7868
  /**
7852
7869
  * Format in which the node must be rendered, png by default.
7853
7870
  */
@@ -7855,57 +7872,57 @@ var DTOFigmaNodeRenderInputBase = z267.object({
7855
7872
  /**
7856
7873
  * Scale to apply to PNG images, can be between 1 and 4. Scale is ignored for other image formats.
7857
7874
  */
7858
- scale: z267.number().optional()
7875
+ scale: z268.number().optional()
7859
7876
  });
7860
7877
  var DTOFigmaNodeRenderIdInput = DTOFigmaNodeRenderInputBase.extend({
7861
- inputType: z267.literal("NodeId").optional().transform((v) => v ?? "NodeId"),
7878
+ inputType: z268.literal("NodeId").optional().transform((v) => v ?? "NodeId"),
7862
7879
  /**
7863
7880
  * Id of a design system's data source representing a linked Figma file
7864
7881
  */
7865
- sourceId: z267.string(),
7882
+ sourceId: z268.string(),
7866
7883
  /**
7867
7884
  * Id of a node within the Figma file
7868
7885
  */
7869
- figmaFileNodeId: z267.string()
7886
+ figmaFileNodeId: z268.string()
7870
7887
  });
7871
7888
  var DTOFigmaNodeRenderUrlInput = DTOFigmaNodeRenderInputBase.extend({
7872
- inputType: z267.literal("URL"),
7889
+ inputType: z268.literal("URL"),
7873
7890
  /**
7874
7891
  * Id of a design system's data source representing a linked Figma file
7875
7892
  */
7876
- figmaNodeUrl: z267.string(),
7893
+ figmaNodeUrl: z268.string(),
7877
7894
  /**
7878
7895
  * Brand persistent id to use in case a source has to be created for this render
7879
7896
  */
7880
- brandPersistentId: z267.string()
7897
+ brandPersistentId: z268.string()
7881
7898
  });
7882
- var DTOFigmaNodeRerenderInput = z267.object({
7883
- inputType: z267.literal("Rerender"),
7899
+ var DTOFigmaNodeRerenderInput = z268.object({
7900
+ inputType: z268.literal("Rerender"),
7884
7901
  /**
7885
7902
  * Persistent ID of an existing Figma node
7886
7903
  */
7887
- figmaNodePersistentId: z267.string()
7904
+ figmaNodePersistentId: z268.string()
7888
7905
  });
7889
- var DTOFigmaNodeRenderInput = z267.discriminatedUnion("inputType", [
7906
+ var DTOFigmaNodeRenderInput = z268.discriminatedUnion("inputType", [
7890
7907
  DTOFigmaNodeRenderIdInput,
7891
7908
  DTOFigmaNodeRenderUrlInput,
7892
7909
  DTOFigmaNodeRerenderInput
7893
7910
  ]);
7894
7911
 
7895
7912
  // src/api/dto/elements/figma-nodes/figma-node-v1.ts
7896
- var DTOFigmaNodeData = z268.object({
7913
+ var DTOFigmaNodeData = z269.object({
7897
7914
  // Id of the node in the Figma file
7898
- figmaNodeId: z268.string(),
7915
+ figmaNodeId: z269.string(),
7899
7916
  // Validity
7900
- isValid: z268.boolean(),
7917
+ isValid: z269.boolean(),
7901
7918
  // Asset data
7902
- assetId: z268.string(),
7903
- assetUrl: z268.string(),
7919
+ assetId: z269.string(),
7920
+ assetUrl: z269.string(),
7904
7921
  assetFormat: DTOFigmaNodeRenderFormat,
7905
7922
  // Asset metadata
7906
- assetScale: z268.number(),
7907
- assetWidth: z268.number().optional(),
7908
- assetHeight: z268.number().optional()
7923
+ assetScale: z269.number(),
7924
+ assetWidth: z269.number().optional(),
7925
+ assetHeight: z269.number().optional()
7909
7926
  });
7910
7927
  var DTOFigmaNode = FigmaNodeReference.omit({
7911
7928
  data: true,
@@ -7916,15 +7933,15 @@ var DTOFigmaNode = FigmaNodeReference.omit({
7916
7933
  });
7917
7934
 
7918
7935
  // src/api/dto/elements/figma-nodes/figma-node-v2.ts
7919
- import { z as z269 } from "zod";
7920
- var DTOFigmaNodeDataV2 = z269.object({
7921
- sceneNodeId: z269.string(),
7936
+ import { z as z270 } from "zod";
7937
+ var DTOFigmaNodeDataV2 = z270.object({
7938
+ sceneNodeId: z270.string(),
7922
7939
  format: FigmaNodeRenderFormat,
7923
- scale: z269.number().optional(),
7940
+ scale: z270.number().optional(),
7924
7941
  renderState: FigmaNodeRenderState,
7925
7942
  renderedImage: FigmaNodeRenderedImage.optional(),
7926
7943
  renderError: FigmaNodeRenderError.optional(),
7927
- hasSource: z269.boolean()
7944
+ hasSource: z270.boolean()
7928
7945
  });
7929
7946
  var DTOFigmaNodeV2 = FigmaNodeReference.omit({
7930
7947
  data: true,
@@ -7935,113 +7952,113 @@ var DTOFigmaNodeV2 = FigmaNodeReference.omit({
7935
7952
  });
7936
7953
 
7937
7954
  // src/api/dto/elements/figma-nodes/node-actions-v2.ts
7938
- import { z as z270 } from "zod";
7939
- var DTOFigmaNodeRenderActionOutput = z270.object({
7940
- type: z270.literal("FigmaNodeRender"),
7941
- figmaNodes: z270.array(DTOFigmaNode)
7955
+ import { z as z271 } from "zod";
7956
+ var DTOFigmaNodeRenderActionOutput = z271.object({
7957
+ type: z271.literal("FigmaNodeRender"),
7958
+ figmaNodes: z271.array(DTOFigmaNode)
7942
7959
  });
7943
- var DTOFigmaNodeRenderAsyncActionOutput = z270.object({
7944
- type: z270.literal("FigmaNodeRenderAsync"),
7945
- figmaNodes: z270.array(DTOFigmaNodeV2)
7960
+ var DTOFigmaNodeRenderAsyncActionOutput = z271.object({
7961
+ type: z271.literal("FigmaNodeRenderAsync"),
7962
+ figmaNodes: z271.array(DTOFigmaNodeV2)
7946
7963
  });
7947
- var DTOFigmaNodeRenderActionInput = z270.object({
7948
- type: z270.literal("FigmaNodeRender"),
7964
+ var DTOFigmaNodeRenderActionInput = z271.object({
7965
+ type: z271.literal("FigmaNodeRender"),
7949
7966
  input: DTOFigmaNodeRenderIdInput.array()
7950
7967
  });
7951
- var DTOFigmaNodeRenderAsyncActionInput = z270.object({
7952
- type: z270.literal("FigmaNodeRenderAsync"),
7968
+ var DTOFigmaNodeRenderAsyncActionInput = z271.object({
7969
+ type: z271.literal("FigmaNodeRenderAsync"),
7953
7970
  nodes: DTOFigmaNodeRenderInput.array()
7954
7971
  });
7955
7972
 
7956
7973
  // src/api/dto/elements/frame-node-structures/frame-node-structure.ts
7957
- import { z as z271 } from "zod";
7958
- var DTOFrameNodeStructure = z271.object({
7959
- id: z271.string(),
7960
- persistentId: z271.string(),
7961
- designSystemVersionId: z271.string(),
7974
+ import { z as z272 } from "zod";
7975
+ var DTOFrameNodeStructure = z272.object({
7976
+ id: z272.string(),
7977
+ persistentId: z272.string(),
7978
+ designSystemVersionId: z272.string(),
7962
7979
  origin: FigmaFileStructureOrigin,
7963
7980
  assetsInFile: FigmaFileStructureStatistics
7964
7981
  });
7965
- var DTOFrameNodeStructureListResponse = z271.object({
7982
+ var DTOFrameNodeStructureListResponse = z272.object({
7966
7983
  structures: DTOFrameNodeStructure.array()
7967
7984
  });
7968
7985
 
7969
7986
  // src/api/dto/elements/properties/property-definitions.ts
7970
- import { z as z272 } from "zod";
7987
+ import { z as z273 } from "zod";
7971
7988
  var CODE_NAME_REGEX2 = /^[a-zA-Z_$][a-zA-Z_$0-9-]{1,99}$/;
7972
- var DTOElementPropertyDefinitionOption = z272.object({
7973
- id: z272.string(),
7974
- name: z272.string(),
7989
+ var DTOElementPropertyDefinitionOption = z273.object({
7990
+ id: z273.string(),
7991
+ name: z273.string(),
7975
7992
  backgroundColor: DTOColorTokenInlineData.optional()
7976
7993
  });
7977
- var DTOElementPropertyDefinition = z272.object({
7978
- id: z272.string(),
7979
- designSystemVersionId: z272.string(),
7994
+ var DTOElementPropertyDefinition = z273.object({
7995
+ id: z273.string(),
7996
+ designSystemVersionId: z273.string(),
7980
7997
  meta: DTOObjectMeta,
7981
- persistentId: z272.string(),
7998
+ persistentId: z273.string(),
7982
7999
  type: ElementPropertyTypeSchema,
7983
8000
  targetElementType: ElementPropertyTargetType,
7984
- codeName: z272.string().regex(CODE_NAME_REGEX2),
7985
- options: nullishToOptional(z272.array(DTOElementPropertyDefinitionOption)),
8001
+ codeName: z273.string().regex(CODE_NAME_REGEX2),
8002
+ options: nullishToOptional(z273.array(DTOElementPropertyDefinitionOption)),
7986
8003
  linkElementType: nullishToOptional(ElementPropertyLinkType),
7987
- isImmutable: z272.boolean(),
8004
+ isImmutable: z273.boolean(),
7988
8005
  immutablePropertyType: ElementPropertyImmutableType.optional()
7989
8006
  });
7990
- var DTOElementPropertyDefinitionListResponse = z272.object({
7991
- definitions: z272.array(DTOElementPropertyDefinition)
8007
+ var DTOElementPropertyDefinitionListResponse = z273.object({
8008
+ definitions: z273.array(DTOElementPropertyDefinition)
7992
8009
  });
7993
- var DTOElementPropertyDefinitionResponse = z272.object({
8010
+ var DTOElementPropertyDefinitionResponse = z273.object({
7994
8011
  definition: DTOElementPropertyDefinition
7995
8012
  });
7996
- var DTOElementPropertyDefinitionCreatePayload = z272.object({
8013
+ var DTOElementPropertyDefinitionCreatePayload = z273.object({
7997
8014
  meta: DTOObjectMeta,
7998
- persistentId: z272.string(),
8015
+ persistentId: z273.string(),
7999
8016
  type: ElementPropertyTypeSchema,
8000
8017
  targetElementType: ElementPropertyTargetType,
8001
- codeName: z272.string().regex(CODE_NAME_REGEX2),
8002
- options: nullishToOptional(z272.array(DTOElementPropertyDefinitionOption)),
8018
+ codeName: z273.string().regex(CODE_NAME_REGEX2),
8019
+ options: nullishToOptional(z273.array(DTOElementPropertyDefinitionOption)),
8003
8020
  linkElementType: nullishToOptional(ElementPropertyLinkType),
8004
- columnWidth: z272.number().max(1024).optional()
8021
+ columnWidth: z273.number().max(1024).optional()
8005
8022
  });
8006
- var DTOElementPropertyDefinitionUpdatePayload = z272.object({
8023
+ var DTOElementPropertyDefinitionUpdatePayload = z273.object({
8007
8024
  meta: DTOObjectMeta.optional(),
8008
- codeName: z272.string().regex(CODE_NAME_REGEX2).optional(),
8009
- options: z272.array(DTOElementPropertyDefinitionOption).optional()
8025
+ codeName: z273.string().regex(CODE_NAME_REGEX2).optional(),
8026
+ options: z273.array(DTOElementPropertyDefinitionOption).optional()
8010
8027
  });
8011
8028
 
8012
8029
  // src/api/dto/elements/properties/property-values.ts
8013
- import { z as z273 } from "zod";
8014
- var DTOElementPropertyValue = z273.object({
8015
- id: z273.string(),
8016
- designSystemVersionId: z273.string(),
8017
- definitionId: z273.string(),
8018
- targetElementId: z273.string(),
8019
- value: z273.union([z273.string(), z273.number(), z273.boolean()]).optional(),
8020
- valuePreview: z273.string().optional()
8021
- });
8022
- var DTOElementPropertyValueListResponse = z273.object({
8023
- values: z273.array(DTOElementPropertyValue)
8024
- });
8025
- var DTOElementPropertyValueResponse = z273.object({
8030
+ import { z as z274 } from "zod";
8031
+ var DTOElementPropertyValue = z274.object({
8032
+ id: z274.string(),
8033
+ designSystemVersionId: z274.string(),
8034
+ definitionId: z274.string(),
8035
+ targetElementId: z274.string(),
8036
+ value: z274.union([z274.string(), z274.number(), z274.boolean()]).optional(),
8037
+ valuePreview: z274.string().optional()
8038
+ });
8039
+ var DTOElementPropertyValueListResponse = z274.object({
8040
+ values: z274.array(DTOElementPropertyValue)
8041
+ });
8042
+ var DTOElementPropertyValueResponse = z274.object({
8026
8043
  value: DTOElementPropertyValue
8027
8044
  });
8028
- var DTOElementPropertyValuesEditActionOutput = z273.object({
8029
- type: z273.literal("ElementPropertyValuesEdit"),
8030
- output: z273.object({ success: z273.literal(true) })
8045
+ var DTOElementPropertyValuesEditActionOutput = z274.object({
8046
+ type: z274.literal("ElementPropertyValuesEdit"),
8047
+ output: z274.object({ success: z274.literal(true) })
8031
8048
  });
8032
- var DTOElementPropertyValueUpsertPaylod = z273.object({
8033
- definitionId: z273.string(),
8034
- targetElementId: z273.string(),
8035
- value: z273.string().or(z273.number()).or(z273.boolean()).nullable()
8049
+ var DTOElementPropertyValueUpsertPaylod = z274.object({
8050
+ definitionId: z274.string(),
8051
+ targetElementId: z274.string(),
8052
+ value: z274.string().or(z274.number()).or(z274.boolean()).nullable()
8036
8053
  });
8037
- var DTOElementPropertyValuesEditActionInput = z273.object({
8038
- type: z273.literal("ElementPropertyValuesEdit"),
8054
+ var DTOElementPropertyValuesEditActionInput = z274.object({
8055
+ type: z274.literal("ElementPropertyValuesEdit"),
8039
8056
  values: DTOElementPropertyValueUpsertPaylod.array()
8040
8057
  });
8041
8058
 
8042
8059
  // src/api/dto/elements/elements-action-v2.ts
8043
- import { z as z274 } from "zod";
8044
- var DTOElementActionOutput = z274.discriminatedUnion("type", [
8060
+ import { z as z275 } from "zod";
8061
+ var DTOElementActionOutput = z275.discriminatedUnion("type", [
8045
8062
  // Documentation pages
8046
8063
  DTODocumentationPageCreateActionOutputV2,
8047
8064
  DTODocumentationPageUpdateActionOutputV2,
@@ -8068,7 +8085,7 @@ var DTOElementActionOutput = z274.discriminatedUnion("type", [
8068
8085
  // Element properties
8069
8086
  DTOElementPropertyValuesEditActionOutput
8070
8087
  ]);
8071
- var DTOElementActionInput = z274.discriminatedUnion("type", [
8088
+ var DTOElementActionInput = z275.discriminatedUnion("type", [
8072
8089
  // Documentation pages
8073
8090
  DTODocumentationPageCreateActionInputV2,
8074
8091
  DTODocumentationPageUpdateActionInputV2,
@@ -8095,90 +8112,90 @@ var DTOElementActionInput = z274.discriminatedUnion("type", [
8095
8112
  // Element properties
8096
8113
  DTOElementPropertyValuesEditActionInput
8097
8114
  ]).and(
8098
- z274.object({
8099
- tId: z274.string().optional()
8115
+ z275.object({
8116
+ tId: z275.string().optional()
8100
8117
  })
8101
8118
  );
8102
8119
 
8103
8120
  // src/api/dto/elements/get-elements-v2.ts
8104
- import { z as z275 } from "zod";
8105
- var DTOElementsGetTypeFilter = z275.enum(["FigmaNode"]);
8106
- var DTOElementsGetQuerySchema = z275.object({
8107
- types: z275.string().transform((val) => val.split(",").map((v) => DTOElementsGetTypeFilter.parse(v))),
8108
- responseVersion: z275.coerce.number().default(1)
8121
+ import { z as z276 } from "zod";
8122
+ var DTOElementsGetTypeFilter = z276.enum(["FigmaNode"]);
8123
+ var DTOElementsGetQuerySchema = z276.object({
8124
+ types: z276.string().transform((val) => val.split(",").map((v) => DTOElementsGetTypeFilter.parse(v))),
8125
+ responseVersion: z276.coerce.number().default(1)
8109
8126
  });
8110
- var DTOElementsGetOutput = z275.object({
8111
- figmaNodes: z275.array(DTOFigmaNode).optional()
8127
+ var DTOElementsGetOutput = z276.object({
8128
+ figmaNodes: z276.array(DTOFigmaNode).optional()
8112
8129
  });
8113
- var DTOElementsGetOutputV2 = z275.object({
8114
- figmaNodes: z275.array(DTOFigmaNodeV2).optional()
8130
+ var DTOElementsGetOutputV2 = z276.object({
8131
+ figmaNodes: z276.array(DTOFigmaNodeV2).optional()
8115
8132
  });
8116
8133
 
8117
8134
  // src/api/dto/figma-components/assets/download.ts
8118
- import { z as z276 } from "zod";
8119
- var DTOAssetRenderConfiguration = z276.object({
8120
- prefix: z276.string().optional(),
8121
- suffix: z276.string().optional(),
8122
- scale: z276.enum(["x1", "x2", "x3", "x4"]),
8123
- format: z276.enum(["png", "pdf", "svg"])
8124
- });
8125
- var DTORenderedAssetFile = z276.object({
8126
- assetId: z276.string(),
8127
- fileName: z276.string(),
8128
- sourceUrl: z276.string(),
8135
+ import { z as z277 } from "zod";
8136
+ var DTOAssetRenderConfiguration = z277.object({
8137
+ prefix: z277.string().optional(),
8138
+ suffix: z277.string().optional(),
8139
+ scale: z277.enum(["x1", "x2", "x3", "x4"]),
8140
+ format: z277.enum(["png", "pdf", "svg"])
8141
+ });
8142
+ var DTORenderedAssetFile = z277.object({
8143
+ assetId: z277.string(),
8144
+ fileName: z277.string(),
8145
+ sourceUrl: z277.string(),
8129
8146
  settings: DTOAssetRenderConfiguration,
8130
- originalName: z276.string()
8147
+ originalName: z277.string()
8131
8148
  });
8132
- var DTODownloadAssetsRequest = z276.object({
8133
- persistentIds: z276.array(z276.string().uuid()).optional(),
8149
+ var DTODownloadAssetsRequest = z277.object({
8150
+ persistentIds: z277.array(z277.string().uuid()).optional(),
8134
8151
  settings: DTOAssetRenderConfiguration.array()
8135
8152
  });
8136
- var DTODownloadAssetsResponse = z276.object({
8153
+ var DTODownloadAssetsResponse = z277.object({
8137
8154
  items: DTORenderedAssetFile.array()
8138
8155
  });
8139
8156
 
8140
8157
  // src/api/dto/liveblocks/auth-response.ts
8141
- import { z as z277 } from "zod";
8142
- var DTOLiveblocksAuthResponse = z277.object({
8143
- token: z277.string()
8158
+ import { z as z278 } from "zod";
8159
+ var DTOLiveblocksAuthResponse = z278.object({
8160
+ token: z278.string()
8144
8161
  });
8145
8162
 
8146
8163
  // src/api/dto/themes/override.ts
8147
- import { z as z278 } from "zod";
8164
+ import { z as z279 } from "zod";
8148
8165
  var DTOThemeOverride = DesignTokenTypedData.and(
8149
- z278.object({
8150
- tokenPersistentId: z278.string(),
8166
+ z279.object({
8167
+ tokenPersistentId: z279.string(),
8151
8168
  origin: ThemeOverrideOrigin.optional()
8152
8169
  })
8153
8170
  );
8154
8171
  var DTOThemeOverrideCreatePayload = DesignTokenTypedData.and(
8155
- z278.object({
8156
- tokenPersistentId: z278.string()
8172
+ z279.object({
8173
+ tokenPersistentId: z279.string()
8157
8174
  })
8158
8175
  );
8159
8176
 
8160
8177
  // src/api/dto/themes/theme.ts
8161
- import { z as z279 } from "zod";
8162
- var DTOTheme = z279.object({
8163
- id: z279.string(),
8164
- persistentId: z279.string(),
8165
- designSystemVersionId: z279.string(),
8166
- brandId: z279.string(),
8178
+ import { z as z280 } from "zod";
8179
+ var DTOTheme = z280.object({
8180
+ id: z280.string(),
8181
+ persistentId: z280.string(),
8182
+ designSystemVersionId: z280.string(),
8183
+ brandId: z280.string(),
8167
8184
  meta: ObjectMeta,
8168
- codeName: z279.string(),
8185
+ codeName: z280.string(),
8169
8186
  overrides: DTOThemeOverride.array()
8170
8187
  });
8171
- var DTOThemeResponse = z279.object({
8188
+ var DTOThemeResponse = z280.object({
8172
8189
  theme: DTOTheme
8173
8190
  });
8174
- var DTOThemeListResponse = z279.object({
8191
+ var DTOThemeListResponse = z280.object({
8175
8192
  themes: DTOTheme.array()
8176
8193
  });
8177
- var DTOThemeCreatePayload = z279.object({
8194
+ var DTOThemeCreatePayload = z280.object({
8178
8195
  meta: ObjectMeta,
8179
- persistentId: z279.string(),
8180
- brandId: z279.string(),
8181
- codeName: z279.string(),
8196
+ persistentId: z280.string(),
8197
+ brandId: z280.string(),
8198
+ codeName: z280.string(),
8182
8199
  overrides: DTOThemeOverride.array()
8183
8200
  });
8184
8201
 
@@ -8414,13 +8431,13 @@ var ExportersEndpoint = class {
8414
8431
  };
8415
8432
 
8416
8433
  // src/api/endpoints/codegen/jobs.ts
8417
- import { z as z280 } from "zod";
8434
+ import { z as z281 } from "zod";
8418
8435
  var ExporterJobsEndpoint = class {
8419
8436
  constructor(requestExecutor) {
8420
8437
  this.requestExecutor = requestExecutor;
8421
8438
  }
8422
8439
  list(workspaceId) {
8423
- return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/jobs`, z280.any());
8440
+ return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/jobs`, z281.any());
8424
8441
  }
8425
8442
  get(workspaceId, jobId) {
8426
8443
  return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/jobs/${jobId}`, DTOExportJobResponseLegacy);
@@ -8478,7 +8495,7 @@ var CodegenEndpoint = class {
8478
8495
  };
8479
8496
 
8480
8497
  // src/api/endpoints/design-system/versions/brands.ts
8481
- import { z as z281 } from "zod";
8498
+ import { z as z282 } from "zod";
8482
8499
  var BrandsEndpoint = class {
8483
8500
  constructor(requestExecutor) {
8484
8501
  this.requestExecutor = requestExecutor;
@@ -8512,7 +8529,7 @@ var BrandsEndpoint = class {
8512
8529
  });
8513
8530
  }
8514
8531
  delete(dsId, vId, brandId) {
8515
- return this.requestExecutor.json(`/design-systems/${dsId}/versions/${vId}/brands/${brandId}`, z281.any(), {
8532
+ return this.requestExecutor.json(`/design-systems/${dsId}/versions/${vId}/brands/${brandId}`, z282.any(), {
8516
8533
  method: "DELETE"
8517
8534
  });
8518
8535
  }
@@ -8589,6 +8606,16 @@ var DocumentationEndpoint = class {
8589
8606
  DTOGetBlockDefinitionsOutput
8590
8607
  );
8591
8608
  }
8609
+ async publish(dsId, vId, body) {
8610
+ return await this.requestExecutor.json(
8611
+ `/design-systems/${dsId}/versions/${vId}/documentation/publish`,
8612
+ DTOPublishDocumentationResponse,
8613
+ {
8614
+ method: "POST",
8615
+ body
8616
+ }
8617
+ );
8618
+ }
8592
8619
  };
8593
8620
 
8594
8621
  // src/api/endpoints/design-system/versions/ds-components.ts
@@ -8735,7 +8762,7 @@ var ImportJobsEndpoint = class {
8735
8762
  };
8736
8763
 
8737
8764
  // src/api/endpoints/design-system/versions/overrides.ts
8738
- import { z as z282 } from "zod";
8765
+ import { z as z283 } from "zod";
8739
8766
  var OverridesEndpoint = class {
8740
8767
  constructor(requestExecutor) {
8741
8768
  this.requestExecutor = requestExecutor;
@@ -8743,7 +8770,7 @@ var OverridesEndpoint = class {
8743
8770
  create(dsId, versionId, themeId, body) {
8744
8771
  return this.requestExecutor.json(
8745
8772
  `/design-systems/${dsId}/versions/${versionId}/themes/${themeId}/overrides`,
8746
- z282.any(),
8773
+ z283.any(),
8747
8774
  {
8748
8775
  method: "POST",
8749
8776
  body
@@ -8753,7 +8780,7 @@ var OverridesEndpoint = class {
8753
8780
  };
8754
8781
 
8755
8782
  // src/api/endpoints/design-system/versions/property-definitions.ts
8756
- import { z as z283 } from "zod";
8783
+ import { z as z284 } from "zod";
8757
8784
  var ElementPropertyDefinitionsEndpoint = class {
8758
8785
  constructor(requestExecutor) {
8759
8786
  this.requestExecutor = requestExecutor;
@@ -8781,7 +8808,7 @@ var ElementPropertyDefinitionsEndpoint = class {
8781
8808
  delete(designSystemId, versionId, defId) {
8782
8809
  return this.requestExecutor.json(
8783
8810
  `/design-systems/${designSystemId}/versions/${versionId}/element-properties/definitions/${defId}`,
8784
- z283.any(),
8811
+ z284.any(),
8785
8812
  { method: "DELETE" }
8786
8813
  );
8787
8814
  }
@@ -8820,7 +8847,7 @@ var VersionStatsEndpoint = class {
8820
8847
  };
8821
8848
 
8822
8849
  // src/api/endpoints/design-system/versions/themes.ts
8823
- import { z as z284 } from "zod";
8850
+ import { z as z285 } from "zod";
8824
8851
  var ThemesEndpoint = class {
8825
8852
  constructor(requestExecutor) {
8826
8853
  this.requestExecutor = requestExecutor;
@@ -8843,7 +8870,7 @@ var ThemesEndpoint = class {
8843
8870
  });
8844
8871
  }
8845
8872
  delete(dsId, versionId, themeId) {
8846
- return this.requestExecutor.json(`/design-systems/${dsId}/versions/${versionId}/themes/${themeId}`, z284.any(), {
8873
+ return this.requestExecutor.json(`/design-systems/${dsId}/versions/${versionId}/themes/${themeId}`, z285.any(), {
8847
8874
  method: "DELETE"
8848
8875
  });
8849
8876
  }
@@ -9012,7 +9039,7 @@ var DesignSystemContactsEndpoint = class {
9012
9039
  };
9013
9040
 
9014
9041
  // src/api/endpoints/design-system/design-systems.ts
9015
- import { z as z288 } from "zod";
9042
+ import { z as z289 } from "zod";
9016
9043
 
9017
9044
  // src/api/endpoints/design-system/figma-node-structures.ts
9018
9045
  var FigmaNodeStructuresEndpoint = class {
@@ -9089,7 +9116,7 @@ var DesignSystemPageRedirectsEndpoint = class {
9089
9116
  };
9090
9117
 
9091
9118
  // src/api/endpoints/design-system/sources.ts
9092
- import { z as z285 } from "zod";
9119
+ import { z as z286 } from "zod";
9093
9120
  var DesignSystemSourcesEndpoint = class {
9094
9121
  constructor(requestExecutor) {
9095
9122
  this.requestExecutor = requestExecutor;
@@ -9107,7 +9134,7 @@ var DesignSystemSourcesEndpoint = class {
9107
9134
  return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, DTODataSourceResponse);
9108
9135
  }
9109
9136
  delete(dsId, sourceId) {
9110
- return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, z285.any(), { method: "DELETE" });
9137
+ return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, z286.any(), { method: "DELETE" });
9111
9138
  }
9112
9139
  figmaImport(dsId, payload) {
9113
9140
  return this.requestExecutor.json(`/design-systems/${dsId}/versions/head/cloud-import`, DTOImportJobResponse, {
@@ -9138,7 +9165,7 @@ var DesignSystemSourcesEndpoint = class {
9138
9165
  };
9139
9166
 
9140
9167
  // src/api/endpoints/design-system/storybook.ts
9141
- import { z as z286 } from "zod";
9168
+ import { z as z287 } from "zod";
9142
9169
  var StorybookEntriesEndpoint = class {
9143
9170
  constructor(requestExecutor) {
9144
9171
  this.requestExecutor = requestExecutor;
@@ -9154,14 +9181,14 @@ var StorybookEntriesEndpoint = class {
9154
9181
  );
9155
9182
  }
9156
9183
  delete(dsId, entryId) {
9157
- return this.requestExecutor.json(`/design-systems/${dsId}/versions/head/storybook/${entryId}`, z286.any(), {
9184
+ return this.requestExecutor.json(`/design-systems/${dsId}/versions/head/storybook/${entryId}`, z287.any(), {
9158
9185
  method: "DELETE"
9159
9186
  });
9160
9187
  }
9161
9188
  };
9162
9189
 
9163
9190
  // src/api/endpoints/design-system/storybook-hosting.ts
9164
- import { z as z287 } from "zod";
9191
+ import { z as z288 } from "zod";
9165
9192
  var StorybookHostingEndpoint = class {
9166
9193
  constructor(requestExecutor) {
9167
9194
  this.requestExecutor = requestExecutor;
@@ -9175,7 +9202,7 @@ var StorybookHostingEndpoint = class {
9175
9202
  delete(dsId, storybookUploadId) {
9176
9203
  return this.requestExecutor.json(
9177
9204
  `/design-systems/${dsId}/storybook/${storybookUploadId}`,
9178
- z287.object({ ok: z287.boolean() }),
9205
+ z288.object({ ok: z288.boolean() }),
9179
9206
  {
9180
9207
  method: "DELETE"
9181
9208
  }
@@ -9233,7 +9260,7 @@ var DesignSystemsEndpoint = class {
9233
9260
  return this.requestExecutor.json(`/design-systems/${dsId}`, DTODesignSystemResponse);
9234
9261
  }
9235
9262
  delete(dsId) {
9236
- return this.requestExecutor.json(`/design-systems/${dsId}`, z288.any(), { method: "DELETE" });
9263
+ return this.requestExecutor.json(`/design-systems/${dsId}`, z289.any(), { method: "DELETE" });
9237
9264
  }
9238
9265
  update(dsId, body) {
9239
9266
  return this.requestExecutor.json(`/design-systems/${dsId}`, DTODesignSystemResponse, {
@@ -9250,7 +9277,7 @@ var DesignSystemsEndpoint = class {
9250
9277
  };
9251
9278
 
9252
9279
  // src/api/endpoints/workspaces/integrations.ts
9253
- import { z as z289 } from "zod";
9280
+ import { z as z290 } from "zod";
9254
9281
  var WorkspaceIntegrationsEndpoint = class {
9255
9282
  constructor(requestExecutor) {
9256
9283
  this.requestExecutor = requestExecutor;
@@ -9259,7 +9286,7 @@ var WorkspaceIntegrationsEndpoint = class {
9259
9286
  return this.requestExecutor.json(`/workspaces/${wsId}/integrations`, DTOIntegrationsGetListResponse);
9260
9287
  }
9261
9288
  delete(wsId, iId) {
9262
- return this.requestExecutor.json(`/workspaces/${wsId}/integrations/${iId}`, z289.unknown(), { method: "DELETE" });
9289
+ return this.requestExecutor.json(`/workspaces/${wsId}/integrations/${iId}`, z290.unknown(), { method: "DELETE" });
9263
9290
  }
9264
9291
  };
9265
9292
 
@@ -9291,7 +9318,7 @@ var WorkspaceInvitationsEndpoint = class {
9291
9318
  };
9292
9319
 
9293
9320
  // src/api/endpoints/workspaces/members.ts
9294
- import { z as z290 } from "zod";
9321
+ import { z as z291 } from "zod";
9295
9322
  var WorkspaceMembersEndpoint = class {
9296
9323
  constructor(requestExecutor) {
9297
9324
  this.requestExecutor = requestExecutor;
@@ -9308,7 +9335,7 @@ var WorkspaceMembersEndpoint = class {
9308
9335
  });
9309
9336
  }
9310
9337
  invite(workspaceId, body) {
9311
- return this.requestExecutor.json(`/workspaces/${workspaceId}/members`, z290.any(), { method: "POST", body });
9338
+ return this.requestExecutor.json(`/workspaces/${workspaceId}/members`, z291.any(), { method: "POST", body });
9312
9339
  }
9313
9340
  delete(workspaceId, userId) {
9314
9341
  return this.requestExecutor.json(`/workspaces/${workspaceId}/members/${userId}`, DTOWorkspaceResponse, {
@@ -9337,7 +9364,7 @@ var WorkspaceNpmRegistryEndpoint = class {
9337
9364
  };
9338
9365
 
9339
9366
  // src/api/endpoints/workspaces/workspaces.ts
9340
- import { z as z291 } from "zod";
9367
+ import { z as z292 } from "zod";
9341
9368
  var WorkspacesEndpoint = class {
9342
9369
  constructor(requestExecutor) {
9343
9370
  this.requestExecutor = requestExecutor;
@@ -9367,10 +9394,10 @@ var WorkspacesEndpoint = class {
9367
9394
  return this.requestExecutor.json(`/workspaces/${workspaceId}`, DTOWorkspaceResponse, { method: "GET" });
9368
9395
  }
9369
9396
  delete(workspaceId) {
9370
- return this.requestExecutor.json(`/workspaces/${workspaceId}`, z291.any(), { method: "DELETE" });
9397
+ return this.requestExecutor.json(`/workspaces/${workspaceId}`, z292.any(), { method: "DELETE" });
9371
9398
  }
9372
9399
  subscription(workspaceId) {
9373
- return this.requestExecutor.json(`/workspaces/${workspaceId}/subscription`, z291.any(), { method: "GET" });
9400
+ return this.requestExecutor.json(`/workspaces/${workspaceId}/subscription`, z292.any(), { method: "GET" });
9374
9401
  }
9375
9402
  transferOwnership(workspaceId, body) {
9376
9403
  return this.requestExecutor.json(`/workspaces/${workspaceId}/ownership`, DTOWorkspaceResponse, {
@@ -9470,9 +9497,9 @@ ${bodyText}`,
9470
9497
 
9471
9498
  // src/api/transport/request-executor.ts
9472
9499
  import fetch from "node-fetch";
9473
- import { z as z292 } from "zod";
9474
- var ResponseWrapper = z292.object({
9475
- result: z292.record(z292.any())
9500
+ import { z as z293 } from "zod";
9501
+ var ResponseWrapper = z293.object({
9502
+ result: z293.record(z293.any())
9476
9503
  });
9477
9504
  var RequestExecutor = class {
9478
9505
  constructor(testServerConfig) {
@@ -9546,31 +9573,31 @@ var SupernovaApiClient = class {
9546
9573
  };
9547
9574
 
9548
9575
  // src/events/design-system.ts
9549
- import { z as z293 } from "zod";
9550
- var DTOEventFigmaNodesRendered = z293.object({
9551
- type: z293.literal("DesignSystem.FigmaNodesRendered"),
9552
- designSystemId: z293.string(),
9553
- versionId: z293.string(),
9554
- figmaNodePersistentIds: z293.string().array()
9555
- });
9556
- var DTOEventDataSourcesImported = z293.object({
9557
- type: z293.literal("DesignSystem.ImportJobFinished"),
9558
- designSystemId: z293.string(),
9559
- versionId: z293.string(),
9560
- importJobId: z293.string(),
9576
+ import { z as z294 } from "zod";
9577
+ var DTOEventFigmaNodesRendered = z294.object({
9578
+ type: z294.literal("DesignSystem.FigmaNodesRendered"),
9579
+ designSystemId: z294.string(),
9580
+ versionId: z294.string(),
9581
+ figmaNodePersistentIds: z294.string().array()
9582
+ });
9583
+ var DTOEventDataSourcesImported = z294.object({
9584
+ type: z294.literal("DesignSystem.ImportJobFinished"),
9585
+ designSystemId: z294.string(),
9586
+ versionId: z294.string(),
9587
+ importJobId: z294.string(),
9561
9588
  dataSourceType: DataSourceRemoteType,
9562
- dataSourceIds: z293.string().array()
9589
+ dataSourceIds: z294.string().array()
9563
9590
  });
9564
9591
 
9565
9592
  // src/events/event.ts
9566
- import { z as z294 } from "zod";
9567
- var DTOEvent = z294.discriminatedUnion("type", [DTOEventDataSourcesImported, DTOEventFigmaNodesRendered]);
9593
+ import { z as z295 } from "zod";
9594
+ var DTOEvent = z295.discriminatedUnion("type", [DTOEventDataSourcesImported, DTOEventFigmaNodesRendered]);
9568
9595
 
9569
9596
  // src/sync/docs-structure-repo.ts
9570
9597
  import PQueue from "p-queue";
9571
9598
 
9572
9599
  // src/yjs/design-system-content/documentation-hierarchy.ts
9573
- import { z as z295 } from "zod";
9600
+ import { z as z296 } from "zod";
9574
9601
 
9575
9602
  // src/yjs/version-room/base.ts
9576
9603
  var VersionRoomBaseYDoc = class {
@@ -10120,24 +10147,24 @@ var FrontendVersionRoomYDoc = class {
10120
10147
  };
10121
10148
 
10122
10149
  // src/yjs/design-system-content/documentation-hierarchy.ts
10123
- var DocumentationHierarchySettings = z295.object({
10124
- routingVersion: z295.string(),
10125
- isDraftFeatureAdopted: z295.boolean(),
10126
- isApprovalFeatureEnabled: z295.boolean(),
10127
- approvalRequiredForPublishing: z295.boolean()
10150
+ var DocumentationHierarchySettings = z296.object({
10151
+ routingVersion: z296.string(),
10152
+ isDraftFeatureAdopted: z296.boolean(),
10153
+ isApprovalFeatureEnabled: z296.boolean(),
10154
+ approvalRequiredForPublishing: z296.boolean()
10128
10155
  });
10129
10156
  function yjsToDocumentationHierarchy(doc) {
10130
10157
  return new FrontendVersionRoomYDoc(doc).getDocumentationHierarchy();
10131
10158
  }
10132
10159
 
10133
10160
  // src/yjs/design-system-content/item-configuration.ts
10134
- import { z as z296 } from "zod";
10135
- var DTODocumentationPageRoomHeaderData = z296.object({
10136
- title: z296.string(),
10161
+ import { z as z297 } from "zod";
10162
+ var DTODocumentationPageRoomHeaderData = z297.object({
10163
+ title: z297.string(),
10137
10164
  configuration: DTODocumentationItemConfigurationV2
10138
10165
  });
10139
- var DTODocumentationPageRoomHeaderDataUpdate = z296.object({
10140
- title: z296.string().optional(),
10166
+ var DTODocumentationPageRoomHeaderDataUpdate = z297.object({
10167
+ title: z297.string().optional(),
10141
10168
  configuration: DTODocumentationItemConfigurationV2.omit({ header: true }).extend({ header: DocumentationItemHeaderV2.partial() }).optional()
10142
10169
  });
10143
10170
  function itemConfigurationToYjs(yDoc, item) {
@@ -10172,9 +10199,9 @@ var PageBlockEditorModel = PageBlockEditorModelV2;
10172
10199
  var PageSectionEditorModel = PageSectionEditorModelV2;
10173
10200
 
10174
10201
  // src/yjs/docs-editor/model/page.ts
10175
- import { z as z297 } from "zod";
10176
- var DocumentationPageEditorModel = z297.object({
10177
- blocks: z297.array(DocumentationPageContentItem)
10202
+ import { z as z298 } from "zod";
10203
+ var DocumentationPageEditorModel = z298.object({
10204
+ blocks: z298.array(DocumentationPageContentItem)
10178
10205
  });
10179
10206
 
10180
10207
  // src/yjs/docs-editor/prosemirror/inner-editor-schema.ts
@@ -13767,7 +13794,7 @@ var blocks = [
13767
13794
 
13768
13795
  // src/yjs/docs-editor/prosemirror-to-blocks.ts
13769
13796
  import { yXmlFragmentToProsemirrorJSON } from "y-prosemirror";
13770
- import { z as z298 } from "zod";
13797
+ import { z as z299 } from "zod";
13771
13798
  function yDocToPage(yDoc, definitions) {
13772
13799
  return yXmlFragmentToPage(yDoc.getXmlFragment("default"), definitions);
13773
13800
  }
@@ -13843,7 +13870,7 @@ function prosemirrorNodeToSectionItem(prosemirrorNode, definitionsMap) {
13843
13870
  if (!id) return null;
13844
13871
  return {
13845
13872
  id,
13846
- title: getProsemirrorAttribute(prosemirrorNode, "title", z298.string()) ?? "",
13873
+ title: getProsemirrorAttribute(prosemirrorNode, "title", z299.string()) ?? "",
13847
13874
  columns: (prosemirrorNode.content ?? []).filter((c) => c.type === "sectionItemColumn").map((c) => prosemirrorNodeToSectionColumns(c, definitionsMap)).filter(nonNullFilter)
13848
13875
  };
13849
13876
  }
@@ -13877,7 +13904,7 @@ function internalProsemirrorNodesToBlocks(prosemirrorNodes, definitionsMap, dept
13877
13904
  });
13878
13905
  }
13879
13906
  function internalProsemirrorNodeToBlock(prosemirrorNode, definitionsMap, depth) {
13880
- const definitionId = getProsemirrorAttribute(prosemirrorNode, "definitionId", z298.string());
13907
+ const definitionId = getProsemirrorAttribute(prosemirrorNode, "definitionId", z299.string());
13881
13908
  if (!definitionId) {
13882
13909
  console.warn(`definitionId on ${prosemirrorNode.type} is required to be interpreted as a block, skipping node`);
13883
13910
  return [];
@@ -13918,7 +13945,7 @@ function parseAsRichText(prosemirrorNode, definition, property) {
13918
13945
  const id = getProsemirrorBlockId(prosemirrorNode);
13919
13946
  if (!id) return null;
13920
13947
  const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
13921
- const calloutType = parseCalloutType(getProsemirrorAttribute(prosemirrorNode, "type", z298.string().optional()));
13948
+ const calloutType = parseCalloutType(getProsemirrorAttribute(prosemirrorNode, "type", z299.string().optional()));
13922
13949
  return {
13923
13950
  id,
13924
13951
  type: "Block",
@@ -14041,9 +14068,9 @@ function parseRichTextAttribute(mark) {
14041
14068
  return null;
14042
14069
  }
14043
14070
  function parseProsemirrorLink(mark) {
14044
- const href = getProsemirrorAttribute(mark, "href", z298.string().optional());
14071
+ const href = getProsemirrorAttribute(mark, "href", z299.string().optional());
14045
14072
  if (!href) return null;
14046
- const target = getProsemirrorAttribute(mark, "target", z298.string().optional());
14073
+ const target = getProsemirrorAttribute(mark, "target", z299.string().optional());
14047
14074
  const openInNewTab = target === "_blank";
14048
14075
  if (href.startsWith("@")) {
14049
14076
  return {
@@ -14062,9 +14089,9 @@ function parseProsemirrorLink(mark) {
14062
14089
  }
14063
14090
  }
14064
14091
  function parseProsemirrorCommentHighlight(mark) {
14065
- const highlightId = getProsemirrorAttribute(mark, "highlightId", z298.string().optional());
14092
+ const highlightId = getProsemirrorAttribute(mark, "highlightId", z299.string().optional());
14066
14093
  if (!highlightId) return null;
14067
- const isResolved = getProsemirrorAttribute(mark, "resolved", z298.boolean().optional()) ?? false;
14094
+ const isResolved = getProsemirrorAttribute(mark, "resolved", z299.boolean().optional()) ?? false;
14068
14095
  return {
14069
14096
  type: "Comment",
14070
14097
  commentHighlightId: highlightId,
@@ -14075,7 +14102,7 @@ function parseAsTable(prosemirrorNode, definition, property) {
14075
14102
  const id = getProsemirrorBlockId(prosemirrorNode);
14076
14103
  if (!id) return null;
14077
14104
  const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
14078
- const hasBorder = getProsemirrorAttribute(prosemirrorNode, "hasBorder", z298.boolean().optional()) !== false;
14105
+ const hasBorder = getProsemirrorAttribute(prosemirrorNode, "hasBorder", z299.boolean().optional()) !== false;
14079
14106
  const tableChild = prosemirrorNode.content?.find((c) => c.type === "table");
14080
14107
  if (!tableChild) {
14081
14108
  return emptyTable(id, variantId, 0);
@@ -14121,9 +14148,9 @@ function parseAsTable(prosemirrorNode, definition, property) {
14121
14148
  function parseAsTableCell(prosemirrorNode) {
14122
14149
  const id = getProsemirrorBlockId(prosemirrorNode);
14123
14150
  if (!id) return null;
14124
- const textAlign = getProsemirrorAttribute(prosemirrorNode, "textAlign", z298.string().optional());
14151
+ const textAlign = getProsemirrorAttribute(prosemirrorNode, "textAlign", z299.string().optional());
14125
14152
  let columnWidth;
14126
- const columnWidthArray = getProsemirrorAttribute(prosemirrorNode, "colwidth", z298.array(z298.number()).nullish());
14153
+ const columnWidthArray = getProsemirrorAttribute(prosemirrorNode, "colwidth", z299.array(z299.number()).nullish());
14127
14154
  if (columnWidthArray) {
14128
14155
  columnWidth = roundDimension(columnWidthArray[0]);
14129
14156
  }
@@ -14159,7 +14186,7 @@ function parseAsTableNode(prosemirrorNode) {
14159
14186
  value: parseRichText(prosemirrorNode.content ?? [])
14160
14187
  };
14161
14188
  case "image":
14162
- const items = getProsemirrorAttribute(prosemirrorNode, "items", z298.string());
14189
+ const items = getProsemirrorAttribute(prosemirrorNode, "items", z299.string());
14163
14190
  if (!items) return null;
14164
14191
  const parsedItems = PageBlockItemV2.array().safeParse(JSON.parse(items));
14165
14192
  if (!parsedItems.success) return null;
@@ -14273,7 +14300,7 @@ function definitionExpectsPlaceholderItem(definition) {
14273
14300
  );
14274
14301
  }
14275
14302
  function parseBlockItems(prosemirrorNode, definition) {
14276
- const itemsString = getProsemirrorAttribute(prosemirrorNode, "items", z298.string());
14303
+ const itemsString = getProsemirrorAttribute(prosemirrorNode, "items", z299.string());
14277
14304
  if (!itemsString) return null;
14278
14305
  const itemsJson = JSON.parse(itemsString);
14279
14306
  if (!Array.isArray(itemsJson)) {
@@ -14284,18 +14311,18 @@ function parseBlockItems(prosemirrorNode, definition) {
14284
14311
  }
14285
14312
  function parseAppearance(prosemirrorNode) {
14286
14313
  let appearance = {};
14287
- const rawAppearanceString = getProsemirrorAttribute(prosemirrorNode, "appearance", z298.string().optional());
14314
+ const rawAppearanceString = getProsemirrorAttribute(prosemirrorNode, "appearance", z299.string().optional());
14288
14315
  if (rawAppearanceString) {
14289
14316
  const parsedAppearance = PageBlockAppearanceV2.safeParse(JSON.parse(rawAppearanceString));
14290
14317
  if (parsedAppearance.success) {
14291
14318
  appearance = parsedAppearance.data;
14292
14319
  }
14293
14320
  }
14294
- const columns = getProsemirrorAttribute(prosemirrorNode, "columns", z298.number().optional());
14321
+ const columns = getProsemirrorAttribute(prosemirrorNode, "columns", z299.number().optional());
14295
14322
  if (columns) {
14296
14323
  appearance.numberOfColumns = columns;
14297
14324
  }
14298
- const backgroundColor = getProsemirrorAttribute(prosemirrorNode, "backgroundColor", z298.string().optional());
14325
+ const backgroundColor = getProsemirrorAttribute(prosemirrorNode, "backgroundColor", z299.string().optional());
14299
14326
  if (backgroundColor) {
14300
14327
  const parsedColor = PageBlockColorV2.safeParse(JSON.parse(backgroundColor));
14301
14328
  if (parsedColor.success) {
@@ -14394,12 +14421,12 @@ function valueSchemaForPropertyType(type) {
14394
14421
  }
14395
14422
  }
14396
14423
  function getProsemirrorBlockId(prosemirrorNode) {
14397
- const id = getProsemirrorAttribute(prosemirrorNode, "id", z298.string());
14424
+ const id = getProsemirrorAttribute(prosemirrorNode, "id", z299.string());
14398
14425
  if (!id) console.warn(`Prosemirror attribute "id" on ${prosemirrorNode.type} is required`);
14399
14426
  return id;
14400
14427
  }
14401
14428
  function getProsemirrorBlockVariantId(prosemirrorNode) {
14402
- return getProsemirrorAttribute(prosemirrorNode, "variantId", nullishToOptional(z298.string()));
14429
+ return getProsemirrorAttribute(prosemirrorNode, "variantId", nullishToOptional(z299.string()));
14403
14430
  }
14404
14431
  function getProsemirrorAttribute(prosemirrorNode, attributeName, validationSchema) {
14405
14432
  const parsedAttr = validationSchema.safeParse(prosemirrorNode.attrs?.[attributeName]);