@kl1/contracts 1.0.42 → 1.0.43

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
@@ -1108,7 +1108,7 @@ var MessageAttachmentSchema = z29.object({
1108
1108
  fileKey: z29.string(),
1109
1109
  fileName: z29.string(),
1110
1110
  fileSize: z29.number(),
1111
- url: z29.string(),
1111
+ url: z29.string().nullable(),
1112
1112
  fileType: z29.string(),
1113
1113
  thumbnailUrl: z29.string().optional()
1114
1114
  });
@@ -1122,7 +1122,7 @@ var SendMessageSchema = z29.object({
1122
1122
  message: z29.string().optional(),
1123
1123
  messageAttachments: MessageAttachmentSchema.optional(),
1124
1124
  user: UserSchema.optional(),
1125
- sticker: StickerSchema
1125
+ sticker: StickerSchema.optional()
1126
1126
  });
1127
1127
  var SolveRoomSchema = z29.object({
1128
1128
  roomId: z29.string(),
@@ -1195,7 +1195,12 @@ var SendMessageToPlatformSchema = z29.object({
1195
1195
  url: z29.string().optional(),
1196
1196
  previewUrl: z29.string().optional(),
1197
1197
  imageSetId: z29.string().optional(),
1198
- upload: UploadSchema.optional(),
1198
+ upload: z29.object({
1199
+ bucketName: z29.string(),
1200
+ fileName: z29.string(),
1201
+ fileSize: z29.number(),
1202
+ fileKey: z29.string()
1203
+ }).optional(),
1199
1204
  sender: z29.object({
1200
1205
  name: z29.string(),
1201
1206
  email: z29.string().email(),