@supernova-studio/client 0.55.32 → 0.55.34

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
@@ -3817,14 +3817,16 @@ var DesignSystemInvitation = z132.object({
3817
3817
  id: z132.string(),
3818
3818
  designSystemId: z132.string(),
3819
3819
  workspaceInvitationId: z132.string(),
3820
- designSystemRole: DesignSystemRole.optional()
3820
+ designSystemRole: DesignSystemRole.optional(),
3821
+ workspaceRole: WorkspaceRoleSchema.optional()
3821
3822
  });
3822
3823
  var DesignSystemMembership = z133.object({
3823
3824
  id: z133.string(),
3824
3825
  userId: z133.string(),
3825
3826
  designSystemId: z133.string(),
3826
3827
  designSystemRole: DesignSystemRole.optional(),
3827
- workspaceMembershipId: z133.string()
3828
+ workspaceMembershipId: z133.string(),
3829
+ workspaceRole: WorkspaceRoleSchema.optional()
3828
3830
  });
3829
3831
  var DesignSystemMembers = z133.object({
3830
3832
  members: DesignSystemMembership.array(),
@@ -5057,7 +5059,7 @@ var DTOPagination = z175.object({
5057
5059
  });
5058
5060
 
5059
5061
  // src/api/dto/bff/app-bootstrap-data.ts
5060
- import { z as z203 } from "zod";
5062
+ import { z as z204 } from "zod";
5061
5063
 
5062
5064
  // src/api/dto/design-systems/brand.ts
5063
5065
  import { z as z176 } from "zod";
@@ -5274,46 +5276,80 @@ import { z as z182 } from "zod";
5274
5276
  var DTOExporterProperty = z182.any({});
5275
5277
  var DTOExporterPropertyListResponse = z182.object({ items: z182.array(DTOExporterProperty) });
5276
5278
 
5277
- // src/api/dto/design-systems/stats.ts
5279
+ // src/api/dto/design-systems/import-job.ts
5278
5280
  import { z as z183 } from "zod";
5279
- var DTODesignSystemVersionStats = z183.object({
5280
- tokens: z183.number(),
5281
- designSystemComponents: z183.number(),
5282
- assets: z183.number(),
5283
- documentationPages: z183.number()
5281
+ var DTOImportJob = z183.object({
5282
+ id: z183.string(),
5283
+ designSystemId: z183.string(),
5284
+ designSystemVersionId: z183.string(),
5285
+ operation: z183.literal("Import"),
5286
+ createdAt: z183.coerce.date(),
5287
+ stateChangedAt: z183.coerce.date(),
5288
+ state: ImportJobState,
5289
+ sourceIds: z183.string().array()
5290
+ });
5291
+ var DTOImportJobResponse = z183.object({
5292
+ job: DTOImportJob
5293
+ });
5294
+ var DTOBffFigmaImportRequestBody = z183.object({
5295
+ type: z183.literal(DataSourceRemoteType.Enum.Figma),
5296
+ brandPersistentId: z183.string().optional(),
5297
+ fileId: z183.string(),
5298
+ scope: DataSourceFigmaScope,
5299
+ autoImportMode: DataSourceAutoImportMode
5300
+ });
5301
+ var DTOBffUploadImportRequestBody = z183.object({
5302
+ type: z183.enum([DataSourceRemoteType.Enum.FigmaVariablesPlugin, "Upload"]).transform((v) => DataSourceRemoteType.Enum.FigmaVariablesPlugin),
5303
+ brandPersistentId: z183.string().optional(),
5304
+ sourceName: z183.string().optional(),
5305
+ remoteId: z183.string(),
5306
+ payload: z183.any()
5307
+ });
5308
+ var DTOBffImportRequestBody = z183.discriminatedUnion("type", [
5309
+ DTOBffFigmaImportRequestBody,
5310
+ DTOBffUploadImportRequestBody
5311
+ ]);
5312
+
5313
+ // src/api/dto/design-systems/stats.ts
5314
+ import { z as z184 } from "zod";
5315
+ var DTODesignSystemVersionStats = z184.object({
5316
+ tokens: z184.number(),
5317
+ designSystemComponents: z184.number(),
5318
+ assets: z184.number(),
5319
+ documentationPages: z184.number()
5284
5320
  });
5285
- var DTODesignSystemVersionStatsQuery = z183.object({
5286
- brandId: z183.string().optional()
5321
+ var DTODesignSystemVersionStatsQuery = z184.object({
5322
+ brandId: z184.string().optional()
5287
5323
  });
5288
5324
 
5289
5325
  // src/api/dto/design-systems/version.ts
5290
- import { z as z195 } from "zod";
5326
+ import { z as z196 } from "zod";
5291
5327
 
5292
5328
  // src/api/payloads/design-systems/brand.ts
5293
- import { z as z184 } from "zod";
5294
- var DTOCreateBrandInput = z184.object({
5295
- persistentId: z184.string().uuid(),
5296
- meta: z184.object({
5297
- name: z184.string(),
5298
- description: z184.string()
5329
+ import { z as z185 } from "zod";
5330
+ var DTOCreateBrandInput = z185.object({
5331
+ persistentId: z185.string().uuid(),
5332
+ meta: z185.object({
5333
+ name: z185.string(),
5334
+ description: z185.string()
5299
5335
  })
5300
5336
  });
5301
5337
 
5302
5338
  // src/api/payloads/design-systems/theme.ts
5303
- import { z as z185 } from "zod";
5304
- var DTOCreateThemeInput = z185.object({
5339
+ import { z as z186 } from "zod";
5340
+ var DTOCreateThemeInput = z186.object({
5305
5341
  meta: ObjectMeta,
5306
- persistentId: z185.string(),
5307
- designSystemVersionId: z185.string(),
5308
- brandId: z185.string(),
5309
- codeName: z185.string(),
5310
- version: z185.string().optional(),
5311
- overrides: z185.array(z185.any())
5342
+ persistentId: z186.string(),
5343
+ designSystemVersionId: z186.string(),
5344
+ brandId: z186.string(),
5345
+ codeName: z186.string(),
5346
+ version: z186.string().optional(),
5347
+ overrides: z186.array(z186.any())
5312
5348
  // TODO Add actual overrides.
5313
5349
  });
5314
5350
 
5315
5351
  // src/api/payloads/design-systems/update-design-system.ts
5316
- import { z as z186 } from "zod";
5352
+ import { z as z187 } from "zod";
5317
5353
  var DTODesignSystemUpdateInput = DesignSystem.partial().omit({
5318
5354
  id: true,
5319
5355
  workspaceId: true,
@@ -5325,40 +5361,40 @@ var DTODesignSystemUpdateInput = DesignSystem.partial().omit({
5325
5361
  }).extend({
5326
5362
  meta: ObjectMeta.partial().optional()
5327
5363
  });
5328
- var DTODesignSystemUpdateAccessModeInput = z186.object({
5364
+ var DTODesignSystemUpdateAccessModeInput = z187.object({
5329
5365
  accessMode: DesignSystemAccessMode,
5330
- retain: z186.object({
5331
- userIds: z186.string().array(),
5332
- inviteIds: z186.string().array()
5366
+ retain: z187.object({
5367
+ userIds: z187.string().array(),
5368
+ inviteIds: z187.string().array()
5333
5369
  }).optional()
5334
5370
  });
5335
5371
 
5336
5372
  // src/api/payloads/design-systems/version.ts
5337
- import { z as z187 } from "zod";
5338
- var ObjectMeta2 = z187.object({
5339
- name: z187.string().max(150).optional(),
5340
- description: z187.string().max(2e3).optional()
5373
+ import { z as z188 } from "zod";
5374
+ var ObjectMeta2 = z188.object({
5375
+ name: z188.string().max(150).optional(),
5376
+ description: z188.string().max(2e3).optional()
5341
5377
  });
5342
5378
  function validateDesignSystemVersion(version) {
5343
5379
  const urlCompliantRegex = /^[a-zA-Z0-9+.-]+$/;
5344
5380
  return urlCompliantRegex.test(version);
5345
5381
  }
5346
- var DTOCreateVersionInput = z187.object({
5382
+ var DTOCreateVersionInput = z188.object({
5347
5383
  meta: ObjectMeta2,
5348
- version: z187.string().refine(validateDesignSystemVersion, {
5384
+ version: z188.string().refine(validateDesignSystemVersion, {
5349
5385
  message: "Invalid semantic versioning format"
5350
5386
  }),
5351
- changeLog: z187.string().optional()
5387
+ changeLog: z188.string().optional()
5352
5388
  });
5353
- var DTOUpdateVersionInput = z187.object({
5389
+ var DTOUpdateVersionInput = z188.object({
5354
5390
  meta: ObjectMeta2,
5355
- version: z187.string(),
5391
+ version: z188.string(),
5356
5392
  // required for PUT, but not editable
5357
- changeLog: z187.string()
5393
+ changeLog: z188.string()
5358
5394
  });
5359
5395
 
5360
5396
  // src/api/payloads/documentation/block-definitions.ts
5361
- import { z as z188 } from "zod";
5397
+ import { z as z189 } from "zod";
5362
5398
 
5363
5399
  // src/api/dto/documentation/block-definition.ts
5364
5400
  var DTOPageBlockDefinitionBehavior = PageBlockDefinitionBehavior;
@@ -5370,60 +5406,60 @@ var DTOPageBlockColorV2 = PageBlockColorV2;
5370
5406
  var DTOPageBlockDefinition = PageBlockDefinition;
5371
5407
 
5372
5408
  // src/api/payloads/documentation/block-definitions.ts
5373
- var DTOGetBlockDefinitionsOutput = z188.object({
5374
- definitions: z188.array(DTOPageBlockDefinition)
5409
+ var DTOGetBlockDefinitionsOutput = z189.object({
5410
+ definitions: z189.array(DTOPageBlockDefinition)
5375
5411
  });
5376
5412
 
5377
5413
  // src/api/payloads/documentation/design-data-doc-diff.ts
5378
- import { z as z189 } from "zod";
5379
- var DTODocumentationPublishTypeQueryParams = z189.object({
5380
- environment: z189.enum(["Live", "Preview"])
5414
+ import { z as z190 } from "zod";
5415
+ var DTODocumentationPublishTypeQueryParams = z190.object({
5416
+ environment: z190.enum(["Live", "Preview"])
5381
5417
  });
5382
5418
 
5383
5419
  // src/api/payloads/export/pipeline.ts
5384
- import { z as z190 } from "zod";
5385
- var DTOPipelineCreateBody = z190.object({
5386
- name: z190.string(),
5387
- exporterId: z190.string(),
5388
- designSystemId: z190.string(),
5389
- isEnabled: z190.boolean(),
5420
+ import { z as z191 } from "zod";
5421
+ var DTOPipelineCreateBody = z191.object({
5422
+ name: z191.string(),
5423
+ exporterId: z191.string(),
5424
+ designSystemId: z191.string(),
5425
+ isEnabled: z191.boolean(),
5390
5426
  eventType: PipelineEventType,
5391
- brandPersistentId: z190.string().optional(),
5392
- themePersistentId: z190.string().optional(),
5393
- themePersistentIds: z190.string().array().optional(),
5427
+ brandPersistentId: z191.string().optional(),
5428
+ themePersistentId: z191.string().optional(),
5429
+ themePersistentIds: z191.string().array().optional(),
5394
5430
  destination: PipelineDestinationType.optional(),
5395
5431
  gitQuery: GitObjectsQuery,
5396
- destinations: z190.object({
5432
+ destinations: z191.object({
5397
5433
  s3: ExporterDestinationS3.nullish(),
5398
5434
  azure: ExporterDestinationAzure.nullish(),
5399
5435
  bitbucket: ExporterDestinationBitbucket.nullish(),
5400
5436
  github: ExporterDestinationGithub.nullish(),
5401
5437
  gitlab: ExporterDestinationGitlab.nullish(),
5402
5438
  documentation: ExporterDestinationDocs.nullish(),
5403
- webhookUrl: z190.string().nullish()
5439
+ webhookUrl: z191.string().nullish()
5404
5440
  })
5405
5441
  });
5406
5442
  var DTOPipelineUpdateBody = DTOPipelineCreateBody.extend({
5407
- id: z190.string()
5443
+ id: z191.string()
5408
5444
  });
5409
- var DTOPipelineTriggerBody = z190.object({
5410
- designSystemVersionId: z190.string()
5445
+ var DTOPipelineTriggerBody = z191.object({
5446
+ designSystemVersionId: z191.string()
5411
5447
  });
5412
5448
 
5413
5449
  // src/api/payloads/liveblocks/auth.ts
5414
- import { z as z191 } from "zod";
5415
- var DTOLiveblocksAuthRequest = z191.object({
5416
- room: z191.string().optional()
5450
+ import { z as z192 } from "zod";
5451
+ var DTOLiveblocksAuthRequest = z192.object({
5452
+ room: z192.string().optional()
5417
5453
  });
5418
5454
 
5419
5455
  // src/api/payloads/users/notifications/notification-settings.ts
5420
- import { z as z192 } from "zod";
5421
- var DTOUpdateUserNotificationSettingsPayload = z192.object({
5456
+ import { z as z193 } from "zod";
5457
+ var DTOUpdateUserNotificationSettingsPayload = z193.object({
5422
5458
  notificationSettings: UserNotificationSettings
5423
5459
  });
5424
- var DTOUserNotificationSettingsResponse = z192.object({
5425
- userId: z192.string(),
5426
- workspaceId: z192.string(),
5460
+ var DTOUserNotificationSettingsResponse = z193.object({
5461
+ userId: z193.string(),
5462
+ workspaceId: z193.string(),
5427
5463
  notificationSettings: UserNotificationSettings
5428
5464
  });
5429
5465
 
@@ -5431,7 +5467,7 @@ var DTOUserNotificationSettingsResponse = z192.object({
5431
5467
  var DTOUserProfileUpdatePayload = UserProfileUpdate;
5432
5468
 
5433
5469
  // src/api/payloads/workspaces/workspace-configuration.ts
5434
- import { z as z193 } from "zod";
5470
+ import { z as z194 } from "zod";
5435
5471
  var prohibitedSsoKeys = ["providerId", "metadataXml", "emailDomains"];
5436
5472
  function validateSsoPayload(ssoPayload) {
5437
5473
  const keys = [];
@@ -5454,21 +5490,21 @@ function validateSsoPayload(ssoPayload) {
5454
5490
  keys
5455
5491
  };
5456
5492
  }
5457
- var NpmRegistryInput = z193.object({
5458
- enabledScopes: z193.array(z193.string()),
5459
- customRegistryUrl: z193.string().optional(),
5460
- bypassProxy: z193.boolean().optional(),
5461
- npmProxyRegistryConfigId: z193.string().optional(),
5462
- npmProxyVersion: z193.number().optional(),
5463
- registryType: z193.string(),
5464
- authType: z193.string(),
5465
- authHeaderName: z193.string(),
5466
- authHeaderValue: z193.string(),
5467
- accessToken: z193.string(),
5468
- username: z193.string(),
5469
- password: z193.string()
5470
- });
5471
- var WorkspaceConfigurationPayload = z193.object({
5493
+ var NpmRegistryInput = z194.object({
5494
+ enabledScopes: z194.array(z194.string()),
5495
+ customRegistryUrl: z194.string().optional(),
5496
+ bypassProxy: z194.boolean().optional(),
5497
+ npmProxyRegistryConfigId: z194.string().optional(),
5498
+ npmProxyVersion: z194.number().optional(),
5499
+ registryType: z194.string(),
5500
+ authType: z194.string(),
5501
+ authHeaderName: z194.string(),
5502
+ authHeaderValue: z194.string(),
5503
+ accessToken: z194.string(),
5504
+ username: z194.string(),
5505
+ password: z194.string()
5506
+ });
5507
+ var WorkspaceConfigurationPayload = z194.object({
5472
5508
  ipWhitelist: WorkspaceIpSettings.partial().optional(),
5473
5509
  sso: SsoProvider.partial().optional(),
5474
5510
  npmRegistrySettings: NpmRegistryInput.partial().optional(),
@@ -5476,211 +5512,217 @@ var WorkspaceConfigurationPayload = z193.object({
5476
5512
  });
5477
5513
 
5478
5514
  // src/api/payloads/workspaces/workspace-integrations.ts
5479
- import { z as z194 } from "zod";
5480
- var DTOWorkspaceIntegrationOauthInput = z194.object({
5515
+ import { z as z195 } from "zod";
5516
+ var DTOWorkspaceIntegrationOauthInput = z195.object({
5481
5517
  type: IntegrationType
5482
5518
  });
5483
- var DTOWorkspaceIntegrationPATInput = z194.object({
5484
- userId: z194.string(),
5519
+ var DTOWorkspaceIntegrationPATInput = z195.object({
5520
+ userId: z195.string(),
5485
5521
  type: IntegrationType,
5486
5522
  token: IntegrationToken
5487
5523
  });
5488
- var DTOWorkspaceIntegrationGetGitObjectsInput = z194.object({
5489
- organization: z194.string().optional(),
5524
+ var DTOWorkspaceIntegrationGetGitObjectsInput = z195.object({
5525
+ organization: z195.string().optional(),
5490
5526
  // Azure Organization | Bitbucket Workspace slug | Gitlab Group and Sub-Groups | Github Account (User or Organization)
5491
- project: z194.string().optional(),
5527
+ project: z195.string().optional(),
5492
5528
  // Only for Bitbucket and Azure
5493
- repository: z194.string().optional(),
5529
+ repository: z195.string().optional(),
5494
5530
  // For all providers. Pay attention for Gitlab, they call repositories "projects".
5495
- branch: z194.string().optional(),
5531
+ branch: z195.string().optional(),
5496
5532
  // For all providers, useful for PR creations.
5497
- user: z194.string().optional()
5533
+ user: z195.string().optional()
5498
5534
  // Only for Gitlab User Repositories
5499
5535
  });
5500
5536
 
5501
5537
  // src/api/dto/design-systems/version.ts
5502
- var DTODesignSystemVersion = z195.object({
5503
- id: z195.string(),
5504
- createdAt: z195.coerce.date(),
5538
+ var DTODesignSystemVersion = z196.object({
5539
+ id: z196.string(),
5540
+ createdAt: z196.coerce.date(),
5505
5541
  meta: ObjectMeta,
5506
- version: z195.string(),
5507
- isReadonly: z195.boolean(),
5508
- changeLog: z195.string(),
5509
- designSystemId: z195.string()
5542
+ version: z196.string(),
5543
+ isReadonly: z196.boolean(),
5544
+ changeLog: z196.string(),
5545
+ designSystemId: z196.string()
5510
5546
  });
5511
- var DTODesignSystemVersionsListResponse = z195.object({
5512
- designSystemVersions: z195.array(DTODesignSystemVersion)
5547
+ var DTODesignSystemVersionsListResponse = z196.object({
5548
+ designSystemVersions: z196.array(DTODesignSystemVersion)
5513
5549
  });
5514
- var DTODesignSystemVersionGetResponse = z195.object({
5550
+ var DTODesignSystemVersionGetResponse = z196.object({
5515
5551
  designSystemVersion: DTODesignSystemVersion
5516
5552
  });
5517
- var DTODesignSystemVersionCreationResponse = z195.object({
5553
+ var DTODesignSystemVersionCreationResponse = z196.object({
5518
5554
  meta: ObjectMeta,
5519
- version: z195.string(),
5520
- changeLog: z195.string(),
5521
- isReadOnly: z195.boolean(),
5522
- designSystemId: z195.string(),
5523
- jobId: z195.string()
5524
- });
5525
- var VersionSQSPayload = z195.object({
5526
- jobId: z195.string(),
5527
- designSystemId: z195.string(),
5555
+ version: z196.string(),
5556
+ changeLog: z196.string(),
5557
+ isReadOnly: z196.boolean(),
5558
+ designSystemId: z196.string(),
5559
+ jobId: z196.string()
5560
+ });
5561
+ var VersionSQSPayload = z196.object({
5562
+ jobId: z196.string(),
5563
+ designSystemId: z196.string(),
5528
5564
  input: DTOCreateVersionInput
5529
5565
  });
5530
- var DTODesignSystemVersionJobsResponse = z195.object({
5531
- jobs: z195.array(VersionCreationJob)
5566
+ var DTODesignSystemVersionJobsResponse = z196.object({
5567
+ jobs: z196.array(VersionCreationJob)
5532
5568
  });
5533
- var DTODesignSystemVersionJobStatusResponse = z195.object({
5569
+ var DTODesignSystemVersionJobStatusResponse = z196.object({
5534
5570
  job: VersionCreationJob
5535
5571
  });
5536
5572
 
5537
5573
  // src/api/dto/design-systems/view.ts
5538
- import { z as z196 } from "zod";
5539
- var DTOElementViewColumnSharedAttributes = z196.object({
5540
- id: z196.string(),
5541
- persistentId: z196.string(),
5542
- width: z196.number()
5574
+ import { z as z197 } from "zod";
5575
+ var DTOElementViewColumnSharedAttributes = z197.object({
5576
+ id: z197.string(),
5577
+ persistentId: z197.string(),
5578
+ width: z197.number()
5543
5579
  });
5544
5580
  var DTOElementViewBasePropertyColumn = DTOElementViewColumnSharedAttributes.extend({
5545
- type: z196.literal("BaseProperty"),
5581
+ type: z197.literal("BaseProperty"),
5546
5582
  basePropertyType: ElementViewBaseColumnType
5547
5583
  });
5548
5584
  var DTOElementViewPropertyDefinitionColumn = DTOElementViewColumnSharedAttributes.extend({
5549
- type: z196.literal("PropertyDefinition"),
5550
- propertyDefinitionId: z196.string()
5585
+ type: z197.literal("PropertyDefinition"),
5586
+ propertyDefinitionId: z197.string()
5551
5587
  });
5552
5588
  var DTOElementViewThemeColumn = DTOElementViewColumnSharedAttributes.extend({
5553
- type: z196.literal("Theme"),
5554
- themeId: z196.string()
5589
+ type: z197.literal("Theme"),
5590
+ themeId: z197.string()
5555
5591
  });
5556
- var DTOElementViewColumn = z196.discriminatedUnion("type", [
5592
+ var DTOElementViewColumn = z197.discriminatedUnion("type", [
5557
5593
  DTOElementViewBasePropertyColumn,
5558
5594
  DTOElementViewPropertyDefinitionColumn,
5559
5595
  DTOElementViewThemeColumn
5560
5596
  ]);
5561
- var DTOElementView = z196.object({
5597
+ var DTOElementView = z197.object({
5562
5598
  meta: ObjectMeta,
5563
- persistentId: z196.string(),
5599
+ persistentId: z197.string(),
5564
5600
  targetElementType: ElementPropertyTargetType,
5565
- id: z196.string(),
5566
- isDefault: z196.boolean(),
5567
- columns: z196.array(DTOElementViewColumn)
5601
+ id: z197.string(),
5602
+ isDefault: z197.boolean(),
5603
+ columns: z197.array(DTOElementViewColumn)
5568
5604
  });
5569
- var DTOElementViewsListResponse = z196.object({
5570
- elementDataViews: z196.array(DTOElementView)
5605
+ var DTOElementViewsListResponse = z197.object({
5606
+ elementDataViews: z197.array(DTOElementView)
5571
5607
  });
5572
5608
 
5573
5609
  // src/api/dto/workspaces/git.ts
5574
- import { z as z197 } from "zod";
5575
- var DTOGitOrganization = z197.object({
5576
- id: z197.string(),
5577
- name: z197.string(),
5578
- url: z197.string(),
5579
- slug: z197.string()
5610
+ import { z as z198 } from "zod";
5611
+ var DTOGitOrganization = z198.object({
5612
+ id: z198.string(),
5613
+ name: z198.string(),
5614
+ url: z198.string(),
5615
+ slug: z198.string()
5580
5616
  });
5581
- var DTOGitProject = z197.object({
5582
- id: z197.string(),
5583
- name: z197.string(),
5584
- url: z197.string(),
5585
- slug: z197.string()
5617
+ var DTOGitProject = z198.object({
5618
+ id: z198.string(),
5619
+ name: z198.string(),
5620
+ url: z198.string(),
5621
+ slug: z198.string()
5586
5622
  });
5587
- var DTOGitRepository = z197.object({
5588
- id: z197.string(),
5589
- name: z197.string(),
5590
- url: z197.string(),
5591
- slug: z197.string(),
5592
- defaultBranch: z197.string().optional()
5623
+ var DTOGitRepository = z198.object({
5624
+ id: z198.string(),
5625
+ name: z198.string(),
5626
+ url: z198.string(),
5627
+ slug: z198.string(),
5628
+ defaultBranch: z198.string().optional()
5593
5629
  });
5594
- var DTOGitBranch = z197.object({
5595
- name: z197.string(),
5596
- lastCommitId: z197.string()
5630
+ var DTOGitBranch = z198.object({
5631
+ name: z198.string(),
5632
+ lastCommitId: z198.string()
5597
5633
  });
5598
5634
 
5599
5635
  // src/api/dto/workspaces/integrations.ts
5600
- import { z as z198 } from "zod";
5636
+ import { z as z199 } from "zod";
5601
5637
  var DTOIntegrationCredentials = IntegrationCredentials.omit({
5602
5638
  accessToken: true,
5603
5639
  refreshToken: true
5604
5640
  });
5605
- var DTOIntegration = z198.object({
5606
- id: z198.string(),
5607
- workspaceId: z198.string(),
5641
+ var DTOIntegration = z199.object({
5642
+ id: z199.string(),
5643
+ workspaceId: z199.string(),
5608
5644
  type: ExtendedIntegrationType,
5609
- createdAt: z198.coerce.date(),
5610
- integrationCredentials: z198.array(DTOIntegrationCredentials).optional(),
5611
- integrationDesignSystems: z198.array(IntegrationDesignSystem).optional()
5645
+ createdAt: z199.coerce.date(),
5646
+ integrationCredentials: z199.array(DTOIntegrationCredentials).optional(),
5647
+ integrationDesignSystems: z199.array(IntegrationDesignSystem).optional()
5612
5648
  });
5613
- var DTOIntegrationOAuthGetResponse = z198.object({
5614
- url: z198.string()
5649
+ var DTOIntegrationOAuthGetResponse = z199.object({
5650
+ url: z199.string()
5615
5651
  });
5616
- var DTOIntegrationPostResponse = z198.object({
5652
+ var DTOIntegrationPostResponse = z199.object({
5617
5653
  integration: DTOIntegration
5618
5654
  });
5619
- var DTOIntegrationsGetListResponse = z198.object({
5655
+ var DTOIntegrationsGetListResponse = z199.object({
5620
5656
  integrations: DTOIntegration.array()
5621
5657
  });
5622
5658
 
5623
5659
  // src/api/dto/workspaces/invitations.ts
5624
- import { z as z199 } from "zod";
5625
- var DTOWorkspaceInvitationInput = z199.object({
5626
- email: z199.string().email(),
5660
+ import { z as z200 } from "zod";
5661
+ var DTOWorkspaceInvitationInput = z200.object({
5662
+ email: z200.string().email(),
5627
5663
  role: WorkspaceRoleSchema
5628
5664
  });
5629
- var DTOWorkspaceInvitationsListInput = z199.object({
5665
+ var DTOWorkspaceInvitationsListInput = z200.object({
5630
5666
  invites: DTOWorkspaceInvitationInput.array().max(100),
5631
- designSystemId: z199.string().optional()
5667
+ designSystemId: z200.string().optional()
5632
5668
  });
5633
- var DTOWorkspaceInvitationsResponse = z199.object({
5669
+ var DTOWorkspaceInvitationsResponse = z200.object({
5634
5670
  invitations: WorkspaceInvitation.array()
5635
5671
  });
5672
+ var DTOWorkspaceInviteUpdate = z200.object({
5673
+ role: WorkspaceRoleSchema
5674
+ });
5675
+ var DTOWorkspaceInvitationUpdateResponse = z200.object({
5676
+ invitation: WorkspaceInvitation
5677
+ });
5636
5678
 
5637
5679
  // src/api/dto/workspaces/membership.ts
5638
- import { z as z202 } from "zod";
5680
+ import { z as z203 } from "zod";
5639
5681
 
5640
5682
  // src/api/dto/workspaces/workspace.ts
5641
- import { z as z201 } from "zod";
5683
+ import { z as z202 } from "zod";
5642
5684
 
5643
5685
  // src/api/dto/workspaces/npm-registry.ts
5644
- import { z as z200 } from "zod";
5686
+ import { z as z201 } from "zod";
5645
5687
  var DTONpmRegistryConfigConstants = {
5646
5688
  passwordPlaceholder: "redacted"
5647
5689
  };
5648
- var DTONpmRegistryConfig = z200.object({
5690
+ var DTONpmRegistryConfig = z201.object({
5649
5691
  // Registry basic configuration
5650
5692
  registryType: NpmRegistryType,
5651
- registryUrl: z200.string(),
5652
- customRegistryUrl: z200.string().optional(),
5693
+ registryUrl: z201.string(),
5694
+ customRegistryUrl: z201.string().optional(),
5653
5695
  // URL of Supernova NPM packages proxy
5654
- proxyUrl: z200.string(),
5696
+ proxyUrl: z201.string(),
5655
5697
  // Auth configuration
5656
5698
  authType: NpmRegistryAuthType,
5657
- accessToken: z200.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
5658
- username: z200.string().optional(),
5659
- password: z200.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
5699
+ accessToken: z201.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
5700
+ username: z201.string().optional(),
5701
+ password: z201.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
5660
5702
  // NPM package scopes for whih the proxy should be enabled
5661
- enabledScopes: z200.array(z200.string()),
5703
+ enabledScopes: z201.array(z201.string()),
5662
5704
  // True if client should bypass Supernova proxy and connect directly to the registry
5663
5705
  // (e.g. when the NPM registry is behind a VPN or firewall which prevents Supernova from accessing it)
5664
- bypassProxy: z200.boolean()
5706
+ bypassProxy: z201.boolean()
5665
5707
  });
5666
5708
 
5667
5709
  // src/api/dto/workspaces/workspace.ts
5668
- var DTOWorkspace = z201.object({
5669
- id: z201.string(),
5710
+ var DTOWorkspace = z202.object({
5711
+ id: z202.string(),
5670
5712
  profile: WorkspaceProfile,
5671
5713
  subscription: Subscription,
5672
5714
  npmRegistry: DTONpmRegistryConfig.optional()
5673
5715
  });
5674
- var DTOWorkspaceCreateInput = z201.object({
5675
- name: z201.string()
5716
+ var DTOWorkspaceCreateInput = z202.object({
5717
+ name: z202.string()
5676
5718
  });
5677
- var DTOWorkspaceResponse = z201.object({
5719
+ var DTOWorkspaceResponse = z202.object({
5678
5720
  workspace: DTOWorkspace
5679
5721
  });
5680
5722
 
5681
5723
  // src/api/dto/workspaces/membership.ts
5682
- var DTOWorkspaceRole = z202.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Contributor"]);
5683
- var DTOUserWorkspaceMembership = z202.object({
5724
+ var DTOWorkspaceRole = z203.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Contributor"]);
5725
+ var DTOUserWorkspaceMembership = z203.object({
5684
5726
  // Workspace the user is a member of
5685
5727
  workspace: DTOWorkspace,
5686
5728
  // Assigned role the user has in the workspace
@@ -5690,26 +5732,26 @@ var DTOUserWorkspaceMembership = z202.object({
5690
5732
  // when a workspace's subscription is downgraded to free tier
5691
5733
  effectiveRole: DTOWorkspaceRole
5692
5734
  });
5693
- var DTOWorkspaceMember = z202.object({
5735
+ var DTOWorkspaceMember = z203.object({
5694
5736
  user: User,
5695
5737
  role: WorkspaceRoleSchema,
5696
5738
  effectiveRole: WorkspaceRoleSchema
5697
5739
  });
5698
- var DTOUserWorkspaceMembershipsResponse = z202.object({
5699
- membership: z202.array(DTOUserWorkspaceMembership)
5740
+ var DTOUserWorkspaceMembershipsResponse = z203.object({
5741
+ membership: z203.array(DTOUserWorkspaceMembership)
5700
5742
  });
5701
- var DTOWorkspaceMembersListResponse = z202.object({
5702
- members: z202.array(DTOWorkspaceMember)
5743
+ var DTOWorkspaceMembersListResponse = z203.object({
5744
+ members: z203.array(DTOWorkspaceMember)
5703
5745
  });
5704
5746
 
5705
5747
  // src/api/dto/bff/app-bootstrap-data.ts
5706
- var DTOAppBootstrapDataQuery = z203.object({
5707
- preferredWorkspaceId: z203.string().optional(),
5708
- preferredDesignSystemId: z203.string().optional(),
5709
- preferredVersionId: z203.string().optional(),
5710
- preferredBrandId: z203.string().optional()
5748
+ var DTOAppBootstrapDataQuery = z204.object({
5749
+ preferredWorkspaceId: z204.string().optional(),
5750
+ preferredDesignSystemId: z204.string().optional(),
5751
+ preferredVersionId: z204.string().optional(),
5752
+ preferredBrandId: z204.string().optional()
5711
5753
  });
5712
- var DTOAppBootstrapDataResponse = z203.object({
5754
+ var DTOAppBootstrapDataResponse = z204.object({
5713
5755
  workspaceMembership: DTOUserWorkspaceMembership.optional(),
5714
5756
  designSystem: DTODesignSystem.optional(),
5715
5757
  version: DTODesignSystemVersion.optional(),
@@ -5717,37 +5759,37 @@ var DTOAppBootstrapDataResponse = z203.object({
5717
5759
  });
5718
5760
 
5719
5761
  // src/api/dto/collections/collection.ts
5720
- import { z as z204 } from "zod";
5721
- var DTOTokenCollection = z204.object({
5722
- id: z204.string(),
5723
- persistentId: z204.string(),
5724
- designSystemVersionId: z204.string(),
5762
+ import { z as z205 } from "zod";
5763
+ var DTOTokenCollection = z205.object({
5764
+ id: z205.string(),
5765
+ persistentId: z205.string(),
5766
+ designSystemVersionId: z205.string(),
5725
5767
  meta: ObjectMeta,
5726
- createdAt: z204.coerce.date(),
5727
- updatedAt: z204.coerce.date(),
5728
- origin: z204.object({
5729
- id: z204.string(),
5730
- sourceId: z204.string()
5768
+ createdAt: z205.coerce.date(),
5769
+ updatedAt: z205.coerce.date(),
5770
+ origin: z205.object({
5771
+ id: z205.string(),
5772
+ sourceId: z205.string()
5731
5773
  })
5732
5774
  });
5733
- var DTOTokenCollectionsListReponse = z204.object({
5775
+ var DTOTokenCollectionsListReponse = z205.object({
5734
5776
  collections: DTOTokenCollection.array()
5735
5777
  });
5736
5778
 
5737
5779
  // src/api/dto/documentation/anchor.ts
5738
- import { z as z205 } from "zod";
5780
+ import { z as z206 } from "zod";
5739
5781
  var DTODocumentationPageAnchor = DocumentationPageAnchor;
5740
- var DTOGetDocumentationPageAnchorsResponse = z205.object({
5741
- anchors: z205.array(DTODocumentationPageAnchor)
5782
+ var DTOGetDocumentationPageAnchorsResponse = z206.object({
5783
+ anchors: z206.array(DTODocumentationPageAnchor)
5742
5784
  });
5743
5785
 
5744
5786
  // src/api/dto/documentation/approvals.ts
5745
- import { z as z206 } from "zod";
5787
+ import { z as z207 } from "zod";
5746
5788
  var DTODocumentationPageApprovalState = DocumentationPageApproval;
5747
- var DTODocumentationGroupApprovalState = z206.object({
5748
- persistentId: z206.string(),
5749
- groupId: z206.string(),
5750
- designSystemVersionId: z206.string(),
5789
+ var DTODocumentationGroupApprovalState = z207.object({
5790
+ persistentId: z207.string(),
5791
+ groupId: z207.string(),
5792
+ designSystemVersionId: z207.string(),
5751
5793
  approvalState: DocumentationPageApprovalState
5752
5794
  });
5753
5795
 
@@ -5755,68 +5797,68 @@ var DTODocumentationGroupApprovalState = z206.object({
5755
5797
  var DTOPageBlockItemV2 = PageBlockItemV2;
5756
5798
 
5757
5799
  // src/api/dto/documentation/documentation-page-snapshot.ts
5758
- import { z as z211 } from "zod";
5800
+ import { z as z212 } from "zod";
5759
5801
 
5760
5802
  // src/api/dto/elements/documentation/page-v2.ts
5761
- import { z as z210 } from "zod";
5803
+ import { z as z211 } from "zod";
5762
5804
 
5763
5805
  // src/api/dto/elements/documentation/draft-state.ts
5764
- import { z as z208 } from "zod";
5806
+ import { z as z209 } from "zod";
5765
5807
 
5766
5808
  // src/api/dto/elements/documentation/item-configuration-v2.ts
5767
- import { z as z207 } from "zod";
5809
+ import { z as z208 } from "zod";
5768
5810
  var DTODocumentationItemHeaderV2 = DocumentationItemHeaderV2;
5769
- var DTODocumentationItemConfigurationV2 = z207.object({
5770
- showSidebar: z207.boolean(),
5771
- isPrivate: z207.boolean(),
5772
- isHidden: z207.boolean(),
5811
+ var DTODocumentationItemConfigurationV2 = z208.object({
5812
+ showSidebar: z208.boolean(),
5813
+ isPrivate: z208.boolean(),
5814
+ isHidden: z208.boolean(),
5773
5815
  header: DTODocumentationItemHeaderV2
5774
5816
  });
5775
5817
 
5776
5818
  // src/api/dto/elements/documentation/draft-state.ts
5777
- var DTODocumentationDraftChangeType = z208.enum(["Created", "Updated", "Deleted"]);
5778
- var DTODocumentationDraftStateCreated = z208.object({
5779
- changeType: z208.literal(DTODocumentationDraftChangeType.enum.Created)
5780
- });
5781
- var DTODocumentationDraftStateUpdated = z208.object({
5782
- changeType: z208.literal(DTODocumentationDraftChangeType.enum.Updated),
5783
- changes: z208.object({
5784
- previousTitle: z208.string().optional(),
5819
+ var DTODocumentationDraftChangeType = z209.enum(["Created", "Updated", "Deleted"]);
5820
+ var DTODocumentationDraftStateCreated = z209.object({
5821
+ changeType: z209.literal(DTODocumentationDraftChangeType.enum.Created)
5822
+ });
5823
+ var DTODocumentationDraftStateUpdated = z209.object({
5824
+ changeType: z209.literal(DTODocumentationDraftChangeType.enum.Updated),
5825
+ changes: z209.object({
5826
+ previousTitle: z209.string().optional(),
5785
5827
  previousConfiguration: DTODocumentationItemConfigurationV2.optional(),
5786
- previousContentHash: z208.string().optional()
5828
+ previousContentHash: z209.string().optional()
5787
5829
  })
5788
5830
  });
5789
- var DTODocumentationDraftStateDeleted = z208.object({
5790
- changeType: z208.literal(DTODocumentationDraftChangeType.enum.Deleted),
5791
- deletedAt: z208.coerce.date(),
5792
- deletedByUserId: z208.string()
5831
+ var DTODocumentationDraftStateDeleted = z209.object({
5832
+ changeType: z209.literal(DTODocumentationDraftChangeType.enum.Deleted),
5833
+ deletedAt: z209.coerce.date(),
5834
+ deletedByUserId: z209.string()
5793
5835
  });
5794
- var DTODocumentationDraftState = z208.discriminatedUnion("changeType", [
5836
+ var DTODocumentationDraftState = z209.discriminatedUnion("changeType", [
5795
5837
  DTODocumentationDraftStateCreated,
5796
5838
  DTODocumentationDraftStateUpdated,
5797
5839
  DTODocumentationDraftStateDeleted
5798
5840
  ]);
5799
5841
 
5800
5842
  // src/api/dto/elements/documentation/metadata.ts
5801
- import { z as z209 } from "zod";
5802
- var DTODocumentationPublishMetadata = z209.object({
5803
- lastPublishedByUserId: z209.string(),
5804
- lastPublishedAt: z209.coerce.date()
5843
+ import { z as z210 } from "zod";
5844
+ var DTODocumentationPublishMetadata = z210.object({
5845
+ lastPublishedByUserId: z210.string(),
5846
+ lastPublishedAt: z210.coerce.date()
5805
5847
  });
5806
5848
 
5807
5849
  // src/api/dto/elements/documentation/page-v2.ts
5808
- var DTODocumentationPageV2 = z210.object({
5809
- id: z210.string(),
5810
- persistentId: z210.string(),
5811
- designSystemVersionId: z210.string(),
5812
- title: z210.string(),
5850
+ var DTODocumentationPageV2 = z211.object({
5851
+ id: z211.string(),
5852
+ persistentId: z211.string(),
5853
+ designSystemVersionId: z211.string(),
5854
+ title: z211.string(),
5813
5855
  configuration: DTODocumentationItemConfigurationV2,
5814
- shortPersistentId: z210.string(),
5815
- slug: z210.string().optional(),
5816
- userSlug: z210.string().optional(),
5817
- createdAt: z210.coerce.date(),
5818
- updatedAt: z210.coerce.date(),
5819
- path: z210.string(),
5856
+ shortPersistentId: z211.string(),
5857
+ slug: z211.string().optional(),
5858
+ userSlug: z211.string().optional(),
5859
+ createdAt: z211.coerce.date(),
5860
+ updatedAt: z211.coerce.date(),
5861
+ path: z211.string(),
5820
5862
  /** Defined when a page has changed since last publish and can be included into a partial publish */
5821
5863
  draftState: DTODocumentationDraftState.optional(),
5822
5864
  /** Defined if a page was published at least once and contains metadata about last publish */
@@ -5824,197 +5866,197 @@ var DTODocumentationPageV2 = z210.object({
5824
5866
  /** Defines the approval state of the documentation page */
5825
5867
  approvalState: DTODocumentationPageApprovalState.optional(),
5826
5868
  // Backward compatibility
5827
- type: z210.literal("Page")
5869
+ type: z211.literal("Page")
5828
5870
  });
5829
- var DTOCreateDocumentationPageInputV2 = z210.object({
5871
+ var DTOCreateDocumentationPageInputV2 = z211.object({
5830
5872
  // Identifier
5831
- persistentId: z210.string(),
5873
+ persistentId: z211.string(),
5832
5874
  // Page properties
5833
- title: z210.string(),
5875
+ title: z211.string(),
5834
5876
  configuration: DTODocumentationItemConfigurationV2.partial().optional(),
5835
5877
  // Page placement properties
5836
- parentPersistentId: z210.string(),
5837
- afterPersistentId: z210.string().nullish()
5878
+ parentPersistentId: z211.string(),
5879
+ afterPersistentId: z211.string().nullish()
5838
5880
  });
5839
- var DTOUpdateDocumentationPageInputV2 = z210.object({
5881
+ var DTOUpdateDocumentationPageInputV2 = z211.object({
5840
5882
  // Identifier of the group to update
5841
- id: z210.string(),
5883
+ id: z211.string(),
5842
5884
  // Page properties
5843
- title: z210.string().optional(),
5885
+ title: z211.string().optional(),
5844
5886
  configuration: DTODocumentationItemConfigurationV2.partial().optional()
5845
5887
  });
5846
- var DTOMoveDocumentationPageInputV2 = z210.object({
5888
+ var DTOMoveDocumentationPageInputV2 = z211.object({
5847
5889
  // Identifier of the group to update
5848
- id: z210.string(),
5890
+ id: z211.string(),
5849
5891
  // Page placement properties
5850
- parentPersistentId: z210.string(),
5851
- afterPersistentId: z210.string().nullish()
5892
+ parentPersistentId: z211.string(),
5893
+ afterPersistentId: z211.string().nullish()
5852
5894
  });
5853
- var DTODuplicateDocumentationPageInputV2 = z210.object({
5895
+ var DTODuplicateDocumentationPageInputV2 = z211.object({
5854
5896
  // Identifier of the page to duplicate from
5855
- id: z210.string(),
5897
+ id: z211.string(),
5856
5898
  // New page persistent id
5857
- persistentId: z210.string(),
5899
+ persistentId: z211.string(),
5858
5900
  // Page placement properties
5859
- parentPersistentId: z210.string(),
5860
- afterPersistentId: z210.string().nullish()
5901
+ parentPersistentId: z211.string(),
5902
+ afterPersistentId: z211.string().nullish()
5861
5903
  });
5862
- var DTODeleteDocumentationPageInputV2 = z210.object({
5904
+ var DTODeleteDocumentationPageInputV2 = z211.object({
5863
5905
  // Identifier
5864
- id: z210.string()
5906
+ id: z211.string()
5865
5907
  });
5866
- var DTORestoreDocumentationPageInput = z210.object({
5867
- persistentId: z210.string(),
5868
- snapshotId: z210.string().optional()
5908
+ var DTORestoreDocumentationPageInput = z211.object({
5909
+ persistentId: z211.string(),
5910
+ snapshotId: z211.string().optional()
5869
5911
  });
5870
- var DTORestoreDocumentationGroupInput = z210.object({
5871
- persistentId: z210.string(),
5872
- snapshotId: z210.string().optional()
5912
+ var DTORestoreDocumentationGroupInput = z211.object({
5913
+ persistentId: z211.string(),
5914
+ snapshotId: z211.string().optional()
5873
5915
  });
5874
- var DTODocumentationPageApprovalStateChangeInput = z210.object({
5875
- persistentId: z210.string(),
5916
+ var DTODocumentationPageApprovalStateChangeInput = z211.object({
5917
+ persistentId: z211.string(),
5876
5918
  approvalState: DocumentationPageApprovalState.optional()
5877
5919
  });
5878
5920
 
5879
5921
  // src/api/dto/documentation/documentation-page-snapshot.ts
5880
- var DTODocumentationPageSnapshot = z211.object({
5881
- id: z211.string(),
5882
- designSystemVersionId: z211.string(),
5883
- createdAt: z211.string(),
5884
- updatedAt: z211.string(),
5922
+ var DTODocumentationPageSnapshot = z212.object({
5923
+ id: z212.string(),
5924
+ designSystemVersionId: z212.string(),
5925
+ createdAt: z212.string(),
5926
+ updatedAt: z212.string(),
5885
5927
  documentationPage: DTODocumentationPageV2,
5886
- pageContentHash: z211.string(),
5928
+ pageContentHash: z212.string(),
5887
5929
  reason: DesignElementSnapshotReason
5888
5930
  });
5889
5931
 
5890
5932
  // src/api/dto/documentation/link-preview.ts
5891
- import { z as z212 } from "zod";
5892
- var DTODocumentationLinkPreviewResponse = z212.object({
5933
+ import { z as z213 } from "zod";
5934
+ var DTODocumentationLinkPreviewResponse = z213.object({
5893
5935
  linkPreview: DocumentationLinkPreview
5894
5936
  });
5895
- var DTODocumentationLinkPreviewRequest = z212.object({
5896
- url: z212.string().optional(),
5897
- documentationItemPersistentId: z212.string().optional()
5937
+ var DTODocumentationLinkPreviewRequest = z213.object({
5938
+ url: z213.string().optional(),
5939
+ documentationItemPersistentId: z213.string().optional()
5898
5940
  });
5899
5941
 
5900
5942
  // src/api/dto/documentation/publish.ts
5901
- import { z as z216 } from "zod";
5943
+ import { z as z217 } from "zod";
5902
5944
 
5903
5945
  // src/api/dto/export/exporter.ts
5904
- import { z as z213 } from "zod";
5905
- var DTOExporterType = z213.enum(["documentation", "code"]);
5906
- var DTOExporterSource = z213.enum(["git", "upload"]);
5907
- var DTOExporterMembershipRole = z213.enum(["Owner", "OwnerArchived", "User"]);
5908
- var DTOExporter = z213.object({
5909
- id: z213.string(),
5910
- name: z213.string(),
5911
- isPrivate: z213.boolean(),
5946
+ import { z as z214 } from "zod";
5947
+ var DTOExporterType = z214.enum(["documentation", "code"]);
5948
+ var DTOExporterSource = z214.enum(["git", "upload"]);
5949
+ var DTOExporterMembershipRole = z214.enum(["Owner", "OwnerArchived", "User"]);
5950
+ var DTOExporter = z214.object({
5951
+ id: z214.string(),
5952
+ name: z214.string(),
5953
+ isPrivate: z214.boolean(),
5912
5954
  exporterType: DTOExporterType,
5913
- isDefaultDocumentationExporter: z213.boolean(),
5914
- iconURL: z213.string().optional(),
5955
+ isDefaultDocumentationExporter: z214.boolean(),
5956
+ iconURL: z214.string().optional(),
5915
5957
  configurationProperties: PulsarContributionConfigurationProperty.array(),
5916
5958
  customBlocks: PulsarCustomBlock.array(),
5917
- blockVariants: z213.record(z213.string(), PulsarContributionVariant.array()),
5918
- usesBrands: z213.boolean(),
5919
- usesThemes: z213.boolean(),
5959
+ blockVariants: z214.record(z214.string(), PulsarContributionVariant.array()),
5960
+ usesBrands: z214.boolean(),
5961
+ usesThemes: z214.boolean(),
5920
5962
  source: DTOExporterSource,
5921
- gitUrl: z213.string().optional(),
5922
- gitBranch: z213.string().optional(),
5923
- gitDirectory: z213.string().optional()
5963
+ gitUrl: z214.string().optional(),
5964
+ gitBranch: z214.string().optional(),
5965
+ gitDirectory: z214.string().optional()
5924
5966
  });
5925
- var DTOExporterMembership = z213.object({
5926
- workspaceId: z213.string(),
5927
- exporterId: z213.string(),
5967
+ var DTOExporterMembership = z214.object({
5968
+ workspaceId: z214.string(),
5969
+ exporterId: z214.string(),
5928
5970
  role: DTOExporterMembershipRole
5929
5971
  });
5930
- var DTOExporterCreateOutput = z213.object({
5972
+ var DTOExporterCreateOutput = z214.object({
5931
5973
  exporter: DTOExporter,
5932
5974
  membership: DTOExporterMembership
5933
5975
  });
5934
- var DTOExporterGitProviderEnum = z213.enum(["github", "gitlab", "bitbucket", "azure"]);
5935
- var DTOExporterCreateInput = z213.object({
5936
- url: z213.string(),
5976
+ var DTOExporterGitProviderEnum = z214.enum(["github", "gitlab", "bitbucket", "azure"]);
5977
+ var DTOExporterCreateInput = z214.object({
5978
+ url: z214.string(),
5937
5979
  provider: DTOExporterGitProviderEnum
5938
5980
  });
5939
- var DTOExporterUpdateInput = z213.object({
5940
- url: z213.string().optional()
5981
+ var DTOExporterUpdateInput = z214.object({
5982
+ url: z214.string().optional()
5941
5983
  });
5942
5984
 
5943
5985
  // src/api/dto/export/filter.ts
5944
5986
  var DTOExportJobsListFilter = ExportJobFindByFilter;
5945
5987
 
5946
5988
  // src/api/dto/export/job.ts
5947
- import { z as z214 } from "zod";
5948
- var DTOExportJobCreatedBy = z214.object({
5949
- userId: z214.string(),
5950
- userName: z214.string()
5989
+ import { z as z215 } from "zod";
5990
+ var DTOExportJobCreatedBy = z215.object({
5991
+ userId: z215.string(),
5992
+ userName: z215.string()
5951
5993
  });
5952
- var DTOExportJobDesignSystemPreview = z214.object({
5953
- id: z214.string(),
5994
+ var DTOExportJobDesignSystemPreview = z215.object({
5995
+ id: z215.string(),
5954
5996
  meta: ObjectMeta
5955
5997
  });
5956
- var DTOExportJobDesignSystemVersionPreview = z214.object({
5957
- id: z214.string(),
5998
+ var DTOExportJobDesignSystemVersionPreview = z215.object({
5999
+ id: z215.string(),
5958
6000
  meta: ObjectMeta,
5959
- version: z214.string(),
5960
- isReadonly: z214.boolean()
6001
+ version: z215.string(),
6002
+ isReadonly: z215.boolean()
5961
6003
  });
5962
- var DTOExportJobDestinations = z214.object({
6004
+ var DTOExportJobDestinations = z215.object({
5963
6005
  s3: ExporterDestinationS3.optional(),
5964
6006
  azure: ExporterDestinationAzure.optional(),
5965
6007
  bitbucket: ExporterDestinationBitbucket.optional(),
5966
6008
  github: ExporterDestinationGithub.optional(),
5967
6009
  gitlab: ExporterDestinationGitlab.optional(),
5968
6010
  documentation: ExporterDestinationDocs.optional(),
5969
- webhookUrl: z214.string().optional()
6011
+ webhookUrl: z215.string().optional()
5970
6012
  });
5971
6013
  var DTOExportJobResult = ExportJobResult.omit({
5972
6014
  sndocs: true
5973
6015
  }).extend({
5974
6016
  documentation: ExportJobDocsDestinationResult.optional()
5975
6017
  });
5976
- var DTOExportJob = z214.object({
5977
- id: z214.string(),
5978
- createdAt: z214.coerce.date(),
5979
- finishedAt: z214.coerce.date().optional(),
5980
- index: z214.number().optional(),
6018
+ var DTOExportJob = z215.object({
6019
+ id: z215.string(),
6020
+ createdAt: z215.coerce.date(),
6021
+ finishedAt: z215.coerce.date().optional(),
6022
+ index: z215.number().optional(),
5981
6023
  status: ExportJobStatus,
5982
- estimatedExecutionTime: z214.number().optional(),
6024
+ estimatedExecutionTime: z215.number().optional(),
5983
6025
  createdBy: DTOExportJobCreatedBy.optional(),
5984
6026
  designSystem: DTOExportJobDesignSystemPreview,
5985
6027
  designSystemVersion: DTOExportJobDesignSystemVersionPreview,
5986
6028
  destinations: DTOExportJobDestinations,
5987
- exporterId: z214.string(),
5988
- scheduleId: z214.string().optional(),
6029
+ exporterId: z215.string(),
6030
+ scheduleId: z215.string().optional(),
5989
6031
  result: DTOExportJobResult.optional(),
5990
- brandPersistentId: z214.string().optional(),
5991
- themePersistentId: z214.string().optional(),
5992
- themePersistentIds: z214.string().array().optional()
6032
+ brandPersistentId: z215.string().optional(),
6033
+ themePersistentId: z215.string().optional(),
6034
+ themePersistentIds: z215.string().array().optional()
5993
6035
  });
5994
- var DTOExportJobResponse = z214.object({
6036
+ var DTOExportJobResponse = z215.object({
5995
6037
  job: DTOExportJob
5996
6038
  });
5997
6039
 
5998
6040
  // src/api/dto/export/pipeline.ts
5999
- import { z as z215 } from "zod";
6000
- var DTOPipeline = z215.object({
6001
- id: z215.string(),
6002
- name: z215.string(),
6041
+ import { z as z216 } from "zod";
6042
+ var DTOPipeline = z216.object({
6043
+ id: z216.string(),
6044
+ name: z216.string(),
6003
6045
  eventType: PipelineEventType,
6004
- isEnabled: z215.boolean(),
6005
- workspaceId: z215.string(),
6006
- designSystemId: z215.string(),
6007
- exporterId: z215.string(),
6008
- brandPersistentId: z215.string().optional(),
6009
- themePersistentId: z215.string().optional(),
6010
- themePersistentIds: z215.string().array().optional(),
6046
+ isEnabled: z216.boolean(),
6047
+ workspaceId: z216.string(),
6048
+ designSystemId: z216.string(),
6049
+ exporterId: z216.string(),
6050
+ brandPersistentId: z216.string().optional(),
6051
+ themePersistentId: z216.string().optional(),
6052
+ themePersistentIds: z216.string().array().optional(),
6011
6053
  ...ExportDestinationsMap.shape,
6012
6054
  latestJobs: DTOExportJob.array()
6013
6055
  });
6014
6056
 
6015
6057
  // src/api/dto/documentation/publish.ts
6016
6058
  var DTOPublishDocumentationChanges = ExportJobDocumentationChanges;
6017
- var DTOPublishDocumentationRequest = z216.object({
6059
+ var DTOPublishDocumentationRequest = z217.object({
6018
6060
  environment: PublishedDocEnvironment,
6019
6061
  /**
6020
6062
  * If defined, this allows narrowing down what is published to a set of specific pages and groups
@@ -6022,42 +6064,42 @@ var DTOPublishDocumentationRequest = z216.object({
6022
6064
  */
6023
6065
  changes: DTOPublishDocumentationChanges.optional()
6024
6066
  });
6025
- var DTOPublishDocumentationResponse = z216.object({
6067
+ var DTOPublishDocumentationResponse = z217.object({
6026
6068
  job: DTOExportJob
6027
6069
  });
6028
6070
 
6029
6071
  // src/api/dto/elements/components/figma-component.ts
6030
- import { z as z217 } from "zod";
6072
+ import { z as z218 } from "zod";
6031
6073
  var DTOFigmaComponentProperty = FigmaComponentProperty;
6032
- var DTOFigmaComponentPropertyMap = z217.record(DTOFigmaComponentProperty);
6033
- var DTOFigmaComponent = z217.object({
6034
- id: z217.string(),
6035
- persistentId: z217.string(),
6036
- designSystemVersionId: z217.string(),
6037
- brandId: z217.string(),
6038
- thumbnailUrl: z217.string().optional(),
6039
- svgUrl: z217.string().optional(),
6040
- exportProperties: z217.object({
6041
- isAsset: z217.boolean()
6074
+ var DTOFigmaComponentPropertyMap = z218.record(DTOFigmaComponentProperty);
6075
+ var DTOFigmaComponent = z218.object({
6076
+ id: z218.string(),
6077
+ persistentId: z218.string(),
6078
+ designSystemVersionId: z218.string(),
6079
+ brandId: z218.string(),
6080
+ thumbnailUrl: z218.string().optional(),
6081
+ svgUrl: z218.string().optional(),
6082
+ exportProperties: z218.object({
6083
+ isAsset: z218.boolean()
6042
6084
  }),
6043
- createdAt: z217.coerce.date(),
6044
- updatedAt: z217.coerce.date(),
6085
+ createdAt: z218.coerce.date(),
6086
+ updatedAt: z218.coerce.date(),
6045
6087
  meta: ObjectMeta,
6046
6088
  originComponent: FigmaComponentOrigin.optional(),
6047
- parentComponentPersistentId: z217.string().optional(),
6048
- childrenPersistentIds: z217.string().array().optional(),
6089
+ parentComponentPersistentId: z218.string().optional(),
6090
+ childrenPersistentIds: z218.string().array().optional(),
6049
6091
  componentPropertyDefinitions: DTOFigmaComponentPropertyMap.optional(),
6050
- variantPropertyValues: z217.record(z217.string()).optional()
6092
+ variantPropertyValues: z218.record(z218.string()).optional()
6051
6093
  });
6052
- var DTOFigmaComponentListResponse = z217.object({
6094
+ var DTOFigmaComponentListResponse = z218.object({
6053
6095
  components: DTOFigmaComponent.array()
6054
6096
  });
6055
6097
 
6056
6098
  // src/api/dto/elements/documentation/group-action.ts
6057
- import { z as z219 } from "zod";
6099
+ import { z as z220 } from "zod";
6058
6100
 
6059
6101
  // src/api/dto/elements/documentation/group-v2.ts
6060
- import { z as z218 } from "zod";
6102
+ import { z as z219 } from "zod";
6061
6103
  var DTODocumentationGroupV2 = ElementGroup.omit({
6062
6104
  sortOrder: true,
6063
6105
  parentPersistentId: true,
@@ -6067,13 +6109,13 @@ var DTODocumentationGroupV2 = ElementGroup.omit({
6067
6109
  data: true,
6068
6110
  shortPersistentId: true
6069
6111
  }).extend({
6070
- title: z218.string(),
6071
- isRoot: z218.boolean(),
6072
- childrenIds: z218.array(z218.string()),
6112
+ title: z219.string(),
6113
+ isRoot: z219.boolean(),
6114
+ childrenIds: z219.array(z219.string()),
6073
6115
  groupBehavior: DocumentationGroupBehavior,
6074
- shortPersistentId: z218.string(),
6116
+ shortPersistentId: z219.string(),
6075
6117
  configuration: DTODocumentationItemConfigurationV2,
6076
- type: z218.literal("Group"),
6118
+ type: z219.literal("Group"),
6077
6119
  /** Defined when a group has changed since last publish and can be included into a partial publish */
6078
6120
  draftState: DTODocumentationDraftState.optional(),
6079
6121
  /** Defined if a group was published at least once and contains metadata about last publish */
@@ -6081,127 +6123,127 @@ var DTODocumentationGroupV2 = ElementGroup.omit({
6081
6123
  //** An approval state for frontend to utilize. */
6082
6124
  approvalState: DTODocumentationGroupApprovalState.optional()
6083
6125
  });
6084
- var DTOCreateDocumentationGroupInput = z218.object({
6126
+ var DTOCreateDocumentationGroupInput = z219.object({
6085
6127
  // Identifier
6086
- persistentId: z218.string(),
6128
+ persistentId: z219.string(),
6087
6129
  // Group properties
6088
- title: z218.string(),
6130
+ title: z219.string(),
6089
6131
  configuration: DTODocumentationItemConfigurationV2.partial().optional(),
6090
6132
  // Group placement properties
6091
- afterPersistentId: z218.string().nullish(),
6092
- parentPersistentId: z218.string()
6133
+ afterPersistentId: z219.string().nullish(),
6134
+ parentPersistentId: z219.string()
6093
6135
  });
6094
- var DTOUpdateDocumentationGroupInput = z218.object({
6136
+ var DTOUpdateDocumentationGroupInput = z219.object({
6095
6137
  // Identifier of the group to update
6096
- id: z218.string(),
6138
+ id: z219.string(),
6097
6139
  // Group properties
6098
- title: z218.string().optional(),
6140
+ title: z219.string().optional(),
6099
6141
  configuration: DTODocumentationItemConfigurationV2.partial().optional()
6100
6142
  });
6101
- var DTOMoveDocumentationGroupInput = z218.object({
6143
+ var DTOMoveDocumentationGroupInput = z219.object({
6102
6144
  // Identifier of the group to update
6103
- id: z218.string(),
6145
+ id: z219.string(),
6104
6146
  // Group placement properties
6105
- parentPersistentId: z218.string(),
6106
- afterPersistentId: z218.string().nullish()
6147
+ parentPersistentId: z219.string(),
6148
+ afterPersistentId: z219.string().nullish()
6107
6149
  });
6108
- var DTODuplicateDocumentationGroupInput = z218.object({
6150
+ var DTODuplicateDocumentationGroupInput = z219.object({
6109
6151
  // Identifier of the group to duplicate from
6110
- id: z218.string(),
6152
+ id: z219.string(),
6111
6153
  // New group persistent id
6112
- persistentId: z218.string(),
6154
+ persistentId: z219.string(),
6113
6155
  // Group placement properties
6114
- afterPersistentId: z218.string().nullish(),
6115
- parentPersistentId: z218.string()
6156
+ afterPersistentId: z219.string().nullish(),
6157
+ parentPersistentId: z219.string()
6116
6158
  });
6117
- var DTOCreateDocumentationTabInput = z218.object({
6159
+ var DTOCreateDocumentationTabInput = z219.object({
6118
6160
  // New group persistent id
6119
- persistentId: z218.string(),
6161
+ persistentId: z219.string(),
6120
6162
  // If this is page, we will attempt to convert it to tab
6121
6163
  // If this is tab group, we will add a new tab to it
6122
- fromItemPersistentId: z218.string(),
6123
- tabName: z218.string()
6164
+ fromItemPersistentId: z219.string(),
6165
+ tabName: z219.string()
6124
6166
  });
6125
- var DTODeleteDocumentationTabGroupInput = z218.object({
6167
+ var DTODeleteDocumentationTabGroupInput = z219.object({
6126
6168
  // Deleted group id
6127
- id: z218.string()
6169
+ id: z219.string()
6128
6170
  });
6129
- var DTODeleteDocumentationGroupInput = z218.object({
6171
+ var DTODeleteDocumentationGroupInput = z219.object({
6130
6172
  // Identifier
6131
- id: z218.string(),
6173
+ id: z219.string(),
6132
6174
  // Deletion options
6133
- deleteSubtree: z218.boolean().default(false)
6175
+ deleteSubtree: z219.boolean().default(false)
6134
6176
  });
6135
6177
 
6136
6178
  // src/api/dto/elements/documentation/group-action.ts
6137
- var SuccessPayload = z219.object({
6138
- success: z219.literal(true)
6179
+ var SuccessPayload = z220.object({
6180
+ success: z220.literal(true)
6139
6181
  });
6140
- var DTODocumentationGroupCreateActionOutputV2 = z219.object({
6141
- type: z219.literal("DocumentationGroupCreate"),
6182
+ var DTODocumentationGroupCreateActionOutputV2 = z220.object({
6183
+ type: z220.literal("DocumentationGroupCreate"),
6142
6184
  output: SuccessPayload
6143
6185
  });
6144
- var DTODocumentationTabCreateActionOutputV2 = z219.object({
6145
- type: z219.literal("DocumentationTabCreate"),
6186
+ var DTODocumentationTabCreateActionOutputV2 = z220.object({
6187
+ type: z220.literal("DocumentationTabCreate"),
6146
6188
  output: SuccessPayload
6147
6189
  });
6148
- var DTODocumentationGroupUpdateActionOutputV2 = z219.object({
6149
- type: z219.literal("DocumentationGroupUpdate"),
6190
+ var DTODocumentationGroupUpdateActionOutputV2 = z220.object({
6191
+ type: z220.literal("DocumentationGroupUpdate"),
6150
6192
  output: SuccessPayload
6151
6193
  });
6152
- var DTODocumentationGroupMoveActionOutputV2 = z219.object({
6153
- type: z219.literal("DocumentationGroupMove"),
6194
+ var DTODocumentationGroupMoveActionOutputV2 = z220.object({
6195
+ type: z220.literal("DocumentationGroupMove"),
6154
6196
  output: SuccessPayload
6155
6197
  });
6156
- var DTODocumentationGroupDuplicateActionOutputV2 = z219.object({
6157
- type: z219.literal("DocumentationGroupDuplicate"),
6198
+ var DTODocumentationGroupDuplicateActionOutputV2 = z220.object({
6199
+ type: z220.literal("DocumentationGroupDuplicate"),
6158
6200
  output: SuccessPayload
6159
6201
  });
6160
- var DTODocumentationGroupDeleteActionOutputV2 = z219.object({
6161
- type: z219.literal("DocumentationGroupDelete"),
6202
+ var DTODocumentationGroupDeleteActionOutputV2 = z220.object({
6203
+ type: z220.literal("DocumentationGroupDelete"),
6162
6204
  output: SuccessPayload
6163
6205
  });
6164
- var DTODocumentationTabGroupDeleteActionOutputV2 = z219.object({
6165
- type: z219.literal("DocumentationTabGroupDelete"),
6206
+ var DTODocumentationTabGroupDeleteActionOutputV2 = z220.object({
6207
+ type: z220.literal("DocumentationTabGroupDelete"),
6166
6208
  output: SuccessPayload
6167
6209
  });
6168
- var DTODocumentationGroupCreateActionInputV2 = z219.object({
6169
- type: z219.literal("DocumentationGroupCreate"),
6210
+ var DTODocumentationGroupCreateActionInputV2 = z220.object({
6211
+ type: z220.literal("DocumentationGroupCreate"),
6170
6212
  input: DTOCreateDocumentationGroupInput
6171
6213
  });
6172
- var DTODocumentationTabCreateActionInputV2 = z219.object({
6173
- type: z219.literal("DocumentationTabCreate"),
6214
+ var DTODocumentationTabCreateActionInputV2 = z220.object({
6215
+ type: z220.literal("DocumentationTabCreate"),
6174
6216
  input: DTOCreateDocumentationTabInput
6175
6217
  });
6176
- var DTODocumentationGroupUpdateActionInputV2 = z219.object({
6177
- type: z219.literal("DocumentationGroupUpdate"),
6218
+ var DTODocumentationGroupUpdateActionInputV2 = z220.object({
6219
+ type: z220.literal("DocumentationGroupUpdate"),
6178
6220
  input: DTOUpdateDocumentationGroupInput
6179
6221
  });
6180
- var DTODocumentationGroupMoveActionInputV2 = z219.object({
6181
- type: z219.literal("DocumentationGroupMove"),
6222
+ var DTODocumentationGroupMoveActionInputV2 = z220.object({
6223
+ type: z220.literal("DocumentationGroupMove"),
6182
6224
  input: DTOMoveDocumentationGroupInput
6183
6225
  });
6184
- var DTODocumentationGroupDuplicateActionInputV2 = z219.object({
6185
- type: z219.literal("DocumentationGroupDuplicate"),
6226
+ var DTODocumentationGroupDuplicateActionInputV2 = z220.object({
6227
+ type: z220.literal("DocumentationGroupDuplicate"),
6186
6228
  input: DTODuplicateDocumentationGroupInput
6187
6229
  });
6188
- var DTODocumentationGroupDeleteActionInputV2 = z219.object({
6189
- type: z219.literal("DocumentationGroupDelete"),
6230
+ var DTODocumentationGroupDeleteActionInputV2 = z220.object({
6231
+ type: z220.literal("DocumentationGroupDelete"),
6190
6232
  input: DTODeleteDocumentationGroupInput
6191
6233
  });
6192
- var DTODocumentationTabGroupDeleteActionInputV2 = z219.object({
6193
- type: z219.literal("DocumentationTabGroupDelete"),
6234
+ var DTODocumentationTabGroupDeleteActionInputV2 = z220.object({
6235
+ type: z220.literal("DocumentationTabGroupDelete"),
6194
6236
  input: DTODeleteDocumentationTabGroupInput
6195
6237
  });
6196
6238
 
6197
6239
  // src/api/dto/elements/documentation/group-v1.ts
6198
- import { z as z221 } from "zod";
6240
+ import { z as z222 } from "zod";
6199
6241
 
6200
6242
  // src/api/dto/elements/documentation/item-configuration-v1.ts
6201
- import { z as z220 } from "zod";
6202
- var DocumentationColorV1 = z220.object({
6203
- aliasTo: z220.string().optional(),
6204
- value: z220.string().optional()
6243
+ import { z as z221 } from "zod";
6244
+ var DocumentationColorV1 = z221.object({
6245
+ aliasTo: z221.string().optional(),
6246
+ value: z221.string().optional()
6205
6247
  });
6206
6248
  var DTODocumentationItemHeaderV1 = DocumentationItemHeaderV1.omit({
6207
6249
  foregroundColor: true,
@@ -6210,10 +6252,10 @@ var DTODocumentationItemHeaderV1 = DocumentationItemHeaderV1.omit({
6210
6252
  foregroundColor: DocumentationColorV1.optional(),
6211
6253
  backgroundColor: DocumentationColorV1.optional()
6212
6254
  });
6213
- var DTODocumentationItemConfigurationV1 = z220.object({
6214
- showSidebar: z220.boolean(),
6215
- isPrivate: z220.boolean(),
6216
- isHidden: z220.boolean(),
6255
+ var DTODocumentationItemConfigurationV1 = z221.object({
6256
+ showSidebar: z221.boolean(),
6257
+ isPrivate: z221.boolean(),
6258
+ isHidden: z221.boolean(),
6217
6259
  header: DTODocumentationItemHeaderV1
6218
6260
  });
6219
6261
 
@@ -6227,27 +6269,27 @@ var DTODocumentationGroupStructureV1 = ElementGroup.omit({
6227
6269
  data: true,
6228
6270
  shortPersistentId: true
6229
6271
  }).extend({
6230
- title: z221.string(),
6231
- isRoot: z221.boolean(),
6232
- childrenIds: z221.array(z221.string()),
6272
+ title: z222.string(),
6273
+ isRoot: z222.boolean(),
6274
+ childrenIds: z222.array(z222.string()),
6233
6275
  groupBehavior: DocumentationGroupBehavior,
6234
- shortPersistentId: z221.string(),
6235
- type: z221.literal("Group")
6276
+ shortPersistentId: z222.string(),
6277
+ type: z222.literal("Group")
6236
6278
  });
6237
6279
  var DTODocumentationGroupV1 = DTODocumentationGroupStructureV1.extend({
6238
6280
  configuration: DTODocumentationItemConfigurationV1
6239
6281
  });
6240
6282
 
6241
6283
  // src/api/dto/elements/documentation/hierarchy.ts
6242
- import { z as z222 } from "zod";
6243
- var DTODocumentationHierarchyV2 = z222.object({
6244
- pages: z222.array(
6284
+ import { z as z223 } from "zod";
6285
+ var DTODocumentationHierarchyV2 = z223.object({
6286
+ pages: z223.array(
6245
6287
  DTODocumentationPageV2.extend({
6246
6288
  /** Defined when a page has changed since last publish and can be included into a partial publish */
6247
6289
  draftState: DTODocumentationDraftState.optional()
6248
6290
  })
6249
6291
  ),
6250
- groups: z222.array(
6292
+ groups: z223.array(
6251
6293
  DTODocumentationGroupV2.extend({
6252
6294
  /** Defined when a page has changed since last publish and can be included into a partial publish */
6253
6295
  draftState: DTODocumentationDraftState.optional()
@@ -6256,84 +6298,84 @@ var DTODocumentationHierarchyV2 = z222.object({
6256
6298
  });
6257
6299
 
6258
6300
  // src/api/dto/elements/documentation/page-actions-v2.ts
6259
- import { z as z223 } from "zod";
6260
- var SuccessPayload2 = z223.object({
6261
- success: z223.literal(true)
6301
+ import { z as z224 } from "zod";
6302
+ var SuccessPayload2 = z224.object({
6303
+ success: z224.literal(true)
6262
6304
  });
6263
- var DTODocumentationPageCreateActionOutputV2 = z223.object({
6264
- type: z223.literal("DocumentationPageCreate"),
6305
+ var DTODocumentationPageCreateActionOutputV2 = z224.object({
6306
+ type: z224.literal("DocumentationPageCreate"),
6265
6307
  output: SuccessPayload2
6266
6308
  });
6267
- var DTODocumentationPageUpdateActionOutputV2 = z223.object({
6268
- type: z223.literal("DocumentationPageUpdate"),
6309
+ var DTODocumentationPageUpdateActionOutputV2 = z224.object({
6310
+ type: z224.literal("DocumentationPageUpdate"),
6269
6311
  output: SuccessPayload2
6270
6312
  });
6271
- var DTODocumentationPageMoveActionOutputV2 = z223.object({
6272
- type: z223.literal("DocumentationPageMove"),
6313
+ var DTODocumentationPageMoveActionOutputV2 = z224.object({
6314
+ type: z224.literal("DocumentationPageMove"),
6273
6315
  output: SuccessPayload2
6274
6316
  });
6275
- var DTODocumentationPageDuplicateActionOutputV2 = z223.object({
6276
- type: z223.literal("DocumentationPageDuplicate"),
6317
+ var DTODocumentationPageDuplicateActionOutputV2 = z224.object({
6318
+ type: z224.literal("DocumentationPageDuplicate"),
6277
6319
  output: SuccessPayload2
6278
6320
  });
6279
- var DTODocumentationPageDeleteActionOutputV2 = z223.object({
6280
- type: z223.literal("DocumentationPageDelete"),
6321
+ var DTODocumentationPageDeleteActionOutputV2 = z224.object({
6322
+ type: z224.literal("DocumentationPageDelete"),
6281
6323
  output: SuccessPayload2
6282
6324
  });
6283
- var DTODocumentationPageRestoreActionOutput = z223.object({
6284
- type: z223.literal("DocumentationPageRestore"),
6325
+ var DTODocumentationPageRestoreActionOutput = z224.object({
6326
+ type: z224.literal("DocumentationPageRestore"),
6285
6327
  output: SuccessPayload2
6286
6328
  });
6287
- var DTODocumentationGroupRestoreActionOutput = z223.object({
6288
- type: z223.literal("DocumentationGroupRestore"),
6329
+ var DTODocumentationGroupRestoreActionOutput = z224.object({
6330
+ type: z224.literal("DocumentationGroupRestore"),
6289
6331
  output: SuccessPayload2
6290
6332
  });
6291
- var DTODocumentationPageApprovalStateChangeActionOutput = z223.object({
6292
- type: z223.literal("DocumentationPageApprovalStateChange"),
6333
+ var DTODocumentationPageApprovalStateChangeActionOutput = z224.object({
6334
+ type: z224.literal("DocumentationPageApprovalStateChange"),
6293
6335
  output: SuccessPayload2
6294
6336
  });
6295
- var DTODocumentationPageCreateActionInputV2 = z223.object({
6296
- type: z223.literal("DocumentationPageCreate"),
6337
+ var DTODocumentationPageCreateActionInputV2 = z224.object({
6338
+ type: z224.literal("DocumentationPageCreate"),
6297
6339
  input: DTOCreateDocumentationPageInputV2
6298
6340
  });
6299
- var DTODocumentationPageUpdateActionInputV2 = z223.object({
6300
- type: z223.literal("DocumentationPageUpdate"),
6341
+ var DTODocumentationPageUpdateActionInputV2 = z224.object({
6342
+ type: z224.literal("DocumentationPageUpdate"),
6301
6343
  input: DTOUpdateDocumentationPageInputV2
6302
6344
  });
6303
- var DTODocumentationPageMoveActionInputV2 = z223.object({
6304
- type: z223.literal("DocumentationPageMove"),
6345
+ var DTODocumentationPageMoveActionInputV2 = z224.object({
6346
+ type: z224.literal("DocumentationPageMove"),
6305
6347
  input: DTOMoveDocumentationPageInputV2
6306
6348
  });
6307
- var DTODocumentationPageDuplicateActionInputV2 = z223.object({
6308
- type: z223.literal("DocumentationPageDuplicate"),
6349
+ var DTODocumentationPageDuplicateActionInputV2 = z224.object({
6350
+ type: z224.literal("DocumentationPageDuplicate"),
6309
6351
  input: DTODuplicateDocumentationPageInputV2
6310
6352
  });
6311
- var DTODocumentationPageDeleteActionInputV2 = z223.object({
6312
- type: z223.literal("DocumentationPageDelete"),
6353
+ var DTODocumentationPageDeleteActionInputV2 = z224.object({
6354
+ type: z224.literal("DocumentationPageDelete"),
6313
6355
  input: DTODeleteDocumentationPageInputV2
6314
6356
  });
6315
- var DTODocumentationPageRestoreActionInput = z223.object({
6316
- type: z223.literal("DocumentationPageRestore"),
6357
+ var DTODocumentationPageRestoreActionInput = z224.object({
6358
+ type: z224.literal("DocumentationPageRestore"),
6317
6359
  input: DTORestoreDocumentationPageInput
6318
6360
  });
6319
- var DTODocumentationGroupRestoreActionInput = z223.object({
6320
- type: z223.literal("DocumentationGroupRestore"),
6361
+ var DTODocumentationGroupRestoreActionInput = z224.object({
6362
+ type: z224.literal("DocumentationGroupRestore"),
6321
6363
  input: DTORestoreDocumentationGroupInput
6322
6364
  });
6323
- var DTODocumentationPageApprovalStateChangeActionInput = z223.object({
6324
- type: z223.literal("DocumentationPageApprovalStateChange"),
6365
+ var DTODocumentationPageApprovalStateChangeActionInput = z224.object({
6366
+ type: z224.literal("DocumentationPageApprovalStateChange"),
6325
6367
  input: DTODocumentationPageApprovalStateChangeInput
6326
6368
  });
6327
6369
 
6328
6370
  // src/api/dto/elements/documentation/page-content.ts
6329
- import { z as z224 } from "zod";
6371
+ import { z as z225 } from "zod";
6330
6372
  var DTODocumentationPageContent = DocumentationPageContent;
6331
- var DTODocumentationPageContentGetResponse = z224.object({
6373
+ var DTODocumentationPageContentGetResponse = z225.object({
6332
6374
  pageContent: DTODocumentationPageContent
6333
6375
  });
6334
6376
 
6335
6377
  // src/api/dto/elements/documentation/page-v1.ts
6336
- import { z as z225 } from "zod";
6378
+ import { z as z226 } from "zod";
6337
6379
  var DocumentationPageV1DTO = DocumentationPageV1.omit({
6338
6380
  data: true,
6339
6381
  meta: true,
@@ -6341,32 +6383,32 @@ var DocumentationPageV1DTO = DocumentationPageV1.omit({
6341
6383
  sortOrder: true
6342
6384
  }).extend({
6343
6385
  configuration: DTODocumentationItemConfigurationV1,
6344
- blocks: z225.array(PageBlockV1),
6345
- title: z225.string(),
6346
- path: z225.string()
6386
+ blocks: z226.array(PageBlockV1),
6387
+ title: z226.string(),
6388
+ path: z226.string()
6347
6389
  });
6348
6390
 
6349
6391
  // src/api/dto/elements/figma-nodes/figma-node.ts
6350
- import { z as z226 } from "zod";
6392
+ import { z as z227 } from "zod";
6351
6393
  var DTOFigmaNodeRenderFormat = FigmaNodeRenderFormat;
6352
- var DTOFigmaNodeOrigin = z226.object({
6353
- sourceId: z226.string(),
6354
- fileId: z226.string().optional(),
6355
- parentName: z226.string().optional()
6394
+ var DTOFigmaNodeOrigin = z227.object({
6395
+ sourceId: z227.string(),
6396
+ fileId: z227.string().optional(),
6397
+ parentName: z227.string().optional()
6356
6398
  });
6357
- var DTOFigmaNodeData = z226.object({
6399
+ var DTOFigmaNodeData = z227.object({
6358
6400
  // Id of the node in the Figma file
6359
- figmaNodeId: z226.string(),
6401
+ figmaNodeId: z227.string(),
6360
6402
  // Validity
6361
- isValid: z226.boolean(),
6403
+ isValid: z227.boolean(),
6362
6404
  // Asset data
6363
- assetId: z226.string(),
6364
- assetUrl: z226.string(),
6405
+ assetId: z227.string(),
6406
+ assetUrl: z227.string(),
6365
6407
  assetFormat: DTOFigmaNodeRenderFormat,
6366
6408
  // Asset metadata
6367
- assetScale: z226.number(),
6368
- assetWidth: z226.number().optional(),
6369
- assetHeight: z226.number().optional()
6409
+ assetScale: z227.number(),
6410
+ assetWidth: z227.number().optional(),
6411
+ assetHeight: z227.number().optional()
6370
6412
  });
6371
6413
  var DTOFigmaNode = FigmaNodeReference.omit({
6372
6414
  data: true,
@@ -6375,15 +6417,15 @@ var DTOFigmaNode = FigmaNodeReference.omit({
6375
6417
  data: DTOFigmaNodeData,
6376
6418
  origin: DTOFigmaNodeOrigin
6377
6419
  });
6378
- var DTOFigmaNodeRenderInput = z226.object({
6420
+ var DTOFigmaNodeRenderInput = z227.object({
6379
6421
  /**
6380
6422
  * Id of a design system's data source representing a linked Figma file
6381
6423
  */
6382
- sourceId: z226.string(),
6424
+ sourceId: z227.string(),
6383
6425
  /**
6384
6426
  * Id of a node within the Figma file
6385
6427
  */
6386
- figmaFileNodeId: z226.string(),
6428
+ figmaFileNodeId: z227.string(),
6387
6429
  /**
6388
6430
  * Format in which the node must be rendered, png by default.
6389
6431
  */
@@ -6391,97 +6433,97 @@ var DTOFigmaNodeRenderInput = z226.object({
6391
6433
  });
6392
6434
 
6393
6435
  // src/api/dto/elements/figma-nodes/node-actions-v2.ts
6394
- import { z as z227 } from "zod";
6395
- var DTOFigmaNodeRenderActionOutput = z227.object({
6396
- type: z227.literal("FigmaNodeRender"),
6397
- figmaNodes: z227.array(DTOFigmaNode)
6436
+ import { z as z228 } from "zod";
6437
+ var DTOFigmaNodeRenderActionOutput = z228.object({
6438
+ type: z228.literal("FigmaNodeRender"),
6439
+ figmaNodes: z228.array(DTOFigmaNode)
6398
6440
  });
6399
- var DTOFigmaNodeRenderActionInput = z227.object({
6400
- type: z227.literal("FigmaNodeRender"),
6441
+ var DTOFigmaNodeRenderActionInput = z228.object({
6442
+ type: z228.literal("FigmaNodeRender"),
6401
6443
  input: DTOFigmaNodeRenderInput.array()
6402
6444
  });
6403
6445
 
6404
6446
  // src/api/dto/elements/properties/property-definitions-actions-v2.ts
6405
- import { z as z229 } from "zod";
6447
+ import { z as z230 } from "zod";
6406
6448
 
6407
6449
  // src/api/dto/elements/properties/property-definitions.ts
6408
- import { z as z228 } from "zod";
6450
+ import { z as z229 } from "zod";
6409
6451
  var CODE_NAME_REGEX2 = /^[a-zA-Z_$][a-zA-Z_$0-9]{1,99}$/;
6410
- var DTOElementPropertyDefinition = z228.object({
6411
- id: z228.string(),
6412
- designSystemVersionId: z228.string(),
6452
+ var DTOElementPropertyDefinition = z229.object({
6453
+ id: z229.string(),
6454
+ designSystemVersionId: z229.string(),
6413
6455
  meta: ObjectMeta,
6414
- persistentId: z228.string(),
6456
+ persistentId: z229.string(),
6415
6457
  type: ElementPropertyTypeSchema,
6416
6458
  targetElementType: ElementPropertyTargetType,
6417
- codeName: z228.string().regex(CODE_NAME_REGEX2),
6418
- options: z228.array(ElementPropertyDefinitionOption).optional(),
6459
+ codeName: z229.string().regex(CODE_NAME_REGEX2),
6460
+ options: z229.array(ElementPropertyDefinitionOption).optional(),
6419
6461
  linkElementType: ElementPropertyLinkType.optional()
6420
6462
  });
6421
- var DTOElementPropertyDefinitionsGetResponse = z228.object({
6422
- definitions: z228.array(DTOElementPropertyDefinition)
6463
+ var DTOElementPropertyDefinitionsGetResponse = z229.object({
6464
+ definitions: z229.array(DTOElementPropertyDefinition)
6423
6465
  });
6424
6466
  var DTOCreateElementPropertyDefinitionInputV2 = DTOElementPropertyDefinition.omit({
6425
6467
  id: true,
6426
6468
  designSystemVersionId: true
6427
6469
  });
6428
- var DTOUpdateElementPropertyDefinitionInputV2 = z228.object({
6429
- id: z228.string(),
6430
- name: z228.string().optional(),
6431
- description: z228.string().optional(),
6432
- codeName: z228.string().regex(CODE_NAME_REGEX2).optional(),
6433
- options: z228.array(ElementPropertyDefinitionOption).optional()
6470
+ var DTOUpdateElementPropertyDefinitionInputV2 = z229.object({
6471
+ id: z229.string(),
6472
+ name: z229.string().optional(),
6473
+ description: z229.string().optional(),
6474
+ codeName: z229.string().regex(CODE_NAME_REGEX2).optional(),
6475
+ options: z229.array(ElementPropertyDefinitionOption).optional()
6434
6476
  });
6435
- var DTODeleteElementPropertyDefinitionInputV2 = z228.object({
6436
- id: z228.string()
6477
+ var DTODeleteElementPropertyDefinitionInputV2 = z229.object({
6478
+ id: z229.string()
6437
6479
  });
6438
6480
 
6439
6481
  // src/api/dto/elements/properties/property-definitions-actions-v2.ts
6440
- var SuccessPayload3 = z229.object({
6441
- success: z229.literal(true)
6482
+ var SuccessPayload3 = z230.object({
6483
+ success: z230.literal(true)
6442
6484
  });
6443
- var DTOPropertyDefinitionCreateActionOutputV2 = z229.object({
6444
- type: z229.literal("PropertyDefinitionCreate"),
6485
+ var DTOPropertyDefinitionCreateActionOutputV2 = z230.object({
6486
+ type: z230.literal("PropertyDefinitionCreate"),
6445
6487
  definition: DTOElementPropertyDefinition
6446
6488
  });
6447
- var DTOPropertyDefinitionUpdateActionOutputV2 = z229.object({
6448
- type: z229.literal("PropertyDefinitionUpdate"),
6489
+ var DTOPropertyDefinitionUpdateActionOutputV2 = z230.object({
6490
+ type: z230.literal("PropertyDefinitionUpdate"),
6449
6491
  definition: DTOElementPropertyDefinition
6450
6492
  });
6451
- var DTOPropertyDefinitionDeleteActionOutputV2 = z229.object({
6452
- type: z229.literal("PropertyDefinitionDelete"),
6493
+ var DTOPropertyDefinitionDeleteActionOutputV2 = z230.object({
6494
+ type: z230.literal("PropertyDefinitionDelete"),
6453
6495
  output: SuccessPayload3
6454
6496
  });
6455
- var DTOPropertyDefinitionCreateActionInputV2 = z229.object({
6456
- type: z229.literal("PropertyDefinitionCreate"),
6497
+ var DTOPropertyDefinitionCreateActionInputV2 = z230.object({
6498
+ type: z230.literal("PropertyDefinitionCreate"),
6457
6499
  input: DTOCreateElementPropertyDefinitionInputV2
6458
6500
  });
6459
- var DTOPropertyDefinitionUpdateActionInputV2 = z229.object({
6460
- type: z229.literal("PropertyDefinitionUpdate"),
6501
+ var DTOPropertyDefinitionUpdateActionInputV2 = z230.object({
6502
+ type: z230.literal("PropertyDefinitionUpdate"),
6461
6503
  input: DTOUpdateElementPropertyDefinitionInputV2
6462
6504
  });
6463
- var DTOPropertyDefinitionDeleteActionInputV2 = z229.object({
6464
- type: z229.literal("PropertyDefinitionDelete"),
6505
+ var DTOPropertyDefinitionDeleteActionInputV2 = z230.object({
6506
+ type: z230.literal("PropertyDefinitionDelete"),
6465
6507
  input: DTODeleteElementPropertyDefinitionInputV2
6466
6508
  });
6467
6509
 
6468
6510
  // src/api/dto/elements/properties/property-values.ts
6469
- import { z as z230 } from "zod";
6470
- var DTOElementPropertyValue = z230.object({
6471
- id: z230.string(),
6472
- designSystemVersionId: z230.string(),
6473
- definitionId: z230.string(),
6474
- targetElementId: z230.string(),
6475
- value: z230.union([z230.string(), z230.number(), z230.boolean()]).optional(),
6476
- valuePreview: z230.string().optional()
6511
+ import { z as z231 } from "zod";
6512
+ var DTOElementPropertyValue = z231.object({
6513
+ id: z231.string(),
6514
+ designSystemVersionId: z231.string(),
6515
+ definitionId: z231.string(),
6516
+ targetElementId: z231.string(),
6517
+ value: z231.union([z231.string(), z231.number(), z231.boolean()]).optional(),
6518
+ valuePreview: z231.string().optional()
6477
6519
  });
6478
- var DTOElementPropertyValuesGetResponse = z230.object({
6479
- values: z230.array(DTOElementPropertyValue)
6520
+ var DTOElementPropertyValuesGetResponse = z231.object({
6521
+ values: z231.array(DTOElementPropertyValue)
6480
6522
  });
6481
6523
 
6482
6524
  // src/api/dto/elements/elements-action-v2.ts
6483
- import { z as z231 } from "zod";
6484
- var DTOElementActionOutput = z231.discriminatedUnion("type", [
6525
+ import { z as z232 } from "zod";
6526
+ var DTOElementActionOutput = z232.discriminatedUnion("type", [
6485
6527
  // Documentation pages
6486
6528
  DTODocumentationPageCreateActionOutputV2,
6487
6529
  DTODocumentationPageUpdateActionOutputV2,
@@ -6508,7 +6550,7 @@ var DTOElementActionOutput = z231.discriminatedUnion("type", [
6508
6550
  // Approvals
6509
6551
  DTODocumentationPageApprovalStateChangeActionOutput
6510
6552
  ]);
6511
- var DTOElementActionInput = z231.discriminatedUnion("type", [
6553
+ var DTOElementActionInput = z232.discriminatedUnion("type", [
6512
6554
  // Documentation pages
6513
6555
  DTODocumentationPageCreateActionInputV2,
6514
6556
  DTODocumentationPageUpdateActionInputV2,
@@ -6537,60 +6579,60 @@ var DTOElementActionInput = z231.discriminatedUnion("type", [
6537
6579
  ]);
6538
6580
 
6539
6581
  // src/api/dto/elements/get-elements-v2.ts
6540
- import { z as z232 } from "zod";
6541
- var DTOElementsGetTypeFilter = z232.enum(["FigmaNode"]);
6542
- var DTOElementsGetQuerySchema = z232.object({
6543
- types: z232.string().transform((val) => val.split(",").map((v) => DTOElementsGetTypeFilter.parse(v)))
6582
+ import { z as z233 } from "zod";
6583
+ var DTOElementsGetTypeFilter = z233.enum(["FigmaNode"]);
6584
+ var DTOElementsGetQuerySchema = z233.object({
6585
+ types: z233.string().transform((val) => val.split(",").map((v) => DTOElementsGetTypeFilter.parse(v)))
6544
6586
  });
6545
- var DTOElementsGetOutput = z232.object({
6546
- figmaNodes: z232.array(DTOFigmaNode).optional()
6587
+ var DTOElementsGetOutput = z233.object({
6588
+ figmaNodes: z233.array(DTOFigmaNode).optional()
6547
6589
  });
6548
6590
 
6549
6591
  // src/api/dto/figma-components/assets/download.ts
6550
- import { z as z233 } from "zod";
6551
- var DTOAssetRenderConfiguration = z233.object({
6552
- prefix: z233.string().optional(),
6553
- suffix: z233.string().optional(),
6554
- scale: z233.enum(["x1", "x2", "x3", "x4"]),
6555
- format: z233.enum(["png", "pdf", "svg"])
6556
- });
6557
- var DTORenderedAssetFile = z233.object({
6558
- assetId: z233.string(),
6559
- fileName: z233.string(),
6560
- sourceUrl: z233.string(),
6592
+ import { z as z234 } from "zod";
6593
+ var DTOAssetRenderConfiguration = z234.object({
6594
+ prefix: z234.string().optional(),
6595
+ suffix: z234.string().optional(),
6596
+ scale: z234.enum(["x1", "x2", "x3", "x4"]),
6597
+ format: z234.enum(["png", "pdf", "svg"])
6598
+ });
6599
+ var DTORenderedAssetFile = z234.object({
6600
+ assetId: z234.string(),
6601
+ fileName: z234.string(),
6602
+ sourceUrl: z234.string(),
6561
6603
  settings: DTOAssetRenderConfiguration,
6562
- originalName: z233.string()
6604
+ originalName: z234.string()
6563
6605
  });
6564
- var DTODownloadAssetsRequest = z233.object({
6565
- persistentIds: z233.array(z233.string().uuid()).optional(),
6606
+ var DTODownloadAssetsRequest = z234.object({
6607
+ persistentIds: z234.array(z234.string().uuid()).optional(),
6566
6608
  settings: DTOAssetRenderConfiguration.array()
6567
6609
  });
6568
- var DTODownloadAssetsResponse = z233.object({
6610
+ var DTODownloadAssetsResponse = z234.object({
6569
6611
  items: DTORenderedAssetFile.array()
6570
6612
  });
6571
6613
 
6572
6614
  // src/api/dto/liveblocks/auth-response.ts
6573
- import { z as z234 } from "zod";
6574
- var DTOLiveblocksAuthResponse = z234.object({
6575
- token: z234.string()
6615
+ import { z as z235 } from "zod";
6616
+ var DTOLiveblocksAuthResponse = z235.object({
6617
+ token: z235.string()
6576
6618
  });
6577
6619
 
6578
6620
  // src/api/dto/users/authenticated-user.ts
6579
- import { z as z236 } from "zod";
6621
+ import { z as z237 } from "zod";
6580
6622
 
6581
6623
  // src/api/dto/users/user.ts
6582
- import { z as z235 } from "zod";
6583
- var DTOUserProfile = z235.object({
6584
- name: z235.string(),
6585
- nickname: z235.string().optional(),
6586
- avatar: z235.string().optional()
6587
- });
6588
- var DTOUser = z235.object({
6589
- id: z235.string(),
6590
- email: z235.string(),
6624
+ import { z as z236 } from "zod";
6625
+ var DTOUserProfile = z236.object({
6626
+ name: z236.string(),
6627
+ nickname: z236.string().optional(),
6628
+ avatar: z236.string().optional()
6629
+ });
6630
+ var DTOUser = z236.object({
6631
+ id: z236.string(),
6632
+ email: z236.string(),
6591
6633
  profile: DTOUserProfile
6592
6634
  });
6593
- var DTOUserGetResponse = z235.object({
6635
+ var DTOUserGetResponse = z236.object({
6594
6636
  user: DTOUser
6595
6637
  });
6596
6638
  var DTOUserProfileUpdate = UserProfileUpdate;
@@ -6599,39 +6641,38 @@ var DTOUserProfileUpdate = UserProfileUpdate;
6599
6641
  var DTOUserOnboardingDepartment = UserOnboardingDepartment;
6600
6642
  var DTOUserOnboardingJobLevel = UserOnboardingJobLevel;
6601
6643
  var DTOUserSource = UserSource;
6602
- var DTOUserOnboarding = z236.object({
6603
- companyName: z236.string().optional(),
6604
- numberOfPeopleInOrg: z236.string().optional(),
6605
- numberOfPeopleInDesignTeam: z236.string().optional(),
6644
+ var DTOUserOnboarding = z237.object({
6645
+ companyName: z237.string().optional(),
6646
+ numberOfPeopleInOrg: z237.string().optional(),
6647
+ numberOfPeopleInDesignTeam: z237.string().optional(),
6606
6648
  department: DTOUserOnboardingDepartment.optional(),
6607
- jobTitle: z236.string().optional(),
6608
- phase: z236.string().optional(),
6649
+ jobTitle: z237.string().optional(),
6650
+ phase: z237.string().optional(),
6609
6651
  jobLevel: DTOUserOnboardingJobLevel.optional(),
6610
- designSystemName: z236.string().optional(),
6611
- defaultDestination: z236.string().optional(),
6612
- isPageDraftOnboardingFinished: z236.boolean().optional()
6652
+ designSystemName: z237.string().optional(),
6653
+ defaultDestination: z237.string().optional(),
6654
+ isPageDraftOnboardingFinished: z237.boolean().optional()
6613
6655
  });
6614
6656
  var DTOAuthenticatedUserProfile = DTOUserProfile.extend({
6615
6657
  onboarding: DTOUserOnboarding.optional()
6616
6658
  });
6617
6659
  var DTOAuthenticatedUser = DTOUser.extend({
6618
6660
  profile: DTOAuthenticatedUserProfile,
6619
- createdAt: z236.coerce.date(),
6620
- loggedOutAt: z236.coerce.date().optional(),
6661
+ createdAt: z237.coerce.date(),
6662
+ loggedOutAt: z237.coerce.date().optional(),
6621
6663
  source: DTOUserSource.optional()
6622
6664
  });
6623
- var DTOAuthenticatedUserResponse = z236.object({
6665
+ var DTOAuthenticatedUserResponse = z237.object({
6624
6666
  user: DTOAuthenticatedUser
6625
6667
  });
6626
6668
 
6627
6669
  // src/api/dto/users/update.ts
6628
- import { z as z237 } from "zod";
6629
- var DTOUserProfileUpdateResponse = z237.object({
6670
+ import { z as z238 } from "zod";
6671
+ var DTOUserProfileUpdateResponse = z238.object({
6630
6672
  user: User
6631
6673
  });
6632
6674
 
6633
6675
  // src/api/endpoints/design-system/versions/brands.ts
6634
- import { z as z238 } from "zod";
6635
6676
  var BrandsEndpoint = class {
6636
6677
  constructor(requestExecutor) {
6637
6678
  this.requestExecutor = requestExecutor;
@@ -6639,28 +6680,26 @@ var BrandsEndpoint = class {
6639
6680
  get(designSystemId, versionId, brandId) {
6640
6681
  return this.requestExecutor.json(
6641
6682
  `/design-systems/${designSystemId}/versions/${versionId}/brands/${brandId}`,
6642
- z238.any()
6683
+ DTOBrandGetResponse
6643
6684
  );
6644
6685
  }
6645
6686
  list(designSystemId, versionId) {
6646
- return this.requestExecutor.json(`/design-systems/${designSystemId}/versions/${versionId}/brands`, z238.any());
6687
+ return this.requestExecutor.json(
6688
+ `/design-systems/${designSystemId}/versions/${versionId}/brands`,
6689
+ DTOBrandsListResponse
6690
+ );
6647
6691
  }
6648
6692
  };
6649
6693
 
6650
- // src/api/endpoints/design-system/versions/overrides.ts
6651
- import { z as z239 } from "zod";
6652
- var OverridesEndpoint = class {
6694
+ // src/api/endpoints/design-system/versions/import-jobs.ts
6695
+ var ImportJobsEndpoint = class {
6653
6696
  constructor(requestExecutor) {
6654
6697
  this.requestExecutor = requestExecutor;
6655
6698
  }
6656
- create(dsId, versionId, themeId, body) {
6699
+ get(designSystemId, versionId, jobId) {
6657
6700
  return this.requestExecutor.json(
6658
- `/design-systems/${dsId}/versions/${versionId}/themes/${themeId}/overrides`,
6659
- z239.any(),
6660
- {
6661
- method: "POST",
6662
- body
6663
- }
6701
+ `/design-systems/${designSystemId}/versions/${versionId}/import-jobs/${jobId}`,
6702
+ DTOImportJobResponse
6664
6703
  );
6665
6704
  }
6666
6705
  };
@@ -6679,6 +6718,26 @@ var VersionStatsEndpoint = class {
6679
6718
 
6680
6719
  // src/api/endpoints/design-system/versions/themes.ts
6681
6720
  import { z as z240 } from "zod";
6721
+
6722
+ // src/api/endpoints/design-system/versions/overrides.ts
6723
+ import { z as z239 } from "zod";
6724
+ var OverridesEndpoint = class {
6725
+ constructor(requestExecutor) {
6726
+ this.requestExecutor = requestExecutor;
6727
+ }
6728
+ create(dsId, versionId, themeId, body) {
6729
+ return this.requestExecutor.json(
6730
+ `/design-systems/${dsId}/versions/${versionId}/themes/${themeId}/overrides`,
6731
+ z239.any(),
6732
+ {
6733
+ method: "POST",
6734
+ body
6735
+ }
6736
+ );
6737
+ }
6738
+ };
6739
+
6740
+ // src/api/endpoints/design-system/versions/themes.ts
6682
6741
  var ThemesEndpoint = class {
6683
6742
  constructor(requestExecutor) {
6684
6743
  this.requestExecutor = requestExecutor;
@@ -6712,34 +6771,18 @@ var TokensEndpoint = class {
6712
6771
  }
6713
6772
  };
6714
6773
 
6715
- // src/api/endpoints/design-system/design-system-members.ts
6716
- var DesignSystemMembersEndpoint = class {
6717
- constructor(requestExecutor) {
6718
- this.requestExecutor = requestExecutor;
6719
- }
6720
- list(dsId) {
6721
- return this.requestExecutor.json(`/design-systems/${dsId}/members`, DTODesignSystemMemberListResponse, {
6722
- method: "GET"
6723
- });
6724
- }
6725
- update(dsId, body) {
6726
- return this.requestExecutor.json(`/design-systems/${dsId}/members`, DTODesignSystemMembersUpdateResponse, {
6727
- method: "POST",
6728
- body
6729
- });
6730
- }
6731
- };
6732
-
6733
- // src/api/endpoints/design-system/design-system-versions.ts
6774
+ // src/api/endpoints/design-system/versions.ts
6734
6775
  var DesignSystemVersionsEndpoint = class {
6735
6776
  constructor(requestExecutor) {
6736
6777
  this.requestExecutor = requestExecutor;
6737
6778
  __publicField(this, "themes");
6738
6779
  __publicField(this, "brands");
6780
+ __publicField(this, "importJobs");
6739
6781
  __publicField(this, "tokens");
6740
6782
  __publicField(this, "stats");
6741
6783
  this.themes = new ThemesEndpoint(requestExecutor);
6742
6784
  this.brands = new BrandsEndpoint(requestExecutor);
6785
+ this.importJobs = new ImportJobsEndpoint(requestExecutor);
6743
6786
  this.tokens = new TokensEndpoint(requestExecutor);
6744
6787
  this.stats = new VersionStatsEndpoint(requestExecutor);
6745
6788
  }
@@ -6748,15 +6791,50 @@ var DesignSystemVersionsEndpoint = class {
6748
6791
  }
6749
6792
  };
6750
6793
 
6794
+ // src/api/endpoints/design-system/bff.ts
6795
+ var DesignSystemBffEndpoint = class {
6796
+ constructor(requestExecutor) {
6797
+ this.requestExecutor = requestExecutor;
6798
+ }
6799
+ import(dsId, payload) {
6800
+ return this.requestExecutor.json(`/design-systems/${dsId}/bff/import`, DTOImportJobResponse, {
6801
+ method: "POST",
6802
+ body: payload
6803
+ });
6804
+ }
6805
+ };
6806
+
6751
6807
  // src/api/endpoints/design-system/design-systems.ts
6752
6808
  import { z as z242 } from "zod";
6809
+
6810
+ // src/api/endpoints/design-system/members.ts
6811
+ var DesignSystemMembersEndpoint = class {
6812
+ constructor(requestExecutor) {
6813
+ this.requestExecutor = requestExecutor;
6814
+ }
6815
+ list(dsId) {
6816
+ return this.requestExecutor.json(`/design-systems/${dsId}/members`, DTODesignSystemMemberListResponse, {
6817
+ method: "GET"
6818
+ });
6819
+ }
6820
+ update(dsId, body) {
6821
+ return this.requestExecutor.json(`/design-systems/${dsId}/members`, DTODesignSystemMembersUpdateResponse, {
6822
+ method: "POST",
6823
+ body
6824
+ });
6825
+ }
6826
+ };
6827
+
6828
+ // src/api/endpoints/design-system/design-systems.ts
6753
6829
  var DesignSystemsEndpoint = class {
6754
6830
  constructor(requestExecutor) {
6755
6831
  this.requestExecutor = requestExecutor;
6756
6832
  __publicField(this, "members");
6757
6833
  __publicField(this, "versions");
6834
+ __publicField(this, "bff");
6758
6835
  this.members = new DesignSystemMembersEndpoint(requestExecutor);
6759
6836
  this.versions = new DesignSystemVersionsEndpoint(requestExecutor);
6837
+ this.bff = new DesignSystemBffEndpoint(requestExecutor);
6760
6838
  }
6761
6839
  create(body) {
6762
6840
  return this.requestExecutor.json("/design-systems", DTODesignSystemResponse, { method: "POST", body });
@@ -6789,6 +6867,16 @@ var WorkspaceInvitationsEndpoint = class {
6789
6867
  constructor(requestExecutor) {
6790
6868
  this.requestExecutor = requestExecutor;
6791
6869
  }
6870
+ update(workspaceId, invitationId, body) {
6871
+ return this.requestExecutor.json(
6872
+ `/workspaces/${workspaceId}/invitations/${invitationId}/role`,
6873
+ DTOWorkspaceInvitationUpdateResponse,
6874
+ {
6875
+ method: "PUT",
6876
+ body
6877
+ }
6878
+ );
6879
+ }
6792
6880
  list(workspaceId) {
6793
6881
  return this.requestExecutor.json(`/workspaces/${workspaceId}/invitations`, DTOWorkspaceInvitationsResponse, {
6794
6882
  method: "GET"
@@ -11921,13 +12009,15 @@ export {
11921
12009
  BackendVersionRoomYDoc,
11922
12010
  BlockDefinitionUtils,
11923
12011
  BlockParsingUtils,
11924
- BrandsEndpoint,
11925
12012
  DTOAppBootstrapDataQuery,
11926
12013
  DTOAppBootstrapDataResponse,
11927
12014
  DTOAssetRenderConfiguration,
11928
12015
  DTOAuthenticatedUser,
11929
12016
  DTOAuthenticatedUserProfile,
11930
12017
  DTOAuthenticatedUserResponse,
12018
+ DTOBffFigmaImportRequestBody,
12019
+ DTOBffImportRequestBody,
12020
+ DTOBffUploadImportRequestBody,
11931
12021
  DTOBrand,
11932
12022
  DTOBrandCreateResponse,
11933
12023
  DTOBrandGetResponse,
@@ -12082,6 +12172,8 @@ export {
12082
12172
  DTOGitOrganization,
12083
12173
  DTOGitProject,
12084
12174
  DTOGitRepository,
12175
+ DTOImportJob,
12176
+ DTOImportJobResponse,
12085
12177
  DTOIntegration,
12086
12178
  DTOIntegrationCredentials,
12087
12179
  DTOIntegrationOAuthGetResponse,
@@ -12144,12 +12236,15 @@ export {
12144
12236
  DTOWorkspaceIntegrationOauthInput,
12145
12237
  DTOWorkspaceIntegrationPATInput,
12146
12238
  DTOWorkspaceInvitationInput,
12239
+ DTOWorkspaceInvitationUpdateResponse,
12147
12240
  DTOWorkspaceInvitationsListInput,
12148
12241
  DTOWorkspaceInvitationsResponse,
12242
+ DTOWorkspaceInviteUpdate,
12149
12243
  DTOWorkspaceMember,
12150
12244
  DTOWorkspaceMembersListResponse,
12151
12245
  DTOWorkspaceResponse,
12152
12246
  DTOWorkspaceRole,
12247
+ DesignSystemBffEndpoint,
12153
12248
  DesignSystemMembersEndpoint,
12154
12249
  DesignSystemVersionsEndpoint,
12155
12250
  DesignSystemsEndpoint,
@@ -12160,19 +12255,15 @@ export {
12160
12255
  ListTreeBuilder,
12161
12256
  NpmRegistryInput,
12162
12257
  ObjectMeta2 as ObjectMeta,
12163
- OverridesEndpoint,
12164
12258
  PageBlockEditorModel,
12165
12259
  PageSectionEditorModel,
12166
12260
  RequestExecutor,
12167
12261
  RequestExecutorError,
12168
12262
  SupernovaApiClient,
12169
- ThemesEndpoint,
12170
12263
  TokenCollectionsEndpoint,
12171
- TokensEndpoint,
12172
12264
  UsersEndpoint,
12173
12265
  VersionRoomBaseYDoc,
12174
12266
  VersionSQSPayload,
12175
- VersionStatsEndpoint,
12176
12267
  WorkspaceConfigurationPayload,
12177
12268
  WorkspaceInvitationsEndpoint,
12178
12269
  WorkspaceMembersEndpoint,