@supernova-studio/client 1.20.0 → 1.21.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
@@ -9097,6 +9097,10 @@ var DTOFeatureMessageReaction = z311.object({
9097
9097
  emoji: z311.string(),
9098
9098
  createdAt: z311.coerce.date()
9099
9099
  });
9100
+ var DTOFeatureMessageAttachments = z311.object({
9101
+ iterationId: Id.optional()
9102
+ // TODO Artem: files, etc
9103
+ });
9100
9104
  var DTOFeatureMessage = z311.object({
9101
9105
  id: Id,
9102
9106
  /**
@@ -9127,16 +9131,13 @@ var DTOFeatureMessage = z311.object({
9127
9131
  * If the message started a thread, this indicates the current iteration within that thread
9128
9132
  */
9129
9133
  currentIterationId: Id.optional(),
9130
- attachments: z311.object({
9131
- iterationId: z311.string().optional()
9132
- // TODO Artem: files, etc
9133
- }).optional(),
9134
+ attachments: DTOFeatureMessageAttachments.optional(),
9134
9135
  createdAt: z311.coerce.date(),
9135
9136
  updatedAt: z311.coerce.date().optional()
9136
9137
  });
9137
9138
  var DTOFeatureAgentResponseTracker = z311.object({
9138
9139
  id: Id,
9139
- currentBody: z311.string().optional()
9140
+ currentBody: z311.string().default("")
9140
9141
  });
9141
9142
  var DTOFeatureArtifact = z311.object({
9142
9143
  id: Id,
@@ -9181,7 +9182,8 @@ var DTOFeatureMessageCreateInput = DTOFeatureMessage.pick({
9181
9182
  body: true,
9182
9183
  isPrompt: true,
9183
9184
  startsNewThread: true,
9184
- parentMessageId: true
9185
+ parentMessageId: true,
9186
+ sender: true
9185
9187
  });
9186
9188
  var DTOFeatureMessageReactionCreateInput = z311.object({
9187
9189
  messageId: Id,
@@ -18165,6 +18167,7 @@ export {
18165
18167
  DTOFeatureIteration,
18166
18168
  DTOFeatureMessage,
18167
18169
  DTOFeatureMessageAgentSender,
18170
+ DTOFeatureMessageAttachments,
18168
18171
  DTOFeatureMessageCreateInput,
18169
18172
  DTOFeatureMessageListResponse,
18170
18173
  DTOFeatureMessageReaction,