@supernova-studio/client 1.61.0 → 1.63.0

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.js CHANGED
@@ -354,6 +354,8 @@ var FeaturesSummary = _zod.z.object({
354
354
  forgeActiveDocumentsPerProject: featureLimitedSchema,
355
355
  forgePrivateProjects: featureToggleSchema,
356
356
  forgeActiveProjectContexts: featureLimitedSchema,
357
+ forgeFeatureWorkspacePublishing: featureToggleSchema,
358
+ forgeFeatureHideSupernovaUI: featureToggleSchema,
357
359
  documentationPages: featureLimitedSchema,
358
360
  sandboxTemplates: featureToggleSchema
359
361
  });
@@ -4758,7 +4760,6 @@ var ProjectFeatureStatus = _zod.z.enum(["Draft", "ReadyForDevelopment"]);
4758
4760
  var FeaturePublishedStateVisibility = _zod.z.enum(["Public", "WorkspaceMembers"]);
4759
4761
  var FeaturePublishedState = _zod.z.object({
4760
4762
  userId: _zod.z.string().optional(),
4761
- userName: _zod.z.string().optional(),
4762
4763
  lastPublishedAt: _zod.z.coerce.date(),
4763
4764
  iterationId: _zod.z.string().nullable(),
4764
4765
  hideSupernovaUI: _zod.z.boolean(),
@@ -10719,10 +10720,13 @@ var DTOForgeProjectFeature = ProjectFeature;
10719
10720
  var DTOForgeProjectPublishedFeature = _zod2.default.object({
10720
10721
  featureName: _zod2.default.string(),
10721
10722
  iterationName: _zod2.default.string(),
10722
- projectId: _zod2.default.string(),
10723
10723
  hideSupernovaUI: _zod2.default.boolean(),
10724
10724
  thumbnailUrl: _zod2.default.string().optional(),
10725
- staticPreviewUrl: _zod2.default.string()
10725
+ staticPreviewUrl: _zod2.default.string(),
10726
+ // These are only included when authenticated user has access to the project (for both public & private published features)
10727
+ projectId: _zod2.default.string().optional(),
10728
+ projectName: _zod2.default.string().optional(),
10729
+ workspaceId: _zod2.default.string().optional()
10726
10730
  });
10727
10731
  var DTOForgeProjectPublishedFeatureGetResponse = _zod2.default.object({
10728
10732
  publishedFeature: DTOForgeProjectPublishedFeature
@@ -11461,14 +11465,14 @@ var DTOTrailEventProjectCreatedPayload = _zod.z.object({
11461
11465
  var DTOTrailEventFeaturePublishedPayload = _zod.z.object({
11462
11466
  featureId: _zod.z.string().uuid(),
11463
11467
  featureName: _zod.z.string(),
11464
- iterationId: _zod.z.string().uuid(),
11465
- iterationName: _zod.z.string()
11468
+ iterationId: _zod.z.string().uuid().nullish(),
11469
+ iterationName: _zod.z.string().nullish()
11466
11470
  });
11467
11471
  var DTOTrailEventFeatureUnpublishedPayload = _zod.z.object({
11468
11472
  featureId: _zod.z.string().uuid(),
11469
11473
  featureName: _zod.z.string(),
11470
- iterationId: _zod.z.string().uuid(),
11471
- iterationName: _zod.z.string()
11474
+ iterationId: _zod.z.string().uuid().nullish(),
11475
+ iterationName: _zod.z.string().nullish()
11472
11476
  });
11473
11477
  var DTOTrailEventProjectArchivedPayload = _zod.z.object({
11474
11478
  name: _zod.z.string()