@supernova-studio/client 1.4.18 → 1.4.20

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
@@ -4276,8 +4276,8 @@ var PublishedDocPageVisitsEntry = z149.object({
4276
4276
  locale: z149.string().optional(),
4277
4277
  timestamp: z149.coerce.date(),
4278
4278
  visits: z149.number(),
4279
- userId: z149.string().optional(),
4280
- anonymousId: z149.string().optional()
4279
+ userId: nullishToOptional(z149.string()),
4280
+ anonymousId: nullishToOptional(z149.string())
4281
4281
  });
4282
4282
  var PublishedDocPage = z150.object({
4283
4283
  id: z150.string(),
@@ -6507,14 +6507,12 @@ var DTODesignTokenGroupCreatePayload = z228.object({
6507
6507
  // src/api/dto/documentation/analytics.ts
6508
6508
  import { z as z229 } from "zod";
6509
6509
  var DTOPublishedDocPageVisitData = z229.object({
6510
- id: z229.string(),
6511
6510
  versionId: z229.string(),
6512
6511
  pagePersistentId: z229.string(),
6513
6512
  locale: z229.string().optional(),
6514
6513
  timestamp: z229.coerce.date(),
6515
6514
  visits: z229.number(),
6516
- userId: z229.string().optional(),
6517
- anonymousId: z229.string().optional()
6515
+ sessions: z229.number()
6518
6516
  });
6519
6517
  var DTOAnalyticsDataResponse = z229.array(DTOPublishedDocPageVisitData);
6520
6518