@kl1/contracts 1.3.33 → 1.3.35

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) 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 +5 -5
  4. package/dist/api-contracts/src/channel/index.d.ts +1573 -31
  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 +9415 -2931
  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 +952 -30
  25. package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
  26. package/dist/api-contracts/src/dashboard/schema.d.ts +164 -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 +122 -50
  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 +16 -10
  55. package/dist/api-contracts/src/presence-status/schema.d.ts.map +1 -1
  56. package/dist/api-contracts/src/presence-status/validation.d.ts +30 -12
  57. package/dist/api-contracts/src/presence-status/validation.d.ts.map +1 -1
  58. package/dist/api-contracts/src/sms/index.d.ts +185 -7
  59. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  60. package/dist/api-contracts/src/telegram/index.d.ts +327 -41
  61. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  62. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +60 -439
  63. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  64. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +25 -13
  65. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  66. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts +0 -3
  67. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts.map +1 -1
  68. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +40 -16
  69. package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
  70. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +50 -20
  71. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
  72. package/dist/api-contracts/src/viber/index.d.ts +327 -41
  73. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  74. package/dist/api-contracts/src/webchat/index.d.ts +327 -41
  75. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  76. package/dist/api-contracts/src/whatsapp/index.d.ts +379 -41
  77. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  78. package/dist/api-contracts/src/workflow-rule/index.d.ts +151 -17
  79. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  80. package/dist/index.js +668 -315
  81. package/dist/index.js.map +1 -1
  82. package/dist/index.mjs +666 -315
  83. package/dist/index.mjs.map +1 -1
  84. 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,75 @@ 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">>;
1690
1787
  }, "strip", z.ZodTypeAny, {
1691
1788
  selectedDate: string;
1789
+ automationQueueId?: string | undefined;
1692
1790
  channelIds?: string[] | undefined;
1693
- agentIds?: string[] | undefined;
1694
1791
  }, {
1695
1792
  selectedDate: string;
1793
+ automationQueueId?: string | undefined;
1696
1794
  channelIds?: string[] | undefined;
1697
- agentIds?: string[] | undefined;
1698
1795
  }>;
1699
1796
  responses: {
1700
1797
  200: z.ZodObject<{
1701
1798
  requestId: z.ZodString;
1702
1799
  incomingMessageCounts: z.ZodArray<z.ZodObject<{
1703
- channelName: z.ZodNullable<z.ZodString>;
1704
- channelType: z.ZodNullable<z.ZodString>;
1705
- count: z.ZodNullable<z.ZodString>;
1800
+ channelType: z.ZodString;
1801
+ count: z.ZodNumber;
1706
1802
  }, "strip", z.ZodTypeAny, {
1707
- count: string | null;
1708
- channelType: string | null;
1709
- channelName: string | null;
1803
+ count: number;
1804
+ channelType: string;
1710
1805
  }, {
1711
- count: string | null;
1712
- channelType: string | null;
1713
- channelName: string | null;
1806
+ count: number;
1807
+ channelType: string;
1714
1808
  }>, "many">;
1715
1809
  }, "strip", z.ZodTypeAny, {
1716
1810
  requestId: string;
1717
1811
  incomingMessageCounts: {
1718
- count: string | null;
1719
- channelType: string | null;
1720
- channelName: string | null;
1812
+ count: number;
1813
+ channelType: string;
1721
1814
  }[];
1722
1815
  }, {
1723
1816
  requestId: string;
1724
1817
  incomingMessageCounts: {
1725
- count: string | null;
1726
- channelType: string | null;
1727
- channelName: string | null;
1818
+ count: number;
1819
+ channelType: string;
1728
1820
  }[];
1729
1821
  }>;
1730
1822
  401: z.ZodObject<{
@@ -1756,21 +1848,50 @@ export declare const dashboardContract: {
1756
1848
  'x-client-timezone'?: string | undefined;
1757
1849
  }>>>;
1758
1850
  };
1851
+ exportRoomChannelCounts: {
1852
+ method: "GET";
1853
+ query: z.ZodObject<{
1854
+ automationQueueId: z.ZodOptional<z.ZodString>;
1855
+ selectedDate: z.ZodString;
1856
+ channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1857
+ fileExtension: z.ZodUnion<[z.ZodLiteral<"csv">, z.ZodLiteral<"xlsx">]>;
1858
+ }, "strip", z.ZodTypeAny, {
1859
+ selectedDate: string;
1860
+ fileExtension: "csv" | "xlsx";
1861
+ automationQueueId?: string | undefined;
1862
+ channelIds?: string[] | undefined;
1863
+ }, {
1864
+ selectedDate: string;
1865
+ fileExtension: "csv" | "xlsx";
1866
+ automationQueueId?: string | undefined;
1867
+ channelIds?: string[] | undefined;
1868
+ }>;
1869
+ responses: {
1870
+ 200: z.ZodObject<{
1871
+ requestId: z.ZodString;
1872
+ }, "strip", z.ZodTypeAny, {
1873
+ requestId: string;
1874
+ }, {
1875
+ requestId: string;
1876
+ }>;
1877
+ };
1878
+ path: "ms/dashboard/export-room-channel-counts";
1879
+ };
1759
1880
  getMessageRoomStatusDispositionData: {
1760
1881
  summary: "Get message room status disposition data";
1761
1882
  method: "GET";
1762
1883
  query: z.ZodObject<{
1884
+ automationQueueId: z.ZodOptional<z.ZodString>;
1763
1885
  selectedDate: z.ZodString;
1764
1886
  channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1765
- agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1766
1887
  }, "strip", z.ZodTypeAny, {
1767
1888
  selectedDate: string;
1889
+ automationQueueId?: string | undefined;
1768
1890
  channelIds?: string[] | undefined;
1769
- agentIds?: string[] | undefined;
1770
1891
  }, {
1771
1892
  selectedDate: string;
1893
+ automationQueueId?: string | undefined;
1772
1894
  channelIds?: string[] | undefined;
1773
- agentIds?: string[] | undefined;
1774
1895
  }>;
1775
1896
  responses: {
1776
1897
  200: z.ZodObject<{
@@ -1827,19 +1948,51 @@ export declare const dashboardContract: {
1827
1948
  'x-client-timezone'?: string | undefined;
1828
1949
  }>>>;
1829
1950
  };
1951
+ exportRoomDispositionCounts: {
1952
+ method: "GET";
1953
+ query: z.ZodObject<{
1954
+ automationQueueId: z.ZodOptional<z.ZodString>;
1955
+ selectedDate: z.ZodString;
1956
+ channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1957
+ fileExtension: z.ZodUnion<[z.ZodLiteral<"csv">, z.ZodLiteral<"xlsx">]>;
1958
+ }, "strip", z.ZodTypeAny, {
1959
+ selectedDate: string;
1960
+ fileExtension: "csv" | "xlsx";
1961
+ automationQueueId?: string | undefined;
1962
+ channelIds?: string[] | undefined;
1963
+ }, {
1964
+ selectedDate: string;
1965
+ fileExtension: "csv" | "xlsx";
1966
+ automationQueueId?: string | undefined;
1967
+ channelIds?: string[] | undefined;
1968
+ }>;
1969
+ responses: {
1970
+ 200: z.ZodObject<{
1971
+ requestId: z.ZodString;
1972
+ }, "strip", z.ZodTypeAny, {
1973
+ requestId: string;
1974
+ }, {
1975
+ requestId: string;
1976
+ }>;
1977
+ };
1978
+ path: "ms/dashboard/export-room-disposition-counts";
1979
+ };
1830
1980
  getIncomingMessageByPlatform: {
1831
1981
  summary: "Get incoming message by platform";
1832
1982
  method: "GET";
1833
1983
  query: z.ZodObject<{
1834
1984
  selectedDate: z.ZodString;
1985
+ automationQueueId: z.ZodOptional<z.ZodString>;
1835
1986
  channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1836
1987
  agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1837
1988
  }, "strip", z.ZodTypeAny, {
1838
1989
  selectedDate: string;
1990
+ automationQueueId?: string | undefined;
1839
1991
  channelIds?: string[] | undefined;
1840
1992
  agentIds?: string[] | undefined;
1841
1993
  }, {
1842
1994
  selectedDate: string;
1995
+ automationQueueId?: string | undefined;
1843
1996
  channelIds?: string[] | undefined;
1844
1997
  agentIds?: string[] | undefined;
1845
1998
  }>;
@@ -1907,17 +2060,17 @@ export declare const dashboardContract: {
1907
2060
  summary: "Get total incoming message data";
1908
2061
  method: "GET";
1909
2062
  query: z.ZodObject<{
2063
+ automationQueueId: z.ZodOptional<z.ZodString>;
1910
2064
  selectedDate: z.ZodString;
1911
2065
  channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1912
- agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1913
2066
  }, "strip", z.ZodTypeAny, {
1914
2067
  selectedDate: string;
2068
+ automationQueueId?: string | undefined;
1915
2069
  channelIds?: string[] | undefined;
1916
- agentIds?: string[] | undefined;
1917
2070
  }, {
1918
2071
  selectedDate: string;
2072
+ automationQueueId?: string | undefined;
1919
2073
  channelIds?: string[] | undefined;
1920
- agentIds?: string[] | undefined;
1921
2074
  }>;
1922
2075
  responses: {
1923
2076
  200: z.ZodObject<{
@@ -1974,6 +2127,35 @@ export declare const dashboardContract: {
1974
2127
  'x-client-timezone'?: string | undefined;
1975
2128
  }>>>;
1976
2129
  };
2130
+ exportIncomingMessageCounts: {
2131
+ method: "GET";
2132
+ query: z.ZodObject<{
2133
+ automationQueueId: z.ZodOptional<z.ZodString>;
2134
+ selectedDate: z.ZodString;
2135
+ channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2136
+ fileExtension: z.ZodUnion<[z.ZodLiteral<"csv">, z.ZodLiteral<"xlsx">]>;
2137
+ }, "strip", z.ZodTypeAny, {
2138
+ selectedDate: string;
2139
+ fileExtension: "csv" | "xlsx";
2140
+ automationQueueId?: string | undefined;
2141
+ channelIds?: string[] | undefined;
2142
+ }, {
2143
+ selectedDate: string;
2144
+ fileExtension: "csv" | "xlsx";
2145
+ automationQueueId?: string | undefined;
2146
+ channelIds?: string[] | undefined;
2147
+ }>;
2148
+ responses: {
2149
+ 200: z.ZodObject<{
2150
+ requestId: z.ZodString;
2151
+ }, "strip", z.ZodTypeAny, {
2152
+ requestId: string;
2153
+ }, {
2154
+ requestId: string;
2155
+ }>;
2156
+ };
2157
+ path: "ms/dashboard/export-incoming-message-counts";
2158
+ };
1977
2159
  getCallCounts: {
1978
2160
  method: "GET";
1979
2161
  query: z.ZodObject<{
@@ -2036,5 +2218,745 @@ export declare const dashboardContract: {
2036
2218
  };
2037
2219
  path: "ms/dashboard/call-counts";
2038
2220
  };
2221
+ getAllQueueSLA: {
2222
+ method: "GET";
2223
+ query: z.ZodObject<{
2224
+ selectedDate: z.ZodString;
2225
+ }, "strip", z.ZodTypeAny, {
2226
+ selectedDate: string;
2227
+ }, {
2228
+ selectedDate: string;
2229
+ }>;
2230
+ responses: {
2231
+ 200: z.ZodObject<{
2232
+ requestId: z.ZodString;
2233
+ allQueueSLA: z.ZodNumber;
2234
+ }, "strip", z.ZodTypeAny, {
2235
+ requestId: string;
2236
+ allQueueSLA: number;
2237
+ }, {
2238
+ requestId: string;
2239
+ allQueueSLA: number;
2240
+ }>;
2241
+ };
2242
+ path: "ms/dashboard/all-queue-sla";
2243
+ };
2244
+ getAllMessageQueueData: {
2245
+ method: "GET";
2246
+ query: z.ZodObject<{
2247
+ selectedDate: z.ZodString;
2248
+ page: z.ZodNumber;
2249
+ pageSize: z.ZodNumber;
2250
+ }, "strip", z.ZodTypeAny, {
2251
+ page: number;
2252
+ pageSize: number;
2253
+ selectedDate: string;
2254
+ }, {
2255
+ page: number;
2256
+ pageSize: number;
2257
+ selectedDate: string;
2258
+ }>;
2259
+ responses: {
2260
+ 200: z.ZodObject<{
2261
+ requestId: z.ZodString;
2262
+ allMessageQueueData: z.ZodArray<z.ZodObject<{
2263
+ id: z.ZodNullable<z.ZodString>;
2264
+ name: z.ZodString;
2265
+ sla: z.ZodNumber;
2266
+ newContactCount: z.ZodNumber;
2267
+ existingContactCount: z.ZodNumber;
2268
+ totalRoomCount: z.ZodNumber;
2269
+ closedRoomCount: z.ZodNumber;
2270
+ unassignedRoomCount: z.ZodNumber;
2271
+ assignedRoomCount: z.ZodNumber;
2272
+ holdRoomCount: z.ZodNumber;
2273
+ }, "strip", z.ZodTypeAny, {
2274
+ name: string;
2275
+ id: string | null;
2276
+ sla: number;
2277
+ newContactCount: number;
2278
+ existingContactCount: number;
2279
+ totalRoomCount: number;
2280
+ closedRoomCount: number;
2281
+ unassignedRoomCount: number;
2282
+ assignedRoomCount: number;
2283
+ holdRoomCount: number;
2284
+ }, {
2285
+ name: string;
2286
+ id: string | null;
2287
+ sla: number;
2288
+ newContactCount: number;
2289
+ existingContactCount: number;
2290
+ totalRoomCount: number;
2291
+ closedRoomCount: number;
2292
+ unassignedRoomCount: number;
2293
+ assignedRoomCount: number;
2294
+ holdRoomCount: number;
2295
+ }>, "many">;
2296
+ page: z.ZodNumber;
2297
+ pageSize: z.ZodNumber;
2298
+ total: z.ZodNumber;
2299
+ }, "strip", z.ZodTypeAny, {
2300
+ total: number;
2301
+ page: number;
2302
+ pageSize: number;
2303
+ requestId: string;
2304
+ allMessageQueueData: {
2305
+ name: string;
2306
+ id: string | null;
2307
+ sla: number;
2308
+ newContactCount: number;
2309
+ existingContactCount: number;
2310
+ totalRoomCount: number;
2311
+ closedRoomCount: number;
2312
+ unassignedRoomCount: number;
2313
+ assignedRoomCount: number;
2314
+ holdRoomCount: number;
2315
+ }[];
2316
+ }, {
2317
+ total: number;
2318
+ page: number;
2319
+ pageSize: number;
2320
+ requestId: string;
2321
+ allMessageQueueData: {
2322
+ name: string;
2323
+ id: string | null;
2324
+ sla: number;
2325
+ newContactCount: number;
2326
+ existingContactCount: number;
2327
+ totalRoomCount: number;
2328
+ closedRoomCount: number;
2329
+ unassignedRoomCount: number;
2330
+ assignedRoomCount: number;
2331
+ holdRoomCount: number;
2332
+ }[];
2333
+ }>;
2334
+ };
2335
+ path: "ms/dashboard/all-message-queue-data";
2336
+ };
2337
+ getMessageQueueData: {
2338
+ method: "GET";
2339
+ query: z.ZodObject<{
2340
+ automationQueueId: z.ZodOptional<z.ZodString>;
2341
+ selectedDate: z.ZodString;
2342
+ channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2343
+ }, "strip", z.ZodTypeAny, {
2344
+ selectedDate: string;
2345
+ automationQueueId?: string | undefined;
2346
+ channelIds?: string[] | undefined;
2347
+ }, {
2348
+ selectedDate: string;
2349
+ automationQueueId?: string | undefined;
2350
+ channelIds?: string[] | undefined;
2351
+ }>;
2352
+ responses: {
2353
+ 200: z.ZodObject<{
2354
+ requestId: z.ZodString;
2355
+ messageQueueData: z.ZodObject<{
2356
+ id: z.ZodNullable<z.ZodString>;
2357
+ name: z.ZodString;
2358
+ sla: z.ZodNumber;
2359
+ newContactCount: z.ZodNumber;
2360
+ existingContactCount: z.ZodNumber;
2361
+ totalRoomCount: z.ZodNumber;
2362
+ closedRoomCount: z.ZodNumber;
2363
+ unassignedRoomCount: z.ZodNumber;
2364
+ assignedRoomCount: z.ZodNumber;
2365
+ holdRoomCount: z.ZodNumber;
2366
+ }, "strip", z.ZodTypeAny, {
2367
+ name: string;
2368
+ id: string | null;
2369
+ sla: number;
2370
+ newContactCount: number;
2371
+ existingContactCount: number;
2372
+ totalRoomCount: number;
2373
+ closedRoomCount: number;
2374
+ unassignedRoomCount: number;
2375
+ assignedRoomCount: number;
2376
+ holdRoomCount: number;
2377
+ }, {
2378
+ name: string;
2379
+ id: string | null;
2380
+ sla: number;
2381
+ newContactCount: number;
2382
+ existingContactCount: number;
2383
+ totalRoomCount: number;
2384
+ closedRoomCount: number;
2385
+ unassignedRoomCount: number;
2386
+ assignedRoomCount: number;
2387
+ holdRoomCount: number;
2388
+ }>;
2389
+ }, "strip", z.ZodTypeAny, {
2390
+ requestId: string;
2391
+ messageQueueData: {
2392
+ name: string;
2393
+ id: string | null;
2394
+ sla: number;
2395
+ newContactCount: number;
2396
+ existingContactCount: number;
2397
+ totalRoomCount: number;
2398
+ closedRoomCount: number;
2399
+ unassignedRoomCount: number;
2400
+ assignedRoomCount: number;
2401
+ holdRoomCount: number;
2402
+ };
2403
+ }, {
2404
+ requestId: string;
2405
+ messageQueueData: {
2406
+ name: string;
2407
+ id: string | null;
2408
+ sla: number;
2409
+ newContactCount: number;
2410
+ existingContactCount: number;
2411
+ totalRoomCount: number;
2412
+ closedRoomCount: number;
2413
+ unassignedRoomCount: number;
2414
+ assignedRoomCount: number;
2415
+ holdRoomCount: number;
2416
+ };
2417
+ }>;
2418
+ };
2419
+ path: "ms/dashboard/message-queue-data";
2420
+ };
2421
+ getAgentMessageStatistics: {
2422
+ method: "GET";
2423
+ query: z.ZodObject<{
2424
+ automationQueueId: z.ZodOptional<z.ZodString>;
2425
+ selectedDate: z.ZodString;
2426
+ channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2427
+ page: z.ZodNumber;
2428
+ pageSize: z.ZodNumber;
2429
+ }, "strip", z.ZodTypeAny, {
2430
+ page: number;
2431
+ pageSize: number;
2432
+ selectedDate: string;
2433
+ automationQueueId?: string | undefined;
2434
+ channelIds?: string[] | undefined;
2435
+ }, {
2436
+ page: number;
2437
+ pageSize: number;
2438
+ selectedDate: string;
2439
+ automationQueueId?: string | undefined;
2440
+ channelIds?: string[] | undefined;
2441
+ }>;
2442
+ responses: {
2443
+ 200: z.ZodObject<{
2444
+ requestId: z.ZodString;
2445
+ page: z.ZodNumber;
2446
+ pageSize: z.ZodNumber;
2447
+ lastPage: z.ZodNumber;
2448
+ total: z.ZodNumber;
2449
+ agentMessageStatistics: z.ZodNullable<z.ZodArray<z.ZodObject<{
2450
+ id: z.ZodString;
2451
+ name: z.ZodString;
2452
+ assignedRoomCount: z.ZodNumber;
2453
+ holdRoomCount: z.ZodNumber;
2454
+ closedRoomCount: z.ZodNumber;
2455
+ averageFirstResponseTime: z.ZodString;
2456
+ averageResolutionTime: z.ZodString;
2457
+ totalHandledTime: z.ZodString;
2458
+ }, "strip", z.ZodTypeAny, {
2459
+ name: string;
2460
+ id: string;
2461
+ closedRoomCount: number;
2462
+ assignedRoomCount: number;
2463
+ holdRoomCount: number;
2464
+ averageFirstResponseTime: string;
2465
+ averageResolutionTime: string;
2466
+ totalHandledTime: string;
2467
+ }, {
2468
+ name: string;
2469
+ id: string;
2470
+ closedRoomCount: number;
2471
+ assignedRoomCount: number;
2472
+ holdRoomCount: number;
2473
+ averageFirstResponseTime: string;
2474
+ averageResolutionTime: string;
2475
+ totalHandledTime: string;
2476
+ }>, "many">>;
2477
+ }, "strip", z.ZodTypeAny, {
2478
+ total: number;
2479
+ page: number;
2480
+ pageSize: number;
2481
+ lastPage: number;
2482
+ requestId: string;
2483
+ agentMessageStatistics: {
2484
+ name: string;
2485
+ id: string;
2486
+ closedRoomCount: number;
2487
+ assignedRoomCount: number;
2488
+ holdRoomCount: number;
2489
+ averageFirstResponseTime: string;
2490
+ averageResolutionTime: string;
2491
+ totalHandledTime: string;
2492
+ }[] | null;
2493
+ }, {
2494
+ total: number;
2495
+ page: number;
2496
+ pageSize: number;
2497
+ lastPage: number;
2498
+ requestId: string;
2499
+ agentMessageStatistics: {
2500
+ name: string;
2501
+ id: string;
2502
+ closedRoomCount: number;
2503
+ assignedRoomCount: number;
2504
+ holdRoomCount: number;
2505
+ averageFirstResponseTime: string;
2506
+ averageResolutionTime: string;
2507
+ totalHandledTime: string;
2508
+ }[] | null;
2509
+ }>;
2510
+ };
2511
+ path: "ms/dashboard/agent-message-statistics";
2512
+ };
2513
+ exportAgentMessageStatistics: {
2514
+ method: "GET";
2515
+ query: z.ZodObject<{
2516
+ automationQueueId: z.ZodOptional<z.ZodString>;
2517
+ selectedDate: z.ZodString;
2518
+ channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2519
+ fileExtension: z.ZodUnion<[z.ZodLiteral<"csv">, z.ZodLiteral<"xlsx">]>;
2520
+ }, "strip", z.ZodTypeAny, {
2521
+ selectedDate: string;
2522
+ fileExtension: "csv" | "xlsx";
2523
+ automationQueueId?: string | undefined;
2524
+ channelIds?: string[] | undefined;
2525
+ }, {
2526
+ selectedDate: string;
2527
+ fileExtension: "csv" | "xlsx";
2528
+ automationQueueId?: string | undefined;
2529
+ channelIds?: string[] | undefined;
2530
+ }>;
2531
+ responses: {
2532
+ 200: z.ZodObject<{
2533
+ requestId: z.ZodString;
2534
+ }, "strip", z.ZodTypeAny, {
2535
+ requestId: string;
2536
+ }, {
2537
+ requestId: string;
2538
+ }>;
2539
+ };
2540
+ path: "ms/dashboard/export-agent-message-statistics";
2541
+ };
2542
+ getUserCheckInLogsWithDays: {
2543
+ method: "GET";
2544
+ query: z.ZodObject<{
2545
+ automationQueueId: z.ZodOptional<z.ZodString>;
2546
+ selectedDate: z.ZodString;
2547
+ keyword: z.ZodOptional<z.ZodString>;
2548
+ page: z.ZodNumber;
2549
+ pageSize: z.ZodNumber;
2550
+ }, "strip", z.ZodTypeAny, {
2551
+ page: number;
2552
+ pageSize: number;
2553
+ selectedDate: string;
2554
+ automationQueueId?: string | undefined;
2555
+ keyword?: string | undefined;
2556
+ }, {
2557
+ page: number;
2558
+ pageSize: number;
2559
+ selectedDate: string;
2560
+ automationQueueId?: string | undefined;
2561
+ keyword?: string | undefined;
2562
+ }>;
2563
+ responses: {
2564
+ 200: z.ZodObject<{
2565
+ requestId: z.ZodString;
2566
+ page: z.ZodNumber;
2567
+ pageSize: z.ZodNumber;
2568
+ total: z.ZodNumber;
2569
+ userCheckInLogsWithDays: z.ZodArray<z.ZodObject<{
2570
+ date: z.ZodDate;
2571
+ formattedDate: z.ZodString;
2572
+ userCheckInLogs: z.ZodArray<z.ZodObject<{
2573
+ userId: z.ZodString;
2574
+ firstLoginTime: z.ZodString;
2575
+ lastLogoutTime: z.ZodNullable<z.ZodString>;
2576
+ totalLoginDuration: z.ZodNullable<z.ZodString>;
2577
+ averageFirstResponseTime: z.ZodNullable<z.ZodString>;
2578
+ averageResolutionTime: z.ZodNullable<z.ZodString>;
2579
+ totalHandledTime: z.ZodNullable<z.ZodString>;
2580
+ }, "strip", z.ZodTypeAny, {
2581
+ userId: string;
2582
+ averageFirstResponseTime: string | null;
2583
+ averageResolutionTime: string | null;
2584
+ totalHandledTime: string | null;
2585
+ firstLoginTime: string;
2586
+ lastLogoutTime: string | null;
2587
+ totalLoginDuration: string | null;
2588
+ }, {
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
+ }>, "many">;
2597
+ }, "strip", z.ZodTypeAny, {
2598
+ date: Date;
2599
+ formattedDate: string;
2600
+ userCheckInLogs: {
2601
+ userId: string;
2602
+ averageFirstResponseTime: string | null;
2603
+ averageResolutionTime: string | null;
2604
+ totalHandledTime: string | null;
2605
+ firstLoginTime: string;
2606
+ lastLogoutTime: string | null;
2607
+ totalLoginDuration: string | null;
2608
+ }[];
2609
+ }, {
2610
+ date: Date;
2611
+ formattedDate: string;
2612
+ userCheckInLogs: {
2613
+ userId: string;
2614
+ averageFirstResponseTime: string | null;
2615
+ averageResolutionTime: string | null;
2616
+ totalHandledTime: string | null;
2617
+ firstLoginTime: string;
2618
+ lastLogoutTime: string | null;
2619
+ totalLoginDuration: string | null;
2620
+ }[];
2621
+ }>, "many">;
2622
+ }, "strip", z.ZodTypeAny, {
2623
+ total: number;
2624
+ page: number;
2625
+ pageSize: number;
2626
+ requestId: string;
2627
+ userCheckInLogsWithDays: {
2628
+ date: Date;
2629
+ formattedDate: string;
2630
+ userCheckInLogs: {
2631
+ userId: string;
2632
+ averageFirstResponseTime: string | null;
2633
+ averageResolutionTime: string | null;
2634
+ totalHandledTime: string | null;
2635
+ firstLoginTime: string;
2636
+ lastLogoutTime: string | null;
2637
+ totalLoginDuration: string | null;
2638
+ }[];
2639
+ }[];
2640
+ }, {
2641
+ total: number;
2642
+ page: number;
2643
+ pageSize: number;
2644
+ requestId: string;
2645
+ userCheckInLogsWithDays: {
2646
+ date: Date;
2647
+ formattedDate: string;
2648
+ userCheckInLogs: {
2649
+ userId: string;
2650
+ averageFirstResponseTime: string | null;
2651
+ averageResolutionTime: string | null;
2652
+ totalHandledTime: string | null;
2653
+ firstLoginTime: string;
2654
+ lastLogoutTime: string | null;
2655
+ totalLoginDuration: string | null;
2656
+ }[];
2657
+ }[];
2658
+ }>;
2659
+ };
2660
+ path: "ms/dashboard/user-check-in-logs-with-days";
2661
+ };
2662
+ exportUserCheckInLogs: {
2663
+ method: "GET";
2664
+ query: z.ZodObject<{
2665
+ automationQueueId: z.ZodOptional<z.ZodString>;
2666
+ selectedDate: z.ZodString;
2667
+ keyword: z.ZodOptional<z.ZodString>;
2668
+ fileExtension: z.ZodUnion<[z.ZodLiteral<"csv">, z.ZodLiteral<"xlsx">]>;
2669
+ }, "strip", z.ZodTypeAny, {
2670
+ selectedDate: string;
2671
+ fileExtension: "csv" | "xlsx";
2672
+ automationQueueId?: string | undefined;
2673
+ keyword?: string | undefined;
2674
+ }, {
2675
+ selectedDate: string;
2676
+ fileExtension: "csv" | "xlsx";
2677
+ automationQueueId?: string | undefined;
2678
+ keyword?: string | undefined;
2679
+ }>;
2680
+ responses: {
2681
+ 200: z.ZodObject<{
2682
+ requestId: z.ZodString;
2683
+ }, "strip", z.ZodTypeAny, {
2684
+ requestId: string;
2685
+ }, {
2686
+ requestId: string;
2687
+ }>;
2688
+ };
2689
+ path: "ms/dashboard/export-user-check-in-logs";
2690
+ };
2691
+ getRoomStatusCountsByUserId: {
2692
+ method: "GET";
2693
+ query: z.ZodObject<{
2694
+ automationQueueId: z.ZodOptional<z.ZodString>;
2695
+ userId: z.ZodString;
2696
+ selectedDate: z.ZodString;
2697
+ }, "strip", z.ZodTypeAny, {
2698
+ userId: string;
2699
+ selectedDate: string;
2700
+ automationQueueId?: string | undefined;
2701
+ }, {
2702
+ userId: string;
2703
+ selectedDate: string;
2704
+ automationQueueId?: string | undefined;
2705
+ }>;
2706
+ responses: {
2707
+ 200: z.ZodObject<{
2708
+ requestId: z.ZodString;
2709
+ assignedRoomCount: z.ZodNumber;
2710
+ holdRoomCount: z.ZodNumber;
2711
+ closedRoomCount: z.ZodNumber;
2712
+ }, "strip", z.ZodTypeAny, {
2713
+ requestId: string;
2714
+ closedRoomCount: number;
2715
+ assignedRoomCount: number;
2716
+ holdRoomCount: number;
2717
+ }, {
2718
+ requestId: string;
2719
+ closedRoomCount: number;
2720
+ assignedRoomCount: number;
2721
+ holdRoomCount: number;
2722
+ }>;
2723
+ };
2724
+ path: "ms/dashboard/room-status-counts-by-user-id";
2725
+ };
2726
+ getPresenceStatusDurations: {
2727
+ method: "GET";
2728
+ query: z.ZodObject<{
2729
+ userId: z.ZodString;
2730
+ selectedDate: z.ZodString;
2731
+ page: z.ZodNumber;
2732
+ pageSize: z.ZodNumber;
2733
+ }, "strip", z.ZodTypeAny, {
2734
+ page: number;
2735
+ pageSize: number;
2736
+ userId: string;
2737
+ selectedDate: string;
2738
+ }, {
2739
+ page: number;
2740
+ pageSize: number;
2741
+ userId: string;
2742
+ selectedDate: string;
2743
+ }>;
2744
+ responses: {
2745
+ 200: z.ZodObject<{
2746
+ requestId: z.ZodString;
2747
+ presenceStatusDurations: z.ZodArray<z.ZodObject<{
2748
+ formattedDate: z.ZodString;
2749
+ date: z.ZodDate;
2750
+ presenceStatusDurationLogs: z.ZodArray<z.ZodObject<{
2751
+ presenceStatusId: z.ZodString;
2752
+ presenceStatusName: z.ZodString;
2753
+ durationSeconds: z.ZodNumber;
2754
+ }, "strip", z.ZodTypeAny, {
2755
+ presenceStatusId: string;
2756
+ presenceStatusName: string;
2757
+ durationSeconds: number;
2758
+ }, {
2759
+ presenceStatusId: string;
2760
+ presenceStatusName: string;
2761
+ durationSeconds: number;
2762
+ }>, "many">;
2763
+ }, "strip", z.ZodTypeAny, {
2764
+ date: Date;
2765
+ formattedDate: string;
2766
+ presenceStatusDurationLogs: {
2767
+ presenceStatusId: string;
2768
+ presenceStatusName: string;
2769
+ durationSeconds: number;
2770
+ }[];
2771
+ }, {
2772
+ date: Date;
2773
+ formattedDate: string;
2774
+ presenceStatusDurationLogs: {
2775
+ presenceStatusId: string;
2776
+ presenceStatusName: string;
2777
+ durationSeconds: number;
2778
+ }[];
2779
+ }>, "many">;
2780
+ page: z.ZodNumber;
2781
+ pageSize: z.ZodNumber;
2782
+ total: z.ZodNumber;
2783
+ }, "strip", z.ZodTypeAny, {
2784
+ total: number;
2785
+ page: number;
2786
+ pageSize: number;
2787
+ requestId: string;
2788
+ presenceStatusDurations: {
2789
+ date: Date;
2790
+ formattedDate: string;
2791
+ presenceStatusDurationLogs: {
2792
+ presenceStatusId: string;
2793
+ presenceStatusName: string;
2794
+ durationSeconds: number;
2795
+ }[];
2796
+ }[];
2797
+ }, {
2798
+ total: number;
2799
+ page: number;
2800
+ pageSize: number;
2801
+ requestId: string;
2802
+ presenceStatusDurations: {
2803
+ date: Date;
2804
+ formattedDate: string;
2805
+ presenceStatusDurationLogs: {
2806
+ presenceStatusId: string;
2807
+ presenceStatusName: string;
2808
+ durationSeconds: number;
2809
+ }[];
2810
+ }[];
2811
+ }>;
2812
+ };
2813
+ path: "ms/dashboard/presence-status-durations";
2814
+ };
2815
+ getUserCheckInLogsByUserId: {
2816
+ method: "GET";
2817
+ query: z.ZodObject<{
2818
+ automationQueueId: z.ZodOptional<z.ZodString>;
2819
+ userId: z.ZodString;
2820
+ selectedDate: z.ZodString;
2821
+ page: z.ZodNumber;
2822
+ pageSize: z.ZodNumber;
2823
+ }, "strip", z.ZodTypeAny, {
2824
+ page: number;
2825
+ pageSize: number;
2826
+ userId: string;
2827
+ selectedDate: string;
2828
+ automationQueueId?: string | undefined;
2829
+ }, {
2830
+ page: number;
2831
+ pageSize: number;
2832
+ userId: string;
2833
+ selectedDate: string;
2834
+ automationQueueId?: string | undefined;
2835
+ }>;
2836
+ responses: {
2837
+ 200: z.ZodObject<{
2838
+ requestId: z.ZodString;
2839
+ userCheckInLogs: z.ZodArray<z.ZodObject<{
2840
+ formattedDate: z.ZodString;
2841
+ day: z.ZodDate;
2842
+ userCheckInLog: z.ZodObject<{
2843
+ userId: z.ZodString;
2844
+ firstLoginTime: z.ZodString;
2845
+ lastLogoutTime: z.ZodNullable<z.ZodString>;
2846
+ totalLoginDuration: z.ZodNullable<z.ZodString>;
2847
+ averageFirstResponseTime: z.ZodNullable<z.ZodString>;
2848
+ averageResolutionTime: z.ZodNullable<z.ZodString>;
2849
+ totalHandledTime: z.ZodNullable<z.ZodString>;
2850
+ }, "strip", z.ZodTypeAny, {
2851
+ userId: string;
2852
+ averageFirstResponseTime: string | null;
2853
+ averageResolutionTime: string | null;
2854
+ totalHandledTime: string | null;
2855
+ firstLoginTime: string;
2856
+ lastLogoutTime: string | null;
2857
+ totalLoginDuration: string | null;
2858
+ }, {
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
+ }, "strip", z.ZodTypeAny, {
2868
+ day: Date;
2869
+ formattedDate: string;
2870
+ userCheckInLog: {
2871
+ userId: string;
2872
+ averageFirstResponseTime: string | null;
2873
+ averageResolutionTime: string | null;
2874
+ totalHandledTime: string | null;
2875
+ firstLoginTime: string;
2876
+ lastLogoutTime: string | null;
2877
+ totalLoginDuration: string | null;
2878
+ };
2879
+ }, {
2880
+ day: Date;
2881
+ formattedDate: string;
2882
+ userCheckInLog: {
2883
+ userId: string;
2884
+ averageFirstResponseTime: string | null;
2885
+ averageResolutionTime: string | null;
2886
+ totalHandledTime: string | null;
2887
+ firstLoginTime: string;
2888
+ lastLogoutTime: string | null;
2889
+ totalLoginDuration: string | null;
2890
+ };
2891
+ }>, "many">;
2892
+ page: z.ZodNumber;
2893
+ pageSize: z.ZodNumber;
2894
+ total: z.ZodNumber;
2895
+ }, "strip", z.ZodTypeAny, {
2896
+ total: number;
2897
+ page: number;
2898
+ pageSize: number;
2899
+ requestId: string;
2900
+ userCheckInLogs: {
2901
+ day: Date;
2902
+ formattedDate: string;
2903
+ userCheckInLog: {
2904
+ userId: string;
2905
+ averageFirstResponseTime: string | null;
2906
+ averageResolutionTime: string | null;
2907
+ totalHandledTime: string | null;
2908
+ firstLoginTime: string;
2909
+ lastLogoutTime: string | null;
2910
+ totalLoginDuration: string | null;
2911
+ };
2912
+ }[];
2913
+ }, {
2914
+ total: number;
2915
+ page: number;
2916
+ pageSize: number;
2917
+ requestId: string;
2918
+ userCheckInLogs: {
2919
+ day: Date;
2920
+ formattedDate: string;
2921
+ userCheckInLog: {
2922
+ userId: string;
2923
+ averageFirstResponseTime: string | null;
2924
+ averageResolutionTime: string | null;
2925
+ totalHandledTime: string | null;
2926
+ firstLoginTime: string;
2927
+ lastLogoutTime: string | null;
2928
+ totalLoginDuration: string | null;
2929
+ };
2930
+ }[];
2931
+ }>;
2932
+ };
2933
+ path: "ms/dashboard/user-check-in-logs-by-user-id";
2934
+ };
2935
+ exportUserCheckInLogsByUserId: {
2936
+ method: "GET";
2937
+ query: z.ZodObject<{
2938
+ userId: z.ZodString;
2939
+ selectedDate: z.ZodString;
2940
+ fileExtension: z.ZodUnion<[z.ZodLiteral<"csv">, z.ZodLiteral<"xlsx">]>;
2941
+ }, "strip", z.ZodTypeAny, {
2942
+ userId: string;
2943
+ selectedDate: string;
2944
+ fileExtension: "csv" | "xlsx";
2945
+ }, {
2946
+ userId: string;
2947
+ selectedDate: string;
2948
+ fileExtension: "csv" | "xlsx";
2949
+ }>;
2950
+ responses: {
2951
+ 200: z.ZodObject<{
2952
+ requestId: z.ZodString;
2953
+ }, "strip", z.ZodTypeAny, {
2954
+ requestId: string;
2955
+ }, {
2956
+ requestId: string;
2957
+ }>;
2958
+ };
2959
+ path: "ms/dashboard/export-user-check-in-logs-by-user-id";
2960
+ };
2039
2961
  };
2040
2962
  //# sourceMappingURL=index.d.ts.map