@kl1/contracts 1.0.54 → 1.0.55

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
@@ -1526,7 +1526,7 @@ var ChannelServiceResponseSchema = DefaultSuccessResponseSchema.extend(
1526
1526
  );
1527
1527
  var ReceiveMessageSchema = z32.object({
1528
1528
  message: z32.object({
1529
- message: z32.string(),
1529
+ message: z32.string().optional(),
1530
1530
  direction: MessageDirectionTypeSchema,
1531
1531
  type: MessageTypeSchema,
1532
1532
  metadata: z32.any(),
@@ -1574,7 +1574,18 @@ var ReceiveMessageSchema = z32.object({
1574
1574
  channel: ChannelSchema2,
1575
1575
  cxlog: CxLogSchema
1576
1576
  }).partial(),
1577
- upload: UploadSchema.optional(),
1577
+ upload: z32.object({
1578
+ bucketName: z32.string().nullable(),
1579
+ fileName: z32.string().nullable(),
1580
+ fileSize: z32.number().nullable(),
1581
+ fileKey: z32.string().nullable(),
1582
+ fileUrl: z32.string().optional(),
1583
+ status: z32.string().optional(),
1584
+ id: z32.string().uuid(),
1585
+ createdAt: z32.string(),
1586
+ updatedAt: z32.string(),
1587
+ deletedAt: z32.string().nullable()
1588
+ }).optional(),
1578
1589
  actor: UserSchema.optional(),
1579
1590
  assignee: UserSchema.optional(),
1580
1591
  sender: UserSchema.optional()
@@ -1748,7 +1759,7 @@ var mainChatContract = initContract7().router(
1748
1759
  },
1749
1760
  readRoom: {
1750
1761
  method: "POST",
1751
- path: "/room/:roomid/read",
1762
+ path: "/room/read/:roomid",
1752
1763
  pathParams: z33.object({
1753
1764
  roomId: z33.string().uuid()
1754
1765
  }),
@@ -5113,7 +5124,7 @@ var ticketContract = initContract30().router(
5113
5124
  headers: DefaultHeaderSchema,
5114
5125
  responses: {
5115
5126
  201: DefaultSuccessResponseSchema.extend({
5116
- message: TicketSchema
5127
+ data: TicketSchema
5117
5128
  }),
5118
5129
  400: z78.object({
5119
5130
  message: z78.string()