@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.d.mts CHANGED
@@ -23095,61 +23095,49 @@ declare const DTODesignTokenGroupCreatePayload: z.ZodObject<{
23095
23095
  type DTODesignTokenGroupCreatePayload = z.infer<typeof DTODesignTokenGroupCreatePayload>;
23096
23096
 
23097
23097
  declare const DTOPublishedDocPageVisitData: z.ZodObject<{
23098
- id: z.ZodString;
23099
23098
  versionId: z.ZodString;
23100
23099
  pagePersistentId: z.ZodString;
23101
23100
  locale: z.ZodOptional<z.ZodString>;
23102
23101
  timestamp: z.ZodDate;
23103
23102
  visits: z.ZodNumber;
23104
- userId: z.ZodOptional<z.ZodString>;
23105
- anonymousId: z.ZodOptional<z.ZodString>;
23103
+ sessions: z.ZodNumber;
23106
23104
  }, "strip", z.ZodTypeAny, {
23107
- id: string;
23108
23105
  pagePersistentId: string;
23109
23106
  versionId: string;
23110
23107
  timestamp: Date;
23111
23108
  visits: number;
23112
- userId?: string | undefined;
23109
+ sessions: number;
23113
23110
  locale?: string | undefined;
23114
- anonymousId?: string | undefined;
23115
23111
  }, {
23116
- id: string;
23117
23112
  pagePersistentId: string;
23118
23113
  versionId: string;
23119
23114
  timestamp: Date;
23120
23115
  visits: number;
23121
- userId?: string | undefined;
23116
+ sessions: number;
23122
23117
  locale?: string | undefined;
23123
- anonymousId?: string | undefined;
23124
23118
  }>;
23125
23119
  type DTOPublishedDocPageVisitData = z.infer<typeof DTOPublishedDocPageVisitData>;
23126
23120
  declare const DTOAnalyticsDataResponse: z.ZodArray<z.ZodObject<{
23127
- id: z.ZodString;
23128
23121
  versionId: z.ZodString;
23129
23122
  pagePersistentId: z.ZodString;
23130
23123
  locale: z.ZodOptional<z.ZodString>;
23131
23124
  timestamp: z.ZodDate;
23132
23125
  visits: z.ZodNumber;
23133
- userId: z.ZodOptional<z.ZodString>;
23134
- anonymousId: z.ZodOptional<z.ZodString>;
23126
+ sessions: z.ZodNumber;
23135
23127
  }, "strip", z.ZodTypeAny, {
23136
- id: string;
23137
23128
  pagePersistentId: string;
23138
23129
  versionId: string;
23139
23130
  timestamp: Date;
23140
23131
  visits: number;
23141
- userId?: string | undefined;
23132
+ sessions: number;
23142
23133
  locale?: string | undefined;
23143
- anonymousId?: string | undefined;
23144
23134
  }, {
23145
- id: string;
23146
23135
  pagePersistentId: string;
23147
23136
  versionId: string;
23148
23137
  timestamp: Date;
23149
23138
  visits: number;
23150
- userId?: string | undefined;
23139
+ sessions: number;
23151
23140
  locale?: string | undefined;
23152
- anonymousId?: string | undefined;
23153
23141
  }>, "many">;
23154
23142
  type DTODocumentationPageAnalyticsResponse = z.infer<typeof DTOAnalyticsDataResponse>;
23155
23143
 
package/dist/index.d.ts CHANGED
@@ -23095,61 +23095,49 @@ declare const DTODesignTokenGroupCreatePayload: z.ZodObject<{
23095
23095
  type DTODesignTokenGroupCreatePayload = z.infer<typeof DTODesignTokenGroupCreatePayload>;
23096
23096
 
23097
23097
  declare const DTOPublishedDocPageVisitData: z.ZodObject<{
23098
- id: z.ZodString;
23099
23098
  versionId: z.ZodString;
23100
23099
  pagePersistentId: z.ZodString;
23101
23100
  locale: z.ZodOptional<z.ZodString>;
23102
23101
  timestamp: z.ZodDate;
23103
23102
  visits: z.ZodNumber;
23104
- userId: z.ZodOptional<z.ZodString>;
23105
- anonymousId: z.ZodOptional<z.ZodString>;
23103
+ sessions: z.ZodNumber;
23106
23104
  }, "strip", z.ZodTypeAny, {
23107
- id: string;
23108
23105
  pagePersistentId: string;
23109
23106
  versionId: string;
23110
23107
  timestamp: Date;
23111
23108
  visits: number;
23112
- userId?: string | undefined;
23109
+ sessions: number;
23113
23110
  locale?: string | undefined;
23114
- anonymousId?: string | undefined;
23115
23111
  }, {
23116
- id: string;
23117
23112
  pagePersistentId: string;
23118
23113
  versionId: string;
23119
23114
  timestamp: Date;
23120
23115
  visits: number;
23121
- userId?: string | undefined;
23116
+ sessions: number;
23122
23117
  locale?: string | undefined;
23123
- anonymousId?: string | undefined;
23124
23118
  }>;
23125
23119
  type DTOPublishedDocPageVisitData = z.infer<typeof DTOPublishedDocPageVisitData>;
23126
23120
  declare const DTOAnalyticsDataResponse: z.ZodArray<z.ZodObject<{
23127
- id: z.ZodString;
23128
23121
  versionId: z.ZodString;
23129
23122
  pagePersistentId: z.ZodString;
23130
23123
  locale: z.ZodOptional<z.ZodString>;
23131
23124
  timestamp: z.ZodDate;
23132
23125
  visits: z.ZodNumber;
23133
- userId: z.ZodOptional<z.ZodString>;
23134
- anonymousId: z.ZodOptional<z.ZodString>;
23126
+ sessions: z.ZodNumber;
23135
23127
  }, "strip", z.ZodTypeAny, {
23136
- id: string;
23137
23128
  pagePersistentId: string;
23138
23129
  versionId: string;
23139
23130
  timestamp: Date;
23140
23131
  visits: number;
23141
- userId?: string | undefined;
23132
+ sessions: number;
23142
23133
  locale?: string | undefined;
23143
- anonymousId?: string | undefined;
23144
23134
  }, {
23145
- id: string;
23146
23135
  pagePersistentId: string;
23147
23136
  versionId: string;
23148
23137
  timestamp: Date;
23149
23138
  visits: number;
23150
- userId?: string | undefined;
23139
+ sessions: number;
23151
23140
  locale?: string | undefined;
23152
- anonymousId?: string | undefined;
23153
23141
  }>, "many">;
23154
23142
  type DTODocumentationPageAnalyticsResponse = z.infer<typeof DTOAnalyticsDataResponse>;
23155
23143
 
package/dist/index.js CHANGED
@@ -4276,8 +4276,8 @@ var PublishedDocPageVisitsEntry = _zod.z.object({
4276
4276
  locale: _zod.z.string().optional(),
4277
4277
  timestamp: _zod.z.coerce.date(),
4278
4278
  visits: _zod.z.number(),
4279
- userId: _zod.z.string().optional(),
4280
- anonymousId: _zod.z.string().optional()
4279
+ userId: nullishToOptional(_zod.z.string()),
4280
+ anonymousId: nullishToOptional(_zod.z.string())
4281
4281
  });
4282
4282
  var PublishedDocPage = _zod.z.object({
4283
4283
  id: _zod.z.string(),
@@ -6507,14 +6507,12 @@ var DTODesignTokenGroupCreatePayload = _zod.z.object({
6507
6507
  // src/api/dto/documentation/analytics.ts
6508
6508
 
6509
6509
  var DTOPublishedDocPageVisitData = _zod.z.object({
6510
- id: _zod.z.string(),
6511
6510
  versionId: _zod.z.string(),
6512
6511
  pagePersistentId: _zod.z.string(),
6513
6512
  locale: _zod.z.string().optional(),
6514
6513
  timestamp: _zod.z.coerce.date(),
6515
6514
  visits: _zod.z.number(),
6516
- userId: _zod.z.string().optional(),
6517
- anonymousId: _zod.z.string().optional()
6515
+ sessions: _zod.z.number()
6518
6516
  });
6519
6517
  var DTOAnalyticsDataResponse = _zod.z.array(DTOPublishedDocPageVisitData);
6520
6518