@kl1/contracts 1.1.77-uat → 1.1.79-uat

Sign up to get free protection for your applications and to get access to all the features.
Files changed (213) 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/aws/index.d.ts +8 -6
  11. package/dist/api-contracts/src/aws/index.d.ts.map +1 -1
  12. package/dist/api-contracts/src/botpress/index.d.ts +17 -13
  13. package/dist/api-contracts/src/botpress/index.d.ts.map +1 -1
  14. package/dist/api-contracts/src/business-calendar/index.d.ts +40 -28
  15. package/dist/api-contracts/src/business-calendar/index.d.ts.map +1 -1
  16. package/dist/api-contracts/src/business-calendar/schema.d.ts +15 -10
  17. package/dist/api-contracts/src/business-calendar/schema.d.ts.map +1 -1
  18. package/dist/api-contracts/src/call-log/schema.d.ts +5 -4
  19. package/dist/api-contracts/src/call-log/schema.d.ts.map +1 -1
  20. package/dist/api-contracts/src/category/index.d.ts +118 -109
  21. package/dist/api-contracts/src/category/index.d.ts.map +1 -1
  22. package/dist/api-contracts/src/category/schema.d.ts +3 -2
  23. package/dist/api-contracts/src/category/schema.d.ts.map +1 -1
  24. package/dist/api-contracts/src/channel/index.d.ts +411 -392
  25. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  26. package/dist/api-contracts/src/channel/schema.d.ts +6 -6
  27. package/dist/api-contracts/src/channel/validation.d.ts +8 -8
  28. package/dist/api-contracts/src/chat/index.d.ts +12528 -12120
  29. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  30. package/dist/api-contracts/src/chat/schema.d.ts +2814 -2654
  31. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  32. package/dist/api-contracts/src/chat/validation.d.ts +2150 -2083
  33. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  34. package/dist/api-contracts/src/comment/index.d.ts +281 -224
  35. package/dist/api-contracts/src/comment/index.d.ts.map +1 -1
  36. package/dist/api-contracts/src/comment/schema.d.ts +68 -50
  37. package/dist/api-contracts/src/comment/schema.d.ts.map +1 -1
  38. package/dist/api-contracts/src/company/index.d.ts +138 -111
  39. package/dist/api-contracts/src/company/index.d.ts.map +1 -1
  40. package/dist/api-contracts/src/company/schema.d.ts +33 -24
  41. package/dist/api-contracts/src/company/schema.d.ts.map +1 -1
  42. package/dist/api-contracts/src/company/validation.d.ts +78 -62
  43. package/dist/api-contracts/src/company/validation.d.ts.map +1 -1
  44. package/dist/api-contracts/src/contact/index.d.ts +597 -501
  45. package/dist/api-contracts/src/contact/index.d.ts.map +1 -1
  46. package/dist/api-contracts/src/contact/schema.d.ts +56 -42
  47. package/dist/api-contracts/src/contact/schema.d.ts.map +1 -1
  48. package/dist/api-contracts/src/contact/validation.d.ts +263 -192
  49. package/dist/api-contracts/src/contact/validation.d.ts.map +1 -1
  50. package/dist/api-contracts/src/contact-email/schema.d.ts +3 -2
  51. package/dist/api-contracts/src/contact-email/schema.d.ts.map +1 -1
  52. package/dist/api-contracts/src/contact-phone/schema.d.ts +3 -2
  53. package/dist/api-contracts/src/contact-phone/schema.d.ts.map +1 -1
  54. package/dist/api-contracts/src/contract.d.ts +15249 -14062
  55. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  56. package/dist/api-contracts/src/custom-field/schema.d.ts +3 -2
  57. package/dist/api-contracts/src/custom-field/schema.d.ts.map +1 -1
  58. package/dist/api-contracts/src/custom-field/validation.d.ts +2 -2
  59. package/dist/api-contracts/src/custom-field-upload/schema.d.ts +3 -2
  60. package/dist/api-contracts/src/custom-field-upload/schema.d.ts.map +1 -1
  61. package/dist/api-contracts/src/cx-log/index.d.ts +648 -608
  62. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  63. package/dist/api-contracts/src/cx-log/schema.d.ts +413 -370
  64. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  65. package/dist/api-contracts/src/cx-log/validation.d.ts +38 -38
  66. package/dist/api-contracts/src/dashboard/index.d.ts +370 -330
  67. package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
  68. package/dist/api-contracts/src/dashboard/schema.d.ts +7 -6
  69. package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
  70. package/dist/api-contracts/src/dashboard/validation.d.ts +20 -14
  71. package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
  72. package/dist/api-contracts/src/evaluate-form/index.d.ts +4 -3
  73. package/dist/api-contracts/src/evaluate-form/index.d.ts.map +1 -1
  74. package/dist/api-contracts/src/evaluate-form/schema.d.ts +3 -2
  75. package/dist/api-contracts/src/evaluate-form/schema.d.ts.map +1 -1
  76. package/dist/api-contracts/src/export/index.d.ts +4 -3
  77. package/dist/api-contracts/src/export/index.d.ts.map +1 -1
  78. package/dist/api-contracts/src/extension/index.d.ts +109 -104
  79. package/dist/api-contracts/src/extension/index.d.ts.map +1 -1
  80. package/dist/api-contracts/src/facebook-feed/index.d.ts +1599 -1529
  81. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  82. package/dist/api-contracts/src/facebook-feed/schema.d.ts +43 -32
  83. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  84. package/dist/api-contracts/src/facebook-feed/validation.d.ts +76 -59
  85. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  86. package/dist/api-contracts/src/group/schema.d.ts +3 -2
  87. package/dist/api-contracts/src/group/schema.d.ts.map +1 -1
  88. package/dist/api-contracts/src/hold-label/index.d.ts +38 -28
  89. package/dist/api-contracts/src/hold-label/index.d.ts.map +1 -1
  90. package/dist/api-contracts/src/hold-label/schema.d.ts +3 -2
  91. package/dist/api-contracts/src/hold-label/schema.d.ts.map +1 -1
  92. package/dist/api-contracts/src/instagram/index.d.ts +1195 -1145
  93. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  94. package/dist/api-contracts/src/instagram/validation.d.ts +6 -6
  95. package/dist/api-contracts/src/line/index.d.ts +1869 -1819
  96. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  97. package/dist/api-contracts/src/line/schema.d.ts +12 -11
  98. package/dist/api-contracts/src/line/schema.d.ts.map +1 -1
  99. package/dist/api-contracts/src/line/validation.d.ts +62 -62
  100. package/dist/api-contracts/src/log-form/schema.d.ts +3 -2
  101. package/dist/api-contracts/src/log-form/schema.d.ts.map +1 -1
  102. package/dist/api-contracts/src/mail/account-contract.d.ts +135 -127
  103. package/dist/api-contracts/src/mail/account-contract.d.ts.map +1 -1
  104. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts +4 -3
  105. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts.map +1 -1
  106. package/dist/api-contracts/src/mail/mail-contract.d.ts +408 -366
  107. package/dist/api-contracts/src/mail/mail-contract.d.ts.map +1 -1
  108. package/dist/api-contracts/src/mail/mail-server-contract.d.ts +20 -15
  109. package/dist/api-contracts/src/mail/mail-server-contract.d.ts.map +1 -1
  110. package/dist/api-contracts/src/mail/message-contract.d.ts +113 -107
  111. package/dist/api-contracts/src/mail/message-contract.d.ts.map +1 -1
  112. package/dist/api-contracts/src/mail/room-contract.d.ts +88 -65
  113. package/dist/api-contracts/src/mail/room-contract.d.ts.map +1 -1
  114. package/dist/api-contracts/src/mail/schemas/message-validation.schema.d.ts +16 -16
  115. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +22 -18
  116. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
  117. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +15 -10
  118. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts.map +1 -1
  119. package/dist/api-contracts/src/messenger/index.d.ts +1109 -1057
  120. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  121. package/dist/api-contracts/src/messenger/validation.d.ts +76 -59
  122. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  123. package/dist/api-contracts/src/notification/index.d.ts +16 -12
  124. package/dist/api-contracts/src/notification/index.d.ts.map +1 -1
  125. package/dist/api-contracts/src/permission/index.d.ts +17 -17
  126. package/dist/api-contracts/src/public-api/index.d.ts +260 -196
  127. package/dist/api-contracts/src/public-api/index.d.ts.map +1 -1
  128. package/dist/api-contracts/src/public-api/schema.d.ts +48 -34
  129. package/dist/api-contracts/src/public-api/schema.d.ts.map +1 -1
  130. package/dist/api-contracts/src/public-api/validation.d.ts +113 -88
  131. package/dist/api-contracts/src/public-api/validation.d.ts.map +1 -1
  132. package/dist/api-contracts/src/role/index.d.ts +84 -80
  133. package/dist/api-contracts/src/role/index.d.ts.map +1 -1
  134. package/dist/api-contracts/src/sms/index.d.ts +81 -80
  135. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  136. package/dist/api-contracts/src/snippet/index.d.ts +76 -54
  137. package/dist/api-contracts/src/snippet/index.d.ts.map +1 -1
  138. package/dist/api-contracts/src/snippet/schema.d.ts +21 -14
  139. package/dist/api-contracts/src/snippet/schema.d.ts.map +1 -1
  140. package/dist/api-contracts/src/snippet/validation.d.ts +5 -4
  141. package/dist/api-contracts/src/snippet/validation.d.ts.map +1 -1
  142. package/dist/api-contracts/src/subscription/index.d.ts +66 -45
  143. package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
  144. package/dist/api-contracts/src/subscription/schema.d.ts +90 -60
  145. package/dist/api-contracts/src/subscription/schema.d.ts.map +1 -1
  146. package/dist/api-contracts/src/tag/index.d.ts +79 -72
  147. package/dist/api-contracts/src/tag/index.d.ts.map +1 -1
  148. package/dist/api-contracts/src/tag/schema.d.ts +3 -2
  149. package/dist/api-contracts/src/tag/schema.d.ts.map +1 -1
  150. package/dist/api-contracts/src/tag-group/schema.d.ts +3 -2
  151. package/dist/api-contracts/src/tag-group/schema.d.ts.map +1 -1
  152. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +75 -67
  153. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  154. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +9 -6
  155. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  156. package/dist/api-contracts/src/telephony-cdr/call-report.schema.d.ts +38 -38
  157. package/dist/api-contracts/src/telephony-cdr/index.d.ts +1179 -1116
  158. package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
  159. package/dist/api-contracts/src/telephony-cdr/schema.d.ts +186 -166
  160. package/dist/api-contracts/src/telephony-cdr/schema.d.ts.map +1 -1
  161. package/dist/api-contracts/src/telephony-cdr/validation.d.ts +52 -45
  162. package/dist/api-contracts/src/telephony-cdr/validation.d.ts.map +1 -1
  163. package/dist/api-contracts/src/telephony-extension/index.d.ts +21 -21
  164. package/dist/api-contracts/src/telephony-extension/schema.d.ts +4 -4
  165. package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts +3 -2
  166. package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts.map +1 -1
  167. package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts +3 -2
  168. package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts.map +1 -1
  169. package/dist/api-contracts/src/tenant/schema.d.ts +3 -2
  170. package/dist/api-contracts/src/tenant/schema.d.ts.map +1 -1
  171. package/dist/api-contracts/src/ticket/index.d.ts +717 -618
  172. package/dist/api-contracts/src/ticket/index.d.ts.map +1 -1
  173. package/dist/api-contracts/src/ticket/schema.d.ts +81 -58
  174. package/dist/api-contracts/src/ticket/schema.d.ts.map +1 -1
  175. package/dist/api-contracts/src/ticket/validation.d.ts +55 -53
  176. package/dist/api-contracts/src/ticket/validation.d.ts.map +1 -1
  177. package/dist/api-contracts/src/upload/index.d.ts +36 -34
  178. package/dist/api-contracts/src/upload/index.d.ts.map +1 -1
  179. package/dist/api-contracts/src/upload/schema.d.ts +3 -2
  180. package/dist/api-contracts/src/upload/schema.d.ts.map +1 -1
  181. package/dist/api-contracts/src/user/index.d.ts +114 -108
  182. package/dist/api-contracts/src/user/index.d.ts.map +1 -1
  183. package/dist/api-contracts/src/user/validation.d.ts +5 -4
  184. package/dist/api-contracts/src/user/validation.d.ts.map +1 -1
  185. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +32 -31
  186. package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
  187. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +9 -6
  188. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
  189. package/dist/api-contracts/src/viber/index.d.ts +994 -946
  190. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  191. package/dist/api-contracts/src/webchat/index.d.ts +962 -917
  192. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  193. package/dist/api-contracts/src/widget/index.d.ts +139 -128
  194. package/dist/api-contracts/src/widget/index.d.ts.map +1 -1
  195. package/dist/api-contracts/src/widget/schema.d.ts +3 -2
  196. package/dist/api-contracts/src/widget/schema.d.ts.map +1 -1
  197. package/dist/api-contracts/src/workflow-rule/index.d.ts +1092 -1057
  198. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  199. package/dist/api-contracts/src/workflow-rule/schema.d.ts +3 -2
  200. package/dist/api-contracts/src/workflow-rule/schema.d.ts.map +1 -1
  201. package/dist/api-contracts/src/wrap-up-form/index.d.ts +166 -147
  202. package/dist/api-contracts/src/wrap-up-form/index.d.ts.map +1 -1
  203. package/dist/api-contracts/src/wrap-up-form/schema.d.ts +9 -6
  204. package/dist/api-contracts/src/wrap-up-form/schema.d.ts.map +1 -1
  205. package/dist/api-contracts/src/wrap-up-form/validation.d.ts +21 -20
  206. package/dist/api-contracts/src/wrap-up-form/validation.d.ts.map +1 -1
  207. package/dist/api-contracts/utils.d.ts +4 -3
  208. package/dist/api-contracts/utils.d.ts.map +1 -1
  209. package/dist/index.js +1 -1
  210. package/dist/index.js.map +1 -1
  211. package/dist/index.mjs +1 -1
  212. package/dist/index.mjs.map +1 -1
  213. package/package.json +2 -2
@@ -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
  id: string;
114
135
  name: 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;
@@ -296,11 +322,12 @@ export declare const telephonyCdrContract: {
296
322
  booleanValue: z.ZodNullable<z.ZodBoolean>;
297
323
  numberValue: z.ZodNullable<z.ZodNumber>;
298
324
  dateValue: z.ZodNullable<z.ZodDate>;
299
- attribute: z.ZodObject<Omit<{
325
+ attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
300
326
  id: z.ZodString;
301
327
  createdAt: z.ZodDate;
302
328
  updatedAt: z.ZodDate;
303
329
  deletedAt: z.ZodNullable<z.ZodDate>;
330
+ }, {
304
331
  systemName: z.ZodString;
305
332
  displayName: z.ZodString;
306
333
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -309,13 +336,14 @@ export declare const telephonyCdrContract: {
309
336
  isArchived: z.ZodBoolean;
310
337
  isRequired: z.ZodBoolean;
311
338
  isUnique: z.ZodBoolean;
312
- options: z.ZodArray<z.ZodObject<{
313
- position: z.ZodNumber;
314
- value: z.ZodString;
339
+ options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
315
340
  label: z.ZodString;
341
+ value: z.ZodString;
316
342
  isDefault: z.ZodBoolean;
343
+ position: z.ZodNumber;
344
+ }, {
317
345
  id: z.ZodString;
318
- }, "strip", z.ZodTypeAny, {
346
+ }>, "strip", z.ZodTypeAny, {
319
347
  id: string;
320
348
  position: number;
321
349
  value: string;
@@ -328,14 +356,15 @@ export declare const telephonyCdrContract: {
328
356
  label: string;
329
357
  isDefault: boolean;
330
358
  }>, "many">;
331
- group: z.ZodObject<{
359
+ group: z.ZodObject<z.objectUtil.extendShape<{
332
360
  id: z.ZodString;
333
361
  createdAt: z.ZodDate;
334
362
  updatedAt: z.ZodDate;
335
363
  deletedAt: z.ZodNullable<z.ZodDate>;
364
+ }, {
336
365
  systemName: z.ZodString;
337
366
  displayName: z.ZodString;
338
- }, "strip", z.ZodTypeAny, {
367
+ }>, "strip", z.ZodTypeAny, {
339
368
  id: string;
340
369
  createdAt: Date;
341
370
  updatedAt: Date;
@@ -350,7 +379,7 @@ export declare const telephonyCdrContract: {
350
379
  systemName: string;
351
380
  displayName: string;
352
381
  }>;
353
- }, "options" | "group">, "strip", z.ZodTypeAny, {
382
+ }>, "options" | "group">, "strip", z.ZodTypeAny, {
354
383
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
355
384
  id: string;
356
385
  position: number;
@@ -377,18 +406,19 @@ export declare const telephonyCdrContract: {
377
406
  isRequired: boolean;
378
407
  isUnique: boolean;
379
408
  }>;
380
- uploads: z.ZodArray<z.ZodObject<{
409
+ uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
381
410
  id: z.ZodString;
382
411
  createdAt: z.ZodDate;
383
412
  updatedAt: z.ZodDate;
384
413
  deletedAt: z.ZodNullable<z.ZodDate>;
414
+ }, {
385
415
  bucketName: z.ZodString;
386
416
  fileName: z.ZodString;
387
417
  fileSize: z.ZodNumber;
388
418
  fileKey: z.ZodString;
389
419
  fileUrl: z.ZodNullable<z.ZodString>;
390
420
  status: z.ZodNullable<z.ZodString>;
391
- }, "strip", z.ZodTypeAny, {
421
+ }>, "strip", z.ZodTypeAny, {
392
422
  id: string;
393
423
  status: string | null;
394
424
  createdAt: Date;
@@ -779,16 +809,17 @@ export declare const telephonyCdrContract: {
779
809
  };
780
810
  }[] | undefined;
781
811
  }>>;
782
- telephonyQueue: z.ZodNullable<z.ZodOptional<z.ZodObject<{
812
+ telephonyQueue: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
783
813
  id: z.ZodString;
784
814
  createdAt: z.ZodDate;
785
815
  updatedAt: z.ZodDate;
786
816
  deletedAt: z.ZodNullable<z.ZodDate>;
817
+ }, {
787
818
  queueId: z.ZodNumber;
788
819
  queueName: z.ZodString;
789
820
  queueNumber: z.ZodString;
790
821
  maximumWaitingTime: z.ZodNumber;
791
- }, "strip", z.ZodTypeAny, {
822
+ }>, "strip", z.ZodTypeAny, {
792
823
  id: string;
793
824
  createdAt: Date;
794
825
  updatedAt: Date;
@@ -815,18 +846,19 @@ export declare const telephonyCdrContract: {
815
846
  agentRingTime: z.ZodNullable<z.ZodNumber>;
816
847
  uploadId: z.ZodNullable<z.ZodString>;
817
848
  serialNumber: z.ZodNullable<z.ZodString>;
818
- upload: z.ZodNullable<z.ZodOptional<z.ZodObject<{
849
+ upload: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
819
850
  id: z.ZodString;
820
851
  createdAt: z.ZodDate;
821
852
  updatedAt: z.ZodDate;
822
853
  deletedAt: z.ZodNullable<z.ZodDate>;
854
+ }, {
823
855
  bucketName: z.ZodString;
824
856
  fileName: z.ZodString;
825
857
  fileSize: z.ZodNumber;
826
858
  fileKey: z.ZodString;
827
859
  fileUrl: z.ZodNullable<z.ZodString>;
828
860
  status: z.ZodNullable<z.ZodString>;
829
- }, "strip", z.ZodTypeAny, {
861
+ }>, "strip", z.ZodTypeAny, {
830
862
  id: string;
831
863
  status: string | null;
832
864
  createdAt: Date;
@@ -1261,7 +1293,7 @@ export declare const telephonyCdrContract: {
1261
1293
  updatedAt?: string | undefined;
1262
1294
  }>>>;
1263
1295
  }, "strip", z.ZodTypeAny, {
1264
- callTo?: {
1296
+ callFrom?: {
1265
1297
  id: string;
1266
1298
  user: {
1267
1299
  id: string;
@@ -1287,7 +1319,7 @@ export declare const telephonyCdrContract: {
1287
1319
  createdAt?: string | undefined;
1288
1320
  updatedAt?: string | undefined;
1289
1321
  } | null | undefined;
1290
- callFrom?: {
1322
+ callTo?: {
1291
1323
  id: string;
1292
1324
  user: {
1293
1325
  id: string;
@@ -1314,7 +1346,7 @@ export declare const telephonyCdrContract: {
1314
1346
  updatedAt?: string | undefined;
1315
1347
  } | null | undefined;
1316
1348
  }, {
1317
- callTo?: {
1349
+ callFrom?: {
1318
1350
  id: string;
1319
1351
  user: {
1320
1352
  id: string;
@@ -1340,7 +1372,7 @@ export declare const telephonyCdrContract: {
1340
1372
  createdAt?: string | undefined;
1341
1373
  updatedAt?: string | undefined;
1342
1374
  } | null | undefined;
1343
- callFrom?: {
1375
+ callTo?: {
1344
1376
  id: string;
1345
1377
  user: {
1346
1378
  id: string;
@@ -1369,7 +1401,7 @@ export declare const telephonyCdrContract: {
1369
1401
  }>>;
1370
1402
  isQueueMissedCall: z.ZodBoolean;
1371
1403
  extensionId: z.ZodNullable<z.ZodString>;
1372
- extension: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1404
+ extension: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
1373
1405
  id: z.ZodString;
1374
1406
  createdAt: z.ZodDate;
1375
1407
  updatedAt: z.ZodDate;
@@ -1381,6 +1413,7 @@ export declare const telephonyCdrContract: {
1381
1413
  extensionId: z.ZodNullable<z.ZodString>;
1382
1414
  extensionName: z.ZodString;
1383
1415
  telephonySignature: z.ZodNullable<z.ZodString>;
1416
+ }, {
1384
1417
  user: z.ZodNullable<z.ZodOptional<z.ZodObject<{
1385
1418
  id: z.ZodString;
1386
1419
  createdAt: z.ZodDate;
@@ -1585,7 +1618,7 @@ export declare const telephonyCdrContract: {
1585
1618
  telephonySignature: string | null;
1586
1619
  };
1587
1620
  }>>>;
1588
- }, "strip", z.ZodTypeAny, {
1621
+ }>, "strip", z.ZodTypeAny, {
1589
1622
  id: string;
1590
1623
  createdAt: Date;
1591
1624
  updatedAt: Date;
@@ -1700,7 +1733,7 @@ export declare const telephonyCdrContract: {
1700
1733
  }>>>;
1701
1734
  telephonyQueueId: z.ZodNullable<z.ZodString>;
1702
1735
  contactId: z.ZodNullable<z.ZodString>;
1703
- }, "strip", z.ZodTypeAny, {
1736
+ }>, "strip", z.ZodTypeAny, {
1704
1737
  type: string;
1705
1738
  id: string;
1706
1739
  recording: string | null;
@@ -1723,7 +1756,7 @@ export declare const telephonyCdrContract: {
1723
1756
  uploadId: string | null;
1724
1757
  serialNumber: string | null;
1725
1758
  callParticipants: {
1726
- callTo?: {
1759
+ callFrom?: {
1727
1760
  id: string;
1728
1761
  user: {
1729
1762
  id: string;
@@ -1749,7 +1782,7 @@ export declare const telephonyCdrContract: {
1749
1782
  createdAt?: string | undefined;
1750
1783
  updatedAt?: string | undefined;
1751
1784
  } | null | undefined;
1752
- callFrom?: {
1785
+ callTo?: {
1753
1786
  id: string;
1754
1787
  user: {
1755
1788
  id: string;
@@ -1779,6 +1812,63 @@ export declare const telephonyCdrContract: {
1779
1812
  isQueueMissedCall: boolean;
1780
1813
  telephonyQueueId: string | null;
1781
1814
  contactId: string | null;
1815
+ extension?: {
1816
+ id: string;
1817
+ createdAt: Date;
1818
+ updatedAt: Date;
1819
+ deletedAt: Date | null;
1820
+ userId: string | null;
1821
+ sipServerUrl: string;
1822
+ sipUserName: string;
1823
+ webphoneLoginUser: string;
1824
+ extensionId: string | null;
1825
+ extensionName: string;
1826
+ telephonySignature: string | null;
1827
+ user?: {
1828
+ id: string;
1829
+ address: string | null;
1830
+ name: string;
1831
+ email: string;
1832
+ createdAt: Date;
1833
+ updatedAt: Date;
1834
+ deletedAt: Date | null;
1835
+ emailVerifiedAt: Date | null;
1836
+ password: string;
1837
+ phone: string | null;
1838
+ notificationCount: number | null;
1839
+ roles: {
1840
+ id: string;
1841
+ description: string | null;
1842
+ createdAt: Date;
1843
+ updatedAt: Date;
1844
+ deletedAt: Date | null;
1845
+ systemName: string;
1846
+ displayName: string;
1847
+ permissions: {
1848
+ id: string;
1849
+ description: string | null;
1850
+ createdAt: Date;
1851
+ updatedAt: Date;
1852
+ deletedAt: Date | null;
1853
+ systemName: string;
1854
+ displayName: string;
1855
+ }[];
1856
+ }[];
1857
+ extension: {
1858
+ id: string;
1859
+ createdAt: Date;
1860
+ updatedAt: Date;
1861
+ deletedAt: Date | null;
1862
+ userId: string | null;
1863
+ sipServerUrl: string;
1864
+ sipUserName: string;
1865
+ webphoneLoginUser: string;
1866
+ extensionId: string | null;
1867
+ extensionName: string;
1868
+ telephonySignature: string | null;
1869
+ };
1870
+ } | null | undefined;
1871
+ } | null | undefined;
1782
1872
  contact?: {
1783
1873
  id: string;
1784
1874
  channel: string | null;
@@ -1898,63 +1988,6 @@ export declare const telephonyCdrContract: {
1898
1988
  fileSize: number;
1899
1989
  fileUrl: string | null;
1900
1990
  } | null | undefined;
1901
- extension?: {
1902
- id: string;
1903
- createdAt: Date;
1904
- updatedAt: Date;
1905
- deletedAt: Date | null;
1906
- userId: string | null;
1907
- sipServerUrl: string;
1908
- sipUserName: string;
1909
- webphoneLoginUser: string;
1910
- extensionId: string | null;
1911
- extensionName: string;
1912
- telephonySignature: string | null;
1913
- user?: {
1914
- id: string;
1915
- address: string | null;
1916
- name: string;
1917
- email: string;
1918
- createdAt: Date;
1919
- updatedAt: Date;
1920
- deletedAt: Date | null;
1921
- emailVerifiedAt: Date | null;
1922
- password: string;
1923
- phone: string | null;
1924
- notificationCount: number | null;
1925
- roles: {
1926
- id: string;
1927
- description: string | null;
1928
- createdAt: Date;
1929
- updatedAt: Date;
1930
- deletedAt: Date | null;
1931
- systemName: string;
1932
- displayName: string;
1933
- permissions: {
1934
- id: string;
1935
- description: string | null;
1936
- createdAt: Date;
1937
- updatedAt: Date;
1938
- deletedAt: Date | null;
1939
- systemName: string;
1940
- displayName: string;
1941
- }[];
1942
- }[];
1943
- extension: {
1944
- id: string;
1945
- createdAt: Date;
1946
- updatedAt: Date;
1947
- deletedAt: Date | null;
1948
- userId: string | null;
1949
- sipServerUrl: string;
1950
- sipUserName: string;
1951
- webphoneLoginUser: string;
1952
- extensionId: string | null;
1953
- extensionName: string;
1954
- telephonySignature: string | null;
1955
- };
1956
- } | null | undefined;
1957
- } | null | undefined;
1958
1991
  }, {
1959
1992
  type: string;
1960
1993
  id: string;
@@ -1978,7 +2011,7 @@ export declare const telephonyCdrContract: {
1978
2011
  uploadId: string | null;
1979
2012
  serialNumber: string | null;
1980
2013
  callParticipants: {
1981
- callTo?: {
2014
+ callFrom?: {
1982
2015
  id: string;
1983
2016
  user: {
1984
2017
  id: string;
@@ -2004,7 +2037,7 @@ export declare const telephonyCdrContract: {
2004
2037
  createdAt?: string | undefined;
2005
2038
  updatedAt?: string | undefined;
2006
2039
  } | null | undefined;
2007
- callFrom?: {
2040
+ callTo?: {
2008
2041
  id: string;
2009
2042
  user: {
2010
2043
  id: string;
@@ -2034,48 +2067,105 @@ export declare const telephonyCdrContract: {
2034
2067
  isQueueMissedCall: boolean;
2035
2068
  telephonyQueueId: string | null;
2036
2069
  contactId: string | null;
2037
- contact?: {
2070
+ extension?: {
2038
2071
  id: string;
2039
- channel: string | null;
2040
- address: string | null;
2041
- name: string;
2042
2072
  createdAt: Date;
2043
2073
  updatedAt: Date;
2044
2074
  deletedAt: Date | null;
2045
- customFields: {
2075
+ userId: string | null;
2076
+ sipServerUrl: string;
2077
+ sipUserName: string;
2078
+ webphoneLoginUser: string;
2079
+ extensionId: string | null;
2080
+ extensionName: string;
2081
+ telephonySignature: string | null;
2082
+ user?: {
2046
2083
  id: string;
2084
+ address: string | null;
2085
+ name: string;
2086
+ email: string;
2047
2087
  createdAt: Date;
2048
2088
  updatedAt: Date;
2049
2089
  deletedAt: Date | null;
2050
- attribute: {
2051
- type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
2090
+ emailVerifiedAt: Date | null;
2091
+ password: string;
2092
+ phone: string | null;
2093
+ notificationCount: number | null;
2094
+ roles: {
2052
2095
  id: string;
2053
- position: number;
2096
+ description: string | null;
2054
2097
  createdAt: Date;
2055
2098
  updatedAt: Date;
2056
2099
  deletedAt: Date | null;
2057
2100
  systemName: string;
2058
2101
  displayName: string;
2059
- isDefault: boolean;
2060
- isArchived: boolean;
2061
- isRequired: boolean;
2062
- isUnique: boolean;
2063
- };
2064
- textValue: string | null;
2065
- booleanValue: boolean | null;
2066
- numberValue: number | null;
2067
- dateValue: Date | null;
2068
- uploads: {
2102
+ permissions: {
2103
+ id: string;
2104
+ description: string | null;
2105
+ createdAt: Date;
2106
+ updatedAt: Date;
2107
+ deletedAt: Date | null;
2108
+ systemName: string;
2109
+ displayName: string;
2110
+ }[];
2111
+ }[];
2112
+ extension: {
2069
2113
  id: string;
2070
- status: string | null;
2071
2114
  createdAt: Date;
2072
2115
  updatedAt: Date;
2073
2116
  deletedAt: Date | null;
2074
- fileName: string;
2075
- fileKey: string;
2076
- bucketName: string;
2077
- fileSize: number;
2078
- fileUrl: string | null;
2117
+ userId: string | null;
2118
+ sipServerUrl: string;
2119
+ sipUserName: string;
2120
+ webphoneLoginUser: string;
2121
+ extensionId: string | null;
2122
+ extensionName: string;
2123
+ telephonySignature: string | null;
2124
+ };
2125
+ } | null | undefined;
2126
+ } | null | undefined;
2127
+ contact?: {
2128
+ id: string;
2129
+ channel: string | null;
2130
+ address: string | null;
2131
+ name: string;
2132
+ createdAt: Date;
2133
+ updatedAt: Date;
2134
+ deletedAt: Date | null;
2135
+ customFields: {
2136
+ id: string;
2137
+ createdAt: Date;
2138
+ updatedAt: Date;
2139
+ deletedAt: Date | null;
2140
+ attribute: {
2141
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
2142
+ id: string;
2143
+ position: number;
2144
+ createdAt: Date;
2145
+ updatedAt: Date;
2146
+ deletedAt: Date | null;
2147
+ systemName: string;
2148
+ displayName: string;
2149
+ isDefault: boolean;
2150
+ isArchived: boolean;
2151
+ isRequired: boolean;
2152
+ isUnique: boolean;
2153
+ };
2154
+ textValue: string | null;
2155
+ booleanValue: boolean | null;
2156
+ numberValue: number | null;
2157
+ dateValue: Date | null;
2158
+ uploads: {
2159
+ id: string;
2160
+ status: string | null;
2161
+ createdAt: Date;
2162
+ updatedAt: Date;
2163
+ deletedAt: Date | null;
2164
+ fileName: string;
2165
+ fileKey: string;
2166
+ bucketName: string;
2167
+ fileSize: number;
2168
+ fileUrl: string | null;
2079
2169
  }[];
2080
2170
  }[];
2081
2171
  company: {
@@ -2153,65 +2243,8 @@ export declare const telephonyCdrContract: {
2153
2243
  fileSize: number;
2154
2244
  fileUrl: string | null;
2155
2245
  } | null | undefined;
2156
- extension?: {
2157
- id: string;
2158
- createdAt: Date;
2159
- updatedAt: Date;
2160
- deletedAt: Date | null;
2161
- userId: string | null;
2162
- sipServerUrl: string;
2163
- sipUserName: string;
2164
- webphoneLoginUser: string;
2165
- extensionId: string | null;
2166
- extensionName: string;
2167
- telephonySignature: string | null;
2168
- user?: {
2169
- id: string;
2170
- address: string | null;
2171
- name: string;
2172
- email: string;
2173
- createdAt: Date;
2174
- updatedAt: Date;
2175
- deletedAt: Date | null;
2176
- emailVerifiedAt: Date | null;
2177
- password: string;
2178
- phone: string | null;
2179
- notificationCount: number | null;
2180
- roles: {
2181
- id: string;
2182
- description: string | null;
2183
- createdAt: Date;
2184
- updatedAt: Date;
2185
- deletedAt: Date | null;
2186
- systemName: string;
2187
- displayName: string;
2188
- permissions: {
2189
- id: string;
2190
- description: string | null;
2191
- createdAt: Date;
2192
- updatedAt: Date;
2193
- deletedAt: Date | null;
2194
- systemName: string;
2195
- displayName: string;
2196
- }[];
2197
- }[];
2198
- extension: {
2199
- id: string;
2200
- createdAt: Date;
2201
- updatedAt: Date;
2202
- deletedAt: Date | null;
2203
- userId: string | null;
2204
- sipServerUrl: string;
2205
- sipUserName: string;
2206
- webphoneLoginUser: string;
2207
- extensionId: string | null;
2208
- extensionName: string;
2209
- telephonySignature: string | null;
2210
- };
2211
- } | null | undefined;
2212
- } | null | undefined;
2213
2246
  }>, "many">;
2214
- }, "strip", z.ZodTypeAny, {
2247
+ }>, "strip", z.ZodTypeAny, {
2215
2248
  total: number;
2216
2249
  page: number;
2217
2250
  pageSize: number;
@@ -2239,7 +2272,7 @@ export declare const telephonyCdrContract: {
2239
2272
  uploadId: string | null;
2240
2273
  serialNumber: string | null;
2241
2274
  callParticipants: {
2242
- callTo?: {
2275
+ callFrom?: {
2243
2276
  id: string;
2244
2277
  user: {
2245
2278
  id: string;
@@ -2265,7 +2298,7 @@ export declare const telephonyCdrContract: {
2265
2298
  createdAt?: string | undefined;
2266
2299
  updatedAt?: string | undefined;
2267
2300
  } | null | undefined;
2268
- callFrom?: {
2301
+ callTo?: {
2269
2302
  id: string;
2270
2303
  user: {
2271
2304
  id: string;
@@ -2295,6 +2328,63 @@ export declare const telephonyCdrContract: {
2295
2328
  isQueueMissedCall: boolean;
2296
2329
  telephonyQueueId: string | null;
2297
2330
  contactId: string | null;
2331
+ extension?: {
2332
+ id: string;
2333
+ createdAt: Date;
2334
+ updatedAt: Date;
2335
+ deletedAt: Date | null;
2336
+ userId: string | null;
2337
+ sipServerUrl: string;
2338
+ sipUserName: string;
2339
+ webphoneLoginUser: string;
2340
+ extensionId: string | null;
2341
+ extensionName: string;
2342
+ telephonySignature: string | null;
2343
+ user?: {
2344
+ id: string;
2345
+ address: string | null;
2346
+ name: string;
2347
+ email: string;
2348
+ createdAt: Date;
2349
+ updatedAt: Date;
2350
+ deletedAt: Date | null;
2351
+ emailVerifiedAt: Date | null;
2352
+ password: string;
2353
+ phone: string | null;
2354
+ notificationCount: number | null;
2355
+ roles: {
2356
+ id: string;
2357
+ description: string | null;
2358
+ createdAt: Date;
2359
+ updatedAt: Date;
2360
+ deletedAt: Date | null;
2361
+ systemName: string;
2362
+ displayName: string;
2363
+ permissions: {
2364
+ id: string;
2365
+ description: string | null;
2366
+ createdAt: Date;
2367
+ updatedAt: Date;
2368
+ deletedAt: Date | null;
2369
+ systemName: string;
2370
+ displayName: string;
2371
+ }[];
2372
+ }[];
2373
+ extension: {
2374
+ id: string;
2375
+ createdAt: Date;
2376
+ updatedAt: Date;
2377
+ deletedAt: Date | null;
2378
+ userId: string | null;
2379
+ sipServerUrl: string;
2380
+ sipUserName: string;
2381
+ webphoneLoginUser: string;
2382
+ extensionId: string | null;
2383
+ extensionName: string;
2384
+ telephonySignature: string | null;
2385
+ };
2386
+ } | null | undefined;
2387
+ } | null | undefined;
2298
2388
  contact?: {
2299
2389
  id: string;
2300
2390
  channel: string | null;
@@ -2414,63 +2504,6 @@ export declare const telephonyCdrContract: {
2414
2504
  fileSize: number;
2415
2505
  fileUrl: string | null;
2416
2506
  } | null | undefined;
2417
- extension?: {
2418
- id: string;
2419
- createdAt: Date;
2420
- updatedAt: Date;
2421
- deletedAt: Date | null;
2422
- userId: string | null;
2423
- sipServerUrl: string;
2424
- sipUserName: string;
2425
- webphoneLoginUser: string;
2426
- extensionId: string | null;
2427
- extensionName: string;
2428
- telephonySignature: string | null;
2429
- user?: {
2430
- id: string;
2431
- address: string | null;
2432
- name: string;
2433
- email: string;
2434
- createdAt: Date;
2435
- updatedAt: Date;
2436
- deletedAt: Date | null;
2437
- emailVerifiedAt: Date | null;
2438
- password: string;
2439
- phone: string | null;
2440
- notificationCount: number | null;
2441
- roles: {
2442
- id: string;
2443
- description: string | null;
2444
- createdAt: Date;
2445
- updatedAt: Date;
2446
- deletedAt: Date | null;
2447
- systemName: string;
2448
- displayName: string;
2449
- permissions: {
2450
- id: string;
2451
- description: string | null;
2452
- createdAt: Date;
2453
- updatedAt: Date;
2454
- deletedAt: Date | null;
2455
- systemName: string;
2456
- displayName: string;
2457
- }[];
2458
- }[];
2459
- extension: {
2460
- id: string;
2461
- createdAt: Date;
2462
- updatedAt: Date;
2463
- deletedAt: Date | null;
2464
- userId: string | null;
2465
- sipServerUrl: string;
2466
- sipUserName: string;
2467
- webphoneLoginUser: string;
2468
- extensionId: string | null;
2469
- extensionName: string;
2470
- telephonySignature: string | null;
2471
- };
2472
- } | null | undefined;
2473
- } | null | undefined;
2474
2507
  }[];
2475
2508
  }, {
2476
2509
  total: number;
@@ -2500,7 +2533,7 @@ export declare const telephonyCdrContract: {
2500
2533
  uploadId: string | null;
2501
2534
  serialNumber: string | null;
2502
2535
  callParticipants: {
2503
- callTo?: {
2536
+ callFrom?: {
2504
2537
  id: string;
2505
2538
  user: {
2506
2539
  id: string;
@@ -2526,7 +2559,7 @@ export declare const telephonyCdrContract: {
2526
2559
  createdAt?: string | undefined;
2527
2560
  updatedAt?: string | undefined;
2528
2561
  } | null | undefined;
2529
- callFrom?: {
2562
+ callTo?: {
2530
2563
  id: string;
2531
2564
  user: {
2532
2565
  id: string;
@@ -2556,21 +2589,78 @@ export declare const telephonyCdrContract: {
2556
2589
  isQueueMissedCall: boolean;
2557
2590
  telephonyQueueId: string | null;
2558
2591
  contactId: string | null;
2559
- contact?: {
2592
+ extension?: {
2560
2593
  id: string;
2561
- channel: string | null;
2562
- address: string | null;
2563
- name: string;
2564
2594
  createdAt: Date;
2565
2595
  updatedAt: Date;
2566
2596
  deletedAt: Date | null;
2567
- customFields: {
2597
+ userId: string | null;
2598
+ sipServerUrl: string;
2599
+ sipUserName: string;
2600
+ webphoneLoginUser: string;
2601
+ extensionId: string | null;
2602
+ extensionName: string;
2603
+ telephonySignature: string | null;
2604
+ user?: {
2568
2605
  id: string;
2606
+ address: string | null;
2607
+ name: string;
2608
+ email: string;
2569
2609
  createdAt: Date;
2570
2610
  updatedAt: Date;
2571
2611
  deletedAt: Date | null;
2572
- attribute: {
2573
- type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
2612
+ emailVerifiedAt: Date | null;
2613
+ password: string;
2614
+ phone: string | null;
2615
+ notificationCount: number | null;
2616
+ roles: {
2617
+ id: string;
2618
+ description: string | null;
2619
+ createdAt: Date;
2620
+ updatedAt: Date;
2621
+ deletedAt: Date | null;
2622
+ systemName: string;
2623
+ displayName: string;
2624
+ permissions: {
2625
+ id: string;
2626
+ description: string | null;
2627
+ createdAt: Date;
2628
+ updatedAt: Date;
2629
+ deletedAt: Date | null;
2630
+ systemName: string;
2631
+ displayName: string;
2632
+ }[];
2633
+ }[];
2634
+ extension: {
2635
+ id: string;
2636
+ createdAt: Date;
2637
+ updatedAt: Date;
2638
+ deletedAt: Date | null;
2639
+ userId: string | null;
2640
+ sipServerUrl: string;
2641
+ sipUserName: string;
2642
+ webphoneLoginUser: string;
2643
+ extensionId: string | null;
2644
+ extensionName: string;
2645
+ telephonySignature: string | null;
2646
+ };
2647
+ } | null | undefined;
2648
+ } | null | undefined;
2649
+ contact?: {
2650
+ id: string;
2651
+ channel: string | null;
2652
+ address: string | null;
2653
+ name: string;
2654
+ createdAt: Date;
2655
+ updatedAt: Date;
2656
+ deletedAt: Date | null;
2657
+ customFields: {
2658
+ id: string;
2659
+ createdAt: Date;
2660
+ updatedAt: Date;
2661
+ deletedAt: Date | null;
2662
+ attribute: {
2663
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
2574
2664
  id: string;
2575
2665
  position: number;
2576
2666
  createdAt: Date;
@@ -2675,63 +2765,6 @@ export declare const telephonyCdrContract: {
2675
2765
  fileSize: number;
2676
2766
  fileUrl: string | null;
2677
2767
  } | null | undefined;
2678
- extension?: {
2679
- id: string;
2680
- createdAt: Date;
2681
- updatedAt: Date;
2682
- deletedAt: Date | null;
2683
- userId: string | null;
2684
- sipServerUrl: string;
2685
- sipUserName: string;
2686
- webphoneLoginUser: string;
2687
- extensionId: string | null;
2688
- extensionName: string;
2689
- telephonySignature: string | null;
2690
- user?: {
2691
- id: string;
2692
- address: string | null;
2693
- name: string;
2694
- email: string;
2695
- createdAt: Date;
2696
- updatedAt: Date;
2697
- deletedAt: Date | null;
2698
- emailVerifiedAt: Date | null;
2699
- password: string;
2700
- phone: string | null;
2701
- notificationCount: number | null;
2702
- roles: {
2703
- id: string;
2704
- description: string | null;
2705
- createdAt: Date;
2706
- updatedAt: Date;
2707
- deletedAt: Date | null;
2708
- systemName: string;
2709
- displayName: string;
2710
- permissions: {
2711
- id: string;
2712
- description: string | null;
2713
- createdAt: Date;
2714
- updatedAt: Date;
2715
- deletedAt: Date | null;
2716
- systemName: string;
2717
- displayName: string;
2718
- }[];
2719
- }[];
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
- };
2733
- } | null | undefined;
2734
- } | null | undefined;
2735
2768
  }[];
2736
2769
  }>;
2737
2770
  401: z.ZodObject<{
@@ -2745,30 +2778,14 @@ export declare const telephonyCdrContract: {
2745
2778
  error?: any;
2746
2779
  }>;
2747
2780
  };
2748
- path: "telephony-cdr/";
2749
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2750
- 'x-tenant': z.ZodString;
2751
- authorization: z.ZodString;
2752
- 'x-code': z.ZodOptional<z.ZodString>;
2753
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
2754
- }, "strip", z.ZodTypeAny, {
2755
- 'x-tenant': string;
2756
- authorization: string;
2757
- 'x-client-timezone': string;
2758
- 'x-code'?: string | undefined;
2759
- }, {
2760
- 'x-tenant': string;
2761
- authorization: string;
2762
- 'x-code'?: string | undefined;
2763
- 'x-client-timezone'?: string | undefined;
2764
- }>>>;
2765
2781
  };
2766
2782
  getRecordings: {
2767
2783
  summary: "Get all telephony cdr.";
2768
2784
  method: "GET";
2769
- query: z.ZodObject<{
2785
+ query: z.ZodObject<z.objectUtil.extendShape<{
2770
2786
  page: z.ZodDefault<z.ZodNumber>;
2771
2787
  pageSize: z.ZodDefault<z.ZodNumber>;
2788
+ }, {
2772
2789
  selectedDate: z.ZodOptional<z.ZodString>;
2773
2790
  type: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2774
2791
  status: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -2780,46 +2797,65 @@ export declare const telephonyCdrContract: {
2780
2797
  agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2781
2798
  agentCallsOnly: z.ZodOptional<z.ZodBoolean>;
2782
2799
  contactId: z.ZodOptional<z.ZodString>;
2783
- }, "strip", z.ZodTypeAny, {
2800
+ }>, "strip", z.ZodTypeAny, {
2784
2801
  page: number;
2785
2802
  pageSize: number;
2786
- selectedDate?: string | undefined;
2787
2803
  type?: string[] | undefined;
2788
2804
  status?: string[] | undefined;
2805
+ userId?: string | undefined;
2789
2806
  callFrom?: string | undefined;
2790
2807
  callTo?: string | undefined;
2808
+ contactId?: string | undefined;
2809
+ selectedDate?: string | undefined;
2810
+ agentIds?: string[] | undefined;
2791
2811
  trunk?: string[] | undefined;
2792
- userId?: string | undefined;
2793
2812
  queueStatus?: string | undefined;
2794
- agentIds?: string[] | undefined;
2795
2813
  agentCallsOnly?: boolean | undefined;
2796
- contactId?: string | undefined;
2797
2814
  }, {
2798
- page?: number | undefined;
2799
- pageSize?: number | undefined;
2800
- selectedDate?: string | undefined;
2801
2815
  type?: string[] | undefined;
2816
+ page?: number | undefined;
2802
2817
  status?: string[] | undefined;
2818
+ pageSize?: number | undefined;
2819
+ userId?: string | undefined;
2803
2820
  callFrom?: string | undefined;
2804
2821
  callTo?: string | undefined;
2822
+ contactId?: string | undefined;
2823
+ selectedDate?: string | undefined;
2824
+ agentIds?: string[] | undefined;
2805
2825
  trunk?: string[] | undefined;
2806
- userId?: string | undefined;
2807
2826
  queueStatus?: string | undefined;
2808
- agentIds?: string[] | undefined;
2809
2827
  agentCallsOnly?: boolean | undefined;
2810
- contactId?: string | undefined;
2811
2828
  }>;
2829
+ path: "telephony-cdr/recordings";
2830
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
2831
+ 'x-tenant': z.ZodString;
2832
+ authorization: z.ZodString;
2833
+ 'x-code': z.ZodOptional<z.ZodString>;
2834
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
2835
+ }, "strip", z.ZodTypeAny, {
2836
+ 'x-tenant': string;
2837
+ authorization: string;
2838
+ 'x-client-timezone': string;
2839
+ 'x-code'?: string | undefined;
2840
+ }, {
2841
+ 'x-tenant': string;
2842
+ authorization: string;
2843
+ 'x-code'?: string | undefined;
2844
+ 'x-client-timezone'?: string | undefined;
2845
+ }>>>;
2812
2846
  responses: {
2813
- 200: z.ZodObject<{
2847
+ 200: z.ZodObject<z.objectUtil.extendShape<{
2814
2848
  requestId: z.ZodString;
2849
+ }, {
2815
2850
  total: z.ZodNumber;
2816
2851
  page: z.ZodNumber;
2817
2852
  pageSize: z.ZodNumber;
2818
- telephonyCdrs: z.ZodArray<z.ZodObject<{
2853
+ telephonyCdrs: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
2819
2854
  id: z.ZodString;
2820
2855
  createdAt: z.ZodDate;
2821
2856
  updatedAt: z.ZodDate;
2822
2857
  deletedAt: z.ZodNullable<z.ZodDate>;
2858
+ }, {
2823
2859
  uniqueCallId: z.ZodString;
2824
2860
  timeStart: z.ZodString;
2825
2861
  callFrom: z.ZodString;
@@ -2839,13 +2875,14 @@ export declare const telephonyCdrContract: {
2839
2875
  notes: z.ZodNullable<z.ZodString>;
2840
2876
  contactProfile: z.ZodNullable<z.ZodString>;
2841
2877
  socialProfileUrl: z.ZodNullable<z.ZodString>;
2842
- tags: z.ZodArray<z.ZodObject<{
2878
+ tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
2843
2879
  id: z.ZodString;
2844
2880
  createdAt: z.ZodDate;
2845
2881
  updatedAt: z.ZodDate;
2846
2882
  deletedAt: z.ZodNullable<z.ZodDate>;
2883
+ }, {
2847
2884
  name: z.ZodString;
2848
- }, "strip", z.ZodTypeAny, {
2885
+ }>, "strip", z.ZodTypeAny, {
2849
2886
  id: string;
2850
2887
  name: string;
2851
2888
  createdAt: Date;
@@ -2858,29 +2895,32 @@ export declare const telephonyCdrContract: {
2858
2895
  updatedAt: Date;
2859
2896
  deletedAt: Date | null;
2860
2897
  }>, "many">;
2861
- company: z.ZodNullable<z.ZodObject<Omit<{
2898
+ company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
2862
2899
  id: z.ZodString;
2863
2900
  createdAt: z.ZodDate;
2864
2901
  updatedAt: z.ZodDate;
2865
2902
  deletedAt: z.ZodNullable<z.ZodDate>;
2903
+ }, {
2866
2904
  name: z.ZodOptional<z.ZodString>;
2867
2905
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2868
2906
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2869
2907
  industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2870
- customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
2908
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
2871
2909
  id: z.ZodString;
2872
2910
  createdAt: z.ZodDate;
2873
2911
  updatedAt: z.ZodDate;
2874
2912
  deletedAt: z.ZodNullable<z.ZodDate>;
2913
+ }, {
2875
2914
  textValue: z.ZodNullable<z.ZodString>;
2876
2915
  booleanValue: z.ZodNullable<z.ZodBoolean>;
2877
2916
  numberValue: z.ZodNullable<z.ZodNumber>;
2878
2917
  dateValue: z.ZodNullable<z.ZodDate>;
2879
- attribute: z.ZodObject<Omit<{
2918
+ attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
2880
2919
  id: z.ZodString;
2881
2920
  createdAt: z.ZodDate;
2882
2921
  updatedAt: z.ZodDate;
2883
2922
  deletedAt: z.ZodNullable<z.ZodDate>;
2923
+ }, {
2884
2924
  systemName: z.ZodString;
2885
2925
  displayName: z.ZodString;
2886
2926
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -2889,13 +2929,14 @@ export declare const telephonyCdrContract: {
2889
2929
  isArchived: z.ZodBoolean;
2890
2930
  isRequired: z.ZodBoolean;
2891
2931
  isUnique: z.ZodBoolean;
2892
- options: z.ZodArray<z.ZodObject<{
2893
- position: z.ZodNumber;
2894
- value: z.ZodString;
2932
+ options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
2895
2933
  label: z.ZodString;
2934
+ value: z.ZodString;
2896
2935
  isDefault: z.ZodBoolean;
2936
+ position: z.ZodNumber;
2937
+ }, {
2897
2938
  id: z.ZodString;
2898
- }, "strip", z.ZodTypeAny, {
2939
+ }>, "strip", z.ZodTypeAny, {
2899
2940
  id: string;
2900
2941
  position: number;
2901
2942
  value: string;
@@ -2908,14 +2949,15 @@ export declare const telephonyCdrContract: {
2908
2949
  label: string;
2909
2950
  isDefault: boolean;
2910
2951
  }>, "many">;
2911
- group: z.ZodObject<{
2952
+ group: z.ZodObject<z.objectUtil.extendShape<{
2912
2953
  id: z.ZodString;
2913
2954
  createdAt: z.ZodDate;
2914
2955
  updatedAt: z.ZodDate;
2915
2956
  deletedAt: z.ZodNullable<z.ZodDate>;
2957
+ }, {
2916
2958
  systemName: z.ZodString;
2917
2959
  displayName: z.ZodString;
2918
- }, "strip", z.ZodTypeAny, {
2960
+ }>, "strip", z.ZodTypeAny, {
2919
2961
  id: string;
2920
2962
  createdAt: Date;
2921
2963
  updatedAt: Date;
@@ -2930,7 +2972,7 @@ export declare const telephonyCdrContract: {
2930
2972
  systemName: string;
2931
2973
  displayName: string;
2932
2974
  }>;
2933
- }, "options" | "group">, "strip", z.ZodTypeAny, {
2975
+ }>, "options" | "group">, "strip", z.ZodTypeAny, {
2934
2976
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
2935
2977
  id: string;
2936
2978
  position: number;
@@ -2957,7 +2999,7 @@ export declare const telephonyCdrContract: {
2957
2999
  isRequired: boolean;
2958
3000
  isUnique: boolean;
2959
3001
  }>;
2960
- }, "strip", z.ZodTypeAny, {
3002
+ }>, "strip", z.ZodTypeAny, {
2961
3003
  id: string;
2962
3004
  createdAt: Date;
2963
3005
  updatedAt: Date;
@@ -3004,7 +3046,7 @@ export declare const telephonyCdrContract: {
3004
3046
  numberValue: number | null;
3005
3047
  dateValue: Date | null;
3006
3048
  }>, "many">>;
3007
- }, "customFields">, "strip", z.ZodTypeAny, {
3049
+ }>, "customFields">, "strip", z.ZodTypeAny, {
3008
3050
  id: string;
3009
3051
  createdAt: Date;
3010
3052
  updatedAt: Date;
@@ -3032,11 +3074,12 @@ export declare const telephonyCdrContract: {
3032
3074
  booleanValue: z.ZodNullable<z.ZodBoolean>;
3033
3075
  numberValue: z.ZodNullable<z.ZodNumber>;
3034
3076
  dateValue: z.ZodNullable<z.ZodDate>;
3035
- attribute: z.ZodObject<Omit<{
3077
+ attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
3036
3078
  id: z.ZodString;
3037
3079
  createdAt: z.ZodDate;
3038
3080
  updatedAt: z.ZodDate;
3039
3081
  deletedAt: z.ZodNullable<z.ZodDate>;
3082
+ }, {
3040
3083
  systemName: z.ZodString;
3041
3084
  displayName: z.ZodString;
3042
3085
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -3045,13 +3088,14 @@ export declare const telephonyCdrContract: {
3045
3088
  isArchived: z.ZodBoolean;
3046
3089
  isRequired: z.ZodBoolean;
3047
3090
  isUnique: z.ZodBoolean;
3048
- options: z.ZodArray<z.ZodObject<{
3049
- position: z.ZodNumber;
3050
- value: z.ZodString;
3091
+ options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
3051
3092
  label: z.ZodString;
3093
+ value: z.ZodString;
3052
3094
  isDefault: z.ZodBoolean;
3095
+ position: z.ZodNumber;
3096
+ }, {
3053
3097
  id: z.ZodString;
3054
- }, "strip", z.ZodTypeAny, {
3098
+ }>, "strip", z.ZodTypeAny, {
3055
3099
  id: string;
3056
3100
  position: number;
3057
3101
  value: string;
@@ -3064,14 +3108,15 @@ export declare const telephonyCdrContract: {
3064
3108
  label: string;
3065
3109
  isDefault: boolean;
3066
3110
  }>, "many">;
3067
- group: z.ZodObject<{
3111
+ group: z.ZodObject<z.objectUtil.extendShape<{
3068
3112
  id: z.ZodString;
3069
3113
  createdAt: z.ZodDate;
3070
3114
  updatedAt: z.ZodDate;
3071
3115
  deletedAt: z.ZodNullable<z.ZodDate>;
3116
+ }, {
3072
3117
  systemName: z.ZodString;
3073
3118
  displayName: z.ZodString;
3074
- }, "strip", z.ZodTypeAny, {
3119
+ }>, "strip", z.ZodTypeAny, {
3075
3120
  id: string;
3076
3121
  createdAt: Date;
3077
3122
  updatedAt: Date;
@@ -3086,7 +3131,7 @@ export declare const telephonyCdrContract: {
3086
3131
  systemName: string;
3087
3132
  displayName: string;
3088
3133
  }>;
3089
- }, "options" | "group">, "strip", z.ZodTypeAny, {
3134
+ }>, "options" | "group">, "strip", z.ZodTypeAny, {
3090
3135
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
3091
3136
  id: string;
3092
3137
  position: number;
@@ -3113,18 +3158,19 @@ export declare const telephonyCdrContract: {
3113
3158
  isRequired: boolean;
3114
3159
  isUnique: boolean;
3115
3160
  }>;
3116
- uploads: z.ZodArray<z.ZodObject<{
3161
+ uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
3117
3162
  id: z.ZodString;
3118
3163
  createdAt: z.ZodDate;
3119
3164
  updatedAt: z.ZodDate;
3120
3165
  deletedAt: z.ZodNullable<z.ZodDate>;
3166
+ }, {
3121
3167
  bucketName: z.ZodString;
3122
3168
  fileName: z.ZodString;
3123
3169
  fileSize: z.ZodNumber;
3124
3170
  fileKey: z.ZodString;
3125
3171
  fileUrl: z.ZodNullable<z.ZodString>;
3126
3172
  status: z.ZodNullable<z.ZodString>;
3127
- }, "strip", z.ZodTypeAny, {
3173
+ }>, "strip", z.ZodTypeAny, {
3128
3174
  id: string;
3129
3175
  status: string | null;
3130
3176
  createdAt: Date;
@@ -3515,16 +3561,17 @@ export declare const telephonyCdrContract: {
3515
3561
  };
3516
3562
  }[] | undefined;
3517
3563
  }>>;
3518
- telephonyQueue: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3564
+ telephonyQueue: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
3519
3565
  id: z.ZodString;
3520
3566
  createdAt: z.ZodDate;
3521
3567
  updatedAt: z.ZodDate;
3522
3568
  deletedAt: z.ZodNullable<z.ZodDate>;
3569
+ }, {
3523
3570
  queueId: z.ZodNumber;
3524
3571
  queueName: z.ZodString;
3525
3572
  queueNumber: z.ZodString;
3526
3573
  maximumWaitingTime: z.ZodNumber;
3527
- }, "strip", z.ZodTypeAny, {
3574
+ }>, "strip", z.ZodTypeAny, {
3528
3575
  id: string;
3529
3576
  createdAt: Date;
3530
3577
  updatedAt: Date;
@@ -3551,18 +3598,19 @@ export declare const telephonyCdrContract: {
3551
3598
  agentRingTime: z.ZodNullable<z.ZodNumber>;
3552
3599
  uploadId: z.ZodNullable<z.ZodString>;
3553
3600
  serialNumber: z.ZodNullable<z.ZodString>;
3554
- upload: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3601
+ upload: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
3555
3602
  id: z.ZodString;
3556
3603
  createdAt: z.ZodDate;
3557
3604
  updatedAt: z.ZodDate;
3558
3605
  deletedAt: z.ZodNullable<z.ZodDate>;
3606
+ }, {
3559
3607
  bucketName: z.ZodString;
3560
3608
  fileName: z.ZodString;
3561
3609
  fileSize: z.ZodNumber;
3562
3610
  fileKey: z.ZodString;
3563
3611
  fileUrl: z.ZodNullable<z.ZodString>;
3564
3612
  status: z.ZodNullable<z.ZodString>;
3565
- }, "strip", z.ZodTypeAny, {
3613
+ }>, "strip", z.ZodTypeAny, {
3566
3614
  id: string;
3567
3615
  status: string | null;
3568
3616
  createdAt: Date;
@@ -3997,7 +4045,7 @@ export declare const telephonyCdrContract: {
3997
4045
  updatedAt?: string | undefined;
3998
4046
  }>>>;
3999
4047
  }, "strip", z.ZodTypeAny, {
4000
- callTo?: {
4048
+ callFrom?: {
4001
4049
  id: string;
4002
4050
  user: {
4003
4051
  id: string;
@@ -4023,7 +4071,7 @@ export declare const telephonyCdrContract: {
4023
4071
  createdAt?: string | undefined;
4024
4072
  updatedAt?: string | undefined;
4025
4073
  } | null | undefined;
4026
- callFrom?: {
4074
+ callTo?: {
4027
4075
  id: string;
4028
4076
  user: {
4029
4077
  id: string;
@@ -4050,7 +4098,7 @@ export declare const telephonyCdrContract: {
4050
4098
  updatedAt?: string | undefined;
4051
4099
  } | null | undefined;
4052
4100
  }, {
4053
- callTo?: {
4101
+ callFrom?: {
4054
4102
  id: string;
4055
4103
  user: {
4056
4104
  id: string;
@@ -4076,7 +4124,7 @@ export declare const telephonyCdrContract: {
4076
4124
  createdAt?: string | undefined;
4077
4125
  updatedAt?: string | undefined;
4078
4126
  } | null | undefined;
4079
- callFrom?: {
4127
+ callTo?: {
4080
4128
  id: string;
4081
4129
  user: {
4082
4130
  id: string;
@@ -4105,7 +4153,7 @@ export declare const telephonyCdrContract: {
4105
4153
  }>>;
4106
4154
  isQueueMissedCall: z.ZodBoolean;
4107
4155
  extensionId: z.ZodNullable<z.ZodString>;
4108
- extension: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4156
+ extension: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
4109
4157
  id: z.ZodString;
4110
4158
  createdAt: z.ZodDate;
4111
4159
  updatedAt: z.ZodDate;
@@ -4117,6 +4165,7 @@ export declare const telephonyCdrContract: {
4117
4165
  extensionId: z.ZodNullable<z.ZodString>;
4118
4166
  extensionName: z.ZodString;
4119
4167
  telephonySignature: z.ZodNullable<z.ZodString>;
4168
+ }, {
4120
4169
  user: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4121
4170
  id: z.ZodString;
4122
4171
  createdAt: z.ZodDate;
@@ -4321,7 +4370,7 @@ export declare const telephonyCdrContract: {
4321
4370
  telephonySignature: string | null;
4322
4371
  };
4323
4372
  }>>>;
4324
- }, "strip", z.ZodTypeAny, {
4373
+ }>, "strip", z.ZodTypeAny, {
4325
4374
  id: string;
4326
4375
  createdAt: Date;
4327
4376
  updatedAt: Date;
@@ -4436,7 +4485,7 @@ export declare const telephonyCdrContract: {
4436
4485
  }>>>;
4437
4486
  telephonyQueueId: z.ZodNullable<z.ZodString>;
4438
4487
  contactId: z.ZodNullable<z.ZodString>;
4439
- }, "strip", z.ZodTypeAny, {
4488
+ }>, "strip", z.ZodTypeAny, {
4440
4489
  type: string;
4441
4490
  id: string;
4442
4491
  recording: string | null;
@@ -4459,7 +4508,7 @@ export declare const telephonyCdrContract: {
4459
4508
  uploadId: string | null;
4460
4509
  serialNumber: string | null;
4461
4510
  callParticipants: {
4462
- callTo?: {
4511
+ callFrom?: {
4463
4512
  id: string;
4464
4513
  user: {
4465
4514
  id: string;
@@ -4485,7 +4534,7 @@ export declare const telephonyCdrContract: {
4485
4534
  createdAt?: string | undefined;
4486
4535
  updatedAt?: string | undefined;
4487
4536
  } | null | undefined;
4488
- callFrom?: {
4537
+ callTo?: {
4489
4538
  id: string;
4490
4539
  user: {
4491
4540
  id: string;
@@ -4515,45 +4564,102 @@ export declare const telephonyCdrContract: {
4515
4564
  isQueueMissedCall: boolean;
4516
4565
  telephonyQueueId: string | null;
4517
4566
  contactId: string | null;
4518
- contact?: {
4567
+ extension?: {
4519
4568
  id: string;
4520
- channel: string | null;
4521
- address: string | null;
4522
- name: string;
4523
4569
  createdAt: Date;
4524
4570
  updatedAt: Date;
4525
4571
  deletedAt: Date | null;
4526
- customFields: {
4572
+ userId: string | null;
4573
+ sipServerUrl: string;
4574
+ sipUserName: string;
4575
+ webphoneLoginUser: string;
4576
+ extensionId: string | null;
4577
+ extensionName: string;
4578
+ telephonySignature: string | null;
4579
+ user?: {
4527
4580
  id: string;
4581
+ address: string | null;
4582
+ name: string;
4583
+ email: string;
4528
4584
  createdAt: Date;
4529
4585
  updatedAt: Date;
4530
4586
  deletedAt: Date | null;
4531
- attribute: {
4532
- type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
4587
+ emailVerifiedAt: Date | null;
4588
+ password: string;
4589
+ phone: string | null;
4590
+ notificationCount: number | null;
4591
+ roles: {
4533
4592
  id: string;
4534
- position: number;
4593
+ description: string | null;
4535
4594
  createdAt: Date;
4536
4595
  updatedAt: Date;
4537
4596
  deletedAt: Date | null;
4538
4597
  systemName: string;
4539
4598
  displayName: string;
4540
- isDefault: boolean;
4541
- isArchived: boolean;
4542
- isRequired: boolean;
4543
- isUnique: boolean;
4544
- };
4545
- textValue: string | null;
4546
- booleanValue: boolean | null;
4547
- numberValue: number | null;
4548
- dateValue: Date | null;
4549
- uploads: {
4599
+ permissions: {
4600
+ id: string;
4601
+ description: string | null;
4602
+ createdAt: Date;
4603
+ updatedAt: Date;
4604
+ deletedAt: Date | null;
4605
+ systemName: string;
4606
+ displayName: string;
4607
+ }[];
4608
+ }[];
4609
+ extension: {
4550
4610
  id: string;
4551
- status: string | null;
4552
4611
  createdAt: Date;
4553
4612
  updatedAt: Date;
4554
4613
  deletedAt: Date | null;
4555
- fileName: string;
4556
- fileKey: string;
4614
+ userId: string | null;
4615
+ sipServerUrl: string;
4616
+ sipUserName: string;
4617
+ webphoneLoginUser: string;
4618
+ extensionId: string | null;
4619
+ extensionName: string;
4620
+ telephonySignature: string | null;
4621
+ };
4622
+ } | null | undefined;
4623
+ } | null | undefined;
4624
+ contact?: {
4625
+ id: string;
4626
+ channel: string | null;
4627
+ address: string | null;
4628
+ name: string;
4629
+ createdAt: Date;
4630
+ updatedAt: Date;
4631
+ deletedAt: Date | null;
4632
+ customFields: {
4633
+ id: string;
4634
+ createdAt: Date;
4635
+ updatedAt: Date;
4636
+ deletedAt: Date | null;
4637
+ attribute: {
4638
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
4639
+ id: string;
4640
+ position: number;
4641
+ createdAt: Date;
4642
+ updatedAt: Date;
4643
+ deletedAt: Date | null;
4644
+ systemName: string;
4645
+ displayName: string;
4646
+ isDefault: boolean;
4647
+ isArchived: boolean;
4648
+ isRequired: boolean;
4649
+ isUnique: boolean;
4650
+ };
4651
+ textValue: string | null;
4652
+ booleanValue: boolean | null;
4653
+ numberValue: number | null;
4654
+ dateValue: Date | null;
4655
+ uploads: {
4656
+ id: string;
4657
+ status: string | null;
4658
+ createdAt: Date;
4659
+ updatedAt: Date;
4660
+ deletedAt: Date | null;
4661
+ fileName: string;
4662
+ fileKey: string;
4557
4663
  bucketName: string;
4558
4664
  fileSize: number;
4559
4665
  fileUrl: string | null;
@@ -4634,63 +4740,6 @@ export declare const telephonyCdrContract: {
4634
4740
  fileSize: number;
4635
4741
  fileUrl: string | null;
4636
4742
  } | null | undefined;
4637
- extension?: {
4638
- id: string;
4639
- createdAt: Date;
4640
- updatedAt: Date;
4641
- deletedAt: Date | null;
4642
- userId: string | null;
4643
- sipServerUrl: string;
4644
- sipUserName: string;
4645
- webphoneLoginUser: string;
4646
- extensionId: string | null;
4647
- extensionName: string;
4648
- telephonySignature: string | null;
4649
- user?: {
4650
- id: string;
4651
- address: string | null;
4652
- name: string;
4653
- email: string;
4654
- createdAt: Date;
4655
- updatedAt: Date;
4656
- deletedAt: Date | null;
4657
- emailVerifiedAt: Date | null;
4658
- password: string;
4659
- phone: string | null;
4660
- notificationCount: number | null;
4661
- roles: {
4662
- id: string;
4663
- description: string | null;
4664
- createdAt: Date;
4665
- updatedAt: Date;
4666
- deletedAt: Date | null;
4667
- systemName: string;
4668
- displayName: string;
4669
- permissions: {
4670
- id: string;
4671
- description: string | null;
4672
- createdAt: Date;
4673
- updatedAt: Date;
4674
- deletedAt: Date | null;
4675
- systemName: string;
4676
- displayName: string;
4677
- }[];
4678
- }[];
4679
- extension: {
4680
- id: string;
4681
- createdAt: Date;
4682
- updatedAt: Date;
4683
- deletedAt: Date | null;
4684
- userId: string | null;
4685
- sipServerUrl: string;
4686
- sipUserName: string;
4687
- webphoneLoginUser: string;
4688
- extensionId: string | null;
4689
- extensionName: string;
4690
- telephonySignature: string | null;
4691
- };
4692
- } | null | undefined;
4693
- } | null | undefined;
4694
4743
  }, {
4695
4744
  type: string;
4696
4745
  id: string;
@@ -4714,7 +4763,7 @@ export declare const telephonyCdrContract: {
4714
4763
  uploadId: string | null;
4715
4764
  serialNumber: string | null;
4716
4765
  callParticipants: {
4717
- callTo?: {
4766
+ callFrom?: {
4718
4767
  id: string;
4719
4768
  user: {
4720
4769
  id: string;
@@ -4740,7 +4789,7 @@ export declare const telephonyCdrContract: {
4740
4789
  createdAt?: string | undefined;
4741
4790
  updatedAt?: string | undefined;
4742
4791
  } | null | undefined;
4743
- callFrom?: {
4792
+ callTo?: {
4744
4793
  id: string;
4745
4794
  user: {
4746
4795
  id: string;
@@ -4770,6 +4819,63 @@ export declare const telephonyCdrContract: {
4770
4819
  isQueueMissedCall: boolean;
4771
4820
  telephonyQueueId: string | null;
4772
4821
  contactId: string | null;
4822
+ extension?: {
4823
+ id: string;
4824
+ createdAt: Date;
4825
+ updatedAt: Date;
4826
+ deletedAt: Date | null;
4827
+ userId: string | null;
4828
+ sipServerUrl: string;
4829
+ sipUserName: string;
4830
+ webphoneLoginUser: string;
4831
+ extensionId: string | null;
4832
+ extensionName: string;
4833
+ telephonySignature: string | null;
4834
+ user?: {
4835
+ id: string;
4836
+ address: string | null;
4837
+ name: string;
4838
+ email: string;
4839
+ createdAt: Date;
4840
+ updatedAt: Date;
4841
+ deletedAt: Date | null;
4842
+ emailVerifiedAt: Date | null;
4843
+ password: string;
4844
+ phone: string | null;
4845
+ notificationCount: number | null;
4846
+ roles: {
4847
+ id: string;
4848
+ description: string | null;
4849
+ createdAt: Date;
4850
+ updatedAt: Date;
4851
+ deletedAt: Date | null;
4852
+ systemName: string;
4853
+ displayName: string;
4854
+ permissions: {
4855
+ id: string;
4856
+ description: string | null;
4857
+ createdAt: Date;
4858
+ updatedAt: Date;
4859
+ deletedAt: Date | null;
4860
+ systemName: string;
4861
+ displayName: string;
4862
+ }[];
4863
+ }[];
4864
+ extension: {
4865
+ id: string;
4866
+ createdAt: Date;
4867
+ updatedAt: Date;
4868
+ deletedAt: Date | null;
4869
+ userId: string | null;
4870
+ sipServerUrl: string;
4871
+ sipUserName: string;
4872
+ webphoneLoginUser: string;
4873
+ extensionId: string | null;
4874
+ extensionName: string;
4875
+ telephonySignature: string | null;
4876
+ };
4877
+ } | null | undefined;
4878
+ } | null | undefined;
4773
4879
  contact?: {
4774
4880
  id: string;
4775
4881
  channel: string | null;
@@ -4889,65 +4995,8 @@ export declare const telephonyCdrContract: {
4889
4995
  fileSize: number;
4890
4996
  fileUrl: string | null;
4891
4997
  } | null | undefined;
4892
- extension?: {
4893
- id: string;
4894
- createdAt: Date;
4895
- updatedAt: Date;
4896
- deletedAt: Date | null;
4897
- userId: string | null;
4898
- sipServerUrl: string;
4899
- sipUserName: string;
4900
- webphoneLoginUser: string;
4901
- extensionId: string | null;
4902
- extensionName: string;
4903
- telephonySignature: string | null;
4904
- user?: {
4905
- id: string;
4906
- address: string | null;
4907
- name: string;
4908
- email: string;
4909
- createdAt: Date;
4910
- updatedAt: Date;
4911
- deletedAt: Date | null;
4912
- emailVerifiedAt: Date | null;
4913
- password: string;
4914
- phone: string | null;
4915
- notificationCount: number | null;
4916
- roles: {
4917
- id: string;
4918
- description: string | null;
4919
- createdAt: Date;
4920
- updatedAt: Date;
4921
- deletedAt: Date | null;
4922
- systemName: string;
4923
- displayName: string;
4924
- permissions: {
4925
- id: string;
4926
- description: string | null;
4927
- createdAt: Date;
4928
- updatedAt: Date;
4929
- deletedAt: Date | null;
4930
- systemName: string;
4931
- displayName: string;
4932
- }[];
4933
- }[];
4934
- extension: {
4935
- id: string;
4936
- createdAt: Date;
4937
- updatedAt: Date;
4938
- deletedAt: Date | null;
4939
- userId: string | null;
4940
- sipServerUrl: string;
4941
- sipUserName: string;
4942
- webphoneLoginUser: string;
4943
- extensionId: string | null;
4944
- extensionName: string;
4945
- telephonySignature: string | null;
4946
- };
4947
- } | null | undefined;
4948
- } | null | undefined;
4949
4998
  }>, "many">;
4950
- }, "strip", z.ZodTypeAny, {
4999
+ }>, "strip", z.ZodTypeAny, {
4951
5000
  total: number;
4952
5001
  page: number;
4953
5002
  pageSize: number;
@@ -4975,7 +5024,7 @@ export declare const telephonyCdrContract: {
4975
5024
  uploadId: string | null;
4976
5025
  serialNumber: string | null;
4977
5026
  callParticipants: {
4978
- callTo?: {
5027
+ callFrom?: {
4979
5028
  id: string;
4980
5029
  user: {
4981
5030
  id: string;
@@ -5001,7 +5050,7 @@ export declare const telephonyCdrContract: {
5001
5050
  createdAt?: string | undefined;
5002
5051
  updatedAt?: string | undefined;
5003
5052
  } | null | undefined;
5004
- callFrom?: {
5053
+ callTo?: {
5005
5054
  id: string;
5006
5055
  user: {
5007
5056
  id: string;
@@ -5031,29 +5080,86 @@ export declare const telephonyCdrContract: {
5031
5080
  isQueueMissedCall: boolean;
5032
5081
  telephonyQueueId: string | null;
5033
5082
  contactId: string | null;
5034
- contact?: {
5083
+ extension?: {
5035
5084
  id: string;
5036
- channel: string | null;
5037
- address: string | null;
5038
- name: string;
5039
5085
  createdAt: Date;
5040
5086
  updatedAt: Date;
5041
5087
  deletedAt: Date | null;
5042
- customFields: {
5088
+ userId: string | null;
5089
+ sipServerUrl: string;
5090
+ sipUserName: string;
5091
+ webphoneLoginUser: string;
5092
+ extensionId: string | null;
5093
+ extensionName: string;
5094
+ telephonySignature: string | null;
5095
+ user?: {
5043
5096
  id: string;
5097
+ address: string | null;
5098
+ name: string;
5099
+ email: string;
5044
5100
  createdAt: Date;
5045
5101
  updatedAt: Date;
5046
5102
  deletedAt: Date | null;
5047
- attribute: {
5048
- type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
5103
+ emailVerifiedAt: Date | null;
5104
+ password: string;
5105
+ phone: string | null;
5106
+ notificationCount: number | null;
5107
+ roles: {
5049
5108
  id: string;
5050
- position: number;
5109
+ description: string | null;
5051
5110
  createdAt: Date;
5052
5111
  updatedAt: Date;
5053
5112
  deletedAt: Date | null;
5054
5113
  systemName: string;
5055
5114
  displayName: string;
5056
- isDefault: boolean;
5115
+ permissions: {
5116
+ id: string;
5117
+ description: string | null;
5118
+ createdAt: Date;
5119
+ updatedAt: Date;
5120
+ deletedAt: Date | null;
5121
+ systemName: string;
5122
+ displayName: string;
5123
+ }[];
5124
+ }[];
5125
+ extension: {
5126
+ id: string;
5127
+ createdAt: Date;
5128
+ updatedAt: Date;
5129
+ deletedAt: Date | null;
5130
+ userId: string | null;
5131
+ sipServerUrl: string;
5132
+ sipUserName: string;
5133
+ webphoneLoginUser: string;
5134
+ extensionId: string | null;
5135
+ extensionName: string;
5136
+ telephonySignature: string | null;
5137
+ };
5138
+ } | null | undefined;
5139
+ } | null | undefined;
5140
+ contact?: {
5141
+ id: string;
5142
+ channel: string | null;
5143
+ address: string | null;
5144
+ name: string;
5145
+ createdAt: Date;
5146
+ updatedAt: Date;
5147
+ deletedAt: Date | null;
5148
+ customFields: {
5149
+ id: string;
5150
+ createdAt: Date;
5151
+ updatedAt: Date;
5152
+ deletedAt: Date | null;
5153
+ attribute: {
5154
+ type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
5155
+ id: string;
5156
+ position: number;
5157
+ createdAt: Date;
5158
+ updatedAt: Date;
5159
+ deletedAt: Date | null;
5160
+ systemName: string;
5161
+ displayName: string;
5162
+ isDefault: boolean;
5057
5163
  isArchived: boolean;
5058
5164
  isRequired: boolean;
5059
5165
  isUnique: boolean;
@@ -5150,63 +5256,6 @@ export declare const telephonyCdrContract: {
5150
5256
  fileSize: number;
5151
5257
  fileUrl: string | null;
5152
5258
  } | null | undefined;
5153
- extension?: {
5154
- id: string;
5155
- createdAt: Date;
5156
- updatedAt: Date;
5157
- deletedAt: Date | null;
5158
- userId: string | null;
5159
- sipServerUrl: string;
5160
- sipUserName: string;
5161
- webphoneLoginUser: string;
5162
- extensionId: string | null;
5163
- extensionName: string;
5164
- telephonySignature: string | null;
5165
- user?: {
5166
- id: string;
5167
- address: string | null;
5168
- name: string;
5169
- email: string;
5170
- createdAt: Date;
5171
- updatedAt: Date;
5172
- deletedAt: Date | null;
5173
- emailVerifiedAt: Date | null;
5174
- password: string;
5175
- phone: string | null;
5176
- notificationCount: number | null;
5177
- roles: {
5178
- id: string;
5179
- description: string | null;
5180
- createdAt: Date;
5181
- updatedAt: Date;
5182
- deletedAt: Date | null;
5183
- systemName: string;
5184
- displayName: string;
5185
- permissions: {
5186
- id: string;
5187
- description: string | null;
5188
- createdAt: Date;
5189
- updatedAt: Date;
5190
- deletedAt: Date | null;
5191
- systemName: string;
5192
- displayName: string;
5193
- }[];
5194
- }[];
5195
- extension: {
5196
- id: string;
5197
- createdAt: Date;
5198
- updatedAt: Date;
5199
- deletedAt: Date | null;
5200
- userId: string | null;
5201
- sipServerUrl: string;
5202
- sipUserName: string;
5203
- webphoneLoginUser: string;
5204
- extensionId: string | null;
5205
- extensionName: string;
5206
- telephonySignature: string | null;
5207
- };
5208
- } | null | undefined;
5209
- } | null | undefined;
5210
5259
  }[];
5211
5260
  }, {
5212
5261
  total: number;
@@ -5236,7 +5285,7 @@ export declare const telephonyCdrContract: {
5236
5285
  uploadId: string | null;
5237
5286
  serialNumber: string | null;
5238
5287
  callParticipants: {
5239
- callTo?: {
5288
+ callFrom?: {
5240
5289
  id: string;
5241
5290
  user: {
5242
5291
  id: string;
@@ -5262,7 +5311,7 @@ export declare const telephonyCdrContract: {
5262
5311
  createdAt?: string | undefined;
5263
5312
  updatedAt?: string | undefined;
5264
5313
  } | null | undefined;
5265
- callFrom?: {
5314
+ callTo?: {
5266
5315
  id: string;
5267
5316
  user: {
5268
5317
  id: string;
@@ -5292,6 +5341,63 @@ export declare const telephonyCdrContract: {
5292
5341
  isQueueMissedCall: boolean;
5293
5342
  telephonyQueueId: string | null;
5294
5343
  contactId: string | null;
5344
+ extension?: {
5345
+ id: string;
5346
+ createdAt: Date;
5347
+ updatedAt: Date;
5348
+ deletedAt: Date | null;
5349
+ userId: string | null;
5350
+ sipServerUrl: string;
5351
+ sipUserName: string;
5352
+ webphoneLoginUser: string;
5353
+ extensionId: string | null;
5354
+ extensionName: string;
5355
+ telephonySignature: string | null;
5356
+ user?: {
5357
+ id: string;
5358
+ address: string | null;
5359
+ name: string;
5360
+ email: string;
5361
+ createdAt: Date;
5362
+ updatedAt: Date;
5363
+ deletedAt: Date | null;
5364
+ emailVerifiedAt: Date | null;
5365
+ password: string;
5366
+ phone: string | null;
5367
+ notificationCount: number | null;
5368
+ roles: {
5369
+ id: string;
5370
+ description: string | null;
5371
+ createdAt: Date;
5372
+ updatedAt: Date;
5373
+ deletedAt: Date | null;
5374
+ systemName: string;
5375
+ displayName: string;
5376
+ permissions: {
5377
+ id: string;
5378
+ description: string | null;
5379
+ createdAt: Date;
5380
+ updatedAt: Date;
5381
+ deletedAt: Date | null;
5382
+ systemName: string;
5383
+ displayName: string;
5384
+ }[];
5385
+ }[];
5386
+ extension: {
5387
+ id: string;
5388
+ createdAt: Date;
5389
+ updatedAt: Date;
5390
+ deletedAt: Date | null;
5391
+ userId: string | null;
5392
+ sipServerUrl: string;
5393
+ sipUserName: string;
5394
+ webphoneLoginUser: string;
5395
+ extensionId: string | null;
5396
+ extensionName: string;
5397
+ telephonySignature: string | null;
5398
+ };
5399
+ } | null | undefined;
5400
+ } | null | undefined;
5295
5401
  contact?: {
5296
5402
  id: string;
5297
5403
  channel: string | null;
@@ -5411,63 +5517,6 @@ export declare const telephonyCdrContract: {
5411
5517
  fileSize: number;
5412
5518
  fileUrl: string | null;
5413
5519
  } | null | undefined;
5414
- extension?: {
5415
- id: string;
5416
- createdAt: Date;
5417
- updatedAt: Date;
5418
- deletedAt: Date | null;
5419
- userId: string | null;
5420
- sipServerUrl: string;
5421
- sipUserName: string;
5422
- webphoneLoginUser: string;
5423
- extensionId: string | null;
5424
- extensionName: string;
5425
- telephonySignature: string | null;
5426
- user?: {
5427
- id: string;
5428
- address: string | null;
5429
- name: string;
5430
- email: string;
5431
- createdAt: Date;
5432
- updatedAt: Date;
5433
- deletedAt: Date | null;
5434
- emailVerifiedAt: Date | null;
5435
- password: string;
5436
- phone: string | null;
5437
- notificationCount: number | null;
5438
- roles: {
5439
- id: string;
5440
- description: string | null;
5441
- createdAt: Date;
5442
- updatedAt: Date;
5443
- deletedAt: Date | null;
5444
- systemName: string;
5445
- displayName: string;
5446
- permissions: {
5447
- id: string;
5448
- description: string | null;
5449
- createdAt: Date;
5450
- updatedAt: Date;
5451
- deletedAt: Date | null;
5452
- systemName: string;
5453
- displayName: string;
5454
- }[];
5455
- }[];
5456
- extension: {
5457
- id: string;
5458
- createdAt: Date;
5459
- updatedAt: Date;
5460
- deletedAt: Date | null;
5461
- userId: string | null;
5462
- sipServerUrl: string;
5463
- sipUserName: string;
5464
- webphoneLoginUser: string;
5465
- extensionId: string | null;
5466
- extensionName: string;
5467
- telephonySignature: string | null;
5468
- };
5469
- } | null | undefined;
5470
- } | null | undefined;
5471
5520
  }[];
5472
5521
  }>;
5473
5522
  401: z.ZodObject<{
@@ -5481,30 +5530,14 @@ export declare const telephonyCdrContract: {
5481
5530
  error?: any;
5482
5531
  }>;
5483
5532
  };
5484
- path: "telephony-cdr/recordings";
5485
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
5486
- 'x-tenant': z.ZodString;
5487
- authorization: z.ZodString;
5488
- 'x-code': z.ZodOptional<z.ZodString>;
5489
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
5490
- }, "strip", z.ZodTypeAny, {
5491
- 'x-tenant': string;
5492
- authorization: string;
5493
- 'x-client-timezone': string;
5494
- 'x-code'?: string | undefined;
5495
- }, {
5496
- 'x-tenant': string;
5497
- authorization: string;
5498
- 'x-code'?: string | undefined;
5499
- 'x-client-timezone'?: string | undefined;
5500
- }>>>;
5501
5533
  };
5502
5534
  getRecentCall: {
5503
5535
  summary: "Get recent telephony cdr.";
5504
5536
  method: "GET";
5505
- query: z.ZodObject<{
5537
+ query: z.ZodObject<z.objectUtil.extendShape<{
5506
5538
  page: z.ZodDefault<z.ZodNumber>;
5507
5539
  pageSize: z.ZodDefault<z.ZodNumber>;
5540
+ }, {
5508
5541
  type: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5509
5542
  status: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5510
5543
  callFrom: z.ZodOptional<z.ZodString>;
@@ -5517,48 +5550,67 @@ export declare const telephonyCdrContract: {
5517
5550
  callStatus: z.ZodOptional<z.ZodArray<z.ZodEnum<["incoming", "outgoing", "missed", "no_answered"]>, "many">>;
5518
5551
  queueIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
5519
5552
  notes: z.ZodOptional<z.ZodString>;
5520
- }, "strip", z.ZodTypeAny, {
5553
+ }>, "strip", z.ZodTypeAny, {
5521
5554
  page: number;
5522
5555
  pageSize: number;
5523
5556
  type?: string[] | undefined;
5524
5557
  status?: string[] | undefined;
5558
+ contact?: string[] | undefined;
5559
+ notes?: string | undefined;
5525
5560
  callFrom?: string | undefined;
5526
5561
  callTo?: string | undefined;
5562
+ agentId?: string | undefined;
5563
+ selectedDate?: string | undefined;
5527
5564
  result?: string[] | undefined;
5528
5565
  callTags?: string[] | undefined;
5529
- selectedDate?: string | undefined;
5530
- agentId?: string | undefined;
5531
- contact?: string[] | undefined;
5532
5566
  callStatus?: ("incoming" | "outgoing" | "missed" | "no_answered")[] | undefined;
5533
5567
  queueIds?: string[] | undefined;
5534
- notes?: string | undefined;
5535
5568
  }, {
5536
- page?: number | undefined;
5537
- pageSize?: number | undefined;
5538
5569
  type?: string[] | undefined;
5570
+ page?: number | undefined;
5539
5571
  status?: string[] | undefined;
5572
+ pageSize?: number | undefined;
5573
+ contact?: string[] | undefined;
5574
+ notes?: string | undefined;
5540
5575
  callFrom?: string | undefined;
5541
5576
  callTo?: string | undefined;
5577
+ agentId?: string | undefined;
5578
+ selectedDate?: string | undefined;
5542
5579
  result?: string[] | undefined;
5543
5580
  callTags?: string[] | undefined;
5544
- selectedDate?: string | undefined;
5545
- agentId?: string | undefined;
5546
- contact?: string[] | undefined;
5547
5581
  callStatus?: ("incoming" | "outgoing" | "missed" | "no_answered")[] | undefined;
5548
5582
  queueIds?: string[] | undefined;
5549
- notes?: string | undefined;
5550
5583
  }>;
5584
+ path: "telephony-cdr/recent-calls";
5585
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
5586
+ 'x-tenant': z.ZodString;
5587
+ authorization: z.ZodString;
5588
+ 'x-code': z.ZodOptional<z.ZodString>;
5589
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
5590
+ }, "strip", z.ZodTypeAny, {
5591
+ 'x-tenant': string;
5592
+ authorization: string;
5593
+ 'x-client-timezone': string;
5594
+ 'x-code'?: string | undefined;
5595
+ }, {
5596
+ 'x-tenant': string;
5597
+ authorization: string;
5598
+ 'x-code'?: string | undefined;
5599
+ 'x-client-timezone'?: string | undefined;
5600
+ }>>>;
5551
5601
  responses: {
5552
- 200: z.ZodObject<{
5602
+ 200: z.ZodObject<z.objectUtil.extendShape<{
5553
5603
  requestId: z.ZodString;
5604
+ }, {
5554
5605
  total: z.ZodNumber;
5555
5606
  page: z.ZodNumber;
5556
5607
  pageSize: z.ZodNumber;
5557
- telephonyCdrs: z.ZodArray<z.ZodObject<{
5608
+ telephonyCdrs: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5558
5609
  id: z.ZodString;
5559
5610
  createdAt: z.ZodDate;
5560
5611
  updatedAt: z.ZodDate;
5561
5612
  deletedAt: z.ZodNullable<z.ZodDate>;
5613
+ }, {
5562
5614
  uniqueCallId: z.ZodString;
5563
5615
  timeStart: z.ZodString;
5564
5616
  callFrom: z.ZodString;
@@ -5578,13 +5630,14 @@ export declare const telephonyCdrContract: {
5578
5630
  notes: z.ZodNullable<z.ZodString>;
5579
5631
  contactProfile: z.ZodNullable<z.ZodString>;
5580
5632
  socialProfileUrl: z.ZodNullable<z.ZodString>;
5581
- tags: z.ZodArray<z.ZodObject<{
5633
+ tags: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5582
5634
  id: z.ZodString;
5583
5635
  createdAt: z.ZodDate;
5584
5636
  updatedAt: z.ZodDate;
5585
5637
  deletedAt: z.ZodNullable<z.ZodDate>;
5638
+ }, {
5586
5639
  name: z.ZodString;
5587
- }, "strip", z.ZodTypeAny, {
5640
+ }>, "strip", z.ZodTypeAny, {
5588
5641
  id: string;
5589
5642
  name: string;
5590
5643
  createdAt: Date;
@@ -5597,29 +5650,32 @@ export declare const telephonyCdrContract: {
5597
5650
  updatedAt: Date;
5598
5651
  deletedAt: Date | null;
5599
5652
  }>, "many">;
5600
- company: z.ZodNullable<z.ZodObject<Omit<{
5653
+ company: z.ZodNullable<z.ZodObject<Omit<z.objectUtil.extendShape<{
5601
5654
  id: z.ZodString;
5602
5655
  createdAt: z.ZodDate;
5603
5656
  updatedAt: z.ZodDate;
5604
5657
  deletedAt: z.ZodNullable<z.ZodDate>;
5658
+ }, {
5605
5659
  name: z.ZodOptional<z.ZodString>;
5606
5660
  phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5607
5661
  address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5608
5662
  industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5609
- customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
5663
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5610
5664
  id: z.ZodString;
5611
5665
  createdAt: z.ZodDate;
5612
5666
  updatedAt: z.ZodDate;
5613
5667
  deletedAt: z.ZodNullable<z.ZodDate>;
5668
+ }, {
5614
5669
  textValue: z.ZodNullable<z.ZodString>;
5615
5670
  booleanValue: z.ZodNullable<z.ZodBoolean>;
5616
5671
  numberValue: z.ZodNullable<z.ZodNumber>;
5617
5672
  dateValue: z.ZodNullable<z.ZodDate>;
5618
- attribute: z.ZodObject<Omit<{
5673
+ attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
5619
5674
  id: z.ZodString;
5620
5675
  createdAt: z.ZodDate;
5621
5676
  updatedAt: z.ZodDate;
5622
5677
  deletedAt: z.ZodNullable<z.ZodDate>;
5678
+ }, {
5623
5679
  systemName: z.ZodString;
5624
5680
  displayName: z.ZodString;
5625
5681
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -5628,13 +5684,14 @@ export declare const telephonyCdrContract: {
5628
5684
  isArchived: z.ZodBoolean;
5629
5685
  isRequired: z.ZodBoolean;
5630
5686
  isUnique: z.ZodBoolean;
5631
- options: z.ZodArray<z.ZodObject<{
5632
- position: z.ZodNumber;
5633
- value: z.ZodString;
5687
+ options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5634
5688
  label: z.ZodString;
5689
+ value: z.ZodString;
5635
5690
  isDefault: z.ZodBoolean;
5691
+ position: z.ZodNumber;
5692
+ }, {
5636
5693
  id: z.ZodString;
5637
- }, "strip", z.ZodTypeAny, {
5694
+ }>, "strip", z.ZodTypeAny, {
5638
5695
  id: string;
5639
5696
  position: number;
5640
5697
  value: string;
@@ -5647,14 +5704,15 @@ export declare const telephonyCdrContract: {
5647
5704
  label: string;
5648
5705
  isDefault: boolean;
5649
5706
  }>, "many">;
5650
- group: z.ZodObject<{
5707
+ group: z.ZodObject<z.objectUtil.extendShape<{
5651
5708
  id: z.ZodString;
5652
5709
  createdAt: z.ZodDate;
5653
5710
  updatedAt: z.ZodDate;
5654
5711
  deletedAt: z.ZodNullable<z.ZodDate>;
5712
+ }, {
5655
5713
  systemName: z.ZodString;
5656
5714
  displayName: z.ZodString;
5657
- }, "strip", z.ZodTypeAny, {
5715
+ }>, "strip", z.ZodTypeAny, {
5658
5716
  id: string;
5659
5717
  createdAt: Date;
5660
5718
  updatedAt: Date;
@@ -5669,7 +5727,7 @@ export declare const telephonyCdrContract: {
5669
5727
  systemName: string;
5670
5728
  displayName: string;
5671
5729
  }>;
5672
- }, "options" | "group">, "strip", z.ZodTypeAny, {
5730
+ }>, "options" | "group">, "strip", z.ZodTypeAny, {
5673
5731
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
5674
5732
  id: string;
5675
5733
  position: number;
@@ -5696,7 +5754,7 @@ export declare const telephonyCdrContract: {
5696
5754
  isRequired: boolean;
5697
5755
  isUnique: boolean;
5698
5756
  }>;
5699
- }, "strip", z.ZodTypeAny, {
5757
+ }>, "strip", z.ZodTypeAny, {
5700
5758
  id: string;
5701
5759
  createdAt: Date;
5702
5760
  updatedAt: Date;
@@ -5743,7 +5801,7 @@ export declare const telephonyCdrContract: {
5743
5801
  numberValue: number | null;
5744
5802
  dateValue: Date | null;
5745
5803
  }>, "many">>;
5746
- }, "customFields">, "strip", z.ZodTypeAny, {
5804
+ }>, "customFields">, "strip", z.ZodTypeAny, {
5747
5805
  id: string;
5748
5806
  createdAt: Date;
5749
5807
  updatedAt: Date;
@@ -5771,11 +5829,12 @@ export declare const telephonyCdrContract: {
5771
5829
  booleanValue: z.ZodNullable<z.ZodBoolean>;
5772
5830
  numberValue: z.ZodNullable<z.ZodNumber>;
5773
5831
  dateValue: z.ZodNullable<z.ZodDate>;
5774
- attribute: z.ZodObject<Omit<{
5832
+ attribute: z.ZodObject<Omit<z.objectUtil.extendShape<{
5775
5833
  id: z.ZodString;
5776
5834
  createdAt: z.ZodDate;
5777
5835
  updatedAt: z.ZodDate;
5778
5836
  deletedAt: z.ZodNullable<z.ZodDate>;
5837
+ }, {
5779
5838
  systemName: z.ZodString;
5780
5839
  displayName: z.ZodString;
5781
5840
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -5784,13 +5843,14 @@ export declare const telephonyCdrContract: {
5784
5843
  isArchived: z.ZodBoolean;
5785
5844
  isRequired: z.ZodBoolean;
5786
5845
  isUnique: z.ZodBoolean;
5787
- options: z.ZodArray<z.ZodObject<{
5788
- position: z.ZodNumber;
5789
- value: z.ZodString;
5846
+ options: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5790
5847
  label: z.ZodString;
5848
+ value: z.ZodString;
5791
5849
  isDefault: z.ZodBoolean;
5850
+ position: z.ZodNumber;
5851
+ }, {
5792
5852
  id: z.ZodString;
5793
- }, "strip", z.ZodTypeAny, {
5853
+ }>, "strip", z.ZodTypeAny, {
5794
5854
  id: string;
5795
5855
  position: number;
5796
5856
  value: string;
@@ -5803,14 +5863,15 @@ export declare const telephonyCdrContract: {
5803
5863
  label: string;
5804
5864
  isDefault: boolean;
5805
5865
  }>, "many">;
5806
- group: z.ZodObject<{
5866
+ group: z.ZodObject<z.objectUtil.extendShape<{
5807
5867
  id: z.ZodString;
5808
5868
  createdAt: z.ZodDate;
5809
5869
  updatedAt: z.ZodDate;
5810
5870
  deletedAt: z.ZodNullable<z.ZodDate>;
5871
+ }, {
5811
5872
  systemName: z.ZodString;
5812
5873
  displayName: z.ZodString;
5813
- }, "strip", z.ZodTypeAny, {
5874
+ }>, "strip", z.ZodTypeAny, {
5814
5875
  id: string;
5815
5876
  createdAt: Date;
5816
5877
  updatedAt: Date;
@@ -5825,7 +5886,7 @@ export declare const telephonyCdrContract: {
5825
5886
  systemName: string;
5826
5887
  displayName: string;
5827
5888
  }>;
5828
- }, "options" | "group">, "strip", z.ZodTypeAny, {
5889
+ }>, "options" | "group">, "strip", z.ZodTypeAny, {
5829
5890
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
5830
5891
  id: string;
5831
5892
  position: number;
@@ -5852,18 +5913,19 @@ export declare const telephonyCdrContract: {
5852
5913
  isRequired: boolean;
5853
5914
  isUnique: boolean;
5854
5915
  }>;
5855
- uploads: z.ZodArray<z.ZodObject<{
5916
+ uploads: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
5856
5917
  id: z.ZodString;
5857
5918
  createdAt: z.ZodDate;
5858
5919
  updatedAt: z.ZodDate;
5859
5920
  deletedAt: z.ZodNullable<z.ZodDate>;
5921
+ }, {
5860
5922
  bucketName: z.ZodString;
5861
5923
  fileName: z.ZodString;
5862
5924
  fileSize: z.ZodNumber;
5863
5925
  fileKey: z.ZodString;
5864
5926
  fileUrl: z.ZodNullable<z.ZodString>;
5865
5927
  status: z.ZodNullable<z.ZodString>;
5866
- }, "strip", z.ZodTypeAny, {
5928
+ }>, "strip", z.ZodTypeAny, {
5867
5929
  id: string;
5868
5930
  status: string | null;
5869
5931
  createdAt: Date;
@@ -6254,16 +6316,17 @@ export declare const telephonyCdrContract: {
6254
6316
  };
6255
6317
  }[] | undefined;
6256
6318
  }>>;
6257
- telephonyQueue: z.ZodNullable<z.ZodOptional<z.ZodObject<{
6319
+ telephonyQueue: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
6258
6320
  id: z.ZodString;
6259
6321
  createdAt: z.ZodDate;
6260
6322
  updatedAt: z.ZodDate;
6261
6323
  deletedAt: z.ZodNullable<z.ZodDate>;
6324
+ }, {
6262
6325
  queueId: z.ZodNumber;
6263
6326
  queueName: z.ZodString;
6264
6327
  queueNumber: z.ZodString;
6265
6328
  maximumWaitingTime: z.ZodNumber;
6266
- }, "strip", z.ZodTypeAny, {
6329
+ }>, "strip", z.ZodTypeAny, {
6267
6330
  id: string;
6268
6331
  createdAt: Date;
6269
6332
  updatedAt: Date;
@@ -6290,18 +6353,19 @@ export declare const telephonyCdrContract: {
6290
6353
  agentRingTime: z.ZodNullable<z.ZodNumber>;
6291
6354
  uploadId: z.ZodNullable<z.ZodString>;
6292
6355
  serialNumber: z.ZodNullable<z.ZodString>;
6293
- upload: z.ZodNullable<z.ZodOptional<z.ZodObject<{
6356
+ upload: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
6294
6357
  id: z.ZodString;
6295
6358
  createdAt: z.ZodDate;
6296
6359
  updatedAt: z.ZodDate;
6297
6360
  deletedAt: z.ZodNullable<z.ZodDate>;
6361
+ }, {
6298
6362
  bucketName: z.ZodString;
6299
6363
  fileName: z.ZodString;
6300
6364
  fileSize: z.ZodNumber;
6301
6365
  fileKey: z.ZodString;
6302
6366
  fileUrl: z.ZodNullable<z.ZodString>;
6303
6367
  status: z.ZodNullable<z.ZodString>;
6304
- }, "strip", z.ZodTypeAny, {
6368
+ }>, "strip", z.ZodTypeAny, {
6305
6369
  id: string;
6306
6370
  status: string | null;
6307
6371
  createdAt: Date;
@@ -6736,7 +6800,7 @@ export declare const telephonyCdrContract: {
6736
6800
  updatedAt?: string | undefined;
6737
6801
  }>>>;
6738
6802
  }, "strip", z.ZodTypeAny, {
6739
- callTo?: {
6803
+ callFrom?: {
6740
6804
  id: string;
6741
6805
  user: {
6742
6806
  id: string;
@@ -6762,7 +6826,7 @@ export declare const telephonyCdrContract: {
6762
6826
  createdAt?: string | undefined;
6763
6827
  updatedAt?: string | undefined;
6764
6828
  } | null | undefined;
6765
- callFrom?: {
6829
+ callTo?: {
6766
6830
  id: string;
6767
6831
  user: {
6768
6832
  id: string;
@@ -6789,7 +6853,7 @@ export declare const telephonyCdrContract: {
6789
6853
  updatedAt?: string | undefined;
6790
6854
  } | null | undefined;
6791
6855
  }, {
6792
- callTo?: {
6856
+ callFrom?: {
6793
6857
  id: string;
6794
6858
  user: {
6795
6859
  id: string;
@@ -6815,7 +6879,7 @@ export declare const telephonyCdrContract: {
6815
6879
  createdAt?: string | undefined;
6816
6880
  updatedAt?: string | undefined;
6817
6881
  } | null | undefined;
6818
- callFrom?: {
6882
+ callTo?: {
6819
6883
  id: string;
6820
6884
  user: {
6821
6885
  id: string;
@@ -6844,7 +6908,7 @@ export declare const telephonyCdrContract: {
6844
6908
  }>>;
6845
6909
  isQueueMissedCall: z.ZodBoolean;
6846
6910
  extensionId: z.ZodNullable<z.ZodString>;
6847
- extension: z.ZodNullable<z.ZodOptional<z.ZodObject<{
6911
+ extension: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
6848
6912
  id: z.ZodString;
6849
6913
  createdAt: z.ZodDate;
6850
6914
  updatedAt: z.ZodDate;
@@ -6856,6 +6920,7 @@ export declare const telephonyCdrContract: {
6856
6920
  extensionId: z.ZodNullable<z.ZodString>;
6857
6921
  extensionName: z.ZodString;
6858
6922
  telephonySignature: z.ZodNullable<z.ZodString>;
6923
+ }, {
6859
6924
  user: z.ZodNullable<z.ZodOptional<z.ZodObject<{
6860
6925
  id: z.ZodString;
6861
6926
  createdAt: z.ZodDate;
@@ -7060,7 +7125,7 @@ export declare const telephonyCdrContract: {
7060
7125
  telephonySignature: string | null;
7061
7126
  };
7062
7127
  }>>>;
7063
- }, "strip", z.ZodTypeAny, {
7128
+ }>, "strip", z.ZodTypeAny, {
7064
7129
  id: string;
7065
7130
  createdAt: Date;
7066
7131
  updatedAt: Date;
@@ -7175,7 +7240,7 @@ export declare const telephonyCdrContract: {
7175
7240
  }>>>;
7176
7241
  telephonyQueueId: z.ZodNullable<z.ZodString>;
7177
7242
  contactId: z.ZodNullable<z.ZodString>;
7178
- }, "strip", z.ZodTypeAny, {
7243
+ }>, "strip", z.ZodTypeAny, {
7179
7244
  type: string;
7180
7245
  id: string;
7181
7246
  recording: string | null;
@@ -7198,7 +7263,7 @@ export declare const telephonyCdrContract: {
7198
7263
  uploadId: string | null;
7199
7264
  serialNumber: string | null;
7200
7265
  callParticipants: {
7201
- callTo?: {
7266
+ callFrom?: {
7202
7267
  id: string;
7203
7268
  user: {
7204
7269
  id: string;
@@ -7224,7 +7289,7 @@ export declare const telephonyCdrContract: {
7224
7289
  createdAt?: string | undefined;
7225
7290
  updatedAt?: string | undefined;
7226
7291
  } | null | undefined;
7227
- callFrom?: {
7292
+ callTo?: {
7228
7293
  id: string;
7229
7294
  user: {
7230
7295
  id: string;
@@ -7254,6 +7319,63 @@ export declare const telephonyCdrContract: {
7254
7319
  isQueueMissedCall: boolean;
7255
7320
  telephonyQueueId: string | null;
7256
7321
  contactId: string | null;
7322
+ extension?: {
7323
+ id: string;
7324
+ createdAt: Date;
7325
+ updatedAt: Date;
7326
+ deletedAt: Date | null;
7327
+ userId: string | null;
7328
+ sipServerUrl: string;
7329
+ sipUserName: string;
7330
+ webphoneLoginUser: string;
7331
+ extensionId: string | null;
7332
+ extensionName: string;
7333
+ telephonySignature: string | null;
7334
+ user?: {
7335
+ id: string;
7336
+ address: string | null;
7337
+ name: string;
7338
+ email: string;
7339
+ createdAt: Date;
7340
+ updatedAt: Date;
7341
+ deletedAt: Date | null;
7342
+ emailVerifiedAt: Date | null;
7343
+ password: string;
7344
+ phone: string | null;
7345
+ notificationCount: number | null;
7346
+ roles: {
7347
+ id: string;
7348
+ description: string | null;
7349
+ createdAt: Date;
7350
+ updatedAt: Date;
7351
+ deletedAt: Date | null;
7352
+ systemName: string;
7353
+ displayName: string;
7354
+ permissions: {
7355
+ id: string;
7356
+ description: string | null;
7357
+ createdAt: Date;
7358
+ updatedAt: Date;
7359
+ deletedAt: Date | null;
7360
+ systemName: string;
7361
+ displayName: string;
7362
+ }[];
7363
+ }[];
7364
+ extension: {
7365
+ id: string;
7366
+ createdAt: Date;
7367
+ updatedAt: Date;
7368
+ deletedAt: Date | null;
7369
+ userId: string | null;
7370
+ sipServerUrl: string;
7371
+ sipUserName: string;
7372
+ webphoneLoginUser: string;
7373
+ extensionId: string | null;
7374
+ extensionName: string;
7375
+ telephonySignature: string | null;
7376
+ };
7377
+ } | null | undefined;
7378
+ } | null | undefined;
7257
7379
  contact?: {
7258
7380
  id: string;
7259
7381
  channel: string | null;
@@ -7373,63 +7495,6 @@ export declare const telephonyCdrContract: {
7373
7495
  fileSize: number;
7374
7496
  fileUrl: string | null;
7375
7497
  } | null | undefined;
7376
- extension?: {
7377
- id: string;
7378
- createdAt: Date;
7379
- updatedAt: Date;
7380
- deletedAt: Date | null;
7381
- userId: string | null;
7382
- sipServerUrl: string;
7383
- sipUserName: string;
7384
- webphoneLoginUser: string;
7385
- extensionId: string | null;
7386
- extensionName: string;
7387
- telephonySignature: string | null;
7388
- user?: {
7389
- id: string;
7390
- address: string | null;
7391
- name: string;
7392
- email: string;
7393
- createdAt: Date;
7394
- updatedAt: Date;
7395
- deletedAt: Date | null;
7396
- emailVerifiedAt: Date | null;
7397
- password: string;
7398
- phone: string | null;
7399
- notificationCount: number | null;
7400
- roles: {
7401
- id: string;
7402
- description: string | null;
7403
- createdAt: Date;
7404
- updatedAt: Date;
7405
- deletedAt: Date | null;
7406
- systemName: string;
7407
- displayName: string;
7408
- permissions: {
7409
- id: string;
7410
- description: string | null;
7411
- createdAt: Date;
7412
- updatedAt: Date;
7413
- deletedAt: Date | null;
7414
- systemName: string;
7415
- displayName: string;
7416
- }[];
7417
- }[];
7418
- extension: {
7419
- id: string;
7420
- createdAt: Date;
7421
- updatedAt: Date;
7422
- deletedAt: Date | null;
7423
- userId: string | null;
7424
- sipServerUrl: string;
7425
- sipUserName: string;
7426
- webphoneLoginUser: string;
7427
- extensionId: string | null;
7428
- extensionName: string;
7429
- telephonySignature: string | null;
7430
- };
7431
- } | null | undefined;
7432
- } | null | undefined;
7433
7498
  }, {
7434
7499
  type: string;
7435
7500
  id: string;
@@ -7453,7 +7518,7 @@ export declare const telephonyCdrContract: {
7453
7518
  uploadId: string | null;
7454
7519
  serialNumber: string | null;
7455
7520
  callParticipants: {
7456
- callTo?: {
7521
+ callFrom?: {
7457
7522
  id: string;
7458
7523
  user: {
7459
7524
  id: string;
@@ -7479,7 +7544,7 @@ export declare const telephonyCdrContract: {
7479
7544
  createdAt?: string | undefined;
7480
7545
  updatedAt?: string | undefined;
7481
7546
  } | null | undefined;
7482
- callFrom?: {
7547
+ callTo?: {
7483
7548
  id: string;
7484
7549
  user: {
7485
7550
  id: string;
@@ -7509,6 +7574,63 @@ export declare const telephonyCdrContract: {
7509
7574
  isQueueMissedCall: boolean;
7510
7575
  telephonyQueueId: string | null;
7511
7576
  contactId: string | null;
7577
+ extension?: {
7578
+ id: string;
7579
+ createdAt: Date;
7580
+ updatedAt: Date;
7581
+ deletedAt: Date | null;
7582
+ userId: string | null;
7583
+ sipServerUrl: string;
7584
+ sipUserName: string;
7585
+ webphoneLoginUser: string;
7586
+ extensionId: string | null;
7587
+ extensionName: string;
7588
+ telephonySignature: string | null;
7589
+ user?: {
7590
+ id: string;
7591
+ address: string | null;
7592
+ name: string;
7593
+ email: string;
7594
+ createdAt: Date;
7595
+ updatedAt: Date;
7596
+ deletedAt: Date | null;
7597
+ emailVerifiedAt: Date | null;
7598
+ password: string;
7599
+ phone: string | null;
7600
+ notificationCount: number | null;
7601
+ roles: {
7602
+ id: string;
7603
+ description: string | null;
7604
+ createdAt: Date;
7605
+ updatedAt: Date;
7606
+ deletedAt: Date | null;
7607
+ systemName: string;
7608
+ displayName: string;
7609
+ permissions: {
7610
+ id: string;
7611
+ description: string | null;
7612
+ createdAt: Date;
7613
+ updatedAt: Date;
7614
+ deletedAt: Date | null;
7615
+ systemName: string;
7616
+ displayName: string;
7617
+ }[];
7618
+ }[];
7619
+ extension: {
7620
+ id: string;
7621
+ createdAt: Date;
7622
+ updatedAt: Date;
7623
+ deletedAt: Date | null;
7624
+ userId: string | null;
7625
+ sipServerUrl: string;
7626
+ sipUserName: string;
7627
+ webphoneLoginUser: string;
7628
+ extensionId: string | null;
7629
+ extensionName: string;
7630
+ telephonySignature: string | null;
7631
+ };
7632
+ } | null | undefined;
7633
+ } | null | undefined;
7512
7634
  contact?: {
7513
7635
  id: string;
7514
7636
  channel: string | null;
@@ -7628,65 +7750,8 @@ export declare const telephonyCdrContract: {
7628
7750
  fileSize: number;
7629
7751
  fileUrl: string | null;
7630
7752
  } | null | undefined;
7631
- extension?: {
7632
- id: string;
7633
- createdAt: Date;
7634
- updatedAt: Date;
7635
- deletedAt: Date | null;
7636
- userId: string | null;
7637
- sipServerUrl: string;
7638
- sipUserName: string;
7639
- webphoneLoginUser: string;
7640
- extensionId: string | null;
7641
- extensionName: string;
7642
- telephonySignature: string | null;
7643
- user?: {
7644
- id: string;
7645
- address: string | null;
7646
- name: string;
7647
- email: string;
7648
- createdAt: Date;
7649
- updatedAt: Date;
7650
- deletedAt: Date | null;
7651
- emailVerifiedAt: Date | null;
7652
- password: string;
7653
- phone: string | null;
7654
- notificationCount: number | null;
7655
- roles: {
7656
- id: string;
7657
- description: string | null;
7658
- createdAt: Date;
7659
- updatedAt: Date;
7660
- deletedAt: Date | null;
7661
- systemName: string;
7662
- displayName: string;
7663
- permissions: {
7664
- id: string;
7665
- description: string | null;
7666
- createdAt: Date;
7667
- updatedAt: Date;
7668
- deletedAt: Date | null;
7669
- systemName: string;
7670
- displayName: string;
7671
- }[];
7672
- }[];
7673
- extension: {
7674
- id: string;
7675
- createdAt: Date;
7676
- updatedAt: Date;
7677
- deletedAt: Date | null;
7678
- userId: string | null;
7679
- sipServerUrl: string;
7680
- sipUserName: string;
7681
- webphoneLoginUser: string;
7682
- extensionId: string | null;
7683
- extensionName: string;
7684
- telephonySignature: string | null;
7685
- };
7686
- } | null | undefined;
7687
- } | null | undefined;
7688
7753
  }>, "many">;
7689
- }, "strip", z.ZodTypeAny, {
7754
+ }>, "strip", z.ZodTypeAny, {
7690
7755
  total: number;
7691
7756
  page: number;
7692
7757
  pageSize: number;
@@ -7714,7 +7779,7 @@ export declare const telephonyCdrContract: {
7714
7779
  uploadId: string | null;
7715
7780
  serialNumber: string | null;
7716
7781
  callParticipants: {
7717
- callTo?: {
7782
+ callFrom?: {
7718
7783
  id: string;
7719
7784
  user: {
7720
7785
  id: string;
@@ -7740,7 +7805,7 @@ export declare const telephonyCdrContract: {
7740
7805
  createdAt?: string | undefined;
7741
7806
  updatedAt?: string | undefined;
7742
7807
  } | null | undefined;
7743
- callFrom?: {
7808
+ callTo?: {
7744
7809
  id: string;
7745
7810
  user: {
7746
7811
  id: string;
@@ -7770,6 +7835,63 @@ export declare const telephonyCdrContract: {
7770
7835
  isQueueMissedCall: boolean;
7771
7836
  telephonyQueueId: string | null;
7772
7837
  contactId: string | null;
7838
+ extension?: {
7839
+ id: string;
7840
+ createdAt: Date;
7841
+ updatedAt: Date;
7842
+ deletedAt: Date | null;
7843
+ userId: string | null;
7844
+ sipServerUrl: string;
7845
+ sipUserName: string;
7846
+ webphoneLoginUser: string;
7847
+ extensionId: string | null;
7848
+ extensionName: string;
7849
+ telephonySignature: string | null;
7850
+ user?: {
7851
+ id: string;
7852
+ address: string | null;
7853
+ name: string;
7854
+ email: string;
7855
+ createdAt: Date;
7856
+ updatedAt: Date;
7857
+ deletedAt: Date | null;
7858
+ emailVerifiedAt: Date | null;
7859
+ password: string;
7860
+ phone: string | null;
7861
+ notificationCount: number | null;
7862
+ roles: {
7863
+ id: string;
7864
+ description: string | null;
7865
+ createdAt: Date;
7866
+ updatedAt: Date;
7867
+ deletedAt: Date | null;
7868
+ systemName: string;
7869
+ displayName: string;
7870
+ permissions: {
7871
+ id: string;
7872
+ description: string | null;
7873
+ createdAt: Date;
7874
+ updatedAt: Date;
7875
+ deletedAt: Date | null;
7876
+ systemName: string;
7877
+ displayName: string;
7878
+ }[];
7879
+ }[];
7880
+ extension: {
7881
+ id: string;
7882
+ createdAt: Date;
7883
+ updatedAt: Date;
7884
+ deletedAt: Date | null;
7885
+ userId: string | null;
7886
+ sipServerUrl: string;
7887
+ sipUserName: string;
7888
+ webphoneLoginUser: string;
7889
+ extensionId: string | null;
7890
+ extensionName: string;
7891
+ telephonySignature: string | null;
7892
+ };
7893
+ } | null | undefined;
7894
+ } | null | undefined;
7773
7895
  contact?: {
7774
7896
  id: string;
7775
7897
  channel: string | null;
@@ -7889,63 +8011,6 @@ export declare const telephonyCdrContract: {
7889
8011
  fileSize: number;
7890
8012
  fileUrl: string | null;
7891
8013
  } | null | undefined;
7892
- extension?: {
7893
- id: string;
7894
- createdAt: Date;
7895
- updatedAt: Date;
7896
- deletedAt: Date | null;
7897
- userId: string | null;
7898
- sipServerUrl: string;
7899
- sipUserName: string;
7900
- webphoneLoginUser: string;
7901
- extensionId: string | null;
7902
- extensionName: string;
7903
- telephonySignature: string | null;
7904
- user?: {
7905
- id: string;
7906
- address: string | null;
7907
- name: string;
7908
- email: string;
7909
- createdAt: Date;
7910
- updatedAt: Date;
7911
- deletedAt: Date | null;
7912
- emailVerifiedAt: Date | null;
7913
- password: string;
7914
- phone: string | null;
7915
- notificationCount: number | null;
7916
- roles: {
7917
- id: string;
7918
- description: string | null;
7919
- createdAt: Date;
7920
- updatedAt: Date;
7921
- deletedAt: Date | null;
7922
- systemName: string;
7923
- displayName: string;
7924
- permissions: {
7925
- id: string;
7926
- description: string | null;
7927
- createdAt: Date;
7928
- updatedAt: Date;
7929
- deletedAt: Date | null;
7930
- systemName: string;
7931
- displayName: string;
7932
- }[];
7933
- }[];
7934
- extension: {
7935
- id: string;
7936
- createdAt: Date;
7937
- updatedAt: Date;
7938
- deletedAt: Date | null;
7939
- userId: string | null;
7940
- sipServerUrl: string;
7941
- sipUserName: string;
7942
- webphoneLoginUser: string;
7943
- extensionId: string | null;
7944
- extensionName: string;
7945
- telephonySignature: string | null;
7946
- };
7947
- } | null | undefined;
7948
- } | null | undefined;
7949
8014
  }[];
7950
8015
  }, {
7951
8016
  total: number;
@@ -7975,7 +8040,7 @@ export declare const telephonyCdrContract: {
7975
8040
  uploadId: string | null;
7976
8041
  serialNumber: string | null;
7977
8042
  callParticipants: {
7978
- callTo?: {
8043
+ callFrom?: {
7979
8044
  id: string;
7980
8045
  user: {
7981
8046
  id: string;
@@ -8001,7 +8066,7 @@ export declare const telephonyCdrContract: {
8001
8066
  createdAt?: string | undefined;
8002
8067
  updatedAt?: string | undefined;
8003
8068
  } | null | undefined;
8004
- callFrom?: {
8069
+ callTo?: {
8005
8070
  id: string;
8006
8071
  user: {
8007
8072
  id: string;
@@ -8031,6 +8096,63 @@ export declare const telephonyCdrContract: {
8031
8096
  isQueueMissedCall: boolean;
8032
8097
  telephonyQueueId: string | null;
8033
8098
  contactId: string | null;
8099
+ extension?: {
8100
+ id: string;
8101
+ createdAt: Date;
8102
+ updatedAt: Date;
8103
+ deletedAt: Date | null;
8104
+ userId: string | null;
8105
+ sipServerUrl: string;
8106
+ sipUserName: string;
8107
+ webphoneLoginUser: string;
8108
+ extensionId: string | null;
8109
+ extensionName: string;
8110
+ telephonySignature: string | null;
8111
+ user?: {
8112
+ id: string;
8113
+ address: string | null;
8114
+ name: string;
8115
+ email: string;
8116
+ createdAt: Date;
8117
+ updatedAt: Date;
8118
+ deletedAt: Date | null;
8119
+ emailVerifiedAt: Date | null;
8120
+ password: string;
8121
+ phone: string | null;
8122
+ notificationCount: number | null;
8123
+ roles: {
8124
+ id: string;
8125
+ description: string | null;
8126
+ createdAt: Date;
8127
+ updatedAt: Date;
8128
+ deletedAt: Date | null;
8129
+ systemName: string;
8130
+ displayName: string;
8131
+ permissions: {
8132
+ id: string;
8133
+ description: string | null;
8134
+ createdAt: Date;
8135
+ updatedAt: Date;
8136
+ deletedAt: Date | null;
8137
+ systemName: string;
8138
+ displayName: string;
8139
+ }[];
8140
+ }[];
8141
+ extension: {
8142
+ id: string;
8143
+ createdAt: Date;
8144
+ updatedAt: Date;
8145
+ deletedAt: Date | null;
8146
+ userId: string | null;
8147
+ sipServerUrl: string;
8148
+ sipUserName: string;
8149
+ webphoneLoginUser: string;
8150
+ extensionId: string | null;
8151
+ extensionName: string;
8152
+ telephonySignature: string | null;
8153
+ };
8154
+ } | null | undefined;
8155
+ } | null | undefined;
8034
8156
  contact?: {
8035
8157
  id: string;
8036
8158
  channel: string | null;
@@ -8147,119 +8269,51 @@ export declare const telephonyCdrContract: {
8147
8269
  fileName: string;
8148
8270
  fileKey: string;
8149
8271
  bucketName: string;
8150
- fileSize: number;
8151
- fileUrl: string | null;
8152
- } | null | undefined;
8153
- extension?: {
8154
- id: string;
8155
- createdAt: Date;
8156
- updatedAt: Date;
8157
- deletedAt: Date | null;
8158
- userId: string | null;
8159
- sipServerUrl: string;
8160
- sipUserName: string;
8161
- webphoneLoginUser: string;
8162
- extensionId: string | null;
8163
- extensionName: string;
8164
- telephonySignature: string | null;
8165
- user?: {
8166
- id: string;
8167
- address: string | null;
8168
- name: string;
8169
- email: string;
8170
- createdAt: Date;
8171
- updatedAt: Date;
8172
- deletedAt: Date | null;
8173
- emailVerifiedAt: Date | null;
8174
- password: string;
8175
- phone: string | null;
8176
- notificationCount: number | null;
8177
- roles: {
8178
- id: string;
8179
- description: string | null;
8180
- createdAt: Date;
8181
- updatedAt: Date;
8182
- deletedAt: Date | null;
8183
- systemName: string;
8184
- displayName: string;
8185
- permissions: {
8186
- id: string;
8187
- description: string | null;
8188
- createdAt: Date;
8189
- updatedAt: Date;
8190
- deletedAt: Date | null;
8191
- systemName: string;
8192
- displayName: string;
8193
- }[];
8194
- }[];
8195
- extension: {
8196
- id: string;
8197
- createdAt: Date;
8198
- updatedAt: Date;
8199
- deletedAt: Date | null;
8200
- userId: string | null;
8201
- sipServerUrl: string;
8202
- sipUserName: string;
8203
- webphoneLoginUser: string;
8204
- extensionId: string | null;
8205
- extensionName: string;
8206
- telephonySignature: string | null;
8207
- };
8208
- } | null | undefined;
8209
- } | null | undefined;
8210
- }[];
8211
- }>;
8212
- 401: z.ZodObject<{
8213
- message: z.ZodString;
8214
- error: z.ZodAny;
8215
- }, "strip", z.ZodTypeAny, {
8216
- message: string;
8217
- error?: any;
8218
- }, {
8219
- message: string;
8220
- error?: any;
8221
- }>;
8222
- };
8223
- path: "telephony-cdr/recent-calls";
8224
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
8225
- 'x-tenant': z.ZodString;
8226
- authorization: z.ZodString;
8227
- 'x-code': z.ZodOptional<z.ZodString>;
8228
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
8229
- }, "strip", z.ZodTypeAny, {
8230
- 'x-tenant': string;
8231
- authorization: string;
8232
- 'x-client-timezone': string;
8233
- 'x-code'?: string | undefined;
8234
- }, {
8235
- 'x-tenant': string;
8236
- authorization: string;
8237
- 'x-code'?: string | undefined;
8238
- 'x-client-timezone'?: string | undefined;
8239
- }>>>;
8272
+ fileSize: number;
8273
+ fileUrl: string | null;
8274
+ } | null | undefined;
8275
+ }[];
8276
+ }>;
8277
+ 401: z.ZodObject<{
8278
+ message: z.ZodString;
8279
+ error: z.ZodAny;
8280
+ }, "strip", z.ZodTypeAny, {
8281
+ message: string;
8282
+ error?: any;
8283
+ }, {
8284
+ message: string;
8285
+ error?: any;
8286
+ }>;
8287
+ };
8240
8288
  };
8241
8289
  export: {
8242
8290
  summary: "Get recent telephony cdr.";
8243
8291
  method: "GET";
8244
- query: z.ZodObject<{
8292
+ query: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
8293
+ page: z.ZodDefault<z.ZodNumber>;
8294
+ pageSize: z.ZodDefault<z.ZodNumber>;
8295
+ }, {
8296
+ selectedDate: z.ZodOptional<z.ZodString>;
8245
8297
  type: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8246
8298
  status: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8247
- userId: z.ZodOptional<z.ZodString>;
8248
8299
  callFrom: z.ZodOptional<z.ZodString>;
8249
8300
  callTo: z.ZodOptional<z.ZodString>;
8250
- contactId: z.ZodOptional<z.ZodString>;
8251
- selectedDate: z.ZodOptional<z.ZodString>;
8252
- agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8253
8301
  trunk: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8302
+ userId: z.ZodOptional<z.ZodString>;
8254
8303
  queueStatus: z.ZodOptional<z.ZodString>;
8304
+ agentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8255
8305
  agentCallsOnly: z.ZodOptional<z.ZodBoolean>;
8306
+ contactId: z.ZodOptional<z.ZodString>;
8307
+ }>, {
8256
8308
  page: z.ZodOptional<z.ZodNumber>;
8257
8309
  pageSize: z.ZodOptional<z.ZodNumber>;
8258
8310
  module: z.ZodDefault<z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"cdrs">, z.ZodLiteral<"call-logs">]>>>;
8259
- }, "strip", z.ZodTypeAny, {
8311
+ }>, "strip", z.ZodTypeAny, {
8260
8312
  module: "cdrs" | "call-logs";
8261
8313
  type?: string[] | undefined;
8314
+ page?: number | undefined;
8262
8315
  status?: string[] | undefined;
8316
+ pageSize?: number | undefined;
8263
8317
  userId?: string | undefined;
8264
8318
  callFrom?: string | undefined;
8265
8319
  callTo?: string | undefined;
@@ -8269,11 +8323,12 @@ export declare const telephonyCdrContract: {
8269
8323
  trunk?: string[] | undefined;
8270
8324
  queueStatus?: string | undefined;
8271
8325
  agentCallsOnly?: boolean | undefined;
8272
- page?: number | undefined;
8273
- pageSize?: number | undefined;
8274
8326
  }, {
8275
8327
  type?: string[] | undefined;
8328
+ module?: "cdrs" | "call-logs" | undefined;
8329
+ page?: number | undefined;
8276
8330
  status?: string[] | undefined;
8331
+ pageSize?: number | undefined;
8277
8332
  userId?: string | undefined;
8278
8333
  callFrom?: string | undefined;
8279
8334
  callTo?: string | undefined;
@@ -8283,10 +8338,24 @@ export declare const telephonyCdrContract: {
8283
8338
  trunk?: string[] | undefined;
8284
8339
  queueStatus?: string | undefined;
8285
8340
  agentCallsOnly?: boolean | undefined;
8286
- page?: number | undefined;
8287
- pageSize?: number | undefined;
8288
- module?: "cdrs" | "call-logs" | undefined;
8289
8341
  }>;
8342
+ path: "telephony-cdr/export";
8343
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
8344
+ 'x-tenant': z.ZodString;
8345
+ authorization: z.ZodString;
8346
+ 'x-code': z.ZodOptional<z.ZodString>;
8347
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
8348
+ }, "strip", z.ZodTypeAny, {
8349
+ 'x-tenant': string;
8350
+ authorization: string;
8351
+ 'x-client-timezone': string;
8352
+ 'x-code'?: string | undefined;
8353
+ }, {
8354
+ 'x-tenant': string;
8355
+ authorization: string;
8356
+ 'x-code'?: string | undefined;
8357
+ 'x-client-timezone'?: string | undefined;
8358
+ }>>>;
8290
8359
  responses: {
8291
8360
  200: null;
8292
8361
  401: z.ZodObject<{
@@ -8310,28 +8379,12 @@ export declare const telephonyCdrContract: {
8310
8379
  error?: any;
8311
8380
  }>;
8312
8381
  };
8313
- path: "telephony-cdr/export";
8314
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
8315
- 'x-tenant': z.ZodString;
8316
- authorization: z.ZodString;
8317
- 'x-code': z.ZodOptional<z.ZodString>;
8318
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
8319
- }, "strip", z.ZodTypeAny, {
8320
- 'x-tenant': string;
8321
- authorization: string;
8322
- 'x-client-timezone': string;
8323
- 'x-code'?: string | undefined;
8324
- }, {
8325
- 'x-tenant': string;
8326
- authorization: string;
8327
- 'x-code'?: string | undefined;
8328
- 'x-client-timezone'?: string | undefined;
8329
- }>>>;
8330
8382
  };
8331
8383
  yeastarCallReport: {
8332
- body: z.ZodEffects<z.ZodObject<{
8384
+ body: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
8333
8385
  page: z.ZodDefault<z.ZodNumber>;
8334
8386
  pageSize: z.ZodDefault<z.ZodNumber>;
8387
+ }, {
8335
8388
  reportType: z.ZodEnum<["extcallstatistics", "extcallactivity", "trunkactivity", "queuesatisfaction", "queueavgwaittalktime", "queueperformance", "queueagentmisscalls", "queueagentinoutcalls"]>;
8336
8389
  selectedDate: z.ZodOptional<z.ZodString>;
8337
8390
  communicationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"Inbound">, z.ZodLiteral<"Outbound">, z.ZodLiteral<"Internal">]>>;
@@ -8340,66 +8393,53 @@ export declare const telephonyCdrContract: {
8340
8393
  queueId: z.ZodOptional<z.ZodString>;
8341
8394
  trunkList: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8342
8395
  extensionList: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8343
- }, "strip", z.ZodTypeAny, {
8396
+ }>, "strip", z.ZodTypeAny, {
8344
8397
  page: number;
8345
8398
  pageSize: number;
8346
8399
  reportType: "extcallstatistics" | "extcallactivity" | "trunkactivity" | "queuesatisfaction" | "queueavgwaittalktime" | "queueperformance" | "queueagentmisscalls" | "queueagentinoutcalls";
8400
+ time?: string | undefined;
8401
+ queueId?: string | undefined;
8347
8402
  selectedDate?: string | undefined;
8348
8403
  communicationType?: "Inbound" | "Outbound" | "Internal" | undefined;
8349
- time?: string | undefined;
8350
8404
  queueList?: string[] | undefined;
8351
- queueId?: string | undefined;
8352
8405
  trunkList?: string[] | undefined;
8353
8406
  extensionList?: string[] | undefined;
8354
8407
  }, {
8355
8408
  reportType: "extcallstatistics" | "extcallactivity" | "trunkactivity" | "queuesatisfaction" | "queueavgwaittalktime" | "queueperformance" | "queueagentmisscalls" | "queueagentinoutcalls";
8409
+ time?: string | undefined;
8356
8410
  page?: number | undefined;
8357
8411
  pageSize?: number | undefined;
8412
+ queueId?: string | undefined;
8358
8413
  selectedDate?: string | undefined;
8359
8414
  communicationType?: "Inbound" | "Outbound" | "Internal" | undefined;
8360
- time?: string | undefined;
8361
8415
  queueList?: string[] | undefined;
8362
- queueId?: string | undefined;
8363
8416
  trunkList?: string[] | undefined;
8364
8417
  extensionList?: string[] | undefined;
8365
8418
  }>, {
8366
8419
  page: number;
8367
8420
  pageSize: number;
8368
8421
  reportType: "extcallstatistics" | "extcallactivity" | "trunkactivity" | "queuesatisfaction" | "queueavgwaittalktime" | "queueperformance" | "queueagentmisscalls" | "queueagentinoutcalls";
8422
+ time?: string | undefined;
8423
+ queueId?: string | undefined;
8369
8424
  selectedDate?: string | undefined;
8370
8425
  communicationType?: "Inbound" | "Outbound" | "Internal" | undefined;
8371
- time?: string | undefined;
8372
8426
  queueList?: string[] | undefined;
8373
- queueId?: string | undefined;
8374
8427
  trunkList?: string[] | undefined;
8375
8428
  extensionList?: string[] | undefined;
8376
8429
  }, {
8377
8430
  reportType: "extcallstatistics" | "extcallactivity" | "trunkactivity" | "queuesatisfaction" | "queueavgwaittalktime" | "queueperformance" | "queueagentmisscalls" | "queueagentinoutcalls";
8431
+ time?: string | undefined;
8378
8432
  page?: number | undefined;
8379
8433
  pageSize?: number | undefined;
8434
+ queueId?: string | undefined;
8380
8435
  selectedDate?: string | undefined;
8381
8436
  communicationType?: "Inbound" | "Outbound" | "Internal" | undefined;
8382
- time?: string | undefined;
8383
8437
  queueList?: string[] | undefined;
8384
- queueId?: string | undefined;
8385
8438
  trunkList?: string[] | undefined;
8386
8439
  extensionList?: string[] | undefined;
8387
8440
  }>;
8388
8441
  summary: "Get yeastar call report.";
8389
8442
  method: "POST";
8390
- responses: {
8391
- 200: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
8392
- 401: z.ZodObject<{
8393
- message: z.ZodString;
8394
- error: z.ZodAny;
8395
- }, "strip", z.ZodTypeAny, {
8396
- message: string;
8397
- error?: any;
8398
- }, {
8399
- message: string;
8400
- error?: any;
8401
- }>;
8402
- };
8403
8443
  path: "telephony-cdr/yeastar_call_report";
8404
8444
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
8405
8445
  'x-tenant': z.ZodString;
@@ -8417,11 +8457,25 @@ export declare const telephonyCdrContract: {
8417
8457
  'x-code'?: string | undefined;
8418
8458
  'x-client-timezone'?: string | undefined;
8419
8459
  }>>>;
8460
+ responses: {
8461
+ 200: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
8462
+ 401: z.ZodObject<{
8463
+ message: z.ZodString;
8464
+ error: z.ZodAny;
8465
+ }, "strip", z.ZodTypeAny, {
8466
+ message: string;
8467
+ error?: any;
8468
+ }, {
8469
+ message: string;
8470
+ error?: any;
8471
+ }>;
8472
+ };
8420
8473
  };
8421
8474
  yeastarCallReportExport: {
8422
- body: z.ZodEffects<z.ZodObject<{
8475
+ body: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<{
8423
8476
  page: z.ZodDefault<z.ZodNumber>;
8424
8477
  pageSize: z.ZodDefault<z.ZodNumber>;
8478
+ }, {
8425
8479
  reportType: z.ZodEnum<["extcallstatistics", "extcallactivity", "trunkactivity", "queuesatisfaction", "queueavgwaittalktime", "queueperformance", "queueagentmisscalls", "queueagentinoutcalls"]>;
8426
8480
  selectedDate: z.ZodOptional<z.ZodString>;
8427
8481
  communicationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"Inbound">, z.ZodLiteral<"Outbound">, z.ZodLiteral<"Internal">]>>;
@@ -8430,53 +8484,70 @@ export declare const telephonyCdrContract: {
8430
8484
  queueId: z.ZodOptional<z.ZodString>;
8431
8485
  trunkList: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8432
8486
  extensionList: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8433
- }, "strip", z.ZodTypeAny, {
8487
+ }>, "strip", z.ZodTypeAny, {
8434
8488
  page: number;
8435
8489
  pageSize: number;
8436
8490
  reportType: "extcallstatistics" | "extcallactivity" | "trunkactivity" | "queuesatisfaction" | "queueavgwaittalktime" | "queueperformance" | "queueagentmisscalls" | "queueagentinoutcalls";
8491
+ time?: string | undefined;
8492
+ queueId?: string | undefined;
8437
8493
  selectedDate?: string | undefined;
8438
8494
  communicationType?: "Inbound" | "Outbound" | "Internal" | undefined;
8439
- time?: string | undefined;
8440
8495
  queueList?: string[] | undefined;
8441
- queueId?: string | undefined;
8442
8496
  trunkList?: string[] | undefined;
8443
8497
  extensionList?: string[] | undefined;
8444
8498
  }, {
8445
8499
  reportType: "extcallstatistics" | "extcallactivity" | "trunkactivity" | "queuesatisfaction" | "queueavgwaittalktime" | "queueperformance" | "queueagentmisscalls" | "queueagentinoutcalls";
8500
+ time?: string | undefined;
8446
8501
  page?: number | undefined;
8447
8502
  pageSize?: number | undefined;
8503
+ queueId?: string | undefined;
8448
8504
  selectedDate?: string | undefined;
8449
8505
  communicationType?: "Inbound" | "Outbound" | "Internal" | undefined;
8450
- time?: string | undefined;
8451
8506
  queueList?: string[] | undefined;
8452
- queueId?: string | undefined;
8453
8507
  trunkList?: string[] | undefined;
8454
8508
  extensionList?: string[] | undefined;
8455
8509
  }>, {
8456
8510
  page: number;
8457
8511
  pageSize: number;
8458
8512
  reportType: "extcallstatistics" | "extcallactivity" | "trunkactivity" | "queuesatisfaction" | "queueavgwaittalktime" | "queueperformance" | "queueagentmisscalls" | "queueagentinoutcalls";
8513
+ time?: string | undefined;
8514
+ queueId?: string | undefined;
8459
8515
  selectedDate?: string | undefined;
8460
8516
  communicationType?: "Inbound" | "Outbound" | "Internal" | undefined;
8461
- time?: string | undefined;
8462
8517
  queueList?: string[] | undefined;
8463
- queueId?: string | undefined;
8464
8518
  trunkList?: string[] | undefined;
8465
8519
  extensionList?: string[] | undefined;
8466
8520
  }, {
8467
8521
  reportType: "extcallstatistics" | "extcallactivity" | "trunkactivity" | "queuesatisfaction" | "queueavgwaittalktime" | "queueperformance" | "queueagentmisscalls" | "queueagentinoutcalls";
8522
+ time?: string | undefined;
8468
8523
  page?: number | undefined;
8469
8524
  pageSize?: number | undefined;
8525
+ queueId?: string | undefined;
8470
8526
  selectedDate?: string | undefined;
8471
8527
  communicationType?: "Inbound" | "Outbound" | "Internal" | undefined;
8472
- time?: string | undefined;
8473
8528
  queueList?: string[] | undefined;
8474
- queueId?: string | undefined;
8475
8529
  trunkList?: string[] | undefined;
8476
8530
  extensionList?: string[] | undefined;
8477
8531
  }>;
8478
8532
  summary: "Export yeastar call report.";
8479
8533
  method: "POST";
8534
+ path: "telephony-cdr/yeastar_call_report/export";
8535
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
8536
+ 'x-tenant': z.ZodString;
8537
+ authorization: z.ZodString;
8538
+ 'x-code': z.ZodOptional<z.ZodString>;
8539
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
8540
+ }, "strip", z.ZodTypeAny, {
8541
+ 'x-tenant': string;
8542
+ authorization: string;
8543
+ 'x-client-timezone': string;
8544
+ 'x-code'?: string | undefined;
8545
+ }, {
8546
+ 'x-tenant': string;
8547
+ authorization: string;
8548
+ 'x-code'?: string | undefined;
8549
+ 'x-client-timezone'?: string | undefined;
8550
+ }>>>;
8480
8551
  responses: {
8481
8552
  200: null;
8482
8553
  401: z.ZodObject<{
@@ -8490,7 +8561,11 @@ export declare const telephonyCdrContract: {
8490
8561
  error?: any;
8491
8562
  }>;
8492
8563
  };
8493
- path: "telephony-cdr/yeastar_call_report/export";
8564
+ };
8565
+ getTrunks: {
8566
+ method: "GET";
8567
+ query: null;
8568
+ path: "telephony-cdr/trunks";
8494
8569
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
8495
8570
  'x-tenant': z.ZodString;
8496
8571
  authorization: z.ZodString;
@@ -8507,21 +8582,19 @@ export declare const telephonyCdrContract: {
8507
8582
  'x-code'?: string | undefined;
8508
8583
  'x-client-timezone'?: string | undefined;
8509
8584
  }>>>;
8510
- };
8511
- getTrunks: {
8512
- method: "GET";
8513
- query: null;
8514
8585
  responses: {
8515
- 200: z.ZodObject<{
8586
+ 200: z.ZodObject<z.objectUtil.extendShape<{
8516
8587
  requestId: z.ZodString;
8517
- trunks: z.ZodArray<z.ZodObject<{
8588
+ }, {
8589
+ trunks: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
8518
8590
  id: z.ZodString;
8519
8591
  createdAt: z.ZodDate;
8520
8592
  updatedAt: z.ZodDate;
8521
8593
  deletedAt: z.ZodNullable<z.ZodDate>;
8594
+ }, {
8522
8595
  trunkId: z.ZodNullable<z.ZodString>;
8523
8596
  trunkName: z.ZodNullable<z.ZodString>;
8524
- }, "strip", z.ZodTypeAny, {
8597
+ }>, "strip", z.ZodTypeAny, {
8525
8598
  id: string;
8526
8599
  createdAt: Date;
8527
8600
  updatedAt: Date;
@@ -8536,7 +8609,7 @@ export declare const telephonyCdrContract: {
8536
8609
  trunkId: string | null;
8537
8610
  trunkName: string | null;
8538
8611
  }>, "many">;
8539
- }, "strip", z.ZodTypeAny, {
8612
+ }>, "strip", z.ZodTypeAny, {
8540
8613
  requestId: string;
8541
8614
  trunks: {
8542
8615
  id: string;
@@ -8568,7 +8641,11 @@ export declare const telephonyCdrContract: {
8568
8641
  error?: any;
8569
8642
  }>;
8570
8643
  };
8571
- path: "telephony-cdr/trunks";
8644
+ };
8645
+ getQueueList: {
8646
+ method: "GET";
8647
+ query: null;
8648
+ path: "telephony-cdr/queues";
8572
8649
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
8573
8650
  'x-tenant': z.ZodString;
8574
8651
  authorization: z.ZodString;
@@ -8585,23 +8662,21 @@ export declare const telephonyCdrContract: {
8585
8662
  'x-code'?: string | undefined;
8586
8663
  'x-client-timezone'?: string | undefined;
8587
8664
  }>>>;
8588
- };
8589
- getQueueList: {
8590
- method: "GET";
8591
- query: null;
8592
8665
  responses: {
8593
- 200: z.ZodObject<{
8666
+ 200: z.ZodObject<z.objectUtil.extendShape<{
8594
8667
  requestId: z.ZodString;
8595
- queues: z.ZodArray<z.ZodObject<{
8668
+ }, {
8669
+ queues: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
8596
8670
  id: z.ZodString;
8597
8671
  createdAt: z.ZodDate;
8598
8672
  updatedAt: z.ZodDate;
8599
8673
  deletedAt: z.ZodNullable<z.ZodDate>;
8674
+ }, {
8600
8675
  queueId: z.ZodNumber;
8601
8676
  queueName: z.ZodString;
8602
8677
  queueNumber: z.ZodString;
8603
8678
  maximumWaitingTime: z.ZodNumber;
8604
- }, "strip", z.ZodTypeAny, {
8679
+ }>, "strip", z.ZodTypeAny, {
8605
8680
  id: string;
8606
8681
  createdAt: Date;
8607
8682
  updatedAt: Date;
@@ -8620,7 +8695,7 @@ export declare const telephonyCdrContract: {
8620
8695
  queueNumber: string;
8621
8696
  maximumWaitingTime: number;
8622
8697
  }>, "many">;
8623
- }, "strip", z.ZodTypeAny, {
8698
+ }>, "strip", z.ZodTypeAny, {
8624
8699
  requestId: string;
8625
8700
  queues: {
8626
8701
  id: string;
@@ -8656,7 +8731,11 @@ export declare const telephonyCdrContract: {
8656
8731
  error?: any;
8657
8732
  }>;
8658
8733
  };
8659
- path: "telephony-cdr/queues";
8734
+ };
8735
+ getExtensionList: {
8736
+ method: "GET";
8737
+ query: null;
8738
+ path: "telephony-cdr/extensions";
8660
8739
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
8661
8740
  'x-tenant': z.ZodString;
8662
8741
  authorization: z.ZodString;
@@ -8673,18 +8752,16 @@ export declare const telephonyCdrContract: {
8673
8752
  'x-code'?: string | undefined;
8674
8753
  'x-client-timezone'?: string | undefined;
8675
8754
  }>>>;
8676
- };
8677
- getExtensionList: {
8678
- method: "GET";
8679
- query: null;
8680
8755
  responses: {
8681
- 200: z.ZodObject<{
8756
+ 200: z.ZodObject<z.objectUtil.extendShape<{
8682
8757
  requestId: z.ZodString;
8683
- extensions: z.ZodArray<z.ZodObject<{
8758
+ }, {
8759
+ extensions: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
8684
8760
  id: z.ZodString;
8685
8761
  createdAt: z.ZodDate;
8686
8762
  updatedAt: z.ZodDate;
8687
8763
  deletedAt: z.ZodNullable<z.ZodDate>;
8764
+ }, {
8688
8765
  user: z.ZodNullable<z.ZodOptional<z.ZodObject<Omit<{
8689
8766
  id: z.ZodString;
8690
8767
  createdAt: z.ZodDate;
@@ -8870,7 +8947,7 @@ export declare const telephonyCdrContract: {
8870
8947
  userId: z.ZodNullable<z.ZodString>;
8871
8948
  extensionId: z.ZodNullable<z.ZodString>;
8872
8949
  extensionName: z.ZodNullable<z.ZodString>;
8873
- }, "strip", z.ZodTypeAny, {
8950
+ }>, "strip", z.ZodTypeAny, {
8874
8951
  id: string;
8875
8952
  createdAt: Date;
8876
8953
  updatedAt: Date;
@@ -8957,7 +9034,7 @@ export declare const telephonyCdrContract: {
8957
9034
  }[];
8958
9035
  } | null | undefined;
8959
9036
  }>, "many">;
8960
- }, "strip", z.ZodTypeAny, {
9037
+ }>, "strip", z.ZodTypeAny, {
8961
9038
  requestId: string;
8962
9039
  extensions: {
8963
9040
  id: string;
@@ -9061,7 +9138,11 @@ export declare const telephonyCdrContract: {
9061
9138
  error?: any;
9062
9139
  }>;
9063
9140
  };
9064
- path: "telephony-cdr/extensions";
9141
+ };
9142
+ getDropdownList: {
9143
+ method: "GET";
9144
+ query: null;
9145
+ path: "telephony-cdr/dropdown";
9065
9146
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
9066
9147
  'x-tenant': z.ZodString;
9067
9148
  authorization: z.ZodString;
@@ -9078,13 +9159,10 @@ export declare const telephonyCdrContract: {
9078
9159
  'x-code'?: string | undefined;
9079
9160
  'x-client-timezone'?: string | undefined;
9080
9161
  }>>>;
9081
- };
9082
- getDropdownList: {
9083
- method: "GET";
9084
- query: null;
9085
9162
  responses: {
9086
- 200: z.ZodObject<{
9163
+ 200: z.ZodObject<z.objectUtil.extendShape<{
9087
9164
  requestId: z.ZodString;
9165
+ }, {
9088
9166
  trunks: z.ZodArray<z.ZodObject<{
9089
9167
  id: z.ZodString;
9090
9168
  trunkName: z.ZodString;
@@ -9097,7 +9175,7 @@ export declare const telephonyCdrContract: {
9097
9175
  }>, "many">;
9098
9176
  status: z.ZodArray<z.ZodEnum<["ANSWERED", "NO ANSWER", "FAILED"]>, "many">;
9099
9177
  type: z.ZodArray<z.ZodEnum<["Inbound", "Outbound", "Internal"]>, "many">;
9100
- }, "strip", z.ZodTypeAny, {
9178
+ }>, "strip", z.ZodTypeAny, {
9101
9179
  type: ("Inbound" | "Outbound" | "Internal")[];
9102
9180
  status: ("ANSWERED" | "NO ANSWER" | "FAILED")[];
9103
9181
  requestId: string;
@@ -9125,7 +9203,10 @@ export declare const telephonyCdrContract: {
9125
9203
  error?: any;
9126
9204
  }>;
9127
9205
  };
9128
- path: "telephony-cdr/dropdown";
9206
+ };
9207
+ getCallRedirectSetting: {
9208
+ method: "GET";
9209
+ path: "telephony-cdr/call-redirect-setting";
9129
9210
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
9130
9211
  'x-tenant': z.ZodString;
9131
9212
  authorization: z.ZodString;
@@ -9142,14 +9223,12 @@ export declare const telephonyCdrContract: {
9142
9223
  'x-code'?: string | undefined;
9143
9224
  'x-client-timezone'?: string | undefined;
9144
9225
  }>>>;
9145
- };
9146
- getCallRedirectSetting: {
9147
- method: "GET";
9148
9226
  responses: {
9149
- 200: z.ZodObject<{
9227
+ 200: z.ZodObject<z.objectUtil.extendShape<{
9150
9228
  requestId: z.ZodString;
9229
+ }, {
9151
9230
  callRedirectTo: z.ZodString;
9152
- }, "strip", z.ZodTypeAny, {
9231
+ }>, "strip", z.ZodTypeAny, {
9153
9232
  requestId: string;
9154
9233
  callRedirectTo: string;
9155
9234
  }, {
@@ -9184,6 +9263,16 @@ export declare const telephonyCdrContract: {
9184
9263
  error?: any;
9185
9264
  }>;
9186
9265
  };
9266
+ };
9267
+ updateCallRedirectSetting: {
9268
+ body: z.ZodObject<{
9269
+ callRedirectTo: z.ZodString;
9270
+ }, "strip", z.ZodTypeAny, {
9271
+ callRedirectTo: string;
9272
+ }, {
9273
+ callRedirectTo: string;
9274
+ }>;
9275
+ method: "PATCH";
9187
9276
  path: "telephony-cdr/call-redirect-setting";
9188
9277
  headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
9189
9278
  'x-tenant': z.ZodString;
@@ -9201,21 +9290,12 @@ export declare const telephonyCdrContract: {
9201
9290
  'x-code'?: string | undefined;
9202
9291
  'x-client-timezone'?: string | undefined;
9203
9292
  }>>>;
9204
- };
9205
- updateCallRedirectSetting: {
9206
- body: z.ZodObject<{
9207
- callRedirectTo: z.ZodString;
9208
- }, "strip", z.ZodTypeAny, {
9209
- callRedirectTo: string;
9210
- }, {
9211
- callRedirectTo: string;
9212
- }>;
9213
- method: "PATCH";
9214
9293
  responses: {
9215
- 200: z.ZodObject<{
9294
+ 200: z.ZodObject<z.objectUtil.extendShape<{
9216
9295
  requestId: z.ZodString;
9296
+ }, {
9217
9297
  callRedirectTo: z.ZodString;
9218
- }, "strip", z.ZodTypeAny, {
9298
+ }>, "strip", z.ZodTypeAny, {
9219
9299
  requestId: string;
9220
9300
  callRedirectTo: string;
9221
9301
  }, {
@@ -9250,23 +9330,6 @@ export declare const telephonyCdrContract: {
9250
9330
  error?: any;
9251
9331
  }>;
9252
9332
  };
9253
- path: "telephony-cdr/call-redirect-setting";
9254
- headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
9255
- 'x-tenant': z.ZodString;
9256
- authorization: z.ZodString;
9257
- 'x-code': z.ZodOptional<z.ZodString>;
9258
- 'x-client-timezone': z.ZodDefault<z.ZodString>;
9259
- }, "strip", z.ZodTypeAny, {
9260
- 'x-tenant': string;
9261
- authorization: string;
9262
- 'x-client-timezone': string;
9263
- 'x-code'?: string | undefined;
9264
- }, {
9265
- 'x-tenant': string;
9266
- authorization: string;
9267
- 'x-code'?: string | undefined;
9268
- 'x-client-timezone'?: string | undefined;
9269
- }>>>;
9270
9333
  };
9271
9334
  };
9272
9335
  //# sourceMappingURL=index.d.ts.map