@kl1/contracts 1.2.4-uat → 1.2.5-uat
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/api-contracts/src/chat/index.d.ts +2660 -6765
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +1951 -5080
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +19 -147
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/contract.d.ts +109 -106
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/index.d.ts +16 -16
- package/dist/api-contracts/src/instagram/index.d.ts +16 -16
- package/dist/api-contracts/src/line/index.d.ts +16 -16
- package/dist/api-contracts/src/messenger/index.d.ts +16 -16
- package/dist/api-contracts/src/ticket/index.d.ts +3 -0
- package/dist/api-contracts/src/ticket/index.d.ts.map +1 -1
- package/dist/api-contracts/src/ticket/validation.d.ts +3 -0
- package/dist/api-contracts/src/ticket/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/viber/index.d.ts +16 -16
- package/dist/api-contracts/src/webchat/index.d.ts +16 -16
- package/dist/api-contracts/src/workflow-rule/index.d.ts +10 -10
- package/dist/index.js +5 -35
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -34
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
@@ -1304,7 +1304,6 @@ var RoomSchema = DefaultEntitySchema.extend({
|
|
1304
1304
|
isBotRoom: z30.boolean(),
|
1305
1305
|
direction: MessageDirectionTypeSchema,
|
1306
1306
|
platformContact: PlatformContactSchema,
|
1307
|
-
automationQueueId: z30.string().nullable(),
|
1308
1307
|
actor: z30.object({
|
1309
1308
|
id: z30.string().uuid(),
|
1310
1309
|
createdAt: z30.date(),
|
@@ -1361,10 +1360,8 @@ var RoomSchema = DefaultEntitySchema.extend({
|
|
1361
1360
|
}),
|
1362
1361
|
channel: ChannelSchema,
|
1363
1362
|
cxlog: CxLogSchema,
|
1364
|
-
workflowRule: WorkflowRuleSchema
|
1365
|
-
|
1366
|
-
var QueueRoomSchema = RoomSchema.extend({
|
1367
|
-
automationQueueId: z30.string().uuid().optional().nullable()
|
1363
|
+
workflowRule: WorkflowRuleSchema,
|
1364
|
+
automationQueueId: z30.string().uuid().nullable()
|
1368
1365
|
});
|
1369
1366
|
var MessageSchema = DefaultEntitySchema.extend({
|
1370
1367
|
message: z30.string(),
|
@@ -1592,10 +1589,8 @@ var GetRoomsSchema = z33.object({
|
|
1592
1589
|
type: z33.string().optional(),
|
1593
1590
|
sorting: z33.string().optional().default("desc"),
|
1594
1591
|
caseId: z33.string().optional(),
|
1595
|
-
dispositions: z33.array(z33.string()).optional()
|
1596
|
-
|
1597
|
-
var GetQueueRoomsSchema = GetRoomsSchema.extend({
|
1598
|
-
automationQueueId: z33.string().uuid()
|
1592
|
+
dispositions: z33.array(z33.string()).optional(),
|
1593
|
+
automationQueueId: z33.string().uuid().optional()
|
1599
1594
|
});
|
1600
1595
|
var UpdateRoomTagsAndNotesSchema = z33.object({
|
1601
1596
|
note: z33.string().optional(),
|
@@ -2541,30 +2536,6 @@ var mainChatRoomContract = initContract7().router(
|
|
2541
2536
|
pathPrefix: "chat"
|
2542
2537
|
}
|
2543
2538
|
);
|
2544
|
-
var mainChatRoomQueueContract = initContract7().router(
|
2545
|
-
{
|
2546
|
-
getQueueRooms: {
|
2547
|
-
method: "GET",
|
2548
|
-
path: "/rooms-queue",
|
2549
|
-
responses: {
|
2550
|
-
200: DefaultSuccessResponseSchema.extend({
|
2551
|
-
total: z37.number(),
|
2552
|
-
page: z37.number(),
|
2553
|
-
pageSize: z37.number(),
|
2554
|
-
data: z37.array(QueueRoomSchema),
|
2555
|
-
unreadCountsByAssignee: z37.array(UnreadCountsByAssigneeSchema)
|
2556
|
-
}),
|
2557
|
-
401: DefaultUnauthorizedSchema
|
2558
|
-
},
|
2559
|
-
query: GetQueueRoomsSchema,
|
2560
|
-
summary: "Get rooms related with queue"
|
2561
|
-
}
|
2562
|
-
},
|
2563
|
-
{
|
2564
|
-
baseHeaders: DefaultHeaderSchema,
|
2565
|
-
pathPrefix: "chat"
|
2566
|
-
}
|
2567
|
-
);
|
2568
2539
|
var mainChatContract = initContract7().router(
|
2569
2540
|
{
|
2570
2541
|
sendMessage: {
|
@@ -5569,6 +5540,7 @@ var GetAllTicketQuerySchema = z74.object({
|
|
5569
5540
|
page: z74.string().transform((value) => Number(value)),
|
5570
5541
|
pageSize: z74.string().transform((value) => Number(value)),
|
5571
5542
|
selectedDate: z74.string(),
|
5543
|
+
ticketNumber: z74.string(),
|
5572
5544
|
keyword: z74.string(),
|
5573
5545
|
title: z74.string(),
|
5574
5546
|
description: z74.string(),
|
@@ -9450,7 +9422,6 @@ export {
|
|
9450
9422
|
mainChatContract,
|
9451
9423
|
mainChatMessageContract,
|
9452
9424
|
mainChatRoomContract,
|
9453
|
-
mainChatRoomQueueContract,
|
9454
9425
|
mainFeedContract,
|
9455
9426
|
memberSettingContract,
|
9456
9427
|
notificationContract,
|