@supernova-studio/client 1.9.13 → 1.9.15

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