@supernova-studio/client 1.9.12 → 1.9.14

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
@@ -199,6 +199,7 @@ import { z as z191 } from "zod";
199
199
  import { z as z192 } from "zod";
200
200
  import { z as z193 } from "zod";
201
201
  import { z as z194 } from "zod";
202
+ import { z as z195 } from "zod";
202
203
  var __defProp2 = Object.defineProperty;
203
204
  var __defNormalProp2 = (obj, key, value) => key in obj ? __defProp2(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
204
205
  var __publicField2 = (obj, key, value) => __defNormalProp2(obj, typeof key !== "symbol" ? key + "" : key, value);
@@ -4151,6 +4152,7 @@ var FigmaExporterProcessedStylesSchema = z123.object({
4151
4152
  ]).optional(),
4152
4153
  transform: z123.string().optional(),
4153
4154
  transformOrigin: z123.string().optional(),
4155
+ rotate: z123.string().optional(),
4154
4156
  clipPath: z123.string().optional(),
4155
4157
  color: z123.string().optional(),
4156
4158
  fontFamily: z123.string().optional(),
@@ -5472,18 +5474,29 @@ var NpmPackage = AnyRecord.and(
5472
5474
  var NpmProxyTokenPayload = z193.object({
5473
5475
  npmProxyRegistryConfigId: z193.string()
5474
5476
  });
5475
- var PersonalAccessToken = z194.object({
5477
+ var PortalSettingsTheme = nullishToOptional(UserTheme);
5478
+ var PortalSettings = z194.object({
5476
5479
  id: z194.string(),
5477
- userId: z194.string(),
5478
- workspaceId: z194.string().optional(),
5479
- designSystemId: z194.string().optional(),
5480
- workspaceRole: WorkspaceRoleSchema.optional(),
5481
- name: z194.string(),
5482
- hidden: z194.boolean(),
5483
- token: z194.string(),
5484
- scope: z194.string().optional(),
5480
+ workspaceId: z194.string(),
5481
+ enabledDesignSystemIds: z194.array(z194.string()),
5482
+ enabledBrandPersistentIds: z194.array(z194.string()),
5483
+ theme: PortalSettingsTheme,
5484
+ sidebar: nullishToOptional(z194.any()),
5485
5485
  createdAt: z194.coerce.date(),
5486
- expireAt: z194.coerce.date().optional()
5486
+ updatedAt: z194.coerce.date()
5487
+ });
5488
+ var PersonalAccessToken = z195.object({
5489
+ id: z195.string(),
5490
+ userId: z195.string(),
5491
+ workspaceId: z195.string().optional(),
5492
+ designSystemId: z195.string().optional(),
5493
+ workspaceRole: WorkspaceRoleSchema.optional(),
5494
+ name: z195.string(),
5495
+ hidden: z195.boolean(),
5496
+ token: z195.string(),
5497
+ scope: z195.string().optional(),
5498
+ createdAt: z195.coerce.date(),
5499
+ expireAt: z195.coerce.date().optional()
5487
5500
  });
5488
5501
 
5489
5502
  // src/api/conversion/analytics/page-visits-to-dto.ts
@@ -6004,105 +6017,105 @@ function integrationCredentialToDto(credential) {
6004
6017
  }
6005
6018
 
6006
6019
  // src/api/dto/access-tokens/access-token.ts
6007
- import { z as z195 } from "zod";
6008
- var DTOAccessToken = z195.object({
6009
- id: z195.string(),
6010
- createdAt: z195.coerce.date(),
6011
- name: z195.string(),
6012
- scope: z195.string().optional()
6020
+ import { z as z196 } from "zod";
6021
+ var DTOAccessToken = z196.object({
6022
+ id: z196.string(),
6023
+ createdAt: z196.coerce.date(),
6024
+ name: z196.string(),
6025
+ scope: z196.string().optional()
6013
6026
  });
6014
6027
  var DTOAccessTokenFull = DTOAccessToken.extend({
6015
- token: z195.string()
6028
+ token: z196.string()
6016
6029
  });
6017
- var DTOAccessTokenListResponse = z195.object({
6030
+ var DTOAccessTokenListResponse = z196.object({
6018
6031
  tokens: DTOAccessToken.array()
6019
6032
  });
6020
- var DTOAccessTokenResponse = z195.object({
6033
+ var DTOAccessTokenResponse = z196.object({
6021
6034
  token: DTOAccessToken
6022
6035
  });
6023
- var DTOAccessTokenFullResponse = z195.object({
6036
+ var DTOAccessTokenFullResponse = z196.object({
6024
6037
  token: DTOAccessTokenFull
6025
6038
  });
6026
- var DTOAccessTokenCreatePayload = z195.object({
6027
- name: z195.string(),
6028
- scope: z195.string().optional()
6039
+ var DTOAccessTokenCreatePayload = z196.object({
6040
+ name: z196.string(),
6041
+ scope: z196.string().optional()
6029
6042
  });
6030
6043
 
6031
6044
  // src/api/dto/aux/color.ts
6032
- import { z as z196 } from "zod";
6033
- var DTOColorTokenInlineData = z196.object({
6034
- value: z196.string().regex(/^#[a-f0-9]{6,8}$/)
6045
+ import { z as z197 } from "zod";
6046
+ var DTOColorTokenInlineData = z197.object({
6047
+ value: z197.string().regex(/^#[a-f0-9]{6,8}$/)
6035
6048
  });
6036
6049
 
6037
6050
  // src/api/dto/aux/meta.ts
6038
- import { z as z197 } from "zod";
6039
- var DTOObjectMeta = z197.object({
6040
- name: z197.string().max(512),
6041
- description: z197.string().max(2048).optional()
6051
+ import { z as z198 } from "zod";
6052
+ var DTOObjectMeta = z198.object({
6053
+ name: z198.string().max(512),
6054
+ description: z198.string().max(2048).optional()
6042
6055
  });
6043
6056
 
6044
6057
  // src/api/dto/aux/pagination.ts
6045
- import { z as z198 } from "zod";
6046
- var DTOPagination = z198.object({
6047
- limit: z198.string().optional(),
6048
- offset: z198.string().optional()
6058
+ import { z as z199 } from "zod";
6059
+ var DTOPagination = z199.object({
6060
+ limit: z199.string().optional(),
6061
+ offset: z199.string().optional()
6049
6062
  });
6050
6063
 
6051
6064
  // src/api/dto/bff/app-bootstrap-data.ts
6052
- import { z as z240 } from "zod";
6065
+ import { z as z241 } from "zod";
6053
6066
 
6054
6067
  // src/api/dto/design-systems/brand.ts
6055
- import { z as z199 } from "zod";
6056
- var DTOBrand = z199.object({
6057
- id: z199.string(),
6058
- designSystemVersionId: z199.string(),
6059
- persistentId: z199.string(),
6068
+ import { z as z200 } from "zod";
6069
+ var DTOBrand = z200.object({
6070
+ id: z200.string(),
6071
+ designSystemVersionId: z200.string(),
6072
+ persistentId: z200.string(),
6060
6073
  meta: ObjectMeta
6061
6074
  });
6062
- var DTOBrandGetResponse = z199.object({ brand: DTOBrand });
6063
- var DTOBrandCreateResponse = z199.object({
6075
+ var DTOBrandGetResponse = z200.object({ brand: DTOBrand });
6076
+ var DTOBrandCreateResponse = z200.object({
6064
6077
  brand: DTOBrand
6065
6078
  });
6066
- var DTOBrandsListResponse = z199.object({ brands: z199.array(DTOBrand) });
6067
- var DTOBrandCreatePayload = z199.object({
6068
- persistentId: z199.string().uuid(),
6079
+ var DTOBrandsListResponse = z200.object({ brands: z200.array(DTOBrand) });
6080
+ var DTOBrandCreatePayload = z200.object({
6081
+ persistentId: z200.string().uuid(),
6069
6082
  meta: DTOObjectMeta
6070
6083
  });
6071
- var DTOBrandUpdatePayload = z199.object({
6084
+ var DTOBrandUpdatePayload = z200.object({
6072
6085
  meta: DTOObjectMeta.optional(),
6073
- persistentId: z199.string()
6086
+ persistentId: z200.string()
6074
6087
  });
6075
6088
 
6076
6089
  // src/api/dto/design-systems/code-component.ts
6077
- import { z as z200 } from "zod";
6090
+ import { z as z201 } from "zod";
6078
6091
  var DTOCodeComponentResolvedTypeKind = CodeComponentResolvedTypeKind;
6079
6092
  var DTOCodeComponentResolvedType = CodeComponentResolvedType;
6080
6093
  var DTOCodeComponentParentType = CodeComponentParentType;
6081
6094
  var DTOCodeComponentProperty = CodeComponentProperty;
6082
6095
  var DTOCodeComponent = CodeComponent;
6083
- var DTOCodeComponentResponse = z200.object({
6096
+ var DTOCodeComponentResponse = z201.object({
6084
6097
  codeComponent: DTOCodeComponent
6085
6098
  });
6086
- var DTOCodeComponentListResponse = z200.object({
6099
+ var DTOCodeComponentListResponse = z201.object({
6087
6100
  codeComponents: DTOCodeComponent.array()
6088
6101
  });
6089
- var DTOCodeComponentCreateInput = z200.object({
6090
- persistentId: z200.string(),
6091
- exportName: z200.string(),
6092
- componentPath: z200.string(),
6093
- description: z200.string(),
6094
- properties: z200.record(z200.string(), DTOCodeComponentProperty),
6095
- tags: z200.record(z200.string(), z200.string()).nullable()
6102
+ var DTOCodeComponentCreateInput = z201.object({
6103
+ persistentId: z201.string(),
6104
+ exportName: z201.string(),
6105
+ componentPath: z201.string(),
6106
+ description: z201.string(),
6107
+ properties: z201.record(z201.string(), DTOCodeComponentProperty),
6108
+ tags: z201.record(z201.string(), z201.string()).nullable()
6096
6109
  });
6097
- var DTOCodeComponentsCreateInput = z200.object({
6110
+ var DTOCodeComponentsCreateInput = z201.object({
6098
6111
  codeComponents: DTOCodeComponentCreateInput.array()
6099
6112
  });
6100
6113
  var DTOCodeComponentUpsertResponse = CodeComponentUpsertResponse;
6101
6114
  var DTOAnalyzeCodeComponentsInPackage = AnalyzeCodeComponentsInPackage;
6102
6115
  var DTODependencyDefinition = DependencyDefinition;
6103
6116
  var DTORegistry = Registry;
6104
- var DTOAnalyzeCodeComponentsInPackageResponse = z200.object({
6105
- ok: z200.literal(true)
6117
+ var DTOAnalyzeCodeComponentsInPackageResponse = z201.object({
6118
+ ok: z201.literal(true)
6106
6119
  });
6107
6120
  var DTOAnalyzeCodeComponentsInPackageInput = AnalyzeCodeComponentsInPackage.omit({
6108
6121
  designSystemId: true,
@@ -6111,48 +6124,48 @@ var DTOAnalyzeCodeComponentsInPackageInput = AnalyzeCodeComponentsInPackage.omit
6111
6124
  });
6112
6125
 
6113
6126
  // src/api/dto/design-systems/component.ts
6114
- import { z as z201 } from "zod";
6115
- var DTODesignSystemComponent = z201.object({
6116
- id: z201.string(),
6117
- persistentId: z201.string(),
6118
- designSystemVersionId: z201.string(),
6119
- brandId: z201.string(),
6127
+ import { z as z202 } from "zod";
6128
+ var DTODesignSystemComponent = z202.object({
6129
+ id: z202.string(),
6130
+ persistentId: z202.string(),
6131
+ designSystemVersionId: z202.string(),
6132
+ brandId: z202.string(),
6120
6133
  meta: DTOObjectMeta,
6121
- createdAt: z201.coerce.date(),
6122
- updatedAt: z201.coerce.date()
6134
+ createdAt: z202.coerce.date(),
6135
+ updatedAt: z202.coerce.date()
6123
6136
  });
6124
- var DTODesignSystemComponentResponse = z201.object({
6137
+ var DTODesignSystemComponentResponse = z202.object({
6125
6138
  designSystemComponent: DTODesignSystemComponent
6126
6139
  });
6127
- var DTODesignSystemComponentListResponse = z201.object({
6140
+ var DTODesignSystemComponentListResponse = z202.object({
6128
6141
  designSystemComponents: DTODesignSystemComponent.array()
6129
6142
  });
6130
- var DTODesignSystemComponentCreateInput = z201.object({
6131
- brandId: z201.string(),
6143
+ var DTODesignSystemComponentCreateInput = z202.object({
6144
+ brandId: z202.string(),
6132
6145
  // Persistent ID,
6133
- persistentId: z201.string(),
6146
+ persistentId: z202.string(),
6134
6147
  meta: DTOObjectMeta
6135
6148
  });
6136
6149
 
6137
6150
  // src/api/dto/design-systems/contact.ts
6138
- import { z as z205 } from "zod";
6151
+ import { z as z206 } from "zod";
6139
6152
 
6140
6153
  // src/api/dto/users/authenticated-user.ts
6141
- import { z as z203 } from "zod";
6154
+ import { z as z204 } from "zod";
6142
6155
 
6143
6156
  // src/api/dto/users/user.ts
6144
- import { z as z202 } from "zod";
6145
- var DTOUserProfile = z202.object({
6146
- name: z202.string(),
6147
- nickname: z202.string().optional(),
6148
- avatar: z202.string().optional()
6149
- });
6150
- var DTOUser = z202.object({
6151
- id: z202.string(),
6152
- email: z202.string(),
6157
+ import { z as z203 } from "zod";
6158
+ var DTOUserProfile = z203.object({
6159
+ name: z203.string(),
6160
+ nickname: z203.string().optional(),
6161
+ avatar: z203.string().optional()
6162
+ });
6163
+ var DTOUser = z203.object({
6164
+ id: z203.string(),
6165
+ email: z203.string(),
6153
6166
  profile: DTOUserProfile
6154
6167
  });
6155
- var DTOUserGetResponse = z202.object({
6168
+ var DTOUserGetResponse = z203.object({
6156
6169
  user: DTOUser
6157
6170
  });
6158
6171
  var DTOUserProfileUpdate = UserProfileUpdate;
@@ -6162,17 +6175,17 @@ var DTOUserOnboardingDepartment = UserOnboardingDepartment;
6162
6175
  var DTOUserOnboardingJobLevel = UserOnboardingJobLevel;
6163
6176
  var DTOUserSource = UserSource;
6164
6177
  var DTOUserTheme = UserTheme;
6165
- var DTOUserOnboarding = z203.object({
6166
- companyName: z203.string().optional(),
6167
- numberOfPeopleInOrg: z203.string().optional(),
6168
- numberOfPeopleInDesignTeam: z203.string().optional(),
6178
+ var DTOUserOnboarding = z204.object({
6179
+ companyName: z204.string().optional(),
6180
+ numberOfPeopleInOrg: z204.string().optional(),
6181
+ numberOfPeopleInDesignTeam: z204.string().optional(),
6169
6182
  department: DTOUserOnboardingDepartment.optional(),
6170
- jobTitle: z203.string().optional(),
6171
- phase: z203.string().optional(),
6183
+ jobTitle: z204.string().optional(),
6184
+ phase: z204.string().optional(),
6172
6185
  jobLevel: DTOUserOnboardingJobLevel.optional(),
6173
- designSystemName: z203.string().optional(),
6174
- defaultDestination: z203.string().optional(),
6175
- isPageDraftOnboardingFinished: z203.boolean().optional()
6186
+ designSystemName: z204.string().optional(),
6187
+ defaultDestination: z204.string().optional(),
6188
+ isPageDraftOnboardingFinished: z204.boolean().optional()
6176
6189
  });
6177
6190
  var DTOAuthenticatedUserProfile = DTOUserProfile.extend({
6178
6191
  onboarding: DTOUserOnboarding.optional(),
@@ -6180,194 +6193,194 @@ var DTOAuthenticatedUserProfile = DTOUserProfile.extend({
6180
6193
  });
6181
6194
  var DTOAuthenticatedUser = DTOUser.extend({
6182
6195
  profile: DTOAuthenticatedUserProfile,
6183
- createdAt: z203.coerce.date(),
6184
- loggedOutAt: z203.coerce.date().optional(),
6196
+ createdAt: z204.coerce.date(),
6197
+ loggedOutAt: z204.coerce.date().optional(),
6185
6198
  source: DTOUserSource.optional()
6186
6199
  });
6187
- var DTOAuthenticatedUserResponse = z203.object({
6200
+ var DTOAuthenticatedUserResponse = z204.object({
6188
6201
  user: DTOAuthenticatedUser
6189
6202
  });
6190
6203
 
6191
6204
  // src/api/dto/users/update.ts
6192
- import { z as z204 } from "zod";
6193
- var DTOUserProfileUpdateResponse = z204.object({
6205
+ import { z as z205 } from "zod";
6206
+ var DTOUserProfileUpdateResponse = z205.object({
6194
6207
  user: User
6195
6208
  });
6196
6209
 
6197
6210
  // src/api/dto/design-systems/contact.ts
6198
- var DTODesignSystemContactsResponse = z205.object({
6199
- contacts: z205.object({
6200
- workspace: z205.array(DTOUser),
6201
- designSystem: z205.array(DTOUser)
6211
+ var DTODesignSystemContactsResponse = z206.object({
6212
+ contacts: z206.object({
6213
+ workspace: z206.array(DTOUser),
6214
+ designSystem: z206.array(DTOUser)
6202
6215
  })
6203
6216
  });
6204
6217
 
6205
6218
  // src/api/dto/design-systems/data-source.ts
6206
- import { z as z206 } from "zod";
6219
+ import { z as z207 } from "zod";
6207
6220
  var DTODataSourceFigmaScope = DataSourceFigmaScope;
6208
- var DTODataSourceFigmaFileVersion = z206.object({
6209
- id: z206.string(),
6210
- created_at: z206.coerce.date(),
6211
- label: z206.string(),
6212
- description: z206.string()
6213
- });
6214
- var DTODataSourceFigmaCloud = z206.object({
6215
- fileId: z206.string(),
6221
+ var DTODataSourceFigmaFileVersion = z207.object({
6222
+ id: z207.string(),
6223
+ created_at: z207.coerce.date(),
6224
+ label: z207.string(),
6225
+ description: z207.string()
6226
+ });
6227
+ var DTODataSourceFigmaCloud = z207.object({
6228
+ fileId: z207.string(),
6216
6229
  state: DataSourceFigmaState,
6217
6230
  autoImportMode: DataSourceAutoImportMode,
6218
- fileThumbnailUrl: z206.string().optional(),
6231
+ fileThumbnailUrl: z207.string().optional(),
6219
6232
  lastImportResult: SourceImportSummary.nullish(),
6220
- lastImportedAt: z206.coerce.date().nullish(),
6233
+ lastImportedAt: z207.coerce.date().nullish(),
6221
6234
  lastImportedVersion: DTODataSourceFigmaFileVersion.nullish(),
6222
- lastUpdatesCheckedAt: z206.date().nullish(),
6223
- ownerId: z206.string(),
6224
- ownerUserName: z206.string().optional(),
6225
- preferredCredentialId: z206.string().optional(),
6235
+ lastUpdatesCheckedAt: z207.date().nullish(),
6236
+ ownerId: z207.string(),
6237
+ ownerUserName: z207.string().optional(),
6238
+ preferredCredentialId: z207.string().optional(),
6226
6239
  stats: DataSourceStats
6227
6240
  });
6228
- var DTODataSourceFigma = z206.object({
6229
- id: z206.string(),
6230
- type: z206.literal(DataSourceRemoteType.Enum.Figma),
6231
- fileName: z206.string(),
6241
+ var DTODataSourceFigma = z207.object({
6242
+ id: z207.string(),
6243
+ type: z207.literal(DataSourceRemoteType.Enum.Figma),
6244
+ fileName: z207.string(),
6232
6245
  scope: DTODataSourceFigmaScope,
6233
- brandId: z206.string(),
6234
- themeId: z206.string().nullish(),
6246
+ brandId: z207.string(),
6247
+ themeId: z207.string().nullish(),
6235
6248
  cloud: DTODataSourceFigmaCloud.nullish(),
6236
- sortOrder: z206.number().optional()
6237
- });
6238
- var DTODataSourceTokenStudio = z206.object({
6239
- id: z206.string(),
6240
- type: z206.literal(DataSourceRemoteType.Enum.TokenStudio),
6241
- fileName: z206.string(),
6242
- brandId: z206.string(),
6243
- themeId: z206.string().nullish(),
6244
- sortOrder: z206.number().optional(),
6245
- tokenStudio: z206.object({
6246
- settings: z206.object({
6247
- dryRun: z206.boolean(),
6248
- verbose: z206.boolean(),
6249
- preciseCopy: z206.boolean()
6249
+ sortOrder: z207.number().optional()
6250
+ });
6251
+ var DTODataSourceTokenStudio = z207.object({
6252
+ id: z207.string(),
6253
+ type: z207.literal(DataSourceRemoteType.Enum.TokenStudio),
6254
+ fileName: z207.string(),
6255
+ brandId: z207.string(),
6256
+ themeId: z207.string().nullish(),
6257
+ sortOrder: z207.number().optional(),
6258
+ tokenStudio: z207.object({
6259
+ settings: z207.object({
6260
+ dryRun: z207.boolean(),
6261
+ verbose: z207.boolean(),
6262
+ preciseCopy: z207.boolean()
6250
6263
  }),
6251
- connectionName: z206.string(),
6252
- lastImportedAt: z206.coerce.date(),
6253
- lastImportedResults: z206.array(
6254
- z206.object({
6255
- mapping: z206.object({
6256
- tokenSets: z206.array(z206.string()),
6257
- supernovaBrand: z206.string(),
6258
- supernovaTheme: z206.string().optional()
6264
+ connectionName: z207.string(),
6265
+ lastImportedAt: z207.coerce.date(),
6266
+ lastImportedResults: z207.array(
6267
+ z207.object({
6268
+ mapping: z207.object({
6269
+ tokenSets: z207.array(z207.string()),
6270
+ supernovaBrand: z207.string(),
6271
+ supernovaTheme: z207.string().optional()
6259
6272
  }),
6260
- isFailed: z206.boolean(),
6261
- tokensCreated: z206.number(),
6262
- tokensDeleted: z206.number(),
6263
- tokensUpdated: z206.number()
6273
+ isFailed: z207.boolean(),
6274
+ tokensCreated: z207.number(),
6275
+ tokensDeleted: z207.number(),
6276
+ tokensUpdated: z207.number()
6264
6277
  })
6265
6278
  )
6266
6279
  })
6267
6280
  });
6268
- var DTODataSourceFigmaVariablesPlugin = z206.object({
6269
- id: z206.string(),
6270
- type: z206.literal(DataSourceRemoteType.Enum.FigmaVariablesPlugin),
6271
- fileName: z206.string(),
6272
- brandId: z206.string(),
6273
- sortOrder: z206.number().optional(),
6274
- upload: z206.object({
6275
- remoteId: z206.string(),
6281
+ var DTODataSourceFigmaVariablesPlugin = z207.object({
6282
+ id: z207.string(),
6283
+ type: z207.literal(DataSourceRemoteType.Enum.FigmaVariablesPlugin),
6284
+ fileName: z207.string(),
6285
+ brandId: z207.string(),
6286
+ sortOrder: z207.number().optional(),
6287
+ upload: z207.object({
6288
+ remoteId: z207.string(),
6276
6289
  remoteSourceType: DataSourceUploadRemoteSource,
6277
- lastImportedAt: z206.coerce.date().optional(),
6290
+ lastImportedAt: z207.coerce.date().optional(),
6278
6291
  lastImportMetadata: DataSourceUploadImportMetadata.optional(),
6279
- isTokenTypeSplitEnabled: z206.boolean()
6292
+ isTokenTypeSplitEnabled: z207.boolean()
6280
6293
  }),
6281
- figmaVariablesPlugin: z206.object({
6282
- fileId: z206.string(),
6283
- lastImportedAt: z206.coerce.date().optional(),
6294
+ figmaVariablesPlugin: z207.object({
6295
+ fileId: z207.string(),
6296
+ lastImportedAt: z207.coerce.date().optional(),
6284
6297
  lastImportMetadata: DataSourceUploadImportMetadata.optional(),
6285
- isTokenTypeSplitEnabled: z206.boolean(),
6286
- isCollectionsMigrationCompleted: z206.boolean().default(false)
6298
+ isTokenTypeSplitEnabled: z207.boolean(),
6299
+ isCollectionsMigrationCompleted: z207.boolean().default(false)
6287
6300
  })
6288
6301
  });
6289
- var DTODataSourceStorybook = z206.object({
6290
- id: z206.string(),
6291
- type: z206.literal(DataSourceRemoteType.Enum.Storybook),
6292
- fileName: z206.string(),
6293
- brandId: z206.string(),
6294
- sortOrder: z206.number().optional(),
6295
- storybook: z206.object({
6296
- indexUrl: z206.string(),
6297
- userUrl: z206.string(),
6298
- lastImportedAt: z206.coerce.date().optional(),
6302
+ var DTODataSourceStorybook = z207.object({
6303
+ id: z207.string(),
6304
+ type: z207.literal(DataSourceRemoteType.Enum.Storybook),
6305
+ fileName: z207.string(),
6306
+ brandId: z207.string(),
6307
+ sortOrder: z207.number().optional(),
6308
+ storybook: z207.object({
6309
+ indexUrl: z207.string(),
6310
+ userUrl: z207.string(),
6311
+ lastImportedAt: z207.coerce.date().optional(),
6299
6312
  lastImportedResult: SourceImportStorybookSummary.optional(),
6300
- lastImportedSuccessfully: z206.coerce.date().optional(),
6301
- isFailed: z206.boolean(),
6302
- storiesCount: z206.number(),
6303
- docsCount: z206.number(),
6304
- description: z206.string().optional(),
6305
- isUsingVpn: z206.boolean().optional()
6313
+ lastImportedSuccessfully: z207.coerce.date().optional(),
6314
+ isFailed: z207.boolean(),
6315
+ storiesCount: z207.number(),
6316
+ docsCount: z207.number(),
6317
+ description: z207.string().optional(),
6318
+ isUsingVpn: z207.boolean().optional()
6306
6319
  })
6307
6320
  });
6308
- var DTODataSourcesStorybookResponse = z206.object({
6309
- isFailed: z206.boolean(),
6310
- storiesCount: z206.number(),
6311
- docsCount: z206.number(),
6312
- created: z206.array(z206.string()).optional(),
6313
- updated: z206.array(z206.string()).optional(),
6314
- deleted: z206.array(z206.string()).optional()
6321
+ var DTODataSourcesStorybookResponse = z207.object({
6322
+ isFailed: z207.boolean(),
6323
+ storiesCount: z207.number(),
6324
+ docsCount: z207.number(),
6325
+ created: z207.array(z207.string()).optional(),
6326
+ updated: z207.array(z207.string()).optional(),
6327
+ deleted: z207.array(z207.string()).optional()
6315
6328
  });
6316
- var DTODataSource = z206.discriminatedUnion("type", [
6329
+ var DTODataSource = z207.discriminatedUnion("type", [
6317
6330
  DTODataSourceFigma,
6318
6331
  DTODataSourceFigmaVariablesPlugin,
6319
6332
  DTODataSourceTokenStudio,
6320
6333
  DTODataSourceStorybook
6321
6334
  ]);
6322
- var DTODataSourcesListResponse = z206.object({
6323
- sources: z206.array(DTODataSource)
6335
+ var DTODataSourcesListResponse = z207.object({
6336
+ sources: z207.array(DTODataSource)
6324
6337
  });
6325
- var DTODataSourceResponse = z206.object({
6338
+ var DTODataSourceResponse = z207.object({
6326
6339
  source: DTODataSource
6327
6340
  });
6328
- var DTODataSourceFigmaCreatePayload = z206.object({
6329
- brandPersistentId: z206.string(),
6330
- figmaFileUrl: z206.string(),
6341
+ var DTODataSourceFigmaCreatePayload = z207.object({
6342
+ brandPersistentId: z207.string(),
6343
+ figmaFileUrl: z207.string(),
6331
6344
  scope: DTODataSourceFigmaScope,
6332
6345
  autoImportMode: DataSourceAutoImportMode
6333
6346
  });
6334
- var DTODataSourceFigmaImportPayload = z206.object({
6335
- sourceIds: z206.array(z206.string())
6336
- });
6337
- var DTODataSourceStorybookCreatePayload = z206.object({
6338
- brandPersistentId: z206.string(),
6339
- fileName: z206.string().optional(),
6340
- userUrl: z206.string(),
6341
- indexUrl: z206.string(),
6342
- payload: z206.unknown(),
6343
- type: z206.literal(DataSourceRemoteType.Enum.Storybook),
6344
- description: z206.string().optional(),
6345
- isUsingVpn: z206.boolean().optional()
6346
- });
6347
- var DTOStorybookImportPayload = z206.object({
6348
- sourceId: z206.string(),
6349
- payload: z206.unknown()
6350
- });
6351
- var DTOStorybookSourceUpdatePayload = z206.object({
6352
- description: z206.string().nullish().optional(),
6353
- isUsingVpn: z206.boolean().optional(),
6354
- fileName: z206.string().optional()
6355
- });
6356
- var DTOFigmaSourceUpdatePayload = z206.object({
6357
- themeId: z206.string().optional(),
6347
+ var DTODataSourceFigmaImportPayload = z207.object({
6348
+ sourceIds: z207.array(z207.string())
6349
+ });
6350
+ var DTODataSourceStorybookCreatePayload = z207.object({
6351
+ brandPersistentId: z207.string(),
6352
+ fileName: z207.string().optional(),
6353
+ userUrl: z207.string(),
6354
+ indexUrl: z207.string(),
6355
+ payload: z207.unknown(),
6356
+ type: z207.literal(DataSourceRemoteType.Enum.Storybook),
6357
+ description: z207.string().optional(),
6358
+ isUsingVpn: z207.boolean().optional()
6359
+ });
6360
+ var DTOStorybookImportPayload = z207.object({
6361
+ sourceId: z207.string(),
6362
+ payload: z207.unknown()
6363
+ });
6364
+ var DTOStorybookSourceUpdatePayload = z207.object({
6365
+ description: z207.string().nullish().optional(),
6366
+ isUsingVpn: z207.boolean().optional(),
6367
+ fileName: z207.string().optional()
6368
+ });
6369
+ var DTOFigmaSourceUpdatePayload = z207.object({
6370
+ themeId: z207.string().optional(),
6358
6371
  scope: DataSourceFigmaScope.optional(),
6359
6372
  autoImportMode: DataSourceAutoImportMode.optional()
6360
6373
  });
6361
6374
 
6362
6375
  // src/api/dto/design-systems/design-system.ts
6363
- import { z as z209 } from "zod";
6376
+ import { z as z210 } from "zod";
6364
6377
 
6365
6378
  // src/api/dto/design-systems/members.ts
6366
- import { z as z208 } from "zod";
6379
+ import { z as z209 } from "zod";
6367
6380
 
6368
6381
  // src/api/dto/design-systems/role.ts
6369
- import { z as z207 } from "zod";
6370
- var DTODesignSystemRole = z207.enum([
6382
+ import { z as z208 } from "zod";
6383
+ var DTODesignSystemRole = z208.enum([
6371
6384
  WorkspaceRole.Admin,
6372
6385
  WorkspaceRole.Contributor,
6373
6386
  WorkspaceRole.Creator,
@@ -6375,29 +6388,29 @@ var DTODesignSystemRole = z207.enum([
6375
6388
  ]);
6376
6389
 
6377
6390
  // src/api/dto/design-systems/members.ts
6378
- var DTODesignSystemMember = z208.object({
6379
- userId: z208.string(),
6391
+ var DTODesignSystemMember = z209.object({
6392
+ userId: z209.string(),
6380
6393
  /**
6381
6394
  * Role that the member has in the design system,
6382
6395
  * undefined if set to inherit from workspace
6383
6396
  */
6384
6397
  designSystemRole: DTODesignSystemRole.optional()
6385
6398
  });
6386
- var DTODesignSystemInvitation = z208.object({
6387
- id: z208.string(),
6388
- workspaceInvitationId: z208.string(),
6399
+ var DTODesignSystemInvitation = z209.object({
6400
+ id: z209.string(),
6401
+ workspaceInvitationId: z209.string(),
6389
6402
  /**
6390
6403
  * Role that the invitation has in the design system,
6391
6404
  * undefined if set to inherit from workspace
6392
6405
  */
6393
6406
  designSystemRole: DTODesignSystemRole.optional()
6394
6407
  });
6395
- var DTODesignSystemMemberListResponse = z208.object({
6408
+ var DTODesignSystemMemberListResponse = z209.object({
6396
6409
  members: DTODesignSystemMember.array(),
6397
6410
  invitations: DTODesignSystemInvitation.array()
6398
6411
  });
6399
- var DTODesignSystemMembersUpdateResponse = z208.object({
6400
- ok: z208.literal(true)
6412
+ var DTODesignSystemMembersUpdateResponse = z209.object({
6413
+ ok: z209.literal(true)
6401
6414
  });
6402
6415
  var DTODesignSystemMembersUpdatePayload = DesignSystemMembershipUpdates;
6403
6416
 
@@ -6408,14 +6421,14 @@ var DTODesignSystem = DesignSystem.omit({
6408
6421
  docExporterId: true
6409
6422
  }).extend({
6410
6423
  meta: ObjectMeta,
6411
- docExporterId: z209.string(),
6412
- sources: z209.array(z209.any()),
6413
- isPublic: z209.literal(true),
6424
+ docExporterId: z210.string(),
6425
+ sources: z210.array(z210.any()),
6426
+ isPublic: z210.literal(true),
6414
6427
  /**
6415
6428
  * Whether or not user who is requesting the design system
6416
6429
  * has access to the design system's contents.
6417
6430
  */
6418
- isAvailableToUser: z209.boolean(),
6431
+ isAvailableToUser: z210.boolean(),
6419
6432
  /**
6420
6433
  * @deprecated
6421
6434
  */
@@ -6426,17 +6439,17 @@ var DTODesignSystem = DesignSystem.omit({
6426
6439
  */
6427
6440
  effectiveRole: DTODesignSystemRole.optional()
6428
6441
  });
6429
- var DTODesignSystemResponse = z209.object({
6442
+ var DTODesignSystemResponse = z210.object({
6430
6443
  designSystem: DTODesignSystem
6431
6444
  });
6432
- var DTODesignSystemsListResponse = z209.object({
6445
+ var DTODesignSystemsListResponse = z210.object({
6433
6446
  designSystems: DTODesignSystem.array()
6434
6447
  });
6435
- var DTODesignSystemCreateInput = z209.object({
6436
- workspaceId: z209.string(),
6448
+ var DTODesignSystemCreateInput = z210.object({
6449
+ workspaceId: z210.string(),
6437
6450
  meta: ObjectMeta.optional(),
6438
- name: z209.string().min(2).max(64).optional(),
6439
- description: z209.string().max(1024).optional(),
6451
+ name: z210.string().min(2).max(64).optional(),
6452
+ description: z210.string().max(1024).optional(),
6440
6453
  accessMode: DesignSystemAccessMode.optional(),
6441
6454
  invites: DTODesignSystemMembersUpdatePayload.pick({
6442
6455
  usersToInvite: true,
@@ -6446,20 +6459,20 @@ var DTODesignSystemCreateInput = z209.object({
6446
6459
  });
6447
6460
 
6448
6461
  // src/api/dto/design-systems/elements-diff.ts
6449
- import { z as z210 } from "zod";
6450
- var DTODiffCountBase = z210.object({
6451
- created: z210.number(),
6452
- updated: z210.number(),
6453
- deleted: z210.number()
6462
+ import { z as z211 } from "zod";
6463
+ var DTODiffCountBase = z211.object({
6464
+ created: z211.number(),
6465
+ updated: z211.number(),
6466
+ deleted: z211.number()
6454
6467
  });
6455
- var DTODesignElementsDataDiffResponse = z210.object({
6468
+ var DTODesignElementsDataDiffResponse = z211.object({
6456
6469
  tokens: DTODiffCountBase,
6457
6470
  assets: DTODiffCountBase
6458
6471
  });
6459
6472
 
6460
6473
  // src/api/dto/design-systems/figma-variables.ts
6461
- import { z as z211 } from "zod";
6462
- var DimensionsVariableScopeSchema = z211.enum([
6474
+ import { z as z212 } from "zod";
6475
+ var DimensionsVariableScopeSchema = z212.enum([
6463
6476
  "CORNER_RADIUS",
6464
6477
  "WIDTH_HEIGHT",
6465
6478
  "GAP",
@@ -6473,372 +6486,372 @@ var DimensionsVariableScopeSchema = z211.enum([
6473
6486
  "PARAGRAPH_INDENT",
6474
6487
  "FONT_WEIGHT"
6475
6488
  ]);
6476
- var StringVariableScopeSchema = z211.enum(["TEXT_CONTENT", "FONT_FAMILY", "FONT_STYLE"]);
6489
+ var StringVariableScopeSchema = z212.enum(["TEXT_CONTENT", "FONT_FAMILY", "FONT_STYLE"]);
6477
6490
  var DimensionsVariableScopeType = DimensionsVariableScopeSchema.enum;
6478
6491
  var StringVariableScopeType = StringVariableScopeSchema.enum;
6479
- var VariableScope = z211.string();
6480
- var ReferencedVariableOrigin = z211.object({
6481
- name: z211.string(),
6482
- remote: z211.boolean()
6492
+ var VariableScope = z212.string();
6493
+ var ReferencedVariableOrigin = z212.object({
6494
+ name: z212.string(),
6495
+ remote: z212.boolean()
6483
6496
  });
6484
- var RGB = z211.object({
6485
- r: z211.number(),
6486
- g: z211.number(),
6487
- b: z211.number()
6497
+ var RGB = z212.object({
6498
+ r: z212.number(),
6499
+ g: z212.number(),
6500
+ b: z212.number()
6488
6501
  });
6489
6502
  var RGBA = RGB.extend({
6490
- a: z211.number()
6491
- });
6492
- var VariableAlias = z211.object({
6493
- type: z211.literal("VARIABLE_ALIAS"),
6494
- id: z211.string(),
6495
- resolvedValue: z211.boolean().or(z211.number()).or(z211.string()).or(RGBA).or(RGB).optional(),
6496
- referenceOrigin: ReferencedVariableOrigin.optional().or(z211.null())
6497
- });
6498
- var VariableValue = z211.boolean().or(z211.number()).or(z211.string()).or(RGBA).or(RGB).or(VariableAlias);
6499
- var ResolvedVariableType = z211.enum(["BOOLEAN", "FLOAT", "STRING", "COLOR"]);
6500
- var Variable = z211.object({
6501
- id: z211.string(),
6502
- name: z211.string(),
6503
- key: z211.string(),
6504
- variableCollectionId: z211.string(),
6503
+ a: z212.number()
6504
+ });
6505
+ var VariableAlias = z212.object({
6506
+ type: z212.literal("VARIABLE_ALIAS"),
6507
+ id: z212.string(),
6508
+ resolvedValue: z212.boolean().or(z212.number()).or(z212.string()).or(RGBA).or(RGB).optional(),
6509
+ referenceOrigin: ReferencedVariableOrigin.optional().or(z212.null())
6510
+ });
6511
+ var VariableValue = z212.boolean().or(z212.number()).or(z212.string()).or(RGBA).or(RGB).or(VariableAlias);
6512
+ var ResolvedVariableType = z212.enum(["BOOLEAN", "FLOAT", "STRING", "COLOR"]);
6513
+ var Variable = z212.object({
6514
+ id: z212.string(),
6515
+ name: z212.string(),
6516
+ key: z212.string(),
6517
+ variableCollectionId: z212.string(),
6505
6518
  resolvedType: ResolvedVariableType,
6506
- valuesByMode: z211.record(VariableValue),
6507
- remote: z211.boolean(),
6508
- description: z211.string(),
6509
- hiddenFromPublishing: z211.boolean(),
6510
- scopes: z211.array(VariableScope),
6511
- codeSyntax: z211.record(z211.any()).optional()
6512
- });
6513
- var VariableMode = z211.object({
6514
- modeId: z211.string(),
6515
- name: z211.string()
6516
- });
6517
- var Collection2 = z211.object({
6518
- id: z211.string(),
6519
- name: z211.string(),
6520
- modes: z211.array(VariableMode),
6521
- defaultModeId: z211.string(),
6522
- remote: z211.boolean(),
6523
- hiddenFromPublishing: z211.boolean()
6524
- });
6525
- var VariablesMapping = z211.object({
6526
- variableCollections: z211.array(z211.string()).min(1),
6527
- variableMode: z211.string().min(1),
6528
- supernovaBrand: z211.string().min(1),
6529
- supernovaTheme: z211.string().min(1).optional().or(z211.null())
6530
- });
6531
- var FormattedCollections = z211.object({
6532
- variables: z211.record(z211.string(), Variable),
6533
- variableCollections: z211.record(z211.string(), Collection2),
6534
- mappings: z211.array(VariablesMapping).optional(),
6535
- variablesOrder: z211.string().array().optional()
6519
+ valuesByMode: z212.record(VariableValue),
6520
+ remote: z212.boolean(),
6521
+ description: z212.string(),
6522
+ hiddenFromPublishing: z212.boolean(),
6523
+ scopes: z212.array(VariableScope),
6524
+ codeSyntax: z212.record(z212.any()).optional()
6525
+ });
6526
+ var VariableMode = z212.object({
6527
+ modeId: z212.string(),
6528
+ name: z212.string()
6529
+ });
6530
+ var Collection2 = z212.object({
6531
+ id: z212.string(),
6532
+ name: z212.string(),
6533
+ modes: z212.array(VariableMode),
6534
+ defaultModeId: z212.string(),
6535
+ remote: z212.boolean(),
6536
+ hiddenFromPublishing: z212.boolean()
6537
+ });
6538
+ var VariablesMapping = z212.object({
6539
+ variableCollections: z212.array(z212.string()).min(1),
6540
+ variableMode: z212.string().min(1),
6541
+ supernovaBrand: z212.string().min(1),
6542
+ supernovaTheme: z212.string().min(1).optional().or(z212.null())
6543
+ });
6544
+ var FormattedCollections = z212.object({
6545
+ variables: z212.record(z212.string(), Variable),
6546
+ variableCollections: z212.record(z212.string(), Collection2),
6547
+ mappings: z212.array(VariablesMapping).optional(),
6548
+ variablesOrder: z212.string().array().optional()
6536
6549
  });
6537
6550
 
6538
6551
  // src/api/dto/design-systems/file.ts
6539
- import { z as z212 } from "zod";
6552
+ import { z as z213 } from "zod";
6540
6553
  var DTOAssetScope = AssetScope;
6541
- var DTOFileUploadItem = z212.object({
6542
- size: z212.number(),
6543
- name: z212.string(),
6544
- checksum: z212.string(),
6554
+ var DTOFileUploadItem = z213.object({
6555
+ size: z213.number(),
6556
+ name: z213.string(),
6557
+ checksum: z213.string(),
6545
6558
  scope: DTOAssetScope.exclude(["ComponentThumbnail", "DocumentationFrame"]).optional()
6546
6559
  });
6547
- var DTOFileUploadPayload = z212.object({
6548
- files: z212.array(DTOFileUploadItem)
6560
+ var DTOFileUploadPayload = z213.object({
6561
+ files: z213.array(DTOFileUploadItem)
6549
6562
  });
6550
- var DTOFileUploadResponseItem = z212.object({
6551
- fileId: z212.string(),
6552
- referencePersistentId: z212.string(),
6553
- name: z212.string(),
6554
- checksum: z212.string(),
6555
- pendingUpload: z212.boolean().optional(),
6556
- url: z212.string(),
6557
- size: z212.number()
6563
+ var DTOFileUploadResponseItem = z213.object({
6564
+ fileId: z213.string(),
6565
+ referencePersistentId: z213.string(),
6566
+ name: z213.string(),
6567
+ checksum: z213.string(),
6568
+ pendingUpload: z213.boolean().optional(),
6569
+ url: z213.string(),
6570
+ size: z213.number()
6558
6571
  });
6559
6572
  var DTOFileResponseItem = DTOFileUploadResponseItem.omit({ pendingUpload: true });
6560
- var DTOUploadUrlItem = z212.object({
6561
- fileId: z212.string(),
6562
- uploadUrl: z212.string()
6573
+ var DTOUploadUrlItem = z213.object({
6574
+ fileId: z213.string(),
6575
+ uploadUrl: z213.string()
6563
6576
  });
6564
- var DTOFileUploadResponse = z212.object({
6565
- files: z212.array(DTOFileUploadResponseItem),
6566
- uploadUrls: z212.array(DTOUploadUrlItem)
6577
+ var DTOFileUploadResponse = z213.object({
6578
+ files: z213.array(DTOFileUploadResponseItem),
6579
+ uploadUrls: z213.array(DTOUploadUrlItem)
6567
6580
  });
6568
- var DTOFilesGetPayload = z212.object({
6569
- persistentIds: z212.string().array().optional()
6581
+ var DTOFilesGetPayload = z213.object({
6582
+ persistentIds: z213.string().array().optional()
6570
6583
  });
6571
- var DTOFilesGetQuery = z212.object({
6584
+ var DTOFilesGetQuery = z213.object({
6572
6585
  includeScope: DTOAssetScope.optional()
6573
6586
  });
6574
- var DTOFilesResponse = z212.object({
6575
- files: z212.array(DTOFileResponseItem)
6587
+ var DTOFilesResponse = z213.object({
6588
+ files: z213.array(DTOFileResponseItem)
6576
6589
  });
6577
- var DTOFileUploadFinalizePayload = z212.object({
6578
- fileIds: z212.array(z212.string())
6590
+ var DTOFileUploadFinalizePayload = z213.object({
6591
+ fileIds: z213.array(z213.string())
6579
6592
  });
6580
- var DTOFileUploadFinalizeResponse = z212.object({ ok: z212.literal(true) });
6593
+ var DTOFileUploadFinalizeResponse = z213.object({ ok: z213.literal(true) });
6581
6594
 
6582
6595
  // src/api/dto/design-systems/import-job.ts
6583
- import { z as z213 } from "zod";
6584
- var DTOImportJob = z213.object({
6585
- id: z213.string(),
6586
- designSystemId: z213.string(),
6587
- designSystemVersionId: z213.string(),
6588
- operation: z213.literal("Import"),
6589
- createdAt: z213.coerce.date(),
6590
- stateChangedAt: z213.coerce.date(),
6596
+ import { z as z214 } from "zod";
6597
+ var DTOImportJob = z214.object({
6598
+ id: z214.string(),
6599
+ designSystemId: z214.string(),
6600
+ designSystemVersionId: z214.string(),
6601
+ operation: z214.literal("Import"),
6602
+ createdAt: z214.coerce.date(),
6603
+ stateChangedAt: z214.coerce.date(),
6591
6604
  state: ImportJobState,
6592
- sourceIds: z213.string().array()
6605
+ sourceIds: z214.string().array()
6593
6606
  });
6594
- var DTOImportJobResponse = z213.object({
6607
+ var DTOImportJobResponse = z214.object({
6595
6608
  job: DTOImportJob
6596
6609
  });
6597
- var DTOBffFigmaImportRequestBody = z213.object({
6598
- type: z213.literal(DataSourceRemoteType.Enum.Figma),
6599
- brandPersistentId: z213.string().optional(),
6600
- fileId: z213.string(),
6610
+ var DTOBffFigmaImportRequestBody = z214.object({
6611
+ type: z214.literal(DataSourceRemoteType.Enum.Figma),
6612
+ brandPersistentId: z214.string().optional(),
6613
+ fileId: z214.string(),
6601
6614
  scope: DataSourceFigmaScope,
6602
6615
  autoImportMode: DataSourceAutoImportMode
6603
6616
  });
6604
- var DTOBffUploadImportRequestBody = z213.object({
6605
- type: z213.enum([DataSourceRemoteType.Enum.FigmaVariablesPlugin, "Upload"]).transform((v) => DataSourceRemoteType.Enum.FigmaVariablesPlugin),
6606
- brandPersistentId: z213.string().optional(),
6607
- sourceName: z213.string().optional(),
6608
- remoteId: z213.string(),
6609
- isTokenTypeSplitEnabled: z213.boolean().optional(),
6610
- payload: z213.any()
6617
+ var DTOBffUploadImportRequestBody = z214.object({
6618
+ type: z214.enum([DataSourceRemoteType.Enum.FigmaVariablesPlugin, "Upload"]).transform((v) => DataSourceRemoteType.Enum.FigmaVariablesPlugin),
6619
+ brandPersistentId: z214.string().optional(),
6620
+ sourceName: z214.string().optional(),
6621
+ remoteId: z214.string(),
6622
+ isTokenTypeSplitEnabled: z214.boolean().optional(),
6623
+ payload: z214.any()
6611
6624
  });
6612
- var DTOBffImportRequestBody = z213.discriminatedUnion("type", [
6625
+ var DTOBffImportRequestBody = z214.discriminatedUnion("type", [
6613
6626
  DTOBffFigmaImportRequestBody,
6614
6627
  DTOBffUploadImportRequestBody
6615
6628
  ]);
6616
6629
 
6617
6630
  // src/api/dto/design-systems/redirects.ts
6618
- import { z as z214 } from "zod";
6619
- var DTOPageRedirectCreateBody = z214.object({
6620
- pagePersistentId: z214.string(),
6621
- path: z214.string()
6631
+ import { z as z215 } from "zod";
6632
+ var DTOPageRedirectCreateBody = z215.object({
6633
+ pagePersistentId: z215.string(),
6634
+ path: z215.string()
6622
6635
  });
6623
6636
  var DTOPageRedirectUpdateBody = DTOPageRedirectCreateBody.partial();
6624
- var DTOPageRedirect = z214.object({
6625
- id: z214.string(),
6626
- pagePersistentId: z214.string(),
6627
- path: z214.string()
6637
+ var DTOPageRedirect = z215.object({
6638
+ id: z215.string(),
6639
+ pagePersistentId: z215.string(),
6640
+ path: z215.string()
6628
6641
  });
6629
- var DTOPageRedirectListResponse = z214.object({
6642
+ var DTOPageRedirectListResponse = z215.object({
6630
6643
  redirects: DTOPageRedirect.array()
6631
6644
  });
6632
- var DTOPageRedirectResponse = z214.object({
6645
+ var DTOPageRedirectResponse = z215.object({
6633
6646
  redirect: DTOPageRedirect
6634
6647
  });
6635
- var DTOPageRedirectDeleteResponse = z214.object({
6636
- success: z214.boolean()
6648
+ var DTOPageRedirectDeleteResponse = z215.object({
6649
+ success: z215.boolean()
6637
6650
  });
6638
6651
 
6639
6652
  // src/api/dto/design-systems/stats.ts
6640
- import { z as z215 } from "zod";
6641
- var DTODesignSystemVersionStats = z215.object({
6642
- tokens: z215.number(),
6643
- designSystemComponents: z215.number(),
6644
- assets: z215.number(),
6645
- documentationPages: z215.number(),
6646
- figmaComponents: z215.number()
6647
- });
6648
- var DTODesignSystemVersionStatsQuery = z215.object({
6653
+ import { z as z216 } from "zod";
6654
+ var DTODesignSystemVersionStats = z216.object({
6655
+ tokens: z216.number(),
6656
+ designSystemComponents: z216.number(),
6657
+ assets: z216.number(),
6658
+ documentationPages: z216.number(),
6659
+ figmaComponents: z216.number()
6660
+ });
6661
+ var DTODesignSystemVersionStatsQuery = z216.object({
6649
6662
  /**
6650
6663
  * Unique ID across versions (non-persistent ID)
6651
6664
  */
6652
- brandId: z215.string().optional()
6665
+ brandId: z216.string().optional()
6653
6666
  });
6654
6667
 
6655
6668
  // src/api/dto/design-systems/storybook.ts
6656
- import { z as z216 } from "zod";
6657
- var DTOStorybookUploadUrlRequest = z216.object({
6658
- name: z216.string()
6659
- });
6660
- var DTOStorybookUploadUrlResponse = z216.object({
6661
- signedUrl: z216.string(),
6662
- storybookUploadId: z216.string()
6663
- });
6664
- var DTOStorybookAccessTokenResponse = z216.object({
6665
- accessToken: z216.string()
6666
- });
6667
- var DTOStorybookAccessTokenPayload = z216.object({
6668
- designSystemId: z216.string(),
6669
- storybookUploadId: z216.string()
6670
- });
6671
- var DTOStorybookUploadStatus = z216.object({
6672
- status: z216.enum(["Failed", "InProgress", "Completed", "Unknown"]),
6673
- timestamp: z216.number().optional(),
6674
- reason: z216.string().optional()
6675
- });
6676
- var DTOStorybookEntryOrigin = z216.object({
6677
- id: z216.string(),
6678
- type: z216.enum(["story", "docs"]),
6679
- name: z216.string(),
6680
- title: z216.string()
6681
- });
6682
- var DTOStorybookEntry = z216.object({
6683
- id: z216.string(),
6684
- storyId: z216.string(),
6685
- designSystemId: z216.string(),
6686
- sourceId: z216.string(),
6687
- aliases: z216.array(z216.string()).optional(),
6688
- url: z216.string(),
6689
- isDeleted: z216.boolean().optional(),
6669
+ import { z as z217 } from "zod";
6670
+ var DTOStorybookUploadUrlRequest = z217.object({
6671
+ name: z217.string()
6672
+ });
6673
+ var DTOStorybookUploadUrlResponse = z217.object({
6674
+ signedUrl: z217.string(),
6675
+ storybookUploadId: z217.string()
6676
+ });
6677
+ var DTOStorybookAccessTokenResponse = z217.object({
6678
+ accessToken: z217.string()
6679
+ });
6680
+ var DTOStorybookAccessTokenPayload = z217.object({
6681
+ designSystemId: z217.string(),
6682
+ storybookUploadId: z217.string()
6683
+ });
6684
+ var DTOStorybookUploadStatus = z217.object({
6685
+ status: z217.enum(["Failed", "InProgress", "Completed", "Unknown"]),
6686
+ timestamp: z217.number().optional(),
6687
+ reason: z217.string().optional()
6688
+ });
6689
+ var DTOStorybookEntryOrigin = z217.object({
6690
+ id: z217.string(),
6691
+ type: z217.enum(["story", "docs"]),
6692
+ name: z217.string(),
6693
+ title: z217.string()
6694
+ });
6695
+ var DTOStorybookEntry = z217.object({
6696
+ id: z217.string(),
6697
+ storyId: z217.string(),
6698
+ designSystemId: z217.string(),
6699
+ sourceId: z217.string(),
6700
+ aliases: z217.array(z217.string()).optional(),
6701
+ url: z217.string(),
6702
+ isDeleted: z217.boolean().optional(),
6690
6703
  origin: DTOStorybookEntryOrigin,
6691
- createdAt: z216.coerce.date(),
6692
- updatedAt: z216.coerce.date()
6704
+ createdAt: z217.coerce.date(),
6705
+ updatedAt: z217.coerce.date()
6693
6706
  });
6694
- var DTOStorybookEntryReplaceAction = z216.object({
6695
- newStoryId: z216.string()
6707
+ var DTOStorybookEntryReplaceAction = z217.object({
6708
+ newStoryId: z217.string()
6696
6709
  });
6697
- var DTOStorybookEntryListResponse = z216.object({ entries: z216.array(DTOStorybookEntry) });
6698
- var DTOStorybookEntryResponse = z216.object({ entry: DTOStorybookEntry });
6710
+ var DTOStorybookEntryListResponse = z217.object({ entries: z217.array(DTOStorybookEntry) });
6711
+ var DTOStorybookEntryResponse = z217.object({ entry: DTOStorybookEntry });
6699
6712
 
6700
6713
  // src/api/dto/design-systems/user-design-systems.ts
6701
- import { z as z224 } from "zod";
6714
+ import { z as z225 } from "zod";
6702
6715
 
6703
6716
  // src/api/dto/workspaces/git.ts
6704
- import { z as z217 } from "zod";
6705
- var DTOGitOrganization = z217.object({
6706
- id: z217.string(),
6707
- name: z217.string(),
6708
- url: z217.string(),
6709
- slug: z217.string()
6717
+ import { z as z218 } from "zod";
6718
+ var DTOGitOrganization = z218.object({
6719
+ id: z218.string(),
6720
+ name: z218.string(),
6721
+ url: z218.string(),
6722
+ slug: z218.string()
6710
6723
  });
6711
- var DTOGitProject = z217.object({
6712
- id: z217.string(),
6713
- name: z217.string(),
6714
- url: z217.string(),
6715
- slug: z217.string()
6724
+ var DTOGitProject = z218.object({
6725
+ id: z218.string(),
6726
+ name: z218.string(),
6727
+ url: z218.string(),
6728
+ slug: z218.string()
6716
6729
  });
6717
- var DTOGitRepository = z217.object({
6718
- id: z217.string(),
6719
- name: z217.string(),
6720
- url: z217.string(),
6721
- slug: z217.string(),
6722
- defaultBranch: z217.string().optional()
6730
+ var DTOGitRepository = z218.object({
6731
+ id: z218.string(),
6732
+ name: z218.string(),
6733
+ url: z218.string(),
6734
+ slug: z218.string(),
6735
+ defaultBranch: z218.string().optional()
6723
6736
  });
6724
- var DTOGitBranch = z217.object({
6725
- name: z217.string(),
6726
- lastCommitId: z217.string()
6737
+ var DTOGitBranch = z218.object({
6738
+ name: z218.string(),
6739
+ lastCommitId: z218.string()
6727
6740
  });
6728
6741
 
6729
6742
  // src/api/dto/workspaces/integrations.ts
6730
- import { z as z218 } from "zod";
6743
+ import { z as z219 } from "zod";
6731
6744
  var DTOIntegrationCredentials = IntegrationCredentials.omit({
6732
6745
  accessToken: true,
6733
6746
  refreshToken: true
6734
6747
  });
6735
- var DTOIntegration = z218.object({
6736
- id: z218.string(),
6737
- workspaceId: z218.string(),
6748
+ var DTOIntegration = z219.object({
6749
+ id: z219.string(),
6750
+ workspaceId: z219.string(),
6738
6751
  type: ExtendedIntegrationType,
6739
- createdAt: z218.coerce.date(),
6740
- integrationCredentials: z218.array(DTOIntegrationCredentials).optional(),
6741
- integrationDesignSystems: z218.array(IntegrationDesignSystem).optional()
6752
+ createdAt: z219.coerce.date(),
6753
+ integrationCredentials: z219.array(DTOIntegrationCredentials).optional(),
6754
+ integrationDesignSystems: z219.array(IntegrationDesignSystem).optional()
6742
6755
  });
6743
- var DTOIntegrationOAuthGetResponse = z218.object({
6744
- url: z218.string()
6756
+ var DTOIntegrationOAuthGetResponse = z219.object({
6757
+ url: z219.string()
6745
6758
  });
6746
- var DTOIntegrationPostResponse = z218.object({
6759
+ var DTOIntegrationPostResponse = z219.object({
6747
6760
  integration: DTOIntegration
6748
6761
  });
6749
- var DTOIntegrationsGetListResponse = z218.object({
6762
+ var DTOIntegrationsGetListResponse = z219.object({
6750
6763
  integrations: DTOIntegration.array()
6751
6764
  });
6752
6765
 
6753
6766
  // src/api/dto/workspaces/invitations.ts
6754
- import { z as z219 } from "zod";
6755
- var DTOWorkspaceInvitationInput = z219.object({
6756
- email: z219.string().email(),
6767
+ import { z as z220 } from "zod";
6768
+ var DTOWorkspaceInvitationInput = z220.object({
6769
+ email: z220.string().email(),
6757
6770
  role: WorkspaceRoleSchema
6758
6771
  });
6759
- var DTOWorkspaceInvitationsListInput = z219.object({
6772
+ var DTOWorkspaceInvitationsListInput = z220.object({
6760
6773
  invites: DTOWorkspaceInvitationInput.array().max(100),
6761
- designSystemId: z219.string().optional()
6774
+ designSystemId: z220.string().optional()
6762
6775
  });
6763
- var DTOWorkspaceInvitationsResponse = z219.object({
6776
+ var DTOWorkspaceInvitationsResponse = z220.object({
6764
6777
  invitations: WorkspaceInvitation.array()
6765
6778
  });
6766
- var DTOWorkspaceInviteUpdate = z219.object({
6779
+ var DTOWorkspaceInviteUpdate = z220.object({
6767
6780
  role: WorkspaceRoleSchema
6768
6781
  });
6769
- var DTOWorkspaceInvitationUpdateResponse = z219.object({
6782
+ var DTOWorkspaceInvitationUpdateResponse = z220.object({
6770
6783
  invitation: WorkspaceInvitation
6771
6784
  });
6772
6785
 
6773
6786
  // src/api/dto/workspaces/membership.ts
6774
- import { z as z222 } from "zod";
6787
+ import { z as z223 } from "zod";
6775
6788
 
6776
6789
  // src/api/dto/workspaces/workspace.ts
6777
- import { z as z221 } from "zod";
6790
+ import { z as z222 } from "zod";
6778
6791
 
6779
6792
  // src/api/dto/workspaces/npm-registry.ts
6780
- import { z as z220 } from "zod";
6793
+ import { z as z221 } from "zod";
6781
6794
  var DTONpmRegistryConfigConstants = {
6782
6795
  passwordPlaceholder: "redacted"
6783
6796
  };
6784
- var DTONpmRegistryConfig = z220.object({
6797
+ var DTONpmRegistryConfig = z221.object({
6785
6798
  // Registry basic configuration
6786
6799
  registryType: NpmRegistryType,
6787
- registryUrl: z220.string(),
6788
- customRegistryUrl: z220.string().optional(),
6800
+ registryUrl: z221.string(),
6801
+ customRegistryUrl: z221.string().optional(),
6789
6802
  // URL of Supernova NPM packages proxy
6790
- proxyUrl: z220.string(),
6803
+ proxyUrl: z221.string(),
6791
6804
  // Auth configuration
6792
6805
  authType: NpmRegistryAuthType,
6793
- accessToken: z220.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
6794
- username: z220.string().optional(),
6795
- password: z220.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
6806
+ accessToken: z221.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
6807
+ username: z221.string().optional(),
6808
+ password: z221.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
6796
6809
  // NPM package scopes for whih the proxy should be enabled
6797
- enabledScopes: z220.array(z220.string()),
6810
+ enabledScopes: z221.array(z221.string()),
6798
6811
  // True if client should bypass Supernova proxy and connect directly to the registry
6799
6812
  // (e.g. when the NPM registry is behind a VPN or firewall which prevents Supernova from accessing it)
6800
- bypassProxy: z220.boolean()
6813
+ bypassProxy: z221.boolean()
6801
6814
  });
6802
- var DTONpmRegistryAccessTokenResponse = z220.object({
6803
- version: z220.number(),
6804
- accessToken: z220.string().optional(),
6805
- registryUrl: z220.string()
6815
+ var DTONpmRegistryAccessTokenResponse = z221.object({
6816
+ version: z221.number(),
6817
+ accessToken: z221.string().optional(),
6818
+ registryUrl: z221.string()
6806
6819
  });
6807
- var DTOUpdateRegistryInput = z220.object({
6820
+ var DTOUpdateRegistryInput = z221.object({
6808
6821
  registryType: nullishToOptional(NpmRegistryType),
6809
6822
  authType: nullishToOptional(NpmRegistryAuthType),
6810
- enabledScopes: nullishToOptional(z220.array(z220.string())),
6811
- customRegistryUrl: nullishToOptional(z220.string()),
6812
- bypassProxy: nullishToOptional(z220.boolean()),
6813
- npmProxyVersion: nullishToOptional(z220.number()),
6814
- authHeaderName: nullishToOptional(z220.string()),
6815
- authHeaderValue: nullishToOptional(z220.string()),
6816
- accessToken: nullishToOptional(z220.string()),
6817
- username: nullishToOptional(z220.string()),
6818
- password: nullishToOptional(z220.string())
6819
- });
6820
- var DTOUpdateRegistryOutput = z220.object({
6823
+ enabledScopes: nullishToOptional(z221.array(z221.string())),
6824
+ customRegistryUrl: nullishToOptional(z221.string()),
6825
+ bypassProxy: nullishToOptional(z221.boolean()),
6826
+ npmProxyVersion: nullishToOptional(z221.number()),
6827
+ authHeaderName: nullishToOptional(z221.string()),
6828
+ authHeaderValue: nullishToOptional(z221.string()),
6829
+ accessToken: nullishToOptional(z221.string()),
6830
+ username: nullishToOptional(z221.string()),
6831
+ password: nullishToOptional(z221.string())
6832
+ });
6833
+ var DTOUpdateRegistryOutput = z221.object({
6821
6834
  npmRegistrySettings: DTONpmRegistryConfig
6822
6835
  });
6823
6836
 
6824
6837
  // src/api/dto/workspaces/workspace.ts
6825
6838
  var DTOWorkspaceProfile = WorkspaceProfile;
6826
- var DTOWorkspace = z221.object({
6827
- id: z221.string(),
6839
+ var DTOWorkspace = z222.object({
6840
+ id: z222.string(),
6828
6841
  profile: DTOWorkspaceProfile,
6829
6842
  subscription: Subscription,
6830
6843
  npmRegistry: DTONpmRegistryConfig.optional()
6831
6844
  });
6832
- var DTOWorkspaceCreateInput = z221.object({
6833
- name: z221.string()
6845
+ var DTOWorkspaceCreateInput = z222.object({
6846
+ name: z222.string()
6834
6847
  });
6835
- var DTOWorkspaceResponse = z221.object({
6848
+ var DTOWorkspaceResponse = z222.object({
6836
6849
  workspace: DTOWorkspace
6837
6850
  });
6838
6851
 
6839
6852
  // src/api/dto/workspaces/membership.ts
6840
- var DTOWorkspaceRole = z222.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Contributor"]);
6841
- var DTOUserWorkspaceMembership = z222.object({
6853
+ var DTOWorkspaceRole = z223.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Contributor"]);
6854
+ var DTOUserWorkspaceMembership = z223.object({
6842
6855
  // Workspace the user is a member of
6843
6856
  workspace: DTOWorkspace,
6844
6857
  // Assigned role the user has in the workspace
@@ -6848,54 +6861,54 @@ var DTOUserWorkspaceMembership = z222.object({
6848
6861
  // when a workspace's subscription is downgraded to free tier
6849
6862
  effectiveRole: DTOWorkspaceRole
6850
6863
  });
6851
- var DTOWorkspaceMember = z222.object({
6864
+ var DTOWorkspaceMember = z223.object({
6852
6865
  user: User,
6853
6866
  role: WorkspaceRoleSchema,
6854
6867
  effectiveRole: WorkspaceRoleSchema
6855
6868
  });
6856
- var DTOUserWorkspaceMembershipsResponse = z222.object({
6857
- membership: z222.array(DTOUserWorkspaceMembership)
6869
+ var DTOUserWorkspaceMembershipsResponse = z223.object({
6870
+ membership: z223.array(DTOUserWorkspaceMembership)
6858
6871
  });
6859
- var DTOWorkspaceMembersListResponse = z222.object({
6860
- members: z222.array(DTOWorkspaceMember)
6872
+ var DTOWorkspaceMembersListResponse = z223.object({
6873
+ members: z223.array(DTOWorkspaceMember)
6861
6874
  });
6862
6875
 
6863
6876
  // src/api/dto/workspaces/untyped-data.ts
6864
- import { z as z223 } from "zod";
6877
+ import { z as z224 } from "zod";
6865
6878
  var DTOWorkspaceUntypedData = WorkspaceUntypedData;
6866
- var DTOWorkspaceUntypedDataListResponse = z223.object({
6879
+ var DTOWorkspaceUntypedDataListResponse = z224.object({
6867
6880
  data: DTOWorkspaceUntypedData.array()
6868
6881
  });
6869
- var DTOWorkspaceUntypedDataResponse = z223.object({
6882
+ var DTOWorkspaceUntypedDataResponse = z224.object({
6870
6883
  data: DTOWorkspaceUntypedData
6871
6884
  });
6872
- var DTOWorkspaceUntypedDataCreatePayload = z223.object({
6873
- value: z223.unknown()
6885
+ var DTOWorkspaceUntypedDataCreatePayload = z224.object({
6886
+ value: z224.unknown()
6874
6887
  });
6875
- var DTOWorkspaceUntypedDataUpdatePayload = z223.object({
6876
- value: z223.unknown()
6888
+ var DTOWorkspaceUntypedDataUpdatePayload = z224.object({
6889
+ value: z224.unknown()
6877
6890
  });
6878
6891
 
6879
6892
  // src/api/dto/design-systems/user-design-systems.ts
6880
- var DTOUserDesignSystemsResponse = z224.object({
6893
+ var DTOUserDesignSystemsResponse = z225.object({
6881
6894
  designSystems: DTODesignSystem.array(),
6882
6895
  workspaces: DTOWorkspace.array()
6883
6896
  });
6884
6897
 
6885
6898
  // src/api/dto/design-systems/version-room.ts
6886
- import { z as z225 } from "zod";
6887
- var DTODesignSystemVersionRoom = z225.object({
6888
- id: z225.string()
6899
+ import { z as z226 } from "zod";
6900
+ var DTODesignSystemVersionRoom = z226.object({
6901
+ id: z226.string()
6889
6902
  });
6890
- var DTODesignSystemVersionRoomResponse = z225.object({
6903
+ var DTODesignSystemVersionRoomResponse = z226.object({
6891
6904
  room: DTODesignSystemVersionRoom
6892
6905
  });
6893
6906
 
6894
6907
  // src/api/dto/design-systems/version.ts
6895
- import { z as z238 } from "zod";
6908
+ import { z as z239 } from "zod";
6896
6909
 
6897
6910
  // src/api/payloads/design-systems/update-design-system.ts
6898
- import { z as z226 } from "zod";
6911
+ import { z as z227 } from "zod";
6899
6912
  var DTODesignSystemUpdateInput = DesignSystem.partial().omit({
6900
6913
  id: true,
6901
6914
  workspaceId: true,
@@ -6907,56 +6920,56 @@ var DTODesignSystemUpdateInput = DesignSystem.partial().omit({
6907
6920
  }).extend({
6908
6921
  meta: ObjectMeta.partial().optional()
6909
6922
  });
6910
- var DTODesignSystemUpdateAccessModeInput = z226.object({
6923
+ var DTODesignSystemUpdateAccessModeInput = z227.object({
6911
6924
  accessMode: DesignSystemAccessMode,
6912
- retain: z226.object({
6913
- userIds: z226.string().array(),
6914
- inviteIds: z226.string().array()
6925
+ retain: z227.object({
6926
+ userIds: z227.string().array(),
6927
+ inviteIds: z227.string().array()
6915
6928
  }).optional()
6916
6929
  });
6917
6930
 
6918
6931
  // src/api/payloads/design-systems/version.ts
6919
- import { z as z227 } from "zod";
6920
- var ObjectMeta2 = z227.object({
6921
- name: z227.string().max(150).optional(),
6922
- description: z227.string().max(2e3).optional()
6932
+ import { z as z228 } from "zod";
6933
+ var ObjectMeta2 = z228.object({
6934
+ name: z228.string().max(150).optional(),
6935
+ description: z228.string().max(2e3).optional()
6923
6936
  });
6924
6937
  function validateDesignSystemVersion(version) {
6925
6938
  const urlCompliantRegex = /^[a-zA-Z0-9+.-]+$/;
6926
6939
  return urlCompliantRegex.test(version);
6927
6940
  }
6928
- var DTOCreateVersionInput = z227.object({
6941
+ var DTOCreateVersionInput = z228.object({
6929
6942
  meta: ObjectMeta2,
6930
- version: z227.string().refine(validateDesignSystemVersion, {
6943
+ version: z228.string().refine(validateDesignSystemVersion, {
6931
6944
  message: "Invalid semantic versioning format"
6932
6945
  }),
6933
- changeLog: z227.string().optional()
6946
+ changeLog: z228.string().optional()
6934
6947
  });
6935
- var DTOUpdateVersionInput = z227.object({
6948
+ var DTOUpdateVersionInput = z228.object({
6936
6949
  meta: ObjectMeta2,
6937
- version: z227.string(),
6950
+ version: z228.string(),
6938
6951
  // required for PUT, but not editable
6939
- changeLog: z227.string()
6952
+ changeLog: z228.string()
6940
6953
  });
6941
6954
 
6942
6955
  // src/api/payloads/documentation/analytics.ts
6943
- import { z as z228 } from "zod";
6944
- var DTODocumentationAnalyticsTimeFrameComparison = z228.object({
6945
- referencePeriod: z228.object({
6946
- start: z228.coerce.date(),
6947
- end: z228.coerce.date().optional()
6956
+ import { z as z229 } from "zod";
6957
+ var DTODocumentationAnalyticsTimeFrameComparison = z229.object({
6958
+ referencePeriod: z229.object({
6959
+ start: z229.coerce.date(),
6960
+ end: z229.coerce.date().optional()
6948
6961
  }),
6949
- baselinePeriod: z228.object({
6950
- start: z228.coerce.date(),
6951
- end: z228.coerce.date().optional()
6962
+ baselinePeriod: z229.object({
6963
+ start: z229.coerce.date(),
6964
+ end: z229.coerce.date().optional()
6952
6965
  })
6953
6966
  });
6954
- var DTODocumentationAnalyticsDiffPayload = z228.object({
6955
- timeFrames: z228.array(DTODocumentationAnalyticsTimeFrameComparison)
6967
+ var DTODocumentationAnalyticsDiffPayload = z229.object({
6968
+ timeFrames: z229.array(DTODocumentationAnalyticsTimeFrameComparison)
6956
6969
  });
6957
6970
 
6958
6971
  // src/api/payloads/documentation/block-definitions.ts
6959
- import { z as z229 } from "zod";
6972
+ import { z as z230 } from "zod";
6960
6973
 
6961
6974
  // src/api/dto/documentation/block-definition.ts
6962
6975
  var DTOPageBlockDefinitionBehavior = PageBlockDefinitionBehavior;
@@ -6968,79 +6981,79 @@ var DTOPageBlockColorV2 = PageBlockColorV2;
6968
6981
  var DTOPageBlockDefinition = PageBlockDefinition;
6969
6982
 
6970
6983
  // src/api/payloads/documentation/block-definitions.ts
6971
- var DTOGetBlockDefinitionsQuery = z229.object({
6972
- files: z229.coerce.boolean().optional()
6984
+ var DTOGetBlockDefinitionsQuery = z230.object({
6985
+ files: z230.coerce.boolean().optional()
6973
6986
  });
6974
- var DTOGetBlockDefinitionsOutput = z229.object({
6975
- definitions: z229.array(DTOPageBlockDefinition)
6987
+ var DTOGetBlockDefinitionsOutput = z230.object({
6988
+ definitions: z230.array(DTOPageBlockDefinition)
6976
6989
  });
6977
6990
 
6978
6991
  // src/api/payloads/documentation/design-data-doc-diff.ts
6979
- import { z as z230 } from "zod";
6980
- var DTODocumentationPublishTypeQueryParams = z230.object({
6981
- environment: z230.enum(["Live", "Preview"])
6992
+ import { z as z231 } from "zod";
6993
+ var DTODocumentationPublishTypeQueryParams = z231.object({
6994
+ environment: z231.enum(["Live", "Preview"])
6982
6995
  });
6983
6996
 
6984
6997
  // src/api/payloads/export/pipeline.ts
6985
- import { z as z232 } from "zod";
6998
+ import { z as z233 } from "zod";
6986
6999
 
6987
7000
  // src/api/dto/export/exporter-property.ts
6988
- import { z as z231 } from "zod";
6989
- var PrimitiveValue2 = z231.number().or(z231.boolean()).or(z231.string());
6990
- var ArrayValue2 = z231.array(z231.string());
6991
- var ObjectValue2 = z231.record(z231.string());
7001
+ import { z as z232 } from "zod";
7002
+ var PrimitiveValue2 = z232.number().or(z232.boolean()).or(z232.string());
7003
+ var ArrayValue2 = z232.array(z232.string());
7004
+ var ObjectValue2 = z232.record(z232.string());
6992
7005
  var DTOExporterPropertyValue = PrimitiveValue2.or(ArrayValue2).or(ObjectValue2);
6993
- var DTOExporterPropertyType = z231.enum(["Enum", "Boolean", "String", "Number", "Array", "Object", "Code"]);
6994
- var PropertyDefinitionBase2 = z231.object({
6995
- key: z231.string(),
6996
- title: z231.string(),
6997
- description: z231.string(),
6998
- category: z231.string().optional(),
6999
- dependsOn: z231.record(z231.boolean()).optional()
7000
- });
7001
- var DTOExporterPropertyDefinitionEnumOption = z231.object({
7002
- label: z231.string(),
7003
- description: z231.string()
7006
+ var DTOExporterPropertyType = z232.enum(["Enum", "Boolean", "String", "Number", "Array", "Object", "Code"]);
7007
+ var PropertyDefinitionBase2 = z232.object({
7008
+ key: z232.string(),
7009
+ title: z232.string(),
7010
+ description: z232.string(),
7011
+ category: z232.string().optional(),
7012
+ dependsOn: z232.record(z232.boolean()).optional()
7013
+ });
7014
+ var DTOExporterPropertyDefinitionEnumOption = z232.object({
7015
+ label: z232.string(),
7016
+ description: z232.string()
7004
7017
  });
7005
7018
  var DTOExporterPropertyDefinitionEnum = PropertyDefinitionBase2.extend({
7006
- type: z231.literal(DTOExporterPropertyType.Enum.Enum),
7007
- options: z231.record(DTOExporterPropertyDefinitionEnumOption),
7008
- default: z231.string()
7019
+ type: z232.literal(DTOExporterPropertyType.Enum.Enum),
7020
+ options: z232.record(DTOExporterPropertyDefinitionEnumOption),
7021
+ default: z232.string()
7009
7022
  });
7010
7023
  var DTOExporterPropertyDefinitionBoolean = PropertyDefinitionBase2.extend({
7011
- type: z231.literal(DTOExporterPropertyType.Enum.Boolean),
7012
- default: z231.boolean()
7024
+ type: z232.literal(DTOExporterPropertyType.Enum.Boolean),
7025
+ default: z232.boolean()
7013
7026
  });
7014
7027
  var DTOExporterPropertyDefinitionString = PropertyDefinitionBase2.extend({
7015
- type: z231.literal(DTOExporterPropertyType.Enum.String),
7016
- default: z231.string(),
7017
- isMultiline: z231.boolean().optional()
7028
+ type: z232.literal(DTOExporterPropertyType.Enum.String),
7029
+ default: z232.string(),
7030
+ isMultiline: z232.boolean().optional()
7018
7031
  });
7019
7032
  var DTOExporterPropertyDefinitionNumber = PropertyDefinitionBase2.extend({
7020
- type: z231.literal(DTOExporterPropertyType.Enum.Number),
7021
- default: z231.number()
7033
+ type: z232.literal(DTOExporterPropertyType.Enum.Number),
7034
+ default: z232.number()
7022
7035
  });
7023
7036
  var DTOExporterPropertyDefinitionArray = PropertyDefinitionBase2.extend({
7024
- type: z231.literal(DTOExporterPropertyType.Enum.Array),
7037
+ type: z232.literal(DTOExporterPropertyType.Enum.Array),
7025
7038
  default: ArrayValue2
7026
7039
  });
7027
7040
  var DTOExporterPropertyDefinitionObject = PropertyDefinitionBase2.extend({
7028
- type: z231.literal(DTOExporterPropertyType.Enum.Object),
7041
+ type: z232.literal(DTOExporterPropertyType.Enum.Object),
7029
7042
  default: ObjectValue2,
7030
- allowedKeys: z231.object({
7031
- options: z231.string().array(),
7032
- type: z231.string()
7043
+ allowedKeys: z232.object({
7044
+ options: z232.string().array(),
7045
+ type: z232.string()
7033
7046
  }).optional(),
7034
- allowedValues: z231.object({
7035
- type: z231.string()
7047
+ allowedValues: z232.object({
7048
+ type: z232.string()
7036
7049
  }).optional()
7037
7050
  });
7038
7051
  var DTOExporterPropertyDefinitionCode = PropertyDefinitionBase2.extend({
7039
- type: z231.literal(DTOExporterPropertyType.Enum.Code),
7040
- language: z231.string(),
7041
- default: z231.string()
7052
+ type: z232.literal(DTOExporterPropertyType.Enum.Code),
7053
+ language: z232.string(),
7054
+ default: z232.string()
7042
7055
  });
7043
- var DTOExporterPropertyDefinition = z231.discriminatedUnion("type", [
7056
+ var DTOExporterPropertyDefinition = z232.discriminatedUnion("type", [
7044
7057
  DTOExporterPropertyDefinitionEnum,
7045
7058
  DTOExporterPropertyDefinitionBoolean,
7046
7059
  DTOExporterPropertyDefinitionString,
@@ -7049,84 +7062,84 @@ var DTOExporterPropertyDefinition = z231.discriminatedUnion("type", [
7049
7062
  DTOExporterPropertyDefinitionObject,
7050
7063
  DTOExporterPropertyDefinitionCode
7051
7064
  ]);
7052
- var DTOExporterPropertyDefinitionsResponse = z231.object({
7065
+ var DTOExporterPropertyDefinitionsResponse = z232.object({
7053
7066
  properties: DTOExporterPropertyDefinition.array()
7054
7067
  });
7055
- var DTOExporterPropertyValueMap = z231.record(DTOExporterPropertyValue);
7068
+ var DTOExporterPropertyValueMap = z232.record(DTOExporterPropertyValue);
7056
7069
 
7057
7070
  // src/api/payloads/export/pipeline.ts
7058
- var GitDestinationOptions = z232.object({
7059
- branch: z232.string().min(1).nullish(),
7060
- commitMessage: z232.string().min(1).nullish(),
7061
- commitAuthorName: z232.string().min(1).nullish(),
7062
- commitAuthorEmail: z232.string().email().nullish(),
7063
- pullRequestTitle: z232.string().min(1).nullish(),
7064
- pullRequestDescription: z232.string().min(1).nullish(),
7065
- relativePath: z232.string().nullish(),
7066
- purgeDirectory: z232.boolean().nullish()
7067
- });
7068
- var DTOPipelineCreateBody = z232.object({
7069
- name: z232.string(),
7070
- exporterId: z232.string(),
7071
- designSystemId: z232.string(),
7072
- isEnabled: z232.boolean(),
7071
+ var GitDestinationOptions = z233.object({
7072
+ branch: z233.string().min(1).nullish(),
7073
+ commitMessage: z233.string().min(1).nullish(),
7074
+ commitAuthorName: z233.string().min(1).nullish(),
7075
+ commitAuthorEmail: z233.string().email().nullish(),
7076
+ pullRequestTitle: z233.string().min(1).nullish(),
7077
+ pullRequestDescription: z233.string().min(1).nullish(),
7078
+ relativePath: z233.string().nullish(),
7079
+ purgeDirectory: z233.boolean().nullish()
7080
+ });
7081
+ var DTOPipelineCreateBody = z233.object({
7082
+ name: z233.string(),
7083
+ exporterId: z233.string(),
7084
+ designSystemId: z233.string(),
7085
+ isEnabled: z233.boolean(),
7073
7086
  eventType: PipelineEventType,
7074
- brandPersistentId: z232.string().optional(),
7075
- themePersistentId: z232.string().optional(),
7076
- themePersistentIds: z232.string().array().optional(),
7087
+ brandPersistentId: z233.string().optional(),
7088
+ themePersistentId: z233.string().optional(),
7089
+ themePersistentIds: z233.string().array().optional(),
7077
7090
  exporterPropertyValues: DTOExporterPropertyValueMap.optional(),
7078
7091
  destination: PipelineDestinationType.optional(),
7079
7092
  gitQuery: GitObjectsQuery,
7080
- destinations: z232.object({
7093
+ destinations: z233.object({
7081
7094
  s3: ExporterDestinationS3.nullish(),
7082
7095
  azure: ExporterDestinationAzure.nullish(),
7083
7096
  bitbucket: ExporterDestinationBitbucket.nullish(),
7084
7097
  github: ExporterDestinationGithub.nullish(),
7085
7098
  gitlab: ExporterDestinationGitlab.nullish(),
7086
7099
  documentation: ExporterDestinationDocs.nullish(),
7087
- webhookUrl: z232.string().nullish()
7100
+ webhookUrl: z233.string().nullish()
7088
7101
  })
7089
7102
  });
7090
- var DTOPipelineUpdateBody = z232.object({
7091
- exporterId: z232.string().optional(),
7092
- name: z232.string().optional(),
7093
- isEnabled: z232.boolean().optional(),
7103
+ var DTOPipelineUpdateBody = z233.object({
7104
+ exporterId: z233.string().optional(),
7105
+ name: z233.string().optional(),
7106
+ isEnabled: z233.boolean().optional(),
7094
7107
  eventType: PipelineEventType.optional(),
7095
- brandPersistentId: z232.string().optional(),
7096
- themePersistentId: z232.string().optional(),
7097
- themePersistentIds: z232.string().array().optional(),
7108
+ brandPersistentId: z233.string().optional(),
7109
+ themePersistentId: z233.string().optional(),
7110
+ themePersistentIds: z233.string().array().optional(),
7098
7111
  exporterPropertyValues: DTOExporterPropertyValueMap.optional(),
7099
7112
  destination: PipelineDestinationType.optional(),
7100
7113
  gitQuery: GitObjectsQuery.optional(),
7101
- destinations: z232.object({
7114
+ destinations: z233.object({
7102
7115
  s3: ExporterDestinationS3.nullish(),
7103
7116
  azure: ExporterDestinationAzure.nullish(),
7104
7117
  bitbucket: ExporterDestinationBitbucket.nullish(),
7105
7118
  github: ExporterDestinationGithub.nullish(),
7106
7119
  gitlab: ExporterDestinationGitlab.nullish(),
7107
7120
  documentation: ExporterDestinationDocs.nullish(),
7108
- webhookUrl: z232.string().nullish()
7121
+ webhookUrl: z233.string().nullish()
7109
7122
  }).optional(),
7110
7123
  gitDestinationOptions: GitDestinationOptions.partial().optional()
7111
7124
  });
7112
- var DTOPipelineTriggerBody = z232.object({
7113
- designSystemVersionId: z232.string()
7125
+ var DTOPipelineTriggerBody = z233.object({
7126
+ designSystemVersionId: z233.string()
7114
7127
  });
7115
7128
 
7116
7129
  // src/api/payloads/liveblocks/auth.ts
7117
- import { z as z233 } from "zod";
7118
- var DTOLiveblocksAuthRequest = z233.object({
7119
- room: z233.string().optional()
7130
+ import { z as z234 } from "zod";
7131
+ var DTOLiveblocksAuthRequest = z234.object({
7132
+ room: z234.string().optional()
7120
7133
  });
7121
7134
 
7122
7135
  // src/api/payloads/users/notifications/notification-settings.ts
7123
- import { z as z234 } from "zod";
7124
- var DTOUpdateUserNotificationSettingsPayload = z234.object({
7136
+ import { z as z235 } from "zod";
7137
+ var DTOUpdateUserNotificationSettingsPayload = z235.object({
7125
7138
  notificationSettings: UserNotificationSettings
7126
7139
  });
7127
- var DTOUserNotificationSettingsResponse = z234.object({
7128
- userId: z234.string(),
7129
- workspaceId: z234.string(),
7140
+ var DTOUserNotificationSettingsResponse = z235.object({
7141
+ userId: z235.string(),
7142
+ workspaceId: z235.string(),
7130
7143
  notificationSettings: UserNotificationSettings
7131
7144
  });
7132
7145
 
@@ -7134,13 +7147,13 @@ var DTOUserNotificationSettingsResponse = z234.object({
7134
7147
  var DTOUserProfileUpdatePayload = UserProfileUpdate;
7135
7148
 
7136
7149
  // src/api/payloads/workspaces/transfer-ownership.ts
7137
- import { z as z235 } from "zod";
7138
- var DTOTransferOwnershipPayload = z235.object({
7139
- newOwnerId: z235.string()
7150
+ import { z as z236 } from "zod";
7151
+ var DTOTransferOwnershipPayload = z236.object({
7152
+ newOwnerId: z236.string()
7140
7153
  });
7141
7154
 
7142
7155
  // src/api/payloads/workspaces/workspace-configuration.ts
7143
- import { z as z236 } from "zod";
7156
+ import { z as z237 } from "zod";
7144
7157
  var prohibitedSsoKeys = ["providerId", "metadataXml", "emailDomains"];
7145
7158
  function validateSsoPayload(ssoPayload) {
7146
7159
  const keys = [];
@@ -7163,21 +7176,21 @@ function validateSsoPayload(ssoPayload) {
7163
7176
  keys
7164
7177
  };
7165
7178
  }
7166
- var NpmRegistryInput = z236.object({
7167
- enabledScopes: z236.array(z236.string()),
7168
- customRegistryUrl: z236.string().optional(),
7169
- bypassProxy: z236.boolean().optional(),
7170
- npmProxyRegistryConfigId: z236.string().optional(),
7171
- npmProxyVersion: z236.number().optional(),
7172
- registryType: z236.string(),
7173
- authType: z236.string(),
7174
- authHeaderName: z236.string(),
7175
- authHeaderValue: z236.string(),
7176
- accessToken: z236.string(),
7177
- username: z236.string(),
7178
- password: z236.string()
7179
- });
7180
- var WorkspaceConfigurationPayload = z236.object({
7179
+ var NpmRegistryInput = z237.object({
7180
+ enabledScopes: z237.array(z237.string()),
7181
+ customRegistryUrl: z237.string().optional(),
7182
+ bypassProxy: z237.boolean().optional(),
7183
+ npmProxyRegistryConfigId: z237.string().optional(),
7184
+ npmProxyVersion: z237.number().optional(),
7185
+ registryType: z237.string(),
7186
+ authType: z237.string(),
7187
+ authHeaderName: z237.string(),
7188
+ authHeaderValue: z237.string(),
7189
+ accessToken: z237.string(),
7190
+ username: z237.string(),
7191
+ password: z237.string()
7192
+ });
7193
+ var WorkspaceConfigurationPayload = z237.object({
7181
7194
  ipWhitelist: WorkspaceIpSettings.partial().optional(),
7182
7195
  sso: SsoProvider.partial().optional(),
7183
7196
  npmRegistrySettings: NpmRegistryInput.partial().optional(),
@@ -7185,107 +7198,107 @@ var WorkspaceConfigurationPayload = z236.object({
7185
7198
  });
7186
7199
 
7187
7200
  // src/api/payloads/workspaces/workspace-integrations.ts
7188
- import { z as z237 } from "zod";
7189
- var DTOWorkspaceIntegrationOauthInput = z237.object({
7201
+ import { z as z238 } from "zod";
7202
+ var DTOWorkspaceIntegrationOauthInput = z238.object({
7190
7203
  type: IntegrationType
7191
7204
  });
7192
- var DTOWorkspaceIntegrationPATInput = z237.object({
7205
+ var DTOWorkspaceIntegrationPATInput = z238.object({
7193
7206
  type: IntegrationType,
7194
7207
  token: IntegrationToken
7195
7208
  });
7196
- var DTOWorkspaceIntegrationGetGitObjectsInput = z237.object({
7197
- organization: z237.string().optional(),
7209
+ var DTOWorkspaceIntegrationGetGitObjectsInput = z238.object({
7210
+ organization: z238.string().optional(),
7198
7211
  // Azure Organization | Bitbucket Workspace slug | Gitlab Group and Sub-Groups | Github Account (User or Organization)
7199
- project: z237.string().optional(),
7212
+ project: z238.string().optional(),
7200
7213
  // Only for Bitbucket and Azure
7201
- repository: z237.string().optional(),
7214
+ repository: z238.string().optional(),
7202
7215
  // For all providers. Pay attention for Gitlab, they call repositories "projects".
7203
- branch: z237.string().optional(),
7216
+ branch: z238.string().optional(),
7204
7217
  // For all providers, useful for PR creations.
7205
- user: z237.string().optional()
7218
+ user: z238.string().optional()
7206
7219
  // Only for Gitlab User Repositories
7207
7220
  });
7208
7221
 
7209
7222
  // src/api/dto/design-systems/version.ts
7210
- var DTODesignSystemVersion = z238.object({
7211
- id: z238.string(),
7212
- createdAt: z238.coerce.date(),
7223
+ var DTODesignSystemVersion = z239.object({
7224
+ id: z239.string(),
7225
+ createdAt: z239.coerce.date(),
7213
7226
  meta: ObjectMeta,
7214
- version: z238.string(),
7215
- isReadonly: z238.boolean(),
7216
- changeLog: z238.string(),
7217
- designSystemId: z238.string()
7227
+ version: z239.string(),
7228
+ isReadonly: z239.boolean(),
7229
+ changeLog: z239.string(),
7230
+ designSystemId: z239.string()
7218
7231
  });
7219
- var DTODesignSystemVersionsListResponse = z238.object({
7220
- designSystemVersions: z238.array(DTODesignSystemVersion)
7232
+ var DTODesignSystemVersionsListResponse = z239.object({
7233
+ designSystemVersions: z239.array(DTODesignSystemVersion)
7221
7234
  });
7222
- var DTODesignSystemVersionGetResponse = z238.object({
7235
+ var DTODesignSystemVersionGetResponse = z239.object({
7223
7236
  designSystemVersion: DTODesignSystemVersion
7224
7237
  });
7225
- var DTODesignSystemVersionCreationResponse = z238.object({
7238
+ var DTODesignSystemVersionCreationResponse = z239.object({
7226
7239
  meta: ObjectMeta,
7227
- version: z238.string(),
7228
- changeLog: z238.string(),
7229
- isReadOnly: z238.boolean(),
7230
- designSystemId: z238.string(),
7231
- jobId: z238.string()
7232
- });
7233
- var VersionSQSPayload = z238.object({
7234
- jobId: z238.string(),
7235
- designSystemId: z238.string(),
7240
+ version: z239.string(),
7241
+ changeLog: z239.string(),
7242
+ isReadOnly: z239.boolean(),
7243
+ designSystemId: z239.string(),
7244
+ jobId: z239.string()
7245
+ });
7246
+ var VersionSQSPayload = z239.object({
7247
+ jobId: z239.string(),
7248
+ designSystemId: z239.string(),
7236
7249
  input: DTOCreateVersionInput
7237
7250
  });
7238
- var DTODesignSystemVersionJobsResponse = z238.object({
7239
- jobs: z238.array(VersionCreationJob)
7251
+ var DTODesignSystemVersionJobsResponse = z239.object({
7252
+ jobs: z239.array(VersionCreationJob)
7240
7253
  });
7241
- var DTODesignSystemVersionJobStatusResponse = z238.object({
7254
+ var DTODesignSystemVersionJobStatusResponse = z239.object({
7242
7255
  job: VersionCreationJob
7243
7256
  });
7244
7257
 
7245
7258
  // src/api/dto/design-systems/view.ts
7246
- import { z as z239 } from "zod";
7247
- var DTOElementViewColumnSharedAttributes = z239.object({
7248
- id: z239.string(),
7249
- persistentId: z239.string(),
7250
- width: z239.number()
7259
+ import { z as z240 } from "zod";
7260
+ var DTOElementViewColumnSharedAttributes = z240.object({
7261
+ id: z240.string(),
7262
+ persistentId: z240.string(),
7263
+ width: z240.number()
7251
7264
  });
7252
7265
  var DTOElementViewBasePropertyColumn = DTOElementViewColumnSharedAttributes.extend({
7253
- type: z239.literal("BaseProperty"),
7266
+ type: z240.literal("BaseProperty"),
7254
7267
  basePropertyType: ElementViewBaseColumnType
7255
7268
  });
7256
7269
  var DTOElementViewPropertyDefinitionColumn = DTOElementViewColumnSharedAttributes.extend({
7257
- type: z239.literal("PropertyDefinition"),
7258
- propertyDefinitionId: z239.string()
7270
+ type: z240.literal("PropertyDefinition"),
7271
+ propertyDefinitionId: z240.string()
7259
7272
  });
7260
7273
  var DTOElementViewThemeColumn = DTOElementViewColumnSharedAttributes.extend({
7261
- type: z239.literal("Theme"),
7262
- themeId: z239.string()
7274
+ type: z240.literal("Theme"),
7275
+ themeId: z240.string()
7263
7276
  });
7264
- var DTOElementViewColumn = z239.discriminatedUnion("type", [
7277
+ var DTOElementViewColumn = z240.discriminatedUnion("type", [
7265
7278
  DTOElementViewBasePropertyColumn,
7266
7279
  DTOElementViewPropertyDefinitionColumn,
7267
7280
  DTOElementViewThemeColumn
7268
7281
  ]);
7269
- var DTOElementView = z239.object({
7282
+ var DTOElementView = z240.object({
7270
7283
  meta: ObjectMeta,
7271
- persistentId: z239.string(),
7284
+ persistentId: z240.string(),
7272
7285
  targetElementType: ElementPropertyTargetType,
7273
- id: z239.string(),
7274
- isDefault: z239.boolean(),
7275
- columns: z239.array(DTOElementViewColumn)
7286
+ id: z240.string(),
7287
+ isDefault: z240.boolean(),
7288
+ columns: z240.array(DTOElementViewColumn)
7276
7289
  });
7277
- var DTOElementViewsListResponse = z239.object({
7278
- elementDataViews: z239.array(DTOElementView)
7290
+ var DTOElementViewsListResponse = z240.object({
7291
+ elementDataViews: z240.array(DTOElementView)
7279
7292
  });
7280
7293
 
7281
7294
  // src/api/dto/bff/app-bootstrap-data.ts
7282
- var DTOAppBootstrapDataQuery = z240.object({
7283
- preferredWorkspaceId: z240.string().optional(),
7284
- preferredDesignSystemId: z240.string().optional(),
7285
- preferredVersionId: z240.string().optional(),
7286
- preferredBrandId: z240.string().optional()
7295
+ var DTOAppBootstrapDataQuery = z241.object({
7296
+ preferredWorkspaceId: z241.string().optional(),
7297
+ preferredDesignSystemId: z241.string().optional(),
7298
+ preferredVersionId: z241.string().optional(),
7299
+ preferredBrandId: z241.string().optional()
7287
7300
  });
7288
- var DTOAppBootstrapDataResponse = z240.object({
7301
+ var DTOAppBootstrapDataResponse = z241.object({
7289
7302
  workspaceMembership: DTOUserWorkspaceMembership.optional(),
7290
7303
  designSystem: DTODesignSystem.optional(),
7291
7304
  version: DTODesignSystemVersion.optional(),
@@ -7293,92 +7306,92 @@ var DTOAppBootstrapDataResponse = z240.object({
7293
7306
  });
7294
7307
 
7295
7308
  // src/api/dto/collections/token-collection.ts
7296
- import { z as z241 } from "zod";
7297
- var DTOTokenCollection = z241.object({
7298
- id: z241.string(),
7299
- persistentId: z241.string(),
7300
- designSystemVersionId: z241.string(),
7309
+ import { z as z242 } from "zod";
7310
+ var DTOTokenCollection = z242.object({
7311
+ id: z242.string(),
7312
+ persistentId: z242.string(),
7313
+ designSystemVersionId: z242.string(),
7301
7314
  meta: ObjectMeta,
7302
7315
  backgroundColor: ColorTokenInlineData.optional(),
7303
- elementPropertyOptionId: z241.string(),
7304
- createdAt: z241.coerce.date(),
7305
- updatedAt: z241.coerce.date(),
7316
+ elementPropertyOptionId: z242.string(),
7317
+ createdAt: z242.coerce.date(),
7318
+ updatedAt: z242.coerce.date(),
7306
7319
  origin: CollectionOrigin.optional()
7307
7320
  });
7308
- var DTOTokenCollectionsListReponse = z241.object({
7321
+ var DTOTokenCollectionsListReponse = z242.object({
7309
7322
  collections: DTOTokenCollection.array()
7310
7323
  });
7311
7324
 
7312
7325
  // src/api/dto/design-tokens/design-token.ts
7313
- import { z as z242 } from "zod";
7326
+ import { z as z243 } from "zod";
7314
7327
  var DTODesignToken = DesignTokenTypedData.and(
7315
- z242.object({
7316
- id: z242.string(),
7317
- persistentId: z242.string(),
7318
- designSystemVersionId: z242.string(),
7328
+ z243.object({
7329
+ id: z243.string(),
7330
+ persistentId: z243.string(),
7331
+ designSystemVersionId: z243.string(),
7319
7332
  meta: ObjectMeta,
7320
7333
  originStyle: DesignTokenOrigin.optional(),
7321
- brandId: z242.string(),
7322
- collectionId: z242.string().optional(),
7323
- updatedAt: z242.coerce.date()
7334
+ brandId: z243.string(),
7335
+ collectionId: z243.string().optional(),
7336
+ updatedAt: z243.coerce.date()
7324
7337
  })
7325
7338
  );
7326
- var DTODesignTokenListResponse = z242.object({
7339
+ var DTODesignTokenListResponse = z243.object({
7327
7340
  tokens: DTODesignToken.array()
7328
7341
  });
7329
- var DTODesignTokenResponse = z242.object({
7342
+ var DTODesignTokenResponse = z243.object({
7330
7343
  token: DTODesignToken
7331
7344
  });
7332
- var DTODesignTokenGroup = z242.object({
7333
- id: z242.string(),
7345
+ var DTODesignTokenGroup = z243.object({
7346
+ id: z243.string(),
7334
7347
  tokenType: DesignTokenType,
7335
- persistentId: z242.string(),
7336
- isRoot: z242.boolean(),
7337
- brandId: z242.string(),
7348
+ persistentId: z243.string(),
7349
+ isRoot: z243.boolean(),
7350
+ brandId: z243.string(),
7338
7351
  meta: ObjectMeta,
7339
- childrenIds: z242.string().array()
7352
+ childrenIds: z243.string().array()
7340
7353
  });
7341
- var DTODesignTokenGroupListResponse = z242.object({
7354
+ var DTODesignTokenGroupListResponse = z243.object({
7342
7355
  groups: DTODesignTokenGroup.array()
7343
7356
  });
7344
- var DTODesignTokenGroupResponse = z242.object({
7357
+ var DTODesignTokenGroupResponse = z243.object({
7345
7358
  group: DTODesignTokenGroup
7346
7359
  });
7347
7360
  var DTODesignTokenCreatePayload = DesignTokenTypedData.and(
7348
- z242.object({
7349
- persistentId: z242.string(),
7361
+ z243.object({
7362
+ persistentId: z243.string(),
7350
7363
  meta: ObjectMeta,
7351
- brandId: z242.string(),
7352
- groupPersistentId: z242.string().optional()
7364
+ brandId: z243.string(),
7365
+ groupPersistentId: z243.string().optional()
7353
7366
  })
7354
7367
  );
7355
- var DTODesignTokenGroupCreatePayload = z242.object({
7356
- persistentId: z242.string(),
7368
+ var DTODesignTokenGroupCreatePayload = z243.object({
7369
+ persistentId: z243.string(),
7357
7370
  meta: ObjectMeta,
7358
- brandId: z242.string(),
7359
- parentId: z242.string().optional(),
7371
+ brandId: z243.string(),
7372
+ parentId: z243.string().optional(),
7360
7373
  tokenType: DesignTokenType,
7361
- childrenIds: z242.string().array()
7374
+ childrenIds: z243.string().array()
7362
7375
  });
7363
7376
 
7364
7377
  // src/api/dto/documentation/analytics-v2.ts
7365
- import { z as z243 } from "zod";
7366
- var DTODocumentationAnalyticsTimeFrame = z243.object({
7367
- start: z243.coerce.date(),
7368
- end: z243.coerce.date().optional()
7378
+ import { z as z244 } from "zod";
7379
+ var DTODocumentationAnalyticsTimeFrame = z244.object({
7380
+ start: z244.coerce.date(),
7381
+ end: z244.coerce.date().optional()
7369
7382
  });
7370
- var DTOPublishedDocVisitData = z243.object({
7371
- timestamp: z243.coerce.date(),
7372
- versionId: z243.string(),
7373
- locale: z243.string().optional(),
7374
- visits: z243.number(),
7375
- sessions: z243.number()
7383
+ var DTOPublishedDocVisitData = z244.object({
7384
+ timestamp: z244.coerce.date(),
7385
+ versionId: z244.string(),
7386
+ locale: z244.string().optional(),
7387
+ visits: z244.number(),
7388
+ sessions: z244.number()
7376
7389
  });
7377
7390
  var DTOPublishedDocPageVisitData = DTOPublishedDocVisitData.extend({
7378
- pagePersistentId: z243.string()
7391
+ pagePersistentId: z244.string()
7379
7392
  });
7380
- var DTOPublishedDocVisitHeatMapDay = z243.number().array().length(12);
7381
- var DTOPublishedDocVisitHeatMapWeek = z243.object({
7393
+ var DTOPublishedDocVisitHeatMapDay = z244.number().array().length(12);
7394
+ var DTOPublishedDocVisitHeatMapWeek = z244.object({
7382
7395
  /**
7383
7396
  * For which timeframe it was calculated
7384
7397
  */
@@ -7391,65 +7404,65 @@ var DTOPublishedDocVisitHeatMapWeek = z243.object({
7391
7404
  sat: DTOPublishedDocVisitHeatMapDay,
7392
7405
  sun: DTOPublishedDocVisitHeatMapDay
7393
7406
  });
7394
- var DTOPublishedDocAnalyticsComparisonData = z243.object({
7407
+ var DTOPublishedDocAnalyticsComparisonData = z244.object({
7395
7408
  /**
7396
7409
  * For which timeframe it was calculated
7397
7410
  */
7398
7411
  timeFrame: DTODocumentationAnalyticsTimeFrame,
7399
- priorVisitCount: z243.number(),
7400
- priorSessionCount: z243.number(),
7401
- currentVisitCount: z243.number(),
7402
- currentSessionCount: z243.number()
7412
+ priorVisitCount: z244.number(),
7413
+ priorSessionCount: z244.number(),
7414
+ currentVisitCount: z244.number(),
7415
+ currentSessionCount: z244.number()
7403
7416
  });
7404
7417
  var DTOPublishedDocPageAnalyticsComparisonData = DTOPublishedDocAnalyticsComparisonData.extend({
7405
- pagePersistentId: z243.string()
7418
+ pagePersistentId: z244.string()
7406
7419
  });
7407
- var DTODocumentationPageAnalyticsResponse = z243.object({
7420
+ var DTODocumentationPageAnalyticsResponse = z244.object({
7408
7421
  globalAnalytics: DTOPublishedDocVisitData.array(),
7409
7422
  pageAnalytics: DTOPublishedDocPageVisitData.array(),
7410
7423
  heatMapData: DTOPublishedDocVisitHeatMapWeek.array(),
7411
7424
  comparisonData: DTOPublishedDocAnalyticsComparisonData.array(),
7412
7425
  pageComparisonData: DTOPublishedDocPageAnalyticsComparisonData.array()
7413
7426
  });
7414
- var DTODocumentationAnalyticsRequest = z243.object({
7415
- timeFrames: z243.array(DTODocumentationAnalyticsTimeFrame)
7427
+ var DTODocumentationAnalyticsRequest = z244.object({
7428
+ timeFrames: z244.array(DTODocumentationAnalyticsTimeFrame)
7416
7429
  });
7417
7430
 
7418
7431
  // src/api/dto/documentation/analytics.ts
7419
- import { z as z244 } from "zod";
7420
- var DTODocumentationPageAnalyticsDifference = z244.object({
7421
- startDate: z244.coerce.date(),
7422
- endDate: z244.coerce.date().optional(),
7423
- currentVisitCount: z244.number(),
7424
- currentSessionCount: z244.number(),
7425
- priorVisitCount: z244.number(),
7426
- priorSessionCount: z244.number()
7432
+ import { z as z245 } from "zod";
7433
+ var DTODocumentationPageAnalyticsDifference = z245.object({
7434
+ startDate: z245.coerce.date(),
7435
+ endDate: z245.coerce.date().optional(),
7436
+ currentVisitCount: z245.number(),
7437
+ currentSessionCount: z245.number(),
7438
+ priorVisitCount: z245.number(),
7439
+ priorSessionCount: z245.number()
7427
7440
  });
7428
- var DTODocumentationPageIntervalDifferenceResponse = z244.object({
7429
- differences: z244.array(DTODocumentationPageAnalyticsDifference)
7441
+ var DTODocumentationPageIntervalDifferenceResponse = z245.object({
7442
+ differences: z245.array(DTODocumentationPageAnalyticsDifference)
7430
7443
  });
7431
7444
 
7432
7445
  // src/api/dto/documentation/anchor.ts
7433
- import { z as z245 } from "zod";
7446
+ import { z as z246 } from "zod";
7434
7447
  var DTODocumentationPageAnchor = DocumentationPageAnchor;
7435
- var DTOGetDocumentationPageAnchorsResponse = z245.object({
7436
- anchors: z245.array(DTODocumentationPageAnchor)
7448
+ var DTOGetDocumentationPageAnchorsResponse = z246.object({
7449
+ anchors: z246.array(DTODocumentationPageAnchor)
7437
7450
  });
7438
7451
 
7439
7452
  // src/api/dto/documentation/approvals.ts
7440
- import { z as z246 } from "zod";
7441
- var DTODocumentationPageApprovalState = z246.object({
7453
+ import { z as z247 } from "zod";
7454
+ var DTODocumentationPageApprovalState = z247.object({
7442
7455
  approvalState: DocumentationPageApprovalState,
7443
- pagePersistentId: z246.string(),
7444
- updatedByUserId: z246.string(),
7445
- designSystemVersionId: z246.string(),
7446
- updatedAt: z246.coerce.date(),
7447
- createdAt: z246.coerce.date()
7448
- });
7449
- var DTODocumentationGroupApprovalState = z246.object({
7450
- persistentId: z246.string(),
7451
- groupPersistentId: z246.string(),
7452
- designSystemVersionId: z246.string(),
7456
+ pagePersistentId: z247.string(),
7457
+ updatedByUserId: z247.string(),
7458
+ designSystemVersionId: z247.string(),
7459
+ updatedAt: z247.coerce.date(),
7460
+ createdAt: z247.coerce.date()
7461
+ });
7462
+ var DTODocumentationGroupApprovalState = z247.object({
7463
+ persistentId: z247.string(),
7464
+ groupPersistentId: z247.string(),
7465
+ designSystemVersionId: z247.string(),
7453
7466
  approvalState: DocumentationPageApprovalState
7454
7467
  });
7455
7468
 
@@ -7457,68 +7470,68 @@ var DTODocumentationGroupApprovalState = z246.object({
7457
7470
  var DTOPageBlockItemV2 = PageBlockItemV2;
7458
7471
 
7459
7472
  // src/api/dto/documentation/documentation-page-snapshot.ts
7460
- import { z as z251 } from "zod";
7473
+ import { z as z252 } from "zod";
7461
7474
 
7462
7475
  // src/api/dto/elements/documentation/page-v2.ts
7463
- import { z as z250 } from "zod";
7476
+ import { z as z251 } from "zod";
7464
7477
 
7465
7478
  // src/api/dto/elements/documentation/draft-state.ts
7466
- import { z as z248 } from "zod";
7479
+ import { z as z249 } from "zod";
7467
7480
 
7468
7481
  // src/api/dto/elements/documentation/item-configuration-v2.ts
7469
- import { z as z247 } from "zod";
7482
+ import { z as z248 } from "zod";
7470
7483
  var DTODocumentationItemHeaderV2 = DocumentationItemHeaderV2;
7471
- var DTODocumentationItemConfigurationV2 = z247.object({
7472
- showSidebar: z247.boolean(),
7473
- isPrivate: z247.boolean(),
7474
- isHidden: z247.boolean(),
7484
+ var DTODocumentationItemConfigurationV2 = z248.object({
7485
+ showSidebar: z248.boolean(),
7486
+ isPrivate: z248.boolean(),
7487
+ isHidden: z248.boolean(),
7475
7488
  header: DTODocumentationItemHeaderV2
7476
7489
  });
7477
7490
 
7478
7491
  // src/api/dto/elements/documentation/draft-state.ts
7479
- var DTODocumentationDraftChangeType = z248.enum(["Created", "Updated", "Deleted"]);
7480
- var DTODocumentationDraftStateCreated = z248.object({
7481
- changeType: z248.literal(DTODocumentationDraftChangeType.enum.Created)
7482
- });
7483
- var DTODocumentationDraftStateUpdated = z248.object({
7484
- changeType: z248.literal(DTODocumentationDraftChangeType.enum.Updated),
7485
- changes: z248.object({
7486
- previousTitle: z248.string().optional(),
7492
+ var DTODocumentationDraftChangeType = z249.enum(["Created", "Updated", "Deleted"]);
7493
+ var DTODocumentationDraftStateCreated = z249.object({
7494
+ changeType: z249.literal(DTODocumentationDraftChangeType.enum.Created)
7495
+ });
7496
+ var DTODocumentationDraftStateUpdated = z249.object({
7497
+ changeType: z249.literal(DTODocumentationDraftChangeType.enum.Updated),
7498
+ changes: z249.object({
7499
+ previousTitle: z249.string().optional(),
7487
7500
  previousConfiguration: DTODocumentationItemConfigurationV2.optional(),
7488
- previousContentHash: z248.string().optional()
7501
+ previousContentHash: z249.string().optional()
7489
7502
  })
7490
7503
  });
7491
- var DTODocumentationDraftStateDeleted = z248.object({
7492
- changeType: z248.literal(DTODocumentationDraftChangeType.enum.Deleted),
7493
- deletedAt: z248.coerce.date(),
7494
- deletedByUserId: z248.string()
7504
+ var DTODocumentationDraftStateDeleted = z249.object({
7505
+ changeType: z249.literal(DTODocumentationDraftChangeType.enum.Deleted),
7506
+ deletedAt: z249.coerce.date(),
7507
+ deletedByUserId: z249.string()
7495
7508
  });
7496
- var DTODocumentationDraftState = z248.discriminatedUnion("changeType", [
7509
+ var DTODocumentationDraftState = z249.discriminatedUnion("changeType", [
7497
7510
  DTODocumentationDraftStateCreated,
7498
7511
  DTODocumentationDraftStateUpdated,
7499
7512
  DTODocumentationDraftStateDeleted
7500
7513
  ]);
7501
7514
 
7502
7515
  // src/api/dto/elements/documentation/metadata.ts
7503
- import { z as z249 } from "zod";
7504
- var DTODocumentationPublishMetadata = z249.object({
7505
- lastPublishedByUserId: z249.string(),
7506
- lastPublishedAt: z249.coerce.date()
7516
+ import { z as z250 } from "zod";
7517
+ var DTODocumentationPublishMetadata = z250.object({
7518
+ lastPublishedByUserId: z250.string(),
7519
+ lastPublishedAt: z250.coerce.date()
7507
7520
  });
7508
7521
 
7509
7522
  // src/api/dto/elements/documentation/page-v2.ts
7510
- var DTODocumentationPageV2 = z250.object({
7511
- id: z250.string(),
7512
- persistentId: z250.string(),
7513
- designSystemVersionId: z250.string(),
7514
- title: z250.string(),
7523
+ var DTODocumentationPageV2 = z251.object({
7524
+ id: z251.string(),
7525
+ persistentId: z251.string(),
7526
+ designSystemVersionId: z251.string(),
7527
+ title: z251.string(),
7515
7528
  configuration: DTODocumentationItemConfigurationV2,
7516
- shortPersistentId: z250.string(),
7517
- slug: z250.string().optional(),
7518
- userSlug: z250.string().optional(),
7519
- createdAt: z250.coerce.date(),
7520
- updatedAt: z250.coerce.date(),
7521
- path: z250.string(),
7529
+ shortPersistentId: z251.string(),
7530
+ slug: z251.string().optional(),
7531
+ userSlug: z251.string().optional(),
7532
+ createdAt: z251.coerce.date(),
7533
+ updatedAt: z251.coerce.date(),
7534
+ path: z251.string(),
7522
7535
  /** Defined when a page has changed since last publish and can be included into a partial publish */
7523
7536
  draftState: DTODocumentationDraftState.optional(),
7524
7537
  /** Defined if a page was published at least once and contains metadata about last publish */
@@ -7526,267 +7539,267 @@ var DTODocumentationPageV2 = z250.object({
7526
7539
  /** Defines the approval state of the documentation page */
7527
7540
  approvalState: DTODocumentationPageApprovalState.optional(),
7528
7541
  /** Id of the page document room */
7529
- liveblocksRoomId: z250.string().optional(),
7542
+ liveblocksRoomId: z251.string().optional(),
7530
7543
  // Backward compatibility
7531
- type: z250.literal("Page")
7544
+ type: z251.literal("Page")
7532
7545
  });
7533
- var DTOCreateDocumentationPageInputV2 = z250.object({
7546
+ var DTOCreateDocumentationPageInputV2 = z251.object({
7534
7547
  // Identifier
7535
- persistentId: z250.string(),
7548
+ persistentId: z251.string(),
7536
7549
  // Page properties
7537
- title: z250.string(),
7550
+ title: z251.string(),
7538
7551
  configuration: DTODocumentationItemConfigurationV2.partial().optional(),
7539
7552
  // Page placement properties
7540
- parentPersistentId: z250.string(),
7541
- afterPersistentId: z250.string().nullish()
7553
+ parentPersistentId: z251.string(),
7554
+ afterPersistentId: z251.string().nullish()
7542
7555
  });
7543
- var DTOUpdateDocumentationPageInputV2 = z250.object({
7556
+ var DTOUpdateDocumentationPageInputV2 = z251.object({
7544
7557
  // Identifier of the page to update
7545
- id: z250.string(),
7558
+ id: z251.string(),
7546
7559
  // Page properties
7547
- title: z250.string().optional(),
7560
+ title: z251.string().optional(),
7548
7561
  configuration: DTODocumentationItemConfigurationV2.partial().optional()
7549
7562
  });
7550
- var DTOUpdateDocumentationPageDocumentInputV2 = z250.object({
7563
+ var DTOUpdateDocumentationPageDocumentInputV2 = z251.object({
7551
7564
  // Identifier of the page to update
7552
- id: z250.string(),
7565
+ id: z251.string(),
7553
7566
  // Page properties
7554
- documentItems: z250.array(DocumentationPageContentItem)
7567
+ documentItems: z251.array(DocumentationPageContentItem)
7555
7568
  });
7556
- var DTOMoveDocumentationPageInputV2 = z250.object({
7569
+ var DTOMoveDocumentationPageInputV2 = z251.object({
7557
7570
  // Identifier of the group to update
7558
- id: z250.string(),
7571
+ id: z251.string(),
7559
7572
  // Page placement properties
7560
- parentPersistentId: z250.string(),
7561
- afterPersistentId: z250.string().nullish()
7573
+ parentPersistentId: z251.string(),
7574
+ afterPersistentId: z251.string().nullish()
7562
7575
  });
7563
- var DTODuplicateDocumentationPageInputV2 = z250.object({
7576
+ var DTODuplicateDocumentationPageInputV2 = z251.object({
7564
7577
  // Identifier of the page to duplicate from
7565
- id: z250.string(),
7578
+ id: z251.string(),
7566
7579
  // New page persistent id
7567
- persistentId: z250.string(),
7580
+ persistentId: z251.string(),
7568
7581
  // Page placement properties
7569
- parentPersistentId: z250.string(),
7570
- afterPersistentId: z250.string().nullish()
7582
+ parentPersistentId: z251.string(),
7583
+ afterPersistentId: z251.string().nullish()
7571
7584
  });
7572
- var DTODeleteDocumentationPageInputV2 = z250.object({
7585
+ var DTODeleteDocumentationPageInputV2 = z251.object({
7573
7586
  // Identifier
7574
- id: z250.string()
7587
+ id: z251.string()
7575
7588
  });
7576
- var DTORestoreDocumentationPageInput = z250.object({
7577
- persistentId: z250.string(),
7578
- snapshotId: z250.string().optional()
7589
+ var DTORestoreDocumentationPageInput = z251.object({
7590
+ persistentId: z251.string(),
7591
+ snapshotId: z251.string().optional()
7579
7592
  });
7580
- var DTORestoreDocumentationGroupInput = z250.object({
7581
- persistentId: z250.string(),
7582
- snapshotId: z250.string().optional()
7593
+ var DTORestoreDocumentationGroupInput = z251.object({
7594
+ persistentId: z251.string(),
7595
+ snapshotId: z251.string().optional()
7583
7596
  });
7584
- var DTODocumentationPageApprovalStateChangeInput = z250.object({
7585
- persistentId: z250.string(),
7597
+ var DTODocumentationPageApprovalStateChangeInput = z251.object({
7598
+ persistentId: z251.string(),
7586
7599
  approvalState: DocumentationPageApprovalState.optional()
7587
7600
  });
7588
7601
 
7589
7602
  // src/api/dto/documentation/documentation-page-snapshot.ts
7590
- var DTODocumentationPageSnapshot = z251.object({
7591
- id: z251.string(),
7592
- designSystemVersionId: z251.string(),
7593
- createdAt: z251.string(),
7594
- updatedAt: z251.string(),
7603
+ var DTODocumentationPageSnapshot = z252.object({
7604
+ id: z252.string(),
7605
+ designSystemVersionId: z252.string(),
7606
+ createdAt: z252.string(),
7607
+ updatedAt: z252.string(),
7595
7608
  documentationPage: DTODocumentationPageV2,
7596
- pageContentHash: z251.string(),
7609
+ pageContentHash: z252.string(),
7597
7610
  reason: DesignElementSnapshotReason
7598
7611
  });
7599
7612
 
7600
7613
  // src/api/dto/documentation/link-preview.ts
7601
- import { z as z252 } from "zod";
7602
- var DTODocumentationLinkPreviewResponse = z252.object({
7614
+ import { z as z253 } from "zod";
7615
+ var DTODocumentationLinkPreviewResponse = z253.object({
7603
7616
  linkPreview: DocumentationLinkPreview
7604
7617
  });
7605
- var DTODocumentationLinkPreviewRequest = z252.object({
7606
- url: z252.string().optional(),
7607
- documentationItemPersistentId: z252.string().optional()
7618
+ var DTODocumentationLinkPreviewRequest = z253.object({
7619
+ url: z253.string().optional(),
7620
+ documentationItemPersistentId: z253.string().optional()
7608
7621
  });
7609
7622
 
7610
7623
  // src/api/dto/documentation/publish.ts
7611
- import { z as z256 } from "zod";
7624
+ import { z as z257 } from "zod";
7612
7625
 
7613
7626
  // src/api/dto/export/exporter.ts
7614
- import { z as z253 } from "zod";
7615
- var DTOExporterType = z253.enum(["documentation", "code"]);
7616
- var DTOExporterSource = z253.enum(["git", "upload"]);
7617
- var DTOExporterMembershipRole = z253.enum(["Owner", "OwnerArchived", "User"]);
7618
- var DTOExporterListQuery = z253.object({
7619
- limit: z253.coerce.number().optional(),
7620
- offset: z253.coerce.number().optional(),
7627
+ import { z as z254 } from "zod";
7628
+ var DTOExporterType = z254.enum(["documentation", "code"]);
7629
+ var DTOExporterSource = z254.enum(["git", "upload"]);
7630
+ var DTOExporterMembershipRole = z254.enum(["Owner", "OwnerArchived", "User"]);
7631
+ var DTOExporterListQuery = z254.object({
7632
+ limit: z254.coerce.number().optional(),
7633
+ offset: z254.coerce.number().optional(),
7621
7634
  type: DTOExporterType.optional(),
7622
- search: z253.string().optional()
7635
+ search: z254.string().optional()
7623
7636
  });
7624
- var DTOExporter = z253.object({
7625
- id: z253.string(),
7626
- name: z253.string(),
7627
- isPrivate: z253.boolean(),
7637
+ var DTOExporter = z254.object({
7638
+ id: z254.string(),
7639
+ name: z254.string(),
7640
+ isPrivate: z254.boolean(),
7628
7641
  exporterType: DTOExporterType,
7629
- isDefaultDocumentationExporter: z253.boolean(),
7630
- iconURL: z253.string().optional(),
7642
+ isDefaultDocumentationExporter: z254.boolean(),
7643
+ iconURL: z254.string().optional(),
7631
7644
  configurationProperties: PulsarContributionConfigurationProperty.array(),
7632
7645
  properties: DTOExporterPropertyDefinition.array().optional(),
7633
7646
  customBlocks: PulsarCustomBlock.array(),
7634
- blockVariants: z253.record(z253.string(), PulsarContributionVariant.array()),
7635
- homepage: z253.string().optional(),
7636
- organization: z253.string().optional(),
7637
- packageId: z253.string().optional(),
7638
- tags: z253.array(z253.string()),
7639
- author: z253.string().optional(),
7640
- version: z253.string(),
7641
- description: z253.string(),
7642
- usesLocale: z253.boolean(),
7643
- usesBrands: z253.boolean(),
7644
- usesThemes: z253.boolean(),
7645
- readme: z253.string().optional(),
7646
- routingVersion: z253.string().optional(),
7647
+ blockVariants: z254.record(z254.string(), PulsarContributionVariant.array()),
7648
+ homepage: z254.string().optional(),
7649
+ organization: z254.string().optional(),
7650
+ packageId: z254.string().optional(),
7651
+ tags: z254.array(z254.string()),
7652
+ author: z254.string().optional(),
7653
+ version: z254.string(),
7654
+ description: z254.string(),
7655
+ usesLocale: z254.boolean(),
7656
+ usesBrands: z254.boolean(),
7657
+ usesThemes: z254.boolean(),
7658
+ readme: z254.string().optional(),
7659
+ routingVersion: z254.string().optional(),
7647
7660
  source: DTOExporterSource,
7648
- gitProvider: z253.string().optional(),
7649
- gitUrl: nullishToOptional(z253.string()),
7650
- gitBranch: nullishToOptional(z253.string()),
7651
- gitDirectory: nullishToOptional(z253.string()),
7652
- isDeprecated: z253.boolean(),
7653
- deprecationNote: z253.string().optional(),
7654
- replacementExporterId: z253.string().optional()
7655
- });
7656
- var DTOExporterMembership = z253.object({
7657
- workspaceId: z253.string(),
7658
- exporterId: z253.string(),
7661
+ gitProvider: z254.string().optional(),
7662
+ gitUrl: nullishToOptional(z254.string()),
7663
+ gitBranch: nullishToOptional(z254.string()),
7664
+ gitDirectory: nullishToOptional(z254.string()),
7665
+ isDeprecated: z254.boolean(),
7666
+ deprecationNote: z254.string().optional(),
7667
+ replacementExporterId: z254.string().optional()
7668
+ });
7669
+ var DTOExporterMembership = z254.object({
7670
+ workspaceId: z254.string(),
7671
+ exporterId: z254.string(),
7659
7672
  role: DTOExporterMembershipRole
7660
7673
  });
7661
- var DTOExporterResponse = z253.object({
7674
+ var DTOExporterResponse = z254.object({
7662
7675
  exporter: DTOExporter,
7663
7676
  membership: DTOExporterMembership
7664
7677
  });
7665
- var DTOExporterListResponse = z253.object({
7678
+ var DTOExporterListResponse = z254.object({
7666
7679
  exporters: DTOExporter.array(),
7667
7680
  membership: DTOExporterMembership.array(),
7668
- total: z253.number()
7681
+ total: z254.number()
7669
7682
  });
7670
- var DTOExporterGitProviderEnum = z253.enum(["github", "gitlab", "bitbucket", "azure"]);
7671
- var DTOExporterCreateInput = z253.object({
7672
- url: z253.string(),
7683
+ var DTOExporterGitProviderEnum = z254.enum(["github", "gitlab", "bitbucket", "azure"]);
7684
+ var DTOExporterCreateInput = z254.object({
7685
+ url: z254.string(),
7673
7686
  provider: DTOExporterGitProviderEnum
7674
7687
  });
7675
- var DTOExporterUpdateInput = z253.object({
7676
- url: z253.string().optional()
7688
+ var DTOExporterUpdateInput = z254.object({
7689
+ url: z254.string().optional()
7677
7690
  });
7678
- var DTOExporterDeprecationInput = z253.object({
7679
- isDeprecated: z253.boolean(),
7680
- deprecationNote: z253.string().optional(),
7681
- replacementExporterId: z253.string().optional()
7691
+ var DTOExporterDeprecationInput = z254.object({
7692
+ isDeprecated: z254.boolean(),
7693
+ deprecationNote: z254.string().optional(),
7694
+ replacementExporterId: z254.string().optional()
7682
7695
  });
7683
7696
 
7684
7697
  // src/api/dto/export/filter.ts
7685
7698
  var DTOExportJobsListFilter = ExportJobFindByFilter;
7686
7699
 
7687
7700
  // src/api/dto/export/job.ts
7688
- import { z as z254 } from "zod";
7689
- var DTOExportJobCreatedBy = z254.object({
7690
- userId: z254.string(),
7691
- userName: z254.string()
7701
+ import { z as z255 } from "zod";
7702
+ var DTOExportJobCreatedBy = z255.object({
7703
+ userId: z255.string(),
7704
+ userName: z255.string()
7692
7705
  });
7693
- var DTOExportJobDesignSystemPreview = z254.object({
7694
- id: z254.string(),
7706
+ var DTOExportJobDesignSystemPreview = z255.object({
7707
+ id: z255.string(),
7695
7708
  meta: ObjectMeta
7696
7709
  });
7697
- var DTOExportJobDesignSystemVersionPreview = z254.object({
7698
- id: z254.string(),
7710
+ var DTOExportJobDesignSystemVersionPreview = z255.object({
7711
+ id: z255.string(),
7699
7712
  meta: ObjectMeta,
7700
- version: z254.string(),
7701
- isReadonly: z254.boolean()
7713
+ version: z255.string(),
7714
+ isReadonly: z255.boolean()
7702
7715
  });
7703
- var DTOExportJobDestinations = z254.object({
7716
+ var DTOExportJobDestinations = z255.object({
7704
7717
  s3: ExporterDestinationS3.optional(),
7705
7718
  azure: ExporterDestinationAzure.optional(),
7706
7719
  bitbucket: ExporterDestinationBitbucket.optional(),
7707
7720
  github: ExporterDestinationGithub.optional(),
7708
7721
  gitlab: ExporterDestinationGitlab.optional(),
7709
7722
  documentation: ExporterDestinationDocs.optional(),
7710
- webhookUrl: z254.string().optional()
7723
+ webhookUrl: z255.string().optional()
7711
7724
  });
7712
7725
  var DTOExportJobResult = ExportJobResult.omit({
7713
7726
  sndocs: true
7714
7727
  }).extend({
7715
7728
  documentation: ExportJobDocsDestinationResult.optional()
7716
7729
  });
7717
- var DTOExportJob = z254.object({
7718
- id: z254.string(),
7719
- createdAt: z254.coerce.date(),
7720
- finishedAt: z254.coerce.date().optional(),
7721
- index: z254.number().optional(),
7730
+ var DTOExportJob = z255.object({
7731
+ id: z255.string(),
7732
+ createdAt: z255.coerce.date(),
7733
+ finishedAt: z255.coerce.date().optional(),
7734
+ index: z255.number().optional(),
7722
7735
  status: ExportJobStatus,
7723
- estimatedExecutionTime: z254.number().optional(),
7736
+ estimatedExecutionTime: z255.number().optional(),
7724
7737
  createdBy: DTOExportJobCreatedBy.optional(),
7725
7738
  designSystem: DTOExportJobDesignSystemPreview,
7726
7739
  designSystemVersion: DTOExportJobDesignSystemVersionPreview,
7727
7740
  destinations: DTOExportJobDestinations,
7728
- exporterId: z254.string(),
7729
- scheduleId: z254.string().optional(),
7741
+ exporterId: z255.string(),
7742
+ scheduleId: z255.string().optional(),
7730
7743
  result: DTOExportJobResult.optional(),
7731
- brandPersistentId: z254.string().optional(),
7732
- themePersistentId: z254.string().optional(),
7733
- themePersistentIds: z254.string().array().optional(),
7744
+ brandPersistentId: z255.string().optional(),
7745
+ themePersistentId: z255.string().optional(),
7746
+ themePersistentIds: z255.string().array().optional(),
7734
7747
  exporterPropertyValues: DTOExporterPropertyValueMap.optional()
7735
7748
  });
7736
- var DTOExportJobResponse = z254.object({
7749
+ var DTOExportJobResponse = z255.object({
7737
7750
  job: DTOExportJob
7738
7751
  });
7739
- var DTOExportJobResponseLegacy = z254.object({
7740
- job: z254.object({
7741
- id: z254.string(),
7752
+ var DTOExportJobResponseLegacy = z255.object({
7753
+ job: z255.object({
7754
+ id: z255.string(),
7742
7755
  status: ExportJobStatus
7743
7756
  })
7744
7757
  });
7745
- var DTOExportJobCreateInput = z254.object({
7746
- designSystemId: z254.string(),
7747
- designSystemVersionId: z254.string(),
7748
- exporterId: z254.string(),
7749
- brandId: z254.string().optional(),
7750
- themeId: z254.string().optional(),
7751
- themePersistentIds: z254.string().array().optional(),
7758
+ var DTOExportJobCreateInput = z255.object({
7759
+ designSystemId: z255.string(),
7760
+ designSystemVersionId: z255.string(),
7761
+ exporterId: z255.string(),
7762
+ brandId: z255.string().optional(),
7763
+ themeId: z255.string().optional(),
7764
+ themePersistentIds: z255.string().array().optional(),
7752
7765
  destinations: DTOExportJobDestinations,
7753
7766
  exporterPropertyValues: DTOExporterPropertyValueMap.optional(),
7754
- previewMode: z254.boolean().optional()
7767
+ previewMode: z255.boolean().optional()
7755
7768
  });
7756
7769
 
7757
7770
  // src/api/dto/export/pipeline.ts
7758
- import { z as z255 } from "zod";
7759
- var DTOPipelineListQuery = z255.object({
7760
- designSystemId: z255.string().optional(),
7761
- exporterId: z255.string().optional(),
7762
- latestJobsLimit: z255.coerce.number().optional()
7763
- });
7764
- var DTOPipeline = z255.object({
7765
- id: z255.string(),
7766
- name: z255.string(),
7771
+ import { z as z256 } from "zod";
7772
+ var DTOPipelineListQuery = z256.object({
7773
+ designSystemId: z256.string().optional(),
7774
+ exporterId: z256.string().optional(),
7775
+ latestJobsLimit: z256.coerce.number().optional()
7776
+ });
7777
+ var DTOPipeline = z256.object({
7778
+ id: z256.string(),
7779
+ name: z256.string(),
7767
7780
  eventType: PipelineEventType,
7768
- isEnabled: z255.boolean(),
7769
- workspaceId: z255.string(),
7770
- designSystemId: z255.string(),
7771
- exporterId: z255.string(),
7772
- brandPersistentId: z255.string().optional(),
7773
- themePersistentId: z255.string().optional(),
7774
- themePersistentIds: z255.string().array().optional(),
7781
+ isEnabled: z256.boolean(),
7782
+ workspaceId: z256.string(),
7783
+ designSystemId: z256.string(),
7784
+ exporterId: z256.string(),
7785
+ brandPersistentId: z256.string().optional(),
7786
+ themePersistentId: z256.string().optional(),
7787
+ themePersistentIds: z256.string().array().optional(),
7775
7788
  exporterPropertyValues: DTOExporterPropertyValueMap.optional(),
7776
7789
  ...ExportDestinationsMap.shape,
7777
7790
  latestJobs: DTOExportJob.array(),
7778
- isExporterDeprecated: z255.boolean()
7791
+ isExporterDeprecated: z256.boolean()
7779
7792
  });
7780
- var DTOPipelineListResponse = z255.object({
7793
+ var DTOPipelineListResponse = z256.object({
7781
7794
  pipelines: DTOPipeline.array()
7782
7795
  });
7783
- var DTOPipelineResponse = z255.object({
7796
+ var DTOPipelineResponse = z256.object({
7784
7797
  pipeline: DTOPipeline
7785
7798
  });
7786
7799
 
7787
7800
  // src/api/dto/documentation/publish.ts
7788
7801
  var DTOPublishDocumentationChanges = ExportJobDocumentationChanges;
7789
- var DTOPublishDocumentationRequest = z256.object({
7802
+ var DTOPublishDocumentationRequest = z257.object({
7790
7803
  environment: PublishedDocEnvironment,
7791
7804
  /**
7792
7805
  * If defined, this allows narrowing down what is published to a set of specific pages and groups
@@ -7794,66 +7807,66 @@ var DTOPublishDocumentationRequest = z256.object({
7794
7807
  */
7795
7808
  changes: DTOPublishDocumentationChanges.optional()
7796
7809
  });
7797
- var DTOPublishDocumentationResponse = z256.object({
7810
+ var DTOPublishDocumentationResponse = z257.object({
7798
7811
  job: DTOExportJob
7799
7812
  });
7800
7813
 
7801
7814
  // src/api/dto/documentation/room.ts
7802
- import { z as z257 } from "zod";
7803
- var DTODocumentationPageRoom = z257.object({
7804
- id: z257.string()
7815
+ import { z as z258 } from "zod";
7816
+ var DTODocumentationPageRoom = z258.object({
7817
+ id: z258.string()
7805
7818
  });
7806
- var DTODocumentationPageRoomResponse = z257.object({
7819
+ var DTODocumentationPageRoomResponse = z258.object({
7807
7820
  room: DTODocumentationPageRoom
7808
7821
  });
7809
7822
 
7810
7823
  // src/api/dto/elements/components/figma-component-group.ts
7811
- import z258 from "zod";
7812
- var DTOFigmaComponentGroup = z258.object({
7813
- id: z258.string(),
7814
- designSystemVersionId: z258.string(),
7815
- persistentId: z258.string(),
7816
- isRoot: z258.boolean(),
7817
- brandId: z258.string(),
7824
+ import z259 from "zod";
7825
+ var DTOFigmaComponentGroup = z259.object({
7826
+ id: z259.string(),
7827
+ designSystemVersionId: z259.string(),
7828
+ persistentId: z259.string(),
7829
+ isRoot: z259.boolean(),
7830
+ brandId: z259.string(),
7818
7831
  meta: DTOObjectMeta,
7819
- childrenIds: z258.string().array()
7832
+ childrenIds: z259.string().array()
7820
7833
  });
7821
- var DTOFigmaComponentGroupListResponse = z258.object({
7834
+ var DTOFigmaComponentGroupListResponse = z259.object({
7822
7835
  groups: DTOFigmaComponentGroup.array()
7823
7836
  });
7824
7837
 
7825
7838
  // src/api/dto/elements/components/figma-component.ts
7826
- import { z as z259 } from "zod";
7839
+ import { z as z260 } from "zod";
7827
7840
  var DTOFigmaComponentProperty = FigmaComponentProperty;
7828
- var DTOFigmaComponentPropertyMap = z259.record(DTOFigmaComponentProperty);
7829
- var DTOFigmaComponent = z259.object({
7830
- id: z259.string(),
7831
- persistentId: z259.string(),
7832
- designSystemVersionId: z259.string(),
7833
- brandId: z259.string(),
7834
- thumbnailUrl: z259.string().optional(),
7835
- svgUrl: z259.string().optional(),
7836
- exportProperties: z259.object({
7837
- isAsset: z259.boolean()
7841
+ var DTOFigmaComponentPropertyMap = z260.record(DTOFigmaComponentProperty);
7842
+ var DTOFigmaComponent = z260.object({
7843
+ id: z260.string(),
7844
+ persistentId: z260.string(),
7845
+ designSystemVersionId: z260.string(),
7846
+ brandId: z260.string(),
7847
+ thumbnailUrl: z260.string().optional(),
7848
+ svgUrl: z260.string().optional(),
7849
+ exportProperties: z260.object({
7850
+ isAsset: z260.boolean()
7838
7851
  }),
7839
- createdAt: z259.coerce.date(),
7840
- updatedAt: z259.coerce.date(),
7852
+ createdAt: z260.coerce.date(),
7853
+ updatedAt: z260.coerce.date(),
7841
7854
  meta: ObjectMeta,
7842
7855
  originComponent: FigmaComponentOrigin.optional(),
7843
- parentComponentPersistentId: z259.string().optional(),
7844
- childrenPersistentIds: z259.string().array().optional(),
7856
+ parentComponentPersistentId: z260.string().optional(),
7857
+ childrenPersistentIds: z260.string().array().optional(),
7845
7858
  componentPropertyDefinitions: DTOFigmaComponentPropertyMap.optional(),
7846
- variantPropertyValues: z259.record(z259.string()).optional()
7859
+ variantPropertyValues: z260.record(z260.string()).optional()
7847
7860
  });
7848
- var DTOFigmaComponentListResponse = z259.object({
7861
+ var DTOFigmaComponentListResponse = z260.object({
7849
7862
  components: DTOFigmaComponent.array()
7850
7863
  });
7851
7864
 
7852
7865
  // src/api/dto/elements/documentation/group-action.ts
7853
- import { z as z261 } from "zod";
7866
+ import { z as z262 } from "zod";
7854
7867
 
7855
7868
  // src/api/dto/elements/documentation/group-v2.ts
7856
- import { z as z260 } from "zod";
7869
+ import { z as z261 } from "zod";
7857
7870
  var DTODocumentationGroupV2 = ElementGroup.omit({
7858
7871
  sortOrder: true,
7859
7872
  parentPersistentId: true,
@@ -7863,13 +7876,13 @@ var DTODocumentationGroupV2 = ElementGroup.omit({
7863
7876
  data: true,
7864
7877
  shortPersistentId: true
7865
7878
  }).extend({
7866
- title: z260.string(),
7867
- isRoot: z260.boolean(),
7868
- childrenIds: z260.array(z260.string()),
7879
+ title: z261.string(),
7880
+ isRoot: z261.boolean(),
7881
+ childrenIds: z261.array(z261.string()),
7869
7882
  groupBehavior: DocumentationGroupBehavior,
7870
- shortPersistentId: z260.string(),
7883
+ shortPersistentId: z261.string(),
7871
7884
  configuration: DTODocumentationItemConfigurationV2,
7872
- type: z260.literal("Group"),
7885
+ type: z261.literal("Group"),
7873
7886
  /** Defined when a group has changed since last publish and can be included into a partial publish */
7874
7887
  draftState: DTODocumentationDraftState.optional(),
7875
7888
  /** Defined if a group was published at least once and contains metadata about last publish */
@@ -7877,127 +7890,127 @@ var DTODocumentationGroupV2 = ElementGroup.omit({
7877
7890
  //** An approval state for frontend to utilize. */
7878
7891
  approvalState: DTODocumentationGroupApprovalState.optional()
7879
7892
  });
7880
- var DTOCreateDocumentationGroupInput = z260.object({
7893
+ var DTOCreateDocumentationGroupInput = z261.object({
7881
7894
  // Identifier
7882
- persistentId: z260.string(),
7895
+ persistentId: z261.string(),
7883
7896
  // Group properties
7884
- title: z260.string(),
7897
+ title: z261.string(),
7885
7898
  configuration: DTODocumentationItemConfigurationV2.partial().optional(),
7886
7899
  // Group placement properties
7887
- afterPersistentId: z260.string().nullish(),
7888
- parentPersistentId: z260.string()
7900
+ afterPersistentId: z261.string().nullish(),
7901
+ parentPersistentId: z261.string()
7889
7902
  });
7890
- var DTOUpdateDocumentationGroupInput = z260.object({
7903
+ var DTOUpdateDocumentationGroupInput = z261.object({
7891
7904
  // Identifier of the group to update
7892
- id: z260.string(),
7905
+ id: z261.string(),
7893
7906
  // Group properties
7894
- title: z260.string().optional(),
7907
+ title: z261.string().optional(),
7895
7908
  configuration: DTODocumentationItemConfigurationV2.partial().optional()
7896
7909
  });
7897
- var DTOMoveDocumentationGroupInput = z260.object({
7910
+ var DTOMoveDocumentationGroupInput = z261.object({
7898
7911
  // Identifier of the group to update
7899
- id: z260.string(),
7912
+ id: z261.string(),
7900
7913
  // Group placement properties
7901
- parentPersistentId: z260.string(),
7902
- afterPersistentId: z260.string().nullish()
7914
+ parentPersistentId: z261.string(),
7915
+ afterPersistentId: z261.string().nullish()
7903
7916
  });
7904
- var DTODuplicateDocumentationGroupInput = z260.object({
7917
+ var DTODuplicateDocumentationGroupInput = z261.object({
7905
7918
  // Identifier of the group to duplicate from
7906
- id: z260.string(),
7919
+ id: z261.string(),
7907
7920
  // New group persistent id
7908
- persistentId: z260.string(),
7921
+ persistentId: z261.string(),
7909
7922
  // Group placement properties
7910
- afterPersistentId: z260.string().nullish(),
7911
- parentPersistentId: z260.string()
7923
+ afterPersistentId: z261.string().nullish(),
7924
+ parentPersistentId: z261.string()
7912
7925
  });
7913
- var DTOCreateDocumentationTabInput = z260.object({
7926
+ var DTOCreateDocumentationTabInput = z261.object({
7914
7927
  // New group persistent id
7915
- persistentId: z260.string(),
7928
+ persistentId: z261.string(),
7916
7929
  // If this is page, we will attempt to convert it to tab
7917
7930
  // If this is tab group, we will add a new tab to it
7918
- fromItemPersistentId: z260.string(),
7919
- tabName: z260.string()
7931
+ fromItemPersistentId: z261.string(),
7932
+ tabName: z261.string()
7920
7933
  });
7921
- var DTODeleteDocumentationTabGroupInput = z260.object({
7934
+ var DTODeleteDocumentationTabGroupInput = z261.object({
7922
7935
  // Deleted group id
7923
- id: z260.string()
7936
+ id: z261.string()
7924
7937
  });
7925
- var DTODeleteDocumentationGroupInput = z260.object({
7938
+ var DTODeleteDocumentationGroupInput = z261.object({
7926
7939
  // Identifier
7927
- id: z260.string(),
7940
+ id: z261.string(),
7928
7941
  // Deletion options
7929
- deleteSubtree: z260.boolean().default(false)
7942
+ deleteSubtree: z261.boolean().default(false)
7930
7943
  });
7931
7944
 
7932
7945
  // src/api/dto/elements/documentation/group-action.ts
7933
- var SuccessPayload = z261.object({
7934
- success: z261.literal(true)
7946
+ var SuccessPayload = z262.object({
7947
+ success: z262.literal(true)
7935
7948
  });
7936
- var DTODocumentationGroupCreateActionOutputV2 = z261.object({
7937
- type: z261.literal("DocumentationGroupCreate"),
7949
+ var DTODocumentationGroupCreateActionOutputV2 = z262.object({
7950
+ type: z262.literal("DocumentationGroupCreate"),
7938
7951
  output: SuccessPayload
7939
7952
  });
7940
- var DTODocumentationTabCreateActionOutputV2 = z261.object({
7941
- type: z261.literal("DocumentationTabCreate"),
7953
+ var DTODocumentationTabCreateActionOutputV2 = z262.object({
7954
+ type: z262.literal("DocumentationTabCreate"),
7942
7955
  output: SuccessPayload
7943
7956
  });
7944
- var DTODocumentationGroupUpdateActionOutputV2 = z261.object({
7945
- type: z261.literal("DocumentationGroupUpdate"),
7957
+ var DTODocumentationGroupUpdateActionOutputV2 = z262.object({
7958
+ type: z262.literal("DocumentationGroupUpdate"),
7946
7959
  output: SuccessPayload
7947
7960
  });
7948
- var DTODocumentationGroupMoveActionOutputV2 = z261.object({
7949
- type: z261.literal("DocumentationGroupMove"),
7961
+ var DTODocumentationGroupMoveActionOutputV2 = z262.object({
7962
+ type: z262.literal("DocumentationGroupMove"),
7950
7963
  output: SuccessPayload
7951
7964
  });
7952
- var DTODocumentationGroupDuplicateActionOutputV2 = z261.object({
7953
- type: z261.literal("DocumentationGroupDuplicate"),
7965
+ var DTODocumentationGroupDuplicateActionOutputV2 = z262.object({
7966
+ type: z262.literal("DocumentationGroupDuplicate"),
7954
7967
  output: SuccessPayload
7955
7968
  });
7956
- var DTODocumentationGroupDeleteActionOutputV2 = z261.object({
7957
- type: z261.literal("DocumentationGroupDelete"),
7969
+ var DTODocumentationGroupDeleteActionOutputV2 = z262.object({
7970
+ type: z262.literal("DocumentationGroupDelete"),
7958
7971
  output: SuccessPayload
7959
7972
  });
7960
- var DTODocumentationTabGroupDeleteActionOutputV2 = z261.object({
7961
- type: z261.literal("DocumentationTabGroupDelete"),
7973
+ var DTODocumentationTabGroupDeleteActionOutputV2 = z262.object({
7974
+ type: z262.literal("DocumentationTabGroupDelete"),
7962
7975
  output: SuccessPayload
7963
7976
  });
7964
- var DTODocumentationGroupCreateActionInputV2 = z261.object({
7965
- type: z261.literal("DocumentationGroupCreate"),
7977
+ var DTODocumentationGroupCreateActionInputV2 = z262.object({
7978
+ type: z262.literal("DocumentationGroupCreate"),
7966
7979
  input: DTOCreateDocumentationGroupInput
7967
7980
  });
7968
- var DTODocumentationTabCreateActionInputV2 = z261.object({
7969
- type: z261.literal("DocumentationTabCreate"),
7981
+ var DTODocumentationTabCreateActionInputV2 = z262.object({
7982
+ type: z262.literal("DocumentationTabCreate"),
7970
7983
  input: DTOCreateDocumentationTabInput
7971
7984
  });
7972
- var DTODocumentationGroupUpdateActionInputV2 = z261.object({
7973
- type: z261.literal("DocumentationGroupUpdate"),
7985
+ var DTODocumentationGroupUpdateActionInputV2 = z262.object({
7986
+ type: z262.literal("DocumentationGroupUpdate"),
7974
7987
  input: DTOUpdateDocumentationGroupInput
7975
7988
  });
7976
- var DTODocumentationGroupMoveActionInputV2 = z261.object({
7977
- type: z261.literal("DocumentationGroupMove"),
7989
+ var DTODocumentationGroupMoveActionInputV2 = z262.object({
7990
+ type: z262.literal("DocumentationGroupMove"),
7978
7991
  input: DTOMoveDocumentationGroupInput
7979
7992
  });
7980
- var DTODocumentationGroupDuplicateActionInputV2 = z261.object({
7981
- type: z261.literal("DocumentationGroupDuplicate"),
7993
+ var DTODocumentationGroupDuplicateActionInputV2 = z262.object({
7994
+ type: z262.literal("DocumentationGroupDuplicate"),
7982
7995
  input: DTODuplicateDocumentationGroupInput
7983
7996
  });
7984
- var DTODocumentationGroupDeleteActionInputV2 = z261.object({
7985
- type: z261.literal("DocumentationGroupDelete"),
7997
+ var DTODocumentationGroupDeleteActionInputV2 = z262.object({
7998
+ type: z262.literal("DocumentationGroupDelete"),
7986
7999
  input: DTODeleteDocumentationGroupInput
7987
8000
  });
7988
- var DTODocumentationTabGroupDeleteActionInputV2 = z261.object({
7989
- type: z261.literal("DocumentationTabGroupDelete"),
8001
+ var DTODocumentationTabGroupDeleteActionInputV2 = z262.object({
8002
+ type: z262.literal("DocumentationTabGroupDelete"),
7990
8003
  input: DTODeleteDocumentationTabGroupInput
7991
8004
  });
7992
8005
 
7993
8006
  // src/api/dto/elements/documentation/group-v1.ts
7994
- import { z as z263 } from "zod";
8007
+ import { z as z264 } from "zod";
7995
8008
 
7996
8009
  // src/api/dto/elements/documentation/item-configuration-v1.ts
7997
- import { z as z262 } from "zod";
7998
- var DocumentationColorV1 = z262.object({
7999
- aliasTo: z262.string().optional(),
8000
- value: z262.string().optional()
8010
+ import { z as z263 } from "zod";
8011
+ var DocumentationColorV1 = z263.object({
8012
+ aliasTo: z263.string().optional(),
8013
+ value: z263.string().optional()
8001
8014
  });
8002
8015
  var DTODocumentationItemHeaderV1 = DocumentationItemHeaderV1.omit({
8003
8016
  foregroundColor: true,
@@ -8006,10 +8019,10 @@ var DTODocumentationItemHeaderV1 = DocumentationItemHeaderV1.omit({
8006
8019
  foregroundColor: DocumentationColorV1.optional(),
8007
8020
  backgroundColor: DocumentationColorV1.optional()
8008
8021
  });
8009
- var DTODocumentationItemConfigurationV1 = z262.object({
8010
- showSidebar: z262.boolean(),
8011
- isPrivate: z262.boolean(),
8012
- isHidden: z262.boolean(),
8022
+ var DTODocumentationItemConfigurationV1 = z263.object({
8023
+ showSidebar: z263.boolean(),
8024
+ isPrivate: z263.boolean(),
8025
+ isHidden: z263.boolean(),
8013
8026
  header: DTODocumentationItemHeaderV1
8014
8027
  });
8015
8028
 
@@ -8023,145 +8036,145 @@ var DTODocumentationGroupStructureV1 = ElementGroup.omit({
8023
8036
  data: true,
8024
8037
  shortPersistentId: true
8025
8038
  }).extend({
8026
- title: z263.string(),
8027
- isRoot: z263.boolean(),
8028
- childrenIds: z263.array(z263.string()),
8039
+ title: z264.string(),
8040
+ isRoot: z264.boolean(),
8041
+ childrenIds: z264.array(z264.string()),
8029
8042
  groupBehavior: DocumentationGroupBehavior,
8030
- shortPersistentId: z263.string(),
8031
- type: z263.literal("Group")
8043
+ shortPersistentId: z264.string(),
8044
+ type: z264.literal("Group")
8032
8045
  });
8033
8046
  var DTODocumentationGroupV1 = DTODocumentationGroupStructureV1.extend({
8034
8047
  configuration: DTODocumentationItemConfigurationV1
8035
8048
  });
8036
8049
 
8037
8050
  // src/api/dto/elements/documentation/hierarchy.ts
8038
- import { z as z264 } from "zod";
8039
- var DTODocumentationHierarchyV2 = z264.object({
8040
- pages: z264.array(
8051
+ import { z as z265 } from "zod";
8052
+ var DTODocumentationHierarchyV2 = z265.object({
8053
+ pages: z265.array(
8041
8054
  DTODocumentationPageV2.extend({
8042
8055
  /** Defined when a page has changed since last publish and can be included into a partial publish */
8043
8056
  draftState: DTODocumentationDraftState.optional()
8044
8057
  })
8045
8058
  ),
8046
- groups: z264.array(
8059
+ groups: z265.array(
8047
8060
  DTODocumentationGroupV2.extend({
8048
8061
  /** Defined when a page has changed since last publish and can be included into a partial publish */
8049
8062
  draftState: DTODocumentationDraftState.optional()
8050
8063
  })
8051
8064
  ),
8052
8065
  /** True if the documentation was already published, false otherwise. */
8053
- hasPublishedDocumentationContent: z264.boolean()
8066
+ hasPublishedDocumentationContent: z265.boolean()
8054
8067
  });
8055
8068
 
8056
8069
  // src/api/dto/elements/documentation/page-actions-v2.ts
8057
- import { z as z265 } from "zod";
8058
- var SuccessPayload2 = z265.object({
8059
- success: z265.literal(true)
8070
+ import { z as z266 } from "zod";
8071
+ var SuccessPayload2 = z266.object({
8072
+ success: z266.literal(true)
8060
8073
  });
8061
- var DTODocumentationPageCreateActionOutputV2 = z265.object({
8062
- type: z265.literal("DocumentationPageCreate"),
8074
+ var DTODocumentationPageCreateActionOutputV2 = z266.object({
8075
+ type: z266.literal("DocumentationPageCreate"),
8063
8076
  output: SuccessPayload2
8064
8077
  });
8065
- var DTODocumentationPageUpdateActionOutputV2 = z265.object({
8066
- type: z265.literal("DocumentationPageUpdate"),
8078
+ var DTODocumentationPageUpdateActionOutputV2 = z266.object({
8079
+ type: z266.literal("DocumentationPageUpdate"),
8067
8080
  output: SuccessPayload2
8068
8081
  });
8069
- var DTODocumentationPageUpdateDocumentActionOutputV2 = z265.object({
8070
- type: z265.literal("DocumentationPageUpdateDocument"),
8082
+ var DTODocumentationPageUpdateDocumentActionOutputV2 = z266.object({
8083
+ type: z266.literal("DocumentationPageUpdateDocument"),
8071
8084
  output: SuccessPayload2
8072
8085
  });
8073
- var DTODocumentationPageMoveActionOutputV2 = z265.object({
8074
- type: z265.literal("DocumentationPageMove"),
8086
+ var DTODocumentationPageMoveActionOutputV2 = z266.object({
8087
+ type: z266.literal("DocumentationPageMove"),
8075
8088
  output: SuccessPayload2
8076
8089
  });
8077
- var DTODocumentationPageDuplicateActionOutputV2 = z265.object({
8078
- type: z265.literal("DocumentationPageDuplicate"),
8090
+ var DTODocumentationPageDuplicateActionOutputV2 = z266.object({
8091
+ type: z266.literal("DocumentationPageDuplicate"),
8079
8092
  output: SuccessPayload2
8080
8093
  });
8081
- var DTODocumentationPageDeleteActionOutputV2 = z265.object({
8082
- type: z265.literal("DocumentationPageDelete"),
8094
+ var DTODocumentationPageDeleteActionOutputV2 = z266.object({
8095
+ type: z266.literal("DocumentationPageDelete"),
8083
8096
  output: SuccessPayload2
8084
8097
  });
8085
- var DTODocumentationPageRestoreActionOutput = z265.object({
8086
- type: z265.literal("DocumentationPageRestore"),
8098
+ var DTODocumentationPageRestoreActionOutput = z266.object({
8099
+ type: z266.literal("DocumentationPageRestore"),
8087
8100
  output: SuccessPayload2
8088
8101
  });
8089
- var DTODocumentationGroupRestoreActionOutput = z265.object({
8090
- type: z265.literal("DocumentationGroupRestore"),
8102
+ var DTODocumentationGroupRestoreActionOutput = z266.object({
8103
+ type: z266.literal("DocumentationGroupRestore"),
8091
8104
  output: SuccessPayload2
8092
8105
  });
8093
- var DTODocumentationPageApprovalStateChangeActionOutput = z265.object({
8094
- type: z265.literal("DocumentationPageApprovalStateChange"),
8106
+ var DTODocumentationPageApprovalStateChangeActionOutput = z266.object({
8107
+ type: z266.literal("DocumentationPageApprovalStateChange"),
8095
8108
  output: SuccessPayload2
8096
8109
  });
8097
- var DTODocumentationPageCreateActionInputV2 = z265.object({
8098
- type: z265.literal("DocumentationPageCreate"),
8110
+ var DTODocumentationPageCreateActionInputV2 = z266.object({
8111
+ type: z266.literal("DocumentationPageCreate"),
8099
8112
  input: DTOCreateDocumentationPageInputV2
8100
8113
  });
8101
- var DTODocumentationPageUpdateActionInputV2 = z265.object({
8102
- type: z265.literal("DocumentationPageUpdate"),
8114
+ var DTODocumentationPageUpdateActionInputV2 = z266.object({
8115
+ type: z266.literal("DocumentationPageUpdate"),
8103
8116
  input: DTOUpdateDocumentationPageInputV2
8104
8117
  });
8105
- var DTODocumentationPageUpdateDocumentActionInputV2 = z265.object({
8106
- type: z265.literal("DocumentationPageUpdateDocument"),
8118
+ var DTODocumentationPageUpdateDocumentActionInputV2 = z266.object({
8119
+ type: z266.literal("DocumentationPageUpdateDocument"),
8107
8120
  input: DTOUpdateDocumentationPageDocumentInputV2
8108
8121
  });
8109
- var DTODocumentationPageMoveActionInputV2 = z265.object({
8110
- type: z265.literal("DocumentationPageMove"),
8122
+ var DTODocumentationPageMoveActionInputV2 = z266.object({
8123
+ type: z266.literal("DocumentationPageMove"),
8111
8124
  input: DTOMoveDocumentationPageInputV2
8112
8125
  });
8113
- var DTODocumentationPageDuplicateActionInputV2 = z265.object({
8114
- type: z265.literal("DocumentationPageDuplicate"),
8126
+ var DTODocumentationPageDuplicateActionInputV2 = z266.object({
8127
+ type: z266.literal("DocumentationPageDuplicate"),
8115
8128
  input: DTODuplicateDocumentationPageInputV2
8116
8129
  });
8117
- var DTODocumentationPageDeleteActionInputV2 = z265.object({
8118
- type: z265.literal("DocumentationPageDelete"),
8130
+ var DTODocumentationPageDeleteActionInputV2 = z266.object({
8131
+ type: z266.literal("DocumentationPageDelete"),
8119
8132
  input: DTODeleteDocumentationPageInputV2
8120
8133
  });
8121
- var DTODocumentationPageRestoreActionInput = z265.object({
8122
- type: z265.literal("DocumentationPageRestore"),
8134
+ var DTODocumentationPageRestoreActionInput = z266.object({
8135
+ type: z266.literal("DocumentationPageRestore"),
8123
8136
  input: DTORestoreDocumentationPageInput
8124
8137
  });
8125
- var DTODocumentationGroupRestoreActionInput = z265.object({
8126
- type: z265.literal("DocumentationGroupRestore"),
8138
+ var DTODocumentationGroupRestoreActionInput = z266.object({
8139
+ type: z266.literal("DocumentationGroupRestore"),
8127
8140
  input: DTORestoreDocumentationGroupInput
8128
8141
  });
8129
- var DTODocumentationPageApprovalStateChangeActionInput = z265.object({
8130
- type: z265.literal("DocumentationPageApprovalStateChange"),
8142
+ var DTODocumentationPageApprovalStateChangeActionInput = z266.object({
8143
+ type: z266.literal("DocumentationPageApprovalStateChange"),
8131
8144
  input: DTODocumentationPageApprovalStateChangeInput
8132
8145
  });
8133
8146
 
8134
8147
  // src/api/dto/elements/documentation/page-content.ts
8135
- import { z as z266 } from "zod";
8148
+ import { z as z267 } from "zod";
8136
8149
  var DTODocumentationPageContent = DocumentationPageContent;
8137
- var DTODocumentationPageContentGetResponse = z266.object({
8150
+ var DTODocumentationPageContentGetResponse = z267.object({
8138
8151
  pageContent: DTODocumentationPageContent
8139
8152
  });
8140
8153
 
8141
8154
  // src/api/dto/elements/documentation/page-dependencies.ts
8142
- import { z as z267 } from "zod";
8143
- var DTODocumentationPageDependencies = z267.object({
8144
- id: z267.string(),
8145
- designSystemVersionId: z267.string(),
8146
- createdAt: z267.coerce.date(),
8147
- updatedAt: z267.coerce.date(),
8148
- documentationPageId: z267.string(),
8149
- tokenPersistentIds: z267.array(z267.string()),
8150
- figmaComponentPersistentIds: z267.array(z267.string()),
8151
- componentPersistentIds: z267.array(z267.string()),
8152
- figmaNodePersistentIds: z267.array(z267.string()),
8153
- groupPersistentIds: z267.array(z267.string()),
8154
- propertyPersistentIds: z267.array(z267.string()),
8155
- themePersistentIds: z267.array(z267.string()),
8156
- documentationPagePersistentIds: z267.array(z267.string()),
8157
- storybookEntriesStoryIds: z267.array(z267.string())
8158
- });
8159
- var DTODocumentationPageDependenciesGetResponse = z267.object({
8160
- dependencies: z267.array(DTODocumentationPageDependencies)
8155
+ import { z as z268 } from "zod";
8156
+ var DTODocumentationPageDependencies = z268.object({
8157
+ id: z268.string(),
8158
+ designSystemVersionId: z268.string(),
8159
+ createdAt: z268.coerce.date(),
8160
+ updatedAt: z268.coerce.date(),
8161
+ documentationPageId: z268.string(),
8162
+ tokenPersistentIds: z268.array(z268.string()),
8163
+ figmaComponentPersistentIds: z268.array(z268.string()),
8164
+ componentPersistentIds: z268.array(z268.string()),
8165
+ figmaNodePersistentIds: z268.array(z268.string()),
8166
+ groupPersistentIds: z268.array(z268.string()),
8167
+ propertyPersistentIds: z268.array(z268.string()),
8168
+ themePersistentIds: z268.array(z268.string()),
8169
+ documentationPagePersistentIds: z268.array(z268.string()),
8170
+ storybookEntriesStoryIds: z268.array(z268.string())
8171
+ });
8172
+ var DTODocumentationPageDependenciesGetResponse = z268.object({
8173
+ dependencies: z268.array(DTODocumentationPageDependencies)
8161
8174
  });
8162
8175
 
8163
8176
  // src/api/dto/elements/documentation/page-v1.ts
8164
- import { z as z268 } from "zod";
8177
+ import { z as z269 } from "zod";
8165
8178
  var DocumentationPageV1DTO = DocumentationPageV1.omit({
8166
8179
  data: true,
8167
8180
  meta: true,
@@ -8169,81 +8182,81 @@ var DocumentationPageV1DTO = DocumentationPageV1.omit({
8169
8182
  sortOrder: true
8170
8183
  }).extend({
8171
8184
  configuration: DTODocumentationItemConfigurationV1,
8172
- blocks: z268.array(PageBlockV1),
8173
- title: z268.string(),
8174
- path: z268.string()
8185
+ blocks: z269.array(PageBlockV1),
8186
+ title: z269.string(),
8187
+ path: z269.string()
8175
8188
  });
8176
8189
 
8177
8190
  // src/api/dto/elements/documentation/settings.ts
8178
- import { z as z269 } from "zod";
8179
- var DTODocumentationSettings = z269.object({
8180
- isDraftFeatureAdopted: z269.boolean(),
8181
- isApprovalsFeatureEnabled: z269.boolean(),
8182
- isApprovalRequiredForPublishing: z269.boolean()
8191
+ import { z as z270 } from "zod";
8192
+ var DTODocumentationSettings = z270.object({
8193
+ isDraftFeatureAdopted: z270.boolean(),
8194
+ isApprovalsFeatureEnabled: z270.boolean(),
8195
+ isApprovalRequiredForPublishing: z270.boolean()
8183
8196
  });
8184
8197
 
8185
8198
  // src/api/dto/elements/documentation/structure.ts
8186
- import { z as z270 } from "zod";
8187
- var DTODocumentationStructureItemType = z270.enum(["Group", "Page"]);
8188
- var DTODocumentationStructureItemBase = z270.object({
8199
+ import { z as z271 } from "zod";
8200
+ var DTODocumentationStructureItemType = z271.enum(["Group", "Page"]);
8201
+ var DTODocumentationStructureItemBase = z271.object({
8189
8202
  type: DTODocumentationStructureItemType,
8190
- id: z270.string(),
8191
- designSystemVersionId: z270.string(),
8192
- shortPersistentId: z270.string(),
8193
- persistentId: z270.string(),
8194
- title: z270.string(),
8195
- createdAt: z270.coerce.date(),
8196
- updatedAt: z270.coerce.date()
8203
+ id: z271.string(),
8204
+ designSystemVersionId: z271.string(),
8205
+ shortPersistentId: z271.string(),
8206
+ persistentId: z271.string(),
8207
+ title: z271.string(),
8208
+ createdAt: z271.coerce.date(),
8209
+ updatedAt: z271.coerce.date()
8197
8210
  });
8198
8211
  var DTODocumentationStructureGroupItem = DTODocumentationStructureItemBase.extend({
8199
- type: z270.literal(DTODocumentationStructureItemType.enum.Group),
8200
- groupBehavior: z270.string(),
8201
- childrenIds: z270.string().array(),
8202
- isRoot: z270.boolean()
8212
+ type: z271.literal(DTODocumentationStructureItemType.enum.Group),
8213
+ groupBehavior: z271.string(),
8214
+ childrenIds: z271.string().array(),
8215
+ isRoot: z271.boolean()
8203
8216
  });
8204
8217
  var DTODocumentationStructurePageItem = DTODocumentationStructureItemBase.extend({
8205
- type: z270.literal(DTODocumentationStructureItemType.enum.Page),
8206
- path: z270.string()
8218
+ type: z271.literal(DTODocumentationStructureItemType.enum.Page),
8219
+ path: z271.string()
8207
8220
  });
8208
- var DTODocumentationStructureItem = z270.discriminatedUnion("type", [
8221
+ var DTODocumentationStructureItem = z271.discriminatedUnion("type", [
8209
8222
  DTODocumentationStructureGroupItem,
8210
8223
  DTODocumentationStructurePageItem
8211
8224
  ]);
8212
- var DTODocumentationStructure = z270.object({
8213
- items: z270.array(DTODocumentationStructureItem)
8225
+ var DTODocumentationStructure = z271.object({
8226
+ items: z271.array(DTODocumentationStructureItem)
8214
8227
  });
8215
8228
 
8216
8229
  // src/api/dto/elements/figma-nodes/figma-node-structure.ts
8217
- import { z as z271 } from "zod";
8218
- var DTOFigmaNodeStructure = z271.object({
8219
- id: z271.string(),
8220
- sourceId: z271.string(),
8230
+ import { z as z272 } from "zod";
8231
+ var DTOFigmaNodeStructure = z272.object({
8232
+ id: z272.string(),
8233
+ sourceId: z272.string(),
8221
8234
  importState: FigmaNodeStructureStateV2,
8222
- createdAt: z271.coerce.date(),
8223
- updatedAt: z271.coerce.date()
8235
+ createdAt: z272.coerce.date(),
8236
+ updatedAt: z272.coerce.date()
8224
8237
  });
8225
8238
  var DTOFigmaNodeStructureDetail = DTOFigmaNodeStructure.extend({
8226
8239
  rootNode: FigmaFileStructureNode
8227
8240
  });
8228
- var DTOFigmaNodeStructureListResponse = z271.object({
8241
+ var DTOFigmaNodeStructureListResponse = z272.object({
8229
8242
  structures: DTOFigmaNodeStructure.array()
8230
8243
  });
8231
- var DTOFigmaNodeStructureDetailResponse = z271.object({
8244
+ var DTOFigmaNodeStructureDetailResponse = z272.object({
8232
8245
  structure: DTOFigmaNodeStructureDetail
8233
8246
  });
8234
8247
 
8235
8248
  // src/api/dto/elements/figma-nodes/figma-node-v1.ts
8236
- import { z as z273 } from "zod";
8249
+ import { z as z274 } from "zod";
8237
8250
 
8238
8251
  // src/api/dto/elements/figma-nodes/figma-node.ts
8239
- import { z as z272 } from "zod";
8252
+ import { z as z273 } from "zod";
8240
8253
  var DTOFigmaNodeRenderFormat = FigmaNodeRenderFormat;
8241
- var DTOFigmaNodeOrigin = z272.object({
8242
- sourceId: z272.string(),
8243
- fileId: z272.string().optional(),
8244
- parentName: z272.string().optional()
8254
+ var DTOFigmaNodeOrigin = z273.object({
8255
+ sourceId: z273.string(),
8256
+ fileId: z273.string().optional(),
8257
+ parentName: z273.string().optional()
8245
8258
  });
8246
- var DTOFigmaNodeRenderInputBase = z272.object({
8259
+ var DTOFigmaNodeRenderInputBase = z273.object({
8247
8260
  /**
8248
8261
  * Format in which the node must be rendered, png by default.
8249
8262
  */
@@ -8251,57 +8264,57 @@ var DTOFigmaNodeRenderInputBase = z272.object({
8251
8264
  /**
8252
8265
  * Scale to apply to PNG images, can be between 1 and 4. Scale is ignored for other image formats.
8253
8266
  */
8254
- scale: z272.number().optional()
8267
+ scale: z273.number().optional()
8255
8268
  });
8256
8269
  var DTOFigmaNodeRenderIdInput = DTOFigmaNodeRenderInputBase.extend({
8257
- inputType: z272.literal("NodeId").optional().transform((v) => v ?? "NodeId"),
8270
+ inputType: z273.literal("NodeId").optional().transform((v) => v ?? "NodeId"),
8258
8271
  /**
8259
8272
  * Id of a design system's data source representing a linked Figma file
8260
8273
  */
8261
- sourceId: z272.string(),
8274
+ sourceId: z273.string(),
8262
8275
  /**
8263
8276
  * Id of a node within the Figma file
8264
8277
  */
8265
- figmaFileNodeId: z272.string()
8278
+ figmaFileNodeId: z273.string()
8266
8279
  });
8267
8280
  var DTOFigmaNodeRenderUrlInput = DTOFigmaNodeRenderInputBase.extend({
8268
- inputType: z272.literal("URL"),
8281
+ inputType: z273.literal("URL"),
8269
8282
  /**
8270
8283
  * Id of a design system's data source representing a linked Figma file
8271
8284
  */
8272
- figmaNodeUrl: z272.string(),
8285
+ figmaNodeUrl: z273.string(),
8273
8286
  /**
8274
8287
  * Brand persistent id to use in case a source has to be created for this render
8275
8288
  */
8276
- brandPersistentId: z272.string()
8289
+ brandPersistentId: z273.string()
8277
8290
  });
8278
- var DTOFigmaNodeRerenderInput = z272.object({
8279
- inputType: z272.literal("Rerender"),
8291
+ var DTOFigmaNodeRerenderInput = z273.object({
8292
+ inputType: z273.literal("Rerender"),
8280
8293
  /**
8281
8294
  * Persistent ID of an existing Figma node
8282
8295
  */
8283
- figmaNodePersistentId: z272.string()
8296
+ figmaNodePersistentId: z273.string()
8284
8297
  });
8285
- var DTOFigmaNodeRenderInput = z272.discriminatedUnion("inputType", [
8298
+ var DTOFigmaNodeRenderInput = z273.discriminatedUnion("inputType", [
8286
8299
  DTOFigmaNodeRenderIdInput,
8287
8300
  DTOFigmaNodeRenderUrlInput,
8288
8301
  DTOFigmaNodeRerenderInput
8289
8302
  ]);
8290
8303
 
8291
8304
  // src/api/dto/elements/figma-nodes/figma-node-v1.ts
8292
- var DTOFigmaNodeData = z273.object({
8305
+ var DTOFigmaNodeData = z274.object({
8293
8306
  // Id of the node in the Figma file
8294
- figmaNodeId: z273.string(),
8307
+ figmaNodeId: z274.string(),
8295
8308
  // Validity
8296
- isValid: z273.boolean(),
8309
+ isValid: z274.boolean(),
8297
8310
  // Asset data
8298
- assetId: z273.string(),
8299
- assetUrl: z273.string(),
8311
+ assetId: z274.string(),
8312
+ assetUrl: z274.string(),
8300
8313
  assetFormat: DTOFigmaNodeRenderFormat,
8301
8314
  // Asset metadata
8302
- assetScale: z273.number(),
8303
- assetWidth: z273.number().optional(),
8304
- assetHeight: z273.number().optional()
8315
+ assetScale: z274.number(),
8316
+ assetWidth: z274.number().optional(),
8317
+ assetHeight: z274.number().optional()
8305
8318
  });
8306
8319
  var DTOFigmaNode = FigmaNodeReference.omit({
8307
8320
  data: true,
@@ -8312,15 +8325,15 @@ var DTOFigmaNode = FigmaNodeReference.omit({
8312
8325
  });
8313
8326
 
8314
8327
  // src/api/dto/elements/figma-nodes/figma-node-v2.ts
8315
- import { z as z274 } from "zod";
8316
- var DTOFigmaNodeDataV2 = z274.object({
8317
- sceneNodeId: z274.string(),
8328
+ import { z as z275 } from "zod";
8329
+ var DTOFigmaNodeDataV2 = z275.object({
8330
+ sceneNodeId: z275.string(),
8318
8331
  format: FigmaNodeRenderFormat,
8319
- scale: z274.number().optional(),
8332
+ scale: z275.number().optional(),
8320
8333
  renderState: FigmaNodeRenderState,
8321
8334
  renderedImage: FigmaNodeRenderedImage.optional(),
8322
8335
  renderError: FigmaNodeRenderError.optional(),
8323
- hasSource: z274.boolean()
8336
+ hasSource: z275.boolean()
8324
8337
  });
8325
8338
  var DTOFigmaNodeV2 = FigmaNodeReference.omit({
8326
8339
  data: true,
@@ -8331,113 +8344,113 @@ var DTOFigmaNodeV2 = FigmaNodeReference.omit({
8331
8344
  });
8332
8345
 
8333
8346
  // src/api/dto/elements/figma-nodes/node-actions-v2.ts
8334
- import { z as z275 } from "zod";
8335
- var DTOFigmaNodeRenderActionOutput = z275.object({
8336
- type: z275.literal("FigmaNodeRender"),
8337
- figmaNodes: z275.array(DTOFigmaNode)
8347
+ import { z as z276 } from "zod";
8348
+ var DTOFigmaNodeRenderActionOutput = z276.object({
8349
+ type: z276.literal("FigmaNodeRender"),
8350
+ figmaNodes: z276.array(DTOFigmaNode)
8338
8351
  });
8339
- var DTOFigmaNodeRenderAsyncActionOutput = z275.object({
8340
- type: z275.literal("FigmaNodeRenderAsync"),
8341
- figmaNodes: z275.array(DTOFigmaNodeV2)
8352
+ var DTOFigmaNodeRenderAsyncActionOutput = z276.object({
8353
+ type: z276.literal("FigmaNodeRenderAsync"),
8354
+ figmaNodes: z276.array(DTOFigmaNodeV2)
8342
8355
  });
8343
- var DTOFigmaNodeRenderActionInput = z275.object({
8344
- type: z275.literal("FigmaNodeRender"),
8356
+ var DTOFigmaNodeRenderActionInput = z276.object({
8357
+ type: z276.literal("FigmaNodeRender"),
8345
8358
  input: DTOFigmaNodeRenderIdInput.array()
8346
8359
  });
8347
- var DTOFigmaNodeRenderAsyncActionInput = z275.object({
8348
- type: z275.literal("FigmaNodeRenderAsync"),
8360
+ var DTOFigmaNodeRenderAsyncActionInput = z276.object({
8361
+ type: z276.literal("FigmaNodeRenderAsync"),
8349
8362
  nodes: DTOFigmaNodeRenderInput.array()
8350
8363
  });
8351
8364
 
8352
8365
  // src/api/dto/elements/frame-node-structures/frame-node-structure.ts
8353
- import { z as z276 } from "zod";
8354
- var DTOFrameNodeStructure = z276.object({
8355
- id: z276.string(),
8356
- persistentId: z276.string(),
8357
- designSystemVersionId: z276.string(),
8366
+ import { z as z277 } from "zod";
8367
+ var DTOFrameNodeStructure = z277.object({
8368
+ id: z277.string(),
8369
+ persistentId: z277.string(),
8370
+ designSystemVersionId: z277.string(),
8358
8371
  origin: FigmaFileStructureOrigin,
8359
8372
  assetsInFile: FigmaFileStructureStatistics
8360
8373
  });
8361
- var DTOFrameNodeStructureListResponse = z276.object({
8374
+ var DTOFrameNodeStructureListResponse = z277.object({
8362
8375
  structures: DTOFrameNodeStructure.array()
8363
8376
  });
8364
8377
 
8365
8378
  // src/api/dto/elements/properties/property-definitions.ts
8366
- import { z as z277 } from "zod";
8379
+ import { z as z278 } from "zod";
8367
8380
  var CODE_NAME_REGEX2 = /^[a-zA-Z_$][a-zA-Z_$0-9-]{1,99}$/;
8368
- var DTOElementPropertyDefinitionOption = z277.object({
8369
- id: z277.string(),
8370
- name: z277.string(),
8381
+ var DTOElementPropertyDefinitionOption = z278.object({
8382
+ id: z278.string(),
8383
+ name: z278.string(),
8371
8384
  backgroundColor: DTOColorTokenInlineData.optional()
8372
8385
  });
8373
- var DTOElementPropertyDefinition = z277.object({
8374
- id: z277.string(),
8375
- designSystemVersionId: z277.string(),
8386
+ var DTOElementPropertyDefinition = z278.object({
8387
+ id: z278.string(),
8388
+ designSystemVersionId: z278.string(),
8376
8389
  meta: DTOObjectMeta,
8377
- persistentId: z277.string(),
8390
+ persistentId: z278.string(),
8378
8391
  type: ElementPropertyTypeSchema,
8379
8392
  targetElementType: ElementPropertyTargetType,
8380
- codeName: z277.string().regex(CODE_NAME_REGEX2),
8381
- options: nullishToOptional(z277.array(DTOElementPropertyDefinitionOption)),
8393
+ codeName: z278.string().regex(CODE_NAME_REGEX2),
8394
+ options: nullishToOptional(z278.array(DTOElementPropertyDefinitionOption)),
8382
8395
  linkElementType: nullishToOptional(ElementPropertyLinkType),
8383
- isImmutable: z277.boolean(),
8396
+ isImmutable: z278.boolean(),
8384
8397
  immutablePropertyType: ElementPropertyImmutableType.optional()
8385
8398
  });
8386
- var DTOElementPropertyDefinitionListResponse = z277.object({
8387
- definitions: z277.array(DTOElementPropertyDefinition)
8399
+ var DTOElementPropertyDefinitionListResponse = z278.object({
8400
+ definitions: z278.array(DTOElementPropertyDefinition)
8388
8401
  });
8389
- var DTOElementPropertyDefinitionResponse = z277.object({
8402
+ var DTOElementPropertyDefinitionResponse = z278.object({
8390
8403
  definition: DTOElementPropertyDefinition
8391
8404
  });
8392
- var DTOElementPropertyDefinitionCreatePayload = z277.object({
8405
+ var DTOElementPropertyDefinitionCreatePayload = z278.object({
8393
8406
  meta: DTOObjectMeta,
8394
- persistentId: z277.string(),
8407
+ persistentId: z278.string(),
8395
8408
  type: ElementPropertyTypeSchema,
8396
8409
  targetElementType: ElementPropertyTargetType,
8397
- codeName: z277.string().regex(CODE_NAME_REGEX2),
8398
- options: nullishToOptional(z277.array(DTOElementPropertyDefinitionOption)),
8410
+ codeName: z278.string().regex(CODE_NAME_REGEX2),
8411
+ options: nullishToOptional(z278.array(DTOElementPropertyDefinitionOption)),
8399
8412
  linkElementType: nullishToOptional(ElementPropertyLinkType),
8400
- columnWidth: z277.number().max(1024).optional()
8413
+ columnWidth: z278.number().max(1024).optional()
8401
8414
  });
8402
- var DTOElementPropertyDefinitionUpdatePayload = z277.object({
8415
+ var DTOElementPropertyDefinitionUpdatePayload = z278.object({
8403
8416
  meta: DTOObjectMeta.optional(),
8404
- codeName: z277.string().regex(CODE_NAME_REGEX2).optional(),
8405
- options: z277.array(DTOElementPropertyDefinitionOption).optional()
8417
+ codeName: z278.string().regex(CODE_NAME_REGEX2).optional(),
8418
+ options: z278.array(DTOElementPropertyDefinitionOption).optional()
8406
8419
  });
8407
8420
 
8408
8421
  // src/api/dto/elements/properties/property-values.ts
8409
- import { z as z278 } from "zod";
8410
- var DTOElementPropertyValue = z278.object({
8411
- id: z278.string(),
8412
- designSystemVersionId: z278.string(),
8413
- definitionId: z278.string(),
8414
- targetElementId: z278.string(),
8415
- value: z278.union([z278.string(), z278.number(), z278.boolean()]).optional(),
8416
- valuePreview: z278.string().optional()
8417
- });
8418
- var DTOElementPropertyValueListResponse = z278.object({
8419
- values: z278.array(DTOElementPropertyValue)
8420
- });
8421
- var DTOElementPropertyValueResponse = z278.object({
8422
+ import { z as z279 } from "zod";
8423
+ var DTOElementPropertyValue = z279.object({
8424
+ id: z279.string(),
8425
+ designSystemVersionId: z279.string(),
8426
+ definitionId: z279.string(),
8427
+ targetElementId: z279.string(),
8428
+ value: z279.union([z279.string(), z279.number(), z279.boolean()]).optional(),
8429
+ valuePreview: z279.string().optional()
8430
+ });
8431
+ var DTOElementPropertyValueListResponse = z279.object({
8432
+ values: z279.array(DTOElementPropertyValue)
8433
+ });
8434
+ var DTOElementPropertyValueResponse = z279.object({
8422
8435
  value: DTOElementPropertyValue
8423
8436
  });
8424
- var DTOElementPropertyValuesEditActionOutput = z278.object({
8425
- type: z278.literal("ElementPropertyValuesEdit"),
8426
- output: z278.object({ success: z278.literal(true) })
8437
+ var DTOElementPropertyValuesEditActionOutput = z279.object({
8438
+ type: z279.literal("ElementPropertyValuesEdit"),
8439
+ output: z279.object({ success: z279.literal(true) })
8427
8440
  });
8428
- var DTOElementPropertyValueUpsertPaylod = z278.object({
8429
- definitionId: z278.string(),
8430
- targetElementId: z278.string(),
8431
- value: z278.string().or(z278.number()).or(z278.boolean()).nullable()
8441
+ var DTOElementPropertyValueUpsertPaylod = z279.object({
8442
+ definitionId: z279.string(),
8443
+ targetElementId: z279.string(),
8444
+ value: z279.string().or(z279.number()).or(z279.boolean()).nullable()
8432
8445
  });
8433
- var DTOElementPropertyValuesEditActionInput = z278.object({
8434
- type: z278.literal("ElementPropertyValuesEdit"),
8446
+ var DTOElementPropertyValuesEditActionInput = z279.object({
8447
+ type: z279.literal("ElementPropertyValuesEdit"),
8435
8448
  values: DTOElementPropertyValueUpsertPaylod.array()
8436
8449
  });
8437
8450
 
8438
8451
  // src/api/dto/elements/elements-action-v2.ts
8439
- import { z as z279 } from "zod";
8440
- var DTOElementActionOutput = z279.discriminatedUnion("type", [
8452
+ import { z as z280 } from "zod";
8453
+ var DTOElementActionOutput = z280.discriminatedUnion("type", [
8441
8454
  // Documentation pages
8442
8455
  DTODocumentationPageCreateActionOutputV2,
8443
8456
  DTODocumentationPageUpdateActionOutputV2,
@@ -8464,7 +8477,7 @@ var DTOElementActionOutput = z279.discriminatedUnion("type", [
8464
8477
  // Element properties
8465
8478
  DTOElementPropertyValuesEditActionOutput
8466
8479
  ]);
8467
- var DTOElementActionInput = z279.discriminatedUnion("type", [
8480
+ var DTOElementActionInput = z280.discriminatedUnion("type", [
8468
8481
  // Documentation pages
8469
8482
  DTODocumentationPageCreateActionInputV2,
8470
8483
  DTODocumentationPageUpdateActionInputV2,
@@ -8491,96 +8504,119 @@ var DTOElementActionInput = z279.discriminatedUnion("type", [
8491
8504
  // Element properties
8492
8505
  DTOElementPropertyValuesEditActionInput
8493
8506
  ]).and(
8494
- z279.object({
8495
- tId: z279.string().optional()
8507
+ z280.object({
8508
+ tId: z280.string().optional()
8496
8509
  })
8497
8510
  );
8498
8511
 
8499
8512
  // src/api/dto/elements/get-elements-v2.ts
8500
- import { z as z280 } from "zod";
8501
- var DTOElementsGetTypeFilter = z280.enum(["FigmaNode"]);
8502
- var DTOElementsGetQuerySchema = z280.object({
8503
- types: z280.string().transform((val) => val.split(",").map((v) => DTOElementsGetTypeFilter.parse(v))),
8504
- responseVersion: z280.coerce.number().default(1)
8513
+ import { z as z281 } from "zod";
8514
+ var DTOElementsGetTypeFilter = z281.enum(["FigmaNode"]);
8515
+ var DTOElementsGetQuerySchema = z281.object({
8516
+ types: z281.string().transform((val) => val.split(",").map((v) => DTOElementsGetTypeFilter.parse(v))),
8517
+ responseVersion: z281.coerce.number().default(1)
8505
8518
  });
8506
- var DTOElementsGetOutput = z280.object({
8507
- figmaNodes: z280.array(DTOFigmaNode).optional()
8519
+ var DTOElementsGetOutput = z281.object({
8520
+ figmaNodes: z281.array(DTOFigmaNode).optional()
8508
8521
  });
8509
- var DTOElementsGetOutputV2 = z280.object({
8510
- figmaNodes: z280.array(DTOFigmaNodeV2).optional()
8522
+ var DTOElementsGetOutputV2 = z281.object({
8523
+ figmaNodes: z281.array(DTOFigmaNodeV2).optional()
8511
8524
  });
8512
8525
 
8513
8526
  // src/api/dto/figma-components/assets/download.ts
8514
- import { z as z281 } from "zod";
8515
- var DTOAssetRenderConfiguration = z281.object({
8516
- prefix: z281.string().optional(),
8517
- suffix: z281.string().optional(),
8518
- scale: z281.enum(["x1", "x2", "x3", "x4"]),
8519
- format: z281.enum(["png", "pdf", "svg"])
8520
- });
8521
- var DTORenderedAssetFile = z281.object({
8522
- assetId: z281.string(),
8523
- fileName: z281.string(),
8524
- sourceUrl: z281.string(),
8527
+ import { z as z282 } from "zod";
8528
+ var DTOAssetRenderConfiguration = z282.object({
8529
+ prefix: z282.string().optional(),
8530
+ suffix: z282.string().optional(),
8531
+ scale: z282.enum(["x1", "x2", "x3", "x4"]),
8532
+ format: z282.enum(["png", "pdf", "svg"])
8533
+ });
8534
+ var DTORenderedAssetFile = z282.object({
8535
+ assetId: z282.string(),
8536
+ fileName: z282.string(),
8537
+ sourceUrl: z282.string(),
8525
8538
  settings: DTOAssetRenderConfiguration,
8526
- originalName: z281.string()
8539
+ originalName: z282.string()
8527
8540
  });
8528
- var DTODownloadAssetsRequest = z281.object({
8529
- persistentIds: z281.array(z281.string().uuid()).optional(),
8541
+ var DTODownloadAssetsRequest = z282.object({
8542
+ persistentIds: z282.array(z282.string().uuid()).optional(),
8530
8543
  settings: DTOAssetRenderConfiguration.array()
8531
8544
  });
8532
- var DTODownloadAssetsResponse = z281.object({
8545
+ var DTODownloadAssetsResponse = z282.object({
8533
8546
  items: DTORenderedAssetFile.array()
8534
8547
  });
8535
8548
 
8536
8549
  // src/api/dto/figma-exporter/figma-node.ts
8537
- import { z as z282 } from "zod";
8538
- var DTOFigmaNodeResponse = z282.object({
8550
+ import { z as z283 } from "zod";
8551
+ var DTOFigmaNodeResponse = z283.object({
8539
8552
  nodes: FigmaExporterAnyDesignNodeSchema
8540
8553
  });
8541
8554
 
8542
8555
  // src/api/dto/liveblocks/auth-response.ts
8543
- import { z as z283 } from "zod";
8544
- var DTOLiveblocksAuthResponse = z283.object({
8545
- token: z283.string()
8556
+ import { z as z284 } from "zod";
8557
+ var DTOLiveblocksAuthResponse = z284.object({
8558
+ token: z284.string()
8559
+ });
8560
+
8561
+ // src/api/dto/portal/portal-settings.ts
8562
+ import { z as z285 } from "zod";
8563
+ var DTOPortalSettingsTheme = PortalSettingsTheme;
8564
+ var DTOPortalSettings = z285.object({
8565
+ id: z285.string(),
8566
+ workspaceId: z285.string(),
8567
+ enabledDesignSystemIds: z285.array(z285.string()),
8568
+ enabledBrandPersistentIds: z285.array(z285.string()),
8569
+ theme: nullishToOptional(DTOPortalSettingsTheme),
8570
+ sidebar: nullishToOptional(z285.any()),
8571
+ createdAt: z285.coerce.date(),
8572
+ updatedAt: z285.coerce.date()
8573
+ });
8574
+ var DTOPortalSettingsGetResponse = z285.object({
8575
+ portalSettings: DTOPortalSettings
8576
+ });
8577
+ var DTOPortalSettingsUpdatePayload = z285.object({
8578
+ enabledDesignSystemIds: z285.array(z285.string()).optional(),
8579
+ enabledBrandPersistentIds: z285.array(z285.string()).optional(),
8580
+ theme: DTOPortalSettingsTheme.optional(),
8581
+ sidebar: z285.any().optional()
8546
8582
  });
8547
8583
 
8548
8584
  // src/api/dto/themes/override.ts
8549
- import { z as z284 } from "zod";
8585
+ import { z as z286 } from "zod";
8550
8586
  var DTOThemeOverride = DesignTokenTypedData.and(
8551
- z284.object({
8552
- tokenPersistentId: z284.string(),
8587
+ z286.object({
8588
+ tokenPersistentId: z286.string(),
8553
8589
  origin: ThemeOverrideOrigin.optional()
8554
8590
  })
8555
8591
  );
8556
8592
  var DTOThemeOverrideCreatePayload = DesignTokenTypedData.and(
8557
- z284.object({
8558
- tokenPersistentId: z284.string()
8593
+ z286.object({
8594
+ tokenPersistentId: z286.string()
8559
8595
  })
8560
8596
  );
8561
8597
 
8562
8598
  // src/api/dto/themes/theme.ts
8563
- import { z as z285 } from "zod";
8564
- var DTOTheme = z285.object({
8565
- id: z285.string(),
8566
- persistentId: z285.string(),
8567
- designSystemVersionId: z285.string(),
8568
- brandId: z285.string(),
8599
+ import { z as z287 } from "zod";
8600
+ var DTOTheme = z287.object({
8601
+ id: z287.string(),
8602
+ persistentId: z287.string(),
8603
+ designSystemVersionId: z287.string(),
8604
+ brandId: z287.string(),
8569
8605
  meta: ObjectMeta,
8570
- codeName: z285.string(),
8606
+ codeName: z287.string(),
8571
8607
  overrides: DTOThemeOverride.array()
8572
8608
  });
8573
- var DTOThemeResponse = z285.object({
8609
+ var DTOThemeResponse = z287.object({
8574
8610
  theme: DTOTheme
8575
8611
  });
8576
- var DTOThemeListResponse = z285.object({
8612
+ var DTOThemeListResponse = z287.object({
8577
8613
  themes: DTOTheme.array()
8578
8614
  });
8579
- var DTOThemeCreatePayload = z285.object({
8615
+ var DTOThemeCreatePayload = z287.object({
8580
8616
  meta: ObjectMeta,
8581
- persistentId: z285.string(),
8582
- brandId: z285.string(),
8583
- codeName: z285.string(),
8617
+ persistentId: z287.string(),
8618
+ brandId: z287.string(),
8619
+ codeName: z287.string(),
8584
8620
  overrides: DTOThemeOverride.array()
8585
8621
  });
8586
8622
 
@@ -8816,13 +8852,13 @@ var ExportersEndpoint = class {
8816
8852
  };
8817
8853
 
8818
8854
  // src/api/endpoints/codegen/jobs.ts
8819
- import { z as z286 } from "zod";
8855
+ import { z as z288 } from "zod";
8820
8856
  var ExporterJobsEndpoint = class {
8821
8857
  constructor(requestExecutor) {
8822
8858
  this.requestExecutor = requestExecutor;
8823
8859
  }
8824
8860
  list(workspaceId) {
8825
- return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/jobs`, z286.any());
8861
+ return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/jobs`, z288.any());
8826
8862
  }
8827
8863
  get(workspaceId, jobId) {
8828
8864
  return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/jobs/${jobId}`, DTOExportJobResponseLegacy);
@@ -8880,7 +8916,7 @@ var CodegenEndpoint = class {
8880
8916
  };
8881
8917
 
8882
8918
  // src/api/endpoints/design-system/versions/brands.ts
8883
- import { z as z287 } from "zod";
8919
+ import { z as z289 } from "zod";
8884
8920
  var BrandsEndpoint = class {
8885
8921
  constructor(requestExecutor) {
8886
8922
  this.requestExecutor = requestExecutor;
@@ -8914,7 +8950,7 @@ var BrandsEndpoint = class {
8914
8950
  });
8915
8951
  }
8916
8952
  delete(dsId, vId, brandId) {
8917
- return this.requestExecutor.json(`/design-systems/${dsId}/versions/${vId}/brands/${brandId}`, z287.any(), {
8953
+ return this.requestExecutor.json(`/design-systems/${dsId}/versions/${vId}/brands/${brandId}`, z289.any(), {
8918
8954
  method: "DELETE"
8919
8955
  });
8920
8956
  }
@@ -9181,7 +9217,7 @@ var ImportJobsEndpoint = class {
9181
9217
  };
9182
9218
 
9183
9219
  // src/api/endpoints/design-system/versions/overrides.ts
9184
- import { z as z288 } from "zod";
9220
+ import { z as z290 } from "zod";
9185
9221
  var OverridesEndpoint = class {
9186
9222
  constructor(requestExecutor) {
9187
9223
  this.requestExecutor = requestExecutor;
@@ -9189,7 +9225,7 @@ var OverridesEndpoint = class {
9189
9225
  create(dsId, versionId, themeId, body) {
9190
9226
  return this.requestExecutor.json(
9191
9227
  `/design-systems/${dsId}/versions/${versionId}/themes/${themeId}/overrides`,
9192
- z288.any(),
9228
+ z290.any(),
9193
9229
  {
9194
9230
  method: "POST",
9195
9231
  body
@@ -9199,7 +9235,7 @@ var OverridesEndpoint = class {
9199
9235
  };
9200
9236
 
9201
9237
  // src/api/endpoints/design-system/versions/property-definitions.ts
9202
- import { z as z289 } from "zod";
9238
+ import { z as z291 } from "zod";
9203
9239
  var ElementPropertyDefinitionsEndpoint = class {
9204
9240
  constructor(requestExecutor) {
9205
9241
  this.requestExecutor = requestExecutor;
@@ -9227,7 +9263,7 @@ var ElementPropertyDefinitionsEndpoint = class {
9227
9263
  delete(designSystemId, versionId, defId) {
9228
9264
  return this.requestExecutor.json(
9229
9265
  `/design-systems/${designSystemId}/versions/${versionId}/element-properties/definitions/${defId}`,
9230
- z289.any(),
9266
+ z291.any(),
9231
9267
  { method: "DELETE" }
9232
9268
  );
9233
9269
  }
@@ -9266,7 +9302,7 @@ var VersionStatsEndpoint = class {
9266
9302
  };
9267
9303
 
9268
9304
  // src/api/endpoints/design-system/versions/themes.ts
9269
- import { z as z290 } from "zod";
9305
+ import { z as z292 } from "zod";
9270
9306
  var ThemesEndpoint = class {
9271
9307
  constructor(requestExecutor) {
9272
9308
  this.requestExecutor = requestExecutor;
@@ -9289,7 +9325,7 @@ var ThemesEndpoint = class {
9289
9325
  });
9290
9326
  }
9291
9327
  delete(dsId, versionId, themeId) {
9292
- return this.requestExecutor.json(`/design-systems/${dsId}/versions/${versionId}/themes/${themeId}`, z290.any(), {
9328
+ return this.requestExecutor.json(`/design-systems/${dsId}/versions/${versionId}/themes/${themeId}`, z292.any(), {
9293
9329
  method: "DELETE"
9294
9330
  });
9295
9331
  }
@@ -9460,7 +9496,7 @@ var DesignSystemContactsEndpoint = class {
9460
9496
  };
9461
9497
 
9462
9498
  // src/api/endpoints/design-system/design-systems.ts
9463
- import { z as z294 } from "zod";
9499
+ import { z as z296 } from "zod";
9464
9500
 
9465
9501
  // src/api/endpoints/design-system/figma-node-structures.ts
9466
9502
  var FigmaNodeStructuresEndpoint = class {
@@ -9537,7 +9573,7 @@ var DesignSystemPageRedirectsEndpoint = class {
9537
9573
  };
9538
9574
 
9539
9575
  // src/api/endpoints/design-system/sources.ts
9540
- import { z as z291 } from "zod";
9576
+ import { z as z293 } from "zod";
9541
9577
  var DesignSystemSourcesEndpoint = class {
9542
9578
  constructor(requestExecutor) {
9543
9579
  this.requestExecutor = requestExecutor;
@@ -9555,7 +9591,7 @@ var DesignSystemSourcesEndpoint = class {
9555
9591
  return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, DTODataSourceResponse);
9556
9592
  }
9557
9593
  delete(dsId, sourceId) {
9558
- return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, z291.any(), { method: "DELETE" });
9594
+ return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, z293.any(), { method: "DELETE" });
9559
9595
  }
9560
9596
  updateFigmaSource(dsId, sourceId, payload) {
9561
9597
  return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, DTODataSourceResponse, {
@@ -9598,7 +9634,7 @@ var DesignSystemSourcesEndpoint = class {
9598
9634
  };
9599
9635
 
9600
9636
  // src/api/endpoints/design-system/storybook.ts
9601
- import { z as z292 } from "zod";
9637
+ import { z as z294 } from "zod";
9602
9638
  var StorybookEntriesEndpoint = class {
9603
9639
  constructor(requestExecutor) {
9604
9640
  this.requestExecutor = requestExecutor;
@@ -9614,14 +9650,14 @@ var StorybookEntriesEndpoint = class {
9614
9650
  );
9615
9651
  }
9616
9652
  delete(dsId, entryId) {
9617
- return this.requestExecutor.json(`/design-systems/${dsId}/versions/head/storybook/${entryId}`, z292.any(), {
9653
+ return this.requestExecutor.json(`/design-systems/${dsId}/versions/head/storybook/${entryId}`, z294.any(), {
9618
9654
  method: "DELETE"
9619
9655
  });
9620
9656
  }
9621
9657
  };
9622
9658
 
9623
9659
  // src/api/endpoints/design-system/storybook-hosting.ts
9624
- import { z as z293 } from "zod";
9660
+ import { z as z295 } from "zod";
9625
9661
  var StorybookHostingEndpoint = class {
9626
9662
  constructor(requestExecutor) {
9627
9663
  this.requestExecutor = requestExecutor;
@@ -9635,7 +9671,7 @@ var StorybookHostingEndpoint = class {
9635
9671
  delete(dsId, storybookUploadId) {
9636
9672
  return this.requestExecutor.json(
9637
9673
  `/design-systems/${dsId}/storybook/${storybookUploadId}`,
9638
- z293.object({ ok: z293.boolean() }),
9674
+ z295.object({ ok: z295.boolean() }),
9639
9675
  {
9640
9676
  method: "DELETE"
9641
9677
  }
@@ -9693,7 +9729,7 @@ var DesignSystemsEndpoint = class {
9693
9729
  return this.requestExecutor.json(`/design-systems/${dsId}`, DTODesignSystemResponse);
9694
9730
  }
9695
9731
  delete(dsId) {
9696
- return this.requestExecutor.json(`/design-systems/${dsId}`, z294.any(), { method: "DELETE" });
9732
+ return this.requestExecutor.json(`/design-systems/${dsId}`, z296.any(), { method: "DELETE" });
9697
9733
  }
9698
9734
  update(dsId, body) {
9699
9735
  return this.requestExecutor.json(`/design-systems/${dsId}`, DTODesignSystemResponse, {
@@ -9710,7 +9746,7 @@ var DesignSystemsEndpoint = class {
9710
9746
  };
9711
9747
 
9712
9748
  // src/api/endpoints/workspaces/integrations.ts
9713
- import { z as z295 } from "zod";
9749
+ import { z as z297 } from "zod";
9714
9750
  var WorkspaceIntegrationsEndpoint = class {
9715
9751
  constructor(requestExecutor) {
9716
9752
  this.requestExecutor = requestExecutor;
@@ -9719,7 +9755,7 @@ var WorkspaceIntegrationsEndpoint = class {
9719
9755
  return this.requestExecutor.json(`/workspaces/${wsId}/integrations`, DTOIntegrationsGetListResponse);
9720
9756
  }
9721
9757
  delete(wsId, iId) {
9722
- return this.requestExecutor.json(`/workspaces/${wsId}/integrations/${iId}`, z295.unknown(), { method: "DELETE" });
9758
+ return this.requestExecutor.json(`/workspaces/${wsId}/integrations/${iId}`, z297.unknown(), { method: "DELETE" });
9723
9759
  }
9724
9760
  };
9725
9761
 
@@ -9751,7 +9787,7 @@ var WorkspaceInvitationsEndpoint = class {
9751
9787
  };
9752
9788
 
9753
9789
  // src/api/endpoints/workspaces/members.ts
9754
- import { z as z296 } from "zod";
9790
+ import { z as z298 } from "zod";
9755
9791
  var WorkspaceMembersEndpoint = class {
9756
9792
  constructor(requestExecutor) {
9757
9793
  this.requestExecutor = requestExecutor;
@@ -9768,7 +9804,7 @@ var WorkspaceMembersEndpoint = class {
9768
9804
  });
9769
9805
  }
9770
9806
  invite(workspaceId, body) {
9771
- return this.requestExecutor.json(`/workspaces/${workspaceId}/members`, z296.any(), { method: "POST", body });
9807
+ return this.requestExecutor.json(`/workspaces/${workspaceId}/members`, z298.any(), { method: "POST", body });
9772
9808
  }
9773
9809
  delete(workspaceId, userId) {
9774
9810
  return this.requestExecutor.json(`/workspaces/${workspaceId}/members/${userId}`, DTOWorkspaceResponse, {
@@ -9797,7 +9833,7 @@ var WorkspaceNpmRegistryEndpoint = class {
9797
9833
  };
9798
9834
 
9799
9835
  // src/api/endpoints/workspaces/workspaces.ts
9800
- import { z as z297 } from "zod";
9836
+ import { z as z299 } from "zod";
9801
9837
  var WorkspacesEndpoint = class {
9802
9838
  constructor(requestExecutor) {
9803
9839
  this.requestExecutor = requestExecutor;
@@ -9827,10 +9863,10 @@ var WorkspacesEndpoint = class {
9827
9863
  return this.requestExecutor.json(`/workspaces/${workspaceId}`, DTOWorkspaceResponse, { method: "GET" });
9828
9864
  }
9829
9865
  delete(workspaceId) {
9830
- return this.requestExecutor.json(`/workspaces/${workspaceId}`, z297.any(), { method: "DELETE" });
9866
+ return this.requestExecutor.json(`/workspaces/${workspaceId}`, z299.any(), { method: "DELETE" });
9831
9867
  }
9832
9868
  subscription(workspaceId) {
9833
- return this.requestExecutor.json(`/workspaces/${workspaceId}/subscription`, z297.any(), { method: "GET" });
9869
+ return this.requestExecutor.json(`/workspaces/${workspaceId}/subscription`, z299.any(), { method: "GET" });
9834
9870
  }
9835
9871
  transferOwnership(workspaceId, body) {
9836
9872
  return this.requestExecutor.json(`/workspaces/${workspaceId}/ownership`, DTOWorkspaceResponse, {
@@ -9930,9 +9966,9 @@ ${bodyText}`,
9930
9966
 
9931
9967
  // src/api/transport/request-executor.ts
9932
9968
  import fetch from "node-fetch";
9933
- import { z as z298 } from "zod";
9934
- var ResponseWrapper = z298.object({
9935
- result: z298.record(z298.any())
9969
+ import { z as z300 } from "zod";
9970
+ var ResponseWrapper = z300.object({
9971
+ result: z300.record(z300.any())
9936
9972
  });
9937
9973
  var RequestExecutor = class {
9938
9974
  constructor(testServerConfig) {
@@ -10006,31 +10042,31 @@ var SupernovaApiClient = class {
10006
10042
  };
10007
10043
 
10008
10044
  // src/events/design-system.ts
10009
- import { z as z299 } from "zod";
10010
- var DTOEventFigmaNodesRendered = z299.object({
10011
- type: z299.literal("DesignSystem.FigmaNodesRendered"),
10012
- designSystemId: z299.string(),
10013
- versionId: z299.string(),
10014
- figmaNodePersistentIds: z299.string().array()
10015
- });
10016
- var DTOEventDataSourcesImported = z299.object({
10017
- type: z299.literal("DesignSystem.ImportJobFinished"),
10018
- designSystemId: z299.string(),
10019
- versionId: z299.string(),
10020
- importJobId: z299.string(),
10045
+ import { z as z301 } from "zod";
10046
+ var DTOEventFigmaNodesRendered = z301.object({
10047
+ type: z301.literal("DesignSystem.FigmaNodesRendered"),
10048
+ designSystemId: z301.string(),
10049
+ versionId: z301.string(),
10050
+ figmaNodePersistentIds: z301.string().array()
10051
+ });
10052
+ var DTOEventDataSourcesImported = z301.object({
10053
+ type: z301.literal("DesignSystem.ImportJobFinished"),
10054
+ designSystemId: z301.string(),
10055
+ versionId: z301.string(),
10056
+ importJobId: z301.string(),
10021
10057
  dataSourceType: DataSourceRemoteType,
10022
- dataSourceIds: z299.string().array()
10058
+ dataSourceIds: z301.string().array()
10023
10059
  });
10024
10060
 
10025
10061
  // src/events/event.ts
10026
- import { z as z300 } from "zod";
10027
- var DTOEvent = z300.discriminatedUnion("type", [DTOEventDataSourcesImported, DTOEventFigmaNodesRendered]);
10062
+ import { z as z302 } from "zod";
10063
+ var DTOEvent = z302.discriminatedUnion("type", [DTOEventDataSourcesImported, DTOEventFigmaNodesRendered]);
10028
10064
 
10029
10065
  // src/sync/docs-structure-repo.ts
10030
10066
  import PQueue from "p-queue";
10031
10067
 
10032
10068
  // src/yjs/design-system-content/documentation-hierarchy.ts
10033
- import { z as z301 } from "zod";
10069
+ import { z as z303 } from "zod";
10034
10070
 
10035
10071
  // src/yjs/version-room/base.ts
10036
10072
  var VersionRoomBaseYDoc = class {
@@ -10580,24 +10616,24 @@ var FrontendVersionRoomYDoc = class {
10580
10616
  };
10581
10617
 
10582
10618
  // src/yjs/design-system-content/documentation-hierarchy.ts
10583
- var DocumentationHierarchySettings = z301.object({
10584
- routingVersion: z301.string(),
10585
- isDraftFeatureAdopted: z301.boolean(),
10586
- isApprovalFeatureEnabled: z301.boolean(),
10587
- approvalRequiredForPublishing: z301.boolean()
10619
+ var DocumentationHierarchySettings = z303.object({
10620
+ routingVersion: z303.string(),
10621
+ isDraftFeatureAdopted: z303.boolean(),
10622
+ isApprovalFeatureEnabled: z303.boolean(),
10623
+ approvalRequiredForPublishing: z303.boolean()
10588
10624
  });
10589
10625
  function yjsToDocumentationHierarchy(doc) {
10590
10626
  return new FrontendVersionRoomYDoc(doc).getDocumentationHierarchy();
10591
10627
  }
10592
10628
 
10593
10629
  // src/yjs/design-system-content/item-configuration.ts
10594
- import { z as z302 } from "zod";
10595
- var DTODocumentationPageRoomHeaderData = z302.object({
10596
- title: z302.string(),
10630
+ import { z as z304 } from "zod";
10631
+ var DTODocumentationPageRoomHeaderData = z304.object({
10632
+ title: z304.string(),
10597
10633
  configuration: DTODocumentationItemConfigurationV2
10598
10634
  });
10599
- var DTODocumentationPageRoomHeaderDataUpdate = z302.object({
10600
- title: z302.string().optional(),
10635
+ var DTODocumentationPageRoomHeaderDataUpdate = z304.object({
10636
+ title: z304.string().optional(),
10601
10637
  configuration: DTODocumentationItemConfigurationV2.omit({ header: true }).extend({ header: DocumentationItemHeaderV2.partial() }).optional()
10602
10638
  });
10603
10639
  function itemConfigurationToYjs(yDoc, item) {
@@ -10632,9 +10668,9 @@ var PageBlockEditorModel = PageBlockEditorModelV2;
10632
10668
  var PageSectionEditorModel = PageSectionEditorModelV2;
10633
10669
 
10634
10670
  // src/yjs/docs-editor/model/page.ts
10635
- import { z as z303 } from "zod";
10636
- var DocumentationPageEditorModel = z303.object({
10637
- blocks: z303.array(DocumentationPageContentItem)
10671
+ import { z as z305 } from "zod";
10672
+ var DocumentationPageEditorModel = z305.object({
10673
+ blocks: z305.array(DocumentationPageContentItem)
10638
10674
  });
10639
10675
 
10640
10676
  // src/yjs/docs-editor/prosemirror/inner-editor-schema.ts
@@ -14311,7 +14347,7 @@ var blocks = [
14311
14347
 
14312
14348
  // src/yjs/docs-editor/prosemirror-to-blocks.ts
14313
14349
  import { yXmlFragmentToProsemirrorJSON } from "y-prosemirror";
14314
- import { z as z304 } from "zod";
14350
+ import { z as z306 } from "zod";
14315
14351
  function yDocToPage(yDoc, definitions) {
14316
14352
  return yXmlFragmentToPage(yDoc.getXmlFragment("default"), definitions);
14317
14353
  }
@@ -14387,7 +14423,7 @@ function prosemirrorNodeToSectionItem(prosemirrorNode, definitionsMap) {
14387
14423
  if (!id) return null;
14388
14424
  return {
14389
14425
  id,
14390
- title: getProsemirrorAttribute(prosemirrorNode, "title", z304.string()) ?? "",
14426
+ title: getProsemirrorAttribute(prosemirrorNode, "title", z306.string()) ?? "",
14391
14427
  columns: (prosemirrorNode.content ?? []).filter((c) => c.type === "sectionItemColumn").map((c) => prosemirrorNodeToSectionColumns(c, definitionsMap)).filter(nonNullFilter)
14392
14428
  };
14393
14429
  }
@@ -14421,7 +14457,7 @@ function internalProsemirrorNodesToBlocks(prosemirrorNodes, definitionsMap, dept
14421
14457
  });
14422
14458
  }
14423
14459
  function internalProsemirrorNodeToBlock(prosemirrorNode, definitionsMap, depth) {
14424
- const definitionId = getProsemirrorAttribute(prosemirrorNode, "definitionId", z304.string());
14460
+ const definitionId = getProsemirrorAttribute(prosemirrorNode, "definitionId", z306.string());
14425
14461
  if (!definitionId) {
14426
14462
  console.warn(`definitionId on ${prosemirrorNode.type} is required to be interpreted as a block, skipping node`);
14427
14463
  return [];
@@ -14462,7 +14498,7 @@ function parseAsRichText(prosemirrorNode, definition, property) {
14462
14498
  const id = getProsemirrorBlockId(prosemirrorNode);
14463
14499
  if (!id) return null;
14464
14500
  const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
14465
- const calloutType = parseCalloutType(getProsemirrorAttribute(prosemirrorNode, "type", z304.string().optional()));
14501
+ const calloutType = parseCalloutType(getProsemirrorAttribute(prosemirrorNode, "type", z306.string().optional()));
14466
14502
  return {
14467
14503
  id,
14468
14504
  type: "Block",
@@ -14585,9 +14621,9 @@ function parseRichTextAttribute(mark) {
14585
14621
  return null;
14586
14622
  }
14587
14623
  function parseProsemirrorLink(mark) {
14588
- const href = getProsemirrorAttribute(mark, "href", z304.string().optional());
14624
+ const href = getProsemirrorAttribute(mark, "href", z306.string().optional());
14589
14625
  if (!href) return null;
14590
- const target = getProsemirrorAttribute(mark, "target", z304.string().optional());
14626
+ const target = getProsemirrorAttribute(mark, "target", z306.string().optional());
14591
14627
  const openInNewTab = target === "_blank";
14592
14628
  if (href.startsWith("@")) {
14593
14629
  return {
@@ -14606,9 +14642,9 @@ function parseProsemirrorLink(mark) {
14606
14642
  }
14607
14643
  }
14608
14644
  function parseProsemirrorCommentHighlight(mark) {
14609
- const highlightId = getProsemirrorAttribute(mark, "highlightId", z304.string().optional());
14645
+ const highlightId = getProsemirrorAttribute(mark, "highlightId", z306.string().optional());
14610
14646
  if (!highlightId) return null;
14611
- const isResolved = getProsemirrorAttribute(mark, "resolved", z304.boolean().optional()) ?? false;
14647
+ const isResolved = getProsemirrorAttribute(mark, "resolved", z306.boolean().optional()) ?? false;
14612
14648
  return {
14613
14649
  type: "Comment",
14614
14650
  commentHighlightId: highlightId,
@@ -14619,7 +14655,7 @@ function parseAsTable(prosemirrorNode, definition, property) {
14619
14655
  const id = getProsemirrorBlockId(prosemirrorNode);
14620
14656
  if (!id) return null;
14621
14657
  const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
14622
- const hasBorder = getProsemirrorAttribute(prosemirrorNode, "hasBorder", z304.boolean().optional()) !== false;
14658
+ const hasBorder = getProsemirrorAttribute(prosemirrorNode, "hasBorder", z306.boolean().optional()) !== false;
14623
14659
  const tableChild = prosemirrorNode.content?.find((c) => c.type === "table");
14624
14660
  if (!tableChild) {
14625
14661
  return emptyTable(id, variantId, 0);
@@ -14665,9 +14701,9 @@ function parseAsTable(prosemirrorNode, definition, property) {
14665
14701
  function parseAsTableCell(prosemirrorNode) {
14666
14702
  const id = getProsemirrorBlockId(prosemirrorNode);
14667
14703
  if (!id) return null;
14668
- const textAlign = getProsemirrorAttribute(prosemirrorNode, "textAlign", z304.string().optional());
14704
+ const textAlign = getProsemirrorAttribute(prosemirrorNode, "textAlign", z306.string().optional());
14669
14705
  let columnWidth;
14670
- const columnWidthArray = getProsemirrorAttribute(prosemirrorNode, "colwidth", z304.array(z304.number()).nullish());
14706
+ const columnWidthArray = getProsemirrorAttribute(prosemirrorNode, "colwidth", z306.array(z306.number()).nullish());
14671
14707
  if (columnWidthArray) {
14672
14708
  columnWidth = roundDimension(columnWidthArray[0]);
14673
14709
  }
@@ -14703,7 +14739,7 @@ function parseAsTableNode(prosemirrorNode) {
14703
14739
  value: parseRichText(prosemirrorNode.content ?? [])
14704
14740
  };
14705
14741
  case "image":
14706
- const items = getProsemirrorAttribute(prosemirrorNode, "items", z304.string());
14742
+ const items = getProsemirrorAttribute(prosemirrorNode, "items", z306.string());
14707
14743
  if (!items) return null;
14708
14744
  const parsedItems = PageBlockItemV2.array().safeParse(JSON.parse(items));
14709
14745
  if (!parsedItems.success) return null;
@@ -14817,7 +14853,7 @@ function definitionExpectsPlaceholderItem(definition) {
14817
14853
  );
14818
14854
  }
14819
14855
  function parseBlockItems(prosemirrorNode, definition) {
14820
- const itemsString = getProsemirrorAttribute(prosemirrorNode, "items", z304.string());
14856
+ const itemsString = getProsemirrorAttribute(prosemirrorNode, "items", z306.string());
14821
14857
  if (!itemsString) return null;
14822
14858
  const itemsJson = JSON.parse(itemsString);
14823
14859
  if (!Array.isArray(itemsJson)) {
@@ -14828,18 +14864,18 @@ function parseBlockItems(prosemirrorNode, definition) {
14828
14864
  }
14829
14865
  function parseAppearance(prosemirrorNode) {
14830
14866
  let appearance = {};
14831
- const rawAppearanceString = getProsemirrorAttribute(prosemirrorNode, "appearance", z304.string().optional());
14867
+ const rawAppearanceString = getProsemirrorAttribute(prosemirrorNode, "appearance", z306.string().optional());
14832
14868
  if (rawAppearanceString) {
14833
14869
  const parsedAppearance = PageBlockAppearanceV2.safeParse(JSON.parse(rawAppearanceString));
14834
14870
  if (parsedAppearance.success) {
14835
14871
  appearance = parsedAppearance.data;
14836
14872
  }
14837
14873
  }
14838
- const columns = getProsemirrorAttribute(prosemirrorNode, "columns", z304.number().optional());
14874
+ const columns = getProsemirrorAttribute(prosemirrorNode, "columns", z306.number().optional());
14839
14875
  if (columns) {
14840
14876
  appearance.numberOfColumns = columns;
14841
14877
  }
14842
- const backgroundColor = getProsemirrorAttribute(prosemirrorNode, "backgroundColor", z304.string().optional());
14878
+ const backgroundColor = getProsemirrorAttribute(prosemirrorNode, "backgroundColor", z306.string().optional());
14843
14879
  if (backgroundColor) {
14844
14880
  const parsedColor = PageBlockColorV2.safeParse(JSON.parse(backgroundColor));
14845
14881
  if (parsedColor.success) {
@@ -14940,12 +14976,12 @@ function valueSchemaForPropertyType(type) {
14940
14976
  }
14941
14977
  }
14942
14978
  function getProsemirrorBlockId(prosemirrorNode) {
14943
- const id = getProsemirrorAttribute(prosemirrorNode, "id", z304.string());
14979
+ const id = getProsemirrorAttribute(prosemirrorNode, "id", z306.string());
14944
14980
  if (!id) console.warn(`Prosemirror attribute "id" on ${prosemirrorNode.type} is required`);
14945
14981
  return id;
14946
14982
  }
14947
14983
  function getProsemirrorBlockVariantId(prosemirrorNode) {
14948
- return getProsemirrorAttribute(prosemirrorNode, "variantId", nullishToOptional(z304.string()));
14984
+ return getProsemirrorAttribute(prosemirrorNode, "variantId", nullishToOptional(z306.string()));
14949
14985
  }
14950
14986
  function getProsemirrorAttribute(prosemirrorNode, attributeName, validationSchema) {
14951
14987
  const parsedAttr = validationSchema.safeParse(prosemirrorNode.attrs?.[attributeName]);
@@ -15801,6 +15837,10 @@ export {
15801
15837
  DTOPipelineResponse,
15802
15838
  DTOPipelineTriggerBody,
15803
15839
  DTOPipelineUpdateBody,
15840
+ DTOPortalSettings,
15841
+ DTOPortalSettingsGetResponse,
15842
+ DTOPortalSettingsTheme,
15843
+ DTOPortalSettingsUpdatePayload,
15804
15844
  DTOPublishDocumentationChanges,
15805
15845
  DTOPublishDocumentationRequest,
15806
15846
  DTOPublishDocumentationResponse,