@supernova-studio/client 0.57.5 → 0.57.6

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