@kl1/contracts 1.2.27-uat → 1.2.28-uat

Sign up to get free protection for your applications and to get access to all the features.
Files changed (234) hide show
  1. package/dist/api-contracts/src/activity-log/index.d.ts +17 -17
  2. package/dist/api-contracts/src/attribute/index.d.ts +148 -164
  3. package/dist/api-contracts/src/attribute/index.d.ts.map +1 -1
  4. package/dist/api-contracts/src/attribute/schema.d.ts +8 -11
  5. package/dist/api-contracts/src/attribute/schema.d.ts.map +1 -1
  6. package/dist/api-contracts/src/attribute-option/schema.d.ts +2 -3
  7. package/dist/api-contracts/src/attribute-option/schema.d.ts.map +1 -1
  8. package/dist/api-contracts/src/auth/index.d.ts +47 -51
  9. package/dist/api-contracts/src/auth/index.d.ts.map +1 -1
  10. package/dist/api-contracts/src/automation-queue/index.d.ts +31 -43
  11. package/dist/api-contracts/src/automation-queue/index.d.ts.map +1 -1
  12. package/dist/api-contracts/src/automation-queue/schema.d.ts +2 -3
  13. package/dist/api-contracts/src/automation-queue/schema.d.ts.map +1 -1
  14. package/dist/api-contracts/src/aws/index.d.ts +6 -8
  15. package/dist/api-contracts/src/aws/index.d.ts.map +1 -1
  16. package/dist/api-contracts/src/botpress/index.d.ts +13 -17
  17. package/dist/api-contracts/src/botpress/index.d.ts.map +1 -1
  18. package/dist/api-contracts/src/business-calendar/index.d.ts +28 -40
  19. package/dist/api-contracts/src/business-calendar/index.d.ts.map +1 -1
  20. package/dist/api-contracts/src/business-calendar/schema.d.ts +10 -15
  21. package/dist/api-contracts/src/business-calendar/schema.d.ts.map +1 -1
  22. package/dist/api-contracts/src/call-log/schema.d.ts +4 -5
  23. package/dist/api-contracts/src/call-log/schema.d.ts.map +1 -1
  24. package/dist/api-contracts/src/category/index.d.ts +109 -118
  25. package/dist/api-contracts/src/category/index.d.ts.map +1 -1
  26. package/dist/api-contracts/src/category/schema.d.ts +2 -3
  27. package/dist/api-contracts/src/category/schema.d.ts.map +1 -1
  28. package/dist/api-contracts/src/channel/index.d.ts +1216 -1062
  29. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  30. package/dist/api-contracts/src/channel/schema.d.ts +50 -38
  31. package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
  32. package/dist/api-contracts/src/channel/validation.d.ts +66 -52
  33. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  34. package/dist/api-contracts/src/chat/index.d.ts +14158 -10902
  35. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  36. package/dist/api-contracts/src/chat/schema.d.ts +3223 -2468
  37. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  38. package/dist/api-contracts/src/chat/validation.d.ts +3259 -2794
  39. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  40. package/dist/api-contracts/src/comment/index.d.ts +224 -281
  41. package/dist/api-contracts/src/comment/index.d.ts.map +1 -1
  42. package/dist/api-contracts/src/comment/schema.d.ts +50 -68
  43. package/dist/api-contracts/src/comment/schema.d.ts.map +1 -1
  44. package/dist/api-contracts/src/comment/validation.d.ts +1 -1
  45. package/dist/api-contracts/src/company/index.d.ts +109 -136
  46. package/dist/api-contracts/src/company/index.d.ts.map +1 -1
  47. package/dist/api-contracts/src/company/schema.d.ts +24 -33
  48. package/dist/api-contracts/src/company/schema.d.ts.map +1 -1
  49. package/dist/api-contracts/src/company/validation.d.ts +62 -78
  50. package/dist/api-contracts/src/company/validation.d.ts.map +1 -1
  51. package/dist/api-contracts/src/contact/index.d.ts +559 -677
  52. package/dist/api-contracts/src/contact/index.d.ts.map +1 -1
  53. package/dist/api-contracts/src/contact/schema.d.ts +42 -56
  54. package/dist/api-contracts/src/contact/schema.d.ts.map +1 -1
  55. package/dist/api-contracts/src/contact/validation.d.ts +218 -299
  56. package/dist/api-contracts/src/contact/validation.d.ts.map +1 -1
  57. package/dist/api-contracts/src/contact-email/schema.d.ts +2 -3
  58. package/dist/api-contracts/src/contact-email/schema.d.ts.map +1 -1
  59. package/dist/api-contracts/src/contact-phone/schema.d.ts +2 -3
  60. package/dist/api-contracts/src/contact-phone/schema.d.ts.map +1 -1
  61. package/dist/api-contracts/src/contract.d.ts +28558 -25032
  62. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  63. package/dist/api-contracts/src/custom-field/schema.d.ts +2 -3
  64. package/dist/api-contracts/src/custom-field/schema.d.ts.map +1 -1
  65. package/dist/api-contracts/src/custom-field/validation.d.ts +2 -2
  66. package/dist/api-contracts/src/custom-field-upload/schema.d.ts +2 -3
  67. package/dist/api-contracts/src/custom-field-upload/schema.d.ts.map +1 -1
  68. package/dist/api-contracts/src/cx-log/index.d.ts +651 -678
  69. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  70. package/dist/api-contracts/src/cx-log/schema.d.ts +425 -457
  71. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  72. package/dist/api-contracts/src/cx-log/validation.d.ts +39 -39
  73. package/dist/api-contracts/src/dashboard/index.d.ts +333 -374
  74. package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
  75. package/dist/api-contracts/src/dashboard/schema.d.ts +4 -5
  76. package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
  77. package/dist/api-contracts/src/dashboard/validation.d.ts +18 -24
  78. package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
  79. package/dist/api-contracts/src/evaluate-form/index.d.ts +3 -4
  80. package/dist/api-contracts/src/evaluate-form/index.d.ts.map +1 -1
  81. package/dist/api-contracts/src/evaluate-form/schema.d.ts +2 -3
  82. package/dist/api-contracts/src/evaluate-form/schema.d.ts.map +1 -1
  83. package/dist/api-contracts/src/export/index.d.ts +3 -4
  84. package/dist/api-contracts/src/export/index.d.ts.map +1 -1
  85. package/dist/api-contracts/src/extension/index.d.ts +112 -118
  86. package/dist/api-contracts/src/extension/index.d.ts.map +1 -1
  87. package/dist/api-contracts/src/facebook-feed/index.d.ts +2367 -1871
  88. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  89. package/dist/api-contracts/src/facebook-feed/schema.d.ts +74 -76
  90. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  91. package/dist/api-contracts/src/facebook-feed/validation.d.ts +86 -96
  92. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  93. package/dist/api-contracts/src/general-setting/index.d.ts +2 -2
  94. package/dist/api-contracts/src/group/schema.d.ts +2 -3
  95. package/dist/api-contracts/src/group/schema.d.ts.map +1 -1
  96. package/dist/api-contracts/src/hold-label/index.d.ts +160 -39
  97. package/dist/api-contracts/src/hold-label/index.d.ts.map +1 -1
  98. package/dist/api-contracts/src/hold-label/schema.d.ts +27 -3
  99. package/dist/api-contracts/src/hold-label/schema.d.ts.map +1 -1
  100. package/dist/api-contracts/src/hold-label/validation.d.ts +10 -0
  101. package/dist/api-contracts/src/hold-label/validation.d.ts.map +1 -1
  102. package/dist/api-contracts/src/instagram/index.d.ts +2302 -1815
  103. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  104. package/dist/api-contracts/src/instagram/validation.d.ts +6 -6
  105. package/dist/api-contracts/src/line/index.d.ts +3429 -2954
  106. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  107. package/dist/api-contracts/src/line/schema.d.ts +11 -12
  108. package/dist/api-contracts/src/line/schema.d.ts.map +1 -1
  109. package/dist/api-contracts/src/line/validation.d.ts +114 -103
  110. package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
  111. package/dist/api-contracts/src/log-form/schema.d.ts +2 -3
  112. package/dist/api-contracts/src/log-form/schema.d.ts.map +1 -1
  113. package/dist/api-contracts/src/mail/account-contract.d.ts +174 -184
  114. package/dist/api-contracts/src/mail/account-contract.d.ts.map +1 -1
  115. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts +3 -4
  116. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts.map +1 -1
  117. package/dist/api-contracts/src/mail/mail-contract.d.ts +416 -461
  118. package/dist/api-contracts/src/mail/mail-contract.d.ts.map +1 -1
  119. package/dist/api-contracts/src/mail/mail-server-contract.d.ts +18 -24
  120. package/dist/api-contracts/src/mail/mail-server-contract.d.ts.map +1 -1
  121. package/dist/api-contracts/src/mail/message-contract.d.ts +107 -113
  122. package/dist/api-contracts/src/mail/message-contract.d.ts.map +1 -1
  123. package/dist/api-contracts/src/mail/room-contract.d.ts +65 -88
  124. package/dist/api-contracts/src/mail/room-contract.d.ts.map +1 -1
  125. package/dist/api-contracts/src/mail/schemas/message-validation.schema.d.ts +16 -16
  126. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +18 -22
  127. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
  128. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +10 -15
  129. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts.map +1 -1
  130. package/dist/api-contracts/src/messenger/index.d.ts +2060 -1575
  131. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  132. package/dist/api-contracts/src/messenger/validation.d.ts +86 -96
  133. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  134. package/dist/api-contracts/src/notification/index.d.ts +12 -16
  135. package/dist/api-contracts/src/notification/index.d.ts.map +1 -1
  136. package/dist/api-contracts/src/permission/index.d.ts +17 -17
  137. package/dist/api-contracts/src/presence-status/index.d.ts +81 -84
  138. package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
  139. package/dist/api-contracts/src/public-api/index.d.ts +196 -260
  140. package/dist/api-contracts/src/public-api/index.d.ts.map +1 -1
  141. package/dist/api-contracts/src/public-api/schema.d.ts +34 -48
  142. package/dist/api-contracts/src/public-api/schema.d.ts.map +1 -1
  143. package/dist/api-contracts/src/public-api/validation.d.ts +88 -113
  144. package/dist/api-contracts/src/public-api/validation.d.ts.map +1 -1
  145. package/dist/api-contracts/src/role/index.d.ts +83 -88
  146. package/dist/api-contracts/src/role/index.d.ts.map +1 -1
  147. package/dist/api-contracts/src/sms/index.d.ts +174 -155
  148. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  149. package/dist/api-contracts/src/snippet/index.d.ts +54 -76
  150. package/dist/api-contracts/src/snippet/index.d.ts.map +1 -1
  151. package/dist/api-contracts/src/snippet/schema.d.ts +14 -21
  152. package/dist/api-contracts/src/snippet/schema.d.ts.map +1 -1
  153. package/dist/api-contracts/src/snippet/validation.d.ts +4 -5
  154. package/dist/api-contracts/src/snippet/validation.d.ts.map +1 -1
  155. package/dist/api-contracts/src/subscription/index.d.ts +49 -71
  156. package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
  157. package/dist/api-contracts/src/subscription/schema.d.ts +60 -90
  158. package/dist/api-contracts/src/subscription/schema.d.ts.map +1 -1
  159. package/dist/api-contracts/src/tag/index.d.ts +72 -79
  160. package/dist/api-contracts/src/tag/index.d.ts.map +1 -1
  161. package/dist/api-contracts/src/tag/schema.d.ts +2 -3
  162. package/dist/api-contracts/src/tag/schema.d.ts.map +1 -1
  163. package/dist/api-contracts/src/tag-group/schema.d.ts +2 -3
  164. package/dist/api-contracts/src/tag-group/schema.d.ts.map +1 -1
  165. package/dist/api-contracts/src/telegram/index.d.ts +2165 -1706
  166. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  167. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +54 -58
  168. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  169. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +2 -3
  170. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  171. package/dist/api-contracts/src/telephony-cdr/call-report.schema.d.ts +38 -38
  172. package/dist/api-contracts/src/telephony-cdr/index.d.ts +1137 -1202
  173. package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
  174. package/dist/api-contracts/src/telephony-cdr/schema.d.ts +166 -186
  175. package/dist/api-contracts/src/telephony-cdr/schema.d.ts.map +1 -1
  176. package/dist/api-contracts/src/telephony-cdr/validation.d.ts +45 -52
  177. package/dist/api-contracts/src/telephony-cdr/validation.d.ts.map +1 -1
  178. package/dist/api-contracts/src/telephony-extension/index.d.ts +21 -21
  179. package/dist/api-contracts/src/telephony-extension/schema.d.ts +4 -4
  180. package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts +2 -3
  181. package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts.map +1 -1
  182. package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts +2 -3
  183. package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts.map +1 -1
  184. package/dist/api-contracts/src/tenant/schema.d.ts +2 -3
  185. package/dist/api-contracts/src/tenant/schema.d.ts.map +1 -1
  186. package/dist/api-contracts/src/ticket/index.d.ts +626 -725
  187. package/dist/api-contracts/src/ticket/index.d.ts.map +1 -1
  188. package/dist/api-contracts/src/ticket/schema.d.ts +58 -81
  189. package/dist/api-contracts/src/ticket/schema.d.ts.map +1 -1
  190. package/dist/api-contracts/src/ticket/validation.d.ts +55 -57
  191. package/dist/api-contracts/src/ticket/validation.d.ts.map +1 -1
  192. package/dist/api-contracts/src/upload/index.d.ts +34 -36
  193. package/dist/api-contracts/src/upload/index.d.ts.map +1 -1
  194. package/dist/api-contracts/src/upload/schema.d.ts +2 -3
  195. package/dist/api-contracts/src/upload/schema.d.ts.map +1 -1
  196. package/dist/api-contracts/src/user/index.d.ts +108 -114
  197. package/dist/api-contracts/src/user/index.d.ts.map +1 -1
  198. package/dist/api-contracts/src/user/validation.d.ts +4 -5
  199. package/dist/api-contracts/src/user/validation.d.ts.map +1 -1
  200. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +31 -32
  201. package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
  202. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +2 -3
  203. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
  204. package/dist/api-contracts/src/viber/index.d.ts +1799 -1340
  205. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  206. package/dist/api-contracts/src/webchat/index.d.ts +8313 -6832
  207. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  208. package/dist/api-contracts/src/whatsapp/index.d.ts +1781 -1309
  209. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  210. package/dist/api-contracts/src/whatsapp/validation.d.ts +2 -3
  211. package/dist/api-contracts/src/whatsapp/validation.d.ts.map +1 -1
  212. package/dist/api-contracts/src/widget/index.d.ts +128 -139
  213. package/dist/api-contracts/src/widget/index.d.ts.map +1 -1
  214. package/dist/api-contracts/src/widget/schema.d.ts +2 -3
  215. package/dist/api-contracts/src/widget/schema.d.ts.map +1 -1
  216. package/dist/api-contracts/src/workflow-rule/index.d.ts +2013 -1696
  217. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  218. package/dist/api-contracts/src/workflow-rule/schema.d.ts +2 -3
  219. package/dist/api-contracts/src/workflow-rule/schema.d.ts.map +1 -1
  220. package/dist/api-contracts/src/wrap-up-form/index.d.ts +147 -166
  221. package/dist/api-contracts/src/wrap-up-form/index.d.ts.map +1 -1
  222. package/dist/api-contracts/src/wrap-up-form/schema.d.ts +6 -9
  223. package/dist/api-contracts/src/wrap-up-form/schema.d.ts.map +1 -1
  224. package/dist/api-contracts/src/wrap-up-form/validation.d.ts +20 -21
  225. package/dist/api-contracts/src/wrap-up-form/validation.d.ts.map +1 -1
  226. package/dist/api-contracts/utils.d.ts +3 -4
  227. package/dist/api-contracts/utils.d.ts.map +1 -1
  228. package/dist/entities/src/enums/chat.d.ts +3 -0
  229. package/dist/entities/src/enums/chat.d.ts.map +1 -1
  230. package/dist/index.js +3245 -3172
  231. package/dist/index.js.map +1 -1
  232. package/dist/index.mjs +3245 -3172
  233. package/dist/index.mjs.map +1 -1
  234. 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: "/cx-logs";
107
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
108
- 'x-tenant': z.ZodString;
109
- authorization: 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
- authorization: string;
115
- 'x-client-timezone': string;
116
- 'x-code'?: string | undefined;
117
- }, {
118
- 'x-tenant': string;
119
- authorization: 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;
@@ -148,16 +129,15 @@ export declare const cxLogContract: {
148
129
  resolutionDate: z.ZodString;
149
130
  wrapUpDuration: z.ZodString;
150
131
  slaMeet: z.ZodNullable<z.ZodString>;
151
- evaluateForm: z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
132
+ evaluateForm: z.ZodNullable<z.ZodObject<{
152
133
  id: z.ZodString;
153
134
  createdAt: z.ZodDate;
154
135
  updatedAt: z.ZodDate;
155
136
  deletedAt: z.ZodNullable<z.ZodDate>;
156
- }, {
157
137
  cxLogId: z.ZodString;
158
138
  sentimentScore: z.ZodOptional<z.ZodNullable<z.ZodString>>;
159
139
  csatScore: z.ZodOptional<z.ZodNullable<z.ZodString>>;
160
- }>, "strip", z.ZodTypeAny, {
140
+ }, "strip", z.ZodTypeAny, {
161
141
  id: string;
162
142
  createdAt: Date;
163
143
  updatedAt: Date;
@@ -174,23 +154,21 @@ export declare const cxLogContract: {
174
154
  sentimentScore?: string | null | undefined;
175
155
  csatScore?: string | null | undefined;
176
156
  }>>;
177
- wrapUpForm: z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
157
+ wrapUpForm: z.ZodNullable<z.ZodObject<{
178
158
  id: z.ZodString;
179
159
  createdAt: z.ZodDate;
180
160
  updatedAt: z.ZodDate;
181
161
  deletedAt: z.ZodNullable<z.ZodDate>;
182
- }, {
183
162
  note: z.ZodNullable<z.ZodString>;
184
163
  disposition: z.ZodNullable<z.ZodString>;
185
164
  type: z.ZodString;
186
- tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
165
+ tags: z.ZodArray<z.ZodObject<{
187
166
  id: z.ZodString;
188
167
  createdAt: z.ZodDate;
189
168
  updatedAt: z.ZodDate;
190
169
  deletedAt: z.ZodNullable<z.ZodDate>;
191
- }, {
192
170
  name: z.ZodString;
193
- }>, "strip", z.ZodTypeAny, {
171
+ }, "strip", z.ZodTypeAny, {
194
172
  name: string;
195
173
  id: string;
196
174
  createdAt: Date;
@@ -203,12 +181,11 @@ export declare const cxLogContract: {
203
181
  updatedAt: Date;
204
182
  deletedAt: Date | null;
205
183
  }>, "many">;
206
- categories: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
184
+ categories: z.ZodArray<z.ZodObject<{
207
185
  id: z.ZodString;
208
186
  createdAt: z.ZodDate;
209
187
  updatedAt: z.ZodDate;
210
188
  deletedAt: z.ZodNullable<z.ZodDate>;
211
- }, {
212
189
  value: z.ZodString;
213
190
  level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
214
191
  parentId: z.ZodNullable<z.ZodString>;
@@ -261,7 +238,7 @@ export declare const cxLogContract: {
261
238
  childCategoryList: any[];
262
239
  }[];
263
240
  }>, "many">;
264
- }>, "strip", z.ZodTypeAny, {
241
+ }, "strip", z.ZodTypeAny, {
265
242
  id: string;
266
243
  value: string;
267
244
  createdAt: Date;
@@ -340,7 +317,7 @@ export declare const cxLogContract: {
340
317
  numberValue: number | null;
341
318
  dateValue: Date | null;
342
319
  }>, "many">>>;
343
- }>, "strip", z.ZodTypeAny, {
320
+ }, "strip", z.ZodTypeAny, {
344
321
  type: string;
345
322
  id: string;
346
323
  disposition: string | null;
@@ -491,14 +468,13 @@ export declare const cxLogContract: {
491
468
  notes: z.ZodNullable<z.ZodString>;
492
469
  contactProfile: z.ZodNullable<z.ZodString>;
493
470
  socialProfileUrl: z.ZodNullable<z.ZodString>;
494
- tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
471
+ tags: z.ZodArray<z.ZodObject<{
495
472
  id: z.ZodString;
496
473
  createdAt: z.ZodDate;
497
474
  updatedAt: z.ZodDate;
498
475
  deletedAt: z.ZodNullable<z.ZodDate>;
499
- }, {
500
476
  name: z.ZodString;
501
- }>, "strip", z.ZodTypeAny, {
477
+ }, "strip", z.ZodTypeAny, {
502
478
  name: string;
503
479
  id: string;
504
480
  createdAt: Date;
@@ -511,32 +487,29 @@ export declare const cxLogContract: {
511
487
  updatedAt: Date;
512
488
  deletedAt: Date | null;
513
489
  }>, "many">;
514
- company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
490
+ company: z.ZodNullable<z.ZodObject<Omit<{
515
491
  id: z.ZodString;
516
492
  createdAt: z.ZodDate;
517
493
  updatedAt: z.ZodDate;
518
494
  deletedAt: z.ZodNullable<z.ZodDate>;
519
- }, {
520
495
  name: z.ZodOptional<z.ZodString>;
521
496
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
522
497
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
523
498
  industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
524
- customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
499
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
525
500
  id: z.ZodString;
526
501
  createdAt: z.ZodDate;
527
502
  updatedAt: z.ZodDate;
528
503
  deletedAt: z.ZodNullable<z.ZodDate>;
529
- }, {
530
504
  textValue: z.ZodNullable<z.ZodString>;
531
505
  booleanValue: z.ZodNullable<z.ZodBoolean>;
532
506
  numberValue: z.ZodNullable<z.ZodNumber>;
533
507
  dateValue: z.ZodNullable<z.ZodDate>;
534
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
508
+ attribute: z.ZodObject<Omit<{
535
509
  id: z.ZodString;
536
510
  createdAt: z.ZodDate;
537
511
  updatedAt: z.ZodDate;
538
512
  deletedAt: z.ZodNullable<z.ZodDate>;
539
- }, {
540
513
  systemName: z.ZodString;
541
514
  displayName: z.ZodString;
542
515
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -545,14 +518,13 @@ export declare const cxLogContract: {
545
518
  isArchived: z.ZodBoolean;
546
519
  isRequired: z.ZodBoolean;
547
520
  isUnique: z.ZodBoolean;
548
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
549
- label: z.ZodString;
521
+ options: z.ZodArray<z.ZodObject<{
522
+ position: z.ZodNumber;
550
523
  value: z.ZodString;
524
+ label: z.ZodString;
551
525
  isDefault: z.ZodBoolean;
552
- position: z.ZodNumber;
553
- }, {
554
526
  id: z.ZodString;
555
- }>, "strip", z.ZodTypeAny, {
527
+ }, "strip", z.ZodTypeAny, {
556
528
  id: string;
557
529
  position: number;
558
530
  value: string;
@@ -565,15 +537,14 @@ export declare const cxLogContract: {
565
537
  label: string;
566
538
  isDefault: boolean;
567
539
  }>, "many">;
568
- group: z.ZodObject<z.objectUtil.extendShape<{
540
+ group: z.ZodObject<{
569
541
  id: z.ZodString;
570
542
  createdAt: z.ZodDate;
571
543
  updatedAt: z.ZodDate;
572
544
  deletedAt: z.ZodNullable<z.ZodDate>;
573
- }, {
574
545
  systemName: z.ZodString;
575
546
  displayName: z.ZodString;
576
- }>, "strip", z.ZodTypeAny, {
547
+ }, "strip", z.ZodTypeAny, {
577
548
  id: string;
578
549
  createdAt: Date;
579
550
  updatedAt: Date;
@@ -588,7 +559,7 @@ export declare const cxLogContract: {
588
559
  systemName: string;
589
560
  displayName: string;
590
561
  }>;
591
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
562
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
592
563
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
593
564
  id: string;
594
565
  position: number;
@@ -615,7 +586,7 @@ export declare const cxLogContract: {
615
586
  isRequired: boolean;
616
587
  isUnique: boolean;
617
588
  }>;
618
- }>, "strip", z.ZodTypeAny, {
589
+ }, "strip", z.ZodTypeAny, {
619
590
  id: string;
620
591
  createdAt: Date;
621
592
  updatedAt: Date;
@@ -662,7 +633,7 @@ export declare const cxLogContract: {
662
633
  numberValue: number | null;
663
634
  dateValue: Date | null;
664
635
  }>, "many">>;
665
- }>, "customFields">, "strip", z.ZodTypeAny, {
636
+ }, "customFields">, "strip", z.ZodTypeAny, {
666
637
  id: string;
667
638
  createdAt: Date;
668
639
  updatedAt: Date;
@@ -743,12 +714,11 @@ export declare const cxLogContract: {
743
714
  booleanValue: z.ZodNullable<z.ZodBoolean>;
744
715
  numberValue: z.ZodNullable<z.ZodNumber>;
745
716
  dateValue: z.ZodNullable<z.ZodDate>;
746
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
717
+ attribute: z.ZodObject<Omit<{
747
718
  id: z.ZodString;
748
719
  createdAt: z.ZodDate;
749
720
  updatedAt: z.ZodDate;
750
721
  deletedAt: z.ZodNullable<z.ZodDate>;
751
- }, {
752
722
  systemName: z.ZodString;
753
723
  displayName: z.ZodString;
754
724
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -757,14 +727,13 @@ export declare const cxLogContract: {
757
727
  isArchived: z.ZodBoolean;
758
728
  isRequired: z.ZodBoolean;
759
729
  isUnique: z.ZodBoolean;
760
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
761
- label: z.ZodString;
730
+ options: z.ZodArray<z.ZodObject<{
731
+ position: z.ZodNumber;
762
732
  value: z.ZodString;
733
+ label: z.ZodString;
763
734
  isDefault: z.ZodBoolean;
764
- position: z.ZodNumber;
765
- }, {
766
735
  id: z.ZodString;
767
- }>, "strip", z.ZodTypeAny, {
736
+ }, "strip", z.ZodTypeAny, {
768
737
  id: string;
769
738
  position: number;
770
739
  value: string;
@@ -777,15 +746,14 @@ export declare const cxLogContract: {
777
746
  label: string;
778
747
  isDefault: boolean;
779
748
  }>, "many">;
780
- group: z.ZodObject<z.objectUtil.extendShape<{
749
+ group: z.ZodObject<{
781
750
  id: z.ZodString;
782
751
  createdAt: z.ZodDate;
783
752
  updatedAt: z.ZodDate;
784
753
  deletedAt: z.ZodNullable<z.ZodDate>;
785
- }, {
786
754
  systemName: z.ZodString;
787
755
  displayName: z.ZodString;
788
- }>, "strip", z.ZodTypeAny, {
756
+ }, "strip", z.ZodTypeAny, {
789
757
  id: string;
790
758
  createdAt: Date;
791
759
  updatedAt: Date;
@@ -800,7 +768,7 @@ export declare const cxLogContract: {
800
768
  systemName: string;
801
769
  displayName: string;
802
770
  }>;
803
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
771
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
804
772
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
805
773
  id: string;
806
774
  position: number;
@@ -827,19 +795,18 @@ export declare const cxLogContract: {
827
795
  isRequired: boolean;
828
796
  isUnique: boolean;
829
797
  }>;
830
- uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
798
+ uploads: z.ZodArray<z.ZodObject<{
831
799
  id: z.ZodString;
832
800
  createdAt: z.ZodDate;
833
801
  updatedAt: z.ZodDate;
834
802
  deletedAt: z.ZodNullable<z.ZodDate>;
835
- }, {
836
803
  bucketName: z.ZodString;
837
804
  fileName: z.ZodString;
838
805
  fileSize: z.ZodNumber;
839
806
  fileKey: z.ZodString;
840
807
  fileUrl: z.ZodNullable<z.ZodString>;
841
808
  status: z.ZodNullable<z.ZodString>;
842
- }>, "strip", z.ZodTypeAny, {
809
+ }, "strip", z.ZodTypeAny, {
843
810
  id: string;
844
811
  status: string | null;
845
812
  createdAt: Date;
@@ -1944,24 +1911,27 @@ export declare const cxLogContract: {
1944
1911
  channelId: z.ZodOptional<z.ZodString>;
1945
1912
  status: z.ZodOptional<z.ZodEnum<["pending", "active"]>>;
1946
1913
  apiKey: z.ZodOptional<z.ZodString>;
1914
+ tier: z.ZodOptional<z.ZodEnum<["basic", "regular", "premium"]>>;
1947
1915
  }, "strip", z.ZodTypeAny, {
1948
1916
  email: string;
1949
1917
  wabaExternalId: string;
1950
1918
  phoneNumberId: string;
1951
- status?: "active" | "pending" | undefined;
1952
- channelId?: string | undefined;
1953
1919
  wabaBusinessId?: string | undefined;
1954
1920
  clientId?: string | undefined;
1921
+ channelId?: string | undefined;
1922
+ status?: "active" | "pending" | undefined;
1955
1923
  apiKey?: string | undefined;
1924
+ tier?: "basic" | "regular" | "premium" | undefined;
1956
1925
  }, {
1957
1926
  email: string;
1958
1927
  wabaExternalId: string;
1959
1928
  phoneNumberId: string;
1960
- status?: "active" | "pending" | undefined;
1961
- channelId?: string | undefined;
1962
1929
  wabaBusinessId?: string | undefined;
1963
1930
  clientId?: string | undefined;
1931
+ channelId?: string | undefined;
1932
+ status?: "active" | "pending" | undefined;
1964
1933
  apiKey?: string | undefined;
1934
+ tier?: "basic" | "regular" | "premium" | undefined;
1965
1935
  }>>;
1966
1936
  vonageCredentials: z.ZodOptional<z.ZodObject<{
1967
1937
  mobileNumber: z.ZodString;
@@ -1982,19 +1952,20 @@ export declare const cxLogContract: {
1982
1952
  name: string;
1983
1953
  id: string;
1984
1954
  accessToken?: string | undefined;
1955
+ channelSecret?: string | undefined;
1956
+ additionalCredentials?: any;
1957
+ senderId?: string | undefined;
1985
1958
  whatsapp?: {
1986
1959
  email: string;
1987
1960
  wabaExternalId: string;
1988
1961
  phoneNumberId: string;
1989
- status?: "active" | "pending" | undefined;
1990
- channelId?: string | undefined;
1991
1962
  wabaBusinessId?: string | undefined;
1992
1963
  clientId?: string | undefined;
1964
+ channelId?: string | undefined;
1965
+ status?: "active" | "pending" | undefined;
1993
1966
  apiKey?: string | undefined;
1967
+ tier?: "basic" | "regular" | "premium" | undefined;
1994
1968
  } | undefined;
1995
- additionalCredentials?: any;
1996
- channelSecret?: string | undefined;
1997
- senderId?: string | undefined;
1998
1969
  vonageCredentials?: {
1999
1970
  apiKey: string;
2000
1971
  mobileNumber: string;
@@ -2006,19 +1977,20 @@ export declare const cxLogContract: {
2006
1977
  name: string;
2007
1978
  id: string;
2008
1979
  accessToken?: string | undefined;
1980
+ channelSecret?: string | undefined;
1981
+ additionalCredentials?: any;
1982
+ senderId?: string | undefined;
2009
1983
  whatsapp?: {
2010
1984
  email: string;
2011
1985
  wabaExternalId: string;
2012
1986
  phoneNumberId: string;
2013
- status?: "active" | "pending" | undefined;
2014
- channelId?: string | undefined;
2015
1987
  wabaBusinessId?: string | undefined;
2016
1988
  clientId?: string | undefined;
1989
+ channelId?: string | undefined;
1990
+ status?: "active" | "pending" | undefined;
2017
1991
  apiKey?: string | undefined;
1992
+ tier?: "basic" | "regular" | "premium" | undefined;
2018
1993
  } | undefined;
2019
- additionalCredentials?: any;
2020
- channelSecret?: string | undefined;
2021
- senderId?: string | undefined;
2022
1994
  vonageCredentials?: {
2023
1995
  apiKey: string;
2024
1996
  mobileNumber: string;
@@ -2264,19 +2236,20 @@ export declare const cxLogContract: {
2264
2236
  name: string;
2265
2237
  id: string;
2266
2238
  accessToken?: string | undefined;
2239
+ channelSecret?: string | undefined;
2240
+ additionalCredentials?: any;
2241
+ senderId?: string | undefined;
2267
2242
  whatsapp?: {
2268
2243
  email: string;
2269
2244
  wabaExternalId: string;
2270
2245
  phoneNumberId: string;
2271
- status?: "active" | "pending" | undefined;
2272
- channelId?: string | undefined;
2273
2246
  wabaBusinessId?: string | undefined;
2274
2247
  clientId?: string | undefined;
2248
+ channelId?: string | undefined;
2249
+ status?: "active" | "pending" | undefined;
2275
2250
  apiKey?: string | undefined;
2251
+ tier?: "basic" | "regular" | "premium" | undefined;
2276
2252
  } | undefined;
2277
- additionalCredentials?: any;
2278
- channelSecret?: string | undefined;
2279
- senderId?: string | undefined;
2280
2253
  vonageCredentials?: {
2281
2254
  apiKey: string;
2282
2255
  mobileNumber: string;
@@ -2353,19 +2326,20 @@ export declare const cxLogContract: {
2353
2326
  name: string;
2354
2327
  id: string;
2355
2328
  accessToken?: string | undefined;
2329
+ channelSecret?: string | undefined;
2330
+ additionalCredentials?: any;
2331
+ senderId?: string | undefined;
2356
2332
  whatsapp?: {
2357
2333
  email: string;
2358
2334
  wabaExternalId: string;
2359
2335
  phoneNumberId: string;
2360
- status?: "active" | "pending" | undefined;
2361
- channelId?: string | undefined;
2362
2336
  wabaBusinessId?: string | undefined;
2363
2337
  clientId?: string | undefined;
2338
+ channelId?: string | undefined;
2339
+ status?: "active" | "pending" | undefined;
2364
2340
  apiKey?: string | undefined;
2341
+ tier?: "basic" | "regular" | "premium" | undefined;
2365
2342
  } | undefined;
2366
- additionalCredentials?: any;
2367
- channelSecret?: string | undefined;
2368
- senderId?: string | undefined;
2369
2343
  vonageCredentials?: {
2370
2344
  apiKey: string;
2371
2345
  mobileNumber: string;
@@ -2445,19 +2419,20 @@ export declare const cxLogContract: {
2445
2419
  name: string;
2446
2420
  id: string;
2447
2421
  accessToken?: string | undefined;
2422
+ channelSecret?: string | undefined;
2423
+ additionalCredentials?: any;
2424
+ senderId?: string | undefined;
2448
2425
  whatsapp?: {
2449
2426
  email: string;
2450
2427
  wabaExternalId: string;
2451
2428
  phoneNumberId: string;
2452
- status?: "active" | "pending" | undefined;
2453
- channelId?: string | undefined;
2454
2429
  wabaBusinessId?: string | undefined;
2455
2430
  clientId?: string | undefined;
2431
+ channelId?: string | undefined;
2432
+ status?: "active" | "pending" | undefined;
2456
2433
  apiKey?: string | undefined;
2434
+ tier?: "basic" | "regular" | "premium" | undefined;
2457
2435
  } | undefined;
2458
- additionalCredentials?: any;
2459
- channelSecret?: string | undefined;
2460
- senderId?: string | undefined;
2461
2436
  vonageCredentials?: {
2462
2437
  apiKey: string;
2463
2438
  mobileNumber: string;
@@ -2763,19 +2738,20 @@ export declare const cxLogContract: {
2763
2738
  name: string;
2764
2739
  id: string;
2765
2740
  accessToken?: string | undefined;
2741
+ channelSecret?: string | undefined;
2742
+ additionalCredentials?: any;
2743
+ senderId?: string | undefined;
2766
2744
  whatsapp?: {
2767
2745
  email: string;
2768
2746
  wabaExternalId: string;
2769
2747
  phoneNumberId: string;
2770
- status?: "active" | "pending" | undefined;
2771
- channelId?: string | undefined;
2772
2748
  wabaBusinessId?: string | undefined;
2773
2749
  clientId?: string | undefined;
2750
+ channelId?: string | undefined;
2751
+ status?: "active" | "pending" | undefined;
2774
2752
  apiKey?: string | undefined;
2753
+ tier?: "basic" | "regular" | "premium" | undefined;
2775
2754
  } | undefined;
2776
- additionalCredentials?: any;
2777
- channelSecret?: string | undefined;
2778
- senderId?: string | undefined;
2779
2755
  vonageCredentials?: {
2780
2756
  apiKey: string;
2781
2757
  mobileNumber: string;
@@ -3072,12 +3048,11 @@ export declare const cxLogContract: {
3072
3048
  };
3073
3049
  } | null;
3074
3050
  }>>;
3075
- telephonyCdr: z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
3051
+ telephonyCdr: z.ZodNullable<z.ZodObject<{
3076
3052
  id: z.ZodString;
3077
3053
  createdAt: z.ZodDate;
3078
3054
  updatedAt: z.ZodDate;
3079
3055
  deletedAt: z.ZodNullable<z.ZodDate>;
3080
- }, {
3081
3056
  uniqueCallId: z.ZodString;
3082
3057
  timeStart: z.ZodString;
3083
3058
  callFrom: z.ZodString;
@@ -3097,14 +3072,13 @@ export declare const cxLogContract: {
3097
3072
  notes: z.ZodNullable<z.ZodString>;
3098
3073
  contactProfile: z.ZodNullable<z.ZodString>;
3099
3074
  socialProfileUrl: z.ZodNullable<z.ZodString>;
3100
- tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
3075
+ tags: z.ZodArray<z.ZodObject<{
3101
3076
  id: z.ZodString;
3102
3077
  createdAt: z.ZodDate;
3103
3078
  updatedAt: z.ZodDate;
3104
3079
  deletedAt: z.ZodNullable<z.ZodDate>;
3105
- }, {
3106
3080
  name: z.ZodString;
3107
- }>, "strip", z.ZodTypeAny, {
3081
+ }, "strip", z.ZodTypeAny, {
3108
3082
  name: string;
3109
3083
  id: string;
3110
3084
  createdAt: Date;
@@ -3117,32 +3091,29 @@ export declare const cxLogContract: {
3117
3091
  updatedAt: Date;
3118
3092
  deletedAt: Date | null;
3119
3093
  }>, "many">;
3120
- company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
3094
+ company: z.ZodNullable<z.ZodObject<Omit<{
3121
3095
  id: z.ZodString;
3122
3096
  createdAt: z.ZodDate;
3123
3097
  updatedAt: z.ZodDate;
3124
3098
  deletedAt: z.ZodNullable<z.ZodDate>;
3125
- }, {
3126
3099
  name: z.ZodOptional<z.ZodString>;
3127
3100
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3128
3101
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3129
3102
  industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3130
- customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
3103
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
3131
3104
  id: z.ZodString;
3132
3105
  createdAt: z.ZodDate;
3133
3106
  updatedAt: z.ZodDate;
3134
3107
  deletedAt: z.ZodNullable<z.ZodDate>;
3135
- }, {
3136
3108
  textValue: z.ZodNullable<z.ZodString>;
3137
3109
  booleanValue: z.ZodNullable<z.ZodBoolean>;
3138
3110
  numberValue: z.ZodNullable<z.ZodNumber>;
3139
3111
  dateValue: z.ZodNullable<z.ZodDate>;
3140
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
3112
+ attribute: z.ZodObject<Omit<{
3141
3113
  id: z.ZodString;
3142
3114
  createdAt: z.ZodDate;
3143
3115
  updatedAt: z.ZodDate;
3144
3116
  deletedAt: z.ZodNullable<z.ZodDate>;
3145
- }, {
3146
3117
  systemName: z.ZodString;
3147
3118
  displayName: z.ZodString;
3148
3119
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -3151,14 +3122,13 @@ export declare const cxLogContract: {
3151
3122
  isArchived: z.ZodBoolean;
3152
3123
  isRequired: z.ZodBoolean;
3153
3124
  isUnique: z.ZodBoolean;
3154
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
3155
- label: z.ZodString;
3125
+ options: z.ZodArray<z.ZodObject<{
3126
+ position: z.ZodNumber;
3156
3127
  value: z.ZodString;
3128
+ label: z.ZodString;
3157
3129
  isDefault: z.ZodBoolean;
3158
- position: z.ZodNumber;
3159
- }, {
3160
3130
  id: z.ZodString;
3161
- }>, "strip", z.ZodTypeAny, {
3131
+ }, "strip", z.ZodTypeAny, {
3162
3132
  id: string;
3163
3133
  position: number;
3164
3134
  value: string;
@@ -3171,15 +3141,14 @@ export declare const cxLogContract: {
3171
3141
  label: string;
3172
3142
  isDefault: boolean;
3173
3143
  }>, "many">;
3174
- group: z.ZodObject<z.objectUtil.extendShape<{
3144
+ group: z.ZodObject<{
3175
3145
  id: z.ZodString;
3176
3146
  createdAt: z.ZodDate;
3177
3147
  updatedAt: z.ZodDate;
3178
3148
  deletedAt: z.ZodNullable<z.ZodDate>;
3179
- }, {
3180
3149
  systemName: z.ZodString;
3181
3150
  displayName: z.ZodString;
3182
- }>, "strip", z.ZodTypeAny, {
3151
+ }, "strip", z.ZodTypeAny, {
3183
3152
  id: string;
3184
3153
  createdAt: Date;
3185
3154
  updatedAt: Date;
@@ -3194,7 +3163,7 @@ export declare const cxLogContract: {
3194
3163
  systemName: string;
3195
3164
  displayName: string;
3196
3165
  }>;
3197
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
3166
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
3198
3167
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
3199
3168
  id: string;
3200
3169
  position: number;
@@ -3221,7 +3190,7 @@ export declare const cxLogContract: {
3221
3190
  isRequired: boolean;
3222
3191
  isUnique: boolean;
3223
3192
  }>;
3224
- }>, "strip", z.ZodTypeAny, {
3193
+ }, "strip", z.ZodTypeAny, {
3225
3194
  id: string;
3226
3195
  createdAt: Date;
3227
3196
  updatedAt: Date;
@@ -3268,7 +3237,7 @@ export declare const cxLogContract: {
3268
3237
  numberValue: number | null;
3269
3238
  dateValue: Date | null;
3270
3239
  }>, "many">>;
3271
- }>, "customFields">, "strip", z.ZodTypeAny, {
3240
+ }, "customFields">, "strip", z.ZodTypeAny, {
3272
3241
  id: string;
3273
3242
  createdAt: Date;
3274
3243
  updatedAt: Date;
@@ -3349,12 +3318,11 @@ export declare const cxLogContract: {
3349
3318
  booleanValue: z.ZodNullable<z.ZodBoolean>;
3350
3319
  numberValue: z.ZodNullable<z.ZodNumber>;
3351
3320
  dateValue: z.ZodNullable<z.ZodDate>;
3352
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
3321
+ attribute: z.ZodObject<Omit<{
3353
3322
  id: z.ZodString;
3354
3323
  createdAt: z.ZodDate;
3355
3324
  updatedAt: z.ZodDate;
3356
3325
  deletedAt: z.ZodNullable<z.ZodDate>;
3357
- }, {
3358
3326
  systemName: z.ZodString;
3359
3327
  displayName: z.ZodString;
3360
3328
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -3363,14 +3331,13 @@ export declare const cxLogContract: {
3363
3331
  isArchived: z.ZodBoolean;
3364
3332
  isRequired: z.ZodBoolean;
3365
3333
  isUnique: z.ZodBoolean;
3366
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
3367
- label: z.ZodString;
3334
+ options: z.ZodArray<z.ZodObject<{
3335
+ position: z.ZodNumber;
3368
3336
  value: z.ZodString;
3337
+ label: z.ZodString;
3369
3338
  isDefault: z.ZodBoolean;
3370
- position: z.ZodNumber;
3371
- }, {
3372
3339
  id: z.ZodString;
3373
- }>, "strip", z.ZodTypeAny, {
3340
+ }, "strip", z.ZodTypeAny, {
3374
3341
  id: string;
3375
3342
  position: number;
3376
3343
  value: string;
@@ -3383,15 +3350,14 @@ export declare const cxLogContract: {
3383
3350
  label: string;
3384
3351
  isDefault: boolean;
3385
3352
  }>, "many">;
3386
- group: z.ZodObject<z.objectUtil.extendShape<{
3353
+ group: z.ZodObject<{
3387
3354
  id: z.ZodString;
3388
3355
  createdAt: z.ZodDate;
3389
3356
  updatedAt: z.ZodDate;
3390
3357
  deletedAt: z.ZodNullable<z.ZodDate>;
3391
- }, {
3392
3358
  systemName: z.ZodString;
3393
3359
  displayName: z.ZodString;
3394
- }>, "strip", z.ZodTypeAny, {
3360
+ }, "strip", z.ZodTypeAny, {
3395
3361
  id: string;
3396
3362
  createdAt: Date;
3397
3363
  updatedAt: Date;
@@ -3406,7 +3372,7 @@ export declare const cxLogContract: {
3406
3372
  systemName: string;
3407
3373
  displayName: string;
3408
3374
  }>;
3409
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
3375
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
3410
3376
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
3411
3377
  id: string;
3412
3378
  position: number;
@@ -3433,19 +3399,18 @@ export declare const cxLogContract: {
3433
3399
  isRequired: boolean;
3434
3400
  isUnique: boolean;
3435
3401
  }>;
3436
- uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
3402
+ uploads: z.ZodArray<z.ZodObject<{
3437
3403
  id: z.ZodString;
3438
3404
  createdAt: z.ZodDate;
3439
3405
  updatedAt: z.ZodDate;
3440
3406
  deletedAt: z.ZodNullable<z.ZodDate>;
3441
- }, {
3442
3407
  bucketName: z.ZodString;
3443
3408
  fileName: z.ZodString;
3444
3409
  fileSize: z.ZodNumber;
3445
3410
  fileKey: z.ZodString;
3446
3411
  fileUrl: z.ZodNullable<z.ZodString>;
3447
3412
  status: z.ZodNullable<z.ZodString>;
3448
- }>, "strip", z.ZodTypeAny, {
3413
+ }, "strip", z.ZodTypeAny, {
3449
3414
  id: string;
3450
3415
  status: string | null;
3451
3416
  createdAt: Date;
@@ -3866,17 +3831,16 @@ export declare const cxLogContract: {
3866
3831
  };
3867
3832
  }[] | undefined;
3868
3833
  }>>;
3869
- telephonyQueue: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
3834
+ telephonyQueue: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3870
3835
  id: z.ZodString;
3871
3836
  createdAt: z.ZodDate;
3872
3837
  updatedAt: z.ZodDate;
3873
3838
  deletedAt: z.ZodNullable<z.ZodDate>;
3874
- }, {
3875
3839
  queueId: z.ZodNumber;
3876
3840
  queueName: z.ZodString;
3877
3841
  queueNumber: z.ZodString;
3878
3842
  maximumWaitingTime: z.ZodNumber;
3879
- }>, "strip", z.ZodTypeAny, {
3843
+ }, "strip", z.ZodTypeAny, {
3880
3844
  id: string;
3881
3845
  createdAt: Date;
3882
3846
  updatedAt: Date;
@@ -3903,19 +3867,18 @@ export declare const cxLogContract: {
3903
3867
  agentRingTime: z.ZodNullable<z.ZodNumber>;
3904
3868
  uploadId: z.ZodNullable<z.ZodString>;
3905
3869
  serialNumber: z.ZodNullable<z.ZodString>;
3906
- upload: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
3870
+ upload: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3907
3871
  id: z.ZodString;
3908
3872
  createdAt: z.ZodDate;
3909
3873
  updatedAt: z.ZodDate;
3910
3874
  deletedAt: z.ZodNullable<z.ZodDate>;
3911
- }, {
3912
3875
  bucketName: z.ZodString;
3913
3876
  fileName: z.ZodString;
3914
3877
  fileSize: z.ZodNumber;
3915
3878
  fileKey: z.ZodString;
3916
3879
  fileUrl: z.ZodNullable<z.ZodString>;
3917
3880
  status: z.ZodNullable<z.ZodString>;
3918
- }>, "strip", z.ZodTypeAny, {
3881
+ }, "strip", z.ZodTypeAny, {
3919
3882
  id: string;
3920
3883
  status: string | null;
3921
3884
  createdAt: Date;
@@ -4350,7 +4313,7 @@ export declare const cxLogContract: {
4350
4313
  updatedAt?: string | undefined;
4351
4314
  }>>>;
4352
4315
  }, "strip", z.ZodTypeAny, {
4353
- callFrom?: {
4316
+ callTo?: {
4354
4317
  id: string;
4355
4318
  user: {
4356
4319
  name: string;
@@ -4376,7 +4339,7 @@ export declare const cxLogContract: {
4376
4339
  createdAt?: string | undefined;
4377
4340
  updatedAt?: string | undefined;
4378
4341
  } | null | undefined;
4379
- callTo?: {
4342
+ callFrom?: {
4380
4343
  id: string;
4381
4344
  user: {
4382
4345
  name: string;
@@ -4403,7 +4366,7 @@ export declare const cxLogContract: {
4403
4366
  updatedAt?: string | undefined;
4404
4367
  } | null | undefined;
4405
4368
  }, {
4406
- callFrom?: {
4369
+ callTo?: {
4407
4370
  id: string;
4408
4371
  user: {
4409
4372
  name: string;
@@ -4429,7 +4392,7 @@ export declare const cxLogContract: {
4429
4392
  createdAt?: string | undefined;
4430
4393
  updatedAt?: string | undefined;
4431
4394
  } | null | undefined;
4432
- callTo?: {
4395
+ callFrom?: {
4433
4396
  id: string;
4434
4397
  user: {
4435
4398
  name: string;
@@ -4458,7 +4421,7 @@ export declare const cxLogContract: {
4458
4421
  }>>;
4459
4422
  isQueueMissedCall: z.ZodBoolean;
4460
4423
  extensionId: z.ZodNullable<z.ZodString>;
4461
- extension: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
4424
+ extension: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4462
4425
  id: z.ZodString;
4463
4426
  createdAt: z.ZodDate;
4464
4427
  updatedAt: z.ZodDate;
@@ -4470,7 +4433,6 @@ export declare const cxLogContract: {
4470
4433
  extensionId: z.ZodNullable<z.ZodString>;
4471
4434
  extensionName: z.ZodString;
4472
4435
  telephonySignature: z.ZodNullable<z.ZodString>;
4473
- }, {
4474
4436
  user: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4475
4437
  id: z.ZodString;
4476
4438
  createdAt: z.ZodDate;
@@ -4675,7 +4637,7 @@ export declare const cxLogContract: {
4675
4637
  telephonySignature: string | null;
4676
4638
  };
4677
4639
  }>>>;
4678
- }>, "strip", z.ZodTypeAny, {
4640
+ }, "strip", z.ZodTypeAny, {
4679
4641
  id: string;
4680
4642
  createdAt: Date;
4681
4643
  updatedAt: Date;
@@ -4790,7 +4752,7 @@ export declare const cxLogContract: {
4790
4752
  }>>>;
4791
4753
  telephonyQueueId: z.ZodNullable<z.ZodString>;
4792
4754
  contactId: z.ZodNullable<z.ZodString>;
4793
- }>, "strip", z.ZodTypeAny, {
4755
+ }, "strip", z.ZodTypeAny, {
4794
4756
  type: string;
4795
4757
  id: string;
4796
4758
  recording: string | null;
@@ -4813,7 +4775,7 @@ export declare const cxLogContract: {
4813
4775
  uploadId: string | null;
4814
4776
  serialNumber: string | null;
4815
4777
  callParticipants: {
4816
- callFrom?: {
4778
+ callTo?: {
4817
4779
  id: string;
4818
4780
  user: {
4819
4781
  name: string;
@@ -4839,7 +4801,7 @@ export declare const cxLogContract: {
4839
4801
  createdAt?: string | undefined;
4840
4802
  updatedAt?: string | undefined;
4841
4803
  } | null | undefined;
4842
- callTo?: {
4804
+ callFrom?: {
4843
4805
  id: string;
4844
4806
  user: {
4845
4807
  name: string;
@@ -4869,72 +4831,15 @@ export declare const cxLogContract: {
4869
4831
  isQueueMissedCall: boolean;
4870
4832
  telephonyQueueId: string | null;
4871
4833
  contactId: string | null;
4872
- extension?: {
4834
+ contact?: {
4835
+ name: string;
4873
4836
  id: string;
4837
+ channel: string | null;
4838
+ address: string | null;
4874
4839
  createdAt: Date;
4875
4840
  updatedAt: Date;
4876
4841
  deletedAt: Date | null;
4877
- userId: string | null;
4878
- sipServerUrl: string;
4879
- sipUserName: string;
4880
- webphoneLoginUser: string;
4881
- extensionId: string | null;
4882
- extensionName: string;
4883
- telephonySignature: string | null;
4884
- user?: {
4885
- name: string;
4886
- id: string;
4887
- address: string | null;
4888
- email: string;
4889
- createdAt: Date;
4890
- updatedAt: Date;
4891
- deletedAt: Date | null;
4892
- emailVerifiedAt: Date | null;
4893
- password: string;
4894
- phone: string | null;
4895
- notificationCount: number | null;
4896
- roles: {
4897
- id: string;
4898
- description: string | null;
4899
- createdAt: Date;
4900
- updatedAt: Date;
4901
- deletedAt: Date | null;
4902
- systemName: string;
4903
- displayName: string;
4904
- permissions: {
4905
- id: string;
4906
- description: string | null;
4907
- createdAt: Date;
4908
- updatedAt: Date;
4909
- deletedAt: Date | null;
4910
- systemName: string;
4911
- displayName: string;
4912
- }[];
4913
- }[];
4914
- extension: {
4915
- id: string;
4916
- createdAt: Date;
4917
- updatedAt: Date;
4918
- deletedAt: Date | null;
4919
- userId: string | null;
4920
- sipServerUrl: string;
4921
- sipUserName: string;
4922
- webphoneLoginUser: string;
4923
- extensionId: string | null;
4924
- extensionName: string;
4925
- telephonySignature: string | null;
4926
- };
4927
- } | null | undefined;
4928
- } | null | undefined;
4929
- contact?: {
4930
- name: string;
4931
- id: string;
4932
- channel: string | null;
4933
- address: string | null;
4934
- createdAt: Date;
4935
- updatedAt: Date;
4936
- deletedAt: Date | null;
4937
- customFields: {
4842
+ customFields: {
4938
4843
  id: string;
4939
4844
  createdAt: Date;
4940
4845
  updatedAt: Date;
@@ -5060,6 +4965,63 @@ export declare const cxLogContract: {
5060
4965
  fileSize: number;
5061
4966
  fileUrl: string | null;
5062
4967
  } | null | undefined;
4968
+ extension?: {
4969
+ id: string;
4970
+ createdAt: Date;
4971
+ updatedAt: Date;
4972
+ deletedAt: Date | null;
4973
+ userId: string | null;
4974
+ sipServerUrl: string;
4975
+ sipUserName: string;
4976
+ webphoneLoginUser: string;
4977
+ extensionId: string | null;
4978
+ extensionName: string;
4979
+ telephonySignature: string | null;
4980
+ user?: {
4981
+ name: string;
4982
+ id: string;
4983
+ address: string | null;
4984
+ email: string;
4985
+ createdAt: Date;
4986
+ updatedAt: Date;
4987
+ deletedAt: Date | null;
4988
+ emailVerifiedAt: Date | null;
4989
+ password: string;
4990
+ phone: string | null;
4991
+ notificationCount: number | null;
4992
+ roles: {
4993
+ id: string;
4994
+ description: string | null;
4995
+ createdAt: Date;
4996
+ updatedAt: Date;
4997
+ deletedAt: Date | null;
4998
+ systemName: string;
4999
+ displayName: string;
5000
+ permissions: {
5001
+ id: string;
5002
+ description: string | null;
5003
+ createdAt: Date;
5004
+ updatedAt: Date;
5005
+ deletedAt: Date | null;
5006
+ systemName: string;
5007
+ displayName: string;
5008
+ }[];
5009
+ }[];
5010
+ extension: {
5011
+ id: string;
5012
+ createdAt: Date;
5013
+ updatedAt: Date;
5014
+ deletedAt: Date | null;
5015
+ userId: string | null;
5016
+ sipServerUrl: string;
5017
+ sipUserName: string;
5018
+ webphoneLoginUser: string;
5019
+ extensionId: string | null;
5020
+ extensionName: string;
5021
+ telephonySignature: string | null;
5022
+ };
5023
+ } | null | undefined;
5024
+ } | null | undefined;
5063
5025
  }, {
5064
5026
  type: string;
5065
5027
  id: string;
@@ -5083,7 +5045,7 @@ export declare const cxLogContract: {
5083
5045
  uploadId: string | null;
5084
5046
  serialNumber: string | null;
5085
5047
  callParticipants: {
5086
- callFrom?: {
5048
+ callTo?: {
5087
5049
  id: string;
5088
5050
  user: {
5089
5051
  name: string;
@@ -5109,7 +5071,7 @@ export declare const cxLogContract: {
5109
5071
  createdAt?: string | undefined;
5110
5072
  updatedAt?: string | undefined;
5111
5073
  } | null | undefined;
5112
- callTo?: {
5074
+ callFrom?: {
5113
5075
  id: string;
5114
5076
  user: {
5115
5077
  name: string;
@@ -5139,63 +5101,6 @@ export declare const cxLogContract: {
5139
5101
  isQueueMissedCall: boolean;
5140
5102
  telephonyQueueId: string | null;
5141
5103
  contactId: string | null;
5142
- extension?: {
5143
- id: string;
5144
- createdAt: Date;
5145
- updatedAt: Date;
5146
- deletedAt: Date | null;
5147
- userId: string | null;
5148
- sipServerUrl: string;
5149
- sipUserName: string;
5150
- webphoneLoginUser: string;
5151
- extensionId: string | null;
5152
- extensionName: string;
5153
- telephonySignature: string | null;
5154
- user?: {
5155
- name: string;
5156
- id: string;
5157
- address: string | null;
5158
- email: string;
5159
- createdAt: Date;
5160
- updatedAt: Date;
5161
- deletedAt: Date | null;
5162
- emailVerifiedAt: Date | null;
5163
- password: string;
5164
- phone: string | null;
5165
- notificationCount: number | null;
5166
- roles: {
5167
- id: string;
5168
- description: string | null;
5169
- createdAt: Date;
5170
- updatedAt: Date;
5171
- deletedAt: Date | null;
5172
- systemName: string;
5173
- displayName: string;
5174
- permissions: {
5175
- id: string;
5176
- description: string | null;
5177
- createdAt: Date;
5178
- updatedAt: Date;
5179
- deletedAt: Date | null;
5180
- systemName: string;
5181
- displayName: string;
5182
- }[];
5183
- }[];
5184
- extension: {
5185
- id: string;
5186
- createdAt: Date;
5187
- updatedAt: Date;
5188
- deletedAt: Date | null;
5189
- userId: string | null;
5190
- sipServerUrl: string;
5191
- sipUserName: string;
5192
- webphoneLoginUser: string;
5193
- extensionId: string | null;
5194
- extensionName: string;
5195
- telephonySignature: string | null;
5196
- };
5197
- } | null | undefined;
5198
- } | null | undefined;
5199
5104
  contact?: {
5200
5105
  name: string;
5201
5106
  id: string;
@@ -5330,6 +5235,63 @@ export declare const cxLogContract: {
5330
5235
  fileSize: number;
5331
5236
  fileUrl: string | null;
5332
5237
  } | null | undefined;
5238
+ extension?: {
5239
+ id: string;
5240
+ createdAt: Date;
5241
+ updatedAt: Date;
5242
+ deletedAt: Date | null;
5243
+ userId: string | null;
5244
+ sipServerUrl: string;
5245
+ sipUserName: string;
5246
+ webphoneLoginUser: string;
5247
+ extensionId: string | null;
5248
+ extensionName: string;
5249
+ telephonySignature: string | null;
5250
+ user?: {
5251
+ name: string;
5252
+ id: string;
5253
+ address: string | null;
5254
+ email: string;
5255
+ createdAt: Date;
5256
+ updatedAt: Date;
5257
+ deletedAt: Date | null;
5258
+ emailVerifiedAt: Date | null;
5259
+ password: string;
5260
+ phone: string | null;
5261
+ notificationCount: number | null;
5262
+ roles: {
5263
+ id: string;
5264
+ description: string | null;
5265
+ createdAt: Date;
5266
+ updatedAt: Date;
5267
+ deletedAt: Date | null;
5268
+ systemName: string;
5269
+ displayName: string;
5270
+ permissions: {
5271
+ id: string;
5272
+ description: string | null;
5273
+ createdAt: Date;
5274
+ updatedAt: Date;
5275
+ deletedAt: Date | null;
5276
+ systemName: string;
5277
+ displayName: string;
5278
+ }[];
5279
+ }[];
5280
+ extension: {
5281
+ id: string;
5282
+ createdAt: Date;
5283
+ updatedAt: Date;
5284
+ deletedAt: Date | null;
5285
+ userId: string | null;
5286
+ sipServerUrl: string;
5287
+ sipUserName: string;
5288
+ webphoneLoginUser: string;
5289
+ extensionId: string | null;
5290
+ extensionName: string;
5291
+ telephonySignature: string | null;
5292
+ };
5293
+ } | null | undefined;
5294
+ } | null | undefined;
5333
5295
  }>>;
5334
5296
  queue: z.ZodNullable<z.ZodObject<{
5335
5297
  queueName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5349,14 +5311,13 @@ export declare const cxLogContract: {
5349
5311
  notes: z.ZodNullable<z.ZodString>;
5350
5312
  contactProfile: z.ZodNullable<z.ZodString>;
5351
5313
  socialProfileUrl: z.ZodNullable<z.ZodString>;
5352
- tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5314
+ tags: z.ZodArray<z.ZodObject<{
5353
5315
  id: z.ZodString;
5354
5316
  createdAt: z.ZodDate;
5355
5317
  updatedAt: z.ZodDate;
5356
5318
  deletedAt: z.ZodNullable<z.ZodDate>;
5357
- }, {
5358
5319
  name: z.ZodString;
5359
- }>, "strip", z.ZodTypeAny, {
5320
+ }, "strip", z.ZodTypeAny, {
5360
5321
  name: string;
5361
5322
  id: string;
5362
5323
  createdAt: Date;
@@ -5369,32 +5330,29 @@ export declare const cxLogContract: {
5369
5330
  updatedAt: Date;
5370
5331
  deletedAt: Date | null;
5371
5332
  }>, "many">;
5372
- company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
5333
+ company: z.ZodNullable<z.ZodObject<Omit<{
5373
5334
  id: z.ZodString;
5374
5335
  createdAt: z.ZodDate;
5375
5336
  updatedAt: z.ZodDate;
5376
5337
  deletedAt: z.ZodNullable<z.ZodDate>;
5377
- }, {
5378
5338
  name: z.ZodOptional<z.ZodString>;
5379
5339
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5380
5340
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5381
5341
  industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5382
- customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5342
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
5383
5343
  id: z.ZodString;
5384
5344
  createdAt: z.ZodDate;
5385
5345
  updatedAt: z.ZodDate;
5386
5346
  deletedAt: z.ZodNullable<z.ZodDate>;
5387
- }, {
5388
5347
  textValue: z.ZodNullable<z.ZodString>;
5389
5348
  booleanValue: z.ZodNullable<z.ZodBoolean>;
5390
5349
  numberValue: z.ZodNullable<z.ZodNumber>;
5391
5350
  dateValue: z.ZodNullable<z.ZodDate>;
5392
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
5351
+ attribute: z.ZodObject<Omit<{
5393
5352
  id: z.ZodString;
5394
5353
  createdAt: z.ZodDate;
5395
5354
  updatedAt: z.ZodDate;
5396
5355
  deletedAt: z.ZodNullable<z.ZodDate>;
5397
- }, {
5398
5356
  systemName: z.ZodString;
5399
5357
  displayName: z.ZodString;
5400
5358
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -5403,14 +5361,13 @@ export declare const cxLogContract: {
5403
5361
  isArchived: z.ZodBoolean;
5404
5362
  isRequired: z.ZodBoolean;
5405
5363
  isUnique: z.ZodBoolean;
5406
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5407
- label: z.ZodString;
5364
+ options: z.ZodArray<z.ZodObject<{
5365
+ position: z.ZodNumber;
5408
5366
  value: z.ZodString;
5367
+ label: z.ZodString;
5409
5368
  isDefault: z.ZodBoolean;
5410
- position: z.ZodNumber;
5411
- }, {
5412
5369
  id: z.ZodString;
5413
- }>, "strip", z.ZodTypeAny, {
5370
+ }, "strip", z.ZodTypeAny, {
5414
5371
  id: string;
5415
5372
  position: number;
5416
5373
  value: string;
@@ -5423,15 +5380,14 @@ export declare const cxLogContract: {
5423
5380
  label: string;
5424
5381
  isDefault: boolean;
5425
5382
  }>, "many">;
5426
- group: z.ZodObject<z.objectUtil.extendShape<{
5383
+ group: z.ZodObject<{
5427
5384
  id: z.ZodString;
5428
5385
  createdAt: z.ZodDate;
5429
5386
  updatedAt: z.ZodDate;
5430
5387
  deletedAt: z.ZodNullable<z.ZodDate>;
5431
- }, {
5432
5388
  systemName: z.ZodString;
5433
5389
  displayName: z.ZodString;
5434
- }>, "strip", z.ZodTypeAny, {
5390
+ }, "strip", z.ZodTypeAny, {
5435
5391
  id: string;
5436
5392
  createdAt: Date;
5437
5393
  updatedAt: Date;
@@ -5446,7 +5402,7 @@ export declare const cxLogContract: {
5446
5402
  systemName: string;
5447
5403
  displayName: string;
5448
5404
  }>;
5449
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
5405
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
5450
5406
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
5451
5407
  id: string;
5452
5408
  position: number;
@@ -5473,7 +5429,7 @@ export declare const cxLogContract: {
5473
5429
  isRequired: boolean;
5474
5430
  isUnique: boolean;
5475
5431
  }>;
5476
- }>, "strip", z.ZodTypeAny, {
5432
+ }, "strip", z.ZodTypeAny, {
5477
5433
  id: string;
5478
5434
  createdAt: Date;
5479
5435
  updatedAt: Date;
@@ -5520,7 +5476,7 @@ export declare const cxLogContract: {
5520
5476
  numberValue: number | null;
5521
5477
  dateValue: Date | null;
5522
5478
  }>, "many">>;
5523
- }>, "customFields">, "strip", z.ZodTypeAny, {
5479
+ }, "customFields">, "strip", z.ZodTypeAny, {
5524
5480
  id: string;
5525
5481
  createdAt: Date;
5526
5482
  updatedAt: Date;
@@ -5601,12 +5557,11 @@ export declare const cxLogContract: {
5601
5557
  booleanValue: z.ZodNullable<z.ZodBoolean>;
5602
5558
  numberValue: z.ZodNullable<z.ZodNumber>;
5603
5559
  dateValue: z.ZodNullable<z.ZodDate>;
5604
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
5560
+ attribute: z.ZodObject<Omit<{
5605
5561
  id: z.ZodString;
5606
5562
  createdAt: z.ZodDate;
5607
5563
  updatedAt: z.ZodDate;
5608
5564
  deletedAt: z.ZodNullable<z.ZodDate>;
5609
- }, {
5610
5565
  systemName: z.ZodString;
5611
5566
  displayName: z.ZodString;
5612
5567
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -5615,14 +5570,13 @@ export declare const cxLogContract: {
5615
5570
  isArchived: z.ZodBoolean;
5616
5571
  isRequired: z.ZodBoolean;
5617
5572
  isUnique: z.ZodBoolean;
5618
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5619
- label: z.ZodString;
5573
+ options: z.ZodArray<z.ZodObject<{
5574
+ position: z.ZodNumber;
5620
5575
  value: z.ZodString;
5576
+ label: z.ZodString;
5621
5577
  isDefault: z.ZodBoolean;
5622
- position: z.ZodNumber;
5623
- }, {
5624
5578
  id: z.ZodString;
5625
- }>, "strip", z.ZodTypeAny, {
5579
+ }, "strip", z.ZodTypeAny, {
5626
5580
  id: string;
5627
5581
  position: number;
5628
5582
  value: string;
@@ -5635,15 +5589,14 @@ export declare const cxLogContract: {
5635
5589
  label: string;
5636
5590
  isDefault: boolean;
5637
5591
  }>, "many">;
5638
- group: z.ZodObject<z.objectUtil.extendShape<{
5592
+ group: z.ZodObject<{
5639
5593
  id: z.ZodString;
5640
5594
  createdAt: z.ZodDate;
5641
5595
  updatedAt: z.ZodDate;
5642
5596
  deletedAt: z.ZodNullable<z.ZodDate>;
5643
- }, {
5644
5597
  systemName: z.ZodString;
5645
5598
  displayName: z.ZodString;
5646
- }>, "strip", z.ZodTypeAny, {
5599
+ }, "strip", z.ZodTypeAny, {
5647
5600
  id: string;
5648
5601
  createdAt: Date;
5649
5602
  updatedAt: Date;
@@ -5658,7 +5611,7 @@ export declare const cxLogContract: {
5658
5611
  systemName: string;
5659
5612
  displayName: string;
5660
5613
  }>;
5661
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
5614
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
5662
5615
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
5663
5616
  id: string;
5664
5617
  position: number;
@@ -5685,19 +5638,18 @@ export declare const cxLogContract: {
5685
5638
  isRequired: boolean;
5686
5639
  isUnique: boolean;
5687
5640
  }>;
5688
- uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5641
+ uploads: z.ZodArray<z.ZodObject<{
5689
5642
  id: z.ZodString;
5690
5643
  createdAt: z.ZodDate;
5691
5644
  updatedAt: z.ZodDate;
5692
5645
  deletedAt: z.ZodNullable<z.ZodDate>;
5693
- }, {
5694
5646
  bucketName: z.ZodString;
5695
5647
  fileName: z.ZodString;
5696
5648
  fileSize: z.ZodNumber;
5697
5649
  fileKey: z.ZodString;
5698
5650
  fileUrl: z.ZodNullable<z.ZodString>;
5699
5651
  status: z.ZodNullable<z.ZodString>;
5700
- }>, "strip", z.ZodTypeAny, {
5652
+ }, "strip", z.ZodTypeAny, {
5701
5653
  id: string;
5702
5654
  status: string | null;
5703
5655
  createdAt: Date;
@@ -6731,7 +6683,7 @@ export declare const cxLogContract: {
6731
6683
  };
6732
6684
  }>>;
6733
6685
  contactLabel: z.ZodArray<z.ZodString, "many">;
6734
- }>, "strip", z.ZodTypeAny, {
6686
+ }, "strip", z.ZodTypeAny, {
6735
6687
  id: string;
6736
6688
  channel: string | null;
6737
6689
  direction: string | null;
@@ -6934,19 +6886,20 @@ export declare const cxLogContract: {
6934
6886
  name: string;
6935
6887
  id: string;
6936
6888
  accessToken?: string | undefined;
6889
+ channelSecret?: string | undefined;
6890
+ additionalCredentials?: any;
6891
+ senderId?: string | undefined;
6937
6892
  whatsapp?: {
6938
6893
  email: string;
6939
6894
  wabaExternalId: string;
6940
6895
  phoneNumberId: string;
6941
- status?: "active" | "pending" | undefined;
6942
- channelId?: string | undefined;
6943
6896
  wabaBusinessId?: string | undefined;
6944
6897
  clientId?: string | undefined;
6898
+ channelId?: string | undefined;
6899
+ status?: "active" | "pending" | undefined;
6945
6900
  apiKey?: string | undefined;
6901
+ tier?: "basic" | "regular" | "premium" | undefined;
6946
6902
  } | undefined;
6947
- additionalCredentials?: any;
6948
- channelSecret?: string | undefined;
6949
- senderId?: string | undefined;
6950
6903
  vonageCredentials?: {
6951
6904
  apiKey: string;
6952
6905
  mobileNumber: string;
@@ -7266,7 +7219,7 @@ export declare const cxLogContract: {
7266
7219
  uploadId: string | null;
7267
7220
  serialNumber: string | null;
7268
7221
  callParticipants: {
7269
- callFrom?: {
7222
+ callTo?: {
7270
7223
  id: string;
7271
7224
  user: {
7272
7225
  name: string;
@@ -7292,7 +7245,7 @@ export declare const cxLogContract: {
7292
7245
  createdAt?: string | undefined;
7293
7246
  updatedAt?: string | undefined;
7294
7247
  } | null | undefined;
7295
- callTo?: {
7248
+ callFrom?: {
7296
7249
  id: string;
7297
7250
  user: {
7298
7251
  name: string;
@@ -7322,63 +7275,6 @@ export declare const cxLogContract: {
7322
7275
  isQueueMissedCall: boolean;
7323
7276
  telephonyQueueId: string | null;
7324
7277
  contactId: string | null;
7325
- extension?: {
7326
- id: string;
7327
- createdAt: Date;
7328
- updatedAt: Date;
7329
- deletedAt: Date | null;
7330
- userId: string | null;
7331
- sipServerUrl: string;
7332
- sipUserName: string;
7333
- webphoneLoginUser: string;
7334
- extensionId: string | null;
7335
- extensionName: string;
7336
- telephonySignature: string | null;
7337
- user?: {
7338
- name: string;
7339
- id: string;
7340
- address: string | null;
7341
- email: string;
7342
- createdAt: Date;
7343
- updatedAt: Date;
7344
- deletedAt: Date | null;
7345
- emailVerifiedAt: Date | null;
7346
- password: string;
7347
- phone: string | null;
7348
- notificationCount: number | null;
7349
- roles: {
7350
- id: string;
7351
- description: string | null;
7352
- createdAt: Date;
7353
- updatedAt: Date;
7354
- deletedAt: Date | null;
7355
- systemName: string;
7356
- displayName: string;
7357
- permissions: {
7358
- id: string;
7359
- description: string | null;
7360
- createdAt: Date;
7361
- updatedAt: Date;
7362
- deletedAt: Date | null;
7363
- systemName: string;
7364
- displayName: string;
7365
- }[];
7366
- }[];
7367
- extension: {
7368
- id: string;
7369
- createdAt: Date;
7370
- updatedAt: Date;
7371
- deletedAt: Date | null;
7372
- userId: string | null;
7373
- sipServerUrl: string;
7374
- sipUserName: string;
7375
- webphoneLoginUser: string;
7376
- extensionId: string | null;
7377
- extensionName: string;
7378
- telephonySignature: string | null;
7379
- };
7380
- } | null | undefined;
7381
- } | null | undefined;
7382
7278
  contact?: {
7383
7279
  name: string;
7384
7280
  id: string;
@@ -7513,6 +7409,63 @@ export declare const cxLogContract: {
7513
7409
  fileSize: number;
7514
7410
  fileUrl: string | null;
7515
7411
  } | null | undefined;
7412
+ extension?: {
7413
+ id: string;
7414
+ createdAt: Date;
7415
+ updatedAt: Date;
7416
+ deletedAt: Date | null;
7417
+ userId: string | null;
7418
+ sipServerUrl: string;
7419
+ sipUserName: string;
7420
+ webphoneLoginUser: string;
7421
+ extensionId: string | null;
7422
+ extensionName: string;
7423
+ telephonySignature: string | null;
7424
+ user?: {
7425
+ name: string;
7426
+ id: string;
7427
+ address: string | null;
7428
+ email: string;
7429
+ createdAt: Date;
7430
+ updatedAt: Date;
7431
+ deletedAt: Date | null;
7432
+ emailVerifiedAt: Date | null;
7433
+ password: string;
7434
+ phone: string | null;
7435
+ notificationCount: number | null;
7436
+ roles: {
7437
+ id: string;
7438
+ description: string | null;
7439
+ createdAt: Date;
7440
+ updatedAt: Date;
7441
+ deletedAt: Date | null;
7442
+ systemName: string;
7443
+ displayName: string;
7444
+ permissions: {
7445
+ id: string;
7446
+ description: string | null;
7447
+ createdAt: Date;
7448
+ updatedAt: Date;
7449
+ deletedAt: Date | null;
7450
+ systemName: string;
7451
+ displayName: string;
7452
+ }[];
7453
+ }[];
7454
+ extension: {
7455
+ id: string;
7456
+ createdAt: Date;
7457
+ updatedAt: Date;
7458
+ deletedAt: Date | null;
7459
+ userId: string | null;
7460
+ sipServerUrl: string;
7461
+ sipUserName: string;
7462
+ webphoneLoginUser: string;
7463
+ extensionId: string | null;
7464
+ extensionName: string;
7465
+ telephonySignature: string | null;
7466
+ };
7467
+ } | null | undefined;
7468
+ } | null | undefined;
7516
7469
  } | null;
7517
7470
  queue: {
7518
7471
  queueName?: string | null | undefined;
@@ -7853,19 +7806,20 @@ export declare const cxLogContract: {
7853
7806
  name: string;
7854
7807
  id: string;
7855
7808
  accessToken?: string | undefined;
7809
+ channelSecret?: string | undefined;
7810
+ additionalCredentials?: any;
7811
+ senderId?: string | undefined;
7856
7812
  whatsapp?: {
7857
7813
  email: string;
7858
7814
  wabaExternalId: string;
7859
7815
  phoneNumberId: string;
7860
- status?: "active" | "pending" | undefined;
7861
- channelId?: string | undefined;
7862
7816
  wabaBusinessId?: string | undefined;
7863
7817
  clientId?: string | undefined;
7818
+ channelId?: string | undefined;
7819
+ status?: "active" | "pending" | undefined;
7864
7820
  apiKey?: string | undefined;
7821
+ tier?: "basic" | "regular" | "premium" | undefined;
7865
7822
  } | undefined;
7866
- additionalCredentials?: any;
7867
- channelSecret?: string | undefined;
7868
- senderId?: string | undefined;
7869
7823
  vonageCredentials?: {
7870
7824
  apiKey: string;
7871
7825
  mobileNumber: string;
@@ -8185,7 +8139,7 @@ export declare const cxLogContract: {
8185
8139
  uploadId: string | null;
8186
8140
  serialNumber: string | null;
8187
8141
  callParticipants: {
8188
- callFrom?: {
8142
+ callTo?: {
8189
8143
  id: string;
8190
8144
  user: {
8191
8145
  name: string;
@@ -8211,7 +8165,7 @@ export declare const cxLogContract: {
8211
8165
  createdAt?: string | undefined;
8212
8166
  updatedAt?: string | undefined;
8213
8167
  } | null | undefined;
8214
- callTo?: {
8168
+ callFrom?: {
8215
8169
  id: string;
8216
8170
  user: {
8217
8171
  name: string;
@@ -8241,63 +8195,6 @@ export declare const cxLogContract: {
8241
8195
  isQueueMissedCall: boolean;
8242
8196
  telephonyQueueId: string | null;
8243
8197
  contactId: string | null;
8244
- extension?: {
8245
- id: string;
8246
- createdAt: Date;
8247
- updatedAt: Date;
8248
- deletedAt: Date | null;
8249
- userId: string | null;
8250
- sipServerUrl: string;
8251
- sipUserName: string;
8252
- webphoneLoginUser: string;
8253
- extensionId: string | null;
8254
- extensionName: string;
8255
- telephonySignature: string | null;
8256
- user?: {
8257
- name: string;
8258
- id: string;
8259
- address: string | null;
8260
- email: string;
8261
- createdAt: Date;
8262
- updatedAt: Date;
8263
- deletedAt: Date | null;
8264
- emailVerifiedAt: Date | null;
8265
- password: string;
8266
- phone: string | null;
8267
- notificationCount: number | null;
8268
- roles: {
8269
- id: string;
8270
- description: string | null;
8271
- createdAt: Date;
8272
- updatedAt: Date;
8273
- deletedAt: Date | null;
8274
- systemName: string;
8275
- displayName: string;
8276
- permissions: {
8277
- id: string;
8278
- description: string | null;
8279
- createdAt: Date;
8280
- updatedAt: Date;
8281
- deletedAt: Date | null;
8282
- systemName: string;
8283
- displayName: string;
8284
- }[];
8285
- }[];
8286
- extension: {
8287
- id: string;
8288
- createdAt: Date;
8289
- updatedAt: Date;
8290
- deletedAt: Date | null;
8291
- userId: string | null;
8292
- sipServerUrl: string;
8293
- sipUserName: string;
8294
- webphoneLoginUser: string;
8295
- extensionId: string | null;
8296
- extensionName: string;
8297
- telephonySignature: string | null;
8298
- };
8299
- } | null | undefined;
8300
- } | null | undefined;
8301
8198
  contact?: {
8302
8199
  name: string;
8303
8200
  id: string;
@@ -8432,6 +8329,63 @@ export declare const cxLogContract: {
8432
8329
  fileSize: number;
8433
8330
  fileUrl: string | null;
8434
8331
  } | null | undefined;
8332
+ extension?: {
8333
+ id: string;
8334
+ createdAt: Date;
8335
+ updatedAt: Date;
8336
+ deletedAt: Date | null;
8337
+ userId: string | null;
8338
+ sipServerUrl: string;
8339
+ sipUserName: string;
8340
+ webphoneLoginUser: string;
8341
+ extensionId: string | null;
8342
+ extensionName: string;
8343
+ telephonySignature: string | null;
8344
+ user?: {
8345
+ name: string;
8346
+ id: string;
8347
+ address: string | null;
8348
+ email: string;
8349
+ createdAt: Date;
8350
+ updatedAt: Date;
8351
+ deletedAt: Date | null;
8352
+ emailVerifiedAt: Date | null;
8353
+ password: string;
8354
+ phone: string | null;
8355
+ notificationCount: number | null;
8356
+ roles: {
8357
+ id: string;
8358
+ description: string | null;
8359
+ createdAt: Date;
8360
+ updatedAt: Date;
8361
+ deletedAt: Date | null;
8362
+ systemName: string;
8363
+ displayName: string;
8364
+ permissions: {
8365
+ id: string;
8366
+ description: string | null;
8367
+ createdAt: Date;
8368
+ updatedAt: Date;
8369
+ deletedAt: Date | null;
8370
+ systemName: string;
8371
+ displayName: string;
8372
+ }[];
8373
+ }[];
8374
+ extension: {
8375
+ id: string;
8376
+ createdAt: Date;
8377
+ updatedAt: Date;
8378
+ deletedAt: Date | null;
8379
+ userId: string | null;
8380
+ sipServerUrl: string;
8381
+ sipUserName: string;
8382
+ webphoneLoginUser: string;
8383
+ extensionId: string | null;
8384
+ extensionName: string;
8385
+ telephonySignature: string | null;
8386
+ };
8387
+ } | null | undefined;
8388
+ } | null | undefined;
8435
8389
  } | null;
8436
8390
  queue: {
8437
8391
  queueName?: string | null | undefined;
@@ -8570,7 +8524,7 @@ export declare const cxLogContract: {
8570
8524
  } | null;
8571
8525
  contactLabel: string[];
8572
8526
  }>, "many">;
8573
- }>, "strip", z.ZodTypeAny, {
8527
+ }, "strip", z.ZodTypeAny, {
8574
8528
  total: number;
8575
8529
  page: number;
8576
8530
  pageSize: number;
@@ -8778,19 +8732,20 @@ export declare const cxLogContract: {
8778
8732
  name: string;
8779
8733
  id: string;
8780
8734
  accessToken?: string | undefined;
8735
+ channelSecret?: string | undefined;
8736
+ additionalCredentials?: any;
8737
+ senderId?: string | undefined;
8781
8738
  whatsapp?: {
8782
8739
  email: string;
8783
8740
  wabaExternalId: string;
8784
8741
  phoneNumberId: string;
8785
- status?: "active" | "pending" | undefined;
8786
- channelId?: string | undefined;
8787
8742
  wabaBusinessId?: string | undefined;
8788
8743
  clientId?: string | undefined;
8744
+ channelId?: string | undefined;
8745
+ status?: "active" | "pending" | undefined;
8789
8746
  apiKey?: string | undefined;
8747
+ tier?: "basic" | "regular" | "premium" | undefined;
8790
8748
  } | undefined;
8791
- additionalCredentials?: any;
8792
- channelSecret?: string | undefined;
8793
- senderId?: string | undefined;
8794
8749
  vonageCredentials?: {
8795
8750
  apiKey: string;
8796
8751
  mobileNumber: string;
@@ -9110,7 +9065,7 @@ export declare const cxLogContract: {
9110
9065
  uploadId: string | null;
9111
9066
  serialNumber: string | null;
9112
9067
  callParticipants: {
9113
- callFrom?: {
9068
+ callTo?: {
9114
9069
  id: string;
9115
9070
  user: {
9116
9071
  name: string;
@@ -9136,7 +9091,7 @@ export declare const cxLogContract: {
9136
9091
  createdAt?: string | undefined;
9137
9092
  updatedAt?: string | undefined;
9138
9093
  } | null | undefined;
9139
- callTo?: {
9094
+ callFrom?: {
9140
9095
  id: string;
9141
9096
  user: {
9142
9097
  name: string;
@@ -9166,63 +9121,6 @@ export declare const cxLogContract: {
9166
9121
  isQueueMissedCall: boolean;
9167
9122
  telephonyQueueId: string | null;
9168
9123
  contactId: string | null;
9169
- extension?: {
9170
- id: string;
9171
- createdAt: Date;
9172
- updatedAt: Date;
9173
- deletedAt: Date | null;
9174
- userId: string | null;
9175
- sipServerUrl: string;
9176
- sipUserName: string;
9177
- webphoneLoginUser: string;
9178
- extensionId: string | null;
9179
- extensionName: string;
9180
- telephonySignature: string | null;
9181
- user?: {
9182
- name: string;
9183
- id: string;
9184
- address: string | null;
9185
- email: string;
9186
- createdAt: Date;
9187
- updatedAt: Date;
9188
- deletedAt: Date | null;
9189
- emailVerifiedAt: Date | null;
9190
- password: string;
9191
- phone: string | null;
9192
- notificationCount: number | null;
9193
- roles: {
9194
- id: string;
9195
- description: string | null;
9196
- createdAt: Date;
9197
- updatedAt: Date;
9198
- deletedAt: Date | null;
9199
- systemName: string;
9200
- displayName: string;
9201
- permissions: {
9202
- id: string;
9203
- description: string | null;
9204
- createdAt: Date;
9205
- updatedAt: Date;
9206
- deletedAt: Date | null;
9207
- systemName: string;
9208
- displayName: string;
9209
- }[];
9210
- }[];
9211
- extension: {
9212
- id: string;
9213
- createdAt: Date;
9214
- updatedAt: Date;
9215
- deletedAt: Date | null;
9216
- userId: string | null;
9217
- sipServerUrl: string;
9218
- sipUserName: string;
9219
- webphoneLoginUser: string;
9220
- extensionId: string | null;
9221
- extensionName: string;
9222
- telephonySignature: string | null;
9223
- };
9224
- } | null | undefined;
9225
- } | null | undefined;
9226
9124
  contact?: {
9227
9125
  name: string;
9228
9126
  id: string;
@@ -9357,6 +9255,63 @@ export declare const cxLogContract: {
9357
9255
  fileSize: number;
9358
9256
  fileUrl: string | null;
9359
9257
  } | null | undefined;
9258
+ extension?: {
9259
+ id: string;
9260
+ createdAt: Date;
9261
+ updatedAt: Date;
9262
+ deletedAt: Date | null;
9263
+ userId: string | null;
9264
+ sipServerUrl: string;
9265
+ sipUserName: string;
9266
+ webphoneLoginUser: string;
9267
+ extensionId: string | null;
9268
+ extensionName: string;
9269
+ telephonySignature: string | null;
9270
+ user?: {
9271
+ name: string;
9272
+ id: string;
9273
+ address: string | null;
9274
+ email: string;
9275
+ createdAt: Date;
9276
+ updatedAt: Date;
9277
+ deletedAt: Date | null;
9278
+ emailVerifiedAt: Date | null;
9279
+ password: string;
9280
+ phone: string | null;
9281
+ notificationCount: number | null;
9282
+ roles: {
9283
+ id: string;
9284
+ description: string | null;
9285
+ createdAt: Date;
9286
+ updatedAt: Date;
9287
+ deletedAt: Date | null;
9288
+ systemName: string;
9289
+ displayName: string;
9290
+ permissions: {
9291
+ id: string;
9292
+ description: string | null;
9293
+ createdAt: Date;
9294
+ updatedAt: Date;
9295
+ deletedAt: Date | null;
9296
+ systemName: string;
9297
+ displayName: string;
9298
+ }[];
9299
+ }[];
9300
+ extension: {
9301
+ id: string;
9302
+ createdAt: Date;
9303
+ updatedAt: Date;
9304
+ deletedAt: Date | null;
9305
+ userId: string | null;
9306
+ sipServerUrl: string;
9307
+ sipUserName: string;
9308
+ webphoneLoginUser: string;
9309
+ extensionId: string | null;
9310
+ extensionName: string;
9311
+ telephonySignature: string | null;
9312
+ };
9313
+ } | null | undefined;
9314
+ } | null | undefined;
9360
9315
  } | null;
9361
9316
  queue: {
9362
9317
  queueName?: string | null | undefined;
@@ -9703,19 +9658,20 @@ export declare const cxLogContract: {
9703
9658
  name: string;
9704
9659
  id: string;
9705
9660
  accessToken?: string | undefined;
9661
+ channelSecret?: string | undefined;
9662
+ additionalCredentials?: any;
9663
+ senderId?: string | undefined;
9706
9664
  whatsapp?: {
9707
9665
  email: string;
9708
9666
  wabaExternalId: string;
9709
9667
  phoneNumberId: string;
9710
- status?: "active" | "pending" | undefined;
9711
- channelId?: string | undefined;
9712
9668
  wabaBusinessId?: string | undefined;
9713
9669
  clientId?: string | undefined;
9670
+ channelId?: string | undefined;
9671
+ status?: "active" | "pending" | undefined;
9714
9672
  apiKey?: string | undefined;
9673
+ tier?: "basic" | "regular" | "premium" | undefined;
9715
9674
  } | undefined;
9716
- additionalCredentials?: any;
9717
- channelSecret?: string | undefined;
9718
- senderId?: string | undefined;
9719
9675
  vonageCredentials?: {
9720
9676
  apiKey: string;
9721
9677
  mobileNumber: string;
@@ -10035,7 +9991,7 @@ export declare const cxLogContract: {
10035
9991
  uploadId: string | null;
10036
9992
  serialNumber: string | null;
10037
9993
  callParticipants: {
10038
- callFrom?: {
9994
+ callTo?: {
10039
9995
  id: string;
10040
9996
  user: {
10041
9997
  name: string;
@@ -10061,7 +10017,7 @@ export declare const cxLogContract: {
10061
10017
  createdAt?: string | undefined;
10062
10018
  updatedAt?: string | undefined;
10063
10019
  } | null | undefined;
10064
- callTo?: {
10020
+ callFrom?: {
10065
10021
  id: string;
10066
10022
  user: {
10067
10023
  name: string;
@@ -10091,63 +10047,6 @@ export declare const cxLogContract: {
10091
10047
  isQueueMissedCall: boolean;
10092
10048
  telephonyQueueId: string | null;
10093
10049
  contactId: string | null;
10094
- extension?: {
10095
- id: string;
10096
- createdAt: Date;
10097
- updatedAt: Date;
10098
- deletedAt: Date | null;
10099
- userId: string | null;
10100
- sipServerUrl: string;
10101
- sipUserName: string;
10102
- webphoneLoginUser: string;
10103
- extensionId: string | null;
10104
- extensionName: string;
10105
- telephonySignature: string | null;
10106
- user?: {
10107
- name: string;
10108
- id: string;
10109
- address: string | null;
10110
- email: string;
10111
- createdAt: Date;
10112
- updatedAt: Date;
10113
- deletedAt: Date | null;
10114
- emailVerifiedAt: Date | null;
10115
- password: string;
10116
- phone: string | null;
10117
- notificationCount: number | null;
10118
- roles: {
10119
- id: string;
10120
- description: string | null;
10121
- createdAt: Date;
10122
- updatedAt: Date;
10123
- deletedAt: Date | null;
10124
- systemName: string;
10125
- displayName: string;
10126
- permissions: {
10127
- id: string;
10128
- description: string | null;
10129
- createdAt: Date;
10130
- updatedAt: Date;
10131
- deletedAt: Date | null;
10132
- systemName: string;
10133
- displayName: string;
10134
- }[];
10135
- }[];
10136
- extension: {
10137
- id: string;
10138
- createdAt: Date;
10139
- updatedAt: Date;
10140
- deletedAt: Date | null;
10141
- userId: string | null;
10142
- sipServerUrl: string;
10143
- sipUserName: string;
10144
- webphoneLoginUser: string;
10145
- extensionId: string | null;
10146
- extensionName: string;
10147
- telephonySignature: string | null;
10148
- };
10149
- } | null | undefined;
10150
- } | null | undefined;
10151
10050
  contact?: {
10152
10051
  name: string;
10153
10052
  id: string;
@@ -10282,6 +10181,63 @@ export declare const cxLogContract: {
10282
10181
  fileSize: number;
10283
10182
  fileUrl: string | null;
10284
10183
  } | null | undefined;
10184
+ extension?: {
10185
+ id: string;
10186
+ createdAt: Date;
10187
+ updatedAt: Date;
10188
+ deletedAt: Date | null;
10189
+ userId: string | null;
10190
+ sipServerUrl: string;
10191
+ sipUserName: string;
10192
+ webphoneLoginUser: string;
10193
+ extensionId: string | null;
10194
+ extensionName: string;
10195
+ telephonySignature: string | null;
10196
+ user?: {
10197
+ name: string;
10198
+ id: string;
10199
+ address: string | null;
10200
+ email: string;
10201
+ createdAt: Date;
10202
+ updatedAt: Date;
10203
+ deletedAt: Date | null;
10204
+ emailVerifiedAt: Date | null;
10205
+ password: string;
10206
+ phone: string | null;
10207
+ notificationCount: number | null;
10208
+ roles: {
10209
+ id: string;
10210
+ description: string | null;
10211
+ createdAt: Date;
10212
+ updatedAt: Date;
10213
+ deletedAt: Date | null;
10214
+ systemName: string;
10215
+ displayName: string;
10216
+ permissions: {
10217
+ id: string;
10218
+ description: string | null;
10219
+ createdAt: Date;
10220
+ updatedAt: Date;
10221
+ deletedAt: Date | null;
10222
+ systemName: string;
10223
+ displayName: string;
10224
+ }[];
10225
+ }[];
10226
+ extension: {
10227
+ id: string;
10228
+ createdAt: Date;
10229
+ updatedAt: Date;
10230
+ deletedAt: Date | null;
10231
+ userId: string | null;
10232
+ sipServerUrl: string;
10233
+ sipUserName: string;
10234
+ webphoneLoginUser: string;
10235
+ extensionId: string | null;
10236
+ extensionName: string;
10237
+ telephonySignature: string | null;
10238
+ };
10239
+ } | null | undefined;
10240
+ } | null | undefined;
10285
10241
  } | null;
10286
10242
  queue: {
10287
10243
  queueName?: string | null | undefined;
@@ -10432,6 +10388,23 @@ export declare const cxLogContract: {
10432
10388
  error?: any;
10433
10389
  }>;
10434
10390
  };
10391
+ path: "/cx-logs";
10392
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
10393
+ 'x-tenant': z.ZodString;
10394
+ authorization: z.ZodString;
10395
+ 'x-code': z.ZodOptional<z.ZodString>;
10396
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
10397
+ }, "strip", z.ZodTypeAny, {
10398
+ 'x-tenant': string;
10399
+ authorization: string;
10400
+ 'x-client-timezone': string;
10401
+ 'x-code'?: string | undefined;
10402
+ }, {
10403
+ 'x-tenant': string;
10404
+ authorization: string;
10405
+ 'x-code'?: string | undefined;
10406
+ 'x-client-timezone'?: string | undefined;
10407
+ }>>>;
10435
10408
  };
10436
10409
  export: {
10437
10410
  summary: "Export cx-logs";
@@ -10464,91 +10437,74 @@ export declare const cxLogContract: {
10464
10437
  value: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
10465
10438
  type: z.ZodOptional<z.ZodString>;
10466
10439
  }, "strip", z.ZodTypeAny, {
10467
- value: string | string[];
10440
+ value: (string | string[]) & (string | string[] | undefined);
10468
10441
  attributeId: string;
10469
10442
  type?: string | undefined;
10470
10443
  }, {
10471
- value: string | string[];
10444
+ value: (string | string[]) & (string | string[] | undefined);
10472
10445
  attributeId: string;
10473
10446
  type?: string | undefined;
10474
10447
  }>, "many">>;
10475
10448
  selectedDate: z.ZodOptional<z.ZodString>;
10476
10449
  }, "strip", z.ZodTypeAny, {
10477
- name?: string | undefined;
10478
- channel?: string[] | undefined;
10479
- address?: string | undefined;
10480
- disposition?: string[] | undefined;
10481
- direction?: ("inbound" | "outbound")[] | undefined;
10482
10450
  page?: number | undefined;
10483
- email?: string | undefined;
10484
10451
  pageSize?: number | undefined;
10485
- phone?: string | undefined;
10486
- customFields?: {
10487
- value: string | string[];
10488
- attributeId: string;
10489
- type?: string | undefined;
10490
- }[] | undefined;
10491
- company?: string[] | undefined;
10492
- notes?: string | undefined;
10493
- tags?: string[] | undefined;
10494
- sentimentScore?: ("negative" | "positive" | "neutral")[] | undefined;
10495
- csatScore?: string[] | undefined;
10496
- queueId?: string[] | undefined;
10497
10452
  contactId?: string | undefined;
10498
- trunks?: string[] | undefined;
10499
10453
  caseId?: string | undefined;
10500
- selectedDate?: string | undefined;
10501
10454
  channelIds?: string[] | undefined;
10455
+ trunks?: string[] | undefined;
10456
+ queueId?: string[] | undefined;
10502
10457
  agentIds?: string[] | undefined;
10458
+ direction?: ("inbound" | "outbound")[] | undefined;
10459
+ disposition?: string[] | undefined;
10460
+ sentimentScore?: ("negative" | "positive" | "neutral")[] | undefined;
10461
+ csatScore?: string[] | undefined;
10503
10462
  sla?: "meet" | "unmeet" | undefined;
10504
- contactLabels?: string[] | undefined;
10505
- }, {
10463
+ tags?: string[] | undefined;
10506
10464
  name?: string | undefined;
10507
- channel?: string[] | undefined;
10508
- address?: string | undefined;
10509
- disposition?: string[] | undefined;
10510
- direction?: ("inbound" | "outbound")[] | undefined;
10511
- page?: number | undefined;
10465
+ contactLabels?: string[] | undefined;
10512
10466
  email?: string | undefined;
10513
- pageSize?: number | undefined;
10467
+ channel?: string[] | undefined;
10514
10468
  phone?: string | undefined;
10469
+ notes?: string | undefined;
10470
+ address?: string | undefined;
10471
+ company?: string[] | undefined;
10515
10472
  customFields?: {
10516
- value: string | string[];
10473
+ value: (string | string[]) & (string | string[] | undefined);
10517
10474
  attributeId: string;
10518
10475
  type?: string | undefined;
10519
10476
  }[] | undefined;
10520
- company?: string[] | undefined;
10521
- notes?: string | undefined;
10522
- tags?: string[] | undefined;
10523
- sentimentScore?: ("negative" | "positive" | "neutral")[] | undefined;
10524
- csatScore?: string[] | undefined;
10525
- queueId?: string[] | undefined;
10477
+ selectedDate?: string | undefined;
10478
+ }, {
10479
+ page?: number | undefined;
10480
+ pageSize?: number | undefined;
10526
10481
  contactId?: string | undefined;
10527
- trunks?: string[] | undefined;
10528
10482
  caseId?: string | undefined;
10529
- selectedDate?: string | undefined;
10530
10483
  channelIds?: string[] | undefined;
10484
+ trunks?: string[] | undefined;
10485
+ queueId?: string[] | undefined;
10531
10486
  agentIds?: string[] | undefined;
10487
+ direction?: ("inbound" | "outbound")[] | undefined;
10488
+ disposition?: string[] | undefined;
10489
+ sentimentScore?: ("negative" | "positive" | "neutral")[] | undefined;
10490
+ csatScore?: string[] | undefined;
10532
10491
  sla?: "meet" | "unmeet" | undefined;
10492
+ tags?: string[] | undefined;
10493
+ name?: string | undefined;
10533
10494
  contactLabels?: string[] | undefined;
10495
+ email?: string | undefined;
10496
+ channel?: string[] | undefined;
10497
+ phone?: string | undefined;
10498
+ notes?: string | undefined;
10499
+ address?: string | undefined;
10500
+ company?: string[] | undefined;
10501
+ customFields?: {
10502
+ value: (string | string[]) & (string | string[] | undefined);
10503
+ attributeId: string;
10504
+ type?: string | undefined;
10505
+ }[] | undefined;
10506
+ selectedDate?: string | undefined;
10534
10507
  }>>;
10535
- path: "/cx-logs/export";
10536
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
10537
- 'x-tenant': z.ZodString;
10538
- authorization: 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
- authorization: string;
10544
- 'x-client-timezone': string;
10545
- 'x-code'?: string | undefined;
10546
- }, {
10547
- 'x-tenant': string;
10548
- authorization: string;
10549
- 'x-code'?: string | undefined;
10550
- 'x-client-timezone'?: string | undefined;
10551
- }>>>;
10552
10508
  responses: {
10553
10509
  200: null;
10554
10510
  401: z.ZodObject<{
@@ -10562,12 +10518,7 @@ export declare const cxLogContract: {
10562
10518
  error?: any;
10563
10519
  }>;
10564
10520
  };
10565
- };
10566
- syncSla: {
10567
- body: null;
10568
- summary: "Export cx-logs";
10569
- method: "POST";
10570
- path: "/cx-logs/sync-sla";
10521
+ path: "/cx-logs/export";
10571
10522
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
10572
10523
  'x-tenant': z.ZodString;
10573
10524
  authorization: z.ZodString;
@@ -10584,6 +10535,11 @@ export declare const cxLogContract: {
10584
10535
  'x-code'?: string | undefined;
10585
10536
  'x-client-timezone'?: string | undefined;
10586
10537
  }>>>;
10538
+ };
10539
+ syncSla: {
10540
+ body: null;
10541
+ summary: "Export cx-logs";
10542
+ method: "POST";
10587
10543
  responses: {
10588
10544
  200: null;
10589
10545
  401: z.ZodObject<{
@@ -10607,6 +10563,23 @@ export declare const cxLogContract: {
10607
10563
  error?: any;
10608
10564
  }>;
10609
10565
  };
10566
+ path: "/cx-logs/sync-sla";
10567
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
10568
+ 'x-tenant': z.ZodString;
10569
+ authorization: z.ZodString;
10570
+ 'x-code': z.ZodOptional<z.ZodString>;
10571
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
10572
+ }, "strip", z.ZodTypeAny, {
10573
+ 'x-tenant': string;
10574
+ authorization: string;
10575
+ 'x-client-timezone': string;
10576
+ 'x-code'?: string | undefined;
10577
+ }, {
10578
+ 'x-tenant': string;
10579
+ authorization: string;
10580
+ 'x-code'?: string | undefined;
10581
+ 'x-client-timezone'?: string | undefined;
10582
+ }>>>;
10610
10583
  };
10611
10584
  updateSla: {
10612
10585
  body: z.ZodObject<{
@@ -10620,17 +10593,6 @@ export declare const cxLogContract: {
10620
10593
  slaStatus: "meet" | "unmeet" | "-";
10621
10594
  }>;
10622
10595
  method: "POST";
10623
- path: "/cx-logs";
10624
- headers: z.ZodObject<{
10625
- 'x-tenant': z.ZodString;
10626
- 'x-code': z.ZodOptional<z.ZodString>;
10627
- }, "strip", z.ZodTypeAny, {
10628
- 'x-tenant': string;
10629
- 'x-code'?: string | undefined;
10630
- }, {
10631
- 'x-tenant': string;
10632
- 'x-code'?: string | undefined;
10633
- }>;
10634
10596
  responses: {
10635
10597
  200: null;
10636
10598
  403: z.ZodObject<{
@@ -10664,6 +10626,17 @@ export declare const cxLogContract: {
10664
10626
  error?: any;
10665
10627
  }>;
10666
10628
  };
10629
+ path: "/cx-logs";
10630
+ headers: z.ZodObject<{
10631
+ 'x-tenant': z.ZodString;
10632
+ 'x-code': z.ZodOptional<z.ZodString>;
10633
+ }, "strip", z.ZodTypeAny, {
10634
+ 'x-tenant': string;
10635
+ 'x-code'?: string | undefined;
10636
+ }, {
10637
+ 'x-tenant': string;
10638
+ 'x-code'?: string | undefined;
10639
+ }>;
10667
10640
  };
10668
10641
  };
10669
10642
  //# sourceMappingURL=index.d.ts.map