@kl1/contracts 1.2.71-uat → 1.2.73-uat
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/api-contracts/src/automation-queue/index.d.ts +7 -7
- package/dist/api-contracts/src/automation-queue/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/index.d.ts +19 -19
- package/dist/api-contracts/src/company/index.d.ts +5 -5
- package/dist/api-contracts/src/contract.d.ts +26 -20
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/index.d.ts +19 -13
- package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/schema.d.ts +3 -3
- package/dist/api-contracts/src/dashboard/validation.d.ts +1 -1
- package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/hold-label/index.d.ts +10 -10
- package/dist/api-contracts/src/workflow-rule/index.d.ts +4 -4
- package/dist/index.js +33 -25
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +33 -25
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
@@ -1,4 +1,4 @@
|
|
1
|
-
import { CallCountsQuerySchema, GetDashboardInOutQueryParamsSchema, GetDashboardQueryDetailParamsSchema, GetDashboardQueryParamsSchema, GetMessageChannelQueryParamsSchema,
|
1
|
+
import { CallCountsQuerySchema, GetDashboardInOutQueryParamsSchema, GetDashboardQueryDetailParamsSchema, GetDashboardQueryParamsSchema, GetMessageChannelQueryParamsSchema, DashboardQueryParamsSchema } from './validation';
|
2
2
|
import z from 'zod';
|
3
3
|
import { DashboardDataSchema, ExpiredTicketSchema, TicketCountByStatusSchema, MessageCountsByChannelObjSchema, queueCallDashboardDataSchema, queueLiveCallCountListSchema, TagCountObjSchema, CallEndResultSchema, ConversationCountStatusSchema, MessageStatusSchema, MessageAverageSchema, ChannelIncomingMessageSchema, MessageDispositionSchema, MessageIncomingDataSchema, MessageTotalIncomingDataSchema, TelephonyQueueCallCountListSchema, TotalTelephonyQueueCallCountListSchema, TelephonyQueueCallCountListByQueueNumberSchema, TotalQueueLiveCallStatusSchema, QueueLiveCallListByQueueSchema, DashboardDataWithCallSchema, ReceivedTicketCountDataSchema, ResolvedTicketCountDataSchema, TagCountSchema, AgentMessageStatisticsSchema, UserCheckInLogSchema, UserCheckInLogsWithDaySchema } from './schema';
|
4
4
|
export type DashBoardData = z.infer<typeof DashboardDataSchema>;
|
@@ -33,7 +33,7 @@ export type GetDashboardRequest = z.infer<typeof GetDashboardQueryParamsSchema>;
|
|
33
33
|
export type GetDashboardInOutQuery = z.infer<typeof GetDashboardInOutQueryParamsSchema>;
|
34
34
|
export type GetDashboardDetailRequest = z.infer<typeof GetDashboardQueryDetailParamsSchema>;
|
35
35
|
export type MessageChannelQuery = z.infer<typeof GetMessageChannelQueryParamsSchema>;
|
36
|
-
export type DashboardQueryparamsType = z.infer<typeof
|
36
|
+
export type DashboardQueryparamsType = z.infer<typeof DashboardQueryParamsSchema>;
|
37
37
|
export type CallCountsQuery = z.infer<typeof CallCountsQuerySchema>;
|
38
38
|
export declare const dashboardContract: {
|
39
39
|
getDashboardData: {
|
@@ -1166,17 +1166,17 @@ export declare const dashboardContract: {
|
|
1166
1166
|
summary: "Get message tag data";
|
1167
1167
|
method: "GET";
|
1168
1168
|
query: z.ZodObject<{
|
1169
|
+
automationQueueId: z.ZodOptional<z.ZodString>;
|
1169
1170
|
selectedDate: z.ZodString;
|
1170
1171
|
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
1171
|
-
agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
1172
1172
|
}, "strip", z.ZodTypeAny, {
|
1173
1173
|
selectedDate: string;
|
1174
|
+
automationQueueId?: string | undefined;
|
1174
1175
|
channelIds?: string[] | undefined;
|
1175
|
-
agentIds?: string[] | undefined;
|
1176
1176
|
}, {
|
1177
1177
|
selectedDate: string;
|
1178
|
+
automationQueueId?: string | undefined;
|
1178
1179
|
channelIds?: string[] | undefined;
|
1179
|
-
agentIds?: string[] | undefined;
|
1180
1180
|
}>;
|
1181
1181
|
responses: {
|
1182
1182
|
200: z.ZodObject<{
|
@@ -1784,17 +1784,17 @@ export declare const dashboardContract: {
|
|
1784
1784
|
summary: "Get message room status disposition data";
|
1785
1785
|
method: "GET";
|
1786
1786
|
query: z.ZodObject<{
|
1787
|
+
automationQueueId: z.ZodOptional<z.ZodString>;
|
1787
1788
|
selectedDate: z.ZodString;
|
1788
1789
|
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
1789
|
-
agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
1790
1790
|
}, "strip", z.ZodTypeAny, {
|
1791
1791
|
selectedDate: string;
|
1792
|
+
automationQueueId?: string | undefined;
|
1792
1793
|
channelIds?: string[] | undefined;
|
1793
|
-
agentIds?: string[] | undefined;
|
1794
1794
|
}, {
|
1795
1795
|
selectedDate: string;
|
1796
|
+
automationQueueId?: string | undefined;
|
1796
1797
|
channelIds?: string[] | undefined;
|
1797
|
-
agentIds?: string[] | undefined;
|
1798
1798
|
}>;
|
1799
1799
|
responses: {
|
1800
1800
|
200: z.ZodObject<{
|
@@ -2280,7 +2280,7 @@ export declare const dashboardContract: {
|
|
2280
2280
|
agentMessageStatistics: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
2281
2281
|
id: z.ZodString;
|
2282
2282
|
name: z.ZodString;
|
2283
|
-
|
2283
|
+
assignedRoomCount: z.ZodNumber;
|
2284
2284
|
holdRoomCount: z.ZodNumber;
|
2285
2285
|
closedRoomCount: z.ZodNumber;
|
2286
2286
|
averageFirstResponseTime: z.ZodString;
|
@@ -2290,8 +2290,8 @@ export declare const dashboardContract: {
|
|
2290
2290
|
name: string;
|
2291
2291
|
id: string;
|
2292
2292
|
closedRoomCount: number;
|
2293
|
+
assignedRoomCount: number;
|
2293
2294
|
holdRoomCount: number;
|
2294
|
-
openedRoomCount: number;
|
2295
2295
|
averageFirstResponseTime: string;
|
2296
2296
|
averageResolutionTime: string;
|
2297
2297
|
totalHandledTime: string;
|
@@ -2299,8 +2299,8 @@ export declare const dashboardContract: {
|
|
2299
2299
|
name: string;
|
2300
2300
|
id: string;
|
2301
2301
|
closedRoomCount: number;
|
2302
|
+
assignedRoomCount: number;
|
2302
2303
|
holdRoomCount: number;
|
2303
|
-
openedRoomCount: number;
|
2304
2304
|
averageFirstResponseTime: string;
|
2305
2305
|
averageResolutionTime: string;
|
2306
2306
|
totalHandledTime: string;
|
@@ -2313,8 +2313,8 @@ export declare const dashboardContract: {
|
|
2313
2313
|
name: string;
|
2314
2314
|
id: string;
|
2315
2315
|
closedRoomCount: number;
|
2316
|
+
assignedRoomCount: number;
|
2316
2317
|
holdRoomCount: number;
|
2317
|
-
openedRoomCount: number;
|
2318
2318
|
averageFirstResponseTime: string;
|
2319
2319
|
averageResolutionTime: string;
|
2320
2320
|
totalHandledTime: string;
|
@@ -2327,8 +2327,8 @@ export declare const dashboardContract: {
|
|
2327
2327
|
name: string;
|
2328
2328
|
id: string;
|
2329
2329
|
closedRoomCount: number;
|
2330
|
+
assignedRoomCount: number;
|
2330
2331
|
holdRoomCount: number;
|
2331
|
-
openedRoomCount: number;
|
2332
2332
|
averageFirstResponseTime: string;
|
2333
2333
|
averageResolutionTime: string;
|
2334
2334
|
totalHandledTime: string;
|
@@ -2341,16 +2341,19 @@ export declare const dashboardContract: {
|
|
2341
2341
|
method: "GET";
|
2342
2342
|
query: z.ZodObject<{
|
2343
2343
|
automationQueueId: z.ZodOptional<z.ZodString>;
|
2344
|
+
keyword: z.ZodOptional<z.ZodString>;
|
2344
2345
|
page: z.ZodNumber;
|
2345
2346
|
pageSize: z.ZodNumber;
|
2346
2347
|
}, "strip", z.ZodTypeAny, {
|
2347
2348
|
page: number;
|
2348
2349
|
pageSize: number;
|
2349
2350
|
automationQueueId?: string | undefined;
|
2351
|
+
keyword?: string | undefined;
|
2350
2352
|
}, {
|
2351
2353
|
page: number;
|
2352
2354
|
pageSize: number;
|
2353
2355
|
automationQueueId?: string | undefined;
|
2356
|
+
keyword?: string | undefined;
|
2354
2357
|
}>;
|
2355
2358
|
responses: {
|
2356
2359
|
200: z.ZodObject<{
|
@@ -2451,14 +2454,17 @@ export declare const dashboardContract: {
|
|
2451
2454
|
getRoomStatusCountsByUserId: {
|
2452
2455
|
method: "GET";
|
2453
2456
|
query: z.ZodObject<{
|
2457
|
+
automationQueueId: z.ZodOptional<z.ZodString>;
|
2454
2458
|
userId: z.ZodString;
|
2455
2459
|
selectedDate: z.ZodString;
|
2456
2460
|
}, "strip", z.ZodTypeAny, {
|
2457
2461
|
userId: string;
|
2458
2462
|
selectedDate: string;
|
2463
|
+
automationQueueId?: string | undefined;
|
2459
2464
|
}, {
|
2460
2465
|
userId: string;
|
2461
2466
|
selectedDate: string;
|
2467
|
+
automationQueueId?: string | undefined;
|
2462
2468
|
}>;
|
2463
2469
|
responses: {
|
2464
2470
|
200: z.ZodObject<{
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/dashboard/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,qBAAqB,EACrB,kCAAkC,EAClC,mCAAmC,EACnC,6BAA6B,EAC7B,kCAAkC,EAClC,0BAA0B,EAE3B,MAAM,cAAc,CAAC;AACtB,OAAO,CAAC,MAAM,KAAK,CAAC;AAMpB,OAAO,EACL,mBAAmB,EACnB,mBAAmB,EACnB,yBAAyB,EACzB,+BAA+B,EAC/B,4BAA4B,EAC5B,4BAA4B,EAC5B,iBAAiB,EACjB,mBAAmB,EACnB,6BAA6B,EAC7B,mBAAmB,EACnB,oBAAoB,EACpB,4BAA4B,EAC5B,wBAAwB,EACxB,yBAAyB,EACzB,8BAA8B,EAC9B,iCAAiC,EACjC,sCAAsC,EACtC,8CAA8C,EAC9C,8BAA8B,EAC9B,8BAA8B,EAC9B,2BAA2B,EAC3B,6BAA6B,EAC7B,6BAA6B,EAC7B,cAAc,EAGd,4BAA4B,EAC5B,oBAAoB,EACpB,4BAA4B,E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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+X7B,CAAC"}
|
@@ -1089,7 +1089,7 @@ export declare const MessageQueueDataSchema: z.ZodObject<{
|
|
1089
1089
|
export declare const AgentMessageStatisticsSchema: z.ZodObject<{
|
1090
1090
|
id: z.ZodString;
|
1091
1091
|
name: z.ZodString;
|
1092
|
-
|
1092
|
+
assignedRoomCount: z.ZodNumber;
|
1093
1093
|
holdRoomCount: z.ZodNumber;
|
1094
1094
|
closedRoomCount: z.ZodNumber;
|
1095
1095
|
averageFirstResponseTime: z.ZodString;
|
@@ -1099,8 +1099,8 @@ export declare const AgentMessageStatisticsSchema: z.ZodObject<{
|
|
1099
1099
|
name: string;
|
1100
1100
|
id: string;
|
1101
1101
|
closedRoomCount: number;
|
1102
|
+
assignedRoomCount: number;
|
1102
1103
|
holdRoomCount: number;
|
1103
|
-
openedRoomCount: number;
|
1104
1104
|
averageFirstResponseTime: string;
|
1105
1105
|
averageResolutionTime: string;
|
1106
1106
|
totalHandledTime: string;
|
@@ -1108,8 +1108,8 @@ export declare const AgentMessageStatisticsSchema: z.ZodObject<{
|
|
1108
1108
|
name: string;
|
1109
1109
|
id: string;
|
1110
1110
|
closedRoomCount: number;
|
1111
|
+
assignedRoomCount: number;
|
1111
1112
|
holdRoomCount: number;
|
1112
|
-
openedRoomCount: number;
|
1113
1113
|
averageFirstResponseTime: string;
|
1114
1114
|
averageResolutionTime: string;
|
1115
1115
|
totalHandledTime: string;
|
@@ -22,7 +22,7 @@ export declare const GetMessageChannelQueryParamsSchema: z.ZodObject<{
|
|
22
22
|
selectedDate: string;
|
23
23
|
channelIds?: string[] | undefined;
|
24
24
|
}>;
|
25
|
-
export declare const
|
25
|
+
export declare const DashboardQueryParamsSchema: z.ZodObject<{
|
26
26
|
selectedDate: z.ZodString;
|
27
27
|
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
28
28
|
agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../../src/dashboard/validation.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,eAAO,MAAM,6BAA6B;;;;;;;;;EAGxC,CAAC;AAEH,eAAO,MAAM,kCAAkC;;;;;;;;;;;;EAI3C,CAAC;AACL,eAAO,MAAM,0BAA0B;;;;;;;;;;;;
|
1
|
+
{"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../../src/dashboard/validation.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,eAAO,MAAM,6BAA6B;;;;;;;;;EAGxC,CAAC;AAEH,eAAO,MAAM,kCAAkC;;;;;;;;;;;;EAI3C,CAAC;AACL,eAAO,MAAM,0BAA0B;;;;;;;;;;;;EAGrC,CAAC;AAEH,eAAO,MAAM,mCAAmC;;;;;;;;;;;;GAKlC,CAAC;AAEf,eAAO,MAAM,kCAAkC;;;;;;;;;;;;EAK5C,CAAC;AAEJ,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;EAKhC,CAAC;AAEH,eAAO,MAAM,kCAAkC;;;;;;;;;;;;EAI7C,CAAC"}
|
@@ -67,7 +67,7 @@ export declare const holdLabelContract: {
|
|
67
67
|
};
|
68
68
|
}>;
|
69
69
|
};
|
70
|
-
path: "hold-label/";
|
70
|
+
path: "ms/hold-label/";
|
71
71
|
};
|
72
72
|
getHoldLabels: {
|
73
73
|
method: "GET";
|
@@ -123,7 +123,7 @@ export declare const holdLabelContract: {
|
|
123
123
|
}[];
|
124
124
|
}>;
|
125
125
|
};
|
126
|
-
path: "hold-label/";
|
126
|
+
path: "ms/hold-label/";
|
127
127
|
};
|
128
128
|
updateHoldLabelPosition: {
|
129
129
|
body: z.ZodObject<{
|
@@ -201,7 +201,7 @@ export declare const holdLabelContract: {
|
|
201
201
|
};
|
202
202
|
}>;
|
203
203
|
};
|
204
|
-
path: "hold-label/position";
|
204
|
+
path: "ms/hold-label/position";
|
205
205
|
};
|
206
206
|
updateHoldLabel: {
|
207
207
|
body: z.ZodObject<{
|
@@ -271,7 +271,7 @@ export declare const holdLabelContract: {
|
|
271
271
|
};
|
272
272
|
}>;
|
273
273
|
};
|
274
|
-
path: "hold-label/:id";
|
274
|
+
path: "ms/hold-label/:id";
|
275
275
|
};
|
276
276
|
deleteHoldLabel: {
|
277
277
|
body: null;
|
@@ -292,7 +292,7 @@ export declare const holdLabelContract: {
|
|
292
292
|
requestId: string;
|
293
293
|
}>;
|
294
294
|
};
|
295
|
-
path: "hold-label/:id";
|
295
|
+
path: "ms/hold-label/:id";
|
296
296
|
};
|
297
297
|
getAutoUnhold: {
|
298
298
|
method: "GET";
|
@@ -308,7 +308,7 @@ export declare const holdLabelContract: {
|
|
308
308
|
autoUnhold: boolean;
|
309
309
|
}>;
|
310
310
|
};
|
311
|
-
path: "hold-label/auto-unhold";
|
311
|
+
path: "ms/hold-label/auto-unhold";
|
312
312
|
};
|
313
313
|
updateAutoUnhold: {
|
314
314
|
body: z.ZodObject<{
|
@@ -331,7 +331,7 @@ export declare const holdLabelContract: {
|
|
331
331
|
autoUnhold: boolean;
|
332
332
|
}>;
|
333
333
|
};
|
334
|
-
path: "hold-label/auto-unhold";
|
334
|
+
path: "ms/hold-label/auto-unhold";
|
335
335
|
};
|
336
336
|
getHoldLogs: {
|
337
337
|
method: "GET";
|
@@ -457,7 +457,7 @@ export declare const holdLabelContract: {
|
|
457
457
|
}[];
|
458
458
|
}>;
|
459
459
|
};
|
460
|
-
path: "hold-label/hold-logs";
|
460
|
+
path: "ms/hold-label/hold-logs";
|
461
461
|
};
|
462
462
|
holdRoom: {
|
463
463
|
body: z.ZodObject<{
|
@@ -584,7 +584,7 @@ export declare const holdLabelContract: {
|
|
584
584
|
};
|
585
585
|
}>;
|
586
586
|
};
|
587
|
-
path: "hold-label/hold-room";
|
587
|
+
path: "ms/hold-label/hold-room";
|
588
588
|
};
|
589
589
|
unholdRoom: {
|
590
590
|
body: z.ZodObject<{
|
@@ -708,7 +708,7 @@ export declare const holdLabelContract: {
|
|
708
708
|
} | undefined;
|
709
709
|
}>;
|
710
710
|
};
|
711
|
-
path: "hold-label/unhold-room";
|
711
|
+
path: "ms/hold-label/unhold-room";
|
712
712
|
};
|
713
713
|
};
|
714
714
|
//# sourceMappingURL=index.d.ts.map
|
@@ -4342,7 +4342,7 @@ export declare const chatContract: {
|
|
4342
4342
|
error?: any;
|
4343
4343
|
}>;
|
4344
4344
|
};
|
4345
|
-
path: "chat/room/assignee";
|
4345
|
+
path: "ms/chat/room/assignee";
|
4346
4346
|
headers: z.ZodObject<{
|
4347
4347
|
'x-tenant': z.ZodString;
|
4348
4348
|
'x-code': z.ZodOptional<z.ZodString>;
|
@@ -12580,7 +12580,7 @@ export declare const chatContract: {
|
|
12580
12580
|
error?: any;
|
12581
12581
|
}>;
|
12582
12582
|
};
|
12583
|
-
path: "chat/message/send";
|
12583
|
+
path: "ms/chat/message/send";
|
12584
12584
|
headers: z.ZodObject<{
|
12585
12585
|
'x-tenant': z.ZodString;
|
12586
12586
|
'x-code': z.ZodOptional<z.ZodString>;
|
@@ -16936,7 +16936,7 @@ export declare const chatContract: {
|
|
16936
16936
|
error?: any;
|
16937
16937
|
}>;
|
16938
16938
|
};
|
16939
|
-
path: "chat/room/solve";
|
16939
|
+
path: "ms/chat/room/solve";
|
16940
16940
|
headers: z.ZodObject<{
|
16941
16941
|
'x-tenant': z.ZodString;
|
16942
16942
|
'x-code': z.ZodOptional<z.ZodString>;
|
@@ -16990,7 +16990,7 @@ export declare const chatContract: {
|
|
16990
16990
|
error?: any;
|
16991
16991
|
}>;
|
16992
16992
|
};
|
16993
|
-
path: "chat/message/emit";
|
16993
|
+
path: "ms/chat/message/emit";
|
16994
16994
|
headers: z.ZodObject<{
|
16995
16995
|
'x-tenant': z.ZodString;
|
16996
16996
|
'x-code': z.ZodOptional<z.ZodString>;
|
package/dist/index.js
CHANGED
@@ -2867,7 +2867,7 @@ var receiveMessageContract = (0, import_core8.initContract)().router(
|
|
2867
2867
|
"x-code": import_zod42.default.string().uuid(),
|
2868
2868
|
"x-tenant": import_zod42.default.string().uuid()
|
2869
2869
|
}),
|
2870
|
-
pathPrefix: "message"
|
2870
|
+
pathPrefix: "ms/message"
|
2871
2871
|
}
|
2872
2872
|
);
|
2873
2873
|
var mainFeedContract = (0, import_core8.initContract)().router(
|
@@ -3039,7 +3039,7 @@ var mainChatRoomContract = (0, import_core8.initContract)().router(
|
|
3039
3039
|
},
|
3040
3040
|
{
|
3041
3041
|
baseHeaders: DefaultHeaderSchema,
|
3042
|
-
pathPrefix: "chat"
|
3042
|
+
pathPrefix: "ms/chat"
|
3043
3043
|
}
|
3044
3044
|
);
|
3045
3045
|
var mainChatContract = (0, import_core8.initContract)().router(
|
@@ -3150,7 +3150,7 @@ var mainChatContract = (0, import_core8.initContract)().router(
|
|
3150
3150
|
},
|
3151
3151
|
{
|
3152
3152
|
baseHeaders: DefaultHeaderSchema,
|
3153
|
-
pathPrefix: "chat"
|
3153
|
+
pathPrefix: "ms/chat"
|
3154
3154
|
}
|
3155
3155
|
);
|
3156
3156
|
var initiateMessageContract = (0, import_core8.initContract)().router(
|
@@ -3168,7 +3168,7 @@ var initiateMessageContract = (0, import_core8.initContract)().router(
|
|
3168
3168
|
},
|
3169
3169
|
{
|
3170
3170
|
baseHeaders: DefaultHeaderSchema,
|
3171
|
-
pathPrefix: "chat"
|
3171
|
+
pathPrefix: "ms/chat"
|
3172
3172
|
}
|
3173
3173
|
);
|
3174
3174
|
var mainChatMessageContract = (0, import_core8.initContract)().router(
|
@@ -3212,7 +3212,7 @@ var mainChatMessageContract = (0, import_core8.initContract)().router(
|
|
3212
3212
|
},
|
3213
3213
|
{
|
3214
3214
|
baseHeaders: DefaultHeaderSchema,
|
3215
|
-
pathPrefix: "chat"
|
3215
|
+
pathPrefix: "ms/chat"
|
3216
3216
|
}
|
3217
3217
|
);
|
3218
3218
|
|
@@ -3560,7 +3560,7 @@ var companyContract = (0, import_core10.initContract)().router(
|
|
3560
3560
|
}
|
3561
3561
|
},
|
3562
3562
|
{
|
3563
|
-
pathPrefix: "
|
3563
|
+
pathPrefix: "cs/companies"
|
3564
3564
|
}
|
3565
3565
|
);
|
3566
3566
|
|
@@ -4258,19 +4258,17 @@ var import_core13 = require("@ts-rest/core");
|
|
4258
4258
|
// src/dashboard/validation.ts
|
4259
4259
|
var import_zod53 = __toESM(require("zod"));
|
4260
4260
|
var GetDashboardQueryParamsSchema = import_zod53.default.object({
|
4261
|
-
channelIds: import_zod53.default.array(import_zod53.default.string()).optional(),
|
4261
|
+
channelIds: import_zod53.default.array(import_zod53.default.string().uuid()).optional(),
|
4262
4262
|
selectedDate: import_zod53.default.string()
|
4263
4263
|
});
|
4264
4264
|
var GetMessageChannelQueryParamsSchema = GetDashboardQueryParamsSchema.extend({
|
4265
4265
|
time: import_zod53.default.enum(["byDay", "byMonth", "byHour"]),
|
4266
4266
|
channelIds: import_zod53.default.array(import_zod53.default.string()).optional()
|
4267
4267
|
});
|
4268
|
-
var
|
4269
|
-
import_zod53.default.
|
4270
|
-
|
4271
|
-
|
4272
|
-
})
|
4273
|
-
);
|
4268
|
+
var DashboardQueryParamsSchema = GetDashboardQueryParamsSchema.extend({
|
4269
|
+
channelIds: import_zod53.default.array(import_zod53.default.string().uuid()).optional(),
|
4270
|
+
agentIds: import_zod53.default.array(import_zod53.default.string().uuid()).optional()
|
4271
|
+
});
|
4274
4272
|
var GetDashboardQueryDetailParamsSchema = GetDashboardQueryParamsSchema.merge(
|
4275
4273
|
import_zod53.default.object({
|
4276
4274
|
agentId: import_zod53.default.string().uuid().optional()
|
@@ -4512,7 +4510,7 @@ var MessageQueueDataSchema = import_zod54.default.object({
|
|
4512
4510
|
var AgentMessageStatisticsSchema = import_zod54.default.object({
|
4513
4511
|
id: import_zod54.default.string().uuid(),
|
4514
4512
|
name: import_zod54.default.string(),
|
4515
|
-
|
4513
|
+
assignedRoomCount: import_zod54.default.number(),
|
4516
4514
|
holdRoomCount: import_zod54.default.number(),
|
4517
4515
|
closedRoomCount: import_zod54.default.number(),
|
4518
4516
|
averageFirstResponseTime: import_zod54.default.string(),
|
@@ -4654,7 +4652,11 @@ var dashboardContract = (0, import_core13.initContract)().router(
|
|
4654
4652
|
getMessageTagData: {
|
4655
4653
|
method: "GET",
|
4656
4654
|
path: "/message/tag",
|
4657
|
-
query:
|
4655
|
+
query: import_zod55.default.object({
|
4656
|
+
automationQueueId: import_zod55.default.string().uuid().optional(),
|
4657
|
+
selectedDate: import_zod55.default.string().min(1),
|
4658
|
+
channelIds: import_zod55.default.array(import_zod55.default.string().uuid()).optional()
|
4659
|
+
}),
|
4658
4660
|
headers: DefaultHeaderSchema,
|
4659
4661
|
summary: "Get message tag data",
|
4660
4662
|
responses: {
|
@@ -4695,7 +4697,7 @@ var dashboardContract = (0, import_core13.initContract)().router(
|
|
4695
4697
|
path: "/message/conversation-activities",
|
4696
4698
|
// conversation activity
|
4697
4699
|
summary: "Get message contact data",
|
4698
|
-
query:
|
4700
|
+
query: DashboardQueryParamsSchema,
|
4699
4701
|
headers: DefaultHeaderSchema,
|
4700
4702
|
responses: {
|
4701
4703
|
200: DefaultSuccessResponseSchema.extend({
|
@@ -4708,7 +4710,7 @@ var dashboardContract = (0, import_core13.initContract)().router(
|
|
4708
4710
|
method: "GET",
|
4709
4711
|
path: "/message/status",
|
4710
4712
|
summary: "Get room status count by status",
|
4711
|
-
query:
|
4713
|
+
query: DashboardQueryParamsSchema,
|
4712
4714
|
headers: DefaultHeaderSchema,
|
4713
4715
|
responses: {
|
4714
4716
|
200: DefaultSuccessResponseSchema.extend({
|
@@ -4721,7 +4723,7 @@ var dashboardContract = (0, import_core13.initContract)().router(
|
|
4721
4723
|
method: "GET",
|
4722
4724
|
path: "/message/average",
|
4723
4725
|
summary: "Get room status average",
|
4724
|
-
query:
|
4726
|
+
query: DashboardQueryParamsSchema,
|
4725
4727
|
headers: DefaultHeaderSchema,
|
4726
4728
|
responses: {
|
4727
4729
|
200: DefaultSuccessResponseSchema.extend({
|
@@ -4734,7 +4736,7 @@ var dashboardContract = (0, import_core13.initContract)().router(
|
|
4734
4736
|
method: "GET",
|
4735
4737
|
path: "/message/platform",
|
4736
4738
|
summary: "Get message platform data",
|
4737
|
-
query:
|
4739
|
+
query: DashboardQueryParamsSchema,
|
4738
4740
|
headers: DefaultHeaderSchema,
|
4739
4741
|
responses: {
|
4740
4742
|
200: DefaultSuccessResponseSchema.extend({
|
@@ -4747,7 +4749,11 @@ var dashboardContract = (0, import_core13.initContract)().router(
|
|
4747
4749
|
method: "GET",
|
4748
4750
|
path: "/message/disposition",
|
4749
4751
|
summary: "Get message room status disposition data",
|
4750
|
-
query:
|
4752
|
+
query: import_zod55.default.object({
|
4753
|
+
automationQueueId: import_zod55.default.string().uuid().optional(),
|
4754
|
+
selectedDate: import_zod55.default.string().min(1),
|
4755
|
+
channelIds: import_zod55.default.array(import_zod55.default.string().uuid()).optional()
|
4756
|
+
}),
|
4751
4757
|
headers: DefaultHeaderSchema,
|
4752
4758
|
responses: {
|
4753
4759
|
200: DefaultSuccessResponseSchema.extend({
|
@@ -4760,7 +4766,7 @@ var dashboardContract = (0, import_core13.initContract)().router(
|
|
4760
4766
|
method: "GET",
|
4761
4767
|
path: "/message/incoming",
|
4762
4768
|
summary: "Get incoming message by platform",
|
4763
|
-
query:
|
4769
|
+
query: DashboardQueryParamsSchema,
|
4764
4770
|
headers: DefaultHeaderSchema,
|
4765
4771
|
responses: {
|
4766
4772
|
200: DefaultSuccessResponseSchema.extend({
|
@@ -4773,7 +4779,7 @@ var dashboardContract = (0, import_core13.initContract)().router(
|
|
4773
4779
|
method: "GET",
|
4774
4780
|
path: "/message/total-incoming",
|
4775
4781
|
summary: "Get total incoming message data",
|
4776
|
-
query:
|
4782
|
+
query: DashboardQueryParamsSchema,
|
4777
4783
|
headers: DefaultHeaderSchema,
|
4778
4784
|
responses: {
|
4779
4785
|
200: DefaultSuccessResponseSchema.extend({
|
@@ -4846,6 +4852,7 @@ var dashboardContract = (0, import_core13.initContract)().router(
|
|
4846
4852
|
path: "/user-check-in-logs-with-days",
|
4847
4853
|
query: import_zod55.default.object({
|
4848
4854
|
automationQueueId: import_zod55.default.string().uuid().optional(),
|
4855
|
+
keyword: import_zod55.default.string().optional(),
|
4849
4856
|
page: import_zod55.default.coerce.number().positive(),
|
4850
4857
|
pageSize: import_zod55.default.coerce.number().positive()
|
4851
4858
|
}),
|
@@ -4861,6 +4868,7 @@ var dashboardContract = (0, import_core13.initContract)().router(
|
|
4861
4868
|
method: "GET",
|
4862
4869
|
path: "/room-status-counts-by-user-id",
|
4863
4870
|
query: import_zod55.default.object({
|
4871
|
+
automationQueueId: import_zod55.default.string().optional(),
|
4864
4872
|
userId: import_zod55.default.string().uuid(),
|
4865
4873
|
selectedDate: import_zod55.default.string().min(1)
|
4866
4874
|
}),
|
@@ -8479,7 +8487,7 @@ var chatContract = (0, import_core39.initContract)().router(
|
|
8479
8487
|
"x-tenant": import_zod109.default.string({ required_error: "Tenant id is required" }),
|
8480
8488
|
"x-code": import_zod109.default.string().uuid().optional()
|
8481
8489
|
}),
|
8482
|
-
pathPrefix: "chat"
|
8490
|
+
pathPrefix: "ms/chat"
|
8483
8491
|
}
|
8484
8492
|
);
|
8485
8493
|
|
@@ -9136,7 +9144,7 @@ var automationQueueContract = (0, import_core45.initContract)().router(
|
|
9136
9144
|
},
|
9137
9145
|
{
|
9138
9146
|
baseHeaders: DefaultHeaderSchema,
|
9139
|
-
pathPrefix: "/automation-queue"
|
9147
|
+
pathPrefix: "ms/automation-queue"
|
9140
9148
|
}
|
9141
9149
|
);
|
9142
9150
|
|
@@ -10335,7 +10343,7 @@ var holdLabelContract = (0, import_core52.initContract)().router(
|
|
10335
10343
|
}
|
10336
10344
|
}
|
10337
10345
|
},
|
10338
|
-
{ pathPrefix: "hold-label" }
|
10346
|
+
{ pathPrefix: "ms/hold-label" }
|
10339
10347
|
);
|
10340
10348
|
|
10341
10349
|
// src/subscription/index.ts
|