@supernova-studio/client 0.57.5 → 0.57.7

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
@@ -702,7 +702,8 @@ var ComponentElementData = z33.object({
702
702
  }).optional(),
703
703
  parentComponentPersistentId: nullishToOptional(z33.string()),
704
704
  componentPropertyDefinitions: nullishToOptional(FigmaComponentPropertyMap),
705
- variantPropertyValues: nullishToOptional(z33.record(z33.string()))
705
+ variantPropertyValues: nullishToOptional(z33.record(z33.string())),
706
+ renderNodeId: nullishToOptional(z33.string())
706
707
  })
707
708
  });
708
709
  var SupernovaException = class _SupernovaException extends Error {
@@ -2774,7 +2775,8 @@ var FigmaComponent = DesignElementBase.extend(DesignElementGroupableRequiredPart
2774
2775
  variantPropertyValues: z82.record(z82.string()).optional(),
2775
2776
  svg: FigmaComponentAsset.optional(),
2776
2777
  isAsset: z82.boolean(),
2777
- parentComponentPersistentId: nullishToOptional(z82.string())
2778
+ parentComponentPersistentId: nullishToOptional(z82.string()),
2779
+ renderNodeId: z82.string().optional()
2778
2780
  });
2779
2781
  var FigmaFileStructureOrigin = z83.object({
2780
2782
  sourceId: z83.string(),
@@ -3280,7 +3282,8 @@ var FigmaComponentImportModelPart = z93.object({
3280
3282
  thumbnail: ImageImportModel,
3281
3283
  parentComponentId: z93.string().optional(),
3282
3284
  componentPropertyDefinitions: FigmaComponentPropertyMap.optional(),
3283
- variantPropertyValues: z93.record(z93.string()).optional()
3285
+ variantPropertyValues: z93.record(z93.string()).optional(),
3286
+ renderNodeId: z93.string()
3284
3287
  });
3285
3288
  var FigmaComponentImportModel = ImportModelBase.extend(FigmaComponentImportModelPart.shape).extend({
3286
3289
  isAsset: z93.boolean(),
@@ -4642,6 +4645,7 @@ var PersonalAccessToken = z174.object({
4642
4645
  id: z174.string(),
4643
4646
  userId: z174.string(),
4644
4647
  workspaceId: z174.string().optional(),
4648
+ designSystemId: z174.string().optional(),
4645
4649
  workspaceRole: WorkspaceRoleSchema.optional(),
4646
4650
  name: z174.string(),
4647
4651
  hidden: z174.boolean(),
@@ -5072,7 +5076,7 @@ var DTOPagination = z175.object({
5072
5076
  });
5073
5077
 
5074
5078
  // src/api/dto/bff/app-bootstrap-data.ts
5075
- import { z as z205 } from "zod";
5079
+ import { z as z204 } from "zod";
5076
5080
 
5077
5081
  // src/api/dto/design-systems/brand.ts
5078
5082
  import { z as z176 } from "zod";
@@ -5408,7 +5412,7 @@ var DTODesignSystemVersionStatsQuery = z185.object({
5408
5412
  });
5409
5413
 
5410
5414
  // src/api/dto/design-systems/version.ts
5411
- import { z as z197 } from "zod";
5415
+ import { z as z196 } from "zod";
5412
5416
 
5413
5417
  // src/api/payloads/design-systems/brand.ts
5414
5418
  import { z as z186 } from "zod";
@@ -5420,21 +5424,8 @@ var DTOCreateBrandInput = z186.object({
5420
5424
  })
5421
5425
  });
5422
5426
 
5423
- // src/api/payloads/design-systems/theme.ts
5424
- import { z as z187 } from "zod";
5425
- var DTOCreateThemeInput = z187.object({
5426
- meta: ObjectMeta,
5427
- persistentId: z187.string(),
5428
- designSystemVersionId: z187.string(),
5429
- brandId: z187.string(),
5430
- codeName: z187.string(),
5431
- version: z187.string().optional(),
5432
- overrides: z187.array(z187.any())
5433
- // TODO Add actual overrides.
5434
- });
5435
-
5436
5427
  // src/api/payloads/design-systems/update-design-system.ts
5437
- import { z as z188 } from "zod";
5428
+ import { z as z187 } from "zod";
5438
5429
  var DTODesignSystemUpdateInput = DesignSystem.partial().omit({
5439
5430
  id: true,
5440
5431
  workspaceId: true,
@@ -5446,40 +5437,40 @@ var DTODesignSystemUpdateInput = DesignSystem.partial().omit({
5446
5437
  }).extend({
5447
5438
  meta: ObjectMeta.partial().optional()
5448
5439
  });
5449
- var DTODesignSystemUpdateAccessModeInput = z188.object({
5440
+ var DTODesignSystemUpdateAccessModeInput = z187.object({
5450
5441
  accessMode: DesignSystemAccessMode,
5451
- retain: z188.object({
5452
- userIds: z188.string().array(),
5453
- inviteIds: z188.string().array()
5442
+ retain: z187.object({
5443
+ userIds: z187.string().array(),
5444
+ inviteIds: z187.string().array()
5454
5445
  }).optional()
5455
5446
  });
5456
5447
 
5457
5448
  // src/api/payloads/design-systems/version.ts
5458
- import { z as z189 } from "zod";
5459
- var ObjectMeta2 = z189.object({
5460
- name: z189.string().max(150).optional(),
5461
- description: z189.string().max(2e3).optional()
5449
+ import { z as z188 } from "zod";
5450
+ var ObjectMeta2 = z188.object({
5451
+ name: z188.string().max(150).optional(),
5452
+ description: z188.string().max(2e3).optional()
5462
5453
  });
5463
5454
  function validateDesignSystemVersion(version) {
5464
5455
  const urlCompliantRegex = /^[a-zA-Z0-9+.-]+$/;
5465
5456
  return urlCompliantRegex.test(version);
5466
5457
  }
5467
- var DTOCreateVersionInput = z189.object({
5458
+ var DTOCreateVersionInput = z188.object({
5468
5459
  meta: ObjectMeta2,
5469
- version: z189.string().refine(validateDesignSystemVersion, {
5460
+ version: z188.string().refine(validateDesignSystemVersion, {
5470
5461
  message: "Invalid semantic versioning format"
5471
5462
  }),
5472
- changeLog: z189.string().optional()
5463
+ changeLog: z188.string().optional()
5473
5464
  });
5474
- var DTOUpdateVersionInput = z189.object({
5465
+ var DTOUpdateVersionInput = z188.object({
5475
5466
  meta: ObjectMeta2,
5476
- version: z189.string(),
5467
+ version: z188.string(),
5477
5468
  // required for PUT, but not editable
5478
- changeLog: z189.string()
5469
+ changeLog: z188.string()
5479
5470
  });
5480
5471
 
5481
5472
  // src/api/payloads/documentation/block-definitions.ts
5482
- import { z as z190 } from "zod";
5473
+ import { z as z189 } from "zod";
5483
5474
 
5484
5475
  // src/api/dto/documentation/block-definition.ts
5485
5476
  var DTOPageBlockDefinitionBehavior = PageBlockDefinitionBehavior;
@@ -5491,60 +5482,60 @@ var DTOPageBlockColorV2 = PageBlockColorV2;
5491
5482
  var DTOPageBlockDefinition = PageBlockDefinition;
5492
5483
 
5493
5484
  // src/api/payloads/documentation/block-definitions.ts
5494
- var DTOGetBlockDefinitionsOutput = z190.object({
5495
- definitions: z190.array(DTOPageBlockDefinition)
5485
+ var DTOGetBlockDefinitionsOutput = z189.object({
5486
+ definitions: z189.array(DTOPageBlockDefinition)
5496
5487
  });
5497
5488
 
5498
5489
  // src/api/payloads/documentation/design-data-doc-diff.ts
5499
- import { z as z191 } from "zod";
5500
- var DTODocumentationPublishTypeQueryParams = z191.object({
5501
- environment: z191.enum(["Live", "Preview"])
5490
+ import { z as z190 } from "zod";
5491
+ var DTODocumentationPublishTypeQueryParams = z190.object({
5492
+ environment: z190.enum(["Live", "Preview"])
5502
5493
  });
5503
5494
 
5504
5495
  // src/api/payloads/export/pipeline.ts
5505
- import { z as z192 } from "zod";
5506
- var DTOPipelineCreateBody = z192.object({
5507
- name: z192.string(),
5508
- exporterId: z192.string(),
5509
- designSystemId: z192.string(),
5510
- isEnabled: z192.boolean(),
5496
+ import { z as z191 } from "zod";
5497
+ var DTOPipelineCreateBody = z191.object({
5498
+ name: z191.string(),
5499
+ exporterId: z191.string(),
5500
+ designSystemId: z191.string(),
5501
+ isEnabled: z191.boolean(),
5511
5502
  eventType: PipelineEventType,
5512
- brandPersistentId: z192.string().optional(),
5513
- themePersistentId: z192.string().optional(),
5514
- themePersistentIds: z192.string().array().optional(),
5503
+ brandPersistentId: z191.string().optional(),
5504
+ themePersistentId: z191.string().optional(),
5505
+ themePersistentIds: z191.string().array().optional(),
5515
5506
  destination: PipelineDestinationType.optional(),
5516
5507
  gitQuery: GitObjectsQuery,
5517
- destinations: z192.object({
5508
+ destinations: z191.object({
5518
5509
  s3: ExporterDestinationS3.nullish(),
5519
5510
  azure: ExporterDestinationAzure.nullish(),
5520
5511
  bitbucket: ExporterDestinationBitbucket.nullish(),
5521
5512
  github: ExporterDestinationGithub.nullish(),
5522
5513
  gitlab: ExporterDestinationGitlab.nullish(),
5523
5514
  documentation: ExporterDestinationDocs.nullish(),
5524
- webhookUrl: z192.string().nullish()
5515
+ webhookUrl: z191.string().nullish()
5525
5516
  })
5526
5517
  });
5527
5518
  var DTOPipelineUpdateBody = DTOPipelineCreateBody.extend({
5528
- id: z192.string()
5519
+ id: z191.string()
5529
5520
  });
5530
- var DTOPipelineTriggerBody = z192.object({
5531
- designSystemVersionId: z192.string()
5521
+ var DTOPipelineTriggerBody = z191.object({
5522
+ designSystemVersionId: z191.string()
5532
5523
  });
5533
5524
 
5534
5525
  // src/api/payloads/liveblocks/auth.ts
5535
- import { z as z193 } from "zod";
5536
- var DTOLiveblocksAuthRequest = z193.object({
5537
- room: z193.string().optional()
5526
+ import { z as z192 } from "zod";
5527
+ var DTOLiveblocksAuthRequest = z192.object({
5528
+ room: z192.string().optional()
5538
5529
  });
5539
5530
 
5540
5531
  // src/api/payloads/users/notifications/notification-settings.ts
5541
- import { z as z194 } from "zod";
5542
- var DTOUpdateUserNotificationSettingsPayload = z194.object({
5532
+ import { z as z193 } from "zod";
5533
+ var DTOUpdateUserNotificationSettingsPayload = z193.object({
5543
5534
  notificationSettings: UserNotificationSettings
5544
5535
  });
5545
- var DTOUserNotificationSettingsResponse = z194.object({
5546
- userId: z194.string(),
5547
- workspaceId: z194.string(),
5536
+ var DTOUserNotificationSettingsResponse = z193.object({
5537
+ userId: z193.string(),
5538
+ workspaceId: z193.string(),
5548
5539
  notificationSettings: UserNotificationSettings
5549
5540
  });
5550
5541
 
@@ -5552,7 +5543,7 @@ var DTOUserNotificationSettingsResponse = z194.object({
5552
5543
  var DTOUserProfileUpdatePayload = UserProfileUpdate;
5553
5544
 
5554
5545
  // src/api/payloads/workspaces/workspace-configuration.ts
5555
- import { z as z195 } from "zod";
5546
+ import { z as z194 } from "zod";
5556
5547
  var prohibitedSsoKeys = ["providerId", "metadataXml", "emailDomains"];
5557
5548
  function validateSsoPayload(ssoPayload) {
5558
5549
  const keys = [];
@@ -5575,21 +5566,21 @@ function validateSsoPayload(ssoPayload) {
5575
5566
  keys
5576
5567
  };
5577
5568
  }
5578
- var NpmRegistryInput = z195.object({
5579
- enabledScopes: z195.array(z195.string()),
5580
- customRegistryUrl: z195.string().optional(),
5581
- bypassProxy: z195.boolean().optional(),
5582
- npmProxyRegistryConfigId: z195.string().optional(),
5583
- npmProxyVersion: z195.number().optional(),
5584
- registryType: z195.string(),
5585
- authType: z195.string(),
5586
- authHeaderName: z195.string(),
5587
- authHeaderValue: z195.string(),
5588
- accessToken: z195.string(),
5589
- username: z195.string(),
5590
- password: z195.string()
5591
- });
5592
- var WorkspaceConfigurationPayload = z195.object({
5569
+ var NpmRegistryInput = z194.object({
5570
+ enabledScopes: z194.array(z194.string()),
5571
+ customRegistryUrl: z194.string().optional(),
5572
+ bypassProxy: z194.boolean().optional(),
5573
+ npmProxyRegistryConfigId: z194.string().optional(),
5574
+ npmProxyVersion: z194.number().optional(),
5575
+ registryType: z194.string(),
5576
+ authType: z194.string(),
5577
+ authHeaderName: z194.string(),
5578
+ authHeaderValue: z194.string(),
5579
+ accessToken: z194.string(),
5580
+ username: z194.string(),
5581
+ password: z194.string()
5582
+ });
5583
+ var WorkspaceConfigurationPayload = z194.object({
5593
5584
  ipWhitelist: WorkspaceIpSettings.partial().optional(),
5594
5585
  sso: SsoProvider.partial().optional(),
5595
5586
  npmRegistrySettings: NpmRegistryInput.partial().optional(),
@@ -5597,217 +5588,217 @@ var WorkspaceConfigurationPayload = z195.object({
5597
5588
  });
5598
5589
 
5599
5590
  // src/api/payloads/workspaces/workspace-integrations.ts
5600
- import { z as z196 } from "zod";
5601
- var DTOWorkspaceIntegrationOauthInput = z196.object({
5591
+ import { z as z195 } from "zod";
5592
+ var DTOWorkspaceIntegrationOauthInput = z195.object({
5602
5593
  type: IntegrationType
5603
5594
  });
5604
- var DTOWorkspaceIntegrationPATInput = z196.object({
5605
- userId: z196.string(),
5595
+ var DTOWorkspaceIntegrationPATInput = z195.object({
5596
+ userId: z195.string(),
5606
5597
  type: IntegrationType,
5607
5598
  token: IntegrationToken
5608
5599
  });
5609
- var DTOWorkspaceIntegrationGetGitObjectsInput = z196.object({
5610
- organization: z196.string().optional(),
5600
+ var DTOWorkspaceIntegrationGetGitObjectsInput = z195.object({
5601
+ organization: z195.string().optional(),
5611
5602
  // Azure Organization | Bitbucket Workspace slug | Gitlab Group and Sub-Groups | Github Account (User or Organization)
5612
- project: z196.string().optional(),
5603
+ project: z195.string().optional(),
5613
5604
  // Only for Bitbucket and Azure
5614
- repository: z196.string().optional(),
5605
+ repository: z195.string().optional(),
5615
5606
  // For all providers. Pay attention for Gitlab, they call repositories "projects".
5616
- branch: z196.string().optional(),
5607
+ branch: z195.string().optional(),
5617
5608
  // For all providers, useful for PR creations.
5618
- user: z196.string().optional()
5609
+ user: z195.string().optional()
5619
5610
  // Only for Gitlab User Repositories
5620
5611
  });
5621
5612
 
5622
5613
  // src/api/dto/design-systems/version.ts
5623
- var DTODesignSystemVersion = z197.object({
5624
- id: z197.string(),
5625
- createdAt: z197.coerce.date(),
5614
+ var DTODesignSystemVersion = z196.object({
5615
+ id: z196.string(),
5616
+ createdAt: z196.coerce.date(),
5626
5617
  meta: ObjectMeta,
5627
- version: z197.string(),
5628
- isReadonly: z197.boolean(),
5629
- changeLog: z197.string(),
5630
- designSystemId: z197.string()
5618
+ version: z196.string(),
5619
+ isReadonly: z196.boolean(),
5620
+ changeLog: z196.string(),
5621
+ designSystemId: z196.string()
5631
5622
  });
5632
- var DTODesignSystemVersionsListResponse = z197.object({
5633
- designSystemVersions: z197.array(DTODesignSystemVersion)
5623
+ var DTODesignSystemVersionsListResponse = z196.object({
5624
+ designSystemVersions: z196.array(DTODesignSystemVersion)
5634
5625
  });
5635
- var DTODesignSystemVersionGetResponse = z197.object({
5626
+ var DTODesignSystemVersionGetResponse = z196.object({
5636
5627
  designSystemVersion: DTODesignSystemVersion
5637
5628
  });
5638
- var DTODesignSystemVersionCreationResponse = z197.object({
5629
+ var DTODesignSystemVersionCreationResponse = z196.object({
5639
5630
  meta: ObjectMeta,
5640
- version: z197.string(),
5641
- changeLog: z197.string(),
5642
- isReadOnly: z197.boolean(),
5643
- designSystemId: z197.string(),
5644
- jobId: z197.string()
5645
- });
5646
- var VersionSQSPayload = z197.object({
5647
- jobId: z197.string(),
5648
- designSystemId: z197.string(),
5631
+ version: z196.string(),
5632
+ changeLog: z196.string(),
5633
+ isReadOnly: z196.boolean(),
5634
+ designSystemId: z196.string(),
5635
+ jobId: z196.string()
5636
+ });
5637
+ var VersionSQSPayload = z196.object({
5638
+ jobId: z196.string(),
5639
+ designSystemId: z196.string(),
5649
5640
  input: DTOCreateVersionInput
5650
5641
  });
5651
- var DTODesignSystemVersionJobsResponse = z197.object({
5652
- jobs: z197.array(VersionCreationJob)
5642
+ var DTODesignSystemVersionJobsResponse = z196.object({
5643
+ jobs: z196.array(VersionCreationJob)
5653
5644
  });
5654
- var DTODesignSystemVersionJobStatusResponse = z197.object({
5645
+ var DTODesignSystemVersionJobStatusResponse = z196.object({
5655
5646
  job: VersionCreationJob
5656
5647
  });
5657
5648
 
5658
5649
  // src/api/dto/design-systems/view.ts
5659
- import { z as z198 } from "zod";
5660
- var DTOElementViewColumnSharedAttributes = z198.object({
5661
- id: z198.string(),
5662
- persistentId: z198.string(),
5663
- width: z198.number()
5650
+ import { z as z197 } from "zod";
5651
+ var DTOElementViewColumnSharedAttributes = z197.object({
5652
+ id: z197.string(),
5653
+ persistentId: z197.string(),
5654
+ width: z197.number()
5664
5655
  });
5665
5656
  var DTOElementViewBasePropertyColumn = DTOElementViewColumnSharedAttributes.extend({
5666
- type: z198.literal("BaseProperty"),
5657
+ type: z197.literal("BaseProperty"),
5667
5658
  basePropertyType: ElementViewBaseColumnType
5668
5659
  });
5669
5660
  var DTOElementViewPropertyDefinitionColumn = DTOElementViewColumnSharedAttributes.extend({
5670
- type: z198.literal("PropertyDefinition"),
5671
- propertyDefinitionId: z198.string()
5661
+ type: z197.literal("PropertyDefinition"),
5662
+ propertyDefinitionId: z197.string()
5672
5663
  });
5673
5664
  var DTOElementViewThemeColumn = DTOElementViewColumnSharedAttributes.extend({
5674
- type: z198.literal("Theme"),
5675
- themeId: z198.string()
5665
+ type: z197.literal("Theme"),
5666
+ themeId: z197.string()
5676
5667
  });
5677
- var DTOElementViewColumn = z198.discriminatedUnion("type", [
5668
+ var DTOElementViewColumn = z197.discriminatedUnion("type", [
5678
5669
  DTOElementViewBasePropertyColumn,
5679
5670
  DTOElementViewPropertyDefinitionColumn,
5680
5671
  DTOElementViewThemeColumn
5681
5672
  ]);
5682
- var DTOElementView = z198.object({
5673
+ var DTOElementView = z197.object({
5683
5674
  meta: ObjectMeta,
5684
- persistentId: z198.string(),
5675
+ persistentId: z197.string(),
5685
5676
  targetElementType: ElementPropertyTargetType,
5686
- id: z198.string(),
5687
- isDefault: z198.boolean(),
5688
- columns: z198.array(DTOElementViewColumn)
5677
+ id: z197.string(),
5678
+ isDefault: z197.boolean(),
5679
+ columns: z197.array(DTOElementViewColumn)
5689
5680
  });
5690
- var DTOElementViewsListResponse = z198.object({
5691
- elementDataViews: z198.array(DTOElementView)
5681
+ var DTOElementViewsListResponse = z197.object({
5682
+ elementDataViews: z197.array(DTOElementView)
5692
5683
  });
5693
5684
 
5694
5685
  // src/api/dto/workspaces/git.ts
5695
- import { z as z199 } from "zod";
5696
- var DTOGitOrganization = z199.object({
5697
- id: z199.string(),
5698
- name: z199.string(),
5699
- url: z199.string(),
5700
- slug: z199.string()
5686
+ import { z as z198 } from "zod";
5687
+ var DTOGitOrganization = z198.object({
5688
+ id: z198.string(),
5689
+ name: z198.string(),
5690
+ url: z198.string(),
5691
+ slug: z198.string()
5701
5692
  });
5702
- var DTOGitProject = z199.object({
5703
- id: z199.string(),
5704
- name: z199.string(),
5705
- url: z199.string(),
5706
- slug: z199.string()
5693
+ var DTOGitProject = z198.object({
5694
+ id: z198.string(),
5695
+ name: z198.string(),
5696
+ url: z198.string(),
5697
+ slug: z198.string()
5707
5698
  });
5708
- var DTOGitRepository = z199.object({
5709
- id: z199.string(),
5710
- name: z199.string(),
5711
- url: z199.string(),
5712
- slug: z199.string(),
5713
- defaultBranch: z199.string().optional()
5699
+ var DTOGitRepository = z198.object({
5700
+ id: z198.string(),
5701
+ name: z198.string(),
5702
+ url: z198.string(),
5703
+ slug: z198.string(),
5704
+ defaultBranch: z198.string().optional()
5714
5705
  });
5715
- var DTOGitBranch = z199.object({
5716
- name: z199.string(),
5717
- lastCommitId: z199.string()
5706
+ var DTOGitBranch = z198.object({
5707
+ name: z198.string(),
5708
+ lastCommitId: z198.string()
5718
5709
  });
5719
5710
 
5720
5711
  // src/api/dto/workspaces/integrations.ts
5721
- import { z as z200 } from "zod";
5712
+ import { z as z199 } from "zod";
5722
5713
  var DTOIntegrationCredentials = IntegrationCredentials.omit({
5723
5714
  accessToken: true,
5724
5715
  refreshToken: true
5725
5716
  });
5726
- var DTOIntegration = z200.object({
5727
- id: z200.string(),
5728
- workspaceId: z200.string(),
5717
+ var DTOIntegration = z199.object({
5718
+ id: z199.string(),
5719
+ workspaceId: z199.string(),
5729
5720
  type: ExtendedIntegrationType,
5730
- createdAt: z200.coerce.date(),
5731
- integrationCredentials: z200.array(DTOIntegrationCredentials).optional(),
5732
- integrationDesignSystems: z200.array(IntegrationDesignSystem).optional()
5721
+ createdAt: z199.coerce.date(),
5722
+ integrationCredentials: z199.array(DTOIntegrationCredentials).optional(),
5723
+ integrationDesignSystems: z199.array(IntegrationDesignSystem).optional()
5733
5724
  });
5734
- var DTOIntegrationOAuthGetResponse = z200.object({
5735
- url: z200.string()
5725
+ var DTOIntegrationOAuthGetResponse = z199.object({
5726
+ url: z199.string()
5736
5727
  });
5737
- var DTOIntegrationPostResponse = z200.object({
5728
+ var DTOIntegrationPostResponse = z199.object({
5738
5729
  integration: DTOIntegration
5739
5730
  });
5740
- var DTOIntegrationsGetListResponse = z200.object({
5731
+ var DTOIntegrationsGetListResponse = z199.object({
5741
5732
  integrations: DTOIntegration.array()
5742
5733
  });
5743
5734
 
5744
5735
  // src/api/dto/workspaces/invitations.ts
5745
- import { z as z201 } from "zod";
5746
- var DTOWorkspaceInvitationInput = z201.object({
5747
- email: z201.string().email(),
5736
+ import { z as z200 } from "zod";
5737
+ var DTOWorkspaceInvitationInput = z200.object({
5738
+ email: z200.string().email(),
5748
5739
  role: WorkspaceRoleSchema
5749
5740
  });
5750
- var DTOWorkspaceInvitationsListInput = z201.object({
5741
+ var DTOWorkspaceInvitationsListInput = z200.object({
5751
5742
  invites: DTOWorkspaceInvitationInput.array().max(100),
5752
- designSystemId: z201.string().optional()
5743
+ designSystemId: z200.string().optional()
5753
5744
  });
5754
- var DTOWorkspaceInvitationsResponse = z201.object({
5745
+ var DTOWorkspaceInvitationsResponse = z200.object({
5755
5746
  invitations: WorkspaceInvitation.array()
5756
5747
  });
5757
- var DTOWorkspaceInviteUpdate = z201.object({
5748
+ var DTOWorkspaceInviteUpdate = z200.object({
5758
5749
  role: WorkspaceRoleSchema
5759
5750
  });
5760
- var DTOWorkspaceInvitationUpdateResponse = z201.object({
5751
+ var DTOWorkspaceInvitationUpdateResponse = z200.object({
5761
5752
  invitation: WorkspaceInvitation
5762
5753
  });
5763
5754
 
5764
5755
  // src/api/dto/workspaces/membership.ts
5765
- import { z as z204 } from "zod";
5756
+ import { z as z203 } from "zod";
5766
5757
 
5767
5758
  // src/api/dto/workspaces/workspace.ts
5768
- import { z as z203 } from "zod";
5759
+ import { z as z202 } from "zod";
5769
5760
 
5770
5761
  // src/api/dto/workspaces/npm-registry.ts
5771
- import { z as z202 } from "zod";
5762
+ import { z as z201 } from "zod";
5772
5763
  var DTONpmRegistryConfigConstants = {
5773
5764
  passwordPlaceholder: "redacted"
5774
5765
  };
5775
- var DTONpmRegistryConfig = z202.object({
5766
+ var DTONpmRegistryConfig = z201.object({
5776
5767
  // Registry basic configuration
5777
5768
  registryType: NpmRegistryType,
5778
- registryUrl: z202.string(),
5779
- customRegistryUrl: z202.string().optional(),
5769
+ registryUrl: z201.string(),
5770
+ customRegistryUrl: z201.string().optional(),
5780
5771
  // URL of Supernova NPM packages proxy
5781
- proxyUrl: z202.string(),
5772
+ proxyUrl: z201.string(),
5782
5773
  // Auth configuration
5783
5774
  authType: NpmRegistryAuthType,
5784
- accessToken: z202.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
5785
- username: z202.string().optional(),
5786
- password: z202.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
5775
+ accessToken: z201.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
5776
+ username: z201.string().optional(),
5777
+ password: z201.literal(DTONpmRegistryConfigConstants.passwordPlaceholder).optional(),
5787
5778
  // NPM package scopes for whih the proxy should be enabled
5788
- enabledScopes: z202.array(z202.string()),
5779
+ enabledScopes: z201.array(z201.string()),
5789
5780
  // True if client should bypass Supernova proxy and connect directly to the registry
5790
5781
  // (e.g. when the NPM registry is behind a VPN or firewall which prevents Supernova from accessing it)
5791
- bypassProxy: z202.boolean()
5782
+ bypassProxy: z201.boolean()
5792
5783
  });
5793
5784
 
5794
5785
  // src/api/dto/workspaces/workspace.ts
5795
- var DTOWorkspace = z203.object({
5796
- id: z203.string(),
5786
+ var DTOWorkspace = z202.object({
5787
+ id: z202.string(),
5797
5788
  profile: WorkspaceProfile,
5798
5789
  subscription: Subscription,
5799
5790
  npmRegistry: DTONpmRegistryConfig.optional()
5800
5791
  });
5801
- var DTOWorkspaceCreateInput = z203.object({
5802
- name: z203.string()
5792
+ var DTOWorkspaceCreateInput = z202.object({
5793
+ name: z202.string()
5803
5794
  });
5804
- var DTOWorkspaceResponse = z203.object({
5795
+ var DTOWorkspaceResponse = z202.object({
5805
5796
  workspace: DTOWorkspace
5806
5797
  });
5807
5798
 
5808
5799
  // src/api/dto/workspaces/membership.ts
5809
- var DTOWorkspaceRole = z204.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Contributor"]);
5810
- var DTOUserWorkspaceMembership = z204.object({
5800
+ var DTOWorkspaceRole = z203.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Contributor"]);
5801
+ var DTOUserWorkspaceMembership = z203.object({
5811
5802
  // Workspace the user is a member of
5812
5803
  workspace: DTOWorkspace,
5813
5804
  // Assigned role the user has in the workspace
@@ -5817,26 +5808,26 @@ var DTOUserWorkspaceMembership = z204.object({
5817
5808
  // when a workspace's subscription is downgraded to free tier
5818
5809
  effectiveRole: DTOWorkspaceRole
5819
5810
  });
5820
- var DTOWorkspaceMember = z204.object({
5811
+ var DTOWorkspaceMember = z203.object({
5821
5812
  user: User,
5822
5813
  role: WorkspaceRoleSchema,
5823
5814
  effectiveRole: WorkspaceRoleSchema
5824
5815
  });
5825
- var DTOUserWorkspaceMembershipsResponse = z204.object({
5826
- membership: z204.array(DTOUserWorkspaceMembership)
5816
+ var DTOUserWorkspaceMembershipsResponse = z203.object({
5817
+ membership: z203.array(DTOUserWorkspaceMembership)
5827
5818
  });
5828
- var DTOWorkspaceMembersListResponse = z204.object({
5829
- members: z204.array(DTOWorkspaceMember)
5819
+ var DTOWorkspaceMembersListResponse = z203.object({
5820
+ members: z203.array(DTOWorkspaceMember)
5830
5821
  });
5831
5822
 
5832
5823
  // src/api/dto/bff/app-bootstrap-data.ts
5833
- var DTOAppBootstrapDataQuery = z205.object({
5834
- preferredWorkspaceId: z205.string().optional(),
5835
- preferredDesignSystemId: z205.string().optional(),
5836
- preferredVersionId: z205.string().optional(),
5837
- preferredBrandId: z205.string().optional()
5824
+ var DTOAppBootstrapDataQuery = z204.object({
5825
+ preferredWorkspaceId: z204.string().optional(),
5826
+ preferredDesignSystemId: z204.string().optional(),
5827
+ preferredVersionId: z204.string().optional(),
5828
+ preferredBrandId: z204.string().optional()
5838
5829
  });
5839
- var DTOAppBootstrapDataResponse = z205.object({
5830
+ var DTOAppBootstrapDataResponse = z204.object({
5840
5831
  workspaceMembership: DTOUserWorkspaceMembership.optional(),
5841
5832
  designSystem: DTODesignSystem.optional(),
5842
5833
  version: DTODesignSystemVersion.optional(),
@@ -5844,54 +5835,65 @@ var DTOAppBootstrapDataResponse = z205.object({
5844
5835
  });
5845
5836
 
5846
5837
  // src/api/dto/collections/collection.ts
5847
- import { z as z206 } from "zod";
5848
- var DTOTokenCollection = z206.object({
5849
- id: z206.string(),
5850
- persistentId: z206.string(),
5851
- designSystemVersionId: z206.string(),
5838
+ import { z as z205 } from "zod";
5839
+ var DTOTokenCollection = z205.object({
5840
+ id: z205.string(),
5841
+ persistentId: z205.string(),
5842
+ designSystemVersionId: z205.string(),
5852
5843
  meta: ObjectMeta,
5853
- createdAt: z206.coerce.date(),
5854
- updatedAt: z206.coerce.date(),
5855
- origin: z206.object({
5856
- id: z206.string(),
5857
- sourceId: z206.string()
5844
+ createdAt: z205.coerce.date(),
5845
+ updatedAt: z205.coerce.date(),
5846
+ origin: z205.object({
5847
+ id: z205.string(),
5848
+ sourceId: z205.string()
5858
5849
  })
5859
5850
  });
5860
- var DTOTokenCollectionsListReponse = z206.object({
5851
+ var DTOTokenCollectionsListReponse = z205.object({
5861
5852
  collections: DTOTokenCollection.array()
5862
5853
  });
5863
5854
 
5864
5855
  // src/api/dto/design-tokens/design-token.ts
5865
- import { z as z207 } from "zod";
5856
+ import { z as z206 } from "zod";
5866
5857
  var DTODesignToken = DesignTokenTypedData.and(
5867
- z207.object({
5868
- id: z207.string(),
5869
- persistentId: z207.string(),
5870
- designSystemVersionId: z207.string(),
5858
+ z206.object({
5859
+ id: z206.string(),
5860
+ persistentId: z206.string(),
5861
+ designSystemVersionId: z206.string(),
5871
5862
  meta: ObjectMeta,
5872
- origin: DesignTokenOrigin.optional(),
5873
- brandId: z207.string(),
5874
- updatedAt: z207.coerce.date()
5863
+ originStyle: DesignTokenOrigin.optional(),
5864
+ brandId: z206.string(),
5865
+ updatedAt: z206.coerce.date()
5875
5866
  })
5876
5867
  );
5877
- var DTODesignTokenListResponse = z207.object({
5868
+ var DTODesignTokenListResponse = z206.object({
5878
5869
  tokens: DTODesignToken.array()
5879
5870
  });
5871
+ var DTODesignTokenResponse = z206.object({
5872
+ token: DTODesignToken
5873
+ });
5874
+ var DTODesignTokenCreatePayload = DesignTokenTypedData.and(
5875
+ z206.object({
5876
+ persistentId: z206.string(),
5877
+ meta: ObjectMeta,
5878
+ brandId: z206.string(),
5879
+ groupPersistentId: z206.string().optional()
5880
+ })
5881
+ );
5880
5882
 
5881
5883
  // src/api/dto/documentation/anchor.ts
5882
- import { z as z208 } from "zod";
5884
+ import { z as z207 } from "zod";
5883
5885
  var DTODocumentationPageAnchor = DocumentationPageAnchor;
5884
- var DTOGetDocumentationPageAnchorsResponse = z208.object({
5885
- anchors: z208.array(DTODocumentationPageAnchor)
5886
+ var DTOGetDocumentationPageAnchorsResponse = z207.object({
5887
+ anchors: z207.array(DTODocumentationPageAnchor)
5886
5888
  });
5887
5889
 
5888
5890
  // src/api/dto/documentation/approvals.ts
5889
- import { z as z209 } from "zod";
5891
+ import { z as z208 } from "zod";
5890
5892
  var DTODocumentationPageApprovalState = DocumentationPageApproval;
5891
- var DTODocumentationGroupApprovalState = z209.object({
5892
- persistentId: z209.string(),
5893
- groupId: z209.string(),
5894
- designSystemVersionId: z209.string(),
5893
+ var DTODocumentationGroupApprovalState = z208.object({
5894
+ persistentId: z208.string(),
5895
+ groupId: z208.string(),
5896
+ designSystemVersionId: z208.string(),
5895
5897
  approvalState: DocumentationPageApprovalState
5896
5898
  });
5897
5899
 
@@ -5899,68 +5901,68 @@ var DTODocumentationGroupApprovalState = z209.object({
5899
5901
  var DTOPageBlockItemV2 = PageBlockItemV2;
5900
5902
 
5901
5903
  // src/api/dto/documentation/documentation-page-snapshot.ts
5902
- import { z as z214 } from "zod";
5904
+ import { z as z213 } from "zod";
5903
5905
 
5904
5906
  // src/api/dto/elements/documentation/page-v2.ts
5905
- import { z as z213 } from "zod";
5907
+ import { z as z212 } from "zod";
5906
5908
 
5907
5909
  // src/api/dto/elements/documentation/draft-state.ts
5908
- import { z as z211 } from "zod";
5910
+ import { z as z210 } from "zod";
5909
5911
 
5910
5912
  // src/api/dto/elements/documentation/item-configuration-v2.ts
5911
- import { z as z210 } from "zod";
5913
+ import { z as z209 } from "zod";
5912
5914
  var DTODocumentationItemHeaderV2 = DocumentationItemHeaderV2;
5913
- var DTODocumentationItemConfigurationV2 = z210.object({
5914
- showSidebar: z210.boolean(),
5915
- isPrivate: z210.boolean(),
5916
- isHidden: z210.boolean(),
5915
+ var DTODocumentationItemConfigurationV2 = z209.object({
5916
+ showSidebar: z209.boolean(),
5917
+ isPrivate: z209.boolean(),
5918
+ isHidden: z209.boolean(),
5917
5919
  header: DTODocumentationItemHeaderV2
5918
5920
  });
5919
5921
 
5920
5922
  // src/api/dto/elements/documentation/draft-state.ts
5921
- var DTODocumentationDraftChangeType = z211.enum(["Created", "Updated", "Deleted"]);
5922
- var DTODocumentationDraftStateCreated = z211.object({
5923
- changeType: z211.literal(DTODocumentationDraftChangeType.enum.Created)
5924
- });
5925
- var DTODocumentationDraftStateUpdated = z211.object({
5926
- changeType: z211.literal(DTODocumentationDraftChangeType.enum.Updated),
5927
- changes: z211.object({
5928
- previousTitle: z211.string().optional(),
5923
+ var DTODocumentationDraftChangeType = z210.enum(["Created", "Updated", "Deleted"]);
5924
+ var DTODocumentationDraftStateCreated = z210.object({
5925
+ changeType: z210.literal(DTODocumentationDraftChangeType.enum.Created)
5926
+ });
5927
+ var DTODocumentationDraftStateUpdated = z210.object({
5928
+ changeType: z210.literal(DTODocumentationDraftChangeType.enum.Updated),
5929
+ changes: z210.object({
5930
+ previousTitle: z210.string().optional(),
5929
5931
  previousConfiguration: DTODocumentationItemConfigurationV2.optional(),
5930
- previousContentHash: z211.string().optional()
5932
+ previousContentHash: z210.string().optional()
5931
5933
  })
5932
5934
  });
5933
- var DTODocumentationDraftStateDeleted = z211.object({
5934
- changeType: z211.literal(DTODocumentationDraftChangeType.enum.Deleted),
5935
- deletedAt: z211.coerce.date(),
5936
- deletedByUserId: z211.string()
5935
+ var DTODocumentationDraftStateDeleted = z210.object({
5936
+ changeType: z210.literal(DTODocumentationDraftChangeType.enum.Deleted),
5937
+ deletedAt: z210.coerce.date(),
5938
+ deletedByUserId: z210.string()
5937
5939
  });
5938
- var DTODocumentationDraftState = z211.discriminatedUnion("changeType", [
5940
+ var DTODocumentationDraftState = z210.discriminatedUnion("changeType", [
5939
5941
  DTODocumentationDraftStateCreated,
5940
5942
  DTODocumentationDraftStateUpdated,
5941
5943
  DTODocumentationDraftStateDeleted
5942
5944
  ]);
5943
5945
 
5944
5946
  // src/api/dto/elements/documentation/metadata.ts
5945
- import { z as z212 } from "zod";
5946
- var DTODocumentationPublishMetadata = z212.object({
5947
- lastPublishedByUserId: z212.string(),
5948
- lastPublishedAt: z212.coerce.date()
5947
+ import { z as z211 } from "zod";
5948
+ var DTODocumentationPublishMetadata = z211.object({
5949
+ lastPublishedByUserId: z211.string(),
5950
+ lastPublishedAt: z211.coerce.date()
5949
5951
  });
5950
5952
 
5951
5953
  // src/api/dto/elements/documentation/page-v2.ts
5952
- var DTODocumentationPageV2 = z213.object({
5953
- id: z213.string(),
5954
- persistentId: z213.string(),
5955
- designSystemVersionId: z213.string(),
5956
- title: z213.string(),
5954
+ var DTODocumentationPageV2 = z212.object({
5955
+ id: z212.string(),
5956
+ persistentId: z212.string(),
5957
+ designSystemVersionId: z212.string(),
5958
+ title: z212.string(),
5957
5959
  configuration: DTODocumentationItemConfigurationV2,
5958
- shortPersistentId: z213.string(),
5959
- slug: z213.string().optional(),
5960
- userSlug: z213.string().optional(),
5961
- createdAt: z213.coerce.date(),
5962
- updatedAt: z213.coerce.date(),
5963
- path: z213.string(),
5960
+ shortPersistentId: z212.string(),
5961
+ slug: z212.string().optional(),
5962
+ userSlug: z212.string().optional(),
5963
+ createdAt: z212.coerce.date(),
5964
+ updatedAt: z212.coerce.date(),
5965
+ path: z212.string(),
5964
5966
  /** Defined when a page has changed since last publish and can be included into a partial publish */
5965
5967
  draftState: DTODocumentationDraftState.optional(),
5966
5968
  /** Defined if a page was published at least once and contains metadata about last publish */
@@ -5968,197 +5970,197 @@ var DTODocumentationPageV2 = z213.object({
5968
5970
  /** Defines the approval state of the documentation page */
5969
5971
  approvalState: DTODocumentationPageApprovalState.optional(),
5970
5972
  // Backward compatibility
5971
- type: z213.literal("Page")
5973
+ type: z212.literal("Page")
5972
5974
  });
5973
- var DTOCreateDocumentationPageInputV2 = z213.object({
5975
+ var DTOCreateDocumentationPageInputV2 = z212.object({
5974
5976
  // Identifier
5975
- persistentId: z213.string(),
5977
+ persistentId: z212.string(),
5976
5978
  // Page properties
5977
- title: z213.string(),
5979
+ title: z212.string(),
5978
5980
  configuration: DTODocumentationItemConfigurationV2.partial().optional(),
5979
5981
  // Page placement properties
5980
- parentPersistentId: z213.string(),
5981
- afterPersistentId: z213.string().nullish()
5982
+ parentPersistentId: z212.string(),
5983
+ afterPersistentId: z212.string().nullish()
5982
5984
  });
5983
- var DTOUpdateDocumentationPageInputV2 = z213.object({
5985
+ var DTOUpdateDocumentationPageInputV2 = z212.object({
5984
5986
  // Identifier of the group to update
5985
- id: z213.string(),
5987
+ id: z212.string(),
5986
5988
  // Page properties
5987
- title: z213.string().optional(),
5989
+ title: z212.string().optional(),
5988
5990
  configuration: DTODocumentationItemConfigurationV2.partial().optional()
5989
5991
  });
5990
- var DTOMoveDocumentationPageInputV2 = z213.object({
5992
+ var DTOMoveDocumentationPageInputV2 = z212.object({
5991
5993
  // Identifier of the group to update
5992
- id: z213.string(),
5994
+ id: z212.string(),
5993
5995
  // Page placement properties
5994
- parentPersistentId: z213.string(),
5995
- afterPersistentId: z213.string().nullish()
5996
+ parentPersistentId: z212.string(),
5997
+ afterPersistentId: z212.string().nullish()
5996
5998
  });
5997
- var DTODuplicateDocumentationPageInputV2 = z213.object({
5999
+ var DTODuplicateDocumentationPageInputV2 = z212.object({
5998
6000
  // Identifier of the page to duplicate from
5999
- id: z213.string(),
6001
+ id: z212.string(),
6000
6002
  // New page persistent id
6001
- persistentId: z213.string(),
6003
+ persistentId: z212.string(),
6002
6004
  // Page placement properties
6003
- parentPersistentId: z213.string(),
6004
- afterPersistentId: z213.string().nullish()
6005
+ parentPersistentId: z212.string(),
6006
+ afterPersistentId: z212.string().nullish()
6005
6007
  });
6006
- var DTODeleteDocumentationPageInputV2 = z213.object({
6008
+ var DTODeleteDocumentationPageInputV2 = z212.object({
6007
6009
  // Identifier
6008
- id: z213.string()
6010
+ id: z212.string()
6009
6011
  });
6010
- var DTORestoreDocumentationPageInput = z213.object({
6011
- persistentId: z213.string(),
6012
- snapshotId: z213.string().optional()
6012
+ var DTORestoreDocumentationPageInput = z212.object({
6013
+ persistentId: z212.string(),
6014
+ snapshotId: z212.string().optional()
6013
6015
  });
6014
- var DTORestoreDocumentationGroupInput = z213.object({
6015
- persistentId: z213.string(),
6016
- snapshotId: z213.string().optional()
6016
+ var DTORestoreDocumentationGroupInput = z212.object({
6017
+ persistentId: z212.string(),
6018
+ snapshotId: z212.string().optional()
6017
6019
  });
6018
- var DTODocumentationPageApprovalStateChangeInput = z213.object({
6019
- persistentId: z213.string(),
6020
+ var DTODocumentationPageApprovalStateChangeInput = z212.object({
6021
+ persistentId: z212.string(),
6020
6022
  approvalState: DocumentationPageApprovalState.optional()
6021
6023
  });
6022
6024
 
6023
6025
  // src/api/dto/documentation/documentation-page-snapshot.ts
6024
- var DTODocumentationPageSnapshot = z214.object({
6025
- id: z214.string(),
6026
- designSystemVersionId: z214.string(),
6027
- createdAt: z214.string(),
6028
- updatedAt: z214.string(),
6026
+ var DTODocumentationPageSnapshot = z213.object({
6027
+ id: z213.string(),
6028
+ designSystemVersionId: z213.string(),
6029
+ createdAt: z213.string(),
6030
+ updatedAt: z213.string(),
6029
6031
  documentationPage: DTODocumentationPageV2,
6030
- pageContentHash: z214.string(),
6032
+ pageContentHash: z213.string(),
6031
6033
  reason: DesignElementSnapshotReason
6032
6034
  });
6033
6035
 
6034
6036
  // src/api/dto/documentation/link-preview.ts
6035
- import { z as z215 } from "zod";
6036
- var DTODocumentationLinkPreviewResponse = z215.object({
6037
+ import { z as z214 } from "zod";
6038
+ var DTODocumentationLinkPreviewResponse = z214.object({
6037
6039
  linkPreview: DocumentationLinkPreview
6038
6040
  });
6039
- var DTODocumentationLinkPreviewRequest = z215.object({
6040
- url: z215.string().optional(),
6041
- documentationItemPersistentId: z215.string().optional()
6041
+ var DTODocumentationLinkPreviewRequest = z214.object({
6042
+ url: z214.string().optional(),
6043
+ documentationItemPersistentId: z214.string().optional()
6042
6044
  });
6043
6045
 
6044
6046
  // src/api/dto/documentation/publish.ts
6045
- import { z as z219 } from "zod";
6047
+ import { z as z218 } from "zod";
6046
6048
 
6047
6049
  // src/api/dto/export/exporter.ts
6048
- import { z as z216 } from "zod";
6049
- var DTOExporterType = z216.enum(["documentation", "code"]);
6050
- var DTOExporterSource = z216.enum(["git", "upload"]);
6051
- var DTOExporterMembershipRole = z216.enum(["Owner", "OwnerArchived", "User"]);
6052
- var DTOExporter = z216.object({
6053
- id: z216.string(),
6054
- name: z216.string(),
6055
- isPrivate: z216.boolean(),
6050
+ import { z as z215 } from "zod";
6051
+ var DTOExporterType = z215.enum(["documentation", "code"]);
6052
+ var DTOExporterSource = z215.enum(["git", "upload"]);
6053
+ var DTOExporterMembershipRole = z215.enum(["Owner", "OwnerArchived", "User"]);
6054
+ var DTOExporter = z215.object({
6055
+ id: z215.string(),
6056
+ name: z215.string(),
6057
+ isPrivate: z215.boolean(),
6056
6058
  exporterType: DTOExporterType,
6057
- isDefaultDocumentationExporter: z216.boolean(),
6058
- iconURL: z216.string().optional(),
6059
+ isDefaultDocumentationExporter: z215.boolean(),
6060
+ iconURL: z215.string().optional(),
6059
6061
  configurationProperties: PulsarContributionConfigurationProperty.array(),
6060
6062
  customBlocks: PulsarCustomBlock.array(),
6061
- blockVariants: z216.record(z216.string(), PulsarContributionVariant.array()),
6062
- usesBrands: z216.boolean(),
6063
- usesThemes: z216.boolean(),
6063
+ blockVariants: z215.record(z215.string(), PulsarContributionVariant.array()),
6064
+ usesBrands: z215.boolean(),
6065
+ usesThemes: z215.boolean(),
6064
6066
  source: DTOExporterSource,
6065
- gitUrl: z216.string().optional(),
6066
- gitBranch: z216.string().optional(),
6067
- gitDirectory: z216.string().optional()
6067
+ gitUrl: z215.string().optional(),
6068
+ gitBranch: z215.string().optional(),
6069
+ gitDirectory: z215.string().optional()
6068
6070
  });
6069
- var DTOExporterMembership = z216.object({
6070
- workspaceId: z216.string(),
6071
- exporterId: z216.string(),
6071
+ var DTOExporterMembership = z215.object({
6072
+ workspaceId: z215.string(),
6073
+ exporterId: z215.string(),
6072
6074
  role: DTOExporterMembershipRole
6073
6075
  });
6074
- var DTOExporterCreateOutput = z216.object({
6076
+ var DTOExporterCreateOutput = z215.object({
6075
6077
  exporter: DTOExporter,
6076
6078
  membership: DTOExporterMembership
6077
6079
  });
6078
- var DTOExporterGitProviderEnum = z216.enum(["github", "gitlab", "bitbucket", "azure"]);
6079
- var DTOExporterCreateInput = z216.object({
6080
- url: z216.string(),
6080
+ var DTOExporterGitProviderEnum = z215.enum(["github", "gitlab", "bitbucket", "azure"]);
6081
+ var DTOExporterCreateInput = z215.object({
6082
+ url: z215.string(),
6081
6083
  provider: DTOExporterGitProviderEnum
6082
6084
  });
6083
- var DTOExporterUpdateInput = z216.object({
6084
- url: z216.string().optional()
6085
+ var DTOExporterUpdateInput = z215.object({
6086
+ url: z215.string().optional()
6085
6087
  });
6086
6088
 
6087
6089
  // src/api/dto/export/filter.ts
6088
6090
  var DTOExportJobsListFilter = ExportJobFindByFilter;
6089
6091
 
6090
6092
  // src/api/dto/export/job.ts
6091
- import { z as z217 } from "zod";
6092
- var DTOExportJobCreatedBy = z217.object({
6093
- userId: z217.string(),
6094
- userName: z217.string()
6093
+ import { z as z216 } from "zod";
6094
+ var DTOExportJobCreatedBy = z216.object({
6095
+ userId: z216.string(),
6096
+ userName: z216.string()
6095
6097
  });
6096
- var DTOExportJobDesignSystemPreview = z217.object({
6097
- id: z217.string(),
6098
+ var DTOExportJobDesignSystemPreview = z216.object({
6099
+ id: z216.string(),
6098
6100
  meta: ObjectMeta
6099
6101
  });
6100
- var DTOExportJobDesignSystemVersionPreview = z217.object({
6101
- id: z217.string(),
6102
+ var DTOExportJobDesignSystemVersionPreview = z216.object({
6103
+ id: z216.string(),
6102
6104
  meta: ObjectMeta,
6103
- version: z217.string(),
6104
- isReadonly: z217.boolean()
6105
+ version: z216.string(),
6106
+ isReadonly: z216.boolean()
6105
6107
  });
6106
- var DTOExportJobDestinations = z217.object({
6108
+ var DTOExportJobDestinations = z216.object({
6107
6109
  s3: ExporterDestinationS3.optional(),
6108
6110
  azure: ExporterDestinationAzure.optional(),
6109
6111
  bitbucket: ExporterDestinationBitbucket.optional(),
6110
6112
  github: ExporterDestinationGithub.optional(),
6111
6113
  gitlab: ExporterDestinationGitlab.optional(),
6112
6114
  documentation: ExporterDestinationDocs.optional(),
6113
- webhookUrl: z217.string().optional()
6115
+ webhookUrl: z216.string().optional()
6114
6116
  });
6115
6117
  var DTOExportJobResult = ExportJobResult.omit({
6116
6118
  sndocs: true
6117
6119
  }).extend({
6118
6120
  documentation: ExportJobDocsDestinationResult.optional()
6119
6121
  });
6120
- var DTOExportJob = z217.object({
6121
- id: z217.string(),
6122
- createdAt: z217.coerce.date(),
6123
- finishedAt: z217.coerce.date().optional(),
6124
- index: z217.number().optional(),
6122
+ var DTOExportJob = z216.object({
6123
+ id: z216.string(),
6124
+ createdAt: z216.coerce.date(),
6125
+ finishedAt: z216.coerce.date().optional(),
6126
+ index: z216.number().optional(),
6125
6127
  status: ExportJobStatus,
6126
- estimatedExecutionTime: z217.number().optional(),
6128
+ estimatedExecutionTime: z216.number().optional(),
6127
6129
  createdBy: DTOExportJobCreatedBy.optional(),
6128
6130
  designSystem: DTOExportJobDesignSystemPreview,
6129
6131
  designSystemVersion: DTOExportJobDesignSystemVersionPreview,
6130
6132
  destinations: DTOExportJobDestinations,
6131
- exporterId: z217.string(),
6132
- scheduleId: z217.string().optional(),
6133
+ exporterId: z216.string(),
6134
+ scheduleId: z216.string().optional(),
6133
6135
  result: DTOExportJobResult.optional(),
6134
- brandPersistentId: z217.string().optional(),
6135
- themePersistentId: z217.string().optional(),
6136
- themePersistentIds: z217.string().array().optional()
6136
+ brandPersistentId: z216.string().optional(),
6137
+ themePersistentId: z216.string().optional(),
6138
+ themePersistentIds: z216.string().array().optional()
6137
6139
  });
6138
- var DTOExportJobResponse = z217.object({
6140
+ var DTOExportJobResponse = z216.object({
6139
6141
  job: DTOExportJob
6140
6142
  });
6141
6143
 
6142
6144
  // src/api/dto/export/pipeline.ts
6143
- import { z as z218 } from "zod";
6144
- var DTOPipeline = z218.object({
6145
- id: z218.string(),
6146
- name: z218.string(),
6145
+ import { z as z217 } from "zod";
6146
+ var DTOPipeline = z217.object({
6147
+ id: z217.string(),
6148
+ name: z217.string(),
6147
6149
  eventType: PipelineEventType,
6148
- isEnabled: z218.boolean(),
6149
- workspaceId: z218.string(),
6150
- designSystemId: z218.string(),
6151
- exporterId: z218.string(),
6152
- brandPersistentId: z218.string().optional(),
6153
- themePersistentId: z218.string().optional(),
6154
- themePersistentIds: z218.string().array().optional(),
6150
+ isEnabled: z217.boolean(),
6151
+ workspaceId: z217.string(),
6152
+ designSystemId: z217.string(),
6153
+ exporterId: z217.string(),
6154
+ brandPersistentId: z217.string().optional(),
6155
+ themePersistentId: z217.string().optional(),
6156
+ themePersistentIds: z217.string().array().optional(),
6155
6157
  ...ExportDestinationsMap.shape,
6156
6158
  latestJobs: DTOExportJob.array()
6157
6159
  });
6158
6160
 
6159
6161
  // src/api/dto/documentation/publish.ts
6160
6162
  var DTOPublishDocumentationChanges = ExportJobDocumentationChanges;
6161
- var DTOPublishDocumentationRequest = z219.object({
6163
+ var DTOPublishDocumentationRequest = z218.object({
6162
6164
  environment: PublishedDocEnvironment,
6163
6165
  /**
6164
6166
  * If defined, this allows narrowing down what is published to a set of specific pages and groups
@@ -6166,42 +6168,42 @@ var DTOPublishDocumentationRequest = z219.object({
6166
6168
  */
6167
6169
  changes: DTOPublishDocumentationChanges.optional()
6168
6170
  });
6169
- var DTOPublishDocumentationResponse = z219.object({
6171
+ var DTOPublishDocumentationResponse = z218.object({
6170
6172
  job: DTOExportJob
6171
6173
  });
6172
6174
 
6173
6175
  // src/api/dto/elements/components/figma-component.ts
6174
- import { z as z220 } from "zod";
6176
+ import { z as z219 } from "zod";
6175
6177
  var DTOFigmaComponentProperty = FigmaComponentProperty;
6176
- var DTOFigmaComponentPropertyMap = z220.record(DTOFigmaComponentProperty);
6177
- var DTOFigmaComponent = z220.object({
6178
- id: z220.string(),
6179
- persistentId: z220.string(),
6180
- designSystemVersionId: z220.string(),
6181
- brandId: z220.string(),
6182
- thumbnailUrl: z220.string().optional(),
6183
- svgUrl: z220.string().optional(),
6184
- exportProperties: z220.object({
6185
- isAsset: z220.boolean()
6178
+ var DTOFigmaComponentPropertyMap = z219.record(DTOFigmaComponentProperty);
6179
+ var DTOFigmaComponent = z219.object({
6180
+ id: z219.string(),
6181
+ persistentId: z219.string(),
6182
+ designSystemVersionId: z219.string(),
6183
+ brandId: z219.string(),
6184
+ thumbnailUrl: z219.string().optional(),
6185
+ svgUrl: z219.string().optional(),
6186
+ exportProperties: z219.object({
6187
+ isAsset: z219.boolean()
6186
6188
  }),
6187
- createdAt: z220.coerce.date(),
6188
- updatedAt: z220.coerce.date(),
6189
+ createdAt: z219.coerce.date(),
6190
+ updatedAt: z219.coerce.date(),
6189
6191
  meta: ObjectMeta,
6190
6192
  originComponent: FigmaComponentOrigin.optional(),
6191
- parentComponentPersistentId: z220.string().optional(),
6192
- childrenPersistentIds: z220.string().array().optional(),
6193
+ parentComponentPersistentId: z219.string().optional(),
6194
+ childrenPersistentIds: z219.string().array().optional(),
6193
6195
  componentPropertyDefinitions: DTOFigmaComponentPropertyMap.optional(),
6194
- variantPropertyValues: z220.record(z220.string()).optional()
6196
+ variantPropertyValues: z219.record(z219.string()).optional()
6195
6197
  });
6196
- var DTOFigmaComponentListResponse = z220.object({
6198
+ var DTOFigmaComponentListResponse = z219.object({
6197
6199
  components: DTOFigmaComponent.array()
6198
6200
  });
6199
6201
 
6200
6202
  // src/api/dto/elements/documentation/group-action.ts
6201
- import { z as z222 } from "zod";
6203
+ import { z as z221 } from "zod";
6202
6204
 
6203
6205
  // src/api/dto/elements/documentation/group-v2.ts
6204
- import { z as z221 } from "zod";
6206
+ import { z as z220 } from "zod";
6205
6207
  var DTODocumentationGroupV2 = ElementGroup.omit({
6206
6208
  sortOrder: true,
6207
6209
  parentPersistentId: true,
@@ -6211,13 +6213,13 @@ var DTODocumentationGroupV2 = ElementGroup.omit({
6211
6213
  data: true,
6212
6214
  shortPersistentId: true
6213
6215
  }).extend({
6214
- title: z221.string(),
6215
- isRoot: z221.boolean(),
6216
- childrenIds: z221.array(z221.string()),
6216
+ title: z220.string(),
6217
+ isRoot: z220.boolean(),
6218
+ childrenIds: z220.array(z220.string()),
6217
6219
  groupBehavior: DocumentationGroupBehavior,
6218
- shortPersistentId: z221.string(),
6220
+ shortPersistentId: z220.string(),
6219
6221
  configuration: DTODocumentationItemConfigurationV2,
6220
- type: z221.literal("Group"),
6222
+ type: z220.literal("Group"),
6221
6223
  /** Defined when a group has changed since last publish and can be included into a partial publish */
6222
6224
  draftState: DTODocumentationDraftState.optional(),
6223
6225
  /** Defined if a group was published at least once and contains metadata about last publish */
@@ -6225,127 +6227,127 @@ var DTODocumentationGroupV2 = ElementGroup.omit({
6225
6227
  //** An approval state for frontend to utilize. */
6226
6228
  approvalState: DTODocumentationGroupApprovalState.optional()
6227
6229
  });
6228
- var DTOCreateDocumentationGroupInput = z221.object({
6230
+ var DTOCreateDocumentationGroupInput = z220.object({
6229
6231
  // Identifier
6230
- persistentId: z221.string(),
6232
+ persistentId: z220.string(),
6231
6233
  // Group properties
6232
- title: z221.string(),
6234
+ title: z220.string(),
6233
6235
  configuration: DTODocumentationItemConfigurationV2.partial().optional(),
6234
6236
  // Group placement properties
6235
- afterPersistentId: z221.string().nullish(),
6236
- parentPersistentId: z221.string()
6237
+ afterPersistentId: z220.string().nullish(),
6238
+ parentPersistentId: z220.string()
6237
6239
  });
6238
- var DTOUpdateDocumentationGroupInput = z221.object({
6240
+ var DTOUpdateDocumentationGroupInput = z220.object({
6239
6241
  // Identifier of the group to update
6240
- id: z221.string(),
6242
+ id: z220.string(),
6241
6243
  // Group properties
6242
- title: z221.string().optional(),
6244
+ title: z220.string().optional(),
6243
6245
  configuration: DTODocumentationItemConfigurationV2.partial().optional()
6244
6246
  });
6245
- var DTOMoveDocumentationGroupInput = z221.object({
6247
+ var DTOMoveDocumentationGroupInput = z220.object({
6246
6248
  // Identifier of the group to update
6247
- id: z221.string(),
6249
+ id: z220.string(),
6248
6250
  // Group placement properties
6249
- parentPersistentId: z221.string(),
6250
- afterPersistentId: z221.string().nullish()
6251
+ parentPersistentId: z220.string(),
6252
+ afterPersistentId: z220.string().nullish()
6251
6253
  });
6252
- var DTODuplicateDocumentationGroupInput = z221.object({
6254
+ var DTODuplicateDocumentationGroupInput = z220.object({
6253
6255
  // Identifier of the group to duplicate from
6254
- id: z221.string(),
6256
+ id: z220.string(),
6255
6257
  // New group persistent id
6256
- persistentId: z221.string(),
6258
+ persistentId: z220.string(),
6257
6259
  // Group placement properties
6258
- afterPersistentId: z221.string().nullish(),
6259
- parentPersistentId: z221.string()
6260
+ afterPersistentId: z220.string().nullish(),
6261
+ parentPersistentId: z220.string()
6260
6262
  });
6261
- var DTOCreateDocumentationTabInput = z221.object({
6263
+ var DTOCreateDocumentationTabInput = z220.object({
6262
6264
  // New group persistent id
6263
- persistentId: z221.string(),
6265
+ persistentId: z220.string(),
6264
6266
  // If this is page, we will attempt to convert it to tab
6265
6267
  // If this is tab group, we will add a new tab to it
6266
- fromItemPersistentId: z221.string(),
6267
- tabName: z221.string()
6268
+ fromItemPersistentId: z220.string(),
6269
+ tabName: z220.string()
6268
6270
  });
6269
- var DTODeleteDocumentationTabGroupInput = z221.object({
6271
+ var DTODeleteDocumentationTabGroupInput = z220.object({
6270
6272
  // Deleted group id
6271
- id: z221.string()
6273
+ id: z220.string()
6272
6274
  });
6273
- var DTODeleteDocumentationGroupInput = z221.object({
6275
+ var DTODeleteDocumentationGroupInput = z220.object({
6274
6276
  // Identifier
6275
- id: z221.string(),
6277
+ id: z220.string(),
6276
6278
  // Deletion options
6277
- deleteSubtree: z221.boolean().default(false)
6279
+ deleteSubtree: z220.boolean().default(false)
6278
6280
  });
6279
6281
 
6280
6282
  // src/api/dto/elements/documentation/group-action.ts
6281
- var SuccessPayload = z222.object({
6282
- success: z222.literal(true)
6283
+ var SuccessPayload = z221.object({
6284
+ success: z221.literal(true)
6283
6285
  });
6284
- var DTODocumentationGroupCreateActionOutputV2 = z222.object({
6285
- type: z222.literal("DocumentationGroupCreate"),
6286
+ var DTODocumentationGroupCreateActionOutputV2 = z221.object({
6287
+ type: z221.literal("DocumentationGroupCreate"),
6286
6288
  output: SuccessPayload
6287
6289
  });
6288
- var DTODocumentationTabCreateActionOutputV2 = z222.object({
6289
- type: z222.literal("DocumentationTabCreate"),
6290
+ var DTODocumentationTabCreateActionOutputV2 = z221.object({
6291
+ type: z221.literal("DocumentationTabCreate"),
6290
6292
  output: SuccessPayload
6291
6293
  });
6292
- var DTODocumentationGroupUpdateActionOutputV2 = z222.object({
6293
- type: z222.literal("DocumentationGroupUpdate"),
6294
+ var DTODocumentationGroupUpdateActionOutputV2 = z221.object({
6295
+ type: z221.literal("DocumentationGroupUpdate"),
6294
6296
  output: SuccessPayload
6295
6297
  });
6296
- var DTODocumentationGroupMoveActionOutputV2 = z222.object({
6297
- type: z222.literal("DocumentationGroupMove"),
6298
+ var DTODocumentationGroupMoveActionOutputV2 = z221.object({
6299
+ type: z221.literal("DocumentationGroupMove"),
6298
6300
  output: SuccessPayload
6299
6301
  });
6300
- var DTODocumentationGroupDuplicateActionOutputV2 = z222.object({
6301
- type: z222.literal("DocumentationGroupDuplicate"),
6302
+ var DTODocumentationGroupDuplicateActionOutputV2 = z221.object({
6303
+ type: z221.literal("DocumentationGroupDuplicate"),
6302
6304
  output: SuccessPayload
6303
6305
  });
6304
- var DTODocumentationGroupDeleteActionOutputV2 = z222.object({
6305
- type: z222.literal("DocumentationGroupDelete"),
6306
+ var DTODocumentationGroupDeleteActionOutputV2 = z221.object({
6307
+ type: z221.literal("DocumentationGroupDelete"),
6306
6308
  output: SuccessPayload
6307
6309
  });
6308
- var DTODocumentationTabGroupDeleteActionOutputV2 = z222.object({
6309
- type: z222.literal("DocumentationTabGroupDelete"),
6310
+ var DTODocumentationTabGroupDeleteActionOutputV2 = z221.object({
6311
+ type: z221.literal("DocumentationTabGroupDelete"),
6310
6312
  output: SuccessPayload
6311
6313
  });
6312
- var DTODocumentationGroupCreateActionInputV2 = z222.object({
6313
- type: z222.literal("DocumentationGroupCreate"),
6314
+ var DTODocumentationGroupCreateActionInputV2 = z221.object({
6315
+ type: z221.literal("DocumentationGroupCreate"),
6314
6316
  input: DTOCreateDocumentationGroupInput
6315
6317
  });
6316
- var DTODocumentationTabCreateActionInputV2 = z222.object({
6317
- type: z222.literal("DocumentationTabCreate"),
6318
+ var DTODocumentationTabCreateActionInputV2 = z221.object({
6319
+ type: z221.literal("DocumentationTabCreate"),
6318
6320
  input: DTOCreateDocumentationTabInput
6319
6321
  });
6320
- var DTODocumentationGroupUpdateActionInputV2 = z222.object({
6321
- type: z222.literal("DocumentationGroupUpdate"),
6322
+ var DTODocumentationGroupUpdateActionInputV2 = z221.object({
6323
+ type: z221.literal("DocumentationGroupUpdate"),
6322
6324
  input: DTOUpdateDocumentationGroupInput
6323
6325
  });
6324
- var DTODocumentationGroupMoveActionInputV2 = z222.object({
6325
- type: z222.literal("DocumentationGroupMove"),
6326
+ var DTODocumentationGroupMoveActionInputV2 = z221.object({
6327
+ type: z221.literal("DocumentationGroupMove"),
6326
6328
  input: DTOMoveDocumentationGroupInput
6327
6329
  });
6328
- var DTODocumentationGroupDuplicateActionInputV2 = z222.object({
6329
- type: z222.literal("DocumentationGroupDuplicate"),
6330
+ var DTODocumentationGroupDuplicateActionInputV2 = z221.object({
6331
+ type: z221.literal("DocumentationGroupDuplicate"),
6330
6332
  input: DTODuplicateDocumentationGroupInput
6331
6333
  });
6332
- var DTODocumentationGroupDeleteActionInputV2 = z222.object({
6333
- type: z222.literal("DocumentationGroupDelete"),
6334
+ var DTODocumentationGroupDeleteActionInputV2 = z221.object({
6335
+ type: z221.literal("DocumentationGroupDelete"),
6334
6336
  input: DTODeleteDocumentationGroupInput
6335
6337
  });
6336
- var DTODocumentationTabGroupDeleteActionInputV2 = z222.object({
6337
- type: z222.literal("DocumentationTabGroupDelete"),
6338
+ var DTODocumentationTabGroupDeleteActionInputV2 = z221.object({
6339
+ type: z221.literal("DocumentationTabGroupDelete"),
6338
6340
  input: DTODeleteDocumentationTabGroupInput
6339
6341
  });
6340
6342
 
6341
6343
  // src/api/dto/elements/documentation/group-v1.ts
6342
- import { z as z224 } from "zod";
6344
+ import { z as z223 } from "zod";
6343
6345
 
6344
6346
  // src/api/dto/elements/documentation/item-configuration-v1.ts
6345
- import { z as z223 } from "zod";
6346
- var DocumentationColorV1 = z223.object({
6347
- aliasTo: z223.string().optional(),
6348
- value: z223.string().optional()
6347
+ import { z as z222 } from "zod";
6348
+ var DocumentationColorV1 = z222.object({
6349
+ aliasTo: z222.string().optional(),
6350
+ value: z222.string().optional()
6349
6351
  });
6350
6352
  var DTODocumentationItemHeaderV1 = DocumentationItemHeaderV1.omit({
6351
6353
  foregroundColor: true,
@@ -6354,10 +6356,10 @@ var DTODocumentationItemHeaderV1 = DocumentationItemHeaderV1.omit({
6354
6356
  foregroundColor: DocumentationColorV1.optional(),
6355
6357
  backgroundColor: DocumentationColorV1.optional()
6356
6358
  });
6357
- var DTODocumentationItemConfigurationV1 = z223.object({
6358
- showSidebar: z223.boolean(),
6359
- isPrivate: z223.boolean(),
6360
- isHidden: z223.boolean(),
6359
+ var DTODocumentationItemConfigurationV1 = z222.object({
6360
+ showSidebar: z222.boolean(),
6361
+ isPrivate: z222.boolean(),
6362
+ isHidden: z222.boolean(),
6361
6363
  header: DTODocumentationItemHeaderV1
6362
6364
  });
6363
6365
 
@@ -6371,27 +6373,27 @@ var DTODocumentationGroupStructureV1 = ElementGroup.omit({
6371
6373
  data: true,
6372
6374
  shortPersistentId: true
6373
6375
  }).extend({
6374
- title: z224.string(),
6375
- isRoot: z224.boolean(),
6376
- childrenIds: z224.array(z224.string()),
6376
+ title: z223.string(),
6377
+ isRoot: z223.boolean(),
6378
+ childrenIds: z223.array(z223.string()),
6377
6379
  groupBehavior: DocumentationGroupBehavior,
6378
- shortPersistentId: z224.string(),
6379
- type: z224.literal("Group")
6380
+ shortPersistentId: z223.string(),
6381
+ type: z223.literal("Group")
6380
6382
  });
6381
6383
  var DTODocumentationGroupV1 = DTODocumentationGroupStructureV1.extend({
6382
6384
  configuration: DTODocumentationItemConfigurationV1
6383
6385
  });
6384
6386
 
6385
6387
  // src/api/dto/elements/documentation/hierarchy.ts
6386
- import { z as z225 } from "zod";
6387
- var DTODocumentationHierarchyV2 = z225.object({
6388
- pages: z225.array(
6388
+ import { z as z224 } from "zod";
6389
+ var DTODocumentationHierarchyV2 = z224.object({
6390
+ pages: z224.array(
6389
6391
  DTODocumentationPageV2.extend({
6390
6392
  /** Defined when a page has changed since last publish and can be included into a partial publish */
6391
6393
  draftState: DTODocumentationDraftState.optional()
6392
6394
  })
6393
6395
  ),
6394
- groups: z225.array(
6396
+ groups: z224.array(
6395
6397
  DTODocumentationGroupV2.extend({
6396
6398
  /** Defined when a page has changed since last publish and can be included into a partial publish */
6397
6399
  draftState: DTODocumentationDraftState.optional()
@@ -6400,84 +6402,84 @@ var DTODocumentationHierarchyV2 = z225.object({
6400
6402
  });
6401
6403
 
6402
6404
  // src/api/dto/elements/documentation/page-actions-v2.ts
6403
- import { z as z226 } from "zod";
6404
- var SuccessPayload2 = z226.object({
6405
- success: z226.literal(true)
6405
+ import { z as z225 } from "zod";
6406
+ var SuccessPayload2 = z225.object({
6407
+ success: z225.literal(true)
6406
6408
  });
6407
- var DTODocumentationPageCreateActionOutputV2 = z226.object({
6408
- type: z226.literal("DocumentationPageCreate"),
6409
+ var DTODocumentationPageCreateActionOutputV2 = z225.object({
6410
+ type: z225.literal("DocumentationPageCreate"),
6409
6411
  output: SuccessPayload2
6410
6412
  });
6411
- var DTODocumentationPageUpdateActionOutputV2 = z226.object({
6412
- type: z226.literal("DocumentationPageUpdate"),
6413
+ var DTODocumentationPageUpdateActionOutputV2 = z225.object({
6414
+ type: z225.literal("DocumentationPageUpdate"),
6413
6415
  output: SuccessPayload2
6414
6416
  });
6415
- var DTODocumentationPageMoveActionOutputV2 = z226.object({
6416
- type: z226.literal("DocumentationPageMove"),
6417
+ var DTODocumentationPageMoveActionOutputV2 = z225.object({
6418
+ type: z225.literal("DocumentationPageMove"),
6417
6419
  output: SuccessPayload2
6418
6420
  });
6419
- var DTODocumentationPageDuplicateActionOutputV2 = z226.object({
6420
- type: z226.literal("DocumentationPageDuplicate"),
6421
+ var DTODocumentationPageDuplicateActionOutputV2 = z225.object({
6422
+ type: z225.literal("DocumentationPageDuplicate"),
6421
6423
  output: SuccessPayload2
6422
6424
  });
6423
- var DTODocumentationPageDeleteActionOutputV2 = z226.object({
6424
- type: z226.literal("DocumentationPageDelete"),
6425
+ var DTODocumentationPageDeleteActionOutputV2 = z225.object({
6426
+ type: z225.literal("DocumentationPageDelete"),
6425
6427
  output: SuccessPayload2
6426
6428
  });
6427
- var DTODocumentationPageRestoreActionOutput = z226.object({
6428
- type: z226.literal("DocumentationPageRestore"),
6429
+ var DTODocumentationPageRestoreActionOutput = z225.object({
6430
+ type: z225.literal("DocumentationPageRestore"),
6429
6431
  output: SuccessPayload2
6430
6432
  });
6431
- var DTODocumentationGroupRestoreActionOutput = z226.object({
6432
- type: z226.literal("DocumentationGroupRestore"),
6433
+ var DTODocumentationGroupRestoreActionOutput = z225.object({
6434
+ type: z225.literal("DocumentationGroupRestore"),
6433
6435
  output: SuccessPayload2
6434
6436
  });
6435
- var DTODocumentationPageApprovalStateChangeActionOutput = z226.object({
6436
- type: z226.literal("DocumentationPageApprovalStateChange"),
6437
+ var DTODocumentationPageApprovalStateChangeActionOutput = z225.object({
6438
+ type: z225.literal("DocumentationPageApprovalStateChange"),
6437
6439
  output: SuccessPayload2
6438
6440
  });
6439
- var DTODocumentationPageCreateActionInputV2 = z226.object({
6440
- type: z226.literal("DocumentationPageCreate"),
6441
+ var DTODocumentationPageCreateActionInputV2 = z225.object({
6442
+ type: z225.literal("DocumentationPageCreate"),
6441
6443
  input: DTOCreateDocumentationPageInputV2
6442
6444
  });
6443
- var DTODocumentationPageUpdateActionInputV2 = z226.object({
6444
- type: z226.literal("DocumentationPageUpdate"),
6445
+ var DTODocumentationPageUpdateActionInputV2 = z225.object({
6446
+ type: z225.literal("DocumentationPageUpdate"),
6445
6447
  input: DTOUpdateDocumentationPageInputV2
6446
6448
  });
6447
- var DTODocumentationPageMoveActionInputV2 = z226.object({
6448
- type: z226.literal("DocumentationPageMove"),
6449
+ var DTODocumentationPageMoveActionInputV2 = z225.object({
6450
+ type: z225.literal("DocumentationPageMove"),
6449
6451
  input: DTOMoveDocumentationPageInputV2
6450
6452
  });
6451
- var DTODocumentationPageDuplicateActionInputV2 = z226.object({
6452
- type: z226.literal("DocumentationPageDuplicate"),
6453
+ var DTODocumentationPageDuplicateActionInputV2 = z225.object({
6454
+ type: z225.literal("DocumentationPageDuplicate"),
6453
6455
  input: DTODuplicateDocumentationPageInputV2
6454
6456
  });
6455
- var DTODocumentationPageDeleteActionInputV2 = z226.object({
6456
- type: z226.literal("DocumentationPageDelete"),
6457
+ var DTODocumentationPageDeleteActionInputV2 = z225.object({
6458
+ type: z225.literal("DocumentationPageDelete"),
6457
6459
  input: DTODeleteDocumentationPageInputV2
6458
6460
  });
6459
- var DTODocumentationPageRestoreActionInput = z226.object({
6460
- type: z226.literal("DocumentationPageRestore"),
6461
+ var DTODocumentationPageRestoreActionInput = z225.object({
6462
+ type: z225.literal("DocumentationPageRestore"),
6461
6463
  input: DTORestoreDocumentationPageInput
6462
6464
  });
6463
- var DTODocumentationGroupRestoreActionInput = z226.object({
6464
- type: z226.literal("DocumentationGroupRestore"),
6465
+ var DTODocumentationGroupRestoreActionInput = z225.object({
6466
+ type: z225.literal("DocumentationGroupRestore"),
6465
6467
  input: DTORestoreDocumentationGroupInput
6466
6468
  });
6467
- var DTODocumentationPageApprovalStateChangeActionInput = z226.object({
6468
- type: z226.literal("DocumentationPageApprovalStateChange"),
6469
+ var DTODocumentationPageApprovalStateChangeActionInput = z225.object({
6470
+ type: z225.literal("DocumentationPageApprovalStateChange"),
6469
6471
  input: DTODocumentationPageApprovalStateChangeInput
6470
6472
  });
6471
6473
 
6472
6474
  // src/api/dto/elements/documentation/page-content.ts
6473
- import { z as z227 } from "zod";
6475
+ import { z as z226 } from "zod";
6474
6476
  var DTODocumentationPageContent = DocumentationPageContent;
6475
- var DTODocumentationPageContentGetResponse = z227.object({
6477
+ var DTODocumentationPageContentGetResponse = z226.object({
6476
6478
  pageContent: DTODocumentationPageContent
6477
6479
  });
6478
6480
 
6479
6481
  // src/api/dto/elements/documentation/page-v1.ts
6480
- import { z as z228 } from "zod";
6482
+ import { z as z227 } from "zod";
6481
6483
  var DocumentationPageV1DTO = DocumentationPageV1.omit({
6482
6484
  data: true,
6483
6485
  meta: true,
@@ -6485,32 +6487,32 @@ var DocumentationPageV1DTO = DocumentationPageV1.omit({
6485
6487
  sortOrder: true
6486
6488
  }).extend({
6487
6489
  configuration: DTODocumentationItemConfigurationV1,
6488
- blocks: z228.array(PageBlockV1),
6489
- title: z228.string(),
6490
- path: z228.string()
6490
+ blocks: z227.array(PageBlockV1),
6491
+ title: z227.string(),
6492
+ path: z227.string()
6491
6493
  });
6492
6494
 
6493
6495
  // src/api/dto/elements/figma-nodes/figma-node.ts
6494
- import { z as z229 } from "zod";
6496
+ import { z as z228 } from "zod";
6495
6497
  var DTOFigmaNodeRenderFormat = FigmaNodeRenderFormat;
6496
- var DTOFigmaNodeOrigin = z229.object({
6497
- sourceId: z229.string(),
6498
- fileId: z229.string().optional(),
6499
- parentName: z229.string().optional()
6498
+ var DTOFigmaNodeOrigin = z228.object({
6499
+ sourceId: z228.string(),
6500
+ fileId: z228.string().optional(),
6501
+ parentName: z228.string().optional()
6500
6502
  });
6501
- var DTOFigmaNodeData = z229.object({
6503
+ var DTOFigmaNodeData = z228.object({
6502
6504
  // Id of the node in the Figma file
6503
- figmaNodeId: z229.string(),
6505
+ figmaNodeId: z228.string(),
6504
6506
  // Validity
6505
- isValid: z229.boolean(),
6507
+ isValid: z228.boolean(),
6506
6508
  // Asset data
6507
- assetId: z229.string(),
6508
- assetUrl: z229.string(),
6509
+ assetId: z228.string(),
6510
+ assetUrl: z228.string(),
6509
6511
  assetFormat: DTOFigmaNodeRenderFormat,
6510
6512
  // Asset metadata
6511
- assetScale: z229.number(),
6512
- assetWidth: z229.number().optional(),
6513
- assetHeight: z229.number().optional()
6513
+ assetScale: z228.number(),
6514
+ assetWidth: z228.number().optional(),
6515
+ assetHeight: z228.number().optional()
6514
6516
  });
6515
6517
  var DTOFigmaNode = FigmaNodeReference.omit({
6516
6518
  data: true,
@@ -6519,15 +6521,15 @@ var DTOFigmaNode = FigmaNodeReference.omit({
6519
6521
  data: DTOFigmaNodeData,
6520
6522
  origin: DTOFigmaNodeOrigin
6521
6523
  });
6522
- var DTOFigmaNodeRenderInput = z229.object({
6524
+ var DTOFigmaNodeRenderInput = z228.object({
6523
6525
  /**
6524
6526
  * Id of a design system's data source representing a linked Figma file
6525
6527
  */
6526
- sourceId: z229.string(),
6528
+ sourceId: z228.string(),
6527
6529
  /**
6528
6530
  * Id of a node within the Figma file
6529
6531
  */
6530
- figmaFileNodeId: z229.string(),
6532
+ figmaFileNodeId: z228.string(),
6531
6533
  /**
6532
6534
  * Format in which the node must be rendered, png by default.
6533
6535
  */
@@ -6535,97 +6537,97 @@ var DTOFigmaNodeRenderInput = z229.object({
6535
6537
  });
6536
6538
 
6537
6539
  // src/api/dto/elements/figma-nodes/node-actions-v2.ts
6538
- import { z as z230 } from "zod";
6539
- var DTOFigmaNodeRenderActionOutput = z230.object({
6540
- type: z230.literal("FigmaNodeRender"),
6541
- figmaNodes: z230.array(DTOFigmaNode)
6540
+ import { z as z229 } from "zod";
6541
+ var DTOFigmaNodeRenderActionOutput = z229.object({
6542
+ type: z229.literal("FigmaNodeRender"),
6543
+ figmaNodes: z229.array(DTOFigmaNode)
6542
6544
  });
6543
- var DTOFigmaNodeRenderActionInput = z230.object({
6544
- type: z230.literal("FigmaNodeRender"),
6545
+ var DTOFigmaNodeRenderActionInput = z229.object({
6546
+ type: z229.literal("FigmaNodeRender"),
6545
6547
  input: DTOFigmaNodeRenderInput.array()
6546
6548
  });
6547
6549
 
6548
6550
  // src/api/dto/elements/properties/property-definitions-actions-v2.ts
6549
- import { z as z232 } from "zod";
6551
+ import { z as z231 } from "zod";
6550
6552
 
6551
6553
  // src/api/dto/elements/properties/property-definitions.ts
6552
- import { z as z231 } from "zod";
6554
+ import { z as z230 } from "zod";
6553
6555
  var CODE_NAME_REGEX2 = /^[a-zA-Z_$][a-zA-Z_$0-9]{1,99}$/;
6554
- var DTOElementPropertyDefinition = z231.object({
6555
- id: z231.string(),
6556
- designSystemVersionId: z231.string(),
6556
+ var DTOElementPropertyDefinition = z230.object({
6557
+ id: z230.string(),
6558
+ designSystemVersionId: z230.string(),
6557
6559
  meta: ObjectMeta,
6558
- persistentId: z231.string(),
6560
+ persistentId: z230.string(),
6559
6561
  type: ElementPropertyTypeSchema,
6560
6562
  targetElementType: ElementPropertyTargetType,
6561
- codeName: z231.string().regex(CODE_NAME_REGEX2),
6562
- options: z231.array(ElementPropertyDefinitionOption).optional(),
6563
+ codeName: z230.string().regex(CODE_NAME_REGEX2),
6564
+ options: z230.array(ElementPropertyDefinitionOption).optional(),
6563
6565
  linkElementType: ElementPropertyLinkType.optional()
6564
6566
  });
6565
- var DTOElementPropertyDefinitionsGetResponse = z231.object({
6566
- definitions: z231.array(DTOElementPropertyDefinition)
6567
+ var DTOElementPropertyDefinitionsGetResponse = z230.object({
6568
+ definitions: z230.array(DTOElementPropertyDefinition)
6567
6569
  });
6568
6570
  var DTOCreateElementPropertyDefinitionInputV2 = DTOElementPropertyDefinition.omit({
6569
6571
  id: true,
6570
6572
  designSystemVersionId: true
6571
6573
  });
6572
- var DTOUpdateElementPropertyDefinitionInputV2 = z231.object({
6573
- id: z231.string(),
6574
- name: z231.string().optional(),
6575
- description: z231.string().optional(),
6576
- codeName: z231.string().regex(CODE_NAME_REGEX2).optional(),
6577
- options: z231.array(ElementPropertyDefinitionOption).optional()
6574
+ var DTOUpdateElementPropertyDefinitionInputV2 = z230.object({
6575
+ id: z230.string(),
6576
+ name: z230.string().optional(),
6577
+ description: z230.string().optional(),
6578
+ codeName: z230.string().regex(CODE_NAME_REGEX2).optional(),
6579
+ options: z230.array(ElementPropertyDefinitionOption).optional()
6578
6580
  });
6579
- var DTODeleteElementPropertyDefinitionInputV2 = z231.object({
6580
- id: z231.string()
6581
+ var DTODeleteElementPropertyDefinitionInputV2 = z230.object({
6582
+ id: z230.string()
6581
6583
  });
6582
6584
 
6583
6585
  // src/api/dto/elements/properties/property-definitions-actions-v2.ts
6584
- var SuccessPayload3 = z232.object({
6585
- success: z232.literal(true)
6586
+ var SuccessPayload3 = z231.object({
6587
+ success: z231.literal(true)
6586
6588
  });
6587
- var DTOPropertyDefinitionCreateActionOutputV2 = z232.object({
6588
- type: z232.literal("PropertyDefinitionCreate"),
6589
+ var DTOPropertyDefinitionCreateActionOutputV2 = z231.object({
6590
+ type: z231.literal("PropertyDefinitionCreate"),
6589
6591
  definition: DTOElementPropertyDefinition
6590
6592
  });
6591
- var DTOPropertyDefinitionUpdateActionOutputV2 = z232.object({
6592
- type: z232.literal("PropertyDefinitionUpdate"),
6593
+ var DTOPropertyDefinitionUpdateActionOutputV2 = z231.object({
6594
+ type: z231.literal("PropertyDefinitionUpdate"),
6593
6595
  definition: DTOElementPropertyDefinition
6594
6596
  });
6595
- var DTOPropertyDefinitionDeleteActionOutputV2 = z232.object({
6596
- type: z232.literal("PropertyDefinitionDelete"),
6597
+ var DTOPropertyDefinitionDeleteActionOutputV2 = z231.object({
6598
+ type: z231.literal("PropertyDefinitionDelete"),
6597
6599
  output: SuccessPayload3
6598
6600
  });
6599
- var DTOPropertyDefinitionCreateActionInputV2 = z232.object({
6600
- type: z232.literal("PropertyDefinitionCreate"),
6601
+ var DTOPropertyDefinitionCreateActionInputV2 = z231.object({
6602
+ type: z231.literal("PropertyDefinitionCreate"),
6601
6603
  input: DTOCreateElementPropertyDefinitionInputV2
6602
6604
  });
6603
- var DTOPropertyDefinitionUpdateActionInputV2 = z232.object({
6604
- type: z232.literal("PropertyDefinitionUpdate"),
6605
+ var DTOPropertyDefinitionUpdateActionInputV2 = z231.object({
6606
+ type: z231.literal("PropertyDefinitionUpdate"),
6605
6607
  input: DTOUpdateElementPropertyDefinitionInputV2
6606
6608
  });
6607
- var DTOPropertyDefinitionDeleteActionInputV2 = z232.object({
6608
- type: z232.literal("PropertyDefinitionDelete"),
6609
+ var DTOPropertyDefinitionDeleteActionInputV2 = z231.object({
6610
+ type: z231.literal("PropertyDefinitionDelete"),
6609
6611
  input: DTODeleteElementPropertyDefinitionInputV2
6610
6612
  });
6611
6613
 
6612
6614
  // src/api/dto/elements/properties/property-values.ts
6613
- import { z as z233 } from "zod";
6614
- var DTOElementPropertyValue = z233.object({
6615
- id: z233.string(),
6616
- designSystemVersionId: z233.string(),
6617
- definitionId: z233.string(),
6618
- targetElementId: z233.string(),
6619
- value: z233.union([z233.string(), z233.number(), z233.boolean()]).optional(),
6620
- valuePreview: z233.string().optional()
6615
+ import { z as z232 } from "zod";
6616
+ var DTOElementPropertyValue = z232.object({
6617
+ id: z232.string(),
6618
+ designSystemVersionId: z232.string(),
6619
+ definitionId: z232.string(),
6620
+ targetElementId: z232.string(),
6621
+ value: z232.union([z232.string(), z232.number(), z232.boolean()]).optional(),
6622
+ valuePreview: z232.string().optional()
6621
6623
  });
6622
- var DTOElementPropertyValuesGetResponse = z233.object({
6623
- values: z233.array(DTOElementPropertyValue)
6624
+ var DTOElementPropertyValuesGetResponse = z232.object({
6625
+ values: z232.array(DTOElementPropertyValue)
6624
6626
  });
6625
6627
 
6626
6628
  // src/api/dto/elements/elements-action-v2.ts
6627
- import { z as z234 } from "zod";
6628
- var DTOElementActionOutput = z234.discriminatedUnion("type", [
6629
+ import { z as z233 } from "zod";
6630
+ var DTOElementActionOutput = z233.discriminatedUnion("type", [
6629
6631
  // Documentation pages
6630
6632
  DTODocumentationPageCreateActionOutputV2,
6631
6633
  DTODocumentationPageUpdateActionOutputV2,
@@ -6652,7 +6654,7 @@ var DTOElementActionOutput = z234.discriminatedUnion("type", [
6652
6654
  // Approvals
6653
6655
  DTODocumentationPageApprovalStateChangeActionOutput
6654
6656
  ]);
6655
- var DTOElementActionInput = z234.discriminatedUnion("type", [
6657
+ var DTOElementActionInput = z233.discriminatedUnion("type", [
6656
6658
  // Documentation pages
6657
6659
  DTODocumentationPageCreateActionInputV2,
6658
6660
  DTODocumentationPageUpdateActionInputV2,
@@ -6681,60 +6683,99 @@ var DTOElementActionInput = z234.discriminatedUnion("type", [
6681
6683
  ]);
6682
6684
 
6683
6685
  // src/api/dto/elements/get-elements-v2.ts
6684
- import { z as z235 } from "zod";
6685
- var DTOElementsGetTypeFilter = z235.enum(["FigmaNode"]);
6686
- var DTOElementsGetQuerySchema = z235.object({
6687
- types: z235.string().transform((val) => val.split(",").map((v) => DTOElementsGetTypeFilter.parse(v)))
6686
+ import { z as z234 } from "zod";
6687
+ var DTOElementsGetTypeFilter = z234.enum(["FigmaNode"]);
6688
+ var DTOElementsGetQuerySchema = z234.object({
6689
+ types: z234.string().transform((val) => val.split(",").map((v) => DTOElementsGetTypeFilter.parse(v)))
6688
6690
  });
6689
- var DTOElementsGetOutput = z235.object({
6690
- figmaNodes: z235.array(DTOFigmaNode).optional()
6691
+ var DTOElementsGetOutput = z234.object({
6692
+ figmaNodes: z234.array(DTOFigmaNode).optional()
6691
6693
  });
6692
6694
 
6693
6695
  // src/api/dto/figma-components/assets/download.ts
6694
- import { z as z236 } from "zod";
6695
- var DTOAssetRenderConfiguration = z236.object({
6696
- prefix: z236.string().optional(),
6697
- suffix: z236.string().optional(),
6698
- scale: z236.enum(["x1", "x2", "x3", "x4"]),
6699
- format: z236.enum(["png", "pdf", "svg"])
6700
- });
6701
- var DTORenderedAssetFile = z236.object({
6702
- assetId: z236.string(),
6703
- fileName: z236.string(),
6704
- sourceUrl: z236.string(),
6696
+ import { z as z235 } from "zod";
6697
+ var DTOAssetRenderConfiguration = z235.object({
6698
+ prefix: z235.string().optional(),
6699
+ suffix: z235.string().optional(),
6700
+ scale: z235.enum(["x1", "x2", "x3", "x4"]),
6701
+ format: z235.enum(["png", "pdf", "svg"])
6702
+ });
6703
+ var DTORenderedAssetFile = z235.object({
6704
+ assetId: z235.string(),
6705
+ fileName: z235.string(),
6706
+ sourceUrl: z235.string(),
6705
6707
  settings: DTOAssetRenderConfiguration,
6706
- originalName: z236.string()
6708
+ originalName: z235.string()
6707
6709
  });
6708
- var DTODownloadAssetsRequest = z236.object({
6709
- persistentIds: z236.array(z236.string().uuid()).optional(),
6710
+ var DTODownloadAssetsRequest = z235.object({
6711
+ persistentIds: z235.array(z235.string().uuid()).optional(),
6710
6712
  settings: DTOAssetRenderConfiguration.array()
6711
6713
  });
6712
- var DTODownloadAssetsResponse = z236.object({
6714
+ var DTODownloadAssetsResponse = z235.object({
6713
6715
  items: DTORenderedAssetFile.array()
6714
6716
  });
6715
6717
 
6716
6718
  // src/api/dto/liveblocks/auth-response.ts
6719
+ import { z as z236 } from "zod";
6720
+ var DTOLiveblocksAuthResponse = z236.object({
6721
+ token: z236.string()
6722
+ });
6723
+
6724
+ // src/api/dto/themes/override.ts
6717
6725
  import { z as z237 } from "zod";
6718
- var DTOLiveblocksAuthResponse = z237.object({
6719
- token: z237.string()
6726
+ var DTOThemeOverride = DesignTokenTypedData.and(
6727
+ z237.object({
6728
+ tokenPersistentId: z237.string(),
6729
+ origin: ThemeOverrideOrigin.optional()
6730
+ })
6731
+ );
6732
+ var DTOThemeOverrideCreatePayload = DesignTokenTypedData.and(
6733
+ z237.object({
6734
+ tokenPersistentId: z237.string()
6735
+ })
6736
+ );
6737
+
6738
+ // src/api/dto/themes/theme.ts
6739
+ import { z as z238 } from "zod";
6740
+ var DTOTheme = z238.object({
6741
+ id: z238.string(),
6742
+ persistentId: z238.string(),
6743
+ designSystemVersionId: z238.string(),
6744
+ brandId: z238.string(),
6745
+ meta: ObjectMeta,
6746
+ codeName: z238.string(),
6747
+ overrides: DTOThemeOverride.array()
6748
+ });
6749
+ var DTOThemeResponse = z238.object({
6750
+ theme: DTOTheme
6751
+ });
6752
+ var DTOThemeListResponse = z238.object({
6753
+ themes: DTOTheme.array()
6754
+ });
6755
+ var DTOThemeCreatePayload = z238.object({
6756
+ meta: ObjectMeta,
6757
+ persistentId: z238.string(),
6758
+ brandId: z238.string(),
6759
+ codeName: z238.string(),
6760
+ overrides: DTOThemeOverride.array()
6720
6761
  });
6721
6762
 
6722
6763
  // src/api/dto/users/authenticated-user.ts
6723
- import { z as z239 } from "zod";
6764
+ import { z as z240 } from "zod";
6724
6765
 
6725
6766
  // src/api/dto/users/user.ts
6726
- import { z as z238 } from "zod";
6727
- var DTOUserProfile = z238.object({
6728
- name: z238.string(),
6729
- nickname: z238.string().optional(),
6730
- avatar: z238.string().optional()
6731
- });
6732
- var DTOUser = z238.object({
6733
- id: z238.string(),
6734
- email: z238.string(),
6767
+ import { z as z239 } from "zod";
6768
+ var DTOUserProfile = z239.object({
6769
+ name: z239.string(),
6770
+ nickname: z239.string().optional(),
6771
+ avatar: z239.string().optional()
6772
+ });
6773
+ var DTOUser = z239.object({
6774
+ id: z239.string(),
6775
+ email: z239.string(),
6735
6776
  profile: DTOUserProfile
6736
6777
  });
6737
- var DTOUserGetResponse = z238.object({
6778
+ var DTOUserGetResponse = z239.object({
6738
6779
  user: DTOUser
6739
6780
  });
6740
6781
  var DTOUserProfileUpdate = UserProfileUpdate;
@@ -6743,34 +6784,34 @@ var DTOUserProfileUpdate = UserProfileUpdate;
6743
6784
  var DTOUserOnboardingDepartment = UserOnboardingDepartment;
6744
6785
  var DTOUserOnboardingJobLevel = UserOnboardingJobLevel;
6745
6786
  var DTOUserSource = UserSource;
6746
- var DTOUserOnboarding = z239.object({
6747
- companyName: z239.string().optional(),
6748
- numberOfPeopleInOrg: z239.string().optional(),
6749
- numberOfPeopleInDesignTeam: z239.string().optional(),
6787
+ var DTOUserOnboarding = z240.object({
6788
+ companyName: z240.string().optional(),
6789
+ numberOfPeopleInOrg: z240.string().optional(),
6790
+ numberOfPeopleInDesignTeam: z240.string().optional(),
6750
6791
  department: DTOUserOnboardingDepartment.optional(),
6751
- jobTitle: z239.string().optional(),
6752
- phase: z239.string().optional(),
6792
+ jobTitle: z240.string().optional(),
6793
+ phase: z240.string().optional(),
6753
6794
  jobLevel: DTOUserOnboardingJobLevel.optional(),
6754
- designSystemName: z239.string().optional(),
6755
- defaultDestination: z239.string().optional(),
6756
- isPageDraftOnboardingFinished: z239.boolean().optional()
6795
+ designSystemName: z240.string().optional(),
6796
+ defaultDestination: z240.string().optional(),
6797
+ isPageDraftOnboardingFinished: z240.boolean().optional()
6757
6798
  });
6758
6799
  var DTOAuthenticatedUserProfile = DTOUserProfile.extend({
6759
6800
  onboarding: DTOUserOnboarding.optional()
6760
6801
  });
6761
6802
  var DTOAuthenticatedUser = DTOUser.extend({
6762
6803
  profile: DTOAuthenticatedUserProfile,
6763
- createdAt: z239.coerce.date(),
6764
- loggedOutAt: z239.coerce.date().optional(),
6804
+ createdAt: z240.coerce.date(),
6805
+ loggedOutAt: z240.coerce.date().optional(),
6765
6806
  source: DTOUserSource.optional()
6766
6807
  });
6767
- var DTOAuthenticatedUserResponse = z239.object({
6808
+ var DTOAuthenticatedUserResponse = z240.object({
6768
6809
  user: DTOAuthenticatedUser
6769
6810
  });
6770
6811
 
6771
6812
  // src/api/dto/users/update.ts
6772
- import { z as z240 } from "zod";
6773
- var DTOUserProfileUpdateResponse = z240.object({
6813
+ import { z as z241 } from "zod";
6814
+ var DTOUserProfileUpdateResponse = z241.object({
6774
6815
  user: User
6775
6816
  });
6776
6817
 
@@ -6819,10 +6860,10 @@ var VersionStatsEndpoint = class {
6819
6860
  };
6820
6861
 
6821
6862
  // src/api/endpoints/design-system/versions/themes.ts
6822
- import { z as z242 } from "zod";
6863
+ import { z as z243 } from "zod";
6823
6864
 
6824
6865
  // src/api/endpoints/design-system/versions/overrides.ts
6825
- import { z as z241 } from "zod";
6866
+ import { z as z242 } from "zod";
6826
6867
  var OverridesEndpoint = class {
6827
6868
  constructor(requestExecutor) {
6828
6869
  this.requestExecutor = requestExecutor;
@@ -6830,7 +6871,7 @@ var OverridesEndpoint = class {
6830
6871
  create(dsId, versionId, themeId, body) {
6831
6872
  return this.requestExecutor.json(
6832
6873
  `/design-systems/${dsId}/versions/${versionId}/themes/${themeId}/overrides`,
6833
- z241.any(),
6874
+ z242.any(),
6834
6875
  {
6835
6876
  method: "POST",
6836
6877
  body
@@ -6846,27 +6887,35 @@ var ThemesEndpoint = class {
6846
6887
  __publicField(this, "overrides");
6847
6888
  this.overrides = new OverridesEndpoint(requestExecutor);
6848
6889
  }
6890
+ list(dsId, versionId) {
6891
+ return this.requestExecutor.json(`/design-systems/${dsId}/versions/${versionId}/themes`, DTOThemeListResponse);
6892
+ }
6893
+ get(dsId, versionId, themeId) {
6894
+ return this.requestExecutor.json(
6895
+ `/design-systems/${dsId}/versions/${versionId}/themes/${themeId}`,
6896
+ DTOThemeResponse
6897
+ );
6898
+ }
6849
6899
  create(dsId, versionId, body) {
6850
- return this.requestExecutor.json(`/design-systems/${dsId}/versions/${versionId}/themes`, z242.any(), {
6900
+ return this.requestExecutor.json(`/design-systems/${dsId}/versions/${versionId}/themes`, DTOThemeResponse, {
6851
6901
  method: "POST",
6852
6902
  body
6853
6903
  });
6854
6904
  }
6855
6905
  delete(dsId, versionId, themeId) {
6856
- return this.requestExecutor.json(`/design-systems/${dsId}/versions/${versionId}/themes/${themeId}`, z242.any(), {
6906
+ return this.requestExecutor.json(`/design-systems/${dsId}/versions/${versionId}/themes/${themeId}`, z243.any(), {
6857
6907
  method: "DELETE"
6858
6908
  });
6859
6909
  }
6860
6910
  };
6861
6911
 
6862
6912
  // src/api/endpoints/design-system/versions/tokens.ts
6863
- import { z as z243 } from "zod";
6864
6913
  var TokensEndpoint = class {
6865
6914
  constructor(requestExecutor) {
6866
6915
  this.requestExecutor = requestExecutor;
6867
6916
  }
6868
6917
  create(dsId, versionId, body) {
6869
- return this.requestExecutor.json(`/design-systems/${dsId}/versions/${versionId}/tokens`, z243.any(), {
6918
+ return this.requestExecutor.json(`/design-systems/${dsId}/versions/${versionId}/tokens`, DTODesignTokenResponse, {
6870
6919
  method: "POST",
6871
6920
  body
6872
6921
  });
@@ -6877,6 +6926,12 @@ var TokensEndpoint = class {
6877
6926
  DTODesignTokenListResponse
6878
6927
  );
6879
6928
  }
6929
+ get(dsId, versionId, tokenId) {
6930
+ return this.requestExecutor.json(
6931
+ `/design-systems/${dsId}/versions/${versionId}/tokens/${tokenId}`,
6932
+ DTODesignTokenListResponse
6933
+ );
6934
+ }
6880
6935
  };
6881
6936
 
6882
6937
  // src/api/endpoints/design-system/versions.ts
@@ -12149,7 +12204,6 @@ export {
12149
12204
  DTOCreateDocumentationPageInputV2,
12150
12205
  DTOCreateDocumentationTabInput,
12151
12206
  DTOCreateElementPropertyDefinitionInputV2,
12152
- DTOCreateThemeInput,
12153
12207
  DTOCreateVersionInput,
12154
12208
  DTODataSource,
12155
12209
  DTODataSourceCreationResponse,
@@ -12184,7 +12238,9 @@ export {
12184
12238
  DTODesignSystemVersionsListResponse,
12185
12239
  DTODesignSystemsListResponse,
12186
12240
  DTODesignToken,
12241
+ DTODesignTokenCreatePayload,
12187
12242
  DTODesignTokenListResponse,
12243
+ DTODesignTokenResponse,
12188
12244
  DTODiffCountBase,
12189
12245
  DTODocumentationDraftChangeType,
12190
12246
  DTODocumentationDraftState,
@@ -12334,6 +12390,12 @@ export {
12334
12390
  DTORenderedAssetFile,
12335
12391
  DTORestoreDocumentationGroupInput,
12336
12392
  DTORestoreDocumentationPageInput,
12393
+ DTOTheme,
12394
+ DTOThemeCreatePayload,
12395
+ DTOThemeListResponse,
12396
+ DTOThemeOverride,
12397
+ DTOThemeOverrideCreatePayload,
12398
+ DTOThemeResponse,
12337
12399
  DTOTokenCollection,
12338
12400
  DTOTokenCollectionsListReponse,
12339
12401
  DTOUpdateDocumentationGroupInput,