@kl1/contracts 1.4.62 → 1.4.64

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 (264) hide show
  1. package/dist/api-contracts/src/activity-log/index.d.ts +21 -20
  2. package/dist/api-contracts/src/activity-log/index.d.ts.map +1 -1
  3. package/dist/api-contracts/src/activity-log/schema.d.ts +4 -3
  4. package/dist/api-contracts/src/activity-log/schema.d.ts.map +1 -1
  5. package/dist/api-contracts/src/attribute/index.d.ts +132 -116
  6. package/dist/api-contracts/src/attribute/index.d.ts.map +1 -1
  7. package/dist/api-contracts/src/attribute/schema.d.ts +5 -2
  8. package/dist/api-contracts/src/attribute/schema.d.ts.map +1 -1
  9. package/dist/api-contracts/src/attribute-option/schema.d.ts +1 -0
  10. package/dist/api-contracts/src/attribute-option/schema.d.ts.map +1 -1
  11. package/dist/api-contracts/src/auth/index.d.ts +22 -20
  12. package/dist/api-contracts/src/auth/index.d.ts.map +1 -1
  13. package/dist/api-contracts/src/automation-queue/index.d.ts +148 -126
  14. package/dist/api-contracts/src/automation-queue/index.d.ts.map +1 -1
  15. package/dist/api-contracts/src/automation-queue/schema.d.ts +9 -6
  16. package/dist/api-contracts/src/automation-queue/schema.d.ts.map +1 -1
  17. package/dist/api-contracts/src/aws/index.d.ts +4 -2
  18. package/dist/api-contracts/src/aws/index.d.ts.map +1 -1
  19. package/dist/api-contracts/src/botpress/index.d.ts +29 -22
  20. package/dist/api-contracts/src/botpress/index.d.ts.map +1 -1
  21. package/dist/api-contracts/src/botpress/validation.d.ts +20 -17
  22. package/dist/api-contracts/src/botpress/validation.d.ts.map +1 -1
  23. package/dist/api-contracts/src/business-calendar/index.d.ts +16 -4
  24. package/dist/api-contracts/src/business-calendar/index.d.ts.map +1 -1
  25. package/dist/api-contracts/src/business-calendar/schema.d.ts +5 -0
  26. package/dist/api-contracts/src/business-calendar/schema.d.ts.map +1 -1
  27. package/dist/api-contracts/src/call-log/schema.d.ts +3 -2
  28. package/dist/api-contracts/src/call-log/schema.d.ts.map +1 -1
  29. package/dist/api-contracts/src/category/index.d.ts +100 -91
  30. package/dist/api-contracts/src/category/index.d.ts.map +1 -1
  31. package/dist/api-contracts/src/category/schema.d.ts +1 -0
  32. package/dist/api-contracts/src/category/schema.d.ts.map +1 -1
  33. package/dist/api-contracts/src/channel/index.d.ts +3915 -1965
  34. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  35. package/dist/api-contracts/src/channel/schema.d.ts +90 -82
  36. package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
  37. package/dist/api-contracts/src/channel/validation.d.ts +178 -104
  38. package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
  39. package/dist/api-contracts/src/chat/index.d.ts +13716 -12748
  40. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  41. package/dist/api-contracts/src/chat/schema.d.ts +3111 -2895
  42. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  43. package/dist/api-contracts/src/chat/validation.d.ts +3523 -3254
  44. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  45. package/dist/api-contracts/src/comment/index.d.ts +227 -155
  46. package/dist/api-contracts/src/comment/index.d.ts.map +1 -1
  47. package/dist/api-contracts/src/comment/schema.d.ts +52 -29
  48. package/dist/api-contracts/src/comment/schema.d.ts.map +1 -1
  49. package/dist/api-contracts/src/company/index.d.ts +162 -55
  50. package/dist/api-contracts/src/company/index.d.ts.map +1 -1
  51. package/dist/api-contracts/src/company/schema.d.ts +15 -6
  52. package/dist/api-contracts/src/company/schema.d.ts.map +1 -1
  53. package/dist/api-contracts/src/company/validation.d.ts +86 -30
  54. package/dist/api-contracts/src/company/validation.d.ts.map +1 -1
  55. package/dist/api-contracts/src/contact/index.d.ts +437 -318
  56. package/dist/api-contracts/src/contact/index.d.ts.map +1 -1
  57. package/dist/api-contracts/src/contact/schema.d.ts +28 -14
  58. package/dist/api-contracts/src/contact/schema.d.ts.map +1 -1
  59. package/dist/api-contracts/src/contact/validation.d.ts +137 -56
  60. package/dist/api-contracts/src/contact/validation.d.ts.map +1 -1
  61. package/dist/api-contracts/src/contact-email/schema.d.ts +1 -0
  62. package/dist/api-contracts/src/contact-email/schema.d.ts.map +1 -1
  63. package/dist/api-contracts/src/contact-phone/schema.d.ts +1 -0
  64. package/dist/api-contracts/src/contact-phone/schema.d.ts.map +1 -1
  65. package/dist/api-contracts/src/contract.d.ts +66841 -98172
  66. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  67. package/dist/api-contracts/src/custom-field/schema.d.ts +1 -0
  68. package/dist/api-contracts/src/custom-field/schema.d.ts.map +1 -1
  69. package/dist/api-contracts/src/custom-field/validation.d.ts +2 -2
  70. package/dist/api-contracts/src/custom-field-upload/schema.d.ts +1 -0
  71. package/dist/api-contracts/src/custom-field-upload/schema.d.ts.map +1 -1
  72. package/dist/api-contracts/src/cx-intelligence/index.d.ts +44 -41
  73. package/dist/api-contracts/src/cx-intelligence/index.d.ts.map +1 -1
  74. package/dist/api-contracts/src/cx-log/index.d.ts +686 -627
  75. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  76. package/dist/api-contracts/src/cx-log/schema.d.ts +464 -402
  77. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  78. package/dist/api-contracts/src/cx-log/validation.d.ts +40 -40
  79. package/dist/api-contracts/src/dashboard/index.d.ts +355 -312
  80. package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
  81. package/dist/api-contracts/src/dashboard/schema.d.ts +3 -2
  82. package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
  83. package/dist/api-contracts/src/dashboard/validation.d.ts +14 -10
  84. package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
  85. package/dist/api-contracts/src/evaluate-form/index.d.ts +2 -1
  86. package/dist/api-contracts/src/evaluate-form/index.d.ts.map +1 -1
  87. package/dist/api-contracts/src/evaluate-form/schema.d.ts +1 -0
  88. package/dist/api-contracts/src/evaluate-form/schema.d.ts.map +1 -1
  89. package/dist/api-contracts/src/export/index.d.ts +2 -1
  90. package/dist/api-contracts/src/export/index.d.ts.map +1 -1
  91. package/dist/api-contracts/src/extension/index.d.ts +106 -100
  92. package/dist/api-contracts/src/extension/index.d.ts.map +1 -1
  93. package/dist/api-contracts/src/facebook-feed/index.d.ts +3335 -3151
  94. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  95. package/dist/api-contracts/src/facebook-feed/schema.d.ts +100 -81
  96. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  97. package/dist/api-contracts/src/facebook-feed/validation.d.ts +99 -83
  98. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  99. package/dist/api-contracts/src/general-setting/index.d.ts +2 -2
  100. package/dist/api-contracts/src/group/schema.d.ts +1 -0
  101. package/dist/api-contracts/src/group/schema.d.ts.map +1 -1
  102. package/dist/api-contracts/src/hold-label/index.d.ts +49 -30
  103. package/dist/api-contracts/src/hold-label/index.d.ts.map +1 -1
  104. package/dist/api-contracts/src/hold-label/schema.d.ts +10 -4
  105. package/dist/api-contracts/src/hold-label/schema.d.ts.map +1 -1
  106. package/dist/api-contracts/src/hold-label/validation.d.ts +2 -2
  107. package/dist/api-contracts/src/index.d.ts +1 -0
  108. package/dist/api-contracts/src/index.d.ts.map +1 -1
  109. package/dist/api-contracts/src/instagram/index.d.ts +2116 -1968
  110. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  111. package/dist/api-contracts/src/instagram/validation.d.ts +6 -6
  112. package/dist/api-contracts/src/invoice/index.d.ts +3 -1
  113. package/dist/api-contracts/src/invoice/index.d.ts.map +1 -1
  114. package/dist/api-contracts/src/invoice/schema.d.ts +1 -0
  115. package/dist/api-contracts/src/invoice/schema.d.ts.map +1 -1
  116. package/dist/api-contracts/src/klink-chat/index.d.ts +5930 -3695
  117. package/dist/api-contracts/src/klink-chat/index.d.ts.map +1 -1
  118. package/dist/api-contracts/src/klink-chat/schema.d.ts +8 -8
  119. package/dist/api-contracts/src/klink-chat/validation.d.ts +3 -3
  120. package/dist/api-contracts/src/line/index.d.ts +2077 -1937
  121. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  122. package/dist/api-contracts/src/line/schema.d.ts +10 -9
  123. package/dist/api-contracts/src/line/schema.d.ts.map +1 -1
  124. package/dist/api-contracts/src/line/validation.d.ts +157 -148
  125. package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
  126. package/dist/api-contracts/src/log-form/schema.d.ts +1 -0
  127. package/dist/api-contracts/src/log-form/schema.d.ts.map +1 -1
  128. package/dist/api-contracts/src/mail/account-contract.d.ts +223 -174
  129. package/dist/api-contracts/src/mail/account-contract.d.ts.map +1 -1
  130. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts +2 -1
  131. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts.map +1 -1
  132. package/dist/api-contracts/src/mail/mail-contract.d.ts +426 -306
  133. package/dist/api-contracts/src/mail/mail-contract.d.ts.map +1 -1
  134. package/dist/api-contracts/src/mail/mail-server-contract.d.ts +12 -6
  135. package/dist/api-contracts/src/mail/mail-server-contract.d.ts.map +1 -1
  136. package/dist/api-contracts/src/mail/message-contract.d.ts +86 -80
  137. package/dist/api-contracts/src/mail/message-contract.d.ts.map +1 -1
  138. package/dist/api-contracts/src/mail/room-contract.d.ts +105 -46
  139. package/dist/api-contracts/src/mail/room-contract.d.ts.map +1 -1
  140. package/dist/api-contracts/src/mail/schemas/account-validation.schema.d.ts +27 -0
  141. package/dist/api-contracts/src/mail/schemas/account-validation.schema.d.ts.map +1 -1
  142. package/dist/api-contracts/src/mail/schemas/account.schema.d.ts +3 -0
  143. package/dist/api-contracts/src/mail/schemas/account.schema.d.ts.map +1 -1
  144. package/dist/api-contracts/src/mail/schemas/message-validation.schema.d.ts +16 -16
  145. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +34 -21
  146. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
  147. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +18 -6
  148. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts.map +1 -1
  149. package/dist/api-contracts/src/messenger/index.d.ts +2109 -1960
  150. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  151. package/dist/api-contracts/src/messenger/validation.d.ts +99 -83
  152. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  153. package/dist/api-contracts/src/notification/index.d.ts +20 -13
  154. package/dist/api-contracts/src/notification/index.d.ts.map +1 -1
  155. package/dist/api-contracts/src/notification/schema.d.ts +12 -9
  156. package/dist/api-contracts/src/notification/schema.d.ts.map +1 -1
  157. package/dist/api-contracts/src/notification/validation.d.ts +4 -3
  158. package/dist/api-contracts/src/notification/validation.d.ts.map +1 -1
  159. package/dist/api-contracts/src/permission/index.d.ts +17 -17
  160. package/dist/api-contracts/src/presence-status/index.d.ts +87 -83
  161. package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
  162. package/dist/api-contracts/src/presence-status/schema.d.ts +4 -3
  163. package/dist/api-contracts/src/presence-status/schema.d.ts.map +1 -1
  164. package/dist/api-contracts/src/public-api/index.d.ts +4516 -104
  165. package/dist/api-contracts/src/public-api/index.d.ts.map +1 -1
  166. package/dist/api-contracts/src/public-api/schema.d.ts +20 -6
  167. package/dist/api-contracts/src/public-api/schema.d.ts.map +1 -1
  168. package/dist/api-contracts/src/public-api/validation.d.ts +63 -38
  169. package/dist/api-contracts/src/public-api/validation.d.ts.map +1 -1
  170. package/dist/api-contracts/src/role/index.d.ts +80 -75
  171. package/dist/api-contracts/src/role/index.d.ts.map +1 -1
  172. package/dist/api-contracts/src/sms/index.d.ts +588 -542
  173. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  174. package/dist/api-contracts/src/snippet/index.d.ts +32 -10
  175. package/dist/api-contracts/src/snippet/index.d.ts.map +1 -1
  176. package/dist/api-contracts/src/snippet/schema.d.ts +7 -0
  177. package/dist/api-contracts/src/snippet/schema.d.ts.map +1 -1
  178. package/dist/api-contracts/src/snippet/validation.d.ts +3 -2
  179. package/dist/api-contracts/src/snippet/validation.d.ts.map +1 -1
  180. package/dist/api-contracts/src/subscription/index.d.ts +474 -6
  181. package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
  182. package/dist/api-contracts/src/subscription/schema.d.ts +31 -0
  183. package/dist/api-contracts/src/subscription/schema.d.ts.map +1 -1
  184. package/dist/api-contracts/src/tag/index.d.ts +65 -58
  185. package/dist/api-contracts/src/tag/index.d.ts.map +1 -1
  186. package/dist/api-contracts/src/tag/schema.d.ts +1 -0
  187. package/dist/api-contracts/src/tag/schema.d.ts.map +1 -1
  188. package/dist/api-contracts/src/tag-group/schema.d.ts +1 -0
  189. package/dist/api-contracts/src/tag-group/schema.d.ts.map +1 -1
  190. package/dist/api-contracts/src/telegram/index.d.ts +2505 -2381
  191. package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
  192. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +38 -463
  193. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  194. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +5 -6
  195. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  196. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts +0 -3
  197. package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts.map +1 -1
  198. package/dist/api-contracts/src/telephony-cdr/call-report.schema.d.ts +38 -38
  199. package/dist/api-contracts/src/telephony-cdr/index.d.ts +756 -702
  200. package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
  201. package/dist/api-contracts/src/telephony-cdr/schema.d.ts +170 -144
  202. package/dist/api-contracts/src/telephony-cdr/schema.d.ts.map +1 -1
  203. package/dist/api-contracts/src/telephony-cdr/validation.d.ts +43 -39
  204. package/dist/api-contracts/src/telephony-cdr/validation.d.ts.map +1 -1
  205. package/dist/api-contracts/src/telephony-extension/index.d.ts +21 -21
  206. package/dist/api-contracts/src/telephony-extension/schema.d.ts +4 -4
  207. package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts +1 -0
  208. package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts.map +1 -1
  209. package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts +1 -0
  210. package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts.map +1 -1
  211. package/dist/api-contracts/src/tenant/schema.d.ts +1 -0
  212. package/dist/api-contracts/src/tenant/schema.d.ts.map +1 -1
  213. package/dist/api-contracts/src/ticket/index.d.ts +564 -452
  214. package/dist/api-contracts/src/ticket/index.d.ts.map +1 -1
  215. package/dist/api-contracts/src/ticket/schema.d.ts +47 -21
  216. package/dist/api-contracts/src/ticket/schema.d.ts.map +1 -1
  217. package/dist/api-contracts/src/ticket/validation.d.ts +53 -51
  218. package/dist/api-contracts/src/ticket/validation.d.ts.map +1 -1
  219. package/dist/api-contracts/src/upload/index.d.ts +32 -30
  220. package/dist/api-contracts/src/upload/index.d.ts.map +1 -1
  221. package/dist/api-contracts/src/upload/schema.d.ts +1 -0
  222. package/dist/api-contracts/src/upload/schema.d.ts.map +1 -1
  223. package/dist/api-contracts/src/user/index.d.ts +137 -126
  224. package/dist/api-contracts/src/user/index.d.ts.map +1 -1
  225. package/dist/api-contracts/src/user/schema.d.ts +4 -3
  226. package/dist/api-contracts/src/user/schema.d.ts.map +1 -1
  227. package/dist/api-contracts/src/user/validation.d.ts +3 -2
  228. package/dist/api-contracts/src/user/validation.d.ts.map +1 -1
  229. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +34 -32
  230. package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
  231. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +5 -3
  232. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
  233. package/dist/api-contracts/src/viber/index.d.ts +2494 -2370
  234. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  235. package/dist/api-contracts/src/webchat/index.d.ts +1754 -1630
  236. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  237. package/dist/api-contracts/src/whatsapp/index.d.ts +1848 -1705
  238. package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
  239. package/dist/api-contracts/src/whatsapp/validation.d.ts +15 -4
  240. package/dist/api-contracts/src/whatsapp/validation.d.ts.map +1 -1
  241. package/dist/api-contracts/src/widget/index.d.ts +145 -132
  242. package/dist/api-contracts/src/widget/index.d.ts.map +1 -1
  243. package/dist/api-contracts/src/widget/schema.d.ts +1 -0
  244. package/dist/api-contracts/src/widget/schema.d.ts.map +1 -1
  245. package/dist/api-contracts/src/widget/validation.d.ts +16 -16
  246. package/dist/api-contracts/src/workflow-rule/index.d.ts +2062 -1907
  247. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  248. package/dist/api-contracts/src/workflow-rule/schema.d.ts +1 -0
  249. package/dist/api-contracts/src/workflow-rule/schema.d.ts.map +1 -1
  250. package/dist/api-contracts/src/wrap-up-form/index.d.ts +128 -109
  251. package/dist/api-contracts/src/wrap-up-form/index.d.ts.map +1 -1
  252. package/dist/api-contracts/src/wrap-up-form/schema.d.ts +3 -0
  253. package/dist/api-contracts/src/wrap-up-form/schema.d.ts.map +1 -1
  254. package/dist/api-contracts/src/wrap-up-form/validation.d.ts +19 -18
  255. package/dist/api-contracts/src/wrap-up-form/validation.d.ts.map +1 -1
  256. package/dist/api-contracts/utils.d.ts +2 -1
  257. package/dist/api-contracts/utils.d.ts.map +1 -1
  258. package/dist/entities/src/enums/chat.d.ts +2 -0
  259. package/dist/entities/src/enums/chat.d.ts.map +1 -1
  260. package/dist/index.js +1296 -1084
  261. package/dist/index.js.map +1 -1
  262. package/dist/index.mjs +1295 -1084
  263. package/dist/index.mjs.map +1 -1
  264. package/package.json +2 -2
@@ -4,6 +4,7 @@ export declare const mailContract: {
4
4
  body: null;
5
5
  summary: "Create a new room for new incoming mail";
6
6
  method: "POST";
7
+ path: "ems/mail/room/";
7
8
  responses: {
8
9
  401: import("zod").ZodObject<{
9
10
  message: import("zod").ZodString;
@@ -37,6 +38,7 @@ export declare const mailContract: {
37
38
  }>;
38
39
  200: import("zod").ZodObject<{
39
40
  requestId: import("zod").ZodString;
41
+ } & {
40
42
  message: import("zod").ZodString;
41
43
  }, "strip", import("zod").ZodTypeAny, {
42
44
  message: string;
@@ -46,7 +48,6 @@ export declare const mailContract: {
46
48
  requestId: string;
47
49
  }>;
48
50
  };
49
- path: "ems/mail/room/";
50
51
  };
51
52
  getAll: {
52
53
  summary: "Get mail rooms";
@@ -74,32 +75,33 @@ export declare const mailContract: {
74
75
  }, "strip", import("zod").ZodTypeAny, {
75
76
  page: number;
76
77
  pageSize: number;
78
+ date?: string | undefined;
79
+ contacts?: string[] | undefined;
77
80
  keyword?: {
78
81
  value: string;
79
82
  category: "message" | "contact";
80
83
  } | undefined;
81
- contactLabels?: string[] | undefined;
82
84
  channels?: string[] | undefined;
83
- date?: string | undefined;
84
- contacts?: string[] | undefined;
85
+ contactLabels?: string[] | undefined;
85
86
  assignees?: string[] | undefined;
86
87
  level1?: "open" | "close" | "starred" | "inbox" | "sent" | "scheduled" | undefined;
87
88
  level2?: "all" | "other" | "unassign" | "mine" | undefined;
88
89
  }, {
89
90
  page?: number | undefined;
91
+ date?: string | undefined;
90
92
  pageSize?: number | undefined;
93
+ contacts?: string[] | undefined;
91
94
  keyword?: {
92
95
  value: string;
93
96
  category: "message" | "contact";
94
97
  } | undefined;
95
- contactLabels?: string[] | undefined;
96
98
  channels?: string[] | undefined;
97
- date?: string | undefined;
98
- contacts?: string[] | undefined;
99
+ contactLabels?: string[] | undefined;
99
100
  assignees?: string[] | undefined;
100
101
  level1?: "open" | "close" | "starred" | "inbox" | "sent" | "scheduled" | undefined;
101
102
  level2?: "all" | "other" | "unassign" | "mine" | undefined;
102
103
  }>;
104
+ path: "ems/mail/room";
103
105
  responses: {
104
106
  401: import("zod").ZodObject<{
105
107
  message: import("zod").ZodString;
@@ -133,6 +135,7 @@ export declare const mailContract: {
133
135
  }>;
134
136
  200: import("zod").ZodObject<{
135
137
  requestId: import("zod").ZodString;
138
+ } & {
136
139
  data: import("zod").ZodArray<import("zod").ZodObject<{
137
140
  id: import("zod").ZodString;
138
141
  createdAt: import("zod").ZodDate;
@@ -5176,6 +5179,7 @@ export declare const mailContract: {
5176
5179
  id: import("zod").ZodString;
5177
5180
  name: import("zod").ZodString;
5178
5181
  address: import("zod").ZodString;
5182
+ signature: import("zod").ZodNullable<import("zod").ZodString>;
5179
5183
  accountId: import("zod").ZodString;
5180
5184
  mailServerId: import("zod").ZodString;
5181
5185
  mailServer: import("zod").ZodObject<{
@@ -5233,6 +5237,7 @@ export declare const mailContract: {
5233
5237
  createdAt: Date;
5234
5238
  updatedAt: Date;
5235
5239
  deletedAt: Date | null;
5240
+ signature: string | null;
5236
5241
  accountId: string;
5237
5242
  mailServerId: string;
5238
5243
  mailServer: {
@@ -5258,6 +5263,7 @@ export declare const mailContract: {
5258
5263
  createdAt: Date;
5259
5264
  updatedAt: Date;
5260
5265
  deletedAt: Date | null;
5266
+ signature: string | null;
5261
5267
  accountId: string;
5262
5268
  mailServerId: string;
5263
5269
  mailServer: {
@@ -5282,6 +5288,7 @@ export declare const mailContract: {
5282
5288
  createdAt: import("zod").ZodDate;
5283
5289
  updatedAt: import("zod").ZodDate;
5284
5290
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
5291
+ } & {
5285
5292
  caseId: import("zod").ZodNumber;
5286
5293
  entityId: import("zod").ZodString;
5287
5294
  entityName: import("zod").ZodString;
@@ -5302,6 +5309,7 @@ export declare const mailContract: {
5302
5309
  createdAt: import("zod").ZodDate;
5303
5310
  updatedAt: import("zod").ZodDate;
5304
5311
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
5312
+ } & {
5305
5313
  note: import("zod").ZodNullable<import("zod").ZodString>;
5306
5314
  disposition: import("zod").ZodNullable<import("zod").ZodString>;
5307
5315
  type: import("zod").ZodString;
@@ -5310,6 +5318,7 @@ export declare const mailContract: {
5310
5318
  createdAt: import("zod").ZodDate;
5311
5319
  updatedAt: import("zod").ZodDate;
5312
5320
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
5321
+ } & {
5313
5322
  name: import("zod").ZodString;
5314
5323
  }, "strip", import("zod").ZodTypeAny, {
5315
5324
  name: string;
@@ -5329,6 +5338,7 @@ export declare const mailContract: {
5329
5338
  createdAt: import("zod").ZodDate;
5330
5339
  updatedAt: import("zod").ZodDate;
5331
5340
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
5341
+ } & {
5332
5342
  value: import("zod").ZodString;
5333
5343
  level: import("zod").ZodUnion<[import("zod").ZodLiteral<1>, import("zod").ZodLiteral<2>, import("zod").ZodLiteral<3>]>;
5334
5344
  parentId: import("zod").ZodNullable<import("zod").ZodString>;
@@ -5568,6 +5578,7 @@ export declare const mailContract: {
5568
5578
  createdAt: import("zod").ZodDate;
5569
5579
  updatedAt: import("zod").ZodDate;
5570
5580
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
5581
+ } & {
5571
5582
  startedAt: import("zod").ZodString;
5572
5583
  endedAt: import("zod").ZodNullable<import("zod").ZodString>;
5573
5584
  duration: import("zod").ZodNullable<import("zod").ZodNumber>;
@@ -5576,6 +5587,7 @@ export declare const mailContract: {
5576
5587
  createdAt: import("zod").ZodDate;
5577
5588
  updatedAt: import("zod").ZodDate;
5578
5589
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
5590
+ } & {
5579
5591
  name: import("zod").ZodString;
5580
5592
  position: import("zod").ZodNumber;
5581
5593
  isDefault: import("zod").ZodDefault<import("zod").ZodBoolean>;
@@ -5598,12 +5610,12 @@ export declare const mailContract: {
5598
5610
  }>>>;
5599
5611
  }, "strip", import("zod").ZodTypeAny, {
5600
5612
  id: string;
5613
+ duration: number | null;
5601
5614
  createdAt: Date;
5602
5615
  updatedAt: Date;
5603
5616
  deletedAt: Date | null;
5604
5617
  startedAt: string;
5605
5618
  endedAt: string | null;
5606
- duration: number | null;
5607
5619
  holdLabel?: {
5608
5620
  name: string;
5609
5621
  id: string;
@@ -5615,12 +5627,12 @@ export declare const mailContract: {
5615
5627
  } | null | undefined;
5616
5628
  }, {
5617
5629
  id: string;
5630
+ duration: number | null;
5618
5631
  createdAt: Date;
5619
5632
  updatedAt: Date;
5620
5633
  deletedAt: Date | null;
5621
5634
  startedAt: string;
5622
5635
  endedAt: string | null;
5623
- duration: number | null;
5624
5636
  holdLabel?: {
5625
5637
  name: string;
5626
5638
  id: string;
@@ -5705,12 +5717,12 @@ export declare const mailContract: {
5705
5717
  } | null;
5706
5718
  holdLogs?: {
5707
5719
  id: string;
5720
+ duration: number | null;
5708
5721
  createdAt: Date;
5709
5722
  updatedAt: Date;
5710
5723
  deletedAt: Date | null;
5711
5724
  startedAt: string;
5712
5725
  endedAt: string | null;
5713
- duration: number | null;
5714
5726
  holdLabel?: {
5715
5727
  name: string;
5716
5728
  id: string;
@@ -5795,12 +5807,12 @@ export declare const mailContract: {
5795
5807
  } | null;
5796
5808
  holdLogs?: {
5797
5809
  id: string;
5810
+ duration: number | null;
5798
5811
  createdAt: Date;
5799
5812
  updatedAt: Date;
5800
5813
  deletedAt: Date | null;
5801
5814
  startedAt: string;
5802
5815
  endedAt: string | null;
5803
- duration: number | null;
5804
5816
  holdLabel?: {
5805
5817
  name: string;
5806
5818
  id: string;
@@ -6082,12 +6094,12 @@ export declare const mailContract: {
6082
6094
  } | null;
6083
6095
  holdLogs?: {
6084
6096
  id: string;
6097
+ duration: number | null;
6085
6098
  createdAt: Date;
6086
6099
  updatedAt: Date;
6087
6100
  deletedAt: Date | null;
6088
6101
  startedAt: string;
6089
6102
  endedAt: string | null;
6090
- duration: number | null;
6091
6103
  holdLabel?: {
6092
6104
  name: string;
6093
6105
  id: string;
@@ -6762,6 +6774,7 @@ export declare const mailContract: {
6762
6774
  createdAt: Date;
6763
6775
  updatedAt: Date;
6764
6776
  deletedAt: Date | null;
6777
+ signature: string | null;
6765
6778
  accountId: string;
6766
6779
  mailServerId: string;
6767
6780
  mailServer: {
@@ -7051,12 +7064,12 @@ export declare const mailContract: {
7051
7064
  } | null;
7052
7065
  holdLogs?: {
7053
7066
  id: string;
7067
+ duration: number | null;
7054
7068
  createdAt: Date;
7055
7069
  updatedAt: Date;
7056
7070
  deletedAt: Date | null;
7057
7071
  startedAt: string;
7058
7072
  endedAt: string | null;
7059
- duration: number | null;
7060
7073
  holdLabel?: {
7061
7074
  name: string;
7062
7075
  id: string;
@@ -7731,6 +7744,7 @@ export declare const mailContract: {
7731
7744
  createdAt: Date;
7732
7745
  updatedAt: Date;
7733
7746
  deletedAt: Date | null;
7747
+ signature: string | null;
7734
7748
  accountId: string;
7735
7749
  mailServerId: string;
7736
7750
  mailServer: {
@@ -8025,12 +8039,12 @@ export declare const mailContract: {
8025
8039
  } | null;
8026
8040
  holdLogs?: {
8027
8041
  id: string;
8042
+ duration: number | null;
8028
8043
  createdAt: Date;
8029
8044
  updatedAt: Date;
8030
8045
  deletedAt: Date | null;
8031
8046
  startedAt: string;
8032
8047
  endedAt: string | null;
8033
- duration: number | null;
8034
8048
  holdLabel?: {
8035
8049
  name: string;
8036
8050
  id: string;
@@ -8705,6 +8719,7 @@ export declare const mailContract: {
8705
8719
  createdAt: Date;
8706
8720
  updatedAt: Date;
8707
8721
  deletedAt: Date | null;
8722
+ signature: string | null;
8708
8723
  accountId: string;
8709
8724
  mailServerId: string;
8710
8725
  mailServer: {
@@ -9000,12 +9015,12 @@ export declare const mailContract: {
9000
9015
  } | null;
9001
9016
  holdLogs?: {
9002
9017
  id: string;
9018
+ duration: number | null;
9003
9019
  createdAt: Date;
9004
9020
  updatedAt: Date;
9005
9021
  deletedAt: Date | null;
9006
9022
  startedAt: string;
9007
9023
  endedAt: string | null;
9008
- duration: number | null;
9009
9024
  holdLabel?: {
9010
9025
  name: string;
9011
9026
  id: string;
@@ -9680,6 +9695,7 @@ export declare const mailContract: {
9680
9695
  createdAt: Date;
9681
9696
  updatedAt: Date;
9682
9697
  deletedAt: Date | null;
9698
+ signature: string | null;
9683
9699
  accountId: string;
9684
9700
  mailServerId: string;
9685
9701
  mailServer: {
@@ -9706,11 +9722,11 @@ export declare const mailContract: {
9706
9722
  requestId: string;
9707
9723
  }>;
9708
9724
  };
9709
- path: "ems/mail/room";
9710
9725
  };
9711
9726
  getRoomCounts: {
9712
9727
  summary: "Get unread message counts for filter like \"open\", \"close\", \"inbox\" and etc...";
9713
9728
  method: "GET";
9729
+ path: "ems/mail/room/count_rooms/all";
9714
9730
  responses: {
9715
9731
  401: import("zod").ZodObject<{
9716
9732
  message: import("zod").ZodString;
@@ -9744,6 +9760,7 @@ export declare const mailContract: {
9744
9760
  }>;
9745
9761
  200: import("zod").ZodObject<{
9746
9762
  requestId: import("zod").ZodString;
9763
+ } & {
9747
9764
  data: import("zod").ZodObject<{
9748
9765
  general: import("zod").ZodArray<import("zod").ZodObject<{
9749
9766
  name: import("zod").ZodString;
@@ -9763,6 +9780,7 @@ export declare const mailContract: {
9763
9780
  id: import("zod").ZodString;
9764
9781
  name: import("zod").ZodString;
9765
9782
  address: import("zod").ZodString;
9783
+ signature: import("zod").ZodNullable<import("zod").ZodString>;
9766
9784
  accountId: import("zod").ZodString;
9767
9785
  mailServerId: import("zod").ZodString;
9768
9786
  mailServer: import("zod").ZodObject<{
@@ -9820,6 +9838,7 @@ export declare const mailContract: {
9820
9838
  createdAt: Date;
9821
9839
  updatedAt: Date;
9822
9840
  deletedAt: Date | null;
9841
+ signature: string | null;
9823
9842
  accountId: string;
9824
9843
  mailServerId: string;
9825
9844
  mailServer: {
@@ -9845,6 +9864,7 @@ export declare const mailContract: {
9845
9864
  createdAt: Date;
9846
9865
  updatedAt: Date;
9847
9866
  deletedAt: Date | null;
9867
+ signature: string | null;
9848
9868
  accountId: string;
9849
9869
  mailServerId: string;
9850
9870
  mailServer: {
@@ -9873,6 +9893,7 @@ export declare const mailContract: {
9873
9893
  createdAt: Date;
9874
9894
  updatedAt: Date;
9875
9895
  deletedAt: Date | null;
9896
+ signature: string | null;
9876
9897
  accountId: string;
9877
9898
  mailServerId: string;
9878
9899
  mailServer: {
@@ -9901,6 +9922,7 @@ export declare const mailContract: {
9901
9922
  createdAt: Date;
9902
9923
  updatedAt: Date;
9903
9924
  deletedAt: Date | null;
9925
+ signature: string | null;
9904
9926
  accountId: string;
9905
9927
  mailServerId: string;
9906
9928
  mailServer: {
@@ -9927,6 +9949,7 @@ export declare const mailContract: {
9927
9949
  createdAt: import("zod").ZodDate;
9928
9950
  updatedAt: import("zod").ZodDate;
9929
9951
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
9952
+ } & {
9930
9953
  name: import("zod").ZodString;
9931
9954
  }, "strip", import("zod").ZodTypeAny, {
9932
9955
  name: string;
@@ -9976,6 +9999,7 @@ export declare const mailContract: {
9976
9999
  createdAt: Date;
9977
10000
  updatedAt: Date;
9978
10001
  deletedAt: Date | null;
10002
+ signature: string | null;
9979
10003
  accountId: string;
9980
10004
  mailServerId: string;
9981
10005
  mailServer: {
@@ -10021,6 +10045,7 @@ export declare const mailContract: {
10021
10045
  createdAt: Date;
10022
10046
  updatedAt: Date;
10023
10047
  deletedAt: Date | null;
10048
+ signature: string | null;
10024
10049
  accountId: string;
10025
10050
  mailServerId: string;
10026
10051
  mailServer: {
@@ -10068,6 +10093,7 @@ export declare const mailContract: {
10068
10093
  createdAt: Date;
10069
10094
  updatedAt: Date;
10070
10095
  deletedAt: Date | null;
10096
+ signature: string | null;
10071
10097
  accountId: string;
10072
10098
  mailServerId: string;
10073
10099
  mailServer: {
@@ -10116,6 +10142,7 @@ export declare const mailContract: {
10116
10142
  createdAt: Date;
10117
10143
  updatedAt: Date;
10118
10144
  deletedAt: Date | null;
10145
+ signature: string | null;
10119
10146
  accountId: string;
10120
10147
  mailServerId: string;
10121
10148
  mailServer: {
@@ -10150,7 +10177,6 @@ export declare const mailContract: {
10150
10177
  requestId: string;
10151
10178
  }>;
10152
10179
  };
10153
- path: "ems/mail/room/count_rooms/all";
10154
10180
  };
10155
10181
  getAttachments: {
10156
10182
  summary: "Get all the attachments of a room";
@@ -10162,6 +10188,7 @@ export declare const mailContract: {
10162
10188
  }, {
10163
10189
  id: string;
10164
10190
  }>;
10191
+ path: "ems/mail/room/:id/attachments";
10165
10192
  responses: {
10166
10193
  401: import("zod").ZodObject<{
10167
10194
  message: import("zod").ZodString;
@@ -10195,6 +10222,7 @@ export declare const mailContract: {
10195
10222
  }>;
10196
10223
  200: import("zod").ZodObject<{
10197
10224
  requestId: import("zod").ZodString;
10225
+ } & {
10198
10226
  data: import("zod").ZodArray<import("zod").ZodObject<{
10199
10227
  fileName: import("zod").ZodString;
10200
10228
  fileType: import("zod").ZodString;
@@ -10207,6 +10235,7 @@ export declare const mailContract: {
10207
10235
  createdAt: import("zod").ZodDate;
10208
10236
  updatedAt: import("zod").ZodDate;
10209
10237
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
10238
+ } & {
10210
10239
  bucketName: import("zod").ZodString;
10211
10240
  fileName: import("zod").ZodString;
10212
10241
  fileSize: import("zod").ZodNumber;
@@ -10321,7 +10350,6 @@ export declare const mailContract: {
10321
10350
  requestId: string;
10322
10351
  }>;
10323
10352
  };
10324
- path: "ems/mail/room/:id/attachments";
10325
10353
  };
10326
10354
  getParticipants: {
10327
10355
  summary: "Get all the attachments of a room";
@@ -10333,6 +10361,7 @@ export declare const mailContract: {
10333
10361
  }, {
10334
10362
  id: string;
10335
10363
  }>;
10364
+ path: "ems/mail/room/:id/participants";
10336
10365
  responses: {
10337
10366
  401: import("zod").ZodObject<{
10338
10367
  message: import("zod").ZodString;
@@ -10366,6 +10395,7 @@ export declare const mailContract: {
10366
10395
  }>;
10367
10396
  200: import("zod").ZodObject<{
10368
10397
  requestId: import("zod").ZodString;
10398
+ } & {
10369
10399
  data: import("zod").ZodArray<import("zod").ZodObject<{
10370
10400
  id: import("zod").ZodString;
10371
10401
  createdAt: import("zod").ZodDate;
@@ -10589,7 +10619,6 @@ export declare const mailContract: {
10589
10619
  requestId: string;
10590
10620
  }>;
10591
10621
  };
10592
- path: "ems/mail/room/:id/participants";
10593
10622
  };
10594
10623
  addNewEmailToContact: {
10595
10624
  body: import("zod").ZodObject<{
@@ -10607,6 +10636,7 @@ export declare const mailContract: {
10607
10636
  }>;
10608
10637
  summary: "Add a new email of a mail room participant to an existing contact";
10609
10638
  method: "POST";
10639
+ path: "ems/mail/room/add_email_to_contact";
10610
10640
  responses: {
10611
10641
  401: import("zod").ZodObject<{
10612
10642
  message: import("zod").ZodString;
@@ -10640,6 +10670,7 @@ export declare const mailContract: {
10640
10670
  }>;
10641
10671
  200: import("zod").ZodObject<{
10642
10672
  requestId: import("zod").ZodString;
10673
+ } & {
10643
10674
  data: import("zod").ZodString;
10644
10675
  }, "strip", import("zod").ZodTypeAny, {
10645
10676
  data: string;
@@ -10649,28 +10680,27 @@ export declare const mailContract: {
10649
10680
  requestId: string;
10650
10681
  }>;
10651
10682
  };
10652
- path: "ems/mail/room/add_email_to_contact";
10653
10683
  };
10654
10684
  update: {
10655
10685
  body: import("zod").ZodObject<{
10656
- disposition: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"resolved">, import("zod").ZodLiteral<"follow up">, import("zod").ZodLiteral<"escalated">, import("zod").ZodLiteral<"dropped">, import("zod").ZodLiteral<"prank">, import("zod").ZodLiteral<"blank">]>>>;
10686
+ disposition: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
10657
10687
  assigneeId: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>;
10658
10688
  note: import("zod").ZodOptional<import("zod").ZodString>;
10659
10689
  tags: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
10660
10690
  handover: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodBoolean, import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodLiteral<"true">, import("zod").ZodLiteral<"false">]>, boolean, "false" | "true">]>>>;
10661
10691
  selfAssign: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodBoolean, import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodLiteral<"true">, import("zod").ZodLiteral<"false">]>, boolean, "false" | "true">]>>>;
10662
10692
  }, "strip", import("zod").ZodTypeAny, {
10663
- disposition?: "resolved" | "follow up" | "escalated" | "dropped" | "prank" | "blank" | null | undefined;
10664
- assigneeId?: string | null | undefined;
10665
- note?: string | undefined;
10693
+ disposition?: string | null | undefined;
10666
10694
  tags?: string[] | undefined;
10695
+ note?: string | undefined;
10696
+ assigneeId?: string | null | undefined;
10667
10697
  handover?: boolean | null | undefined;
10668
10698
  selfAssign?: boolean | null | undefined;
10669
10699
  }, {
10670
- disposition?: "resolved" | "follow up" | "escalated" | "dropped" | "prank" | "blank" | null | undefined;
10671
- assigneeId?: string | null | undefined;
10672
- note?: string | undefined;
10700
+ disposition?: string | null | undefined;
10673
10701
  tags?: string[] | undefined;
10702
+ note?: string | undefined;
10703
+ assigneeId?: string | null | undefined;
10674
10704
  handover?: boolean | "false" | "true" | null | undefined;
10675
10705
  selfAssign?: boolean | "false" | "true" | null | undefined;
10676
10706
  }>;
@@ -10683,6 +10713,7 @@ export declare const mailContract: {
10683
10713
  }, {
10684
10714
  id: string;
10685
10715
  }>;
10716
+ path: "ems/mail/room/:id";
10686
10717
  responses: {
10687
10718
  401: import("zod").ZodObject<{
10688
10719
  message: import("zod").ZodString;
@@ -10716,6 +10747,7 @@ export declare const mailContract: {
10716
10747
  }>;
10717
10748
  200: import("zod").ZodObject<{
10718
10749
  requestId: import("zod").ZodString;
10750
+ } & {
10719
10751
  data: import("zod").ZodObject<{
10720
10752
  id: import("zod").ZodString;
10721
10753
  createdAt: import("zod").ZodDate;
@@ -15759,6 +15791,7 @@ export declare const mailContract: {
15759
15791
  id: import("zod").ZodString;
15760
15792
  name: import("zod").ZodString;
15761
15793
  address: import("zod").ZodString;
15794
+ signature: import("zod").ZodNullable<import("zod").ZodString>;
15762
15795
  accountId: import("zod").ZodString;
15763
15796
  mailServerId: import("zod").ZodString;
15764
15797
  mailServer: import("zod").ZodObject<{
@@ -15816,6 +15849,7 @@ export declare const mailContract: {
15816
15849
  createdAt: Date;
15817
15850
  updatedAt: Date;
15818
15851
  deletedAt: Date | null;
15852
+ signature: string | null;
15819
15853
  accountId: string;
15820
15854
  mailServerId: string;
15821
15855
  mailServer: {
@@ -15841,6 +15875,7 @@ export declare const mailContract: {
15841
15875
  createdAt: Date;
15842
15876
  updatedAt: Date;
15843
15877
  deletedAt: Date | null;
15878
+ signature: string | null;
15844
15879
  accountId: string;
15845
15880
  mailServerId: string;
15846
15881
  mailServer: {
@@ -15865,6 +15900,7 @@ export declare const mailContract: {
15865
15900
  createdAt: import("zod").ZodDate;
15866
15901
  updatedAt: import("zod").ZodDate;
15867
15902
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
15903
+ } & {
15868
15904
  caseId: import("zod").ZodNumber;
15869
15905
  entityId: import("zod").ZodString;
15870
15906
  entityName: import("zod").ZodString;
@@ -15885,6 +15921,7 @@ export declare const mailContract: {
15885
15921
  createdAt: import("zod").ZodDate;
15886
15922
  updatedAt: import("zod").ZodDate;
15887
15923
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
15924
+ } & {
15888
15925
  note: import("zod").ZodNullable<import("zod").ZodString>;
15889
15926
  disposition: import("zod").ZodNullable<import("zod").ZodString>;
15890
15927
  type: import("zod").ZodString;
@@ -15893,6 +15930,7 @@ export declare const mailContract: {
15893
15930
  createdAt: import("zod").ZodDate;
15894
15931
  updatedAt: import("zod").ZodDate;
15895
15932
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
15933
+ } & {
15896
15934
  name: import("zod").ZodString;
15897
15935
  }, "strip", import("zod").ZodTypeAny, {
15898
15936
  name: string;
@@ -15912,6 +15950,7 @@ export declare const mailContract: {
15912
15950
  createdAt: import("zod").ZodDate;
15913
15951
  updatedAt: import("zod").ZodDate;
15914
15952
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
15953
+ } & {
15915
15954
  value: import("zod").ZodString;
15916
15955
  level: import("zod").ZodUnion<[import("zod").ZodLiteral<1>, import("zod").ZodLiteral<2>, import("zod").ZodLiteral<3>]>;
15917
15956
  parentId: import("zod").ZodNullable<import("zod").ZodString>;
@@ -16151,6 +16190,7 @@ export declare const mailContract: {
16151
16190
  createdAt: import("zod").ZodDate;
16152
16191
  updatedAt: import("zod").ZodDate;
16153
16192
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
16193
+ } & {
16154
16194
  startedAt: import("zod").ZodString;
16155
16195
  endedAt: import("zod").ZodNullable<import("zod").ZodString>;
16156
16196
  duration: import("zod").ZodNullable<import("zod").ZodNumber>;
@@ -16159,6 +16199,7 @@ export declare const mailContract: {
16159
16199
  createdAt: import("zod").ZodDate;
16160
16200
  updatedAt: import("zod").ZodDate;
16161
16201
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
16202
+ } & {
16162
16203
  name: import("zod").ZodString;
16163
16204
  position: import("zod").ZodNumber;
16164
16205
  isDefault: import("zod").ZodDefault<import("zod").ZodBoolean>;
@@ -16181,12 +16222,12 @@ export declare const mailContract: {
16181
16222
  }>>>;
16182
16223
  }, "strip", import("zod").ZodTypeAny, {
16183
16224
  id: string;
16225
+ duration: number | null;
16184
16226
  createdAt: Date;
16185
16227
  updatedAt: Date;
16186
16228
  deletedAt: Date | null;
16187
16229
  startedAt: string;
16188
16230
  endedAt: string | null;
16189
- duration: number | null;
16190
16231
  holdLabel?: {
16191
16232
  name: string;
16192
16233
  id: string;
@@ -16198,12 +16239,12 @@ export declare const mailContract: {
16198
16239
  } | null | undefined;
16199
16240
  }, {
16200
16241
  id: string;
16242
+ duration: number | null;
16201
16243
  createdAt: Date;
16202
16244
  updatedAt: Date;
16203
16245
  deletedAt: Date | null;
16204
16246
  startedAt: string;
16205
16247
  endedAt: string | null;
16206
- duration: number | null;
16207
16248
  holdLabel?: {
16208
16249
  name: string;
16209
16250
  id: string;
@@ -16288,12 +16329,12 @@ export declare const mailContract: {
16288
16329
  } | null;
16289
16330
  holdLogs?: {
16290
16331
  id: string;
16332
+ duration: number | null;
16291
16333
  createdAt: Date;
16292
16334
  updatedAt: Date;
16293
16335
  deletedAt: Date | null;
16294
16336
  startedAt: string;
16295
16337
  endedAt: string | null;
16296
- duration: number | null;
16297
16338
  holdLabel?: {
16298
16339
  name: string;
16299
16340
  id: string;
@@ -16378,12 +16419,12 @@ export declare const mailContract: {
16378
16419
  } | null;
16379
16420
  holdLogs?: {
16380
16421
  id: string;
16422
+ duration: number | null;
16381
16423
  createdAt: Date;
16382
16424
  updatedAt: Date;
16383
16425
  deletedAt: Date | null;
16384
16426
  startedAt: string;
16385
16427
  endedAt: string | null;
16386
- duration: number | null;
16387
16428
  holdLabel?: {
16388
16429
  name: string;
16389
16430
  id: string;
@@ -16665,12 +16706,12 @@ export declare const mailContract: {
16665
16706
  } | null;
16666
16707
  holdLogs?: {
16667
16708
  id: string;
16709
+ duration: number | null;
16668
16710
  createdAt: Date;
16669
16711
  updatedAt: Date;
16670
16712
  deletedAt: Date | null;
16671
16713
  startedAt: string;
16672
16714
  endedAt: string | null;
16673
- duration: number | null;
16674
16715
  holdLabel?: {
16675
16716
  name: string;
16676
16717
  id: string;
@@ -17345,6 +17386,7 @@ export declare const mailContract: {
17345
17386
  createdAt: Date;
17346
17387
  updatedAt: Date;
17347
17388
  deletedAt: Date | null;
17389
+ signature: string | null;
17348
17390
  accountId: string;
17349
17391
  mailServerId: string;
17350
17392
  mailServer: {
@@ -17634,12 +17676,12 @@ export declare const mailContract: {
17634
17676
  } | null;
17635
17677
  holdLogs?: {
17636
17678
  id: string;
17679
+ duration: number | null;
17637
17680
  createdAt: Date;
17638
17681
  updatedAt: Date;
17639
17682
  deletedAt: Date | null;
17640
17683
  startedAt: string;
17641
17684
  endedAt: string | null;
17642
- duration: number | null;
17643
17685
  holdLabel?: {
17644
17686
  name: string;
17645
17687
  id: string;
@@ -18314,6 +18356,7 @@ export declare const mailContract: {
18314
18356
  createdAt: Date;
18315
18357
  updatedAt: Date;
18316
18358
  deletedAt: Date | null;
18359
+ signature: string | null;
18317
18360
  accountId: string;
18318
18361
  mailServerId: string;
18319
18362
  mailServer: {
@@ -18605,12 +18648,12 @@ export declare const mailContract: {
18605
18648
  } | null;
18606
18649
  holdLogs?: {
18607
18650
  id: string;
18651
+ duration: number | null;
18608
18652
  createdAt: Date;
18609
18653
  updatedAt: Date;
18610
18654
  deletedAt: Date | null;
18611
18655
  startedAt: string;
18612
18656
  endedAt: string | null;
18613
- duration: number | null;
18614
18657
  holdLabel?: {
18615
18658
  name: string;
18616
18659
  id: string;
@@ -19285,6 +19328,7 @@ export declare const mailContract: {
19285
19328
  createdAt: Date;
19286
19329
  updatedAt: Date;
19287
19330
  deletedAt: Date | null;
19331
+ signature: string | null;
19288
19332
  accountId: string;
19289
19333
  mailServerId: string;
19290
19334
  mailServer: {
@@ -19577,12 +19621,12 @@ export declare const mailContract: {
19577
19621
  } | null;
19578
19622
  holdLogs?: {
19579
19623
  id: string;
19624
+ duration: number | null;
19580
19625
  createdAt: Date;
19581
19626
  updatedAt: Date;
19582
19627
  deletedAt: Date | null;
19583
19628
  startedAt: string;
19584
19629
  endedAt: string | null;
19585
- duration: number | null;
19586
19630
  holdLabel?: {
19587
19631
  name: string;
19588
19632
  id: string;
@@ -20257,6 +20301,7 @@ export declare const mailContract: {
20257
20301
  createdAt: Date;
20258
20302
  updatedAt: Date;
20259
20303
  deletedAt: Date | null;
20304
+ signature: string | null;
20260
20305
  accountId: string;
20261
20306
  mailServerId: string;
20262
20307
  mailServer: {
@@ -20280,7 +20325,6 @@ export declare const mailContract: {
20280
20325
  requestId: string;
20281
20326
  }>;
20282
20327
  };
20283
- path: "ems/mail/room/:id";
20284
20328
  };
20285
20329
  markAsRead: {
20286
20330
  body: import("zod").ZodObject<{
@@ -20292,6 +20336,7 @@ export declare const mailContract: {
20292
20336
  }>;
20293
20337
  summary: "Mark all the unread messages of a room as read";
20294
20338
  method: "POST";
20339
+ path: "ems/mail/room/mark_as_read";
20295
20340
  responses: {
20296
20341
  401: import("zod").ZodObject<{
20297
20342
  message: import("zod").ZodString;
@@ -20325,6 +20370,7 @@ export declare const mailContract: {
20325
20370
  }>;
20326
20371
  200: import("zod").ZodObject<{
20327
20372
  requestId: import("zod").ZodString;
20373
+ } & {
20328
20374
  message: import("zod").ZodString;
20329
20375
  }, "strip", import("zod").ZodTypeAny, {
20330
20376
  message: string;
@@ -20334,7 +20380,6 @@ export declare const mailContract: {
20334
20380
  requestId: string;
20335
20381
  }>;
20336
20382
  };
20337
- path: "ems/mail/room/mark_as_read";
20338
20383
  };
20339
20384
  getById: {
20340
20385
  summary: "Get a mail room by id";
@@ -20346,6 +20391,7 @@ export declare const mailContract: {
20346
20391
  }, {
20347
20392
  id: string;
20348
20393
  }>;
20394
+ path: "ems/mail/room/:id";
20349
20395
  responses: {
20350
20396
  401: import("zod").ZodObject<{
20351
20397
  message: import("zod").ZodString;
@@ -20379,6 +20425,7 @@ export declare const mailContract: {
20379
20425
  }>;
20380
20426
  200: import("zod").ZodObject<{
20381
20427
  requestId: import("zod").ZodString;
20428
+ } & {
20382
20429
  data: import("zod").ZodObject<{
20383
20430
  id: import("zod").ZodString;
20384
20431
  createdAt: import("zod").ZodDate;
@@ -25422,6 +25469,7 @@ export declare const mailContract: {
25422
25469
  id: import("zod").ZodString;
25423
25470
  name: import("zod").ZodString;
25424
25471
  address: import("zod").ZodString;
25472
+ signature: import("zod").ZodNullable<import("zod").ZodString>;
25425
25473
  accountId: import("zod").ZodString;
25426
25474
  mailServerId: import("zod").ZodString;
25427
25475
  mailServer: import("zod").ZodObject<{
@@ -25479,6 +25527,7 @@ export declare const mailContract: {
25479
25527
  createdAt: Date;
25480
25528
  updatedAt: Date;
25481
25529
  deletedAt: Date | null;
25530
+ signature: string | null;
25482
25531
  accountId: string;
25483
25532
  mailServerId: string;
25484
25533
  mailServer: {
@@ -25504,6 +25553,7 @@ export declare const mailContract: {
25504
25553
  createdAt: Date;
25505
25554
  updatedAt: Date;
25506
25555
  deletedAt: Date | null;
25556
+ signature: string | null;
25507
25557
  accountId: string;
25508
25558
  mailServerId: string;
25509
25559
  mailServer: {
@@ -25528,6 +25578,7 @@ export declare const mailContract: {
25528
25578
  createdAt: import("zod").ZodDate;
25529
25579
  updatedAt: import("zod").ZodDate;
25530
25580
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
25581
+ } & {
25531
25582
  caseId: import("zod").ZodNumber;
25532
25583
  entityId: import("zod").ZodString;
25533
25584
  entityName: import("zod").ZodString;
@@ -25548,6 +25599,7 @@ export declare const mailContract: {
25548
25599
  createdAt: import("zod").ZodDate;
25549
25600
  updatedAt: import("zod").ZodDate;
25550
25601
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
25602
+ } & {
25551
25603
  note: import("zod").ZodNullable<import("zod").ZodString>;
25552
25604
  disposition: import("zod").ZodNullable<import("zod").ZodString>;
25553
25605
  type: import("zod").ZodString;
@@ -25556,6 +25608,7 @@ export declare const mailContract: {
25556
25608
  createdAt: import("zod").ZodDate;
25557
25609
  updatedAt: import("zod").ZodDate;
25558
25610
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
25611
+ } & {
25559
25612
  name: import("zod").ZodString;
25560
25613
  }, "strip", import("zod").ZodTypeAny, {
25561
25614
  name: string;
@@ -25575,6 +25628,7 @@ export declare const mailContract: {
25575
25628
  createdAt: import("zod").ZodDate;
25576
25629
  updatedAt: import("zod").ZodDate;
25577
25630
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
25631
+ } & {
25578
25632
  value: import("zod").ZodString;
25579
25633
  level: import("zod").ZodUnion<[import("zod").ZodLiteral<1>, import("zod").ZodLiteral<2>, import("zod").ZodLiteral<3>]>;
25580
25634
  parentId: import("zod").ZodNullable<import("zod").ZodString>;
@@ -25814,6 +25868,7 @@ export declare const mailContract: {
25814
25868
  createdAt: import("zod").ZodDate;
25815
25869
  updatedAt: import("zod").ZodDate;
25816
25870
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
25871
+ } & {
25817
25872
  startedAt: import("zod").ZodString;
25818
25873
  endedAt: import("zod").ZodNullable<import("zod").ZodString>;
25819
25874
  duration: import("zod").ZodNullable<import("zod").ZodNumber>;
@@ -25822,6 +25877,7 @@ export declare const mailContract: {
25822
25877
  createdAt: import("zod").ZodDate;
25823
25878
  updatedAt: import("zod").ZodDate;
25824
25879
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
25880
+ } & {
25825
25881
  name: import("zod").ZodString;
25826
25882
  position: import("zod").ZodNumber;
25827
25883
  isDefault: import("zod").ZodDefault<import("zod").ZodBoolean>;
@@ -25844,12 +25900,12 @@ export declare const mailContract: {
25844
25900
  }>>>;
25845
25901
  }, "strip", import("zod").ZodTypeAny, {
25846
25902
  id: string;
25903
+ duration: number | null;
25847
25904
  createdAt: Date;
25848
25905
  updatedAt: Date;
25849
25906
  deletedAt: Date | null;
25850
25907
  startedAt: string;
25851
25908
  endedAt: string | null;
25852
- duration: number | null;
25853
25909
  holdLabel?: {
25854
25910
  name: string;
25855
25911
  id: string;
@@ -25861,12 +25917,12 @@ export declare const mailContract: {
25861
25917
  } | null | undefined;
25862
25918
  }, {
25863
25919
  id: string;
25920
+ duration: number | null;
25864
25921
  createdAt: Date;
25865
25922
  updatedAt: Date;
25866
25923
  deletedAt: Date | null;
25867
25924
  startedAt: string;
25868
25925
  endedAt: string | null;
25869
- duration: number | null;
25870
25926
  holdLabel?: {
25871
25927
  name: string;
25872
25928
  id: string;
@@ -25951,12 +26007,12 @@ export declare const mailContract: {
25951
26007
  } | null;
25952
26008
  holdLogs?: {
25953
26009
  id: string;
26010
+ duration: number | null;
25954
26011
  createdAt: Date;
25955
26012
  updatedAt: Date;
25956
26013
  deletedAt: Date | null;
25957
26014
  startedAt: string;
25958
26015
  endedAt: string | null;
25959
- duration: number | null;
25960
26016
  holdLabel?: {
25961
26017
  name: string;
25962
26018
  id: string;
@@ -26041,12 +26097,12 @@ export declare const mailContract: {
26041
26097
  } | null;
26042
26098
  holdLogs?: {
26043
26099
  id: string;
26100
+ duration: number | null;
26044
26101
  createdAt: Date;
26045
26102
  updatedAt: Date;
26046
26103
  deletedAt: Date | null;
26047
26104
  startedAt: string;
26048
26105
  endedAt: string | null;
26049
- duration: number | null;
26050
26106
  holdLabel?: {
26051
26107
  name: string;
26052
26108
  id: string;
@@ -26328,12 +26384,12 @@ export declare const mailContract: {
26328
26384
  } | null;
26329
26385
  holdLogs?: {
26330
26386
  id: string;
26387
+ duration: number | null;
26331
26388
  createdAt: Date;
26332
26389
  updatedAt: Date;
26333
26390
  deletedAt: Date | null;
26334
26391
  startedAt: string;
26335
26392
  endedAt: string | null;
26336
- duration: number | null;
26337
26393
  holdLabel?: {
26338
26394
  name: string;
26339
26395
  id: string;
@@ -27008,6 +27064,7 @@ export declare const mailContract: {
27008
27064
  createdAt: Date;
27009
27065
  updatedAt: Date;
27010
27066
  deletedAt: Date | null;
27067
+ signature: string | null;
27011
27068
  accountId: string;
27012
27069
  mailServerId: string;
27013
27070
  mailServer: {
@@ -27297,12 +27354,12 @@ export declare const mailContract: {
27297
27354
  } | null;
27298
27355
  holdLogs?: {
27299
27356
  id: string;
27357
+ duration: number | null;
27300
27358
  createdAt: Date;
27301
27359
  updatedAt: Date;
27302
27360
  deletedAt: Date | null;
27303
27361
  startedAt: string;
27304
27362
  endedAt: string | null;
27305
- duration: number | null;
27306
27363
  holdLabel?: {
27307
27364
  name: string;
27308
27365
  id: string;
@@ -27977,6 +28034,7 @@ export declare const mailContract: {
27977
28034
  createdAt: Date;
27978
28035
  updatedAt: Date;
27979
28036
  deletedAt: Date | null;
28037
+ signature: string | null;
27980
28038
  accountId: string;
27981
28039
  mailServerId: string;
27982
28040
  mailServer: {
@@ -28268,12 +28326,12 @@ export declare const mailContract: {
28268
28326
  } | null;
28269
28327
  holdLogs?: {
28270
28328
  id: string;
28329
+ duration: number | null;
28271
28330
  createdAt: Date;
28272
28331
  updatedAt: Date;
28273
28332
  deletedAt: Date | null;
28274
28333
  startedAt: string;
28275
28334
  endedAt: string | null;
28276
- duration: number | null;
28277
28335
  holdLabel?: {
28278
28336
  name: string;
28279
28337
  id: string;
@@ -28948,6 +29006,7 @@ export declare const mailContract: {
28948
29006
  createdAt: Date;
28949
29007
  updatedAt: Date;
28950
29008
  deletedAt: Date | null;
29009
+ signature: string | null;
28951
29010
  accountId: string;
28952
29011
  mailServerId: string;
28953
29012
  mailServer: {
@@ -29240,12 +29299,12 @@ export declare const mailContract: {
29240
29299
  } | null;
29241
29300
  holdLogs?: {
29242
29301
  id: string;
29302
+ duration: number | null;
29243
29303
  createdAt: Date;
29244
29304
  updatedAt: Date;
29245
29305
  deletedAt: Date | null;
29246
29306
  startedAt: string;
29247
29307
  endedAt: string | null;
29248
- duration: number | null;
29249
29308
  holdLabel?: {
29250
29309
  name: string;
29251
29310
  id: string;
@@ -29920,6 +29979,7 @@ export declare const mailContract: {
29920
29979
  createdAt: Date;
29921
29980
  updatedAt: Date;
29922
29981
  deletedAt: Date | null;
29982
+ signature: string | null;
29923
29983
  accountId: string;
29924
29984
  mailServerId: string;
29925
29985
  mailServer: {
@@ -29943,7 +30003,6 @@ export declare const mailContract: {
29943
30003
  requestId: string;
29944
30004
  }>;
29945
30005
  };
29946
- path: "ems/mail/room/:id";
29947
30006
  };
29948
30007
  };
29949
30008
  message: {
@@ -30037,6 +30096,14 @@ export declare const mailContract: {
30037
30096
  address: string;
30038
30097
  name?: string | undefined;
30039
30098
  };
30099
+ attachments?: {
30100
+ fileName: string;
30101
+ fileType: string;
30102
+ fileKey: string;
30103
+ bucketName: string;
30104
+ fileSize: number;
30105
+ presignedUrl: string;
30106
+ }[] | undefined;
30040
30107
  cc?: {
30041
30108
  address: string;
30042
30109
  name?: string | undefined;
@@ -30050,14 +30117,6 @@ export declare const mailContract: {
30050
30117
  action: "forward" | "reply";
30051
30118
  messageId: string;
30052
30119
  } | undefined;
30053
- attachments?: {
30054
- fileName: string;
30055
- fileType: string;
30056
- fileKey: string;
30057
- bucketName: string;
30058
- fileSize: number;
30059
- presignedUrl: string;
30060
- }[] | undefined;
30061
30120
  }, {
30062
30121
  html: string;
30063
30122
  text: string;
@@ -30070,6 +30129,14 @@ export declare const mailContract: {
30070
30129
  address: string;
30071
30130
  name?: string | undefined;
30072
30131
  };
30132
+ attachments?: {
30133
+ fileName: string;
30134
+ fileType: string;
30135
+ fileKey: string;
30136
+ bucketName: string;
30137
+ fileSize: number;
30138
+ presignedUrl: string;
30139
+ }[] | undefined;
30073
30140
  cc?: {
30074
30141
  address: string;
30075
30142
  name?: string | undefined;
@@ -30083,17 +30150,10 @@ export declare const mailContract: {
30083
30150
  action: "forward" | "reply";
30084
30151
  messageId: string;
30085
30152
  } | undefined;
30086
- attachments?: {
30087
- fileName: string;
30088
- fileType: string;
30089
- fileKey: string;
30090
- bucketName: string;
30091
- fileSize: number;
30092
- presignedUrl: string;
30093
- }[] | undefined;
30094
30153
  }>;
30095
30154
  summary: "Submit a message such as compose, reply or forward";
30096
30155
  method: "POST";
30156
+ path: "ems/mail/message/submit";
30097
30157
  responses: {
30098
30158
  500: import("zod").ZodObject<{
30099
30159
  message: import("zod").ZodString;
@@ -30137,6 +30197,7 @@ export declare const mailContract: {
30137
30197
  }>;
30138
30198
  200: import("zod").ZodObject<{
30139
30199
  requestId: import("zod").ZodString;
30200
+ } & {
30140
30201
  data: import("zod").ZodObject<{
30141
30202
  response: import("zod").ZodString;
30142
30203
  messageId: import("zod").ZodString;
@@ -30171,11 +30232,11 @@ export declare const mailContract: {
30171
30232
  requestId: string;
30172
30233
  }>;
30173
30234
  };
30174
- path: "ems/mail/message/submit";
30175
30235
  };
30176
30236
  getTotalUnreadMessageCount: {
30177
30237
  summary: "Get total unread messages counts";
30178
30238
  method: "GET";
30239
+ path: "ems/mail/message/new_message_count";
30179
30240
  responses: {
30180
30241
  401: import("zod").ZodObject<{
30181
30242
  message: import("zod").ZodString;
@@ -30209,6 +30270,7 @@ export declare const mailContract: {
30209
30270
  }>;
30210
30271
  200: import("zod").ZodObject<{
30211
30272
  requestId: import("zod").ZodString;
30273
+ } & {
30212
30274
  data: import("zod").ZodObject<{
30213
30275
  count: import("zod").ZodNumber;
30214
30276
  }, "strip", import("zod").ZodTypeAny, {
@@ -30228,7 +30290,6 @@ export declare const mailContract: {
30228
30290
  requestId: string;
30229
30291
  }>;
30230
30292
  };
30231
- path: "ems/mail/message/new_message_count";
30232
30293
  };
30233
30294
  getById: {
30234
30295
  summary: "Get a message";
@@ -30240,6 +30301,7 @@ export declare const mailContract: {
30240
30301
  }, {
30241
30302
  id: string;
30242
30303
  }>;
30304
+ path: "ems/mail/message/:id";
30243
30305
  responses: {
30244
30306
  401: import("zod").ZodObject<{
30245
30307
  message: import("zod").ZodString;
@@ -30273,6 +30335,7 @@ export declare const mailContract: {
30273
30335
  }>;
30274
30336
  200: import("zod").ZodObject<{
30275
30337
  requestId: import("zod").ZodString;
30338
+ } & {
30276
30339
  data: import("zod").ZodObject<{
30277
30340
  id: import("zod").ZodString;
30278
30341
  createdAt: import("zod").ZodDate;
@@ -31686,7 +31749,6 @@ export declare const mailContract: {
31686
31749
  requestId: string;
31687
31750
  }>;
31688
31751
  };
31689
- path: "ems/mail/message/:id";
31690
31752
  };
31691
31753
  update: {
31692
31754
  body: import("zod").ZodObject<{
@@ -32423,24 +32485,37 @@ export declare const mailContract: {
32423
32485
  }>, "many">>;
32424
32486
  }, "strip", import("zod").ZodTypeAny, {
32425
32487
  id?: string | undefined;
32488
+ direction?: string | undefined;
32489
+ action?: string | undefined;
32490
+ date?: Date | undefined;
32426
32491
  createdAt?: Date | undefined;
32427
32492
  updatedAt?: Date | undefined;
32428
32493
  deletedAt?: Date | null | undefined;
32429
32494
  roomId?: string | undefined;
32430
- subject?: string | undefined;
32431
- textPlain?: string | undefined;
32432
- textHtml?: string | undefined;
32433
- textId?: string | undefined;
32434
- emailEngineEmailId?: string | undefined;
32435
- emailEngineMessageId?: string | undefined;
32436
- emailEngineReplyTo?: string | null | undefined;
32437
- direction?: string | undefined;
32438
- date?: Date | undefined;
32439
- action?: string | undefined;
32440
- unseen?: boolean | undefined;
32441
- sendAt?: Date | undefined;
32442
- starred?: boolean | undefined;
32443
- seemsLikeNew?: boolean | undefined;
32495
+ attachments?: {
32496
+ id: string;
32497
+ createdAt: Date;
32498
+ updatedAt: Date;
32499
+ deletedAt: Date | null;
32500
+ fileName: string;
32501
+ fileType: string;
32502
+ uploadId: string;
32503
+ upload: {
32504
+ id: string;
32505
+ createdAt: Date;
32506
+ updatedAt: Date;
32507
+ deletedAt: Date | null;
32508
+ extensionName: string;
32509
+ fileName: string;
32510
+ fileKey: string;
32511
+ bucketName: string;
32512
+ fileSize: number;
32513
+ fileUrl: string;
32514
+ };
32515
+ roomId: string;
32516
+ messageId: string;
32517
+ emailEngineAttachmentId: string;
32518
+ }[] | undefined;
32444
32519
  from?: {
32445
32520
  id: string;
32446
32521
  createdAt: Date;
@@ -32472,6 +32547,7 @@ export declare const mailContract: {
32472
32547
  isNewContact: boolean;
32473
32548
  };
32474
32549
  }[] | undefined;
32550
+ subject?: string | undefined;
32475
32551
  to?: {
32476
32552
  id: string;
32477
32553
  createdAt: Date;
@@ -32565,6 +32641,25 @@ export declare const mailContract: {
32565
32641
  isNewContact: boolean;
32566
32642
  };
32567
32643
  }[] | undefined;
32644
+ sendAt?: Date | undefined;
32645
+ textPlain?: string | undefined;
32646
+ textHtml?: string | undefined;
32647
+ textId?: string | undefined;
32648
+ emailEngineEmailId?: string | undefined;
32649
+ emailEngineMessageId?: string | undefined;
32650
+ emailEngineReplyTo?: string | null | undefined;
32651
+ unseen?: boolean | undefined;
32652
+ starred?: boolean | undefined;
32653
+ seemsLikeNew?: boolean | undefined;
32654
+ }, {
32655
+ id?: string | undefined;
32656
+ direction?: string | undefined;
32657
+ action?: string | undefined;
32658
+ date?: Date | undefined;
32659
+ createdAt?: Date | undefined;
32660
+ updatedAt?: Date | undefined;
32661
+ deletedAt?: Date | null | undefined;
32662
+ roomId?: string | undefined;
32568
32663
  attachments?: {
32569
32664
  id: string;
32570
32665
  createdAt: Date;
@@ -32589,26 +32684,6 @@ export declare const mailContract: {
32589
32684
  messageId: string;
32590
32685
  emailEngineAttachmentId: string;
32591
32686
  }[] | undefined;
32592
- }, {
32593
- id?: string | undefined;
32594
- createdAt?: Date | undefined;
32595
- updatedAt?: Date | undefined;
32596
- deletedAt?: Date | null | undefined;
32597
- roomId?: string | undefined;
32598
- subject?: string | undefined;
32599
- textPlain?: string | undefined;
32600
- textHtml?: string | undefined;
32601
- textId?: string | undefined;
32602
- emailEngineEmailId?: string | undefined;
32603
- emailEngineMessageId?: string | undefined;
32604
- emailEngineReplyTo?: string | null | undefined;
32605
- direction?: string | undefined;
32606
- date?: Date | undefined;
32607
- action?: string | undefined;
32608
- unseen?: boolean | undefined;
32609
- sendAt?: Date | undefined;
32610
- starred?: boolean | undefined;
32611
- seemsLikeNew?: boolean | undefined;
32612
32687
  from?: {
32613
32688
  id: string;
32614
32689
  createdAt: Date;
@@ -32640,6 +32715,7 @@ export declare const mailContract: {
32640
32715
  isNewContact: boolean;
32641
32716
  };
32642
32717
  }[] | undefined;
32718
+ subject?: string | undefined;
32643
32719
  to?: {
32644
32720
  id: string;
32645
32721
  createdAt: Date;
@@ -32733,30 +32809,16 @@ export declare const mailContract: {
32733
32809
  isNewContact: boolean;
32734
32810
  };
32735
32811
  }[] | undefined;
32736
- attachments?: {
32737
- id: string;
32738
- createdAt: Date;
32739
- updatedAt: Date;
32740
- deletedAt: Date | null;
32741
- fileName: string;
32742
- fileType: string;
32743
- uploadId: string;
32744
- upload: {
32745
- id: string;
32746
- createdAt: Date;
32747
- updatedAt: Date;
32748
- deletedAt: Date | null;
32749
- extensionName: string;
32750
- fileName: string;
32751
- fileKey: string;
32752
- bucketName: string;
32753
- fileSize: number;
32754
- fileUrl: string;
32755
- };
32756
- roomId: string;
32757
- messageId: string;
32758
- emailEngineAttachmentId: string;
32759
- }[] | undefined;
32812
+ sendAt?: Date | undefined;
32813
+ textPlain?: string | undefined;
32814
+ textHtml?: string | undefined;
32815
+ textId?: string | undefined;
32816
+ emailEngineEmailId?: string | undefined;
32817
+ emailEngineMessageId?: string | undefined;
32818
+ emailEngineReplyTo?: string | null | undefined;
32819
+ unseen?: boolean | undefined;
32820
+ starred?: boolean | undefined;
32821
+ seemsLikeNew?: boolean | undefined;
32760
32822
  }>;
32761
32823
  summary: "Update a message";
32762
32824
  method: "PATCH";
@@ -32767,6 +32829,7 @@ export declare const mailContract: {
32767
32829
  }, {
32768
32830
  id: string;
32769
32831
  }>;
32832
+ path: "ems/mail/message/:id";
32770
32833
  responses: {
32771
32834
  401: import("zod").ZodObject<{
32772
32835
  message: import("zod").ZodString;
@@ -32800,6 +32863,7 @@ export declare const mailContract: {
32800
32863
  }>;
32801
32864
  200: import("zod").ZodObject<{
32802
32865
  requestId: import("zod").ZodString;
32866
+ } & {
32803
32867
  data: import("zod").ZodObject<{
32804
32868
  id: import("zod").ZodString;
32805
32869
  createdAt: import("zod").ZodDate;
@@ -34213,7 +34277,6 @@ export declare const mailContract: {
34213
34277
  requestId: string;
34214
34278
  }>;
34215
34279
  };
34216
- path: "ems/mail/message/:id";
34217
34280
  };
34218
34281
  delete: {
34219
34282
  body: null;
@@ -34226,6 +34289,7 @@ export declare const mailContract: {
34226
34289
  }, {
34227
34290
  id: string;
34228
34291
  }>;
34292
+ path: "ems/mail/message/:id";
34229
34293
  responses: {
34230
34294
  401: import("zod").ZodObject<{
34231
34295
  message: import("zod").ZodString;
@@ -34259,6 +34323,7 @@ export declare const mailContract: {
34259
34323
  }>;
34260
34324
  200: import("zod").ZodObject<{
34261
34325
  requestId: import("zod").ZodString;
34326
+ } & {
34262
34327
  data: import("zod").ZodObject<{
34263
34328
  id: import("zod").ZodString;
34264
34329
  createdAt: import("zod").ZodDate;
@@ -35672,7 +35737,6 @@ export declare const mailContract: {
35672
35737
  requestId: string;
35673
35738
  }>;
35674
35739
  };
35675
- path: "ems/mail/message/:id";
35676
35740
  };
35677
35741
  cancelScheduledMessage: {
35678
35742
  body: null;
@@ -35685,6 +35749,7 @@ export declare const mailContract: {
35685
35749
  }, {
35686
35750
  id: string;
35687
35751
  }>;
35752
+ path: "ems/mail/message/scheduled_message/:id";
35688
35753
  responses: {
35689
35754
  401: import("zod").ZodObject<{
35690
35755
  message: import("zod").ZodString;
@@ -35718,6 +35783,7 @@ export declare const mailContract: {
35718
35783
  }>;
35719
35784
  200: import("zod").ZodObject<{
35720
35785
  requestId: import("zod").ZodString;
35786
+ } & {
35721
35787
  data: import("zod").ZodObject<{
35722
35788
  totalMessagesCount: import("zod").ZodNumber;
35723
35789
  }, "strip", import("zod").ZodTypeAny, {
@@ -35737,7 +35803,6 @@ export declare const mailContract: {
35737
35803
  requestId: string;
35738
35804
  }>;
35739
35805
  };
35740
- path: "ems/mail/message/scheduled_message/:id";
35741
35806
  };
35742
35807
  };
35743
35808
  account: {
@@ -35747,19 +35812,39 @@ export declare const mailContract: {
35747
35812
  name: import("zod").ZodString;
35748
35813
  password: import("zod").ZodString;
35749
35814
  mailServerId: import("zod").ZodString;
35815
+ signature: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
35750
35816
  }, "strip", import("zod").ZodTypeAny, {
35751
35817
  name: string;
35752
35818
  address: string;
35753
35819
  password: string;
35820
+ signature: string;
35754
35821
  mailServerId: string;
35755
35822
  }, {
35756
35823
  name: string;
35757
35824
  address: string;
35758
35825
  password: string;
35759
35826
  mailServerId: string;
35827
+ signature?: string | undefined;
35760
35828
  }>;
35761
35829
  summary: "Register a new mail account";
35762
35830
  method: "POST";
35831
+ path: "ems/mail/account";
35832
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
35833
+ 'x-tenant': import("zod").ZodString;
35834
+ 'x-service-token': import("zod").ZodString;
35835
+ 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
35836
+ 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
35837
+ }, "strip", import("zod").ZodTypeAny, {
35838
+ 'x-tenant': string;
35839
+ 'x-service-token': string;
35840
+ 'x-client-timezone': string;
35841
+ 'x-code'?: string | undefined;
35842
+ }, {
35843
+ 'x-tenant': string;
35844
+ 'x-service-token': string;
35845
+ 'x-code'?: string | undefined;
35846
+ 'x-client-timezone'?: string | undefined;
35847
+ }>>>;
35763
35848
  responses: {
35764
35849
  401: import("zod").ZodObject<{
35765
35850
  message: import("zod").ZodString;
@@ -35793,10 +35878,12 @@ export declare const mailContract: {
35793
35878
  }>;
35794
35879
  201: import("zod").ZodObject<{
35795
35880
  requestId: import("zod").ZodString;
35881
+ } & {
35796
35882
  data: import("zod").ZodObject<{
35797
35883
  id: import("zod").ZodString;
35798
35884
  name: import("zod").ZodString;
35799
35885
  address: import("zod").ZodString;
35886
+ signature: import("zod").ZodNullable<import("zod").ZodString>;
35800
35887
  accountId: import("zod").ZodString;
35801
35888
  mailServerId: import("zod").ZodString;
35802
35889
  mailServer: import("zod").ZodObject<{
@@ -35854,6 +35941,7 @@ export declare const mailContract: {
35854
35941
  createdAt: Date;
35855
35942
  updatedAt: Date;
35856
35943
  deletedAt: Date | null;
35944
+ signature: string | null;
35857
35945
  accountId: string;
35858
35946
  mailServerId: string;
35859
35947
  mailServer: {
@@ -35879,6 +35967,7 @@ export declare const mailContract: {
35879
35967
  createdAt: Date;
35880
35968
  updatedAt: Date;
35881
35969
  deletedAt: Date | null;
35970
+ signature: string | null;
35882
35971
  accountId: string;
35883
35972
  mailServerId: string;
35884
35973
  mailServer: {
@@ -35906,6 +35995,7 @@ export declare const mailContract: {
35906
35995
  createdAt: Date;
35907
35996
  updatedAt: Date;
35908
35997
  deletedAt: Date | null;
35998
+ signature: string | null;
35909
35999
  accountId: string;
35910
36000
  mailServerId: string;
35911
36001
  mailServer: {
@@ -35934,6 +36024,7 @@ export declare const mailContract: {
35934
36024
  createdAt: Date;
35935
36025
  updatedAt: Date;
35936
36026
  deletedAt: Date | null;
36027
+ signature: string | null;
35937
36028
  accountId: string;
35938
36029
  mailServerId: string;
35939
36030
  mailServer: {
@@ -35976,23 +36067,6 @@ export declare const mailContract: {
35976
36067
  message: string;
35977
36068
  }>;
35978
36069
  };
35979
- path: "ems/mail/account";
35980
- headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
35981
- 'x-tenant': import("zod").ZodString;
35982
- 'x-service-token': import("zod").ZodString;
35983
- 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
35984
- 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
35985
- }, "strip", import("zod").ZodTypeAny, {
35986
- 'x-tenant': string;
35987
- 'x-service-token': string;
35988
- 'x-client-timezone': string;
35989
- 'x-code'?: string | undefined;
35990
- }, {
35991
- 'x-tenant': string;
35992
- 'x-service-token': string;
35993
- 'x-code'?: string | undefined;
35994
- 'x-client-timezone'?: string | undefined;
35995
- }>>>;
35996
36070
  };
35997
36071
  createWithCustomSmtpAndImap: {
35998
36072
  body: import("zod").ZodObject<{
@@ -36056,6 +36130,23 @@ export declare const mailContract: {
36056
36130
  }>;
36057
36131
  summary: "Register a new mail account";
36058
36132
  method: "POST";
36133
+ path: "ems/mail/account/smtp-imap";
36134
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
36135
+ 'x-tenant': import("zod").ZodString;
36136
+ 'x-service-token': import("zod").ZodString;
36137
+ 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
36138
+ 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
36139
+ }, "strip", import("zod").ZodTypeAny, {
36140
+ 'x-tenant': string;
36141
+ 'x-service-token': string;
36142
+ 'x-client-timezone': string;
36143
+ 'x-code'?: string | undefined;
36144
+ }, {
36145
+ 'x-tenant': string;
36146
+ 'x-service-token': string;
36147
+ 'x-code'?: string | undefined;
36148
+ 'x-client-timezone'?: string | undefined;
36149
+ }>>>;
36059
36150
  responses: {
36060
36151
  401: import("zod").ZodObject<{
36061
36152
  message: import("zod").ZodString;
@@ -36116,7 +36207,21 @@ export declare const mailContract: {
36116
36207
  message: string;
36117
36208
  }>;
36118
36209
  };
36119
- path: "ems/mail/account/smtp-imap";
36210
+ };
36211
+ generateOAuth2AuthenticationLink: {
36212
+ body: import("zod").ZodObject<{
36213
+ oAuth2AppId: import("zod").ZodString;
36214
+ mailServerId: import("zod").ZodString;
36215
+ }, "strip", import("zod").ZodTypeAny, {
36216
+ mailServerId: string;
36217
+ oAuth2AppId: string;
36218
+ }, {
36219
+ mailServerId: string;
36220
+ oAuth2AppId: string;
36221
+ }>;
36222
+ summary: "Generate oauth2 authentication form link";
36223
+ method: "POST";
36224
+ path: "ems/mail/account/oauth2_authentication_form_link";
36120
36225
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
36121
36226
  'x-tenant': import("zod").ZodString;
36122
36227
  'x-service-token': import("zod").ZodString;
@@ -36133,20 +36238,6 @@ export declare const mailContract: {
36133
36238
  'x-code'?: string | undefined;
36134
36239
  'x-client-timezone'?: string | undefined;
36135
36240
  }>>>;
36136
- };
36137
- generateOAuth2AuthenticationLink: {
36138
- body: import("zod").ZodObject<{
36139
- oAuth2AppId: import("zod").ZodString;
36140
- mailServerId: import("zod").ZodString;
36141
- }, "strip", import("zod").ZodTypeAny, {
36142
- mailServerId: string;
36143
- oAuth2AppId: string;
36144
- }, {
36145
- mailServerId: string;
36146
- oAuth2AppId: string;
36147
- }>;
36148
- summary: "Generate oauth2 authentication form link";
36149
- method: "POST";
36150
36241
  responses: {
36151
36242
  401: import("zod").ZodObject<{
36152
36243
  message: import("zod").ZodString;
@@ -36180,6 +36271,7 @@ export declare const mailContract: {
36180
36271
  }>;
36181
36272
  201: import("zod").ZodObject<{
36182
36273
  requestId: import("zod").ZodString;
36274
+ } & {
36183
36275
  data: import("zod").ZodObject<{
36184
36276
  url: import("zod").ZodString;
36185
36277
  account: import("zod").ZodString;
@@ -36225,7 +36317,11 @@ export declare const mailContract: {
36225
36317
  message: string;
36226
36318
  }>;
36227
36319
  };
36228
- path: "ems/mail/account/oauth2_authentication_form_link";
36320
+ };
36321
+ sync: {
36322
+ summary: "Sync all accounts state from email engine to system";
36323
+ method: "GET";
36324
+ path: "ems/mail/account/sync";
36229
36325
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
36230
36326
  'x-tenant': import("zod").ZodString;
36231
36327
  'x-service-token': import("zod").ZodString;
@@ -36242,10 +36338,6 @@ export declare const mailContract: {
36242
36338
  'x-code'?: string | undefined;
36243
36339
  'x-client-timezone'?: string | undefined;
36244
36340
  }>>>;
36245
- };
36246
- sync: {
36247
- summary: "Sync all accounts state from email engine to system";
36248
- method: "GET";
36249
36341
  responses: {
36250
36342
  401: import("zod").ZodObject<{
36251
36343
  message: import("zod").ZodString;
@@ -36279,6 +36371,7 @@ export declare const mailContract: {
36279
36371
  }>;
36280
36372
  200: import("zod").ZodObject<{
36281
36373
  requestId: import("zod").ZodString;
36374
+ } & {
36282
36375
  message: import("zod").ZodString;
36283
36376
  }, "strip", import("zod").ZodTypeAny, {
36284
36377
  message: string;
@@ -36288,7 +36381,18 @@ export declare const mailContract: {
36288
36381
  requestId: string;
36289
36382
  }>;
36290
36383
  };
36291
- path: "ems/mail/account/sync";
36384
+ };
36385
+ getById: {
36386
+ summary: "Get an account by id";
36387
+ method: "GET";
36388
+ pathParams: import("zod").ZodObject<{
36389
+ id: import("zod").ZodString;
36390
+ }, "strip", import("zod").ZodTypeAny, {
36391
+ id: string;
36392
+ }, {
36393
+ id: string;
36394
+ }>;
36395
+ path: "ems/mail/account/:id";
36292
36396
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
36293
36397
  'x-tenant': import("zod").ZodString;
36294
36398
  'x-service-token': import("zod").ZodString;
@@ -36305,17 +36409,6 @@ export declare const mailContract: {
36305
36409
  'x-code'?: string | undefined;
36306
36410
  'x-client-timezone'?: string | undefined;
36307
36411
  }>>>;
36308
- };
36309
- getById: {
36310
- summary: "Get an account by id";
36311
- method: "GET";
36312
- pathParams: import("zod").ZodObject<{
36313
- id: import("zod").ZodString;
36314
- }, "strip", import("zod").ZodTypeAny, {
36315
- id: string;
36316
- }, {
36317
- id: string;
36318
- }>;
36319
36412
  responses: {
36320
36413
  401: import("zod").ZodObject<{
36321
36414
  message: import("zod").ZodString;
@@ -36349,10 +36442,12 @@ export declare const mailContract: {
36349
36442
  }>;
36350
36443
  200: import("zod").ZodObject<{
36351
36444
  requestId: import("zod").ZodString;
36445
+ } & {
36352
36446
  data: import("zod").ZodObject<{
36353
36447
  id: import("zod").ZodString;
36354
36448
  name: import("zod").ZodString;
36355
36449
  address: import("zod").ZodString;
36450
+ signature: import("zod").ZodNullable<import("zod").ZodString>;
36356
36451
  accountId: import("zod").ZodString;
36357
36452
  mailServerId: import("zod").ZodString;
36358
36453
  mailServer: import("zod").ZodObject<{
@@ -36410,6 +36505,7 @@ export declare const mailContract: {
36410
36505
  createdAt: Date;
36411
36506
  updatedAt: Date;
36412
36507
  deletedAt: Date | null;
36508
+ signature: string | null;
36413
36509
  accountId: string;
36414
36510
  mailServerId: string;
36415
36511
  mailServer: {
@@ -36435,6 +36531,7 @@ export declare const mailContract: {
36435
36531
  createdAt: Date;
36436
36532
  updatedAt: Date;
36437
36533
  deletedAt: Date | null;
36534
+ signature: string | null;
36438
36535
  accountId: string;
36439
36536
  mailServerId: string;
36440
36537
  mailServer: {
@@ -36462,6 +36559,7 @@ export declare const mailContract: {
36462
36559
  createdAt: Date;
36463
36560
  updatedAt: Date;
36464
36561
  deletedAt: Date | null;
36562
+ signature: string | null;
36465
36563
  accountId: string;
36466
36564
  mailServerId: string;
36467
36565
  mailServer: {
@@ -36490,6 +36588,7 @@ export declare const mailContract: {
36490
36588
  createdAt: Date;
36491
36589
  updatedAt: Date;
36492
36590
  deletedAt: Date | null;
36591
+ signature: string | null;
36493
36592
  accountId: string;
36494
36593
  mailServerId: string;
36495
36594
  mailServer: {
@@ -36511,7 +36610,21 @@ export declare const mailContract: {
36511
36610
  requestId: string;
36512
36611
  }>;
36513
36612
  };
36514
- path: "ems/mail/account/:id";
36613
+ };
36614
+ getAll: {
36615
+ summary: "Get all accounts";
36616
+ method: "GET";
36617
+ query: import("zod").ZodOptional<import("zod").ZodObject<{
36618
+ state: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"connected">, import("zod").ZodLiteral<"disconnected">]>>;
36619
+ withDeleted: import("zod").ZodDefault<import("zod").ZodBoolean>;
36620
+ }, "strip", import("zod").ZodTypeAny, {
36621
+ withDeleted: boolean;
36622
+ state?: "connected" | "disconnected" | undefined;
36623
+ }, {
36624
+ state?: "connected" | "disconnected" | undefined;
36625
+ withDeleted?: boolean | undefined;
36626
+ }>>;
36627
+ path: "ems/mail/account";
36515
36628
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
36516
36629
  'x-tenant': import("zod").ZodString;
36517
36630
  'x-service-token': import("zod").ZodString;
@@ -36528,20 +36641,6 @@ export declare const mailContract: {
36528
36641
  'x-code'?: string | undefined;
36529
36642
  'x-client-timezone'?: string | undefined;
36530
36643
  }>>>;
36531
- };
36532
- getAll: {
36533
- summary: "Get all accounts";
36534
- method: "GET";
36535
- query: import("zod").ZodOptional<import("zod").ZodObject<{
36536
- state: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"connected">, import("zod").ZodLiteral<"disconnected">]>>;
36537
- withDeleted: import("zod").ZodDefault<import("zod").ZodBoolean>;
36538
- }, "strip", import("zod").ZodTypeAny, {
36539
- withDeleted: boolean;
36540
- state?: "connected" | "disconnected" | undefined;
36541
- }, {
36542
- state?: "connected" | "disconnected" | undefined;
36543
- withDeleted?: boolean | undefined;
36544
- }>>;
36545
36644
  responses: {
36546
36645
  401: import("zod").ZodObject<{
36547
36646
  message: import("zod").ZodString;
@@ -36575,10 +36674,12 @@ export declare const mailContract: {
36575
36674
  }>;
36576
36675
  200: import("zod").ZodObject<{
36577
36676
  requestId: import("zod").ZodString;
36677
+ } & {
36578
36678
  data: import("zod").ZodArray<import("zod").ZodObject<{
36579
36679
  id: import("zod").ZodString;
36580
36680
  name: import("zod").ZodString;
36581
36681
  address: import("zod").ZodString;
36682
+ signature: import("zod").ZodNullable<import("zod").ZodString>;
36582
36683
  accountId: import("zod").ZodString;
36583
36684
  mailServerId: import("zod").ZodString;
36584
36685
  mailServer: import("zod").ZodObject<{
@@ -36636,6 +36737,7 @@ export declare const mailContract: {
36636
36737
  createdAt: Date;
36637
36738
  updatedAt: Date;
36638
36739
  deletedAt: Date | null;
36740
+ signature: string | null;
36639
36741
  accountId: string;
36640
36742
  mailServerId: string;
36641
36743
  mailServer: {
@@ -36661,6 +36763,7 @@ export declare const mailContract: {
36661
36763
  createdAt: Date;
36662
36764
  updatedAt: Date;
36663
36765
  deletedAt: Date | null;
36766
+ signature: string | null;
36664
36767
  accountId: string;
36665
36768
  mailServerId: string;
36666
36769
  mailServer: {
@@ -36688,6 +36791,7 @@ export declare const mailContract: {
36688
36791
  createdAt: Date;
36689
36792
  updatedAt: Date;
36690
36793
  deletedAt: Date | null;
36794
+ signature: string | null;
36691
36795
  accountId: string;
36692
36796
  mailServerId: string;
36693
36797
  mailServer: {
@@ -36716,6 +36820,7 @@ export declare const mailContract: {
36716
36820
  createdAt: Date;
36717
36821
  updatedAt: Date;
36718
36822
  deletedAt: Date | null;
36823
+ signature: string | null;
36719
36824
  accountId: string;
36720
36825
  mailServerId: string;
36721
36826
  mailServer: {
@@ -36737,29 +36842,13 @@ export declare const mailContract: {
36737
36842
  requestId: string;
36738
36843
  }>;
36739
36844
  };
36740
- path: "ems/mail/account";
36741
- headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
36742
- 'x-tenant': import("zod").ZodString;
36743
- 'x-service-token': import("zod").ZodString;
36744
- 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
36745
- 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
36746
- }, "strip", import("zod").ZodTypeAny, {
36747
- 'x-tenant': string;
36748
- 'x-service-token': string;
36749
- 'x-client-timezone': string;
36750
- 'x-code'?: string | undefined;
36751
- }, {
36752
- 'x-tenant': string;
36753
- 'x-service-token': string;
36754
- 'x-code'?: string | undefined;
36755
- 'x-client-timezone'?: string | undefined;
36756
- }>>>;
36757
36845
  };
36758
36846
  update: {
36759
36847
  body: import("zod").ZodObject<{
36760
36848
  id: import("zod").ZodOptional<import("zod").ZodString>;
36761
36849
  name: import("zod").ZodOptional<import("zod").ZodString>;
36762
36850
  address: import("zod").ZodOptional<import("zod").ZodString>;
36851
+ signature: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
36763
36852
  accountId: import("zod").ZodOptional<import("zod").ZodString>;
36764
36853
  mailServerId: import("zod").ZodOptional<import("zod").ZodString>;
36765
36854
  mailServer: import("zod").ZodOptional<import("zod").ZodObject<{
@@ -36810,9 +36899,14 @@ export declare const mailContract: {
36810
36899
  updatedAt: import("zod").ZodOptional<import("zod").ZodDate>;
36811
36900
  deletedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
36812
36901
  }, "strip", import("zod").ZodTypeAny, {
36813
- id?: string | undefined;
36814
36902
  name?: string | undefined;
36903
+ id?: string | undefined;
36904
+ state?: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset" | undefined;
36815
36905
  address?: string | undefined;
36906
+ createdAt?: Date | undefined;
36907
+ updatedAt?: Date | undefined;
36908
+ deletedAt?: Date | null | undefined;
36909
+ signature?: string | null | undefined;
36816
36910
  accountId?: string | undefined;
36817
36911
  mailServerId?: string | undefined;
36818
36912
  mailServer?: {
@@ -36830,14 +36924,15 @@ export declare const mailContract: {
36830
36924
  imapTlsPort: number;
36831
36925
  useTlsForImap: boolean;
36832
36926
  } | undefined;
36927
+ }, {
36928
+ name?: string | undefined;
36929
+ id?: string | undefined;
36833
36930
  state?: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset" | undefined;
36931
+ address?: string | undefined;
36834
36932
  createdAt?: Date | undefined;
36835
36933
  updatedAt?: Date | undefined;
36836
36934
  deletedAt?: Date | null | undefined;
36837
- }, {
36838
- id?: string | undefined;
36839
- name?: string | undefined;
36840
- address?: string | undefined;
36935
+ signature?: string | null | undefined;
36841
36936
  accountId?: string | undefined;
36842
36937
  mailServerId?: string | undefined;
36843
36938
  mailServer?: {
@@ -36855,10 +36950,6 @@ export declare const mailContract: {
36855
36950
  imapTlsPort: number;
36856
36951
  useTlsForImap: boolean;
36857
36952
  } | undefined;
36858
- state?: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset" | undefined;
36859
- createdAt?: Date | undefined;
36860
- updatedAt?: Date | undefined;
36861
- deletedAt?: Date | null | undefined;
36862
36953
  }>;
36863
36954
  summary: "Update a account by id";
36864
36955
  method: "PATCH";
@@ -36869,6 +36960,23 @@ export declare const mailContract: {
36869
36960
  }, {
36870
36961
  id: string;
36871
36962
  }>;
36963
+ path: "ems/mail/account/:id";
36964
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
36965
+ 'x-tenant': import("zod").ZodString;
36966
+ 'x-service-token': import("zod").ZodString;
36967
+ 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
36968
+ 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
36969
+ }, "strip", import("zod").ZodTypeAny, {
36970
+ 'x-tenant': string;
36971
+ 'x-service-token': string;
36972
+ 'x-client-timezone': string;
36973
+ 'x-code'?: string | undefined;
36974
+ }, {
36975
+ 'x-tenant': string;
36976
+ 'x-service-token': string;
36977
+ 'x-code'?: string | undefined;
36978
+ 'x-client-timezone'?: string | undefined;
36979
+ }>>>;
36872
36980
  responses: {
36873
36981
  401: import("zod").ZodObject<{
36874
36982
  message: import("zod").ZodString;
@@ -36902,10 +37010,12 @@ export declare const mailContract: {
36902
37010
  }>;
36903
37011
  201: import("zod").ZodObject<{
36904
37012
  requestId: import("zod").ZodString;
37013
+ } & {
36905
37014
  data: import("zod").ZodObject<{
36906
37015
  id: import("zod").ZodString;
36907
37016
  name: import("zod").ZodString;
36908
37017
  address: import("zod").ZodString;
37018
+ signature: import("zod").ZodNullable<import("zod").ZodString>;
36909
37019
  accountId: import("zod").ZodString;
36910
37020
  mailServerId: import("zod").ZodString;
36911
37021
  mailServer: import("zod").ZodObject<{
@@ -36963,6 +37073,7 @@ export declare const mailContract: {
36963
37073
  createdAt: Date;
36964
37074
  updatedAt: Date;
36965
37075
  deletedAt: Date | null;
37076
+ signature: string | null;
36966
37077
  accountId: string;
36967
37078
  mailServerId: string;
36968
37079
  mailServer: {
@@ -36988,6 +37099,7 @@ export declare const mailContract: {
36988
37099
  createdAt: Date;
36989
37100
  updatedAt: Date;
36990
37101
  deletedAt: Date | null;
37102
+ signature: string | null;
36991
37103
  accountId: string;
36992
37104
  mailServerId: string;
36993
37105
  mailServer: {
@@ -37015,6 +37127,7 @@ export declare const mailContract: {
37015
37127
  createdAt: Date;
37016
37128
  updatedAt: Date;
37017
37129
  deletedAt: Date | null;
37130
+ signature: string | null;
37018
37131
  accountId: string;
37019
37132
  mailServerId: string;
37020
37133
  mailServer: {
@@ -37043,6 +37156,7 @@ export declare const mailContract: {
37043
37156
  createdAt: Date;
37044
37157
  updatedAt: Date;
37045
37158
  deletedAt: Date | null;
37159
+ signature: string | null;
37046
37160
  accountId: string;
37047
37161
  mailServerId: string;
37048
37162
  mailServer: {
@@ -37064,7 +37178,19 @@ export declare const mailContract: {
37064
37178
  requestId: string;
37065
37179
  }>;
37066
37180
  };
37067
- path: "ems/mail/account/:id";
37181
+ };
37182
+ disconnect: {
37183
+ body: null;
37184
+ summary: "Disconnect an account";
37185
+ method: "PATCH";
37186
+ pathParams: import("zod").ZodObject<{
37187
+ id: import("zod").ZodString;
37188
+ }, "strip", import("zod").ZodTypeAny, {
37189
+ id: string;
37190
+ }, {
37191
+ id: string;
37192
+ }>;
37193
+ path: "ems/mail/account/:id/disconnect";
37068
37194
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
37069
37195
  'x-tenant': import("zod").ZodString;
37070
37196
  'x-service-token': import("zod").ZodString;
@@ -37081,18 +37207,6 @@ export declare const mailContract: {
37081
37207
  'x-code'?: string | undefined;
37082
37208
  'x-client-timezone'?: string | undefined;
37083
37209
  }>>>;
37084
- };
37085
- disconnect: {
37086
- body: null;
37087
- summary: "Disconnect an account";
37088
- method: "PATCH";
37089
- pathParams: import("zod").ZodObject<{
37090
- id: import("zod").ZodString;
37091
- }, "strip", import("zod").ZodTypeAny, {
37092
- id: string;
37093
- }, {
37094
- id: string;
37095
- }>;
37096
37210
  responses: {
37097
37211
  401: import("zod").ZodObject<{
37098
37212
  message: import("zod").ZodString;
@@ -37126,10 +37240,12 @@ export declare const mailContract: {
37126
37240
  }>;
37127
37241
  201: import("zod").ZodObject<{
37128
37242
  requestId: import("zod").ZodString;
37243
+ } & {
37129
37244
  data: import("zod").ZodObject<{
37130
37245
  id: import("zod").ZodString;
37131
37246
  name: import("zod").ZodString;
37132
37247
  address: import("zod").ZodString;
37248
+ signature: import("zod").ZodNullable<import("zod").ZodString>;
37133
37249
  accountId: import("zod").ZodString;
37134
37250
  mailServerId: import("zod").ZodString;
37135
37251
  mailServer: import("zod").ZodObject<{
@@ -37187,6 +37303,7 @@ export declare const mailContract: {
37187
37303
  createdAt: Date;
37188
37304
  updatedAt: Date;
37189
37305
  deletedAt: Date | null;
37306
+ signature: string | null;
37190
37307
  accountId: string;
37191
37308
  mailServerId: string;
37192
37309
  mailServer: {
@@ -37212,6 +37329,7 @@ export declare const mailContract: {
37212
37329
  createdAt: Date;
37213
37330
  updatedAt: Date;
37214
37331
  deletedAt: Date | null;
37332
+ signature: string | null;
37215
37333
  accountId: string;
37216
37334
  mailServerId: string;
37217
37335
  mailServer: {
@@ -37239,6 +37357,7 @@ export declare const mailContract: {
37239
37357
  createdAt: Date;
37240
37358
  updatedAt: Date;
37241
37359
  deletedAt: Date | null;
37360
+ signature: string | null;
37242
37361
  accountId: string;
37243
37362
  mailServerId: string;
37244
37363
  mailServer: {
@@ -37267,6 +37386,7 @@ export declare const mailContract: {
37267
37386
  createdAt: Date;
37268
37387
  updatedAt: Date;
37269
37388
  deletedAt: Date | null;
37389
+ signature: string | null;
37270
37390
  accountId: string;
37271
37391
  mailServerId: string;
37272
37392
  mailServer: {
@@ -37288,7 +37408,19 @@ export declare const mailContract: {
37288
37408
  requestId: string;
37289
37409
  }>;
37290
37410
  };
37291
- path: "ems/mail/account/:id/disconnect";
37411
+ };
37412
+ reconnect: {
37413
+ body: null;
37414
+ summary: "Reconnect a disconncted account";
37415
+ method: "PATCH";
37416
+ pathParams: import("zod").ZodObject<{
37417
+ id: import("zod").ZodString;
37418
+ }, "strip", import("zod").ZodTypeAny, {
37419
+ id: string;
37420
+ }, {
37421
+ id: string;
37422
+ }>;
37423
+ path: "ems/mail/account/:id/reconnect";
37292
37424
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
37293
37425
  'x-tenant': import("zod").ZodString;
37294
37426
  'x-service-token': import("zod").ZodString;
@@ -37305,18 +37437,6 @@ export declare const mailContract: {
37305
37437
  'x-code'?: string | undefined;
37306
37438
  'x-client-timezone'?: string | undefined;
37307
37439
  }>>>;
37308
- };
37309
- reconnect: {
37310
- body: null;
37311
- summary: "Reconnect a disconncted account";
37312
- method: "PATCH";
37313
- pathParams: import("zod").ZodObject<{
37314
- id: import("zod").ZodString;
37315
- }, "strip", import("zod").ZodTypeAny, {
37316
- id: string;
37317
- }, {
37318
- id: string;
37319
- }>;
37320
37440
  responses: {
37321
37441
  401: import("zod").ZodObject<{
37322
37442
  message: import("zod").ZodString;
@@ -37350,10 +37470,12 @@ export declare const mailContract: {
37350
37470
  }>;
37351
37471
  201: import("zod").ZodObject<{
37352
37472
  requestId: import("zod").ZodString;
37473
+ } & {
37353
37474
  data: import("zod").ZodObject<{
37354
37475
  id: import("zod").ZodString;
37355
37476
  name: import("zod").ZodString;
37356
37477
  address: import("zod").ZodString;
37478
+ signature: import("zod").ZodNullable<import("zod").ZodString>;
37357
37479
  accountId: import("zod").ZodString;
37358
37480
  mailServerId: import("zod").ZodString;
37359
37481
  mailServer: import("zod").ZodObject<{
@@ -37411,6 +37533,7 @@ export declare const mailContract: {
37411
37533
  createdAt: Date;
37412
37534
  updatedAt: Date;
37413
37535
  deletedAt: Date | null;
37536
+ signature: string | null;
37414
37537
  accountId: string;
37415
37538
  mailServerId: string;
37416
37539
  mailServer: {
@@ -37436,6 +37559,7 @@ export declare const mailContract: {
37436
37559
  createdAt: Date;
37437
37560
  updatedAt: Date;
37438
37561
  deletedAt: Date | null;
37562
+ signature: string | null;
37439
37563
  accountId: string;
37440
37564
  mailServerId: string;
37441
37565
  mailServer: {
@@ -37463,6 +37587,7 @@ export declare const mailContract: {
37463
37587
  createdAt: Date;
37464
37588
  updatedAt: Date;
37465
37589
  deletedAt: Date | null;
37590
+ signature: string | null;
37466
37591
  accountId: string;
37467
37592
  mailServerId: string;
37468
37593
  mailServer: {
@@ -37491,6 +37616,7 @@ export declare const mailContract: {
37491
37616
  createdAt: Date;
37492
37617
  updatedAt: Date;
37493
37618
  deletedAt: Date | null;
37619
+ signature: string | null;
37494
37620
  accountId: string;
37495
37621
  mailServerId: string;
37496
37622
  mailServer: {
@@ -37512,7 +37638,19 @@ export declare const mailContract: {
37512
37638
  requestId: string;
37513
37639
  }>;
37514
37640
  };
37515
- path: "ems/mail/account/:id/reconnect";
37641
+ };
37642
+ delete: {
37643
+ body: null;
37644
+ summary: "Delete an account by id";
37645
+ method: "DELETE";
37646
+ pathParams: import("zod").ZodObject<{
37647
+ id: import("zod").ZodString;
37648
+ }, "strip", import("zod").ZodTypeAny, {
37649
+ id: string;
37650
+ }, {
37651
+ id: string;
37652
+ }>;
37653
+ path: "ems/mail/account/:id";
37516
37654
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
37517
37655
  'x-tenant': import("zod").ZodString;
37518
37656
  'x-service-token': import("zod").ZodString;
@@ -37529,18 +37667,6 @@ export declare const mailContract: {
37529
37667
  'x-code'?: string | undefined;
37530
37668
  'x-client-timezone'?: string | undefined;
37531
37669
  }>>>;
37532
- };
37533
- delete: {
37534
- body: null;
37535
- summary: "Delete an account by id";
37536
- method: "DELETE";
37537
- pathParams: import("zod").ZodObject<{
37538
- id: import("zod").ZodString;
37539
- }, "strip", import("zod").ZodTypeAny, {
37540
- id: string;
37541
- }, {
37542
- id: string;
37543
- }>;
37544
37670
  responses: {
37545
37671
  401: import("zod").ZodObject<{
37546
37672
  message: import("zod").ZodString;
@@ -37574,6 +37700,7 @@ export declare const mailContract: {
37574
37700
  }>;
37575
37701
  200: import("zod").ZodObject<{
37576
37702
  requestId: import("zod").ZodString;
37703
+ } & {
37577
37704
  message: import("zod").ZodString;
37578
37705
  }, "strip", import("zod").ZodTypeAny, {
37579
37706
  message: string;
@@ -37583,7 +37710,19 @@ export declare const mailContract: {
37583
37710
  requestId: string;
37584
37711
  }>;
37585
37712
  };
37586
- path: "ems/mail/account/:id";
37713
+ };
37714
+ deleteEmailEngineAcc: {
37715
+ body: null;
37716
+ summary: "Delete an account by id";
37717
+ method: "DELETE";
37718
+ pathParams: import("zod").ZodObject<{
37719
+ account: import("zod").ZodString;
37720
+ }, "strip", import("zod").ZodTypeAny, {
37721
+ account: string;
37722
+ }, {
37723
+ account: string;
37724
+ }>;
37725
+ path: "ems/mail/account/email-engine/:account";
37587
37726
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
37588
37727
  'x-tenant': import("zod").ZodString;
37589
37728
  'x-service-token': import("zod").ZodString;
@@ -37600,18 +37739,6 @@ export declare const mailContract: {
37600
37739
  'x-code'?: string | undefined;
37601
37740
  'x-client-timezone'?: string | undefined;
37602
37741
  }>>>;
37603
- };
37604
- deleteEmailEngineAcc: {
37605
- body: null;
37606
- summary: "Delete an account by id";
37607
- method: "DELETE";
37608
- pathParams: import("zod").ZodObject<{
37609
- account: import("zod").ZodString;
37610
- }, "strip", import("zod").ZodTypeAny, {
37611
- account: string;
37612
- }, {
37613
- account: string;
37614
- }>;
37615
37742
  responses: {
37616
37743
  401: import("zod").ZodObject<{
37617
37744
  message: import("zod").ZodString;
@@ -37645,6 +37772,7 @@ export declare const mailContract: {
37645
37772
  }>;
37646
37773
  200: import("zod").ZodObject<{
37647
37774
  requestId: import("zod").ZodString;
37775
+ } & {
37648
37776
  message: import("zod").ZodString;
37649
37777
  }, "strip", import("zod").ZodTypeAny, {
37650
37778
  message: string;
@@ -37654,7 +37782,21 @@ export declare const mailContract: {
37654
37782
  requestId: string;
37655
37783
  }>;
37656
37784
  };
37657
- path: "ems/mail/account/email-engine/:account";
37785
+ };
37786
+ createOAuth2Acc: {
37787
+ body: import("zod").ZodObject<{
37788
+ account: import("zod").ZodString;
37789
+ name: import("zod").ZodString;
37790
+ }, "strip", import("zod").ZodTypeAny, {
37791
+ name: string;
37792
+ account: string;
37793
+ }, {
37794
+ name: string;
37795
+ account: string;
37796
+ }>;
37797
+ summary: "Register OAuth2 account.";
37798
+ method: "POST";
37799
+ path: "ems/mail/account/oauth2";
37658
37800
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
37659
37801
  'x-tenant': import("zod").ZodString;
37660
37802
  'x-service-token': import("zod").ZodString;
@@ -37671,20 +37813,6 @@ export declare const mailContract: {
37671
37813
  'x-code'?: string | undefined;
37672
37814
  'x-client-timezone'?: string | undefined;
37673
37815
  }>>>;
37674
- };
37675
- createOAuth2Acc: {
37676
- body: import("zod").ZodObject<{
37677
- account: import("zod").ZodString;
37678
- name: import("zod").ZodString;
37679
- }, "strip", import("zod").ZodTypeAny, {
37680
- name: string;
37681
- account: string;
37682
- }, {
37683
- name: string;
37684
- account: string;
37685
- }>;
37686
- summary: "Register OAuth2 account.";
37687
- method: "POST";
37688
37816
  responses: {
37689
37817
  401: import("zod").ZodObject<{
37690
37818
  message: import("zod").ZodString;
@@ -37720,6 +37848,7 @@ export declare const mailContract: {
37720
37848
  id: import("zod").ZodString;
37721
37849
  name: import("zod").ZodString;
37722
37850
  address: import("zod").ZodString;
37851
+ signature: import("zod").ZodNullable<import("zod").ZodString>;
37723
37852
  accountId: import("zod").ZodString;
37724
37853
  mailServerId: import("zod").ZodString;
37725
37854
  mailServer: import("zod").ZodObject<{
@@ -37777,6 +37906,7 @@ export declare const mailContract: {
37777
37906
  createdAt: Date;
37778
37907
  updatedAt: Date;
37779
37908
  deletedAt: Date | null;
37909
+ signature: string | null;
37780
37910
  accountId: string;
37781
37911
  mailServerId: string;
37782
37912
  mailServer: {
@@ -37802,6 +37932,7 @@ export declare const mailContract: {
37802
37932
  createdAt: Date;
37803
37933
  updatedAt: Date;
37804
37934
  deletedAt: Date | null;
37935
+ signature: string | null;
37805
37936
  accountId: string;
37806
37937
  mailServerId: string;
37807
37938
  mailServer: {
@@ -37821,23 +37952,6 @@ export declare const mailContract: {
37821
37952
  };
37822
37953
  }>;
37823
37954
  };
37824
- path: "ems/mail/account/oauth2";
37825
- headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
37826
- 'x-tenant': import("zod").ZodString;
37827
- 'x-service-token': import("zod").ZodString;
37828
- 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
37829
- 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
37830
- }, "strip", import("zod").ZodTypeAny, {
37831
- 'x-tenant': string;
37832
- 'x-service-token': string;
37833
- 'x-client-timezone': string;
37834
- 'x-code'?: string | undefined;
37835
- }, {
37836
- 'x-tenant': string;
37837
- 'x-service-token': string;
37838
- 'x-code'?: string | undefined;
37839
- 'x-client-timezone'?: string | undefined;
37840
- }>>>;
37841
37955
  };
37842
37956
  };
37843
37957
  server: {
@@ -37875,6 +37989,7 @@ export declare const mailContract: {
37875
37989
  }>;
37876
37990
  summary: "Register a new mail server";
37877
37991
  method: "POST";
37992
+ path: "ems/mail/server/";
37878
37993
  responses: {
37879
37994
  401: import("zod").ZodObject<{
37880
37995
  message: import("zod").ZodString;
@@ -37908,6 +38023,7 @@ export declare const mailContract: {
37908
38023
  }>;
37909
38024
  201: import("zod").ZodObject<{
37910
38025
  requestId: import("zod").ZodString;
38026
+ } & {
37911
38027
  data: import("zod").ZodObject<{
37912
38028
  id: import("zod").ZodString;
37913
38029
  createdAt: import("zod").ZodDate;
@@ -37987,11 +38103,11 @@ export declare const mailContract: {
37987
38103
  requestId: string;
37988
38104
  }>;
37989
38105
  };
37990
- path: "ems/mail/server/";
37991
38106
  };
37992
38107
  getOAuth2Apps: {
37993
38108
  summary: "Get all oauth2 apps";
37994
38109
  method: "GET";
38110
+ path: "ems/mail/server/oauth2/apps";
37995
38111
  responses: {
37996
38112
  401: import("zod").ZodObject<{
37997
38113
  message: import("zod").ZodString;
@@ -38025,6 +38141,7 @@ export declare const mailContract: {
38025
38141
  }>;
38026
38142
  200: import("zod").ZodObject<{
38027
38143
  requestId: import("zod").ZodString;
38144
+ } & {
38028
38145
  data: import("zod").ZodObject<{
38029
38146
  total: import("zod").ZodNumber;
38030
38147
  pages: import("zod").ZodNumber;
@@ -38192,7 +38309,6 @@ export declare const mailContract: {
38192
38309
  requestId: string;
38193
38310
  }>;
38194
38311
  };
38195
- path: "ems/mail/server/oauth2/apps";
38196
38312
  };
38197
38313
  getById: {
38198
38314
  summary: "Get a mail server by id";
@@ -38204,6 +38320,7 @@ export declare const mailContract: {
38204
38320
  }, {
38205
38321
  id: string;
38206
38322
  }>;
38323
+ path: "ems/mail/server/:id";
38207
38324
  responses: {
38208
38325
  401: import("zod").ZodObject<{
38209
38326
  message: import("zod").ZodString;
@@ -38237,6 +38354,7 @@ export declare const mailContract: {
38237
38354
  }>;
38238
38355
  200: import("zod").ZodObject<{
38239
38356
  requestId: import("zod").ZodString;
38357
+ } & {
38240
38358
  data: import("zod").ZodObject<{
38241
38359
  id: import("zod").ZodString;
38242
38360
  createdAt: import("zod").ZodDate;
@@ -38316,11 +38434,11 @@ export declare const mailContract: {
38316
38434
  requestId: string;
38317
38435
  }>;
38318
38436
  };
38319
- path: "ems/mail/server/:id";
38320
38437
  };
38321
38438
  getAll: {
38322
38439
  summary: "Get all mail servers";
38323
38440
  method: "GET";
38441
+ path: "ems/mail/server/";
38324
38442
  responses: {
38325
38443
  401: import("zod").ZodObject<{
38326
38444
  message: import("zod").ZodString;
@@ -38354,6 +38472,7 @@ export declare const mailContract: {
38354
38472
  }>;
38355
38473
  200: import("zod").ZodObject<{
38356
38474
  requestId: import("zod").ZodString;
38475
+ } & {
38357
38476
  data: import("zod").ZodArray<import("zod").ZodObject<{
38358
38477
  id: import("zod").ZodString;
38359
38478
  createdAt: import("zod").ZodDate;
@@ -38433,7 +38552,6 @@ export declare const mailContract: {
38433
38552
  requestId: string;
38434
38553
  }>;
38435
38554
  };
38436
- path: "ems/mail/server/";
38437
38555
  };
38438
38556
  update: {
38439
38557
  body: import("zod").ZodObject<{
@@ -38476,6 +38594,7 @@ export declare const mailContract: {
38476
38594
  }, {
38477
38595
  id: string;
38478
38596
  }>;
38597
+ path: "ems/mail/server/:id";
38479
38598
  responses: {
38480
38599
  401: import("zod").ZodObject<{
38481
38600
  message: import("zod").ZodString;
@@ -38509,6 +38628,7 @@ export declare const mailContract: {
38509
38628
  }>;
38510
38629
  200: import("zod").ZodObject<{
38511
38630
  requestId: import("zod").ZodString;
38631
+ } & {
38512
38632
  data: import("zod").ZodObject<{
38513
38633
  id: import("zod").ZodString;
38514
38634
  createdAt: import("zod").ZodDate;
@@ -38588,7 +38708,6 @@ export declare const mailContract: {
38588
38708
  requestId: string;
38589
38709
  }>;
38590
38710
  };
38591
- path: "ems/mail/server/:id";
38592
38711
  };
38593
38712
  delete: {
38594
38713
  body: null;
@@ -38601,6 +38720,7 @@ export declare const mailContract: {
38601
38720
  }, {
38602
38721
  id: string;
38603
38722
  }>;
38723
+ path: "ems/mail/server/:id";
38604
38724
  responses: {
38605
38725
  401: import("zod").ZodObject<{
38606
38726
  message: import("zod").ZodString;
@@ -38634,6 +38754,7 @@ export declare const mailContract: {
38634
38754
  }>;
38635
38755
  200: import("zod").ZodObject<{
38636
38756
  requestId: import("zod").ZodString;
38757
+ } & {
38637
38758
  data: import("zod").ZodObject<{
38638
38759
  id: import("zod").ZodString;
38639
38760
  createdAt: import("zod").ZodDate;
@@ -38713,7 +38834,6 @@ export declare const mailContract: {
38713
38834
  requestId: string;
38714
38835
  }>;
38715
38836
  };
38716
- path: "ems/mail/server/:id";
38717
38837
  };
38718
38838
  };
38719
38839
  };