@supernova-studio/client 0.55.33 → 0.55.34

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