@supernova-studio/model 1.4.4 → 1.4.5

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
@@ -289,7 +289,7 @@ var CustomDomain = z14.object({
289
289
  });
290
290
 
291
291
  // src/data-dumps/code-integration-dump.ts
292
- import { z as z152 } from "zod";
292
+ import { z as z154 } from "zod";
293
293
 
294
294
  // src/export/exporter.ts
295
295
  import { z as z18 } from "zod";
@@ -457,10 +457,10 @@ var Exporter = z18.object({
457
457
  });
458
458
 
459
459
  // src/export/pipeline.ts
460
- import { z as z151 } from "zod";
460
+ import { z as z153 } from "zod";
461
461
 
462
462
  // src/export/export-destinations.ts
463
- import { z as z150 } from "zod";
463
+ import { z as z152 } from "zod";
464
464
 
465
465
  // src/dsm/assets/asset-dynamo-record.ts
466
466
  import { z as z19 } from "zod";
@@ -4327,122 +4327,148 @@ var FigmaNodeRendererPayload = z119.object({
4327
4327
  figmaNodePersistentIds: z119.string().array()
4328
4328
  });
4329
4329
 
4330
+ // src/dsm/figma-node-structures/structure-data.ts
4331
+ import { z as z120 } from "zod";
4332
+ var FigmaNodeStructureDataV2 = z120.object({
4333
+ rootNode: FigmaFileStructureNodeImportModel,
4334
+ assetsInFile: z120.object({
4335
+ components: z120.number(),
4336
+ componentSets: z120.number(),
4337
+ frames: z120.number()
4338
+ })
4339
+ });
4340
+
4341
+ // src/dsm/figma-node-structures/structure.ts
4342
+ import { z as z121 } from "zod";
4343
+ var FigmaNodeStructureStateV2 = z121.enum(["InProgress", "Success", "Failed"]);
4344
+ var FigmaNodeStructureV2 = z121.object({
4345
+ id: z121.string(),
4346
+ designSystemId: z121.string(),
4347
+ sourceId: z121.string(),
4348
+ storagePath: z121.string().optional(),
4349
+ createdAt: z121.coerce.date(),
4350
+ updatedAt: z121.coerce.date(),
4351
+ importState: FigmaNodeStructureStateV2,
4352
+ // TODO Artem: remove after migration
4353
+ isFromLegacyStorage: z121.boolean()
4354
+ });
4355
+
4330
4356
  // src/dsm/membership/design-system-membership.ts
4331
- import { z as z140 } from "zod";
4357
+ import { z as z142 } from "zod";
4332
4358
 
4333
4359
  // src/workspace/npm-registry-settings.ts
4334
- import { z as z120 } from "zod";
4335
- var NpmRegistryAuthType = z120.enum(["Basic", "Bearer", "None", "Custom"]);
4336
- var NpmRegistryType = z120.enum(["NPMJS", "GitHub", "AzureDevOps", "Artifactory", "Custom"]);
4337
- var NpmRegistryBasicAuthConfig = z120.object({
4338
- authType: z120.literal(NpmRegistryAuthType.Enum.Basic),
4339
- username: z120.string(),
4340
- password: z120.string()
4341
- });
4342
- var NpmRegistryBearerAuthConfig = z120.object({
4343
- authType: z120.literal(NpmRegistryAuthType.Enum.Bearer),
4344
- accessToken: z120.string()
4345
- });
4346
- var NpmRegistryNoAuthConfig = z120.object({
4347
- authType: z120.literal(NpmRegistryAuthType.Enum.None)
4348
- });
4349
- var NpmRegistrCustomAuthConfig = z120.object({
4350
- authType: z120.literal(NpmRegistryAuthType.Enum.Custom),
4351
- authHeaderName: z120.string(),
4352
- authHeaderValue: z120.string()
4353
- });
4354
- var NpmRegistryAuthConfig = z120.discriminatedUnion("authType", [
4360
+ import { z as z122 } from "zod";
4361
+ var NpmRegistryAuthType = z122.enum(["Basic", "Bearer", "None", "Custom"]);
4362
+ var NpmRegistryType = z122.enum(["NPMJS", "GitHub", "AzureDevOps", "Artifactory", "Custom"]);
4363
+ var NpmRegistryBasicAuthConfig = z122.object({
4364
+ authType: z122.literal(NpmRegistryAuthType.Enum.Basic),
4365
+ username: z122.string(),
4366
+ password: z122.string()
4367
+ });
4368
+ var NpmRegistryBearerAuthConfig = z122.object({
4369
+ authType: z122.literal(NpmRegistryAuthType.Enum.Bearer),
4370
+ accessToken: z122.string()
4371
+ });
4372
+ var NpmRegistryNoAuthConfig = z122.object({
4373
+ authType: z122.literal(NpmRegistryAuthType.Enum.None)
4374
+ });
4375
+ var NpmRegistrCustomAuthConfig = z122.object({
4376
+ authType: z122.literal(NpmRegistryAuthType.Enum.Custom),
4377
+ authHeaderName: z122.string(),
4378
+ authHeaderValue: z122.string()
4379
+ });
4380
+ var NpmRegistryAuthConfig = z122.discriminatedUnion("authType", [
4355
4381
  NpmRegistryBasicAuthConfig,
4356
4382
  NpmRegistryBearerAuthConfig,
4357
4383
  NpmRegistryNoAuthConfig,
4358
4384
  NpmRegistrCustomAuthConfig
4359
4385
  ]);
4360
- var NpmRegistryConfigBase = z120.object({
4386
+ var NpmRegistryConfigBase = z122.object({
4361
4387
  registryType: NpmRegistryType,
4362
- enabledScopes: z120.array(z120.string()),
4363
- customRegistryUrl: z120.string().optional(),
4364
- bypassProxy: z120.boolean().default(false),
4365
- npmProxyRegistryConfigId: z120.string().optional(),
4366
- npmProxyVersion: z120.number().optional()
4388
+ enabledScopes: z122.array(z122.string()),
4389
+ customRegistryUrl: z122.string().optional(),
4390
+ bypassProxy: z122.boolean().default(false),
4391
+ npmProxyRegistryConfigId: z122.string().optional(),
4392
+ npmProxyVersion: z122.number().optional()
4367
4393
  });
4368
4394
  var NpmRegistryConfig = NpmRegistryConfigBase.and(NpmRegistryAuthConfig);
4369
4395
 
4370
4396
  // src/workspace/sso-provider.ts
4371
- import { z as z121 } from "zod";
4372
- var SsoProvider = z121.object({
4373
- providerId: z121.string(),
4374
- defaultAutoInviteValue: z121.boolean(),
4375
- autoInviteDomains: z121.record(z121.string(), z121.boolean()),
4376
- skipDocsSupernovaLogin: z121.boolean(),
4377
- areInvitesDisabled: z121.boolean(),
4378
- isTestMode: z121.boolean(),
4379
- emailDomains: z121.array(z121.string()),
4380
- metadataXml: z121.string().nullish()
4397
+ import { z as z123 } from "zod";
4398
+ var SsoProvider = z123.object({
4399
+ providerId: z123.string(),
4400
+ defaultAutoInviteValue: z123.boolean(),
4401
+ autoInviteDomains: z123.record(z123.string(), z123.boolean()),
4402
+ skipDocsSupernovaLogin: z123.boolean(),
4403
+ areInvitesDisabled: z123.boolean(),
4404
+ isTestMode: z123.boolean(),
4405
+ emailDomains: z123.array(z123.string()),
4406
+ metadataXml: z123.string().nullish()
4381
4407
  });
4382
4408
 
4383
4409
  // src/workspace/user-invite.ts
4384
- import { z as z123 } from "zod";
4410
+ import { z as z125 } from "zod";
4385
4411
 
4386
4412
  // src/workspace/workspace-role.ts
4387
- import { z as z122 } from "zod";
4388
- var WorkspaceRoleSchema = z122.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]);
4413
+ import { z as z124 } from "zod";
4414
+ var WorkspaceRoleSchema = z124.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]);
4389
4415
  var WorkspaceRole = WorkspaceRoleSchema.enum;
4390
4416
 
4391
4417
  // src/workspace/user-invite.ts
4392
4418
  var MAX_MEMBERS_COUNT = 100;
4393
- var UserInvite = z123.object({
4394
- email: z123.string().email().trim().transform((value) => value.toLowerCase()),
4419
+ var UserInvite = z125.object({
4420
+ email: z125.string().email().trim().transform((value) => value.toLowerCase()),
4395
4421
  role: WorkspaceRoleSchema
4396
4422
  });
4397
- var UserInvites = z123.array(UserInvite).max(MAX_MEMBERS_COUNT);
4423
+ var UserInvites = z125.array(UserInvite).max(MAX_MEMBERS_COUNT);
4398
4424
 
4399
4425
  // src/workspace/workspace-configuration.ts
4400
- import { z as z125 } from "zod";
4426
+ import { z as z127 } from "zod";
4401
4427
 
4402
4428
  // src/workspace/workspace.ts
4403
4429
  import IPCIDR from "ip-cidr";
4404
- import { z as z124 } from "zod";
4430
+ import { z as z126 } from "zod";
4405
4431
  var isValidCIDR = (value) => {
4406
4432
  return IPCIDR.isValidAddress(value);
4407
4433
  };
4408
- var WorkspaceIpWhitelistEntry = z124.object({
4409
- isEnabled: z124.boolean(),
4410
- name: z124.string(),
4411
- range: z124.string().refine(isValidCIDR, {
4434
+ var WorkspaceIpWhitelistEntry = z126.object({
4435
+ isEnabled: z126.boolean(),
4436
+ name: z126.string(),
4437
+ range: z126.string().refine(isValidCIDR, {
4412
4438
  message: "Invalid IP CIDR"
4413
4439
  })
4414
4440
  });
4415
- var WorkspaceIpSettings = z124.object({
4416
- isEnabledForCloud: z124.boolean(),
4417
- isEnabledForDocs: z124.boolean(),
4418
- entries: z124.array(WorkspaceIpWhitelistEntry)
4441
+ var WorkspaceIpSettings = z126.object({
4442
+ isEnabledForCloud: z126.boolean(),
4443
+ isEnabledForDocs: z126.boolean(),
4444
+ entries: z126.array(WorkspaceIpWhitelistEntry)
4419
4445
  });
4420
- var WorkspaceProfile = z124.object({
4421
- name: z124.string(),
4422
- handle: z124.string(),
4423
- color: z124.string(),
4424
- avatar: nullishToOptional(z124.string()),
4446
+ var WorkspaceProfile = z126.object({
4447
+ name: z126.string(),
4448
+ handle: z126.string(),
4449
+ color: z126.string(),
4450
+ avatar: nullishToOptional(z126.string()),
4425
4451
  billingDetails: nullishToOptional(BillingDetails)
4426
4452
  });
4427
4453
  var WorkspaceProfileUpdate = WorkspaceProfile.omit({
4428
4454
  avatar: true
4429
4455
  });
4430
- var Workspace = z124.object({
4431
- id: z124.string(),
4456
+ var Workspace = z126.object({
4457
+ id: z126.string(),
4432
4458
  profile: WorkspaceProfile,
4433
4459
  subscription: Subscription,
4434
4460
  ipWhitelist: nullishToOptional(WorkspaceIpSettings),
4435
4461
  sso: nullishToOptional(SsoProvider),
4436
4462
  npmRegistrySettings: nullishToOptional(NpmRegistryConfig)
4437
4463
  });
4438
- var WorkspaceWithDesignSystems = z124.object({
4464
+ var WorkspaceWithDesignSystems = z126.object({
4439
4465
  workspace: Workspace,
4440
- designSystems: z124.array(DesignSystem)
4466
+ designSystems: z126.array(DesignSystem)
4441
4467
  });
4442
4468
 
4443
4469
  // src/workspace/workspace-configuration.ts
4444
- var WorkspaceConfigurationUpdate = z125.object({
4445
- id: z125.string(),
4470
+ var WorkspaceConfigurationUpdate = z127.object({
4471
+ id: z127.string(),
4446
4472
  ipWhitelist: WorkspaceIpSettings.optional(),
4447
4473
  sso: SsoProvider.optional(),
4448
4474
  npmRegistrySettings: NpmRegistryConfig.optional(),
@@ -4450,59 +4476,59 @@ var WorkspaceConfigurationUpdate = z125.object({
4450
4476
  });
4451
4477
 
4452
4478
  // src/workspace/workspace-context.ts
4453
- import { z as z126 } from "zod";
4454
- var WorkspaceContext = z126.object({
4455
- workspaceId: z126.string(),
4479
+ import { z as z128 } from "zod";
4480
+ var WorkspaceContext = z128.object({
4481
+ workspaceId: z128.string(),
4456
4482
  product: ProductCodeSchema,
4457
4483
  ipWhitelist: nullishToOptional(WorkspaceIpSettings),
4458
- publicDesignSystem: z126.boolean().optional()
4484
+ publicDesignSystem: z128.boolean().optional()
4459
4485
  });
4460
4486
 
4461
4487
  // src/workspace/workspace-create.ts
4462
- import { z as z127 } from "zod";
4488
+ import { z as z129 } from "zod";
4463
4489
  var WORKSPACE_NAME_MIN_LENGTH = 2;
4464
4490
  var WORKSPACE_NAME_MAX_LENGTH = 64;
4465
4491
  var HANDLE_MIN_LENGTH = 2;
4466
4492
  var HANDLE_MAX_LENGTH = 64;
4467
- var CreateWorkspaceInput = z127.object({
4468
- name: z127.string().min(WORKSPACE_NAME_MIN_LENGTH).max(WORKSPACE_NAME_MAX_LENGTH).trim(),
4469
- handle: z127.string().regex(slugRegex).min(HANDLE_MIN_LENGTH).max(HANDLE_MAX_LENGTH).refine((value) => value?.length > 0).optional()
4493
+ var CreateWorkspaceInput = z129.object({
4494
+ name: z129.string().min(WORKSPACE_NAME_MIN_LENGTH).max(WORKSPACE_NAME_MAX_LENGTH).trim(),
4495
+ handle: z129.string().regex(slugRegex).min(HANDLE_MIN_LENGTH).max(HANDLE_MAX_LENGTH).refine((value) => value?.length > 0).optional()
4470
4496
  });
4471
4497
 
4472
4498
  // src/workspace/workspace-invitations.ts
4473
- import { z as z128 } from "zod";
4474
- var WorkspaceInvitation = z128.object({
4475
- id: z128.string(),
4476
- email: z128.string().email(),
4477
- createdAt: z128.coerce.date(),
4478
- resentAt: z128.coerce.date().nullish(),
4479
- role: z128.nativeEnum(WorkspaceRole),
4480
- workspaceId: z128.string(),
4481
- invitedBy: z128.string()
4499
+ import { z as z130 } from "zod";
4500
+ var WorkspaceInvitation = z130.object({
4501
+ id: z130.string(),
4502
+ email: z130.string().email(),
4503
+ createdAt: z130.coerce.date(),
4504
+ resentAt: z130.coerce.date().nullish(),
4505
+ role: z130.nativeEnum(WorkspaceRole),
4506
+ workspaceId: z130.string(),
4507
+ invitedBy: z130.string()
4482
4508
  });
4483
4509
 
4484
4510
  // src/workspace/workspace-membership.ts
4485
- import { z as z137 } from "zod";
4511
+ import { z as z139 } from "zod";
4486
4512
 
4487
4513
  // src/users/linked-integrations.ts
4488
- import { z as z129 } from "zod";
4489
- var IntegrationAuthType = z129.union([z129.literal("OAuth2"), z129.literal("PAT")]);
4490
- var ExternalServiceType = z129.union([
4491
- z129.literal("figma"),
4492
- z129.literal("github"),
4493
- z129.literal("azure"),
4494
- z129.literal("gitlab"),
4495
- z129.literal("bitbucket")
4514
+ import { z as z131 } from "zod";
4515
+ var IntegrationAuthType = z131.union([z131.literal("OAuth2"), z131.literal("PAT")]);
4516
+ var ExternalServiceType = z131.union([
4517
+ z131.literal("figma"),
4518
+ z131.literal("github"),
4519
+ z131.literal("azure"),
4520
+ z131.literal("gitlab"),
4521
+ z131.literal("bitbucket")
4496
4522
  ]);
4497
- var IntegrationUserInfo = z129.object({
4498
- id: z129.string(),
4499
- handle: z129.string().optional(),
4500
- avatarUrl: z129.string().optional(),
4501
- email: z129.string().optional(),
4523
+ var IntegrationUserInfo = z131.object({
4524
+ id: z131.string(),
4525
+ handle: z131.string().optional(),
4526
+ avatarUrl: z131.string().optional(),
4527
+ email: z131.string().optional(),
4502
4528
  authType: IntegrationAuthType.optional(),
4503
- customUrl: z129.string().optional()
4529
+ customUrl: z131.string().optional()
4504
4530
  });
4505
- var UserLinkedIntegrations = z129.object({
4531
+ var UserLinkedIntegrations = z131.object({
4506
4532
  figma: IntegrationUserInfo.optional(),
4507
4533
  github: IntegrationUserInfo.array().optional(),
4508
4534
  azure: IntegrationUserInfo.array().optional(),
@@ -4511,38 +4537,38 @@ var UserLinkedIntegrations = z129.object({
4511
4537
  });
4512
4538
 
4513
4539
  // src/users/user-analytics-cleanup-schedule.ts
4514
- import { z as z130 } from "zod";
4515
- var UserAnalyticsCleanupSchedule = z130.object({
4516
- userId: z130.string(),
4517
- createdAt: z130.coerce.date(),
4518
- deleteAt: z130.coerce.date()
4540
+ import { z as z132 } from "zod";
4541
+ var UserAnalyticsCleanupSchedule = z132.object({
4542
+ userId: z132.string(),
4543
+ createdAt: z132.coerce.date(),
4544
+ deleteAt: z132.coerce.date()
4519
4545
  });
4520
4546
  var UserAnalyticsCleanupScheduleDbInput = UserAnalyticsCleanupSchedule.omit({
4521
4547
  createdAt: true
4522
4548
  });
4523
4549
 
4524
4550
  // src/users/user-identity.ts
4525
- import { z as z131 } from "zod";
4526
- var UserIdentity = z131.object({
4527
- id: z131.string(),
4528
- userId: z131.string()
4551
+ import { z as z133 } from "zod";
4552
+ var UserIdentity = z133.object({
4553
+ id: z133.string(),
4554
+ userId: z133.string()
4529
4555
  });
4530
4556
 
4531
4557
  // src/users/user-minified.ts
4532
- import { z as z132 } from "zod";
4533
- var UserMinified = z132.object({
4534
- id: z132.string(),
4535
- name: z132.string(),
4536
- email: z132.string(),
4537
- avatar: z132.string().optional()
4558
+ import { z as z134 } from "zod";
4559
+ var UserMinified = z134.object({
4560
+ id: z134.string(),
4561
+ name: z134.string(),
4562
+ email: z134.string(),
4563
+ avatar: z134.string().optional()
4538
4564
  });
4539
4565
 
4540
4566
  // src/users/user-notification-settings.ts
4541
- import { z as z133 } from "zod";
4542
- var LiveblocksNotificationSettings = z133.object({
4543
- sendCommentNotificationEmails: z133.boolean()
4567
+ import { z as z135 } from "zod";
4568
+ var LiveblocksNotificationSettings = z135.object({
4569
+ sendCommentNotificationEmails: z135.boolean()
4544
4570
  });
4545
- var UserNotificationSettings = z133.object({
4571
+ var UserNotificationSettings = z135.object({
4546
4572
  liveblocksNotificationSettings: LiveblocksNotificationSettings
4547
4573
  });
4548
4574
  var defaultNotificationSettings = {
@@ -4552,11 +4578,11 @@ var defaultNotificationSettings = {
4552
4578
  };
4553
4579
 
4554
4580
  // src/users/user-profile.ts
4555
- import { z as z134 } from "zod";
4556
- var UserOnboardingDepartment = z134.enum(["Design", "Engineering", "Product", "Brand", "Other"]);
4557
- var UserOnboardingJobLevel = z134.enum(["Executive", "Manager", "IndividualContributor", "Other"]);
4558
- var UserTheme = z134.object({
4559
- preset: z134.enum([
4581
+ import { z as z136 } from "zod";
4582
+ var UserOnboardingDepartment = z136.enum(["Design", "Engineering", "Product", "Brand", "Other"]);
4583
+ var UserOnboardingJobLevel = z136.enum(["Executive", "Manager", "IndividualContributor", "Other"]);
4584
+ var UserTheme = z136.object({
4585
+ preset: z136.enum([
4560
4586
  "Custom",
4561
4587
  "Default",
4562
4588
  "HighContrast",
@@ -4567,32 +4593,32 @@ var UserTheme = z134.object({
4567
4593
  "SystemPreference",
4568
4594
  "Sepia"
4569
4595
  ]).optional(),
4570
- backgroundColor: z134.string().optional(),
4571
- accentColor: z134.string().optional(),
4572
- contrast: z134.number().min(16).max(100).optional(),
4573
- isSecondaryEnabled: z134.boolean().optional(),
4574
- secondaryBackgroundColor: z134.string().optional(),
4575
- secondaryContrast: z134.number().min(16).max(100).optional(),
4576
- isEditorWhite: z134.boolean().optional()
4577
- });
4578
- var UserOnboarding = z134.object({
4579
- companyName: z134.string().optional(),
4580
- numberOfPeopleInOrg: z134.string().optional(),
4581
- numberOfPeopleInDesignTeam: z134.string().optional(),
4596
+ backgroundColor: z136.string().optional(),
4597
+ accentColor: z136.string().optional(),
4598
+ contrast: z136.number().min(16).max(100).optional(),
4599
+ isSecondaryEnabled: z136.boolean().optional(),
4600
+ secondaryBackgroundColor: z136.string().optional(),
4601
+ secondaryContrast: z136.number().min(16).max(100).optional(),
4602
+ isEditorWhite: z136.boolean().optional()
4603
+ });
4604
+ var UserOnboarding = z136.object({
4605
+ companyName: z136.string().optional(),
4606
+ numberOfPeopleInOrg: z136.string().optional(),
4607
+ numberOfPeopleInDesignTeam: z136.string().optional(),
4582
4608
  department: UserOnboardingDepartment.optional(),
4583
- jobTitle: z134.string().optional(),
4584
- phase: z134.string().optional(),
4609
+ jobTitle: z136.string().optional(),
4610
+ phase: z136.string().optional(),
4585
4611
  jobLevel: UserOnboardingJobLevel.optional(),
4586
- designSystemName: z134.string().optional(),
4587
- defaultDestination: z134.string().optional(),
4588
- figmaUrl: z134.string().optional(),
4589
- isPageDraftOnboardingFinished: z134.boolean().optional(),
4590
- isApprovalsOnboardingFinished: z134.boolean().optional()
4591
- });
4592
- var UserProfile = z134.object({
4593
- name: z134.string(),
4594
- avatar: z134.string().optional(),
4595
- nickname: z134.string().optional(),
4612
+ designSystemName: z136.string().optional(),
4613
+ defaultDestination: z136.string().optional(),
4614
+ figmaUrl: z136.string().optional(),
4615
+ isPageDraftOnboardingFinished: z136.boolean().optional(),
4616
+ isApprovalsOnboardingFinished: z136.boolean().optional()
4617
+ });
4618
+ var UserProfile = z136.object({
4619
+ name: z136.string(),
4620
+ avatar: z136.string().optional(),
4621
+ nickname: z136.string().optional(),
4596
4622
  onboarding: UserOnboarding.optional(),
4597
4623
  theme: UserTheme.optional()
4598
4624
  });
@@ -4601,50 +4627,50 @@ var UserProfileUpdate = UserProfile.partial().omit({
4601
4627
  });
4602
4628
 
4603
4629
  // src/users/user-test.ts
4604
- import { z as z135 } from "zod";
4605
- var UserTest = z135.object({
4606
- id: z135.string(),
4607
- email: z135.string()
4630
+ import { z as z137 } from "zod";
4631
+ var UserTest = z137.object({
4632
+ id: z137.string(),
4633
+ email: z137.string()
4608
4634
  });
4609
4635
 
4610
4636
  // src/users/user.ts
4611
- import { z as z136 } from "zod";
4612
- var UserSource = z136.enum(["SignUp", "Invite", "SSO"]);
4613
- var User = z136.object({
4614
- id: z136.string(),
4615
- email: z136.string(),
4616
- emailVerified: z136.boolean(),
4617
- createdAt: z136.coerce.date(),
4618
- trialExpiresAt: z136.coerce.date().optional(),
4637
+ import { z as z138 } from "zod";
4638
+ var UserSource = z138.enum(["SignUp", "Invite", "SSO"]);
4639
+ var User = z138.object({
4640
+ id: z138.string(),
4641
+ email: z138.string(),
4642
+ emailVerified: z138.boolean(),
4643
+ createdAt: z138.coerce.date(),
4644
+ trialExpiresAt: z138.coerce.date().optional(),
4619
4645
  profile: UserProfile,
4620
4646
  linkedIntegrations: UserLinkedIntegrations.optional(),
4621
- loggedOutAt: z136.coerce.date().optional(),
4622
- isProtected: z136.boolean(),
4647
+ loggedOutAt: z138.coerce.date().optional(),
4648
+ isProtected: z138.boolean(),
4623
4649
  source: UserSource.optional()
4624
4650
  });
4625
4651
 
4626
4652
  // src/workspace/workspace-membership.ts
4627
- var WorkspaceMembership = z137.object({
4628
- id: z137.string(),
4629
- userId: z137.string(),
4630
- workspaceId: z137.string(),
4631
- workspaceRole: z137.nativeEnum(WorkspaceRole),
4653
+ var WorkspaceMembership = z139.object({
4654
+ id: z139.string(),
4655
+ userId: z139.string(),
4656
+ workspaceId: z139.string(),
4657
+ workspaceRole: z139.nativeEnum(WorkspaceRole),
4632
4658
  notificationSettings: UserNotificationSettings,
4633
- isPrimaryOwner: z137.boolean().nullish()
4634
- });
4635
- var UpdateMembershipRolesInput = z137.object({
4636
- members: z137.array(
4637
- z137.object({
4638
- userId: z137.string(),
4639
- role: z137.nativeEnum(WorkspaceRole),
4640
- isPrimaryOwner: z137.boolean().optional()
4659
+ isPrimaryOwner: z139.boolean().nullish()
4660
+ });
4661
+ var UpdateMembershipRolesInput = z139.object({
4662
+ members: z139.array(
4663
+ z139.object({
4664
+ userId: z139.string(),
4665
+ role: z139.nativeEnum(WorkspaceRole),
4666
+ isPrimaryOwner: z139.boolean().optional()
4641
4667
  })
4642
4668
  )
4643
4669
  });
4644
4670
 
4645
4671
  // src/dsm/membership/ds-role.ts
4646
- import { z as z138 } from "zod";
4647
- var DesignSystemRole = z138.enum([
4672
+ import { z as z140 } from "zod";
4673
+ var DesignSystemRole = z140.enum([
4648
4674
  WorkspaceRole.Admin,
4649
4675
  WorkspaceRole.Contributor,
4650
4676
  WorkspaceRole.Creator,
@@ -4668,46 +4694,46 @@ function workspaceRoleToDesignSystemRole(role) {
4668
4694
  }
4669
4695
 
4670
4696
  // src/dsm/membership/invitations.ts
4671
- import { z as z139 } from "zod";
4672
- var DesignSystemInvitation = z139.object({
4673
- id: z139.string(),
4674
- designSystemId: z139.string(),
4675
- workspaceInvitationId: z139.string(),
4697
+ import { z as z141 } from "zod";
4698
+ var DesignSystemInvitation = z141.object({
4699
+ id: z141.string(),
4700
+ designSystemId: z141.string(),
4701
+ workspaceInvitationId: z141.string(),
4676
4702
  designSystemRole: DesignSystemRole.optional(),
4677
4703
  workspaceRole: WorkspaceRoleSchema
4678
4704
  });
4679
4705
 
4680
4706
  // src/dsm/membership/design-system-membership.ts
4681
- var DesignSystemMembership = z140.object({
4682
- id: z140.string(),
4683
- userId: z140.string(),
4684
- designSystemId: z140.string(),
4707
+ var DesignSystemMembership = z142.object({
4708
+ id: z142.string(),
4709
+ userId: z142.string(),
4710
+ designSystemId: z142.string(),
4685
4711
  designSystemRole: DesignSystemRole.optional(),
4686
- workspaceMembershipId: z140.string(),
4712
+ workspaceMembershipId: z142.string(),
4687
4713
  workspaceRole: WorkspaceRoleSchema
4688
4714
  });
4689
- var DesignSystemMembers = z140.object({
4715
+ var DesignSystemMembers = z142.object({
4690
4716
  members: DesignSystemMembership.array(),
4691
4717
  invitations: DesignSystemInvitation.array()
4692
4718
  });
4693
- var DesignSystemPendingMemberInvitation = z140.object({
4694
- inviteId: z140.string(),
4719
+ var DesignSystemPendingMemberInvitation = z142.object({
4720
+ inviteId: z142.string(),
4695
4721
  /**
4696
4722
  * Role that the user will have in the design system, undefined
4697
4723
  * if it should be inherited from the workspace
4698
4724
  */
4699
4725
  designSystemRole: DesignSystemRole.optional()
4700
4726
  });
4701
- var DesignSystemUserInvitation = z140.object({
4702
- userId: z140.string(),
4727
+ var DesignSystemUserInvitation = z142.object({
4728
+ userId: z142.string(),
4703
4729
  /**
4704
4730
  * Role that the user will have in the design system, undefined
4705
4731
  * if it should be inherited from the workspace
4706
4732
  */
4707
4733
  designSystemRole: DesignSystemRole.optional()
4708
4734
  });
4709
- var DesignSystemInvite = z140.object({
4710
- email: z140.string(),
4735
+ var DesignSystemInvite = z142.object({
4736
+ email: z142.string(),
4711
4737
  workspaceRole: WorkspaceRoleSchema,
4712
4738
  /**
4713
4739
  * Role that the user will have in the design system, undefined
@@ -4715,282 +4741,282 @@ var DesignSystemInvite = z140.object({
4715
4741
  */
4716
4742
  designSystemRole: DesignSystemRole.optional()
4717
4743
  });
4718
- var DesignSystemMemberUpdate = z140.object({
4719
- userId: z140.string(),
4744
+ var DesignSystemMemberUpdate = z142.object({
4745
+ userId: z142.string(),
4720
4746
  designSystemRole: DesignSystemRole.nullable()
4721
4747
  });
4722
- var DesignSystemInviteUpdate = z140.object({
4748
+ var DesignSystemInviteUpdate = z142.object({
4723
4749
  /**
4724
4750
  * Workspace invitation id
4725
4751
  */
4726
- inviteId: z140.string(),
4752
+ inviteId: z142.string(),
4727
4753
  designSystemRole: DesignSystemRole.nullable()
4728
4754
  });
4729
- var DesignSystemMembershipUpdates = z140.object({
4755
+ var DesignSystemMembershipUpdates = z142.object({
4730
4756
  usersToInvite: DesignSystemUserInvitation.array().optional(),
4731
4757
  invitesToInvite: DesignSystemPendingMemberInvitation.array().optional(),
4732
4758
  emailsToInvite: DesignSystemInvite.array().optional(),
4733
4759
  usersToUpdate: DesignSystemMemberUpdate.array().optional(),
4734
4760
  invitesToUpdate: DesignSystemInviteUpdate.array().optional(),
4735
- removeUserIds: z140.string().array().optional(),
4736
- deleteInvitationIds: z140.string().array().optional()
4761
+ removeUserIds: z142.string().array().optional(),
4762
+ deleteInvitationIds: z142.string().array().optional()
4737
4763
  });
4738
4764
 
4739
4765
  // src/dsm/views/column.ts
4740
- import { z as z141 } from "zod";
4741
- var ElementViewBaseColumnType = z141.enum(["Name", "Description", "Value", "UpdatedAt"]);
4742
- var ElementViewColumnType = z141.union([
4743
- z141.literal("BaseProperty"),
4744
- z141.literal("PropertyDefinition"),
4745
- z141.literal("Theme")
4766
+ import { z as z143 } from "zod";
4767
+ var ElementViewBaseColumnType = z143.enum(["Name", "Description", "Value", "UpdatedAt"]);
4768
+ var ElementViewColumnType = z143.union([
4769
+ z143.literal("BaseProperty"),
4770
+ z143.literal("PropertyDefinition"),
4771
+ z143.literal("Theme")
4746
4772
  ]);
4747
- var ElementViewColumnSharedAttributes = z141.object({
4748
- id: z141.string(),
4749
- persistentId: z141.string(),
4750
- elementDataViewId: z141.string(),
4751
- sortPosition: z141.number(),
4752
- width: z141.number()
4773
+ var ElementViewColumnSharedAttributes = z143.object({
4774
+ id: z143.string(),
4775
+ persistentId: z143.string(),
4776
+ elementDataViewId: z143.string(),
4777
+ sortPosition: z143.number(),
4778
+ width: z143.number()
4753
4779
  });
4754
4780
  var ElementViewBasePropertyColumn = ElementViewColumnSharedAttributes.extend({
4755
- type: z141.literal("BaseProperty"),
4781
+ type: z143.literal("BaseProperty"),
4756
4782
  basePropertyType: ElementViewBaseColumnType
4757
4783
  });
4758
4784
  var ElementViewPropertyDefinitionColumn = ElementViewColumnSharedAttributes.extend({
4759
- type: z141.literal("PropertyDefinition"),
4760
- propertyDefinitionId: z141.string()
4785
+ type: z143.literal("PropertyDefinition"),
4786
+ propertyDefinitionId: z143.string()
4761
4787
  });
4762
4788
  var ElementViewThemeColumn = ElementViewColumnSharedAttributes.extend({
4763
- type: z141.literal("Theme"),
4764
- themeId: z141.string()
4789
+ type: z143.literal("Theme"),
4790
+ themeId: z143.string()
4765
4791
  });
4766
- var ElementViewColumn = z141.discriminatedUnion("type", [
4792
+ var ElementViewColumn = z143.discriminatedUnion("type", [
4767
4793
  ElementViewBasePropertyColumn,
4768
4794
  ElementViewPropertyDefinitionColumn,
4769
4795
  ElementViewThemeColumn
4770
4796
  ]);
4771
4797
 
4772
4798
  // src/dsm/views/view.ts
4773
- import { z as z142 } from "zod";
4774
- var ElementView = z142.object({
4775
- id: z142.string(),
4776
- persistentId: z142.string(),
4777
- designSystemVersionId: z142.string(),
4778
- name: z142.string(),
4779
- description: z142.string(),
4799
+ import { z as z144 } from "zod";
4800
+ var ElementView = z144.object({
4801
+ id: z144.string(),
4802
+ persistentId: z144.string(),
4803
+ designSystemVersionId: z144.string(),
4804
+ name: z144.string(),
4805
+ description: z144.string(),
4780
4806
  targetElementType: ElementPropertyTargetType,
4781
- isDefault: z142.boolean()
4807
+ isDefault: z144.boolean()
4782
4808
  });
4783
4809
 
4784
4810
  // src/dsm/brand.ts
4785
- import { z as z143 } from "zod";
4786
- var Brand = z143.object({
4787
- id: z143.string(),
4788
- designSystemVersionId: z143.string(),
4789
- persistentId: z143.string(),
4790
- name: z143.string(),
4791
- description: z143.string()
4811
+ import { z as z145 } from "zod";
4812
+ var Brand = z145.object({
4813
+ id: z145.string(),
4814
+ designSystemVersionId: z145.string(),
4815
+ persistentId: z145.string(),
4816
+ name: z145.string(),
4817
+ description: z145.string()
4792
4818
  });
4793
4819
 
4794
4820
  // src/dsm/design-system.ts
4795
- import { z as z144 } from "zod";
4796
- var DesignSystemAccessMode = z144.enum(["Open", "InviteOnly"]);
4797
- var DesignSystemSwitcher = z144.object({
4798
- isEnabled: z144.boolean(),
4799
- designSystemIds: z144.array(z144.string())
4821
+ import { z as z146 } from "zod";
4822
+ var DesignSystemAccessMode = z146.enum(["Open", "InviteOnly"]);
4823
+ var DesignSystemSwitcher = z146.object({
4824
+ isEnabled: z146.boolean(),
4825
+ designSystemIds: z146.array(z146.string())
4800
4826
  });
4801
- var DesignSystem = z144.object({
4802
- id: z144.string(),
4803
- workspaceId: z144.string(),
4804
- name: z144.string(),
4805
- description: z144.string(),
4806
- docExporterId: nullishToOptional(z144.string()),
4807
- docSlug: z144.string(),
4808
- docUserSlug: nullishToOptional(z144.string()),
4809
- docSlugDeprecated: z144.string(),
4810
- isMultibrand: z144.boolean(),
4811
- docViewUrl: nullishToOptional(z144.string()),
4812
- basePrefixes: z144.array(z144.string()),
4827
+ var DesignSystem = z146.object({
4828
+ id: z146.string(),
4829
+ workspaceId: z146.string(),
4830
+ name: z146.string(),
4831
+ description: z146.string(),
4832
+ docExporterId: nullishToOptional(z146.string()),
4833
+ docSlug: z146.string(),
4834
+ docUserSlug: nullishToOptional(z146.string()),
4835
+ docSlugDeprecated: z146.string(),
4836
+ isMultibrand: z146.boolean(),
4837
+ docViewUrl: nullishToOptional(z146.string()),
4838
+ basePrefixes: z146.array(z146.string()),
4813
4839
  designSystemSwitcher: nullishToOptional(DesignSystemSwitcher),
4814
- isApprovalFeatureEnabled: z144.boolean(),
4815
- approvalRequiredForPublishing: z144.boolean(),
4840
+ isApprovalFeatureEnabled: z146.boolean(),
4841
+ approvalRequiredForPublishing: z146.boolean(),
4816
4842
  accessMode: DesignSystemAccessMode,
4817
- membersGenerated: z144.boolean(),
4818
- createdAt: z144.coerce.date(),
4819
- updatedAt: z144.coerce.date()
4843
+ membersGenerated: z146.boolean(),
4844
+ createdAt: z146.coerce.date(),
4845
+ updatedAt: z146.coerce.date()
4820
4846
  });
4821
4847
 
4822
4848
  // src/dsm/exporter-property-values-collection.ts
4823
- import { z as z145 } from "zod";
4824
- var ExporterPropertyImageValue = z145.object({
4849
+ import { z as z147 } from "zod";
4850
+ var ExporterPropertyImageValue = z147.object({
4825
4851
  asset: PageBlockAsset.optional(),
4826
- assetId: z145.string().optional(),
4827
- assetUrl: z145.string().optional()
4828
- });
4829
- var ExporterConfigurationPropertyValue = z145.object({
4830
- key: z145.string(),
4831
- value: z145.union([
4832
- z145.number(),
4833
- z145.string(),
4834
- z145.boolean(),
4852
+ assetId: z147.string().optional(),
4853
+ assetUrl: z147.string().optional()
4854
+ });
4855
+ var ExporterConfigurationPropertyValue = z147.object({
4856
+ key: z147.string(),
4857
+ value: z147.union([
4858
+ z147.number(),
4859
+ z147.string(),
4860
+ z147.boolean(),
4835
4861
  ExporterPropertyImageValue,
4836
4862
  ColorTokenData,
4837
4863
  TypographyTokenData
4838
4864
  ])
4839
4865
  });
4840
- var ExporterPropertyValuesCollection = z145.object({
4841
- id: z145.string(),
4842
- designSystemId: z145.string(),
4843
- exporterId: z145.string(),
4844
- values: z145.array(ExporterConfigurationPropertyValue)
4866
+ var ExporterPropertyValuesCollection = z147.object({
4867
+ id: z147.string(),
4868
+ designSystemId: z147.string(),
4869
+ exporterId: z147.string(),
4870
+ values: z147.array(ExporterConfigurationPropertyValue)
4845
4871
  });
4846
4872
 
4847
4873
  // src/dsm/published-doc-page-visits.ts
4848
- import { z as z146 } from "zod";
4849
- var PublishedDocPageVisitsEntry = z146.object({
4850
- id: z146.string(),
4851
- versionId: z146.string(),
4852
- pagePersistentId: z146.string(),
4853
- locale: z146.string().optional(),
4854
- timestamp: z146.coerce.date(),
4855
- visits: z146.number()
4874
+ import { z as z148 } from "zod";
4875
+ var PublishedDocPageVisitsEntry = z148.object({
4876
+ id: z148.string(),
4877
+ versionId: z148.string(),
4878
+ pagePersistentId: z148.string(),
4879
+ locale: z148.string().optional(),
4880
+ timestamp: z148.coerce.date(),
4881
+ visits: z148.number()
4856
4882
  });
4857
4883
 
4858
4884
  // src/dsm/published-doc-page.ts
4859
- import { z as z147 } from "zod";
4885
+ import { z as z149 } from "zod";
4860
4886
  var SHORT_PERSISTENT_ID_LENGTH = 8;
4861
4887
  function tryParseShortPersistentId(url = "/") {
4862
4888
  const lastUrlPart = url.split("/").pop() || "";
4863
4889
  const shortPersistentId = lastUrlPart.split("-").pop()?.replaceAll(".html", "") || null;
4864
4890
  return shortPersistentId?.length === SHORT_PERSISTENT_ID_LENGTH ? shortPersistentId : null;
4865
4891
  }
4866
- var PublishedDocPage = z147.object({
4867
- id: z147.string(),
4868
- publishedDocId: z147.string(),
4869
- pageShortPersistentId: z147.string(),
4870
- pagePersistentId: z147.string().optional(),
4871
- pathV1: z147.string(),
4872
- pathV2: z147.string(),
4873
- storagePath: z147.string(),
4874
- locale: z147.string().optional(),
4875
- isPrivate: z147.boolean(),
4876
- isHidden: z147.boolean(),
4877
- createdAt: z147.coerce.date(),
4878
- updatedAt: z147.coerce.date()
4892
+ var PublishedDocPage = z149.object({
4893
+ id: z149.string(),
4894
+ publishedDocId: z149.string(),
4895
+ pageShortPersistentId: z149.string(),
4896
+ pagePersistentId: z149.string().optional(),
4897
+ pathV1: z149.string(),
4898
+ pathV2: z149.string(),
4899
+ storagePath: z149.string(),
4900
+ locale: z149.string().optional(),
4901
+ isPrivate: z149.boolean(),
4902
+ isHidden: z149.boolean(),
4903
+ createdAt: z149.coerce.date(),
4904
+ updatedAt: z149.coerce.date()
4879
4905
  });
4880
4906
 
4881
4907
  // src/dsm/published-doc.ts
4882
- import { z as z148 } from "zod";
4908
+ import { z as z150 } from "zod";
4883
4909
  var publishedDocEnvironments = ["Live", "Preview"];
4884
- var PublishedDocEnvironment = z148.enum(publishedDocEnvironments);
4885
- var PublishedDocsChecksums = z148.record(z148.string());
4886
- var PublishedDocRoutingVersion = z148.enum(["1", "2"]);
4887
- var PublishedDoc = z148.object({
4888
- id: z148.string(),
4889
- designSystemVersionId: z148.string(),
4890
- createdAt: z148.coerce.date(),
4891
- updatedAt: z148.coerce.date(),
4892
- lastPublishedAt: z148.coerce.date(),
4893
- isDefault: z148.boolean(),
4894
- isPublic: z148.boolean(),
4910
+ var PublishedDocEnvironment = z150.enum(publishedDocEnvironments);
4911
+ var PublishedDocsChecksums = z150.record(z150.string());
4912
+ var PublishedDocRoutingVersion = z150.enum(["1", "2"]);
4913
+ var PublishedDoc = z150.object({
4914
+ id: z150.string(),
4915
+ designSystemVersionId: z150.string(),
4916
+ createdAt: z150.coerce.date(),
4917
+ updatedAt: z150.coerce.date(),
4918
+ lastPublishedAt: z150.coerce.date(),
4919
+ isDefault: z150.boolean(),
4920
+ isPublic: z150.boolean(),
4895
4921
  environment: PublishedDocEnvironment,
4896
4922
  checksums: PublishedDocsChecksums,
4897
- storagePath: z148.string(),
4898
- wasMigrated: z148.boolean(),
4923
+ storagePath: z150.string(),
4924
+ wasMigrated: z150.boolean(),
4899
4925
  routingVersion: PublishedDocRoutingVersion,
4900
- usesLocalizations: z148.boolean(),
4901
- wasPublishedWithLocalizations: z148.boolean(),
4902
- tokenCount: z148.number(),
4903
- assetCount: z148.number()
4926
+ usesLocalizations: z150.boolean(),
4927
+ wasPublishedWithLocalizations: z150.boolean(),
4928
+ tokenCount: z150.number(),
4929
+ assetCount: z150.number()
4904
4930
  });
4905
4931
 
4906
4932
  // src/dsm/version.ts
4907
- import { z as z149 } from "zod";
4908
- var DesignSystemVersion = z149.object({
4909
- id: z149.string(),
4910
- version: z149.string(),
4911
- createdAt: z149.coerce.date(),
4912
- designSystemId: z149.string(),
4913
- name: z149.string(),
4914
- comment: z149.string(),
4915
- isReadonly: z149.boolean(),
4916
- changeLog: z149.string(),
4917
- parentId: z149.string().optional(),
4918
- isDraftsFeatureAdopted: z149.boolean()
4919
- });
4920
- var VersionCreationJobStatus = z149.enum(["Success", "InProgress", "Error"]);
4921
- var VersionCreationJob = z149.object({
4922
- id: z149.string(),
4923
- version: z149.string(),
4924
- designSystemId: z149.string(),
4925
- designSystemVersionId: nullishToOptional(z149.string()),
4933
+ import { z as z151 } from "zod";
4934
+ var DesignSystemVersion = z151.object({
4935
+ id: z151.string(),
4936
+ version: z151.string(),
4937
+ createdAt: z151.coerce.date(),
4938
+ designSystemId: z151.string(),
4939
+ name: z151.string(),
4940
+ comment: z151.string(),
4941
+ isReadonly: z151.boolean(),
4942
+ changeLog: z151.string(),
4943
+ parentId: z151.string().optional(),
4944
+ isDraftsFeatureAdopted: z151.boolean()
4945
+ });
4946
+ var VersionCreationJobStatus = z151.enum(["Success", "InProgress", "Error"]);
4947
+ var VersionCreationJob = z151.object({
4948
+ id: z151.string(),
4949
+ version: z151.string(),
4950
+ designSystemId: z151.string(),
4951
+ designSystemVersionId: nullishToOptional(z151.string()),
4926
4952
  status: VersionCreationJobStatus,
4927
- errorMessage: nullishToOptional(z149.string())
4953
+ errorMessage: nullishToOptional(z151.string())
4928
4954
  });
4929
4955
 
4930
4956
  // src/export/export-destinations.ts
4931
4957
  var BITBUCKET_SLUG = /^[-a-zA-Z0-9~]*$/;
4932
4958
  var BITBUCKET_MAX_LENGTH = 64;
4933
- var ExportJobDocumentationChanges = z150.object({
4934
- pagePersistentIds: z150.string().array(),
4935
- groupPersistentIds: z150.string().array()
4959
+ var ExportJobDocumentationChanges = z152.object({
4960
+ pagePersistentIds: z152.string().array(),
4961
+ groupPersistentIds: z152.string().array()
4936
4962
  });
4937
- var ExporterDestinationDocs = z150.object({
4963
+ var ExporterDestinationDocs = z152.object({
4938
4964
  environment: PublishedDocEnvironment,
4939
4965
  changes: nullishToOptional(ExportJobDocumentationChanges)
4940
4966
  });
4941
- var GitCommonDestinationOptions = z150.object({
4942
- branch: z150.string(),
4943
- relativePath: nullishToOptional(z150.string()),
4944
- purgeDirectory: nullishToOptional(z150.boolean()),
4945
- commitAuthorName: nullishToOptional(z150.string()),
4946
- commitAuthorEmail: nullishToOptional(z150.string()),
4947
- commitMessage: nullishToOptional(z150.string()),
4948
- pullRequestTitle: nullishToOptional(z150.string()),
4949
- pullRequestDescription: nullishToOptional(z150.string())
4950
- });
4951
- var ExporterDestinationS3 = z150.object({});
4952
- var ExporterDestinationGithub = z150.object({
4953
- credentialId: z150.string().optional(),
4967
+ var GitCommonDestinationOptions = z152.object({
4968
+ branch: z152.string(),
4969
+ relativePath: nullishToOptional(z152.string()),
4970
+ purgeDirectory: nullishToOptional(z152.boolean()),
4971
+ commitAuthorName: nullishToOptional(z152.string()),
4972
+ commitAuthorEmail: nullishToOptional(z152.string()),
4973
+ commitMessage: nullishToOptional(z152.string()),
4974
+ pullRequestTitle: nullishToOptional(z152.string()),
4975
+ pullRequestDescription: nullishToOptional(z152.string())
4976
+ });
4977
+ var ExporterDestinationS3 = z152.object({});
4978
+ var ExporterDestinationGithub = z152.object({
4979
+ credentialId: z152.string().optional(),
4954
4980
  // Repository
4955
- url: z150.string(),
4981
+ url: z152.string(),
4956
4982
  // Legacy deprecated fields. Use `credentialId` instead
4957
- connectionId: nullishToOptional(z150.string()),
4958
- userId: nullishToOptional(z150.number())
4983
+ connectionId: nullishToOptional(z152.string()),
4984
+ userId: nullishToOptional(z152.number())
4959
4985
  }).extend(GitCommonDestinationOptions.shape);
4960
- var ExporterDestinationAzure = z150.object({
4961
- credentialId: z150.string().optional(),
4986
+ var ExporterDestinationAzure = z152.object({
4987
+ credentialId: z152.string().optional(),
4962
4988
  // Repository
4963
- organizationId: z150.string(),
4964
- projectId: z150.string(),
4965
- repositoryId: z150.string(),
4989
+ organizationId: z152.string(),
4990
+ projectId: z152.string(),
4991
+ repositoryId: z152.string(),
4966
4992
  // Maybe not needed
4967
- url: nullishToOptional(z150.string()),
4993
+ url: nullishToOptional(z152.string()),
4968
4994
  // Legacy deprecated fields. Use `credentialId` instead
4969
- connectionId: nullishToOptional(z150.string()),
4970
- userId: nullishToOptional(z150.number())
4995
+ connectionId: nullishToOptional(z152.string()),
4996
+ userId: nullishToOptional(z152.number())
4971
4997
  }).extend(GitCommonDestinationOptions.shape);
4972
- var ExporterDestinationGitlab = z150.object({
4973
- credentialId: z150.string().optional(),
4998
+ var ExporterDestinationGitlab = z152.object({
4999
+ credentialId: z152.string().optional(),
4974
5000
  // Repository
4975
- projectId: z150.string(),
5001
+ projectId: z152.string(),
4976
5002
  // Maybe not needed
4977
- url: nullishToOptional(z150.string()),
5003
+ url: nullishToOptional(z152.string()),
4978
5004
  // Legacy deprecated fields. Use `credentialId` instead
4979
- connectionId: nullishToOptional(z150.string()),
4980
- userId: nullishToOptional(z150.number())
5005
+ connectionId: nullishToOptional(z152.string()),
5006
+ userId: nullishToOptional(z152.number())
4981
5007
  }).extend(GitCommonDestinationOptions.shape);
4982
- var ExporterDestinationBitbucket = z150.object({
4983
- credentialId: z150.string().optional(),
5008
+ var ExporterDestinationBitbucket = z152.object({
5009
+ credentialId: z152.string().optional(),
4984
5010
  // Repository
4985
- workspaceSlug: z150.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
4986
- projectKey: z150.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
4987
- repoSlug: z150.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
5011
+ workspaceSlug: z152.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
5012
+ projectKey: z152.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
5013
+ repoSlug: z152.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
4988
5014
  // Legacy deprecated fields. Use `credentialId` instead
4989
- connectionId: nullishToOptional(z150.string()),
4990
- userId: nullishToOptional(z150.number())
5015
+ connectionId: nullishToOptional(z152.string()),
5016
+ userId: nullishToOptional(z152.number())
4991
5017
  }).extend(GitCommonDestinationOptions.shape);
4992
- var ExportDestinationsMap = z150.object({
4993
- webhookUrl: z150.string().optional(),
5018
+ var ExportDestinationsMap = z152.object({
5019
+ webhookUrl: z152.string().optional(),
4994
5020
  destinationSnDocs: ExporterDestinationDocs.optional(),
4995
5021
  destinationS3: ExporterDestinationS3.optional(),
4996
5022
  destinationGithub: ExporterDestinationGithub.optional(),
@@ -4998,8 +5024,8 @@ var ExportDestinationsMap = z150.object({
4998
5024
  destinationGitlab: ExporterDestinationGitlab.optional(),
4999
5025
  destinationBitbucket: ExporterDestinationBitbucket.optional()
5000
5026
  });
5001
- var ExportDestinationsMapUpdate = z150.object({
5002
- webhookUrl: z150.string().nullish(),
5027
+ var ExportDestinationsMapUpdate = z152.object({
5028
+ webhookUrl: z152.string().nullish(),
5003
5029
  destinationSnDocs: ExporterDestinationDocs.nullish(),
5004
5030
  destinationS3: ExporterDestinationS3.nullish(),
5005
5031
  destinationGithub: ExporterDestinationGithub.nullish(),
@@ -5009,115 +5035,115 @@ var ExportDestinationsMapUpdate = z150.object({
5009
5035
  });
5010
5036
 
5011
5037
  // src/export/pipeline.ts
5012
- var PipelineEventType = z151.enum(["OnVersionReleased", "OnHeadChanged", "OnSourceUpdated", "None"]);
5013
- var PipelineDestinationGitType = z151.enum(["Github", "Gitlab", "Bitbucket", "Azure"]);
5014
- var PipelineDestinationExtraType = z151.enum(["WebhookUrl", "S3", "Documentation"]);
5015
- var PipelineDestinationType = z151.union([PipelineDestinationGitType, PipelineDestinationExtraType]);
5016
- var Pipeline = z151.object({
5017
- id: z151.string(),
5018
- name: z151.string(),
5038
+ var PipelineEventType = z153.enum(["OnVersionReleased", "OnHeadChanged", "OnSourceUpdated", "None"]);
5039
+ var PipelineDestinationGitType = z153.enum(["Github", "Gitlab", "Bitbucket", "Azure"]);
5040
+ var PipelineDestinationExtraType = z153.enum(["WebhookUrl", "S3", "Documentation"]);
5041
+ var PipelineDestinationType = z153.union([PipelineDestinationGitType, PipelineDestinationExtraType]);
5042
+ var Pipeline = z153.object({
5043
+ id: z153.string(),
5044
+ name: z153.string(),
5019
5045
  eventType: PipelineEventType,
5020
- isEnabled: z151.boolean(),
5021
- workspaceId: z151.string(),
5022
- designSystemId: z151.string(),
5023
- exporterId: z151.string(),
5024
- brandPersistentId: z151.string().optional(),
5025
- themePersistentId: z151.string().optional(),
5026
- themePersistentIds: z151.string().array().optional(),
5046
+ isEnabled: z153.boolean(),
5047
+ workspaceId: z153.string(),
5048
+ designSystemId: z153.string(),
5049
+ exporterId: z153.string(),
5050
+ brandPersistentId: z153.string().optional(),
5051
+ themePersistentId: z153.string().optional(),
5052
+ themePersistentIds: z153.string().array().optional(),
5027
5053
  exporterPropertyValues: ExporterPropertyValueMap.optional(),
5028
- isExporterDeprecated: z151.boolean(),
5054
+ isExporterDeprecated: z153.boolean(),
5029
5055
  // Destinations
5030
5056
  ...ExportDestinationsMap.shape
5031
5057
  });
5032
5058
 
5033
5059
  // src/data-dumps/code-integration-dump.ts
5034
- var ExportJobDump = z152.object({
5035
- id: z152.string(),
5036
- createdAt: z152.coerce.date(),
5037
- finishedAt: z152.coerce.date(),
5038
- exportArtefacts: z152.string()
5060
+ var ExportJobDump = z154.object({
5061
+ id: z154.string(),
5062
+ createdAt: z154.coerce.date(),
5063
+ finishedAt: z154.coerce.date(),
5064
+ exportArtefacts: z154.string()
5039
5065
  });
5040
- var CodeIntegrationDump = z152.object({
5066
+ var CodeIntegrationDump = z154.object({
5041
5067
  exporters: Exporter.array(),
5042
5068
  pipelines: Pipeline.array(),
5043
5069
  exportJobs: ExportJobDump.array()
5044
5070
  });
5045
5071
 
5046
5072
  // src/data-dumps/design-system-dump.ts
5047
- import { z as z159 } from "zod";
5073
+ import { z as z161 } from "zod";
5048
5074
 
5049
5075
  // src/data-dumps/design-system-version-dump.ts
5050
- import { z as z158 } from "zod";
5076
+ import { z as z160 } from "zod";
5051
5077
 
5052
5078
  // src/liveblocks/rooms/design-system-version-room.ts
5053
- import { z as z153 } from "zod";
5079
+ import { z as z155 } from "zod";
5054
5080
  var DesignSystemVersionRoom = Entity.extend({
5055
- designSystemVersionId: z153.string(),
5056
- liveblocksId: z153.string()
5057
- });
5058
- var DesignSystemVersionRoomInternalSettings = z153.object({
5059
- routingVersion: z153.string(),
5060
- isDraftFeatureAdopted: z153.boolean(),
5061
- isApprovalFeatureEnabled: z153.boolean(),
5062
- approvalRequiredForPublishing: z153.boolean()
5063
- });
5064
- var DesignSystemVersionRoomInitialState = z153.object({
5065
- pages: z153.array(DocumentationPageV2),
5066
- groups: z153.array(ElementGroup),
5067
- pageSnapshots: z153.array(DocumentationPageSnapshot),
5068
- groupSnapshots: z153.array(ElementGroupSnapshot),
5069
- pageApprovals: z153.array(DocumentationPageApproval),
5081
+ designSystemVersionId: z155.string(),
5082
+ liveblocksId: z155.string()
5083
+ });
5084
+ var DesignSystemVersionRoomInternalSettings = z155.object({
5085
+ routingVersion: z155.string(),
5086
+ isDraftFeatureAdopted: z155.boolean(),
5087
+ isApprovalFeatureEnabled: z155.boolean(),
5088
+ approvalRequiredForPublishing: z155.boolean()
5089
+ });
5090
+ var DesignSystemVersionRoomInitialState = z155.object({
5091
+ pages: z155.array(DocumentationPageV2),
5092
+ groups: z155.array(ElementGroup),
5093
+ pageSnapshots: z155.array(DocumentationPageSnapshot),
5094
+ groupSnapshots: z155.array(ElementGroupSnapshot),
5095
+ pageApprovals: z155.array(DocumentationPageApproval),
5070
5096
  internalSettings: DesignSystemVersionRoomInternalSettings,
5071
- pageHashes: z153.record(z153.string()).optional()
5072
- });
5073
- var DesignSystemVersionRoomUpdate = z153.object({
5074
- pages: z153.array(DocumentationPageV2),
5075
- groups: z153.array(ElementGroup),
5076
- pageIdsToDelete: z153.array(z153.string()),
5077
- groupIdsToDelete: z153.array(z153.string()),
5078
- pageSnapshots: z153.array(DocumentationPageSnapshot),
5079
- groupSnapshots: z153.array(ElementGroupSnapshot),
5080
- pageSnapshotIdsToDelete: z153.array(z153.string()),
5081
- groupSnapshotIdsToDelete: z153.array(z153.string()),
5082
- pageHashesToUpdate: z153.record(z153.string(), z153.string()),
5083
- pageApprovals: z153.array(DocumentationPageApproval),
5084
- pageApprovalIdsToDelete: z153.array(z153.string()),
5085
- executedTransactionIds: z153.array(z153.string())
5097
+ pageHashes: z155.record(z155.string()).optional()
5098
+ });
5099
+ var DesignSystemVersionRoomUpdate = z155.object({
5100
+ pages: z155.array(DocumentationPageV2),
5101
+ groups: z155.array(ElementGroup),
5102
+ pageIdsToDelete: z155.array(z155.string()),
5103
+ groupIdsToDelete: z155.array(z155.string()),
5104
+ pageSnapshots: z155.array(DocumentationPageSnapshot),
5105
+ groupSnapshots: z155.array(ElementGroupSnapshot),
5106
+ pageSnapshotIdsToDelete: z155.array(z155.string()),
5107
+ groupSnapshotIdsToDelete: z155.array(z155.string()),
5108
+ pageHashesToUpdate: z155.record(z155.string(), z155.string()),
5109
+ pageApprovals: z155.array(DocumentationPageApproval),
5110
+ pageApprovalIdsToDelete: z155.array(z155.string()),
5111
+ executedTransactionIds: z155.array(z155.string())
5086
5112
  });
5087
5113
 
5088
5114
  // src/liveblocks/rooms/documentation-page-room.ts
5089
- import { z as z154 } from "zod";
5115
+ import { z as z156 } from "zod";
5090
5116
  var DocumentationPageRoom = Entity.extend({
5091
- designSystemVersionId: z154.string(),
5092
- documentationPageId: z154.string(),
5093
- liveblocksId: z154.string(),
5094
- isDirty: z154.boolean()
5117
+ designSystemVersionId: z156.string(),
5118
+ documentationPageId: z156.string(),
5119
+ liveblocksId: z156.string(),
5120
+ isDirty: z156.boolean()
5095
5121
  });
5096
- var DocumentationPageRoomState = z154.object({
5097
- pageItems: z154.array(PageBlockEditorModelV2.or(PageSectionEditorModelV2)),
5122
+ var DocumentationPageRoomState = z156.object({
5123
+ pageItems: z156.array(PageBlockEditorModelV2.or(PageSectionEditorModelV2)),
5098
5124
  itemConfiguration: DocumentationItemConfigurationV2
5099
5125
  });
5100
- var DocumentationPageRoomRoomUpdate = z154.object({
5126
+ var DocumentationPageRoomRoomUpdate = z156.object({
5101
5127
  page: DocumentationPageV2,
5102
5128
  pageParent: ElementGroup
5103
5129
  });
5104
5130
  var DocumentationPageRoomInitialStateUpdate = DocumentationPageRoomRoomUpdate.extend({
5105
- pageItems: z154.array(PageBlockEditorModelV2.or(PageSectionEditorModelV2)),
5106
- blockDefinitions: z154.array(PageBlockDefinition)
5131
+ pageItems: z156.array(PageBlockEditorModelV2.or(PageSectionEditorModelV2)),
5132
+ blockDefinitions: z156.array(PageBlockDefinition)
5107
5133
  });
5108
- var RestoredDocumentationPage = z154.object({
5134
+ var RestoredDocumentationPage = z156.object({
5109
5135
  page: DocumentationPageV2,
5110
5136
  pageParent: ElementGroup,
5111
5137
  pageContent: DocumentationPageContentData,
5112
- contentHash: z154.string()
5138
+ contentHash: z156.string()
5113
5139
  });
5114
- var RestoredDocumentationGroup = z154.object({
5140
+ var RestoredDocumentationGroup = z156.object({
5115
5141
  group: ElementGroup,
5116
5142
  parent: ElementGroup
5117
5143
  });
5118
5144
 
5119
5145
  // src/liveblocks/rooms/room-type.ts
5120
- import { z as z155 } from "zod";
5146
+ import { z as z157 } from "zod";
5121
5147
  var RoomTypeEnum = /* @__PURE__ */ ((RoomTypeEnum2) => {
5122
5148
  RoomTypeEnum2["DocumentationPageOld"] = "documentation-page";
5123
5149
  RoomTypeEnum2["DocumentationPage"] = "doc-page";
@@ -5125,36 +5151,36 @@ var RoomTypeEnum = /* @__PURE__ */ ((RoomTypeEnum2) => {
5125
5151
  RoomTypeEnum2["Workspace"] = "workspace";
5126
5152
  return RoomTypeEnum2;
5127
5153
  })(RoomTypeEnum || {});
5128
- var RoomTypeSchema = z155.nativeEnum(RoomTypeEnum);
5154
+ var RoomTypeSchema = z157.nativeEnum(RoomTypeEnum);
5129
5155
  var RoomType = RoomTypeSchema.enum;
5130
5156
 
5131
5157
  // src/liveblocks/rooms/workspace-room.ts
5132
- import { z as z156 } from "zod";
5158
+ import { z as z158 } from "zod";
5133
5159
  var WorkspaceRoom = Entity.extend({
5134
- workspaceId: z156.string(),
5135
- liveblocksId: z156.string()
5160
+ workspaceId: z158.string(),
5161
+ liveblocksId: z158.string()
5136
5162
  });
5137
5163
 
5138
5164
  // src/data-dumps/published-docs-dump.ts
5139
- import { z as z157 } from "zod";
5140
- var PublishedDocsDump = z157.object({
5165
+ import { z as z159 } from "zod";
5166
+ var PublishedDocsDump = z159.object({
5141
5167
  documentation: PublishedDoc,
5142
5168
  pages: PublishedDocPage.array()
5143
5169
  });
5144
5170
 
5145
5171
  // src/data-dumps/design-system-version-dump.ts
5146
- var DocumentationThreadDump = z158.object({
5172
+ var DocumentationThreadDump = z160.object({
5147
5173
  thread: DocumentationCommentThread,
5148
5174
  comments: DocumentationComment.array()
5149
5175
  });
5150
- var DocumentationPageRoomDump = z158.object({
5176
+ var DocumentationPageRoomDump = z160.object({
5151
5177
  room: DocumentationPageRoom,
5152
5178
  threads: DocumentationThreadDump.array()
5153
5179
  });
5154
- var DesignSystemVersionMultiplayerDump = z158.object({
5180
+ var DesignSystemVersionMultiplayerDump = z160.object({
5155
5181
  documentationPages: DocumentationPageRoomDump.array()
5156
5182
  });
5157
- var DesignSystemVersionDump = z158.object({
5183
+ var DesignSystemVersionDump = z160.object({
5158
5184
  version: DesignSystemVersion,
5159
5185
  brands: Brand.array(),
5160
5186
  elements: DesignElement.array(),
@@ -5169,7 +5195,7 @@ var DesignSystemVersionDump = z158.object({
5169
5195
  });
5170
5196
 
5171
5197
  // src/data-dumps/design-system-dump.ts
5172
- var DesignSystemDump = z159.object({
5198
+ var DesignSystemDump = z161.object({
5173
5199
  designSystem: DesignSystem,
5174
5200
  dataSources: DataSource.array(),
5175
5201
  versions: DesignSystemVersionDump.array(),
@@ -5178,50 +5204,50 @@ var DesignSystemDump = z159.object({
5178
5204
  });
5179
5205
 
5180
5206
  // src/data-dumps/user-data-dump.ts
5181
- import { z as z162 } from "zod";
5207
+ import { z as z164 } from "zod";
5182
5208
 
5183
5209
  // src/data-dumps/workspace-dump.ts
5184
- import { z as z161 } from "zod";
5210
+ import { z as z163 } from "zod";
5185
5211
 
5186
5212
  // src/integrations/integration.ts
5187
- import { z as z160 } from "zod";
5188
- var IntegrationDesignSystem = z160.object({
5189
- designSystemId: z160.string(),
5190
- brandId: z160.string(),
5191
- title: z160.string().optional(),
5192
- userId: z160.string().optional(),
5193
- date: z160.coerce.date().optional()
5194
- });
5195
- var IntegrationCredentialsType = z160.enum(["OAuth2", "PAT"]);
5196
- var IntegrationCredentialsState = z160.enum(["Active", "Inactive"]);
5197
- var IntegrationCredentialsProfile = z160.object({
5198
- id: nullishToOptional(z160.string()),
5199
- email: nullishToOptional(z160.string()),
5200
- handle: nullishToOptional(z160.string()),
5201
- type: nullishToOptional(z160.string()),
5202
- avatarUrl: nullishToOptional(z160.string()),
5203
- organization: nullishToOptional(z160.string()),
5204
- collection: nullishToOptional(z160.string())
5205
- });
5206
- var IntegrationCredentials = z160.object({
5207
- id: z160.string(),
5213
+ import { z as z162 } from "zod";
5214
+ var IntegrationDesignSystem = z162.object({
5215
+ designSystemId: z162.string(),
5216
+ brandId: z162.string(),
5217
+ title: z162.string().optional(),
5218
+ userId: z162.string().optional(),
5219
+ date: z162.coerce.date().optional()
5220
+ });
5221
+ var IntegrationCredentialsType = z162.enum(["OAuth2", "PAT"]);
5222
+ var IntegrationCredentialsState = z162.enum(["Active", "Inactive"]);
5223
+ var IntegrationCredentialsProfile = z162.object({
5224
+ id: nullishToOptional(z162.string()),
5225
+ email: nullishToOptional(z162.string()),
5226
+ handle: nullishToOptional(z162.string()),
5227
+ type: nullishToOptional(z162.string()),
5228
+ avatarUrl: nullishToOptional(z162.string()),
5229
+ organization: nullishToOptional(z162.string()),
5230
+ collection: nullishToOptional(z162.string())
5231
+ });
5232
+ var IntegrationCredentials = z162.object({
5233
+ id: z162.string(),
5208
5234
  type: IntegrationCredentialsType,
5209
- integrationId: z160.string(),
5210
- accessToken: z160.string(),
5211
- userId: z160.string(),
5212
- createdAt: z160.coerce.date(),
5213
- refreshToken: z160.string().optional(),
5214
- tokenName: z160.string().optional(),
5215
- expiresAt: z160.coerce.date().optional(),
5216
- refreshedAt: z160.coerce.date().optional(),
5217
- username: z160.string().optional(),
5218
- appInstallationId: z160.string().optional(),
5235
+ integrationId: z162.string(),
5236
+ accessToken: z162.string(),
5237
+ userId: z162.string(),
5238
+ createdAt: z162.coerce.date(),
5239
+ refreshToken: z162.string().optional(),
5240
+ tokenName: z162.string().optional(),
5241
+ expiresAt: z162.coerce.date().optional(),
5242
+ refreshedAt: z162.coerce.date().optional(),
5243
+ username: z162.string().optional(),
5244
+ appInstallationId: z162.string().optional(),
5219
5245
  profile: IntegrationCredentialsProfile.optional(),
5220
- customUrl: z160.string().optional(),
5246
+ customUrl: z162.string().optional(),
5221
5247
  state: IntegrationCredentialsState,
5222
5248
  user: UserMinified.optional()
5223
5249
  });
5224
- var ExtendedIntegrationType = z160.enum([
5250
+ var ExtendedIntegrationType = z162.enum([
5225
5251
  "Figma",
5226
5252
  "Github",
5227
5253
  "Gitlab",
@@ -5232,26 +5258,26 @@ var ExtendedIntegrationType = z160.enum([
5232
5258
  ]);
5233
5259
  var IntegrationType = ExtendedIntegrationType.exclude(["TokenStudio", "FigmaVariablesPlugin"]);
5234
5260
  var GitIntegrationType = IntegrationType.exclude(["Figma"]);
5235
- var Integration = z160.object({
5236
- id: z160.string(),
5237
- workspaceId: z160.string(),
5261
+ var Integration = z162.object({
5262
+ id: z162.string(),
5263
+ workspaceId: z162.string(),
5238
5264
  type: IntegrationType,
5239
- createdAt: z160.coerce.date(),
5240
- integrationCredentials: z160.array(IntegrationCredentials).optional()
5241
- });
5242
- var IntegrationToken = z160.object({
5243
- access_token: z160.string(),
5244
- refresh_token: z160.string().optional(),
5245
- expires_in: z160.union([z160.number().optional(), z160.string().optional()]),
5246
- token_type: z160.string().optional(),
5247
- token_name: z160.string().optional(),
5248
- token_azure_organization_name: z160.string().optional(),
5265
+ createdAt: z162.coerce.date(),
5266
+ integrationCredentials: z162.array(IntegrationCredentials).optional()
5267
+ });
5268
+ var IntegrationToken = z162.object({
5269
+ access_token: z162.string(),
5270
+ refresh_token: z162.string().optional(),
5271
+ expires_in: z162.union([z162.number().optional(), z162.string().optional()]),
5272
+ token_type: z162.string().optional(),
5273
+ token_name: z162.string().optional(),
5274
+ token_azure_organization_name: z162.string().optional(),
5249
5275
  // Azure Cloud PAT only
5250
- token_azure_collection_name: z160.string().optional(),
5276
+ token_azure_collection_name: z162.string().optional(),
5251
5277
  // Azure Server PAT only
5252
- token_bitbucket_username: z160.string().optional(),
5278
+ token_bitbucket_username: z162.string().optional(),
5253
5279
  // Bitbucket only
5254
- custom_url: z160.string().optional().transform((value) => {
5280
+ custom_url: z162.string().optional().transform((value) => {
5255
5281
  if (!value?.trim())
5256
5282
  return void 0;
5257
5283
  return formatCustomUrl(value);
@@ -5289,7 +5315,7 @@ function formatCustomUrl(url) {
5289
5315
  }
5290
5316
 
5291
5317
  // src/data-dumps/workspace-dump.ts
5292
- var WorkspaceDump = z161.object({
5318
+ var WorkspaceDump = z163.object({
5293
5319
  workspace: Workspace,
5294
5320
  designSystems: DesignSystemDump.array(),
5295
5321
  codeIntegration: CodeIntegrationDump,
@@ -5297,122 +5323,122 @@ var WorkspaceDump = z161.object({
5297
5323
  });
5298
5324
 
5299
5325
  // src/data-dumps/user-data-dump.ts
5300
- var UserDump = z162.object({
5326
+ var UserDump = z164.object({
5301
5327
  user: User,
5302
5328
  workspaces: WorkspaceDump.array()
5303
5329
  });
5304
5330
 
5305
5331
  // src/docs-server/session.ts
5306
- import { z as z163 } from "zod";
5307
- var NpmProxyToken = z163.object({
5308
- access: z163.string(),
5309
- expiresAt: z163.number()
5332
+ import { z as z165 } from "zod";
5333
+ var NpmProxyToken = z165.object({
5334
+ access: z165.string(),
5335
+ expiresAt: z165.number()
5310
5336
  });
5311
- var SessionData = z163.object({
5312
- returnToUrl: z163.string().optional(),
5337
+ var SessionData = z165.object({
5338
+ returnToUrl: z165.string().optional(),
5313
5339
  npmProxyToken: NpmProxyToken.optional()
5314
5340
  });
5315
- var Session = z163.object({
5316
- id: z163.string(),
5317
- expiresAt: z163.coerce.date(),
5318
- userId: z163.string().nullable(),
5341
+ var Session = z165.object({
5342
+ id: z165.string(),
5343
+ expiresAt: z165.coerce.date(),
5344
+ userId: z165.string().nullable(),
5319
5345
  data: SessionData
5320
5346
  });
5321
- var AuthTokens = z163.object({
5322
- access: z163.string(),
5323
- refresh: z163.string()
5347
+ var AuthTokens = z165.object({
5348
+ access: z165.string(),
5349
+ refresh: z165.string()
5324
5350
  });
5325
- var UserSession = z163.object({
5351
+ var UserSession = z165.object({
5326
5352
  session: Session,
5327
5353
  user: User.nullable()
5328
5354
  });
5329
5355
 
5330
5356
  // src/emails/design-system-invite.ts
5331
- import { z as z164 } from "zod";
5332
- var DesignSystemInviteEmailRecipient = z164.object({
5333
- email: z164.string(),
5357
+ import { z as z166 } from "zod";
5358
+ var DesignSystemInviteEmailRecipient = z166.object({
5359
+ email: z166.string(),
5334
5360
  role: WorkspaceRoleSchema
5335
5361
  });
5336
- var DesignSystemInviteEmailData = z164.object({
5362
+ var DesignSystemInviteEmailData = z166.object({
5337
5363
  workspace: Workspace,
5338
5364
  designSystem: DesignSystem,
5339
5365
  invitedBy: User,
5340
- documentationDomain: z164.string().optional()
5366
+ documentationDomain: z166.string().optional()
5341
5367
  });
5342
5368
 
5343
5369
  // src/emails/workspace-invite.ts
5344
- import { z as z165 } from "zod";
5345
- var WorkspaceInviteEmailRecipient = z165.object({
5346
- email: z165.string(),
5370
+ import { z as z167 } from "zod";
5371
+ var WorkspaceInviteEmailRecipient = z167.object({
5372
+ email: z167.string(),
5347
5373
  role: WorkspaceRoleSchema
5348
5374
  });
5349
- var WorkspaceInviteEmailData = z165.object({
5375
+ var WorkspaceInviteEmailData = z167.object({
5350
5376
  workspace: Workspace,
5351
5377
  invitedBy: User,
5352
- documentationDomain: z165.string().optional()
5378
+ documentationDomain: z167.string().optional()
5353
5379
  });
5354
5380
 
5355
5381
  // src/events/base.ts
5356
- import { z as z168 } from "zod";
5382
+ import { z as z170 } from "zod";
5357
5383
 
5358
5384
  // src/events/data-source-imported.ts
5359
- import { z as z166 } from "zod";
5360
- var EventDataSourceImported = z166.object({
5361
- type: z166.literal("DataSourceImported"),
5362
- workspaceId: z166.string(),
5363
- designSystemId: z166.string()
5385
+ import { z as z168 } from "zod";
5386
+ var EventDataSourceImported = z168.object({
5387
+ type: z168.literal("DataSourceImported"),
5388
+ workspaceId: z168.string(),
5389
+ designSystemId: z168.string()
5364
5390
  });
5365
5391
 
5366
5392
  // src/events/version-released.ts
5367
- import { z as z167 } from "zod";
5368
- var EventVersionReleased = z167.object({
5369
- type: z167.literal("DesignSystemVersionReleased"),
5370
- workspaceId: z167.string(),
5371
- designSystemId: z167.string(),
5372
- versionId: z167.string()
5393
+ import { z as z169 } from "zod";
5394
+ var EventVersionReleased = z169.object({
5395
+ type: z169.literal("DesignSystemVersionReleased"),
5396
+ workspaceId: z169.string(),
5397
+ designSystemId: z169.string(),
5398
+ versionId: z169.string()
5373
5399
  });
5374
5400
 
5375
5401
  // src/events/base.ts
5376
- var Event = z168.discriminatedUnion("type", [EventVersionReleased, EventDataSourceImported]);
5402
+ var Event = z170.discriminatedUnion("type", [EventVersionReleased, EventDataSourceImported]);
5377
5403
 
5378
5404
  // src/export/export-runner/export-context.ts
5379
- import { z as z169 } from "zod";
5380
- var ExportJobDocumentationContext = z169.object({
5381
- isSingleVersionDocs: z169.boolean(),
5382
- versionSlug: z169.string(),
5405
+ import { z as z171 } from "zod";
5406
+ var ExportJobDocumentationContext = z171.object({
5407
+ isSingleVersionDocs: z171.boolean(),
5408
+ versionSlug: z171.string(),
5383
5409
  environment: PublishedDocEnvironment
5384
5410
  });
5385
- var ExportJobContext = z169.object({
5386
- apiUrl: z169.string(),
5387
- accessToken: z169.string(),
5388
- designSystemId: z169.string(),
5389
- designSystemName: z169.string(),
5390
- exporterId: z169.string(),
5391
- versionId: z169.string(),
5392
- brandId: z169.string().optional(),
5393
- themeId: z169.string().optional(),
5394
- themePersistentIds: z169.string().array().optional(),
5395
- exporterName: z169.string(),
5411
+ var ExportJobContext = z171.object({
5412
+ apiUrl: z171.string(),
5413
+ accessToken: z171.string(),
5414
+ designSystemId: z171.string(),
5415
+ designSystemName: z171.string(),
5416
+ exporterId: z171.string(),
5417
+ versionId: z171.string(),
5418
+ brandId: z171.string().optional(),
5419
+ themeId: z171.string().optional(),
5420
+ themePersistentIds: z171.string().array().optional(),
5421
+ exporterName: z171.string(),
5396
5422
  documentation: ExportJobDocumentationContext.optional()
5397
5423
  });
5398
- var ExportJobExporterConfiguration = z169.object({
5399
- exporterPackageUrl: z169.string(),
5424
+ var ExportJobExporterConfiguration = z171.object({
5425
+ exporterPackageUrl: z171.string(),
5400
5426
  exporterPropertyValues: ExporterConfigurationPropertyValue.array(),
5401
5427
  exporterPropertyValuesV2: ExporterPropertyValueMap.optional()
5402
5428
  });
5403
5429
 
5404
5430
  // src/export/export-runner/exporter-payload.ts
5405
- import { z as z170 } from "zod";
5406
- var ExporterFunctionPayload = z170.object({
5407
- exportJobId: z170.string(),
5408
- exportContextId: z170.string(),
5409
- designSystemId: z170.string(),
5410
- workspaceId: z170.string()
5431
+ import { z as z172 } from "zod";
5432
+ var ExporterFunctionPayload = z172.object({
5433
+ exportJobId: z172.string(),
5434
+ exportContextId: z172.string(),
5435
+ designSystemId: z172.string(),
5436
+ workspaceId: z172.string()
5411
5437
  });
5412
5438
 
5413
5439
  // src/export/export-jobs.ts
5414
- import { z as z171 } from "zod";
5415
- var ExportJobDestinationType = z171.enum([
5440
+ import { z as z173 } from "zod";
5441
+ var ExportJobDestinationType = z173.enum([
5416
5442
  "s3",
5417
5443
  "webhookUrl",
5418
5444
  "github",
@@ -5421,30 +5447,30 @@ var ExportJobDestinationType = z171.enum([
5421
5447
  "gitlab",
5422
5448
  "bitbucket"
5423
5449
  ]);
5424
- var ExportJobStatus = z171.enum(["InProgress", "Success", "Failed", "Timeout"]);
5425
- var ExportJobLogEntryType = z171.enum(["success", "info", "warning", "error", "user"]);
5426
- var ExportJobLogEntry = z171.object({
5427
- id: z171.string().optional(),
5428
- time: z171.coerce.date(),
5450
+ var ExportJobStatus = z173.enum(["InProgress", "Success", "Failed", "Timeout"]);
5451
+ var ExportJobLogEntryType = z173.enum(["success", "info", "warning", "error", "user"]);
5452
+ var ExportJobLogEntry = z173.object({
5453
+ id: z173.string().optional(),
5454
+ time: z173.coerce.date(),
5429
5455
  type: ExportJobLogEntryType,
5430
- message: z171.string()
5456
+ message: z173.string()
5431
5457
  });
5432
- var ExportJobPullRequestDestinationResult = z171.object({
5433
- pullRequestUrl: z171.string()
5458
+ var ExportJobPullRequestDestinationResult = z173.object({
5459
+ pullRequestUrl: z173.string()
5434
5460
  });
5435
- var ExportJobS3DestinationResult = z171.object({
5436
- bucket: z171.string(),
5437
- urlPrefix: z171.string().optional(),
5438
- path: z171.string(),
5439
- files: z171.array(z171.string()),
5440
- url: nullishToOptional(z171.string()),
5441
- urls: nullishToOptional(z171.string().array())
5461
+ var ExportJobS3DestinationResult = z173.object({
5462
+ bucket: z173.string(),
5463
+ urlPrefix: z173.string().optional(),
5464
+ path: z173.string(),
5465
+ files: z173.array(z173.string()),
5466
+ url: nullishToOptional(z173.string()),
5467
+ urls: nullishToOptional(z173.string().array())
5442
5468
  });
5443
- var ExportJobDocsDestinationResult = z171.object({
5444
- url: z171.string()
5469
+ var ExportJobDocsDestinationResult = z173.object({
5470
+ url: z173.string()
5445
5471
  });
5446
- var ExportJobResult = z171.object({
5447
- error: z171.string().optional(),
5472
+ var ExportJobResult = z173.object({
5473
+ error: z173.string().optional(),
5448
5474
  s3: nullishToOptional(ExportJobS3DestinationResult),
5449
5475
  github: nullishToOptional(ExportJobPullRequestDestinationResult),
5450
5476
  azure: nullishToOptional(ExportJobPullRequestDestinationResult),
@@ -5453,22 +5479,22 @@ var ExportJobResult = z171.object({
5453
5479
  sndocs: nullishToOptional(ExportJobDocsDestinationResult),
5454
5480
  logs: nullishToOptional(ExportJobLogEntry.array())
5455
5481
  });
5456
- var ExportJob = z171.object({
5457
- id: z171.string(),
5458
- createdAt: z171.coerce.date(),
5459
- finishedAt: z171.coerce.date().optional(),
5460
- designSystemId: z171.string(),
5461
- designSystemVersionId: z171.string(),
5462
- workspaceId: z171.string(),
5463
- scheduleId: z171.string().nullish(),
5464
- exporterId: z171.string(),
5465
- brandId: z171.string().optional(),
5466
- themeId: z171.string().optional(),
5467
- themePersistentIds: z171.string().array().optional(),
5468
- estimatedExecutionTime: z171.number().optional(),
5482
+ var ExportJob = z173.object({
5483
+ id: z173.string(),
5484
+ createdAt: z173.coerce.date(),
5485
+ finishedAt: z173.coerce.date().optional(),
5486
+ designSystemId: z173.string(),
5487
+ designSystemVersionId: z173.string(),
5488
+ workspaceId: z173.string(),
5489
+ scheduleId: z173.string().nullish(),
5490
+ exporterId: z173.string(),
5491
+ brandId: z173.string().optional(),
5492
+ themeId: z173.string().optional(),
5493
+ themePersistentIds: z173.string().array().optional(),
5494
+ estimatedExecutionTime: z173.number().optional(),
5469
5495
  status: ExportJobStatus,
5470
5496
  result: ExportJobResult.optional(),
5471
- createdByUserId: z171.string().optional(),
5497
+ createdByUserId: z173.string().optional(),
5472
5498
  exporterPropertyValues: ExporterPropertyValueMap.optional(),
5473
5499
  // Destinations
5474
5500
  ...ExportDestinationsMap.shape
@@ -5483,36 +5509,36 @@ var ExportJobFindByFilter = ExportJob.pick({
5483
5509
  themeId: true,
5484
5510
  brandId: true
5485
5511
  }).extend({
5486
- destinations: z171.array(ExportJobDestinationType),
5512
+ destinations: z173.array(ExportJobDestinationType),
5487
5513
  docsEnvironment: PublishedDocEnvironment
5488
5514
  }).partial();
5489
5515
 
5490
5516
  // src/export/exporter-list-query.ts
5491
- import { z as z172 } from "zod";
5492
- var ExporterType2 = z172.enum(["documentation", "code"]);
5493
- var ListExporterQuery = z172.object({
5494
- limit: z172.number().optional(),
5495
- offset: z172.number().optional(),
5517
+ import { z as z174 } from "zod";
5518
+ var ExporterType2 = z174.enum(["documentation", "code"]);
5519
+ var ListExporterQuery = z174.object({
5520
+ limit: z174.number().optional(),
5521
+ offset: z174.number().optional(),
5496
5522
  type: ExporterType2.optional(),
5497
- search: z172.string().optional()
5523
+ search: z174.string().optional()
5498
5524
  });
5499
5525
 
5500
5526
  // src/export/exporter-workspace-membership-role.ts
5501
- import { z as z173 } from "zod";
5502
- var ExporterWorkspaceMembershipRole = z173.enum(["Owner", "OwnerArchived", "User"]);
5527
+ import { z as z175 } from "zod";
5528
+ var ExporterWorkspaceMembershipRole = z175.enum(["Owner", "OwnerArchived", "User"]);
5503
5529
 
5504
5530
  // src/export/exporter-workspace-membership.ts
5505
- import { z as z174 } from "zod";
5506
- var ExporterWorkspaceMembership = z174.object({
5507
- id: z174.string(),
5508
- workspaceId: z174.string(),
5509
- exporterId: z174.string(),
5531
+ import { z as z176 } from "zod";
5532
+ var ExporterWorkspaceMembership = z176.object({
5533
+ id: z176.string(),
5534
+ workspaceId: z176.string(),
5535
+ exporterId: z176.string(),
5510
5536
  role: ExporterWorkspaceMembershipRole
5511
5537
  });
5512
5538
 
5513
5539
  // src/feature-flags/feature-flags.ts
5514
- import { z as z175 } from "zod";
5515
- var FlaggedFeature = z175.enum([
5540
+ import { z as z177 } from "zod";
5541
+ var FlaggedFeature = z177.enum([
5516
5542
  "FigmaImporterV2",
5517
5543
  "ShadowOpacityOptional",
5518
5544
  "DisableImporter",
@@ -5523,20 +5549,20 @@ var FlaggedFeature = z175.enum([
5523
5549
  "NonCompatibleTypeChanges",
5524
5550
  "TypographyUseFontStyle"
5525
5551
  ]);
5526
- var FeatureFlagMap = z175.record(FlaggedFeature, z175.boolean());
5527
- var FeatureFlag = z175.object({
5528
- id: z175.string(),
5552
+ var FeatureFlagMap = z177.record(FlaggedFeature, z177.boolean());
5553
+ var FeatureFlag = z177.object({
5554
+ id: z177.string(),
5529
5555
  feature: FlaggedFeature,
5530
- createdAt: z175.coerce.date(),
5531
- enabled: z175.boolean(),
5532
- designSystemId: z175.string().optional()
5556
+ createdAt: z177.coerce.date(),
5557
+ enabled: z177.boolean(),
5558
+ designSystemId: z177.string().optional()
5533
5559
  });
5534
5560
 
5535
5561
  // src/integrations/external-oauth-request.ts
5536
- import { z as z177 } from "zod";
5562
+ import { z as z179 } from "zod";
5537
5563
 
5538
5564
  // src/integrations/oauth-providers.ts
5539
- import { z as z176 } from "zod";
5565
+ import { z as z178 } from "zod";
5540
5566
  var OAuthProviderNames = /* @__PURE__ */ ((OAuthProviderNames2) => {
5541
5567
  OAuthProviderNames2["Figma"] = "figma";
5542
5568
  OAuthProviderNames2["Azure"] = "azure";
@@ -5545,128 +5571,128 @@ var OAuthProviderNames = /* @__PURE__ */ ((OAuthProviderNames2) => {
5545
5571
  OAuthProviderNames2["Bitbucket"] = "bitbucket";
5546
5572
  return OAuthProviderNames2;
5547
5573
  })(OAuthProviderNames || {});
5548
- var OAuthProviderSchema = z176.nativeEnum(OAuthProviderNames);
5574
+ var OAuthProviderSchema = z178.nativeEnum(OAuthProviderNames);
5549
5575
  var OAuthProvider = OAuthProviderSchema.enum;
5550
5576
 
5551
5577
  // src/integrations/external-oauth-request.ts
5552
- var ExternalOAuthRequest = z177.object({
5553
- id: z177.string(),
5578
+ var ExternalOAuthRequest = z179.object({
5579
+ id: z179.string(),
5554
5580
  provider: OAuthProviderSchema,
5555
- userId: z177.string(),
5556
- state: z177.string(),
5557
- createdAt: z177.coerce.date()
5581
+ userId: z179.string(),
5582
+ state: z179.string(),
5583
+ createdAt: z179.coerce.date()
5558
5584
  });
5559
5585
 
5560
5586
  // src/integrations/git.ts
5561
- import { z as z178 } from "zod";
5562
- var GitObjectsQuery = z178.object({
5563
- organization: z178.string().optional(),
5587
+ import { z as z180 } from "zod";
5588
+ var GitObjectsQuery = z180.object({
5589
+ organization: z180.string().optional(),
5564
5590
  // Azure Organization | Bitbucket Workspace slug | Gitlab Group | Github Account (User or Organization)
5565
- project: z178.string().optional(),
5591
+ project: z180.string().optional(),
5566
5592
  // Only for Bitbucket and Azure
5567
- repository: z178.string().optional(),
5593
+ repository: z180.string().optional(),
5568
5594
  // For all providers. For Gitlab, it's called "project".
5569
- branch: z178.string().optional(),
5595
+ branch: z180.string().optional(),
5570
5596
  // For all providers.
5571
- user: z178.string().optional()
5597
+ user: z180.string().optional()
5572
5598
  // Gitlab user
5573
5599
  });
5574
- var GitOrganization = z178.object({
5575
- id: z178.string(),
5576
- name: z178.string(),
5577
- url: z178.string(),
5578
- slug: z178.string()
5579
- });
5580
- var GitProject = z178.object({
5581
- id: z178.string(),
5582
- name: z178.string(),
5583
- url: z178.string(),
5584
- slug: z178.string()
5585
- });
5586
- var GitRepository = z178.object({
5587
- id: z178.string(),
5588
- name: z178.string(),
5589
- url: z178.string(),
5590
- slug: z178.string(),
5600
+ var GitOrganization = z180.object({
5601
+ id: z180.string(),
5602
+ name: z180.string(),
5603
+ url: z180.string(),
5604
+ slug: z180.string()
5605
+ });
5606
+ var GitProject = z180.object({
5607
+ id: z180.string(),
5608
+ name: z180.string(),
5609
+ url: z180.string(),
5610
+ slug: z180.string()
5611
+ });
5612
+ var GitRepository = z180.object({
5613
+ id: z180.string(),
5614
+ name: z180.string(),
5615
+ url: z180.string(),
5616
+ slug: z180.string(),
5591
5617
  /**
5592
5618
  * Can be undefined when:
5593
5619
  * - there are no branches in the repository yet
5594
5620
  * - Git provider doesn't expose this information on a repository via their API
5595
5621
  */
5596
- defaultBranch: z178.string().optional()
5622
+ defaultBranch: z180.string().optional()
5597
5623
  });
5598
- var GitBranch = z178.object({
5599
- name: z178.string(),
5600
- lastCommitId: z178.string()
5624
+ var GitBranch = z180.object({
5625
+ name: z180.string(),
5626
+ lastCommitId: z180.string()
5601
5627
  });
5602
5628
 
5603
5629
  // src/integrations/oauth-token.ts
5604
- import { z as z179 } from "zod";
5605
- var IntegrationTokenSchemaOld = z179.object({
5606
- id: z179.string(),
5630
+ import { z as z181 } from "zod";
5631
+ var IntegrationTokenSchemaOld = z181.object({
5632
+ id: z181.string(),
5607
5633
  provider: OAuthProviderSchema,
5608
- scope: z179.string(),
5609
- userId: z179.string(),
5610
- accessToken: z179.string(),
5611
- refreshToken: z179.string(),
5612
- expiresAt: z179.coerce.date(),
5613
- externalUserId: z179.string().nullish()
5634
+ scope: z181.string(),
5635
+ userId: z181.string(),
5636
+ accessToken: z181.string(),
5637
+ refreshToken: z181.string(),
5638
+ expiresAt: z181.coerce.date(),
5639
+ externalUserId: z181.string().nullish()
5614
5640
  });
5615
5641
 
5616
5642
  // src/integrations/workspace-oauth-requests.ts
5617
- import { z as z180 } from "zod";
5618
- var WorkspaceOAuthRequestSchema = z180.object({
5619
- id: z180.string(),
5620
- workspaceId: z180.string(),
5643
+ import { z as z182 } from "zod";
5644
+ var WorkspaceOAuthRequestSchema = z182.object({
5645
+ id: z182.string(),
5646
+ workspaceId: z182.string(),
5621
5647
  provider: OAuthProviderSchema,
5622
- userId: z180.string(),
5623
- createdAt: z180.coerce.date()
5648
+ userId: z182.string(),
5649
+ createdAt: z182.coerce.date()
5624
5650
  });
5625
5651
 
5626
5652
  // src/npm/npm-package.ts
5627
- import { z as z181 } from "zod";
5628
- var AnyRecord = z181.record(z181.any());
5653
+ import { z as z183 } from "zod";
5654
+ var AnyRecord = z183.record(z183.any());
5629
5655
  var NpmPackageVersionDist = AnyRecord.and(
5630
- z181.object({
5631
- tarball: z181.string()
5656
+ z183.object({
5657
+ tarball: z183.string()
5632
5658
  })
5633
5659
  );
5634
5660
  var NpmPackageVersion = AnyRecord.and(
5635
- z181.object({
5661
+ z183.object({
5636
5662
  dist: NpmPackageVersionDist
5637
5663
  })
5638
5664
  );
5639
5665
  var NpmPackage = AnyRecord.and(
5640
- z181.object({
5641
- _id: z181.string(),
5642
- name: z181.string(),
5666
+ z183.object({
5667
+ _id: z183.string(),
5668
+ name: z183.string(),
5643
5669
  // e.g. "latest": "1.2.3"
5644
- "dist-tags": z181.record(z181.string(), z181.string()),
5670
+ "dist-tags": z183.record(z183.string(), z183.string()),
5645
5671
  // "1.2.3": {...}
5646
- versions: z181.record(NpmPackageVersion)
5672
+ versions: z183.record(NpmPackageVersion)
5647
5673
  })
5648
5674
  );
5649
5675
 
5650
5676
  // src/npm/npm-proxy-token-payload.ts
5651
- import { z as z182 } from "zod";
5652
- var NpmProxyTokenPayload = z182.object({
5653
- npmProxyRegistryConfigId: z182.string()
5677
+ import { z as z184 } from "zod";
5678
+ var NpmProxyTokenPayload = z184.object({
5679
+ npmProxyRegistryConfigId: z184.string()
5654
5680
  });
5655
5681
 
5656
5682
  // src/tokens/personal-access-token.ts
5657
- import { z as z183 } from "zod";
5658
- var PersonalAccessToken = z183.object({
5659
- id: z183.string(),
5660
- userId: z183.string(),
5661
- workspaceId: z183.string().optional(),
5662
- designSystemId: z183.string().optional(),
5683
+ import { z as z185 } from "zod";
5684
+ var PersonalAccessToken = z185.object({
5685
+ id: z185.string(),
5686
+ userId: z185.string(),
5687
+ workspaceId: z185.string().optional(),
5688
+ designSystemId: z185.string().optional(),
5663
5689
  workspaceRole: WorkspaceRoleSchema.optional(),
5664
- name: z183.string(),
5665
- hidden: z183.boolean(),
5666
- token: z183.string(),
5667
- scope: z183.string().optional(),
5668
- createdAt: z183.coerce.date(),
5669
- expireAt: z183.coerce.date().optional()
5690
+ name: z185.string(),
5691
+ hidden: z185.boolean(),
5692
+ token: z185.string(),
5693
+ scope: z185.string().optional(),
5694
+ createdAt: z185.coerce.date(),
5695
+ expireAt: z185.coerce.date().optional()
5670
5696
  });
5671
5697
  export {
5672
5698
  Address,
@@ -5941,6 +5967,9 @@ export {
5941
5967
  FigmaNodeRenderState,
5942
5968
  FigmaNodeRenderedImage,
5943
5969
  FigmaNodeRendererPayload,
5970
+ FigmaNodeStructureDataV2,
5971
+ FigmaNodeStructureStateV2,
5972
+ FigmaNodeStructureV2,
5944
5973
  FigmaPngRenderImportModel,
5945
5974
  FigmaRenderFormat,
5946
5975
  FigmaRenderImportModel,