@supernova-studio/client 0.58.1 → 0.58.3

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
@@ -3860,13 +3860,15 @@ var WorkspaceMembership = z132.object({
3860
3860
  userId: z132.string(),
3861
3861
  workspaceId: z132.string(),
3862
3862
  workspaceRole: z132.nativeEnum(WorkspaceRole),
3863
- notificationSettings: UserNotificationSettings
3863
+ notificationSettings: UserNotificationSettings,
3864
+ isPrimaryOwner: z132.boolean().nullish()
3864
3865
  });
3865
3866
  var UpdateMembershipRolesInput = z132.object({
3866
3867
  members: z132.array(
3867
3868
  z132.object({
3868
3869
  userId: z132.string(),
3869
- role: z132.nativeEnum(WorkspaceRole)
3870
+ role: z132.nativeEnum(WorkspaceRole),
3871
+ isPrimaryOwner: z132.boolean().optional()
3870
3872
  })
3871
3873
  )
3872
3874
  });
@@ -5133,49 +5135,56 @@ var DTOColorTokenInlineData = z177.object({
5133
5135
  value: z177.string().regex(/^#[a-f0-9]{6,8}$/)
5134
5136
  });
5135
5137
 
5136
- // src/api/dto/aux/pagination.ts
5138
+ // src/api/dto/aux/meta.ts
5137
5139
  import { z as z178 } from "zod";
5138
- var DTOPagination = z178.object({
5139
- limit: z178.string().optional(),
5140
- offset: z178.string().optional()
5140
+ var DTOObjectMeta = z178.object({
5141
+ name: z178.string().max(512),
5142
+ description: z178.string().max(2048).optional()
5143
+ });
5144
+
5145
+ // src/api/dto/aux/pagination.ts
5146
+ import { z as z179 } from "zod";
5147
+ var DTOPagination = z179.object({
5148
+ limit: z179.string().optional(),
5149
+ offset: z179.string().optional()
5141
5150
  });
5142
5151
 
5143
5152
  // src/api/dto/bff/app-bootstrap-data.ts
5144
- import { z as z211 } from "zod";
5153
+ import { z as z212 } from "zod";
5145
5154
 
5146
5155
  // src/api/dto/design-systems/brand.ts
5147
- import { z as z179 } from "zod";
5148
- var DTOBrand = z179.object({
5149
- id: z179.string(),
5150
- designSystemVersionId: z179.string(),
5151
- persistentId: z179.string(),
5156
+ import { z as z180 } from "zod";
5157
+ var DTOBrand = z180.object({
5158
+ id: z180.string(),
5159
+ designSystemVersionId: z180.string(),
5160
+ persistentId: z180.string(),
5152
5161
  meta: ObjectMeta
5153
5162
  });
5154
- var DTOBrandGetResponse = z179.object({ brand: DTOBrand });
5155
- var DTOBrandCreateResponse = z179.object({
5163
+ var DTOBrandGetResponse = z180.object({ brand: DTOBrand });
5164
+ var DTOBrandCreateResponse = z180.object({
5156
5165
  brand: DTOBrand
5157
5166
  });
5158
- var DTOBrandsListResponse = z179.object({ brands: z179.array(DTOBrand) });
5167
+ var DTOBrandsListResponse = z180.object({ brands: z180.array(DTOBrand) });
5159
5168
 
5160
5169
  // src/api/dto/design-systems/contact.ts
5161
- import { z as z183 } from "zod";
5170
+ import { z as z184 } from "zod";
5162
5171
 
5163
5172
  // src/api/dto/users/authenticated-user.ts
5164
- import { z as z181 } from "zod";
5173
+ import { z as z182 } from "zod";
5165
5174
 
5166
5175
  // src/api/dto/users/user.ts
5167
- import { z as z180 } from "zod";
5168
- var DTOUserProfile = z180.object({
5169
- name: z180.string(),
5170
- nickname: z180.string().optional(),
5171
- avatar: z180.string().optional()
5172
- });
5173
- var DTOUser = z180.object({
5174
- id: z180.string(),
5175
- email: z180.string(),
5176
+ import { z as z181 } from "zod";
5177
+ var DTOUserProfile = z181.object({
5178
+ name: z181.string(),
5179
+ nickname: z181.string().optional(),
5180
+ avatar: z181.string().optional()
5181
+ });
5182
+ var DTOUser = z181.object({
5183
+ id: z181.string(),
5184
+ email: z181.string(),
5176
5185
  profile: DTOUserProfile
5177
5186
  });
5178
- var DTOUserGetResponse = z180.object({
5187
+ var DTOUserGetResponse = z181.object({
5179
5188
  user: DTOUser
5180
5189
  });
5181
5190
  var DTOUserProfileUpdate = UserProfileUpdate;
@@ -5184,146 +5193,146 @@ var DTOUserProfileUpdate = UserProfileUpdate;
5184
5193
  var DTOUserOnboardingDepartment = UserOnboardingDepartment;
5185
5194
  var DTOUserOnboardingJobLevel = UserOnboardingJobLevel;
5186
5195
  var DTOUserSource = UserSource;
5187
- var DTOUserOnboarding = z181.object({
5188
- companyName: z181.string().optional(),
5189
- numberOfPeopleInOrg: z181.string().optional(),
5190
- numberOfPeopleInDesignTeam: z181.string().optional(),
5196
+ var DTOUserOnboarding = z182.object({
5197
+ companyName: z182.string().optional(),
5198
+ numberOfPeopleInOrg: z182.string().optional(),
5199
+ numberOfPeopleInDesignTeam: z182.string().optional(),
5191
5200
  department: DTOUserOnboardingDepartment.optional(),
5192
- jobTitle: z181.string().optional(),
5193
- phase: z181.string().optional(),
5201
+ jobTitle: z182.string().optional(),
5202
+ phase: z182.string().optional(),
5194
5203
  jobLevel: DTOUserOnboardingJobLevel.optional(),
5195
- designSystemName: z181.string().optional(),
5196
- defaultDestination: z181.string().optional(),
5197
- isPageDraftOnboardingFinished: z181.boolean().optional()
5204
+ designSystemName: z182.string().optional(),
5205
+ defaultDestination: z182.string().optional(),
5206
+ isPageDraftOnboardingFinished: z182.boolean().optional()
5198
5207
  });
5199
5208
  var DTOAuthenticatedUserProfile = DTOUserProfile.extend({
5200
5209
  onboarding: DTOUserOnboarding.optional()
5201
5210
  });
5202
5211
  var DTOAuthenticatedUser = DTOUser.extend({
5203
5212
  profile: DTOAuthenticatedUserProfile,
5204
- createdAt: z181.coerce.date(),
5205
- loggedOutAt: z181.coerce.date().optional(),
5213
+ createdAt: z182.coerce.date(),
5214
+ loggedOutAt: z182.coerce.date().optional(),
5206
5215
  source: DTOUserSource.optional()
5207
5216
  });
5208
- var DTOAuthenticatedUserResponse = z181.object({
5217
+ var DTOAuthenticatedUserResponse = z182.object({
5209
5218
  user: DTOAuthenticatedUser
5210
5219
  });
5211
5220
 
5212
5221
  // src/api/dto/users/update.ts
5213
- import { z as z182 } from "zod";
5214
- var DTOUserProfileUpdateResponse = z182.object({
5222
+ import { z as z183 } from "zod";
5223
+ var DTOUserProfileUpdateResponse = z183.object({
5215
5224
  user: User
5216
5225
  });
5217
5226
 
5218
5227
  // src/api/dto/design-systems/contact.ts
5219
- var DTODesignSystemContactsResponse = z183.object({
5220
- contacts: z183.object({
5221
- workspace: z183.array(DTOUser),
5222
- designSystem: z183.array(DTOUser)
5228
+ var DTODesignSystemContactsResponse = z184.object({
5229
+ contacts: z184.object({
5230
+ workspace: z184.array(DTOUser),
5231
+ designSystem: z184.array(DTOUser)
5223
5232
  })
5224
5233
  });
5225
5234
 
5226
5235
  // src/api/dto/design-systems/data-source.ts
5227
- import { z as z184 } from "zod";
5228
- var DTODataSourceFigmaFileVersion = z184.object({
5229
- id: z184.string(),
5230
- created_at: z184.coerce.date(),
5231
- label: z184.string(),
5232
- description: z184.string()
5233
- });
5234
- var DTODataSourceFigmaCloud = z184.object({
5235
- fileId: z184.string(),
5236
+ import { z as z185 } from "zod";
5237
+ var DTODataSourceFigmaFileVersion = z185.object({
5238
+ id: z185.string(),
5239
+ created_at: z185.coerce.date(),
5240
+ label: z185.string(),
5241
+ description: z185.string()
5242
+ });
5243
+ var DTODataSourceFigmaCloud = z185.object({
5244
+ fileId: z185.string(),
5236
5245
  state: DataSourceFigmaState,
5237
5246
  autoImportMode: DataSourceAutoImportMode,
5238
- fileThumbnailUrl: z184.string().optional(),
5247
+ fileThumbnailUrl: z185.string().optional(),
5239
5248
  lastImportResult: SourceImportSummary.nullish(),
5240
- lastImportedAt: z184.coerce.date().nullish(),
5249
+ lastImportedAt: z185.coerce.date().nullish(),
5241
5250
  lastImportedVersion: DTODataSourceFigmaFileVersion.nullish(),
5242
- lastUpdatesCheckedAt: z184.date().nullish(),
5243
- ownerId: z184.string(),
5244
- ownerUserName: z184.string().optional(),
5245
- preferredCredentialId: z184.string().optional(),
5251
+ lastUpdatesCheckedAt: z185.date().nullish(),
5252
+ ownerId: z185.string(),
5253
+ ownerUserName: z185.string().optional(),
5254
+ preferredCredentialId: z185.string().optional(),
5246
5255
  stats: DataSourceStats
5247
5256
  });
5248
- var DTODataSourceFigma = z184.object({
5249
- id: z184.string(),
5250
- type: z184.literal(DataSourceRemoteType.Enum.Figma),
5251
- fileName: z184.string(),
5257
+ var DTODataSourceFigma = z185.object({
5258
+ id: z185.string(),
5259
+ type: z185.literal(DataSourceRemoteType.Enum.Figma),
5260
+ fileName: z185.string(),
5252
5261
  scope: DataSourceFigmaScope,
5253
- brandId: z184.string(),
5254
- themeId: z184.string().nullish(),
5262
+ brandId: z185.string(),
5263
+ themeId: z185.string().nullish(),
5255
5264
  cloud: DTODataSourceFigmaCloud.nullish()
5256
5265
  });
5257
- var DTODataSourceTokenStudio = z184.object({
5258
- id: z184.string(),
5259
- type: z184.literal(DataSourceRemoteType.Enum.TokenStudio),
5260
- fileName: z184.string(),
5261
- brandId: z184.string(),
5262
- themeId: z184.string().nullish(),
5263
- tokenStudio: z184.object({
5264
- settings: z184.object({
5265
- dryRun: z184.boolean(),
5266
- verbose: z184.boolean(),
5267
- preciseCopy: z184.boolean()
5266
+ var DTODataSourceTokenStudio = z185.object({
5267
+ id: z185.string(),
5268
+ type: z185.literal(DataSourceRemoteType.Enum.TokenStudio),
5269
+ fileName: z185.string(),
5270
+ brandId: z185.string(),
5271
+ themeId: z185.string().nullish(),
5272
+ tokenStudio: z185.object({
5273
+ settings: z185.object({
5274
+ dryRun: z185.boolean(),
5275
+ verbose: z185.boolean(),
5276
+ preciseCopy: z185.boolean()
5268
5277
  }),
5269
- connectionName: z184.string(),
5270
- lastImportedAt: z184.coerce.date(),
5271
- lastImportedResults: z184.array(
5272
- z184.object({
5273
- mapping: z184.object({
5274
- tokenSets: z184.array(z184.string()),
5275
- supernovaBrand: z184.string(),
5276
- supernovaTheme: z184.string().optional()
5278
+ connectionName: z185.string(),
5279
+ lastImportedAt: z185.coerce.date(),
5280
+ lastImportedResults: z185.array(
5281
+ z185.object({
5282
+ mapping: z185.object({
5283
+ tokenSets: z185.array(z185.string()),
5284
+ supernovaBrand: z185.string(),
5285
+ supernovaTheme: z185.string().optional()
5277
5286
  }),
5278
- isFailed: z184.boolean(),
5279
- tokensCreated: z184.number(),
5280
- tokensDeleted: z184.number(),
5281
- tokensUpdated: z184.number()
5287
+ isFailed: z185.boolean(),
5288
+ tokensCreated: z185.number(),
5289
+ tokensDeleted: z185.number(),
5290
+ tokensUpdated: z185.number()
5282
5291
  })
5283
5292
  )
5284
5293
  })
5285
5294
  });
5286
- var DTODataSourceFigmaVariablesPlugin = z184.object({
5287
- id: z184.string(),
5288
- type: z184.literal(DataSourceRemoteType.Enum.FigmaVariablesPlugin),
5289
- fileName: z184.string(),
5290
- brandId: z184.string(),
5291
- upload: z184.object({
5292
- remoteId: z184.string(),
5295
+ var DTODataSourceFigmaVariablesPlugin = z185.object({
5296
+ id: z185.string(),
5297
+ type: z185.literal(DataSourceRemoteType.Enum.FigmaVariablesPlugin),
5298
+ fileName: z185.string(),
5299
+ brandId: z185.string(),
5300
+ upload: z185.object({
5301
+ remoteId: z185.string(),
5293
5302
  remoteSourceType: DataSourceUploadRemoteSource,
5294
- lastImportedAt: z184.coerce.date().optional(),
5303
+ lastImportedAt: z185.coerce.date().optional(),
5295
5304
  lastImportMetadata: DataSourceUploadImportMetadata.optional(),
5296
- isTokenTypeSplitEnabled: z184.boolean()
5305
+ isTokenTypeSplitEnabled: z185.boolean()
5297
5306
  }),
5298
- figmaVariablesPlugin: z184.object({
5299
- fileId: z184.string(),
5300
- lastImportedAt: z184.coerce.date().optional(),
5307
+ figmaVariablesPlugin: z185.object({
5308
+ fileId: z185.string(),
5309
+ lastImportedAt: z185.coerce.date().optional(),
5301
5310
  lastImportMetadata: DataSourceUploadImportMetadata.optional(),
5302
- isTokenTypeSplitEnabled: z184.boolean(),
5303
- isCollectionsMigrationCompleted: z184.boolean().default(false)
5311
+ isTokenTypeSplitEnabled: z185.boolean(),
5312
+ isCollectionsMigrationCompleted: z185.boolean().default(false)
5304
5313
  })
5305
5314
  });
5306
- var DTODataSource = z184.discriminatedUnion("type", [
5315
+ var DTODataSource = z185.discriminatedUnion("type", [
5307
5316
  DTODataSourceFigma,
5308
5317
  DTODataSourceFigmaVariablesPlugin,
5309
5318
  DTODataSourceTokenStudio
5310
5319
  ]);
5311
- var DTODataSourcesListResponse = z184.object({
5312
- sources: z184.array(DTODataSource)
5320
+ var DTODataSourcesListResponse = z185.object({
5321
+ sources: z185.array(DTODataSource)
5313
5322
  });
5314
- var DTODataSourceCreationResponse = z184.object({
5323
+ var DTODataSourceCreationResponse = z185.object({
5315
5324
  source: DTODataSource
5316
5325
  });
5317
5326
 
5318
5327
  // src/api/dto/design-systems/design-system.ts
5319
- import { z as z187 } from "zod";
5328
+ import { z as z188 } from "zod";
5320
5329
 
5321
5330
  // src/api/dto/design-systems/members.ts
5322
- import { z as z186 } from "zod";
5331
+ import { z as z187 } from "zod";
5323
5332
 
5324
5333
  // src/api/dto/design-systems/role.ts
5325
- import { z as z185 } from "zod";
5326
- var DTODesignSystemRole = z185.enum([
5334
+ import { z as z186 } from "zod";
5335
+ var DTODesignSystemRole = z186.enum([
5327
5336
  WorkspaceRole.Admin,
5328
5337
  WorkspaceRole.Contributor,
5329
5338
  WorkspaceRole.Creator,
@@ -5331,29 +5340,29 @@ var DTODesignSystemRole = z185.enum([
5331
5340
  ]);
5332
5341
 
5333
5342
  // src/api/dto/design-systems/members.ts
5334
- var DTODesignSystemMember = z186.object({
5335
- userId: z186.string(),
5343
+ var DTODesignSystemMember = z187.object({
5344
+ userId: z187.string(),
5336
5345
  /**
5337
5346
  * Role that the member has in the design system,
5338
5347
  * undefined if set to inherit from workspace
5339
5348
  */
5340
5349
  designSystemRole: DTODesignSystemRole.optional()
5341
5350
  });
5342
- var DTODesignSystemInvitation = z186.object({
5343
- id: z186.string(),
5344
- workspaceInvitationId: z186.string(),
5351
+ var DTODesignSystemInvitation = z187.object({
5352
+ id: z187.string(),
5353
+ workspaceInvitationId: z187.string(),
5345
5354
  /**
5346
5355
  * Role that the invitation has in the design system,
5347
5356
  * undefined if set to inherit from workspace
5348
5357
  */
5349
5358
  designSystemRole: DTODesignSystemRole.optional()
5350
5359
  });
5351
- var DTODesignSystemMemberListResponse = z186.object({
5360
+ var DTODesignSystemMemberListResponse = z187.object({
5352
5361
  members: DTODesignSystemMember.array(),
5353
5362
  invitations: DTODesignSystemInvitation.array()
5354
5363
  });
5355
- var DTODesignSystemMembersUpdateResponse = z186.object({
5356
- ok: z186.literal(true)
5364
+ var DTODesignSystemMembersUpdateResponse = z187.object({
5365
+ ok: z187.literal(true)
5357
5366
  });
5358
5367
  var DTODesignSystemMembersUpdatePayload = DesignSystemMembershipUpdates;
5359
5368
 
@@ -5364,14 +5373,14 @@ var DTODesignSystem = DesignSystem.omit({
5364
5373
  docExporterId: true
5365
5374
  }).extend({
5366
5375
  meta: ObjectMeta,
5367
- docExporterId: z187.string(),
5368
- sources: z187.array(z187.any()),
5369
- isPublic: z187.literal(true),
5376
+ docExporterId: z188.string(),
5377
+ sources: z188.array(z188.any()),
5378
+ isPublic: z188.literal(true),
5370
5379
  /**
5371
5380
  * Whether or not user who is requesting the design system
5372
5381
  * has access to the design system's contents.
5373
5382
  */
5374
- isAvailableToUser: z187.boolean(),
5383
+ isAvailableToUser: z188.boolean(),
5375
5384
  /**
5376
5385
  * @deprecated
5377
5386
  */
@@ -5382,17 +5391,17 @@ var DTODesignSystem = DesignSystem.omit({
5382
5391
  */
5383
5392
  effectiveRole: DTODesignSystemRole.optional()
5384
5393
  });
5385
- var DTODesignSystemResponse = z187.object({
5394
+ var DTODesignSystemResponse = z188.object({
5386
5395
  designSystem: DTODesignSystem
5387
5396
  });
5388
- var DTODesignSystemsListResponse = z187.object({
5397
+ var DTODesignSystemsListResponse = z188.object({
5389
5398
  designSystems: DTODesignSystem.array()
5390
5399
  });
5391
- var DTODesignSystemCreateInput = z187.object({
5392
- workspaceId: z187.string(),
5400
+ var DTODesignSystemCreateInput = z188.object({
5401
+ workspaceId: z188.string(),
5393
5402
  meta: ObjectMeta.optional(),
5394
- name: z187.string().min(2).max(64).optional(),
5395
- description: z187.string().max(1024).optional(),
5403
+ name: z188.string().min(2).max(64).optional(),
5404
+ description: z188.string().max(1024).optional(),
5396
5405
  accessMode: DesignSystemAccessMode.optional(),
5397
5406
  invites: DTODesignSystemMembersUpdatePayload.pick({
5398
5407
  usersToInvite: true,
@@ -5402,25 +5411,25 @@ var DTODesignSystemCreateInput = z187.object({
5402
5411
  });
5403
5412
 
5404
5413
  // src/api/dto/design-systems/elements-diff.ts
5405
- import { z as z188 } from "zod";
5406
- var DTODiffCountBase = z188.object({
5407
- created: z188.number(),
5408
- updated: z188.number(),
5409
- deleted: z188.number()
5414
+ import { z as z189 } from "zod";
5415
+ var DTODiffCountBase = z189.object({
5416
+ created: z189.number(),
5417
+ updated: z189.number(),
5418
+ deleted: z189.number()
5410
5419
  });
5411
- var DTODesignElementsDataDiffResponse = z188.object({
5420
+ var DTODesignElementsDataDiffResponse = z189.object({
5412
5421
  tokens: DTODiffCountBase,
5413
5422
  assets: DTODiffCountBase
5414
5423
  });
5415
5424
 
5416
5425
  // src/api/dto/design-systems/exporter-property.ts
5417
- import { z as z189 } from "zod";
5418
- var DTOExporterProperty = z189.any({});
5419
- var DTOExporterPropertyListResponse = z189.object({ items: z189.array(DTOExporterProperty) });
5426
+ import { z as z190 } from "zod";
5427
+ var DTOExporterProperty = z190.any({});
5428
+ var DTOExporterPropertyListResponse = z190.object({ items: z190.array(DTOExporterProperty) });
5420
5429
 
5421
5430
  // src/api/dto/design-systems/figma-variables.ts
5422
- import { z as z190 } from "zod";
5423
- var DimensionsVariableScopeSchema = z190.enum([
5431
+ import { z as z191 } from "zod";
5432
+ var DimensionsVariableScopeSchema = z191.enum([
5424
5433
  "CORNER_RADIUS",
5425
5434
  "WIDTH_HEIGHT",
5426
5435
  "GAP",
@@ -5434,130 +5443,130 @@ var DimensionsVariableScopeSchema = z190.enum([
5434
5443
  "PARAGRAPH_INDENT",
5435
5444
  "FONT_WEIGHT"
5436
5445
  ]);
5437
- var StringVariableScopeSchema = z190.enum(["TEXT_CONTENT", "FONT_FAMILY", "FONT_STYLE"]);
5446
+ var StringVariableScopeSchema = z191.enum(["TEXT_CONTENT", "FONT_FAMILY", "FONT_STYLE"]);
5438
5447
  var DimensionsVariableScopeType = DimensionsVariableScopeSchema.enum;
5439
5448
  var StringVariableScopeType = StringVariableScopeSchema.enum;
5440
- var VariableScope = z190.string();
5441
- var ReferencedVariableOrigin = z190.object({
5442
- name: z190.string(),
5443
- remote: z190.boolean()
5449
+ var VariableScope = z191.string();
5450
+ var ReferencedVariableOrigin = z191.object({
5451
+ name: z191.string(),
5452
+ remote: z191.boolean()
5444
5453
  });
5445
- var RGB = z190.object({
5446
- r: z190.number(),
5447
- g: z190.number(),
5448
- b: z190.number()
5454
+ var RGB = z191.object({
5455
+ r: z191.number(),
5456
+ g: z191.number(),
5457
+ b: z191.number()
5449
5458
  });
5450
5459
  var RGBA = RGB.extend({
5451
- a: z190.number()
5452
- });
5453
- var VariableAlias = z190.object({
5454
- type: z190.literal("VARIABLE_ALIAS"),
5455
- id: z190.string(),
5456
- resolvedValue: z190.boolean().or(z190.number()).or(z190.string()).or(RGBA).or(RGB).optional(),
5457
- referenceOrigin: ReferencedVariableOrigin.optional().or(z190.null())
5458
- });
5459
- var VariableValue = z190.boolean().or(z190.number()).or(z190.string()).or(RGBA).or(RGB).or(VariableAlias);
5460
- var ResolvedVariableType = z190.enum(["BOOLEAN", "FLOAT", "STRING", "COLOR"]);
5461
- var Variable = z190.object({
5462
- id: z190.string(),
5463
- name: z190.string(),
5464
- key: z190.string(),
5465
- variableCollectionId: z190.string(),
5460
+ a: z191.number()
5461
+ });
5462
+ var VariableAlias = z191.object({
5463
+ type: z191.literal("VARIABLE_ALIAS"),
5464
+ id: z191.string(),
5465
+ resolvedValue: z191.boolean().or(z191.number()).or(z191.string()).or(RGBA).or(RGB).optional(),
5466
+ referenceOrigin: ReferencedVariableOrigin.optional().or(z191.null())
5467
+ });
5468
+ var VariableValue = z191.boolean().or(z191.number()).or(z191.string()).or(RGBA).or(RGB).or(VariableAlias);
5469
+ var ResolvedVariableType = z191.enum(["BOOLEAN", "FLOAT", "STRING", "COLOR"]);
5470
+ var Variable = z191.object({
5471
+ id: z191.string(),
5472
+ name: z191.string(),
5473
+ key: z191.string(),
5474
+ variableCollectionId: z191.string(),
5466
5475
  resolvedType: ResolvedVariableType,
5467
- valuesByMode: z190.record(VariableValue),
5468
- remote: z190.boolean(),
5469
- description: z190.string(),
5470
- hiddenFromPublishing: z190.boolean(),
5471
- scopes: z190.array(VariableScope),
5472
- codeSyntax: z190.record(z190.any()).optional()
5473
- });
5474
- var VariableMode = z190.object({
5475
- modeId: z190.string(),
5476
- name: z190.string()
5477
- });
5478
- var Collection2 = z190.object({
5479
- id: z190.string(),
5480
- name: z190.string(),
5481
- modes: z190.array(VariableMode),
5482
- defaultModeId: z190.string(),
5483
- remote: z190.boolean(),
5484
- hiddenFromPublishing: z190.boolean()
5485
- });
5486
- var VariablesMapping = z190.object({
5487
- variableCollections: z190.array(z190.string()).min(1),
5488
- variableMode: z190.string().min(1),
5489
- supernovaBrand: z190.string().min(1),
5490
- supernovaTheme: z190.string().min(1).optional().or(z190.null())
5491
- });
5492
- var FormattedCollections = z190.object({
5493
- variables: z190.record(z190.string(), Variable),
5494
- variableCollections: z190.record(z190.string(), Collection2),
5495
- mappings: z190.array(VariablesMapping).optional(),
5496
- variablesOrder: z190.string().array().optional()
5476
+ valuesByMode: z191.record(VariableValue),
5477
+ remote: z191.boolean(),
5478
+ description: z191.string(),
5479
+ hiddenFromPublishing: z191.boolean(),
5480
+ scopes: z191.array(VariableScope),
5481
+ codeSyntax: z191.record(z191.any()).optional()
5482
+ });
5483
+ var VariableMode = z191.object({
5484
+ modeId: z191.string(),
5485
+ name: z191.string()
5486
+ });
5487
+ var Collection2 = z191.object({
5488
+ id: z191.string(),
5489
+ name: z191.string(),
5490
+ modes: z191.array(VariableMode),
5491
+ defaultModeId: z191.string(),
5492
+ remote: z191.boolean(),
5493
+ hiddenFromPublishing: z191.boolean()
5494
+ });
5495
+ var VariablesMapping = z191.object({
5496
+ variableCollections: z191.array(z191.string()).min(1),
5497
+ variableMode: z191.string().min(1),
5498
+ supernovaBrand: z191.string().min(1),
5499
+ supernovaTheme: z191.string().min(1).optional().or(z191.null())
5500
+ });
5501
+ var FormattedCollections = z191.object({
5502
+ variables: z191.record(z191.string(), Variable),
5503
+ variableCollections: z191.record(z191.string(), Collection2),
5504
+ mappings: z191.array(VariablesMapping).optional(),
5505
+ variablesOrder: z191.string().array().optional()
5497
5506
  });
5498
5507
 
5499
5508
  // src/api/dto/design-systems/import-job.ts
5500
- import { z as z191 } from "zod";
5501
- var DTOImportJob = z191.object({
5502
- id: z191.string(),
5503
- designSystemId: z191.string(),
5504
- designSystemVersionId: z191.string(),
5505
- operation: z191.literal("Import"),
5506
- createdAt: z191.coerce.date(),
5507
- stateChangedAt: z191.coerce.date(),
5509
+ import { z as z192 } from "zod";
5510
+ var DTOImportJob = z192.object({
5511
+ id: z192.string(),
5512
+ designSystemId: z192.string(),
5513
+ designSystemVersionId: z192.string(),
5514
+ operation: z192.literal("Import"),
5515
+ createdAt: z192.coerce.date(),
5516
+ stateChangedAt: z192.coerce.date(),
5508
5517
  state: ImportJobState,
5509
- sourceIds: z191.string().array()
5518
+ sourceIds: z192.string().array()
5510
5519
  });
5511
- var DTOImportJobResponse = z191.object({
5520
+ var DTOImportJobResponse = z192.object({
5512
5521
  job: DTOImportJob
5513
5522
  });
5514
- var DTOBffFigmaImportRequestBody = z191.object({
5515
- type: z191.literal(DataSourceRemoteType.Enum.Figma),
5516
- brandPersistentId: z191.string().optional(),
5517
- fileId: z191.string(),
5523
+ var DTOBffFigmaImportRequestBody = z192.object({
5524
+ type: z192.literal(DataSourceRemoteType.Enum.Figma),
5525
+ brandPersistentId: z192.string().optional(),
5526
+ fileId: z192.string(),
5518
5527
  scope: DataSourceFigmaScope,
5519
5528
  autoImportMode: DataSourceAutoImportMode
5520
5529
  });
5521
- var DTOBffUploadImportRequestBody = z191.object({
5522
- type: z191.enum([DataSourceRemoteType.Enum.FigmaVariablesPlugin, "Upload"]).transform((v) => DataSourceRemoteType.Enum.FigmaVariablesPlugin),
5523
- brandPersistentId: z191.string().optional(),
5524
- sourceName: z191.string().optional(),
5525
- remoteId: z191.string(),
5526
- isTokenTypeSplitEnabled: z191.boolean().optional(),
5527
- payload: z191.any()
5530
+ var DTOBffUploadImportRequestBody = z192.object({
5531
+ type: z192.enum([DataSourceRemoteType.Enum.FigmaVariablesPlugin, "Upload"]).transform((v) => DataSourceRemoteType.Enum.FigmaVariablesPlugin),
5532
+ brandPersistentId: z192.string().optional(),
5533
+ sourceName: z192.string().optional(),
5534
+ remoteId: z192.string(),
5535
+ isTokenTypeSplitEnabled: z192.boolean().optional(),
5536
+ payload: z192.any()
5528
5537
  });
5529
- var DTOBffImportRequestBody = z191.discriminatedUnion("type", [
5538
+ var DTOBffImportRequestBody = z192.discriminatedUnion("type", [
5530
5539
  DTOBffFigmaImportRequestBody,
5531
5540
  DTOBffUploadImportRequestBody
5532
5541
  ]);
5533
5542
 
5534
5543
  // src/api/dto/design-systems/stats.ts
5535
- import { z as z192 } from "zod";
5536
- var DTODesignSystemVersionStats = z192.object({
5537
- tokens: z192.number(),
5538
- designSystemComponents: z192.number(),
5539
- assets: z192.number(),
5540
- documentationPages: z192.number()
5544
+ import { z as z193 } from "zod";
5545
+ var DTODesignSystemVersionStats = z193.object({
5546
+ tokens: z193.number(),
5547
+ designSystemComponents: z193.number(),
5548
+ assets: z193.number(),
5549
+ documentationPages: z193.number()
5541
5550
  });
5542
- var DTODesignSystemVersionStatsQuery = z192.object({
5543
- brandId: z192.string().optional()
5551
+ var DTODesignSystemVersionStatsQuery = z193.object({
5552
+ brandId: z193.string().optional()
5544
5553
  });
5545
5554
 
5546
5555
  // src/api/dto/design-systems/version.ts
5547
- import { z as z203 } from "zod";
5556
+ import { z as z204 } from "zod";
5548
5557
 
5549
5558
  // src/api/payloads/design-systems/brand.ts
5550
- import { z as z193 } from "zod";
5551
- var DTOCreateBrandInput = z193.object({
5552
- persistentId: z193.string().uuid(),
5553
- meta: z193.object({
5554
- name: z193.string(),
5555
- description: z193.string()
5559
+ import { z as z194 } from "zod";
5560
+ var DTOCreateBrandInput = z194.object({
5561
+ persistentId: z194.string().uuid(),
5562
+ meta: z194.object({
5563
+ name: z194.string(),
5564
+ description: z194.string()
5556
5565
  })
5557
5566
  });
5558
5567
 
5559
5568
  // src/api/payloads/design-systems/update-design-system.ts
5560
- import { z as z194 } from "zod";
5569
+ import { z as z195 } from "zod";
5561
5570
  var DTODesignSystemUpdateInput = DesignSystem.partial().omit({
5562
5571
  id: true,
5563
5572
  workspaceId: true,
@@ -5569,40 +5578,40 @@ var DTODesignSystemUpdateInput = DesignSystem.partial().omit({
5569
5578
  }).extend({
5570
5579
  meta: ObjectMeta.partial().optional()
5571
5580
  });
5572
- var DTODesignSystemUpdateAccessModeInput = z194.object({
5581
+ var DTODesignSystemUpdateAccessModeInput = z195.object({
5573
5582
  accessMode: DesignSystemAccessMode,
5574
- retain: z194.object({
5575
- userIds: z194.string().array(),
5576
- inviteIds: z194.string().array()
5583
+ retain: z195.object({
5584
+ userIds: z195.string().array(),
5585
+ inviteIds: z195.string().array()
5577
5586
  }).optional()
5578
5587
  });
5579
5588
 
5580
5589
  // src/api/payloads/design-systems/version.ts
5581
- import { z as z195 } from "zod";
5582
- var ObjectMeta2 = z195.object({
5583
- name: z195.string().max(150).optional(),
5584
- description: z195.string().max(2e3).optional()
5590
+ import { z as z196 } from "zod";
5591
+ var ObjectMeta2 = z196.object({
5592
+ name: z196.string().max(150).optional(),
5593
+ description: z196.string().max(2e3).optional()
5585
5594
  });
5586
5595
  function validateDesignSystemVersion(version) {
5587
5596
  const urlCompliantRegex = /^[a-zA-Z0-9+.-]+$/;
5588
5597
  return urlCompliantRegex.test(version);
5589
5598
  }
5590
- var DTOCreateVersionInput = z195.object({
5599
+ var DTOCreateVersionInput = z196.object({
5591
5600
  meta: ObjectMeta2,
5592
- version: z195.string().refine(validateDesignSystemVersion, {
5601
+ version: z196.string().refine(validateDesignSystemVersion, {
5593
5602
  message: "Invalid semantic versioning format"
5594
5603
  }),
5595
- changeLog: z195.string().optional()
5604
+ changeLog: z196.string().optional()
5596
5605
  });
5597
- var DTOUpdateVersionInput = z195.object({
5606
+ var DTOUpdateVersionInput = z196.object({
5598
5607
  meta: ObjectMeta2,
5599
- version: z195.string(),
5608
+ version: z196.string(),
5600
5609
  // required for PUT, but not editable
5601
- changeLog: z195.string()
5610
+ changeLog: z196.string()
5602
5611
  });
5603
5612
 
5604
5613
  // src/api/payloads/documentation/block-definitions.ts
5605
- import { z as z196 } from "zod";
5614
+ import { z as z197 } from "zod";
5606
5615
 
5607
5616
  // src/api/dto/documentation/block-definition.ts
5608
5617
  var DTOPageBlockDefinitionBehavior = PageBlockDefinitionBehavior;
@@ -5614,60 +5623,60 @@ var DTOPageBlockColorV2 = PageBlockColorV2;
5614
5623
  var DTOPageBlockDefinition = PageBlockDefinition;
5615
5624
 
5616
5625
  // src/api/payloads/documentation/block-definitions.ts
5617
- var DTOGetBlockDefinitionsOutput = z196.object({
5618
- definitions: z196.array(DTOPageBlockDefinition)
5626
+ var DTOGetBlockDefinitionsOutput = z197.object({
5627
+ definitions: z197.array(DTOPageBlockDefinition)
5619
5628
  });
5620
5629
 
5621
5630
  // src/api/payloads/documentation/design-data-doc-diff.ts
5622
- import { z as z197 } from "zod";
5623
- var DTODocumentationPublishTypeQueryParams = z197.object({
5624
- environment: z197.enum(["Live", "Preview"])
5631
+ import { z as z198 } from "zod";
5632
+ var DTODocumentationPublishTypeQueryParams = z198.object({
5633
+ environment: z198.enum(["Live", "Preview"])
5625
5634
  });
5626
5635
 
5627
5636
  // src/api/payloads/export/pipeline.ts
5628
- import { z as z198 } from "zod";
5629
- var DTOPipelineCreateBody = z198.object({
5630
- name: z198.string(),
5631
- exporterId: z198.string(),
5632
- designSystemId: z198.string(),
5633
- isEnabled: z198.boolean(),
5637
+ import { z as z199 } from "zod";
5638
+ var DTOPipelineCreateBody = z199.object({
5639
+ name: z199.string(),
5640
+ exporterId: z199.string(),
5641
+ designSystemId: z199.string(),
5642
+ isEnabled: z199.boolean(),
5634
5643
  eventType: PipelineEventType,
5635
- brandPersistentId: z198.string().optional(),
5636
- themePersistentId: z198.string().optional(),
5637
- themePersistentIds: z198.string().array().optional(),
5644
+ brandPersistentId: z199.string().optional(),
5645
+ themePersistentId: z199.string().optional(),
5646
+ themePersistentIds: z199.string().array().optional(),
5638
5647
  destination: PipelineDestinationType.optional(),
5639
5648
  gitQuery: GitObjectsQuery,
5640
- destinations: z198.object({
5649
+ destinations: z199.object({
5641
5650
  s3: ExporterDestinationS3.nullish(),
5642
5651
  azure: ExporterDestinationAzure.nullish(),
5643
5652
  bitbucket: ExporterDestinationBitbucket.nullish(),
5644
5653
  github: ExporterDestinationGithub.nullish(),
5645
5654
  gitlab: ExporterDestinationGitlab.nullish(),
5646
5655
  documentation: ExporterDestinationDocs.nullish(),
5647
- webhookUrl: z198.string().nullish()
5656
+ webhookUrl: z199.string().nullish()
5648
5657
  })
5649
5658
  });
5650
5659
  var DTOPipelineUpdateBody = DTOPipelineCreateBody.extend({
5651
- id: z198.string()
5660
+ id: z199.string()
5652
5661
  });
5653
- var DTOPipelineTriggerBody = z198.object({
5654
- designSystemVersionId: z198.string()
5662
+ var DTOPipelineTriggerBody = z199.object({
5663
+ designSystemVersionId: z199.string()
5655
5664
  });
5656
5665
 
5657
5666
  // src/api/payloads/liveblocks/auth.ts
5658
- import { z as z199 } from "zod";
5659
- var DTOLiveblocksAuthRequest = z199.object({
5660
- room: z199.string().optional()
5667
+ import { z as z200 } from "zod";
5668
+ var DTOLiveblocksAuthRequest = z200.object({
5669
+ room: z200.string().optional()
5661
5670
  });
5662
5671
 
5663
5672
  // src/api/payloads/users/notifications/notification-settings.ts
5664
- import { z as z200 } from "zod";
5665
- var DTOUpdateUserNotificationSettingsPayload = z200.object({
5673
+ import { z as z201 } from "zod";
5674
+ var DTOUpdateUserNotificationSettingsPayload = z201.object({
5666
5675
  notificationSettings: UserNotificationSettings
5667
5676
  });
5668
- var DTOUserNotificationSettingsResponse = z200.object({
5669
- userId: z200.string(),
5670
- workspaceId: z200.string(),
5677
+ var DTOUserNotificationSettingsResponse = z201.object({
5678
+ userId: z201.string(),
5679
+ workspaceId: z201.string(),
5671
5680
  notificationSettings: UserNotificationSettings
5672
5681
  });
5673
5682
 
@@ -5675,7 +5684,7 @@ var DTOUserNotificationSettingsResponse = z200.object({
5675
5684
  var DTOUserProfileUpdatePayload = UserProfileUpdate;
5676
5685
 
5677
5686
  // src/api/payloads/workspaces/workspace-configuration.ts
5678
- import { z as z201 } from "zod";
5687
+ import { z as z202 } from "zod";
5679
5688
  var prohibitedSsoKeys = ["providerId", "metadataXml", "emailDomains"];
5680
5689
  function validateSsoPayload(ssoPayload) {
5681
5690
  const keys = [];
@@ -5698,21 +5707,21 @@ function validateSsoPayload(ssoPayload) {
5698
5707
  keys
5699
5708
  };
5700
5709
  }
5701
- var NpmRegistryInput = z201.object({
5702
- enabledScopes: z201.array(z201.string()),
5703
- customRegistryUrl: z201.string().optional(),
5704
- bypassProxy: z201.boolean().optional(),
5705
- npmProxyRegistryConfigId: z201.string().optional(),
5706
- npmProxyVersion: z201.number().optional(),
5707
- registryType: z201.string(),
5708
- authType: z201.string(),
5709
- authHeaderName: z201.string(),
5710
- authHeaderValue: z201.string(),
5711
- accessToken: z201.string(),
5712
- username: z201.string(),
5713
- password: z201.string()
5714
- });
5715
- var WorkspaceConfigurationPayload = z201.object({
5710
+ var NpmRegistryInput = z202.object({
5711
+ enabledScopes: z202.array(z202.string()),
5712
+ customRegistryUrl: z202.string().optional(),
5713
+ bypassProxy: z202.boolean().optional(),
5714
+ npmProxyRegistryConfigId: z202.string().optional(),
5715
+ npmProxyVersion: z202.number().optional(),
5716
+ registryType: z202.string(),
5717
+ authType: z202.string(),
5718
+ authHeaderName: z202.string(),
5719
+ authHeaderValue: z202.string(),
5720
+ accessToken: z202.string(),
5721
+ username: z202.string(),
5722
+ password: z202.string()
5723
+ });
5724
+ var WorkspaceConfigurationPayload = z202.object({
5716
5725
  ipWhitelist: WorkspaceIpSettings.partial().optional(),
5717
5726
  sso: SsoProvider.partial().optional(),
5718
5727
  npmRegistrySettings: NpmRegistryInput.partial().optional(),
@@ -5720,218 +5729,218 @@ var WorkspaceConfigurationPayload = z201.object({
5720
5729
  });
5721
5730
 
5722
5731
  // src/api/payloads/workspaces/workspace-integrations.ts
5723
- import { z as z202 } from "zod";
5724
- var DTOWorkspaceIntegrationOauthInput = z202.object({
5732
+ import { z as z203 } from "zod";
5733
+ var DTOWorkspaceIntegrationOauthInput = z203.object({
5725
5734
  type: IntegrationType
5726
5735
  });
5727
- var DTOWorkspaceIntegrationPATInput = z202.object({
5728
- userId: z202.string(),
5736
+ var DTOWorkspaceIntegrationPATInput = z203.object({
5737
+ userId: z203.string(),
5729
5738
  type: IntegrationType,
5730
5739
  token: IntegrationToken
5731
5740
  });
5732
- var DTOWorkspaceIntegrationGetGitObjectsInput = z202.object({
5733
- organization: z202.string().optional(),
5741
+ var DTOWorkspaceIntegrationGetGitObjectsInput = z203.object({
5742
+ organization: z203.string().optional(),
5734
5743
  // Azure Organization | Bitbucket Workspace slug | Gitlab Group and Sub-Groups | Github Account (User or Organization)
5735
- project: z202.string().optional(),
5744
+ project: z203.string().optional(),
5736
5745
  // Only for Bitbucket and Azure
5737
- repository: z202.string().optional(),
5746
+ repository: z203.string().optional(),
5738
5747
  // For all providers. Pay attention for Gitlab, they call repositories "projects".
5739
- branch: z202.string().optional(),
5748
+ branch: z203.string().optional(),
5740
5749
  // For all providers, useful for PR creations.
5741
- user: z202.string().optional()
5750
+ user: z203.string().optional()
5742
5751
  // Only for Gitlab User Repositories
5743
5752
  });
5744
5753
 
5745
5754
  // src/api/dto/design-systems/version.ts
5746
- var DTODesignSystemVersion = z203.object({
5747
- id: z203.string(),
5748
- createdAt: z203.coerce.date(),
5755
+ var DTODesignSystemVersion = z204.object({
5756
+ id: z204.string(),
5757
+ createdAt: z204.coerce.date(),
5749
5758
  meta: ObjectMeta,
5750
- version: z203.string(),
5751
- isReadonly: z203.boolean(),
5752
- changeLog: z203.string(),
5753
- designSystemId: z203.string()
5759
+ version: z204.string(),
5760
+ isReadonly: z204.boolean(),
5761
+ changeLog: z204.string(),
5762
+ designSystemId: z204.string()
5754
5763
  });
5755
- var DTODesignSystemVersionsListResponse = z203.object({
5756
- designSystemVersions: z203.array(DTODesignSystemVersion)
5764
+ var DTODesignSystemVersionsListResponse = z204.object({
5765
+ designSystemVersions: z204.array(DTODesignSystemVersion)
5757
5766
  });
5758
- var DTODesignSystemVersionGetResponse = z203.object({
5767
+ var DTODesignSystemVersionGetResponse = z204.object({
5759
5768
  designSystemVersion: DTODesignSystemVersion
5760
5769
  });
5761
- var DTODesignSystemVersionCreationResponse = z203.object({
5770
+ var DTODesignSystemVersionCreationResponse = z204.object({
5762
5771
  meta: ObjectMeta,
5763
- version: z203.string(),
5764
- changeLog: z203.string(),
5765
- isReadOnly: z203.boolean(),
5766
- designSystemId: z203.string(),
5767
- jobId: z203.string()
5768
- });
5769
- var VersionSQSPayload = z203.object({
5770
- jobId: z203.string(),
5771
- designSystemId: z203.string(),
5772
+ version: z204.string(),
5773
+ changeLog: z204.string(),
5774
+ isReadOnly: z204.boolean(),
5775
+ designSystemId: z204.string(),
5776
+ jobId: z204.string()
5777
+ });
5778
+ var VersionSQSPayload = z204.object({
5779
+ jobId: z204.string(),
5780
+ designSystemId: z204.string(),
5772
5781
  input: DTOCreateVersionInput
5773
5782
  });
5774
- var DTODesignSystemVersionJobsResponse = z203.object({
5775
- jobs: z203.array(VersionCreationJob)
5783
+ var DTODesignSystemVersionJobsResponse = z204.object({
5784
+ jobs: z204.array(VersionCreationJob)
5776
5785
  });
5777
- var DTODesignSystemVersionJobStatusResponse = z203.object({
5786
+ var DTODesignSystemVersionJobStatusResponse = z204.object({
5778
5787
  job: VersionCreationJob
5779
5788
  });
5780
5789
 
5781
5790
  // src/api/dto/design-systems/view.ts
5782
- import { z as z204 } from "zod";
5783
- var DTOElementViewColumnSharedAttributes = z204.object({
5784
- id: z204.string(),
5785
- persistentId: z204.string(),
5786
- width: z204.number()
5791
+ import { z as z205 } from "zod";
5792
+ var DTOElementViewColumnSharedAttributes = z205.object({
5793
+ id: z205.string(),
5794
+ persistentId: z205.string(),
5795
+ width: z205.number()
5787
5796
  });
5788
5797
  var DTOElementViewBasePropertyColumn = DTOElementViewColumnSharedAttributes.extend({
5789
- type: z204.literal("BaseProperty"),
5798
+ type: z205.literal("BaseProperty"),
5790
5799
  basePropertyType: ElementViewBaseColumnType
5791
5800
  });
5792
5801
  var DTOElementViewPropertyDefinitionColumn = DTOElementViewColumnSharedAttributes.extend({
5793
- type: z204.literal("PropertyDefinition"),
5794
- propertyDefinitionId: z204.string()
5802
+ type: z205.literal("PropertyDefinition"),
5803
+ propertyDefinitionId: z205.string()
5795
5804
  });
5796
5805
  var DTOElementViewThemeColumn = DTOElementViewColumnSharedAttributes.extend({
5797
- type: z204.literal("Theme"),
5798
- themeId: z204.string()
5806
+ type: z205.literal("Theme"),
5807
+ themeId: z205.string()
5799
5808
  });
5800
- var DTOElementViewColumn = z204.discriminatedUnion("type", [
5809
+ var DTOElementViewColumn = z205.discriminatedUnion("type", [
5801
5810
  DTOElementViewBasePropertyColumn,
5802
5811
  DTOElementViewPropertyDefinitionColumn,
5803
5812
  DTOElementViewThemeColumn
5804
5813
  ]);
5805
- var DTOElementView = z204.object({
5814
+ var DTOElementView = z205.object({
5806
5815
  meta: ObjectMeta,
5807
- persistentId: z204.string(),
5816
+ persistentId: z205.string(),
5808
5817
  targetElementType: ElementPropertyTargetType,
5809
- id: z204.string(),
5810
- isDefault: z204.boolean(),
5811
- columns: z204.array(DTOElementViewColumn)
5818
+ id: z205.string(),
5819
+ isDefault: z205.boolean(),
5820
+ columns: z205.array(DTOElementViewColumn)
5812
5821
  });
5813
- var DTOElementViewsListResponse = z204.object({
5814
- elementDataViews: z204.array(DTOElementView)
5822
+ var DTOElementViewsListResponse = z205.object({
5823
+ elementDataViews: z205.array(DTOElementView)
5815
5824
  });
5816
5825
 
5817
5826
  // src/api/dto/workspaces/git.ts
5818
- import { z as z205 } from "zod";
5819
- var DTOGitOrganization = z205.object({
5820
- id: z205.string(),
5821
- name: z205.string(),
5822
- url: z205.string(),
5823
- slug: z205.string()
5827
+ import { z as z206 } from "zod";
5828
+ var DTOGitOrganization = z206.object({
5829
+ id: z206.string(),
5830
+ name: z206.string(),
5831
+ url: z206.string(),
5832
+ slug: z206.string()
5824
5833
  });
5825
- var DTOGitProject = z205.object({
5826
- id: z205.string(),
5827
- name: z205.string(),
5828
- url: z205.string(),
5829
- slug: z205.string()
5834
+ var DTOGitProject = z206.object({
5835
+ id: z206.string(),
5836
+ name: z206.string(),
5837
+ url: z206.string(),
5838
+ slug: z206.string()
5830
5839
  });
5831
- var DTOGitRepository = z205.object({
5832
- id: z205.string(),
5833
- name: z205.string(),
5834
- url: z205.string(),
5835
- slug: z205.string(),
5836
- defaultBranch: z205.string().optional()
5840
+ var DTOGitRepository = z206.object({
5841
+ id: z206.string(),
5842
+ name: z206.string(),
5843
+ url: z206.string(),
5844
+ slug: z206.string(),
5845
+ defaultBranch: z206.string().optional()
5837
5846
  });
5838
- var DTOGitBranch = z205.object({
5839
- name: z205.string(),
5840
- lastCommitId: z205.string()
5847
+ var DTOGitBranch = z206.object({
5848
+ name: z206.string(),
5849
+ lastCommitId: z206.string()
5841
5850
  });
5842
5851
 
5843
5852
  // src/api/dto/workspaces/integrations.ts
5844
- import { z as z206 } from "zod";
5853
+ import { z as z207 } from "zod";
5845
5854
  var DTOIntegrationCredentials = IntegrationCredentials.omit({
5846
5855
  accessToken: true,
5847
5856
  refreshToken: true
5848
5857
  });
5849
- var DTOIntegration = z206.object({
5850
- id: z206.string(),
5851
- workspaceId: z206.string(),
5858
+ var DTOIntegration = z207.object({
5859
+ id: z207.string(),
5860
+ workspaceId: z207.string(),
5852
5861
  type: ExtendedIntegrationType,
5853
- createdAt: z206.coerce.date(),
5854
- integrationCredentials: z206.array(DTOIntegrationCredentials).optional(),
5855
- integrationDesignSystems: z206.array(IntegrationDesignSystem).optional()
5862
+ createdAt: z207.coerce.date(),
5863
+ integrationCredentials: z207.array(DTOIntegrationCredentials).optional(),
5864
+ integrationDesignSystems: z207.array(IntegrationDesignSystem).optional()
5856
5865
  });
5857
- var DTOIntegrationOAuthGetResponse = z206.object({
5858
- url: z206.string()
5866
+ var DTOIntegrationOAuthGetResponse = z207.object({
5867
+ url: z207.string()
5859
5868
  });
5860
- var DTOIntegrationPostResponse = z206.object({
5869
+ var DTOIntegrationPostResponse = z207.object({
5861
5870
  integration: DTOIntegration
5862
5871
  });
5863
- var DTOIntegrationsGetListResponse = z206.object({
5872
+ var DTOIntegrationsGetListResponse = z207.object({
5864
5873
  integrations: DTOIntegration.array()
5865
5874
  });
5866
5875
 
5867
5876
  // src/api/dto/workspaces/invitations.ts
5868
- import { z as z207 } from "zod";
5869
- var DTOWorkspaceInvitationInput = z207.object({
5870
- email: z207.string().email(),
5877
+ import { z as z208 } from "zod";
5878
+ var DTOWorkspaceInvitationInput = z208.object({
5879
+ email: z208.string().email(),
5871
5880
  role: WorkspaceRoleSchema
5872
5881
  });
5873
- var DTOWorkspaceInvitationsListInput = z207.object({
5882
+ var DTOWorkspaceInvitationsListInput = z208.object({
5874
5883
  invites: DTOWorkspaceInvitationInput.array().max(100),
5875
- designSystemId: z207.string().optional()
5884
+ designSystemId: z208.string().optional()
5876
5885
  });
5877
- var DTOWorkspaceInvitationsResponse = z207.object({
5886
+ var DTOWorkspaceInvitationsResponse = z208.object({
5878
5887
  invitations: WorkspaceInvitation.array()
5879
5888
  });
5880
- var DTOWorkspaceInviteUpdate = z207.object({
5889
+ var DTOWorkspaceInviteUpdate = z208.object({
5881
5890
  role: WorkspaceRoleSchema
5882
5891
  });
5883
- var DTOWorkspaceInvitationUpdateResponse = z207.object({
5892
+ var DTOWorkspaceInvitationUpdateResponse = z208.object({
5884
5893
  invitation: WorkspaceInvitation
5885
5894
  });
5886
5895
 
5887
5896
  // src/api/dto/workspaces/membership.ts
5888
- import { z as z210 } from "zod";
5897
+ import { z as z211 } from "zod";
5889
5898
 
5890
5899
  // src/api/dto/workspaces/workspace.ts
5891
- import { z as z209 } from "zod";
5900
+ import { z as z210 } from "zod";
5892
5901
 
5893
5902
  // src/api/dto/workspaces/npm-registry.ts
5894
- import { z as z208 } from "zod";
5903
+ import { z as z209 } from "zod";
5895
5904
  var DTONpmRegistryConfigConstants = {
5896
5905
  passwordPlaceholder: "redacted"
5897
5906
  };
5898
- var DTONpmRegistryConfig = z208.object({
5907
+ var DTONpmRegistryConfig = z209.object({
5899
5908
  // Registry basic configuration
5900
5909
  registryType: NpmRegistryType,
5901
- registryUrl: z208.string(),
5902
- customRegistryUrl: z208.string().optional(),
5910
+ registryUrl: z209.string(),
5911
+ customRegistryUrl: z209.string().optional(),
5903
5912
  // URL of Supernova NPM packages proxy
5904
- proxyUrl: z208.string(),
5913
+ proxyUrl: z209.string(),
5905
5914
  // Auth configuration
5906
5915
  authType: NpmRegistryAuthType,
5907
- accessToken: z208.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
5908
- username: z208.string().optional(),
5909
- password: z208.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
5916
+ accessToken: z209.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
5917
+ username: z209.string().optional(),
5918
+ password: z209.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
5910
5919
  // NPM package scopes for whih the proxy should be enabled
5911
- enabledScopes: z208.array(z208.string()),
5920
+ enabledScopes: z209.array(z209.string()),
5912
5921
  // True if client should bypass Supernova proxy and connect directly to the registry
5913
5922
  // (e.g. when the NPM registry is behind a VPN or firewall which prevents Supernova from accessing it)
5914
- bypassProxy: z208.boolean()
5923
+ bypassProxy: z209.boolean()
5915
5924
  });
5916
5925
 
5917
5926
  // src/api/dto/workspaces/workspace.ts
5918
5927
  var DTOWorkspaceProfile = WorkspaceProfile;
5919
- var DTOWorkspace = z209.object({
5920
- id: z209.string(),
5928
+ var DTOWorkspace = z210.object({
5929
+ id: z210.string(),
5921
5930
  profile: DTOWorkspaceProfile,
5922
5931
  subscription: Subscription,
5923
5932
  npmRegistry: DTONpmRegistryConfig.optional()
5924
5933
  });
5925
- var DTOWorkspaceCreateInput = z209.object({
5926
- name: z209.string()
5934
+ var DTOWorkspaceCreateInput = z210.object({
5935
+ name: z210.string()
5927
5936
  });
5928
- var DTOWorkspaceResponse = z209.object({
5937
+ var DTOWorkspaceResponse = z210.object({
5929
5938
  workspace: DTOWorkspace
5930
5939
  });
5931
5940
 
5932
5941
  // src/api/dto/workspaces/membership.ts
5933
- var DTOWorkspaceRole = z210.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Contributor"]);
5934
- var DTOUserWorkspaceMembership = z210.object({
5942
+ var DTOWorkspaceRole = z211.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Contributor"]);
5943
+ var DTOUserWorkspaceMembership = z211.object({
5935
5944
  // Workspace the user is a member of
5936
5945
  workspace: DTOWorkspace,
5937
5946
  // Assigned role the user has in the workspace
@@ -5941,26 +5950,26 @@ var DTOUserWorkspaceMembership = z210.object({
5941
5950
  // when a workspace's subscription is downgraded to free tier
5942
5951
  effectiveRole: DTOWorkspaceRole
5943
5952
  });
5944
- var DTOWorkspaceMember = z210.object({
5953
+ var DTOWorkspaceMember = z211.object({
5945
5954
  user: User,
5946
5955
  role: WorkspaceRoleSchema,
5947
5956
  effectiveRole: WorkspaceRoleSchema
5948
5957
  });
5949
- var DTOUserWorkspaceMembershipsResponse = z210.object({
5950
- membership: z210.array(DTOUserWorkspaceMembership)
5958
+ var DTOUserWorkspaceMembershipsResponse = z211.object({
5959
+ membership: z211.array(DTOUserWorkspaceMembership)
5951
5960
  });
5952
- var DTOWorkspaceMembersListResponse = z210.object({
5953
- members: z210.array(DTOWorkspaceMember)
5961
+ var DTOWorkspaceMembersListResponse = z211.object({
5962
+ members: z211.array(DTOWorkspaceMember)
5954
5963
  });
5955
5964
 
5956
5965
  // src/api/dto/bff/app-bootstrap-data.ts
5957
- var DTOAppBootstrapDataQuery = z211.object({
5958
- preferredWorkspaceId: z211.string().optional(),
5959
- preferredDesignSystemId: z211.string().optional(),
5960
- preferredVersionId: z211.string().optional(),
5961
- preferredBrandId: z211.string().optional()
5966
+ var DTOAppBootstrapDataQuery = z212.object({
5967
+ preferredWorkspaceId: z212.string().optional(),
5968
+ preferredDesignSystemId: z212.string().optional(),
5969
+ preferredVersionId: z212.string().optional(),
5970
+ preferredBrandId: z212.string().optional()
5962
5971
  });
5963
- var DTOAppBootstrapDataResponse = z211.object({
5972
+ var DTOAppBootstrapDataResponse = z212.object({
5964
5973
  workspaceMembership: DTOUserWorkspaceMembership.optional(),
5965
5974
  designSystem: DTODesignSystem.optional(),
5966
5975
  version: DTODesignSystemVersion.optional(),
@@ -5968,88 +5977,88 @@ var DTOAppBootstrapDataResponse = z211.object({
5968
5977
  });
5969
5978
 
5970
5979
  // src/api/dto/collections/token-collection.ts
5971
- import { z as z212 } from "zod";
5972
- var DTOTokenCollection = z212.object({
5973
- id: z212.string(),
5974
- persistentId: z212.string(),
5975
- designSystemVersionId: z212.string(),
5980
+ import { z as z213 } from "zod";
5981
+ var DTOTokenCollection = z213.object({
5982
+ id: z213.string(),
5983
+ persistentId: z213.string(),
5984
+ designSystemVersionId: z213.string(),
5976
5985
  meta: ObjectMeta,
5977
5986
  backgroundColor: ColorTokenInlineData.optional(),
5978
- elementPropertyOptionId: z212.string(),
5979
- createdAt: z212.coerce.date(),
5980
- updatedAt: z212.coerce.date(),
5987
+ elementPropertyOptionId: z213.string(),
5988
+ createdAt: z213.coerce.date(),
5989
+ updatedAt: z213.coerce.date(),
5981
5990
  origin: CollectionOrigin.optional()
5982
5991
  });
5983
- var DTOTokenCollectionsListReponse = z212.object({
5992
+ var DTOTokenCollectionsListReponse = z213.object({
5984
5993
  collections: DTOTokenCollection.array()
5985
5994
  });
5986
5995
 
5987
5996
  // src/api/dto/design-tokens/design-token.ts
5988
- import { z as z213 } from "zod";
5997
+ import { z as z214 } from "zod";
5989
5998
  var DTODesignToken = DesignTokenTypedData.and(
5990
- z213.object({
5991
- id: z213.string(),
5992
- persistentId: z213.string(),
5993
- designSystemVersionId: z213.string(),
5999
+ z214.object({
6000
+ id: z214.string(),
6001
+ persistentId: z214.string(),
6002
+ designSystemVersionId: z214.string(),
5994
6003
  meta: ObjectMeta,
5995
6004
  originStyle: DesignTokenOrigin.optional(),
5996
- brandId: z213.string(),
5997
- collectionId: z213.string().optional(),
5998
- updatedAt: z213.coerce.date()
6005
+ brandId: z214.string(),
6006
+ collectionId: z214.string().optional(),
6007
+ updatedAt: z214.coerce.date()
5999
6008
  })
6000
6009
  );
6001
- var DTODesignTokenListResponse = z213.object({
6010
+ var DTODesignTokenListResponse = z214.object({
6002
6011
  tokens: DTODesignToken.array()
6003
6012
  });
6004
- var DTODesignTokenResponse = z213.object({
6013
+ var DTODesignTokenResponse = z214.object({
6005
6014
  token: DTODesignToken
6006
6015
  });
6007
- var DTODesignTokenGroup = z213.object({
6008
- id: z213.string(),
6016
+ var DTODesignTokenGroup = z214.object({
6017
+ id: z214.string(),
6009
6018
  tokenType: DesignTokenType,
6010
- persistentId: z213.string(),
6011
- isRoot: z213.boolean(),
6012
- brandId: z213.string(),
6019
+ persistentId: z214.string(),
6020
+ isRoot: z214.boolean(),
6021
+ brandId: z214.string(),
6013
6022
  meta: ObjectMeta,
6014
- childrenIds: z213.string().array()
6023
+ childrenIds: z214.string().array()
6015
6024
  });
6016
- var DTODesignTokenGroupListResponse = z213.object({
6025
+ var DTODesignTokenGroupListResponse = z214.object({
6017
6026
  groups: DTODesignTokenGroup.array()
6018
6027
  });
6019
- var DTODesignTokenGroupResponse = z213.object({
6028
+ var DTODesignTokenGroupResponse = z214.object({
6020
6029
  group: DTODesignTokenGroup
6021
6030
  });
6022
6031
  var DTODesignTokenCreatePayload = DesignTokenTypedData.and(
6023
- z213.object({
6024
- persistentId: z213.string(),
6032
+ z214.object({
6033
+ persistentId: z214.string(),
6025
6034
  meta: ObjectMeta,
6026
- brandId: z213.string(),
6027
- groupPersistentId: z213.string().optional()
6035
+ brandId: z214.string(),
6036
+ groupPersistentId: z214.string().optional()
6028
6037
  })
6029
6038
  );
6030
- var DTODesignTokenGroupCreatePayload = z213.object({
6031
- persistentId: z213.string(),
6039
+ var DTODesignTokenGroupCreatePayload = z214.object({
6040
+ persistentId: z214.string(),
6032
6041
  meta: ObjectMeta,
6033
- brandId: z213.string(),
6034
- parentId: z213.string().optional(),
6042
+ brandId: z214.string(),
6043
+ parentId: z214.string().optional(),
6035
6044
  tokenType: DesignTokenType,
6036
- childrenIds: z213.string().array()
6045
+ childrenIds: z214.string().array()
6037
6046
  });
6038
6047
 
6039
6048
  // src/api/dto/documentation/anchor.ts
6040
- import { z as z214 } from "zod";
6049
+ import { z as z215 } from "zod";
6041
6050
  var DTODocumentationPageAnchor = DocumentationPageAnchor;
6042
- var DTOGetDocumentationPageAnchorsResponse = z214.object({
6043
- anchors: z214.array(DTODocumentationPageAnchor)
6051
+ var DTOGetDocumentationPageAnchorsResponse = z215.object({
6052
+ anchors: z215.array(DTODocumentationPageAnchor)
6044
6053
  });
6045
6054
 
6046
6055
  // src/api/dto/documentation/approvals.ts
6047
- import { z as z215 } from "zod";
6056
+ import { z as z216 } from "zod";
6048
6057
  var DTODocumentationPageApprovalState = DocumentationPageApproval;
6049
- var DTODocumentationGroupApprovalState = z215.object({
6050
- persistentId: z215.string(),
6051
- groupId: z215.string(),
6052
- designSystemVersionId: z215.string(),
6058
+ var DTODocumentationGroupApprovalState = z216.object({
6059
+ persistentId: z216.string(),
6060
+ groupId: z216.string(),
6061
+ designSystemVersionId: z216.string(),
6053
6062
  approvalState: DocumentationPageApprovalState
6054
6063
  });
6055
6064
 
@@ -6057,68 +6066,68 @@ var DTODocumentationGroupApprovalState = z215.object({
6057
6066
  var DTOPageBlockItemV2 = PageBlockItemV2;
6058
6067
 
6059
6068
  // src/api/dto/documentation/documentation-page-snapshot.ts
6060
- import { z as z220 } from "zod";
6069
+ import { z as z221 } from "zod";
6061
6070
 
6062
6071
  // src/api/dto/elements/documentation/page-v2.ts
6063
- import { z as z219 } from "zod";
6072
+ import { z as z220 } from "zod";
6064
6073
 
6065
6074
  // src/api/dto/elements/documentation/draft-state.ts
6066
- import { z as z217 } from "zod";
6075
+ import { z as z218 } from "zod";
6067
6076
 
6068
6077
  // src/api/dto/elements/documentation/item-configuration-v2.ts
6069
- import { z as z216 } from "zod";
6078
+ import { z as z217 } from "zod";
6070
6079
  var DTODocumentationItemHeaderV2 = DocumentationItemHeaderV2;
6071
- var DTODocumentationItemConfigurationV2 = z216.object({
6072
- showSidebar: z216.boolean(),
6073
- isPrivate: z216.boolean(),
6074
- isHidden: z216.boolean(),
6080
+ var DTODocumentationItemConfigurationV2 = z217.object({
6081
+ showSidebar: z217.boolean(),
6082
+ isPrivate: z217.boolean(),
6083
+ isHidden: z217.boolean(),
6075
6084
  header: DTODocumentationItemHeaderV2
6076
6085
  });
6077
6086
 
6078
6087
  // src/api/dto/elements/documentation/draft-state.ts
6079
- var DTODocumentationDraftChangeType = z217.enum(["Created", "Updated", "Deleted"]);
6080
- var DTODocumentationDraftStateCreated = z217.object({
6081
- changeType: z217.literal(DTODocumentationDraftChangeType.enum.Created)
6082
- });
6083
- var DTODocumentationDraftStateUpdated = z217.object({
6084
- changeType: z217.literal(DTODocumentationDraftChangeType.enum.Updated),
6085
- changes: z217.object({
6086
- previousTitle: z217.string().optional(),
6088
+ var DTODocumentationDraftChangeType = z218.enum(["Created", "Updated", "Deleted"]);
6089
+ var DTODocumentationDraftStateCreated = z218.object({
6090
+ changeType: z218.literal(DTODocumentationDraftChangeType.enum.Created)
6091
+ });
6092
+ var DTODocumentationDraftStateUpdated = z218.object({
6093
+ changeType: z218.literal(DTODocumentationDraftChangeType.enum.Updated),
6094
+ changes: z218.object({
6095
+ previousTitle: z218.string().optional(),
6087
6096
  previousConfiguration: DTODocumentationItemConfigurationV2.optional(),
6088
- previousContentHash: z217.string().optional()
6097
+ previousContentHash: z218.string().optional()
6089
6098
  })
6090
6099
  });
6091
- var DTODocumentationDraftStateDeleted = z217.object({
6092
- changeType: z217.literal(DTODocumentationDraftChangeType.enum.Deleted),
6093
- deletedAt: z217.coerce.date(),
6094
- deletedByUserId: z217.string()
6100
+ var DTODocumentationDraftStateDeleted = z218.object({
6101
+ changeType: z218.literal(DTODocumentationDraftChangeType.enum.Deleted),
6102
+ deletedAt: z218.coerce.date(),
6103
+ deletedByUserId: z218.string()
6095
6104
  });
6096
- var DTODocumentationDraftState = z217.discriminatedUnion("changeType", [
6105
+ var DTODocumentationDraftState = z218.discriminatedUnion("changeType", [
6097
6106
  DTODocumentationDraftStateCreated,
6098
6107
  DTODocumentationDraftStateUpdated,
6099
6108
  DTODocumentationDraftStateDeleted
6100
6109
  ]);
6101
6110
 
6102
6111
  // src/api/dto/elements/documentation/metadata.ts
6103
- import { z as z218 } from "zod";
6104
- var DTODocumentationPublishMetadata = z218.object({
6105
- lastPublishedByUserId: z218.string(),
6106
- lastPublishedAt: z218.coerce.date()
6112
+ import { z as z219 } from "zod";
6113
+ var DTODocumentationPublishMetadata = z219.object({
6114
+ lastPublishedByUserId: z219.string(),
6115
+ lastPublishedAt: z219.coerce.date()
6107
6116
  });
6108
6117
 
6109
6118
  // src/api/dto/elements/documentation/page-v2.ts
6110
- var DTODocumentationPageV2 = z219.object({
6111
- id: z219.string(),
6112
- persistentId: z219.string(),
6113
- designSystemVersionId: z219.string(),
6114
- title: z219.string(),
6119
+ var DTODocumentationPageV2 = z220.object({
6120
+ id: z220.string(),
6121
+ persistentId: z220.string(),
6122
+ designSystemVersionId: z220.string(),
6123
+ title: z220.string(),
6115
6124
  configuration: DTODocumentationItemConfigurationV2,
6116
- shortPersistentId: z219.string(),
6117
- slug: z219.string().optional(),
6118
- userSlug: z219.string().optional(),
6119
- createdAt: z219.coerce.date(),
6120
- updatedAt: z219.coerce.date(),
6121
- path: z219.string(),
6125
+ shortPersistentId: z220.string(),
6126
+ slug: z220.string().optional(),
6127
+ userSlug: z220.string().optional(),
6128
+ createdAt: z220.coerce.date(),
6129
+ updatedAt: z220.coerce.date(),
6130
+ path: z220.string(),
6122
6131
  /** Defined when a page has changed since last publish and can be included into a partial publish */
6123
6132
  draftState: DTODocumentationDraftState.optional(),
6124
6133
  /** Defined if a page was published at least once and contains metadata about last publish */
@@ -6126,215 +6135,215 @@ var DTODocumentationPageV2 = z219.object({
6126
6135
  /** Defines the approval state of the documentation page */
6127
6136
  approvalState: DTODocumentationPageApprovalState.optional(),
6128
6137
  // Backward compatibility
6129
- type: z219.literal("Page")
6138
+ type: z220.literal("Page")
6130
6139
  });
6131
- var DTOCreateDocumentationPageInputV2 = z219.object({
6140
+ var DTOCreateDocumentationPageInputV2 = z220.object({
6132
6141
  // Identifier
6133
- persistentId: z219.string(),
6142
+ persistentId: z220.string(),
6134
6143
  // Page properties
6135
- title: z219.string(),
6144
+ title: z220.string(),
6136
6145
  configuration: DTODocumentationItemConfigurationV2.partial().optional(),
6137
6146
  // Page placement properties
6138
- parentPersistentId: z219.string(),
6139
- afterPersistentId: z219.string().nullish()
6147
+ parentPersistentId: z220.string(),
6148
+ afterPersistentId: z220.string().nullish()
6140
6149
  });
6141
- var DTOUpdateDocumentationPageInputV2 = z219.object({
6150
+ var DTOUpdateDocumentationPageInputV2 = z220.object({
6142
6151
  // Identifier of the group to update
6143
- id: z219.string(),
6152
+ id: z220.string(),
6144
6153
  // Page properties
6145
- title: z219.string().optional(),
6154
+ title: z220.string().optional(),
6146
6155
  configuration: DTODocumentationItemConfigurationV2.partial().optional()
6147
6156
  });
6148
- var DTOMoveDocumentationPageInputV2 = z219.object({
6157
+ var DTOMoveDocumentationPageInputV2 = z220.object({
6149
6158
  // Identifier of the group to update
6150
- id: z219.string(),
6159
+ id: z220.string(),
6151
6160
  // Page placement properties
6152
- parentPersistentId: z219.string(),
6153
- afterPersistentId: z219.string().nullish()
6161
+ parentPersistentId: z220.string(),
6162
+ afterPersistentId: z220.string().nullish()
6154
6163
  });
6155
- var DTODuplicateDocumentationPageInputV2 = z219.object({
6164
+ var DTODuplicateDocumentationPageInputV2 = z220.object({
6156
6165
  // Identifier of the page to duplicate from
6157
- id: z219.string(),
6166
+ id: z220.string(),
6158
6167
  // New page persistent id
6159
- persistentId: z219.string(),
6168
+ persistentId: z220.string(),
6160
6169
  // Page placement properties
6161
- parentPersistentId: z219.string(),
6162
- afterPersistentId: z219.string().nullish()
6170
+ parentPersistentId: z220.string(),
6171
+ afterPersistentId: z220.string().nullish()
6163
6172
  });
6164
- var DTODeleteDocumentationPageInputV2 = z219.object({
6173
+ var DTODeleteDocumentationPageInputV2 = z220.object({
6165
6174
  // Identifier
6166
- id: z219.string()
6175
+ id: z220.string()
6167
6176
  });
6168
- var DTORestoreDocumentationPageInput = z219.object({
6169
- persistentId: z219.string(),
6170
- snapshotId: z219.string().optional()
6177
+ var DTORestoreDocumentationPageInput = z220.object({
6178
+ persistentId: z220.string(),
6179
+ snapshotId: z220.string().optional()
6171
6180
  });
6172
- var DTORestoreDocumentationGroupInput = z219.object({
6173
- persistentId: z219.string(),
6174
- snapshotId: z219.string().optional()
6181
+ var DTORestoreDocumentationGroupInput = z220.object({
6182
+ persistentId: z220.string(),
6183
+ snapshotId: z220.string().optional()
6175
6184
  });
6176
- var DTODocumentationPageApprovalStateChangeInput = z219.object({
6177
- persistentId: z219.string(),
6185
+ var DTODocumentationPageApprovalStateChangeInput = z220.object({
6186
+ persistentId: z220.string(),
6178
6187
  approvalState: DocumentationPageApprovalState.optional()
6179
6188
  });
6180
6189
 
6181
6190
  // src/api/dto/documentation/documentation-page-snapshot.ts
6182
- var DTODocumentationPageSnapshot = z220.object({
6183
- id: z220.string(),
6184
- designSystemVersionId: z220.string(),
6185
- createdAt: z220.string(),
6186
- updatedAt: z220.string(),
6191
+ var DTODocumentationPageSnapshot = z221.object({
6192
+ id: z221.string(),
6193
+ designSystemVersionId: z221.string(),
6194
+ createdAt: z221.string(),
6195
+ updatedAt: z221.string(),
6187
6196
  documentationPage: DTODocumentationPageV2,
6188
- pageContentHash: z220.string(),
6197
+ pageContentHash: z221.string(),
6189
6198
  reason: DesignElementSnapshotReason
6190
6199
  });
6191
6200
 
6192
6201
  // src/api/dto/documentation/link-preview.ts
6193
- import { z as z221 } from "zod";
6194
- var DTODocumentationLinkPreviewResponse = z221.object({
6202
+ import { z as z222 } from "zod";
6203
+ var DTODocumentationLinkPreviewResponse = z222.object({
6195
6204
  linkPreview: DocumentationLinkPreview
6196
6205
  });
6197
- var DTODocumentationLinkPreviewRequest = z221.object({
6198
- url: z221.string().optional(),
6199
- documentationItemPersistentId: z221.string().optional()
6206
+ var DTODocumentationLinkPreviewRequest = z222.object({
6207
+ url: z222.string().optional(),
6208
+ documentationItemPersistentId: z222.string().optional()
6200
6209
  });
6201
6210
 
6202
6211
  // src/api/dto/documentation/publish.ts
6203
- import { z as z225 } from "zod";
6212
+ import { z as z226 } from "zod";
6204
6213
 
6205
6214
  // src/api/dto/export/exporter.ts
6206
- import { z as z222 } from "zod";
6207
- var DTOExporterType = z222.enum(["documentation", "code"]);
6208
- var DTOExporterSource = z222.enum(["git", "upload"]);
6209
- var DTOExporterMembershipRole = z222.enum(["Owner", "OwnerArchived", "User"]);
6210
- var DTOExporterListQuery = z222.object({
6211
- limit: z222.coerce.number().optional()
6212
- });
6213
- var DTOExporter = z222.object({
6214
- id: z222.string(),
6215
- name: z222.string(),
6216
- isPrivate: z222.boolean(),
6215
+ import { z as z223 } from "zod";
6216
+ var DTOExporterType = z223.enum(["documentation", "code"]);
6217
+ var DTOExporterSource = z223.enum(["git", "upload"]);
6218
+ var DTOExporterMembershipRole = z223.enum(["Owner", "OwnerArchived", "User"]);
6219
+ var DTOExporterListQuery = z223.object({
6220
+ limit: z223.coerce.number().optional()
6221
+ });
6222
+ var DTOExporter = z223.object({
6223
+ id: z223.string(),
6224
+ name: z223.string(),
6225
+ isPrivate: z223.boolean(),
6217
6226
  exporterType: DTOExporterType,
6218
- isDefaultDocumentationExporter: z222.boolean(),
6219
- iconURL: z222.string().optional(),
6227
+ isDefaultDocumentationExporter: z223.boolean(),
6228
+ iconURL: z223.string().optional(),
6220
6229
  configurationProperties: PulsarContributionConfigurationProperty.array(),
6221
6230
  customBlocks: PulsarCustomBlock.array(),
6222
- blockVariants: z222.record(z222.string(), PulsarContributionVariant.array()),
6223
- usesBrands: z222.boolean(),
6224
- usesThemes: z222.boolean(),
6231
+ blockVariants: z223.record(z223.string(), PulsarContributionVariant.array()),
6232
+ usesBrands: z223.boolean(),
6233
+ usesThemes: z223.boolean(),
6225
6234
  source: DTOExporterSource,
6226
- gitUrl: nullishToOptional(z222.string()),
6227
- gitBranch: nullishToOptional(z222.string()),
6228
- gitDirectory: nullishToOptional(z222.string())
6235
+ gitUrl: nullishToOptional(z223.string()),
6236
+ gitBranch: nullishToOptional(z223.string()),
6237
+ gitDirectory: nullishToOptional(z223.string())
6229
6238
  });
6230
- var DTOExporterMembership = z222.object({
6231
- workspaceId: z222.string(),
6232
- exporterId: z222.string(),
6239
+ var DTOExporterMembership = z223.object({
6240
+ workspaceId: z223.string(),
6241
+ exporterId: z223.string(),
6233
6242
  role: DTOExporterMembershipRole
6234
6243
  });
6235
- var DTOExporterCreateOutput = z222.object({
6244
+ var DTOExporterCreateOutput = z223.object({
6236
6245
  exporter: DTOExporter,
6237
6246
  membership: DTOExporterMembership
6238
6247
  });
6239
- var DTOExporterListResponse = z222.object({
6248
+ var DTOExporterListResponse = z223.object({
6240
6249
  exporters: DTOExporter.array(),
6241
6250
  membership: DTOExporterMembership.array()
6242
6251
  });
6243
- var DTOExporterGitProviderEnum = z222.enum(["github", "gitlab", "bitbucket", "azure"]);
6244
- var DTOExporterCreateInput = z222.object({
6245
- url: z222.string(),
6252
+ var DTOExporterGitProviderEnum = z223.enum(["github", "gitlab", "bitbucket", "azure"]);
6253
+ var DTOExporterCreateInput = z223.object({
6254
+ url: z223.string(),
6246
6255
  provider: DTOExporterGitProviderEnum
6247
6256
  });
6248
- var DTOExporterUpdateInput = z222.object({
6249
- url: z222.string().optional()
6257
+ var DTOExporterUpdateInput = z223.object({
6258
+ url: z223.string().optional()
6250
6259
  });
6251
6260
 
6252
6261
  // src/api/dto/export/filter.ts
6253
6262
  var DTOExportJobsListFilter = ExportJobFindByFilter;
6254
6263
 
6255
6264
  // src/api/dto/export/job.ts
6256
- import { z as z223 } from "zod";
6257
- var DTOExportJobCreatedBy = z223.object({
6258
- userId: z223.string(),
6259
- userName: z223.string()
6265
+ import { z as z224 } from "zod";
6266
+ var DTOExportJobCreatedBy = z224.object({
6267
+ userId: z224.string(),
6268
+ userName: z224.string()
6260
6269
  });
6261
- var DTOExportJobDesignSystemPreview = z223.object({
6262
- id: z223.string(),
6270
+ var DTOExportJobDesignSystemPreview = z224.object({
6271
+ id: z224.string(),
6263
6272
  meta: ObjectMeta
6264
6273
  });
6265
- var DTOExportJobDesignSystemVersionPreview = z223.object({
6266
- id: z223.string(),
6274
+ var DTOExportJobDesignSystemVersionPreview = z224.object({
6275
+ id: z224.string(),
6267
6276
  meta: ObjectMeta,
6268
- version: z223.string(),
6269
- isReadonly: z223.boolean()
6277
+ version: z224.string(),
6278
+ isReadonly: z224.boolean()
6270
6279
  });
6271
- var DTOExportJobDestinations = z223.object({
6280
+ var DTOExportJobDestinations = z224.object({
6272
6281
  s3: ExporterDestinationS3.optional(),
6273
6282
  azure: ExporterDestinationAzure.optional(),
6274
6283
  bitbucket: ExporterDestinationBitbucket.optional(),
6275
6284
  github: ExporterDestinationGithub.optional(),
6276
6285
  gitlab: ExporterDestinationGitlab.optional(),
6277
6286
  documentation: ExporterDestinationDocs.optional(),
6278
- webhookUrl: z223.string().optional()
6287
+ webhookUrl: z224.string().optional()
6279
6288
  });
6280
6289
  var DTOExportJobResult = ExportJobResult.omit({
6281
6290
  sndocs: true
6282
6291
  }).extend({
6283
6292
  documentation: ExportJobDocsDestinationResult.optional()
6284
6293
  });
6285
- var DTOExportJob = z223.object({
6286
- id: z223.string(),
6287
- createdAt: z223.coerce.date(),
6288
- finishedAt: z223.coerce.date().optional(),
6289
- index: z223.number().optional(),
6294
+ var DTOExportJob = z224.object({
6295
+ id: z224.string(),
6296
+ createdAt: z224.coerce.date(),
6297
+ finishedAt: z224.coerce.date().optional(),
6298
+ index: z224.number().optional(),
6290
6299
  status: ExportJobStatus,
6291
- estimatedExecutionTime: z223.number().optional(),
6300
+ estimatedExecutionTime: z224.number().optional(),
6292
6301
  createdBy: DTOExportJobCreatedBy.optional(),
6293
6302
  designSystem: DTOExportJobDesignSystemPreview,
6294
6303
  designSystemVersion: DTOExportJobDesignSystemVersionPreview,
6295
6304
  destinations: DTOExportJobDestinations,
6296
- exporterId: z223.string(),
6297
- scheduleId: z223.string().optional(),
6305
+ exporterId: z224.string(),
6306
+ scheduleId: z224.string().optional(),
6298
6307
  result: DTOExportJobResult.optional(),
6299
- brandPersistentId: z223.string().optional(),
6300
- themePersistentId: z223.string().optional(),
6301
- themePersistentIds: z223.string().array().optional()
6308
+ brandPersistentId: z224.string().optional(),
6309
+ themePersistentId: z224.string().optional(),
6310
+ themePersistentIds: z224.string().array().optional()
6302
6311
  });
6303
- var DTOExportJobResponse = z223.object({
6312
+ var DTOExportJobResponse = z224.object({
6304
6313
  job: DTOExportJob
6305
6314
  });
6306
6315
 
6307
6316
  // src/api/dto/export/pipeline.ts
6308
- import { z as z224 } from "zod";
6309
- var DTOPipelineListQuery = z224.object({
6310
- designSystemId: z224.string().optional(),
6311
- exporterId: z224.string().optional(),
6312
- latestJobsLimit: z224.coerce.number().optional()
6313
- });
6314
- var DTOPipeline = z224.object({
6315
- id: z224.string(),
6316
- name: z224.string(),
6317
+ import { z as z225 } from "zod";
6318
+ var DTOPipelineListQuery = z225.object({
6319
+ designSystemId: z225.string().optional(),
6320
+ exporterId: z225.string().optional(),
6321
+ latestJobsLimit: z225.coerce.number().optional()
6322
+ });
6323
+ var DTOPipeline = z225.object({
6324
+ id: z225.string(),
6325
+ name: z225.string(),
6317
6326
  eventType: PipelineEventType,
6318
- isEnabled: z224.boolean(),
6319
- workspaceId: z224.string(),
6320
- designSystemId: z224.string(),
6321
- exporterId: z224.string(),
6322
- brandPersistentId: z224.string().optional(),
6323
- themePersistentId: z224.string().optional(),
6324
- themePersistentIds: z224.string().array().optional(),
6327
+ isEnabled: z225.boolean(),
6328
+ workspaceId: z225.string(),
6329
+ designSystemId: z225.string(),
6330
+ exporterId: z225.string(),
6331
+ brandPersistentId: z225.string().optional(),
6332
+ themePersistentId: z225.string().optional(),
6333
+ themePersistentIds: z225.string().array().optional(),
6325
6334
  ...ExportDestinationsMap.shape,
6326
6335
  latestJobs: DTOExportJob.array()
6327
6336
  });
6328
- var DTOPipelineListResponse = z224.object({
6337
+ var DTOPipelineListResponse = z225.object({
6329
6338
  pipelines: DTOPipeline.array()
6330
6339
  });
6331
- var DTOPipelineResponse = z224.object({
6340
+ var DTOPipelineResponse = z225.object({
6332
6341
  pipeline: DTOPipeline
6333
6342
  });
6334
6343
 
6335
6344
  // src/api/dto/documentation/publish.ts
6336
6345
  var DTOPublishDocumentationChanges = ExportJobDocumentationChanges;
6337
- var DTOPublishDocumentationRequest = z225.object({
6346
+ var DTOPublishDocumentationRequest = z226.object({
6338
6347
  environment: PublishedDocEnvironment,
6339
6348
  /**
6340
6349
  * If defined, this allows narrowing down what is published to a set of specific pages and groups
@@ -6342,42 +6351,42 @@ var DTOPublishDocumentationRequest = z225.object({
6342
6351
  */
6343
6352
  changes: DTOPublishDocumentationChanges.optional()
6344
6353
  });
6345
- var DTOPublishDocumentationResponse = z225.object({
6354
+ var DTOPublishDocumentationResponse = z226.object({
6346
6355
  job: DTOExportJob
6347
6356
  });
6348
6357
 
6349
6358
  // src/api/dto/elements/components/figma-component.ts
6350
- import { z as z226 } from "zod";
6359
+ import { z as z227 } from "zod";
6351
6360
  var DTOFigmaComponentProperty = FigmaComponentProperty;
6352
- var DTOFigmaComponentPropertyMap = z226.record(DTOFigmaComponentProperty);
6353
- var DTOFigmaComponent = z226.object({
6354
- id: z226.string(),
6355
- persistentId: z226.string(),
6356
- designSystemVersionId: z226.string(),
6357
- brandId: z226.string(),
6358
- thumbnailUrl: z226.string().optional(),
6359
- svgUrl: z226.string().optional(),
6360
- exportProperties: z226.object({
6361
- isAsset: z226.boolean()
6361
+ var DTOFigmaComponentPropertyMap = z227.record(DTOFigmaComponentProperty);
6362
+ var DTOFigmaComponent = z227.object({
6363
+ id: z227.string(),
6364
+ persistentId: z227.string(),
6365
+ designSystemVersionId: z227.string(),
6366
+ brandId: z227.string(),
6367
+ thumbnailUrl: z227.string().optional(),
6368
+ svgUrl: z227.string().optional(),
6369
+ exportProperties: z227.object({
6370
+ isAsset: z227.boolean()
6362
6371
  }),
6363
- createdAt: z226.coerce.date(),
6364
- updatedAt: z226.coerce.date(),
6372
+ createdAt: z227.coerce.date(),
6373
+ updatedAt: z227.coerce.date(),
6365
6374
  meta: ObjectMeta,
6366
6375
  originComponent: FigmaComponentOrigin.optional(),
6367
- parentComponentPersistentId: z226.string().optional(),
6368
- childrenPersistentIds: z226.string().array().optional(),
6376
+ parentComponentPersistentId: z227.string().optional(),
6377
+ childrenPersistentIds: z227.string().array().optional(),
6369
6378
  componentPropertyDefinitions: DTOFigmaComponentPropertyMap.optional(),
6370
- variantPropertyValues: z226.record(z226.string()).optional()
6379
+ variantPropertyValues: z227.record(z227.string()).optional()
6371
6380
  });
6372
- var DTOFigmaComponentListResponse = z226.object({
6381
+ var DTOFigmaComponentListResponse = z227.object({
6373
6382
  components: DTOFigmaComponent.array()
6374
6383
  });
6375
6384
 
6376
6385
  // src/api/dto/elements/documentation/group-action.ts
6377
- import { z as z228 } from "zod";
6386
+ import { z as z229 } from "zod";
6378
6387
 
6379
6388
  // src/api/dto/elements/documentation/group-v2.ts
6380
- import { z as z227 } from "zod";
6389
+ import { z as z228 } from "zod";
6381
6390
  var DTODocumentationGroupV2 = ElementGroup.omit({
6382
6391
  sortOrder: true,
6383
6392
  parentPersistentId: true,
@@ -6387,13 +6396,13 @@ var DTODocumentationGroupV2 = ElementGroup.omit({
6387
6396
  data: true,
6388
6397
  shortPersistentId: true
6389
6398
  }).extend({
6390
- title: z227.string(),
6391
- isRoot: z227.boolean(),
6392
- childrenIds: z227.array(z227.string()),
6399
+ title: z228.string(),
6400
+ isRoot: z228.boolean(),
6401
+ childrenIds: z228.array(z228.string()),
6393
6402
  groupBehavior: DocumentationGroupBehavior,
6394
- shortPersistentId: z227.string(),
6403
+ shortPersistentId: z228.string(),
6395
6404
  configuration: DTODocumentationItemConfigurationV2,
6396
- type: z227.literal("Group"),
6405
+ type: z228.literal("Group"),
6397
6406
  /** Defined when a group has changed since last publish and can be included into a partial publish */
6398
6407
  draftState: DTODocumentationDraftState.optional(),
6399
6408
  /** Defined if a group was published at least once and contains metadata about last publish */
@@ -6401,127 +6410,127 @@ var DTODocumentationGroupV2 = ElementGroup.omit({
6401
6410
  //** An approval state for frontend to utilize. */
6402
6411
  approvalState: DTODocumentationGroupApprovalState.optional()
6403
6412
  });
6404
- var DTOCreateDocumentationGroupInput = z227.object({
6413
+ var DTOCreateDocumentationGroupInput = z228.object({
6405
6414
  // Identifier
6406
- persistentId: z227.string(),
6415
+ persistentId: z228.string(),
6407
6416
  // Group properties
6408
- title: z227.string(),
6417
+ title: z228.string(),
6409
6418
  configuration: DTODocumentationItemConfigurationV2.partial().optional(),
6410
6419
  // Group placement properties
6411
- afterPersistentId: z227.string().nullish(),
6412
- parentPersistentId: z227.string()
6420
+ afterPersistentId: z228.string().nullish(),
6421
+ parentPersistentId: z228.string()
6413
6422
  });
6414
- var DTOUpdateDocumentationGroupInput = z227.object({
6423
+ var DTOUpdateDocumentationGroupInput = z228.object({
6415
6424
  // Identifier of the group to update
6416
- id: z227.string(),
6425
+ id: z228.string(),
6417
6426
  // Group properties
6418
- title: z227.string().optional(),
6427
+ title: z228.string().optional(),
6419
6428
  configuration: DTODocumentationItemConfigurationV2.partial().optional()
6420
6429
  });
6421
- var DTOMoveDocumentationGroupInput = z227.object({
6430
+ var DTOMoveDocumentationGroupInput = z228.object({
6422
6431
  // Identifier of the group to update
6423
- id: z227.string(),
6432
+ id: z228.string(),
6424
6433
  // Group placement properties
6425
- parentPersistentId: z227.string(),
6426
- afterPersistentId: z227.string().nullish()
6434
+ parentPersistentId: z228.string(),
6435
+ afterPersistentId: z228.string().nullish()
6427
6436
  });
6428
- var DTODuplicateDocumentationGroupInput = z227.object({
6437
+ var DTODuplicateDocumentationGroupInput = z228.object({
6429
6438
  // Identifier of the group to duplicate from
6430
- id: z227.string(),
6439
+ id: z228.string(),
6431
6440
  // New group persistent id
6432
- persistentId: z227.string(),
6441
+ persistentId: z228.string(),
6433
6442
  // Group placement properties
6434
- afterPersistentId: z227.string().nullish(),
6435
- parentPersistentId: z227.string()
6443
+ afterPersistentId: z228.string().nullish(),
6444
+ parentPersistentId: z228.string()
6436
6445
  });
6437
- var DTOCreateDocumentationTabInput = z227.object({
6446
+ var DTOCreateDocumentationTabInput = z228.object({
6438
6447
  // New group persistent id
6439
- persistentId: z227.string(),
6448
+ persistentId: z228.string(),
6440
6449
  // If this is page, we will attempt to convert it to tab
6441
6450
  // If this is tab group, we will add a new tab to it
6442
- fromItemPersistentId: z227.string(),
6443
- tabName: z227.string()
6451
+ fromItemPersistentId: z228.string(),
6452
+ tabName: z228.string()
6444
6453
  });
6445
- var DTODeleteDocumentationTabGroupInput = z227.object({
6454
+ var DTODeleteDocumentationTabGroupInput = z228.object({
6446
6455
  // Deleted group id
6447
- id: z227.string()
6456
+ id: z228.string()
6448
6457
  });
6449
- var DTODeleteDocumentationGroupInput = z227.object({
6458
+ var DTODeleteDocumentationGroupInput = z228.object({
6450
6459
  // Identifier
6451
- id: z227.string(),
6460
+ id: z228.string(),
6452
6461
  // Deletion options
6453
- deleteSubtree: z227.boolean().default(false)
6462
+ deleteSubtree: z228.boolean().default(false)
6454
6463
  });
6455
6464
 
6456
6465
  // src/api/dto/elements/documentation/group-action.ts
6457
- var SuccessPayload = z228.object({
6458
- success: z228.literal(true)
6466
+ var SuccessPayload = z229.object({
6467
+ success: z229.literal(true)
6459
6468
  });
6460
- var DTODocumentationGroupCreateActionOutputV2 = z228.object({
6461
- type: z228.literal("DocumentationGroupCreate"),
6469
+ var DTODocumentationGroupCreateActionOutputV2 = z229.object({
6470
+ type: z229.literal("DocumentationGroupCreate"),
6462
6471
  output: SuccessPayload
6463
6472
  });
6464
- var DTODocumentationTabCreateActionOutputV2 = z228.object({
6465
- type: z228.literal("DocumentationTabCreate"),
6473
+ var DTODocumentationTabCreateActionOutputV2 = z229.object({
6474
+ type: z229.literal("DocumentationTabCreate"),
6466
6475
  output: SuccessPayload
6467
6476
  });
6468
- var DTODocumentationGroupUpdateActionOutputV2 = z228.object({
6469
- type: z228.literal("DocumentationGroupUpdate"),
6477
+ var DTODocumentationGroupUpdateActionOutputV2 = z229.object({
6478
+ type: z229.literal("DocumentationGroupUpdate"),
6470
6479
  output: SuccessPayload
6471
6480
  });
6472
- var DTODocumentationGroupMoveActionOutputV2 = z228.object({
6473
- type: z228.literal("DocumentationGroupMove"),
6481
+ var DTODocumentationGroupMoveActionOutputV2 = z229.object({
6482
+ type: z229.literal("DocumentationGroupMove"),
6474
6483
  output: SuccessPayload
6475
6484
  });
6476
- var DTODocumentationGroupDuplicateActionOutputV2 = z228.object({
6477
- type: z228.literal("DocumentationGroupDuplicate"),
6485
+ var DTODocumentationGroupDuplicateActionOutputV2 = z229.object({
6486
+ type: z229.literal("DocumentationGroupDuplicate"),
6478
6487
  output: SuccessPayload
6479
6488
  });
6480
- var DTODocumentationGroupDeleteActionOutputV2 = z228.object({
6481
- type: z228.literal("DocumentationGroupDelete"),
6489
+ var DTODocumentationGroupDeleteActionOutputV2 = z229.object({
6490
+ type: z229.literal("DocumentationGroupDelete"),
6482
6491
  output: SuccessPayload
6483
6492
  });
6484
- var DTODocumentationTabGroupDeleteActionOutputV2 = z228.object({
6485
- type: z228.literal("DocumentationTabGroupDelete"),
6493
+ var DTODocumentationTabGroupDeleteActionOutputV2 = z229.object({
6494
+ type: z229.literal("DocumentationTabGroupDelete"),
6486
6495
  output: SuccessPayload
6487
6496
  });
6488
- var DTODocumentationGroupCreateActionInputV2 = z228.object({
6489
- type: z228.literal("DocumentationGroupCreate"),
6497
+ var DTODocumentationGroupCreateActionInputV2 = z229.object({
6498
+ type: z229.literal("DocumentationGroupCreate"),
6490
6499
  input: DTOCreateDocumentationGroupInput
6491
6500
  });
6492
- var DTODocumentationTabCreateActionInputV2 = z228.object({
6493
- type: z228.literal("DocumentationTabCreate"),
6501
+ var DTODocumentationTabCreateActionInputV2 = z229.object({
6502
+ type: z229.literal("DocumentationTabCreate"),
6494
6503
  input: DTOCreateDocumentationTabInput
6495
6504
  });
6496
- var DTODocumentationGroupUpdateActionInputV2 = z228.object({
6497
- type: z228.literal("DocumentationGroupUpdate"),
6505
+ var DTODocumentationGroupUpdateActionInputV2 = z229.object({
6506
+ type: z229.literal("DocumentationGroupUpdate"),
6498
6507
  input: DTOUpdateDocumentationGroupInput
6499
6508
  });
6500
- var DTODocumentationGroupMoveActionInputV2 = z228.object({
6501
- type: z228.literal("DocumentationGroupMove"),
6509
+ var DTODocumentationGroupMoveActionInputV2 = z229.object({
6510
+ type: z229.literal("DocumentationGroupMove"),
6502
6511
  input: DTOMoveDocumentationGroupInput
6503
6512
  });
6504
- var DTODocumentationGroupDuplicateActionInputV2 = z228.object({
6505
- type: z228.literal("DocumentationGroupDuplicate"),
6513
+ var DTODocumentationGroupDuplicateActionInputV2 = z229.object({
6514
+ type: z229.literal("DocumentationGroupDuplicate"),
6506
6515
  input: DTODuplicateDocumentationGroupInput
6507
6516
  });
6508
- var DTODocumentationGroupDeleteActionInputV2 = z228.object({
6509
- type: z228.literal("DocumentationGroupDelete"),
6517
+ var DTODocumentationGroupDeleteActionInputV2 = z229.object({
6518
+ type: z229.literal("DocumentationGroupDelete"),
6510
6519
  input: DTODeleteDocumentationGroupInput
6511
6520
  });
6512
- var DTODocumentationTabGroupDeleteActionInputV2 = z228.object({
6513
- type: z228.literal("DocumentationTabGroupDelete"),
6521
+ var DTODocumentationTabGroupDeleteActionInputV2 = z229.object({
6522
+ type: z229.literal("DocumentationTabGroupDelete"),
6514
6523
  input: DTODeleteDocumentationTabGroupInput
6515
6524
  });
6516
6525
 
6517
6526
  // src/api/dto/elements/documentation/group-v1.ts
6518
- import { z as z230 } from "zod";
6527
+ import { z as z231 } from "zod";
6519
6528
 
6520
6529
  // src/api/dto/elements/documentation/item-configuration-v1.ts
6521
- import { z as z229 } from "zod";
6522
- var DocumentationColorV1 = z229.object({
6523
- aliasTo: z229.string().optional(),
6524
- value: z229.string().optional()
6530
+ import { z as z230 } from "zod";
6531
+ var DocumentationColorV1 = z230.object({
6532
+ aliasTo: z230.string().optional(),
6533
+ value: z230.string().optional()
6525
6534
  });
6526
6535
  var DTODocumentationItemHeaderV1 = DocumentationItemHeaderV1.omit({
6527
6536
  foregroundColor: true,
@@ -6530,10 +6539,10 @@ var DTODocumentationItemHeaderV1 = DocumentationItemHeaderV1.omit({
6530
6539
  foregroundColor: DocumentationColorV1.optional(),
6531
6540
  backgroundColor: DocumentationColorV1.optional()
6532
6541
  });
6533
- var DTODocumentationItemConfigurationV1 = z229.object({
6534
- showSidebar: z229.boolean(),
6535
- isPrivate: z229.boolean(),
6536
- isHidden: z229.boolean(),
6542
+ var DTODocumentationItemConfigurationV1 = z230.object({
6543
+ showSidebar: z230.boolean(),
6544
+ isPrivate: z230.boolean(),
6545
+ isHidden: z230.boolean(),
6537
6546
  header: DTODocumentationItemHeaderV1
6538
6547
  });
6539
6548
 
@@ -6547,27 +6556,27 @@ var DTODocumentationGroupStructureV1 = ElementGroup.omit({
6547
6556
  data: true,
6548
6557
  shortPersistentId: true
6549
6558
  }).extend({
6550
- title: z230.string(),
6551
- isRoot: z230.boolean(),
6552
- childrenIds: z230.array(z230.string()),
6559
+ title: z231.string(),
6560
+ isRoot: z231.boolean(),
6561
+ childrenIds: z231.array(z231.string()),
6553
6562
  groupBehavior: DocumentationGroupBehavior,
6554
- shortPersistentId: z230.string(),
6555
- type: z230.literal("Group")
6563
+ shortPersistentId: z231.string(),
6564
+ type: z231.literal("Group")
6556
6565
  });
6557
6566
  var DTODocumentationGroupV1 = DTODocumentationGroupStructureV1.extend({
6558
6567
  configuration: DTODocumentationItemConfigurationV1
6559
6568
  });
6560
6569
 
6561
6570
  // src/api/dto/elements/documentation/hierarchy.ts
6562
- import { z as z231 } from "zod";
6563
- var DTODocumentationHierarchyV2 = z231.object({
6564
- pages: z231.array(
6571
+ import { z as z232 } from "zod";
6572
+ var DTODocumentationHierarchyV2 = z232.object({
6573
+ pages: z232.array(
6565
6574
  DTODocumentationPageV2.extend({
6566
6575
  /** Defined when a page has changed since last publish and can be included into a partial publish */
6567
6576
  draftState: DTODocumentationDraftState.optional()
6568
6577
  })
6569
6578
  ),
6570
- groups: z231.array(
6579
+ groups: z232.array(
6571
6580
  DTODocumentationGroupV2.extend({
6572
6581
  /** Defined when a page has changed since last publish and can be included into a partial publish */
6573
6582
  draftState: DTODocumentationDraftState.optional()
@@ -6576,84 +6585,84 @@ var DTODocumentationHierarchyV2 = z231.object({
6576
6585
  });
6577
6586
 
6578
6587
  // src/api/dto/elements/documentation/page-actions-v2.ts
6579
- import { z as z232 } from "zod";
6580
- var SuccessPayload2 = z232.object({
6581
- success: z232.literal(true)
6588
+ import { z as z233 } from "zod";
6589
+ var SuccessPayload2 = z233.object({
6590
+ success: z233.literal(true)
6582
6591
  });
6583
- var DTODocumentationPageCreateActionOutputV2 = z232.object({
6584
- type: z232.literal("DocumentationPageCreate"),
6592
+ var DTODocumentationPageCreateActionOutputV2 = z233.object({
6593
+ type: z233.literal("DocumentationPageCreate"),
6585
6594
  output: SuccessPayload2
6586
6595
  });
6587
- var DTODocumentationPageUpdateActionOutputV2 = z232.object({
6588
- type: z232.literal("DocumentationPageUpdate"),
6596
+ var DTODocumentationPageUpdateActionOutputV2 = z233.object({
6597
+ type: z233.literal("DocumentationPageUpdate"),
6589
6598
  output: SuccessPayload2
6590
6599
  });
6591
- var DTODocumentationPageMoveActionOutputV2 = z232.object({
6592
- type: z232.literal("DocumentationPageMove"),
6600
+ var DTODocumentationPageMoveActionOutputV2 = z233.object({
6601
+ type: z233.literal("DocumentationPageMove"),
6593
6602
  output: SuccessPayload2
6594
6603
  });
6595
- var DTODocumentationPageDuplicateActionOutputV2 = z232.object({
6596
- type: z232.literal("DocumentationPageDuplicate"),
6604
+ var DTODocumentationPageDuplicateActionOutputV2 = z233.object({
6605
+ type: z233.literal("DocumentationPageDuplicate"),
6597
6606
  output: SuccessPayload2
6598
6607
  });
6599
- var DTODocumentationPageDeleteActionOutputV2 = z232.object({
6600
- type: z232.literal("DocumentationPageDelete"),
6608
+ var DTODocumentationPageDeleteActionOutputV2 = z233.object({
6609
+ type: z233.literal("DocumentationPageDelete"),
6601
6610
  output: SuccessPayload2
6602
6611
  });
6603
- var DTODocumentationPageRestoreActionOutput = z232.object({
6604
- type: z232.literal("DocumentationPageRestore"),
6612
+ var DTODocumentationPageRestoreActionOutput = z233.object({
6613
+ type: z233.literal("DocumentationPageRestore"),
6605
6614
  output: SuccessPayload2
6606
6615
  });
6607
- var DTODocumentationGroupRestoreActionOutput = z232.object({
6608
- type: z232.literal("DocumentationGroupRestore"),
6616
+ var DTODocumentationGroupRestoreActionOutput = z233.object({
6617
+ type: z233.literal("DocumentationGroupRestore"),
6609
6618
  output: SuccessPayload2
6610
6619
  });
6611
- var DTODocumentationPageApprovalStateChangeActionOutput = z232.object({
6612
- type: z232.literal("DocumentationPageApprovalStateChange"),
6620
+ var DTODocumentationPageApprovalStateChangeActionOutput = z233.object({
6621
+ type: z233.literal("DocumentationPageApprovalStateChange"),
6613
6622
  output: SuccessPayload2
6614
6623
  });
6615
- var DTODocumentationPageCreateActionInputV2 = z232.object({
6616
- type: z232.literal("DocumentationPageCreate"),
6624
+ var DTODocumentationPageCreateActionInputV2 = z233.object({
6625
+ type: z233.literal("DocumentationPageCreate"),
6617
6626
  input: DTOCreateDocumentationPageInputV2
6618
6627
  });
6619
- var DTODocumentationPageUpdateActionInputV2 = z232.object({
6620
- type: z232.literal("DocumentationPageUpdate"),
6628
+ var DTODocumentationPageUpdateActionInputV2 = z233.object({
6629
+ type: z233.literal("DocumentationPageUpdate"),
6621
6630
  input: DTOUpdateDocumentationPageInputV2
6622
6631
  });
6623
- var DTODocumentationPageMoveActionInputV2 = z232.object({
6624
- type: z232.literal("DocumentationPageMove"),
6632
+ var DTODocumentationPageMoveActionInputV2 = z233.object({
6633
+ type: z233.literal("DocumentationPageMove"),
6625
6634
  input: DTOMoveDocumentationPageInputV2
6626
6635
  });
6627
- var DTODocumentationPageDuplicateActionInputV2 = z232.object({
6628
- type: z232.literal("DocumentationPageDuplicate"),
6636
+ var DTODocumentationPageDuplicateActionInputV2 = z233.object({
6637
+ type: z233.literal("DocumentationPageDuplicate"),
6629
6638
  input: DTODuplicateDocumentationPageInputV2
6630
6639
  });
6631
- var DTODocumentationPageDeleteActionInputV2 = z232.object({
6632
- type: z232.literal("DocumentationPageDelete"),
6640
+ var DTODocumentationPageDeleteActionInputV2 = z233.object({
6641
+ type: z233.literal("DocumentationPageDelete"),
6633
6642
  input: DTODeleteDocumentationPageInputV2
6634
6643
  });
6635
- var DTODocumentationPageRestoreActionInput = z232.object({
6636
- type: z232.literal("DocumentationPageRestore"),
6644
+ var DTODocumentationPageRestoreActionInput = z233.object({
6645
+ type: z233.literal("DocumentationPageRestore"),
6637
6646
  input: DTORestoreDocumentationPageInput
6638
6647
  });
6639
- var DTODocumentationGroupRestoreActionInput = z232.object({
6640
- type: z232.literal("DocumentationGroupRestore"),
6648
+ var DTODocumentationGroupRestoreActionInput = z233.object({
6649
+ type: z233.literal("DocumentationGroupRestore"),
6641
6650
  input: DTORestoreDocumentationGroupInput
6642
6651
  });
6643
- var DTODocumentationPageApprovalStateChangeActionInput = z232.object({
6644
- type: z232.literal("DocumentationPageApprovalStateChange"),
6652
+ var DTODocumentationPageApprovalStateChangeActionInput = z233.object({
6653
+ type: z233.literal("DocumentationPageApprovalStateChange"),
6645
6654
  input: DTODocumentationPageApprovalStateChangeInput
6646
6655
  });
6647
6656
 
6648
6657
  // src/api/dto/elements/documentation/page-content.ts
6649
- import { z as z233 } from "zod";
6658
+ import { z as z234 } from "zod";
6650
6659
  var DTODocumentationPageContent = DocumentationPageContent;
6651
- var DTODocumentationPageContentGetResponse = z233.object({
6660
+ var DTODocumentationPageContentGetResponse = z234.object({
6652
6661
  pageContent: DTODocumentationPageContent
6653
6662
  });
6654
6663
 
6655
6664
  // src/api/dto/elements/documentation/page-v1.ts
6656
- import { z as z234 } from "zod";
6665
+ import { z as z235 } from "zod";
6657
6666
  var DocumentationPageV1DTO = DocumentationPageV1.omit({
6658
6667
  data: true,
6659
6668
  meta: true,
@@ -6661,32 +6670,32 @@ var DocumentationPageV1DTO = DocumentationPageV1.omit({
6661
6670
  sortOrder: true
6662
6671
  }).extend({
6663
6672
  configuration: DTODocumentationItemConfigurationV1,
6664
- blocks: z234.array(PageBlockV1),
6665
- title: z234.string(),
6666
- path: z234.string()
6673
+ blocks: z235.array(PageBlockV1),
6674
+ title: z235.string(),
6675
+ path: z235.string()
6667
6676
  });
6668
6677
 
6669
6678
  // src/api/dto/elements/figma-nodes/figma-node.ts
6670
- import { z as z235 } from "zod";
6679
+ import { z as z236 } from "zod";
6671
6680
  var DTOFigmaNodeRenderFormat = FigmaNodeRenderFormat;
6672
- var DTOFigmaNodeOrigin = z235.object({
6673
- sourceId: z235.string(),
6674
- fileId: z235.string().optional(),
6675
- parentName: z235.string().optional()
6681
+ var DTOFigmaNodeOrigin = z236.object({
6682
+ sourceId: z236.string(),
6683
+ fileId: z236.string().optional(),
6684
+ parentName: z236.string().optional()
6676
6685
  });
6677
- var DTOFigmaNodeData = z235.object({
6686
+ var DTOFigmaNodeData = z236.object({
6678
6687
  // Id of the node in the Figma file
6679
- figmaNodeId: z235.string(),
6688
+ figmaNodeId: z236.string(),
6680
6689
  // Validity
6681
- isValid: z235.boolean(),
6690
+ isValid: z236.boolean(),
6682
6691
  // Asset data
6683
- assetId: z235.string(),
6684
- assetUrl: z235.string(),
6692
+ assetId: z236.string(),
6693
+ assetUrl: z236.string(),
6685
6694
  assetFormat: DTOFigmaNodeRenderFormat,
6686
6695
  // Asset metadata
6687
- assetScale: z235.number(),
6688
- assetWidth: z235.number().optional(),
6689
- assetHeight: z235.number().optional()
6696
+ assetScale: z236.number(),
6697
+ assetWidth: z236.number().optional(),
6698
+ assetHeight: z236.number().optional()
6690
6699
  });
6691
6700
  var DTOFigmaNode = FigmaNodeReference.omit({
6692
6701
  data: true,
@@ -6695,15 +6704,15 @@ var DTOFigmaNode = FigmaNodeReference.omit({
6695
6704
  data: DTOFigmaNodeData,
6696
6705
  origin: DTOFigmaNodeOrigin
6697
6706
  });
6698
- var DTOFigmaNodeRenderInput = z235.object({
6707
+ var DTOFigmaNodeRenderInput = z236.object({
6699
6708
  /**
6700
6709
  * Id of a design system's data source representing a linked Figma file
6701
6710
  */
6702
- sourceId: z235.string(),
6711
+ sourceId: z236.string(),
6703
6712
  /**
6704
6713
  * Id of a node within the Figma file
6705
6714
  */
6706
- figmaFileNodeId: z235.string(),
6715
+ figmaFileNodeId: z236.string(),
6707
6716
  /**
6708
6717
  * Format in which the node must be rendered, png by default.
6709
6718
  */
@@ -6711,27 +6720,18 @@ var DTOFigmaNodeRenderInput = z235.object({
6711
6720
  });
6712
6721
 
6713
6722
  // src/api/dto/elements/figma-nodes/node-actions-v2.ts
6714
- import { z as z236 } from "zod";
6715
- var DTOFigmaNodeRenderActionOutput = z236.object({
6716
- type: z236.literal("FigmaNodeRender"),
6717
- figmaNodes: z236.array(DTOFigmaNode)
6723
+ import { z as z237 } from "zod";
6724
+ var DTOFigmaNodeRenderActionOutput = z237.object({
6725
+ type: z237.literal("FigmaNodeRender"),
6726
+ figmaNodes: z237.array(DTOFigmaNode)
6718
6727
  });
6719
- var DTOFigmaNodeRenderActionInput = z236.object({
6720
- type: z236.literal("FigmaNodeRender"),
6728
+ var DTOFigmaNodeRenderActionInput = z237.object({
6729
+ type: z237.literal("FigmaNodeRender"),
6721
6730
  input: DTOFigmaNodeRenderInput.array()
6722
6731
  });
6723
6732
 
6724
6733
  // src/api/dto/elements/properties/property-definitions.ts
6725
6734
  import { z as z238 } from "zod";
6726
-
6727
- // src/api/dto/aux/meta.ts
6728
- import { z as z237 } from "zod";
6729
- var DTOObjectMeta = z237.object({
6730
- name: z237.string().max(512),
6731
- description: z237.string().max(2048).optional()
6732
- });
6733
-
6734
- // src/api/dto/elements/properties/property-definitions.ts
6735
6735
  var CODE_NAME_REGEX2 = /^[a-zA-Z_$][a-zA-Z_$0-9]{1,99}$/;
6736
6736
  var DTOElementPropertyDefinitionOption = z238.object({
6737
6737
  id: z238.string(),
@@ -7211,6 +7211,18 @@ var DesignSystemVersionsEndpoint = class {
7211
7211
  list(dsId) {
7212
7212
  return this.requestExecutor.json(`/design-systems/${dsId}/versions`, DTODesignSystemVersionsListResponse);
7213
7213
  }
7214
+ commit(dsId, body) {
7215
+ return this.requestExecutor.json(`/design-systems/${dsId}/head/commit`, DTODesignSystemVersionCreationResponse, {
7216
+ method: "POST",
7217
+ body
7218
+ });
7219
+ }
7220
+ job(dsId, jobId) {
7221
+ return this.requestExecutor.json(
7222
+ `/design-systems/${dsId}/versions/jobs/${jobId}`,
7223
+ DTODesignSystemVersionJobStatusResponse
7224
+ );
7225
+ }
7214
7226
  };
7215
7227
 
7216
7228
  // src/api/endpoints/design-system/bff.ts
@@ -12648,6 +12660,7 @@ export {
12648
12660
  DTOMoveDocumentationPageInputV2,
12649
12661
  DTONpmRegistryConfig,
12650
12662
  DTONpmRegistryConfigConstants,
12663
+ DTOObjectMeta,
12651
12664
  DTOPageBlockColorV2,
12652
12665
  DTOPageBlockDefinition,
12653
12666
  DTOPageBlockDefinitionBehavior,