@supernova-studio/client 1.22.1 → 1.23.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
@@ -9101,7 +9101,7 @@ var DTOFeatureMessageReaction = z312.object({
9101
9101
  messageId: Id,
9102
9102
  userId: z312.string(),
9103
9103
  emoji: z312.string(),
9104
- createdAt: z312.coerce.date()
9104
+ createdAt: z312.string()
9105
9105
  });
9106
9106
  var DTOFeatureMessageAttachments = z312.object({
9107
9107
  iterationId: Id.optional()
@@ -9118,7 +9118,8 @@ var DTOFeatureMessage = z312.object({
9118
9118
  */
9119
9119
  body: z312.string(),
9120
9120
  /**
9121
- * Indicates if the message was sent in the agentic mode,
9121
+ * Indicates if the message was sent in the agentic mode, if so this message will cause an
9122
+ * AI agent to generate a response and perform an action within the feature
9122
9123
  */
9123
9124
  isPrompt: z312.boolean().optional(),
9124
9125
  /**
@@ -9138,8 +9139,8 @@ var DTOFeatureMessage = z312.object({
9138
9139
  */
9139
9140
  currentIterationId: Id.optional(),
9140
9141
  attachments: DTOFeatureMessageAttachments.optional(),
9141
- createdAt: z312.coerce.date(),
9142
- updatedAt: z312.coerce.date().optional()
9142
+ createdAt: z312.string(),
9143
+ updatedAt: z312.string().optional()
9143
9144
  });
9144
9145
  var DTOFeatureAgentResponseTracker = z312.object({
9145
9146
  id: Id,
@@ -9159,8 +9160,8 @@ var DTOFeatureArtifact = z312.object({
9159
9160
  * URL of the feature artifact's contents
9160
9161
  */
9161
9162
  url: z312.string(),
9162
- createdAt: z312.coerce.date(),
9163
- updatedAt: z312.coerce.date()
9163
+ createdAt: z312.string(),
9164
+ updatedAt: z312.string()
9164
9165
  });
9165
9166
  var DTOFeatureIteration = z312.object({
9166
9167
  id: Id,
@@ -9184,8 +9185,8 @@ var DTOFeatureIteration = z312.object({
9184
9185
  * URL of a static preview of the feature
9185
9186
  */
9186
9187
  staticPreviewUrl: z312.string().optional(),
9187
- createdAt: z312.coerce.date(),
9188
- updatedAt: z312.coerce.date().optional()
9188
+ createdAt: z312.string(),
9189
+ updatedAt: z312.string().optional()
9189
9190
  });
9190
9191
  var DTOFeatureMessageCreateInput = DTOFeatureMessage.pick({
9191
9192
  id: true,
@@ -9216,6 +9217,9 @@ var DTOFeatureIterationCreateInput = DTOFeatureIteration.pick({
9216
9217
  artifactIds: true,
9217
9218
  startedFromMessageId: true
9218
9219
  });
9220
+ var DTOFeatureIterationPromoteInput = z312.object({
9221
+ id: Id
9222
+ });
9219
9223
  var DTOFeatureMessageResponse = z312.object({
9220
9224
  message: DTOFeatureMessage
9221
9225
  });
@@ -18245,6 +18249,7 @@ export {
18245
18249
  DTOFeatureIteration,
18246
18250
  DTOFeatureIterationCreateInput,
18247
18251
  DTOFeatureIterationListResponse,
18252
+ DTOFeatureIterationPromoteInput,
18248
18253
  DTOFeatureIterationResponse,
18249
18254
  DTOFeatureMessage,
18250
18255
  DTOFeatureMessageAgentSender,