@kl1/contracts 1.1.77-uat → 1.1.79-uat

Sign up to get free protection for your applications and to get access to all the features.
Files changed (213) hide show
  1. package/dist/api-contracts/src/activity-log/index.d.ts +17 -17
  2. package/dist/api-contracts/src/attribute/index.d.ts +164 -148
  3. package/dist/api-contracts/src/attribute/index.d.ts.map +1 -1
  4. package/dist/api-contracts/src/attribute/schema.d.ts +11 -8
  5. package/dist/api-contracts/src/attribute/schema.d.ts.map +1 -1
  6. package/dist/api-contracts/src/attribute-option/schema.d.ts +3 -2
  7. package/dist/api-contracts/src/attribute-option/schema.d.ts.map +1 -1
  8. package/dist/api-contracts/src/auth/index.d.ts +51 -47
  9. package/dist/api-contracts/src/auth/index.d.ts.map +1 -1
  10. package/dist/api-contracts/src/aws/index.d.ts +8 -6
  11. package/dist/api-contracts/src/aws/index.d.ts.map +1 -1
  12. package/dist/api-contracts/src/botpress/index.d.ts +17 -13
  13. package/dist/api-contracts/src/botpress/index.d.ts.map +1 -1
  14. package/dist/api-contracts/src/business-calendar/index.d.ts +40 -28
  15. package/dist/api-contracts/src/business-calendar/index.d.ts.map +1 -1
  16. package/dist/api-contracts/src/business-calendar/schema.d.ts +15 -10
  17. package/dist/api-contracts/src/business-calendar/schema.d.ts.map +1 -1
  18. package/dist/api-contracts/src/call-log/schema.d.ts +5 -4
  19. package/dist/api-contracts/src/call-log/schema.d.ts.map +1 -1
  20. package/dist/api-contracts/src/category/index.d.ts +118 -109
  21. package/dist/api-contracts/src/category/index.d.ts.map +1 -1
  22. package/dist/api-contracts/src/category/schema.d.ts +3 -2
  23. package/dist/api-contracts/src/category/schema.d.ts.map +1 -1
  24. package/dist/api-contracts/src/channel/index.d.ts +411 -392
  25. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  26. package/dist/api-contracts/src/channel/schema.d.ts +6 -6
  27. package/dist/api-contracts/src/channel/validation.d.ts +8 -8
  28. package/dist/api-contracts/src/chat/index.d.ts +12528 -12120
  29. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  30. package/dist/api-contracts/src/chat/schema.d.ts +2814 -2654
  31. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  32. package/dist/api-contracts/src/chat/validation.d.ts +2150 -2083
  33. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  34. package/dist/api-contracts/src/comment/index.d.ts +281 -224
  35. package/dist/api-contracts/src/comment/index.d.ts.map +1 -1
  36. package/dist/api-contracts/src/comment/schema.d.ts +68 -50
  37. package/dist/api-contracts/src/comment/schema.d.ts.map +1 -1
  38. package/dist/api-contracts/src/company/index.d.ts +138 -111
  39. package/dist/api-contracts/src/company/index.d.ts.map +1 -1
  40. package/dist/api-contracts/src/company/schema.d.ts +33 -24
  41. package/dist/api-contracts/src/company/schema.d.ts.map +1 -1
  42. package/dist/api-contracts/src/company/validation.d.ts +78 -62
  43. package/dist/api-contracts/src/company/validation.d.ts.map +1 -1
  44. package/dist/api-contracts/src/contact/index.d.ts +597 -501
  45. package/dist/api-contracts/src/contact/index.d.ts.map +1 -1
  46. package/dist/api-contracts/src/contact/schema.d.ts +56 -42
  47. package/dist/api-contracts/src/contact/schema.d.ts.map +1 -1
  48. package/dist/api-contracts/src/contact/validation.d.ts +263 -192
  49. package/dist/api-contracts/src/contact/validation.d.ts.map +1 -1
  50. package/dist/api-contracts/src/contact-email/schema.d.ts +3 -2
  51. package/dist/api-contracts/src/contact-email/schema.d.ts.map +1 -1
  52. package/dist/api-contracts/src/contact-phone/schema.d.ts +3 -2
  53. package/dist/api-contracts/src/contact-phone/schema.d.ts.map +1 -1
  54. package/dist/api-contracts/src/contract.d.ts +15249 -14062
  55. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  56. package/dist/api-contracts/src/custom-field/schema.d.ts +3 -2
  57. package/dist/api-contracts/src/custom-field/schema.d.ts.map +1 -1
  58. package/dist/api-contracts/src/custom-field/validation.d.ts +2 -2
  59. package/dist/api-contracts/src/custom-field-upload/schema.d.ts +3 -2
  60. package/dist/api-contracts/src/custom-field-upload/schema.d.ts.map +1 -1
  61. package/dist/api-contracts/src/cx-log/index.d.ts +648 -608
  62. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  63. package/dist/api-contracts/src/cx-log/schema.d.ts +413 -370
  64. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  65. package/dist/api-contracts/src/cx-log/validation.d.ts +38 -38
  66. package/dist/api-contracts/src/dashboard/index.d.ts +370 -330
  67. package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
  68. package/dist/api-contracts/src/dashboard/schema.d.ts +7 -6
  69. package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
  70. package/dist/api-contracts/src/dashboard/validation.d.ts +20 -14
  71. package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
  72. package/dist/api-contracts/src/evaluate-form/index.d.ts +4 -3
  73. package/dist/api-contracts/src/evaluate-form/index.d.ts.map +1 -1
  74. package/dist/api-contracts/src/evaluate-form/schema.d.ts +3 -2
  75. package/dist/api-contracts/src/evaluate-form/schema.d.ts.map +1 -1
  76. package/dist/api-contracts/src/export/index.d.ts +4 -3
  77. package/dist/api-contracts/src/export/index.d.ts.map +1 -1
  78. package/dist/api-contracts/src/extension/index.d.ts +109 -104
  79. package/dist/api-contracts/src/extension/index.d.ts.map +1 -1
  80. package/dist/api-contracts/src/facebook-feed/index.d.ts +1599 -1529
  81. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  82. package/dist/api-contracts/src/facebook-feed/schema.d.ts +43 -32
  83. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  84. package/dist/api-contracts/src/facebook-feed/validation.d.ts +76 -59
  85. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  86. package/dist/api-contracts/src/group/schema.d.ts +3 -2
  87. package/dist/api-contracts/src/group/schema.d.ts.map +1 -1
  88. package/dist/api-contracts/src/hold-label/index.d.ts +38 -28
  89. package/dist/api-contracts/src/hold-label/index.d.ts.map +1 -1
  90. package/dist/api-contracts/src/hold-label/schema.d.ts +3 -2
  91. package/dist/api-contracts/src/hold-label/schema.d.ts.map +1 -1
  92. package/dist/api-contracts/src/instagram/index.d.ts +1195 -1145
  93. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  94. package/dist/api-contracts/src/instagram/validation.d.ts +6 -6
  95. package/dist/api-contracts/src/line/index.d.ts +1869 -1819
  96. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  97. package/dist/api-contracts/src/line/schema.d.ts +12 -11
  98. package/dist/api-contracts/src/line/schema.d.ts.map +1 -1
  99. package/dist/api-contracts/src/line/validation.d.ts +62 -62
  100. package/dist/api-contracts/src/log-form/schema.d.ts +3 -2
  101. package/dist/api-contracts/src/log-form/schema.d.ts.map +1 -1
  102. package/dist/api-contracts/src/mail/account-contract.d.ts +135 -127
  103. package/dist/api-contracts/src/mail/account-contract.d.ts.map +1 -1
  104. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts +4 -3
  105. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts.map +1 -1
  106. package/dist/api-contracts/src/mail/mail-contract.d.ts +408 -366
  107. package/dist/api-contracts/src/mail/mail-contract.d.ts.map +1 -1
  108. package/dist/api-contracts/src/mail/mail-server-contract.d.ts +20 -15
  109. package/dist/api-contracts/src/mail/mail-server-contract.d.ts.map +1 -1
  110. package/dist/api-contracts/src/mail/message-contract.d.ts +113 -107
  111. package/dist/api-contracts/src/mail/message-contract.d.ts.map +1 -1
  112. package/dist/api-contracts/src/mail/room-contract.d.ts +88 -65
  113. package/dist/api-contracts/src/mail/room-contract.d.ts.map +1 -1
  114. package/dist/api-contracts/src/mail/schemas/message-validation.schema.d.ts +16 -16
  115. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +22 -18
  116. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
  117. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +15 -10
  118. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts.map +1 -1
  119. package/dist/api-contracts/src/messenger/index.d.ts +1109 -1057
  120. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  121. package/dist/api-contracts/src/messenger/validation.d.ts +76 -59
  122. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  123. package/dist/api-contracts/src/notification/index.d.ts +16 -12
  124. package/dist/api-contracts/src/notification/index.d.ts.map +1 -1
  125. package/dist/api-contracts/src/permission/index.d.ts +17 -17
  126. package/dist/api-contracts/src/public-api/index.d.ts +260 -196
  127. package/dist/api-contracts/src/public-api/index.d.ts.map +1 -1
  128. package/dist/api-contracts/src/public-api/schema.d.ts +48 -34
  129. package/dist/api-contracts/src/public-api/schema.d.ts.map +1 -1
  130. package/dist/api-contracts/src/public-api/validation.d.ts +113 -88
  131. package/dist/api-contracts/src/public-api/validation.d.ts.map +1 -1
  132. package/dist/api-contracts/src/role/index.d.ts +84 -80
  133. package/dist/api-contracts/src/role/index.d.ts.map +1 -1
  134. package/dist/api-contracts/src/sms/index.d.ts +81 -80
  135. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  136. package/dist/api-contracts/src/snippet/index.d.ts +76 -54
  137. package/dist/api-contracts/src/snippet/index.d.ts.map +1 -1
  138. package/dist/api-contracts/src/snippet/schema.d.ts +21 -14
  139. package/dist/api-contracts/src/snippet/schema.d.ts.map +1 -1
  140. package/dist/api-contracts/src/snippet/validation.d.ts +5 -4
  141. package/dist/api-contracts/src/snippet/validation.d.ts.map +1 -1
  142. package/dist/api-contracts/src/subscription/index.d.ts +66 -45
  143. package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
  144. package/dist/api-contracts/src/subscription/schema.d.ts +90 -60
  145. package/dist/api-contracts/src/subscription/schema.d.ts.map +1 -1
  146. package/dist/api-contracts/src/tag/index.d.ts +79 -72
  147. package/dist/api-contracts/src/tag/index.d.ts.map +1 -1
  148. package/dist/api-contracts/src/tag/schema.d.ts +3 -2
  149. package/dist/api-contracts/src/tag/schema.d.ts.map +1 -1
  150. package/dist/api-contracts/src/tag-group/schema.d.ts +3 -2
  151. package/dist/api-contracts/src/tag-group/schema.d.ts.map +1 -1
  152. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +75 -67
  153. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  154. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +9 -6
  155. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  156. package/dist/api-contracts/src/telephony-cdr/call-report.schema.d.ts +38 -38
  157. package/dist/api-contracts/src/telephony-cdr/index.d.ts +1179 -1116
  158. package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
  159. package/dist/api-contracts/src/telephony-cdr/schema.d.ts +186 -166
  160. package/dist/api-contracts/src/telephony-cdr/schema.d.ts.map +1 -1
  161. package/dist/api-contracts/src/telephony-cdr/validation.d.ts +52 -45
  162. package/dist/api-contracts/src/telephony-cdr/validation.d.ts.map +1 -1
  163. package/dist/api-contracts/src/telephony-extension/index.d.ts +21 -21
  164. package/dist/api-contracts/src/telephony-extension/schema.d.ts +4 -4
  165. package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts +3 -2
  166. package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts.map +1 -1
  167. package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts +3 -2
  168. package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts.map +1 -1
  169. package/dist/api-contracts/src/tenant/schema.d.ts +3 -2
  170. package/dist/api-contracts/src/tenant/schema.d.ts.map +1 -1
  171. package/dist/api-contracts/src/ticket/index.d.ts +717 -618
  172. package/dist/api-contracts/src/ticket/index.d.ts.map +1 -1
  173. package/dist/api-contracts/src/ticket/schema.d.ts +81 -58
  174. package/dist/api-contracts/src/ticket/schema.d.ts.map +1 -1
  175. package/dist/api-contracts/src/ticket/validation.d.ts +55 -53
  176. package/dist/api-contracts/src/ticket/validation.d.ts.map +1 -1
  177. package/dist/api-contracts/src/upload/index.d.ts +36 -34
  178. package/dist/api-contracts/src/upload/index.d.ts.map +1 -1
  179. package/dist/api-contracts/src/upload/schema.d.ts +3 -2
  180. package/dist/api-contracts/src/upload/schema.d.ts.map +1 -1
  181. package/dist/api-contracts/src/user/index.d.ts +114 -108
  182. package/dist/api-contracts/src/user/index.d.ts.map +1 -1
  183. package/dist/api-contracts/src/user/validation.d.ts +5 -4
  184. package/dist/api-contracts/src/user/validation.d.ts.map +1 -1
  185. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +32 -31
  186. package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
  187. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +9 -6
  188. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
  189. package/dist/api-contracts/src/viber/index.d.ts +994 -946
  190. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  191. package/dist/api-contracts/src/webchat/index.d.ts +962 -917
  192. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  193. package/dist/api-contracts/src/widget/index.d.ts +139 -128
  194. package/dist/api-contracts/src/widget/index.d.ts.map +1 -1
  195. package/dist/api-contracts/src/widget/schema.d.ts +3 -2
  196. package/dist/api-contracts/src/widget/schema.d.ts.map +1 -1
  197. package/dist/api-contracts/src/workflow-rule/index.d.ts +1092 -1057
  198. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  199. package/dist/api-contracts/src/workflow-rule/schema.d.ts +3 -2
  200. package/dist/api-contracts/src/workflow-rule/schema.d.ts.map +1 -1
  201. package/dist/api-contracts/src/wrap-up-form/index.d.ts +166 -147
  202. package/dist/api-contracts/src/wrap-up-form/index.d.ts.map +1 -1
  203. package/dist/api-contracts/src/wrap-up-form/schema.d.ts +9 -6
  204. package/dist/api-contracts/src/wrap-up-form/schema.d.ts.map +1 -1
  205. package/dist/api-contracts/src/wrap-up-form/validation.d.ts +21 -20
  206. package/dist/api-contracts/src/wrap-up-form/validation.d.ts.map +1 -1
  207. package/dist/api-contracts/utils.d.ts +4 -3
  208. package/dist/api-contracts/utils.d.ts.map +1 -1
  209. package/dist/index.js +1 -1
  210. package/dist/index.js.map +1 -1
  211. package/dist/index.mjs +1 -1
  212. package/dist/index.mjs.map +1 -1
  213. package/package.json +2 -2
@@ -35,22 +35,41 @@ export declare const dashboardContract: {
35
35
  getDashboardData: {
36
36
  summary: "Get all dashboard";
37
37
  method: "GET";
38
- query: z.ZodOptional<z.ZodObject<{
39
- selectedDate: z.ZodString;
38
+ query: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
40
39
  channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
40
+ selectedDate: z.ZodString;
41
+ }, {
41
42
  agentId: z.ZodOptional<z.ZodString>;
42
- }, "strip", z.ZodTypeAny, {
43
+ }>, "strip", z.ZodTypeAny, {
43
44
  selectedDate: string;
44
- channelIds?: string[] | undefined;
45
45
  agentId?: string | undefined;
46
+ channelIds?: string[] | undefined;
46
47
  }, {
47
48
  selectedDate: string;
48
- channelIds?: string[] | undefined;
49
49
  agentId?: string | undefined;
50
+ channelIds?: string[] | undefined;
50
51
  }>>;
52
+ path: "dashboard";
53
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
54
+ 'x-tenant': z.ZodString;
55
+ authorization: z.ZodString;
56
+ 'x-code': z.ZodOptional<z.ZodString>;
57
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
58
+ }, "strip", z.ZodTypeAny, {
59
+ 'x-tenant': string;
60
+ authorization: string;
61
+ 'x-client-timezone': string;
62
+ 'x-code'?: string | undefined;
63
+ }, {
64
+ 'x-tenant': string;
65
+ authorization: string;
66
+ 'x-code'?: string | undefined;
67
+ 'x-client-timezone'?: string | undefined;
68
+ }>>>;
51
69
  responses: {
52
- 200: z.ZodObject<{
70
+ 200: z.ZodObject<z.objectUtil.extendShape<{
53
71
  requestId: z.ZodString;
72
+ }, {
54
73
  dashboard: z.ZodObject<{
55
74
  receivedTicketCount: z.ZodNumber;
56
75
  pendingTicketCount: z.ZodNumber;
@@ -154,7 +173,7 @@ export declare const dashboardContract: {
154
173
  name: string;
155
174
  };
156
175
  }>;
157
- }, "strip", z.ZodTypeAny, {
176
+ }>, "strip", z.ZodTypeAny, {
158
177
  requestId: string;
159
178
  dashboard: {
160
179
  receivedTicketCount: number;
@@ -223,7 +242,21 @@ export declare const dashboardContract: {
223
242
  error?: any;
224
243
  }>;
225
244
  };
226
- path: "dashboard";
245
+ };
246
+ getQueueCallDashboardData: {
247
+ summary: "Get queue call dashboard";
248
+ method: "GET";
249
+ query: z.ZodObject<{
250
+ channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
251
+ selectedDate: z.ZodString;
252
+ }, "strip", z.ZodTypeAny, {
253
+ selectedDate: string;
254
+ channelIds?: string[] | undefined;
255
+ }, {
256
+ selectedDate: string;
257
+ channelIds?: string[] | undefined;
258
+ }>;
259
+ path: "dashboard/queue_call_dashboard";
227
260
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
228
261
  'x-tenant': z.ZodString;
229
262
  authorization: z.ZodString;
@@ -240,23 +273,10 @@ export declare const dashboardContract: {
240
273
  'x-code'?: string | undefined;
241
274
  'x-client-timezone'?: string | undefined;
242
275
  }>>>;
243
- };
244
- getQueueCallDashboardData: {
245
- summary: "Get queue call dashboard";
246
- method: "GET";
247
- query: z.ZodObject<{
248
- channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
249
- selectedDate: z.ZodString;
250
- }, "strip", z.ZodTypeAny, {
251
- selectedDate: string;
252
- channelIds?: string[] | undefined;
253
- }, {
254
- selectedDate: string;
255
- channelIds?: string[] | undefined;
256
- }>;
257
276
  responses: {
258
- 200: z.ZodObject<{
277
+ 200: z.ZodObject<z.objectUtil.extendShape<{
259
278
  requestId: z.ZodString;
279
+ }, {
260
280
  queuecallDashboard: z.ZodObject<{
261
281
  totalTelephonyQueueCallCountList: z.ZodObject<{
262
282
  totalQueueCall: z.ZodNumber;
@@ -419,7 +439,7 @@ export declare const dashboardContract: {
419
439
  };
420
440
  }[];
421
441
  }>;
422
- }, "strip", z.ZodTypeAny, {
442
+ }>, "strip", z.ZodTypeAny, {
423
443
  requestId: string;
424
444
  queuecallDashboard: {
425
445
  totalTelephonyQueueCallCountList: {
@@ -502,7 +522,12 @@ export declare const dashboardContract: {
502
522
  error?: any;
503
523
  }>;
504
524
  };
505
- path: "dashboard/queue_call_dashboard";
525
+ };
526
+ getQueueLiveCallCountList: {
527
+ summary: "Get queue live call count list";
528
+ method: "GET";
529
+ query: null;
530
+ path: "dashboard/queue_live_call_count_list";
506
531
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
507
532
  'x-tenant': z.ZodString;
508
533
  authorization: z.ZodString;
@@ -519,14 +544,10 @@ export declare const dashboardContract: {
519
544
  'x-code'?: string | undefined;
520
545
  'x-client-timezone'?: string | undefined;
521
546
  }>>>;
522
- };
523
- getQueueLiveCallCountList: {
524
- summary: "Get queue live call count list";
525
- method: "GET";
526
- query: null;
527
547
  responses: {
528
- 200: z.ZodObject<{
548
+ 200: z.ZodObject<z.objectUtil.extendShape<{
529
549
  requestId: z.ZodString;
550
+ }, {
530
551
  queueLiveCallCountList: z.ZodObject<{
531
552
  totalQueueLiveCallStatus: z.ZodObject<{
532
553
  activeCallCount: z.ZodNumber;
@@ -572,7 +593,7 @@ export declare const dashboardContract: {
572
593
  waitingCallCount: number;
573
594
  }[];
574
595
  }>;
575
- }, "strip", z.ZodTypeAny, {
596
+ }>, "strip", z.ZodTypeAny, {
576
597
  requestId: string;
577
598
  queueLiveCallCountList: {
578
599
  totalQueueLiveCallStatus: {
@@ -610,7 +631,12 @@ export declare const dashboardContract: {
610
631
  error?: any;
611
632
  }>;
612
633
  };
613
- path: "dashboard/queue_live_call_count_list";
634
+ };
635
+ getQueryCalls: {
636
+ summary: "Get query calls";
637
+ method: "GET";
638
+ query: null;
639
+ path: "dashboard/query-calls";
614
640
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
615
641
  'x-tenant': z.ZodString;
616
642
  authorization: z.ZodString;
@@ -627,14 +653,10 @@ export declare const dashboardContract: {
627
653
  'x-code'?: string | undefined;
628
654
  'x-client-timezone'?: string | undefined;
629
655
  }>>>;
630
- };
631
- getQueryCalls: {
632
- summary: "Get query calls";
633
- method: "GET";
634
- query: null;
635
656
  responses: {
636
- 200: z.ZodObject<{
657
+ 200: z.ZodObject<z.objectUtil.extendShape<{
637
658
  requestId: z.ZodString;
659
+ }, {
638
660
  dashboard: z.ZodObject<{
639
661
  receivedTicketCount: z.ZodNumber;
640
662
  pendingTicketCount: z.ZodNumber;
@@ -738,7 +760,7 @@ export declare const dashboardContract: {
738
760
  name: string;
739
761
  };
740
762
  }>;
741
- }, "strip", z.ZodTypeAny, {
763
+ }>, "strip", z.ZodTypeAny, {
742
764
  requestId: string;
743
765
  dashboard: {
744
766
  receivedTicketCount: number;
@@ -800,7 +822,25 @@ export declare const dashboardContract: {
800
822
  error?: any;
801
823
  }>;
802
824
  };
803
- path: "dashboard/query-calls";
825
+ };
826
+ getTicketDashboardData: {
827
+ summary: "Get ticket dashboard";
828
+ method: "GET";
829
+ query: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
830
+ channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
831
+ selectedDate: z.ZodString;
832
+ }, {
833
+ agentId: z.ZodOptional<z.ZodString>;
834
+ }>, "strip", z.ZodTypeAny, {
835
+ selectedDate: string;
836
+ agentId?: string | undefined;
837
+ channelIds?: string[] | undefined;
838
+ }, {
839
+ selectedDate: string;
840
+ agentId?: string | undefined;
841
+ channelIds?: string[] | undefined;
842
+ }>>;
843
+ path: "dashboard/ticket";
804
844
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
805
845
  'x-tenant': z.ZodString;
806
846
  authorization: z.ZodString;
@@ -817,26 +857,10 @@ export declare const dashboardContract: {
817
857
  'x-code'?: string | undefined;
818
858
  'x-client-timezone'?: string | undefined;
819
859
  }>>>;
820
- };
821
- getTicketDashboardData: {
822
- summary: "Get ticket dashboard";
823
- method: "GET";
824
- query: z.ZodOptional<z.ZodObject<{
825
- selectedDate: z.ZodString;
826
- channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
827
- agentId: z.ZodOptional<z.ZodString>;
828
- }, "strip", z.ZodTypeAny, {
829
- selectedDate: string;
830
- channelIds?: string[] | undefined;
831
- agentId?: string | undefined;
832
- }, {
833
- selectedDate: string;
834
- channelIds?: string[] | undefined;
835
- agentId?: string | undefined;
836
- }>>;
837
860
  responses: {
838
- 200: z.ZodObject<{
861
+ 200: z.ZodObject<z.objectUtil.extendShape<{
839
862
  requestId: z.ZodString;
863
+ }, {
840
864
  ticketCountByStatus: z.ZodObject<{
841
865
  total: z.ZodNumber;
842
866
  open: z.ZodNumber;
@@ -860,39 +884,39 @@ export declare const dashboardContract: {
860
884
  closed: number;
861
885
  open: number;
862
886
  pending: number;
863
- others: number;
864
- solved: number;
865
887
  duration: {
866
888
  day: string | null;
867
889
  hour: string | null;
868
890
  };
891
+ others: number;
892
+ solved: number;
869
893
  unassigneed: number;
870
894
  }, {
871
895
  total: number;
872
896
  closed: number;
873
897
  open: number;
874
898
  pending: number;
875
- others: number;
876
- solved: number;
877
899
  duration: {
878
900
  day: string | null;
879
901
  hour: string | null;
880
902
  };
903
+ others: number;
904
+ solved: number;
881
905
  unassigneed: number;
882
906
  }>;
883
- }, "strip", z.ZodTypeAny, {
907
+ }>, "strip", z.ZodTypeAny, {
884
908
  requestId: string;
885
909
  ticketCountByStatus: {
886
910
  total: number;
887
911
  closed: number;
888
912
  open: number;
889
913
  pending: number;
890
- others: number;
891
- solved: number;
892
914
  duration: {
893
915
  day: string | null;
894
916
  hour: string | null;
895
917
  };
918
+ others: number;
919
+ solved: number;
896
920
  unassigneed: number;
897
921
  };
898
922
  }, {
@@ -902,12 +926,12 @@ export declare const dashboardContract: {
902
926
  closed: number;
903
927
  open: number;
904
928
  pending: number;
905
- others: number;
906
- solved: number;
907
929
  duration: {
908
930
  day: string | null;
909
931
  hour: string | null;
910
932
  };
933
+ others: number;
934
+ solved: number;
911
935
  unassigneed: number;
912
936
  };
913
937
  }>;
@@ -922,7 +946,12 @@ export declare const dashboardContract: {
922
946
  error?: any;
923
947
  }>;
924
948
  };
925
- path: "dashboard/ticket";
949
+ };
950
+ getExpiredTicketData: {
951
+ summary: "Get expired ticket data";
952
+ method: "GET";
953
+ query: null;
954
+ path: "dashboard/ticket/expired";
926
955
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
927
956
  'x-tenant': z.ZodString;
928
957
  authorization: z.ZodString;
@@ -939,14 +968,10 @@ export declare const dashboardContract: {
939
968
  'x-code'?: string | undefined;
940
969
  'x-client-timezone'?: string | undefined;
941
970
  }>>>;
942
- };
943
- getExpiredTicketData: {
944
- summary: "Get expired ticket data";
945
- method: "GET";
946
- query: null;
947
971
  responses: {
948
- 200: z.ZodObject<{
972
+ 200: z.ZodObject<z.objectUtil.extendShape<{
949
973
  requestId: z.ZodString;
974
+ }, {
950
975
  expiredTicketData: z.ZodArray<z.ZodObject<{
951
976
  id: z.ZodString;
952
977
  ticketNumber: z.ZodNumber;
@@ -966,7 +991,7 @@ export declare const dashboardContract: {
966
991
  ticketNumber: number;
967
992
  expiredDays: number;
968
993
  }>, "many">;
969
- }, "strip", z.ZodTypeAny, {
994
+ }>, "strip", z.ZodTypeAny, {
970
995
  requestId: string;
971
996
  expiredTicketData: {
972
997
  id: string;
@@ -996,7 +1021,21 @@ export declare const dashboardContract: {
996
1021
  error?: any;
997
1022
  }>;
998
1023
  };
999
- path: "dashboard/ticket/expired";
1024
+ };
1025
+ getTicketTagData: {
1026
+ summary: "Get ticket tag data";
1027
+ method: "GET";
1028
+ query: z.ZodObject<{
1029
+ channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1030
+ selectedDate: z.ZodString;
1031
+ }, "strip", z.ZodTypeAny, {
1032
+ selectedDate: string;
1033
+ channelIds?: string[] | undefined;
1034
+ }, {
1035
+ selectedDate: string;
1036
+ channelIds?: string[] | undefined;
1037
+ }>;
1038
+ path: "dashboard/ticket/tag";
1000
1039
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1001
1040
  'x-tenant': z.ZodString;
1002
1041
  authorization: z.ZodString;
@@ -1013,23 +1052,10 @@ export declare const dashboardContract: {
1013
1052
  'x-code'?: string | undefined;
1014
1053
  'x-client-timezone'?: string | undefined;
1015
1054
  }>>>;
1016
- };
1017
- getTicketTagData: {
1018
- summary: "Get ticket tag data";
1019
- method: "GET";
1020
- query: z.ZodObject<{
1021
- channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1022
- selectedDate: z.ZodString;
1023
- }, "strip", z.ZodTypeAny, {
1024
- selectedDate: string;
1025
- channelIds?: string[] | undefined;
1026
- }, {
1027
- selectedDate: string;
1028
- channelIds?: string[] | undefined;
1029
- }>;
1030
1055
  responses: {
1031
- 200: z.ZodObject<{
1056
+ 200: z.ZodObject<z.objectUtil.extendShape<{
1032
1057
  requestId: z.ZodString;
1058
+ }, {
1033
1059
  ticketTags: z.ZodArray<z.ZodObject<{
1034
1060
  id: z.ZodString;
1035
1061
  name: z.ZodString;
@@ -1043,7 +1069,7 @@ export declare const dashboardContract: {
1043
1069
  name: string;
1044
1070
  count: number;
1045
1071
  }>, "many">;
1046
- }, "strip", z.ZodTypeAny, {
1072
+ }>, "strip", z.ZodTypeAny, {
1047
1073
  requestId: string;
1048
1074
  ticketTags: {
1049
1075
  id: string;
@@ -1069,7 +1095,26 @@ export declare const dashboardContract: {
1069
1095
  error?: any;
1070
1096
  }>;
1071
1097
  };
1072
- path: "dashboard/ticket/tag";
1098
+ };
1099
+ getMessageChannelData: {
1100
+ summary: "Get message channel data";
1101
+ method: "GET";
1102
+ query: z.ZodObject<z.objectUtil.extendShape<{
1103
+ channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1104
+ selectedDate: z.ZodString;
1105
+ }, {
1106
+ time: z.ZodEnum<["byDay", "byMonth", "byHour"]>;
1107
+ channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1108
+ }>, "strip", z.ZodTypeAny, {
1109
+ time: "byDay" | "byMonth" | "byHour";
1110
+ selectedDate: string;
1111
+ channelIds?: string[] | undefined;
1112
+ }, {
1113
+ time: "byDay" | "byMonth" | "byHour";
1114
+ selectedDate: string;
1115
+ channelIds?: string[] | undefined;
1116
+ }>;
1117
+ path: "dashboard/message/channel";
1073
1118
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1074
1119
  'x-tenant': z.ZodString;
1075
1120
  authorization: z.ZodString;
@@ -1086,26 +1131,10 @@ export declare const dashboardContract: {
1086
1131
  'x-code'?: string | undefined;
1087
1132
  'x-client-timezone'?: string | undefined;
1088
1133
  }>>>;
1089
- };
1090
- getMessageChannelData: {
1091
- summary: "Get message channel data";
1092
- method: "GET";
1093
- query: z.ZodObject<{
1094
- selectedDate: z.ZodString;
1095
- time: z.ZodEnum<["byDay", "byMonth", "byHour"]>;
1096
- channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1097
- }, "strip", z.ZodTypeAny, {
1098
- time: "byDay" | "byMonth" | "byHour";
1099
- selectedDate: string;
1100
- channelIds?: string[] | undefined;
1101
- }, {
1102
- time: "byDay" | "byMonth" | "byHour";
1103
- selectedDate: string;
1104
- channelIds?: string[] | undefined;
1105
- }>;
1106
1134
  responses: {
1107
- 200: z.ZodObject<{
1135
+ 200: z.ZodObject<z.objectUtil.extendShape<{
1108
1136
  requestId: z.ZodString;
1137
+ }, {
1109
1138
  messageCounts: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
1110
1139
  platform: z.ZodString;
1111
1140
  messageCount: z.ZodNumber;
@@ -1116,7 +1145,7 @@ export declare const dashboardContract: {
1116
1145
  platform: string;
1117
1146
  messageCount: number;
1118
1147
  }>, "many">>;
1119
- }, "strip", z.ZodTypeAny, {
1148
+ }>, "strip", z.ZodTypeAny, {
1120
1149
  requestId: string;
1121
1150
  messageCounts: Record<string, {
1122
1151
  platform: string;
@@ -1140,7 +1169,26 @@ export declare const dashboardContract: {
1140
1169
  error?: any;
1141
1170
  }>;
1142
1171
  };
1143
- path: "dashboard/message/channel";
1172
+ };
1173
+ getMessageTagData: {
1174
+ summary: "Get message tag data";
1175
+ method: "GET";
1176
+ query: z.ZodObject<z.objectUtil.extendShape<{
1177
+ channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1178
+ selectedDate: z.ZodString;
1179
+ }, {
1180
+ channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1181
+ agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1182
+ }>, "strip", z.ZodTypeAny, {
1183
+ selectedDate: string;
1184
+ channelIds?: string[] | undefined;
1185
+ agentIds?: string[] | undefined;
1186
+ }, {
1187
+ selectedDate: string;
1188
+ channelIds?: string[] | undefined;
1189
+ agentIds?: string[] | undefined;
1190
+ }>;
1191
+ path: "dashboard/message/tag";
1144
1192
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1145
1193
  'x-tenant': z.ZodString;
1146
1194
  authorization: z.ZodString;
@@ -1157,26 +1205,10 @@ export declare const dashboardContract: {
1157
1205
  'x-code'?: string | undefined;
1158
1206
  'x-client-timezone'?: string | undefined;
1159
1207
  }>>>;
1160
- };
1161
- getMessageTagData: {
1162
- summary: "Get message tag data";
1163
- method: "GET";
1164
- query: z.ZodObject<{
1165
- selectedDate: z.ZodString;
1166
- channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1167
- agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1168
- }, "strip", z.ZodTypeAny, {
1169
- selectedDate: string;
1170
- channelIds?: string[] | undefined;
1171
- agentIds?: string[] | undefined;
1172
- }, {
1173
- selectedDate: string;
1174
- channelIds?: string[] | undefined;
1175
- agentIds?: string[] | undefined;
1176
- }>;
1177
1208
  responses: {
1178
- 200: z.ZodObject<{
1209
+ 200: z.ZodObject<z.objectUtil.extendShape<{
1179
1210
  requestId: z.ZodString;
1211
+ }, {
1180
1212
  messageTags: z.ZodArray<z.ZodObject<{
1181
1213
  id: z.ZodString;
1182
1214
  name: z.ZodString;
@@ -1190,7 +1222,7 @@ export declare const dashboardContract: {
1190
1222
  name: string;
1191
1223
  count: number;
1192
1224
  }>, "many">;
1193
- }, "strip", z.ZodTypeAny, {
1225
+ }>, "strip", z.ZodTypeAny, {
1194
1226
  requestId: string;
1195
1227
  messageTags: {
1196
1228
  id: string;
@@ -1216,7 +1248,25 @@ export declare const dashboardContract: {
1216
1248
  error?: any;
1217
1249
  }>;
1218
1250
  };
1219
- path: "dashboard/message/tag";
1251
+ };
1252
+ getCallTagData: {
1253
+ summary: "Get call tag data";
1254
+ method: "GET";
1255
+ query: z.ZodObject<z.objectUtil.extendShape<{
1256
+ channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1257
+ selectedDate: z.ZodString;
1258
+ }, {
1259
+ direction: z.ZodOptional<z.ZodString>;
1260
+ }>, "strip", z.ZodTypeAny, {
1261
+ selectedDate: string;
1262
+ direction?: string | undefined;
1263
+ channelIds?: string[] | undefined;
1264
+ }, {
1265
+ selectedDate: string;
1266
+ direction?: string | undefined;
1267
+ channelIds?: string[] | undefined;
1268
+ }>;
1269
+ path: "dashboard/call/tag";
1220
1270
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1221
1271
  'x-tenant': z.ZodString;
1222
1272
  authorization: z.ZodString;
@@ -1233,26 +1283,10 @@ export declare const dashboardContract: {
1233
1283
  'x-code'?: string | undefined;
1234
1284
  'x-client-timezone'?: string | undefined;
1235
1285
  }>>>;
1236
- };
1237
- getCallTagData: {
1238
- summary: "Get call tag data";
1239
- method: "GET";
1240
- query: z.ZodObject<{
1241
- selectedDate: z.ZodString;
1242
- channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1243
- direction: z.ZodOptional<z.ZodString>;
1244
- }, "strip", z.ZodTypeAny, {
1245
- selectedDate: string;
1246
- channelIds?: string[] | undefined;
1247
- direction?: string | undefined;
1248
- }, {
1249
- selectedDate: string;
1250
- channelIds?: string[] | undefined;
1251
- direction?: string | undefined;
1252
- }>;
1253
1286
  responses: {
1254
- 200: z.ZodObject<{
1287
+ 200: z.ZodObject<z.objectUtil.extendShape<{
1255
1288
  requestId: z.ZodString;
1289
+ }, {
1256
1290
  callTags: z.ZodArray<z.ZodObject<{
1257
1291
  id: z.ZodString;
1258
1292
  name: z.ZodString;
@@ -1266,7 +1300,7 @@ export declare const dashboardContract: {
1266
1300
  name: string;
1267
1301
  count: number;
1268
1302
  }>, "many">;
1269
- }, "strip", z.ZodTypeAny, {
1303
+ }>, "strip", z.ZodTypeAny, {
1270
1304
  requestId: string;
1271
1305
  callTags: {
1272
1306
  id: string;
@@ -1292,7 +1326,25 @@ export declare const dashboardContract: {
1292
1326
  error?: any;
1293
1327
  }>;
1294
1328
  };
1295
- path: "dashboard/call/tag";
1329
+ };
1330
+ getCallResultData: {
1331
+ summary: "Get call result data";
1332
+ method: "GET";
1333
+ query: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
1334
+ channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1335
+ selectedDate: z.ZodString;
1336
+ }, {
1337
+ agentId: z.ZodOptional<z.ZodString>;
1338
+ }>, "strip", z.ZodTypeAny, {
1339
+ selectedDate: string;
1340
+ agentId?: string | undefined;
1341
+ channelIds?: string[] | undefined;
1342
+ }, {
1343
+ selectedDate: string;
1344
+ agentId?: string | undefined;
1345
+ channelIds?: string[] | undefined;
1346
+ }>>;
1347
+ path: "dashboard/call/result";
1296
1348
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1297
1349
  'x-tenant': z.ZodString;
1298
1350
  authorization: z.ZodString;
@@ -1309,26 +1361,10 @@ export declare const dashboardContract: {
1309
1361
  'x-code'?: string | undefined;
1310
1362
  'x-client-timezone'?: string | undefined;
1311
1363
  }>>>;
1312
- };
1313
- getCallResultData: {
1314
- summary: "Get call result data";
1315
- method: "GET";
1316
- query: z.ZodOptional<z.ZodObject<{
1317
- selectedDate: z.ZodString;
1318
- channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1319
- agentId: z.ZodOptional<z.ZodString>;
1320
- }, "strip", z.ZodTypeAny, {
1321
- selectedDate: string;
1322
- channelIds?: string[] | undefined;
1323
- agentId?: string | undefined;
1324
- }, {
1325
- selectedDate: string;
1326
- channelIds?: string[] | undefined;
1327
- agentId?: string | undefined;
1328
- }>>;
1329
1364
  responses: {
1330
- 200: z.ZodObject<{
1365
+ 200: z.ZodObject<z.objectUtil.extendShape<{
1331
1366
  requestId: z.ZodString;
1367
+ }, {
1332
1368
  callEndResults: z.ZodOptional<z.ZodArray<z.ZodOptional<z.ZodObject<{
1333
1369
  result: z.ZodNullable<z.ZodString>;
1334
1370
  count: z.ZodNullable<z.ZodString>;
@@ -1339,7 +1375,7 @@ export declare const dashboardContract: {
1339
1375
  result: string | null;
1340
1376
  count: string | null;
1341
1377
  }>>, "many">>;
1342
- }, "strip", z.ZodTypeAny, {
1378
+ }>, "strip", z.ZodTypeAny, {
1343
1379
  requestId: string;
1344
1380
  callEndResults?: ({
1345
1381
  result: string | null;
@@ -1363,7 +1399,26 @@ export declare const dashboardContract: {
1363
1399
  error?: any;
1364
1400
  }>;
1365
1401
  };
1366
- path: "dashboard/call/result";
1402
+ };
1403
+ getConversationActivity: {
1404
+ summary: "Get message contact data";
1405
+ method: "GET";
1406
+ query: z.ZodObject<z.objectUtil.extendShape<{
1407
+ channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1408
+ selectedDate: z.ZodString;
1409
+ }, {
1410
+ channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1411
+ agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1412
+ }>, "strip", z.ZodTypeAny, {
1413
+ selectedDate: string;
1414
+ channelIds?: string[] | undefined;
1415
+ agentIds?: string[] | undefined;
1416
+ }, {
1417
+ selectedDate: string;
1418
+ channelIds?: string[] | undefined;
1419
+ agentIds?: string[] | undefined;
1420
+ }>;
1421
+ path: "dashboard/message/conversation-activities";
1367
1422
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1368
1423
  'x-tenant': z.ZodString;
1369
1424
  authorization: z.ZodString;
@@ -1380,26 +1435,10 @@ export declare const dashboardContract: {
1380
1435
  'x-code'?: string | undefined;
1381
1436
  'x-client-timezone'?: string | undefined;
1382
1437
  }>>>;
1383
- };
1384
- getConversationActivity: {
1385
- summary: "Get message contact data";
1386
- method: "GET";
1387
- query: z.ZodObject<{
1388
- selectedDate: z.ZodString;
1389
- channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1390
- agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1391
- }, "strip", z.ZodTypeAny, {
1392
- selectedDate: string;
1393
- channelIds?: string[] | undefined;
1394
- agentIds?: string[] | undefined;
1395
- }, {
1396
- selectedDate: string;
1397
- channelIds?: string[] | undefined;
1398
- agentIds?: string[] | undefined;
1399
- }>;
1400
1438
  responses: {
1401
- 200: z.ZodObject<{
1439
+ 200: z.ZodObject<z.objectUtil.extendShape<{
1402
1440
  requestId: z.ZodString;
1441
+ }, {
1403
1442
  conversationActivity: z.ZodObject<{
1404
1443
  newContactCount: z.ZodNullable<z.ZodNumber>;
1405
1444
  oldContactCount: z.ZodNullable<z.ZodNumber>;
@@ -1410,7 +1449,7 @@ export declare const dashboardContract: {
1410
1449
  newContactCount: number | null;
1411
1450
  oldContactCount: number | null;
1412
1451
  }>;
1413
- }, "strip", z.ZodTypeAny, {
1452
+ }>, "strip", z.ZodTypeAny, {
1414
1453
  requestId: string;
1415
1454
  conversationActivity: {
1416
1455
  newContactCount: number | null;
@@ -1434,7 +1473,26 @@ export declare const dashboardContract: {
1434
1473
  error?: any;
1435
1474
  }>;
1436
1475
  };
1437
- path: "dashboard/message/conversation-activities";
1476
+ };
1477
+ getRoomStatusCountByStatus: {
1478
+ summary: "Get room status count by status";
1479
+ method: "GET";
1480
+ query: z.ZodObject<z.objectUtil.extendShape<{
1481
+ channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1482
+ selectedDate: z.ZodString;
1483
+ }, {
1484
+ channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1485
+ agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1486
+ }>, "strip", z.ZodTypeAny, {
1487
+ selectedDate: string;
1488
+ channelIds?: string[] | undefined;
1489
+ agentIds?: string[] | undefined;
1490
+ }, {
1491
+ selectedDate: string;
1492
+ channelIds?: string[] | undefined;
1493
+ agentIds?: string[] | undefined;
1494
+ }>;
1495
+ path: "dashboard/message/status";
1438
1496
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1439
1497
  'x-tenant': z.ZodString;
1440
1498
  authorization: z.ZodString;
@@ -1451,26 +1509,10 @@ export declare const dashboardContract: {
1451
1509
  'x-code'?: string | undefined;
1452
1510
  'x-client-timezone'?: string | undefined;
1453
1511
  }>>>;
1454
- };
1455
- getRoomStatusCountByStatus: {
1456
- summary: "Get room status count by status";
1457
- method: "GET";
1458
- query: z.ZodObject<{
1459
- selectedDate: z.ZodString;
1460
- channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1461
- agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1462
- }, "strip", z.ZodTypeAny, {
1463
- selectedDate: string;
1464
- channelIds?: string[] | undefined;
1465
- agentIds?: string[] | undefined;
1466
- }, {
1467
- selectedDate: string;
1468
- channelIds?: string[] | undefined;
1469
- agentIds?: string[] | undefined;
1470
- }>;
1471
1512
  responses: {
1472
- 200: z.ZodObject<{
1513
+ 200: z.ZodObject<z.objectUtil.extendShape<{
1473
1514
  requestId: z.ZodString;
1515
+ }, {
1474
1516
  roomStatusCountByStatus: z.ZodObject<{
1475
1517
  total: z.ZodNullable<z.ZodNumber>;
1476
1518
  closed: z.ZodNullable<z.ZodNumber>;
@@ -1487,7 +1529,7 @@ export declare const dashboardContract: {
1487
1529
  unassignedOpen: number | null;
1488
1530
  assignedOpen: number | null;
1489
1531
  }>;
1490
- }, "strip", z.ZodTypeAny, {
1532
+ }>, "strip", z.ZodTypeAny, {
1491
1533
  requestId: string;
1492
1534
  roomStatusCountByStatus: {
1493
1535
  total: number | null;
@@ -1515,7 +1557,26 @@ export declare const dashboardContract: {
1515
1557
  error?: any;
1516
1558
  }>;
1517
1559
  };
1518
- path: "dashboard/message/status";
1560
+ };
1561
+ getRoomStatusAverage: {
1562
+ summary: "Get room status average";
1563
+ method: "GET";
1564
+ query: z.ZodObject<z.objectUtil.extendShape<{
1565
+ channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1566
+ selectedDate: z.ZodString;
1567
+ }, {
1568
+ channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1569
+ agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1570
+ }>, "strip", z.ZodTypeAny, {
1571
+ selectedDate: string;
1572
+ channelIds?: string[] | undefined;
1573
+ agentIds?: string[] | undefined;
1574
+ }, {
1575
+ selectedDate: string;
1576
+ channelIds?: string[] | undefined;
1577
+ agentIds?: string[] | undefined;
1578
+ }>;
1579
+ path: "dashboard/message/average";
1519
1580
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1520
1581
  'x-tenant': z.ZodString;
1521
1582
  authorization: z.ZodString;
@@ -1532,26 +1593,10 @@ export declare const dashboardContract: {
1532
1593
  'x-code'?: string | undefined;
1533
1594
  'x-client-timezone'?: string | undefined;
1534
1595
  }>>>;
1535
- };
1536
- getRoomStatusAverage: {
1537
- summary: "Get room status average";
1538
- method: "GET";
1539
- query: z.ZodObject<{
1540
- selectedDate: z.ZodString;
1541
- channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1542
- agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1543
- }, "strip", z.ZodTypeAny, {
1544
- selectedDate: string;
1545
- channelIds?: string[] | undefined;
1546
- agentIds?: string[] | undefined;
1547
- }, {
1548
- selectedDate: string;
1549
- channelIds?: string[] | undefined;
1550
- agentIds?: string[] | undefined;
1551
- }>;
1552
1596
  responses: {
1553
- 200: z.ZodObject<{
1597
+ 200: z.ZodObject<z.objectUtil.extendShape<{
1554
1598
  requestId: z.ZodString;
1599
+ }, {
1555
1600
  roomStatusAverage: z.ZodObject<{
1556
1601
  selectedWeekAvgByDay: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
1557
1602
  day: z.ZodNullable<z.ZodString>;
@@ -1615,7 +1660,7 @@ export declare const dashboardContract: {
1615
1660
  avgResponseTime: string | null;
1616
1661
  } | null | undefined;
1617
1662
  }>;
1618
- }, "strip", z.ZodTypeAny, {
1663
+ }>, "strip", z.ZodTypeAny, {
1619
1664
  requestId: string;
1620
1665
  roomStatusAverage: {
1621
1666
  selectedWeekAvgByDay?: {
@@ -1661,7 +1706,26 @@ export declare const dashboardContract: {
1661
1706
  error?: any;
1662
1707
  }>;
1663
1708
  };
1664
- path: "dashboard/message/average";
1709
+ };
1710
+ getChannelIncomingMessageCounts: {
1711
+ summary: "Get message platform data";
1712
+ method: "GET";
1713
+ query: z.ZodObject<z.objectUtil.extendShape<{
1714
+ channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1715
+ selectedDate: z.ZodString;
1716
+ }, {
1717
+ channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1718
+ agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1719
+ }>, "strip", z.ZodTypeAny, {
1720
+ selectedDate: string;
1721
+ channelIds?: string[] | undefined;
1722
+ agentIds?: string[] | undefined;
1723
+ }, {
1724
+ selectedDate: string;
1725
+ channelIds?: string[] | undefined;
1726
+ agentIds?: string[] | undefined;
1727
+ }>;
1728
+ path: "dashboard/message/platform";
1665
1729
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1666
1730
  'x-tenant': z.ZodString;
1667
1731
  authorization: z.ZodString;
@@ -1678,26 +1742,10 @@ export declare const dashboardContract: {
1678
1742
  'x-code'?: string | undefined;
1679
1743
  'x-client-timezone'?: string | undefined;
1680
1744
  }>>>;
1681
- };
1682
- getChannelIncomingMessageCounts: {
1683
- summary: "Get message platform data";
1684
- method: "GET";
1685
- query: z.ZodObject<{
1686
- selectedDate: z.ZodString;
1687
- channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1688
- agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1689
- }, "strip", z.ZodTypeAny, {
1690
- selectedDate: string;
1691
- channelIds?: string[] | undefined;
1692
- agentIds?: string[] | undefined;
1693
- }, {
1694
- selectedDate: string;
1695
- channelIds?: string[] | undefined;
1696
- agentIds?: string[] | undefined;
1697
- }>;
1698
1745
  responses: {
1699
- 200: z.ZodObject<{
1746
+ 200: z.ZodObject<z.objectUtil.extendShape<{
1700
1747
  requestId: z.ZodString;
1748
+ }, {
1701
1749
  incomingMessageCounts: z.ZodArray<z.ZodObject<{
1702
1750
  channelName: z.ZodNullable<z.ZodString>;
1703
1751
  channelType: z.ZodNullable<z.ZodString>;
@@ -1711,7 +1759,7 @@ export declare const dashboardContract: {
1711
1759
  count: string | null;
1712
1760
  channelName: string | null;
1713
1761
  }>, "many">;
1714
- }, "strip", z.ZodTypeAny, {
1762
+ }>, "strip", z.ZodTypeAny, {
1715
1763
  requestId: string;
1716
1764
  incomingMessageCounts: {
1717
1765
  channelType: string | null;
@@ -1737,7 +1785,26 @@ export declare const dashboardContract: {
1737
1785
  error?: any;
1738
1786
  }>;
1739
1787
  };
1740
- path: "dashboard/message/platform";
1788
+ };
1789
+ getMessageRoomStatusDispositionData: {
1790
+ summary: "Get message room status disposition data";
1791
+ method: "GET";
1792
+ query: z.ZodObject<z.objectUtil.extendShape<{
1793
+ channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1794
+ selectedDate: z.ZodString;
1795
+ }, {
1796
+ channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1797
+ agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1798
+ }>, "strip", z.ZodTypeAny, {
1799
+ selectedDate: string;
1800
+ channelIds?: string[] | undefined;
1801
+ agentIds?: string[] | undefined;
1802
+ }, {
1803
+ selectedDate: string;
1804
+ channelIds?: string[] | undefined;
1805
+ agentIds?: string[] | undefined;
1806
+ }>;
1807
+ path: "dashboard/message/disposition";
1741
1808
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1742
1809
  'x-tenant': z.ZodString;
1743
1810
  authorization: z.ZodString;
@@ -1754,26 +1821,10 @@ export declare const dashboardContract: {
1754
1821
  'x-code'?: string | undefined;
1755
1822
  'x-client-timezone'?: string | undefined;
1756
1823
  }>>>;
1757
- };
1758
- getMessageRoomStatusDispositionData: {
1759
- summary: "Get message room status disposition data";
1760
- method: "GET";
1761
- query: z.ZodObject<{
1762
- selectedDate: z.ZodString;
1763
- channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1764
- agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1765
- }, "strip", z.ZodTypeAny, {
1766
- selectedDate: string;
1767
- channelIds?: string[] | undefined;
1768
- agentIds?: string[] | undefined;
1769
- }, {
1770
- selectedDate: string;
1771
- channelIds?: string[] | undefined;
1772
- agentIds?: string[] | undefined;
1773
- }>;
1774
1824
  responses: {
1775
- 200: z.ZodObject<{
1825
+ 200: z.ZodObject<z.objectUtil.extendShape<{
1776
1826
  requestId: z.ZodString;
1827
+ }, {
1777
1828
  messageRoomStatusDispositionData: z.ZodOptional<z.ZodArray<z.ZodObject<{
1778
1829
  name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
1779
1830
  count: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
@@ -1784,7 +1835,7 @@ export declare const dashboardContract: {
1784
1835
  name?: string | null | undefined;
1785
1836
  count?: number | null | undefined;
1786
1837
  }>, "many">>;
1787
- }, "strip", z.ZodTypeAny, {
1838
+ }>, "strip", z.ZodTypeAny, {
1788
1839
  requestId: string;
1789
1840
  messageRoomStatusDispositionData?: {
1790
1841
  name?: string | null | undefined;
@@ -1808,7 +1859,26 @@ export declare const dashboardContract: {
1808
1859
  error?: any;
1809
1860
  }>;
1810
1861
  };
1811
- path: "dashboard/message/disposition";
1862
+ };
1863
+ getIncomingMessageByPlatform: {
1864
+ summary: "Get incoming message by platform";
1865
+ method: "GET";
1866
+ query: z.ZodObject<z.objectUtil.extendShape<{
1867
+ channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1868
+ selectedDate: z.ZodString;
1869
+ }, {
1870
+ channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1871
+ agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1872
+ }>, "strip", z.ZodTypeAny, {
1873
+ selectedDate: string;
1874
+ channelIds?: string[] | undefined;
1875
+ agentIds?: string[] | undefined;
1876
+ }, {
1877
+ selectedDate: string;
1878
+ channelIds?: string[] | undefined;
1879
+ agentIds?: string[] | undefined;
1880
+ }>;
1881
+ path: "dashboard/message/incoming";
1812
1882
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1813
1883
  'x-tenant': z.ZodString;
1814
1884
  authorization: z.ZodString;
@@ -1825,26 +1895,10 @@ export declare const dashboardContract: {
1825
1895
  'x-code'?: string | undefined;
1826
1896
  'x-client-timezone'?: string | undefined;
1827
1897
  }>>>;
1828
- };
1829
- getIncomingMessageByPlatform: {
1830
- summary: "Get incoming message by platform";
1831
- method: "GET";
1832
- query: z.ZodObject<{
1833
- selectedDate: z.ZodString;
1834
- channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1835
- agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1836
- }, "strip", z.ZodTypeAny, {
1837
- selectedDate: string;
1838
- channelIds?: string[] | undefined;
1839
- agentIds?: string[] | undefined;
1840
- }, {
1841
- selectedDate: string;
1842
- channelIds?: string[] | undefined;
1843
- agentIds?: string[] | undefined;
1844
- }>;
1845
1898
  responses: {
1846
- 200: z.ZodObject<{
1899
+ 200: z.ZodObject<z.objectUtil.extendShape<{
1847
1900
  requestId: z.ZodString;
1901
+ }, {
1848
1902
  incomingMessageByPlatform: z.ZodArray<z.ZodObject<{
1849
1903
  platform: z.ZodNullable<z.ZodString>;
1850
1904
  hour: z.ZodNullable<z.ZodString>;
@@ -1858,7 +1912,7 @@ export declare const dashboardContract: {
1858
1912
  hour: string | null;
1859
1913
  messageCount: string | null;
1860
1914
  }>, "many">;
1861
- }, "strip", z.ZodTypeAny, {
1915
+ }>, "strip", z.ZodTypeAny, {
1862
1916
  requestId: string;
1863
1917
  incomingMessageByPlatform: {
1864
1918
  platform: string | null;
@@ -1884,7 +1938,26 @@ export declare const dashboardContract: {
1884
1938
  error?: any;
1885
1939
  }>;
1886
1940
  };
1887
- path: "dashboard/message/incoming";
1941
+ };
1942
+ getTotalIncomingMessageData: {
1943
+ summary: "Get total incoming message data";
1944
+ method: "GET";
1945
+ query: z.ZodObject<z.objectUtil.extendShape<{
1946
+ channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1947
+ selectedDate: z.ZodString;
1948
+ }, {
1949
+ channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1950
+ agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1951
+ }>, "strip", z.ZodTypeAny, {
1952
+ selectedDate: string;
1953
+ channelIds?: string[] | undefined;
1954
+ agentIds?: string[] | undefined;
1955
+ }, {
1956
+ selectedDate: string;
1957
+ channelIds?: string[] | undefined;
1958
+ agentIds?: string[] | undefined;
1959
+ }>;
1960
+ path: "dashboard/message/total-incoming";
1888
1961
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1889
1962
  'x-tenant': z.ZodString;
1890
1963
  authorization: z.ZodString;
@@ -1901,26 +1974,10 @@ export declare const dashboardContract: {
1901
1974
  'x-code'?: string | undefined;
1902
1975
  'x-client-timezone'?: string | undefined;
1903
1976
  }>>>;
1904
- };
1905
- getTotalIncomingMessageData: {
1906
- summary: "Get total incoming message data";
1907
- method: "GET";
1908
- query: z.ZodObject<{
1909
- selectedDate: z.ZodString;
1910
- channelIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1911
- agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1912
- }, "strip", z.ZodTypeAny, {
1913
- selectedDate: string;
1914
- channelIds?: string[] | undefined;
1915
- agentIds?: string[] | undefined;
1916
- }, {
1917
- selectedDate: string;
1918
- channelIds?: string[] | undefined;
1919
- agentIds?: string[] | undefined;
1920
- }>;
1921
1977
  responses: {
1922
- 200: z.ZodObject<{
1978
+ 200: z.ZodObject<z.objectUtil.extendShape<{
1923
1979
  requestId: z.ZodString;
1980
+ }, {
1924
1981
  totalIncomingMessageData: z.ZodArray<z.ZodNullable<z.ZodObject<{
1925
1982
  name: z.ZodString;
1926
1983
  data: z.ZodArray<z.ZodNumber, "many">;
@@ -1931,7 +1988,7 @@ export declare const dashboardContract: {
1931
1988
  data: number[];
1932
1989
  name: string;
1933
1990
  }>>, "many">;
1934
- }, "strip", z.ZodTypeAny, {
1991
+ }>, "strip", z.ZodTypeAny, {
1935
1992
  requestId: string;
1936
1993
  totalIncomingMessageData: ({
1937
1994
  data: number[];
@@ -1955,23 +2012,6 @@ export declare const dashboardContract: {
1955
2012
  error?: any;
1956
2013
  }>;
1957
2014
  };
1958
- path: "dashboard/message/total-incoming";
1959
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1960
- 'x-tenant': z.ZodString;
1961
- authorization: z.ZodString;
1962
- 'x-code': z.ZodOptional<z.ZodString>;
1963
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
1964
- }, "strip", z.ZodTypeAny, {
1965
- 'x-tenant': string;
1966
- authorization: string;
1967
- 'x-client-timezone': string;
1968
- 'x-code'?: string | undefined;
1969
- }, {
1970
- 'x-tenant': string;
1971
- authorization: string;
1972
- 'x-code'?: string | undefined;
1973
- 'x-client-timezone'?: string | undefined;
1974
- }>>>;
1975
2015
  };
1976
2016
  };
1977
2017
  //# sourceMappingURL=index.d.ts.map