@kl1/contracts 1.2.27-uat → 1.2.29-uat

Sign up to get free protection for your applications and to get access to all the features.
Files changed (257) hide show
  1. package/dist/api-contracts/src/activity-log/index.d.ts +21 -21
  2. package/dist/api-contracts/src/activity-log/schema.d.ts +4 -4
  3. package/dist/api-contracts/src/attribute/index.d.ts +152 -168
  4. package/dist/api-contracts/src/attribute/index.d.ts.map +1 -1
  5. package/dist/api-contracts/src/attribute/schema.d.ts +8 -11
  6. package/dist/api-contracts/src/attribute/schema.d.ts.map +1 -1
  7. package/dist/api-contracts/src/attribute/validation.d.ts +4 -4
  8. package/dist/api-contracts/src/attribute-option/schema.d.ts +2 -3
  9. package/dist/api-contracts/src/attribute-option/schema.d.ts.map +1 -1
  10. package/dist/api-contracts/src/auth/index.d.ts +51 -55
  11. package/dist/api-contracts/src/auth/index.d.ts.map +1 -1
  12. package/dist/api-contracts/src/automation-queue/index.d.ts +111 -123
  13. package/dist/api-contracts/src/automation-queue/index.d.ts.map +1 -1
  14. package/dist/api-contracts/src/automation-queue/schema.d.ts +12 -13
  15. package/dist/api-contracts/src/automation-queue/schema.d.ts.map +1 -1
  16. package/dist/api-contracts/src/aws/index.d.ts +6 -8
  17. package/dist/api-contracts/src/aws/index.d.ts.map +1 -1
  18. package/dist/api-contracts/src/botpress/index.d.ts +41 -45
  19. package/dist/api-contracts/src/botpress/index.d.ts.map +1 -1
  20. package/dist/api-contracts/src/botpress/schema.d.ts +6 -6
  21. package/dist/api-contracts/src/botpress/validation.d.ts +8 -8
  22. package/dist/api-contracts/src/business-calendar/index.d.ts +60 -72
  23. package/dist/api-contracts/src/business-calendar/index.d.ts.map +1 -1
  24. package/dist/api-contracts/src/business-calendar/schema.d.ts +18 -23
  25. package/dist/api-contracts/src/business-calendar/schema.d.ts.map +1 -1
  26. package/dist/api-contracts/src/business-calendar/validation.d.ts +2 -2
  27. package/dist/api-contracts/src/call-log/schema.d.ts +4 -5
  28. package/dist/api-contracts/src/call-log/schema.d.ts.map +1 -1
  29. package/dist/api-contracts/src/category/index.d.ts +121 -130
  30. package/dist/api-contracts/src/category/index.d.ts.map +1 -1
  31. package/dist/api-contracts/src/category/schema.d.ts +4 -5
  32. package/dist/api-contracts/src/category/schema.d.ts.map +1 -1
  33. package/dist/api-contracts/src/channel/index.d.ts +1697 -1543
  34. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  35. package/dist/api-contracts/src/channel/schema.d.ts +66 -54
  36. package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
  37. package/dist/api-contracts/src/channel/validation.d.ts +86 -72
  38. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  39. package/dist/api-contracts/src/chat/index.d.ts +17916 -14660
  40. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  41. package/dist/api-contracts/src/chat/schema.d.ts +3981 -3226
  42. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  43. package/dist/api-contracts/src/chat/validation.d.ts +4020 -3555
  44. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  45. package/dist/api-contracts/src/comment/index.d.ts +468 -525
  46. package/dist/api-contracts/src/comment/index.d.ts.map +1 -1
  47. package/dist/api-contracts/src/comment/schema.d.ts +118 -136
  48. package/dist/api-contracts/src/comment/schema.d.ts.map +1 -1
  49. package/dist/api-contracts/src/comment/validation.d.ts +1 -1
  50. package/dist/api-contracts/src/company/index.d.ts +113 -140
  51. package/dist/api-contracts/src/company/index.d.ts.map +1 -1
  52. package/dist/api-contracts/src/company/schema.d.ts +24 -33
  53. package/dist/api-contracts/src/company/schema.d.ts.map +1 -1
  54. package/dist/api-contracts/src/company/validation.d.ts +66 -82
  55. package/dist/api-contracts/src/company/validation.d.ts.map +1 -1
  56. package/dist/api-contracts/src/contact/index.d.ts +816 -934
  57. package/dist/api-contracts/src/contact/index.d.ts.map +1 -1
  58. package/dist/api-contracts/src/contact/schema.d.ts +68 -82
  59. package/dist/api-contracts/src/contact/schema.d.ts.map +1 -1
  60. package/dist/api-contracts/src/contact/validation.d.ts +352 -433
  61. package/dist/api-contracts/src/contact/validation.d.ts.map +1 -1
  62. package/dist/api-contracts/src/contact-email/schema.d.ts +2 -3
  63. package/dist/api-contracts/src/contact-email/schema.d.ts.map +1 -1
  64. package/dist/api-contracts/src/contact-phone/schema.d.ts +2 -3
  65. package/dist/api-contracts/src/contact-phone/schema.d.ts.map +1 -1
  66. package/dist/api-contracts/src/contract.d.ts +35561 -32035
  67. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  68. package/dist/api-contracts/src/custom-field/schema.d.ts +2 -3
  69. package/dist/api-contracts/src/custom-field/schema.d.ts.map +1 -1
  70. package/dist/api-contracts/src/custom-field/validation.d.ts +2 -2
  71. package/dist/api-contracts/src/custom-field-upload/schema.d.ts +2 -3
  72. package/dist/api-contracts/src/custom-field-upload/schema.d.ts.map +1 -1
  73. package/dist/api-contracts/src/cx-intelligence/index.d.ts +54 -0
  74. package/dist/api-contracts/src/cx-intelligence/index.d.ts.map +1 -0
  75. package/dist/api-contracts/src/cx-log/index.d.ts +917 -944
  76. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  77. package/dist/api-contracts/src/cx-log/schema.d.ts +594 -626
  78. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  79. package/dist/api-contracts/src/cx-log/validation.d.ts +39 -39
  80. package/dist/api-contracts/src/dashboard/index.d.ts +376 -417
  81. package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
  82. package/dist/api-contracts/src/dashboard/schema.d.ts +38 -39
  83. package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
  84. package/dist/api-contracts/src/dashboard/validation.d.ts +18 -24
  85. package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
  86. package/dist/api-contracts/src/evaluate-form/index.d.ts +3 -4
  87. package/dist/api-contracts/src/evaluate-form/index.d.ts.map +1 -1
  88. package/dist/api-contracts/src/evaluate-form/schema.d.ts +2 -3
  89. package/dist/api-contracts/src/evaluate-form/schema.d.ts.map +1 -1
  90. package/dist/api-contracts/src/export/index.d.ts +3 -4
  91. package/dist/api-contracts/src/export/index.d.ts.map +1 -1
  92. package/dist/api-contracts/src/extension/index.d.ts +116 -122
  93. package/dist/api-contracts/src/extension/index.d.ts.map +1 -1
  94. package/dist/api-contracts/src/facebook-feed/index.d.ts +3386 -2890
  95. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  96. package/dist/api-contracts/src/facebook-feed/schema.d.ts +138 -140
  97. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  98. package/dist/api-contracts/src/facebook-feed/validation.d.ts +150 -160
  99. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  100. package/dist/api-contracts/src/general-setting/index.d.ts +2 -2
  101. package/dist/api-contracts/src/group/schema.d.ts +2 -3
  102. package/dist/api-contracts/src/group/schema.d.ts.map +1 -1
  103. package/dist/api-contracts/src/hold-label/index.d.ts +176 -55
  104. package/dist/api-contracts/src/hold-label/index.d.ts.map +1 -1
  105. package/dist/api-contracts/src/hold-label/schema.d.ts +29 -5
  106. package/dist/api-contracts/src/hold-label/schema.d.ts.map +1 -1
  107. package/dist/api-contracts/src/hold-label/validation.d.ts +10 -0
  108. package/dist/api-contracts/src/hold-label/validation.d.ts.map +1 -1
  109. package/dist/api-contracts/src/index.d.ts +1 -0
  110. package/dist/api-contracts/src/index.d.ts.map +1 -1
  111. package/dist/api-contracts/src/instagram/index.d.ts +3718 -3231
  112. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  113. package/dist/api-contracts/src/instagram/validation.d.ts +16 -16
  114. package/dist/api-contracts/src/line/index.d.ts +3738 -3263
  115. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  116. package/dist/api-contracts/src/line/schema.d.ts +15 -16
  117. package/dist/api-contracts/src/line/schema.d.ts.map +1 -1
  118. package/dist/api-contracts/src/line/validation.d.ts +164 -153
  119. package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
  120. package/dist/api-contracts/src/log-form/schema.d.ts +2 -3
  121. package/dist/api-contracts/src/log-form/schema.d.ts.map +1 -1
  122. package/dist/api-contracts/src/mail/account-contract.d.ts +246 -256
  123. package/dist/api-contracts/src/mail/account-contract.d.ts.map +1 -1
  124. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts +3 -4
  125. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts.map +1 -1
  126. package/dist/api-contracts/src/mail/mail-contract.d.ts +3050 -3095
  127. package/dist/api-contracts/src/mail/mail-contract.d.ts.map +1 -1
  128. package/dist/api-contracts/src/mail/mail-server-contract.d.ts +44 -50
  129. package/dist/api-contracts/src/mail/mail-server-contract.d.ts.map +1 -1
  130. package/dist/api-contracts/src/mail/message-contract.d.ts +379 -385
  131. package/dist/api-contracts/src/mail/message-contract.d.ts.map +1 -1
  132. package/dist/api-contracts/src/mail/room-contract.d.ts +1509 -1532
  133. package/dist/api-contracts/src/mail/room-contract.d.ts.map +1 -1
  134. package/dist/api-contracts/src/mail/schemas/account-validation.schema.d.ts +50 -50
  135. package/dist/api-contracts/src/mail/schemas/account.schema.d.ts +10 -10
  136. package/dist/api-contracts/src/mail/schemas/message-validation.schema.d.ts +16 -16
  137. package/dist/api-contracts/src/mail/schemas/message.schema.d.ts +56 -56
  138. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +486 -490
  139. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
  140. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +468 -473
  141. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts.map +1 -1
  142. package/dist/api-contracts/src/messenger/index.d.ts +3718 -3233
  143. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  144. package/dist/api-contracts/src/messenger/schema.d.ts +16 -16
  145. package/dist/api-contracts/src/messenger/validation.d.ts +146 -156
  146. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  147. package/dist/api-contracts/src/notification/index.d.ts +38 -42
  148. package/dist/api-contracts/src/notification/index.d.ts.map +1 -1
  149. package/dist/api-contracts/src/notification/schema.d.ts +18 -18
  150. package/dist/api-contracts/src/notification/validation.d.ts +10 -10
  151. package/dist/api-contracts/src/permission/index.d.ts +17 -17
  152. package/dist/api-contracts/src/presence-status/index.d.ts +81 -84
  153. package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
  154. package/dist/api-contracts/src/public-api/index.d.ts +280 -344
  155. package/dist/api-contracts/src/public-api/index.d.ts.map +1 -1
  156. package/dist/api-contracts/src/public-api/schema.d.ts +44 -58
  157. package/dist/api-contracts/src/public-api/schema.d.ts.map +1 -1
  158. package/dist/api-contracts/src/public-api/validation.d.ts +108 -133
  159. package/dist/api-contracts/src/public-api/validation.d.ts.map +1 -1
  160. package/dist/api-contracts/src/role/index.d.ts +83 -88
  161. package/dist/api-contracts/src/role/index.d.ts.map +1 -1
  162. package/dist/api-contracts/src/sms/index.d.ts +260 -241
  163. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  164. package/dist/api-contracts/src/sms/schema.d.ts +8 -8
  165. package/dist/api-contracts/src/sms/validation.d.ts +2 -2
  166. package/dist/api-contracts/src/snippet/index.d.ts +96 -118
  167. package/dist/api-contracts/src/snippet/index.d.ts.map +1 -1
  168. package/dist/api-contracts/src/snippet/schema.d.ts +24 -31
  169. package/dist/api-contracts/src/snippet/schema.d.ts.map +1 -1
  170. package/dist/api-contracts/src/snippet/validation.d.ts +4 -5
  171. package/dist/api-contracts/src/snippet/validation.d.ts.map +1 -1
  172. package/dist/api-contracts/src/subscription/index.d.ts +233 -255
  173. package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
  174. package/dist/api-contracts/src/subscription/schema.d.ts +276 -306
  175. package/dist/api-contracts/src/subscription/schema.d.ts.map +1 -1
  176. package/dist/api-contracts/src/tag/index.d.ts +84 -91
  177. package/dist/api-contracts/src/tag/index.d.ts.map +1 -1
  178. package/dist/api-contracts/src/tag/schema.d.ts +4 -5
  179. package/dist/api-contracts/src/tag/schema.d.ts.map +1 -1
  180. package/dist/api-contracts/src/tag-group/schema.d.ts +2 -3
  181. package/dist/api-contracts/src/tag-group/schema.d.ts.map +1 -1
  182. package/dist/api-contracts/src/telegram/index.d.ts +2955 -2496
  183. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  184. package/dist/api-contracts/src/telegram/validation.d.ts +4 -4
  185. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +68 -72
  186. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  187. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +6 -7
  188. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  189. package/dist/api-contracts/src/telephony-cdr/call-report.schema.d.ts +38 -38
  190. package/dist/api-contracts/src/telephony-cdr/index.d.ts +1329 -1394
  191. package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
  192. package/dist/api-contracts/src/telephony-cdr/schema.d.ts +222 -242
  193. package/dist/api-contracts/src/telephony-cdr/schema.d.ts.map +1 -1
  194. package/dist/api-contracts/src/telephony-cdr/validation.d.ts +45 -52
  195. package/dist/api-contracts/src/telephony-cdr/validation.d.ts.map +1 -1
  196. package/dist/api-contracts/src/telephony-extension/index.d.ts +21 -21
  197. package/dist/api-contracts/src/telephony-extension/schema.d.ts +4 -4
  198. package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts +2 -3
  199. package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts.map +1 -1
  200. package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts +2 -3
  201. package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts.map +1 -1
  202. package/dist/api-contracts/src/tenant/schema.d.ts +4 -5
  203. package/dist/api-contracts/src/tenant/schema.d.ts.map +1 -1
  204. package/dist/api-contracts/src/ticket/index.d.ts +958 -1057
  205. package/dist/api-contracts/src/ticket/index.d.ts.map +1 -1
  206. package/dist/api-contracts/src/ticket/schema.d.ts +100 -123
  207. package/dist/api-contracts/src/ticket/schema.d.ts.map +1 -1
  208. package/dist/api-contracts/src/ticket/validation.d.ts +55 -57
  209. package/dist/api-contracts/src/ticket/validation.d.ts.map +1 -1
  210. package/dist/api-contracts/src/upload/index.d.ts +34 -36
  211. package/dist/api-contracts/src/upload/index.d.ts.map +1 -1
  212. package/dist/api-contracts/src/upload/schema.d.ts +2 -3
  213. package/dist/api-contracts/src/upload/schema.d.ts.map +1 -1
  214. package/dist/api-contracts/src/user/index.d.ts +130 -136
  215. package/dist/api-contracts/src/user/index.d.ts.map +1 -1
  216. package/dist/api-contracts/src/user/schema.d.ts +2 -2
  217. package/dist/api-contracts/src/user/validation.d.ts +8 -9
  218. package/dist/api-contracts/src/user/validation.d.ts.map +1 -1
  219. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +35 -36
  220. package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
  221. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +6 -7
  222. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
  223. package/dist/api-contracts/src/viber/index.d.ts +3442 -2983
  224. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  225. package/dist/api-contracts/src/viber/validation.d.ts +4 -4
  226. package/dist/api-contracts/src/webchat/index.d.ts +8425 -6944
  227. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  228. package/dist/api-contracts/src/webchat/schema.d.ts +10 -10
  229. package/dist/api-contracts/src/webchat/validation.d.ts +2 -2
  230. package/dist/api-contracts/src/whatsapp/index.d.ts +3577 -3105
  231. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  232. package/dist/api-contracts/src/whatsapp/validation.d.ts +2 -3
  233. package/dist/api-contracts/src/whatsapp/validation.d.ts.map +1 -1
  234. package/dist/api-contracts/src/widget/index.d.ts +152 -163
  235. package/dist/api-contracts/src/widget/index.d.ts.map +1 -1
  236. package/dist/api-contracts/src/widget/schema.d.ts +4 -5
  237. package/dist/api-contracts/src/widget/schema.d.ts.map +1 -1
  238. package/dist/api-contracts/src/widget/validation.d.ts +4 -4
  239. package/dist/api-contracts/src/workflow-rule/index.d.ts +1860 -1543
  240. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  241. package/dist/api-contracts/src/workflow-rule/schema.d.ts +4 -5
  242. package/dist/api-contracts/src/workflow-rule/schema.d.ts.map +1 -1
  243. package/dist/api-contracts/src/wrap-up-form/index.d.ts +173 -192
  244. package/dist/api-contracts/src/wrap-up-form/index.d.ts.map +1 -1
  245. package/dist/api-contracts/src/wrap-up-form/schema.d.ts +10 -13
  246. package/dist/api-contracts/src/wrap-up-form/schema.d.ts.map +1 -1
  247. package/dist/api-contracts/src/wrap-up-form/validation.d.ts +20 -21
  248. package/dist/api-contracts/src/wrap-up-form/validation.d.ts.map +1 -1
  249. package/dist/api-contracts/utils.d.ts +3 -4
  250. package/dist/api-contracts/utils.d.ts.map +1 -1
  251. package/dist/entities/src/enums/chat.d.ts +3 -0
  252. package/dist/entities/src/enums/chat.d.ts.map +1 -1
  253. package/dist/index.js +3271 -3172
  254. package/dist/index.js.map +1 -1
  255. package/dist/index.mjs +3270 -3172
  256. package/dist/index.mjs.map +1 -1
  257. package/package.json +1 -1
@@ -1,10 +1,9 @@
1
1
  import z from 'zod';
2
- export declare const CxLogSchema: z.ZodObject<z.objectUtil.extendShape<{
2
+ export declare const CxLogSchema: z.ZodObject<{
3
3
  id: z.ZodString;
4
4
  createdAt: z.ZodDate;
5
5
  updatedAt: z.ZodDate;
6
6
  deletedAt: z.ZodNullable<z.ZodDate>;
7
- }, {
8
7
  caseId: z.ZodNumber;
9
8
  entityId: z.ZodString;
10
9
  entityName: z.ZodString;
@@ -16,41 +15,38 @@ export declare const CxLogSchema: z.ZodObject<z.objectUtil.extendShape<{
16
15
  startedDate: z.ZodNullable<z.ZodDate>;
17
16
  handledTime: z.ZodNullable<z.ZodNumber>;
18
17
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
19
- wrapUpForm: z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
18
+ wrapUpForm: z.ZodNullable<z.ZodObject<{
20
19
  id: z.ZodString;
21
20
  createdAt: z.ZodDate;
22
21
  updatedAt: z.ZodDate;
23
22
  deletedAt: z.ZodNullable<z.ZodDate>;
24
- }, {
25
23
  note: z.ZodNullable<z.ZodString>;
26
24
  disposition: z.ZodNullable<z.ZodString>;
27
25
  type: z.ZodString;
28
- tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
26
+ tags: z.ZodArray<z.ZodObject<{
29
27
  id: z.ZodString;
30
28
  createdAt: z.ZodDate;
31
29
  updatedAt: z.ZodDate;
32
30
  deletedAt: z.ZodNullable<z.ZodDate>;
33
- }, {
34
31
  name: z.ZodString;
35
- }>, "strip", z.ZodTypeAny, {
36
- name: string;
32
+ }, "strip", z.ZodTypeAny, {
37
33
  id: string;
34
+ name: string;
38
35
  createdAt: Date;
39
36
  updatedAt: Date;
40
37
  deletedAt: Date | null;
41
38
  }, {
42
- name: string;
43
39
  id: string;
40
+ name: string;
44
41
  createdAt: Date;
45
42
  updatedAt: Date;
46
43
  deletedAt: Date | null;
47
44
  }>, "many">;
48
- categories: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
45
+ categories: z.ZodArray<z.ZodObject<{
49
46
  id: z.ZodString;
50
47
  createdAt: z.ZodDate;
51
48
  updatedAt: z.ZodDate;
52
49
  deletedAt: z.ZodNullable<z.ZodDate>;
53
- }, {
54
50
  value: z.ZodString;
55
51
  level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
56
52
  parentId: z.ZodNullable<z.ZodString>;
@@ -103,7 +99,7 @@ export declare const CxLogSchema: z.ZodObject<z.objectUtil.extendShape<{
103
99
  childCategoryList: any[];
104
100
  }[];
105
101
  }>, "many">;
106
- }>, "strip", z.ZodTypeAny, {
102
+ }, "strip", z.ZodTypeAny, {
107
103
  id: string;
108
104
  value: string;
109
105
  createdAt: Date;
@@ -182,7 +178,7 @@ export declare const CxLogSchema: z.ZodObject<z.objectUtil.extendShape<{
182
178
  numberValue: number | null;
183
179
  dateValue: Date | null;
184
180
  }>, "many">>>;
185
- }>, "strip", z.ZodTypeAny, {
181
+ }, "strip", z.ZodTypeAny, {
186
182
  type: string;
187
183
  id: string;
188
184
  disposition: string | null;
@@ -212,8 +208,8 @@ export declare const CxLogSchema: z.ZodObject<z.objectUtil.extendShape<{
212
208
  }[];
213
209
  }[];
214
210
  tags: {
215
- name: string;
216
211
  id: string;
212
+ name: string;
217
213
  createdAt: Date;
218
214
  updatedAt: Date;
219
215
  deletedAt: Date | null;
@@ -263,8 +259,8 @@ export declare const CxLogSchema: z.ZodObject<z.objectUtil.extendShape<{
263
259
  }[];
264
260
  }[];
265
261
  tags: {
266
- name: string;
267
262
  id: string;
263
+ name: string;
268
264
  createdAt: Date;
269
265
  updatedAt: Date;
270
266
  deletedAt: Date | null;
@@ -285,7 +281,7 @@ export declare const CxLogSchema: z.ZodObject<z.objectUtil.extendShape<{
285
281
  dateValue: Date | null;
286
282
  }[] | null | undefined;
287
283
  }>>;
288
- }>, "strip", z.ZodTypeAny, {
284
+ }, "strip", z.ZodTypeAny, {
289
285
  id: string;
290
286
  channel: string | null;
291
287
  direction: string | null;
@@ -331,8 +327,8 @@ export declare const CxLogSchema: z.ZodObject<z.objectUtil.extendShape<{
331
327
  }[];
332
328
  }[];
333
329
  tags: {
334
- name: string;
335
330
  id: string;
331
+ name: string;
336
332
  createdAt: Date;
337
333
  updatedAt: Date;
338
334
  deletedAt: Date | null;
@@ -399,8 +395,8 @@ export declare const CxLogSchema: z.ZodObject<z.objectUtil.extendShape<{
399
395
  }[];
400
396
  }[];
401
397
  tags: {
402
- name: string;
403
398
  id: string;
399
+ name: string;
404
400
  createdAt: Date;
405
401
  updatedAt: Date;
406
402
  deletedAt: Date | null;
@@ -422,12 +418,11 @@ export declare const CxLogSchema: z.ZodObject<z.objectUtil.extendShape<{
422
418
  }[] | null | undefined;
423
419
  } | null;
424
420
  }>;
425
- export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendShape<{
421
+ export declare const CxLogSchemaWithRelations: z.ZodObject<{
426
422
  id: z.ZodString;
427
423
  createdAt: z.ZodDate;
428
424
  updatedAt: z.ZodDate;
429
425
  deletedAt: z.ZodNullable<z.ZodDate>;
430
- }, {
431
426
  caseId: z.ZodNumber;
432
427
  entityId: z.ZodString;
433
428
  entityName: z.ZodString;
@@ -443,16 +438,15 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
443
438
  resolutionDate: z.ZodString;
444
439
  wrapUpDuration: z.ZodString;
445
440
  slaMeet: z.ZodNullable<z.ZodString>;
446
- evaluateForm: z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
441
+ evaluateForm: z.ZodNullable<z.ZodObject<{
447
442
  id: z.ZodString;
448
443
  createdAt: z.ZodDate;
449
444
  updatedAt: z.ZodDate;
450
445
  deletedAt: z.ZodNullable<z.ZodDate>;
451
- }, {
452
446
  cxLogId: z.ZodString;
453
447
  sentimentScore: z.ZodOptional<z.ZodNullable<z.ZodString>>;
454
448
  csatScore: z.ZodOptional<z.ZodNullable<z.ZodString>>;
455
- }>, "strip", z.ZodTypeAny, {
449
+ }, "strip", z.ZodTypeAny, {
456
450
  id: string;
457
451
  createdAt: Date;
458
452
  updatedAt: Date;
@@ -469,41 +463,38 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
469
463
  sentimentScore?: string | null | undefined;
470
464
  csatScore?: string | null | undefined;
471
465
  }>>;
472
- wrapUpForm: z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
466
+ wrapUpForm: z.ZodNullable<z.ZodObject<{
473
467
  id: z.ZodString;
474
468
  createdAt: z.ZodDate;
475
469
  updatedAt: z.ZodDate;
476
470
  deletedAt: z.ZodNullable<z.ZodDate>;
477
- }, {
478
471
  note: z.ZodNullable<z.ZodString>;
479
472
  disposition: z.ZodNullable<z.ZodString>;
480
473
  type: z.ZodString;
481
- tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
474
+ tags: z.ZodArray<z.ZodObject<{
482
475
  id: z.ZodString;
483
476
  createdAt: z.ZodDate;
484
477
  updatedAt: z.ZodDate;
485
478
  deletedAt: z.ZodNullable<z.ZodDate>;
486
- }, {
487
479
  name: z.ZodString;
488
- }>, "strip", z.ZodTypeAny, {
489
- name: string;
480
+ }, "strip", z.ZodTypeAny, {
490
481
  id: string;
482
+ name: string;
491
483
  createdAt: Date;
492
484
  updatedAt: Date;
493
485
  deletedAt: Date | null;
494
486
  }, {
495
- name: string;
496
487
  id: string;
488
+ name: string;
497
489
  createdAt: Date;
498
490
  updatedAt: Date;
499
491
  deletedAt: Date | null;
500
492
  }>, "many">;
501
- categories: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
493
+ categories: z.ZodArray<z.ZodObject<{
502
494
  id: z.ZodString;
503
495
  createdAt: z.ZodDate;
504
496
  updatedAt: z.ZodDate;
505
497
  deletedAt: z.ZodNullable<z.ZodDate>;
506
- }, {
507
498
  value: z.ZodString;
508
499
  level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
509
500
  parentId: z.ZodNullable<z.ZodString>;
@@ -556,7 +547,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
556
547
  childCategoryList: any[];
557
548
  }[];
558
549
  }>, "many">;
559
- }>, "strip", z.ZodTypeAny, {
550
+ }, "strip", z.ZodTypeAny, {
560
551
  id: string;
561
552
  value: string;
562
553
  createdAt: Date;
@@ -635,7 +626,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
635
626
  numberValue: number | null;
636
627
  dateValue: Date | null;
637
628
  }>, "many">>>;
638
- }>, "strip", z.ZodTypeAny, {
629
+ }, "strip", z.ZodTypeAny, {
639
630
  type: string;
640
631
  id: string;
641
632
  disposition: string | null;
@@ -665,8 +656,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
665
656
  }[];
666
657
  }[];
667
658
  tags: {
668
- name: string;
669
659
  id: string;
660
+ name: string;
670
661
  createdAt: Date;
671
662
  updatedAt: Date;
672
663
  deletedAt: Date | null;
@@ -716,8 +707,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
716
707
  }[];
717
708
  }[];
718
709
  tags: {
719
- name: string;
720
710
  id: string;
711
+ name: string;
721
712
  createdAt: Date;
722
713
  updatedAt: Date;
723
714
  deletedAt: Date | null;
@@ -765,13 +756,13 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
765
756
  picture: z.ZodOptional<z.ZodString>;
766
757
  additionalCredentials: z.ZodAny;
767
758
  }, "strip", z.ZodTypeAny, {
768
- name: string;
769
759
  id: string;
760
+ name: string;
770
761
  picture?: string | undefined;
771
762
  additionalCredentials?: any;
772
763
  }, {
773
- name: string;
774
764
  id: string;
765
+ name: string;
775
766
  picture?: string | undefined;
776
767
  additionalCredentials?: any;
777
768
  }>;
@@ -786,52 +777,48 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
786
777
  notes: z.ZodNullable<z.ZodString>;
787
778
  contactProfile: z.ZodNullable<z.ZodString>;
788
779
  socialProfileUrl: z.ZodNullable<z.ZodString>;
789
- tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
780
+ tags: z.ZodArray<z.ZodObject<{
790
781
  id: z.ZodString;
791
782
  createdAt: z.ZodDate;
792
783
  updatedAt: z.ZodDate;
793
784
  deletedAt: z.ZodNullable<z.ZodDate>;
794
- }, {
795
785
  name: z.ZodString;
796
- }>, "strip", z.ZodTypeAny, {
797
- name: string;
786
+ }, "strip", z.ZodTypeAny, {
798
787
  id: string;
788
+ name: string;
799
789
  createdAt: Date;
800
790
  updatedAt: Date;
801
791
  deletedAt: Date | null;
802
792
  }, {
803
- name: string;
804
793
  id: string;
794
+ name: string;
805
795
  createdAt: Date;
806
796
  updatedAt: Date;
807
797
  deletedAt: Date | null;
808
798
  }>, "many">;
809
- company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
799
+ company: z.ZodNullable<z.ZodObject<Omit<{
810
800
  id: z.ZodString;
811
801
  createdAt: z.ZodDate;
812
802
  updatedAt: z.ZodDate;
813
803
  deletedAt: z.ZodNullable<z.ZodDate>;
814
- }, {
815
804
  name: z.ZodOptional<z.ZodString>;
816
805
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
817
806
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
818
807
  industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
819
- customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
808
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
820
809
  id: z.ZodString;
821
810
  createdAt: z.ZodDate;
822
811
  updatedAt: z.ZodDate;
823
812
  deletedAt: z.ZodNullable<z.ZodDate>;
824
- }, {
825
813
  textValue: z.ZodNullable<z.ZodString>;
826
814
  booleanValue: z.ZodNullable<z.ZodBoolean>;
827
815
  numberValue: z.ZodNullable<z.ZodNumber>;
828
816
  dateValue: z.ZodNullable<z.ZodDate>;
829
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
817
+ attribute: z.ZodObject<Omit<{
830
818
  id: z.ZodString;
831
819
  createdAt: z.ZodDate;
832
820
  updatedAt: z.ZodDate;
833
821
  deletedAt: z.ZodNullable<z.ZodDate>;
834
- }, {
835
822
  systemName: z.ZodString;
836
823
  displayName: z.ZodString;
837
824
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -840,14 +827,13 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
840
827
  isArchived: z.ZodBoolean;
841
828
  isRequired: z.ZodBoolean;
842
829
  isUnique: z.ZodBoolean;
843
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
844
- label: z.ZodString;
830
+ options: z.ZodArray<z.ZodObject<{
831
+ position: z.ZodNumber;
845
832
  value: z.ZodString;
833
+ label: z.ZodString;
846
834
  isDefault: z.ZodBoolean;
847
- position: z.ZodNumber;
848
- }, {
849
835
  id: z.ZodString;
850
- }>, "strip", z.ZodTypeAny, {
836
+ }, "strip", z.ZodTypeAny, {
851
837
  id: string;
852
838
  position: number;
853
839
  value: string;
@@ -860,15 +846,14 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
860
846
  label: string;
861
847
  isDefault: boolean;
862
848
  }>, "many">;
863
- group: z.ZodObject<z.objectUtil.extendShape<{
849
+ group: z.ZodObject<{
864
850
  id: z.ZodString;
865
851
  createdAt: z.ZodDate;
866
852
  updatedAt: z.ZodDate;
867
853
  deletedAt: z.ZodNullable<z.ZodDate>;
868
- }, {
869
854
  systemName: z.ZodString;
870
855
  displayName: z.ZodString;
871
- }>, "strip", z.ZodTypeAny, {
856
+ }, "strip", z.ZodTypeAny, {
872
857
  id: string;
873
858
  createdAt: Date;
874
859
  updatedAt: Date;
@@ -883,7 +868,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
883
868
  systemName: string;
884
869
  displayName: string;
885
870
  }>;
886
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
871
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
887
872
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
888
873
  id: string;
889
874
  position: number;
@@ -910,7 +895,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
910
895
  isRequired: boolean;
911
896
  isUnique: boolean;
912
897
  }>;
913
- }>, "strip", z.ZodTypeAny, {
898
+ }, "strip", z.ZodTypeAny, {
914
899
  id: string;
915
900
  createdAt: Date;
916
901
  updatedAt: Date;
@@ -957,13 +942,13 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
957
942
  numberValue: number | null;
958
943
  dateValue: Date | null;
959
944
  }>, "many">>;
960
- }>, "customFields">, "strip", z.ZodTypeAny, {
945
+ }, "customFields">, "strip", z.ZodTypeAny, {
961
946
  id: string;
962
947
  createdAt: Date;
963
948
  updatedAt: Date;
964
949
  deletedAt: Date | null;
965
- name?: string | undefined;
966
950
  address?: string | null | undefined;
951
+ name?: string | undefined;
967
952
  phone?: string | null | undefined;
968
953
  industry?: string | null | undefined;
969
954
  }, {
@@ -971,8 +956,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
971
956
  createdAt: Date;
972
957
  updatedAt: Date;
973
958
  deletedAt: Date | null;
974
- name?: string | undefined;
975
959
  address?: string | null | undefined;
960
+ name?: string | undefined;
976
961
  phone?: string | null | undefined;
977
962
  industry?: string | null | undefined;
978
963
  }>>;
@@ -990,13 +975,13 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
990
975
  picture: z.ZodOptional<z.ZodString>;
991
976
  additionalCredentials: z.ZodAny;
992
977
  }, "strip", z.ZodTypeAny, {
993
- name: string;
994
978
  id: string;
979
+ name: string;
995
980
  picture?: string | undefined;
996
981
  additionalCredentials?: any;
997
982
  }, {
998
- name: string;
999
983
  id: string;
984
+ name: string;
1000
985
  picture?: string | undefined;
1001
986
  additionalCredentials?: any;
1002
987
  }>;
@@ -1004,8 +989,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
1004
989
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1005
990
  id: string;
1006
991
  metadata: {
1007
- name: string;
1008
992
  id: string;
993
+ name: string;
1009
994
  picture?: string | undefined;
1010
995
  additionalCredentials?: any;
1011
996
  };
@@ -1018,8 +1003,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
1018
1003
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1019
1004
  id: string;
1020
1005
  metadata: {
1021
- name: string;
1022
1006
  id: string;
1007
+ name: string;
1023
1008
  picture?: string | undefined;
1024
1009
  additionalCredentials?: any;
1025
1010
  };
@@ -1038,12 +1023,11 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
1038
1023
  booleanValue: z.ZodNullable<z.ZodBoolean>;
1039
1024
  numberValue: z.ZodNullable<z.ZodNumber>;
1040
1025
  dateValue: z.ZodNullable<z.ZodDate>;
1041
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
1026
+ attribute: z.ZodObject<Omit<{
1042
1027
  id: z.ZodString;
1043
1028
  createdAt: z.ZodDate;
1044
1029
  updatedAt: z.ZodDate;
1045
1030
  deletedAt: z.ZodNullable<z.ZodDate>;
1046
- }, {
1047
1031
  systemName: z.ZodString;
1048
1032
  displayName: z.ZodString;
1049
1033
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -1052,14 +1036,13 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
1052
1036
  isArchived: z.ZodBoolean;
1053
1037
  isRequired: z.ZodBoolean;
1054
1038
  isUnique: z.ZodBoolean;
1055
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1056
- label: z.ZodString;
1039
+ options: z.ZodArray<z.ZodObject<{
1040
+ position: z.ZodNumber;
1057
1041
  value: z.ZodString;
1042
+ label: z.ZodString;
1058
1043
  isDefault: z.ZodBoolean;
1059
- position: z.ZodNumber;
1060
- }, {
1061
1044
  id: z.ZodString;
1062
- }>, "strip", z.ZodTypeAny, {
1045
+ }, "strip", z.ZodTypeAny, {
1063
1046
  id: string;
1064
1047
  position: number;
1065
1048
  value: string;
@@ -1072,15 +1055,14 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
1072
1055
  label: string;
1073
1056
  isDefault: boolean;
1074
1057
  }>, "many">;
1075
- group: z.ZodObject<z.objectUtil.extendShape<{
1058
+ group: z.ZodObject<{
1076
1059
  id: z.ZodString;
1077
1060
  createdAt: z.ZodDate;
1078
1061
  updatedAt: z.ZodDate;
1079
1062
  deletedAt: z.ZodNullable<z.ZodDate>;
1080
- }, {
1081
1063
  systemName: z.ZodString;
1082
1064
  displayName: z.ZodString;
1083
- }>, "strip", z.ZodTypeAny, {
1065
+ }, "strip", z.ZodTypeAny, {
1084
1066
  id: string;
1085
1067
  createdAt: Date;
1086
1068
  updatedAt: Date;
@@ -1095,7 +1077,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
1095
1077
  systemName: string;
1096
1078
  displayName: string;
1097
1079
  }>;
1098
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
1080
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
1099
1081
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1100
1082
  id: string;
1101
1083
  position: number;
@@ -1122,19 +1104,18 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
1122
1104
  isRequired: boolean;
1123
1105
  isUnique: boolean;
1124
1106
  }>;
1125
- uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1107
+ uploads: z.ZodArray<z.ZodObject<{
1126
1108
  id: z.ZodString;
1127
1109
  createdAt: z.ZodDate;
1128
1110
  updatedAt: z.ZodDate;
1129
1111
  deletedAt: z.ZodNullable<z.ZodDate>;
1130
- }, {
1131
1112
  bucketName: z.ZodString;
1132
1113
  fileName: z.ZodString;
1133
1114
  fileSize: z.ZodNumber;
1134
1115
  fileKey: z.ZodString;
1135
1116
  fileUrl: z.ZodNullable<z.ZodString>;
1136
1117
  status: z.ZodNullable<z.ZodString>;
1137
- }>, "strip", z.ZodTypeAny, {
1118
+ }, "strip", z.ZodTypeAny, {
1138
1119
  id: string;
1139
1120
  status: string | null;
1140
1121
  createdAt: Date;
@@ -1333,10 +1314,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
1333
1314
  };
1334
1315
  }>, "many">>;
1335
1316
  }, "strip", z.ZodTypeAny, {
1336
- name: string;
1337
1317
  id: string;
1338
1318
  channel: string | null;
1339
1319
  address: string | null;
1320
+ name: string;
1340
1321
  createdAt: Date;
1341
1322
  updatedAt: Date;
1342
1323
  deletedAt: Date | null;
@@ -1381,8 +1362,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
1381
1362
  createdAt: Date;
1382
1363
  updatedAt: Date;
1383
1364
  deletedAt: Date | null;
1384
- name?: string | undefined;
1385
1365
  address?: string | null | undefined;
1366
+ name?: string | undefined;
1386
1367
  phone?: string | null | undefined;
1387
1368
  industry?: string | null | undefined;
1388
1369
  } | null;
@@ -1390,8 +1371,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
1390
1371
  contactProfile: string | null;
1391
1372
  socialProfileUrl: string | null;
1392
1373
  tags: {
1393
- name: string;
1394
1374
  id: string;
1375
+ name: string;
1395
1376
  createdAt: Date;
1396
1377
  updatedAt: Date;
1397
1378
  deletedAt: Date | null;
@@ -1416,8 +1397,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
1416
1397
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1417
1398
  id: string;
1418
1399
  metadata: {
1419
- name: string;
1420
1400
  id: string;
1401
+ name: string;
1421
1402
  picture?: string | undefined;
1422
1403
  additionalCredentials?: any;
1423
1404
  };
@@ -1444,10 +1425,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
1444
1425
  };
1445
1426
  }[] | undefined;
1446
1427
  }, {
1447
- name: string;
1448
1428
  id: string;
1449
1429
  channel: string | null;
1450
1430
  address: string | null;
1431
+ name: string;
1451
1432
  createdAt: Date;
1452
1433
  updatedAt: Date;
1453
1434
  deletedAt: Date | null;
@@ -1492,8 +1473,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
1492
1473
  createdAt: Date;
1493
1474
  updatedAt: Date;
1494
1475
  deletedAt: Date | null;
1495
- name?: string | undefined;
1496
1476
  address?: string | null | undefined;
1477
+ name?: string | undefined;
1497
1478
  phone?: string | null | undefined;
1498
1479
  industry?: string | null | undefined;
1499
1480
  } | null;
@@ -1501,8 +1482,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
1501
1482
  contactProfile: string | null;
1502
1483
  socialProfileUrl: string | null;
1503
1484
  tags: {
1504
- name: string;
1505
1485
  id: string;
1486
+ name: string;
1506
1487
  createdAt: Date;
1507
1488
  updatedAt: Date;
1508
1489
  deletedAt: Date | null;
@@ -1527,8 +1508,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
1527
1508
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1528
1509
  id: string;
1529
1510
  metadata: {
1530
- name: string;
1531
1511
  id: string;
1512
+ name: string;
1532
1513
  picture?: string | undefined;
1533
1514
  additionalCredentials?: any;
1534
1515
  };
@@ -1559,8 +1540,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
1559
1540
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1560
1541
  id: string;
1561
1542
  metadata: {
1562
- name: string;
1563
1543
  id: string;
1544
+ name: string;
1564
1545
  picture?: string | undefined;
1565
1546
  additionalCredentials?: any;
1566
1547
  };
@@ -1568,10 +1549,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
1568
1549
  updatedAt: Date;
1569
1550
  deletedAt: Date | null;
1570
1551
  contact: {
1571
- name: string;
1572
1552
  id: string;
1573
1553
  channel: string | null;
1574
1554
  address: string | null;
1555
+ name: string;
1575
1556
  createdAt: Date;
1576
1557
  updatedAt: Date;
1577
1558
  deletedAt: Date | null;
@@ -1616,8 +1597,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
1616
1597
  createdAt: Date;
1617
1598
  updatedAt: Date;
1618
1599
  deletedAt: Date | null;
1619
- name?: string | undefined;
1620
1600
  address?: string | null | undefined;
1601
+ name?: string | undefined;
1621
1602
  phone?: string | null | undefined;
1622
1603
  industry?: string | null | undefined;
1623
1604
  } | null;
@@ -1625,8 +1606,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
1625
1606
  contactProfile: string | null;
1626
1607
  socialProfileUrl: string | null;
1627
1608
  tags: {
1628
- name: string;
1629
1609
  id: string;
1610
+ name: string;
1630
1611
  createdAt: Date;
1631
1612
  updatedAt: Date;
1632
1613
  deletedAt: Date | null;
@@ -1651,8 +1632,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
1651
1632
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1652
1633
  id: string;
1653
1634
  metadata: {
1654
- name: string;
1655
1635
  id: string;
1636
+ name: string;
1656
1637
  picture?: string | undefined;
1657
1638
  additionalCredentials?: any;
1658
1639
  };
@@ -1685,8 +1666,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
1685
1666
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1686
1667
  id: string;
1687
1668
  metadata: {
1688
- name: string;
1689
1669
  id: string;
1670
+ name: string;
1690
1671
  picture?: string | undefined;
1691
1672
  additionalCredentials?: any;
1692
1673
  };
@@ -1694,10 +1675,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
1694
1675
  updatedAt: Date;
1695
1676
  deletedAt: Date | null;
1696
1677
  contact: {
1697
- name: string;
1698
1678
  id: string;
1699
1679
  channel: string | null;
1700
1680
  address: string | null;
1681
+ name: string;
1701
1682
  createdAt: Date;
1702
1683
  updatedAt: Date;
1703
1684
  deletedAt: Date | null;
@@ -1742,8 +1723,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
1742
1723
  createdAt: Date;
1743
1724
  updatedAt: Date;
1744
1725
  deletedAt: Date | null;
1745
- name?: string | undefined;
1746
1726
  address?: string | null | undefined;
1727
+ name?: string | undefined;
1747
1728
  phone?: string | null | undefined;
1748
1729
  industry?: string | null | undefined;
1749
1730
  } | null;
@@ -1751,8 +1732,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
1751
1732
  contactProfile: string | null;
1752
1733
  socialProfileUrl: string | null;
1753
1734
  tags: {
1754
- name: string;
1755
1735
  id: string;
1736
+ name: string;
1756
1737
  createdAt: Date;
1757
1738
  updatedAt: Date;
1758
1739
  deletedAt: Date | null;
@@ -1777,8 +1758,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
1777
1758
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
1778
1759
  id: string;
1779
1760
  metadata: {
1780
- name: string;
1781
1761
  id: string;
1762
+ name: string;
1782
1763
  picture?: string | undefined;
1783
1764
  additionalCredentials?: any;
1784
1765
  };
@@ -1926,9 +1907,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
1926
1907
  telephonySignature: string | null;
1927
1908
  }>;
1928
1909
  }, "strip", z.ZodTypeAny, {
1929
- name: string;
1930
1910
  id: string;
1931
1911
  address: string | null;
1912
+ name: string;
1932
1913
  email: string;
1933
1914
  createdAt: Date;
1934
1915
  updatedAt: Date;
@@ -1969,9 +1950,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
1969
1950
  telephonySignature: string | null;
1970
1951
  };
1971
1952
  }, {
1972
- name: string;
1973
1953
  id: string;
1974
1954
  address: string | null;
1955
+ name: string;
1975
1956
  email: string;
1976
1957
  createdAt: Date;
1977
1958
  updatedAt: Date;
@@ -2130,9 +2111,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
2130
2111
  telephonySignature: string | null;
2131
2112
  }>;
2132
2113
  }, "strip", z.ZodTypeAny, {
2133
- name: string;
2134
2114
  id: string;
2135
2115
  address: string | null;
2116
+ name: string;
2136
2117
  email: string;
2137
2118
  createdAt: Date;
2138
2119
  updatedAt: Date;
@@ -2173,9 +2154,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
2173
2154
  telephonySignature: string | null;
2174
2155
  };
2175
2156
  }, {
2176
- name: string;
2177
2157
  id: string;
2178
2158
  address: string | null;
2159
+ name: string;
2179
2160
  email: string;
2180
2161
  createdAt: Date;
2181
2162
  updatedAt: Date;
@@ -2239,24 +2220,27 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
2239
2220
  channelId: z.ZodOptional<z.ZodString>;
2240
2221
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
2241
2222
  apiKey: z.ZodOptional<z.ZodString>;
2223
+ tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
2242
2224
  }, "strip", z.ZodTypeAny, {
2243
2225
  email: string;
2244
2226
  wabaExternalId: string;
2245
2227
  phoneNumberId: string;
2246
- status?: "active" | "pending" | undefined;
2247
- channelId?: string | undefined;
2248
2228
  wabaBusinessId?: string | undefined;
2249
2229
  clientId?: string | undefined;
2230
+ channelId?: string | undefined;
2231
+ status?: "active" | "pending" | undefined;
2250
2232
  apiKey?: string | undefined;
2233
+ tier?: "basic" | "regular" | "premium" | undefined;
2251
2234
  }, {
2252
2235
  email: string;
2253
2236
  wabaExternalId: string;
2254
2237
  phoneNumberId: string;
2255
- status?: "active" | "pending" | undefined;
2256
- channelId?: string | undefined;
2257
2238
  wabaBusinessId?: string | undefined;
2258
2239
  clientId?: string | undefined;
2240
+ channelId?: string | undefined;
2241
+ status?: "active" | "pending" | undefined;
2259
2242
  apiKey?: string | undefined;
2243
+ tier?: "basic" | "regular" | "premium" | undefined;
2260
2244
  }>>;
2261
2245
  vonageCredentials: z.ZodOptional<z.ZodObject<{
2262
2246
  mobileNumber: z.ZodString;
@@ -2274,22 +2258,23 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
2274
2258
  lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
2275
2259
  messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
2276
2260
  }, "strip", z.ZodTypeAny, {
2277
- name: string;
2278
2261
  id: string;
2262
+ name: string;
2279
2263
  accessToken?: string | undefined;
2264
+ channelSecret?: string | undefined;
2265
+ additionalCredentials?: any;
2266
+ senderId?: string | undefined;
2280
2267
  whatsapp?: {
2281
2268
  email: string;
2282
2269
  wabaExternalId: string;
2283
2270
  phoneNumberId: string;
2284
- status?: "active" | "pending" | undefined;
2285
- channelId?: string | undefined;
2286
2271
  wabaBusinessId?: string | undefined;
2287
2272
  clientId?: string | undefined;
2273
+ channelId?: string | undefined;
2274
+ status?: "active" | "pending" | undefined;
2288
2275
  apiKey?: string | undefined;
2276
+ tier?: "basic" | "regular" | "premium" | undefined;
2289
2277
  } | undefined;
2290
- additionalCredentials?: any;
2291
- channelSecret?: string | undefined;
2292
- senderId?: string | undefined;
2293
2278
  vonageCredentials?: {
2294
2279
  apiKey: string;
2295
2280
  mobileNumber: string;
@@ -2298,22 +2283,23 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
2298
2283
  lineRichMenuId?: string | null | undefined;
2299
2284
  messengerIntegrationType?: "own" | "business" | undefined;
2300
2285
  }, {
2301
- name: string;
2302
2286
  id: string;
2287
+ name: string;
2303
2288
  accessToken?: string | undefined;
2289
+ channelSecret?: string | undefined;
2290
+ additionalCredentials?: any;
2291
+ senderId?: string | undefined;
2304
2292
  whatsapp?: {
2305
2293
  email: string;
2306
2294
  wabaExternalId: string;
2307
2295
  phoneNumberId: string;
2308
- status?: "active" | "pending" | undefined;
2309
- channelId?: string | undefined;
2310
2296
  wabaBusinessId?: string | undefined;
2311
2297
  clientId?: string | undefined;
2298
+ channelId?: string | undefined;
2299
+ status?: "active" | "pending" | undefined;
2312
2300
  apiKey?: string | undefined;
2301
+ tier?: "basic" | "regular" | "premium" | undefined;
2313
2302
  } | undefined;
2314
- additionalCredentials?: any;
2315
- channelSecret?: string | undefined;
2316
- senderId?: string | undefined;
2317
2303
  vonageCredentials?: {
2318
2304
  apiKey: string;
2319
2305
  mobileNumber: string;
@@ -2335,14 +2321,14 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
2335
2321
  integrationId: z.ZodString;
2336
2322
  accessToken: z.ZodString;
2337
2323
  }, "strip", z.ZodTypeAny, {
2338
- name: string;
2339
2324
  id: string;
2325
+ name: string;
2340
2326
  accessToken: string;
2341
2327
  botId: string;
2342
2328
  integrationId: string;
2343
2329
  }, {
2344
- name: string;
2345
2330
  id: string;
2331
+ name: string;
2346
2332
  accessToken: string;
2347
2333
  botId: string;
2348
2334
  integrationId: string;
@@ -2465,9 +2451,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
2465
2451
  telephonySignature: string | null;
2466
2452
  }>;
2467
2453
  }, "strip", z.ZodTypeAny, {
2468
- name: string;
2469
2454
  id: string;
2470
2455
  address: string | null;
2456
+ name: string;
2471
2457
  email: string;
2472
2458
  createdAt: Date;
2473
2459
  updatedAt: Date;
@@ -2508,9 +2494,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
2508
2494
  telephonySignature: string | null;
2509
2495
  };
2510
2496
  }, {
2511
- name: string;
2512
2497
  id: string;
2513
2498
  address: string | null;
2499
+ name: string;
2514
2500
  email: string;
2515
2501
  createdAt: Date;
2516
2502
  updatedAt: Date;
@@ -2552,26 +2538,27 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
2552
2538
  };
2553
2539
  }>;
2554
2540
  }, "strip", z.ZodTypeAny, {
2555
- name: string;
2556
2541
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
2557
2542
  id: string;
2543
+ name: string;
2558
2544
  metadata: {
2559
- name: string;
2560
2545
  id: string;
2546
+ name: string;
2561
2547
  accessToken?: string | undefined;
2548
+ channelSecret?: string | undefined;
2549
+ additionalCredentials?: any;
2550
+ senderId?: string | undefined;
2562
2551
  whatsapp?: {
2563
2552
  email: string;
2564
2553
  wabaExternalId: string;
2565
2554
  phoneNumberId: string;
2566
- status?: "active" | "pending" | undefined;
2567
- channelId?: string | undefined;
2568
2555
  wabaBusinessId?: string | undefined;
2569
2556
  clientId?: string | undefined;
2557
+ channelId?: string | undefined;
2558
+ status?: "active" | "pending" | undefined;
2570
2559
  apiKey?: string | undefined;
2560
+ tier?: "basic" | "regular" | "premium" | undefined;
2571
2561
  } | undefined;
2572
- additionalCredentials?: any;
2573
- channelSecret?: string | undefined;
2574
- senderId?: string | undefined;
2575
2562
  vonageCredentials?: {
2576
2563
  apiKey: string;
2577
2564
  mobileNumber: string;
@@ -2585,9 +2572,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
2585
2572
  updatedAt: Date;
2586
2573
  deletedAt: Date | null;
2587
2574
  actor: {
2588
- name: string;
2589
2575
  id: string;
2590
2576
  address: string | null;
2577
+ name: string;
2591
2578
  email: string;
2592
2579
  createdAt: Date;
2593
2580
  updatedAt: Date;
@@ -2634,33 +2621,34 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
2634
2621
  connectedUserName: string;
2635
2622
  connectedUserId: string;
2636
2623
  botpressBot: {
2637
- name: string;
2638
2624
  id: string;
2625
+ name: string;
2639
2626
  accessToken: string;
2640
2627
  botId: string;
2641
2628
  integrationId: string;
2642
2629
  } | null;
2643
2630
  }, {
2644
- name: string;
2645
2631
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
2646
2632
  id: string;
2633
+ name: string;
2647
2634
  metadata: {
2648
- name: string;
2649
2635
  id: string;
2636
+ name: string;
2650
2637
  accessToken?: string | undefined;
2638
+ channelSecret?: string | undefined;
2639
+ additionalCredentials?: any;
2640
+ senderId?: string | undefined;
2651
2641
  whatsapp?: {
2652
2642
  email: string;
2653
2643
  wabaExternalId: string;
2654
2644
  phoneNumberId: string;
2655
- status?: "active" | "pending" | undefined;
2656
- channelId?: string | undefined;
2657
2645
  wabaBusinessId?: string | undefined;
2658
2646
  clientId?: string | undefined;
2647
+ channelId?: string | undefined;
2648
+ status?: "active" | "pending" | undefined;
2659
2649
  apiKey?: string | undefined;
2650
+ tier?: "basic" | "regular" | "premium" | undefined;
2660
2651
  } | undefined;
2661
- additionalCredentials?: any;
2662
- channelSecret?: string | undefined;
2663
- senderId?: string | undefined;
2664
2652
  vonageCredentials?: {
2665
2653
  apiKey: string;
2666
2654
  mobileNumber: string;
@@ -2674,9 +2662,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
2674
2662
  updatedAt: Date;
2675
2663
  deletedAt: Date | null;
2676
2664
  actor: {
2677
- name: string;
2678
2665
  id: string;
2679
2666
  address: string | null;
2667
+ name: string;
2680
2668
  email: string;
2681
2669
  createdAt: Date;
2682
2670
  updatedAt: Date;
@@ -2723,8 +2711,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
2723
2711
  connectedUserName: string;
2724
2712
  connectedUserId: string;
2725
2713
  botpressBot: {
2726
- name: string;
2727
2714
  id: string;
2715
+ name: string;
2728
2716
  accessToken: string;
2729
2717
  botId: string;
2730
2718
  integrationId: string;
@@ -2733,26 +2721,27 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
2733
2721
  }, "strip", z.ZodTypeAny, {
2734
2722
  id: string;
2735
2723
  channel: {
2736
- name: string;
2737
2724
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
2738
2725
  id: string;
2726
+ name: string;
2739
2727
  metadata: {
2740
- name: string;
2741
2728
  id: string;
2729
+ name: string;
2742
2730
  accessToken?: string | undefined;
2731
+ channelSecret?: string | undefined;
2732
+ additionalCredentials?: any;
2733
+ senderId?: string | undefined;
2743
2734
  whatsapp?: {
2744
2735
  email: string;
2745
2736
  wabaExternalId: string;
2746
2737
  phoneNumberId: string;
2747
- status?: "active" | "pending" | undefined;
2748
- channelId?: string | undefined;
2749
2738
  wabaBusinessId?: string | undefined;
2750
2739
  clientId?: string | undefined;
2740
+ channelId?: string | undefined;
2741
+ status?: "active" | "pending" | undefined;
2751
2742
  apiKey?: string | undefined;
2743
+ tier?: "basic" | "regular" | "premium" | undefined;
2752
2744
  } | undefined;
2753
- additionalCredentials?: any;
2754
- channelSecret?: string | undefined;
2755
- senderId?: string | undefined;
2756
2745
  vonageCredentials?: {
2757
2746
  apiKey: string;
2758
2747
  mobileNumber: string;
@@ -2766,9 +2755,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
2766
2755
  updatedAt: Date;
2767
2756
  deletedAt: Date | null;
2768
2757
  actor: {
2769
- name: string;
2770
2758
  id: string;
2771
2759
  address: string | null;
2760
+ name: string;
2772
2761
  email: string;
2773
2762
  createdAt: Date;
2774
2763
  updatedAt: Date;
@@ -2815,8 +2804,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
2815
2804
  connectedUserName: string;
2816
2805
  connectedUserId: string;
2817
2806
  botpressBot: {
2818
- name: string;
2819
2807
  id: string;
2808
+ name: string;
2820
2809
  accessToken: string;
2821
2810
  botId: string;
2822
2811
  integrationId: string;
@@ -2827,9 +2816,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
2827
2816
  updatedAt: Date;
2828
2817
  deletedAt: Date | null;
2829
2818
  actor: {
2830
- name: string;
2831
2819
  id: string;
2832
2820
  address: string | null;
2821
+ name: string;
2833
2822
  email: string;
2834
2823
  createdAt: Date;
2835
2824
  updatedAt: Date;
@@ -2881,8 +2870,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
2881
2870
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
2882
2871
  id: string;
2883
2872
  metadata: {
2884
- name: string;
2885
2873
  id: string;
2874
+ name: string;
2886
2875
  picture?: string | undefined;
2887
2876
  additionalCredentials?: any;
2888
2877
  };
@@ -2890,10 +2879,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
2890
2879
  updatedAt: Date;
2891
2880
  deletedAt: Date | null;
2892
2881
  contact: {
2893
- name: string;
2894
2882
  id: string;
2895
2883
  channel: string | null;
2896
2884
  address: string | null;
2885
+ name: string;
2897
2886
  createdAt: Date;
2898
2887
  updatedAt: Date;
2899
2888
  deletedAt: Date | null;
@@ -2938,8 +2927,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
2938
2927
  createdAt: Date;
2939
2928
  updatedAt: Date;
2940
2929
  deletedAt: Date | null;
2941
- name?: string | undefined;
2942
2930
  address?: string | null | undefined;
2931
+ name?: string | undefined;
2943
2932
  phone?: string | null | undefined;
2944
2933
  industry?: string | null | undefined;
2945
2934
  } | null;
@@ -2947,8 +2936,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
2947
2936
  contactProfile: string | null;
2948
2937
  socialProfileUrl: string | null;
2949
2938
  tags: {
2950
- name: string;
2951
2939
  id: string;
2940
+ name: string;
2952
2941
  createdAt: Date;
2953
2942
  updatedAt: Date;
2954
2943
  deletedAt: Date | null;
@@ -2973,8 +2962,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
2973
2962
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
2974
2963
  id: string;
2975
2964
  metadata: {
2976
- name: string;
2977
2965
  id: string;
2966
+ name: string;
2978
2967
  picture?: string | undefined;
2979
2968
  additionalCredentials?: any;
2980
2969
  };
@@ -3005,9 +2994,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
3005
2994
  socialPlatformId: string;
3006
2995
  };
3007
2996
  assignee: {
3008
- name: string;
3009
2997
  id: string;
3010
2998
  address: string | null;
2999
+ name: string;
3011
3000
  email: string;
3012
3001
  createdAt: Date;
3013
3002
  updatedAt: Date;
@@ -3051,26 +3040,27 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
3051
3040
  }, {
3052
3041
  id: string;
3053
3042
  channel: {
3054
- name: string;
3055
3043
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
3056
3044
  id: string;
3045
+ name: string;
3057
3046
  metadata: {
3058
- name: string;
3059
3047
  id: string;
3048
+ name: string;
3060
3049
  accessToken?: string | undefined;
3050
+ channelSecret?: string | undefined;
3051
+ additionalCredentials?: any;
3052
+ senderId?: string | undefined;
3061
3053
  whatsapp?: {
3062
3054
  email: string;
3063
3055
  wabaExternalId: string;
3064
3056
  phoneNumberId: string;
3065
- status?: "active" | "pending" | undefined;
3066
- channelId?: string | undefined;
3067
3057
  wabaBusinessId?: string | undefined;
3068
3058
  clientId?: string | undefined;
3059
+ channelId?: string | undefined;
3060
+ status?: "active" | "pending" | undefined;
3069
3061
  apiKey?: string | undefined;
3062
+ tier?: "basic" | "regular" | "premium" | undefined;
3070
3063
  } | undefined;
3071
- additionalCredentials?: any;
3072
- channelSecret?: string | undefined;
3073
- senderId?: string | undefined;
3074
3064
  vonageCredentials?: {
3075
3065
  apiKey: string;
3076
3066
  mobileNumber: string;
@@ -3084,9 +3074,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
3084
3074
  updatedAt: Date;
3085
3075
  deletedAt: Date | null;
3086
3076
  actor: {
3087
- name: string;
3088
3077
  id: string;
3089
3078
  address: string | null;
3079
+ name: string;
3090
3080
  email: string;
3091
3081
  createdAt: Date;
3092
3082
  updatedAt: Date;
@@ -3133,8 +3123,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
3133
3123
  connectedUserName: string;
3134
3124
  connectedUserId: string;
3135
3125
  botpressBot: {
3136
- name: string;
3137
3126
  id: string;
3127
+ name: string;
3138
3128
  accessToken: string;
3139
3129
  botId: string;
3140
3130
  integrationId: string;
@@ -3145,9 +3135,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
3145
3135
  updatedAt: Date;
3146
3136
  deletedAt: Date | null;
3147
3137
  actor: {
3148
- name: string;
3149
3138
  id: string;
3150
3139
  address: string | null;
3140
+ name: string;
3151
3141
  email: string;
3152
3142
  createdAt: Date;
3153
3143
  updatedAt: Date;
@@ -3199,8 +3189,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
3199
3189
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
3200
3190
  id: string;
3201
3191
  metadata: {
3202
- name: string;
3203
3192
  id: string;
3193
+ name: string;
3204
3194
  picture?: string | undefined;
3205
3195
  additionalCredentials?: any;
3206
3196
  };
@@ -3208,10 +3198,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
3208
3198
  updatedAt: Date;
3209
3199
  deletedAt: Date | null;
3210
3200
  contact: {
3211
- name: string;
3212
3201
  id: string;
3213
3202
  channel: string | null;
3214
3203
  address: string | null;
3204
+ name: string;
3215
3205
  createdAt: Date;
3216
3206
  updatedAt: Date;
3217
3207
  deletedAt: Date | null;
@@ -3256,8 +3246,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
3256
3246
  createdAt: Date;
3257
3247
  updatedAt: Date;
3258
3248
  deletedAt: Date | null;
3259
- name?: string | undefined;
3260
3249
  address?: string | null | undefined;
3250
+ name?: string | undefined;
3261
3251
  phone?: string | null | undefined;
3262
3252
  industry?: string | null | undefined;
3263
3253
  } | null;
@@ -3265,8 +3255,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
3265
3255
  contactProfile: string | null;
3266
3256
  socialProfileUrl: string | null;
3267
3257
  tags: {
3268
- name: string;
3269
3258
  id: string;
3259
+ name: string;
3270
3260
  createdAt: Date;
3271
3261
  updatedAt: Date;
3272
3262
  deletedAt: Date | null;
@@ -3291,8 +3281,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
3291
3281
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
3292
3282
  id: string;
3293
3283
  metadata: {
3294
- name: string;
3295
3284
  id: string;
3285
+ name: string;
3296
3286
  picture?: string | undefined;
3297
3287
  additionalCredentials?: any;
3298
3288
  };
@@ -3323,9 +3313,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
3323
3313
  socialPlatformId: string;
3324
3314
  };
3325
3315
  assignee: {
3326
- name: string;
3327
3316
  id: string;
3328
3317
  address: string | null;
3318
+ name: string;
3329
3319
  email: string;
3330
3320
  createdAt: Date;
3331
3321
  updatedAt: Date;
@@ -3367,12 +3357,11 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
3367
3357
  };
3368
3358
  } | null;
3369
3359
  }>>;
3370
- telephonyCdr: z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
3360
+ telephonyCdr: z.ZodNullable<z.ZodObject<{
3371
3361
  id: z.ZodString;
3372
3362
  createdAt: z.ZodDate;
3373
3363
  updatedAt: z.ZodDate;
3374
3364
  deletedAt: z.ZodNullable<z.ZodDate>;
3375
- }, {
3376
3365
  uniqueCallId: z.ZodString;
3377
3366
  timeStart: z.ZodString;
3378
3367
  callFrom: z.ZodString;
@@ -3392,52 +3381,48 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
3392
3381
  notes: z.ZodNullable<z.ZodString>;
3393
3382
  contactProfile: z.ZodNullable<z.ZodString>;
3394
3383
  socialProfileUrl: z.ZodNullable<z.ZodString>;
3395
- tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
3384
+ tags: z.ZodArray<z.ZodObject<{
3396
3385
  id: z.ZodString;
3397
3386
  createdAt: z.ZodDate;
3398
3387
  updatedAt: z.ZodDate;
3399
3388
  deletedAt: z.ZodNullable<z.ZodDate>;
3400
- }, {
3401
3389
  name: z.ZodString;
3402
- }>, "strip", z.ZodTypeAny, {
3403
- name: string;
3390
+ }, "strip", z.ZodTypeAny, {
3404
3391
  id: string;
3392
+ name: string;
3405
3393
  createdAt: Date;
3406
3394
  updatedAt: Date;
3407
3395
  deletedAt: Date | null;
3408
3396
  }, {
3409
- name: string;
3410
3397
  id: string;
3398
+ name: string;
3411
3399
  createdAt: Date;
3412
3400
  updatedAt: Date;
3413
3401
  deletedAt: Date | null;
3414
3402
  }>, "many">;
3415
- company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
3403
+ company: z.ZodNullable<z.ZodObject<Omit<{
3416
3404
  id: z.ZodString;
3417
3405
  createdAt: z.ZodDate;
3418
3406
  updatedAt: z.ZodDate;
3419
3407
  deletedAt: z.ZodNullable<z.ZodDate>;
3420
- }, {
3421
3408
  name: z.ZodOptional<z.ZodString>;
3422
3409
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3423
3410
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3424
3411
  industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3425
- customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
3412
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
3426
3413
  id: z.ZodString;
3427
3414
  createdAt: z.ZodDate;
3428
3415
  updatedAt: z.ZodDate;
3429
3416
  deletedAt: z.ZodNullable<z.ZodDate>;
3430
- }, {
3431
3417
  textValue: z.ZodNullable<z.ZodString>;
3432
3418
  booleanValue: z.ZodNullable<z.ZodBoolean>;
3433
3419
  numberValue: z.ZodNullable<z.ZodNumber>;
3434
3420
  dateValue: z.ZodNullable<z.ZodDate>;
3435
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
3421
+ attribute: z.ZodObject<Omit<{
3436
3422
  id: z.ZodString;
3437
3423
  createdAt: z.ZodDate;
3438
3424
  updatedAt: z.ZodDate;
3439
3425
  deletedAt: z.ZodNullable<z.ZodDate>;
3440
- }, {
3441
3426
  systemName: z.ZodString;
3442
3427
  displayName: z.ZodString;
3443
3428
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -3446,14 +3431,13 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
3446
3431
  isArchived: z.ZodBoolean;
3447
3432
  isRequired: z.ZodBoolean;
3448
3433
  isUnique: z.ZodBoolean;
3449
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
3450
- label: z.ZodString;
3434
+ options: z.ZodArray<z.ZodObject<{
3435
+ position: z.ZodNumber;
3451
3436
  value: z.ZodString;
3437
+ label: z.ZodString;
3452
3438
  isDefault: z.ZodBoolean;
3453
- position: z.ZodNumber;
3454
- }, {
3455
3439
  id: z.ZodString;
3456
- }>, "strip", z.ZodTypeAny, {
3440
+ }, "strip", z.ZodTypeAny, {
3457
3441
  id: string;
3458
3442
  position: number;
3459
3443
  value: string;
@@ -3466,15 +3450,14 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
3466
3450
  label: string;
3467
3451
  isDefault: boolean;
3468
3452
  }>, "many">;
3469
- group: z.ZodObject<z.objectUtil.extendShape<{
3453
+ group: z.ZodObject<{
3470
3454
  id: z.ZodString;
3471
3455
  createdAt: z.ZodDate;
3472
3456
  updatedAt: z.ZodDate;
3473
3457
  deletedAt: z.ZodNullable<z.ZodDate>;
3474
- }, {
3475
3458
  systemName: z.ZodString;
3476
3459
  displayName: z.ZodString;
3477
- }>, "strip", z.ZodTypeAny, {
3460
+ }, "strip", z.ZodTypeAny, {
3478
3461
  id: string;
3479
3462
  createdAt: Date;
3480
3463
  updatedAt: Date;
@@ -3489,7 +3472,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
3489
3472
  systemName: string;
3490
3473
  displayName: string;
3491
3474
  }>;
3492
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
3475
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
3493
3476
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
3494
3477
  id: string;
3495
3478
  position: number;
@@ -3516,7 +3499,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
3516
3499
  isRequired: boolean;
3517
3500
  isUnique: boolean;
3518
3501
  }>;
3519
- }>, "strip", z.ZodTypeAny, {
3502
+ }, "strip", z.ZodTypeAny, {
3520
3503
  id: string;
3521
3504
  createdAt: Date;
3522
3505
  updatedAt: Date;
@@ -3563,13 +3546,13 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
3563
3546
  numberValue: number | null;
3564
3547
  dateValue: Date | null;
3565
3548
  }>, "many">>;
3566
- }>, "customFields">, "strip", z.ZodTypeAny, {
3549
+ }, "customFields">, "strip", z.ZodTypeAny, {
3567
3550
  id: string;
3568
3551
  createdAt: Date;
3569
3552
  updatedAt: Date;
3570
3553
  deletedAt: Date | null;
3571
- name?: string | undefined;
3572
3554
  address?: string | null | undefined;
3555
+ name?: string | undefined;
3573
3556
  phone?: string | null | undefined;
3574
3557
  industry?: string | null | undefined;
3575
3558
  }, {
@@ -3577,8 +3560,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
3577
3560
  createdAt: Date;
3578
3561
  updatedAt: Date;
3579
3562
  deletedAt: Date | null;
3580
- name?: string | undefined;
3581
3563
  address?: string | null | undefined;
3564
+ name?: string | undefined;
3582
3565
  phone?: string | null | undefined;
3583
3566
  industry?: string | null | undefined;
3584
3567
  }>>;
@@ -3596,13 +3579,13 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
3596
3579
  picture: z.ZodOptional<z.ZodString>;
3597
3580
  additionalCredentials: z.ZodAny;
3598
3581
  }, "strip", z.ZodTypeAny, {
3599
- name: string;
3600
3582
  id: string;
3583
+ name: string;
3601
3584
  picture?: string | undefined;
3602
3585
  additionalCredentials?: any;
3603
3586
  }, {
3604
- name: string;
3605
3587
  id: string;
3588
+ name: string;
3606
3589
  picture?: string | undefined;
3607
3590
  additionalCredentials?: any;
3608
3591
  }>;
@@ -3610,8 +3593,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
3610
3593
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
3611
3594
  id: string;
3612
3595
  metadata: {
3613
- name: string;
3614
3596
  id: string;
3597
+ name: string;
3615
3598
  picture?: string | undefined;
3616
3599
  additionalCredentials?: any;
3617
3600
  };
@@ -3624,8 +3607,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
3624
3607
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
3625
3608
  id: string;
3626
3609
  metadata: {
3627
- name: string;
3628
3610
  id: string;
3611
+ name: string;
3629
3612
  picture?: string | undefined;
3630
3613
  additionalCredentials?: any;
3631
3614
  };
@@ -3644,12 +3627,11 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
3644
3627
  booleanValue: z.ZodNullable<z.ZodBoolean>;
3645
3628
  numberValue: z.ZodNullable<z.ZodNumber>;
3646
3629
  dateValue: z.ZodNullable<z.ZodDate>;
3647
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
3630
+ attribute: z.ZodObject<Omit<{
3648
3631
  id: z.ZodString;
3649
3632
  createdAt: z.ZodDate;
3650
3633
  updatedAt: z.ZodDate;
3651
3634
  deletedAt: z.ZodNullable<z.ZodDate>;
3652
- }, {
3653
3635
  systemName: z.ZodString;
3654
3636
  displayName: z.ZodString;
3655
3637
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -3658,14 +3640,13 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
3658
3640
  isArchived: z.ZodBoolean;
3659
3641
  isRequired: z.ZodBoolean;
3660
3642
  isUnique: z.ZodBoolean;
3661
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
3662
- label: z.ZodString;
3643
+ options: z.ZodArray<z.ZodObject<{
3644
+ position: z.ZodNumber;
3663
3645
  value: z.ZodString;
3646
+ label: z.ZodString;
3664
3647
  isDefault: z.ZodBoolean;
3665
- position: z.ZodNumber;
3666
- }, {
3667
3648
  id: z.ZodString;
3668
- }>, "strip", z.ZodTypeAny, {
3649
+ }, "strip", z.ZodTypeAny, {
3669
3650
  id: string;
3670
3651
  position: number;
3671
3652
  value: string;
@@ -3678,15 +3659,14 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
3678
3659
  label: string;
3679
3660
  isDefault: boolean;
3680
3661
  }>, "many">;
3681
- group: z.ZodObject<z.objectUtil.extendShape<{
3662
+ group: z.ZodObject<{
3682
3663
  id: z.ZodString;
3683
3664
  createdAt: z.ZodDate;
3684
3665
  updatedAt: z.ZodDate;
3685
3666
  deletedAt: z.ZodNullable<z.ZodDate>;
3686
- }, {
3687
3667
  systemName: z.ZodString;
3688
3668
  displayName: z.ZodString;
3689
- }>, "strip", z.ZodTypeAny, {
3669
+ }, "strip", z.ZodTypeAny, {
3690
3670
  id: string;
3691
3671
  createdAt: Date;
3692
3672
  updatedAt: Date;
@@ -3701,7 +3681,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
3701
3681
  systemName: string;
3702
3682
  displayName: string;
3703
3683
  }>;
3704
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
3684
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
3705
3685
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
3706
3686
  id: string;
3707
3687
  position: number;
@@ -3728,19 +3708,18 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
3728
3708
  isRequired: boolean;
3729
3709
  isUnique: boolean;
3730
3710
  }>;
3731
- uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
3711
+ uploads: z.ZodArray<z.ZodObject<{
3732
3712
  id: z.ZodString;
3733
3713
  createdAt: z.ZodDate;
3734
3714
  updatedAt: z.ZodDate;
3735
3715
  deletedAt: z.ZodNullable<z.ZodDate>;
3736
- }, {
3737
3716
  bucketName: z.ZodString;
3738
3717
  fileName: z.ZodString;
3739
3718
  fileSize: z.ZodNumber;
3740
3719
  fileKey: z.ZodString;
3741
3720
  fileUrl: z.ZodNullable<z.ZodString>;
3742
3721
  status: z.ZodNullable<z.ZodString>;
3743
- }>, "strip", z.ZodTypeAny, {
3722
+ }, "strip", z.ZodTypeAny, {
3744
3723
  id: string;
3745
3724
  status: string | null;
3746
3725
  createdAt: Date;
@@ -3939,10 +3918,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
3939
3918
  };
3940
3919
  }>, "many">>;
3941
3920
  }, "strip", z.ZodTypeAny, {
3942
- name: string;
3943
3921
  id: string;
3944
3922
  channel: string | null;
3945
3923
  address: string | null;
3924
+ name: string;
3946
3925
  createdAt: Date;
3947
3926
  updatedAt: Date;
3948
3927
  deletedAt: Date | null;
@@ -3987,8 +3966,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
3987
3966
  createdAt: Date;
3988
3967
  updatedAt: Date;
3989
3968
  deletedAt: Date | null;
3990
- name?: string | undefined;
3991
3969
  address?: string | null | undefined;
3970
+ name?: string | undefined;
3992
3971
  phone?: string | null | undefined;
3993
3972
  industry?: string | null | undefined;
3994
3973
  } | null;
@@ -3996,8 +3975,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
3996
3975
  contactProfile: string | null;
3997
3976
  socialProfileUrl: string | null;
3998
3977
  tags: {
3999
- name: string;
4000
3978
  id: string;
3979
+ name: string;
4001
3980
  createdAt: Date;
4002
3981
  updatedAt: Date;
4003
3982
  deletedAt: Date | null;
@@ -4022,8 +4001,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
4022
4001
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
4023
4002
  id: string;
4024
4003
  metadata: {
4025
- name: string;
4026
4004
  id: string;
4005
+ name: string;
4027
4006
  picture?: string | undefined;
4028
4007
  additionalCredentials?: any;
4029
4008
  };
@@ -4050,10 +4029,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
4050
4029
  };
4051
4030
  }[] | undefined;
4052
4031
  }, {
4053
- name: string;
4054
4032
  id: string;
4055
4033
  channel: string | null;
4056
4034
  address: string | null;
4035
+ name: string;
4057
4036
  createdAt: Date;
4058
4037
  updatedAt: Date;
4059
4038
  deletedAt: Date | null;
@@ -4098,8 +4077,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
4098
4077
  createdAt: Date;
4099
4078
  updatedAt: Date;
4100
4079
  deletedAt: Date | null;
4101
- name?: string | undefined;
4102
4080
  address?: string | null | undefined;
4081
+ name?: string | undefined;
4103
4082
  phone?: string | null | undefined;
4104
4083
  industry?: string | null | undefined;
4105
4084
  } | null;
@@ -4107,8 +4086,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
4107
4086
  contactProfile: string | null;
4108
4087
  socialProfileUrl: string | null;
4109
4088
  tags: {
4110
- name: string;
4111
4089
  id: string;
4090
+ name: string;
4112
4091
  createdAt: Date;
4113
4092
  updatedAt: Date;
4114
4093
  deletedAt: Date | null;
@@ -4133,8 +4112,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
4133
4112
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
4134
4113
  id: string;
4135
4114
  metadata: {
4136
- name: string;
4137
4115
  id: string;
4116
+ name: string;
4138
4117
  picture?: string | undefined;
4139
4118
  additionalCredentials?: any;
4140
4119
  };
@@ -4161,17 +4140,16 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
4161
4140
  };
4162
4141
  }[] | undefined;
4163
4142
  }>>;
4164
- telephonyQueue: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
4143
+ telephonyQueue: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4165
4144
  id: z.ZodString;
4166
4145
  createdAt: z.ZodDate;
4167
4146
  updatedAt: z.ZodDate;
4168
4147
  deletedAt: z.ZodNullable<z.ZodDate>;
4169
- }, {
4170
4148
  queueId: z.ZodNumber;
4171
4149
  queueName: z.ZodString;
4172
4150
  queueNumber: z.ZodString;
4173
4151
  maximumWaitingTime: z.ZodNumber;
4174
- }>, "strip", z.ZodTypeAny, {
4152
+ }, "strip", z.ZodTypeAny, {
4175
4153
  id: string;
4176
4154
  createdAt: Date;
4177
4155
  updatedAt: Date;
@@ -4198,19 +4176,18 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
4198
4176
  agentRingTime: z.ZodNullable<z.ZodNumber>;
4199
4177
  uploadId: z.ZodNullable<z.ZodString>;
4200
4178
  serialNumber: z.ZodNullable<z.ZodString>;
4201
- upload: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
4179
+ upload: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4202
4180
  id: z.ZodString;
4203
4181
  createdAt: z.ZodDate;
4204
4182
  updatedAt: z.ZodDate;
4205
4183
  deletedAt: z.ZodNullable<z.ZodDate>;
4206
- }, {
4207
4184
  bucketName: z.ZodString;
4208
4185
  fileName: z.ZodString;
4209
4186
  fileSize: z.ZodNumber;
4210
4187
  fileKey: z.ZodString;
4211
4188
  fileUrl: z.ZodNullable<z.ZodString>;
4212
4189
  status: z.ZodNullable<z.ZodString>;
4213
- }>, "strip", z.ZodTypeAny, {
4190
+ }, "strip", z.ZodTypeAny, {
4214
4191
  id: string;
4215
4192
  status: string | null;
4216
4193
  createdAt: Date;
@@ -4354,9 +4331,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
4354
4331
  telephonySignature: string | null;
4355
4332
  }>;
4356
4333
  }, "roles" | "extension">, "strip", z.ZodTypeAny, {
4357
- name: string;
4358
4334
  id: string;
4359
4335
  address: string | null;
4336
+ name: string;
4360
4337
  email: string;
4361
4338
  createdAt: Date;
4362
4339
  updatedAt: Date;
@@ -4366,9 +4343,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
4366
4343
  phone: string | null;
4367
4344
  notificationCount: number | null;
4368
4345
  }, {
4369
- name: string;
4370
4346
  id: string;
4371
4347
  address: string | null;
4348
+ name: string;
4372
4349
  email: string;
4373
4350
  createdAt: Date;
4374
4351
  updatedAt: Date;
@@ -4391,9 +4368,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
4391
4368
  }, "strip", z.ZodTypeAny, {
4392
4369
  id: string;
4393
4370
  user: {
4394
- name: string;
4395
4371
  id: string;
4396
4372
  address: string | null;
4373
+ name: string;
4397
4374
  email: string;
4398
4375
  createdAt: Date;
4399
4376
  updatedAt: Date;
@@ -4416,9 +4393,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
4416
4393
  }, {
4417
4394
  id: string;
4418
4395
  user: {
4419
- name: string;
4420
4396
  id: string;
4421
4397
  address: string | null;
4398
+ name: string;
4422
4399
  email: string;
4423
4400
  createdAt: Date;
4424
4401
  updatedAt: Date;
@@ -4559,9 +4536,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
4559
4536
  telephonySignature: string | null;
4560
4537
  }>;
4561
4538
  }, "roles" | "extension">, "strip", z.ZodTypeAny, {
4562
- name: string;
4563
4539
  id: string;
4564
4540
  address: string | null;
4541
+ name: string;
4565
4542
  email: string;
4566
4543
  createdAt: Date;
4567
4544
  updatedAt: Date;
@@ -4571,9 +4548,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
4571
4548
  phone: string | null;
4572
4549
  notificationCount: number | null;
4573
4550
  }, {
4574
- name: string;
4575
4551
  id: string;
4576
4552
  address: string | null;
4553
+ name: string;
4577
4554
  email: string;
4578
4555
  createdAt: Date;
4579
4556
  updatedAt: Date;
@@ -4596,9 +4573,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
4596
4573
  }, "strip", z.ZodTypeAny, {
4597
4574
  id: string;
4598
4575
  user: {
4599
- name: string;
4600
4576
  id: string;
4601
4577
  address: string | null;
4578
+ name: string;
4602
4579
  email: string;
4603
4580
  createdAt: Date;
4604
4581
  updatedAt: Date;
@@ -4621,9 +4598,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
4621
4598
  }, {
4622
4599
  id: string;
4623
4600
  user: {
4624
- name: string;
4625
4601
  id: string;
4626
4602
  address: string | null;
4603
+ name: string;
4627
4604
  email: string;
4628
4605
  createdAt: Date;
4629
4606
  updatedAt: Date;
@@ -4645,12 +4622,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
4645
4622
  updatedAt?: string | undefined;
4646
4623
  }>>>;
4647
4624
  }, "strip", z.ZodTypeAny, {
4648
- callFrom?: {
4625
+ callTo?: {
4649
4626
  id: string;
4650
4627
  user: {
4651
- name: string;
4652
4628
  id: string;
4653
4629
  address: string | null;
4630
+ name: string;
4654
4631
  email: string;
4655
4632
  createdAt: Date;
4656
4633
  updatedAt: Date;
@@ -4671,12 +4648,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
4671
4648
  createdAt?: string | undefined;
4672
4649
  updatedAt?: string | undefined;
4673
4650
  } | null | undefined;
4674
- callTo?: {
4651
+ callFrom?: {
4675
4652
  id: string;
4676
4653
  user: {
4677
- name: string;
4678
4654
  id: string;
4679
4655
  address: string | null;
4656
+ name: string;
4680
4657
  email: string;
4681
4658
  createdAt: Date;
4682
4659
  updatedAt: Date;
@@ -4698,12 +4675,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
4698
4675
  updatedAt?: string | undefined;
4699
4676
  } | null | undefined;
4700
4677
  }, {
4701
- callFrom?: {
4678
+ callTo?: {
4702
4679
  id: string;
4703
4680
  user: {
4704
- name: string;
4705
4681
  id: string;
4706
4682
  address: string | null;
4683
+ name: string;
4707
4684
  email: string;
4708
4685
  createdAt: Date;
4709
4686
  updatedAt: Date;
@@ -4724,12 +4701,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
4724
4701
  createdAt?: string | undefined;
4725
4702
  updatedAt?: string | undefined;
4726
4703
  } | null | undefined;
4727
- callTo?: {
4704
+ callFrom?: {
4728
4705
  id: string;
4729
4706
  user: {
4730
- name: string;
4731
4707
  id: string;
4732
4708
  address: string | null;
4709
+ name: string;
4733
4710
  email: string;
4734
4711
  createdAt: Date;
4735
4712
  updatedAt: Date;
@@ -4753,7 +4730,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
4753
4730
  }>>;
4754
4731
  isQueueMissedCall: z.ZodBoolean;
4755
4732
  extensionId: z.ZodNullable<z.ZodString>;
4756
- extension: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
4733
+ extension: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4757
4734
  id: z.ZodString;
4758
4735
  createdAt: z.ZodDate;
4759
4736
  updatedAt: z.ZodDate;
@@ -4765,7 +4742,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
4765
4742
  extensionId: z.ZodNullable<z.ZodString>;
4766
4743
  extensionName: z.ZodString;
4767
4744
  telephonySignature: z.ZodNullable<z.ZodString>;
4768
- }, {
4769
4745
  user: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4770
4746
  id: z.ZodString;
4771
4747
  createdAt: z.ZodDate;
@@ -4884,9 +4860,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
4884
4860
  telephonySignature: string | null;
4885
4861
  }>;
4886
4862
  }, "strip", z.ZodTypeAny, {
4887
- name: string;
4888
4863
  id: string;
4889
4864
  address: string | null;
4865
+ name: string;
4890
4866
  email: string;
4891
4867
  createdAt: Date;
4892
4868
  updatedAt: Date;
@@ -4927,9 +4903,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
4927
4903
  telephonySignature: string | null;
4928
4904
  };
4929
4905
  }, {
4930
- name: string;
4931
4906
  id: string;
4932
4907
  address: string | null;
4908
+ name: string;
4933
4909
  email: string;
4934
4910
  createdAt: Date;
4935
4911
  updatedAt: Date;
@@ -4970,7 +4946,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
4970
4946
  telephonySignature: string | null;
4971
4947
  };
4972
4948
  }>>>;
4973
- }>, "strip", z.ZodTypeAny, {
4949
+ }, "strip", z.ZodTypeAny, {
4974
4950
  id: string;
4975
4951
  createdAt: Date;
4976
4952
  updatedAt: Date;
@@ -4983,9 +4959,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
4983
4959
  extensionName: string;
4984
4960
  telephonySignature: string | null;
4985
4961
  user?: {
4986
- name: string;
4987
4962
  id: string;
4988
4963
  address: string | null;
4964
+ name: string;
4989
4965
  email: string;
4990
4966
  createdAt: Date;
4991
4967
  updatedAt: Date;
@@ -5039,9 +5015,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
5039
5015
  extensionName: string;
5040
5016
  telephonySignature: string | null;
5041
5017
  user?: {
5042
- name: string;
5043
5018
  id: string;
5044
5019
  address: string | null;
5020
+ name: string;
5045
5021
  email: string;
5046
5022
  createdAt: Date;
5047
5023
  updatedAt: Date;
@@ -5085,7 +5061,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
5085
5061
  }>>>;
5086
5062
  telephonyQueueId: z.ZodNullable<z.ZodString>;
5087
5063
  contactId: z.ZodNullable<z.ZodString>;
5088
- }>, "strip", z.ZodTypeAny, {
5064
+ }, "strip", z.ZodTypeAny, {
5089
5065
  type: string;
5090
5066
  id: string;
5091
5067
  recording: string | null;
@@ -5108,12 +5084,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
5108
5084
  uploadId: string | null;
5109
5085
  serialNumber: string | null;
5110
5086
  callParticipants: {
5111
- callFrom?: {
5087
+ callTo?: {
5112
5088
  id: string;
5113
5089
  user: {
5114
- name: string;
5115
5090
  id: string;
5116
5091
  address: string | null;
5092
+ name: string;
5117
5093
  email: string;
5118
5094
  createdAt: Date;
5119
5095
  updatedAt: Date;
@@ -5134,12 +5110,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
5134
5110
  createdAt?: string | undefined;
5135
5111
  updatedAt?: string | undefined;
5136
5112
  } | null | undefined;
5137
- callTo?: {
5113
+ callFrom?: {
5138
5114
  id: string;
5139
5115
  user: {
5140
- name: string;
5141
5116
  id: string;
5142
5117
  address: string | null;
5118
+ name: string;
5143
5119
  email: string;
5144
5120
  createdAt: Date;
5145
5121
  updatedAt: Date;
@@ -5164,68 +5140,11 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
5164
5140
  isQueueMissedCall: boolean;
5165
5141
  telephonyQueueId: string | null;
5166
5142
  contactId: string | null;
5167
- extension?: {
5168
- id: string;
5169
- createdAt: Date;
5170
- updatedAt: Date;
5171
- deletedAt: Date | null;
5172
- userId: string | null;
5173
- sipServerUrl: string;
5174
- sipUserName: string;
5175
- webphoneLoginUser: string;
5176
- extensionId: string | null;
5177
- extensionName: string;
5178
- telephonySignature: string | null;
5179
- user?: {
5180
- name: string;
5181
- id: string;
5182
- address: string | null;
5183
- email: string;
5184
- createdAt: Date;
5185
- updatedAt: Date;
5186
- deletedAt: Date | null;
5187
- emailVerifiedAt: Date | null;
5188
- password: string;
5189
- phone: string | null;
5190
- notificationCount: number | null;
5191
- roles: {
5192
- id: string;
5193
- description: string | null;
5194
- createdAt: Date;
5195
- updatedAt: Date;
5196
- deletedAt: Date | null;
5197
- systemName: string;
5198
- displayName: string;
5199
- permissions: {
5200
- id: string;
5201
- description: string | null;
5202
- createdAt: Date;
5203
- updatedAt: Date;
5204
- deletedAt: Date | null;
5205
- systemName: string;
5206
- displayName: string;
5207
- }[];
5208
- }[];
5209
- extension: {
5210
- id: string;
5211
- createdAt: Date;
5212
- updatedAt: Date;
5213
- deletedAt: Date | null;
5214
- userId: string | null;
5215
- sipServerUrl: string;
5216
- sipUserName: string;
5217
- webphoneLoginUser: string;
5218
- extensionId: string | null;
5219
- extensionName: string;
5220
- telephonySignature: string | null;
5221
- };
5222
- } | null | undefined;
5223
- } | null | undefined;
5224
5143
  contact?: {
5225
- name: string;
5226
5144
  id: string;
5227
5145
  channel: string | null;
5228
5146
  address: string | null;
5147
+ name: string;
5229
5148
  createdAt: Date;
5230
5149
  updatedAt: Date;
5231
5150
  deletedAt: Date | null;
@@ -5270,8 +5189,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
5270
5189
  createdAt: Date;
5271
5190
  updatedAt: Date;
5272
5191
  deletedAt: Date | null;
5273
- name?: string | undefined;
5274
5192
  address?: string | null | undefined;
5193
+ name?: string | undefined;
5275
5194
  phone?: string | null | undefined;
5276
5195
  industry?: string | null | undefined;
5277
5196
  } | null;
@@ -5279,8 +5198,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
5279
5198
  contactProfile: string | null;
5280
5199
  socialProfileUrl: string | null;
5281
5200
  tags: {
5282
- name: string;
5283
5201
  id: string;
5202
+ name: string;
5284
5203
  createdAt: Date;
5285
5204
  updatedAt: Date;
5286
5205
  deletedAt: Date | null;
@@ -5305,8 +5224,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
5305
5224
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
5306
5225
  id: string;
5307
5226
  metadata: {
5308
- name: string;
5309
5227
  id: string;
5228
+ name: string;
5310
5229
  picture?: string | undefined;
5311
5230
  additionalCredentials?: any;
5312
5231
  };
@@ -5355,6 +5274,63 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
5355
5274
  fileSize: number;
5356
5275
  fileUrl: string | null;
5357
5276
  } | null | undefined;
5277
+ extension?: {
5278
+ id: string;
5279
+ createdAt: Date;
5280
+ updatedAt: Date;
5281
+ deletedAt: Date | null;
5282
+ userId: string | null;
5283
+ sipServerUrl: string;
5284
+ sipUserName: string;
5285
+ webphoneLoginUser: string;
5286
+ extensionId: string | null;
5287
+ extensionName: string;
5288
+ telephonySignature: string | null;
5289
+ user?: {
5290
+ id: string;
5291
+ address: string | null;
5292
+ name: string;
5293
+ email: string;
5294
+ createdAt: Date;
5295
+ updatedAt: Date;
5296
+ deletedAt: Date | null;
5297
+ emailVerifiedAt: Date | null;
5298
+ password: string;
5299
+ phone: string | null;
5300
+ notificationCount: number | null;
5301
+ roles: {
5302
+ id: string;
5303
+ description: string | null;
5304
+ createdAt: Date;
5305
+ updatedAt: Date;
5306
+ deletedAt: Date | null;
5307
+ systemName: string;
5308
+ displayName: string;
5309
+ permissions: {
5310
+ id: string;
5311
+ description: string | null;
5312
+ createdAt: Date;
5313
+ updatedAt: Date;
5314
+ deletedAt: Date | null;
5315
+ systemName: string;
5316
+ displayName: string;
5317
+ }[];
5318
+ }[];
5319
+ extension: {
5320
+ id: string;
5321
+ createdAt: Date;
5322
+ updatedAt: Date;
5323
+ deletedAt: Date | null;
5324
+ userId: string | null;
5325
+ sipServerUrl: string;
5326
+ sipUserName: string;
5327
+ webphoneLoginUser: string;
5328
+ extensionId: string | null;
5329
+ extensionName: string;
5330
+ telephonySignature: string | null;
5331
+ };
5332
+ } | null | undefined;
5333
+ } | null | undefined;
5358
5334
  }, {
5359
5335
  type: string;
5360
5336
  id: string;
@@ -5378,12 +5354,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
5378
5354
  uploadId: string | null;
5379
5355
  serialNumber: string | null;
5380
5356
  callParticipants: {
5381
- callFrom?: {
5357
+ callTo?: {
5382
5358
  id: string;
5383
5359
  user: {
5384
- name: string;
5385
5360
  id: string;
5386
5361
  address: string | null;
5362
+ name: string;
5387
5363
  email: string;
5388
5364
  createdAt: Date;
5389
5365
  updatedAt: Date;
@@ -5404,12 +5380,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
5404
5380
  createdAt?: string | undefined;
5405
5381
  updatedAt?: string | undefined;
5406
5382
  } | null | undefined;
5407
- callTo?: {
5383
+ callFrom?: {
5408
5384
  id: string;
5409
5385
  user: {
5410
- name: string;
5411
5386
  id: string;
5412
5387
  address: string | null;
5388
+ name: string;
5413
5389
  email: string;
5414
5390
  createdAt: Date;
5415
5391
  updatedAt: Date;
@@ -5434,68 +5410,11 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
5434
5410
  isQueueMissedCall: boolean;
5435
5411
  telephonyQueueId: string | null;
5436
5412
  contactId: string | null;
5437
- extension?: {
5413
+ contact?: {
5438
5414
  id: string;
5439
- createdAt: Date;
5440
- updatedAt: Date;
5441
- deletedAt: Date | null;
5442
- userId: string | null;
5443
- sipServerUrl: string;
5444
- sipUserName: string;
5445
- webphoneLoginUser: string;
5446
- extensionId: string | null;
5447
- extensionName: string;
5448
- telephonySignature: string | null;
5449
- user?: {
5450
- name: string;
5451
- id: string;
5452
- address: string | null;
5453
- email: string;
5454
- createdAt: Date;
5455
- updatedAt: Date;
5456
- deletedAt: Date | null;
5457
- emailVerifiedAt: Date | null;
5458
- password: string;
5459
- phone: string | null;
5460
- notificationCount: number | null;
5461
- roles: {
5462
- id: string;
5463
- description: string | null;
5464
- createdAt: Date;
5465
- updatedAt: Date;
5466
- deletedAt: Date | null;
5467
- systemName: string;
5468
- displayName: string;
5469
- permissions: {
5470
- id: string;
5471
- description: string | null;
5472
- createdAt: Date;
5473
- updatedAt: Date;
5474
- deletedAt: Date | null;
5475
- systemName: string;
5476
- displayName: string;
5477
- }[];
5478
- }[];
5479
- extension: {
5480
- id: string;
5481
- createdAt: Date;
5482
- updatedAt: Date;
5483
- deletedAt: Date | null;
5484
- userId: string | null;
5485
- sipServerUrl: string;
5486
- sipUserName: string;
5487
- webphoneLoginUser: string;
5488
- extensionId: string | null;
5489
- extensionName: string;
5490
- telephonySignature: string | null;
5491
- };
5492
- } | null | undefined;
5493
- } | null | undefined;
5494
- contact?: {
5495
- name: string;
5496
- id: string;
5497
- channel: string | null;
5498
- address: string | null;
5415
+ channel: string | null;
5416
+ address: string | null;
5417
+ name: string;
5499
5418
  createdAt: Date;
5500
5419
  updatedAt: Date;
5501
5420
  deletedAt: Date | null;
@@ -5540,8 +5459,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
5540
5459
  createdAt: Date;
5541
5460
  updatedAt: Date;
5542
5461
  deletedAt: Date | null;
5543
- name?: string | undefined;
5544
5462
  address?: string | null | undefined;
5463
+ name?: string | undefined;
5545
5464
  phone?: string | null | undefined;
5546
5465
  industry?: string | null | undefined;
5547
5466
  } | null;
@@ -5549,8 +5468,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
5549
5468
  contactProfile: string | null;
5550
5469
  socialProfileUrl: string | null;
5551
5470
  tags: {
5552
- name: string;
5553
5471
  id: string;
5472
+ name: string;
5554
5473
  createdAt: Date;
5555
5474
  updatedAt: Date;
5556
5475
  deletedAt: Date | null;
@@ -5575,8 +5494,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
5575
5494
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
5576
5495
  id: string;
5577
5496
  metadata: {
5578
- name: string;
5579
5497
  id: string;
5498
+ name: string;
5580
5499
  picture?: string | undefined;
5581
5500
  additionalCredentials?: any;
5582
5501
  };
@@ -5625,6 +5544,63 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
5625
5544
  fileSize: number;
5626
5545
  fileUrl: string | null;
5627
5546
  } | null | undefined;
5547
+ extension?: {
5548
+ id: string;
5549
+ createdAt: Date;
5550
+ updatedAt: Date;
5551
+ deletedAt: Date | null;
5552
+ userId: string | null;
5553
+ sipServerUrl: string;
5554
+ sipUserName: string;
5555
+ webphoneLoginUser: string;
5556
+ extensionId: string | null;
5557
+ extensionName: string;
5558
+ telephonySignature: string | null;
5559
+ user?: {
5560
+ id: string;
5561
+ address: string | null;
5562
+ name: string;
5563
+ email: string;
5564
+ createdAt: Date;
5565
+ updatedAt: Date;
5566
+ deletedAt: Date | null;
5567
+ emailVerifiedAt: Date | null;
5568
+ password: string;
5569
+ phone: string | null;
5570
+ notificationCount: number | null;
5571
+ roles: {
5572
+ id: string;
5573
+ description: string | null;
5574
+ createdAt: Date;
5575
+ updatedAt: Date;
5576
+ deletedAt: Date | null;
5577
+ systemName: string;
5578
+ displayName: string;
5579
+ permissions: {
5580
+ id: string;
5581
+ description: string | null;
5582
+ createdAt: Date;
5583
+ updatedAt: Date;
5584
+ deletedAt: Date | null;
5585
+ systemName: string;
5586
+ displayName: string;
5587
+ }[];
5588
+ }[];
5589
+ extension: {
5590
+ id: string;
5591
+ createdAt: Date;
5592
+ updatedAt: Date;
5593
+ deletedAt: Date | null;
5594
+ userId: string | null;
5595
+ sipServerUrl: string;
5596
+ sipUserName: string;
5597
+ webphoneLoginUser: string;
5598
+ extensionId: string | null;
5599
+ extensionName: string;
5600
+ telephonySignature: string | null;
5601
+ };
5602
+ } | null | undefined;
5603
+ } | null | undefined;
5628
5604
  }>>;
5629
5605
  queue: z.ZodNullable<z.ZodObject<{
5630
5606
  queueName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5644,52 +5620,48 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
5644
5620
  notes: z.ZodNullable<z.ZodString>;
5645
5621
  contactProfile: z.ZodNullable<z.ZodString>;
5646
5622
  socialProfileUrl: z.ZodNullable<z.ZodString>;
5647
- tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5623
+ tags: z.ZodArray<z.ZodObject<{
5648
5624
  id: z.ZodString;
5649
5625
  createdAt: z.ZodDate;
5650
5626
  updatedAt: z.ZodDate;
5651
5627
  deletedAt: z.ZodNullable<z.ZodDate>;
5652
- }, {
5653
5628
  name: z.ZodString;
5654
- }>, "strip", z.ZodTypeAny, {
5655
- name: string;
5629
+ }, "strip", z.ZodTypeAny, {
5656
5630
  id: string;
5631
+ name: string;
5657
5632
  createdAt: Date;
5658
5633
  updatedAt: Date;
5659
5634
  deletedAt: Date | null;
5660
5635
  }, {
5661
- name: string;
5662
5636
  id: string;
5637
+ name: string;
5663
5638
  createdAt: Date;
5664
5639
  updatedAt: Date;
5665
5640
  deletedAt: Date | null;
5666
5641
  }>, "many">;
5667
- company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
5642
+ company: z.ZodNullable<z.ZodObject<Omit<{
5668
5643
  id: z.ZodString;
5669
5644
  createdAt: z.ZodDate;
5670
5645
  updatedAt: z.ZodDate;
5671
5646
  deletedAt: z.ZodNullable<z.ZodDate>;
5672
- }, {
5673
5647
  name: z.ZodOptional<z.ZodString>;
5674
5648
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5675
5649
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5676
5650
  industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5677
- customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5651
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
5678
5652
  id: z.ZodString;
5679
5653
  createdAt: z.ZodDate;
5680
5654
  updatedAt: z.ZodDate;
5681
5655
  deletedAt: z.ZodNullable<z.ZodDate>;
5682
- }, {
5683
5656
  textValue: z.ZodNullable<z.ZodString>;
5684
5657
  booleanValue: z.ZodNullable<z.ZodBoolean>;
5685
5658
  numberValue: z.ZodNullable<z.ZodNumber>;
5686
5659
  dateValue: z.ZodNullable<z.ZodDate>;
5687
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
5660
+ attribute: z.ZodObject<Omit<{
5688
5661
  id: z.ZodString;
5689
5662
  createdAt: z.ZodDate;
5690
5663
  updatedAt: z.ZodDate;
5691
5664
  deletedAt: z.ZodNullable<z.ZodDate>;
5692
- }, {
5693
5665
  systemName: z.ZodString;
5694
5666
  displayName: z.ZodString;
5695
5667
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -5698,14 +5670,13 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
5698
5670
  isArchived: z.ZodBoolean;
5699
5671
  isRequired: z.ZodBoolean;
5700
5672
  isUnique: z.ZodBoolean;
5701
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5702
- label: z.ZodString;
5673
+ options: z.ZodArray<z.ZodObject<{
5674
+ position: z.ZodNumber;
5703
5675
  value: z.ZodString;
5676
+ label: z.ZodString;
5704
5677
  isDefault: z.ZodBoolean;
5705
- position: z.ZodNumber;
5706
- }, {
5707
5678
  id: z.ZodString;
5708
- }>, "strip", z.ZodTypeAny, {
5679
+ }, "strip", z.ZodTypeAny, {
5709
5680
  id: string;
5710
5681
  position: number;
5711
5682
  value: string;
@@ -5718,15 +5689,14 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
5718
5689
  label: string;
5719
5690
  isDefault: boolean;
5720
5691
  }>, "many">;
5721
- group: z.ZodObject<z.objectUtil.extendShape<{
5692
+ group: z.ZodObject<{
5722
5693
  id: z.ZodString;
5723
5694
  createdAt: z.ZodDate;
5724
5695
  updatedAt: z.ZodDate;
5725
5696
  deletedAt: z.ZodNullable<z.ZodDate>;
5726
- }, {
5727
5697
  systemName: z.ZodString;
5728
5698
  displayName: z.ZodString;
5729
- }>, "strip", z.ZodTypeAny, {
5699
+ }, "strip", z.ZodTypeAny, {
5730
5700
  id: string;
5731
5701
  createdAt: Date;
5732
5702
  updatedAt: Date;
@@ -5741,7 +5711,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
5741
5711
  systemName: string;
5742
5712
  displayName: string;
5743
5713
  }>;
5744
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
5714
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
5745
5715
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
5746
5716
  id: string;
5747
5717
  position: number;
@@ -5768,7 +5738,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
5768
5738
  isRequired: boolean;
5769
5739
  isUnique: boolean;
5770
5740
  }>;
5771
- }>, "strip", z.ZodTypeAny, {
5741
+ }, "strip", z.ZodTypeAny, {
5772
5742
  id: string;
5773
5743
  createdAt: Date;
5774
5744
  updatedAt: Date;
@@ -5815,13 +5785,13 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
5815
5785
  numberValue: number | null;
5816
5786
  dateValue: Date | null;
5817
5787
  }>, "many">>;
5818
- }>, "customFields">, "strip", z.ZodTypeAny, {
5788
+ }, "customFields">, "strip", z.ZodTypeAny, {
5819
5789
  id: string;
5820
5790
  createdAt: Date;
5821
5791
  updatedAt: Date;
5822
5792
  deletedAt: Date | null;
5823
- name?: string | undefined;
5824
5793
  address?: string | null | undefined;
5794
+ name?: string | undefined;
5825
5795
  phone?: string | null | undefined;
5826
5796
  industry?: string | null | undefined;
5827
5797
  }, {
@@ -5829,8 +5799,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
5829
5799
  createdAt: Date;
5830
5800
  updatedAt: Date;
5831
5801
  deletedAt: Date | null;
5832
- name?: string | undefined;
5833
5802
  address?: string | null | undefined;
5803
+ name?: string | undefined;
5834
5804
  phone?: string | null | undefined;
5835
5805
  industry?: string | null | undefined;
5836
5806
  }>>;
@@ -5848,13 +5818,13 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
5848
5818
  picture: z.ZodOptional<z.ZodString>;
5849
5819
  additionalCredentials: z.ZodAny;
5850
5820
  }, "strip", z.ZodTypeAny, {
5851
- name: string;
5852
5821
  id: string;
5822
+ name: string;
5853
5823
  picture?: string | undefined;
5854
5824
  additionalCredentials?: any;
5855
5825
  }, {
5856
- name: string;
5857
5826
  id: string;
5827
+ name: string;
5858
5828
  picture?: string | undefined;
5859
5829
  additionalCredentials?: any;
5860
5830
  }>;
@@ -5862,8 +5832,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
5862
5832
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
5863
5833
  id: string;
5864
5834
  metadata: {
5865
- name: string;
5866
5835
  id: string;
5836
+ name: string;
5867
5837
  picture?: string | undefined;
5868
5838
  additionalCredentials?: any;
5869
5839
  };
@@ -5876,8 +5846,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
5876
5846
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
5877
5847
  id: string;
5878
5848
  metadata: {
5879
- name: string;
5880
5849
  id: string;
5850
+ name: string;
5881
5851
  picture?: string | undefined;
5882
5852
  additionalCredentials?: any;
5883
5853
  };
@@ -5896,12 +5866,11 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
5896
5866
  booleanValue: z.ZodNullable<z.ZodBoolean>;
5897
5867
  numberValue: z.ZodNullable<z.ZodNumber>;
5898
5868
  dateValue: z.ZodNullable<z.ZodDate>;
5899
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
5869
+ attribute: z.ZodObject<Omit<{
5900
5870
  id: z.ZodString;
5901
5871
  createdAt: z.ZodDate;
5902
5872
  updatedAt: z.ZodDate;
5903
5873
  deletedAt: z.ZodNullable<z.ZodDate>;
5904
- }, {
5905
5874
  systemName: z.ZodString;
5906
5875
  displayName: z.ZodString;
5907
5876
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -5910,14 +5879,13 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
5910
5879
  isArchived: z.ZodBoolean;
5911
5880
  isRequired: z.ZodBoolean;
5912
5881
  isUnique: z.ZodBoolean;
5913
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5914
- label: z.ZodString;
5882
+ options: z.ZodArray<z.ZodObject<{
5883
+ position: z.ZodNumber;
5915
5884
  value: z.ZodString;
5885
+ label: z.ZodString;
5916
5886
  isDefault: z.ZodBoolean;
5917
- position: z.ZodNumber;
5918
- }, {
5919
5887
  id: z.ZodString;
5920
- }>, "strip", z.ZodTypeAny, {
5888
+ }, "strip", z.ZodTypeAny, {
5921
5889
  id: string;
5922
5890
  position: number;
5923
5891
  value: string;
@@ -5930,15 +5898,14 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
5930
5898
  label: string;
5931
5899
  isDefault: boolean;
5932
5900
  }>, "many">;
5933
- group: z.ZodObject<z.objectUtil.extendShape<{
5901
+ group: z.ZodObject<{
5934
5902
  id: z.ZodString;
5935
5903
  createdAt: z.ZodDate;
5936
5904
  updatedAt: z.ZodDate;
5937
5905
  deletedAt: z.ZodNullable<z.ZodDate>;
5938
- }, {
5939
5906
  systemName: z.ZodString;
5940
5907
  displayName: z.ZodString;
5941
- }>, "strip", z.ZodTypeAny, {
5908
+ }, "strip", z.ZodTypeAny, {
5942
5909
  id: string;
5943
5910
  createdAt: Date;
5944
5911
  updatedAt: Date;
@@ -5953,7 +5920,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
5953
5920
  systemName: string;
5954
5921
  displayName: string;
5955
5922
  }>;
5956
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
5923
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
5957
5924
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
5958
5925
  id: string;
5959
5926
  position: number;
@@ -5980,19 +5947,18 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
5980
5947
  isRequired: boolean;
5981
5948
  isUnique: boolean;
5982
5949
  }>;
5983
- uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5950
+ uploads: z.ZodArray<z.ZodObject<{
5984
5951
  id: z.ZodString;
5985
5952
  createdAt: z.ZodDate;
5986
5953
  updatedAt: z.ZodDate;
5987
5954
  deletedAt: z.ZodNullable<z.ZodDate>;
5988
- }, {
5989
5955
  bucketName: z.ZodString;
5990
5956
  fileName: z.ZodString;
5991
5957
  fileSize: z.ZodNumber;
5992
5958
  fileKey: z.ZodString;
5993
5959
  fileUrl: z.ZodNullable<z.ZodString>;
5994
5960
  status: z.ZodNullable<z.ZodString>;
5995
- }>, "strip", z.ZodTypeAny, {
5961
+ }, "strip", z.ZodTypeAny, {
5996
5962
  id: string;
5997
5963
  status: string | null;
5998
5964
  createdAt: Date;
@@ -6191,10 +6157,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
6191
6157
  };
6192
6158
  }>, "many">>;
6193
6159
  }, "strip", z.ZodTypeAny, {
6194
- name: string;
6195
6160
  id: string;
6196
6161
  channel: string | null;
6197
6162
  address: string | null;
6163
+ name: string;
6198
6164
  createdAt: Date;
6199
6165
  updatedAt: Date;
6200
6166
  deletedAt: Date | null;
@@ -6239,8 +6205,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
6239
6205
  createdAt: Date;
6240
6206
  updatedAt: Date;
6241
6207
  deletedAt: Date | null;
6242
- name?: string | undefined;
6243
6208
  address?: string | null | undefined;
6209
+ name?: string | undefined;
6244
6210
  phone?: string | null | undefined;
6245
6211
  industry?: string | null | undefined;
6246
6212
  } | null;
@@ -6248,8 +6214,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
6248
6214
  contactProfile: string | null;
6249
6215
  socialProfileUrl: string | null;
6250
6216
  tags: {
6251
- name: string;
6252
6217
  id: string;
6218
+ name: string;
6253
6219
  createdAt: Date;
6254
6220
  updatedAt: Date;
6255
6221
  deletedAt: Date | null;
@@ -6274,8 +6240,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
6274
6240
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
6275
6241
  id: string;
6276
6242
  metadata: {
6277
- name: string;
6278
6243
  id: string;
6244
+ name: string;
6279
6245
  picture?: string | undefined;
6280
6246
  additionalCredentials?: any;
6281
6247
  };
@@ -6302,10 +6268,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
6302
6268
  };
6303
6269
  }[] | undefined;
6304
6270
  }, {
6305
- name: string;
6306
6271
  id: string;
6307
6272
  channel: string | null;
6308
6273
  address: string | null;
6274
+ name: string;
6309
6275
  createdAt: Date;
6310
6276
  updatedAt: Date;
6311
6277
  deletedAt: Date | null;
@@ -6350,8 +6316,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
6350
6316
  createdAt: Date;
6351
6317
  updatedAt: Date;
6352
6318
  deletedAt: Date | null;
6353
- name?: string | undefined;
6354
6319
  address?: string | null | undefined;
6320
+ name?: string | undefined;
6355
6321
  phone?: string | null | undefined;
6356
6322
  industry?: string | null | undefined;
6357
6323
  } | null;
@@ -6359,8 +6325,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
6359
6325
  contactProfile: string | null;
6360
6326
  socialProfileUrl: string | null;
6361
6327
  tags: {
6362
- name: string;
6363
6328
  id: string;
6329
+ name: string;
6364
6330
  createdAt: Date;
6365
6331
  updatedAt: Date;
6366
6332
  deletedAt: Date | null;
@@ -6385,8 +6351,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
6385
6351
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
6386
6352
  id: string;
6387
6353
  metadata: {
6388
- name: string;
6389
6354
  id: string;
6355
+ name: string;
6390
6356
  picture?: string | undefined;
6391
6357
  additionalCredentials?: any;
6392
6358
  };
@@ -6531,9 +6497,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
6531
6497
  telephonySignature: string | null;
6532
6498
  }>;
6533
6499
  }, "strip", z.ZodTypeAny, {
6534
- name: string;
6535
6500
  id: string;
6536
6501
  address: string | null;
6502
+ name: string;
6537
6503
  email: string;
6538
6504
  createdAt: Date;
6539
6505
  updatedAt: Date;
@@ -6574,9 +6540,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
6574
6540
  telephonySignature: string | null;
6575
6541
  };
6576
6542
  }, {
6577
- name: string;
6578
6543
  id: string;
6579
6544
  address: string | null;
6545
+ name: string;
6580
6546
  email: string;
6581
6547
  createdAt: Date;
6582
6548
  updatedAt: Date;
@@ -6735,9 +6701,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
6735
6701
  telephonySignature: string | null;
6736
6702
  }>;
6737
6703
  }, "strip", z.ZodTypeAny, {
6738
- name: string;
6739
6704
  id: string;
6740
6705
  address: string | null;
6706
+ name: string;
6741
6707
  email: string;
6742
6708
  createdAt: Date;
6743
6709
  updatedAt: Date;
@@ -6778,9 +6744,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
6778
6744
  telephonySignature: string | null;
6779
6745
  };
6780
6746
  }, {
6781
- name: string;
6782
6747
  id: string;
6783
6748
  address: string | null;
6749
+ name: string;
6784
6750
  email: string;
6785
6751
  createdAt: Date;
6786
6752
  updatedAt: Date;
@@ -6939,9 +6905,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
6939
6905
  telephonySignature: string | null;
6940
6906
  }>;
6941
6907
  }, "strip", z.ZodTypeAny, {
6942
- name: string;
6943
6908
  id: string;
6944
6909
  address: string | null;
6910
+ name: string;
6945
6911
  email: string;
6946
6912
  createdAt: Date;
6947
6913
  updatedAt: Date;
@@ -6982,9 +6948,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
6982
6948
  telephonySignature: string | null;
6983
6949
  };
6984
6950
  }, {
6985
- name: string;
6986
6951
  id: string;
6987
6952
  address: string | null;
6953
+ name: string;
6988
6954
  email: string;
6989
6955
  createdAt: Date;
6990
6956
  updatedAt: Date;
@@ -7026,7 +6992,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
7026
6992
  };
7027
6993
  }>>;
7028
6994
  contactLabel: z.ZodArray<z.ZodString, "many">;
7029
- }>, "strip", z.ZodTypeAny, {
6995
+ }, "strip", z.ZodTypeAny, {
7030
6996
  id: string;
7031
6997
  channel: string | null;
7032
6998
  direction: string | null;
@@ -7035,10 +7001,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
7035
7001
  deletedAt: Date | null;
7036
7002
  entityId: string;
7037
7003
  contact: {
7038
- name: string;
7039
7004
  id: string;
7040
7005
  channel: string | null;
7041
7006
  address: string | null;
7007
+ name: string;
7042
7008
  createdAt: Date;
7043
7009
  updatedAt: Date;
7044
7010
  deletedAt: Date | null;
@@ -7083,8 +7049,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
7083
7049
  createdAt: Date;
7084
7050
  updatedAt: Date;
7085
7051
  deletedAt: Date | null;
7086
- name?: string | undefined;
7087
7052
  address?: string | null | undefined;
7053
+ name?: string | undefined;
7088
7054
  phone?: string | null | undefined;
7089
7055
  industry?: string | null | undefined;
7090
7056
  } | null;
@@ -7092,8 +7058,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
7092
7058
  contactProfile: string | null;
7093
7059
  socialProfileUrl: string | null;
7094
7060
  tags: {
7095
- name: string;
7096
7061
  id: string;
7062
+ name: string;
7097
7063
  createdAt: Date;
7098
7064
  updatedAt: Date;
7099
7065
  deletedAt: Date | null;
@@ -7118,8 +7084,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
7118
7084
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
7119
7085
  id: string;
7120
7086
  metadata: {
7121
- name: string;
7122
7087
  id: string;
7088
+ name: string;
7123
7089
  picture?: string | undefined;
7124
7090
  additionalCredentials?: any;
7125
7091
  };
@@ -7181,8 +7147,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
7181
7147
  }[];
7182
7148
  }[];
7183
7149
  tags: {
7184
- name: string;
7185
7150
  id: string;
7151
+ name: string;
7186
7152
  createdAt: Date;
7187
7153
  updatedAt: Date;
7188
7154
  deletedAt: Date | null;
@@ -7222,26 +7188,27 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
7222
7188
  room: {
7223
7189
  id: string;
7224
7190
  channel: {
7225
- name: string;
7226
7191
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
7227
7192
  id: string;
7193
+ name: string;
7228
7194
  metadata: {
7229
- name: string;
7230
7195
  id: string;
7196
+ name: string;
7231
7197
  accessToken?: string | undefined;
7198
+ channelSecret?: string | undefined;
7199
+ additionalCredentials?: any;
7200
+ senderId?: string | undefined;
7232
7201
  whatsapp?: {
7233
7202
  email: string;
7234
7203
  wabaExternalId: string;
7235
7204
  phoneNumberId: string;
7236
- status?: "active" | "pending" | undefined;
7237
- channelId?: string | undefined;
7238
7205
  wabaBusinessId?: string | undefined;
7239
7206
  clientId?: string | undefined;
7207
+ channelId?: string | undefined;
7208
+ status?: "active" | "pending" | undefined;
7240
7209
  apiKey?: string | undefined;
7210
+ tier?: "basic" | "regular" | "premium" | undefined;
7241
7211
  } | undefined;
7242
- additionalCredentials?: any;
7243
- channelSecret?: string | undefined;
7244
- senderId?: string | undefined;
7245
7212
  vonageCredentials?: {
7246
7213
  apiKey: string;
7247
7214
  mobileNumber: string;
@@ -7255,9 +7222,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
7255
7222
  updatedAt: Date;
7256
7223
  deletedAt: Date | null;
7257
7224
  actor: {
7258
- name: string;
7259
7225
  id: string;
7260
7226
  address: string | null;
7227
+ name: string;
7261
7228
  email: string;
7262
7229
  createdAt: Date;
7263
7230
  updatedAt: Date;
@@ -7304,8 +7271,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
7304
7271
  connectedUserName: string;
7305
7272
  connectedUserId: string;
7306
7273
  botpressBot: {
7307
- name: string;
7308
7274
  id: string;
7275
+ name: string;
7309
7276
  accessToken: string;
7310
7277
  botId: string;
7311
7278
  integrationId: string;
@@ -7316,9 +7283,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
7316
7283
  updatedAt: Date;
7317
7284
  deletedAt: Date | null;
7318
7285
  actor: {
7319
- name: string;
7320
7286
  id: string;
7321
7287
  address: string | null;
7288
+ name: string;
7322
7289
  email: string;
7323
7290
  createdAt: Date;
7324
7291
  updatedAt: Date;
@@ -7370,8 +7337,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
7370
7337
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
7371
7338
  id: string;
7372
7339
  metadata: {
7373
- name: string;
7374
7340
  id: string;
7341
+ name: string;
7375
7342
  picture?: string | undefined;
7376
7343
  additionalCredentials?: any;
7377
7344
  };
@@ -7379,10 +7346,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
7379
7346
  updatedAt: Date;
7380
7347
  deletedAt: Date | null;
7381
7348
  contact: {
7382
- name: string;
7383
7349
  id: string;
7384
7350
  channel: string | null;
7385
7351
  address: string | null;
7352
+ name: string;
7386
7353
  createdAt: Date;
7387
7354
  updatedAt: Date;
7388
7355
  deletedAt: Date | null;
@@ -7427,8 +7394,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
7427
7394
  createdAt: Date;
7428
7395
  updatedAt: Date;
7429
7396
  deletedAt: Date | null;
7430
- name?: string | undefined;
7431
7397
  address?: string | null | undefined;
7398
+ name?: string | undefined;
7432
7399
  phone?: string | null | undefined;
7433
7400
  industry?: string | null | undefined;
7434
7401
  } | null;
@@ -7436,8 +7403,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
7436
7403
  contactProfile: string | null;
7437
7404
  socialProfileUrl: string | null;
7438
7405
  tags: {
7439
- name: string;
7440
7406
  id: string;
7407
+ name: string;
7441
7408
  createdAt: Date;
7442
7409
  updatedAt: Date;
7443
7410
  deletedAt: Date | null;
@@ -7462,8 +7429,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
7462
7429
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
7463
7430
  id: string;
7464
7431
  metadata: {
7465
- name: string;
7466
7432
  id: string;
7433
+ name: string;
7467
7434
  picture?: string | undefined;
7468
7435
  additionalCredentials?: any;
7469
7436
  };
@@ -7494,9 +7461,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
7494
7461
  socialPlatformId: string;
7495
7462
  };
7496
7463
  assignee: {
7497
- name: string;
7498
7464
  id: string;
7499
7465
  address: string | null;
7466
+ name: string;
7500
7467
  email: string;
7501
7468
  createdAt: Date;
7502
7469
  updatedAt: Date;
@@ -7561,12 +7528,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
7561
7528
  uploadId: string | null;
7562
7529
  serialNumber: string | null;
7563
7530
  callParticipants: {
7564
- callFrom?: {
7531
+ callTo?: {
7565
7532
  id: string;
7566
7533
  user: {
7567
- name: string;
7568
7534
  id: string;
7569
7535
  address: string | null;
7536
+ name: string;
7570
7537
  email: string;
7571
7538
  createdAt: Date;
7572
7539
  updatedAt: Date;
@@ -7587,12 +7554,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
7587
7554
  createdAt?: string | undefined;
7588
7555
  updatedAt?: string | undefined;
7589
7556
  } | null | undefined;
7590
- callTo?: {
7557
+ callFrom?: {
7591
7558
  id: string;
7592
7559
  user: {
7593
- name: string;
7594
7560
  id: string;
7595
7561
  address: string | null;
7562
+ name: string;
7596
7563
  email: string;
7597
7564
  createdAt: Date;
7598
7565
  updatedAt: Date;
@@ -7617,72 +7584,15 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
7617
7584
  isQueueMissedCall: boolean;
7618
7585
  telephonyQueueId: string | null;
7619
7586
  contactId: string | null;
7620
- extension?: {
7587
+ contact?: {
7621
7588
  id: string;
7589
+ channel: string | null;
7590
+ address: string | null;
7591
+ name: string;
7622
7592
  createdAt: Date;
7623
7593
  updatedAt: Date;
7624
7594
  deletedAt: Date | null;
7625
- userId: string | null;
7626
- sipServerUrl: string;
7627
- sipUserName: string;
7628
- webphoneLoginUser: string;
7629
- extensionId: string | null;
7630
- extensionName: string;
7631
- telephonySignature: string | null;
7632
- user?: {
7633
- name: string;
7634
- id: string;
7635
- address: string | null;
7636
- email: string;
7637
- createdAt: Date;
7638
- updatedAt: Date;
7639
- deletedAt: Date | null;
7640
- emailVerifiedAt: Date | null;
7641
- password: string;
7642
- phone: string | null;
7643
- notificationCount: number | null;
7644
- roles: {
7645
- id: string;
7646
- description: string | null;
7647
- createdAt: Date;
7648
- updatedAt: Date;
7649
- deletedAt: Date | null;
7650
- systemName: string;
7651
- displayName: string;
7652
- permissions: {
7653
- id: string;
7654
- description: string | null;
7655
- createdAt: Date;
7656
- updatedAt: Date;
7657
- deletedAt: Date | null;
7658
- systemName: string;
7659
- displayName: string;
7660
- }[];
7661
- }[];
7662
- extension: {
7663
- id: string;
7664
- createdAt: Date;
7665
- updatedAt: Date;
7666
- deletedAt: Date | null;
7667
- userId: string | null;
7668
- sipServerUrl: string;
7669
- sipUserName: string;
7670
- webphoneLoginUser: string;
7671
- extensionId: string | null;
7672
- extensionName: string;
7673
- telephonySignature: string | null;
7674
- };
7675
- } | null | undefined;
7676
- } | null | undefined;
7677
- contact?: {
7678
- name: string;
7679
- id: string;
7680
- channel: string | null;
7681
- address: string | null;
7682
- createdAt: Date;
7683
- updatedAt: Date;
7684
- deletedAt: Date | null;
7685
- customFields: {
7595
+ customFields: {
7686
7596
  id: string;
7687
7597
  createdAt: Date;
7688
7598
  updatedAt: Date;
@@ -7723,8 +7633,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
7723
7633
  createdAt: Date;
7724
7634
  updatedAt: Date;
7725
7635
  deletedAt: Date | null;
7726
- name?: string | undefined;
7727
7636
  address?: string | null | undefined;
7637
+ name?: string | undefined;
7728
7638
  phone?: string | null | undefined;
7729
7639
  industry?: string | null | undefined;
7730
7640
  } | null;
@@ -7732,8 +7642,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
7732
7642
  contactProfile: string | null;
7733
7643
  socialProfileUrl: string | null;
7734
7644
  tags: {
7735
- name: string;
7736
7645
  id: string;
7646
+ name: string;
7737
7647
  createdAt: Date;
7738
7648
  updatedAt: Date;
7739
7649
  deletedAt: Date | null;
@@ -7758,8 +7668,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
7758
7668
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
7759
7669
  id: string;
7760
7670
  metadata: {
7761
- name: string;
7762
7671
  id: string;
7672
+ name: string;
7763
7673
  picture?: string | undefined;
7764
7674
  additionalCredentials?: any;
7765
7675
  };
@@ -7808,14 +7718,71 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
7808
7718
  fileSize: number;
7809
7719
  fileUrl: string | null;
7810
7720
  } | null | undefined;
7721
+ extension?: {
7722
+ id: string;
7723
+ createdAt: Date;
7724
+ updatedAt: Date;
7725
+ deletedAt: Date | null;
7726
+ userId: string | null;
7727
+ sipServerUrl: string;
7728
+ sipUserName: string;
7729
+ webphoneLoginUser: string;
7730
+ extensionId: string | null;
7731
+ extensionName: string;
7732
+ telephonySignature: string | null;
7733
+ user?: {
7734
+ id: string;
7735
+ address: string | null;
7736
+ name: string;
7737
+ email: string;
7738
+ createdAt: Date;
7739
+ updatedAt: Date;
7740
+ deletedAt: Date | null;
7741
+ emailVerifiedAt: Date | null;
7742
+ password: string;
7743
+ phone: string | null;
7744
+ notificationCount: number | null;
7745
+ roles: {
7746
+ id: string;
7747
+ description: string | null;
7748
+ createdAt: Date;
7749
+ updatedAt: Date;
7750
+ deletedAt: Date | null;
7751
+ systemName: string;
7752
+ displayName: string;
7753
+ permissions: {
7754
+ id: string;
7755
+ description: string | null;
7756
+ createdAt: Date;
7757
+ updatedAt: Date;
7758
+ deletedAt: Date | null;
7759
+ systemName: string;
7760
+ displayName: string;
7761
+ }[];
7762
+ }[];
7763
+ extension: {
7764
+ id: string;
7765
+ createdAt: Date;
7766
+ updatedAt: Date;
7767
+ deletedAt: Date | null;
7768
+ userId: string | null;
7769
+ sipServerUrl: string;
7770
+ sipUserName: string;
7771
+ webphoneLoginUser: string;
7772
+ extensionId: string | null;
7773
+ extensionName: string;
7774
+ telephonySignature: string | null;
7775
+ };
7776
+ } | null | undefined;
7777
+ } | null | undefined;
7811
7778
  } | null;
7812
7779
  queue: {
7813
7780
  queueName?: string | null | undefined;
7814
7781
  } | null;
7815
7782
  firstAssignee: {
7816
- name: string;
7817
7783
  id: string;
7818
7784
  address: string | null;
7785
+ name: string;
7819
7786
  email: string;
7820
7787
  createdAt: Date;
7821
7788
  updatedAt: Date;
@@ -7857,9 +7824,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
7857
7824
  };
7858
7825
  } | null;
7859
7826
  agent: {
7860
- name: string;
7861
7827
  id: string;
7862
7828
  address: string | null;
7829
+ name: string;
7863
7830
  email: string;
7864
7831
  createdAt: Date;
7865
7832
  updatedAt: Date;
@@ -7901,9 +7868,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
7901
7868
  };
7902
7869
  } | null;
7903
7870
  closedAssignee: {
7904
- name: string;
7905
7871
  id: string;
7906
7872
  address: string | null;
7873
+ name: string;
7907
7874
  email: string;
7908
7875
  createdAt: Date;
7909
7876
  updatedAt: Date;
@@ -7954,10 +7921,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
7954
7921
  deletedAt: Date | null;
7955
7922
  entityId: string;
7956
7923
  contact: {
7957
- name: string;
7958
7924
  id: string;
7959
7925
  channel: string | null;
7960
7926
  address: string | null;
7927
+ name: string;
7961
7928
  createdAt: Date;
7962
7929
  updatedAt: Date;
7963
7930
  deletedAt: Date | null;
@@ -8002,8 +7969,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
8002
7969
  createdAt: Date;
8003
7970
  updatedAt: Date;
8004
7971
  deletedAt: Date | null;
8005
- name?: string | undefined;
8006
7972
  address?: string | null | undefined;
7973
+ name?: string | undefined;
8007
7974
  phone?: string | null | undefined;
8008
7975
  industry?: string | null | undefined;
8009
7976
  } | null;
@@ -8011,8 +7978,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
8011
7978
  contactProfile: string | null;
8012
7979
  socialProfileUrl: string | null;
8013
7980
  tags: {
8014
- name: string;
8015
7981
  id: string;
7982
+ name: string;
8016
7983
  createdAt: Date;
8017
7984
  updatedAt: Date;
8018
7985
  deletedAt: Date | null;
@@ -8037,8 +8004,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
8037
8004
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
8038
8005
  id: string;
8039
8006
  metadata: {
8040
- name: string;
8041
8007
  id: string;
8008
+ name: string;
8042
8009
  picture?: string | undefined;
8043
8010
  additionalCredentials?: any;
8044
8011
  };
@@ -8100,8 +8067,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
8100
8067
  }[];
8101
8068
  }[];
8102
8069
  tags: {
8103
- name: string;
8104
8070
  id: string;
8071
+ name: string;
8105
8072
  createdAt: Date;
8106
8073
  updatedAt: Date;
8107
8074
  deletedAt: Date | null;
@@ -8141,26 +8108,27 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
8141
8108
  room: {
8142
8109
  id: string;
8143
8110
  channel: {
8144
- name: string;
8145
8111
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
8146
8112
  id: string;
8113
+ name: string;
8147
8114
  metadata: {
8148
- name: string;
8149
8115
  id: string;
8116
+ name: string;
8150
8117
  accessToken?: string | undefined;
8118
+ channelSecret?: string | undefined;
8119
+ additionalCredentials?: any;
8120
+ senderId?: string | undefined;
8151
8121
  whatsapp?: {
8152
8122
  email: string;
8153
8123
  wabaExternalId: string;
8154
8124
  phoneNumberId: string;
8155
- status?: "active" | "pending" | undefined;
8156
- channelId?: string | undefined;
8157
8125
  wabaBusinessId?: string | undefined;
8158
8126
  clientId?: string | undefined;
8127
+ channelId?: string | undefined;
8128
+ status?: "active" | "pending" | undefined;
8159
8129
  apiKey?: string | undefined;
8130
+ tier?: "basic" | "regular" | "premium" | undefined;
8160
8131
  } | undefined;
8161
- additionalCredentials?: any;
8162
- channelSecret?: string | undefined;
8163
- senderId?: string | undefined;
8164
8132
  vonageCredentials?: {
8165
8133
  apiKey: string;
8166
8134
  mobileNumber: string;
@@ -8174,9 +8142,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
8174
8142
  updatedAt: Date;
8175
8143
  deletedAt: Date | null;
8176
8144
  actor: {
8177
- name: string;
8178
8145
  id: string;
8179
8146
  address: string | null;
8147
+ name: string;
8180
8148
  email: string;
8181
8149
  createdAt: Date;
8182
8150
  updatedAt: Date;
@@ -8223,8 +8191,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
8223
8191
  connectedUserName: string;
8224
8192
  connectedUserId: string;
8225
8193
  botpressBot: {
8226
- name: string;
8227
8194
  id: string;
8195
+ name: string;
8228
8196
  accessToken: string;
8229
8197
  botId: string;
8230
8198
  integrationId: string;
@@ -8235,9 +8203,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
8235
8203
  updatedAt: Date;
8236
8204
  deletedAt: Date | null;
8237
8205
  actor: {
8238
- name: string;
8239
8206
  id: string;
8240
8207
  address: string | null;
8208
+ name: string;
8241
8209
  email: string;
8242
8210
  createdAt: Date;
8243
8211
  updatedAt: Date;
@@ -8289,8 +8257,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
8289
8257
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
8290
8258
  id: string;
8291
8259
  metadata: {
8292
- name: string;
8293
8260
  id: string;
8261
+ name: string;
8294
8262
  picture?: string | undefined;
8295
8263
  additionalCredentials?: any;
8296
8264
  };
@@ -8298,10 +8266,10 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
8298
8266
  updatedAt: Date;
8299
8267
  deletedAt: Date | null;
8300
8268
  contact: {
8301
- name: string;
8302
8269
  id: string;
8303
8270
  channel: string | null;
8304
8271
  address: string | null;
8272
+ name: string;
8305
8273
  createdAt: Date;
8306
8274
  updatedAt: Date;
8307
8275
  deletedAt: Date | null;
@@ -8346,8 +8314,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
8346
8314
  createdAt: Date;
8347
8315
  updatedAt: Date;
8348
8316
  deletedAt: Date | null;
8349
- name?: string | undefined;
8350
8317
  address?: string | null | undefined;
8318
+ name?: string | undefined;
8351
8319
  phone?: string | null | undefined;
8352
8320
  industry?: string | null | undefined;
8353
8321
  } | null;
@@ -8355,8 +8323,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
8355
8323
  contactProfile: string | null;
8356
8324
  socialProfileUrl: string | null;
8357
8325
  tags: {
8358
- name: string;
8359
8326
  id: string;
8327
+ name: string;
8360
8328
  createdAt: Date;
8361
8329
  updatedAt: Date;
8362
8330
  deletedAt: Date | null;
@@ -8381,8 +8349,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
8381
8349
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
8382
8350
  id: string;
8383
8351
  metadata: {
8384
- name: string;
8385
8352
  id: string;
8353
+ name: string;
8386
8354
  picture?: string | undefined;
8387
8355
  additionalCredentials?: any;
8388
8356
  };
@@ -8413,9 +8381,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
8413
8381
  socialPlatformId: string;
8414
8382
  };
8415
8383
  assignee: {
8416
- name: string;
8417
8384
  id: string;
8418
8385
  address: string | null;
8386
+ name: string;
8419
8387
  email: string;
8420
8388
  createdAt: Date;
8421
8389
  updatedAt: Date;
@@ -8480,12 +8448,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
8480
8448
  uploadId: string | null;
8481
8449
  serialNumber: string | null;
8482
8450
  callParticipants: {
8483
- callFrom?: {
8451
+ callTo?: {
8484
8452
  id: string;
8485
8453
  user: {
8486
- name: string;
8487
8454
  id: string;
8488
8455
  address: string | null;
8456
+ name: string;
8489
8457
  email: string;
8490
8458
  createdAt: Date;
8491
8459
  updatedAt: Date;
@@ -8506,12 +8474,12 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
8506
8474
  createdAt?: string | undefined;
8507
8475
  updatedAt?: string | undefined;
8508
8476
  } | null | undefined;
8509
- callTo?: {
8477
+ callFrom?: {
8510
8478
  id: string;
8511
8479
  user: {
8512
- name: string;
8513
8480
  id: string;
8514
8481
  address: string | null;
8482
+ name: string;
8515
8483
  email: string;
8516
8484
  createdAt: Date;
8517
8485
  updatedAt: Date;
@@ -8536,68 +8504,11 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
8536
8504
  isQueueMissedCall: boolean;
8537
8505
  telephonyQueueId: string | null;
8538
8506
  contactId: string | null;
8539
- extension?: {
8540
- id: string;
8541
- createdAt: Date;
8542
- updatedAt: Date;
8543
- deletedAt: Date | null;
8544
- userId: string | null;
8545
- sipServerUrl: string;
8546
- sipUserName: string;
8547
- webphoneLoginUser: string;
8548
- extensionId: string | null;
8549
- extensionName: string;
8550
- telephonySignature: string | null;
8551
- user?: {
8552
- name: string;
8553
- id: string;
8554
- address: string | null;
8555
- email: string;
8556
- createdAt: Date;
8557
- updatedAt: Date;
8558
- deletedAt: Date | null;
8559
- emailVerifiedAt: Date | null;
8560
- password: string;
8561
- phone: string | null;
8562
- notificationCount: number | null;
8563
- roles: {
8564
- id: string;
8565
- description: string | null;
8566
- createdAt: Date;
8567
- updatedAt: Date;
8568
- deletedAt: Date | null;
8569
- systemName: string;
8570
- displayName: string;
8571
- permissions: {
8572
- id: string;
8573
- description: string | null;
8574
- createdAt: Date;
8575
- updatedAt: Date;
8576
- deletedAt: Date | null;
8577
- systemName: string;
8578
- displayName: string;
8579
- }[];
8580
- }[];
8581
- extension: {
8582
- id: string;
8583
- createdAt: Date;
8584
- updatedAt: Date;
8585
- deletedAt: Date | null;
8586
- userId: string | null;
8587
- sipServerUrl: string;
8588
- sipUserName: string;
8589
- webphoneLoginUser: string;
8590
- extensionId: string | null;
8591
- extensionName: string;
8592
- telephonySignature: string | null;
8593
- };
8594
- } | null | undefined;
8595
- } | null | undefined;
8596
8507
  contact?: {
8597
- name: string;
8598
8508
  id: string;
8599
8509
  channel: string | null;
8600
8510
  address: string | null;
8511
+ name: string;
8601
8512
  createdAt: Date;
8602
8513
  updatedAt: Date;
8603
8514
  deletedAt: Date | null;
@@ -8642,8 +8553,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
8642
8553
  createdAt: Date;
8643
8554
  updatedAt: Date;
8644
8555
  deletedAt: Date | null;
8645
- name?: string | undefined;
8646
8556
  address?: string | null | undefined;
8557
+ name?: string | undefined;
8647
8558
  phone?: string | null | undefined;
8648
8559
  industry?: string | null | undefined;
8649
8560
  } | null;
@@ -8651,8 +8562,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
8651
8562
  contactProfile: string | null;
8652
8563
  socialProfileUrl: string | null;
8653
8564
  tags: {
8654
- name: string;
8655
8565
  id: string;
8566
+ name: string;
8656
8567
  createdAt: Date;
8657
8568
  updatedAt: Date;
8658
8569
  deletedAt: Date | null;
@@ -8677,8 +8588,8 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
8677
8588
  type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat" | "facebook_feed" | "sms_vonage";
8678
8589
  id: string;
8679
8590
  metadata: {
8680
- name: string;
8681
8591
  id: string;
8592
+ name: string;
8682
8593
  picture?: string | undefined;
8683
8594
  additionalCredentials?: any;
8684
8595
  };
@@ -8727,14 +8638,71 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
8727
8638
  fileSize: number;
8728
8639
  fileUrl: string | null;
8729
8640
  } | null | undefined;
8641
+ extension?: {
8642
+ id: string;
8643
+ createdAt: Date;
8644
+ updatedAt: Date;
8645
+ deletedAt: Date | null;
8646
+ userId: string | null;
8647
+ sipServerUrl: string;
8648
+ sipUserName: string;
8649
+ webphoneLoginUser: string;
8650
+ extensionId: string | null;
8651
+ extensionName: string;
8652
+ telephonySignature: string | null;
8653
+ user?: {
8654
+ id: string;
8655
+ address: string | null;
8656
+ name: string;
8657
+ email: string;
8658
+ createdAt: Date;
8659
+ updatedAt: Date;
8660
+ deletedAt: Date | null;
8661
+ emailVerifiedAt: Date | null;
8662
+ password: string;
8663
+ phone: string | null;
8664
+ notificationCount: number | null;
8665
+ roles: {
8666
+ id: string;
8667
+ description: string | null;
8668
+ createdAt: Date;
8669
+ updatedAt: Date;
8670
+ deletedAt: Date | null;
8671
+ systemName: string;
8672
+ displayName: string;
8673
+ permissions: {
8674
+ id: string;
8675
+ description: string | null;
8676
+ createdAt: Date;
8677
+ updatedAt: Date;
8678
+ deletedAt: Date | null;
8679
+ systemName: string;
8680
+ displayName: string;
8681
+ }[];
8682
+ }[];
8683
+ extension: {
8684
+ id: string;
8685
+ createdAt: Date;
8686
+ updatedAt: Date;
8687
+ deletedAt: Date | null;
8688
+ userId: string | null;
8689
+ sipServerUrl: string;
8690
+ sipUserName: string;
8691
+ webphoneLoginUser: string;
8692
+ extensionId: string | null;
8693
+ extensionName: string;
8694
+ telephonySignature: string | null;
8695
+ };
8696
+ } | null | undefined;
8697
+ } | null | undefined;
8730
8698
  } | null;
8731
8699
  queue: {
8732
8700
  queueName?: string | null | undefined;
8733
8701
  } | null;
8734
8702
  firstAssignee: {
8735
- name: string;
8736
8703
  id: string;
8737
8704
  address: string | null;
8705
+ name: string;
8738
8706
  email: string;
8739
8707
  createdAt: Date;
8740
8708
  updatedAt: Date;
@@ -8776,9 +8744,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
8776
8744
  };
8777
8745
  } | null;
8778
8746
  agent: {
8779
- name: string;
8780
8747
  id: string;
8781
8748
  address: string | null;
8749
+ name: string;
8782
8750
  email: string;
8783
8751
  createdAt: Date;
8784
8752
  updatedAt: Date;
@@ -8820,9 +8788,9 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
8820
8788
  };
8821
8789
  } | null;
8822
8790
  closedAssignee: {
8823
- name: string;
8824
8791
  id: string;
8825
8792
  address: string | null;
8793
+ name: string;
8826
8794
  email: string;
8827
8795
  createdAt: Date;
8828
8796
  updatedAt: Date;