@kl1/contracts 1.3.7 → 1.3.9

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 (241) hide show
  1. package/dist/api-contracts/src/activity-log/index.d.ts +22 -23
  2. package/dist/api-contracts/src/activity-log/index.d.ts.map +1 -1
  3. package/dist/api-contracts/src/activity-log/schema.d.ts +5 -6
  4. package/dist/api-contracts/src/activity-log/schema.d.ts.map +1 -1
  5. package/dist/api-contracts/src/attribute/index.d.ts +148 -164
  6. package/dist/api-contracts/src/attribute/index.d.ts.map +1 -1
  7. package/dist/api-contracts/src/attribute/schema.d.ts +8 -11
  8. package/dist/api-contracts/src/attribute/schema.d.ts.map +1 -1
  9. package/dist/api-contracts/src/attribute-option/schema.d.ts +2 -3
  10. package/dist/api-contracts/src/attribute-option/schema.d.ts.map +1 -1
  11. package/dist/api-contracts/src/auth/index.d.ts +24 -26
  12. package/dist/api-contracts/src/auth/index.d.ts.map +1 -1
  13. package/dist/api-contracts/src/automation-queue/index.d.ts +170 -192
  14. package/dist/api-contracts/src/automation-queue/index.d.ts.map +1 -1
  15. package/dist/api-contracts/src/automation-queue/schema.d.ts +12 -15
  16. package/dist/api-contracts/src/automation-queue/schema.d.ts.map +1 -1
  17. package/dist/api-contracts/src/aws/index.d.ts +6 -8
  18. package/dist/api-contracts/src/aws/index.d.ts.map +1 -1
  19. package/dist/api-contracts/src/botpress/index.d.ts +13 -17
  20. package/dist/api-contracts/src/botpress/index.d.ts.map +1 -1
  21. package/dist/api-contracts/src/business-calendar/index.d.ts +28 -40
  22. package/dist/api-contracts/src/business-calendar/index.d.ts.map +1 -1
  23. package/dist/api-contracts/src/business-calendar/schema.d.ts +10 -15
  24. package/dist/api-contracts/src/business-calendar/schema.d.ts.map +1 -1
  25. package/dist/api-contracts/src/call-log/schema.d.ts +4 -5
  26. package/dist/api-contracts/src/call-log/schema.d.ts.map +1 -1
  27. package/dist/api-contracts/src/category/index.d.ts +109 -118
  28. package/dist/api-contracts/src/category/index.d.ts.map +1 -1
  29. package/dist/api-contracts/src/category/schema.d.ts +2 -3
  30. package/dist/api-contracts/src/category/schema.d.ts.map +1 -1
  31. package/dist/api-contracts/src/channel/index.d.ts +1502 -1532
  32. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  33. package/dist/api-contracts/src/channel/schema.d.ts +54 -54
  34. package/dist/api-contracts/src/channel/validation.d.ts +72 -72
  35. package/dist/api-contracts/src/chat/index.d.ts +13141 -13645
  36. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  37. package/dist/api-contracts/src/chat/schema.d.ts +2308 -2467
  38. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  39. package/dist/api-contracts/src/chat/validation.d.ts +3331 -3414
  40. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  41. package/dist/api-contracts/src/comment/index.d.ts +299 -371
  42. package/dist/api-contracts/src/comment/index.d.ts.map +1 -1
  43. package/dist/api-contracts/src/comment/schema.d.ts +75 -98
  44. package/dist/api-contracts/src/comment/schema.d.ts.map +1 -1
  45. package/dist/api-contracts/src/comment/validation.d.ts +1 -1
  46. package/dist/api-contracts/src/company/index.d.ts +109 -136
  47. package/dist/api-contracts/src/company/index.d.ts.map +1 -1
  48. package/dist/api-contracts/src/company/schema.d.ts +24 -33
  49. package/dist/api-contracts/src/company/schema.d.ts.map +1 -1
  50. package/dist/api-contracts/src/company/validation.d.ts +62 -78
  51. package/dist/api-contracts/src/company/validation.d.ts.map +1 -1
  52. package/dist/api-contracts/src/contact/index.d.ts +559 -677
  53. package/dist/api-contracts/src/contact/index.d.ts.map +1 -1
  54. package/dist/api-contracts/src/contact/schema.d.ts +42 -56
  55. package/dist/api-contracts/src/contact/schema.d.ts.map +1 -1
  56. package/dist/api-contracts/src/contact/validation.d.ts +218 -299
  57. package/dist/api-contracts/src/contact/validation.d.ts.map +1 -1
  58. package/dist/api-contracts/src/contact-email/schema.d.ts +2 -3
  59. package/dist/api-contracts/src/contact-email/schema.d.ts.map +1 -1
  60. package/dist/api-contracts/src/contact-phone/schema.d.ts +2 -3
  61. package/dist/api-contracts/src/contact-phone/schema.d.ts.map +1 -1
  62. package/dist/api-contracts/src/contract.d.ts +25882 -27370
  63. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  64. package/dist/api-contracts/src/custom-field/schema.d.ts +2 -3
  65. package/dist/api-contracts/src/custom-field/schema.d.ts.map +1 -1
  66. package/dist/api-contracts/src/custom-field/validation.d.ts +2 -2
  67. package/dist/api-contracts/src/custom-field-upload/schema.d.ts +2 -3
  68. package/dist/api-contracts/src/custom-field-upload/schema.d.ts.map +1 -1
  69. package/dist/api-contracts/src/cx-intelligence/index.d.ts +47 -50
  70. package/dist/api-contracts/src/cx-intelligence/index.d.ts.map +1 -1
  71. package/dist/api-contracts/src/cx-log/index.d.ts +783 -831
  72. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  73. package/dist/api-contracts/src/cx-log/schema.d.ts +461 -514
  74. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  75. package/dist/api-contracts/src/cx-log/validation.d.ts +39 -39
  76. package/dist/api-contracts/src/dashboard/index.d.ts +361 -402
  77. package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
  78. package/dist/api-contracts/src/dashboard/schema.d.ts +4 -5
  79. package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
  80. package/dist/api-contracts/src/dashboard/validation.d.ts +18 -24
  81. package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
  82. package/dist/api-contracts/src/evaluate-form/index.d.ts +3 -4
  83. package/dist/api-contracts/src/evaluate-form/index.d.ts.map +1 -1
  84. package/dist/api-contracts/src/evaluate-form/schema.d.ts +2 -3
  85. package/dist/api-contracts/src/evaluate-form/schema.d.ts.map +1 -1
  86. package/dist/api-contracts/src/export/index.d.ts +3 -4
  87. package/dist/api-contracts/src/export/index.d.ts.map +1 -1
  88. package/dist/api-contracts/src/extension/index.d.ts +112 -118
  89. package/dist/api-contracts/src/extension/index.d.ts.map +1 -1
  90. package/dist/api-contracts/src/facebook-feed/index.d.ts +2211 -2291
  91. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  92. package/dist/api-contracts/src/facebook-feed/schema.d.ts +82 -94
  93. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  94. package/dist/api-contracts/src/facebook-feed/validation.d.ts +89 -106
  95. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  96. package/dist/api-contracts/src/general-setting/index.d.ts +2 -2
  97. package/dist/api-contracts/src/group/schema.d.ts +2 -3
  98. package/dist/api-contracts/src/group/schema.d.ts.map +1 -1
  99. package/dist/api-contracts/src/hold-label/index.d.ts +58 -77
  100. package/dist/api-contracts/src/hold-label/index.d.ts.map +1 -1
  101. package/dist/api-contracts/src/hold-label/schema.d.ts +14 -20
  102. package/dist/api-contracts/src/hold-label/schema.d.ts.map +1 -1
  103. package/dist/api-contracts/src/index.d.ts +1 -0
  104. package/dist/api-contracts/src/index.d.ts.map +1 -1
  105. package/dist/api-contracts/src/instagram/index.d.ts +3873 -3933
  106. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  107. package/dist/api-contracts/src/instagram/validation.d.ts +6 -6
  108. package/dist/api-contracts/src/line/index.d.ts +2073 -2133
  109. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  110. package/dist/api-contracts/src/line/schema.d.ts +11 -12
  111. package/dist/api-contracts/src/line/schema.d.ts.map +1 -1
  112. package/dist/api-contracts/src/line/validation.d.ts +127 -127
  113. package/dist/api-contracts/src/log-form/schema.d.ts +2 -3
  114. package/dist/api-contracts/src/log-form/schema.d.ts.map +1 -1
  115. package/dist/api-contracts/src/mail/account-contract.d.ts +174 -184
  116. package/dist/api-contracts/src/mail/account-contract.d.ts.map +1 -1
  117. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts +3 -4
  118. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts.map +1 -1
  119. package/dist/api-contracts/src/mail/mail-contract.d.ts +451 -502
  120. package/dist/api-contracts/src/mail/mail-contract.d.ts.map +1 -1
  121. package/dist/api-contracts/src/mail/mail-server-contract.d.ts +18 -24
  122. package/dist/api-contracts/src/mail/mail-server-contract.d.ts.map +1 -1
  123. package/dist/api-contracts/src/mail/message-contract.d.ts +107 -113
  124. package/dist/api-contracts/src/mail/message-contract.d.ts.map +1 -1
  125. package/dist/api-contracts/src/mail/room-contract.d.ts +101 -130
  126. package/dist/api-contracts/src/mail/room-contract.d.ts.map +1 -1
  127. package/dist/api-contracts/src/mail/schemas/message-validation.schema.d.ts +16 -16
  128. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +30 -36
  129. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
  130. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +20 -27
  131. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts.map +1 -1
  132. package/dist/api-contracts/src/messenger/index.d.ts +3873 -3935
  133. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  134. package/dist/api-contracts/src/messenger/validation.d.ts +89 -106
  135. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  136. package/dist/api-contracts/src/notification/index.d.ts +27 -34
  137. package/dist/api-contracts/src/notification/index.d.ts.map +1 -1
  138. package/dist/api-contracts/src/notification/schema.d.ts +15 -18
  139. package/dist/api-contracts/src/notification/schema.d.ts.map +1 -1
  140. package/dist/api-contracts/src/notification/validation.d.ts +5 -6
  141. package/dist/api-contracts/src/notification/validation.d.ts.map +1 -1
  142. package/dist/api-contracts/src/permission/index.d.ts +17 -17
  143. package/dist/api-contracts/src/presence-status/index.d.ts +81 -84
  144. package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
  145. package/dist/api-contracts/src/public-api/index.d.ts +196 -260
  146. package/dist/api-contracts/src/public-api/index.d.ts.map +1 -1
  147. package/dist/api-contracts/src/public-api/schema.d.ts +34 -48
  148. package/dist/api-contracts/src/public-api/schema.d.ts.map +1 -1
  149. package/dist/api-contracts/src/public-api/validation.d.ts +88 -113
  150. package/dist/api-contracts/src/public-api/validation.d.ts.map +1 -1
  151. package/dist/api-contracts/src/role/index.d.ts +83 -88
  152. package/dist/api-contracts/src/role/index.d.ts.map +1 -1
  153. package/dist/api-contracts/src/sms/index.d.ts +345 -349
  154. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  155. package/dist/api-contracts/src/snippet/index.d.ts +54 -76
  156. package/dist/api-contracts/src/snippet/index.d.ts.map +1 -1
  157. package/dist/api-contracts/src/snippet/schema.d.ts +14 -21
  158. package/dist/api-contracts/src/snippet/schema.d.ts.map +1 -1
  159. package/dist/api-contracts/src/snippet/validation.d.ts +4 -5
  160. package/dist/api-contracts/src/snippet/validation.d.ts.map +1 -1
  161. package/dist/api-contracts/src/subscription/index.d.ts +51 -74
  162. package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
  163. package/dist/api-contracts/src/subscription/schema.d.ts +62 -93
  164. package/dist/api-contracts/src/subscription/schema.d.ts.map +1 -1
  165. package/dist/api-contracts/src/tag/index.d.ts +72 -79
  166. package/dist/api-contracts/src/tag/index.d.ts.map +1 -1
  167. package/dist/api-contracts/src/tag/schema.d.ts +2 -3
  168. package/dist/api-contracts/src/tag/schema.d.ts.map +1 -1
  169. package/dist/api-contracts/src/tag-group/schema.d.ts +2 -3
  170. package/dist/api-contracts/src/tag-group/schema.d.ts.map +1 -1
  171. package/dist/api-contracts/src/telegram/index.d.ts +1532 -1590
  172. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  173. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +50 -55
  174. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  175. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +7 -9
  176. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  177. package/dist/api-contracts/src/telephony-cdr/call-report.schema.d.ts +38 -38
  178. package/dist/api-contracts/src/telephony-cdr/index.d.ts +1170 -1245
  179. package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
  180. package/dist/api-contracts/src/telephony-cdr/schema.d.ts +196 -222
  181. package/dist/api-contracts/src/telephony-cdr/schema.d.ts.map +1 -1
  182. package/dist/api-contracts/src/telephony-cdr/validation.d.ts +45 -52
  183. package/dist/api-contracts/src/telephony-cdr/validation.d.ts.map +1 -1
  184. package/dist/api-contracts/src/telephony-extension/index.d.ts +21 -21
  185. package/dist/api-contracts/src/telephony-extension/schema.d.ts +4 -4
  186. package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts +2 -3
  187. package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts.map +1 -1
  188. package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts +2 -3
  189. package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts.map +1 -1
  190. package/dist/api-contracts/src/tenant/schema.d.ts +2 -3
  191. package/dist/api-contracts/src/tenant/schema.d.ts.map +1 -1
  192. package/dist/api-contracts/src/ticket/index.d.ts +679 -790
  193. package/dist/api-contracts/src/ticket/index.d.ts.map +1 -1
  194. package/dist/api-contracts/src/ticket/schema.d.ts +73 -99
  195. package/dist/api-contracts/src/ticket/schema.d.ts.map +1 -1
  196. package/dist/api-contracts/src/ticket/validation.d.ts +55 -57
  197. package/dist/api-contracts/src/ticket/validation.d.ts.map +1 -1
  198. package/dist/api-contracts/src/upload/index.d.ts +34 -36
  199. package/dist/api-contracts/src/upload/index.d.ts.map +1 -1
  200. package/dist/api-contracts/src/upload/schema.d.ts +2 -3
  201. package/dist/api-contracts/src/upload/schema.d.ts.map +1 -1
  202. package/dist/api-contracts/src/user/index.d.ts +148 -159
  203. package/dist/api-contracts/src/user/index.d.ts.map +1 -1
  204. package/dist/api-contracts/src/user/schema.d.ts +5 -6
  205. package/dist/api-contracts/src/user/schema.d.ts.map +1 -1
  206. package/dist/api-contracts/src/user/validation.d.ts +4 -5
  207. package/dist/api-contracts/src/user/validation.d.ts.map +1 -1
  208. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +31 -32
  209. package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
  210. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +7 -9
  211. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
  212. package/dist/api-contracts/src/viber/index.d.ts +1785 -1843
  213. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  214. package/dist/api-contracts/src/webchat/index.d.ts +1551 -1609
  215. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  216. package/dist/api-contracts/src/whatsapp/index.d.ts +1920 -1982
  217. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  218. package/dist/api-contracts/src/whatsapp/validation.d.ts +6 -9
  219. package/dist/api-contracts/src/whatsapp/validation.d.ts.map +1 -1
  220. package/dist/api-contracts/src/widget/index.d.ts +144 -155
  221. package/dist/api-contracts/src/widget/index.d.ts.map +1 -1
  222. package/dist/api-contracts/src/widget/schema.d.ts +2 -3
  223. package/dist/api-contracts/src/widget/schema.d.ts.map +1 -1
  224. package/dist/api-contracts/src/widget/validation.d.ts +16 -16
  225. package/dist/api-contracts/src/workflow-rule/index.d.ts +2021 -2087
  226. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  227. package/dist/api-contracts/src/workflow-rule/schema.d.ts +2 -3
  228. package/dist/api-contracts/src/workflow-rule/schema.d.ts.map +1 -1
  229. package/dist/api-contracts/src/wrap-up-form/index.d.ts +147 -166
  230. package/dist/api-contracts/src/wrap-up-form/index.d.ts.map +1 -1
  231. package/dist/api-contracts/src/wrap-up-form/schema.d.ts +6 -9
  232. package/dist/api-contracts/src/wrap-up-form/schema.d.ts.map +1 -1
  233. package/dist/api-contracts/src/wrap-up-form/validation.d.ts +20 -21
  234. package/dist/api-contracts/src/wrap-up-form/validation.d.ts.map +1 -1
  235. package/dist/api-contracts/utils.d.ts +3 -4
  236. package/dist/api-contracts/utils.d.ts.map +1 -1
  237. package/dist/index.js +53 -58
  238. package/dist/index.js.map +1 -1
  239. package/dist/index.mjs +52 -58
  240. package/dist/index.mjs.map +1 -1
  241. package/package.json +1 -1
@@ -30,10 +30,9 @@ export declare const telephonyCdrContract: {
30
30
  findAll: {
31
31
  summary: "Get all telephony cdr.";
32
32
  method: "GET";
33
- query: z.ZodObject<z.objectUtil.extendShape<{
33
+ query: z.ZodObject<{
34
34
  page: z.ZodDefault<z.ZodNumber>;
35
35
  pageSize: z.ZodDefault<z.ZodNumber>;
36
- }, {
37
36
  selectedDate: z.ZodOptional<z.ZodString>;
38
37
  type: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
39
38
  status: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -45,65 +44,46 @@ export declare const telephonyCdrContract: {
45
44
  agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
46
45
  agentCallsOnly: z.ZodOptional<z.ZodBoolean>;
47
46
  contactId: z.ZodOptional<z.ZodString>;
48
- }>, "strip", z.ZodTypeAny, {
47
+ }, "strip", z.ZodTypeAny, {
49
48
  page: number;
50
49
  pageSize: number;
50
+ selectedDate?: string | undefined;
51
51
  type?: string[] | undefined;
52
52
  status?: string[] | undefined;
53
- userId?: string | undefined;
54
53
  callFrom?: string | undefined;
55
54
  callTo?: string | undefined;
56
- contactId?: string | undefined;
57
- selectedDate?: string | undefined;
58
- agentIds?: string[] | undefined;
59
55
  trunk?: string[] | undefined;
56
+ userId?: string | undefined;
60
57
  queueStatus?: string | undefined;
58
+ agentIds?: string[] | undefined;
61
59
  agentCallsOnly?: boolean | undefined;
60
+ contactId?: string | undefined;
62
61
  }, {
63
- type?: string[] | undefined;
64
62
  page?: number | undefined;
65
- status?: string[] | undefined;
66
63
  pageSize?: number | undefined;
67
- userId?: string | undefined;
64
+ selectedDate?: string | undefined;
65
+ type?: string[] | undefined;
66
+ status?: string[] | undefined;
68
67
  callFrom?: string | undefined;
69
68
  callTo?: string | undefined;
70
- contactId?: string | undefined;
71
- selectedDate?: string | undefined;
72
- agentIds?: string[] | undefined;
73
69
  trunk?: string[] | undefined;
70
+ userId?: string | undefined;
74
71
  queueStatus?: string | undefined;
72
+ agentIds?: string[] | undefined;
75
73
  agentCallsOnly?: boolean | undefined;
74
+ contactId?: string | undefined;
76
75
  }>;
77
- path: "ms/telephony-cdr/";
78
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
79
- 'x-tenant': z.ZodString;
80
- 'x-service-token': z.ZodString;
81
- 'x-code': z.ZodOptional<z.ZodString>;
82
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
83
- }, "strip", z.ZodTypeAny, {
84
- 'x-tenant': string;
85
- 'x-service-token': string;
86
- 'x-client-timezone': string;
87
- 'x-code'?: string | undefined;
88
- }, {
89
- 'x-tenant': string;
90
- 'x-service-token': string;
91
- 'x-code'?: string | undefined;
92
- 'x-client-timezone'?: string | undefined;
93
- }>>>;
94
76
  responses: {
95
- 200: z.ZodObject<z.objectUtil.extendShape<{
77
+ 200: z.ZodObject<{
96
78
  requestId: z.ZodString;
97
- }, {
98
79
  total: z.ZodNumber;
99
80
  page: z.ZodNumber;
100
81
  pageSize: z.ZodNumber;
101
- telephonyCdrs: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
82
+ telephonyCdrs: z.ZodArray<z.ZodObject<{
102
83
  id: z.ZodString;
103
84
  createdAt: z.ZodDate;
104
85
  updatedAt: z.ZodDate;
105
86
  deletedAt: z.ZodNullable<z.ZodDate>;
106
- }, {
107
87
  uniqueCallId: z.ZodString;
108
88
  timeStart: z.ZodString;
109
89
  callFrom: z.ZodString;
@@ -123,14 +103,13 @@ export declare const telephonyCdrContract: {
123
103
  notes: z.ZodNullable<z.ZodString>;
124
104
  contactProfile: z.ZodNullable<z.ZodString>;
125
105
  socialProfileUrl: z.ZodNullable<z.ZodString>;
126
- tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
106
+ tags: z.ZodArray<z.ZodObject<{
127
107
  id: z.ZodString;
128
108
  createdAt: z.ZodDate;
129
109
  updatedAt: z.ZodDate;
130
110
  deletedAt: z.ZodNullable<z.ZodDate>;
131
- }, {
132
111
  name: z.ZodString;
133
- }>, "strip", z.ZodTypeAny, {
112
+ }, "strip", z.ZodTypeAny, {
134
113
  name: string;
135
114
  id: string;
136
115
  createdAt: Date;
@@ -143,32 +122,29 @@ export declare const telephonyCdrContract: {
143
122
  updatedAt: Date;
144
123
  deletedAt: Date | null;
145
124
  }>, "many">;
146
- company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
125
+ company: z.ZodNullable<z.ZodObject<Omit<{
147
126
  id: z.ZodString;
148
127
  createdAt: z.ZodDate;
149
128
  updatedAt: z.ZodDate;
150
129
  deletedAt: z.ZodNullable<z.ZodDate>;
151
- }, {
152
130
  name: z.ZodOptional<z.ZodString>;
153
131
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
154
132
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
155
133
  industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
156
- customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
134
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
157
135
  id: z.ZodString;
158
136
  createdAt: z.ZodDate;
159
137
  updatedAt: z.ZodDate;
160
138
  deletedAt: z.ZodNullable<z.ZodDate>;
161
- }, {
162
139
  textValue: z.ZodNullable<z.ZodString>;
163
140
  booleanValue: z.ZodNullable<z.ZodBoolean>;
164
141
  numberValue: z.ZodNullable<z.ZodNumber>;
165
142
  dateValue: z.ZodNullable<z.ZodDate>;
166
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
143
+ attribute: z.ZodObject<Omit<{
167
144
  id: z.ZodString;
168
145
  createdAt: z.ZodDate;
169
146
  updatedAt: z.ZodDate;
170
147
  deletedAt: z.ZodNullable<z.ZodDate>;
171
- }, {
172
148
  systemName: z.ZodString;
173
149
  displayName: z.ZodString;
174
150
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -177,14 +153,13 @@ export declare const telephonyCdrContract: {
177
153
  isArchived: z.ZodBoolean;
178
154
  isRequired: z.ZodBoolean;
179
155
  isUnique: z.ZodBoolean;
180
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
181
- label: z.ZodString;
156
+ options: z.ZodArray<z.ZodObject<{
157
+ position: z.ZodNumber;
182
158
  value: z.ZodString;
159
+ label: z.ZodString;
183
160
  isDefault: z.ZodBoolean;
184
- position: z.ZodNumber;
185
- }, {
186
161
  id: z.ZodString;
187
- }>, "strip", z.ZodTypeAny, {
162
+ }, "strip", z.ZodTypeAny, {
188
163
  id: string;
189
164
  position: number;
190
165
  value: string;
@@ -197,15 +172,14 @@ export declare const telephonyCdrContract: {
197
172
  label: string;
198
173
  isDefault: boolean;
199
174
  }>, "many">;
200
- group: z.ZodObject<z.objectUtil.extendShape<{
175
+ group: z.ZodObject<{
201
176
  id: z.ZodString;
202
177
  createdAt: z.ZodDate;
203
178
  updatedAt: z.ZodDate;
204
179
  deletedAt: z.ZodNullable<z.ZodDate>;
205
- }, {
206
180
  systemName: z.ZodString;
207
181
  displayName: z.ZodString;
208
- }>, "strip", z.ZodTypeAny, {
182
+ }, "strip", z.ZodTypeAny, {
209
183
  id: string;
210
184
  createdAt: Date;
211
185
  updatedAt: Date;
@@ -220,7 +194,7 @@ export declare const telephonyCdrContract: {
220
194
  systemName: string;
221
195
  displayName: string;
222
196
  }>;
223
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
197
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
224
198
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
225
199
  id: string;
226
200
  position: number;
@@ -247,7 +221,7 @@ export declare const telephonyCdrContract: {
247
221
  isRequired: boolean;
248
222
  isUnique: boolean;
249
223
  }>;
250
- }>, "strip", z.ZodTypeAny, {
224
+ }, "strip", z.ZodTypeAny, {
251
225
  id: string;
252
226
  createdAt: Date;
253
227
  updatedAt: Date;
@@ -294,7 +268,7 @@ export declare const telephonyCdrContract: {
294
268
  numberValue: number | null;
295
269
  dateValue: Date | null;
296
270
  }>, "many">>;
297
- }>, "customFields">, "strip", z.ZodTypeAny, {
271
+ }, "customFields">, "strip", z.ZodTypeAny, {
298
272
  id: string;
299
273
  createdAt: Date;
300
274
  updatedAt: Date;
@@ -375,12 +349,11 @@ export declare const telephonyCdrContract: {
375
349
  booleanValue: z.ZodNullable<z.ZodBoolean>;
376
350
  numberValue: z.ZodNullable<z.ZodNumber>;
377
351
  dateValue: z.ZodNullable<z.ZodDate>;
378
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
352
+ attribute: z.ZodObject<Omit<{
379
353
  id: z.ZodString;
380
354
  createdAt: z.ZodDate;
381
355
  updatedAt: z.ZodDate;
382
356
  deletedAt: z.ZodNullable<z.ZodDate>;
383
- }, {
384
357
  systemName: z.ZodString;
385
358
  displayName: z.ZodString;
386
359
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -389,14 +362,13 @@ export declare const telephonyCdrContract: {
389
362
  isArchived: z.ZodBoolean;
390
363
  isRequired: z.ZodBoolean;
391
364
  isUnique: z.ZodBoolean;
392
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
393
- label: z.ZodString;
365
+ options: z.ZodArray<z.ZodObject<{
366
+ position: z.ZodNumber;
394
367
  value: z.ZodString;
368
+ label: z.ZodString;
395
369
  isDefault: z.ZodBoolean;
396
- position: z.ZodNumber;
397
- }, {
398
370
  id: z.ZodString;
399
- }>, "strip", z.ZodTypeAny, {
371
+ }, "strip", z.ZodTypeAny, {
400
372
  id: string;
401
373
  position: number;
402
374
  value: string;
@@ -409,15 +381,14 @@ export declare const telephonyCdrContract: {
409
381
  label: string;
410
382
  isDefault: boolean;
411
383
  }>, "many">;
412
- group: z.ZodObject<z.objectUtil.extendShape<{
384
+ group: z.ZodObject<{
413
385
  id: z.ZodString;
414
386
  createdAt: z.ZodDate;
415
387
  updatedAt: z.ZodDate;
416
388
  deletedAt: z.ZodNullable<z.ZodDate>;
417
- }, {
418
389
  systemName: z.ZodString;
419
390
  displayName: z.ZodString;
420
- }>, "strip", z.ZodTypeAny, {
391
+ }, "strip", z.ZodTypeAny, {
421
392
  id: string;
422
393
  createdAt: Date;
423
394
  updatedAt: Date;
@@ -432,7 +403,7 @@ export declare const telephonyCdrContract: {
432
403
  systemName: string;
433
404
  displayName: string;
434
405
  }>;
435
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
406
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
436
407
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
437
408
  id: string;
438
409
  position: number;
@@ -459,19 +430,18 @@ export declare const telephonyCdrContract: {
459
430
  isRequired: boolean;
460
431
  isUnique: boolean;
461
432
  }>;
462
- uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
433
+ uploads: z.ZodArray<z.ZodObject<{
463
434
  id: z.ZodString;
464
435
  createdAt: z.ZodDate;
465
436
  updatedAt: z.ZodDate;
466
437
  deletedAt: z.ZodNullable<z.ZodDate>;
467
- }, {
468
438
  bucketName: z.ZodString;
469
439
  fileName: z.ZodString;
470
440
  fileSize: z.ZodNumber;
471
441
  fileKey: z.ZodString;
472
442
  fileUrl: z.ZodNullable<z.ZodString>;
473
443
  status: z.ZodNullable<z.ZodString>;
474
- }>, "strip", z.ZodTypeAny, {
444
+ }, "strip", z.ZodTypeAny, {
475
445
  id: string;
476
446
  status: string | null;
477
447
  createdAt: Date;
@@ -892,17 +862,16 @@ export declare const telephonyCdrContract: {
892
862
  };
893
863
  }[] | undefined;
894
864
  }>>;
895
- telephonyQueue: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
865
+ telephonyQueue: z.ZodNullable<z.ZodOptional<z.ZodObject<{
896
866
  id: z.ZodString;
897
867
  createdAt: z.ZodDate;
898
868
  updatedAt: z.ZodDate;
899
869
  deletedAt: z.ZodNullable<z.ZodDate>;
900
- }, {
901
870
  queueId: z.ZodNumber;
902
871
  queueName: z.ZodString;
903
872
  queueNumber: z.ZodString;
904
873
  maximumWaitingTime: z.ZodNumber;
905
- }>, "strip", z.ZodTypeAny, {
874
+ }, "strip", z.ZodTypeAny, {
906
875
  id: string;
907
876
  createdAt: Date;
908
877
  updatedAt: Date;
@@ -929,19 +898,18 @@ export declare const telephonyCdrContract: {
929
898
  agentRingTime: z.ZodNullable<z.ZodNumber>;
930
899
  uploadId: z.ZodNullable<z.ZodString>;
931
900
  serialNumber: z.ZodNullable<z.ZodString>;
932
- upload: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
901
+ upload: z.ZodNullable<z.ZodOptional<z.ZodObject<{
933
902
  id: z.ZodString;
934
903
  createdAt: z.ZodDate;
935
904
  updatedAt: z.ZodDate;
936
905
  deletedAt: z.ZodNullable<z.ZodDate>;
937
- }, {
938
906
  bucketName: z.ZodString;
939
907
  fileName: z.ZodString;
940
908
  fileSize: z.ZodNumber;
941
909
  fileKey: z.ZodString;
942
910
  fileUrl: z.ZodNullable<z.ZodString>;
943
911
  status: z.ZodNullable<z.ZodString>;
944
- }>, "strip", z.ZodTypeAny, {
912
+ }, "strip", z.ZodTypeAny, {
945
913
  id: string;
946
914
  status: string | null;
947
915
  createdAt: Date;
@@ -967,19 +935,18 @@ export declare const telephonyCdrContract: {
967
935
  callParticipants: z.ZodNullable<z.ZodObject<{
968
936
  callTo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
969
937
  id: z.ZodString;
970
- user: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
938
+ user: z.ZodNullable<z.ZodObject<Omit<{
939
+ name: z.ZodString;
971
940
  id: z.ZodString;
941
+ address: z.ZodNullable<z.ZodString>;
942
+ email: z.ZodString;
972
943
  createdAt: z.ZodDate;
973
944
  updatedAt: z.ZodDate;
974
945
  deletedAt: z.ZodNullable<z.ZodDate>;
975
- name: z.ZodString;
976
- email: z.ZodString;
977
946
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
978
947
  password: z.ZodString;
979
- address: z.ZodNullable<z.ZodString>;
980
948
  phone: z.ZodNullable<z.ZodString>;
981
949
  notificationCount: z.ZodNullable<z.ZodNumber>;
982
- }, {
983
950
  roles: z.ZodArray<z.ZodObject<{
984
951
  id: z.ZodString;
985
952
  createdAt: z.ZodDate;
@@ -1085,7 +1052,7 @@ export declare const telephonyCdrContract: {
1085
1052
  extensionName: string;
1086
1053
  telephonySignature: string | null;
1087
1054
  }>;
1088
- }>, "roles" | "extension">, "strip", z.ZodTypeAny, {
1055
+ }, "roles" | "extension">, "strip", z.ZodTypeAny, {
1089
1056
  name: string;
1090
1057
  id: string;
1091
1058
  address: string | null;
@@ -1173,19 +1140,18 @@ export declare const telephonyCdrContract: {
1173
1140
  }>>>;
1174
1141
  callFrom: z.ZodOptional<z.ZodNullable<z.ZodObject<{
1175
1142
  id: z.ZodString;
1176
- user: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
1143
+ user: z.ZodNullable<z.ZodObject<Omit<{
1144
+ name: z.ZodString;
1177
1145
  id: z.ZodString;
1146
+ address: z.ZodNullable<z.ZodString>;
1147
+ email: z.ZodString;
1178
1148
  createdAt: z.ZodDate;
1179
1149
  updatedAt: z.ZodDate;
1180
1150
  deletedAt: z.ZodNullable<z.ZodDate>;
1181
- name: z.ZodString;
1182
- email: z.ZodString;
1183
1151
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
1184
1152
  password: z.ZodString;
1185
- address: z.ZodNullable<z.ZodString>;
1186
1153
  phone: z.ZodNullable<z.ZodString>;
1187
1154
  notificationCount: z.ZodNullable<z.ZodNumber>;
1188
- }, {
1189
1155
  roles: z.ZodArray<z.ZodObject<{
1190
1156
  id: z.ZodString;
1191
1157
  createdAt: z.ZodDate;
@@ -1291,7 +1257,7 @@ export declare const telephonyCdrContract: {
1291
1257
  extensionName: string;
1292
1258
  telephonySignature: string | null;
1293
1259
  }>;
1294
- }>, "roles" | "extension">, "strip", z.ZodTypeAny, {
1260
+ }, "roles" | "extension">, "strip", z.ZodTypeAny, {
1295
1261
  name: string;
1296
1262
  id: string;
1297
1263
  address: string | null;
@@ -1378,7 +1344,7 @@ export declare const telephonyCdrContract: {
1378
1344
  updatedAt?: string | undefined;
1379
1345
  }>>>;
1380
1346
  }, "strip", z.ZodTypeAny, {
1381
- callFrom?: {
1347
+ callTo?: {
1382
1348
  id: string;
1383
1349
  user: {
1384
1350
  name: string;
@@ -1404,7 +1370,7 @@ export declare const telephonyCdrContract: {
1404
1370
  createdAt?: string | undefined;
1405
1371
  updatedAt?: string | undefined;
1406
1372
  } | null | undefined;
1407
- callTo?: {
1373
+ callFrom?: {
1408
1374
  id: string;
1409
1375
  user: {
1410
1376
  name: string;
@@ -1431,7 +1397,7 @@ export declare const telephonyCdrContract: {
1431
1397
  updatedAt?: string | undefined;
1432
1398
  } | null | undefined;
1433
1399
  }, {
1434
- callFrom?: {
1400
+ callTo?: {
1435
1401
  id: string;
1436
1402
  user: {
1437
1403
  name: string;
@@ -1457,7 +1423,7 @@ export declare const telephonyCdrContract: {
1457
1423
  createdAt?: string | undefined;
1458
1424
  updatedAt?: string | undefined;
1459
1425
  } | null | undefined;
1460
- callTo?: {
1426
+ callFrom?: {
1461
1427
  id: string;
1462
1428
  user: {
1463
1429
  name: string;
@@ -1486,7 +1452,7 @@ export declare const telephonyCdrContract: {
1486
1452
  }>>;
1487
1453
  isQueueMissedCall: z.ZodBoolean;
1488
1454
  extensionId: z.ZodNullable<z.ZodString>;
1489
- extension: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
1455
+ extension: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1490
1456
  id: z.ZodString;
1491
1457
  createdAt: z.ZodDate;
1492
1458
  updatedAt: z.ZodDate;
@@ -1498,20 +1464,18 @@ export declare const telephonyCdrContract: {
1498
1464
  extensionId: z.ZodNullable<z.ZodString>;
1499
1465
  extensionName: z.ZodString;
1500
1466
  telephonySignature: z.ZodNullable<z.ZodString>;
1501
- }, {
1502
- user: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
1467
+ user: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1468
+ name: z.ZodString;
1503
1469
  id: z.ZodString;
1470
+ address: z.ZodNullable<z.ZodString>;
1471
+ email: z.ZodString;
1504
1472
  createdAt: z.ZodDate;
1505
1473
  updatedAt: z.ZodDate;
1506
1474
  deletedAt: z.ZodNullable<z.ZodDate>;
1507
- name: z.ZodString;
1508
- email: z.ZodString;
1509
1475
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
1510
1476
  password: z.ZodString;
1511
- address: z.ZodNullable<z.ZodString>;
1512
1477
  phone: z.ZodNullable<z.ZodString>;
1513
1478
  notificationCount: z.ZodNullable<z.ZodNumber>;
1514
- }, {
1515
1479
  roles: z.ZodArray<z.ZodObject<{
1516
1480
  id: z.ZodString;
1517
1481
  createdAt: z.ZodDate;
@@ -1617,7 +1581,7 @@ export declare const telephonyCdrContract: {
1617
1581
  extensionName: string;
1618
1582
  telephonySignature: string | null;
1619
1583
  }>;
1620
- }>, "strip", z.ZodTypeAny, {
1584
+ }, "strip", z.ZodTypeAny, {
1621
1585
  name: string;
1622
1586
  id: string;
1623
1587
  address: string | null;
@@ -1704,7 +1668,7 @@ export declare const telephonyCdrContract: {
1704
1668
  telephonySignature: string | null;
1705
1669
  };
1706
1670
  }>>>;
1707
- }>, "strip", z.ZodTypeAny, {
1671
+ }, "strip", z.ZodTypeAny, {
1708
1672
  id: string;
1709
1673
  createdAt: Date;
1710
1674
  updatedAt: Date;
@@ -1819,7 +1783,7 @@ export declare const telephonyCdrContract: {
1819
1783
  }>>>;
1820
1784
  telephonyQueueId: z.ZodNullable<z.ZodString>;
1821
1785
  contactId: z.ZodNullable<z.ZodString>;
1822
- }>, "strip", z.ZodTypeAny, {
1786
+ }, "strip", z.ZodTypeAny, {
1823
1787
  type: string;
1824
1788
  id: string;
1825
1789
  recording: string | null;
@@ -1842,7 +1806,7 @@ export declare const telephonyCdrContract: {
1842
1806
  uploadId: string | null;
1843
1807
  serialNumber: string | null;
1844
1808
  callParticipants: {
1845
- callFrom?: {
1809
+ callTo?: {
1846
1810
  id: string;
1847
1811
  user: {
1848
1812
  name: string;
@@ -1868,7 +1832,7 @@ export declare const telephonyCdrContract: {
1868
1832
  createdAt?: string | undefined;
1869
1833
  updatedAt?: string | undefined;
1870
1834
  } | null | undefined;
1871
- callTo?: {
1835
+ callFrom?: {
1872
1836
  id: string;
1873
1837
  user: {
1874
1838
  name: string;
@@ -1898,63 +1862,6 @@ export declare const telephonyCdrContract: {
1898
1862
  isQueueMissedCall: boolean;
1899
1863
  telephonyQueueId: string | null;
1900
1864
  contactId: string | null;
1901
- extension?: {
1902
- id: string;
1903
- createdAt: Date;
1904
- updatedAt: Date;
1905
- deletedAt: Date | null;
1906
- userId: string | null;
1907
- sipServerUrl: string;
1908
- sipUserName: string;
1909
- webphoneLoginUser: string;
1910
- extensionId: string | null;
1911
- extensionName: string;
1912
- telephonySignature: string | null;
1913
- user?: {
1914
- name: string;
1915
- id: string;
1916
- address: string | null;
1917
- email: string;
1918
- createdAt: Date;
1919
- updatedAt: Date;
1920
- deletedAt: Date | null;
1921
- emailVerifiedAt: Date | null;
1922
- password: string;
1923
- phone: string | null;
1924
- notificationCount: number | null;
1925
- roles: {
1926
- id: string;
1927
- description: string | null;
1928
- createdAt: Date;
1929
- updatedAt: Date;
1930
- deletedAt: Date | null;
1931
- systemName: string;
1932
- displayName: string;
1933
- permissions: {
1934
- id: string;
1935
- description: string | null;
1936
- createdAt: Date;
1937
- updatedAt: Date;
1938
- deletedAt: Date | null;
1939
- systemName: string;
1940
- displayName: string;
1941
- }[];
1942
- }[];
1943
- extension: {
1944
- id: string;
1945
- createdAt: Date;
1946
- updatedAt: Date;
1947
- deletedAt: Date | null;
1948
- userId: string | null;
1949
- sipServerUrl: string;
1950
- sipUserName: string;
1951
- webphoneLoginUser: string;
1952
- extensionId: string | null;
1953
- extensionName: string;
1954
- telephonySignature: string | null;
1955
- };
1956
- } | null | undefined;
1957
- } | null | undefined;
1958
1865
  contact?: {
1959
1866
  name: string;
1960
1867
  id: string;
@@ -2089,6 +1996,63 @@ export declare const telephonyCdrContract: {
2089
1996
  fileSize: number;
2090
1997
  fileUrl: string | null;
2091
1998
  } | null | undefined;
1999
+ extension?: {
2000
+ id: string;
2001
+ createdAt: Date;
2002
+ updatedAt: Date;
2003
+ deletedAt: Date | null;
2004
+ userId: string | null;
2005
+ sipServerUrl: string;
2006
+ sipUserName: string;
2007
+ webphoneLoginUser: string;
2008
+ extensionId: string | null;
2009
+ extensionName: string;
2010
+ telephonySignature: string | null;
2011
+ user?: {
2012
+ name: string;
2013
+ id: string;
2014
+ address: string | null;
2015
+ email: string;
2016
+ createdAt: Date;
2017
+ updatedAt: Date;
2018
+ deletedAt: Date | null;
2019
+ emailVerifiedAt: Date | null;
2020
+ password: string;
2021
+ phone: string | null;
2022
+ notificationCount: number | null;
2023
+ roles: {
2024
+ id: string;
2025
+ description: string | null;
2026
+ createdAt: Date;
2027
+ updatedAt: Date;
2028
+ deletedAt: Date | null;
2029
+ systemName: string;
2030
+ displayName: string;
2031
+ permissions: {
2032
+ id: string;
2033
+ description: string | null;
2034
+ createdAt: Date;
2035
+ updatedAt: Date;
2036
+ deletedAt: Date | null;
2037
+ systemName: string;
2038
+ displayName: string;
2039
+ }[];
2040
+ }[];
2041
+ extension: {
2042
+ id: string;
2043
+ createdAt: Date;
2044
+ updatedAt: Date;
2045
+ deletedAt: Date | null;
2046
+ userId: string | null;
2047
+ sipServerUrl: string;
2048
+ sipUserName: string;
2049
+ webphoneLoginUser: string;
2050
+ extensionId: string | null;
2051
+ extensionName: string;
2052
+ telephonySignature: string | null;
2053
+ };
2054
+ } | null | undefined;
2055
+ } | null | undefined;
2092
2056
  }, {
2093
2057
  type: string;
2094
2058
  id: string;
@@ -2112,7 +2076,7 @@ export declare const telephonyCdrContract: {
2112
2076
  uploadId: string | null;
2113
2077
  serialNumber: string | null;
2114
2078
  callParticipants: {
2115
- callFrom?: {
2079
+ callTo?: {
2116
2080
  id: string;
2117
2081
  user: {
2118
2082
  name: string;
@@ -2138,7 +2102,7 @@ export declare const telephonyCdrContract: {
2138
2102
  createdAt?: string | undefined;
2139
2103
  updatedAt?: string | undefined;
2140
2104
  } | null | undefined;
2141
- callTo?: {
2105
+ callFrom?: {
2142
2106
  id: string;
2143
2107
  user: {
2144
2108
  name: string;
@@ -2168,80 +2132,23 @@ export declare const telephonyCdrContract: {
2168
2132
  isQueueMissedCall: boolean;
2169
2133
  telephonyQueueId: string | null;
2170
2134
  contactId: string | null;
2171
- extension?: {
2135
+ contact?: {
2136
+ name: string;
2172
2137
  id: string;
2138
+ channel: string | null;
2139
+ address: string | null;
2173
2140
  createdAt: Date;
2174
2141
  updatedAt: Date;
2175
2142
  deletedAt: Date | null;
2176
- userId: string | null;
2177
- sipServerUrl: string;
2178
- sipUserName: string;
2179
- webphoneLoginUser: string;
2180
- extensionId: string | null;
2181
- extensionName: string;
2182
- telephonySignature: string | null;
2183
- user?: {
2184
- name: string;
2143
+ customFields: {
2185
2144
  id: string;
2186
- address: string | null;
2187
- email: string;
2188
2145
  createdAt: Date;
2189
2146
  updatedAt: Date;
2190
2147
  deletedAt: Date | null;
2191
- emailVerifiedAt: Date | null;
2192
- password: string;
2193
- phone: string | null;
2194
- notificationCount: number | null;
2195
- roles: {
2148
+ attribute: {
2149
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
2196
2150
  id: string;
2197
- description: string | null;
2198
- createdAt: Date;
2199
- updatedAt: Date;
2200
- deletedAt: Date | null;
2201
- systemName: string;
2202
- displayName: string;
2203
- permissions: {
2204
- id: string;
2205
- description: string | null;
2206
- createdAt: Date;
2207
- updatedAt: Date;
2208
- deletedAt: Date | null;
2209
- systemName: string;
2210
- displayName: string;
2211
- }[];
2212
- }[];
2213
- extension: {
2214
- id: string;
2215
- createdAt: Date;
2216
- updatedAt: Date;
2217
- deletedAt: Date | null;
2218
- userId: string | null;
2219
- sipServerUrl: string;
2220
- sipUserName: string;
2221
- webphoneLoginUser: string;
2222
- extensionId: string | null;
2223
- extensionName: string;
2224
- telephonySignature: string | null;
2225
- };
2226
- } | null | undefined;
2227
- } | null | undefined;
2228
- contact?: {
2229
- name: string;
2230
- id: string;
2231
- channel: string | null;
2232
- address: string | null;
2233
- createdAt: Date;
2234
- updatedAt: Date;
2235
- deletedAt: Date | null;
2236
- customFields: {
2237
- id: string;
2238
- createdAt: Date;
2239
- updatedAt: Date;
2240
- deletedAt: Date | null;
2241
- attribute: {
2242
- type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
2243
- id: string;
2244
- position: number;
2151
+ position: number;
2245
2152
  createdAt: Date;
2246
2153
  updatedAt: Date;
2247
2154
  deletedAt: Date | null;
@@ -2359,8 +2266,65 @@ export declare const telephonyCdrContract: {
2359
2266
  fileSize: number;
2360
2267
  fileUrl: string | null;
2361
2268
  } | null | undefined;
2269
+ extension?: {
2270
+ id: string;
2271
+ createdAt: Date;
2272
+ updatedAt: Date;
2273
+ deletedAt: Date | null;
2274
+ userId: string | null;
2275
+ sipServerUrl: string;
2276
+ sipUserName: string;
2277
+ webphoneLoginUser: string;
2278
+ extensionId: string | null;
2279
+ extensionName: string;
2280
+ telephonySignature: string | null;
2281
+ user?: {
2282
+ name: string;
2283
+ id: string;
2284
+ address: string | null;
2285
+ email: string;
2286
+ createdAt: Date;
2287
+ updatedAt: Date;
2288
+ deletedAt: Date | null;
2289
+ emailVerifiedAt: Date | null;
2290
+ password: string;
2291
+ phone: string | null;
2292
+ notificationCount: number | null;
2293
+ roles: {
2294
+ id: string;
2295
+ description: string | null;
2296
+ createdAt: Date;
2297
+ updatedAt: Date;
2298
+ deletedAt: Date | null;
2299
+ systemName: string;
2300
+ displayName: string;
2301
+ permissions: {
2302
+ id: string;
2303
+ description: string | null;
2304
+ createdAt: Date;
2305
+ updatedAt: Date;
2306
+ deletedAt: Date | null;
2307
+ systemName: string;
2308
+ displayName: string;
2309
+ }[];
2310
+ }[];
2311
+ extension: {
2312
+ id: string;
2313
+ createdAt: Date;
2314
+ updatedAt: Date;
2315
+ deletedAt: Date | null;
2316
+ userId: string | null;
2317
+ sipServerUrl: string;
2318
+ sipUserName: string;
2319
+ webphoneLoginUser: string;
2320
+ extensionId: string | null;
2321
+ extensionName: string;
2322
+ telephonySignature: string | null;
2323
+ };
2324
+ } | null | undefined;
2325
+ } | null | undefined;
2362
2326
  }>, "many">;
2363
- }>, "strip", z.ZodTypeAny, {
2327
+ }, "strip", z.ZodTypeAny, {
2364
2328
  total: number;
2365
2329
  page: number;
2366
2330
  pageSize: number;
@@ -2388,7 +2352,7 @@ export declare const telephonyCdrContract: {
2388
2352
  uploadId: string | null;
2389
2353
  serialNumber: string | null;
2390
2354
  callParticipants: {
2391
- callFrom?: {
2355
+ callTo?: {
2392
2356
  id: string;
2393
2357
  user: {
2394
2358
  name: string;
@@ -2414,7 +2378,7 @@ export declare const telephonyCdrContract: {
2414
2378
  createdAt?: string | undefined;
2415
2379
  updatedAt?: string | undefined;
2416
2380
  } | null | undefined;
2417
- callTo?: {
2381
+ callFrom?: {
2418
2382
  id: string;
2419
2383
  user: {
2420
2384
  name: string;
@@ -2444,63 +2408,6 @@ export declare const telephonyCdrContract: {
2444
2408
  isQueueMissedCall: boolean;
2445
2409
  telephonyQueueId: string | null;
2446
2410
  contactId: string | null;
2447
- extension?: {
2448
- id: string;
2449
- createdAt: Date;
2450
- updatedAt: Date;
2451
- deletedAt: Date | null;
2452
- userId: string | null;
2453
- sipServerUrl: string;
2454
- sipUserName: string;
2455
- webphoneLoginUser: string;
2456
- extensionId: string | null;
2457
- extensionName: string;
2458
- telephonySignature: string | null;
2459
- user?: {
2460
- name: string;
2461
- id: string;
2462
- address: string | null;
2463
- email: string;
2464
- createdAt: Date;
2465
- updatedAt: Date;
2466
- deletedAt: Date | null;
2467
- emailVerifiedAt: Date | null;
2468
- password: string;
2469
- phone: string | null;
2470
- notificationCount: number | null;
2471
- roles: {
2472
- id: string;
2473
- description: string | null;
2474
- createdAt: Date;
2475
- updatedAt: Date;
2476
- deletedAt: Date | null;
2477
- systemName: string;
2478
- displayName: string;
2479
- permissions: {
2480
- id: string;
2481
- description: string | null;
2482
- createdAt: Date;
2483
- updatedAt: Date;
2484
- deletedAt: Date | null;
2485
- systemName: string;
2486
- displayName: string;
2487
- }[];
2488
- }[];
2489
- extension: {
2490
- id: string;
2491
- createdAt: Date;
2492
- updatedAt: Date;
2493
- deletedAt: Date | null;
2494
- userId: string | null;
2495
- sipServerUrl: string;
2496
- sipUserName: string;
2497
- webphoneLoginUser: string;
2498
- extensionId: string | null;
2499
- extensionName: string;
2500
- telephonySignature: string | null;
2501
- };
2502
- } | null | undefined;
2503
- } | null | undefined;
2504
2411
  contact?: {
2505
2412
  name: string;
2506
2413
  id: string;
@@ -2635,6 +2542,63 @@ export declare const telephonyCdrContract: {
2635
2542
  fileSize: number;
2636
2543
  fileUrl: string | null;
2637
2544
  } | null | undefined;
2545
+ extension?: {
2546
+ id: string;
2547
+ createdAt: Date;
2548
+ updatedAt: Date;
2549
+ deletedAt: Date | null;
2550
+ userId: string | null;
2551
+ sipServerUrl: string;
2552
+ sipUserName: string;
2553
+ webphoneLoginUser: string;
2554
+ extensionId: string | null;
2555
+ extensionName: string;
2556
+ telephonySignature: string | null;
2557
+ user?: {
2558
+ name: string;
2559
+ id: string;
2560
+ address: string | null;
2561
+ email: string;
2562
+ createdAt: Date;
2563
+ updatedAt: Date;
2564
+ deletedAt: Date | null;
2565
+ emailVerifiedAt: Date | null;
2566
+ password: string;
2567
+ phone: string | null;
2568
+ notificationCount: number | null;
2569
+ roles: {
2570
+ id: string;
2571
+ description: string | null;
2572
+ createdAt: Date;
2573
+ updatedAt: Date;
2574
+ deletedAt: Date | null;
2575
+ systemName: string;
2576
+ displayName: string;
2577
+ permissions: {
2578
+ id: string;
2579
+ description: string | null;
2580
+ createdAt: Date;
2581
+ updatedAt: Date;
2582
+ deletedAt: Date | null;
2583
+ systemName: string;
2584
+ displayName: string;
2585
+ }[];
2586
+ }[];
2587
+ extension: {
2588
+ id: string;
2589
+ createdAt: Date;
2590
+ updatedAt: Date;
2591
+ deletedAt: Date | null;
2592
+ userId: string | null;
2593
+ sipServerUrl: string;
2594
+ sipUserName: string;
2595
+ webphoneLoginUser: string;
2596
+ extensionId: string | null;
2597
+ extensionName: string;
2598
+ telephonySignature: string | null;
2599
+ };
2600
+ } | null | undefined;
2601
+ } | null | undefined;
2638
2602
  }[];
2639
2603
  }, {
2640
2604
  total: number;
@@ -2664,7 +2628,7 @@ export declare const telephonyCdrContract: {
2664
2628
  uploadId: string | null;
2665
2629
  serialNumber: string | null;
2666
2630
  callParticipants: {
2667
- callFrom?: {
2631
+ callTo?: {
2668
2632
  id: string;
2669
2633
  user: {
2670
2634
  name: string;
@@ -2690,7 +2654,7 @@ export declare const telephonyCdrContract: {
2690
2654
  createdAt?: string | undefined;
2691
2655
  updatedAt?: string | undefined;
2692
2656
  } | null | undefined;
2693
- callTo?: {
2657
+ callFrom?: {
2694
2658
  id: string;
2695
2659
  user: {
2696
2660
  name: string;
@@ -2720,80 +2684,23 @@ export declare const telephonyCdrContract: {
2720
2684
  isQueueMissedCall: boolean;
2721
2685
  telephonyQueueId: string | null;
2722
2686
  contactId: string | null;
2723
- extension?: {
2687
+ contact?: {
2688
+ name: string;
2724
2689
  id: string;
2690
+ channel: string | null;
2691
+ address: string | null;
2725
2692
  createdAt: Date;
2726
2693
  updatedAt: Date;
2727
2694
  deletedAt: Date | null;
2728
- userId: string | null;
2729
- sipServerUrl: string;
2730
- sipUserName: string;
2731
- webphoneLoginUser: string;
2732
- extensionId: string | null;
2733
- extensionName: string;
2734
- telephonySignature: string | null;
2735
- user?: {
2736
- name: string;
2695
+ customFields: {
2737
2696
  id: string;
2738
- address: string | null;
2739
- email: string;
2740
2697
  createdAt: Date;
2741
2698
  updatedAt: Date;
2742
2699
  deletedAt: Date | null;
2743
- emailVerifiedAt: Date | null;
2744
- password: string;
2745
- phone: string | null;
2746
- notificationCount: number | null;
2747
- roles: {
2700
+ attribute: {
2701
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
2748
2702
  id: string;
2749
- description: string | null;
2750
- createdAt: Date;
2751
- updatedAt: Date;
2752
- deletedAt: Date | null;
2753
- systemName: string;
2754
- displayName: string;
2755
- permissions: {
2756
- id: string;
2757
- description: string | null;
2758
- createdAt: Date;
2759
- updatedAt: Date;
2760
- deletedAt: Date | null;
2761
- systemName: string;
2762
- displayName: string;
2763
- }[];
2764
- }[];
2765
- extension: {
2766
- id: string;
2767
- createdAt: Date;
2768
- updatedAt: Date;
2769
- deletedAt: Date | null;
2770
- userId: string | null;
2771
- sipServerUrl: string;
2772
- sipUserName: string;
2773
- webphoneLoginUser: string;
2774
- extensionId: string | null;
2775
- extensionName: string;
2776
- telephonySignature: string | null;
2777
- };
2778
- } | null | undefined;
2779
- } | null | undefined;
2780
- contact?: {
2781
- name: string;
2782
- id: string;
2783
- channel: string | null;
2784
- address: string | null;
2785
- createdAt: Date;
2786
- updatedAt: Date;
2787
- deletedAt: Date | null;
2788
- customFields: {
2789
- id: string;
2790
- createdAt: Date;
2791
- updatedAt: Date;
2792
- deletedAt: Date | null;
2793
- attribute: {
2794
- type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
2795
- id: string;
2796
- position: number;
2703
+ position: number;
2797
2704
  createdAt: Date;
2798
2705
  updatedAt: Date;
2799
2706
  deletedAt: Date | null;
@@ -2911,6 +2818,63 @@ export declare const telephonyCdrContract: {
2911
2818
  fileSize: number;
2912
2819
  fileUrl: string | null;
2913
2820
  } | null | undefined;
2821
+ extension?: {
2822
+ id: string;
2823
+ createdAt: Date;
2824
+ updatedAt: Date;
2825
+ deletedAt: Date | null;
2826
+ userId: string | null;
2827
+ sipServerUrl: string;
2828
+ sipUserName: string;
2829
+ webphoneLoginUser: string;
2830
+ extensionId: string | null;
2831
+ extensionName: string;
2832
+ telephonySignature: string | null;
2833
+ user?: {
2834
+ name: string;
2835
+ id: string;
2836
+ address: string | null;
2837
+ email: string;
2838
+ createdAt: Date;
2839
+ updatedAt: Date;
2840
+ deletedAt: Date | null;
2841
+ emailVerifiedAt: Date | null;
2842
+ password: string;
2843
+ phone: string | null;
2844
+ notificationCount: number | null;
2845
+ roles: {
2846
+ id: string;
2847
+ description: string | null;
2848
+ createdAt: Date;
2849
+ updatedAt: Date;
2850
+ deletedAt: Date | null;
2851
+ systemName: string;
2852
+ displayName: string;
2853
+ permissions: {
2854
+ id: string;
2855
+ description: string | null;
2856
+ createdAt: Date;
2857
+ updatedAt: Date;
2858
+ deletedAt: Date | null;
2859
+ systemName: string;
2860
+ displayName: string;
2861
+ }[];
2862
+ }[];
2863
+ extension: {
2864
+ id: string;
2865
+ createdAt: Date;
2866
+ updatedAt: Date;
2867
+ deletedAt: Date | null;
2868
+ userId: string | null;
2869
+ sipServerUrl: string;
2870
+ sipUserName: string;
2871
+ webphoneLoginUser: string;
2872
+ extensionId: string | null;
2873
+ extensionName: string;
2874
+ telephonySignature: string | null;
2875
+ };
2876
+ } | null | undefined;
2877
+ } | null | undefined;
2914
2878
  }[];
2915
2879
  }>;
2916
2880
  401: z.ZodObject<{
@@ -2924,14 +2888,30 @@ export declare const telephonyCdrContract: {
2924
2888
  error?: any;
2925
2889
  }>;
2926
2890
  };
2891
+ path: "ms/telephony-cdr/";
2892
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2893
+ 'x-tenant': z.ZodString;
2894
+ 'x-service-token': z.ZodString;
2895
+ 'x-code': z.ZodOptional<z.ZodString>;
2896
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
2897
+ }, "strip", z.ZodTypeAny, {
2898
+ 'x-tenant': string;
2899
+ 'x-service-token': string;
2900
+ 'x-client-timezone': string;
2901
+ 'x-code'?: string | undefined;
2902
+ }, {
2903
+ 'x-tenant': string;
2904
+ 'x-service-token': string;
2905
+ 'x-code'?: string | undefined;
2906
+ 'x-client-timezone'?: string | undefined;
2907
+ }>>>;
2927
2908
  };
2928
2909
  getRecordings: {
2929
2910
  summary: "Get all telephony cdr.";
2930
2911
  method: "GET";
2931
- query: z.ZodObject<z.objectUtil.extendShape<{
2912
+ query: z.ZodObject<{
2932
2913
  page: z.ZodDefault<z.ZodNumber>;
2933
2914
  pageSize: z.ZodDefault<z.ZodNumber>;
2934
- }, {
2935
2915
  selectedDate: z.ZodOptional<z.ZodString>;
2936
2916
  type: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2937
2917
  status: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -2943,65 +2923,46 @@ export declare const telephonyCdrContract: {
2943
2923
  agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2944
2924
  agentCallsOnly: z.ZodOptional<z.ZodBoolean>;
2945
2925
  contactId: z.ZodOptional<z.ZodString>;
2946
- }>, "strip", z.ZodTypeAny, {
2926
+ }, "strip", z.ZodTypeAny, {
2947
2927
  page: number;
2948
2928
  pageSize: number;
2929
+ selectedDate?: string | undefined;
2949
2930
  type?: string[] | undefined;
2950
2931
  status?: string[] | undefined;
2951
- userId?: string | undefined;
2952
2932
  callFrom?: string | undefined;
2953
2933
  callTo?: string | undefined;
2954
- contactId?: string | undefined;
2955
- selectedDate?: string | undefined;
2956
- agentIds?: string[] | undefined;
2957
2934
  trunk?: string[] | undefined;
2935
+ userId?: string | undefined;
2958
2936
  queueStatus?: string | undefined;
2937
+ agentIds?: string[] | undefined;
2959
2938
  agentCallsOnly?: boolean | undefined;
2939
+ contactId?: string | undefined;
2960
2940
  }, {
2961
- type?: string[] | undefined;
2962
2941
  page?: number | undefined;
2963
- status?: string[] | undefined;
2964
2942
  pageSize?: number | undefined;
2965
- userId?: string | undefined;
2943
+ selectedDate?: string | undefined;
2944
+ type?: string[] | undefined;
2945
+ status?: string[] | undefined;
2966
2946
  callFrom?: string | undefined;
2967
2947
  callTo?: string | undefined;
2968
- contactId?: string | undefined;
2969
- selectedDate?: string | undefined;
2970
- agentIds?: string[] | undefined;
2971
2948
  trunk?: string[] | undefined;
2949
+ userId?: string | undefined;
2972
2950
  queueStatus?: string | undefined;
2951
+ agentIds?: string[] | undefined;
2973
2952
  agentCallsOnly?: boolean | undefined;
2953
+ contactId?: string | undefined;
2974
2954
  }>;
2975
- path: "ms/telephony-cdr/recordings";
2976
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2977
- 'x-tenant': z.ZodString;
2978
- 'x-service-token': z.ZodString;
2979
- 'x-code': z.ZodOptional<z.ZodString>;
2980
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
2981
- }, "strip", z.ZodTypeAny, {
2982
- 'x-tenant': string;
2983
- 'x-service-token': string;
2984
- 'x-client-timezone': string;
2985
- 'x-code'?: string | undefined;
2986
- }, {
2987
- 'x-tenant': string;
2988
- 'x-service-token': string;
2989
- 'x-code'?: string | undefined;
2990
- 'x-client-timezone'?: string | undefined;
2991
- }>>>;
2992
2955
  responses: {
2993
- 200: z.ZodObject<z.objectUtil.extendShape<{
2956
+ 200: z.ZodObject<{
2994
2957
  requestId: z.ZodString;
2995
- }, {
2996
2958
  total: z.ZodNumber;
2997
2959
  page: z.ZodNumber;
2998
2960
  pageSize: z.ZodNumber;
2999
- telephonyCdrs: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
2961
+ telephonyCdrs: z.ZodArray<z.ZodObject<{
3000
2962
  id: z.ZodString;
3001
2963
  createdAt: z.ZodDate;
3002
2964
  updatedAt: z.ZodDate;
3003
2965
  deletedAt: z.ZodNullable<z.ZodDate>;
3004
- }, {
3005
2966
  uniqueCallId: z.ZodString;
3006
2967
  timeStart: z.ZodString;
3007
2968
  callFrom: z.ZodString;
@@ -3021,14 +2982,13 @@ export declare const telephonyCdrContract: {
3021
2982
  notes: z.ZodNullable<z.ZodString>;
3022
2983
  contactProfile: z.ZodNullable<z.ZodString>;
3023
2984
  socialProfileUrl: z.ZodNullable<z.ZodString>;
3024
- tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
2985
+ tags: z.ZodArray<z.ZodObject<{
3025
2986
  id: z.ZodString;
3026
2987
  createdAt: z.ZodDate;
3027
2988
  updatedAt: z.ZodDate;
3028
2989
  deletedAt: z.ZodNullable<z.ZodDate>;
3029
- }, {
3030
2990
  name: z.ZodString;
3031
- }>, "strip", z.ZodTypeAny, {
2991
+ }, "strip", z.ZodTypeAny, {
3032
2992
  name: string;
3033
2993
  id: string;
3034
2994
  createdAt: Date;
@@ -3041,32 +3001,29 @@ export declare const telephonyCdrContract: {
3041
3001
  updatedAt: Date;
3042
3002
  deletedAt: Date | null;
3043
3003
  }>, "many">;
3044
- company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
3004
+ company: z.ZodNullable<z.ZodObject<Omit<{
3045
3005
  id: z.ZodString;
3046
3006
  createdAt: z.ZodDate;
3047
3007
  updatedAt: z.ZodDate;
3048
3008
  deletedAt: z.ZodNullable<z.ZodDate>;
3049
- }, {
3050
3009
  name: z.ZodOptional<z.ZodString>;
3051
3010
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3052
3011
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3053
3012
  industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3054
- customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
3013
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
3055
3014
  id: z.ZodString;
3056
3015
  createdAt: z.ZodDate;
3057
3016
  updatedAt: z.ZodDate;
3058
3017
  deletedAt: z.ZodNullable<z.ZodDate>;
3059
- }, {
3060
3018
  textValue: z.ZodNullable<z.ZodString>;
3061
3019
  booleanValue: z.ZodNullable<z.ZodBoolean>;
3062
3020
  numberValue: z.ZodNullable<z.ZodNumber>;
3063
3021
  dateValue: z.ZodNullable<z.ZodDate>;
3064
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
3022
+ attribute: z.ZodObject<Omit<{
3065
3023
  id: z.ZodString;
3066
3024
  createdAt: z.ZodDate;
3067
3025
  updatedAt: z.ZodDate;
3068
3026
  deletedAt: z.ZodNullable<z.ZodDate>;
3069
- }, {
3070
3027
  systemName: z.ZodString;
3071
3028
  displayName: z.ZodString;
3072
3029
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -3075,14 +3032,13 @@ export declare const telephonyCdrContract: {
3075
3032
  isArchived: z.ZodBoolean;
3076
3033
  isRequired: z.ZodBoolean;
3077
3034
  isUnique: z.ZodBoolean;
3078
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
3079
- label: z.ZodString;
3035
+ options: z.ZodArray<z.ZodObject<{
3036
+ position: z.ZodNumber;
3080
3037
  value: z.ZodString;
3038
+ label: z.ZodString;
3081
3039
  isDefault: z.ZodBoolean;
3082
- position: z.ZodNumber;
3083
- }, {
3084
3040
  id: z.ZodString;
3085
- }>, "strip", z.ZodTypeAny, {
3041
+ }, "strip", z.ZodTypeAny, {
3086
3042
  id: string;
3087
3043
  position: number;
3088
3044
  value: string;
@@ -3095,15 +3051,14 @@ export declare const telephonyCdrContract: {
3095
3051
  label: string;
3096
3052
  isDefault: boolean;
3097
3053
  }>, "many">;
3098
- group: z.ZodObject<z.objectUtil.extendShape<{
3054
+ group: z.ZodObject<{
3099
3055
  id: z.ZodString;
3100
3056
  createdAt: z.ZodDate;
3101
3057
  updatedAt: z.ZodDate;
3102
3058
  deletedAt: z.ZodNullable<z.ZodDate>;
3103
- }, {
3104
3059
  systemName: z.ZodString;
3105
3060
  displayName: z.ZodString;
3106
- }>, "strip", z.ZodTypeAny, {
3061
+ }, "strip", z.ZodTypeAny, {
3107
3062
  id: string;
3108
3063
  createdAt: Date;
3109
3064
  updatedAt: Date;
@@ -3118,7 +3073,7 @@ export declare const telephonyCdrContract: {
3118
3073
  systemName: string;
3119
3074
  displayName: string;
3120
3075
  }>;
3121
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
3076
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
3122
3077
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
3123
3078
  id: string;
3124
3079
  position: number;
@@ -3145,7 +3100,7 @@ export declare const telephonyCdrContract: {
3145
3100
  isRequired: boolean;
3146
3101
  isUnique: boolean;
3147
3102
  }>;
3148
- }>, "strip", z.ZodTypeAny, {
3103
+ }, "strip", z.ZodTypeAny, {
3149
3104
  id: string;
3150
3105
  createdAt: Date;
3151
3106
  updatedAt: Date;
@@ -3192,7 +3147,7 @@ export declare const telephonyCdrContract: {
3192
3147
  numberValue: number | null;
3193
3148
  dateValue: Date | null;
3194
3149
  }>, "many">>;
3195
- }>, "customFields">, "strip", z.ZodTypeAny, {
3150
+ }, "customFields">, "strip", z.ZodTypeAny, {
3196
3151
  id: string;
3197
3152
  createdAt: Date;
3198
3153
  updatedAt: Date;
@@ -3273,12 +3228,11 @@ export declare const telephonyCdrContract: {
3273
3228
  booleanValue: z.ZodNullable<z.ZodBoolean>;
3274
3229
  numberValue: z.ZodNullable<z.ZodNumber>;
3275
3230
  dateValue: z.ZodNullable<z.ZodDate>;
3276
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
3231
+ attribute: z.ZodObject<Omit<{
3277
3232
  id: z.ZodString;
3278
3233
  createdAt: z.ZodDate;
3279
3234
  updatedAt: z.ZodDate;
3280
3235
  deletedAt: z.ZodNullable<z.ZodDate>;
3281
- }, {
3282
3236
  systemName: z.ZodString;
3283
3237
  displayName: z.ZodString;
3284
3238
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -3287,14 +3241,13 @@ export declare const telephonyCdrContract: {
3287
3241
  isArchived: z.ZodBoolean;
3288
3242
  isRequired: z.ZodBoolean;
3289
3243
  isUnique: z.ZodBoolean;
3290
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
3291
- label: z.ZodString;
3244
+ options: z.ZodArray<z.ZodObject<{
3245
+ position: z.ZodNumber;
3292
3246
  value: z.ZodString;
3247
+ label: z.ZodString;
3293
3248
  isDefault: z.ZodBoolean;
3294
- position: z.ZodNumber;
3295
- }, {
3296
3249
  id: z.ZodString;
3297
- }>, "strip", z.ZodTypeAny, {
3250
+ }, "strip", z.ZodTypeAny, {
3298
3251
  id: string;
3299
3252
  position: number;
3300
3253
  value: string;
@@ -3307,15 +3260,14 @@ export declare const telephonyCdrContract: {
3307
3260
  label: string;
3308
3261
  isDefault: boolean;
3309
3262
  }>, "many">;
3310
- group: z.ZodObject<z.objectUtil.extendShape<{
3263
+ group: z.ZodObject<{
3311
3264
  id: z.ZodString;
3312
3265
  createdAt: z.ZodDate;
3313
3266
  updatedAt: z.ZodDate;
3314
3267
  deletedAt: z.ZodNullable<z.ZodDate>;
3315
- }, {
3316
3268
  systemName: z.ZodString;
3317
3269
  displayName: z.ZodString;
3318
- }>, "strip", z.ZodTypeAny, {
3270
+ }, "strip", z.ZodTypeAny, {
3319
3271
  id: string;
3320
3272
  createdAt: Date;
3321
3273
  updatedAt: Date;
@@ -3330,7 +3282,7 @@ export declare const telephonyCdrContract: {
3330
3282
  systemName: string;
3331
3283
  displayName: string;
3332
3284
  }>;
3333
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
3285
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
3334
3286
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
3335
3287
  id: string;
3336
3288
  position: number;
@@ -3357,19 +3309,18 @@ export declare const telephonyCdrContract: {
3357
3309
  isRequired: boolean;
3358
3310
  isUnique: boolean;
3359
3311
  }>;
3360
- uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
3312
+ uploads: z.ZodArray<z.ZodObject<{
3361
3313
  id: z.ZodString;
3362
3314
  createdAt: z.ZodDate;
3363
3315
  updatedAt: z.ZodDate;
3364
3316
  deletedAt: z.ZodNullable<z.ZodDate>;
3365
- }, {
3366
3317
  bucketName: z.ZodString;
3367
3318
  fileName: z.ZodString;
3368
3319
  fileSize: z.ZodNumber;
3369
3320
  fileKey: z.ZodString;
3370
3321
  fileUrl: z.ZodNullable<z.ZodString>;
3371
3322
  status: z.ZodNullable<z.ZodString>;
3372
- }>, "strip", z.ZodTypeAny, {
3323
+ }, "strip", z.ZodTypeAny, {
3373
3324
  id: string;
3374
3325
  status: string | null;
3375
3326
  createdAt: Date;
@@ -3790,17 +3741,16 @@ export declare const telephonyCdrContract: {
3790
3741
  };
3791
3742
  }[] | undefined;
3792
3743
  }>>;
3793
- telephonyQueue: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
3744
+ telephonyQueue: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3794
3745
  id: z.ZodString;
3795
3746
  createdAt: z.ZodDate;
3796
3747
  updatedAt: z.ZodDate;
3797
3748
  deletedAt: z.ZodNullable<z.ZodDate>;
3798
- }, {
3799
3749
  queueId: z.ZodNumber;
3800
3750
  queueName: z.ZodString;
3801
3751
  queueNumber: z.ZodString;
3802
3752
  maximumWaitingTime: z.ZodNumber;
3803
- }>, "strip", z.ZodTypeAny, {
3753
+ }, "strip", z.ZodTypeAny, {
3804
3754
  id: string;
3805
3755
  createdAt: Date;
3806
3756
  updatedAt: Date;
@@ -3827,19 +3777,18 @@ export declare const telephonyCdrContract: {
3827
3777
  agentRingTime: z.ZodNullable<z.ZodNumber>;
3828
3778
  uploadId: z.ZodNullable<z.ZodString>;
3829
3779
  serialNumber: z.ZodNullable<z.ZodString>;
3830
- upload: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
3780
+ upload: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3831
3781
  id: z.ZodString;
3832
3782
  createdAt: z.ZodDate;
3833
3783
  updatedAt: z.ZodDate;
3834
3784
  deletedAt: z.ZodNullable<z.ZodDate>;
3835
- }, {
3836
3785
  bucketName: z.ZodString;
3837
3786
  fileName: z.ZodString;
3838
3787
  fileSize: z.ZodNumber;
3839
3788
  fileKey: z.ZodString;
3840
3789
  fileUrl: z.ZodNullable<z.ZodString>;
3841
3790
  status: z.ZodNullable<z.ZodString>;
3842
- }>, "strip", z.ZodTypeAny, {
3791
+ }, "strip", z.ZodTypeAny, {
3843
3792
  id: string;
3844
3793
  status: string | null;
3845
3794
  createdAt: Date;
@@ -3865,19 +3814,18 @@ export declare const telephonyCdrContract: {
3865
3814
  callParticipants: z.ZodNullable<z.ZodObject<{
3866
3815
  callTo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
3867
3816
  id: z.ZodString;
3868
- user: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
3817
+ user: z.ZodNullable<z.ZodObject<Omit<{
3818
+ name: z.ZodString;
3869
3819
  id: z.ZodString;
3820
+ address: z.ZodNullable<z.ZodString>;
3821
+ email: z.ZodString;
3870
3822
  createdAt: z.ZodDate;
3871
3823
  updatedAt: z.ZodDate;
3872
3824
  deletedAt: z.ZodNullable<z.ZodDate>;
3873
- name: z.ZodString;
3874
- email: z.ZodString;
3875
3825
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
3876
3826
  password: z.ZodString;
3877
- address: z.ZodNullable<z.ZodString>;
3878
3827
  phone: z.ZodNullable<z.ZodString>;
3879
3828
  notificationCount: z.ZodNullable<z.ZodNumber>;
3880
- }, {
3881
3829
  roles: z.ZodArray<z.ZodObject<{
3882
3830
  id: z.ZodString;
3883
3831
  createdAt: z.ZodDate;
@@ -3983,7 +3931,7 @@ export declare const telephonyCdrContract: {
3983
3931
  extensionName: string;
3984
3932
  telephonySignature: string | null;
3985
3933
  }>;
3986
- }>, "roles" | "extension">, "strip", z.ZodTypeAny, {
3934
+ }, "roles" | "extension">, "strip", z.ZodTypeAny, {
3987
3935
  name: string;
3988
3936
  id: string;
3989
3937
  address: string | null;
@@ -4071,19 +4019,18 @@ export declare const telephonyCdrContract: {
4071
4019
  }>>>;
4072
4020
  callFrom: z.ZodOptional<z.ZodNullable<z.ZodObject<{
4073
4021
  id: z.ZodString;
4074
- user: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
4022
+ user: z.ZodNullable<z.ZodObject<Omit<{
4023
+ name: z.ZodString;
4075
4024
  id: z.ZodString;
4025
+ address: z.ZodNullable<z.ZodString>;
4026
+ email: z.ZodString;
4076
4027
  createdAt: z.ZodDate;
4077
4028
  updatedAt: z.ZodDate;
4078
4029
  deletedAt: z.ZodNullable<z.ZodDate>;
4079
- name: z.ZodString;
4080
- email: z.ZodString;
4081
4030
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
4082
4031
  password: z.ZodString;
4083
- address: z.ZodNullable<z.ZodString>;
4084
4032
  phone: z.ZodNullable<z.ZodString>;
4085
4033
  notificationCount: z.ZodNullable<z.ZodNumber>;
4086
- }, {
4087
4034
  roles: z.ZodArray<z.ZodObject<{
4088
4035
  id: z.ZodString;
4089
4036
  createdAt: z.ZodDate;
@@ -4189,7 +4136,7 @@ export declare const telephonyCdrContract: {
4189
4136
  extensionName: string;
4190
4137
  telephonySignature: string | null;
4191
4138
  }>;
4192
- }>, "roles" | "extension">, "strip", z.ZodTypeAny, {
4139
+ }, "roles" | "extension">, "strip", z.ZodTypeAny, {
4193
4140
  name: string;
4194
4141
  id: string;
4195
4142
  address: string | null;
@@ -4276,7 +4223,7 @@ export declare const telephonyCdrContract: {
4276
4223
  updatedAt?: string | undefined;
4277
4224
  }>>>;
4278
4225
  }, "strip", z.ZodTypeAny, {
4279
- callFrom?: {
4226
+ callTo?: {
4280
4227
  id: string;
4281
4228
  user: {
4282
4229
  name: string;
@@ -4302,7 +4249,7 @@ export declare const telephonyCdrContract: {
4302
4249
  createdAt?: string | undefined;
4303
4250
  updatedAt?: string | undefined;
4304
4251
  } | null | undefined;
4305
- callTo?: {
4252
+ callFrom?: {
4306
4253
  id: string;
4307
4254
  user: {
4308
4255
  name: string;
@@ -4329,7 +4276,7 @@ export declare const telephonyCdrContract: {
4329
4276
  updatedAt?: string | undefined;
4330
4277
  } | null | undefined;
4331
4278
  }, {
4332
- callFrom?: {
4279
+ callTo?: {
4333
4280
  id: string;
4334
4281
  user: {
4335
4282
  name: string;
@@ -4355,7 +4302,7 @@ export declare const telephonyCdrContract: {
4355
4302
  createdAt?: string | undefined;
4356
4303
  updatedAt?: string | undefined;
4357
4304
  } | null | undefined;
4358
- callTo?: {
4305
+ callFrom?: {
4359
4306
  id: string;
4360
4307
  user: {
4361
4308
  name: string;
@@ -4384,7 +4331,7 @@ export declare const telephonyCdrContract: {
4384
4331
  }>>;
4385
4332
  isQueueMissedCall: z.ZodBoolean;
4386
4333
  extensionId: z.ZodNullable<z.ZodString>;
4387
- extension: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
4334
+ extension: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4388
4335
  id: z.ZodString;
4389
4336
  createdAt: z.ZodDate;
4390
4337
  updatedAt: z.ZodDate;
@@ -4396,20 +4343,18 @@ export declare const telephonyCdrContract: {
4396
4343
  extensionId: z.ZodNullable<z.ZodString>;
4397
4344
  extensionName: z.ZodString;
4398
4345
  telephonySignature: z.ZodNullable<z.ZodString>;
4399
- }, {
4400
- user: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
4346
+ user: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4347
+ name: z.ZodString;
4401
4348
  id: z.ZodString;
4349
+ address: z.ZodNullable<z.ZodString>;
4350
+ email: z.ZodString;
4402
4351
  createdAt: z.ZodDate;
4403
4352
  updatedAt: z.ZodDate;
4404
4353
  deletedAt: z.ZodNullable<z.ZodDate>;
4405
- name: z.ZodString;
4406
- email: z.ZodString;
4407
4354
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
4408
4355
  password: z.ZodString;
4409
- address: z.ZodNullable<z.ZodString>;
4410
4356
  phone: z.ZodNullable<z.ZodString>;
4411
4357
  notificationCount: z.ZodNullable<z.ZodNumber>;
4412
- }, {
4413
4358
  roles: z.ZodArray<z.ZodObject<{
4414
4359
  id: z.ZodString;
4415
4360
  createdAt: z.ZodDate;
@@ -4515,7 +4460,7 @@ export declare const telephonyCdrContract: {
4515
4460
  extensionName: string;
4516
4461
  telephonySignature: string | null;
4517
4462
  }>;
4518
- }>, "strip", z.ZodTypeAny, {
4463
+ }, "strip", z.ZodTypeAny, {
4519
4464
  name: string;
4520
4465
  id: string;
4521
4466
  address: string | null;
@@ -4602,7 +4547,7 @@ export declare const telephonyCdrContract: {
4602
4547
  telephonySignature: string | null;
4603
4548
  };
4604
4549
  }>>>;
4605
- }>, "strip", z.ZodTypeAny, {
4550
+ }, "strip", z.ZodTypeAny, {
4606
4551
  id: string;
4607
4552
  createdAt: Date;
4608
4553
  updatedAt: Date;
@@ -4717,7 +4662,7 @@ export declare const telephonyCdrContract: {
4717
4662
  }>>>;
4718
4663
  telephonyQueueId: z.ZodNullable<z.ZodString>;
4719
4664
  contactId: z.ZodNullable<z.ZodString>;
4720
- }>, "strip", z.ZodTypeAny, {
4665
+ }, "strip", z.ZodTypeAny, {
4721
4666
  type: string;
4722
4667
  id: string;
4723
4668
  recording: string | null;
@@ -4740,7 +4685,7 @@ export declare const telephonyCdrContract: {
4740
4685
  uploadId: string | null;
4741
4686
  serialNumber: string | null;
4742
4687
  callParticipants: {
4743
- callFrom?: {
4688
+ callTo?: {
4744
4689
  id: string;
4745
4690
  user: {
4746
4691
  name: string;
@@ -4766,7 +4711,7 @@ export declare const telephonyCdrContract: {
4766
4711
  createdAt?: string | undefined;
4767
4712
  updatedAt?: string | undefined;
4768
4713
  } | null | undefined;
4769
- callTo?: {
4714
+ callFrom?: {
4770
4715
  id: string;
4771
4716
  user: {
4772
4717
  name: string;
@@ -4796,80 +4741,23 @@ export declare const telephonyCdrContract: {
4796
4741
  isQueueMissedCall: boolean;
4797
4742
  telephonyQueueId: string | null;
4798
4743
  contactId: string | null;
4799
- extension?: {
4744
+ contact?: {
4745
+ name: string;
4800
4746
  id: string;
4747
+ channel: string | null;
4748
+ address: string | null;
4801
4749
  createdAt: Date;
4802
4750
  updatedAt: Date;
4803
4751
  deletedAt: Date | null;
4804
- userId: string | null;
4805
- sipServerUrl: string;
4806
- sipUserName: string;
4807
- webphoneLoginUser: string;
4808
- extensionId: string | null;
4809
- extensionName: string;
4810
- telephonySignature: string | null;
4811
- user?: {
4812
- name: string;
4752
+ customFields: {
4813
4753
  id: string;
4814
- address: string | null;
4815
- email: string;
4816
4754
  createdAt: Date;
4817
4755
  updatedAt: Date;
4818
4756
  deletedAt: Date | null;
4819
- emailVerifiedAt: Date | null;
4820
- password: string;
4821
- phone: string | null;
4822
- notificationCount: number | null;
4823
- roles: {
4757
+ attribute: {
4758
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
4824
4759
  id: string;
4825
- description: string | null;
4826
- createdAt: Date;
4827
- updatedAt: Date;
4828
- deletedAt: Date | null;
4829
- systemName: string;
4830
- displayName: string;
4831
- permissions: {
4832
- id: string;
4833
- description: string | null;
4834
- createdAt: Date;
4835
- updatedAt: Date;
4836
- deletedAt: Date | null;
4837
- systemName: string;
4838
- displayName: string;
4839
- }[];
4840
- }[];
4841
- extension: {
4842
- id: string;
4843
- createdAt: Date;
4844
- updatedAt: Date;
4845
- deletedAt: Date | null;
4846
- userId: string | null;
4847
- sipServerUrl: string;
4848
- sipUserName: string;
4849
- webphoneLoginUser: string;
4850
- extensionId: string | null;
4851
- extensionName: string;
4852
- telephonySignature: string | null;
4853
- };
4854
- } | null | undefined;
4855
- } | null | undefined;
4856
- contact?: {
4857
- name: string;
4858
- id: string;
4859
- channel: string | null;
4860
- address: string | null;
4861
- createdAt: Date;
4862
- updatedAt: Date;
4863
- deletedAt: Date | null;
4864
- customFields: {
4865
- id: string;
4866
- createdAt: Date;
4867
- updatedAt: Date;
4868
- deletedAt: Date | null;
4869
- attribute: {
4870
- type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
4871
- id: string;
4872
- position: number;
4760
+ position: number;
4873
4761
  createdAt: Date;
4874
4762
  updatedAt: Date;
4875
4763
  deletedAt: Date | null;
@@ -4987,6 +4875,63 @@ export declare const telephonyCdrContract: {
4987
4875
  fileSize: number;
4988
4876
  fileUrl: string | null;
4989
4877
  } | null | undefined;
4878
+ extension?: {
4879
+ id: string;
4880
+ createdAt: Date;
4881
+ updatedAt: Date;
4882
+ deletedAt: Date | null;
4883
+ userId: string | null;
4884
+ sipServerUrl: string;
4885
+ sipUserName: string;
4886
+ webphoneLoginUser: string;
4887
+ extensionId: string | null;
4888
+ extensionName: string;
4889
+ telephonySignature: string | null;
4890
+ user?: {
4891
+ name: string;
4892
+ id: string;
4893
+ address: string | null;
4894
+ email: string;
4895
+ createdAt: Date;
4896
+ updatedAt: Date;
4897
+ deletedAt: Date | null;
4898
+ emailVerifiedAt: Date | null;
4899
+ password: string;
4900
+ phone: string | null;
4901
+ notificationCount: number | null;
4902
+ roles: {
4903
+ id: string;
4904
+ description: string | null;
4905
+ createdAt: Date;
4906
+ updatedAt: Date;
4907
+ deletedAt: Date | null;
4908
+ systemName: string;
4909
+ displayName: string;
4910
+ permissions: {
4911
+ id: string;
4912
+ description: string | null;
4913
+ createdAt: Date;
4914
+ updatedAt: Date;
4915
+ deletedAt: Date | null;
4916
+ systemName: string;
4917
+ displayName: string;
4918
+ }[];
4919
+ }[];
4920
+ extension: {
4921
+ id: string;
4922
+ createdAt: Date;
4923
+ updatedAt: Date;
4924
+ deletedAt: Date | null;
4925
+ userId: string | null;
4926
+ sipServerUrl: string;
4927
+ sipUserName: string;
4928
+ webphoneLoginUser: string;
4929
+ extensionId: string | null;
4930
+ extensionName: string;
4931
+ telephonySignature: string | null;
4932
+ };
4933
+ } | null | undefined;
4934
+ } | null | undefined;
4990
4935
  }, {
4991
4936
  type: string;
4992
4937
  id: string;
@@ -5010,7 +4955,7 @@ export declare const telephonyCdrContract: {
5010
4955
  uploadId: string | null;
5011
4956
  serialNumber: string | null;
5012
4957
  callParticipants: {
5013
- callFrom?: {
4958
+ callTo?: {
5014
4959
  id: string;
5015
4960
  user: {
5016
4961
  name: string;
@@ -5036,7 +4981,7 @@ export declare const telephonyCdrContract: {
5036
4981
  createdAt?: string | undefined;
5037
4982
  updatedAt?: string | undefined;
5038
4983
  } | null | undefined;
5039
- callTo?: {
4984
+ callFrom?: {
5040
4985
  id: string;
5041
4986
  user: {
5042
4987
  name: string;
@@ -5066,63 +5011,6 @@ export declare const telephonyCdrContract: {
5066
5011
  isQueueMissedCall: boolean;
5067
5012
  telephonyQueueId: string | null;
5068
5013
  contactId: string | null;
5069
- extension?: {
5070
- id: string;
5071
- createdAt: Date;
5072
- updatedAt: Date;
5073
- deletedAt: Date | null;
5074
- userId: string | null;
5075
- sipServerUrl: string;
5076
- sipUserName: string;
5077
- webphoneLoginUser: string;
5078
- extensionId: string | null;
5079
- extensionName: string;
5080
- telephonySignature: string | null;
5081
- user?: {
5082
- name: string;
5083
- id: string;
5084
- address: string | null;
5085
- email: string;
5086
- createdAt: Date;
5087
- updatedAt: Date;
5088
- deletedAt: Date | null;
5089
- emailVerifiedAt: Date | null;
5090
- password: string;
5091
- phone: string | null;
5092
- notificationCount: number | null;
5093
- roles: {
5094
- id: string;
5095
- description: string | null;
5096
- createdAt: Date;
5097
- updatedAt: Date;
5098
- deletedAt: Date | null;
5099
- systemName: string;
5100
- displayName: string;
5101
- permissions: {
5102
- id: string;
5103
- description: string | null;
5104
- createdAt: Date;
5105
- updatedAt: Date;
5106
- deletedAt: Date | null;
5107
- systemName: string;
5108
- displayName: string;
5109
- }[];
5110
- }[];
5111
- extension: {
5112
- id: string;
5113
- createdAt: Date;
5114
- updatedAt: Date;
5115
- deletedAt: Date | null;
5116
- userId: string | null;
5117
- sipServerUrl: string;
5118
- sipUserName: string;
5119
- webphoneLoginUser: string;
5120
- extensionId: string | null;
5121
- extensionName: string;
5122
- telephonySignature: string | null;
5123
- };
5124
- } | null | undefined;
5125
- } | null | undefined;
5126
5014
  contact?: {
5127
5015
  name: string;
5128
5016
  id: string;
@@ -5257,8 +5145,65 @@ export declare const telephonyCdrContract: {
5257
5145
  fileSize: number;
5258
5146
  fileUrl: string | null;
5259
5147
  } | null | undefined;
5148
+ extension?: {
5149
+ id: string;
5150
+ createdAt: Date;
5151
+ updatedAt: Date;
5152
+ deletedAt: Date | null;
5153
+ userId: string | null;
5154
+ sipServerUrl: string;
5155
+ sipUserName: string;
5156
+ webphoneLoginUser: string;
5157
+ extensionId: string | null;
5158
+ extensionName: string;
5159
+ telephonySignature: string | null;
5160
+ user?: {
5161
+ name: string;
5162
+ id: string;
5163
+ address: string | null;
5164
+ email: string;
5165
+ createdAt: Date;
5166
+ updatedAt: Date;
5167
+ deletedAt: Date | null;
5168
+ emailVerifiedAt: Date | null;
5169
+ password: string;
5170
+ phone: string | null;
5171
+ notificationCount: number | null;
5172
+ roles: {
5173
+ id: string;
5174
+ description: string | null;
5175
+ createdAt: Date;
5176
+ updatedAt: Date;
5177
+ deletedAt: Date | null;
5178
+ systemName: string;
5179
+ displayName: string;
5180
+ permissions: {
5181
+ id: string;
5182
+ description: string | null;
5183
+ createdAt: Date;
5184
+ updatedAt: Date;
5185
+ deletedAt: Date | null;
5186
+ systemName: string;
5187
+ displayName: string;
5188
+ }[];
5189
+ }[];
5190
+ extension: {
5191
+ id: string;
5192
+ createdAt: Date;
5193
+ updatedAt: Date;
5194
+ deletedAt: Date | null;
5195
+ userId: string | null;
5196
+ sipServerUrl: string;
5197
+ sipUserName: string;
5198
+ webphoneLoginUser: string;
5199
+ extensionId: string | null;
5200
+ extensionName: string;
5201
+ telephonySignature: string | null;
5202
+ };
5203
+ } | null | undefined;
5204
+ } | null | undefined;
5260
5205
  }>, "many">;
5261
- }>, "strip", z.ZodTypeAny, {
5206
+ }, "strip", z.ZodTypeAny, {
5262
5207
  total: number;
5263
5208
  page: number;
5264
5209
  pageSize: number;
@@ -5286,7 +5231,7 @@ export declare const telephonyCdrContract: {
5286
5231
  uploadId: string | null;
5287
5232
  serialNumber: string | null;
5288
5233
  callParticipants: {
5289
- callFrom?: {
5234
+ callTo?: {
5290
5235
  id: string;
5291
5236
  user: {
5292
5237
  name: string;
@@ -5312,7 +5257,7 @@ export declare const telephonyCdrContract: {
5312
5257
  createdAt?: string | undefined;
5313
5258
  updatedAt?: string | undefined;
5314
5259
  } | null | undefined;
5315
- callTo?: {
5260
+ callFrom?: {
5316
5261
  id: string;
5317
5262
  user: {
5318
5263
  name: string;
@@ -5342,80 +5287,23 @@ export declare const telephonyCdrContract: {
5342
5287
  isQueueMissedCall: boolean;
5343
5288
  telephonyQueueId: string | null;
5344
5289
  contactId: string | null;
5345
- extension?: {
5290
+ contact?: {
5291
+ name: string;
5346
5292
  id: string;
5293
+ channel: string | null;
5294
+ address: string | null;
5347
5295
  createdAt: Date;
5348
5296
  updatedAt: Date;
5349
5297
  deletedAt: Date | null;
5350
- userId: string | null;
5351
- sipServerUrl: string;
5352
- sipUserName: string;
5353
- webphoneLoginUser: string;
5354
- extensionId: string | null;
5355
- extensionName: string;
5356
- telephonySignature: string | null;
5357
- user?: {
5358
- name: string;
5298
+ customFields: {
5359
5299
  id: string;
5360
- address: string | null;
5361
- email: string;
5362
5300
  createdAt: Date;
5363
5301
  updatedAt: Date;
5364
5302
  deletedAt: Date | null;
5365
- emailVerifiedAt: Date | null;
5366
- password: string;
5367
- phone: string | null;
5368
- notificationCount: number | null;
5369
- roles: {
5303
+ attribute: {
5304
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
5370
5305
  id: string;
5371
- description: string | null;
5372
- createdAt: Date;
5373
- updatedAt: Date;
5374
- deletedAt: Date | null;
5375
- systemName: string;
5376
- displayName: string;
5377
- permissions: {
5378
- id: string;
5379
- description: string | null;
5380
- createdAt: Date;
5381
- updatedAt: Date;
5382
- deletedAt: Date | null;
5383
- systemName: string;
5384
- displayName: string;
5385
- }[];
5386
- }[];
5387
- extension: {
5388
- id: string;
5389
- createdAt: Date;
5390
- updatedAt: Date;
5391
- deletedAt: Date | null;
5392
- userId: string | null;
5393
- sipServerUrl: string;
5394
- sipUserName: string;
5395
- webphoneLoginUser: string;
5396
- extensionId: string | null;
5397
- extensionName: string;
5398
- telephonySignature: string | null;
5399
- };
5400
- } | null | undefined;
5401
- } | null | undefined;
5402
- contact?: {
5403
- name: string;
5404
- id: string;
5405
- channel: string | null;
5406
- address: string | null;
5407
- createdAt: Date;
5408
- updatedAt: Date;
5409
- deletedAt: Date | null;
5410
- customFields: {
5411
- id: string;
5412
- createdAt: Date;
5413
- updatedAt: Date;
5414
- deletedAt: Date | null;
5415
- attribute: {
5416
- type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
5417
- id: string;
5418
- position: number;
5306
+ position: number;
5419
5307
  createdAt: Date;
5420
5308
  updatedAt: Date;
5421
5309
  deletedAt: Date | null;
@@ -5533,6 +5421,63 @@ export declare const telephonyCdrContract: {
5533
5421
  fileSize: number;
5534
5422
  fileUrl: string | null;
5535
5423
  } | null | undefined;
5424
+ extension?: {
5425
+ id: string;
5426
+ createdAt: Date;
5427
+ updatedAt: Date;
5428
+ deletedAt: Date | null;
5429
+ userId: string | null;
5430
+ sipServerUrl: string;
5431
+ sipUserName: string;
5432
+ webphoneLoginUser: string;
5433
+ extensionId: string | null;
5434
+ extensionName: string;
5435
+ telephonySignature: string | null;
5436
+ user?: {
5437
+ name: string;
5438
+ id: string;
5439
+ address: string | null;
5440
+ email: string;
5441
+ createdAt: Date;
5442
+ updatedAt: Date;
5443
+ deletedAt: Date | null;
5444
+ emailVerifiedAt: Date | null;
5445
+ password: string;
5446
+ phone: string | null;
5447
+ notificationCount: number | null;
5448
+ roles: {
5449
+ id: string;
5450
+ description: string | null;
5451
+ createdAt: Date;
5452
+ updatedAt: Date;
5453
+ deletedAt: Date | null;
5454
+ systemName: string;
5455
+ displayName: string;
5456
+ permissions: {
5457
+ id: string;
5458
+ description: string | null;
5459
+ createdAt: Date;
5460
+ updatedAt: Date;
5461
+ deletedAt: Date | null;
5462
+ systemName: string;
5463
+ displayName: string;
5464
+ }[];
5465
+ }[];
5466
+ extension: {
5467
+ id: string;
5468
+ createdAt: Date;
5469
+ updatedAt: Date;
5470
+ deletedAt: Date | null;
5471
+ userId: string | null;
5472
+ sipServerUrl: string;
5473
+ sipUserName: string;
5474
+ webphoneLoginUser: string;
5475
+ extensionId: string | null;
5476
+ extensionName: string;
5477
+ telephonySignature: string | null;
5478
+ };
5479
+ } | null | undefined;
5480
+ } | null | undefined;
5536
5481
  }[];
5537
5482
  }, {
5538
5483
  total: number;
@@ -5562,7 +5507,7 @@ export declare const telephonyCdrContract: {
5562
5507
  uploadId: string | null;
5563
5508
  serialNumber: string | null;
5564
5509
  callParticipants: {
5565
- callFrom?: {
5510
+ callTo?: {
5566
5511
  id: string;
5567
5512
  user: {
5568
5513
  name: string;
@@ -5588,7 +5533,7 @@ export declare const telephonyCdrContract: {
5588
5533
  createdAt?: string | undefined;
5589
5534
  updatedAt?: string | undefined;
5590
5535
  } | null | undefined;
5591
- callTo?: {
5536
+ callFrom?: {
5592
5537
  id: string;
5593
5538
  user: {
5594
5539
  name: string;
@@ -5618,63 +5563,6 @@ export declare const telephonyCdrContract: {
5618
5563
  isQueueMissedCall: boolean;
5619
5564
  telephonyQueueId: string | null;
5620
5565
  contactId: string | null;
5621
- extension?: {
5622
- id: string;
5623
- createdAt: Date;
5624
- updatedAt: Date;
5625
- deletedAt: Date | null;
5626
- userId: string | null;
5627
- sipServerUrl: string;
5628
- sipUserName: string;
5629
- webphoneLoginUser: string;
5630
- extensionId: string | null;
5631
- extensionName: string;
5632
- telephonySignature: string | null;
5633
- user?: {
5634
- name: string;
5635
- id: string;
5636
- address: string | null;
5637
- email: string;
5638
- createdAt: Date;
5639
- updatedAt: Date;
5640
- deletedAt: Date | null;
5641
- emailVerifiedAt: Date | null;
5642
- password: string;
5643
- phone: string | null;
5644
- notificationCount: number | null;
5645
- roles: {
5646
- id: string;
5647
- description: string | null;
5648
- createdAt: Date;
5649
- updatedAt: Date;
5650
- deletedAt: Date | null;
5651
- systemName: string;
5652
- displayName: string;
5653
- permissions: {
5654
- id: string;
5655
- description: string | null;
5656
- createdAt: Date;
5657
- updatedAt: Date;
5658
- deletedAt: Date | null;
5659
- systemName: string;
5660
- displayName: string;
5661
- }[];
5662
- }[];
5663
- extension: {
5664
- id: string;
5665
- createdAt: Date;
5666
- updatedAt: Date;
5667
- deletedAt: Date | null;
5668
- userId: string | null;
5669
- sipServerUrl: string;
5670
- sipUserName: string;
5671
- webphoneLoginUser: string;
5672
- extensionId: string | null;
5673
- extensionName: string;
5674
- telephonySignature: string | null;
5675
- };
5676
- } | null | undefined;
5677
- } | null | undefined;
5678
5566
  contact?: {
5679
5567
  name: string;
5680
5568
  id: string;
@@ -5809,6 +5697,63 @@ export declare const telephonyCdrContract: {
5809
5697
  fileSize: number;
5810
5698
  fileUrl: string | null;
5811
5699
  } | null | undefined;
5700
+ extension?: {
5701
+ id: string;
5702
+ createdAt: Date;
5703
+ updatedAt: Date;
5704
+ deletedAt: Date | null;
5705
+ userId: string | null;
5706
+ sipServerUrl: string;
5707
+ sipUserName: string;
5708
+ webphoneLoginUser: string;
5709
+ extensionId: string | null;
5710
+ extensionName: string;
5711
+ telephonySignature: string | null;
5712
+ user?: {
5713
+ name: string;
5714
+ id: string;
5715
+ address: string | null;
5716
+ email: string;
5717
+ createdAt: Date;
5718
+ updatedAt: Date;
5719
+ deletedAt: Date | null;
5720
+ emailVerifiedAt: Date | null;
5721
+ password: string;
5722
+ phone: string | null;
5723
+ notificationCount: number | null;
5724
+ roles: {
5725
+ id: string;
5726
+ description: string | null;
5727
+ createdAt: Date;
5728
+ updatedAt: Date;
5729
+ deletedAt: Date | null;
5730
+ systemName: string;
5731
+ displayName: string;
5732
+ permissions: {
5733
+ id: string;
5734
+ description: string | null;
5735
+ createdAt: Date;
5736
+ updatedAt: Date;
5737
+ deletedAt: Date | null;
5738
+ systemName: string;
5739
+ displayName: string;
5740
+ }[];
5741
+ }[];
5742
+ extension: {
5743
+ id: string;
5744
+ createdAt: Date;
5745
+ updatedAt: Date;
5746
+ deletedAt: Date | null;
5747
+ userId: string | null;
5748
+ sipServerUrl: string;
5749
+ sipUserName: string;
5750
+ webphoneLoginUser: string;
5751
+ extensionId: string | null;
5752
+ extensionName: string;
5753
+ telephonySignature: string | null;
5754
+ };
5755
+ } | null | undefined;
5756
+ } | null | undefined;
5812
5757
  }[];
5813
5758
  }>;
5814
5759
  401: z.ZodObject<{
@@ -5822,14 +5767,30 @@ export declare const telephonyCdrContract: {
5822
5767
  error?: any;
5823
5768
  }>;
5824
5769
  };
5770
+ path: "ms/telephony-cdr/recordings";
5771
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
5772
+ 'x-tenant': z.ZodString;
5773
+ 'x-service-token': z.ZodString;
5774
+ 'x-code': z.ZodOptional<z.ZodString>;
5775
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
5776
+ }, "strip", z.ZodTypeAny, {
5777
+ 'x-tenant': string;
5778
+ 'x-service-token': string;
5779
+ 'x-client-timezone': string;
5780
+ 'x-code'?: string | undefined;
5781
+ }, {
5782
+ 'x-tenant': string;
5783
+ 'x-service-token': string;
5784
+ 'x-code'?: string | undefined;
5785
+ 'x-client-timezone'?: string | undefined;
5786
+ }>>>;
5825
5787
  };
5826
5788
  getRecentCall: {
5827
5789
  summary: "Get recent telephony cdr.";
5828
5790
  method: "GET";
5829
- query: z.ZodObject<z.objectUtil.extendShape<{
5791
+ query: z.ZodObject<{
5830
5792
  page: z.ZodDefault<z.ZodNumber>;
5831
5793
  pageSize: z.ZodDefault<z.ZodNumber>;
5832
- }, {
5833
5794
  type: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5834
5795
  status: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5835
5796
  callFrom: z.ZodOptional<z.ZodString>;
@@ -5842,67 +5803,48 @@ export declare const telephonyCdrContract: {
5842
5803
  callStatus: z.ZodOptional<z.ZodArray<z.ZodEnum<["incoming", "outgoing", "missed", "no_answered"]>, "many">>;
5843
5804
  queueIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5844
5805
  notes: z.ZodOptional<z.ZodString>;
5845
- }>, "strip", z.ZodTypeAny, {
5806
+ }, "strip", z.ZodTypeAny, {
5846
5807
  page: number;
5847
5808
  pageSize: number;
5848
5809
  type?: string[] | undefined;
5849
5810
  status?: string[] | undefined;
5850
- contact?: string[] | undefined;
5851
- notes?: string | undefined;
5852
5811
  callFrom?: string | undefined;
5853
5812
  callTo?: string | undefined;
5854
- agentId?: string | undefined;
5855
- selectedDate?: string | undefined;
5856
5813
  result?: string[] | undefined;
5857
5814
  callTags?: string[] | undefined;
5815
+ selectedDate?: string | undefined;
5816
+ agentId?: string | undefined;
5817
+ contact?: string[] | undefined;
5858
5818
  callStatus?: ("incoming" | "outgoing" | "missed" | "no_answered")[] | undefined;
5859
5819
  queueIds?: string[] | undefined;
5820
+ notes?: string | undefined;
5860
5821
  }, {
5861
- type?: string[] | undefined;
5862
5822
  page?: number | undefined;
5863
- status?: string[] | undefined;
5864
5823
  pageSize?: number | undefined;
5865
- contact?: string[] | undefined;
5866
- notes?: string | undefined;
5824
+ type?: string[] | undefined;
5825
+ status?: string[] | undefined;
5867
5826
  callFrom?: string | undefined;
5868
5827
  callTo?: string | undefined;
5869
- agentId?: string | undefined;
5870
- selectedDate?: string | undefined;
5871
5828
  result?: string[] | undefined;
5872
5829
  callTags?: string[] | undefined;
5830
+ selectedDate?: string | undefined;
5831
+ agentId?: string | undefined;
5832
+ contact?: string[] | undefined;
5873
5833
  callStatus?: ("incoming" | "outgoing" | "missed" | "no_answered")[] | undefined;
5874
5834
  queueIds?: string[] | undefined;
5835
+ notes?: string | undefined;
5875
5836
  }>;
5876
- path: "ms/telephony-cdr/recent-calls";
5877
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
5878
- 'x-tenant': z.ZodString;
5879
- 'x-service-token': z.ZodString;
5880
- 'x-code': z.ZodOptional<z.ZodString>;
5881
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
5882
- }, "strip", z.ZodTypeAny, {
5883
- 'x-tenant': string;
5884
- 'x-service-token': string;
5885
- 'x-client-timezone': string;
5886
- 'x-code'?: string | undefined;
5887
- }, {
5888
- 'x-tenant': string;
5889
- 'x-service-token': string;
5890
- 'x-code'?: string | undefined;
5891
- 'x-client-timezone'?: string | undefined;
5892
- }>>>;
5893
5837
  responses: {
5894
- 200: z.ZodObject<z.objectUtil.extendShape<{
5838
+ 200: z.ZodObject<{
5895
5839
  requestId: z.ZodString;
5896
- }, {
5897
5840
  total: z.ZodNumber;
5898
5841
  page: z.ZodNumber;
5899
5842
  pageSize: z.ZodNumber;
5900
- telephonyCdrs: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5843
+ telephonyCdrs: z.ZodArray<z.ZodObject<{
5901
5844
  id: z.ZodString;
5902
5845
  createdAt: z.ZodDate;
5903
5846
  updatedAt: z.ZodDate;
5904
5847
  deletedAt: z.ZodNullable<z.ZodDate>;
5905
- }, {
5906
5848
  uniqueCallId: z.ZodString;
5907
5849
  timeStart: z.ZodString;
5908
5850
  callFrom: z.ZodString;
@@ -5922,14 +5864,13 @@ export declare const telephonyCdrContract: {
5922
5864
  notes: z.ZodNullable<z.ZodString>;
5923
5865
  contactProfile: z.ZodNullable<z.ZodString>;
5924
5866
  socialProfileUrl: z.ZodNullable<z.ZodString>;
5925
- tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5867
+ tags: z.ZodArray<z.ZodObject<{
5926
5868
  id: z.ZodString;
5927
5869
  createdAt: z.ZodDate;
5928
5870
  updatedAt: z.ZodDate;
5929
5871
  deletedAt: z.ZodNullable<z.ZodDate>;
5930
- }, {
5931
5872
  name: z.ZodString;
5932
- }>, "strip", z.ZodTypeAny, {
5873
+ }, "strip", z.ZodTypeAny, {
5933
5874
  name: string;
5934
5875
  id: string;
5935
5876
  createdAt: Date;
@@ -5942,32 +5883,29 @@ export declare const telephonyCdrContract: {
5942
5883
  updatedAt: Date;
5943
5884
  deletedAt: Date | null;
5944
5885
  }>, "many">;
5945
- company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
5886
+ company: z.ZodNullable<z.ZodObject<Omit<{
5946
5887
  id: z.ZodString;
5947
5888
  createdAt: z.ZodDate;
5948
5889
  updatedAt: z.ZodDate;
5949
5890
  deletedAt: z.ZodNullable<z.ZodDate>;
5950
- }, {
5951
5891
  name: z.ZodOptional<z.ZodString>;
5952
5892
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5953
5893
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5954
5894
  industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5955
- customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5895
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
5956
5896
  id: z.ZodString;
5957
5897
  createdAt: z.ZodDate;
5958
5898
  updatedAt: z.ZodDate;
5959
5899
  deletedAt: z.ZodNullable<z.ZodDate>;
5960
- }, {
5961
5900
  textValue: z.ZodNullable<z.ZodString>;
5962
5901
  booleanValue: z.ZodNullable<z.ZodBoolean>;
5963
5902
  numberValue: z.ZodNullable<z.ZodNumber>;
5964
5903
  dateValue: z.ZodNullable<z.ZodDate>;
5965
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
5904
+ attribute: z.ZodObject<Omit<{
5966
5905
  id: z.ZodString;
5967
5906
  createdAt: z.ZodDate;
5968
5907
  updatedAt: z.ZodDate;
5969
5908
  deletedAt: z.ZodNullable<z.ZodDate>;
5970
- }, {
5971
5909
  systemName: z.ZodString;
5972
5910
  displayName: z.ZodString;
5973
5911
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -5976,14 +5914,13 @@ export declare const telephonyCdrContract: {
5976
5914
  isArchived: z.ZodBoolean;
5977
5915
  isRequired: z.ZodBoolean;
5978
5916
  isUnique: z.ZodBoolean;
5979
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5980
- label: z.ZodString;
5917
+ options: z.ZodArray<z.ZodObject<{
5918
+ position: z.ZodNumber;
5981
5919
  value: z.ZodString;
5920
+ label: z.ZodString;
5982
5921
  isDefault: z.ZodBoolean;
5983
- position: z.ZodNumber;
5984
- }, {
5985
5922
  id: z.ZodString;
5986
- }>, "strip", z.ZodTypeAny, {
5923
+ }, "strip", z.ZodTypeAny, {
5987
5924
  id: string;
5988
5925
  position: number;
5989
5926
  value: string;
@@ -5996,15 +5933,14 @@ export declare const telephonyCdrContract: {
5996
5933
  label: string;
5997
5934
  isDefault: boolean;
5998
5935
  }>, "many">;
5999
- group: z.ZodObject<z.objectUtil.extendShape<{
5936
+ group: z.ZodObject<{
6000
5937
  id: z.ZodString;
6001
5938
  createdAt: z.ZodDate;
6002
5939
  updatedAt: z.ZodDate;
6003
5940
  deletedAt: z.ZodNullable<z.ZodDate>;
6004
- }, {
6005
5941
  systemName: z.ZodString;
6006
5942
  displayName: z.ZodString;
6007
- }>, "strip", z.ZodTypeAny, {
5943
+ }, "strip", z.ZodTypeAny, {
6008
5944
  id: string;
6009
5945
  createdAt: Date;
6010
5946
  updatedAt: Date;
@@ -6019,7 +5955,7 @@ export declare const telephonyCdrContract: {
6019
5955
  systemName: string;
6020
5956
  displayName: string;
6021
5957
  }>;
6022
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
5958
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
6023
5959
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
6024
5960
  id: string;
6025
5961
  position: number;
@@ -6046,7 +5982,7 @@ export declare const telephonyCdrContract: {
6046
5982
  isRequired: boolean;
6047
5983
  isUnique: boolean;
6048
5984
  }>;
6049
- }>, "strip", z.ZodTypeAny, {
5985
+ }, "strip", z.ZodTypeAny, {
6050
5986
  id: string;
6051
5987
  createdAt: Date;
6052
5988
  updatedAt: Date;
@@ -6093,7 +6029,7 @@ export declare const telephonyCdrContract: {
6093
6029
  numberValue: number | null;
6094
6030
  dateValue: Date | null;
6095
6031
  }>, "many">>;
6096
- }>, "customFields">, "strip", z.ZodTypeAny, {
6032
+ }, "customFields">, "strip", z.ZodTypeAny, {
6097
6033
  id: string;
6098
6034
  createdAt: Date;
6099
6035
  updatedAt: Date;
@@ -6174,12 +6110,11 @@ export declare const telephonyCdrContract: {
6174
6110
  booleanValue: z.ZodNullable<z.ZodBoolean>;
6175
6111
  numberValue: z.ZodNullable<z.ZodNumber>;
6176
6112
  dateValue: z.ZodNullable<z.ZodDate>;
6177
- attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
6113
+ attribute: z.ZodObject<Omit<{
6178
6114
  id: z.ZodString;
6179
6115
  createdAt: z.ZodDate;
6180
6116
  updatedAt: z.ZodDate;
6181
6117
  deletedAt: z.ZodNullable<z.ZodDate>;
6182
- }, {
6183
6118
  systemName: z.ZodString;
6184
6119
  displayName: z.ZodString;
6185
6120
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -6188,14 +6123,13 @@ export declare const telephonyCdrContract: {
6188
6123
  isArchived: z.ZodBoolean;
6189
6124
  isRequired: z.ZodBoolean;
6190
6125
  isUnique: z.ZodBoolean;
6191
- options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
6192
- label: z.ZodString;
6126
+ options: z.ZodArray<z.ZodObject<{
6127
+ position: z.ZodNumber;
6193
6128
  value: z.ZodString;
6129
+ label: z.ZodString;
6194
6130
  isDefault: z.ZodBoolean;
6195
- position: z.ZodNumber;
6196
- }, {
6197
6131
  id: z.ZodString;
6198
- }>, "strip", z.ZodTypeAny, {
6132
+ }, "strip", z.ZodTypeAny, {
6199
6133
  id: string;
6200
6134
  position: number;
6201
6135
  value: string;
@@ -6208,15 +6142,14 @@ export declare const telephonyCdrContract: {
6208
6142
  label: string;
6209
6143
  isDefault: boolean;
6210
6144
  }>, "many">;
6211
- group: z.ZodObject<z.objectUtil.extendShape<{
6145
+ group: z.ZodObject<{
6212
6146
  id: z.ZodString;
6213
6147
  createdAt: z.ZodDate;
6214
6148
  updatedAt: z.ZodDate;
6215
6149
  deletedAt: z.ZodNullable<z.ZodDate>;
6216
- }, {
6217
6150
  systemName: z.ZodString;
6218
6151
  displayName: z.ZodString;
6219
- }>, "strip", z.ZodTypeAny, {
6152
+ }, "strip", z.ZodTypeAny, {
6220
6153
  id: string;
6221
6154
  createdAt: Date;
6222
6155
  updatedAt: Date;
@@ -6231,7 +6164,7 @@ export declare const telephonyCdrContract: {
6231
6164
  systemName: string;
6232
6165
  displayName: string;
6233
6166
  }>;
6234
- }>, "options" | "group">, "strip", z.ZodTypeAny, {
6167
+ }, "options" | "group">, "strip", z.ZodTypeAny, {
6235
6168
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
6236
6169
  id: string;
6237
6170
  position: number;
@@ -6258,19 +6191,18 @@ export declare const telephonyCdrContract: {
6258
6191
  isRequired: boolean;
6259
6192
  isUnique: boolean;
6260
6193
  }>;
6261
- uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
6194
+ uploads: z.ZodArray<z.ZodObject<{
6262
6195
  id: z.ZodString;
6263
6196
  createdAt: z.ZodDate;
6264
6197
  updatedAt: z.ZodDate;
6265
6198
  deletedAt: z.ZodNullable<z.ZodDate>;
6266
- }, {
6267
6199
  bucketName: z.ZodString;
6268
6200
  fileName: z.ZodString;
6269
6201
  fileSize: z.ZodNumber;
6270
6202
  fileKey: z.ZodString;
6271
6203
  fileUrl: z.ZodNullable<z.ZodString>;
6272
6204
  status: z.ZodNullable<z.ZodString>;
6273
- }>, "strip", z.ZodTypeAny, {
6205
+ }, "strip", z.ZodTypeAny, {
6274
6206
  id: string;
6275
6207
  status: string | null;
6276
6208
  createdAt: Date;
@@ -6691,17 +6623,16 @@ export declare const telephonyCdrContract: {
6691
6623
  };
6692
6624
  }[] | undefined;
6693
6625
  }>>;
6694
- telephonyQueue: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
6626
+ telephonyQueue: z.ZodNullable<z.ZodOptional<z.ZodObject<{
6695
6627
  id: z.ZodString;
6696
6628
  createdAt: z.ZodDate;
6697
6629
  updatedAt: z.ZodDate;
6698
6630
  deletedAt: z.ZodNullable<z.ZodDate>;
6699
- }, {
6700
6631
  queueId: z.ZodNumber;
6701
6632
  queueName: z.ZodString;
6702
6633
  queueNumber: z.ZodString;
6703
6634
  maximumWaitingTime: z.ZodNumber;
6704
- }>, "strip", z.ZodTypeAny, {
6635
+ }, "strip", z.ZodTypeAny, {
6705
6636
  id: string;
6706
6637
  createdAt: Date;
6707
6638
  updatedAt: Date;
@@ -6728,19 +6659,18 @@ export declare const telephonyCdrContract: {
6728
6659
  agentRingTime: z.ZodNullable<z.ZodNumber>;
6729
6660
  uploadId: z.ZodNullable<z.ZodString>;
6730
6661
  serialNumber: z.ZodNullable<z.ZodString>;
6731
- upload: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
6662
+ upload: z.ZodNullable<z.ZodOptional<z.ZodObject<{
6732
6663
  id: z.ZodString;
6733
6664
  createdAt: z.ZodDate;
6734
6665
  updatedAt: z.ZodDate;
6735
6666
  deletedAt: z.ZodNullable<z.ZodDate>;
6736
- }, {
6737
6667
  bucketName: z.ZodString;
6738
6668
  fileName: z.ZodString;
6739
6669
  fileSize: z.ZodNumber;
6740
6670
  fileKey: z.ZodString;
6741
6671
  fileUrl: z.ZodNullable<z.ZodString>;
6742
6672
  status: z.ZodNullable<z.ZodString>;
6743
- }>, "strip", z.ZodTypeAny, {
6673
+ }, "strip", z.ZodTypeAny, {
6744
6674
  id: string;
6745
6675
  status: string | null;
6746
6676
  createdAt: Date;
@@ -6766,19 +6696,18 @@ export declare const telephonyCdrContract: {
6766
6696
  callParticipants: z.ZodNullable<z.ZodObject<{
6767
6697
  callTo: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6768
6698
  id: z.ZodString;
6769
- user: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
6699
+ user: z.ZodNullable<z.ZodObject<Omit<{
6700
+ name: z.ZodString;
6770
6701
  id: z.ZodString;
6702
+ address: z.ZodNullable<z.ZodString>;
6703
+ email: z.ZodString;
6771
6704
  createdAt: z.ZodDate;
6772
6705
  updatedAt: z.ZodDate;
6773
6706
  deletedAt: z.ZodNullable<z.ZodDate>;
6774
- name: z.ZodString;
6775
- email: z.ZodString;
6776
6707
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
6777
6708
  password: z.ZodString;
6778
- address: z.ZodNullable<z.ZodString>;
6779
6709
  phone: z.ZodNullable<z.ZodString>;
6780
6710
  notificationCount: z.ZodNullable<z.ZodNumber>;
6781
- }, {
6782
6711
  roles: z.ZodArray<z.ZodObject<{
6783
6712
  id: z.ZodString;
6784
6713
  createdAt: z.ZodDate;
@@ -6884,7 +6813,7 @@ export declare const telephonyCdrContract: {
6884
6813
  extensionName: string;
6885
6814
  telephonySignature: string | null;
6886
6815
  }>;
6887
- }>, "roles" | "extension">, "strip", z.ZodTypeAny, {
6816
+ }, "roles" | "extension">, "strip", z.ZodTypeAny, {
6888
6817
  name: string;
6889
6818
  id: string;
6890
6819
  address: string | null;
@@ -6972,19 +6901,18 @@ export declare const telephonyCdrContract: {
6972
6901
  }>>>;
6973
6902
  callFrom: z.ZodOptional<z.ZodNullable<z.ZodObject<{
6974
6903
  id: z.ZodString;
6975
- user: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
6904
+ user: z.ZodNullable<z.ZodObject<Omit<{
6905
+ name: z.ZodString;
6976
6906
  id: z.ZodString;
6907
+ address: z.ZodNullable<z.ZodString>;
6908
+ email: z.ZodString;
6977
6909
  createdAt: z.ZodDate;
6978
6910
  updatedAt: z.ZodDate;
6979
6911
  deletedAt: z.ZodNullable<z.ZodDate>;
6980
- name: z.ZodString;
6981
- email: z.ZodString;
6982
6912
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
6983
6913
  password: z.ZodString;
6984
- address: z.ZodNullable<z.ZodString>;
6985
6914
  phone: z.ZodNullable<z.ZodString>;
6986
6915
  notificationCount: z.ZodNullable<z.ZodNumber>;
6987
- }, {
6988
6916
  roles: z.ZodArray<z.ZodObject<{
6989
6917
  id: z.ZodString;
6990
6918
  createdAt: z.ZodDate;
@@ -7090,7 +7018,7 @@ export declare const telephonyCdrContract: {
7090
7018
  extensionName: string;
7091
7019
  telephonySignature: string | null;
7092
7020
  }>;
7093
- }>, "roles" | "extension">, "strip", z.ZodTypeAny, {
7021
+ }, "roles" | "extension">, "strip", z.ZodTypeAny, {
7094
7022
  name: string;
7095
7023
  id: string;
7096
7024
  address: string | null;
@@ -7177,7 +7105,7 @@ export declare const telephonyCdrContract: {
7177
7105
  updatedAt?: string | undefined;
7178
7106
  }>>>;
7179
7107
  }, "strip", z.ZodTypeAny, {
7180
- callFrom?: {
7108
+ callTo?: {
7181
7109
  id: string;
7182
7110
  user: {
7183
7111
  name: string;
@@ -7203,7 +7131,7 @@ export declare const telephonyCdrContract: {
7203
7131
  createdAt?: string | undefined;
7204
7132
  updatedAt?: string | undefined;
7205
7133
  } | null | undefined;
7206
- callTo?: {
7134
+ callFrom?: {
7207
7135
  id: string;
7208
7136
  user: {
7209
7137
  name: string;
@@ -7230,7 +7158,7 @@ export declare const telephonyCdrContract: {
7230
7158
  updatedAt?: string | undefined;
7231
7159
  } | null | undefined;
7232
7160
  }, {
7233
- callFrom?: {
7161
+ callTo?: {
7234
7162
  id: string;
7235
7163
  user: {
7236
7164
  name: string;
@@ -7256,7 +7184,7 @@ export declare const telephonyCdrContract: {
7256
7184
  createdAt?: string | undefined;
7257
7185
  updatedAt?: string | undefined;
7258
7186
  } | null | undefined;
7259
- callTo?: {
7187
+ callFrom?: {
7260
7188
  id: string;
7261
7189
  user: {
7262
7190
  name: string;
@@ -7285,7 +7213,7 @@ export declare const telephonyCdrContract: {
7285
7213
  }>>;
7286
7214
  isQueueMissedCall: z.ZodBoolean;
7287
7215
  extensionId: z.ZodNullable<z.ZodString>;
7288
- extension: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
7216
+ extension: z.ZodNullable<z.ZodOptional<z.ZodObject<{
7289
7217
  id: z.ZodString;
7290
7218
  createdAt: z.ZodDate;
7291
7219
  updatedAt: z.ZodDate;
@@ -7297,20 +7225,18 @@ export declare const telephonyCdrContract: {
7297
7225
  extensionId: z.ZodNullable<z.ZodString>;
7298
7226
  extensionName: z.ZodString;
7299
7227
  telephonySignature: z.ZodNullable<z.ZodString>;
7300
- }, {
7301
- user: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
7228
+ user: z.ZodNullable<z.ZodOptional<z.ZodObject<{
7229
+ name: z.ZodString;
7302
7230
  id: z.ZodString;
7231
+ address: z.ZodNullable<z.ZodString>;
7232
+ email: z.ZodString;
7303
7233
  createdAt: z.ZodDate;
7304
7234
  updatedAt: z.ZodDate;
7305
7235
  deletedAt: z.ZodNullable<z.ZodDate>;
7306
- name: z.ZodString;
7307
- email: z.ZodString;
7308
7236
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
7309
7237
  password: z.ZodString;
7310
- address: z.ZodNullable<z.ZodString>;
7311
7238
  phone: z.ZodNullable<z.ZodString>;
7312
7239
  notificationCount: z.ZodNullable<z.ZodNumber>;
7313
- }, {
7314
7240
  roles: z.ZodArray<z.ZodObject<{
7315
7241
  id: z.ZodString;
7316
7242
  createdAt: z.ZodDate;
@@ -7416,7 +7342,7 @@ export declare const telephonyCdrContract: {
7416
7342
  extensionName: string;
7417
7343
  telephonySignature: string | null;
7418
7344
  }>;
7419
- }>, "strip", z.ZodTypeAny, {
7345
+ }, "strip", z.ZodTypeAny, {
7420
7346
  name: string;
7421
7347
  id: string;
7422
7348
  address: string | null;
@@ -7503,7 +7429,7 @@ export declare const telephonyCdrContract: {
7503
7429
  telephonySignature: string | null;
7504
7430
  };
7505
7431
  }>>>;
7506
- }>, "strip", z.ZodTypeAny, {
7432
+ }, "strip", z.ZodTypeAny, {
7507
7433
  id: string;
7508
7434
  createdAt: Date;
7509
7435
  updatedAt: Date;
@@ -7618,7 +7544,7 @@ export declare const telephonyCdrContract: {
7618
7544
  }>>>;
7619
7545
  telephonyQueueId: z.ZodNullable<z.ZodString>;
7620
7546
  contactId: z.ZodNullable<z.ZodString>;
7621
- }>, "strip", z.ZodTypeAny, {
7547
+ }, "strip", z.ZodTypeAny, {
7622
7548
  type: string;
7623
7549
  id: string;
7624
7550
  recording: string | null;
@@ -7641,7 +7567,7 @@ export declare const telephonyCdrContract: {
7641
7567
  uploadId: string | null;
7642
7568
  serialNumber: string | null;
7643
7569
  callParticipants: {
7644
- callFrom?: {
7570
+ callTo?: {
7645
7571
  id: string;
7646
7572
  user: {
7647
7573
  name: string;
@@ -7667,7 +7593,7 @@ export declare const telephonyCdrContract: {
7667
7593
  createdAt?: string | undefined;
7668
7594
  updatedAt?: string | undefined;
7669
7595
  } | null | undefined;
7670
- callTo?: {
7596
+ callFrom?: {
7671
7597
  id: string;
7672
7598
  user: {
7673
7599
  name: string;
@@ -7695,65 +7621,8 @@ export declare const telephonyCdrContract: {
7695
7621
  } | null | undefined;
7696
7622
  } | null;
7697
7623
  isQueueMissedCall: boolean;
7698
- telephonyQueueId: string | null;
7699
- contactId: string | null;
7700
- extension?: {
7701
- id: string;
7702
- createdAt: Date;
7703
- updatedAt: Date;
7704
- deletedAt: Date | null;
7705
- userId: string | null;
7706
- sipServerUrl: string;
7707
- sipUserName: string;
7708
- webphoneLoginUser: string;
7709
- extensionId: string | null;
7710
- extensionName: string;
7711
- telephonySignature: string | null;
7712
- user?: {
7713
- name: string;
7714
- id: string;
7715
- address: string | null;
7716
- email: string;
7717
- createdAt: Date;
7718
- updatedAt: Date;
7719
- deletedAt: Date | null;
7720
- emailVerifiedAt: Date | null;
7721
- password: string;
7722
- phone: string | null;
7723
- notificationCount: number | null;
7724
- roles: {
7725
- id: string;
7726
- description: string | null;
7727
- createdAt: Date;
7728
- updatedAt: Date;
7729
- deletedAt: Date | null;
7730
- systemName: string;
7731
- displayName: string;
7732
- permissions: {
7733
- id: string;
7734
- description: string | null;
7735
- createdAt: Date;
7736
- updatedAt: Date;
7737
- deletedAt: Date | null;
7738
- systemName: string;
7739
- displayName: string;
7740
- }[];
7741
- }[];
7742
- extension: {
7743
- id: string;
7744
- createdAt: Date;
7745
- updatedAt: Date;
7746
- deletedAt: Date | null;
7747
- userId: string | null;
7748
- sipServerUrl: string;
7749
- sipUserName: string;
7750
- webphoneLoginUser: string;
7751
- extensionId: string | null;
7752
- extensionName: string;
7753
- telephonySignature: string | null;
7754
- };
7755
- } | null | undefined;
7756
- } | null | undefined;
7624
+ telephonyQueueId: string | null;
7625
+ contactId: string | null;
7757
7626
  contact?: {
7758
7627
  name: string;
7759
7628
  id: string;
@@ -7888,6 +7757,63 @@ export declare const telephonyCdrContract: {
7888
7757
  fileSize: number;
7889
7758
  fileUrl: string | null;
7890
7759
  } | null | undefined;
7760
+ extension?: {
7761
+ id: string;
7762
+ createdAt: Date;
7763
+ updatedAt: Date;
7764
+ deletedAt: Date | null;
7765
+ userId: string | null;
7766
+ sipServerUrl: string;
7767
+ sipUserName: string;
7768
+ webphoneLoginUser: string;
7769
+ extensionId: string | null;
7770
+ extensionName: string;
7771
+ telephonySignature: string | null;
7772
+ user?: {
7773
+ name: string;
7774
+ id: string;
7775
+ address: string | null;
7776
+ email: string;
7777
+ createdAt: Date;
7778
+ updatedAt: Date;
7779
+ deletedAt: Date | null;
7780
+ emailVerifiedAt: Date | null;
7781
+ password: string;
7782
+ phone: string | null;
7783
+ notificationCount: number | null;
7784
+ roles: {
7785
+ id: string;
7786
+ description: string | null;
7787
+ createdAt: Date;
7788
+ updatedAt: Date;
7789
+ deletedAt: Date | null;
7790
+ systemName: string;
7791
+ displayName: string;
7792
+ permissions: {
7793
+ id: string;
7794
+ description: string | null;
7795
+ createdAt: Date;
7796
+ updatedAt: Date;
7797
+ deletedAt: Date | null;
7798
+ systemName: string;
7799
+ displayName: string;
7800
+ }[];
7801
+ }[];
7802
+ extension: {
7803
+ id: string;
7804
+ createdAt: Date;
7805
+ updatedAt: Date;
7806
+ deletedAt: Date | null;
7807
+ userId: string | null;
7808
+ sipServerUrl: string;
7809
+ sipUserName: string;
7810
+ webphoneLoginUser: string;
7811
+ extensionId: string | null;
7812
+ extensionName: string;
7813
+ telephonySignature: string | null;
7814
+ };
7815
+ } | null | undefined;
7816
+ } | null | undefined;
7891
7817
  }, {
7892
7818
  type: string;
7893
7819
  id: string;
@@ -7911,7 +7837,7 @@ export declare const telephonyCdrContract: {
7911
7837
  uploadId: string | null;
7912
7838
  serialNumber: string | null;
7913
7839
  callParticipants: {
7914
- callFrom?: {
7840
+ callTo?: {
7915
7841
  id: string;
7916
7842
  user: {
7917
7843
  name: string;
@@ -7937,7 +7863,7 @@ export declare const telephonyCdrContract: {
7937
7863
  createdAt?: string | undefined;
7938
7864
  updatedAt?: string | undefined;
7939
7865
  } | null | undefined;
7940
- callTo?: {
7866
+ callFrom?: {
7941
7867
  id: string;
7942
7868
  user: {
7943
7869
  name: string;
@@ -7967,63 +7893,6 @@ export declare const telephonyCdrContract: {
7967
7893
  isQueueMissedCall: boolean;
7968
7894
  telephonyQueueId: string | null;
7969
7895
  contactId: string | null;
7970
- extension?: {
7971
- id: string;
7972
- createdAt: Date;
7973
- updatedAt: Date;
7974
- deletedAt: Date | null;
7975
- userId: string | null;
7976
- sipServerUrl: string;
7977
- sipUserName: string;
7978
- webphoneLoginUser: string;
7979
- extensionId: string | null;
7980
- extensionName: string;
7981
- telephonySignature: string | null;
7982
- user?: {
7983
- name: string;
7984
- id: string;
7985
- address: string | null;
7986
- email: string;
7987
- createdAt: Date;
7988
- updatedAt: Date;
7989
- deletedAt: Date | null;
7990
- emailVerifiedAt: Date | null;
7991
- password: string;
7992
- phone: string | null;
7993
- notificationCount: number | null;
7994
- roles: {
7995
- id: string;
7996
- description: string | null;
7997
- createdAt: Date;
7998
- updatedAt: Date;
7999
- deletedAt: Date | null;
8000
- systemName: string;
8001
- displayName: string;
8002
- permissions: {
8003
- id: string;
8004
- description: string | null;
8005
- createdAt: Date;
8006
- updatedAt: Date;
8007
- deletedAt: Date | null;
8008
- systemName: string;
8009
- displayName: string;
8010
- }[];
8011
- }[];
8012
- extension: {
8013
- id: string;
8014
- createdAt: Date;
8015
- updatedAt: Date;
8016
- deletedAt: Date | null;
8017
- userId: string | null;
8018
- sipServerUrl: string;
8019
- sipUserName: string;
8020
- webphoneLoginUser: string;
8021
- extensionId: string | null;
8022
- extensionName: string;
8023
- telephonySignature: string | null;
8024
- };
8025
- } | null | undefined;
8026
- } | null | undefined;
8027
7896
  contact?: {
8028
7897
  name: string;
8029
7898
  id: string;
@@ -8158,8 +8027,65 @@ export declare const telephonyCdrContract: {
8158
8027
  fileSize: number;
8159
8028
  fileUrl: string | null;
8160
8029
  } | null | undefined;
8030
+ extension?: {
8031
+ id: string;
8032
+ createdAt: Date;
8033
+ updatedAt: Date;
8034
+ deletedAt: Date | null;
8035
+ userId: string | null;
8036
+ sipServerUrl: string;
8037
+ sipUserName: string;
8038
+ webphoneLoginUser: string;
8039
+ extensionId: string | null;
8040
+ extensionName: string;
8041
+ telephonySignature: string | null;
8042
+ user?: {
8043
+ name: string;
8044
+ id: string;
8045
+ address: string | null;
8046
+ email: string;
8047
+ createdAt: Date;
8048
+ updatedAt: Date;
8049
+ deletedAt: Date | null;
8050
+ emailVerifiedAt: Date | null;
8051
+ password: string;
8052
+ phone: string | null;
8053
+ notificationCount: number | null;
8054
+ roles: {
8055
+ id: string;
8056
+ description: string | null;
8057
+ createdAt: Date;
8058
+ updatedAt: Date;
8059
+ deletedAt: Date | null;
8060
+ systemName: string;
8061
+ displayName: string;
8062
+ permissions: {
8063
+ id: string;
8064
+ description: string | null;
8065
+ createdAt: Date;
8066
+ updatedAt: Date;
8067
+ deletedAt: Date | null;
8068
+ systemName: string;
8069
+ displayName: string;
8070
+ }[];
8071
+ }[];
8072
+ extension: {
8073
+ id: string;
8074
+ createdAt: Date;
8075
+ updatedAt: Date;
8076
+ deletedAt: Date | null;
8077
+ userId: string | null;
8078
+ sipServerUrl: string;
8079
+ sipUserName: string;
8080
+ webphoneLoginUser: string;
8081
+ extensionId: string | null;
8082
+ extensionName: string;
8083
+ telephonySignature: string | null;
8084
+ };
8085
+ } | null | undefined;
8086
+ } | null | undefined;
8161
8087
  }>, "many">;
8162
- }>, "strip", z.ZodTypeAny, {
8088
+ }, "strip", z.ZodTypeAny, {
8163
8089
  total: number;
8164
8090
  page: number;
8165
8091
  pageSize: number;
@@ -8187,7 +8113,7 @@ export declare const telephonyCdrContract: {
8187
8113
  uploadId: string | null;
8188
8114
  serialNumber: string | null;
8189
8115
  callParticipants: {
8190
- callFrom?: {
8116
+ callTo?: {
8191
8117
  id: string;
8192
8118
  user: {
8193
8119
  name: string;
@@ -8213,7 +8139,7 @@ export declare const telephonyCdrContract: {
8213
8139
  createdAt?: string | undefined;
8214
8140
  updatedAt?: string | undefined;
8215
8141
  } | null | undefined;
8216
- callTo?: {
8142
+ callFrom?: {
8217
8143
  id: string;
8218
8144
  user: {
8219
8145
  name: string;
@@ -8224,82 +8150,25 @@ export declare const telephonyCdrContract: {
8224
8150
  updatedAt: Date;
8225
8151
  deletedAt: Date | null;
8226
8152
  emailVerifiedAt: Date | null;
8227
- password: string;
8228
- phone: string | null;
8229
- notificationCount: number | null;
8230
- } | null;
8231
- deletedAt: string | null;
8232
- userId: string;
8233
- sipServerUrl: string | null;
8234
- sipUserName: string | null;
8235
- webphoneLoginUser: string | null;
8236
- extensionId: string | null;
8237
- extensionName: string | null;
8238
- telephonySignature: string | null;
8239
- createdAt?: string | undefined;
8240
- updatedAt?: string | undefined;
8241
- } | null | undefined;
8242
- } | null;
8243
- isQueueMissedCall: boolean;
8244
- telephonyQueueId: string | null;
8245
- contactId: string | null;
8246
- extension?: {
8247
- id: string;
8248
- createdAt: Date;
8249
- updatedAt: Date;
8250
- deletedAt: Date | null;
8251
- userId: string | null;
8252
- sipServerUrl: string;
8253
- sipUserName: string;
8254
- webphoneLoginUser: string;
8255
- extensionId: string | null;
8256
- extensionName: string;
8257
- telephonySignature: string | null;
8258
- user?: {
8259
- name: string;
8260
- id: string;
8261
- address: string | null;
8262
- email: string;
8263
- createdAt: Date;
8264
- updatedAt: Date;
8265
- deletedAt: Date | null;
8266
- emailVerifiedAt: Date | null;
8267
- password: string;
8268
- phone: string | null;
8269
- notificationCount: number | null;
8270
- roles: {
8271
- id: string;
8272
- description: string | null;
8273
- createdAt: Date;
8274
- updatedAt: Date;
8275
- deletedAt: Date | null;
8276
- systemName: string;
8277
- displayName: string;
8278
- permissions: {
8279
- id: string;
8280
- description: string | null;
8281
- createdAt: Date;
8282
- updatedAt: Date;
8283
- deletedAt: Date | null;
8284
- systemName: string;
8285
- displayName: string;
8286
- }[];
8287
- }[];
8288
- extension: {
8289
- id: string;
8290
- createdAt: Date;
8291
- updatedAt: Date;
8292
- deletedAt: Date | null;
8293
- userId: string | null;
8294
- sipServerUrl: string;
8295
- sipUserName: string;
8296
- webphoneLoginUser: string;
8297
- extensionId: string | null;
8298
- extensionName: string;
8299
- telephonySignature: string | null;
8300
- };
8153
+ password: string;
8154
+ phone: string | null;
8155
+ notificationCount: number | null;
8156
+ } | null;
8157
+ deletedAt: string | null;
8158
+ userId: string;
8159
+ sipServerUrl: string | null;
8160
+ sipUserName: string | null;
8161
+ webphoneLoginUser: string | null;
8162
+ extensionId: string | null;
8163
+ extensionName: string | null;
8164
+ telephonySignature: string | null;
8165
+ createdAt?: string | undefined;
8166
+ updatedAt?: string | undefined;
8301
8167
  } | null | undefined;
8302
- } | null | undefined;
8168
+ } | null;
8169
+ isQueueMissedCall: boolean;
8170
+ telephonyQueueId: string | null;
8171
+ contactId: string | null;
8303
8172
  contact?: {
8304
8173
  name: string;
8305
8174
  id: string;
@@ -8434,6 +8303,63 @@ export declare const telephonyCdrContract: {
8434
8303
  fileSize: number;
8435
8304
  fileUrl: string | null;
8436
8305
  } | null | undefined;
8306
+ extension?: {
8307
+ id: string;
8308
+ createdAt: Date;
8309
+ updatedAt: Date;
8310
+ deletedAt: Date | null;
8311
+ userId: string | null;
8312
+ sipServerUrl: string;
8313
+ sipUserName: string;
8314
+ webphoneLoginUser: string;
8315
+ extensionId: string | null;
8316
+ extensionName: string;
8317
+ telephonySignature: string | null;
8318
+ user?: {
8319
+ name: string;
8320
+ id: string;
8321
+ address: string | null;
8322
+ email: string;
8323
+ createdAt: Date;
8324
+ updatedAt: Date;
8325
+ deletedAt: Date | null;
8326
+ emailVerifiedAt: Date | null;
8327
+ password: string;
8328
+ phone: string | null;
8329
+ notificationCount: number | null;
8330
+ roles: {
8331
+ id: string;
8332
+ description: string | null;
8333
+ createdAt: Date;
8334
+ updatedAt: Date;
8335
+ deletedAt: Date | null;
8336
+ systemName: string;
8337
+ displayName: string;
8338
+ permissions: {
8339
+ id: string;
8340
+ description: string | null;
8341
+ createdAt: Date;
8342
+ updatedAt: Date;
8343
+ deletedAt: Date | null;
8344
+ systemName: string;
8345
+ displayName: string;
8346
+ }[];
8347
+ }[];
8348
+ extension: {
8349
+ id: string;
8350
+ createdAt: Date;
8351
+ updatedAt: Date;
8352
+ deletedAt: Date | null;
8353
+ userId: string | null;
8354
+ sipServerUrl: string;
8355
+ sipUserName: string;
8356
+ webphoneLoginUser: string;
8357
+ extensionId: string | null;
8358
+ extensionName: string;
8359
+ telephonySignature: string | null;
8360
+ };
8361
+ } | null | undefined;
8362
+ } | null | undefined;
8437
8363
  }[];
8438
8364
  }, {
8439
8365
  total: number;
@@ -8463,7 +8389,7 @@ export declare const telephonyCdrContract: {
8463
8389
  uploadId: string | null;
8464
8390
  serialNumber: string | null;
8465
8391
  callParticipants: {
8466
- callFrom?: {
8392
+ callTo?: {
8467
8393
  id: string;
8468
8394
  user: {
8469
8395
  name: string;
@@ -8489,7 +8415,7 @@ export declare const telephonyCdrContract: {
8489
8415
  createdAt?: string | undefined;
8490
8416
  updatedAt?: string | undefined;
8491
8417
  } | null | undefined;
8492
- callTo?: {
8418
+ callFrom?: {
8493
8419
  id: string;
8494
8420
  user: {
8495
8421
  name: string;
@@ -8519,63 +8445,6 @@ export declare const telephonyCdrContract: {
8519
8445
  isQueueMissedCall: boolean;
8520
8446
  telephonyQueueId: string | null;
8521
8447
  contactId: string | null;
8522
- extension?: {
8523
- id: string;
8524
- createdAt: Date;
8525
- updatedAt: Date;
8526
- deletedAt: Date | null;
8527
- userId: string | null;
8528
- sipServerUrl: string;
8529
- sipUserName: string;
8530
- webphoneLoginUser: string;
8531
- extensionId: string | null;
8532
- extensionName: string;
8533
- telephonySignature: string | null;
8534
- user?: {
8535
- name: string;
8536
- id: string;
8537
- address: string | null;
8538
- email: string;
8539
- createdAt: Date;
8540
- updatedAt: Date;
8541
- deletedAt: Date | null;
8542
- emailVerifiedAt: Date | null;
8543
- password: string;
8544
- phone: string | null;
8545
- notificationCount: number | null;
8546
- roles: {
8547
- id: string;
8548
- description: string | null;
8549
- createdAt: Date;
8550
- updatedAt: Date;
8551
- deletedAt: Date | null;
8552
- systemName: string;
8553
- displayName: string;
8554
- permissions: {
8555
- id: string;
8556
- description: string | null;
8557
- createdAt: Date;
8558
- updatedAt: Date;
8559
- deletedAt: Date | null;
8560
- systemName: string;
8561
- displayName: string;
8562
- }[];
8563
- }[];
8564
- extension: {
8565
- id: string;
8566
- createdAt: Date;
8567
- updatedAt: Date;
8568
- deletedAt: Date | null;
8569
- userId: string | null;
8570
- sipServerUrl: string;
8571
- sipUserName: string;
8572
- webphoneLoginUser: string;
8573
- extensionId: string | null;
8574
- extensionName: string;
8575
- telephonySignature: string | null;
8576
- };
8577
- } | null | undefined;
8578
- } | null | undefined;
8579
8448
  contact?: {
8580
8449
  name: string;
8581
8450
  id: string;
@@ -8710,6 +8579,63 @@ export declare const telephonyCdrContract: {
8710
8579
  fileSize: number;
8711
8580
  fileUrl: string | null;
8712
8581
  } | null | undefined;
8582
+ extension?: {
8583
+ id: string;
8584
+ createdAt: Date;
8585
+ updatedAt: Date;
8586
+ deletedAt: Date | null;
8587
+ userId: string | null;
8588
+ sipServerUrl: string;
8589
+ sipUserName: string;
8590
+ webphoneLoginUser: string;
8591
+ extensionId: string | null;
8592
+ extensionName: string;
8593
+ telephonySignature: string | null;
8594
+ user?: {
8595
+ name: string;
8596
+ id: string;
8597
+ address: string | null;
8598
+ email: string;
8599
+ createdAt: Date;
8600
+ updatedAt: Date;
8601
+ deletedAt: Date | null;
8602
+ emailVerifiedAt: Date | null;
8603
+ password: string;
8604
+ phone: string | null;
8605
+ notificationCount: number | null;
8606
+ roles: {
8607
+ id: string;
8608
+ description: string | null;
8609
+ createdAt: Date;
8610
+ updatedAt: Date;
8611
+ deletedAt: Date | null;
8612
+ systemName: string;
8613
+ displayName: string;
8614
+ permissions: {
8615
+ id: string;
8616
+ description: string | null;
8617
+ createdAt: Date;
8618
+ updatedAt: Date;
8619
+ deletedAt: Date | null;
8620
+ systemName: string;
8621
+ displayName: string;
8622
+ }[];
8623
+ }[];
8624
+ extension: {
8625
+ id: string;
8626
+ createdAt: Date;
8627
+ updatedAt: Date;
8628
+ deletedAt: Date | null;
8629
+ userId: string | null;
8630
+ sipServerUrl: string;
8631
+ sipUserName: string;
8632
+ webphoneLoginUser: string;
8633
+ extensionId: string | null;
8634
+ extensionName: string;
8635
+ telephonySignature: string | null;
8636
+ };
8637
+ } | null | undefined;
8638
+ } | null | undefined;
8713
8639
  }[];
8714
8640
  }>;
8715
8641
  401: z.ZodObject<{
@@ -8723,35 +8649,46 @@ export declare const telephonyCdrContract: {
8723
8649
  error?: any;
8724
8650
  }>;
8725
8651
  };
8652
+ path: "ms/telephony-cdr/recent-calls";
8653
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
8654
+ 'x-tenant': z.ZodString;
8655
+ 'x-service-token': z.ZodString;
8656
+ 'x-code': z.ZodOptional<z.ZodString>;
8657
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
8658
+ }, "strip", z.ZodTypeAny, {
8659
+ 'x-tenant': string;
8660
+ 'x-service-token': string;
8661
+ 'x-client-timezone': string;
8662
+ 'x-code'?: string | undefined;
8663
+ }, {
8664
+ 'x-tenant': string;
8665
+ 'x-service-token': string;
8666
+ 'x-code'?: string | undefined;
8667
+ 'x-client-timezone'?: string | undefined;
8668
+ }>>>;
8726
8669
  };
8727
8670
  export: {
8728
8671
  summary: "Get recent telephony cdr.";
8729
8672
  method: "GET";
8730
- query: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
8731
- page: z.ZodDefault<z.ZodNumber>;
8732
- pageSize: z.ZodDefault<z.ZodNumber>;
8733
- }, {
8734
- selectedDate: z.ZodOptional<z.ZodString>;
8673
+ query: z.ZodObject<{
8735
8674
  type: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8736
8675
  status: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8676
+ userId: z.ZodOptional<z.ZodString>;
8737
8677
  callFrom: z.ZodOptional<z.ZodString>;
8738
8678
  callTo: z.ZodOptional<z.ZodString>;
8679
+ contactId: z.ZodOptional<z.ZodString>;
8680
+ selectedDate: z.ZodOptional<z.ZodString>;
8681
+ agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8739
8682
  trunk: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8740
- userId: z.ZodOptional<z.ZodString>;
8741
8683
  queueStatus: z.ZodOptional<z.ZodString>;
8742
- agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8743
8684
  agentCallsOnly: z.ZodOptional<z.ZodBoolean>;
8744
- contactId: z.ZodOptional<z.ZodString>;
8745
- }>, {
8746
8685
  page: z.ZodOptional<z.ZodNumber>;
8747
8686
  pageSize: z.ZodOptional<z.ZodNumber>;
8748
8687
  module: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"cdrs">, z.ZodLiteral<"call-logs">]>>>;
8749
- }>, "strip", z.ZodTypeAny, {
8688
+ }, "strip", z.ZodTypeAny, {
8750
8689
  module: "cdrs" | "call-logs";
8751
8690
  type?: string[] | undefined;
8752
- page?: number | undefined;
8753
8691
  status?: string[] | undefined;
8754
- pageSize?: number | undefined;
8755
8692
  userId?: string | undefined;
8756
8693
  callFrom?: string | undefined;
8757
8694
  callTo?: string | undefined;
@@ -8761,39 +8698,24 @@ export declare const telephonyCdrContract: {
8761
8698
  trunk?: string[] | undefined;
8762
8699
  queueStatus?: string | undefined;
8763
8700
  agentCallsOnly?: boolean | undefined;
8701
+ page?: number | undefined;
8702
+ pageSize?: number | undefined;
8764
8703
  }, {
8765
8704
  type?: string[] | undefined;
8766
- module?: "cdrs" | "call-logs" | undefined;
8767
- page?: number | undefined;
8768
8705
  status?: string[] | undefined;
8769
- pageSize?: number | undefined;
8770
8706
  userId?: string | undefined;
8771
8707
  callFrom?: string | undefined;
8772
- callTo?: string | undefined;
8773
- contactId?: string | undefined;
8774
- selectedDate?: string | undefined;
8775
- agentIds?: string[] | undefined;
8776
- trunk?: string[] | undefined;
8777
- queueStatus?: string | undefined;
8778
- agentCallsOnly?: boolean | undefined;
8779
- }>;
8780
- path: "ms/telephony-cdr/export";
8781
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
8782
- 'x-tenant': z.ZodString;
8783
- 'x-service-token': z.ZodString;
8784
- 'x-code': z.ZodOptional<z.ZodString>;
8785
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
8786
- }, "strip", z.ZodTypeAny, {
8787
- 'x-tenant': string;
8788
- 'x-service-token': string;
8789
- 'x-client-timezone': string;
8790
- 'x-code'?: string | undefined;
8791
- }, {
8792
- 'x-tenant': string;
8793
- 'x-service-token': string;
8794
- 'x-code'?: string | undefined;
8795
- 'x-client-timezone'?: string | undefined;
8796
- }>>>;
8708
+ callTo?: string | undefined;
8709
+ contactId?: string | undefined;
8710
+ selectedDate?: string | undefined;
8711
+ agentIds?: string[] | undefined;
8712
+ trunk?: string[] | undefined;
8713
+ queueStatus?: string | undefined;
8714
+ agentCallsOnly?: boolean | undefined;
8715
+ page?: number | undefined;
8716
+ pageSize?: number | undefined;
8717
+ module?: "cdrs" | "call-logs" | undefined;
8718
+ }>;
8797
8719
  responses: {
8798
8720
  200: null;
8799
8721
  401: z.ZodObject<{
@@ -8817,12 +8739,28 @@ export declare const telephonyCdrContract: {
8817
8739
  error?: any;
8818
8740
  }>;
8819
8741
  };
8742
+ path: "ms/telephony-cdr/export";
8743
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
8744
+ 'x-tenant': z.ZodString;
8745
+ 'x-service-token': z.ZodString;
8746
+ 'x-code': z.ZodOptional<z.ZodString>;
8747
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
8748
+ }, "strip", z.ZodTypeAny, {
8749
+ 'x-tenant': string;
8750
+ 'x-service-token': string;
8751
+ 'x-client-timezone': string;
8752
+ 'x-code'?: string | undefined;
8753
+ }, {
8754
+ 'x-tenant': string;
8755
+ 'x-service-token': string;
8756
+ 'x-code'?: string | undefined;
8757
+ 'x-client-timezone'?: string | undefined;
8758
+ }>>>;
8820
8759
  };
8821
8760
  yeastarCallReport: {
8822
- body: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
8761
+ body: z.ZodEffects<z.ZodObject<{
8823
8762
  page: z.ZodDefault<z.ZodNumber>;
8824
8763
  pageSize: z.ZodDefault<z.ZodNumber>;
8825
- }, {
8826
8764
  reportType: z.ZodEnum<["extcallstatistics", "extcallactivity", "trunkactivity", "queuesatisfaction", "queueavgwaittalktime", "queueperformance", "queueagentmisscalls", "queueagentinoutcalls"]>;
8827
8765
  selectedDate: z.ZodOptional<z.ZodString>;
8828
8766
  communicationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"Inbound">, z.ZodLiteral<"Outbound">, z.ZodLiteral<"Internal">]>>;
@@ -8831,53 +8769,66 @@ export declare const telephonyCdrContract: {
8831
8769
  queueId: z.ZodOptional<z.ZodString>;
8832
8770
  trunkList: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8833
8771
  extensionList: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8834
- }>, "strip", z.ZodTypeAny, {
8772
+ }, "strip", z.ZodTypeAny, {
8835
8773
  page: number;
8836
8774
  pageSize: number;
8837
8775
  reportType: "extcallstatistics" | "extcallactivity" | "trunkactivity" | "queuesatisfaction" | "queueavgwaittalktime" | "queueperformance" | "queueagentmisscalls" | "queueagentinoutcalls";
8838
- time?: string | undefined;
8839
- queueId?: string | undefined;
8840
8776
  selectedDate?: string | undefined;
8841
8777
  communicationType?: "Inbound" | "Outbound" | "Internal" | undefined;
8778
+ time?: string | undefined;
8842
8779
  queueList?: string[] | undefined;
8780
+ queueId?: string | undefined;
8843
8781
  trunkList?: string[] | undefined;
8844
8782
  extensionList?: string[] | undefined;
8845
8783
  }, {
8846
8784
  reportType: "extcallstatistics" | "extcallactivity" | "trunkactivity" | "queuesatisfaction" | "queueavgwaittalktime" | "queueperformance" | "queueagentmisscalls" | "queueagentinoutcalls";
8847
- time?: string | undefined;
8848
8785
  page?: number | undefined;
8849
8786
  pageSize?: number | undefined;
8850
- queueId?: string | undefined;
8851
8787
  selectedDate?: string | undefined;
8852
8788
  communicationType?: "Inbound" | "Outbound" | "Internal" | undefined;
8789
+ time?: string | undefined;
8853
8790
  queueList?: string[] | undefined;
8791
+ queueId?: string | undefined;
8854
8792
  trunkList?: string[] | undefined;
8855
8793
  extensionList?: string[] | undefined;
8856
8794
  }>, {
8857
8795
  page: number;
8858
8796
  pageSize: number;
8859
8797
  reportType: "extcallstatistics" | "extcallactivity" | "trunkactivity" | "queuesatisfaction" | "queueavgwaittalktime" | "queueperformance" | "queueagentmisscalls" | "queueagentinoutcalls";
8860
- time?: string | undefined;
8861
- queueId?: string | undefined;
8862
8798
  selectedDate?: string | undefined;
8863
8799
  communicationType?: "Inbound" | "Outbound" | "Internal" | undefined;
8800
+ time?: string | undefined;
8864
8801
  queueList?: string[] | undefined;
8802
+ queueId?: string | undefined;
8865
8803
  trunkList?: string[] | undefined;
8866
8804
  extensionList?: string[] | undefined;
8867
8805
  }, {
8868
8806
  reportType: "extcallstatistics" | "extcallactivity" | "trunkactivity" | "queuesatisfaction" | "queueavgwaittalktime" | "queueperformance" | "queueagentmisscalls" | "queueagentinoutcalls";
8869
- time?: string | undefined;
8870
8807
  page?: number | undefined;
8871
8808
  pageSize?: number | undefined;
8872
- queueId?: string | undefined;
8873
8809
  selectedDate?: string | undefined;
8874
8810
  communicationType?: "Inbound" | "Outbound" | "Internal" | undefined;
8811
+ time?: string | undefined;
8875
8812
  queueList?: string[] | undefined;
8813
+ queueId?: string | undefined;
8876
8814
  trunkList?: string[] | undefined;
8877
8815
  extensionList?: string[] | undefined;
8878
8816
  }>;
8879
8817
  summary: "Get yeastar call report.";
8880
8818
  method: "POST";
8819
+ responses: {
8820
+ 200: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
8821
+ 401: z.ZodObject<{
8822
+ message: z.ZodString;
8823
+ error: z.ZodAny;
8824
+ }, "strip", z.ZodTypeAny, {
8825
+ message: string;
8826
+ error?: any;
8827
+ }, {
8828
+ message: string;
8829
+ error?: any;
8830
+ }>;
8831
+ };
8881
8832
  path: "ms/telephony-cdr/yeastar_call_report";
8882
8833
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
8883
8834
  'x-tenant': z.ZodString;
@@ -8895,25 +8846,11 @@ export declare const telephonyCdrContract: {
8895
8846
  'x-code'?: string | undefined;
8896
8847
  'x-client-timezone'?: string | undefined;
8897
8848
  }>>>;
8898
- responses: {
8899
- 200: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
8900
- 401: z.ZodObject<{
8901
- message: z.ZodString;
8902
- error: z.ZodAny;
8903
- }, "strip", z.ZodTypeAny, {
8904
- message: string;
8905
- error?: any;
8906
- }, {
8907
- message: string;
8908
- error?: any;
8909
- }>;
8910
- };
8911
8849
  };
8912
8850
  yeastarCallReportExport: {
8913
- body: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
8851
+ body: z.ZodEffects<z.ZodObject<{
8914
8852
  page: z.ZodDefault<z.ZodNumber>;
8915
8853
  pageSize: z.ZodDefault<z.ZodNumber>;
8916
- }, {
8917
8854
  reportType: z.ZodEnum<["extcallstatistics", "extcallactivity", "trunkactivity", "queuesatisfaction", "queueavgwaittalktime", "queueperformance", "queueagentmisscalls", "queueagentinoutcalls"]>;
8918
8855
  selectedDate: z.ZodOptional<z.ZodString>;
8919
8856
  communicationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"Inbound">, z.ZodLiteral<"Outbound">, z.ZodLiteral<"Internal">]>>;
@@ -8922,70 +8859,53 @@ export declare const telephonyCdrContract: {
8922
8859
  queueId: z.ZodOptional<z.ZodString>;
8923
8860
  trunkList: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8924
8861
  extensionList: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8925
- }>, "strip", z.ZodTypeAny, {
8862
+ }, "strip", z.ZodTypeAny, {
8926
8863
  page: number;
8927
8864
  pageSize: number;
8928
8865
  reportType: "extcallstatistics" | "extcallactivity" | "trunkactivity" | "queuesatisfaction" | "queueavgwaittalktime" | "queueperformance" | "queueagentmisscalls" | "queueagentinoutcalls";
8929
- time?: string | undefined;
8930
- queueId?: string | undefined;
8931
8866
  selectedDate?: string | undefined;
8932
8867
  communicationType?: "Inbound" | "Outbound" | "Internal" | undefined;
8868
+ time?: string | undefined;
8933
8869
  queueList?: string[] | undefined;
8870
+ queueId?: string | undefined;
8934
8871
  trunkList?: string[] | undefined;
8935
8872
  extensionList?: string[] | undefined;
8936
8873
  }, {
8937
8874
  reportType: "extcallstatistics" | "extcallactivity" | "trunkactivity" | "queuesatisfaction" | "queueavgwaittalktime" | "queueperformance" | "queueagentmisscalls" | "queueagentinoutcalls";
8938
- time?: string | undefined;
8939
8875
  page?: number | undefined;
8940
8876
  pageSize?: number | undefined;
8941
- queueId?: string | undefined;
8942
8877
  selectedDate?: string | undefined;
8943
8878
  communicationType?: "Inbound" | "Outbound" | "Internal" | undefined;
8879
+ time?: string | undefined;
8944
8880
  queueList?: string[] | undefined;
8881
+ queueId?: string | undefined;
8945
8882
  trunkList?: string[] | undefined;
8946
8883
  extensionList?: string[] | undefined;
8947
8884
  }>, {
8948
8885
  page: number;
8949
8886
  pageSize: number;
8950
8887
  reportType: "extcallstatistics" | "extcallactivity" | "trunkactivity" | "queuesatisfaction" | "queueavgwaittalktime" | "queueperformance" | "queueagentmisscalls" | "queueagentinoutcalls";
8951
- time?: string | undefined;
8952
- queueId?: string | undefined;
8953
8888
  selectedDate?: string | undefined;
8954
8889
  communicationType?: "Inbound" | "Outbound" | "Internal" | undefined;
8890
+ time?: string | undefined;
8955
8891
  queueList?: string[] | undefined;
8892
+ queueId?: string | undefined;
8956
8893
  trunkList?: string[] | undefined;
8957
8894
  extensionList?: string[] | undefined;
8958
8895
  }, {
8959
8896
  reportType: "extcallstatistics" | "extcallactivity" | "trunkactivity" | "queuesatisfaction" | "queueavgwaittalktime" | "queueperformance" | "queueagentmisscalls" | "queueagentinoutcalls";
8960
- time?: string | undefined;
8961
8897
  page?: number | undefined;
8962
8898
  pageSize?: number | undefined;
8963
- queueId?: string | undefined;
8964
8899
  selectedDate?: string | undefined;
8965
8900
  communicationType?: "Inbound" | "Outbound" | "Internal" | undefined;
8901
+ time?: string | undefined;
8966
8902
  queueList?: string[] | undefined;
8903
+ queueId?: string | undefined;
8967
8904
  trunkList?: string[] | undefined;
8968
8905
  extensionList?: string[] | undefined;
8969
8906
  }>;
8970
8907
  summary: "Export yeastar call report.";
8971
8908
  method: "POST";
8972
- path: "ms/telephony-cdr/yeastar_call_report/export";
8973
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
8974
- 'x-tenant': z.ZodString;
8975
- 'x-service-token': z.ZodString;
8976
- 'x-code': z.ZodOptional<z.ZodString>;
8977
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
8978
- }, "strip", z.ZodTypeAny, {
8979
- 'x-tenant': string;
8980
- 'x-service-token': string;
8981
- 'x-client-timezone': string;
8982
- 'x-code'?: string | undefined;
8983
- }, {
8984
- 'x-tenant': string;
8985
- 'x-service-token': string;
8986
- 'x-code'?: string | undefined;
8987
- 'x-client-timezone'?: string | undefined;
8988
- }>>>;
8989
8909
  responses: {
8990
8910
  200: null;
8991
8911
  401: z.ZodObject<{
@@ -8999,11 +8919,7 @@ export declare const telephonyCdrContract: {
8999
8919
  error?: any;
9000
8920
  }>;
9001
8921
  };
9002
- };
9003
- getTrunks: {
9004
- method: "GET";
9005
- query: null;
9006
- path: "ms/telephony-cdr/trunks";
8922
+ path: "ms/telephony-cdr/yeastar_call_report/export";
9007
8923
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
9008
8924
  'x-tenant': z.ZodString;
9009
8925
  'x-service-token': z.ZodString;
@@ -9020,19 +8936,21 @@ export declare const telephonyCdrContract: {
9020
8936
  'x-code'?: string | undefined;
9021
8937
  'x-client-timezone'?: string | undefined;
9022
8938
  }>>>;
8939
+ };
8940
+ getTrunks: {
8941
+ method: "GET";
8942
+ query: null;
9023
8943
  responses: {
9024
- 200: z.ZodObject<z.objectUtil.extendShape<{
8944
+ 200: z.ZodObject<{
9025
8945
  requestId: z.ZodString;
9026
- }, {
9027
- trunks: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
8946
+ trunks: z.ZodArray<z.ZodObject<{
9028
8947
  id: z.ZodString;
9029
8948
  createdAt: z.ZodDate;
9030
8949
  updatedAt: z.ZodDate;
9031
8950
  deletedAt: z.ZodNullable<z.ZodDate>;
9032
- }, {
9033
8951
  trunkId: z.ZodNullable<z.ZodString>;
9034
8952
  trunkName: z.ZodNullable<z.ZodString>;
9035
- }>, "strip", z.ZodTypeAny, {
8953
+ }, "strip", z.ZodTypeAny, {
9036
8954
  id: string;
9037
8955
  createdAt: Date;
9038
8956
  updatedAt: Date;
@@ -9047,7 +8965,7 @@ export declare const telephonyCdrContract: {
9047
8965
  trunkId: string | null;
9048
8966
  trunkName: string | null;
9049
8967
  }>, "many">;
9050
- }>, "strip", z.ZodTypeAny, {
8968
+ }, "strip", z.ZodTypeAny, {
9051
8969
  requestId: string;
9052
8970
  trunks: {
9053
8971
  id: string;
@@ -9079,11 +8997,7 @@ export declare const telephonyCdrContract: {
9079
8997
  error?: any;
9080
8998
  }>;
9081
8999
  };
9082
- };
9083
- getQueueList: {
9084
- method: "GET";
9085
- query: null;
9086
- path: "ms/telephony-cdr/queues";
9000
+ path: "ms/telephony-cdr/trunks";
9087
9001
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
9088
9002
  'x-tenant': z.ZodString;
9089
9003
  'x-service-token': z.ZodString;
@@ -9100,21 +9014,23 @@ export declare const telephonyCdrContract: {
9100
9014
  'x-code'?: string | undefined;
9101
9015
  'x-client-timezone'?: string | undefined;
9102
9016
  }>>>;
9017
+ };
9018
+ getQueueList: {
9019
+ method: "GET";
9020
+ query: null;
9103
9021
  responses: {
9104
- 200: z.ZodObject<z.objectUtil.extendShape<{
9022
+ 200: z.ZodObject<{
9105
9023
  requestId: z.ZodString;
9106
- }, {
9107
- queues: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
9024
+ queues: z.ZodArray<z.ZodObject<{
9108
9025
  id: z.ZodString;
9109
9026
  createdAt: z.ZodDate;
9110
9027
  updatedAt: z.ZodDate;
9111
9028
  deletedAt: z.ZodNullable<z.ZodDate>;
9112
- }, {
9113
9029
  queueId: z.ZodNumber;
9114
9030
  queueName: z.ZodString;
9115
9031
  queueNumber: z.ZodString;
9116
9032
  maximumWaitingTime: z.ZodNumber;
9117
- }>, "strip", z.ZodTypeAny, {
9033
+ }, "strip", z.ZodTypeAny, {
9118
9034
  id: string;
9119
9035
  createdAt: Date;
9120
9036
  updatedAt: Date;
@@ -9133,7 +9049,7 @@ export declare const telephonyCdrContract: {
9133
9049
  queueNumber: string;
9134
9050
  maximumWaitingTime: number;
9135
9051
  }>, "many">;
9136
- }>, "strip", z.ZodTypeAny, {
9052
+ }, "strip", z.ZodTypeAny, {
9137
9053
  requestId: string;
9138
9054
  queues: {
9139
9055
  id: string;
@@ -9169,11 +9085,7 @@ export declare const telephonyCdrContract: {
9169
9085
  error?: any;
9170
9086
  }>;
9171
9087
  };
9172
- };
9173
- getExtensionList: {
9174
- method: "GET";
9175
- query: null;
9176
- path: "ms/telephony-cdr/extensions";
9088
+ path: "ms/telephony-cdr/queues";
9177
9089
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
9178
9090
  'x-tenant': z.ZodString;
9179
9091
  'x-service-token': z.ZodString;
@@ -9190,29 +9102,30 @@ export declare const telephonyCdrContract: {
9190
9102
  'x-code'?: string | undefined;
9191
9103
  'x-client-timezone'?: string | undefined;
9192
9104
  }>>>;
9105
+ };
9106
+ getExtensionList: {
9107
+ method: "GET";
9108
+ query: null;
9193
9109
  responses: {
9194
- 200: z.ZodObject<z.objectUtil.extendShape<{
9110
+ 200: z.ZodObject<{
9195
9111
  requestId: z.ZodString;
9196
- }, {
9197
- extensions: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
9112
+ extensions: z.ZodArray<z.ZodObject<{
9198
9113
  id: z.ZodString;
9199
9114
  createdAt: z.ZodDate;
9200
9115
  updatedAt: z.ZodDate;
9201
9116
  deletedAt: z.ZodNullable<z.ZodDate>;
9202
- }, {
9203
- user: z.ZodNullable<z.ZodOptional<z.ZodObject<Omit<z.objectUtil.extendShape<{
9117
+ user: z.ZodNullable<z.ZodOptional<z.ZodObject<Omit<{
9118
+ name: z.ZodString;
9204
9119
  id: z.ZodString;
9120
+ address: z.ZodNullable<z.ZodString>;
9121
+ email: z.ZodString;
9205
9122
  createdAt: z.ZodDate;
9206
9123
  updatedAt: z.ZodDate;
9207
9124
  deletedAt: z.ZodNullable<z.ZodDate>;
9208
- name: z.ZodString;
9209
- email: z.ZodString;
9210
9125
  emailVerifiedAt: z.ZodNullable<z.ZodDate>;
9211
9126
  password: z.ZodString;
9212
- address: z.ZodNullable<z.ZodString>;
9213
9127
  phone: z.ZodNullable<z.ZodString>;
9214
9128
  notificationCount: z.ZodNullable<z.ZodNumber>;
9215
- }, {
9216
9129
  roles: z.ZodArray<z.ZodObject<{
9217
9130
  id: z.ZodString;
9218
9131
  createdAt: z.ZodDate;
@@ -9318,7 +9231,7 @@ export declare const telephonyCdrContract: {
9318
9231
  extensionName: string;
9319
9232
  telephonySignature: string | null;
9320
9233
  }>;
9321
- }>, "extension">, "strip", z.ZodTypeAny, {
9234
+ }, "extension">, "strip", z.ZodTypeAny, {
9322
9235
  name: string;
9323
9236
  id: string;
9324
9237
  address: string | null;
@@ -9386,7 +9299,7 @@ export declare const telephonyCdrContract: {
9386
9299
  userId: z.ZodNullable<z.ZodString>;
9387
9300
  extensionId: z.ZodNullable<z.ZodString>;
9388
9301
  extensionName: z.ZodNullable<z.ZodString>;
9389
- }>, "strip", z.ZodTypeAny, {
9302
+ }, "strip", z.ZodTypeAny, {
9390
9303
  id: string;
9391
9304
  createdAt: Date;
9392
9305
  updatedAt: Date;
@@ -9473,7 +9386,7 @@ export declare const telephonyCdrContract: {
9473
9386
  }[];
9474
9387
  } | null | undefined;
9475
9388
  }>, "many">;
9476
- }>, "strip", z.ZodTypeAny, {
9389
+ }, "strip", z.ZodTypeAny, {
9477
9390
  requestId: string;
9478
9391
  extensions: {
9479
9392
  id: string;
@@ -9577,11 +9490,7 @@ export declare const telephonyCdrContract: {
9577
9490
  error?: any;
9578
9491
  }>;
9579
9492
  };
9580
- };
9581
- getDropdownList: {
9582
- method: "GET";
9583
- query: null;
9584
- path: "ms/telephony-cdr/dropdown";
9493
+ path: "ms/telephony-cdr/extensions";
9585
9494
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
9586
9495
  'x-tenant': z.ZodString;
9587
9496
  'x-service-token': z.ZodString;
@@ -9598,10 +9507,13 @@ export declare const telephonyCdrContract: {
9598
9507
  'x-code'?: string | undefined;
9599
9508
  'x-client-timezone'?: string | undefined;
9600
9509
  }>>>;
9510
+ };
9511
+ getDropdownList: {
9512
+ method: "GET";
9513
+ query: null;
9601
9514
  responses: {
9602
- 200: z.ZodObject<z.objectUtil.extendShape<{
9515
+ 200: z.ZodObject<{
9603
9516
  requestId: z.ZodString;
9604
- }, {
9605
9517
  trunks: z.ZodArray<z.ZodObject<{
9606
9518
  id: z.ZodString;
9607
9519
  trunkName: z.ZodString;
@@ -9614,7 +9526,7 @@ export declare const telephonyCdrContract: {
9614
9526
  }>, "many">;
9615
9527
  status: z.ZodArray<z.ZodEnum<["ANSWERED", "NO ANSWER", "BUSY", "FAILED"]>, "many">;
9616
9528
  type: z.ZodArray<z.ZodEnum<["Inbound", "Outbound", "Internal"]>, "many">;
9617
- }>, "strip", z.ZodTypeAny, {
9529
+ }, "strip", z.ZodTypeAny, {
9618
9530
  type: ("Inbound" | "Outbound" | "Internal")[];
9619
9531
  status: ("ANSWERED" | "NO ANSWER" | "BUSY" | "FAILED")[];
9620
9532
  requestId: string;
@@ -9642,10 +9554,7 @@ export declare const telephonyCdrContract: {
9642
9554
  error?: any;
9643
9555
  }>;
9644
9556
  };
9645
- };
9646
- getCallRedirectSetting: {
9647
- method: "GET";
9648
- path: "ms/telephony-cdr/call-redirect-setting";
9557
+ path: "ms/telephony-cdr/dropdown";
9649
9558
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
9650
9559
  'x-tenant': z.ZodString;
9651
9560
  'x-service-token': z.ZodString;
@@ -9662,12 +9571,14 @@ export declare const telephonyCdrContract: {
9662
9571
  'x-code'?: string | undefined;
9663
9572
  'x-client-timezone'?: string | undefined;
9664
9573
  }>>>;
9574
+ };
9575
+ getCallRedirectSetting: {
9576
+ method: "GET";
9665
9577
  responses: {
9666
- 200: z.ZodObject<z.objectUtil.extendShape<{
9578
+ 200: z.ZodObject<{
9667
9579
  requestId: z.ZodString;
9668
- }, {
9669
9580
  callRedirectTo: z.ZodString;
9670
- }>, "strip", z.ZodTypeAny, {
9581
+ }, "strip", z.ZodTypeAny, {
9671
9582
  requestId: string;
9672
9583
  callRedirectTo: string;
9673
9584
  }, {
@@ -9702,16 +9613,6 @@ export declare const telephonyCdrContract: {
9702
9613
  error?: any;
9703
9614
  }>;
9704
9615
  };
9705
- };
9706
- updateCallRedirectSetting: {
9707
- body: z.ZodObject<{
9708
- callRedirectTo: z.ZodString;
9709
- }, "strip", z.ZodTypeAny, {
9710
- callRedirectTo: string;
9711
- }, {
9712
- callRedirectTo: string;
9713
- }>;
9714
- method: "PATCH";
9715
9616
  path: "ms/telephony-cdr/call-redirect-setting";
9716
9617
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
9717
9618
  'x-tenant': z.ZodString;
@@ -9729,12 +9630,21 @@ export declare const telephonyCdrContract: {
9729
9630
  'x-code'?: string | undefined;
9730
9631
  'x-client-timezone'?: string | undefined;
9731
9632
  }>>>;
9633
+ };
9634
+ updateCallRedirectSetting: {
9635
+ body: z.ZodObject<{
9636
+ callRedirectTo: z.ZodString;
9637
+ }, "strip", z.ZodTypeAny, {
9638
+ callRedirectTo: string;
9639
+ }, {
9640
+ callRedirectTo: string;
9641
+ }>;
9642
+ method: "PATCH";
9732
9643
  responses: {
9733
- 200: z.ZodObject<z.objectUtil.extendShape<{
9644
+ 200: z.ZodObject<{
9734
9645
  requestId: z.ZodString;
9735
- }, {
9736
9646
  callRedirectTo: z.ZodString;
9737
- }>, "strip", z.ZodTypeAny, {
9647
+ }, "strip", z.ZodTypeAny, {
9738
9648
  requestId: string;
9739
9649
  callRedirectTo: string;
9740
9650
  }, {
@@ -9769,10 +9679,7 @@ export declare const telephonyCdrContract: {
9769
9679
  error?: any;
9770
9680
  }>;
9771
9681
  };
9772
- };
9773
- getCallSetting: {
9774
- method: "GET";
9775
- path: "ms/telephony-cdr/call-setting";
9682
+ path: "ms/telephony-cdr/call-redirect-setting";
9776
9683
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
9777
9684
  'x-tenant': z.ZodString;
9778
9685
  'x-service-token': z.ZodString;
@@ -9789,13 +9696,15 @@ export declare const telephonyCdrContract: {
9789
9696
  'x-code'?: string | undefined;
9790
9697
  'x-client-timezone'?: string | undefined;
9791
9698
  }>>>;
9699
+ };
9700
+ getCallSetting: {
9701
+ method: "GET";
9792
9702
  responses: {
9793
- 200: z.ZodObject<z.objectUtil.extendShape<{
9703
+ 200: z.ZodObject<{
9794
9704
  requestId: z.ZodString;
9795
- }, {
9796
9705
  callRedirectTo: z.ZodString;
9797
9706
  isMultiTabUsed: z.ZodString;
9798
- }>, "strip", z.ZodTypeAny, {
9707
+ }, "strip", z.ZodTypeAny, {
9799
9708
  requestId: string;
9800
9709
  callRedirectTo: string;
9801
9710
  isMultiTabUsed: string;
@@ -9832,19 +9741,6 @@ export declare const telephonyCdrContract: {
9832
9741
  error?: any;
9833
9742
  }>;
9834
9743
  };
9835
- };
9836
- updateCallSetting: {
9837
- body: z.ZodObject<{
9838
- callRedirectTo: z.ZodString;
9839
- isMultiTabUsed: z.ZodString;
9840
- }, "strip", z.ZodTypeAny, {
9841
- callRedirectTo: string;
9842
- isMultiTabUsed: string;
9843
- }, {
9844
- callRedirectTo: string;
9845
- isMultiTabUsed: string;
9846
- }>;
9847
- method: "PATCH";
9848
9744
  path: "ms/telephony-cdr/call-setting";
9849
9745
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
9850
9746
  'x-tenant': z.ZodString;
@@ -9862,13 +9758,25 @@ export declare const telephonyCdrContract: {
9862
9758
  'x-code'?: string | undefined;
9863
9759
  'x-client-timezone'?: string | undefined;
9864
9760
  }>>>;
9761
+ };
9762
+ updateCallSetting: {
9763
+ body: z.ZodObject<{
9764
+ callRedirectTo: z.ZodString;
9765
+ isMultiTabUsed: z.ZodString;
9766
+ }, "strip", z.ZodTypeAny, {
9767
+ callRedirectTo: string;
9768
+ isMultiTabUsed: string;
9769
+ }, {
9770
+ callRedirectTo: string;
9771
+ isMultiTabUsed: string;
9772
+ }>;
9773
+ method: "PATCH";
9865
9774
  responses: {
9866
- 200: z.ZodObject<z.objectUtil.extendShape<{
9775
+ 200: z.ZodObject<{
9867
9776
  requestId: z.ZodString;
9868
- }, {
9869
9777
  callRedirectTo: z.ZodString;
9870
9778
  isMultiTabUsed: z.ZodString;
9871
- }>, "strip", z.ZodTypeAny, {
9779
+ }, "strip", z.ZodTypeAny, {
9872
9780
  requestId: string;
9873
9781
  callRedirectTo: string;
9874
9782
  isMultiTabUsed: string;
@@ -9905,6 +9813,23 @@ export declare const telephonyCdrContract: {
9905
9813
  error?: any;
9906
9814
  }>;
9907
9815
  };
9816
+ path: "ms/telephony-cdr/call-setting";
9817
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
9818
+ 'x-tenant': z.ZodString;
9819
+ 'x-service-token': z.ZodString;
9820
+ 'x-code': z.ZodOptional<z.ZodString>;
9821
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
9822
+ }, "strip", z.ZodTypeAny, {
9823
+ 'x-tenant': string;
9824
+ 'x-service-token': string;
9825
+ 'x-client-timezone': string;
9826
+ 'x-code'?: string | undefined;
9827
+ }, {
9828
+ 'x-tenant': string;
9829
+ 'x-service-token': string;
9830
+ 'x-code'?: string | undefined;
9831
+ 'x-client-timezone'?: string | undefined;
9832
+ }>>>;
9908
9833
  };
9909
9834
  };
9910
9835
  //# sourceMappingURL=index.d.ts.map