@kl1/contracts 1.4.65 → 1.4.66

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