@kl1/contracts 1.1.99-uat → 1.2.1-uat

Sign up to get free protection for your applications and to get access to all the features.
@@ -1693,7 +1693,7 @@ export declare const automationQueueContract: {
1693
1693
  };
1694
1694
  getAutomationQueues: {
1695
1695
  method: "GET";
1696
- pathParams: z.ZodOptional<z.ZodObject<{
1696
+ query: z.ZodOptional<z.ZodObject<{
1697
1697
  userId: z.ZodOptional<z.ZodString>;
1698
1698
  }, "strip", z.ZodTypeAny, {
1699
1699
  userId?: string | undefined;
@@ -1,7 +1,7 @@
1
1
  import z from 'zod';
2
2
  import { DefaultQueryParamsSchema } from '../base-contract';
3
3
  import { MessageRelevanceSchema, MessageSchema, MessageWithFeedPostSchema, OrderQueryParamSchema, RoomSchema } from './schema';
4
- import { ChannelSchema, GetRoomsSchema, LineStickerSchema, ReceiveMessageSchema, ReloginChanelSchema, SearchRoomsSchema, SendMessageResponseSchema, DeleteMessageToPlatformSchema, SendMessageSchema, ActionMessageSchema, SendMessageToPlatformSchema, SendMessageWithActionTypeSchema, SolveRoomSchema, UpdateAssigneeByWorkflowSchema, UpdateAssigneeSchema, UpdateRoomAttributesSchema, UpdateRoomTagsAndNotesSchema, UpdateUnAssignRoomsSchema, InitiateMessageSchema, GetQueueRoomsSchema } from './validation';
4
+ import { ChannelSchema, GetRoomsSchema, LineStickerSchema, ReceiveMessageSchema, ReloginChanelSchema, SearchRoomsSchema, SendMessageResponseSchema, DeleteMessageToPlatformSchema, SendMessageSchema, ActionMessageSchema, SendMessageToPlatformSchema, SendMessageWithActionTypeSchema, SolveRoomSchema, UpdateAssigneeByWorkflowSchema, UpdateAssigneeSchema, UpdateRoomAttributesSchema, UpdateRoomTagsAndNotesSchema, GetQueueRoomsSchema, UpdateUnAssignRoomsSchema, InitiateMessageSchema } from './validation';
5
5
  import { FeedPostSchema } from '../facebook-feed/schema';
6
6
  export type GetRoomRequest = z.infer<typeof GetRoomsSchema>;
7
7
  export type GetRoomQueueRequest = z.infer<typeof GetQueueRoomsSchema>;
@@ -81692,6 +81692,53 @@ export declare const mainChatContract: {
81692
81692
  'x-client-timezone'?: string | undefined;
81693
81693
  }>>>;
81694
81694
  };
81695
+ getUnreadCounts: {
81696
+ method: "GET";
81697
+ responses: {
81698
+ 200: z.ZodObject<{
81699
+ requestId: z.ZodString;
81700
+ unreadCountsByAssignee: z.ZodArray<z.ZodObject<{
81701
+ assigneeId: z.ZodString;
81702
+ totalUnreadCount: z.ZodNumber;
81703
+ }, "strip", z.ZodTypeAny, {
81704
+ assigneeId: string;
81705
+ totalUnreadCount: number;
81706
+ }, {
81707
+ assigneeId: string;
81708
+ totalUnreadCount: number;
81709
+ }>, "many">;
81710
+ }, "strip", z.ZodTypeAny, {
81711
+ requestId: string;
81712
+ unreadCountsByAssignee: {
81713
+ assigneeId: string;
81714
+ totalUnreadCount: number;
81715
+ }[];
81716
+ }, {
81717
+ requestId: string;
81718
+ unreadCountsByAssignee: {
81719
+ assigneeId: string;
81720
+ totalUnreadCount: number;
81721
+ }[];
81722
+ }>;
81723
+ };
81724
+ path: "chat/rooms/unread-count";
81725
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
81726
+ 'x-tenant': z.ZodString;
81727
+ authorization: z.ZodString;
81728
+ 'x-code': z.ZodOptional<z.ZodString>;
81729
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
81730
+ }, "strip", z.ZodTypeAny, {
81731
+ 'x-tenant': string;
81732
+ authorization: string;
81733
+ 'x-client-timezone': string;
81734
+ 'x-code'?: string | undefined;
81735
+ }, {
81736
+ 'x-tenant': string;
81737
+ authorization: string;
81738
+ 'x-code'?: string | undefined;
81739
+ 'x-client-timezone'?: string | undefined;
81740
+ }>>>;
81741
+ };
81695
81742
  getRoomsByPlatformContactId: {
81696
81743
  method: "GET";
81697
81744
  pathParams: z.ZodObject<{