@supernova-studio/model 0.36.0 → 0.38.0

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
@@ -187,7 +187,7 @@ var PriceSchema = z9.object({
187
187
 
188
188
  // src/billing/product.ts
189
189
  import { z as z10 } from "zod";
190
- var ProductCodeSchema = z10.enum(["free", "team", "team_test", "company", "enterprise"]);
190
+ var ProductCodeSchema = z10.enum(["free", "team", "company", "enterprise"]);
191
191
  var ProductCode = ProductCodeSchema.enum;
192
192
 
193
193
  // src/billing/subscription.ts
@@ -596,7 +596,7 @@ var HierarchicalElements = DesignTokenType.or(
596
596
 
597
597
  // src/dsm/properties/property-definition.ts
598
598
  import { z as z30 } from "zod";
599
- var ElementPropertyType = z30.enum(["Text", "Number", "Boolean", "Select", "Generic", "Link", "URL"]);
599
+ var ElementPropertyTypeSchema = z30.enum(["Text", "Number", "Boolean", "Select", "Generic", "Link", "URL"]);
600
600
  var ElementPropertyTargetType = z30.enum(["Token", "Component", "DocumentationPage"]);
601
601
  var ElementPropertyLinkType = z30.enum(["FigmaComponent", "DocumentationPage"]);
602
602
  var ColorTokenInlineData = z30.object({
@@ -614,11 +614,12 @@ var ElementPropertyDefinition = z30.object({
614
614
  name: z30.string(),
615
615
  codeName: z30.string(),
616
616
  description: z30.string(),
617
- type: ElementPropertyType,
617
+ type: ElementPropertyTypeSchema,
618
618
  targetElementType: ElementPropertyTargetType,
619
- options: z30.array(ElementPropertyDefinitionOption).nullish(),
620
- linkElementType: ElementPropertyLinkType.nullish()
619
+ options: z30.array(ElementPropertyDefinitionOption).optional(),
620
+ linkElementType: ElementPropertyLinkType.optional()
621
621
  });
622
+ var ElementPropertyType = ElementPropertyTypeSchema.enum;
622
623
 
623
624
  // src/dsm/properties/property-value.ts
624
625
  import { z as z31 } from "zod";
@@ -631,7 +632,7 @@ var ElementPropertyValue = z31.object({
631
632
  numberValue: z31.number().nullish(),
632
633
  booleanValue: z31.boolean().nullish(),
633
634
  referenceValue: z31.string().nullish(),
634
- referenceValuePreview: z31.string().nullish()
635
+ referenceValuePreview: z31.string().optional()
635
636
  });
636
637
 
637
638
  // src/dsm/elements/primitives/point.ts
@@ -975,10 +976,10 @@ var PageBlockItemAssetValue = z35.object({
975
976
  entityType: z35.enum(["Asset", "AssetGroup"]),
976
977
  entityMeta: PageBlockAssetEntityMeta.optional()
977
978
  })
978
- )
979
+ ).default([])
979
980
  });
980
981
  var PageBlockItemAssetPropertyValue = z35.object({
981
- value: z35.array(z35.string())
982
+ value: z35.array(z35.string()).default([])
982
983
  });
983
984
  var PageBlockItemBooleanValue = z35.object({
984
985
  value: z35.boolean()
@@ -1004,7 +1005,7 @@ var PageBlockItemComponentValue = z35.object({
1004
1005
  entityId: z35.string(),
1005
1006
  entityType: z35.enum(["Component", "ComponentGroup"])
1006
1007
  })
1007
- )
1008
+ ).default([])
1008
1009
  });
1009
1010
  var PageBlockItemComponentPropertyValue = z35.object({
1010
1011
  value: z35.string()
@@ -1030,7 +1031,7 @@ var PageBlockItemFigmaNodeValue = z35.object({
1030
1031
  entityId: z35.string(),
1031
1032
  entityMeta: PageBlockFigmaNodeEntityMeta.optional()
1032
1033
  })
1033
- )
1034
+ ).default([])
1034
1035
  });
1035
1036
  var PageBlockItemImageValue = z35.object({
1036
1037
  alt: z35.string().optional(),
@@ -1045,7 +1046,7 @@ var PageBlockItemMultiRichTextValue = z35.object({
1045
1046
  value: PageBlockText.array()
1046
1047
  });
1047
1048
  var PageBlockItemMultiSelectValue = z35.object({
1048
- value: z35.array(z35.string())
1049
+ value: z35.array(z35.string()).default([])
1049
1050
  });
1050
1051
  var PageBlockItemNumberValue = z35.object({
1051
1052
  value: z35.number()
@@ -1078,15 +1079,15 @@ var PageBlockItemTokenValue = z35.object({
1078
1079
  showNestedGroups: z35.boolean().optional()
1079
1080
  }).optional()
1080
1081
  })
1081
- )
1082
+ ).default([])
1082
1083
  });
1083
1084
  var PageBlockItemTokenPropertyValue = z35.object({
1084
1085
  selectedPropertyIds: z35.array(z35.string()).optional(),
1085
1086
  selectedThemeIds: z35.array(z35.string()).optional(),
1086
- value: z35.array(z35.string())
1087
+ value: z35.array(z35.string()).default([])
1087
1088
  });
1088
1089
  var PageBlockItemTokenTypeValue = z35.object({
1089
- value: z35.array(DesignTokenType)
1090
+ value: z35.array(DesignTokenType).default([])
1090
1091
  });
1091
1092
  var PageBlockItemUrlValue = z35.object({
1092
1093
  value: z35.string()
@@ -1124,7 +1125,7 @@ var PageBlockItemTableValue = z35.object({
1124
1125
  highlightHeaderColumn: z35.boolean().optional(),
1125
1126
  highlightHeaderRow: z35.boolean().optional(),
1126
1127
  showBorder: z35.boolean().optional(),
1127
- value: z35.array(PageBlockItemTableRow)
1128
+ value: z35.array(PageBlockItemTableRow).default([])
1128
1129
  });
1129
1130
 
1130
1131
  // src/dsm/elements/data/documentation-page-v1.ts
@@ -1408,6 +1409,10 @@ var GradientTokenData = tokenAliasOrValue(GradientTokenValue);
1408
1409
  // src/dsm/elements/data/group.ts
1409
1410
  import { z as z53 } from "zod";
1410
1411
  var DocumentationGroupBehavior = z53.enum(["Group", "Tabs"]);
1412
+ var ElementGroupDataV1 = z53.object({
1413
+ behavior: nullishToOptional(DocumentationGroupBehavior.optional()),
1414
+ configuration: nullishToOptional(DocumentationItemConfigurationV1)
1415
+ });
1411
1416
  var ElementGroupDataV2 = z53.object({
1412
1417
  behavior: nullishToOptional(DocumentationGroupBehavior.optional()),
1413
1418
  configuration: nullishToOptional(DocumentationItemConfigurationV2)
@@ -1475,7 +1480,7 @@ var ShadowLayerValue = z60.object({
1475
1480
  y: z60.number(),
1476
1481
  radius: z60.number(),
1477
1482
  spread: z60.number(),
1478
- opacity: OpacityTokenData,
1483
+ opacity: OpacityTokenData.optional(),
1479
1484
  type: ShadowType
1480
1485
  });
1481
1486
  var ShadowTokenDataBase = tokenAliasOrValue(ShadowLayerValue);
@@ -1569,28 +1574,44 @@ function isImportedComponent(component) {
1569
1574
  }
1570
1575
 
1571
1576
  // src/dsm/elements/documentation-page-v1.ts
1577
+ import { z as z71 } from "zod";
1578
+
1579
+ // src/dsm/elements/group.ts
1572
1580
  import { z as z70 } from "zod";
1581
+ var ElementGroup = DesignElementBase.extend(DesignElementGroupablePart.shape).extend(DesignElementSlugPart.shape).extend(DesignElementBrandedPart.partial().shape).extend({
1582
+ shortPersistentId: z70.string().optional(),
1583
+ childType: DesignElementType,
1584
+ data: ElementGroupDataV2.optional()
1585
+ });
1586
+ var BrandedElementGroup = ElementGroup.extend(DesignElementBrandedPart.shape);
1587
+
1588
+ // src/dsm/elements/documentation-page-v1.ts
1573
1589
  var DocumentationPageV1 = DesignElementBase.extend(DesignElementGroupableRequiredPart.shape).extend(DesignElementSlugPart.shape).extend({
1574
- shortPersistentId: z70.string(),
1590
+ shortPersistentId: z71.string(),
1575
1591
  data: DocumentationPageDataV1
1576
1592
  });
1593
+ var DocumentationGroupV1 = ElementGroup.omit({
1594
+ data: true
1595
+ }).extend({
1596
+ data: ElementGroupDataV1.optional()
1597
+ });
1577
1598
 
1578
1599
  // src/dsm/elements/documentation-page-v2.ts
1579
- import { z as z71 } from "zod";
1600
+ import { z as z72 } from "zod";
1580
1601
  var DocumentationPageV2 = DesignElementBase.extend(DesignElementGroupableRequiredPart.shape).extend(DesignElementSlugPart.shape).extend({
1581
- shortPersistentId: z71.string(),
1602
+ shortPersistentId: z72.string(),
1582
1603
  data: DocumentationPageDataV2.extend({
1583
- oldBlocks: z71.array(PageBlockV1).optional()
1604
+ oldBlocks: z72.array(PageBlockV1).optional()
1584
1605
  })
1585
1606
  });
1586
1607
 
1587
1608
  // src/dsm/elements/figma-file-structures.ts
1588
- import { z as z72 } from "zod";
1589
- var FigmaFileStructureOrigin = z72.object({
1590
- sourceId: z72.string(),
1591
- fileId: z72.string().optional()
1609
+ import { z as z73 } from "zod";
1610
+ var FigmaFileStructureOrigin = z73.object({
1611
+ sourceId: z73.string(),
1612
+ fileId: z73.string().optional()
1592
1613
  });
1593
- var FigmaFileStructureData = z72.object({
1614
+ var FigmaFileStructureData = z73.object({
1594
1615
  rootNode: FigmaFileStructureNode,
1595
1616
  assetsInFile: FigmaFileStructureStatistics
1596
1617
  });
@@ -1606,24 +1627,15 @@ function traverseStructure(node, action) {
1606
1627
  }
1607
1628
 
1608
1629
  // src/dsm/elements/figma-node-reference.ts
1609
- import { z as z73 } from "zod";
1610
- var FigmaNodeReferenceOrigin = z73.object({
1611
- sourceId: z73.string()
1630
+ import { z as z74 } from "zod";
1631
+ var FigmaNodeReferenceOrigin = z74.object({
1632
+ sourceId: z74.string()
1612
1633
  });
1613
1634
  var FigmaNodeReference = DesignElementBase.extend({
1614
1635
  data: FigmaNodeReferenceData,
1615
1636
  origin: FigmaNodeReferenceOrigin
1616
1637
  });
1617
1638
 
1618
- // src/dsm/elements/group.ts
1619
- import { z as z74 } from "zod";
1620
- var ElementGroup = DesignElementBase.extend(DesignElementGroupablePart.shape).extend(DesignElementSlugPart.shape).extend(DesignElementBrandedPart.partial().shape).extend({
1621
- shortPersistentId: z74.string().optional(),
1622
- childType: DesignElementType,
1623
- data: ElementGroupDataV2.optional()
1624
- });
1625
- var BrandedElementGroup = ElementGroup.extend(DesignElementBrandedPart.shape);
1626
-
1627
1639
  // src/dsm/elements/theme.ts
1628
1640
  import { z as z76 } from "zod";
1629
1641
 
@@ -1932,7 +1944,8 @@ var FigmaImportBaseContext = z78.object({
1932
1944
  importedSourceDataBySourceId: z78.record(ImportedFigmaSourceData)
1933
1945
  });
1934
1946
  var FigmaImportContextWithSourcesState = FigmaImportBaseContext.extend({
1935
- sourcesWithMissingAccess: z78.array(z78.string()).default([])
1947
+ sourcesWithMissingAccess: z78.array(z78.string()).default([]),
1948
+ shadowOpacityOptional: z78.boolean().default(false)
1936
1949
  });
1937
1950
  var ChangedImportedFigmaSourceData = ImportedFigmaSourceData.extend({
1938
1951
  importMetadata: DataSourceFigmaImportMetadata
@@ -2522,11 +2535,17 @@ var DesignSystemVersionRoom = Entity.extend({
2522
2535
  designSystemVersionId: z98.string(),
2523
2536
  liveblocksId: z98.string()
2524
2537
  });
2538
+ var DesignSystemVersionRoomInternalSettings = z98.object({
2539
+ routingVersion: z98.string()
2540
+ });
2525
2541
  var DesignSystemVersionRoomInitialState = z98.object({
2526
2542
  pages: z98.array(DocumentationPageV2),
2527
- groups: z98.array(ElementGroup)
2543
+ groups: z98.array(ElementGroup),
2544
+ internalSettings: DesignSystemVersionRoomInternalSettings
2528
2545
  });
2529
- var DesignSystemVersionRoomUpdate = DesignSystemVersionRoomInitialState.extend({
2546
+ var DesignSystemVersionRoomUpdate = z98.object({
2547
+ pages: z98.array(DocumentationPageV2),
2548
+ groups: z98.array(ElementGroup),
2530
2549
  deletedPageIds: z98.array(z98.string()),
2531
2550
  deletedGroupIds: z98.array(z98.string())
2532
2551
  });
@@ -2562,127 +2581,182 @@ var RoomTypeEnum = /* @__PURE__ */ ((RoomTypeEnum2) => {
2562
2581
  var RoomTypeSchema = z100.nativeEnum(RoomTypeEnum);
2563
2582
  var RoomType = RoomTypeSchema.enum;
2564
2583
 
2584
+ // src/dsm/views/column.ts
2585
+ import { z as z101 } from "zod";
2586
+ var ElementViewBaseColumnType = z101.enum(["Name", "Description", "Value", "UpdatedAt"]);
2587
+ var ElementViewColumnType = z101.union([
2588
+ z101.literal("BaseProperty"),
2589
+ z101.literal("PropertyDefinition"),
2590
+ z101.literal("Theme")
2591
+ ]);
2592
+ var ElementViewColumnSharedAttributes = z101.object({
2593
+ id: z101.string(),
2594
+ persistentId: z101.string(),
2595
+ elementDataViewId: z101.string(),
2596
+ sortPosition: z101.number(),
2597
+ width: z101.number()
2598
+ });
2599
+ var ElementViewBasePropertyColumn = ElementViewColumnSharedAttributes.extend({
2600
+ type: z101.literal("BaseProperty"),
2601
+ basePropertyType: ElementViewBaseColumnType
2602
+ });
2603
+ var ElementViewPropertyDefinitionColumn = ElementViewColumnSharedAttributes.extend({
2604
+ type: z101.literal("PropertyDefinition"),
2605
+ propertyDefinitionId: z101.string()
2606
+ });
2607
+ var ElementViewThemeColumn = ElementViewColumnSharedAttributes.extend({
2608
+ type: z101.literal("Theme"),
2609
+ themeId: z101.string()
2610
+ });
2611
+ var ElementViewColumn = z101.discriminatedUnion("type", [
2612
+ ElementViewBasePropertyColumn,
2613
+ ElementViewPropertyDefinitionColumn,
2614
+ ElementViewThemeColumn
2615
+ ]);
2616
+
2617
+ // src/dsm/views/view.ts
2618
+ import { z as z102 } from "zod";
2619
+ var ElementView = z102.object({
2620
+ id: z102.string(),
2621
+ persistentId: z102.string(),
2622
+ designSystemVersionId: z102.string(),
2623
+ name: z102.string(),
2624
+ description: z102.string(),
2625
+ targetElementType: ElementPropertyTargetType,
2626
+ isDefault: z102.boolean()
2627
+ });
2628
+
2629
+ // src/dsm/brand.ts
2630
+ import { z as z103 } from "zod";
2631
+ var Brand = z103.object({
2632
+ id: z103.string(),
2633
+ designSystemVersionId: z103.string(),
2634
+ persistentId: z103.string(),
2635
+ name: z103.string(),
2636
+ description: z103.string()
2637
+ });
2638
+
2565
2639
  // src/dsm/design-system.ts
2566
- import { z as z110 } from "zod";
2640
+ import { z as z113 } from "zod";
2567
2641
 
2568
2642
  // src/workspace/npm-registry-settings.ts
2569
- import { z as z101 } from "zod";
2570
- var NpmRegistryAuthType = z101.enum(["Basic", "Bearer", "None", "Custom"]);
2571
- var NpmRegistryType = z101.enum(["NPMJS", "GitHub", "AzureDevOps", "Artifactory", "Custom"]);
2572
- var NpmRegistryBasicAuthConfig = z101.object({
2573
- authType: z101.literal(NpmRegistryAuthType.Enum.Basic),
2574
- username: z101.string(),
2575
- password: z101.string()
2576
- });
2577
- var NpmRegistryBearerAuthConfig = z101.object({
2578
- authType: z101.literal(NpmRegistryAuthType.Enum.Bearer),
2579
- accessToken: z101.string()
2580
- });
2581
- var NpmRegistryNoAuthConfig = z101.object({
2582
- authType: z101.literal(NpmRegistryAuthType.Enum.None)
2583
- });
2584
- var NpmRegistrCustomAuthConfig = z101.object({
2585
- authType: z101.literal(NpmRegistryAuthType.Enum.Custom),
2586
- authHeaderName: z101.string(),
2587
- authHeaderValue: z101.string()
2588
- });
2589
- var NpmRegistryAuthConfig = z101.discriminatedUnion("authType", [
2643
+ import { z as z104 } from "zod";
2644
+ var NpmRegistryAuthType = z104.enum(["Basic", "Bearer", "None", "Custom"]);
2645
+ var NpmRegistryType = z104.enum(["NPMJS", "GitHub", "AzureDevOps", "Artifactory", "Custom"]);
2646
+ var NpmRegistryBasicAuthConfig = z104.object({
2647
+ authType: z104.literal(NpmRegistryAuthType.Enum.Basic),
2648
+ username: z104.string(),
2649
+ password: z104.string()
2650
+ });
2651
+ var NpmRegistryBearerAuthConfig = z104.object({
2652
+ authType: z104.literal(NpmRegistryAuthType.Enum.Bearer),
2653
+ accessToken: z104.string()
2654
+ });
2655
+ var NpmRegistryNoAuthConfig = z104.object({
2656
+ authType: z104.literal(NpmRegistryAuthType.Enum.None)
2657
+ });
2658
+ var NpmRegistrCustomAuthConfig = z104.object({
2659
+ authType: z104.literal(NpmRegistryAuthType.Enum.Custom),
2660
+ authHeaderName: z104.string(),
2661
+ authHeaderValue: z104.string()
2662
+ });
2663
+ var NpmRegistryAuthConfig = z104.discriminatedUnion("authType", [
2590
2664
  NpmRegistryBasicAuthConfig,
2591
2665
  NpmRegistryBearerAuthConfig,
2592
2666
  NpmRegistryNoAuthConfig,
2593
2667
  NpmRegistrCustomAuthConfig
2594
2668
  ]);
2595
- var NpmRegistryConfigBase = z101.object({
2669
+ var NpmRegistryConfigBase = z104.object({
2596
2670
  registryType: NpmRegistryType,
2597
- enabledScopes: z101.array(z101.string()),
2598
- customRegistryUrl: z101.string().optional(),
2599
- bypassProxy: z101.boolean().default(false),
2600
- npmProxyRegistryConfigId: z101.string().optional(),
2601
- npmProxyVersion: z101.number().optional()
2671
+ enabledScopes: z104.array(z104.string()),
2672
+ customRegistryUrl: z104.string().optional(),
2673
+ bypassProxy: z104.boolean().default(false),
2674
+ npmProxyRegistryConfigId: z104.string().optional(),
2675
+ npmProxyVersion: z104.number().optional()
2602
2676
  });
2603
2677
  var NpmRegistryConfig = NpmRegistryConfigBase.and(NpmRegistryAuthConfig);
2604
2678
 
2605
2679
  // src/workspace/sso-provider.ts
2606
- import { z as z102 } from "zod";
2607
- var SsoProvider = z102.object({
2608
- providerId: z102.string(),
2609
- defaultAutoInviteValue: z102.boolean(),
2610
- autoInviteDomains: z102.record(z102.string(), z102.boolean()),
2611
- skipDocsSupernovaLogin: z102.boolean(),
2612
- areInvitesDisabled: z102.boolean(),
2613
- isTestMode: z102.boolean(),
2614
- emailDomains: z102.array(z102.string()),
2615
- metadataXml: z102.string().nullish()
2680
+ import { z as z105 } from "zod";
2681
+ var SsoProvider = z105.object({
2682
+ providerId: z105.string(),
2683
+ defaultAutoInviteValue: z105.boolean(),
2684
+ autoInviteDomains: z105.record(z105.string(), z105.boolean()),
2685
+ skipDocsSupernovaLogin: z105.boolean(),
2686
+ areInvitesDisabled: z105.boolean(),
2687
+ isTestMode: z105.boolean(),
2688
+ emailDomains: z105.array(z105.string()),
2689
+ metadataXml: z105.string().nullish()
2616
2690
  });
2617
2691
 
2618
2692
  // src/workspace/user-invite.ts
2619
- import { z as z104 } from "zod";
2693
+ import { z as z107 } from "zod";
2620
2694
 
2621
2695
  // src/workspace/workspace-role.ts
2622
- import { z as z103 } from "zod";
2623
- var WorkspaceRoleSchema = z103.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest"]);
2696
+ import { z as z106 } from "zod";
2697
+ var WorkspaceRoleSchema = z106.enum(["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest"]);
2624
2698
  var WorkspaceRole = WorkspaceRoleSchema.enum;
2625
2699
 
2626
2700
  // src/workspace/user-invite.ts
2627
2701
  var MAX_MEMBERS_COUNT = 100;
2628
- var UserInvite = z104.object({
2629
- email: z104.string().email().trim().transform((value) => value.toLowerCase()),
2702
+ var UserInvite = z107.object({
2703
+ email: z107.string().email().trim().transform((value) => value.toLowerCase()),
2630
2704
  role: WorkspaceRoleSchema
2631
2705
  });
2632
- var UserInvites = z104.array(UserInvite).max(MAX_MEMBERS_COUNT);
2706
+ var UserInvites = z107.array(UserInvite).max(MAX_MEMBERS_COUNT);
2633
2707
 
2634
2708
  // src/workspace/workspace-context.ts
2635
- import { z as z106 } from "zod";
2709
+ import { z as z109 } from "zod";
2636
2710
 
2637
2711
  // src/workspace/workspace.ts
2638
- import { z as z105 } from "zod";
2712
+ import { z as z108 } from "zod";
2639
2713
  import IPCIDR from "ip-cidr";
2640
2714
  var isValidCIDR = (value) => {
2641
2715
  return IPCIDR.isValidAddress(value);
2642
2716
  };
2643
- var WorkspaceIpWhitelistEntry = z105.object({
2644
- isEnabled: z105.boolean(),
2645
- name: z105.string(),
2646
- range: z105.string().refine(isValidCIDR, {
2717
+ var WorkspaceIpWhitelistEntry = z108.object({
2718
+ isEnabled: z108.boolean(),
2719
+ name: z108.string(),
2720
+ range: z108.string().refine(isValidCIDR, {
2647
2721
  message: "Invalid IP CIDR"
2648
2722
  })
2649
2723
  });
2650
- var WorkspaceIpSettings = z105.object({
2651
- isEnabledForCloud: z105.boolean(),
2652
- isEnabledForDocs: z105.boolean(),
2653
- entries: z105.array(WorkspaceIpWhitelistEntry)
2724
+ var WorkspaceIpSettings = z108.object({
2725
+ isEnabledForCloud: z108.boolean(),
2726
+ isEnabledForDocs: z108.boolean(),
2727
+ entries: z108.array(WorkspaceIpWhitelistEntry)
2654
2728
  });
2655
- var WorkspaceProfile = z105.object({
2656
- name: z105.string(),
2657
- handle: z105.string(),
2658
- color: z105.string(),
2659
- avatar: nullishToOptional(z105.string()),
2729
+ var WorkspaceProfile = z108.object({
2730
+ name: z108.string(),
2731
+ handle: z108.string(),
2732
+ color: z108.string(),
2733
+ avatar: nullishToOptional(z108.string()),
2660
2734
  billingDetails: nullishToOptional(BillingDetails)
2661
2735
  });
2662
- var Workspace = z105.object({
2663
- id: z105.string(),
2736
+ var Workspace = z108.object({
2737
+ id: z108.string(),
2664
2738
  profile: WorkspaceProfile,
2665
2739
  subscription: Subscription,
2666
2740
  ipWhitelist: nullishToOptional(WorkspaceIpSettings),
2667
2741
  sso: nullishToOptional(SsoProvider),
2668
2742
  npmRegistrySettings: nullishToOptional(NpmRegistryConfig),
2669
- designSystems: z105.array(DesignSystem).nullish()
2743
+ designSystems: z108.array(DesignSystem).nullish()
2670
2744
  });
2671
- var WorkspaceWithDesignSystems = z105.object({
2745
+ var WorkspaceWithDesignSystems = z108.object({
2672
2746
  workspace: Workspace,
2673
- designSystems: z105.array(DesignSystem)
2747
+ designSystems: z108.array(DesignSystem)
2674
2748
  });
2675
2749
 
2676
2750
  // src/workspace/workspace-context.ts
2677
- var WorkspaceContext = z106.object({
2678
- workspaceId: z106.string(),
2751
+ var WorkspaceContext = z109.object({
2752
+ workspaceId: z109.string(),
2679
2753
  product: ProductCodeSchema,
2680
2754
  ipWhitelist: nullishToOptional(WorkspaceIpSettings),
2681
- publicDesignSystem: z106.boolean().optional()
2755
+ publicDesignSystem: z109.boolean().optional()
2682
2756
  });
2683
2757
 
2684
2758
  // src/workspace/workspace-create.ts
2685
- import { z as z107 } from "zod";
2759
+ import { z as z110 } from "zod";
2686
2760
 
2687
2761
  // src/utils/validation.ts
2688
2762
  var slugRegex = /^[a-z0-9][a-z0-9-]*[a-z0-9]$/;
@@ -2692,18 +2766,18 @@ var WORKSPACE_NAME_MIN_LENGTH = 2;
2692
2766
  var WORKSPACE_NAME_MAX_LENGTH = 64;
2693
2767
  var HANDLE_MIN_LENGTH = 2;
2694
2768
  var HANDLE_MAX_LENGTH = 64;
2695
- var CreateWorkspaceInput = z107.object({
2696
- name: z107.string().min(WORKSPACE_NAME_MIN_LENGTH).max(WORKSPACE_NAME_MAX_LENGTH).trim(),
2769
+ var CreateWorkspaceInput = z110.object({
2770
+ name: z110.string().min(WORKSPACE_NAME_MIN_LENGTH).max(WORKSPACE_NAME_MAX_LENGTH).trim(),
2697
2771
  product: ProductCodeSchema,
2698
- priceId: z107.string(),
2699
- billingEmail: z107.string().email().optional(),
2700
- handle: z107.string().regex(slugRegex).min(HANDLE_MIN_LENGTH).max(HANDLE_MAX_LENGTH).refine((value) => value?.length > 0).optional(),
2772
+ priceId: z110.string(),
2773
+ billingEmail: z110.string().email().optional(),
2774
+ handle: z110.string().regex(slugRegex).min(HANDLE_MIN_LENGTH).max(HANDLE_MAX_LENGTH).refine((value) => value?.length > 0).optional(),
2701
2775
  invites: UserInvites.optional(),
2702
- promoCode: z107.string().optional(),
2776
+ promoCode: z110.string().optional(),
2703
2777
  status: InternalStatusSchema.optional(),
2704
2778
  planInterval: BillingIntervalSchema.optional(),
2705
- seats: z107.number().optional(),
2706
- seatLimit: z107.number().optional(),
2779
+ seats: z110.number().optional(),
2780
+ seatLimit: z110.number().optional(),
2707
2781
  card: CardSchema.optional(),
2708
2782
  sso: SsoProvider.optional(),
2709
2783
  npmRegistrySettings: NpmRegistryConfig.optional(),
@@ -2711,100 +2785,100 @@ var CreateWorkspaceInput = z107.object({
2711
2785
  });
2712
2786
 
2713
2787
  // src/workspace/workspace-invitations.ts
2714
- import { z as z108 } from "zod";
2715
- var WorkspaceInvitation = z108.object({
2716
- id: z108.string(),
2717
- email: z108.string().email(),
2718
- createdAt: z108.coerce.date(),
2719
- resentAt: z108.coerce.date().nullish(),
2720
- role: z108.nativeEnum(WorkspaceRole),
2721
- workspaceId: z108.string(),
2722
- invitedBy: z108.string()
2788
+ import { z as z111 } from "zod";
2789
+ var WorkspaceInvitation = z111.object({
2790
+ id: z111.string(),
2791
+ email: z111.string().email(),
2792
+ createdAt: z111.coerce.date(),
2793
+ resentAt: z111.coerce.date().nullish(),
2794
+ role: z111.nativeEnum(WorkspaceRole),
2795
+ workspaceId: z111.string(),
2796
+ invitedBy: z111.string()
2723
2797
  });
2724
2798
 
2725
2799
  // src/workspace/workspace-membership.ts
2726
- import { z as z109 } from "zod";
2727
- var WorkspaceMembership = z109.object({
2728
- id: z109.string(),
2729
- userId: z109.string(),
2730
- workspaceId: z109.string(),
2731
- workspaceRole: z109.nativeEnum(WorkspaceRole)
2732
- });
2733
- var UpdateMembershipRolesInput = z109.object({
2734
- members: z109.array(
2735
- z109.object({
2736
- userId: z109.string(),
2737
- role: z109.nativeEnum(WorkspaceRole)
2800
+ import { z as z112 } from "zod";
2801
+ var WorkspaceMembership = z112.object({
2802
+ id: z112.string(),
2803
+ userId: z112.string(),
2804
+ workspaceId: z112.string(),
2805
+ workspaceRole: z112.nativeEnum(WorkspaceRole)
2806
+ });
2807
+ var UpdateMembershipRolesInput = z112.object({
2808
+ members: z112.array(
2809
+ z112.object({
2810
+ userId: z112.string(),
2811
+ role: z112.nativeEnum(WorkspaceRole)
2738
2812
  })
2739
2813
  )
2740
2814
  });
2741
2815
 
2742
2816
  // src/dsm/design-system.ts
2743
- var DesignSystemSwitcher = z110.object({
2744
- isEnabled: z110.boolean(),
2745
- designSystemIds: z110.array(z110.string())
2746
- });
2747
- var DesignSystem = z110.object({
2748
- id: z110.string(),
2749
- workspaceId: z110.string(),
2750
- name: z110.string(),
2751
- description: z110.string(),
2752
- docExporterId: nullishToOptional(z110.string()),
2753
- docSlug: z110.string(),
2754
- docUserSlug: nullishToOptional(z110.string()),
2755
- docSlugDeprecated: z110.string(),
2756
- isPublic: z110.boolean(),
2757
- isMultibrand: z110.boolean(),
2758
- docViewUrl: nullishToOptional(z110.string()),
2759
- basePrefixes: z110.array(z110.string()),
2817
+ var DesignSystemSwitcher = z113.object({
2818
+ isEnabled: z113.boolean(),
2819
+ designSystemIds: z113.array(z113.string())
2820
+ });
2821
+ var DesignSystem = z113.object({
2822
+ id: z113.string(),
2823
+ workspaceId: z113.string(),
2824
+ name: z113.string(),
2825
+ description: z113.string(),
2826
+ docExporterId: nullishToOptional(z113.string()),
2827
+ docSlug: z113.string(),
2828
+ docUserSlug: nullishToOptional(z113.string()),
2829
+ docSlugDeprecated: z113.string(),
2830
+ isPublic: z113.boolean(),
2831
+ isMultibrand: z113.boolean(),
2832
+ docViewUrl: nullishToOptional(z113.string()),
2833
+ basePrefixes: z113.array(z113.string()),
2760
2834
  designSystemSwitcher: nullishToOptional(DesignSystemSwitcher),
2761
- createdAt: z110.coerce.date(),
2762
- updatedAt: z110.coerce.date()
2835
+ createdAt: z113.coerce.date(),
2836
+ updatedAt: z113.coerce.date()
2763
2837
  });
2764
- var DesignSystemWithWorkspace = z110.object({
2838
+ var DesignSystemWithWorkspace = z113.object({
2765
2839
  designSystem: DesignSystem,
2766
2840
  workspace: Workspace
2767
2841
  });
2768
2842
 
2769
2843
  // src/dsm/desing-system-create.ts
2770
- import { z as z111 } from "zod";
2844
+ import { z as z114 } from "zod";
2771
2845
  var DS_NAME_MIN_LENGTH = 2;
2772
2846
  var DS_NAME_MAX_LENGTH = 64;
2773
2847
  var DS_DESC_MIN_LENGTH = 2;
2774
2848
  var DS_DESC_MAX_LENGTH = 64;
2775
- var DesignSystemCreateInputMetadata = z111.object({
2776
- name: z111.string().min(DS_NAME_MIN_LENGTH).max(DS_NAME_MAX_LENGTH).trim(),
2777
- description: z111.string().min(DS_DESC_MIN_LENGTH).max(DS_DESC_MAX_LENGTH).trim()
2849
+ var DesignSystemCreateInputMetadata = z114.object({
2850
+ name: z114.string().min(DS_NAME_MIN_LENGTH).max(DS_NAME_MAX_LENGTH).trim(),
2851
+ description: z114.string().min(DS_DESC_MIN_LENGTH).max(DS_DESC_MAX_LENGTH).trim()
2778
2852
  });
2779
- var DesignSystemCreateInput = z111.object({
2853
+ var DesignSystemCreateInput = z114.object({
2780
2854
  meta: DesignSystemCreateInputMetadata,
2781
- workspaceId: z111.string(),
2782
- isPublic: z111.boolean().optional(),
2783
- basePrefixes: z111.array(z111.string()).optional(),
2784
- docUserSlug: z111.string().nullish().optional(),
2785
- source: z111.array(z111.string()).optional()
2855
+ workspaceId: z114.string(),
2856
+ isPublic: z114.boolean().optional(),
2857
+ basePrefixes: z114.array(z114.string()).optional(),
2858
+ docUserSlug: z114.string().nullish().optional(),
2859
+ source: z114.array(z114.string()).optional()
2786
2860
  });
2787
2861
 
2788
2862
  // src/dsm/desing-system-update.ts
2789
- import { z as z112 } from "zod";
2863
+ import { z as z115 } from "zod";
2790
2864
  var DS_NAME_MIN_LENGTH2 = 2;
2791
2865
  var DS_NAME_MAX_LENGTH2 = 64;
2792
2866
  var DS_DESC_MIN_LENGTH2 = 2;
2793
2867
  var DS_DESC_MAX_LENGTH2 = 64;
2794
- var DesignSystemUpdateInputMetadata = z112.object({
2795
- name: z112.string().min(DS_NAME_MIN_LENGTH2).max(DS_NAME_MAX_LENGTH2).trim().optional(),
2796
- description: z112.string().min(DS_DESC_MIN_LENGTH2).max(DS_DESC_MAX_LENGTH2).trim().optional()
2868
+ var DesignSystemUpdateInputMetadata = z115.object({
2869
+ name: z115.string().min(DS_NAME_MIN_LENGTH2).max(DS_NAME_MAX_LENGTH2).trim().optional(),
2870
+ description: z115.string().min(DS_DESC_MIN_LENGTH2).max(DS_DESC_MAX_LENGTH2).trim().optional()
2797
2871
  });
2798
- var DesignSystemUpdateInput = z112.object({
2872
+ var DesignSystemUpdateInput = z115.object({
2799
2873
  meta: DesignSystemUpdateInputMetadata.optional(),
2800
- workspaceId: z112.string().optional(),
2801
- isPublic: z112.boolean().optional(),
2802
- basePrefixes: z112.array(z112.string()).optional(),
2803
- docUserSlug: z112.string().nullish().optional(),
2804
- source: z112.array(z112.string()).optional(),
2805
- name: z112.string().min(DS_NAME_MIN_LENGTH2).max(DS_NAME_MAX_LENGTH2).trim().optional(),
2806
- description: z112.string().min(DS_DESC_MIN_LENGTH2).max(DS_DESC_MAX_LENGTH2).trim().optional(),
2807
- docExporterId: z112.string().optional()
2874
+ workspaceId: z115.string().optional(),
2875
+ isPublic: z115.boolean().optional(),
2876
+ basePrefixes: z115.array(z115.string()).optional(),
2877
+ docUserSlug: z115.string().nullish().optional(),
2878
+ source: z115.array(z115.string()).optional(),
2879
+ name: z115.string().min(DS_NAME_MIN_LENGTH2).max(DS_NAME_MAX_LENGTH2).trim().optional(),
2880
+ description: z115.string().min(DS_DESC_MIN_LENGTH2).max(DS_DESC_MAX_LENGTH2).trim().optional(),
2881
+ docExporterId: z115.string().optional()
2808
2882
  });
2809
2883
 
2810
2884
  // src/dsm/published-doc-page.ts
@@ -2816,54 +2890,68 @@ function tryParseShortPersistentId(url = "/") {
2816
2890
  }
2817
2891
 
2818
2892
  // src/dsm/published-doc.ts
2819
- import { z as z113 } from "zod";
2893
+ import { z as z116 } from "zod";
2820
2894
  var publishedDocEnvironments = ["Live", "Preview"];
2821
- var PublishedDocEnvironment = z113.enum(publishedDocEnvironments);
2822
- var PublishedDocsChecksums = z113.record(z113.string());
2823
- var PublishedDocRoutingVersion = z113.enum(["1", "2"]);
2824
- var PublishedDoc = z113.object({
2825
- id: z113.string(),
2826
- designSystemVersionId: z113.string(),
2827
- createdAt: z113.coerce.date(),
2828
- updatedAt: z113.coerce.date(),
2829
- lastPublishedAt: z113.coerce.date(),
2830
- isDefault: z113.boolean(),
2831
- isPublic: z113.boolean(),
2895
+ var PublishedDocEnvironment = z116.enum(publishedDocEnvironments);
2896
+ var PublishedDocsChecksums = z116.record(z116.string());
2897
+ var PublishedDocRoutingVersion = z116.enum(["1", "2"]);
2898
+ var PublishedDoc = z116.object({
2899
+ id: z116.string(),
2900
+ designSystemVersionId: z116.string(),
2901
+ createdAt: z116.coerce.date(),
2902
+ updatedAt: z116.coerce.date(),
2903
+ lastPublishedAt: z116.coerce.date(),
2904
+ isDefault: z116.boolean(),
2905
+ isPublic: z116.boolean(),
2832
2906
  environment: PublishedDocEnvironment,
2833
2907
  checksums: PublishedDocsChecksums,
2834
- storagePath: z113.string(),
2835
- wasMigrated: z113.boolean(),
2908
+ storagePath: z116.string(),
2909
+ wasMigrated: z116.boolean(),
2836
2910
  routingVersion: PublishedDocRoutingVersion,
2837
- usesLocalizations: z113.boolean(),
2838
- wasPublishedWithLocalizations: z113.boolean()
2911
+ usesLocalizations: z116.boolean(),
2912
+ wasPublishedWithLocalizations: z116.boolean()
2913
+ });
2914
+
2915
+ // src/dsm/version.ts
2916
+ import { z as z117 } from "zod";
2917
+ var DesignSystemVersion = z117.object({
2918
+ id: z117.string(),
2919
+ version: z117.string(),
2920
+ createdAt: z117.date(),
2921
+ designSystemId: z117.string(),
2922
+ name: z117.string(),
2923
+ comment: z117.string(),
2924
+ isReadonly: z117.boolean(),
2925
+ changeLog: z117.string(),
2926
+ parentId: z117.string().optional()
2839
2927
  });
2840
2928
 
2841
2929
  // src/codegen/export-jobs.ts
2842
- import { z as z114 } from "zod";
2843
- var ExporterJobDestination = z114.enum(["s3", "webhookUrl", "github", "documentation", "azure", "gitlab"]);
2844
- var ExporterJobStatus = z114.enum(["InProgress", "Success", "Failed", "Timeout"]);
2845
- var ExporterJobLogEntryType = z114.enum(["success", "info", "warning", "error", "user"]);
2846
- var ExporterJobLogEntry = z114.object({
2847
- id: z114.string().optional(),
2848
- time: z114.coerce.date(),
2930
+ import { z as z118 } from "zod";
2931
+ var ExporterJobDestination = z118.enum(["s3", "webhookUrl", "github", "documentation", "azure", "gitlab"]);
2932
+ var ExporterJobStatus = z118.enum(["InProgress", "Success", "Failed", "Timeout"]);
2933
+ var ExporterJobLogEntryType = z118.enum(["success", "info", "warning", "error", "user"]);
2934
+ var ExporterJobLogEntry = z118.object({
2935
+ id: z118.string().optional(),
2936
+ time: z118.coerce.date(),
2849
2937
  type: ExporterJobLogEntryType,
2850
- message: z114.string()
2938
+ message: z118.string()
2851
2939
  });
2852
- var ExporterJobResultPullRequestDestination = z114.object({
2853
- pullRequestUrl: z114.string()
2940
+ var ExporterJobResultPullRequestDestination = z118.object({
2941
+ pullRequestUrl: z118.string()
2854
2942
  });
2855
- var ExporterJobResultS3Destination = z114.object({
2856
- bucket: z114.string(),
2857
- urlPrefix: z114.string().optional(),
2858
- path: z114.string(),
2859
- files: z114.array(z114.string())
2943
+ var ExporterJobResultS3Destination = z118.object({
2944
+ bucket: z118.string(),
2945
+ urlPrefix: z118.string().optional(),
2946
+ path: z118.string(),
2947
+ files: z118.array(z118.string())
2860
2948
  });
2861
- var ExporterJobResultDocsDestination = z114.object({
2862
- url: z114.string()
2949
+ var ExporterJobResultDocsDestination = z118.object({
2950
+ url: z118.string()
2863
2951
  });
2864
- var ExporterJobResult = z114.object({
2865
- error: z114.string().optional(),
2866
- logs: z114.array(ExporterJobLogEntry).optional(),
2952
+ var ExporterJobResult = z118.object({
2953
+ error: z118.string().optional(),
2954
+ logs: z118.array(ExporterJobLogEntry).optional(),
2867
2955
  s3: ExporterJobResultS3Destination.optional(),
2868
2956
  github: ExporterJobResultPullRequestDestination.optional(),
2869
2957
  azure: ExporterJobResultPullRequestDestination.optional(),
@@ -2871,68 +2959,68 @@ var ExporterJobResult = z114.object({
2871
2959
  bitbucket: ExporterJobResultPullRequestDestination.optional(),
2872
2960
  sndocs: ExporterJobResultDocsDestination.optional()
2873
2961
  });
2874
- var ExporterDestinationSnDocs = z114.object({
2962
+ var ExporterDestinationSnDocs = z118.object({
2875
2963
  environment: PublishedDocEnvironment
2876
2964
  });
2877
- var ExporterDestinationS3 = z114.object({});
2878
- var ExporterDestinationGithub = z114.object({
2879
- connectionId: z114.string(),
2880
- url: z114.string(),
2881
- branch: z114.string(),
2882
- relativePath: z114.string(),
2965
+ var ExporterDestinationS3 = z118.object({});
2966
+ var ExporterDestinationGithub = z118.object({
2967
+ connectionId: z118.string(),
2968
+ url: z118.string(),
2969
+ branch: z118.string(),
2970
+ relativePath: z118.string(),
2883
2971
  // +
2884
- userId: z114.coerce.string()
2885
- });
2886
- var ExporterDestinationAzure = z114.object({
2887
- connectionId: z114.string(),
2888
- organizationId: z114.string(),
2889
- projectId: z114.string(),
2890
- repositoryId: z114.string(),
2891
- branch: z114.string(),
2892
- relativePath: z114.string(),
2972
+ userId: z118.coerce.string()
2973
+ });
2974
+ var ExporterDestinationAzure = z118.object({
2975
+ connectionId: z118.string(),
2976
+ organizationId: z118.string(),
2977
+ projectId: z118.string(),
2978
+ repositoryId: z118.string(),
2979
+ branch: z118.string(),
2980
+ relativePath: z118.string(),
2893
2981
  // +
2894
- userId: z114.coerce.string(),
2895
- url: z114.string()
2896
- });
2897
- var ExporterDestinationGitlab = z114.object({
2898
- connectionId: z114.string(),
2899
- projectId: z114.string(),
2900
- branch: z114.string(),
2901
- relativePath: z114.string(),
2982
+ userId: z118.coerce.string(),
2983
+ url: z118.string()
2984
+ });
2985
+ var ExporterDestinationGitlab = z118.object({
2986
+ connectionId: z118.string(),
2987
+ projectId: z118.string(),
2988
+ branch: z118.string(),
2989
+ relativePath: z118.string(),
2902
2990
  // +
2903
- userId: z114.coerce.string(),
2904
- url: z114.string()
2991
+ userId: z118.coerce.string(),
2992
+ url: z118.string()
2905
2993
  });
2906
2994
  var BITBUCKET_SLUG = /^[-a-zA-Z0-9~]*$/;
2907
2995
  var BITBUCKET_MAX_LENGTH = 64;
2908
- var ExporterDestinationBitbucket = z114.object({
2909
- connectionId: z114.string(),
2910
- workspaceSlug: z114.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
2911
- projectKey: z114.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
2912
- repoSlug: z114.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
2913
- branch: z114.string(),
2914
- relativePath: z114.string(),
2996
+ var ExporterDestinationBitbucket = z118.object({
2997
+ connectionId: z118.string(),
2998
+ workspaceSlug: z118.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
2999
+ projectKey: z118.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
3000
+ repoSlug: z118.string().max(BITBUCKET_MAX_LENGTH).regex(BITBUCKET_SLUG),
3001
+ branch: z118.string(),
3002
+ relativePath: z118.string(),
2915
3003
  // +
2916
- userId: z114.coerce.string(),
2917
- url: z114.string()
2918
- });
2919
- var ExporterJob = z114.object({
2920
- id: z114.coerce.string(),
2921
- createdAt: z114.coerce.date(),
2922
- finishedAt: z114.coerce.date().optional(),
2923
- designSystemId: z114.coerce.string(),
2924
- designSystemVersionId: z114.coerce.string(),
2925
- workspaceId: z114.coerce.string(),
2926
- scheduleId: z114.coerce.string().nullish(),
2927
- exporterId: z114.coerce.string(),
2928
- brandId: z114.coerce.string().optional(),
2929
- themeId: z114.coerce.string().optional(),
2930
- estimatedExecutionTime: z114.number().optional(),
3004
+ userId: z118.coerce.string(),
3005
+ url: z118.string()
3006
+ });
3007
+ var ExporterJob = z118.object({
3008
+ id: z118.coerce.string(),
3009
+ createdAt: z118.coerce.date(),
3010
+ finishedAt: z118.coerce.date().optional(),
3011
+ designSystemId: z118.coerce.string(),
3012
+ designSystemVersionId: z118.coerce.string(),
3013
+ workspaceId: z118.coerce.string(),
3014
+ scheduleId: z118.coerce.string().nullish(),
3015
+ exporterId: z118.coerce.string(),
3016
+ brandId: z118.coerce.string().optional(),
3017
+ themeId: z118.coerce.string().optional(),
3018
+ estimatedExecutionTime: z118.number().optional(),
2931
3019
  status: ExporterJobStatus,
2932
3020
  result: ExporterJobResult.optional(),
2933
- createdByUserId: z114.string().optional(),
3021
+ createdByUserId: z118.string().optional(),
2934
3022
  // CodegenDestinationsModel
2935
- webhookUrl: z114.string().optional(),
3023
+ webhookUrl: z118.string().optional(),
2936
3024
  destinationSnDocs: ExporterDestinationSnDocs.optional(),
2937
3025
  destinationS3: ExporterDestinationS3.optional(),
2938
3026
  destinationGithub: ExporterDestinationGithub.optional(),
@@ -2951,28 +3039,28 @@ var ExporterJobFindByFilter = ExporterJob.pick({
2951
3039
  themeId: true,
2952
3040
  brandId: true
2953
3041
  }).extend({
2954
- destinations: z114.array(ExporterJobDestination),
3042
+ destinations: z118.array(ExporterJobDestination),
2955
3043
  docsEnvironment: PublishedDocEnvironment
2956
3044
  }).partial();
2957
3045
 
2958
3046
  // src/codegen/exporter-workspace-membership-role.ts
2959
- import { z as z115 } from "zod";
2960
- var ExporterWorkspaceMembershipRole = z115.enum(["Owner", "OwnerArchived", "User"]);
3047
+ import { z as z119 } from "zod";
3048
+ var ExporterWorkspaceMembershipRole = z119.enum(["Owner", "OwnerArchived", "User"]);
2961
3049
 
2962
3050
  // src/codegen/exporter-workspace-membership.ts
2963
- import { z as z116 } from "zod";
2964
- var ExporterWorkspaceMembership = z116.object({
2965
- id: z116.string(),
2966
- workspaceId: z116.string(),
2967
- exporterId: z116.string(),
3051
+ import { z as z120 } from "zod";
3052
+ var ExporterWorkspaceMembership = z120.object({
3053
+ id: z120.string(),
3054
+ workspaceId: z120.string(),
3055
+ exporterId: z120.string(),
2968
3056
  role: ExporterWorkspaceMembershipRole
2969
3057
  });
2970
3058
 
2971
3059
  // src/codegen/exporter.ts
2972
- import { z as z119 } from "zod";
3060
+ import { z as z123 } from "zod";
2973
3061
 
2974
3062
  // src/codegen/git-providers.ts
2975
- import { z as z117 } from "zod";
3063
+ import { z as z121 } from "zod";
2976
3064
  var GitProviderNames = /* @__PURE__ */ ((GitProviderNames2) => {
2977
3065
  GitProviderNames2["Azure"] = "azure";
2978
3066
  GitProviderNames2["Github"] = "github";
@@ -2980,11 +3068,11 @@ var GitProviderNames = /* @__PURE__ */ ((GitProviderNames2) => {
2980
3068
  GitProviderNames2["Bitbucket"] = "bitbucket";
2981
3069
  return GitProviderNames2;
2982
3070
  })(GitProviderNames || {});
2983
- var GitProvider = z117.nativeEnum(GitProviderNames);
3071
+ var GitProvider = z121.nativeEnum(GitProviderNames);
2984
3072
 
2985
3073
  // src/codegen/pulsar.ts
2986
- import { z as z118 } from "zod";
2987
- var PulsarPropertyType = z118.enum([
3074
+ import { z as z122 } from "zod";
3075
+ var PulsarPropertyType = z122.enum([
2988
3076
  "string",
2989
3077
  "number",
2990
3078
  "boolean",
@@ -2997,108 +3085,108 @@ var PulsarPropertyType = z118.enum([
2997
3085
  "tokenProperties",
2998
3086
  "tokenType"
2999
3087
  ]);
3000
- var PulsarBaseProperty = z118.object({
3001
- label: z118.string(),
3002
- key: z118.string(),
3003
- description: z118.string().nullish(),
3088
+ var PulsarBaseProperty = z122.object({
3089
+ label: z122.string(),
3090
+ key: z122.string(),
3091
+ description: z122.string().nullish(),
3004
3092
  type: PulsarPropertyType,
3005
- values: z118.array(z118.string()).nullish(),
3006
- default: z118.union([z118.string(), z118.boolean(), z118.number()]).nullish(),
3093
+ values: z122.array(z122.string()).nullish(),
3094
+ default: z122.union([z122.string(), z122.boolean(), z122.number()]).nullish(),
3007
3095
  // PulsarPropertyValueType //is optional?
3008
- inputType: z118.enum(["code", "plain"]).optional(),
3096
+ inputType: z122.enum(["code", "plain"]).optional(),
3009
3097
  //is optional?
3010
- isMultiline: z118.boolean().nullish()
3098
+ isMultiline: z122.boolean().nullish()
3011
3099
  });
3012
3100
  var PulsarContributionConfigurationProperty = PulsarBaseProperty.extend({
3013
- category: z118.string()
3101
+ category: z122.string()
3014
3102
  });
3015
- var PulsarContributionVariant = z118.object({
3016
- key: z118.string(),
3017
- name: z118.string(),
3018
- isDefault: nullishToOptional(z118.boolean()),
3019
- description: nullishToOptional(z118.string()),
3020
- thumbnailURL: nullishToOptional(z118.string())
3103
+ var PulsarContributionVariant = z122.object({
3104
+ key: z122.string(),
3105
+ name: z122.string(),
3106
+ isDefault: nullishToOptional(z122.boolean()),
3107
+ description: nullishToOptional(z122.string()),
3108
+ thumbnailURL: nullishToOptional(z122.string())
3021
3109
  });
3022
- var PulsarCustomBlock = z118.object({
3023
- title: nullishToOptional(z118.string()),
3024
- key: z118.string(),
3025
- category: nullishToOptional(z118.string()),
3026
- description: nullishToOptional(z118.string()),
3027
- iconURL: nullishToOptional(z118.string()),
3028
- mode: nullishToOptional(z118.enum(["array", "block"])),
3029
- properties: nullishToOptional(z118.array(PulsarBaseProperty)).transform((v) => v ?? [])
3110
+ var PulsarCustomBlock = z122.object({
3111
+ title: nullishToOptional(z122.string()),
3112
+ key: z122.string(),
3113
+ category: nullishToOptional(z122.string()),
3114
+ description: nullishToOptional(z122.string()),
3115
+ iconURL: nullishToOptional(z122.string()),
3116
+ mode: nullishToOptional(z122.enum(["array", "block"])),
3117
+ properties: nullishToOptional(z122.array(PulsarBaseProperty)).transform((v) => v ?? [])
3030
3118
  });
3031
3119
 
3032
3120
  // src/codegen/exporter.ts
3033
- var ExporterType = z119.enum(["code", "documentation"]);
3034
- var ExporterSource = z119.enum(["git", "upload"]);
3035
- var ExporterTag = z119.string().regex(/^[0-9a-zA-Z]+(\s[0-9a-zA-Z]+)*$/);
3036
- var ExporterDetails = z119.object({
3037
- description: z119.string(),
3038
- version: z119.string(),
3039
- routingVersion: nullishToOptional(z119.string()),
3040
- author: nullishToOptional(z119.string()),
3041
- organization: nullishToOptional(z119.string()),
3042
- homepage: nullishToOptional(z119.string()),
3043
- readme: nullishToOptional(z119.string()),
3044
- tags: nullishToOptional(z119.array(ExporterTag)).default([]),
3045
- packageId: nullishToOptional(z119.string().max(255)),
3046
- iconURL: nullishToOptional(z119.string()),
3047
- configurationProperties: nullishToOptional(z119.array(PulsarContributionConfigurationProperty)).default([]),
3048
- customBlocks: nullishToOptional(z119.array(PulsarCustomBlock)).default([]),
3049
- blockVariants: nullishToOptional(z119.record(z119.string(), z119.array(PulsarContributionVariant))).default({}),
3050
- usesBrands: nullishToOptional(z119.boolean()).default(false),
3051
- usesThemes: nullishToOptional(z119.boolean()).default(false),
3121
+ var ExporterType = z123.enum(["code", "documentation"]);
3122
+ var ExporterSource = z123.enum(["git", "upload"]);
3123
+ var ExporterTag = z123.string().regex(/^[0-9a-zA-Z]+(\s[0-9a-zA-Z]+)*$/);
3124
+ var ExporterDetails = z123.object({
3125
+ description: z123.string(),
3126
+ version: z123.string(),
3127
+ routingVersion: nullishToOptional(z123.string()),
3128
+ author: nullishToOptional(z123.string()),
3129
+ organization: nullishToOptional(z123.string()),
3130
+ homepage: nullishToOptional(z123.string()),
3131
+ readme: nullishToOptional(z123.string()),
3132
+ tags: nullishToOptional(z123.array(ExporterTag)).default([]),
3133
+ packageId: nullishToOptional(z123.string().max(255)),
3134
+ iconURL: nullishToOptional(z123.string()),
3135
+ configurationProperties: nullishToOptional(z123.array(PulsarContributionConfigurationProperty)).default([]),
3136
+ customBlocks: nullishToOptional(z123.array(PulsarCustomBlock)).default([]),
3137
+ blockVariants: nullishToOptional(z123.record(z123.string(), z123.array(PulsarContributionVariant))).default({}),
3138
+ usesBrands: nullishToOptional(z123.boolean()).default(false),
3139
+ usesThemes: nullishToOptional(z123.boolean()).default(false),
3052
3140
  source: ExporterSource,
3053
3141
  gitProvider: nullishToOptional(GitProvider),
3054
- gitUrl: nullishToOptional(z119.string()),
3055
- gitBranch: nullishToOptional(z119.string()),
3056
- gitDirectory: nullishToOptional(z119.string())
3057
- });
3058
- var Exporter = z119.object({
3059
- id: z119.string(),
3060
- createdAt: z119.coerce.date(),
3061
- name: z119.string(),
3062
- isPrivate: z119.boolean(),
3142
+ gitUrl: nullishToOptional(z123.string()),
3143
+ gitBranch: nullishToOptional(z123.string()),
3144
+ gitDirectory: nullishToOptional(z123.string())
3145
+ });
3146
+ var Exporter = z123.object({
3147
+ id: z123.string(),
3148
+ createdAt: z123.coerce.date(),
3149
+ name: z123.string(),
3150
+ isPrivate: z123.boolean(),
3063
3151
  details: ExporterDetails,
3064
3152
  exporterType: nullishToOptional(ExporterType).default("code"),
3065
- storagePath: nullishToOptional(z119.string()).default("")
3153
+ storagePath: nullishToOptional(z123.string()).default("")
3066
3154
  });
3067
3155
 
3068
3156
  // src/custom-domains/custom-domains.ts
3069
- import { z as z120 } from "zod";
3070
- var CustomDomain = z120.object({
3071
- id: z120.string(),
3072
- designSystemId: z120.string(),
3073
- state: z120.string(),
3074
- supernovaDomain: z120.string(),
3075
- customerDomain: z120.string().nullish(),
3076
- error: z120.string().nullish(),
3077
- errorCode: z120.string().nullish()
3157
+ import { z as z124 } from "zod";
3158
+ var CustomDomain = z124.object({
3159
+ id: z124.string(),
3160
+ designSystemId: z124.string(),
3161
+ state: z124.string(),
3162
+ supernovaDomain: z124.string(),
3163
+ customerDomain: z124.string().nullish(),
3164
+ error: z124.string().nullish(),
3165
+ errorCode: z124.string().nullish()
3078
3166
  });
3079
3167
 
3080
3168
  // src/docs-server/session.ts
3081
- import { z as z125 } from "zod";
3169
+ import { z as z129 } from "zod";
3082
3170
 
3083
3171
  // src/users/linked-integrations.ts
3084
- import { z as z121 } from "zod";
3085
- var IntegrationAuthType = z121.union([z121.literal("OAuth2"), z121.literal("PAT")]);
3086
- var ExternalServiceType = z121.union([
3087
- z121.literal("figma"),
3088
- z121.literal("github"),
3089
- z121.literal("azure"),
3090
- z121.literal("gitlab"),
3091
- z121.literal("bitbucket")
3172
+ import { z as z125 } from "zod";
3173
+ var IntegrationAuthType = z125.union([z125.literal("OAuth2"), z125.literal("PAT")]);
3174
+ var ExternalServiceType = z125.union([
3175
+ z125.literal("figma"),
3176
+ z125.literal("github"),
3177
+ z125.literal("azure"),
3178
+ z125.literal("gitlab"),
3179
+ z125.literal("bitbucket")
3092
3180
  ]);
3093
- var IntegrationUserInfo = z121.object({
3094
- id: z121.string(),
3095
- handle: z121.string().optional(),
3096
- avatarUrl: z121.string().optional(),
3097
- email: z121.string().optional(),
3181
+ var IntegrationUserInfo = z125.object({
3182
+ id: z125.string(),
3183
+ handle: z125.string().optional(),
3184
+ avatarUrl: z125.string().optional(),
3185
+ email: z125.string().optional(),
3098
3186
  authType: IntegrationAuthType.optional(),
3099
- customUrl: z121.string().optional()
3187
+ customUrl: z125.string().optional()
3100
3188
  });
3101
- var UserLinkedIntegrations = z121.object({
3189
+ var UserLinkedIntegrations = z125.object({
3102
3190
  figma: IntegrationUserInfo.optional(),
3103
3191
  github: IntegrationUserInfo.array().optional(),
3104
3192
  azure: IntegrationUserInfo.array().optional(),
@@ -3107,86 +3195,87 @@ var UserLinkedIntegrations = z121.object({
3107
3195
  });
3108
3196
 
3109
3197
  // src/users/user-identity.ts
3110
- import { z as z122 } from "zod";
3111
- var UserIdentity = z122.object({
3112
- id: z122.string(),
3113
- userId: z122.string()
3198
+ import { z as z126 } from "zod";
3199
+ var UserIdentity = z126.object({
3200
+ id: z126.string(),
3201
+ userId: z126.string()
3114
3202
  });
3115
3203
 
3116
3204
  // src/users/user-profile.ts
3117
- import { z as z123 } from "zod";
3118
- var UserOnboardingDepartment = z123.enum(["Design", "Engineering", "Brand", "Other"]);
3119
- var UserOnboardingJobLevel = z123.enum(["Executive", "Manager", "IndividualContributor", "Other"]);
3120
- var UserOnboarding = z123.object({
3121
- companyName: z123.string().optional(),
3122
- numberOfPeopleInOrg: z123.string().optional(),
3123
- numberOfPeopleInDesignTeam: z123.string().optional(),
3205
+ import { z as z127 } from "zod";
3206
+ var UserOnboardingDepartment = z127.enum(["Design", "Engineering", "Brand", "Other"]);
3207
+ var UserOnboardingJobLevel = z127.enum(["Executive", "Manager", "IndividualContributor", "Other"]);
3208
+ var UserOnboarding = z127.object({
3209
+ companyName: z127.string().optional(),
3210
+ numberOfPeopleInOrg: z127.string().optional(),
3211
+ numberOfPeopleInDesignTeam: z127.string().optional(),
3124
3212
  department: UserOnboardingDepartment.optional(),
3125
- jobTitle: z123.string().optional(),
3126
- phase: z123.string().optional(),
3213
+ jobTitle: z127.string().optional(),
3214
+ phase: z127.string().optional(),
3127
3215
  jobLevel: UserOnboardingJobLevel.optional()
3128
3216
  });
3129
- var UserProfile = z123.object({
3130
- name: z123.string(),
3131
- avatar: z123.string().optional(),
3132
- nickname: z123.string().optional(),
3217
+ var UserProfile = z127.object({
3218
+ name: z127.string(),
3219
+ avatar: z127.string().optional(),
3220
+ nickname: z127.string().optional(),
3133
3221
  onboarding: UserOnboarding.optional()
3134
3222
  });
3135
3223
 
3136
3224
  // src/users/user.ts
3137
- import { z as z124 } from "zod";
3138
- var User = z124.object({
3139
- id: z124.string(),
3140
- email: z124.string(),
3141
- emailVerified: z124.boolean(),
3142
- createdAt: z124.coerce.date(),
3143
- trialExpiresAt: z124.coerce.date().optional(),
3225
+ import { z as z128 } from "zod";
3226
+ var User = z128.object({
3227
+ id: z128.string(),
3228
+ email: z128.string(),
3229
+ emailVerified: z128.boolean(),
3230
+ createdAt: z128.coerce.date(),
3231
+ trialExpiresAt: z128.coerce.date().optional(),
3144
3232
  profile: UserProfile,
3145
3233
  linkedIntegrations: UserLinkedIntegrations.optional(),
3146
- loggedOutAt: z124.coerce.date().optional(),
3147
- isProtected: z124.boolean()
3234
+ loggedOutAt: z128.coerce.date().optional(),
3235
+ isProtected: z128.boolean()
3148
3236
  });
3149
3237
 
3150
3238
  // src/docs-server/session.ts
3151
- var NpmProxyToken = z125.object({
3152
- access: z125.string(),
3153
- expiresAt: z125.number()
3239
+ var NpmProxyToken = z129.object({
3240
+ access: z129.string(),
3241
+ expiresAt: z129.number()
3154
3242
  });
3155
- var SessionData = z125.object({
3156
- returnToUrl: z125.string().optional(),
3243
+ var SessionData = z129.object({
3244
+ returnToUrl: z129.string().optional(),
3157
3245
  npmProxyToken: NpmProxyToken.optional()
3158
3246
  });
3159
- var Session = z125.object({
3160
- id: z125.string(),
3161
- expiresAt: z125.coerce.date(),
3162
- userId: z125.string().nullable(),
3247
+ var Session = z129.object({
3248
+ id: z129.string(),
3249
+ expiresAt: z129.coerce.date(),
3250
+ userId: z129.string().nullable(),
3163
3251
  data: SessionData
3164
3252
  });
3165
- var AuthTokens = z125.object({
3166
- access: z125.string(),
3167
- refresh: z125.string()
3253
+ var AuthTokens = z129.object({
3254
+ access: z129.string(),
3255
+ refresh: z129.string()
3168
3256
  });
3169
- var UserSession = z125.object({
3257
+ var UserSession = z129.object({
3170
3258
  session: Session,
3171
3259
  user: User.nullable()
3172
3260
  });
3173
3261
 
3174
3262
  // src/feature-flags/feature-flags.ts
3175
- import { z as z126 } from "zod";
3176
- var FlaggedFeature = z126.enum(["FigmaImporterV2"]);
3177
- var FeatureFlagMap = z126.record(FlaggedFeature, z126.boolean());
3178
- var FeatureFlag = z126.object({
3179
- id: z126.string(),
3263
+ import { z as z130 } from "zod";
3264
+ var FlaggedFeature = z130.enum(["FigmaImporterV2", "ShadowOpacityOptional"]);
3265
+ var FeatureFlagMap = z130.record(FlaggedFeature, z130.boolean());
3266
+ var FeatureFlag = z130.object({
3267
+ id: z130.string(),
3180
3268
  feature: FlaggedFeature,
3181
- createdAt: z126.coerce.date(),
3182
- enabled: z126.boolean()
3269
+ createdAt: z130.coerce.date(),
3270
+ enabled: z130.boolean(),
3271
+ designSystemId: z130.string().optional()
3183
3272
  });
3184
3273
 
3185
3274
  // src/integrations/external-oauth-request.ts
3186
- import { z as z128 } from "zod";
3275
+ import { z as z132 } from "zod";
3187
3276
 
3188
3277
  // src/integrations/oauth-providers.ts
3189
- import { z as z127 } from "zod";
3278
+ import { z as z131 } from "zod";
3190
3279
  var OAuthProviderNames = /* @__PURE__ */ ((OAuthProviderNames2) => {
3191
3280
  OAuthProviderNames2["Figma"] = "figma";
3192
3281
  OAuthProviderNames2["Azure"] = "azure";
@@ -3195,74 +3284,74 @@ var OAuthProviderNames = /* @__PURE__ */ ((OAuthProviderNames2) => {
3195
3284
  OAuthProviderNames2["Bitbucket"] = "bitbucket";
3196
3285
  return OAuthProviderNames2;
3197
3286
  })(OAuthProviderNames || {});
3198
- var OAuthProviderSchema = z127.nativeEnum(OAuthProviderNames);
3287
+ var OAuthProviderSchema = z131.nativeEnum(OAuthProviderNames);
3199
3288
  var OAuthProvider = OAuthProviderSchema.enum;
3200
3289
 
3201
3290
  // src/integrations/external-oauth-request.ts
3202
- var ExternalOAuthRequest = z128.object({
3203
- id: z128.string(),
3291
+ var ExternalOAuthRequest = z132.object({
3292
+ id: z132.string(),
3204
3293
  provider: OAuthProviderSchema,
3205
- userId: z128.string(),
3206
- state: z128.string(),
3207
- createdAt: z128.coerce.date()
3294
+ userId: z132.string(),
3295
+ state: z132.string(),
3296
+ createdAt: z132.coerce.date()
3208
3297
  });
3209
3298
 
3210
3299
  // src/integrations/oauth-token.ts
3211
- import { z as z129 } from "zod";
3212
- var IntegrationTokenSchema = z129.object({
3213
- id: z129.string(),
3300
+ import { z as z133 } from "zod";
3301
+ var IntegrationTokenSchema = z133.object({
3302
+ id: z133.string(),
3214
3303
  provider: OAuthProviderSchema,
3215
- scope: z129.string(),
3216
- userId: z129.string(),
3217
- accessToken: z129.string(),
3218
- refreshToken: z129.string(),
3219
- expiresAt: z129.coerce.date(),
3220
- externalUserId: z129.string().nullish()
3304
+ scope: z133.string(),
3305
+ userId: z133.string(),
3306
+ accessToken: z133.string(),
3307
+ refreshToken: z133.string(),
3308
+ expiresAt: z133.coerce.date(),
3309
+ externalUserId: z133.string().nullish()
3221
3310
  });
3222
3311
 
3223
3312
  // src/npm/npm-package.ts
3224
- import { z as z130 } from "zod";
3225
- var AnyRecord = z130.record(z130.any());
3313
+ import { z as z134 } from "zod";
3314
+ var AnyRecord = z134.record(z134.any());
3226
3315
  var NpmPackageVersionDist = AnyRecord.and(
3227
- z130.object({
3228
- tarball: z130.string()
3316
+ z134.object({
3317
+ tarball: z134.string()
3229
3318
  })
3230
3319
  );
3231
3320
  var NpmPackageVersion = AnyRecord.and(
3232
- z130.object({
3321
+ z134.object({
3233
3322
  dist: NpmPackageVersionDist
3234
3323
  })
3235
3324
  );
3236
3325
  var NpmPackage = AnyRecord.and(
3237
- z130.object({
3238
- _id: z130.string(),
3239
- name: z130.string(),
3326
+ z134.object({
3327
+ _id: z134.string(),
3328
+ name: z134.string(),
3240
3329
  // e.g. "latest": "1.2.3"
3241
- "dist-tags": z130.record(z130.string(), z130.string()),
3330
+ "dist-tags": z134.record(z134.string(), z134.string()),
3242
3331
  // "1.2.3": {...}
3243
- versions: z130.record(NpmPackageVersion)
3332
+ versions: z134.record(NpmPackageVersion)
3244
3333
  })
3245
3334
  );
3246
3335
 
3247
3336
  // src/npm/npm-proxy-token-payload.ts
3248
- import { z as z131 } from "zod";
3249
- var NpmProxyTokenPayload = z131.object({
3250
- npmProxyRegistryConfigId: z131.string()
3337
+ import { z as z135 } from "zod";
3338
+ var NpmProxyTokenPayload = z135.object({
3339
+ npmProxyRegistryConfigId: z135.string()
3251
3340
  });
3252
3341
 
3253
3342
  // src/tokens/personal-access-token.ts
3254
- import { z as z132 } from "zod";
3255
- var PersonalAccessToken = z132.object({
3256
- id: z132.string(),
3257
- userId: z132.string(),
3258
- name: z132.string(),
3259
- token: z132.string(),
3260
- createdAt: z132.coerce.date(),
3261
- hidden: z132.boolean(),
3262
- workspaceId: z132.string().optional(),
3343
+ import { z as z136 } from "zod";
3344
+ var PersonalAccessToken = z136.object({
3345
+ id: z136.string(),
3346
+ userId: z136.string(),
3347
+ name: z136.string(),
3348
+ token: z136.string(),
3349
+ createdAt: z136.coerce.date(),
3350
+ hidden: z136.boolean(),
3351
+ workspaceId: z136.string().optional(),
3263
3352
  workspaceRole: WorkspaceRoleSchema.optional(),
3264
- expireAt: z132.coerce.date().optional(),
3265
- scope: z132.string().optional()
3353
+ expireAt: z136.coerce.date().optional(),
3354
+ scope: z136.string().optional()
3266
3355
  });
3267
3356
 
3268
3357
  // src/utils/errors.ts
@@ -3394,26 +3483,26 @@ async function sleep(ms) {
3394
3483
  }
3395
3484
 
3396
3485
  // src/utils/content-loader-instruction.ts
3397
- import { z as z133 } from "zod";
3398
- var ContentLoadInstruction = z133.object({
3399
- from: z133.string(),
3400
- to: z133.string(),
3401
- authorizationHeaderKvsId: z133.string().optional(),
3402
- timeout: z133.number().optional()
3403
- });
3404
- var ContentLoaderPayload = z133.object({
3405
- type: z133.literal("Single"),
3486
+ import { z as z137 } from "zod";
3487
+ var ContentLoadInstruction = z137.object({
3488
+ from: z137.string(),
3489
+ to: z137.string(),
3490
+ authorizationHeaderKvsId: z137.string().optional(),
3491
+ timeout: z137.number().optional()
3492
+ });
3493
+ var ContentLoaderPayload = z137.object({
3494
+ type: z137.literal("Single"),
3406
3495
  instruction: ContentLoadInstruction
3407
3496
  }).or(
3408
- z133.object({
3409
- type: z133.literal("Multiple"),
3410
- loadingChunkSize: z133.number().optional(),
3411
- instructions: z133.array(ContentLoadInstruction)
3497
+ z137.object({
3498
+ type: z137.literal("Multiple"),
3499
+ loadingChunkSize: z137.number().optional(),
3500
+ instructions: z137.array(ContentLoadInstruction)
3412
3501
  })
3413
3502
  ).or(
3414
- z133.object({
3415
- type: z133.literal("S3"),
3416
- location: z133.string()
3503
+ z137.object({
3504
+ type: z137.literal("S3"),
3505
+ location: z137.string()
3417
3506
  })
3418
3507
  );
3419
3508
 
@@ -4079,6 +4168,7 @@ export {
4079
4168
  BorderWidthTokenData,
4080
4169
  BorderWidthUnit,
4081
4170
  BorderWidthValue,
4171
+ Brand,
4082
4172
  BrandedElementGroup,
4083
4173
  CardSchema,
4084
4174
  ChangedImportedFigmaSourceData,
@@ -4129,8 +4219,10 @@ export {
4129
4219
  DesignSystemElementExportProps,
4130
4220
  DesignSystemSwitcher,
4131
4221
  DesignSystemUpdateInput,
4222
+ DesignSystemVersion,
4132
4223
  DesignSystemVersionRoom,
4133
4224
  DesignSystemVersionRoomInitialState,
4225
+ DesignSystemVersionRoomInternalSettings,
4134
4226
  DesignSystemVersionRoomUpdate,
4135
4227
  DesignSystemWithWorkspace,
4136
4228
  DesignToken,
@@ -4146,6 +4238,7 @@ export {
4146
4238
  DimensionUnit,
4147
4239
  DimensionValue,
4148
4240
  DocumentationGroupBehavior,
4241
+ DocumentationGroupV1,
4149
4242
  DocumentationItemConfigurationV1,
4150
4243
  DocumentationItemConfigurationV2,
4151
4244
  DocumentationItemHeaderAlignment,
@@ -4173,13 +4266,23 @@ export {
4173
4266
  DurationUnit,
4174
4267
  DurationValue,
4175
4268
  ElementGroup,
4269
+ ElementGroupDataV1,
4176
4270
  ElementGroupDataV2,
4177
4271
  ElementPropertyDefinition,
4178
4272
  ElementPropertyDefinitionOption,
4179
4273
  ElementPropertyLinkType,
4180
4274
  ElementPropertyTargetType,
4181
4275
  ElementPropertyType,
4276
+ ElementPropertyTypeSchema,
4182
4277
  ElementPropertyValue,
4278
+ ElementView,
4279
+ ElementViewBaseColumnType,
4280
+ ElementViewBasePropertyColumn,
4281
+ ElementViewColumn,
4282
+ ElementViewColumnSharedAttributes,
4283
+ ElementViewColumnType,
4284
+ ElementViewPropertyDefinitionColumn,
4285
+ ElementViewThemeColumn,
4183
4286
  Entity,
4184
4287
  Exporter,
4185
4288
  ExporterDestinationAzure,