@supernova-studio/client 1.6.0 → 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.mjs CHANGED
@@ -637,25 +637,41 @@ var Asset = z22.object({
637
637
  var ResolvedAsset = Asset.extend({
638
638
  url: z22.string()
639
639
  });
640
- var CodeComponentPropertyControlType = z23.enum([
641
- "Boolean",
642
- "Function",
643
- "Number",
644
- "Object",
645
- "Slot",
646
- "String",
647
- "Unknown"
640
+ var CodeComponentResolvedTypeKind = z23.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"
648
654
  ]);
649
- var CodeComponentPropertyControl = z23.object({
650
- isArray: z23.boolean(),
651
- type: CodeComponentPropertyControlType
655
+ var CodeComponentResolvedType = z23.lazy(
656
+ () => z23.object({
657
+ kind: CodeComponentResolvedTypeKind,
658
+ raw: z23.string().optional(),
659
+ types: z23.array(CodeComponentResolvedType).optional(),
660
+ isArray: z23.boolean().optional()
661
+ })
662
+ );
663
+ var CodeComponentParentType = z23.object({
664
+ fileName: z23.string(),
665
+ name: z23.string()
652
666
  });
653
667
  var CodeComponentProperty = z23.object({
654
- control: CodeComponentPropertyControl,
655
668
  defaultValue: z23.string().optional(),
656
669
  name: z23.string(),
657
670
  required: z23.boolean(),
658
- type: z23.string()
671
+ type: CodeComponentResolvedType,
672
+ declarations: z23.array(CodeComponentParentType).optional(),
673
+ tags: z23.record(z23.string(), z23.string()).optional(),
674
+ description: z23.string()
659
675
  });
660
676
  var CodeComponent = z23.object({
661
677
  id: z23.string(),
@@ -664,7 +680,15 @@ var CodeComponent = z23.object({
664
680
  createdAt: z23.coerce.date(),
665
681
  updatedAt: z23.coerce.date(),
666
682
  exportName: z23.string(),
667
- properties: z23.record(z23.string(), CodeComponentProperty)
683
+ componentPath: z23.string(),
684
+ description: z23.string(),
685
+ properties: z23.record(z23.string(), CodeComponentProperty),
686
+ tags: z23.record(z23.string(), z23.string()).optional()
687
+ });
688
+ var CodeComponentUpsertResponse = z23.object({
689
+ created: z23.number().nonnegative(),
690
+ updated: z23.number().nonnegative(),
691
+ deleted: z23.number().nonnegative()
668
692
  });
669
693
  var FigmaFileDownloadScope = z24.object({
670
694
  styles: z24.boolean(),
@@ -921,6 +945,9 @@ function groupBy(items, keyFn) {
921
945
  }
922
946
  return result;
923
947
  }
948
+ function nonNullFilter(item) {
949
+ return item !== null;
950
+ }
924
951
  function areShallowObjectsEqual(lhs, rhs) {
925
952
  if (lhs === void 0 !== (rhs === void 0)) return false;
926
953
  if (lhs === void 0 || rhs === void 0) return true;
@@ -3777,24 +3804,19 @@ var DocumentationLinkPreview = z110.object({
3777
3804
  description: z110.string().optional(),
3778
3805
  thumbnail: PageBlockImageReference.optional()
3779
3806
  });
3780
- var DocumentationPage = z111.object({
3781
- type: z111.literal("DocumentationPage"),
3782
- id: z111.string(),
3783
- persistentId: z111.string(),
3784
- shortPersistentId: z111.string(),
3785
- designSystemVersionId: z111.string(),
3786
- parentPersistentId: z111.string().nullish(),
3787
- sortOrder: z111.number(),
3788
- title: z111.string(),
3789
- slug: z111.string(),
3790
- userSlug: z111.string().nullish(),
3791
- createdAt: z111.coerce.date(),
3792
- updatedAt: z111.coerce.date()
3793
- });
3794
- var DocumentationPageAnchor = z112.object({
3795
- blockId: z112.string(),
3796
- level: z112.number(),
3797
- text: z112.string()
3807
+ var DocumentationPageAnchor = z111.object({
3808
+ blockId: z111.string(),
3809
+ level: z111.number(),
3810
+ text: z111.string()
3811
+ });
3812
+ var DocumentationPageContentBackup = z112.object({
3813
+ id: z112.string(),
3814
+ designSystemVersionId: z112.string(),
3815
+ createdAt: z112.coerce.date(),
3816
+ updatedAt: z112.coerce.date(),
3817
+ documentationPageId: z112.string(),
3818
+ documentationPageName: z112.string(),
3819
+ storagePath: z112.string()
3798
3820
  });
3799
3821
  var DocumentationPageContentItem = z113.discriminatedUnion("type", [
3800
3822
  PageBlockEditorModelV2,
@@ -3811,29 +3833,34 @@ var DocumentationPageContent = z113.object({
3811
3833
  documentationPageId: z113.string(),
3812
3834
  data: DocumentationPageContentData
3813
3835
  });
3814
- var DocumentationPageContentBackup = z114.object({
3836
+ var DocumentationPageDependencies = z114.object({
3815
3837
  id: z114.string(),
3816
3838
  designSystemVersionId: z114.string(),
3817
3839
  createdAt: z114.coerce.date(),
3818
3840
  updatedAt: z114.coerce.date(),
3819
3841
  documentationPageId: z114.string(),
3820
- documentationPageName: z114.string(),
3821
- storagePath: z114.string()
3822
- });
3823
- var DocumentationPageDependencies = z115.object({
3842
+ tokenPersistentIds: z114.set(z114.string()),
3843
+ figmaComponentPersistentIds: z114.set(z114.string()),
3844
+ componentPersistentIds: z114.set(z114.string()),
3845
+ figmaNodePersistentIds: z114.set(z114.string()),
3846
+ groupPersistentIds: z114.set(z114.string()),
3847
+ propertyPersistentIds: z114.set(z114.string()),
3848
+ themePersistentIds: z114.set(z114.string()),
3849
+ documentationPagePersistentIds: z114.set(z114.string())
3850
+ });
3851
+ var DocumentationPage = z115.object({
3852
+ type: z115.literal("DocumentationPage"),
3824
3853
  id: z115.string(),
3854
+ persistentId: z115.string(),
3855
+ shortPersistentId: z115.string(),
3825
3856
  designSystemVersionId: z115.string(),
3857
+ parentPersistentId: z115.string().nullish(),
3858
+ sortOrder: z115.number(),
3859
+ title: z115.string(),
3860
+ slug: z115.string(),
3861
+ userSlug: z115.string().nullish(),
3826
3862
  createdAt: z115.coerce.date(),
3827
- updatedAt: z115.coerce.date(),
3828
- documentationPageId: z115.string(),
3829
- tokenPersistentIds: z115.set(z115.string()),
3830
- figmaComponentPersistentIds: z115.set(z115.string()),
3831
- componentPersistentIds: z115.set(z115.string()),
3832
- figmaNodePersistentIds: z115.set(z115.string()),
3833
- groupPersistentIds: z115.set(z115.string()),
3834
- propertyPersistentIds: z115.set(z115.string()),
3835
- themePersistentIds: z115.set(z115.string()),
3836
- documentationPagePersistentIds: z115.set(z115.string())
3863
+ updatedAt: z115.coerce.date()
3837
3864
  });
3838
3865
  var PageRedirect = z116.object({
3839
3866
  id: z116.string(),
@@ -5079,118 +5106,106 @@ var PersonalAccessToken = z190.object({
5079
5106
  });
5080
5107
 
5081
5108
  // src/api/conversion/analytics/page-visits-to-dto.ts
5082
- function pageVisitsToDto(entries) {
5083
- const result = [];
5084
- const { userBasedEntries, sessionLessResults } = splitEntries(entries);
5085
- result.push(...sessionLessResults);
5086
- const userBasedPageVisitsGroupedByDate = groupBy(
5087
- userBasedEntries,
5088
- (entry) => getTimestampKey(entry.timestamp)
5089
- // 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])
5090
5124
  );
5091
- for (const date of userBasedPageVisitsGroupedByDate.keys()) {
5092
- const pageData = userBasedPageVisitsGroupedByDate.get(date);
5093
- if (!pageData) {
5094
- throw SupernovaException.shouldNotHappen();
5095
- }
5096
- const { visitsPerPage, sessionsPerPage } = aggregatePageVisitsAndSessions(pageData);
5097
- const pageDataGroupedByPageId = groupBy(
5098
- pageData,
5099
- (entry) => entry.pagePersistentId
5100
- );
5101
- const pagePersistentIds = pageDataGroupedByPageId.keys();
5102
- for (const id of pagePersistentIds) {
5103
- const pageData2 = pageDataGroupedByPageId.get(id);
5104
- if (!pageData2) {
5105
- throw SupernovaException.shouldNotHappen();
5106
- }
5107
- const entry = pageData2[0];
5108
- if (!entry) {
5109
- throw SupernovaException.shouldNotHappen();
5110
- }
5111
- result.push({
5112
- versionId: entry.versionId,
5113
- pagePersistentId: entry.pagePersistentId,
5114
- timestamp: entry.timestamp,
5115
- visits: visitsPerPage.get(id) ?? 0,
5116
- sessions: sessionsPerPage.get(id) ?? 0,
5117
- locale: entry.locale
5118
- });
5119
- }
5120
- }
5121
- 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
+ });
5122
5137
  }
5123
- function calculateChangeOverTime(currentIntervalData, priorIntervalData, priorIntervalStartDate, priorIntervalEndDate) {
5124
- let priorIntervalVisits = 0;
5125
- let priorIntervalSessions = 0;
5126
- for (const v of priorIntervalData) {
5127
- priorIntervalVisits += v.visits;
5128
- priorIntervalSessions += v.sessions;
5129
- }
5130
- let currentIntervalVisits = 0;
5131
- let currentIntervalSessions = 0;
5132
- for (const v of currentIntervalData) {
5133
- currentIntervalVisits += v.visits;
5134
- currentIntervalSessions += v.sessions;
5135
- }
5136
- return {
5137
- priorVisitCount: priorIntervalVisits,
5138
- priorSessionCount: priorIntervalSessions,
5139
- currentVisitCount: currentIntervalVisits,
5140
- currentSessionCount: currentIntervalSessions,
5141
- startDate: priorIntervalStartDate,
5142
- endDate: priorIntervalEndDate
5143
- };
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);
5144
5143
  }
5145
- function getTimestampKey(timestamp) {
5146
- const date = timestamp.toISOString().split("T")[0];
5147
- const hour = timestamp.toISOString().split("T")[1].split(":")[0];
5148
- return `${date}:${hour}`;
5149
- }
5150
- function aggregatePageVisitsAndSessions(pageData) {
5151
- const visitsPerPage = /* @__PURE__ */ new Map();
5152
- const sessionsPerPage = /* @__PURE__ */ new Map();
5153
- const uniqueSessions = /* @__PURE__ */ new Set();
5154
- for (const entry of pageData) {
5155
- const pageId = entry.pagePersistentId;
5156
- const visits = entry.visits;
5157
- const currentSessionIdsLength = uniqueSessions.size;
5158
- if (!entry.anonymousId) {
5159
- throw SupernovaException.shouldNotHappen();
5160
- }
5161
- uniqueSessions.add(entry.anonymousId);
5162
- const newSessionIdsLength = uniqueSessions.size;
5163
- if (newSessionIdsLength > currentSessionIdsLength) {
5164
- sessionsPerPage.set(pageId, (sessionsPerPage.get(pageId) ?? 0) + 1);
5165
- }
5166
- visitsPerPage.set(pageId, (visitsPerPage.get(pageId) ?? 0) + visits);
5167
- }
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);
5168
5150
  return {
5169
- visitsPerPage,
5170
- 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)
5171
5156
  };
5172
5157
  }
5173
- function splitEntries(entries) {
5174
- const sessionLessResults = [];
5175
- const dataCopy = [...entries];
5176
- const userBasedEntries = dataCopy.filter((entry) => entry.anonymousId);
5177
- for (const entry of dataCopy) {
5178
- if (!entry.anonymousId) {
5179
- sessionLessResults.push({
5180
- versionId: entry.versionId,
5181
- pagePersistentId: entry.pagePersistentId,
5182
- timestamp: entry.timestamp,
5183
- visits: entry.visits,
5184
- sessions: 0,
5185
- locale: entry.locale
5186
- });
5187
- }
5188
- }
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());
5189
5162
  return {
5190
- userBasedEntries,
5191
- 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))
5192
5171
  };
5193
5172
  }
5173
+ function entriesToHeatmapDay(entries) {
5174
+ const byHour = groupBy(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
+ a?.forEach((e) => sum += e.visits);
5206
+ });
5207
+ return sum;
5208
+ }
5194
5209
 
5195
5210
  // src/api/conversion/documentation/documentation-item-configuration-v1-to-dto.ts
5196
5211
  var getDtoDefaultItemConfigurationV1 = () => ({
@@ -5640,16 +5655,11 @@ var DTOBrandUpdatePayload = z194.object({
5640
5655
 
5641
5656
  // src/api/dto/design-systems/code-component.ts
5642
5657
  import { z as z195 } from "zod";
5658
+ var DTOCodeComponentResolvedTypeKind = CodeComponentResolvedTypeKind;
5659
+ var DTOCodeComponentResolvedType = CodeComponentResolvedType;
5660
+ var DTOCodeComponentParentType = CodeComponentParentType;
5643
5661
  var DTOCodeComponentProperty = CodeComponentProperty;
5644
- var DTOCodeComponent = z195.object({
5645
- id: z195.string(),
5646
- designSystemVersionId: z195.string(),
5647
- persistentId: z195.string(),
5648
- createdAt: z195.coerce.date(),
5649
- updatedAt: z195.coerce.date(),
5650
- exportName: z195.string(),
5651
- properties: z195.record(z195.string(), DTOCodeComponentProperty)
5652
- });
5662
+ var DTOCodeComponent = CodeComponent;
5653
5663
  var DTOCodeComponentResponse = z195.object({
5654
5664
  codeComponent: DTOCodeComponent
5655
5665
  });
@@ -5659,11 +5669,15 @@ var DTOCodeComponentListResponse = z195.object({
5659
5669
  var DTOCodeComponentCreateInput = z195.object({
5660
5670
  persistentId: z195.string(),
5661
5671
  exportName: z195.string(),
5662
- properties: z195.record(z195.string(), DTOCodeComponentProperty)
5672
+ componentPath: z195.string(),
5673
+ description: z195.string(),
5674
+ properties: z195.record(z195.string(), DTOCodeComponentProperty),
5675
+ tags: z195.record(z195.string(), z195.string()).optional()
5663
5676
  });
5664
5677
  var DTOCodeComponentsCreateInput = z195.object({
5665
5678
  codeComponents: DTOCodeComponentCreateInput.array()
5666
5679
  });
5680
+ var DTOCodeComponentUpsertResponse = CodeComponentUpsertResponse;
5667
5681
 
5668
5682
  // src/api/dto/design-systems/component.ts
5669
5683
  import { z as z196 } from "zod";
@@ -6232,17 +6246,15 @@ var DTOUpdateVersionInput = z213.object({
6232
6246
 
6233
6247
  // src/api/payloads/documentation/analytics.ts
6234
6248
  import { z as z214 } from "zod";
6235
- var DTODocumentationAnalyticsTimeFrame = z214.object({
6236
- start: z214.coerce.date(),
6237
- end: z214.coerce.date()
6238
- });
6239
- var DTODocumentationAnalyticsQueryParams = z214.object({
6240
- start: z214.coerce.date(),
6241
- end: z214.coerce.date().optional()
6242
- });
6243
6249
  var DTODocumentationAnalyticsTimeFrameComparison = z214.object({
6244
- referencePeriod: DTODocumentationAnalyticsTimeFrame,
6245
- baselinePeriod: DTODocumentationAnalyticsTimeFrame
6250
+ referencePeriod: z214.object({
6251
+ start: z214.coerce.date(),
6252
+ end: z214.coerce.date().optional()
6253
+ }),
6254
+ baselinePeriod: z214.object({
6255
+ start: z214.coerce.date(),
6256
+ end: z214.coerce.date().optional()
6257
+ })
6246
6258
  });
6247
6259
  var DTODocumentationAnalyticsDiffPayload = z214.object({
6248
6260
  timeFrames: z214.array(DTODocumentationAnalyticsTimeFrameComparison)
@@ -6806,52 +6818,101 @@ var DTODesignTokenGroupCreatePayload = z235.object({
6806
6818
  childrenIds: z235.string().array()
6807
6819
  });
6808
6820
 
6809
- // src/api/dto/documentation/analytics.ts
6821
+ // src/api/dto/documentation/analytics-v2.ts
6810
6822
  import { z as z236 } from "zod";
6811
- var DTOPublishedDocPageVisitData = z236.object({
6823
+ var DTODocumentationAnalyticsTimeFrame = z236.object({
6824
+ start: z236.coerce.date(),
6825
+ end: z236.coerce.date().optional()
6826
+ });
6827
+ var DTOPublishedDocVisitData = z236.object({
6828
+ timestamp: z236.coerce.date(),
6812
6829
  versionId: z236.string(),
6813
- pagePersistentId: z236.string(),
6814
6830
  locale: z236.string().optional(),
6815
- timestamp: z236.coerce.date(),
6816
6831
  visits: z236.number(),
6817
6832
  sessions: z236.number()
6818
6833
  });
6819
- var DTODocumentationPageAnalyticsDifference = z236.object({
6820
- startDate: z236.coerce.date(),
6821
- endDate: z236.coerce.date(),
6822
- currentVisitCount: z236.number(),
6823
- currentSessionCount: z236.number(),
6834
+ var DTOPublishedDocPageVisitData = DTOPublishedDocVisitData.extend({
6835
+ pagePersistentId: z236.string()
6836
+ });
6837
+ var DTOPublishedDocVisitHeatMapDay = z236.number().array().length(12);
6838
+ var DTOPublishedDocVisitHeatMapWeek = z236.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 = z236.object({
6852
+ /**
6853
+ * For which timeframe it was calculated
6854
+ */
6855
+ timeFrame: DTODocumentationAnalyticsTimeFrame,
6824
6856
  priorVisitCount: z236.number(),
6825
- priorSessionCount: z236.number()
6857
+ priorSessionCount: z236.number(),
6858
+ currentVisitCount: z236.number(),
6859
+ currentSessionCount: z236.number()
6826
6860
  });
6827
6861
  var DTODocumentationPageAnalyticsResponse = z236.object({
6828
- analytics: z236.array(DTOPublishedDocPageVisitData)
6862
+ // Old
6863
+ /**
6864
+ * @deprecated
6865
+ */
6866
+ analytics: z236.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()
6829
6876
  });
6830
- var DTODocumentationPageIntervalDifferenceResponse = z236.object({
6831
- differences: z236.array(DTODocumentationPageAnalyticsDifference)
6877
+ var DTODocumentationAnalyticsRequest = z236.object({
6878
+ timeFrames: z236.array(DTODocumentationAnalyticsTimeFrame)
6832
6879
  });
6833
6880
 
6834
- // src/api/dto/documentation/anchor.ts
6881
+ // src/api/dto/documentation/analytics.ts
6835
6882
  import { z as z237 } from "zod";
6883
+ var DTODocumentationPageAnalyticsDifference = z237.object({
6884
+ startDate: z237.coerce.date(),
6885
+ endDate: z237.coerce.date().optional(),
6886
+ currentVisitCount: z237.number(),
6887
+ currentSessionCount: z237.number(),
6888
+ priorVisitCount: z237.number(),
6889
+ priorSessionCount: z237.number()
6890
+ });
6891
+ var DTODocumentationPageIntervalDifferenceResponse = z237.object({
6892
+ differences: z237.array(DTODocumentationPageAnalyticsDifference)
6893
+ });
6894
+
6895
+ // src/api/dto/documentation/anchor.ts
6896
+ import { z as z238 } from "zod";
6836
6897
  var DTODocumentationPageAnchor = DocumentationPageAnchor;
6837
- var DTOGetDocumentationPageAnchorsResponse = z237.object({
6838
- anchors: z237.array(DTODocumentationPageAnchor)
6898
+ var DTOGetDocumentationPageAnchorsResponse = z238.object({
6899
+ anchors: z238.array(DTODocumentationPageAnchor)
6839
6900
  });
6840
6901
 
6841
6902
  // src/api/dto/documentation/approvals.ts
6842
- import { z as z238 } from "zod";
6843
- var DTODocumentationPageApprovalState = z238.object({
6903
+ import { z as z239 } from "zod";
6904
+ var DTODocumentationPageApprovalState = z239.object({
6844
6905
  approvalState: DocumentationPageApprovalState,
6845
- pagePersistentId: z238.string(),
6846
- updatedByUserId: z238.string(),
6847
- designSystemVersionId: z238.string(),
6848
- updatedAt: z238.coerce.date(),
6849
- createdAt: z238.coerce.date()
6850
- });
6851
- var DTODocumentationGroupApprovalState = z238.object({
6852
- persistentId: z238.string(),
6853
- groupPersistentId: z238.string(),
6854
- designSystemVersionId: z238.string(),
6906
+ pagePersistentId: z239.string(),
6907
+ updatedByUserId: z239.string(),
6908
+ designSystemVersionId: z239.string(),
6909
+ updatedAt: z239.coerce.date(),
6910
+ createdAt: z239.coerce.date()
6911
+ });
6912
+ var DTODocumentationGroupApprovalState = z239.object({
6913
+ persistentId: z239.string(),
6914
+ groupPersistentId: z239.string(),
6915
+ designSystemVersionId: z239.string(),
6855
6916
  approvalState: DocumentationPageApprovalState
6856
6917
  });
6857
6918
 
@@ -6859,68 +6920,68 @@ var DTODocumentationGroupApprovalState = z238.object({
6859
6920
  var DTOPageBlockItemV2 = PageBlockItemV2;
6860
6921
 
6861
6922
  // src/api/dto/documentation/documentation-page-snapshot.ts
6862
- import { z as z243 } from "zod";
6923
+ import { z as z244 } from "zod";
6863
6924
 
6864
6925
  // src/api/dto/elements/documentation/page-v2.ts
6865
- import { z as z242 } from "zod";
6926
+ import { z as z243 } from "zod";
6866
6927
 
6867
6928
  // src/api/dto/elements/documentation/draft-state.ts
6868
- import { z as z240 } from "zod";
6929
+ import { z as z241 } from "zod";
6869
6930
 
6870
6931
  // src/api/dto/elements/documentation/item-configuration-v2.ts
6871
- import { z as z239 } from "zod";
6932
+ import { z as z240 } from "zod";
6872
6933
  var DTODocumentationItemHeaderV2 = DocumentationItemHeaderV2;
6873
- var DTODocumentationItemConfigurationV2 = z239.object({
6874
- showSidebar: z239.boolean(),
6875
- isPrivate: z239.boolean(),
6876
- isHidden: z239.boolean(),
6934
+ var DTODocumentationItemConfigurationV2 = z240.object({
6935
+ showSidebar: z240.boolean(),
6936
+ isPrivate: z240.boolean(),
6937
+ isHidden: z240.boolean(),
6877
6938
  header: DTODocumentationItemHeaderV2
6878
6939
  });
6879
6940
 
6880
6941
  // src/api/dto/elements/documentation/draft-state.ts
6881
- var DTODocumentationDraftChangeType = z240.enum(["Created", "Updated", "Deleted"]);
6882
- var DTODocumentationDraftStateCreated = z240.object({
6883
- changeType: z240.literal(DTODocumentationDraftChangeType.enum.Created)
6884
- });
6885
- var DTODocumentationDraftStateUpdated = z240.object({
6886
- changeType: z240.literal(DTODocumentationDraftChangeType.enum.Updated),
6887
- changes: z240.object({
6888
- previousTitle: z240.string().optional(),
6942
+ var DTODocumentationDraftChangeType = z241.enum(["Created", "Updated", "Deleted"]);
6943
+ var DTODocumentationDraftStateCreated = z241.object({
6944
+ changeType: z241.literal(DTODocumentationDraftChangeType.enum.Created)
6945
+ });
6946
+ var DTODocumentationDraftStateUpdated = z241.object({
6947
+ changeType: z241.literal(DTODocumentationDraftChangeType.enum.Updated),
6948
+ changes: z241.object({
6949
+ previousTitle: z241.string().optional(),
6889
6950
  previousConfiguration: DTODocumentationItemConfigurationV2.optional(),
6890
- previousContentHash: z240.string().optional()
6951
+ previousContentHash: z241.string().optional()
6891
6952
  })
6892
6953
  });
6893
- var DTODocumentationDraftStateDeleted = z240.object({
6894
- changeType: z240.literal(DTODocumentationDraftChangeType.enum.Deleted),
6895
- deletedAt: z240.coerce.date(),
6896
- deletedByUserId: z240.string()
6954
+ var DTODocumentationDraftStateDeleted = z241.object({
6955
+ changeType: z241.literal(DTODocumentationDraftChangeType.enum.Deleted),
6956
+ deletedAt: z241.coerce.date(),
6957
+ deletedByUserId: z241.string()
6897
6958
  });
6898
- var DTODocumentationDraftState = z240.discriminatedUnion("changeType", [
6959
+ var DTODocumentationDraftState = z241.discriminatedUnion("changeType", [
6899
6960
  DTODocumentationDraftStateCreated,
6900
6961
  DTODocumentationDraftStateUpdated,
6901
6962
  DTODocumentationDraftStateDeleted
6902
6963
  ]);
6903
6964
 
6904
6965
  // src/api/dto/elements/documentation/metadata.ts
6905
- import { z as z241 } from "zod";
6906
- var DTODocumentationPublishMetadata = z241.object({
6907
- lastPublishedByUserId: z241.string(),
6908
- lastPublishedAt: z241.coerce.date()
6966
+ import { z as z242 } from "zod";
6967
+ var DTODocumentationPublishMetadata = z242.object({
6968
+ lastPublishedByUserId: z242.string(),
6969
+ lastPublishedAt: z242.coerce.date()
6909
6970
  });
6910
6971
 
6911
6972
  // src/api/dto/elements/documentation/page-v2.ts
6912
- var DTODocumentationPageV2 = z242.object({
6913
- id: z242.string(),
6914
- persistentId: z242.string(),
6915
- designSystemVersionId: z242.string(),
6916
- title: z242.string(),
6973
+ var DTODocumentationPageV2 = z243.object({
6974
+ id: z243.string(),
6975
+ persistentId: z243.string(),
6976
+ designSystemVersionId: z243.string(),
6977
+ title: z243.string(),
6917
6978
  configuration: DTODocumentationItemConfigurationV2,
6918
- shortPersistentId: z242.string(),
6919
- slug: z242.string().optional(),
6920
- userSlug: z242.string().optional(),
6921
- createdAt: z242.coerce.date(),
6922
- updatedAt: z242.coerce.date(),
6923
- path: z242.string(),
6979
+ shortPersistentId: z243.string(),
6980
+ slug: z243.string().optional(),
6981
+ userSlug: z243.string().optional(),
6982
+ createdAt: z243.coerce.date(),
6983
+ updatedAt: z243.coerce.date(),
6984
+ path: z243.string(),
6924
6985
  /** Defined when a page has changed since last publish and can be included into a partial publish */
6925
6986
  draftState: DTODocumentationDraftState.optional(),
6926
6987
  /** Defined if a page was published at least once and contains metadata about last publish */
@@ -6928,267 +6989,267 @@ var DTODocumentationPageV2 = z242.object({
6928
6989
  /** Defines the approval state of the documentation page */
6929
6990
  approvalState: DTODocumentationPageApprovalState.optional(),
6930
6991
  /** Id of the page document room */
6931
- liveblocksRoomId: z242.string().optional(),
6992
+ liveblocksRoomId: z243.string().optional(),
6932
6993
  // Backward compatibility
6933
- type: z242.literal("Page")
6994
+ type: z243.literal("Page")
6934
6995
  });
6935
- var DTOCreateDocumentationPageInputV2 = z242.object({
6996
+ var DTOCreateDocumentationPageInputV2 = z243.object({
6936
6997
  // Identifier
6937
- persistentId: z242.string(),
6998
+ persistentId: z243.string(),
6938
6999
  // Page properties
6939
- title: z242.string(),
7000
+ title: z243.string(),
6940
7001
  configuration: DTODocumentationItemConfigurationV2.partial().optional(),
6941
7002
  // Page placement properties
6942
- parentPersistentId: z242.string(),
6943
- afterPersistentId: z242.string().nullish()
7003
+ parentPersistentId: z243.string(),
7004
+ afterPersistentId: z243.string().nullish()
6944
7005
  });
6945
- var DTOUpdateDocumentationPageInputV2 = z242.object({
7006
+ var DTOUpdateDocumentationPageInputV2 = z243.object({
6946
7007
  // Identifier of the page to update
6947
- id: z242.string(),
7008
+ id: z243.string(),
6948
7009
  // Page properties
6949
- title: z242.string().optional(),
7010
+ title: z243.string().optional(),
6950
7011
  configuration: DTODocumentationItemConfigurationV2.partial().optional()
6951
7012
  });
6952
- var DTOUpdateDocumentationPageDocumentInputV2 = z242.object({
7013
+ var DTOUpdateDocumentationPageDocumentInputV2 = z243.object({
6953
7014
  // Identifier of the page to update
6954
- id: z242.string(),
7015
+ id: z243.string(),
6955
7016
  // Page properties
6956
- documentItems: z242.array(DocumentationPageContentItem)
7017
+ documentItems: z243.array(DocumentationPageContentItem)
6957
7018
  });
6958
- var DTOMoveDocumentationPageInputV2 = z242.object({
7019
+ var DTOMoveDocumentationPageInputV2 = z243.object({
6959
7020
  // Identifier of the group to update
6960
- id: z242.string(),
7021
+ id: z243.string(),
6961
7022
  // Page placement properties
6962
- parentPersistentId: z242.string(),
6963
- afterPersistentId: z242.string().nullish()
7023
+ parentPersistentId: z243.string(),
7024
+ afterPersistentId: z243.string().nullish()
6964
7025
  });
6965
- var DTODuplicateDocumentationPageInputV2 = z242.object({
7026
+ var DTODuplicateDocumentationPageInputV2 = z243.object({
6966
7027
  // Identifier of the page to duplicate from
6967
- id: z242.string(),
7028
+ id: z243.string(),
6968
7029
  // New page persistent id
6969
- persistentId: z242.string(),
7030
+ persistentId: z243.string(),
6970
7031
  // Page placement properties
6971
- parentPersistentId: z242.string(),
6972
- afterPersistentId: z242.string().nullish()
7032
+ parentPersistentId: z243.string(),
7033
+ afterPersistentId: z243.string().nullish()
6973
7034
  });
6974
- var DTODeleteDocumentationPageInputV2 = z242.object({
7035
+ var DTODeleteDocumentationPageInputV2 = z243.object({
6975
7036
  // Identifier
6976
- id: z242.string()
7037
+ id: z243.string()
6977
7038
  });
6978
- var DTORestoreDocumentationPageInput = z242.object({
6979
- persistentId: z242.string(),
6980
- snapshotId: z242.string().optional()
7039
+ var DTORestoreDocumentationPageInput = z243.object({
7040
+ persistentId: z243.string(),
7041
+ snapshotId: z243.string().optional()
6981
7042
  });
6982
- var DTORestoreDocumentationGroupInput = z242.object({
6983
- persistentId: z242.string(),
6984
- snapshotId: z242.string().optional()
7043
+ var DTORestoreDocumentationGroupInput = z243.object({
7044
+ persistentId: z243.string(),
7045
+ snapshotId: z243.string().optional()
6985
7046
  });
6986
- var DTODocumentationPageApprovalStateChangeInput = z242.object({
6987
- persistentId: z242.string(),
7047
+ var DTODocumentationPageApprovalStateChangeInput = z243.object({
7048
+ persistentId: z243.string(),
6988
7049
  approvalState: DocumentationPageApprovalState.optional()
6989
7050
  });
6990
7051
 
6991
7052
  // src/api/dto/documentation/documentation-page-snapshot.ts
6992
- var DTODocumentationPageSnapshot = z243.object({
6993
- id: z243.string(),
6994
- designSystemVersionId: z243.string(),
6995
- createdAt: z243.string(),
6996
- updatedAt: z243.string(),
7053
+ var DTODocumentationPageSnapshot = z244.object({
7054
+ id: z244.string(),
7055
+ designSystemVersionId: z244.string(),
7056
+ createdAt: z244.string(),
7057
+ updatedAt: z244.string(),
6997
7058
  documentationPage: DTODocumentationPageV2,
6998
- pageContentHash: z243.string(),
7059
+ pageContentHash: z244.string(),
6999
7060
  reason: DesignElementSnapshotReason
7000
7061
  });
7001
7062
 
7002
7063
  // src/api/dto/documentation/link-preview.ts
7003
- import { z as z244 } from "zod";
7004
- var DTODocumentationLinkPreviewResponse = z244.object({
7064
+ import { z as z245 } from "zod";
7065
+ var DTODocumentationLinkPreviewResponse = z245.object({
7005
7066
  linkPreview: DocumentationLinkPreview
7006
7067
  });
7007
- var DTODocumentationLinkPreviewRequest = z244.object({
7008
- url: z244.string().optional(),
7009
- documentationItemPersistentId: z244.string().optional()
7068
+ var DTODocumentationLinkPreviewRequest = z245.object({
7069
+ url: z245.string().optional(),
7070
+ documentationItemPersistentId: z245.string().optional()
7010
7071
  });
7011
7072
 
7012
7073
  // src/api/dto/documentation/publish.ts
7013
- import { z as z248 } from "zod";
7074
+ import { z as z249 } from "zod";
7014
7075
 
7015
7076
  // src/api/dto/export/exporter.ts
7016
- import { z as z245 } from "zod";
7017
- var DTOExporterType = z245.enum(["documentation", "code"]);
7018
- var DTOExporterSource = z245.enum(["git", "upload"]);
7019
- var DTOExporterMembershipRole = z245.enum(["Owner", "OwnerArchived", "User"]);
7020
- var DTOExporterListQuery = z245.object({
7021
- limit: z245.coerce.number().optional(),
7022
- offset: z245.coerce.number().optional(),
7077
+ import { z as z246 } from "zod";
7078
+ var DTOExporterType = z246.enum(["documentation", "code"]);
7079
+ var DTOExporterSource = z246.enum(["git", "upload"]);
7080
+ var DTOExporterMembershipRole = z246.enum(["Owner", "OwnerArchived", "User"]);
7081
+ var DTOExporterListQuery = z246.object({
7082
+ limit: z246.coerce.number().optional(),
7083
+ offset: z246.coerce.number().optional(),
7023
7084
  type: DTOExporterType.optional(),
7024
- search: z245.string().optional()
7085
+ search: z246.string().optional()
7025
7086
  });
7026
- var DTOExporter = z245.object({
7027
- id: z245.string(),
7028
- name: z245.string(),
7029
- isPrivate: z245.boolean(),
7087
+ var DTOExporter = z246.object({
7088
+ id: z246.string(),
7089
+ name: z246.string(),
7090
+ isPrivate: z246.boolean(),
7030
7091
  exporterType: DTOExporterType,
7031
- isDefaultDocumentationExporter: z245.boolean(),
7032
- iconURL: z245.string().optional(),
7092
+ isDefaultDocumentationExporter: z246.boolean(),
7093
+ iconURL: z246.string().optional(),
7033
7094
  configurationProperties: PulsarContributionConfigurationProperty.array(),
7034
7095
  properties: DTOExporterPropertyDefinition.array().optional(),
7035
7096
  customBlocks: PulsarCustomBlock.array(),
7036
- blockVariants: z245.record(z245.string(), PulsarContributionVariant.array()),
7037
- homepage: z245.string().optional(),
7038
- organization: z245.string().optional(),
7039
- packageId: z245.string().optional(),
7040
- tags: z245.array(z245.string()),
7041
- author: z245.string().optional(),
7042
- version: z245.string(),
7043
- description: z245.string(),
7044
- usesLocale: z245.boolean(),
7045
- usesBrands: z245.boolean(),
7046
- usesThemes: z245.boolean(),
7047
- readme: z245.string().optional(),
7048
- routingVersion: z245.string().optional(),
7097
+ blockVariants: z246.record(z246.string(), PulsarContributionVariant.array()),
7098
+ homepage: z246.string().optional(),
7099
+ organization: z246.string().optional(),
7100
+ packageId: z246.string().optional(),
7101
+ tags: z246.array(z246.string()),
7102
+ author: z246.string().optional(),
7103
+ version: z246.string(),
7104
+ description: z246.string(),
7105
+ usesLocale: z246.boolean(),
7106
+ usesBrands: z246.boolean(),
7107
+ usesThemes: z246.boolean(),
7108
+ readme: z246.string().optional(),
7109
+ routingVersion: z246.string().optional(),
7049
7110
  source: DTOExporterSource,
7050
- gitProvider: z245.string().optional(),
7051
- gitUrl: nullishToOptional(z245.string()),
7052
- gitBranch: nullishToOptional(z245.string()),
7053
- gitDirectory: nullishToOptional(z245.string()),
7054
- isDeprecated: z245.boolean(),
7055
- deprecationNote: z245.string().optional(),
7056
- replacementExporterId: z245.string().optional()
7057
- });
7058
- var DTOExporterMembership = z245.object({
7059
- workspaceId: z245.string(),
7060
- exporterId: z245.string(),
7111
+ gitProvider: z246.string().optional(),
7112
+ gitUrl: nullishToOptional(z246.string()),
7113
+ gitBranch: nullishToOptional(z246.string()),
7114
+ gitDirectory: nullishToOptional(z246.string()),
7115
+ isDeprecated: z246.boolean(),
7116
+ deprecationNote: z246.string().optional(),
7117
+ replacementExporterId: z246.string().optional()
7118
+ });
7119
+ var DTOExporterMembership = z246.object({
7120
+ workspaceId: z246.string(),
7121
+ exporterId: z246.string(),
7061
7122
  role: DTOExporterMembershipRole
7062
7123
  });
7063
- var DTOExporterResponse = z245.object({
7124
+ var DTOExporterResponse = z246.object({
7064
7125
  exporter: DTOExporter,
7065
7126
  membership: DTOExporterMembership
7066
7127
  });
7067
- var DTOExporterListResponse = z245.object({
7128
+ var DTOExporterListResponse = z246.object({
7068
7129
  exporters: DTOExporter.array(),
7069
7130
  membership: DTOExporterMembership.array(),
7070
- total: z245.number()
7131
+ total: z246.number()
7071
7132
  });
7072
- var DTOExporterGitProviderEnum = z245.enum(["github", "gitlab", "bitbucket", "azure"]);
7073
- var DTOExporterCreateInput = z245.object({
7074
- url: z245.string(),
7133
+ var DTOExporterGitProviderEnum = z246.enum(["github", "gitlab", "bitbucket", "azure"]);
7134
+ var DTOExporterCreateInput = z246.object({
7135
+ url: z246.string(),
7075
7136
  provider: DTOExporterGitProviderEnum
7076
7137
  });
7077
- var DTOExporterUpdateInput = z245.object({
7078
- url: z245.string().optional()
7138
+ var DTOExporterUpdateInput = z246.object({
7139
+ url: z246.string().optional()
7079
7140
  });
7080
- var DTOExporterDeprecationInput = z245.object({
7081
- isDeprecated: z245.boolean(),
7082
- deprecationNote: z245.string().optional(),
7083
- replacementExporterId: z245.string().optional()
7141
+ var DTOExporterDeprecationInput = z246.object({
7142
+ isDeprecated: z246.boolean(),
7143
+ deprecationNote: z246.string().optional(),
7144
+ replacementExporterId: z246.string().optional()
7084
7145
  });
7085
7146
 
7086
7147
  // src/api/dto/export/filter.ts
7087
7148
  var DTOExportJobsListFilter = ExportJobFindByFilter;
7088
7149
 
7089
7150
  // src/api/dto/export/job.ts
7090
- import { z as z246 } from "zod";
7091
- var DTOExportJobCreatedBy = z246.object({
7092
- userId: z246.string(),
7093
- userName: z246.string()
7151
+ import { z as z247 } from "zod";
7152
+ var DTOExportJobCreatedBy = z247.object({
7153
+ userId: z247.string(),
7154
+ userName: z247.string()
7094
7155
  });
7095
- var DTOExportJobDesignSystemPreview = z246.object({
7096
- id: z246.string(),
7156
+ var DTOExportJobDesignSystemPreview = z247.object({
7157
+ id: z247.string(),
7097
7158
  meta: ObjectMeta
7098
7159
  });
7099
- var DTOExportJobDesignSystemVersionPreview = z246.object({
7100
- id: z246.string(),
7160
+ var DTOExportJobDesignSystemVersionPreview = z247.object({
7161
+ id: z247.string(),
7101
7162
  meta: ObjectMeta,
7102
- version: z246.string(),
7103
- isReadonly: z246.boolean()
7163
+ version: z247.string(),
7164
+ isReadonly: z247.boolean()
7104
7165
  });
7105
- var DTOExportJobDestinations = z246.object({
7166
+ var DTOExportJobDestinations = z247.object({
7106
7167
  s3: ExporterDestinationS3.optional(),
7107
7168
  azure: ExporterDestinationAzure.optional(),
7108
7169
  bitbucket: ExporterDestinationBitbucket.optional(),
7109
7170
  github: ExporterDestinationGithub.optional(),
7110
7171
  gitlab: ExporterDestinationGitlab.optional(),
7111
7172
  documentation: ExporterDestinationDocs.optional(),
7112
- webhookUrl: z246.string().optional()
7173
+ webhookUrl: z247.string().optional()
7113
7174
  });
7114
7175
  var DTOExportJobResult = ExportJobResult.omit({
7115
7176
  sndocs: true
7116
7177
  }).extend({
7117
7178
  documentation: ExportJobDocsDestinationResult.optional()
7118
7179
  });
7119
- var DTOExportJob = z246.object({
7120
- id: z246.string(),
7121
- createdAt: z246.coerce.date(),
7122
- finishedAt: z246.coerce.date().optional(),
7123
- index: z246.number().optional(),
7180
+ var DTOExportJob = z247.object({
7181
+ id: z247.string(),
7182
+ createdAt: z247.coerce.date(),
7183
+ finishedAt: z247.coerce.date().optional(),
7184
+ index: z247.number().optional(),
7124
7185
  status: ExportJobStatus,
7125
- estimatedExecutionTime: z246.number().optional(),
7186
+ estimatedExecutionTime: z247.number().optional(),
7126
7187
  createdBy: DTOExportJobCreatedBy.optional(),
7127
7188
  designSystem: DTOExportJobDesignSystemPreview,
7128
7189
  designSystemVersion: DTOExportJobDesignSystemVersionPreview,
7129
7190
  destinations: DTOExportJobDestinations,
7130
- exporterId: z246.string(),
7131
- scheduleId: z246.string().optional(),
7191
+ exporterId: z247.string(),
7192
+ scheduleId: z247.string().optional(),
7132
7193
  result: DTOExportJobResult.optional(),
7133
- brandPersistentId: z246.string().optional(),
7134
- themePersistentId: z246.string().optional(),
7135
- themePersistentIds: z246.string().array().optional(),
7194
+ brandPersistentId: z247.string().optional(),
7195
+ themePersistentId: z247.string().optional(),
7196
+ themePersistentIds: z247.string().array().optional(),
7136
7197
  exporterPropertyValues: DTOExporterPropertyValueMap.optional()
7137
7198
  });
7138
- var DTOExportJobResponse = z246.object({
7199
+ var DTOExportJobResponse = z247.object({
7139
7200
  job: DTOExportJob
7140
7201
  });
7141
- var DTOExportJobResponseLegacy = z246.object({
7142
- job: z246.object({
7143
- id: z246.string(),
7202
+ var DTOExportJobResponseLegacy = z247.object({
7203
+ job: z247.object({
7204
+ id: z247.string(),
7144
7205
  status: ExportJobStatus
7145
7206
  })
7146
7207
  });
7147
- var DTOExportJobCreateInput = z246.object({
7148
- designSystemId: z246.string(),
7149
- designSystemVersionId: z246.string(),
7150
- exporterId: z246.string(),
7151
- brandId: z246.string().optional(),
7152
- themeId: z246.string().optional(),
7153
- themePersistentIds: z246.string().array().optional(),
7208
+ var DTOExportJobCreateInput = z247.object({
7209
+ designSystemId: z247.string(),
7210
+ designSystemVersionId: z247.string(),
7211
+ exporterId: z247.string(),
7212
+ brandId: z247.string().optional(),
7213
+ themeId: z247.string().optional(),
7214
+ themePersistentIds: z247.string().array().optional(),
7154
7215
  destinations: DTOExportJobDestinations,
7155
7216
  exporterPropertyValues: DTOExporterPropertyValueMap.optional(),
7156
- previewMode: z246.boolean().optional()
7217
+ previewMode: z247.boolean().optional()
7157
7218
  });
7158
7219
 
7159
7220
  // src/api/dto/export/pipeline.ts
7160
- import { z as z247 } from "zod";
7161
- var DTOPipelineListQuery = z247.object({
7162
- designSystemId: z247.string().optional(),
7163
- exporterId: z247.string().optional(),
7164
- latestJobsLimit: z247.coerce.number().optional()
7165
- });
7166
- var DTOPipeline = z247.object({
7167
- id: z247.string(),
7168
- name: z247.string(),
7221
+ import { z as z248 } from "zod";
7222
+ var DTOPipelineListQuery = z248.object({
7223
+ designSystemId: z248.string().optional(),
7224
+ exporterId: z248.string().optional(),
7225
+ latestJobsLimit: z248.coerce.number().optional()
7226
+ });
7227
+ var DTOPipeline = z248.object({
7228
+ id: z248.string(),
7229
+ name: z248.string(),
7169
7230
  eventType: PipelineEventType,
7170
- isEnabled: z247.boolean(),
7171
- workspaceId: z247.string(),
7172
- designSystemId: z247.string(),
7173
- exporterId: z247.string(),
7174
- brandPersistentId: z247.string().optional(),
7175
- themePersistentId: z247.string().optional(),
7176
- themePersistentIds: z247.string().array().optional(),
7231
+ isEnabled: z248.boolean(),
7232
+ workspaceId: z248.string(),
7233
+ designSystemId: z248.string(),
7234
+ exporterId: z248.string(),
7235
+ brandPersistentId: z248.string().optional(),
7236
+ themePersistentId: z248.string().optional(),
7237
+ themePersistentIds: z248.string().array().optional(),
7177
7238
  exporterPropertyValues: DTOExporterPropertyValueMap.optional(),
7178
7239
  ...ExportDestinationsMap.shape,
7179
7240
  latestJobs: DTOExportJob.array(),
7180
- isExporterDeprecated: z247.boolean()
7241
+ isExporterDeprecated: z248.boolean()
7181
7242
  });
7182
- var DTOPipelineListResponse = z247.object({
7243
+ var DTOPipelineListResponse = z248.object({
7183
7244
  pipelines: DTOPipeline.array()
7184
7245
  });
7185
- var DTOPipelineResponse = z247.object({
7246
+ var DTOPipelineResponse = z248.object({
7186
7247
  pipeline: DTOPipeline
7187
7248
  });
7188
7249
 
7189
7250
  // src/api/dto/documentation/publish.ts
7190
7251
  var DTOPublishDocumentationChanges = ExportJobDocumentationChanges;
7191
- var DTOPublishDocumentationRequest = z248.object({
7252
+ var DTOPublishDocumentationRequest = z249.object({
7192
7253
  environment: PublishedDocEnvironment,
7193
7254
  /**
7194
7255
  * If defined, this allows narrowing down what is published to a set of specific pages and groups
@@ -7196,66 +7257,66 @@ var DTOPublishDocumentationRequest = z248.object({
7196
7257
  */
7197
7258
  changes: DTOPublishDocumentationChanges.optional()
7198
7259
  });
7199
- var DTOPublishDocumentationResponse = z248.object({
7260
+ var DTOPublishDocumentationResponse = z249.object({
7200
7261
  job: DTOExportJob
7201
7262
  });
7202
7263
 
7203
7264
  // src/api/dto/documentation/room.ts
7204
- import { z as z249 } from "zod";
7205
- var DTODocumentationPageRoom = z249.object({
7206
- id: z249.string()
7265
+ import { z as z250 } from "zod";
7266
+ var DTODocumentationPageRoom = z250.object({
7267
+ id: z250.string()
7207
7268
  });
7208
- var DTODocumentationPageRoomResponse = z249.object({
7269
+ var DTODocumentationPageRoomResponse = z250.object({
7209
7270
  room: DTODocumentationPageRoom
7210
7271
  });
7211
7272
 
7212
7273
  // src/api/dto/elements/components/figma-component-group.ts
7213
- import z250 from "zod";
7214
- var DTOFigmaComponentGroup = z250.object({
7215
- id: z250.string(),
7216
- designSystemVersionId: z250.string(),
7217
- persistentId: z250.string(),
7218
- isRoot: z250.boolean(),
7219
- brandId: z250.string(),
7274
+ import z251 from "zod";
7275
+ var DTOFigmaComponentGroup = z251.object({
7276
+ id: z251.string(),
7277
+ designSystemVersionId: z251.string(),
7278
+ persistentId: z251.string(),
7279
+ isRoot: z251.boolean(),
7280
+ brandId: z251.string(),
7220
7281
  meta: DTOObjectMeta,
7221
- childrenIds: z250.string().array()
7282
+ childrenIds: z251.string().array()
7222
7283
  });
7223
- var DTOFigmaComponentGroupListResponse = z250.object({
7284
+ var DTOFigmaComponentGroupListResponse = z251.object({
7224
7285
  groups: DTOFigmaComponentGroup.array()
7225
7286
  });
7226
7287
 
7227
7288
  // src/api/dto/elements/components/figma-component.ts
7228
- import { z as z251 } from "zod";
7289
+ import { z as z252 } from "zod";
7229
7290
  var DTOFigmaComponentProperty = FigmaComponentProperty;
7230
- var DTOFigmaComponentPropertyMap = z251.record(DTOFigmaComponentProperty);
7231
- var DTOFigmaComponent = z251.object({
7232
- id: z251.string(),
7233
- persistentId: z251.string(),
7234
- designSystemVersionId: z251.string(),
7235
- brandId: z251.string(),
7236
- thumbnailUrl: z251.string().optional(),
7237
- svgUrl: z251.string().optional(),
7238
- exportProperties: z251.object({
7239
- isAsset: z251.boolean()
7291
+ var DTOFigmaComponentPropertyMap = z252.record(DTOFigmaComponentProperty);
7292
+ var DTOFigmaComponent = z252.object({
7293
+ id: z252.string(),
7294
+ persistentId: z252.string(),
7295
+ designSystemVersionId: z252.string(),
7296
+ brandId: z252.string(),
7297
+ thumbnailUrl: z252.string().optional(),
7298
+ svgUrl: z252.string().optional(),
7299
+ exportProperties: z252.object({
7300
+ isAsset: z252.boolean()
7240
7301
  }),
7241
- createdAt: z251.coerce.date(),
7242
- updatedAt: z251.coerce.date(),
7302
+ createdAt: z252.coerce.date(),
7303
+ updatedAt: z252.coerce.date(),
7243
7304
  meta: ObjectMeta,
7244
7305
  originComponent: FigmaComponentOrigin.optional(),
7245
- parentComponentPersistentId: z251.string().optional(),
7246
- childrenPersistentIds: z251.string().array().optional(),
7306
+ parentComponentPersistentId: z252.string().optional(),
7307
+ childrenPersistentIds: z252.string().array().optional(),
7247
7308
  componentPropertyDefinitions: DTOFigmaComponentPropertyMap.optional(),
7248
- variantPropertyValues: z251.record(z251.string()).optional()
7309
+ variantPropertyValues: z252.record(z252.string()).optional()
7249
7310
  });
7250
- var DTOFigmaComponentListResponse = z251.object({
7311
+ var DTOFigmaComponentListResponse = z252.object({
7251
7312
  components: DTOFigmaComponent.array()
7252
7313
  });
7253
7314
 
7254
7315
  // src/api/dto/elements/documentation/group-action.ts
7255
- import { z as z253 } from "zod";
7316
+ import { z as z254 } from "zod";
7256
7317
 
7257
7318
  // src/api/dto/elements/documentation/group-v2.ts
7258
- import { z as z252 } from "zod";
7319
+ import { z as z253 } from "zod";
7259
7320
  var DTODocumentationGroupV2 = ElementGroup.omit({
7260
7321
  sortOrder: true,
7261
7322
  parentPersistentId: true,
@@ -7265,13 +7326,13 @@ var DTODocumentationGroupV2 = ElementGroup.omit({
7265
7326
  data: true,
7266
7327
  shortPersistentId: true
7267
7328
  }).extend({
7268
- title: z252.string(),
7269
- isRoot: z252.boolean(),
7270
- childrenIds: z252.array(z252.string()),
7329
+ title: z253.string(),
7330
+ isRoot: z253.boolean(),
7331
+ childrenIds: z253.array(z253.string()),
7271
7332
  groupBehavior: DocumentationGroupBehavior,
7272
- shortPersistentId: z252.string(),
7333
+ shortPersistentId: z253.string(),
7273
7334
  configuration: DTODocumentationItemConfigurationV2,
7274
- type: z252.literal("Group"),
7335
+ type: z253.literal("Group"),
7275
7336
  /** Defined when a group has changed since last publish and can be included into a partial publish */
7276
7337
  draftState: DTODocumentationDraftState.optional(),
7277
7338
  /** Defined if a group was published at least once and contains metadata about last publish */
@@ -7279,127 +7340,127 @@ var DTODocumentationGroupV2 = ElementGroup.omit({
7279
7340
  //** An approval state for frontend to utilize. */
7280
7341
  approvalState: DTODocumentationGroupApprovalState.optional()
7281
7342
  });
7282
- var DTOCreateDocumentationGroupInput = z252.object({
7343
+ var DTOCreateDocumentationGroupInput = z253.object({
7283
7344
  // Identifier
7284
- persistentId: z252.string(),
7345
+ persistentId: z253.string(),
7285
7346
  // Group properties
7286
- title: z252.string(),
7347
+ title: z253.string(),
7287
7348
  configuration: DTODocumentationItemConfigurationV2.partial().optional(),
7288
7349
  // Group placement properties
7289
- afterPersistentId: z252.string().nullish(),
7290
- parentPersistentId: z252.string()
7350
+ afterPersistentId: z253.string().nullish(),
7351
+ parentPersistentId: z253.string()
7291
7352
  });
7292
- var DTOUpdateDocumentationGroupInput = z252.object({
7353
+ var DTOUpdateDocumentationGroupInput = z253.object({
7293
7354
  // Identifier of the group to update
7294
- id: z252.string(),
7355
+ id: z253.string(),
7295
7356
  // Group properties
7296
- title: z252.string().optional(),
7357
+ title: z253.string().optional(),
7297
7358
  configuration: DTODocumentationItemConfigurationV2.partial().optional()
7298
7359
  });
7299
- var DTOMoveDocumentationGroupInput = z252.object({
7360
+ var DTOMoveDocumentationGroupInput = z253.object({
7300
7361
  // Identifier of the group to update
7301
- id: z252.string(),
7362
+ id: z253.string(),
7302
7363
  // Group placement properties
7303
- parentPersistentId: z252.string(),
7304
- afterPersistentId: z252.string().nullish()
7364
+ parentPersistentId: z253.string(),
7365
+ afterPersistentId: z253.string().nullish()
7305
7366
  });
7306
- var DTODuplicateDocumentationGroupInput = z252.object({
7367
+ var DTODuplicateDocumentationGroupInput = z253.object({
7307
7368
  // Identifier of the group to duplicate from
7308
- id: z252.string(),
7369
+ id: z253.string(),
7309
7370
  // New group persistent id
7310
- persistentId: z252.string(),
7371
+ persistentId: z253.string(),
7311
7372
  // Group placement properties
7312
- afterPersistentId: z252.string().nullish(),
7313
- parentPersistentId: z252.string()
7373
+ afterPersistentId: z253.string().nullish(),
7374
+ parentPersistentId: z253.string()
7314
7375
  });
7315
- var DTOCreateDocumentationTabInput = z252.object({
7376
+ var DTOCreateDocumentationTabInput = z253.object({
7316
7377
  // New group persistent id
7317
- persistentId: z252.string(),
7378
+ persistentId: z253.string(),
7318
7379
  // If this is page, we will attempt to convert it to tab
7319
7380
  // If this is tab group, we will add a new tab to it
7320
- fromItemPersistentId: z252.string(),
7321
- tabName: z252.string()
7381
+ fromItemPersistentId: z253.string(),
7382
+ tabName: z253.string()
7322
7383
  });
7323
- var DTODeleteDocumentationTabGroupInput = z252.object({
7384
+ var DTODeleteDocumentationTabGroupInput = z253.object({
7324
7385
  // Deleted group id
7325
- id: z252.string()
7386
+ id: z253.string()
7326
7387
  });
7327
- var DTODeleteDocumentationGroupInput = z252.object({
7388
+ var DTODeleteDocumentationGroupInput = z253.object({
7328
7389
  // Identifier
7329
- id: z252.string(),
7390
+ id: z253.string(),
7330
7391
  // Deletion options
7331
- deleteSubtree: z252.boolean().default(false)
7392
+ deleteSubtree: z253.boolean().default(false)
7332
7393
  });
7333
7394
 
7334
7395
  // src/api/dto/elements/documentation/group-action.ts
7335
- var SuccessPayload = z253.object({
7336
- success: z253.literal(true)
7396
+ var SuccessPayload = z254.object({
7397
+ success: z254.literal(true)
7337
7398
  });
7338
- var DTODocumentationGroupCreateActionOutputV2 = z253.object({
7339
- type: z253.literal("DocumentationGroupCreate"),
7399
+ var DTODocumentationGroupCreateActionOutputV2 = z254.object({
7400
+ type: z254.literal("DocumentationGroupCreate"),
7340
7401
  output: SuccessPayload
7341
7402
  });
7342
- var DTODocumentationTabCreateActionOutputV2 = z253.object({
7343
- type: z253.literal("DocumentationTabCreate"),
7403
+ var DTODocumentationTabCreateActionOutputV2 = z254.object({
7404
+ type: z254.literal("DocumentationTabCreate"),
7344
7405
  output: SuccessPayload
7345
7406
  });
7346
- var DTODocumentationGroupUpdateActionOutputV2 = z253.object({
7347
- type: z253.literal("DocumentationGroupUpdate"),
7407
+ var DTODocumentationGroupUpdateActionOutputV2 = z254.object({
7408
+ type: z254.literal("DocumentationGroupUpdate"),
7348
7409
  output: SuccessPayload
7349
7410
  });
7350
- var DTODocumentationGroupMoveActionOutputV2 = z253.object({
7351
- type: z253.literal("DocumentationGroupMove"),
7411
+ var DTODocumentationGroupMoveActionOutputV2 = z254.object({
7412
+ type: z254.literal("DocumentationGroupMove"),
7352
7413
  output: SuccessPayload
7353
7414
  });
7354
- var DTODocumentationGroupDuplicateActionOutputV2 = z253.object({
7355
- type: z253.literal("DocumentationGroupDuplicate"),
7415
+ var DTODocumentationGroupDuplicateActionOutputV2 = z254.object({
7416
+ type: z254.literal("DocumentationGroupDuplicate"),
7356
7417
  output: SuccessPayload
7357
7418
  });
7358
- var DTODocumentationGroupDeleteActionOutputV2 = z253.object({
7359
- type: z253.literal("DocumentationGroupDelete"),
7419
+ var DTODocumentationGroupDeleteActionOutputV2 = z254.object({
7420
+ type: z254.literal("DocumentationGroupDelete"),
7360
7421
  output: SuccessPayload
7361
7422
  });
7362
- var DTODocumentationTabGroupDeleteActionOutputV2 = z253.object({
7363
- type: z253.literal("DocumentationTabGroupDelete"),
7423
+ var DTODocumentationTabGroupDeleteActionOutputV2 = z254.object({
7424
+ type: z254.literal("DocumentationTabGroupDelete"),
7364
7425
  output: SuccessPayload
7365
7426
  });
7366
- var DTODocumentationGroupCreateActionInputV2 = z253.object({
7367
- type: z253.literal("DocumentationGroupCreate"),
7427
+ var DTODocumentationGroupCreateActionInputV2 = z254.object({
7428
+ type: z254.literal("DocumentationGroupCreate"),
7368
7429
  input: DTOCreateDocumentationGroupInput
7369
7430
  });
7370
- var DTODocumentationTabCreateActionInputV2 = z253.object({
7371
- type: z253.literal("DocumentationTabCreate"),
7431
+ var DTODocumentationTabCreateActionInputV2 = z254.object({
7432
+ type: z254.literal("DocumentationTabCreate"),
7372
7433
  input: DTOCreateDocumentationTabInput
7373
7434
  });
7374
- var DTODocumentationGroupUpdateActionInputV2 = z253.object({
7375
- type: z253.literal("DocumentationGroupUpdate"),
7435
+ var DTODocumentationGroupUpdateActionInputV2 = z254.object({
7436
+ type: z254.literal("DocumentationGroupUpdate"),
7376
7437
  input: DTOUpdateDocumentationGroupInput
7377
7438
  });
7378
- var DTODocumentationGroupMoveActionInputV2 = z253.object({
7379
- type: z253.literal("DocumentationGroupMove"),
7439
+ var DTODocumentationGroupMoveActionInputV2 = z254.object({
7440
+ type: z254.literal("DocumentationGroupMove"),
7380
7441
  input: DTOMoveDocumentationGroupInput
7381
7442
  });
7382
- var DTODocumentationGroupDuplicateActionInputV2 = z253.object({
7383
- type: z253.literal("DocumentationGroupDuplicate"),
7443
+ var DTODocumentationGroupDuplicateActionInputV2 = z254.object({
7444
+ type: z254.literal("DocumentationGroupDuplicate"),
7384
7445
  input: DTODuplicateDocumentationGroupInput
7385
7446
  });
7386
- var DTODocumentationGroupDeleteActionInputV2 = z253.object({
7387
- type: z253.literal("DocumentationGroupDelete"),
7447
+ var DTODocumentationGroupDeleteActionInputV2 = z254.object({
7448
+ type: z254.literal("DocumentationGroupDelete"),
7388
7449
  input: DTODeleteDocumentationGroupInput
7389
7450
  });
7390
- var DTODocumentationTabGroupDeleteActionInputV2 = z253.object({
7391
- type: z253.literal("DocumentationTabGroupDelete"),
7451
+ var DTODocumentationTabGroupDeleteActionInputV2 = z254.object({
7452
+ type: z254.literal("DocumentationTabGroupDelete"),
7392
7453
  input: DTODeleteDocumentationTabGroupInput
7393
7454
  });
7394
7455
 
7395
7456
  // src/api/dto/elements/documentation/group-v1.ts
7396
- import { z as z255 } from "zod";
7457
+ import { z as z256 } from "zod";
7397
7458
 
7398
7459
  // src/api/dto/elements/documentation/item-configuration-v1.ts
7399
- import { z as z254 } from "zod";
7400
- var DocumentationColorV1 = z254.object({
7401
- aliasTo: z254.string().optional(),
7402
- value: z254.string().optional()
7460
+ import { z as z255 } from "zod";
7461
+ var DocumentationColorV1 = z255.object({
7462
+ aliasTo: z255.string().optional(),
7463
+ value: z255.string().optional()
7403
7464
  });
7404
7465
  var DTODocumentationItemHeaderV1 = DocumentationItemHeaderV1.omit({
7405
7466
  foregroundColor: true,
@@ -7408,10 +7469,10 @@ var DTODocumentationItemHeaderV1 = DocumentationItemHeaderV1.omit({
7408
7469
  foregroundColor: DocumentationColorV1.optional(),
7409
7470
  backgroundColor: DocumentationColorV1.optional()
7410
7471
  });
7411
- var DTODocumentationItemConfigurationV1 = z254.object({
7412
- showSidebar: z254.boolean(),
7413
- isPrivate: z254.boolean(),
7414
- isHidden: z254.boolean(),
7472
+ var DTODocumentationItemConfigurationV1 = z255.object({
7473
+ showSidebar: z255.boolean(),
7474
+ isPrivate: z255.boolean(),
7475
+ isHidden: z255.boolean(),
7415
7476
  header: DTODocumentationItemHeaderV1
7416
7477
  });
7417
7478
 
@@ -7425,123 +7486,123 @@ var DTODocumentationGroupStructureV1 = ElementGroup.omit({
7425
7486
  data: true,
7426
7487
  shortPersistentId: true
7427
7488
  }).extend({
7428
- title: z255.string(),
7429
- isRoot: z255.boolean(),
7430
- childrenIds: z255.array(z255.string()),
7489
+ title: z256.string(),
7490
+ isRoot: z256.boolean(),
7491
+ childrenIds: z256.array(z256.string()),
7431
7492
  groupBehavior: DocumentationGroupBehavior,
7432
- shortPersistentId: z255.string(),
7433
- type: z255.literal("Group")
7493
+ shortPersistentId: z256.string(),
7494
+ type: z256.literal("Group")
7434
7495
  });
7435
7496
  var DTODocumentationGroupV1 = DTODocumentationGroupStructureV1.extend({
7436
7497
  configuration: DTODocumentationItemConfigurationV1
7437
7498
  });
7438
7499
 
7439
7500
  // src/api/dto/elements/documentation/hierarchy.ts
7440
- import { z as z256 } from "zod";
7441
- var DTODocumentationHierarchyV2 = z256.object({
7442
- pages: z256.array(
7501
+ import { z as z257 } from "zod";
7502
+ var DTODocumentationHierarchyV2 = z257.object({
7503
+ pages: z257.array(
7443
7504
  DTODocumentationPageV2.extend({
7444
7505
  /** Defined when a page has changed since last publish and can be included into a partial publish */
7445
7506
  draftState: DTODocumentationDraftState.optional()
7446
7507
  })
7447
7508
  ),
7448
- groups: z256.array(
7509
+ groups: z257.array(
7449
7510
  DTODocumentationGroupV2.extend({
7450
7511
  /** Defined when a page has changed since last publish and can be included into a partial publish */
7451
7512
  draftState: DTODocumentationDraftState.optional()
7452
7513
  })
7453
7514
  ),
7454
7515
  /** True if the documentation was already published, false otherwise. */
7455
- hasPublishedDocumentationContent: z256.boolean()
7516
+ hasPublishedDocumentationContent: z257.boolean()
7456
7517
  });
7457
7518
 
7458
7519
  // src/api/dto/elements/documentation/page-actions-v2.ts
7459
- import { z as z257 } from "zod";
7460
- var SuccessPayload2 = z257.object({
7461
- success: z257.literal(true)
7520
+ import { z as z258 } from "zod";
7521
+ var SuccessPayload2 = z258.object({
7522
+ success: z258.literal(true)
7462
7523
  });
7463
- var DTODocumentationPageCreateActionOutputV2 = z257.object({
7464
- type: z257.literal("DocumentationPageCreate"),
7524
+ var DTODocumentationPageCreateActionOutputV2 = z258.object({
7525
+ type: z258.literal("DocumentationPageCreate"),
7465
7526
  output: SuccessPayload2
7466
7527
  });
7467
- var DTODocumentationPageUpdateActionOutputV2 = z257.object({
7468
- type: z257.literal("DocumentationPageUpdate"),
7528
+ var DTODocumentationPageUpdateActionOutputV2 = z258.object({
7529
+ type: z258.literal("DocumentationPageUpdate"),
7469
7530
  output: SuccessPayload2
7470
7531
  });
7471
- var DTODocumentationPageUpdateDocumentActionOutputV2 = z257.object({
7472
- type: z257.literal("DocumentationPageUpdateDocument"),
7532
+ var DTODocumentationPageUpdateDocumentActionOutputV2 = z258.object({
7533
+ type: z258.literal("DocumentationPageUpdateDocument"),
7473
7534
  output: SuccessPayload2
7474
7535
  });
7475
- var DTODocumentationPageMoveActionOutputV2 = z257.object({
7476
- type: z257.literal("DocumentationPageMove"),
7536
+ var DTODocumentationPageMoveActionOutputV2 = z258.object({
7537
+ type: z258.literal("DocumentationPageMove"),
7477
7538
  output: SuccessPayload2
7478
7539
  });
7479
- var DTODocumentationPageDuplicateActionOutputV2 = z257.object({
7480
- type: z257.literal("DocumentationPageDuplicate"),
7540
+ var DTODocumentationPageDuplicateActionOutputV2 = z258.object({
7541
+ type: z258.literal("DocumentationPageDuplicate"),
7481
7542
  output: SuccessPayload2
7482
7543
  });
7483
- var DTODocumentationPageDeleteActionOutputV2 = z257.object({
7484
- type: z257.literal("DocumentationPageDelete"),
7544
+ var DTODocumentationPageDeleteActionOutputV2 = z258.object({
7545
+ type: z258.literal("DocumentationPageDelete"),
7485
7546
  output: SuccessPayload2
7486
7547
  });
7487
- var DTODocumentationPageRestoreActionOutput = z257.object({
7488
- type: z257.literal("DocumentationPageRestore"),
7548
+ var DTODocumentationPageRestoreActionOutput = z258.object({
7549
+ type: z258.literal("DocumentationPageRestore"),
7489
7550
  output: SuccessPayload2
7490
7551
  });
7491
- var DTODocumentationGroupRestoreActionOutput = z257.object({
7492
- type: z257.literal("DocumentationGroupRestore"),
7552
+ var DTODocumentationGroupRestoreActionOutput = z258.object({
7553
+ type: z258.literal("DocumentationGroupRestore"),
7493
7554
  output: SuccessPayload2
7494
7555
  });
7495
- var DTODocumentationPageApprovalStateChangeActionOutput = z257.object({
7496
- type: z257.literal("DocumentationPageApprovalStateChange"),
7556
+ var DTODocumentationPageApprovalStateChangeActionOutput = z258.object({
7557
+ type: z258.literal("DocumentationPageApprovalStateChange"),
7497
7558
  output: SuccessPayload2
7498
7559
  });
7499
- var DTODocumentationPageCreateActionInputV2 = z257.object({
7500
- type: z257.literal("DocumentationPageCreate"),
7560
+ var DTODocumentationPageCreateActionInputV2 = z258.object({
7561
+ type: z258.literal("DocumentationPageCreate"),
7501
7562
  input: DTOCreateDocumentationPageInputV2
7502
7563
  });
7503
- var DTODocumentationPageUpdateActionInputV2 = z257.object({
7504
- type: z257.literal("DocumentationPageUpdate"),
7564
+ var DTODocumentationPageUpdateActionInputV2 = z258.object({
7565
+ type: z258.literal("DocumentationPageUpdate"),
7505
7566
  input: DTOUpdateDocumentationPageInputV2
7506
7567
  });
7507
- var DTODocumentationPageUpdateDocumentActionInputV2 = z257.object({
7508
- type: z257.literal("DocumentationPageUpdateDocument"),
7568
+ var DTODocumentationPageUpdateDocumentActionInputV2 = z258.object({
7569
+ type: z258.literal("DocumentationPageUpdateDocument"),
7509
7570
  input: DTOUpdateDocumentationPageDocumentInputV2
7510
7571
  });
7511
- var DTODocumentationPageMoveActionInputV2 = z257.object({
7512
- type: z257.literal("DocumentationPageMove"),
7572
+ var DTODocumentationPageMoveActionInputV2 = z258.object({
7573
+ type: z258.literal("DocumentationPageMove"),
7513
7574
  input: DTOMoveDocumentationPageInputV2
7514
7575
  });
7515
- var DTODocumentationPageDuplicateActionInputV2 = z257.object({
7516
- type: z257.literal("DocumentationPageDuplicate"),
7576
+ var DTODocumentationPageDuplicateActionInputV2 = z258.object({
7577
+ type: z258.literal("DocumentationPageDuplicate"),
7517
7578
  input: DTODuplicateDocumentationPageInputV2
7518
7579
  });
7519
- var DTODocumentationPageDeleteActionInputV2 = z257.object({
7520
- type: z257.literal("DocumentationPageDelete"),
7580
+ var DTODocumentationPageDeleteActionInputV2 = z258.object({
7581
+ type: z258.literal("DocumentationPageDelete"),
7521
7582
  input: DTODeleteDocumentationPageInputV2
7522
7583
  });
7523
- var DTODocumentationPageRestoreActionInput = z257.object({
7524
- type: z257.literal("DocumentationPageRestore"),
7584
+ var DTODocumentationPageRestoreActionInput = z258.object({
7585
+ type: z258.literal("DocumentationPageRestore"),
7525
7586
  input: DTORestoreDocumentationPageInput
7526
7587
  });
7527
- var DTODocumentationGroupRestoreActionInput = z257.object({
7528
- type: z257.literal("DocumentationGroupRestore"),
7588
+ var DTODocumentationGroupRestoreActionInput = z258.object({
7589
+ type: z258.literal("DocumentationGroupRestore"),
7529
7590
  input: DTORestoreDocumentationGroupInput
7530
7591
  });
7531
- var DTODocumentationPageApprovalStateChangeActionInput = z257.object({
7532
- type: z257.literal("DocumentationPageApprovalStateChange"),
7592
+ var DTODocumentationPageApprovalStateChangeActionInput = z258.object({
7593
+ type: z258.literal("DocumentationPageApprovalStateChange"),
7533
7594
  input: DTODocumentationPageApprovalStateChangeInput
7534
7595
  });
7535
7596
 
7536
7597
  // src/api/dto/elements/documentation/page-content.ts
7537
- import { z as z258 } from "zod";
7598
+ import { z as z259 } from "zod";
7538
7599
  var DTODocumentationPageContent = DocumentationPageContent;
7539
- var DTODocumentationPageContentGetResponse = z258.object({
7600
+ var DTODocumentationPageContentGetResponse = z259.object({
7540
7601
  pageContent: DTODocumentationPageContent
7541
7602
  });
7542
7603
 
7543
7604
  // src/api/dto/elements/documentation/page-v1.ts
7544
- import { z as z259 } from "zod";
7605
+ import { z as z260 } from "zod";
7545
7606
  var DocumentationPageV1DTO = DocumentationPageV1.omit({
7546
7607
  data: true,
7547
7608
  meta: true,
@@ -7549,81 +7610,81 @@ var DocumentationPageV1DTO = DocumentationPageV1.omit({
7549
7610
  sortOrder: true
7550
7611
  }).extend({
7551
7612
  configuration: DTODocumentationItemConfigurationV1,
7552
- blocks: z259.array(PageBlockV1),
7553
- title: z259.string(),
7554
- path: z259.string()
7613
+ blocks: z260.array(PageBlockV1),
7614
+ title: z260.string(),
7615
+ path: z260.string()
7555
7616
  });
7556
7617
 
7557
7618
  // src/api/dto/elements/documentation/settings.ts
7558
- import { z as z260 } from "zod";
7559
- var DTODocumentationSettings = z260.object({
7560
- isDraftFeatureAdopted: z260.boolean(),
7561
- isApprovalsFeatureEnabled: z260.boolean(),
7562
- isApprovalRequiredForPublishing: z260.boolean()
7619
+ import { z as z261 } from "zod";
7620
+ var DTODocumentationSettings = z261.object({
7621
+ isDraftFeatureAdopted: z261.boolean(),
7622
+ isApprovalsFeatureEnabled: z261.boolean(),
7623
+ isApprovalRequiredForPublishing: z261.boolean()
7563
7624
  });
7564
7625
 
7565
7626
  // src/api/dto/elements/documentation/structure.ts
7566
- import { z as z261 } from "zod";
7567
- var DTODocumentationStructureItemType = z261.enum(["Group", "Page"]);
7568
- var DTODocumentationStructureItemBase = z261.object({
7627
+ import { z as z262 } from "zod";
7628
+ var DTODocumentationStructureItemType = z262.enum(["Group", "Page"]);
7629
+ var DTODocumentationStructureItemBase = z262.object({
7569
7630
  type: DTODocumentationStructureItemType,
7570
- id: z261.string(),
7571
- designSystemVersionId: z261.string(),
7572
- shortPersistentId: z261.string(),
7573
- persistentId: z261.string(),
7574
- title: z261.string(),
7575
- createdAt: z261.coerce.date(),
7576
- updatedAt: z261.coerce.date()
7631
+ id: z262.string(),
7632
+ designSystemVersionId: z262.string(),
7633
+ shortPersistentId: z262.string(),
7634
+ persistentId: z262.string(),
7635
+ title: z262.string(),
7636
+ createdAt: z262.coerce.date(),
7637
+ updatedAt: z262.coerce.date()
7577
7638
  });
7578
7639
  var DTODocumentationStructureGroupItem = DTODocumentationStructureItemBase.extend({
7579
- type: z261.literal(DTODocumentationStructureItemType.enum.Group),
7580
- groupBehavior: z261.string(),
7581
- childrenIds: z261.string().array(),
7582
- isRoot: z261.boolean()
7640
+ type: z262.literal(DTODocumentationStructureItemType.enum.Group),
7641
+ groupBehavior: z262.string(),
7642
+ childrenIds: z262.string().array(),
7643
+ isRoot: z262.boolean()
7583
7644
  });
7584
7645
  var DTODocumentationStructurePageItem = DTODocumentationStructureItemBase.extend({
7585
- type: z261.literal(DTODocumentationStructureItemType.enum.Page),
7586
- path: z261.string()
7646
+ type: z262.literal(DTODocumentationStructureItemType.enum.Page),
7647
+ path: z262.string()
7587
7648
  });
7588
- var DTODocumentationStructureItem = z261.discriminatedUnion("type", [
7649
+ var DTODocumentationStructureItem = z262.discriminatedUnion("type", [
7589
7650
  DTODocumentationStructureGroupItem,
7590
7651
  DTODocumentationStructurePageItem
7591
7652
  ]);
7592
- var DTODocumentationStructure = z261.object({
7593
- items: z261.array(DTODocumentationStructureItem)
7653
+ var DTODocumentationStructure = z262.object({
7654
+ items: z262.array(DTODocumentationStructureItem)
7594
7655
  });
7595
7656
 
7596
7657
  // src/api/dto/elements/figma-nodes/figma-node-structure.ts
7597
- import { z as z262 } from "zod";
7598
- var DTOFigmaNodeStructure = z262.object({
7599
- id: z262.string(),
7600
- sourceId: z262.string(),
7658
+ import { z as z263 } from "zod";
7659
+ var DTOFigmaNodeStructure = z263.object({
7660
+ id: z263.string(),
7661
+ sourceId: z263.string(),
7601
7662
  importState: FigmaNodeStructureStateV2,
7602
- createdAt: z262.coerce.date(),
7603
- updatedAt: z262.coerce.date()
7663
+ createdAt: z263.coerce.date(),
7664
+ updatedAt: z263.coerce.date()
7604
7665
  });
7605
7666
  var DTOFigmaNodeStructureDetail = DTOFigmaNodeStructure.extend({
7606
7667
  rootNode: FigmaFileStructureNode
7607
7668
  });
7608
- var DTOFigmaNodeStructureListResponse = z262.object({
7669
+ var DTOFigmaNodeStructureListResponse = z263.object({
7609
7670
  structures: DTOFigmaNodeStructure.array()
7610
7671
  });
7611
- var DTOFigmaNodeStructureDetailResponse = z262.object({
7672
+ var DTOFigmaNodeStructureDetailResponse = z263.object({
7612
7673
  structure: DTOFigmaNodeStructureDetail
7613
7674
  });
7614
7675
 
7615
7676
  // src/api/dto/elements/figma-nodes/figma-node-v1.ts
7616
- import { z as z264 } from "zod";
7677
+ import { z as z265 } from "zod";
7617
7678
 
7618
7679
  // src/api/dto/elements/figma-nodes/figma-node.ts
7619
- import { z as z263 } from "zod";
7680
+ import { z as z264 } from "zod";
7620
7681
  var DTOFigmaNodeRenderFormat = FigmaNodeRenderFormat;
7621
- var DTOFigmaNodeOrigin = z263.object({
7622
- sourceId: z263.string(),
7623
- fileId: z263.string().optional(),
7624
- parentName: z263.string().optional()
7682
+ var DTOFigmaNodeOrigin = z264.object({
7683
+ sourceId: z264.string(),
7684
+ fileId: z264.string().optional(),
7685
+ parentName: z264.string().optional()
7625
7686
  });
7626
- var DTOFigmaNodeRenderInputBase = z263.object({
7687
+ var DTOFigmaNodeRenderInputBase = z264.object({
7627
7688
  /**
7628
7689
  * Format in which the node must be rendered, png by default.
7629
7690
  */
@@ -7631,57 +7692,57 @@ var DTOFigmaNodeRenderInputBase = z263.object({
7631
7692
  /**
7632
7693
  * Scale to apply to PNG images, can be between 1 and 4. Scale is ignored for other image formats.
7633
7694
  */
7634
- scale: z263.number().optional()
7695
+ scale: z264.number().optional()
7635
7696
  });
7636
7697
  var DTOFigmaNodeRenderIdInput = DTOFigmaNodeRenderInputBase.extend({
7637
- inputType: z263.literal("NodeId").optional().transform((v) => v ?? "NodeId"),
7698
+ inputType: z264.literal("NodeId").optional().transform((v) => v ?? "NodeId"),
7638
7699
  /**
7639
7700
  * Id of a design system's data source representing a linked Figma file
7640
7701
  */
7641
- sourceId: z263.string(),
7702
+ sourceId: z264.string(),
7642
7703
  /**
7643
7704
  * Id of a node within the Figma file
7644
7705
  */
7645
- figmaFileNodeId: z263.string()
7706
+ figmaFileNodeId: z264.string()
7646
7707
  });
7647
7708
  var DTOFigmaNodeRenderUrlInput = DTOFigmaNodeRenderInputBase.extend({
7648
- inputType: z263.literal("URL"),
7709
+ inputType: z264.literal("URL"),
7649
7710
  /**
7650
7711
  * Id of a design system's data source representing a linked Figma file
7651
7712
  */
7652
- figmaNodeUrl: z263.string(),
7713
+ figmaNodeUrl: z264.string(),
7653
7714
  /**
7654
7715
  * Brand persistent id to use in case a source has to be created for this render
7655
7716
  */
7656
- brandPersistentId: z263.string()
7717
+ brandPersistentId: z264.string()
7657
7718
  });
7658
- var DTOFigmaNodeRerenderInput = z263.object({
7659
- inputType: z263.literal("Rerender"),
7719
+ var DTOFigmaNodeRerenderInput = z264.object({
7720
+ inputType: z264.literal("Rerender"),
7660
7721
  /**
7661
7722
  * Persistent ID of an existing Figma node
7662
7723
  */
7663
- figmaNodePersistentId: z263.string()
7724
+ figmaNodePersistentId: z264.string()
7664
7725
  });
7665
- var DTOFigmaNodeRenderInput = z263.discriminatedUnion("inputType", [
7726
+ var DTOFigmaNodeRenderInput = z264.discriminatedUnion("inputType", [
7666
7727
  DTOFigmaNodeRenderIdInput,
7667
7728
  DTOFigmaNodeRenderUrlInput,
7668
7729
  DTOFigmaNodeRerenderInput
7669
7730
  ]);
7670
7731
 
7671
7732
  // src/api/dto/elements/figma-nodes/figma-node-v1.ts
7672
- var DTOFigmaNodeData = z264.object({
7733
+ var DTOFigmaNodeData = z265.object({
7673
7734
  // Id of the node in the Figma file
7674
- figmaNodeId: z264.string(),
7735
+ figmaNodeId: z265.string(),
7675
7736
  // Validity
7676
- isValid: z264.boolean(),
7737
+ isValid: z265.boolean(),
7677
7738
  // Asset data
7678
- assetId: z264.string(),
7679
- assetUrl: z264.string(),
7739
+ assetId: z265.string(),
7740
+ assetUrl: z265.string(),
7680
7741
  assetFormat: DTOFigmaNodeRenderFormat,
7681
7742
  // Asset metadata
7682
- assetScale: z264.number(),
7683
- assetWidth: z264.number().optional(),
7684
- assetHeight: z264.number().optional()
7743
+ assetScale: z265.number(),
7744
+ assetWidth: z265.number().optional(),
7745
+ assetHeight: z265.number().optional()
7685
7746
  });
7686
7747
  var DTOFigmaNode = FigmaNodeReference.omit({
7687
7748
  data: true,
@@ -7692,15 +7753,15 @@ var DTOFigmaNode = FigmaNodeReference.omit({
7692
7753
  });
7693
7754
 
7694
7755
  // src/api/dto/elements/figma-nodes/figma-node-v2.ts
7695
- import { z as z265 } from "zod";
7696
- var DTOFigmaNodeDataV2 = z265.object({
7697
- sceneNodeId: z265.string(),
7756
+ import { z as z266 } from "zod";
7757
+ var DTOFigmaNodeDataV2 = z266.object({
7758
+ sceneNodeId: z266.string(),
7698
7759
  format: FigmaNodeRenderFormat,
7699
- scale: z265.number().optional(),
7760
+ scale: z266.number().optional(),
7700
7761
  renderState: FigmaNodeRenderState,
7701
7762
  renderedImage: FigmaNodeRenderedImage.optional(),
7702
7763
  renderError: FigmaNodeRenderError.optional(),
7703
- hasSource: z265.boolean()
7764
+ hasSource: z266.boolean()
7704
7765
  });
7705
7766
  var DTOFigmaNodeV2 = FigmaNodeReference.omit({
7706
7767
  data: true,
@@ -7711,113 +7772,113 @@ var DTOFigmaNodeV2 = FigmaNodeReference.omit({
7711
7772
  });
7712
7773
 
7713
7774
  // src/api/dto/elements/figma-nodes/node-actions-v2.ts
7714
- import { z as z266 } from "zod";
7715
- var DTOFigmaNodeRenderActionOutput = z266.object({
7716
- type: z266.literal("FigmaNodeRender"),
7717
- figmaNodes: z266.array(DTOFigmaNode)
7775
+ import { z as z267 } from "zod";
7776
+ var DTOFigmaNodeRenderActionOutput = z267.object({
7777
+ type: z267.literal("FigmaNodeRender"),
7778
+ figmaNodes: z267.array(DTOFigmaNode)
7718
7779
  });
7719
- var DTOFigmaNodeRenderAsyncActionOutput = z266.object({
7720
- type: z266.literal("FigmaNodeRenderAsync"),
7721
- figmaNodes: z266.array(DTOFigmaNodeV2)
7780
+ var DTOFigmaNodeRenderAsyncActionOutput = z267.object({
7781
+ type: z267.literal("FigmaNodeRenderAsync"),
7782
+ figmaNodes: z267.array(DTOFigmaNodeV2)
7722
7783
  });
7723
- var DTOFigmaNodeRenderActionInput = z266.object({
7724
- type: z266.literal("FigmaNodeRender"),
7784
+ var DTOFigmaNodeRenderActionInput = z267.object({
7785
+ type: z267.literal("FigmaNodeRender"),
7725
7786
  input: DTOFigmaNodeRenderIdInput.array()
7726
7787
  });
7727
- var DTOFigmaNodeRenderAsyncActionInput = z266.object({
7728
- type: z266.literal("FigmaNodeRenderAsync"),
7788
+ var DTOFigmaNodeRenderAsyncActionInput = z267.object({
7789
+ type: z267.literal("FigmaNodeRenderAsync"),
7729
7790
  nodes: DTOFigmaNodeRenderInput.array()
7730
7791
  });
7731
7792
 
7732
7793
  // src/api/dto/elements/frame-node-structures/frame-node-structure.ts
7733
- import { z as z267 } from "zod";
7734
- var DTOFrameNodeStructure = z267.object({
7735
- id: z267.string(),
7736
- persistentId: z267.string(),
7737
- designSystemVersionId: z267.string(),
7794
+ import { z as z268 } from "zod";
7795
+ var DTOFrameNodeStructure = z268.object({
7796
+ id: z268.string(),
7797
+ persistentId: z268.string(),
7798
+ designSystemVersionId: z268.string(),
7738
7799
  origin: FigmaFileStructureOrigin,
7739
7800
  assetsInFile: FigmaFileStructureStatistics
7740
7801
  });
7741
- var DTOFrameNodeStructureListResponse = z267.object({
7802
+ var DTOFrameNodeStructureListResponse = z268.object({
7742
7803
  structures: DTOFrameNodeStructure.array()
7743
7804
  });
7744
7805
 
7745
7806
  // src/api/dto/elements/properties/property-definitions.ts
7746
- import { z as z268 } from "zod";
7807
+ import { z as z269 } from "zod";
7747
7808
  var CODE_NAME_REGEX2 = /^[a-zA-Z_$][a-zA-Z_$0-9-]{1,99}$/;
7748
- var DTOElementPropertyDefinitionOption = z268.object({
7749
- id: z268.string(),
7750
- name: z268.string(),
7809
+ var DTOElementPropertyDefinitionOption = z269.object({
7810
+ id: z269.string(),
7811
+ name: z269.string(),
7751
7812
  backgroundColor: DTOColorTokenInlineData.optional()
7752
7813
  });
7753
- var DTOElementPropertyDefinition = z268.object({
7754
- id: z268.string(),
7755
- designSystemVersionId: z268.string(),
7814
+ var DTOElementPropertyDefinition = z269.object({
7815
+ id: z269.string(),
7816
+ designSystemVersionId: z269.string(),
7756
7817
  meta: DTOObjectMeta,
7757
- persistentId: z268.string(),
7818
+ persistentId: z269.string(),
7758
7819
  type: ElementPropertyTypeSchema,
7759
7820
  targetElementType: ElementPropertyTargetType,
7760
- codeName: z268.string().regex(CODE_NAME_REGEX2),
7761
- options: nullishToOptional(z268.array(DTOElementPropertyDefinitionOption)),
7821
+ codeName: z269.string().regex(CODE_NAME_REGEX2),
7822
+ options: nullishToOptional(z269.array(DTOElementPropertyDefinitionOption)),
7762
7823
  linkElementType: nullishToOptional(ElementPropertyLinkType),
7763
- isImmutable: z268.boolean(),
7824
+ isImmutable: z269.boolean(),
7764
7825
  immutablePropertyType: ElementPropertyImmutableType.optional()
7765
7826
  });
7766
- var DTOElementPropertyDefinitionListResponse = z268.object({
7767
- definitions: z268.array(DTOElementPropertyDefinition)
7827
+ var DTOElementPropertyDefinitionListResponse = z269.object({
7828
+ definitions: z269.array(DTOElementPropertyDefinition)
7768
7829
  });
7769
- var DTOElementPropertyDefinitionResponse = z268.object({
7830
+ var DTOElementPropertyDefinitionResponse = z269.object({
7770
7831
  definition: DTOElementPropertyDefinition
7771
7832
  });
7772
- var DTOElementPropertyDefinitionCreatePayload = z268.object({
7833
+ var DTOElementPropertyDefinitionCreatePayload = z269.object({
7773
7834
  meta: DTOObjectMeta,
7774
- persistentId: z268.string(),
7835
+ persistentId: z269.string(),
7775
7836
  type: ElementPropertyTypeSchema,
7776
7837
  targetElementType: ElementPropertyTargetType,
7777
- codeName: z268.string().regex(CODE_NAME_REGEX2),
7778
- options: nullishToOptional(z268.array(DTOElementPropertyDefinitionOption)),
7838
+ codeName: z269.string().regex(CODE_NAME_REGEX2),
7839
+ options: nullishToOptional(z269.array(DTOElementPropertyDefinitionOption)),
7779
7840
  linkElementType: nullishToOptional(ElementPropertyLinkType),
7780
- columnWidth: z268.number().max(1024).optional()
7841
+ columnWidth: z269.number().max(1024).optional()
7781
7842
  });
7782
- var DTOElementPropertyDefinitionUpdatePayload = z268.object({
7843
+ var DTOElementPropertyDefinitionUpdatePayload = z269.object({
7783
7844
  meta: DTOObjectMeta.optional(),
7784
- codeName: z268.string().regex(CODE_NAME_REGEX2).optional(),
7785
- options: z268.array(DTOElementPropertyDefinitionOption).optional()
7845
+ codeName: z269.string().regex(CODE_NAME_REGEX2).optional(),
7846
+ options: z269.array(DTOElementPropertyDefinitionOption).optional()
7786
7847
  });
7787
7848
 
7788
7849
  // src/api/dto/elements/properties/property-values.ts
7789
- import { z as z269 } from "zod";
7790
- var DTOElementPropertyValue = z269.object({
7791
- id: z269.string(),
7792
- designSystemVersionId: z269.string(),
7793
- definitionId: z269.string(),
7794
- targetElementId: z269.string(),
7795
- value: z269.union([z269.string(), z269.number(), z269.boolean()]).optional(),
7796
- valuePreview: z269.string().optional()
7797
- });
7798
- var DTOElementPropertyValueListResponse = z269.object({
7799
- values: z269.array(DTOElementPropertyValue)
7800
- });
7801
- var DTOElementPropertyValueResponse = z269.object({
7850
+ import { z as z270 } from "zod";
7851
+ var DTOElementPropertyValue = z270.object({
7852
+ id: z270.string(),
7853
+ designSystemVersionId: z270.string(),
7854
+ definitionId: z270.string(),
7855
+ targetElementId: z270.string(),
7856
+ value: z270.union([z270.string(), z270.number(), z270.boolean()]).optional(),
7857
+ valuePreview: z270.string().optional()
7858
+ });
7859
+ var DTOElementPropertyValueListResponse = z270.object({
7860
+ values: z270.array(DTOElementPropertyValue)
7861
+ });
7862
+ var DTOElementPropertyValueResponse = z270.object({
7802
7863
  value: DTOElementPropertyValue
7803
7864
  });
7804
- var DTOElementPropertyValuesEditActionOutput = z269.object({
7805
- type: z269.literal("ElementPropertyValuesEdit"),
7806
- output: z269.object({ success: z269.literal(true) })
7865
+ var DTOElementPropertyValuesEditActionOutput = z270.object({
7866
+ type: z270.literal("ElementPropertyValuesEdit"),
7867
+ output: z270.object({ success: z270.literal(true) })
7807
7868
  });
7808
- var DTOElementPropertyValueUpsertPaylod = z269.object({
7809
- definitionId: z269.string(),
7810
- targetElementId: z269.string(),
7811
- value: z269.string().or(z269.number()).or(z269.boolean()).nullable()
7869
+ var DTOElementPropertyValueUpsertPaylod = z270.object({
7870
+ definitionId: z270.string(),
7871
+ targetElementId: z270.string(),
7872
+ value: z270.string().or(z270.number()).or(z270.boolean()).nullable()
7812
7873
  });
7813
- var DTOElementPropertyValuesEditActionInput = z269.object({
7814
- type: z269.literal("ElementPropertyValuesEdit"),
7874
+ var DTOElementPropertyValuesEditActionInput = z270.object({
7875
+ type: z270.literal("ElementPropertyValuesEdit"),
7815
7876
  values: DTOElementPropertyValueUpsertPaylod.array()
7816
7877
  });
7817
7878
 
7818
7879
  // src/api/dto/elements/elements-action-v2.ts
7819
- import { z as z270 } from "zod";
7820
- var DTOElementActionOutput = z270.discriminatedUnion("type", [
7880
+ import { z as z271 } from "zod";
7881
+ var DTOElementActionOutput = z271.discriminatedUnion("type", [
7821
7882
  // Documentation pages
7822
7883
  DTODocumentationPageCreateActionOutputV2,
7823
7884
  DTODocumentationPageUpdateActionOutputV2,
@@ -7844,7 +7905,7 @@ var DTOElementActionOutput = z270.discriminatedUnion("type", [
7844
7905
  // Element properties
7845
7906
  DTOElementPropertyValuesEditActionOutput
7846
7907
  ]);
7847
- var DTOElementActionInput = z270.discriminatedUnion("type", [
7908
+ var DTOElementActionInput = z271.discriminatedUnion("type", [
7848
7909
  // Documentation pages
7849
7910
  DTODocumentationPageCreateActionInputV2,
7850
7911
  DTODocumentationPageUpdateActionInputV2,
@@ -7871,90 +7932,90 @@ var DTOElementActionInput = z270.discriminatedUnion("type", [
7871
7932
  // Element properties
7872
7933
  DTOElementPropertyValuesEditActionInput
7873
7934
  ]).and(
7874
- z270.object({
7875
- tId: z270.string().optional()
7935
+ z271.object({
7936
+ tId: z271.string().optional()
7876
7937
  })
7877
7938
  );
7878
7939
 
7879
7940
  // src/api/dto/elements/get-elements-v2.ts
7880
- import { z as z271 } from "zod";
7881
- var DTOElementsGetTypeFilter = z271.enum(["FigmaNode"]);
7882
- var DTOElementsGetQuerySchema = z271.object({
7883
- types: z271.string().transform((val) => val.split(",").map((v) => DTOElementsGetTypeFilter.parse(v))),
7884
- responseVersion: z271.coerce.number().default(1)
7941
+ import { z as z272 } from "zod";
7942
+ var DTOElementsGetTypeFilter = z272.enum(["FigmaNode"]);
7943
+ var DTOElementsGetQuerySchema = z272.object({
7944
+ types: z272.string().transform((val) => val.split(",").map((v) => DTOElementsGetTypeFilter.parse(v))),
7945
+ responseVersion: z272.coerce.number().default(1)
7885
7946
  });
7886
- var DTOElementsGetOutput = z271.object({
7887
- figmaNodes: z271.array(DTOFigmaNode).optional()
7947
+ var DTOElementsGetOutput = z272.object({
7948
+ figmaNodes: z272.array(DTOFigmaNode).optional()
7888
7949
  });
7889
- var DTOElementsGetOutputV2 = z271.object({
7890
- figmaNodes: z271.array(DTOFigmaNodeV2).optional()
7950
+ var DTOElementsGetOutputV2 = z272.object({
7951
+ figmaNodes: z272.array(DTOFigmaNodeV2).optional()
7891
7952
  });
7892
7953
 
7893
7954
  // src/api/dto/figma-components/assets/download.ts
7894
- import { z as z272 } from "zod";
7895
- var DTOAssetRenderConfiguration = z272.object({
7896
- prefix: z272.string().optional(),
7897
- suffix: z272.string().optional(),
7898
- scale: z272.enum(["x1", "x2", "x3", "x4"]),
7899
- format: z272.enum(["png", "pdf", "svg"])
7900
- });
7901
- var DTORenderedAssetFile = z272.object({
7902
- assetId: z272.string(),
7903
- fileName: z272.string(),
7904
- sourceUrl: z272.string(),
7955
+ import { z as z273 } from "zod";
7956
+ var DTOAssetRenderConfiguration = z273.object({
7957
+ prefix: z273.string().optional(),
7958
+ suffix: z273.string().optional(),
7959
+ scale: z273.enum(["x1", "x2", "x3", "x4"]),
7960
+ format: z273.enum(["png", "pdf", "svg"])
7961
+ });
7962
+ var DTORenderedAssetFile = z273.object({
7963
+ assetId: z273.string(),
7964
+ fileName: z273.string(),
7965
+ sourceUrl: z273.string(),
7905
7966
  settings: DTOAssetRenderConfiguration,
7906
- originalName: z272.string()
7967
+ originalName: z273.string()
7907
7968
  });
7908
- var DTODownloadAssetsRequest = z272.object({
7909
- persistentIds: z272.array(z272.string().uuid()).optional(),
7969
+ var DTODownloadAssetsRequest = z273.object({
7970
+ persistentIds: z273.array(z273.string().uuid()).optional(),
7910
7971
  settings: DTOAssetRenderConfiguration.array()
7911
7972
  });
7912
- var DTODownloadAssetsResponse = z272.object({
7973
+ var DTODownloadAssetsResponse = z273.object({
7913
7974
  items: DTORenderedAssetFile.array()
7914
7975
  });
7915
7976
 
7916
7977
  // src/api/dto/liveblocks/auth-response.ts
7917
- import { z as z273 } from "zod";
7918
- var DTOLiveblocksAuthResponse = z273.object({
7919
- token: z273.string()
7978
+ import { z as z274 } from "zod";
7979
+ var DTOLiveblocksAuthResponse = z274.object({
7980
+ token: z274.string()
7920
7981
  });
7921
7982
 
7922
7983
  // src/api/dto/themes/override.ts
7923
- import { z as z274 } from "zod";
7984
+ import { z as z275 } from "zod";
7924
7985
  var DTOThemeOverride = DesignTokenTypedData.and(
7925
- z274.object({
7926
- tokenPersistentId: z274.string(),
7986
+ z275.object({
7987
+ tokenPersistentId: z275.string(),
7927
7988
  origin: ThemeOverrideOrigin.optional()
7928
7989
  })
7929
7990
  );
7930
7991
  var DTOThemeOverrideCreatePayload = DesignTokenTypedData.and(
7931
- z274.object({
7932
- tokenPersistentId: z274.string()
7992
+ z275.object({
7993
+ tokenPersistentId: z275.string()
7933
7994
  })
7934
7995
  );
7935
7996
 
7936
7997
  // src/api/dto/themes/theme.ts
7937
- import { z as z275 } from "zod";
7938
- var DTOTheme = z275.object({
7939
- id: z275.string(),
7940
- persistentId: z275.string(),
7941
- designSystemVersionId: z275.string(),
7942
- brandId: z275.string(),
7998
+ import { z as z276 } from "zod";
7999
+ var DTOTheme = z276.object({
8000
+ id: z276.string(),
8001
+ persistentId: z276.string(),
8002
+ designSystemVersionId: z276.string(),
8003
+ brandId: z276.string(),
7943
8004
  meta: ObjectMeta,
7944
- codeName: z275.string(),
8005
+ codeName: z276.string(),
7945
8006
  overrides: DTOThemeOverride.array()
7946
8007
  });
7947
- var DTOThemeResponse = z275.object({
8008
+ var DTOThemeResponse = z276.object({
7948
8009
  theme: DTOTheme
7949
8010
  });
7950
- var DTOThemeListResponse = z275.object({
8011
+ var DTOThemeListResponse = z276.object({
7951
8012
  themes: DTOTheme.array()
7952
8013
  });
7953
- var DTOThemeCreatePayload = z275.object({
8014
+ var DTOThemeCreatePayload = z276.object({
7954
8015
  meta: ObjectMeta,
7955
- persistentId: z275.string(),
7956
- brandId: z275.string(),
7957
- codeName: z275.string(),
8016
+ persistentId: z276.string(),
8017
+ brandId: z276.string(),
8018
+ codeName: z276.string(),
7958
8019
  overrides: DTOThemeOverride.array()
7959
8020
  });
7960
8021
 
@@ -8190,13 +8251,13 @@ var ExportersEndpoint = class {
8190
8251
  };
8191
8252
 
8192
8253
  // src/api/endpoints/codegen/jobs.ts
8193
- import { z as z276 } from "zod";
8254
+ import { z as z277 } from "zod";
8194
8255
  var ExporterJobsEndpoint = class {
8195
8256
  constructor(requestExecutor) {
8196
8257
  this.requestExecutor = requestExecutor;
8197
8258
  }
8198
8259
  list(workspaceId) {
8199
- return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/jobs`, z276.any());
8260
+ return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/jobs`, z277.any());
8200
8261
  }
8201
8262
  get(workspaceId, jobId) {
8202
8263
  return this.requestExecutor.json(`/codegen/workspaces/${workspaceId}/jobs/${jobId}`, DTOExportJobResponseLegacy);
@@ -8254,7 +8315,7 @@ var CodegenEndpoint = class {
8254
8315
  };
8255
8316
 
8256
8317
  // src/api/endpoints/design-system/versions/brands.ts
8257
- import { z as z277 } from "zod";
8318
+ import { z as z278 } from "zod";
8258
8319
  var BrandsEndpoint = class {
8259
8320
  constructor(requestExecutor) {
8260
8321
  this.requestExecutor = requestExecutor;
@@ -8288,7 +8349,7 @@ var BrandsEndpoint = class {
8288
8349
  });
8289
8350
  }
8290
8351
  delete(dsId, vId, brandId) {
8291
- return this.requestExecutor.json(`/design-systems/${dsId}/versions/${vId}/brands/${brandId}`, z277.any(), {
8352
+ return this.requestExecutor.json(`/design-systems/${dsId}/versions/${vId}/brands/${brandId}`, z278.any(), {
8292
8353
  method: "DELETE"
8293
8354
  });
8294
8355
  }
@@ -8302,7 +8363,7 @@ var CodeComponentsEndpoint = class {
8302
8363
  async import(dsId, vId, body) {
8303
8364
  return this.requestExecutor.json(
8304
8365
  `/design-systems/${dsId}/versions/${vId}/code-components`,
8305
- DTOCodeComponentListResponse,
8366
+ DTOCodeComponentUpsertResponse,
8306
8367
  {
8307
8368
  body,
8308
8369
  method: "POST"
@@ -8501,7 +8562,7 @@ var ImportJobsEndpoint = class {
8501
8562
  };
8502
8563
 
8503
8564
  // src/api/endpoints/design-system/versions/overrides.ts
8504
- import { z as z278 } from "zod";
8565
+ import { z as z279 } from "zod";
8505
8566
  var OverridesEndpoint = class {
8506
8567
  constructor(requestExecutor) {
8507
8568
  this.requestExecutor = requestExecutor;
@@ -8509,7 +8570,7 @@ var OverridesEndpoint = class {
8509
8570
  create(dsId, versionId, themeId, body) {
8510
8571
  return this.requestExecutor.json(
8511
8572
  `/design-systems/${dsId}/versions/${versionId}/themes/${themeId}/overrides`,
8512
- z278.any(),
8573
+ z279.any(),
8513
8574
  {
8514
8575
  method: "POST",
8515
8576
  body
@@ -8519,7 +8580,7 @@ var OverridesEndpoint = class {
8519
8580
  };
8520
8581
 
8521
8582
  // src/api/endpoints/design-system/versions/property-definitions.ts
8522
- import { z as z279 } from "zod";
8583
+ import { z as z280 } from "zod";
8523
8584
  var ElementPropertyDefinitionsEndpoint = class {
8524
8585
  constructor(requestExecutor) {
8525
8586
  this.requestExecutor = requestExecutor;
@@ -8547,7 +8608,7 @@ var ElementPropertyDefinitionsEndpoint = class {
8547
8608
  delete(designSystemId, versionId, defId) {
8548
8609
  return this.requestExecutor.json(
8549
8610
  `/design-systems/${designSystemId}/versions/${versionId}/element-properties/definitions/${defId}`,
8550
- z279.any(),
8611
+ z280.any(),
8551
8612
  { method: "DELETE" }
8552
8613
  );
8553
8614
  }
@@ -8586,7 +8647,7 @@ var VersionStatsEndpoint = class {
8586
8647
  };
8587
8648
 
8588
8649
  // src/api/endpoints/design-system/versions/themes.ts
8589
- import { z as z280 } from "zod";
8650
+ import { z as z281 } from "zod";
8590
8651
  var ThemesEndpoint = class {
8591
8652
  constructor(requestExecutor) {
8592
8653
  this.requestExecutor = requestExecutor;
@@ -8609,7 +8670,7 @@ var ThemesEndpoint = class {
8609
8670
  });
8610
8671
  }
8611
8672
  delete(dsId, versionId, themeId) {
8612
- return this.requestExecutor.json(`/design-systems/${dsId}/versions/${versionId}/themes/${themeId}`, z280.any(), {
8673
+ return this.requestExecutor.json(`/design-systems/${dsId}/versions/${versionId}/themes/${themeId}`, z281.any(), {
8613
8674
  method: "DELETE"
8614
8675
  });
8615
8676
  }
@@ -8743,17 +8804,11 @@ var DesignSystemAnalyticsEndpoint = class {
8743
8804
  constructor(requestExecutor) {
8744
8805
  this.requestExecutor = requestExecutor;
8745
8806
  }
8746
- get(designSystemId, versionId, query) {
8807
+ get(designSystemId, versionId, body) {
8747
8808
  return this.requestExecutor.json(
8748
8809
  `/design-systems/${designSystemId}/versions/${versionId}/documentation/analytics`,
8749
8810
  DTODocumentationPageAnalyticsResponse,
8750
- {
8751
- method: "GET",
8752
- query: new URLSearchParams({
8753
- start: query.start.toISOString(),
8754
- ...query.end && { end: query.end.toISOString() }
8755
- })
8756
- }
8811
+ { method: "POST", body }
8757
8812
  );
8758
8813
  }
8759
8814
  };
@@ -8784,7 +8839,7 @@ var DesignSystemContactsEndpoint = class {
8784
8839
  };
8785
8840
 
8786
8841
  // src/api/endpoints/design-system/design-systems.ts
8787
- import { z as z283 } from "zod";
8842
+ import { z as z284 } from "zod";
8788
8843
 
8789
8844
  // src/api/endpoints/design-system/figma-node-structures.ts
8790
8845
  var FigmaNodeStructuresEndpoint = class {
@@ -8861,7 +8916,7 @@ var DesignSystemPageRedirectsEndpoint = class {
8861
8916
  };
8862
8917
 
8863
8918
  // src/api/endpoints/design-system/sources.ts
8864
- import { z as z281 } from "zod";
8919
+ import { z as z282 } from "zod";
8865
8920
  var DesignSystemSourcesEndpoint = class {
8866
8921
  constructor(requestExecutor) {
8867
8922
  this.requestExecutor = requestExecutor;
@@ -8879,7 +8934,7 @@ var DesignSystemSourcesEndpoint = class {
8879
8934
  return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, DTODataSourceResponse);
8880
8935
  }
8881
8936
  delete(dsId, sourceId) {
8882
- return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, z281.any(), { method: "DELETE" });
8937
+ return this.requestExecutor.json(`/design-systems/${dsId}/sources/${sourceId}`, z282.any(), { method: "DELETE" });
8883
8938
  }
8884
8939
  figmaImport(dsId, payload) {
8885
8940
  return this.requestExecutor.json(`/design-systems/${dsId}/versions/head/cloud-import`, DTOImportJobResponse, {
@@ -8896,7 +8951,7 @@ var DesignSystemSourcesEndpoint = class {
8896
8951
  };
8897
8952
 
8898
8953
  // src/api/endpoints/design-system/storybook.ts
8899
- import { z as z282 } from "zod";
8954
+ import { z as z283 } from "zod";
8900
8955
  var StorybookEntriesEndpoint = class {
8901
8956
  constructor(requestExecutor) {
8902
8957
  this.requestExecutor = requestExecutor;
@@ -8908,7 +8963,7 @@ var StorybookEntriesEndpoint = class {
8908
8963
  return this.requestExecutor.json(`/design-systems/${dsId}/versions/head/storybook/${entryId}`, DTOStorybookEntryReplaceAction, { method: "PUT" });
8909
8964
  }
8910
8965
  delete(dsId, entryId) {
8911
- return this.requestExecutor.json(`/design-systems/${dsId}/versions/head/storybook/${entryId}`, z282.any(), { method: "DELETE" });
8966
+ return this.requestExecutor.json(`/design-systems/${dsId}/versions/head/storybook/${entryId}`, z283.any(), { method: "DELETE" });
8912
8967
  }
8913
8968
  };
8914
8969
 
@@ -8945,7 +9000,7 @@ var DesignSystemsEndpoint = class {
8945
9000
  return this.requestExecutor.json(`/design-systems/${dsId}`, DTODesignSystemResponse);
8946
9001
  }
8947
9002
  delete(dsId) {
8948
- return this.requestExecutor.json(`/design-systems/${dsId}`, z283.any(), { method: "DELETE" });
9003
+ return this.requestExecutor.json(`/design-systems/${dsId}`, z284.any(), { method: "DELETE" });
8949
9004
  }
8950
9005
  update(dsId, body) {
8951
9006
  return this.requestExecutor.json(`/design-systems/${dsId}`, DTODesignSystemResponse, {
@@ -8962,7 +9017,7 @@ var DesignSystemsEndpoint = class {
8962
9017
  };
8963
9018
 
8964
9019
  // src/api/endpoints/workspaces/integrations.ts
8965
- import { z as z284 } from "zod";
9020
+ import { z as z285 } from "zod";
8966
9021
  var WorkspaceIntegrationsEndpoint = class {
8967
9022
  constructor(requestExecutor) {
8968
9023
  this.requestExecutor = requestExecutor;
@@ -8971,7 +9026,7 @@ var WorkspaceIntegrationsEndpoint = class {
8971
9026
  return this.requestExecutor.json(`/workspaces/${wsId}/integrations`, DTOIntegrationsGetListResponse);
8972
9027
  }
8973
9028
  delete(wsId, iId) {
8974
- return this.requestExecutor.json(`/workspaces/${wsId}/integrations/${iId}`, z284.unknown(), { method: "DELETE" });
9029
+ return this.requestExecutor.json(`/workspaces/${wsId}/integrations/${iId}`, z285.unknown(), { method: "DELETE" });
8975
9030
  }
8976
9031
  };
8977
9032
 
@@ -9003,7 +9058,7 @@ var WorkspaceInvitationsEndpoint = class {
9003
9058
  };
9004
9059
 
9005
9060
  // src/api/endpoints/workspaces/members.ts
9006
- import { z as z285 } from "zod";
9061
+ import { z as z286 } from "zod";
9007
9062
  var WorkspaceMembersEndpoint = class {
9008
9063
  constructor(requestExecutor) {
9009
9064
  this.requestExecutor = requestExecutor;
@@ -9020,7 +9075,7 @@ var WorkspaceMembersEndpoint = class {
9020
9075
  });
9021
9076
  }
9022
9077
  invite(workspaceId, body) {
9023
- return this.requestExecutor.json(`/workspaces/${workspaceId}/members`, z285.any(), { method: "POST", body });
9078
+ return this.requestExecutor.json(`/workspaces/${workspaceId}/members`, z286.any(), { method: "POST", body });
9024
9079
  }
9025
9080
  delete(workspaceId, userId) {
9026
9081
  return this.requestExecutor.json(`/workspaces/${workspaceId}/members/${userId}`, DTOWorkspaceResponse, {
@@ -9030,7 +9085,7 @@ var WorkspaceMembersEndpoint = class {
9030
9085
  };
9031
9086
 
9032
9087
  // src/api/endpoints/workspaces/workspaces.ts
9033
- import { z as z286 } from "zod";
9088
+ import { z as z287 } from "zod";
9034
9089
  var WorkspacesEndpoint = class {
9035
9090
  constructor(requestExecutor) {
9036
9091
  this.requestExecutor = requestExecutor;
@@ -9055,10 +9110,10 @@ var WorkspacesEndpoint = class {
9055
9110
  return this.requestExecutor.json(`/workspaces/${workspaceId}`, DTOWorkspaceResponse, { method: "GET" });
9056
9111
  }
9057
9112
  delete(workspaceId) {
9058
- return this.requestExecutor.json(`/workspaces/${workspaceId}`, z286.any(), { method: "DELETE" });
9113
+ return this.requestExecutor.json(`/workspaces/${workspaceId}`, z287.any(), { method: "DELETE" });
9059
9114
  }
9060
9115
  subscription(workspaceId) {
9061
- return this.requestExecutor.json(`/workspaces/${workspaceId}/subscription`, z286.any(), { method: "GET" });
9116
+ return this.requestExecutor.json(`/workspaces/${workspaceId}/subscription`, z287.any(), { method: "GET" });
9062
9117
  }
9063
9118
  transferOwnership(workspaceId, body) {
9064
9119
  return this.requestExecutor.json(`/workspaces/${workspaceId}/ownership`, DTOWorkspaceResponse, {
@@ -9158,9 +9213,9 @@ ${bodyText}`,
9158
9213
 
9159
9214
  // src/api/transport/request-executor.ts
9160
9215
  import fetch from "node-fetch";
9161
- import { z as z287 } from "zod";
9162
- var ResponseWrapper = z287.object({
9163
- result: z287.record(z287.any())
9216
+ import { z as z288 } from "zod";
9217
+ var ResponseWrapper = z288.object({
9218
+ result: z288.record(z288.any())
9164
9219
  });
9165
9220
  var RequestExecutor = class {
9166
9221
  constructor(testServerConfig) {
@@ -9234,31 +9289,31 @@ var SupernovaApiClient = class {
9234
9289
  };
9235
9290
 
9236
9291
  // src/events/design-system.ts
9237
- import { z as z288 } from "zod";
9238
- var DTOEventFigmaNodesRendered = z288.object({
9239
- type: z288.literal("DesignSystem.FigmaNodesRendered"),
9240
- designSystemId: z288.string(),
9241
- versionId: z288.string(),
9242
- figmaNodePersistentIds: z288.string().array()
9243
- });
9244
- var DTOEventDataSourcesImported = z288.object({
9245
- type: z288.literal("DesignSystem.ImportJobFinished"),
9246
- designSystemId: z288.string(),
9247
- versionId: z288.string(),
9248
- importJobId: z288.string(),
9292
+ import { z as z289 } from "zod";
9293
+ var DTOEventFigmaNodesRendered = z289.object({
9294
+ type: z289.literal("DesignSystem.FigmaNodesRendered"),
9295
+ designSystemId: z289.string(),
9296
+ versionId: z289.string(),
9297
+ figmaNodePersistentIds: z289.string().array()
9298
+ });
9299
+ var DTOEventDataSourcesImported = z289.object({
9300
+ type: z289.literal("DesignSystem.ImportJobFinished"),
9301
+ designSystemId: z289.string(),
9302
+ versionId: z289.string(),
9303
+ importJobId: z289.string(),
9249
9304
  dataSourceType: DataSourceRemoteType,
9250
- dataSourceIds: z288.string().array()
9305
+ dataSourceIds: z289.string().array()
9251
9306
  });
9252
9307
 
9253
9308
  // src/events/event.ts
9254
- import { z as z289 } from "zod";
9255
- var DTOEvent = z289.discriminatedUnion("type", [DTOEventDataSourcesImported, DTOEventFigmaNodesRendered]);
9309
+ import { z as z290 } from "zod";
9310
+ var DTOEvent = z290.discriminatedUnion("type", [DTOEventDataSourcesImported, DTOEventFigmaNodesRendered]);
9256
9311
 
9257
9312
  // src/sync/docs-structure-repo.ts
9258
9313
  import PQueue from "p-queue";
9259
9314
 
9260
9315
  // src/yjs/design-system-content/documentation-hierarchy.ts
9261
- import { z as z290 } from "zod";
9316
+ import { z as z291 } from "zod";
9262
9317
 
9263
9318
  // src/yjs/version-room/base.ts
9264
9319
  var VersionRoomBaseYDoc = class {
@@ -9808,24 +9863,24 @@ var FrontendVersionRoomYDoc = class {
9808
9863
  };
9809
9864
 
9810
9865
  // src/yjs/design-system-content/documentation-hierarchy.ts
9811
- var DocumentationHierarchySettings = z290.object({
9812
- routingVersion: z290.string(),
9813
- isDraftFeatureAdopted: z290.boolean(),
9814
- isApprovalFeatureEnabled: z290.boolean(),
9815
- approvalRequiredForPublishing: z290.boolean()
9866
+ var DocumentationHierarchySettings = z291.object({
9867
+ routingVersion: z291.string(),
9868
+ isDraftFeatureAdopted: z291.boolean(),
9869
+ isApprovalFeatureEnabled: z291.boolean(),
9870
+ approvalRequiredForPublishing: z291.boolean()
9816
9871
  });
9817
9872
  function yjsToDocumentationHierarchy(doc) {
9818
9873
  return new FrontendVersionRoomYDoc(doc).getDocumentationHierarchy();
9819
9874
  }
9820
9875
 
9821
9876
  // src/yjs/design-system-content/item-configuration.ts
9822
- import { z as z291 } from "zod";
9823
- var DTODocumentationPageRoomHeaderData = z291.object({
9824
- title: z291.string(),
9877
+ import { z as z292 } from "zod";
9878
+ var DTODocumentationPageRoomHeaderData = z292.object({
9879
+ title: z292.string(),
9825
9880
  configuration: DTODocumentationItemConfigurationV2
9826
9881
  });
9827
- var DTODocumentationPageRoomHeaderDataUpdate = z291.object({
9828
- title: z291.string().optional(),
9882
+ var DTODocumentationPageRoomHeaderDataUpdate = z292.object({
9883
+ title: z292.string().optional(),
9829
9884
  configuration: DTODocumentationItemConfigurationV2.omit({ header: true }).extend({ header: DocumentationItemHeaderV2.partial() }).optional()
9830
9885
  });
9831
9886
  function itemConfigurationToYjs(yDoc, item) {
@@ -9876,7 +9931,7 @@ function yjsToItemConfiguration(yDoc) {
9876
9931
  header: rawHeader
9877
9932
  };
9878
9933
  return {
9879
- title: z291.string().parse(title),
9934
+ title: z292.string().parse(title),
9880
9935
  configuration: DTODocumentationItemConfigurationV2.parse(rawConfig)
9881
9936
  };
9882
9937
  }
@@ -9886,9 +9941,9 @@ var PageBlockEditorModel = PageBlockEditorModelV2;
9886
9941
  var PageSectionEditorModel = PageSectionEditorModelV2;
9887
9942
 
9888
9943
  // src/yjs/docs-editor/model/page.ts
9889
- import { z as z292 } from "zod";
9890
- var DocumentationPageEditorModel = z292.object({
9891
- blocks: z292.array(DocumentationPageContentItem)
9944
+ import { z as z293 } from "zod";
9945
+ var DocumentationPageEditorModel = z293.object({
9946
+ blocks: z293.array(DocumentationPageContentItem)
9892
9947
  });
9893
9948
 
9894
9949
  // src/yjs/docs-editor/prosemirror/inner-editor-schema.ts
@@ -12303,23 +12358,68 @@ var blocks = [
12303
12358
  id: "embed",
12304
12359
  name: "Storybook URL",
12305
12360
  type: "Storybook",
12306
- 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
+ }
12307
12374
  }
12308
12375
  ],
12309
- appearance: { isBordered: true, hasBackground: false },
12376
+ appearance: {
12377
+ isBordered: true,
12378
+ hasBackground: false
12379
+ },
12310
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
+ },
12311
12397
  {
12312
12398
  id: "default",
12313
- name: "Default",
12314
- 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
+ },
12315
12409
  maxColumns: 1,
12316
12410
  defaultColumns: 1,
12317
12411
  appearance: {}
12318
12412
  }
12319
12413
  ],
12320
- defaultVariantKey: "default"
12414
+ defaultVariantKey: "playground"
12415
+ },
12416
+ behavior: {
12417
+ dataType: "Item",
12418
+ items: {
12419
+ numberOfItems: 1,
12420
+ allowLinks: false
12421
+ }
12321
12422
  },
12322
- behavior: { dataType: "Item", items: { numberOfItems: 1, allowLinks: false } },
12323
12423
  editorOptions: {
12324
12424
  onboarding: {
12325
12425
  helpText: "Embed a Storybook story to your documentation.",
@@ -13436,7 +13536,7 @@ var blocks = [
13436
13536
 
13437
13537
  // src/yjs/docs-editor/prosemirror-to-blocks.ts
13438
13538
  import { yXmlFragmentToProsemirrorJSON } from "y-prosemirror";
13439
- import { z as z293 } from "zod";
13539
+ import { z as z294 } from "zod";
13440
13540
  function yDocToPage(yDoc, definitions) {
13441
13541
  return yXmlFragmentToPage(yDoc.getXmlFragment("default"), definitions);
13442
13542
  }
@@ -13455,7 +13555,7 @@ function shallowProsemirrorNodeToBlock(prosemirrorNode, definition) {
13455
13555
  }
13456
13556
  function prosemirrorDocToRichTextPropertyValue(prosemirrorNode) {
13457
13557
  return {
13458
- value: (prosemirrorNode.content ?? []).map((n) => prosemirrorNodeToRichTextEditorPropertyNode(n)).filter(nonNullFilter)
13558
+ value: (prosemirrorNode.content ?? []).map((n) => prosemirrorNodeToRichTextEditorPropertyNode(n)).filter(nonNullFilter2)
13459
13559
  };
13460
13560
  }
13461
13561
  function prosemirrorNodeToRichTextEditorPropertyNode(prosemirrorNode) {
@@ -13479,7 +13579,7 @@ function parseAsListNode(prosemirrorNode) {
13479
13579
  return {
13480
13580
  type: "List",
13481
13581
  listType: prosemirrorNode.type === "orderedList" ? "OL" : "UL",
13482
- value: (prosemirrorNode.content ?? []).map(parseAsListNodeItem).filter(nonNullFilter)
13582
+ value: (prosemirrorNode.content ?? []).map(parseAsListNodeItem).filter(nonNullFilter2)
13483
13583
  };
13484
13584
  }
13485
13585
  function parseAsListNodeItem(prosemirrorNode) {
@@ -13504,7 +13604,7 @@ function internalProsemirrorNodeToSection(prosemirrorNode, definitionsMap) {
13504
13604
  contentExpandToEdges: true,
13505
13605
  expandToEdges: true
13506
13606
  },
13507
- items: (prosemirrorNode.content ?? []).filter((c) => c.type === "sectionItem").map((c) => prosemirrorNodeToSectionItem(c, definitionsMap)).filter(nonNullFilter)
13607
+ items: (prosemirrorNode.content ?? []).filter((c) => c.type === "sectionItem").map((c) => prosemirrorNodeToSectionItem(c, definitionsMap)).filter(nonNullFilter2)
13508
13608
  };
13509
13609
  }
13510
13610
  function prosemirrorNodeToSectionItem(prosemirrorNode, definitionsMap) {
@@ -13512,8 +13612,8 @@ function prosemirrorNodeToSectionItem(prosemirrorNode, definitionsMap) {
13512
13612
  if (!id) return null;
13513
13613
  return {
13514
13614
  id,
13515
- title: getProsemirrorAttribute(prosemirrorNode, "title", z293.string()) ?? "",
13516
- columns: (prosemirrorNode.content ?? []).filter((c) => c.type === "sectionItemColumn").map((c) => prosemirrorNodeToSectionColumns(c, definitionsMap)).filter(nonNullFilter)
13615
+ title: getProsemirrorAttribute(prosemirrorNode, "title", z294.string()) ?? "",
13616
+ columns: (prosemirrorNode.content ?? []).filter((c) => c.type === "sectionItemColumn").map((c) => prosemirrorNodeToSectionColumns(c, definitionsMap)).filter(nonNullFilter2)
13517
13617
  };
13518
13618
  }
13519
13619
  function prosemirrorNodeToSectionColumns(prosemirrorNode, definitionsMap) {
@@ -13546,7 +13646,7 @@ function internalProsemirrorNodesToBlocks(prosemirrorNodes, definitionsMap, dept
13546
13646
  });
13547
13647
  }
13548
13648
  function internalProsemirrorNodeToBlock(prosemirrorNode, definitionsMap, depth) {
13549
- const definitionId = getProsemirrorAttribute(prosemirrorNode, "definitionId", z293.string());
13649
+ const definitionId = getProsemirrorAttribute(prosemirrorNode, "definitionId", z294.string());
13550
13650
  if (!definitionId) {
13551
13651
  console.warn(`definitionId on ${prosemirrorNode.type} is required to be interpreted as a block, skipping node`);
13552
13652
  return [];
@@ -13587,7 +13687,7 @@ function parseAsRichText(prosemirrorNode, definition, property) {
13587
13687
  const id = getProsemirrorBlockId(prosemirrorNode);
13588
13688
  if (!id) return null;
13589
13689
  const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
13590
- const calloutType = parseCalloutType(getProsemirrorAttribute(prosemirrorNode, "type", z293.string().optional()));
13690
+ const calloutType = parseCalloutType(getProsemirrorAttribute(prosemirrorNode, "type", z294.string().optional()));
13591
13691
  return {
13592
13692
  id,
13593
13693
  type: "Block",
@@ -13678,7 +13778,7 @@ function parseAsMultiRichText(prosemirrorNode, definition, property, definitions
13678
13778
  }
13679
13779
  function parseRichText(spans) {
13680
13780
  return {
13681
- spans: spans.map(parseRichTextSpan).filter(nonNullFilter)
13781
+ spans: spans.map(parseRichTextSpan).filter(nonNullFilter2)
13682
13782
  };
13683
13783
  }
13684
13784
  function parseRichTextSpan(span) {
@@ -13689,7 +13789,7 @@ function parseRichTextSpan(span) {
13689
13789
  const marks = span.marks ?? [];
13690
13790
  return {
13691
13791
  text: span.text,
13692
- attributes: marks.map(parseRichTextAttribute).filter(nonNullFilter)
13792
+ attributes: marks.map(parseRichTextAttribute).filter(nonNullFilter2)
13693
13793
  };
13694
13794
  }
13695
13795
  function parseRichTextAttribute(mark) {
@@ -13710,9 +13810,9 @@ function parseRichTextAttribute(mark) {
13710
13810
  return null;
13711
13811
  }
13712
13812
  function parseProsemirrorLink(mark) {
13713
- const href = getProsemirrorAttribute(mark, "href", z293.string().optional());
13813
+ const href = getProsemirrorAttribute(mark, "href", z294.string().optional());
13714
13814
  if (!href) return null;
13715
- const target = getProsemirrorAttribute(mark, "target", z293.string().optional());
13815
+ const target = getProsemirrorAttribute(mark, "target", z294.string().optional());
13716
13816
  const openInNewTab = target === "_blank";
13717
13817
  if (href.startsWith("@")) {
13718
13818
  return {
@@ -13731,9 +13831,9 @@ function parseProsemirrorLink(mark) {
13731
13831
  }
13732
13832
  }
13733
13833
  function parseProsemirrorCommentHighlight(mark) {
13734
- const highlightId = getProsemirrorAttribute(mark, "highlightId", z293.string().optional());
13834
+ const highlightId = getProsemirrorAttribute(mark, "highlightId", z294.string().optional());
13735
13835
  if (!highlightId) return null;
13736
- const isResolved = getProsemirrorAttribute(mark, "resolved", z293.boolean().optional()) ?? false;
13836
+ const isResolved = getProsemirrorAttribute(mark, "resolved", z294.boolean().optional()) ?? false;
13737
13837
  return {
13738
13838
  type: "Comment",
13739
13839
  commentHighlightId: highlightId,
@@ -13744,7 +13844,7 @@ function parseAsTable(prosemirrorNode, definition, property) {
13744
13844
  const id = getProsemirrorBlockId(prosemirrorNode);
13745
13845
  if (!id) return null;
13746
13846
  const variantId = getProsemirrorBlockVariantId(prosemirrorNode);
13747
- const hasBorder = getProsemirrorAttribute(prosemirrorNode, "hasBorder", z293.boolean().optional()) !== false;
13847
+ const hasBorder = getProsemirrorAttribute(prosemirrorNode, "hasBorder", z294.boolean().optional()) !== false;
13748
13848
  const tableChild = prosemirrorNode.content?.find((c) => c.type === "table");
13749
13849
  if (!tableChild) {
13750
13850
  return emptyTable(id, variantId, 0);
@@ -13765,7 +13865,7 @@ function parseAsTable(prosemirrorNode, definition, property) {
13765
13865
  };
13766
13866
  tableValue.value = rows.map((row) => {
13767
13867
  return {
13768
- cells: (row.content ?? []).map(parseAsTableCell).filter(nonNullFilter)
13868
+ cells: (row.content ?? []).map(parseAsTableCell).filter(nonNullFilter2)
13769
13869
  };
13770
13870
  });
13771
13871
  return {
@@ -13790,13 +13890,13 @@ function parseAsTable(prosemirrorNode, definition, property) {
13790
13890
  function parseAsTableCell(prosemirrorNode) {
13791
13891
  const id = getProsemirrorBlockId(prosemirrorNode);
13792
13892
  if (!id) return null;
13793
- const textAlign = getProsemirrorAttribute(prosemirrorNode, "textAlign", z293.string().optional());
13893
+ const textAlign = getProsemirrorAttribute(prosemirrorNode, "textAlign", z294.string().optional());
13794
13894
  let columnWidth;
13795
- const columnWidthArray = getProsemirrorAttribute(prosemirrorNode, "colwidth", z293.array(z293.number()).nullish());
13895
+ const columnWidthArray = getProsemirrorAttribute(prosemirrorNode, "colwidth", z294.array(z294.number()).nullish());
13796
13896
  if (columnWidthArray) {
13797
13897
  columnWidth = roundDimension(columnWidthArray[0]);
13798
13898
  }
13799
- const tableNodes = (prosemirrorNode.content ?? []).map(parseAsTableNode).filter(nonNullFilter);
13899
+ const tableNodes = (prosemirrorNode.content ?? []).map(parseAsTableNode).filter(nonNullFilter2);
13800
13900
  return {
13801
13901
  id,
13802
13902
  alignment: parseTableCellAlignment(textAlign),
@@ -13828,7 +13928,7 @@ function parseAsTableNode(prosemirrorNode) {
13828
13928
  value: parseRichText(prosemirrorNode.content ?? [])
13829
13929
  };
13830
13930
  case "image":
13831
- const items = getProsemirrorAttribute(prosemirrorNode, "items", z293.string());
13931
+ const items = getProsemirrorAttribute(prosemirrorNode, "items", z294.string());
13832
13932
  if (!items) return null;
13833
13933
  const parsedItems = PageBlockItemV2.array().safeParse(JSON.parse(items));
13834
13934
  if (!parsedItems.success) return null;
@@ -13942,29 +14042,29 @@ function definitionExpectsPlaceholderItem(definition) {
13942
14042
  );
13943
14043
  }
13944
14044
  function parseBlockItems(prosemirrorNode, definition) {
13945
- const itemsString = getProsemirrorAttribute(prosemirrorNode, "items", z293.string());
14045
+ const itemsString = getProsemirrorAttribute(prosemirrorNode, "items", z294.string());
13946
14046
  if (!itemsString) return null;
13947
14047
  const itemsJson = JSON.parse(itemsString);
13948
14048
  if (!Array.isArray(itemsJson)) {
13949
14049
  console.error("Block `items` property must be a json array");
13950
14050
  return null;
13951
14051
  }
13952
- return itemsJson.map((i) => parseItem(i, definition)).filter(nonNullFilter);
14052
+ return itemsJson.map((i) => parseItem(i, definition)).filter(nonNullFilter2);
13953
14053
  }
13954
14054
  function parseAppearance(prosemirrorNode) {
13955
14055
  let appearance = {};
13956
- const rawAppearanceString = getProsemirrorAttribute(prosemirrorNode, "appearance", z293.string().optional());
14056
+ const rawAppearanceString = getProsemirrorAttribute(prosemirrorNode, "appearance", z294.string().optional());
13957
14057
  if (rawAppearanceString) {
13958
14058
  const parsedAppearance = PageBlockAppearanceV2.safeParse(JSON.parse(rawAppearanceString));
13959
14059
  if (parsedAppearance.success) {
13960
14060
  appearance = parsedAppearance.data;
13961
14061
  }
13962
14062
  }
13963
- const columns = getProsemirrorAttribute(prosemirrorNode, "columns", z293.number().optional());
14063
+ const columns = getProsemirrorAttribute(prosemirrorNode, "columns", z294.number().optional());
13964
14064
  if (columns) {
13965
14065
  appearance.numberOfColumns = columns;
13966
14066
  }
13967
- const backgroundColor = getProsemirrorAttribute(prosemirrorNode, "backgroundColor", z293.string().optional());
14067
+ const backgroundColor = getProsemirrorAttribute(prosemirrorNode, "backgroundColor", z294.string().optional());
13968
14068
  if (backgroundColor) {
13969
14069
  const parsedColor = PageBlockColorV2.safeParse(JSON.parse(backgroundColor));
13970
14070
  if (parsedColor.success) {
@@ -14063,12 +14163,12 @@ function valueSchemaForPropertyType(type) {
14063
14163
  }
14064
14164
  }
14065
14165
  function getProsemirrorBlockId(prosemirrorNode) {
14066
- const id = getProsemirrorAttribute(prosemirrorNode, "id", z293.string());
14166
+ const id = getProsemirrorAttribute(prosemirrorNode, "id", z294.string());
14067
14167
  if (!id) console.warn(`Prosemirror attribute "id" on ${prosemirrorNode.type} is required`);
14068
14168
  return id;
14069
14169
  }
14070
14170
  function getProsemirrorBlockVariantId(prosemirrorNode) {
14071
- return getProsemirrorAttribute(prosemirrorNode, "variantId", nullishToOptional(z293.string()));
14171
+ return getProsemirrorAttribute(prosemirrorNode, "variantId", nullishToOptional(z294.string()));
14072
14172
  }
14073
14173
  function getProsemirrorAttribute(prosemirrorNode, attributeName, validationSchema) {
14074
14174
  const parsedAttr = validationSchema.safeParse(prosemirrorNode.attrs?.[attributeName]);
@@ -14080,7 +14180,7 @@ function getProsemirrorAttribute(prosemirrorNode, attributeName, validationSchem
14080
14180
  return void 0;
14081
14181
  }
14082
14182
  }
14083
- function nonNullFilter(item) {
14183
+ function nonNullFilter2(item) {
14084
14184
  return item !== null;
14085
14185
  }
14086
14186
  function mapByUnique2(items, keyFn) {
@@ -14627,8 +14727,12 @@ export {
14627
14727
  DTOCodeComponent,
14628
14728
  DTOCodeComponentCreateInput,
14629
14729
  DTOCodeComponentListResponse,
14730
+ DTOCodeComponentParentType,
14630
14731
  DTOCodeComponentProperty,
14732
+ DTOCodeComponentResolvedType,
14733
+ DTOCodeComponentResolvedTypeKind,
14631
14734
  DTOCodeComponentResponse,
14735
+ DTOCodeComponentUpsertResponse,
14632
14736
  DTOCodeComponentsCreateInput,
14633
14737
  DTOColorTokenInlineData,
14634
14738
  DTOCreateDocumentationGroupInput,
@@ -14689,7 +14793,7 @@ export {
14689
14793
  DTODesignTokenResponse,
14690
14794
  DTODiffCountBase,
14691
14795
  DTODocumentationAnalyticsDiffPayload,
14692
- DTODocumentationAnalyticsQueryParams,
14796
+ DTODocumentationAnalyticsRequest,
14693
14797
  DTODocumentationAnalyticsTimeFrame,
14694
14798
  DTODocumentationAnalyticsTimeFrameComparison,
14695
14799
  DTODocumentationDraftChangeType,
@@ -14893,10 +14997,13 @@ export {
14893
14997
  DTOPipelineResponse,
14894
14998
  DTOPipelineTriggerBody,
14895
14999
  DTOPipelineUpdateBody,
15000
+ DTOPubishedDocAnalyticsComparisonData,
14896
15001
  DTOPublishDocumentationChanges,
14897
15002
  DTOPublishDocumentationRequest,
14898
15003
  DTOPublishDocumentationResponse,
14899
15004
  DTOPublishedDocPageVisitData,
15005
+ DTOPublishedDocVisitData,
15006
+ DTOPublishedDocVisitHeatMapWeek,
14900
15007
  DTORenderedAssetFile,
14901
15008
  DTORestoreDocumentationGroupInput,
14902
15009
  DTORestoreDocumentationPageInput,
@@ -15024,9 +15131,12 @@ export {
15024
15131
  applyPrivacyConfigurationToNestedItems,
15025
15132
  blockToProsemirrorNode,
15026
15133
  buildDocPagePublishPaths,
15027
- calculateChangeOverTime,
15028
15134
  calculateElementParentChain,
15029
15135
  computeDocsHierarchy,
15136
+ documentationAnalyticsToComparisonDto,
15137
+ documentationAnalyticsToGlobalDto,
15138
+ documentationAnalyticsToHeatMapDto,
15139
+ documentationAnalyticsToPageDto,
15030
15140
  documentationItemConfigurationToDTOV1,
15031
15141
  documentationItemConfigurationToDTOV2,
15032
15142
  documentationPageToDTOV2,
@@ -15058,7 +15168,6 @@ export {
15058
15168
  pageToProsemirrorDoc,
15059
15169
  pageToYDoc,
15060
15170
  pageToYXmlFragment,
15061
- pageVisitsToDto,
15062
15171
  pipelineToDto,
15063
15172
  prosemirrorDocToPage,
15064
15173
  prosemirrorDocToRichTextPropertyValue,