@kl1/contracts 1.0.3 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (200) hide show
  1. package/dist/index.js +632 -319
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +632 -319
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/call-log/schema.d.ts +4 -4
  6. package/dist/src/contract.d.ts +26374 -1719
  7. package/dist/src/contract.d.ts.map +1 -1
  8. package/dist/src/extension/index.d.ts +85 -0
  9. package/dist/src/extension/index.d.ts.map +1 -1
  10. package/dist/src/line/index.d.ts +2 -2
  11. package/dist/src/line/validation.d.ts +2 -2
  12. package/dist/src/mail/account-contract.d.ts +168 -224
  13. package/dist/src/mail/account-contract.d.ts.map +1 -1
  14. package/dist/src/mail/mail-contract.d.ts +11118 -250
  15. package/dist/src/mail/mail-contract.d.ts.map +1 -1
  16. package/dist/src/mail/{mail-server.d.ts → mail-server-contract.d.ts} +5 -5
  17. package/dist/src/mail/mail-server-contract.d.ts.map +1 -0
  18. package/dist/src/mail/message-contract.d.ts +502 -8
  19. package/dist/src/mail/message-contract.d.ts.map +1 -1
  20. package/dist/src/mail/room-contract.d.ts +10443 -13
  21. package/dist/src/mail/room-contract.d.ts.map +1 -1
  22. package/dist/src/mail/schemas/account-validation.schema.d.ts +790 -0
  23. package/dist/{contract.d.ts.map → src/mail/schemas/account-validation.schema.d.ts.map} +1 -1
  24. package/dist/src/mail/schemas/account.schema.d.ts +33 -888
  25. package/dist/src/mail/schemas/account.schema.d.ts.map +1 -1
  26. package/dist/src/mail/schemas/message-validation.schema.d.ts +2 -0
  27. package/dist/src/mail/schemas/message-validation.schema.d.ts.map +1 -0
  28. package/dist/src/mail/schemas/message.schema.d.ts +349 -0
  29. package/dist/src/mail/schemas/message.schema.d.ts.map +1 -0
  30. package/dist/src/mail/schemas/room.schema.d.ts +2692 -0
  31. package/dist/src/mail/schemas/room.schema.d.ts.map +1 -0
  32. package/dist/src/telephony-cdr/schema.d.ts +4 -4
  33. package/dist/src/user/index.d.ts +162 -279
  34. package/dist/src/user/index.d.ts.map +1 -1
  35. package/dist/src/user/schema.d.ts.map +1 -1
  36. package/dist/src/user/validation.d.ts +15 -6
  37. package/dist/src/user/validation.d.ts.map +1 -1
  38. package/package.json +46 -45
  39. package/dist/api-contracts/src/auth/index.d.ts +0 -436
  40. package/dist/api-contracts/src/auth/index.d.ts.map +0 -1
  41. package/dist/api-contracts/src/auth/permission-schema.d.ts +0 -27
  42. package/dist/api-contracts/src/auth/permission-schema.d.ts.map +0 -1
  43. package/dist/api-contracts/src/auth/role-schema.d.ts +0 -70
  44. package/dist/api-contracts/src/auth/role-schema.d.ts.map +0 -1
  45. package/dist/api-contracts/src/auth/user-schema.d.ts +0 -140
  46. package/dist/api-contracts/src/auth/user-schema.d.ts.map +0 -1
  47. package/dist/api-contracts/src/base-contract.d.ts +0 -85
  48. package/dist/api-contracts/src/base-contract.d.ts.map +0 -1
  49. package/dist/api-contracts/src/contract.d.ts +0 -593
  50. package/dist/api-contracts/src/contract.d.ts.map +0 -1
  51. package/dist/api-contracts/src/cx-log/cx-log-schema.d.ts +0 -54
  52. package/dist/api-contracts/src/cx-log/cx-log-schema.d.ts.map +0 -1
  53. package/dist/api-contracts/src/cx-log/index.d.ts +0 -252
  54. package/dist/api-contracts/src/cx-log/index.d.ts.map +0 -1
  55. package/dist/api-contracts/src/index.d.ts +0 -2
  56. package/dist/api-contracts/src/index.d.ts.map +0 -1
  57. package/dist/attribute/schema.d.ts +0 -42
  58. package/dist/attribute/schema.d.ts.map +0 -1
  59. package/dist/attribute-option/schema.d.ts +0 -33
  60. package/dist/attribute-option/schema.d.ts.map +0 -1
  61. package/dist/auth/index.d.ts +0 -436
  62. package/dist/auth/index.d.ts.map +0 -1
  63. package/dist/auth/permission-schema.d.ts +0 -27
  64. package/dist/auth/permission-schema.d.ts.map +0 -1
  65. package/dist/auth/role-schema.d.ts +0 -70
  66. package/dist/auth/role-schema.d.ts.map +0 -1
  67. package/dist/auth/user-schema.d.ts +0 -140
  68. package/dist/auth/user-schema.d.ts.map +0 -1
  69. package/dist/base-contract.d.ts +0 -85
  70. package/dist/base-contract.d.ts.map +0 -1
  71. package/dist/call-log/index.d.ts +0 -4
  72. package/dist/call-log/index.d.ts.map +0 -1
  73. package/dist/call-log/schema.d.ts +0 -57
  74. package/dist/call-log/schema.d.ts.map +0 -1
  75. package/dist/call-log/validation.d.ts +0 -24
  76. package/dist/call-log/validation.d.ts.map +0 -1
  77. package/dist/company/schema.d.ts +0 -30
  78. package/dist/company/schema.d.ts.map +0 -1
  79. package/dist/contact/schema.d.ts +0 -42
  80. package/dist/contact/schema.d.ts.map +0 -1
  81. package/dist/contact-email/schema.d.ts +0 -27
  82. package/dist/contact-email/schema.d.ts.map +0 -1
  83. package/dist/contact-phone/schema.d.ts +0 -27
  84. package/dist/contact-phone/schema.d.ts.map +0 -1
  85. package/dist/contract.d.ts +0 -663
  86. package/dist/custom-field/schema.d.ts +0 -36
  87. package/dist/custom-field/schema.d.ts.map +0 -1
  88. package/dist/custom-field-upload/schema.d.ts +0 -24
  89. package/dist/custom-field-upload/schema.d.ts.map +0 -1
  90. package/dist/cx-log/cx-log-schema.d.ts +0 -54
  91. package/dist/cx-log/cx-log-schema.d.ts.map +0 -1
  92. package/dist/cx-log/index.d.ts +0 -230
  93. package/dist/cx-log/index.d.ts.map +0 -1
  94. package/dist/cx-log/schema.d.ts +0 -54
  95. package/dist/cx-log/schema.d.ts.map +0 -1
  96. package/dist/cx-log/validation.d.ts +0 -95
  97. package/dist/cx-log/validation.d.ts.map +0 -1
  98. package/dist/entities/src/base.entity.d.ts +0 -7
  99. package/dist/entities/src/base.entity.d.ts.map +0 -1
  100. package/dist/entities/src/tenants/attribute-option.entity.d.ts +0 -9
  101. package/dist/entities/src/tenants/attribute-option.entity.d.ts.map +0 -1
  102. package/dist/entities/src/tenants/attribute.entity.d.ts +0 -12
  103. package/dist/entities/src/tenants/attribute.entity.d.ts.map +0 -1
  104. package/dist/entities/src/tenants/call-log.entity.d.ts +0 -18
  105. package/dist/entities/src/tenants/call-log.entity.d.ts.map +0 -1
  106. package/dist/entities/src/tenants/company.entity.d.ts +0 -8
  107. package/dist/entities/src/tenants/company.entity.d.ts.map +0 -1
  108. package/dist/entities/src/tenants/contact-custom-field.entity.d.ts +0 -14
  109. package/dist/entities/src/tenants/contact-custom-field.entity.d.ts.map +0 -1
  110. package/dist/entities/src/tenants/contact-email.entity.d.ts +0 -7
  111. package/dist/entities/src/tenants/contact-email.entity.d.ts.map +0 -1
  112. package/dist/entities/src/tenants/contact-phone.entity.d.ts +0 -7
  113. package/dist/entities/src/tenants/contact-phone.entity.d.ts.map +0 -1
  114. package/dist/entities/src/tenants/contact.entity.d.ts +0 -14
  115. package/dist/entities/src/tenants/contact.entity.d.ts.map +0 -1
  116. package/dist/entities/src/tenants/custom-field-upload.entity.d.ts +0 -8
  117. package/dist/entities/src/tenants/custom-field-upload.entity.d.ts.map +0 -1
  118. package/dist/entities/src/tenants/custom-field.entity.d.ts +0 -10
  119. package/dist/entities/src/tenants/custom-field.entity.d.ts.map +0 -1
  120. package/dist/entities/src/tenants/cx-log.entity.d.ts +0 -20
  121. package/dist/entities/src/tenants/cx-log.entity.d.ts.map +0 -1
  122. package/dist/entities/src/tenants/evaluate-form.entity.d.ts +0 -9
  123. package/dist/entities/src/tenants/evaluate-form.entity.d.ts.map +0 -1
  124. package/dist/entities/src/tenants/extension.entity.d.ts +0 -10
  125. package/dist/entities/src/tenants/extension.entity.d.ts.map +0 -1
  126. package/dist/entities/src/tenants/group.entity.d.ts +0 -6
  127. package/dist/entities/src/tenants/group.entity.d.ts.map +0 -1
  128. package/dist/entities/src/tenants/index.d.ts +0 -25
  129. package/dist/entities/src/tenants/index.d.ts.map +0 -1
  130. package/dist/entities/src/tenants/log-form.entity.d.ts +0 -6
  131. package/dist/entities/src/tenants/log-form.entity.d.ts.map +0 -1
  132. package/dist/entities/src/tenants/permission.entity.d.ts +0 -9
  133. package/dist/entities/src/tenants/permission.entity.d.ts.map +0 -1
  134. package/dist/entities/src/tenants/platform-contact.entity.d.ts +0 -8
  135. package/dist/entities/src/tenants/platform-contact.entity.d.ts.map +0 -1
  136. package/dist/entities/src/tenants/role.entity.d.ts +0 -11
  137. package/dist/entities/src/tenants/role.entity.d.ts.map +0 -1
  138. package/dist/entities/src/tenants/tag-group.entity.d.ts +0 -8
  139. package/dist/entities/src/tenants/tag-group.entity.d.ts.map +0 -1
  140. package/dist/entities/src/tenants/tag.entity.d.ts +0 -11
  141. package/dist/entities/src/tenants/tag.entity.d.ts.map +0 -1
  142. package/dist/entities/src/tenants/telephony-cdr.entity.d.ts +0 -23
  143. package/dist/entities/src/tenants/telephony-cdr.entity.d.ts.map +0 -1
  144. package/dist/entities/src/tenants/telephony-live-queue-call.entity.d.ts +0 -7
  145. package/dist/entities/src/tenants/telephony-live-queue-call.entity.d.ts.map +0 -1
  146. package/dist/entities/src/tenants/telephony-queue-call-count.entity.d.ts +0 -15
  147. package/dist/entities/src/tenants/telephony-queue-call-count.entity.d.ts.map +0 -1
  148. package/dist/entities/src/tenants/ticket.entity.d.ts +0 -17
  149. package/dist/entities/src/tenants/ticket.entity.d.ts.map +0 -1
  150. package/dist/entities/src/tenants/upload.entity.d.ts +0 -8
  151. package/dist/entities/src/tenants/upload.entity.d.ts.map +0 -1
  152. package/dist/entities/src/tenants/user.entity.d.ts +0 -13
  153. package/dist/entities/src/tenants/user.entity.d.ts.map +0 -1
  154. package/dist/entities/src/tenants/widget.entity.d.ts +0 -9
  155. package/dist/entities/src/tenants/widget.entity.d.ts.map +0 -1
  156. package/dist/evaluate-form/schema.d.ts +0 -27
  157. package/dist/evaluate-form/schema.d.ts.map +0 -1
  158. package/dist/exchange-token/index.d.ts +0 -32
  159. package/dist/exchange-token/index.d.ts.map +0 -1
  160. package/dist/extension/schema.d.ts +0 -36
  161. package/dist/extension/schema.d.ts.map +0 -1
  162. package/dist/group/schema.d.ts +0 -24
  163. package/dist/group/schema.d.ts.map +0 -1
  164. package/dist/index.d.ts +0 -3
  165. package/dist/index.d.ts.map +0 -1
  166. package/dist/log-form/schema.d.ts +0 -24
  167. package/dist/log-form/schema.d.ts.map +0 -1
  168. package/dist/permission/schema.d.ts +0 -27
  169. package/dist/permission/schema.d.ts.map +0 -1
  170. package/dist/platform-contact/schema.d.ts +0 -30
  171. package/dist/platform-contact/schema.d.ts.map +0 -1
  172. package/dist/posts/index.d.ts +0 -118
  173. package/dist/posts/index.d.ts.map +0 -1
  174. package/dist/role/schema.d.ts +0 -70
  175. package/dist/role/schema.d.ts.map +0 -1
  176. package/dist/src/mail/mail-server.d.ts.map +0 -1
  177. package/dist/src/types.d.ts +0 -5
  178. package/dist/src/types.d.ts.map +0 -1
  179. package/dist/tag/schema.d.ts +0 -21
  180. package/dist/tag/schema.d.ts.map +0 -1
  181. package/dist/tag-group/schema.d.ts +0 -24
  182. package/dist/tag-group/schema.d.ts.map +0 -1
  183. package/dist/telephony-cdr/index.d.ts +0 -4
  184. package/dist/telephony-cdr/index.d.ts.map +0 -1
  185. package/dist/telephony-cdr/schema.d.ts +0 -75
  186. package/dist/telephony-cdr/schema.d.ts.map +0 -1
  187. package/dist/telephony-cdr/validation.d.ts +0 -48
  188. package/dist/telephony-cdr/validation.d.ts.map +0 -1
  189. package/dist/telephony-live-queue-call/schema.d.ts +0 -27
  190. package/dist/telephony-live-queue-call/schema.d.ts.map +0 -1
  191. package/dist/telephony-queue-call-count/schema.d.ts +0 -51
  192. package/dist/telephony-queue-call-count/schema.d.ts.map +0 -1
  193. package/dist/ticket/schema.d.ts +0 -51
  194. package/dist/ticket/schema.d.ts.map +0 -1
  195. package/dist/upload/schema.d.ts +0 -30
  196. package/dist/upload/schema.d.ts.map +0 -1
  197. package/dist/user/schema.d.ts +0 -140
  198. package/dist/user/schema.d.ts.map +0 -1
  199. package/dist/widget/schema.d.ts +0 -33
  200. package/dist/widget/schema.d.ts.map +0 -1
@@ -1,663 +0,0 @@
1
- export declare const apiContract: {
2
- auth: {
3
- refreshToken: {
4
- body: null;
5
- summary: "Refresh token";
6
- method: "POST";
7
- responses: {
8
- 200: import("zod").ZodObject<{
9
- requestId: import("zod").ZodString;
10
- accessToken: import("zod").ZodString;
11
- refreshToken: import("zod").ZodString;
12
- }, "strip", import("zod").ZodTypeAny, {
13
- requestId: string;
14
- refreshToken: string;
15
- accessToken: string;
16
- }, {
17
- requestId: string;
18
- refreshToken: string;
19
- accessToken: string;
20
- }>;
21
- 401: import("zod").ZodObject<{
22
- message: import("zod").ZodString;
23
- error: import("zod").ZodAny;
24
- }, "strip", import("zod").ZodTypeAny, {
25
- message: string;
26
- error?: any;
27
- }, {
28
- message: string;
29
- error?: any;
30
- }>;
31
- 404: import("zod").ZodObject<{
32
- message: import("zod").ZodString;
33
- error: import("zod").ZodAny;
34
- }, "strip", import("zod").ZodTypeAny, {
35
- message: string;
36
- error?: any;
37
- }, {
38
- message: string;
39
- error?: any;
40
- }>;
41
- 422: import("zod").ZodObject<{
42
- message: import("zod").ZodString;
43
- error: import("zod").ZodAny;
44
- }, "strip", import("zod").ZodTypeAny, {
45
- message: string;
46
- error?: any;
47
- }, {
48
- message: string;
49
- error?: any;
50
- }>;
51
- };
52
- path: "auth/refresh-token";
53
- headers: import("zod").ZodObject<{
54
- 'x-tenant': import("zod").ZodString;
55
- authorization: import("zod").ZodString;
56
- }, "strip", import("zod").ZodTypeAny, {
57
- 'x-tenant': string;
58
- authorization: string;
59
- }, {
60
- 'x-tenant': string;
61
- authorization: string;
62
- }>;
63
- };
64
- exchangeToken: {
65
- body: null;
66
- summary: "Exchange jwt token";
67
- method: "POST";
68
- responses: {
69
- 200: import("zod").ZodObject<{
70
- requestId: import("zod").ZodString;
71
- accessToken: import("zod").ZodString;
72
- refreshToken: import("zod").ZodString;
73
- }, "strip", import("zod").ZodTypeAny, {
74
- requestId: string;
75
- refreshToken: string;
76
- accessToken: string;
77
- }, {
78
- requestId: string;
79
- refreshToken: string;
80
- accessToken: string;
81
- }>;
82
- 401: import("zod").ZodObject<{
83
- message: import("zod").ZodString;
84
- error: import("zod").ZodAny;
85
- }, "strip", import("zod").ZodTypeAny, {
86
- message: string;
87
- error?: any;
88
- }, {
89
- message: string;
90
- error?: any;
91
- }>;
92
- 404: import("zod").ZodObject<{
93
- message: import("zod").ZodString;
94
- error: import("zod").ZodAny;
95
- }, "strip", import("zod").ZodTypeAny, {
96
- message: string;
97
- error?: any;
98
- }, {
99
- message: string;
100
- error?: any;
101
- }>;
102
- 422: import("zod").ZodObject<{
103
- message: import("zod").ZodString;
104
- error: import("zod").ZodAny;
105
- }, "strip", import("zod").ZodTypeAny, {
106
- message: string;
107
- error?: any;
108
- }, {
109
- message: string;
110
- error?: any;
111
- }>;
112
- };
113
- path: "auth/exchange-token";
114
- headers: import("zod").ZodObject<{
115
- 'x-tenant': import("zod").ZodString;
116
- authorization: import("zod").ZodString;
117
- }, "strip", import("zod").ZodTypeAny, {
118
- 'x-tenant': string;
119
- authorization: string;
120
- }, {
121
- 'x-tenant': string;
122
- authorization: string;
123
- }>;
124
- };
125
- logout: {
126
- body: null;
127
- summary: "Logout";
128
- method: "POST";
129
- responses: {
130
- 200: import("zod").ZodObject<{
131
- requestId: import("zod").ZodString;
132
- message: import("zod").ZodString;
133
- }, "strip", import("zod").ZodTypeAny, {
134
- message: string;
135
- requestId: string;
136
- }, {
137
- message: string;
138
- requestId: string;
139
- }>;
140
- 401: import("zod").ZodObject<{
141
- message: import("zod").ZodString;
142
- error: import("zod").ZodAny;
143
- }, "strip", import("zod").ZodTypeAny, {
144
- message: string;
145
- error?: any;
146
- }, {
147
- message: string;
148
- error?: any;
149
- }>;
150
- 404: import("zod").ZodObject<{
151
- message: import("zod").ZodString;
152
- error: import("zod").ZodAny;
153
- }, "strip", import("zod").ZodTypeAny, {
154
- message: string;
155
- error?: any;
156
- }, {
157
- message: string;
158
- error?: any;
159
- }>;
160
- 422: import("zod").ZodObject<{
161
- message: import("zod").ZodString;
162
- error: import("zod").ZodAny;
163
- }, "strip", import("zod").ZodTypeAny, {
164
- message: string;
165
- error?: any;
166
- }, {
167
- message: string;
168
- error?: any;
169
- }>;
170
- };
171
- path: "auth/logout";
172
- headers: import("zod").ZodObject<{
173
- 'x-tenant': import("zod").ZodString;
174
- authorization: import("zod").ZodString;
175
- }, "strip", import("zod").ZodTypeAny, {
176
- 'x-tenant': string;
177
- authorization: string;
178
- }, {
179
- 'x-tenant': string;
180
- authorization: string;
181
- }>;
182
- };
183
- me: {
184
- summary: "Get current user";
185
- method: "GET";
186
- responses: {
187
- 200: import("zod").ZodObject<{
188
- requestId: import("zod").ZodString;
189
- user: import("zod").ZodObject<{
190
- id: import("zod").ZodString;
191
- createdAt: import("zod").ZodDate;
192
- updatedAt: import("zod").ZodDate;
193
- deletedAt: import("zod").ZodDate;
194
- name: import("zod").ZodString;
195
- email: import("zod").ZodString;
196
- address: import("zod").ZodNullable<import("zod").ZodString>;
197
- phone: import("zod").ZodNullable<import("zod").ZodString>;
198
- notificationCount: import("zod").ZodNullable<import("zod").ZodNumber>;
199
- userId: import("zod").ZodNullable<import("zod").ZodString>;
200
- roles: import("zod").ZodArray<import("zod").ZodObject<{
201
- id: import("zod").ZodString;
202
- createdAt: import("zod").ZodDate;
203
- updatedAt: import("zod").ZodDate;
204
- deletedAt: import("zod").ZodDate;
205
- systemName: import("zod").ZodString;
206
- displayName: import("zod").ZodString;
207
- description: import("zod").ZodNullable<import("zod").ZodString>;
208
- permissions: import("zod").ZodArray<import("zod").ZodObject<{
209
- id: import("zod").ZodString;
210
- createdAt: import("zod").ZodDate;
211
- updatedAt: import("zod").ZodDate;
212
- deletedAt: import("zod").ZodDate;
213
- systemName: import("zod").ZodString;
214
- displayName: import("zod").ZodString;
215
- description: import("zod").ZodNullable<import("zod").ZodString>;
216
- }, "strip", import("zod").ZodTypeAny, {
217
- id: string;
218
- description: string | null;
219
- createdAt: Date;
220
- updatedAt: Date;
221
- deletedAt: Date;
222
- systemName: string;
223
- displayName: string;
224
- }, {
225
- id: string;
226
- description: string | null;
227
- createdAt: Date;
228
- updatedAt: Date;
229
- deletedAt: Date;
230
- systemName: string;
231
- displayName: string;
232
- }>, "many">;
233
- }, "strip", import("zod").ZodTypeAny, {
234
- id: string;
235
- description: string | null;
236
- createdAt: Date;
237
- updatedAt: Date;
238
- deletedAt: Date;
239
- systemName: string;
240
- displayName: string;
241
- permissions: {
242
- id: string;
243
- description: string | null;
244
- createdAt: Date;
245
- updatedAt: Date;
246
- deletedAt: Date;
247
- systemName: string;
248
- displayName: string;
249
- }[];
250
- }, {
251
- id: string;
252
- description: string | null;
253
- createdAt: Date;
254
- updatedAt: Date;
255
- deletedAt: Date;
256
- systemName: string;
257
- displayName: string;
258
- permissions: {
259
- id: string;
260
- description: string | null;
261
- createdAt: Date;
262
- updatedAt: Date;
263
- deletedAt: Date;
264
- systemName: string;
265
- displayName: string;
266
- }[];
267
- }>, "many">;
268
- }, "strip", import("zod").ZodTypeAny, {
269
- id: string;
270
- address: string | null;
271
- name: string;
272
- email: string;
273
- createdAt: Date;
274
- updatedAt: Date;
275
- deletedAt: Date;
276
- phone: string | null;
277
- notificationCount: number | null;
278
- userId: string | null;
279
- roles: {
280
- id: string;
281
- description: string | null;
282
- createdAt: Date;
283
- updatedAt: Date;
284
- deletedAt: Date;
285
- systemName: string;
286
- displayName: string;
287
- permissions: {
288
- id: string;
289
- description: string | null;
290
- createdAt: Date;
291
- updatedAt: Date;
292
- deletedAt: Date;
293
- systemName: string;
294
- displayName: string;
295
- }[];
296
- }[];
297
- }, {
298
- id: string;
299
- address: string | null;
300
- name: string;
301
- email: string;
302
- createdAt: Date;
303
- updatedAt: Date;
304
- deletedAt: Date;
305
- phone: string | null;
306
- notificationCount: number | null;
307
- userId: string | null;
308
- roles: {
309
- id: string;
310
- description: string | null;
311
- createdAt: Date;
312
- updatedAt: Date;
313
- deletedAt: Date;
314
- systemName: string;
315
- displayName: string;
316
- permissions: {
317
- id: string;
318
- description: string | null;
319
- createdAt: Date;
320
- updatedAt: Date;
321
- deletedAt: Date;
322
- systemName: string;
323
- displayName: string;
324
- }[];
325
- }[];
326
- }>;
327
- }, "strip", import("zod").ZodTypeAny, {
328
- user: {
329
- id: string;
330
- address: string | null;
331
- name: string;
332
- email: string;
333
- createdAt: Date;
334
- updatedAt: Date;
335
- deletedAt: Date;
336
- phone: string | null;
337
- notificationCount: number | null;
338
- userId: string | null;
339
- roles: {
340
- id: string;
341
- description: string | null;
342
- createdAt: Date;
343
- updatedAt: Date;
344
- deletedAt: Date;
345
- systemName: string;
346
- displayName: string;
347
- permissions: {
348
- id: string;
349
- description: string | null;
350
- createdAt: Date;
351
- updatedAt: Date;
352
- deletedAt: Date;
353
- systemName: string;
354
- displayName: string;
355
- }[];
356
- }[];
357
- };
358
- requestId: string;
359
- }, {
360
- user: {
361
- id: string;
362
- address: string | null;
363
- name: string;
364
- email: string;
365
- createdAt: Date;
366
- updatedAt: Date;
367
- deletedAt: Date;
368
- phone: string | null;
369
- notificationCount: number | null;
370
- userId: string | null;
371
- roles: {
372
- id: string;
373
- description: string | null;
374
- createdAt: Date;
375
- updatedAt: Date;
376
- deletedAt: Date;
377
- systemName: string;
378
- displayName: string;
379
- permissions: {
380
- id: string;
381
- description: string | null;
382
- createdAt: Date;
383
- updatedAt: Date;
384
- deletedAt: Date;
385
- systemName: string;
386
- displayName: string;
387
- }[];
388
- }[];
389
- };
390
- requestId: string;
391
- }>;
392
- 401: import("zod").ZodObject<{
393
- message: import("zod").ZodString;
394
- error: import("zod").ZodAny;
395
- }, "strip", import("zod").ZodTypeAny, {
396
- message: string;
397
- error?: any;
398
- }, {
399
- message: string;
400
- error?: any;
401
- }>;
402
- 404: import("zod").ZodObject<{
403
- message: import("zod").ZodString;
404
- error: import("zod").ZodAny;
405
- }, "strip", import("zod").ZodTypeAny, {
406
- message: string;
407
- error?: any;
408
- }, {
409
- message: string;
410
- error?: any;
411
- }>;
412
- 422: import("zod").ZodObject<{
413
- message: import("zod").ZodString;
414
- error: import("zod").ZodAny;
415
- }, "strip", import("zod").ZodTypeAny, {
416
- message: string;
417
- error?: any;
418
- }, {
419
- message: string;
420
- error?: any;
421
- }>;
422
- };
423
- path: "auth/me";
424
- headers: import("zod").ZodObject<{
425
- 'x-tenant': import("zod").ZodString;
426
- authorization: import("zod").ZodString;
427
- }, "strip", import("zod").ZodTypeAny, {
428
- 'x-tenant': string;
429
- authorization: string;
430
- }, {
431
- 'x-tenant': string;
432
- authorization: string;
433
- }>;
434
- };
435
- };
436
- cxLog: {
437
- findAll: {
438
- summary: "Get all cx-logs";
439
- method: "GET";
440
- query: import("zod").ZodObject<{
441
- page: import("zod").ZodDefault<import("zod").ZodNumber>;
442
- pageSize: import("zod").ZodDefault<import("zod").ZodNumber>;
443
- contactId: import("zod").ZodOptional<import("zod").ZodString>;
444
- channelIds: import("zod").ZodOptional<import("zod").ZodString>;
445
- queueIds: import("zod").ZodOptional<import("zod").ZodString>;
446
- direction: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<["inbound", "outbound"]>, "many">>;
447
- sentimentScore: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<["positive", "negative"]>, "many">>;
448
- csatScore: import("zod").ZodOptional<import("zod").ZodString>;
449
- sla: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<["meet", "unmeet"]>, "many">>;
450
- caseId: import("zod").ZodOptional<import("zod").ZodString>;
451
- name: import("zod").ZodOptional<import("zod").ZodString>;
452
- email: import("zod").ZodOptional<import("zod").ZodString>;
453
- phone: import("zod").ZodOptional<import("zod").ZodString>;
454
- address: import("zod").ZodOptional<import("zod").ZodString>;
455
- company: import("zod").ZodOptional<import("zod").ZodString>;
456
- agentIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
457
- channel: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
458
- disposition: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
459
- notes: import("zod").ZodOptional<import("zod").ZodString>;
460
- contactLabels: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
461
- tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
462
- selectedDate: import("zod").ZodOptional<import("zod").ZodString>;
463
- customFields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
464
- attributeId: import("zod").ZodString;
465
- value: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "many">]>;
466
- type: import("zod").ZodString;
467
- }, "strip", import("zod").ZodTypeAny, {
468
- type: string;
469
- value: (string | string[]) & (string | string[] | undefined);
470
- attributeId: string;
471
- }, {
472
- type: string;
473
- value: (string | string[]) & (string | string[] | undefined);
474
- attributeId: string;
475
- }>, "many">>;
476
- }, "strip", import("zod").ZodTypeAny, {
477
- page: number;
478
- pageSize: number;
479
- contactId?: string | undefined;
480
- channelIds?: string | undefined;
481
- queueIds?: string | undefined;
482
- direction?: ("inbound" | "outbound")[] | undefined;
483
- sentimentScore?: ("positive" | "negative")[] | undefined;
484
- csatScore?: string | undefined;
485
- sla?: ("meet" | "unmeet")[] | undefined;
486
- caseId?: string | undefined;
487
- name?: string | undefined;
488
- email?: string | undefined;
489
- phone?: string | undefined;
490
- address?: string | undefined;
491
- company?: string | undefined;
492
- agentIds?: string[] | undefined;
493
- channel?: string[] | undefined;
494
- disposition?: string[] | undefined;
495
- notes?: string | undefined;
496
- contactLabels?: string[] | undefined;
497
- tags?: string[] | undefined;
498
- selectedDate?: string | undefined;
499
- customFields?: {
500
- type: string;
501
- value: (string | string[]) & (string | string[] | undefined);
502
- attributeId: string;
503
- }[] | undefined;
504
- }, {
505
- page?: number | undefined;
506
- pageSize?: number | undefined;
507
- contactId?: string | undefined;
508
- channelIds?: string | undefined;
509
- queueIds?: string | undefined;
510
- direction?: ("inbound" | "outbound")[] | undefined;
511
- sentimentScore?: ("positive" | "negative")[] | undefined;
512
- csatScore?: string | undefined;
513
- sla?: ("meet" | "unmeet")[] | undefined;
514
- caseId?: string | undefined;
515
- name?: string | undefined;
516
- email?: string | undefined;
517
- phone?: string | undefined;
518
- address?: string | undefined;
519
- company?: string | undefined;
520
- agentIds?: string[] | undefined;
521
- channel?: string[] | undefined;
522
- disposition?: string[] | undefined;
523
- notes?: string | undefined;
524
- contactLabels?: string[] | undefined;
525
- tags?: string[] | undefined;
526
- selectedDate?: string | undefined;
527
- customFields?: {
528
- type: string;
529
- value: (string | string[]) & (string | string[] | undefined);
530
- attributeId: string;
531
- }[] | undefined;
532
- }>;
533
- responses: {
534
- 200: import("zod").ZodObject<{
535
- requestId: import("zod").ZodString;
536
- total: import("zod").ZodNumber;
537
- page: import("zod").ZodNumber;
538
- pageSize: import("zod").ZodNumber;
539
- cxLogs: import("zod").ZodArray<import("zod").ZodObject<{
540
- id: import("zod").ZodString;
541
- createdAt: import("zod").ZodDate;
542
- updatedAt: import("zod").ZodDate;
543
- deletedAt: import("zod").ZodDate;
544
- caseId: import("zod").ZodNumber;
545
- entityId: import("zod").ZodString;
546
- entityName: import("zod").ZodString;
547
- contactId: import("zod").ZodNullable<import("zod").ZodString>;
548
- channel: import("zod").ZodNullable<import("zod").ZodString>;
549
- queueId: import("zod").ZodNullable<import("zod").ZodString>;
550
- agentId: import("zod").ZodNullable<import("zod").ZodString>;
551
- direction: import("zod").ZodNullable<import("zod").ZodString>;
552
- startedDate: import("zod").ZodNullable<import("zod").ZodDate>;
553
- handledTime: import("zod").ZodNullable<import("zod").ZodNumber>;
554
- firstResponseTime: import("zod").ZodNullable<import("zod").ZodNumber>;
555
- disposition: import("zod").ZodNullable<import("zod").ZodString>;
556
- }, "strip", import("zod").ZodTypeAny, {
557
- id: string;
558
- channel: string | null;
559
- disposition: string | null;
560
- direction: string | null;
561
- createdAt: Date;
562
- updatedAt: Date;
563
- deletedAt: Date;
564
- caseId: number;
565
- entityId: string;
566
- entityName: string;
567
- contactId: string | null;
568
- queueId: string | null;
569
- agentId: string | null;
570
- startedDate: Date | null;
571
- handledTime: number | null;
572
- firstResponseTime: number | null;
573
- }, {
574
- id: string;
575
- channel: string | null;
576
- disposition: string | null;
577
- direction: string | null;
578
- createdAt: Date;
579
- updatedAt: Date;
580
- deletedAt: Date;
581
- caseId: number;
582
- entityId: string;
583
- entityName: string;
584
- contactId: string | null;
585
- queueId: string | null;
586
- agentId: string | null;
587
- startedDate: Date | null;
588
- handledTime: number | null;
589
- firstResponseTime: number | null;
590
- }>, "many">;
591
- }, "strip", import("zod").ZodTypeAny, {
592
- total: number;
593
- page: number;
594
- pageSize: number;
595
- requestId: string;
596
- cxLogs: {
597
- id: string;
598
- channel: string | null;
599
- disposition: string | null;
600
- direction: string | null;
601
- createdAt: Date;
602
- updatedAt: Date;
603
- deletedAt: Date;
604
- caseId: number;
605
- entityId: string;
606
- entityName: string;
607
- contactId: string | null;
608
- queueId: string | null;
609
- agentId: string | null;
610
- startedDate: Date | null;
611
- handledTime: number | null;
612
- firstResponseTime: number | null;
613
- }[];
614
- }, {
615
- total: number;
616
- page: number;
617
- pageSize: number;
618
- requestId: string;
619
- cxLogs: {
620
- id: string;
621
- channel: string | null;
622
- disposition: string | null;
623
- direction: string | null;
624
- createdAt: Date;
625
- updatedAt: Date;
626
- deletedAt: Date;
627
- caseId: number;
628
- entityId: string;
629
- entityName: string;
630
- contactId: string | null;
631
- queueId: string | null;
632
- agentId: string | null;
633
- startedDate: Date | null;
634
- handledTime: number | null;
635
- firstResponseTime: number | null;
636
- }[];
637
- }>;
638
- 401: import("zod").ZodObject<{
639
- message: import("zod").ZodString;
640
- error: import("zod").ZodAny;
641
- }, "strip", import("zod").ZodTypeAny, {
642
- message: string;
643
- error?: any;
644
- }, {
645
- message: string;
646
- error?: any;
647
- }>;
648
- };
649
- path: "/cx-logs";
650
- headers: import("zod").ZodObject<{
651
- 'x-tenant': import("zod").ZodString;
652
- authorization: import("zod").ZodString;
653
- }, "strip", import("zod").ZodTypeAny, {
654
- 'x-tenant': string;
655
- authorization: string;
656
- }, {
657
- 'x-tenant': string;
658
- authorization: string;
659
- }>;
660
- };
661
- };
662
- };
663
- //# sourceMappingURL=contract.d.ts.map