@kl1/contracts 1.4.66 → 1.4.68

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 (256) 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 +2241 -2146
  34. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  35. package/dist/api-contracts/src/channel/schema.d.ts +82 -82
  36. package/dist/api-contracts/src/channel/validation.d.ts +168 -104
  37. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  38. package/dist/api-contracts/src/chat/index.d.ts +13567 -12971
  39. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  40. package/dist/api-contracts/src/chat/schema.d.ts +3072 -2896
  41. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  42. package/dist/api-contracts/src/chat/validation.d.ts +3398 -3298
  43. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  44. package/dist/api-contracts/src/comment/index.d.ts +227 -155
  45. package/dist/api-contracts/src/comment/index.d.ts.map +1 -1
  46. package/dist/api-contracts/src/comment/schema.d.ts +52 -29
  47. package/dist/api-contracts/src/comment/schema.d.ts.map +1 -1
  48. package/dist/api-contracts/src/company/index.d.ts +82 -55
  49. package/dist/api-contracts/src/company/index.d.ts.map +1 -1
  50. package/dist/api-contracts/src/company/schema.d.ts +15 -6
  51. package/dist/api-contracts/src/company/schema.d.ts.map +1 -1
  52. package/dist/api-contracts/src/company/validation.d.ts +46 -30
  53. package/dist/api-contracts/src/company/validation.d.ts.map +1 -1
  54. package/dist/api-contracts/src/contact/index.d.ts +437 -318
  55. package/dist/api-contracts/src/contact/index.d.ts.map +1 -1
  56. package/dist/api-contracts/src/contact/schema.d.ts +28 -14
  57. package/dist/api-contracts/src/contact/schema.d.ts.map +1 -1
  58. package/dist/api-contracts/src/contact/validation.d.ts +137 -56
  59. package/dist/api-contracts/src/contact/validation.d.ts.map +1 -1
  60. package/dist/api-contracts/src/contact-email/schema.d.ts +1 -0
  61. package/dist/api-contracts/src/contact-email/schema.d.ts.map +1 -1
  62. package/dist/api-contracts/src/contact-phone/schema.d.ts +1 -0
  63. package/dist/api-contracts/src/contact-phone/schema.d.ts.map +1 -1
  64. package/dist/api-contracts/src/contract.d.ts +29623 -23768
  65. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  66. package/dist/api-contracts/src/custom-field/schema.d.ts +1 -0
  67. package/dist/api-contracts/src/custom-field/schema.d.ts.map +1 -1
  68. package/dist/api-contracts/src/custom-field/validation.d.ts +2 -2
  69. package/dist/api-contracts/src/custom-field-upload/schema.d.ts +1 -0
  70. package/dist/api-contracts/src/custom-field-upload/schema.d.ts.map +1 -1
  71. package/dist/api-contracts/src/cx-intelligence/index.d.ts +44 -41
  72. package/dist/api-contracts/src/cx-intelligence/index.d.ts.map +1 -1
  73. package/dist/api-contracts/src/cx-log/index.d.ts +675 -627
  74. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  75. package/dist/api-contracts/src/cx-log/schema.d.ts +455 -402
  76. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  77. package/dist/api-contracts/src/cx-log/validation.d.ts +40 -40
  78. package/dist/api-contracts/src/dashboard/index.d.ts +355 -312
  79. package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
  80. package/dist/api-contracts/src/dashboard/schema.d.ts +3 -2
  81. package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
  82. package/dist/api-contracts/src/dashboard/validation.d.ts +14 -10
  83. package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
  84. package/dist/api-contracts/src/evaluate-form/index.d.ts +2 -1
  85. package/dist/api-contracts/src/evaluate-form/index.d.ts.map +1 -1
  86. package/dist/api-contracts/src/evaluate-form/schema.d.ts +1 -0
  87. package/dist/api-contracts/src/evaluate-form/schema.d.ts.map +1 -1
  88. package/dist/api-contracts/src/export/index.d.ts +2 -1
  89. package/dist/api-contracts/src/export/index.d.ts.map +1 -1
  90. package/dist/api-contracts/src/extension/index.d.ts +106 -100
  91. package/dist/api-contracts/src/extension/index.d.ts.map +1 -1
  92. package/dist/api-contracts/src/facebook-feed/index.d.ts +3235 -3150
  93. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  94. package/dist/api-contracts/src/facebook-feed/schema.d.ts +93 -81
  95. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  96. package/dist/api-contracts/src/facebook-feed/validation.d.ts +94 -83
  97. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  98. package/dist/api-contracts/src/general-setting/index.d.ts +2 -2
  99. package/dist/api-contracts/src/group/schema.d.ts +1 -0
  100. package/dist/api-contracts/src/group/schema.d.ts.map +1 -1
  101. package/dist/api-contracts/src/hold-label/index.d.ts +49 -30
  102. package/dist/api-contracts/src/hold-label/index.d.ts.map +1 -1
  103. package/dist/api-contracts/src/hold-label/schema.d.ts +10 -4
  104. package/dist/api-contracts/src/hold-label/schema.d.ts.map +1 -1
  105. package/dist/api-contracts/src/hold-label/validation.d.ts +2 -2
  106. package/dist/api-contracts/src/index.d.ts +1 -0
  107. package/dist/api-contracts/src/index.d.ts.map +1 -1
  108. package/dist/api-contracts/src/instagram/index.d.ts +2040 -1968
  109. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  110. package/dist/api-contracts/src/instagram/validation.d.ts +6 -6
  111. package/dist/api-contracts/src/invoice/index.d.ts +3 -1
  112. package/dist/api-contracts/src/invoice/index.d.ts.map +1 -1
  113. package/dist/api-contracts/src/invoice/schema.d.ts +1 -0
  114. package/dist/api-contracts/src/invoice/schema.d.ts.map +1 -1
  115. package/dist/api-contracts/src/klink-chat/index.d.ts +1779 -1708
  116. package/dist/api-contracts/src/klink-chat/index.d.ts.map +1 -1
  117. package/dist/api-contracts/src/line/index.d.ts +2009 -1937
  118. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  119. package/dist/api-contracts/src/line/schema.d.ts +10 -9
  120. package/dist/api-contracts/src/line/schema.d.ts.map +1 -1
  121. package/dist/api-contracts/src/line/validation.d.ts +148 -148
  122. package/dist/api-contracts/src/log-form/schema.d.ts +1 -0
  123. package/dist/api-contracts/src/log-form/schema.d.ts.map +1 -1
  124. package/dist/api-contracts/src/mail/account-contract.d.ts +184 -174
  125. package/dist/api-contracts/src/mail/account-contract.d.ts.map +1 -1
  126. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts +2 -1
  127. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts.map +1 -1
  128. package/dist/api-contracts/src/mail/mail-contract.d.ts +354 -303
  129. package/dist/api-contracts/src/mail/mail-contract.d.ts.map +1 -1
  130. package/dist/api-contracts/src/mail/mail-server-contract.d.ts +12 -6
  131. package/dist/api-contracts/src/mail/mail-server-contract.d.ts.map +1 -1
  132. package/dist/api-contracts/src/mail/message-contract.d.ts +86 -80
  133. package/dist/api-contracts/src/mail/message-contract.d.ts.map +1 -1
  134. package/dist/api-contracts/src/mail/room-contract.d.ts +72 -43
  135. package/dist/api-contracts/src/mail/room-contract.d.ts.map +1 -1
  136. package/dist/api-contracts/src/mail/schemas/message-validation.schema.d.ts +16 -16
  137. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +24 -18
  138. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
  139. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +13 -6
  140. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts.map +1 -1
  141. package/dist/api-contracts/src/messenger/index.d.ts +2033 -1960
  142. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  143. package/dist/api-contracts/src/messenger/validation.d.ts +94 -83
  144. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  145. package/dist/api-contracts/src/notification/index.d.ts +20 -13
  146. package/dist/api-contracts/src/notification/index.d.ts.map +1 -1
  147. package/dist/api-contracts/src/notification/schema.d.ts +12 -9
  148. package/dist/api-contracts/src/notification/schema.d.ts.map +1 -1
  149. package/dist/api-contracts/src/notification/validation.d.ts +4 -3
  150. package/dist/api-contracts/src/notification/validation.d.ts.map +1 -1
  151. package/dist/api-contracts/src/permission/index.d.ts +17 -17
  152. package/dist/api-contracts/src/presence-status/index.d.ts +87 -83
  153. package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
  154. package/dist/api-contracts/src/presence-status/schema.d.ts +4 -3
  155. package/dist/api-contracts/src/presence-status/schema.d.ts.map +1 -1
  156. package/dist/api-contracts/src/public-api/index.d.ts +4516 -104
  157. package/dist/api-contracts/src/public-api/index.d.ts.map +1 -1
  158. package/dist/api-contracts/src/public-api/schema.d.ts +20 -6
  159. package/dist/api-contracts/src/public-api/schema.d.ts.map +1 -1
  160. package/dist/api-contracts/src/public-api/validation.d.ts +63 -38
  161. package/dist/api-contracts/src/public-api/validation.d.ts.map +1 -1
  162. package/dist/api-contracts/src/role/index.d.ts +80 -75
  163. package/dist/api-contracts/src/role/index.d.ts.map +1 -1
  164. package/dist/api-contracts/src/sms/index.d.ts +546 -542
  165. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  166. package/dist/api-contracts/src/snippet/index.d.ts +32 -10
  167. package/dist/api-contracts/src/snippet/index.d.ts.map +1 -1
  168. package/dist/api-contracts/src/snippet/schema.d.ts +7 -0
  169. package/dist/api-contracts/src/snippet/schema.d.ts.map +1 -1
  170. package/dist/api-contracts/src/snippet/validation.d.ts +3 -2
  171. package/dist/api-contracts/src/snippet/validation.d.ts.map +1 -1
  172. package/dist/api-contracts/src/subscription/index.d.ts +474 -6
  173. package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
  174. package/dist/api-contracts/src/subscription/schema.d.ts +31 -0
  175. package/dist/api-contracts/src/subscription/schema.d.ts.map +1 -1
  176. package/dist/api-contracts/src/tag/index.d.ts +65 -58
  177. package/dist/api-contracts/src/tag/index.d.ts.map +1 -1
  178. package/dist/api-contracts/src/tag/schema.d.ts +1 -0
  179. package/dist/api-contracts/src/tag/schema.d.ts.map +1 -1
  180. package/dist/api-contracts/src/tag-group/schema.d.ts +1 -0
  181. package/dist/api-contracts/src/tag-group/schema.d.ts.map +1 -1
  182. package/dist/api-contracts/src/telegram/index.d.ts +2451 -2381
  183. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  184. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +38 -463
  185. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  186. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +5 -6
  187. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  188. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts +0 -3
  189. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts.map +1 -1
  190. package/dist/api-contracts/src/telephony-cdr/call-report.schema.d.ts +38 -38
  191. package/dist/api-contracts/src/telephony-cdr/index.d.ts +756 -702
  192. package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
  193. package/dist/api-contracts/src/telephony-cdr/schema.d.ts +170 -144
  194. package/dist/api-contracts/src/telephony-cdr/schema.d.ts.map +1 -1
  195. package/dist/api-contracts/src/telephony-cdr/validation.d.ts +43 -39
  196. package/dist/api-contracts/src/telephony-cdr/validation.d.ts.map +1 -1
  197. package/dist/api-contracts/src/telephony-extension/index.d.ts +21 -21
  198. package/dist/api-contracts/src/telephony-extension/schema.d.ts +4 -4
  199. package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts +1 -0
  200. package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts.map +1 -1
  201. package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts +1 -0
  202. package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts.map +1 -1
  203. package/dist/api-contracts/src/tenant/schema.d.ts +1 -0
  204. package/dist/api-contracts/src/tenant/schema.d.ts.map +1 -1
  205. package/dist/api-contracts/src/ticket/index.d.ts +564 -452
  206. package/dist/api-contracts/src/ticket/index.d.ts.map +1 -1
  207. package/dist/api-contracts/src/ticket/schema.d.ts +47 -21
  208. package/dist/api-contracts/src/ticket/schema.d.ts.map +1 -1
  209. package/dist/api-contracts/src/ticket/validation.d.ts +53 -51
  210. package/dist/api-contracts/src/ticket/validation.d.ts.map +1 -1
  211. package/dist/api-contracts/src/upload/index.d.ts +32 -30
  212. package/dist/api-contracts/src/upload/index.d.ts.map +1 -1
  213. package/dist/api-contracts/src/upload/schema.d.ts +1 -0
  214. package/dist/api-contracts/src/upload/schema.d.ts.map +1 -1
  215. package/dist/api-contracts/src/user/index.d.ts +137 -126
  216. package/dist/api-contracts/src/user/index.d.ts.map +1 -1
  217. package/dist/api-contracts/src/user/schema.d.ts +4 -3
  218. package/dist/api-contracts/src/user/schema.d.ts.map +1 -1
  219. package/dist/api-contracts/src/user/validation.d.ts +3 -2
  220. package/dist/api-contracts/src/user/validation.d.ts.map +1 -1
  221. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +34 -32
  222. package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
  223. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +5 -3
  224. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
  225. package/dist/api-contracts/src/viber/index.d.ts +2440 -2370
  226. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  227. package/dist/api-contracts/src/webchat/index.d.ts +1700 -1630
  228. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  229. package/dist/api-contracts/src/whatsapp/index.d.ts +1777 -1703
  230. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  231. package/dist/api-contracts/src/whatsapp/validation.d.ts +3 -0
  232. package/dist/api-contracts/src/whatsapp/validation.d.ts.map +1 -1
  233. package/dist/api-contracts/src/widget/index.d.ts +145 -132
  234. package/dist/api-contracts/src/widget/index.d.ts.map +1 -1
  235. package/dist/api-contracts/src/widget/schema.d.ts +1 -0
  236. package/dist/api-contracts/src/widget/schema.d.ts.map +1 -1
  237. package/dist/api-contracts/src/widget/validation.d.ts +16 -16
  238. package/dist/api-contracts/src/workflow-rule/index.d.ts +2068 -1937
  239. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  240. package/dist/api-contracts/src/workflow-rule/schema.d.ts +1 -0
  241. package/dist/api-contracts/src/workflow-rule/schema.d.ts.map +1 -1
  242. package/dist/api-contracts/src/wrap-up-form/index.d.ts +128 -109
  243. package/dist/api-contracts/src/wrap-up-form/index.d.ts.map +1 -1
  244. package/dist/api-contracts/src/wrap-up-form/schema.d.ts +3 -0
  245. package/dist/api-contracts/src/wrap-up-form/schema.d.ts.map +1 -1
  246. package/dist/api-contracts/src/wrap-up-form/validation.d.ts +19 -18
  247. package/dist/api-contracts/src/wrap-up-form/validation.d.ts.map +1 -1
  248. package/dist/api-contracts/utils.d.ts +2 -1
  249. package/dist/api-contracts/utils.d.ts.map +1 -1
  250. package/dist/entities/src/enums/chat.d.ts +1 -0
  251. package/dist/entities/src/enums/chat.d.ts.map +1 -1
  252. package/dist/index.js +1771 -1687
  253. package/dist/index.js.map +1 -1
  254. package/dist/index.mjs +1770 -1687
  255. package/dist/index.mjs.map +1 -1
  256. package/package.json +3 -3
@@ -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;
@@ -2002,33 +2037,33 @@ export declare const cxLogContract: {
2002
2037
  }, "strip", z.ZodTypeAny, {
2003
2038
  name: string;
2004
2039
  id: string;
2005
- accessToken?: string | undefined;
2006
- channelSecret?: string | undefined;
2007
- additionalCredentials?: any;
2008
- senderId?: string | undefined;
2040
+ line?: {
2041
+ channelId: string;
2042
+ channelSecret: string;
2043
+ } | undefined;
2009
2044
  whatsapp?: {
2045
+ email?: string | null | undefined;
2046
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2047
+ channelId?: string | null | undefined;
2010
2048
  wabaBusinessId?: string | null | undefined;
2011
2049
  wabaExternalId?: string | null | undefined;
2012
2050
  phoneNumberId?: string | null | undefined;
2013
- email?: string | null | undefined;
2014
2051
  clientId?: string | null | undefined;
2015
- channelId?: string | null | undefined;
2016
2052
  waapiInstanceId?: string | null | undefined;
2017
2053
  qr?: string | null | undefined;
2018
- status?: "active" | "pending" | "waapi-qr" | undefined;
2019
2054
  apiKey?: string | undefined;
2020
2055
  tier?: "basic" | "regular" | "premium" | undefined;
2021
2056
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2022
2057
  } | undefined;
2058
+ additionalCredentials?: any;
2059
+ accessToken?: string | undefined;
2060
+ channelSecret?: string | undefined;
2061
+ senderId?: string | undefined;
2023
2062
  vonageCredentials?: {
2024
2063
  apiKey: string;
2025
2064
  mobileNumber: string;
2026
2065
  apiSecret: string;
2027
2066
  } | undefined;
2028
- line?: {
2029
- channelId: string;
2030
- channelSecret: string;
2031
- } | undefined;
2032
2067
  lineRichMenuId?: string | null | undefined;
2033
2068
  messengerIntegrationType?: "own" | "business" | undefined;
2034
2069
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -2037,33 +2072,33 @@ export declare const cxLogContract: {
2037
2072
  }, {
2038
2073
  name: string;
2039
2074
  id: string;
2040
- accessToken?: string | undefined;
2041
- channelSecret?: string | undefined;
2042
- additionalCredentials?: any;
2043
- senderId?: string | undefined;
2075
+ line?: {
2076
+ channelId: string;
2077
+ channelSecret: string;
2078
+ } | undefined;
2044
2079
  whatsapp?: {
2080
+ email?: string | null | undefined;
2081
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2082
+ channelId?: string | null | undefined;
2045
2083
  wabaBusinessId?: string | null | undefined;
2046
2084
  wabaExternalId?: string | null | undefined;
2047
2085
  phoneNumberId?: string | null | undefined;
2048
- email?: string | null | undefined;
2049
2086
  clientId?: string | null | undefined;
2050
- channelId?: string | null | undefined;
2051
2087
  waapiInstanceId?: string | null | undefined;
2052
2088
  qr?: string | null | undefined;
2053
- status?: "active" | "pending" | "waapi-qr" | undefined;
2054
2089
  apiKey?: string | undefined;
2055
2090
  tier?: "basic" | "regular" | "premium" | undefined;
2056
2091
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2057
2092
  } | undefined;
2093
+ additionalCredentials?: any;
2094
+ accessToken?: string | undefined;
2095
+ channelSecret?: string | undefined;
2096
+ senderId?: string | undefined;
2058
2097
  vonageCredentials?: {
2059
2098
  apiKey: string;
2060
2099
  mobileNumber: string;
2061
2100
  apiSecret: string;
2062
2101
  } | undefined;
2063
- line?: {
2064
- channelId: string;
2065
- channelSecret: string;
2066
- } | undefined;
2067
2102
  lineRichMenuId?: string | null | undefined;
2068
2103
  messengerIntegrationType?: "own" | "business" | undefined;
2069
2104
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -2306,33 +2341,33 @@ export declare const cxLogContract: {
2306
2341
  metadata: {
2307
2342
  name: string;
2308
2343
  id: string;
2309
- accessToken?: string | undefined;
2310
- channelSecret?: string | undefined;
2311
- additionalCredentials?: any;
2312
- senderId?: string | undefined;
2344
+ line?: {
2345
+ channelId: string;
2346
+ channelSecret: string;
2347
+ } | undefined;
2313
2348
  whatsapp?: {
2349
+ email?: string | null | undefined;
2350
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2351
+ channelId?: string | null | undefined;
2314
2352
  wabaBusinessId?: string | null | undefined;
2315
2353
  wabaExternalId?: string | null | undefined;
2316
2354
  phoneNumberId?: string | null | undefined;
2317
- email?: string | null | undefined;
2318
2355
  clientId?: string | null | undefined;
2319
- channelId?: string | null | undefined;
2320
2356
  waapiInstanceId?: string | null | undefined;
2321
2357
  qr?: string | null | undefined;
2322
- status?: "active" | "pending" | "waapi-qr" | undefined;
2323
2358
  apiKey?: string | undefined;
2324
2359
  tier?: "basic" | "regular" | "premium" | undefined;
2325
2360
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2326
2361
  } | undefined;
2362
+ additionalCredentials?: any;
2363
+ accessToken?: string | undefined;
2364
+ channelSecret?: string | undefined;
2365
+ senderId?: string | undefined;
2327
2366
  vonageCredentials?: {
2328
2367
  apiKey: string;
2329
2368
  mobileNumber: string;
2330
2369
  apiSecret: string;
2331
2370
  } | undefined;
2332
- line?: {
2333
- channelId: string;
2334
- channelSecret: string;
2335
- } | undefined;
2336
2371
  lineRichMenuId?: string | null | undefined;
2337
2372
  messengerIntegrationType?: "own" | "business" | undefined;
2338
2373
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -2406,33 +2441,33 @@ export declare const cxLogContract: {
2406
2441
  metadata: {
2407
2442
  name: string;
2408
2443
  id: string;
2409
- accessToken?: string | undefined;
2410
- channelSecret?: string | undefined;
2411
- additionalCredentials?: any;
2412
- senderId?: string | undefined;
2444
+ line?: {
2445
+ channelId: string;
2446
+ channelSecret: string;
2447
+ } | undefined;
2413
2448
  whatsapp?: {
2449
+ email?: string | null | undefined;
2450
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2451
+ channelId?: string | null | undefined;
2414
2452
  wabaBusinessId?: string | null | undefined;
2415
2453
  wabaExternalId?: string | null | undefined;
2416
2454
  phoneNumberId?: string | null | undefined;
2417
- email?: string | null | undefined;
2418
2455
  clientId?: string | null | undefined;
2419
- channelId?: string | null | undefined;
2420
2456
  waapiInstanceId?: string | null | undefined;
2421
2457
  qr?: string | null | undefined;
2422
- status?: "active" | "pending" | "waapi-qr" | undefined;
2423
2458
  apiKey?: string | undefined;
2424
2459
  tier?: "basic" | "regular" | "premium" | undefined;
2425
2460
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2426
2461
  } | undefined;
2462
+ additionalCredentials?: any;
2463
+ accessToken?: string | undefined;
2464
+ channelSecret?: string | undefined;
2465
+ senderId?: string | undefined;
2427
2466
  vonageCredentials?: {
2428
2467
  apiKey: string;
2429
2468
  mobileNumber: string;
2430
2469
  apiSecret: string;
2431
2470
  } | undefined;
2432
- line?: {
2433
- channelId: string;
2434
- channelSecret: string;
2435
- } | undefined;
2436
2471
  lineRichMenuId?: string | null | undefined;
2437
2472
  messengerIntegrationType?: "own" | "business" | undefined;
2438
2473
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -2509,33 +2544,33 @@ export declare const cxLogContract: {
2509
2544
  metadata: {
2510
2545
  name: string;
2511
2546
  id: string;
2512
- accessToken?: string | undefined;
2513
- channelSecret?: string | undefined;
2514
- additionalCredentials?: any;
2515
- senderId?: string | undefined;
2547
+ line?: {
2548
+ channelId: string;
2549
+ channelSecret: string;
2550
+ } | undefined;
2516
2551
  whatsapp?: {
2552
+ email?: string | null | undefined;
2553
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2554
+ channelId?: string | null | undefined;
2517
2555
  wabaBusinessId?: string | null | undefined;
2518
2556
  wabaExternalId?: string | null | undefined;
2519
2557
  phoneNumberId?: string | null | undefined;
2520
- email?: string | null | undefined;
2521
2558
  clientId?: string | null | undefined;
2522
- channelId?: string | null | undefined;
2523
2559
  waapiInstanceId?: string | null | undefined;
2524
2560
  qr?: string | null | undefined;
2525
- status?: "active" | "pending" | "waapi-qr" | undefined;
2526
2561
  apiKey?: string | undefined;
2527
2562
  tier?: "basic" | "regular" | "premium" | undefined;
2528
2563
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2529
2564
  } | undefined;
2565
+ additionalCredentials?: any;
2566
+ accessToken?: string | undefined;
2567
+ channelSecret?: string | undefined;
2568
+ senderId?: string | undefined;
2530
2569
  vonageCredentials?: {
2531
2570
  apiKey: string;
2532
2571
  mobileNumber: string;
2533
2572
  apiSecret: string;
2534
2573
  } | undefined;
2535
- line?: {
2536
- channelId: string;
2537
- channelSecret: string;
2538
- } | undefined;
2539
2574
  lineRichMenuId?: string | null | undefined;
2540
2575
  messengerIntegrationType?: "own" | "business" | undefined;
2541
2576
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -2838,33 +2873,33 @@ export declare const cxLogContract: {
2838
2873
  metadata: {
2839
2874
  name: string;
2840
2875
  id: string;
2841
- accessToken?: string | undefined;
2842
- channelSecret?: string | undefined;
2843
- additionalCredentials?: any;
2844
- senderId?: string | undefined;
2876
+ line?: {
2877
+ channelId: string;
2878
+ channelSecret: string;
2879
+ } | undefined;
2845
2880
  whatsapp?: {
2881
+ email?: string | null | undefined;
2882
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2883
+ channelId?: string | null | undefined;
2846
2884
  wabaBusinessId?: string | null | undefined;
2847
2885
  wabaExternalId?: string | null | undefined;
2848
2886
  phoneNumberId?: string | null | undefined;
2849
- email?: string | null | undefined;
2850
2887
  clientId?: string | null | undefined;
2851
- channelId?: string | null | undefined;
2852
2888
  waapiInstanceId?: string | null | undefined;
2853
2889
  qr?: string | null | undefined;
2854
- status?: "active" | "pending" | "waapi-qr" | undefined;
2855
2890
  apiKey?: string | undefined;
2856
2891
  tier?: "basic" | "regular" | "premium" | undefined;
2857
2892
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2858
2893
  } | undefined;
2894
+ additionalCredentials?: any;
2895
+ accessToken?: string | undefined;
2896
+ channelSecret?: string | undefined;
2897
+ senderId?: string | undefined;
2859
2898
  vonageCredentials?: {
2860
2899
  apiKey: string;
2861
2900
  mobileNumber: string;
2862
2901
  apiSecret: string;
2863
2902
  } | undefined;
2864
- line?: {
2865
- channelId: string;
2866
- channelSecret: string;
2867
- } | undefined;
2868
2903
  lineRichMenuId?: string | null | undefined;
2869
2904
  messengerIntegrationType?: "own" | "business" | undefined;
2870
2905
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -3164,6 +3199,7 @@ export declare const cxLogContract: {
3164
3199
  createdAt: z.ZodDate;
3165
3200
  updatedAt: z.ZodDate;
3166
3201
  deletedAt: z.ZodNullable<z.ZodDate>;
3202
+ } & {
3167
3203
  uniqueCallId: z.ZodString;
3168
3204
  timeStart: z.ZodString;
3169
3205
  callFrom: z.ZodString;
@@ -3188,6 +3224,7 @@ export declare const cxLogContract: {
3188
3224
  createdAt: z.ZodDate;
3189
3225
  updatedAt: z.ZodDate;
3190
3226
  deletedAt: z.ZodNullable<z.ZodDate>;
3227
+ } & {
3191
3228
  name: z.ZodString;
3192
3229
  }, "strip", z.ZodTypeAny, {
3193
3230
  name: string;
@@ -3207,6 +3244,7 @@ export declare const cxLogContract: {
3207
3244
  createdAt: z.ZodDate;
3208
3245
  updatedAt: z.ZodDate;
3209
3246
  deletedAt: z.ZodNullable<z.ZodDate>;
3247
+ } & {
3210
3248
  name: z.ZodOptional<z.ZodString>;
3211
3249
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3212
3250
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3216,6 +3254,7 @@ export declare const cxLogContract: {
3216
3254
  createdAt: z.ZodDate;
3217
3255
  updatedAt: z.ZodDate;
3218
3256
  deletedAt: z.ZodNullable<z.ZodDate>;
3257
+ } & {
3219
3258
  textValue: z.ZodNullable<z.ZodString>;
3220
3259
  booleanValue: z.ZodNullable<z.ZodBoolean>;
3221
3260
  numberValue: z.ZodNullable<z.ZodNumber>;
@@ -3225,6 +3264,7 @@ export declare const cxLogContract: {
3225
3264
  createdAt: z.ZodDate;
3226
3265
  updatedAt: z.ZodDate;
3227
3266
  deletedAt: z.ZodNullable<z.ZodDate>;
3267
+ } & {
3228
3268
  systemName: z.ZodString;
3229
3269
  displayName: z.ZodString;
3230
3270
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -3234,10 +3274,11 @@ export declare const cxLogContract: {
3234
3274
  isRequired: z.ZodBoolean;
3235
3275
  isUnique: z.ZodBoolean;
3236
3276
  options: z.ZodArray<z.ZodObject<{
3237
- position: z.ZodNumber;
3238
- value: z.ZodString;
3239
3277
  label: z.ZodString;
3278
+ value: z.ZodString;
3240
3279
  isDefault: z.ZodBoolean;
3280
+ position: z.ZodNumber;
3281
+ } & {
3241
3282
  id: z.ZodString;
3242
3283
  }, "strip", z.ZodTypeAny, {
3243
3284
  id: string;
@@ -3257,6 +3298,7 @@ export declare const cxLogContract: {
3257
3298
  createdAt: z.ZodDate;
3258
3299
  updatedAt: z.ZodDate;
3259
3300
  deletedAt: z.ZodNullable<z.ZodDate>;
3301
+ } & {
3260
3302
  systemName: z.ZodString;
3261
3303
  displayName: z.ZodString;
3262
3304
  }, "strip", z.ZodTypeAny, {
@@ -3434,6 +3476,7 @@ export declare const cxLogContract: {
3434
3476
  createdAt: z.ZodDate;
3435
3477
  updatedAt: z.ZodDate;
3436
3478
  deletedAt: z.ZodNullable<z.ZodDate>;
3479
+ } & {
3437
3480
  systemName: z.ZodString;
3438
3481
  displayName: z.ZodString;
3439
3482
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -3443,10 +3486,11 @@ export declare const cxLogContract: {
3443
3486
  isRequired: z.ZodBoolean;
3444
3487
  isUnique: z.ZodBoolean;
3445
3488
  options: z.ZodArray<z.ZodObject<{
3446
- position: z.ZodNumber;
3447
- value: z.ZodString;
3448
3489
  label: z.ZodString;
3490
+ value: z.ZodString;
3449
3491
  isDefault: z.ZodBoolean;
3492
+ position: z.ZodNumber;
3493
+ } & {
3450
3494
  id: z.ZodString;
3451
3495
  }, "strip", z.ZodTypeAny, {
3452
3496
  id: string;
@@ -3466,6 +3510,7 @@ export declare const cxLogContract: {
3466
3510
  createdAt: z.ZodDate;
3467
3511
  updatedAt: z.ZodDate;
3468
3512
  deletedAt: z.ZodNullable<z.ZodDate>;
3513
+ } & {
3469
3514
  systemName: z.ZodString;
3470
3515
  displayName: z.ZodString;
3471
3516
  }, "strip", z.ZodTypeAny, {
@@ -3515,6 +3560,7 @@ export declare const cxLogContract: {
3515
3560
  createdAt: z.ZodDate;
3516
3561
  updatedAt: z.ZodDate;
3517
3562
  deletedAt: z.ZodNullable<z.ZodDate>;
3563
+ } & {
3518
3564
  bucketName: z.ZodString;
3519
3565
  fileName: z.ZodString;
3520
3566
  fileSize: z.ZodNumber;
@@ -3947,6 +3993,7 @@ export declare const cxLogContract: {
3947
3993
  createdAt: z.ZodDate;
3948
3994
  updatedAt: z.ZodDate;
3949
3995
  deletedAt: z.ZodNullable<z.ZodDate>;
3996
+ } & {
3950
3997
  queueId: z.ZodNumber;
3951
3998
  queueName: z.ZodString;
3952
3999
  queueNumber: z.ZodString;
@@ -3983,6 +4030,7 @@ export declare const cxLogContract: {
3983
4030
  createdAt: z.ZodDate;
3984
4031
  updatedAt: z.ZodDate;
3985
4032
  deletedAt: z.ZodNullable<z.ZodDate>;
4033
+ } & {
3986
4034
  bucketName: z.ZodString;
3987
4035
  fileName: z.ZodString;
3988
4036
  fileSize: z.ZodNumber;
@@ -4016,17 +4064,18 @@ export declare const cxLogContract: {
4016
4064
  callTo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4017
4065
  id: z.ZodString;
4018
4066
  user: z.ZodNullable<z.ZodObject<Omit<{
4019
- name: z.ZodString;
4020
4067
  id: z.ZodString;
4021
- address: z.ZodNullable<z.ZodString>;
4022
- email: z.ZodString;
4023
4068
  createdAt: z.ZodDate;
4024
4069
  updatedAt: z.ZodDate;
4025
4070
  deletedAt: z.ZodNullable<z.ZodDate>;
4071
+ name: z.ZodString;
4072
+ email: z.ZodString;
4026
4073
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
4027
4074
  password: z.ZodString;
4075
+ address: z.ZodNullable<z.ZodString>;
4028
4076
  phone: z.ZodNullable<z.ZodString>;
4029
4077
  notificationCount: z.ZodNullable<z.ZodNumber>;
4078
+ } & {
4030
4079
  roles: z.ZodArray<z.ZodObject<{
4031
4080
  id: z.ZodString;
4032
4081
  createdAt: z.ZodDate;
@@ -4221,17 +4270,18 @@ export declare const cxLogContract: {
4221
4270
  callFrom: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4222
4271
  id: z.ZodString;
4223
4272
  user: z.ZodNullable<z.ZodObject<Omit<{
4224
- name: z.ZodString;
4225
4273
  id: z.ZodString;
4226
- address: z.ZodNullable<z.ZodString>;
4227
- email: z.ZodString;
4228
4274
  createdAt: z.ZodDate;
4229
4275
  updatedAt: z.ZodDate;
4230
4276
  deletedAt: z.ZodNullable<z.ZodDate>;
4277
+ name: z.ZodString;
4278
+ email: z.ZodString;
4231
4279
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
4232
4280
  password: z.ZodString;
4281
+ address: z.ZodNullable<z.ZodString>;
4233
4282
  phone: z.ZodNullable<z.ZodString>;
4234
4283
  notificationCount: z.ZodNullable<z.ZodNumber>;
4284
+ } & {
4235
4285
  roles: z.ZodArray<z.ZodObject<{
4236
4286
  id: z.ZodString;
4237
4287
  createdAt: z.ZodDate;
@@ -4424,7 +4474,7 @@ export declare const cxLogContract: {
4424
4474
  updatedAt?: string | undefined;
4425
4475
  }>>>;
4426
4476
  }, "strip", z.ZodTypeAny, {
4427
- callTo?: {
4477
+ callFrom?: {
4428
4478
  id: string;
4429
4479
  user: {
4430
4480
  name: string;
@@ -4450,7 +4500,7 @@ export declare const cxLogContract: {
4450
4500
  createdAt?: string | undefined;
4451
4501
  updatedAt?: string | undefined;
4452
4502
  } | null | undefined;
4453
- callFrom?: {
4503
+ callTo?: {
4454
4504
  id: string;
4455
4505
  user: {
4456
4506
  name: string;
@@ -4477,7 +4527,7 @@ export declare const cxLogContract: {
4477
4527
  updatedAt?: string | undefined;
4478
4528
  } | null | undefined;
4479
4529
  }, {
4480
- callTo?: {
4530
+ callFrom?: {
4481
4531
  id: string;
4482
4532
  user: {
4483
4533
  name: string;
@@ -4503,7 +4553,7 @@ export declare const cxLogContract: {
4503
4553
  createdAt?: string | undefined;
4504
4554
  updatedAt?: string | undefined;
4505
4555
  } | null | undefined;
4506
- callFrom?: {
4556
+ callTo?: {
4507
4557
  id: string;
4508
4558
  user: {
4509
4559
  name: string;
@@ -4544,18 +4594,20 @@ export declare const cxLogContract: {
4544
4594
  extensionId: z.ZodNullable<z.ZodString>;
4545
4595
  extensionName: z.ZodString;
4546
4596
  telephonySignature: z.ZodNullable<z.ZodString>;
4597
+ } & {
4547
4598
  user: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4548
- name: z.ZodString;
4549
4599
  id: z.ZodString;
4550
- address: z.ZodNullable<z.ZodString>;
4551
- email: z.ZodString;
4552
4600
  createdAt: z.ZodDate;
4553
4601
  updatedAt: z.ZodDate;
4554
4602
  deletedAt: z.ZodNullable<z.ZodDate>;
4603
+ name: z.ZodString;
4604
+ email: z.ZodString;
4555
4605
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
4556
4606
  password: z.ZodString;
4607
+ address: z.ZodNullable<z.ZodString>;
4557
4608
  phone: z.ZodNullable<z.ZodString>;
4558
4609
  notificationCount: z.ZodNullable<z.ZodNumber>;
4610
+ } & {
4559
4611
  roles: z.ZodArray<z.ZodObject<{
4560
4612
  id: z.ZodString;
4561
4613
  createdAt: z.ZodDate;
@@ -4886,7 +4938,7 @@ export declare const cxLogContract: {
4886
4938
  uploadId: string | null;
4887
4939
  serialNumber: string | null;
4888
4940
  callParticipants: {
4889
- callTo?: {
4941
+ callFrom?: {
4890
4942
  id: string;
4891
4943
  user: {
4892
4944
  name: string;
@@ -4912,7 +4964,7 @@ export declare const cxLogContract: {
4912
4964
  createdAt?: string | undefined;
4913
4965
  updatedAt?: string | undefined;
4914
4966
  } | null | undefined;
4915
- callFrom?: {
4967
+ callTo?: {
4916
4968
  id: string;
4917
4969
  user: {
4918
4970
  name: string;
@@ -4942,6 +4994,63 @@ export declare const cxLogContract: {
4942
4994
  isQueueMissedCall: boolean;
4943
4995
  telephonyQueueId: string | null;
4944
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;
4945
5054
  contact?: {
4946
5055
  name: string;
4947
5056
  id: string;
@@ -5076,63 +5185,6 @@ export declare const cxLogContract: {
5076
5185
  fileSize: number;
5077
5186
  fileUrl: string | null;
5078
5187
  } | null | undefined;
5079
- extension?: {
5080
- id: string;
5081
- createdAt: Date;
5082
- updatedAt: Date;
5083
- deletedAt: Date | null;
5084
- userId: string | null;
5085
- sipServerUrl: string;
5086
- sipUserName: string;
5087
- webphoneLoginUser: string;
5088
- extensionId: string | null;
5089
- extensionName: string;
5090
- telephonySignature: string | null;
5091
- user?: {
5092
- name: string;
5093
- id: string;
5094
- address: string | null;
5095
- email: string;
5096
- createdAt: Date;
5097
- updatedAt: Date;
5098
- deletedAt: Date | null;
5099
- emailVerifiedAt: Date | null;
5100
- password: string;
5101
- phone: string | null;
5102
- notificationCount: number | null;
5103
- roles: {
5104
- id: string;
5105
- description: string | null;
5106
- createdAt: Date;
5107
- updatedAt: Date;
5108
- deletedAt: Date | null;
5109
- systemName: string;
5110
- displayName: string;
5111
- permissions: {
5112
- id: string;
5113
- description: string | null;
5114
- createdAt: Date;
5115
- updatedAt: Date;
5116
- deletedAt: Date | null;
5117
- systemName: string;
5118
- displayName: string;
5119
- }[];
5120
- }[];
5121
- extension: {
5122
- id: string;
5123
- createdAt: Date;
5124
- updatedAt: Date;
5125
- deletedAt: Date | null;
5126
- userId: string | null;
5127
- sipServerUrl: string;
5128
- sipUserName: string;
5129
- webphoneLoginUser: string;
5130
- extensionId: string | null;
5131
- extensionName: string;
5132
- telephonySignature: string | null;
5133
- };
5134
- } | null | undefined;
5135
- } | null | undefined;
5136
5188
  }, {
5137
5189
  type: string;
5138
5190
  id: string;
@@ -5156,7 +5208,7 @@ export declare const cxLogContract: {
5156
5208
  uploadId: string | null;
5157
5209
  serialNumber: string | null;
5158
5210
  callParticipants: {
5159
- callTo?: {
5211
+ callFrom?: {
5160
5212
  id: string;
5161
5213
  user: {
5162
5214
  name: string;
@@ -5182,7 +5234,7 @@ export declare const cxLogContract: {
5182
5234
  createdAt?: string | undefined;
5183
5235
  updatedAt?: string | undefined;
5184
5236
  } | null | undefined;
5185
- callFrom?: {
5237
+ callTo?: {
5186
5238
  id: string;
5187
5239
  user: {
5188
5240
  name: string;
@@ -5212,6 +5264,63 @@ export declare const cxLogContract: {
5212
5264
  isQueueMissedCall: boolean;
5213
5265
  telephonyQueueId: string | null;
5214
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;
5215
5324
  contact?: {
5216
5325
  name: string;
5217
5326
  id: string;
@@ -5346,100 +5455,44 @@ export declare const cxLogContract: {
5346
5455
  fileSize: number;
5347
5456
  fileUrl: string | null;
5348
5457
  } | null | undefined;
5349
- extension?: {
5350
- id: string;
5351
- createdAt: Date;
5352
- updatedAt: Date;
5353
- deletedAt: Date | null;
5354
- userId: string | null;
5355
- sipServerUrl: string;
5356
- sipUserName: string;
5357
- webphoneLoginUser: string;
5358
- extensionId: string | null;
5359
- extensionName: string;
5360
- telephonySignature: string | null;
5361
- user?: {
5362
- name: string;
5363
- id: string;
5364
- address: string | null;
5365
- email: string;
5366
- createdAt: Date;
5367
- updatedAt: Date;
5368
- deletedAt: Date | null;
5369
- emailVerifiedAt: Date | null;
5370
- password: string;
5371
- phone: string | null;
5372
- notificationCount: number | null;
5373
- roles: {
5374
- id: string;
5375
- description: string | null;
5376
- createdAt: Date;
5377
- updatedAt: Date;
5378
- deletedAt: Date | null;
5379
- systemName: string;
5380
- displayName: string;
5381
- permissions: {
5382
- id: string;
5383
- description: string | null;
5384
- createdAt: Date;
5385
- updatedAt: Date;
5386
- deletedAt: Date | null;
5387
- systemName: string;
5388
- displayName: string;
5389
- }[];
5390
- }[];
5391
- extension: {
5392
- id: string;
5393
- createdAt: Date;
5394
- updatedAt: Date;
5395
- deletedAt: Date | null;
5396
- userId: string | null;
5397
- sipServerUrl: string;
5398
- sipUserName: string;
5399
- webphoneLoginUser: string;
5400
- extensionId: string | null;
5401
- extensionName: string;
5402
- telephonySignature: string | null;
5403
- };
5404
- } | null | undefined;
5405
- } | null | undefined;
5406
- }>>;
5407
- queue: z.ZodNullable<z.ZodObject<{
5408
- queueName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5409
- }, "strip", z.ZodTypeAny, {
5410
- queueName?: string | null | undefined;
5411
- }, {
5412
- queueName?: string | null | undefined;
5413
- }>>;
5414
- automationQueue: z.ZodNullable<z.ZodObject<{
5415
- id: z.ZodString;
5416
- name: z.ZodString;
5417
- }, "strip", z.ZodTypeAny, {
5418
- name: string;
5419
- id: string;
5420
- }, {
5421
- name: string;
5422
- id: string;
5423
- }>>;
5424
- contact: z.ZodNullable<z.ZodObject<{
5425
- id: z.ZodString;
5426
- createdAt: z.ZodDate;
5427
- updatedAt: z.ZodDate;
5428
- deletedAt: z.ZodNullable<z.ZodDate>;
5429
- name: z.ZodString;
5430
- address: z.ZodNullable<z.ZodString>;
5431
- channel: z.ZodNullable<z.ZodString>;
5432
- notes: z.ZodNullable<z.ZodString>;
5433
- contactProfile: z.ZodNullable<z.ZodString>;
5434
- socialProfileUrl: z.ZodNullable<z.ZodString>;
5435
- tags: z.ZodArray<z.ZodObject<{
5436
- id: z.ZodString;
5437
- createdAt: z.ZodDate;
5438
- updatedAt: z.ZodDate;
5439
- deletedAt: z.ZodNullable<z.ZodDate>;
5440
- name: z.ZodString;
5441
- }, "strip", z.ZodTypeAny, {
5442
- name: string;
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;
5443
5496
  id: string;
5444
5497
  createdAt: Date;
5445
5498
  updatedAt: Date;
@@ -5456,6 +5509,7 @@ export declare const cxLogContract: {
5456
5509
  createdAt: z.ZodDate;
5457
5510
  updatedAt: z.ZodDate;
5458
5511
  deletedAt: z.ZodNullable<z.ZodDate>;
5512
+ } & {
5459
5513
  name: z.ZodOptional<z.ZodString>;
5460
5514
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5461
5515
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5465,6 +5519,7 @@ export declare const cxLogContract: {
5465
5519
  createdAt: z.ZodDate;
5466
5520
  updatedAt: z.ZodDate;
5467
5521
  deletedAt: z.ZodNullable<z.ZodDate>;
5522
+ } & {
5468
5523
  textValue: z.ZodNullable<z.ZodString>;
5469
5524
  booleanValue: z.ZodNullable<z.ZodBoolean>;
5470
5525
  numberValue: z.ZodNullable<z.ZodNumber>;
@@ -5474,6 +5529,7 @@ export declare const cxLogContract: {
5474
5529
  createdAt: z.ZodDate;
5475
5530
  updatedAt: z.ZodDate;
5476
5531
  deletedAt: z.ZodNullable<z.ZodDate>;
5532
+ } & {
5477
5533
  systemName: z.ZodString;
5478
5534
  displayName: z.ZodString;
5479
5535
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -5483,10 +5539,11 @@ export declare const cxLogContract: {
5483
5539
  isRequired: z.ZodBoolean;
5484
5540
  isUnique: z.ZodBoolean;
5485
5541
  options: z.ZodArray<z.ZodObject<{
5486
- position: z.ZodNumber;
5487
- value: z.ZodString;
5488
5542
  label: z.ZodString;
5543
+ value: z.ZodString;
5489
5544
  isDefault: z.ZodBoolean;
5545
+ position: z.ZodNumber;
5546
+ } & {
5490
5547
  id: z.ZodString;
5491
5548
  }, "strip", z.ZodTypeAny, {
5492
5549
  id: string;
@@ -5506,6 +5563,7 @@ export declare const cxLogContract: {
5506
5563
  createdAt: z.ZodDate;
5507
5564
  updatedAt: z.ZodDate;
5508
5565
  deletedAt: z.ZodNullable<z.ZodDate>;
5566
+ } & {
5509
5567
  systemName: z.ZodString;
5510
5568
  displayName: z.ZodString;
5511
5569
  }, "strip", z.ZodTypeAny, {
@@ -5683,6 +5741,7 @@ export declare const cxLogContract: {
5683
5741
  createdAt: z.ZodDate;
5684
5742
  updatedAt: z.ZodDate;
5685
5743
  deletedAt: z.ZodNullable<z.ZodDate>;
5744
+ } & {
5686
5745
  systemName: z.ZodString;
5687
5746
  displayName: z.ZodString;
5688
5747
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -5692,10 +5751,11 @@ export declare const cxLogContract: {
5692
5751
  isRequired: z.ZodBoolean;
5693
5752
  isUnique: z.ZodBoolean;
5694
5753
  options: z.ZodArray<z.ZodObject<{
5695
- position: z.ZodNumber;
5696
- value: z.ZodString;
5697
5754
  label: z.ZodString;
5755
+ value: z.ZodString;
5698
5756
  isDefault: z.ZodBoolean;
5757
+ position: z.ZodNumber;
5758
+ } & {
5699
5759
  id: z.ZodString;
5700
5760
  }, "strip", z.ZodTypeAny, {
5701
5761
  id: string;
@@ -5715,6 +5775,7 @@ export declare const cxLogContract: {
5715
5775
  createdAt: z.ZodDate;
5716
5776
  updatedAt: z.ZodDate;
5717
5777
  deletedAt: z.ZodNullable<z.ZodDate>;
5778
+ } & {
5718
5779
  systemName: z.ZodString;
5719
5780
  displayName: z.ZodString;
5720
5781
  }, "strip", z.ZodTypeAny, {
@@ -5764,6 +5825,7 @@ export declare const cxLogContract: {
5764
5825
  createdAt: z.ZodDate;
5765
5826
  updatedAt: z.ZodDate;
5766
5827
  deletedAt: z.ZodNullable<z.ZodDate>;
5828
+ } & {
5767
5829
  bucketName: z.ZodString;
5768
5830
  fileName: z.ZodString;
5769
5831
  fileSize: z.ZodNumber;
@@ -6192,17 +6254,18 @@ export declare const cxLogContract: {
6192
6254
  }[] | undefined;
6193
6255
  }>>;
6194
6256
  firstAssignee: z.ZodNullable<z.ZodObject<{
6195
- name: z.ZodString;
6196
6257
  id: z.ZodString;
6197
- address: z.ZodNullable<z.ZodString>;
6198
- email: z.ZodString;
6199
6258
  createdAt: z.ZodDate;
6200
6259
  updatedAt: z.ZodDate;
6201
6260
  deletedAt: z.ZodNullable<z.ZodDate>;
6261
+ name: z.ZodString;
6262
+ email: z.ZodString;
6202
6263
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
6203
6264
  password: z.ZodString;
6265
+ address: z.ZodNullable<z.ZodString>;
6204
6266
  phone: z.ZodNullable<z.ZodString>;
6205
6267
  notificationCount: z.ZodNullable<z.ZodNumber>;
6268
+ } & {
6206
6269
  roles: z.ZodArray<z.ZodObject<{
6207
6270
  id: z.ZodString;
6208
6271
  createdAt: z.ZodDate;
@@ -6396,17 +6459,18 @@ export declare const cxLogContract: {
6396
6459
  };
6397
6460
  }>>;
6398
6461
  agent: z.ZodNullable<z.ZodObject<{
6399
- name: z.ZodString;
6400
6462
  id: z.ZodString;
6401
- address: z.ZodNullable<z.ZodString>;
6402
- email: z.ZodString;
6403
6463
  createdAt: z.ZodDate;
6404
6464
  updatedAt: z.ZodDate;
6405
6465
  deletedAt: z.ZodNullable<z.ZodDate>;
6466
+ name: z.ZodString;
6467
+ email: z.ZodString;
6406
6468
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
6407
6469
  password: z.ZodString;
6470
+ address: z.ZodNullable<z.ZodString>;
6408
6471
  phone: z.ZodNullable<z.ZodString>;
6409
6472
  notificationCount: z.ZodNullable<z.ZodNumber>;
6473
+ } & {
6410
6474
  roles: z.ZodArray<z.ZodObject<{
6411
6475
  id: z.ZodString;
6412
6476
  createdAt: z.ZodDate;
@@ -6600,17 +6664,18 @@ export declare const cxLogContract: {
6600
6664
  };
6601
6665
  }>>;
6602
6666
  closedAssignee: z.ZodNullable<z.ZodObject<{
6603
- name: z.ZodString;
6604
6667
  id: z.ZodString;
6605
- address: z.ZodNullable<z.ZodString>;
6606
- email: z.ZodString;
6607
6668
  createdAt: z.ZodDate;
6608
6669
  updatedAt: z.ZodDate;
6609
6670
  deletedAt: z.ZodNullable<z.ZodDate>;
6671
+ name: z.ZodString;
6672
+ email: z.ZodString;
6610
6673
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
6611
6674
  password: z.ZodString;
6675
+ address: z.ZodNullable<z.ZodString>;
6612
6676
  phone: z.ZodNullable<z.ZodString>;
6613
6677
  notificationCount: z.ZodNullable<z.ZodNumber>;
6678
+ } & {
6614
6679
  roles: z.ZodArray<z.ZodObject<{
6615
6680
  id: z.ZodString;
6616
6681
  createdAt: z.ZodDate;
@@ -7038,33 +7103,33 @@ export declare const cxLogContract: {
7038
7103
  metadata: {
7039
7104
  name: string;
7040
7105
  id: string;
7041
- accessToken?: string | undefined;
7042
- channelSecret?: string | undefined;
7043
- additionalCredentials?: any;
7044
- senderId?: string | undefined;
7106
+ line?: {
7107
+ channelId: string;
7108
+ channelSecret: string;
7109
+ } | undefined;
7045
7110
  whatsapp?: {
7111
+ email?: string | null | undefined;
7112
+ status?: "active" | "pending" | "waapi-qr" | undefined;
7113
+ channelId?: string | null | undefined;
7046
7114
  wabaBusinessId?: string | null | undefined;
7047
7115
  wabaExternalId?: string | null | undefined;
7048
7116
  phoneNumberId?: string | null | undefined;
7049
- email?: string | null | undefined;
7050
7117
  clientId?: string | null | undefined;
7051
- channelId?: string | null | undefined;
7052
7118
  waapiInstanceId?: string | null | undefined;
7053
7119
  qr?: string | null | undefined;
7054
- status?: "active" | "pending" | "waapi-qr" | undefined;
7055
7120
  apiKey?: string | undefined;
7056
7121
  tier?: "basic" | "regular" | "premium" | undefined;
7057
7122
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
7058
7123
  } | undefined;
7124
+ additionalCredentials?: any;
7125
+ accessToken?: string | undefined;
7126
+ channelSecret?: string | undefined;
7127
+ senderId?: string | undefined;
7059
7128
  vonageCredentials?: {
7060
7129
  apiKey: string;
7061
7130
  mobileNumber: string;
7062
7131
  apiSecret: string;
7063
7132
  } | undefined;
7064
- line?: {
7065
- channelId: string;
7066
- channelSecret: string;
7067
- } | undefined;
7068
7133
  lineRichMenuId?: string | null | undefined;
7069
7134
  messengerIntegrationType?: "own" | "business" | undefined;
7070
7135
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -7382,7 +7447,7 @@ export declare const cxLogContract: {
7382
7447
  uploadId: string | null;
7383
7448
  serialNumber: string | null;
7384
7449
  callParticipants: {
7385
- callTo?: {
7450
+ callFrom?: {
7386
7451
  id: string;
7387
7452
  user: {
7388
7453
  name: string;
@@ -7408,7 +7473,7 @@ export declare const cxLogContract: {
7408
7473
  createdAt?: string | undefined;
7409
7474
  updatedAt?: string | undefined;
7410
7475
  } | null | undefined;
7411
- callFrom?: {
7476
+ callTo?: {
7412
7477
  id: string;
7413
7478
  user: {
7414
7479
  name: string;
@@ -7438,6 +7503,63 @@ export declare const cxLogContract: {
7438
7503
  isQueueMissedCall: boolean;
7439
7504
  telephonyQueueId: string | null;
7440
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;
7441
7563
  contact?: {
7442
7564
  name: string;
7443
7565
  id: string;
@@ -7572,63 +7694,6 @@ export declare const cxLogContract: {
7572
7694
  fileSize: number;
7573
7695
  fileUrl: string | null;
7574
7696
  } | null | undefined;
7575
- extension?: {
7576
- id: string;
7577
- createdAt: Date;
7578
- updatedAt: Date;
7579
- deletedAt: Date | null;
7580
- userId: string | null;
7581
- sipServerUrl: string;
7582
- sipUserName: string;
7583
- webphoneLoginUser: string;
7584
- extensionId: string | null;
7585
- extensionName: string;
7586
- telephonySignature: string | null;
7587
- user?: {
7588
- name: string;
7589
- id: string;
7590
- address: string | null;
7591
- email: string;
7592
- createdAt: Date;
7593
- updatedAt: Date;
7594
- deletedAt: Date | null;
7595
- emailVerifiedAt: Date | null;
7596
- password: string;
7597
- phone: string | null;
7598
- notificationCount: number | null;
7599
- roles: {
7600
- id: string;
7601
- description: string | null;
7602
- createdAt: Date;
7603
- updatedAt: Date;
7604
- deletedAt: Date | null;
7605
- systemName: string;
7606
- displayName: string;
7607
- permissions: {
7608
- id: string;
7609
- description: string | null;
7610
- createdAt: Date;
7611
- updatedAt: Date;
7612
- deletedAt: Date | null;
7613
- systemName: string;
7614
- displayName: string;
7615
- }[];
7616
- }[];
7617
- extension: {
7618
- id: string;
7619
- createdAt: Date;
7620
- updatedAt: Date;
7621
- deletedAt: Date | null;
7622
- userId: string | null;
7623
- sipServerUrl: string;
7624
- sipUserName: string;
7625
- webphoneLoginUser: string;
7626
- extensionId: string | null;
7627
- extensionName: string;
7628
- telephonySignature: string | null;
7629
- };
7630
- } | null | undefined;
7631
- } | null | undefined;
7632
7697
  } | null;
7633
7698
  queue: {
7634
7699
  queueName?: string | null | undefined;
@@ -7986,33 +8051,33 @@ export declare const cxLogContract: {
7986
8051
  metadata: {
7987
8052
  name: string;
7988
8053
  id: string;
7989
- accessToken?: string | undefined;
7990
- channelSecret?: string | undefined;
7991
- additionalCredentials?: any;
7992
- senderId?: string | undefined;
8054
+ line?: {
8055
+ channelId: string;
8056
+ channelSecret: string;
8057
+ } | undefined;
7993
8058
  whatsapp?: {
8059
+ email?: string | null | undefined;
8060
+ status?: "active" | "pending" | "waapi-qr" | undefined;
8061
+ channelId?: string | null | undefined;
7994
8062
  wabaBusinessId?: string | null | undefined;
7995
8063
  wabaExternalId?: string | null | undefined;
7996
8064
  phoneNumberId?: string | null | undefined;
7997
- email?: string | null | undefined;
7998
8065
  clientId?: string | null | undefined;
7999
- channelId?: string | null | undefined;
8000
8066
  waapiInstanceId?: string | null | undefined;
8001
8067
  qr?: string | null | undefined;
8002
- status?: "active" | "pending" | "waapi-qr" | undefined;
8003
8068
  apiKey?: string | undefined;
8004
8069
  tier?: "basic" | "regular" | "premium" | undefined;
8005
8070
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
8006
8071
  } | undefined;
8072
+ additionalCredentials?: any;
8073
+ accessToken?: string | undefined;
8074
+ channelSecret?: string | undefined;
8075
+ senderId?: string | undefined;
8007
8076
  vonageCredentials?: {
8008
8077
  apiKey: string;
8009
8078
  mobileNumber: string;
8010
8079
  apiSecret: string;
8011
8080
  } | undefined;
8012
- line?: {
8013
- channelId: string;
8014
- channelSecret: string;
8015
- } | undefined;
8016
8081
  lineRichMenuId?: string | null | undefined;
8017
8082
  messengerIntegrationType?: "own" | "business" | undefined;
8018
8083
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -8330,7 +8395,7 @@ export declare const cxLogContract: {
8330
8395
  uploadId: string | null;
8331
8396
  serialNumber: string | null;
8332
8397
  callParticipants: {
8333
- callTo?: {
8398
+ callFrom?: {
8334
8399
  id: string;
8335
8400
  user: {
8336
8401
  name: string;
@@ -8356,7 +8421,7 @@ export declare const cxLogContract: {
8356
8421
  createdAt?: string | undefined;
8357
8422
  updatedAt?: string | undefined;
8358
8423
  } | null | undefined;
8359
- callFrom?: {
8424
+ callTo?: {
8360
8425
  id: string;
8361
8426
  user: {
8362
8427
  name: string;
@@ -8386,6 +8451,63 @@ export declare const cxLogContract: {
8386
8451
  isQueueMissedCall: boolean;
8387
8452
  telephonyQueueId: string | null;
8388
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;
8389
8511
  contact?: {
8390
8512
  name: string;
8391
8513
  id: string;
@@ -8520,63 +8642,6 @@ export declare const cxLogContract: {
8520
8642
  fileSize: number;
8521
8643
  fileUrl: string | null;
8522
8644
  } | null | undefined;
8523
- extension?: {
8524
- id: string;
8525
- createdAt: Date;
8526
- updatedAt: Date;
8527
- deletedAt: Date | null;
8528
- userId: string | null;
8529
- sipServerUrl: string;
8530
- sipUserName: string;
8531
- webphoneLoginUser: string;
8532
- extensionId: string | null;
8533
- extensionName: string;
8534
- telephonySignature: string | null;
8535
- user?: {
8536
- name: string;
8537
- id: string;
8538
- address: string | null;
8539
- email: string;
8540
- createdAt: Date;
8541
- updatedAt: Date;
8542
- deletedAt: Date | null;
8543
- emailVerifiedAt: Date | null;
8544
- password: string;
8545
- phone: string | null;
8546
- notificationCount: number | null;
8547
- roles: {
8548
- id: string;
8549
- description: string | null;
8550
- createdAt: Date;
8551
- updatedAt: Date;
8552
- deletedAt: Date | null;
8553
- systemName: string;
8554
- displayName: string;
8555
- permissions: {
8556
- id: string;
8557
- description: string | null;
8558
- createdAt: Date;
8559
- updatedAt: Date;
8560
- deletedAt: Date | null;
8561
- systemName: string;
8562
- displayName: string;
8563
- }[];
8564
- }[];
8565
- extension: {
8566
- id: string;
8567
- createdAt: Date;
8568
- updatedAt: Date;
8569
- deletedAt: Date | null;
8570
- userId: string | null;
8571
- sipServerUrl: string;
8572
- sipUserName: string;
8573
- webphoneLoginUser: string;
8574
- extensionId: string | null;
8575
- extensionName: string;
8576
- telephonySignature: string | null;
8577
- };
8578
- } | null | undefined;
8579
- } | null | undefined;
8580
8645
  } | null;
8581
8646
  queue: {
8582
8647
  queueName?: string | null | undefined;
@@ -8940,33 +9005,33 @@ export declare const cxLogContract: {
8940
9005
  metadata: {
8941
9006
  name: string;
8942
9007
  id: string;
8943
- accessToken?: string | undefined;
8944
- channelSecret?: string | undefined;
8945
- additionalCredentials?: any;
8946
- senderId?: string | undefined;
9008
+ line?: {
9009
+ channelId: string;
9010
+ channelSecret: string;
9011
+ } | undefined;
8947
9012
  whatsapp?: {
9013
+ email?: string | null | undefined;
9014
+ status?: "active" | "pending" | "waapi-qr" | undefined;
9015
+ channelId?: string | null | undefined;
8948
9016
  wabaBusinessId?: string | null | undefined;
8949
9017
  wabaExternalId?: string | null | undefined;
8950
9018
  phoneNumberId?: string | null | undefined;
8951
- email?: string | null | undefined;
8952
9019
  clientId?: string | null | undefined;
8953
- channelId?: string | null | undefined;
8954
9020
  waapiInstanceId?: string | null | undefined;
8955
9021
  qr?: string | null | undefined;
8956
- status?: "active" | "pending" | "waapi-qr" | undefined;
8957
9022
  apiKey?: string | undefined;
8958
9023
  tier?: "basic" | "regular" | "premium" | undefined;
8959
9024
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
8960
9025
  } | undefined;
9026
+ additionalCredentials?: any;
9027
+ accessToken?: string | undefined;
9028
+ channelSecret?: string | undefined;
9029
+ senderId?: string | undefined;
8961
9030
  vonageCredentials?: {
8962
9031
  apiKey: string;
8963
9032
  mobileNumber: string;
8964
9033
  apiSecret: string;
8965
9034
  } | undefined;
8966
- line?: {
8967
- channelId: string;
8968
- channelSecret: string;
8969
- } | undefined;
8970
9035
  lineRichMenuId?: string | null | undefined;
8971
9036
  messengerIntegrationType?: "own" | "business" | undefined;
8972
9037
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -9284,7 +9349,7 @@ export declare const cxLogContract: {
9284
9349
  uploadId: string | null;
9285
9350
  serialNumber: string | null;
9286
9351
  callParticipants: {
9287
- callTo?: {
9352
+ callFrom?: {
9288
9353
  id: string;
9289
9354
  user: {
9290
9355
  name: string;
@@ -9310,7 +9375,7 @@ export declare const cxLogContract: {
9310
9375
  createdAt?: string | undefined;
9311
9376
  updatedAt?: string | undefined;
9312
9377
  } | null | undefined;
9313
- callFrom?: {
9378
+ callTo?: {
9314
9379
  id: string;
9315
9380
  user: {
9316
9381
  name: string;
@@ -9340,6 +9405,63 @@ export declare const cxLogContract: {
9340
9405
  isQueueMissedCall: boolean;
9341
9406
  telephonyQueueId: string | null;
9342
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;
9343
9465
  contact?: {
9344
9466
  name: string;
9345
9467
  id: string;
@@ -9474,63 +9596,6 @@ export declare const cxLogContract: {
9474
9596
  fileSize: number;
9475
9597
  fileUrl: string | null;
9476
9598
  } | null | undefined;
9477
- extension?: {
9478
- id: string;
9479
- createdAt: Date;
9480
- updatedAt: Date;
9481
- deletedAt: Date | null;
9482
- userId: string | null;
9483
- sipServerUrl: string;
9484
- sipUserName: string;
9485
- webphoneLoginUser: string;
9486
- extensionId: string | null;
9487
- extensionName: string;
9488
- telephonySignature: string | null;
9489
- user?: {
9490
- name: string;
9491
- id: string;
9492
- address: string | null;
9493
- email: string;
9494
- createdAt: Date;
9495
- updatedAt: Date;
9496
- deletedAt: Date | null;
9497
- emailVerifiedAt: Date | null;
9498
- password: string;
9499
- phone: string | null;
9500
- notificationCount: number | null;
9501
- roles: {
9502
- id: string;
9503
- description: string | null;
9504
- createdAt: Date;
9505
- updatedAt: Date;
9506
- deletedAt: Date | null;
9507
- systemName: string;
9508
- displayName: string;
9509
- permissions: {
9510
- id: string;
9511
- description: string | null;
9512
- createdAt: Date;
9513
- updatedAt: Date;
9514
- deletedAt: Date | null;
9515
- systemName: string;
9516
- displayName: string;
9517
- }[];
9518
- }[];
9519
- extension: {
9520
- id: string;
9521
- createdAt: Date;
9522
- updatedAt: Date;
9523
- deletedAt: Date | null;
9524
- userId: string | null;
9525
- sipServerUrl: string;
9526
- sipUserName: string;
9527
- webphoneLoginUser: string;
9528
- extensionId: string | null;
9529
- extensionName: string;
9530
- telephonySignature: string | null;
9531
- };
9532
- } | null | undefined;
9533
- } | null | undefined;
9534
9599
  } | null;
9535
9600
  queue: {
9536
9601
  queueName?: string | null | undefined;
@@ -9894,33 +9959,33 @@ export declare const cxLogContract: {
9894
9959
  metadata: {
9895
9960
  name: string;
9896
9961
  id: string;
9897
- accessToken?: string | undefined;
9898
- channelSecret?: string | undefined;
9899
- additionalCredentials?: any;
9900
- senderId?: string | undefined;
9962
+ line?: {
9963
+ channelId: string;
9964
+ channelSecret: string;
9965
+ } | undefined;
9901
9966
  whatsapp?: {
9967
+ email?: string | null | undefined;
9968
+ status?: "active" | "pending" | "waapi-qr" | undefined;
9969
+ channelId?: string | null | undefined;
9902
9970
  wabaBusinessId?: string | null | undefined;
9903
9971
  wabaExternalId?: string | null | undefined;
9904
9972
  phoneNumberId?: string | null | undefined;
9905
- email?: string | null | undefined;
9906
9973
  clientId?: string | null | undefined;
9907
- channelId?: string | null | undefined;
9908
9974
  waapiInstanceId?: string | null | undefined;
9909
9975
  qr?: string | null | undefined;
9910
- status?: "active" | "pending" | "waapi-qr" | undefined;
9911
9976
  apiKey?: string | undefined;
9912
9977
  tier?: "basic" | "regular" | "premium" | undefined;
9913
9978
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
9914
9979
  } | undefined;
9980
+ additionalCredentials?: any;
9981
+ accessToken?: string | undefined;
9982
+ channelSecret?: string | undefined;
9983
+ senderId?: string | undefined;
9915
9984
  vonageCredentials?: {
9916
9985
  apiKey: string;
9917
9986
  mobileNumber: string;
9918
9987
  apiSecret: string;
9919
9988
  } | undefined;
9920
- line?: {
9921
- channelId: string;
9922
- channelSecret: string;
9923
- } | undefined;
9924
9989
  lineRichMenuId?: string | null | undefined;
9925
9990
  messengerIntegrationType?: "own" | "business" | undefined;
9926
9991
  facebookFeedIntegrationType?: "own" | "business" | undefined;
@@ -10238,7 +10303,7 @@ export declare const cxLogContract: {
10238
10303
  uploadId: string | null;
10239
10304
  serialNumber: string | null;
10240
10305
  callParticipants: {
10241
- callTo?: {
10306
+ callFrom?: {
10242
10307
  id: string;
10243
10308
  user: {
10244
10309
  name: string;
@@ -10264,7 +10329,7 @@ export declare const cxLogContract: {
10264
10329
  createdAt?: string | undefined;
10265
10330
  updatedAt?: string | undefined;
10266
10331
  } | null | undefined;
10267
- callFrom?: {
10332
+ callTo?: {
10268
10333
  id: string;
10269
10334
  user: {
10270
10335
  name: string;
@@ -10294,6 +10359,63 @@ export declare const cxLogContract: {
10294
10359
  isQueueMissedCall: boolean;
10295
10360
  telephonyQueueId: string | null;
10296
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;
10297
10419
  contact?: {
10298
10420
  name: string;
10299
10421
  id: string;
@@ -10428,63 +10550,6 @@ export declare const cxLogContract: {
10428
10550
  fileSize: number;
10429
10551
  fileUrl: string | null;
10430
10552
  } | null | undefined;
10431
- extension?: {
10432
- id: string;
10433
- createdAt: Date;
10434
- updatedAt: Date;
10435
- deletedAt: Date | null;
10436
- userId: string | null;
10437
- sipServerUrl: string;
10438
- sipUserName: string;
10439
- webphoneLoginUser: string;
10440
- extensionId: string | null;
10441
- extensionName: string;
10442
- telephonySignature: string | null;
10443
- user?: {
10444
- name: string;
10445
- id: string;
10446
- address: string | null;
10447
- email: string;
10448
- createdAt: Date;
10449
- updatedAt: Date;
10450
- deletedAt: Date | null;
10451
- emailVerifiedAt: Date | null;
10452
- password: string;
10453
- phone: string | null;
10454
- notificationCount: number | null;
10455
- roles: {
10456
- id: string;
10457
- description: string | null;
10458
- createdAt: Date;
10459
- updatedAt: Date;
10460
- deletedAt: Date | null;
10461
- systemName: string;
10462
- displayName: string;
10463
- permissions: {
10464
- id: string;
10465
- description: string | null;
10466
- createdAt: Date;
10467
- updatedAt: Date;
10468
- deletedAt: Date | null;
10469
- systemName: string;
10470
- displayName: string;
10471
- }[];
10472
- }[];
10473
- extension: {
10474
- id: string;
10475
- createdAt: Date;
10476
- updatedAt: Date;
10477
- deletedAt: Date | null;
10478
- userId: string | null;
10479
- sipServerUrl: string;
10480
- sipUserName: string;
10481
- webphoneLoginUser: string;
10482
- extensionId: string | null;
10483
- extensionName: string;
10484
- telephonySignature: string | null;
10485
- };
10486
- } | null | undefined;
10487
- } | null | undefined;
10488
10553
  } | null;
10489
10554
  queue: {
10490
10555
  queueName?: string | null | undefined;
@@ -10650,7 +10715,12 @@ export declare const cxLogContract: {
10650
10715
  error?: any;
10651
10716
  }>;
10652
10717
  };
10653
- 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";
10654
10724
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
10655
10725
  'x-tenant': z.ZodString;
10656
10726
  'x-service-token': z.ZodString;
@@ -10667,11 +10737,6 @@ export declare const cxLogContract: {
10667
10737
  'x-code'?: string | undefined;
10668
10738
  'x-client-timezone'?: string | undefined;
10669
10739
  }>>>;
10670
- };
10671
- export: {
10672
- summary: "Export cx-logs";
10673
- method: "GET";
10674
- query: z.ZodAny;
10675
10740
  responses: {
10676
10741
  200: null;
10677
10742
  401: z.ZodObject<{
@@ -10685,7 +10750,12 @@ export declare const cxLogContract: {
10685
10750
  error?: any;
10686
10751
  }>;
10687
10752
  };
10688
- 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";
10689
10759
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
10690
10760
  'x-tenant': z.ZodString;
10691
10761
  'x-service-token': z.ZodString;
@@ -10702,11 +10772,6 @@ export declare const cxLogContract: {
10702
10772
  'x-code'?: string | undefined;
10703
10773
  'x-client-timezone'?: string | undefined;
10704
10774
  }>>>;
10705
- };
10706
- syncSla: {
10707
- body: null;
10708
- summary: "Export cx-logs";
10709
- method: "POST";
10710
10775
  responses: {
10711
10776
  200: null;
10712
10777
  401: z.ZodObject<{
@@ -10730,23 +10795,6 @@ export declare const cxLogContract: {
10730
10795
  error?: any;
10731
10796
  }>;
10732
10797
  };
10733
- path: "/ms/cx-logs/sync-sla";
10734
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
10735
- 'x-tenant': z.ZodString;
10736
- 'x-service-token': z.ZodString;
10737
- 'x-code': z.ZodOptional<z.ZodString>;
10738
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
10739
- }, "strip", z.ZodTypeAny, {
10740
- 'x-tenant': string;
10741
- 'x-service-token': string;
10742
- 'x-client-timezone': string;
10743
- 'x-code'?: string | undefined;
10744
- }, {
10745
- 'x-tenant': string;
10746
- 'x-service-token': string;
10747
- 'x-code'?: string | undefined;
10748
- 'x-client-timezone'?: string | undefined;
10749
- }>>>;
10750
10798
  };
10751
10799
  updateSla: {
10752
10800
  body: z.ZodObject<{
@@ -10760,6 +10808,17 @@ export declare const cxLogContract: {
10760
10808
  slaStatus: "meet" | "unmeet" | "-";
10761
10809
  }>;
10762
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
+ }>;
10763
10822
  responses: {
10764
10823
  200: null;
10765
10824
  403: z.ZodObject<{
@@ -10793,17 +10852,6 @@ export declare const cxLogContract: {
10793
10852
  error?: any;
10794
10853
  }>;
10795
10854
  };
10796
- path: "/ms/cx-logs";
10797
- headers: z.ZodObject<{
10798
- 'x-tenant': z.ZodString;
10799
- 'x-code': z.ZodOptional<z.ZodString>;
10800
- }, "strip", z.ZodTypeAny, {
10801
- 'x-tenant': string;
10802
- 'x-code'?: string | undefined;
10803
- }, {
10804
- 'x-tenant': string;
10805
- 'x-code'?: string | undefined;
10806
- }>;
10807
10855
  };
10808
10856
  };
10809
10857
  //# sourceMappingURL=index.d.ts.map