@kl1/contracts 1.1.99-uat → 1.2.1-uat
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/api-contracts/src/automation-queue/index.d.ts +1 -1
- package/dist/api-contracts/src/chat/index.d.ts +48 -1
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/contract.d.ts +57 -3
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/index.d.ts +3 -3
- package/dist/api-contracts/src/telephony-cdr/schema.d.ts +3 -3
- package/dist/api-contracts/src/workflow-rule/index.d.ts +54 -0
- package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
- package/dist/index.js +26 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +26 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1693,7 +1693,7 @@ export declare const automationQueueContract: {
|
|
|
1693
1693
|
};
|
|
1694
1694
|
getAutomationQueues: {
|
|
1695
1695
|
method: "GET";
|
|
1696
|
-
|
|
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
|
|
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<{
|