@supernova-studio/client 1.41.2 → 1.41.3

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
@@ -9640,8 +9640,8 @@ var DTOThreadReaction = z317.object({
9640
9640
  createdAt: z317.string()
9641
9641
  });
9642
9642
  var DTOThreadMessageAttachments = z317.object({
9643
- iterationId: Id.optional()
9644
- // TODO Artem: files, etc
9643
+ iterationId: Id.optional(),
9644
+ files: DTOFileReference.array().optional()
9645
9645
  });
9646
9646
  var DTOThreadMessage = z317.object({
9647
9647
  id: Id,
@@ -9683,13 +9683,18 @@ var DTOThreadAgentResponseTracker = z317.object({
9683
9683
  id: Id,
9684
9684
  currentBody: z317.string().default("")
9685
9685
  });
9686
+ var DTOThreadMessageAttachmentsCreateInput = z317.object({
9687
+ iterationId: Id.optional(),
9688
+ fileIds: z317.string().array().optional()
9689
+ });
9686
9690
  var DTOThreadMessageCreateInput = DTOThreadMessage.pick({
9687
9691
  id: true,
9688
9692
  body: true,
9689
9693
  isPrompt: true,
9690
9694
  startsNewThread: true,
9691
- parentMessageId: true,
9692
- attachments: true
9695
+ parentMessageId: true
9696
+ }).extend({
9697
+ attachments: DTOThreadMessageAttachmentsCreateInput.optional()
9693
9698
  });
9694
9699
  var DTOThreadMessageFinalizeInput = z317.object({
9695
9700
  messageId: Id
@@ -19391,6 +19396,7 @@ export {
19391
19396
  DTOThreadMessage,
19392
19397
  DTOThreadMessageAgentSender,
19393
19398
  DTOThreadMessageAttachments,
19399
+ DTOThreadMessageAttachmentsCreateInput,
19394
19400
  DTOThreadMessageCreateInput,
19395
19401
  DTOThreadMessageFinalizeInput,
19396
19402
  DTOThreadMessageListResponse,