@supernova-studio/client 0.57.20 → 0.58.1

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
@@ -2175,6 +2175,8 @@ var PageBlockImageAlignment = z44.enum(["Left", "Center", "Stretch"]);
2175
2175
  var PageBlockTableCellAlignment = z44.enum(["Left", "Center", "Right"]);
2176
2176
  var PageBlockPreviewContainerSize = z44.enum(["Centered", "NaturalHeight"]);
2177
2177
  var PageBlockThemeDisplayMode = z44.enum(["Split", "Override"]);
2178
+ var PageBlockTokenNameFormat = z44.enum(["Name", "GroupAndName", "FullPath", "CustomProperty"]);
2179
+ var PageBlockTokenValueFormat = z44.enum(["ResolvedValue", "ReferenceName", "NoValue"]);
2178
2180
  var PageBlockImageResourceReference = z44.object({
2179
2181
  resourceId: z44.string(),
2180
2182
  url: z44.string()
@@ -2238,7 +2240,9 @@ var PageBlockDataV2 = z44.object({
2238
2240
  var PageBlockItemAssetValue = z44.object({
2239
2241
  selectedPropertyIds: z44.array(z44.string()).optional(),
2240
2242
  showSearch: z44.boolean().optional(),
2243
+ showAssetDescription: z44.boolean().optional(),
2241
2244
  previewContainerSize: PageBlockPreviewContainerSize.optional(),
2245
+ previewContainerHeight: z44.number().optional(),
2242
2246
  backgroundColor: PageBlockColorV2.optional(),
2243
2247
  value: z44.array(
2244
2248
  z44.object({
@@ -2257,6 +2261,7 @@ var PageBlockItemFigmaComponentValue = z44.object({
2257
2261
  showPropertyList: z44.boolean().optional(),
2258
2262
  previewOrderIds: z44.array(z44.string()).optional(),
2259
2263
  previewContainerSize: PageBlockPreviewContainerSize.optional(),
2264
+ previewContainerHeight: z44.number().optional(),
2260
2265
  backgroundColor: PageBlockColorV2.optional(),
2261
2266
  value: z44.array(
2262
2267
  z44.object({
@@ -2313,6 +2318,7 @@ var PageBlockItemEmbedValue = z44.object({
2313
2318
  var PageBlockItemFigmaNodeValue = z44.object({
2314
2319
  showSearch: z44.boolean().optional(),
2315
2320
  previewContainerSize: PageBlockPreviewContainerSize.optional(),
2321
+ previewContainerHeight: z44.number().optional(),
2316
2322
  backgroundColor: PageBlockColorV2.optional(),
2317
2323
  showFrameDetails: z44.boolean().optional(),
2318
2324
  value: z44.array(
@@ -2326,6 +2332,8 @@ var PageBlockItemImageValue = z44.object({
2326
2332
  alt: z44.string().optional(),
2327
2333
  caption: z44.string().optional(),
2328
2334
  alignment: PageBlockImageAlignment.optional(),
2335
+ openLightbox: z44.boolean().optional(),
2336
+ isBordered: z44.boolean().optional(),
2329
2337
  value: PageBlockImageReference.optional()
2330
2338
  });
2331
2339
  var PageBlockItemMarkdownValue = z44.object({
@@ -2365,6 +2373,9 @@ var PageBlockItemTokenValue = z44.object({
2365
2373
  selectedThemeIds: z44.array(z44.string()).optional(),
2366
2374
  swatches: z44.array(PageBlockItemSwatch).optional(),
2367
2375
  themeDisplayMode: PageBlockThemeDisplayMode.optional(),
2376
+ tokenNameFormat: PageBlockTokenNameFormat.optional(),
2377
+ tokenNameCustomPropertyId: z44.string().optional(),
2378
+ tokenValueFormat: PageBlockTokenValueFormat.optional(),
2368
2379
  value: z44.array(
2369
2380
  z44.object({
2370
2381
  entityId: z44.string(),
@@ -5116,49 +5127,55 @@ function integrationCredentialToDto(credential) {
5116
5127
  };
5117
5128
  }
5118
5129
 
5119
- // src/api/dto/aux/pagination.ts
5130
+ // src/api/dto/aux/color.ts
5120
5131
  import { z as z177 } from "zod";
5121
- var DTOPagination = z177.object({
5122
- limit: z177.string().optional(),
5123
- offset: z177.string().optional()
5132
+ var DTOColorTokenInlineData = z177.object({
5133
+ value: z177.string().regex(/^#[a-f0-9]{6,8}$/)
5134
+ });
5135
+
5136
+ // src/api/dto/aux/pagination.ts
5137
+ import { z as z178 } from "zod";
5138
+ var DTOPagination = z178.object({
5139
+ limit: z178.string().optional(),
5140
+ offset: z178.string().optional()
5124
5141
  });
5125
5142
 
5126
5143
  // src/api/dto/bff/app-bootstrap-data.ts
5127
- import { z as z210 } from "zod";
5144
+ import { z as z211 } from "zod";
5128
5145
 
5129
5146
  // src/api/dto/design-systems/brand.ts
5130
- import { z as z178 } from "zod";
5131
- var DTOBrand = z178.object({
5132
- id: z178.string(),
5133
- designSystemVersionId: z178.string(),
5134
- persistentId: z178.string(),
5147
+ import { z as z179 } from "zod";
5148
+ var DTOBrand = z179.object({
5149
+ id: z179.string(),
5150
+ designSystemVersionId: z179.string(),
5151
+ persistentId: z179.string(),
5135
5152
  meta: ObjectMeta
5136
5153
  });
5137
- var DTOBrandGetResponse = z178.object({ brand: DTOBrand });
5138
- var DTOBrandCreateResponse = z178.object({
5154
+ var DTOBrandGetResponse = z179.object({ brand: DTOBrand });
5155
+ var DTOBrandCreateResponse = z179.object({
5139
5156
  brand: DTOBrand
5140
5157
  });
5141
- var DTOBrandsListResponse = z178.object({ brands: z178.array(DTOBrand) });
5158
+ var DTOBrandsListResponse = z179.object({ brands: z179.array(DTOBrand) });
5142
5159
 
5143
5160
  // src/api/dto/design-systems/contact.ts
5144
- import { z as z182 } from "zod";
5161
+ import { z as z183 } from "zod";
5145
5162
 
5146
5163
  // src/api/dto/users/authenticated-user.ts
5147
- import { z as z180 } from "zod";
5164
+ import { z as z181 } from "zod";
5148
5165
 
5149
5166
  // src/api/dto/users/user.ts
5150
- import { z as z179 } from "zod";
5151
- var DTOUserProfile = z179.object({
5152
- name: z179.string(),
5153
- nickname: z179.string().optional(),
5154
- avatar: z179.string().optional()
5155
- });
5156
- var DTOUser = z179.object({
5157
- id: z179.string(),
5158
- email: z179.string(),
5167
+ import { z as z180 } from "zod";
5168
+ var DTOUserProfile = z180.object({
5169
+ name: z180.string(),
5170
+ nickname: z180.string().optional(),
5171
+ avatar: z180.string().optional()
5172
+ });
5173
+ var DTOUser = z180.object({
5174
+ id: z180.string(),
5175
+ email: z180.string(),
5159
5176
  profile: DTOUserProfile
5160
5177
  });
5161
- var DTOUserGetResponse = z179.object({
5178
+ var DTOUserGetResponse = z180.object({
5162
5179
  user: DTOUser
5163
5180
  });
5164
5181
  var DTOUserProfileUpdate = UserProfileUpdate;
@@ -5167,146 +5184,146 @@ var DTOUserProfileUpdate = UserProfileUpdate;
5167
5184
  var DTOUserOnboardingDepartment = UserOnboardingDepartment;
5168
5185
  var DTOUserOnboardingJobLevel = UserOnboardingJobLevel;
5169
5186
  var DTOUserSource = UserSource;
5170
- var DTOUserOnboarding = z180.object({
5171
- companyName: z180.string().optional(),
5172
- numberOfPeopleInOrg: z180.string().optional(),
5173
- numberOfPeopleInDesignTeam: z180.string().optional(),
5187
+ var DTOUserOnboarding = z181.object({
5188
+ companyName: z181.string().optional(),
5189
+ numberOfPeopleInOrg: z181.string().optional(),
5190
+ numberOfPeopleInDesignTeam: z181.string().optional(),
5174
5191
  department: DTOUserOnboardingDepartment.optional(),
5175
- jobTitle: z180.string().optional(),
5176
- phase: z180.string().optional(),
5192
+ jobTitle: z181.string().optional(),
5193
+ phase: z181.string().optional(),
5177
5194
  jobLevel: DTOUserOnboardingJobLevel.optional(),
5178
- designSystemName: z180.string().optional(),
5179
- defaultDestination: z180.string().optional(),
5180
- isPageDraftOnboardingFinished: z180.boolean().optional()
5195
+ designSystemName: z181.string().optional(),
5196
+ defaultDestination: z181.string().optional(),
5197
+ isPageDraftOnboardingFinished: z181.boolean().optional()
5181
5198
  });
5182
5199
  var DTOAuthenticatedUserProfile = DTOUserProfile.extend({
5183
5200
  onboarding: DTOUserOnboarding.optional()
5184
5201
  });
5185
5202
  var DTOAuthenticatedUser = DTOUser.extend({
5186
5203
  profile: DTOAuthenticatedUserProfile,
5187
- createdAt: z180.coerce.date(),
5188
- loggedOutAt: z180.coerce.date().optional(),
5204
+ createdAt: z181.coerce.date(),
5205
+ loggedOutAt: z181.coerce.date().optional(),
5189
5206
  source: DTOUserSource.optional()
5190
5207
  });
5191
- var DTOAuthenticatedUserResponse = z180.object({
5208
+ var DTOAuthenticatedUserResponse = z181.object({
5192
5209
  user: DTOAuthenticatedUser
5193
5210
  });
5194
5211
 
5195
5212
  // src/api/dto/users/update.ts
5196
- import { z as z181 } from "zod";
5197
- var DTOUserProfileUpdateResponse = z181.object({
5213
+ import { z as z182 } from "zod";
5214
+ var DTOUserProfileUpdateResponse = z182.object({
5198
5215
  user: User
5199
5216
  });
5200
5217
 
5201
5218
  // src/api/dto/design-systems/contact.ts
5202
- var DTODesignSystemContactsResponse = z182.object({
5203
- contacts: z182.object({
5204
- workspace: z182.array(DTOUser),
5205
- designSystem: z182.array(DTOUser)
5219
+ var DTODesignSystemContactsResponse = z183.object({
5220
+ contacts: z183.object({
5221
+ workspace: z183.array(DTOUser),
5222
+ designSystem: z183.array(DTOUser)
5206
5223
  })
5207
5224
  });
5208
5225
 
5209
5226
  // src/api/dto/design-systems/data-source.ts
5210
- import { z as z183 } from "zod";
5211
- var DTODataSourceFigmaFileVersion = z183.object({
5212
- id: z183.string(),
5213
- created_at: z183.coerce.date(),
5214
- label: z183.string(),
5215
- description: z183.string()
5216
- });
5217
- var DTODataSourceFigmaCloud = z183.object({
5218
- fileId: z183.string(),
5227
+ import { z as z184 } from "zod";
5228
+ var DTODataSourceFigmaFileVersion = z184.object({
5229
+ id: z184.string(),
5230
+ created_at: z184.coerce.date(),
5231
+ label: z184.string(),
5232
+ description: z184.string()
5233
+ });
5234
+ var DTODataSourceFigmaCloud = z184.object({
5235
+ fileId: z184.string(),
5219
5236
  state: DataSourceFigmaState,
5220
5237
  autoImportMode: DataSourceAutoImportMode,
5221
- fileThumbnailUrl: z183.string().optional(),
5238
+ fileThumbnailUrl: z184.string().optional(),
5222
5239
  lastImportResult: SourceImportSummary.nullish(),
5223
- lastImportedAt: z183.coerce.date().nullish(),
5240
+ lastImportedAt: z184.coerce.date().nullish(),
5224
5241
  lastImportedVersion: DTODataSourceFigmaFileVersion.nullish(),
5225
- lastUpdatesCheckedAt: z183.date().nullish(),
5226
- ownerId: z183.string(),
5227
- ownerUserName: z183.string().optional(),
5228
- preferredCredentialId: z183.string().optional(),
5242
+ lastUpdatesCheckedAt: z184.date().nullish(),
5243
+ ownerId: z184.string(),
5244
+ ownerUserName: z184.string().optional(),
5245
+ preferredCredentialId: z184.string().optional(),
5229
5246
  stats: DataSourceStats
5230
5247
  });
5231
- var DTODataSourceFigma = z183.object({
5232
- id: z183.string(),
5233
- type: z183.literal(DataSourceRemoteType.Enum.Figma),
5234
- fileName: z183.string(),
5248
+ var DTODataSourceFigma = z184.object({
5249
+ id: z184.string(),
5250
+ type: z184.literal(DataSourceRemoteType.Enum.Figma),
5251
+ fileName: z184.string(),
5235
5252
  scope: DataSourceFigmaScope,
5236
- brandId: z183.string(),
5237
- themeId: z183.string().nullish(),
5253
+ brandId: z184.string(),
5254
+ themeId: z184.string().nullish(),
5238
5255
  cloud: DTODataSourceFigmaCloud.nullish()
5239
5256
  });
5240
- var DTODataSourceTokenStudio = z183.object({
5241
- id: z183.string(),
5242
- type: z183.literal(DataSourceRemoteType.Enum.TokenStudio),
5243
- fileName: z183.string(),
5244
- brandId: z183.string(),
5245
- themeId: z183.string().nullish(),
5246
- tokenStudio: z183.object({
5247
- settings: z183.object({
5248
- dryRun: z183.boolean(),
5249
- verbose: z183.boolean(),
5250
- preciseCopy: z183.boolean()
5257
+ var DTODataSourceTokenStudio = z184.object({
5258
+ id: z184.string(),
5259
+ type: z184.literal(DataSourceRemoteType.Enum.TokenStudio),
5260
+ fileName: z184.string(),
5261
+ brandId: z184.string(),
5262
+ themeId: z184.string().nullish(),
5263
+ tokenStudio: z184.object({
5264
+ settings: z184.object({
5265
+ dryRun: z184.boolean(),
5266
+ verbose: z184.boolean(),
5267
+ preciseCopy: z184.boolean()
5251
5268
  }),
5252
- connectionName: z183.string(),
5253
- lastImportedAt: z183.coerce.date(),
5254
- lastImportedResults: z183.array(
5255
- z183.object({
5256
- mapping: z183.object({
5257
- tokenSets: z183.array(z183.string()),
5258
- supernovaBrand: z183.string(),
5259
- supernovaTheme: z183.string().optional()
5269
+ connectionName: z184.string(),
5270
+ lastImportedAt: z184.coerce.date(),
5271
+ lastImportedResults: z184.array(
5272
+ z184.object({
5273
+ mapping: z184.object({
5274
+ tokenSets: z184.array(z184.string()),
5275
+ supernovaBrand: z184.string(),
5276
+ supernovaTheme: z184.string().optional()
5260
5277
  }),
5261
- isFailed: z183.boolean(),
5262
- tokensCreated: z183.number(),
5263
- tokensDeleted: z183.number(),
5264
- tokensUpdated: z183.number()
5278
+ isFailed: z184.boolean(),
5279
+ tokensCreated: z184.number(),
5280
+ tokensDeleted: z184.number(),
5281
+ tokensUpdated: z184.number()
5265
5282
  })
5266
5283
  )
5267
5284
  })
5268
5285
  });
5269
- var DTODataSourceFigmaVariablesPlugin = z183.object({
5270
- id: z183.string(),
5271
- type: z183.literal(DataSourceRemoteType.Enum.FigmaVariablesPlugin),
5272
- fileName: z183.string(),
5273
- brandId: z183.string(),
5274
- upload: z183.object({
5275
- remoteId: z183.string(),
5286
+ var DTODataSourceFigmaVariablesPlugin = z184.object({
5287
+ id: z184.string(),
5288
+ type: z184.literal(DataSourceRemoteType.Enum.FigmaVariablesPlugin),
5289
+ fileName: z184.string(),
5290
+ brandId: z184.string(),
5291
+ upload: z184.object({
5292
+ remoteId: z184.string(),
5276
5293
  remoteSourceType: DataSourceUploadRemoteSource,
5277
- lastImportedAt: z183.coerce.date().optional(),
5294
+ lastImportedAt: z184.coerce.date().optional(),
5278
5295
  lastImportMetadata: DataSourceUploadImportMetadata.optional(),
5279
- isTokenTypeSplitEnabled: z183.boolean()
5296
+ isTokenTypeSplitEnabled: z184.boolean()
5280
5297
  }),
5281
- figmaVariablesPlugin: z183.object({
5282
- fileId: z183.string(),
5283
- lastImportedAt: z183.coerce.date().optional(),
5298
+ figmaVariablesPlugin: z184.object({
5299
+ fileId: z184.string(),
5300
+ lastImportedAt: z184.coerce.date().optional(),
5284
5301
  lastImportMetadata: DataSourceUploadImportMetadata.optional(),
5285
- isTokenTypeSplitEnabled: z183.boolean(),
5286
- isCollectionsMigrationCompleted: z183.boolean().default(false)
5302
+ isTokenTypeSplitEnabled: z184.boolean(),
5303
+ isCollectionsMigrationCompleted: z184.boolean().default(false)
5287
5304
  })
5288
5305
  });
5289
- var DTODataSource = z183.discriminatedUnion("type", [
5306
+ var DTODataSource = z184.discriminatedUnion("type", [
5290
5307
  DTODataSourceFigma,
5291
5308
  DTODataSourceFigmaVariablesPlugin,
5292
5309
  DTODataSourceTokenStudio
5293
5310
  ]);
5294
- var DTODataSourcesListResponse = z183.object({
5295
- sources: z183.array(DTODataSource)
5311
+ var DTODataSourcesListResponse = z184.object({
5312
+ sources: z184.array(DTODataSource)
5296
5313
  });
5297
- var DTODataSourceCreationResponse = z183.object({
5314
+ var DTODataSourceCreationResponse = z184.object({
5298
5315
  source: DTODataSource
5299
5316
  });
5300
5317
 
5301
5318
  // src/api/dto/design-systems/design-system.ts
5302
- import { z as z186 } from "zod";
5319
+ import { z as z187 } from "zod";
5303
5320
 
5304
5321
  // src/api/dto/design-systems/members.ts
5305
- import { z as z185 } from "zod";
5322
+ import { z as z186 } from "zod";
5306
5323
 
5307
5324
  // src/api/dto/design-systems/role.ts
5308
- import { z as z184 } from "zod";
5309
- var DTODesignSystemRole = z184.enum([
5325
+ import { z as z185 } from "zod";
5326
+ var DTODesignSystemRole = z185.enum([
5310
5327
  WorkspaceRole.Admin,
5311
5328
  WorkspaceRole.Contributor,
5312
5329
  WorkspaceRole.Creator,
@@ -5314,29 +5331,29 @@ var DTODesignSystemRole = z184.enum([
5314
5331
  ]);
5315
5332
 
5316
5333
  // src/api/dto/design-systems/members.ts
5317
- var DTODesignSystemMember = z185.object({
5318
- userId: z185.string(),
5334
+ var DTODesignSystemMember = z186.object({
5335
+ userId: z186.string(),
5319
5336
  /**
5320
5337
  * Role that the member has in the design system,
5321
5338
  * undefined if set to inherit from workspace
5322
5339
  */
5323
5340
  designSystemRole: DTODesignSystemRole.optional()
5324
5341
  });
5325
- var DTODesignSystemInvitation = z185.object({
5326
- id: z185.string(),
5327
- workspaceInvitationId: z185.string(),
5342
+ var DTODesignSystemInvitation = z186.object({
5343
+ id: z186.string(),
5344
+ workspaceInvitationId: z186.string(),
5328
5345
  /**
5329
5346
  * Role that the invitation has in the design system,
5330
5347
  * undefined if set to inherit from workspace
5331
5348
  */
5332
5349
  designSystemRole: DTODesignSystemRole.optional()
5333
5350
  });
5334
- var DTODesignSystemMemberListResponse = z185.object({
5351
+ var DTODesignSystemMemberListResponse = z186.object({
5335
5352
  members: DTODesignSystemMember.array(),
5336
5353
  invitations: DTODesignSystemInvitation.array()
5337
5354
  });
5338
- var DTODesignSystemMembersUpdateResponse = z185.object({
5339
- ok: z185.literal(true)
5355
+ var DTODesignSystemMembersUpdateResponse = z186.object({
5356
+ ok: z186.literal(true)
5340
5357
  });
5341
5358
  var DTODesignSystemMembersUpdatePayload = DesignSystemMembershipUpdates;
5342
5359
 
@@ -5347,14 +5364,14 @@ var DTODesignSystem = DesignSystem.omit({
5347
5364
  docExporterId: true
5348
5365
  }).extend({
5349
5366
  meta: ObjectMeta,
5350
- docExporterId: z186.string(),
5351
- sources: z186.array(z186.any()),
5352
- isPublic: z186.literal(true),
5367
+ docExporterId: z187.string(),
5368
+ sources: z187.array(z187.any()),
5369
+ isPublic: z187.literal(true),
5353
5370
  /**
5354
5371
  * Whether or not user who is requesting the design system
5355
5372
  * has access to the design system's contents.
5356
5373
  */
5357
- isAvailableToUser: z186.boolean(),
5374
+ isAvailableToUser: z187.boolean(),
5358
5375
  /**
5359
5376
  * @deprecated
5360
5377
  */
@@ -5365,17 +5382,17 @@ var DTODesignSystem = DesignSystem.omit({
5365
5382
  */
5366
5383
  effectiveRole: DTODesignSystemRole.optional()
5367
5384
  });
5368
- var DTODesignSystemResponse = z186.object({
5385
+ var DTODesignSystemResponse = z187.object({
5369
5386
  designSystem: DTODesignSystem
5370
5387
  });
5371
- var DTODesignSystemsListResponse = z186.object({
5388
+ var DTODesignSystemsListResponse = z187.object({
5372
5389
  designSystems: DTODesignSystem.array()
5373
5390
  });
5374
- var DTODesignSystemCreateInput = z186.object({
5375
- workspaceId: z186.string(),
5391
+ var DTODesignSystemCreateInput = z187.object({
5392
+ workspaceId: z187.string(),
5376
5393
  meta: ObjectMeta.optional(),
5377
- name: z186.string().min(2).max(64).optional(),
5378
- description: z186.string().max(1024).optional(),
5394
+ name: z187.string().min(2).max(64).optional(),
5395
+ description: z187.string().max(1024).optional(),
5379
5396
  accessMode: DesignSystemAccessMode.optional(),
5380
5397
  invites: DTODesignSystemMembersUpdatePayload.pick({
5381
5398
  usersToInvite: true,
@@ -5385,25 +5402,25 @@ var DTODesignSystemCreateInput = z186.object({
5385
5402
  });
5386
5403
 
5387
5404
  // src/api/dto/design-systems/elements-diff.ts
5388
- import { z as z187 } from "zod";
5389
- var DTODiffCountBase = z187.object({
5390
- created: z187.number(),
5391
- updated: z187.number(),
5392
- deleted: z187.number()
5405
+ import { z as z188 } from "zod";
5406
+ var DTODiffCountBase = z188.object({
5407
+ created: z188.number(),
5408
+ updated: z188.number(),
5409
+ deleted: z188.number()
5393
5410
  });
5394
- var DTODesignElementsDataDiffResponse = z187.object({
5411
+ var DTODesignElementsDataDiffResponse = z188.object({
5395
5412
  tokens: DTODiffCountBase,
5396
5413
  assets: DTODiffCountBase
5397
5414
  });
5398
5415
 
5399
5416
  // src/api/dto/design-systems/exporter-property.ts
5400
- import { z as z188 } from "zod";
5401
- var DTOExporterProperty = z188.any({});
5402
- var DTOExporterPropertyListResponse = z188.object({ items: z188.array(DTOExporterProperty) });
5417
+ import { z as z189 } from "zod";
5418
+ var DTOExporterProperty = z189.any({});
5419
+ var DTOExporterPropertyListResponse = z189.object({ items: z189.array(DTOExporterProperty) });
5403
5420
 
5404
5421
  // src/api/dto/design-systems/figma-variables.ts
5405
- import { z as z189 } from "zod";
5406
- var DimensionsVariableScopeSchema = z189.enum([
5422
+ import { z as z190 } from "zod";
5423
+ var DimensionsVariableScopeSchema = z190.enum([
5407
5424
  "CORNER_RADIUS",
5408
5425
  "WIDTH_HEIGHT",
5409
5426
  "GAP",
@@ -5417,130 +5434,130 @@ var DimensionsVariableScopeSchema = z189.enum([
5417
5434
  "PARAGRAPH_INDENT",
5418
5435
  "FONT_WEIGHT"
5419
5436
  ]);
5420
- var StringVariableScopeSchema = z189.enum(["TEXT_CONTENT", "FONT_FAMILY", "FONT_STYLE"]);
5437
+ var StringVariableScopeSchema = z190.enum(["TEXT_CONTENT", "FONT_FAMILY", "FONT_STYLE"]);
5421
5438
  var DimensionsVariableScopeType = DimensionsVariableScopeSchema.enum;
5422
5439
  var StringVariableScopeType = StringVariableScopeSchema.enum;
5423
- var VariableScope = z189.string();
5424
- var ReferencedVariableOrigin = z189.object({
5425
- name: z189.string(),
5426
- remote: z189.boolean()
5440
+ var VariableScope = z190.string();
5441
+ var ReferencedVariableOrigin = z190.object({
5442
+ name: z190.string(),
5443
+ remote: z190.boolean()
5427
5444
  });
5428
- var RGB = z189.object({
5429
- r: z189.number(),
5430
- g: z189.number(),
5431
- b: z189.number()
5445
+ var RGB = z190.object({
5446
+ r: z190.number(),
5447
+ g: z190.number(),
5448
+ b: z190.number()
5432
5449
  });
5433
5450
  var RGBA = RGB.extend({
5434
- a: z189.number()
5435
- });
5436
- var VariableAlias = z189.object({
5437
- type: z189.literal("VARIABLE_ALIAS"),
5438
- id: z189.string(),
5439
- resolvedValue: z189.boolean().or(z189.number()).or(z189.string()).or(RGBA).or(RGB).optional(),
5440
- referenceOrigin: ReferencedVariableOrigin.optional().or(z189.null())
5441
- });
5442
- var VariableValue = z189.boolean().or(z189.number()).or(z189.string()).or(RGBA).or(RGB).or(VariableAlias);
5443
- var ResolvedVariableType = z189.enum(["BOOLEAN", "FLOAT", "STRING", "COLOR"]);
5444
- var Variable = z189.object({
5445
- id: z189.string(),
5446
- name: z189.string(),
5447
- key: z189.string(),
5448
- variableCollectionId: z189.string(),
5451
+ a: z190.number()
5452
+ });
5453
+ var VariableAlias = z190.object({
5454
+ type: z190.literal("VARIABLE_ALIAS"),
5455
+ id: z190.string(),
5456
+ resolvedValue: z190.boolean().or(z190.number()).or(z190.string()).or(RGBA).or(RGB).optional(),
5457
+ referenceOrigin: ReferencedVariableOrigin.optional().or(z190.null())
5458
+ });
5459
+ var VariableValue = z190.boolean().or(z190.number()).or(z190.string()).or(RGBA).or(RGB).or(VariableAlias);
5460
+ var ResolvedVariableType = z190.enum(["BOOLEAN", "FLOAT", "STRING", "COLOR"]);
5461
+ var Variable = z190.object({
5462
+ id: z190.string(),
5463
+ name: z190.string(),
5464
+ key: z190.string(),
5465
+ variableCollectionId: z190.string(),
5449
5466
  resolvedType: ResolvedVariableType,
5450
- valuesByMode: z189.record(VariableValue),
5451
- remote: z189.boolean(),
5452
- description: z189.string(),
5453
- hiddenFromPublishing: z189.boolean(),
5454
- scopes: z189.array(VariableScope),
5455
- codeSyntax: z189.record(z189.any()).optional()
5456
- });
5457
- var VariableMode = z189.object({
5458
- modeId: z189.string(),
5459
- name: z189.string()
5460
- });
5461
- var Collection2 = z189.object({
5462
- id: z189.string(),
5463
- name: z189.string(),
5464
- modes: z189.array(VariableMode),
5465
- defaultModeId: z189.string(),
5466
- remote: z189.boolean(),
5467
- hiddenFromPublishing: z189.boolean()
5468
- });
5469
- var VariablesMapping = z189.object({
5470
- variableCollections: z189.array(z189.string()).min(1),
5471
- variableMode: z189.string().min(1),
5472
- supernovaBrand: z189.string().min(1),
5473
- supernovaTheme: z189.string().min(1).optional().or(z189.null())
5474
- });
5475
- var FormattedCollections = z189.object({
5476
- variables: z189.record(z189.string(), Variable),
5477
- variableCollections: z189.record(z189.string(), Collection2),
5478
- mappings: z189.array(VariablesMapping).optional(),
5479
- variablesOrder: z189.string().array().optional()
5467
+ valuesByMode: z190.record(VariableValue),
5468
+ remote: z190.boolean(),
5469
+ description: z190.string(),
5470
+ hiddenFromPublishing: z190.boolean(),
5471
+ scopes: z190.array(VariableScope),
5472
+ codeSyntax: z190.record(z190.any()).optional()
5473
+ });
5474
+ var VariableMode = z190.object({
5475
+ modeId: z190.string(),
5476
+ name: z190.string()
5477
+ });
5478
+ var Collection2 = z190.object({
5479
+ id: z190.string(),
5480
+ name: z190.string(),
5481
+ modes: z190.array(VariableMode),
5482
+ defaultModeId: z190.string(),
5483
+ remote: z190.boolean(),
5484
+ hiddenFromPublishing: z190.boolean()
5485
+ });
5486
+ var VariablesMapping = z190.object({
5487
+ variableCollections: z190.array(z190.string()).min(1),
5488
+ variableMode: z190.string().min(1),
5489
+ supernovaBrand: z190.string().min(1),
5490
+ supernovaTheme: z190.string().min(1).optional().or(z190.null())
5491
+ });
5492
+ var FormattedCollections = z190.object({
5493
+ variables: z190.record(z190.string(), Variable),
5494
+ variableCollections: z190.record(z190.string(), Collection2),
5495
+ mappings: z190.array(VariablesMapping).optional(),
5496
+ variablesOrder: z190.string().array().optional()
5480
5497
  });
5481
5498
 
5482
5499
  // src/api/dto/design-systems/import-job.ts
5483
- import { z as z190 } from "zod";
5484
- var DTOImportJob = z190.object({
5485
- id: z190.string(),
5486
- designSystemId: z190.string(),
5487
- designSystemVersionId: z190.string(),
5488
- operation: z190.literal("Import"),
5489
- createdAt: z190.coerce.date(),
5490
- stateChangedAt: z190.coerce.date(),
5500
+ import { z as z191 } from "zod";
5501
+ var DTOImportJob = z191.object({
5502
+ id: z191.string(),
5503
+ designSystemId: z191.string(),
5504
+ designSystemVersionId: z191.string(),
5505
+ operation: z191.literal("Import"),
5506
+ createdAt: z191.coerce.date(),
5507
+ stateChangedAt: z191.coerce.date(),
5491
5508
  state: ImportJobState,
5492
- sourceIds: z190.string().array()
5509
+ sourceIds: z191.string().array()
5493
5510
  });
5494
- var DTOImportJobResponse = z190.object({
5511
+ var DTOImportJobResponse = z191.object({
5495
5512
  job: DTOImportJob
5496
5513
  });
5497
- var DTOBffFigmaImportRequestBody = z190.object({
5498
- type: z190.literal(DataSourceRemoteType.Enum.Figma),
5499
- brandPersistentId: z190.string().optional(),
5500
- fileId: z190.string(),
5514
+ var DTOBffFigmaImportRequestBody = z191.object({
5515
+ type: z191.literal(DataSourceRemoteType.Enum.Figma),
5516
+ brandPersistentId: z191.string().optional(),
5517
+ fileId: z191.string(),
5501
5518
  scope: DataSourceFigmaScope,
5502
5519
  autoImportMode: DataSourceAutoImportMode
5503
5520
  });
5504
- var DTOBffUploadImportRequestBody = z190.object({
5505
- type: z190.enum([DataSourceRemoteType.Enum.FigmaVariablesPlugin, "Upload"]).transform((v) => DataSourceRemoteType.Enum.FigmaVariablesPlugin),
5506
- brandPersistentId: z190.string().optional(),
5507
- sourceName: z190.string().optional(),
5508
- remoteId: z190.string(),
5509
- isTokenTypeSplitEnabled: z190.boolean().optional(),
5510
- payload: z190.any()
5521
+ var DTOBffUploadImportRequestBody = z191.object({
5522
+ type: z191.enum([DataSourceRemoteType.Enum.FigmaVariablesPlugin, "Upload"]).transform((v) => DataSourceRemoteType.Enum.FigmaVariablesPlugin),
5523
+ brandPersistentId: z191.string().optional(),
5524
+ sourceName: z191.string().optional(),
5525
+ remoteId: z191.string(),
5526
+ isTokenTypeSplitEnabled: z191.boolean().optional(),
5527
+ payload: z191.any()
5511
5528
  });
5512
- var DTOBffImportRequestBody = z190.discriminatedUnion("type", [
5529
+ var DTOBffImportRequestBody = z191.discriminatedUnion("type", [
5513
5530
  DTOBffFigmaImportRequestBody,
5514
5531
  DTOBffUploadImportRequestBody
5515
5532
  ]);
5516
5533
 
5517
5534
  // src/api/dto/design-systems/stats.ts
5518
- import { z as z191 } from "zod";
5519
- var DTODesignSystemVersionStats = z191.object({
5520
- tokens: z191.number(),
5521
- designSystemComponents: z191.number(),
5522
- assets: z191.number(),
5523
- documentationPages: z191.number()
5535
+ import { z as z192 } from "zod";
5536
+ var DTODesignSystemVersionStats = z192.object({
5537
+ tokens: z192.number(),
5538
+ designSystemComponents: z192.number(),
5539
+ assets: z192.number(),
5540
+ documentationPages: z192.number()
5524
5541
  });
5525
- var DTODesignSystemVersionStatsQuery = z191.object({
5526
- brandId: z191.string().optional()
5542
+ var DTODesignSystemVersionStatsQuery = z192.object({
5543
+ brandId: z192.string().optional()
5527
5544
  });
5528
5545
 
5529
5546
  // src/api/dto/design-systems/version.ts
5530
- import { z as z202 } from "zod";
5547
+ import { z as z203 } from "zod";
5531
5548
 
5532
5549
  // src/api/payloads/design-systems/brand.ts
5533
- import { z as z192 } from "zod";
5534
- var DTOCreateBrandInput = z192.object({
5535
- persistentId: z192.string().uuid(),
5536
- meta: z192.object({
5537
- name: z192.string(),
5538
- description: z192.string()
5550
+ import { z as z193 } from "zod";
5551
+ var DTOCreateBrandInput = z193.object({
5552
+ persistentId: z193.string().uuid(),
5553
+ meta: z193.object({
5554
+ name: z193.string(),
5555
+ description: z193.string()
5539
5556
  })
5540
5557
  });
5541
5558
 
5542
5559
  // src/api/payloads/design-systems/update-design-system.ts
5543
- import { z as z193 } from "zod";
5560
+ import { z as z194 } from "zod";
5544
5561
  var DTODesignSystemUpdateInput = DesignSystem.partial().omit({
5545
5562
  id: true,
5546
5563
  workspaceId: true,
@@ -5552,40 +5569,40 @@ var DTODesignSystemUpdateInput = DesignSystem.partial().omit({
5552
5569
  }).extend({
5553
5570
  meta: ObjectMeta.partial().optional()
5554
5571
  });
5555
- var DTODesignSystemUpdateAccessModeInput = z193.object({
5572
+ var DTODesignSystemUpdateAccessModeInput = z194.object({
5556
5573
  accessMode: DesignSystemAccessMode,
5557
- retain: z193.object({
5558
- userIds: z193.string().array(),
5559
- inviteIds: z193.string().array()
5574
+ retain: z194.object({
5575
+ userIds: z194.string().array(),
5576
+ inviteIds: z194.string().array()
5560
5577
  }).optional()
5561
5578
  });
5562
5579
 
5563
5580
  // src/api/payloads/design-systems/version.ts
5564
- import { z as z194 } from "zod";
5565
- var ObjectMeta2 = z194.object({
5566
- name: z194.string().max(150).optional(),
5567
- description: z194.string().max(2e3).optional()
5581
+ import { z as z195 } from "zod";
5582
+ var ObjectMeta2 = z195.object({
5583
+ name: z195.string().max(150).optional(),
5584
+ description: z195.string().max(2e3).optional()
5568
5585
  });
5569
5586
  function validateDesignSystemVersion(version) {
5570
5587
  const urlCompliantRegex = /^[a-zA-Z0-9+.-]+$/;
5571
5588
  return urlCompliantRegex.test(version);
5572
5589
  }
5573
- var DTOCreateVersionInput = z194.object({
5590
+ var DTOCreateVersionInput = z195.object({
5574
5591
  meta: ObjectMeta2,
5575
- version: z194.string().refine(validateDesignSystemVersion, {
5592
+ version: z195.string().refine(validateDesignSystemVersion, {
5576
5593
  message: "Invalid semantic versioning format"
5577
5594
  }),
5578
- changeLog: z194.string().optional()
5595
+ changeLog: z195.string().optional()
5579
5596
  });
5580
- var DTOUpdateVersionInput = z194.object({
5597
+ var DTOUpdateVersionInput = z195.object({
5581
5598
  meta: ObjectMeta2,
5582
- version: z194.string(),
5599
+ version: z195.string(),
5583
5600
  // required for PUT, but not editable
5584
- changeLog: z194.string()
5601
+ changeLog: z195.string()
5585
5602
  });
5586
5603
 
5587
5604
  // src/api/payloads/documentation/block-definitions.ts
5588
- import { z as z195 } from "zod";
5605
+ import { z as z196 } from "zod";
5589
5606
 
5590
5607
  // src/api/dto/documentation/block-definition.ts
5591
5608
  var DTOPageBlockDefinitionBehavior = PageBlockDefinitionBehavior;
@@ -5597,60 +5614,60 @@ var DTOPageBlockColorV2 = PageBlockColorV2;
5597
5614
  var DTOPageBlockDefinition = PageBlockDefinition;
5598
5615
 
5599
5616
  // src/api/payloads/documentation/block-definitions.ts
5600
- var DTOGetBlockDefinitionsOutput = z195.object({
5601
- definitions: z195.array(DTOPageBlockDefinition)
5617
+ var DTOGetBlockDefinitionsOutput = z196.object({
5618
+ definitions: z196.array(DTOPageBlockDefinition)
5602
5619
  });
5603
5620
 
5604
5621
  // src/api/payloads/documentation/design-data-doc-diff.ts
5605
- import { z as z196 } from "zod";
5606
- var DTODocumentationPublishTypeQueryParams = z196.object({
5607
- environment: z196.enum(["Live", "Preview"])
5622
+ import { z as z197 } from "zod";
5623
+ var DTODocumentationPublishTypeQueryParams = z197.object({
5624
+ environment: z197.enum(["Live", "Preview"])
5608
5625
  });
5609
5626
 
5610
5627
  // src/api/payloads/export/pipeline.ts
5611
- import { z as z197 } from "zod";
5612
- var DTOPipelineCreateBody = z197.object({
5613
- name: z197.string(),
5614
- exporterId: z197.string(),
5615
- designSystemId: z197.string(),
5616
- isEnabled: z197.boolean(),
5628
+ import { z as z198 } from "zod";
5629
+ var DTOPipelineCreateBody = z198.object({
5630
+ name: z198.string(),
5631
+ exporterId: z198.string(),
5632
+ designSystemId: z198.string(),
5633
+ isEnabled: z198.boolean(),
5617
5634
  eventType: PipelineEventType,
5618
- brandPersistentId: z197.string().optional(),
5619
- themePersistentId: z197.string().optional(),
5620
- themePersistentIds: z197.string().array().optional(),
5635
+ brandPersistentId: z198.string().optional(),
5636
+ themePersistentId: z198.string().optional(),
5637
+ themePersistentIds: z198.string().array().optional(),
5621
5638
  destination: PipelineDestinationType.optional(),
5622
5639
  gitQuery: GitObjectsQuery,
5623
- destinations: z197.object({
5640
+ destinations: z198.object({
5624
5641
  s3: ExporterDestinationS3.nullish(),
5625
5642
  azure: ExporterDestinationAzure.nullish(),
5626
5643
  bitbucket: ExporterDestinationBitbucket.nullish(),
5627
5644
  github: ExporterDestinationGithub.nullish(),
5628
5645
  gitlab: ExporterDestinationGitlab.nullish(),
5629
5646
  documentation: ExporterDestinationDocs.nullish(),
5630
- webhookUrl: z197.string().nullish()
5647
+ webhookUrl: z198.string().nullish()
5631
5648
  })
5632
5649
  });
5633
5650
  var DTOPipelineUpdateBody = DTOPipelineCreateBody.extend({
5634
- id: z197.string()
5651
+ id: z198.string()
5635
5652
  });
5636
- var DTOPipelineTriggerBody = z197.object({
5637
- designSystemVersionId: z197.string()
5653
+ var DTOPipelineTriggerBody = z198.object({
5654
+ designSystemVersionId: z198.string()
5638
5655
  });
5639
5656
 
5640
5657
  // src/api/payloads/liveblocks/auth.ts
5641
- import { z as z198 } from "zod";
5642
- var DTOLiveblocksAuthRequest = z198.object({
5643
- room: z198.string().optional()
5658
+ import { z as z199 } from "zod";
5659
+ var DTOLiveblocksAuthRequest = z199.object({
5660
+ room: z199.string().optional()
5644
5661
  });
5645
5662
 
5646
5663
  // src/api/payloads/users/notifications/notification-settings.ts
5647
- import { z as z199 } from "zod";
5648
- var DTOUpdateUserNotificationSettingsPayload = z199.object({
5664
+ import { z as z200 } from "zod";
5665
+ var DTOUpdateUserNotificationSettingsPayload = z200.object({
5649
5666
  notificationSettings: UserNotificationSettings
5650
5667
  });
5651
- var DTOUserNotificationSettingsResponse = z199.object({
5652
- userId: z199.string(),
5653
- workspaceId: z199.string(),
5668
+ var DTOUserNotificationSettingsResponse = z200.object({
5669
+ userId: z200.string(),
5670
+ workspaceId: z200.string(),
5654
5671
  notificationSettings: UserNotificationSettings
5655
5672
  });
5656
5673
 
@@ -5658,7 +5675,7 @@ var DTOUserNotificationSettingsResponse = z199.object({
5658
5675
  var DTOUserProfileUpdatePayload = UserProfileUpdate;
5659
5676
 
5660
5677
  // src/api/payloads/workspaces/workspace-configuration.ts
5661
- import { z as z200 } from "zod";
5678
+ import { z as z201 } from "zod";
5662
5679
  var prohibitedSsoKeys = ["providerId", "metadataXml", "emailDomains"];
5663
5680
  function validateSsoPayload(ssoPayload) {
5664
5681
  const keys = [];
@@ -5681,21 +5698,21 @@ function validateSsoPayload(ssoPayload) {
5681
5698
  keys
5682
5699
  };
5683
5700
  }
5684
- var NpmRegistryInput = z200.object({
5685
- enabledScopes: z200.array(z200.string()),
5686
- customRegistryUrl: z200.string().optional(),
5687
- bypassProxy: z200.boolean().optional(),
5688
- npmProxyRegistryConfigId: z200.string().optional(),
5689
- npmProxyVersion: z200.number().optional(),
5690
- registryType: z200.string(),
5691
- authType: z200.string(),
5692
- authHeaderName: z200.string(),
5693
- authHeaderValue: z200.string(),
5694
- accessToken: z200.string(),
5695
- username: z200.string(),
5696
- password: z200.string()
5697
- });
5698
- var WorkspaceConfigurationPayload = z200.object({
5701
+ var NpmRegistryInput = z201.object({
5702
+ enabledScopes: z201.array(z201.string()),
5703
+ customRegistryUrl: z201.string().optional(),
5704
+ bypassProxy: z201.boolean().optional(),
5705
+ npmProxyRegistryConfigId: z201.string().optional(),
5706
+ npmProxyVersion: z201.number().optional(),
5707
+ registryType: z201.string(),
5708
+ authType: z201.string(),
5709
+ authHeaderName: z201.string(),
5710
+ authHeaderValue: z201.string(),
5711
+ accessToken: z201.string(),
5712
+ username: z201.string(),
5713
+ password: z201.string()
5714
+ });
5715
+ var WorkspaceConfigurationPayload = z201.object({
5699
5716
  ipWhitelist: WorkspaceIpSettings.partial().optional(),
5700
5717
  sso: SsoProvider.partial().optional(),
5701
5718
  npmRegistrySettings: NpmRegistryInput.partial().optional(),
@@ -5703,218 +5720,218 @@ var WorkspaceConfigurationPayload = z200.object({
5703
5720
  });
5704
5721
 
5705
5722
  // src/api/payloads/workspaces/workspace-integrations.ts
5706
- import { z as z201 } from "zod";
5707
- var DTOWorkspaceIntegrationOauthInput = z201.object({
5723
+ import { z as z202 } from "zod";
5724
+ var DTOWorkspaceIntegrationOauthInput = z202.object({
5708
5725
  type: IntegrationType
5709
5726
  });
5710
- var DTOWorkspaceIntegrationPATInput = z201.object({
5711
- userId: z201.string(),
5727
+ var DTOWorkspaceIntegrationPATInput = z202.object({
5728
+ userId: z202.string(),
5712
5729
  type: IntegrationType,
5713
5730
  token: IntegrationToken
5714
5731
  });
5715
- var DTOWorkspaceIntegrationGetGitObjectsInput = z201.object({
5716
- organization: z201.string().optional(),
5732
+ var DTOWorkspaceIntegrationGetGitObjectsInput = z202.object({
5733
+ organization: z202.string().optional(),
5717
5734
  // Azure Organization | Bitbucket Workspace slug | Gitlab Group and Sub-Groups | Github Account (User or Organization)
5718
- project: z201.string().optional(),
5735
+ project: z202.string().optional(),
5719
5736
  // Only for Bitbucket and Azure
5720
- repository: z201.string().optional(),
5737
+ repository: z202.string().optional(),
5721
5738
  // For all providers. Pay attention for Gitlab, they call repositories "projects".
5722
- branch: z201.string().optional(),
5739
+ branch: z202.string().optional(),
5723
5740
  // For all providers, useful for PR creations.
5724
- user: z201.string().optional()
5741
+ user: z202.string().optional()
5725
5742
  // Only for Gitlab User Repositories
5726
5743
  });
5727
5744
 
5728
5745
  // src/api/dto/design-systems/version.ts
5729
- var DTODesignSystemVersion = z202.object({
5730
- id: z202.string(),
5731
- createdAt: z202.coerce.date(),
5746
+ var DTODesignSystemVersion = z203.object({
5747
+ id: z203.string(),
5748
+ createdAt: z203.coerce.date(),
5732
5749
  meta: ObjectMeta,
5733
- version: z202.string(),
5734
- isReadonly: z202.boolean(),
5735
- changeLog: z202.string(),
5736
- designSystemId: z202.string()
5750
+ version: z203.string(),
5751
+ isReadonly: z203.boolean(),
5752
+ changeLog: z203.string(),
5753
+ designSystemId: z203.string()
5737
5754
  });
5738
- var DTODesignSystemVersionsListResponse = z202.object({
5739
- designSystemVersions: z202.array(DTODesignSystemVersion)
5755
+ var DTODesignSystemVersionsListResponse = z203.object({
5756
+ designSystemVersions: z203.array(DTODesignSystemVersion)
5740
5757
  });
5741
- var DTODesignSystemVersionGetResponse = z202.object({
5758
+ var DTODesignSystemVersionGetResponse = z203.object({
5742
5759
  designSystemVersion: DTODesignSystemVersion
5743
5760
  });
5744
- var DTODesignSystemVersionCreationResponse = z202.object({
5761
+ var DTODesignSystemVersionCreationResponse = z203.object({
5745
5762
  meta: ObjectMeta,
5746
- version: z202.string(),
5747
- changeLog: z202.string(),
5748
- isReadOnly: z202.boolean(),
5749
- designSystemId: z202.string(),
5750
- jobId: z202.string()
5751
- });
5752
- var VersionSQSPayload = z202.object({
5753
- jobId: z202.string(),
5754
- designSystemId: z202.string(),
5763
+ version: z203.string(),
5764
+ changeLog: z203.string(),
5765
+ isReadOnly: z203.boolean(),
5766
+ designSystemId: z203.string(),
5767
+ jobId: z203.string()
5768
+ });
5769
+ var VersionSQSPayload = z203.object({
5770
+ jobId: z203.string(),
5771
+ designSystemId: z203.string(),
5755
5772
  input: DTOCreateVersionInput
5756
5773
  });
5757
- var DTODesignSystemVersionJobsResponse = z202.object({
5758
- jobs: z202.array(VersionCreationJob)
5774
+ var DTODesignSystemVersionJobsResponse = z203.object({
5775
+ jobs: z203.array(VersionCreationJob)
5759
5776
  });
5760
- var DTODesignSystemVersionJobStatusResponse = z202.object({
5777
+ var DTODesignSystemVersionJobStatusResponse = z203.object({
5761
5778
  job: VersionCreationJob
5762
5779
  });
5763
5780
 
5764
5781
  // src/api/dto/design-systems/view.ts
5765
- import { z as z203 } from "zod";
5766
- var DTOElementViewColumnSharedAttributes = z203.object({
5767
- id: z203.string(),
5768
- persistentId: z203.string(),
5769
- width: z203.number()
5782
+ import { z as z204 } from "zod";
5783
+ var DTOElementViewColumnSharedAttributes = z204.object({
5784
+ id: z204.string(),
5785
+ persistentId: z204.string(),
5786
+ width: z204.number()
5770
5787
  });
5771
5788
  var DTOElementViewBasePropertyColumn = DTOElementViewColumnSharedAttributes.extend({
5772
- type: z203.literal("BaseProperty"),
5789
+ type: z204.literal("BaseProperty"),
5773
5790
  basePropertyType: ElementViewBaseColumnType
5774
5791
  });
5775
5792
  var DTOElementViewPropertyDefinitionColumn = DTOElementViewColumnSharedAttributes.extend({
5776
- type: z203.literal("PropertyDefinition"),
5777
- propertyDefinitionId: z203.string()
5793
+ type: z204.literal("PropertyDefinition"),
5794
+ propertyDefinitionId: z204.string()
5778
5795
  });
5779
5796
  var DTOElementViewThemeColumn = DTOElementViewColumnSharedAttributes.extend({
5780
- type: z203.literal("Theme"),
5781
- themeId: z203.string()
5797
+ type: z204.literal("Theme"),
5798
+ themeId: z204.string()
5782
5799
  });
5783
- var DTOElementViewColumn = z203.discriminatedUnion("type", [
5800
+ var DTOElementViewColumn = z204.discriminatedUnion("type", [
5784
5801
  DTOElementViewBasePropertyColumn,
5785
5802
  DTOElementViewPropertyDefinitionColumn,
5786
5803
  DTOElementViewThemeColumn
5787
5804
  ]);
5788
- var DTOElementView = z203.object({
5805
+ var DTOElementView = z204.object({
5789
5806
  meta: ObjectMeta,
5790
- persistentId: z203.string(),
5807
+ persistentId: z204.string(),
5791
5808
  targetElementType: ElementPropertyTargetType,
5792
- id: z203.string(),
5793
- isDefault: z203.boolean(),
5794
- columns: z203.array(DTOElementViewColumn)
5809
+ id: z204.string(),
5810
+ isDefault: z204.boolean(),
5811
+ columns: z204.array(DTOElementViewColumn)
5795
5812
  });
5796
- var DTOElementViewsListResponse = z203.object({
5797
- elementDataViews: z203.array(DTOElementView)
5813
+ var DTOElementViewsListResponse = z204.object({
5814
+ elementDataViews: z204.array(DTOElementView)
5798
5815
  });
5799
5816
 
5800
5817
  // src/api/dto/workspaces/git.ts
5801
- import { z as z204 } from "zod";
5802
- var DTOGitOrganization = z204.object({
5803
- id: z204.string(),
5804
- name: z204.string(),
5805
- url: z204.string(),
5806
- slug: z204.string()
5818
+ import { z as z205 } from "zod";
5819
+ var DTOGitOrganization = z205.object({
5820
+ id: z205.string(),
5821
+ name: z205.string(),
5822
+ url: z205.string(),
5823
+ slug: z205.string()
5807
5824
  });
5808
- var DTOGitProject = z204.object({
5809
- id: z204.string(),
5810
- name: z204.string(),
5811
- url: z204.string(),
5812
- slug: z204.string()
5825
+ var DTOGitProject = z205.object({
5826
+ id: z205.string(),
5827
+ name: z205.string(),
5828
+ url: z205.string(),
5829
+ slug: z205.string()
5813
5830
  });
5814
- var DTOGitRepository = z204.object({
5815
- id: z204.string(),
5816
- name: z204.string(),
5817
- url: z204.string(),
5818
- slug: z204.string(),
5819
- defaultBranch: z204.string().optional()
5831
+ var DTOGitRepository = z205.object({
5832
+ id: z205.string(),
5833
+ name: z205.string(),
5834
+ url: z205.string(),
5835
+ slug: z205.string(),
5836
+ defaultBranch: z205.string().optional()
5820
5837
  });
5821
- var DTOGitBranch = z204.object({
5822
- name: z204.string(),
5823
- lastCommitId: z204.string()
5838
+ var DTOGitBranch = z205.object({
5839
+ name: z205.string(),
5840
+ lastCommitId: z205.string()
5824
5841
  });
5825
5842
 
5826
5843
  // src/api/dto/workspaces/integrations.ts
5827
- import { z as z205 } from "zod";
5844
+ import { z as z206 } from "zod";
5828
5845
  var DTOIntegrationCredentials = IntegrationCredentials.omit({
5829
5846
  accessToken: true,
5830
5847
  refreshToken: true
5831
5848
  });
5832
- var DTOIntegration = z205.object({
5833
- id: z205.string(),
5834
- workspaceId: z205.string(),
5849
+ var DTOIntegration = z206.object({
5850
+ id: z206.string(),
5851
+ workspaceId: z206.string(),
5835
5852
  type: ExtendedIntegrationType,
5836
- createdAt: z205.coerce.date(),
5837
- integrationCredentials: z205.array(DTOIntegrationCredentials).optional(),
5838
- integrationDesignSystems: z205.array(IntegrationDesignSystem).optional()
5853
+ createdAt: z206.coerce.date(),
5854
+ integrationCredentials: z206.array(DTOIntegrationCredentials).optional(),
5855
+ integrationDesignSystems: z206.array(IntegrationDesignSystem).optional()
5839
5856
  });
5840
- var DTOIntegrationOAuthGetResponse = z205.object({
5841
- url: z205.string()
5857
+ var DTOIntegrationOAuthGetResponse = z206.object({
5858
+ url: z206.string()
5842
5859
  });
5843
- var DTOIntegrationPostResponse = z205.object({
5860
+ var DTOIntegrationPostResponse = z206.object({
5844
5861
  integration: DTOIntegration
5845
5862
  });
5846
- var DTOIntegrationsGetListResponse = z205.object({
5863
+ var DTOIntegrationsGetListResponse = z206.object({
5847
5864
  integrations: DTOIntegration.array()
5848
5865
  });
5849
5866
 
5850
5867
  // src/api/dto/workspaces/invitations.ts
5851
- import { z as z206 } from "zod";
5852
- var DTOWorkspaceInvitationInput = z206.object({
5853
- email: z206.string().email(),
5868
+ import { z as z207 } from "zod";
5869
+ var DTOWorkspaceInvitationInput = z207.object({
5870
+ email: z207.string().email(),
5854
5871
  role: WorkspaceRoleSchema
5855
5872
  });
5856
- var DTOWorkspaceInvitationsListInput = z206.object({
5873
+ var DTOWorkspaceInvitationsListInput = z207.object({
5857
5874
  invites: DTOWorkspaceInvitationInput.array().max(100),
5858
- designSystemId: z206.string().optional()
5875
+ designSystemId: z207.string().optional()
5859
5876
  });
5860
- var DTOWorkspaceInvitationsResponse = z206.object({
5877
+ var DTOWorkspaceInvitationsResponse = z207.object({
5861
5878
  invitations: WorkspaceInvitation.array()
5862
5879
  });
5863
- var DTOWorkspaceInviteUpdate = z206.object({
5880
+ var DTOWorkspaceInviteUpdate = z207.object({
5864
5881
  role: WorkspaceRoleSchema
5865
5882
  });
5866
- var DTOWorkspaceInvitationUpdateResponse = z206.object({
5883
+ var DTOWorkspaceInvitationUpdateResponse = z207.object({
5867
5884
  invitation: WorkspaceInvitation
5868
5885
  });
5869
5886
 
5870
5887
  // src/api/dto/workspaces/membership.ts
5871
- import { z as z209 } from "zod";
5888
+ import { z as z210 } from "zod";
5872
5889
 
5873
5890
  // src/api/dto/workspaces/workspace.ts
5874
- import { z as z208 } from "zod";
5891
+ import { z as z209 } from "zod";
5875
5892
 
5876
5893
  // src/api/dto/workspaces/npm-registry.ts
5877
- import { z as z207 } from "zod";
5894
+ import { z as z208 } from "zod";
5878
5895
  var DTONpmRegistryConfigConstants = {
5879
5896
  passwordPlaceholder: "redacted"
5880
5897
  };
5881
- var DTONpmRegistryConfig = z207.object({
5898
+ var DTONpmRegistryConfig = z208.object({
5882
5899
  // Registry basic configuration
5883
5900
  registryType: NpmRegistryType,
5884
- registryUrl: z207.string(),
5885
- customRegistryUrl: z207.string().optional(),
5901
+ registryUrl: z208.string(),
5902
+ customRegistryUrl: z208.string().optional(),
5886
5903
  // URL of Supernova NPM packages proxy
5887
- proxyUrl: z207.string(),
5904
+ proxyUrl: z208.string(),
5888
5905
  // Auth configuration
5889
5906
  authType: NpmRegistryAuthType,
5890
- accessToken: z207.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
5891
- username: z207.string().optional(),
5892
- password: z207.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
5907
+ accessToken: z208.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
5908
+ username: z208.string().optional(),
5909
+ password: z208.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
5893
5910
  // NPM package scopes for whih the proxy should be enabled
5894
- enabledScopes: z207.array(z207.string()),
5911
+ enabledScopes: z208.array(z208.string()),
5895
5912
  // True if client should bypass Supernova proxy and connect directly to the registry
5896
5913
  // (e.g. when the NPM registry is behind a VPN or firewall which prevents Supernova from accessing it)
5897
- bypassProxy: z207.boolean()
5914
+ bypassProxy: z208.boolean()
5898
5915
  });
5899
5916
 
5900
5917
  // src/api/dto/workspaces/workspace.ts
5901
5918
  var DTOWorkspaceProfile = WorkspaceProfile;
5902
- var DTOWorkspace = z208.object({
5903
- id: z208.string(),
5919
+ var DTOWorkspace = z209.object({
5920
+ id: z209.string(),
5904
5921
  profile: DTOWorkspaceProfile,
5905
5922
  subscription: Subscription,
5906
5923
  npmRegistry: DTONpmRegistryConfig.optional()
5907
5924
  });
5908
- var DTOWorkspaceCreateInput = z208.object({
5909
- name: z208.string()
5925
+ var DTOWorkspaceCreateInput = z209.object({
5926
+ name: z209.string()
5910
5927
  });
5911
- var DTOWorkspaceResponse = z208.object({
5928
+ var DTOWorkspaceResponse = z209.object({
5912
5929
  workspace: DTOWorkspace
5913
5930
  });
5914
5931
 
5915
5932
  // src/api/dto/workspaces/membership.ts
5916
- var DTOWorkspaceRole = z209.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Contributor"]);
5917
- var DTOUserWorkspaceMembership = z209.object({
5933
+ var DTOWorkspaceRole = z210.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Contributor"]);
5934
+ var DTOUserWorkspaceMembership = z210.object({
5918
5935
  // Workspace the user is a member of
5919
5936
  workspace: DTOWorkspace,
5920
5937
  // Assigned role the user has in the workspace
@@ -5924,26 +5941,26 @@ var DTOUserWorkspaceMembership = z209.object({
5924
5941
  // when a workspace's subscription is downgraded to free tier
5925
5942
  effectiveRole: DTOWorkspaceRole
5926
5943
  });
5927
- var DTOWorkspaceMember = z209.object({
5944
+ var DTOWorkspaceMember = z210.object({
5928
5945
  user: User,
5929
5946
  role: WorkspaceRoleSchema,
5930
5947
  effectiveRole: WorkspaceRoleSchema
5931
5948
  });
5932
- var DTOUserWorkspaceMembershipsResponse = z209.object({
5933
- membership: z209.array(DTOUserWorkspaceMembership)
5949
+ var DTOUserWorkspaceMembershipsResponse = z210.object({
5950
+ membership: z210.array(DTOUserWorkspaceMembership)
5934
5951
  });
5935
- var DTOWorkspaceMembersListResponse = z209.object({
5936
- members: z209.array(DTOWorkspaceMember)
5952
+ var DTOWorkspaceMembersListResponse = z210.object({
5953
+ members: z210.array(DTOWorkspaceMember)
5937
5954
  });
5938
5955
 
5939
5956
  // src/api/dto/bff/app-bootstrap-data.ts
5940
- var DTOAppBootstrapDataQuery = z210.object({
5941
- preferredWorkspaceId: z210.string().optional(),
5942
- preferredDesignSystemId: z210.string().optional(),
5943
- preferredVersionId: z210.string().optional(),
5944
- preferredBrandId: z210.string().optional()
5957
+ var DTOAppBootstrapDataQuery = z211.object({
5958
+ preferredWorkspaceId: z211.string().optional(),
5959
+ preferredDesignSystemId: z211.string().optional(),
5960
+ preferredVersionId: z211.string().optional(),
5961
+ preferredBrandId: z211.string().optional()
5945
5962
  });
5946
- var DTOAppBootstrapDataResponse = z210.object({
5963
+ var DTOAppBootstrapDataResponse = z211.object({
5947
5964
  workspaceMembership: DTOUserWorkspaceMembership.optional(),
5948
5965
  designSystem: DTODesignSystem.optional(),
5949
5966
  version: DTODesignSystemVersion.optional(),
@@ -5951,88 +5968,88 @@ var DTOAppBootstrapDataResponse = z210.object({
5951
5968
  });
5952
5969
 
5953
5970
  // src/api/dto/collections/token-collection.ts
5954
- import { z as z211 } from "zod";
5955
- var DTOTokenCollection = z211.object({
5956
- id: z211.string(),
5957
- persistentId: z211.string(),
5958
- designSystemVersionId: z211.string(),
5971
+ import { z as z212 } from "zod";
5972
+ var DTOTokenCollection = z212.object({
5973
+ id: z212.string(),
5974
+ persistentId: z212.string(),
5975
+ designSystemVersionId: z212.string(),
5959
5976
  meta: ObjectMeta,
5960
5977
  backgroundColor: ColorTokenInlineData.optional(),
5961
- elementPropertyOptionId: z211.string(),
5962
- createdAt: z211.coerce.date(),
5963
- updatedAt: z211.coerce.date(),
5978
+ elementPropertyOptionId: z212.string(),
5979
+ createdAt: z212.coerce.date(),
5980
+ updatedAt: z212.coerce.date(),
5964
5981
  origin: CollectionOrigin.optional()
5965
5982
  });
5966
- var DTOTokenCollectionsListReponse = z211.object({
5983
+ var DTOTokenCollectionsListReponse = z212.object({
5967
5984
  collections: DTOTokenCollection.array()
5968
5985
  });
5969
5986
 
5970
5987
  // src/api/dto/design-tokens/design-token.ts
5971
- import { z as z212 } from "zod";
5988
+ import { z as z213 } from "zod";
5972
5989
  var DTODesignToken = DesignTokenTypedData.and(
5973
- z212.object({
5974
- id: z212.string(),
5975
- persistentId: z212.string(),
5976
- designSystemVersionId: z212.string(),
5990
+ z213.object({
5991
+ id: z213.string(),
5992
+ persistentId: z213.string(),
5993
+ designSystemVersionId: z213.string(),
5977
5994
  meta: ObjectMeta,
5978
5995
  originStyle: DesignTokenOrigin.optional(),
5979
- brandId: z212.string(),
5980
- collectionId: z212.string().optional(),
5981
- updatedAt: z212.coerce.date()
5996
+ brandId: z213.string(),
5997
+ collectionId: z213.string().optional(),
5998
+ updatedAt: z213.coerce.date()
5982
5999
  })
5983
6000
  );
5984
- var DTODesignTokenListResponse = z212.object({
6001
+ var DTODesignTokenListResponse = z213.object({
5985
6002
  tokens: DTODesignToken.array()
5986
6003
  });
5987
- var DTODesignTokenResponse = z212.object({
6004
+ var DTODesignTokenResponse = z213.object({
5988
6005
  token: DTODesignToken
5989
6006
  });
5990
- var DTODesignTokenGroup = z212.object({
5991
- id: z212.string(),
6007
+ var DTODesignTokenGroup = z213.object({
6008
+ id: z213.string(),
5992
6009
  tokenType: DesignTokenType,
5993
- persistentId: z212.string(),
5994
- isRoot: z212.boolean(),
5995
- brandId: z212.string(),
6010
+ persistentId: z213.string(),
6011
+ isRoot: z213.boolean(),
6012
+ brandId: z213.string(),
5996
6013
  meta: ObjectMeta,
5997
- childrenIds: z212.string().array()
6014
+ childrenIds: z213.string().array()
5998
6015
  });
5999
- var DTODesignTokenGroupListResponse = z212.object({
6016
+ var DTODesignTokenGroupListResponse = z213.object({
6000
6017
  groups: DTODesignTokenGroup.array()
6001
6018
  });
6002
- var DTODesignTokenGroupResponse = z212.object({
6019
+ var DTODesignTokenGroupResponse = z213.object({
6003
6020
  group: DTODesignTokenGroup
6004
6021
  });
6005
6022
  var DTODesignTokenCreatePayload = DesignTokenTypedData.and(
6006
- z212.object({
6007
- persistentId: z212.string(),
6023
+ z213.object({
6024
+ persistentId: z213.string(),
6008
6025
  meta: ObjectMeta,
6009
- brandId: z212.string(),
6010
- groupPersistentId: z212.string().optional()
6026
+ brandId: z213.string(),
6027
+ groupPersistentId: z213.string().optional()
6011
6028
  })
6012
6029
  );
6013
- var DTODesignTokenGroupCreatePayload = z212.object({
6014
- persistentId: z212.string(),
6030
+ var DTODesignTokenGroupCreatePayload = z213.object({
6031
+ persistentId: z213.string(),
6015
6032
  meta: ObjectMeta,
6016
- brandId: z212.string(),
6017
- parentId: z212.string().optional(),
6033
+ brandId: z213.string(),
6034
+ parentId: z213.string().optional(),
6018
6035
  tokenType: DesignTokenType,
6019
- childrenIds: z212.string().array()
6036
+ childrenIds: z213.string().array()
6020
6037
  });
6021
6038
 
6022
6039
  // src/api/dto/documentation/anchor.ts
6023
- import { z as z213 } from "zod";
6040
+ import { z as z214 } from "zod";
6024
6041
  var DTODocumentationPageAnchor = DocumentationPageAnchor;
6025
- var DTOGetDocumentationPageAnchorsResponse = z213.object({
6026
- anchors: z213.array(DTODocumentationPageAnchor)
6042
+ var DTOGetDocumentationPageAnchorsResponse = z214.object({
6043
+ anchors: z214.array(DTODocumentationPageAnchor)
6027
6044
  });
6028
6045
 
6029
6046
  // src/api/dto/documentation/approvals.ts
6030
- import { z as z214 } from "zod";
6047
+ import { z as z215 } from "zod";
6031
6048
  var DTODocumentationPageApprovalState = DocumentationPageApproval;
6032
- var DTODocumentationGroupApprovalState = z214.object({
6033
- persistentId: z214.string(),
6034
- groupId: z214.string(),
6035
- designSystemVersionId: z214.string(),
6049
+ var DTODocumentationGroupApprovalState = z215.object({
6050
+ persistentId: z215.string(),
6051
+ groupId: z215.string(),
6052
+ designSystemVersionId: z215.string(),
6036
6053
  approvalState: DocumentationPageApprovalState
6037
6054
  });
6038
6055
 
@@ -6040,68 +6057,68 @@ var DTODocumentationGroupApprovalState = z214.object({
6040
6057
  var DTOPageBlockItemV2 = PageBlockItemV2;
6041
6058
 
6042
6059
  // src/api/dto/documentation/documentation-page-snapshot.ts
6043
- import { z as z219 } from "zod";
6060
+ import { z as z220 } from "zod";
6044
6061
 
6045
6062
  // src/api/dto/elements/documentation/page-v2.ts
6046
- import { z as z218 } from "zod";
6063
+ import { z as z219 } from "zod";
6047
6064
 
6048
6065
  // src/api/dto/elements/documentation/draft-state.ts
6049
- import { z as z216 } from "zod";
6066
+ import { z as z217 } from "zod";
6050
6067
 
6051
6068
  // src/api/dto/elements/documentation/item-configuration-v2.ts
6052
- import { z as z215 } from "zod";
6069
+ import { z as z216 } from "zod";
6053
6070
  var DTODocumentationItemHeaderV2 = DocumentationItemHeaderV2;
6054
- var DTODocumentationItemConfigurationV2 = z215.object({
6055
- showSidebar: z215.boolean(),
6056
- isPrivate: z215.boolean(),
6057
- isHidden: z215.boolean(),
6071
+ var DTODocumentationItemConfigurationV2 = z216.object({
6072
+ showSidebar: z216.boolean(),
6073
+ isPrivate: z216.boolean(),
6074
+ isHidden: z216.boolean(),
6058
6075
  header: DTODocumentationItemHeaderV2
6059
6076
  });
6060
6077
 
6061
6078
  // src/api/dto/elements/documentation/draft-state.ts
6062
- var DTODocumentationDraftChangeType = z216.enum(["Created", "Updated", "Deleted"]);
6063
- var DTODocumentationDraftStateCreated = z216.object({
6064
- changeType: z216.literal(DTODocumentationDraftChangeType.enum.Created)
6065
- });
6066
- var DTODocumentationDraftStateUpdated = z216.object({
6067
- changeType: z216.literal(DTODocumentationDraftChangeType.enum.Updated),
6068
- changes: z216.object({
6069
- previousTitle: z216.string().optional(),
6079
+ var DTODocumentationDraftChangeType = z217.enum(["Created", "Updated", "Deleted"]);
6080
+ var DTODocumentationDraftStateCreated = z217.object({
6081
+ changeType: z217.literal(DTODocumentationDraftChangeType.enum.Created)
6082
+ });
6083
+ var DTODocumentationDraftStateUpdated = z217.object({
6084
+ changeType: z217.literal(DTODocumentationDraftChangeType.enum.Updated),
6085
+ changes: z217.object({
6086
+ previousTitle: z217.string().optional(),
6070
6087
  previousConfiguration: DTODocumentationItemConfigurationV2.optional(),
6071
- previousContentHash: z216.string().optional()
6088
+ previousContentHash: z217.string().optional()
6072
6089
  })
6073
6090
  });
6074
- var DTODocumentationDraftStateDeleted = z216.object({
6075
- changeType: z216.literal(DTODocumentationDraftChangeType.enum.Deleted),
6076
- deletedAt: z216.coerce.date(),
6077
- deletedByUserId: z216.string()
6091
+ var DTODocumentationDraftStateDeleted = z217.object({
6092
+ changeType: z217.literal(DTODocumentationDraftChangeType.enum.Deleted),
6093
+ deletedAt: z217.coerce.date(),
6094
+ deletedByUserId: z217.string()
6078
6095
  });
6079
- var DTODocumentationDraftState = z216.discriminatedUnion("changeType", [
6096
+ var DTODocumentationDraftState = z217.discriminatedUnion("changeType", [
6080
6097
  DTODocumentationDraftStateCreated,
6081
6098
  DTODocumentationDraftStateUpdated,
6082
6099
  DTODocumentationDraftStateDeleted
6083
6100
  ]);
6084
6101
 
6085
6102
  // src/api/dto/elements/documentation/metadata.ts
6086
- import { z as z217 } from "zod";
6087
- var DTODocumentationPublishMetadata = z217.object({
6088
- lastPublishedByUserId: z217.string(),
6089
- lastPublishedAt: z217.coerce.date()
6103
+ import { z as z218 } from "zod";
6104
+ var DTODocumentationPublishMetadata = z218.object({
6105
+ lastPublishedByUserId: z218.string(),
6106
+ lastPublishedAt: z218.coerce.date()
6090
6107
  });
6091
6108
 
6092
6109
  // src/api/dto/elements/documentation/page-v2.ts
6093
- var DTODocumentationPageV2 = z218.object({
6094
- id: z218.string(),
6095
- persistentId: z218.string(),
6096
- designSystemVersionId: z218.string(),
6097
- title: z218.string(),
6110
+ var DTODocumentationPageV2 = z219.object({
6111
+ id: z219.string(),
6112
+ persistentId: z219.string(),
6113
+ designSystemVersionId: z219.string(),
6114
+ title: z219.string(),
6098
6115
  configuration: DTODocumentationItemConfigurationV2,
6099
- shortPersistentId: z218.string(),
6100
- slug: z218.string().optional(),
6101
- userSlug: z218.string().optional(),
6102
- createdAt: z218.coerce.date(),
6103
- updatedAt: z218.coerce.date(),
6104
- path: z218.string(),
6116
+ shortPersistentId: z219.string(),
6117
+ slug: z219.string().optional(),
6118
+ userSlug: z219.string().optional(),
6119
+ createdAt: z219.coerce.date(),
6120
+ updatedAt: z219.coerce.date(),
6121
+ path: z219.string(),
6105
6122
  /** Defined when a page has changed since last publish and can be included into a partial publish */
6106
6123
  draftState: DTODocumentationDraftState.optional(),
6107
6124
  /** Defined if a page was published at least once and contains metadata about last publish */
@@ -6109,215 +6126,215 @@ var DTODocumentationPageV2 = z218.object({
6109
6126
  /** Defines the approval state of the documentation page */
6110
6127
  approvalState: DTODocumentationPageApprovalState.optional(),
6111
6128
  // Backward compatibility
6112
- type: z218.literal("Page")
6129
+ type: z219.literal("Page")
6113
6130
  });
6114
- var DTOCreateDocumentationPageInputV2 = z218.object({
6131
+ var DTOCreateDocumentationPageInputV2 = z219.object({
6115
6132
  // Identifier
6116
- persistentId: z218.string(),
6133
+ persistentId: z219.string(),
6117
6134
  // Page properties
6118
- title: z218.string(),
6135
+ title: z219.string(),
6119
6136
  configuration: DTODocumentationItemConfigurationV2.partial().optional(),
6120
6137
  // Page placement properties
6121
- parentPersistentId: z218.string(),
6122
- afterPersistentId: z218.string().nullish()
6138
+ parentPersistentId: z219.string(),
6139
+ afterPersistentId: z219.string().nullish()
6123
6140
  });
6124
- var DTOUpdateDocumentationPageInputV2 = z218.object({
6141
+ var DTOUpdateDocumentationPageInputV2 = z219.object({
6125
6142
  // Identifier of the group to update
6126
- id: z218.string(),
6143
+ id: z219.string(),
6127
6144
  // Page properties
6128
- title: z218.string().optional(),
6145
+ title: z219.string().optional(),
6129
6146
  configuration: DTODocumentationItemConfigurationV2.partial().optional()
6130
6147
  });
6131
- var DTOMoveDocumentationPageInputV2 = z218.object({
6148
+ var DTOMoveDocumentationPageInputV2 = z219.object({
6132
6149
  // Identifier of the group to update
6133
- id: z218.string(),
6150
+ id: z219.string(),
6134
6151
  // Page placement properties
6135
- parentPersistentId: z218.string(),
6136
- afterPersistentId: z218.string().nullish()
6152
+ parentPersistentId: z219.string(),
6153
+ afterPersistentId: z219.string().nullish()
6137
6154
  });
6138
- var DTODuplicateDocumentationPageInputV2 = z218.object({
6155
+ var DTODuplicateDocumentationPageInputV2 = z219.object({
6139
6156
  // Identifier of the page to duplicate from
6140
- id: z218.string(),
6157
+ id: z219.string(),
6141
6158
  // New page persistent id
6142
- persistentId: z218.string(),
6159
+ persistentId: z219.string(),
6143
6160
  // Page placement properties
6144
- parentPersistentId: z218.string(),
6145
- afterPersistentId: z218.string().nullish()
6161
+ parentPersistentId: z219.string(),
6162
+ afterPersistentId: z219.string().nullish()
6146
6163
  });
6147
- var DTODeleteDocumentationPageInputV2 = z218.object({
6164
+ var DTODeleteDocumentationPageInputV2 = z219.object({
6148
6165
  // Identifier
6149
- id: z218.string()
6166
+ id: z219.string()
6150
6167
  });
6151
- var DTORestoreDocumentationPageInput = z218.object({
6152
- persistentId: z218.string(),
6153
- snapshotId: z218.string().optional()
6168
+ var DTORestoreDocumentationPageInput = z219.object({
6169
+ persistentId: z219.string(),
6170
+ snapshotId: z219.string().optional()
6154
6171
  });
6155
- var DTORestoreDocumentationGroupInput = z218.object({
6156
- persistentId: z218.string(),
6157
- snapshotId: z218.string().optional()
6172
+ var DTORestoreDocumentationGroupInput = z219.object({
6173
+ persistentId: z219.string(),
6174
+ snapshotId: z219.string().optional()
6158
6175
  });
6159
- var DTODocumentationPageApprovalStateChangeInput = z218.object({
6160
- persistentId: z218.string(),
6176
+ var DTODocumentationPageApprovalStateChangeInput = z219.object({
6177
+ persistentId: z219.string(),
6161
6178
  approvalState: DocumentationPageApprovalState.optional()
6162
6179
  });
6163
6180
 
6164
6181
  // src/api/dto/documentation/documentation-page-snapshot.ts
6165
- var DTODocumentationPageSnapshot = z219.object({
6166
- id: z219.string(),
6167
- designSystemVersionId: z219.string(),
6168
- createdAt: z219.string(),
6169
- updatedAt: z219.string(),
6182
+ var DTODocumentationPageSnapshot = z220.object({
6183
+ id: z220.string(),
6184
+ designSystemVersionId: z220.string(),
6185
+ createdAt: z220.string(),
6186
+ updatedAt: z220.string(),
6170
6187
  documentationPage: DTODocumentationPageV2,
6171
- pageContentHash: z219.string(),
6188
+ pageContentHash: z220.string(),
6172
6189
  reason: DesignElementSnapshotReason
6173
6190
  });
6174
6191
 
6175
6192
  // src/api/dto/documentation/link-preview.ts
6176
- import { z as z220 } from "zod";
6177
- var DTODocumentationLinkPreviewResponse = z220.object({
6193
+ import { z as z221 } from "zod";
6194
+ var DTODocumentationLinkPreviewResponse = z221.object({
6178
6195
  linkPreview: DocumentationLinkPreview
6179
6196
  });
6180
- var DTODocumentationLinkPreviewRequest = z220.object({
6181
- url: z220.string().optional(),
6182
- documentationItemPersistentId: z220.string().optional()
6197
+ var DTODocumentationLinkPreviewRequest = z221.object({
6198
+ url: z221.string().optional(),
6199
+ documentationItemPersistentId: z221.string().optional()
6183
6200
  });
6184
6201
 
6185
6202
  // src/api/dto/documentation/publish.ts
6186
- import { z as z224 } from "zod";
6203
+ import { z as z225 } from "zod";
6187
6204
 
6188
6205
  // src/api/dto/export/exporter.ts
6189
- import { z as z221 } from "zod";
6190
- var DTOExporterType = z221.enum(["documentation", "code"]);
6191
- var DTOExporterSource = z221.enum(["git", "upload"]);
6192
- var DTOExporterMembershipRole = z221.enum(["Owner", "OwnerArchived", "User"]);
6193
- var DTOExporterListQuery = z221.object({
6194
- limit: z221.coerce.number().optional()
6195
- });
6196
- var DTOExporter = z221.object({
6197
- id: z221.string(),
6198
- name: z221.string(),
6199
- isPrivate: z221.boolean(),
6206
+ import { z as z222 } from "zod";
6207
+ var DTOExporterType = z222.enum(["documentation", "code"]);
6208
+ var DTOExporterSource = z222.enum(["git", "upload"]);
6209
+ var DTOExporterMembershipRole = z222.enum(["Owner", "OwnerArchived", "User"]);
6210
+ var DTOExporterListQuery = z222.object({
6211
+ limit: z222.coerce.number().optional()
6212
+ });
6213
+ var DTOExporter = z222.object({
6214
+ id: z222.string(),
6215
+ name: z222.string(),
6216
+ isPrivate: z222.boolean(),
6200
6217
  exporterType: DTOExporterType,
6201
- isDefaultDocumentationExporter: z221.boolean(),
6202
- iconURL: z221.string().optional(),
6218
+ isDefaultDocumentationExporter: z222.boolean(),
6219
+ iconURL: z222.string().optional(),
6203
6220
  configurationProperties: PulsarContributionConfigurationProperty.array(),
6204
6221
  customBlocks: PulsarCustomBlock.array(),
6205
- blockVariants: z221.record(z221.string(), PulsarContributionVariant.array()),
6206
- usesBrands: z221.boolean(),
6207
- usesThemes: z221.boolean(),
6222
+ blockVariants: z222.record(z222.string(), PulsarContributionVariant.array()),
6223
+ usesBrands: z222.boolean(),
6224
+ usesThemes: z222.boolean(),
6208
6225
  source: DTOExporterSource,
6209
- gitUrl: nullishToOptional(z221.string()),
6210
- gitBranch: nullishToOptional(z221.string()),
6211
- gitDirectory: nullishToOptional(z221.string())
6226
+ gitUrl: nullishToOptional(z222.string()),
6227
+ gitBranch: nullishToOptional(z222.string()),
6228
+ gitDirectory: nullishToOptional(z222.string())
6212
6229
  });
6213
- var DTOExporterMembership = z221.object({
6214
- workspaceId: z221.string(),
6215
- exporterId: z221.string(),
6230
+ var DTOExporterMembership = z222.object({
6231
+ workspaceId: z222.string(),
6232
+ exporterId: z222.string(),
6216
6233
  role: DTOExporterMembershipRole
6217
6234
  });
6218
- var DTOExporterCreateOutput = z221.object({
6235
+ var DTOExporterCreateOutput = z222.object({
6219
6236
  exporter: DTOExporter,
6220
6237
  membership: DTOExporterMembership
6221
6238
  });
6222
- var DTOExporterListResponse = z221.object({
6239
+ var DTOExporterListResponse = z222.object({
6223
6240
  exporters: DTOExporter.array(),
6224
6241
  membership: DTOExporterMembership.array()
6225
6242
  });
6226
- var DTOExporterGitProviderEnum = z221.enum(["github", "gitlab", "bitbucket", "azure"]);
6227
- var DTOExporterCreateInput = z221.object({
6228
- url: z221.string(),
6243
+ var DTOExporterGitProviderEnum = z222.enum(["github", "gitlab", "bitbucket", "azure"]);
6244
+ var DTOExporterCreateInput = z222.object({
6245
+ url: z222.string(),
6229
6246
  provider: DTOExporterGitProviderEnum
6230
6247
  });
6231
- var DTOExporterUpdateInput = z221.object({
6232
- url: z221.string().optional()
6248
+ var DTOExporterUpdateInput = z222.object({
6249
+ url: z222.string().optional()
6233
6250
  });
6234
6251
 
6235
6252
  // src/api/dto/export/filter.ts
6236
6253
  var DTOExportJobsListFilter = ExportJobFindByFilter;
6237
6254
 
6238
6255
  // src/api/dto/export/job.ts
6239
- import { z as z222 } from "zod";
6240
- var DTOExportJobCreatedBy = z222.object({
6241
- userId: z222.string(),
6242
- userName: z222.string()
6256
+ import { z as z223 } from "zod";
6257
+ var DTOExportJobCreatedBy = z223.object({
6258
+ userId: z223.string(),
6259
+ userName: z223.string()
6243
6260
  });
6244
- var DTOExportJobDesignSystemPreview = z222.object({
6245
- id: z222.string(),
6261
+ var DTOExportJobDesignSystemPreview = z223.object({
6262
+ id: z223.string(),
6246
6263
  meta: ObjectMeta
6247
6264
  });
6248
- var DTOExportJobDesignSystemVersionPreview = z222.object({
6249
- id: z222.string(),
6265
+ var DTOExportJobDesignSystemVersionPreview = z223.object({
6266
+ id: z223.string(),
6250
6267
  meta: ObjectMeta,
6251
- version: z222.string(),
6252
- isReadonly: z222.boolean()
6268
+ version: z223.string(),
6269
+ isReadonly: z223.boolean()
6253
6270
  });
6254
- var DTOExportJobDestinations = z222.object({
6271
+ var DTOExportJobDestinations = z223.object({
6255
6272
  s3: ExporterDestinationS3.optional(),
6256
6273
  azure: ExporterDestinationAzure.optional(),
6257
6274
  bitbucket: ExporterDestinationBitbucket.optional(),
6258
6275
  github: ExporterDestinationGithub.optional(),
6259
6276
  gitlab: ExporterDestinationGitlab.optional(),
6260
6277
  documentation: ExporterDestinationDocs.optional(),
6261
- webhookUrl: z222.string().optional()
6278
+ webhookUrl: z223.string().optional()
6262
6279
  });
6263
6280
  var DTOExportJobResult = ExportJobResult.omit({
6264
6281
  sndocs: true
6265
6282
  }).extend({
6266
6283
  documentation: ExportJobDocsDestinationResult.optional()
6267
6284
  });
6268
- var DTOExportJob = z222.object({
6269
- id: z222.string(),
6270
- createdAt: z222.coerce.date(),
6271
- finishedAt: z222.coerce.date().optional(),
6272
- index: z222.number().optional(),
6285
+ var DTOExportJob = z223.object({
6286
+ id: z223.string(),
6287
+ createdAt: z223.coerce.date(),
6288
+ finishedAt: z223.coerce.date().optional(),
6289
+ index: z223.number().optional(),
6273
6290
  status: ExportJobStatus,
6274
- estimatedExecutionTime: z222.number().optional(),
6291
+ estimatedExecutionTime: z223.number().optional(),
6275
6292
  createdBy: DTOExportJobCreatedBy.optional(),
6276
6293
  designSystem: DTOExportJobDesignSystemPreview,
6277
6294
  designSystemVersion: DTOExportJobDesignSystemVersionPreview,
6278
6295
  destinations: DTOExportJobDestinations,
6279
- exporterId: z222.string(),
6280
- scheduleId: z222.string().optional(),
6296
+ exporterId: z223.string(),
6297
+ scheduleId: z223.string().optional(),
6281
6298
  result: DTOExportJobResult.optional(),
6282
- brandPersistentId: z222.string().optional(),
6283
- themePersistentId: z222.string().optional(),
6284
- themePersistentIds: z222.string().array().optional()
6299
+ brandPersistentId: z223.string().optional(),
6300
+ themePersistentId: z223.string().optional(),
6301
+ themePersistentIds: z223.string().array().optional()
6285
6302
  });
6286
- var DTOExportJobResponse = z222.object({
6303
+ var DTOExportJobResponse = z223.object({
6287
6304
  job: DTOExportJob
6288
6305
  });
6289
6306
 
6290
6307
  // src/api/dto/export/pipeline.ts
6291
- import { z as z223 } from "zod";
6292
- var DTOPipelineListQuery = z223.object({
6293
- designSystemId: z223.string().optional(),
6294
- exporterId: z223.string().optional(),
6295
- latestJobsLimit: z223.coerce.number().optional()
6296
- });
6297
- var DTOPipeline = z223.object({
6298
- id: z223.string(),
6299
- name: z223.string(),
6308
+ import { z as z224 } from "zod";
6309
+ var DTOPipelineListQuery = z224.object({
6310
+ designSystemId: z224.string().optional(),
6311
+ exporterId: z224.string().optional(),
6312
+ latestJobsLimit: z224.coerce.number().optional()
6313
+ });
6314
+ var DTOPipeline = z224.object({
6315
+ id: z224.string(),
6316
+ name: z224.string(),
6300
6317
  eventType: PipelineEventType,
6301
- isEnabled: z223.boolean(),
6302
- workspaceId: z223.string(),
6303
- designSystemId: z223.string(),
6304
- exporterId: z223.string(),
6305
- brandPersistentId: z223.string().optional(),
6306
- themePersistentId: z223.string().optional(),
6307
- themePersistentIds: z223.string().array().optional(),
6318
+ isEnabled: z224.boolean(),
6319
+ workspaceId: z224.string(),
6320
+ designSystemId: z224.string(),
6321
+ exporterId: z224.string(),
6322
+ brandPersistentId: z224.string().optional(),
6323
+ themePersistentId: z224.string().optional(),
6324
+ themePersistentIds: z224.string().array().optional(),
6308
6325
  ...ExportDestinationsMap.shape,
6309
6326
  latestJobs: DTOExportJob.array()
6310
6327
  });
6311
- var DTOPipelineListResponse = z223.object({
6328
+ var DTOPipelineListResponse = z224.object({
6312
6329
  pipelines: DTOPipeline.array()
6313
6330
  });
6314
- var DTOPipelineResponse = z223.object({
6331
+ var DTOPipelineResponse = z224.object({
6315
6332
  pipeline: DTOPipeline
6316
6333
  });
6317
6334
 
6318
6335
  // src/api/dto/documentation/publish.ts
6319
6336
  var DTOPublishDocumentationChanges = ExportJobDocumentationChanges;
6320
- var DTOPublishDocumentationRequest = z224.object({
6337
+ var DTOPublishDocumentationRequest = z225.object({
6321
6338
  environment: PublishedDocEnvironment,
6322
6339
  /**
6323
6340
  * If defined, this allows narrowing down what is published to a set of specific pages and groups
@@ -6325,42 +6342,42 @@ var DTOPublishDocumentationRequest = z224.object({
6325
6342
  */
6326
6343
  changes: DTOPublishDocumentationChanges.optional()
6327
6344
  });
6328
- var DTOPublishDocumentationResponse = z224.object({
6345
+ var DTOPublishDocumentationResponse = z225.object({
6329
6346
  job: DTOExportJob
6330
6347
  });
6331
6348
 
6332
6349
  // src/api/dto/elements/components/figma-component.ts
6333
- import { z as z225 } from "zod";
6350
+ import { z as z226 } from "zod";
6334
6351
  var DTOFigmaComponentProperty = FigmaComponentProperty;
6335
- var DTOFigmaComponentPropertyMap = z225.record(DTOFigmaComponentProperty);
6336
- var DTOFigmaComponent = z225.object({
6337
- id: z225.string(),
6338
- persistentId: z225.string(),
6339
- designSystemVersionId: z225.string(),
6340
- brandId: z225.string(),
6341
- thumbnailUrl: z225.string().optional(),
6342
- svgUrl: z225.string().optional(),
6343
- exportProperties: z225.object({
6344
- isAsset: z225.boolean()
6352
+ var DTOFigmaComponentPropertyMap = z226.record(DTOFigmaComponentProperty);
6353
+ var DTOFigmaComponent = z226.object({
6354
+ id: z226.string(),
6355
+ persistentId: z226.string(),
6356
+ designSystemVersionId: z226.string(),
6357
+ brandId: z226.string(),
6358
+ thumbnailUrl: z226.string().optional(),
6359
+ svgUrl: z226.string().optional(),
6360
+ exportProperties: z226.object({
6361
+ isAsset: z226.boolean()
6345
6362
  }),
6346
- createdAt: z225.coerce.date(),
6347
- updatedAt: z225.coerce.date(),
6363
+ createdAt: z226.coerce.date(),
6364
+ updatedAt: z226.coerce.date(),
6348
6365
  meta: ObjectMeta,
6349
6366
  originComponent: FigmaComponentOrigin.optional(),
6350
- parentComponentPersistentId: z225.string().optional(),
6351
- childrenPersistentIds: z225.string().array().optional(),
6367
+ parentComponentPersistentId: z226.string().optional(),
6368
+ childrenPersistentIds: z226.string().array().optional(),
6352
6369
  componentPropertyDefinitions: DTOFigmaComponentPropertyMap.optional(),
6353
- variantPropertyValues: z225.record(z225.string()).optional()
6370
+ variantPropertyValues: z226.record(z226.string()).optional()
6354
6371
  });
6355
- var DTOFigmaComponentListResponse = z225.object({
6372
+ var DTOFigmaComponentListResponse = z226.object({
6356
6373
  components: DTOFigmaComponent.array()
6357
6374
  });
6358
6375
 
6359
6376
  // src/api/dto/elements/documentation/group-action.ts
6360
- import { z as z227 } from "zod";
6377
+ import { z as z228 } from "zod";
6361
6378
 
6362
6379
  // src/api/dto/elements/documentation/group-v2.ts
6363
- import { z as z226 } from "zod";
6380
+ import { z as z227 } from "zod";
6364
6381
  var DTODocumentationGroupV2 = ElementGroup.omit({
6365
6382
  sortOrder: true,
6366
6383
  parentPersistentId: true,
@@ -6370,13 +6387,13 @@ var DTODocumentationGroupV2 = ElementGroup.omit({
6370
6387
  data: true,
6371
6388
  shortPersistentId: true
6372
6389
  }).extend({
6373
- title: z226.string(),
6374
- isRoot: z226.boolean(),
6375
- childrenIds: z226.array(z226.string()),
6390
+ title: z227.string(),
6391
+ isRoot: z227.boolean(),
6392
+ childrenIds: z227.array(z227.string()),
6376
6393
  groupBehavior: DocumentationGroupBehavior,
6377
- shortPersistentId: z226.string(),
6394
+ shortPersistentId: z227.string(),
6378
6395
  configuration: DTODocumentationItemConfigurationV2,
6379
- type: z226.literal("Group"),
6396
+ type: z227.literal("Group"),
6380
6397
  /** Defined when a group has changed since last publish and can be included into a partial publish */
6381
6398
  draftState: DTODocumentationDraftState.optional(),
6382
6399
  /** Defined if a group was published at least once and contains metadata about last publish */
@@ -6384,127 +6401,127 @@ var DTODocumentationGroupV2 = ElementGroup.omit({
6384
6401
  //** An approval state for frontend to utilize. */
6385
6402
  approvalState: DTODocumentationGroupApprovalState.optional()
6386
6403
  });
6387
- var DTOCreateDocumentationGroupInput = z226.object({
6404
+ var DTOCreateDocumentationGroupInput = z227.object({
6388
6405
  // Identifier
6389
- persistentId: z226.string(),
6406
+ persistentId: z227.string(),
6390
6407
  // Group properties
6391
- title: z226.string(),
6408
+ title: z227.string(),
6392
6409
  configuration: DTODocumentationItemConfigurationV2.partial().optional(),
6393
6410
  // Group placement properties
6394
- afterPersistentId: z226.string().nullish(),
6395
- parentPersistentId: z226.string()
6411
+ afterPersistentId: z227.string().nullish(),
6412
+ parentPersistentId: z227.string()
6396
6413
  });
6397
- var DTOUpdateDocumentationGroupInput = z226.object({
6414
+ var DTOUpdateDocumentationGroupInput = z227.object({
6398
6415
  // Identifier of the group to update
6399
- id: z226.string(),
6416
+ id: z227.string(),
6400
6417
  // Group properties
6401
- title: z226.string().optional(),
6418
+ title: z227.string().optional(),
6402
6419
  configuration: DTODocumentationItemConfigurationV2.partial().optional()
6403
6420
  });
6404
- var DTOMoveDocumentationGroupInput = z226.object({
6421
+ var DTOMoveDocumentationGroupInput = z227.object({
6405
6422
  // Identifier of the group to update
6406
- id: z226.string(),
6423
+ id: z227.string(),
6407
6424
  // Group placement properties
6408
- parentPersistentId: z226.string(),
6409
- afterPersistentId: z226.string().nullish()
6425
+ parentPersistentId: z227.string(),
6426
+ afterPersistentId: z227.string().nullish()
6410
6427
  });
6411
- var DTODuplicateDocumentationGroupInput = z226.object({
6428
+ var DTODuplicateDocumentationGroupInput = z227.object({
6412
6429
  // Identifier of the group to duplicate from
6413
- id: z226.string(),
6430
+ id: z227.string(),
6414
6431
  // New group persistent id
6415
- persistentId: z226.string(),
6432
+ persistentId: z227.string(),
6416
6433
  // Group placement properties
6417
- afterPersistentId: z226.string().nullish(),
6418
- parentPersistentId: z226.string()
6434
+ afterPersistentId: z227.string().nullish(),
6435
+ parentPersistentId: z227.string()
6419
6436
  });
6420
- var DTOCreateDocumentationTabInput = z226.object({
6437
+ var DTOCreateDocumentationTabInput = z227.object({
6421
6438
  // New group persistent id
6422
- persistentId: z226.string(),
6439
+ persistentId: z227.string(),
6423
6440
  // If this is page, we will attempt to convert it to tab
6424
6441
  // If this is tab group, we will add a new tab to it
6425
- fromItemPersistentId: z226.string(),
6426
- tabName: z226.string()
6442
+ fromItemPersistentId: z227.string(),
6443
+ tabName: z227.string()
6427
6444
  });
6428
- var DTODeleteDocumentationTabGroupInput = z226.object({
6445
+ var DTODeleteDocumentationTabGroupInput = z227.object({
6429
6446
  // Deleted group id
6430
- id: z226.string()
6447
+ id: z227.string()
6431
6448
  });
6432
- var DTODeleteDocumentationGroupInput = z226.object({
6449
+ var DTODeleteDocumentationGroupInput = z227.object({
6433
6450
  // Identifier
6434
- id: z226.string(),
6451
+ id: z227.string(),
6435
6452
  // Deletion options
6436
- deleteSubtree: z226.boolean().default(false)
6453
+ deleteSubtree: z227.boolean().default(false)
6437
6454
  });
6438
6455
 
6439
6456
  // src/api/dto/elements/documentation/group-action.ts
6440
- var SuccessPayload = z227.object({
6441
- success: z227.literal(true)
6457
+ var SuccessPayload = z228.object({
6458
+ success: z228.literal(true)
6442
6459
  });
6443
- var DTODocumentationGroupCreateActionOutputV2 = z227.object({
6444
- type: z227.literal("DocumentationGroupCreate"),
6460
+ var DTODocumentationGroupCreateActionOutputV2 = z228.object({
6461
+ type: z228.literal("DocumentationGroupCreate"),
6445
6462
  output: SuccessPayload
6446
6463
  });
6447
- var DTODocumentationTabCreateActionOutputV2 = z227.object({
6448
- type: z227.literal("DocumentationTabCreate"),
6464
+ var DTODocumentationTabCreateActionOutputV2 = z228.object({
6465
+ type: z228.literal("DocumentationTabCreate"),
6449
6466
  output: SuccessPayload
6450
6467
  });
6451
- var DTODocumentationGroupUpdateActionOutputV2 = z227.object({
6452
- type: z227.literal("DocumentationGroupUpdate"),
6468
+ var DTODocumentationGroupUpdateActionOutputV2 = z228.object({
6469
+ type: z228.literal("DocumentationGroupUpdate"),
6453
6470
  output: SuccessPayload
6454
6471
  });
6455
- var DTODocumentationGroupMoveActionOutputV2 = z227.object({
6456
- type: z227.literal("DocumentationGroupMove"),
6472
+ var DTODocumentationGroupMoveActionOutputV2 = z228.object({
6473
+ type: z228.literal("DocumentationGroupMove"),
6457
6474
  output: SuccessPayload
6458
6475
  });
6459
- var DTODocumentationGroupDuplicateActionOutputV2 = z227.object({
6460
- type: z227.literal("DocumentationGroupDuplicate"),
6476
+ var DTODocumentationGroupDuplicateActionOutputV2 = z228.object({
6477
+ type: z228.literal("DocumentationGroupDuplicate"),
6461
6478
  output: SuccessPayload
6462
6479
  });
6463
- var DTODocumentationGroupDeleteActionOutputV2 = z227.object({
6464
- type: z227.literal("DocumentationGroupDelete"),
6480
+ var DTODocumentationGroupDeleteActionOutputV2 = z228.object({
6481
+ type: z228.literal("DocumentationGroupDelete"),
6465
6482
  output: SuccessPayload
6466
6483
  });
6467
- var DTODocumentationTabGroupDeleteActionOutputV2 = z227.object({
6468
- type: z227.literal("DocumentationTabGroupDelete"),
6484
+ var DTODocumentationTabGroupDeleteActionOutputV2 = z228.object({
6485
+ type: z228.literal("DocumentationTabGroupDelete"),
6469
6486
  output: SuccessPayload
6470
6487
  });
6471
- var DTODocumentationGroupCreateActionInputV2 = z227.object({
6472
- type: z227.literal("DocumentationGroupCreate"),
6488
+ var DTODocumentationGroupCreateActionInputV2 = z228.object({
6489
+ type: z228.literal("DocumentationGroupCreate"),
6473
6490
  input: DTOCreateDocumentationGroupInput
6474
6491
  });
6475
- var DTODocumentationTabCreateActionInputV2 = z227.object({
6476
- type: z227.literal("DocumentationTabCreate"),
6492
+ var DTODocumentationTabCreateActionInputV2 = z228.object({
6493
+ type: z228.literal("DocumentationTabCreate"),
6477
6494
  input: DTOCreateDocumentationTabInput
6478
6495
  });
6479
- var DTODocumentationGroupUpdateActionInputV2 = z227.object({
6480
- type: z227.literal("DocumentationGroupUpdate"),
6496
+ var DTODocumentationGroupUpdateActionInputV2 = z228.object({
6497
+ type: z228.literal("DocumentationGroupUpdate"),
6481
6498
  input: DTOUpdateDocumentationGroupInput
6482
6499
  });
6483
- var DTODocumentationGroupMoveActionInputV2 = z227.object({
6484
- type: z227.literal("DocumentationGroupMove"),
6500
+ var DTODocumentationGroupMoveActionInputV2 = z228.object({
6501
+ type: z228.literal("DocumentationGroupMove"),
6485
6502
  input: DTOMoveDocumentationGroupInput
6486
6503
  });
6487
- var DTODocumentationGroupDuplicateActionInputV2 = z227.object({
6488
- type: z227.literal("DocumentationGroupDuplicate"),
6504
+ var DTODocumentationGroupDuplicateActionInputV2 = z228.object({
6505
+ type: z228.literal("DocumentationGroupDuplicate"),
6489
6506
  input: DTODuplicateDocumentationGroupInput
6490
6507
  });
6491
- var DTODocumentationGroupDeleteActionInputV2 = z227.object({
6492
- type: z227.literal("DocumentationGroupDelete"),
6508
+ var DTODocumentationGroupDeleteActionInputV2 = z228.object({
6509
+ type: z228.literal("DocumentationGroupDelete"),
6493
6510
  input: DTODeleteDocumentationGroupInput
6494
6511
  });
6495
- var DTODocumentationTabGroupDeleteActionInputV2 = z227.object({
6496
- type: z227.literal("DocumentationTabGroupDelete"),
6512
+ var DTODocumentationTabGroupDeleteActionInputV2 = z228.object({
6513
+ type: z228.literal("DocumentationTabGroupDelete"),
6497
6514
  input: DTODeleteDocumentationTabGroupInput
6498
6515
  });
6499
6516
 
6500
6517
  // src/api/dto/elements/documentation/group-v1.ts
6501
- import { z as z229 } from "zod";
6518
+ import { z as z230 } from "zod";
6502
6519
 
6503
6520
  // src/api/dto/elements/documentation/item-configuration-v1.ts
6504
- import { z as z228 } from "zod";
6505
- var DocumentationColorV1 = z228.object({
6506
- aliasTo: z228.string().optional(),
6507
- value: z228.string().optional()
6521
+ import { z as z229 } from "zod";
6522
+ var DocumentationColorV1 = z229.object({
6523
+ aliasTo: z229.string().optional(),
6524
+ value: z229.string().optional()
6508
6525
  });
6509
6526
  var DTODocumentationItemHeaderV1 = DocumentationItemHeaderV1.omit({
6510
6527
  foregroundColor: true,
@@ -6513,10 +6530,10 @@ var DTODocumentationItemHeaderV1 = DocumentationItemHeaderV1.omit({
6513
6530
  foregroundColor: DocumentationColorV1.optional(),
6514
6531
  backgroundColor: DocumentationColorV1.optional()
6515
6532
  });
6516
- var DTODocumentationItemConfigurationV1 = z228.object({
6517
- showSidebar: z228.boolean(),
6518
- isPrivate: z228.boolean(),
6519
- isHidden: z228.boolean(),
6533
+ var DTODocumentationItemConfigurationV1 = z229.object({
6534
+ showSidebar: z229.boolean(),
6535
+ isPrivate: z229.boolean(),
6536
+ isHidden: z229.boolean(),
6520
6537
  header: DTODocumentationItemHeaderV1
6521
6538
  });
6522
6539
 
@@ -6530,27 +6547,27 @@ var DTODocumentationGroupStructureV1 = ElementGroup.omit({
6530
6547
  data: true,
6531
6548
  shortPersistentId: true
6532
6549
  }).extend({
6533
- title: z229.string(),
6534
- isRoot: z229.boolean(),
6535
- childrenIds: z229.array(z229.string()),
6550
+ title: z230.string(),
6551
+ isRoot: z230.boolean(),
6552
+ childrenIds: z230.array(z230.string()),
6536
6553
  groupBehavior: DocumentationGroupBehavior,
6537
- shortPersistentId: z229.string(),
6538
- type: z229.literal("Group")
6554
+ shortPersistentId: z230.string(),
6555
+ type: z230.literal("Group")
6539
6556
  });
6540
6557
  var DTODocumentationGroupV1 = DTODocumentationGroupStructureV1.extend({
6541
6558
  configuration: DTODocumentationItemConfigurationV1
6542
6559
  });
6543
6560
 
6544
6561
  // src/api/dto/elements/documentation/hierarchy.ts
6545
- import { z as z230 } from "zod";
6546
- var DTODocumentationHierarchyV2 = z230.object({
6547
- pages: z230.array(
6562
+ import { z as z231 } from "zod";
6563
+ var DTODocumentationHierarchyV2 = z231.object({
6564
+ pages: z231.array(
6548
6565
  DTODocumentationPageV2.extend({
6549
6566
  /** Defined when a page has changed since last publish and can be included into a partial publish */
6550
6567
  draftState: DTODocumentationDraftState.optional()
6551
6568
  })
6552
6569
  ),
6553
- groups: z230.array(
6570
+ groups: z231.array(
6554
6571
  DTODocumentationGroupV2.extend({
6555
6572
  /** Defined when a page has changed since last publish and can be included into a partial publish */
6556
6573
  draftState: DTODocumentationDraftState.optional()
@@ -6559,84 +6576,84 @@ var DTODocumentationHierarchyV2 = z230.object({
6559
6576
  });
6560
6577
 
6561
6578
  // src/api/dto/elements/documentation/page-actions-v2.ts
6562
- import { z as z231 } from "zod";
6563
- var SuccessPayload2 = z231.object({
6564
- success: z231.literal(true)
6579
+ import { z as z232 } from "zod";
6580
+ var SuccessPayload2 = z232.object({
6581
+ success: z232.literal(true)
6565
6582
  });
6566
- var DTODocumentationPageCreateActionOutputV2 = z231.object({
6567
- type: z231.literal("DocumentationPageCreate"),
6583
+ var DTODocumentationPageCreateActionOutputV2 = z232.object({
6584
+ type: z232.literal("DocumentationPageCreate"),
6568
6585
  output: SuccessPayload2
6569
6586
  });
6570
- var DTODocumentationPageUpdateActionOutputV2 = z231.object({
6571
- type: z231.literal("DocumentationPageUpdate"),
6587
+ var DTODocumentationPageUpdateActionOutputV2 = z232.object({
6588
+ type: z232.literal("DocumentationPageUpdate"),
6572
6589
  output: SuccessPayload2
6573
6590
  });
6574
- var DTODocumentationPageMoveActionOutputV2 = z231.object({
6575
- type: z231.literal("DocumentationPageMove"),
6591
+ var DTODocumentationPageMoveActionOutputV2 = z232.object({
6592
+ type: z232.literal("DocumentationPageMove"),
6576
6593
  output: SuccessPayload2
6577
6594
  });
6578
- var DTODocumentationPageDuplicateActionOutputV2 = z231.object({
6579
- type: z231.literal("DocumentationPageDuplicate"),
6595
+ var DTODocumentationPageDuplicateActionOutputV2 = z232.object({
6596
+ type: z232.literal("DocumentationPageDuplicate"),
6580
6597
  output: SuccessPayload2
6581
6598
  });
6582
- var DTODocumentationPageDeleteActionOutputV2 = z231.object({
6583
- type: z231.literal("DocumentationPageDelete"),
6599
+ var DTODocumentationPageDeleteActionOutputV2 = z232.object({
6600
+ type: z232.literal("DocumentationPageDelete"),
6584
6601
  output: SuccessPayload2
6585
6602
  });
6586
- var DTODocumentationPageRestoreActionOutput = z231.object({
6587
- type: z231.literal("DocumentationPageRestore"),
6603
+ var DTODocumentationPageRestoreActionOutput = z232.object({
6604
+ type: z232.literal("DocumentationPageRestore"),
6588
6605
  output: SuccessPayload2
6589
6606
  });
6590
- var DTODocumentationGroupRestoreActionOutput = z231.object({
6591
- type: z231.literal("DocumentationGroupRestore"),
6607
+ var DTODocumentationGroupRestoreActionOutput = z232.object({
6608
+ type: z232.literal("DocumentationGroupRestore"),
6592
6609
  output: SuccessPayload2
6593
6610
  });
6594
- var DTODocumentationPageApprovalStateChangeActionOutput = z231.object({
6595
- type: z231.literal("DocumentationPageApprovalStateChange"),
6611
+ var DTODocumentationPageApprovalStateChangeActionOutput = z232.object({
6612
+ type: z232.literal("DocumentationPageApprovalStateChange"),
6596
6613
  output: SuccessPayload2
6597
6614
  });
6598
- var DTODocumentationPageCreateActionInputV2 = z231.object({
6599
- type: z231.literal("DocumentationPageCreate"),
6615
+ var DTODocumentationPageCreateActionInputV2 = z232.object({
6616
+ type: z232.literal("DocumentationPageCreate"),
6600
6617
  input: DTOCreateDocumentationPageInputV2
6601
6618
  });
6602
- var DTODocumentationPageUpdateActionInputV2 = z231.object({
6603
- type: z231.literal("DocumentationPageUpdate"),
6619
+ var DTODocumentationPageUpdateActionInputV2 = z232.object({
6620
+ type: z232.literal("DocumentationPageUpdate"),
6604
6621
  input: DTOUpdateDocumentationPageInputV2
6605
6622
  });
6606
- var DTODocumentationPageMoveActionInputV2 = z231.object({
6607
- type: z231.literal("DocumentationPageMove"),
6623
+ var DTODocumentationPageMoveActionInputV2 = z232.object({
6624
+ type: z232.literal("DocumentationPageMove"),
6608
6625
  input: DTOMoveDocumentationPageInputV2
6609
6626
  });
6610
- var DTODocumentationPageDuplicateActionInputV2 = z231.object({
6611
- type: z231.literal("DocumentationPageDuplicate"),
6627
+ var DTODocumentationPageDuplicateActionInputV2 = z232.object({
6628
+ type: z232.literal("DocumentationPageDuplicate"),
6612
6629
  input: DTODuplicateDocumentationPageInputV2
6613
6630
  });
6614
- var DTODocumentationPageDeleteActionInputV2 = z231.object({
6615
- type: z231.literal("DocumentationPageDelete"),
6631
+ var DTODocumentationPageDeleteActionInputV2 = z232.object({
6632
+ type: z232.literal("DocumentationPageDelete"),
6616
6633
  input: DTODeleteDocumentationPageInputV2
6617
6634
  });
6618
- var DTODocumentationPageRestoreActionInput = z231.object({
6619
- type: z231.literal("DocumentationPageRestore"),
6635
+ var DTODocumentationPageRestoreActionInput = z232.object({
6636
+ type: z232.literal("DocumentationPageRestore"),
6620
6637
  input: DTORestoreDocumentationPageInput
6621
6638
  });
6622
- var DTODocumentationGroupRestoreActionInput = z231.object({
6623
- type: z231.literal("DocumentationGroupRestore"),
6639
+ var DTODocumentationGroupRestoreActionInput = z232.object({
6640
+ type: z232.literal("DocumentationGroupRestore"),
6624
6641
  input: DTORestoreDocumentationGroupInput
6625
6642
  });
6626
- var DTODocumentationPageApprovalStateChangeActionInput = z231.object({
6627
- type: z231.literal("DocumentationPageApprovalStateChange"),
6643
+ var DTODocumentationPageApprovalStateChangeActionInput = z232.object({
6644
+ type: z232.literal("DocumentationPageApprovalStateChange"),
6628
6645
  input: DTODocumentationPageApprovalStateChangeInput
6629
6646
  });
6630
6647
 
6631
6648
  // src/api/dto/elements/documentation/page-content.ts
6632
- import { z as z232 } from "zod";
6649
+ import { z as z233 } from "zod";
6633
6650
  var DTODocumentationPageContent = DocumentationPageContent;
6634
- var DTODocumentationPageContentGetResponse = z232.object({
6651
+ var DTODocumentationPageContentGetResponse = z233.object({
6635
6652
  pageContent: DTODocumentationPageContent
6636
6653
  });
6637
6654
 
6638
6655
  // src/api/dto/elements/documentation/page-v1.ts
6639
- import { z as z233 } from "zod";
6656
+ import { z as z234 } from "zod";
6640
6657
  var DocumentationPageV1DTO = DocumentationPageV1.omit({
6641
6658
  data: true,
6642
6659
  meta: true,
@@ -6644,32 +6661,32 @@ var DocumentationPageV1DTO = DocumentationPageV1.omit({
6644
6661
  sortOrder: true
6645
6662
  }).extend({
6646
6663
  configuration: DTODocumentationItemConfigurationV1,
6647
- blocks: z233.array(PageBlockV1),
6648
- title: z233.string(),
6649
- path: z233.string()
6664
+ blocks: z234.array(PageBlockV1),
6665
+ title: z234.string(),
6666
+ path: z234.string()
6650
6667
  });
6651
6668
 
6652
6669
  // src/api/dto/elements/figma-nodes/figma-node.ts
6653
- import { z as z234 } from "zod";
6670
+ import { z as z235 } from "zod";
6654
6671
  var DTOFigmaNodeRenderFormat = FigmaNodeRenderFormat;
6655
- var DTOFigmaNodeOrigin = z234.object({
6656
- sourceId: z234.string(),
6657
- fileId: z234.string().optional(),
6658
- parentName: z234.string().optional()
6672
+ var DTOFigmaNodeOrigin = z235.object({
6673
+ sourceId: z235.string(),
6674
+ fileId: z235.string().optional(),
6675
+ parentName: z235.string().optional()
6659
6676
  });
6660
- var DTOFigmaNodeData = z234.object({
6677
+ var DTOFigmaNodeData = z235.object({
6661
6678
  // Id of the node in the Figma file
6662
- figmaNodeId: z234.string(),
6679
+ figmaNodeId: z235.string(),
6663
6680
  // Validity
6664
- isValid: z234.boolean(),
6681
+ isValid: z235.boolean(),
6665
6682
  // Asset data
6666
- assetId: z234.string(),
6667
- assetUrl: z234.string(),
6683
+ assetId: z235.string(),
6684
+ assetUrl: z235.string(),
6668
6685
  assetFormat: DTOFigmaNodeRenderFormat,
6669
6686
  // Asset metadata
6670
- assetScale: z234.number(),
6671
- assetWidth: z234.number().optional(),
6672
- assetHeight: z234.number().optional()
6687
+ assetScale: z235.number(),
6688
+ assetWidth: z235.number().optional(),
6689
+ assetHeight: z235.number().optional()
6673
6690
  });
6674
6691
  var DTOFigmaNode = FigmaNodeReference.omit({
6675
6692
  data: true,
@@ -6678,15 +6695,15 @@ var DTOFigmaNode = FigmaNodeReference.omit({
6678
6695
  data: DTOFigmaNodeData,
6679
6696
  origin: DTOFigmaNodeOrigin
6680
6697
  });
6681
- var DTOFigmaNodeRenderInput = z234.object({
6698
+ var DTOFigmaNodeRenderInput = z235.object({
6682
6699
  /**
6683
6700
  * Id of a design system's data source representing a linked Figma file
6684
6701
  */
6685
- sourceId: z234.string(),
6702
+ sourceId: z235.string(),
6686
6703
  /**
6687
6704
  * Id of a node within the Figma file
6688
6705
  */
6689
- figmaFileNodeId: z234.string(),
6706
+ figmaFileNodeId: z235.string(),
6690
6707
  /**
6691
6708
  * Format in which the node must be rendered, png by default.
6692
6709
  */
@@ -6694,108 +6711,91 @@ var DTOFigmaNodeRenderInput = z234.object({
6694
6711
  });
6695
6712
 
6696
6713
  // src/api/dto/elements/figma-nodes/node-actions-v2.ts
6697
- import { z as z235 } from "zod";
6698
- var DTOFigmaNodeRenderActionOutput = z235.object({
6699
- type: z235.literal("FigmaNodeRender"),
6700
- figmaNodes: z235.array(DTOFigmaNode)
6714
+ import { z as z236 } from "zod";
6715
+ var DTOFigmaNodeRenderActionOutput = z236.object({
6716
+ type: z236.literal("FigmaNodeRender"),
6717
+ figmaNodes: z236.array(DTOFigmaNode)
6701
6718
  });
6702
- var DTOFigmaNodeRenderActionInput = z235.object({
6703
- type: z235.literal("FigmaNodeRender"),
6719
+ var DTOFigmaNodeRenderActionInput = z236.object({
6720
+ type: z236.literal("FigmaNodeRender"),
6704
6721
  input: DTOFigmaNodeRenderInput.array()
6705
6722
  });
6706
6723
 
6707
- // src/api/dto/elements/properties/property-definitions-actions-v2.ts
6724
+ // src/api/dto/elements/properties/property-definitions.ts
6725
+ import { z as z238 } from "zod";
6726
+
6727
+ // src/api/dto/aux/meta.ts
6708
6728
  import { z as z237 } from "zod";
6729
+ var DTOObjectMeta = z237.object({
6730
+ name: z237.string().max(512),
6731
+ description: z237.string().max(2048).optional()
6732
+ });
6709
6733
 
6710
6734
  // src/api/dto/elements/properties/property-definitions.ts
6711
- import { z as z236 } from "zod";
6712
6735
  var CODE_NAME_REGEX2 = /^[a-zA-Z_$][a-zA-Z_$0-9]{1,99}$/;
6713
- var DTOElementPropertyDefinition = z236.object({
6714
- id: z236.string(),
6715
- designSystemVersionId: z236.string(),
6716
- meta: ObjectMeta,
6717
- persistentId: z236.string(),
6736
+ var DTOElementPropertyDefinitionOption = z238.object({
6737
+ id: z238.string(),
6738
+ name: z238.string(),
6739
+ backgroundColor: DTOColorTokenInlineData.optional()
6740
+ });
6741
+ var DTOElementPropertyDefinition = z238.object({
6742
+ id: z238.string(),
6743
+ designSystemVersionId: z238.string(),
6744
+ meta: DTOObjectMeta,
6745
+ persistentId: z238.string(),
6718
6746
  type: ElementPropertyTypeSchema,
6719
6747
  targetElementType: ElementPropertyTargetType,
6720
- codeName: z236.string().regex(CODE_NAME_REGEX2),
6721
- options: nullishToOptional(z236.array(ElementPropertyDefinitionOption)),
6748
+ codeName: z238.string().regex(CODE_NAME_REGEX2),
6749
+ options: nullishToOptional(z238.array(DTOElementPropertyDefinitionOption)),
6722
6750
  linkElementType: nullishToOptional(ElementPropertyLinkType)
6723
6751
  });
6724
- var DTOElementPropertyDefinitionListResponse = z236.object({
6725
- definitions: z236.array(DTOElementPropertyDefinition)
6726
- });
6727
- var DTOElementPropertyDefinitionResponse = z236.object({
6728
- definition: DTOElementPropertyDefinition
6729
- });
6730
- var DTOElementPropertyDefinitionCreatePayload = DTOElementPropertyDefinition.omit({
6731
- id: true,
6732
- designSystemVersionId: true
6733
- });
6734
- var DTOElementPropertyDefinitionUpdatePayload = z236.object({
6735
- id: z236.string(),
6736
- name: z236.string().optional(),
6737
- description: z236.string().optional(),
6738
- codeName: z236.string().regex(CODE_NAME_REGEX2).optional(),
6739
- options: z236.array(ElementPropertyDefinitionOption).optional()
6752
+ var DTOElementPropertyDefinitionListResponse = z238.object({
6753
+ definitions: z238.array(DTOElementPropertyDefinition)
6740
6754
  });
6741
- var DTOElementPropertyDefinitionDeletePayload = z236.object({
6742
- id: z236.string()
6743
- });
6744
-
6745
- // src/api/dto/elements/properties/property-definitions-actions-v2.ts
6746
- var SuccessPayload3 = z237.object({
6747
- success: z237.literal(true)
6748
- });
6749
- var DTOPropertyDefinitionCreateActionOutputV2 = z237.object({
6750
- type: z237.literal("PropertyDefinitionCreate"),
6751
- definition: DTOElementPropertyDefinition
6752
- });
6753
- var DTOPropertyDefinitionUpdateActionOutputV2 = z237.object({
6754
- type: z237.literal("PropertyDefinitionUpdate"),
6755
+ var DTOElementPropertyDefinitionResponse = z238.object({
6755
6756
  definition: DTOElementPropertyDefinition
6756
6757
  });
6757
- var DTOPropertyDefinitionDeleteActionOutputV2 = z237.object({
6758
- type: z237.literal("PropertyDefinitionDelete"),
6759
- output: SuccessPayload3
6760
- });
6761
- var DTOPropertyDefinitionCreateActionInputV2 = z237.object({
6762
- type: z237.literal("PropertyDefinitionCreate"),
6763
- input: DTOElementPropertyDefinitionCreatePayload
6764
- });
6765
- var DTOPropertyDefinitionUpdateActionInputV2 = z237.object({
6766
- type: z237.literal("PropertyDefinitionUpdate"),
6767
- input: DTOElementPropertyDefinitionUpdatePayload
6758
+ var DTOElementPropertyDefinitionCreatePayload = z238.object({
6759
+ meta: DTOObjectMeta,
6760
+ persistentId: z238.string(),
6761
+ type: ElementPropertyTypeSchema,
6762
+ targetElementType: ElementPropertyTargetType,
6763
+ codeName: z238.string().regex(CODE_NAME_REGEX2),
6764
+ options: nullishToOptional(z238.array(DTOElementPropertyDefinitionOption)),
6765
+ linkElementType: nullishToOptional(ElementPropertyLinkType),
6766
+ columnWidth: z238.number().max(1024).optional()
6768
6767
  });
6769
- var DTOPropertyDefinitionDeleteActionInputV2 = z237.object({
6770
- type: z237.literal("PropertyDefinitionDelete"),
6771
- input: DTOElementPropertyDefinitionDeletePayload
6768
+ var DTOElementPropertyDefinitionUpdatePayload = z238.object({
6769
+ meta: DTOObjectMeta.optional(),
6770
+ codeName: z238.string().regex(CODE_NAME_REGEX2).optional(),
6771
+ options: z238.array(DTOElementPropertyDefinitionOption).optional()
6772
6772
  });
6773
6773
 
6774
6774
  // src/api/dto/elements/properties/property-values.ts
6775
- import { z as z238 } from "zod";
6776
- var DTOElementPropertyValue = z238.object({
6777
- id: z238.string(),
6778
- designSystemVersionId: z238.string(),
6779
- definitionId: z238.string(),
6780
- targetElementId: z238.string(),
6781
- value: z238.union([z238.string(), z238.number(), z238.boolean()]).optional(),
6782
- valuePreview: z238.string().optional()
6783
- });
6784
- var DTOElementPropertyValueListResponse = z238.object({
6785
- values: z238.array(DTOElementPropertyValue)
6786
- });
6787
- var DTOElementPropertyValueResponse = z238.object({
6775
+ import { z as z239 } from "zod";
6776
+ var DTOElementPropertyValue = z239.object({
6777
+ id: z239.string(),
6778
+ designSystemVersionId: z239.string(),
6779
+ definitionId: z239.string(),
6780
+ targetElementId: z239.string(),
6781
+ value: z239.union([z239.string(), z239.number(), z239.boolean()]).optional(),
6782
+ valuePreview: z239.string().optional()
6783
+ });
6784
+ var DTOElementPropertyValueListResponse = z239.object({
6785
+ values: z239.array(DTOElementPropertyValue)
6786
+ });
6787
+ var DTOElementPropertyValueResponse = z239.object({
6788
6788
  value: DTOElementPropertyValue
6789
6789
  });
6790
- var DTOElementPropertyValueUpsertPaylod = z238.object({
6791
- definitionId: z238.string(),
6792
- targetElementId: z238.string(),
6793
- value: z238.string().or(z238.number()).or(z238.boolean())
6790
+ var DTOElementPropertyValueUpsertPaylod = z239.object({
6791
+ definitionId: z239.string(),
6792
+ targetElementId: z239.string(),
6793
+ value: z239.string().or(z239.number()).or(z239.boolean())
6794
6794
  });
6795
6795
 
6796
6796
  // src/api/dto/elements/elements-action-v2.ts
6797
- import { z as z239 } from "zod";
6798
- var DTOElementActionOutput = z239.discriminatedUnion("type", [
6797
+ import { z as z240 } from "zod";
6798
+ var DTOElementActionOutput = z240.discriminatedUnion("type", [
6799
6799
  // Documentation pages
6800
6800
  DTODocumentationPageCreateActionOutputV2,
6801
6801
  DTODocumentationPageUpdateActionOutputV2,
@@ -6812,17 +6812,13 @@ var DTOElementActionOutput = z239.discriminatedUnion("type", [
6812
6812
  DTODocumentationTabGroupDeleteActionOutputV2,
6813
6813
  // Figma frames
6814
6814
  DTOFigmaNodeRenderActionOutput,
6815
- // Properties Definitions
6816
- DTOPropertyDefinitionCreateActionOutputV2,
6817
- DTOPropertyDefinitionUpdateActionOutputV2,
6818
- DTOPropertyDefinitionDeleteActionOutputV2,
6819
6815
  // Restore
6820
6816
  DTODocumentationPageRestoreActionOutput,
6821
6817
  DTODocumentationGroupRestoreActionOutput,
6822
6818
  // Approvals
6823
6819
  DTODocumentationPageApprovalStateChangeActionOutput
6824
6820
  ]);
6825
- var DTOElementActionInput = z239.discriminatedUnion("type", [
6821
+ var DTOElementActionInput = z240.discriminatedUnion("type", [
6826
6822
  // Documentation pages
6827
6823
  DTODocumentationPageCreateActionInputV2,
6828
6824
  DTODocumentationPageUpdateActionInputV2,
@@ -6839,10 +6835,6 @@ var DTOElementActionInput = z239.discriminatedUnion("type", [
6839
6835
  DTODocumentationTabGroupDeleteActionInputV2,
6840
6836
  // Figma frames
6841
6837
  DTOFigmaNodeRenderActionInput,
6842
- // Properties Definitions
6843
- DTOPropertyDefinitionCreateActionInputV2,
6844
- DTOPropertyDefinitionUpdateActionInputV2,
6845
- DTOPropertyDefinitionDeleteActionInputV2,
6846
6838
  // Restore
6847
6839
  DTODocumentationPageRestoreActionInput,
6848
6840
  DTODocumentationGroupRestoreActionInput,
@@ -6851,80 +6843,80 @@ var DTOElementActionInput = z239.discriminatedUnion("type", [
6851
6843
  ]);
6852
6844
 
6853
6845
  // src/api/dto/elements/get-elements-v2.ts
6854
- import { z as z240 } from "zod";
6855
- var DTOElementsGetTypeFilter = z240.enum(["FigmaNode"]);
6856
- var DTOElementsGetQuerySchema = z240.object({
6857
- types: z240.string().transform((val) => val.split(",").map((v) => DTOElementsGetTypeFilter.parse(v)))
6846
+ import { z as z241 } from "zod";
6847
+ var DTOElementsGetTypeFilter = z241.enum(["FigmaNode"]);
6848
+ var DTOElementsGetQuerySchema = z241.object({
6849
+ types: z241.string().transform((val) => val.split(",").map((v) => DTOElementsGetTypeFilter.parse(v)))
6858
6850
  });
6859
- var DTOElementsGetOutput = z240.object({
6860
- figmaNodes: z240.array(DTOFigmaNode).optional()
6851
+ var DTOElementsGetOutput = z241.object({
6852
+ figmaNodes: z241.array(DTOFigmaNode).optional()
6861
6853
  });
6862
6854
 
6863
6855
  // src/api/dto/figma-components/assets/download.ts
6864
- import { z as z241 } from "zod";
6865
- var DTOAssetRenderConfiguration = z241.object({
6866
- prefix: z241.string().optional(),
6867
- suffix: z241.string().optional(),
6868
- scale: z241.enum(["x1", "x2", "x3", "x4"]),
6869
- format: z241.enum(["png", "pdf", "svg"])
6870
- });
6871
- var DTORenderedAssetFile = z241.object({
6872
- assetId: z241.string(),
6873
- fileName: z241.string(),
6874
- sourceUrl: z241.string(),
6856
+ import { z as z242 } from "zod";
6857
+ var DTOAssetRenderConfiguration = z242.object({
6858
+ prefix: z242.string().optional(),
6859
+ suffix: z242.string().optional(),
6860
+ scale: z242.enum(["x1", "x2", "x3", "x4"]),
6861
+ format: z242.enum(["png", "pdf", "svg"])
6862
+ });
6863
+ var DTORenderedAssetFile = z242.object({
6864
+ assetId: z242.string(),
6865
+ fileName: z242.string(),
6866
+ sourceUrl: z242.string(),
6875
6867
  settings: DTOAssetRenderConfiguration,
6876
- originalName: z241.string()
6868
+ originalName: z242.string()
6877
6869
  });
6878
- var DTODownloadAssetsRequest = z241.object({
6879
- persistentIds: z241.array(z241.string().uuid()).optional(),
6870
+ var DTODownloadAssetsRequest = z242.object({
6871
+ persistentIds: z242.array(z242.string().uuid()).optional(),
6880
6872
  settings: DTOAssetRenderConfiguration.array()
6881
6873
  });
6882
- var DTODownloadAssetsResponse = z241.object({
6874
+ var DTODownloadAssetsResponse = z242.object({
6883
6875
  items: DTORenderedAssetFile.array()
6884
6876
  });
6885
6877
 
6886
6878
  // src/api/dto/liveblocks/auth-response.ts
6887
- import { z as z242 } from "zod";
6888
- var DTOLiveblocksAuthResponse = z242.object({
6889
- token: z242.string()
6879
+ import { z as z243 } from "zod";
6880
+ var DTOLiveblocksAuthResponse = z243.object({
6881
+ token: z243.string()
6890
6882
  });
6891
6883
 
6892
6884
  // src/api/dto/themes/override.ts
6893
- import { z as z243 } from "zod";
6885
+ import { z as z244 } from "zod";
6894
6886
  var DTOThemeOverride = DesignTokenTypedData.and(
6895
- z243.object({
6896
- tokenPersistentId: z243.string(),
6887
+ z244.object({
6888
+ tokenPersistentId: z244.string(),
6897
6889
  origin: ThemeOverrideOrigin.optional()
6898
6890
  })
6899
6891
  );
6900
6892
  var DTOThemeOverrideCreatePayload = DesignTokenTypedData.and(
6901
- z243.object({
6902
- tokenPersistentId: z243.string()
6893
+ z244.object({
6894
+ tokenPersistentId: z244.string()
6903
6895
  })
6904
6896
  );
6905
6897
 
6906
6898
  // src/api/dto/themes/theme.ts
6907
- import { z as z244 } from "zod";
6908
- var DTOTheme = z244.object({
6909
- id: z244.string(),
6910
- persistentId: z244.string(),
6911
- designSystemVersionId: z244.string(),
6912
- brandId: z244.string(),
6899
+ import { z as z245 } from "zod";
6900
+ var DTOTheme = z245.object({
6901
+ id: z245.string(),
6902
+ persistentId: z245.string(),
6903
+ designSystemVersionId: z245.string(),
6904
+ brandId: z245.string(),
6913
6905
  meta: ObjectMeta,
6914
- codeName: z244.string(),
6906
+ codeName: z245.string(),
6915
6907
  overrides: DTOThemeOverride.array()
6916
6908
  });
6917
- var DTOThemeResponse = z244.object({
6909
+ var DTOThemeResponse = z245.object({
6918
6910
  theme: DTOTheme
6919
6911
  });
6920
- var DTOThemeListResponse = z244.object({
6912
+ var DTOThemeListResponse = z245.object({
6921
6913
  themes: DTOTheme.array()
6922
6914
  });
6923
- var DTOThemeCreatePayload = z244.object({
6915
+ var DTOThemeCreatePayload = z245.object({
6924
6916
  meta: ObjectMeta,
6925
- persistentId: z244.string(),
6926
- brandId: z244.string(),
6927
- codeName: z244.string(),
6917
+ persistentId: z245.string(),
6918
+ brandId: z245.string(),
6919
+ codeName: z245.string(),
6928
6920
  overrides: DTOThemeOverride.array()
6929
6921
  });
6930
6922
 
@@ -7018,7 +7010,7 @@ var ImportJobsEndpoint = class {
7018
7010
  };
7019
7011
 
7020
7012
  // src/api/endpoints/design-system/versions/overrides.ts
7021
- import { z as z245 } from "zod";
7013
+ import { z as z246 } from "zod";
7022
7014
  var OverridesEndpoint = class {
7023
7015
  constructor(requestExecutor) {
7024
7016
  this.requestExecutor = requestExecutor;
@@ -7026,7 +7018,7 @@ var OverridesEndpoint = class {
7026
7018
  create(dsId, versionId, themeId, body) {
7027
7019
  return this.requestExecutor.json(
7028
7020
  `/design-systems/${dsId}/versions/${versionId}/themes/${themeId}/overrides`,
7029
- z245.any(),
7021
+ z246.any(),
7030
7022
  {
7031
7023
  method: "POST",
7032
7024
  body
@@ -7036,6 +7028,7 @@ var OverridesEndpoint = class {
7036
7028
  };
7037
7029
 
7038
7030
  // src/api/endpoints/design-system/versions/property-definitions.ts
7031
+ import { z as z247 } from "zod";
7039
7032
  var ElementPropertyDefinitionsEndpoint = class {
7040
7033
  constructor(requestExecutor) {
7041
7034
  this.requestExecutor = requestExecutor;
@@ -7053,6 +7046,20 @@ var ElementPropertyDefinitionsEndpoint = class {
7053
7046
  { method: "POST", body }
7054
7047
  );
7055
7048
  }
7049
+ update(designSystemId, versionId, defId, body) {
7050
+ return this.requestExecutor.json(
7051
+ `/design-systems/${designSystemId}/versions/${versionId}/element-properties/definitions/${defId}`,
7052
+ DTOElementPropertyDefinitionResponse,
7053
+ { method: "PUT", body }
7054
+ );
7055
+ }
7056
+ delete(designSystemId, versionId, defId) {
7057
+ return this.requestExecutor.json(
7058
+ `/design-systems/${designSystemId}/versions/${versionId}/element-properties/definitions/${defId}`,
7059
+ z247.any(),
7060
+ { method: "DELETE" }
7061
+ );
7062
+ }
7056
7063
  };
7057
7064
 
7058
7065
  // src/api/endpoints/design-system/versions/property-values.ts
@@ -7088,7 +7095,7 @@ var VersionStatsEndpoint = class {
7088
7095
  };
7089
7096
 
7090
7097
  // src/api/endpoints/design-system/versions/themes.ts
7091
- import { z as z246 } from "zod";
7098
+ import { z as z248 } from "zod";
7092
7099
  var ThemesEndpoint = class {
7093
7100
  constructor(requestExecutor) {
7094
7101
  this.requestExecutor = requestExecutor;
@@ -7111,7 +7118,7 @@ var ThemesEndpoint = class {
7111
7118
  });
7112
7119
  }
7113
7120
  delete(dsId, versionId, themeId) {
7114
- return this.requestExecutor.json(`/design-systems/${dsId}/versions/${versionId}/themes/${themeId}`, z246.any(), {
7121
+ return this.requestExecutor.json(`/design-systems/${dsId}/versions/${versionId}/themes/${themeId}`, z248.any(), {
7115
7122
  method: "DELETE"
7116
7123
  });
7117
7124
  }
@@ -7232,7 +7239,7 @@ var DesignSystemContactsEndpoint = class {
7232
7239
  };
7233
7240
 
7234
7241
  // src/api/endpoints/design-system/design-systems.ts
7235
- import { z as z248 } from "zod";
7242
+ import { z as z250 } from "zod";
7236
7243
 
7237
7244
  // src/api/endpoints/design-system/members.ts
7238
7245
  var DesignSystemMembersEndpoint = class {
@@ -7253,7 +7260,7 @@ var DesignSystemMembersEndpoint = class {
7253
7260
  };
7254
7261
 
7255
7262
  // src/api/endpoints/design-system/sources.ts
7256
- import { z as z247 } from "zod";
7263
+ import { z as z249 } from "zod";
7257
7264
  var DesignSystemSourcesEndpoint = class {
7258
7265
  constructor(requestExecutor) {
7259
7266
  this.requestExecutor = requestExecutor;
@@ -7262,7 +7269,7 @@ var DesignSystemSourcesEndpoint = class {
7262
7269
  return this.requestExecutor.json(`/design-systems/${dsId}/sources`, DTODataSourcesListResponse);
7263
7270
  }
7264
7271
  delete(dsId, sourceId) {
7265
- return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, z247.any(), { method: "DELETE" });
7272
+ return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, z249.any(), { method: "DELETE" });
7266
7273
  }
7267
7274
  };
7268
7275
 
@@ -7291,7 +7298,7 @@ var DesignSystemsEndpoint = class {
7291
7298
  return this.requestExecutor.json(`/design-systems/${dsId}`, DTODesignSystemResponse);
7292
7299
  }
7293
7300
  delete(dsId) {
7294
- return this.requestExecutor.json(`/design-systems/${dsId}`, z248.any(), { method: "DELETE" });
7301
+ return this.requestExecutor.json(`/design-systems/${dsId}`, z250.any(), { method: "DELETE" });
7295
7302
  }
7296
7303
  update(dsId, body) {
7297
7304
  return this.requestExecutor.json(`/design-systems/${dsId}`, DTODesignSystemResponse, {
@@ -7335,7 +7342,7 @@ var WorkspaceInvitationsEndpoint = class {
7335
7342
  };
7336
7343
 
7337
7344
  // src/api/endpoints/workspaces/workspace-members.ts
7338
- import { z as z249 } from "zod";
7345
+ import { z as z251 } from "zod";
7339
7346
  var WorkspaceMembersEndpoint = class {
7340
7347
  constructor(requestExecutor) {
7341
7348
  this.requestExecutor = requestExecutor;
@@ -7352,7 +7359,7 @@ var WorkspaceMembersEndpoint = class {
7352
7359
  });
7353
7360
  }
7354
7361
  invite(workspaceId, body) {
7355
- return this.requestExecutor.json(`/workspaces/${workspaceId}/members`, z249.any(), { method: "POST", body });
7362
+ return this.requestExecutor.json(`/workspaces/${workspaceId}/members`, z251.any(), { method: "POST", body });
7356
7363
  }
7357
7364
  delete(workspaceId, userId) {
7358
7365
  return this.requestExecutor.json(`/workspaces/${workspaceId}/members/${userId}`, DTOWorkspaceResponse, {
@@ -7362,7 +7369,7 @@ var WorkspaceMembersEndpoint = class {
7362
7369
  };
7363
7370
 
7364
7371
  // src/api/endpoints/workspaces/workspaces.ts
7365
- import { z as z250 } from "zod";
7372
+ import { z as z252 } from "zod";
7366
7373
  var WorkspacesEndpoint = class {
7367
7374
  constructor(requestExecutor) {
7368
7375
  this.requestExecutor = requestExecutor;
@@ -7385,10 +7392,10 @@ var WorkspacesEndpoint = class {
7385
7392
  return this.requestExecutor.json(`/workspaces/${workspaceId}`, DTOWorkspaceResponse, { method: "GET" });
7386
7393
  }
7387
7394
  delete(workspaceId) {
7388
- return this.requestExecutor.json(`/workspaces/${workspaceId}`, z250.any(), { method: "DELETE" });
7395
+ return this.requestExecutor.json(`/workspaces/${workspaceId}`, z252.any(), { method: "DELETE" });
7389
7396
  }
7390
7397
  subscription(workspaceId) {
7391
- return this.requestExecutor.json(`/workspaces/${workspaceId}/subscription`, z250.any(), { method: "GET" });
7398
+ return this.requestExecutor.json(`/workspaces/${workspaceId}/subscription`, z252.any(), { method: "GET" });
7392
7399
  }
7393
7400
  };
7394
7401
 
@@ -7469,9 +7476,9 @@ ${bodyText}`,
7469
7476
 
7470
7477
  // src/api/transport/request-executor.ts
7471
7478
  import fetch from "node-fetch";
7472
- import { z as z251 } from "zod";
7473
- var ResponseWrapper = z251.object({
7474
- result: z251.record(z251.any())
7479
+ import { z as z253 } from "zod";
7480
+ var ResponseWrapper = z253.object({
7481
+ result: z253.record(z253.any())
7475
7482
  });
7476
7483
  var RequestExecutor = class {
7477
7484
  constructor(testServerConfig) {
@@ -7503,8 +7510,11 @@ var RequestExecutor = class {
7503
7510
  const bodyString = await response.text();
7504
7511
  throw RequestExecutorError.serverError(endpoint, response.status, bodyString);
7505
7512
  }
7506
- const wrapperParseResult = ResponseWrapper.safeParse(await response.json());
7513
+ const json = await response.json();
7514
+ const wrapperParseResult = ResponseWrapper.safeParse(json);
7507
7515
  if (!wrapperParseResult.success) {
7516
+ console.error(`Response was:`);
7517
+ console.error(json);
7508
7518
  throw RequestExecutorError.responseParsingError(endpoint, wrapperParseResult.error);
7509
7519
  }
7510
7520
  const responseParseResult = schema.safeParse(wrapperParseResult.data.result);
@@ -7599,7 +7609,7 @@ function generateHash(input, debug = false) {
7599
7609
  }
7600
7610
 
7601
7611
  // src/yjs/design-system-content/documentation-hierarchy.ts
7602
- import { z as z252 } from "zod";
7612
+ import { z as z254 } from "zod";
7603
7613
 
7604
7614
  // src/yjs/version-room/base.ts
7605
7615
  var VersionRoomBaseYDoc = class {
@@ -8129,24 +8139,24 @@ var FrontendVersionRoomYDoc = class {
8129
8139
  };
8130
8140
 
8131
8141
  // src/yjs/design-system-content/documentation-hierarchy.ts
8132
- var DocumentationHierarchySettings = z252.object({
8133
- routingVersion: z252.string(),
8134
- isDraftFeatureAdopted: z252.boolean(),
8135
- isApprovalFeatureEnabled: z252.boolean(),
8136
- approvalRequiredForPublishing: z252.boolean()
8142
+ var DocumentationHierarchySettings = z254.object({
8143
+ routingVersion: z254.string(),
8144
+ isDraftFeatureAdopted: z254.boolean(),
8145
+ isApprovalFeatureEnabled: z254.boolean(),
8146
+ approvalRequiredForPublishing: z254.boolean()
8137
8147
  });
8138
8148
  function yjsToDocumentationHierarchy(doc) {
8139
8149
  return new FrontendVersionRoomYDoc(doc).getDocumentationHierarchy();
8140
8150
  }
8141
8151
 
8142
8152
  // src/yjs/design-system-content/item-configuration.ts
8143
- import { z as z253 } from "zod";
8144
- var DTODocumentationPageRoomHeaderData = z253.object({
8145
- title: z253.string(),
8153
+ import { z as z255 } from "zod";
8154
+ var DTODocumentationPageRoomHeaderData = z255.object({
8155
+ title: z255.string(),
8146
8156
  configuration: DTODocumentationItemConfigurationV2
8147
8157
  });
8148
- var DTODocumentationPageRoomHeaderDataUpdate = z253.object({
8149
- title: z253.string().optional(),
8158
+ var DTODocumentationPageRoomHeaderDataUpdate = z255.object({
8159
+ title: z255.string().optional(),
8150
8160
  configuration: DTODocumentationItemConfigurationV2.omit({ header: true }).extend({ header: DocumentationItemHeaderV2.partial() }).optional()
8151
8161
  });
8152
8162
  function itemConfigurationToYjs(yDoc, item) {
@@ -8197,7 +8207,7 @@ function yjsToItemConfiguration(yDoc) {
8197
8207
  header: rawHeader
8198
8208
  };
8199
8209
  return {
8200
- title: z253.string().parse(title),
8210
+ title: z255.string().parse(title),
8201
8211
  configuration: DTODocumentationItemConfigurationV2.parse(rawConfig)
8202
8212
  };
8203
8213
  }
@@ -8207,9 +8217,9 @@ var PageBlockEditorModel = PageBlockEditorModelV2;
8207
8217
  var PageSectionEditorModel = PageSectionEditorModelV2;
8208
8218
 
8209
8219
  // src/yjs/docs-editor/model/page.ts
8210
- import { z as z254 } from "zod";
8211
- var DocumentationPageEditorModel = z254.object({
8212
- blocks: z254.array(DocumentationPageContentItem)
8220
+ import { z as z256 } from "zod";
8221
+ var DocumentationPageEditorModel = z256.object({
8222
+ blocks: z256.array(DocumentationPageContentItem)
8213
8223
  });
8214
8224
 
8215
8225
  // src/yjs/docs-editor/prosemirror/inner-editor-schema.ts
@@ -11730,7 +11740,7 @@ var blocks = [
11730
11740
 
11731
11741
  // src/yjs/docs-editor/prosemirror-to-blocks.ts
11732
11742
  import { yXmlFragmentToProsemirrorJSON } from "y-prosemirror";
11733
- import { z as z255 } from "zod";
11743
+ import { z as z257 } from "zod";
11734
11744
  function yDocToPage(yDoc, definitions) {
11735
11745
  return yXmlFragmentToPage(yDoc.getXmlFragment("default"), definitions);
11736
11746
  }
@@ -11810,7 +11820,7 @@ function prosemirrorNodeToSectionItem(prosemirrorNode, definitionsMap) {
11810
11820
  return null;
11811
11821
  return {
11812
11822
  id,
11813
- title: getProsemirrorAttribute(prosemirrorNode, "title", z255.string()) ?? "",
11823
+ title: getProsemirrorAttribute(prosemirrorNode, "title", z257.string()) ?? "",
11814
11824
  columns: (prosemirrorNode.content ?? []).filter((c) => c.type === "sectionItemColumn").map((c) => prosemirrorNodeToSectionColumns(c, definitionsMap)).filter(nonNullFilter)
11815
11825
  };
11816
11826
  }
@@ -11845,7 +11855,7 @@ function internalProsemirrorNodesToBlocks(prosemirrorNodes, definitionsMap, dept
11845
11855
  });
11846
11856
  }
11847
11857
  function internalProsemirrorNodeToBlock(prosemirrorNode, definitionsMap, depth) {
11848
- const definitionId = getProsemirrorAttribute(prosemirrorNode, "definitionId", z255.string());
11858
+ const definitionId = getProsemirrorAttribute(prosemirrorNode, "definitionId", z257.string());
11849
11859
  if (!definitionId) {
11850
11860
  console.warn(`definitionId on ${prosemirrorNode.type} is required to be interpreted as a block, skipping node`);
11851
11861
  return [];
@@ -11887,7 +11897,7 @@ function parseAsRichText(prosemirrorNode, definition, property) {
11887
11897
  if (!id)
11888
11898
  return null;
11889
11899
  const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
11890
- const calloutType = parseCalloutType(getProsemirrorAttribute(prosemirrorNode, "type", z255.string().optional()));
11900
+ const calloutType = parseCalloutType(getProsemirrorAttribute(prosemirrorNode, "type", z257.string().optional()));
11891
11901
  return {
11892
11902
  id,
11893
11903
  type: "Block",
@@ -12015,10 +12025,10 @@ function parseRichTextAttribute(mark) {
12015
12025
  return null;
12016
12026
  }
12017
12027
  function parseProsemirrorLink(mark) {
12018
- const href = getProsemirrorAttribute(mark, "href", z255.string().optional());
12028
+ const href = getProsemirrorAttribute(mark, "href", z257.string().optional());
12019
12029
  if (!href)
12020
12030
  return null;
12021
- const target = getProsemirrorAttribute(mark, "target", z255.string().optional());
12031
+ const target = getProsemirrorAttribute(mark, "target", z257.string().optional());
12022
12032
  const openInNewTab = target === "_blank";
12023
12033
  if (href.startsWith("@")) {
12024
12034
  return {
@@ -12037,10 +12047,10 @@ function parseProsemirrorLink(mark) {
12037
12047
  }
12038
12048
  }
12039
12049
  function parseProsemirrorCommentHighlight(mark) {
12040
- const highlightId = getProsemirrorAttribute(mark, "highlightId", z255.string().optional());
12050
+ const highlightId = getProsemirrorAttribute(mark, "highlightId", z257.string().optional());
12041
12051
  if (!highlightId)
12042
12052
  return null;
12043
- const isResolved = getProsemirrorAttribute(mark, "resolved", z255.boolean().optional()) ?? false;
12053
+ const isResolved = getProsemirrorAttribute(mark, "resolved", z257.boolean().optional()) ?? false;
12044
12054
  return {
12045
12055
  type: "Comment",
12046
12056
  commentHighlightId: highlightId,
@@ -12052,7 +12062,7 @@ function parseAsTable(prosemirrorNode, definition, property) {
12052
12062
  if (!id)
12053
12063
  return null;
12054
12064
  const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
12055
- const hasBorder = getProsemirrorAttribute(prosemirrorNode, "hasBorder", z255.boolean().optional()) !== false;
12065
+ const hasBorder = getProsemirrorAttribute(prosemirrorNode, "hasBorder", z257.boolean().optional()) !== false;
12056
12066
  const tableChild = prosemirrorNode.content?.find((c) => c.type === "table");
12057
12067
  if (!tableChild) {
12058
12068
  return emptyTable(id, variantId, 0);
@@ -12099,9 +12109,9 @@ function parseAsTableCell(prosemirrorNode) {
12099
12109
  const id = getProsemirrorBlockId(prosemirrorNode);
12100
12110
  if (!id)
12101
12111
  return null;
12102
- const textAlign = getProsemirrorAttribute(prosemirrorNode, "textAlign", z255.string().optional());
12112
+ const textAlign = getProsemirrorAttribute(prosemirrorNode, "textAlign", z257.string().optional());
12103
12113
  let columnWidth;
12104
- const columnWidthArray = getProsemirrorAttribute(prosemirrorNode, "colwidth", z255.array(z255.number()).nullish());
12114
+ const columnWidthArray = getProsemirrorAttribute(prosemirrorNode, "colwidth", z257.array(z257.number()).nullish());
12105
12115
  if (columnWidthArray) {
12106
12116
  columnWidth = roundDimension(columnWidthArray[0]);
12107
12117
  }
@@ -12139,7 +12149,7 @@ function parseAsTableNode(prosemirrorNode) {
12139
12149
  value: parseRichText(prosemirrorNode.content ?? [])
12140
12150
  };
12141
12151
  case "image":
12142
- const items = getProsemirrorAttribute(prosemirrorNode, "items", z255.string());
12152
+ const items = getProsemirrorAttribute(prosemirrorNode, "items", z257.string());
12143
12153
  if (!items)
12144
12154
  return null;
12145
12155
  const parsedItems = PageBlockItemV2.array().safeParse(JSON.parse(items));
@@ -12259,7 +12269,7 @@ function definitionExpectsPlaceholderItem(definition) {
12259
12269
  );
12260
12270
  }
12261
12271
  function parseBlockItems(prosemirrorNode, definition) {
12262
- const itemsString = getProsemirrorAttribute(prosemirrorNode, "items", z255.string());
12272
+ const itemsString = getProsemirrorAttribute(prosemirrorNode, "items", z257.string());
12263
12273
  if (!itemsString)
12264
12274
  return null;
12265
12275
  const itemsJson = JSON.parse(itemsString);
@@ -12271,18 +12281,18 @@ function parseBlockItems(prosemirrorNode, definition) {
12271
12281
  }
12272
12282
  function parseAppearance(prosemirrorNode) {
12273
12283
  let appearance = {};
12274
- const rawAppearanceString = getProsemirrorAttribute(prosemirrorNode, "appearance", z255.string().optional());
12284
+ const rawAppearanceString = getProsemirrorAttribute(prosemirrorNode, "appearance", z257.string().optional());
12275
12285
  if (rawAppearanceString) {
12276
12286
  const parsedAppearance = PageBlockAppearanceV2.safeParse(JSON.parse(rawAppearanceString));
12277
12287
  if (parsedAppearance.success) {
12278
12288
  appearance = parsedAppearance.data;
12279
12289
  }
12280
12290
  }
12281
- const columns = getProsemirrorAttribute(prosemirrorNode, "columns", z255.number().optional());
12291
+ const columns = getProsemirrorAttribute(prosemirrorNode, "columns", z257.number().optional());
12282
12292
  if (columns) {
12283
12293
  appearance.numberOfColumns = columns;
12284
12294
  }
12285
- const backgroundColor = getProsemirrorAttribute(prosemirrorNode, "backgroundColor", z255.string().optional());
12295
+ const backgroundColor = getProsemirrorAttribute(prosemirrorNode, "backgroundColor", z257.string().optional());
12286
12296
  if (backgroundColor) {
12287
12297
  const parsedColor = PageBlockColorV2.safeParse(JSON.parse(backgroundColor));
12288
12298
  if (parsedColor.success) {
@@ -12377,13 +12387,13 @@ function valueSchemaForPropertyType(type) {
12377
12387
  }
12378
12388
  }
12379
12389
  function getProsemirrorBlockId(prosemirrorNode) {
12380
- const id = getProsemirrorAttribute(prosemirrorNode, "id", z255.string());
12390
+ const id = getProsemirrorAttribute(prosemirrorNode, "id", z257.string());
12381
12391
  if (!id)
12382
12392
  console.warn(`Prosemirror attribute "id" on ${prosemirrorNode.type} is required`);
12383
12393
  return id;
12384
12394
  }
12385
12395
  function getProsemirrorBlockVariantId(prosemirrorNode) {
12386
- return getProsemirrorAttribute(prosemirrorNode, "variantId", nullishToOptional(z255.string()));
12396
+ return getProsemirrorAttribute(prosemirrorNode, "variantId", nullishToOptional(z257.string()));
12387
12397
  }
12388
12398
  function getProsemirrorAttribute(prosemirrorNode, attributeName, validationSchema) {
12389
12399
  const parsedAttr = validationSchema.safeParse(prosemirrorNode.attrs?.[attributeName]);
@@ -12460,6 +12470,7 @@ export {
12460
12470
  DTOBrandCreateResponse,
12461
12471
  DTOBrandGetResponse,
12462
12472
  DTOBrandsListResponse,
12473
+ DTOColorTokenInlineData,
12463
12474
  DTOCreateBrandInput,
12464
12475
  DTOCreateDocumentationGroupInput,
12465
12476
  DTOCreateDocumentationPageInputV2,
@@ -12570,8 +12581,8 @@ export {
12570
12581
  DTOElementActionOutput,
12571
12582
  DTOElementPropertyDefinition,
12572
12583
  DTOElementPropertyDefinitionCreatePayload,
12573
- DTOElementPropertyDefinitionDeletePayload,
12574
12584
  DTOElementPropertyDefinitionListResponse,
12585
+ DTOElementPropertyDefinitionOption,
12575
12586
  DTOElementPropertyDefinitionResponse,
12576
12587
  DTOElementPropertyDefinitionUpdatePayload,
12577
12588
  DTOElementPropertyValue,
@@ -12653,12 +12664,6 @@ export {
12653
12664
  DTOPipelineResponse,
12654
12665
  DTOPipelineTriggerBody,
12655
12666
  DTOPipelineUpdateBody,
12656
- DTOPropertyDefinitionCreateActionInputV2,
12657
- DTOPropertyDefinitionCreateActionOutputV2,
12658
- DTOPropertyDefinitionDeleteActionInputV2,
12659
- DTOPropertyDefinitionDeleteActionOutputV2,
12660
- DTOPropertyDefinitionUpdateActionInputV2,
12661
- DTOPropertyDefinitionUpdateActionOutputV2,
12662
12667
  DTOPublishDocumentationChanges,
12663
12668
  DTOPublishDocumentationRequest,
12664
12669
  DTOPublishDocumentationResponse,