@supernova-studio/client 1.4.17 → 1.4.19

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
@@ -4083,11 +4083,8 @@ var UserSource = z139.enum(["SignUp", "Invite", "SSO"]);
4083
4083
  var User = z139.object({
4084
4084
  id: z139.string(),
4085
4085
  email: z139.string(),
4086
- emailVerified: z139.boolean(),
4087
4086
  createdAt: z139.coerce.date(),
4088
- trialExpiresAt: z139.coerce.date().optional(),
4089
4087
  profile: UserProfile,
4090
- linkedIntegrations: UserLinkedIntegrations.optional(),
4091
4088
  loggedOutAt: z139.coerce.date().optional(),
4092
4089
  isProtected: z139.boolean(),
4093
4090
  source: UserSource.optional()
@@ -4279,8 +4276,8 @@ var PublishedDocPageVisitsEntry = z149.object({
4279
4276
  locale: z149.string().optional(),
4280
4277
  timestamp: z149.coerce.date(),
4281
4278
  visits: z149.number(),
4282
- userId: z149.string().optional(),
4283
- anonymousId: z149.string().optional()
4279
+ userId: nullishToOptional(z149.string()),
4280
+ anonymousId: nullishToOptional(z149.string())
4284
4281
  });
4285
4282
  var PublishedDocPage = z150.object({
4286
4283
  id: z150.string(),
@@ -6510,14 +6507,12 @@ var DTODesignTokenGroupCreatePayload = z228.object({
6510
6507
  // src/api/dto/documentation/analytics.ts
6511
6508
  import { z as z229 } from "zod";
6512
6509
  var DTOPublishedDocPageVisitData = z229.object({
6513
- id: z229.string(),
6514
6510
  versionId: z229.string(),
6515
6511
  pagePersistentId: z229.string(),
6516
6512
  locale: z229.string().optional(),
6517
6513
  timestamp: z229.coerce.date(),
6518
6514
  visits: z229.number(),
6519
- userId: z229.string().optional(),
6520
- anonymousId: z229.string().optional()
6515
+ sessions: z229.number()
6521
6516
  });
6522
6517
  var DTOAnalyticsDataResponse = z229.array(DTOPublishedDocPageVisitData);
6523
6518