@kl1/contracts 1.3.8 → 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
@@ -35,104 +35,85 @@ export declare const cxLogContract: {
35
35
  value: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
36
36
  type: z.ZodOptional<z.ZodString>;
37
37
  }, "strip", z.ZodTypeAny, {
38
- value: string | string[];
38
+ value: (string | string[]) & (string | string[] | undefined);
39
39
  attributeId: string;
40
40
  type?: string | undefined;
41
41
  }, {
42
- value: string | string[];
42
+ value: (string | string[]) & (string | string[] | undefined);
43
43
  attributeId: string;
44
44
  type?: string | undefined;
45
45
  }>, "many">>;
46
46
  selectedDate: z.ZodOptional<z.ZodString>;
47
47
  }, "strip", z.ZodTypeAny, {
48
- name?: string | undefined;
49
- channel?: string[] | undefined;
50
- address?: string | undefined;
51
- disposition?: string[] | undefined;
52
- direction?: ("inbound" | "outbound")[] | undefined;
53
48
  page?: number | undefined;
54
- email?: string | undefined;
55
49
  pageSize?: number | undefined;
56
- phone?: string | undefined;
57
- customFields?: {
58
- value: string | string[];
59
- attributeId: string;
60
- type?: string | undefined;
61
- }[] | undefined;
62
- company?: string[] | undefined;
63
- notes?: string | undefined;
64
- tags?: string[] | undefined;
65
- sentimentScore?: ("negative" | "positive" | "neutral")[] | undefined;
66
- csatScore?: string[] | undefined;
67
- queueId?: string[] | undefined;
68
50
  contactId?: string | undefined;
69
- trunks?: string[] | undefined;
70
51
  caseId?: string | undefined;
71
- selectedDate?: string | undefined;
72
52
  channelIds?: string[] | undefined;
53
+ trunks?: string[] | undefined;
54
+ queueId?: string[] | undefined;
73
55
  agentIds?: string[] | undefined;
56
+ direction?: ("inbound" | "outbound")[] | undefined;
57
+ disposition?: string[] | undefined;
58
+ sentimentScore?: ("negative" | "positive" | "neutral")[] | undefined;
59
+ csatScore?: string[] | undefined;
74
60
  sla?: "meet" | "unmeet" | undefined;
75
- contactLabels?: string[] | undefined;
76
- }, {
61
+ tags?: string[] | undefined;
77
62
  name?: string | undefined;
78
- channel?: string[] | undefined;
79
- address?: string | undefined;
80
- disposition?: string[] | undefined;
81
- direction?: ("inbound" | "outbound")[] | undefined;
82
- page?: number | undefined;
63
+ contactLabels?: string[] | undefined;
83
64
  email?: string | undefined;
84
- pageSize?: number | undefined;
65
+ channel?: string[] | undefined;
85
66
  phone?: string | undefined;
67
+ notes?: string | undefined;
68
+ address?: string | undefined;
69
+ company?: string[] | undefined;
86
70
  customFields?: {
87
- value: string | string[];
71
+ value: (string | string[]) & (string | string[] | undefined);
88
72
  attributeId: string;
89
73
  type?: string | undefined;
90
74
  }[] | undefined;
91
- company?: string[] | undefined;
92
- notes?: string | undefined;
93
- tags?: string[] | undefined;
94
- sentimentScore?: ("negative" | "positive" | "neutral")[] | undefined;
95
- csatScore?: string[] | undefined;
96
- queueId?: string[] | undefined;
75
+ selectedDate?: string | undefined;
76
+ }, {
77
+ page?: number | undefined;
78
+ pageSize?: number | undefined;
97
79
  contactId?: string | undefined;
98
- trunks?: string[] | undefined;
99
80
  caseId?: string | undefined;
100
- selectedDate?: string | undefined;
101
81
  channelIds?: string[] | undefined;
82
+ trunks?: string[] | undefined;
83
+ queueId?: string[] | undefined;
102
84
  agentIds?: string[] | undefined;
85
+ direction?: ("inbound" | "outbound")[] | undefined;
86
+ disposition?: string[] | undefined;
87
+ sentimentScore?: ("negative" | "positive" | "neutral")[] | undefined;
88
+ csatScore?: string[] | undefined;
103
89
  sla?: "meet" | "unmeet" | undefined;
90
+ tags?: string[] | undefined;
91
+ name?: string | undefined;
104
92
  contactLabels?: string[] | undefined;
93
+ email?: string | undefined;
94
+ channel?: string[] | undefined;
95
+ phone?: string | undefined;
96
+ notes?: string | undefined;
97
+ address?: string | undefined;
98
+ company?: string[] | undefined;
99
+ customFields?: {
100
+ value: (string | string[]) & (string | string[] | undefined);
101
+ attributeId: string;
102
+ type?: string | undefined;
103
+ }[] | undefined;
104
+ selectedDate?: string | undefined;
105
105
  }>>;
106
- path: "ms/cx-logs";
107
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
108
- 'x-tenant': z.ZodString;
109
- 'x-service-token': z.ZodString;
110
- 'x-code': z.ZodOptional<z.ZodString>;
111
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
112
- }, "strip", z.ZodTypeAny, {
113
- 'x-tenant': string;
114
- 'x-service-token': string;
115
- 'x-client-timezone': string;
116
- 'x-code'?: string | undefined;
117
- }, {
118
- 'x-tenant': string;
119
- 'x-service-token': string;
120
- 'x-code'?: string | undefined;
121
- 'x-client-timezone'?: string | undefined;
122
- }>>>;
123
106
  responses: {
124
- 200: z.ZodObject<z.objectUtil.extendShape<{
107
+ 200: z.ZodObject<{
125
108
  requestId: z.ZodString;
126
- }, {
127
109
  total: z.ZodNumber;
128
110
  page: z.ZodNumber;
129
111
  pageSize: z.ZodNumber;
130
- cxLogs: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
112
+ cxLogs: z.ZodArray<z.ZodObject<{
131
113
  id: z.ZodString;
132
114
  createdAt: z.ZodDate;
133
115
  updatedAt: z.ZodDate;
134
116
  deletedAt: z.ZodNullable<z.ZodDate>;
135
- }, {
136
117
  caseId: z.ZodNumber;
137
118
  entityId: z.ZodString;
138
119
  entityName: z.ZodString;
@@ -151,16 +132,15 @@ export declare const cxLogContract: {
151
132
  resolutionDate: z.ZodString;
152
133
  wrapUpDuration: z.ZodString;
153
134
  slaMeet: z.ZodNullable<z.ZodString>;
154
- evaluateForm: z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
135
+ evaluateForm: z.ZodNullable<z.ZodObject<{
155
136
  id: z.ZodString;
156
137
  createdAt: z.ZodDate;
157
138
  updatedAt: z.ZodDate;
158
139
  deletedAt: z.ZodNullable<z.ZodDate>;
159
- }, {
160
140
  cxLogId: z.ZodString;
161
141
  sentimentScore: z.ZodOptional<z.ZodNullable<z.ZodString>>;
162
142
  csatScore: z.ZodOptional<z.ZodNullable<z.ZodString>>;
163
- }>, "strip", z.ZodTypeAny, {
143
+ }, "strip", z.ZodTypeAny, {
164
144
  id: string;
165
145
  createdAt: Date;
166
146
  updatedAt: Date;
@@ -177,23 +157,21 @@ export declare const cxLogContract: {
177
157
  sentimentScore?: string | null | undefined;
178
158
  csatScore?: string | null | undefined;
179
159
  }>>;
180
- wrapUpForm: z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
160
+ wrapUpForm: z.ZodNullable<z.ZodObject<{
181
161
  id: z.ZodString;
182
162
  createdAt: z.ZodDate;
183
163
  updatedAt: z.ZodDate;
184
164
  deletedAt: z.ZodNullable<z.ZodDate>;
185
- }, {
186
165
  note: z.ZodNullable<z.ZodString>;
187
166
  disposition: z.ZodNullable<z.ZodString>;
188
167
  type: z.ZodString;
189
- tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
168
+ tags: z.ZodArray<z.ZodObject<{
190
169
  id: z.ZodString;
191
170
  createdAt: z.ZodDate;
192
171
  updatedAt: z.ZodDate;
193
172
  deletedAt: z.ZodNullable<z.ZodDate>;
194
- }, {
195
173
  name: z.ZodString;
196
- }>, "strip", z.ZodTypeAny, {
174
+ }, "strip", z.ZodTypeAny, {
197
175
  name: string;
198
176
  id: string;
199
177
  createdAt: Date;
@@ -206,12 +184,11 @@ export declare const cxLogContract: {
206
184
  updatedAt: Date;
207
185
  deletedAt: Date | null;
208
186
  }>, "many">;
209
- categories: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
187
+ categories: z.ZodArray<z.ZodObject<{
210
188
  id: z.ZodString;
211
189
  createdAt: z.ZodDate;
212
190
  updatedAt: z.ZodDate;
213
191
  deletedAt: z.ZodNullable<z.ZodDate>;
214
- }, {
215
192
  value: z.ZodString;
216
193
  level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
217
194
  parentId: z.ZodNullable<z.ZodString>;
@@ -264,7 +241,7 @@ export declare const cxLogContract: {
264
241
  childCategoryList: any[];
265
242
  }[];
266
243
  }>, "many">;
267
- }>, "strip", z.ZodTypeAny, {
244
+ }, "strip", z.ZodTypeAny, {
268
245
  id: string;
269
246
  value: string;
270
247
  createdAt: Date;
@@ -343,7 +320,7 @@ export declare const cxLogContract: {
343
320
  numberValue: number | null;
344
321
  dateValue: Date | null;
345
322
  }>, "many">>>;
346
- }>, "strip", z.ZodTypeAny, {
323
+ }, "strip", z.ZodTypeAny, {
347
324
  type: string;
348
325
  id: string;
349
326
  disposition: string | null;
@@ -458,7 +435,7 @@ export declare const cxLogContract: {
458
435
  firstResponseAt: z.ZodDate;
459
436
  firstResponseTime: z.ZodNumber;
460
437
  isLatest: z.ZodBoolean;
461
- direction: z.ZodEnum<[string, ...string[]]>;
438
+ direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
462
439
  platformContact: z.ZodObject<{
463
440
  id: z.ZodString;
464
441
  createdAt: z.ZodDate;
@@ -494,14 +471,13 @@ export declare const cxLogContract: {
494
471
  notes: z.ZodNullable<z.ZodString>;
495
472
  contactProfile: z.ZodNullable<z.ZodString>;
496
473
  socialProfileUrl: z.ZodNullable<z.ZodString>;
497
- tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
474
+ tags: z.ZodArray<z.ZodObject<{
498
475
  id: z.ZodString;
499
476
  createdAt: z.ZodDate;
500
477
  updatedAt: z.ZodDate;
501
478
  deletedAt: z.ZodNullable<z.ZodDate>;
502
- }, {
503
479
  name: z.ZodString;
504
- }>, "strip", z.ZodTypeAny, {
480
+ }, "strip", z.ZodTypeAny, {
505
481
  name: string;
506
482
  id: string;
507
483
  createdAt: Date;
@@ -514,32 +490,29 @@ export declare const cxLogContract: {
514
490
  updatedAt: Date;
515
491
  deletedAt: Date | null;
516
492
  }>, "many">;
517
- company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
493
+ company: z.ZodNullable<z.ZodObject<Omit<{
518
494
  id: z.ZodString;
519
495
  createdAt: z.ZodDate;
520
496
  updatedAt: z.ZodDate;
521
497
  deletedAt: z.ZodNullable<z.ZodDate>;
522
- }, {
523
498
  name: z.ZodOptional<z.ZodString>;
524
499
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
525
500
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
526
501
  industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
527
- customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
502
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
528
503
  id: z.ZodString;
529
504
  createdAt: z.ZodDate;
530
505
  updatedAt: z.ZodDate;
531
506
  deletedAt: z.ZodNullable<z.ZodDate>;
532
- }, {
533
507
  textValue: z.ZodNullable<z.ZodString>;
534
508
  booleanValue: z.ZodNullable<z.ZodBoolean>;
535
509
  numberValue: z.ZodNullable<z.ZodNumber>;
536
510
  dateValue: z.ZodNullable<z.ZodDate>;
537
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
511
+ attribute: z.ZodObject<Omit<{
538
512
  id: z.ZodString;
539
513
  createdAt: z.ZodDate;
540
514
  updatedAt: z.ZodDate;
541
515
  deletedAt: z.ZodNullable<z.ZodDate>;
542
- }, {
543
516
  systemName: z.ZodString;
544
517
  displayName: z.ZodString;
545
518
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -548,14 +521,13 @@ export declare const cxLogContract: {
548
521
  isArchived: z.ZodBoolean;
549
522
  isRequired: z.ZodBoolean;
550
523
  isUnique: z.ZodBoolean;
551
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
552
- label: z.ZodString;
524
+ options: z.ZodArray<z.ZodObject<{
525
+ position: z.ZodNumber;
553
526
  value: z.ZodString;
527
+ label: z.ZodString;
554
528
  isDefault: z.ZodBoolean;
555
- position: z.ZodNumber;
556
- }, {
557
529
  id: z.ZodString;
558
- }>, "strip", z.ZodTypeAny, {
530
+ }, "strip", z.ZodTypeAny, {
559
531
  id: string;
560
532
  position: number;
561
533
  value: string;
@@ -568,15 +540,14 @@ export declare const cxLogContract: {
568
540
  label: string;
569
541
  isDefault: boolean;
570
542
  }>, "many">;
571
- group: z.ZodObject<z.objectUtil.extendShape<{
543
+ group: z.ZodObject<{
572
544
  id: z.ZodString;
573
545
  createdAt: z.ZodDate;
574
546
  updatedAt: z.ZodDate;
575
547
  deletedAt: z.ZodNullable<z.ZodDate>;
576
- }, {
577
548
  systemName: z.ZodString;
578
549
  displayName: z.ZodString;
579
- }>, "strip", z.ZodTypeAny, {
550
+ }, "strip", z.ZodTypeAny, {
580
551
  id: string;
581
552
  createdAt: Date;
582
553
  updatedAt: Date;
@@ -591,7 +562,7 @@ export declare const cxLogContract: {
591
562
  systemName: string;
592
563
  displayName: string;
593
564
  }>;
594
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
565
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
595
566
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
596
567
  id: string;
597
568
  position: number;
@@ -618,7 +589,7 @@ export declare const cxLogContract: {
618
589
  isRequired: boolean;
619
590
  isUnique: boolean;
620
591
  }>;
621
- }>, "strip", z.ZodTypeAny, {
592
+ }, "strip", z.ZodTypeAny, {
622
593
  id: string;
623
594
  createdAt: Date;
624
595
  updatedAt: Date;
@@ -665,7 +636,7 @@ export declare const cxLogContract: {
665
636
  numberValue: number | null;
666
637
  dateValue: Date | null;
667
638
  }>, "many">>;
668
- }>, "customFields">, "strip", z.ZodTypeAny, {
639
+ }, "customFields">, "strip", z.ZodTypeAny, {
669
640
  id: string;
670
641
  createdAt: Date;
671
642
  updatedAt: Date;
@@ -746,12 +717,11 @@ export declare const cxLogContract: {
746
717
  booleanValue: z.ZodNullable<z.ZodBoolean>;
747
718
  numberValue: z.ZodNullable<z.ZodNumber>;
748
719
  dateValue: z.ZodNullable<z.ZodDate>;
749
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
720
+ attribute: z.ZodObject<Omit<{
750
721
  id: z.ZodString;
751
722
  createdAt: z.ZodDate;
752
723
  updatedAt: z.ZodDate;
753
724
  deletedAt: z.ZodNullable<z.ZodDate>;
754
- }, {
755
725
  systemName: z.ZodString;
756
726
  displayName: z.ZodString;
757
727
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -760,14 +730,13 @@ export declare const cxLogContract: {
760
730
  isArchived: z.ZodBoolean;
761
731
  isRequired: z.ZodBoolean;
762
732
  isUnique: z.ZodBoolean;
763
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
764
- label: z.ZodString;
733
+ options: z.ZodArray<z.ZodObject<{
734
+ position: z.ZodNumber;
765
735
  value: z.ZodString;
736
+ label: z.ZodString;
766
737
  isDefault: z.ZodBoolean;
767
- position: z.ZodNumber;
768
- }, {
769
738
  id: z.ZodString;
770
- }>, "strip", z.ZodTypeAny, {
739
+ }, "strip", z.ZodTypeAny, {
771
740
  id: string;
772
741
  position: number;
773
742
  value: string;
@@ -780,15 +749,14 @@ export declare const cxLogContract: {
780
749
  label: string;
781
750
  isDefault: boolean;
782
751
  }>, "many">;
783
- group: z.ZodObject<z.objectUtil.extendShape<{
752
+ group: z.ZodObject<{
784
753
  id: z.ZodString;
785
754
  createdAt: z.ZodDate;
786
755
  updatedAt: z.ZodDate;
787
756
  deletedAt: z.ZodNullable<z.ZodDate>;
788
- }, {
789
757
  systemName: z.ZodString;
790
758
  displayName: z.ZodString;
791
- }>, "strip", z.ZodTypeAny, {
759
+ }, "strip", z.ZodTypeAny, {
792
760
  id: string;
793
761
  createdAt: Date;
794
762
  updatedAt: Date;
@@ -803,7 +771,7 @@ export declare const cxLogContract: {
803
771
  systemName: string;
804
772
  displayName: string;
805
773
  }>;
806
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
774
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
807
775
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
808
776
  id: string;
809
777
  position: number;
@@ -830,19 +798,18 @@ export declare const cxLogContract: {
830
798
  isRequired: boolean;
831
799
  isUnique: boolean;
832
800
  }>;
833
- uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
801
+ uploads: z.ZodArray<z.ZodObject<{
834
802
  id: z.ZodString;
835
803
  createdAt: z.ZodDate;
836
804
  updatedAt: z.ZodDate;
837
805
  deletedAt: z.ZodNullable<z.ZodDate>;
838
- }, {
839
806
  bucketName: z.ZodString;
840
807
  fileName: z.ZodString;
841
808
  fileSize: z.ZodNumber;
842
809
  fileKey: z.ZodString;
843
810
  fileUrl: z.ZodNullable<z.ZodString>;
844
811
  status: z.ZodNullable<z.ZodString>;
845
- }>, "strip", z.ZodTypeAny, {
812
+ }, "strip", z.ZodTypeAny, {
846
813
  id: string;
847
814
  status: string | null;
848
815
  createdAt: Date;
@@ -1516,19 +1483,18 @@ export declare const cxLogContract: {
1516
1483
  channelId: string;
1517
1484
  socialPlatformId: string;
1518
1485
  }>;
1519
- actor: z.ZodObject<z.objectUtil.extendShape<{
1486
+ actor: z.ZodObject<{
1487
+ name: z.ZodString;
1520
1488
  id: z.ZodString;
1489
+ address: z.ZodNullable<z.ZodString>;
1490
+ email: z.ZodString;
1521
1491
  createdAt: z.ZodDate;
1522
1492
  updatedAt: z.ZodDate;
1523
1493
  deletedAt: z.ZodNullable<z.ZodDate>;
1524
- name: z.ZodString;
1525
- email: z.ZodString;
1526
1494
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
1527
1495
  password: z.ZodString;
1528
- address: z.ZodNullable<z.ZodString>;
1529
1496
  phone: z.ZodNullable<z.ZodString>;
1530
1497
  notificationCount: z.ZodNullable<z.ZodNumber>;
1531
- }, {
1532
1498
  roles: z.ZodArray<z.ZodObject<{
1533
1499
  id: z.ZodString;
1534
1500
  createdAt: z.ZodDate;
@@ -1634,7 +1600,7 @@ export declare const cxLogContract: {
1634
1600
  extensionName: string;
1635
1601
  telephonySignature: string | null;
1636
1602
  }>;
1637
- }>, "strip", z.ZodTypeAny, {
1603
+ }, "strip", z.ZodTypeAny, {
1638
1604
  name: string;
1639
1605
  id: string;
1640
1606
  address: string | null;
@@ -1721,19 +1687,18 @@ export declare const cxLogContract: {
1721
1687
  telephonySignature: string | null;
1722
1688
  };
1723
1689
  }>;
1724
- assignee: z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
1690
+ assignee: z.ZodNullable<z.ZodObject<{
1691
+ name: z.ZodString;
1725
1692
  id: z.ZodString;
1693
+ address: z.ZodNullable<z.ZodString>;
1694
+ email: z.ZodString;
1726
1695
  createdAt: z.ZodDate;
1727
1696
  updatedAt: z.ZodDate;
1728
1697
  deletedAt: z.ZodNullable<z.ZodDate>;
1729
- name: z.ZodString;
1730
- email: z.ZodString;
1731
1698
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
1732
1699
  password: z.ZodString;
1733
- address: z.ZodNullable<z.ZodString>;
1734
1700
  phone: z.ZodNullable<z.ZodString>;
1735
1701
  notificationCount: z.ZodNullable<z.ZodNumber>;
1736
- }, {
1737
1702
  roles: z.ZodArray<z.ZodObject<{
1738
1703
  id: z.ZodString;
1739
1704
  createdAt: z.ZodDate;
@@ -1839,7 +1804,7 @@ export declare const cxLogContract: {
1839
1804
  extensionName: string;
1840
1805
  telephonySignature: string | null;
1841
1806
  }>;
1842
- }>, "strip", z.ZodTypeAny, {
1807
+ }, "strip", z.ZodTypeAny, {
1843
1808
  name: string;
1844
1809
  id: string;
1845
1810
  address: string | null;
@@ -1954,28 +1919,28 @@ export declare const cxLogContract: {
1954
1919
  tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
1955
1920
  integrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"meta">, z.ZodLiteral<"360dialog">, z.ZodLiteral<"waapi">]>>;
1956
1921
  }, "strip", z.ZodTypeAny, {
1957
- email?: string | null | undefined;
1958
- status?: "active" | "pending" | "waapi-qr" | undefined;
1959
- channelId?: string | null | undefined;
1960
1922
  wabaBusinessId?: string | null | undefined;
1961
1923
  wabaExternalId?: string | null | undefined;
1962
1924
  phoneNumberId?: string | null | undefined;
1925
+ email?: string | null | undefined;
1963
1926
  clientId?: string | null | undefined;
1927
+ channelId?: string | null | undefined;
1964
1928
  waapiInstanceId?: string | null | undefined;
1965
1929
  qr?: string | null | undefined;
1930
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1966
1931
  apiKey?: string | undefined;
1967
1932
  tier?: "basic" | "regular" | "premium" | undefined;
1968
1933
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
1969
1934
  }, {
1970
- email?: string | null | undefined;
1971
- status?: "active" | "pending" | "waapi-qr" | undefined;
1972
- channelId?: string | null | undefined;
1973
1935
  wabaBusinessId?: string | null | undefined;
1974
1936
  wabaExternalId?: string | null | undefined;
1975
1937
  phoneNumberId?: string | null | undefined;
1938
+ email?: string | null | undefined;
1976
1939
  clientId?: string | null | undefined;
1940
+ channelId?: string | null | undefined;
1977
1941
  waapiInstanceId?: string | null | undefined;
1978
1942
  qr?: string | null | undefined;
1943
+ status?: "active" | "pending" | "waapi-qr" | undefined;
1979
1944
  apiKey?: string | undefined;
1980
1945
  tier?: "basic" | "regular" | "premium" | undefined;
1981
1946
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
@@ -2000,24 +1965,24 @@ export declare const cxLogContract: {
2000
1965
  }, "strip", z.ZodTypeAny, {
2001
1966
  name: string;
2002
1967
  id: string;
1968
+ accessToken?: string | undefined;
1969
+ channelSecret?: string | undefined;
1970
+ additionalCredentials?: any;
1971
+ senderId?: string | undefined;
2003
1972
  whatsapp?: {
2004
- email?: string | null | undefined;
2005
- status?: "active" | "pending" | "waapi-qr" | undefined;
2006
- channelId?: string | null | undefined;
2007
1973
  wabaBusinessId?: string | null | undefined;
2008
1974
  wabaExternalId?: string | null | undefined;
2009
1975
  phoneNumberId?: string | null | undefined;
1976
+ email?: string | null | undefined;
2010
1977
  clientId?: string | null | undefined;
1978
+ channelId?: string | null | undefined;
2011
1979
  waapiInstanceId?: string | null | undefined;
2012
1980
  qr?: string | null | undefined;
1981
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2013
1982
  apiKey?: string | undefined;
2014
1983
  tier?: "basic" | "regular" | "premium" | undefined;
2015
1984
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2016
1985
  } | undefined;
2017
- additionalCredentials?: any;
2018
- accessToken?: string | undefined;
2019
- channelSecret?: string | undefined;
2020
- senderId?: string | undefined;
2021
1986
  vonageCredentials?: {
2022
1987
  apiKey: string;
2023
1988
  mobileNumber: string;
@@ -2030,24 +1995,24 @@ export declare const cxLogContract: {
2030
1995
  }, {
2031
1996
  name: string;
2032
1997
  id: string;
1998
+ accessToken?: string | undefined;
1999
+ channelSecret?: string | undefined;
2000
+ additionalCredentials?: any;
2001
+ senderId?: string | undefined;
2033
2002
  whatsapp?: {
2034
- email?: string | null | undefined;
2035
- status?: "active" | "pending" | "waapi-qr" | undefined;
2036
- channelId?: string | null | undefined;
2037
2003
  wabaBusinessId?: string | null | undefined;
2038
2004
  wabaExternalId?: string | null | undefined;
2039
2005
  phoneNumberId?: string | null | undefined;
2006
+ email?: string | null | undefined;
2040
2007
  clientId?: string | null | undefined;
2008
+ channelId?: string | null | undefined;
2041
2009
  waapiInstanceId?: string | null | undefined;
2042
2010
  qr?: string | null | undefined;
2011
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2043
2012
  apiKey?: string | undefined;
2044
2013
  tier?: "basic" | "regular" | "premium" | undefined;
2045
2014
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2046
2015
  } | undefined;
2047
- additionalCredentials?: any;
2048
- accessToken?: string | undefined;
2049
- channelSecret?: string | undefined;
2050
- senderId?: string | undefined;
2051
2016
  vonageCredentials?: {
2052
2017
  apiKey: string;
2053
2018
  mobileNumber: string;
@@ -2294,24 +2259,24 @@ export declare const cxLogContract: {
2294
2259
  metadata: {
2295
2260
  name: string;
2296
2261
  id: string;
2262
+ accessToken?: string | undefined;
2263
+ channelSecret?: string | undefined;
2264
+ additionalCredentials?: any;
2265
+ senderId?: string | undefined;
2297
2266
  whatsapp?: {
2298
- email?: string | null | undefined;
2299
- status?: "active" | "pending" | "waapi-qr" | undefined;
2300
- channelId?: string | null | undefined;
2301
2267
  wabaBusinessId?: string | null | undefined;
2302
2268
  wabaExternalId?: string | null | undefined;
2303
2269
  phoneNumberId?: string | null | undefined;
2270
+ email?: string | null | undefined;
2304
2271
  clientId?: string | null | undefined;
2272
+ channelId?: string | null | undefined;
2305
2273
  waapiInstanceId?: string | null | undefined;
2306
2274
  qr?: string | null | undefined;
2275
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2307
2276
  apiKey?: string | undefined;
2308
2277
  tier?: "basic" | "regular" | "premium" | undefined;
2309
2278
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2310
2279
  } | undefined;
2311
- additionalCredentials?: any;
2312
- accessToken?: string | undefined;
2313
- channelSecret?: string | undefined;
2314
- senderId?: string | undefined;
2315
2280
  vonageCredentials?: {
2316
2281
  apiKey: string;
2317
2282
  mobileNumber: string;
@@ -2389,24 +2354,24 @@ export declare const cxLogContract: {
2389
2354
  metadata: {
2390
2355
  name: string;
2391
2356
  id: string;
2357
+ accessToken?: string | undefined;
2358
+ channelSecret?: string | undefined;
2359
+ additionalCredentials?: any;
2360
+ senderId?: string | undefined;
2392
2361
  whatsapp?: {
2393
- email?: string | null | undefined;
2394
- status?: "active" | "pending" | "waapi-qr" | undefined;
2395
- channelId?: string | null | undefined;
2396
2362
  wabaBusinessId?: string | null | undefined;
2397
2363
  wabaExternalId?: string | null | undefined;
2398
2364
  phoneNumberId?: string | null | undefined;
2365
+ email?: string | null | undefined;
2399
2366
  clientId?: string | null | undefined;
2367
+ channelId?: string | null | undefined;
2400
2368
  waapiInstanceId?: string | null | undefined;
2401
2369
  qr?: string | null | undefined;
2370
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2402
2371
  apiKey?: string | undefined;
2403
2372
  tier?: "basic" | "regular" | "premium" | undefined;
2404
2373
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2405
2374
  } | undefined;
2406
- additionalCredentials?: any;
2407
- accessToken?: string | undefined;
2408
- channelSecret?: string | undefined;
2409
- senderId?: string | undefined;
2410
2375
  vonageCredentials?: {
2411
2376
  apiKey: string;
2412
2377
  mobileNumber: string;
@@ -2487,24 +2452,24 @@ export declare const cxLogContract: {
2487
2452
  metadata: {
2488
2453
  name: string;
2489
2454
  id: string;
2455
+ accessToken?: string | undefined;
2456
+ channelSecret?: string | undefined;
2457
+ additionalCredentials?: any;
2458
+ senderId?: string | undefined;
2490
2459
  whatsapp?: {
2491
- email?: string | null | undefined;
2492
- status?: "active" | "pending" | "waapi-qr" | undefined;
2493
- channelId?: string | null | undefined;
2494
2460
  wabaBusinessId?: string | null | undefined;
2495
2461
  wabaExternalId?: string | null | undefined;
2496
2462
  phoneNumberId?: string | null | undefined;
2463
+ email?: string | null | undefined;
2497
2464
  clientId?: string | null | undefined;
2465
+ channelId?: string | null | undefined;
2498
2466
  waapiInstanceId?: string | null | undefined;
2499
2467
  qr?: string | null | undefined;
2468
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2500
2469
  apiKey?: string | undefined;
2501
2470
  tier?: "basic" | "regular" | "premium" | undefined;
2502
2471
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2503
2472
  } | undefined;
2504
- additionalCredentials?: any;
2505
- accessToken?: string | undefined;
2506
- channelSecret?: string | undefined;
2507
- senderId?: string | undefined;
2508
2473
  vonageCredentials?: {
2509
2474
  apiKey: string;
2510
2475
  mobileNumber: string;
@@ -2576,7 +2541,7 @@ export declare const cxLogContract: {
2576
2541
  integrationId: string;
2577
2542
  } | null;
2578
2543
  };
2579
- direction: string;
2544
+ direction: "incoming" | "outgoing" | "system";
2580
2545
  createdAt: Date;
2581
2546
  updatedAt: Date;
2582
2547
  deletedAt: Date | null;
@@ -2811,24 +2776,24 @@ export declare const cxLogContract: {
2811
2776
  metadata: {
2812
2777
  name: string;
2813
2778
  id: string;
2779
+ accessToken?: string | undefined;
2780
+ channelSecret?: string | undefined;
2781
+ additionalCredentials?: any;
2782
+ senderId?: string | undefined;
2814
2783
  whatsapp?: {
2815
- email?: string | null | undefined;
2816
- status?: "active" | "pending" | "waapi-qr" | undefined;
2817
- channelId?: string | null | undefined;
2818
2784
  wabaBusinessId?: string | null | undefined;
2819
2785
  wabaExternalId?: string | null | undefined;
2820
2786
  phoneNumberId?: string | null | undefined;
2787
+ email?: string | null | undefined;
2821
2788
  clientId?: string | null | undefined;
2789
+ channelId?: string | null | undefined;
2822
2790
  waapiInstanceId?: string | null | undefined;
2823
2791
  qr?: string | null | undefined;
2792
+ status?: "active" | "pending" | "waapi-qr" | undefined;
2824
2793
  apiKey?: string | undefined;
2825
2794
  tier?: "basic" | "regular" | "premium" | undefined;
2826
2795
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
2827
2796
  } | undefined;
2828
- additionalCredentials?: any;
2829
- accessToken?: string | undefined;
2830
- channelSecret?: string | undefined;
2831
- senderId?: string | undefined;
2832
2797
  vonageCredentials?: {
2833
2798
  apiKey: string;
2834
2799
  mobileNumber: string;
@@ -2900,7 +2865,7 @@ export declare const cxLogContract: {
2900
2865
  integrationId: string;
2901
2866
  } | null;
2902
2867
  };
2903
- direction: string;
2868
+ direction: "incoming" | "outgoing" | "system";
2904
2869
  createdAt: Date;
2905
2870
  updatedAt: Date;
2906
2871
  deletedAt: Date | null;
@@ -3127,12 +3092,11 @@ export declare const cxLogContract: {
3127
3092
  };
3128
3093
  } | null;
3129
3094
  }>>;
3130
- telephonyCdr: z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
3095
+ telephonyCdr: z.ZodNullable<z.ZodObject<{
3131
3096
  id: z.ZodString;
3132
3097
  createdAt: z.ZodDate;
3133
3098
  updatedAt: z.ZodDate;
3134
3099
  deletedAt: z.ZodNullable<z.ZodDate>;
3135
- }, {
3136
3100
  uniqueCallId: z.ZodString;
3137
3101
  timeStart: z.ZodString;
3138
3102
  callFrom: z.ZodString;
@@ -3152,14 +3116,13 @@ export declare const cxLogContract: {
3152
3116
  notes: z.ZodNullable<z.ZodString>;
3153
3117
  contactProfile: z.ZodNullable<z.ZodString>;
3154
3118
  socialProfileUrl: z.ZodNullable<z.ZodString>;
3155
- tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
3119
+ tags: z.ZodArray<z.ZodObject<{
3156
3120
  id: z.ZodString;
3157
3121
  createdAt: z.ZodDate;
3158
3122
  updatedAt: z.ZodDate;
3159
3123
  deletedAt: z.ZodNullable<z.ZodDate>;
3160
- }, {
3161
3124
  name: z.ZodString;
3162
- }>, "strip", z.ZodTypeAny, {
3125
+ }, "strip", z.ZodTypeAny, {
3163
3126
  name: string;
3164
3127
  id: string;
3165
3128
  createdAt: Date;
@@ -3172,32 +3135,29 @@ export declare const cxLogContract: {
3172
3135
  updatedAt: Date;
3173
3136
  deletedAt: Date | null;
3174
3137
  }>, "many">;
3175
- company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
3138
+ company: z.ZodNullable<z.ZodObject<Omit<{
3176
3139
  id: z.ZodString;
3177
3140
  createdAt: z.ZodDate;
3178
3141
  updatedAt: z.ZodDate;
3179
3142
  deletedAt: z.ZodNullable<z.ZodDate>;
3180
- }, {
3181
3143
  name: z.ZodOptional<z.ZodString>;
3182
3144
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3183
3145
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3184
3146
  industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3185
- customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
3147
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
3186
3148
  id: z.ZodString;
3187
3149
  createdAt: z.ZodDate;
3188
3150
  updatedAt: z.ZodDate;
3189
3151
  deletedAt: z.ZodNullable<z.ZodDate>;
3190
- }, {
3191
3152
  textValue: z.ZodNullable<z.ZodString>;
3192
3153
  booleanValue: z.ZodNullable<z.ZodBoolean>;
3193
3154
  numberValue: z.ZodNullable<z.ZodNumber>;
3194
3155
  dateValue: z.ZodNullable<z.ZodDate>;
3195
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
3156
+ attribute: z.ZodObject<Omit<{
3196
3157
  id: z.ZodString;
3197
3158
  createdAt: z.ZodDate;
3198
3159
  updatedAt: z.ZodDate;
3199
3160
  deletedAt: z.ZodNullable<z.ZodDate>;
3200
- }, {
3201
3161
  systemName: z.ZodString;
3202
3162
  displayName: z.ZodString;
3203
3163
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -3206,14 +3166,13 @@ export declare const cxLogContract: {
3206
3166
  isArchived: z.ZodBoolean;
3207
3167
  isRequired: z.ZodBoolean;
3208
3168
  isUnique: z.ZodBoolean;
3209
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
3210
- label: z.ZodString;
3169
+ options: z.ZodArray<z.ZodObject<{
3170
+ position: z.ZodNumber;
3211
3171
  value: z.ZodString;
3172
+ label: z.ZodString;
3212
3173
  isDefault: z.ZodBoolean;
3213
- position: z.ZodNumber;
3214
- }, {
3215
3174
  id: z.ZodString;
3216
- }>, "strip", z.ZodTypeAny, {
3175
+ }, "strip", z.ZodTypeAny, {
3217
3176
  id: string;
3218
3177
  position: number;
3219
3178
  value: string;
@@ -3226,15 +3185,14 @@ export declare const cxLogContract: {
3226
3185
  label: string;
3227
3186
  isDefault: boolean;
3228
3187
  }>, "many">;
3229
- group: z.ZodObject<z.objectUtil.extendShape<{
3188
+ group: z.ZodObject<{
3230
3189
  id: z.ZodString;
3231
3190
  createdAt: z.ZodDate;
3232
3191
  updatedAt: z.ZodDate;
3233
3192
  deletedAt: z.ZodNullable<z.ZodDate>;
3234
- }, {
3235
3193
  systemName: z.ZodString;
3236
3194
  displayName: z.ZodString;
3237
- }>, "strip", z.ZodTypeAny, {
3195
+ }, "strip", z.ZodTypeAny, {
3238
3196
  id: string;
3239
3197
  createdAt: Date;
3240
3198
  updatedAt: Date;
@@ -3249,7 +3207,7 @@ export declare const cxLogContract: {
3249
3207
  systemName: string;
3250
3208
  displayName: string;
3251
3209
  }>;
3252
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
3210
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
3253
3211
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
3254
3212
  id: string;
3255
3213
  position: number;
@@ -3276,7 +3234,7 @@ export declare const cxLogContract: {
3276
3234
  isRequired: boolean;
3277
3235
  isUnique: boolean;
3278
3236
  }>;
3279
- }>, "strip", z.ZodTypeAny, {
3237
+ }, "strip", z.ZodTypeAny, {
3280
3238
  id: string;
3281
3239
  createdAt: Date;
3282
3240
  updatedAt: Date;
@@ -3323,7 +3281,7 @@ export declare const cxLogContract: {
3323
3281
  numberValue: number | null;
3324
3282
  dateValue: Date | null;
3325
3283
  }>, "many">>;
3326
- }>, "customFields">, "strip", z.ZodTypeAny, {
3284
+ }, "customFields">, "strip", z.ZodTypeAny, {
3327
3285
  id: string;
3328
3286
  createdAt: Date;
3329
3287
  updatedAt: Date;
@@ -3404,12 +3362,11 @@ export declare const cxLogContract: {
3404
3362
  booleanValue: z.ZodNullable<z.ZodBoolean>;
3405
3363
  numberValue: z.ZodNullable<z.ZodNumber>;
3406
3364
  dateValue: z.ZodNullable<z.ZodDate>;
3407
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
3365
+ attribute: z.ZodObject<Omit<{
3408
3366
  id: z.ZodString;
3409
3367
  createdAt: z.ZodDate;
3410
3368
  updatedAt: z.ZodDate;
3411
3369
  deletedAt: z.ZodNullable<z.ZodDate>;
3412
- }, {
3413
3370
  systemName: z.ZodString;
3414
3371
  displayName: z.ZodString;
3415
3372
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -3418,14 +3375,13 @@ export declare const cxLogContract: {
3418
3375
  isArchived: z.ZodBoolean;
3419
3376
  isRequired: z.ZodBoolean;
3420
3377
  isUnique: z.ZodBoolean;
3421
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
3422
- label: z.ZodString;
3378
+ options: z.ZodArray<z.ZodObject<{
3379
+ position: z.ZodNumber;
3423
3380
  value: z.ZodString;
3381
+ label: z.ZodString;
3424
3382
  isDefault: z.ZodBoolean;
3425
- position: z.ZodNumber;
3426
- }, {
3427
3383
  id: z.ZodString;
3428
- }>, "strip", z.ZodTypeAny, {
3384
+ }, "strip", z.ZodTypeAny, {
3429
3385
  id: string;
3430
3386
  position: number;
3431
3387
  value: string;
@@ -3438,15 +3394,14 @@ export declare const cxLogContract: {
3438
3394
  label: string;
3439
3395
  isDefault: boolean;
3440
3396
  }>, "many">;
3441
- group: z.ZodObject<z.objectUtil.extendShape<{
3397
+ group: z.ZodObject<{
3442
3398
  id: z.ZodString;
3443
3399
  createdAt: z.ZodDate;
3444
3400
  updatedAt: z.ZodDate;
3445
3401
  deletedAt: z.ZodNullable<z.ZodDate>;
3446
- }, {
3447
3402
  systemName: z.ZodString;
3448
3403
  displayName: z.ZodString;
3449
- }>, "strip", z.ZodTypeAny, {
3404
+ }, "strip", z.ZodTypeAny, {
3450
3405
  id: string;
3451
3406
  createdAt: Date;
3452
3407
  updatedAt: Date;
@@ -3461,7 +3416,7 @@ export declare const cxLogContract: {
3461
3416
  systemName: string;
3462
3417
  displayName: string;
3463
3418
  }>;
3464
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
3419
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
3465
3420
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
3466
3421
  id: string;
3467
3422
  position: number;
@@ -3488,19 +3443,18 @@ export declare const cxLogContract: {
3488
3443
  isRequired: boolean;
3489
3444
  isUnique: boolean;
3490
3445
  }>;
3491
- uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
3446
+ uploads: z.ZodArray<z.ZodObject<{
3492
3447
  id: z.ZodString;
3493
3448
  createdAt: z.ZodDate;
3494
3449
  updatedAt: z.ZodDate;
3495
3450
  deletedAt: z.ZodNullable<z.ZodDate>;
3496
- }, {
3497
3451
  bucketName: z.ZodString;
3498
3452
  fileName: z.ZodString;
3499
3453
  fileSize: z.ZodNumber;
3500
3454
  fileKey: z.ZodString;
3501
3455
  fileUrl: z.ZodNullable<z.ZodString>;
3502
3456
  status: z.ZodNullable<z.ZodString>;
3503
- }>, "strip", z.ZodTypeAny, {
3457
+ }, "strip", z.ZodTypeAny, {
3504
3458
  id: string;
3505
3459
  status: string | null;
3506
3460
  createdAt: Date;
@@ -3921,17 +3875,16 @@ export declare const cxLogContract: {
3921
3875
  };
3922
3876
  }[] | undefined;
3923
3877
  }>>;
3924
- telephonyQueue: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
3878
+ telephonyQueue: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3925
3879
  id: z.ZodString;
3926
3880
  createdAt: z.ZodDate;
3927
3881
  updatedAt: z.ZodDate;
3928
3882
  deletedAt: z.ZodNullable<z.ZodDate>;
3929
- }, {
3930
3883
  queueId: z.ZodNumber;
3931
3884
  queueName: z.ZodString;
3932
3885
  queueNumber: z.ZodString;
3933
3886
  maximumWaitingTime: z.ZodNumber;
3934
- }>, "strip", z.ZodTypeAny, {
3887
+ }, "strip", z.ZodTypeAny, {
3935
3888
  id: string;
3936
3889
  createdAt: Date;
3937
3890
  updatedAt: Date;
@@ -3958,19 +3911,18 @@ export declare const cxLogContract: {
3958
3911
  agentRingTime: z.ZodNullable<z.ZodNumber>;
3959
3912
  uploadId: z.ZodNullable<z.ZodString>;
3960
3913
  serialNumber: z.ZodNullable<z.ZodString>;
3961
- upload: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
3914
+ upload: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3962
3915
  id: z.ZodString;
3963
3916
  createdAt: z.ZodDate;
3964
3917
  updatedAt: z.ZodDate;
3965
3918
  deletedAt: z.ZodNullable<z.ZodDate>;
3966
- }, {
3967
3919
  bucketName: z.ZodString;
3968
3920
  fileName: z.ZodString;
3969
3921
  fileSize: z.ZodNumber;
3970
3922
  fileKey: z.ZodString;
3971
3923
  fileUrl: z.ZodNullable<z.ZodString>;
3972
3924
  status: z.ZodNullable<z.ZodString>;
3973
- }>, "strip", z.ZodTypeAny, {
3925
+ }, "strip", z.ZodTypeAny, {
3974
3926
  id: string;
3975
3927
  status: string | null;
3976
3928
  createdAt: Date;
@@ -3996,19 +3948,18 @@ export declare const cxLogContract: {
3996
3948
  callParticipants: z.ZodNullable<z.ZodObject<{
3997
3949
  callTo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3998
3950
  id: z.ZodString;
3999
- user: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
3951
+ user: z.ZodNullable<z.ZodObject<Omit<{
3952
+ name: z.ZodString;
4000
3953
  id: z.ZodString;
3954
+ address: z.ZodNullable<z.ZodString>;
3955
+ email: z.ZodString;
4001
3956
  createdAt: z.ZodDate;
4002
3957
  updatedAt: z.ZodDate;
4003
3958
  deletedAt: z.ZodNullable<z.ZodDate>;
4004
- name: z.ZodString;
4005
- email: z.ZodString;
4006
3959
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
4007
3960
  password: z.ZodString;
4008
- address: z.ZodNullable<z.ZodString>;
4009
3961
  phone: z.ZodNullable<z.ZodString>;
4010
3962
  notificationCount: z.ZodNullable<z.ZodNumber>;
4011
- }, {
4012
3963
  roles: z.ZodArray<z.ZodObject<{
4013
3964
  id: z.ZodString;
4014
3965
  createdAt: z.ZodDate;
@@ -4114,7 +4065,7 @@ export declare const cxLogContract: {
4114
4065
  extensionName: string;
4115
4066
  telephonySignature: string | null;
4116
4067
  }>;
4117
- }>, "roles" | "extension">, "strip", z.ZodTypeAny, {
4068
+ }, "roles" | "extension">, "strip", z.ZodTypeAny, {
4118
4069
  name: string;
4119
4070
  id: string;
4120
4071
  address: string | null;
@@ -4202,19 +4153,18 @@ export declare const cxLogContract: {
4202
4153
  }>>>;
4203
4154
  callFrom: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4204
4155
  id: z.ZodString;
4205
- user: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
4156
+ user: z.ZodNullable<z.ZodObject<Omit<{
4157
+ name: z.ZodString;
4206
4158
  id: z.ZodString;
4159
+ address: z.ZodNullable<z.ZodString>;
4160
+ email: z.ZodString;
4207
4161
  createdAt: z.ZodDate;
4208
4162
  updatedAt: z.ZodDate;
4209
4163
  deletedAt: z.ZodNullable<z.ZodDate>;
4210
- name: z.ZodString;
4211
- email: z.ZodString;
4212
4164
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
4213
4165
  password: z.ZodString;
4214
- address: z.ZodNullable<z.ZodString>;
4215
4166
  phone: z.ZodNullable<z.ZodString>;
4216
4167
  notificationCount: z.ZodNullable<z.ZodNumber>;
4217
- }, {
4218
4168
  roles: z.ZodArray<z.ZodObject<{
4219
4169
  id: z.ZodString;
4220
4170
  createdAt: z.ZodDate;
@@ -4320,7 +4270,7 @@ export declare const cxLogContract: {
4320
4270
  extensionName: string;
4321
4271
  telephonySignature: string | null;
4322
4272
  }>;
4323
- }>, "roles" | "extension">, "strip", z.ZodTypeAny, {
4273
+ }, "roles" | "extension">, "strip", z.ZodTypeAny, {
4324
4274
  name: string;
4325
4275
  id: string;
4326
4276
  address: string | null;
@@ -4407,7 +4357,7 @@ export declare const cxLogContract: {
4407
4357
  updatedAt?: string | undefined;
4408
4358
  }>>>;
4409
4359
  }, "strip", z.ZodTypeAny, {
4410
- callFrom?: {
4360
+ callTo?: {
4411
4361
  id: string;
4412
4362
  user: {
4413
4363
  name: string;
@@ -4433,7 +4383,7 @@ export declare const cxLogContract: {
4433
4383
  createdAt?: string | undefined;
4434
4384
  updatedAt?: string | undefined;
4435
4385
  } | null | undefined;
4436
- callTo?: {
4386
+ callFrom?: {
4437
4387
  id: string;
4438
4388
  user: {
4439
4389
  name: string;
@@ -4460,7 +4410,7 @@ export declare const cxLogContract: {
4460
4410
  updatedAt?: string | undefined;
4461
4411
  } | null | undefined;
4462
4412
  }, {
4463
- callFrom?: {
4413
+ callTo?: {
4464
4414
  id: string;
4465
4415
  user: {
4466
4416
  name: string;
@@ -4486,7 +4436,7 @@ export declare const cxLogContract: {
4486
4436
  createdAt?: string | undefined;
4487
4437
  updatedAt?: string | undefined;
4488
4438
  } | null | undefined;
4489
- callTo?: {
4439
+ callFrom?: {
4490
4440
  id: string;
4491
4441
  user: {
4492
4442
  name: string;
@@ -4515,7 +4465,7 @@ export declare const cxLogContract: {
4515
4465
  }>>;
4516
4466
  isQueueMissedCall: z.ZodBoolean;
4517
4467
  extensionId: z.ZodNullable<z.ZodString>;
4518
- extension: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
4468
+ extension: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4519
4469
  id: z.ZodString;
4520
4470
  createdAt: z.ZodDate;
4521
4471
  updatedAt: z.ZodDate;
@@ -4527,20 +4477,18 @@ export declare const cxLogContract: {
4527
4477
  extensionId: z.ZodNullable<z.ZodString>;
4528
4478
  extensionName: z.ZodString;
4529
4479
  telephonySignature: z.ZodNullable<z.ZodString>;
4530
- }, {
4531
- user: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
4480
+ user: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4481
+ name: z.ZodString;
4532
4482
  id: z.ZodString;
4483
+ address: z.ZodNullable<z.ZodString>;
4484
+ email: z.ZodString;
4533
4485
  createdAt: z.ZodDate;
4534
4486
  updatedAt: z.ZodDate;
4535
4487
  deletedAt: z.ZodNullable<z.ZodDate>;
4536
- name: z.ZodString;
4537
- email: z.ZodString;
4538
4488
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
4539
4489
  password: z.ZodString;
4540
- address: z.ZodNullable<z.ZodString>;
4541
4490
  phone: z.ZodNullable<z.ZodString>;
4542
4491
  notificationCount: z.ZodNullable<z.ZodNumber>;
4543
- }, {
4544
4492
  roles: z.ZodArray<z.ZodObject<{
4545
4493
  id: z.ZodString;
4546
4494
  createdAt: z.ZodDate;
@@ -4646,7 +4594,7 @@ export declare const cxLogContract: {
4646
4594
  extensionName: string;
4647
4595
  telephonySignature: string | null;
4648
4596
  }>;
4649
- }>, "strip", z.ZodTypeAny, {
4597
+ }, "strip", z.ZodTypeAny, {
4650
4598
  name: string;
4651
4599
  id: string;
4652
4600
  address: string | null;
@@ -4733,7 +4681,7 @@ export declare const cxLogContract: {
4733
4681
  telephonySignature: string | null;
4734
4682
  };
4735
4683
  }>>>;
4736
- }>, "strip", z.ZodTypeAny, {
4684
+ }, "strip", z.ZodTypeAny, {
4737
4685
  id: string;
4738
4686
  createdAt: Date;
4739
4687
  updatedAt: Date;
@@ -4848,7 +4796,7 @@ export declare const cxLogContract: {
4848
4796
  }>>>;
4849
4797
  telephonyQueueId: z.ZodNullable<z.ZodString>;
4850
4798
  contactId: z.ZodNullable<z.ZodString>;
4851
- }>, "strip", z.ZodTypeAny, {
4799
+ }, "strip", z.ZodTypeAny, {
4852
4800
  type: string;
4853
4801
  id: string;
4854
4802
  recording: string | null;
@@ -4871,7 +4819,7 @@ export declare const cxLogContract: {
4871
4819
  uploadId: string | null;
4872
4820
  serialNumber: string | null;
4873
4821
  callParticipants: {
4874
- callFrom?: {
4822
+ callTo?: {
4875
4823
  id: string;
4876
4824
  user: {
4877
4825
  name: string;
@@ -4897,7 +4845,7 @@ export declare const cxLogContract: {
4897
4845
  createdAt?: string | undefined;
4898
4846
  updatedAt?: string | undefined;
4899
4847
  } | null | undefined;
4900
- callTo?: {
4848
+ callFrom?: {
4901
4849
  id: string;
4902
4850
  user: {
4903
4851
  name: string;
@@ -4927,63 +4875,6 @@ export declare const cxLogContract: {
4927
4875
  isQueueMissedCall: boolean;
4928
4876
  telephonyQueueId: string | null;
4929
4877
  contactId: string | null;
4930
- extension?: {
4931
- id: string;
4932
- createdAt: Date;
4933
- updatedAt: Date;
4934
- deletedAt: Date | null;
4935
- userId: string | null;
4936
- sipServerUrl: string;
4937
- sipUserName: string;
4938
- webphoneLoginUser: string;
4939
- extensionId: string | null;
4940
- extensionName: string;
4941
- telephonySignature: string | null;
4942
- user?: {
4943
- name: string;
4944
- id: string;
4945
- address: string | null;
4946
- email: string;
4947
- createdAt: Date;
4948
- updatedAt: Date;
4949
- deletedAt: Date | null;
4950
- emailVerifiedAt: Date | null;
4951
- password: string;
4952
- phone: string | null;
4953
- notificationCount: number | null;
4954
- roles: {
4955
- id: string;
4956
- description: string | null;
4957
- createdAt: Date;
4958
- updatedAt: Date;
4959
- deletedAt: Date | null;
4960
- systemName: string;
4961
- displayName: string;
4962
- permissions: {
4963
- id: string;
4964
- description: string | null;
4965
- createdAt: Date;
4966
- updatedAt: Date;
4967
- deletedAt: Date | null;
4968
- systemName: string;
4969
- displayName: string;
4970
- }[];
4971
- }[];
4972
- extension: {
4973
- id: string;
4974
- createdAt: Date;
4975
- updatedAt: Date;
4976
- deletedAt: Date | null;
4977
- userId: string | null;
4978
- sipServerUrl: string;
4979
- sipUserName: string;
4980
- webphoneLoginUser: string;
4981
- extensionId: string | null;
4982
- extensionName: string;
4983
- telephonySignature: string | null;
4984
- };
4985
- } | null | undefined;
4986
- } | null | undefined;
4987
4878
  contact?: {
4988
4879
  name: string;
4989
4880
  id: string;
@@ -5118,6 +5009,63 @@ export declare const cxLogContract: {
5118
5009
  fileSize: number;
5119
5010
  fileUrl: string | null;
5120
5011
  } | null | undefined;
5012
+ extension?: {
5013
+ id: string;
5014
+ createdAt: Date;
5015
+ updatedAt: Date;
5016
+ deletedAt: Date | null;
5017
+ userId: string | null;
5018
+ sipServerUrl: string;
5019
+ sipUserName: string;
5020
+ webphoneLoginUser: string;
5021
+ extensionId: string | null;
5022
+ extensionName: string;
5023
+ telephonySignature: string | null;
5024
+ user?: {
5025
+ name: string;
5026
+ id: string;
5027
+ address: string | null;
5028
+ email: string;
5029
+ createdAt: Date;
5030
+ updatedAt: Date;
5031
+ deletedAt: Date | null;
5032
+ emailVerifiedAt: Date | null;
5033
+ password: string;
5034
+ phone: string | null;
5035
+ notificationCount: number | null;
5036
+ roles: {
5037
+ id: string;
5038
+ description: string | null;
5039
+ createdAt: Date;
5040
+ updatedAt: Date;
5041
+ deletedAt: Date | null;
5042
+ systemName: string;
5043
+ displayName: string;
5044
+ permissions: {
5045
+ id: string;
5046
+ description: string | null;
5047
+ createdAt: Date;
5048
+ updatedAt: Date;
5049
+ deletedAt: Date | null;
5050
+ systemName: string;
5051
+ displayName: string;
5052
+ }[];
5053
+ }[];
5054
+ extension: {
5055
+ id: string;
5056
+ createdAt: Date;
5057
+ updatedAt: Date;
5058
+ deletedAt: Date | null;
5059
+ userId: string | null;
5060
+ sipServerUrl: string;
5061
+ sipUserName: string;
5062
+ webphoneLoginUser: string;
5063
+ extensionId: string | null;
5064
+ extensionName: string;
5065
+ telephonySignature: string | null;
5066
+ };
5067
+ } | null | undefined;
5068
+ } | null | undefined;
5121
5069
  }, {
5122
5070
  type: string;
5123
5071
  id: string;
@@ -5141,7 +5089,7 @@ export declare const cxLogContract: {
5141
5089
  uploadId: string | null;
5142
5090
  serialNumber: string | null;
5143
5091
  callParticipants: {
5144
- callFrom?: {
5092
+ callTo?: {
5145
5093
  id: string;
5146
5094
  user: {
5147
5095
  name: string;
@@ -5167,7 +5115,7 @@ export declare const cxLogContract: {
5167
5115
  createdAt?: string | undefined;
5168
5116
  updatedAt?: string | undefined;
5169
5117
  } | null | undefined;
5170
- callTo?: {
5118
+ callFrom?: {
5171
5119
  id: string;
5172
5120
  user: {
5173
5121
  name: string;
@@ -5197,63 +5145,6 @@ export declare const cxLogContract: {
5197
5145
  isQueueMissedCall: boolean;
5198
5146
  telephonyQueueId: string | null;
5199
5147
  contactId: string | null;
5200
- extension?: {
5201
- id: string;
5202
- createdAt: Date;
5203
- updatedAt: Date;
5204
- deletedAt: Date | null;
5205
- userId: string | null;
5206
- sipServerUrl: string;
5207
- sipUserName: string;
5208
- webphoneLoginUser: string;
5209
- extensionId: string | null;
5210
- extensionName: string;
5211
- telephonySignature: string | null;
5212
- user?: {
5213
- name: string;
5214
- id: string;
5215
- address: string | null;
5216
- email: string;
5217
- createdAt: Date;
5218
- updatedAt: Date;
5219
- deletedAt: Date | null;
5220
- emailVerifiedAt: Date | null;
5221
- password: string;
5222
- phone: string | null;
5223
- notificationCount: number | null;
5224
- roles: {
5225
- id: string;
5226
- description: string | null;
5227
- createdAt: Date;
5228
- updatedAt: Date;
5229
- deletedAt: Date | null;
5230
- systemName: string;
5231
- displayName: string;
5232
- permissions: {
5233
- id: string;
5234
- description: string | null;
5235
- createdAt: Date;
5236
- updatedAt: Date;
5237
- deletedAt: Date | null;
5238
- systemName: string;
5239
- displayName: string;
5240
- }[];
5241
- }[];
5242
- extension: {
5243
- id: string;
5244
- createdAt: Date;
5245
- updatedAt: Date;
5246
- deletedAt: Date | null;
5247
- userId: string | null;
5248
- sipServerUrl: string;
5249
- sipUserName: string;
5250
- webphoneLoginUser: string;
5251
- extensionId: string | null;
5252
- extensionName: string;
5253
- telephonySignature: string | null;
5254
- };
5255
- } | null | undefined;
5256
- } | null | undefined;
5257
5148
  contact?: {
5258
5149
  name: string;
5259
5150
  id: string;
@@ -5388,71 +5279,124 @@ export declare const cxLogContract: {
5388
5279
  fileSize: number;
5389
5280
  fileUrl: string | null;
5390
5281
  } | null | undefined;
5391
- }>>;
5392
- queue: z.ZodNullable<z.ZodObject<{
5393
- queueName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5394
- }, "strip", z.ZodTypeAny, {
5395
- queueName?: string | null | undefined;
5396
- }, {
5397
- queueName?: string | null | undefined;
5398
- }>>;
5399
- contact: z.ZodNullable<z.ZodObject<{
5400
- id: z.ZodString;
5401
- createdAt: z.ZodDate;
5402
- updatedAt: z.ZodDate;
5403
- deletedAt: z.ZodNullable<z.ZodDate>;
5404
- name: z.ZodString;
5405
- address: z.ZodNullable<z.ZodString>;
5406
- channel: z.ZodNullable<z.ZodString>;
5407
- notes: z.ZodNullable<z.ZodString>;
5408
- contactProfile: z.ZodNullable<z.ZodString>;
5409
- socialProfileUrl: z.ZodNullable<z.ZodString>;
5410
- tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5411
- id: z.ZodString;
5412
- createdAt: z.ZodDate;
5413
- updatedAt: z.ZodDate;
5414
- deletedAt: z.ZodNullable<z.ZodDate>;
5415
- }, {
5416
- name: z.ZodString;
5417
- }>, "strip", z.ZodTypeAny, {
5418
- name: string;
5419
- id: string;
5420
- createdAt: Date;
5421
- updatedAt: Date;
5422
- deletedAt: Date | null;
5423
- }, {
5424
- name: string;
5282
+ extension?: {
5283
+ id: string;
5284
+ createdAt: Date;
5285
+ updatedAt: Date;
5286
+ deletedAt: Date | null;
5287
+ userId: string | null;
5288
+ sipServerUrl: string;
5289
+ sipUserName: string;
5290
+ webphoneLoginUser: string;
5291
+ extensionId: string | null;
5292
+ extensionName: string;
5293
+ telephonySignature: string | null;
5294
+ user?: {
5295
+ name: string;
5296
+ id: string;
5297
+ address: string | null;
5298
+ email: string;
5299
+ createdAt: Date;
5300
+ updatedAt: Date;
5301
+ deletedAt: Date | null;
5302
+ emailVerifiedAt: Date | null;
5303
+ password: string;
5304
+ phone: string | null;
5305
+ notificationCount: number | null;
5306
+ roles: {
5307
+ id: string;
5308
+ description: string | null;
5309
+ createdAt: Date;
5310
+ updatedAt: Date;
5311
+ deletedAt: Date | null;
5312
+ systemName: string;
5313
+ displayName: string;
5314
+ permissions: {
5315
+ id: string;
5316
+ description: string | null;
5317
+ createdAt: Date;
5318
+ updatedAt: Date;
5319
+ deletedAt: Date | null;
5320
+ systemName: string;
5321
+ displayName: string;
5322
+ }[];
5323
+ }[];
5324
+ extension: {
5325
+ id: string;
5326
+ createdAt: Date;
5327
+ updatedAt: Date;
5328
+ deletedAt: Date | null;
5329
+ userId: string | null;
5330
+ sipServerUrl: string;
5331
+ sipUserName: string;
5332
+ webphoneLoginUser: string;
5333
+ extensionId: string | null;
5334
+ extensionName: string;
5335
+ telephonySignature: string | null;
5336
+ };
5337
+ } | null | undefined;
5338
+ } | null | undefined;
5339
+ }>>;
5340
+ queue: z.ZodNullable<z.ZodObject<{
5341
+ queueName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5342
+ }, "strip", z.ZodTypeAny, {
5343
+ queueName?: string | null | undefined;
5344
+ }, {
5345
+ queueName?: string | null | undefined;
5346
+ }>>;
5347
+ contact: z.ZodNullable<z.ZodObject<{
5348
+ id: z.ZodString;
5349
+ createdAt: z.ZodDate;
5350
+ updatedAt: z.ZodDate;
5351
+ deletedAt: z.ZodNullable<z.ZodDate>;
5352
+ name: z.ZodString;
5353
+ address: z.ZodNullable<z.ZodString>;
5354
+ channel: z.ZodNullable<z.ZodString>;
5355
+ notes: z.ZodNullable<z.ZodString>;
5356
+ contactProfile: z.ZodNullable<z.ZodString>;
5357
+ socialProfileUrl: z.ZodNullable<z.ZodString>;
5358
+ tags: z.ZodArray<z.ZodObject<{
5359
+ id: z.ZodString;
5360
+ createdAt: z.ZodDate;
5361
+ updatedAt: z.ZodDate;
5362
+ deletedAt: z.ZodNullable<z.ZodDate>;
5363
+ name: z.ZodString;
5364
+ }, "strip", z.ZodTypeAny, {
5365
+ name: string;
5425
5366
  id: string;
5426
5367
  createdAt: Date;
5427
5368
  updatedAt: Date;
5428
5369
  deletedAt: Date | null;
5429
- }>, "many">;
5430
- company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
5431
- id: z.ZodString;
5432
- createdAt: z.ZodDate;
5433
- updatedAt: z.ZodDate;
5434
- deletedAt: z.ZodNullable<z.ZodDate>;
5435
5370
  }, {
5371
+ name: string;
5372
+ id: string;
5373
+ createdAt: Date;
5374
+ updatedAt: Date;
5375
+ deletedAt: Date | null;
5376
+ }>, "many">;
5377
+ company: z.ZodNullable<z.ZodObject<Omit<{
5378
+ id: z.ZodString;
5379
+ createdAt: z.ZodDate;
5380
+ updatedAt: z.ZodDate;
5381
+ deletedAt: z.ZodNullable<z.ZodDate>;
5436
5382
  name: z.ZodOptional<z.ZodString>;
5437
5383
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5438
5384
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5439
5385
  industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5440
- customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5386
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
5441
5387
  id: z.ZodString;
5442
5388
  createdAt: z.ZodDate;
5443
5389
  updatedAt: z.ZodDate;
5444
5390
  deletedAt: z.ZodNullable<z.ZodDate>;
5445
- }, {
5446
5391
  textValue: z.ZodNullable<z.ZodString>;
5447
5392
  booleanValue: z.ZodNullable<z.ZodBoolean>;
5448
5393
  numberValue: z.ZodNullable<z.ZodNumber>;
5449
5394
  dateValue: z.ZodNullable<z.ZodDate>;
5450
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
5395
+ attribute: z.ZodObject<Omit<{
5451
5396
  id: z.ZodString;
5452
5397
  createdAt: z.ZodDate;
5453
5398
  updatedAt: z.ZodDate;
5454
5399
  deletedAt: z.ZodNullable<z.ZodDate>;
5455
- }, {
5456
5400
  systemName: z.ZodString;
5457
5401
  displayName: z.ZodString;
5458
5402
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -5461,14 +5405,13 @@ export declare const cxLogContract: {
5461
5405
  isArchived: z.ZodBoolean;
5462
5406
  isRequired: z.ZodBoolean;
5463
5407
  isUnique: z.ZodBoolean;
5464
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5465
- label: z.ZodString;
5408
+ options: z.ZodArray<z.ZodObject<{
5409
+ position: z.ZodNumber;
5466
5410
  value: z.ZodString;
5411
+ label: z.ZodString;
5467
5412
  isDefault: z.ZodBoolean;
5468
- position: z.ZodNumber;
5469
- }, {
5470
5413
  id: z.ZodString;
5471
- }>, "strip", z.ZodTypeAny, {
5414
+ }, "strip", z.ZodTypeAny, {
5472
5415
  id: string;
5473
5416
  position: number;
5474
5417
  value: string;
@@ -5481,15 +5424,14 @@ export declare const cxLogContract: {
5481
5424
  label: string;
5482
5425
  isDefault: boolean;
5483
5426
  }>, "many">;
5484
- group: z.ZodObject<z.objectUtil.extendShape<{
5427
+ group: z.ZodObject<{
5485
5428
  id: z.ZodString;
5486
5429
  createdAt: z.ZodDate;
5487
5430
  updatedAt: z.ZodDate;
5488
5431
  deletedAt: z.ZodNullable<z.ZodDate>;
5489
- }, {
5490
5432
  systemName: z.ZodString;
5491
5433
  displayName: z.ZodString;
5492
- }>, "strip", z.ZodTypeAny, {
5434
+ }, "strip", z.ZodTypeAny, {
5493
5435
  id: string;
5494
5436
  createdAt: Date;
5495
5437
  updatedAt: Date;
@@ -5504,7 +5446,7 @@ export declare const cxLogContract: {
5504
5446
  systemName: string;
5505
5447
  displayName: string;
5506
5448
  }>;
5507
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
5449
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
5508
5450
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
5509
5451
  id: string;
5510
5452
  position: number;
@@ -5531,7 +5473,7 @@ export declare const cxLogContract: {
5531
5473
  isRequired: boolean;
5532
5474
  isUnique: boolean;
5533
5475
  }>;
5534
- }>, "strip", z.ZodTypeAny, {
5476
+ }, "strip", z.ZodTypeAny, {
5535
5477
  id: string;
5536
5478
  createdAt: Date;
5537
5479
  updatedAt: Date;
@@ -5578,7 +5520,7 @@ export declare const cxLogContract: {
5578
5520
  numberValue: number | null;
5579
5521
  dateValue: Date | null;
5580
5522
  }>, "many">>;
5581
- }>, "customFields">, "strip", z.ZodTypeAny, {
5523
+ }, "customFields">, "strip", z.ZodTypeAny, {
5582
5524
  id: string;
5583
5525
  createdAt: Date;
5584
5526
  updatedAt: Date;
@@ -5659,12 +5601,11 @@ export declare const cxLogContract: {
5659
5601
  booleanValue: z.ZodNullable<z.ZodBoolean>;
5660
5602
  numberValue: z.ZodNullable<z.ZodNumber>;
5661
5603
  dateValue: z.ZodNullable<z.ZodDate>;
5662
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
5604
+ attribute: z.ZodObject<Omit<{
5663
5605
  id: z.ZodString;
5664
5606
  createdAt: z.ZodDate;
5665
5607
  updatedAt: z.ZodDate;
5666
5608
  deletedAt: z.ZodNullable<z.ZodDate>;
5667
- }, {
5668
5609
  systemName: z.ZodString;
5669
5610
  displayName: z.ZodString;
5670
5611
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -5673,14 +5614,13 @@ export declare const cxLogContract: {
5673
5614
  isArchived: z.ZodBoolean;
5674
5615
  isRequired: z.ZodBoolean;
5675
5616
  isUnique: z.ZodBoolean;
5676
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5677
- label: z.ZodString;
5617
+ options: z.ZodArray<z.ZodObject<{
5618
+ position: z.ZodNumber;
5678
5619
  value: z.ZodString;
5620
+ label: z.ZodString;
5679
5621
  isDefault: z.ZodBoolean;
5680
- position: z.ZodNumber;
5681
- }, {
5682
5622
  id: z.ZodString;
5683
- }>, "strip", z.ZodTypeAny, {
5623
+ }, "strip", z.ZodTypeAny, {
5684
5624
  id: string;
5685
5625
  position: number;
5686
5626
  value: string;
@@ -5693,15 +5633,14 @@ export declare const cxLogContract: {
5693
5633
  label: string;
5694
5634
  isDefault: boolean;
5695
5635
  }>, "many">;
5696
- group: z.ZodObject<z.objectUtil.extendShape<{
5636
+ group: z.ZodObject<{
5697
5637
  id: z.ZodString;
5698
5638
  createdAt: z.ZodDate;
5699
5639
  updatedAt: z.ZodDate;
5700
5640
  deletedAt: z.ZodNullable<z.ZodDate>;
5701
- }, {
5702
5641
  systemName: z.ZodString;
5703
5642
  displayName: z.ZodString;
5704
- }>, "strip", z.ZodTypeAny, {
5643
+ }, "strip", z.ZodTypeAny, {
5705
5644
  id: string;
5706
5645
  createdAt: Date;
5707
5646
  updatedAt: Date;
@@ -5716,7 +5655,7 @@ export declare const cxLogContract: {
5716
5655
  systemName: string;
5717
5656
  displayName: string;
5718
5657
  }>;
5719
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
5658
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
5720
5659
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
5721
5660
  id: string;
5722
5661
  position: number;
@@ -5743,19 +5682,18 @@ export declare const cxLogContract: {
5743
5682
  isRequired: boolean;
5744
5683
  isUnique: boolean;
5745
5684
  }>;
5746
- uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5685
+ uploads: z.ZodArray<z.ZodObject<{
5747
5686
  id: z.ZodString;
5748
5687
  createdAt: z.ZodDate;
5749
5688
  updatedAt: z.ZodDate;
5750
5689
  deletedAt: z.ZodNullable<z.ZodDate>;
5751
- }, {
5752
5690
  bucketName: z.ZodString;
5753
5691
  fileName: z.ZodString;
5754
5692
  fileSize: z.ZodNumber;
5755
5693
  fileKey: z.ZodString;
5756
5694
  fileUrl: z.ZodNullable<z.ZodString>;
5757
5695
  status: z.ZodNullable<z.ZodString>;
5758
- }>, "strip", z.ZodTypeAny, {
5696
+ }, "strip", z.ZodTypeAny, {
5759
5697
  id: string;
5760
5698
  status: string | null;
5761
5699
  createdAt: Date;
@@ -6176,19 +6114,18 @@ export declare const cxLogContract: {
6176
6114
  };
6177
6115
  }[] | undefined;
6178
6116
  }>>;
6179
- firstAssignee: z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
6117
+ firstAssignee: z.ZodNullable<z.ZodObject<{
6118
+ name: z.ZodString;
6180
6119
  id: z.ZodString;
6120
+ address: z.ZodNullable<z.ZodString>;
6121
+ email: z.ZodString;
6181
6122
  createdAt: z.ZodDate;
6182
6123
  updatedAt: z.ZodDate;
6183
6124
  deletedAt: z.ZodNullable<z.ZodDate>;
6184
- name: z.ZodString;
6185
- email: z.ZodString;
6186
6125
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
6187
6126
  password: z.ZodString;
6188
- address: z.ZodNullable<z.ZodString>;
6189
6127
  phone: z.ZodNullable<z.ZodString>;
6190
6128
  notificationCount: z.ZodNullable<z.ZodNumber>;
6191
- }, {
6192
6129
  roles: z.ZodArray<z.ZodObject<{
6193
6130
  id: z.ZodString;
6194
6131
  createdAt: z.ZodDate;
@@ -6294,7 +6231,7 @@ export declare const cxLogContract: {
6294
6231
  extensionName: string;
6295
6232
  telephonySignature: string | null;
6296
6233
  }>;
6297
- }>, "strip", z.ZodTypeAny, {
6234
+ }, "strip", z.ZodTypeAny, {
6298
6235
  name: string;
6299
6236
  id: string;
6300
6237
  address: string | null;
@@ -6381,19 +6318,18 @@ export declare const cxLogContract: {
6381
6318
  telephonySignature: string | null;
6382
6319
  };
6383
6320
  }>>;
6384
- agent: z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
6321
+ agent: z.ZodNullable<z.ZodObject<{
6322
+ name: z.ZodString;
6385
6323
  id: z.ZodString;
6324
+ address: z.ZodNullable<z.ZodString>;
6325
+ email: z.ZodString;
6386
6326
  createdAt: z.ZodDate;
6387
6327
  updatedAt: z.ZodDate;
6388
6328
  deletedAt: z.ZodNullable<z.ZodDate>;
6389
- name: z.ZodString;
6390
- email: z.ZodString;
6391
6329
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
6392
6330
  password: z.ZodString;
6393
- address: z.ZodNullable<z.ZodString>;
6394
6331
  phone: z.ZodNullable<z.ZodString>;
6395
6332
  notificationCount: z.ZodNullable<z.ZodNumber>;
6396
- }, {
6397
6333
  roles: z.ZodArray<z.ZodObject<{
6398
6334
  id: z.ZodString;
6399
6335
  createdAt: z.ZodDate;
@@ -6499,7 +6435,7 @@ export declare const cxLogContract: {
6499
6435
  extensionName: string;
6500
6436
  telephonySignature: string | null;
6501
6437
  }>;
6502
- }>, "strip", z.ZodTypeAny, {
6438
+ }, "strip", z.ZodTypeAny, {
6503
6439
  name: string;
6504
6440
  id: string;
6505
6441
  address: string | null;
@@ -6586,19 +6522,18 @@ export declare const cxLogContract: {
6586
6522
  telephonySignature: string | null;
6587
6523
  };
6588
6524
  }>>;
6589
- closedAssignee: z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
6525
+ closedAssignee: z.ZodNullable<z.ZodObject<{
6526
+ name: z.ZodString;
6590
6527
  id: z.ZodString;
6528
+ address: z.ZodNullable<z.ZodString>;
6529
+ email: z.ZodString;
6591
6530
  createdAt: z.ZodDate;
6592
6531
  updatedAt: z.ZodDate;
6593
6532
  deletedAt: z.ZodNullable<z.ZodDate>;
6594
- name: z.ZodString;
6595
- email: z.ZodString;
6596
6533
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
6597
6534
  password: z.ZodString;
6598
- address: z.ZodNullable<z.ZodString>;
6599
6535
  phone: z.ZodNullable<z.ZodString>;
6600
6536
  notificationCount: z.ZodNullable<z.ZodNumber>;
6601
- }, {
6602
6537
  roles: z.ZodArray<z.ZodObject<{
6603
6538
  id: z.ZodString;
6604
6539
  createdAt: z.ZodDate;
@@ -6704,7 +6639,7 @@ export declare const cxLogContract: {
6704
6639
  extensionName: string;
6705
6640
  telephonySignature: string | null;
6706
6641
  }>;
6707
- }>, "strip", z.ZodTypeAny, {
6642
+ }, "strip", z.ZodTypeAny, {
6708
6643
  name: string;
6709
6644
  id: string;
6710
6645
  address: string | null;
@@ -6820,7 +6755,7 @@ export declare const cxLogContract: {
6820
6755
  usage: number;
6821
6756
  usageUnit: string;
6822
6757
  }>;
6823
- }>, "strip", z.ZodTypeAny, {
6758
+ }, "strip", z.ZodTypeAny, {
6824
6759
  id: string;
6825
6760
  channel: string | null;
6826
6761
  direction: string | null;
@@ -7025,24 +6960,24 @@ export declare const cxLogContract: {
7025
6960
  metadata: {
7026
6961
  name: string;
7027
6962
  id: string;
6963
+ accessToken?: string | undefined;
6964
+ channelSecret?: string | undefined;
6965
+ additionalCredentials?: any;
6966
+ senderId?: string | undefined;
7028
6967
  whatsapp?: {
7029
- email?: string | null | undefined;
7030
- status?: "active" | "pending" | "waapi-qr" | undefined;
7031
- channelId?: string | null | undefined;
7032
6968
  wabaBusinessId?: string | null | undefined;
7033
6969
  wabaExternalId?: string | null | undefined;
7034
6970
  phoneNumberId?: string | null | undefined;
6971
+ email?: string | null | undefined;
7035
6972
  clientId?: string | null | undefined;
6973
+ channelId?: string | null | undefined;
7036
6974
  waapiInstanceId?: string | null | undefined;
7037
6975
  qr?: string | null | undefined;
6976
+ status?: "active" | "pending" | "waapi-qr" | undefined;
7038
6977
  apiKey?: string | undefined;
7039
6978
  tier?: "basic" | "regular" | "premium" | undefined;
7040
6979
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
7041
6980
  } | undefined;
7042
- additionalCredentials?: any;
7043
- accessToken?: string | undefined;
7044
- channelSecret?: string | undefined;
7045
- senderId?: string | undefined;
7046
6981
  vonageCredentials?: {
7047
6982
  apiKey: string;
7048
6983
  mobileNumber: string;
@@ -7114,7 +7049,7 @@ export declare const cxLogContract: {
7114
7049
  integrationId: string;
7115
7050
  } | null;
7116
7051
  };
7117
- direction: string;
7052
+ direction: "incoming" | "outgoing" | "system";
7118
7053
  createdAt: Date;
7119
7054
  updatedAt: Date;
7120
7055
  deletedAt: Date | null;
@@ -7364,7 +7299,7 @@ export declare const cxLogContract: {
7364
7299
  uploadId: string | null;
7365
7300
  serialNumber: string | null;
7366
7301
  callParticipants: {
7367
- callFrom?: {
7302
+ callTo?: {
7368
7303
  id: string;
7369
7304
  user: {
7370
7305
  name: string;
@@ -7390,7 +7325,7 @@ export declare const cxLogContract: {
7390
7325
  createdAt?: string | undefined;
7391
7326
  updatedAt?: string | undefined;
7392
7327
  } | null | undefined;
7393
- callTo?: {
7328
+ callFrom?: {
7394
7329
  id: string;
7395
7330
  user: {
7396
7331
  name: string;
@@ -7420,63 +7355,6 @@ export declare const cxLogContract: {
7420
7355
  isQueueMissedCall: boolean;
7421
7356
  telephonyQueueId: string | null;
7422
7357
  contactId: string | null;
7423
- extension?: {
7424
- id: string;
7425
- createdAt: Date;
7426
- updatedAt: Date;
7427
- deletedAt: Date | null;
7428
- userId: string | null;
7429
- sipServerUrl: string;
7430
- sipUserName: string;
7431
- webphoneLoginUser: string;
7432
- extensionId: string | null;
7433
- extensionName: string;
7434
- telephonySignature: string | null;
7435
- user?: {
7436
- name: string;
7437
- id: string;
7438
- address: string | null;
7439
- email: string;
7440
- createdAt: Date;
7441
- updatedAt: Date;
7442
- deletedAt: Date | null;
7443
- emailVerifiedAt: Date | null;
7444
- password: string;
7445
- phone: string | null;
7446
- notificationCount: number | null;
7447
- roles: {
7448
- id: string;
7449
- description: string | null;
7450
- createdAt: Date;
7451
- updatedAt: Date;
7452
- deletedAt: Date | null;
7453
- systemName: string;
7454
- displayName: string;
7455
- permissions: {
7456
- id: string;
7457
- description: string | null;
7458
- createdAt: Date;
7459
- updatedAt: Date;
7460
- deletedAt: Date | null;
7461
- systemName: string;
7462
- displayName: string;
7463
- }[];
7464
- }[];
7465
- extension: {
7466
- id: string;
7467
- createdAt: Date;
7468
- updatedAt: Date;
7469
- deletedAt: Date | null;
7470
- userId: string | null;
7471
- sipServerUrl: string;
7472
- sipUserName: string;
7473
- webphoneLoginUser: string;
7474
- extensionId: string | null;
7475
- extensionName: string;
7476
- telephonySignature: string | null;
7477
- };
7478
- } | null | undefined;
7479
- } | null | undefined;
7480
7358
  contact?: {
7481
7359
  name: string;
7482
7360
  id: string;
@@ -7611,41 +7489,7 @@ export declare const cxLogContract: {
7611
7489
  fileSize: number;
7612
7490
  fileUrl: string | null;
7613
7491
  } | null | undefined;
7614
- } | null;
7615
- queue: {
7616
- queueName?: string | null | undefined;
7617
- } | null;
7618
- firstAssignee: {
7619
- name: string;
7620
- id: string;
7621
- address: string | null;
7622
- email: string;
7623
- createdAt: Date;
7624
- updatedAt: Date;
7625
- deletedAt: Date | null;
7626
- emailVerifiedAt: Date | null;
7627
- password: string;
7628
- phone: string | null;
7629
- notificationCount: number | null;
7630
- roles: {
7631
- id: string;
7632
- description: string | null;
7633
- createdAt: Date;
7634
- updatedAt: Date;
7635
- deletedAt: Date | null;
7636
- systemName: string;
7637
- displayName: string;
7638
- permissions: {
7639
- id: string;
7640
- description: string | null;
7641
- createdAt: Date;
7642
- updatedAt: Date;
7643
- deletedAt: Date | null;
7644
- systemName: string;
7645
- displayName: string;
7646
- }[];
7647
- }[];
7648
- extension: {
7492
+ extension?: {
7649
7493
  id: string;
7650
7494
  createdAt: Date;
7651
7495
  updatedAt: Date;
@@ -7657,13 +7501,104 @@ export declare const cxLogContract: {
7657
7501
  extensionId: string | null;
7658
7502
  extensionName: string;
7659
7503
  telephonySignature: string | null;
7660
- };
7661
- } | null;
7662
- agent: {
7663
- name: string;
7664
- id: string;
7665
- address: string | null;
7666
- email: string;
7504
+ user?: {
7505
+ name: string;
7506
+ id: string;
7507
+ address: string | null;
7508
+ email: string;
7509
+ createdAt: Date;
7510
+ updatedAt: Date;
7511
+ deletedAt: Date | null;
7512
+ emailVerifiedAt: Date | null;
7513
+ password: string;
7514
+ phone: string | null;
7515
+ notificationCount: number | null;
7516
+ roles: {
7517
+ id: string;
7518
+ description: string | null;
7519
+ createdAt: Date;
7520
+ updatedAt: Date;
7521
+ deletedAt: Date | null;
7522
+ systemName: string;
7523
+ displayName: string;
7524
+ permissions: {
7525
+ id: string;
7526
+ description: string | null;
7527
+ createdAt: Date;
7528
+ updatedAt: Date;
7529
+ deletedAt: Date | null;
7530
+ systemName: string;
7531
+ displayName: string;
7532
+ }[];
7533
+ }[];
7534
+ extension: {
7535
+ id: string;
7536
+ createdAt: Date;
7537
+ updatedAt: Date;
7538
+ deletedAt: Date | null;
7539
+ userId: string | null;
7540
+ sipServerUrl: string;
7541
+ sipUserName: string;
7542
+ webphoneLoginUser: string;
7543
+ extensionId: string | null;
7544
+ extensionName: string;
7545
+ telephonySignature: string | null;
7546
+ };
7547
+ } | null | undefined;
7548
+ } | null | undefined;
7549
+ } | null;
7550
+ queue: {
7551
+ queueName?: string | null | undefined;
7552
+ } | null;
7553
+ firstAssignee: {
7554
+ name: string;
7555
+ id: string;
7556
+ address: string | null;
7557
+ email: string;
7558
+ createdAt: Date;
7559
+ updatedAt: Date;
7560
+ deletedAt: Date | null;
7561
+ emailVerifiedAt: Date | null;
7562
+ password: string;
7563
+ phone: string | null;
7564
+ notificationCount: number | null;
7565
+ roles: {
7566
+ id: string;
7567
+ description: string | null;
7568
+ createdAt: Date;
7569
+ updatedAt: Date;
7570
+ deletedAt: Date | null;
7571
+ systemName: string;
7572
+ displayName: string;
7573
+ permissions: {
7574
+ id: string;
7575
+ description: string | null;
7576
+ createdAt: Date;
7577
+ updatedAt: Date;
7578
+ deletedAt: Date | null;
7579
+ systemName: string;
7580
+ displayName: string;
7581
+ }[];
7582
+ }[];
7583
+ extension: {
7584
+ id: string;
7585
+ createdAt: Date;
7586
+ updatedAt: Date;
7587
+ deletedAt: Date | null;
7588
+ userId: string | null;
7589
+ sipServerUrl: string;
7590
+ sipUserName: string;
7591
+ webphoneLoginUser: string;
7592
+ extensionId: string | null;
7593
+ extensionName: string;
7594
+ telephonySignature: string | null;
7595
+ };
7596
+ } | null;
7597
+ agent: {
7598
+ name: string;
7599
+ id: string;
7600
+ address: string | null;
7601
+ email: string;
7667
7602
  createdAt: Date;
7668
7603
  updatedAt: Date;
7669
7604
  deletedAt: Date | null;
@@ -7963,24 +7898,24 @@ export declare const cxLogContract: {
7963
7898
  metadata: {
7964
7899
  name: string;
7965
7900
  id: string;
7901
+ accessToken?: string | undefined;
7902
+ channelSecret?: string | undefined;
7903
+ additionalCredentials?: any;
7904
+ senderId?: string | undefined;
7966
7905
  whatsapp?: {
7967
- email?: string | null | undefined;
7968
- status?: "active" | "pending" | "waapi-qr" | undefined;
7969
- channelId?: string | null | undefined;
7970
7906
  wabaBusinessId?: string | null | undefined;
7971
7907
  wabaExternalId?: string | null | undefined;
7972
7908
  phoneNumberId?: string | null | undefined;
7909
+ email?: string | null | undefined;
7973
7910
  clientId?: string | null | undefined;
7911
+ channelId?: string | null | undefined;
7974
7912
  waapiInstanceId?: string | null | undefined;
7975
7913
  qr?: string | null | undefined;
7914
+ status?: "active" | "pending" | "waapi-qr" | undefined;
7976
7915
  apiKey?: string | undefined;
7977
7916
  tier?: "basic" | "regular" | "premium" | undefined;
7978
7917
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
7979
7918
  } | undefined;
7980
- additionalCredentials?: any;
7981
- accessToken?: string | undefined;
7982
- channelSecret?: string | undefined;
7983
- senderId?: string | undefined;
7984
7919
  vonageCredentials?: {
7985
7920
  apiKey: string;
7986
7921
  mobileNumber: string;
@@ -8052,7 +7987,7 @@ export declare const cxLogContract: {
8052
7987
  integrationId: string;
8053
7988
  } | null;
8054
7989
  };
8055
- direction: string;
7990
+ direction: "incoming" | "outgoing" | "system";
8056
7991
  createdAt: Date;
8057
7992
  updatedAt: Date;
8058
7993
  deletedAt: Date | null;
@@ -8302,7 +8237,7 @@ export declare const cxLogContract: {
8302
8237
  uploadId: string | null;
8303
8238
  serialNumber: string | null;
8304
8239
  callParticipants: {
8305
- callFrom?: {
8240
+ callTo?: {
8306
8241
  id: string;
8307
8242
  user: {
8308
8243
  name: string;
@@ -8328,7 +8263,7 @@ export declare const cxLogContract: {
8328
8263
  createdAt?: string | undefined;
8329
8264
  updatedAt?: string | undefined;
8330
8265
  } | null | undefined;
8331
- callTo?: {
8266
+ callFrom?: {
8332
8267
  id: string;
8333
8268
  user: {
8334
8269
  name: string;
@@ -8358,63 +8293,6 @@ export declare const cxLogContract: {
8358
8293
  isQueueMissedCall: boolean;
8359
8294
  telephonyQueueId: string | null;
8360
8295
  contactId: string | null;
8361
- extension?: {
8362
- id: string;
8363
- createdAt: Date;
8364
- updatedAt: Date;
8365
- deletedAt: Date | null;
8366
- userId: string | null;
8367
- sipServerUrl: string;
8368
- sipUserName: string;
8369
- webphoneLoginUser: string;
8370
- extensionId: string | null;
8371
- extensionName: string;
8372
- telephonySignature: string | null;
8373
- user?: {
8374
- name: string;
8375
- id: string;
8376
- address: string | null;
8377
- email: string;
8378
- createdAt: Date;
8379
- updatedAt: Date;
8380
- deletedAt: Date | null;
8381
- emailVerifiedAt: Date | null;
8382
- password: string;
8383
- phone: string | null;
8384
- notificationCount: number | null;
8385
- roles: {
8386
- id: string;
8387
- description: string | null;
8388
- createdAt: Date;
8389
- updatedAt: Date;
8390
- deletedAt: Date | null;
8391
- systemName: string;
8392
- displayName: string;
8393
- permissions: {
8394
- id: string;
8395
- description: string | null;
8396
- createdAt: Date;
8397
- updatedAt: Date;
8398
- deletedAt: Date | null;
8399
- systemName: string;
8400
- displayName: string;
8401
- }[];
8402
- }[];
8403
- extension: {
8404
- id: string;
8405
- createdAt: Date;
8406
- updatedAt: Date;
8407
- deletedAt: Date | null;
8408
- userId: string | null;
8409
- sipServerUrl: string;
8410
- sipUserName: string;
8411
- webphoneLoginUser: string;
8412
- extensionId: string | null;
8413
- extensionName: string;
8414
- telephonySignature: string | null;
8415
- };
8416
- } | null | undefined;
8417
- } | null | undefined;
8418
8296
  contact?: {
8419
8297
  name: string;
8420
8298
  id: string;
@@ -8549,6 +8427,63 @@ export declare const cxLogContract: {
8549
8427
  fileSize: number;
8550
8428
  fileUrl: string | null;
8551
8429
  } | null | undefined;
8430
+ extension?: {
8431
+ id: string;
8432
+ createdAt: Date;
8433
+ updatedAt: Date;
8434
+ deletedAt: Date | null;
8435
+ userId: string | null;
8436
+ sipServerUrl: string;
8437
+ sipUserName: string;
8438
+ webphoneLoginUser: string;
8439
+ extensionId: string | null;
8440
+ extensionName: string;
8441
+ telephonySignature: string | null;
8442
+ user?: {
8443
+ name: string;
8444
+ id: string;
8445
+ address: string | null;
8446
+ email: string;
8447
+ createdAt: Date;
8448
+ updatedAt: Date;
8449
+ deletedAt: Date | null;
8450
+ emailVerifiedAt: Date | null;
8451
+ password: string;
8452
+ phone: string | null;
8453
+ notificationCount: number | null;
8454
+ roles: {
8455
+ id: string;
8456
+ description: string | null;
8457
+ createdAt: Date;
8458
+ updatedAt: Date;
8459
+ deletedAt: Date | null;
8460
+ systemName: string;
8461
+ displayName: string;
8462
+ permissions: {
8463
+ id: string;
8464
+ description: string | null;
8465
+ createdAt: Date;
8466
+ updatedAt: Date;
8467
+ deletedAt: Date | null;
8468
+ systemName: string;
8469
+ displayName: string;
8470
+ }[];
8471
+ }[];
8472
+ extension: {
8473
+ id: string;
8474
+ createdAt: Date;
8475
+ updatedAt: Date;
8476
+ deletedAt: Date | null;
8477
+ userId: string | null;
8478
+ sipServerUrl: string;
8479
+ sipUserName: string;
8480
+ webphoneLoginUser: string;
8481
+ extensionId: string | null;
8482
+ extensionName: string;
8483
+ telephonySignature: string | null;
8484
+ };
8485
+ } | null | undefined;
8486
+ } | null | undefined;
8552
8487
  } | null;
8553
8488
  queue: {
8554
8489
  queueName?: string | null | undefined;
@@ -8697,7 +8632,7 @@ export declare const cxLogContract: {
8697
8632
  usageUnit: string;
8698
8633
  };
8699
8634
  }>, "many">;
8700
- }>, "strip", z.ZodTypeAny, {
8635
+ }, "strip", z.ZodTypeAny, {
8701
8636
  total: number;
8702
8637
  page: number;
8703
8638
  pageSize: number;
@@ -8907,24 +8842,24 @@ export declare const cxLogContract: {
8907
8842
  metadata: {
8908
8843
  name: string;
8909
8844
  id: string;
8845
+ accessToken?: string | undefined;
8846
+ channelSecret?: string | undefined;
8847
+ additionalCredentials?: any;
8848
+ senderId?: string | undefined;
8910
8849
  whatsapp?: {
8911
- email?: string | null | undefined;
8912
- status?: "active" | "pending" | "waapi-qr" | undefined;
8913
- channelId?: string | null | undefined;
8914
8850
  wabaBusinessId?: string | null | undefined;
8915
8851
  wabaExternalId?: string | null | undefined;
8916
8852
  phoneNumberId?: string | null | undefined;
8853
+ email?: string | null | undefined;
8917
8854
  clientId?: string | null | undefined;
8855
+ channelId?: string | null | undefined;
8918
8856
  waapiInstanceId?: string | null | undefined;
8919
8857
  qr?: string | null | undefined;
8858
+ status?: "active" | "pending" | "waapi-qr" | undefined;
8920
8859
  apiKey?: string | undefined;
8921
8860
  tier?: "basic" | "regular" | "premium" | undefined;
8922
8861
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
8923
8862
  } | undefined;
8924
- additionalCredentials?: any;
8925
- accessToken?: string | undefined;
8926
- channelSecret?: string | undefined;
8927
- senderId?: string | undefined;
8928
8863
  vonageCredentials?: {
8929
8864
  apiKey: string;
8930
8865
  mobileNumber: string;
@@ -8996,7 +8931,7 @@ export declare const cxLogContract: {
8996
8931
  integrationId: string;
8997
8932
  } | null;
8998
8933
  };
8999
- direction: string;
8934
+ direction: "incoming" | "outgoing" | "system";
9000
8935
  createdAt: Date;
9001
8936
  updatedAt: Date;
9002
8937
  deletedAt: Date | null;
@@ -9246,7 +9181,7 @@ export declare const cxLogContract: {
9246
9181
  uploadId: string | null;
9247
9182
  serialNumber: string | null;
9248
9183
  callParticipants: {
9249
- callFrom?: {
9184
+ callTo?: {
9250
9185
  id: string;
9251
9186
  user: {
9252
9187
  name: string;
@@ -9272,7 +9207,7 @@ export declare const cxLogContract: {
9272
9207
  createdAt?: string | undefined;
9273
9208
  updatedAt?: string | undefined;
9274
9209
  } | null | undefined;
9275
- callTo?: {
9210
+ callFrom?: {
9276
9211
  id: string;
9277
9212
  user: {
9278
9213
  name: string;
@@ -9302,68 +9237,11 @@ export declare const cxLogContract: {
9302
9237
  isQueueMissedCall: boolean;
9303
9238
  telephonyQueueId: string | null;
9304
9239
  contactId: string | null;
9305
- extension?: {
9240
+ contact?: {
9241
+ name: string;
9306
9242
  id: string;
9307
- createdAt: Date;
9308
- updatedAt: Date;
9309
- deletedAt: Date | null;
9310
- userId: string | null;
9311
- sipServerUrl: string;
9312
- sipUserName: string;
9313
- webphoneLoginUser: string;
9314
- extensionId: string | null;
9315
- extensionName: string;
9316
- telephonySignature: string | null;
9317
- user?: {
9318
- name: string;
9319
- id: string;
9320
- address: string | null;
9321
- email: string;
9322
- createdAt: Date;
9323
- updatedAt: Date;
9324
- deletedAt: Date | null;
9325
- emailVerifiedAt: Date | null;
9326
- password: string;
9327
- phone: string | null;
9328
- notificationCount: number | null;
9329
- roles: {
9330
- id: string;
9331
- description: string | null;
9332
- createdAt: Date;
9333
- updatedAt: Date;
9334
- deletedAt: Date | null;
9335
- systemName: string;
9336
- displayName: string;
9337
- permissions: {
9338
- id: string;
9339
- description: string | null;
9340
- createdAt: Date;
9341
- updatedAt: Date;
9342
- deletedAt: Date | null;
9343
- systemName: string;
9344
- displayName: string;
9345
- }[];
9346
- }[];
9347
- extension: {
9348
- id: string;
9349
- createdAt: Date;
9350
- updatedAt: Date;
9351
- deletedAt: Date | null;
9352
- userId: string | null;
9353
- sipServerUrl: string;
9354
- sipUserName: string;
9355
- webphoneLoginUser: string;
9356
- extensionId: string | null;
9357
- extensionName: string;
9358
- telephonySignature: string | null;
9359
- };
9360
- } | null | undefined;
9361
- } | null | undefined;
9362
- contact?: {
9363
- name: string;
9364
- id: string;
9365
- channel: string | null;
9366
- address: string | null;
9243
+ channel: string | null;
9244
+ address: string | null;
9367
9245
  createdAt: Date;
9368
9246
  updatedAt: Date;
9369
9247
  deletedAt: Date | null;
@@ -9493,6 +9371,63 @@ export declare const cxLogContract: {
9493
9371
  fileSize: number;
9494
9372
  fileUrl: string | null;
9495
9373
  } | null | undefined;
9374
+ extension?: {
9375
+ id: string;
9376
+ createdAt: Date;
9377
+ updatedAt: Date;
9378
+ deletedAt: Date | null;
9379
+ userId: string | null;
9380
+ sipServerUrl: string;
9381
+ sipUserName: string;
9382
+ webphoneLoginUser: string;
9383
+ extensionId: string | null;
9384
+ extensionName: string;
9385
+ telephonySignature: string | null;
9386
+ user?: {
9387
+ name: string;
9388
+ id: string;
9389
+ address: string | null;
9390
+ email: string;
9391
+ createdAt: Date;
9392
+ updatedAt: Date;
9393
+ deletedAt: Date | null;
9394
+ emailVerifiedAt: Date | null;
9395
+ password: string;
9396
+ phone: string | null;
9397
+ notificationCount: number | null;
9398
+ roles: {
9399
+ id: string;
9400
+ description: string | null;
9401
+ createdAt: Date;
9402
+ updatedAt: Date;
9403
+ deletedAt: Date | null;
9404
+ systemName: string;
9405
+ displayName: string;
9406
+ permissions: {
9407
+ id: string;
9408
+ description: string | null;
9409
+ createdAt: Date;
9410
+ updatedAt: Date;
9411
+ deletedAt: Date | null;
9412
+ systemName: string;
9413
+ displayName: string;
9414
+ }[];
9415
+ }[];
9416
+ extension: {
9417
+ id: string;
9418
+ createdAt: Date;
9419
+ updatedAt: Date;
9420
+ deletedAt: Date | null;
9421
+ userId: string | null;
9422
+ sipServerUrl: string;
9423
+ sipUserName: string;
9424
+ webphoneLoginUser: string;
9425
+ extensionId: string | null;
9426
+ extensionName: string;
9427
+ telephonySignature: string | null;
9428
+ };
9429
+ } | null | undefined;
9430
+ } | null | undefined;
9496
9431
  } | null;
9497
9432
  queue: {
9498
9433
  queueName?: string | null | undefined;
@@ -9851,24 +9786,24 @@ export declare const cxLogContract: {
9851
9786
  metadata: {
9852
9787
  name: string;
9853
9788
  id: string;
9789
+ accessToken?: string | undefined;
9790
+ channelSecret?: string | undefined;
9791
+ additionalCredentials?: any;
9792
+ senderId?: string | undefined;
9854
9793
  whatsapp?: {
9855
- email?: string | null | undefined;
9856
- status?: "active" | "pending" | "waapi-qr" | undefined;
9857
- channelId?: string | null | undefined;
9858
9794
  wabaBusinessId?: string | null | undefined;
9859
9795
  wabaExternalId?: string | null | undefined;
9860
9796
  phoneNumberId?: string | null | undefined;
9797
+ email?: string | null | undefined;
9861
9798
  clientId?: string | null | undefined;
9799
+ channelId?: string | null | undefined;
9862
9800
  waapiInstanceId?: string | null | undefined;
9863
9801
  qr?: string | null | undefined;
9802
+ status?: "active" | "pending" | "waapi-qr" | undefined;
9864
9803
  apiKey?: string | undefined;
9865
9804
  tier?: "basic" | "regular" | "premium" | undefined;
9866
9805
  integrationType?: "meta" | "360dialog" | "waapi" | undefined;
9867
9806
  } | undefined;
9868
- additionalCredentials?: any;
9869
- accessToken?: string | undefined;
9870
- channelSecret?: string | undefined;
9871
- senderId?: string | undefined;
9872
9807
  vonageCredentials?: {
9873
9808
  apiKey: string;
9874
9809
  mobileNumber: string;
@@ -9940,7 +9875,7 @@ export declare const cxLogContract: {
9940
9875
  integrationId: string;
9941
9876
  } | null;
9942
9877
  };
9943
- direction: string;
9878
+ direction: "incoming" | "outgoing" | "system";
9944
9879
  createdAt: Date;
9945
9880
  updatedAt: Date;
9946
9881
  deletedAt: Date | null;
@@ -10190,7 +10125,7 @@ export declare const cxLogContract: {
10190
10125
  uploadId: string | null;
10191
10126
  serialNumber: string | null;
10192
10127
  callParticipants: {
10193
- callFrom?: {
10128
+ callTo?: {
10194
10129
  id: string;
10195
10130
  user: {
10196
10131
  name: string;
@@ -10216,7 +10151,7 @@ export declare const cxLogContract: {
10216
10151
  createdAt?: string | undefined;
10217
10152
  updatedAt?: string | undefined;
10218
10153
  } | null | undefined;
10219
- callTo?: {
10154
+ callFrom?: {
10220
10155
  id: string;
10221
10156
  user: {
10222
10157
  name: string;
@@ -10246,63 +10181,6 @@ export declare const cxLogContract: {
10246
10181
  isQueueMissedCall: boolean;
10247
10182
  telephonyQueueId: string | null;
10248
10183
  contactId: string | null;
10249
- extension?: {
10250
- id: string;
10251
- createdAt: Date;
10252
- updatedAt: Date;
10253
- deletedAt: Date | null;
10254
- userId: string | null;
10255
- sipServerUrl: string;
10256
- sipUserName: string;
10257
- webphoneLoginUser: string;
10258
- extensionId: string | null;
10259
- extensionName: string;
10260
- telephonySignature: string | null;
10261
- user?: {
10262
- name: string;
10263
- id: string;
10264
- address: string | null;
10265
- email: string;
10266
- createdAt: Date;
10267
- updatedAt: Date;
10268
- deletedAt: Date | null;
10269
- emailVerifiedAt: Date | null;
10270
- password: string;
10271
- phone: string | null;
10272
- notificationCount: number | null;
10273
- roles: {
10274
- id: string;
10275
- description: string | null;
10276
- createdAt: Date;
10277
- updatedAt: Date;
10278
- deletedAt: Date | null;
10279
- systemName: string;
10280
- displayName: string;
10281
- permissions: {
10282
- id: string;
10283
- description: string | null;
10284
- createdAt: Date;
10285
- updatedAt: Date;
10286
- deletedAt: Date | null;
10287
- systemName: string;
10288
- displayName: string;
10289
- }[];
10290
- }[];
10291
- extension: {
10292
- id: string;
10293
- createdAt: Date;
10294
- updatedAt: Date;
10295
- deletedAt: Date | null;
10296
- userId: string | null;
10297
- sipServerUrl: string;
10298
- sipUserName: string;
10299
- webphoneLoginUser: string;
10300
- extensionId: string | null;
10301
- extensionName: string;
10302
- telephonySignature: string | null;
10303
- };
10304
- } | null | undefined;
10305
- } | null | undefined;
10306
10184
  contact?: {
10307
10185
  name: string;
10308
10186
  id: string;
@@ -10437,6 +10315,63 @@ export declare const cxLogContract: {
10437
10315
  fileSize: number;
10438
10316
  fileUrl: string | null;
10439
10317
  } | null | undefined;
10318
+ extension?: {
10319
+ id: string;
10320
+ createdAt: Date;
10321
+ updatedAt: Date;
10322
+ deletedAt: Date | null;
10323
+ userId: string | null;
10324
+ sipServerUrl: string;
10325
+ sipUserName: string;
10326
+ webphoneLoginUser: string;
10327
+ extensionId: string | null;
10328
+ extensionName: string;
10329
+ telephonySignature: string | null;
10330
+ user?: {
10331
+ name: string;
10332
+ id: string;
10333
+ address: string | null;
10334
+ email: string;
10335
+ createdAt: Date;
10336
+ updatedAt: Date;
10337
+ deletedAt: Date | null;
10338
+ emailVerifiedAt: Date | null;
10339
+ password: string;
10340
+ phone: string | null;
10341
+ notificationCount: number | null;
10342
+ roles: {
10343
+ id: string;
10344
+ description: string | null;
10345
+ createdAt: Date;
10346
+ updatedAt: Date;
10347
+ deletedAt: Date | null;
10348
+ systemName: string;
10349
+ displayName: string;
10350
+ permissions: {
10351
+ id: string;
10352
+ description: string | null;
10353
+ createdAt: Date;
10354
+ updatedAt: Date;
10355
+ deletedAt: Date | null;
10356
+ systemName: string;
10357
+ displayName: string;
10358
+ }[];
10359
+ }[];
10360
+ extension: {
10361
+ id: string;
10362
+ createdAt: Date;
10363
+ updatedAt: Date;
10364
+ deletedAt: Date | null;
10365
+ userId: string | null;
10366
+ sipServerUrl: string;
10367
+ sipUserName: string;
10368
+ webphoneLoginUser: string;
10369
+ extensionId: string | null;
10370
+ extensionName: string;
10371
+ telephonySignature: string | null;
10372
+ };
10373
+ } | null | undefined;
10374
+ } | null | undefined;
10440
10375
  } | null;
10441
10376
  queue: {
10442
10377
  queueName?: string | null | undefined;
@@ -10597,6 +10532,23 @@ export declare const cxLogContract: {
10597
10532
  error?: any;
10598
10533
  }>;
10599
10534
  };
10535
+ path: "ms/cx-logs";
10536
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
10537
+ 'x-tenant': z.ZodString;
10538
+ 'x-service-token': z.ZodString;
10539
+ 'x-code': z.ZodOptional<z.ZodString>;
10540
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
10541
+ }, "strip", z.ZodTypeAny, {
10542
+ 'x-tenant': string;
10543
+ 'x-service-token': string;
10544
+ 'x-client-timezone': string;
10545
+ 'x-code'?: string | undefined;
10546
+ }, {
10547
+ 'x-tenant': string;
10548
+ 'x-service-token': string;
10549
+ 'x-code'?: string | undefined;
10550
+ 'x-client-timezone'?: string | undefined;
10551
+ }>>>;
10600
10552
  };
10601
10553
  export: {
10602
10554
  summary: "Export cx-logs";
@@ -10629,91 +10581,74 @@ export declare const cxLogContract: {
10629
10581
  value: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
10630
10582
  type: z.ZodOptional<z.ZodString>;
10631
10583
  }, "strip", z.ZodTypeAny, {
10632
- value: string | string[];
10584
+ value: (string | string[]) & (string | string[] | undefined);
10633
10585
  attributeId: string;
10634
10586
  type?: string | undefined;
10635
10587
  }, {
10636
- value: string | string[];
10588
+ value: (string | string[]) & (string | string[] | undefined);
10637
10589
  attributeId: string;
10638
10590
  type?: string | undefined;
10639
10591
  }>, "many">>;
10640
10592
  selectedDate: z.ZodOptional<z.ZodString>;
10641
10593
  }, "strip", z.ZodTypeAny, {
10642
- name?: string | undefined;
10643
- channel?: string[] | undefined;
10644
- address?: string | undefined;
10645
- disposition?: string[] | undefined;
10646
- direction?: ("inbound" | "outbound")[] | undefined;
10647
10594
  page?: number | undefined;
10648
- email?: string | undefined;
10649
10595
  pageSize?: number | undefined;
10650
- phone?: string | undefined;
10651
- customFields?: {
10652
- value: string | string[];
10653
- attributeId: string;
10654
- type?: string | undefined;
10655
- }[] | undefined;
10656
- company?: string[] | undefined;
10657
- notes?: string | undefined;
10658
- tags?: string[] | undefined;
10659
- sentimentScore?: ("negative" | "positive" | "neutral")[] | undefined;
10660
- csatScore?: string[] | undefined;
10661
- queueId?: string[] | undefined;
10662
10596
  contactId?: string | undefined;
10663
- trunks?: string[] | undefined;
10664
10597
  caseId?: string | undefined;
10665
- selectedDate?: string | undefined;
10666
10598
  channelIds?: string[] | undefined;
10599
+ trunks?: string[] | undefined;
10600
+ queueId?: string[] | undefined;
10667
10601
  agentIds?: string[] | undefined;
10602
+ direction?: ("inbound" | "outbound")[] | undefined;
10603
+ disposition?: string[] | undefined;
10604
+ sentimentScore?: ("negative" | "positive" | "neutral")[] | undefined;
10605
+ csatScore?: string[] | undefined;
10668
10606
  sla?: "meet" | "unmeet" | undefined;
10669
- contactLabels?: string[] | undefined;
10670
- }, {
10607
+ tags?: string[] | undefined;
10671
10608
  name?: string | undefined;
10672
- channel?: string[] | undefined;
10673
- address?: string | undefined;
10674
- disposition?: string[] | undefined;
10675
- direction?: ("inbound" | "outbound")[] | undefined;
10676
- page?: number | undefined;
10609
+ contactLabels?: string[] | undefined;
10677
10610
  email?: string | undefined;
10678
- pageSize?: number | undefined;
10611
+ channel?: string[] | undefined;
10679
10612
  phone?: string | undefined;
10613
+ notes?: string | undefined;
10614
+ address?: string | undefined;
10615
+ company?: string[] | undefined;
10680
10616
  customFields?: {
10681
- value: string | string[];
10617
+ value: (string | string[]) & (string | string[] | undefined);
10682
10618
  attributeId: string;
10683
10619
  type?: string | undefined;
10684
10620
  }[] | undefined;
10685
- company?: string[] | undefined;
10686
- notes?: string | undefined;
10687
- tags?: string[] | undefined;
10688
- sentimentScore?: ("negative" | "positive" | "neutral")[] | undefined;
10689
- csatScore?: string[] | undefined;
10690
- queueId?: string[] | undefined;
10621
+ selectedDate?: string | undefined;
10622
+ }, {
10623
+ page?: number | undefined;
10624
+ pageSize?: number | undefined;
10691
10625
  contactId?: string | undefined;
10692
- trunks?: string[] | undefined;
10693
10626
  caseId?: string | undefined;
10694
- selectedDate?: string | undefined;
10695
10627
  channelIds?: string[] | undefined;
10628
+ trunks?: string[] | undefined;
10629
+ queueId?: string[] | undefined;
10696
10630
  agentIds?: string[] | undefined;
10631
+ direction?: ("inbound" | "outbound")[] | undefined;
10632
+ disposition?: string[] | undefined;
10633
+ sentimentScore?: ("negative" | "positive" | "neutral")[] | undefined;
10634
+ csatScore?: string[] | undefined;
10697
10635
  sla?: "meet" | "unmeet" | undefined;
10636
+ tags?: string[] | undefined;
10637
+ name?: string | undefined;
10698
10638
  contactLabels?: string[] | undefined;
10639
+ email?: string | undefined;
10640
+ channel?: string[] | undefined;
10641
+ phone?: string | undefined;
10642
+ notes?: string | undefined;
10643
+ address?: string | undefined;
10644
+ company?: string[] | undefined;
10645
+ customFields?: {
10646
+ value: (string | string[]) & (string | string[] | undefined);
10647
+ attributeId: string;
10648
+ type?: string | undefined;
10649
+ }[] | undefined;
10650
+ selectedDate?: string | undefined;
10699
10651
  }>>;
10700
- path: "ms/cx-logs/export";
10701
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
10702
- 'x-tenant': z.ZodString;
10703
- 'x-service-token': z.ZodString;
10704
- 'x-code': z.ZodOptional<z.ZodString>;
10705
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
10706
- }, "strip", z.ZodTypeAny, {
10707
- 'x-tenant': string;
10708
- 'x-service-token': string;
10709
- 'x-client-timezone': string;
10710
- 'x-code'?: string | undefined;
10711
- }, {
10712
- 'x-tenant': string;
10713
- 'x-service-token': string;
10714
- 'x-code'?: string | undefined;
10715
- 'x-client-timezone'?: string | undefined;
10716
- }>>>;
10717
10652
  responses: {
10718
10653
  200: null;
10719
10654
  401: z.ZodObject<{
@@ -10727,12 +10662,7 @@ export declare const cxLogContract: {
10727
10662
  error?: any;
10728
10663
  }>;
10729
10664
  };
10730
- };
10731
- syncSla: {
10732
- body: null;
10733
- summary: "Export cx-logs";
10734
- method: "POST";
10735
- path: "ms/cx-logs/sync-sla";
10665
+ path: "ms/cx-logs/export";
10736
10666
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
10737
10667
  'x-tenant': z.ZodString;
10738
10668
  'x-service-token': z.ZodString;
@@ -10749,6 +10679,11 @@ export declare const cxLogContract: {
10749
10679
  'x-code'?: string | undefined;
10750
10680
  'x-client-timezone'?: string | undefined;
10751
10681
  }>>>;
10682
+ };
10683
+ syncSla: {
10684
+ body: null;
10685
+ summary: "Export cx-logs";
10686
+ method: "POST";
10752
10687
  responses: {
10753
10688
  200: null;
10754
10689
  401: z.ZodObject<{
@@ -10772,6 +10707,23 @@ export declare const cxLogContract: {
10772
10707
  error?: any;
10773
10708
  }>;
10774
10709
  };
10710
+ path: "ms/cx-logs/sync-sla";
10711
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
10712
+ 'x-tenant': z.ZodString;
10713
+ 'x-service-token': z.ZodString;
10714
+ 'x-code': z.ZodOptional<z.ZodString>;
10715
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
10716
+ }, "strip", z.ZodTypeAny, {
10717
+ 'x-tenant': string;
10718
+ 'x-service-token': string;
10719
+ 'x-client-timezone': string;
10720
+ 'x-code'?: string | undefined;
10721
+ }, {
10722
+ 'x-tenant': string;
10723
+ 'x-service-token': string;
10724
+ 'x-code'?: string | undefined;
10725
+ 'x-client-timezone'?: string | undefined;
10726
+ }>>>;
10775
10727
  };
10776
10728
  updateSla: {
10777
10729
  body: z.ZodObject<{
@@ -10785,17 +10737,6 @@ export declare const cxLogContract: {
10785
10737
  slaStatus: "meet" | "unmeet" | "-";
10786
10738
  }>;
10787
10739
  method: "POST";
10788
- path: "ms/cx-logs";
10789
- headers: z.ZodObject<{
10790
- 'x-tenant': z.ZodString;
10791
- 'x-code': z.ZodOptional<z.ZodString>;
10792
- }, "strip", z.ZodTypeAny, {
10793
- 'x-tenant': string;
10794
- 'x-code'?: string | undefined;
10795
- }, {
10796
- 'x-tenant': string;
10797
- 'x-code'?: string | undefined;
10798
- }>;
10799
10740
  responses: {
10800
10741
  200: null;
10801
10742
  403: z.ZodObject<{
@@ -10829,6 +10770,17 @@ export declare const cxLogContract: {
10829
10770
  error?: any;
10830
10771
  }>;
10831
10772
  };
10773
+ path: "ms/cx-logs";
10774
+ headers: z.ZodObject<{
10775
+ 'x-tenant': z.ZodString;
10776
+ 'x-code': z.ZodOptional<z.ZodString>;
10777
+ }, "strip", z.ZodTypeAny, {
10778
+ 'x-tenant': string;
10779
+ 'x-code'?: string | undefined;
10780
+ }, {
10781
+ 'x-tenant': string;
10782
+ 'x-code'?: string | undefined;
10783
+ }>;
10832
10784
  };
10833
10785
  };
10834
10786
  //# sourceMappingURL=index.d.ts.map