@kl1/contracts 1.3.7 → 1.3.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (241) hide show
  1. package/dist/api-contracts/src/activity-log/index.d.ts +22 -23
  2. package/dist/api-contracts/src/activity-log/index.d.ts.map +1 -1
  3. package/dist/api-contracts/src/activity-log/schema.d.ts +5 -6
  4. package/dist/api-contracts/src/activity-log/schema.d.ts.map +1 -1
  5. package/dist/api-contracts/src/attribute/index.d.ts +148 -164
  6. package/dist/api-contracts/src/attribute/index.d.ts.map +1 -1
  7. package/dist/api-contracts/src/attribute/schema.d.ts +8 -11
  8. package/dist/api-contracts/src/attribute/schema.d.ts.map +1 -1
  9. package/dist/api-contracts/src/attribute-option/schema.d.ts +2 -3
  10. package/dist/api-contracts/src/attribute-option/schema.d.ts.map +1 -1
  11. package/dist/api-contracts/src/auth/index.d.ts +24 -26
  12. package/dist/api-contracts/src/auth/index.d.ts.map +1 -1
  13. package/dist/api-contracts/src/automation-queue/index.d.ts +170 -192
  14. package/dist/api-contracts/src/automation-queue/index.d.ts.map +1 -1
  15. package/dist/api-contracts/src/automation-queue/schema.d.ts +12 -15
  16. package/dist/api-contracts/src/automation-queue/schema.d.ts.map +1 -1
  17. package/dist/api-contracts/src/aws/index.d.ts +6 -8
  18. package/dist/api-contracts/src/aws/index.d.ts.map +1 -1
  19. package/dist/api-contracts/src/botpress/index.d.ts +13 -17
  20. package/dist/api-contracts/src/botpress/index.d.ts.map +1 -1
  21. package/dist/api-contracts/src/business-calendar/index.d.ts +28 -40
  22. package/dist/api-contracts/src/business-calendar/index.d.ts.map +1 -1
  23. package/dist/api-contracts/src/business-calendar/schema.d.ts +10 -15
  24. package/dist/api-contracts/src/business-calendar/schema.d.ts.map +1 -1
  25. package/dist/api-contracts/src/call-log/schema.d.ts +4 -5
  26. package/dist/api-contracts/src/call-log/schema.d.ts.map +1 -1
  27. package/dist/api-contracts/src/category/index.d.ts +109 -118
  28. package/dist/api-contracts/src/category/index.d.ts.map +1 -1
  29. package/dist/api-contracts/src/category/schema.d.ts +2 -3
  30. package/dist/api-contracts/src/category/schema.d.ts.map +1 -1
  31. package/dist/api-contracts/src/channel/index.d.ts +1502 -1532
  32. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  33. package/dist/api-contracts/src/channel/schema.d.ts +54 -54
  34. package/dist/api-contracts/src/channel/validation.d.ts +72 -72
  35. package/dist/api-contracts/src/chat/index.d.ts +13141 -13645
  36. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  37. package/dist/api-contracts/src/chat/schema.d.ts +2308 -2467
  38. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  39. package/dist/api-contracts/src/chat/validation.d.ts +3331 -3414
  40. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  41. package/dist/api-contracts/src/comment/index.d.ts +299 -371
  42. package/dist/api-contracts/src/comment/index.d.ts.map +1 -1
  43. package/dist/api-contracts/src/comment/schema.d.ts +75 -98
  44. package/dist/api-contracts/src/comment/schema.d.ts.map +1 -1
  45. package/dist/api-contracts/src/comment/validation.d.ts +1 -1
  46. package/dist/api-contracts/src/company/index.d.ts +109 -136
  47. package/dist/api-contracts/src/company/index.d.ts.map +1 -1
  48. package/dist/api-contracts/src/company/schema.d.ts +24 -33
  49. package/dist/api-contracts/src/company/schema.d.ts.map +1 -1
  50. package/dist/api-contracts/src/company/validation.d.ts +62 -78
  51. package/dist/api-contracts/src/company/validation.d.ts.map +1 -1
  52. package/dist/api-contracts/src/contact/index.d.ts +559 -677
  53. package/dist/api-contracts/src/contact/index.d.ts.map +1 -1
  54. package/dist/api-contracts/src/contact/schema.d.ts +42 -56
  55. package/dist/api-contracts/src/contact/schema.d.ts.map +1 -1
  56. package/dist/api-contracts/src/contact/validation.d.ts +218 -299
  57. package/dist/api-contracts/src/contact/validation.d.ts.map +1 -1
  58. package/dist/api-contracts/src/contact-email/schema.d.ts +2 -3
  59. package/dist/api-contracts/src/contact-email/schema.d.ts.map +1 -1
  60. package/dist/api-contracts/src/contact-phone/schema.d.ts +2 -3
  61. package/dist/api-contracts/src/contact-phone/schema.d.ts.map +1 -1
  62. package/dist/api-contracts/src/contract.d.ts +25882 -27370
  63. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  64. package/dist/api-contracts/src/custom-field/schema.d.ts +2 -3
  65. package/dist/api-contracts/src/custom-field/schema.d.ts.map +1 -1
  66. package/dist/api-contracts/src/custom-field/validation.d.ts +2 -2
  67. package/dist/api-contracts/src/custom-field-upload/schema.d.ts +2 -3
  68. package/dist/api-contracts/src/custom-field-upload/schema.d.ts.map +1 -1
  69. package/dist/api-contracts/src/cx-intelligence/index.d.ts +47 -50
  70. package/dist/api-contracts/src/cx-intelligence/index.d.ts.map +1 -1
  71. package/dist/api-contracts/src/cx-log/index.d.ts +783 -831
  72. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  73. package/dist/api-contracts/src/cx-log/schema.d.ts +461 -514
  74. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  75. package/dist/api-contracts/src/cx-log/validation.d.ts +39 -39
  76. package/dist/api-contracts/src/dashboard/index.d.ts +361 -402
  77. package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
  78. package/dist/api-contracts/src/dashboard/schema.d.ts +4 -5
  79. package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
  80. package/dist/api-contracts/src/dashboard/validation.d.ts +18 -24
  81. package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
  82. package/dist/api-contracts/src/evaluate-form/index.d.ts +3 -4
  83. package/dist/api-contracts/src/evaluate-form/index.d.ts.map +1 -1
  84. package/dist/api-contracts/src/evaluate-form/schema.d.ts +2 -3
  85. package/dist/api-contracts/src/evaluate-form/schema.d.ts.map +1 -1
  86. package/dist/api-contracts/src/export/index.d.ts +3 -4
  87. package/dist/api-contracts/src/export/index.d.ts.map +1 -1
  88. package/dist/api-contracts/src/extension/index.d.ts +112 -118
  89. package/dist/api-contracts/src/extension/index.d.ts.map +1 -1
  90. package/dist/api-contracts/src/facebook-feed/index.d.ts +2211 -2291
  91. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  92. package/dist/api-contracts/src/facebook-feed/schema.d.ts +82 -94
  93. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  94. package/dist/api-contracts/src/facebook-feed/validation.d.ts +89 -106
  95. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  96. package/dist/api-contracts/src/general-setting/index.d.ts +2 -2
  97. package/dist/api-contracts/src/group/schema.d.ts +2 -3
  98. package/dist/api-contracts/src/group/schema.d.ts.map +1 -1
  99. package/dist/api-contracts/src/hold-label/index.d.ts +58 -77
  100. package/dist/api-contracts/src/hold-label/index.d.ts.map +1 -1
  101. package/dist/api-contracts/src/hold-label/schema.d.ts +14 -20
  102. package/dist/api-contracts/src/hold-label/schema.d.ts.map +1 -1
  103. package/dist/api-contracts/src/index.d.ts +1 -0
  104. package/dist/api-contracts/src/index.d.ts.map +1 -1
  105. package/dist/api-contracts/src/instagram/index.d.ts +3873 -3933
  106. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  107. package/dist/api-contracts/src/instagram/validation.d.ts +6 -6
  108. package/dist/api-contracts/src/line/index.d.ts +2073 -2133
  109. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  110. package/dist/api-contracts/src/line/schema.d.ts +11 -12
  111. package/dist/api-contracts/src/line/schema.d.ts.map +1 -1
  112. package/dist/api-contracts/src/line/validation.d.ts +127 -127
  113. package/dist/api-contracts/src/log-form/schema.d.ts +2 -3
  114. package/dist/api-contracts/src/log-form/schema.d.ts.map +1 -1
  115. package/dist/api-contracts/src/mail/account-contract.d.ts +174 -184
  116. package/dist/api-contracts/src/mail/account-contract.d.ts.map +1 -1
  117. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts +3 -4
  118. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts.map +1 -1
  119. package/dist/api-contracts/src/mail/mail-contract.d.ts +451 -502
  120. package/dist/api-contracts/src/mail/mail-contract.d.ts.map +1 -1
  121. package/dist/api-contracts/src/mail/mail-server-contract.d.ts +18 -24
  122. package/dist/api-contracts/src/mail/mail-server-contract.d.ts.map +1 -1
  123. package/dist/api-contracts/src/mail/message-contract.d.ts +107 -113
  124. package/dist/api-contracts/src/mail/message-contract.d.ts.map +1 -1
  125. package/dist/api-contracts/src/mail/room-contract.d.ts +101 -130
  126. package/dist/api-contracts/src/mail/room-contract.d.ts.map +1 -1
  127. package/dist/api-contracts/src/mail/schemas/message-validation.schema.d.ts +16 -16
  128. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +30 -36
  129. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
  130. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +20 -27
  131. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts.map +1 -1
  132. package/dist/api-contracts/src/messenger/index.d.ts +3873 -3935
  133. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  134. package/dist/api-contracts/src/messenger/validation.d.ts +89 -106
  135. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  136. package/dist/api-contracts/src/notification/index.d.ts +27 -34
  137. package/dist/api-contracts/src/notification/index.d.ts.map +1 -1
  138. package/dist/api-contracts/src/notification/schema.d.ts +15 -18
  139. package/dist/api-contracts/src/notification/schema.d.ts.map +1 -1
  140. package/dist/api-contracts/src/notification/validation.d.ts +5 -6
  141. package/dist/api-contracts/src/notification/validation.d.ts.map +1 -1
  142. package/dist/api-contracts/src/permission/index.d.ts +17 -17
  143. package/dist/api-contracts/src/presence-status/index.d.ts +81 -84
  144. package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
  145. package/dist/api-contracts/src/public-api/index.d.ts +196 -260
  146. package/dist/api-contracts/src/public-api/index.d.ts.map +1 -1
  147. package/dist/api-contracts/src/public-api/schema.d.ts +34 -48
  148. package/dist/api-contracts/src/public-api/schema.d.ts.map +1 -1
  149. package/dist/api-contracts/src/public-api/validation.d.ts +88 -113
  150. package/dist/api-contracts/src/public-api/validation.d.ts.map +1 -1
  151. package/dist/api-contracts/src/role/index.d.ts +83 -88
  152. package/dist/api-contracts/src/role/index.d.ts.map +1 -1
  153. package/dist/api-contracts/src/sms/index.d.ts +345 -349
  154. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  155. package/dist/api-contracts/src/snippet/index.d.ts +54 -76
  156. package/dist/api-contracts/src/snippet/index.d.ts.map +1 -1
  157. package/dist/api-contracts/src/snippet/schema.d.ts +14 -21
  158. package/dist/api-contracts/src/snippet/schema.d.ts.map +1 -1
  159. package/dist/api-contracts/src/snippet/validation.d.ts +4 -5
  160. package/dist/api-contracts/src/snippet/validation.d.ts.map +1 -1
  161. package/dist/api-contracts/src/subscription/index.d.ts +51 -74
  162. package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
  163. package/dist/api-contracts/src/subscription/schema.d.ts +62 -93
  164. package/dist/api-contracts/src/subscription/schema.d.ts.map +1 -1
  165. package/dist/api-contracts/src/tag/index.d.ts +72 -79
  166. package/dist/api-contracts/src/tag/index.d.ts.map +1 -1
  167. package/dist/api-contracts/src/tag/schema.d.ts +2 -3
  168. package/dist/api-contracts/src/tag/schema.d.ts.map +1 -1
  169. package/dist/api-contracts/src/tag-group/schema.d.ts +2 -3
  170. package/dist/api-contracts/src/tag-group/schema.d.ts.map +1 -1
  171. package/dist/api-contracts/src/telegram/index.d.ts +1532 -1590
  172. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  173. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +50 -55
  174. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  175. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +7 -9
  176. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  177. package/dist/api-contracts/src/telephony-cdr/call-report.schema.d.ts +38 -38
  178. package/dist/api-contracts/src/telephony-cdr/index.d.ts +1170 -1245
  179. package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
  180. package/dist/api-contracts/src/telephony-cdr/schema.d.ts +196 -222
  181. package/dist/api-contracts/src/telephony-cdr/schema.d.ts.map +1 -1
  182. package/dist/api-contracts/src/telephony-cdr/validation.d.ts +45 -52
  183. package/dist/api-contracts/src/telephony-cdr/validation.d.ts.map +1 -1
  184. package/dist/api-contracts/src/telephony-extension/index.d.ts +21 -21
  185. package/dist/api-contracts/src/telephony-extension/schema.d.ts +4 -4
  186. package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts +2 -3
  187. package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts.map +1 -1
  188. package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts +2 -3
  189. package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts.map +1 -1
  190. package/dist/api-contracts/src/tenant/schema.d.ts +2 -3
  191. package/dist/api-contracts/src/tenant/schema.d.ts.map +1 -1
  192. package/dist/api-contracts/src/ticket/index.d.ts +679 -790
  193. package/dist/api-contracts/src/ticket/index.d.ts.map +1 -1
  194. package/dist/api-contracts/src/ticket/schema.d.ts +73 -99
  195. package/dist/api-contracts/src/ticket/schema.d.ts.map +1 -1
  196. package/dist/api-contracts/src/ticket/validation.d.ts +55 -57
  197. package/dist/api-contracts/src/ticket/validation.d.ts.map +1 -1
  198. package/dist/api-contracts/src/upload/index.d.ts +34 -36
  199. package/dist/api-contracts/src/upload/index.d.ts.map +1 -1
  200. package/dist/api-contracts/src/upload/schema.d.ts +2 -3
  201. package/dist/api-contracts/src/upload/schema.d.ts.map +1 -1
  202. package/dist/api-contracts/src/user/index.d.ts +148 -159
  203. package/dist/api-contracts/src/user/index.d.ts.map +1 -1
  204. package/dist/api-contracts/src/user/schema.d.ts +5 -6
  205. package/dist/api-contracts/src/user/schema.d.ts.map +1 -1
  206. package/dist/api-contracts/src/user/validation.d.ts +4 -5
  207. package/dist/api-contracts/src/user/validation.d.ts.map +1 -1
  208. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +31 -32
  209. package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
  210. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +7 -9
  211. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
  212. package/dist/api-contracts/src/viber/index.d.ts +1785 -1843
  213. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  214. package/dist/api-contracts/src/webchat/index.d.ts +1551 -1609
  215. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  216. package/dist/api-contracts/src/whatsapp/index.d.ts +1920 -1982
  217. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  218. package/dist/api-contracts/src/whatsapp/validation.d.ts +6 -9
  219. package/dist/api-contracts/src/whatsapp/validation.d.ts.map +1 -1
  220. package/dist/api-contracts/src/widget/index.d.ts +144 -155
  221. package/dist/api-contracts/src/widget/index.d.ts.map +1 -1
  222. package/dist/api-contracts/src/widget/schema.d.ts +2 -3
  223. package/dist/api-contracts/src/widget/schema.d.ts.map +1 -1
  224. package/dist/api-contracts/src/widget/validation.d.ts +16 -16
  225. package/dist/api-contracts/src/workflow-rule/index.d.ts +2021 -2087
  226. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  227. package/dist/api-contracts/src/workflow-rule/schema.d.ts +2 -3
  228. package/dist/api-contracts/src/workflow-rule/schema.d.ts.map +1 -1
  229. package/dist/api-contracts/src/wrap-up-form/index.d.ts +147 -166
  230. package/dist/api-contracts/src/wrap-up-form/index.d.ts.map +1 -1
  231. package/dist/api-contracts/src/wrap-up-form/schema.d.ts +6 -9
  232. package/dist/api-contracts/src/wrap-up-form/schema.d.ts.map +1 -1
  233. package/dist/api-contracts/src/wrap-up-form/validation.d.ts +20 -21
  234. package/dist/api-contracts/src/wrap-up-form/validation.d.ts.map +1 -1
  235. package/dist/api-contracts/utils.d.ts +3 -4
  236. package/dist/api-contracts/utils.d.ts.map +1 -1
  237. package/dist/index.js +53 -58
  238. package/dist/index.js.map +1 -1
  239. package/dist/index.mjs +52 -58
  240. package/dist/index.mjs.map +1 -1
  241. 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;
@@ -20,23 +19,21 @@ export declare const CxLogSchema: z.ZodObject<z.objectUtil.extendShape<{
20
19
  firstResponseTime: z.ZodNullable<z.ZodNumber>;
21
20
  resolutionTime: z.ZodNullable<z.ZodNumber>;
22
21
  fullResolutionTime: z.ZodNullable<z.ZodNumber>;
23
- wrapUpForm: z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
22
+ wrapUpForm: z.ZodNullable<z.ZodObject<{
24
23
  id: z.ZodString;
25
24
  createdAt: z.ZodDate;
26
25
  updatedAt: z.ZodDate;
27
26
  deletedAt: z.ZodNullable<z.ZodDate>;
28
- }, {
29
27
  note: z.ZodNullable<z.ZodString>;
30
28
  disposition: z.ZodNullable<z.ZodString>;
31
29
  type: z.ZodString;
32
- tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
30
+ tags: z.ZodArray<z.ZodObject<{
33
31
  id: z.ZodString;
34
32
  createdAt: z.ZodDate;
35
33
  updatedAt: z.ZodDate;
36
34
  deletedAt: z.ZodNullable<z.ZodDate>;
37
- }, {
38
35
  name: z.ZodString;
39
- }>, "strip", z.ZodTypeAny, {
36
+ }, "strip", z.ZodTypeAny, {
40
37
  name: string;
41
38
  id: string;
42
39
  createdAt: Date;
@@ -49,12 +46,11 @@ export declare const CxLogSchema: z.ZodObject<z.objectUtil.extendShape<{
49
46
  updatedAt: Date;
50
47
  deletedAt: Date | null;
51
48
  }>, "many">;
52
- categories: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
49
+ categories: z.ZodArray<z.ZodObject<{
53
50
  id: z.ZodString;
54
51
  createdAt: z.ZodDate;
55
52
  updatedAt: z.ZodDate;
56
53
  deletedAt: z.ZodNullable<z.ZodDate>;
57
- }, {
58
54
  value: z.ZodString;
59
55
  level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
60
56
  parentId: z.ZodNullable<z.ZodString>;
@@ -107,7 +103,7 @@ export declare const CxLogSchema: z.ZodObject<z.objectUtil.extendShape<{
107
103
  childCategoryList: any[];
108
104
  }[];
109
105
  }>, "many">;
110
- }>, "strip", z.ZodTypeAny, {
106
+ }, "strip", z.ZodTypeAny, {
111
107
  id: string;
112
108
  value: string;
113
109
  createdAt: Date;
@@ -186,7 +182,7 @@ export declare const CxLogSchema: z.ZodObject<z.objectUtil.extendShape<{
186
182
  numberValue: number | null;
187
183
  dateValue: Date | null;
188
184
  }>, "many">>>;
189
- }>, "strip", z.ZodTypeAny, {
185
+ }, "strip", z.ZodTypeAny, {
190
186
  type: string;
191
187
  id: string;
192
188
  disposition: string | null;
@@ -289,25 +285,23 @@ export declare const CxLogSchema: z.ZodObject<z.objectUtil.extendShape<{
289
285
  dateValue: Date | null;
290
286
  }[] | null | undefined;
291
287
  }>>;
292
- holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
288
+ holdLogs: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
293
289
  id: z.ZodString;
294
290
  createdAt: z.ZodDate;
295
291
  updatedAt: z.ZodDate;
296
292
  deletedAt: z.ZodNullable<z.ZodDate>;
297
- }, {
298
293
  startedAt: z.ZodString;
299
294
  endedAt: z.ZodNullable<z.ZodString>;
300
295
  duration: z.ZodNullable<z.ZodNumber>;
301
- holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
296
+ holdLabel: z.ZodOptional<z.ZodNullable<z.ZodObject<{
302
297
  id: z.ZodString;
303
298
  createdAt: z.ZodDate;
304
299
  updatedAt: z.ZodDate;
305
300
  deletedAt: z.ZodNullable<z.ZodDate>;
306
- }, {
307
301
  name: z.ZodString;
308
302
  position: z.ZodNumber;
309
303
  isDefault: z.ZodDefault<z.ZodBoolean>;
310
- }>, "strip", z.ZodTypeAny, {
304
+ }, "strip", z.ZodTypeAny, {
311
305
  name: string;
312
306
  id: string;
313
307
  position: number;
@@ -324,14 +318,14 @@ export declare const CxLogSchema: z.ZodObject<z.objectUtil.extendShape<{
324
318
  deletedAt: Date | null;
325
319
  isDefault?: boolean | undefined;
326
320
  }>>>;
327
- }>, "strip", z.ZodTypeAny, {
321
+ }, "strip", z.ZodTypeAny, {
328
322
  id: string;
329
- duration: number | null;
330
323
  createdAt: Date;
331
324
  updatedAt: Date;
332
325
  deletedAt: Date | null;
333
326
  startedAt: string;
334
327
  endedAt: string | null;
328
+ duration: number | null;
335
329
  holdLabel?: {
336
330
  name: string;
337
331
  id: string;
@@ -343,12 +337,12 @@ export declare const CxLogSchema: z.ZodObject<z.objectUtil.extendShape<{
343
337
  } | null | undefined;
344
338
  }, {
345
339
  id: string;
346
- duration: number | null;
347
340
  createdAt: Date;
348
341
  updatedAt: Date;
349
342
  deletedAt: Date | null;
350
343
  startedAt: string;
351
344
  endedAt: string | null;
345
+ duration: number | null;
352
346
  holdLabel?: {
353
347
  name: string;
354
348
  id: string;
@@ -359,7 +353,7 @@ export declare const CxLogSchema: z.ZodObject<z.objectUtil.extendShape<{
359
353
  isDefault?: boolean | undefined;
360
354
  } | null | undefined;
361
355
  }>, "many">>>;
362
- }>, "strip", z.ZodTypeAny, {
356
+ }, "strip", z.ZodTypeAny, {
363
357
  id: string;
364
358
  channel: string | null;
365
359
  direction: string | null;
@@ -433,12 +427,12 @@ export declare const CxLogSchema: z.ZodObject<z.objectUtil.extendShape<{
433
427
  } | null;
434
428
  holdLogs?: {
435
429
  id: string;
436
- duration: number | null;
437
430
  createdAt: Date;
438
431
  updatedAt: Date;
439
432
  deletedAt: Date | null;
440
433
  startedAt: string;
441
434
  endedAt: string | null;
435
+ duration: number | null;
442
436
  holdLabel?: {
443
437
  name: string;
444
438
  id: string;
@@ -523,12 +517,12 @@ export declare const CxLogSchema: z.ZodObject<z.objectUtil.extendShape<{
523
517
  } | null;
524
518
  holdLogs?: {
525
519
  id: string;
526
- duration: number | null;
527
520
  createdAt: Date;
528
521
  updatedAt: Date;
529
522
  deletedAt: Date | null;
530
523
  startedAt: string;
531
524
  endedAt: string | null;
525
+ duration: number | null;
532
526
  holdLabel?: {
533
527
  name: string;
534
528
  id: string;
@@ -540,12 +534,11 @@ export declare const CxLogSchema: z.ZodObject<z.objectUtil.extendShape<{
540
534
  } | null | undefined;
541
535
  }[] | null | undefined;
542
536
  }>;
543
- export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendShape<{
537
+ export declare const CxLogSchemaWithRelations: z.ZodObject<{
544
538
  id: z.ZodString;
545
539
  createdAt: z.ZodDate;
546
540
  updatedAt: z.ZodDate;
547
541
  deletedAt: z.ZodNullable<z.ZodDate>;
548
- }, {
549
542
  caseId: z.ZodNumber;
550
543
  entityId: z.ZodString;
551
544
  entityName: z.ZodString;
@@ -564,16 +557,15 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
564
557
  resolutionDate: z.ZodString;
565
558
  wrapUpDuration: z.ZodString;
566
559
  slaMeet: z.ZodNullable<z.ZodString>;
567
- evaluateForm: z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
560
+ evaluateForm: z.ZodNullable<z.ZodObject<{
568
561
  id: z.ZodString;
569
562
  createdAt: z.ZodDate;
570
563
  updatedAt: z.ZodDate;
571
564
  deletedAt: z.ZodNullable<z.ZodDate>;
572
- }, {
573
565
  cxLogId: z.ZodString;
574
566
  sentimentScore: z.ZodOptional<z.ZodNullable<z.ZodString>>;
575
567
  csatScore: z.ZodOptional<z.ZodNullable<z.ZodString>>;
576
- }>, "strip", z.ZodTypeAny, {
568
+ }, "strip", z.ZodTypeAny, {
577
569
  id: string;
578
570
  createdAt: Date;
579
571
  updatedAt: Date;
@@ -590,23 +582,21 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
590
582
  sentimentScore?: string | null | undefined;
591
583
  csatScore?: string | null | undefined;
592
584
  }>>;
593
- wrapUpForm: z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
585
+ wrapUpForm: z.ZodNullable<z.ZodObject<{
594
586
  id: z.ZodString;
595
587
  createdAt: z.ZodDate;
596
588
  updatedAt: z.ZodDate;
597
589
  deletedAt: z.ZodNullable<z.ZodDate>;
598
- }, {
599
590
  note: z.ZodNullable<z.ZodString>;
600
591
  disposition: z.ZodNullable<z.ZodString>;
601
592
  type: z.ZodString;
602
- tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
593
+ tags: z.ZodArray<z.ZodObject<{
603
594
  id: z.ZodString;
604
595
  createdAt: z.ZodDate;
605
596
  updatedAt: z.ZodDate;
606
597
  deletedAt: z.ZodNullable<z.ZodDate>;
607
- }, {
608
598
  name: z.ZodString;
609
- }>, "strip", z.ZodTypeAny, {
599
+ }, "strip", z.ZodTypeAny, {
610
600
  name: string;
611
601
  id: string;
612
602
  createdAt: Date;
@@ -619,12 +609,11 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
619
609
  updatedAt: Date;
620
610
  deletedAt: Date | null;
621
611
  }>, "many">;
622
- categories: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
612
+ categories: z.ZodArray<z.ZodObject<{
623
613
  id: z.ZodString;
624
614
  createdAt: z.ZodDate;
625
615
  updatedAt: z.ZodDate;
626
616
  deletedAt: z.ZodNullable<z.ZodDate>;
627
- }, {
628
617
  value: z.ZodString;
629
618
  level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
630
619
  parentId: z.ZodNullable<z.ZodString>;
@@ -677,7 +666,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
677
666
  childCategoryList: any[];
678
667
  }[];
679
668
  }>, "many">;
680
- }>, "strip", z.ZodTypeAny, {
669
+ }, "strip", z.ZodTypeAny, {
681
670
  id: string;
682
671
  value: string;
683
672
  createdAt: Date;
@@ -756,7 +745,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
756
745
  numberValue: number | null;
757
746
  dateValue: Date | null;
758
747
  }>, "many">>>;
759
- }>, "strip", z.ZodTypeAny, {
748
+ }, "strip", z.ZodTypeAny, {
760
749
  type: string;
761
750
  id: string;
762
751
  disposition: string | null;
@@ -871,7 +860,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
871
860
  firstResponseAt: z.ZodDate;
872
861
  firstResponseTime: z.ZodNumber;
873
862
  isLatest: z.ZodBoolean;
874
- direction: z.ZodEnum<[string, ...string[]]>;
863
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
875
864
  platformContact: z.ZodObject<{
876
865
  id: z.ZodString;
877
866
  createdAt: z.ZodDate;
@@ -907,14 +896,13 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
907
896
  notes: z.ZodNullable<z.ZodString>;
908
897
  contactProfile: z.ZodNullable<z.ZodString>;
909
898
  socialProfileUrl: z.ZodNullable<z.ZodString>;
910
- tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
899
+ tags: z.ZodArray<z.ZodObject<{
911
900
  id: z.ZodString;
912
901
  createdAt: z.ZodDate;
913
902
  updatedAt: z.ZodDate;
914
903
  deletedAt: z.ZodNullable<z.ZodDate>;
915
- }, {
916
904
  name: z.ZodString;
917
- }>, "strip", z.ZodTypeAny, {
905
+ }, "strip", z.ZodTypeAny, {
918
906
  name: string;
919
907
  id: string;
920
908
  createdAt: Date;
@@ -927,32 +915,29 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
927
915
  updatedAt: Date;
928
916
  deletedAt: Date | null;
929
917
  }>, "many">;
930
- company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
918
+ company: z.ZodNullable<z.ZodObject<Omit<{
931
919
  id: z.ZodString;
932
920
  createdAt: z.ZodDate;
933
921
  updatedAt: z.ZodDate;
934
922
  deletedAt: z.ZodNullable<z.ZodDate>;
935
- }, {
936
923
  name: z.ZodOptional<z.ZodString>;
937
924
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
938
925
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
939
926
  industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
940
- customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
927
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
941
928
  id: z.ZodString;
942
929
  createdAt: z.ZodDate;
943
930
  updatedAt: z.ZodDate;
944
931
  deletedAt: z.ZodNullable<z.ZodDate>;
945
- }, {
946
932
  textValue: z.ZodNullable<z.ZodString>;
947
933
  booleanValue: z.ZodNullable<z.ZodBoolean>;
948
934
  numberValue: z.ZodNullable<z.ZodNumber>;
949
935
  dateValue: z.ZodNullable<z.ZodDate>;
950
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
936
+ attribute: z.ZodObject<Omit<{
951
937
  id: z.ZodString;
952
938
  createdAt: z.ZodDate;
953
939
  updatedAt: z.ZodDate;
954
940
  deletedAt: z.ZodNullable<z.ZodDate>;
955
- }, {
956
941
  systemName: z.ZodString;
957
942
  displayName: z.ZodString;
958
943
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -961,14 +946,13 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
961
946
  isArchived: z.ZodBoolean;
962
947
  isRequired: z.ZodBoolean;
963
948
  isUnique: z.ZodBoolean;
964
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
965
- label: z.ZodString;
949
+ options: z.ZodArray<z.ZodObject<{
950
+ position: z.ZodNumber;
966
951
  value: z.ZodString;
952
+ label: z.ZodString;
967
953
  isDefault: z.ZodBoolean;
968
- position: z.ZodNumber;
969
- }, {
970
954
  id: z.ZodString;
971
- }>, "strip", z.ZodTypeAny, {
955
+ }, "strip", z.ZodTypeAny, {
972
956
  id: string;
973
957
  position: number;
974
958
  value: string;
@@ -981,15 +965,14 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
981
965
  label: string;
982
966
  isDefault: boolean;
983
967
  }>, "many">;
984
- group: z.ZodObject<z.objectUtil.extendShape<{
968
+ group: z.ZodObject<{
985
969
  id: z.ZodString;
986
970
  createdAt: z.ZodDate;
987
971
  updatedAt: z.ZodDate;
988
972
  deletedAt: z.ZodNullable<z.ZodDate>;
989
- }, {
990
973
  systemName: z.ZodString;
991
974
  displayName: z.ZodString;
992
- }>, "strip", z.ZodTypeAny, {
975
+ }, "strip", z.ZodTypeAny, {
993
976
  id: string;
994
977
  createdAt: Date;
995
978
  updatedAt: Date;
@@ -1004,7 +987,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
1004
987
  systemName: string;
1005
988
  displayName: string;
1006
989
  }>;
1007
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
990
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
1008
991
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1009
992
  id: string;
1010
993
  position: number;
@@ -1031,7 +1014,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
1031
1014
  isRequired: boolean;
1032
1015
  isUnique: boolean;
1033
1016
  }>;
1034
- }>, "strip", z.ZodTypeAny, {
1017
+ }, "strip", z.ZodTypeAny, {
1035
1018
  id: string;
1036
1019
  createdAt: Date;
1037
1020
  updatedAt: Date;
@@ -1078,7 +1061,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
1078
1061
  numberValue: number | null;
1079
1062
  dateValue: Date | null;
1080
1063
  }>, "many">>;
1081
- }>, "customFields">, "strip", z.ZodTypeAny, {
1064
+ }, "customFields">, "strip", z.ZodTypeAny, {
1082
1065
  id: string;
1083
1066
  createdAt: Date;
1084
1067
  updatedAt: Date;
@@ -1159,12 +1142,11 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
1159
1142
  booleanValue: z.ZodNullable<z.ZodBoolean>;
1160
1143
  numberValue: z.ZodNullable<z.ZodNumber>;
1161
1144
  dateValue: z.ZodNullable<z.ZodDate>;
1162
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
1145
+ attribute: z.ZodObject<Omit<{
1163
1146
  id: z.ZodString;
1164
1147
  createdAt: z.ZodDate;
1165
1148
  updatedAt: z.ZodDate;
1166
1149
  deletedAt: z.ZodNullable<z.ZodDate>;
1167
- }, {
1168
1150
  systemName: z.ZodString;
1169
1151
  displayName: z.ZodString;
1170
1152
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -1173,14 +1155,13 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
1173
1155
  isArchived: z.ZodBoolean;
1174
1156
  isRequired: z.ZodBoolean;
1175
1157
  isUnique: z.ZodBoolean;
1176
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1177
- label: z.ZodString;
1158
+ options: z.ZodArray<z.ZodObject<{
1159
+ position: z.ZodNumber;
1178
1160
  value: z.ZodString;
1161
+ label: z.ZodString;
1179
1162
  isDefault: z.ZodBoolean;
1180
- position: z.ZodNumber;
1181
- }, {
1182
1163
  id: z.ZodString;
1183
- }>, "strip", z.ZodTypeAny, {
1164
+ }, "strip", z.ZodTypeAny, {
1184
1165
  id: string;
1185
1166
  position: number;
1186
1167
  value: string;
@@ -1193,15 +1174,14 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
1193
1174
  label: string;
1194
1175
  isDefault: boolean;
1195
1176
  }>, "many">;
1196
- group: z.ZodObject<z.objectUtil.extendShape<{
1177
+ group: z.ZodObject<{
1197
1178
  id: z.ZodString;
1198
1179
  createdAt: z.ZodDate;
1199
1180
  updatedAt: z.ZodDate;
1200
1181
  deletedAt: z.ZodNullable<z.ZodDate>;
1201
- }, {
1202
1182
  systemName: z.ZodString;
1203
1183
  displayName: z.ZodString;
1204
- }>, "strip", z.ZodTypeAny, {
1184
+ }, "strip", z.ZodTypeAny, {
1205
1185
  id: string;
1206
1186
  createdAt: Date;
1207
1187
  updatedAt: Date;
@@ -1216,7 +1196,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
1216
1196
  systemName: string;
1217
1197
  displayName: string;
1218
1198
  }>;
1219
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
1199
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
1220
1200
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1221
1201
  id: string;
1222
1202
  position: number;
@@ -1243,19 +1223,18 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
1243
1223
  isRequired: boolean;
1244
1224
  isUnique: boolean;
1245
1225
  }>;
1246
- uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
1226
+ uploads: z.ZodArray<z.ZodObject<{
1247
1227
  id: z.ZodString;
1248
1228
  createdAt: z.ZodDate;
1249
1229
  updatedAt: z.ZodDate;
1250
1230
  deletedAt: z.ZodNullable<z.ZodDate>;
1251
- }, {
1252
1231
  bucketName: z.ZodString;
1253
1232
  fileName: z.ZodString;
1254
1233
  fileSize: z.ZodNumber;
1255
1234
  fileKey: z.ZodString;
1256
1235
  fileUrl: z.ZodNullable<z.ZodString>;
1257
1236
  status: z.ZodNullable<z.ZodString>;
1258
- }>, "strip", z.ZodTypeAny, {
1237
+ }, "strip", z.ZodTypeAny, {
1259
1238
  id: string;
1260
1239
  status: string | null;
1261
1240
  createdAt: Date;
@@ -1929,19 +1908,18 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
1929
1908
  channelId: string;
1930
1909
  socialPlatformId: string;
1931
1910
  }>;
1932
- actor: z.ZodObject<z.objectUtil.extendShape<{
1911
+ actor: z.ZodObject<{
1912
+ name: z.ZodString;
1933
1913
  id: z.ZodString;
1914
+ address: z.ZodNullable<z.ZodString>;
1915
+ email: z.ZodString;
1934
1916
  createdAt: z.ZodDate;
1935
1917
  updatedAt: z.ZodDate;
1936
1918
  deletedAt: z.ZodNullable<z.ZodDate>;
1937
- name: z.ZodString;
1938
- email: z.ZodString;
1939
1919
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
1940
1920
  password: z.ZodString;
1941
- address: z.ZodNullable<z.ZodString>;
1942
1921
  phone: z.ZodNullable<z.ZodString>;
1943
1922
  notificationCount: z.ZodNullable<z.ZodNumber>;
1944
- }, {
1945
1923
  roles: z.ZodArray<z.ZodObject<{
1946
1924
  id: z.ZodString;
1947
1925
  createdAt: z.ZodDate;
@@ -2047,7 +2025,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
2047
2025
  extensionName: string;
2048
2026
  telephonySignature: string | null;
2049
2027
  }>;
2050
- }>, "strip", z.ZodTypeAny, {
2028
+ }, "strip", z.ZodTypeAny, {
2051
2029
  name: string;
2052
2030
  id: string;
2053
2031
  address: string | null;
@@ -2134,19 +2112,18 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
2134
2112
  telephonySignature: string | null;
2135
2113
  };
2136
2114
  }>;
2137
- assignee: z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
2115
+ assignee: z.ZodNullable<z.ZodObject<{
2116
+ name: z.ZodString;
2138
2117
  id: z.ZodString;
2118
+ address: z.ZodNullable<z.ZodString>;
2119
+ email: z.ZodString;
2139
2120
  createdAt: z.ZodDate;
2140
2121
  updatedAt: z.ZodDate;
2141
2122
  deletedAt: z.ZodNullable<z.ZodDate>;
2142
- name: z.ZodString;
2143
- email: z.ZodString;
2144
2123
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
2145
2124
  password: z.ZodString;
2146
- address: z.ZodNullable<z.ZodString>;
2147
2125
  phone: z.ZodNullable<z.ZodString>;
2148
2126
  notificationCount: z.ZodNullable<z.ZodNumber>;
2149
- }, {
2150
2127
  roles: z.ZodArray<z.ZodObject<{
2151
2128
  id: z.ZodString;
2152
2129
  createdAt: z.ZodDate;
@@ -2252,7 +2229,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
2252
2229
  extensionName: string;
2253
2230
  telephonySignature: string | null;
2254
2231
  }>;
2255
- }>, "strip", z.ZodTypeAny, {
2232
+ }, "strip", z.ZodTypeAny, {
2256
2233
  name: string;
2257
2234
  id: string;
2258
2235
  address: string | null;
@@ -2367,28 +2344,28 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
2367
2344
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
2368
2345
  integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
2369
2346
  }, "strip", z.ZodTypeAny, {
2370
- email?: string | null | undefined;
2371
- status?: "active" | "pending" | "waapi-qr" | undefined;
2372
- channelId?: string | null | undefined;
2373
2347
  wabaBusinessId?: string | null | undefined;
2374
2348
  wabaExternalId?: string | null | undefined;
2375
2349
  phoneNumberId?: string | null | undefined;
2350
+ email?: string | null | undefined;
2376
2351
  clientId?: string | null | undefined;
2352
+ channelId?: string | null | undefined;
2377
2353
  waapiInstanceId?: string | null | undefined;
2378
2354
  qr?: string | null | undefined;
2355
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2379
2356
  apiKey?: string | undefined;
2380
2357
  tier?: "basic" | "regular" | "premium" | undefined;
2381
2358
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2382
2359
  }, {
2383
- email?: string | null | undefined;
2384
- status?: "active" | "pending" | "waapi-qr" | undefined;
2385
- channelId?: string | null | undefined;
2386
2360
  wabaBusinessId?: string | null | undefined;
2387
2361
  wabaExternalId?: string | null | undefined;
2388
2362
  phoneNumberId?: string | null | undefined;
2363
+ email?: string | null | undefined;
2389
2364
  clientId?: string | null | undefined;
2365
+ channelId?: string | null | undefined;
2390
2366
  waapiInstanceId?: string | null | undefined;
2391
2367
  qr?: string | null | undefined;
2368
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2392
2369
  apiKey?: string | undefined;
2393
2370
  tier?: "basic" | "regular" | "premium" | undefined;
2394
2371
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
@@ -2413,24 +2390,24 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
2413
2390
  }, "strip", z.ZodTypeAny, {
2414
2391
  name: string;
2415
2392
  id: string;
2393
+ accessToken?: string | undefined;
2394
+ channelSecret?: string | undefined;
2395
+ additionalCredentials?: any;
2396
+ senderId?: string | undefined;
2416
2397
  whatsapp?: {
2417
- email?: string | null | undefined;
2418
- status?: "active" | "pending" | "waapi-qr" | undefined;
2419
- channelId?: string | null | undefined;
2420
2398
  wabaBusinessId?: string | null | undefined;
2421
2399
  wabaExternalId?: string | null | undefined;
2422
2400
  phoneNumberId?: string | null | undefined;
2401
+ email?: string | null | undefined;
2423
2402
  clientId?: string | null | undefined;
2403
+ channelId?: string | null | undefined;
2424
2404
  waapiInstanceId?: string | null | undefined;
2425
2405
  qr?: string | null | undefined;
2406
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2426
2407
  apiKey?: string | undefined;
2427
2408
  tier?: "basic" | "regular" | "premium" | undefined;
2428
2409
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2429
2410
  } | undefined;
2430
- additionalCredentials?: any;
2431
- accessToken?: string | undefined;
2432
- channelSecret?: string | undefined;
2433
- senderId?: string | undefined;
2434
2411
  vonageCredentials?: {
2435
2412
  apiKey: string;
2436
2413
  mobileNumber: string;
@@ -2443,24 +2420,24 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
2443
2420
  }, {
2444
2421
  name: string;
2445
2422
  id: string;
2423
+ accessToken?: string | undefined;
2424
+ channelSecret?: string | undefined;
2425
+ additionalCredentials?: any;
2426
+ senderId?: string | undefined;
2446
2427
  whatsapp?: {
2447
- email?: string | null | undefined;
2448
- status?: "active" | "pending" | "waapi-qr" | undefined;
2449
- channelId?: string | null | undefined;
2450
2428
  wabaBusinessId?: string | null | undefined;
2451
2429
  wabaExternalId?: string | null | undefined;
2452
2430
  phoneNumberId?: string | null | undefined;
2431
+ email?: string | null | undefined;
2453
2432
  clientId?: string | null | undefined;
2433
+ channelId?: string | null | undefined;
2454
2434
  waapiInstanceId?: string | null | undefined;
2455
2435
  qr?: string | null | undefined;
2436
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2456
2437
  apiKey?: string | undefined;
2457
2438
  tier?: "basic" | "regular" | "premium" | undefined;
2458
2439
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2459
2440
  } | undefined;
2460
- additionalCredentials?: any;
2461
- accessToken?: string | undefined;
2462
- channelSecret?: string | undefined;
2463
- senderId?: string | undefined;
2464
2441
  vonageCredentials?: {
2465
2442
  apiKey: string;
2466
2443
  mobileNumber: string;
@@ -2707,24 +2684,24 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
2707
2684
  metadata: {
2708
2685
  name: string;
2709
2686
  id: string;
2687
+ accessToken?: string | undefined;
2688
+ channelSecret?: string | undefined;
2689
+ additionalCredentials?: any;
2690
+ senderId?: string | undefined;
2710
2691
  whatsapp?: {
2711
- email?: string | null | undefined;
2712
- status?: "active" | "pending" | "waapi-qr" | undefined;
2713
- channelId?: string | null | undefined;
2714
2692
  wabaBusinessId?: string | null | undefined;
2715
2693
  wabaExternalId?: string | null | undefined;
2716
2694
  phoneNumberId?: string | null | undefined;
2695
+ email?: string | null | undefined;
2717
2696
  clientId?: string | null | undefined;
2697
+ channelId?: string | null | undefined;
2718
2698
  waapiInstanceId?: string | null | undefined;
2719
2699
  qr?: string | null | undefined;
2700
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2720
2701
  apiKey?: string | undefined;
2721
2702
  tier?: "basic" | "regular" | "premium" | undefined;
2722
2703
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2723
2704
  } | undefined;
2724
- additionalCredentials?: any;
2725
- accessToken?: string | undefined;
2726
- channelSecret?: string | undefined;
2727
- senderId?: string | undefined;
2728
2705
  vonageCredentials?: {
2729
2706
  apiKey: string;
2730
2707
  mobileNumber: string;
@@ -2802,24 +2779,24 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
2802
2779
  metadata: {
2803
2780
  name: string;
2804
2781
  id: string;
2782
+ accessToken?: string | undefined;
2783
+ channelSecret?: string | undefined;
2784
+ additionalCredentials?: any;
2785
+ senderId?: string | undefined;
2805
2786
  whatsapp?: {
2806
- email?: string | null | undefined;
2807
- status?: "active" | "pending" | "waapi-qr" | undefined;
2808
- channelId?: string | null | undefined;
2809
2787
  wabaBusinessId?: string | null | undefined;
2810
2788
  wabaExternalId?: string | null | undefined;
2811
2789
  phoneNumberId?: string | null | undefined;
2790
+ email?: string | null | undefined;
2812
2791
  clientId?: string | null | undefined;
2792
+ channelId?: string | null | undefined;
2813
2793
  waapiInstanceId?: string | null | undefined;
2814
2794
  qr?: string | null | undefined;
2795
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2815
2796
  apiKey?: string | undefined;
2816
2797
  tier?: "basic" | "regular" | "premium" | undefined;
2817
2798
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2818
2799
  } | undefined;
2819
- additionalCredentials?: any;
2820
- accessToken?: string | undefined;
2821
- channelSecret?: string | undefined;
2822
- senderId?: string | undefined;
2823
2800
  vonageCredentials?: {
2824
2801
  apiKey: string;
2825
2802
  mobileNumber: string;
@@ -2900,24 +2877,24 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
2900
2877
  metadata: {
2901
2878
  name: string;
2902
2879
  id: string;
2880
+ accessToken?: string | undefined;
2881
+ channelSecret?: string | undefined;
2882
+ additionalCredentials?: any;
2883
+ senderId?: string | undefined;
2903
2884
  whatsapp?: {
2904
- email?: string | null | undefined;
2905
- status?: "active" | "pending" | "waapi-qr" | undefined;
2906
- channelId?: string | null | undefined;
2907
2885
  wabaBusinessId?: string | null | undefined;
2908
2886
  wabaExternalId?: string | null | undefined;
2909
2887
  phoneNumberId?: string | null | undefined;
2888
+ email?: string | null | undefined;
2910
2889
  clientId?: string | null | undefined;
2890
+ channelId?: string | null | undefined;
2911
2891
  waapiInstanceId?: string | null | undefined;
2912
2892
  qr?: string | null | undefined;
2893
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2913
2894
  apiKey?: string | undefined;
2914
2895
  tier?: "basic" | "regular" | "premium" | undefined;
2915
2896
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2916
2897
  } | undefined;
2917
- additionalCredentials?: any;
2918
- accessToken?: string | undefined;
2919
- channelSecret?: string | undefined;
2920
- senderId?: string | undefined;
2921
2898
  vonageCredentials?: {
2922
2899
  apiKey: string;
2923
2900
  mobileNumber: string;
@@ -2989,7 +2966,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
2989
2966
  integrationId: string;
2990
2967
  } | null;
2991
2968
  };
2992
- direction: string;
2969
+ direction: "incoming" | "outgoing" | "system";
2993
2970
  createdAt: Date;
2994
2971
  updatedAt: Date;
2995
2972
  deletedAt: Date | null;
@@ -3224,24 +3201,24 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
3224
3201
  metadata: {
3225
3202
  name: string;
3226
3203
  id: string;
3204
+ accessToken?: string | undefined;
3205
+ channelSecret?: string | undefined;
3206
+ additionalCredentials?: any;
3207
+ senderId?: string | undefined;
3227
3208
  whatsapp?: {
3228
- email?: string | null | undefined;
3229
- status?: "active" | "pending" | "waapi-qr" | undefined;
3230
- channelId?: string | null | undefined;
3231
3209
  wabaBusinessId?: string | null | undefined;
3232
3210
  wabaExternalId?: string | null | undefined;
3233
3211
  phoneNumberId?: string | null | undefined;
3212
+ email?: string | null | undefined;
3234
3213
  clientId?: string | null | undefined;
3214
+ channelId?: string | null | undefined;
3235
3215
  waapiInstanceId?: string | null | undefined;
3236
3216
  qr?: string | null | undefined;
3217
+ status?: "active" | "pending" | "waapi-qr" | undefined;
3237
3218
  apiKey?: string | undefined;
3238
3219
  tier?: "basic" | "regular" | "premium" | undefined;
3239
3220
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
3240
3221
  } | undefined;
3241
- additionalCredentials?: any;
3242
- accessToken?: string | undefined;
3243
- channelSecret?: string | undefined;
3244
- senderId?: string | undefined;
3245
3222
  vonageCredentials?: {
3246
3223
  apiKey: string;
3247
3224
  mobileNumber: string;
@@ -3313,7 +3290,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
3313
3290
  integrationId: string;
3314
3291
  } | null;
3315
3292
  };
3316
- direction: string;
3293
+ direction: "incoming" | "outgoing" | "system";
3317
3294
  createdAt: Date;
3318
3295
  updatedAt: Date;
3319
3296
  deletedAt: Date | null;
@@ -3540,12 +3517,11 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
3540
3517
  };
3541
3518
  } | null;
3542
3519
  }>>;
3543
- telephonyCdr: z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
3520
+ telephonyCdr: z.ZodNullable<z.ZodObject<{
3544
3521
  id: z.ZodString;
3545
3522
  createdAt: z.ZodDate;
3546
3523
  updatedAt: z.ZodDate;
3547
3524
  deletedAt: z.ZodNullable<z.ZodDate>;
3548
- }, {
3549
3525
  uniqueCallId: z.ZodString;
3550
3526
  timeStart: z.ZodString;
3551
3527
  callFrom: z.ZodString;
@@ -3565,14 +3541,13 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
3565
3541
  notes: z.ZodNullable<z.ZodString>;
3566
3542
  contactProfile: z.ZodNullable<z.ZodString>;
3567
3543
  socialProfileUrl: z.ZodNullable<z.ZodString>;
3568
- tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
3544
+ tags: z.ZodArray<z.ZodObject<{
3569
3545
  id: z.ZodString;
3570
3546
  createdAt: z.ZodDate;
3571
3547
  updatedAt: z.ZodDate;
3572
3548
  deletedAt: z.ZodNullable<z.ZodDate>;
3573
- }, {
3574
3549
  name: z.ZodString;
3575
- }>, "strip", z.ZodTypeAny, {
3550
+ }, "strip", z.ZodTypeAny, {
3576
3551
  name: string;
3577
3552
  id: string;
3578
3553
  createdAt: Date;
@@ -3585,32 +3560,29 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
3585
3560
  updatedAt: Date;
3586
3561
  deletedAt: Date | null;
3587
3562
  }>, "many">;
3588
- company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
3563
+ company: z.ZodNullable<z.ZodObject<Omit<{
3589
3564
  id: z.ZodString;
3590
3565
  createdAt: z.ZodDate;
3591
3566
  updatedAt: z.ZodDate;
3592
3567
  deletedAt: z.ZodNullable<z.ZodDate>;
3593
- }, {
3594
3568
  name: z.ZodOptional<z.ZodString>;
3595
3569
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3596
3570
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3597
3571
  industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3598
- customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
3572
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
3599
3573
  id: z.ZodString;
3600
3574
  createdAt: z.ZodDate;
3601
3575
  updatedAt: z.ZodDate;
3602
3576
  deletedAt: z.ZodNullable<z.ZodDate>;
3603
- }, {
3604
3577
  textValue: z.ZodNullable<z.ZodString>;
3605
3578
  booleanValue: z.ZodNullable<z.ZodBoolean>;
3606
3579
  numberValue: z.ZodNullable<z.ZodNumber>;
3607
3580
  dateValue: z.ZodNullable<z.ZodDate>;
3608
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
3581
+ attribute: z.ZodObject<Omit<{
3609
3582
  id: z.ZodString;
3610
3583
  createdAt: z.ZodDate;
3611
3584
  updatedAt: z.ZodDate;
3612
3585
  deletedAt: z.ZodNullable<z.ZodDate>;
3613
- }, {
3614
3586
  systemName: z.ZodString;
3615
3587
  displayName: z.ZodString;
3616
3588
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -3619,14 +3591,13 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
3619
3591
  isArchived: z.ZodBoolean;
3620
3592
  isRequired: z.ZodBoolean;
3621
3593
  isUnique: z.ZodBoolean;
3622
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
3623
- label: z.ZodString;
3594
+ options: z.ZodArray<z.ZodObject<{
3595
+ position: z.ZodNumber;
3624
3596
  value: z.ZodString;
3597
+ label: z.ZodString;
3625
3598
  isDefault: z.ZodBoolean;
3626
- position: z.ZodNumber;
3627
- }, {
3628
3599
  id: z.ZodString;
3629
- }>, "strip", z.ZodTypeAny, {
3600
+ }, "strip", z.ZodTypeAny, {
3630
3601
  id: string;
3631
3602
  position: number;
3632
3603
  value: string;
@@ -3639,15 +3610,14 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
3639
3610
  label: string;
3640
3611
  isDefault: boolean;
3641
3612
  }>, "many">;
3642
- group: z.ZodObject<z.objectUtil.extendShape<{
3613
+ group: z.ZodObject<{
3643
3614
  id: z.ZodString;
3644
3615
  createdAt: z.ZodDate;
3645
3616
  updatedAt: z.ZodDate;
3646
3617
  deletedAt: z.ZodNullable<z.ZodDate>;
3647
- }, {
3648
3618
  systemName: z.ZodString;
3649
3619
  displayName: z.ZodString;
3650
- }>, "strip", z.ZodTypeAny, {
3620
+ }, "strip", z.ZodTypeAny, {
3651
3621
  id: string;
3652
3622
  createdAt: Date;
3653
3623
  updatedAt: Date;
@@ -3662,7 +3632,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
3662
3632
  systemName: string;
3663
3633
  displayName: string;
3664
3634
  }>;
3665
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
3635
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
3666
3636
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
3667
3637
  id: string;
3668
3638
  position: number;
@@ -3689,7 +3659,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
3689
3659
  isRequired: boolean;
3690
3660
  isUnique: boolean;
3691
3661
  }>;
3692
- }>, "strip", z.ZodTypeAny, {
3662
+ }, "strip", z.ZodTypeAny, {
3693
3663
  id: string;
3694
3664
  createdAt: Date;
3695
3665
  updatedAt: Date;
@@ -3736,7 +3706,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
3736
3706
  numberValue: number | null;
3737
3707
  dateValue: Date | null;
3738
3708
  }>, "many">>;
3739
- }>, "customFields">, "strip", z.ZodTypeAny, {
3709
+ }, "customFields">, "strip", z.ZodTypeAny, {
3740
3710
  id: string;
3741
3711
  createdAt: Date;
3742
3712
  updatedAt: Date;
@@ -3817,12 +3787,11 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
3817
3787
  booleanValue: z.ZodNullable<z.ZodBoolean>;
3818
3788
  numberValue: z.ZodNullable<z.ZodNumber>;
3819
3789
  dateValue: z.ZodNullable<z.ZodDate>;
3820
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
3790
+ attribute: z.ZodObject<Omit<{
3821
3791
  id: z.ZodString;
3822
3792
  createdAt: z.ZodDate;
3823
3793
  updatedAt: z.ZodDate;
3824
3794
  deletedAt: z.ZodNullable<z.ZodDate>;
3825
- }, {
3826
3795
  systemName: z.ZodString;
3827
3796
  displayName: z.ZodString;
3828
3797
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -3831,14 +3800,13 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
3831
3800
  isArchived: z.ZodBoolean;
3832
3801
  isRequired: z.ZodBoolean;
3833
3802
  isUnique: z.ZodBoolean;
3834
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
3835
- label: z.ZodString;
3803
+ options: z.ZodArray<z.ZodObject<{
3804
+ position: z.ZodNumber;
3836
3805
  value: z.ZodString;
3806
+ label: z.ZodString;
3837
3807
  isDefault: z.ZodBoolean;
3838
- position: z.ZodNumber;
3839
- }, {
3840
3808
  id: z.ZodString;
3841
- }>, "strip", z.ZodTypeAny, {
3809
+ }, "strip", z.ZodTypeAny, {
3842
3810
  id: string;
3843
3811
  position: number;
3844
3812
  value: string;
@@ -3851,15 +3819,14 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
3851
3819
  label: string;
3852
3820
  isDefault: boolean;
3853
3821
  }>, "many">;
3854
- group: z.ZodObject<z.objectUtil.extendShape<{
3822
+ group: z.ZodObject<{
3855
3823
  id: z.ZodString;
3856
3824
  createdAt: z.ZodDate;
3857
3825
  updatedAt: z.ZodDate;
3858
3826
  deletedAt: z.ZodNullable<z.ZodDate>;
3859
- }, {
3860
3827
  systemName: z.ZodString;
3861
3828
  displayName: z.ZodString;
3862
- }>, "strip", z.ZodTypeAny, {
3829
+ }, "strip", z.ZodTypeAny, {
3863
3830
  id: string;
3864
3831
  createdAt: Date;
3865
3832
  updatedAt: Date;
@@ -3874,7 +3841,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
3874
3841
  systemName: string;
3875
3842
  displayName: string;
3876
3843
  }>;
3877
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
3844
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
3878
3845
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
3879
3846
  id: string;
3880
3847
  position: number;
@@ -3901,19 +3868,18 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
3901
3868
  isRequired: boolean;
3902
3869
  isUnique: boolean;
3903
3870
  }>;
3904
- uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
3871
+ uploads: z.ZodArray<z.ZodObject<{
3905
3872
  id: z.ZodString;
3906
3873
  createdAt: z.ZodDate;
3907
3874
  updatedAt: z.ZodDate;
3908
3875
  deletedAt: z.ZodNullable<z.ZodDate>;
3909
- }, {
3910
3876
  bucketName: z.ZodString;
3911
3877
  fileName: z.ZodString;
3912
3878
  fileSize: z.ZodNumber;
3913
3879
  fileKey: z.ZodString;
3914
3880
  fileUrl: z.ZodNullable<z.ZodString>;
3915
3881
  status: z.ZodNullable<z.ZodString>;
3916
- }>, "strip", z.ZodTypeAny, {
3882
+ }, "strip", z.ZodTypeAny, {
3917
3883
  id: string;
3918
3884
  status: string | null;
3919
3885
  createdAt: Date;
@@ -4334,17 +4300,16 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
4334
4300
  };
4335
4301
  }[] | undefined;
4336
4302
  }>>;
4337
- telephonyQueue: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
4303
+ telephonyQueue: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4338
4304
  id: z.ZodString;
4339
4305
  createdAt: z.ZodDate;
4340
4306
  updatedAt: z.ZodDate;
4341
4307
  deletedAt: z.ZodNullable<z.ZodDate>;
4342
- }, {
4343
4308
  queueId: z.ZodNumber;
4344
4309
  queueName: z.ZodString;
4345
4310
  queueNumber: z.ZodString;
4346
4311
  maximumWaitingTime: z.ZodNumber;
4347
- }>, "strip", z.ZodTypeAny, {
4312
+ }, "strip", z.ZodTypeAny, {
4348
4313
  id: string;
4349
4314
  createdAt: Date;
4350
4315
  updatedAt: Date;
@@ -4371,19 +4336,18 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
4371
4336
  agentRingTime: z.ZodNullable<z.ZodNumber>;
4372
4337
  uploadId: z.ZodNullable<z.ZodString>;
4373
4338
  serialNumber: z.ZodNullable<z.ZodString>;
4374
- upload: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
4339
+ upload: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4375
4340
  id: z.ZodString;
4376
4341
  createdAt: z.ZodDate;
4377
4342
  updatedAt: z.ZodDate;
4378
4343
  deletedAt: z.ZodNullable<z.ZodDate>;
4379
- }, {
4380
4344
  bucketName: z.ZodString;
4381
4345
  fileName: z.ZodString;
4382
4346
  fileSize: z.ZodNumber;
4383
4347
  fileKey: z.ZodString;
4384
4348
  fileUrl: z.ZodNullable<z.ZodString>;
4385
4349
  status: z.ZodNullable<z.ZodString>;
4386
- }>, "strip", z.ZodTypeAny, {
4350
+ }, "strip", z.ZodTypeAny, {
4387
4351
  id: string;
4388
4352
  status: string | null;
4389
4353
  createdAt: Date;
@@ -4409,19 +4373,18 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
4409
4373
  callParticipants: z.ZodNullable<z.ZodObject<{
4410
4374
  callTo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4411
4375
  id: z.ZodString;
4412
- user: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
4376
+ user: z.ZodNullable<z.ZodObject<Omit<{
4377
+ name: z.ZodString;
4413
4378
  id: z.ZodString;
4379
+ address: z.ZodNullable<z.ZodString>;
4380
+ email: z.ZodString;
4414
4381
  createdAt: z.ZodDate;
4415
4382
  updatedAt: z.ZodDate;
4416
4383
  deletedAt: z.ZodNullable<z.ZodDate>;
4417
- name: z.ZodString;
4418
- email: z.ZodString;
4419
4384
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
4420
4385
  password: z.ZodString;
4421
- address: z.ZodNullable<z.ZodString>;
4422
4386
  phone: z.ZodNullable<z.ZodString>;
4423
4387
  notificationCount: z.ZodNullable<z.ZodNumber>;
4424
- }, {
4425
4388
  roles: z.ZodArray<z.ZodObject<{
4426
4389
  id: z.ZodString;
4427
4390
  createdAt: z.ZodDate;
@@ -4527,7 +4490,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
4527
4490
  extensionName: string;
4528
4491
  telephonySignature: string | null;
4529
4492
  }>;
4530
- }>, "roles" | "extension">, "strip", z.ZodTypeAny, {
4493
+ }, "roles" | "extension">, "strip", z.ZodTypeAny, {
4531
4494
  name: string;
4532
4495
  id: string;
4533
4496
  address: string | null;
@@ -4615,19 +4578,18 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
4615
4578
  }>>>;
4616
4579
  callFrom: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4617
4580
  id: z.ZodString;
4618
- user: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
4581
+ user: z.ZodNullable<z.ZodObject<Omit<{
4582
+ name: z.ZodString;
4619
4583
  id: z.ZodString;
4584
+ address: z.ZodNullable<z.ZodString>;
4585
+ email: z.ZodString;
4620
4586
  createdAt: z.ZodDate;
4621
4587
  updatedAt: z.ZodDate;
4622
4588
  deletedAt: z.ZodNullable<z.ZodDate>;
4623
- name: z.ZodString;
4624
- email: z.ZodString;
4625
4589
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
4626
4590
  password: z.ZodString;
4627
- address: z.ZodNullable<z.ZodString>;
4628
4591
  phone: z.ZodNullable<z.ZodString>;
4629
4592
  notificationCount: z.ZodNullable<z.ZodNumber>;
4630
- }, {
4631
4593
  roles: z.ZodArray<z.ZodObject<{
4632
4594
  id: z.ZodString;
4633
4595
  createdAt: z.ZodDate;
@@ -4733,7 +4695,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
4733
4695
  extensionName: string;
4734
4696
  telephonySignature: string | null;
4735
4697
  }>;
4736
- }>, "roles" | "extension">, "strip", z.ZodTypeAny, {
4698
+ }, "roles" | "extension">, "strip", z.ZodTypeAny, {
4737
4699
  name: string;
4738
4700
  id: string;
4739
4701
  address: string | null;
@@ -4820,7 +4782,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
4820
4782
  updatedAt?: string | undefined;
4821
4783
  }>>>;
4822
4784
  }, "strip", z.ZodTypeAny, {
4823
- callFrom?: {
4785
+ callTo?: {
4824
4786
  id: string;
4825
4787
  user: {
4826
4788
  name: string;
@@ -4846,7 +4808,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
4846
4808
  createdAt?: string | undefined;
4847
4809
  updatedAt?: string | undefined;
4848
4810
  } | null | undefined;
4849
- callTo?: {
4811
+ callFrom?: {
4850
4812
  id: string;
4851
4813
  user: {
4852
4814
  name: string;
@@ -4873,7 +4835,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
4873
4835
  updatedAt?: string | undefined;
4874
4836
  } | null | undefined;
4875
4837
  }, {
4876
- callFrom?: {
4838
+ callTo?: {
4877
4839
  id: string;
4878
4840
  user: {
4879
4841
  name: string;
@@ -4899,7 +4861,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
4899
4861
  createdAt?: string | undefined;
4900
4862
  updatedAt?: string | undefined;
4901
4863
  } | null | undefined;
4902
- callTo?: {
4864
+ callFrom?: {
4903
4865
  id: string;
4904
4866
  user: {
4905
4867
  name: string;
@@ -4928,7 +4890,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
4928
4890
  }>>;
4929
4891
  isQueueMissedCall: z.ZodBoolean;
4930
4892
  extensionId: z.ZodNullable<z.ZodString>;
4931
- extension: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
4893
+ extension: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4932
4894
  id: z.ZodString;
4933
4895
  createdAt: z.ZodDate;
4934
4896
  updatedAt: z.ZodDate;
@@ -4940,20 +4902,18 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
4940
4902
  extensionId: z.ZodNullable<z.ZodString>;
4941
4903
  extensionName: z.ZodString;
4942
4904
  telephonySignature: z.ZodNullable<z.ZodString>;
4943
- }, {
4944
- user: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
4905
+ user: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4906
+ name: z.ZodString;
4945
4907
  id: z.ZodString;
4908
+ address: z.ZodNullable<z.ZodString>;
4909
+ email: z.ZodString;
4946
4910
  createdAt: z.ZodDate;
4947
4911
  updatedAt: z.ZodDate;
4948
4912
  deletedAt: z.ZodNullable<z.ZodDate>;
4949
- name: z.ZodString;
4950
- email: z.ZodString;
4951
4913
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
4952
4914
  password: z.ZodString;
4953
- address: z.ZodNullable<z.ZodString>;
4954
4915
  phone: z.ZodNullable<z.ZodString>;
4955
4916
  notificationCount: z.ZodNullable<z.ZodNumber>;
4956
- }, {
4957
4917
  roles: z.ZodArray<z.ZodObject<{
4958
4918
  id: z.ZodString;
4959
4919
  createdAt: z.ZodDate;
@@ -5059,7 +5019,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
5059
5019
  extensionName: string;
5060
5020
  telephonySignature: string | null;
5061
5021
  }>;
5062
- }>, "strip", z.ZodTypeAny, {
5022
+ }, "strip", z.ZodTypeAny, {
5063
5023
  name: string;
5064
5024
  id: string;
5065
5025
  address: string | null;
@@ -5146,7 +5106,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
5146
5106
  telephonySignature: string | null;
5147
5107
  };
5148
5108
  }>>>;
5149
- }>, "strip", z.ZodTypeAny, {
5109
+ }, "strip", z.ZodTypeAny, {
5150
5110
  id: string;
5151
5111
  createdAt: Date;
5152
5112
  updatedAt: Date;
@@ -5261,7 +5221,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
5261
5221
  }>>>;
5262
5222
  telephonyQueueId: z.ZodNullable<z.ZodString>;
5263
5223
  contactId: z.ZodNullable<z.ZodString>;
5264
- }>, "strip", z.ZodTypeAny, {
5224
+ }, "strip", z.ZodTypeAny, {
5265
5225
  type: string;
5266
5226
  id: string;
5267
5227
  recording: string | null;
@@ -5284,7 +5244,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
5284
5244
  uploadId: string | null;
5285
5245
  serialNumber: string | null;
5286
5246
  callParticipants: {
5287
- callFrom?: {
5247
+ callTo?: {
5288
5248
  id: string;
5289
5249
  user: {
5290
5250
  name: string;
@@ -5310,7 +5270,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
5310
5270
  createdAt?: string | undefined;
5311
5271
  updatedAt?: string | undefined;
5312
5272
  } | null | undefined;
5313
- callTo?: {
5273
+ callFrom?: {
5314
5274
  id: string;
5315
5275
  user: {
5316
5276
  name: string;
@@ -5340,80 +5300,23 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
5340
5300
  isQueueMissedCall: boolean;
5341
5301
  telephonyQueueId: string | null;
5342
5302
  contactId: string | null;
5343
- extension?: {
5303
+ contact?: {
5304
+ name: string;
5344
5305
  id: string;
5306
+ channel: string | null;
5307
+ address: string | null;
5345
5308
  createdAt: Date;
5346
5309
  updatedAt: Date;
5347
5310
  deletedAt: Date | null;
5348
- userId: string | null;
5349
- sipServerUrl: string;
5350
- sipUserName: string;
5351
- webphoneLoginUser: string;
5352
- extensionId: string | null;
5353
- extensionName: string;
5354
- telephonySignature: string | null;
5355
- user?: {
5356
- name: string;
5311
+ customFields: {
5357
5312
  id: string;
5358
- address: string | null;
5359
- email: string;
5360
5313
  createdAt: Date;
5361
5314
  updatedAt: Date;
5362
5315
  deletedAt: Date | null;
5363
- emailVerifiedAt: Date | null;
5364
- password: string;
5365
- phone: string | null;
5366
- notificationCount: number | null;
5367
- roles: {
5316
+ attribute: {
5317
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
5368
5318
  id: string;
5369
- description: string | null;
5370
- createdAt: Date;
5371
- updatedAt: Date;
5372
- deletedAt: Date | null;
5373
- systemName: string;
5374
- displayName: string;
5375
- permissions: {
5376
- id: string;
5377
- description: string | null;
5378
- createdAt: Date;
5379
- updatedAt: Date;
5380
- deletedAt: Date | null;
5381
- systemName: string;
5382
- displayName: string;
5383
- }[];
5384
- }[];
5385
- extension: {
5386
- id: string;
5387
- createdAt: Date;
5388
- updatedAt: Date;
5389
- deletedAt: Date | null;
5390
- userId: string | null;
5391
- sipServerUrl: string;
5392
- sipUserName: string;
5393
- webphoneLoginUser: string;
5394
- extensionId: string | null;
5395
- extensionName: string;
5396
- telephonySignature: string | null;
5397
- };
5398
- } | null | undefined;
5399
- } | null | undefined;
5400
- contact?: {
5401
- name: string;
5402
- id: string;
5403
- channel: string | null;
5404
- address: string | null;
5405
- createdAt: Date;
5406
- updatedAt: Date;
5407
- deletedAt: Date | null;
5408
- customFields: {
5409
- id: string;
5410
- createdAt: Date;
5411
- updatedAt: Date;
5412
- deletedAt: Date | null;
5413
- attribute: {
5414
- type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
5415
- id: string;
5416
- position: number;
5319
+ position: number;
5417
5320
  createdAt: Date;
5418
5321
  updatedAt: Date;
5419
5322
  deletedAt: Date | null;
@@ -5531,6 +5434,63 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
5531
5434
  fileSize: number;
5532
5435
  fileUrl: string | null;
5533
5436
  } | null | undefined;
5437
+ extension?: {
5438
+ 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;
5534
5494
  }, {
5535
5495
  type: string;
5536
5496
  id: string;
@@ -5554,7 +5514,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
5554
5514
  uploadId: string | null;
5555
5515
  serialNumber: string | null;
5556
5516
  callParticipants: {
5557
- callFrom?: {
5517
+ callTo?: {
5558
5518
  id: string;
5559
5519
  user: {
5560
5520
  name: string;
@@ -5580,7 +5540,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
5580
5540
  createdAt?: string | undefined;
5581
5541
  updatedAt?: string | undefined;
5582
5542
  } | null | undefined;
5583
- callTo?: {
5543
+ callFrom?: {
5584
5544
  id: string;
5585
5545
  user: {
5586
5546
  name: string;
@@ -5610,63 +5570,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
5610
5570
  isQueueMissedCall: boolean;
5611
5571
  telephonyQueueId: string | null;
5612
5572
  contactId: string | null;
5613
- extension?: {
5614
- id: string;
5615
- createdAt: Date;
5616
- updatedAt: Date;
5617
- deletedAt: Date | null;
5618
- userId: string | null;
5619
- sipServerUrl: string;
5620
- sipUserName: string;
5621
- webphoneLoginUser: string;
5622
- extensionId: string | null;
5623
- extensionName: string;
5624
- telephonySignature: string | null;
5625
- user?: {
5626
- name: string;
5627
- id: string;
5628
- address: string | null;
5629
- email: string;
5630
- createdAt: Date;
5631
- updatedAt: Date;
5632
- deletedAt: Date | null;
5633
- emailVerifiedAt: Date | null;
5634
- password: string;
5635
- phone: string | null;
5636
- notificationCount: number | null;
5637
- roles: {
5638
- id: string;
5639
- description: string | null;
5640
- createdAt: Date;
5641
- updatedAt: Date;
5642
- deletedAt: Date | null;
5643
- systemName: string;
5644
- displayName: string;
5645
- permissions: {
5646
- id: string;
5647
- description: string | null;
5648
- createdAt: Date;
5649
- updatedAt: Date;
5650
- deletedAt: Date | null;
5651
- systemName: string;
5652
- displayName: string;
5653
- }[];
5654
- }[];
5655
- extension: {
5656
- id: string;
5657
- createdAt: Date;
5658
- updatedAt: Date;
5659
- deletedAt: Date | null;
5660
- userId: string | null;
5661
- sipServerUrl: string;
5662
- sipUserName: string;
5663
- webphoneLoginUser: string;
5664
- extensionId: string | null;
5665
- extensionName: string;
5666
- telephonySignature: string | null;
5667
- };
5668
- } | null | undefined;
5669
- } | null | undefined;
5670
5573
  contact?: {
5671
5574
  name: string;
5672
5575
  id: string;
@@ -5801,6 +5704,63 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
5801
5704
  fileSize: number;
5802
5705
  fileUrl: string | null;
5803
5706
  } | null | undefined;
5707
+ extension?: {
5708
+ id: string;
5709
+ createdAt: Date;
5710
+ updatedAt: Date;
5711
+ deletedAt: Date | null;
5712
+ userId: string | null;
5713
+ sipServerUrl: string;
5714
+ sipUserName: string;
5715
+ webphoneLoginUser: string;
5716
+ extensionId: string | null;
5717
+ extensionName: string;
5718
+ telephonySignature: string | null;
5719
+ user?: {
5720
+ name: string;
5721
+ id: string;
5722
+ address: string | null;
5723
+ email: string;
5724
+ createdAt: Date;
5725
+ updatedAt: Date;
5726
+ deletedAt: Date | null;
5727
+ emailVerifiedAt: Date | null;
5728
+ password: string;
5729
+ phone: string | null;
5730
+ notificationCount: number | null;
5731
+ roles: {
5732
+ id: string;
5733
+ description: string | null;
5734
+ createdAt: Date;
5735
+ updatedAt: Date;
5736
+ deletedAt: Date | null;
5737
+ systemName: string;
5738
+ displayName: string;
5739
+ permissions: {
5740
+ id: string;
5741
+ description: string | null;
5742
+ createdAt: Date;
5743
+ updatedAt: Date;
5744
+ deletedAt: Date | null;
5745
+ systemName: string;
5746
+ displayName: string;
5747
+ }[];
5748
+ }[];
5749
+ extension: {
5750
+ id: string;
5751
+ createdAt: Date;
5752
+ updatedAt: Date;
5753
+ deletedAt: Date | null;
5754
+ userId: string | null;
5755
+ sipServerUrl: string;
5756
+ sipUserName: string;
5757
+ webphoneLoginUser: string;
5758
+ extensionId: string | null;
5759
+ extensionName: string;
5760
+ telephonySignature: string | null;
5761
+ };
5762
+ } | null | undefined;
5763
+ } | null | undefined;
5804
5764
  }>>;
5805
5765
  queue: z.ZodNullable<z.ZodObject<{
5806
5766
  queueName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5820,14 +5780,13 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
5820
5780
  notes: z.ZodNullable<z.ZodString>;
5821
5781
  contactProfile: z.ZodNullable<z.ZodString>;
5822
5782
  socialProfileUrl: z.ZodNullable<z.ZodString>;
5823
- tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5783
+ tags: z.ZodArray<z.ZodObject<{
5824
5784
  id: z.ZodString;
5825
5785
  createdAt: z.ZodDate;
5826
5786
  updatedAt: z.ZodDate;
5827
5787
  deletedAt: z.ZodNullable<z.ZodDate>;
5828
- }, {
5829
5788
  name: z.ZodString;
5830
- }>, "strip", z.ZodTypeAny, {
5789
+ }, "strip", z.ZodTypeAny, {
5831
5790
  name: string;
5832
5791
  id: string;
5833
5792
  createdAt: Date;
@@ -5840,32 +5799,29 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
5840
5799
  updatedAt: Date;
5841
5800
  deletedAt: Date | null;
5842
5801
  }>, "many">;
5843
- company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
5802
+ company: z.ZodNullable<z.ZodObject<Omit<{
5844
5803
  id: z.ZodString;
5845
5804
  createdAt: z.ZodDate;
5846
5805
  updatedAt: z.ZodDate;
5847
5806
  deletedAt: z.ZodNullable<z.ZodDate>;
5848
- }, {
5849
5807
  name: z.ZodOptional<z.ZodString>;
5850
5808
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5851
5809
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5852
5810
  industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5853
- customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5811
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
5854
5812
  id: z.ZodString;
5855
5813
  createdAt: z.ZodDate;
5856
5814
  updatedAt: z.ZodDate;
5857
5815
  deletedAt: z.ZodNullable<z.ZodDate>;
5858
- }, {
5859
5816
  textValue: z.ZodNullable<z.ZodString>;
5860
5817
  booleanValue: z.ZodNullable<z.ZodBoolean>;
5861
5818
  numberValue: z.ZodNullable<z.ZodNumber>;
5862
5819
  dateValue: z.ZodNullable<z.ZodDate>;
5863
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
5820
+ attribute: z.ZodObject<Omit<{
5864
5821
  id: z.ZodString;
5865
5822
  createdAt: z.ZodDate;
5866
5823
  updatedAt: z.ZodDate;
5867
5824
  deletedAt: z.ZodNullable<z.ZodDate>;
5868
- }, {
5869
5825
  systemName: z.ZodString;
5870
5826
  displayName: z.ZodString;
5871
5827
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -5874,14 +5830,13 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
5874
5830
  isArchived: z.ZodBoolean;
5875
5831
  isRequired: z.ZodBoolean;
5876
5832
  isUnique: z.ZodBoolean;
5877
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5878
- label: z.ZodString;
5833
+ options: z.ZodArray<z.ZodObject<{
5834
+ position: z.ZodNumber;
5879
5835
  value: z.ZodString;
5836
+ label: z.ZodString;
5880
5837
  isDefault: z.ZodBoolean;
5881
- position: z.ZodNumber;
5882
- }, {
5883
5838
  id: z.ZodString;
5884
- }>, "strip", z.ZodTypeAny, {
5839
+ }, "strip", z.ZodTypeAny, {
5885
5840
  id: string;
5886
5841
  position: number;
5887
5842
  value: string;
@@ -5894,15 +5849,14 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
5894
5849
  label: string;
5895
5850
  isDefault: boolean;
5896
5851
  }>, "many">;
5897
- group: z.ZodObject<z.objectUtil.extendShape<{
5852
+ group: z.ZodObject<{
5898
5853
  id: z.ZodString;
5899
5854
  createdAt: z.ZodDate;
5900
5855
  updatedAt: z.ZodDate;
5901
5856
  deletedAt: z.ZodNullable<z.ZodDate>;
5902
- }, {
5903
5857
  systemName: z.ZodString;
5904
5858
  displayName: z.ZodString;
5905
- }>, "strip", z.ZodTypeAny, {
5859
+ }, "strip", z.ZodTypeAny, {
5906
5860
  id: string;
5907
5861
  createdAt: Date;
5908
5862
  updatedAt: Date;
@@ -5917,7 +5871,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
5917
5871
  systemName: string;
5918
5872
  displayName: string;
5919
5873
  }>;
5920
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
5874
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
5921
5875
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
5922
5876
  id: string;
5923
5877
  position: number;
@@ -5944,7 +5898,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
5944
5898
  isRequired: boolean;
5945
5899
  isUnique: boolean;
5946
5900
  }>;
5947
- }>, "strip", z.ZodTypeAny, {
5901
+ }, "strip", z.ZodTypeAny, {
5948
5902
  id: string;
5949
5903
  createdAt: Date;
5950
5904
  updatedAt: Date;
@@ -5991,7 +5945,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
5991
5945
  numberValue: number | null;
5992
5946
  dateValue: Date | null;
5993
5947
  }>, "many">>;
5994
- }>, "customFields">, "strip", z.ZodTypeAny, {
5948
+ }, "customFields">, "strip", z.ZodTypeAny, {
5995
5949
  id: string;
5996
5950
  createdAt: Date;
5997
5951
  updatedAt: Date;
@@ -6072,12 +6026,11 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
6072
6026
  booleanValue: z.ZodNullable<z.ZodBoolean>;
6073
6027
  numberValue: z.ZodNullable<z.ZodNumber>;
6074
6028
  dateValue: z.ZodNullable<z.ZodDate>;
6075
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
6029
+ attribute: z.ZodObject<Omit<{
6076
6030
  id: z.ZodString;
6077
6031
  createdAt: z.ZodDate;
6078
6032
  updatedAt: z.ZodDate;
6079
6033
  deletedAt: z.ZodNullable<z.ZodDate>;
6080
- }, {
6081
6034
  systemName: z.ZodString;
6082
6035
  displayName: z.ZodString;
6083
6036
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -6086,14 +6039,13 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
6086
6039
  isArchived: z.ZodBoolean;
6087
6040
  isRequired: z.ZodBoolean;
6088
6041
  isUnique: z.ZodBoolean;
6089
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
6090
- label: z.ZodString;
6042
+ options: z.ZodArray<z.ZodObject<{
6043
+ position: z.ZodNumber;
6091
6044
  value: z.ZodString;
6045
+ label: z.ZodString;
6092
6046
  isDefault: z.ZodBoolean;
6093
- position: z.ZodNumber;
6094
- }, {
6095
6047
  id: z.ZodString;
6096
- }>, "strip", z.ZodTypeAny, {
6048
+ }, "strip", z.ZodTypeAny, {
6097
6049
  id: string;
6098
6050
  position: number;
6099
6051
  value: string;
@@ -6106,15 +6058,14 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
6106
6058
  label: string;
6107
6059
  isDefault: boolean;
6108
6060
  }>, "many">;
6109
- group: z.ZodObject<z.objectUtil.extendShape<{
6061
+ group: z.ZodObject<{
6110
6062
  id: z.ZodString;
6111
6063
  createdAt: z.ZodDate;
6112
6064
  updatedAt: z.ZodDate;
6113
6065
  deletedAt: z.ZodNullable<z.ZodDate>;
6114
- }, {
6115
6066
  systemName: z.ZodString;
6116
6067
  displayName: z.ZodString;
6117
- }>, "strip", z.ZodTypeAny, {
6068
+ }, "strip", z.ZodTypeAny, {
6118
6069
  id: string;
6119
6070
  createdAt: Date;
6120
6071
  updatedAt: Date;
@@ -6129,7 +6080,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
6129
6080
  systemName: string;
6130
6081
  displayName: string;
6131
6082
  }>;
6132
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
6083
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
6133
6084
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
6134
6085
  id: string;
6135
6086
  position: number;
@@ -6156,19 +6107,18 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
6156
6107
  isRequired: boolean;
6157
6108
  isUnique: boolean;
6158
6109
  }>;
6159
- uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
6110
+ uploads: z.ZodArray<z.ZodObject<{
6160
6111
  id: z.ZodString;
6161
6112
  createdAt: z.ZodDate;
6162
6113
  updatedAt: z.ZodDate;
6163
6114
  deletedAt: z.ZodNullable<z.ZodDate>;
6164
- }, {
6165
6115
  bucketName: z.ZodString;
6166
6116
  fileName: z.ZodString;
6167
6117
  fileSize: z.ZodNumber;
6168
6118
  fileKey: z.ZodString;
6169
6119
  fileUrl: z.ZodNullable<z.ZodString>;
6170
6120
  status: z.ZodNullable<z.ZodString>;
6171
- }>, "strip", z.ZodTypeAny, {
6121
+ }, "strip", z.ZodTypeAny, {
6172
6122
  id: string;
6173
6123
  status: string | null;
6174
6124
  createdAt: Date;
@@ -6589,19 +6539,18 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
6589
6539
  };
6590
6540
  }[] | undefined;
6591
6541
  }>>;
6592
- firstAssignee: z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
6542
+ firstAssignee: z.ZodNullable<z.ZodObject<{
6543
+ name: z.ZodString;
6593
6544
  id: z.ZodString;
6545
+ address: z.ZodNullable<z.ZodString>;
6546
+ email: z.ZodString;
6594
6547
  createdAt: z.ZodDate;
6595
6548
  updatedAt: z.ZodDate;
6596
6549
  deletedAt: z.ZodNullable<z.ZodDate>;
6597
- name: z.ZodString;
6598
- email: z.ZodString;
6599
6550
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
6600
6551
  password: z.ZodString;
6601
- address: z.ZodNullable<z.ZodString>;
6602
6552
  phone: z.ZodNullable<z.ZodString>;
6603
6553
  notificationCount: z.ZodNullable<z.ZodNumber>;
6604
- }, {
6605
6554
  roles: z.ZodArray<z.ZodObject<{
6606
6555
  id: z.ZodString;
6607
6556
  createdAt: z.ZodDate;
@@ -6707,7 +6656,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
6707
6656
  extensionName: string;
6708
6657
  telephonySignature: string | null;
6709
6658
  }>;
6710
- }>, "strip", z.ZodTypeAny, {
6659
+ }, "strip", z.ZodTypeAny, {
6711
6660
  name: string;
6712
6661
  id: string;
6713
6662
  address: string | null;
@@ -6794,19 +6743,18 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
6794
6743
  telephonySignature: string | null;
6795
6744
  };
6796
6745
  }>>;
6797
- agent: z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
6746
+ agent: z.ZodNullable<z.ZodObject<{
6747
+ name: z.ZodString;
6798
6748
  id: z.ZodString;
6749
+ address: z.ZodNullable<z.ZodString>;
6750
+ email: z.ZodString;
6799
6751
  createdAt: z.ZodDate;
6800
6752
  updatedAt: z.ZodDate;
6801
6753
  deletedAt: z.ZodNullable<z.ZodDate>;
6802
- name: z.ZodString;
6803
- email: z.ZodString;
6804
6754
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
6805
6755
  password: z.ZodString;
6806
- address: z.ZodNullable<z.ZodString>;
6807
6756
  phone: z.ZodNullable<z.ZodString>;
6808
6757
  notificationCount: z.ZodNullable<z.ZodNumber>;
6809
- }, {
6810
6758
  roles: z.ZodArray<z.ZodObject<{
6811
6759
  id: z.ZodString;
6812
6760
  createdAt: z.ZodDate;
@@ -6912,7 +6860,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
6912
6860
  extensionName: string;
6913
6861
  telephonySignature: string | null;
6914
6862
  }>;
6915
- }>, "strip", z.ZodTypeAny, {
6863
+ }, "strip", z.ZodTypeAny, {
6916
6864
  name: string;
6917
6865
  id: string;
6918
6866
  address: string | null;
@@ -6999,19 +6947,18 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
6999
6947
  telephonySignature: string | null;
7000
6948
  };
7001
6949
  }>>;
7002
- closedAssignee: z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
6950
+ closedAssignee: z.ZodNullable<z.ZodObject<{
6951
+ name: z.ZodString;
7003
6952
  id: z.ZodString;
6953
+ address: z.ZodNullable<z.ZodString>;
6954
+ email: z.ZodString;
7004
6955
  createdAt: z.ZodDate;
7005
6956
  updatedAt: z.ZodDate;
7006
6957
  deletedAt: z.ZodNullable<z.ZodDate>;
7007
- name: z.ZodString;
7008
- email: z.ZodString;
7009
6958
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
7010
6959
  password: z.ZodString;
7011
- address: z.ZodNullable<z.ZodString>;
7012
6960
  phone: z.ZodNullable<z.ZodString>;
7013
6961
  notificationCount: z.ZodNullable<z.ZodNumber>;
7014
- }, {
7015
6962
  roles: z.ZodArray<z.ZodObject<{
7016
6963
  id: z.ZodString;
7017
6964
  createdAt: z.ZodDate;
@@ -7117,7 +7064,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
7117
7064
  extensionName: string;
7118
7065
  telephonySignature: string | null;
7119
7066
  }>;
7120
- }>, "strip", z.ZodTypeAny, {
7067
+ }, "strip", z.ZodTypeAny, {
7121
7068
  name: string;
7122
7069
  id: string;
7123
7070
  address: string | null;
@@ -7233,7 +7180,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
7233
7180
  usage: number;
7234
7181
  usageUnit: string;
7235
7182
  }>;
7236
- }>, "strip", z.ZodTypeAny, {
7183
+ }, "strip", z.ZodTypeAny, {
7237
7184
  id: string;
7238
7185
  channel: string | null;
7239
7186
  direction: string | null;
@@ -7438,24 +7385,24 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
7438
7385
  metadata: {
7439
7386
  name: string;
7440
7387
  id: string;
7388
+ accessToken?: string | undefined;
7389
+ channelSecret?: string | undefined;
7390
+ additionalCredentials?: any;
7391
+ senderId?: string | undefined;
7441
7392
  whatsapp?: {
7442
- email?: string | null | undefined;
7443
- status?: "active" | "pending" | "waapi-qr" | undefined;
7444
- channelId?: string | null | undefined;
7445
7393
  wabaBusinessId?: string | null | undefined;
7446
7394
  wabaExternalId?: string | null | undefined;
7447
7395
  phoneNumberId?: string | null | undefined;
7396
+ email?: string | null | undefined;
7448
7397
  clientId?: string | null | undefined;
7398
+ channelId?: string | null | undefined;
7449
7399
  waapiInstanceId?: string | null | undefined;
7450
7400
  qr?: string | null | undefined;
7401
+ status?: "active" | "pending" | "waapi-qr" | undefined;
7451
7402
  apiKey?: string | undefined;
7452
7403
  tier?: "basic" | "regular" | "premium" | undefined;
7453
7404
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
7454
7405
  } | undefined;
7455
- additionalCredentials?: any;
7456
- accessToken?: string | undefined;
7457
- channelSecret?: string | undefined;
7458
- senderId?: string | undefined;
7459
7406
  vonageCredentials?: {
7460
7407
  apiKey: string;
7461
7408
  mobileNumber: string;
@@ -7527,7 +7474,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
7527
7474
  integrationId: string;
7528
7475
  } | null;
7529
7476
  };
7530
- direction: string;
7477
+ direction: "incoming" | "outgoing" | "system";
7531
7478
  createdAt: Date;
7532
7479
  updatedAt: Date;
7533
7480
  deletedAt: Date | null;
@@ -7777,7 +7724,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
7777
7724
  uploadId: string | null;
7778
7725
  serialNumber: string | null;
7779
7726
  callParticipants: {
7780
- callFrom?: {
7727
+ callTo?: {
7781
7728
  id: string;
7782
7729
  user: {
7783
7730
  name: string;
@@ -7803,7 +7750,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
7803
7750
  createdAt?: string | undefined;
7804
7751
  updatedAt?: string | undefined;
7805
7752
  } | null | undefined;
7806
- callTo?: {
7753
+ callFrom?: {
7807
7754
  id: string;
7808
7755
  user: {
7809
7756
  name: string;
@@ -7833,63 +7780,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
7833
7780
  isQueueMissedCall: boolean;
7834
7781
  telephonyQueueId: string | null;
7835
7782
  contactId: string | null;
7836
- extension?: {
7837
- id: string;
7838
- createdAt: Date;
7839
- updatedAt: Date;
7840
- deletedAt: Date | null;
7841
- userId: string | null;
7842
- sipServerUrl: string;
7843
- sipUserName: string;
7844
- webphoneLoginUser: string;
7845
- extensionId: string | null;
7846
- extensionName: string;
7847
- telephonySignature: string | null;
7848
- user?: {
7849
- name: string;
7850
- id: string;
7851
- address: string | null;
7852
- email: string;
7853
- createdAt: Date;
7854
- updatedAt: Date;
7855
- deletedAt: Date | null;
7856
- emailVerifiedAt: Date | null;
7857
- password: string;
7858
- phone: string | null;
7859
- notificationCount: number | null;
7860
- roles: {
7861
- id: string;
7862
- description: string | null;
7863
- createdAt: Date;
7864
- updatedAt: Date;
7865
- deletedAt: Date | null;
7866
- systemName: string;
7867
- displayName: string;
7868
- permissions: {
7869
- id: string;
7870
- description: string | null;
7871
- createdAt: Date;
7872
- updatedAt: Date;
7873
- deletedAt: Date | null;
7874
- systemName: string;
7875
- displayName: string;
7876
- }[];
7877
- }[];
7878
- extension: {
7879
- id: string;
7880
- createdAt: Date;
7881
- updatedAt: Date;
7882
- deletedAt: Date | null;
7883
- userId: string | null;
7884
- sipServerUrl: string;
7885
- sipUserName: string;
7886
- webphoneLoginUser: string;
7887
- extensionId: string | null;
7888
- extensionName: string;
7889
- telephonySignature: string | null;
7890
- };
7891
- } | null | undefined;
7892
- } | null | undefined;
7893
7783
  contact?: {
7894
7784
  name: string;
7895
7785
  id: string;
@@ -8024,6 +7914,63 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
8024
7914
  fileSize: number;
8025
7915
  fileUrl: string | null;
8026
7916
  } | null | undefined;
7917
+ extension?: {
7918
+ id: string;
7919
+ createdAt: Date;
7920
+ updatedAt: Date;
7921
+ deletedAt: Date | null;
7922
+ userId: string | null;
7923
+ sipServerUrl: string;
7924
+ sipUserName: string;
7925
+ webphoneLoginUser: string;
7926
+ extensionId: string | null;
7927
+ extensionName: string;
7928
+ telephonySignature: string | null;
7929
+ user?: {
7930
+ name: string;
7931
+ id: string;
7932
+ address: string | null;
7933
+ email: string;
7934
+ createdAt: Date;
7935
+ updatedAt: Date;
7936
+ deletedAt: Date | null;
7937
+ emailVerifiedAt: Date | null;
7938
+ password: string;
7939
+ phone: string | null;
7940
+ notificationCount: number | null;
7941
+ roles: {
7942
+ id: string;
7943
+ description: string | null;
7944
+ createdAt: Date;
7945
+ updatedAt: Date;
7946
+ deletedAt: Date | null;
7947
+ systemName: string;
7948
+ displayName: string;
7949
+ permissions: {
7950
+ id: string;
7951
+ description: string | null;
7952
+ createdAt: Date;
7953
+ updatedAt: Date;
7954
+ deletedAt: Date | null;
7955
+ systemName: string;
7956
+ displayName: string;
7957
+ }[];
7958
+ }[];
7959
+ extension: {
7960
+ id: string;
7961
+ createdAt: Date;
7962
+ updatedAt: Date;
7963
+ deletedAt: Date | null;
7964
+ userId: string | null;
7965
+ sipServerUrl: string;
7966
+ sipUserName: string;
7967
+ webphoneLoginUser: string;
7968
+ extensionId: string | null;
7969
+ extensionName: string;
7970
+ telephonySignature: string | null;
7971
+ };
7972
+ } | null | undefined;
7973
+ } | null | undefined;
8027
7974
  } | null;
8028
7975
  queue: {
8029
7976
  queueName?: string | null | undefined;
@@ -8376,24 +8323,24 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
8376
8323
  metadata: {
8377
8324
  name: string;
8378
8325
  id: string;
8326
+ accessToken?: string | undefined;
8327
+ channelSecret?: string | undefined;
8328
+ additionalCredentials?: any;
8329
+ senderId?: string | undefined;
8379
8330
  whatsapp?: {
8380
- email?: string | null | undefined;
8381
- status?: "active" | "pending" | "waapi-qr" | undefined;
8382
- channelId?: string | null | undefined;
8383
8331
  wabaBusinessId?: string | null | undefined;
8384
8332
  wabaExternalId?: string | null | undefined;
8385
8333
  phoneNumberId?: string | null | undefined;
8334
+ email?: string | null | undefined;
8386
8335
  clientId?: string | null | undefined;
8336
+ channelId?: string | null | undefined;
8387
8337
  waapiInstanceId?: string | null | undefined;
8388
8338
  qr?: string | null | undefined;
8339
+ status?: "active" | "pending" | "waapi-qr" | undefined;
8389
8340
  apiKey?: string | undefined;
8390
8341
  tier?: "basic" | "regular" | "premium" | undefined;
8391
8342
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
8392
8343
  } | undefined;
8393
- additionalCredentials?: any;
8394
- accessToken?: string | undefined;
8395
- channelSecret?: string | undefined;
8396
- senderId?: string | undefined;
8397
8344
  vonageCredentials?: {
8398
8345
  apiKey: string;
8399
8346
  mobileNumber: string;
@@ -8465,7 +8412,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
8465
8412
  integrationId: string;
8466
8413
  } | null;
8467
8414
  };
8468
- direction: string;
8415
+ direction: "incoming" | "outgoing" | "system";
8469
8416
  createdAt: Date;
8470
8417
  updatedAt: Date;
8471
8418
  deletedAt: Date | null;
@@ -8715,7 +8662,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
8715
8662
  uploadId: string | null;
8716
8663
  serialNumber: string | null;
8717
8664
  callParticipants: {
8718
- callFrom?: {
8665
+ callTo?: {
8719
8666
  id: string;
8720
8667
  user: {
8721
8668
  name: string;
@@ -8741,7 +8688,7 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
8741
8688
  createdAt?: string | undefined;
8742
8689
  updatedAt?: string | undefined;
8743
8690
  } | null | undefined;
8744
- callTo?: {
8691
+ callFrom?: {
8745
8692
  id: string;
8746
8693
  user: {
8747
8694
  name: string;
@@ -8771,63 +8718,6 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
8771
8718
  isQueueMissedCall: boolean;
8772
8719
  telephonyQueueId: string | null;
8773
8720
  contactId: string | null;
8774
- extension?: {
8775
- id: string;
8776
- createdAt: Date;
8777
- updatedAt: Date;
8778
- deletedAt: Date | null;
8779
- userId: string | null;
8780
- sipServerUrl: string;
8781
- sipUserName: string;
8782
- webphoneLoginUser: string;
8783
- extensionId: string | null;
8784
- extensionName: string;
8785
- telephonySignature: string | null;
8786
- user?: {
8787
- name: string;
8788
- id: string;
8789
- address: string | null;
8790
- email: string;
8791
- createdAt: Date;
8792
- updatedAt: Date;
8793
- deletedAt: Date | null;
8794
- emailVerifiedAt: Date | null;
8795
- password: string;
8796
- phone: string | null;
8797
- notificationCount: number | null;
8798
- roles: {
8799
- id: string;
8800
- description: string | null;
8801
- createdAt: Date;
8802
- updatedAt: Date;
8803
- deletedAt: Date | null;
8804
- systemName: string;
8805
- displayName: string;
8806
- permissions: {
8807
- id: string;
8808
- description: string | null;
8809
- createdAt: Date;
8810
- updatedAt: Date;
8811
- deletedAt: Date | null;
8812
- systemName: string;
8813
- displayName: string;
8814
- }[];
8815
- }[];
8816
- extension: {
8817
- id: string;
8818
- createdAt: Date;
8819
- updatedAt: Date;
8820
- deletedAt: Date | null;
8821
- userId: string | null;
8822
- sipServerUrl: string;
8823
- sipUserName: string;
8824
- webphoneLoginUser: string;
8825
- extensionId: string | null;
8826
- extensionName: string;
8827
- telephonySignature: string | null;
8828
- };
8829
- } | null | undefined;
8830
- } | null | undefined;
8831
8721
  contact?: {
8832
8722
  name: string;
8833
8723
  id: string;
@@ -8962,6 +8852,63 @@ export declare const CxLogSchemaWithRelations: z.ZodObject<z.objectUtil.extendSh
8962
8852
  fileSize: number;
8963
8853
  fileUrl: string | null;
8964
8854
  } | null | undefined;
8855
+ extension?: {
8856
+ id: string;
8857
+ createdAt: Date;
8858
+ updatedAt: Date;
8859
+ deletedAt: Date | null;
8860
+ userId: string | null;
8861
+ sipServerUrl: string;
8862
+ sipUserName: string;
8863
+ webphoneLoginUser: string;
8864
+ extensionId: string | null;
8865
+ extensionName: string;
8866
+ telephonySignature: string | null;
8867
+ user?: {
8868
+ name: string;
8869
+ id: string;
8870
+ address: string | null;
8871
+ email: string;
8872
+ createdAt: Date;
8873
+ updatedAt: Date;
8874
+ deletedAt: Date | null;
8875
+ emailVerifiedAt: Date | null;
8876
+ password: string;
8877
+ phone: string | null;
8878
+ notificationCount: number | null;
8879
+ roles: {
8880
+ id: string;
8881
+ description: string | null;
8882
+ createdAt: Date;
8883
+ updatedAt: Date;
8884
+ deletedAt: Date | null;
8885
+ systemName: string;
8886
+ displayName: string;
8887
+ permissions: {
8888
+ id: string;
8889
+ description: string | null;
8890
+ createdAt: Date;
8891
+ updatedAt: Date;
8892
+ deletedAt: Date | null;
8893
+ systemName: string;
8894
+ displayName: string;
8895
+ }[];
8896
+ }[];
8897
+ extension: {
8898
+ id: string;
8899
+ createdAt: Date;
8900
+ updatedAt: Date;
8901
+ deletedAt: Date | null;
8902
+ userId: string | null;
8903
+ sipServerUrl: string;
8904
+ sipUserName: string;
8905
+ webphoneLoginUser: string;
8906
+ extensionId: string | null;
8907
+ extensionName: string;
8908
+ telephonySignature: string | null;
8909
+ };
8910
+ } | null | undefined;
8911
+ } | null | undefined;
8965
8912
  } | null;
8966
8913
  queue: {
8967
8914
  queueName?: string | null | undefined;