@kl1/contracts 1.4.64 → 1.4.66

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.
Files changed (260) hide show
  1. package/dist/api-contracts/src/activity-log/index.d.ts +20 -21
  2. package/dist/api-contracts/src/activity-log/index.d.ts.map +1 -1
  3. package/dist/api-contracts/src/activity-log/schema.d.ts +3 -4
  4. package/dist/api-contracts/src/activity-log/schema.d.ts.map +1 -1
  5. package/dist/api-contracts/src/attribute/index.d.ts +116 -132
  6. package/dist/api-contracts/src/attribute/index.d.ts.map +1 -1
  7. package/dist/api-contracts/src/attribute/schema.d.ts +2 -5
  8. package/dist/api-contracts/src/attribute/schema.d.ts.map +1 -1
  9. package/dist/api-contracts/src/attribute-option/schema.d.ts +0 -1
  10. package/dist/api-contracts/src/attribute-option/schema.d.ts.map +1 -1
  11. package/dist/api-contracts/src/auth/index.d.ts +20 -22
  12. package/dist/api-contracts/src/auth/index.d.ts.map +1 -1
  13. package/dist/api-contracts/src/automation-queue/index.d.ts +126 -148
  14. package/dist/api-contracts/src/automation-queue/index.d.ts.map +1 -1
  15. package/dist/api-contracts/src/automation-queue/schema.d.ts +6 -9
  16. package/dist/api-contracts/src/automation-queue/schema.d.ts.map +1 -1
  17. package/dist/api-contracts/src/aws/index.d.ts +2 -4
  18. package/dist/api-contracts/src/aws/index.d.ts.map +1 -1
  19. package/dist/api-contracts/src/botpress/index.d.ts +22 -29
  20. package/dist/api-contracts/src/botpress/index.d.ts.map +1 -1
  21. package/dist/api-contracts/src/botpress/validation.d.ts +17 -20
  22. package/dist/api-contracts/src/botpress/validation.d.ts.map +1 -1
  23. package/dist/api-contracts/src/business-calendar/index.d.ts +4 -16
  24. package/dist/api-contracts/src/business-calendar/index.d.ts.map +1 -1
  25. package/dist/api-contracts/src/business-calendar/schema.d.ts +0 -5
  26. package/dist/api-contracts/src/business-calendar/schema.d.ts.map +1 -1
  27. package/dist/api-contracts/src/call-log/schema.d.ts +2 -3
  28. package/dist/api-contracts/src/call-log/schema.d.ts.map +1 -1
  29. package/dist/api-contracts/src/category/index.d.ts +91 -100
  30. package/dist/api-contracts/src/category/index.d.ts.map +1 -1
  31. package/dist/api-contracts/src/category/schema.d.ts +0 -1
  32. package/dist/api-contracts/src/category/schema.d.ts.map +1 -1
  33. package/dist/api-contracts/src/channel/index.d.ts +2156 -2256
  34. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  35. package/dist/api-contracts/src/channel/schema.d.ts +82 -82
  36. package/dist/api-contracts/src/channel/validation.d.ts +104 -168
  37. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  38. package/dist/api-contracts/src/chat/index.d.ts +11622 -12173
  39. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  40. package/dist/api-contracts/src/chat/schema.d.ts +2567 -2729
  41. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  42. package/dist/api-contracts/src/chat/validation.d.ts +4875 -4976
  43. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  44. package/dist/api-contracts/src/comment/index.d.ts +155 -227
  45. package/dist/api-contracts/src/comment/index.d.ts.map +1 -1
  46. package/dist/api-contracts/src/comment/schema.d.ts +29 -52
  47. package/dist/api-contracts/src/comment/schema.d.ts.map +1 -1
  48. package/dist/api-contracts/src/company/index.d.ts +55 -162
  49. package/dist/api-contracts/src/company/index.d.ts.map +1 -1
  50. package/dist/api-contracts/src/company/schema.d.ts +6 -15
  51. package/dist/api-contracts/src/company/schema.d.ts.map +1 -1
  52. package/dist/api-contracts/src/company/validation.d.ts +30 -86
  53. package/dist/api-contracts/src/company/validation.d.ts.map +1 -1
  54. package/dist/api-contracts/src/contact/index.d.ts +314 -433
  55. package/dist/api-contracts/src/contact/index.d.ts.map +1 -1
  56. package/dist/api-contracts/src/contact/schema.d.ts +14 -28
  57. package/dist/api-contracts/src/contact/schema.d.ts.map +1 -1
  58. package/dist/api-contracts/src/contact/validation.d.ts +56 -137
  59. package/dist/api-contracts/src/contact/validation.d.ts.map +1 -1
  60. package/dist/api-contracts/src/contact-email/schema.d.ts +0 -1
  61. package/dist/api-contracts/src/contact-email/schema.d.ts.map +1 -1
  62. package/dist/api-contracts/src/contact-phone/schema.d.ts +0 -1
  63. package/dist/api-contracts/src/contact-phone/schema.d.ts.map +1 -1
  64. package/dist/api-contracts/src/contract.d.ts +24290 -30087
  65. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  66. package/dist/api-contracts/src/custom-field/schema.d.ts +0 -1
  67. package/dist/api-contracts/src/custom-field/schema.d.ts.map +1 -1
  68. package/dist/api-contracts/src/custom-field/validation.d.ts +2 -2
  69. package/dist/api-contracts/src/custom-field-upload/schema.d.ts +0 -1
  70. package/dist/api-contracts/src/custom-field-upload/schema.d.ts.map +1 -1
  71. package/dist/api-contracts/src/cx-intelligence/index.d.ts +41 -44
  72. package/dist/api-contracts/src/cx-intelligence/index.d.ts.map +1 -1
  73. package/dist/api-contracts/src/cx-log/index.d.ts +674 -722
  74. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  75. package/dist/api-contracts/src/cx-log/schema.d.ts +382 -435
  76. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  77. package/dist/api-contracts/src/cx-log/validation.d.ts +40 -40
  78. package/dist/api-contracts/src/dashboard/index.d.ts +304 -347
  79. package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
  80. package/dist/api-contracts/src/dashboard/schema.d.ts +2 -3
  81. package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
  82. package/dist/api-contracts/src/dashboard/validation.d.ts +10 -14
  83. package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
  84. package/dist/api-contracts/src/evaluate-form/index.d.ts +1 -2
  85. package/dist/api-contracts/src/evaluate-form/index.d.ts.map +1 -1
  86. package/dist/api-contracts/src/evaluate-form/schema.d.ts +0 -1
  87. package/dist/api-contracts/src/evaluate-form/schema.d.ts.map +1 -1
  88. package/dist/api-contracts/src/export/index.d.ts +1 -2
  89. package/dist/api-contracts/src/export/index.d.ts.map +1 -1
  90. package/dist/api-contracts/src/extension/index.d.ts +100 -106
  91. package/dist/api-contracts/src/extension/index.d.ts.map +1 -1
  92. package/dist/api-contracts/src/facebook-feed/index.d.ts +4525 -4603
  93. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  94. package/dist/api-contracts/src/facebook-feed/schema.d.ts +81 -93
  95. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  96. package/dist/api-contracts/src/facebook-feed/validation.d.ts +83 -94
  97. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  98. package/dist/api-contracts/src/general-setting/index.d.ts +2 -2
  99. package/dist/api-contracts/src/group/schema.d.ts +0 -1
  100. package/dist/api-contracts/src/group/schema.d.ts.map +1 -1
  101. package/dist/api-contracts/src/hold-label/index.d.ts +30 -49
  102. package/dist/api-contracts/src/hold-label/index.d.ts.map +1 -1
  103. package/dist/api-contracts/src/hold-label/schema.d.ts +4 -10
  104. package/dist/api-contracts/src/hold-label/schema.d.ts.map +1 -1
  105. package/dist/api-contracts/src/hold-label/validation.d.ts +2 -2
  106. package/dist/api-contracts/src/index.d.ts +0 -1
  107. package/dist/api-contracts/src/index.d.ts.map +1 -1
  108. package/dist/api-contracts/src/instagram/index.d.ts +2020 -2085
  109. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  110. package/dist/api-contracts/src/instagram/validation.d.ts +6 -6
  111. package/dist/api-contracts/src/invoice/index.d.ts +1 -3
  112. package/dist/api-contracts/src/invoice/index.d.ts.map +1 -1
  113. package/dist/api-contracts/src/invoice/schema.d.ts +0 -1
  114. package/dist/api-contracts/src/invoice/schema.d.ts.map +1 -1
  115. package/dist/api-contracts/src/klink-chat/index.d.ts +2748 -2812
  116. package/dist/api-contracts/src/klink-chat/index.d.ts.map +1 -1
  117. package/dist/api-contracts/src/line/index.d.ts +2257 -2322
  118. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  119. package/dist/api-contracts/src/line/schema.d.ts +9 -10
  120. package/dist/api-contracts/src/line/schema.d.ts.map +1 -1
  121. package/dist/api-contracts/src/line/validation.d.ts +148 -148
  122. package/dist/api-contracts/src/log-form/schema.d.ts +0 -1
  123. package/dist/api-contracts/src/log-form/schema.d.ts.map +1 -1
  124. package/dist/api-contracts/src/mail/account-contract.d.ts +174 -223
  125. package/dist/api-contracts/src/mail/account-contract.d.ts.map +1 -1
  126. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts +1 -2
  127. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts.map +1 -1
  128. package/dist/api-contracts/src/mail/mail-contract.d.ts +303 -423
  129. package/dist/api-contracts/src/mail/mail-contract.d.ts.map +1 -1
  130. package/dist/api-contracts/src/mail/mail-server-contract.d.ts +6 -12
  131. package/dist/api-contracts/src/mail/mail-server-contract.d.ts.map +1 -1
  132. package/dist/api-contracts/src/mail/message-contract.d.ts +80 -86
  133. package/dist/api-contracts/src/mail/message-contract.d.ts.map +1 -1
  134. package/dist/api-contracts/src/mail/room-contract.d.ts +43 -102
  135. package/dist/api-contracts/src/mail/room-contract.d.ts.map +1 -1
  136. package/dist/api-contracts/src/mail/schemas/account-validation.schema.d.ts +0 -27
  137. package/dist/api-contracts/src/mail/schemas/account-validation.schema.d.ts.map +1 -1
  138. package/dist/api-contracts/src/mail/schemas/account.schema.d.ts +0 -3
  139. package/dist/api-contracts/src/mail/schemas/account.schema.d.ts.map +1 -1
  140. package/dist/api-contracts/src/mail/schemas/message-validation.schema.d.ts +16 -16
  141. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +18 -31
  142. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
  143. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +6 -18
  144. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts.map +1 -1
  145. package/dist/api-contracts/src/messenger/index.d.ts +2020 -2086
  146. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  147. package/dist/api-contracts/src/messenger/validation.d.ts +83 -94
  148. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  149. package/dist/api-contracts/src/notification/index.d.ts +13 -20
  150. package/dist/api-contracts/src/notification/index.d.ts.map +1 -1
  151. package/dist/api-contracts/src/notification/schema.d.ts +9 -12
  152. package/dist/api-contracts/src/notification/schema.d.ts.map +1 -1
  153. package/dist/api-contracts/src/notification/validation.d.ts +3 -4
  154. package/dist/api-contracts/src/notification/validation.d.ts.map +1 -1
  155. package/dist/api-contracts/src/permission/index.d.ts +17 -17
  156. package/dist/api-contracts/src/presence-status/index.d.ts +83 -87
  157. package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
  158. package/dist/api-contracts/src/presence-status/schema.d.ts +3 -4
  159. package/dist/api-contracts/src/presence-status/schema.d.ts.map +1 -1
  160. package/dist/api-contracts/src/public-api/index.d.ts +194 -4606
  161. package/dist/api-contracts/src/public-api/index.d.ts.map +1 -1
  162. package/dist/api-contracts/src/public-api/schema.d.ts +6 -20
  163. package/dist/api-contracts/src/public-api/schema.d.ts.map +1 -1
  164. package/dist/api-contracts/src/public-api/validation.d.ts +38 -63
  165. package/dist/api-contracts/src/public-api/validation.d.ts.map +1 -1
  166. package/dist/api-contracts/src/role/index.d.ts +75 -80
  167. package/dist/api-contracts/src/role/index.d.ts.map +1 -1
  168. package/dist/api-contracts/src/sms/index.d.ts +540 -549
  169. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  170. package/dist/api-contracts/src/snippet/index.d.ts +10 -32
  171. package/dist/api-contracts/src/snippet/index.d.ts.map +1 -1
  172. package/dist/api-contracts/src/snippet/schema.d.ts +0 -7
  173. package/dist/api-contracts/src/snippet/schema.d.ts.map +1 -1
  174. package/dist/api-contracts/src/snippet/validation.d.ts +2 -3
  175. package/dist/api-contracts/src/snippet/validation.d.ts.map +1 -1
  176. package/dist/api-contracts/src/subscription/index.d.ts +6 -474
  177. package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
  178. package/dist/api-contracts/src/subscription/schema.d.ts +0 -31
  179. package/dist/api-contracts/src/subscription/schema.d.ts.map +1 -1
  180. package/dist/api-contracts/src/tag/index.d.ts +58 -65
  181. package/dist/api-contracts/src/tag/index.d.ts.map +1 -1
  182. package/dist/api-contracts/src/tag/schema.d.ts +0 -1
  183. package/dist/api-contracts/src/tag/schema.d.ts.map +1 -1
  184. package/dist/api-contracts/src/tag-group/schema.d.ts +0 -1
  185. package/dist/api-contracts/src/tag-group/schema.d.ts.map +1 -1
  186. package/dist/api-contracts/src/telegram/index.d.ts +3579 -3642
  187. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  188. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +463 -38
  189. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  190. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +6 -5
  191. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  192. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts +3 -0
  193. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts.map +1 -1
  194. package/dist/api-contracts/src/telephony-cdr/call-report.schema.d.ts +38 -38
  195. package/dist/api-contracts/src/telephony-cdr/index.d.ts +694 -748
  196. package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
  197. package/dist/api-contracts/src/telephony-cdr/schema.d.ts +144 -170
  198. package/dist/api-contracts/src/telephony-cdr/schema.d.ts.map +1 -1
  199. package/dist/api-contracts/src/telephony-cdr/validation.d.ts +39 -43
  200. package/dist/api-contracts/src/telephony-cdr/validation.d.ts.map +1 -1
  201. package/dist/api-contracts/src/telephony-extension/index.d.ts +21 -21
  202. package/dist/api-contracts/src/telephony-extension/schema.d.ts +4 -4
  203. package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts +0 -1
  204. package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts.map +1 -1
  205. package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts +0 -1
  206. package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts.map +1 -1
  207. package/dist/api-contracts/src/tenant/schema.d.ts +0 -1
  208. package/dist/api-contracts/src/tenant/schema.d.ts.map +1 -1
  209. package/dist/api-contracts/src/ticket/index.d.ts +452 -564
  210. package/dist/api-contracts/src/ticket/index.d.ts.map +1 -1
  211. package/dist/api-contracts/src/ticket/schema.d.ts +21 -47
  212. package/dist/api-contracts/src/ticket/schema.d.ts.map +1 -1
  213. package/dist/api-contracts/src/ticket/validation.d.ts +51 -53
  214. package/dist/api-contracts/src/ticket/validation.d.ts.map +1 -1
  215. package/dist/api-contracts/src/upload/index.d.ts +30 -32
  216. package/dist/api-contracts/src/upload/index.d.ts.map +1 -1
  217. package/dist/api-contracts/src/upload/schema.d.ts +0 -1
  218. package/dist/api-contracts/src/upload/schema.d.ts.map +1 -1
  219. package/dist/api-contracts/src/user/index.d.ts +126 -137
  220. package/dist/api-contracts/src/user/index.d.ts.map +1 -1
  221. package/dist/api-contracts/src/user/schema.d.ts +3 -4
  222. package/dist/api-contracts/src/user/schema.d.ts.map +1 -1
  223. package/dist/api-contracts/src/user/validation.d.ts +2 -3
  224. package/dist/api-contracts/src/user/validation.d.ts.map +1 -1
  225. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +32 -34
  226. package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
  227. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +3 -5
  228. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
  229. package/dist/api-contracts/src/viber/index.d.ts +2473 -2536
  230. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  231. package/dist/api-contracts/src/webchat/index.d.ts +2569 -2632
  232. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  233. package/dist/api-contracts/src/whatsapp/index.d.ts +1778 -1850
  234. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  235. package/dist/api-contracts/src/whatsapp/validation.d.ts +4 -15
  236. package/dist/api-contracts/src/whatsapp/validation.d.ts.map +1 -1
  237. package/dist/api-contracts/src/widget/index.d.ts +132 -145
  238. package/dist/api-contracts/src/widget/index.d.ts.map +1 -1
  239. package/dist/api-contracts/src/widget/schema.d.ts +0 -1
  240. package/dist/api-contracts/src/widget/schema.d.ts.map +1 -1
  241. package/dist/api-contracts/src/widget/validation.d.ts +16 -16
  242. package/dist/api-contracts/src/workflow-rule/index.d.ts +1919 -2045
  243. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  244. package/dist/api-contracts/src/workflow-rule/schema.d.ts +0 -1
  245. package/dist/api-contracts/src/workflow-rule/schema.d.ts.map +1 -1
  246. package/dist/api-contracts/src/wrap-up-form/index.d.ts +109 -128
  247. package/dist/api-contracts/src/wrap-up-form/index.d.ts.map +1 -1
  248. package/dist/api-contracts/src/wrap-up-form/schema.d.ts +0 -3
  249. package/dist/api-contracts/src/wrap-up-form/schema.d.ts.map +1 -1
  250. package/dist/api-contracts/src/wrap-up-form/validation.d.ts +18 -19
  251. package/dist/api-contracts/src/wrap-up-form/validation.d.ts.map +1 -1
  252. package/dist/api-contracts/utils.d.ts +1 -2
  253. package/dist/api-contracts/utils.d.ts.map +1 -1
  254. package/dist/entities/src/enums/chat.d.ts +0 -2
  255. package/dist/entities/src/enums/chat.d.ts.map +1 -1
  256. package/dist/index.js +1684 -1786
  257. package/dist/index.js.map +1 -1
  258. package/dist/index.mjs +1684 -1785
  259. package/dist/index.mjs.map +1 -1
  260. package/package.json +2 -2
@@ -35,11 +35,11 @@ export declare const cxLogContract: {
35
35
  value: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
36
36
  type: z.ZodOptional<z.ZodString>;
37
37
  }, "strip", z.ZodTypeAny, {
38
- value: string | string[];
38
+ value: (string | string[]) & (string | string[] | undefined);
39
39
  attributeId: string;
40
40
  type?: string | undefined;
41
41
  }, {
42
- value: string | string[];
42
+ value: (string | string[]) & (string | string[] | undefined);
43
43
  attributeId: string;
44
44
  type?: string | undefined;
45
45
  }>, "many">>;
@@ -48,108 +48,90 @@ export declare const cxLogContract: {
48
48
  value: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
49
49
  type: z.ZodOptional<z.ZodString>;
50
50
  }, "strip", z.ZodTypeAny, {
51
- value: string | string[];
51
+ value: (string | string[]) & (string | string[] | undefined);
52
52
  attributeId: string;
53
53
  type?: string | undefined;
54
54
  }, {
55
- value: string | string[];
55
+ value: (string | string[]) & (string | string[] | undefined);
56
56
  attributeId: string;
57
57
  type?: string | undefined;
58
58
  }>, "many">>;
59
59
  selectedDate: z.ZodOptional<z.ZodString>;
60
60
  uid: z.ZodOptional<z.ZodString>;
61
61
  }, "strip", z.ZodTypeAny, {
62
- name?: string | undefined;
63
- channel?: string[] | undefined;
64
- address?: string | undefined;
65
- disposition?: string[] | undefined;
66
- direction?: ("inbound" | "outbound")[] | undefined;
67
62
  page?: number | undefined;
68
- email?: string | undefined;
69
63
  pageSize?: number | undefined;
70
- phone?: string | undefined;
71
- company?: string[] | undefined;
72
- notes?: string | undefined;
73
- tags?: string[] | undefined;
74
- sentimentScore?: ("negative" | "positive" | "neutral")[] | undefined;
75
- csatScore?: string[] | undefined;
76
- queueId?: string[] | undefined;
77
64
  contactId?: string | undefined;
78
- trunks?: string[] | undefined;
79
65
  caseId?: string | undefined;
80
- uid?: string | undefined;
81
- selectedDate?: string | undefined;
82
66
  channelIds?: string[] | undefined;
67
+ trunks?: string[] | undefined;
68
+ queueId?: string[] | undefined;
83
69
  agentIds?: string[] | undefined;
70
+ direction?: ("inbound" | "outbound")[] | undefined;
71
+ disposition?: string[] | undefined;
72
+ sentimentScore?: ("negative" | "positive" | "neutral")[] | undefined;
73
+ csatScore?: string[] | undefined;
84
74
  sla?: "meet" | "unmeet" | undefined;
75
+ tags?: string[] | undefined;
76
+ name?: string | undefined;
85
77
  contactLabels?: string[] | undefined;
78
+ email?: string | undefined;
79
+ channel?: string[] | undefined;
80
+ phone?: string | undefined;
81
+ notes?: string | undefined;
82
+ address?: string | undefined;
83
+ company?: string[] | undefined;
86
84
  contactCustomFields?: {
87
- value: string | string[];
85
+ value: (string | string[]) & (string | string[] | undefined);
88
86
  attributeId: string;
89
87
  type?: string | undefined;
90
88
  }[] | undefined;
91
89
  wrapUpFormCustomFields?: {
92
- value: string | string[];
90
+ value: (string | string[]) & (string | string[] | undefined);
93
91
  attributeId: string;
94
92
  type?: string | undefined;
95
93
  }[] | undefined;
94
+ selectedDate?: string | undefined;
95
+ uid?: string | undefined;
96
96
  }, {
97
- name?: string | undefined;
98
- channel?: string[] | undefined;
99
- address?: string | undefined;
100
- disposition?: string[] | undefined;
101
- direction?: ("inbound" | "outbound")[] | undefined;
102
97
  page?: number | undefined;
103
- email?: string | undefined;
104
98
  pageSize?: number | undefined;
105
- phone?: string | undefined;
106
- company?: string[] | undefined;
107
- notes?: string | undefined;
108
- tags?: string[] | undefined;
109
- sentimentScore?: ("negative" | "positive" | "neutral")[] | undefined;
110
- csatScore?: string[] | undefined;
111
- queueId?: string[] | undefined;
112
99
  contactId?: string | undefined;
113
- trunks?: string[] | undefined;
114
100
  caseId?: string | undefined;
115
- uid?: string | undefined;
116
- selectedDate?: string | undefined;
117
101
  channelIds?: string[] | undefined;
102
+ trunks?: string[] | undefined;
103
+ queueId?: string[] | undefined;
118
104
  agentIds?: string[] | Record<string, string> | undefined;
105
+ direction?: ("inbound" | "outbound")[] | undefined;
106
+ disposition?: string[] | undefined;
107
+ sentimentScore?: ("negative" | "positive" | "neutral")[] | undefined;
108
+ csatScore?: string[] | undefined;
119
109
  sla?: "meet" | "unmeet" | undefined;
110
+ tags?: string[] | undefined;
111
+ name?: string | undefined;
120
112
  contactLabels?: string[] | undefined;
113
+ email?: string | undefined;
114
+ channel?: string[] | undefined;
115
+ phone?: string | undefined;
116
+ notes?: string | undefined;
117
+ address?: string | undefined;
118
+ company?: string[] | undefined;
121
119
  contactCustomFields?: {
122
- value: string | string[];
120
+ value: (string | string[]) & (string | string[] | undefined);
123
121
  attributeId: string;
124
122
  type?: string | undefined;
125
123
  }[] | undefined;
126
124
  wrapUpFormCustomFields?: {
127
- value: string | string[];
125
+ value: (string | string[]) & (string | string[] | undefined);
128
126
  attributeId: string;
129
127
  type?: string | undefined;
130
128
  }[] | undefined;
129
+ selectedDate?: string | undefined;
130
+ uid?: string | undefined;
131
131
  }>;
132
- path: "/cxs/cx-logs";
133
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
134
- 'x-tenant': z.ZodString;
135
- 'x-service-token': z.ZodString;
136
- 'x-code': z.ZodOptional<z.ZodString>;
137
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
138
- }, "strip", z.ZodTypeAny, {
139
- 'x-tenant': string;
140
- 'x-service-token': string;
141
- 'x-client-timezone': string;
142
- 'x-code'?: string | undefined;
143
- }, {
144
- 'x-tenant': string;
145
- 'x-service-token': string;
146
- 'x-code'?: string | undefined;
147
- 'x-client-timezone'?: string | undefined;
148
- }>>>;
149
132
  responses: {
150
133
  200: z.ZodObject<{
151
134
  requestId: z.ZodString;
152
- } & {
153
135
  total: z.ZodNumber;
154
136
  page: z.ZodNumber;
155
137
  pageSize: z.ZodNumber;
@@ -158,7 +140,6 @@ export declare const cxLogContract: {
158
140
  createdAt: z.ZodDate;
159
141
  updatedAt: z.ZodDate;
160
142
  deletedAt: z.ZodNullable<z.ZodDate>;
161
- } & {
162
143
  caseId: z.ZodNumber;
163
144
  entityId: z.ZodString;
164
145
  entityName: z.ZodString;
@@ -182,7 +163,6 @@ export declare const cxLogContract: {
182
163
  createdAt: z.ZodDate;
183
164
  updatedAt: z.ZodDate;
184
165
  deletedAt: z.ZodNullable<z.ZodDate>;
185
- } & {
186
166
  cxLogId: z.ZodString;
187
167
  sentimentScore: z.ZodOptional<z.ZodNullable<z.ZodString>>;
188
168
  csatScore: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -208,7 +188,6 @@ export declare const cxLogContract: {
208
188
  createdAt: z.ZodDate;
209
189
  updatedAt: z.ZodDate;
210
190
  deletedAt: z.ZodNullable<z.ZodDate>;
211
- } & {
212
191
  note: z.ZodNullable<z.ZodString>;
213
192
  disposition: z.ZodNullable<z.ZodString>;
214
193
  type: z.ZodString;
@@ -217,7 +196,6 @@ export declare const cxLogContract: {
217
196
  createdAt: z.ZodDate;
218
197
  updatedAt: z.ZodDate;
219
198
  deletedAt: z.ZodNullable<z.ZodDate>;
220
- } & {
221
199
  name: z.ZodString;
222
200
  }, "strip", z.ZodTypeAny, {
223
201
  name: string;
@@ -237,7 +215,6 @@ export declare const cxLogContract: {
237
215
  createdAt: z.ZodDate;
238
216
  updatedAt: z.ZodDate;
239
217
  deletedAt: z.ZodNullable<z.ZodDate>;
240
- } & {
241
218
  value: z.ZodString;
242
219
  level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
243
220
  parentId: z.ZodNullable<z.ZodString>;
@@ -525,7 +502,6 @@ export declare const cxLogContract: {
525
502
  createdAt: z.ZodDate;
526
503
  updatedAt: z.ZodDate;
527
504
  deletedAt: z.ZodNullable<z.ZodDate>;
528
- } & {
529
505
  name: z.ZodString;
530
506
  }, "strip", z.ZodTypeAny, {
531
507
  name: string;
@@ -545,7 +521,6 @@ export declare const cxLogContract: {
545
521
  createdAt: z.ZodDate;
546
522
  updatedAt: z.ZodDate;
547
523
  deletedAt: z.ZodNullable<z.ZodDate>;
548
- } & {
549
524
  name: z.ZodOptional<z.ZodString>;
550
525
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
551
526
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -555,7 +530,6 @@ export declare const cxLogContract: {
555
530
  createdAt: z.ZodDate;
556
531
  updatedAt: z.ZodDate;
557
532
  deletedAt: z.ZodNullable<z.ZodDate>;
558
- } & {
559
533
  textValue: z.ZodNullable<z.ZodString>;
560
534
  booleanValue: z.ZodNullable<z.ZodBoolean>;
561
535
  numberValue: z.ZodNullable<z.ZodNumber>;
@@ -565,7 +539,6 @@ export declare const cxLogContract: {
565
539
  createdAt: z.ZodDate;
566
540
  updatedAt: z.ZodDate;
567
541
  deletedAt: z.ZodNullable<z.ZodDate>;
568
- } & {
569
542
  systemName: z.ZodString;
570
543
  displayName: z.ZodString;
571
544
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -575,11 +548,10 @@ export declare const cxLogContract: {
575
548
  isRequired: z.ZodBoolean;
576
549
  isUnique: z.ZodBoolean;
577
550
  options: z.ZodArray<z.ZodObject<{
578
- label: z.ZodString;
551
+ position: z.ZodNumber;
579
552
  value: z.ZodString;
553
+ label: z.ZodString;
580
554
  isDefault: z.ZodBoolean;
581
- position: z.ZodNumber;
582
- } & {
583
555
  id: z.ZodString;
584
556
  }, "strip", z.ZodTypeAny, {
585
557
  id: string;
@@ -599,7 +571,6 @@ export declare const cxLogContract: {
599
571
  createdAt: z.ZodDate;
600
572
  updatedAt: z.ZodDate;
601
573
  deletedAt: z.ZodNullable<z.ZodDate>;
602
- } & {
603
574
  systemName: z.ZodString;
604
575
  displayName: z.ZodString;
605
576
  }, "strip", z.ZodTypeAny, {
@@ -777,7 +748,6 @@ export declare const cxLogContract: {
777
748
  createdAt: z.ZodDate;
778
749
  updatedAt: z.ZodDate;
779
750
  deletedAt: z.ZodNullable<z.ZodDate>;
780
- } & {
781
751
  systemName: z.ZodString;
782
752
  displayName: z.ZodString;
783
753
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -787,11 +757,10 @@ export declare const cxLogContract: {
787
757
  isRequired: z.ZodBoolean;
788
758
  isUnique: z.ZodBoolean;
789
759
  options: z.ZodArray<z.ZodObject<{
790
- label: z.ZodString;
760
+ position: z.ZodNumber;
791
761
  value: z.ZodString;
762
+ label: z.ZodString;
792
763
  isDefault: z.ZodBoolean;
793
- position: z.ZodNumber;
794
- } & {
795
764
  id: z.ZodString;
796
765
  }, "strip", z.ZodTypeAny, {
797
766
  id: string;
@@ -811,7 +780,6 @@ export declare const cxLogContract: {
811
780
  createdAt: z.ZodDate;
812
781
  updatedAt: z.ZodDate;
813
782
  deletedAt: z.ZodNullable<z.ZodDate>;
814
- } & {
815
783
  systemName: z.ZodString;
816
784
  displayName: z.ZodString;
817
785
  }, "strip", z.ZodTypeAny, {
@@ -861,7 +829,6 @@ export declare const cxLogContract: {
861
829
  createdAt: z.ZodDate;
862
830
  updatedAt: z.ZodDate;
863
831
  deletedAt: z.ZodNullable<z.ZodDate>;
864
- } & {
865
832
  bucketName: z.ZodString;
866
833
  fileName: z.ZodString;
867
834
  fileSize: z.ZodNumber;
@@ -1543,18 +1510,17 @@ export declare const cxLogContract: {
1543
1510
  socialPlatformId: string;
1544
1511
  }>;
1545
1512
  actor: z.ZodObject<{
1513
+ name: z.ZodString;
1546
1514
  id: z.ZodString;
1515
+ address: z.ZodNullable<z.ZodString>;
1516
+ email: z.ZodString;
1547
1517
  createdAt: z.ZodDate;
1548
1518
  updatedAt: z.ZodDate;
1549
1519
  deletedAt: z.ZodNullable<z.ZodDate>;
1550
- name: z.ZodString;
1551
- email: z.ZodString;
1552
1520
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
1553
1521
  password: z.ZodString;
1554
- address: z.ZodNullable<z.ZodString>;
1555
1522
  phone: z.ZodNullable<z.ZodString>;
1556
1523
  notificationCount: z.ZodNullable<z.ZodNumber>;
1557
- } & {
1558
1524
  roles: z.ZodArray<z.ZodObject<{
1559
1525
  id: z.ZodString;
1560
1526
  createdAt: z.ZodDate;
@@ -1748,18 +1714,17 @@ export declare const cxLogContract: {
1748
1714
  };
1749
1715
  }>;
1750
1716
  assignee: z.ZodNullable<z.ZodObject<{
1717
+ name: z.ZodString;
1751
1718
  id: z.ZodString;
1719
+ address: z.ZodNullable<z.ZodString>;
1720
+ email: z.ZodString;
1752
1721
  createdAt: z.ZodDate;
1753
1722
  updatedAt: z.ZodDate;
1754
1723
  deletedAt: z.ZodNullable<z.ZodDate>;
1755
- name: z.ZodString;
1756
- email: z.ZodString;
1757
1724
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
1758
1725
  password: z.ZodString;
1759
- address: z.ZodNullable<z.ZodString>;
1760
1726
  phone: z.ZodNullable<z.ZodString>;
1761
1727
  notificationCount: z.ZodNullable<z.ZodNumber>;
1762
- } & {
1763
1728
  roles: z.ZodArray<z.ZodObject<{
1764
1729
  id: z.ZodString;
1765
1730
  createdAt: z.ZodDate;
@@ -1980,28 +1945,28 @@ export declare const cxLogContract: {
1980
1945
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
1981
1946
  integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
1982
1947
  }, "strip", z.ZodTypeAny, {
1983
- email?: string | null | undefined;
1984
- status?: "active" | "pending" | "waapi-qr" | undefined;
1985
- channelId?: string | null | undefined;
1986
1948
  wabaBusinessId?: string | null | undefined;
1987
1949
  wabaExternalId?: string | null | undefined;
1988
1950
  phoneNumberId?: string | null | undefined;
1951
+ email?: string | null | undefined;
1989
1952
  clientId?: string | null | undefined;
1953
+ channelId?: string | null | undefined;
1990
1954
  waapiInstanceId?: string | null | undefined;
1991
1955
  qr?: string | null | undefined;
1956
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1992
1957
  apiKey?: string | undefined;
1993
1958
  tier?: "basic" | "regular" | "premium" | undefined;
1994
1959
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1995
1960
  }, {
1996
- email?: string | null | undefined;
1997
- status?: "active" | "pending" | "waapi-qr" | undefined;
1998
- channelId?: string | null | undefined;
1999
1961
  wabaBusinessId?: string | null | undefined;
2000
1962
  wabaExternalId?: string | null | undefined;
2001
1963
  phoneNumberId?: string | null | undefined;
1964
+ email?: string | null | undefined;
2002
1965
  clientId?: string | null | undefined;
1966
+ channelId?: string | null | undefined;
2003
1967
  waapiInstanceId?: string | null | undefined;
2004
1968
  qr?: string | null | undefined;
1969
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2005
1970
  apiKey?: string | undefined;
2006
1971
  tier?: "basic" | "regular" | "premium" | undefined;
2007
1972
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
@@ -2037,33 +2002,33 @@ export declare const cxLogContract: {
2037
2002
  }, "strip", z.ZodTypeAny, {
2038
2003
  name: string;
2039
2004
  id: string;
2040
- line?: {
2041
- channelId: string;
2042
- channelSecret: string;
2043
- } | undefined;
2005
+ accessToken?: string | undefined;
2006
+ channelSecret?: string | undefined;
2007
+ additionalCredentials?: any;
2008
+ senderId?: string | undefined;
2044
2009
  whatsapp?: {
2045
- email?: string | null | undefined;
2046
- status?: "active" | "pending" | "waapi-qr" | undefined;
2047
- channelId?: string | null | undefined;
2048
2010
  wabaBusinessId?: string | null | undefined;
2049
2011
  wabaExternalId?: string | null | undefined;
2050
2012
  phoneNumberId?: string | null | undefined;
2013
+ email?: string | null | undefined;
2051
2014
  clientId?: string | null | undefined;
2015
+ channelId?: string | null | undefined;
2052
2016
  waapiInstanceId?: string | null | undefined;
2053
2017
  qr?: string | null | undefined;
2018
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2054
2019
  apiKey?: string | undefined;
2055
2020
  tier?: "basic" | "regular" | "premium" | undefined;
2056
2021
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2057
2022
  } | undefined;
2058
- additionalCredentials?: any;
2059
- accessToken?: string | undefined;
2060
- channelSecret?: string | undefined;
2061
- senderId?: string | undefined;
2062
2023
  vonageCredentials?: {
2063
2024
  apiKey: string;
2064
2025
  mobileNumber: string;
2065
2026
  apiSecret: string;
2066
2027
  } | undefined;
2028
+ line?: {
2029
+ channelId: string;
2030
+ channelSecret: string;
2031
+ } | undefined;
2067
2032
  lineRichMenuId?: string | null | undefined;
2068
2033
  messengerIntegrationType?: "own" | "business" | undefined;
2069
2034
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -2072,33 +2037,33 @@ export declare const cxLogContract: {
2072
2037
  }, {
2073
2038
  name: string;
2074
2039
  id: string;
2075
- line?: {
2076
- channelId: string;
2077
- channelSecret: string;
2078
- } | undefined;
2040
+ accessToken?: string | undefined;
2041
+ channelSecret?: string | undefined;
2042
+ additionalCredentials?: any;
2043
+ senderId?: string | undefined;
2079
2044
  whatsapp?: {
2080
- email?: string | null | undefined;
2081
- status?: "active" | "pending" | "waapi-qr" | undefined;
2082
- channelId?: string | null | undefined;
2083
2045
  wabaBusinessId?: string | null | undefined;
2084
2046
  wabaExternalId?: string | null | undefined;
2085
2047
  phoneNumberId?: string | null | undefined;
2048
+ email?: string | null | undefined;
2086
2049
  clientId?: string | null | undefined;
2050
+ channelId?: string | null | undefined;
2087
2051
  waapiInstanceId?: string | null | undefined;
2088
2052
  qr?: string | null | undefined;
2053
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2089
2054
  apiKey?: string | undefined;
2090
2055
  tier?: "basic" | "regular" | "premium" | undefined;
2091
2056
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2092
2057
  } | undefined;
2093
- additionalCredentials?: any;
2094
- accessToken?: string | undefined;
2095
- channelSecret?: string | undefined;
2096
- senderId?: string | undefined;
2097
2058
  vonageCredentials?: {
2098
2059
  apiKey: string;
2099
2060
  mobileNumber: string;
2100
2061
  apiSecret: string;
2101
2062
  } | undefined;
2063
+ line?: {
2064
+ channelId: string;
2065
+ channelSecret: string;
2066
+ } | undefined;
2102
2067
  lineRichMenuId?: string | null | undefined;
2103
2068
  messengerIntegrationType?: "own" | "business" | undefined;
2104
2069
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -2341,33 +2306,33 @@ export declare const cxLogContract: {
2341
2306
  metadata: {
2342
2307
  name: string;
2343
2308
  id: string;
2344
- line?: {
2345
- channelId: string;
2346
- channelSecret: string;
2347
- } | undefined;
2309
+ accessToken?: string | undefined;
2310
+ channelSecret?: string | undefined;
2311
+ additionalCredentials?: any;
2312
+ senderId?: string | undefined;
2348
2313
  whatsapp?: {
2349
- email?: string | null | undefined;
2350
- status?: "active" | "pending" | "waapi-qr" | undefined;
2351
- channelId?: string | null | undefined;
2352
2314
  wabaBusinessId?: string | null | undefined;
2353
2315
  wabaExternalId?: string | null | undefined;
2354
2316
  phoneNumberId?: string | null | undefined;
2317
+ email?: string | null | undefined;
2355
2318
  clientId?: string | null | undefined;
2319
+ channelId?: string | null | undefined;
2356
2320
  waapiInstanceId?: string | null | undefined;
2357
2321
  qr?: string | null | undefined;
2322
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2358
2323
  apiKey?: string | undefined;
2359
2324
  tier?: "basic" | "regular" | "premium" | undefined;
2360
2325
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2361
2326
  } | undefined;
2362
- additionalCredentials?: any;
2363
- accessToken?: string | undefined;
2364
- channelSecret?: string | undefined;
2365
- senderId?: string | undefined;
2366
2327
  vonageCredentials?: {
2367
2328
  apiKey: string;
2368
2329
  mobileNumber: string;
2369
2330
  apiSecret: string;
2370
2331
  } | undefined;
2332
+ line?: {
2333
+ channelId: string;
2334
+ channelSecret: string;
2335
+ } | undefined;
2371
2336
  lineRichMenuId?: string | null | undefined;
2372
2337
  messengerIntegrationType?: "own" | "business" | undefined;
2373
2338
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -2441,33 +2406,33 @@ export declare const cxLogContract: {
2441
2406
  metadata: {
2442
2407
  name: string;
2443
2408
  id: string;
2444
- line?: {
2445
- channelId: string;
2446
- channelSecret: string;
2447
- } | undefined;
2409
+ accessToken?: string | undefined;
2410
+ channelSecret?: string | undefined;
2411
+ additionalCredentials?: any;
2412
+ senderId?: string | undefined;
2448
2413
  whatsapp?: {
2449
- email?: string | null | undefined;
2450
- status?: "active" | "pending" | "waapi-qr" | undefined;
2451
- channelId?: string | null | undefined;
2452
2414
  wabaBusinessId?: string | null | undefined;
2453
2415
  wabaExternalId?: string | null | undefined;
2454
2416
  phoneNumberId?: string | null | undefined;
2417
+ email?: string | null | undefined;
2455
2418
  clientId?: string | null | undefined;
2419
+ channelId?: string | null | undefined;
2456
2420
  waapiInstanceId?: string | null | undefined;
2457
2421
  qr?: string | null | undefined;
2422
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2458
2423
  apiKey?: string | undefined;
2459
2424
  tier?: "basic" | "regular" | "premium" | undefined;
2460
2425
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2461
2426
  } | undefined;
2462
- additionalCredentials?: any;
2463
- accessToken?: string | undefined;
2464
- channelSecret?: string | undefined;
2465
- senderId?: string | undefined;
2466
2427
  vonageCredentials?: {
2467
2428
  apiKey: string;
2468
2429
  mobileNumber: string;
2469
2430
  apiSecret: string;
2470
2431
  } | undefined;
2432
+ line?: {
2433
+ channelId: string;
2434
+ channelSecret: string;
2435
+ } | undefined;
2471
2436
  lineRichMenuId?: string | null | undefined;
2472
2437
  messengerIntegrationType?: "own" | "business" | undefined;
2473
2438
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -2544,33 +2509,33 @@ export declare const cxLogContract: {
2544
2509
  metadata: {
2545
2510
  name: string;
2546
2511
  id: string;
2547
- line?: {
2548
- channelId: string;
2549
- channelSecret: string;
2550
- } | undefined;
2512
+ accessToken?: string | undefined;
2513
+ channelSecret?: string | undefined;
2514
+ additionalCredentials?: any;
2515
+ senderId?: string | undefined;
2551
2516
  whatsapp?: {
2552
- email?: string | null | undefined;
2553
- status?: "active" | "pending" | "waapi-qr" | undefined;
2554
- channelId?: string | null | undefined;
2555
2517
  wabaBusinessId?: string | null | undefined;
2556
2518
  wabaExternalId?: string | null | undefined;
2557
2519
  phoneNumberId?: string | null | undefined;
2520
+ email?: string | null | undefined;
2558
2521
  clientId?: string | null | undefined;
2522
+ channelId?: string | null | undefined;
2559
2523
  waapiInstanceId?: string | null | undefined;
2560
2524
  qr?: string | null | undefined;
2525
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2561
2526
  apiKey?: string | undefined;
2562
2527
  tier?: "basic" | "regular" | "premium" | undefined;
2563
2528
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2564
2529
  } | undefined;
2565
- additionalCredentials?: any;
2566
- accessToken?: string | undefined;
2567
- channelSecret?: string | undefined;
2568
- senderId?: string | undefined;
2569
2530
  vonageCredentials?: {
2570
2531
  apiKey: string;
2571
2532
  mobileNumber: string;
2572
2533
  apiSecret: string;
2573
2534
  } | undefined;
2535
+ line?: {
2536
+ channelId: string;
2537
+ channelSecret: string;
2538
+ } | undefined;
2574
2539
  lineRichMenuId?: string | null | undefined;
2575
2540
  messengerIntegrationType?: "own" | "business" | undefined;
2576
2541
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -2873,33 +2838,33 @@ export declare const cxLogContract: {
2873
2838
  metadata: {
2874
2839
  name: string;
2875
2840
  id: string;
2876
- line?: {
2877
- channelId: string;
2878
- channelSecret: string;
2879
- } | undefined;
2841
+ accessToken?: string | undefined;
2842
+ channelSecret?: string | undefined;
2843
+ additionalCredentials?: any;
2844
+ senderId?: string | undefined;
2880
2845
  whatsapp?: {
2881
- email?: string | null | undefined;
2882
- status?: "active" | "pending" | "waapi-qr" | undefined;
2883
- channelId?: string | null | undefined;
2884
2846
  wabaBusinessId?: string | null | undefined;
2885
2847
  wabaExternalId?: string | null | undefined;
2886
2848
  phoneNumberId?: string | null | undefined;
2849
+ email?: string | null | undefined;
2887
2850
  clientId?: string | null | undefined;
2851
+ channelId?: string | null | undefined;
2888
2852
  waapiInstanceId?: string | null | undefined;
2889
2853
  qr?: string | null | undefined;
2854
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2890
2855
  apiKey?: string | undefined;
2891
2856
  tier?: "basic" | "regular" | "premium" | undefined;
2892
2857
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2893
2858
  } | undefined;
2894
- additionalCredentials?: any;
2895
- accessToken?: string | undefined;
2896
- channelSecret?: string | undefined;
2897
- senderId?: string | undefined;
2898
2859
  vonageCredentials?: {
2899
2860
  apiKey: string;
2900
2861
  mobileNumber: string;
2901
2862
  apiSecret: string;
2902
2863
  } | undefined;
2864
+ line?: {
2865
+ channelId: string;
2866
+ channelSecret: string;
2867
+ } | undefined;
2903
2868
  lineRichMenuId?: string | null | undefined;
2904
2869
  messengerIntegrationType?: "own" | "business" | undefined;
2905
2870
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -3199,7 +3164,6 @@ export declare const cxLogContract: {
3199
3164
  createdAt: z.ZodDate;
3200
3165
  updatedAt: z.ZodDate;
3201
3166
  deletedAt: z.ZodNullable<z.ZodDate>;
3202
- } & {
3203
3167
  uniqueCallId: z.ZodString;
3204
3168
  timeStart: z.ZodString;
3205
3169
  callFrom: z.ZodString;
@@ -3224,7 +3188,6 @@ export declare const cxLogContract: {
3224
3188
  createdAt: z.ZodDate;
3225
3189
  updatedAt: z.ZodDate;
3226
3190
  deletedAt: z.ZodNullable<z.ZodDate>;
3227
- } & {
3228
3191
  name: z.ZodString;
3229
3192
  }, "strip", z.ZodTypeAny, {
3230
3193
  name: string;
@@ -3244,7 +3207,6 @@ export declare const cxLogContract: {
3244
3207
  createdAt: z.ZodDate;
3245
3208
  updatedAt: z.ZodDate;
3246
3209
  deletedAt: z.ZodNullable<z.ZodDate>;
3247
- } & {
3248
3210
  name: z.ZodOptional<z.ZodString>;
3249
3211
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3250
3212
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3254,7 +3216,6 @@ export declare const cxLogContract: {
3254
3216
  createdAt: z.ZodDate;
3255
3217
  updatedAt: z.ZodDate;
3256
3218
  deletedAt: z.ZodNullable<z.ZodDate>;
3257
- } & {
3258
3219
  textValue: z.ZodNullable<z.ZodString>;
3259
3220
  booleanValue: z.ZodNullable<z.ZodBoolean>;
3260
3221
  numberValue: z.ZodNullable<z.ZodNumber>;
@@ -3264,7 +3225,6 @@ export declare const cxLogContract: {
3264
3225
  createdAt: z.ZodDate;
3265
3226
  updatedAt: z.ZodDate;
3266
3227
  deletedAt: z.ZodNullable<z.ZodDate>;
3267
- } & {
3268
3228
  systemName: z.ZodString;
3269
3229
  displayName: z.ZodString;
3270
3230
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -3274,11 +3234,10 @@ export declare const cxLogContract: {
3274
3234
  isRequired: z.ZodBoolean;
3275
3235
  isUnique: z.ZodBoolean;
3276
3236
  options: z.ZodArray<z.ZodObject<{
3277
- label: z.ZodString;
3237
+ position: z.ZodNumber;
3278
3238
  value: z.ZodString;
3239
+ label: z.ZodString;
3279
3240
  isDefault: z.ZodBoolean;
3280
- position: z.ZodNumber;
3281
- } & {
3282
3241
  id: z.ZodString;
3283
3242
  }, "strip", z.ZodTypeAny, {
3284
3243
  id: string;
@@ -3298,7 +3257,6 @@ export declare const cxLogContract: {
3298
3257
  createdAt: z.ZodDate;
3299
3258
  updatedAt: z.ZodDate;
3300
3259
  deletedAt: z.ZodNullable<z.ZodDate>;
3301
- } & {
3302
3260
  systemName: z.ZodString;
3303
3261
  displayName: z.ZodString;
3304
3262
  }, "strip", z.ZodTypeAny, {
@@ -3476,7 +3434,6 @@ export declare const cxLogContract: {
3476
3434
  createdAt: z.ZodDate;
3477
3435
  updatedAt: z.ZodDate;
3478
3436
  deletedAt: z.ZodNullable<z.ZodDate>;
3479
- } & {
3480
3437
  systemName: z.ZodString;
3481
3438
  displayName: z.ZodString;
3482
3439
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -3486,11 +3443,10 @@ export declare const cxLogContract: {
3486
3443
  isRequired: z.ZodBoolean;
3487
3444
  isUnique: z.ZodBoolean;
3488
3445
  options: z.ZodArray<z.ZodObject<{
3489
- label: z.ZodString;
3446
+ position: z.ZodNumber;
3490
3447
  value: z.ZodString;
3448
+ label: z.ZodString;
3491
3449
  isDefault: z.ZodBoolean;
3492
- position: z.ZodNumber;
3493
- } & {
3494
3450
  id: z.ZodString;
3495
3451
  }, "strip", z.ZodTypeAny, {
3496
3452
  id: string;
@@ -3510,7 +3466,6 @@ export declare const cxLogContract: {
3510
3466
  createdAt: z.ZodDate;
3511
3467
  updatedAt: z.ZodDate;
3512
3468
  deletedAt: z.ZodNullable<z.ZodDate>;
3513
- } & {
3514
3469
  systemName: z.ZodString;
3515
3470
  displayName: z.ZodString;
3516
3471
  }, "strip", z.ZodTypeAny, {
@@ -3560,7 +3515,6 @@ export declare const cxLogContract: {
3560
3515
  createdAt: z.ZodDate;
3561
3516
  updatedAt: z.ZodDate;
3562
3517
  deletedAt: z.ZodNullable<z.ZodDate>;
3563
- } & {
3564
3518
  bucketName: z.ZodString;
3565
3519
  fileName: z.ZodString;
3566
3520
  fileSize: z.ZodNumber;
@@ -3993,7 +3947,6 @@ export declare const cxLogContract: {
3993
3947
  createdAt: z.ZodDate;
3994
3948
  updatedAt: z.ZodDate;
3995
3949
  deletedAt: z.ZodNullable<z.ZodDate>;
3996
- } & {
3997
3950
  queueId: z.ZodNumber;
3998
3951
  queueName: z.ZodString;
3999
3952
  queueNumber: z.ZodString;
@@ -4030,7 +3983,6 @@ export declare const cxLogContract: {
4030
3983
  createdAt: z.ZodDate;
4031
3984
  updatedAt: z.ZodDate;
4032
3985
  deletedAt: z.ZodNullable<z.ZodDate>;
4033
- } & {
4034
3986
  bucketName: z.ZodString;
4035
3987
  fileName: z.ZodString;
4036
3988
  fileSize: z.ZodNumber;
@@ -4064,18 +4016,17 @@ export declare const cxLogContract: {
4064
4016
  callTo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4065
4017
  id: z.ZodString;
4066
4018
  user: z.ZodNullable<z.ZodObject<Omit<{
4019
+ name: z.ZodString;
4067
4020
  id: z.ZodString;
4021
+ address: z.ZodNullable<z.ZodString>;
4022
+ email: z.ZodString;
4068
4023
  createdAt: z.ZodDate;
4069
4024
  updatedAt: z.ZodDate;
4070
4025
  deletedAt: z.ZodNullable<z.ZodDate>;
4071
- name: z.ZodString;
4072
- email: z.ZodString;
4073
4026
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
4074
4027
  password: z.ZodString;
4075
- address: z.ZodNullable<z.ZodString>;
4076
4028
  phone: z.ZodNullable<z.ZodString>;
4077
4029
  notificationCount: z.ZodNullable<z.ZodNumber>;
4078
- } & {
4079
4030
  roles: z.ZodArray<z.ZodObject<{
4080
4031
  id: z.ZodString;
4081
4032
  createdAt: z.ZodDate;
@@ -4270,18 +4221,17 @@ export declare const cxLogContract: {
4270
4221
  callFrom: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4271
4222
  id: z.ZodString;
4272
4223
  user: z.ZodNullable<z.ZodObject<Omit<{
4224
+ name: z.ZodString;
4273
4225
  id: z.ZodString;
4226
+ address: z.ZodNullable<z.ZodString>;
4227
+ email: z.ZodString;
4274
4228
  createdAt: z.ZodDate;
4275
4229
  updatedAt: z.ZodDate;
4276
4230
  deletedAt: z.ZodNullable<z.ZodDate>;
4277
- name: z.ZodString;
4278
- email: z.ZodString;
4279
4231
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
4280
4232
  password: z.ZodString;
4281
- address: z.ZodNullable<z.ZodString>;
4282
4233
  phone: z.ZodNullable<z.ZodString>;
4283
4234
  notificationCount: z.ZodNullable<z.ZodNumber>;
4284
- } & {
4285
4235
  roles: z.ZodArray<z.ZodObject<{
4286
4236
  id: z.ZodString;
4287
4237
  createdAt: z.ZodDate;
@@ -4474,7 +4424,7 @@ export declare const cxLogContract: {
4474
4424
  updatedAt?: string | undefined;
4475
4425
  }>>>;
4476
4426
  }, "strip", z.ZodTypeAny, {
4477
- callFrom?: {
4427
+ callTo?: {
4478
4428
  id: string;
4479
4429
  user: {
4480
4430
  name: string;
@@ -4500,7 +4450,7 @@ export declare const cxLogContract: {
4500
4450
  createdAt?: string | undefined;
4501
4451
  updatedAt?: string | undefined;
4502
4452
  } | null | undefined;
4503
- callTo?: {
4453
+ callFrom?: {
4504
4454
  id: string;
4505
4455
  user: {
4506
4456
  name: string;
@@ -4527,7 +4477,7 @@ export declare const cxLogContract: {
4527
4477
  updatedAt?: string | undefined;
4528
4478
  } | null | undefined;
4529
4479
  }, {
4530
- callFrom?: {
4480
+ callTo?: {
4531
4481
  id: string;
4532
4482
  user: {
4533
4483
  name: string;
@@ -4553,7 +4503,7 @@ export declare const cxLogContract: {
4553
4503
  createdAt?: string | undefined;
4554
4504
  updatedAt?: string | undefined;
4555
4505
  } | null | undefined;
4556
- callTo?: {
4506
+ callFrom?: {
4557
4507
  id: string;
4558
4508
  user: {
4559
4509
  name: string;
@@ -4594,20 +4544,18 @@ export declare const cxLogContract: {
4594
4544
  extensionId: z.ZodNullable<z.ZodString>;
4595
4545
  extensionName: z.ZodString;
4596
4546
  telephonySignature: z.ZodNullable<z.ZodString>;
4597
- } & {
4598
4547
  user: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4548
+ name: z.ZodString;
4599
4549
  id: z.ZodString;
4550
+ address: z.ZodNullable<z.ZodString>;
4551
+ email: z.ZodString;
4600
4552
  createdAt: z.ZodDate;
4601
4553
  updatedAt: z.ZodDate;
4602
4554
  deletedAt: z.ZodNullable<z.ZodDate>;
4603
- name: z.ZodString;
4604
- email: z.ZodString;
4605
4555
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
4606
4556
  password: z.ZodString;
4607
- address: z.ZodNullable<z.ZodString>;
4608
4557
  phone: z.ZodNullable<z.ZodString>;
4609
4558
  notificationCount: z.ZodNullable<z.ZodNumber>;
4610
- } & {
4611
4559
  roles: z.ZodArray<z.ZodObject<{
4612
4560
  id: z.ZodString;
4613
4561
  createdAt: z.ZodDate;
@@ -4938,7 +4886,7 @@ export declare const cxLogContract: {
4938
4886
  uploadId: string | null;
4939
4887
  serialNumber: string | null;
4940
4888
  callParticipants: {
4941
- callFrom?: {
4889
+ callTo?: {
4942
4890
  id: string;
4943
4891
  user: {
4944
4892
  name: string;
@@ -4964,7 +4912,7 @@ export declare const cxLogContract: {
4964
4912
  createdAt?: string | undefined;
4965
4913
  updatedAt?: string | undefined;
4966
4914
  } | null | undefined;
4967
- callTo?: {
4915
+ callFrom?: {
4968
4916
  id: string;
4969
4917
  user: {
4970
4918
  name: string;
@@ -4994,63 +4942,6 @@ export declare const cxLogContract: {
4994
4942
  isQueueMissedCall: boolean;
4995
4943
  telephonyQueueId: string | null;
4996
4944
  contactId: string | null;
4997
- extension?: {
4998
- id: string;
4999
- createdAt: Date;
5000
- updatedAt: Date;
5001
- deletedAt: Date | null;
5002
- userId: string | null;
5003
- sipServerUrl: string;
5004
- sipUserName: string;
5005
- webphoneLoginUser: string;
5006
- extensionId: string | null;
5007
- extensionName: string;
5008
- telephonySignature: string | null;
5009
- user?: {
5010
- name: string;
5011
- id: string;
5012
- address: string | null;
5013
- email: string;
5014
- createdAt: Date;
5015
- updatedAt: Date;
5016
- deletedAt: Date | null;
5017
- emailVerifiedAt: Date | null;
5018
- password: string;
5019
- phone: string | null;
5020
- notificationCount: number | null;
5021
- roles: {
5022
- id: string;
5023
- description: string | null;
5024
- createdAt: Date;
5025
- updatedAt: Date;
5026
- deletedAt: Date | null;
5027
- systemName: string;
5028
- displayName: string;
5029
- permissions: {
5030
- id: string;
5031
- description: string | null;
5032
- createdAt: Date;
5033
- updatedAt: Date;
5034
- deletedAt: Date | null;
5035
- systemName: string;
5036
- displayName: string;
5037
- }[];
5038
- }[];
5039
- extension: {
5040
- id: string;
5041
- createdAt: Date;
5042
- updatedAt: Date;
5043
- deletedAt: Date | null;
5044
- userId: string | null;
5045
- sipServerUrl: string;
5046
- sipUserName: string;
5047
- webphoneLoginUser: string;
5048
- extensionId: string | null;
5049
- extensionName: string;
5050
- telephonySignature: string | null;
5051
- };
5052
- } | null | undefined;
5053
- } | null | undefined;
5054
4945
  contact?: {
5055
4946
  name: string;
5056
4947
  id: string;
@@ -5185,6 +5076,63 @@ export declare const cxLogContract: {
5185
5076
  fileSize: number;
5186
5077
  fileUrl: string | null;
5187
5078
  } | null | undefined;
5079
+ extension?: {
5080
+ id: string;
5081
+ createdAt: Date;
5082
+ updatedAt: Date;
5083
+ deletedAt: Date | null;
5084
+ userId: string | null;
5085
+ sipServerUrl: string;
5086
+ sipUserName: string;
5087
+ webphoneLoginUser: string;
5088
+ extensionId: string | null;
5089
+ extensionName: string;
5090
+ telephonySignature: string | null;
5091
+ user?: {
5092
+ name: string;
5093
+ id: string;
5094
+ address: string | null;
5095
+ email: string;
5096
+ createdAt: Date;
5097
+ updatedAt: Date;
5098
+ deletedAt: Date | null;
5099
+ emailVerifiedAt: Date | null;
5100
+ password: string;
5101
+ phone: string | null;
5102
+ notificationCount: number | null;
5103
+ roles: {
5104
+ id: string;
5105
+ description: string | null;
5106
+ createdAt: Date;
5107
+ updatedAt: Date;
5108
+ deletedAt: Date | null;
5109
+ systemName: string;
5110
+ displayName: string;
5111
+ permissions: {
5112
+ id: string;
5113
+ description: string | null;
5114
+ createdAt: Date;
5115
+ updatedAt: Date;
5116
+ deletedAt: Date | null;
5117
+ systemName: string;
5118
+ displayName: string;
5119
+ }[];
5120
+ }[];
5121
+ extension: {
5122
+ id: string;
5123
+ createdAt: Date;
5124
+ updatedAt: Date;
5125
+ deletedAt: Date | null;
5126
+ userId: string | null;
5127
+ sipServerUrl: string;
5128
+ sipUserName: string;
5129
+ webphoneLoginUser: string;
5130
+ extensionId: string | null;
5131
+ extensionName: string;
5132
+ telephonySignature: string | null;
5133
+ };
5134
+ } | null | undefined;
5135
+ } | null | undefined;
5188
5136
  }, {
5189
5137
  type: string;
5190
5138
  id: string;
@@ -5208,7 +5156,7 @@ export declare const cxLogContract: {
5208
5156
  uploadId: string | null;
5209
5157
  serialNumber: string | null;
5210
5158
  callParticipants: {
5211
- callFrom?: {
5159
+ callTo?: {
5212
5160
  id: string;
5213
5161
  user: {
5214
5162
  name: string;
@@ -5234,7 +5182,7 @@ export declare const cxLogContract: {
5234
5182
  createdAt?: string | undefined;
5235
5183
  updatedAt?: string | undefined;
5236
5184
  } | null | undefined;
5237
- callTo?: {
5185
+ callFrom?: {
5238
5186
  id: string;
5239
5187
  user: {
5240
5188
  name: string;
@@ -5264,63 +5212,6 @@ export declare const cxLogContract: {
5264
5212
  isQueueMissedCall: boolean;
5265
5213
  telephonyQueueId: string | null;
5266
5214
  contactId: string | null;
5267
- extension?: {
5268
- id: string;
5269
- createdAt: Date;
5270
- updatedAt: Date;
5271
- deletedAt: Date | null;
5272
- userId: string | null;
5273
- sipServerUrl: string;
5274
- sipUserName: string;
5275
- webphoneLoginUser: string;
5276
- extensionId: string | null;
5277
- extensionName: string;
5278
- telephonySignature: string | null;
5279
- user?: {
5280
- name: string;
5281
- id: string;
5282
- address: string | null;
5283
- email: string;
5284
- createdAt: Date;
5285
- updatedAt: Date;
5286
- deletedAt: Date | null;
5287
- emailVerifiedAt: Date | null;
5288
- password: string;
5289
- phone: string | null;
5290
- notificationCount: number | null;
5291
- roles: {
5292
- id: string;
5293
- description: string | null;
5294
- createdAt: Date;
5295
- updatedAt: Date;
5296
- deletedAt: Date | null;
5297
- systemName: string;
5298
- displayName: string;
5299
- permissions: {
5300
- id: string;
5301
- description: string | null;
5302
- createdAt: Date;
5303
- updatedAt: Date;
5304
- deletedAt: Date | null;
5305
- systemName: string;
5306
- displayName: string;
5307
- }[];
5308
- }[];
5309
- extension: {
5310
- id: string;
5311
- createdAt: Date;
5312
- updatedAt: Date;
5313
- deletedAt: Date | null;
5314
- userId: string | null;
5315
- sipServerUrl: string;
5316
- sipUserName: string;
5317
- webphoneLoginUser: string;
5318
- extensionId: string | null;
5319
- extensionName: string;
5320
- telephonySignature: string | null;
5321
- };
5322
- } | null | undefined;
5323
- } | null | undefined;
5324
5215
  contact?: {
5325
5216
  name: string;
5326
5217
  id: string;
@@ -5455,71 +5346,125 @@ export declare const cxLogContract: {
5455
5346
  fileSize: number;
5456
5347
  fileUrl: string | null;
5457
5348
  } | null | undefined;
5458
- }>>;
5459
- queue: z.ZodNullable<z.ZodObject<{
5460
- queueName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5461
- }, "strip", z.ZodTypeAny, {
5462
- queueName?: string | null | undefined;
5463
- }, {
5464
- queueName?: string | null | undefined;
5465
- }>>;
5466
- automationQueue: z.ZodNullable<z.ZodObject<{
5467
- id: z.ZodString;
5468
- name: z.ZodString;
5469
- }, "strip", z.ZodTypeAny, {
5470
- name: string;
5471
- id: string;
5472
- }, {
5473
- name: string;
5474
- id: string;
5475
- }>>;
5476
- contact: z.ZodNullable<z.ZodObject<{
5477
- id: z.ZodString;
5478
- createdAt: z.ZodDate;
5479
- updatedAt: z.ZodDate;
5480
- deletedAt: z.ZodNullable<z.ZodDate>;
5481
- name: z.ZodString;
5482
- address: z.ZodNullable<z.ZodString>;
5483
- channel: z.ZodNullable<z.ZodString>;
5484
- notes: z.ZodNullable<z.ZodString>;
5485
- contactProfile: z.ZodNullable<z.ZodString>;
5486
- socialProfileUrl: z.ZodNullable<z.ZodString>;
5487
- tags: z.ZodArray<z.ZodObject<{
5488
- id: z.ZodString;
5489
- createdAt: z.ZodDate;
5490
- updatedAt: z.ZodDate;
5491
- deletedAt: z.ZodNullable<z.ZodDate>;
5492
- } & {
5493
- name: z.ZodString;
5494
- }, "strip", z.ZodTypeAny, {
5495
- name: string;
5496
- id: string;
5497
- createdAt: Date;
5498
- updatedAt: Date;
5499
- deletedAt: Date | null;
5500
- }, {
5501
- name: string;
5349
+ extension?: {
5502
5350
  id: string;
5503
5351
  createdAt: Date;
5504
5352
  updatedAt: Date;
5505
5353
  deletedAt: Date | null;
5506
- }>, "many">;
5507
- company: z.ZodNullable<z.ZodObject<Omit<{
5508
- id: z.ZodString;
5509
- createdAt: z.ZodDate;
5510
- updatedAt: z.ZodDate;
5511
- deletedAt: z.ZodNullable<z.ZodDate>;
5512
- } & {
5513
- name: z.ZodOptional<z.ZodString>;
5514
- phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5515
- address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5516
- industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5354
+ userId: string | null;
5355
+ sipServerUrl: string;
5356
+ sipUserName: string;
5357
+ webphoneLoginUser: string;
5358
+ extensionId: string | null;
5359
+ extensionName: string;
5360
+ telephonySignature: string | null;
5361
+ user?: {
5362
+ name: string;
5363
+ id: string;
5364
+ address: string | null;
5365
+ email: string;
5366
+ createdAt: Date;
5367
+ updatedAt: Date;
5368
+ deletedAt: Date | null;
5369
+ emailVerifiedAt: Date | null;
5370
+ password: string;
5371
+ phone: string | null;
5372
+ notificationCount: number | null;
5373
+ roles: {
5374
+ id: string;
5375
+ description: string | null;
5376
+ createdAt: Date;
5377
+ updatedAt: Date;
5378
+ deletedAt: Date | null;
5379
+ systemName: string;
5380
+ displayName: string;
5381
+ permissions: {
5382
+ id: string;
5383
+ description: string | null;
5384
+ createdAt: Date;
5385
+ updatedAt: Date;
5386
+ deletedAt: Date | null;
5387
+ systemName: string;
5388
+ displayName: string;
5389
+ }[];
5390
+ }[];
5391
+ extension: {
5392
+ id: string;
5393
+ createdAt: Date;
5394
+ updatedAt: Date;
5395
+ deletedAt: Date | null;
5396
+ userId: string | null;
5397
+ sipServerUrl: string;
5398
+ sipUserName: string;
5399
+ webphoneLoginUser: string;
5400
+ extensionId: string | null;
5401
+ extensionName: string;
5402
+ telephonySignature: string | null;
5403
+ };
5404
+ } | null | undefined;
5405
+ } | null | undefined;
5406
+ }>>;
5407
+ queue: z.ZodNullable<z.ZodObject<{
5408
+ queueName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5409
+ }, "strip", z.ZodTypeAny, {
5410
+ queueName?: string | null | undefined;
5411
+ }, {
5412
+ queueName?: string | null | undefined;
5413
+ }>>;
5414
+ automationQueue: z.ZodNullable<z.ZodObject<{
5415
+ id: z.ZodString;
5416
+ name: z.ZodString;
5417
+ }, "strip", z.ZodTypeAny, {
5418
+ name: string;
5419
+ id: string;
5420
+ }, {
5421
+ name: string;
5422
+ id: string;
5423
+ }>>;
5424
+ contact: z.ZodNullable<z.ZodObject<{
5425
+ id: z.ZodString;
5426
+ createdAt: z.ZodDate;
5427
+ updatedAt: z.ZodDate;
5428
+ deletedAt: z.ZodNullable<z.ZodDate>;
5429
+ name: z.ZodString;
5430
+ address: z.ZodNullable<z.ZodString>;
5431
+ channel: z.ZodNullable<z.ZodString>;
5432
+ notes: z.ZodNullable<z.ZodString>;
5433
+ contactProfile: z.ZodNullable<z.ZodString>;
5434
+ socialProfileUrl: z.ZodNullable<z.ZodString>;
5435
+ tags: z.ZodArray<z.ZodObject<{
5436
+ id: z.ZodString;
5437
+ createdAt: z.ZodDate;
5438
+ updatedAt: z.ZodDate;
5439
+ deletedAt: z.ZodNullable<z.ZodDate>;
5440
+ name: z.ZodString;
5441
+ }, "strip", z.ZodTypeAny, {
5442
+ name: string;
5443
+ id: string;
5444
+ createdAt: Date;
5445
+ updatedAt: Date;
5446
+ deletedAt: Date | null;
5447
+ }, {
5448
+ name: string;
5449
+ id: string;
5450
+ createdAt: Date;
5451
+ updatedAt: Date;
5452
+ deletedAt: Date | null;
5453
+ }>, "many">;
5454
+ company: z.ZodNullable<z.ZodObject<Omit<{
5455
+ id: z.ZodString;
5456
+ createdAt: z.ZodDate;
5457
+ updatedAt: z.ZodDate;
5458
+ deletedAt: z.ZodNullable<z.ZodDate>;
5459
+ name: z.ZodOptional<z.ZodString>;
5460
+ phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5461
+ address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5462
+ industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5517
5463
  customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
5518
5464
  id: z.ZodString;
5519
5465
  createdAt: z.ZodDate;
5520
5466
  updatedAt: z.ZodDate;
5521
5467
  deletedAt: z.ZodNullable<z.ZodDate>;
5522
- } & {
5523
5468
  textValue: z.ZodNullable<z.ZodString>;
5524
5469
  booleanValue: z.ZodNullable<z.ZodBoolean>;
5525
5470
  numberValue: z.ZodNullable<z.ZodNumber>;
@@ -5529,7 +5474,6 @@ export declare const cxLogContract: {
5529
5474
  createdAt: z.ZodDate;
5530
5475
  updatedAt: z.ZodDate;
5531
5476
  deletedAt: z.ZodNullable<z.ZodDate>;
5532
- } & {
5533
5477
  systemName: z.ZodString;
5534
5478
  displayName: z.ZodString;
5535
5479
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -5539,11 +5483,10 @@ export declare const cxLogContract: {
5539
5483
  isRequired: z.ZodBoolean;
5540
5484
  isUnique: z.ZodBoolean;
5541
5485
  options: z.ZodArray<z.ZodObject<{
5542
- label: z.ZodString;
5486
+ position: z.ZodNumber;
5543
5487
  value: z.ZodString;
5488
+ label: z.ZodString;
5544
5489
  isDefault: z.ZodBoolean;
5545
- position: z.ZodNumber;
5546
- } & {
5547
5490
  id: z.ZodString;
5548
5491
  }, "strip", z.ZodTypeAny, {
5549
5492
  id: string;
@@ -5563,7 +5506,6 @@ export declare const cxLogContract: {
5563
5506
  createdAt: z.ZodDate;
5564
5507
  updatedAt: z.ZodDate;
5565
5508
  deletedAt: z.ZodNullable<z.ZodDate>;
5566
- } & {
5567
5509
  systemName: z.ZodString;
5568
5510
  displayName: z.ZodString;
5569
5511
  }, "strip", z.ZodTypeAny, {
@@ -5741,7 +5683,6 @@ export declare const cxLogContract: {
5741
5683
  createdAt: z.ZodDate;
5742
5684
  updatedAt: z.ZodDate;
5743
5685
  deletedAt: z.ZodNullable<z.ZodDate>;
5744
- } & {
5745
5686
  systemName: z.ZodString;
5746
5687
  displayName: z.ZodString;
5747
5688
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -5751,11 +5692,10 @@ export declare const cxLogContract: {
5751
5692
  isRequired: z.ZodBoolean;
5752
5693
  isUnique: z.ZodBoolean;
5753
5694
  options: z.ZodArray<z.ZodObject<{
5754
- label: z.ZodString;
5695
+ position: z.ZodNumber;
5755
5696
  value: z.ZodString;
5697
+ label: z.ZodString;
5756
5698
  isDefault: z.ZodBoolean;
5757
- position: z.ZodNumber;
5758
- } & {
5759
5699
  id: z.ZodString;
5760
5700
  }, "strip", z.ZodTypeAny, {
5761
5701
  id: string;
@@ -5775,7 +5715,6 @@ export declare const cxLogContract: {
5775
5715
  createdAt: z.ZodDate;
5776
5716
  updatedAt: z.ZodDate;
5777
5717
  deletedAt: z.ZodNullable<z.ZodDate>;
5778
- } & {
5779
5718
  systemName: z.ZodString;
5780
5719
  displayName: z.ZodString;
5781
5720
  }, "strip", z.ZodTypeAny, {
@@ -5825,7 +5764,6 @@ export declare const cxLogContract: {
5825
5764
  createdAt: z.ZodDate;
5826
5765
  updatedAt: z.ZodDate;
5827
5766
  deletedAt: z.ZodNullable<z.ZodDate>;
5828
- } & {
5829
5767
  bucketName: z.ZodString;
5830
5768
  fileName: z.ZodString;
5831
5769
  fileSize: z.ZodNumber;
@@ -6254,18 +6192,17 @@ export declare const cxLogContract: {
6254
6192
  }[] | undefined;
6255
6193
  }>>;
6256
6194
  firstAssignee: z.ZodNullable<z.ZodObject<{
6195
+ name: z.ZodString;
6257
6196
  id: z.ZodString;
6197
+ address: z.ZodNullable<z.ZodString>;
6198
+ email: z.ZodString;
6258
6199
  createdAt: z.ZodDate;
6259
6200
  updatedAt: z.ZodDate;
6260
6201
  deletedAt: z.ZodNullable<z.ZodDate>;
6261
- name: z.ZodString;
6262
- email: z.ZodString;
6263
6202
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
6264
6203
  password: z.ZodString;
6265
- address: z.ZodNullable<z.ZodString>;
6266
6204
  phone: z.ZodNullable<z.ZodString>;
6267
6205
  notificationCount: z.ZodNullable<z.ZodNumber>;
6268
- } & {
6269
6206
  roles: z.ZodArray<z.ZodObject<{
6270
6207
  id: z.ZodString;
6271
6208
  createdAt: z.ZodDate;
@@ -6459,18 +6396,17 @@ export declare const cxLogContract: {
6459
6396
  };
6460
6397
  }>>;
6461
6398
  agent: z.ZodNullable<z.ZodObject<{
6399
+ name: z.ZodString;
6462
6400
  id: z.ZodString;
6401
+ address: z.ZodNullable<z.ZodString>;
6402
+ email: z.ZodString;
6463
6403
  createdAt: z.ZodDate;
6464
6404
  updatedAt: z.ZodDate;
6465
6405
  deletedAt: z.ZodNullable<z.ZodDate>;
6466
- name: z.ZodString;
6467
- email: z.ZodString;
6468
6406
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
6469
6407
  password: z.ZodString;
6470
- address: z.ZodNullable<z.ZodString>;
6471
6408
  phone: z.ZodNullable<z.ZodString>;
6472
6409
  notificationCount: z.ZodNullable<z.ZodNumber>;
6473
- } & {
6474
6410
  roles: z.ZodArray<z.ZodObject<{
6475
6411
  id: z.ZodString;
6476
6412
  createdAt: z.ZodDate;
@@ -6664,18 +6600,17 @@ export declare const cxLogContract: {
6664
6600
  };
6665
6601
  }>>;
6666
6602
  closedAssignee: z.ZodNullable<z.ZodObject<{
6603
+ name: z.ZodString;
6667
6604
  id: z.ZodString;
6605
+ address: z.ZodNullable<z.ZodString>;
6606
+ email: z.ZodString;
6668
6607
  createdAt: z.ZodDate;
6669
6608
  updatedAt: z.ZodDate;
6670
6609
  deletedAt: z.ZodNullable<z.ZodDate>;
6671
- name: z.ZodString;
6672
- email: z.ZodString;
6673
6610
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
6674
6611
  password: z.ZodString;
6675
- address: z.ZodNullable<z.ZodString>;
6676
6612
  phone: z.ZodNullable<z.ZodString>;
6677
6613
  notificationCount: z.ZodNullable<z.ZodNumber>;
6678
- } & {
6679
6614
  roles: z.ZodArray<z.ZodObject<{
6680
6615
  id: z.ZodString;
6681
6616
  createdAt: z.ZodDate;
@@ -7103,33 +7038,33 @@ export declare const cxLogContract: {
7103
7038
  metadata: {
7104
7039
  name: string;
7105
7040
  id: string;
7106
- line?: {
7107
- channelId: string;
7108
- channelSecret: string;
7109
- } | undefined;
7041
+ accessToken?: string | undefined;
7042
+ channelSecret?: string | undefined;
7043
+ additionalCredentials?: any;
7044
+ senderId?: string | undefined;
7110
7045
  whatsapp?: {
7111
- email?: string | null | undefined;
7112
- status?: "active" | "pending" | "waapi-qr" | undefined;
7113
- channelId?: string | null | undefined;
7114
7046
  wabaBusinessId?: string | null | undefined;
7115
7047
  wabaExternalId?: string | null | undefined;
7116
7048
  phoneNumberId?: string | null | undefined;
7049
+ email?: string | null | undefined;
7117
7050
  clientId?: string | null | undefined;
7051
+ channelId?: string | null | undefined;
7118
7052
  waapiInstanceId?: string | null | undefined;
7119
7053
  qr?: string | null | undefined;
7054
+ status?: "active" | "pending" | "waapi-qr" | undefined;
7120
7055
  apiKey?: string | undefined;
7121
7056
  tier?: "basic" | "regular" | "premium" | undefined;
7122
7057
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
7123
7058
  } | undefined;
7124
- additionalCredentials?: any;
7125
- accessToken?: string | undefined;
7126
- channelSecret?: string | undefined;
7127
- senderId?: string | undefined;
7128
7059
  vonageCredentials?: {
7129
7060
  apiKey: string;
7130
7061
  mobileNumber: string;
7131
7062
  apiSecret: string;
7132
7063
  } | undefined;
7064
+ line?: {
7065
+ channelId: string;
7066
+ channelSecret: string;
7067
+ } | undefined;
7133
7068
  lineRichMenuId?: string | null | undefined;
7134
7069
  messengerIntegrationType?: "own" | "business" | undefined;
7135
7070
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -7447,7 +7382,7 @@ export declare const cxLogContract: {
7447
7382
  uploadId: string | null;
7448
7383
  serialNumber: string | null;
7449
7384
  callParticipants: {
7450
- callFrom?: {
7385
+ callTo?: {
7451
7386
  id: string;
7452
7387
  user: {
7453
7388
  name: string;
@@ -7473,7 +7408,7 @@ export declare const cxLogContract: {
7473
7408
  createdAt?: string | undefined;
7474
7409
  updatedAt?: string | undefined;
7475
7410
  } | null | undefined;
7476
- callTo?: {
7411
+ callFrom?: {
7477
7412
  id: string;
7478
7413
  user: {
7479
7414
  name: string;
@@ -7503,63 +7438,6 @@ export declare const cxLogContract: {
7503
7438
  isQueueMissedCall: boolean;
7504
7439
  telephonyQueueId: string | null;
7505
7440
  contactId: string | null;
7506
- extension?: {
7507
- id: string;
7508
- createdAt: Date;
7509
- updatedAt: Date;
7510
- deletedAt: Date | null;
7511
- userId: string | null;
7512
- sipServerUrl: string;
7513
- sipUserName: string;
7514
- webphoneLoginUser: string;
7515
- extensionId: string | null;
7516
- extensionName: string;
7517
- telephonySignature: string | null;
7518
- user?: {
7519
- name: string;
7520
- id: string;
7521
- address: string | null;
7522
- email: string;
7523
- createdAt: Date;
7524
- updatedAt: Date;
7525
- deletedAt: Date | null;
7526
- emailVerifiedAt: Date | null;
7527
- password: string;
7528
- phone: string | null;
7529
- notificationCount: number | null;
7530
- roles: {
7531
- id: string;
7532
- description: string | null;
7533
- createdAt: Date;
7534
- updatedAt: Date;
7535
- deletedAt: Date | null;
7536
- systemName: string;
7537
- displayName: string;
7538
- permissions: {
7539
- id: string;
7540
- description: string | null;
7541
- createdAt: Date;
7542
- updatedAt: Date;
7543
- deletedAt: Date | null;
7544
- systemName: string;
7545
- displayName: string;
7546
- }[];
7547
- }[];
7548
- extension: {
7549
- id: string;
7550
- createdAt: Date;
7551
- updatedAt: Date;
7552
- deletedAt: Date | null;
7553
- userId: string | null;
7554
- sipServerUrl: string;
7555
- sipUserName: string;
7556
- webphoneLoginUser: string;
7557
- extensionId: string | null;
7558
- extensionName: string;
7559
- telephonySignature: string | null;
7560
- };
7561
- } | null | undefined;
7562
- } | null | undefined;
7563
7441
  contact?: {
7564
7442
  name: string;
7565
7443
  id: string;
@@ -7694,37 +7572,94 @@ export declare const cxLogContract: {
7694
7572
  fileSize: number;
7695
7573
  fileUrl: string | null;
7696
7574
  } | null | undefined;
7697
- } | null;
7698
- queue: {
7699
- queueName?: string | null | undefined;
7700
- } | null;
7701
- automationQueue: {
7702
- name: string;
7703
- id: string;
7704
- } | null;
7705
- firstAssignee: {
7706
- name: string;
7707
- id: string;
7708
- address: string | null;
7709
- email: string;
7710
- createdAt: Date;
7711
- updatedAt: Date;
7712
- deletedAt: Date | null;
7713
- emailVerifiedAt: Date | null;
7714
- password: string;
7715
- phone: string | null;
7716
- notificationCount: number | null;
7717
- roles: {
7575
+ extension?: {
7718
7576
  id: string;
7719
- description: string | null;
7720
7577
  createdAt: Date;
7721
7578
  updatedAt: Date;
7722
7579
  deletedAt: Date | null;
7723
- systemName: string;
7724
- displayName: string;
7725
- permissions: {
7580
+ userId: string | null;
7581
+ sipServerUrl: string;
7582
+ sipUserName: string;
7583
+ webphoneLoginUser: string;
7584
+ extensionId: string | null;
7585
+ extensionName: string;
7586
+ telephonySignature: string | null;
7587
+ user?: {
7588
+ name: string;
7726
7589
  id: string;
7727
- description: string | null;
7590
+ address: string | null;
7591
+ email: string;
7592
+ createdAt: Date;
7593
+ updatedAt: Date;
7594
+ deletedAt: Date | null;
7595
+ emailVerifiedAt: Date | null;
7596
+ password: string;
7597
+ phone: string | null;
7598
+ notificationCount: number | null;
7599
+ roles: {
7600
+ id: string;
7601
+ description: string | null;
7602
+ createdAt: Date;
7603
+ updatedAt: Date;
7604
+ deletedAt: Date | null;
7605
+ systemName: string;
7606
+ displayName: string;
7607
+ permissions: {
7608
+ id: string;
7609
+ description: string | null;
7610
+ createdAt: Date;
7611
+ updatedAt: Date;
7612
+ deletedAt: Date | null;
7613
+ systemName: string;
7614
+ displayName: string;
7615
+ }[];
7616
+ }[];
7617
+ extension: {
7618
+ id: string;
7619
+ createdAt: Date;
7620
+ updatedAt: Date;
7621
+ deletedAt: Date | null;
7622
+ userId: string | null;
7623
+ sipServerUrl: string;
7624
+ sipUserName: string;
7625
+ webphoneLoginUser: string;
7626
+ extensionId: string | null;
7627
+ extensionName: string;
7628
+ telephonySignature: string | null;
7629
+ };
7630
+ } | null | undefined;
7631
+ } | null | undefined;
7632
+ } | null;
7633
+ queue: {
7634
+ queueName?: string | null | undefined;
7635
+ } | null;
7636
+ automationQueue: {
7637
+ name: string;
7638
+ id: string;
7639
+ } | null;
7640
+ firstAssignee: {
7641
+ name: string;
7642
+ id: string;
7643
+ address: string | null;
7644
+ email: string;
7645
+ createdAt: Date;
7646
+ updatedAt: Date;
7647
+ deletedAt: Date | null;
7648
+ emailVerifiedAt: Date | null;
7649
+ password: string;
7650
+ phone: string | null;
7651
+ notificationCount: number | null;
7652
+ roles: {
7653
+ id: string;
7654
+ description: string | null;
7655
+ createdAt: Date;
7656
+ updatedAt: Date;
7657
+ deletedAt: Date | null;
7658
+ systemName: string;
7659
+ displayName: string;
7660
+ permissions: {
7661
+ id: string;
7662
+ description: string | null;
7728
7663
  createdAt: Date;
7729
7664
  updatedAt: Date;
7730
7665
  deletedAt: Date | null;
@@ -8051,33 +7986,33 @@ export declare const cxLogContract: {
8051
7986
  metadata: {
8052
7987
  name: string;
8053
7988
  id: string;
8054
- line?: {
8055
- channelId: string;
8056
- channelSecret: string;
8057
- } | undefined;
7989
+ accessToken?: string | undefined;
7990
+ channelSecret?: string | undefined;
7991
+ additionalCredentials?: any;
7992
+ senderId?: string | undefined;
8058
7993
  whatsapp?: {
8059
- email?: string | null | undefined;
8060
- status?: "active" | "pending" | "waapi-qr" | undefined;
8061
- channelId?: string | null | undefined;
8062
7994
  wabaBusinessId?: string | null | undefined;
8063
7995
  wabaExternalId?: string | null | undefined;
8064
7996
  phoneNumberId?: string | null | undefined;
7997
+ email?: string | null | undefined;
8065
7998
  clientId?: string | null | undefined;
7999
+ channelId?: string | null | undefined;
8066
8000
  waapiInstanceId?: string | null | undefined;
8067
8001
  qr?: string | null | undefined;
8002
+ status?: "active" | "pending" | "waapi-qr" | undefined;
8068
8003
  apiKey?: string | undefined;
8069
8004
  tier?: "basic" | "regular" | "premium" | undefined;
8070
8005
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
8071
8006
  } | undefined;
8072
- additionalCredentials?: any;
8073
- accessToken?: string | undefined;
8074
- channelSecret?: string | undefined;
8075
- senderId?: string | undefined;
8076
8007
  vonageCredentials?: {
8077
8008
  apiKey: string;
8078
8009
  mobileNumber: string;
8079
8010
  apiSecret: string;
8080
8011
  } | undefined;
8012
+ line?: {
8013
+ channelId: string;
8014
+ channelSecret: string;
8015
+ } | undefined;
8081
8016
  lineRichMenuId?: string | null | undefined;
8082
8017
  messengerIntegrationType?: "own" | "business" | undefined;
8083
8018
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -8395,7 +8330,7 @@ export declare const cxLogContract: {
8395
8330
  uploadId: string | null;
8396
8331
  serialNumber: string | null;
8397
8332
  callParticipants: {
8398
- callFrom?: {
8333
+ callTo?: {
8399
8334
  id: string;
8400
8335
  user: {
8401
8336
  name: string;
@@ -8421,7 +8356,7 @@ export declare const cxLogContract: {
8421
8356
  createdAt?: string | undefined;
8422
8357
  updatedAt?: string | undefined;
8423
8358
  } | null | undefined;
8424
- callTo?: {
8359
+ callFrom?: {
8425
8360
  id: string;
8426
8361
  user: {
8427
8362
  name: string;
@@ -8451,63 +8386,6 @@ export declare const cxLogContract: {
8451
8386
  isQueueMissedCall: boolean;
8452
8387
  telephonyQueueId: string | null;
8453
8388
  contactId: string | null;
8454
- extension?: {
8455
- id: string;
8456
- createdAt: Date;
8457
- updatedAt: Date;
8458
- deletedAt: Date | null;
8459
- userId: string | null;
8460
- sipServerUrl: string;
8461
- sipUserName: string;
8462
- webphoneLoginUser: string;
8463
- extensionId: string | null;
8464
- extensionName: string;
8465
- telephonySignature: string | null;
8466
- user?: {
8467
- name: string;
8468
- id: string;
8469
- address: string | null;
8470
- email: string;
8471
- createdAt: Date;
8472
- updatedAt: Date;
8473
- deletedAt: Date | null;
8474
- emailVerifiedAt: Date | null;
8475
- password: string;
8476
- phone: string | null;
8477
- notificationCount: number | null;
8478
- roles: {
8479
- id: string;
8480
- description: string | null;
8481
- createdAt: Date;
8482
- updatedAt: Date;
8483
- deletedAt: Date | null;
8484
- systemName: string;
8485
- displayName: string;
8486
- permissions: {
8487
- id: string;
8488
- description: string | null;
8489
- createdAt: Date;
8490
- updatedAt: Date;
8491
- deletedAt: Date | null;
8492
- systemName: string;
8493
- displayName: string;
8494
- }[];
8495
- }[];
8496
- extension: {
8497
- id: string;
8498
- createdAt: Date;
8499
- updatedAt: Date;
8500
- deletedAt: Date | null;
8501
- userId: string | null;
8502
- sipServerUrl: string;
8503
- sipUserName: string;
8504
- webphoneLoginUser: string;
8505
- extensionId: string | null;
8506
- extensionName: string;
8507
- telephonySignature: string | null;
8508
- };
8509
- } | null | undefined;
8510
- } | null | undefined;
8511
8389
  contact?: {
8512
8390
  name: string;
8513
8391
  id: string;
@@ -8642,6 +8520,63 @@ export declare const cxLogContract: {
8642
8520
  fileSize: number;
8643
8521
  fileUrl: string | null;
8644
8522
  } | null | undefined;
8523
+ extension?: {
8524
+ id: string;
8525
+ createdAt: Date;
8526
+ updatedAt: Date;
8527
+ deletedAt: Date | null;
8528
+ userId: string | null;
8529
+ sipServerUrl: string;
8530
+ sipUserName: string;
8531
+ webphoneLoginUser: string;
8532
+ extensionId: string | null;
8533
+ extensionName: string;
8534
+ telephonySignature: string | null;
8535
+ user?: {
8536
+ name: string;
8537
+ id: string;
8538
+ address: string | null;
8539
+ email: string;
8540
+ createdAt: Date;
8541
+ updatedAt: Date;
8542
+ deletedAt: Date | null;
8543
+ emailVerifiedAt: Date | null;
8544
+ password: string;
8545
+ phone: string | null;
8546
+ notificationCount: number | null;
8547
+ roles: {
8548
+ id: string;
8549
+ description: string | null;
8550
+ createdAt: Date;
8551
+ updatedAt: Date;
8552
+ deletedAt: Date | null;
8553
+ systemName: string;
8554
+ displayName: string;
8555
+ permissions: {
8556
+ id: string;
8557
+ description: string | null;
8558
+ createdAt: Date;
8559
+ updatedAt: Date;
8560
+ deletedAt: Date | null;
8561
+ systemName: string;
8562
+ displayName: string;
8563
+ }[];
8564
+ }[];
8565
+ extension: {
8566
+ id: string;
8567
+ createdAt: Date;
8568
+ updatedAt: Date;
8569
+ deletedAt: Date | null;
8570
+ userId: string | null;
8571
+ sipServerUrl: string;
8572
+ sipUserName: string;
8573
+ webphoneLoginUser: string;
8574
+ extensionId: string | null;
8575
+ extensionName: string;
8576
+ telephonySignature: string | null;
8577
+ };
8578
+ } | null | undefined;
8579
+ } | null | undefined;
8645
8580
  } | null;
8646
8581
  queue: {
8647
8582
  queueName?: string | null | undefined;
@@ -9005,33 +8940,33 @@ export declare const cxLogContract: {
9005
8940
  metadata: {
9006
8941
  name: string;
9007
8942
  id: string;
9008
- line?: {
9009
- channelId: string;
9010
- channelSecret: string;
9011
- } | undefined;
8943
+ accessToken?: string | undefined;
8944
+ channelSecret?: string | undefined;
8945
+ additionalCredentials?: any;
8946
+ senderId?: string | undefined;
9012
8947
  whatsapp?: {
9013
- email?: string | null | undefined;
9014
- status?: "active" | "pending" | "waapi-qr" | undefined;
9015
- channelId?: string | null | undefined;
9016
8948
  wabaBusinessId?: string | null | undefined;
9017
8949
  wabaExternalId?: string | null | undefined;
9018
8950
  phoneNumberId?: string | null | undefined;
8951
+ email?: string | null | undefined;
9019
8952
  clientId?: string | null | undefined;
8953
+ channelId?: string | null | undefined;
9020
8954
  waapiInstanceId?: string | null | undefined;
9021
8955
  qr?: string | null | undefined;
8956
+ status?: "active" | "pending" | "waapi-qr" | undefined;
9022
8957
  apiKey?: string | undefined;
9023
8958
  tier?: "basic" | "regular" | "premium" | undefined;
9024
8959
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
9025
8960
  } | undefined;
9026
- additionalCredentials?: any;
9027
- accessToken?: string | undefined;
9028
- channelSecret?: string | undefined;
9029
- senderId?: string | undefined;
9030
8961
  vonageCredentials?: {
9031
8962
  apiKey: string;
9032
8963
  mobileNumber: string;
9033
8964
  apiSecret: string;
9034
8965
  } | undefined;
8966
+ line?: {
8967
+ channelId: string;
8968
+ channelSecret: string;
8969
+ } | undefined;
9035
8970
  lineRichMenuId?: string | null | undefined;
9036
8971
  messengerIntegrationType?: "own" | "business" | undefined;
9037
8972
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -9349,7 +9284,7 @@ export declare const cxLogContract: {
9349
9284
  uploadId: string | null;
9350
9285
  serialNumber: string | null;
9351
9286
  callParticipants: {
9352
- callFrom?: {
9287
+ callTo?: {
9353
9288
  id: string;
9354
9289
  user: {
9355
9290
  name: string;
@@ -9375,7 +9310,7 @@ export declare const cxLogContract: {
9375
9310
  createdAt?: string | undefined;
9376
9311
  updatedAt?: string | undefined;
9377
9312
  } | null | undefined;
9378
- callTo?: {
9313
+ callFrom?: {
9379
9314
  id: string;
9380
9315
  user: {
9381
9316
  name: string;
@@ -9405,72 +9340,15 @@ export declare const cxLogContract: {
9405
9340
  isQueueMissedCall: boolean;
9406
9341
  telephonyQueueId: string | null;
9407
9342
  contactId: string | null;
9408
- extension?: {
9343
+ contact?: {
9344
+ name: string;
9409
9345
  id: string;
9346
+ channel: string | null;
9347
+ address: string | null;
9410
9348
  createdAt: Date;
9411
9349
  updatedAt: Date;
9412
9350
  deletedAt: Date | null;
9413
- userId: string | null;
9414
- sipServerUrl: string;
9415
- sipUserName: string;
9416
- webphoneLoginUser: string;
9417
- extensionId: string | null;
9418
- extensionName: string;
9419
- telephonySignature: string | null;
9420
- user?: {
9421
- name: string;
9422
- id: string;
9423
- address: string | null;
9424
- email: string;
9425
- createdAt: Date;
9426
- updatedAt: Date;
9427
- deletedAt: Date | null;
9428
- emailVerifiedAt: Date | null;
9429
- password: string;
9430
- phone: string | null;
9431
- notificationCount: number | null;
9432
- roles: {
9433
- id: string;
9434
- description: string | null;
9435
- createdAt: Date;
9436
- updatedAt: Date;
9437
- deletedAt: Date | null;
9438
- systemName: string;
9439
- displayName: string;
9440
- permissions: {
9441
- id: string;
9442
- description: string | null;
9443
- createdAt: Date;
9444
- updatedAt: Date;
9445
- deletedAt: Date | null;
9446
- systemName: string;
9447
- displayName: string;
9448
- }[];
9449
- }[];
9450
- extension: {
9451
- id: string;
9452
- createdAt: Date;
9453
- updatedAt: Date;
9454
- deletedAt: Date | null;
9455
- userId: string | null;
9456
- sipServerUrl: string;
9457
- sipUserName: string;
9458
- webphoneLoginUser: string;
9459
- extensionId: string | null;
9460
- extensionName: string;
9461
- telephonySignature: string | null;
9462
- };
9463
- } | null | undefined;
9464
- } | null | undefined;
9465
- contact?: {
9466
- name: string;
9467
- id: string;
9468
- channel: string | null;
9469
- address: string | null;
9470
- createdAt: Date;
9471
- updatedAt: Date;
9472
- deletedAt: Date | null;
9473
- customFields: {
9351
+ customFields: {
9474
9352
  id: string;
9475
9353
  createdAt: Date;
9476
9354
  updatedAt: Date;
@@ -9596,6 +9474,63 @@ export declare const cxLogContract: {
9596
9474
  fileSize: number;
9597
9475
  fileUrl: string | null;
9598
9476
  } | null | undefined;
9477
+ extension?: {
9478
+ id: string;
9479
+ createdAt: Date;
9480
+ updatedAt: Date;
9481
+ deletedAt: Date | null;
9482
+ userId: string | null;
9483
+ sipServerUrl: string;
9484
+ sipUserName: string;
9485
+ webphoneLoginUser: string;
9486
+ extensionId: string | null;
9487
+ extensionName: string;
9488
+ telephonySignature: string | null;
9489
+ user?: {
9490
+ name: string;
9491
+ id: string;
9492
+ address: string | null;
9493
+ email: string;
9494
+ createdAt: Date;
9495
+ updatedAt: Date;
9496
+ deletedAt: Date | null;
9497
+ emailVerifiedAt: Date | null;
9498
+ password: string;
9499
+ phone: string | null;
9500
+ notificationCount: number | null;
9501
+ roles: {
9502
+ id: string;
9503
+ description: string | null;
9504
+ createdAt: Date;
9505
+ updatedAt: Date;
9506
+ deletedAt: Date | null;
9507
+ systemName: string;
9508
+ displayName: string;
9509
+ permissions: {
9510
+ id: string;
9511
+ description: string | null;
9512
+ createdAt: Date;
9513
+ updatedAt: Date;
9514
+ deletedAt: Date | null;
9515
+ systemName: string;
9516
+ displayName: string;
9517
+ }[];
9518
+ }[];
9519
+ extension: {
9520
+ id: string;
9521
+ createdAt: Date;
9522
+ updatedAt: Date;
9523
+ deletedAt: Date | null;
9524
+ userId: string | null;
9525
+ sipServerUrl: string;
9526
+ sipUserName: string;
9527
+ webphoneLoginUser: string;
9528
+ extensionId: string | null;
9529
+ extensionName: string;
9530
+ telephonySignature: string | null;
9531
+ };
9532
+ } | null | undefined;
9533
+ } | null | undefined;
9599
9534
  } | null;
9600
9535
  queue: {
9601
9536
  queueName?: string | null | undefined;
@@ -9959,33 +9894,33 @@ export declare const cxLogContract: {
9959
9894
  metadata: {
9960
9895
  name: string;
9961
9896
  id: string;
9962
- line?: {
9963
- channelId: string;
9964
- channelSecret: string;
9965
- } | undefined;
9897
+ accessToken?: string | undefined;
9898
+ channelSecret?: string | undefined;
9899
+ additionalCredentials?: any;
9900
+ senderId?: string | undefined;
9966
9901
  whatsapp?: {
9967
- email?: string | null | undefined;
9968
- status?: "active" | "pending" | "waapi-qr" | undefined;
9969
- channelId?: string | null | undefined;
9970
9902
  wabaBusinessId?: string | null | undefined;
9971
9903
  wabaExternalId?: string | null | undefined;
9972
9904
  phoneNumberId?: string | null | undefined;
9905
+ email?: string | null | undefined;
9973
9906
  clientId?: string | null | undefined;
9907
+ channelId?: string | null | undefined;
9974
9908
  waapiInstanceId?: string | null | undefined;
9975
9909
  qr?: string | null | undefined;
9910
+ status?: "active" | "pending" | "waapi-qr" | undefined;
9976
9911
  apiKey?: string | undefined;
9977
9912
  tier?: "basic" | "regular" | "premium" | undefined;
9978
9913
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
9979
9914
  } | undefined;
9980
- additionalCredentials?: any;
9981
- accessToken?: string | undefined;
9982
- channelSecret?: string | undefined;
9983
- senderId?: string | undefined;
9984
9915
  vonageCredentials?: {
9985
9916
  apiKey: string;
9986
9917
  mobileNumber: string;
9987
9918
  apiSecret: string;
9988
9919
  } | undefined;
9920
+ line?: {
9921
+ channelId: string;
9922
+ channelSecret: string;
9923
+ } | undefined;
9989
9924
  lineRichMenuId?: string | null | undefined;
9990
9925
  messengerIntegrationType?: "own" | "business" | undefined;
9991
9926
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -10303,7 +10238,7 @@ export declare const cxLogContract: {
10303
10238
  uploadId: string | null;
10304
10239
  serialNumber: string | null;
10305
10240
  callParticipants: {
10306
- callFrom?: {
10241
+ callTo?: {
10307
10242
  id: string;
10308
10243
  user: {
10309
10244
  name: string;
@@ -10329,7 +10264,7 @@ export declare const cxLogContract: {
10329
10264
  createdAt?: string | undefined;
10330
10265
  updatedAt?: string | undefined;
10331
10266
  } | null | undefined;
10332
- callTo?: {
10267
+ callFrom?: {
10333
10268
  id: string;
10334
10269
  user: {
10335
10270
  name: string;
@@ -10359,63 +10294,6 @@ export declare const cxLogContract: {
10359
10294
  isQueueMissedCall: boolean;
10360
10295
  telephonyQueueId: string | null;
10361
10296
  contactId: string | null;
10362
- extension?: {
10363
- id: string;
10364
- createdAt: Date;
10365
- updatedAt: Date;
10366
- deletedAt: Date | null;
10367
- userId: string | null;
10368
- sipServerUrl: string;
10369
- sipUserName: string;
10370
- webphoneLoginUser: string;
10371
- extensionId: string | null;
10372
- extensionName: string;
10373
- telephonySignature: string | null;
10374
- user?: {
10375
- name: string;
10376
- id: string;
10377
- address: string | null;
10378
- email: string;
10379
- createdAt: Date;
10380
- updatedAt: Date;
10381
- deletedAt: Date | null;
10382
- emailVerifiedAt: Date | null;
10383
- password: string;
10384
- phone: string | null;
10385
- notificationCount: number | null;
10386
- roles: {
10387
- id: string;
10388
- description: string | null;
10389
- createdAt: Date;
10390
- updatedAt: Date;
10391
- deletedAt: Date | null;
10392
- systemName: string;
10393
- displayName: string;
10394
- permissions: {
10395
- id: string;
10396
- description: string | null;
10397
- createdAt: Date;
10398
- updatedAt: Date;
10399
- deletedAt: Date | null;
10400
- systemName: string;
10401
- displayName: string;
10402
- }[];
10403
- }[];
10404
- extension: {
10405
- id: string;
10406
- createdAt: Date;
10407
- updatedAt: Date;
10408
- deletedAt: Date | null;
10409
- userId: string | null;
10410
- sipServerUrl: string;
10411
- sipUserName: string;
10412
- webphoneLoginUser: string;
10413
- extensionId: string | null;
10414
- extensionName: string;
10415
- telephonySignature: string | null;
10416
- };
10417
- } | null | undefined;
10418
- } | null | undefined;
10419
10297
  contact?: {
10420
10298
  name: string;
10421
10299
  id: string;
@@ -10550,6 +10428,63 @@ export declare const cxLogContract: {
10550
10428
  fileSize: number;
10551
10429
  fileUrl: string | null;
10552
10430
  } | null | undefined;
10431
+ extension?: {
10432
+ id: string;
10433
+ createdAt: Date;
10434
+ updatedAt: Date;
10435
+ deletedAt: Date | null;
10436
+ userId: string | null;
10437
+ sipServerUrl: string;
10438
+ sipUserName: string;
10439
+ webphoneLoginUser: string;
10440
+ extensionId: string | null;
10441
+ extensionName: string;
10442
+ telephonySignature: string | null;
10443
+ user?: {
10444
+ name: string;
10445
+ id: string;
10446
+ address: string | null;
10447
+ email: string;
10448
+ createdAt: Date;
10449
+ updatedAt: Date;
10450
+ deletedAt: Date | null;
10451
+ emailVerifiedAt: Date | null;
10452
+ password: string;
10453
+ phone: string | null;
10454
+ notificationCount: number | null;
10455
+ roles: {
10456
+ id: string;
10457
+ description: string | null;
10458
+ createdAt: Date;
10459
+ updatedAt: Date;
10460
+ deletedAt: Date | null;
10461
+ systemName: string;
10462
+ displayName: string;
10463
+ permissions: {
10464
+ id: string;
10465
+ description: string | null;
10466
+ createdAt: Date;
10467
+ updatedAt: Date;
10468
+ deletedAt: Date | null;
10469
+ systemName: string;
10470
+ displayName: string;
10471
+ }[];
10472
+ }[];
10473
+ extension: {
10474
+ id: string;
10475
+ createdAt: Date;
10476
+ updatedAt: Date;
10477
+ deletedAt: Date | null;
10478
+ userId: string | null;
10479
+ sipServerUrl: string;
10480
+ sipUserName: string;
10481
+ webphoneLoginUser: string;
10482
+ extensionId: string | null;
10483
+ extensionName: string;
10484
+ telephonySignature: string | null;
10485
+ };
10486
+ } | null | undefined;
10487
+ } | null | undefined;
10553
10488
  } | null;
10554
10489
  queue: {
10555
10490
  queueName?: string | null | undefined;
@@ -10715,12 +10650,7 @@ export declare const cxLogContract: {
10715
10650
  error?: any;
10716
10651
  }>;
10717
10652
  };
10718
- };
10719
- export: {
10720
- summary: "Export cx-logs";
10721
- method: "GET";
10722
- query: z.ZodAny;
10723
- path: "/ms/cx-logs/export";
10653
+ path: "/cxs/cx-logs";
10724
10654
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
10725
10655
  'x-tenant': z.ZodString;
10726
10656
  'x-service-token': z.ZodString;
@@ -10737,6 +10667,11 @@ export declare const cxLogContract: {
10737
10667
  'x-code'?: string | undefined;
10738
10668
  'x-client-timezone'?: string | undefined;
10739
10669
  }>>>;
10670
+ };
10671
+ export: {
10672
+ summary: "Export cx-logs";
10673
+ method: "GET";
10674
+ query: z.ZodAny;
10740
10675
  responses: {
10741
10676
  200: null;
10742
10677
  401: z.ZodObject<{
@@ -10750,12 +10685,7 @@ export declare const cxLogContract: {
10750
10685
  error?: any;
10751
10686
  }>;
10752
10687
  };
10753
- };
10754
- syncSla: {
10755
- body: null;
10756
- summary: "Export cx-logs";
10757
- method: "POST";
10758
- path: "/ms/cx-logs/sync-sla";
10688
+ path: "/ms/cx-logs/export";
10759
10689
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
10760
10690
  'x-tenant': z.ZodString;
10761
10691
  'x-service-token': z.ZodString;
@@ -10772,6 +10702,11 @@ export declare const cxLogContract: {
10772
10702
  'x-code'?: string | undefined;
10773
10703
  'x-client-timezone'?: string | undefined;
10774
10704
  }>>>;
10705
+ };
10706
+ syncSla: {
10707
+ body: null;
10708
+ summary: "Export cx-logs";
10709
+ method: "POST";
10775
10710
  responses: {
10776
10711
  200: null;
10777
10712
  401: z.ZodObject<{
@@ -10795,6 +10730,23 @@ export declare const cxLogContract: {
10795
10730
  error?: any;
10796
10731
  }>;
10797
10732
  };
10733
+ path: "/ms/cx-logs/sync-sla";
10734
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
10735
+ 'x-tenant': z.ZodString;
10736
+ 'x-service-token': z.ZodString;
10737
+ 'x-code': z.ZodOptional<z.ZodString>;
10738
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
10739
+ }, "strip", z.ZodTypeAny, {
10740
+ 'x-tenant': string;
10741
+ 'x-service-token': string;
10742
+ 'x-client-timezone': string;
10743
+ 'x-code'?: string | undefined;
10744
+ }, {
10745
+ 'x-tenant': string;
10746
+ 'x-service-token': string;
10747
+ 'x-code'?: string | undefined;
10748
+ 'x-client-timezone'?: string | undefined;
10749
+ }>>>;
10798
10750
  };
10799
10751
  updateSla: {
10800
10752
  body: z.ZodObject<{
@@ -10808,17 +10760,6 @@ export declare const cxLogContract: {
10808
10760
  slaStatus: "meet" | "unmeet" | "-";
10809
10761
  }>;
10810
10762
  method: "POST";
10811
- path: "/ms/cx-logs";
10812
- headers: z.ZodObject<{
10813
- 'x-tenant': z.ZodString;
10814
- 'x-code': z.ZodOptional<z.ZodString>;
10815
- }, "strip", z.ZodTypeAny, {
10816
- 'x-tenant': string;
10817
- 'x-code'?: string | undefined;
10818
- }, {
10819
- 'x-tenant': string;
10820
- 'x-code'?: string | undefined;
10821
- }>;
10822
10763
  responses: {
10823
10764
  200: null;
10824
10765
  403: z.ZodObject<{
@@ -10852,6 +10793,17 @@ export declare const cxLogContract: {
10852
10793
  error?: any;
10853
10794
  }>;
10854
10795
  };
10796
+ path: "/ms/cx-logs";
10797
+ headers: z.ZodObject<{
10798
+ 'x-tenant': z.ZodString;
10799
+ 'x-code': z.ZodOptional<z.ZodString>;
10800
+ }, "strip", z.ZodTypeAny, {
10801
+ 'x-tenant': string;
10802
+ 'x-code'?: string | undefined;
10803
+ }, {
10804
+ 'x-tenant': string;
10805
+ 'x-code'?: string | undefined;
10806
+ }>;
10855
10807
  };
10856
10808
  };
10857
10809
  //# sourceMappingURL=index.d.ts.map