@kl1/contracts 1.1.49-uat → 1.1.51-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/index.js +50 -29
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +48 -29
- package/dist/index.mjs.map +1 -1
- package/dist/src/comment/index.d.ts +4 -4
- package/dist/src/company/index.d.ts +5 -5
- package/dist/src/contact/index.d.ts +13 -13
- package/dist/src/contract.d.ts +7350 -188
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/contract2.d.ts +2 -0
- package/dist/src/contract2.d.ts.map +1 -0
- package/dist/src/dashboard/index.d.ts +75 -86
- package/dist/src/dashboard/index.d.ts.map +1 -1
- package/dist/src/dashboard/schema.d.ts +10 -53
- package/dist/src/dashboard/schema.d.ts.map +1 -1
- package/dist/src/dashboard/validation.d.ts +13 -0
- package/dist/src/dashboard/validation.d.ts.map +1 -1
- package/dist/src/mail/account-contract.d.ts +8 -8
- package/dist/src/mail/mail-contract.d.ts +28 -28
- package/dist/src/mail/mail-server-contract.d.ts +5 -5
- package/dist/src/mail/message-contract.d.ts +6 -6
- package/dist/src/mail/room-contract.d.ts +9 -9
- package/dist/src/ticket/index.d.ts +19 -19
- package/package.json +1 -1
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"contract2.d.ts","sourceRoot":"","sources":["../../src/contract2.ts"],"names":[],"mappings":""}
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { GetDashboardInOutQueryParamsSchema, GetDashboardQueryDetailParamsSchema, GetDashboardQueryParamsSchema, GetMessageChannelQueryParamsSchema } from './validation';
|
1
|
+
import { GetDashboardInOutQueryParamsSchema, GetDashboardQueryDetailParamsSchema, GetDashboardQueryParamsSchema, GetMessageChannelQueryParamsSchema, DashboardQueryparamsSchema } from './validation';
|
2
2
|
import z from 'zod';
|
3
|
-
import { DashboardDataSchema, ExpiredTicketSchema, TicketCountByStatusSchema, MessageCountsByChannelObjSchema, queueCallDashboardDataSchema, queueLiveCallCountListSchema, TagCountObjSchema, CallEndResultSchema, ConversationCountStatusSchema, MessageStatusSchema, MessageAverageSchema,
|
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 } from './schema';
|
4
4
|
export type DashBoardData = z.infer<typeof DashboardDataSchema>;
|
5
5
|
export type DashboardWithCallData = z.infer<typeof DashboardDataWithCallSchema>;
|
6
6
|
export type QueueCallDashboardDataType = z.infer<typeof queueCallDashboardDataSchema>;
|
@@ -21,7 +21,8 @@ export type CallEndResultType = z.infer<typeof CallEndResultSchema>;
|
|
21
21
|
export type ConversationCountStatus = z.infer<typeof ConversationCountStatusSchema>;
|
22
22
|
export type MessageStatusType = z.infer<typeof MessageStatusSchema>;
|
23
23
|
export type MessageAverage = z.infer<typeof MessageAverageSchema>;
|
24
|
-
export type
|
24
|
+
export type ChannelIncomingMessage = z.infer<typeof ChannelIncomingMessageSchema>;
|
25
|
+
export type ChannelIncomingMessageData = ChannelIncomingMessage[];
|
25
26
|
export type MessageDisposition = z.infer<typeof MessageDispositionSchema>;
|
26
27
|
export type MessageIncomingData = z.infer<typeof MessageIncomingDataSchema>;
|
27
28
|
export type MessageTotalIncomingDataType = z.infer<typeof MessageTotalIncomingDataSchema>;
|
@@ -29,6 +30,7 @@ export type GetDashboardRequest = z.infer<typeof GetDashboardQueryParamsSchema>;
|
|
29
30
|
export type GetDashboardInOutQuery = z.infer<typeof GetDashboardInOutQueryParamsSchema>;
|
30
31
|
export type GetDashboardDetailRequest = z.infer<typeof GetDashboardQueryDetailParamsSchema>;
|
31
32
|
export type MessageChannelQuery = z.infer<typeof GetMessageChannelQueryParamsSchema>;
|
33
|
+
export type DashboardQueryparamsType = z.infer<typeof DashboardQueryparamsSchema>;
|
32
34
|
export declare const dashboardContract: {
|
33
35
|
getDashboardData: {
|
34
36
|
summary: "Get all dashboard";
|
@@ -1146,10 +1148,16 @@ export declare const dashboardContract: {
|
|
1146
1148
|
method: "GET";
|
1147
1149
|
query: z.ZodObject<{
|
1148
1150
|
selectedDate: z.ZodString;
|
1151
|
+
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
1152
|
+
agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
1149
1153
|
}, "strip", z.ZodTypeAny, {
|
1150
1154
|
selectedDate: string;
|
1155
|
+
channelIds?: string[] | undefined;
|
1156
|
+
agentIds?: string[] | undefined;
|
1151
1157
|
}, {
|
1152
1158
|
selectedDate: string;
|
1159
|
+
channelIds?: string[] | undefined;
|
1160
|
+
agentIds?: string[] | undefined;
|
1153
1161
|
}>;
|
1154
1162
|
responses: {
|
1155
1163
|
200: z.ZodObject<{
|
@@ -1357,10 +1365,16 @@ export declare const dashboardContract: {
|
|
1357
1365
|
method: "GET";
|
1358
1366
|
query: z.ZodObject<{
|
1359
1367
|
selectedDate: z.ZodString;
|
1368
|
+
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
1369
|
+
agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
1360
1370
|
}, "strip", z.ZodTypeAny, {
|
1361
1371
|
selectedDate: string;
|
1372
|
+
channelIds?: string[] | undefined;
|
1373
|
+
agentIds?: string[] | undefined;
|
1362
1374
|
}, {
|
1363
1375
|
selectedDate: string;
|
1376
|
+
channelIds?: string[] | undefined;
|
1377
|
+
agentIds?: string[] | undefined;
|
1364
1378
|
}>;
|
1365
1379
|
responses: {
|
1366
1380
|
200: z.ZodObject<{
|
@@ -1422,10 +1436,16 @@ export declare const dashboardContract: {
|
|
1422
1436
|
method: "GET";
|
1423
1437
|
query: z.ZodObject<{
|
1424
1438
|
selectedDate: z.ZodString;
|
1439
|
+
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
1440
|
+
agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
1425
1441
|
}, "strip", z.ZodTypeAny, {
|
1426
1442
|
selectedDate: string;
|
1443
|
+
channelIds?: string[] | undefined;
|
1444
|
+
agentIds?: string[] | undefined;
|
1427
1445
|
}, {
|
1428
1446
|
selectedDate: string;
|
1447
|
+
channelIds?: string[] | undefined;
|
1448
|
+
agentIds?: string[] | undefined;
|
1429
1449
|
}>;
|
1430
1450
|
responses: {
|
1431
1451
|
200: z.ZodObject<{
|
@@ -1497,10 +1517,16 @@ export declare const dashboardContract: {
|
|
1497
1517
|
method: "GET";
|
1498
1518
|
query: z.ZodObject<{
|
1499
1519
|
selectedDate: z.ZodString;
|
1520
|
+
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
1521
|
+
agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
1500
1522
|
}, "strip", z.ZodTypeAny, {
|
1501
1523
|
selectedDate: string;
|
1524
|
+
channelIds?: string[] | undefined;
|
1525
|
+
agentIds?: string[] | undefined;
|
1502
1526
|
}, {
|
1503
1527
|
selectedDate: string;
|
1528
|
+
channelIds?: string[] | undefined;
|
1529
|
+
agentIds?: string[] | undefined;
|
1504
1530
|
}>;
|
1505
1531
|
responses: {
|
1506
1532
|
200: z.ZodObject<{
|
@@ -1632,107 +1658,52 @@ export declare const dashboardContract: {
|
|
1632
1658
|
'x-client-timezone'?: string | undefined;
|
1633
1659
|
}>>>;
|
1634
1660
|
};
|
1635
|
-
|
1661
|
+
getChannelIncomingMessageCounts: {
|
1636
1662
|
summary: "Get message platform data";
|
1637
1663
|
method: "GET";
|
1638
1664
|
query: z.ZodObject<{
|
1639
1665
|
selectedDate: z.ZodString;
|
1666
|
+
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
1667
|
+
agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
1640
1668
|
}, "strip", z.ZodTypeAny, {
|
1641
1669
|
selectedDate: string;
|
1670
|
+
channelIds?: string[] | undefined;
|
1671
|
+
agentIds?: string[] | undefined;
|
1642
1672
|
}, {
|
1643
1673
|
selectedDate: string;
|
1674
|
+
channelIds?: string[] | undefined;
|
1675
|
+
agentIds?: string[] | undefined;
|
1644
1676
|
}>;
|
1645
1677
|
responses: {
|
1646
1678
|
200: z.ZodObject<{
|
1647
1679
|
requestId: z.ZodString;
|
1648
|
-
|
1649
|
-
|
1650
|
-
|
1651
|
-
|
1652
|
-
count: number | null;
|
1653
|
-
}, {
|
1654
|
-
count: number | null;
|
1655
|
-
}>>;
|
1656
|
-
lineCount: z.ZodNullable<z.ZodObject<{
|
1657
|
-
count: z.ZodNumber;
|
1658
|
-
}, "strip", z.ZodTypeAny, {
|
1659
|
-
count: number;
|
1660
|
-
}, {
|
1661
|
-
count: number;
|
1662
|
-
}>>;
|
1663
|
-
viberCount: z.ZodNullable<z.ZodObject<{
|
1664
|
-
count: z.ZodNumber;
|
1665
|
-
}, "strip", z.ZodTypeAny, {
|
1666
|
-
count: number;
|
1667
|
-
}, {
|
1668
|
-
count: number;
|
1669
|
-
}>>;
|
1670
|
-
instagramCount: z.ZodNullable<z.ZodObject<{
|
1671
|
-
count: z.ZodNumber;
|
1672
|
-
}, "strip", z.ZodTypeAny, {
|
1673
|
-
count: number;
|
1674
|
-
}, {
|
1675
|
-
count: number;
|
1676
|
-
}>>;
|
1680
|
+
incomingMessageCounts: z.ZodArray<z.ZodObject<{
|
1681
|
+
channelName: z.ZodNullable<z.ZodString>;
|
1682
|
+
channelType: z.ZodNullable<z.ZodString>;
|
1683
|
+
count: z.ZodNullable<z.ZodString>;
|
1677
1684
|
}, "strip", z.ZodTypeAny, {
|
1678
|
-
|
1679
|
-
|
1680
|
-
|
1681
|
-
lineCount: {
|
1682
|
-
count: number;
|
1683
|
-
} | null;
|
1684
|
-
viberCount: {
|
1685
|
-
count: number;
|
1686
|
-
} | null;
|
1687
|
-
instagramCount: {
|
1688
|
-
count: number;
|
1689
|
-
} | null;
|
1685
|
+
channelType: string | null;
|
1686
|
+
count: string | null;
|
1687
|
+
channelName: string | null;
|
1690
1688
|
}, {
|
1691
|
-
|
1692
|
-
|
1693
|
-
|
1694
|
-
|
1695
|
-
count: number;
|
1696
|
-
} | null;
|
1697
|
-
viberCount: {
|
1698
|
-
count: number;
|
1699
|
-
} | null;
|
1700
|
-
instagramCount: {
|
1701
|
-
count: number;
|
1702
|
-
} | null;
|
1703
|
-
}>;
|
1689
|
+
channelType: string | null;
|
1690
|
+
count: string | null;
|
1691
|
+
channelName: string | null;
|
1692
|
+
}>, "many">;
|
1704
1693
|
}, "strip", z.ZodTypeAny, {
|
1705
1694
|
requestId: string;
|
1706
|
-
|
1707
|
-
|
1708
|
-
|
1709
|
-
|
1710
|
-
|
1711
|
-
count: number;
|
1712
|
-
} | null;
|
1713
|
-
viberCount: {
|
1714
|
-
count: number;
|
1715
|
-
} | null;
|
1716
|
-
instagramCount: {
|
1717
|
-
count: number;
|
1718
|
-
} | null;
|
1719
|
-
};
|
1695
|
+
incomingMessageCounts: {
|
1696
|
+
channelType: string | null;
|
1697
|
+
count: string | null;
|
1698
|
+
channelName: string | null;
|
1699
|
+
}[];
|
1720
1700
|
}, {
|
1721
1701
|
requestId: string;
|
1722
|
-
|
1723
|
-
|
1724
|
-
|
1725
|
-
|
1726
|
-
|
1727
|
-
count: number;
|
1728
|
-
} | null;
|
1729
|
-
viberCount: {
|
1730
|
-
count: number;
|
1731
|
-
} | null;
|
1732
|
-
instagramCount: {
|
1733
|
-
count: number;
|
1734
|
-
} | null;
|
1735
|
-
};
|
1702
|
+
incomingMessageCounts: {
|
1703
|
+
channelType: string | null;
|
1704
|
+
count: string | null;
|
1705
|
+
channelName: string | null;
|
1706
|
+
}[];
|
1736
1707
|
}>;
|
1737
1708
|
401: z.ZodObject<{
|
1738
1709
|
message: z.ZodString;
|
@@ -1768,10 +1739,16 @@ export declare const dashboardContract: {
|
|
1768
1739
|
method: "GET";
|
1769
1740
|
query: z.ZodObject<{
|
1770
1741
|
selectedDate: z.ZodString;
|
1742
|
+
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
1743
|
+
agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
1771
1744
|
}, "strip", z.ZodTypeAny, {
|
1772
1745
|
selectedDate: string;
|
1746
|
+
channelIds?: string[] | undefined;
|
1747
|
+
agentIds?: string[] | undefined;
|
1773
1748
|
}, {
|
1774
1749
|
selectedDate: string;
|
1750
|
+
channelIds?: string[] | undefined;
|
1751
|
+
agentIds?: string[] | undefined;
|
1775
1752
|
}>;
|
1776
1753
|
responses: {
|
1777
1754
|
200: z.ZodObject<{
|
@@ -1833,10 +1810,16 @@ export declare const dashboardContract: {
|
|
1833
1810
|
method: "GET";
|
1834
1811
|
query: z.ZodObject<{
|
1835
1812
|
selectedDate: z.ZodString;
|
1813
|
+
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
1814
|
+
agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
1836
1815
|
}, "strip", z.ZodTypeAny, {
|
1837
1816
|
selectedDate: string;
|
1817
|
+
channelIds?: string[] | undefined;
|
1818
|
+
agentIds?: string[] | undefined;
|
1838
1819
|
}, {
|
1839
1820
|
selectedDate: string;
|
1821
|
+
channelIds?: string[] | undefined;
|
1822
|
+
agentIds?: string[] | undefined;
|
1840
1823
|
}>;
|
1841
1824
|
responses: {
|
1842
1825
|
200: z.ZodObject<{
|
@@ -1903,10 +1886,16 @@ export declare const dashboardContract: {
|
|
1903
1886
|
method: "GET";
|
1904
1887
|
query: z.ZodObject<{
|
1905
1888
|
selectedDate: z.ZodString;
|
1889
|
+
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
1890
|
+
agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
1906
1891
|
}, "strip", z.ZodTypeAny, {
|
1907
1892
|
selectedDate: string;
|
1893
|
+
channelIds?: string[] | undefined;
|
1894
|
+
agentIds?: string[] | undefined;
|
1908
1895
|
}, {
|
1909
1896
|
selectedDate: string;
|
1897
|
+
channelIds?: string[] | undefined;
|
1898
|
+
agentIds?: string[] | undefined;
|
1910
1899
|
}>;
|
1911
1900
|
responses: {
|
1912
1901
|
200: z.ZodObject<{
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/dashboard/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,kCAAkC,EAClC,mCAAmC,EACnC,6BAA6B,EAC7B,kCAAkC,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/dashboard/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,kCAAkC,EAClC,mCAAmC,EACnC,6BAA6B,EAC7B,kCAAkC,EAClC,0BAA0B,EAC3B,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,EACf,MAAM,UAAU,CAAC;AAGlB,MAAM,MAAM,aAAa,GA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8P7B,CAAC"}
|
@@ -972,61 +972,18 @@ export declare const MessageAverageSchema: z.ZodObject<{
|
|
972
972
|
avgResponseTime: string | null;
|
973
973
|
} | null | undefined;
|
974
974
|
}>;
|
975
|
-
export declare const
|
976
|
-
|
977
|
-
|
978
|
-
|
979
|
-
count: number | null;
|
980
|
-
}, {
|
981
|
-
count: number | null;
|
982
|
-
}>>;
|
983
|
-
lineCount: z.ZodNullable<z.ZodObject<{
|
984
|
-
count: z.ZodNumber;
|
985
|
-
}, "strip", z.ZodTypeAny, {
|
986
|
-
count: number;
|
987
|
-
}, {
|
988
|
-
count: number;
|
989
|
-
}>>;
|
990
|
-
viberCount: z.ZodNullable<z.ZodObject<{
|
991
|
-
count: z.ZodNumber;
|
992
|
-
}, "strip", z.ZodTypeAny, {
|
993
|
-
count: number;
|
994
|
-
}, {
|
995
|
-
count: number;
|
996
|
-
}>>;
|
997
|
-
instagramCount: z.ZodNullable<z.ZodObject<{
|
998
|
-
count: z.ZodNumber;
|
999
|
-
}, "strip", z.ZodTypeAny, {
|
1000
|
-
count: number;
|
1001
|
-
}, {
|
1002
|
-
count: number;
|
1003
|
-
}>>;
|
975
|
+
export declare const ChannelIncomingMessageSchema: z.ZodObject<{
|
976
|
+
channelName: z.ZodNullable<z.ZodString>;
|
977
|
+
channelType: z.ZodNullable<z.ZodString>;
|
978
|
+
count: z.ZodNullable<z.ZodString>;
|
1004
979
|
}, "strip", z.ZodTypeAny, {
|
1005
|
-
|
1006
|
-
|
1007
|
-
|
1008
|
-
lineCount: {
|
1009
|
-
count: number;
|
1010
|
-
} | null;
|
1011
|
-
viberCount: {
|
1012
|
-
count: number;
|
1013
|
-
} | null;
|
1014
|
-
instagramCount: {
|
1015
|
-
count: number;
|
1016
|
-
} | null;
|
980
|
+
channelType: string | null;
|
981
|
+
count: string | null;
|
982
|
+
channelName: string | null;
|
1017
983
|
}, {
|
1018
|
-
|
1019
|
-
|
1020
|
-
|
1021
|
-
lineCount: {
|
1022
|
-
count: number;
|
1023
|
-
} | null;
|
1024
|
-
viberCount: {
|
1025
|
-
count: number;
|
1026
|
-
} | null;
|
1027
|
-
instagramCount: {
|
1028
|
-
count: number;
|
1029
|
-
} | null;
|
984
|
+
channelType: string | null;
|
985
|
+
count: string | null;
|
986
|
+
channelName: string | null;
|
1030
987
|
}>;
|
1031
988
|
export declare const MessageDispositionSchema: z.ZodObject<{
|
1032
989
|
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/dashboard/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAmBpB,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;EAGxC,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;EAGxC,CAAC;AAiBH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAU9B,CAAC;AACH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUtC,CAAC;AAEH,eAAO,MAAM,sCAAsC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWjD,CAAC;AAEH,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAW5C,CAAC;AAEH,eAAO,MAAM,8CAA8C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIzD,CAAC;AAEH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAYpC,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;WAQ/B,CAAC;AAEF,eAAO,MAAM,cAAc;;;;;;;;;;;;EAIzB,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;WAA0B,CAAC;AACzD,eAAO,MAAM,+BAA+B;;;;;;;;;YAO3C,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;;;;;;aAMnB,CAAC;AACd,eAAO,MAAM,6BAA6B;;;;;;;;;EAGxC,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;EAK9B,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyB/B,CAAC;AAEH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;EAIvC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;EAGnC,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;WAMrC,CAAC;AAEF,eAAO,MAAM,8BAA8B;;;;;;;;;YAE1C,CAAC"}
|
@@ -16,6 +16,19 @@ export declare const GetMessageChannelQueryParamsSchema: z.ZodObject<{
|
|
16
16
|
time: "byDay" | "byMonth";
|
17
17
|
selectedDate: string;
|
18
18
|
}>;
|
19
|
+
export declare const DashboardQueryparamsSchema: z.ZodObject<{
|
20
|
+
selectedDate: z.ZodString;
|
21
|
+
channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
22
|
+
agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
23
|
+
}, "strip", z.ZodTypeAny, {
|
24
|
+
selectedDate: string;
|
25
|
+
channelIds?: string[] | undefined;
|
26
|
+
agentIds?: string[] | undefined;
|
27
|
+
}, {
|
28
|
+
selectedDate: string;
|
29
|
+
channelIds?: string[] | undefined;
|
30
|
+
agentIds?: string[] | undefined;
|
31
|
+
}>;
|
19
32
|
export declare const GetDashboardQueryDetailParamsSchema: z.ZodOptional<z.ZodObject<{
|
20
33
|
selectedDate: z.ZodString;
|
21
34
|
agentId: z.ZodOptional<z.ZodString>;
|
@@ -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;;;;;;EAExC,CAAC;AAEH,eAAO,MAAM,kCAAkC;;;;;;;;;EAG3C,CAAC;
|
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;;;;;;EAExC,CAAC;AAEH,eAAO,MAAM,kCAAkC;;;;;;;;;EAG3C,CAAC;AACL,eAAO,MAAM,0BAA0B;;;;;;;;;;;;EAKtC,CAAC;AAEF,eAAO,MAAM,mCAAmC;;;;;;;;;GAKlC,CAAC;AAEf,eAAO,MAAM,kCAAkC;;;;;;;;;EAK5C,CAAC"}
|
@@ -235,7 +235,7 @@ export declare const accountContract: {
|
|
235
235
|
message: string;
|
236
236
|
}>;
|
237
237
|
};
|
238
|
-
path: "mail/account";
|
238
|
+
path: "email-service/mail/account";
|
239
239
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
240
240
|
'x-tenant': z.ZodString;
|
241
241
|
authorization: z.ZodString;
|
@@ -298,7 +298,7 @@ export declare const accountContract: {
|
|
298
298
|
requestId: string;
|
299
299
|
}>;
|
300
300
|
};
|
301
|
-
path: "mail/account/sync";
|
301
|
+
path: "email-service/mail/account/sync";
|
302
302
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
303
303
|
'x-tenant': z.ZodString;
|
304
304
|
authorization: z.ZodString;
|
@@ -521,7 +521,7 @@ export declare const accountContract: {
|
|
521
521
|
requestId: string;
|
522
522
|
}>;
|
523
523
|
};
|
524
|
-
path: "mail/account/:id";
|
524
|
+
path: "email-service/mail/account/:id";
|
525
525
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
526
526
|
'x-tenant': z.ZodString;
|
527
527
|
authorization: z.ZodString;
|
@@ -747,7 +747,7 @@ export declare const accountContract: {
|
|
747
747
|
requestId: string;
|
748
748
|
}>;
|
749
749
|
};
|
750
|
-
path: "mail/account";
|
750
|
+
path: "email-service/mail/account";
|
751
751
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
752
752
|
'x-tenant': z.ZodString;
|
753
753
|
authorization: z.ZodString;
|
@@ -1074,7 +1074,7 @@ export declare const accountContract: {
|
|
1074
1074
|
requestId: string;
|
1075
1075
|
}>;
|
1076
1076
|
};
|
1077
|
-
path: "mail/account/:id";
|
1077
|
+
path: "email-service/mail/account/:id";
|
1078
1078
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
1079
1079
|
'x-tenant': z.ZodString;
|
1080
1080
|
authorization: z.ZodString;
|
@@ -1298,7 +1298,7 @@ export declare const accountContract: {
|
|
1298
1298
|
requestId: string;
|
1299
1299
|
}>;
|
1300
1300
|
};
|
1301
|
-
path: "mail/account/:id/disconnect";
|
1301
|
+
path: "email-service/mail/account/:id/disconnect";
|
1302
1302
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
1303
1303
|
'x-tenant': z.ZodString;
|
1304
1304
|
authorization: z.ZodString;
|
@@ -1522,7 +1522,7 @@ export declare const accountContract: {
|
|
1522
1522
|
requestId: string;
|
1523
1523
|
}>;
|
1524
1524
|
};
|
1525
|
-
path: "mail/account/:id/reconnect";
|
1525
|
+
path: "email-service/mail/account/:id/reconnect";
|
1526
1526
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
1527
1527
|
'x-tenant': z.ZodString;
|
1528
1528
|
authorization: z.ZodString;
|
@@ -1593,7 +1593,7 @@ export declare const accountContract: {
|
|
1593
1593
|
requestId: string;
|
1594
1594
|
}>;
|
1595
1595
|
};
|
1596
|
-
path: "mail/account/:id";
|
1596
|
+
path: "email-service/mail/account/:id";
|
1597
1597
|
headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
1598
1598
|
'x-tenant': z.ZodString;
|
1599
1599
|
authorization: z.ZodString;
|