@supernova-studio/client 1.5.2 → 1.6.1

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.js CHANGED
@@ -134,6 +134,7 @@ var _slugify = require('@sindresorhus/slugify'); var _slugify2 = _interopRequire
134
134
 
135
135
 
136
136
 
137
+
137
138
 
138
139
 
139
140
  var _ipcidr = require('ip-cidr'); var _ipcidr2 = _interopRequireDefault(_ipcidr);
@@ -622,7 +623,6 @@ var AssetProperties = _zod.z.union([
622
623
  var AssetOrigin = _zod.z.object({
623
624
  originKey: _zod.z.string()
624
625
  });
625
- var AssetProcessStatus = _zod.z.enum(["Pending", "Uploaded", "Processed"]);
626
626
  var Asset = _zod.z.object({
627
627
  id: _zod.z.string(),
628
628
  designSystemId: _zod.z.string().nullish(),
@@ -631,33 +631,47 @@ var Asset = _zod.z.object({
631
631
  filePath: _zod.z.string(),
632
632
  scope: AssetScope,
633
633
  properties: AssetProperties.nullish(),
634
- state: AssetProcessStatus.optional(),
635
- origin: AssetOrigin.optional(),
636
634
  originKey: _zod.z.string().optional(),
637
- createdByImportJobId: _zod.z.string().optional()
635
+ createdAt: _zod.z.coerce.date().optional()
638
636
  });
639
637
  var ResolvedAsset = Asset.extend({
640
638
  url: _zod.z.string()
641
639
  });
642
- var CodeComponentPropertyControlType = _zod.z.enum([
643
- "Boolean",
644
- "Function",
645
- "Number",
646
- "Object",
647
- "Slot",
648
- "String",
649
- "Unknown"
640
+ var CodeComponentResolvedTypeKind = _zod.z.enum([
641
+ "string",
642
+ "number",
643
+ "numberLiteral",
644
+ "boolean",
645
+ "booleanLiteral",
646
+ "object",
647
+ "function",
648
+ "stringLiteral",
649
+ "union",
650
+ "slot",
651
+ "null",
652
+ "undefined",
653
+ "any"
650
654
  ]);
651
- var CodeComponentPropertyControl = _zod.z.object({
652
- isArray: _zod.z.boolean(),
653
- type: CodeComponentPropertyControlType
655
+ var CodeComponentResolvedType = _zod.z.lazy(
656
+ () => _zod.z.object({
657
+ kind: CodeComponentResolvedTypeKind,
658
+ raw: _zod.z.string().optional(),
659
+ types: _zod.z.array(CodeComponentResolvedType).optional(),
660
+ isArray: _zod.z.boolean().optional()
661
+ })
662
+ );
663
+ var CodeComponentParentType = _zod.z.object({
664
+ fileName: _zod.z.string(),
665
+ name: _zod.z.string()
654
666
  });
655
667
  var CodeComponentProperty = _zod.z.object({
656
- control: CodeComponentPropertyControl,
657
668
  defaultValue: _zod.z.string().optional(),
658
669
  name: _zod.z.string(),
659
670
  required: _zod.z.boolean(),
660
- type: _zod.z.string()
671
+ type: CodeComponentResolvedType,
672
+ declarations: _zod.z.array(CodeComponentParentType).optional(),
673
+ tags: _zod.z.record(_zod.z.string(), _zod.z.string()).optional(),
674
+ description: _zod.z.string()
661
675
  });
662
676
  var CodeComponent = _zod.z.object({
663
677
  id: _zod.z.string(),
@@ -666,7 +680,15 @@ var CodeComponent = _zod.z.object({
666
680
  createdAt: _zod.z.coerce.date(),
667
681
  updatedAt: _zod.z.coerce.date(),
668
682
  exportName: _zod.z.string(),
669
- properties: _zod.z.record(_zod.z.string(), CodeComponentProperty)
683
+ componentPath: _zod.z.string(),
684
+ description: _zod.z.string(),
685
+ properties: _zod.z.record(_zod.z.string(), CodeComponentProperty),
686
+ tags: _zod.z.record(_zod.z.string(), _zod.z.string()).optional()
687
+ });
688
+ var CodeComponentUpsertResponse = _zod.z.object({
689
+ created: _zod.z.number().nonnegative(),
690
+ updated: _zod.z.number().nonnegative(),
691
+ deleted: _zod.z.number().nonnegative()
670
692
  });
671
693
  var FigmaFileDownloadScope = _zod.z.object({
672
694
  styles: _zod.z.boolean(),
@@ -923,6 +945,9 @@ function groupBy(items, keyFn) {
923
945
  }
924
946
  return result;
925
947
  }
948
+ function nonNullFilter(item) {
949
+ return item !== null;
950
+ }
926
951
  function areShallowObjectsEqual(lhs, rhs) {
927
952
  if (lhs === void 0 !== (rhs === void 0)) return false;
928
953
  if (lhs === void 0 || rhs === void 0) return true;
@@ -1942,6 +1967,27 @@ var PageBlockSelectedFigmaComponent = _zod.z.object({
1942
1967
  selectedComponentProperties: _zod.z.string().array(),
1943
1968
  selectedComponentVariants: _zod.z.record(_zod.z.string().array()).optional()
1944
1969
  });
1970
+ var PageBlockStorybookItem = _zod.z.object({
1971
+ entityId: _zod.z.string().optional(),
1972
+ embed: _zod.z.object({
1973
+ inputUrl: _zod.z.string(),
1974
+ embedUrl: _zod.z.string()
1975
+ }).optional(),
1976
+ entityMeta: _zod.z.object({
1977
+ caption: _zod.z.string().optional(),
1978
+ height: _zod.z.number().optional(),
1979
+ hiddenProps: _zod.z.array(_zod.z.string()).optional(),
1980
+ propValues: _zod.z.record(_zod.z.unknown()).optional()
1981
+ }).optional()
1982
+ });
1983
+ var PageBlockStorybookBlockConfig = _zod.z.object({
1984
+ value: PageBlockStorybookItem.array(),
1985
+ showCode: _zod.z.boolean().optional(),
1986
+ showFooter: _zod.z.boolean().optional(),
1987
+ showProperties: _zod.z.boolean().optional(),
1988
+ showDescription: _zod.z.boolean().optional(),
1989
+ showDefaults: _zod.z.boolean().optional()
1990
+ });
1945
1991
  var PageBlockTextSpanAttributeType = _zod.z.enum(["Bold", "Italic", "Link", "Strikethrough", "Code", "Comment"]);
1946
1992
  var PageBlockTextSpanAttribute = _zod.z.object({
1947
1993
  type: PageBlockTextSpanAttributeType,
@@ -2032,7 +2078,9 @@ var PageBlockBaseV1 = _zod.z.object({
2032
2078
  selectedFigmaComponent: nullishToOptional(PageBlockSelectedFigmaComponent),
2033
2079
  selectedFigmaComponents: nullishToOptional(PageBlockSelectedFigmaComponent.array()),
2034
2080
  // Arbitrary
2035
- userMetadata: nullishToOptional(_zod.z.string())
2081
+ userMetadata: nullishToOptional(_zod.z.string()),
2082
+ // Storybook
2083
+ storybookBlockConfig: nullishToOptional(PageBlockStorybookBlockConfig)
2036
2084
  });
2037
2085
  var PageBlockV1 = PageBlockBaseV1.extend({
2038
2086
  children: _zod.z.lazy(
@@ -2501,14 +2549,36 @@ var PageBlockItemRichTextValue = _zod.z.object({
2501
2549
  var PageBlockItemSingleSelectValue = _zod.z.object({
2502
2550
  value: _zod.z.string()
2503
2551
  });
2504
- var PageBlockItemStorybookValue = _zod.z.object({
2552
+ var PageBlockItemStorybookValueOld = _zod.z.object({
2553
+ value: _zod.z.string().optional(),
2505
2554
  caption: _zod.z.string().optional(),
2506
2555
  height: _zod.z.number().optional(),
2507
2556
  embedUrl: _zod.z.string().optional(),
2508
- value: _zod.z.string().optional(),
2509
2557
  storyId: _zod.z.string().optional(),
2510
2558
  sourceId: _zod.z.string().optional()
2511
2559
  });
2560
+ var PageBlockItemStorybookValue = _zod.z.object({
2561
+ value: _zod.z.array(
2562
+ _zod.z.object({
2563
+ entityId: _zod.z.string().optional(),
2564
+ embed: _zod.z.object({
2565
+ inputUrl: _zod.z.string(),
2566
+ embedUrl: _zod.z.string()
2567
+ }).optional(),
2568
+ entityMeta: _zod.z.object({
2569
+ caption: _zod.z.string().optional(),
2570
+ height: _zod.z.number().optional(),
2571
+ hiddenProps: _zod.z.array(_zod.z.string()).optional(),
2572
+ propValues: _zod.z.record(_zod.z.unknown()).optional()
2573
+ }).optional()
2574
+ })
2575
+ ).optional(),
2576
+ showCode: _zod.z.boolean().optional(),
2577
+ showFooter: _zod.z.boolean().optional(),
2578
+ showProperties: _zod.z.boolean().optional(),
2579
+ showDescription: _zod.z.boolean().optional(),
2580
+ showDefaults: _zod.z.boolean().optional()
2581
+ });
2512
2582
  var PageBlockItemTextValue = _zod.z.object({
2513
2583
  value: _zod.z.string()
2514
2584
  });
@@ -2595,6 +2665,26 @@ var PageBlockItemTableValue = _zod.z.object({
2595
2665
  showBorder: _zod.z.boolean().optional(),
2596
2666
  value: _zod.z.array(PageBlockItemTableRow).default([])
2597
2667
  });
2668
+ function storybookValueFromOldValue(oldValue) {
2669
+ return {
2670
+ value: [
2671
+ {
2672
+ // URLs
2673
+ ...oldValue.embedUrl && oldValue.value && {
2674
+ embed: {
2675
+ embedUrl: oldValue.embedUrl,
2676
+ inputUrl: oldValue.value
2677
+ }
2678
+ },
2679
+ // Meta
2680
+ entityMeta: {
2681
+ caption: oldValue.caption,
2682
+ height: oldValue.height
2683
+ }
2684
+ }
2685
+ ]
2686
+ };
2687
+ }
2598
2688
  var DocumentationItemHeaderAlignmentSchema = _zod.z.enum(["Left", "Center"]);
2599
2689
  var DocumentationItemHeaderImageScaleTypeSchema = _zod.z.enum(["AspectFill", "AspectFit"]);
2600
2690
  var DocumentationItemHeaderAlignment = DocumentationItemHeaderAlignmentSchema.enum;
@@ -3743,6 +3833,21 @@ var DocumentationPageContent = _zod.z.object({
3743
3833
  documentationPageId: _zod.z.string(),
3744
3834
  data: DocumentationPageContentData
3745
3835
  });
3836
+ var DocumentationPageDependencies = _zod.z.object({
3837
+ id: _zod.z.string(),
3838
+ designSystemVersionId: _zod.z.string(),
3839
+ createdAt: _zod.z.coerce.date(),
3840
+ updatedAt: _zod.z.coerce.date(),
3841
+ documentationPageId: _zod.z.string(),
3842
+ tokenPersistentIds: _zod.z.set(_zod.z.string()),
3843
+ figmaComponentPersistentIds: _zod.z.set(_zod.z.string()),
3844
+ componentPersistentIds: _zod.z.set(_zod.z.string()),
3845
+ figmaNodePersistentIds: _zod.z.set(_zod.z.string()),
3846
+ groupPersistentIds: _zod.z.set(_zod.z.string()),
3847
+ propertyPersistentIds: _zod.z.set(_zod.z.string()),
3848
+ themePersistentIds: _zod.z.set(_zod.z.string()),
3849
+ documentationPagePersistentIds: _zod.z.set(_zod.z.string())
3850
+ });
3746
3851
  var DocumentationPage = _zod.z.object({
3747
3852
  type: _zod.z.literal("DocumentationPage"),
3748
3853
  id: _zod.z.string(),
@@ -4877,7 +4982,8 @@ var FlaggedFeature = _zod.z.enum([
4877
4982
  "GradientPropsKeepAliases",
4878
4983
  "ShadowPropsKeepAliases",
4879
4984
  "NonCompatibleTypeChanges",
4880
- "TypographyUseFontStyle"
4985
+ "TypographyUseFontStyle",
4986
+ "FigmaImporterV3"
4881
4987
  ]);
4882
4988
  var FeatureFlagMap = _zod.z.record(FlaggedFeature, _zod.z.boolean());
4883
4989
  var FeatureFlag = _zod.z.object({
@@ -5000,118 +5106,106 @@ var PersonalAccessToken = _zod.z.object({
5000
5106
  });
5001
5107
 
5002
5108
  // src/api/conversion/analytics/page-visits-to-dto.ts
5003
- function pageVisitsToDto(entries) {
5004
- const result = [];
5005
- const { userBasedEntries, sessionLessResults } = splitEntries(entries);
5006
- result.push(...sessionLessResults);
5007
- const userBasedPageVisitsGroupedByDate = groupBy(
5008
- userBasedEntries,
5009
- (entry) => getTimestampKey(entry.timestamp)
5010
- // Need to group by date and hour.
5109
+ function documentationAnalyticsToGlobalDto(entries) {
5110
+ return squashAndConvertToDto(entries);
5111
+ }
5112
+ function documentationAnalyticsToPageDto(entries) {
5113
+ const byPageIdEntries = Array.from(groupBy(entries, (e) => e.pagePersistentId).entries());
5114
+ byPageIdEntries.sort((lhs, rhs) => lhs[0].localeCompare(rhs[0]));
5115
+ return byPageIdEntries.flatMap(([pagePersistentId, entries2]) => {
5116
+ const dtoWithoutPageId = squashAndConvertToDto(entries2);
5117
+ return dtoWithoutPageId.map((dto) => ({ ...dto, pagePersistentId }));
5118
+ });
5119
+ }
5120
+ function squashAndConvertToDto(entries) {
5121
+ const byDay = groupBy(entries, (e) => getStartOfUTCDay(e.timestamp));
5122
+ const obj = Object.fromEntries(
5123
+ Array.from(byDay.entries()).map(([date, values]) => [new Date(date).toISOString(), values.length])
5011
5124
  );
5012
- for (const date of userBasedPageVisitsGroupedByDate.keys()) {
5013
- const pageData = userBasedPageVisitsGroupedByDate.get(date);
5014
- if (!pageData) {
5015
- throw SupernovaException.shouldNotHappen();
5016
- }
5017
- const { visitsPerPage, sessionsPerPage } = aggregatePageVisitsAndSessions(pageData);
5018
- const pageDataGroupedByPageId = groupBy(
5019
- pageData,
5020
- (entry) => entry.pagePersistentId
5021
- );
5022
- const pagePersistentIds = pageDataGroupedByPageId.keys();
5023
- for (const id of pagePersistentIds) {
5024
- const pageData2 = pageDataGroupedByPageId.get(id);
5025
- if (!pageData2) {
5026
- throw SupernovaException.shouldNotHappen();
5027
- }
5028
- const entry = pageData2[0];
5029
- if (!entry) {
5030
- throw SupernovaException.shouldNotHappen();
5031
- }
5032
- result.push({
5033
- versionId: entry.versionId,
5034
- pagePersistentId: entry.pagePersistentId,
5035
- timestamp: entry.timestamp,
5036
- visits: _nullishCoalesce(visitsPerPage.get(id), () => ( 0)),
5037
- sessions: _nullishCoalesce(sessionsPerPage.get(id), () => ( 0)),
5038
- locale: entry.locale
5039
- });
5040
- }
5041
- }
5042
- return result;
5125
+ return Array.from(byDay.entries()).map(([startOfDay, dayEntries]) => {
5126
+ const firstEntry = dayEntries[0];
5127
+ const uniqueSessions = new Set(dayEntries.map((e) => e.anonymousId).filter(nonNullFilter)).size;
5128
+ const visitsSum = dayEntries.reduce((prev, curr) => prev + curr.visits, 0);
5129
+ return {
5130
+ versionId: firstEntry.versionId,
5131
+ locale: firstEntry.locale,
5132
+ timestamp: new Date(startOfDay),
5133
+ sessions: uniqueSessions,
5134
+ visits: visitsSum
5135
+ };
5136
+ });
5043
5137
  }
5044
- function calculateChangeOverTime(currentIntervalData, priorIntervalData, priorIntervalStartDate, priorIntervalEndDate) {
5045
- let priorIntervalVisits = 0;
5046
- let priorIntervalSessions = 0;
5047
- for (const v of priorIntervalData) {
5048
- priorIntervalVisits += v.visits;
5049
- priorIntervalSessions += v.sessions;
5050
- }
5051
- let currentIntervalVisits = 0;
5052
- let currentIntervalSessions = 0;
5053
- for (const v of currentIntervalData) {
5054
- currentIntervalVisits += v.visits;
5055
- currentIntervalSessions += v.sessions;
5056
- }
5057
- return {
5058
- priorVisitCount: priorIntervalVisits,
5059
- priorSessionCount: priorIntervalSessions,
5060
- currentVisitCount: currentIntervalVisits,
5061
- currentSessionCount: currentIntervalSessions,
5062
- startDate: priorIntervalStartDate,
5063
- endDate: priorIntervalEndDate
5064
- };
5138
+ function getStartOfUTCDay(date) {
5139
+ const year = date.getUTCFullYear();
5140
+ const month = date.getUTCMonth();
5141
+ const day = date.getUTCDate();
5142
+ return Date.UTC(year, month, day, 0, 0, 0, 0);
5065
5143
  }
5066
- function getTimestampKey(timestamp) {
5067
- const date = timestamp.toISOString().split("T")[0];
5068
- const hour = timestamp.toISOString().split("T")[1].split(":")[0];
5069
- return `${date}:${hour}`;
5070
- }
5071
- function aggregatePageVisitsAndSessions(pageData) {
5072
- const visitsPerPage = /* @__PURE__ */ new Map();
5073
- const sessionsPerPage = /* @__PURE__ */ new Map();
5074
- const uniqueSessions = /* @__PURE__ */ new Set();
5075
- for (const entry of pageData) {
5076
- const pageId = entry.pagePersistentId;
5077
- const visits = entry.visits;
5078
- const currentSessionIdsLength = uniqueSessions.size;
5079
- if (!entry.anonymousId) {
5080
- throw SupernovaException.shouldNotHappen();
5081
- }
5082
- uniqueSessions.add(entry.anonymousId);
5083
- const newSessionIdsLength = uniqueSessions.size;
5084
- if (newSessionIdsLength > currentSessionIdsLength) {
5085
- sessionsPerPage.set(pageId, (_nullishCoalesce(sessionsPerPage.get(pageId), () => ( 0))) + 1);
5086
- }
5087
- visitsPerPage.set(pageId, (_nullishCoalesce(visitsPerPage.get(pageId), () => ( 0))) + visits);
5088
- }
5144
+
5145
+ // src/api/conversion/analytics/page-visits-to-comparison-dto.ts
5146
+ function documentationAnalyticsToComparisonDto(input) {
5147
+ const { timeFrame } = input;
5148
+ const priorDataPoints = documentationAnalyticsToGlobalDto(input.priorDataPoints);
5149
+ const currentDataPoints = documentationAnalyticsToGlobalDto(input.currentDataPoints);
5089
5150
  return {
5090
- visitsPerPage,
5091
- sessionsPerPage
5151
+ timeFrame,
5152
+ priorSessionCount: priorDataPoints.reduce((sum, d) => sum + d.sessions, 0),
5153
+ priorVisitCount: priorDataPoints.reduce((sum, d) => sum + d.visits, 0),
5154
+ currentSessionCount: currentDataPoints.reduce((sum, d) => sum + d.sessions, 0),
5155
+ currentVisitCount: currentDataPoints.reduce((sum, d) => sum + d.visits, 0)
5092
5156
  };
5093
5157
  }
5094
- function splitEntries(entries) {
5095
- const sessionLessResults = [];
5096
- const dataCopy = [...entries];
5097
- const userBasedEntries = dataCopy.filter((entry) => entry.anonymousId);
5098
- for (const entry of dataCopy) {
5099
- if (!entry.anonymousId) {
5100
- sessionLessResults.push({
5101
- versionId: entry.versionId,
5102
- pagePersistentId: entry.pagePersistentId,
5103
- timestamp: entry.timestamp,
5104
- visits: entry.visits,
5105
- sessions: 0,
5106
- locale: entry.locale
5107
- });
5108
- }
5109
- }
5158
+
5159
+ // src/api/conversion/analytics/page-visits-to-heatmap-dto.ts
5160
+ function documentationAnalyticsToHeatMapDto(entries, timeFrame) {
5161
+ const byWeekDay = groupBy(entries, (e) => e.timestamp.getUTCDay());
5110
5162
  return {
5111
- userBasedEntries,
5112
- sessionLessResults
5163
+ timeFrame,
5164
+ mon: entriesToHeatmapDay(byWeekDay.get(1)),
5165
+ tue: entriesToHeatmapDay(byWeekDay.get(2)),
5166
+ wed: entriesToHeatmapDay(byWeekDay.get(3)),
5167
+ thu: entriesToHeatmapDay(byWeekDay.get(4)),
5168
+ fri: entriesToHeatmapDay(byWeekDay.get(5)),
5169
+ sat: entriesToHeatmapDay(byWeekDay.get(6)),
5170
+ sun: entriesToHeatmapDay(byWeekDay.get(7))
5113
5171
  };
5114
5172
  }
5173
+ function entriesToHeatmapDay(entries) {
5174
+ const byHour = groupBy(_nullishCoalesce(entries, () => ( [])), (e) => e.timestamp.getUTCHours());
5175
+ return [
5176
+ sumVisits(byHour.get(0), byHour.get(1)),
5177
+ // 0am-2am
5178
+ sumVisits(byHour.get(2), byHour.get(3)),
5179
+ // 2am-4am
5180
+ sumVisits(byHour.get(4), byHour.get(5)),
5181
+ // 4am-6am
5182
+ sumVisits(byHour.get(6), byHour.get(7)),
5183
+ // 6am-6am
5184
+ sumVisits(byHour.get(8), byHour.get(9)),
5185
+ // 8am-6am
5186
+ sumVisits(byHour.get(10), byHour.get(11)),
5187
+ // 10am-12pm
5188
+ sumVisits(byHour.get(12), byHour.get(13)),
5189
+ // 12pm-2pm
5190
+ sumVisits(byHour.get(14), byHour.get(15)),
5191
+ // 2pm-4pm
5192
+ sumVisits(byHour.get(16), byHour.get(17)),
5193
+ // 4pm-6pm
5194
+ sumVisits(byHour.get(18), byHour.get(19)),
5195
+ // 6pm-8pm
5196
+ sumVisits(byHour.get(20), byHour.get(21)),
5197
+ // 8pm-10pm
5198
+ sumVisits(byHour.get(22), byHour.get(23))
5199
+ // 10pm-12pm
5200
+ ];
5201
+ }
5202
+ function sumVisits(...entryArrays) {
5203
+ let sum = 0;
5204
+ entryArrays.forEach((a) => {
5205
+ _optionalChain([a, 'optionalAccess', _6 => _6.forEach, 'call', _7 => _7((e) => sum += e.visits)]);
5206
+ });
5207
+ return sum;
5208
+ }
5115
5209
 
5116
5210
  // src/api/conversion/documentation/documentation-item-configuration-v1-to-dto.ts
5117
5211
  var getDtoDefaultItemConfigurationV1 = () => ({
@@ -5179,7 +5273,7 @@ function calculateElementParentChain(elementParentPersistentId, groupPersistentI
5179
5273
  while (parentId) {
5180
5274
  const parent = groupPersistentIdToGroupMap.get(parentId);
5181
5275
  if (parent) result.push(parent);
5182
- parentId = _optionalChain([parent, 'optionalAccess', _6 => _6.parentPersistentId]);
5276
+ parentId = _optionalChain([parent, 'optionalAccess', _8 => _8.parentPersistentId]);
5183
5277
  }
5184
5278
  return result;
5185
5279
  }
@@ -5188,7 +5282,7 @@ function applyPrivacyConfigurationToNestedItems(pages, groups, getDefaultItemCon
5188
5282
  ...group,
5189
5283
  data: {
5190
5284
  ...group.data,
5191
- configuration: _nullishCoalesce(_optionalChain([group, 'access', _7 => _7.data, 'optionalAccess', _8 => _8.configuration]), () => ( getDefaultItemConfiguration()))
5285
+ configuration: _nullishCoalesce(_optionalChain([group, 'access', _9 => _9.data, 'optionalAccess', _10 => _10.configuration]), () => ( getDefaultItemConfiguration()))
5192
5286
  }
5193
5287
  }));
5194
5288
  const groupPersistentIdToGroupMap = mapByUnique(fixedGroups, (group) => group.persistentId);
@@ -5199,8 +5293,8 @@ function applyPrivacyConfigurationToNestedItems(pages, groups, getDefaultItemCon
5199
5293
  while ((!isHidden || !isPrivate) && nextParentId) {
5200
5294
  const parent = groupPersistentIdToGroupMap.get(nextParentId);
5201
5295
  if (!parent) break;
5202
- isHidden = isHidden || _optionalChain([parent, 'access', _9 => _9.data, 'optionalAccess', _10 => _10.configuration, 'optionalAccess', _11 => _11.isHidden]) || false;
5203
- isPrivate = isPrivate || _optionalChain([parent, 'access', _12 => _12.data, 'optionalAccess', _13 => _13.configuration, 'optionalAccess', _14 => _14.isPrivate]) || false;
5296
+ isHidden = isHidden || _optionalChain([parent, 'access', _11 => _11.data, 'optionalAccess', _12 => _12.configuration, 'optionalAccess', _13 => _13.isHidden]) || false;
5297
+ isPrivate = isPrivate || _optionalChain([parent, 'access', _14 => _14.data, 'optionalAccess', _15 => _15.configuration, 'optionalAccess', _16 => _16.isPrivate]) || false;
5204
5298
  nextParentId = parent.parentPersistentId;
5205
5299
  }
5206
5300
  groupToFix.data.configuration.isHidden = isHidden;
@@ -5208,7 +5302,7 @@ function applyPrivacyConfigurationToNestedItems(pages, groups, getDefaultItemCon
5208
5302
  }
5209
5303
  const fixedPages = [];
5210
5304
  for (const page of pages) {
5211
- const configuration = _nullishCoalesce(_optionalChain([page, 'access', _15 => _15.data, 'optionalAccess', _16 => _16.configuration]), () => ( getDefaultItemConfiguration()));
5305
+ const configuration = _nullishCoalesce(_optionalChain([page, 'access', _17 => _17.data, 'optionalAccess', _18 => _18.configuration]), () => ( getDefaultItemConfiguration()));
5212
5306
  const parent = groupPersistentIdToGroupMap.get(page.parentPersistentId);
5213
5307
  fixedPages.push({
5214
5308
  ...page,
@@ -5216,8 +5310,8 @@ function applyPrivacyConfigurationToNestedItems(pages, groups, getDefaultItemCon
5216
5310
  ...page.data,
5217
5311
  configuration: {
5218
5312
  ...configuration,
5219
- isHidden: configuration.isHidden || _optionalChain([parent, 'optionalAccess', _17 => _17.data, 'optionalAccess', _18 => _18.configuration, 'optionalAccess', _19 => _19.isHidden]) || false,
5220
- isPrivate: configuration.isPrivate || _optionalChain([parent, 'optionalAccess', _20 => _20.data, 'optionalAccess', _21 => _21.configuration, 'optionalAccess', _22 => _22.isPrivate]) || false
5313
+ isHidden: configuration.isHidden || _optionalChain([parent, 'optionalAccess', _19 => _19.data, 'optionalAccess', _20 => _20.configuration, 'optionalAccess', _21 => _21.isHidden]) || false,
5314
+ isPrivate: configuration.isPrivate || _optionalChain([parent, 'optionalAccess', _22 => _22.data, 'optionalAccess', _23 => _23.configuration, 'optionalAccess', _24 => _24.isPrivate]) || false
5221
5315
  }
5222
5316
  }
5223
5317
  });
@@ -5235,7 +5329,7 @@ function elementGroupsToDocumentationGroupDTOV1(groups, pages) {
5235
5329
  return groups.map((group) => {
5236
5330
  return {
5237
5331
  ...elementGroupToDocumentationGroupStructureDTOV1(group, childrenIdsMap),
5238
- configuration: documentationItemConfigurationToDTOV1(_optionalChain([group, 'access', _23 => _23.data, 'optionalAccess', _24 => _24.configuration]))
5332
+ configuration: documentationItemConfigurationToDTOV1(_optionalChain([group, 'access', _25 => _25.data, 'optionalAccess', _26 => _26.configuration]))
5239
5333
  };
5240
5334
  });
5241
5335
  }
@@ -5243,7 +5337,7 @@ function elementGroupsToDocumentationGroupFixedConfigurationDTOV1(groups, pages)
5243
5337
  const childrenIdsMap = calculateChildrenIdsMapV1(pages, groups);
5244
5338
  const { groups: fixedGroups } = applyPrivacyConfigurationToNestedItems(pages, groups, getDtoDefaultItemConfigurationV1);
5245
5339
  return fixedGroups.map((group) => {
5246
- const configuration = documentationItemConfigurationToDTOV1(_optionalChain([group, 'access', _25 => _25.data, 'optionalAccess', _26 => _26.configuration]));
5340
+ const configuration = documentationItemConfigurationToDTOV1(_optionalChain([group, 'access', _27 => _27.data, 'optionalAccess', _28 => _28.configuration]));
5247
5341
  return {
5248
5342
  ...elementGroupToDocumentationGroupStructureDTOV1(group, childrenIdsMap),
5249
5343
  // backward compatibility with custom doc exporters, anyway these groups will not be shown, so we can adjust title
@@ -5268,7 +5362,7 @@ function elementGroupToDocumentationGroupStructureDTOV1(group, childrenIdsMap) {
5268
5362
  title: group.meta.name,
5269
5363
  childrenIds,
5270
5364
  isRoot: !group.parentPersistentId,
5271
- groupBehavior: _nullishCoalesce(_optionalChain([group, 'access', _27 => _27.data, 'optionalAccess', _28 => _28.behavior]), () => ( "Group")),
5365
+ groupBehavior: _nullishCoalesce(_optionalChain([group, 'access', _29 => _29.data, 'optionalAccess', _30 => _30.behavior]), () => ( "Group")),
5272
5366
  shortPersistentId: group.shortPersistentId,
5273
5367
  type: "Group"
5274
5368
  };
@@ -5335,10 +5429,10 @@ function elementGroupToDocumentationGroupStructureDTOV2(group, childrenIdsMap) {
5335
5429
  createdAt: group.createdAt,
5336
5430
  updatedAt: group.updatedAt,
5337
5431
  title: group.meta.name,
5338
- configuration: documentationItemConfigurationToDTOV2(_optionalChain([group, 'optionalAccess', _29 => _29.data, 'optionalAccess', _30 => _30.configuration])),
5432
+ configuration: documentationItemConfigurationToDTOV2(_optionalChain([group, 'optionalAccess', _31 => _31.data, 'optionalAccess', _32 => _32.configuration])),
5339
5433
  childrenIds,
5340
5434
  isRoot: !group.parentPersistentId,
5341
- groupBehavior: _nullishCoalesce(_optionalChain([group, 'access', _31 => _31.data, 'optionalAccess', _32 => _32.behavior]), () => ( "Group")),
5435
+ groupBehavior: _nullishCoalesce(_optionalChain([group, 'access', _33 => _33.data, 'optionalAccess', _34 => _34.behavior]), () => ( "Group")),
5342
5436
  shortPersistentId: group.shortPersistentId,
5343
5437
  type: "Group"
5344
5438
  };
@@ -5491,7 +5585,7 @@ function integrationToDto(integration) {
5491
5585
  workspaceId: integration.workspaceId,
5492
5586
  type: integration.type,
5493
5587
  createdAt: integration.createdAt,
5494
- integrationCredentials: _optionalChain([integration, 'access', _33 => _33.integrationCredentials, 'optionalAccess', _34 => _34.map, 'call', _35 => _35(integrationCredentialToDto)]),
5588
+ integrationCredentials: _optionalChain([integration, 'access', _35 => _35.integrationCredentials, 'optionalAccess', _36 => _36.map, 'call', _37 => _37(integrationCredentialToDto)]),
5495
5589
  integrationDesignSystems: _nullishCoalesce(integration.integrationDesignSystems, () => ( void 0))
5496
5590
  };
5497
5591
  }
@@ -5561,16 +5655,11 @@ var DTOBrandUpdatePayload = _zod.z.object({
5561
5655
 
5562
5656
  // src/api/dto/design-systems/code-component.ts
5563
5657
 
5658
+ var DTOCodeComponentResolvedTypeKind = CodeComponentResolvedTypeKind;
5659
+ var DTOCodeComponentResolvedType = CodeComponentResolvedType;
5660
+ var DTOCodeComponentParentType = CodeComponentParentType;
5564
5661
  var DTOCodeComponentProperty = CodeComponentProperty;
5565
- var DTOCodeComponent = _zod.z.object({
5566
- id: _zod.z.string(),
5567
- designSystemVersionId: _zod.z.string(),
5568
- persistentId: _zod.z.string(),
5569
- createdAt: _zod.z.coerce.date(),
5570
- updatedAt: _zod.z.coerce.date(),
5571
- exportName: _zod.z.string(),
5572
- properties: _zod.z.record(_zod.z.string(), DTOCodeComponentProperty)
5573
- });
5662
+ var DTOCodeComponent = CodeComponent;
5574
5663
  var DTOCodeComponentResponse = _zod.z.object({
5575
5664
  codeComponent: DTOCodeComponent
5576
5665
  });
@@ -5580,11 +5669,15 @@ var DTOCodeComponentListResponse = _zod.z.object({
5580
5669
  var DTOCodeComponentCreateInput = _zod.z.object({
5581
5670
  persistentId: _zod.z.string(),
5582
5671
  exportName: _zod.z.string(),
5583
- properties: _zod.z.record(_zod.z.string(), DTOCodeComponentProperty)
5672
+ componentPath: _zod.z.string(),
5673
+ description: _zod.z.string(),
5674
+ properties: _zod.z.record(_zod.z.string(), DTOCodeComponentProperty),
5675
+ tags: _zod.z.record(_zod.z.string(), _zod.z.string()).optional()
5584
5676
  });
5585
5677
  var DTOCodeComponentsCreateInput = _zod.z.object({
5586
5678
  codeComponents: DTOCodeComponentCreateInput.array()
5587
5679
  });
5680
+ var DTOCodeComponentUpsertResponse = CodeComponentUpsertResponse;
5588
5681
 
5589
5682
  // src/api/dto/design-systems/component.ts
5590
5683
 
@@ -6153,17 +6246,15 @@ var DTOUpdateVersionInput = _zod.z.object({
6153
6246
 
6154
6247
  // src/api/payloads/documentation/analytics.ts
6155
6248
 
6156
- var DTODocumentationAnalyticsTimeFrame = _zod.z.object({
6157
- start: _zod.z.coerce.date(),
6158
- end: _zod.z.coerce.date()
6159
- });
6160
- var DTODocumentationAnalyticsQueryParams = _zod.z.object({
6161
- start: _zod.z.coerce.date(),
6162
- end: _zod.z.coerce.date().optional()
6163
- });
6164
6249
  var DTODocumentationAnalyticsTimeFrameComparison = _zod.z.object({
6165
- referencePeriod: DTODocumentationAnalyticsTimeFrame,
6166
- baselinePeriod: DTODocumentationAnalyticsTimeFrame
6250
+ referencePeriod: _zod.z.object({
6251
+ start: _zod.z.coerce.date(),
6252
+ end: _zod.z.coerce.date().optional()
6253
+ }),
6254
+ baselinePeriod: _zod.z.object({
6255
+ start: _zod.z.coerce.date(),
6256
+ end: _zod.z.coerce.date().optional()
6257
+ })
6167
6258
  });
6168
6259
  var DTODocumentationAnalyticsDiffPayload = _zod.z.object({
6169
6260
  timeFrames: _zod.z.array(DTODocumentationAnalyticsTimeFrameComparison)
@@ -6401,7 +6492,6 @@ var DTOWorkspaceIntegrationOauthInput = _zod.z.object({
6401
6492
  type: IntegrationType
6402
6493
  });
6403
6494
  var DTOWorkspaceIntegrationPATInput = _zod.z.object({
6404
- userId: _zod.z.string(),
6405
6495
  type: IntegrationType,
6406
6496
  token: IntegrationToken
6407
6497
  });
@@ -6728,27 +6818,76 @@ var DTODesignTokenGroupCreatePayload = _zod.z.object({
6728
6818
  childrenIds: _zod.z.string().array()
6729
6819
  });
6730
6820
 
6731
- // src/api/dto/documentation/analytics.ts
6821
+ // src/api/dto/documentation/analytics-v2.ts
6732
6822
 
6733
- var DTOPublishedDocPageVisitData = _zod.z.object({
6823
+ var DTODocumentationAnalyticsTimeFrame = _zod.z.object({
6824
+ start: _zod.z.coerce.date(),
6825
+ end: _zod.z.coerce.date().optional()
6826
+ });
6827
+ var DTOPublishedDocVisitData = _zod.z.object({
6828
+ timestamp: _zod.z.coerce.date(),
6734
6829
  versionId: _zod.z.string(),
6735
- pagePersistentId: _zod.z.string(),
6736
6830
  locale: _zod.z.string().optional(),
6737
- timestamp: _zod.z.coerce.date(),
6738
6831
  visits: _zod.z.number(),
6739
6832
  sessions: _zod.z.number()
6740
6833
  });
6834
+ var DTOPublishedDocPageVisitData = DTOPublishedDocVisitData.extend({
6835
+ pagePersistentId: _zod.z.string()
6836
+ });
6837
+ var DTOPublishedDocVisitHeatMapDay = _zod.z.number().array().length(12);
6838
+ var DTOPublishedDocVisitHeatMapWeek = _zod.z.object({
6839
+ /**
6840
+ * For which timeframe it was calculated
6841
+ */
6842
+ timeFrame: DTODocumentationAnalyticsTimeFrame,
6843
+ mon: DTOPublishedDocVisitHeatMapDay,
6844
+ tue: DTOPublishedDocVisitHeatMapDay,
6845
+ wed: DTOPublishedDocVisitHeatMapDay,
6846
+ thu: DTOPublishedDocVisitHeatMapDay,
6847
+ fri: DTOPublishedDocVisitHeatMapDay,
6848
+ sat: DTOPublishedDocVisitHeatMapDay,
6849
+ sun: DTOPublishedDocVisitHeatMapDay
6850
+ });
6851
+ var DTOPubishedDocAnalyticsComparisonData = _zod.z.object({
6852
+ /**
6853
+ * For which timeframe it was calculated
6854
+ */
6855
+ timeFrame: DTODocumentationAnalyticsTimeFrame,
6856
+ priorVisitCount: _zod.z.number(),
6857
+ priorSessionCount: _zod.z.number(),
6858
+ currentVisitCount: _zod.z.number(),
6859
+ currentSessionCount: _zod.z.number()
6860
+ });
6861
+ var DTODocumentationPageAnalyticsResponse = _zod.z.object({
6862
+ // Old
6863
+ /**
6864
+ * @deprecated
6865
+ */
6866
+ analytics: _zod.z.array(DTOPublishedDocPageVisitData),
6867
+ /**
6868
+ * @deprecated
6869
+ */
6870
+ perPageAnalytics: DTOPublishedDocPageVisitData.array(),
6871
+ // New
6872
+ globalAnalytics: DTOPublishedDocVisitData.array(),
6873
+ pageAnalytics: DTOPublishedDocPageVisitData.array(),
6874
+ heatMapData: DTOPublishedDocVisitHeatMapWeek.array(),
6875
+ comparisonData: DTOPubishedDocAnalyticsComparisonData.array()
6876
+ });
6877
+ var DTODocumentationAnalyticsRequest = _zod.z.object({
6878
+ timeFrames: _zod.z.array(DTODocumentationAnalyticsTimeFrame)
6879
+ });
6880
+
6881
+ // src/api/dto/documentation/analytics.ts
6882
+
6741
6883
  var DTODocumentationPageAnalyticsDifference = _zod.z.object({
6742
6884
  startDate: _zod.z.coerce.date(),
6743
- endDate: _zod.z.coerce.date(),
6885
+ endDate: _zod.z.coerce.date().optional(),
6744
6886
  currentVisitCount: _zod.z.number(),
6745
6887
  currentSessionCount: _zod.z.number(),
6746
6888
  priorVisitCount: _zod.z.number(),
6747
6889
  priorSessionCount: _zod.z.number()
6748
6890
  });
6749
- var DTODocumentationPageAnalyticsResponse = _zod.z.object({
6750
- analytics: _zod.z.array(DTOPublishedDocPageVisitData)
6751
- });
6752
6891
  var DTODocumentationPageIntervalDifferenceResponse = _zod.z.object({
6753
6892
  differences: _zod.z.array(DTODocumentationPageAnalyticsDifference)
6754
6893
  });
@@ -8224,7 +8363,7 @@ var CodeComponentsEndpoint = class {
8224
8363
  async import(dsId, vId, body) {
8225
8364
  return this.requestExecutor.json(
8226
8365
  `/design-systems/${dsId}/versions/${vId}/code-components`,
8227
- DTOCodeComponentListResponse,
8366
+ DTOCodeComponentUpsertResponse,
8228
8367
  {
8229
8368
  body,
8230
8369
  method: "POST"
@@ -8665,17 +8804,11 @@ var DesignSystemAnalyticsEndpoint = class {
8665
8804
  constructor(requestExecutor) {
8666
8805
  this.requestExecutor = requestExecutor;
8667
8806
  }
8668
- get(designSystemId, versionId, query) {
8807
+ get(designSystemId, versionId, body) {
8669
8808
  return this.requestExecutor.json(
8670
8809
  `/design-systems/${designSystemId}/versions/${versionId}/documentation/analytics`,
8671
8810
  DTODocumentationPageAnalyticsResponse,
8672
- {
8673
- method: "GET",
8674
- query: new URLSearchParams({
8675
- start: query.start.toISOString(),
8676
- ...query.end && { end: query.end.toISOString() }
8677
- })
8678
- }
8811
+ { method: "POST", body }
8679
8812
  );
8680
8813
  }
8681
8814
  };
@@ -9129,7 +9262,7 @@ var RequestExecutor = class {
9129
9262
  }
9130
9263
  fullUrl(path, query) {
9131
9264
  let url = `https://${this.testServerConfig.host}/api/v2${path}`;
9132
- const queryString = _optionalChain([query, 'optionalAccess', _36 => _36.toString, 'call', _37 => _37()]);
9265
+ const queryString = _optionalChain([query, 'optionalAccess', _38 => _38.toString, 'call', _39 => _39()]);
9133
9266
  if (queryString) url += `?${queryString}`;
9134
9267
  return url;
9135
9268
  }
@@ -9459,7 +9592,7 @@ function buildPageDraftCreatedAndUpdatedStates(pages, pageSnapshots, pageHashes,
9459
9592
  if (snapshot) {
9460
9593
  publishedState = itemStateFromPage(snapshot.page, snapshot.pageContentHash);
9461
9594
  }
9462
- const currentPageContentHash = _nullishCoalesce(_nullishCoalesce(pageHashes[page.persistentId], () => ( _optionalChain([snapshot, 'optionalAccess', _38 => _38.pageContentHash]))), () => ( ""));
9595
+ const currentPageContentHash = _nullishCoalesce(_nullishCoalesce(pageHashes[page.persistentId], () => ( _optionalChain([snapshot, 'optionalAccess', _40 => _40.pageContentHash]))), () => ( ""));
9463
9596
  const currentState = itemStateFromPage(page, currentPageContentHash);
9464
9597
  const draftState = createDraftState(page.persistentId, currentState, publishedState, debug);
9465
9598
  if (draftState) result.set(page.persistentId, draftState);
@@ -9592,7 +9725,7 @@ function buildGroupDraftCreatedAndUpdatedStates(groups, groupSnapshots, debug) {
9592
9725
  function itemStateFromGroup(group) {
9593
9726
  return {
9594
9727
  title: group.meta.name,
9595
- configuration: _nullishCoalesce(_optionalChain([group, 'access', _39 => _39.data, 'optionalAccess', _40 => _40.configuration]), () => ( defaultDocumentationItemConfigurationV2)),
9728
+ configuration: _nullishCoalesce(_optionalChain([group, 'access', _41 => _41.data, 'optionalAccess', _42 => _42.configuration]), () => ( defaultDocumentationItemConfigurationV2)),
9596
9729
  contentHash: "-"
9597
9730
  };
9598
9731
  }
@@ -9753,7 +9886,7 @@ var DTODocumentationPageRoomHeaderDataUpdate = _zod.z.object({
9753
9886
  function itemConfigurationToYjs(yDoc, item) {
9754
9887
  yDoc.transact((trx) => {
9755
9888
  const { title, configuration } = item;
9756
- const header = _optionalChain([configuration, 'optionalAccess', _41 => _41.header]);
9889
+ const header = _optionalChain([configuration, 'optionalAccess', _43 => _43.header]);
9757
9890
  if (title !== void 0) {
9758
9891
  const headerYMap = trx.doc.getMap("itemTitle");
9759
9892
  headerYMap.set("title", title);
@@ -9771,9 +9904,9 @@ function itemConfigurationToYjs(yDoc, item) {
9771
9904
  header.minHeight !== void 0 && headerYMap.set("minHeight", header.minHeight);
9772
9905
  }
9773
9906
  const configYMap = trx.doc.getMap("itemConfiguration");
9774
- _optionalChain([configuration, 'optionalAccess', _42 => _42.showSidebar]) !== void 0 && configYMap.set("showSidebar", configuration.showSidebar);
9775
- _optionalChain([configuration, 'optionalAccess', _43 => _43.isHidden]) !== void 0 && configYMap.set("isHidden", configuration.isHidden);
9776
- _optionalChain([configuration, 'optionalAccess', _44 => _44.isPrivate]) !== void 0 && configYMap.set("isPrivate", configuration.isPrivate);
9907
+ _optionalChain([configuration, 'optionalAccess', _44 => _44.showSidebar]) !== void 0 && configYMap.set("showSidebar", configuration.showSidebar);
9908
+ _optionalChain([configuration, 'optionalAccess', _45 => _45.isHidden]) !== void 0 && configYMap.set("isHidden", configuration.isHidden);
9909
+ _optionalChain([configuration, 'optionalAccess', _46 => _46.isPrivate]) !== void 0 && configYMap.set("isPrivate", configuration.isPrivate);
9777
9910
  });
9778
9911
  }
9779
9912
  function yjsToItemConfiguration(yDoc) {
@@ -10623,7 +10756,7 @@ var ListTreeBuilder = class {
10623
10756
  }
10624
10757
  addWithProperty(block, multiRichTextProperty) {
10625
10758
  const parsedOptions = PageBlockDefinitionMutiRichTextOptions.optional().parse(multiRichTextProperty.options);
10626
- return this.add(block, multiRichTextProperty.id, _optionalChain([parsedOptions, 'optionalAccess', _45 => _45.multiRichTextStyle]) || "OL");
10759
+ return this.add(block, multiRichTextProperty.id, _optionalChain([parsedOptions, 'optionalAccess', _47 => _47.multiRichTextStyle]) || "OL");
10627
10760
  }
10628
10761
  add(block, multiRichTextPropertyId, multiRichTextPropertyStyle) {
10629
10762
  const list = this.createList(block, multiRichTextPropertyId, multiRichTextPropertyStyle);
@@ -10638,7 +10771,7 @@ var ListTreeBuilder = class {
10638
10771
  }
10639
10772
  const listParent = this.getParentOfDepth(block.data.indentLevel);
10640
10773
  const lastChild = listParent.children[listParent.children.length - 1];
10641
- if (_optionalChain([lastChild, 'optionalAccess', _46 => _46.type]) === "List") {
10774
+ if (_optionalChain([lastChild, 'optionalAccess', _48 => _48.type]) === "List") {
10642
10775
  lastChild.children.push(...list.leadingChildren);
10643
10776
  return;
10644
10777
  } else {
@@ -10867,7 +11000,7 @@ function serializeAsRichTextBlock(input) {
10867
11000
  const textPropertyValue = BlockParsingUtils.richTextPropertyValue(blockItem, richTextProperty.id);
10868
11001
  const enrichedInput = { ...input, richTextPropertyValue: textPropertyValue };
10869
11002
  const parsedOptions = PageBlockDefinitionRichTextOptions.optional().parse(richTextProperty.options);
10870
- const style = _nullishCoalesce(_optionalChain([parsedOptions, 'optionalAccess', _47 => _47.richTextStyle]), () => ( "Default"));
11003
+ const style = _nullishCoalesce(_optionalChain([parsedOptions, 'optionalAccess', _49 => _49.richTextStyle]), () => ( "Default"));
10871
11004
  switch (style) {
10872
11005
  case "Callout":
10873
11006
  return serializeAsCallout(enrichedInput);
@@ -11091,7 +11224,7 @@ function serializeBlockNodeAttributes(block) {
11091
11224
  };
11092
11225
  }
11093
11226
  function richTextHeadingLevel(property) {
11094
- const style = _optionalChain([property, 'access', _48 => _48.options, 'optionalAccess', _49 => _49.richTextStyle]);
11227
+ const style = _optionalChain([property, 'access', _50 => _50.options, 'optionalAccess', _51 => _51.richTextStyle]);
11095
11228
  if (!style) return void 0;
11096
11229
  switch (style) {
11097
11230
  case "Title1":
@@ -11210,7 +11343,7 @@ function serializeAsCustomBlock(block, definition) {
11210
11343
  linksTo: i.linksTo
11211
11344
  };
11212
11345
  });
11213
- const columns = _optionalChain([block, 'access', _50 => _50.data, 'access', _51 => _51.appearance, 'optionalAccess', _52 => _52.numberOfColumns]);
11346
+ const columns = _optionalChain([block, 'access', _52 => _52.data, 'access', _53 => _53.appearance, 'optionalAccess', _54 => _54.numberOfColumns]);
11214
11347
  return {
11215
11348
  type: serializeCustomBlockNodeType(block, definition),
11216
11349
  attrs: {
@@ -12225,23 +12358,68 @@ var blocks = [
12225
12358
  id: "embed",
12226
12359
  name: "Storybook URL",
12227
12360
  type: "Storybook",
12228
- options: { allowCaption: true, allowResize: true, defaultHeight: 400 }
12361
+ options: {
12362
+ allowCaption: true,
12363
+ allowResize: true,
12364
+ defaultHeight: 400,
12365
+ renderLayoutAs: "Iframe"
12366
+ },
12367
+ variantOptions: {
12368
+ playground: {
12369
+ renderLayoutAs: "Playground",
12370
+ defaultHeight: 400,
12371
+ allowResize: true
12372
+ }
12373
+ }
12229
12374
  }
12230
12375
  ],
12231
- appearance: { isBordered: true, hasBackground: false },
12376
+ appearance: {
12377
+ isBordered: true,
12378
+ hasBackground: false
12379
+ },
12232
12380
  variants: [
12381
+ {
12382
+ id: "playground",
12383
+ name: "Playground",
12384
+ image: "https://cdn-assets.supernova.io/blocks/variants/storybook-playground.svg",
12385
+ description: "Embed a Storybook story with a preview of the component and controls to adjust the props.",
12386
+ layout: {
12387
+ type: "Column",
12388
+ children: ["embed"],
12389
+ columnAlign: "Start",
12390
+ columnResizing: "Fill",
12391
+ gap: "Medium"
12392
+ },
12393
+ maxColumns: 1,
12394
+ defaultColumns: 1,
12395
+ appearance: {}
12396
+ },
12233
12397
  {
12234
12398
  id: "default",
12235
- name: "Default",
12236
- layout: { type: "Column", children: ["embed"], columnAlign: "Start", columnResizing: "Fill", gap: "Medium" },
12399
+ name: "HTML iframe",
12400
+ image: "https://cdn-assets.supernova.io/blocks/variants/storybook-iframe.svg",
12401
+ description: "Embed a Storybook story in an iframe.",
12402
+ layout: {
12403
+ type: "Column",
12404
+ children: ["embed"],
12405
+ columnAlign: "Start",
12406
+ columnResizing: "Fill",
12407
+ gap: "Medium"
12408
+ },
12237
12409
  maxColumns: 1,
12238
12410
  defaultColumns: 1,
12239
12411
  appearance: {}
12240
12412
  }
12241
12413
  ],
12242
- defaultVariantKey: "default"
12414
+ defaultVariantKey: "playground"
12415
+ },
12416
+ behavior: {
12417
+ dataType: "Item",
12418
+ items: {
12419
+ numberOfItems: 1,
12420
+ allowLinks: false
12421
+ }
12243
12422
  },
12244
- behavior: { dataType: "Item", items: { numberOfItems: 1, allowLinks: false } },
12245
12423
  editorOptions: {
12246
12424
  onboarding: {
12247
12425
  helpText: "Embed a Storybook story to your documentation.",
@@ -13377,7 +13555,7 @@ function shallowProsemirrorNodeToBlock(prosemirrorNode, definition) {
13377
13555
  }
13378
13556
  function prosemirrorDocToRichTextPropertyValue(prosemirrorNode) {
13379
13557
  return {
13380
- value: (_nullishCoalesce(prosemirrorNode.content, () => ( []))).map((n) => prosemirrorNodeToRichTextEditorPropertyNode(n)).filter(nonNullFilter)
13558
+ value: (_nullishCoalesce(prosemirrorNode.content, () => ( []))).map((n) => prosemirrorNodeToRichTextEditorPropertyNode(n)).filter(nonNullFilter2)
13381
13559
  };
13382
13560
  }
13383
13561
  function prosemirrorNodeToRichTextEditorPropertyNode(prosemirrorNode) {
@@ -13401,12 +13579,12 @@ function parseAsListNode(prosemirrorNode) {
13401
13579
  return {
13402
13580
  type: "List",
13403
13581
  listType: prosemirrorNode.type === "orderedList" ? "OL" : "UL",
13404
- value: (_nullishCoalesce(prosemirrorNode.content, () => ( []))).map(parseAsListNodeItem).filter(nonNullFilter)
13582
+ value: (_nullishCoalesce(prosemirrorNode.content, () => ( []))).map(parseAsListNodeItem).filter(nonNullFilter2)
13405
13583
  };
13406
13584
  }
13407
13585
  function parseAsListNodeItem(prosemirrorNode) {
13408
13586
  if (prosemirrorNode.type !== "listItem") return null;
13409
- const firstChild = _optionalChain([prosemirrorNode, 'access', _53 => _53.content, 'optionalAccess', _54 => _54[0]]);
13587
+ const firstChild = _optionalChain([prosemirrorNode, 'access', _55 => _55.content, 'optionalAccess', _56 => _56[0]]);
13410
13588
  if (!firstChild || firstChild.type !== "paragraph") return null;
13411
13589
  return parseRichText(_nullishCoalesce(firstChild.content, () => ( [])));
13412
13590
  }
@@ -13426,7 +13604,7 @@ function internalProsemirrorNodeToSection(prosemirrorNode, definitionsMap) {
13426
13604
  contentExpandToEdges: true,
13427
13605
  expandToEdges: true
13428
13606
  },
13429
- items: (_nullishCoalesce(prosemirrorNode.content, () => ( []))).filter((c) => c.type === "sectionItem").map((c) => prosemirrorNodeToSectionItem(c, definitionsMap)).filter(nonNullFilter)
13607
+ items: (_nullishCoalesce(prosemirrorNode.content, () => ( []))).filter((c) => c.type === "sectionItem").map((c) => prosemirrorNodeToSectionItem(c, definitionsMap)).filter(nonNullFilter2)
13430
13608
  };
13431
13609
  }
13432
13610
  function prosemirrorNodeToSectionItem(prosemirrorNode, definitionsMap) {
@@ -13435,7 +13613,7 @@ function prosemirrorNodeToSectionItem(prosemirrorNode, definitionsMap) {
13435
13613
  return {
13436
13614
  id,
13437
13615
  title: _nullishCoalesce(getProsemirrorAttribute(prosemirrorNode, "title", _zod.z.string()), () => ( "")),
13438
- columns: (_nullishCoalesce(prosemirrorNode.content, () => ( []))).filter((c) => c.type === "sectionItemColumn").map((c) => prosemirrorNodeToSectionColumns(c, definitionsMap)).filter(nonNullFilter)
13616
+ columns: (_nullishCoalesce(prosemirrorNode.content, () => ( []))).filter((c) => c.type === "sectionItemColumn").map((c) => prosemirrorNodeToSectionColumns(c, definitionsMap)).filter(nonNullFilter2)
13439
13617
  };
13440
13618
  }
13441
13619
  function prosemirrorNodeToSectionColumns(prosemirrorNode, definitionsMap) {
@@ -13554,9 +13732,9 @@ function parseAsMultiRichText(prosemirrorNode, definition, property, definitions
13554
13732
  const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
13555
13733
  const result = [];
13556
13734
  const listItems = [];
13557
- _optionalChain([prosemirrorNode, 'access', _55 => _55.content, 'optionalAccess', _56 => _56.forEach, 'call', _57 => _57((c) => {
13735
+ _optionalChain([prosemirrorNode, 'access', _57 => _57.content, 'optionalAccess', _58 => _58.forEach, 'call', _59 => _59((c) => {
13558
13736
  if (c.type !== "listItem") return;
13559
- _optionalChain([c, 'access', _58 => _58.content, 'optionalAccess', _59 => _59.forEach, 'call', _60 => _60((cc) => {
13737
+ _optionalChain([c, 'access', _60 => _60.content, 'optionalAccess', _61 => _61.forEach, 'call', _62 => _62((cc) => {
13560
13738
  listItems.push(cc);
13561
13739
  })]);
13562
13740
  })]);
@@ -13600,7 +13778,7 @@ function parseAsMultiRichText(prosemirrorNode, definition, property, definitions
13600
13778
  }
13601
13779
  function parseRichText(spans) {
13602
13780
  return {
13603
- spans: spans.map(parseRichTextSpan).filter(nonNullFilter)
13781
+ spans: spans.map(parseRichTextSpan).filter(nonNullFilter2)
13604
13782
  };
13605
13783
  }
13606
13784
  function parseRichTextSpan(span) {
@@ -13611,7 +13789,7 @@ function parseRichTextSpan(span) {
13611
13789
  const marks = _nullishCoalesce(span.marks, () => ( []));
13612
13790
  return {
13613
13791
  text: span.text,
13614
- attributes: marks.map(parseRichTextAttribute).filter(nonNullFilter)
13792
+ attributes: marks.map(parseRichTextAttribute).filter(nonNullFilter2)
13615
13793
  };
13616
13794
  }
13617
13795
  function parseRichTextAttribute(mark) {
@@ -13667,17 +13845,17 @@ function parseAsTable(prosemirrorNode, definition, property) {
13667
13845
  if (!id) return null;
13668
13846
  const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
13669
13847
  const hasBorder = getProsemirrorAttribute(prosemirrorNode, "hasBorder", _zod.z.boolean().optional()) !== false;
13670
- const tableChild = _optionalChain([prosemirrorNode, 'access', _61 => _61.content, 'optionalAccess', _62 => _62.find, 'call', _63 => _63((c) => c.type === "table")]);
13848
+ const tableChild = _optionalChain([prosemirrorNode, 'access', _63 => _63.content, 'optionalAccess', _64 => _64.find, 'call', _65 => _65((c) => c.type === "table")]);
13671
13849
  if (!tableChild) {
13672
13850
  return emptyTable(id, variantId, 0);
13673
13851
  }
13674
- const rows = _nullishCoalesce(_optionalChain([tableChild, 'access', _64 => _64.content, 'optionalAccess', _65 => _65.filter, 'call', _66 => _66((c) => c.type === "tableRow" && !!_optionalChain([c, 'access', _67 => _67.content, 'optionalAccess', _68 => _68.length]))]), () => ( []));
13852
+ const rows = _nullishCoalesce(_optionalChain([tableChild, 'access', _66 => _66.content, 'optionalAccess', _67 => _67.filter, 'call', _68 => _68((c) => c.type === "tableRow" && !!_optionalChain([c, 'access', _69 => _69.content, 'optionalAccess', _70 => _70.length]))]), () => ( []));
13675
13853
  if (!rows.length) {
13676
13854
  return emptyTable(id, variantId, 0);
13677
13855
  }
13678
- const rowHeaderCells = _nullishCoalesce(_optionalChain([rows, 'access', _69 => _69[0], 'access', _70 => _70.content, 'optionalAccess', _71 => _71.filter, 'call', _72 => _72((c) => c.type === "tableHeader"), 'access', _73 => _73.length]), () => ( 0));
13679
- const columnHeaderCells = rows.filter((r) => _optionalChain([r, 'access', _74 => _74.content, 'optionalAccess', _75 => _75[0], 'optionalAccess', _76 => _76.type]) === "tableHeader").length;
13680
- const hasHeaderRow = _optionalChain([rows, 'access', _77 => _77[0], 'access', _78 => _78.content, 'optionalAccess', _79 => _79.length]) === rowHeaderCells;
13856
+ const rowHeaderCells = _nullishCoalesce(_optionalChain([rows, 'access', _71 => _71[0], 'access', _72 => _72.content, 'optionalAccess', _73 => _73.filter, 'call', _74 => _74((c) => c.type === "tableHeader"), 'access', _75 => _75.length]), () => ( 0));
13857
+ const columnHeaderCells = rows.filter((r) => _optionalChain([r, 'access', _76 => _76.content, 'optionalAccess', _77 => _77[0], 'optionalAccess', _78 => _78.type]) === "tableHeader").length;
13858
+ const hasHeaderRow = _optionalChain([rows, 'access', _79 => _79[0], 'access', _80 => _80.content, 'optionalAccess', _81 => _81.length]) === rowHeaderCells;
13681
13859
  const hasHeaderColumn = rows.length === columnHeaderCells;
13682
13860
  const tableValue = {
13683
13861
  showBorder: hasBorder,
@@ -13687,7 +13865,7 @@ function parseAsTable(prosemirrorNode, definition, property) {
13687
13865
  };
13688
13866
  tableValue.value = rows.map((row) => {
13689
13867
  return {
13690
- cells: (_nullishCoalesce(row.content, () => ( []))).map(parseAsTableCell).filter(nonNullFilter)
13868
+ cells: (_nullishCoalesce(row.content, () => ( []))).map(parseAsTableCell).filter(nonNullFilter2)
13691
13869
  };
13692
13870
  });
13693
13871
  return {
@@ -13718,7 +13896,7 @@ function parseAsTableCell(prosemirrorNode) {
13718
13896
  if (columnWidthArray) {
13719
13897
  columnWidth = roundDimension(columnWidthArray[0]);
13720
13898
  }
13721
- const tableNodes = (_nullishCoalesce(prosemirrorNode.content, () => ( []))).map(parseAsTableNode).filter(nonNullFilter);
13899
+ const tableNodes = (_nullishCoalesce(prosemirrorNode.content, () => ( []))).map(parseAsTableNode).filter(nonNullFilter2);
13722
13900
  return {
13723
13901
  id,
13724
13902
  alignment: parseTableCellAlignment(textAlign),
@@ -13754,7 +13932,7 @@ function parseAsTableNode(prosemirrorNode) {
13754
13932
  if (!items) return null;
13755
13933
  const parsedItems = PageBlockItemV2.array().safeParse(JSON.parse(items));
13756
13934
  if (!parsedItems.success) return null;
13757
- const rawImagePropertyValue = _optionalChain([parsedItems, 'access', _80 => _80.data, 'access', _81 => _81[0], 'optionalAccess', _82 => _82.props, 'access', _83 => _83.image]);
13935
+ const rawImagePropertyValue = _optionalChain([parsedItems, 'access', _82 => _82.data, 'access', _83 => _83[0], 'optionalAccess', _84 => _84.props, 'access', _85 => _85.image]);
13758
13936
  if (!rawImagePropertyValue) return null;
13759
13937
  const imagePropertyValueParseResult = PageBlockItemImageValue.safeParse(rawImagePropertyValue);
13760
13938
  if (!imagePropertyValueParseResult.success) return null;
@@ -13871,7 +14049,7 @@ function parseBlockItems(prosemirrorNode, definition) {
13871
14049
  console.error("Block `items` property must be a json array");
13872
14050
  return null;
13873
14051
  }
13874
- return itemsJson.map((i) => parseItem(i, definition)).filter(nonNullFilter);
14052
+ return itemsJson.map((i) => parseItem(i, definition)).filter(nonNullFilter2);
13875
14053
  }
13876
14054
  function parseAppearance(prosemirrorNode) {
13877
14055
  let appearance = {};
@@ -13912,7 +14090,12 @@ function parseItem(rawItem, definition) {
13912
14090
  if (validationResult.success) {
13913
14091
  sanitizedProps[property.id] = validationResult.data;
13914
14092
  } else {
13915
- console.log(validationResult.error.toString());
14093
+ if (property.type === "Storybook") {
14094
+ const oldParsed = PageBlockItemStorybookValueOld.safeParse(value);
14095
+ if (oldParsed.success) {
14096
+ sanitizedProps[property.id] = storybookValueFromOldValue(oldParsed.data);
14097
+ }
14098
+ }
13916
14099
  }
13917
14100
  }
13918
14101
  return {
@@ -13988,7 +14171,7 @@ function getProsemirrorBlockVariantId(prosemirrorNode) {
13988
14171
  return getProsemirrorAttribute(prosemirrorNode, "variantId", nullishToOptional(_zod.z.string()));
13989
14172
  }
13990
14173
  function getProsemirrorAttribute(prosemirrorNode, attributeName, validationSchema) {
13991
- const parsedAttr = validationSchema.safeParse(_optionalChain([prosemirrorNode, 'access', _84 => _84.attrs, 'optionalAccess', _85 => _85[attributeName]]));
14174
+ const parsedAttr = validationSchema.safeParse(_optionalChain([prosemirrorNode, 'access', _86 => _86.attrs, 'optionalAccess', _87 => _87[attributeName]]));
13992
14175
  if (parsedAttr.success) {
13993
14176
  return parsedAttr.data;
13994
14177
  } else {
@@ -13997,7 +14180,7 @@ function getProsemirrorAttribute(prosemirrorNode, attributeName, validationSchem
13997
14180
  return void 0;
13998
14181
  }
13999
14182
  }
14000
- function nonNullFilter(item) {
14183
+ function nonNullFilter2(item) {
14001
14184
  return item !== null;
14002
14185
  }
14003
14186
  function mapByUnique2(items, keyFn) {
@@ -14234,9 +14417,9 @@ var LocalDocsElementActionExecutor = class {
14234
14417
  ...existingGroup.data,
14235
14418
  // TODO Artem: move somewhere reusable
14236
14419
  configuration: input.configuration ? {
14237
- ..._nullishCoalesce(_optionalChain([existingGroup, 'access', _86 => _86.data, 'optionalAccess', _87 => _87.configuration]), () => ( defaultDocumentationItemConfigurationV2)),
14420
+ ..._nullishCoalesce(_optionalChain([existingGroup, 'access', _88 => _88.data, 'optionalAccess', _89 => _89.configuration]), () => ( defaultDocumentationItemConfigurationV2)),
14238
14421
  ...input.configuration
14239
- } : _optionalChain([existingGroup, 'access', _88 => _88.data, 'optionalAccess', _89 => _89.configuration])
14422
+ } : _optionalChain([existingGroup, 'access', _90 => _90.data, 'optionalAccess', _91 => _91.configuration])
14240
14423
  }
14241
14424
  };
14242
14425
  this.groups.set(localGroup.persistentId, localGroup);
@@ -14277,7 +14460,7 @@ var LocalDocsElementActionExecutor = class {
14277
14460
  updatedAt: /* @__PURE__ */ new Date(),
14278
14461
  data: {
14279
14462
  behavior: "Tabs",
14280
- configuration: _optionalChain([page, 'optionalAccess', _90 => _90.data, 'access', _91 => _91.configuration])
14463
+ configuration: _optionalChain([page, 'optionalAccess', _92 => _92.data, 'access', _93 => _93.configuration])
14281
14464
  },
14282
14465
  sortOrder: page.sortOrder,
14283
14466
  designSystemVersionId: this.designSystemVersionId
@@ -14301,7 +14484,7 @@ var LocalDocsElementActionExecutor = class {
14301
14484
  if (input.approvalState) {
14302
14485
  this.approvalStates.set(input.persistentId, {
14303
14486
  approvalState: input.approvalState,
14304
- createdAt: _nullishCoalesce(_optionalChain([existingApproval, 'optionalAccess', _92 => _92.createdAt]), () => ( /* @__PURE__ */ new Date())),
14487
+ createdAt: _nullishCoalesce(_optionalChain([existingApproval, 'optionalAccess', _94 => _94.createdAt]), () => ( /* @__PURE__ */ new Date())),
14305
14488
  designSystemVersionId: this.designSystemVersionId,
14306
14489
  pagePersistentId: input.persistentId,
14307
14490
  updatedAt: /* @__PURE__ */ new Date(),
@@ -14329,7 +14512,7 @@ var LocalDocsElementActionExecutor = class {
14329
14512
  return neighbours[neighbours.length - 1].sortOrder + sortOrderStep;
14330
14513
  }
14331
14514
  const left = neighbours[index].sortOrder;
14332
- const right = _nullishCoalesce(_optionalChain([neighbours, 'access', _93 => _93[index + 1], 'optionalAccess', _94 => _94.sortOrder]), () => ( left + sortOrderStep * 2));
14515
+ const right = _nullishCoalesce(_optionalChain([neighbours, 'access', _95 => _95[index + 1], 'optionalAccess', _96 => _96.sortOrder]), () => ( left + sortOrderStep * 2));
14333
14516
  return (right + left) / 2;
14334
14517
  }
14335
14518
  };
@@ -14991,5 +15174,14 @@ var TransactionQueue = class {
14991
15174
 
14992
15175
 
14993
15176
 
14994
- exports.BackendVersionRoomYDoc = BackendVersionRoomYDoc; exports.BlockDefinitionUtils = BlockDefinitionUtils; exports.BlockParsingUtils = BlockParsingUtils; exports.BrandsEndpoint = BrandsEndpoint; exports.CodeComponentsEndpoint = CodeComponentsEndpoint; exports.CodegenEndpoint = CodegenEndpoint; exports.Collection = Collection2; exports.DTOAppBootstrapDataQuery = DTOAppBootstrapDataQuery; exports.DTOAppBootstrapDataResponse = DTOAppBootstrapDataResponse; exports.DTOAssetRenderConfiguration = DTOAssetRenderConfiguration; exports.DTOAuthenticatedUser = DTOAuthenticatedUser; exports.DTOAuthenticatedUserProfile = DTOAuthenticatedUserProfile; exports.DTOAuthenticatedUserResponse = DTOAuthenticatedUserResponse; exports.DTOBffFigmaImportRequestBody = DTOBffFigmaImportRequestBody; exports.DTOBffImportRequestBody = DTOBffImportRequestBody; exports.DTOBffUploadImportRequestBody = DTOBffUploadImportRequestBody; exports.DTOBrand = DTOBrand; exports.DTOBrandCreatePayload = DTOBrandCreatePayload; exports.DTOBrandCreateResponse = DTOBrandCreateResponse; exports.DTOBrandGetResponse = DTOBrandGetResponse; exports.DTOBrandUpdatePayload = DTOBrandUpdatePayload; exports.DTOBrandsListResponse = DTOBrandsListResponse; exports.DTOCodeComponent = DTOCodeComponent; exports.DTOCodeComponentCreateInput = DTOCodeComponentCreateInput; exports.DTOCodeComponentListResponse = DTOCodeComponentListResponse; exports.DTOCodeComponentProperty = DTOCodeComponentProperty; exports.DTOCodeComponentResponse = DTOCodeComponentResponse; exports.DTOCodeComponentsCreateInput = DTOCodeComponentsCreateInput; exports.DTOColorTokenInlineData = DTOColorTokenInlineData; exports.DTOCreateDocumentationGroupInput = DTOCreateDocumentationGroupInput; exports.DTOCreateDocumentationPageInputV2 = DTOCreateDocumentationPageInputV2; exports.DTOCreateDocumentationTabInput = DTOCreateDocumentationTabInput; exports.DTOCreateVersionInput = DTOCreateVersionInput; exports.DTODataSource = DTODataSource; exports.DTODataSourceFigma = DTODataSourceFigma; exports.DTODataSourceFigmaCloud = DTODataSourceFigmaCloud; exports.DTODataSourceFigmaCreatePayload = DTODataSourceFigmaCreatePayload; exports.DTODataSourceFigmaImportPayload = DTODataSourceFigmaImportPayload; exports.DTODataSourceFigmaScope = DTODataSourceFigmaScope; exports.DTODataSourceFigmaVariablesPlugin = DTODataSourceFigmaVariablesPlugin; exports.DTODataSourceResponse = DTODataSourceResponse; exports.DTODataSourceStorybook = DTODataSourceStorybook; exports.DTODataSourceStorybookCreatePayload = DTODataSourceStorybookCreatePayload; exports.DTODataSourceTokenStudio = DTODataSourceTokenStudio; exports.DTODataSourcesListResponse = DTODataSourcesListResponse; exports.DTODataSourcesStorybookResponse = DTODataSourcesStorybookResponse; exports.DTODeleteDocumentationGroupInput = DTODeleteDocumentationGroupInput; exports.DTODeleteDocumentationPageInputV2 = DTODeleteDocumentationPageInputV2; exports.DTODeleteDocumentationTabGroupInput = DTODeleteDocumentationTabGroupInput; exports.DTODesignElementsDataDiffResponse = DTODesignElementsDataDiffResponse; exports.DTODesignSystem = DTODesignSystem; exports.DTODesignSystemComponent = DTODesignSystemComponent; exports.DTODesignSystemComponentCreateInput = DTODesignSystemComponentCreateInput; exports.DTODesignSystemComponentListResponse = DTODesignSystemComponentListResponse; exports.DTODesignSystemComponentResponse = DTODesignSystemComponentResponse; exports.DTODesignSystemContactsResponse = DTODesignSystemContactsResponse; exports.DTODesignSystemCreateInput = DTODesignSystemCreateInput; exports.DTODesignSystemInvitation = DTODesignSystemInvitation; exports.DTODesignSystemMember = DTODesignSystemMember; exports.DTODesignSystemMemberListResponse = DTODesignSystemMemberListResponse; exports.DTODesignSystemMembersUpdatePayload = DTODesignSystemMembersUpdatePayload; exports.DTODesignSystemMembersUpdateResponse = DTODesignSystemMembersUpdateResponse; exports.DTODesignSystemResponse = DTODesignSystemResponse; exports.DTODesignSystemRole = DTODesignSystemRole; exports.DTODesignSystemUpdateAccessModeInput = DTODesignSystemUpdateAccessModeInput; exports.DTODesignSystemUpdateInput = DTODesignSystemUpdateInput; exports.DTODesignSystemVersion = DTODesignSystemVersion; exports.DTODesignSystemVersionCreationResponse = DTODesignSystemVersionCreationResponse; exports.DTODesignSystemVersionGetResponse = DTODesignSystemVersionGetResponse; exports.DTODesignSystemVersionJobStatusResponse = DTODesignSystemVersionJobStatusResponse; exports.DTODesignSystemVersionJobsResponse = DTODesignSystemVersionJobsResponse; exports.DTODesignSystemVersionRoom = DTODesignSystemVersionRoom; exports.DTODesignSystemVersionRoomResponse = DTODesignSystemVersionRoomResponse; exports.DTODesignSystemVersionStats = DTODesignSystemVersionStats; exports.DTODesignSystemVersionStatsQuery = DTODesignSystemVersionStatsQuery; exports.DTODesignSystemVersionsListResponse = DTODesignSystemVersionsListResponse; exports.DTODesignSystemsListResponse = DTODesignSystemsListResponse; exports.DTODesignToken = DTODesignToken; exports.DTODesignTokenCreatePayload = DTODesignTokenCreatePayload; exports.DTODesignTokenGroup = DTODesignTokenGroup; exports.DTODesignTokenGroupCreatePayload = DTODesignTokenGroupCreatePayload; exports.DTODesignTokenGroupListResponse = DTODesignTokenGroupListResponse; exports.DTODesignTokenGroupResponse = DTODesignTokenGroupResponse; exports.DTODesignTokenListResponse = DTODesignTokenListResponse; exports.DTODesignTokenResponse = DTODesignTokenResponse; exports.DTODiffCountBase = DTODiffCountBase; exports.DTODocumentationAnalyticsDiffPayload = DTODocumentationAnalyticsDiffPayload; exports.DTODocumentationAnalyticsQueryParams = DTODocumentationAnalyticsQueryParams; exports.DTODocumentationAnalyticsTimeFrame = DTODocumentationAnalyticsTimeFrame; exports.DTODocumentationAnalyticsTimeFrameComparison = DTODocumentationAnalyticsTimeFrameComparison; exports.DTODocumentationDraftChangeType = DTODocumentationDraftChangeType; exports.DTODocumentationDraftState = DTODocumentationDraftState; exports.DTODocumentationDraftStateCreated = DTODocumentationDraftStateCreated; exports.DTODocumentationDraftStateDeleted = DTODocumentationDraftStateDeleted; exports.DTODocumentationDraftStateUpdated = DTODocumentationDraftStateUpdated; exports.DTODocumentationGroupApprovalState = DTODocumentationGroupApprovalState; exports.DTODocumentationGroupCreateActionInputV2 = DTODocumentationGroupCreateActionInputV2; exports.DTODocumentationGroupCreateActionOutputV2 = DTODocumentationGroupCreateActionOutputV2; exports.DTODocumentationGroupDeleteActionInputV2 = DTODocumentationGroupDeleteActionInputV2; exports.DTODocumentationGroupDeleteActionOutputV2 = DTODocumentationGroupDeleteActionOutputV2; exports.DTODocumentationGroupDuplicateActionInputV2 = DTODocumentationGroupDuplicateActionInputV2; exports.DTODocumentationGroupDuplicateActionOutputV2 = DTODocumentationGroupDuplicateActionOutputV2; exports.DTODocumentationGroupMoveActionInputV2 = DTODocumentationGroupMoveActionInputV2; exports.DTODocumentationGroupMoveActionOutputV2 = DTODocumentationGroupMoveActionOutputV2; exports.DTODocumentationGroupRestoreActionInput = DTODocumentationGroupRestoreActionInput; exports.DTODocumentationGroupRestoreActionOutput = DTODocumentationGroupRestoreActionOutput; exports.DTODocumentationGroupStructureV1 = DTODocumentationGroupStructureV1; exports.DTODocumentationGroupUpdateActionInputV2 = DTODocumentationGroupUpdateActionInputV2; exports.DTODocumentationGroupUpdateActionOutputV2 = DTODocumentationGroupUpdateActionOutputV2; exports.DTODocumentationGroupV1 = DTODocumentationGroupV1; exports.DTODocumentationGroupV2 = DTODocumentationGroupV2; exports.DTODocumentationHierarchyV2 = DTODocumentationHierarchyV2; exports.DTODocumentationItemConfigurationV1 = DTODocumentationItemConfigurationV1; exports.DTODocumentationItemConfigurationV2 = DTODocumentationItemConfigurationV2; exports.DTODocumentationItemHeaderV2 = DTODocumentationItemHeaderV2; exports.DTODocumentationLinkPreviewRequest = DTODocumentationLinkPreviewRequest; exports.DTODocumentationLinkPreviewResponse = DTODocumentationLinkPreviewResponse; exports.DTODocumentationPageAnalyticsDifference = DTODocumentationPageAnalyticsDifference; exports.DTODocumentationPageAnalyticsResponse = DTODocumentationPageAnalyticsResponse; exports.DTODocumentationPageAnchor = DTODocumentationPageAnchor; exports.DTODocumentationPageApprovalState = DTODocumentationPageApprovalState; exports.DTODocumentationPageApprovalStateChangeActionInput = DTODocumentationPageApprovalStateChangeActionInput; exports.DTODocumentationPageApprovalStateChangeActionOutput = DTODocumentationPageApprovalStateChangeActionOutput; exports.DTODocumentationPageApprovalStateChangeInput = DTODocumentationPageApprovalStateChangeInput; exports.DTODocumentationPageContent = DTODocumentationPageContent; exports.DTODocumentationPageContentGetResponse = DTODocumentationPageContentGetResponse; exports.DTODocumentationPageCreateActionInputV2 = DTODocumentationPageCreateActionInputV2; exports.DTODocumentationPageCreateActionOutputV2 = DTODocumentationPageCreateActionOutputV2; exports.DTODocumentationPageDeleteActionInputV2 = DTODocumentationPageDeleteActionInputV2; exports.DTODocumentationPageDeleteActionOutputV2 = DTODocumentationPageDeleteActionOutputV2; exports.DTODocumentationPageDuplicateActionInputV2 = DTODocumentationPageDuplicateActionInputV2; exports.DTODocumentationPageDuplicateActionOutputV2 = DTODocumentationPageDuplicateActionOutputV2; exports.DTODocumentationPageIntervalDifferenceResponse = DTODocumentationPageIntervalDifferenceResponse; exports.DTODocumentationPageMoveActionInputV2 = DTODocumentationPageMoveActionInputV2; exports.DTODocumentationPageMoveActionOutputV2 = DTODocumentationPageMoveActionOutputV2; exports.DTODocumentationPageRestoreActionInput = DTODocumentationPageRestoreActionInput; exports.DTODocumentationPageRestoreActionOutput = DTODocumentationPageRestoreActionOutput; exports.DTODocumentationPageRoom = DTODocumentationPageRoom; exports.DTODocumentationPageRoomHeaderData = DTODocumentationPageRoomHeaderData; exports.DTODocumentationPageRoomHeaderDataUpdate = DTODocumentationPageRoomHeaderDataUpdate; exports.DTODocumentationPageRoomResponse = DTODocumentationPageRoomResponse; exports.DTODocumentationPageSnapshot = DTODocumentationPageSnapshot; exports.DTODocumentationPageUpdateActionInputV2 = DTODocumentationPageUpdateActionInputV2; exports.DTODocumentationPageUpdateActionOutputV2 = DTODocumentationPageUpdateActionOutputV2; exports.DTODocumentationPageUpdateDocumentActionInputV2 = DTODocumentationPageUpdateDocumentActionInputV2; exports.DTODocumentationPageUpdateDocumentActionOutputV2 = DTODocumentationPageUpdateDocumentActionOutputV2; exports.DTODocumentationPageV2 = DTODocumentationPageV2; exports.DTODocumentationPublishMetadata = DTODocumentationPublishMetadata; exports.DTODocumentationPublishTypeQueryParams = DTODocumentationPublishTypeQueryParams; exports.DTODocumentationSettings = DTODocumentationSettings; exports.DTODocumentationStructure = DTODocumentationStructure; exports.DTODocumentationStructureGroupItem = DTODocumentationStructureGroupItem; exports.DTODocumentationStructureItem = DTODocumentationStructureItem; exports.DTODocumentationStructurePageItem = DTODocumentationStructurePageItem; exports.DTODocumentationTabCreateActionInputV2 = DTODocumentationTabCreateActionInputV2; exports.DTODocumentationTabCreateActionOutputV2 = DTODocumentationTabCreateActionOutputV2; exports.DTODocumentationTabGroupDeleteActionInputV2 = DTODocumentationTabGroupDeleteActionInputV2; exports.DTODocumentationTabGroupDeleteActionOutputV2 = DTODocumentationTabGroupDeleteActionOutputV2; exports.DTODownloadAssetsRequest = DTODownloadAssetsRequest; exports.DTODownloadAssetsResponse = DTODownloadAssetsResponse; exports.DTODuplicateDocumentationGroupInput = DTODuplicateDocumentationGroupInput; exports.DTODuplicateDocumentationPageInputV2 = DTODuplicateDocumentationPageInputV2; exports.DTOElementActionInput = DTOElementActionInput; exports.DTOElementActionOutput = DTOElementActionOutput; exports.DTOElementPropertyDefinition = DTOElementPropertyDefinition; exports.DTOElementPropertyDefinitionCreatePayload = DTOElementPropertyDefinitionCreatePayload; exports.DTOElementPropertyDefinitionListResponse = DTOElementPropertyDefinitionListResponse; exports.DTOElementPropertyDefinitionOption = DTOElementPropertyDefinitionOption; exports.DTOElementPropertyDefinitionResponse = DTOElementPropertyDefinitionResponse; exports.DTOElementPropertyDefinitionUpdatePayload = DTOElementPropertyDefinitionUpdatePayload; exports.DTOElementPropertyValue = DTOElementPropertyValue; exports.DTOElementPropertyValueListResponse = DTOElementPropertyValueListResponse; exports.DTOElementPropertyValueResponse = DTOElementPropertyValueResponse; exports.DTOElementPropertyValueUpsertPaylod = DTOElementPropertyValueUpsertPaylod; exports.DTOElementPropertyValuesEditActionInput = DTOElementPropertyValuesEditActionInput; exports.DTOElementPropertyValuesEditActionOutput = DTOElementPropertyValuesEditActionOutput; exports.DTOElementView = DTOElementView; exports.DTOElementViewBasePropertyColumn = DTOElementViewBasePropertyColumn; exports.DTOElementViewColumn = DTOElementViewColumn; exports.DTOElementViewColumnSharedAttributes = DTOElementViewColumnSharedAttributes; exports.DTOElementViewPropertyDefinitionColumn = DTOElementViewPropertyDefinitionColumn; exports.DTOElementViewThemeColumn = DTOElementViewThemeColumn; exports.DTOElementViewsListResponse = DTOElementViewsListResponse; exports.DTOElementsGetOutput = DTOElementsGetOutput; exports.DTOElementsGetOutputV2 = DTOElementsGetOutputV2; exports.DTOElementsGetQuerySchema = DTOElementsGetQuerySchema; exports.DTOElementsGetTypeFilter = DTOElementsGetTypeFilter; exports.DTOEvent = DTOEvent; exports.DTOEventDataSourcesImported = DTOEventDataSourcesImported; exports.DTOEventFigmaNodesRendered = DTOEventFigmaNodesRendered; exports.DTOExportJob = DTOExportJob; exports.DTOExportJobCreateInput = DTOExportJobCreateInput; exports.DTOExportJobCreatedBy = DTOExportJobCreatedBy; exports.DTOExportJobDesignSystemPreview = DTOExportJobDesignSystemPreview; exports.DTOExportJobDesignSystemVersionPreview = DTOExportJobDesignSystemVersionPreview; exports.DTOExportJobDestinations = DTOExportJobDestinations; exports.DTOExportJobResponse = DTOExportJobResponse; exports.DTOExportJobResponseLegacy = DTOExportJobResponseLegacy; exports.DTOExportJobResult = DTOExportJobResult; exports.DTOExportJobsListFilter = DTOExportJobsListFilter; exports.DTOExporter = DTOExporter; exports.DTOExporterCreateInput = DTOExporterCreateInput; exports.DTOExporterDeprecationInput = DTOExporterDeprecationInput; exports.DTOExporterGitProviderEnum = DTOExporterGitProviderEnum; exports.DTOExporterListQuery = DTOExporterListQuery; exports.DTOExporterListResponse = DTOExporterListResponse; exports.DTOExporterMembership = DTOExporterMembership; exports.DTOExporterMembershipRole = DTOExporterMembershipRole; exports.DTOExporterPropertyDefinition = DTOExporterPropertyDefinition; exports.DTOExporterPropertyDefinitionArray = DTOExporterPropertyDefinitionArray; exports.DTOExporterPropertyDefinitionBoolean = DTOExporterPropertyDefinitionBoolean; exports.DTOExporterPropertyDefinitionCode = DTOExporterPropertyDefinitionCode; exports.DTOExporterPropertyDefinitionEnum = DTOExporterPropertyDefinitionEnum; exports.DTOExporterPropertyDefinitionEnumOption = DTOExporterPropertyDefinitionEnumOption; exports.DTOExporterPropertyDefinitionNumber = DTOExporterPropertyDefinitionNumber; exports.DTOExporterPropertyDefinitionObject = DTOExporterPropertyDefinitionObject; exports.DTOExporterPropertyDefinitionString = DTOExporterPropertyDefinitionString; exports.DTOExporterPropertyDefinitionsResponse = DTOExporterPropertyDefinitionsResponse; exports.DTOExporterPropertyType = DTOExporterPropertyType; exports.DTOExporterPropertyValue = DTOExporterPropertyValue; exports.DTOExporterPropertyValueMap = DTOExporterPropertyValueMap; exports.DTOExporterResponse = DTOExporterResponse; exports.DTOExporterSource = DTOExporterSource; exports.DTOExporterType = DTOExporterType; exports.DTOExporterUpdateInput = DTOExporterUpdateInput; exports.DTOFigmaComponent = DTOFigmaComponent; exports.DTOFigmaComponentGroup = DTOFigmaComponentGroup; exports.DTOFigmaComponentGroupListResponse = DTOFigmaComponentGroupListResponse; exports.DTOFigmaComponentListResponse = DTOFigmaComponentListResponse; exports.DTOFigmaNode = DTOFigmaNode; exports.DTOFigmaNodeData = DTOFigmaNodeData; exports.DTOFigmaNodeDataV2 = DTOFigmaNodeDataV2; exports.DTOFigmaNodeOrigin = DTOFigmaNodeOrigin; exports.DTOFigmaNodeRenderActionInput = DTOFigmaNodeRenderActionInput; exports.DTOFigmaNodeRenderActionOutput = DTOFigmaNodeRenderActionOutput; exports.DTOFigmaNodeRenderAsyncActionInput = DTOFigmaNodeRenderAsyncActionInput; exports.DTOFigmaNodeRenderAsyncActionOutput = DTOFigmaNodeRenderAsyncActionOutput; exports.DTOFigmaNodeRenderFormat = DTOFigmaNodeRenderFormat; exports.DTOFigmaNodeRenderIdInput = DTOFigmaNodeRenderIdInput; exports.DTOFigmaNodeRenderInput = DTOFigmaNodeRenderInput; exports.DTOFigmaNodeRenderUrlInput = DTOFigmaNodeRenderUrlInput; exports.DTOFigmaNodeRerenderInput = DTOFigmaNodeRerenderInput; exports.DTOFigmaNodeStructure = DTOFigmaNodeStructure; exports.DTOFigmaNodeStructureDetail = DTOFigmaNodeStructureDetail; exports.DTOFigmaNodeStructureDetailResponse = DTOFigmaNodeStructureDetailResponse; exports.DTOFigmaNodeStructureListResponse = DTOFigmaNodeStructureListResponse; exports.DTOFigmaNodeV2 = DTOFigmaNodeV2; exports.DTOFrameNodeStructure = DTOFrameNodeStructure; exports.DTOFrameNodeStructureListResponse = DTOFrameNodeStructureListResponse; exports.DTOGetBlockDefinitionsOutput = DTOGetBlockDefinitionsOutput; exports.DTOGetDocumentationPageAnchorsResponse = DTOGetDocumentationPageAnchorsResponse; exports.DTOGitBranch = DTOGitBranch; exports.DTOGitOrganization = DTOGitOrganization; exports.DTOGitProject = DTOGitProject; exports.DTOGitRepository = DTOGitRepository; exports.DTOImportJob = DTOImportJob; exports.DTOImportJobResponse = DTOImportJobResponse; exports.DTOIntegration = DTOIntegration; exports.DTOIntegrationCredentials = DTOIntegrationCredentials; exports.DTOIntegrationOAuthGetResponse = DTOIntegrationOAuthGetResponse; exports.DTOIntegrationPostResponse = DTOIntegrationPostResponse; exports.DTOIntegrationsGetListResponse = DTOIntegrationsGetListResponse; exports.DTOLiveblocksAuthRequest = DTOLiveblocksAuthRequest; exports.DTOLiveblocksAuthResponse = DTOLiveblocksAuthResponse; exports.DTOMoveDocumentationGroupInput = DTOMoveDocumentationGroupInput; exports.DTOMoveDocumentationPageInputV2 = DTOMoveDocumentationPageInputV2; exports.DTONpmRegistryConfig = DTONpmRegistryConfig; exports.DTONpmRegistryConfigConstants = DTONpmRegistryConfigConstants; exports.DTOObjectMeta = DTOObjectMeta; exports.DTOPageBlockColorV2 = DTOPageBlockColorV2; exports.DTOPageBlockDefinition = DTOPageBlockDefinition; exports.DTOPageBlockDefinitionBehavior = DTOPageBlockDefinitionBehavior; exports.DTOPageBlockDefinitionItem = DTOPageBlockDefinitionItem; exports.DTOPageBlockDefinitionLayout = DTOPageBlockDefinitionLayout; exports.DTOPageBlockDefinitionProperty = DTOPageBlockDefinitionProperty; exports.DTOPageBlockDefinitionVariant = DTOPageBlockDefinitionVariant; exports.DTOPageBlockItemV2 = DTOPageBlockItemV2; exports.DTOPageRedirect = DTOPageRedirect; exports.DTOPageRedirectCreateBody = DTOPageRedirectCreateBody; exports.DTOPageRedirectDeleteResponse = DTOPageRedirectDeleteResponse; exports.DTOPageRedirectListResponse = DTOPageRedirectListResponse; exports.DTOPageRedirectResponse = DTOPageRedirectResponse; exports.DTOPageRedirectUpdateBody = DTOPageRedirectUpdateBody; exports.DTOPagination = DTOPagination; exports.DTOPipeline = DTOPipeline; exports.DTOPipelineCreateBody = DTOPipelineCreateBody; exports.DTOPipelineListQuery = DTOPipelineListQuery; exports.DTOPipelineListResponse = DTOPipelineListResponse; exports.DTOPipelineResponse = DTOPipelineResponse; exports.DTOPipelineTriggerBody = DTOPipelineTriggerBody; exports.DTOPipelineUpdateBody = DTOPipelineUpdateBody; exports.DTOPublishDocumentationChanges = DTOPublishDocumentationChanges; exports.DTOPublishDocumentationRequest = DTOPublishDocumentationRequest; exports.DTOPublishDocumentationResponse = DTOPublishDocumentationResponse; exports.DTOPublishedDocPageVisitData = DTOPublishedDocPageVisitData; exports.DTORenderedAssetFile = DTORenderedAssetFile; exports.DTORestoreDocumentationGroupInput = DTORestoreDocumentationGroupInput; exports.DTORestoreDocumentationPageInput = DTORestoreDocumentationPageInput; exports.DTOStorybookEntry = DTOStorybookEntry; exports.DTOStorybookEntryListResponse = DTOStorybookEntryListResponse; exports.DTOStorybookEntryOrigin = DTOStorybookEntryOrigin; exports.DTOStorybookEntryReplaceAction = DTOStorybookEntryReplaceAction; exports.DTOStorybookEntryResponse = DTOStorybookEntryResponse; exports.DTOStorybookImportPayload = DTOStorybookImportPayload; exports.DTOTheme = DTOTheme; exports.DTOThemeCreatePayload = DTOThemeCreatePayload; exports.DTOThemeListResponse = DTOThemeListResponse; exports.DTOThemeOverride = DTOThemeOverride; exports.DTOThemeOverrideCreatePayload = DTOThemeOverrideCreatePayload; exports.DTOThemeResponse = DTOThemeResponse; exports.DTOTokenCollection = DTOTokenCollection; exports.DTOTokenCollectionsListReponse = DTOTokenCollectionsListReponse; exports.DTOTransferOwnershipPayload = DTOTransferOwnershipPayload; exports.DTOUpdateDocumentationGroupInput = DTOUpdateDocumentationGroupInput; exports.DTOUpdateDocumentationPageDocumentInputV2 = DTOUpdateDocumentationPageDocumentInputV2; exports.DTOUpdateDocumentationPageInputV2 = DTOUpdateDocumentationPageInputV2; exports.DTOUpdateUserNotificationSettingsPayload = DTOUpdateUserNotificationSettingsPayload; exports.DTOUpdateVersionInput = DTOUpdateVersionInput; exports.DTOUser = DTOUser; exports.DTOUserGetResponse = DTOUserGetResponse; exports.DTOUserNotificationSettingsResponse = DTOUserNotificationSettingsResponse; exports.DTOUserOnboarding = DTOUserOnboarding; exports.DTOUserOnboardingDepartment = DTOUserOnboardingDepartment; exports.DTOUserOnboardingJobLevel = DTOUserOnboardingJobLevel; exports.DTOUserProfile = DTOUserProfile; exports.DTOUserProfileUpdate = DTOUserProfileUpdate; exports.DTOUserProfileUpdatePayload = DTOUserProfileUpdatePayload; exports.DTOUserProfileUpdateResponse = DTOUserProfileUpdateResponse; exports.DTOUserSource = DTOUserSource; exports.DTOUserTheme = DTOUserTheme; exports.DTOUserWorkspaceMembership = DTOUserWorkspaceMembership; exports.DTOUserWorkspaceMembershipsResponse = DTOUserWorkspaceMembershipsResponse; exports.DTOWorkspace = DTOWorkspace; exports.DTOWorkspaceCreateInput = DTOWorkspaceCreateInput; exports.DTOWorkspaceIntegrationGetGitObjectsInput = DTOWorkspaceIntegrationGetGitObjectsInput; exports.DTOWorkspaceIntegrationOauthInput = DTOWorkspaceIntegrationOauthInput; exports.DTOWorkspaceIntegrationPATInput = DTOWorkspaceIntegrationPATInput; exports.DTOWorkspaceInvitationInput = DTOWorkspaceInvitationInput; exports.DTOWorkspaceInvitationUpdateResponse = DTOWorkspaceInvitationUpdateResponse; exports.DTOWorkspaceInvitationsListInput = DTOWorkspaceInvitationsListInput; exports.DTOWorkspaceInvitationsResponse = DTOWorkspaceInvitationsResponse; exports.DTOWorkspaceInviteUpdate = DTOWorkspaceInviteUpdate; exports.DTOWorkspaceMember = DTOWorkspaceMember; exports.DTOWorkspaceMembersListResponse = DTOWorkspaceMembersListResponse; exports.DTOWorkspaceProfile = DTOWorkspaceProfile; exports.DTOWorkspaceResponse = DTOWorkspaceResponse; exports.DTOWorkspaceRole = DTOWorkspaceRole; exports.DTOWorkspaceUntypedData = DTOWorkspaceUntypedData; exports.DTOWorkspaceUntypedDataCreatePayload = DTOWorkspaceUntypedDataCreatePayload; exports.DTOWorkspaceUntypedDataListResponse = DTOWorkspaceUntypedDataListResponse; exports.DTOWorkspaceUntypedDataResponse = DTOWorkspaceUntypedDataResponse; exports.DTOWorkspaceUntypedDataUpdatePayload = DTOWorkspaceUntypedDataUpdatePayload; exports.DesignSystemAnalyticsEndpoint = DesignSystemAnalyticsEndpoint; exports.DesignSystemBffEndpoint = DesignSystemBffEndpoint; exports.DesignSystemComponentEndpoint = DesignSystemComponentEndpoint; exports.DesignSystemContactsEndpoint = DesignSystemContactsEndpoint; exports.DesignSystemMembersEndpoint = DesignSystemMembersEndpoint; exports.DesignSystemPageRedirectsEndpoint = DesignSystemPageRedirectsEndpoint; exports.DesignSystemSourcesEndpoint = DesignSystemSourcesEndpoint; exports.DesignSystemVersionsEndpoint = DesignSystemVersionsEndpoint; exports.DesignSystemsEndpoint = DesignSystemsEndpoint; exports.DimensionsVariableScopeType = DimensionsVariableScopeType; exports.DocsStructureRepository = DocsStructureRepository; exports.DocumentationEndpoint = DocumentationEndpoint; exports.DocumentationHierarchySettings = DocumentationHierarchySettings; exports.DocumentationPageEditorModel = DocumentationPageEditorModel; exports.DocumentationPageV1DTO = DocumentationPageV1DTO; exports.ElementPropertyDefinitionsEndpoint = ElementPropertyDefinitionsEndpoint; exports.ElementPropertyValuesEndpoint = ElementPropertyValuesEndpoint; exports.ElementsActionEndpoint = ElementsActionEndpoint; exports.ElementsEndpoint = ElementsEndpoint; exports.ExporterJobsEndpoint = ExporterJobsEndpoint; exports.ExportersEndpoint = ExportersEndpoint; exports.FigmaComponentGroupsEndpoint = FigmaComponentGroupsEndpoint; exports.FigmaComponentsEndpoint = FigmaComponentsEndpoint; exports.FigmaFrameStructuresEndpoint = FigmaFrameStructuresEndpoint; exports.FigmaNodeStructuresEndpoint = FigmaNodeStructuresEndpoint; exports.FigmaUtils = FigmaUtils; exports.FormattedCollections = FormattedCollections; exports.FrontendVersionRoomYDoc = FrontendVersionRoomYDoc; exports.GitDestinationOptions = GitDestinationOptions; exports.ImportJobsEndpoint = ImportJobsEndpoint; exports.ListTreeBuilder = ListTreeBuilder; exports.LiveblocksEndpoint = LiveblocksEndpoint; exports.LocalDocsElementActionExecutor = LocalDocsElementActionExecutor; exports.NpmRegistryInput = NpmRegistryInput; exports.ObjectMeta = ObjectMeta2; exports.OverridesEndpoint = OverridesEndpoint; exports.PageBlockEditorModel = PageBlockEditorModel; exports.PageSectionEditorModel = PageSectionEditorModel; exports.ParsedFigmaFileURLError = ParsedFigmaFileURLError; exports.PipelinesEndpoint = PipelinesEndpoint; exports.RGB = RGB; exports.RGBA = RGBA; exports.RequestExecutor = RequestExecutor; exports.RequestExecutorError = RequestExecutorError; exports.ResolvedVariableType = ResolvedVariableType; exports.StorybookEntriesEndpoint = StorybookEntriesEndpoint; exports.StringVariableScopeType = StringVariableScopeType; exports.SupernovaApiClient = SupernovaApiClient; exports.ThemesEndpoint = ThemesEndpoint; exports.TokenCollectionsEndpoint = TokenCollectionsEndpoint; exports.TokenGroupsEndpoint = TokenGroupsEndpoint; exports.TokensEndpoint = TokensEndpoint; exports.UsersEndpoint = UsersEndpoint; exports.Variable = Variable; exports.VariableAlias = VariableAlias; exports.VariableMode = VariableMode; exports.VariableValue = VariableValue; exports.VariablesMapping = VariablesMapping; exports.VersionRoomBaseYDoc = VersionRoomBaseYDoc; exports.VersionSQSPayload = VersionSQSPayload; exports.VersionStatsEndpoint = VersionStatsEndpoint; exports.WorkspaceConfigurationPayload = WorkspaceConfigurationPayload; exports.WorkspaceIntegrationsEndpoint = WorkspaceIntegrationsEndpoint; exports.WorkspaceInvitationsEndpoint = WorkspaceInvitationsEndpoint; exports.WorkspaceMembersEndpoint = WorkspaceMembersEndpoint; exports.WorkspacesEndpoint = WorkspacesEndpoint; exports.applyActionsLocally = applyActionsLocally; exports.applyPrivacyConfigurationToNestedItems = applyPrivacyConfigurationToNestedItems; exports.blockToProsemirrorNode = blockToProsemirrorNode; exports.buildDocPagePublishPaths = buildDocPagePublishPaths; exports.calculateChangeOverTime = calculateChangeOverTime; exports.calculateElementParentChain = calculateElementParentChain; exports.computeDocsHierarchy = computeDocsHierarchy; exports.documentationItemConfigurationToDTOV1 = documentationItemConfigurationToDTOV1; exports.documentationItemConfigurationToDTOV2 = documentationItemConfigurationToDTOV2; exports.documentationPageToDTOV2 = documentationPageToDTOV2; exports.documentationPagesFixedConfigurationToDTOV1 = documentationPagesFixedConfigurationToDTOV1; exports.documentationPagesFixedConfigurationToDTOV2 = documentationPagesFixedConfigurationToDTOV2; exports.documentationPagesToDTOV1 = documentationPagesToDTOV1; exports.documentationPagesToDTOV2 = documentationPagesToDTOV2; exports.elementGroupsToDocumentationGroupDTOV1 = elementGroupsToDocumentationGroupDTOV1; exports.elementGroupsToDocumentationGroupDTOV2 = elementGroupsToDocumentationGroupDTOV2; exports.elementGroupsToDocumentationGroupFixedConfigurationDTOV1 = elementGroupsToDocumentationGroupFixedConfigurationDTOV1; exports.elementGroupsToDocumentationGroupFixedConfigurationDTOV2 = elementGroupsToDocumentationGroupFixedConfigurationDTOV2; exports.elementGroupsToDocumentationGroupStructureDTOV1 = elementGroupsToDocumentationGroupStructureDTOV1; exports.exhaustiveInvalidUriPaths = exhaustiveInvalidUriPaths; exports.generateHash = generateHash; exports.generatePageContentHash = generatePageContentHash; exports.getDtoDefaultItemConfigurationV1 = getDtoDefaultItemConfigurationV1; exports.getDtoDefaultItemConfigurationV2 = getDtoDefaultItemConfigurationV2; exports.getMockPageBlockDefinitions = getMockPageBlockDefinitions; exports.gitBranchToDto = gitBranchToDto; exports.gitOrganizationToDto = gitOrganizationToDto; exports.gitProjectToDto = gitProjectToDto; exports.gitRepositoryToDto = gitRepositoryToDto; exports.innerEditorProsemirrorSchema = innerEditorProsemirrorSchema; exports.integrationCredentialToDto = integrationCredentialToDto; exports.integrationToDto = integrationToDto; exports.isValidRedirectPath = isValidRedirectPath; exports.itemConfigurationToYjs = itemConfigurationToYjs; exports.mainEditorProsemirrorSchema = mainEditorProsemirrorSchema; exports.pageToProsemirrorDoc = pageToProsemirrorDoc; exports.pageToYDoc = pageToYDoc; exports.pageToYXmlFragment = pageToYXmlFragment; exports.pageVisitsToDto = pageVisitsToDto; exports.pipelineToDto = pipelineToDto; exports.prosemirrorDocToPage = prosemirrorDocToPage; exports.prosemirrorDocToRichTextPropertyValue = prosemirrorDocToRichTextPropertyValue; exports.prosemirrorNodeToSection = prosemirrorNodeToSection; exports.prosemirrorNodesToBlocks = prosemirrorNodesToBlocks; exports.richTextPropertyValueToProsemirror = richTextPropertyValueToProsemirror; exports.serializeAsCustomBlock = serializeAsCustomBlock; exports.serializeQuery = serializeQuery; exports.shallowProsemirrorNodeToBlock = shallowProsemirrorNodeToBlock; exports.validateDesignSystemVersion = validateDesignSystemVersion; exports.validateSsoPayload = validateSsoPayload; exports.yDocToPage = yDocToPage; exports.yXmlFragmentToPage = yXmlFragmentToPage; exports.yjsToDocumentationHierarchy = yjsToDocumentationHierarchy; exports.yjsToItemConfiguration = yjsToItemConfiguration;
15177
+
15178
+
15179
+
15180
+
15181
+
15182
+
15183
+
15184
+
15185
+
15186
+ exports.BackendVersionRoomYDoc = BackendVersionRoomYDoc; exports.BlockDefinitionUtils = BlockDefinitionUtils; exports.BlockParsingUtils = BlockParsingUtils; exports.BrandsEndpoint = BrandsEndpoint; exports.CodeComponentsEndpoint = CodeComponentsEndpoint; exports.CodegenEndpoint = CodegenEndpoint; exports.Collection = Collection2; exports.DTOAppBootstrapDataQuery = DTOAppBootstrapDataQuery; exports.DTOAppBootstrapDataResponse = DTOAppBootstrapDataResponse; exports.DTOAssetRenderConfiguration = DTOAssetRenderConfiguration; exports.DTOAuthenticatedUser = DTOAuthenticatedUser; exports.DTOAuthenticatedUserProfile = DTOAuthenticatedUserProfile; exports.DTOAuthenticatedUserResponse = DTOAuthenticatedUserResponse; exports.DTOBffFigmaImportRequestBody = DTOBffFigmaImportRequestBody; exports.DTOBffImportRequestBody = DTOBffImportRequestBody; exports.DTOBffUploadImportRequestBody = DTOBffUploadImportRequestBody; exports.DTOBrand = DTOBrand; exports.DTOBrandCreatePayload = DTOBrandCreatePayload; exports.DTOBrandCreateResponse = DTOBrandCreateResponse; exports.DTOBrandGetResponse = DTOBrandGetResponse; exports.DTOBrandUpdatePayload = DTOBrandUpdatePayload; exports.DTOBrandsListResponse = DTOBrandsListResponse; exports.DTOCodeComponent = DTOCodeComponent; exports.DTOCodeComponentCreateInput = DTOCodeComponentCreateInput; exports.DTOCodeComponentListResponse = DTOCodeComponentListResponse; exports.DTOCodeComponentParentType = DTOCodeComponentParentType; exports.DTOCodeComponentProperty = DTOCodeComponentProperty; exports.DTOCodeComponentResolvedType = DTOCodeComponentResolvedType; exports.DTOCodeComponentResolvedTypeKind = DTOCodeComponentResolvedTypeKind; exports.DTOCodeComponentResponse = DTOCodeComponentResponse; exports.DTOCodeComponentUpsertResponse = DTOCodeComponentUpsertResponse; exports.DTOCodeComponentsCreateInput = DTOCodeComponentsCreateInput; exports.DTOColorTokenInlineData = DTOColorTokenInlineData; exports.DTOCreateDocumentationGroupInput = DTOCreateDocumentationGroupInput; exports.DTOCreateDocumentationPageInputV2 = DTOCreateDocumentationPageInputV2; exports.DTOCreateDocumentationTabInput = DTOCreateDocumentationTabInput; exports.DTOCreateVersionInput = DTOCreateVersionInput; exports.DTODataSource = DTODataSource; exports.DTODataSourceFigma = DTODataSourceFigma; exports.DTODataSourceFigmaCloud = DTODataSourceFigmaCloud; exports.DTODataSourceFigmaCreatePayload = DTODataSourceFigmaCreatePayload; exports.DTODataSourceFigmaImportPayload = DTODataSourceFigmaImportPayload; exports.DTODataSourceFigmaScope = DTODataSourceFigmaScope; exports.DTODataSourceFigmaVariablesPlugin = DTODataSourceFigmaVariablesPlugin; exports.DTODataSourceResponse = DTODataSourceResponse; exports.DTODataSourceStorybook = DTODataSourceStorybook; exports.DTODataSourceStorybookCreatePayload = DTODataSourceStorybookCreatePayload; exports.DTODataSourceTokenStudio = DTODataSourceTokenStudio; exports.DTODataSourcesListResponse = DTODataSourcesListResponse; exports.DTODataSourcesStorybookResponse = DTODataSourcesStorybookResponse; exports.DTODeleteDocumentationGroupInput = DTODeleteDocumentationGroupInput; exports.DTODeleteDocumentationPageInputV2 = DTODeleteDocumentationPageInputV2; exports.DTODeleteDocumentationTabGroupInput = DTODeleteDocumentationTabGroupInput; exports.DTODesignElementsDataDiffResponse = DTODesignElementsDataDiffResponse; exports.DTODesignSystem = DTODesignSystem; exports.DTODesignSystemComponent = DTODesignSystemComponent; exports.DTODesignSystemComponentCreateInput = DTODesignSystemComponentCreateInput; exports.DTODesignSystemComponentListResponse = DTODesignSystemComponentListResponse; exports.DTODesignSystemComponentResponse = DTODesignSystemComponentResponse; exports.DTODesignSystemContactsResponse = DTODesignSystemContactsResponse; exports.DTODesignSystemCreateInput = DTODesignSystemCreateInput; exports.DTODesignSystemInvitation = DTODesignSystemInvitation; exports.DTODesignSystemMember = DTODesignSystemMember; exports.DTODesignSystemMemberListResponse = DTODesignSystemMemberListResponse; exports.DTODesignSystemMembersUpdatePayload = DTODesignSystemMembersUpdatePayload; exports.DTODesignSystemMembersUpdateResponse = DTODesignSystemMembersUpdateResponse; exports.DTODesignSystemResponse = DTODesignSystemResponse; exports.DTODesignSystemRole = DTODesignSystemRole; exports.DTODesignSystemUpdateAccessModeInput = DTODesignSystemUpdateAccessModeInput; exports.DTODesignSystemUpdateInput = DTODesignSystemUpdateInput; exports.DTODesignSystemVersion = DTODesignSystemVersion; exports.DTODesignSystemVersionCreationResponse = DTODesignSystemVersionCreationResponse; exports.DTODesignSystemVersionGetResponse = DTODesignSystemVersionGetResponse; exports.DTODesignSystemVersionJobStatusResponse = DTODesignSystemVersionJobStatusResponse; exports.DTODesignSystemVersionJobsResponse = DTODesignSystemVersionJobsResponse; exports.DTODesignSystemVersionRoom = DTODesignSystemVersionRoom; exports.DTODesignSystemVersionRoomResponse = DTODesignSystemVersionRoomResponse; exports.DTODesignSystemVersionStats = DTODesignSystemVersionStats; exports.DTODesignSystemVersionStatsQuery = DTODesignSystemVersionStatsQuery; exports.DTODesignSystemVersionsListResponse = DTODesignSystemVersionsListResponse; exports.DTODesignSystemsListResponse = DTODesignSystemsListResponse; exports.DTODesignToken = DTODesignToken; exports.DTODesignTokenCreatePayload = DTODesignTokenCreatePayload; exports.DTODesignTokenGroup = DTODesignTokenGroup; exports.DTODesignTokenGroupCreatePayload = DTODesignTokenGroupCreatePayload; exports.DTODesignTokenGroupListResponse = DTODesignTokenGroupListResponse; exports.DTODesignTokenGroupResponse = DTODesignTokenGroupResponse; exports.DTODesignTokenListResponse = DTODesignTokenListResponse; exports.DTODesignTokenResponse = DTODesignTokenResponse; exports.DTODiffCountBase = DTODiffCountBase; exports.DTODocumentationAnalyticsDiffPayload = DTODocumentationAnalyticsDiffPayload; exports.DTODocumentationAnalyticsRequest = DTODocumentationAnalyticsRequest; exports.DTODocumentationAnalyticsTimeFrame = DTODocumentationAnalyticsTimeFrame; exports.DTODocumentationAnalyticsTimeFrameComparison = DTODocumentationAnalyticsTimeFrameComparison; exports.DTODocumentationDraftChangeType = DTODocumentationDraftChangeType; exports.DTODocumentationDraftState = DTODocumentationDraftState; exports.DTODocumentationDraftStateCreated = DTODocumentationDraftStateCreated; exports.DTODocumentationDraftStateDeleted = DTODocumentationDraftStateDeleted; exports.DTODocumentationDraftStateUpdated = DTODocumentationDraftStateUpdated; exports.DTODocumentationGroupApprovalState = DTODocumentationGroupApprovalState; exports.DTODocumentationGroupCreateActionInputV2 = DTODocumentationGroupCreateActionInputV2; exports.DTODocumentationGroupCreateActionOutputV2 = DTODocumentationGroupCreateActionOutputV2; exports.DTODocumentationGroupDeleteActionInputV2 = DTODocumentationGroupDeleteActionInputV2; exports.DTODocumentationGroupDeleteActionOutputV2 = DTODocumentationGroupDeleteActionOutputV2; exports.DTODocumentationGroupDuplicateActionInputV2 = DTODocumentationGroupDuplicateActionInputV2; exports.DTODocumentationGroupDuplicateActionOutputV2 = DTODocumentationGroupDuplicateActionOutputV2; exports.DTODocumentationGroupMoveActionInputV2 = DTODocumentationGroupMoveActionInputV2; exports.DTODocumentationGroupMoveActionOutputV2 = DTODocumentationGroupMoveActionOutputV2; exports.DTODocumentationGroupRestoreActionInput = DTODocumentationGroupRestoreActionInput; exports.DTODocumentationGroupRestoreActionOutput = DTODocumentationGroupRestoreActionOutput; exports.DTODocumentationGroupStructureV1 = DTODocumentationGroupStructureV1; exports.DTODocumentationGroupUpdateActionInputV2 = DTODocumentationGroupUpdateActionInputV2; exports.DTODocumentationGroupUpdateActionOutputV2 = DTODocumentationGroupUpdateActionOutputV2; exports.DTODocumentationGroupV1 = DTODocumentationGroupV1; exports.DTODocumentationGroupV2 = DTODocumentationGroupV2; exports.DTODocumentationHierarchyV2 = DTODocumentationHierarchyV2; exports.DTODocumentationItemConfigurationV1 = DTODocumentationItemConfigurationV1; exports.DTODocumentationItemConfigurationV2 = DTODocumentationItemConfigurationV2; exports.DTODocumentationItemHeaderV2 = DTODocumentationItemHeaderV2; exports.DTODocumentationLinkPreviewRequest = DTODocumentationLinkPreviewRequest; exports.DTODocumentationLinkPreviewResponse = DTODocumentationLinkPreviewResponse; exports.DTODocumentationPageAnalyticsDifference = DTODocumentationPageAnalyticsDifference; exports.DTODocumentationPageAnalyticsResponse = DTODocumentationPageAnalyticsResponse; exports.DTODocumentationPageAnchor = DTODocumentationPageAnchor; exports.DTODocumentationPageApprovalState = DTODocumentationPageApprovalState; exports.DTODocumentationPageApprovalStateChangeActionInput = DTODocumentationPageApprovalStateChangeActionInput; exports.DTODocumentationPageApprovalStateChangeActionOutput = DTODocumentationPageApprovalStateChangeActionOutput; exports.DTODocumentationPageApprovalStateChangeInput = DTODocumentationPageApprovalStateChangeInput; exports.DTODocumentationPageContent = DTODocumentationPageContent; exports.DTODocumentationPageContentGetResponse = DTODocumentationPageContentGetResponse; exports.DTODocumentationPageCreateActionInputV2 = DTODocumentationPageCreateActionInputV2; exports.DTODocumentationPageCreateActionOutputV2 = DTODocumentationPageCreateActionOutputV2; exports.DTODocumentationPageDeleteActionInputV2 = DTODocumentationPageDeleteActionInputV2; exports.DTODocumentationPageDeleteActionOutputV2 = DTODocumentationPageDeleteActionOutputV2; exports.DTODocumentationPageDuplicateActionInputV2 = DTODocumentationPageDuplicateActionInputV2; exports.DTODocumentationPageDuplicateActionOutputV2 = DTODocumentationPageDuplicateActionOutputV2; exports.DTODocumentationPageIntervalDifferenceResponse = DTODocumentationPageIntervalDifferenceResponse; exports.DTODocumentationPageMoveActionInputV2 = DTODocumentationPageMoveActionInputV2; exports.DTODocumentationPageMoveActionOutputV2 = DTODocumentationPageMoveActionOutputV2; exports.DTODocumentationPageRestoreActionInput = DTODocumentationPageRestoreActionInput; exports.DTODocumentationPageRestoreActionOutput = DTODocumentationPageRestoreActionOutput; exports.DTODocumentationPageRoom = DTODocumentationPageRoom; exports.DTODocumentationPageRoomHeaderData = DTODocumentationPageRoomHeaderData; exports.DTODocumentationPageRoomHeaderDataUpdate = DTODocumentationPageRoomHeaderDataUpdate; exports.DTODocumentationPageRoomResponse = DTODocumentationPageRoomResponse; exports.DTODocumentationPageSnapshot = DTODocumentationPageSnapshot; exports.DTODocumentationPageUpdateActionInputV2 = DTODocumentationPageUpdateActionInputV2; exports.DTODocumentationPageUpdateActionOutputV2 = DTODocumentationPageUpdateActionOutputV2; exports.DTODocumentationPageUpdateDocumentActionInputV2 = DTODocumentationPageUpdateDocumentActionInputV2; exports.DTODocumentationPageUpdateDocumentActionOutputV2 = DTODocumentationPageUpdateDocumentActionOutputV2; exports.DTODocumentationPageV2 = DTODocumentationPageV2; exports.DTODocumentationPublishMetadata = DTODocumentationPublishMetadata; exports.DTODocumentationPublishTypeQueryParams = DTODocumentationPublishTypeQueryParams; exports.DTODocumentationSettings = DTODocumentationSettings; exports.DTODocumentationStructure = DTODocumentationStructure; exports.DTODocumentationStructureGroupItem = DTODocumentationStructureGroupItem; exports.DTODocumentationStructureItem = DTODocumentationStructureItem; exports.DTODocumentationStructurePageItem = DTODocumentationStructurePageItem; exports.DTODocumentationTabCreateActionInputV2 = DTODocumentationTabCreateActionInputV2; exports.DTODocumentationTabCreateActionOutputV2 = DTODocumentationTabCreateActionOutputV2; exports.DTODocumentationTabGroupDeleteActionInputV2 = DTODocumentationTabGroupDeleteActionInputV2; exports.DTODocumentationTabGroupDeleteActionOutputV2 = DTODocumentationTabGroupDeleteActionOutputV2; exports.DTODownloadAssetsRequest = DTODownloadAssetsRequest; exports.DTODownloadAssetsResponse = DTODownloadAssetsResponse; exports.DTODuplicateDocumentationGroupInput = DTODuplicateDocumentationGroupInput; exports.DTODuplicateDocumentationPageInputV2 = DTODuplicateDocumentationPageInputV2; exports.DTOElementActionInput = DTOElementActionInput; exports.DTOElementActionOutput = DTOElementActionOutput; exports.DTOElementPropertyDefinition = DTOElementPropertyDefinition; exports.DTOElementPropertyDefinitionCreatePayload = DTOElementPropertyDefinitionCreatePayload; exports.DTOElementPropertyDefinitionListResponse = DTOElementPropertyDefinitionListResponse; exports.DTOElementPropertyDefinitionOption = DTOElementPropertyDefinitionOption; exports.DTOElementPropertyDefinitionResponse = DTOElementPropertyDefinitionResponse; exports.DTOElementPropertyDefinitionUpdatePayload = DTOElementPropertyDefinitionUpdatePayload; exports.DTOElementPropertyValue = DTOElementPropertyValue; exports.DTOElementPropertyValueListResponse = DTOElementPropertyValueListResponse; exports.DTOElementPropertyValueResponse = DTOElementPropertyValueResponse; exports.DTOElementPropertyValueUpsertPaylod = DTOElementPropertyValueUpsertPaylod; exports.DTOElementPropertyValuesEditActionInput = DTOElementPropertyValuesEditActionInput; exports.DTOElementPropertyValuesEditActionOutput = DTOElementPropertyValuesEditActionOutput; exports.DTOElementView = DTOElementView; exports.DTOElementViewBasePropertyColumn = DTOElementViewBasePropertyColumn; exports.DTOElementViewColumn = DTOElementViewColumn; exports.DTOElementViewColumnSharedAttributes = DTOElementViewColumnSharedAttributes; exports.DTOElementViewPropertyDefinitionColumn = DTOElementViewPropertyDefinitionColumn; exports.DTOElementViewThemeColumn = DTOElementViewThemeColumn; exports.DTOElementViewsListResponse = DTOElementViewsListResponse; exports.DTOElementsGetOutput = DTOElementsGetOutput; exports.DTOElementsGetOutputV2 = DTOElementsGetOutputV2; exports.DTOElementsGetQuerySchema = DTOElementsGetQuerySchema; exports.DTOElementsGetTypeFilter = DTOElementsGetTypeFilter; exports.DTOEvent = DTOEvent; exports.DTOEventDataSourcesImported = DTOEventDataSourcesImported; exports.DTOEventFigmaNodesRendered = DTOEventFigmaNodesRendered; exports.DTOExportJob = DTOExportJob; exports.DTOExportJobCreateInput = DTOExportJobCreateInput; exports.DTOExportJobCreatedBy = DTOExportJobCreatedBy; exports.DTOExportJobDesignSystemPreview = DTOExportJobDesignSystemPreview; exports.DTOExportJobDesignSystemVersionPreview = DTOExportJobDesignSystemVersionPreview; exports.DTOExportJobDestinations = DTOExportJobDestinations; exports.DTOExportJobResponse = DTOExportJobResponse; exports.DTOExportJobResponseLegacy = DTOExportJobResponseLegacy; exports.DTOExportJobResult = DTOExportJobResult; exports.DTOExportJobsListFilter = DTOExportJobsListFilter; exports.DTOExporter = DTOExporter; exports.DTOExporterCreateInput = DTOExporterCreateInput; exports.DTOExporterDeprecationInput = DTOExporterDeprecationInput; exports.DTOExporterGitProviderEnum = DTOExporterGitProviderEnum; exports.DTOExporterListQuery = DTOExporterListQuery; exports.DTOExporterListResponse = DTOExporterListResponse; exports.DTOExporterMembership = DTOExporterMembership; exports.DTOExporterMembershipRole = DTOExporterMembershipRole; exports.DTOExporterPropertyDefinition = DTOExporterPropertyDefinition; exports.DTOExporterPropertyDefinitionArray = DTOExporterPropertyDefinitionArray; exports.DTOExporterPropertyDefinitionBoolean = DTOExporterPropertyDefinitionBoolean; exports.DTOExporterPropertyDefinitionCode = DTOExporterPropertyDefinitionCode; exports.DTOExporterPropertyDefinitionEnum = DTOExporterPropertyDefinitionEnum; exports.DTOExporterPropertyDefinitionEnumOption = DTOExporterPropertyDefinitionEnumOption; exports.DTOExporterPropertyDefinitionNumber = DTOExporterPropertyDefinitionNumber; exports.DTOExporterPropertyDefinitionObject = DTOExporterPropertyDefinitionObject; exports.DTOExporterPropertyDefinitionString = DTOExporterPropertyDefinitionString; exports.DTOExporterPropertyDefinitionsResponse = DTOExporterPropertyDefinitionsResponse; exports.DTOExporterPropertyType = DTOExporterPropertyType; exports.DTOExporterPropertyValue = DTOExporterPropertyValue; exports.DTOExporterPropertyValueMap = DTOExporterPropertyValueMap; exports.DTOExporterResponse = DTOExporterResponse; exports.DTOExporterSource = DTOExporterSource; exports.DTOExporterType = DTOExporterType; exports.DTOExporterUpdateInput = DTOExporterUpdateInput; exports.DTOFigmaComponent = DTOFigmaComponent; exports.DTOFigmaComponentGroup = DTOFigmaComponentGroup; exports.DTOFigmaComponentGroupListResponse = DTOFigmaComponentGroupListResponse; exports.DTOFigmaComponentListResponse = DTOFigmaComponentListResponse; exports.DTOFigmaNode = DTOFigmaNode; exports.DTOFigmaNodeData = DTOFigmaNodeData; exports.DTOFigmaNodeDataV2 = DTOFigmaNodeDataV2; exports.DTOFigmaNodeOrigin = DTOFigmaNodeOrigin; exports.DTOFigmaNodeRenderActionInput = DTOFigmaNodeRenderActionInput; exports.DTOFigmaNodeRenderActionOutput = DTOFigmaNodeRenderActionOutput; exports.DTOFigmaNodeRenderAsyncActionInput = DTOFigmaNodeRenderAsyncActionInput; exports.DTOFigmaNodeRenderAsyncActionOutput = DTOFigmaNodeRenderAsyncActionOutput; exports.DTOFigmaNodeRenderFormat = DTOFigmaNodeRenderFormat; exports.DTOFigmaNodeRenderIdInput = DTOFigmaNodeRenderIdInput; exports.DTOFigmaNodeRenderInput = DTOFigmaNodeRenderInput; exports.DTOFigmaNodeRenderUrlInput = DTOFigmaNodeRenderUrlInput; exports.DTOFigmaNodeRerenderInput = DTOFigmaNodeRerenderInput; exports.DTOFigmaNodeStructure = DTOFigmaNodeStructure; exports.DTOFigmaNodeStructureDetail = DTOFigmaNodeStructureDetail; exports.DTOFigmaNodeStructureDetailResponse = DTOFigmaNodeStructureDetailResponse; exports.DTOFigmaNodeStructureListResponse = DTOFigmaNodeStructureListResponse; exports.DTOFigmaNodeV2 = DTOFigmaNodeV2; exports.DTOFrameNodeStructure = DTOFrameNodeStructure; exports.DTOFrameNodeStructureListResponse = DTOFrameNodeStructureListResponse; exports.DTOGetBlockDefinitionsOutput = DTOGetBlockDefinitionsOutput; exports.DTOGetDocumentationPageAnchorsResponse = DTOGetDocumentationPageAnchorsResponse; exports.DTOGitBranch = DTOGitBranch; exports.DTOGitOrganization = DTOGitOrganization; exports.DTOGitProject = DTOGitProject; exports.DTOGitRepository = DTOGitRepository; exports.DTOImportJob = DTOImportJob; exports.DTOImportJobResponse = DTOImportJobResponse; exports.DTOIntegration = DTOIntegration; exports.DTOIntegrationCredentials = DTOIntegrationCredentials; exports.DTOIntegrationOAuthGetResponse = DTOIntegrationOAuthGetResponse; exports.DTOIntegrationPostResponse = DTOIntegrationPostResponse; exports.DTOIntegrationsGetListResponse = DTOIntegrationsGetListResponse; exports.DTOLiveblocksAuthRequest = DTOLiveblocksAuthRequest; exports.DTOLiveblocksAuthResponse = DTOLiveblocksAuthResponse; exports.DTOMoveDocumentationGroupInput = DTOMoveDocumentationGroupInput; exports.DTOMoveDocumentationPageInputV2 = DTOMoveDocumentationPageInputV2; exports.DTONpmRegistryConfig = DTONpmRegistryConfig; exports.DTONpmRegistryConfigConstants = DTONpmRegistryConfigConstants; exports.DTOObjectMeta = DTOObjectMeta; exports.DTOPageBlockColorV2 = DTOPageBlockColorV2; exports.DTOPageBlockDefinition = DTOPageBlockDefinition; exports.DTOPageBlockDefinitionBehavior = DTOPageBlockDefinitionBehavior; exports.DTOPageBlockDefinitionItem = DTOPageBlockDefinitionItem; exports.DTOPageBlockDefinitionLayout = DTOPageBlockDefinitionLayout; exports.DTOPageBlockDefinitionProperty = DTOPageBlockDefinitionProperty; exports.DTOPageBlockDefinitionVariant = DTOPageBlockDefinitionVariant; exports.DTOPageBlockItemV2 = DTOPageBlockItemV2; exports.DTOPageRedirect = DTOPageRedirect; exports.DTOPageRedirectCreateBody = DTOPageRedirectCreateBody; exports.DTOPageRedirectDeleteResponse = DTOPageRedirectDeleteResponse; exports.DTOPageRedirectListResponse = DTOPageRedirectListResponse; exports.DTOPageRedirectResponse = DTOPageRedirectResponse; exports.DTOPageRedirectUpdateBody = DTOPageRedirectUpdateBody; exports.DTOPagination = DTOPagination; exports.DTOPipeline = DTOPipeline; exports.DTOPipelineCreateBody = DTOPipelineCreateBody; exports.DTOPipelineListQuery = DTOPipelineListQuery; exports.DTOPipelineListResponse = DTOPipelineListResponse; exports.DTOPipelineResponse = DTOPipelineResponse; exports.DTOPipelineTriggerBody = DTOPipelineTriggerBody; exports.DTOPipelineUpdateBody = DTOPipelineUpdateBody; exports.DTOPubishedDocAnalyticsComparisonData = DTOPubishedDocAnalyticsComparisonData; exports.DTOPublishDocumentationChanges = DTOPublishDocumentationChanges; exports.DTOPublishDocumentationRequest = DTOPublishDocumentationRequest; exports.DTOPublishDocumentationResponse = DTOPublishDocumentationResponse; exports.DTOPublishedDocPageVisitData = DTOPublishedDocPageVisitData; exports.DTOPublishedDocVisitData = DTOPublishedDocVisitData; exports.DTOPublishedDocVisitHeatMapWeek = DTOPublishedDocVisitHeatMapWeek; exports.DTORenderedAssetFile = DTORenderedAssetFile; exports.DTORestoreDocumentationGroupInput = DTORestoreDocumentationGroupInput; exports.DTORestoreDocumentationPageInput = DTORestoreDocumentationPageInput; exports.DTOStorybookEntry = DTOStorybookEntry; exports.DTOStorybookEntryListResponse = DTOStorybookEntryListResponse; exports.DTOStorybookEntryOrigin = DTOStorybookEntryOrigin; exports.DTOStorybookEntryReplaceAction = DTOStorybookEntryReplaceAction; exports.DTOStorybookEntryResponse = DTOStorybookEntryResponse; exports.DTOStorybookImportPayload = DTOStorybookImportPayload; exports.DTOTheme = DTOTheme; exports.DTOThemeCreatePayload = DTOThemeCreatePayload; exports.DTOThemeListResponse = DTOThemeListResponse; exports.DTOThemeOverride = DTOThemeOverride; exports.DTOThemeOverrideCreatePayload = DTOThemeOverrideCreatePayload; exports.DTOThemeResponse = DTOThemeResponse; exports.DTOTokenCollection = DTOTokenCollection; exports.DTOTokenCollectionsListReponse = DTOTokenCollectionsListReponse; exports.DTOTransferOwnershipPayload = DTOTransferOwnershipPayload; exports.DTOUpdateDocumentationGroupInput = DTOUpdateDocumentationGroupInput; exports.DTOUpdateDocumentationPageDocumentInputV2 = DTOUpdateDocumentationPageDocumentInputV2; exports.DTOUpdateDocumentationPageInputV2 = DTOUpdateDocumentationPageInputV2; exports.DTOUpdateUserNotificationSettingsPayload = DTOUpdateUserNotificationSettingsPayload; exports.DTOUpdateVersionInput = DTOUpdateVersionInput; exports.DTOUser = DTOUser; exports.DTOUserGetResponse = DTOUserGetResponse; exports.DTOUserNotificationSettingsResponse = DTOUserNotificationSettingsResponse; exports.DTOUserOnboarding = DTOUserOnboarding; exports.DTOUserOnboardingDepartment = DTOUserOnboardingDepartment; exports.DTOUserOnboardingJobLevel = DTOUserOnboardingJobLevel; exports.DTOUserProfile = DTOUserProfile; exports.DTOUserProfileUpdate = DTOUserProfileUpdate; exports.DTOUserProfileUpdatePayload = DTOUserProfileUpdatePayload; exports.DTOUserProfileUpdateResponse = DTOUserProfileUpdateResponse; exports.DTOUserSource = DTOUserSource; exports.DTOUserTheme = DTOUserTheme; exports.DTOUserWorkspaceMembership = DTOUserWorkspaceMembership; exports.DTOUserWorkspaceMembershipsResponse = DTOUserWorkspaceMembershipsResponse; exports.DTOWorkspace = DTOWorkspace; exports.DTOWorkspaceCreateInput = DTOWorkspaceCreateInput; exports.DTOWorkspaceIntegrationGetGitObjectsInput = DTOWorkspaceIntegrationGetGitObjectsInput; exports.DTOWorkspaceIntegrationOauthInput = DTOWorkspaceIntegrationOauthInput; exports.DTOWorkspaceIntegrationPATInput = DTOWorkspaceIntegrationPATInput; exports.DTOWorkspaceInvitationInput = DTOWorkspaceInvitationInput; exports.DTOWorkspaceInvitationUpdateResponse = DTOWorkspaceInvitationUpdateResponse; exports.DTOWorkspaceInvitationsListInput = DTOWorkspaceInvitationsListInput; exports.DTOWorkspaceInvitationsResponse = DTOWorkspaceInvitationsResponse; exports.DTOWorkspaceInviteUpdate = DTOWorkspaceInviteUpdate; exports.DTOWorkspaceMember = DTOWorkspaceMember; exports.DTOWorkspaceMembersListResponse = DTOWorkspaceMembersListResponse; exports.DTOWorkspaceProfile = DTOWorkspaceProfile; exports.DTOWorkspaceResponse = DTOWorkspaceResponse; exports.DTOWorkspaceRole = DTOWorkspaceRole; exports.DTOWorkspaceUntypedData = DTOWorkspaceUntypedData; exports.DTOWorkspaceUntypedDataCreatePayload = DTOWorkspaceUntypedDataCreatePayload; exports.DTOWorkspaceUntypedDataListResponse = DTOWorkspaceUntypedDataListResponse; exports.DTOWorkspaceUntypedDataResponse = DTOWorkspaceUntypedDataResponse; exports.DTOWorkspaceUntypedDataUpdatePayload = DTOWorkspaceUntypedDataUpdatePayload; exports.DesignSystemAnalyticsEndpoint = DesignSystemAnalyticsEndpoint; exports.DesignSystemBffEndpoint = DesignSystemBffEndpoint; exports.DesignSystemComponentEndpoint = DesignSystemComponentEndpoint; exports.DesignSystemContactsEndpoint = DesignSystemContactsEndpoint; exports.DesignSystemMembersEndpoint = DesignSystemMembersEndpoint; exports.DesignSystemPageRedirectsEndpoint = DesignSystemPageRedirectsEndpoint; exports.DesignSystemSourcesEndpoint = DesignSystemSourcesEndpoint; exports.DesignSystemVersionsEndpoint = DesignSystemVersionsEndpoint; exports.DesignSystemsEndpoint = DesignSystemsEndpoint; exports.DimensionsVariableScopeType = DimensionsVariableScopeType; exports.DocsStructureRepository = DocsStructureRepository; exports.DocumentationEndpoint = DocumentationEndpoint; exports.DocumentationHierarchySettings = DocumentationHierarchySettings; exports.DocumentationPageEditorModel = DocumentationPageEditorModel; exports.DocumentationPageV1DTO = DocumentationPageV1DTO; exports.ElementPropertyDefinitionsEndpoint = ElementPropertyDefinitionsEndpoint; exports.ElementPropertyValuesEndpoint = ElementPropertyValuesEndpoint; exports.ElementsActionEndpoint = ElementsActionEndpoint; exports.ElementsEndpoint = ElementsEndpoint; exports.ExporterJobsEndpoint = ExporterJobsEndpoint; exports.ExportersEndpoint = ExportersEndpoint; exports.FigmaComponentGroupsEndpoint = FigmaComponentGroupsEndpoint; exports.FigmaComponentsEndpoint = FigmaComponentsEndpoint; exports.FigmaFrameStructuresEndpoint = FigmaFrameStructuresEndpoint; exports.FigmaNodeStructuresEndpoint = FigmaNodeStructuresEndpoint; exports.FigmaUtils = FigmaUtils; exports.FormattedCollections = FormattedCollections; exports.FrontendVersionRoomYDoc = FrontendVersionRoomYDoc; exports.GitDestinationOptions = GitDestinationOptions; exports.ImportJobsEndpoint = ImportJobsEndpoint; exports.ListTreeBuilder = ListTreeBuilder; exports.LiveblocksEndpoint = LiveblocksEndpoint; exports.LocalDocsElementActionExecutor = LocalDocsElementActionExecutor; exports.NpmRegistryInput = NpmRegistryInput; exports.ObjectMeta = ObjectMeta2; exports.OverridesEndpoint = OverridesEndpoint; exports.PageBlockEditorModel = PageBlockEditorModel; exports.PageSectionEditorModel = PageSectionEditorModel; exports.ParsedFigmaFileURLError = ParsedFigmaFileURLError; exports.PipelinesEndpoint = PipelinesEndpoint; exports.RGB = RGB; exports.RGBA = RGBA; exports.RequestExecutor = RequestExecutor; exports.RequestExecutorError = RequestExecutorError; exports.ResolvedVariableType = ResolvedVariableType; exports.StorybookEntriesEndpoint = StorybookEntriesEndpoint; exports.StringVariableScopeType = StringVariableScopeType; exports.SupernovaApiClient = SupernovaApiClient; exports.ThemesEndpoint = ThemesEndpoint; exports.TokenCollectionsEndpoint = TokenCollectionsEndpoint; exports.TokenGroupsEndpoint = TokenGroupsEndpoint; exports.TokensEndpoint = TokensEndpoint; exports.UsersEndpoint = UsersEndpoint; exports.Variable = Variable; exports.VariableAlias = VariableAlias; exports.VariableMode = VariableMode; exports.VariableValue = VariableValue; exports.VariablesMapping = VariablesMapping; exports.VersionRoomBaseYDoc = VersionRoomBaseYDoc; exports.VersionSQSPayload = VersionSQSPayload; exports.VersionStatsEndpoint = VersionStatsEndpoint; exports.WorkspaceConfigurationPayload = WorkspaceConfigurationPayload; exports.WorkspaceIntegrationsEndpoint = WorkspaceIntegrationsEndpoint; exports.WorkspaceInvitationsEndpoint = WorkspaceInvitationsEndpoint; exports.WorkspaceMembersEndpoint = WorkspaceMembersEndpoint; exports.WorkspacesEndpoint = WorkspacesEndpoint; exports.applyActionsLocally = applyActionsLocally; exports.applyPrivacyConfigurationToNestedItems = applyPrivacyConfigurationToNestedItems; exports.blockToProsemirrorNode = blockToProsemirrorNode; exports.buildDocPagePublishPaths = buildDocPagePublishPaths; exports.calculateElementParentChain = calculateElementParentChain; exports.computeDocsHierarchy = computeDocsHierarchy; exports.documentationAnalyticsToComparisonDto = documentationAnalyticsToComparisonDto; exports.documentationAnalyticsToGlobalDto = documentationAnalyticsToGlobalDto; exports.documentationAnalyticsToHeatMapDto = documentationAnalyticsToHeatMapDto; exports.documentationAnalyticsToPageDto = documentationAnalyticsToPageDto; exports.documentationItemConfigurationToDTOV1 = documentationItemConfigurationToDTOV1; exports.documentationItemConfigurationToDTOV2 = documentationItemConfigurationToDTOV2; exports.documentationPageToDTOV2 = documentationPageToDTOV2; exports.documentationPagesFixedConfigurationToDTOV1 = documentationPagesFixedConfigurationToDTOV1; exports.documentationPagesFixedConfigurationToDTOV2 = documentationPagesFixedConfigurationToDTOV2; exports.documentationPagesToDTOV1 = documentationPagesToDTOV1; exports.documentationPagesToDTOV2 = documentationPagesToDTOV2; exports.elementGroupsToDocumentationGroupDTOV1 = elementGroupsToDocumentationGroupDTOV1; exports.elementGroupsToDocumentationGroupDTOV2 = elementGroupsToDocumentationGroupDTOV2; exports.elementGroupsToDocumentationGroupFixedConfigurationDTOV1 = elementGroupsToDocumentationGroupFixedConfigurationDTOV1; exports.elementGroupsToDocumentationGroupFixedConfigurationDTOV2 = elementGroupsToDocumentationGroupFixedConfigurationDTOV2; exports.elementGroupsToDocumentationGroupStructureDTOV1 = elementGroupsToDocumentationGroupStructureDTOV1; exports.exhaustiveInvalidUriPaths = exhaustiveInvalidUriPaths; exports.generateHash = generateHash; exports.generatePageContentHash = generatePageContentHash; exports.getDtoDefaultItemConfigurationV1 = getDtoDefaultItemConfigurationV1; exports.getDtoDefaultItemConfigurationV2 = getDtoDefaultItemConfigurationV2; exports.getMockPageBlockDefinitions = getMockPageBlockDefinitions; exports.gitBranchToDto = gitBranchToDto; exports.gitOrganizationToDto = gitOrganizationToDto; exports.gitProjectToDto = gitProjectToDto; exports.gitRepositoryToDto = gitRepositoryToDto; exports.innerEditorProsemirrorSchema = innerEditorProsemirrorSchema; exports.integrationCredentialToDto = integrationCredentialToDto; exports.integrationToDto = integrationToDto; exports.isValidRedirectPath = isValidRedirectPath; exports.itemConfigurationToYjs = itemConfigurationToYjs; exports.mainEditorProsemirrorSchema = mainEditorProsemirrorSchema; exports.pageToProsemirrorDoc = pageToProsemirrorDoc; exports.pageToYDoc = pageToYDoc; exports.pageToYXmlFragment = pageToYXmlFragment; exports.pipelineToDto = pipelineToDto; exports.prosemirrorDocToPage = prosemirrorDocToPage; exports.prosemirrorDocToRichTextPropertyValue = prosemirrorDocToRichTextPropertyValue; exports.prosemirrorNodeToSection = prosemirrorNodeToSection; exports.prosemirrorNodesToBlocks = prosemirrorNodesToBlocks; exports.richTextPropertyValueToProsemirror = richTextPropertyValueToProsemirror; exports.serializeAsCustomBlock = serializeAsCustomBlock; exports.serializeQuery = serializeQuery; exports.shallowProsemirrorNodeToBlock = shallowProsemirrorNodeToBlock; exports.validateDesignSystemVersion = validateDesignSystemVersion; exports.validateSsoPayload = validateSsoPayload; exports.yDocToPage = yDocToPage; exports.yXmlFragmentToPage = yXmlFragmentToPage; exports.yjsToDocumentationHierarchy = yjsToDocumentationHierarchy; exports.yjsToItemConfiguration = yjsToItemConfiguration;
14995
15187
  //# sourceMappingURL=index.js.map