@supernova-studio/client 1.57.0 → 1.58.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.mjs CHANGED
@@ -4759,7 +4759,7 @@ var FeaturePublishedState = z151.object({
4759
4759
  userId: z151.string().optional(),
4760
4760
  userName: z151.string().optional(),
4761
4761
  lastPublishedAt: z151.coerce.date(),
4762
- iterationId: z151.string().optional(),
4762
+ iterationId: z151.string().nullable(),
4763
4763
  hideSupernovaUI: z151.boolean(),
4764
4764
  visibility: FeaturePublishedStateVisibility.default("Public")
4765
4765
  });
@@ -11376,7 +11376,9 @@ var DTOTrailEventType = z347.enum([
11376
11376
  "ProjectArchived",
11377
11377
  "IterationPromoted",
11378
11378
  "ProjectContextCreated",
11379
- "ProjectContextArchived"
11379
+ "ProjectContextArchived",
11380
+ "FeaturePublished",
11381
+ "FeatureUnpublished"
11380
11382
  ]);
11381
11383
  var DTOTrailEventBase = z347.object({
11382
11384
  id: z347.string(),
@@ -11436,6 +11438,18 @@ var DTOTrailEventProjectCreatedPayload = z347.object({
11436
11438
  name: z347.string(),
11437
11439
  description: z347.string().optional()
11438
11440
  });
11441
+ var DTOTrailEventFeaturePublishedPayload = z347.object({
11442
+ featureId: z347.string().uuid(),
11443
+ featureName: z347.string(),
11444
+ iterationId: z347.string().uuid(),
11445
+ iterationName: z347.string()
11446
+ });
11447
+ var DTOTrailEventFeatureUnpublishedPayload = z347.object({
11448
+ featureId: z347.string().uuid(),
11449
+ featureName: z347.string(),
11450
+ iterationId: z347.string().uuid(),
11451
+ iterationName: z347.string()
11452
+ });
11439
11453
  var DTOTrailEventProjectArchivedPayload = z347.object({
11440
11454
  name: z347.string()
11441
11455
  });
@@ -11461,7 +11475,9 @@ var DTOTrailEventPayload = z347.discriminatedUnion("type", [
11461
11475
  z347.object({ type: z347.literal("ProjectArchived"), payload: DTOTrailEventProjectArchivedPayload }),
11462
11476
  z347.object({ type: z347.literal("IterationPromoted"), payload: DTOTrailEventIterationPromotedPayload }),
11463
11477
  z347.object({ type: z347.literal("ProjectContextCreated"), payload: DTOTrailEventProjectContextCreatedPayload }),
11464
- z347.object({ type: z347.literal("ProjectContextArchived"), payload: DTOTrailEventProjectContextArchivedPayload })
11478
+ z347.object({ type: z347.literal("ProjectContextArchived"), payload: DTOTrailEventProjectContextArchivedPayload }),
11479
+ z347.object({ type: z347.literal("FeaturePublished"), payload: DTOTrailEventFeaturePublishedPayload }),
11480
+ z347.object({ type: z347.literal("FeatureUnpublished"), payload: DTOTrailEventFeatureUnpublishedPayload })
11465
11481
  ]);
11466
11482
  var DTOTrailEvent = DTOTrailEventPayload.and(DTOTrailEventBase);
11467
11483
  var DTOTrailEventWithDetails = DTOTrailEvent.and(