@kl1/contracts 1.4.62 → 1.4.63

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 (264) hide show
  1. package/dist/api-contracts/src/activity-log/index.d.ts +21 -20
  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 +4 -3
  4. package/dist/api-contracts/src/activity-log/schema.d.ts.map +1 -1
  5. package/dist/api-contracts/src/attribute/index.d.ts +132 -116
  6. package/dist/api-contracts/src/attribute/index.d.ts.map +1 -1
  7. package/dist/api-contracts/src/attribute/schema.d.ts +5 -2
  8. package/dist/api-contracts/src/attribute/schema.d.ts.map +1 -1
  9. package/dist/api-contracts/src/attribute-option/schema.d.ts +1 -0
  10. package/dist/api-contracts/src/attribute-option/schema.d.ts.map +1 -1
  11. package/dist/api-contracts/src/auth/index.d.ts +22 -20
  12. package/dist/api-contracts/src/auth/index.d.ts.map +1 -1
  13. package/dist/api-contracts/src/automation-queue/index.d.ts +148 -126
  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 +9 -6
  16. package/dist/api-contracts/src/automation-queue/schema.d.ts.map +1 -1
  17. package/dist/api-contracts/src/aws/index.d.ts +4 -2
  18. package/dist/api-contracts/src/aws/index.d.ts.map +1 -1
  19. package/dist/api-contracts/src/botpress/index.d.ts +29 -22
  20. package/dist/api-contracts/src/botpress/index.d.ts.map +1 -1
  21. package/dist/api-contracts/src/botpress/validation.d.ts +20 -17
  22. package/dist/api-contracts/src/botpress/validation.d.ts.map +1 -1
  23. package/dist/api-contracts/src/business-calendar/index.d.ts +16 -4
  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 +5 -0
  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 +3 -2
  28. package/dist/api-contracts/src/call-log/schema.d.ts.map +1 -1
  29. package/dist/api-contracts/src/category/index.d.ts +100 -91
  30. package/dist/api-contracts/src/category/index.d.ts.map +1 -1
  31. package/dist/api-contracts/src/category/schema.d.ts +1 -0
  32. package/dist/api-contracts/src/category/schema.d.ts.map +1 -1
  33. package/dist/api-contracts/src/channel/index.d.ts +3915 -1965
  34. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  35. package/dist/api-contracts/src/channel/schema.d.ts +90 -82
  36. package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
  37. package/dist/api-contracts/src/channel/validation.d.ts +178 -104
  38. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  39. package/dist/api-contracts/src/chat/index.d.ts +13716 -12748
  40. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  41. package/dist/api-contracts/src/chat/schema.d.ts +3111 -2895
  42. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  43. package/dist/api-contracts/src/chat/validation.d.ts +3523 -3254
  44. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  45. package/dist/api-contracts/src/comment/index.d.ts +227 -155
  46. package/dist/api-contracts/src/comment/index.d.ts.map +1 -1
  47. package/dist/api-contracts/src/comment/schema.d.ts +52 -29
  48. package/dist/api-contracts/src/comment/schema.d.ts.map +1 -1
  49. package/dist/api-contracts/src/company/index.d.ts +162 -55
  50. package/dist/api-contracts/src/company/index.d.ts.map +1 -1
  51. package/dist/api-contracts/src/company/schema.d.ts +15 -6
  52. package/dist/api-contracts/src/company/schema.d.ts.map +1 -1
  53. package/dist/api-contracts/src/company/validation.d.ts +86 -30
  54. package/dist/api-contracts/src/company/validation.d.ts.map +1 -1
  55. package/dist/api-contracts/src/contact/index.d.ts +437 -318
  56. package/dist/api-contracts/src/contact/index.d.ts.map +1 -1
  57. package/dist/api-contracts/src/contact/schema.d.ts +28 -14
  58. package/dist/api-contracts/src/contact/schema.d.ts.map +1 -1
  59. package/dist/api-contracts/src/contact/validation.d.ts +137 -56
  60. package/dist/api-contracts/src/contact/validation.d.ts.map +1 -1
  61. package/dist/api-contracts/src/contact-email/schema.d.ts +1 -0
  62. package/dist/api-contracts/src/contact-email/schema.d.ts.map +1 -1
  63. package/dist/api-contracts/src/contact-phone/schema.d.ts +1 -0
  64. package/dist/api-contracts/src/contact-phone/schema.d.ts.map +1 -1
  65. package/dist/api-contracts/src/contract.d.ts +66841 -98172
  66. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  67. package/dist/api-contracts/src/custom-field/schema.d.ts +1 -0
  68. package/dist/api-contracts/src/custom-field/schema.d.ts.map +1 -1
  69. package/dist/api-contracts/src/custom-field/validation.d.ts +2 -2
  70. package/dist/api-contracts/src/custom-field-upload/schema.d.ts +1 -0
  71. package/dist/api-contracts/src/custom-field-upload/schema.d.ts.map +1 -1
  72. package/dist/api-contracts/src/cx-intelligence/index.d.ts +44 -41
  73. package/dist/api-contracts/src/cx-intelligence/index.d.ts.map +1 -1
  74. package/dist/api-contracts/src/cx-log/index.d.ts +686 -627
  75. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  76. package/dist/api-contracts/src/cx-log/schema.d.ts +464 -402
  77. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  78. package/dist/api-contracts/src/cx-log/validation.d.ts +40 -40
  79. package/dist/api-contracts/src/dashboard/index.d.ts +355 -312
  80. package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
  81. package/dist/api-contracts/src/dashboard/schema.d.ts +3 -2
  82. package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
  83. package/dist/api-contracts/src/dashboard/validation.d.ts +14 -10
  84. package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
  85. package/dist/api-contracts/src/evaluate-form/index.d.ts +2 -1
  86. package/dist/api-contracts/src/evaluate-form/index.d.ts.map +1 -1
  87. package/dist/api-contracts/src/evaluate-form/schema.d.ts +1 -0
  88. package/dist/api-contracts/src/evaluate-form/schema.d.ts.map +1 -1
  89. package/dist/api-contracts/src/export/index.d.ts +2 -1
  90. package/dist/api-contracts/src/export/index.d.ts.map +1 -1
  91. package/dist/api-contracts/src/extension/index.d.ts +106 -100
  92. package/dist/api-contracts/src/extension/index.d.ts.map +1 -1
  93. package/dist/api-contracts/src/facebook-feed/index.d.ts +3335 -3151
  94. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  95. package/dist/api-contracts/src/facebook-feed/schema.d.ts +100 -81
  96. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  97. package/dist/api-contracts/src/facebook-feed/validation.d.ts +99 -83
  98. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  99. package/dist/api-contracts/src/general-setting/index.d.ts +2 -2
  100. package/dist/api-contracts/src/group/schema.d.ts +1 -0
  101. package/dist/api-contracts/src/group/schema.d.ts.map +1 -1
  102. package/dist/api-contracts/src/hold-label/index.d.ts +49 -30
  103. package/dist/api-contracts/src/hold-label/index.d.ts.map +1 -1
  104. package/dist/api-contracts/src/hold-label/schema.d.ts +10 -4
  105. package/dist/api-contracts/src/hold-label/schema.d.ts.map +1 -1
  106. package/dist/api-contracts/src/hold-label/validation.d.ts +2 -2
  107. package/dist/api-contracts/src/index.d.ts +1 -0
  108. package/dist/api-contracts/src/index.d.ts.map +1 -1
  109. package/dist/api-contracts/src/instagram/index.d.ts +2116 -1968
  110. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  111. package/dist/api-contracts/src/instagram/validation.d.ts +6 -6
  112. package/dist/api-contracts/src/invoice/index.d.ts +3 -1
  113. package/dist/api-contracts/src/invoice/index.d.ts.map +1 -1
  114. package/dist/api-contracts/src/invoice/schema.d.ts +1 -0
  115. package/dist/api-contracts/src/invoice/schema.d.ts.map +1 -1
  116. package/dist/api-contracts/src/klink-chat/index.d.ts +5930 -3695
  117. package/dist/api-contracts/src/klink-chat/index.d.ts.map +1 -1
  118. package/dist/api-contracts/src/klink-chat/schema.d.ts +8 -8
  119. package/dist/api-contracts/src/klink-chat/validation.d.ts +3 -3
  120. package/dist/api-contracts/src/line/index.d.ts +2077 -1937
  121. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  122. package/dist/api-contracts/src/line/schema.d.ts +10 -9
  123. package/dist/api-contracts/src/line/schema.d.ts.map +1 -1
  124. package/dist/api-contracts/src/line/validation.d.ts +157 -148
  125. package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
  126. package/dist/api-contracts/src/log-form/schema.d.ts +1 -0
  127. package/dist/api-contracts/src/log-form/schema.d.ts.map +1 -1
  128. package/dist/api-contracts/src/mail/account-contract.d.ts +223 -174
  129. package/dist/api-contracts/src/mail/account-contract.d.ts.map +1 -1
  130. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts +2 -1
  131. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts.map +1 -1
  132. package/dist/api-contracts/src/mail/mail-contract.d.ts +423 -303
  133. package/dist/api-contracts/src/mail/mail-contract.d.ts.map +1 -1
  134. package/dist/api-contracts/src/mail/mail-server-contract.d.ts +12 -6
  135. package/dist/api-contracts/src/mail/mail-server-contract.d.ts.map +1 -1
  136. package/dist/api-contracts/src/mail/message-contract.d.ts +86 -80
  137. package/dist/api-contracts/src/mail/message-contract.d.ts.map +1 -1
  138. package/dist/api-contracts/src/mail/room-contract.d.ts +102 -43
  139. package/dist/api-contracts/src/mail/room-contract.d.ts.map +1 -1
  140. package/dist/api-contracts/src/mail/schemas/account-validation.schema.d.ts +27 -0
  141. package/dist/api-contracts/src/mail/schemas/account-validation.schema.d.ts.map +1 -1
  142. package/dist/api-contracts/src/mail/schemas/account.schema.d.ts +3 -0
  143. package/dist/api-contracts/src/mail/schemas/account.schema.d.ts.map +1 -1
  144. package/dist/api-contracts/src/mail/schemas/message-validation.schema.d.ts +16 -16
  145. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +31 -18
  146. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
  147. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +18 -6
  148. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts.map +1 -1
  149. package/dist/api-contracts/src/messenger/index.d.ts +2109 -1960
  150. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  151. package/dist/api-contracts/src/messenger/validation.d.ts +99 -83
  152. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  153. package/dist/api-contracts/src/notification/index.d.ts +20 -13
  154. package/dist/api-contracts/src/notification/index.d.ts.map +1 -1
  155. package/dist/api-contracts/src/notification/schema.d.ts +12 -9
  156. package/dist/api-contracts/src/notification/schema.d.ts.map +1 -1
  157. package/dist/api-contracts/src/notification/validation.d.ts +4 -3
  158. package/dist/api-contracts/src/notification/validation.d.ts.map +1 -1
  159. package/dist/api-contracts/src/permission/index.d.ts +17 -17
  160. package/dist/api-contracts/src/presence-status/index.d.ts +87 -83
  161. package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
  162. package/dist/api-contracts/src/presence-status/schema.d.ts +4 -3
  163. package/dist/api-contracts/src/presence-status/schema.d.ts.map +1 -1
  164. package/dist/api-contracts/src/public-api/index.d.ts +4516 -104
  165. package/dist/api-contracts/src/public-api/index.d.ts.map +1 -1
  166. package/dist/api-contracts/src/public-api/schema.d.ts +20 -6
  167. package/dist/api-contracts/src/public-api/schema.d.ts.map +1 -1
  168. package/dist/api-contracts/src/public-api/validation.d.ts +63 -38
  169. package/dist/api-contracts/src/public-api/validation.d.ts.map +1 -1
  170. package/dist/api-contracts/src/role/index.d.ts +80 -75
  171. package/dist/api-contracts/src/role/index.d.ts.map +1 -1
  172. package/dist/api-contracts/src/sms/index.d.ts +588 -542
  173. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  174. package/dist/api-contracts/src/snippet/index.d.ts +32 -10
  175. package/dist/api-contracts/src/snippet/index.d.ts.map +1 -1
  176. package/dist/api-contracts/src/snippet/schema.d.ts +7 -0
  177. package/dist/api-contracts/src/snippet/schema.d.ts.map +1 -1
  178. package/dist/api-contracts/src/snippet/validation.d.ts +3 -2
  179. package/dist/api-contracts/src/snippet/validation.d.ts.map +1 -1
  180. package/dist/api-contracts/src/subscription/index.d.ts +474 -6
  181. package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
  182. package/dist/api-contracts/src/subscription/schema.d.ts +31 -0
  183. package/dist/api-contracts/src/subscription/schema.d.ts.map +1 -1
  184. package/dist/api-contracts/src/tag/index.d.ts +65 -58
  185. package/dist/api-contracts/src/tag/index.d.ts.map +1 -1
  186. package/dist/api-contracts/src/tag/schema.d.ts +1 -0
  187. package/dist/api-contracts/src/tag/schema.d.ts.map +1 -1
  188. package/dist/api-contracts/src/tag-group/schema.d.ts +1 -0
  189. package/dist/api-contracts/src/tag-group/schema.d.ts.map +1 -1
  190. package/dist/api-contracts/src/telegram/index.d.ts +2505 -2381
  191. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  192. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +38 -463
  193. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  194. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +5 -6
  195. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  196. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts +0 -3
  197. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts.map +1 -1
  198. package/dist/api-contracts/src/telephony-cdr/call-report.schema.d.ts +38 -38
  199. package/dist/api-contracts/src/telephony-cdr/index.d.ts +756 -702
  200. package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
  201. package/dist/api-contracts/src/telephony-cdr/schema.d.ts +170 -144
  202. package/dist/api-contracts/src/telephony-cdr/schema.d.ts.map +1 -1
  203. package/dist/api-contracts/src/telephony-cdr/validation.d.ts +43 -39
  204. package/dist/api-contracts/src/telephony-cdr/validation.d.ts.map +1 -1
  205. package/dist/api-contracts/src/telephony-extension/index.d.ts +21 -21
  206. package/dist/api-contracts/src/telephony-extension/schema.d.ts +4 -4
  207. package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts +1 -0
  208. package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts.map +1 -1
  209. package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts +1 -0
  210. package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts.map +1 -1
  211. package/dist/api-contracts/src/tenant/schema.d.ts +1 -0
  212. package/dist/api-contracts/src/tenant/schema.d.ts.map +1 -1
  213. package/dist/api-contracts/src/ticket/index.d.ts +564 -452
  214. package/dist/api-contracts/src/ticket/index.d.ts.map +1 -1
  215. package/dist/api-contracts/src/ticket/schema.d.ts +47 -21
  216. package/dist/api-contracts/src/ticket/schema.d.ts.map +1 -1
  217. package/dist/api-contracts/src/ticket/validation.d.ts +53 -51
  218. package/dist/api-contracts/src/ticket/validation.d.ts.map +1 -1
  219. package/dist/api-contracts/src/upload/index.d.ts +32 -30
  220. package/dist/api-contracts/src/upload/index.d.ts.map +1 -1
  221. package/dist/api-contracts/src/upload/schema.d.ts +1 -0
  222. package/dist/api-contracts/src/upload/schema.d.ts.map +1 -1
  223. package/dist/api-contracts/src/user/index.d.ts +137 -126
  224. package/dist/api-contracts/src/user/index.d.ts.map +1 -1
  225. package/dist/api-contracts/src/user/schema.d.ts +4 -3
  226. package/dist/api-contracts/src/user/schema.d.ts.map +1 -1
  227. package/dist/api-contracts/src/user/validation.d.ts +3 -2
  228. package/dist/api-contracts/src/user/validation.d.ts.map +1 -1
  229. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +34 -32
  230. package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
  231. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +5 -3
  232. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
  233. package/dist/api-contracts/src/viber/index.d.ts +2494 -2370
  234. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  235. package/dist/api-contracts/src/webchat/index.d.ts +1754 -1630
  236. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  237. package/dist/api-contracts/src/whatsapp/index.d.ts +1848 -1705
  238. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  239. package/dist/api-contracts/src/whatsapp/validation.d.ts +15 -4
  240. package/dist/api-contracts/src/whatsapp/validation.d.ts.map +1 -1
  241. package/dist/api-contracts/src/widget/index.d.ts +145 -132
  242. package/dist/api-contracts/src/widget/index.d.ts.map +1 -1
  243. package/dist/api-contracts/src/widget/schema.d.ts +1 -0
  244. package/dist/api-contracts/src/widget/schema.d.ts.map +1 -1
  245. package/dist/api-contracts/src/widget/validation.d.ts +16 -16
  246. package/dist/api-contracts/src/workflow-rule/index.d.ts +2062 -1907
  247. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  248. package/dist/api-contracts/src/workflow-rule/schema.d.ts +1 -0
  249. package/dist/api-contracts/src/workflow-rule/schema.d.ts.map +1 -1
  250. package/dist/api-contracts/src/wrap-up-form/index.d.ts +128 -109
  251. package/dist/api-contracts/src/wrap-up-form/index.d.ts.map +1 -1
  252. package/dist/api-contracts/src/wrap-up-form/schema.d.ts +3 -0
  253. package/dist/api-contracts/src/wrap-up-form/schema.d.ts.map +1 -1
  254. package/dist/api-contracts/src/wrap-up-form/validation.d.ts +19 -18
  255. package/dist/api-contracts/src/wrap-up-form/validation.d.ts.map +1 -1
  256. package/dist/api-contracts/utils.d.ts +2 -1
  257. package/dist/api-contracts/utils.d.ts.map +1 -1
  258. package/dist/entities/src/enums/chat.d.ts +2 -0
  259. package/dist/entities/src/enums/chat.d.ts.map +1 -1
  260. package/dist/index.js +1295 -1076
  261. package/dist/index.js.map +1 -1
  262. package/dist/index.mjs +1294 -1076
  263. package/dist/index.mjs.map +1 -1
  264. 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[]) & (string | string[] | undefined);
38
+ value: string | string[];
39
39
  attributeId: string;
40
40
  type?: string | undefined;
41
41
  }, {
42
- value: (string | string[]) & (string | string[] | undefined);
42
+ value: string | string[];
43
43
  attributeId: string;
44
44
  type?: string | undefined;
45
45
  }>, "many">>;
@@ -48,90 +48,108 @@ 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[]) & (string | string[] | undefined);
51
+ value: string | string[];
52
52
  attributeId: string;
53
53
  type?: string | undefined;
54
54
  }, {
55
- value: (string | string[]) & (string | string[] | undefined);
55
+ value: string | string[];
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;
62
67
  page?: number | undefined;
68
+ email?: string | undefined;
63
69
  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;
64
77
  contactId?: string | undefined;
78
+ trunks?: string[] | undefined;
65
79
  caseId?: string | undefined;
80
+ uid?: string | undefined;
81
+ selectedDate?: string | undefined;
66
82
  channelIds?: string[] | undefined;
67
- trunks?: string[] | undefined;
68
- queueId?: string[] | undefined;
69
83
  agentIds?: string[] | undefined;
70
- direction?: ("inbound" | "outbound")[] | undefined;
71
- disposition?: string[] | undefined;
72
- sentimentScore?: ("negative" | "positive" | "neutral")[] | undefined;
73
- csatScore?: string[] | undefined;
74
84
  sla?: "meet" | "unmeet" | undefined;
75
- tags?: string[] | undefined;
76
- name?: string | undefined;
77
85
  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;
84
86
  contactCustomFields?: {
85
- value: (string | string[]) & (string | string[] | undefined);
87
+ value: string | string[];
86
88
  attributeId: string;
87
89
  type?: string | undefined;
88
90
  }[] | undefined;
89
91
  wrapUpFormCustomFields?: {
90
- value: (string | string[]) & (string | string[] | undefined);
92
+ value: string | string[];
91
93
  attributeId: string;
92
94
  type?: string | undefined;
93
95
  }[] | 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;
97
102
  page?: number | undefined;
103
+ email?: string | undefined;
98
104
  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;
99
112
  contactId?: string | undefined;
113
+ trunks?: string[] | undefined;
100
114
  caseId?: string | undefined;
115
+ uid?: string | undefined;
116
+ selectedDate?: string | undefined;
101
117
  channelIds?: string[] | undefined;
102
- trunks?: string[] | undefined;
103
- queueId?: string[] | undefined;
104
118
  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;
109
119
  sla?: "meet" | "unmeet" | undefined;
110
- tags?: string[] | undefined;
111
- name?: string | undefined;
112
120
  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;
119
121
  contactCustomFields?: {
120
- value: (string | string[]) & (string | string[] | undefined);
122
+ value: string | string[];
121
123
  attributeId: string;
122
124
  type?: string | undefined;
123
125
  }[] | undefined;
124
126
  wrapUpFormCustomFields?: {
125
- value: (string | string[]) & (string | string[] | undefined);
127
+ value: string | string[];
126
128
  attributeId: string;
127
129
  type?: string | undefined;
128
130
  }[] | 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
+ }>>>;
132
149
  responses: {
133
150
  200: z.ZodObject<{
134
151
  requestId: z.ZodString;
152
+ } & {
135
153
  total: z.ZodNumber;
136
154
  page: z.ZodNumber;
137
155
  pageSize: z.ZodNumber;
@@ -140,6 +158,7 @@ export declare const cxLogContract: {
140
158
  createdAt: z.ZodDate;
141
159
  updatedAt: z.ZodDate;
142
160
  deletedAt: z.ZodNullable<z.ZodDate>;
161
+ } & {
143
162
  caseId: z.ZodNumber;
144
163
  entityId: z.ZodString;
145
164
  entityName: z.ZodString;
@@ -163,6 +182,7 @@ export declare const cxLogContract: {
163
182
  createdAt: z.ZodDate;
164
183
  updatedAt: z.ZodDate;
165
184
  deletedAt: z.ZodNullable<z.ZodDate>;
185
+ } & {
166
186
  cxLogId: z.ZodString;
167
187
  sentimentScore: z.ZodOptional<z.ZodNullable<z.ZodString>>;
168
188
  csatScore: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -188,6 +208,7 @@ export declare const cxLogContract: {
188
208
  createdAt: z.ZodDate;
189
209
  updatedAt: z.ZodDate;
190
210
  deletedAt: z.ZodNullable<z.ZodDate>;
211
+ } & {
191
212
  note: z.ZodNullable<z.ZodString>;
192
213
  disposition: z.ZodNullable<z.ZodString>;
193
214
  type: z.ZodString;
@@ -196,6 +217,7 @@ export declare const cxLogContract: {
196
217
  createdAt: z.ZodDate;
197
218
  updatedAt: z.ZodDate;
198
219
  deletedAt: z.ZodNullable<z.ZodDate>;
220
+ } & {
199
221
  name: z.ZodString;
200
222
  }, "strip", z.ZodTypeAny, {
201
223
  name: string;
@@ -215,6 +237,7 @@ export declare const cxLogContract: {
215
237
  createdAt: z.ZodDate;
216
238
  updatedAt: z.ZodDate;
217
239
  deletedAt: z.ZodNullable<z.ZodDate>;
240
+ } & {
218
241
  value: z.ZodString;
219
242
  level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
220
243
  parentId: z.ZodNullable<z.ZodString>;
@@ -502,6 +525,7 @@ export declare const cxLogContract: {
502
525
  createdAt: z.ZodDate;
503
526
  updatedAt: z.ZodDate;
504
527
  deletedAt: z.ZodNullable<z.ZodDate>;
528
+ } & {
505
529
  name: z.ZodString;
506
530
  }, "strip", z.ZodTypeAny, {
507
531
  name: string;
@@ -521,6 +545,7 @@ export declare const cxLogContract: {
521
545
  createdAt: z.ZodDate;
522
546
  updatedAt: z.ZodDate;
523
547
  deletedAt: z.ZodNullable<z.ZodDate>;
548
+ } & {
524
549
  name: z.ZodOptional<z.ZodString>;
525
550
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
526
551
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -530,6 +555,7 @@ export declare const cxLogContract: {
530
555
  createdAt: z.ZodDate;
531
556
  updatedAt: z.ZodDate;
532
557
  deletedAt: z.ZodNullable<z.ZodDate>;
558
+ } & {
533
559
  textValue: z.ZodNullable<z.ZodString>;
534
560
  booleanValue: z.ZodNullable<z.ZodBoolean>;
535
561
  numberValue: z.ZodNullable<z.ZodNumber>;
@@ -539,6 +565,7 @@ export declare const cxLogContract: {
539
565
  createdAt: z.ZodDate;
540
566
  updatedAt: z.ZodDate;
541
567
  deletedAt: z.ZodNullable<z.ZodDate>;
568
+ } & {
542
569
  systemName: z.ZodString;
543
570
  displayName: z.ZodString;
544
571
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -548,10 +575,11 @@ export declare const cxLogContract: {
548
575
  isRequired: z.ZodBoolean;
549
576
  isUnique: z.ZodBoolean;
550
577
  options: z.ZodArray<z.ZodObject<{
551
- position: z.ZodNumber;
552
- value: z.ZodString;
553
578
  label: z.ZodString;
579
+ value: z.ZodString;
554
580
  isDefault: z.ZodBoolean;
581
+ position: z.ZodNumber;
582
+ } & {
555
583
  id: z.ZodString;
556
584
  }, "strip", z.ZodTypeAny, {
557
585
  id: string;
@@ -571,6 +599,7 @@ export declare const cxLogContract: {
571
599
  createdAt: z.ZodDate;
572
600
  updatedAt: z.ZodDate;
573
601
  deletedAt: z.ZodNullable<z.ZodDate>;
602
+ } & {
574
603
  systemName: z.ZodString;
575
604
  displayName: z.ZodString;
576
605
  }, "strip", z.ZodTypeAny, {
@@ -748,6 +777,7 @@ export declare const cxLogContract: {
748
777
  createdAt: z.ZodDate;
749
778
  updatedAt: z.ZodDate;
750
779
  deletedAt: z.ZodNullable<z.ZodDate>;
780
+ } & {
751
781
  systemName: z.ZodString;
752
782
  displayName: z.ZodString;
753
783
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -757,10 +787,11 @@ export declare const cxLogContract: {
757
787
  isRequired: z.ZodBoolean;
758
788
  isUnique: z.ZodBoolean;
759
789
  options: z.ZodArray<z.ZodObject<{
760
- position: z.ZodNumber;
761
- value: z.ZodString;
762
790
  label: z.ZodString;
791
+ value: z.ZodString;
763
792
  isDefault: z.ZodBoolean;
793
+ position: z.ZodNumber;
794
+ } & {
764
795
  id: z.ZodString;
765
796
  }, "strip", z.ZodTypeAny, {
766
797
  id: string;
@@ -780,6 +811,7 @@ export declare const cxLogContract: {
780
811
  createdAt: z.ZodDate;
781
812
  updatedAt: z.ZodDate;
782
813
  deletedAt: z.ZodNullable<z.ZodDate>;
814
+ } & {
783
815
  systemName: z.ZodString;
784
816
  displayName: z.ZodString;
785
817
  }, "strip", z.ZodTypeAny, {
@@ -829,6 +861,7 @@ export declare const cxLogContract: {
829
861
  createdAt: z.ZodDate;
830
862
  updatedAt: z.ZodDate;
831
863
  deletedAt: z.ZodNullable<z.ZodDate>;
864
+ } & {
832
865
  bucketName: z.ZodString;
833
866
  fileName: z.ZodString;
834
867
  fileSize: z.ZodNumber;
@@ -1510,17 +1543,18 @@ export declare const cxLogContract: {
1510
1543
  socialPlatformId: string;
1511
1544
  }>;
1512
1545
  actor: z.ZodObject<{
1513
- name: z.ZodString;
1514
1546
  id: z.ZodString;
1515
- address: z.ZodNullable<z.ZodString>;
1516
- email: z.ZodString;
1517
1547
  createdAt: z.ZodDate;
1518
1548
  updatedAt: z.ZodDate;
1519
1549
  deletedAt: z.ZodNullable<z.ZodDate>;
1550
+ name: z.ZodString;
1551
+ email: z.ZodString;
1520
1552
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
1521
1553
  password: z.ZodString;
1554
+ address: z.ZodNullable<z.ZodString>;
1522
1555
  phone: z.ZodNullable<z.ZodString>;
1523
1556
  notificationCount: z.ZodNullable<z.ZodNumber>;
1557
+ } & {
1524
1558
  roles: z.ZodArray<z.ZodObject<{
1525
1559
  id: z.ZodString;
1526
1560
  createdAt: z.ZodDate;
@@ -1714,17 +1748,18 @@ export declare const cxLogContract: {
1714
1748
  };
1715
1749
  }>;
1716
1750
  assignee: z.ZodNullable<z.ZodObject<{
1717
- name: z.ZodString;
1718
1751
  id: z.ZodString;
1719
- address: z.ZodNullable<z.ZodString>;
1720
- email: z.ZodString;
1721
1752
  createdAt: z.ZodDate;
1722
1753
  updatedAt: z.ZodDate;
1723
1754
  deletedAt: z.ZodNullable<z.ZodDate>;
1755
+ name: z.ZodString;
1756
+ email: z.ZodString;
1724
1757
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
1725
1758
  password: z.ZodString;
1759
+ address: z.ZodNullable<z.ZodString>;
1726
1760
  phone: z.ZodNullable<z.ZodString>;
1727
1761
  notificationCount: z.ZodNullable<z.ZodNumber>;
1762
+ } & {
1728
1763
  roles: z.ZodArray<z.ZodObject<{
1729
1764
  id: z.ZodString;
1730
1765
  createdAt: z.ZodDate;
@@ -1945,28 +1980,28 @@ export declare const cxLogContract: {
1945
1980
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
1946
1981
  integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
1947
1982
  }, "strip", z.ZodTypeAny, {
1983
+ email?: string | null | undefined;
1984
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1985
+ channelId?: string | null | undefined;
1948
1986
  wabaBusinessId?: string | null | undefined;
1949
1987
  wabaExternalId?: string | null | undefined;
1950
1988
  phoneNumberId?: string | null | undefined;
1951
- email?: string | null | undefined;
1952
1989
  clientId?: string | null | undefined;
1953
- channelId?: string | null | undefined;
1954
1990
  waapiInstanceId?: string | null | undefined;
1955
1991
  qr?: string | null | undefined;
1956
- status?: "active" | "pending" | "waapi-qr" | undefined;
1957
1992
  apiKey?: string | undefined;
1958
1993
  tier?: "basic" | "regular" | "premium" | undefined;
1959
1994
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1960
1995
  }, {
1996
+ email?: string | null | undefined;
1997
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1998
+ channelId?: string | null | undefined;
1961
1999
  wabaBusinessId?: string | null | undefined;
1962
2000
  wabaExternalId?: string | null | undefined;
1963
2001
  phoneNumberId?: string | null | undefined;
1964
- email?: string | null | undefined;
1965
2002
  clientId?: string | null | undefined;
1966
- channelId?: string | null | undefined;
1967
2003
  waapiInstanceId?: string | null | undefined;
1968
2004
  qr?: string | null | undefined;
1969
- status?: "active" | "pending" | "waapi-qr" | undefined;
1970
2005
  apiKey?: string | undefined;
1971
2006
  tier?: "basic" | "regular" | "premium" | undefined;
1972
2007
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
@@ -1998,74 +2033,77 @@ export declare const cxLogContract: {
1998
2033
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
1999
2034
  facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
2000
2035
  isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
2036
+ config: z.ZodOptional<z.ZodAny>;
2001
2037
  }, "strip", z.ZodTypeAny, {
2002
2038
  name: string;
2003
2039
  id: string;
2004
- accessToken?: string | undefined;
2005
- channelSecret?: string | undefined;
2006
- additionalCredentials?: any;
2007
- senderId?: string | undefined;
2040
+ line?: {
2041
+ channelId: string;
2042
+ channelSecret: string;
2043
+ } | undefined;
2008
2044
  whatsapp?: {
2045
+ email?: string | null | undefined;
2046
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2047
+ channelId?: string | null | undefined;
2009
2048
  wabaBusinessId?: string | null | undefined;
2010
2049
  wabaExternalId?: string | null | undefined;
2011
2050
  phoneNumberId?: string | null | undefined;
2012
- email?: string | null | undefined;
2013
2051
  clientId?: string | null | undefined;
2014
- channelId?: string | null | undefined;
2015
2052
  waapiInstanceId?: string | null | undefined;
2016
2053
  qr?: string | null | undefined;
2017
- status?: "active" | "pending" | "waapi-qr" | undefined;
2018
2054
  apiKey?: string | undefined;
2019
2055
  tier?: "basic" | "regular" | "premium" | undefined;
2020
2056
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2021
2057
  } | undefined;
2058
+ additionalCredentials?: any;
2059
+ accessToken?: string | undefined;
2060
+ channelSecret?: string | undefined;
2061
+ senderId?: string | undefined;
2022
2062
  vonageCredentials?: {
2023
2063
  apiKey: string;
2024
2064
  mobileNumber: string;
2025
2065
  apiSecret: string;
2026
2066
  } | undefined;
2027
- line?: {
2028
- channelId: string;
2029
- channelSecret: string;
2030
- } | undefined;
2031
2067
  lineRichMenuId?: string | null | undefined;
2032
2068
  messengerIntegrationType?: "own" | "business" | undefined;
2033
2069
  facebookFeedIntegrationType?: "own" | "business" | undefined;
2034
2070
  isCSATEnabled?: boolean | undefined;
2071
+ config?: any;
2035
2072
  }, {
2036
2073
  name: string;
2037
2074
  id: string;
2038
- accessToken?: string | undefined;
2039
- channelSecret?: string | undefined;
2040
- additionalCredentials?: any;
2041
- senderId?: string | undefined;
2075
+ line?: {
2076
+ channelId: string;
2077
+ channelSecret: string;
2078
+ } | undefined;
2042
2079
  whatsapp?: {
2080
+ email?: string | null | undefined;
2081
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2082
+ channelId?: string | null | undefined;
2043
2083
  wabaBusinessId?: string | null | undefined;
2044
2084
  wabaExternalId?: string | null | undefined;
2045
2085
  phoneNumberId?: string | null | undefined;
2046
- email?: string | null | undefined;
2047
2086
  clientId?: string | null | undefined;
2048
- channelId?: string | null | undefined;
2049
2087
  waapiInstanceId?: string | null | undefined;
2050
2088
  qr?: string | null | undefined;
2051
- status?: "active" | "pending" | "waapi-qr" | undefined;
2052
2089
  apiKey?: string | undefined;
2053
2090
  tier?: "basic" | "regular" | "premium" | undefined;
2054
2091
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2055
2092
  } | undefined;
2093
+ additionalCredentials?: any;
2094
+ accessToken?: string | undefined;
2095
+ channelSecret?: string | undefined;
2096
+ senderId?: string | undefined;
2056
2097
  vonageCredentials?: {
2057
2098
  apiKey: string;
2058
2099
  mobileNumber: string;
2059
2100
  apiSecret: string;
2060
2101
  } | undefined;
2061
- line?: {
2062
- channelId: string;
2063
- channelSecret: string;
2064
- } | undefined;
2065
2102
  lineRichMenuId?: string | null | undefined;
2066
2103
  messengerIntegrationType?: "own" | "business" | undefined;
2067
2104
  facebookFeedIntegrationType?: "own" | "business" | undefined;
2068
2105
  isCSATEnabled?: boolean | undefined;
2106
+ config?: any;
2069
2107
  }>;
2070
2108
  brandName: z.ZodString;
2071
2109
  platformId: z.ZodString;
@@ -2303,37 +2341,38 @@ export declare const cxLogContract: {
2303
2341
  metadata: {
2304
2342
  name: string;
2305
2343
  id: string;
2306
- accessToken?: string | undefined;
2307
- channelSecret?: string | undefined;
2308
- additionalCredentials?: any;
2309
- senderId?: string | undefined;
2344
+ line?: {
2345
+ channelId: string;
2346
+ channelSecret: string;
2347
+ } | undefined;
2310
2348
  whatsapp?: {
2349
+ email?: string | null | undefined;
2350
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2351
+ channelId?: string | null | undefined;
2311
2352
  wabaBusinessId?: string | null | undefined;
2312
2353
  wabaExternalId?: string | null | undefined;
2313
2354
  phoneNumberId?: string | null | undefined;
2314
- email?: string | null | undefined;
2315
2355
  clientId?: string | null | undefined;
2316
- channelId?: string | null | undefined;
2317
2356
  waapiInstanceId?: string | null | undefined;
2318
2357
  qr?: string | null | undefined;
2319
- status?: "active" | "pending" | "waapi-qr" | undefined;
2320
2358
  apiKey?: string | undefined;
2321
2359
  tier?: "basic" | "regular" | "premium" | undefined;
2322
2360
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2323
2361
  } | undefined;
2362
+ additionalCredentials?: any;
2363
+ accessToken?: string | undefined;
2364
+ channelSecret?: string | undefined;
2365
+ senderId?: string | undefined;
2324
2366
  vonageCredentials?: {
2325
2367
  apiKey: string;
2326
2368
  mobileNumber: string;
2327
2369
  apiSecret: string;
2328
2370
  } | undefined;
2329
- line?: {
2330
- channelId: string;
2331
- channelSecret: string;
2332
- } | undefined;
2333
2371
  lineRichMenuId?: string | null | undefined;
2334
2372
  messengerIntegrationType?: "own" | "business" | undefined;
2335
2373
  facebookFeedIntegrationType?: "own" | "business" | undefined;
2336
2374
  isCSATEnabled?: boolean | undefined;
2375
+ config?: any;
2337
2376
  };
2338
2377
  status: boolean;
2339
2378
  createdAt: Date;
@@ -2402,37 +2441,38 @@ export declare const cxLogContract: {
2402
2441
  metadata: {
2403
2442
  name: string;
2404
2443
  id: string;
2405
- accessToken?: string | undefined;
2406
- channelSecret?: string | undefined;
2407
- additionalCredentials?: any;
2408
- senderId?: string | undefined;
2444
+ line?: {
2445
+ channelId: string;
2446
+ channelSecret: string;
2447
+ } | undefined;
2409
2448
  whatsapp?: {
2449
+ email?: string | null | undefined;
2450
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2451
+ channelId?: string | null | undefined;
2410
2452
  wabaBusinessId?: string | null | undefined;
2411
2453
  wabaExternalId?: string | null | undefined;
2412
2454
  phoneNumberId?: string | null | undefined;
2413
- email?: string | null | undefined;
2414
2455
  clientId?: string | null | undefined;
2415
- channelId?: string | null | undefined;
2416
2456
  waapiInstanceId?: string | null | undefined;
2417
2457
  qr?: string | null | undefined;
2418
- status?: "active" | "pending" | "waapi-qr" | undefined;
2419
2458
  apiKey?: string | undefined;
2420
2459
  tier?: "basic" | "regular" | "premium" | undefined;
2421
2460
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2422
2461
  } | undefined;
2462
+ additionalCredentials?: any;
2463
+ accessToken?: string | undefined;
2464
+ channelSecret?: string | undefined;
2465
+ senderId?: string | undefined;
2423
2466
  vonageCredentials?: {
2424
2467
  apiKey: string;
2425
2468
  mobileNumber: string;
2426
2469
  apiSecret: string;
2427
2470
  } | undefined;
2428
- line?: {
2429
- channelId: string;
2430
- channelSecret: string;
2431
- } | undefined;
2432
2471
  lineRichMenuId?: string | null | undefined;
2433
2472
  messengerIntegrationType?: "own" | "business" | undefined;
2434
2473
  facebookFeedIntegrationType?: "own" | "business" | undefined;
2435
2474
  isCSATEnabled?: boolean | undefined;
2475
+ config?: any;
2436
2476
  };
2437
2477
  status: boolean;
2438
2478
  createdAt: Date;
@@ -2504,37 +2544,38 @@ export declare const cxLogContract: {
2504
2544
  metadata: {
2505
2545
  name: string;
2506
2546
  id: string;
2507
- accessToken?: string | undefined;
2508
- channelSecret?: string | undefined;
2509
- additionalCredentials?: any;
2510
- senderId?: string | undefined;
2547
+ line?: {
2548
+ channelId: string;
2549
+ channelSecret: string;
2550
+ } | undefined;
2511
2551
  whatsapp?: {
2552
+ email?: string | null | undefined;
2553
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2554
+ channelId?: string | null | undefined;
2512
2555
  wabaBusinessId?: string | null | undefined;
2513
2556
  wabaExternalId?: string | null | undefined;
2514
2557
  phoneNumberId?: string | null | undefined;
2515
- email?: string | null | undefined;
2516
2558
  clientId?: string | null | undefined;
2517
- channelId?: string | null | undefined;
2518
2559
  waapiInstanceId?: string | null | undefined;
2519
2560
  qr?: string | null | undefined;
2520
- status?: "active" | "pending" | "waapi-qr" | undefined;
2521
2561
  apiKey?: string | undefined;
2522
2562
  tier?: "basic" | "regular" | "premium" | undefined;
2523
2563
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2524
2564
  } | undefined;
2565
+ additionalCredentials?: any;
2566
+ accessToken?: string | undefined;
2567
+ channelSecret?: string | undefined;
2568
+ senderId?: string | undefined;
2525
2569
  vonageCredentials?: {
2526
2570
  apiKey: string;
2527
2571
  mobileNumber: string;
2528
2572
  apiSecret: string;
2529
2573
  } | undefined;
2530
- line?: {
2531
- channelId: string;
2532
- channelSecret: string;
2533
- } | undefined;
2534
2574
  lineRichMenuId?: string | null | undefined;
2535
2575
  messengerIntegrationType?: "own" | "business" | undefined;
2536
2576
  facebookFeedIntegrationType?: "own" | "business" | undefined;
2537
2577
  isCSATEnabled?: boolean | undefined;
2578
+ config?: any;
2538
2579
  };
2539
2580
  status: boolean;
2540
2581
  createdAt: Date;
@@ -2832,37 +2873,38 @@ export declare const cxLogContract: {
2832
2873
  metadata: {
2833
2874
  name: string;
2834
2875
  id: string;
2835
- accessToken?: string | undefined;
2836
- channelSecret?: string | undefined;
2837
- additionalCredentials?: any;
2838
- senderId?: string | undefined;
2876
+ line?: {
2877
+ channelId: string;
2878
+ channelSecret: string;
2879
+ } | undefined;
2839
2880
  whatsapp?: {
2881
+ email?: string | null | undefined;
2882
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2883
+ channelId?: string | null | undefined;
2840
2884
  wabaBusinessId?: string | null | undefined;
2841
2885
  wabaExternalId?: string | null | undefined;
2842
2886
  phoneNumberId?: string | null | undefined;
2843
- email?: string | null | undefined;
2844
2887
  clientId?: string | null | undefined;
2845
- channelId?: string | null | undefined;
2846
2888
  waapiInstanceId?: string | null | undefined;
2847
2889
  qr?: string | null | undefined;
2848
- status?: "active" | "pending" | "waapi-qr" | undefined;
2849
2890
  apiKey?: string | undefined;
2850
2891
  tier?: "basic" | "regular" | "premium" | undefined;
2851
2892
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2852
2893
  } | undefined;
2894
+ additionalCredentials?: any;
2895
+ accessToken?: string | undefined;
2896
+ channelSecret?: string | undefined;
2897
+ senderId?: string | undefined;
2853
2898
  vonageCredentials?: {
2854
2899
  apiKey: string;
2855
2900
  mobileNumber: string;
2856
2901
  apiSecret: string;
2857
2902
  } | undefined;
2858
- line?: {
2859
- channelId: string;
2860
- channelSecret: string;
2861
- } | undefined;
2862
2903
  lineRichMenuId?: string | null | undefined;
2863
2904
  messengerIntegrationType?: "own" | "business" | undefined;
2864
2905
  facebookFeedIntegrationType?: "own" | "business" | undefined;
2865
2906
  isCSATEnabled?: boolean | undefined;
2907
+ config?: any;
2866
2908
  };
2867
2909
  status: boolean;
2868
2910
  createdAt: Date;
@@ -3157,6 +3199,7 @@ export declare const cxLogContract: {
3157
3199
  createdAt: z.ZodDate;
3158
3200
  updatedAt: z.ZodDate;
3159
3201
  deletedAt: z.ZodNullable<z.ZodDate>;
3202
+ } & {
3160
3203
  uniqueCallId: z.ZodString;
3161
3204
  timeStart: z.ZodString;
3162
3205
  callFrom: z.ZodString;
@@ -3181,6 +3224,7 @@ export declare const cxLogContract: {
3181
3224
  createdAt: z.ZodDate;
3182
3225
  updatedAt: z.ZodDate;
3183
3226
  deletedAt: z.ZodNullable<z.ZodDate>;
3227
+ } & {
3184
3228
  name: z.ZodString;
3185
3229
  }, "strip", z.ZodTypeAny, {
3186
3230
  name: string;
@@ -3200,6 +3244,7 @@ export declare const cxLogContract: {
3200
3244
  createdAt: z.ZodDate;
3201
3245
  updatedAt: z.ZodDate;
3202
3246
  deletedAt: z.ZodNullable<z.ZodDate>;
3247
+ } & {
3203
3248
  name: z.ZodOptional<z.ZodString>;
3204
3249
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3205
3250
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3209,6 +3254,7 @@ export declare const cxLogContract: {
3209
3254
  createdAt: z.ZodDate;
3210
3255
  updatedAt: z.ZodDate;
3211
3256
  deletedAt: z.ZodNullable<z.ZodDate>;
3257
+ } & {
3212
3258
  textValue: z.ZodNullable<z.ZodString>;
3213
3259
  booleanValue: z.ZodNullable<z.ZodBoolean>;
3214
3260
  numberValue: z.ZodNullable<z.ZodNumber>;
@@ -3218,6 +3264,7 @@ export declare const cxLogContract: {
3218
3264
  createdAt: z.ZodDate;
3219
3265
  updatedAt: z.ZodDate;
3220
3266
  deletedAt: z.ZodNullable<z.ZodDate>;
3267
+ } & {
3221
3268
  systemName: z.ZodString;
3222
3269
  displayName: z.ZodString;
3223
3270
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -3227,10 +3274,11 @@ export declare const cxLogContract: {
3227
3274
  isRequired: z.ZodBoolean;
3228
3275
  isUnique: z.ZodBoolean;
3229
3276
  options: z.ZodArray<z.ZodObject<{
3230
- position: z.ZodNumber;
3231
- value: z.ZodString;
3232
3277
  label: z.ZodString;
3278
+ value: z.ZodString;
3233
3279
  isDefault: z.ZodBoolean;
3280
+ position: z.ZodNumber;
3281
+ } & {
3234
3282
  id: z.ZodString;
3235
3283
  }, "strip", z.ZodTypeAny, {
3236
3284
  id: string;
@@ -3250,6 +3298,7 @@ export declare const cxLogContract: {
3250
3298
  createdAt: z.ZodDate;
3251
3299
  updatedAt: z.ZodDate;
3252
3300
  deletedAt: z.ZodNullable<z.ZodDate>;
3301
+ } & {
3253
3302
  systemName: z.ZodString;
3254
3303
  displayName: z.ZodString;
3255
3304
  }, "strip", z.ZodTypeAny, {
@@ -3427,6 +3476,7 @@ export declare const cxLogContract: {
3427
3476
  createdAt: z.ZodDate;
3428
3477
  updatedAt: z.ZodDate;
3429
3478
  deletedAt: z.ZodNullable<z.ZodDate>;
3479
+ } & {
3430
3480
  systemName: z.ZodString;
3431
3481
  displayName: z.ZodString;
3432
3482
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -3436,10 +3486,11 @@ export declare const cxLogContract: {
3436
3486
  isRequired: z.ZodBoolean;
3437
3487
  isUnique: z.ZodBoolean;
3438
3488
  options: z.ZodArray<z.ZodObject<{
3439
- position: z.ZodNumber;
3440
- value: z.ZodString;
3441
3489
  label: z.ZodString;
3490
+ value: z.ZodString;
3442
3491
  isDefault: z.ZodBoolean;
3492
+ position: z.ZodNumber;
3493
+ } & {
3443
3494
  id: z.ZodString;
3444
3495
  }, "strip", z.ZodTypeAny, {
3445
3496
  id: string;
@@ -3459,6 +3510,7 @@ export declare const cxLogContract: {
3459
3510
  createdAt: z.ZodDate;
3460
3511
  updatedAt: z.ZodDate;
3461
3512
  deletedAt: z.ZodNullable<z.ZodDate>;
3513
+ } & {
3462
3514
  systemName: z.ZodString;
3463
3515
  displayName: z.ZodString;
3464
3516
  }, "strip", z.ZodTypeAny, {
@@ -3508,6 +3560,7 @@ export declare const cxLogContract: {
3508
3560
  createdAt: z.ZodDate;
3509
3561
  updatedAt: z.ZodDate;
3510
3562
  deletedAt: z.ZodNullable<z.ZodDate>;
3563
+ } & {
3511
3564
  bucketName: z.ZodString;
3512
3565
  fileName: z.ZodString;
3513
3566
  fileSize: z.ZodNumber;
@@ -3940,6 +3993,7 @@ export declare const cxLogContract: {
3940
3993
  createdAt: z.ZodDate;
3941
3994
  updatedAt: z.ZodDate;
3942
3995
  deletedAt: z.ZodNullable<z.ZodDate>;
3996
+ } & {
3943
3997
  queueId: z.ZodNumber;
3944
3998
  queueName: z.ZodString;
3945
3999
  queueNumber: z.ZodString;
@@ -3976,6 +4030,7 @@ export declare const cxLogContract: {
3976
4030
  createdAt: z.ZodDate;
3977
4031
  updatedAt: z.ZodDate;
3978
4032
  deletedAt: z.ZodNullable<z.ZodDate>;
4033
+ } & {
3979
4034
  bucketName: z.ZodString;
3980
4035
  fileName: z.ZodString;
3981
4036
  fileSize: z.ZodNumber;
@@ -4009,17 +4064,18 @@ export declare const cxLogContract: {
4009
4064
  callTo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4010
4065
  id: z.ZodString;
4011
4066
  user: z.ZodNullable<z.ZodObject<Omit<{
4012
- name: z.ZodString;
4013
4067
  id: z.ZodString;
4014
- address: z.ZodNullable<z.ZodString>;
4015
- email: z.ZodString;
4016
4068
  createdAt: z.ZodDate;
4017
4069
  updatedAt: z.ZodDate;
4018
4070
  deletedAt: z.ZodNullable<z.ZodDate>;
4071
+ name: z.ZodString;
4072
+ email: z.ZodString;
4019
4073
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
4020
4074
  password: z.ZodString;
4075
+ address: z.ZodNullable<z.ZodString>;
4021
4076
  phone: z.ZodNullable<z.ZodString>;
4022
4077
  notificationCount: z.ZodNullable<z.ZodNumber>;
4078
+ } & {
4023
4079
  roles: z.ZodArray<z.ZodObject<{
4024
4080
  id: z.ZodString;
4025
4081
  createdAt: z.ZodDate;
@@ -4214,17 +4270,18 @@ export declare const cxLogContract: {
4214
4270
  callFrom: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4215
4271
  id: z.ZodString;
4216
4272
  user: z.ZodNullable<z.ZodObject<Omit<{
4217
- name: z.ZodString;
4218
4273
  id: z.ZodString;
4219
- address: z.ZodNullable<z.ZodString>;
4220
- email: z.ZodString;
4221
4274
  createdAt: z.ZodDate;
4222
4275
  updatedAt: z.ZodDate;
4223
4276
  deletedAt: z.ZodNullable<z.ZodDate>;
4277
+ name: z.ZodString;
4278
+ email: z.ZodString;
4224
4279
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
4225
4280
  password: z.ZodString;
4281
+ address: z.ZodNullable<z.ZodString>;
4226
4282
  phone: z.ZodNullable<z.ZodString>;
4227
4283
  notificationCount: z.ZodNullable<z.ZodNumber>;
4284
+ } & {
4228
4285
  roles: z.ZodArray<z.ZodObject<{
4229
4286
  id: z.ZodString;
4230
4287
  createdAt: z.ZodDate;
@@ -4417,7 +4474,7 @@ export declare const cxLogContract: {
4417
4474
  updatedAt?: string | undefined;
4418
4475
  }>>>;
4419
4476
  }, "strip", z.ZodTypeAny, {
4420
- callTo?: {
4477
+ callFrom?: {
4421
4478
  id: string;
4422
4479
  user: {
4423
4480
  name: string;
@@ -4443,7 +4500,7 @@ export declare const cxLogContract: {
4443
4500
  createdAt?: string | undefined;
4444
4501
  updatedAt?: string | undefined;
4445
4502
  } | null | undefined;
4446
- callFrom?: {
4503
+ callTo?: {
4447
4504
  id: string;
4448
4505
  user: {
4449
4506
  name: string;
@@ -4470,7 +4527,7 @@ export declare const cxLogContract: {
4470
4527
  updatedAt?: string | undefined;
4471
4528
  } | null | undefined;
4472
4529
  }, {
4473
- callTo?: {
4530
+ callFrom?: {
4474
4531
  id: string;
4475
4532
  user: {
4476
4533
  name: string;
@@ -4496,7 +4553,7 @@ export declare const cxLogContract: {
4496
4553
  createdAt?: string | undefined;
4497
4554
  updatedAt?: string | undefined;
4498
4555
  } | null | undefined;
4499
- callFrom?: {
4556
+ callTo?: {
4500
4557
  id: string;
4501
4558
  user: {
4502
4559
  name: string;
@@ -4537,18 +4594,20 @@ export declare const cxLogContract: {
4537
4594
  extensionId: z.ZodNullable<z.ZodString>;
4538
4595
  extensionName: z.ZodString;
4539
4596
  telephonySignature: z.ZodNullable<z.ZodString>;
4597
+ } & {
4540
4598
  user: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4541
- name: z.ZodString;
4542
4599
  id: z.ZodString;
4543
- address: z.ZodNullable<z.ZodString>;
4544
- email: z.ZodString;
4545
4600
  createdAt: z.ZodDate;
4546
4601
  updatedAt: z.ZodDate;
4547
4602
  deletedAt: z.ZodNullable<z.ZodDate>;
4603
+ name: z.ZodString;
4604
+ email: z.ZodString;
4548
4605
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
4549
4606
  password: z.ZodString;
4607
+ address: z.ZodNullable<z.ZodString>;
4550
4608
  phone: z.ZodNullable<z.ZodString>;
4551
4609
  notificationCount: z.ZodNullable<z.ZodNumber>;
4610
+ } & {
4552
4611
  roles: z.ZodArray<z.ZodObject<{
4553
4612
  id: z.ZodString;
4554
4613
  createdAt: z.ZodDate;
@@ -4879,7 +4938,7 @@ export declare const cxLogContract: {
4879
4938
  uploadId: string | null;
4880
4939
  serialNumber: string | null;
4881
4940
  callParticipants: {
4882
- callTo?: {
4941
+ callFrom?: {
4883
4942
  id: string;
4884
4943
  user: {
4885
4944
  name: string;
@@ -4905,7 +4964,7 @@ export declare const cxLogContract: {
4905
4964
  createdAt?: string | undefined;
4906
4965
  updatedAt?: string | undefined;
4907
4966
  } | null | undefined;
4908
- callFrom?: {
4967
+ callTo?: {
4909
4968
  id: string;
4910
4969
  user: {
4911
4970
  name: string;
@@ -4935,6 +4994,63 @@ export declare const cxLogContract: {
4935
4994
  isQueueMissedCall: boolean;
4936
4995
  telephonyQueueId: string | null;
4937
4996
  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;
4938
5054
  contact?: {
4939
5055
  name: string;
4940
5056
  id: string;
@@ -5069,63 +5185,6 @@ export declare const cxLogContract: {
5069
5185
  fileSize: number;
5070
5186
  fileUrl: string | null;
5071
5187
  } | null | undefined;
5072
- extension?: {
5073
- id: string;
5074
- createdAt: Date;
5075
- updatedAt: Date;
5076
- deletedAt: Date | null;
5077
- userId: string | null;
5078
- sipServerUrl: string;
5079
- sipUserName: string;
5080
- webphoneLoginUser: string;
5081
- extensionId: string | null;
5082
- extensionName: string;
5083
- telephonySignature: string | null;
5084
- user?: {
5085
- name: string;
5086
- id: string;
5087
- address: string | null;
5088
- email: string;
5089
- createdAt: Date;
5090
- updatedAt: Date;
5091
- deletedAt: Date | null;
5092
- emailVerifiedAt: Date | null;
5093
- password: string;
5094
- phone: string | null;
5095
- notificationCount: number | null;
5096
- roles: {
5097
- id: string;
5098
- description: string | null;
5099
- createdAt: Date;
5100
- updatedAt: Date;
5101
- deletedAt: Date | null;
5102
- systemName: string;
5103
- displayName: string;
5104
- permissions: {
5105
- id: string;
5106
- description: string | null;
5107
- createdAt: Date;
5108
- updatedAt: Date;
5109
- deletedAt: Date | null;
5110
- systemName: string;
5111
- displayName: string;
5112
- }[];
5113
- }[];
5114
- extension: {
5115
- id: string;
5116
- createdAt: Date;
5117
- updatedAt: Date;
5118
- deletedAt: Date | null;
5119
- userId: string | null;
5120
- sipServerUrl: string;
5121
- sipUserName: string;
5122
- webphoneLoginUser: string;
5123
- extensionId: string | null;
5124
- extensionName: string;
5125
- telephonySignature: string | null;
5126
- };
5127
- } | null | undefined;
5128
- } | null | undefined;
5129
5188
  }, {
5130
5189
  type: string;
5131
5190
  id: string;
@@ -5149,7 +5208,7 @@ export declare const cxLogContract: {
5149
5208
  uploadId: string | null;
5150
5209
  serialNumber: string | null;
5151
5210
  callParticipants: {
5152
- callTo?: {
5211
+ callFrom?: {
5153
5212
  id: string;
5154
5213
  user: {
5155
5214
  name: string;
@@ -5175,7 +5234,7 @@ export declare const cxLogContract: {
5175
5234
  createdAt?: string | undefined;
5176
5235
  updatedAt?: string | undefined;
5177
5236
  } | null | undefined;
5178
- callFrom?: {
5237
+ callTo?: {
5179
5238
  id: string;
5180
5239
  user: {
5181
5240
  name: string;
@@ -5205,6 +5264,63 @@ export declare const cxLogContract: {
5205
5264
  isQueueMissedCall: boolean;
5206
5265
  telephonyQueueId: string | null;
5207
5266
  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;
5208
5324
  contact?: {
5209
5325
  name: string;
5210
5326
  id: string;
@@ -5339,100 +5455,44 @@ export declare const cxLogContract: {
5339
5455
  fileSize: number;
5340
5456
  fileUrl: string | null;
5341
5457
  } | null | undefined;
5342
- extension?: {
5343
- id: string;
5344
- createdAt: Date;
5345
- updatedAt: Date;
5346
- deletedAt: Date | null;
5347
- userId: string | null;
5348
- sipServerUrl: string;
5349
- sipUserName: string;
5350
- webphoneLoginUser: string;
5351
- extensionId: string | null;
5352
- extensionName: string;
5353
- telephonySignature: string | null;
5354
- user?: {
5355
- name: string;
5356
- id: string;
5357
- address: string | null;
5358
- email: string;
5359
- createdAt: Date;
5360
- updatedAt: Date;
5361
- deletedAt: Date | null;
5362
- emailVerifiedAt: Date | null;
5363
- password: string;
5364
- phone: string | null;
5365
- notificationCount: number | null;
5366
- roles: {
5367
- id: string;
5368
- description: string | null;
5369
- createdAt: Date;
5370
- updatedAt: Date;
5371
- deletedAt: Date | null;
5372
- systemName: string;
5373
- displayName: string;
5374
- permissions: {
5375
- id: string;
5376
- description: string | null;
5377
- createdAt: Date;
5378
- updatedAt: Date;
5379
- deletedAt: Date | null;
5380
- systemName: string;
5381
- displayName: string;
5382
- }[];
5383
- }[];
5384
- extension: {
5385
- id: string;
5386
- createdAt: Date;
5387
- updatedAt: Date;
5388
- deletedAt: Date | null;
5389
- userId: string | null;
5390
- sipServerUrl: string;
5391
- sipUserName: string;
5392
- webphoneLoginUser: string;
5393
- extensionId: string | null;
5394
- extensionName: string;
5395
- telephonySignature: string | null;
5396
- };
5397
- } | null | undefined;
5398
- } | null | undefined;
5399
- }>>;
5400
- queue: z.ZodNullable<z.ZodObject<{
5401
- queueName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5402
- }, "strip", z.ZodTypeAny, {
5403
- queueName?: string | null | undefined;
5404
- }, {
5405
- queueName?: string | null | undefined;
5406
- }>>;
5407
- automationQueue: z.ZodNullable<z.ZodObject<{
5408
- id: z.ZodString;
5409
- name: z.ZodString;
5410
- }, "strip", z.ZodTypeAny, {
5411
- name: string;
5412
- id: string;
5413
- }, {
5414
- name: string;
5415
- id: string;
5416
- }>>;
5417
- contact: z.ZodNullable<z.ZodObject<{
5418
- id: z.ZodString;
5419
- createdAt: z.ZodDate;
5420
- updatedAt: z.ZodDate;
5421
- deletedAt: z.ZodNullable<z.ZodDate>;
5422
- name: z.ZodString;
5423
- address: z.ZodNullable<z.ZodString>;
5424
- channel: z.ZodNullable<z.ZodString>;
5425
- notes: z.ZodNullable<z.ZodString>;
5426
- contactProfile: z.ZodNullable<z.ZodString>;
5427
- socialProfileUrl: z.ZodNullable<z.ZodString>;
5428
- tags: z.ZodArray<z.ZodObject<{
5429
- id: z.ZodString;
5430
- createdAt: z.ZodDate;
5431
- updatedAt: z.ZodDate;
5432
- deletedAt: z.ZodNullable<z.ZodDate>;
5433
- name: z.ZodString;
5434
- }, "strip", z.ZodTypeAny, {
5435
- name: string;
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;
5436
5496
  id: string;
5437
5497
  createdAt: Date;
5438
5498
  updatedAt: Date;
@@ -5449,6 +5509,7 @@ export declare const cxLogContract: {
5449
5509
  createdAt: z.ZodDate;
5450
5510
  updatedAt: z.ZodDate;
5451
5511
  deletedAt: z.ZodNullable<z.ZodDate>;
5512
+ } & {
5452
5513
  name: z.ZodOptional<z.ZodString>;
5453
5514
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5454
5515
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5458,6 +5519,7 @@ export declare const cxLogContract: {
5458
5519
  createdAt: z.ZodDate;
5459
5520
  updatedAt: z.ZodDate;
5460
5521
  deletedAt: z.ZodNullable<z.ZodDate>;
5522
+ } & {
5461
5523
  textValue: z.ZodNullable<z.ZodString>;
5462
5524
  booleanValue: z.ZodNullable<z.ZodBoolean>;
5463
5525
  numberValue: z.ZodNullable<z.ZodNumber>;
@@ -5467,6 +5529,7 @@ export declare const cxLogContract: {
5467
5529
  createdAt: z.ZodDate;
5468
5530
  updatedAt: z.ZodDate;
5469
5531
  deletedAt: z.ZodNullable<z.ZodDate>;
5532
+ } & {
5470
5533
  systemName: z.ZodString;
5471
5534
  displayName: z.ZodString;
5472
5535
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -5476,10 +5539,11 @@ export declare const cxLogContract: {
5476
5539
  isRequired: z.ZodBoolean;
5477
5540
  isUnique: z.ZodBoolean;
5478
5541
  options: z.ZodArray<z.ZodObject<{
5479
- position: z.ZodNumber;
5480
- value: z.ZodString;
5481
5542
  label: z.ZodString;
5543
+ value: z.ZodString;
5482
5544
  isDefault: z.ZodBoolean;
5545
+ position: z.ZodNumber;
5546
+ } & {
5483
5547
  id: z.ZodString;
5484
5548
  }, "strip", z.ZodTypeAny, {
5485
5549
  id: string;
@@ -5499,6 +5563,7 @@ export declare const cxLogContract: {
5499
5563
  createdAt: z.ZodDate;
5500
5564
  updatedAt: z.ZodDate;
5501
5565
  deletedAt: z.ZodNullable<z.ZodDate>;
5566
+ } & {
5502
5567
  systemName: z.ZodString;
5503
5568
  displayName: z.ZodString;
5504
5569
  }, "strip", z.ZodTypeAny, {
@@ -5676,6 +5741,7 @@ export declare const cxLogContract: {
5676
5741
  createdAt: z.ZodDate;
5677
5742
  updatedAt: z.ZodDate;
5678
5743
  deletedAt: z.ZodNullable<z.ZodDate>;
5744
+ } & {
5679
5745
  systemName: z.ZodString;
5680
5746
  displayName: z.ZodString;
5681
5747
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -5685,10 +5751,11 @@ export declare const cxLogContract: {
5685
5751
  isRequired: z.ZodBoolean;
5686
5752
  isUnique: z.ZodBoolean;
5687
5753
  options: z.ZodArray<z.ZodObject<{
5688
- position: z.ZodNumber;
5689
- value: z.ZodString;
5690
5754
  label: z.ZodString;
5755
+ value: z.ZodString;
5691
5756
  isDefault: z.ZodBoolean;
5757
+ position: z.ZodNumber;
5758
+ } & {
5692
5759
  id: z.ZodString;
5693
5760
  }, "strip", z.ZodTypeAny, {
5694
5761
  id: string;
@@ -5708,6 +5775,7 @@ export declare const cxLogContract: {
5708
5775
  createdAt: z.ZodDate;
5709
5776
  updatedAt: z.ZodDate;
5710
5777
  deletedAt: z.ZodNullable<z.ZodDate>;
5778
+ } & {
5711
5779
  systemName: z.ZodString;
5712
5780
  displayName: z.ZodString;
5713
5781
  }, "strip", z.ZodTypeAny, {
@@ -5757,6 +5825,7 @@ export declare const cxLogContract: {
5757
5825
  createdAt: z.ZodDate;
5758
5826
  updatedAt: z.ZodDate;
5759
5827
  deletedAt: z.ZodNullable<z.ZodDate>;
5828
+ } & {
5760
5829
  bucketName: z.ZodString;
5761
5830
  fileName: z.ZodString;
5762
5831
  fileSize: z.ZodNumber;
@@ -6185,17 +6254,18 @@ export declare const cxLogContract: {
6185
6254
  }[] | undefined;
6186
6255
  }>>;
6187
6256
  firstAssignee: z.ZodNullable<z.ZodObject<{
6188
- name: z.ZodString;
6189
6257
  id: z.ZodString;
6190
- address: z.ZodNullable<z.ZodString>;
6191
- email: z.ZodString;
6192
6258
  createdAt: z.ZodDate;
6193
6259
  updatedAt: z.ZodDate;
6194
6260
  deletedAt: z.ZodNullable<z.ZodDate>;
6261
+ name: z.ZodString;
6262
+ email: z.ZodString;
6195
6263
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
6196
6264
  password: z.ZodString;
6265
+ address: z.ZodNullable<z.ZodString>;
6197
6266
  phone: z.ZodNullable<z.ZodString>;
6198
6267
  notificationCount: z.ZodNullable<z.ZodNumber>;
6268
+ } & {
6199
6269
  roles: z.ZodArray<z.ZodObject<{
6200
6270
  id: z.ZodString;
6201
6271
  createdAt: z.ZodDate;
@@ -6389,17 +6459,18 @@ export declare const cxLogContract: {
6389
6459
  };
6390
6460
  }>>;
6391
6461
  agent: z.ZodNullable<z.ZodObject<{
6392
- name: z.ZodString;
6393
6462
  id: z.ZodString;
6394
- address: z.ZodNullable<z.ZodString>;
6395
- email: z.ZodString;
6396
6463
  createdAt: z.ZodDate;
6397
6464
  updatedAt: z.ZodDate;
6398
6465
  deletedAt: z.ZodNullable<z.ZodDate>;
6466
+ name: z.ZodString;
6467
+ email: z.ZodString;
6399
6468
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
6400
6469
  password: z.ZodString;
6470
+ address: z.ZodNullable<z.ZodString>;
6401
6471
  phone: z.ZodNullable<z.ZodString>;
6402
6472
  notificationCount: z.ZodNullable<z.ZodNumber>;
6473
+ } & {
6403
6474
  roles: z.ZodArray<z.ZodObject<{
6404
6475
  id: z.ZodString;
6405
6476
  createdAt: z.ZodDate;
@@ -6593,17 +6664,18 @@ export declare const cxLogContract: {
6593
6664
  };
6594
6665
  }>>;
6595
6666
  closedAssignee: z.ZodNullable<z.ZodObject<{
6596
- name: z.ZodString;
6597
6667
  id: z.ZodString;
6598
- address: z.ZodNullable<z.ZodString>;
6599
- email: z.ZodString;
6600
6668
  createdAt: z.ZodDate;
6601
6669
  updatedAt: z.ZodDate;
6602
6670
  deletedAt: z.ZodNullable<z.ZodDate>;
6671
+ name: z.ZodString;
6672
+ email: z.ZodString;
6603
6673
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
6604
6674
  password: z.ZodString;
6675
+ address: z.ZodNullable<z.ZodString>;
6605
6676
  phone: z.ZodNullable<z.ZodString>;
6606
6677
  notificationCount: z.ZodNullable<z.ZodNumber>;
6678
+ } & {
6607
6679
  roles: z.ZodArray<z.ZodObject<{
6608
6680
  id: z.ZodString;
6609
6681
  createdAt: z.ZodDate;
@@ -7031,37 +7103,38 @@ export declare const cxLogContract: {
7031
7103
  metadata: {
7032
7104
  name: string;
7033
7105
  id: string;
7034
- accessToken?: string | undefined;
7035
- channelSecret?: string | undefined;
7036
- additionalCredentials?: any;
7037
- senderId?: string | undefined;
7106
+ line?: {
7107
+ channelId: string;
7108
+ channelSecret: string;
7109
+ } | undefined;
7038
7110
  whatsapp?: {
7111
+ email?: string | null | undefined;
7112
+ status?: "active" | "pending" | "waapi-qr" | undefined;
7113
+ channelId?: string | null | undefined;
7039
7114
  wabaBusinessId?: string | null | undefined;
7040
7115
  wabaExternalId?: string | null | undefined;
7041
7116
  phoneNumberId?: string | null | undefined;
7042
- email?: string | null | undefined;
7043
7117
  clientId?: string | null | undefined;
7044
- channelId?: string | null | undefined;
7045
7118
  waapiInstanceId?: string | null | undefined;
7046
7119
  qr?: string | null | undefined;
7047
- status?: "active" | "pending" | "waapi-qr" | undefined;
7048
7120
  apiKey?: string | undefined;
7049
7121
  tier?: "basic" | "regular" | "premium" | undefined;
7050
7122
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
7051
7123
  } | undefined;
7124
+ additionalCredentials?: any;
7125
+ accessToken?: string | undefined;
7126
+ channelSecret?: string | undefined;
7127
+ senderId?: string | undefined;
7052
7128
  vonageCredentials?: {
7053
7129
  apiKey: string;
7054
7130
  mobileNumber: string;
7055
7131
  apiSecret: string;
7056
7132
  } | undefined;
7057
- line?: {
7058
- channelId: string;
7059
- channelSecret: string;
7060
- } | undefined;
7061
7133
  lineRichMenuId?: string | null | undefined;
7062
7134
  messengerIntegrationType?: "own" | "business" | undefined;
7063
7135
  facebookFeedIntegrationType?: "own" | "business" | undefined;
7064
7136
  isCSATEnabled?: boolean | undefined;
7137
+ config?: any;
7065
7138
  };
7066
7139
  status: boolean;
7067
7140
  createdAt: Date;
@@ -7374,7 +7447,7 @@ export declare const cxLogContract: {
7374
7447
  uploadId: string | null;
7375
7448
  serialNumber: string | null;
7376
7449
  callParticipants: {
7377
- callTo?: {
7450
+ callFrom?: {
7378
7451
  id: string;
7379
7452
  user: {
7380
7453
  name: string;
@@ -7400,7 +7473,7 @@ export declare const cxLogContract: {
7400
7473
  createdAt?: string | undefined;
7401
7474
  updatedAt?: string | undefined;
7402
7475
  } | null | undefined;
7403
- callFrom?: {
7476
+ callTo?: {
7404
7477
  id: string;
7405
7478
  user: {
7406
7479
  name: string;
@@ -7430,6 +7503,63 @@ export declare const cxLogContract: {
7430
7503
  isQueueMissedCall: boolean;
7431
7504
  telephonyQueueId: string | null;
7432
7505
  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;
7433
7563
  contact?: {
7434
7564
  name: string;
7435
7565
  id: string;
@@ -7564,63 +7694,6 @@ export declare const cxLogContract: {
7564
7694
  fileSize: number;
7565
7695
  fileUrl: string | null;
7566
7696
  } | null | undefined;
7567
- extension?: {
7568
- id: string;
7569
- createdAt: Date;
7570
- updatedAt: Date;
7571
- deletedAt: Date | null;
7572
- userId: string | null;
7573
- sipServerUrl: string;
7574
- sipUserName: string;
7575
- webphoneLoginUser: string;
7576
- extensionId: string | null;
7577
- extensionName: string;
7578
- telephonySignature: string | null;
7579
- user?: {
7580
- name: string;
7581
- id: string;
7582
- address: string | null;
7583
- email: string;
7584
- createdAt: Date;
7585
- updatedAt: Date;
7586
- deletedAt: Date | null;
7587
- emailVerifiedAt: Date | null;
7588
- password: string;
7589
- phone: string | null;
7590
- notificationCount: number | null;
7591
- roles: {
7592
- id: string;
7593
- description: string | null;
7594
- createdAt: Date;
7595
- updatedAt: Date;
7596
- deletedAt: Date | null;
7597
- systemName: string;
7598
- displayName: string;
7599
- permissions: {
7600
- id: string;
7601
- description: string | null;
7602
- createdAt: Date;
7603
- updatedAt: Date;
7604
- deletedAt: Date | null;
7605
- systemName: string;
7606
- displayName: string;
7607
- }[];
7608
- }[];
7609
- extension: {
7610
- id: string;
7611
- createdAt: Date;
7612
- updatedAt: Date;
7613
- deletedAt: Date | null;
7614
- userId: string | null;
7615
- sipServerUrl: string;
7616
- sipUserName: string;
7617
- webphoneLoginUser: string;
7618
- extensionId: string | null;
7619
- extensionName: string;
7620
- telephonySignature: string | null;
7621
- };
7622
- } | null | undefined;
7623
- } | null | undefined;
7624
7697
  } | null;
7625
7698
  queue: {
7626
7699
  queueName?: string | null | undefined;
@@ -7978,37 +8051,38 @@ export declare const cxLogContract: {
7978
8051
  metadata: {
7979
8052
  name: string;
7980
8053
  id: string;
7981
- accessToken?: string | undefined;
7982
- channelSecret?: string | undefined;
7983
- additionalCredentials?: any;
7984
- senderId?: string | undefined;
8054
+ line?: {
8055
+ channelId: string;
8056
+ channelSecret: string;
8057
+ } | undefined;
7985
8058
  whatsapp?: {
8059
+ email?: string | null | undefined;
8060
+ status?: "active" | "pending" | "waapi-qr" | undefined;
8061
+ channelId?: string | null | undefined;
7986
8062
  wabaBusinessId?: string | null | undefined;
7987
8063
  wabaExternalId?: string | null | undefined;
7988
8064
  phoneNumberId?: string | null | undefined;
7989
- email?: string | null | undefined;
7990
8065
  clientId?: string | null | undefined;
7991
- channelId?: string | null | undefined;
7992
8066
  waapiInstanceId?: string | null | undefined;
7993
8067
  qr?: string | null | undefined;
7994
- status?: "active" | "pending" | "waapi-qr" | undefined;
7995
8068
  apiKey?: string | undefined;
7996
8069
  tier?: "basic" | "regular" | "premium" | undefined;
7997
8070
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
7998
8071
  } | undefined;
8072
+ additionalCredentials?: any;
8073
+ accessToken?: string | undefined;
8074
+ channelSecret?: string | undefined;
8075
+ senderId?: string | undefined;
7999
8076
  vonageCredentials?: {
8000
8077
  apiKey: string;
8001
8078
  mobileNumber: string;
8002
8079
  apiSecret: string;
8003
8080
  } | undefined;
8004
- line?: {
8005
- channelId: string;
8006
- channelSecret: string;
8007
- } | undefined;
8008
8081
  lineRichMenuId?: string | null | undefined;
8009
8082
  messengerIntegrationType?: "own" | "business" | undefined;
8010
8083
  facebookFeedIntegrationType?: "own" | "business" | undefined;
8011
8084
  isCSATEnabled?: boolean | undefined;
8085
+ config?: any;
8012
8086
  };
8013
8087
  status: boolean;
8014
8088
  createdAt: Date;
@@ -8321,7 +8395,7 @@ export declare const cxLogContract: {
8321
8395
  uploadId: string | null;
8322
8396
  serialNumber: string | null;
8323
8397
  callParticipants: {
8324
- callTo?: {
8398
+ callFrom?: {
8325
8399
  id: string;
8326
8400
  user: {
8327
8401
  name: string;
@@ -8347,7 +8421,7 @@ export declare const cxLogContract: {
8347
8421
  createdAt?: string | undefined;
8348
8422
  updatedAt?: string | undefined;
8349
8423
  } | null | undefined;
8350
- callFrom?: {
8424
+ callTo?: {
8351
8425
  id: string;
8352
8426
  user: {
8353
8427
  name: string;
@@ -8377,6 +8451,63 @@ export declare const cxLogContract: {
8377
8451
  isQueueMissedCall: boolean;
8378
8452
  telephonyQueueId: string | null;
8379
8453
  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;
8380
8511
  contact?: {
8381
8512
  name: string;
8382
8513
  id: string;
@@ -8511,63 +8642,6 @@ export declare const cxLogContract: {
8511
8642
  fileSize: number;
8512
8643
  fileUrl: string | null;
8513
8644
  } | null | undefined;
8514
- extension?: {
8515
- id: string;
8516
- createdAt: Date;
8517
- updatedAt: Date;
8518
- deletedAt: Date | null;
8519
- userId: string | null;
8520
- sipServerUrl: string;
8521
- sipUserName: string;
8522
- webphoneLoginUser: string;
8523
- extensionId: string | null;
8524
- extensionName: string;
8525
- telephonySignature: string | null;
8526
- user?: {
8527
- name: string;
8528
- id: string;
8529
- address: string | null;
8530
- email: string;
8531
- createdAt: Date;
8532
- updatedAt: Date;
8533
- deletedAt: Date | null;
8534
- emailVerifiedAt: Date | null;
8535
- password: string;
8536
- phone: string | null;
8537
- notificationCount: number | null;
8538
- roles: {
8539
- id: string;
8540
- description: string | null;
8541
- createdAt: Date;
8542
- updatedAt: Date;
8543
- deletedAt: Date | null;
8544
- systemName: string;
8545
- displayName: string;
8546
- permissions: {
8547
- id: string;
8548
- description: string | null;
8549
- createdAt: Date;
8550
- updatedAt: Date;
8551
- deletedAt: Date | null;
8552
- systemName: string;
8553
- displayName: string;
8554
- }[];
8555
- }[];
8556
- extension: {
8557
- id: string;
8558
- createdAt: Date;
8559
- updatedAt: Date;
8560
- deletedAt: Date | null;
8561
- userId: string | null;
8562
- sipServerUrl: string;
8563
- sipUserName: string;
8564
- webphoneLoginUser: string;
8565
- extensionId: string | null;
8566
- extensionName: string;
8567
- telephonySignature: string | null;
8568
- };
8569
- } | null | undefined;
8570
- } | null | undefined;
8571
8645
  } | null;
8572
8646
  queue: {
8573
8647
  queueName?: string | null | undefined;
@@ -8931,37 +9005,38 @@ export declare const cxLogContract: {
8931
9005
  metadata: {
8932
9006
  name: string;
8933
9007
  id: string;
8934
- accessToken?: string | undefined;
8935
- channelSecret?: string | undefined;
8936
- additionalCredentials?: any;
8937
- senderId?: string | undefined;
9008
+ line?: {
9009
+ channelId: string;
9010
+ channelSecret: string;
9011
+ } | undefined;
8938
9012
  whatsapp?: {
9013
+ email?: string | null | undefined;
9014
+ status?: "active" | "pending" | "waapi-qr" | undefined;
9015
+ channelId?: string | null | undefined;
8939
9016
  wabaBusinessId?: string | null | undefined;
8940
9017
  wabaExternalId?: string | null | undefined;
8941
9018
  phoneNumberId?: string | null | undefined;
8942
- email?: string | null | undefined;
8943
9019
  clientId?: string | null | undefined;
8944
- channelId?: string | null | undefined;
8945
9020
  waapiInstanceId?: string | null | undefined;
8946
9021
  qr?: string | null | undefined;
8947
- status?: "active" | "pending" | "waapi-qr" | undefined;
8948
9022
  apiKey?: string | undefined;
8949
9023
  tier?: "basic" | "regular" | "premium" | undefined;
8950
9024
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
8951
9025
  } | undefined;
9026
+ additionalCredentials?: any;
9027
+ accessToken?: string | undefined;
9028
+ channelSecret?: string | undefined;
9029
+ senderId?: string | undefined;
8952
9030
  vonageCredentials?: {
8953
9031
  apiKey: string;
8954
9032
  mobileNumber: string;
8955
9033
  apiSecret: string;
8956
9034
  } | undefined;
8957
- line?: {
8958
- channelId: string;
8959
- channelSecret: string;
8960
- } | undefined;
8961
9035
  lineRichMenuId?: string | null | undefined;
8962
9036
  messengerIntegrationType?: "own" | "business" | undefined;
8963
9037
  facebookFeedIntegrationType?: "own" | "business" | undefined;
8964
9038
  isCSATEnabled?: boolean | undefined;
9039
+ config?: any;
8965
9040
  };
8966
9041
  status: boolean;
8967
9042
  createdAt: Date;
@@ -9274,7 +9349,7 @@ export declare const cxLogContract: {
9274
9349
  uploadId: string | null;
9275
9350
  serialNumber: string | null;
9276
9351
  callParticipants: {
9277
- callTo?: {
9352
+ callFrom?: {
9278
9353
  id: string;
9279
9354
  user: {
9280
9355
  name: string;
@@ -9300,7 +9375,7 @@ export declare const cxLogContract: {
9300
9375
  createdAt?: string | undefined;
9301
9376
  updatedAt?: string | undefined;
9302
9377
  } | null | undefined;
9303
- callFrom?: {
9378
+ callTo?: {
9304
9379
  id: string;
9305
9380
  user: {
9306
9381
  name: string;
@@ -9330,6 +9405,63 @@ export declare const cxLogContract: {
9330
9405
  isQueueMissedCall: boolean;
9331
9406
  telephonyQueueId: string | null;
9332
9407
  contactId: string | null;
9408
+ extension?: {
9409
+ id: string;
9410
+ createdAt: Date;
9411
+ updatedAt: Date;
9412
+ 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;
9333
9465
  contact?: {
9334
9466
  name: string;
9335
9467
  id: string;
@@ -9464,63 +9596,6 @@ export declare const cxLogContract: {
9464
9596
  fileSize: number;
9465
9597
  fileUrl: string | null;
9466
9598
  } | null | undefined;
9467
- extension?: {
9468
- id: string;
9469
- createdAt: Date;
9470
- updatedAt: Date;
9471
- deletedAt: Date | null;
9472
- userId: string | null;
9473
- sipServerUrl: string;
9474
- sipUserName: string;
9475
- webphoneLoginUser: string;
9476
- extensionId: string | null;
9477
- extensionName: string;
9478
- telephonySignature: string | null;
9479
- user?: {
9480
- name: string;
9481
- id: string;
9482
- address: string | null;
9483
- email: string;
9484
- createdAt: Date;
9485
- updatedAt: Date;
9486
- deletedAt: Date | null;
9487
- emailVerifiedAt: Date | null;
9488
- password: string;
9489
- phone: string | null;
9490
- notificationCount: number | null;
9491
- roles: {
9492
- id: string;
9493
- description: string | null;
9494
- createdAt: Date;
9495
- updatedAt: Date;
9496
- deletedAt: Date | null;
9497
- systemName: string;
9498
- displayName: string;
9499
- permissions: {
9500
- id: string;
9501
- description: string | null;
9502
- createdAt: Date;
9503
- updatedAt: Date;
9504
- deletedAt: Date | null;
9505
- systemName: string;
9506
- displayName: string;
9507
- }[];
9508
- }[];
9509
- extension: {
9510
- id: string;
9511
- createdAt: Date;
9512
- updatedAt: Date;
9513
- deletedAt: Date | null;
9514
- userId: string | null;
9515
- sipServerUrl: string;
9516
- sipUserName: string;
9517
- webphoneLoginUser: string;
9518
- extensionId: string | null;
9519
- extensionName: string;
9520
- telephonySignature: string | null;
9521
- };
9522
- } | null | undefined;
9523
- } | null | undefined;
9524
9599
  } | null;
9525
9600
  queue: {
9526
9601
  queueName?: string | null | undefined;
@@ -9884,37 +9959,38 @@ export declare const cxLogContract: {
9884
9959
  metadata: {
9885
9960
  name: string;
9886
9961
  id: string;
9887
- accessToken?: string | undefined;
9888
- channelSecret?: string | undefined;
9889
- additionalCredentials?: any;
9890
- senderId?: string | undefined;
9962
+ line?: {
9963
+ channelId: string;
9964
+ channelSecret: string;
9965
+ } | undefined;
9891
9966
  whatsapp?: {
9967
+ email?: string | null | undefined;
9968
+ status?: "active" | "pending" | "waapi-qr" | undefined;
9969
+ channelId?: string | null | undefined;
9892
9970
  wabaBusinessId?: string | null | undefined;
9893
9971
  wabaExternalId?: string | null | undefined;
9894
9972
  phoneNumberId?: string | null | undefined;
9895
- email?: string | null | undefined;
9896
9973
  clientId?: string | null | undefined;
9897
- channelId?: string | null | undefined;
9898
9974
  waapiInstanceId?: string | null | undefined;
9899
9975
  qr?: string | null | undefined;
9900
- status?: "active" | "pending" | "waapi-qr" | undefined;
9901
9976
  apiKey?: string | undefined;
9902
9977
  tier?: "basic" | "regular" | "premium" | undefined;
9903
9978
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
9904
9979
  } | undefined;
9980
+ additionalCredentials?: any;
9981
+ accessToken?: string | undefined;
9982
+ channelSecret?: string | undefined;
9983
+ senderId?: string | undefined;
9905
9984
  vonageCredentials?: {
9906
9985
  apiKey: string;
9907
9986
  mobileNumber: string;
9908
9987
  apiSecret: string;
9909
9988
  } | undefined;
9910
- line?: {
9911
- channelId: string;
9912
- channelSecret: string;
9913
- } | undefined;
9914
9989
  lineRichMenuId?: string | null | undefined;
9915
9990
  messengerIntegrationType?: "own" | "business" | undefined;
9916
9991
  facebookFeedIntegrationType?: "own" | "business" | undefined;
9917
9992
  isCSATEnabled?: boolean | undefined;
9993
+ config?: any;
9918
9994
  };
9919
9995
  status: boolean;
9920
9996
  createdAt: Date;
@@ -10227,7 +10303,7 @@ export declare const cxLogContract: {
10227
10303
  uploadId: string | null;
10228
10304
  serialNumber: string | null;
10229
10305
  callParticipants: {
10230
- callTo?: {
10306
+ callFrom?: {
10231
10307
  id: string;
10232
10308
  user: {
10233
10309
  name: string;
@@ -10253,7 +10329,7 @@ export declare const cxLogContract: {
10253
10329
  createdAt?: string | undefined;
10254
10330
  updatedAt?: string | undefined;
10255
10331
  } | null | undefined;
10256
- callFrom?: {
10332
+ callTo?: {
10257
10333
  id: string;
10258
10334
  user: {
10259
10335
  name: string;
@@ -10283,6 +10359,63 @@ export declare const cxLogContract: {
10283
10359
  isQueueMissedCall: boolean;
10284
10360
  telephonyQueueId: string | null;
10285
10361
  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;
10286
10419
  contact?: {
10287
10420
  name: string;
10288
10421
  id: string;
@@ -10417,63 +10550,6 @@ export declare const cxLogContract: {
10417
10550
  fileSize: number;
10418
10551
  fileUrl: string | null;
10419
10552
  } | null | undefined;
10420
- extension?: {
10421
- id: string;
10422
- createdAt: Date;
10423
- updatedAt: Date;
10424
- deletedAt: Date | null;
10425
- userId: string | null;
10426
- sipServerUrl: string;
10427
- sipUserName: string;
10428
- webphoneLoginUser: string;
10429
- extensionId: string | null;
10430
- extensionName: string;
10431
- telephonySignature: string | null;
10432
- user?: {
10433
- name: string;
10434
- id: string;
10435
- address: string | null;
10436
- email: string;
10437
- createdAt: Date;
10438
- updatedAt: Date;
10439
- deletedAt: Date | null;
10440
- emailVerifiedAt: Date | null;
10441
- password: string;
10442
- phone: string | null;
10443
- notificationCount: number | null;
10444
- roles: {
10445
- id: string;
10446
- description: string | null;
10447
- createdAt: Date;
10448
- updatedAt: Date;
10449
- deletedAt: Date | null;
10450
- systemName: string;
10451
- displayName: string;
10452
- permissions: {
10453
- id: string;
10454
- description: string | null;
10455
- createdAt: Date;
10456
- updatedAt: Date;
10457
- deletedAt: Date | null;
10458
- systemName: string;
10459
- displayName: string;
10460
- }[];
10461
- }[];
10462
- extension: {
10463
- id: string;
10464
- createdAt: Date;
10465
- updatedAt: Date;
10466
- deletedAt: Date | null;
10467
- userId: string | null;
10468
- sipServerUrl: string;
10469
- sipUserName: string;
10470
- webphoneLoginUser: string;
10471
- extensionId: string | null;
10472
- extensionName: string;
10473
- telephonySignature: string | null;
10474
- };
10475
- } | null | undefined;
10476
- } | null | undefined;
10477
10553
  } | null;
10478
10554
  queue: {
10479
10555
  queueName?: string | null | undefined;
@@ -10639,7 +10715,12 @@ export declare const cxLogContract: {
10639
10715
  error?: any;
10640
10716
  }>;
10641
10717
  };
10642
- path: "/cxs/cx-logs";
10718
+ };
10719
+ export: {
10720
+ summary: "Export cx-logs";
10721
+ method: "GET";
10722
+ query: z.ZodAny;
10723
+ path: "/ms/cx-logs/export";
10643
10724
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
10644
10725
  'x-tenant': z.ZodString;
10645
10726
  'x-service-token': z.ZodString;
@@ -10656,11 +10737,6 @@ export declare const cxLogContract: {
10656
10737
  'x-code'?: string | undefined;
10657
10738
  'x-client-timezone'?: string | undefined;
10658
10739
  }>>>;
10659
- };
10660
- export: {
10661
- summary: "Export cx-logs";
10662
- method: "GET";
10663
- query: z.ZodAny;
10664
10740
  responses: {
10665
10741
  200: null;
10666
10742
  401: z.ZodObject<{
@@ -10674,7 +10750,12 @@ export declare const cxLogContract: {
10674
10750
  error?: any;
10675
10751
  }>;
10676
10752
  };
10677
- path: "/ms/cx-logs/export";
10753
+ };
10754
+ syncSla: {
10755
+ body: null;
10756
+ summary: "Export cx-logs";
10757
+ method: "POST";
10758
+ path: "/ms/cx-logs/sync-sla";
10678
10759
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
10679
10760
  'x-tenant': z.ZodString;
10680
10761
  'x-service-token': z.ZodString;
@@ -10691,11 +10772,6 @@ export declare const cxLogContract: {
10691
10772
  'x-code'?: string | undefined;
10692
10773
  'x-client-timezone'?: string | undefined;
10693
10774
  }>>>;
10694
- };
10695
- syncSla: {
10696
- body: null;
10697
- summary: "Export cx-logs";
10698
- method: "POST";
10699
10775
  responses: {
10700
10776
  200: null;
10701
10777
  401: z.ZodObject<{
@@ -10719,23 +10795,6 @@ export declare const cxLogContract: {
10719
10795
  error?: any;
10720
10796
  }>;
10721
10797
  };
10722
- path: "/ms/cx-logs/sync-sla";
10723
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
10724
- 'x-tenant': z.ZodString;
10725
- 'x-service-token': z.ZodString;
10726
- 'x-code': z.ZodOptional<z.ZodString>;
10727
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
10728
- }, "strip", z.ZodTypeAny, {
10729
- 'x-tenant': string;
10730
- 'x-service-token': string;
10731
- 'x-client-timezone': string;
10732
- 'x-code'?: string | undefined;
10733
- }, {
10734
- 'x-tenant': string;
10735
- 'x-service-token': string;
10736
- 'x-code'?: string | undefined;
10737
- 'x-client-timezone'?: string | undefined;
10738
- }>>>;
10739
10798
  };
10740
10799
  updateSla: {
10741
10800
  body: z.ZodObject<{
@@ -10749,6 +10808,17 @@ export declare const cxLogContract: {
10749
10808
  slaStatus: "meet" | "unmeet" | "-";
10750
10809
  }>;
10751
10810
  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
+ }>;
10752
10822
  responses: {
10753
10823
  200: null;
10754
10824
  403: z.ZodObject<{
@@ -10782,17 +10852,6 @@ export declare const cxLogContract: {
10782
10852
  error?: any;
10783
10853
  }>;
10784
10854
  };
10785
- path: "/ms/cx-logs";
10786
- headers: z.ZodObject<{
10787
- 'x-tenant': z.ZodString;
10788
- 'x-code': z.ZodOptional<z.ZodString>;
10789
- }, "strip", z.ZodTypeAny, {
10790
- 'x-tenant': string;
10791
- 'x-code'?: string | undefined;
10792
- }, {
10793
- 'x-tenant': string;
10794
- 'x-code'?: string | undefined;
10795
- }>;
10796
10855
  };
10797
10856
  };
10798
10857
  //# sourceMappingURL=index.d.ts.map