@kl1/contracts 0.0.0-prod-testing

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 (287) hide show
  1. package/dist/index.js +7761 -0
  2. package/dist/index.js.map +1 -0
  3. package/dist/index.mjs +7692 -0
  4. package/dist/index.mjs.map +1 -0
  5. package/dist/src/activity-log/index.d.ts +406 -0
  6. package/dist/src/activity-log/index.d.ts.map +1 -0
  7. package/dist/src/activity-log/schema.d.ts +376 -0
  8. package/dist/src/activity-log/schema.d.ts.map +1 -0
  9. package/dist/src/activity-log/validation.d.ts +2 -0
  10. package/dist/src/activity-log/validation.d.ts.map +1 -0
  11. package/dist/src/attribute/index.d.ts +973 -0
  12. package/dist/src/attribute/index.d.ts.map +1 -0
  13. package/dist/src/attribute/schema.d.ts +130 -0
  14. package/dist/src/attribute/schema.d.ts.map +1 -0
  15. package/dist/src/attribute/validation.d.ts +128 -0
  16. package/dist/src/attribute/validation.d.ts.map +1 -0
  17. package/dist/src/attribute-option/schema.d.ts +33 -0
  18. package/dist/src/attribute-option/schema.d.ts.map +1 -0
  19. package/dist/src/auth/index.d.ts +595 -0
  20. package/dist/src/auth/index.d.ts.map +1 -0
  21. package/dist/src/aws/index.d.ts +177 -0
  22. package/dist/src/aws/index.d.ts.map +1 -0
  23. package/dist/src/aws/validation.d.ts +58 -0
  24. package/dist/src/aws/validation.d.ts.map +1 -0
  25. package/dist/src/base-contract.d.ts +123 -0
  26. package/dist/src/base-contract.d.ts.map +1 -0
  27. package/dist/src/botpress/index.d.ts +547 -0
  28. package/dist/src/botpress/index.d.ts.map +1 -0
  29. package/dist/src/botpress/schema.d.ts +81 -0
  30. package/dist/src/botpress/schema.d.ts.map +1 -0
  31. package/dist/src/botpress/validation.d.ts +229 -0
  32. package/dist/src/botpress/validation.d.ts.map +1 -0
  33. package/dist/src/business-calendar/index.d.ts +820 -0
  34. package/dist/src/business-calendar/index.d.ts.map +1 -0
  35. package/dist/src/business-calendar/schema.d.ts +180 -0
  36. package/dist/src/business-calendar/schema.d.ts.map +1 -0
  37. package/dist/src/business-calendar/validation.d.ts +210 -0
  38. package/dist/src/business-calendar/validation.d.ts.map +1 -0
  39. package/dist/src/call-log/index.d.ts +4 -0
  40. package/dist/src/call-log/index.d.ts.map +1 -0
  41. package/dist/src/call-log/schema.d.ts +57 -0
  42. package/dist/src/call-log/schema.d.ts.map +1 -0
  43. package/dist/src/call-log/validation.d.ts +24 -0
  44. package/dist/src/call-log/validation.d.ts.map +1 -0
  45. package/dist/src/category/index.d.ts +797 -0
  46. package/dist/src/category/index.d.ts.map +1 -0
  47. package/dist/src/category/schema.d.ts +116 -0
  48. package/dist/src/category/schema.d.ts.map +1 -0
  49. package/dist/src/category/validation.d.ts +42 -0
  50. package/dist/src/category/validation.d.ts.map +1 -0
  51. package/dist/src/channel/index.d.ts +5751 -0
  52. package/dist/src/channel/index.d.ts.map +1 -0
  53. package/dist/src/channel/schema.d.ts +400 -0
  54. package/dist/src/channel/schema.d.ts.map +1 -0
  55. package/dist/src/channel/validation.d.ts +153 -0
  56. package/dist/src/channel/validation.d.ts.map +1 -0
  57. package/dist/src/chat/index.d.ts +52481 -0
  58. package/dist/src/chat/index.d.ts.map +1 -0
  59. package/dist/src/chat/schema.d.ts +10848 -0
  60. package/dist/src/chat/schema.d.ts.map +1 -0
  61. package/dist/src/chat/validation.d.ts +14033 -0
  62. package/dist/src/chat/validation.d.ts.map +1 -0
  63. package/dist/src/comment/index.d.ts +13617 -0
  64. package/dist/src/comment/index.d.ts.map +1 -0
  65. package/dist/src/comment/schema.d.ts +3872 -0
  66. package/dist/src/comment/schema.d.ts.map +1 -0
  67. package/dist/src/comment/validation.d.ts +38 -0
  68. package/dist/src/comment/validation.d.ts.map +1 -0
  69. package/dist/src/company/index.d.ts +1726 -0
  70. package/dist/src/company/index.d.ts.map +1 -0
  71. package/dist/src/company/schema.d.ts +352 -0
  72. package/dist/src/company/schema.d.ts.map +1 -0
  73. package/dist/src/company/validation.d.ts +812 -0
  74. package/dist/src/company/validation.d.ts.map +1 -0
  75. package/dist/src/contact/index.d.ts +8915 -0
  76. package/dist/src/contact/index.d.ts.map +1 -0
  77. package/dist/src/contact/schema.d.ts +1166 -0
  78. package/dist/src/contact/schema.d.ts.map +1 -0
  79. package/dist/src/contact/validation.d.ts +5252 -0
  80. package/dist/src/contact/validation.d.ts.map +1 -0
  81. package/dist/src/contact-email/schema.d.ts +27 -0
  82. package/dist/src/contact-email/schema.d.ts.map +1 -0
  83. package/dist/src/contact-phone/schema.d.ts +27 -0
  84. package/dist/src/contact-phone/schema.d.ts.map +1 -0
  85. package/dist/src/contract.d.ts +151960 -0
  86. package/dist/src/contract.d.ts.map +1 -0
  87. package/dist/src/contract2.d.ts +2 -0
  88. package/dist/src/contract2.d.ts.map +1 -0
  89. package/dist/src/custom-field/index.d.ts +4 -0
  90. package/dist/src/custom-field/index.d.ts.map +1 -0
  91. package/dist/src/custom-field/schema.d.ts +36 -0
  92. package/dist/src/custom-field/schema.d.ts.map +1 -0
  93. package/dist/src/custom-field/validation.d.ts +15 -0
  94. package/dist/src/custom-field/validation.d.ts.map +1 -0
  95. package/dist/src/custom-field-upload/schema.d.ts +24 -0
  96. package/dist/src/custom-field-upload/schema.d.ts.map +1 -0
  97. package/dist/src/cx-log/index.d.ts +8949 -0
  98. package/dist/src/cx-log/index.d.ts.map +1 -0
  99. package/dist/src/cx-log/schema.d.ts +7563 -0
  100. package/dist/src/cx-log/schema.d.ts.map +1 -0
  101. package/dist/src/cx-log/validation.d.ts +98 -0
  102. package/dist/src/cx-log/validation.d.ts.map +1 -0
  103. package/dist/src/dashboard/index.d.ts +1957 -0
  104. package/dist/src/dashboard/index.d.ts.map +1 -0
  105. package/dist/src/dashboard/schema.d.ts +1064 -0
  106. package/dist/src/dashboard/schema.d.ts.map +1 -0
  107. package/dist/src/dashboard/validation.d.ts +29 -0
  108. package/dist/src/dashboard/validation.d.ts.map +1 -0
  109. package/dist/src/evaluate-form/index.d.ts +47 -0
  110. package/dist/src/evaluate-form/index.d.ts.map +1 -0
  111. package/dist/src/evaluate-form/schema.d.ts +27 -0
  112. package/dist/src/evaluate-form/schema.d.ts.map +1 -0
  113. package/dist/src/evaluate-form/validation.d.ts +28 -0
  114. package/dist/src/evaluate-form/validation.d.ts.map +1 -0
  115. package/dist/src/extension/index.d.ts +900 -0
  116. package/dist/src/extension/index.d.ts.map +1 -0
  117. package/dist/src/extension/schema.d.ts +39 -0
  118. package/dist/src/extension/schema.d.ts.map +1 -0
  119. package/dist/src/extension/validation.d.ts +52 -0
  120. package/dist/src/extension/validation.d.ts.map +1 -0
  121. package/dist/src/group/schema.d.ts +24 -0
  122. package/dist/src/group/schema.d.ts.map +1 -0
  123. package/dist/src/index.d.ts +26 -0
  124. package/dist/src/index.d.ts.map +1 -0
  125. package/dist/src/instagram/index.d.ts +9318 -0
  126. package/dist/src/instagram/index.d.ts.map +1 -0
  127. package/dist/src/instagram/schema.d.ts +2 -0
  128. package/dist/src/instagram/schema.d.ts.map +1 -0
  129. package/dist/src/instagram/validation.d.ts +113 -0
  130. package/dist/src/instagram/validation.d.ts.map +1 -0
  131. package/dist/src/line/index.d.ts +9485 -0
  132. package/dist/src/line/index.d.ts.map +1 -0
  133. package/dist/src/line/schema.d.ts +54 -0
  134. package/dist/src/line/schema.d.ts.map +1 -0
  135. package/dist/src/line/validation.d.ts +583 -0
  136. package/dist/src/line/validation.d.ts.map +1 -0
  137. package/dist/src/log-form/schema.d.ts +24 -0
  138. package/dist/src/log-form/schema.d.ts.map +1 -0
  139. package/dist/src/mail/account-contract.d.ts +1615 -0
  140. package/dist/src/mail/account-contract.d.ts.map +1 -0
  141. package/dist/src/mail/email-engine-webhooks-events.contract.d.ts +22 -0
  142. package/dist/src/mail/email-engine-webhooks-events.contract.d.ts.map +1 -0
  143. package/dist/src/mail/index.d.ts +23 -0
  144. package/dist/src/mail/index.d.ts.map +1 -0
  145. package/dist/src/mail/mail-contract.d.ts +16337 -0
  146. package/dist/src/mail/mail-contract.d.ts.map +1 -0
  147. package/dist/src/mail/mail-server-contract.d.ts +675 -0
  148. package/dist/src/mail/mail-server-contract.d.ts.map +1 -0
  149. package/dist/src/mail/message-contract.d.ts +832 -0
  150. package/dist/src/mail/message-contract.d.ts.map +1 -0
  151. package/dist/src/mail/room-contract.d.ts +13222 -0
  152. package/dist/src/mail/room-contract.d.ts.map +1 -0
  153. package/dist/src/mail/schemas/account-validation.schema.d.ts +790 -0
  154. package/dist/src/mail/schemas/account-validation.schema.d.ts.map +1 -0
  155. package/dist/src/mail/schemas/account.schema.d.ts +149 -0
  156. package/dist/src/mail/schemas/account.schema.d.ts.map +1 -0
  157. package/dist/src/mail/schemas/message-validation.schema.d.ts +163 -0
  158. package/dist/src/mail/schemas/message-validation.schema.d.ts.map +1 -0
  159. package/dist/src/mail/schemas/message.schema.d.ts +349 -0
  160. package/dist/src/mail/schemas/message.schema.d.ts.map +1 -0
  161. package/dist/src/mail/schemas/room-validation.schema.d.ts +4154 -0
  162. package/dist/src/mail/schemas/room-validation.schema.d.ts.map +1 -0
  163. package/dist/src/mail/schemas/room.schema.d.ts +3683 -0
  164. package/dist/src/mail/schemas/room.schema.d.ts.map +1 -0
  165. package/dist/src/mail/schemas/servers-validation.schema.d.ts +33 -0
  166. package/dist/src/mail/schemas/servers-validation.schema.d.ts.map +1 -0
  167. package/dist/src/messenger/index.d.ts +9339 -0
  168. package/dist/src/messenger/index.d.ts.map +1 -0
  169. package/dist/src/messenger/schema.d.ts +2 -0
  170. package/dist/src/messenger/schema.d.ts.map +1 -0
  171. package/dist/src/messenger/validation.d.ts +1632 -0
  172. package/dist/src/messenger/validation.d.ts.map +1 -0
  173. package/dist/src/notification/index.d.ts +2217 -0
  174. package/dist/src/notification/index.d.ts.map +1 -0
  175. package/dist/src/notification/schema.d.ts +1348 -0
  176. package/dist/src/notification/schema.d.ts.map +1 -0
  177. package/dist/src/notification/validation.d.ts +766 -0
  178. package/dist/src/notification/validation.d.ts.map +1 -0
  179. package/dist/src/permission/index.d.ts +103 -0
  180. package/dist/src/permission/index.d.ts.map +1 -0
  181. package/dist/src/permission/schema.d.ts +27 -0
  182. package/dist/src/permission/schema.d.ts.map +1 -0
  183. package/dist/src/public-api/index.d.ts +5843 -0
  184. package/dist/src/public-api/index.d.ts.map +1 -0
  185. package/dist/src/public-api/schema.d.ts +1010 -0
  186. package/dist/src/public-api/schema.d.ts.map +1 -0
  187. package/dist/src/public-api/validation.d.ts +1822 -0
  188. package/dist/src/public-api/validation.d.ts.map +1 -0
  189. package/dist/src/role/index.d.ts +566 -0
  190. package/dist/src/role/index.d.ts.map +1 -0
  191. package/dist/src/role/schema.d.ts +70 -0
  192. package/dist/src/role/schema.d.ts.map +1 -0
  193. package/dist/src/role/validation.d.ts +34 -0
  194. package/dist/src/role/validation.d.ts.map +1 -0
  195. package/dist/src/snippet/index.d.ts +1188 -0
  196. package/dist/src/snippet/index.d.ts.map +1 -0
  197. package/dist/src/snippet/schema.d.ts +332 -0
  198. package/dist/src/snippet/schema.d.ts.map +1 -0
  199. package/dist/src/snippet/validation.d.ts +80 -0
  200. package/dist/src/snippet/validation.d.ts.map +1 -0
  201. package/dist/src/tag/index.d.ts +310 -0
  202. package/dist/src/tag/index.d.ts.map +1 -0
  203. package/dist/src/tag/schema.d.ts +22 -0
  204. package/dist/src/tag/schema.d.ts.map +1 -0
  205. package/dist/src/tag/validation.d.ts +29 -0
  206. package/dist/src/tag/validation.d.ts.map +1 -0
  207. package/dist/src/tag-group/schema.d.ts +24 -0
  208. package/dist/src/tag-group/schema.d.ts.map +1 -0
  209. package/dist/src/telephony-agent-presence-status/index.d.ts +1423 -0
  210. package/dist/src/telephony-agent-presence-status/index.d.ts.map +1 -0
  211. package/dist/src/telephony-agent-presence-status/schema.d.ts +373 -0
  212. package/dist/src/telephony-agent-presence-status/schema.d.ts.map +1 -0
  213. package/dist/src/telephony-agent-presence-status/validation.d.ts +18 -0
  214. package/dist/src/telephony-agent-presence-status/validation.d.ts.map +1 -0
  215. package/dist/src/telephony-cdr/call-report.schema.d.ts +1753 -0
  216. package/dist/src/telephony-cdr/call-report.schema.d.ts.map +1 -0
  217. package/dist/src/telephony-cdr/index.d.ts +9144 -0
  218. package/dist/src/telephony-cdr/index.d.ts.map +1 -0
  219. package/dist/src/telephony-cdr/schema.d.ts +3021 -0
  220. package/dist/src/telephony-cdr/schema.d.ts.map +1 -0
  221. package/dist/src/telephony-cdr/validation.d.ts +236 -0
  222. package/dist/src/telephony-cdr/validation.d.ts.map +1 -0
  223. package/dist/src/telephony-extension/index.d.ts +263 -0
  224. package/dist/src/telephony-extension/index.d.ts.map +1 -0
  225. package/dist/src/telephony-extension/schema.d.ts +208 -0
  226. package/dist/src/telephony-extension/schema.d.ts.map +1 -0
  227. package/dist/src/telephony-live-queue-call/schema.d.ts +27 -0
  228. package/dist/src/telephony-live-queue-call/schema.d.ts.map +1 -0
  229. package/dist/src/telephony-queue-call-count/schema.d.ts +51 -0
  230. package/dist/src/telephony-queue-call-count/schema.d.ts.map +1 -0
  231. package/dist/src/tenant/schema.d.ts +36 -0
  232. package/dist/src/tenant/schema.d.ts.map +1 -0
  233. package/dist/src/ticket/index.d.ts +18513 -0
  234. package/dist/src/ticket/index.d.ts.map +1 -0
  235. package/dist/src/ticket/schema.d.ts +2728 -0
  236. package/dist/src/ticket/schema.d.ts.map +1 -0
  237. package/dist/src/ticket/validation.d.ts +559 -0
  238. package/dist/src/ticket/validation.d.ts.map +1 -0
  239. package/dist/src/upload/index.d.ts +197 -0
  240. package/dist/src/upload/index.d.ts.map +1 -0
  241. package/dist/src/upload/schema.d.ts +50 -0
  242. package/dist/src/upload/schema.d.ts.map +1 -0
  243. package/dist/src/upload/validation.d.ts +2 -0
  244. package/dist/src/upload/validation.d.ts.map +1 -0
  245. package/dist/src/user/index.d.ts +1767 -0
  246. package/dist/src/user/index.d.ts.map +1 -0
  247. package/dist/src/user/schema.d.ts +206 -0
  248. package/dist/src/user/schema.d.ts.map +1 -0
  249. package/dist/src/user/validation.d.ts +62 -0
  250. package/dist/src/user/validation.d.ts.map +1 -0
  251. package/dist/src/user-presence-status-log/index.d.ts +412 -0
  252. package/dist/src/user-presence-status-log/index.d.ts.map +1 -0
  253. package/dist/src/user-presence-status-log/schema.d.ts +389 -0
  254. package/dist/src/user-presence-status-log/schema.d.ts.map +1 -0
  255. package/dist/src/user-presence-status-log/validation.d.ts +22 -0
  256. package/dist/src/user-presence-status-log/validation.d.ts.map +1 -0
  257. package/dist/src/viber/index.d.ts +9832 -0
  258. package/dist/src/viber/index.d.ts.map +1 -0
  259. package/dist/src/viber/schema.d.ts +2 -0
  260. package/dist/src/viber/schema.d.ts.map +1 -0
  261. package/dist/src/viber/validation.d.ts +45 -0
  262. package/dist/src/viber/validation.d.ts.map +1 -0
  263. package/dist/src/webchat/index.d.ts +8644 -0
  264. package/dist/src/webchat/index.d.ts.map +1 -0
  265. package/dist/src/webchat/schema.d.ts +95 -0
  266. package/dist/src/webchat/schema.d.ts.map +1 -0
  267. package/dist/src/webchat/validation.d.ts +36 -0
  268. package/dist/src/webchat/validation.d.ts.map +1 -0
  269. package/dist/src/widget/index.d.ts +925 -0
  270. package/dist/src/widget/index.d.ts.map +1 -0
  271. package/dist/src/widget/schema.d.ts +44 -0
  272. package/dist/src/widget/schema.d.ts.map +1 -0
  273. package/dist/src/widget/validation.d.ts +70 -0
  274. package/dist/src/widget/validation.d.ts.map +1 -0
  275. package/dist/src/workflow-rule/index.d.ts +7305 -0
  276. package/dist/src/workflow-rule/index.d.ts.map +1 -0
  277. package/dist/src/workflow-rule/schema.d.ts +27 -0
  278. package/dist/src/workflow-rule/schema.d.ts.map +1 -0
  279. package/dist/src/wrap-up-form/index.d.ts +2088 -0
  280. package/dist/src/wrap-up-form/index.d.ts.map +1 -0
  281. package/dist/src/wrap-up-form/schema.d.ts +268 -0
  282. package/dist/src/wrap-up-form/schema.d.ts.map +1 -0
  283. package/dist/src/wrap-up-form/validation.d.ts +88 -0
  284. package/dist/src/wrap-up-form/validation.d.ts.map +1 -0
  285. package/dist/utils.d.ts +37 -0
  286. package/dist/utils.d.ts.map +1 -0
  287. package/package.json +50 -0
@@ -0,0 +1,2217 @@
1
+ import z from 'zod';
2
+ import { GetNotificationsRequestSchema, ResetNotificationRequestSchema } from './validation';
3
+ import { NotificationChangeSchema, NotificationObjectSchema, NotificationSchema } from './schema';
4
+ export type Notification = z.infer<typeof NotificationSchema>;
5
+ export type NotificationChange = z.infer<typeof NotificationChangeSchema>;
6
+ export type NotificationObject = z.infer<typeof NotificationObjectSchema>;
7
+ export type GetNotificationsRequest = z.infer<typeof GetNotificationsRequestSchema>;
8
+ export type ResetNotificationsRequest = z.infer<typeof ResetNotificationRequestSchema>;
9
+ export declare const userNotificationContract: {
10
+ getNotifications: {
11
+ summary: "Get user's notification";
12
+ method: "GET";
13
+ query: z.ZodObject<{
14
+ page: z.ZodDefault<z.ZodNumber>;
15
+ pageSize: z.ZodDefault<z.ZodNumber>;
16
+ }, "strip", z.ZodTypeAny, {
17
+ page: number;
18
+ pageSize: number;
19
+ }, {
20
+ page?: number | undefined;
21
+ pageSize?: number | undefined;
22
+ }>;
23
+ responses: {
24
+ 200: z.ZodObject<{
25
+ requestId: z.ZodString;
26
+ data: z.ZodObject<{
27
+ notificationCount: z.ZodNumber;
28
+ notifications: z.ZodArray<z.ZodObject<{
29
+ id: z.ZodString;
30
+ createdAt: z.ZodDate;
31
+ updatedAt: z.ZodDate;
32
+ deletedAt: z.ZodNullable<z.ZodDate>;
33
+ notificationObjectId: z.ZodString;
34
+ notifierId: z.ZodString;
35
+ notificationObject: z.ZodObject<{
36
+ id: z.ZodString;
37
+ createdAt: z.ZodDate;
38
+ updatedAt: z.ZodDate;
39
+ deletedAt: z.ZodNullable<z.ZodDate>;
40
+ data: z.ZodString;
41
+ notificationChange: z.ZodObject<{
42
+ id: z.ZodString;
43
+ createdAt: z.ZodDate;
44
+ updatedAt: z.ZodDate;
45
+ deletedAt: z.ZodNullable<z.ZodDate>;
46
+ actorId: z.ZodString;
47
+ actor: z.ZodObject<{
48
+ id: z.ZodString;
49
+ createdAt: z.ZodDate;
50
+ updatedAt: z.ZodDate;
51
+ deletedAt: z.ZodNullable<z.ZodDate>;
52
+ name: z.ZodString;
53
+ email: z.ZodString;
54
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
55
+ password: z.ZodString;
56
+ address: z.ZodNullable<z.ZodString>;
57
+ phone: z.ZodNullable<z.ZodString>;
58
+ notificationCount: z.ZodNullable<z.ZodNumber>;
59
+ roles: z.ZodArray<z.ZodObject<{
60
+ id: z.ZodString;
61
+ createdAt: z.ZodDate;
62
+ updatedAt: z.ZodDate;
63
+ deletedAt: z.ZodNullable<z.ZodDate>;
64
+ systemName: z.ZodString;
65
+ displayName: z.ZodString;
66
+ description: z.ZodNullable<z.ZodString>;
67
+ permissions: z.ZodArray<z.ZodObject<{
68
+ id: z.ZodString;
69
+ createdAt: z.ZodDate;
70
+ updatedAt: z.ZodDate;
71
+ deletedAt: z.ZodNullable<z.ZodDate>;
72
+ systemName: z.ZodString;
73
+ displayName: z.ZodString;
74
+ description: z.ZodNullable<z.ZodString>;
75
+ }, "strip", z.ZodTypeAny, {
76
+ id: string;
77
+ description: string | null;
78
+ createdAt: Date;
79
+ updatedAt: Date;
80
+ deletedAt: Date | null;
81
+ systemName: string;
82
+ displayName: string;
83
+ }, {
84
+ id: string;
85
+ description: string | null;
86
+ createdAt: Date;
87
+ updatedAt: Date;
88
+ deletedAt: Date | null;
89
+ systemName: string;
90
+ displayName: string;
91
+ }>, "many">;
92
+ }, "strip", z.ZodTypeAny, {
93
+ id: string;
94
+ description: string | null;
95
+ createdAt: Date;
96
+ updatedAt: Date;
97
+ deletedAt: Date | null;
98
+ systemName: string;
99
+ displayName: string;
100
+ permissions: {
101
+ id: string;
102
+ description: string | null;
103
+ createdAt: Date;
104
+ updatedAt: Date;
105
+ deletedAt: Date | null;
106
+ systemName: string;
107
+ displayName: string;
108
+ }[];
109
+ }, {
110
+ id: string;
111
+ description: string | null;
112
+ createdAt: Date;
113
+ updatedAt: Date;
114
+ deletedAt: Date | null;
115
+ systemName: string;
116
+ displayName: string;
117
+ permissions: {
118
+ id: string;
119
+ description: string | null;
120
+ createdAt: Date;
121
+ updatedAt: Date;
122
+ deletedAt: Date | null;
123
+ systemName: string;
124
+ displayName: string;
125
+ }[];
126
+ }>, "many">;
127
+ extension: z.ZodObject<{
128
+ id: z.ZodString;
129
+ createdAt: z.ZodDate;
130
+ updatedAt: z.ZodDate;
131
+ deletedAt: z.ZodNullable<z.ZodDate>;
132
+ userId: z.ZodNullable<z.ZodString>;
133
+ sipServerUrl: z.ZodString;
134
+ sipUserName: z.ZodString;
135
+ webphoneLoginUser: z.ZodString;
136
+ extensionId: z.ZodNullable<z.ZodString>;
137
+ extensionName: z.ZodString;
138
+ telephonySignature: z.ZodNullable<z.ZodString>;
139
+ }, "strip", z.ZodTypeAny, {
140
+ id: string;
141
+ createdAt: Date;
142
+ updatedAt: Date;
143
+ deletedAt: Date | null;
144
+ userId: string | null;
145
+ sipServerUrl: string;
146
+ sipUserName: string;
147
+ webphoneLoginUser: string;
148
+ extensionId: string | null;
149
+ extensionName: string;
150
+ telephonySignature: string | null;
151
+ }, {
152
+ id: string;
153
+ createdAt: Date;
154
+ updatedAt: Date;
155
+ deletedAt: Date | null;
156
+ userId: string | null;
157
+ sipServerUrl: string;
158
+ sipUserName: string;
159
+ webphoneLoginUser: string;
160
+ extensionId: string | null;
161
+ extensionName: string;
162
+ telephonySignature: string | null;
163
+ }>;
164
+ }, "strip", z.ZodTypeAny, {
165
+ id: string;
166
+ address: string | null;
167
+ name: string;
168
+ email: string;
169
+ createdAt: Date;
170
+ updatedAt: Date;
171
+ deletedAt: Date | null;
172
+ emailVerifiedAt: Date | null;
173
+ password: string;
174
+ phone: string | null;
175
+ notificationCount: number | null;
176
+ roles: {
177
+ id: string;
178
+ description: string | null;
179
+ createdAt: Date;
180
+ updatedAt: Date;
181
+ deletedAt: Date | null;
182
+ systemName: string;
183
+ displayName: string;
184
+ permissions: {
185
+ id: string;
186
+ description: string | null;
187
+ createdAt: Date;
188
+ updatedAt: Date;
189
+ deletedAt: Date | null;
190
+ systemName: string;
191
+ displayName: string;
192
+ }[];
193
+ }[];
194
+ extension: {
195
+ id: string;
196
+ createdAt: Date;
197
+ updatedAt: Date;
198
+ deletedAt: Date | null;
199
+ userId: string | null;
200
+ sipServerUrl: string;
201
+ sipUserName: string;
202
+ webphoneLoginUser: string;
203
+ extensionId: string | null;
204
+ extensionName: string;
205
+ telephonySignature: string | null;
206
+ };
207
+ }, {
208
+ id: string;
209
+ address: string | null;
210
+ name: string;
211
+ email: string;
212
+ createdAt: Date;
213
+ updatedAt: Date;
214
+ deletedAt: Date | null;
215
+ emailVerifiedAt: Date | null;
216
+ password: string;
217
+ phone: string | null;
218
+ notificationCount: number | null;
219
+ roles: {
220
+ id: string;
221
+ description: string | null;
222
+ createdAt: Date;
223
+ updatedAt: Date;
224
+ deletedAt: Date | null;
225
+ systemName: string;
226
+ displayName: string;
227
+ permissions: {
228
+ id: string;
229
+ description: string | null;
230
+ createdAt: Date;
231
+ updatedAt: Date;
232
+ deletedAt: Date | null;
233
+ systemName: string;
234
+ displayName: string;
235
+ }[];
236
+ }[];
237
+ extension: {
238
+ id: string;
239
+ createdAt: Date;
240
+ updatedAt: Date;
241
+ deletedAt: Date | null;
242
+ userId: string | null;
243
+ sipServerUrl: string;
244
+ sipUserName: string;
245
+ webphoneLoginUser: string;
246
+ extensionId: string | null;
247
+ extensionName: string;
248
+ telephonySignature: string | null;
249
+ };
250
+ }>;
251
+ notificationObjectId: z.ZodString;
252
+ readAt: z.ZodDate;
253
+ }, "strip", z.ZodTypeAny, {
254
+ id: string;
255
+ createdAt: Date;
256
+ updatedAt: Date;
257
+ deletedAt: Date | null;
258
+ actor: {
259
+ id: string;
260
+ address: string | null;
261
+ name: string;
262
+ email: string;
263
+ createdAt: Date;
264
+ updatedAt: Date;
265
+ deletedAt: Date | null;
266
+ emailVerifiedAt: Date | null;
267
+ password: string;
268
+ phone: string | null;
269
+ notificationCount: number | null;
270
+ roles: {
271
+ id: string;
272
+ description: string | null;
273
+ createdAt: Date;
274
+ updatedAt: Date;
275
+ deletedAt: Date | null;
276
+ systemName: string;
277
+ displayName: string;
278
+ permissions: {
279
+ id: string;
280
+ description: string | null;
281
+ createdAt: Date;
282
+ updatedAt: Date;
283
+ deletedAt: Date | null;
284
+ systemName: string;
285
+ displayName: string;
286
+ }[];
287
+ }[];
288
+ extension: {
289
+ id: string;
290
+ createdAt: Date;
291
+ updatedAt: Date;
292
+ deletedAt: Date | null;
293
+ userId: string | null;
294
+ sipServerUrl: string;
295
+ sipUserName: string;
296
+ webphoneLoginUser: string;
297
+ extensionId: string | null;
298
+ extensionName: string;
299
+ telephonySignature: string | null;
300
+ };
301
+ };
302
+ readAt: Date;
303
+ actorId: string;
304
+ notificationObjectId: string;
305
+ }, {
306
+ id: string;
307
+ createdAt: Date;
308
+ updatedAt: Date;
309
+ deletedAt: Date | null;
310
+ actor: {
311
+ id: string;
312
+ address: string | null;
313
+ name: string;
314
+ email: string;
315
+ createdAt: Date;
316
+ updatedAt: Date;
317
+ deletedAt: Date | null;
318
+ emailVerifiedAt: Date | null;
319
+ password: string;
320
+ phone: string | null;
321
+ notificationCount: number | null;
322
+ roles: {
323
+ id: string;
324
+ description: string | null;
325
+ createdAt: Date;
326
+ updatedAt: Date;
327
+ deletedAt: Date | null;
328
+ systemName: string;
329
+ displayName: string;
330
+ permissions: {
331
+ id: string;
332
+ description: string | null;
333
+ createdAt: Date;
334
+ updatedAt: Date;
335
+ deletedAt: Date | null;
336
+ systemName: string;
337
+ displayName: string;
338
+ }[];
339
+ }[];
340
+ extension: {
341
+ id: string;
342
+ createdAt: Date;
343
+ updatedAt: Date;
344
+ deletedAt: Date | null;
345
+ userId: string | null;
346
+ sipServerUrl: string;
347
+ sipUserName: string;
348
+ webphoneLoginUser: string;
349
+ extensionId: string | null;
350
+ extensionName: string;
351
+ telephonySignature: string | null;
352
+ };
353
+ };
354
+ readAt: Date;
355
+ actorId: string;
356
+ notificationObjectId: string;
357
+ }>;
358
+ }, "strip", z.ZodTypeAny, {
359
+ data: string;
360
+ id: string;
361
+ createdAt: Date;
362
+ updatedAt: Date;
363
+ deletedAt: Date | null;
364
+ notificationChange: {
365
+ id: string;
366
+ createdAt: Date;
367
+ updatedAt: Date;
368
+ deletedAt: Date | null;
369
+ actor: {
370
+ id: string;
371
+ address: string | null;
372
+ name: string;
373
+ email: string;
374
+ createdAt: Date;
375
+ updatedAt: Date;
376
+ deletedAt: Date | null;
377
+ emailVerifiedAt: Date | null;
378
+ password: string;
379
+ phone: string | null;
380
+ notificationCount: number | null;
381
+ roles: {
382
+ id: string;
383
+ description: string | null;
384
+ createdAt: Date;
385
+ updatedAt: Date;
386
+ deletedAt: Date | null;
387
+ systemName: string;
388
+ displayName: string;
389
+ permissions: {
390
+ id: string;
391
+ description: string | null;
392
+ createdAt: Date;
393
+ updatedAt: Date;
394
+ deletedAt: Date | null;
395
+ systemName: string;
396
+ displayName: string;
397
+ }[];
398
+ }[];
399
+ extension: {
400
+ id: string;
401
+ createdAt: Date;
402
+ updatedAt: Date;
403
+ deletedAt: Date | null;
404
+ userId: string | null;
405
+ sipServerUrl: string;
406
+ sipUserName: string;
407
+ webphoneLoginUser: string;
408
+ extensionId: string | null;
409
+ extensionName: string;
410
+ telephonySignature: string | null;
411
+ };
412
+ };
413
+ readAt: Date;
414
+ actorId: string;
415
+ notificationObjectId: string;
416
+ };
417
+ }, {
418
+ data: string;
419
+ id: string;
420
+ createdAt: Date;
421
+ updatedAt: Date;
422
+ deletedAt: Date | null;
423
+ notificationChange: {
424
+ id: string;
425
+ createdAt: Date;
426
+ updatedAt: Date;
427
+ deletedAt: Date | null;
428
+ actor: {
429
+ id: string;
430
+ address: string | null;
431
+ name: string;
432
+ email: string;
433
+ createdAt: Date;
434
+ updatedAt: Date;
435
+ deletedAt: Date | null;
436
+ emailVerifiedAt: Date | null;
437
+ password: string;
438
+ phone: string | null;
439
+ notificationCount: number | null;
440
+ roles: {
441
+ id: string;
442
+ description: string | null;
443
+ createdAt: Date;
444
+ updatedAt: Date;
445
+ deletedAt: Date | null;
446
+ systemName: string;
447
+ displayName: string;
448
+ permissions: {
449
+ id: string;
450
+ description: string | null;
451
+ createdAt: Date;
452
+ updatedAt: Date;
453
+ deletedAt: Date | null;
454
+ systemName: string;
455
+ displayName: string;
456
+ }[];
457
+ }[];
458
+ extension: {
459
+ id: string;
460
+ createdAt: Date;
461
+ updatedAt: Date;
462
+ deletedAt: Date | null;
463
+ userId: string | null;
464
+ sipServerUrl: string;
465
+ sipUserName: string;
466
+ webphoneLoginUser: string;
467
+ extensionId: string | null;
468
+ extensionName: string;
469
+ telephonySignature: string | null;
470
+ };
471
+ };
472
+ readAt: Date;
473
+ actorId: string;
474
+ notificationObjectId: string;
475
+ };
476
+ }>;
477
+ readAt: z.ZodDate;
478
+ }, "strip", z.ZodTypeAny, {
479
+ id: string;
480
+ createdAt: Date;
481
+ updatedAt: Date;
482
+ deletedAt: Date | null;
483
+ readAt: Date;
484
+ notificationObjectId: string;
485
+ notifierId: string;
486
+ notificationObject: {
487
+ data: string;
488
+ id: string;
489
+ createdAt: Date;
490
+ updatedAt: Date;
491
+ deletedAt: Date | null;
492
+ notificationChange: {
493
+ id: string;
494
+ createdAt: Date;
495
+ updatedAt: Date;
496
+ deletedAt: Date | null;
497
+ actor: {
498
+ id: string;
499
+ address: string | null;
500
+ name: string;
501
+ email: string;
502
+ createdAt: Date;
503
+ updatedAt: Date;
504
+ deletedAt: Date | null;
505
+ emailVerifiedAt: Date | null;
506
+ password: string;
507
+ phone: string | null;
508
+ notificationCount: number | null;
509
+ roles: {
510
+ id: string;
511
+ description: string | null;
512
+ createdAt: Date;
513
+ updatedAt: Date;
514
+ deletedAt: Date | null;
515
+ systemName: string;
516
+ displayName: string;
517
+ permissions: {
518
+ id: string;
519
+ description: string | null;
520
+ createdAt: Date;
521
+ updatedAt: Date;
522
+ deletedAt: Date | null;
523
+ systemName: string;
524
+ displayName: string;
525
+ }[];
526
+ }[];
527
+ extension: {
528
+ id: string;
529
+ createdAt: Date;
530
+ updatedAt: Date;
531
+ deletedAt: Date | null;
532
+ userId: string | null;
533
+ sipServerUrl: string;
534
+ sipUserName: string;
535
+ webphoneLoginUser: string;
536
+ extensionId: string | null;
537
+ extensionName: string;
538
+ telephonySignature: string | null;
539
+ };
540
+ };
541
+ readAt: Date;
542
+ actorId: string;
543
+ notificationObjectId: string;
544
+ };
545
+ };
546
+ }, {
547
+ id: string;
548
+ createdAt: Date;
549
+ updatedAt: Date;
550
+ deletedAt: Date | null;
551
+ readAt: Date;
552
+ notificationObjectId: string;
553
+ notifierId: string;
554
+ notificationObject: {
555
+ data: string;
556
+ id: string;
557
+ createdAt: Date;
558
+ updatedAt: Date;
559
+ deletedAt: Date | null;
560
+ notificationChange: {
561
+ id: string;
562
+ createdAt: Date;
563
+ updatedAt: Date;
564
+ deletedAt: Date | null;
565
+ actor: {
566
+ id: string;
567
+ address: string | null;
568
+ name: string;
569
+ email: string;
570
+ createdAt: Date;
571
+ updatedAt: Date;
572
+ deletedAt: Date | null;
573
+ emailVerifiedAt: Date | null;
574
+ password: string;
575
+ phone: string | null;
576
+ notificationCount: number | null;
577
+ roles: {
578
+ id: string;
579
+ description: string | null;
580
+ createdAt: Date;
581
+ updatedAt: Date;
582
+ deletedAt: Date | null;
583
+ systemName: string;
584
+ displayName: string;
585
+ permissions: {
586
+ id: string;
587
+ description: string | null;
588
+ createdAt: Date;
589
+ updatedAt: Date;
590
+ deletedAt: Date | null;
591
+ systemName: string;
592
+ displayName: string;
593
+ }[];
594
+ }[];
595
+ extension: {
596
+ id: string;
597
+ createdAt: Date;
598
+ updatedAt: Date;
599
+ deletedAt: Date | null;
600
+ userId: string | null;
601
+ sipServerUrl: string;
602
+ sipUserName: string;
603
+ webphoneLoginUser: string;
604
+ extensionId: string | null;
605
+ extensionName: string;
606
+ telephonySignature: string | null;
607
+ };
608
+ };
609
+ readAt: Date;
610
+ actorId: string;
611
+ notificationObjectId: string;
612
+ };
613
+ };
614
+ }>, "many">;
615
+ total: z.ZodNumber;
616
+ page: z.ZodNumber;
617
+ pageSize: z.ZodNumber;
618
+ lastPage: z.ZodNumber;
619
+ totalUnreadCount: z.ZodOptional<z.ZodNumber>;
620
+ }, "strip", z.ZodTypeAny, {
621
+ total: number;
622
+ notifications: {
623
+ id: string;
624
+ createdAt: Date;
625
+ updatedAt: Date;
626
+ deletedAt: Date | null;
627
+ readAt: Date;
628
+ notificationObjectId: string;
629
+ notifierId: string;
630
+ notificationObject: {
631
+ data: string;
632
+ id: string;
633
+ createdAt: Date;
634
+ updatedAt: Date;
635
+ deletedAt: Date | null;
636
+ notificationChange: {
637
+ id: string;
638
+ createdAt: Date;
639
+ updatedAt: Date;
640
+ deletedAt: Date | null;
641
+ actor: {
642
+ id: string;
643
+ address: string | null;
644
+ name: string;
645
+ email: string;
646
+ createdAt: Date;
647
+ updatedAt: Date;
648
+ deletedAt: Date | null;
649
+ emailVerifiedAt: Date | null;
650
+ password: string;
651
+ phone: string | null;
652
+ notificationCount: number | null;
653
+ roles: {
654
+ id: string;
655
+ description: string | null;
656
+ createdAt: Date;
657
+ updatedAt: Date;
658
+ deletedAt: Date | null;
659
+ systemName: string;
660
+ displayName: string;
661
+ permissions: {
662
+ id: string;
663
+ description: string | null;
664
+ createdAt: Date;
665
+ updatedAt: Date;
666
+ deletedAt: Date | null;
667
+ systemName: string;
668
+ displayName: string;
669
+ }[];
670
+ }[];
671
+ extension: {
672
+ id: string;
673
+ createdAt: Date;
674
+ updatedAt: Date;
675
+ deletedAt: Date | null;
676
+ userId: string | null;
677
+ sipServerUrl: string;
678
+ sipUserName: string;
679
+ webphoneLoginUser: string;
680
+ extensionId: string | null;
681
+ extensionName: string;
682
+ telephonySignature: string | null;
683
+ };
684
+ };
685
+ readAt: Date;
686
+ actorId: string;
687
+ notificationObjectId: string;
688
+ };
689
+ };
690
+ }[];
691
+ page: number;
692
+ pageSize: number;
693
+ lastPage: number;
694
+ notificationCount: number;
695
+ totalUnreadCount?: number | undefined;
696
+ }, {
697
+ total: number;
698
+ notifications: {
699
+ id: string;
700
+ createdAt: Date;
701
+ updatedAt: Date;
702
+ deletedAt: Date | null;
703
+ readAt: Date;
704
+ notificationObjectId: string;
705
+ notifierId: string;
706
+ notificationObject: {
707
+ data: string;
708
+ id: string;
709
+ createdAt: Date;
710
+ updatedAt: Date;
711
+ deletedAt: Date | null;
712
+ notificationChange: {
713
+ id: string;
714
+ createdAt: Date;
715
+ updatedAt: Date;
716
+ deletedAt: Date | null;
717
+ actor: {
718
+ id: string;
719
+ address: string | null;
720
+ name: string;
721
+ email: string;
722
+ createdAt: Date;
723
+ updatedAt: Date;
724
+ deletedAt: Date | null;
725
+ emailVerifiedAt: Date | null;
726
+ password: string;
727
+ phone: string | null;
728
+ notificationCount: number | null;
729
+ roles: {
730
+ id: string;
731
+ description: string | null;
732
+ createdAt: Date;
733
+ updatedAt: Date;
734
+ deletedAt: Date | null;
735
+ systemName: string;
736
+ displayName: string;
737
+ permissions: {
738
+ id: string;
739
+ description: string | null;
740
+ createdAt: Date;
741
+ updatedAt: Date;
742
+ deletedAt: Date | null;
743
+ systemName: string;
744
+ displayName: string;
745
+ }[];
746
+ }[];
747
+ extension: {
748
+ id: string;
749
+ createdAt: Date;
750
+ updatedAt: Date;
751
+ deletedAt: Date | null;
752
+ userId: string | null;
753
+ sipServerUrl: string;
754
+ sipUserName: string;
755
+ webphoneLoginUser: string;
756
+ extensionId: string | null;
757
+ extensionName: string;
758
+ telephonySignature: string | null;
759
+ };
760
+ };
761
+ readAt: Date;
762
+ actorId: string;
763
+ notificationObjectId: string;
764
+ };
765
+ };
766
+ }[];
767
+ page: number;
768
+ pageSize: number;
769
+ lastPage: number;
770
+ notificationCount: number;
771
+ totalUnreadCount?: number | undefined;
772
+ }>;
773
+ }, "strip", z.ZodTypeAny, {
774
+ data: {
775
+ total: number;
776
+ notifications: {
777
+ id: string;
778
+ createdAt: Date;
779
+ updatedAt: Date;
780
+ deletedAt: Date | null;
781
+ readAt: Date;
782
+ notificationObjectId: string;
783
+ notifierId: string;
784
+ notificationObject: {
785
+ data: string;
786
+ id: string;
787
+ createdAt: Date;
788
+ updatedAt: Date;
789
+ deletedAt: Date | null;
790
+ notificationChange: {
791
+ id: string;
792
+ createdAt: Date;
793
+ updatedAt: Date;
794
+ deletedAt: Date | null;
795
+ actor: {
796
+ id: string;
797
+ address: string | null;
798
+ name: string;
799
+ email: string;
800
+ createdAt: Date;
801
+ updatedAt: Date;
802
+ deletedAt: Date | null;
803
+ emailVerifiedAt: Date | null;
804
+ password: string;
805
+ phone: string | null;
806
+ notificationCount: number | null;
807
+ roles: {
808
+ id: string;
809
+ description: string | null;
810
+ createdAt: Date;
811
+ updatedAt: Date;
812
+ deletedAt: Date | null;
813
+ systemName: string;
814
+ displayName: string;
815
+ permissions: {
816
+ id: string;
817
+ description: string | null;
818
+ createdAt: Date;
819
+ updatedAt: Date;
820
+ deletedAt: Date | null;
821
+ systemName: string;
822
+ displayName: string;
823
+ }[];
824
+ }[];
825
+ extension: {
826
+ id: string;
827
+ createdAt: Date;
828
+ updatedAt: Date;
829
+ deletedAt: Date | null;
830
+ userId: string | null;
831
+ sipServerUrl: string;
832
+ sipUserName: string;
833
+ webphoneLoginUser: string;
834
+ extensionId: string | null;
835
+ extensionName: string;
836
+ telephonySignature: string | null;
837
+ };
838
+ };
839
+ readAt: Date;
840
+ actorId: string;
841
+ notificationObjectId: string;
842
+ };
843
+ };
844
+ }[];
845
+ page: number;
846
+ pageSize: number;
847
+ lastPage: number;
848
+ notificationCount: number;
849
+ totalUnreadCount?: number | undefined;
850
+ };
851
+ requestId: string;
852
+ }, {
853
+ data: {
854
+ total: number;
855
+ notifications: {
856
+ id: string;
857
+ createdAt: Date;
858
+ updatedAt: Date;
859
+ deletedAt: Date | null;
860
+ readAt: Date;
861
+ notificationObjectId: string;
862
+ notifierId: string;
863
+ notificationObject: {
864
+ data: string;
865
+ id: string;
866
+ createdAt: Date;
867
+ updatedAt: Date;
868
+ deletedAt: Date | null;
869
+ notificationChange: {
870
+ id: string;
871
+ createdAt: Date;
872
+ updatedAt: Date;
873
+ deletedAt: Date | null;
874
+ actor: {
875
+ id: string;
876
+ address: string | null;
877
+ name: string;
878
+ email: string;
879
+ createdAt: Date;
880
+ updatedAt: Date;
881
+ deletedAt: Date | null;
882
+ emailVerifiedAt: Date | null;
883
+ password: string;
884
+ phone: string | null;
885
+ notificationCount: number | null;
886
+ roles: {
887
+ id: string;
888
+ description: string | null;
889
+ createdAt: Date;
890
+ updatedAt: Date;
891
+ deletedAt: Date | null;
892
+ systemName: string;
893
+ displayName: string;
894
+ permissions: {
895
+ id: string;
896
+ description: string | null;
897
+ createdAt: Date;
898
+ updatedAt: Date;
899
+ deletedAt: Date | null;
900
+ systemName: string;
901
+ displayName: string;
902
+ }[];
903
+ }[];
904
+ extension: {
905
+ id: string;
906
+ createdAt: Date;
907
+ updatedAt: Date;
908
+ deletedAt: Date | null;
909
+ userId: string | null;
910
+ sipServerUrl: string;
911
+ sipUserName: string;
912
+ webphoneLoginUser: string;
913
+ extensionId: string | null;
914
+ extensionName: string;
915
+ telephonySignature: string | null;
916
+ };
917
+ };
918
+ readAt: Date;
919
+ actorId: string;
920
+ notificationObjectId: string;
921
+ };
922
+ };
923
+ }[];
924
+ page: number;
925
+ pageSize: number;
926
+ lastPage: number;
927
+ notificationCount: number;
928
+ totalUnreadCount?: number | undefined;
929
+ };
930
+ requestId: string;
931
+ }>;
932
+ 400: z.ZodObject<{
933
+ message: z.ZodString;
934
+ }, "strip", z.ZodTypeAny, {
935
+ message: string;
936
+ }, {
937
+ message: string;
938
+ }>;
939
+ 409: z.ZodObject<{
940
+ message: z.ZodString;
941
+ }, "strip", z.ZodTypeAny, {
942
+ message: string;
943
+ }, {
944
+ message: string;
945
+ }>;
946
+ 500: z.ZodObject<{
947
+ message: z.ZodString;
948
+ }, "strip", z.ZodTypeAny, {
949
+ message: string;
950
+ }, {
951
+ message: string;
952
+ }>;
953
+ 401: z.ZodObject<{
954
+ message: z.ZodString;
955
+ error: z.ZodAny;
956
+ }, "strip", z.ZodTypeAny, {
957
+ message: string;
958
+ error?: any;
959
+ }, {
960
+ message: string;
961
+ error?: any;
962
+ }>;
963
+ 404: z.ZodObject<{
964
+ message: z.ZodString;
965
+ error: z.ZodAny;
966
+ }, "strip", z.ZodTypeAny, {
967
+ message: string;
968
+ error?: any;
969
+ }, {
970
+ message: string;
971
+ error?: any;
972
+ }>;
973
+ 422: z.ZodObject<{
974
+ message: z.ZodString;
975
+ error: z.ZodAny;
976
+ }, "strip", z.ZodTypeAny, {
977
+ message: string;
978
+ error?: any;
979
+ }, {
980
+ message: string;
981
+ error?: any;
982
+ }>;
983
+ };
984
+ path: "notification";
985
+ };
986
+ getNewNotificationsCount: {
987
+ summary: "Get user's unread notifications count";
988
+ method: "GET";
989
+ responses: {
990
+ 200: z.ZodObject<{
991
+ requestId: z.ZodString;
992
+ total: z.ZodNumber;
993
+ }, "strip", z.ZodTypeAny, {
994
+ total: number;
995
+ requestId: string;
996
+ }, {
997
+ total: number;
998
+ requestId: string;
999
+ }>;
1000
+ 400: z.ZodObject<{
1001
+ message: z.ZodString;
1002
+ }, "strip", z.ZodTypeAny, {
1003
+ message: string;
1004
+ }, {
1005
+ message: string;
1006
+ }>;
1007
+ 409: z.ZodObject<{
1008
+ message: z.ZodString;
1009
+ }, "strip", z.ZodTypeAny, {
1010
+ message: string;
1011
+ }, {
1012
+ message: string;
1013
+ }>;
1014
+ 500: z.ZodObject<{
1015
+ message: z.ZodString;
1016
+ }, "strip", z.ZodTypeAny, {
1017
+ message: string;
1018
+ }, {
1019
+ message: string;
1020
+ }>;
1021
+ 401: z.ZodObject<{
1022
+ message: z.ZodString;
1023
+ error: z.ZodAny;
1024
+ }, "strip", z.ZodTypeAny, {
1025
+ message: string;
1026
+ error?: any;
1027
+ }, {
1028
+ message: string;
1029
+ error?: any;
1030
+ }>;
1031
+ 404: z.ZodObject<{
1032
+ message: z.ZodString;
1033
+ error: z.ZodAny;
1034
+ }, "strip", z.ZodTypeAny, {
1035
+ message: string;
1036
+ error?: any;
1037
+ }, {
1038
+ message: string;
1039
+ error?: any;
1040
+ }>;
1041
+ 422: z.ZodObject<{
1042
+ message: z.ZodString;
1043
+ error: z.ZodAny;
1044
+ }, "strip", z.ZodTypeAny, {
1045
+ message: string;
1046
+ error?: any;
1047
+ }, {
1048
+ message: string;
1049
+ error?: any;
1050
+ }>;
1051
+ };
1052
+ path: "notification/new_notifications_count";
1053
+ };
1054
+ resetNotifications: {
1055
+ body: null;
1056
+ summary: "Reset notification count to zero";
1057
+ method: "POST";
1058
+ responses: {
1059
+ 201: z.ZodObject<{
1060
+ requestId: z.ZodString;
1061
+ data: z.ZodObject<{
1062
+ id: z.ZodString;
1063
+ createdAt: z.ZodDate;
1064
+ updatedAt: z.ZodDate;
1065
+ deletedAt: z.ZodNullable<z.ZodDate>;
1066
+ name: z.ZodString;
1067
+ email: z.ZodString;
1068
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
1069
+ password: z.ZodString;
1070
+ address: z.ZodNullable<z.ZodString>;
1071
+ phone: z.ZodNullable<z.ZodString>;
1072
+ notificationCount: z.ZodNullable<z.ZodNumber>;
1073
+ roles: z.ZodArray<z.ZodObject<{
1074
+ id: z.ZodString;
1075
+ createdAt: z.ZodDate;
1076
+ updatedAt: z.ZodDate;
1077
+ deletedAt: z.ZodNullable<z.ZodDate>;
1078
+ systemName: z.ZodString;
1079
+ displayName: z.ZodString;
1080
+ description: z.ZodNullable<z.ZodString>;
1081
+ permissions: z.ZodArray<z.ZodObject<{
1082
+ id: z.ZodString;
1083
+ createdAt: z.ZodDate;
1084
+ updatedAt: z.ZodDate;
1085
+ deletedAt: z.ZodNullable<z.ZodDate>;
1086
+ systemName: z.ZodString;
1087
+ displayName: z.ZodString;
1088
+ description: z.ZodNullable<z.ZodString>;
1089
+ }, "strip", z.ZodTypeAny, {
1090
+ id: string;
1091
+ description: string | null;
1092
+ createdAt: Date;
1093
+ updatedAt: Date;
1094
+ deletedAt: Date | null;
1095
+ systemName: string;
1096
+ displayName: string;
1097
+ }, {
1098
+ id: string;
1099
+ description: string | null;
1100
+ createdAt: Date;
1101
+ updatedAt: Date;
1102
+ deletedAt: Date | null;
1103
+ systemName: string;
1104
+ displayName: string;
1105
+ }>, "many">;
1106
+ }, "strip", z.ZodTypeAny, {
1107
+ id: string;
1108
+ description: string | null;
1109
+ createdAt: Date;
1110
+ updatedAt: Date;
1111
+ deletedAt: Date | null;
1112
+ systemName: string;
1113
+ displayName: string;
1114
+ permissions: {
1115
+ id: string;
1116
+ description: string | null;
1117
+ createdAt: Date;
1118
+ updatedAt: Date;
1119
+ deletedAt: Date | null;
1120
+ systemName: string;
1121
+ displayName: string;
1122
+ }[];
1123
+ }, {
1124
+ id: string;
1125
+ description: string | null;
1126
+ createdAt: Date;
1127
+ updatedAt: Date;
1128
+ deletedAt: Date | null;
1129
+ systemName: string;
1130
+ displayName: string;
1131
+ permissions: {
1132
+ id: string;
1133
+ description: string | null;
1134
+ createdAt: Date;
1135
+ updatedAt: Date;
1136
+ deletedAt: Date | null;
1137
+ systemName: string;
1138
+ displayName: string;
1139
+ }[];
1140
+ }>, "many">;
1141
+ extension: z.ZodObject<{
1142
+ id: z.ZodString;
1143
+ createdAt: z.ZodDate;
1144
+ updatedAt: z.ZodDate;
1145
+ deletedAt: z.ZodNullable<z.ZodDate>;
1146
+ userId: z.ZodNullable<z.ZodString>;
1147
+ sipServerUrl: z.ZodString;
1148
+ sipUserName: z.ZodString;
1149
+ webphoneLoginUser: z.ZodString;
1150
+ extensionId: z.ZodNullable<z.ZodString>;
1151
+ extensionName: z.ZodString;
1152
+ telephonySignature: z.ZodNullable<z.ZodString>;
1153
+ }, "strip", z.ZodTypeAny, {
1154
+ id: string;
1155
+ createdAt: Date;
1156
+ updatedAt: Date;
1157
+ deletedAt: Date | null;
1158
+ userId: string | null;
1159
+ sipServerUrl: string;
1160
+ sipUserName: string;
1161
+ webphoneLoginUser: string;
1162
+ extensionId: string | null;
1163
+ extensionName: string;
1164
+ telephonySignature: string | null;
1165
+ }, {
1166
+ id: string;
1167
+ createdAt: Date;
1168
+ updatedAt: Date;
1169
+ deletedAt: Date | null;
1170
+ userId: string | null;
1171
+ sipServerUrl: string;
1172
+ sipUserName: string;
1173
+ webphoneLoginUser: string;
1174
+ extensionId: string | null;
1175
+ extensionName: string;
1176
+ telephonySignature: string | null;
1177
+ }>;
1178
+ }, "strip", z.ZodTypeAny, {
1179
+ id: string;
1180
+ address: string | null;
1181
+ name: string;
1182
+ email: string;
1183
+ createdAt: Date;
1184
+ updatedAt: Date;
1185
+ deletedAt: Date | null;
1186
+ emailVerifiedAt: Date | null;
1187
+ password: string;
1188
+ phone: string | null;
1189
+ notificationCount: number | null;
1190
+ roles: {
1191
+ id: string;
1192
+ description: string | null;
1193
+ createdAt: Date;
1194
+ updatedAt: Date;
1195
+ deletedAt: Date | null;
1196
+ systemName: string;
1197
+ displayName: string;
1198
+ permissions: {
1199
+ id: string;
1200
+ description: string | null;
1201
+ createdAt: Date;
1202
+ updatedAt: Date;
1203
+ deletedAt: Date | null;
1204
+ systemName: string;
1205
+ displayName: string;
1206
+ }[];
1207
+ }[];
1208
+ extension: {
1209
+ id: string;
1210
+ createdAt: Date;
1211
+ updatedAt: Date;
1212
+ deletedAt: Date | null;
1213
+ userId: string | null;
1214
+ sipServerUrl: string;
1215
+ sipUserName: string;
1216
+ webphoneLoginUser: string;
1217
+ extensionId: string | null;
1218
+ extensionName: string;
1219
+ telephonySignature: string | null;
1220
+ };
1221
+ }, {
1222
+ id: string;
1223
+ address: string | null;
1224
+ name: string;
1225
+ email: string;
1226
+ createdAt: Date;
1227
+ updatedAt: Date;
1228
+ deletedAt: Date | null;
1229
+ emailVerifiedAt: Date | null;
1230
+ password: string;
1231
+ phone: string | null;
1232
+ notificationCount: number | null;
1233
+ roles: {
1234
+ id: string;
1235
+ description: string | null;
1236
+ createdAt: Date;
1237
+ updatedAt: Date;
1238
+ deletedAt: Date | null;
1239
+ systemName: string;
1240
+ displayName: string;
1241
+ permissions: {
1242
+ id: string;
1243
+ description: string | null;
1244
+ createdAt: Date;
1245
+ updatedAt: Date;
1246
+ deletedAt: Date | null;
1247
+ systemName: string;
1248
+ displayName: string;
1249
+ }[];
1250
+ }[];
1251
+ extension: {
1252
+ id: string;
1253
+ createdAt: Date;
1254
+ updatedAt: Date;
1255
+ deletedAt: Date | null;
1256
+ userId: string | null;
1257
+ sipServerUrl: string;
1258
+ sipUserName: string;
1259
+ webphoneLoginUser: string;
1260
+ extensionId: string | null;
1261
+ extensionName: string;
1262
+ telephonySignature: string | null;
1263
+ };
1264
+ }>;
1265
+ }, "strip", z.ZodTypeAny, {
1266
+ data: {
1267
+ id: string;
1268
+ address: string | null;
1269
+ name: string;
1270
+ email: string;
1271
+ createdAt: Date;
1272
+ updatedAt: Date;
1273
+ deletedAt: Date | null;
1274
+ emailVerifiedAt: Date | null;
1275
+ password: string;
1276
+ phone: string | null;
1277
+ notificationCount: number | null;
1278
+ roles: {
1279
+ id: string;
1280
+ description: string | null;
1281
+ createdAt: Date;
1282
+ updatedAt: Date;
1283
+ deletedAt: Date | null;
1284
+ systemName: string;
1285
+ displayName: string;
1286
+ permissions: {
1287
+ id: string;
1288
+ description: string | null;
1289
+ createdAt: Date;
1290
+ updatedAt: Date;
1291
+ deletedAt: Date | null;
1292
+ systemName: string;
1293
+ displayName: string;
1294
+ }[];
1295
+ }[];
1296
+ extension: {
1297
+ id: string;
1298
+ createdAt: Date;
1299
+ updatedAt: Date;
1300
+ deletedAt: Date | null;
1301
+ userId: string | null;
1302
+ sipServerUrl: string;
1303
+ sipUserName: string;
1304
+ webphoneLoginUser: string;
1305
+ extensionId: string | null;
1306
+ extensionName: string;
1307
+ telephonySignature: string | null;
1308
+ };
1309
+ };
1310
+ requestId: string;
1311
+ }, {
1312
+ data: {
1313
+ id: string;
1314
+ address: string | null;
1315
+ name: string;
1316
+ email: string;
1317
+ createdAt: Date;
1318
+ updatedAt: Date;
1319
+ deletedAt: Date | null;
1320
+ emailVerifiedAt: Date | null;
1321
+ password: string;
1322
+ phone: string | null;
1323
+ notificationCount: number | null;
1324
+ roles: {
1325
+ id: string;
1326
+ description: string | null;
1327
+ createdAt: Date;
1328
+ updatedAt: Date;
1329
+ deletedAt: Date | null;
1330
+ systemName: string;
1331
+ displayName: string;
1332
+ permissions: {
1333
+ id: string;
1334
+ description: string | null;
1335
+ createdAt: Date;
1336
+ updatedAt: Date;
1337
+ deletedAt: Date | null;
1338
+ systemName: string;
1339
+ displayName: string;
1340
+ }[];
1341
+ }[];
1342
+ extension: {
1343
+ id: string;
1344
+ createdAt: Date;
1345
+ updatedAt: Date;
1346
+ deletedAt: Date | null;
1347
+ userId: string | null;
1348
+ sipServerUrl: string;
1349
+ sipUserName: string;
1350
+ webphoneLoginUser: string;
1351
+ extensionId: string | null;
1352
+ extensionName: string;
1353
+ telephonySignature: string | null;
1354
+ };
1355
+ };
1356
+ requestId: string;
1357
+ }>;
1358
+ 400: z.ZodObject<{
1359
+ message: z.ZodString;
1360
+ }, "strip", z.ZodTypeAny, {
1361
+ message: string;
1362
+ }, {
1363
+ message: string;
1364
+ }>;
1365
+ 409: z.ZodObject<{
1366
+ message: z.ZodString;
1367
+ }, "strip", z.ZodTypeAny, {
1368
+ message: string;
1369
+ }, {
1370
+ message: string;
1371
+ }>;
1372
+ 500: z.ZodObject<{
1373
+ message: z.ZodString;
1374
+ }, "strip", z.ZodTypeAny, {
1375
+ message: string;
1376
+ }, {
1377
+ message: string;
1378
+ }>;
1379
+ 401: z.ZodObject<{
1380
+ message: z.ZodString;
1381
+ error: z.ZodAny;
1382
+ }, "strip", z.ZodTypeAny, {
1383
+ message: string;
1384
+ error?: any;
1385
+ }, {
1386
+ message: string;
1387
+ error?: any;
1388
+ }>;
1389
+ 404: z.ZodObject<{
1390
+ message: z.ZodString;
1391
+ error: z.ZodAny;
1392
+ }, "strip", z.ZodTypeAny, {
1393
+ message: string;
1394
+ error?: any;
1395
+ }, {
1396
+ message: string;
1397
+ error?: any;
1398
+ }>;
1399
+ 422: z.ZodObject<{
1400
+ message: z.ZodString;
1401
+ error: z.ZodAny;
1402
+ }, "strip", z.ZodTypeAny, {
1403
+ message: string;
1404
+ error?: any;
1405
+ }, {
1406
+ message: string;
1407
+ error?: any;
1408
+ }>;
1409
+ };
1410
+ path: "notification/reset";
1411
+ };
1412
+ readNotification: {
1413
+ body: z.ZodObject<{
1414
+ userId: z.ZodString;
1415
+ }, "strip", z.ZodTypeAny, {
1416
+ userId: string;
1417
+ }, {
1418
+ userId: string;
1419
+ }>;
1420
+ summary: "Mark a notification as read";
1421
+ method: "POST";
1422
+ pathParams: z.ZodObject<{
1423
+ id: z.ZodString;
1424
+ }, "strip", z.ZodTypeAny, {
1425
+ id: string;
1426
+ }, {
1427
+ id: string;
1428
+ }>;
1429
+ responses: {
1430
+ 201: z.ZodObject<{
1431
+ requestId: z.ZodString;
1432
+ data: z.ZodObject<{
1433
+ id: z.ZodString;
1434
+ createdAt: z.ZodDate;
1435
+ updatedAt: z.ZodDate;
1436
+ deletedAt: z.ZodNullable<z.ZodDate>;
1437
+ notificationObjectId: z.ZodString;
1438
+ notifierId: z.ZodString;
1439
+ notificationObject: z.ZodObject<{
1440
+ id: z.ZodString;
1441
+ createdAt: z.ZodDate;
1442
+ updatedAt: z.ZodDate;
1443
+ deletedAt: z.ZodNullable<z.ZodDate>;
1444
+ data: z.ZodString;
1445
+ notificationChange: z.ZodObject<{
1446
+ id: z.ZodString;
1447
+ createdAt: z.ZodDate;
1448
+ updatedAt: z.ZodDate;
1449
+ deletedAt: z.ZodNullable<z.ZodDate>;
1450
+ actorId: z.ZodString;
1451
+ actor: z.ZodObject<{
1452
+ id: z.ZodString;
1453
+ createdAt: z.ZodDate;
1454
+ updatedAt: z.ZodDate;
1455
+ deletedAt: z.ZodNullable<z.ZodDate>;
1456
+ name: z.ZodString;
1457
+ email: z.ZodString;
1458
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
1459
+ password: z.ZodString;
1460
+ address: z.ZodNullable<z.ZodString>;
1461
+ phone: z.ZodNullable<z.ZodString>;
1462
+ notificationCount: z.ZodNullable<z.ZodNumber>;
1463
+ roles: z.ZodArray<z.ZodObject<{
1464
+ id: z.ZodString;
1465
+ createdAt: z.ZodDate;
1466
+ updatedAt: z.ZodDate;
1467
+ deletedAt: z.ZodNullable<z.ZodDate>;
1468
+ systemName: z.ZodString;
1469
+ displayName: z.ZodString;
1470
+ description: z.ZodNullable<z.ZodString>;
1471
+ permissions: z.ZodArray<z.ZodObject<{
1472
+ id: z.ZodString;
1473
+ createdAt: z.ZodDate;
1474
+ updatedAt: z.ZodDate;
1475
+ deletedAt: z.ZodNullable<z.ZodDate>;
1476
+ systemName: z.ZodString;
1477
+ displayName: z.ZodString;
1478
+ description: z.ZodNullable<z.ZodString>;
1479
+ }, "strip", z.ZodTypeAny, {
1480
+ id: string;
1481
+ description: string | null;
1482
+ createdAt: Date;
1483
+ updatedAt: Date;
1484
+ deletedAt: Date | null;
1485
+ systemName: string;
1486
+ displayName: string;
1487
+ }, {
1488
+ id: string;
1489
+ description: string | null;
1490
+ createdAt: Date;
1491
+ updatedAt: Date;
1492
+ deletedAt: Date | null;
1493
+ systemName: string;
1494
+ displayName: string;
1495
+ }>, "many">;
1496
+ }, "strip", z.ZodTypeAny, {
1497
+ id: string;
1498
+ description: string | null;
1499
+ createdAt: Date;
1500
+ updatedAt: Date;
1501
+ deletedAt: Date | null;
1502
+ systemName: string;
1503
+ displayName: string;
1504
+ permissions: {
1505
+ id: string;
1506
+ description: string | null;
1507
+ createdAt: Date;
1508
+ updatedAt: Date;
1509
+ deletedAt: Date | null;
1510
+ systemName: string;
1511
+ displayName: string;
1512
+ }[];
1513
+ }, {
1514
+ id: string;
1515
+ description: string | null;
1516
+ createdAt: Date;
1517
+ updatedAt: Date;
1518
+ deletedAt: Date | null;
1519
+ systemName: string;
1520
+ displayName: string;
1521
+ permissions: {
1522
+ id: string;
1523
+ description: string | null;
1524
+ createdAt: Date;
1525
+ updatedAt: Date;
1526
+ deletedAt: Date | null;
1527
+ systemName: string;
1528
+ displayName: string;
1529
+ }[];
1530
+ }>, "many">;
1531
+ extension: z.ZodObject<{
1532
+ id: z.ZodString;
1533
+ createdAt: z.ZodDate;
1534
+ updatedAt: z.ZodDate;
1535
+ deletedAt: z.ZodNullable<z.ZodDate>;
1536
+ userId: z.ZodNullable<z.ZodString>;
1537
+ sipServerUrl: z.ZodString;
1538
+ sipUserName: z.ZodString;
1539
+ webphoneLoginUser: z.ZodString;
1540
+ extensionId: z.ZodNullable<z.ZodString>;
1541
+ extensionName: z.ZodString;
1542
+ telephonySignature: z.ZodNullable<z.ZodString>;
1543
+ }, "strip", z.ZodTypeAny, {
1544
+ id: string;
1545
+ createdAt: Date;
1546
+ updatedAt: Date;
1547
+ deletedAt: Date | null;
1548
+ userId: string | null;
1549
+ sipServerUrl: string;
1550
+ sipUserName: string;
1551
+ webphoneLoginUser: string;
1552
+ extensionId: string | null;
1553
+ extensionName: string;
1554
+ telephonySignature: string | null;
1555
+ }, {
1556
+ id: string;
1557
+ createdAt: Date;
1558
+ updatedAt: Date;
1559
+ deletedAt: Date | null;
1560
+ userId: string | null;
1561
+ sipServerUrl: string;
1562
+ sipUserName: string;
1563
+ webphoneLoginUser: string;
1564
+ extensionId: string | null;
1565
+ extensionName: string;
1566
+ telephonySignature: string | null;
1567
+ }>;
1568
+ }, "strip", z.ZodTypeAny, {
1569
+ id: string;
1570
+ address: string | null;
1571
+ name: string;
1572
+ email: string;
1573
+ createdAt: Date;
1574
+ updatedAt: Date;
1575
+ deletedAt: Date | null;
1576
+ emailVerifiedAt: Date | null;
1577
+ password: string;
1578
+ phone: string | null;
1579
+ notificationCount: number | null;
1580
+ roles: {
1581
+ id: string;
1582
+ description: string | null;
1583
+ createdAt: Date;
1584
+ updatedAt: Date;
1585
+ deletedAt: Date | null;
1586
+ systemName: string;
1587
+ displayName: string;
1588
+ permissions: {
1589
+ id: string;
1590
+ description: string | null;
1591
+ createdAt: Date;
1592
+ updatedAt: Date;
1593
+ deletedAt: Date | null;
1594
+ systemName: string;
1595
+ displayName: string;
1596
+ }[];
1597
+ }[];
1598
+ extension: {
1599
+ id: string;
1600
+ createdAt: Date;
1601
+ updatedAt: Date;
1602
+ deletedAt: Date | null;
1603
+ userId: string | null;
1604
+ sipServerUrl: string;
1605
+ sipUserName: string;
1606
+ webphoneLoginUser: string;
1607
+ extensionId: string | null;
1608
+ extensionName: string;
1609
+ telephonySignature: string | null;
1610
+ };
1611
+ }, {
1612
+ id: string;
1613
+ address: string | null;
1614
+ name: string;
1615
+ email: string;
1616
+ createdAt: Date;
1617
+ updatedAt: Date;
1618
+ deletedAt: Date | null;
1619
+ emailVerifiedAt: Date | null;
1620
+ password: string;
1621
+ phone: string | null;
1622
+ notificationCount: number | null;
1623
+ roles: {
1624
+ id: string;
1625
+ description: string | null;
1626
+ createdAt: Date;
1627
+ updatedAt: Date;
1628
+ deletedAt: Date | null;
1629
+ systemName: string;
1630
+ displayName: string;
1631
+ permissions: {
1632
+ id: string;
1633
+ description: string | null;
1634
+ createdAt: Date;
1635
+ updatedAt: Date;
1636
+ deletedAt: Date | null;
1637
+ systemName: string;
1638
+ displayName: string;
1639
+ }[];
1640
+ }[];
1641
+ extension: {
1642
+ id: string;
1643
+ createdAt: Date;
1644
+ updatedAt: Date;
1645
+ deletedAt: Date | null;
1646
+ userId: string | null;
1647
+ sipServerUrl: string;
1648
+ sipUserName: string;
1649
+ webphoneLoginUser: string;
1650
+ extensionId: string | null;
1651
+ extensionName: string;
1652
+ telephonySignature: string | null;
1653
+ };
1654
+ }>;
1655
+ notificationObjectId: z.ZodString;
1656
+ readAt: z.ZodDate;
1657
+ }, "strip", z.ZodTypeAny, {
1658
+ id: string;
1659
+ createdAt: Date;
1660
+ updatedAt: Date;
1661
+ deletedAt: Date | null;
1662
+ actor: {
1663
+ id: string;
1664
+ address: string | null;
1665
+ name: string;
1666
+ email: string;
1667
+ createdAt: Date;
1668
+ updatedAt: Date;
1669
+ deletedAt: Date | null;
1670
+ emailVerifiedAt: Date | null;
1671
+ password: string;
1672
+ phone: string | null;
1673
+ notificationCount: number | null;
1674
+ roles: {
1675
+ id: string;
1676
+ description: string | null;
1677
+ createdAt: Date;
1678
+ updatedAt: Date;
1679
+ deletedAt: Date | null;
1680
+ systemName: string;
1681
+ displayName: string;
1682
+ permissions: {
1683
+ id: string;
1684
+ description: string | null;
1685
+ createdAt: Date;
1686
+ updatedAt: Date;
1687
+ deletedAt: Date | null;
1688
+ systemName: string;
1689
+ displayName: string;
1690
+ }[];
1691
+ }[];
1692
+ extension: {
1693
+ id: string;
1694
+ createdAt: Date;
1695
+ updatedAt: Date;
1696
+ deletedAt: Date | null;
1697
+ userId: string | null;
1698
+ sipServerUrl: string;
1699
+ sipUserName: string;
1700
+ webphoneLoginUser: string;
1701
+ extensionId: string | null;
1702
+ extensionName: string;
1703
+ telephonySignature: string | null;
1704
+ };
1705
+ };
1706
+ readAt: Date;
1707
+ actorId: string;
1708
+ notificationObjectId: string;
1709
+ }, {
1710
+ id: string;
1711
+ createdAt: Date;
1712
+ updatedAt: Date;
1713
+ deletedAt: Date | null;
1714
+ actor: {
1715
+ id: string;
1716
+ address: string | null;
1717
+ name: string;
1718
+ email: string;
1719
+ createdAt: Date;
1720
+ updatedAt: Date;
1721
+ deletedAt: Date | null;
1722
+ emailVerifiedAt: Date | null;
1723
+ password: string;
1724
+ phone: string | null;
1725
+ notificationCount: number | null;
1726
+ roles: {
1727
+ id: string;
1728
+ description: string | null;
1729
+ createdAt: Date;
1730
+ updatedAt: Date;
1731
+ deletedAt: Date | null;
1732
+ systemName: string;
1733
+ displayName: string;
1734
+ permissions: {
1735
+ id: string;
1736
+ description: string | null;
1737
+ createdAt: Date;
1738
+ updatedAt: Date;
1739
+ deletedAt: Date | null;
1740
+ systemName: string;
1741
+ displayName: string;
1742
+ }[];
1743
+ }[];
1744
+ extension: {
1745
+ id: string;
1746
+ createdAt: Date;
1747
+ updatedAt: Date;
1748
+ deletedAt: Date | null;
1749
+ userId: string | null;
1750
+ sipServerUrl: string;
1751
+ sipUserName: string;
1752
+ webphoneLoginUser: string;
1753
+ extensionId: string | null;
1754
+ extensionName: string;
1755
+ telephonySignature: string | null;
1756
+ };
1757
+ };
1758
+ readAt: Date;
1759
+ actorId: string;
1760
+ notificationObjectId: string;
1761
+ }>;
1762
+ }, "strip", z.ZodTypeAny, {
1763
+ data: string;
1764
+ id: string;
1765
+ createdAt: Date;
1766
+ updatedAt: Date;
1767
+ deletedAt: Date | null;
1768
+ notificationChange: {
1769
+ id: string;
1770
+ createdAt: Date;
1771
+ updatedAt: Date;
1772
+ deletedAt: Date | null;
1773
+ actor: {
1774
+ id: string;
1775
+ address: string | null;
1776
+ name: string;
1777
+ email: string;
1778
+ createdAt: Date;
1779
+ updatedAt: Date;
1780
+ deletedAt: Date | null;
1781
+ emailVerifiedAt: Date | null;
1782
+ password: string;
1783
+ phone: string | null;
1784
+ notificationCount: number | null;
1785
+ roles: {
1786
+ id: string;
1787
+ description: string | null;
1788
+ createdAt: Date;
1789
+ updatedAt: Date;
1790
+ deletedAt: Date | null;
1791
+ systemName: string;
1792
+ displayName: string;
1793
+ permissions: {
1794
+ id: string;
1795
+ description: string | null;
1796
+ createdAt: Date;
1797
+ updatedAt: Date;
1798
+ deletedAt: Date | null;
1799
+ systemName: string;
1800
+ displayName: string;
1801
+ }[];
1802
+ }[];
1803
+ extension: {
1804
+ id: string;
1805
+ createdAt: Date;
1806
+ updatedAt: Date;
1807
+ deletedAt: Date | null;
1808
+ userId: string | null;
1809
+ sipServerUrl: string;
1810
+ sipUserName: string;
1811
+ webphoneLoginUser: string;
1812
+ extensionId: string | null;
1813
+ extensionName: string;
1814
+ telephonySignature: string | null;
1815
+ };
1816
+ };
1817
+ readAt: Date;
1818
+ actorId: string;
1819
+ notificationObjectId: string;
1820
+ };
1821
+ }, {
1822
+ data: string;
1823
+ id: string;
1824
+ createdAt: Date;
1825
+ updatedAt: Date;
1826
+ deletedAt: Date | null;
1827
+ notificationChange: {
1828
+ id: string;
1829
+ createdAt: Date;
1830
+ updatedAt: Date;
1831
+ deletedAt: Date | null;
1832
+ actor: {
1833
+ id: string;
1834
+ address: string | null;
1835
+ name: string;
1836
+ email: string;
1837
+ createdAt: Date;
1838
+ updatedAt: Date;
1839
+ deletedAt: Date | null;
1840
+ emailVerifiedAt: Date | null;
1841
+ password: string;
1842
+ phone: string | null;
1843
+ notificationCount: number | null;
1844
+ roles: {
1845
+ id: string;
1846
+ description: string | null;
1847
+ createdAt: Date;
1848
+ updatedAt: Date;
1849
+ deletedAt: Date | null;
1850
+ systemName: string;
1851
+ displayName: string;
1852
+ permissions: {
1853
+ id: string;
1854
+ description: string | null;
1855
+ createdAt: Date;
1856
+ updatedAt: Date;
1857
+ deletedAt: Date | null;
1858
+ systemName: string;
1859
+ displayName: string;
1860
+ }[];
1861
+ }[];
1862
+ extension: {
1863
+ id: string;
1864
+ createdAt: Date;
1865
+ updatedAt: Date;
1866
+ deletedAt: Date | null;
1867
+ userId: string | null;
1868
+ sipServerUrl: string;
1869
+ sipUserName: string;
1870
+ webphoneLoginUser: string;
1871
+ extensionId: string | null;
1872
+ extensionName: string;
1873
+ telephonySignature: string | null;
1874
+ };
1875
+ };
1876
+ readAt: Date;
1877
+ actorId: string;
1878
+ notificationObjectId: string;
1879
+ };
1880
+ }>;
1881
+ readAt: z.ZodDate;
1882
+ }, "strip", z.ZodTypeAny, {
1883
+ id: string;
1884
+ createdAt: Date;
1885
+ updatedAt: Date;
1886
+ deletedAt: Date | null;
1887
+ readAt: Date;
1888
+ notificationObjectId: string;
1889
+ notifierId: string;
1890
+ notificationObject: {
1891
+ data: string;
1892
+ id: string;
1893
+ createdAt: Date;
1894
+ updatedAt: Date;
1895
+ deletedAt: Date | null;
1896
+ notificationChange: {
1897
+ id: string;
1898
+ createdAt: Date;
1899
+ updatedAt: Date;
1900
+ deletedAt: Date | null;
1901
+ actor: {
1902
+ id: string;
1903
+ address: string | null;
1904
+ name: string;
1905
+ email: string;
1906
+ createdAt: Date;
1907
+ updatedAt: Date;
1908
+ deletedAt: Date | null;
1909
+ emailVerifiedAt: Date | null;
1910
+ password: string;
1911
+ phone: string | null;
1912
+ notificationCount: number | null;
1913
+ roles: {
1914
+ id: string;
1915
+ description: string | null;
1916
+ createdAt: Date;
1917
+ updatedAt: Date;
1918
+ deletedAt: Date | null;
1919
+ systemName: string;
1920
+ displayName: string;
1921
+ permissions: {
1922
+ id: string;
1923
+ description: string | null;
1924
+ createdAt: Date;
1925
+ updatedAt: Date;
1926
+ deletedAt: Date | null;
1927
+ systemName: string;
1928
+ displayName: string;
1929
+ }[];
1930
+ }[];
1931
+ extension: {
1932
+ id: string;
1933
+ createdAt: Date;
1934
+ updatedAt: Date;
1935
+ deletedAt: Date | null;
1936
+ userId: string | null;
1937
+ sipServerUrl: string;
1938
+ sipUserName: string;
1939
+ webphoneLoginUser: string;
1940
+ extensionId: string | null;
1941
+ extensionName: string;
1942
+ telephonySignature: string | null;
1943
+ };
1944
+ };
1945
+ readAt: Date;
1946
+ actorId: string;
1947
+ notificationObjectId: string;
1948
+ };
1949
+ };
1950
+ }, {
1951
+ id: string;
1952
+ createdAt: Date;
1953
+ updatedAt: Date;
1954
+ deletedAt: Date | null;
1955
+ readAt: Date;
1956
+ notificationObjectId: string;
1957
+ notifierId: string;
1958
+ notificationObject: {
1959
+ data: string;
1960
+ id: string;
1961
+ createdAt: Date;
1962
+ updatedAt: Date;
1963
+ deletedAt: Date | null;
1964
+ notificationChange: {
1965
+ id: string;
1966
+ createdAt: Date;
1967
+ updatedAt: Date;
1968
+ deletedAt: Date | null;
1969
+ actor: {
1970
+ id: string;
1971
+ address: string | null;
1972
+ name: string;
1973
+ email: string;
1974
+ createdAt: Date;
1975
+ updatedAt: Date;
1976
+ deletedAt: Date | null;
1977
+ emailVerifiedAt: Date | null;
1978
+ password: string;
1979
+ phone: string | null;
1980
+ notificationCount: number | null;
1981
+ roles: {
1982
+ id: string;
1983
+ description: string | null;
1984
+ createdAt: Date;
1985
+ updatedAt: Date;
1986
+ deletedAt: Date | null;
1987
+ systemName: string;
1988
+ displayName: string;
1989
+ permissions: {
1990
+ id: string;
1991
+ description: string | null;
1992
+ createdAt: Date;
1993
+ updatedAt: Date;
1994
+ deletedAt: Date | null;
1995
+ systemName: string;
1996
+ displayName: string;
1997
+ }[];
1998
+ }[];
1999
+ extension: {
2000
+ id: string;
2001
+ createdAt: Date;
2002
+ updatedAt: Date;
2003
+ deletedAt: Date | null;
2004
+ userId: string | null;
2005
+ sipServerUrl: string;
2006
+ sipUserName: string;
2007
+ webphoneLoginUser: string;
2008
+ extensionId: string | null;
2009
+ extensionName: string;
2010
+ telephonySignature: string | null;
2011
+ };
2012
+ };
2013
+ readAt: Date;
2014
+ actorId: string;
2015
+ notificationObjectId: string;
2016
+ };
2017
+ };
2018
+ }>;
2019
+ }, "strip", z.ZodTypeAny, {
2020
+ data: {
2021
+ id: string;
2022
+ createdAt: Date;
2023
+ updatedAt: Date;
2024
+ deletedAt: Date | null;
2025
+ readAt: Date;
2026
+ notificationObjectId: string;
2027
+ notifierId: string;
2028
+ notificationObject: {
2029
+ data: string;
2030
+ id: string;
2031
+ createdAt: Date;
2032
+ updatedAt: Date;
2033
+ deletedAt: Date | null;
2034
+ notificationChange: {
2035
+ id: string;
2036
+ createdAt: Date;
2037
+ updatedAt: Date;
2038
+ deletedAt: Date | null;
2039
+ actor: {
2040
+ id: string;
2041
+ address: string | null;
2042
+ name: string;
2043
+ email: string;
2044
+ createdAt: Date;
2045
+ updatedAt: Date;
2046
+ deletedAt: Date | null;
2047
+ emailVerifiedAt: Date | null;
2048
+ password: string;
2049
+ phone: string | null;
2050
+ notificationCount: number | null;
2051
+ roles: {
2052
+ id: string;
2053
+ description: string | null;
2054
+ createdAt: Date;
2055
+ updatedAt: Date;
2056
+ deletedAt: Date | null;
2057
+ systemName: string;
2058
+ displayName: string;
2059
+ permissions: {
2060
+ id: string;
2061
+ description: string | null;
2062
+ createdAt: Date;
2063
+ updatedAt: Date;
2064
+ deletedAt: Date | null;
2065
+ systemName: string;
2066
+ displayName: string;
2067
+ }[];
2068
+ }[];
2069
+ extension: {
2070
+ id: string;
2071
+ createdAt: Date;
2072
+ updatedAt: Date;
2073
+ deletedAt: Date | null;
2074
+ userId: string | null;
2075
+ sipServerUrl: string;
2076
+ sipUserName: string;
2077
+ webphoneLoginUser: string;
2078
+ extensionId: string | null;
2079
+ extensionName: string;
2080
+ telephonySignature: string | null;
2081
+ };
2082
+ };
2083
+ readAt: Date;
2084
+ actorId: string;
2085
+ notificationObjectId: string;
2086
+ };
2087
+ };
2088
+ };
2089
+ requestId: string;
2090
+ }, {
2091
+ data: {
2092
+ id: string;
2093
+ createdAt: Date;
2094
+ updatedAt: Date;
2095
+ deletedAt: Date | null;
2096
+ readAt: Date;
2097
+ notificationObjectId: string;
2098
+ notifierId: string;
2099
+ notificationObject: {
2100
+ data: string;
2101
+ id: string;
2102
+ createdAt: Date;
2103
+ updatedAt: Date;
2104
+ deletedAt: Date | null;
2105
+ notificationChange: {
2106
+ id: string;
2107
+ createdAt: Date;
2108
+ updatedAt: Date;
2109
+ deletedAt: Date | null;
2110
+ actor: {
2111
+ id: string;
2112
+ address: string | null;
2113
+ name: string;
2114
+ email: string;
2115
+ createdAt: Date;
2116
+ updatedAt: Date;
2117
+ deletedAt: Date | null;
2118
+ emailVerifiedAt: Date | null;
2119
+ password: string;
2120
+ phone: string | null;
2121
+ notificationCount: number | null;
2122
+ roles: {
2123
+ id: string;
2124
+ description: string | null;
2125
+ createdAt: Date;
2126
+ updatedAt: Date;
2127
+ deletedAt: Date | null;
2128
+ systemName: string;
2129
+ displayName: string;
2130
+ permissions: {
2131
+ id: string;
2132
+ description: string | null;
2133
+ createdAt: Date;
2134
+ updatedAt: Date;
2135
+ deletedAt: Date | null;
2136
+ systemName: string;
2137
+ displayName: string;
2138
+ }[];
2139
+ }[];
2140
+ extension: {
2141
+ id: string;
2142
+ createdAt: Date;
2143
+ updatedAt: Date;
2144
+ deletedAt: Date | null;
2145
+ userId: string | null;
2146
+ sipServerUrl: string;
2147
+ sipUserName: string;
2148
+ webphoneLoginUser: string;
2149
+ extensionId: string | null;
2150
+ extensionName: string;
2151
+ telephonySignature: string | null;
2152
+ };
2153
+ };
2154
+ readAt: Date;
2155
+ actorId: string;
2156
+ notificationObjectId: string;
2157
+ };
2158
+ };
2159
+ };
2160
+ requestId: string;
2161
+ }>;
2162
+ 400: z.ZodObject<{
2163
+ message: z.ZodString;
2164
+ }, "strip", z.ZodTypeAny, {
2165
+ message: string;
2166
+ }, {
2167
+ message: string;
2168
+ }>;
2169
+ 409: z.ZodObject<{
2170
+ message: z.ZodString;
2171
+ }, "strip", z.ZodTypeAny, {
2172
+ message: string;
2173
+ }, {
2174
+ message: string;
2175
+ }>;
2176
+ 500: z.ZodObject<{
2177
+ message: z.ZodString;
2178
+ }, "strip", z.ZodTypeAny, {
2179
+ message: string;
2180
+ }, {
2181
+ message: string;
2182
+ }>;
2183
+ 401: z.ZodObject<{
2184
+ message: z.ZodString;
2185
+ error: z.ZodAny;
2186
+ }, "strip", z.ZodTypeAny, {
2187
+ message: string;
2188
+ error?: any;
2189
+ }, {
2190
+ message: string;
2191
+ error?: any;
2192
+ }>;
2193
+ 404: z.ZodObject<{
2194
+ message: z.ZodString;
2195
+ error: z.ZodAny;
2196
+ }, "strip", z.ZodTypeAny, {
2197
+ message: string;
2198
+ error?: any;
2199
+ }, {
2200
+ message: string;
2201
+ error?: any;
2202
+ }>;
2203
+ 422: z.ZodObject<{
2204
+ message: z.ZodString;
2205
+ error: z.ZodAny;
2206
+ }, "strip", z.ZodTypeAny, {
2207
+ message: string;
2208
+ error?: any;
2209
+ }, {
2210
+ message: string;
2211
+ error?: any;
2212
+ }>;
2213
+ };
2214
+ path: "notification/read/:id";
2215
+ };
2216
+ };
2217
+ //# sourceMappingURL=index.d.ts.map