@kl1/contracts 1.3.34 → 1.3.36

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. package/dist/api-contracts/src/automation-queue/index.d.ts +3 -0
  2. package/dist/api-contracts/src/automation-queue/index.d.ts.map +1 -1
  3. package/dist/api-contracts/src/botpress/index.d.ts +2 -2
  4. package/dist/api-contracts/src/channel/index.d.ts +1570 -28
  5. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  6. package/dist/api-contracts/src/channel/schema.d.ts +44 -0
  7. package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
  8. package/dist/api-contracts/src/channel/validation.d.ts +65 -0
  9. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  10. package/dist/api-contracts/src/chat/index.d.ts +1285 -211
  11. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  12. package/dist/api-contracts/src/chat/schema.d.ts +312 -63
  13. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  14. package/dist/api-contracts/src/chat/validation.d.ts +455 -69
  15. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  16. package/dist/api-contracts/src/contract.d.ts +8805 -2879
  17. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  18. package/dist/api-contracts/src/cx-log/index.d.ts +62 -1
  19. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  20. package/dist/api-contracts/src/cx-log/schema.d.ts +46 -1
  21. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  22. package/dist/api-contracts/src/cx-log/validation.d.ts +3 -0
  23. package/dist/api-contracts/src/cx-log/validation.d.ts.map +1 -1
  24. package/dist/api-contracts/src/dashboard/index.d.ts +960 -30
  25. package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
  26. package/dist/api-contracts/src/dashboard/schema.d.ts +167 -9
  27. package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
  28. package/dist/api-contracts/src/dashboard/validation.d.ts +30 -1
  29. package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
  30. package/dist/api-contracts/src/export/index.d.ts +2 -0
  31. package/dist/api-contracts/src/export/index.d.ts.map +1 -1
  32. package/dist/api-contracts/src/export/validation.d.ts +3 -0
  33. package/dist/api-contracts/src/export/validation.d.ts.map +1 -0
  34. package/dist/api-contracts/src/facebook-feed/index.d.ts +561 -53
  35. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  36. package/dist/api-contracts/src/facebook-feed/schema.d.ts +37 -3
  37. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  38. package/dist/api-contracts/src/facebook-feed/validation.d.ts +26 -0
  39. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  40. package/dist/api-contracts/src/index.d.ts +2 -0
  41. package/dist/api-contracts/src/index.d.ts.map +1 -1
  42. package/dist/api-contracts/src/instagram/index.d.ts +439 -41
  43. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  44. package/dist/api-contracts/src/line/index.d.ts +402 -48
  45. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  46. package/dist/api-contracts/src/line/validation.d.ts +49 -7
  47. package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
  48. package/dist/api-contracts/src/messenger/index.d.ts +439 -41
  49. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  50. package/dist/api-contracts/src/messenger/validation.d.ts +26 -0
  51. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  52. package/dist/api-contracts/src/presence-status/index.d.ts +1 -421
  53. package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
  54. package/dist/api-contracts/src/presence-status/schema.d.ts +0 -369
  55. package/dist/api-contracts/src/presence-status/schema.d.ts.map +1 -1
  56. package/dist/api-contracts/src/sms/index.d.ts +185 -7
  57. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  58. package/dist/api-contracts/src/telegram/index.d.ts +327 -41
  59. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  60. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +0 -430
  61. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  62. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +0 -3
  63. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  64. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts +0 -3
  65. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts.map +1 -1
  66. package/dist/api-contracts/src/viber/index.d.ts +327 -41
  67. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  68. package/dist/api-contracts/src/webchat/index.d.ts +327 -41
  69. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  70. package/dist/api-contracts/src/whatsapp/index.d.ts +379 -41
  71. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  72. package/dist/api-contracts/src/workflow-rule/index.d.ts +151 -17
  73. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  74. package/dist/index.js +642 -321
  75. package/dist/index.js.map +1 -1
  76. package/dist/index.mjs +640 -321
  77. package/dist/index.mjs.map +1 -1
  78. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
- import { CallCountsQuerySchema, GetDashboardInOutQueryParamsSchema, GetDashboardQueryDetailParamsSchema, GetDashboardQueryParamsSchema, GetMessageChannelQueryParamsSchema, DashboardQueryparamsSchema } from './validation';
1
+ import { CallCountsQuerySchema, GetDashboardInOutQueryParamsSchema, GetDashboardQueryDetailParamsSchema, GetDashboardQueryParamsSchema, GetMessageChannelQueryParamsSchema, DashboardQueryParamsSchema, DashboardGlobalFiltersSchema } from './validation';
2
2
  import z from 'zod';
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';
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>;
5
5
  export type DashboardWithCallData = z.infer<typeof DashboardDataWithCallSchema>;
6
6
  export type QueueCallDashboardDataType = z.infer<typeof queueCallDashboardDataSchema>;
@@ -26,11 +26,15 @@ export type ChannelIncomingMessageData = ChannelIncomingMessage[];
26
26
  export type MessageDisposition = z.infer<typeof MessageDispositionSchema>;
27
27
  export type MessageIncomingData = z.infer<typeof MessageIncomingDataSchema>;
28
28
  export type MessageTotalIncomingDataType = z.infer<typeof MessageTotalIncomingDataSchema>;
29
+ export type AgentMessageStatistics = z.infer<typeof AgentMessageStatisticsSchema>;
30
+ export type UserCheckInLogsWithDay = z.infer<typeof UserCheckInLogsWithDaySchema>;
31
+ export type FormattedUserCheckInLog = z.infer<typeof UserCheckInLogSchema>;
32
+ export type DashboardGlobalFilters = z.infer<typeof DashboardGlobalFiltersSchema>;
29
33
  export type GetDashboardRequest = z.infer<typeof GetDashboardQueryParamsSchema>;
30
34
  export type GetDashboardInOutQuery = z.infer<typeof GetDashboardInOutQueryParamsSchema>;
31
35
  export type GetDashboardDetailRequest = z.infer<typeof GetDashboardQueryDetailParamsSchema>;
32
36
  export type MessageChannelQuery = z.infer<typeof GetMessageChannelQueryParamsSchema>;
33
- export type DashboardQueryparamsType = z.infer<typeof DashboardQueryparamsSchema>;
37
+ export type DashboardQueryparamsType = z.infer<typeof DashboardQueryParamsSchema>;
34
38
  export type CallCountsQuery = z.infer<typeof CallCountsQuerySchema>;
35
39
  export declare const dashboardContract: {
36
40
  getDashboardData: {
@@ -1163,17 +1167,17 @@ export declare const dashboardContract: {
1163
1167
  summary: "Get message tag data";
1164
1168
  method: "GET";
1165
1169
  query: z.ZodObject<{
1170
+ automationQueueId: z.ZodOptional<z.ZodString>;
1166
1171
  selectedDate: z.ZodString;
1167
1172
  channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1168
- agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1169
1173
  }, "strip", z.ZodTypeAny, {
1170
1174
  selectedDate: string;
1175
+ automationQueueId?: string | undefined;
1171
1176
  channelIds?: string[] | undefined;
1172
- agentIds?: string[] | undefined;
1173
1177
  }, {
1174
1178
  selectedDate: string;
1179
+ automationQueueId?: string | undefined;
1175
1180
  channelIds?: string[] | undefined;
1176
- agentIds?: string[] | undefined;
1177
1181
  }>;
1178
1182
  responses: {
1179
1183
  200: z.ZodObject<{
@@ -1235,6 +1239,35 @@ export declare const dashboardContract: {
1235
1239
  'x-client-timezone'?: string | undefined;
1236
1240
  }>>>;
1237
1241
  };
1242
+ exportRoomTagCounts: {
1243
+ method: "GET";
1244
+ query: z.ZodObject<{
1245
+ automationQueueId: z.ZodOptional<z.ZodString>;
1246
+ selectedDate: z.ZodString;
1247
+ channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1248
+ fileExtension: z.ZodUnion<[z.ZodLiteral<"csv">, z.ZodLiteral<"xlsx">]>;
1249
+ }, "strip", z.ZodTypeAny, {
1250
+ selectedDate: string;
1251
+ fileExtension: "csv" | "xlsx";
1252
+ automationQueueId?: string | undefined;
1253
+ channelIds?: string[] | undefined;
1254
+ }, {
1255
+ selectedDate: string;
1256
+ fileExtension: "csv" | "xlsx";
1257
+ automationQueueId?: string | undefined;
1258
+ channelIds?: string[] | undefined;
1259
+ }>;
1260
+ responses: {
1261
+ 200: z.ZodObject<{
1262
+ requestId: z.ZodString;
1263
+ }, "strip", z.ZodTypeAny, {
1264
+ requestId: string;
1265
+ }, {
1266
+ requestId: string;
1267
+ }>;
1268
+ };
1269
+ path: "ms/dashboard/export-room-tag-counts";
1270
+ };
1238
1271
  getCallTagData: {
1239
1272
  summary: "Get call tag data";
1240
1273
  method: "GET";
@@ -1387,14 +1420,17 @@ export declare const dashboardContract: {
1387
1420
  method: "GET";
1388
1421
  query: z.ZodObject<{
1389
1422
  selectedDate: z.ZodString;
1423
+ automationQueueId: z.ZodOptional<z.ZodString>;
1390
1424
  channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1391
1425
  agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1392
1426
  }, "strip", z.ZodTypeAny, {
1393
1427
  selectedDate: string;
1428
+ automationQueueId?: string | undefined;
1394
1429
  channelIds?: string[] | undefined;
1395
1430
  agentIds?: string[] | undefined;
1396
1431
  }, {
1397
1432
  selectedDate: string;
1433
+ automationQueueId?: string | undefined;
1398
1434
  channelIds?: string[] | undefined;
1399
1435
  agentIds?: string[] | undefined;
1400
1436
  }>;
@@ -1458,14 +1494,17 @@ export declare const dashboardContract: {
1458
1494
  method: "GET";
1459
1495
  query: z.ZodObject<{
1460
1496
  selectedDate: z.ZodString;
1497
+ automationQueueId: z.ZodOptional<z.ZodString>;
1461
1498
  channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1462
1499
  agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1463
1500
  }, "strip", z.ZodTypeAny, {
1464
1501
  selectedDate: string;
1502
+ automationQueueId?: string | undefined;
1465
1503
  channelIds?: string[] | undefined;
1466
1504
  agentIds?: string[] | undefined;
1467
1505
  }, {
1468
1506
  selectedDate: string;
1507
+ automationQueueId?: string | undefined;
1469
1508
  channelIds?: string[] | undefined;
1470
1509
  agentIds?: string[] | undefined;
1471
1510
  }>;
@@ -1477,14 +1516,17 @@ export declare const dashboardContract: {
1477
1516
  closed: z.ZodNullable<z.ZodNumber>;
1478
1517
  unassignedOpen: z.ZodNullable<z.ZodNumber>;
1479
1518
  assignedOpen: z.ZodNullable<z.ZodNumber>;
1519
+ hold: z.ZodNumber;
1480
1520
  }, "strip", z.ZodTypeAny, {
1481
1521
  total: number | null;
1482
1522
  closed: number | null;
1523
+ hold: number;
1483
1524
  unassignedOpen: number | null;
1484
1525
  assignedOpen: number | null;
1485
1526
  }, {
1486
1527
  total: number | null;
1487
1528
  closed: number | null;
1529
+ hold: number;
1488
1530
  unassignedOpen: number | null;
1489
1531
  assignedOpen: number | null;
1490
1532
  }>;
@@ -1493,6 +1535,7 @@ export declare const dashboardContract: {
1493
1535
  roomStatusCountByStatus: {
1494
1536
  total: number | null;
1495
1537
  closed: number | null;
1538
+ hold: number;
1496
1539
  unassignedOpen: number | null;
1497
1540
  assignedOpen: number | null;
1498
1541
  };
@@ -1501,6 +1544,7 @@ export declare const dashboardContract: {
1501
1544
  roomStatusCountByStatus: {
1502
1545
  total: number | null;
1503
1546
  closed: number | null;
1547
+ hold: number;
1504
1548
  unassignedOpen: number | null;
1505
1549
  assignedOpen: number | null;
1506
1550
  };
@@ -1539,14 +1583,17 @@ export declare const dashboardContract: {
1539
1583
  method: "GET";
1540
1584
  query: z.ZodObject<{
1541
1585
  selectedDate: z.ZodString;
1586
+ automationQueueId: z.ZodOptional<z.ZodString>;
1542
1587
  channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1543
1588
  agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1544
1589
  }, "strip", z.ZodTypeAny, {
1545
1590
  selectedDate: string;
1591
+ automationQueueId?: string | undefined;
1546
1592
  channelIds?: string[] | undefined;
1547
1593
  agentIds?: string[] | undefined;
1548
1594
  }, {
1549
1595
  selectedDate: string;
1596
+ automationQueueId?: string | undefined;
1550
1597
  channelIds?: string[] | undefined;
1551
1598
  agentIds?: string[] | undefined;
1552
1599
  }>;
@@ -1558,62 +1605,77 @@ export declare const dashboardContract: {
1558
1605
  day: z.ZodNullable<z.ZodString>;
1559
1606
  avgResolutionTime: z.ZodNullable<z.ZodString>;
1560
1607
  avgResponseTime: z.ZodNullable<z.ZodString>;
1608
+ resolutionRate: z.ZodString;
1561
1609
  }, "strip", z.ZodTypeAny, {
1562
1610
  day: string | null;
1563
1611
  avgResolutionTime: string | null;
1564
1612
  avgResponseTime: string | null;
1613
+ resolutionRate: string;
1565
1614
  }, {
1566
1615
  day: string | null;
1567
1616
  avgResolutionTime: string | null;
1568
1617
  avgResponseTime: string | null;
1618
+ resolutionRate: string;
1569
1619
  }>, "many">>>;
1570
1620
  previousWeekAvg: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1571
1621
  avgResolutionTime: z.ZodNullable<z.ZodString>;
1572
1622
  avgResponseTime: z.ZodNullable<z.ZodString>;
1623
+ resolutionRate: z.ZodString;
1573
1624
  }, "strip", z.ZodTypeAny, {
1574
1625
  avgResolutionTime: string | null;
1575
1626
  avgResponseTime: string | null;
1627
+ resolutionRate: string;
1576
1628
  }, {
1577
1629
  avgResolutionTime: string | null;
1578
1630
  avgResponseTime: string | null;
1631
+ resolutionRate: string;
1579
1632
  }>>>;
1580
1633
  selectedWeekAvg: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1581
1634
  avgResolutionTime: z.ZodNullable<z.ZodString>;
1582
1635
  avgResponseTime: z.ZodNullable<z.ZodString>;
1636
+ resolutionRate: z.ZodString;
1583
1637
  }, "strip", z.ZodTypeAny, {
1584
1638
  avgResolutionTime: string | null;
1585
1639
  avgResponseTime: string | null;
1640
+ resolutionRate: string;
1586
1641
  }, {
1587
1642
  avgResolutionTime: string | null;
1588
1643
  avgResponseTime: string | null;
1644
+ resolutionRate: string;
1589
1645
  }>>>;
1590
1646
  }, "strip", z.ZodTypeAny, {
1591
1647
  selectedWeekAvgByDay?: {
1592
1648
  day: string | null;
1593
1649
  avgResolutionTime: string | null;
1594
1650
  avgResponseTime: string | null;
1651
+ resolutionRate: string;
1595
1652
  }[] | null | undefined;
1596
1653
  previousWeekAvg?: {
1597
1654
  avgResolutionTime: string | null;
1598
1655
  avgResponseTime: string | null;
1656
+ resolutionRate: string;
1599
1657
  } | null | undefined;
1600
1658
  selectedWeekAvg?: {
1601
1659
  avgResolutionTime: string | null;
1602
1660
  avgResponseTime: string | null;
1661
+ resolutionRate: string;
1603
1662
  } | null | undefined;
1604
1663
  }, {
1605
1664
  selectedWeekAvgByDay?: {
1606
1665
  day: string | null;
1607
1666
  avgResolutionTime: string | null;
1608
1667
  avgResponseTime: string | null;
1668
+ resolutionRate: string;
1609
1669
  }[] | null | undefined;
1610
1670
  previousWeekAvg?: {
1611
1671
  avgResolutionTime: string | null;
1612
1672
  avgResponseTime: string | null;
1673
+ resolutionRate: string;
1613
1674
  } | null | undefined;
1614
1675
  selectedWeekAvg?: {
1615
1676
  avgResolutionTime: string | null;
1616
1677
  avgResponseTime: string | null;
1678
+ resolutionRate: string;
1617
1679
  } | null | undefined;
1618
1680
  }>;
1619
1681
  }, "strip", z.ZodTypeAny, {
@@ -1623,14 +1685,17 @@ export declare const dashboardContract: {
1623
1685
  day: string | null;
1624
1686
  avgResolutionTime: string | null;
1625
1687
  avgResponseTime: string | null;
1688
+ resolutionRate: string;
1626
1689
  }[] | null | undefined;
1627
1690
  previousWeekAvg?: {
1628
1691
  avgResolutionTime: string | null;
1629
1692
  avgResponseTime: string | null;
1693
+ resolutionRate: string;
1630
1694
  } | null | undefined;
1631
1695
  selectedWeekAvg?: {
1632
1696
  avgResolutionTime: string | null;
1633
1697
  avgResponseTime: string | null;
1698
+ resolutionRate: string;
1634
1699
  } | null | undefined;
1635
1700
  };
1636
1701
  }, {
@@ -1640,14 +1705,17 @@ export declare const dashboardContract: {
1640
1705
  day: string | null;
1641
1706
  avgResolutionTime: string | null;
1642
1707
  avgResponseTime: string | null;
1708
+ resolutionRate: string;
1643
1709
  }[] | null | undefined;
1644
1710
  previousWeekAvg?: {
1645
1711
  avgResolutionTime: string | null;
1646
1712
  avgResponseTime: string | null;
1713
+ resolutionRate: string;
1647
1714
  } | null | undefined;
1648
1715
  selectedWeekAvg?: {
1649
1716
  avgResolutionTime: string | null;
1650
1717
  avgResponseTime: string | null;
1718
+ resolutionRate: string;
1651
1719
  } | null | undefined;
1652
1720
  };
1653
1721
  }>;
@@ -1680,51 +1748,83 @@ export declare const dashboardContract: {
1680
1748
  'x-client-timezone'?: string | undefined;
1681
1749
  }>>>;
1682
1750
  };
1751
+ exportMessageAverageData: {
1752
+ method: "GET";
1753
+ query: z.ZodObject<{
1754
+ selectedDate: z.ZodString;
1755
+ automationQueueId: z.ZodOptional<z.ZodString>;
1756
+ channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1757
+ fileExtension: z.ZodUnion<[z.ZodLiteral<"csv">, z.ZodLiteral<"xlsx">]>;
1758
+ }, "strip", z.ZodTypeAny, {
1759
+ selectedDate: string;
1760
+ fileExtension: "csv" | "xlsx";
1761
+ automationQueueId?: string | undefined;
1762
+ channelIds?: string[] | undefined;
1763
+ }, {
1764
+ selectedDate: string;
1765
+ fileExtension: "csv" | "xlsx";
1766
+ automationQueueId?: string | undefined;
1767
+ channelIds?: string[] | undefined;
1768
+ }>;
1769
+ responses: {
1770
+ 200: z.ZodObject<{
1771
+ requestId: z.ZodString;
1772
+ }, "strip", z.ZodTypeAny, {
1773
+ requestId: string;
1774
+ }, {
1775
+ requestId: string;
1776
+ }>;
1777
+ };
1778
+ path: "ms/dashboard/export-message-average-data";
1779
+ };
1683
1780
  getChannelIncomingMessageCounts: {
1684
1781
  summary: "Get message platform data";
1685
1782
  method: "GET";
1686
1783
  query: z.ZodObject<{
1784
+ automationQueueId: z.ZodOptional<z.ZodString>;
1687
1785
  selectedDate: z.ZodString;
1688
1786
  channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1689
- agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1787
+ channelCountsFilter: z.ZodOptional<z.ZodDefault<z.ZodUnion<[z.ZodLiteral<"channelName">, z.ZodLiteral<"channelType">]>>>;
1690
1788
  }, "strip", z.ZodTypeAny, {
1691
1789
  selectedDate: string;
1790
+ automationQueueId?: string | undefined;
1692
1791
  channelIds?: string[] | undefined;
1693
- agentIds?: string[] | undefined;
1792
+ channelCountsFilter?: "channelType" | "channelName" | undefined;
1694
1793
  }, {
1695
1794
  selectedDate: string;
1795
+ automationQueueId?: string | undefined;
1696
1796
  channelIds?: string[] | undefined;
1697
- agentIds?: string[] | undefined;
1797
+ channelCountsFilter?: "channelType" | "channelName" | undefined;
1698
1798
  }>;
1699
1799
  responses: {
1700
1800
  200: z.ZodObject<{
1701
1801
  requestId: z.ZodString;
1702
1802
  incomingMessageCounts: z.ZodArray<z.ZodObject<{
1703
- channelName: z.ZodNullable<z.ZodString>;
1704
- channelType: z.ZodNullable<z.ZodString>;
1705
- count: z.ZodNullable<z.ZodString>;
1803
+ channelName: z.ZodOptional<z.ZodString>;
1804
+ channelType: z.ZodString;
1805
+ count: z.ZodNumber;
1706
1806
  }, "strip", z.ZodTypeAny, {
1707
- count: string | null;
1708
- channelType: string | null;
1709
- channelName: string | null;
1807
+ count: number;
1808
+ channelType: string;
1809
+ channelName?: string | undefined;
1710
1810
  }, {
1711
- count: string | null;
1712
- channelType: string | null;
1713
- channelName: string | null;
1811
+ count: number;
1812
+ channelType: string;
1813
+ channelName?: string | undefined;
1714
1814
  }>, "many">;
1715
1815
  }, "strip", z.ZodTypeAny, {
1716
1816
  requestId: string;
1717
1817
  incomingMessageCounts: {
1718
- count: string | null;
1719
- channelType: string | null;
1720
- channelName: string | null;
1818
+ count: number;
1819
+ channelType: string;
1820
+ channelName?: string | undefined;
1721
1821
  }[];
1722
1822
  }, {
1723
1823
  requestId: string;
1724
1824
  incomingMessageCounts: {
1725
- count: string | null;
1726
- channelType: string | null;
1727
- channelName: string | null;
1825
+ count: number;
1826
+ channelType: string;
1827
+ channelName?: string | undefined;
1728
1828
  }[];
1729
1829
  }>;
1730
1830
  401: z.ZodObject<{
@@ -1756,21 +1856,50 @@ export declare const dashboardContract: {
1756
1856
  'x-client-timezone'?: string | undefined;
1757
1857
  }>>>;
1758
1858
  };
1859
+ exportRoomChannelCounts: {
1860
+ method: "GET";
1861
+ query: z.ZodObject<{
1862
+ automationQueueId: z.ZodOptional<z.ZodString>;
1863
+ selectedDate: z.ZodString;
1864
+ channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1865
+ fileExtension: z.ZodUnion<[z.ZodLiteral<"csv">, z.ZodLiteral<"xlsx">]>;
1866
+ }, "strip", z.ZodTypeAny, {
1867
+ selectedDate: string;
1868
+ fileExtension: "csv" | "xlsx";
1869
+ automationQueueId?: string | undefined;
1870
+ channelIds?: string[] | undefined;
1871
+ }, {
1872
+ selectedDate: string;
1873
+ fileExtension: "csv" | "xlsx";
1874
+ automationQueueId?: string | undefined;
1875
+ channelIds?: string[] | undefined;
1876
+ }>;
1877
+ responses: {
1878
+ 200: z.ZodObject<{
1879
+ requestId: z.ZodString;
1880
+ }, "strip", z.ZodTypeAny, {
1881
+ requestId: string;
1882
+ }, {
1883
+ requestId: string;
1884
+ }>;
1885
+ };
1886
+ path: "ms/dashboard/export-room-channel-counts";
1887
+ };
1759
1888
  getMessageRoomStatusDispositionData: {
1760
1889
  summary: "Get message room status disposition data";
1761
1890
  method: "GET";
1762
1891
  query: z.ZodObject<{
1892
+ automationQueueId: z.ZodOptional<z.ZodString>;
1763
1893
  selectedDate: z.ZodString;
1764
1894
  channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1765
- agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1766
1895
  }, "strip", z.ZodTypeAny, {
1767
1896
  selectedDate: string;
1897
+ automationQueueId?: string | undefined;
1768
1898
  channelIds?: string[] | undefined;
1769
- agentIds?: string[] | undefined;
1770
1899
  }, {
1771
1900
  selectedDate: string;
1901
+ automationQueueId?: string | undefined;
1772
1902
  channelIds?: string[] | undefined;
1773
- agentIds?: string[] | undefined;
1774
1903
  }>;
1775
1904
  responses: {
1776
1905
  200: z.ZodObject<{
@@ -1827,19 +1956,51 @@ export declare const dashboardContract: {
1827
1956
  'x-client-timezone'?: string | undefined;
1828
1957
  }>>>;
1829
1958
  };
1959
+ exportRoomDispositionCounts: {
1960
+ method: "GET";
1961
+ query: z.ZodObject<{
1962
+ automationQueueId: z.ZodOptional<z.ZodString>;
1963
+ selectedDate: z.ZodString;
1964
+ channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1965
+ fileExtension: z.ZodUnion<[z.ZodLiteral<"csv">, z.ZodLiteral<"xlsx">]>;
1966
+ }, "strip", z.ZodTypeAny, {
1967
+ selectedDate: string;
1968
+ fileExtension: "csv" | "xlsx";
1969
+ automationQueueId?: string | undefined;
1970
+ channelIds?: string[] | undefined;
1971
+ }, {
1972
+ selectedDate: string;
1973
+ fileExtension: "csv" | "xlsx";
1974
+ automationQueueId?: string | undefined;
1975
+ channelIds?: string[] | undefined;
1976
+ }>;
1977
+ responses: {
1978
+ 200: z.ZodObject<{
1979
+ requestId: z.ZodString;
1980
+ }, "strip", z.ZodTypeAny, {
1981
+ requestId: string;
1982
+ }, {
1983
+ requestId: string;
1984
+ }>;
1985
+ };
1986
+ path: "ms/dashboard/export-room-disposition-counts";
1987
+ };
1830
1988
  getIncomingMessageByPlatform: {
1831
1989
  summary: "Get incoming message by platform";
1832
1990
  method: "GET";
1833
1991
  query: z.ZodObject<{
1834
1992
  selectedDate: z.ZodString;
1993
+ automationQueueId: z.ZodOptional<z.ZodString>;
1835
1994
  channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1836
1995
  agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1837
1996
  }, "strip", z.ZodTypeAny, {
1838
1997
  selectedDate: string;
1998
+ automationQueueId?: string | undefined;
1839
1999
  channelIds?: string[] | undefined;
1840
2000
  agentIds?: string[] | undefined;
1841
2001
  }, {
1842
2002
  selectedDate: string;
2003
+ automationQueueId?: string | undefined;
1843
2004
  channelIds?: string[] | undefined;
1844
2005
  agentIds?: string[] | undefined;
1845
2006
  }>;
@@ -1907,17 +2068,17 @@ export declare const dashboardContract: {
1907
2068
  summary: "Get total incoming message data";
1908
2069
  method: "GET";
1909
2070
  query: z.ZodObject<{
2071
+ automationQueueId: z.ZodOptional<z.ZodString>;
1910
2072
  selectedDate: z.ZodString;
1911
2073
  channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1912
- agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1913
2074
  }, "strip", z.ZodTypeAny, {
1914
2075
  selectedDate: string;
2076
+ automationQueueId?: string | undefined;
1915
2077
  channelIds?: string[] | undefined;
1916
- agentIds?: string[] | undefined;
1917
2078
  }, {
1918
2079
  selectedDate: string;
2080
+ automationQueueId?: string | undefined;
1919
2081
  channelIds?: string[] | undefined;
1920
- agentIds?: string[] | undefined;
1921
2082
  }>;
1922
2083
  responses: {
1923
2084
  200: z.ZodObject<{
@@ -1974,6 +2135,35 @@ export declare const dashboardContract: {
1974
2135
  'x-client-timezone'?: string | undefined;
1975
2136
  }>>>;
1976
2137
  };
2138
+ exportIncomingMessageCounts: {
2139
+ method: "GET";
2140
+ query: z.ZodObject<{
2141
+ automationQueueId: z.ZodOptional<z.ZodString>;
2142
+ selectedDate: z.ZodString;
2143
+ channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2144
+ fileExtension: z.ZodUnion<[z.ZodLiteral<"csv">, z.ZodLiteral<"xlsx">]>;
2145
+ }, "strip", z.ZodTypeAny, {
2146
+ selectedDate: string;
2147
+ fileExtension: "csv" | "xlsx";
2148
+ automationQueueId?: string | undefined;
2149
+ channelIds?: string[] | undefined;
2150
+ }, {
2151
+ selectedDate: string;
2152
+ fileExtension: "csv" | "xlsx";
2153
+ automationQueueId?: string | undefined;
2154
+ channelIds?: string[] | undefined;
2155
+ }>;
2156
+ responses: {
2157
+ 200: z.ZodObject<{
2158
+ requestId: z.ZodString;
2159
+ }, "strip", z.ZodTypeAny, {
2160
+ requestId: string;
2161
+ }, {
2162
+ requestId: string;
2163
+ }>;
2164
+ };
2165
+ path: "ms/dashboard/export-incoming-message-counts";
2166
+ };
1977
2167
  getCallCounts: {
1978
2168
  method: "GET";
1979
2169
  query: z.ZodObject<{
@@ -2036,5 +2226,745 @@ export declare const dashboardContract: {
2036
2226
  };
2037
2227
  path: "ms/dashboard/call-counts";
2038
2228
  };
2229
+ getAllQueueSLA: {
2230
+ method: "GET";
2231
+ query: z.ZodObject<{
2232
+ selectedDate: z.ZodString;
2233
+ }, "strip", z.ZodTypeAny, {
2234
+ selectedDate: string;
2235
+ }, {
2236
+ selectedDate: string;
2237
+ }>;
2238
+ responses: {
2239
+ 200: z.ZodObject<{
2240
+ requestId: z.ZodString;
2241
+ allQueueSLA: z.ZodNumber;
2242
+ }, "strip", z.ZodTypeAny, {
2243
+ requestId: string;
2244
+ allQueueSLA: number;
2245
+ }, {
2246
+ requestId: string;
2247
+ allQueueSLA: number;
2248
+ }>;
2249
+ };
2250
+ path: "ms/dashboard/all-queue-sla";
2251
+ };
2252
+ getAllMessageQueueData: {
2253
+ method: "GET";
2254
+ query: z.ZodObject<{
2255
+ selectedDate: z.ZodString;
2256
+ page: z.ZodNumber;
2257
+ pageSize: z.ZodNumber;
2258
+ }, "strip", z.ZodTypeAny, {
2259
+ page: number;
2260
+ pageSize: number;
2261
+ selectedDate: string;
2262
+ }, {
2263
+ page: number;
2264
+ pageSize: number;
2265
+ selectedDate: string;
2266
+ }>;
2267
+ responses: {
2268
+ 200: z.ZodObject<{
2269
+ requestId: z.ZodString;
2270
+ allMessageQueueData: z.ZodArray<z.ZodObject<{
2271
+ id: z.ZodNullable<z.ZodString>;
2272
+ name: z.ZodString;
2273
+ sla: z.ZodNumber;
2274
+ newContactCount: z.ZodNumber;
2275
+ existingContactCount: z.ZodNumber;
2276
+ totalRoomCount: z.ZodNumber;
2277
+ closedRoomCount: z.ZodNumber;
2278
+ unassignedRoomCount: z.ZodNumber;
2279
+ assignedRoomCount: z.ZodNumber;
2280
+ holdRoomCount: z.ZodNumber;
2281
+ }, "strip", z.ZodTypeAny, {
2282
+ name: string;
2283
+ id: string | null;
2284
+ sla: number;
2285
+ newContactCount: number;
2286
+ existingContactCount: number;
2287
+ totalRoomCount: number;
2288
+ closedRoomCount: number;
2289
+ unassignedRoomCount: number;
2290
+ assignedRoomCount: number;
2291
+ holdRoomCount: number;
2292
+ }, {
2293
+ name: string;
2294
+ id: string | null;
2295
+ sla: number;
2296
+ newContactCount: number;
2297
+ existingContactCount: number;
2298
+ totalRoomCount: number;
2299
+ closedRoomCount: number;
2300
+ unassignedRoomCount: number;
2301
+ assignedRoomCount: number;
2302
+ holdRoomCount: number;
2303
+ }>, "many">;
2304
+ page: z.ZodNumber;
2305
+ pageSize: z.ZodNumber;
2306
+ total: z.ZodNumber;
2307
+ }, "strip", z.ZodTypeAny, {
2308
+ total: number;
2309
+ page: number;
2310
+ pageSize: number;
2311
+ requestId: string;
2312
+ allMessageQueueData: {
2313
+ name: string;
2314
+ id: string | null;
2315
+ sla: number;
2316
+ newContactCount: number;
2317
+ existingContactCount: number;
2318
+ totalRoomCount: number;
2319
+ closedRoomCount: number;
2320
+ unassignedRoomCount: number;
2321
+ assignedRoomCount: number;
2322
+ holdRoomCount: number;
2323
+ }[];
2324
+ }, {
2325
+ total: number;
2326
+ page: number;
2327
+ pageSize: number;
2328
+ requestId: string;
2329
+ allMessageQueueData: {
2330
+ name: string;
2331
+ id: string | null;
2332
+ sla: number;
2333
+ newContactCount: number;
2334
+ existingContactCount: number;
2335
+ totalRoomCount: number;
2336
+ closedRoomCount: number;
2337
+ unassignedRoomCount: number;
2338
+ assignedRoomCount: number;
2339
+ holdRoomCount: number;
2340
+ }[];
2341
+ }>;
2342
+ };
2343
+ path: "ms/dashboard/all-message-queue-data";
2344
+ };
2345
+ getMessageQueueData: {
2346
+ method: "GET";
2347
+ query: z.ZodObject<{
2348
+ automationQueueId: z.ZodOptional<z.ZodString>;
2349
+ selectedDate: z.ZodString;
2350
+ channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2351
+ }, "strip", z.ZodTypeAny, {
2352
+ selectedDate: string;
2353
+ automationQueueId?: string | undefined;
2354
+ channelIds?: string[] | undefined;
2355
+ }, {
2356
+ selectedDate: string;
2357
+ automationQueueId?: string | undefined;
2358
+ channelIds?: string[] | undefined;
2359
+ }>;
2360
+ responses: {
2361
+ 200: z.ZodObject<{
2362
+ requestId: z.ZodString;
2363
+ messageQueueData: z.ZodObject<{
2364
+ id: z.ZodNullable<z.ZodString>;
2365
+ name: z.ZodString;
2366
+ sla: z.ZodNumber;
2367
+ newContactCount: z.ZodNumber;
2368
+ existingContactCount: z.ZodNumber;
2369
+ totalRoomCount: z.ZodNumber;
2370
+ closedRoomCount: z.ZodNumber;
2371
+ unassignedRoomCount: z.ZodNumber;
2372
+ assignedRoomCount: z.ZodNumber;
2373
+ holdRoomCount: z.ZodNumber;
2374
+ }, "strip", z.ZodTypeAny, {
2375
+ name: string;
2376
+ id: string | null;
2377
+ sla: number;
2378
+ newContactCount: number;
2379
+ existingContactCount: number;
2380
+ totalRoomCount: number;
2381
+ closedRoomCount: number;
2382
+ unassignedRoomCount: number;
2383
+ assignedRoomCount: number;
2384
+ holdRoomCount: number;
2385
+ }, {
2386
+ name: string;
2387
+ id: string | null;
2388
+ sla: number;
2389
+ newContactCount: number;
2390
+ existingContactCount: number;
2391
+ totalRoomCount: number;
2392
+ closedRoomCount: number;
2393
+ unassignedRoomCount: number;
2394
+ assignedRoomCount: number;
2395
+ holdRoomCount: number;
2396
+ }>;
2397
+ }, "strip", z.ZodTypeAny, {
2398
+ requestId: string;
2399
+ messageQueueData: {
2400
+ name: string;
2401
+ id: string | null;
2402
+ sla: number;
2403
+ newContactCount: number;
2404
+ existingContactCount: number;
2405
+ totalRoomCount: number;
2406
+ closedRoomCount: number;
2407
+ unassignedRoomCount: number;
2408
+ assignedRoomCount: number;
2409
+ holdRoomCount: number;
2410
+ };
2411
+ }, {
2412
+ requestId: string;
2413
+ messageQueueData: {
2414
+ name: string;
2415
+ id: string | null;
2416
+ sla: number;
2417
+ newContactCount: number;
2418
+ existingContactCount: number;
2419
+ totalRoomCount: number;
2420
+ closedRoomCount: number;
2421
+ unassignedRoomCount: number;
2422
+ assignedRoomCount: number;
2423
+ holdRoomCount: number;
2424
+ };
2425
+ }>;
2426
+ };
2427
+ path: "ms/dashboard/message-queue-data";
2428
+ };
2429
+ getAgentMessageStatistics: {
2430
+ method: "GET";
2431
+ query: z.ZodObject<{
2432
+ automationQueueId: z.ZodOptional<z.ZodString>;
2433
+ selectedDate: z.ZodString;
2434
+ channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2435
+ page: z.ZodNumber;
2436
+ pageSize: z.ZodNumber;
2437
+ }, "strip", z.ZodTypeAny, {
2438
+ page: number;
2439
+ pageSize: number;
2440
+ selectedDate: string;
2441
+ automationQueueId?: string | undefined;
2442
+ channelIds?: string[] | undefined;
2443
+ }, {
2444
+ page: number;
2445
+ pageSize: number;
2446
+ selectedDate: string;
2447
+ automationQueueId?: string | undefined;
2448
+ channelIds?: string[] | undefined;
2449
+ }>;
2450
+ responses: {
2451
+ 200: z.ZodObject<{
2452
+ requestId: z.ZodString;
2453
+ page: z.ZodNumber;
2454
+ pageSize: z.ZodNumber;
2455
+ lastPage: z.ZodNumber;
2456
+ total: z.ZodNumber;
2457
+ agentMessageStatistics: z.ZodNullable<z.ZodArray<z.ZodObject<{
2458
+ id: z.ZodString;
2459
+ name: z.ZodString;
2460
+ assignedRoomCount: z.ZodNumber;
2461
+ holdRoomCount: z.ZodNumber;
2462
+ closedRoomCount: z.ZodNumber;
2463
+ averageFirstResponseTime: z.ZodString;
2464
+ averageResolutionTime: z.ZodString;
2465
+ totalHandledTime: z.ZodString;
2466
+ }, "strip", z.ZodTypeAny, {
2467
+ name: string;
2468
+ id: string;
2469
+ closedRoomCount: number;
2470
+ assignedRoomCount: number;
2471
+ holdRoomCount: number;
2472
+ averageFirstResponseTime: string;
2473
+ averageResolutionTime: string;
2474
+ totalHandledTime: string;
2475
+ }, {
2476
+ name: string;
2477
+ id: string;
2478
+ closedRoomCount: number;
2479
+ assignedRoomCount: number;
2480
+ holdRoomCount: number;
2481
+ averageFirstResponseTime: string;
2482
+ averageResolutionTime: string;
2483
+ totalHandledTime: string;
2484
+ }>, "many">>;
2485
+ }, "strip", z.ZodTypeAny, {
2486
+ total: number;
2487
+ page: number;
2488
+ pageSize: number;
2489
+ lastPage: number;
2490
+ requestId: string;
2491
+ agentMessageStatistics: {
2492
+ name: string;
2493
+ id: string;
2494
+ closedRoomCount: number;
2495
+ assignedRoomCount: number;
2496
+ holdRoomCount: number;
2497
+ averageFirstResponseTime: string;
2498
+ averageResolutionTime: string;
2499
+ totalHandledTime: string;
2500
+ }[] | null;
2501
+ }, {
2502
+ total: number;
2503
+ page: number;
2504
+ pageSize: number;
2505
+ lastPage: number;
2506
+ requestId: string;
2507
+ agentMessageStatistics: {
2508
+ name: string;
2509
+ id: string;
2510
+ closedRoomCount: number;
2511
+ assignedRoomCount: number;
2512
+ holdRoomCount: number;
2513
+ averageFirstResponseTime: string;
2514
+ averageResolutionTime: string;
2515
+ totalHandledTime: string;
2516
+ }[] | null;
2517
+ }>;
2518
+ };
2519
+ path: "ms/dashboard/agent-message-statistics";
2520
+ };
2521
+ exportAgentMessageStatistics: {
2522
+ method: "GET";
2523
+ query: z.ZodObject<{
2524
+ automationQueueId: z.ZodOptional<z.ZodString>;
2525
+ selectedDate: z.ZodString;
2526
+ channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2527
+ fileExtension: z.ZodUnion<[z.ZodLiteral<"csv">, z.ZodLiteral<"xlsx">]>;
2528
+ }, "strip", z.ZodTypeAny, {
2529
+ selectedDate: string;
2530
+ fileExtension: "csv" | "xlsx";
2531
+ automationQueueId?: string | undefined;
2532
+ channelIds?: string[] | undefined;
2533
+ }, {
2534
+ selectedDate: string;
2535
+ fileExtension: "csv" | "xlsx";
2536
+ automationQueueId?: string | undefined;
2537
+ channelIds?: string[] | undefined;
2538
+ }>;
2539
+ responses: {
2540
+ 200: z.ZodObject<{
2541
+ requestId: z.ZodString;
2542
+ }, "strip", z.ZodTypeAny, {
2543
+ requestId: string;
2544
+ }, {
2545
+ requestId: string;
2546
+ }>;
2547
+ };
2548
+ path: "ms/dashboard/export-agent-message-statistics";
2549
+ };
2550
+ getUserCheckInLogsWithDays: {
2551
+ method: "GET";
2552
+ query: z.ZodObject<{
2553
+ automationQueueId: z.ZodOptional<z.ZodString>;
2554
+ selectedDate: z.ZodString;
2555
+ keyword: z.ZodOptional<z.ZodString>;
2556
+ page: z.ZodNumber;
2557
+ pageSize: z.ZodNumber;
2558
+ }, "strip", z.ZodTypeAny, {
2559
+ page: number;
2560
+ pageSize: number;
2561
+ selectedDate: string;
2562
+ automationQueueId?: string | undefined;
2563
+ keyword?: string | undefined;
2564
+ }, {
2565
+ page: number;
2566
+ pageSize: number;
2567
+ selectedDate: string;
2568
+ automationQueueId?: string | undefined;
2569
+ keyword?: string | undefined;
2570
+ }>;
2571
+ responses: {
2572
+ 200: z.ZodObject<{
2573
+ requestId: z.ZodString;
2574
+ page: z.ZodNumber;
2575
+ pageSize: z.ZodNumber;
2576
+ total: z.ZodNumber;
2577
+ userCheckInLogsWithDays: z.ZodArray<z.ZodObject<{
2578
+ date: z.ZodDate;
2579
+ formattedDate: z.ZodString;
2580
+ userCheckInLogs: z.ZodArray<z.ZodObject<{
2581
+ userId: z.ZodString;
2582
+ firstLoginTime: z.ZodString;
2583
+ lastLogoutTime: z.ZodNullable<z.ZodString>;
2584
+ totalLoginDuration: z.ZodNullable<z.ZodString>;
2585
+ averageFirstResponseTime: z.ZodNullable<z.ZodString>;
2586
+ averageResolutionTime: z.ZodNullable<z.ZodString>;
2587
+ totalHandledTime: z.ZodNullable<z.ZodString>;
2588
+ }, "strip", z.ZodTypeAny, {
2589
+ userId: string;
2590
+ averageFirstResponseTime: string | null;
2591
+ averageResolutionTime: string | null;
2592
+ totalHandledTime: string | null;
2593
+ firstLoginTime: string;
2594
+ lastLogoutTime: string | null;
2595
+ totalLoginDuration: string | null;
2596
+ }, {
2597
+ userId: string;
2598
+ averageFirstResponseTime: string | null;
2599
+ averageResolutionTime: string | null;
2600
+ totalHandledTime: string | null;
2601
+ firstLoginTime: string;
2602
+ lastLogoutTime: string | null;
2603
+ totalLoginDuration: string | null;
2604
+ }>, "many">;
2605
+ }, "strip", z.ZodTypeAny, {
2606
+ date: Date;
2607
+ formattedDate: string;
2608
+ userCheckInLogs: {
2609
+ userId: string;
2610
+ averageFirstResponseTime: string | null;
2611
+ averageResolutionTime: string | null;
2612
+ totalHandledTime: string | null;
2613
+ firstLoginTime: string;
2614
+ lastLogoutTime: string | null;
2615
+ totalLoginDuration: string | null;
2616
+ }[];
2617
+ }, {
2618
+ date: Date;
2619
+ formattedDate: string;
2620
+ userCheckInLogs: {
2621
+ userId: string;
2622
+ averageFirstResponseTime: string | null;
2623
+ averageResolutionTime: string | null;
2624
+ totalHandledTime: string | null;
2625
+ firstLoginTime: string;
2626
+ lastLogoutTime: string | null;
2627
+ totalLoginDuration: string | null;
2628
+ }[];
2629
+ }>, "many">;
2630
+ }, "strip", z.ZodTypeAny, {
2631
+ total: number;
2632
+ page: number;
2633
+ pageSize: number;
2634
+ requestId: string;
2635
+ userCheckInLogsWithDays: {
2636
+ date: Date;
2637
+ formattedDate: string;
2638
+ userCheckInLogs: {
2639
+ userId: string;
2640
+ averageFirstResponseTime: string | null;
2641
+ averageResolutionTime: string | null;
2642
+ totalHandledTime: string | null;
2643
+ firstLoginTime: string;
2644
+ lastLogoutTime: string | null;
2645
+ totalLoginDuration: string | null;
2646
+ }[];
2647
+ }[];
2648
+ }, {
2649
+ total: number;
2650
+ page: number;
2651
+ pageSize: number;
2652
+ requestId: string;
2653
+ userCheckInLogsWithDays: {
2654
+ date: Date;
2655
+ formattedDate: string;
2656
+ userCheckInLogs: {
2657
+ userId: string;
2658
+ averageFirstResponseTime: string | null;
2659
+ averageResolutionTime: string | null;
2660
+ totalHandledTime: string | null;
2661
+ firstLoginTime: string;
2662
+ lastLogoutTime: string | null;
2663
+ totalLoginDuration: string | null;
2664
+ }[];
2665
+ }[];
2666
+ }>;
2667
+ };
2668
+ path: "ms/dashboard/user-check-in-logs-with-days";
2669
+ };
2670
+ exportUserCheckInLogs: {
2671
+ method: "GET";
2672
+ query: z.ZodObject<{
2673
+ automationQueueId: z.ZodOptional<z.ZodString>;
2674
+ selectedDate: z.ZodString;
2675
+ keyword: z.ZodOptional<z.ZodString>;
2676
+ fileExtension: z.ZodUnion<[z.ZodLiteral<"csv">, z.ZodLiteral<"xlsx">]>;
2677
+ }, "strip", z.ZodTypeAny, {
2678
+ selectedDate: string;
2679
+ fileExtension: "csv" | "xlsx";
2680
+ automationQueueId?: string | undefined;
2681
+ keyword?: string | undefined;
2682
+ }, {
2683
+ selectedDate: string;
2684
+ fileExtension: "csv" | "xlsx";
2685
+ automationQueueId?: string | undefined;
2686
+ keyword?: string | undefined;
2687
+ }>;
2688
+ responses: {
2689
+ 200: z.ZodObject<{
2690
+ requestId: z.ZodString;
2691
+ }, "strip", z.ZodTypeAny, {
2692
+ requestId: string;
2693
+ }, {
2694
+ requestId: string;
2695
+ }>;
2696
+ };
2697
+ path: "ms/dashboard/export-user-check-in-logs";
2698
+ };
2699
+ getRoomStatusCountsByUserId: {
2700
+ method: "GET";
2701
+ query: z.ZodObject<{
2702
+ automationQueueId: z.ZodOptional<z.ZodString>;
2703
+ userId: z.ZodString;
2704
+ selectedDate: z.ZodString;
2705
+ }, "strip", z.ZodTypeAny, {
2706
+ userId: string;
2707
+ selectedDate: string;
2708
+ automationQueueId?: string | undefined;
2709
+ }, {
2710
+ userId: string;
2711
+ selectedDate: string;
2712
+ automationQueueId?: string | undefined;
2713
+ }>;
2714
+ responses: {
2715
+ 200: z.ZodObject<{
2716
+ requestId: z.ZodString;
2717
+ assignedRoomCount: z.ZodNumber;
2718
+ holdRoomCount: z.ZodNumber;
2719
+ closedRoomCount: z.ZodNumber;
2720
+ }, "strip", z.ZodTypeAny, {
2721
+ requestId: string;
2722
+ closedRoomCount: number;
2723
+ assignedRoomCount: number;
2724
+ holdRoomCount: number;
2725
+ }, {
2726
+ requestId: string;
2727
+ closedRoomCount: number;
2728
+ assignedRoomCount: number;
2729
+ holdRoomCount: number;
2730
+ }>;
2731
+ };
2732
+ path: "ms/dashboard/room-status-counts-by-user-id";
2733
+ };
2734
+ getPresenceStatusDurations: {
2735
+ method: "GET";
2736
+ query: z.ZodObject<{
2737
+ userId: z.ZodString;
2738
+ selectedDate: z.ZodString;
2739
+ page: z.ZodNumber;
2740
+ pageSize: z.ZodNumber;
2741
+ }, "strip", z.ZodTypeAny, {
2742
+ page: number;
2743
+ pageSize: number;
2744
+ userId: string;
2745
+ selectedDate: string;
2746
+ }, {
2747
+ page: number;
2748
+ pageSize: number;
2749
+ userId: string;
2750
+ selectedDate: string;
2751
+ }>;
2752
+ responses: {
2753
+ 200: z.ZodObject<{
2754
+ requestId: z.ZodString;
2755
+ presenceStatusDurations: z.ZodArray<z.ZodObject<{
2756
+ formattedDate: z.ZodString;
2757
+ date: z.ZodDate;
2758
+ presenceStatusDurationLogs: z.ZodArray<z.ZodObject<{
2759
+ presenceStatusId: z.ZodString;
2760
+ presenceStatusName: z.ZodString;
2761
+ durationSeconds: z.ZodNumber;
2762
+ }, "strip", z.ZodTypeAny, {
2763
+ presenceStatusId: string;
2764
+ presenceStatusName: string;
2765
+ durationSeconds: number;
2766
+ }, {
2767
+ presenceStatusId: string;
2768
+ presenceStatusName: string;
2769
+ durationSeconds: number;
2770
+ }>, "many">;
2771
+ }, "strip", z.ZodTypeAny, {
2772
+ date: Date;
2773
+ formattedDate: string;
2774
+ presenceStatusDurationLogs: {
2775
+ presenceStatusId: string;
2776
+ presenceStatusName: string;
2777
+ durationSeconds: number;
2778
+ }[];
2779
+ }, {
2780
+ date: Date;
2781
+ formattedDate: string;
2782
+ presenceStatusDurationLogs: {
2783
+ presenceStatusId: string;
2784
+ presenceStatusName: string;
2785
+ durationSeconds: number;
2786
+ }[];
2787
+ }>, "many">;
2788
+ page: z.ZodNumber;
2789
+ pageSize: z.ZodNumber;
2790
+ total: z.ZodNumber;
2791
+ }, "strip", z.ZodTypeAny, {
2792
+ total: number;
2793
+ page: number;
2794
+ pageSize: number;
2795
+ requestId: string;
2796
+ presenceStatusDurations: {
2797
+ date: Date;
2798
+ formattedDate: string;
2799
+ presenceStatusDurationLogs: {
2800
+ presenceStatusId: string;
2801
+ presenceStatusName: string;
2802
+ durationSeconds: number;
2803
+ }[];
2804
+ }[];
2805
+ }, {
2806
+ total: number;
2807
+ page: number;
2808
+ pageSize: number;
2809
+ requestId: string;
2810
+ presenceStatusDurations: {
2811
+ date: Date;
2812
+ formattedDate: string;
2813
+ presenceStatusDurationLogs: {
2814
+ presenceStatusId: string;
2815
+ presenceStatusName: string;
2816
+ durationSeconds: number;
2817
+ }[];
2818
+ }[];
2819
+ }>;
2820
+ };
2821
+ path: "ms/dashboard/presence-status-durations";
2822
+ };
2823
+ getUserCheckInLogsByUserId: {
2824
+ method: "GET";
2825
+ query: z.ZodObject<{
2826
+ automationQueueId: z.ZodOptional<z.ZodString>;
2827
+ userId: z.ZodString;
2828
+ selectedDate: z.ZodString;
2829
+ page: z.ZodNumber;
2830
+ pageSize: z.ZodNumber;
2831
+ }, "strip", z.ZodTypeAny, {
2832
+ page: number;
2833
+ pageSize: number;
2834
+ userId: string;
2835
+ selectedDate: string;
2836
+ automationQueueId?: string | undefined;
2837
+ }, {
2838
+ page: number;
2839
+ pageSize: number;
2840
+ userId: string;
2841
+ selectedDate: string;
2842
+ automationQueueId?: string | undefined;
2843
+ }>;
2844
+ responses: {
2845
+ 200: z.ZodObject<{
2846
+ requestId: z.ZodString;
2847
+ userCheckInLogs: z.ZodArray<z.ZodObject<{
2848
+ formattedDate: z.ZodString;
2849
+ day: z.ZodDate;
2850
+ userCheckInLog: z.ZodObject<{
2851
+ userId: z.ZodString;
2852
+ firstLoginTime: z.ZodString;
2853
+ lastLogoutTime: z.ZodNullable<z.ZodString>;
2854
+ totalLoginDuration: z.ZodNullable<z.ZodString>;
2855
+ averageFirstResponseTime: z.ZodNullable<z.ZodString>;
2856
+ averageResolutionTime: z.ZodNullable<z.ZodString>;
2857
+ totalHandledTime: z.ZodNullable<z.ZodString>;
2858
+ }, "strip", z.ZodTypeAny, {
2859
+ userId: string;
2860
+ averageFirstResponseTime: string | null;
2861
+ averageResolutionTime: string | null;
2862
+ totalHandledTime: string | null;
2863
+ firstLoginTime: string;
2864
+ lastLogoutTime: string | null;
2865
+ totalLoginDuration: string | null;
2866
+ }, {
2867
+ userId: string;
2868
+ averageFirstResponseTime: string | null;
2869
+ averageResolutionTime: string | null;
2870
+ totalHandledTime: string | null;
2871
+ firstLoginTime: string;
2872
+ lastLogoutTime: string | null;
2873
+ totalLoginDuration: string | null;
2874
+ }>;
2875
+ }, "strip", z.ZodTypeAny, {
2876
+ day: Date;
2877
+ formattedDate: string;
2878
+ userCheckInLog: {
2879
+ userId: string;
2880
+ averageFirstResponseTime: string | null;
2881
+ averageResolutionTime: string | null;
2882
+ totalHandledTime: string | null;
2883
+ firstLoginTime: string;
2884
+ lastLogoutTime: string | null;
2885
+ totalLoginDuration: string | null;
2886
+ };
2887
+ }, {
2888
+ day: Date;
2889
+ formattedDate: string;
2890
+ userCheckInLog: {
2891
+ userId: string;
2892
+ averageFirstResponseTime: string | null;
2893
+ averageResolutionTime: string | null;
2894
+ totalHandledTime: string | null;
2895
+ firstLoginTime: string;
2896
+ lastLogoutTime: string | null;
2897
+ totalLoginDuration: string | null;
2898
+ };
2899
+ }>, "many">;
2900
+ page: z.ZodNumber;
2901
+ pageSize: z.ZodNumber;
2902
+ total: z.ZodNumber;
2903
+ }, "strip", z.ZodTypeAny, {
2904
+ total: number;
2905
+ page: number;
2906
+ pageSize: number;
2907
+ requestId: string;
2908
+ userCheckInLogs: {
2909
+ day: Date;
2910
+ formattedDate: string;
2911
+ userCheckInLog: {
2912
+ userId: string;
2913
+ averageFirstResponseTime: string | null;
2914
+ averageResolutionTime: string | null;
2915
+ totalHandledTime: string | null;
2916
+ firstLoginTime: string;
2917
+ lastLogoutTime: string | null;
2918
+ totalLoginDuration: string | null;
2919
+ };
2920
+ }[];
2921
+ }, {
2922
+ total: number;
2923
+ page: number;
2924
+ pageSize: number;
2925
+ requestId: string;
2926
+ userCheckInLogs: {
2927
+ day: Date;
2928
+ formattedDate: string;
2929
+ userCheckInLog: {
2930
+ userId: string;
2931
+ averageFirstResponseTime: string | null;
2932
+ averageResolutionTime: string | null;
2933
+ totalHandledTime: string | null;
2934
+ firstLoginTime: string;
2935
+ lastLogoutTime: string | null;
2936
+ totalLoginDuration: string | null;
2937
+ };
2938
+ }[];
2939
+ }>;
2940
+ };
2941
+ path: "ms/dashboard/user-check-in-logs-by-user-id";
2942
+ };
2943
+ exportUserCheckInLogsByUserId: {
2944
+ method: "GET";
2945
+ query: z.ZodObject<{
2946
+ userId: z.ZodString;
2947
+ selectedDate: z.ZodString;
2948
+ fileExtension: z.ZodUnion<[z.ZodLiteral<"csv">, z.ZodLiteral<"xlsx">]>;
2949
+ }, "strip", z.ZodTypeAny, {
2950
+ userId: string;
2951
+ selectedDate: string;
2952
+ fileExtension: "csv" | "xlsx";
2953
+ }, {
2954
+ userId: string;
2955
+ selectedDate: string;
2956
+ fileExtension: "csv" | "xlsx";
2957
+ }>;
2958
+ responses: {
2959
+ 200: z.ZodObject<{
2960
+ requestId: z.ZodString;
2961
+ }, "strip", z.ZodTypeAny, {
2962
+ requestId: string;
2963
+ }, {
2964
+ requestId: string;
2965
+ }>;
2966
+ };
2967
+ path: "ms/dashboard/export-user-check-in-logs-by-user-id";
2968
+ };
2039
2969
  };
2040
2970
  //# sourceMappingURL=index.d.ts.map