@kl1/contracts 1.3.10 → 1.3.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -4579,6 +4579,14 @@ var dashboardContract = initContract13().router(
4579
4579
  401: DefaultUnauthorizedSchema
4580
4580
  }
4581
4581
  },
4582
+ exportRoomTagCounts: {
4583
+ method: "POST",
4584
+ path: "/export-room-tag-counts",
4585
+ body: DashboardGlobalFiltersSchema,
4586
+ responses: {
4587
+ 200: DefaultSuccessResponseSchema
4588
+ }
4589
+ },
4582
4590
  getCallTagData: {
4583
4591
  method: "GET",
4584
4592
  path: "/call/tag",
@@ -4646,9 +4654,9 @@ var dashboardContract = initContract13().router(
4646
4654
  }
4647
4655
  },
4648
4656
  exportMessageAverageData: {
4649
- method: "GET",
4657
+ method: "POST",
4650
4658
  path: "/export-message-average-data",
4651
- query: z55.object({
4659
+ body: z55.object({
4652
4660
  selectedDate: z55.string().min(1),
4653
4661
  automationQueueId: z55.string().uuid().optional(),
4654
4662
  channelIds: z55.array(z55.string().uuid()).optional()
@@ -4671,9 +4679,9 @@ var dashboardContract = initContract13().router(
4671
4679
  }
4672
4680
  },
4673
4681
  exportRoomChannelCounts: {
4674
- method: "GET",
4682
+ method: "POST",
4675
4683
  path: "/export-room-channel-counts",
4676
- query: DashboardGlobalFiltersSchema,
4684
+ body: DashboardGlobalFiltersSchema,
4677
4685
  responses: {
4678
4686
  200: DefaultSuccessResponseSchema
4679
4687
  }
@@ -4695,6 +4703,14 @@ var dashboardContract = initContract13().router(
4695
4703
  401: DefaultUnauthorizedSchema
4696
4704
  }
4697
4705
  },
4706
+ exportRoomDispositionCounts: {
4707
+ method: "POST",
4708
+ path: "/export-room-disposition-counts",
4709
+ body: DashboardGlobalFiltersSchema,
4710
+ responses: {
4711
+ 200: DefaultSuccessResponseSchema
4712
+ }
4713
+ },
4698
4714
  getIncomingMessageByPlatform: {
4699
4715
  method: "GET",
4700
4716
  path: "/message/incoming",
@@ -4722,9 +4738,9 @@ var dashboardContract = initContract13().router(
4722
4738
  }
4723
4739
  },
4724
4740
  exportIncomingMessageCounts: {
4725
- method: "GET",
4741
+ method: "POST",
4726
4742
  path: "/export-incoming-message-counts",
4727
- query: DashboardGlobalFiltersSchema,
4743
+ body: DashboardGlobalFiltersSchema,
4728
4744
  responses: {
4729
4745
  200: DefaultSuccessResponseSchema
4730
4746
  }
@@ -4789,9 +4805,9 @@ var dashboardContract = initContract13().router(
4789
4805
  }
4790
4806
  },
4791
4807
  exportAgentMessageStatistics: {
4792
- method: "GET",
4808
+ method: "POST",
4793
4809
  path: "/export-agent-message-statistics",
4794
- query: MessageDashboardDetailsQuerySchema,
4810
+ body: MessageDashboardDetailsQuerySchema,
4795
4811
  responses: {
4796
4812
  200: DefaultSuccessResponseSchema
4797
4813
  }
@@ -4815,9 +4831,9 @@ var dashboardContract = initContract13().router(
4815
4831
  }
4816
4832
  },
4817
4833
  exportUserCheckInLogs: {
4818
- method: "GET",
4834
+ method: "POST",
4819
4835
  path: "/export-user-check-in-logs",
4820
- query: z55.object({
4836
+ body: z55.object({
4821
4837
  automationQueueId: z55.string().uuid().optional(),
4822
4838
  selectedDate: z55.string().min(1),
4823
4839
  keyword: z55.string().optional()
@@ -4842,12 +4858,41 @@ var dashboardContract = initContract13().router(
4842
4858
  })
4843
4859
  }
4844
4860
  },
4861
+ getPresenceStatusDurations: {
4862
+ method: "GET",
4863
+ path: "/presence-status-durations",
4864
+ query: z55.object({
4865
+ userId: z55.string().uuid(),
4866
+ selectedDate: z55.string().min(1),
4867
+ page: z55.coerce.number().positive(),
4868
+ pageSize: z55.coerce.number().positive()
4869
+ }),
4870
+ responses: {
4871
+ 200: DefaultSuccessResponseSchema.extend({
4872
+ presenceStatusDurations: z55.array(
4873
+ z55.object({
4874
+ formattedDate: z55.string(),
4875
+ date: z55.date(),
4876
+ durations: z55.array(
4877
+ z55.object({
4878
+ presenceStatusName: z55.string(),
4879
+ durationSeconds: z55.number().positive(),
4880
+ formattedDuration: z55.string()
4881
+ })
4882
+ )
4883
+ })
4884
+ )
4885
+ })
4886
+ }
4887
+ },
4845
4888
  getUserCheckInLogsByUserId: {
4846
4889
  method: "GET",
4847
4890
  path: "/user-check-in-logs-by-user-id",
4848
4891
  query: z55.object({
4892
+ automationQueueId: z55.string().uuid().optional(),
4849
4893
  userId: z55.string().uuid(),
4850
4894
  selectedDate: z55.string().min(1),
4895
+ page: z55.coerce.number().positive(),
4851
4896
  pageSize: z55.coerce.number().positive()
4852
4897
  }),
4853
4898
  responses: {
@@ -4861,6 +4906,17 @@ var dashboardContract = initContract13().router(
4861
4906
  )
4862
4907
  })
4863
4908
  }
4909
+ },
4910
+ exportUserCheckInLogsByUserId: {
4911
+ method: "POST",
4912
+ path: "/export-user-check-in-logs-by-user-id",
4913
+ body: z55.object({
4914
+ userId: z55.string().uuid(),
4915
+ selectedDate: z55.string().min(1)
4916
+ }),
4917
+ responses: {
4918
+ 200: DefaultSuccessResponseSchema
4919
+ }
4864
4920
  }
4865
4921
  },
4866
4922
  {