@supernova-studio/client 0.58.0 → 0.58.2

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