@kl1/contracts 1.2.25-uat → 1.2.27-uat

Sign up to get free protection for your applications and to get access to all the features.
Files changed (231) hide show
  1. package/dist/api-contracts/src/activity-log/index.d.ts +17 -17
  2. package/dist/api-contracts/src/attribute/index.d.ts +164 -148
  3. package/dist/api-contracts/src/attribute/index.d.ts.map +1 -1
  4. package/dist/api-contracts/src/attribute/schema.d.ts +11 -8
  5. package/dist/api-contracts/src/attribute/schema.d.ts.map +1 -1
  6. package/dist/api-contracts/src/attribute-option/schema.d.ts +3 -2
  7. package/dist/api-contracts/src/attribute-option/schema.d.ts.map +1 -1
  8. package/dist/api-contracts/src/auth/index.d.ts +51 -47
  9. package/dist/api-contracts/src/auth/index.d.ts.map +1 -1
  10. package/dist/api-contracts/src/automation-queue/index.d.ts +43 -31
  11. package/dist/api-contracts/src/automation-queue/index.d.ts.map +1 -1
  12. package/dist/api-contracts/src/automation-queue/schema.d.ts +3 -2
  13. package/dist/api-contracts/src/automation-queue/schema.d.ts.map +1 -1
  14. package/dist/api-contracts/src/aws/index.d.ts +8 -6
  15. package/dist/api-contracts/src/aws/index.d.ts.map +1 -1
  16. package/dist/api-contracts/src/botpress/index.d.ts +17 -13
  17. package/dist/api-contracts/src/botpress/index.d.ts.map +1 -1
  18. package/dist/api-contracts/src/business-calendar/index.d.ts +40 -28
  19. package/dist/api-contracts/src/business-calendar/index.d.ts.map +1 -1
  20. package/dist/api-contracts/src/business-calendar/schema.d.ts +15 -10
  21. package/dist/api-contracts/src/business-calendar/schema.d.ts.map +1 -1
  22. package/dist/api-contracts/src/call-log/schema.d.ts +5 -4
  23. package/dist/api-contracts/src/call-log/schema.d.ts.map +1 -1
  24. package/dist/api-contracts/src/category/index.d.ts +118 -109
  25. package/dist/api-contracts/src/category/index.d.ts.map +1 -1
  26. package/dist/api-contracts/src/category/schema.d.ts +3 -2
  27. package/dist/api-contracts/src/category/schema.d.ts.map +1 -1
  28. package/dist/api-contracts/src/channel/index.d.ts +1064 -1039
  29. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  30. package/dist/api-contracts/src/channel/schema.d.ts +38 -38
  31. package/dist/api-contracts/src/channel/validation.d.ts +52 -52
  32. package/dist/api-contracts/src/chat/index.d.ts +14725 -14189
  33. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  34. package/dist/api-contracts/src/chat/schema.d.ts +2120 -1984
  35. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  36. package/dist/api-contracts/src/chat/validation.d.ts +3894 -3827
  37. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  38. package/dist/api-contracts/src/comment/index.d.ts +281 -224
  39. package/dist/api-contracts/src/comment/index.d.ts.map +1 -1
  40. package/dist/api-contracts/src/comment/schema.d.ts +68 -50
  41. package/dist/api-contracts/src/comment/schema.d.ts.map +1 -1
  42. package/dist/api-contracts/src/comment/validation.d.ts +1 -1
  43. package/dist/api-contracts/src/company/index.d.ts +136 -109
  44. package/dist/api-contracts/src/company/index.d.ts.map +1 -1
  45. package/dist/api-contracts/src/company/schema.d.ts +33 -24
  46. package/dist/api-contracts/src/company/schema.d.ts.map +1 -1
  47. package/dist/api-contracts/src/company/validation.d.ts +78 -62
  48. package/dist/api-contracts/src/company/validation.d.ts.map +1 -1
  49. package/dist/api-contracts/src/contact/index.d.ts +686 -568
  50. package/dist/api-contracts/src/contact/index.d.ts.map +1 -1
  51. package/dist/api-contracts/src/contact/schema.d.ts +56 -42
  52. package/dist/api-contracts/src/contact/schema.d.ts.map +1 -1
  53. package/dist/api-contracts/src/contact/validation.d.ts +299 -218
  54. package/dist/api-contracts/src/contact/validation.d.ts.map +1 -1
  55. package/dist/api-contracts/src/contact-email/schema.d.ts +3 -2
  56. package/dist/api-contracts/src/contact-email/schema.d.ts.map +1 -1
  57. package/dist/api-contracts/src/contact-phone/schema.d.ts +3 -2
  58. package/dist/api-contracts/src/contact-phone/schema.d.ts.map +1 -1
  59. package/dist/api-contracts/src/contract.d.ts +23919 -22617
  60. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  61. package/dist/api-contracts/src/custom-field/schema.d.ts +3 -2
  62. package/dist/api-contracts/src/custom-field/schema.d.ts.map +1 -1
  63. package/dist/api-contracts/src/custom-field/validation.d.ts +2 -2
  64. package/dist/api-contracts/src/custom-field-upload/schema.d.ts +3 -2
  65. package/dist/api-contracts/src/custom-field-upload/schema.d.ts.map +1 -1
  66. package/dist/api-contracts/src/cx-log/index.d.ts +684 -644
  67. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  68. package/dist/api-contracts/src/cx-log/schema.d.ts +448 -405
  69. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  70. package/dist/api-contracts/src/cx-log/validation.d.ts +39 -39
  71. package/dist/api-contracts/src/dashboard/index.d.ts +378 -337
  72. package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
  73. package/dist/api-contracts/src/dashboard/schema.d.ts +7 -6
  74. package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
  75. package/dist/api-contracts/src/dashboard/validation.d.ts +24 -18
  76. package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
  77. package/dist/api-contracts/src/evaluate-form/index.d.ts +4 -3
  78. package/dist/api-contracts/src/evaluate-form/index.d.ts.map +1 -1
  79. package/dist/api-contracts/src/evaluate-form/schema.d.ts +3 -2
  80. package/dist/api-contracts/src/evaluate-form/schema.d.ts.map +1 -1
  81. package/dist/api-contracts/src/export/index.d.ts +4 -3
  82. package/dist/api-contracts/src/export/index.d.ts.map +1 -1
  83. package/dist/api-contracts/src/extension/index.d.ts +118 -112
  84. package/dist/api-contracts/src/extension/index.d.ts.map +1 -1
  85. package/dist/api-contracts/src/facebook-feed/index.d.ts +1872 -1802
  86. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  87. package/dist/api-contracts/src/facebook-feed/schema.d.ts +73 -62
  88. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  89. package/dist/api-contracts/src/facebook-feed/validation.d.ts +96 -79
  90. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  91. package/dist/api-contracts/src/general-setting/index.d.ts +2 -2
  92. package/dist/api-contracts/src/group/schema.d.ts +3 -2
  93. package/dist/api-contracts/src/group/schema.d.ts.map +1 -1
  94. package/dist/api-contracts/src/hold-label/index.d.ts +37 -27
  95. package/dist/api-contracts/src/hold-label/index.d.ts.map +1 -1
  96. package/dist/api-contracts/src/hold-label/schema.d.ts +3 -2
  97. package/dist/api-contracts/src/hold-label/schema.d.ts.map +1 -1
  98. package/dist/api-contracts/src/index.d.ts +1 -0
  99. package/dist/api-contracts/src/index.d.ts.map +1 -1
  100. package/dist/api-contracts/src/instagram/index.d.ts +1366 -1316
  101. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  102. package/dist/api-contracts/src/instagram/validation.d.ts +6 -6
  103. package/dist/api-contracts/src/line/index.d.ts +1469 -1419
  104. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  105. package/dist/api-contracts/src/line/schema.d.ts +12 -11
  106. package/dist/api-contracts/src/line/schema.d.ts.map +1 -1
  107. package/dist/api-contracts/src/line/validation.d.ts +98 -98
  108. package/dist/api-contracts/src/log-form/schema.d.ts +3 -2
  109. package/dist/api-contracts/src/log-form/schema.d.ts.map +1 -1
  110. package/dist/api-contracts/src/mail/account-contract.d.ts +184 -174
  111. package/dist/api-contracts/src/mail/account-contract.d.ts.map +1 -1
  112. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts +4 -3
  113. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts.map +1 -1
  114. package/dist/api-contracts/src/mail/mail-contract.d.ts +461 -416
  115. package/dist/api-contracts/src/mail/mail-contract.d.ts.map +1 -1
  116. package/dist/api-contracts/src/mail/mail-server-contract.d.ts +24 -18
  117. package/dist/api-contracts/src/mail/mail-server-contract.d.ts.map +1 -1
  118. package/dist/api-contracts/src/mail/message-contract.d.ts +113 -107
  119. package/dist/api-contracts/src/mail/message-contract.d.ts.map +1 -1
  120. package/dist/api-contracts/src/mail/room-contract.d.ts +88 -65
  121. package/dist/api-contracts/src/mail/room-contract.d.ts.map +1 -1
  122. package/dist/api-contracts/src/mail/schemas/message-validation.schema.d.ts +16 -16
  123. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +22 -18
  124. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
  125. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +15 -10
  126. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts.map +1 -1
  127. package/dist/api-contracts/src/messenger/index.d.ts +1368 -1316
  128. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  129. package/dist/api-contracts/src/messenger/validation.d.ts +96 -79
  130. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  131. package/dist/api-contracts/src/notification/index.d.ts +16 -12
  132. package/dist/api-contracts/src/notification/index.d.ts.map +1 -1
  133. package/dist/api-contracts/src/permission/index.d.ts +17 -17
  134. package/dist/api-contracts/src/presence-status/index.d.ts +84 -81
  135. package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
  136. package/dist/api-contracts/src/public-api/index.d.ts +260 -196
  137. package/dist/api-contracts/src/public-api/index.d.ts.map +1 -1
  138. package/dist/api-contracts/src/public-api/schema.d.ts +48 -34
  139. package/dist/api-contracts/src/public-api/schema.d.ts.map +1 -1
  140. package/dist/api-contracts/src/public-api/validation.d.ts +113 -88
  141. package/dist/api-contracts/src/public-api/validation.d.ts.map +1 -1
  142. package/dist/api-contracts/src/role/index.d.ts +88 -83
  143. package/dist/api-contracts/src/role/index.d.ts.map +1 -1
  144. package/dist/api-contracts/src/sms/index.d.ts +209 -154
  145. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  146. package/dist/api-contracts/src/sms/schema.d.ts +22 -0
  147. package/dist/api-contracts/src/sms/schema.d.ts.map +1 -1
  148. package/dist/api-contracts/src/snippet/index.d.ts +76 -54
  149. package/dist/api-contracts/src/snippet/index.d.ts.map +1 -1
  150. package/dist/api-contracts/src/snippet/schema.d.ts +21 -14
  151. package/dist/api-contracts/src/snippet/schema.d.ts.map +1 -1
  152. package/dist/api-contracts/src/snippet/validation.d.ts +5 -4
  153. package/dist/api-contracts/src/snippet/validation.d.ts.map +1 -1
  154. package/dist/api-contracts/src/subscription/index.d.ts +71 -49
  155. package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
  156. package/dist/api-contracts/src/subscription/schema.d.ts +90 -60
  157. package/dist/api-contracts/src/subscription/schema.d.ts.map +1 -1
  158. package/dist/api-contracts/src/tag/index.d.ts +79 -72
  159. package/dist/api-contracts/src/tag/index.d.ts.map +1 -1
  160. package/dist/api-contracts/src/tag/schema.d.ts +3 -2
  161. package/dist/api-contracts/src/tag/schema.d.ts.map +1 -1
  162. package/dist/api-contracts/src/tag-group/schema.d.ts +3 -2
  163. package/dist/api-contracts/src/tag-group/schema.d.ts.map +1 -1
  164. package/dist/api-contracts/src/telegram/index.d.ts +1214 -1166
  165. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  166. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +58 -54
  167. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  168. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +3 -2
  169. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  170. package/dist/api-contracts/src/telephony-cdr/call-report.schema.d.ts +38 -38
  171. package/dist/api-contracts/src/telephony-cdr/index.d.ts +1214 -1149
  172. package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
  173. package/dist/api-contracts/src/telephony-cdr/schema.d.ts +186 -166
  174. package/dist/api-contracts/src/telephony-cdr/schema.d.ts.map +1 -1
  175. package/dist/api-contracts/src/telephony-cdr/validation.d.ts +52 -45
  176. package/dist/api-contracts/src/telephony-cdr/validation.d.ts.map +1 -1
  177. package/dist/api-contracts/src/telephony-extension/index.d.ts +21 -21
  178. package/dist/api-contracts/src/telephony-extension/schema.d.ts +4 -4
  179. package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts +3 -2
  180. package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts.map +1 -1
  181. package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts +3 -2
  182. package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts.map +1 -1
  183. package/dist/api-contracts/src/tenant/schema.d.ts +3 -2
  184. package/dist/api-contracts/src/tenant/schema.d.ts.map +1 -1
  185. package/dist/api-contracts/src/ticket/index.d.ts +722 -623
  186. package/dist/api-contracts/src/ticket/index.d.ts.map +1 -1
  187. package/dist/api-contracts/src/ticket/schema.d.ts +81 -58
  188. package/dist/api-contracts/src/ticket/schema.d.ts.map +1 -1
  189. package/dist/api-contracts/src/ticket/validation.d.ts +57 -55
  190. package/dist/api-contracts/src/ticket/validation.d.ts.map +1 -1
  191. package/dist/api-contracts/src/upload/index.d.ts +36 -34
  192. package/dist/api-contracts/src/upload/index.d.ts.map +1 -1
  193. package/dist/api-contracts/src/upload/schema.d.ts +3 -2
  194. package/dist/api-contracts/src/upload/schema.d.ts.map +1 -1
  195. package/dist/api-contracts/src/user/index.d.ts +114 -108
  196. package/dist/api-contracts/src/user/index.d.ts.map +1 -1
  197. package/dist/api-contracts/src/user/validation.d.ts +5 -4
  198. package/dist/api-contracts/src/user/validation.d.ts.map +1 -1
  199. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +32 -31
  200. package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
  201. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +3 -2
  202. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
  203. package/dist/api-contracts/src/viber/index.d.ts +1341 -1293
  204. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  205. package/dist/api-contracts/src/webchat/index.d.ts +2461 -2416
  206. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  207. package/dist/api-contracts/src/whatsapp/index.d.ts +2715 -2666
  208. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  209. package/dist/api-contracts/src/whatsapp/validation.d.ts +3 -2
  210. package/dist/api-contracts/src/whatsapp/validation.d.ts.map +1 -1
  211. package/dist/api-contracts/src/widget/index.d.ts +139 -128
  212. package/dist/api-contracts/src/widget/index.d.ts.map +1 -1
  213. package/dist/api-contracts/src/widget/schema.d.ts +3 -2
  214. package/dist/api-contracts/src/widget/schema.d.ts.map +1 -1
  215. package/dist/api-contracts/src/workflow-rule/index.d.ts +1500 -1465
  216. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  217. package/dist/api-contracts/src/workflow-rule/schema.d.ts +3 -2
  218. package/dist/api-contracts/src/workflow-rule/schema.d.ts.map +1 -1
  219. package/dist/api-contracts/src/wrap-up-form/index.d.ts +166 -147
  220. package/dist/api-contracts/src/wrap-up-form/index.d.ts.map +1 -1
  221. package/dist/api-contracts/src/wrap-up-form/schema.d.ts +9 -6
  222. package/dist/api-contracts/src/wrap-up-form/schema.d.ts.map +1 -1
  223. package/dist/api-contracts/src/wrap-up-form/validation.d.ts +21 -20
  224. package/dist/api-contracts/src/wrap-up-form/validation.d.ts.map +1 -1
  225. package/dist/api-contracts/utils.d.ts +4 -3
  226. package/dist/api-contracts/utils.d.ts.map +1 -1
  227. package/dist/index.js +4246 -4208
  228. package/dist/index.js.map +1 -1
  229. package/dist/index.mjs +4243 -4206
  230. package/dist/index.mjs.map +1 -1
  231. package/package.json +1 -1
@@ -30,9 +30,10 @@ export declare const telephonyCdrContract: {
30
30
  findAll: {
31
31
  summary: "Get all telephony cdr.";
32
32
  method: "GET";
33
- query: z.ZodObject<{
33
+ query: z.ZodObject<z.objectUtil.extendShape<{
34
34
  page: z.ZodDefault<z.ZodNumber>;
35
35
  pageSize: z.ZodDefault<z.ZodNumber>;
36
+ }, {
36
37
  selectedDate: z.ZodOptional<z.ZodString>;
37
38
  type: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
38
39
  status: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -44,46 +45,65 @@ export declare const telephonyCdrContract: {
44
45
  agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
45
46
  agentCallsOnly: z.ZodOptional<z.ZodBoolean>;
46
47
  contactId: z.ZodOptional<z.ZodString>;
47
- }, "strip", z.ZodTypeAny, {
48
+ }>, "strip", z.ZodTypeAny, {
48
49
  page: number;
49
50
  pageSize: number;
50
- selectedDate?: string | undefined;
51
51
  type?: string[] | undefined;
52
52
  status?: string[] | undefined;
53
+ userId?: string | undefined;
53
54
  callFrom?: string | undefined;
54
55
  callTo?: string | undefined;
56
+ contactId?: string | undefined;
57
+ selectedDate?: string | undefined;
58
+ agentIds?: string[] | undefined;
55
59
  trunk?: string[] | undefined;
56
- userId?: string | undefined;
57
60
  queueStatus?: string | undefined;
58
- agentIds?: string[] | undefined;
59
61
  agentCallsOnly?: boolean | undefined;
60
- contactId?: string | undefined;
61
62
  }, {
62
- page?: number | undefined;
63
- pageSize?: number | undefined;
64
- selectedDate?: string | undefined;
65
63
  type?: string[] | undefined;
64
+ page?: number | undefined;
66
65
  status?: string[] | undefined;
66
+ pageSize?: number | undefined;
67
+ userId?: string | undefined;
67
68
  callFrom?: string | undefined;
68
69
  callTo?: string | undefined;
70
+ contactId?: string | undefined;
71
+ selectedDate?: string | undefined;
72
+ agentIds?: string[] | undefined;
69
73
  trunk?: string[] | undefined;
70
- userId?: string | undefined;
71
74
  queueStatus?: string | undefined;
72
- agentIds?: string[] | undefined;
73
75
  agentCallsOnly?: boolean | undefined;
74
- contactId?: string | undefined;
75
76
  }>;
77
+ path: "telephony-cdr/";
78
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
79
+ 'x-tenant': z.ZodString;
80
+ authorization: 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
+ authorization: string;
86
+ 'x-client-timezone': string;
87
+ 'x-code'?: string | undefined;
88
+ }, {
89
+ 'x-tenant': string;
90
+ authorization: string;
91
+ 'x-code'?: string | undefined;
92
+ 'x-client-timezone'?: string | undefined;
93
+ }>>>;
76
94
  responses: {
77
- 200: z.ZodObject<{
95
+ 200: z.ZodObject<z.objectUtil.extendShape<{
78
96
  requestId: z.ZodString;
97
+ }, {
79
98
  total: z.ZodNumber;
80
99
  page: z.ZodNumber;
81
100
  pageSize: z.ZodNumber;
82
- telephonyCdrs: z.ZodArray<z.ZodObject<{
101
+ telephonyCdrs: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
83
102
  id: z.ZodString;
84
103
  createdAt: z.ZodDate;
85
104
  updatedAt: z.ZodDate;
86
105
  deletedAt: z.ZodNullable<z.ZodDate>;
106
+ }, {
87
107
  uniqueCallId: z.ZodString;
88
108
  timeStart: z.ZodString;
89
109
  callFrom: z.ZodString;
@@ -103,13 +123,14 @@ export declare const telephonyCdrContract: {
103
123
  notes: z.ZodNullable<z.ZodString>;
104
124
  contactProfile: z.ZodNullable<z.ZodString>;
105
125
  socialProfileUrl: z.ZodNullable<z.ZodString>;
106
- tags: z.ZodArray<z.ZodObject<{
126
+ tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
107
127
  id: z.ZodString;
108
128
  createdAt: z.ZodDate;
109
129
  updatedAt: z.ZodDate;
110
130
  deletedAt: z.ZodNullable<z.ZodDate>;
131
+ }, {
111
132
  name: z.ZodString;
112
- }, "strip", z.ZodTypeAny, {
133
+ }>, "strip", z.ZodTypeAny, {
113
134
  name: string;
114
135
  id: string;
115
136
  createdAt: Date;
@@ -122,29 +143,32 @@ export declare const telephonyCdrContract: {
122
143
  updatedAt: Date;
123
144
  deletedAt: Date | null;
124
145
  }>, "many">;
125
- company: z.ZodNullable<z.ZodObject<Omit<{
146
+ company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
126
147
  id: z.ZodString;
127
148
  createdAt: z.ZodDate;
128
149
  updatedAt: z.ZodDate;
129
150
  deletedAt: z.ZodNullable<z.ZodDate>;
151
+ }, {
130
152
  name: z.ZodOptional<z.ZodString>;
131
153
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
132
154
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
133
155
  industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
134
- customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
156
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
135
157
  id: z.ZodString;
136
158
  createdAt: z.ZodDate;
137
159
  updatedAt: z.ZodDate;
138
160
  deletedAt: z.ZodNullable<z.ZodDate>;
161
+ }, {
139
162
  textValue: z.ZodNullable<z.ZodString>;
140
163
  booleanValue: z.ZodNullable<z.ZodBoolean>;
141
164
  numberValue: z.ZodNullable<z.ZodNumber>;
142
165
  dateValue: z.ZodNullable<z.ZodDate>;
143
- attribute: z.ZodObject<Omit<{
166
+ attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
144
167
  id: z.ZodString;
145
168
  createdAt: z.ZodDate;
146
169
  updatedAt: z.ZodDate;
147
170
  deletedAt: z.ZodNullable<z.ZodDate>;
171
+ }, {
148
172
  systemName: z.ZodString;
149
173
  displayName: z.ZodString;
150
174
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -153,13 +177,14 @@ export declare const telephonyCdrContract: {
153
177
  isArchived: z.ZodBoolean;
154
178
  isRequired: z.ZodBoolean;
155
179
  isUnique: z.ZodBoolean;
156
- options: z.ZodArray<z.ZodObject<{
157
- position: z.ZodNumber;
158
- value: z.ZodString;
180
+ options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
159
181
  label: z.ZodString;
182
+ value: z.ZodString;
160
183
  isDefault: z.ZodBoolean;
184
+ position: z.ZodNumber;
185
+ }, {
161
186
  id: z.ZodString;
162
- }, "strip", z.ZodTypeAny, {
187
+ }>, "strip", z.ZodTypeAny, {
163
188
  id: string;
164
189
  position: number;
165
190
  value: string;
@@ -172,14 +197,15 @@ export declare const telephonyCdrContract: {
172
197
  label: string;
173
198
  isDefault: boolean;
174
199
  }>, "many">;
175
- group: z.ZodObject<{
200
+ group: z.ZodObject<z.objectUtil.extendShape<{
176
201
  id: z.ZodString;
177
202
  createdAt: z.ZodDate;
178
203
  updatedAt: z.ZodDate;
179
204
  deletedAt: z.ZodNullable<z.ZodDate>;
205
+ }, {
180
206
  systemName: z.ZodString;
181
207
  displayName: z.ZodString;
182
- }, "strip", z.ZodTypeAny, {
208
+ }>, "strip", z.ZodTypeAny, {
183
209
  id: string;
184
210
  createdAt: Date;
185
211
  updatedAt: Date;
@@ -194,7 +220,7 @@ export declare const telephonyCdrContract: {
194
220
  systemName: string;
195
221
  displayName: string;
196
222
  }>;
197
- }, "options" | "group">, "strip", z.ZodTypeAny, {
223
+ }>, "options" | "group">, "strip", z.ZodTypeAny, {
198
224
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
199
225
  id: string;
200
226
  position: number;
@@ -221,7 +247,7 @@ export declare const telephonyCdrContract: {
221
247
  isRequired: boolean;
222
248
  isUnique: boolean;
223
249
  }>;
224
- }, "strip", z.ZodTypeAny, {
250
+ }>, "strip", z.ZodTypeAny, {
225
251
  id: string;
226
252
  createdAt: Date;
227
253
  updatedAt: Date;
@@ -268,7 +294,7 @@ export declare const telephonyCdrContract: {
268
294
  numberValue: number | null;
269
295
  dateValue: Date | null;
270
296
  }>, "many">>;
271
- }, "customFields">, "strip", z.ZodTypeAny, {
297
+ }>, "customFields">, "strip", z.ZodTypeAny, {
272
298
  id: string;
273
299
  createdAt: Date;
274
300
  updatedAt: Date;
@@ -349,11 +375,12 @@ export declare const telephonyCdrContract: {
349
375
  booleanValue: z.ZodNullable<z.ZodBoolean>;
350
376
  numberValue: z.ZodNullable<z.ZodNumber>;
351
377
  dateValue: z.ZodNullable<z.ZodDate>;
352
- attribute: z.ZodObject<Omit<{
378
+ attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
353
379
  id: z.ZodString;
354
380
  createdAt: z.ZodDate;
355
381
  updatedAt: z.ZodDate;
356
382
  deletedAt: z.ZodNullable<z.ZodDate>;
383
+ }, {
357
384
  systemName: z.ZodString;
358
385
  displayName: z.ZodString;
359
386
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -362,13 +389,14 @@ export declare const telephonyCdrContract: {
362
389
  isArchived: z.ZodBoolean;
363
390
  isRequired: z.ZodBoolean;
364
391
  isUnique: z.ZodBoolean;
365
- options: z.ZodArray<z.ZodObject<{
366
- position: z.ZodNumber;
367
- value: z.ZodString;
392
+ options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
368
393
  label: z.ZodString;
394
+ value: z.ZodString;
369
395
  isDefault: z.ZodBoolean;
396
+ position: z.ZodNumber;
397
+ }, {
370
398
  id: z.ZodString;
371
- }, "strip", z.ZodTypeAny, {
399
+ }>, "strip", z.ZodTypeAny, {
372
400
  id: string;
373
401
  position: number;
374
402
  value: string;
@@ -381,14 +409,15 @@ export declare const telephonyCdrContract: {
381
409
  label: string;
382
410
  isDefault: boolean;
383
411
  }>, "many">;
384
- group: z.ZodObject<{
412
+ group: z.ZodObject<z.objectUtil.extendShape<{
385
413
  id: z.ZodString;
386
414
  createdAt: z.ZodDate;
387
415
  updatedAt: z.ZodDate;
388
416
  deletedAt: z.ZodNullable<z.ZodDate>;
417
+ }, {
389
418
  systemName: z.ZodString;
390
419
  displayName: z.ZodString;
391
- }, "strip", z.ZodTypeAny, {
420
+ }>, "strip", z.ZodTypeAny, {
392
421
  id: string;
393
422
  createdAt: Date;
394
423
  updatedAt: Date;
@@ -403,7 +432,7 @@ export declare const telephonyCdrContract: {
403
432
  systemName: string;
404
433
  displayName: string;
405
434
  }>;
406
- }, "options" | "group">, "strip", z.ZodTypeAny, {
435
+ }>, "options" | "group">, "strip", z.ZodTypeAny, {
407
436
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
408
437
  id: string;
409
438
  position: number;
@@ -430,18 +459,19 @@ export declare const telephonyCdrContract: {
430
459
  isRequired: boolean;
431
460
  isUnique: boolean;
432
461
  }>;
433
- uploads: z.ZodArray<z.ZodObject<{
462
+ uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
434
463
  id: z.ZodString;
435
464
  createdAt: z.ZodDate;
436
465
  updatedAt: z.ZodDate;
437
466
  deletedAt: z.ZodNullable<z.ZodDate>;
467
+ }, {
438
468
  bucketName: z.ZodString;
439
469
  fileName: z.ZodString;
440
470
  fileSize: z.ZodNumber;
441
471
  fileKey: z.ZodString;
442
472
  fileUrl: z.ZodNullable<z.ZodString>;
443
473
  status: z.ZodNullable<z.ZodString>;
444
- }, "strip", z.ZodTypeAny, {
474
+ }>, "strip", z.ZodTypeAny, {
445
475
  id: string;
446
476
  status: string | null;
447
477
  createdAt: Date;
@@ -862,16 +892,17 @@ export declare const telephonyCdrContract: {
862
892
  };
863
893
  }[] | undefined;
864
894
  }>>;
865
- telephonyQueue: z.ZodNullable<z.ZodOptional<z.ZodObject<{
895
+ telephonyQueue: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
866
896
  id: z.ZodString;
867
897
  createdAt: z.ZodDate;
868
898
  updatedAt: z.ZodDate;
869
899
  deletedAt: z.ZodNullable<z.ZodDate>;
900
+ }, {
870
901
  queueId: z.ZodNumber;
871
902
  queueName: z.ZodString;
872
903
  queueNumber: z.ZodString;
873
904
  maximumWaitingTime: z.ZodNumber;
874
- }, "strip", z.ZodTypeAny, {
905
+ }>, "strip", z.ZodTypeAny, {
875
906
  id: string;
876
907
  createdAt: Date;
877
908
  updatedAt: Date;
@@ -898,18 +929,19 @@ export declare const telephonyCdrContract: {
898
929
  agentRingTime: z.ZodNullable<z.ZodNumber>;
899
930
  uploadId: z.ZodNullable<z.ZodString>;
900
931
  serialNumber: z.ZodNullable<z.ZodString>;
901
- upload: z.ZodNullable<z.ZodOptional<z.ZodObject<{
932
+ upload: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
902
933
  id: z.ZodString;
903
934
  createdAt: z.ZodDate;
904
935
  updatedAt: z.ZodDate;
905
936
  deletedAt: z.ZodNullable<z.ZodDate>;
937
+ }, {
906
938
  bucketName: z.ZodString;
907
939
  fileName: z.ZodString;
908
940
  fileSize: z.ZodNumber;
909
941
  fileKey: z.ZodString;
910
942
  fileUrl: z.ZodNullable<z.ZodString>;
911
943
  status: z.ZodNullable<z.ZodString>;
912
- }, "strip", z.ZodTypeAny, {
944
+ }>, "strip", z.ZodTypeAny, {
913
945
  id: string;
914
946
  status: string | null;
915
947
  createdAt: Date;
@@ -1344,7 +1376,7 @@ export declare const telephonyCdrContract: {
1344
1376
  updatedAt?: string | undefined;
1345
1377
  }>>>;
1346
1378
  }, "strip", z.ZodTypeAny, {
1347
- callTo?: {
1379
+ callFrom?: {
1348
1380
  id: string;
1349
1381
  user: {
1350
1382
  name: string;
@@ -1370,7 +1402,7 @@ export declare const telephonyCdrContract: {
1370
1402
  createdAt?: string | undefined;
1371
1403
  updatedAt?: string | undefined;
1372
1404
  } | null | undefined;
1373
- callFrom?: {
1405
+ callTo?: {
1374
1406
  id: string;
1375
1407
  user: {
1376
1408
  name: string;
@@ -1397,7 +1429,7 @@ export declare const telephonyCdrContract: {
1397
1429
  updatedAt?: string | undefined;
1398
1430
  } | null | undefined;
1399
1431
  }, {
1400
- callTo?: {
1432
+ callFrom?: {
1401
1433
  id: string;
1402
1434
  user: {
1403
1435
  name: string;
@@ -1423,7 +1455,7 @@ export declare const telephonyCdrContract: {
1423
1455
  createdAt?: string | undefined;
1424
1456
  updatedAt?: string | undefined;
1425
1457
  } | null | undefined;
1426
- callFrom?: {
1458
+ callTo?: {
1427
1459
  id: string;
1428
1460
  user: {
1429
1461
  name: string;
@@ -1452,7 +1484,7 @@ export declare const telephonyCdrContract: {
1452
1484
  }>>;
1453
1485
  isQueueMissedCall: z.ZodBoolean;
1454
1486
  extensionId: z.ZodNullable<z.ZodString>;
1455
- extension: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1487
+ extension: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
1456
1488
  id: z.ZodString;
1457
1489
  createdAt: z.ZodDate;
1458
1490
  updatedAt: z.ZodDate;
@@ -1464,6 +1496,7 @@ export declare const telephonyCdrContract: {
1464
1496
  extensionId: z.ZodNullable<z.ZodString>;
1465
1497
  extensionName: z.ZodString;
1466
1498
  telephonySignature: z.ZodNullable<z.ZodString>;
1499
+ }, {
1467
1500
  user: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1468
1501
  id: z.ZodString;
1469
1502
  createdAt: z.ZodDate;
@@ -1668,7 +1701,7 @@ export declare const telephonyCdrContract: {
1668
1701
  telephonySignature: string | null;
1669
1702
  };
1670
1703
  }>>>;
1671
- }, "strip", z.ZodTypeAny, {
1704
+ }>, "strip", z.ZodTypeAny, {
1672
1705
  id: string;
1673
1706
  createdAt: Date;
1674
1707
  updatedAt: Date;
@@ -1783,7 +1816,7 @@ export declare const telephonyCdrContract: {
1783
1816
  }>>>;
1784
1817
  telephonyQueueId: z.ZodNullable<z.ZodString>;
1785
1818
  contactId: z.ZodNullable<z.ZodString>;
1786
- }, "strip", z.ZodTypeAny, {
1819
+ }>, "strip", z.ZodTypeAny, {
1787
1820
  type: string;
1788
1821
  id: string;
1789
1822
  recording: string | null;
@@ -1806,7 +1839,7 @@ export declare const telephonyCdrContract: {
1806
1839
  uploadId: string | null;
1807
1840
  serialNumber: string | null;
1808
1841
  callParticipants: {
1809
- callTo?: {
1842
+ callFrom?: {
1810
1843
  id: string;
1811
1844
  user: {
1812
1845
  name: string;
@@ -1832,7 +1865,7 @@ export declare const telephonyCdrContract: {
1832
1865
  createdAt?: string | undefined;
1833
1866
  updatedAt?: string | undefined;
1834
1867
  } | null | undefined;
1835
- callFrom?: {
1868
+ callTo?: {
1836
1869
  id: string;
1837
1870
  user: {
1838
1871
  name: string;
@@ -1862,6 +1895,63 @@ export declare const telephonyCdrContract: {
1862
1895
  isQueueMissedCall: boolean;
1863
1896
  telephonyQueueId: string | null;
1864
1897
  contactId: string | null;
1898
+ extension?: {
1899
+ id: string;
1900
+ createdAt: Date;
1901
+ updatedAt: Date;
1902
+ deletedAt: Date | null;
1903
+ userId: string | null;
1904
+ sipServerUrl: string;
1905
+ sipUserName: string;
1906
+ webphoneLoginUser: string;
1907
+ extensionId: string | null;
1908
+ extensionName: string;
1909
+ telephonySignature: string | null;
1910
+ user?: {
1911
+ name: string;
1912
+ id: string;
1913
+ address: string | null;
1914
+ email: string;
1915
+ createdAt: Date;
1916
+ updatedAt: Date;
1917
+ deletedAt: Date | null;
1918
+ emailVerifiedAt: Date | null;
1919
+ password: string;
1920
+ phone: string | null;
1921
+ notificationCount: number | null;
1922
+ roles: {
1923
+ id: string;
1924
+ description: string | null;
1925
+ createdAt: Date;
1926
+ updatedAt: Date;
1927
+ deletedAt: Date | null;
1928
+ systemName: string;
1929
+ displayName: string;
1930
+ permissions: {
1931
+ id: string;
1932
+ description: string | null;
1933
+ createdAt: Date;
1934
+ updatedAt: Date;
1935
+ deletedAt: Date | null;
1936
+ systemName: string;
1937
+ displayName: string;
1938
+ }[];
1939
+ }[];
1940
+ extension: {
1941
+ id: string;
1942
+ createdAt: Date;
1943
+ updatedAt: Date;
1944
+ deletedAt: Date | null;
1945
+ userId: string | null;
1946
+ sipServerUrl: string;
1947
+ sipUserName: string;
1948
+ webphoneLoginUser: string;
1949
+ extensionId: string | null;
1950
+ extensionName: string;
1951
+ telephonySignature: string | null;
1952
+ };
1953
+ } | null | undefined;
1954
+ } | null | undefined;
1865
1955
  contact?: {
1866
1956
  name: string;
1867
1957
  id: string;
@@ -1996,63 +2086,6 @@ export declare const telephonyCdrContract: {
1996
2086
  fileSize: number;
1997
2087
  fileUrl: string | null;
1998
2088
  } | 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;
2056
2089
  }, {
2057
2090
  type: string;
2058
2091
  id: string;
@@ -2076,7 +2109,7 @@ export declare const telephonyCdrContract: {
2076
2109
  uploadId: string | null;
2077
2110
  serialNumber: string | null;
2078
2111
  callParticipants: {
2079
- callTo?: {
2112
+ callFrom?: {
2080
2113
  id: string;
2081
2114
  user: {
2082
2115
  name: string;
@@ -2102,7 +2135,7 @@ export declare const telephonyCdrContract: {
2102
2135
  createdAt?: string | undefined;
2103
2136
  updatedAt?: string | undefined;
2104
2137
  } | null | undefined;
2105
- callFrom?: {
2138
+ callTo?: {
2106
2139
  id: string;
2107
2140
  user: {
2108
2141
  name: string;
@@ -2132,48 +2165,105 @@ export declare const telephonyCdrContract: {
2132
2165
  isQueueMissedCall: boolean;
2133
2166
  telephonyQueueId: string | null;
2134
2167
  contactId: string | null;
2135
- contact?: {
2136
- name: string;
2168
+ extension?: {
2137
2169
  id: string;
2138
- channel: string | null;
2139
- address: string | null;
2140
2170
  createdAt: Date;
2141
2171
  updatedAt: Date;
2142
2172
  deletedAt: Date | null;
2143
- customFields: {
2173
+ userId: string | null;
2174
+ sipServerUrl: string;
2175
+ sipUserName: string;
2176
+ webphoneLoginUser: string;
2177
+ extensionId: string | null;
2178
+ extensionName: string;
2179
+ telephonySignature: string | null;
2180
+ user?: {
2181
+ name: string;
2144
2182
  id: string;
2183
+ address: string | null;
2184
+ email: string;
2145
2185
  createdAt: Date;
2146
2186
  updatedAt: Date;
2147
2187
  deletedAt: Date | null;
2148
- attribute: {
2149
- type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
2188
+ emailVerifiedAt: Date | null;
2189
+ password: string;
2190
+ phone: string | null;
2191
+ notificationCount: number | null;
2192
+ roles: {
2150
2193
  id: string;
2151
- position: number;
2194
+ description: string | null;
2152
2195
  createdAt: Date;
2153
2196
  updatedAt: Date;
2154
2197
  deletedAt: Date | null;
2155
2198
  systemName: string;
2156
2199
  displayName: string;
2157
- isDefault: boolean;
2158
- isArchived: boolean;
2159
- isRequired: boolean;
2160
- isUnique: boolean;
2161
- };
2162
- textValue: string | null;
2163
- booleanValue: boolean | null;
2164
- numberValue: number | null;
2165
- dateValue: Date | null;
2166
- uploads: {
2200
+ permissions: {
2201
+ id: string;
2202
+ description: string | null;
2203
+ createdAt: Date;
2204
+ updatedAt: Date;
2205
+ deletedAt: Date | null;
2206
+ systemName: string;
2207
+ displayName: string;
2208
+ }[];
2209
+ }[];
2210
+ extension: {
2167
2211
  id: string;
2168
- status: string | null;
2169
2212
  createdAt: Date;
2170
2213
  updatedAt: Date;
2171
2214
  deletedAt: Date | null;
2172
- fileName: string;
2173
- fileKey: string;
2174
- bucketName: string;
2175
- fileSize: number;
2176
- fileUrl: string | null;
2215
+ userId: string | null;
2216
+ sipServerUrl: string;
2217
+ sipUserName: string;
2218
+ webphoneLoginUser: string;
2219
+ extensionId: string | null;
2220
+ extensionName: string;
2221
+ telephonySignature: string | null;
2222
+ };
2223
+ } | null | undefined;
2224
+ } | null | undefined;
2225
+ contact?: {
2226
+ name: string;
2227
+ id: string;
2228
+ channel: string | null;
2229
+ address: string | null;
2230
+ createdAt: Date;
2231
+ updatedAt: Date;
2232
+ deletedAt: Date | null;
2233
+ customFields: {
2234
+ id: string;
2235
+ createdAt: Date;
2236
+ updatedAt: Date;
2237
+ deletedAt: Date | null;
2238
+ attribute: {
2239
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
2240
+ id: string;
2241
+ position: number;
2242
+ createdAt: Date;
2243
+ updatedAt: Date;
2244
+ deletedAt: Date | null;
2245
+ systemName: string;
2246
+ displayName: string;
2247
+ isDefault: boolean;
2248
+ isArchived: boolean;
2249
+ isRequired: boolean;
2250
+ isUnique: boolean;
2251
+ };
2252
+ textValue: string | null;
2253
+ booleanValue: boolean | null;
2254
+ numberValue: number | null;
2255
+ dateValue: Date | null;
2256
+ uploads: {
2257
+ id: string;
2258
+ status: string | null;
2259
+ createdAt: Date;
2260
+ updatedAt: Date;
2261
+ deletedAt: Date | null;
2262
+ fileName: string;
2263
+ fileKey: string;
2264
+ bucketName: string;
2265
+ fileSize: number;
2266
+ fileUrl: string | null;
2177
2267
  }[];
2178
2268
  }[];
2179
2269
  company: {
@@ -2266,65 +2356,8 @@ export declare const telephonyCdrContract: {
2266
2356
  fileSize: number;
2267
2357
  fileUrl: string | null;
2268
2358
  } | 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;
2326
2359
  }>, "many">;
2327
- }, "strip", z.ZodTypeAny, {
2360
+ }>, "strip", z.ZodTypeAny, {
2328
2361
  total: number;
2329
2362
  page: number;
2330
2363
  pageSize: number;
@@ -2352,7 +2385,7 @@ export declare const telephonyCdrContract: {
2352
2385
  uploadId: string | null;
2353
2386
  serialNumber: string | null;
2354
2387
  callParticipants: {
2355
- callTo?: {
2388
+ callFrom?: {
2356
2389
  id: string;
2357
2390
  user: {
2358
2391
  name: string;
@@ -2378,7 +2411,7 @@ export declare const telephonyCdrContract: {
2378
2411
  createdAt?: string | undefined;
2379
2412
  updatedAt?: string | undefined;
2380
2413
  } | null | undefined;
2381
- callFrom?: {
2414
+ callTo?: {
2382
2415
  id: string;
2383
2416
  user: {
2384
2417
  name: string;
@@ -2408,6 +2441,63 @@ export declare const telephonyCdrContract: {
2408
2441
  isQueueMissedCall: boolean;
2409
2442
  telephonyQueueId: string | null;
2410
2443
  contactId: string | null;
2444
+ extension?: {
2445
+ id: string;
2446
+ createdAt: Date;
2447
+ updatedAt: Date;
2448
+ deletedAt: Date | null;
2449
+ userId: string | null;
2450
+ sipServerUrl: string;
2451
+ sipUserName: string;
2452
+ webphoneLoginUser: string;
2453
+ extensionId: string | null;
2454
+ extensionName: string;
2455
+ telephonySignature: string | null;
2456
+ user?: {
2457
+ name: string;
2458
+ id: string;
2459
+ address: string | null;
2460
+ email: string;
2461
+ createdAt: Date;
2462
+ updatedAt: Date;
2463
+ deletedAt: Date | null;
2464
+ emailVerifiedAt: Date | null;
2465
+ password: string;
2466
+ phone: string | null;
2467
+ notificationCount: number | null;
2468
+ roles: {
2469
+ id: string;
2470
+ description: string | null;
2471
+ createdAt: Date;
2472
+ updatedAt: Date;
2473
+ deletedAt: Date | null;
2474
+ systemName: string;
2475
+ displayName: string;
2476
+ permissions: {
2477
+ id: string;
2478
+ description: string | null;
2479
+ createdAt: Date;
2480
+ updatedAt: Date;
2481
+ deletedAt: Date | null;
2482
+ systemName: string;
2483
+ displayName: string;
2484
+ }[];
2485
+ }[];
2486
+ extension: {
2487
+ id: string;
2488
+ createdAt: Date;
2489
+ updatedAt: Date;
2490
+ deletedAt: Date | null;
2491
+ userId: string | null;
2492
+ sipServerUrl: string;
2493
+ sipUserName: string;
2494
+ webphoneLoginUser: string;
2495
+ extensionId: string | null;
2496
+ extensionName: string;
2497
+ telephonySignature: string | null;
2498
+ };
2499
+ } | null | undefined;
2500
+ } | null | undefined;
2411
2501
  contact?: {
2412
2502
  name: string;
2413
2503
  id: string;
@@ -2542,63 +2632,6 @@ export declare const telephonyCdrContract: {
2542
2632
  fileSize: number;
2543
2633
  fileUrl: string | null;
2544
2634
  } | 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;
2602
2635
  }[];
2603
2636
  }, {
2604
2637
  total: number;
@@ -2628,7 +2661,7 @@ export declare const telephonyCdrContract: {
2628
2661
  uploadId: string | null;
2629
2662
  serialNumber: string | null;
2630
2663
  callParticipants: {
2631
- callTo?: {
2664
+ callFrom?: {
2632
2665
  id: string;
2633
2666
  user: {
2634
2667
  name: string;
@@ -2654,7 +2687,7 @@ export declare const telephonyCdrContract: {
2654
2687
  createdAt?: string | undefined;
2655
2688
  updatedAt?: string | undefined;
2656
2689
  } | null | undefined;
2657
- callFrom?: {
2690
+ callTo?: {
2658
2691
  id: string;
2659
2692
  user: {
2660
2693
  name: string;
@@ -2684,6 +2717,63 @@ export declare const telephonyCdrContract: {
2684
2717
  isQueueMissedCall: boolean;
2685
2718
  telephonyQueueId: string | null;
2686
2719
  contactId: string | null;
2720
+ extension?: {
2721
+ id: string;
2722
+ createdAt: Date;
2723
+ updatedAt: Date;
2724
+ deletedAt: Date | null;
2725
+ userId: string | null;
2726
+ sipServerUrl: string;
2727
+ sipUserName: string;
2728
+ webphoneLoginUser: string;
2729
+ extensionId: string | null;
2730
+ extensionName: string;
2731
+ telephonySignature: string | null;
2732
+ user?: {
2733
+ name: string;
2734
+ id: string;
2735
+ address: string | null;
2736
+ email: string;
2737
+ createdAt: Date;
2738
+ updatedAt: Date;
2739
+ deletedAt: Date | null;
2740
+ emailVerifiedAt: Date | null;
2741
+ password: string;
2742
+ phone: string | null;
2743
+ notificationCount: number | null;
2744
+ roles: {
2745
+ id: string;
2746
+ description: string | null;
2747
+ createdAt: Date;
2748
+ updatedAt: Date;
2749
+ deletedAt: Date | null;
2750
+ systemName: string;
2751
+ displayName: string;
2752
+ permissions: {
2753
+ id: string;
2754
+ description: string | null;
2755
+ createdAt: Date;
2756
+ updatedAt: Date;
2757
+ deletedAt: Date | null;
2758
+ systemName: string;
2759
+ displayName: string;
2760
+ }[];
2761
+ }[];
2762
+ extension: {
2763
+ id: string;
2764
+ createdAt: Date;
2765
+ updatedAt: Date;
2766
+ deletedAt: Date | null;
2767
+ userId: string | null;
2768
+ sipServerUrl: string;
2769
+ sipUserName: string;
2770
+ webphoneLoginUser: string;
2771
+ extensionId: string | null;
2772
+ extensionName: string;
2773
+ telephonySignature: string | null;
2774
+ };
2775
+ } | null | undefined;
2776
+ } | null | undefined;
2687
2777
  contact?: {
2688
2778
  name: string;
2689
2779
  id: string;
@@ -2817,101 +2907,28 @@ export declare const telephonyCdrContract: {
2817
2907
  bucketName: string;
2818
2908
  fileSize: number;
2819
2909
  fileUrl: string | null;
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;
2878
- }[];
2879
- }>;
2880
- 401: z.ZodObject<{
2881
- message: z.ZodString;
2882
- error: z.ZodAny;
2883
- }, "strip", z.ZodTypeAny, {
2884
- message: string;
2885
- error?: any;
2886
- }, {
2887
- message: string;
2888
- error?: any;
2889
- }>;
2890
- };
2891
- path: "telephony-cdr/";
2892
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2893
- 'x-tenant': z.ZodString;
2894
- authorization: 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
- authorization: string;
2900
- 'x-client-timezone': string;
2901
- 'x-code'?: string | undefined;
2902
- }, {
2903
- 'x-tenant': string;
2904
- authorization: string;
2905
- 'x-code'?: string | undefined;
2906
- 'x-client-timezone'?: string | undefined;
2907
- }>>>;
2910
+ } | null | undefined;
2911
+ }[];
2912
+ }>;
2913
+ 401: z.ZodObject<{
2914
+ message: z.ZodString;
2915
+ error: z.ZodAny;
2916
+ }, "strip", z.ZodTypeAny, {
2917
+ message: string;
2918
+ error?: any;
2919
+ }, {
2920
+ message: string;
2921
+ error?: any;
2922
+ }>;
2923
+ };
2908
2924
  };
2909
2925
  getRecordings: {
2910
2926
  summary: "Get all telephony cdr.";
2911
2927
  method: "GET";
2912
- query: z.ZodObject<{
2928
+ query: z.ZodObject<z.objectUtil.extendShape<{
2913
2929
  page: z.ZodDefault<z.ZodNumber>;
2914
2930
  pageSize: z.ZodDefault<z.ZodNumber>;
2931
+ }, {
2915
2932
  selectedDate: z.ZodOptional<z.ZodString>;
2916
2933
  type: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2917
2934
  status: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -2923,46 +2940,65 @@ export declare const telephonyCdrContract: {
2923
2940
  agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2924
2941
  agentCallsOnly: z.ZodOptional<z.ZodBoolean>;
2925
2942
  contactId: z.ZodOptional<z.ZodString>;
2926
- }, "strip", z.ZodTypeAny, {
2943
+ }>, "strip", z.ZodTypeAny, {
2927
2944
  page: number;
2928
2945
  pageSize: number;
2929
- selectedDate?: string | undefined;
2930
2946
  type?: string[] | undefined;
2931
2947
  status?: string[] | undefined;
2948
+ userId?: string | undefined;
2932
2949
  callFrom?: string | undefined;
2933
2950
  callTo?: string | undefined;
2951
+ contactId?: string | undefined;
2952
+ selectedDate?: string | undefined;
2953
+ agentIds?: string[] | undefined;
2934
2954
  trunk?: string[] | undefined;
2935
- userId?: string | undefined;
2936
2955
  queueStatus?: string | undefined;
2937
- agentIds?: string[] | undefined;
2938
2956
  agentCallsOnly?: boolean | undefined;
2939
- contactId?: string | undefined;
2940
2957
  }, {
2941
- page?: number | undefined;
2942
- pageSize?: number | undefined;
2943
- selectedDate?: string | undefined;
2944
2958
  type?: string[] | undefined;
2959
+ page?: number | undefined;
2945
2960
  status?: string[] | undefined;
2961
+ pageSize?: number | undefined;
2962
+ userId?: string | undefined;
2946
2963
  callFrom?: string | undefined;
2947
2964
  callTo?: string | undefined;
2965
+ contactId?: string | undefined;
2966
+ selectedDate?: string | undefined;
2967
+ agentIds?: string[] | undefined;
2948
2968
  trunk?: string[] | undefined;
2949
- userId?: string | undefined;
2950
2969
  queueStatus?: string | undefined;
2951
- agentIds?: string[] | undefined;
2952
2970
  agentCallsOnly?: boolean | undefined;
2953
- contactId?: string | undefined;
2954
2971
  }>;
2972
+ path: "telephony-cdr/recordings";
2973
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2974
+ 'x-tenant': z.ZodString;
2975
+ authorization: z.ZodString;
2976
+ 'x-code': z.ZodOptional<z.ZodString>;
2977
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
2978
+ }, "strip", z.ZodTypeAny, {
2979
+ 'x-tenant': string;
2980
+ authorization: string;
2981
+ 'x-client-timezone': string;
2982
+ 'x-code'?: string | undefined;
2983
+ }, {
2984
+ 'x-tenant': string;
2985
+ authorization: string;
2986
+ 'x-code'?: string | undefined;
2987
+ 'x-client-timezone'?: string | undefined;
2988
+ }>>>;
2955
2989
  responses: {
2956
- 200: z.ZodObject<{
2990
+ 200: z.ZodObject<z.objectUtil.extendShape<{
2957
2991
  requestId: z.ZodString;
2992
+ }, {
2958
2993
  total: z.ZodNumber;
2959
2994
  page: z.ZodNumber;
2960
2995
  pageSize: z.ZodNumber;
2961
- telephonyCdrs: z.ZodArray<z.ZodObject<{
2996
+ telephonyCdrs: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
2962
2997
  id: z.ZodString;
2963
2998
  createdAt: z.ZodDate;
2964
2999
  updatedAt: z.ZodDate;
2965
3000
  deletedAt: z.ZodNullable<z.ZodDate>;
3001
+ }, {
2966
3002
  uniqueCallId: z.ZodString;
2967
3003
  timeStart: z.ZodString;
2968
3004
  callFrom: z.ZodString;
@@ -2982,13 +3018,14 @@ export declare const telephonyCdrContract: {
2982
3018
  notes: z.ZodNullable<z.ZodString>;
2983
3019
  contactProfile: z.ZodNullable<z.ZodString>;
2984
3020
  socialProfileUrl: z.ZodNullable<z.ZodString>;
2985
- tags: z.ZodArray<z.ZodObject<{
3021
+ tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
2986
3022
  id: z.ZodString;
2987
3023
  createdAt: z.ZodDate;
2988
3024
  updatedAt: z.ZodDate;
2989
3025
  deletedAt: z.ZodNullable<z.ZodDate>;
3026
+ }, {
2990
3027
  name: z.ZodString;
2991
- }, "strip", z.ZodTypeAny, {
3028
+ }>, "strip", z.ZodTypeAny, {
2992
3029
  name: string;
2993
3030
  id: string;
2994
3031
  createdAt: Date;
@@ -3001,29 +3038,32 @@ export declare const telephonyCdrContract: {
3001
3038
  updatedAt: Date;
3002
3039
  deletedAt: Date | null;
3003
3040
  }>, "many">;
3004
- company: z.ZodNullable<z.ZodObject<Omit<{
3041
+ company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
3005
3042
  id: z.ZodString;
3006
3043
  createdAt: z.ZodDate;
3007
3044
  updatedAt: z.ZodDate;
3008
3045
  deletedAt: z.ZodNullable<z.ZodDate>;
3046
+ }, {
3009
3047
  name: z.ZodOptional<z.ZodString>;
3010
3048
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3011
3049
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3012
3050
  industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3013
- customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
3051
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
3014
3052
  id: z.ZodString;
3015
3053
  createdAt: z.ZodDate;
3016
3054
  updatedAt: z.ZodDate;
3017
3055
  deletedAt: z.ZodNullable<z.ZodDate>;
3056
+ }, {
3018
3057
  textValue: z.ZodNullable<z.ZodString>;
3019
3058
  booleanValue: z.ZodNullable<z.ZodBoolean>;
3020
3059
  numberValue: z.ZodNullable<z.ZodNumber>;
3021
3060
  dateValue: z.ZodNullable<z.ZodDate>;
3022
- attribute: z.ZodObject<Omit<{
3061
+ attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
3023
3062
  id: z.ZodString;
3024
3063
  createdAt: z.ZodDate;
3025
3064
  updatedAt: z.ZodDate;
3026
3065
  deletedAt: z.ZodNullable<z.ZodDate>;
3066
+ }, {
3027
3067
  systemName: z.ZodString;
3028
3068
  displayName: z.ZodString;
3029
3069
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -3032,13 +3072,14 @@ export declare const telephonyCdrContract: {
3032
3072
  isArchived: z.ZodBoolean;
3033
3073
  isRequired: z.ZodBoolean;
3034
3074
  isUnique: z.ZodBoolean;
3035
- options: z.ZodArray<z.ZodObject<{
3036
- position: z.ZodNumber;
3037
- value: z.ZodString;
3075
+ options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
3038
3076
  label: z.ZodString;
3077
+ value: z.ZodString;
3039
3078
  isDefault: z.ZodBoolean;
3079
+ position: z.ZodNumber;
3080
+ }, {
3040
3081
  id: z.ZodString;
3041
- }, "strip", z.ZodTypeAny, {
3082
+ }>, "strip", z.ZodTypeAny, {
3042
3083
  id: string;
3043
3084
  position: number;
3044
3085
  value: string;
@@ -3051,14 +3092,15 @@ export declare const telephonyCdrContract: {
3051
3092
  label: string;
3052
3093
  isDefault: boolean;
3053
3094
  }>, "many">;
3054
- group: z.ZodObject<{
3095
+ group: z.ZodObject<z.objectUtil.extendShape<{
3055
3096
  id: z.ZodString;
3056
3097
  createdAt: z.ZodDate;
3057
3098
  updatedAt: z.ZodDate;
3058
3099
  deletedAt: z.ZodNullable<z.ZodDate>;
3100
+ }, {
3059
3101
  systemName: z.ZodString;
3060
3102
  displayName: z.ZodString;
3061
- }, "strip", z.ZodTypeAny, {
3103
+ }>, "strip", z.ZodTypeAny, {
3062
3104
  id: string;
3063
3105
  createdAt: Date;
3064
3106
  updatedAt: Date;
@@ -3073,7 +3115,7 @@ export declare const telephonyCdrContract: {
3073
3115
  systemName: string;
3074
3116
  displayName: string;
3075
3117
  }>;
3076
- }, "options" | "group">, "strip", z.ZodTypeAny, {
3118
+ }>, "options" | "group">, "strip", z.ZodTypeAny, {
3077
3119
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
3078
3120
  id: string;
3079
3121
  position: number;
@@ -3100,7 +3142,7 @@ export declare const telephonyCdrContract: {
3100
3142
  isRequired: boolean;
3101
3143
  isUnique: boolean;
3102
3144
  }>;
3103
- }, "strip", z.ZodTypeAny, {
3145
+ }>, "strip", z.ZodTypeAny, {
3104
3146
  id: string;
3105
3147
  createdAt: Date;
3106
3148
  updatedAt: Date;
@@ -3147,7 +3189,7 @@ export declare const telephonyCdrContract: {
3147
3189
  numberValue: number | null;
3148
3190
  dateValue: Date | null;
3149
3191
  }>, "many">>;
3150
- }, "customFields">, "strip", z.ZodTypeAny, {
3192
+ }>, "customFields">, "strip", z.ZodTypeAny, {
3151
3193
  id: string;
3152
3194
  createdAt: Date;
3153
3195
  updatedAt: Date;
@@ -3228,11 +3270,12 @@ export declare const telephonyCdrContract: {
3228
3270
  booleanValue: z.ZodNullable<z.ZodBoolean>;
3229
3271
  numberValue: z.ZodNullable<z.ZodNumber>;
3230
3272
  dateValue: z.ZodNullable<z.ZodDate>;
3231
- attribute: z.ZodObject<Omit<{
3273
+ attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
3232
3274
  id: z.ZodString;
3233
3275
  createdAt: z.ZodDate;
3234
3276
  updatedAt: z.ZodDate;
3235
3277
  deletedAt: z.ZodNullable<z.ZodDate>;
3278
+ }, {
3236
3279
  systemName: z.ZodString;
3237
3280
  displayName: z.ZodString;
3238
3281
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -3241,13 +3284,14 @@ export declare const telephonyCdrContract: {
3241
3284
  isArchived: z.ZodBoolean;
3242
3285
  isRequired: z.ZodBoolean;
3243
3286
  isUnique: z.ZodBoolean;
3244
- options: z.ZodArray<z.ZodObject<{
3245
- position: z.ZodNumber;
3246
- value: z.ZodString;
3287
+ options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
3247
3288
  label: z.ZodString;
3289
+ value: z.ZodString;
3248
3290
  isDefault: z.ZodBoolean;
3291
+ position: z.ZodNumber;
3292
+ }, {
3249
3293
  id: z.ZodString;
3250
- }, "strip", z.ZodTypeAny, {
3294
+ }>, "strip", z.ZodTypeAny, {
3251
3295
  id: string;
3252
3296
  position: number;
3253
3297
  value: string;
@@ -3260,14 +3304,15 @@ export declare const telephonyCdrContract: {
3260
3304
  label: string;
3261
3305
  isDefault: boolean;
3262
3306
  }>, "many">;
3263
- group: z.ZodObject<{
3307
+ group: z.ZodObject<z.objectUtil.extendShape<{
3264
3308
  id: z.ZodString;
3265
3309
  createdAt: z.ZodDate;
3266
3310
  updatedAt: z.ZodDate;
3267
3311
  deletedAt: z.ZodNullable<z.ZodDate>;
3312
+ }, {
3268
3313
  systemName: z.ZodString;
3269
3314
  displayName: z.ZodString;
3270
- }, "strip", z.ZodTypeAny, {
3315
+ }>, "strip", z.ZodTypeAny, {
3271
3316
  id: string;
3272
3317
  createdAt: Date;
3273
3318
  updatedAt: Date;
@@ -3282,7 +3327,7 @@ export declare const telephonyCdrContract: {
3282
3327
  systemName: string;
3283
3328
  displayName: string;
3284
3329
  }>;
3285
- }, "options" | "group">, "strip", z.ZodTypeAny, {
3330
+ }>, "options" | "group">, "strip", z.ZodTypeAny, {
3286
3331
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
3287
3332
  id: string;
3288
3333
  position: number;
@@ -3309,18 +3354,19 @@ export declare const telephonyCdrContract: {
3309
3354
  isRequired: boolean;
3310
3355
  isUnique: boolean;
3311
3356
  }>;
3312
- uploads: z.ZodArray<z.ZodObject<{
3357
+ uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
3313
3358
  id: z.ZodString;
3314
3359
  createdAt: z.ZodDate;
3315
3360
  updatedAt: z.ZodDate;
3316
3361
  deletedAt: z.ZodNullable<z.ZodDate>;
3362
+ }, {
3317
3363
  bucketName: z.ZodString;
3318
3364
  fileName: z.ZodString;
3319
3365
  fileSize: z.ZodNumber;
3320
3366
  fileKey: z.ZodString;
3321
3367
  fileUrl: z.ZodNullable<z.ZodString>;
3322
3368
  status: z.ZodNullable<z.ZodString>;
3323
- }, "strip", z.ZodTypeAny, {
3369
+ }>, "strip", z.ZodTypeAny, {
3324
3370
  id: string;
3325
3371
  status: string | null;
3326
3372
  createdAt: Date;
@@ -3741,16 +3787,17 @@ export declare const telephonyCdrContract: {
3741
3787
  };
3742
3788
  }[] | undefined;
3743
3789
  }>>;
3744
- telephonyQueue: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3790
+ telephonyQueue: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
3745
3791
  id: z.ZodString;
3746
3792
  createdAt: z.ZodDate;
3747
3793
  updatedAt: z.ZodDate;
3748
3794
  deletedAt: z.ZodNullable<z.ZodDate>;
3795
+ }, {
3749
3796
  queueId: z.ZodNumber;
3750
3797
  queueName: z.ZodString;
3751
3798
  queueNumber: z.ZodString;
3752
3799
  maximumWaitingTime: z.ZodNumber;
3753
- }, "strip", z.ZodTypeAny, {
3800
+ }>, "strip", z.ZodTypeAny, {
3754
3801
  id: string;
3755
3802
  createdAt: Date;
3756
3803
  updatedAt: Date;
@@ -3777,18 +3824,19 @@ export declare const telephonyCdrContract: {
3777
3824
  agentRingTime: z.ZodNullable<z.ZodNumber>;
3778
3825
  uploadId: z.ZodNullable<z.ZodString>;
3779
3826
  serialNumber: z.ZodNullable<z.ZodString>;
3780
- upload: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3827
+ upload: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
3781
3828
  id: z.ZodString;
3782
3829
  createdAt: z.ZodDate;
3783
3830
  updatedAt: z.ZodDate;
3784
3831
  deletedAt: z.ZodNullable<z.ZodDate>;
3832
+ }, {
3785
3833
  bucketName: z.ZodString;
3786
3834
  fileName: z.ZodString;
3787
3835
  fileSize: z.ZodNumber;
3788
3836
  fileKey: z.ZodString;
3789
3837
  fileUrl: z.ZodNullable<z.ZodString>;
3790
3838
  status: z.ZodNullable<z.ZodString>;
3791
- }, "strip", z.ZodTypeAny, {
3839
+ }>, "strip", z.ZodTypeAny, {
3792
3840
  id: string;
3793
3841
  status: string | null;
3794
3842
  createdAt: Date;
@@ -4223,7 +4271,7 @@ export declare const telephonyCdrContract: {
4223
4271
  updatedAt?: string | undefined;
4224
4272
  }>>>;
4225
4273
  }, "strip", z.ZodTypeAny, {
4226
- callTo?: {
4274
+ callFrom?: {
4227
4275
  id: string;
4228
4276
  user: {
4229
4277
  name: string;
@@ -4249,7 +4297,7 @@ export declare const telephonyCdrContract: {
4249
4297
  createdAt?: string | undefined;
4250
4298
  updatedAt?: string | undefined;
4251
4299
  } | null | undefined;
4252
- callFrom?: {
4300
+ callTo?: {
4253
4301
  id: string;
4254
4302
  user: {
4255
4303
  name: string;
@@ -4276,7 +4324,7 @@ export declare const telephonyCdrContract: {
4276
4324
  updatedAt?: string | undefined;
4277
4325
  } | null | undefined;
4278
4326
  }, {
4279
- callTo?: {
4327
+ callFrom?: {
4280
4328
  id: string;
4281
4329
  user: {
4282
4330
  name: string;
@@ -4302,7 +4350,7 @@ export declare const telephonyCdrContract: {
4302
4350
  createdAt?: string | undefined;
4303
4351
  updatedAt?: string | undefined;
4304
4352
  } | null | undefined;
4305
- callFrom?: {
4353
+ callTo?: {
4306
4354
  id: string;
4307
4355
  user: {
4308
4356
  name: string;
@@ -4331,7 +4379,7 @@ export declare const telephonyCdrContract: {
4331
4379
  }>>;
4332
4380
  isQueueMissedCall: z.ZodBoolean;
4333
4381
  extensionId: z.ZodNullable<z.ZodString>;
4334
- extension: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4382
+ extension: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
4335
4383
  id: z.ZodString;
4336
4384
  createdAt: z.ZodDate;
4337
4385
  updatedAt: z.ZodDate;
@@ -4343,6 +4391,7 @@ export declare const telephonyCdrContract: {
4343
4391
  extensionId: z.ZodNullable<z.ZodString>;
4344
4392
  extensionName: z.ZodString;
4345
4393
  telephonySignature: z.ZodNullable<z.ZodString>;
4394
+ }, {
4346
4395
  user: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4347
4396
  id: z.ZodString;
4348
4397
  createdAt: z.ZodDate;
@@ -4547,7 +4596,7 @@ export declare const telephonyCdrContract: {
4547
4596
  telephonySignature: string | null;
4548
4597
  };
4549
4598
  }>>>;
4550
- }, "strip", z.ZodTypeAny, {
4599
+ }>, "strip", z.ZodTypeAny, {
4551
4600
  id: string;
4552
4601
  createdAt: Date;
4553
4602
  updatedAt: Date;
@@ -4662,7 +4711,7 @@ export declare const telephonyCdrContract: {
4662
4711
  }>>>;
4663
4712
  telephonyQueueId: z.ZodNullable<z.ZodString>;
4664
4713
  contactId: z.ZodNullable<z.ZodString>;
4665
- }, "strip", z.ZodTypeAny, {
4714
+ }>, "strip", z.ZodTypeAny, {
4666
4715
  type: string;
4667
4716
  id: string;
4668
4717
  recording: string | null;
@@ -4685,7 +4734,7 @@ export declare const telephonyCdrContract: {
4685
4734
  uploadId: string | null;
4686
4735
  serialNumber: string | null;
4687
4736
  callParticipants: {
4688
- callTo?: {
4737
+ callFrom?: {
4689
4738
  id: string;
4690
4739
  user: {
4691
4740
  name: string;
@@ -4711,7 +4760,7 @@ export declare const telephonyCdrContract: {
4711
4760
  createdAt?: string | undefined;
4712
4761
  updatedAt?: string | undefined;
4713
4762
  } | null | undefined;
4714
- callFrom?: {
4763
+ callTo?: {
4715
4764
  id: string;
4716
4765
  user: {
4717
4766
  name: string;
@@ -4741,6 +4790,63 @@ export declare const telephonyCdrContract: {
4741
4790
  isQueueMissedCall: boolean;
4742
4791
  telephonyQueueId: string | null;
4743
4792
  contactId: string | null;
4793
+ extension?: {
4794
+ id: string;
4795
+ createdAt: Date;
4796
+ updatedAt: Date;
4797
+ deletedAt: Date | null;
4798
+ userId: string | null;
4799
+ sipServerUrl: string;
4800
+ sipUserName: string;
4801
+ webphoneLoginUser: string;
4802
+ extensionId: string | null;
4803
+ extensionName: string;
4804
+ telephonySignature: string | null;
4805
+ user?: {
4806
+ name: string;
4807
+ id: string;
4808
+ address: string | null;
4809
+ email: string;
4810
+ createdAt: Date;
4811
+ updatedAt: Date;
4812
+ deletedAt: Date | null;
4813
+ emailVerifiedAt: Date | null;
4814
+ password: string;
4815
+ phone: string | null;
4816
+ notificationCount: number | null;
4817
+ roles: {
4818
+ id: string;
4819
+ description: string | null;
4820
+ createdAt: Date;
4821
+ updatedAt: Date;
4822
+ deletedAt: Date | null;
4823
+ systemName: string;
4824
+ displayName: string;
4825
+ permissions: {
4826
+ id: string;
4827
+ description: string | null;
4828
+ createdAt: Date;
4829
+ updatedAt: Date;
4830
+ deletedAt: Date | null;
4831
+ systemName: string;
4832
+ displayName: string;
4833
+ }[];
4834
+ }[];
4835
+ extension: {
4836
+ id: string;
4837
+ createdAt: Date;
4838
+ updatedAt: Date;
4839
+ deletedAt: Date | null;
4840
+ userId: string | null;
4841
+ sipServerUrl: string;
4842
+ sipUserName: string;
4843
+ webphoneLoginUser: string;
4844
+ extensionId: string | null;
4845
+ extensionName: string;
4846
+ telephonySignature: string | null;
4847
+ };
4848
+ } | null | undefined;
4849
+ } | null | undefined;
4744
4850
  contact?: {
4745
4851
  name: string;
4746
4852
  id: string;
@@ -4875,63 +4981,6 @@ export declare const telephonyCdrContract: {
4875
4981
  fileSize: number;
4876
4982
  fileUrl: string | null;
4877
4983
  } | 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;
4935
4984
  }, {
4936
4985
  type: string;
4937
4986
  id: string;
@@ -4955,7 +5004,7 @@ export declare const telephonyCdrContract: {
4955
5004
  uploadId: string | null;
4956
5005
  serialNumber: string | null;
4957
5006
  callParticipants: {
4958
- callTo?: {
5007
+ callFrom?: {
4959
5008
  id: string;
4960
5009
  user: {
4961
5010
  name: string;
@@ -4981,7 +5030,7 @@ export declare const telephonyCdrContract: {
4981
5030
  createdAt?: string | undefined;
4982
5031
  updatedAt?: string | undefined;
4983
5032
  } | null | undefined;
4984
- callFrom?: {
5033
+ callTo?: {
4985
5034
  id: string;
4986
5035
  user: {
4987
5036
  name: string;
@@ -5007,10 +5056,67 @@ export declare const telephonyCdrContract: {
5007
5056
  createdAt?: string | undefined;
5008
5057
  updatedAt?: string | undefined;
5009
5058
  } | null | undefined;
5010
- } | null;
5011
- isQueueMissedCall: boolean;
5012
- telephonyQueueId: string | null;
5013
- contactId: string | null;
5059
+ } | null;
5060
+ isQueueMissedCall: boolean;
5061
+ telephonyQueueId: string | null;
5062
+ contactId: string | null;
5063
+ extension?: {
5064
+ id: string;
5065
+ createdAt: Date;
5066
+ updatedAt: Date;
5067
+ deletedAt: Date | null;
5068
+ userId: string | null;
5069
+ sipServerUrl: string;
5070
+ sipUserName: string;
5071
+ webphoneLoginUser: string;
5072
+ extensionId: string | null;
5073
+ extensionName: string;
5074
+ telephonySignature: string | null;
5075
+ user?: {
5076
+ name: string;
5077
+ id: string;
5078
+ address: string | null;
5079
+ email: string;
5080
+ createdAt: Date;
5081
+ updatedAt: Date;
5082
+ deletedAt: Date | null;
5083
+ emailVerifiedAt: Date | null;
5084
+ password: string;
5085
+ phone: string | null;
5086
+ notificationCount: number | null;
5087
+ roles: {
5088
+ id: string;
5089
+ description: string | null;
5090
+ createdAt: Date;
5091
+ updatedAt: Date;
5092
+ deletedAt: Date | null;
5093
+ systemName: string;
5094
+ displayName: string;
5095
+ permissions: {
5096
+ id: string;
5097
+ description: string | null;
5098
+ createdAt: Date;
5099
+ updatedAt: Date;
5100
+ deletedAt: Date | null;
5101
+ systemName: string;
5102
+ displayName: string;
5103
+ }[];
5104
+ }[];
5105
+ extension: {
5106
+ id: string;
5107
+ createdAt: Date;
5108
+ updatedAt: Date;
5109
+ deletedAt: Date | null;
5110
+ userId: string | null;
5111
+ sipServerUrl: string;
5112
+ sipUserName: string;
5113
+ webphoneLoginUser: string;
5114
+ extensionId: string | null;
5115
+ extensionName: string;
5116
+ telephonySignature: string | null;
5117
+ };
5118
+ } | null | undefined;
5119
+ } | null | undefined;
5014
5120
  contact?: {
5015
5121
  name: string;
5016
5122
  id: string;
@@ -5145,65 +5251,8 @@ export declare const telephonyCdrContract: {
5145
5251
  fileSize: number;
5146
5252
  fileUrl: string | null;
5147
5253
  } | 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;
5205
5254
  }>, "many">;
5206
- }, "strip", z.ZodTypeAny, {
5255
+ }>, "strip", z.ZodTypeAny, {
5207
5256
  total: number;
5208
5257
  page: number;
5209
5258
  pageSize: number;
@@ -5231,7 +5280,7 @@ export declare const telephonyCdrContract: {
5231
5280
  uploadId: string | null;
5232
5281
  serialNumber: string | null;
5233
5282
  callParticipants: {
5234
- callTo?: {
5283
+ callFrom?: {
5235
5284
  id: string;
5236
5285
  user: {
5237
5286
  name: string;
@@ -5257,7 +5306,7 @@ export declare const telephonyCdrContract: {
5257
5306
  createdAt?: string | undefined;
5258
5307
  updatedAt?: string | undefined;
5259
5308
  } | null | undefined;
5260
- callFrom?: {
5309
+ callTo?: {
5261
5310
  id: string;
5262
5311
  user: {
5263
5312
  name: string;
@@ -5287,6 +5336,63 @@ export declare const telephonyCdrContract: {
5287
5336
  isQueueMissedCall: boolean;
5288
5337
  telephonyQueueId: string | null;
5289
5338
  contactId: string | null;
5339
+ extension?: {
5340
+ id: string;
5341
+ createdAt: Date;
5342
+ updatedAt: Date;
5343
+ deletedAt: Date | null;
5344
+ userId: string | null;
5345
+ sipServerUrl: string;
5346
+ sipUserName: string;
5347
+ webphoneLoginUser: string;
5348
+ extensionId: string | null;
5349
+ extensionName: string;
5350
+ telephonySignature: string | null;
5351
+ user?: {
5352
+ name: string;
5353
+ id: string;
5354
+ address: string | null;
5355
+ email: string;
5356
+ createdAt: Date;
5357
+ updatedAt: Date;
5358
+ deletedAt: Date | null;
5359
+ emailVerifiedAt: Date | null;
5360
+ password: string;
5361
+ phone: string | null;
5362
+ notificationCount: number | null;
5363
+ roles: {
5364
+ id: string;
5365
+ description: string | null;
5366
+ createdAt: Date;
5367
+ updatedAt: Date;
5368
+ deletedAt: Date | null;
5369
+ systemName: string;
5370
+ displayName: string;
5371
+ permissions: {
5372
+ id: string;
5373
+ description: string | null;
5374
+ createdAt: Date;
5375
+ updatedAt: Date;
5376
+ deletedAt: Date | null;
5377
+ systemName: string;
5378
+ displayName: string;
5379
+ }[];
5380
+ }[];
5381
+ extension: {
5382
+ id: string;
5383
+ createdAt: Date;
5384
+ updatedAt: Date;
5385
+ deletedAt: Date | null;
5386
+ userId: string | null;
5387
+ sipServerUrl: string;
5388
+ sipUserName: string;
5389
+ webphoneLoginUser: string;
5390
+ extensionId: string | null;
5391
+ extensionName: string;
5392
+ telephonySignature: string | null;
5393
+ };
5394
+ } | null | undefined;
5395
+ } | null | undefined;
5290
5396
  contact?: {
5291
5397
  name: string;
5292
5398
  id: string;
@@ -5421,63 +5527,6 @@ export declare const telephonyCdrContract: {
5421
5527
  fileSize: number;
5422
5528
  fileUrl: string | null;
5423
5529
  } | 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;
5481
5530
  }[];
5482
5531
  }, {
5483
5532
  total: number;
@@ -5507,7 +5556,7 @@ export declare const telephonyCdrContract: {
5507
5556
  uploadId: string | null;
5508
5557
  serialNumber: string | null;
5509
5558
  callParticipants: {
5510
- callTo?: {
5559
+ callFrom?: {
5511
5560
  id: string;
5512
5561
  user: {
5513
5562
  name: string;
@@ -5533,36 +5582,93 @@ export declare const telephonyCdrContract: {
5533
5582
  createdAt?: string | undefined;
5534
5583
  updatedAt?: string | undefined;
5535
5584
  } | null | undefined;
5536
- callFrom?: {
5585
+ callTo?: {
5537
5586
  id: string;
5538
5587
  user: {
5539
5588
  name: string;
5540
5589
  id: string;
5541
- address: string | null;
5542
- email: string;
5590
+ address: string | null;
5591
+ email: string;
5592
+ createdAt: Date;
5593
+ updatedAt: Date;
5594
+ deletedAt: Date | null;
5595
+ emailVerifiedAt: Date | null;
5596
+ password: string;
5597
+ phone: string | null;
5598
+ notificationCount: number | null;
5599
+ } | null;
5600
+ deletedAt: string | null;
5601
+ userId: string;
5602
+ sipServerUrl: string | null;
5603
+ sipUserName: string | null;
5604
+ webphoneLoginUser: string | null;
5605
+ extensionId: string | null;
5606
+ extensionName: string | null;
5607
+ telephonySignature: string | null;
5608
+ createdAt?: string | undefined;
5609
+ updatedAt?: string | undefined;
5610
+ } | null | undefined;
5611
+ } | null;
5612
+ isQueueMissedCall: boolean;
5613
+ telephonyQueueId: string | null;
5614
+ contactId: string | null;
5615
+ extension?: {
5616
+ id: string;
5617
+ createdAt: Date;
5618
+ updatedAt: Date;
5619
+ deletedAt: Date | null;
5620
+ userId: string | null;
5621
+ sipServerUrl: string;
5622
+ sipUserName: string;
5623
+ webphoneLoginUser: string;
5624
+ extensionId: string | null;
5625
+ extensionName: string;
5626
+ telephonySignature: string | null;
5627
+ user?: {
5628
+ name: string;
5629
+ id: string;
5630
+ address: string | null;
5631
+ email: string;
5632
+ createdAt: Date;
5633
+ updatedAt: Date;
5634
+ deletedAt: Date | null;
5635
+ emailVerifiedAt: Date | null;
5636
+ password: string;
5637
+ phone: string | null;
5638
+ notificationCount: number | null;
5639
+ roles: {
5640
+ id: string;
5641
+ description: string | null;
5543
5642
  createdAt: Date;
5544
5643
  updatedAt: Date;
5545
5644
  deletedAt: Date | null;
5546
- emailVerifiedAt: Date | null;
5547
- password: string;
5548
- phone: string | null;
5549
- notificationCount: number | null;
5550
- } | null;
5551
- deletedAt: string | null;
5552
- userId: string;
5553
- sipServerUrl: string | null;
5554
- sipUserName: string | null;
5555
- webphoneLoginUser: string | null;
5556
- extensionId: string | null;
5557
- extensionName: string | null;
5558
- telephonySignature: string | null;
5559
- createdAt?: string | undefined;
5560
- updatedAt?: string | undefined;
5645
+ systemName: string;
5646
+ displayName: string;
5647
+ permissions: {
5648
+ id: string;
5649
+ description: string | null;
5650
+ createdAt: Date;
5651
+ updatedAt: Date;
5652
+ deletedAt: Date | null;
5653
+ systemName: string;
5654
+ displayName: string;
5655
+ }[];
5656
+ }[];
5657
+ extension: {
5658
+ id: string;
5659
+ createdAt: Date;
5660
+ updatedAt: Date;
5661
+ deletedAt: Date | null;
5662
+ userId: string | null;
5663
+ sipServerUrl: string;
5664
+ sipUserName: string;
5665
+ webphoneLoginUser: string;
5666
+ extensionId: string | null;
5667
+ extensionName: string;
5668
+ telephonySignature: string | null;
5669
+ };
5561
5670
  } | null | undefined;
5562
- } | null;
5563
- isQueueMissedCall: boolean;
5564
- telephonyQueueId: string | null;
5565
- contactId: string | null;
5671
+ } | null | undefined;
5566
5672
  contact?: {
5567
5673
  name: string;
5568
5674
  id: string;
@@ -5697,63 +5803,6 @@ export declare const telephonyCdrContract: {
5697
5803
  fileSize: number;
5698
5804
  fileUrl: string | null;
5699
5805
  } | 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;
5757
5806
  }[];
5758
5807
  }>;
5759
5808
  401: z.ZodObject<{
@@ -5767,30 +5816,14 @@ export declare const telephonyCdrContract: {
5767
5816
  error?: any;
5768
5817
  }>;
5769
5818
  };
5770
- path: "telephony-cdr/recordings";
5771
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
5772
- 'x-tenant': z.ZodString;
5773
- authorization: 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
- authorization: string;
5779
- 'x-client-timezone': string;
5780
- 'x-code'?: string | undefined;
5781
- }, {
5782
- 'x-tenant': string;
5783
- authorization: string;
5784
- 'x-code'?: string | undefined;
5785
- 'x-client-timezone'?: string | undefined;
5786
- }>>>;
5787
5819
  };
5788
5820
  getRecentCall: {
5789
5821
  summary: "Get recent telephony cdr.";
5790
5822
  method: "GET";
5791
- query: z.ZodObject<{
5823
+ query: z.ZodObject<z.objectUtil.extendShape<{
5792
5824
  page: z.ZodDefault<z.ZodNumber>;
5793
5825
  pageSize: z.ZodDefault<z.ZodNumber>;
5826
+ }, {
5794
5827
  type: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5795
5828
  status: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5796
5829
  callFrom: z.ZodOptional<z.ZodString>;
@@ -5803,48 +5836,67 @@ export declare const telephonyCdrContract: {
5803
5836
  callStatus: z.ZodOptional<z.ZodArray<z.ZodEnum<["incoming", "outgoing", "missed", "no_answered"]>, "many">>;
5804
5837
  queueIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5805
5838
  notes: z.ZodOptional<z.ZodString>;
5806
- }, "strip", z.ZodTypeAny, {
5839
+ }>, "strip", z.ZodTypeAny, {
5807
5840
  page: number;
5808
5841
  pageSize: number;
5809
5842
  type?: string[] | undefined;
5810
5843
  status?: string[] | undefined;
5844
+ contact?: string[] | undefined;
5845
+ notes?: string | undefined;
5811
5846
  callFrom?: string | undefined;
5812
5847
  callTo?: string | undefined;
5848
+ agentId?: string | undefined;
5849
+ selectedDate?: string | undefined;
5813
5850
  result?: string[] | undefined;
5814
5851
  callTags?: string[] | undefined;
5815
- selectedDate?: string | undefined;
5816
- agentId?: string | undefined;
5817
- contact?: string[] | undefined;
5818
5852
  callStatus?: ("incoming" | "outgoing" | "missed" | "no_answered")[] | undefined;
5819
5853
  queueIds?: string[] | undefined;
5820
- notes?: string | undefined;
5821
5854
  }, {
5822
- page?: number | undefined;
5823
- pageSize?: number | undefined;
5824
5855
  type?: string[] | undefined;
5856
+ page?: number | undefined;
5825
5857
  status?: string[] | undefined;
5858
+ pageSize?: number | undefined;
5859
+ contact?: string[] | undefined;
5860
+ notes?: string | undefined;
5826
5861
  callFrom?: string | undefined;
5827
5862
  callTo?: string | undefined;
5863
+ agentId?: string | undefined;
5864
+ selectedDate?: string | undefined;
5828
5865
  result?: string[] | undefined;
5829
5866
  callTags?: string[] | undefined;
5830
- selectedDate?: string | undefined;
5831
- agentId?: string | undefined;
5832
- contact?: string[] | undefined;
5833
5867
  callStatus?: ("incoming" | "outgoing" | "missed" | "no_answered")[] | undefined;
5834
5868
  queueIds?: string[] | undefined;
5835
- notes?: string | undefined;
5836
5869
  }>;
5870
+ path: "telephony-cdr/recent-calls";
5871
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
5872
+ 'x-tenant': z.ZodString;
5873
+ authorization: z.ZodString;
5874
+ 'x-code': z.ZodOptional<z.ZodString>;
5875
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
5876
+ }, "strip", z.ZodTypeAny, {
5877
+ 'x-tenant': string;
5878
+ authorization: string;
5879
+ 'x-client-timezone': string;
5880
+ 'x-code'?: string | undefined;
5881
+ }, {
5882
+ 'x-tenant': string;
5883
+ authorization: string;
5884
+ 'x-code'?: string | undefined;
5885
+ 'x-client-timezone'?: string | undefined;
5886
+ }>>>;
5837
5887
  responses: {
5838
- 200: z.ZodObject<{
5888
+ 200: z.ZodObject<z.objectUtil.extendShape<{
5839
5889
  requestId: z.ZodString;
5890
+ }, {
5840
5891
  total: z.ZodNumber;
5841
5892
  page: z.ZodNumber;
5842
5893
  pageSize: z.ZodNumber;
5843
- telephonyCdrs: z.ZodArray<z.ZodObject<{
5894
+ telephonyCdrs: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5844
5895
  id: z.ZodString;
5845
5896
  createdAt: z.ZodDate;
5846
5897
  updatedAt: z.ZodDate;
5847
5898
  deletedAt: z.ZodNullable<z.ZodDate>;
5899
+ }, {
5848
5900
  uniqueCallId: z.ZodString;
5849
5901
  timeStart: z.ZodString;
5850
5902
  callFrom: z.ZodString;
@@ -5864,13 +5916,14 @@ export declare const telephonyCdrContract: {
5864
5916
  notes: z.ZodNullable<z.ZodString>;
5865
5917
  contactProfile: z.ZodNullable<z.ZodString>;
5866
5918
  socialProfileUrl: z.ZodNullable<z.ZodString>;
5867
- tags: z.ZodArray<z.ZodObject<{
5919
+ tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5868
5920
  id: z.ZodString;
5869
5921
  createdAt: z.ZodDate;
5870
5922
  updatedAt: z.ZodDate;
5871
5923
  deletedAt: z.ZodNullable<z.ZodDate>;
5924
+ }, {
5872
5925
  name: z.ZodString;
5873
- }, "strip", z.ZodTypeAny, {
5926
+ }>, "strip", z.ZodTypeAny, {
5874
5927
  name: string;
5875
5928
  id: string;
5876
5929
  createdAt: Date;
@@ -5883,29 +5936,32 @@ export declare const telephonyCdrContract: {
5883
5936
  updatedAt: Date;
5884
5937
  deletedAt: Date | null;
5885
5938
  }>, "many">;
5886
- company: z.ZodNullable<z.ZodObject<Omit<{
5939
+ company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
5887
5940
  id: z.ZodString;
5888
5941
  createdAt: z.ZodDate;
5889
5942
  updatedAt: z.ZodDate;
5890
5943
  deletedAt: z.ZodNullable<z.ZodDate>;
5944
+ }, {
5891
5945
  name: z.ZodOptional<z.ZodString>;
5892
5946
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5893
5947
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5894
5948
  industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5895
- customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
5949
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5896
5950
  id: z.ZodString;
5897
5951
  createdAt: z.ZodDate;
5898
5952
  updatedAt: z.ZodDate;
5899
5953
  deletedAt: z.ZodNullable<z.ZodDate>;
5954
+ }, {
5900
5955
  textValue: z.ZodNullable<z.ZodString>;
5901
5956
  booleanValue: z.ZodNullable<z.ZodBoolean>;
5902
5957
  numberValue: z.ZodNullable<z.ZodNumber>;
5903
5958
  dateValue: z.ZodNullable<z.ZodDate>;
5904
- attribute: z.ZodObject<Omit<{
5959
+ attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
5905
5960
  id: z.ZodString;
5906
5961
  createdAt: z.ZodDate;
5907
5962
  updatedAt: z.ZodDate;
5908
5963
  deletedAt: z.ZodNullable<z.ZodDate>;
5964
+ }, {
5909
5965
  systemName: z.ZodString;
5910
5966
  displayName: z.ZodString;
5911
5967
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -5914,13 +5970,14 @@ export declare const telephonyCdrContract: {
5914
5970
  isArchived: z.ZodBoolean;
5915
5971
  isRequired: z.ZodBoolean;
5916
5972
  isUnique: z.ZodBoolean;
5917
- options: z.ZodArray<z.ZodObject<{
5918
- position: z.ZodNumber;
5919
- value: z.ZodString;
5973
+ options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5920
5974
  label: z.ZodString;
5975
+ value: z.ZodString;
5921
5976
  isDefault: z.ZodBoolean;
5977
+ position: z.ZodNumber;
5978
+ }, {
5922
5979
  id: z.ZodString;
5923
- }, "strip", z.ZodTypeAny, {
5980
+ }>, "strip", z.ZodTypeAny, {
5924
5981
  id: string;
5925
5982
  position: number;
5926
5983
  value: string;
@@ -5933,14 +5990,15 @@ export declare const telephonyCdrContract: {
5933
5990
  label: string;
5934
5991
  isDefault: boolean;
5935
5992
  }>, "many">;
5936
- group: z.ZodObject<{
5993
+ group: z.ZodObject<z.objectUtil.extendShape<{
5937
5994
  id: z.ZodString;
5938
5995
  createdAt: z.ZodDate;
5939
5996
  updatedAt: z.ZodDate;
5940
5997
  deletedAt: z.ZodNullable<z.ZodDate>;
5998
+ }, {
5941
5999
  systemName: z.ZodString;
5942
6000
  displayName: z.ZodString;
5943
- }, "strip", z.ZodTypeAny, {
6001
+ }>, "strip", z.ZodTypeAny, {
5944
6002
  id: string;
5945
6003
  createdAt: Date;
5946
6004
  updatedAt: Date;
@@ -5955,7 +6013,7 @@ export declare const telephonyCdrContract: {
5955
6013
  systemName: string;
5956
6014
  displayName: string;
5957
6015
  }>;
5958
- }, "options" | "group">, "strip", z.ZodTypeAny, {
6016
+ }>, "options" | "group">, "strip", z.ZodTypeAny, {
5959
6017
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
5960
6018
  id: string;
5961
6019
  position: number;
@@ -5982,7 +6040,7 @@ export declare const telephonyCdrContract: {
5982
6040
  isRequired: boolean;
5983
6041
  isUnique: boolean;
5984
6042
  }>;
5985
- }, "strip", z.ZodTypeAny, {
6043
+ }>, "strip", z.ZodTypeAny, {
5986
6044
  id: string;
5987
6045
  createdAt: Date;
5988
6046
  updatedAt: Date;
@@ -6029,7 +6087,7 @@ export declare const telephonyCdrContract: {
6029
6087
  numberValue: number | null;
6030
6088
  dateValue: Date | null;
6031
6089
  }>, "many">>;
6032
- }, "customFields">, "strip", z.ZodTypeAny, {
6090
+ }>, "customFields">, "strip", z.ZodTypeAny, {
6033
6091
  id: string;
6034
6092
  createdAt: Date;
6035
6093
  updatedAt: Date;
@@ -6110,11 +6168,12 @@ export declare const telephonyCdrContract: {
6110
6168
  booleanValue: z.ZodNullable<z.ZodBoolean>;
6111
6169
  numberValue: z.ZodNullable<z.ZodNumber>;
6112
6170
  dateValue: z.ZodNullable<z.ZodDate>;
6113
- attribute: z.ZodObject<Omit<{
6171
+ attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
6114
6172
  id: z.ZodString;
6115
6173
  createdAt: z.ZodDate;
6116
6174
  updatedAt: z.ZodDate;
6117
6175
  deletedAt: z.ZodNullable<z.ZodDate>;
6176
+ }, {
6118
6177
  systemName: z.ZodString;
6119
6178
  displayName: z.ZodString;
6120
6179
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -6123,13 +6182,14 @@ export declare const telephonyCdrContract: {
6123
6182
  isArchived: z.ZodBoolean;
6124
6183
  isRequired: z.ZodBoolean;
6125
6184
  isUnique: z.ZodBoolean;
6126
- options: z.ZodArray<z.ZodObject<{
6127
- position: z.ZodNumber;
6128
- value: z.ZodString;
6185
+ options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
6129
6186
  label: z.ZodString;
6187
+ value: z.ZodString;
6130
6188
  isDefault: z.ZodBoolean;
6189
+ position: z.ZodNumber;
6190
+ }, {
6131
6191
  id: z.ZodString;
6132
- }, "strip", z.ZodTypeAny, {
6192
+ }>, "strip", z.ZodTypeAny, {
6133
6193
  id: string;
6134
6194
  position: number;
6135
6195
  value: string;
@@ -6142,14 +6202,15 @@ export declare const telephonyCdrContract: {
6142
6202
  label: string;
6143
6203
  isDefault: boolean;
6144
6204
  }>, "many">;
6145
- group: z.ZodObject<{
6205
+ group: z.ZodObject<z.objectUtil.extendShape<{
6146
6206
  id: z.ZodString;
6147
6207
  createdAt: z.ZodDate;
6148
6208
  updatedAt: z.ZodDate;
6149
6209
  deletedAt: z.ZodNullable<z.ZodDate>;
6210
+ }, {
6150
6211
  systemName: z.ZodString;
6151
6212
  displayName: z.ZodString;
6152
- }, "strip", z.ZodTypeAny, {
6213
+ }>, "strip", z.ZodTypeAny, {
6153
6214
  id: string;
6154
6215
  createdAt: Date;
6155
6216
  updatedAt: Date;
@@ -6164,7 +6225,7 @@ export declare const telephonyCdrContract: {
6164
6225
  systemName: string;
6165
6226
  displayName: string;
6166
6227
  }>;
6167
- }, "options" | "group">, "strip", z.ZodTypeAny, {
6228
+ }>, "options" | "group">, "strip", z.ZodTypeAny, {
6168
6229
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
6169
6230
  id: string;
6170
6231
  position: number;
@@ -6191,18 +6252,19 @@ export declare const telephonyCdrContract: {
6191
6252
  isRequired: boolean;
6192
6253
  isUnique: boolean;
6193
6254
  }>;
6194
- uploads: z.ZodArray<z.ZodObject<{
6255
+ uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
6195
6256
  id: z.ZodString;
6196
6257
  createdAt: z.ZodDate;
6197
6258
  updatedAt: z.ZodDate;
6198
6259
  deletedAt: z.ZodNullable<z.ZodDate>;
6260
+ }, {
6199
6261
  bucketName: z.ZodString;
6200
6262
  fileName: z.ZodString;
6201
6263
  fileSize: z.ZodNumber;
6202
6264
  fileKey: z.ZodString;
6203
6265
  fileUrl: z.ZodNullable<z.ZodString>;
6204
6266
  status: z.ZodNullable<z.ZodString>;
6205
- }, "strip", z.ZodTypeAny, {
6267
+ }>, "strip", z.ZodTypeAny, {
6206
6268
  id: string;
6207
6269
  status: string | null;
6208
6270
  createdAt: Date;
@@ -6623,16 +6685,17 @@ export declare const telephonyCdrContract: {
6623
6685
  };
6624
6686
  }[] | undefined;
6625
6687
  }>>;
6626
- telephonyQueue: z.ZodNullable<z.ZodOptional<z.ZodObject<{
6688
+ telephonyQueue: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
6627
6689
  id: z.ZodString;
6628
6690
  createdAt: z.ZodDate;
6629
6691
  updatedAt: z.ZodDate;
6630
6692
  deletedAt: z.ZodNullable<z.ZodDate>;
6693
+ }, {
6631
6694
  queueId: z.ZodNumber;
6632
6695
  queueName: z.ZodString;
6633
6696
  queueNumber: z.ZodString;
6634
6697
  maximumWaitingTime: z.ZodNumber;
6635
- }, "strip", z.ZodTypeAny, {
6698
+ }>, "strip", z.ZodTypeAny, {
6636
6699
  id: string;
6637
6700
  createdAt: Date;
6638
6701
  updatedAt: Date;
@@ -6659,18 +6722,19 @@ export declare const telephonyCdrContract: {
6659
6722
  agentRingTime: z.ZodNullable<z.ZodNumber>;
6660
6723
  uploadId: z.ZodNullable<z.ZodString>;
6661
6724
  serialNumber: z.ZodNullable<z.ZodString>;
6662
- upload: z.ZodNullable<z.ZodOptional<z.ZodObject<{
6725
+ upload: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
6663
6726
  id: z.ZodString;
6664
6727
  createdAt: z.ZodDate;
6665
6728
  updatedAt: z.ZodDate;
6666
6729
  deletedAt: z.ZodNullable<z.ZodDate>;
6730
+ }, {
6667
6731
  bucketName: z.ZodString;
6668
6732
  fileName: z.ZodString;
6669
6733
  fileSize: z.ZodNumber;
6670
6734
  fileKey: z.ZodString;
6671
6735
  fileUrl: z.ZodNullable<z.ZodString>;
6672
6736
  status: z.ZodNullable<z.ZodString>;
6673
- }, "strip", z.ZodTypeAny, {
6737
+ }>, "strip", z.ZodTypeAny, {
6674
6738
  id: string;
6675
6739
  status: string | null;
6676
6740
  createdAt: Date;
@@ -7105,7 +7169,7 @@ export declare const telephonyCdrContract: {
7105
7169
  updatedAt?: string | undefined;
7106
7170
  }>>>;
7107
7171
  }, "strip", z.ZodTypeAny, {
7108
- callTo?: {
7172
+ callFrom?: {
7109
7173
  id: string;
7110
7174
  user: {
7111
7175
  name: string;
@@ -7131,7 +7195,7 @@ export declare const telephonyCdrContract: {
7131
7195
  createdAt?: string | undefined;
7132
7196
  updatedAt?: string | undefined;
7133
7197
  } | null | undefined;
7134
- callFrom?: {
7198
+ callTo?: {
7135
7199
  id: string;
7136
7200
  user: {
7137
7201
  name: string;
@@ -7158,7 +7222,7 @@ export declare const telephonyCdrContract: {
7158
7222
  updatedAt?: string | undefined;
7159
7223
  } | null | undefined;
7160
7224
  }, {
7161
- callTo?: {
7225
+ callFrom?: {
7162
7226
  id: string;
7163
7227
  user: {
7164
7228
  name: string;
@@ -7184,7 +7248,7 @@ export declare const telephonyCdrContract: {
7184
7248
  createdAt?: string | undefined;
7185
7249
  updatedAt?: string | undefined;
7186
7250
  } | null | undefined;
7187
- callFrom?: {
7251
+ callTo?: {
7188
7252
  id: string;
7189
7253
  user: {
7190
7254
  name: string;
@@ -7213,7 +7277,7 @@ export declare const telephonyCdrContract: {
7213
7277
  }>>;
7214
7278
  isQueueMissedCall: z.ZodBoolean;
7215
7279
  extensionId: z.ZodNullable<z.ZodString>;
7216
- extension: z.ZodNullable<z.ZodOptional<z.ZodObject<{
7280
+ extension: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
7217
7281
  id: z.ZodString;
7218
7282
  createdAt: z.ZodDate;
7219
7283
  updatedAt: z.ZodDate;
@@ -7225,6 +7289,7 @@ export declare const telephonyCdrContract: {
7225
7289
  extensionId: z.ZodNullable<z.ZodString>;
7226
7290
  extensionName: z.ZodString;
7227
7291
  telephonySignature: z.ZodNullable<z.ZodString>;
7292
+ }, {
7228
7293
  user: z.ZodNullable<z.ZodOptional<z.ZodObject<{
7229
7294
  id: z.ZodString;
7230
7295
  createdAt: z.ZodDate;
@@ -7429,7 +7494,7 @@ export declare const telephonyCdrContract: {
7429
7494
  telephonySignature: string | null;
7430
7495
  };
7431
7496
  }>>>;
7432
- }, "strip", z.ZodTypeAny, {
7497
+ }>, "strip", z.ZodTypeAny, {
7433
7498
  id: string;
7434
7499
  createdAt: Date;
7435
7500
  updatedAt: Date;
@@ -7544,7 +7609,7 @@ export declare const telephonyCdrContract: {
7544
7609
  }>>>;
7545
7610
  telephonyQueueId: z.ZodNullable<z.ZodString>;
7546
7611
  contactId: z.ZodNullable<z.ZodString>;
7547
- }, "strip", z.ZodTypeAny, {
7612
+ }>, "strip", z.ZodTypeAny, {
7548
7613
  type: string;
7549
7614
  id: string;
7550
7615
  recording: string | null;
@@ -7567,7 +7632,7 @@ export declare const telephonyCdrContract: {
7567
7632
  uploadId: string | null;
7568
7633
  serialNumber: string | null;
7569
7634
  callParticipants: {
7570
- callTo?: {
7635
+ callFrom?: {
7571
7636
  id: string;
7572
7637
  user: {
7573
7638
  name: string;
@@ -7593,7 +7658,7 @@ export declare const telephonyCdrContract: {
7593
7658
  createdAt?: string | undefined;
7594
7659
  updatedAt?: string | undefined;
7595
7660
  } | null | undefined;
7596
- callFrom?: {
7661
+ callTo?: {
7597
7662
  id: string;
7598
7663
  user: {
7599
7664
  name: string;
@@ -7619,10 +7684,67 @@ export declare const telephonyCdrContract: {
7619
7684
  createdAt?: string | undefined;
7620
7685
  updatedAt?: string | undefined;
7621
7686
  } | null | undefined;
7622
- } | null;
7623
- isQueueMissedCall: boolean;
7624
- telephonyQueueId: string | null;
7625
- contactId: string | null;
7687
+ } | null;
7688
+ isQueueMissedCall: boolean;
7689
+ telephonyQueueId: string | null;
7690
+ contactId: string | null;
7691
+ extension?: {
7692
+ id: string;
7693
+ createdAt: Date;
7694
+ updatedAt: Date;
7695
+ deletedAt: Date | null;
7696
+ userId: string | null;
7697
+ sipServerUrl: string;
7698
+ sipUserName: string;
7699
+ webphoneLoginUser: string;
7700
+ extensionId: string | null;
7701
+ extensionName: string;
7702
+ telephonySignature: string | null;
7703
+ user?: {
7704
+ name: string;
7705
+ id: string;
7706
+ address: string | null;
7707
+ email: string;
7708
+ createdAt: Date;
7709
+ updatedAt: Date;
7710
+ deletedAt: Date | null;
7711
+ emailVerifiedAt: Date | null;
7712
+ password: string;
7713
+ phone: string | null;
7714
+ notificationCount: number | null;
7715
+ roles: {
7716
+ id: string;
7717
+ description: string | null;
7718
+ createdAt: Date;
7719
+ updatedAt: Date;
7720
+ deletedAt: Date | null;
7721
+ systemName: string;
7722
+ displayName: string;
7723
+ permissions: {
7724
+ id: string;
7725
+ description: string | null;
7726
+ createdAt: Date;
7727
+ updatedAt: Date;
7728
+ deletedAt: Date | null;
7729
+ systemName: string;
7730
+ displayName: string;
7731
+ }[];
7732
+ }[];
7733
+ extension: {
7734
+ id: string;
7735
+ createdAt: Date;
7736
+ updatedAt: Date;
7737
+ deletedAt: Date | null;
7738
+ userId: string | null;
7739
+ sipServerUrl: string;
7740
+ sipUserName: string;
7741
+ webphoneLoginUser: string;
7742
+ extensionId: string | null;
7743
+ extensionName: string;
7744
+ telephonySignature: string | null;
7745
+ };
7746
+ } | null | undefined;
7747
+ } | null | undefined;
7626
7748
  contact?: {
7627
7749
  name: string;
7628
7750
  id: string;
@@ -7757,63 +7879,6 @@ export declare const telephonyCdrContract: {
7757
7879
  fileSize: number;
7758
7880
  fileUrl: string | null;
7759
7881
  } | 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;
7817
7882
  }, {
7818
7883
  type: string;
7819
7884
  id: string;
@@ -7837,7 +7902,7 @@ export declare const telephonyCdrContract: {
7837
7902
  uploadId: string | null;
7838
7903
  serialNumber: string | null;
7839
7904
  callParticipants: {
7840
- callTo?: {
7905
+ callFrom?: {
7841
7906
  id: string;
7842
7907
  user: {
7843
7908
  name: string;
@@ -7863,7 +7928,7 @@ export declare const telephonyCdrContract: {
7863
7928
  createdAt?: string | undefined;
7864
7929
  updatedAt?: string | undefined;
7865
7930
  } | null | undefined;
7866
- callFrom?: {
7931
+ callTo?: {
7867
7932
  id: string;
7868
7933
  user: {
7869
7934
  name: string;
@@ -7893,6 +7958,63 @@ export declare const telephonyCdrContract: {
7893
7958
  isQueueMissedCall: boolean;
7894
7959
  telephonyQueueId: string | null;
7895
7960
  contactId: string | null;
7961
+ extension?: {
7962
+ id: string;
7963
+ createdAt: Date;
7964
+ updatedAt: Date;
7965
+ deletedAt: Date | null;
7966
+ userId: string | null;
7967
+ sipServerUrl: string;
7968
+ sipUserName: string;
7969
+ webphoneLoginUser: string;
7970
+ extensionId: string | null;
7971
+ extensionName: string;
7972
+ telephonySignature: string | null;
7973
+ user?: {
7974
+ name: string;
7975
+ id: string;
7976
+ address: string | null;
7977
+ email: string;
7978
+ createdAt: Date;
7979
+ updatedAt: Date;
7980
+ deletedAt: Date | null;
7981
+ emailVerifiedAt: Date | null;
7982
+ password: string;
7983
+ phone: string | null;
7984
+ notificationCount: number | null;
7985
+ roles: {
7986
+ id: string;
7987
+ description: string | null;
7988
+ createdAt: Date;
7989
+ updatedAt: Date;
7990
+ deletedAt: Date | null;
7991
+ systemName: string;
7992
+ displayName: string;
7993
+ permissions: {
7994
+ id: string;
7995
+ description: string | null;
7996
+ createdAt: Date;
7997
+ updatedAt: Date;
7998
+ deletedAt: Date | null;
7999
+ systemName: string;
8000
+ displayName: string;
8001
+ }[];
8002
+ }[];
8003
+ extension: {
8004
+ id: string;
8005
+ createdAt: Date;
8006
+ updatedAt: Date;
8007
+ deletedAt: Date | null;
8008
+ userId: string | null;
8009
+ sipServerUrl: string;
8010
+ sipUserName: string;
8011
+ webphoneLoginUser: string;
8012
+ extensionId: string | null;
8013
+ extensionName: string;
8014
+ telephonySignature: string | null;
8015
+ };
8016
+ } | null | undefined;
8017
+ } | null | undefined;
7896
8018
  contact?: {
7897
8019
  name: string;
7898
8020
  id: string;
@@ -8027,65 +8149,8 @@ export declare const telephonyCdrContract: {
8027
8149
  fileSize: number;
8028
8150
  fileUrl: string | null;
8029
8151
  } | 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;
8087
8152
  }>, "many">;
8088
- }, "strip", z.ZodTypeAny, {
8153
+ }>, "strip", z.ZodTypeAny, {
8089
8154
  total: number;
8090
8155
  page: number;
8091
8156
  pageSize: number;
@@ -8113,7 +8178,7 @@ export declare const telephonyCdrContract: {
8113
8178
  uploadId: string | null;
8114
8179
  serialNumber: string | null;
8115
8180
  callParticipants: {
8116
- callTo?: {
8181
+ callFrom?: {
8117
8182
  id: string;
8118
8183
  user: {
8119
8184
  name: string;
@@ -8139,36 +8204,93 @@ export declare const telephonyCdrContract: {
8139
8204
  createdAt?: string | undefined;
8140
8205
  updatedAt?: string | undefined;
8141
8206
  } | null | undefined;
8142
- callFrom?: {
8207
+ callTo?: {
8143
8208
  id: string;
8144
8209
  user: {
8145
8210
  name: string;
8146
8211
  id: string;
8147
- address: string | null;
8148
- email: string;
8212
+ address: string | null;
8213
+ email: string;
8214
+ createdAt: Date;
8215
+ updatedAt: Date;
8216
+ deletedAt: Date | null;
8217
+ emailVerifiedAt: Date | null;
8218
+ password: string;
8219
+ phone: string | null;
8220
+ notificationCount: number | null;
8221
+ } | null;
8222
+ deletedAt: string | null;
8223
+ userId: string;
8224
+ sipServerUrl: string | null;
8225
+ sipUserName: string | null;
8226
+ webphoneLoginUser: string | null;
8227
+ extensionId: string | null;
8228
+ extensionName: string | null;
8229
+ telephonySignature: string | null;
8230
+ createdAt?: string | undefined;
8231
+ updatedAt?: string | undefined;
8232
+ } | null | undefined;
8233
+ } | null;
8234
+ isQueueMissedCall: boolean;
8235
+ telephonyQueueId: string | null;
8236
+ contactId: string | null;
8237
+ extension?: {
8238
+ id: string;
8239
+ createdAt: Date;
8240
+ updatedAt: Date;
8241
+ deletedAt: Date | null;
8242
+ userId: string | null;
8243
+ sipServerUrl: string;
8244
+ sipUserName: string;
8245
+ webphoneLoginUser: string;
8246
+ extensionId: string | null;
8247
+ extensionName: string;
8248
+ telephonySignature: string | null;
8249
+ user?: {
8250
+ name: string;
8251
+ id: string;
8252
+ address: string | null;
8253
+ email: string;
8254
+ createdAt: Date;
8255
+ updatedAt: Date;
8256
+ deletedAt: Date | null;
8257
+ emailVerifiedAt: Date | null;
8258
+ password: string;
8259
+ phone: string | null;
8260
+ notificationCount: number | null;
8261
+ roles: {
8262
+ id: string;
8263
+ description: string | null;
8264
+ createdAt: Date;
8265
+ updatedAt: Date;
8266
+ deletedAt: Date | null;
8267
+ systemName: string;
8268
+ displayName: string;
8269
+ permissions: {
8270
+ id: string;
8271
+ description: string | null;
8272
+ createdAt: Date;
8273
+ updatedAt: Date;
8274
+ deletedAt: Date | null;
8275
+ systemName: string;
8276
+ displayName: string;
8277
+ }[];
8278
+ }[];
8279
+ extension: {
8280
+ id: string;
8149
8281
  createdAt: Date;
8150
8282
  updatedAt: Date;
8151
8283
  deletedAt: Date | null;
8152
- emailVerifiedAt: Date | null;
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;
8284
+ userId: string | null;
8285
+ sipServerUrl: string;
8286
+ sipUserName: string;
8287
+ webphoneLoginUser: string;
8288
+ extensionId: string | null;
8289
+ extensionName: string;
8290
+ telephonySignature: string | null;
8291
+ };
8167
8292
  } | null | undefined;
8168
- } | null;
8169
- isQueueMissedCall: boolean;
8170
- telephonyQueueId: string | null;
8171
- contactId: string | null;
8293
+ } | null | undefined;
8172
8294
  contact?: {
8173
8295
  name: string;
8174
8296
  id: string;
@@ -8303,63 +8425,6 @@ export declare const telephonyCdrContract: {
8303
8425
  fileSize: number;
8304
8426
  fileUrl: string | null;
8305
8427
  } | 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;
8363
8428
  }[];
8364
8429
  }, {
8365
8430
  total: number;
@@ -8389,7 +8454,7 @@ export declare const telephonyCdrContract: {
8389
8454
  uploadId: string | null;
8390
8455
  serialNumber: string | null;
8391
8456
  callParticipants: {
8392
- callTo?: {
8457
+ callFrom?: {
8393
8458
  id: string;
8394
8459
  user: {
8395
8460
  name: string;
@@ -8415,7 +8480,7 @@ export declare const telephonyCdrContract: {
8415
8480
  createdAt?: string | undefined;
8416
8481
  updatedAt?: string | undefined;
8417
8482
  } | null | undefined;
8418
- callFrom?: {
8483
+ callTo?: {
8419
8484
  id: string;
8420
8485
  user: {
8421
8486
  name: string;
@@ -8445,6 +8510,63 @@ export declare const telephonyCdrContract: {
8445
8510
  isQueueMissedCall: boolean;
8446
8511
  telephonyQueueId: string | null;
8447
8512
  contactId: string | null;
8513
+ extension?: {
8514
+ id: string;
8515
+ createdAt: Date;
8516
+ updatedAt: Date;
8517
+ deletedAt: Date | null;
8518
+ userId: string | null;
8519
+ sipServerUrl: string;
8520
+ sipUserName: string;
8521
+ webphoneLoginUser: string;
8522
+ extensionId: string | null;
8523
+ extensionName: string;
8524
+ telephonySignature: string | null;
8525
+ user?: {
8526
+ name: string;
8527
+ id: string;
8528
+ address: string | null;
8529
+ email: string;
8530
+ createdAt: Date;
8531
+ updatedAt: Date;
8532
+ deletedAt: Date | null;
8533
+ emailVerifiedAt: Date | null;
8534
+ password: string;
8535
+ phone: string | null;
8536
+ notificationCount: number | null;
8537
+ roles: {
8538
+ id: string;
8539
+ description: string | null;
8540
+ createdAt: Date;
8541
+ updatedAt: Date;
8542
+ deletedAt: Date | null;
8543
+ systemName: string;
8544
+ displayName: string;
8545
+ permissions: {
8546
+ id: string;
8547
+ description: string | null;
8548
+ createdAt: Date;
8549
+ updatedAt: Date;
8550
+ deletedAt: Date | null;
8551
+ systemName: string;
8552
+ displayName: string;
8553
+ }[];
8554
+ }[];
8555
+ extension: {
8556
+ id: string;
8557
+ createdAt: Date;
8558
+ updatedAt: Date;
8559
+ deletedAt: Date | null;
8560
+ userId: string | null;
8561
+ sipServerUrl: string;
8562
+ sipUserName: string;
8563
+ webphoneLoginUser: string;
8564
+ extensionId: string | null;
8565
+ extensionName: string;
8566
+ telephonySignature: string | null;
8567
+ };
8568
+ } | null | undefined;
8569
+ } | null | undefined;
8448
8570
  contact?: {
8449
8571
  name: string;
8450
8572
  id: string;
@@ -8579,63 +8701,6 @@ export declare const telephonyCdrContract: {
8579
8701
  fileSize: number;
8580
8702
  fileUrl: string | null;
8581
8703
  } | 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;
8639
8704
  }[];
8640
8705
  }>;
8641
8706
  401: z.ZodObject<{
@@ -8649,46 +8714,35 @@ export declare const telephonyCdrContract: {
8649
8714
  error?: any;
8650
8715
  }>;
8651
8716
  };
8652
- path: "telephony-cdr/recent-calls";
8653
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
8654
- 'x-tenant': z.ZodString;
8655
- authorization: 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
- authorization: string;
8661
- 'x-client-timezone': string;
8662
- 'x-code'?: string | undefined;
8663
- }, {
8664
- 'x-tenant': string;
8665
- authorization: string;
8666
- 'x-code'?: string | undefined;
8667
- 'x-client-timezone'?: string | undefined;
8668
- }>>>;
8669
8717
  };
8670
8718
  export: {
8671
8719
  summary: "Get recent telephony cdr.";
8672
8720
  method: "GET";
8673
- query: z.ZodObject<{
8721
+ query: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
8722
+ page: z.ZodDefault<z.ZodNumber>;
8723
+ pageSize: z.ZodDefault<z.ZodNumber>;
8724
+ }, {
8725
+ selectedDate: z.ZodOptional<z.ZodString>;
8674
8726
  type: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8675
8727
  status: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8676
- userId: z.ZodOptional<z.ZodString>;
8677
8728
  callFrom: z.ZodOptional<z.ZodString>;
8678
8729
  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">>;
8682
8730
  trunk: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8731
+ userId: z.ZodOptional<z.ZodString>;
8683
8732
  queueStatus: z.ZodOptional<z.ZodString>;
8733
+ agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8684
8734
  agentCallsOnly: z.ZodOptional<z.ZodBoolean>;
8735
+ contactId: z.ZodOptional<z.ZodString>;
8736
+ }>, {
8685
8737
  page: z.ZodOptional<z.ZodNumber>;
8686
8738
  pageSize: z.ZodOptional<z.ZodNumber>;
8687
8739
  module: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"cdrs">, z.ZodLiteral<"call-logs">]>>>;
8688
- }, "strip", z.ZodTypeAny, {
8740
+ }>, "strip", z.ZodTypeAny, {
8689
8741
  module: "cdrs" | "call-logs";
8690
8742
  type?: string[] | undefined;
8743
+ page?: number | undefined;
8691
8744
  status?: string[] | undefined;
8745
+ pageSize?: number | undefined;
8692
8746
  userId?: string | undefined;
8693
8747
  callFrom?: string | undefined;
8694
8748
  callTo?: string | undefined;
@@ -8698,11 +8752,12 @@ export declare const telephonyCdrContract: {
8698
8752
  trunk?: string[] | undefined;
8699
8753
  queueStatus?: string | undefined;
8700
8754
  agentCallsOnly?: boolean | undefined;
8701
- page?: number | undefined;
8702
- pageSize?: number | undefined;
8703
8755
  }, {
8704
8756
  type?: string[] | undefined;
8757
+ module?: "cdrs" | "call-logs" | undefined;
8758
+ page?: number | undefined;
8705
8759
  status?: string[] | undefined;
8760
+ pageSize?: number | undefined;
8706
8761
  userId?: string | undefined;
8707
8762
  callFrom?: string | undefined;
8708
8763
  callTo?: string | undefined;
@@ -8711,11 +8766,25 @@ export declare const telephonyCdrContract: {
8711
8766
  agentIds?: string[] | undefined;
8712
8767
  trunk?: string[] | undefined;
8713
8768
  queueStatus?: string | undefined;
8714
- agentCallsOnly?: boolean | undefined;
8715
- page?: number | undefined;
8716
- pageSize?: number | undefined;
8717
- module?: "cdrs" | "call-logs" | undefined;
8769
+ agentCallsOnly?: boolean | undefined;
8718
8770
  }>;
8771
+ path: "telephony-cdr/export";
8772
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
8773
+ 'x-tenant': z.ZodString;
8774
+ authorization: z.ZodString;
8775
+ 'x-code': z.ZodOptional<z.ZodString>;
8776
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
8777
+ }, "strip", z.ZodTypeAny, {
8778
+ 'x-tenant': string;
8779
+ authorization: string;
8780
+ 'x-client-timezone': string;
8781
+ 'x-code'?: string | undefined;
8782
+ }, {
8783
+ 'x-tenant': string;
8784
+ authorization: string;
8785
+ 'x-code'?: string | undefined;
8786
+ 'x-client-timezone'?: string | undefined;
8787
+ }>>>;
8719
8788
  responses: {
8720
8789
  200: null;
8721
8790
  401: z.ZodObject<{
@@ -8739,28 +8808,12 @@ export declare const telephonyCdrContract: {
8739
8808
  error?: any;
8740
8809
  }>;
8741
8810
  };
8742
- path: "telephony-cdr/export";
8743
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
8744
- 'x-tenant': z.ZodString;
8745
- authorization: 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
- authorization: string;
8751
- 'x-client-timezone': string;
8752
- 'x-code'?: string | undefined;
8753
- }, {
8754
- 'x-tenant': string;
8755
- authorization: string;
8756
- 'x-code'?: string | undefined;
8757
- 'x-client-timezone'?: string | undefined;
8758
- }>>>;
8759
8811
  };
8760
8812
  yeastarCallReport: {
8761
- body: z.ZodEffects<z.ZodObject<{
8813
+ body: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
8762
8814
  page: z.ZodDefault<z.ZodNumber>;
8763
8815
  pageSize: z.ZodDefault<z.ZodNumber>;
8816
+ }, {
8764
8817
  reportType: z.ZodEnum<["extcallstatistics", "extcallactivity", "trunkactivity", "queuesatisfaction", "queueavgwaittalktime", "queueperformance", "queueagentmisscalls", "queueagentinoutcalls"]>;
8765
8818
  selectedDate: z.ZodOptional<z.ZodString>;
8766
8819
  communicationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"Inbound">, z.ZodLiteral<"Outbound">, z.ZodLiteral<"Internal">]>>;
@@ -8769,66 +8822,53 @@ export declare const telephonyCdrContract: {
8769
8822
  queueId: z.ZodOptional<z.ZodString>;
8770
8823
  trunkList: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8771
8824
  extensionList: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8772
- }, "strip", z.ZodTypeAny, {
8825
+ }>, "strip", z.ZodTypeAny, {
8773
8826
  page: number;
8774
8827
  pageSize: number;
8775
8828
  reportType: "extcallstatistics" | "extcallactivity" | "trunkactivity" | "queuesatisfaction" | "queueavgwaittalktime" | "queueperformance" | "queueagentmisscalls" | "queueagentinoutcalls";
8829
+ time?: string | undefined;
8830
+ queueId?: string | undefined;
8776
8831
  selectedDate?: string | undefined;
8777
8832
  communicationType?: "Inbound" | "Outbound" | "Internal" | undefined;
8778
- time?: string | undefined;
8779
8833
  queueList?: string[] | undefined;
8780
- queueId?: string | undefined;
8781
8834
  trunkList?: string[] | undefined;
8782
8835
  extensionList?: string[] | undefined;
8783
8836
  }, {
8784
8837
  reportType: "extcallstatistics" | "extcallactivity" | "trunkactivity" | "queuesatisfaction" | "queueavgwaittalktime" | "queueperformance" | "queueagentmisscalls" | "queueagentinoutcalls";
8838
+ time?: string | undefined;
8785
8839
  page?: number | undefined;
8786
8840
  pageSize?: number | undefined;
8841
+ queueId?: string | undefined;
8787
8842
  selectedDate?: string | undefined;
8788
8843
  communicationType?: "Inbound" | "Outbound" | "Internal" | undefined;
8789
- time?: string | undefined;
8790
8844
  queueList?: string[] | undefined;
8791
- queueId?: string | undefined;
8792
8845
  trunkList?: string[] | undefined;
8793
8846
  extensionList?: string[] | undefined;
8794
8847
  }>, {
8795
8848
  page: number;
8796
8849
  pageSize: number;
8797
8850
  reportType: "extcallstatistics" | "extcallactivity" | "trunkactivity" | "queuesatisfaction" | "queueavgwaittalktime" | "queueperformance" | "queueagentmisscalls" | "queueagentinoutcalls";
8851
+ time?: string | undefined;
8852
+ queueId?: string | undefined;
8798
8853
  selectedDate?: string | undefined;
8799
8854
  communicationType?: "Inbound" | "Outbound" | "Internal" | undefined;
8800
- time?: string | undefined;
8801
8855
  queueList?: string[] | undefined;
8802
- queueId?: string | undefined;
8803
8856
  trunkList?: string[] | undefined;
8804
8857
  extensionList?: string[] | undefined;
8805
8858
  }, {
8806
8859
  reportType: "extcallstatistics" | "extcallactivity" | "trunkactivity" | "queuesatisfaction" | "queueavgwaittalktime" | "queueperformance" | "queueagentmisscalls" | "queueagentinoutcalls";
8860
+ time?: string | undefined;
8807
8861
  page?: number | undefined;
8808
8862
  pageSize?: number | undefined;
8863
+ queueId?: string | undefined;
8809
8864
  selectedDate?: string | undefined;
8810
8865
  communicationType?: "Inbound" | "Outbound" | "Internal" | undefined;
8811
- time?: string | undefined;
8812
8866
  queueList?: string[] | undefined;
8813
- queueId?: string | undefined;
8814
8867
  trunkList?: string[] | undefined;
8815
8868
  extensionList?: string[] | undefined;
8816
8869
  }>;
8817
8870
  summary: "Get yeastar call report.";
8818
8871
  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
- };
8832
8872
  path: "telephony-cdr/yeastar_call_report";
8833
8873
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
8834
8874
  'x-tenant': z.ZodString;
@@ -8846,11 +8886,25 @@ export declare const telephonyCdrContract: {
8846
8886
  'x-code'?: string | undefined;
8847
8887
  'x-client-timezone'?: string | undefined;
8848
8888
  }>>>;
8889
+ responses: {
8890
+ 200: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
8891
+ 401: z.ZodObject<{
8892
+ message: z.ZodString;
8893
+ error: z.ZodAny;
8894
+ }, "strip", z.ZodTypeAny, {
8895
+ message: string;
8896
+ error?: any;
8897
+ }, {
8898
+ message: string;
8899
+ error?: any;
8900
+ }>;
8901
+ };
8849
8902
  };
8850
8903
  yeastarCallReportExport: {
8851
- body: z.ZodEffects<z.ZodObject<{
8904
+ body: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
8852
8905
  page: z.ZodDefault<z.ZodNumber>;
8853
8906
  pageSize: z.ZodDefault<z.ZodNumber>;
8907
+ }, {
8854
8908
  reportType: z.ZodEnum<["extcallstatistics", "extcallactivity", "trunkactivity", "queuesatisfaction", "queueavgwaittalktime", "queueperformance", "queueagentmisscalls", "queueagentinoutcalls"]>;
8855
8909
  selectedDate: z.ZodOptional<z.ZodString>;
8856
8910
  communicationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"Inbound">, z.ZodLiteral<"Outbound">, z.ZodLiteral<"Internal">]>>;
@@ -8859,53 +8913,70 @@ export declare const telephonyCdrContract: {
8859
8913
  queueId: z.ZodOptional<z.ZodString>;
8860
8914
  trunkList: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8861
8915
  extensionList: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8862
- }, "strip", z.ZodTypeAny, {
8916
+ }>, "strip", z.ZodTypeAny, {
8863
8917
  page: number;
8864
8918
  pageSize: number;
8865
8919
  reportType: "extcallstatistics" | "extcallactivity" | "trunkactivity" | "queuesatisfaction" | "queueavgwaittalktime" | "queueperformance" | "queueagentmisscalls" | "queueagentinoutcalls";
8920
+ time?: string | undefined;
8921
+ queueId?: string | undefined;
8866
8922
  selectedDate?: string | undefined;
8867
8923
  communicationType?: "Inbound" | "Outbound" | "Internal" | undefined;
8868
- time?: string | undefined;
8869
8924
  queueList?: string[] | undefined;
8870
- queueId?: string | undefined;
8871
8925
  trunkList?: string[] | undefined;
8872
8926
  extensionList?: string[] | undefined;
8873
8927
  }, {
8874
8928
  reportType: "extcallstatistics" | "extcallactivity" | "trunkactivity" | "queuesatisfaction" | "queueavgwaittalktime" | "queueperformance" | "queueagentmisscalls" | "queueagentinoutcalls";
8929
+ time?: string | undefined;
8875
8930
  page?: number | undefined;
8876
8931
  pageSize?: number | undefined;
8932
+ queueId?: string | undefined;
8877
8933
  selectedDate?: string | undefined;
8878
8934
  communicationType?: "Inbound" | "Outbound" | "Internal" | undefined;
8879
- time?: string | undefined;
8880
8935
  queueList?: string[] | undefined;
8881
- queueId?: string | undefined;
8882
8936
  trunkList?: string[] | undefined;
8883
8937
  extensionList?: string[] | undefined;
8884
8938
  }>, {
8885
8939
  page: number;
8886
8940
  pageSize: number;
8887
8941
  reportType: "extcallstatistics" | "extcallactivity" | "trunkactivity" | "queuesatisfaction" | "queueavgwaittalktime" | "queueperformance" | "queueagentmisscalls" | "queueagentinoutcalls";
8942
+ time?: string | undefined;
8943
+ queueId?: string | undefined;
8888
8944
  selectedDate?: string | undefined;
8889
8945
  communicationType?: "Inbound" | "Outbound" | "Internal" | undefined;
8890
- time?: string | undefined;
8891
8946
  queueList?: string[] | undefined;
8892
- queueId?: string | undefined;
8893
8947
  trunkList?: string[] | undefined;
8894
8948
  extensionList?: string[] | undefined;
8895
8949
  }, {
8896
8950
  reportType: "extcallstatistics" | "extcallactivity" | "trunkactivity" | "queuesatisfaction" | "queueavgwaittalktime" | "queueperformance" | "queueagentmisscalls" | "queueagentinoutcalls";
8951
+ time?: string | undefined;
8897
8952
  page?: number | undefined;
8898
8953
  pageSize?: number | undefined;
8954
+ queueId?: string | undefined;
8899
8955
  selectedDate?: string | undefined;
8900
8956
  communicationType?: "Inbound" | "Outbound" | "Internal" | undefined;
8901
- time?: string | undefined;
8902
8957
  queueList?: string[] | undefined;
8903
- queueId?: string | undefined;
8904
8958
  trunkList?: string[] | undefined;
8905
8959
  extensionList?: string[] | undefined;
8906
8960
  }>;
8907
8961
  summary: "Export yeastar call report.";
8908
8962
  method: "POST";
8963
+ path: "telephony-cdr/yeastar_call_report/export";
8964
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
8965
+ 'x-tenant': z.ZodString;
8966
+ authorization: z.ZodString;
8967
+ 'x-code': z.ZodOptional<z.ZodString>;
8968
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
8969
+ }, "strip", z.ZodTypeAny, {
8970
+ 'x-tenant': string;
8971
+ authorization: string;
8972
+ 'x-client-timezone': string;
8973
+ 'x-code'?: string | undefined;
8974
+ }, {
8975
+ 'x-tenant': string;
8976
+ authorization: string;
8977
+ 'x-code'?: string | undefined;
8978
+ 'x-client-timezone'?: string | undefined;
8979
+ }>>>;
8909
8980
  responses: {
8910
8981
  200: null;
8911
8982
  401: z.ZodObject<{
@@ -8919,7 +8990,11 @@ export declare const telephonyCdrContract: {
8919
8990
  error?: any;
8920
8991
  }>;
8921
8992
  };
8922
- path: "telephony-cdr/yeastar_call_report/export";
8993
+ };
8994
+ getTrunks: {
8995
+ method: "GET";
8996
+ query: null;
8997
+ path: "telephony-cdr/trunks";
8923
8998
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
8924
8999
  'x-tenant': z.ZodString;
8925
9000
  authorization: z.ZodString;
@@ -8936,21 +9011,19 @@ export declare const telephonyCdrContract: {
8936
9011
  'x-code'?: string | undefined;
8937
9012
  'x-client-timezone'?: string | undefined;
8938
9013
  }>>>;
8939
- };
8940
- getTrunks: {
8941
- method: "GET";
8942
- query: null;
8943
9014
  responses: {
8944
- 200: z.ZodObject<{
9015
+ 200: z.ZodObject<z.objectUtil.extendShape<{
8945
9016
  requestId: z.ZodString;
8946
- trunks: z.ZodArray<z.ZodObject<{
9017
+ }, {
9018
+ trunks: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
8947
9019
  id: z.ZodString;
8948
9020
  createdAt: z.ZodDate;
8949
9021
  updatedAt: z.ZodDate;
8950
9022
  deletedAt: z.ZodNullable<z.ZodDate>;
9023
+ }, {
8951
9024
  trunkId: z.ZodNullable<z.ZodString>;
8952
9025
  trunkName: z.ZodNullable<z.ZodString>;
8953
- }, "strip", z.ZodTypeAny, {
9026
+ }>, "strip", z.ZodTypeAny, {
8954
9027
  id: string;
8955
9028
  createdAt: Date;
8956
9029
  updatedAt: Date;
@@ -8965,7 +9038,7 @@ export declare const telephonyCdrContract: {
8965
9038
  trunkId: string | null;
8966
9039
  trunkName: string | null;
8967
9040
  }>, "many">;
8968
- }, "strip", z.ZodTypeAny, {
9041
+ }>, "strip", z.ZodTypeAny, {
8969
9042
  requestId: string;
8970
9043
  trunks: {
8971
9044
  id: string;
@@ -8997,7 +9070,11 @@ export declare const telephonyCdrContract: {
8997
9070
  error?: any;
8998
9071
  }>;
8999
9072
  };
9000
- path: "telephony-cdr/trunks";
9073
+ };
9074
+ getQueueList: {
9075
+ method: "GET";
9076
+ query: null;
9077
+ path: "telephony-cdr/queues";
9001
9078
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
9002
9079
  'x-tenant': z.ZodString;
9003
9080
  authorization: z.ZodString;
@@ -9014,23 +9091,21 @@ export declare const telephonyCdrContract: {
9014
9091
  'x-code'?: string | undefined;
9015
9092
  'x-client-timezone'?: string | undefined;
9016
9093
  }>>>;
9017
- };
9018
- getQueueList: {
9019
- method: "GET";
9020
- query: null;
9021
9094
  responses: {
9022
- 200: z.ZodObject<{
9095
+ 200: z.ZodObject<z.objectUtil.extendShape<{
9023
9096
  requestId: z.ZodString;
9024
- queues: z.ZodArray<z.ZodObject<{
9097
+ }, {
9098
+ queues: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
9025
9099
  id: z.ZodString;
9026
9100
  createdAt: z.ZodDate;
9027
9101
  updatedAt: z.ZodDate;
9028
9102
  deletedAt: z.ZodNullable<z.ZodDate>;
9103
+ }, {
9029
9104
  queueId: z.ZodNumber;
9030
9105
  queueName: z.ZodString;
9031
9106
  queueNumber: z.ZodString;
9032
9107
  maximumWaitingTime: z.ZodNumber;
9033
- }, "strip", z.ZodTypeAny, {
9108
+ }>, "strip", z.ZodTypeAny, {
9034
9109
  id: string;
9035
9110
  createdAt: Date;
9036
9111
  updatedAt: Date;
@@ -9049,7 +9124,7 @@ export declare const telephonyCdrContract: {
9049
9124
  queueNumber: string;
9050
9125
  maximumWaitingTime: number;
9051
9126
  }>, "many">;
9052
- }, "strip", z.ZodTypeAny, {
9127
+ }>, "strip", z.ZodTypeAny, {
9053
9128
  requestId: string;
9054
9129
  queues: {
9055
9130
  id: string;
@@ -9085,7 +9160,11 @@ export declare const telephonyCdrContract: {
9085
9160
  error?: any;
9086
9161
  }>;
9087
9162
  };
9088
- path: "telephony-cdr/queues";
9163
+ };
9164
+ getExtensionList: {
9165
+ method: "GET";
9166
+ query: null;
9167
+ path: "telephony-cdr/extensions";
9089
9168
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
9090
9169
  'x-tenant': z.ZodString;
9091
9170
  authorization: z.ZodString;
@@ -9102,18 +9181,16 @@ export declare const telephonyCdrContract: {
9102
9181
  'x-code'?: string | undefined;
9103
9182
  'x-client-timezone'?: string | undefined;
9104
9183
  }>>>;
9105
- };
9106
- getExtensionList: {
9107
- method: "GET";
9108
- query: null;
9109
9184
  responses: {
9110
- 200: z.ZodObject<{
9185
+ 200: z.ZodObject<z.objectUtil.extendShape<{
9111
9186
  requestId: z.ZodString;
9112
- extensions: z.ZodArray<z.ZodObject<{
9187
+ }, {
9188
+ extensions: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
9113
9189
  id: z.ZodString;
9114
9190
  createdAt: z.ZodDate;
9115
9191
  updatedAt: z.ZodDate;
9116
9192
  deletedAt: z.ZodNullable<z.ZodDate>;
9193
+ }, {
9117
9194
  user: z.ZodNullable<z.ZodOptional<z.ZodObject<Omit<{
9118
9195
  id: z.ZodString;
9119
9196
  createdAt: z.ZodDate;
@@ -9299,7 +9376,7 @@ export declare const telephonyCdrContract: {
9299
9376
  userId: z.ZodNullable<z.ZodString>;
9300
9377
  extensionId: z.ZodNullable<z.ZodString>;
9301
9378
  extensionName: z.ZodNullable<z.ZodString>;
9302
- }, "strip", z.ZodTypeAny, {
9379
+ }>, "strip", z.ZodTypeAny, {
9303
9380
  id: string;
9304
9381
  createdAt: Date;
9305
9382
  updatedAt: Date;
@@ -9386,7 +9463,7 @@ export declare const telephonyCdrContract: {
9386
9463
  }[];
9387
9464
  } | null | undefined;
9388
9465
  }>, "many">;
9389
- }, "strip", z.ZodTypeAny, {
9466
+ }>, "strip", z.ZodTypeAny, {
9390
9467
  requestId: string;
9391
9468
  extensions: {
9392
9469
  id: string;
@@ -9490,7 +9567,11 @@ export declare const telephonyCdrContract: {
9490
9567
  error?: any;
9491
9568
  }>;
9492
9569
  };
9493
- path: "telephony-cdr/extensions";
9570
+ };
9571
+ getDropdownList: {
9572
+ method: "GET";
9573
+ query: null;
9574
+ path: "telephony-cdr/dropdown";
9494
9575
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
9495
9576
  'x-tenant': z.ZodString;
9496
9577
  authorization: z.ZodString;
@@ -9507,13 +9588,10 @@ export declare const telephonyCdrContract: {
9507
9588
  'x-code'?: string | undefined;
9508
9589
  'x-client-timezone'?: string | undefined;
9509
9590
  }>>>;
9510
- };
9511
- getDropdownList: {
9512
- method: "GET";
9513
- query: null;
9514
9591
  responses: {
9515
- 200: z.ZodObject<{
9592
+ 200: z.ZodObject<z.objectUtil.extendShape<{
9516
9593
  requestId: z.ZodString;
9594
+ }, {
9517
9595
  trunks: z.ZodArray<z.ZodObject<{
9518
9596
  id: z.ZodString;
9519
9597
  trunkName: z.ZodString;
@@ -9526,7 +9604,7 @@ export declare const telephonyCdrContract: {
9526
9604
  }>, "many">;
9527
9605
  status: z.ZodArray<z.ZodEnum<["ANSWERED", "NO ANSWER", "BUSY", "FAILED"]>, "many">;
9528
9606
  type: z.ZodArray<z.ZodEnum<["Inbound", "Outbound", "Internal"]>, "many">;
9529
- }, "strip", z.ZodTypeAny, {
9607
+ }>, "strip", z.ZodTypeAny, {
9530
9608
  type: ("Inbound" | "Outbound" | "Internal")[];
9531
9609
  status: ("ANSWERED" | "NO ANSWER" | "BUSY" | "FAILED")[];
9532
9610
  requestId: string;
@@ -9554,7 +9632,10 @@ export declare const telephonyCdrContract: {
9554
9632
  error?: any;
9555
9633
  }>;
9556
9634
  };
9557
- path: "telephony-cdr/dropdown";
9635
+ };
9636
+ getCallRedirectSetting: {
9637
+ method: "GET";
9638
+ path: "telephony-cdr/call-redirect-setting";
9558
9639
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
9559
9640
  'x-tenant': z.ZodString;
9560
9641
  authorization: z.ZodString;
@@ -9571,14 +9652,12 @@ export declare const telephonyCdrContract: {
9571
9652
  'x-code'?: string | undefined;
9572
9653
  'x-client-timezone'?: string | undefined;
9573
9654
  }>>>;
9574
- };
9575
- getCallRedirectSetting: {
9576
- method: "GET";
9577
9655
  responses: {
9578
- 200: z.ZodObject<{
9656
+ 200: z.ZodObject<z.objectUtil.extendShape<{
9579
9657
  requestId: z.ZodString;
9658
+ }, {
9580
9659
  callRedirectTo: z.ZodString;
9581
- }, "strip", z.ZodTypeAny, {
9660
+ }>, "strip", z.ZodTypeAny, {
9582
9661
  requestId: string;
9583
9662
  callRedirectTo: string;
9584
9663
  }, {
@@ -9613,6 +9692,16 @@ export declare const telephonyCdrContract: {
9613
9692
  error?: any;
9614
9693
  }>;
9615
9694
  };
9695
+ };
9696
+ updateCallRedirectSetting: {
9697
+ body: z.ZodObject<{
9698
+ callRedirectTo: z.ZodString;
9699
+ }, "strip", z.ZodTypeAny, {
9700
+ callRedirectTo: string;
9701
+ }, {
9702
+ callRedirectTo: string;
9703
+ }>;
9704
+ method: "PATCH";
9616
9705
  path: "telephony-cdr/call-redirect-setting";
9617
9706
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
9618
9707
  'x-tenant': z.ZodString;
@@ -9630,21 +9719,12 @@ export declare const telephonyCdrContract: {
9630
9719
  'x-code'?: string | undefined;
9631
9720
  'x-client-timezone'?: string | undefined;
9632
9721
  }>>>;
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";
9643
9722
  responses: {
9644
- 200: z.ZodObject<{
9723
+ 200: z.ZodObject<z.objectUtil.extendShape<{
9645
9724
  requestId: z.ZodString;
9725
+ }, {
9646
9726
  callRedirectTo: z.ZodString;
9647
- }, "strip", z.ZodTypeAny, {
9727
+ }>, "strip", z.ZodTypeAny, {
9648
9728
  requestId: string;
9649
9729
  callRedirectTo: string;
9650
9730
  }, {
@@ -9679,7 +9759,10 @@ export declare const telephonyCdrContract: {
9679
9759
  error?: any;
9680
9760
  }>;
9681
9761
  };
9682
- path: "telephony-cdr/call-redirect-setting";
9762
+ };
9763
+ getCallSetting: {
9764
+ method: "GET";
9765
+ path: "telephony-cdr/call-setting";
9683
9766
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
9684
9767
  'x-tenant': z.ZodString;
9685
9768
  authorization: z.ZodString;
@@ -9696,15 +9779,13 @@ export declare const telephonyCdrContract: {
9696
9779
  'x-code'?: string | undefined;
9697
9780
  'x-client-timezone'?: string | undefined;
9698
9781
  }>>>;
9699
- };
9700
- getCallSetting: {
9701
- method: "GET";
9702
9782
  responses: {
9703
- 200: z.ZodObject<{
9783
+ 200: z.ZodObject<z.objectUtil.extendShape<{
9704
9784
  requestId: z.ZodString;
9785
+ }, {
9705
9786
  callRedirectTo: z.ZodString;
9706
9787
  isMultiTabUsed: z.ZodString;
9707
- }, "strip", z.ZodTypeAny, {
9788
+ }>, "strip", z.ZodTypeAny, {
9708
9789
  requestId: string;
9709
9790
  callRedirectTo: string;
9710
9791
  isMultiTabUsed: string;
@@ -9741,6 +9822,19 @@ export declare const telephonyCdrContract: {
9741
9822
  error?: any;
9742
9823
  }>;
9743
9824
  };
9825
+ };
9826
+ updateCallSetting: {
9827
+ body: z.ZodObject<{
9828
+ callRedirectTo: z.ZodString;
9829
+ isMultiTabUsed: z.ZodString;
9830
+ }, "strip", z.ZodTypeAny, {
9831
+ callRedirectTo: string;
9832
+ isMultiTabUsed: string;
9833
+ }, {
9834
+ callRedirectTo: string;
9835
+ isMultiTabUsed: string;
9836
+ }>;
9837
+ method: "PATCH";
9744
9838
  path: "telephony-cdr/call-setting";
9745
9839
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
9746
9840
  'x-tenant': z.ZodString;
@@ -9758,25 +9852,13 @@ export declare const telephonyCdrContract: {
9758
9852
  'x-code'?: string | undefined;
9759
9853
  'x-client-timezone'?: string | undefined;
9760
9854
  }>>>;
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";
9774
9855
  responses: {
9775
- 200: z.ZodObject<{
9856
+ 200: z.ZodObject<z.objectUtil.extendShape<{
9776
9857
  requestId: z.ZodString;
9858
+ }, {
9777
9859
  callRedirectTo: z.ZodString;
9778
9860
  isMultiTabUsed: z.ZodString;
9779
- }, "strip", z.ZodTypeAny, {
9861
+ }>, "strip", z.ZodTypeAny, {
9780
9862
  requestId: string;
9781
9863
  callRedirectTo: string;
9782
9864
  isMultiTabUsed: string;
@@ -9813,23 +9895,6 @@ export declare const telephonyCdrContract: {
9813
9895
  error?: any;
9814
9896
  }>;
9815
9897
  };
9816
- path: "telephony-cdr/call-setting";
9817
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
9818
- 'x-tenant': z.ZodString;
9819
- authorization: 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
- authorization: string;
9825
- 'x-client-timezone': string;
9826
- 'x-code'?: string | undefined;
9827
- }, {
9828
- 'x-tenant': string;
9829
- authorization: string;
9830
- 'x-code'?: string | undefined;
9831
- 'x-client-timezone'?: string | undefined;
9832
- }>>>;
9833
9898
  };
9834
9899
  };
9835
9900
  //# sourceMappingURL=index.d.ts.map