@supernova-studio/client 1.4.13 → 1.4.15
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.d.mts +53 -359
- package/dist/index.d.ts +53 -359
- package/dist/index.js +14 -60
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +15 -61
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -4276,7 +4276,9 @@ var PublishedDocPageVisitsEntry = z149.object({
|
|
|
4276
4276
|
pagePersistentId: z149.string(),
|
|
4277
4277
|
locale: z149.string().optional(),
|
|
4278
4278
|
timestamp: z149.coerce.date(),
|
|
4279
|
-
visits: z149.number()
|
|
4279
|
+
visits: z149.number(),
|
|
4280
|
+
userId: z149.string().optional(),
|
|
4281
|
+
anonymousId: z149.string().optional()
|
|
4280
4282
|
});
|
|
4281
4283
|
var PublishedDocPage = z150.object({
|
|
4282
4284
|
id: z150.string(),
|
|
@@ -6503,58 +6505,17 @@ var DTODesignTokenGroupCreatePayload = z228.object({
|
|
|
6503
6505
|
|
|
6504
6506
|
// src/api/dto/documentation/analytics.ts
|
|
6505
6507
|
import { z as z229 } from "zod";
|
|
6506
|
-
var
|
|
6507
|
-
|
|
6508
|
-
|
|
6509
|
-
|
|
6510
|
-
|
|
6511
|
-
|
|
6512
|
-
|
|
6513
|
-
|
|
6514
|
-
|
|
6515
|
-
|
|
6516
|
-
|
|
6517
|
-
"4 am",
|
|
6518
|
-
"5 am",
|
|
6519
|
-
"6 am",
|
|
6520
|
-
"7 am",
|
|
6521
|
-
"8 am",
|
|
6522
|
-
"9 am",
|
|
6523
|
-
"10 am",
|
|
6524
|
-
"11 am",
|
|
6525
|
-
"12 pm",
|
|
6526
|
-
"1 pm",
|
|
6527
|
-
"2 pm",
|
|
6528
|
-
"3 pm",
|
|
6529
|
-
"4 pm",
|
|
6530
|
-
"5 pm",
|
|
6531
|
-
"6 pm",
|
|
6532
|
-
"7 pm",
|
|
6533
|
-
"8 pm",
|
|
6534
|
-
"9 pm",
|
|
6535
|
-
"10 pm",
|
|
6536
|
-
"11 pm"
|
|
6537
|
-
]);
|
|
6538
|
-
var DTODay = z229.enum(["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"]);
|
|
6539
|
-
var DTOAnalyticsHeatmapDataEntry = z229.object({
|
|
6540
|
-
x: DTODay,
|
|
6541
|
-
y: z229.number()
|
|
6542
|
-
// number of visits (or other metric)
|
|
6543
|
-
});
|
|
6544
|
-
var DTOAnalyticsHeatmapData = z229.object({
|
|
6545
|
-
id: DTOHour,
|
|
6546
|
-
data: z229.array(DTOAnalyticsHeatmapDataEntry)
|
|
6547
|
-
});
|
|
6548
|
-
var DTOAnalyticsData = z229.object({
|
|
6549
|
-
views: DTOAnalyticsViewsData,
|
|
6550
|
-
heatmap: z229.array(DTOAnalyticsHeatmapData)
|
|
6551
|
-
});
|
|
6552
|
-
var DTOAnalyticsPerPageData = z229.record(z229.string(), DTOAnalyticsData);
|
|
6553
|
-
var DTOAnalyticsDataResponse = z229.object({
|
|
6554
|
-
versionViews: DTOAnalyticsViewsData,
|
|
6555
|
-
heatmap: z229.array(DTOAnalyticsHeatmapData),
|
|
6556
|
-
pages: DTOAnalyticsPerPageData
|
|
6557
|
-
});
|
|
6508
|
+
var DTOPublishedDocPageVisitData = z229.object({
|
|
6509
|
+
id: z229.string(),
|
|
6510
|
+
versionId: z229.string(),
|
|
6511
|
+
pagePersistentId: z229.string(),
|
|
6512
|
+
locale: z229.string().optional(),
|
|
6513
|
+
timestamp: z229.coerce.date(),
|
|
6514
|
+
visits: z229.number(),
|
|
6515
|
+
userId: z229.string().optional(),
|
|
6516
|
+
anonymousId: z229.string().optional()
|
|
6517
|
+
});
|
|
6518
|
+
var DTOAnalyticsDataResponse = z229.array(DTOPublishedDocPageVisitData);
|
|
6558
6519
|
|
|
6559
6520
|
// src/api/dto/documentation/anchor.ts
|
|
6560
6521
|
import { z as z230 } from "zod";
|
|
@@ -14337,13 +14298,7 @@ export {
|
|
|
14337
14298
|
CodeComponentsEndpoint,
|
|
14338
14299
|
CodegenEndpoint,
|
|
14339
14300
|
Collection2 as Collection,
|
|
14340
|
-
DTOAnalyticsData,
|
|
14341
14301
|
DTOAnalyticsDataResponse,
|
|
14342
|
-
DTOAnalyticsHeatmapData,
|
|
14343
|
-
DTOAnalyticsHeatmapDataEntry,
|
|
14344
|
-
DTOAnalyticsPerPageData,
|
|
14345
|
-
DTOAnalyticsViewsData,
|
|
14346
|
-
DTOAnalyticsViewsDataPoint,
|
|
14347
14302
|
DTOAppBootstrapDataQuery,
|
|
14348
14303
|
DTOAppBootstrapDataResponse,
|
|
14349
14304
|
DTOAssetRenderConfiguration,
|
|
@@ -14380,7 +14335,6 @@ export {
|
|
|
14380
14335
|
DTODataSourceResponse,
|
|
14381
14336
|
DTODataSourceTokenStudio,
|
|
14382
14337
|
DTODataSourcesListResponse,
|
|
14383
|
-
DTODay,
|
|
14384
14338
|
DTODeleteDocumentationGroupInput,
|
|
14385
14339
|
DTODeleteDocumentationPageInputV2,
|
|
14386
14340
|
DTODeleteDocumentationTabGroupInput,
|
|
@@ -14583,7 +14537,6 @@ export {
|
|
|
14583
14537
|
DTOGitOrganization,
|
|
14584
14538
|
DTOGitProject,
|
|
14585
14539
|
DTOGitRepository,
|
|
14586
|
-
DTOHour,
|
|
14587
14540
|
DTOImportJob,
|
|
14588
14541
|
DTOImportJobResponse,
|
|
14589
14542
|
DTOIntegration,
|
|
@@ -14623,6 +14576,7 @@ export {
|
|
|
14623
14576
|
DTOPublishDocumentationChanges,
|
|
14624
14577
|
DTOPublishDocumentationRequest,
|
|
14625
14578
|
DTOPublishDocumentationResponse,
|
|
14579
|
+
DTOPublishedDocPageVisitData,
|
|
14626
14580
|
DTORenderedAssetFile,
|
|
14627
14581
|
DTORestoreDocumentationGroupInput,
|
|
14628
14582
|
DTORestoreDocumentationPageInput,
|