@kl1/contracts 1.2.26-uat → 1.2.27-uat

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (231) 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 +164 -148
  3. package/dist/api-contracts/src/attribute/index.d.ts.map +1 -1
  4. package/dist/api-contracts/src/attribute/schema.d.ts +11 -8
  5. package/dist/api-contracts/src/attribute/schema.d.ts.map +1 -1
  6. package/dist/api-contracts/src/attribute-option/schema.d.ts +3 -2
  7. package/dist/api-contracts/src/attribute-option/schema.d.ts.map +1 -1
  8. package/dist/api-contracts/src/auth/index.d.ts +51 -47
  9. package/dist/api-contracts/src/auth/index.d.ts.map +1 -1
  10. package/dist/api-contracts/src/automation-queue/index.d.ts +43 -31
  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 +3 -2
  13. package/dist/api-contracts/src/automation-queue/schema.d.ts.map +1 -1
  14. package/dist/api-contracts/src/aws/index.d.ts +8 -6
  15. package/dist/api-contracts/src/aws/index.d.ts.map +1 -1
  16. package/dist/api-contracts/src/botpress/index.d.ts +17 -13
  17. package/dist/api-contracts/src/botpress/index.d.ts.map +1 -1
  18. package/dist/api-contracts/src/business-calendar/index.d.ts +40 -28
  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 +15 -10
  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 +5 -4
  23. package/dist/api-contracts/src/call-log/schema.d.ts.map +1 -1
  24. package/dist/api-contracts/src/category/index.d.ts +118 -109
  25. package/dist/api-contracts/src/category/index.d.ts.map +1 -1
  26. package/dist/api-contracts/src/category/schema.d.ts +3 -2
  27. package/dist/api-contracts/src/category/schema.d.ts.map +1 -1
  28. package/dist/api-contracts/src/channel/index.d.ts +1064 -1039
  29. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  30. package/dist/api-contracts/src/channel/schema.d.ts +38 -38
  31. package/dist/api-contracts/src/channel/validation.d.ts +52 -52
  32. package/dist/api-contracts/src/chat/index.d.ts +14634 -14201
  33. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  34. package/dist/api-contracts/src/chat/schema.d.ts +2120 -1984
  35. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  36. package/dist/api-contracts/src/chat/validation.d.ts +3894 -3827
  37. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  38. package/dist/api-contracts/src/comment/index.d.ts +281 -224
  39. package/dist/api-contracts/src/comment/index.d.ts.map +1 -1
  40. package/dist/api-contracts/src/comment/schema.d.ts +68 -50
  41. package/dist/api-contracts/src/comment/schema.d.ts.map +1 -1
  42. package/dist/api-contracts/src/comment/validation.d.ts +1 -1
  43. package/dist/api-contracts/src/company/index.d.ts +136 -109
  44. package/dist/api-contracts/src/company/index.d.ts.map +1 -1
  45. package/dist/api-contracts/src/company/schema.d.ts +33 -24
  46. package/dist/api-contracts/src/company/schema.d.ts.map +1 -1
  47. package/dist/api-contracts/src/company/validation.d.ts +78 -62
  48. package/dist/api-contracts/src/company/validation.d.ts.map +1 -1
  49. package/dist/api-contracts/src/contact/index.d.ts +686 -568
  50. package/dist/api-contracts/src/contact/index.d.ts.map +1 -1
  51. package/dist/api-contracts/src/contact/schema.d.ts +56 -42
  52. package/dist/api-contracts/src/contact/schema.d.ts.map +1 -1
  53. package/dist/api-contracts/src/contact/validation.d.ts +299 -218
  54. package/dist/api-contracts/src/contact/validation.d.ts.map +1 -1
  55. package/dist/api-contracts/src/contact-email/schema.d.ts +3 -2
  56. package/dist/api-contracts/src/contact-email/schema.d.ts.map +1 -1
  57. package/dist/api-contracts/src/contact-phone/schema.d.ts +3 -2
  58. package/dist/api-contracts/src/contact-phone/schema.d.ts.map +1 -1
  59. package/dist/api-contracts/src/contract.d.ts +23919 -22617
  60. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  61. package/dist/api-contracts/src/custom-field/schema.d.ts +3 -2
  62. package/dist/api-contracts/src/custom-field/schema.d.ts.map +1 -1
  63. package/dist/api-contracts/src/custom-field/validation.d.ts +2 -2
  64. package/dist/api-contracts/src/custom-field-upload/schema.d.ts +3 -2
  65. package/dist/api-contracts/src/custom-field-upload/schema.d.ts.map +1 -1
  66. package/dist/api-contracts/src/cx-log/index.d.ts +684 -644
  67. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  68. package/dist/api-contracts/src/cx-log/schema.d.ts +448 -405
  69. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  70. package/dist/api-contracts/src/cx-log/validation.d.ts +39 -39
  71. package/dist/api-contracts/src/dashboard/index.d.ts +378 -337
  72. package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
  73. package/dist/api-contracts/src/dashboard/schema.d.ts +7 -6
  74. package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
  75. package/dist/api-contracts/src/dashboard/validation.d.ts +24 -18
  76. package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
  77. package/dist/api-contracts/src/evaluate-form/index.d.ts +4 -3
  78. package/dist/api-contracts/src/evaluate-form/index.d.ts.map +1 -1
  79. package/dist/api-contracts/src/evaluate-form/schema.d.ts +3 -2
  80. package/dist/api-contracts/src/evaluate-form/schema.d.ts.map +1 -1
  81. package/dist/api-contracts/src/export/index.d.ts +4 -3
  82. package/dist/api-contracts/src/export/index.d.ts.map +1 -1
  83. package/dist/api-contracts/src/extension/index.d.ts +118 -112
  84. package/dist/api-contracts/src/extension/index.d.ts.map +1 -1
  85. package/dist/api-contracts/src/facebook-feed/index.d.ts +1872 -1802
  86. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  87. package/dist/api-contracts/src/facebook-feed/schema.d.ts +73 -62
  88. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  89. package/dist/api-contracts/src/facebook-feed/validation.d.ts +96 -79
  90. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  91. package/dist/api-contracts/src/general-setting/index.d.ts +2 -2
  92. package/dist/api-contracts/src/group/schema.d.ts +3 -2
  93. package/dist/api-contracts/src/group/schema.d.ts.map +1 -1
  94. package/dist/api-contracts/src/hold-label/index.d.ts +37 -27
  95. package/dist/api-contracts/src/hold-label/index.d.ts.map +1 -1
  96. package/dist/api-contracts/src/hold-label/schema.d.ts +3 -2
  97. package/dist/api-contracts/src/hold-label/schema.d.ts.map +1 -1
  98. package/dist/api-contracts/src/index.d.ts +1 -0
  99. package/dist/api-contracts/src/index.d.ts.map +1 -1
  100. package/dist/api-contracts/src/instagram/index.d.ts +1366 -1316
  101. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  102. package/dist/api-contracts/src/instagram/validation.d.ts +6 -6
  103. package/dist/api-contracts/src/line/index.d.ts +1469 -1419
  104. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  105. package/dist/api-contracts/src/line/schema.d.ts +12 -11
  106. package/dist/api-contracts/src/line/schema.d.ts.map +1 -1
  107. package/dist/api-contracts/src/line/validation.d.ts +98 -98
  108. package/dist/api-contracts/src/log-form/schema.d.ts +3 -2
  109. package/dist/api-contracts/src/log-form/schema.d.ts.map +1 -1
  110. package/dist/api-contracts/src/mail/account-contract.d.ts +184 -174
  111. package/dist/api-contracts/src/mail/account-contract.d.ts.map +1 -1
  112. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts +4 -3
  113. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts.map +1 -1
  114. package/dist/api-contracts/src/mail/mail-contract.d.ts +461 -416
  115. package/dist/api-contracts/src/mail/mail-contract.d.ts.map +1 -1
  116. package/dist/api-contracts/src/mail/mail-server-contract.d.ts +24 -18
  117. package/dist/api-contracts/src/mail/mail-server-contract.d.ts.map +1 -1
  118. package/dist/api-contracts/src/mail/message-contract.d.ts +113 -107
  119. package/dist/api-contracts/src/mail/message-contract.d.ts.map +1 -1
  120. package/dist/api-contracts/src/mail/room-contract.d.ts +88 -65
  121. package/dist/api-contracts/src/mail/room-contract.d.ts.map +1 -1
  122. package/dist/api-contracts/src/mail/schemas/message-validation.schema.d.ts +16 -16
  123. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +22 -18
  124. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
  125. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +15 -10
  126. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts.map +1 -1
  127. package/dist/api-contracts/src/messenger/index.d.ts +1368 -1316
  128. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  129. package/dist/api-contracts/src/messenger/validation.d.ts +96 -79
  130. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  131. package/dist/api-contracts/src/notification/index.d.ts +16 -12
  132. package/dist/api-contracts/src/notification/index.d.ts.map +1 -1
  133. package/dist/api-contracts/src/permission/index.d.ts +17 -17
  134. package/dist/api-contracts/src/presence-status/index.d.ts +84 -81
  135. package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
  136. package/dist/api-contracts/src/public-api/index.d.ts +260 -196
  137. package/dist/api-contracts/src/public-api/index.d.ts.map +1 -1
  138. package/dist/api-contracts/src/public-api/schema.d.ts +48 -34
  139. package/dist/api-contracts/src/public-api/schema.d.ts.map +1 -1
  140. package/dist/api-contracts/src/public-api/validation.d.ts +113 -88
  141. package/dist/api-contracts/src/public-api/validation.d.ts.map +1 -1
  142. package/dist/api-contracts/src/role/index.d.ts +88 -83
  143. package/dist/api-contracts/src/role/index.d.ts.map +1 -1
  144. package/dist/api-contracts/src/sms/index.d.ts +209 -154
  145. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  146. package/dist/api-contracts/src/sms/schema.d.ts +22 -0
  147. package/dist/api-contracts/src/sms/schema.d.ts.map +1 -1
  148. package/dist/api-contracts/src/snippet/index.d.ts +76 -54
  149. package/dist/api-contracts/src/snippet/index.d.ts.map +1 -1
  150. package/dist/api-contracts/src/snippet/schema.d.ts +21 -14
  151. package/dist/api-contracts/src/snippet/schema.d.ts.map +1 -1
  152. package/dist/api-contracts/src/snippet/validation.d.ts +5 -4
  153. package/dist/api-contracts/src/snippet/validation.d.ts.map +1 -1
  154. package/dist/api-contracts/src/subscription/index.d.ts +71 -49
  155. package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
  156. package/dist/api-contracts/src/subscription/schema.d.ts +90 -60
  157. package/dist/api-contracts/src/subscription/schema.d.ts.map +1 -1
  158. package/dist/api-contracts/src/tag/index.d.ts +79 -72
  159. package/dist/api-contracts/src/tag/index.d.ts.map +1 -1
  160. package/dist/api-contracts/src/tag/schema.d.ts +3 -2
  161. package/dist/api-contracts/src/tag/schema.d.ts.map +1 -1
  162. package/dist/api-contracts/src/tag-group/schema.d.ts +3 -2
  163. package/dist/api-contracts/src/tag-group/schema.d.ts.map +1 -1
  164. package/dist/api-contracts/src/telegram/index.d.ts +1214 -1166
  165. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  166. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +58 -54
  167. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  168. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +3 -2
  169. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  170. package/dist/api-contracts/src/telephony-cdr/call-report.schema.d.ts +38 -38
  171. package/dist/api-contracts/src/telephony-cdr/index.d.ts +1214 -1149
  172. package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
  173. package/dist/api-contracts/src/telephony-cdr/schema.d.ts +186 -166
  174. package/dist/api-contracts/src/telephony-cdr/schema.d.ts.map +1 -1
  175. package/dist/api-contracts/src/telephony-cdr/validation.d.ts +52 -45
  176. package/dist/api-contracts/src/telephony-cdr/validation.d.ts.map +1 -1
  177. package/dist/api-contracts/src/telephony-extension/index.d.ts +21 -21
  178. package/dist/api-contracts/src/telephony-extension/schema.d.ts +4 -4
  179. package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts +3 -2
  180. package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts.map +1 -1
  181. package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts +3 -2
  182. package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts.map +1 -1
  183. package/dist/api-contracts/src/tenant/schema.d.ts +3 -2
  184. package/dist/api-contracts/src/tenant/schema.d.ts.map +1 -1
  185. package/dist/api-contracts/src/ticket/index.d.ts +722 -623
  186. package/dist/api-contracts/src/ticket/index.d.ts.map +1 -1
  187. package/dist/api-contracts/src/ticket/schema.d.ts +81 -58
  188. package/dist/api-contracts/src/ticket/schema.d.ts.map +1 -1
  189. package/dist/api-contracts/src/ticket/validation.d.ts +57 -55
  190. package/dist/api-contracts/src/ticket/validation.d.ts.map +1 -1
  191. package/dist/api-contracts/src/upload/index.d.ts +36 -34
  192. package/dist/api-contracts/src/upload/index.d.ts.map +1 -1
  193. package/dist/api-contracts/src/upload/schema.d.ts +3 -2
  194. package/dist/api-contracts/src/upload/schema.d.ts.map +1 -1
  195. package/dist/api-contracts/src/user/index.d.ts +114 -108
  196. package/dist/api-contracts/src/user/index.d.ts.map +1 -1
  197. package/dist/api-contracts/src/user/validation.d.ts +5 -4
  198. package/dist/api-contracts/src/user/validation.d.ts.map +1 -1
  199. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +32 -31
  200. package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
  201. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +3 -2
  202. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
  203. package/dist/api-contracts/src/viber/index.d.ts +1341 -1293
  204. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  205. package/dist/api-contracts/src/webchat/index.d.ts +2461 -2416
  206. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  207. package/dist/api-contracts/src/whatsapp/index.d.ts +2715 -2666
  208. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  209. package/dist/api-contracts/src/whatsapp/validation.d.ts +3 -2
  210. package/dist/api-contracts/src/whatsapp/validation.d.ts.map +1 -1
  211. package/dist/api-contracts/src/widget/index.d.ts +139 -128
  212. package/dist/api-contracts/src/widget/index.d.ts.map +1 -1
  213. package/dist/api-contracts/src/widget/schema.d.ts +3 -2
  214. package/dist/api-contracts/src/widget/schema.d.ts.map +1 -1
  215. package/dist/api-contracts/src/workflow-rule/index.d.ts +1500 -1465
  216. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  217. package/dist/api-contracts/src/workflow-rule/schema.d.ts +3 -2
  218. package/dist/api-contracts/src/workflow-rule/schema.d.ts.map +1 -1
  219. package/dist/api-contracts/src/wrap-up-form/index.d.ts +166 -147
  220. package/dist/api-contracts/src/wrap-up-form/index.d.ts.map +1 -1
  221. package/dist/api-contracts/src/wrap-up-form/schema.d.ts +9 -6
  222. package/dist/api-contracts/src/wrap-up-form/schema.d.ts.map +1 -1
  223. package/dist/api-contracts/src/wrap-up-form/validation.d.ts +21 -20
  224. package/dist/api-contracts/src/wrap-up-form/validation.d.ts.map +1 -1
  225. package/dist/api-contracts/utils.d.ts +4 -3
  226. package/dist/api-contracts/utils.d.ts.map +1 -1
  227. package/dist/index.js +4242 -4219
  228. package/dist/index.js.map +1 -1
  229. package/dist/index.mjs +4239 -4217
  230. package/dist/index.mjs.map +1 -1
  231. package/package.json +1 -1
@@ -35,85 +35,104 @@ export declare const cxLogContract: {
35
35
  value: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
36
36
  type: z.ZodOptional<z.ZodString>;
37
37
  }, "strip", z.ZodTypeAny, {
38
- value: (string | string[]) & (string | string[] | undefined);
38
+ value: string | string[];
39
39
  attributeId: string;
40
40
  type?: string | undefined;
41
41
  }, {
42
- value: (string | string[]) & (string | string[] | undefined);
42
+ value: string | string[];
43
43
  attributeId: string;
44
44
  type?: string | undefined;
45
45
  }>, "many">>;
46
46
  selectedDate: z.ZodOptional<z.ZodString>;
47
47
  }, "strip", z.ZodTypeAny, {
48
- page?: number | undefined;
49
- pageSize?: number | undefined;
50
- contactId?: string | undefined;
51
- caseId?: string | undefined;
52
- channelIds?: string[] | undefined;
53
- trunks?: string[] | undefined;
54
- queueId?: string[] | undefined;
55
- agentIds?: string[] | undefined;
56
- direction?: ("inbound" | "outbound")[] | undefined;
57
- disposition?: string[] | undefined;
58
- sentimentScore?: ("negative" | "positive" | "neutral")[] | undefined;
59
- csatScore?: string[] | undefined;
60
- sla?: "meet" | "unmeet" | undefined;
61
- tags?: string[] | undefined;
62
48
  name?: string | undefined;
63
- contactLabels?: string[] | undefined;
64
- email?: string | undefined;
65
49
  channel?: string[] | undefined;
66
- phone?: string | undefined;
67
- notes?: string | undefined;
68
50
  address?: string | undefined;
69
- company?: string[] | undefined;
51
+ disposition?: string[] | undefined;
52
+ direction?: ("inbound" | "outbound")[] | undefined;
53
+ page?: number | undefined;
54
+ email?: string | undefined;
55
+ pageSize?: number | undefined;
56
+ phone?: string | undefined;
70
57
  customFields?: {
71
- value: (string | string[]) & (string | string[] | undefined);
58
+ value: string | string[];
72
59
  attributeId: string;
73
60
  type?: string | undefined;
74
61
  }[] | undefined;
75
- selectedDate?: string | undefined;
76
- }, {
77
- page?: number | undefined;
78
- pageSize?: number | 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;
79
68
  contactId?: string | undefined;
69
+ trunks?: string[] | undefined;
80
70
  caseId?: string | undefined;
71
+ selectedDate?: string | undefined;
81
72
  channelIds?: string[] | undefined;
82
- trunks?: string[] | undefined;
83
- queueId?: string[] | undefined;
84
73
  agentIds?: string[] | undefined;
85
- direction?: ("inbound" | "outbound")[] | undefined;
86
- disposition?: string[] | undefined;
87
- sentimentScore?: ("negative" | "positive" | "neutral")[] | undefined;
88
- csatScore?: string[] | undefined;
89
74
  sla?: "meet" | "unmeet" | undefined;
90
- tags?: string[] | undefined;
91
- name?: string | undefined;
92
75
  contactLabels?: string[] | undefined;
93
- email?: string | undefined;
76
+ }, {
77
+ name?: string | undefined;
94
78
  channel?: string[] | undefined;
95
- phone?: string | undefined;
96
- notes?: string | undefined;
97
79
  address?: string | undefined;
98
- company?: string[] | undefined;
80
+ disposition?: string[] | undefined;
81
+ direction?: ("inbound" | "outbound")[] | undefined;
82
+ page?: number | undefined;
83
+ email?: string | undefined;
84
+ pageSize?: number | undefined;
85
+ phone?: string | undefined;
99
86
  customFields?: {
100
- value: (string | string[]) & (string | string[] | undefined);
87
+ value: string | string[];
101
88
  attributeId: string;
102
89
  type?: string | undefined;
103
90
  }[] | 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;
97
+ contactId?: string | undefined;
98
+ trunks?: string[] | undefined;
99
+ caseId?: string | undefined;
104
100
  selectedDate?: string | undefined;
101
+ channelIds?: string[] | undefined;
102
+ agentIds?: string[] | undefined;
103
+ sla?: "meet" | "unmeet" | undefined;
104
+ contactLabels?: 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
+ }>>>;
106
123
  responses: {
107
- 200: z.ZodObject<{
124
+ 200: z.ZodObject<z.objectUtil.extendShape<{
108
125
  requestId: z.ZodString;
126
+ }, {
109
127
  total: z.ZodNumber;
110
128
  page: z.ZodNumber;
111
129
  pageSize: z.ZodNumber;
112
- cxLogs: z.ZodArray<z.ZodObject<{
130
+ cxLogs: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
113
131
  id: z.ZodString;
114
132
  createdAt: z.ZodDate;
115
133
  updatedAt: z.ZodDate;
116
134
  deletedAt: z.ZodNullable<z.ZodDate>;
135
+ }, {
117
136
  caseId: z.ZodNumber;
118
137
  entityId: z.ZodString;
119
138
  entityName: z.ZodString;
@@ -129,15 +148,16 @@ export declare const cxLogContract: {
129
148
  resolutionDate: z.ZodString;
130
149
  wrapUpDuration: z.ZodString;
131
150
  slaMeet: z.ZodNullable<z.ZodString>;
132
- evaluateForm: z.ZodNullable<z.ZodObject<{
151
+ evaluateForm: z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
133
152
  id: z.ZodString;
134
153
  createdAt: z.ZodDate;
135
154
  updatedAt: z.ZodDate;
136
155
  deletedAt: z.ZodNullable<z.ZodDate>;
156
+ }, {
137
157
  cxLogId: z.ZodString;
138
158
  sentimentScore: z.ZodOptional<z.ZodNullable<z.ZodString>>;
139
159
  csatScore: z.ZodOptional<z.ZodNullable<z.ZodString>>;
140
- }, "strip", z.ZodTypeAny, {
160
+ }>, "strip", z.ZodTypeAny, {
141
161
  id: string;
142
162
  createdAt: Date;
143
163
  updatedAt: Date;
@@ -154,21 +174,23 @@ export declare const cxLogContract: {
154
174
  sentimentScore?: string | null | undefined;
155
175
  csatScore?: string | null | undefined;
156
176
  }>>;
157
- wrapUpForm: z.ZodNullable<z.ZodObject<{
177
+ wrapUpForm: z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
158
178
  id: z.ZodString;
159
179
  createdAt: z.ZodDate;
160
180
  updatedAt: z.ZodDate;
161
181
  deletedAt: z.ZodNullable<z.ZodDate>;
182
+ }, {
162
183
  note: z.ZodNullable<z.ZodString>;
163
184
  disposition: z.ZodNullable<z.ZodString>;
164
185
  type: z.ZodString;
165
- tags: z.ZodArray<z.ZodObject<{
186
+ tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
166
187
  id: z.ZodString;
167
188
  createdAt: z.ZodDate;
168
189
  updatedAt: z.ZodDate;
169
190
  deletedAt: z.ZodNullable<z.ZodDate>;
191
+ }, {
170
192
  name: z.ZodString;
171
- }, "strip", z.ZodTypeAny, {
193
+ }>, "strip", z.ZodTypeAny, {
172
194
  name: string;
173
195
  id: string;
174
196
  createdAt: Date;
@@ -181,11 +203,12 @@ export declare const cxLogContract: {
181
203
  updatedAt: Date;
182
204
  deletedAt: Date | null;
183
205
  }>, "many">;
184
- categories: z.ZodArray<z.ZodObject<{
206
+ categories: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
185
207
  id: z.ZodString;
186
208
  createdAt: z.ZodDate;
187
209
  updatedAt: z.ZodDate;
188
210
  deletedAt: z.ZodNullable<z.ZodDate>;
211
+ }, {
189
212
  value: z.ZodString;
190
213
  level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
191
214
  parentId: z.ZodNullable<z.ZodString>;
@@ -238,7 +261,7 @@ export declare const cxLogContract: {
238
261
  childCategoryList: any[];
239
262
  }[];
240
263
  }>, "many">;
241
- }, "strip", z.ZodTypeAny, {
264
+ }>, "strip", z.ZodTypeAny, {
242
265
  id: string;
243
266
  value: string;
244
267
  createdAt: Date;
@@ -317,7 +340,7 @@ export declare const cxLogContract: {
317
340
  numberValue: number | null;
318
341
  dateValue: Date | null;
319
342
  }>, "many">>>;
320
- }, "strip", z.ZodTypeAny, {
343
+ }>, "strip", z.ZodTypeAny, {
321
344
  type: string;
322
345
  id: string;
323
346
  disposition: string | null;
@@ -468,13 +491,14 @@ export declare const cxLogContract: {
468
491
  notes: z.ZodNullable<z.ZodString>;
469
492
  contactProfile: z.ZodNullable<z.ZodString>;
470
493
  socialProfileUrl: z.ZodNullable<z.ZodString>;
471
- tags: z.ZodArray<z.ZodObject<{
494
+ tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
472
495
  id: z.ZodString;
473
496
  createdAt: z.ZodDate;
474
497
  updatedAt: z.ZodDate;
475
498
  deletedAt: z.ZodNullable<z.ZodDate>;
499
+ }, {
476
500
  name: z.ZodString;
477
- }, "strip", z.ZodTypeAny, {
501
+ }>, "strip", z.ZodTypeAny, {
478
502
  name: string;
479
503
  id: string;
480
504
  createdAt: Date;
@@ -487,29 +511,32 @@ export declare const cxLogContract: {
487
511
  updatedAt: Date;
488
512
  deletedAt: Date | null;
489
513
  }>, "many">;
490
- company: z.ZodNullable<z.ZodObject<Omit<{
514
+ company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
491
515
  id: z.ZodString;
492
516
  createdAt: z.ZodDate;
493
517
  updatedAt: z.ZodDate;
494
518
  deletedAt: z.ZodNullable<z.ZodDate>;
519
+ }, {
495
520
  name: z.ZodOptional<z.ZodString>;
496
521
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
497
522
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
498
523
  industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
499
- customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
524
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
500
525
  id: z.ZodString;
501
526
  createdAt: z.ZodDate;
502
527
  updatedAt: z.ZodDate;
503
528
  deletedAt: z.ZodNullable<z.ZodDate>;
529
+ }, {
504
530
  textValue: z.ZodNullable<z.ZodString>;
505
531
  booleanValue: z.ZodNullable<z.ZodBoolean>;
506
532
  numberValue: z.ZodNullable<z.ZodNumber>;
507
533
  dateValue: z.ZodNullable<z.ZodDate>;
508
- attribute: z.ZodObject<Omit<{
534
+ attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
509
535
  id: z.ZodString;
510
536
  createdAt: z.ZodDate;
511
537
  updatedAt: z.ZodDate;
512
538
  deletedAt: z.ZodNullable<z.ZodDate>;
539
+ }, {
513
540
  systemName: z.ZodString;
514
541
  displayName: z.ZodString;
515
542
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -518,13 +545,14 @@ export declare const cxLogContract: {
518
545
  isArchived: z.ZodBoolean;
519
546
  isRequired: z.ZodBoolean;
520
547
  isUnique: z.ZodBoolean;
521
- options: z.ZodArray<z.ZodObject<{
522
- position: z.ZodNumber;
523
- value: z.ZodString;
548
+ options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
524
549
  label: z.ZodString;
550
+ value: z.ZodString;
525
551
  isDefault: z.ZodBoolean;
552
+ position: z.ZodNumber;
553
+ }, {
526
554
  id: z.ZodString;
527
- }, "strip", z.ZodTypeAny, {
555
+ }>, "strip", z.ZodTypeAny, {
528
556
  id: string;
529
557
  position: number;
530
558
  value: string;
@@ -537,14 +565,15 @@ export declare const cxLogContract: {
537
565
  label: string;
538
566
  isDefault: boolean;
539
567
  }>, "many">;
540
- group: z.ZodObject<{
568
+ group: z.ZodObject<z.objectUtil.extendShape<{
541
569
  id: z.ZodString;
542
570
  createdAt: z.ZodDate;
543
571
  updatedAt: z.ZodDate;
544
572
  deletedAt: z.ZodNullable<z.ZodDate>;
573
+ }, {
545
574
  systemName: z.ZodString;
546
575
  displayName: z.ZodString;
547
- }, "strip", z.ZodTypeAny, {
576
+ }>, "strip", z.ZodTypeAny, {
548
577
  id: string;
549
578
  createdAt: Date;
550
579
  updatedAt: Date;
@@ -559,7 +588,7 @@ export declare const cxLogContract: {
559
588
  systemName: string;
560
589
  displayName: string;
561
590
  }>;
562
- }, "options" | "group">, "strip", z.ZodTypeAny, {
591
+ }>, "options" | "group">, "strip", z.ZodTypeAny, {
563
592
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
564
593
  id: string;
565
594
  position: number;
@@ -586,7 +615,7 @@ export declare const cxLogContract: {
586
615
  isRequired: boolean;
587
616
  isUnique: boolean;
588
617
  }>;
589
- }, "strip", z.ZodTypeAny, {
618
+ }>, "strip", z.ZodTypeAny, {
590
619
  id: string;
591
620
  createdAt: Date;
592
621
  updatedAt: Date;
@@ -633,7 +662,7 @@ export declare const cxLogContract: {
633
662
  numberValue: number | null;
634
663
  dateValue: Date | null;
635
664
  }>, "many">>;
636
- }, "customFields">, "strip", z.ZodTypeAny, {
665
+ }>, "customFields">, "strip", z.ZodTypeAny, {
637
666
  id: string;
638
667
  createdAt: Date;
639
668
  updatedAt: Date;
@@ -714,11 +743,12 @@ export declare const cxLogContract: {
714
743
  booleanValue: z.ZodNullable<z.ZodBoolean>;
715
744
  numberValue: z.ZodNullable<z.ZodNumber>;
716
745
  dateValue: z.ZodNullable<z.ZodDate>;
717
- attribute: z.ZodObject<Omit<{
746
+ attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
718
747
  id: z.ZodString;
719
748
  createdAt: z.ZodDate;
720
749
  updatedAt: z.ZodDate;
721
750
  deletedAt: z.ZodNullable<z.ZodDate>;
751
+ }, {
722
752
  systemName: z.ZodString;
723
753
  displayName: z.ZodString;
724
754
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -727,13 +757,14 @@ export declare const cxLogContract: {
727
757
  isArchived: z.ZodBoolean;
728
758
  isRequired: z.ZodBoolean;
729
759
  isUnique: z.ZodBoolean;
730
- options: z.ZodArray<z.ZodObject<{
731
- position: z.ZodNumber;
732
- value: z.ZodString;
760
+ options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
733
761
  label: z.ZodString;
762
+ value: z.ZodString;
734
763
  isDefault: z.ZodBoolean;
764
+ position: z.ZodNumber;
765
+ }, {
735
766
  id: z.ZodString;
736
- }, "strip", z.ZodTypeAny, {
767
+ }>, "strip", z.ZodTypeAny, {
737
768
  id: string;
738
769
  position: number;
739
770
  value: string;
@@ -746,14 +777,15 @@ export declare const cxLogContract: {
746
777
  label: string;
747
778
  isDefault: boolean;
748
779
  }>, "many">;
749
- group: z.ZodObject<{
780
+ group: z.ZodObject<z.objectUtil.extendShape<{
750
781
  id: z.ZodString;
751
782
  createdAt: z.ZodDate;
752
783
  updatedAt: z.ZodDate;
753
784
  deletedAt: z.ZodNullable<z.ZodDate>;
785
+ }, {
754
786
  systemName: z.ZodString;
755
787
  displayName: z.ZodString;
756
- }, "strip", z.ZodTypeAny, {
788
+ }>, "strip", z.ZodTypeAny, {
757
789
  id: string;
758
790
  createdAt: Date;
759
791
  updatedAt: Date;
@@ -768,7 +800,7 @@ export declare const cxLogContract: {
768
800
  systemName: string;
769
801
  displayName: string;
770
802
  }>;
771
- }, "options" | "group">, "strip", z.ZodTypeAny, {
803
+ }>, "options" | "group">, "strip", z.ZodTypeAny, {
772
804
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
773
805
  id: string;
774
806
  position: number;
@@ -795,18 +827,19 @@ export declare const cxLogContract: {
795
827
  isRequired: boolean;
796
828
  isUnique: boolean;
797
829
  }>;
798
- uploads: z.ZodArray<z.ZodObject<{
830
+ uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
799
831
  id: z.ZodString;
800
832
  createdAt: z.ZodDate;
801
833
  updatedAt: z.ZodDate;
802
834
  deletedAt: z.ZodNullable<z.ZodDate>;
835
+ }, {
803
836
  bucketName: z.ZodString;
804
837
  fileName: z.ZodString;
805
838
  fileSize: z.ZodNumber;
806
839
  fileKey: z.ZodString;
807
840
  fileUrl: z.ZodNullable<z.ZodString>;
808
841
  status: z.ZodNullable<z.ZodString>;
809
- }, "strip", z.ZodTypeAny, {
842
+ }>, "strip", z.ZodTypeAny, {
810
843
  id: string;
811
844
  status: string | null;
812
845
  createdAt: Date;
@@ -1915,19 +1948,19 @@ export declare const cxLogContract: {
1915
1948
  email: string;
1916
1949
  wabaExternalId: string;
1917
1950
  phoneNumberId: string;
1951
+ status?: "active" | "pending" | undefined;
1952
+ channelId?: string | undefined;
1918
1953
  wabaBusinessId?: string | undefined;
1919
1954
  clientId?: string | undefined;
1920
- channelId?: string | undefined;
1921
- status?: "active" | "pending" | undefined;
1922
1955
  apiKey?: string | undefined;
1923
1956
  }, {
1924
1957
  email: string;
1925
1958
  wabaExternalId: string;
1926
1959
  phoneNumberId: string;
1960
+ status?: "active" | "pending" | undefined;
1961
+ channelId?: string | undefined;
1927
1962
  wabaBusinessId?: string | undefined;
1928
1963
  clientId?: string | undefined;
1929
- channelId?: string | undefined;
1930
- status?: "active" | "pending" | undefined;
1931
1964
  apiKey?: string | undefined;
1932
1965
  }>>;
1933
1966
  vonageCredentials: z.ZodOptional<z.ZodObject<{
@@ -1949,19 +1982,19 @@ export declare const cxLogContract: {
1949
1982
  name: string;
1950
1983
  id: string;
1951
1984
  accessToken?: string | undefined;
1952
- channelSecret?: string | undefined;
1953
- additionalCredentials?: any;
1954
- senderId?: string | undefined;
1955
1985
  whatsapp?: {
1956
1986
  email: string;
1957
1987
  wabaExternalId: string;
1958
1988
  phoneNumberId: string;
1989
+ status?: "active" | "pending" | undefined;
1990
+ channelId?: string | undefined;
1959
1991
  wabaBusinessId?: string | undefined;
1960
1992
  clientId?: string | undefined;
1961
- channelId?: string | undefined;
1962
- status?: "active" | "pending" | undefined;
1963
1993
  apiKey?: string | undefined;
1964
1994
  } | undefined;
1995
+ additionalCredentials?: any;
1996
+ channelSecret?: string | undefined;
1997
+ senderId?: string | undefined;
1965
1998
  vonageCredentials?: {
1966
1999
  apiKey: string;
1967
2000
  mobileNumber: string;
@@ -1973,19 +2006,19 @@ export declare const cxLogContract: {
1973
2006
  name: string;
1974
2007
  id: string;
1975
2008
  accessToken?: string | undefined;
1976
- channelSecret?: string | undefined;
1977
- additionalCredentials?: any;
1978
- senderId?: string | undefined;
1979
2009
  whatsapp?: {
1980
2010
  email: string;
1981
2011
  wabaExternalId: string;
1982
2012
  phoneNumberId: string;
2013
+ status?: "active" | "pending" | undefined;
2014
+ channelId?: string | undefined;
1983
2015
  wabaBusinessId?: string | undefined;
1984
2016
  clientId?: string | undefined;
1985
- channelId?: string | undefined;
1986
- status?: "active" | "pending" | undefined;
1987
2017
  apiKey?: string | undefined;
1988
2018
  } | undefined;
2019
+ additionalCredentials?: any;
2020
+ channelSecret?: string | undefined;
2021
+ senderId?: string | undefined;
1989
2022
  vonageCredentials?: {
1990
2023
  apiKey: string;
1991
2024
  mobileNumber: string;
@@ -2231,19 +2264,19 @@ export declare const cxLogContract: {
2231
2264
  name: string;
2232
2265
  id: string;
2233
2266
  accessToken?: string | undefined;
2234
- channelSecret?: string | undefined;
2235
- additionalCredentials?: any;
2236
- senderId?: string | undefined;
2237
2267
  whatsapp?: {
2238
2268
  email: string;
2239
2269
  wabaExternalId: string;
2240
2270
  phoneNumberId: string;
2271
+ status?: "active" | "pending" | undefined;
2272
+ channelId?: string | undefined;
2241
2273
  wabaBusinessId?: string | undefined;
2242
2274
  clientId?: string | undefined;
2243
- channelId?: string | undefined;
2244
- status?: "active" | "pending" | undefined;
2245
2275
  apiKey?: string | undefined;
2246
2276
  } | undefined;
2277
+ additionalCredentials?: any;
2278
+ channelSecret?: string | undefined;
2279
+ senderId?: string | undefined;
2247
2280
  vonageCredentials?: {
2248
2281
  apiKey: string;
2249
2282
  mobileNumber: string;
@@ -2320,19 +2353,19 @@ export declare const cxLogContract: {
2320
2353
  name: string;
2321
2354
  id: string;
2322
2355
  accessToken?: string | undefined;
2323
- channelSecret?: string | undefined;
2324
- additionalCredentials?: any;
2325
- senderId?: string | undefined;
2326
2356
  whatsapp?: {
2327
2357
  email: string;
2328
2358
  wabaExternalId: string;
2329
2359
  phoneNumberId: string;
2360
+ status?: "active" | "pending" | undefined;
2361
+ channelId?: string | undefined;
2330
2362
  wabaBusinessId?: string | undefined;
2331
2363
  clientId?: string | undefined;
2332
- channelId?: string | undefined;
2333
- status?: "active" | "pending" | undefined;
2334
2364
  apiKey?: string | undefined;
2335
2365
  } | undefined;
2366
+ additionalCredentials?: any;
2367
+ channelSecret?: string | undefined;
2368
+ senderId?: string | undefined;
2336
2369
  vonageCredentials?: {
2337
2370
  apiKey: string;
2338
2371
  mobileNumber: string;
@@ -2412,19 +2445,19 @@ export declare const cxLogContract: {
2412
2445
  name: string;
2413
2446
  id: string;
2414
2447
  accessToken?: string | undefined;
2415
- channelSecret?: string | undefined;
2416
- additionalCredentials?: any;
2417
- senderId?: string | undefined;
2418
2448
  whatsapp?: {
2419
2449
  email: string;
2420
2450
  wabaExternalId: string;
2421
2451
  phoneNumberId: string;
2452
+ status?: "active" | "pending" | undefined;
2453
+ channelId?: string | undefined;
2422
2454
  wabaBusinessId?: string | undefined;
2423
2455
  clientId?: string | undefined;
2424
- channelId?: string | undefined;
2425
- status?: "active" | "pending" | undefined;
2426
2456
  apiKey?: string | undefined;
2427
2457
  } | undefined;
2458
+ additionalCredentials?: any;
2459
+ channelSecret?: string | undefined;
2460
+ senderId?: string | undefined;
2428
2461
  vonageCredentials?: {
2429
2462
  apiKey: string;
2430
2463
  mobileNumber: string;
@@ -2730,19 +2763,19 @@ export declare const cxLogContract: {
2730
2763
  name: string;
2731
2764
  id: string;
2732
2765
  accessToken?: string | undefined;
2733
- channelSecret?: string | undefined;
2734
- additionalCredentials?: any;
2735
- senderId?: string | undefined;
2736
2766
  whatsapp?: {
2737
2767
  email: string;
2738
2768
  wabaExternalId: string;
2739
2769
  phoneNumberId: string;
2770
+ status?: "active" | "pending" | undefined;
2771
+ channelId?: string | undefined;
2740
2772
  wabaBusinessId?: string | undefined;
2741
2773
  clientId?: string | undefined;
2742
- channelId?: string | undefined;
2743
- status?: "active" | "pending" | undefined;
2744
2774
  apiKey?: string | undefined;
2745
2775
  } | undefined;
2776
+ additionalCredentials?: any;
2777
+ channelSecret?: string | undefined;
2778
+ senderId?: string | undefined;
2746
2779
  vonageCredentials?: {
2747
2780
  apiKey: string;
2748
2781
  mobileNumber: string;
@@ -3039,11 +3072,12 @@ export declare const cxLogContract: {
3039
3072
  };
3040
3073
  } | null;
3041
3074
  }>>;
3042
- telephonyCdr: z.ZodNullable<z.ZodObject<{
3075
+ telephonyCdr: z.ZodNullable<z.ZodObject<z.objectUtil.extendShape<{
3043
3076
  id: z.ZodString;
3044
3077
  createdAt: z.ZodDate;
3045
3078
  updatedAt: z.ZodDate;
3046
3079
  deletedAt: z.ZodNullable<z.ZodDate>;
3080
+ }, {
3047
3081
  uniqueCallId: z.ZodString;
3048
3082
  timeStart: z.ZodString;
3049
3083
  callFrom: z.ZodString;
@@ -3063,13 +3097,14 @@ export declare const cxLogContract: {
3063
3097
  notes: z.ZodNullable<z.ZodString>;
3064
3098
  contactProfile: z.ZodNullable<z.ZodString>;
3065
3099
  socialProfileUrl: z.ZodNullable<z.ZodString>;
3066
- tags: z.ZodArray<z.ZodObject<{
3100
+ tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
3067
3101
  id: z.ZodString;
3068
3102
  createdAt: z.ZodDate;
3069
3103
  updatedAt: z.ZodDate;
3070
3104
  deletedAt: z.ZodNullable<z.ZodDate>;
3105
+ }, {
3071
3106
  name: z.ZodString;
3072
- }, "strip", z.ZodTypeAny, {
3107
+ }>, "strip", z.ZodTypeAny, {
3073
3108
  name: string;
3074
3109
  id: string;
3075
3110
  createdAt: Date;
@@ -3082,29 +3117,32 @@ export declare const cxLogContract: {
3082
3117
  updatedAt: Date;
3083
3118
  deletedAt: Date | null;
3084
3119
  }>, "many">;
3085
- company: z.ZodNullable<z.ZodObject<Omit<{
3120
+ company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
3086
3121
  id: z.ZodString;
3087
3122
  createdAt: z.ZodDate;
3088
3123
  updatedAt: z.ZodDate;
3089
3124
  deletedAt: z.ZodNullable<z.ZodDate>;
3125
+ }, {
3090
3126
  name: z.ZodOptional<z.ZodString>;
3091
3127
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3092
3128
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3093
3129
  industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3094
- customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
3130
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
3095
3131
  id: z.ZodString;
3096
3132
  createdAt: z.ZodDate;
3097
3133
  updatedAt: z.ZodDate;
3098
3134
  deletedAt: z.ZodNullable<z.ZodDate>;
3135
+ }, {
3099
3136
  textValue: z.ZodNullable<z.ZodString>;
3100
3137
  booleanValue: z.ZodNullable<z.ZodBoolean>;
3101
3138
  numberValue: z.ZodNullable<z.ZodNumber>;
3102
3139
  dateValue: z.ZodNullable<z.ZodDate>;
3103
- attribute: z.ZodObject<Omit<{
3140
+ attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
3104
3141
  id: z.ZodString;
3105
3142
  createdAt: z.ZodDate;
3106
3143
  updatedAt: z.ZodDate;
3107
3144
  deletedAt: z.ZodNullable<z.ZodDate>;
3145
+ }, {
3108
3146
  systemName: z.ZodString;
3109
3147
  displayName: z.ZodString;
3110
3148
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -3113,13 +3151,14 @@ export declare const cxLogContract: {
3113
3151
  isArchived: z.ZodBoolean;
3114
3152
  isRequired: z.ZodBoolean;
3115
3153
  isUnique: z.ZodBoolean;
3116
- options: z.ZodArray<z.ZodObject<{
3117
- position: z.ZodNumber;
3118
- value: z.ZodString;
3154
+ options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
3119
3155
  label: z.ZodString;
3156
+ value: z.ZodString;
3120
3157
  isDefault: z.ZodBoolean;
3158
+ position: z.ZodNumber;
3159
+ }, {
3121
3160
  id: z.ZodString;
3122
- }, "strip", z.ZodTypeAny, {
3161
+ }>, "strip", z.ZodTypeAny, {
3123
3162
  id: string;
3124
3163
  position: number;
3125
3164
  value: string;
@@ -3132,14 +3171,15 @@ export declare const cxLogContract: {
3132
3171
  label: string;
3133
3172
  isDefault: boolean;
3134
3173
  }>, "many">;
3135
- group: z.ZodObject<{
3174
+ group: z.ZodObject<z.objectUtil.extendShape<{
3136
3175
  id: z.ZodString;
3137
3176
  createdAt: z.ZodDate;
3138
3177
  updatedAt: z.ZodDate;
3139
3178
  deletedAt: z.ZodNullable<z.ZodDate>;
3179
+ }, {
3140
3180
  systemName: z.ZodString;
3141
3181
  displayName: z.ZodString;
3142
- }, "strip", z.ZodTypeAny, {
3182
+ }>, "strip", z.ZodTypeAny, {
3143
3183
  id: string;
3144
3184
  createdAt: Date;
3145
3185
  updatedAt: Date;
@@ -3154,7 +3194,7 @@ export declare const cxLogContract: {
3154
3194
  systemName: string;
3155
3195
  displayName: string;
3156
3196
  }>;
3157
- }, "options" | "group">, "strip", z.ZodTypeAny, {
3197
+ }>, "options" | "group">, "strip", z.ZodTypeAny, {
3158
3198
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
3159
3199
  id: string;
3160
3200
  position: number;
@@ -3181,7 +3221,7 @@ export declare const cxLogContract: {
3181
3221
  isRequired: boolean;
3182
3222
  isUnique: boolean;
3183
3223
  }>;
3184
- }, "strip", z.ZodTypeAny, {
3224
+ }>, "strip", z.ZodTypeAny, {
3185
3225
  id: string;
3186
3226
  createdAt: Date;
3187
3227
  updatedAt: Date;
@@ -3228,7 +3268,7 @@ export declare const cxLogContract: {
3228
3268
  numberValue: number | null;
3229
3269
  dateValue: Date | null;
3230
3270
  }>, "many">>;
3231
- }, "customFields">, "strip", z.ZodTypeAny, {
3271
+ }>, "customFields">, "strip", z.ZodTypeAny, {
3232
3272
  id: string;
3233
3273
  createdAt: Date;
3234
3274
  updatedAt: Date;
@@ -3309,11 +3349,12 @@ export declare const cxLogContract: {
3309
3349
  booleanValue: z.ZodNullable<z.ZodBoolean>;
3310
3350
  numberValue: z.ZodNullable<z.ZodNumber>;
3311
3351
  dateValue: z.ZodNullable<z.ZodDate>;
3312
- attribute: z.ZodObject<Omit<{
3352
+ attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
3313
3353
  id: z.ZodString;
3314
3354
  createdAt: z.ZodDate;
3315
3355
  updatedAt: z.ZodDate;
3316
3356
  deletedAt: z.ZodNullable<z.ZodDate>;
3357
+ }, {
3317
3358
  systemName: z.ZodString;
3318
3359
  displayName: z.ZodString;
3319
3360
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -3322,13 +3363,14 @@ export declare const cxLogContract: {
3322
3363
  isArchived: z.ZodBoolean;
3323
3364
  isRequired: z.ZodBoolean;
3324
3365
  isUnique: z.ZodBoolean;
3325
- options: z.ZodArray<z.ZodObject<{
3326
- position: z.ZodNumber;
3327
- value: z.ZodString;
3366
+ options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
3328
3367
  label: z.ZodString;
3368
+ value: z.ZodString;
3329
3369
  isDefault: z.ZodBoolean;
3370
+ position: z.ZodNumber;
3371
+ }, {
3330
3372
  id: z.ZodString;
3331
- }, "strip", z.ZodTypeAny, {
3373
+ }>, "strip", z.ZodTypeAny, {
3332
3374
  id: string;
3333
3375
  position: number;
3334
3376
  value: string;
@@ -3341,14 +3383,15 @@ export declare const cxLogContract: {
3341
3383
  label: string;
3342
3384
  isDefault: boolean;
3343
3385
  }>, "many">;
3344
- group: z.ZodObject<{
3386
+ group: z.ZodObject<z.objectUtil.extendShape<{
3345
3387
  id: z.ZodString;
3346
3388
  createdAt: z.ZodDate;
3347
3389
  updatedAt: z.ZodDate;
3348
3390
  deletedAt: z.ZodNullable<z.ZodDate>;
3391
+ }, {
3349
3392
  systemName: z.ZodString;
3350
3393
  displayName: z.ZodString;
3351
- }, "strip", z.ZodTypeAny, {
3394
+ }>, "strip", z.ZodTypeAny, {
3352
3395
  id: string;
3353
3396
  createdAt: Date;
3354
3397
  updatedAt: Date;
@@ -3363,7 +3406,7 @@ export declare const cxLogContract: {
3363
3406
  systemName: string;
3364
3407
  displayName: string;
3365
3408
  }>;
3366
- }, "options" | "group">, "strip", z.ZodTypeAny, {
3409
+ }>, "options" | "group">, "strip", z.ZodTypeAny, {
3367
3410
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
3368
3411
  id: string;
3369
3412
  position: number;
@@ -3390,18 +3433,19 @@ export declare const cxLogContract: {
3390
3433
  isRequired: boolean;
3391
3434
  isUnique: boolean;
3392
3435
  }>;
3393
- uploads: z.ZodArray<z.ZodObject<{
3436
+ uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
3394
3437
  id: z.ZodString;
3395
3438
  createdAt: z.ZodDate;
3396
3439
  updatedAt: z.ZodDate;
3397
3440
  deletedAt: z.ZodNullable<z.ZodDate>;
3441
+ }, {
3398
3442
  bucketName: z.ZodString;
3399
3443
  fileName: z.ZodString;
3400
3444
  fileSize: z.ZodNumber;
3401
3445
  fileKey: z.ZodString;
3402
3446
  fileUrl: z.ZodNullable<z.ZodString>;
3403
3447
  status: z.ZodNullable<z.ZodString>;
3404
- }, "strip", z.ZodTypeAny, {
3448
+ }>, "strip", z.ZodTypeAny, {
3405
3449
  id: string;
3406
3450
  status: string | null;
3407
3451
  createdAt: Date;
@@ -3822,16 +3866,17 @@ export declare const cxLogContract: {
3822
3866
  };
3823
3867
  }[] | undefined;
3824
3868
  }>>;
3825
- telephonyQueue: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3869
+ telephonyQueue: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
3826
3870
  id: z.ZodString;
3827
3871
  createdAt: z.ZodDate;
3828
3872
  updatedAt: z.ZodDate;
3829
3873
  deletedAt: z.ZodNullable<z.ZodDate>;
3874
+ }, {
3830
3875
  queueId: z.ZodNumber;
3831
3876
  queueName: z.ZodString;
3832
3877
  queueNumber: z.ZodString;
3833
3878
  maximumWaitingTime: z.ZodNumber;
3834
- }, "strip", z.ZodTypeAny, {
3879
+ }>, "strip", z.ZodTypeAny, {
3835
3880
  id: string;
3836
3881
  createdAt: Date;
3837
3882
  updatedAt: Date;
@@ -3858,18 +3903,19 @@ export declare const cxLogContract: {
3858
3903
  agentRingTime: z.ZodNullable<z.ZodNumber>;
3859
3904
  uploadId: z.ZodNullable<z.ZodString>;
3860
3905
  serialNumber: z.ZodNullable<z.ZodString>;
3861
- upload: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3906
+ upload: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
3862
3907
  id: z.ZodString;
3863
3908
  createdAt: z.ZodDate;
3864
3909
  updatedAt: z.ZodDate;
3865
3910
  deletedAt: z.ZodNullable<z.ZodDate>;
3911
+ }, {
3866
3912
  bucketName: z.ZodString;
3867
3913
  fileName: z.ZodString;
3868
3914
  fileSize: z.ZodNumber;
3869
3915
  fileKey: z.ZodString;
3870
3916
  fileUrl: z.ZodNullable<z.ZodString>;
3871
3917
  status: z.ZodNullable<z.ZodString>;
3872
- }, "strip", z.ZodTypeAny, {
3918
+ }>, "strip", z.ZodTypeAny, {
3873
3919
  id: string;
3874
3920
  status: string | null;
3875
3921
  createdAt: Date;
@@ -4304,7 +4350,7 @@ export declare const cxLogContract: {
4304
4350
  updatedAt?: string | undefined;
4305
4351
  }>>>;
4306
4352
  }, "strip", z.ZodTypeAny, {
4307
- callTo?: {
4353
+ callFrom?: {
4308
4354
  id: string;
4309
4355
  user: {
4310
4356
  name: string;
@@ -4330,7 +4376,7 @@ export declare const cxLogContract: {
4330
4376
  createdAt?: string | undefined;
4331
4377
  updatedAt?: string | undefined;
4332
4378
  } | null | undefined;
4333
- callFrom?: {
4379
+ callTo?: {
4334
4380
  id: string;
4335
4381
  user: {
4336
4382
  name: string;
@@ -4357,7 +4403,7 @@ export declare const cxLogContract: {
4357
4403
  updatedAt?: string | undefined;
4358
4404
  } | null | undefined;
4359
4405
  }, {
4360
- callTo?: {
4406
+ callFrom?: {
4361
4407
  id: string;
4362
4408
  user: {
4363
4409
  name: string;
@@ -4383,7 +4429,7 @@ export declare const cxLogContract: {
4383
4429
  createdAt?: string | undefined;
4384
4430
  updatedAt?: string | undefined;
4385
4431
  } | null | undefined;
4386
- callFrom?: {
4432
+ callTo?: {
4387
4433
  id: string;
4388
4434
  user: {
4389
4435
  name: string;
@@ -4412,7 +4458,7 @@ export declare const cxLogContract: {
4412
4458
  }>>;
4413
4459
  isQueueMissedCall: z.ZodBoolean;
4414
4460
  extensionId: z.ZodNullable<z.ZodString>;
4415
- extension: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4461
+ extension: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
4416
4462
  id: z.ZodString;
4417
4463
  createdAt: z.ZodDate;
4418
4464
  updatedAt: z.ZodDate;
@@ -4424,6 +4470,7 @@ export declare const cxLogContract: {
4424
4470
  extensionId: z.ZodNullable<z.ZodString>;
4425
4471
  extensionName: z.ZodString;
4426
4472
  telephonySignature: z.ZodNullable<z.ZodString>;
4473
+ }, {
4427
4474
  user: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4428
4475
  id: z.ZodString;
4429
4476
  createdAt: z.ZodDate;
@@ -4628,7 +4675,7 @@ export declare const cxLogContract: {
4628
4675
  telephonySignature: string | null;
4629
4676
  };
4630
4677
  }>>>;
4631
- }, "strip", z.ZodTypeAny, {
4678
+ }>, "strip", z.ZodTypeAny, {
4632
4679
  id: string;
4633
4680
  createdAt: Date;
4634
4681
  updatedAt: Date;
@@ -4743,7 +4790,7 @@ export declare const cxLogContract: {
4743
4790
  }>>>;
4744
4791
  telephonyQueueId: z.ZodNullable<z.ZodString>;
4745
4792
  contactId: z.ZodNullable<z.ZodString>;
4746
- }, "strip", z.ZodTypeAny, {
4793
+ }>, "strip", z.ZodTypeAny, {
4747
4794
  type: string;
4748
4795
  id: string;
4749
4796
  recording: string | null;
@@ -4766,7 +4813,7 @@ export declare const cxLogContract: {
4766
4813
  uploadId: string | null;
4767
4814
  serialNumber: string | null;
4768
4815
  callParticipants: {
4769
- callTo?: {
4816
+ callFrom?: {
4770
4817
  id: string;
4771
4818
  user: {
4772
4819
  name: string;
@@ -4792,7 +4839,7 @@ export declare const cxLogContract: {
4792
4839
  createdAt?: string | undefined;
4793
4840
  updatedAt?: string | undefined;
4794
4841
  } | null | undefined;
4795
- callFrom?: {
4842
+ callTo?: {
4796
4843
  id: string;
4797
4844
  user: {
4798
4845
  name: string;
@@ -4822,25 +4869,82 @@ export declare const cxLogContract: {
4822
4869
  isQueueMissedCall: boolean;
4823
4870
  telephonyQueueId: string | null;
4824
4871
  contactId: string | null;
4825
- contact?: {
4826
- name: string;
4872
+ extension?: {
4827
4873
  id: string;
4828
- channel: string | null;
4829
- address: string | null;
4830
4874
  createdAt: Date;
4831
4875
  updatedAt: Date;
4832
4876
  deletedAt: Date | null;
4833
- customFields: {
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;
4834
4886
  id: string;
4887
+ address: string | null;
4888
+ email: string;
4835
4889
  createdAt: Date;
4836
4890
  updatedAt: Date;
4837
4891
  deletedAt: Date | null;
4838
- attribute: {
4839
- type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
4840
- id: string;
4841
- position: number;
4842
- createdAt: Date;
4843
- updatedAt: Date;
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: {
4938
+ id: string;
4939
+ createdAt: Date;
4940
+ updatedAt: Date;
4941
+ deletedAt: Date | null;
4942
+ attribute: {
4943
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
4944
+ id: string;
4945
+ position: number;
4946
+ createdAt: Date;
4947
+ updatedAt: Date;
4844
4948
  deletedAt: Date | null;
4845
4949
  systemName: string;
4846
4950
  displayName: string;
@@ -4956,63 +5060,6 @@ export declare const cxLogContract: {
4956
5060
  fileSize: number;
4957
5061
  fileUrl: string | null;
4958
5062
  } | null | undefined;
4959
- extension?: {
4960
- id: string;
4961
- createdAt: Date;
4962
- updatedAt: Date;
4963
- deletedAt: Date | null;
4964
- userId: string | null;
4965
- sipServerUrl: string;
4966
- sipUserName: string;
4967
- webphoneLoginUser: string;
4968
- extensionId: string | null;
4969
- extensionName: string;
4970
- telephonySignature: string | null;
4971
- user?: {
4972
- name: string;
4973
- id: string;
4974
- address: string | null;
4975
- email: string;
4976
- createdAt: Date;
4977
- updatedAt: Date;
4978
- deletedAt: Date | null;
4979
- emailVerifiedAt: Date | null;
4980
- password: string;
4981
- phone: string | null;
4982
- notificationCount: number | null;
4983
- roles: {
4984
- id: string;
4985
- description: string | null;
4986
- createdAt: Date;
4987
- updatedAt: Date;
4988
- deletedAt: Date | null;
4989
- systemName: string;
4990
- displayName: string;
4991
- permissions: {
4992
- id: string;
4993
- description: string | null;
4994
- createdAt: Date;
4995
- updatedAt: Date;
4996
- deletedAt: Date | null;
4997
- systemName: string;
4998
- displayName: string;
4999
- }[];
5000
- }[];
5001
- extension: {
5002
- id: string;
5003
- createdAt: Date;
5004
- updatedAt: Date;
5005
- deletedAt: Date | null;
5006
- userId: string | null;
5007
- sipServerUrl: string;
5008
- sipUserName: string;
5009
- webphoneLoginUser: string;
5010
- extensionId: string | null;
5011
- extensionName: string;
5012
- telephonySignature: string | null;
5013
- };
5014
- } | null | undefined;
5015
- } | null | undefined;
5016
5063
  }, {
5017
5064
  type: string;
5018
5065
  id: string;
@@ -5036,7 +5083,7 @@ export declare const cxLogContract: {
5036
5083
  uploadId: string | null;
5037
5084
  serialNumber: string | null;
5038
5085
  callParticipants: {
5039
- callTo?: {
5086
+ callFrom?: {
5040
5087
  id: string;
5041
5088
  user: {
5042
5089
  name: string;
@@ -5062,7 +5109,7 @@ export declare const cxLogContract: {
5062
5109
  createdAt?: string | undefined;
5063
5110
  updatedAt?: string | undefined;
5064
5111
  } | null | undefined;
5065
- callFrom?: {
5112
+ callTo?: {
5066
5113
  id: string;
5067
5114
  user: {
5068
5115
  name: string;
@@ -5092,6 +5139,63 @@ export declare const cxLogContract: {
5092
5139
  isQueueMissedCall: boolean;
5093
5140
  telephonyQueueId: string | null;
5094
5141
  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;
5095
5199
  contact?: {
5096
5200
  name: string;
5097
5201
  id: string;
@@ -5226,63 +5330,6 @@ export declare const cxLogContract: {
5226
5330
  fileSize: number;
5227
5331
  fileUrl: string | null;
5228
5332
  } | null | undefined;
5229
- extension?: {
5230
- id: string;
5231
- createdAt: Date;
5232
- updatedAt: Date;
5233
- deletedAt: Date | null;
5234
- userId: string | null;
5235
- sipServerUrl: string;
5236
- sipUserName: string;
5237
- webphoneLoginUser: string;
5238
- extensionId: string | null;
5239
- extensionName: string;
5240
- telephonySignature: string | null;
5241
- user?: {
5242
- name: string;
5243
- id: string;
5244
- address: string | null;
5245
- email: string;
5246
- createdAt: Date;
5247
- updatedAt: Date;
5248
- deletedAt: Date | null;
5249
- emailVerifiedAt: Date | null;
5250
- password: string;
5251
- phone: string | null;
5252
- notificationCount: number | null;
5253
- roles: {
5254
- id: string;
5255
- description: string | null;
5256
- createdAt: Date;
5257
- updatedAt: Date;
5258
- deletedAt: Date | null;
5259
- systemName: string;
5260
- displayName: string;
5261
- permissions: {
5262
- id: string;
5263
- description: string | null;
5264
- createdAt: Date;
5265
- updatedAt: Date;
5266
- deletedAt: Date | null;
5267
- systemName: string;
5268
- displayName: string;
5269
- }[];
5270
- }[];
5271
- extension: {
5272
- id: string;
5273
- createdAt: Date;
5274
- updatedAt: Date;
5275
- deletedAt: Date | null;
5276
- userId: string | null;
5277
- sipServerUrl: string;
5278
- sipUserName: string;
5279
- webphoneLoginUser: string;
5280
- extensionId: string | null;
5281
- extensionName: string;
5282
- telephonySignature: string | null;
5283
- };
5284
- } | null | undefined;
5285
- } | null | undefined;
5286
5333
  }>>;
5287
5334
  queue: z.ZodNullable<z.ZodObject<{
5288
5335
  queueName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5302,13 +5349,14 @@ export declare const cxLogContract: {
5302
5349
  notes: z.ZodNullable<z.ZodString>;
5303
5350
  contactProfile: z.ZodNullable<z.ZodString>;
5304
5351
  socialProfileUrl: z.ZodNullable<z.ZodString>;
5305
- tags: z.ZodArray<z.ZodObject<{
5352
+ tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5306
5353
  id: z.ZodString;
5307
5354
  createdAt: z.ZodDate;
5308
5355
  updatedAt: z.ZodDate;
5309
5356
  deletedAt: z.ZodNullable<z.ZodDate>;
5357
+ }, {
5310
5358
  name: z.ZodString;
5311
- }, "strip", z.ZodTypeAny, {
5359
+ }>, "strip", z.ZodTypeAny, {
5312
5360
  name: string;
5313
5361
  id: string;
5314
5362
  createdAt: Date;
@@ -5321,29 +5369,32 @@ export declare const cxLogContract: {
5321
5369
  updatedAt: Date;
5322
5370
  deletedAt: Date | null;
5323
5371
  }>, "many">;
5324
- company: z.ZodNullable<z.ZodObject<Omit<{
5372
+ company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
5325
5373
  id: z.ZodString;
5326
5374
  createdAt: z.ZodDate;
5327
5375
  updatedAt: z.ZodDate;
5328
5376
  deletedAt: z.ZodNullable<z.ZodDate>;
5377
+ }, {
5329
5378
  name: z.ZodOptional<z.ZodString>;
5330
5379
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5331
5380
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5332
5381
  industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5333
- customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
5382
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5334
5383
  id: z.ZodString;
5335
5384
  createdAt: z.ZodDate;
5336
5385
  updatedAt: z.ZodDate;
5337
5386
  deletedAt: z.ZodNullable<z.ZodDate>;
5387
+ }, {
5338
5388
  textValue: z.ZodNullable<z.ZodString>;
5339
5389
  booleanValue: z.ZodNullable<z.ZodBoolean>;
5340
5390
  numberValue: z.ZodNullable<z.ZodNumber>;
5341
5391
  dateValue: z.ZodNullable<z.ZodDate>;
5342
- attribute: z.ZodObject<Omit<{
5392
+ attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
5343
5393
  id: z.ZodString;
5344
5394
  createdAt: z.ZodDate;
5345
5395
  updatedAt: z.ZodDate;
5346
5396
  deletedAt: z.ZodNullable<z.ZodDate>;
5397
+ }, {
5347
5398
  systemName: z.ZodString;
5348
5399
  displayName: z.ZodString;
5349
5400
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -5352,13 +5403,14 @@ export declare const cxLogContract: {
5352
5403
  isArchived: z.ZodBoolean;
5353
5404
  isRequired: z.ZodBoolean;
5354
5405
  isUnique: z.ZodBoolean;
5355
- options: z.ZodArray<z.ZodObject<{
5356
- position: z.ZodNumber;
5357
- value: z.ZodString;
5406
+ options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5358
5407
  label: z.ZodString;
5408
+ value: z.ZodString;
5359
5409
  isDefault: z.ZodBoolean;
5410
+ position: z.ZodNumber;
5411
+ }, {
5360
5412
  id: z.ZodString;
5361
- }, "strip", z.ZodTypeAny, {
5413
+ }>, "strip", z.ZodTypeAny, {
5362
5414
  id: string;
5363
5415
  position: number;
5364
5416
  value: string;
@@ -5371,14 +5423,15 @@ export declare const cxLogContract: {
5371
5423
  label: string;
5372
5424
  isDefault: boolean;
5373
5425
  }>, "many">;
5374
- group: z.ZodObject<{
5426
+ group: z.ZodObject<z.objectUtil.extendShape<{
5375
5427
  id: z.ZodString;
5376
5428
  createdAt: z.ZodDate;
5377
5429
  updatedAt: z.ZodDate;
5378
5430
  deletedAt: z.ZodNullable<z.ZodDate>;
5431
+ }, {
5379
5432
  systemName: z.ZodString;
5380
5433
  displayName: z.ZodString;
5381
- }, "strip", z.ZodTypeAny, {
5434
+ }>, "strip", z.ZodTypeAny, {
5382
5435
  id: string;
5383
5436
  createdAt: Date;
5384
5437
  updatedAt: Date;
@@ -5393,7 +5446,7 @@ export declare const cxLogContract: {
5393
5446
  systemName: string;
5394
5447
  displayName: string;
5395
5448
  }>;
5396
- }, "options" | "group">, "strip", z.ZodTypeAny, {
5449
+ }>, "options" | "group">, "strip", z.ZodTypeAny, {
5397
5450
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
5398
5451
  id: string;
5399
5452
  position: number;
@@ -5420,7 +5473,7 @@ export declare const cxLogContract: {
5420
5473
  isRequired: boolean;
5421
5474
  isUnique: boolean;
5422
5475
  }>;
5423
- }, "strip", z.ZodTypeAny, {
5476
+ }>, "strip", z.ZodTypeAny, {
5424
5477
  id: string;
5425
5478
  createdAt: Date;
5426
5479
  updatedAt: Date;
@@ -5467,7 +5520,7 @@ export declare const cxLogContract: {
5467
5520
  numberValue: number | null;
5468
5521
  dateValue: Date | null;
5469
5522
  }>, "many">>;
5470
- }, "customFields">, "strip", z.ZodTypeAny, {
5523
+ }>, "customFields">, "strip", z.ZodTypeAny, {
5471
5524
  id: string;
5472
5525
  createdAt: Date;
5473
5526
  updatedAt: Date;
@@ -5548,11 +5601,12 @@ export declare const cxLogContract: {
5548
5601
  booleanValue: z.ZodNullable<z.ZodBoolean>;
5549
5602
  numberValue: z.ZodNullable<z.ZodNumber>;
5550
5603
  dateValue: z.ZodNullable<z.ZodDate>;
5551
- attribute: z.ZodObject<Omit<{
5604
+ attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
5552
5605
  id: z.ZodString;
5553
5606
  createdAt: z.ZodDate;
5554
5607
  updatedAt: z.ZodDate;
5555
5608
  deletedAt: z.ZodNullable<z.ZodDate>;
5609
+ }, {
5556
5610
  systemName: z.ZodString;
5557
5611
  displayName: z.ZodString;
5558
5612
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -5561,13 +5615,14 @@ export declare const cxLogContract: {
5561
5615
  isArchived: z.ZodBoolean;
5562
5616
  isRequired: z.ZodBoolean;
5563
5617
  isUnique: z.ZodBoolean;
5564
- options: z.ZodArray<z.ZodObject<{
5565
- position: z.ZodNumber;
5566
- value: z.ZodString;
5618
+ options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5567
5619
  label: z.ZodString;
5620
+ value: z.ZodString;
5568
5621
  isDefault: z.ZodBoolean;
5622
+ position: z.ZodNumber;
5623
+ }, {
5569
5624
  id: z.ZodString;
5570
- }, "strip", z.ZodTypeAny, {
5625
+ }>, "strip", z.ZodTypeAny, {
5571
5626
  id: string;
5572
5627
  position: number;
5573
5628
  value: string;
@@ -5580,14 +5635,15 @@ export declare const cxLogContract: {
5580
5635
  label: string;
5581
5636
  isDefault: boolean;
5582
5637
  }>, "many">;
5583
- group: z.ZodObject<{
5638
+ group: z.ZodObject<z.objectUtil.extendShape<{
5584
5639
  id: z.ZodString;
5585
5640
  createdAt: z.ZodDate;
5586
5641
  updatedAt: z.ZodDate;
5587
5642
  deletedAt: z.ZodNullable<z.ZodDate>;
5643
+ }, {
5588
5644
  systemName: z.ZodString;
5589
5645
  displayName: z.ZodString;
5590
- }, "strip", z.ZodTypeAny, {
5646
+ }>, "strip", z.ZodTypeAny, {
5591
5647
  id: string;
5592
5648
  createdAt: Date;
5593
5649
  updatedAt: Date;
@@ -5602,7 +5658,7 @@ export declare const cxLogContract: {
5602
5658
  systemName: string;
5603
5659
  displayName: string;
5604
5660
  }>;
5605
- }, "options" | "group">, "strip", z.ZodTypeAny, {
5661
+ }>, "options" | "group">, "strip", z.ZodTypeAny, {
5606
5662
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
5607
5663
  id: string;
5608
5664
  position: number;
@@ -5629,18 +5685,19 @@ export declare const cxLogContract: {
5629
5685
  isRequired: boolean;
5630
5686
  isUnique: boolean;
5631
5687
  }>;
5632
- uploads: z.ZodArray<z.ZodObject<{
5688
+ uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5633
5689
  id: z.ZodString;
5634
5690
  createdAt: z.ZodDate;
5635
5691
  updatedAt: z.ZodDate;
5636
5692
  deletedAt: z.ZodNullable<z.ZodDate>;
5693
+ }, {
5637
5694
  bucketName: z.ZodString;
5638
5695
  fileName: z.ZodString;
5639
5696
  fileSize: z.ZodNumber;
5640
5697
  fileKey: z.ZodString;
5641
5698
  fileUrl: z.ZodNullable<z.ZodString>;
5642
5699
  status: z.ZodNullable<z.ZodString>;
5643
- }, "strip", z.ZodTypeAny, {
5700
+ }>, "strip", z.ZodTypeAny, {
5644
5701
  id: string;
5645
5702
  status: string | null;
5646
5703
  createdAt: Date;
@@ -6674,7 +6731,7 @@ export declare const cxLogContract: {
6674
6731
  };
6675
6732
  }>>;
6676
6733
  contactLabel: z.ZodArray<z.ZodString, "many">;
6677
- }, "strip", z.ZodTypeAny, {
6734
+ }>, "strip", z.ZodTypeAny, {
6678
6735
  id: string;
6679
6736
  channel: string | null;
6680
6737
  direction: string | null;
@@ -6877,19 +6934,19 @@ export declare const cxLogContract: {
6877
6934
  name: string;
6878
6935
  id: string;
6879
6936
  accessToken?: string | undefined;
6880
- channelSecret?: string | undefined;
6881
- additionalCredentials?: any;
6882
- senderId?: string | undefined;
6883
6937
  whatsapp?: {
6884
6938
  email: string;
6885
6939
  wabaExternalId: string;
6886
6940
  phoneNumberId: string;
6941
+ status?: "active" | "pending" | undefined;
6942
+ channelId?: string | undefined;
6887
6943
  wabaBusinessId?: string | undefined;
6888
6944
  clientId?: string | undefined;
6889
- channelId?: string | undefined;
6890
- status?: "active" | "pending" | undefined;
6891
6945
  apiKey?: string | undefined;
6892
6946
  } | undefined;
6947
+ additionalCredentials?: any;
6948
+ channelSecret?: string | undefined;
6949
+ senderId?: string | undefined;
6893
6950
  vonageCredentials?: {
6894
6951
  apiKey: string;
6895
6952
  mobileNumber: string;
@@ -7209,7 +7266,7 @@ export declare const cxLogContract: {
7209
7266
  uploadId: string | null;
7210
7267
  serialNumber: string | null;
7211
7268
  callParticipants: {
7212
- callTo?: {
7269
+ callFrom?: {
7213
7270
  id: string;
7214
7271
  user: {
7215
7272
  name: string;
@@ -7235,7 +7292,7 @@ export declare const cxLogContract: {
7235
7292
  createdAt?: string | undefined;
7236
7293
  updatedAt?: string | undefined;
7237
7294
  } | null | undefined;
7238
- callFrom?: {
7295
+ callTo?: {
7239
7296
  id: string;
7240
7297
  user: {
7241
7298
  name: string;
@@ -7265,6 +7322,63 @@ export declare const cxLogContract: {
7265
7322
  isQueueMissedCall: boolean;
7266
7323
  telephonyQueueId: string | null;
7267
7324
  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;
7268
7382
  contact?: {
7269
7383
  name: string;
7270
7384
  id: string;
@@ -7399,63 +7513,6 @@ export declare const cxLogContract: {
7399
7513
  fileSize: number;
7400
7514
  fileUrl: string | null;
7401
7515
  } | null | undefined;
7402
- extension?: {
7403
- id: string;
7404
- createdAt: Date;
7405
- updatedAt: Date;
7406
- deletedAt: Date | null;
7407
- userId: string | null;
7408
- sipServerUrl: string;
7409
- sipUserName: string;
7410
- webphoneLoginUser: string;
7411
- extensionId: string | null;
7412
- extensionName: string;
7413
- telephonySignature: string | null;
7414
- user?: {
7415
- name: string;
7416
- id: string;
7417
- address: string | null;
7418
- email: string;
7419
- createdAt: Date;
7420
- updatedAt: Date;
7421
- deletedAt: Date | null;
7422
- emailVerifiedAt: Date | null;
7423
- password: string;
7424
- phone: string | null;
7425
- notificationCount: number | null;
7426
- roles: {
7427
- id: string;
7428
- description: string | null;
7429
- createdAt: Date;
7430
- updatedAt: Date;
7431
- deletedAt: Date | null;
7432
- systemName: string;
7433
- displayName: string;
7434
- permissions: {
7435
- id: string;
7436
- description: string | null;
7437
- createdAt: Date;
7438
- updatedAt: Date;
7439
- deletedAt: Date | null;
7440
- systemName: string;
7441
- displayName: string;
7442
- }[];
7443
- }[];
7444
- extension: {
7445
- id: string;
7446
- createdAt: Date;
7447
- updatedAt: Date;
7448
- deletedAt: Date | null;
7449
- userId: string | null;
7450
- sipServerUrl: string;
7451
- sipUserName: string;
7452
- webphoneLoginUser: string;
7453
- extensionId: string | null;
7454
- extensionName: string;
7455
- telephonySignature: string | null;
7456
- };
7457
- } | null | undefined;
7458
- } | null | undefined;
7459
7516
  } | null;
7460
7517
  queue: {
7461
7518
  queueName?: string | null | undefined;
@@ -7796,19 +7853,19 @@ export declare const cxLogContract: {
7796
7853
  name: string;
7797
7854
  id: string;
7798
7855
  accessToken?: string | undefined;
7799
- channelSecret?: string | undefined;
7800
- additionalCredentials?: any;
7801
- senderId?: string | undefined;
7802
7856
  whatsapp?: {
7803
7857
  email: string;
7804
7858
  wabaExternalId: string;
7805
7859
  phoneNumberId: string;
7860
+ status?: "active" | "pending" | undefined;
7861
+ channelId?: string | undefined;
7806
7862
  wabaBusinessId?: string | undefined;
7807
7863
  clientId?: string | undefined;
7808
- channelId?: string | undefined;
7809
- status?: "active" | "pending" | undefined;
7810
7864
  apiKey?: string | undefined;
7811
7865
  } | undefined;
7866
+ additionalCredentials?: any;
7867
+ channelSecret?: string | undefined;
7868
+ senderId?: string | undefined;
7812
7869
  vonageCredentials?: {
7813
7870
  apiKey: string;
7814
7871
  mobileNumber: string;
@@ -8128,7 +8185,7 @@ export declare const cxLogContract: {
8128
8185
  uploadId: string | null;
8129
8186
  serialNumber: string | null;
8130
8187
  callParticipants: {
8131
- callTo?: {
8188
+ callFrom?: {
8132
8189
  id: string;
8133
8190
  user: {
8134
8191
  name: string;
@@ -8154,7 +8211,7 @@ export declare const cxLogContract: {
8154
8211
  createdAt?: string | undefined;
8155
8212
  updatedAt?: string | undefined;
8156
8213
  } | null | undefined;
8157
- callFrom?: {
8214
+ callTo?: {
8158
8215
  id: string;
8159
8216
  user: {
8160
8217
  name: string;
@@ -8184,6 +8241,63 @@ export declare const cxLogContract: {
8184
8241
  isQueueMissedCall: boolean;
8185
8242
  telephonyQueueId: string | null;
8186
8243
  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;
8187
8301
  contact?: {
8188
8302
  name: string;
8189
8303
  id: string;
@@ -8318,63 +8432,6 @@ export declare const cxLogContract: {
8318
8432
  fileSize: number;
8319
8433
  fileUrl: string | null;
8320
8434
  } | null | undefined;
8321
- extension?: {
8322
- id: string;
8323
- createdAt: Date;
8324
- updatedAt: Date;
8325
- deletedAt: Date | null;
8326
- userId: string | null;
8327
- sipServerUrl: string;
8328
- sipUserName: string;
8329
- webphoneLoginUser: string;
8330
- extensionId: string | null;
8331
- extensionName: string;
8332
- telephonySignature: string | null;
8333
- user?: {
8334
- name: string;
8335
- id: string;
8336
- address: string | null;
8337
- email: string;
8338
- createdAt: Date;
8339
- updatedAt: Date;
8340
- deletedAt: Date | null;
8341
- emailVerifiedAt: Date | null;
8342
- password: string;
8343
- phone: string | null;
8344
- notificationCount: number | null;
8345
- roles: {
8346
- id: string;
8347
- description: string | null;
8348
- createdAt: Date;
8349
- updatedAt: Date;
8350
- deletedAt: Date | null;
8351
- systemName: string;
8352
- displayName: string;
8353
- permissions: {
8354
- id: string;
8355
- description: string | null;
8356
- createdAt: Date;
8357
- updatedAt: Date;
8358
- deletedAt: Date | null;
8359
- systemName: string;
8360
- displayName: string;
8361
- }[];
8362
- }[];
8363
- extension: {
8364
- id: string;
8365
- createdAt: Date;
8366
- updatedAt: Date;
8367
- deletedAt: Date | null;
8368
- userId: string | null;
8369
- sipServerUrl: string;
8370
- sipUserName: string;
8371
- webphoneLoginUser: string;
8372
- extensionId: string | null;
8373
- extensionName: string;
8374
- telephonySignature: string | null;
8375
- };
8376
- } | null | undefined;
8377
- } | null | undefined;
8378
8435
  } | null;
8379
8436
  queue: {
8380
8437
  queueName?: string | null | undefined;
@@ -8513,7 +8570,7 @@ export declare const cxLogContract: {
8513
8570
  } | null;
8514
8571
  contactLabel: string[];
8515
8572
  }>, "many">;
8516
- }, "strip", z.ZodTypeAny, {
8573
+ }>, "strip", z.ZodTypeAny, {
8517
8574
  total: number;
8518
8575
  page: number;
8519
8576
  pageSize: number;
@@ -8721,19 +8778,19 @@ export declare const cxLogContract: {
8721
8778
  name: string;
8722
8779
  id: string;
8723
8780
  accessToken?: string | undefined;
8724
- channelSecret?: string | undefined;
8725
- additionalCredentials?: any;
8726
- senderId?: string | undefined;
8727
8781
  whatsapp?: {
8728
8782
  email: string;
8729
8783
  wabaExternalId: string;
8730
8784
  phoneNumberId: string;
8785
+ status?: "active" | "pending" | undefined;
8786
+ channelId?: string | undefined;
8731
8787
  wabaBusinessId?: string | undefined;
8732
8788
  clientId?: string | undefined;
8733
- channelId?: string | undefined;
8734
- status?: "active" | "pending" | undefined;
8735
8789
  apiKey?: string | undefined;
8736
8790
  } | undefined;
8791
+ additionalCredentials?: any;
8792
+ channelSecret?: string | undefined;
8793
+ senderId?: string | undefined;
8737
8794
  vonageCredentials?: {
8738
8795
  apiKey: string;
8739
8796
  mobileNumber: string;
@@ -9053,7 +9110,7 @@ export declare const cxLogContract: {
9053
9110
  uploadId: string | null;
9054
9111
  serialNumber: string | null;
9055
9112
  callParticipants: {
9056
- callTo?: {
9113
+ callFrom?: {
9057
9114
  id: string;
9058
9115
  user: {
9059
9116
  name: string;
@@ -9079,7 +9136,7 @@ export declare const cxLogContract: {
9079
9136
  createdAt?: string | undefined;
9080
9137
  updatedAt?: string | undefined;
9081
9138
  } | null | undefined;
9082
- callFrom?: {
9139
+ callTo?: {
9083
9140
  id: string;
9084
9141
  user: {
9085
9142
  name: string;
@@ -9109,6 +9166,63 @@ export declare const cxLogContract: {
9109
9166
  isQueueMissedCall: boolean;
9110
9167
  telephonyQueueId: string | null;
9111
9168
  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;
9112
9226
  contact?: {
9113
9227
  name: string;
9114
9228
  id: string;
@@ -9243,63 +9357,6 @@ export declare const cxLogContract: {
9243
9357
  fileSize: number;
9244
9358
  fileUrl: string | null;
9245
9359
  } | null | undefined;
9246
- extension?: {
9247
- id: string;
9248
- createdAt: Date;
9249
- updatedAt: Date;
9250
- deletedAt: Date | null;
9251
- userId: string | null;
9252
- sipServerUrl: string;
9253
- sipUserName: string;
9254
- webphoneLoginUser: string;
9255
- extensionId: string | null;
9256
- extensionName: string;
9257
- telephonySignature: string | null;
9258
- user?: {
9259
- name: string;
9260
- id: string;
9261
- address: string | null;
9262
- email: string;
9263
- createdAt: Date;
9264
- updatedAt: Date;
9265
- deletedAt: Date | null;
9266
- emailVerifiedAt: Date | null;
9267
- password: string;
9268
- phone: string | null;
9269
- notificationCount: number | null;
9270
- roles: {
9271
- id: string;
9272
- description: string | null;
9273
- createdAt: Date;
9274
- updatedAt: Date;
9275
- deletedAt: Date | null;
9276
- systemName: string;
9277
- displayName: string;
9278
- permissions: {
9279
- id: string;
9280
- description: string | null;
9281
- createdAt: Date;
9282
- updatedAt: Date;
9283
- deletedAt: Date | null;
9284
- systemName: string;
9285
- displayName: string;
9286
- }[];
9287
- }[];
9288
- extension: {
9289
- id: string;
9290
- createdAt: Date;
9291
- updatedAt: Date;
9292
- deletedAt: Date | null;
9293
- userId: string | null;
9294
- sipServerUrl: string;
9295
- sipUserName: string;
9296
- webphoneLoginUser: string;
9297
- extensionId: string | null;
9298
- extensionName: string;
9299
- telephonySignature: string | null;
9300
- };
9301
- } | null | undefined;
9302
- } | null | undefined;
9303
9360
  } | null;
9304
9361
  queue: {
9305
9362
  queueName?: string | null | undefined;
@@ -9646,19 +9703,19 @@ export declare const cxLogContract: {
9646
9703
  name: string;
9647
9704
  id: string;
9648
9705
  accessToken?: string | undefined;
9649
- channelSecret?: string | undefined;
9650
- additionalCredentials?: any;
9651
- senderId?: string | undefined;
9652
9706
  whatsapp?: {
9653
9707
  email: string;
9654
9708
  wabaExternalId: string;
9655
9709
  phoneNumberId: string;
9710
+ status?: "active" | "pending" | undefined;
9711
+ channelId?: string | undefined;
9656
9712
  wabaBusinessId?: string | undefined;
9657
9713
  clientId?: string | undefined;
9658
- channelId?: string | undefined;
9659
- status?: "active" | "pending" | undefined;
9660
9714
  apiKey?: string | undefined;
9661
9715
  } | undefined;
9716
+ additionalCredentials?: any;
9717
+ channelSecret?: string | undefined;
9718
+ senderId?: string | undefined;
9662
9719
  vonageCredentials?: {
9663
9720
  apiKey: string;
9664
9721
  mobileNumber: string;
@@ -9978,7 +10035,7 @@ export declare const cxLogContract: {
9978
10035
  uploadId: string | null;
9979
10036
  serialNumber: string | null;
9980
10037
  callParticipants: {
9981
- callTo?: {
10038
+ callFrom?: {
9982
10039
  id: string;
9983
10040
  user: {
9984
10041
  name: string;
@@ -10004,7 +10061,7 @@ export declare const cxLogContract: {
10004
10061
  createdAt?: string | undefined;
10005
10062
  updatedAt?: string | undefined;
10006
10063
  } | null | undefined;
10007
- callFrom?: {
10064
+ callTo?: {
10008
10065
  id: string;
10009
10066
  user: {
10010
10067
  name: string;
@@ -10034,6 +10091,63 @@ export declare const cxLogContract: {
10034
10091
  isQueueMissedCall: boolean;
10035
10092
  telephonyQueueId: string | null;
10036
10093
  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;
10037
10151
  contact?: {
10038
10152
  name: string;
10039
10153
  id: string;
@@ -10168,63 +10282,6 @@ export declare const cxLogContract: {
10168
10282
  fileSize: number;
10169
10283
  fileUrl: string | null;
10170
10284
  } | null | undefined;
10171
- extension?: {
10172
- id: string;
10173
- createdAt: Date;
10174
- updatedAt: Date;
10175
- deletedAt: Date | null;
10176
- userId: string | null;
10177
- sipServerUrl: string;
10178
- sipUserName: string;
10179
- webphoneLoginUser: string;
10180
- extensionId: string | null;
10181
- extensionName: string;
10182
- telephonySignature: string | null;
10183
- user?: {
10184
- name: string;
10185
- id: string;
10186
- address: string | null;
10187
- email: string;
10188
- createdAt: Date;
10189
- updatedAt: Date;
10190
- deletedAt: Date | null;
10191
- emailVerifiedAt: Date | null;
10192
- password: string;
10193
- phone: string | null;
10194
- notificationCount: number | null;
10195
- roles: {
10196
- id: string;
10197
- description: string | null;
10198
- createdAt: Date;
10199
- updatedAt: Date;
10200
- deletedAt: Date | null;
10201
- systemName: string;
10202
- displayName: string;
10203
- permissions: {
10204
- id: string;
10205
- description: string | null;
10206
- createdAt: Date;
10207
- updatedAt: Date;
10208
- deletedAt: Date | null;
10209
- systemName: string;
10210
- displayName: string;
10211
- }[];
10212
- }[];
10213
- extension: {
10214
- id: string;
10215
- createdAt: Date;
10216
- updatedAt: Date;
10217
- deletedAt: Date | null;
10218
- userId: string | null;
10219
- sipServerUrl: string;
10220
- sipUserName: string;
10221
- webphoneLoginUser: string;
10222
- extensionId: string | null;
10223
- extensionName: string;
10224
- telephonySignature: string | null;
10225
- };
10226
- } | null | undefined;
10227
- } | null | undefined;
10228
10285
  } | null;
10229
10286
  queue: {
10230
10287
  queueName?: string | null | undefined;
@@ -10375,23 +10432,6 @@ export declare const cxLogContract: {
10375
10432
  error?: any;
10376
10433
  }>;
10377
10434
  };
10378
- path: "/cx-logs";
10379
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
10380
- 'x-tenant': z.ZodString;
10381
- authorization: z.ZodString;
10382
- 'x-code': z.ZodOptional<z.ZodString>;
10383
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
10384
- }, "strip", z.ZodTypeAny, {
10385
- 'x-tenant': string;
10386
- authorization: string;
10387
- 'x-client-timezone': string;
10388
- 'x-code'?: string | undefined;
10389
- }, {
10390
- 'x-tenant': string;
10391
- authorization: string;
10392
- 'x-code'?: string | undefined;
10393
- 'x-client-timezone'?: string | undefined;
10394
- }>>>;
10395
10435
  };
10396
10436
  export: {
10397
10437
  summary: "Export cx-logs";
@@ -10424,74 +10464,91 @@ export declare const cxLogContract: {
10424
10464
  value: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
10425
10465
  type: z.ZodOptional<z.ZodString>;
10426
10466
  }, "strip", z.ZodTypeAny, {
10427
- value: (string | string[]) & (string | string[] | undefined);
10467
+ value: string | string[];
10428
10468
  attributeId: string;
10429
10469
  type?: string | undefined;
10430
10470
  }, {
10431
- value: (string | string[]) & (string | string[] | undefined);
10471
+ value: string | string[];
10432
10472
  attributeId: string;
10433
10473
  type?: string | undefined;
10434
10474
  }>, "many">>;
10435
10475
  selectedDate: z.ZodOptional<z.ZodString>;
10436
10476
  }, "strip", z.ZodTypeAny, {
10437
- page?: number | undefined;
10438
- pageSize?: number | undefined;
10439
- contactId?: string | undefined;
10440
- caseId?: string | undefined;
10441
- channelIds?: string[] | undefined;
10442
- trunks?: string[] | undefined;
10443
- queueId?: string[] | undefined;
10444
- agentIds?: string[] | undefined;
10445
- direction?: ("inbound" | "outbound")[] | undefined;
10446
- disposition?: string[] | undefined;
10447
- sentimentScore?: ("negative" | "positive" | "neutral")[] | undefined;
10448
- csatScore?: string[] | undefined;
10449
- sla?: "meet" | "unmeet" | undefined;
10450
- tags?: string[] | undefined;
10451
10477
  name?: string | undefined;
10452
- contactLabels?: string[] | undefined;
10453
- email?: string | undefined;
10454
10478
  channel?: string[] | undefined;
10455
- phone?: string | undefined;
10456
- notes?: string | undefined;
10457
10479
  address?: string | undefined;
10458
- company?: string[] | undefined;
10480
+ disposition?: string[] | undefined;
10481
+ direction?: ("inbound" | "outbound")[] | undefined;
10482
+ page?: number | undefined;
10483
+ email?: string | undefined;
10484
+ pageSize?: number | undefined;
10485
+ phone?: string | undefined;
10459
10486
  customFields?: {
10460
- value: (string | string[]) & (string | string[] | undefined);
10487
+ value: string | string[];
10461
10488
  attributeId: string;
10462
10489
  type?: string | undefined;
10463
10490
  }[] | undefined;
10464
- selectedDate?: string | undefined;
10465
- }, {
10466
- page?: number | undefined;
10467
- pageSize?: number | 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;
10468
10497
  contactId?: string | undefined;
10498
+ trunks?: string[] | undefined;
10469
10499
  caseId?: string | undefined;
10500
+ selectedDate?: string | undefined;
10470
10501
  channelIds?: string[] | undefined;
10471
- trunks?: string[] | undefined;
10472
- queueId?: string[] | undefined;
10473
10502
  agentIds?: string[] | undefined;
10474
- direction?: ("inbound" | "outbound")[] | undefined;
10475
- disposition?: string[] | undefined;
10476
- sentimentScore?: ("negative" | "positive" | "neutral")[] | undefined;
10477
- csatScore?: string[] | undefined;
10478
10503
  sla?: "meet" | "unmeet" | undefined;
10479
- tags?: string[] | undefined;
10480
- name?: string | undefined;
10481
10504
  contactLabels?: string[] | undefined;
10482
- email?: string | undefined;
10505
+ }, {
10506
+ name?: string | undefined;
10483
10507
  channel?: string[] | undefined;
10484
- phone?: string | undefined;
10485
- notes?: string | undefined;
10486
10508
  address?: string | undefined;
10487
- company?: string[] | undefined;
10509
+ disposition?: string[] | undefined;
10510
+ direction?: ("inbound" | "outbound")[] | undefined;
10511
+ page?: number | undefined;
10512
+ email?: string | undefined;
10513
+ pageSize?: number | undefined;
10514
+ phone?: string | undefined;
10488
10515
  customFields?: {
10489
- value: (string | string[]) & (string | string[] | undefined);
10516
+ value: string | string[];
10490
10517
  attributeId: string;
10491
10518
  type?: string | undefined;
10492
10519
  }[] | 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;
10526
+ contactId?: string | undefined;
10527
+ trunks?: string[] | undefined;
10528
+ caseId?: string | undefined;
10493
10529
  selectedDate?: string | undefined;
10530
+ channelIds?: string[] | undefined;
10531
+ agentIds?: string[] | undefined;
10532
+ sla?: "meet" | "unmeet" | undefined;
10533
+ contactLabels?: string[] | undefined;
10494
10534
  }>>;
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
+ }>>>;
10495
10552
  responses: {
10496
10553
  200: null;
10497
10554
  401: z.ZodObject<{
@@ -10505,7 +10562,12 @@ export declare const cxLogContract: {
10505
10562
  error?: any;
10506
10563
  }>;
10507
10564
  };
10508
- path: "/cx-logs/export";
10565
+ };
10566
+ syncSla: {
10567
+ body: null;
10568
+ summary: "Export cx-logs";
10569
+ method: "POST";
10570
+ path: "/cx-logs/sync-sla";
10509
10571
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
10510
10572
  'x-tenant': z.ZodString;
10511
10573
  authorization: z.ZodString;
@@ -10522,11 +10584,6 @@ export declare const cxLogContract: {
10522
10584
  'x-code'?: string | undefined;
10523
10585
  'x-client-timezone'?: string | undefined;
10524
10586
  }>>>;
10525
- };
10526
- syncSla: {
10527
- body: null;
10528
- summary: "Export cx-logs";
10529
- method: "POST";
10530
10587
  responses: {
10531
10588
  200: null;
10532
10589
  401: z.ZodObject<{
@@ -10550,23 +10607,6 @@ export declare const cxLogContract: {
10550
10607
  error?: any;
10551
10608
  }>;
10552
10609
  };
10553
- path: "/cx-logs/sync-sla";
10554
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
10555
- 'x-tenant': z.ZodString;
10556
- authorization: z.ZodString;
10557
- 'x-code': z.ZodOptional<z.ZodString>;
10558
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
10559
- }, "strip", z.ZodTypeAny, {
10560
- 'x-tenant': string;
10561
- authorization: string;
10562
- 'x-client-timezone': string;
10563
- 'x-code'?: string | undefined;
10564
- }, {
10565
- 'x-tenant': string;
10566
- authorization: string;
10567
- 'x-code'?: string | undefined;
10568
- 'x-client-timezone'?: string | undefined;
10569
- }>>>;
10570
10610
  };
10571
10611
  updateSla: {
10572
10612
  body: z.ZodObject<{
@@ -10580,6 +10620,17 @@ export declare const cxLogContract: {
10580
10620
  slaStatus: "meet" | "unmeet" | "-";
10581
10621
  }>;
10582
10622
  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
+ }>;
10583
10634
  responses: {
10584
10635
  200: null;
10585
10636
  403: z.ZodObject<{
@@ -10613,17 +10664,6 @@ export declare const cxLogContract: {
10613
10664
  error?: any;
10614
10665
  }>;
10615
10666
  };
10616
- path: "/cx-logs";
10617
- headers: z.ZodObject<{
10618
- 'x-tenant': z.ZodString;
10619
- 'x-code': z.ZodOptional<z.ZodString>;
10620
- }, "strip", z.ZodTypeAny, {
10621
- 'x-tenant': string;
10622
- 'x-code'?: string | undefined;
10623
- }, {
10624
- 'x-tenant': string;
10625
- 'x-code'?: string | undefined;
10626
- }>;
10627
10667
  };
10628
10668
  };
10629
10669
  //# sourceMappingURL=index.d.ts.map