@kl1/contracts 1.1.77-uat → 1.1.79-uat

Sign up to get free protection for your applications and to get access to all the features.
Files changed (213) hide show
  1. package/dist/api-contracts/src/activity-log/index.d.ts +17 -17
  2. package/dist/api-contracts/src/attribute/index.d.ts +164 -148
  3. package/dist/api-contracts/src/attribute/index.d.ts.map +1 -1
  4. package/dist/api-contracts/src/attribute/schema.d.ts +11 -8
  5. package/dist/api-contracts/src/attribute/schema.d.ts.map +1 -1
  6. package/dist/api-contracts/src/attribute-option/schema.d.ts +3 -2
  7. package/dist/api-contracts/src/attribute-option/schema.d.ts.map +1 -1
  8. package/dist/api-contracts/src/auth/index.d.ts +51 -47
  9. package/dist/api-contracts/src/auth/index.d.ts.map +1 -1
  10. package/dist/api-contracts/src/aws/index.d.ts +8 -6
  11. package/dist/api-contracts/src/aws/index.d.ts.map +1 -1
  12. package/dist/api-contracts/src/botpress/index.d.ts +17 -13
  13. package/dist/api-contracts/src/botpress/index.d.ts.map +1 -1
  14. package/dist/api-contracts/src/business-calendar/index.d.ts +40 -28
  15. package/dist/api-contracts/src/business-calendar/index.d.ts.map +1 -1
  16. package/dist/api-contracts/src/business-calendar/schema.d.ts +15 -10
  17. package/dist/api-contracts/src/business-calendar/schema.d.ts.map +1 -1
  18. package/dist/api-contracts/src/call-log/schema.d.ts +5 -4
  19. package/dist/api-contracts/src/call-log/schema.d.ts.map +1 -1
  20. package/dist/api-contracts/src/category/index.d.ts +118 -109
  21. package/dist/api-contracts/src/category/index.d.ts.map +1 -1
  22. package/dist/api-contracts/src/category/schema.d.ts +3 -2
  23. package/dist/api-contracts/src/category/schema.d.ts.map +1 -1
  24. package/dist/api-contracts/src/channel/index.d.ts +411 -392
  25. package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
  26. package/dist/api-contracts/src/channel/schema.d.ts +6 -6
  27. package/dist/api-contracts/src/channel/validation.d.ts +8 -8
  28. package/dist/api-contracts/src/chat/index.d.ts +12528 -12120
  29. package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
  30. package/dist/api-contracts/src/chat/schema.d.ts +2814 -2654
  31. package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
  32. package/dist/api-contracts/src/chat/validation.d.ts +2150 -2083
  33. package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
  34. package/dist/api-contracts/src/comment/index.d.ts +281 -224
  35. package/dist/api-contracts/src/comment/index.d.ts.map +1 -1
  36. package/dist/api-contracts/src/comment/schema.d.ts +68 -50
  37. package/dist/api-contracts/src/comment/schema.d.ts.map +1 -1
  38. package/dist/api-contracts/src/company/index.d.ts +138 -111
  39. package/dist/api-contracts/src/company/index.d.ts.map +1 -1
  40. package/dist/api-contracts/src/company/schema.d.ts +33 -24
  41. package/dist/api-contracts/src/company/schema.d.ts.map +1 -1
  42. package/dist/api-contracts/src/company/validation.d.ts +78 -62
  43. package/dist/api-contracts/src/company/validation.d.ts.map +1 -1
  44. package/dist/api-contracts/src/contact/index.d.ts +597 -501
  45. package/dist/api-contracts/src/contact/index.d.ts.map +1 -1
  46. package/dist/api-contracts/src/contact/schema.d.ts +56 -42
  47. package/dist/api-contracts/src/contact/schema.d.ts.map +1 -1
  48. package/dist/api-contracts/src/contact/validation.d.ts +263 -192
  49. package/dist/api-contracts/src/contact/validation.d.ts.map +1 -1
  50. package/dist/api-contracts/src/contact-email/schema.d.ts +3 -2
  51. package/dist/api-contracts/src/contact-email/schema.d.ts.map +1 -1
  52. package/dist/api-contracts/src/contact-phone/schema.d.ts +3 -2
  53. package/dist/api-contracts/src/contact-phone/schema.d.ts.map +1 -1
  54. package/dist/api-contracts/src/contract.d.ts +15249 -14062
  55. package/dist/api-contracts/src/contract.d.ts.map +1 -1
  56. package/dist/api-contracts/src/custom-field/schema.d.ts +3 -2
  57. package/dist/api-contracts/src/custom-field/schema.d.ts.map +1 -1
  58. package/dist/api-contracts/src/custom-field/validation.d.ts +2 -2
  59. package/dist/api-contracts/src/custom-field-upload/schema.d.ts +3 -2
  60. package/dist/api-contracts/src/custom-field-upload/schema.d.ts.map +1 -1
  61. package/dist/api-contracts/src/cx-log/index.d.ts +648 -608
  62. package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
  63. package/dist/api-contracts/src/cx-log/schema.d.ts +413 -370
  64. package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
  65. package/dist/api-contracts/src/cx-log/validation.d.ts +38 -38
  66. package/dist/api-contracts/src/dashboard/index.d.ts +370 -330
  67. package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
  68. package/dist/api-contracts/src/dashboard/schema.d.ts +7 -6
  69. package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
  70. package/dist/api-contracts/src/dashboard/validation.d.ts +20 -14
  71. package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
  72. package/dist/api-contracts/src/evaluate-form/index.d.ts +4 -3
  73. package/dist/api-contracts/src/evaluate-form/index.d.ts.map +1 -1
  74. package/dist/api-contracts/src/evaluate-form/schema.d.ts +3 -2
  75. package/dist/api-contracts/src/evaluate-form/schema.d.ts.map +1 -1
  76. package/dist/api-contracts/src/export/index.d.ts +4 -3
  77. package/dist/api-contracts/src/export/index.d.ts.map +1 -1
  78. package/dist/api-contracts/src/extension/index.d.ts +109 -104
  79. package/dist/api-contracts/src/extension/index.d.ts.map +1 -1
  80. package/dist/api-contracts/src/facebook-feed/index.d.ts +1599 -1529
  81. package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
  82. package/dist/api-contracts/src/facebook-feed/schema.d.ts +43 -32
  83. package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
  84. package/dist/api-contracts/src/facebook-feed/validation.d.ts +76 -59
  85. package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
  86. package/dist/api-contracts/src/group/schema.d.ts +3 -2
  87. package/dist/api-contracts/src/group/schema.d.ts.map +1 -1
  88. package/dist/api-contracts/src/hold-label/index.d.ts +38 -28
  89. package/dist/api-contracts/src/hold-label/index.d.ts.map +1 -1
  90. package/dist/api-contracts/src/hold-label/schema.d.ts +3 -2
  91. package/dist/api-contracts/src/hold-label/schema.d.ts.map +1 -1
  92. package/dist/api-contracts/src/instagram/index.d.ts +1195 -1145
  93. package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
  94. package/dist/api-contracts/src/instagram/validation.d.ts +6 -6
  95. package/dist/api-contracts/src/line/index.d.ts +1869 -1819
  96. package/dist/api-contracts/src/line/index.d.ts.map +1 -1
  97. package/dist/api-contracts/src/line/schema.d.ts +12 -11
  98. package/dist/api-contracts/src/line/schema.d.ts.map +1 -1
  99. package/dist/api-contracts/src/line/validation.d.ts +62 -62
  100. package/dist/api-contracts/src/log-form/schema.d.ts +3 -2
  101. package/dist/api-contracts/src/log-form/schema.d.ts.map +1 -1
  102. package/dist/api-contracts/src/mail/account-contract.d.ts +135 -127
  103. package/dist/api-contracts/src/mail/account-contract.d.ts.map +1 -1
  104. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts +4 -3
  105. package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts.map +1 -1
  106. package/dist/api-contracts/src/mail/mail-contract.d.ts +408 -366
  107. package/dist/api-contracts/src/mail/mail-contract.d.ts.map +1 -1
  108. package/dist/api-contracts/src/mail/mail-server-contract.d.ts +20 -15
  109. package/dist/api-contracts/src/mail/mail-server-contract.d.ts.map +1 -1
  110. package/dist/api-contracts/src/mail/message-contract.d.ts +113 -107
  111. package/dist/api-contracts/src/mail/message-contract.d.ts.map +1 -1
  112. package/dist/api-contracts/src/mail/room-contract.d.ts +88 -65
  113. package/dist/api-contracts/src/mail/room-contract.d.ts.map +1 -1
  114. package/dist/api-contracts/src/mail/schemas/message-validation.schema.d.ts +16 -16
  115. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +22 -18
  116. package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
  117. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +15 -10
  118. package/dist/api-contracts/src/mail/schemas/room.schema.d.ts.map +1 -1
  119. package/dist/api-contracts/src/messenger/index.d.ts +1109 -1057
  120. package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
  121. package/dist/api-contracts/src/messenger/validation.d.ts +76 -59
  122. package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
  123. package/dist/api-contracts/src/notification/index.d.ts +16 -12
  124. package/dist/api-contracts/src/notification/index.d.ts.map +1 -1
  125. package/dist/api-contracts/src/permission/index.d.ts +17 -17
  126. package/dist/api-contracts/src/public-api/index.d.ts +260 -196
  127. package/dist/api-contracts/src/public-api/index.d.ts.map +1 -1
  128. package/dist/api-contracts/src/public-api/schema.d.ts +48 -34
  129. package/dist/api-contracts/src/public-api/schema.d.ts.map +1 -1
  130. package/dist/api-contracts/src/public-api/validation.d.ts +113 -88
  131. package/dist/api-contracts/src/public-api/validation.d.ts.map +1 -1
  132. package/dist/api-contracts/src/role/index.d.ts +84 -80
  133. package/dist/api-contracts/src/role/index.d.ts.map +1 -1
  134. package/dist/api-contracts/src/sms/index.d.ts +81 -80
  135. package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
  136. package/dist/api-contracts/src/snippet/index.d.ts +76 -54
  137. package/dist/api-contracts/src/snippet/index.d.ts.map +1 -1
  138. package/dist/api-contracts/src/snippet/schema.d.ts +21 -14
  139. package/dist/api-contracts/src/snippet/schema.d.ts.map +1 -1
  140. package/dist/api-contracts/src/snippet/validation.d.ts +5 -4
  141. package/dist/api-contracts/src/snippet/validation.d.ts.map +1 -1
  142. package/dist/api-contracts/src/subscription/index.d.ts +66 -45
  143. package/dist/api-contracts/src/subscription/index.d.ts.map +1 -1
  144. package/dist/api-contracts/src/subscription/schema.d.ts +90 -60
  145. package/dist/api-contracts/src/subscription/schema.d.ts.map +1 -1
  146. package/dist/api-contracts/src/tag/index.d.ts +79 -72
  147. package/dist/api-contracts/src/tag/index.d.ts.map +1 -1
  148. package/dist/api-contracts/src/tag/schema.d.ts +3 -2
  149. package/dist/api-contracts/src/tag/schema.d.ts.map +1 -1
  150. package/dist/api-contracts/src/tag-group/schema.d.ts +3 -2
  151. package/dist/api-contracts/src/tag-group/schema.d.ts.map +1 -1
  152. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +75 -67
  153. package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
  154. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +9 -6
  155. package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
  156. package/dist/api-contracts/src/telephony-cdr/call-report.schema.d.ts +38 -38
  157. package/dist/api-contracts/src/telephony-cdr/index.d.ts +1179 -1116
  158. package/dist/api-contracts/src/telephony-cdr/index.d.ts.map +1 -1
  159. package/dist/api-contracts/src/telephony-cdr/schema.d.ts +186 -166
  160. package/dist/api-contracts/src/telephony-cdr/schema.d.ts.map +1 -1
  161. package/dist/api-contracts/src/telephony-cdr/validation.d.ts +52 -45
  162. package/dist/api-contracts/src/telephony-cdr/validation.d.ts.map +1 -1
  163. package/dist/api-contracts/src/telephony-extension/index.d.ts +21 -21
  164. package/dist/api-contracts/src/telephony-extension/schema.d.ts +4 -4
  165. package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts +3 -2
  166. package/dist/api-contracts/src/telephony-live-queue-call/schema.d.ts.map +1 -1
  167. package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts +3 -2
  168. package/dist/api-contracts/src/telephony-queue-call-count/schema.d.ts.map +1 -1
  169. package/dist/api-contracts/src/tenant/schema.d.ts +3 -2
  170. package/dist/api-contracts/src/tenant/schema.d.ts.map +1 -1
  171. package/dist/api-contracts/src/ticket/index.d.ts +717 -618
  172. package/dist/api-contracts/src/ticket/index.d.ts.map +1 -1
  173. package/dist/api-contracts/src/ticket/schema.d.ts +81 -58
  174. package/dist/api-contracts/src/ticket/schema.d.ts.map +1 -1
  175. package/dist/api-contracts/src/ticket/validation.d.ts +55 -53
  176. package/dist/api-contracts/src/ticket/validation.d.ts.map +1 -1
  177. package/dist/api-contracts/src/upload/index.d.ts +36 -34
  178. package/dist/api-contracts/src/upload/index.d.ts.map +1 -1
  179. package/dist/api-contracts/src/upload/schema.d.ts +3 -2
  180. package/dist/api-contracts/src/upload/schema.d.ts.map +1 -1
  181. package/dist/api-contracts/src/user/index.d.ts +114 -108
  182. package/dist/api-contracts/src/user/index.d.ts.map +1 -1
  183. package/dist/api-contracts/src/user/validation.d.ts +5 -4
  184. package/dist/api-contracts/src/user/validation.d.ts.map +1 -1
  185. package/dist/api-contracts/src/user-presence-status-log/index.d.ts +32 -31
  186. package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
  187. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +9 -6
  188. package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
  189. package/dist/api-contracts/src/viber/index.d.ts +994 -946
  190. package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
  191. package/dist/api-contracts/src/webchat/index.d.ts +962 -917
  192. package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
  193. package/dist/api-contracts/src/widget/index.d.ts +139 -128
  194. package/dist/api-contracts/src/widget/index.d.ts.map +1 -1
  195. package/dist/api-contracts/src/widget/schema.d.ts +3 -2
  196. package/dist/api-contracts/src/widget/schema.d.ts.map +1 -1
  197. package/dist/api-contracts/src/workflow-rule/index.d.ts +1092 -1057
  198. package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
  199. package/dist/api-contracts/src/workflow-rule/schema.d.ts +3 -2
  200. package/dist/api-contracts/src/workflow-rule/schema.d.ts.map +1 -1
  201. package/dist/api-contracts/src/wrap-up-form/index.d.ts +166 -147
  202. package/dist/api-contracts/src/wrap-up-form/index.d.ts.map +1 -1
  203. package/dist/api-contracts/src/wrap-up-form/schema.d.ts +9 -6
  204. package/dist/api-contracts/src/wrap-up-form/schema.d.ts.map +1 -1
  205. package/dist/api-contracts/src/wrap-up-form/validation.d.ts +21 -20
  206. package/dist/api-contracts/src/wrap-up-form/validation.d.ts.map +1 -1
  207. package/dist/api-contracts/utils.d.ts +4 -3
  208. package/dist/api-contracts/utils.d.ts.map +1 -1
  209. package/dist/index.js +1 -1
  210. package/dist/index.js.map +1 -1
  211. package/dist/index.mjs +1 -1
  212. package/dist/index.mjs.map +1 -1
  213. package/package.json +2 -2
@@ -4,6 +4,7 @@ export declare const mailContract: {
4
4
  body: null;
5
5
  summary: "Create a new room for new incoming mail";
6
6
  method: "POST";
7
+ path: "email-service/mail/room/";
7
8
  responses: {
8
9
  401: import("zod").ZodObject<{
9
10
  message: import("zod").ZodString;
@@ -35,10 +36,11 @@ export declare const mailContract: {
35
36
  message: string;
36
37
  error?: any;
37
38
  }>;
38
- 200: import("zod").ZodObject<{
39
+ 200: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
39
40
  requestId: import("zod").ZodString;
41
+ }, {
40
42
  message: import("zod").ZodString;
41
- }, "strip", import("zod").ZodTypeAny, {
43
+ }>, "strip", import("zod").ZodTypeAny, {
42
44
  message: string;
43
45
  requestId: string;
44
46
  }, {
@@ -46,7 +48,6 @@ export declare const mailContract: {
46
48
  requestId: string;
47
49
  }>;
48
50
  };
49
- path: "email-service/mail/room/";
50
51
  };
51
52
  getAll: {
52
53
  summary: "Get mail rooms";
@@ -74,32 +75,33 @@ export declare const mailContract: {
74
75
  }, "strip", import("zod").ZodTypeAny, {
75
76
  page: number;
76
77
  pageSize: number;
78
+ date?: string | undefined;
79
+ contacts?: string[] | undefined;
77
80
  keyword?: {
78
81
  value: string;
79
82
  category: "message" | "contact";
80
83
  } | undefined;
81
- contactLabels?: string[] | undefined;
82
84
  channels?: string[] | undefined;
83
- date?: string | undefined;
84
- contacts?: string[] | undefined;
85
+ contactLabels?: string[] | undefined;
85
86
  assignees?: string[] | undefined;
86
87
  level1?: "open" | "close" | "starred" | "inbox" | "sent" | "scheduled" | undefined;
87
88
  level2?: "all" | "other" | "unassign" | "mine" | undefined;
88
89
  }, {
89
90
  page?: number | undefined;
91
+ date?: string | undefined;
90
92
  pageSize?: number | undefined;
93
+ contacts?: string[] | undefined;
91
94
  keyword?: {
92
95
  value: string;
93
96
  category: "message" | "contact";
94
97
  } | undefined;
95
- contactLabels?: string[] | undefined;
96
98
  channels?: string[] | undefined;
97
- date?: string | undefined;
98
- contacts?: string[] | undefined;
99
+ contactLabels?: string[] | undefined;
99
100
  assignees?: string[] | undefined;
100
101
  level1?: "open" | "close" | "starred" | "inbox" | "sent" | "scheduled" | undefined;
101
102
  level2?: "all" | "other" | "unassign" | "mine" | undefined;
102
103
  }>;
104
+ path: "email-service/mail/room";
103
105
  responses: {
104
106
  401: import("zod").ZodObject<{
105
107
  message: import("zod").ZodString;
@@ -131,8 +133,9 @@ export declare const mailContract: {
131
133
  message: string;
132
134
  error?: any;
133
135
  }>;
134
- 200: import("zod").ZodObject<{
136
+ 200: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
135
137
  requestId: import("zod").ZodString;
138
+ }, {
136
139
  data: import("zod").ZodArray<import("zod").ZodObject<{
137
140
  id: import("zod").ZodString;
138
141
  createdAt: import("zod").ZodDate;
@@ -5277,11 +5280,12 @@ export declare const mailContract: {
5277
5280
  };
5278
5281
  }>;
5279
5282
  unReadMessageCount: import("zod").ZodNumber;
5280
- cxlog: import("zod").ZodObject<{
5283
+ cxlog: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
5281
5284
  id: import("zod").ZodString;
5282
5285
  createdAt: import("zod").ZodDate;
5283
5286
  updatedAt: import("zod").ZodDate;
5284
5287
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
5288
+ }, {
5285
5289
  caseId: import("zod").ZodNumber;
5286
5290
  entityId: import("zod").ZodString;
5287
5291
  entityName: import("zod").ZodString;
@@ -5293,21 +5297,23 @@ export declare const mailContract: {
5293
5297
  startedDate: import("zod").ZodNullable<import("zod").ZodDate>;
5294
5298
  handledTime: import("zod").ZodNullable<import("zod").ZodNumber>;
5295
5299
  firstResponseTime: import("zod").ZodNullable<import("zod").ZodNumber>;
5296
- wrapUpForm: import("zod").ZodNullable<import("zod").ZodObject<{
5300
+ wrapUpForm: import("zod").ZodNullable<import("zod").ZodObject<import("zod").objectUtil.extendShape<{
5297
5301
  id: import("zod").ZodString;
5298
5302
  createdAt: import("zod").ZodDate;
5299
5303
  updatedAt: import("zod").ZodDate;
5300
5304
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
5305
+ }, {
5301
5306
  note: import("zod").ZodNullable<import("zod").ZodString>;
5302
5307
  disposition: import("zod").ZodNullable<import("zod").ZodString>;
5303
5308
  type: import("zod").ZodString;
5304
- tags: import("zod").ZodArray<import("zod").ZodObject<{
5309
+ tags: import("zod").ZodArray<import("zod").ZodObject<import("zod").objectUtil.extendShape<{
5305
5310
  id: import("zod").ZodString;
5306
5311
  createdAt: import("zod").ZodDate;
5307
5312
  updatedAt: import("zod").ZodDate;
5308
5313
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
5314
+ }, {
5309
5315
  name: import("zod").ZodString;
5310
- }, "strip", import("zod").ZodTypeAny, {
5316
+ }>, "strip", import("zod").ZodTypeAny, {
5311
5317
  id: string;
5312
5318
  name: string;
5313
5319
  createdAt: Date;
@@ -5320,11 +5326,12 @@ export declare const mailContract: {
5320
5326
  updatedAt: Date;
5321
5327
  deletedAt: Date | null;
5322
5328
  }>, "many">;
5323
- categories: import("zod").ZodArray<import("zod").ZodObject<{
5329
+ categories: import("zod").ZodArray<import("zod").ZodObject<import("zod").objectUtil.extendShape<{
5324
5330
  id: import("zod").ZodString;
5325
5331
  createdAt: import("zod").ZodDate;
5326
5332
  updatedAt: import("zod").ZodDate;
5327
5333
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
5334
+ }, {
5328
5335
  value: import("zod").ZodString;
5329
5336
  level: import("zod").ZodUnion<[import("zod").ZodLiteral<1>, import("zod").ZodLiteral<2>, import("zod").ZodLiteral<3>]>;
5330
5337
  parentId: import("zod").ZodNullable<import("zod").ZodString>;
@@ -5377,7 +5384,7 @@ export declare const mailContract: {
5377
5384
  childCategoryList: any[];
5378
5385
  }[];
5379
5386
  }>, "many">;
5380
- }, "strip", import("zod").ZodTypeAny, {
5387
+ }>, "strip", import("zod").ZodTypeAny, {
5381
5388
  id: string;
5382
5389
  value: string;
5383
5390
  createdAt: Date;
@@ -5456,7 +5463,7 @@ export declare const mailContract: {
5456
5463
  numberValue: number | null;
5457
5464
  dateValue: Date | null;
5458
5465
  }>, "many">>>;
5459
- }, "strip", import("zod").ZodTypeAny, {
5466
+ }>, "strip", import("zod").ZodTypeAny, {
5460
5467
  type: string;
5461
5468
  id: string;
5462
5469
  disposition: string | null;
@@ -5559,7 +5566,7 @@ export declare const mailContract: {
5559
5566
  dateValue: Date | null;
5560
5567
  }[] | null | undefined;
5561
5568
  }>>;
5562
- }, "strip", import("zod").ZodTypeAny, {
5569
+ }>, "strip", import("zod").ZodTypeAny, {
5563
5570
  id: string;
5564
5571
  channel: string | null;
5565
5572
  direction: string | null;
@@ -7594,7 +7601,7 @@ export declare const mailContract: {
7594
7601
  total: import("zod").ZodNumber;
7595
7602
  page: import("zod").ZodNumber;
7596
7603
  pageSize: import("zod").ZodNumber;
7597
- }, "strip", import("zod").ZodTypeAny, {
7604
+ }>, "strip", import("zod").ZodTypeAny, {
7598
7605
  data: {
7599
7606
  id: string;
7600
7607
  direction: string;
@@ -9502,11 +9509,11 @@ export declare const mailContract: {
9502
9509
  requestId: string;
9503
9510
  }>;
9504
9511
  };
9505
- path: "email-service/mail/room";
9506
9512
  };
9507
9513
  getRoomCounts: {
9508
9514
  summary: "Get unread message counts for filter like \"open\", \"close\", \"inbox\" and etc...";
9509
9515
  method: "GET";
9516
+ path: "email-service/mail/room/count_rooms/all";
9510
9517
  responses: {
9511
9518
  401: import("zod").ZodObject<{
9512
9519
  message: import("zod").ZodString;
@@ -9538,8 +9545,9 @@ export declare const mailContract: {
9538
9545
  message: string;
9539
9546
  error?: any;
9540
9547
  }>;
9541
- 200: import("zod").ZodObject<{
9548
+ 200: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
9542
9549
  requestId: import("zod").ZodString;
9550
+ }, {
9543
9551
  data: import("zod").ZodObject<{
9544
9552
  general: import("zod").ZodArray<import("zod").ZodObject<{
9545
9553
  name: import("zod").ZodString;
@@ -9718,13 +9726,14 @@ export declare const mailContract: {
9718
9726
  count: number;
9719
9727
  }>, "many">;
9720
9728
  contactLabels: import("zod").ZodArray<import("zod").ZodObject<{
9721
- label: import("zod").ZodObject<{
9729
+ label: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
9722
9730
  id: import("zod").ZodString;
9723
9731
  createdAt: import("zod").ZodDate;
9724
9732
  updatedAt: import("zod").ZodDate;
9725
9733
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
9734
+ }, {
9726
9735
  name: import("zod").ZodString;
9727
- }, "strip", import("zod").ZodTypeAny, {
9736
+ }>, "strip", import("zod").ZodTypeAny, {
9728
9737
  id: string;
9729
9738
  name: string;
9730
9739
  createdAt: Date;
@@ -9848,7 +9857,7 @@ export declare const mailContract: {
9848
9857
  count: number;
9849
9858
  }[];
9850
9859
  }>;
9851
- }, "strip", import("zod").ZodTypeAny, {
9860
+ }>, "strip", import("zod").ZodTypeAny, {
9852
9861
  data: {
9853
9862
  general: {
9854
9863
  name: string;
@@ -9946,7 +9955,6 @@ export declare const mailContract: {
9946
9955
  requestId: string;
9947
9956
  }>;
9948
9957
  };
9949
- path: "email-service/mail/room/count_rooms/all";
9950
9958
  };
9951
9959
  getAttachments: {
9952
9960
  summary: "Get all the attachments of a room";
@@ -9958,6 +9966,7 @@ export declare const mailContract: {
9958
9966
  }, {
9959
9967
  id: string;
9960
9968
  }>;
9969
+ path: "email-service/mail/room/:id/attachments";
9961
9970
  responses: {
9962
9971
  401: import("zod").ZodObject<{
9963
9972
  message: import("zod").ZodString;
@@ -9989,8 +9998,9 @@ export declare const mailContract: {
9989
9998
  message: string;
9990
9999
  error?: any;
9991
10000
  }>;
9992
- 200: import("zod").ZodObject<{
10001
+ 200: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
9993
10002
  requestId: import("zod").ZodString;
10003
+ }, {
9994
10004
  data: import("zod").ZodArray<import("zod").ZodObject<{
9995
10005
  fileName: import("zod").ZodString;
9996
10006
  fileType: import("zod").ZodString;
@@ -9998,18 +10008,19 @@ export declare const mailContract: {
9998
10008
  uploadId: import("zod").ZodString;
9999
10009
  messageId: import("zod").ZodString;
10000
10010
  roomId: import("zod").ZodString;
10001
- upload: import("zod").ZodObject<{
10011
+ upload: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
10002
10012
  id: import("zod").ZodString;
10003
10013
  createdAt: import("zod").ZodDate;
10004
10014
  updatedAt: import("zod").ZodDate;
10005
10015
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
10016
+ }, {
10006
10017
  bucketName: import("zod").ZodString;
10007
10018
  fileName: import("zod").ZodString;
10008
10019
  fileSize: import("zod").ZodNumber;
10009
10020
  fileKey: import("zod").ZodString;
10010
10021
  fileUrl: import("zod").ZodNullable<import("zod").ZodString>;
10011
10022
  status: import("zod").ZodNullable<import("zod").ZodString>;
10012
- }, "strip", import("zod").ZodTypeAny, {
10023
+ }>, "strip", import("zod").ZodTypeAny, {
10013
10024
  id: string;
10014
10025
  status: string | null;
10015
10026
  createdAt: Date;
@@ -10071,7 +10082,7 @@ export declare const mailContract: {
10071
10082
  messageId: string;
10072
10083
  emailEngineAttachmentId: string;
10073
10084
  }>, "many">;
10074
- }, "strip", import("zod").ZodTypeAny, {
10085
+ }>, "strip", import("zod").ZodTypeAny, {
10075
10086
  data: {
10076
10087
  fileName: string;
10077
10088
  fileType: string;
@@ -10117,7 +10128,6 @@ export declare const mailContract: {
10117
10128
  requestId: string;
10118
10129
  }>;
10119
10130
  };
10120
- path: "email-service/mail/room/:id/attachments";
10121
10131
  };
10122
10132
  getParticipants: {
10123
10133
  summary: "Get all the attachments of a room";
@@ -10129,6 +10139,7 @@ export declare const mailContract: {
10129
10139
  }, {
10130
10140
  id: string;
10131
10141
  }>;
10142
+ path: "email-service/mail/room/:id/participants";
10132
10143
  responses: {
10133
10144
  401: import("zod").ZodObject<{
10134
10145
  message: import("zod").ZodString;
@@ -10160,8 +10171,9 @@ export declare const mailContract: {
10160
10171
  message: string;
10161
10172
  error?: any;
10162
10173
  }>;
10163
- 200: import("zod").ZodObject<{
10174
+ 200: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
10164
10175
  requestId: import("zod").ZodString;
10176
+ }, {
10165
10177
  data: import("zod").ZodArray<import("zod").ZodObject<{
10166
10178
  id: import("zod").ZodString;
10167
10179
  createdAt: import("zod").ZodDate;
@@ -10317,7 +10329,7 @@ export declare const mailContract: {
10317
10329
  isNewContact: boolean;
10318
10330
  };
10319
10331
  }>, "many">;
10320
- }, "strip", import("zod").ZodTypeAny, {
10332
+ }>, "strip", import("zod").ZodTypeAny, {
10321
10333
  data: {
10322
10334
  id: string;
10323
10335
  createdAt: Date;
@@ -10385,7 +10397,6 @@ export declare const mailContract: {
10385
10397
  requestId: string;
10386
10398
  }>;
10387
10399
  };
10388
- path: "email-service/mail/room/:id/participants";
10389
10400
  };
10390
10401
  addNewEmailToContact: {
10391
10402
  body: import("zod").ZodObject<{
@@ -10403,6 +10414,7 @@ export declare const mailContract: {
10403
10414
  }>;
10404
10415
  summary: "Add a new email of a mail room participant to an existing contact";
10405
10416
  method: "POST";
10417
+ path: "email-service/mail/room/add_email_to_contact";
10406
10418
  responses: {
10407
10419
  401: import("zod").ZodObject<{
10408
10420
  message: import("zod").ZodString;
@@ -10434,10 +10446,11 @@ export declare const mailContract: {
10434
10446
  message: string;
10435
10447
  error?: any;
10436
10448
  }>;
10437
- 200: import("zod").ZodObject<{
10449
+ 200: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
10438
10450
  requestId: import("zod").ZodString;
10451
+ }, {
10439
10452
  data: import("zod").ZodString;
10440
- }, "strip", import("zod").ZodTypeAny, {
10453
+ }>, "strip", import("zod").ZodTypeAny, {
10441
10454
  data: string;
10442
10455
  requestId: string;
10443
10456
  }, {
@@ -10445,7 +10458,6 @@ export declare const mailContract: {
10445
10458
  requestId: string;
10446
10459
  }>;
10447
10460
  };
10448
- path: "email-service/mail/room/add_email_to_contact";
10449
10461
  };
10450
10462
  update: {
10451
10463
  body: import("zod").ZodObject<{
@@ -10457,16 +10469,16 @@ export declare const mailContract: {
10457
10469
  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">]>>>;
10458
10470
  }, "strip", import("zod").ZodTypeAny, {
10459
10471
  disposition?: "resolved" | "follow up" | "escalated" | "dropped" | "prank" | "blank" | null | undefined;
10460
- assigneeId?: string | null | undefined;
10461
- note?: string | undefined;
10462
10472
  tags?: string[] | undefined;
10473
+ note?: string | undefined;
10474
+ assigneeId?: string | null | undefined;
10463
10475
  handover?: boolean | null | undefined;
10464
10476
  selfAssign?: boolean | null | undefined;
10465
10477
  }, {
10466
10478
  disposition?: "resolved" | "follow up" | "escalated" | "dropped" | "prank" | "blank" | null | undefined;
10467
- assigneeId?: string | null | undefined;
10468
- note?: string | undefined;
10469
10479
  tags?: string[] | undefined;
10480
+ note?: string | undefined;
10481
+ assigneeId?: string | null | undefined;
10470
10482
  handover?: boolean | "false" | "true" | null | undefined;
10471
10483
  selfAssign?: boolean | "false" | "true" | null | undefined;
10472
10484
  }>;
@@ -10479,6 +10491,7 @@ export declare const mailContract: {
10479
10491
  }, {
10480
10492
  id: string;
10481
10493
  }>;
10494
+ path: "email-service/mail/room/:id";
10482
10495
  responses: {
10483
10496
  401: import("zod").ZodObject<{
10484
10497
  message: import("zod").ZodString;
@@ -10510,8 +10523,9 @@ export declare const mailContract: {
10510
10523
  message: string;
10511
10524
  error?: any;
10512
10525
  }>;
10513
- 200: import("zod").ZodObject<{
10526
+ 200: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
10514
10527
  requestId: import("zod").ZodString;
10528
+ }, {
10515
10529
  data: import("zod").ZodObject<{
10516
10530
  id: import("zod").ZodString;
10517
10531
  createdAt: import("zod").ZodDate;
@@ -15656,11 +15670,12 @@ export declare const mailContract: {
15656
15670
  };
15657
15671
  }>;
15658
15672
  unReadMessageCount: import("zod").ZodNumber;
15659
- cxlog: import("zod").ZodObject<{
15673
+ cxlog: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
15660
15674
  id: import("zod").ZodString;
15661
15675
  createdAt: import("zod").ZodDate;
15662
15676
  updatedAt: import("zod").ZodDate;
15663
15677
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
15678
+ }, {
15664
15679
  caseId: import("zod").ZodNumber;
15665
15680
  entityId: import("zod").ZodString;
15666
15681
  entityName: import("zod").ZodString;
@@ -15672,21 +15687,23 @@ export declare const mailContract: {
15672
15687
  startedDate: import("zod").ZodNullable<import("zod").ZodDate>;
15673
15688
  handledTime: import("zod").ZodNullable<import("zod").ZodNumber>;
15674
15689
  firstResponseTime: import("zod").ZodNullable<import("zod").ZodNumber>;
15675
- wrapUpForm: import("zod").ZodNullable<import("zod").ZodObject<{
15690
+ wrapUpForm: import("zod").ZodNullable<import("zod").ZodObject<import("zod").objectUtil.extendShape<{
15676
15691
  id: import("zod").ZodString;
15677
15692
  createdAt: import("zod").ZodDate;
15678
15693
  updatedAt: import("zod").ZodDate;
15679
15694
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
15695
+ }, {
15680
15696
  note: import("zod").ZodNullable<import("zod").ZodString>;
15681
15697
  disposition: import("zod").ZodNullable<import("zod").ZodString>;
15682
15698
  type: import("zod").ZodString;
15683
- tags: import("zod").ZodArray<import("zod").ZodObject<{
15699
+ tags: import("zod").ZodArray<import("zod").ZodObject<import("zod").objectUtil.extendShape<{
15684
15700
  id: import("zod").ZodString;
15685
15701
  createdAt: import("zod").ZodDate;
15686
15702
  updatedAt: import("zod").ZodDate;
15687
15703
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
15704
+ }, {
15688
15705
  name: import("zod").ZodString;
15689
- }, "strip", import("zod").ZodTypeAny, {
15706
+ }>, "strip", import("zod").ZodTypeAny, {
15690
15707
  id: string;
15691
15708
  name: string;
15692
15709
  createdAt: Date;
@@ -15699,11 +15716,12 @@ export declare const mailContract: {
15699
15716
  updatedAt: Date;
15700
15717
  deletedAt: Date | null;
15701
15718
  }>, "many">;
15702
- categories: import("zod").ZodArray<import("zod").ZodObject<{
15719
+ categories: import("zod").ZodArray<import("zod").ZodObject<import("zod").objectUtil.extendShape<{
15703
15720
  id: import("zod").ZodString;
15704
15721
  createdAt: import("zod").ZodDate;
15705
15722
  updatedAt: import("zod").ZodDate;
15706
15723
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
15724
+ }, {
15707
15725
  value: import("zod").ZodString;
15708
15726
  level: import("zod").ZodUnion<[import("zod").ZodLiteral<1>, import("zod").ZodLiteral<2>, import("zod").ZodLiteral<3>]>;
15709
15727
  parentId: import("zod").ZodNullable<import("zod").ZodString>;
@@ -15756,7 +15774,7 @@ export declare const mailContract: {
15756
15774
  childCategoryList: any[];
15757
15775
  }[];
15758
15776
  }>, "many">;
15759
- }, "strip", import("zod").ZodTypeAny, {
15777
+ }>, "strip", import("zod").ZodTypeAny, {
15760
15778
  id: string;
15761
15779
  value: string;
15762
15780
  createdAt: Date;
@@ -15835,7 +15853,7 @@ export declare const mailContract: {
15835
15853
  numberValue: number | null;
15836
15854
  dateValue: Date | null;
15837
15855
  }>, "many">>>;
15838
- }, "strip", import("zod").ZodTypeAny, {
15856
+ }>, "strip", import("zod").ZodTypeAny, {
15839
15857
  type: string;
15840
15858
  id: string;
15841
15859
  disposition: string | null;
@@ -15938,7 +15956,7 @@ export declare const mailContract: {
15938
15956
  dateValue: Date | null;
15939
15957
  }[] | null | undefined;
15940
15958
  }>>;
15941
- }, "strip", import("zod").ZodTypeAny, {
15959
+ }>, "strip", import("zod").ZodTypeAny, {
15942
15960
  id: string;
15943
15961
  channel: string | null;
15944
15962
  direction: string | null;
@@ -17970,7 +17988,7 @@ export declare const mailContract: {
17970
17988
  };
17971
17989
  unReadMessageCount: number;
17972
17990
  }>;
17973
- }, "strip", import("zod").ZodTypeAny, {
17991
+ }>, "strip", import("zod").ZodTypeAny, {
17974
17992
  data: {
17975
17993
  id: string;
17976
17994
  direction: string;
@@ -19872,7 +19890,6 @@ export declare const mailContract: {
19872
19890
  requestId: string;
19873
19891
  }>;
19874
19892
  };
19875
- path: "email-service/mail/room/:id";
19876
19893
  };
19877
19894
  markAsRead: {
19878
19895
  body: import("zod").ZodObject<{
@@ -19884,6 +19901,7 @@ export declare const mailContract: {
19884
19901
  }>;
19885
19902
  summary: "Mark all the unread messages of a room as read";
19886
19903
  method: "POST";
19904
+ path: "email-service/mail/room/mark_as_read";
19887
19905
  responses: {
19888
19906
  401: import("zod").ZodObject<{
19889
19907
  message: import("zod").ZodString;
@@ -19915,10 +19933,11 @@ export declare const mailContract: {
19915
19933
  message: string;
19916
19934
  error?: any;
19917
19935
  }>;
19918
- 200: import("zod").ZodObject<{
19936
+ 200: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
19919
19937
  requestId: import("zod").ZodString;
19938
+ }, {
19920
19939
  message: import("zod").ZodString;
19921
- }, "strip", import("zod").ZodTypeAny, {
19940
+ }>, "strip", import("zod").ZodTypeAny, {
19922
19941
  message: string;
19923
19942
  requestId: string;
19924
19943
  }, {
@@ -19926,7 +19945,6 @@ export declare const mailContract: {
19926
19945
  requestId: string;
19927
19946
  }>;
19928
19947
  };
19929
- path: "email-service/mail/room/mark_as_read";
19930
19948
  };
19931
19949
  getById: {
19932
19950
  summary: "Get a mail room by id";
@@ -19938,6 +19956,7 @@ export declare const mailContract: {
19938
19956
  }, {
19939
19957
  id: string;
19940
19958
  }>;
19959
+ path: "email-service/mail/room/:id";
19941
19960
  responses: {
19942
19961
  401: import("zod").ZodObject<{
19943
19962
  message: import("zod").ZodString;
@@ -19969,8 +19988,9 @@ export declare const mailContract: {
19969
19988
  message: string;
19970
19989
  error?: any;
19971
19990
  }>;
19972
- 200: import("zod").ZodObject<{
19991
+ 200: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
19973
19992
  requestId: import("zod").ZodString;
19993
+ }, {
19974
19994
  data: import("zod").ZodObject<{
19975
19995
  id: import("zod").ZodString;
19976
19996
  createdAt: import("zod").ZodDate;
@@ -25115,11 +25135,12 @@ export declare const mailContract: {
25115
25135
  };
25116
25136
  }>;
25117
25137
  unReadMessageCount: import("zod").ZodNumber;
25118
- cxlog: import("zod").ZodObject<{
25138
+ cxlog: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
25119
25139
  id: import("zod").ZodString;
25120
25140
  createdAt: import("zod").ZodDate;
25121
25141
  updatedAt: import("zod").ZodDate;
25122
25142
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
25143
+ }, {
25123
25144
  caseId: import("zod").ZodNumber;
25124
25145
  entityId: import("zod").ZodString;
25125
25146
  entityName: import("zod").ZodString;
@@ -25131,21 +25152,23 @@ export declare const mailContract: {
25131
25152
  startedDate: import("zod").ZodNullable<import("zod").ZodDate>;
25132
25153
  handledTime: import("zod").ZodNullable<import("zod").ZodNumber>;
25133
25154
  firstResponseTime: import("zod").ZodNullable<import("zod").ZodNumber>;
25134
- wrapUpForm: import("zod").ZodNullable<import("zod").ZodObject<{
25155
+ wrapUpForm: import("zod").ZodNullable<import("zod").ZodObject<import("zod").objectUtil.extendShape<{
25135
25156
  id: import("zod").ZodString;
25136
25157
  createdAt: import("zod").ZodDate;
25137
25158
  updatedAt: import("zod").ZodDate;
25138
25159
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
25160
+ }, {
25139
25161
  note: import("zod").ZodNullable<import("zod").ZodString>;
25140
25162
  disposition: import("zod").ZodNullable<import("zod").ZodString>;
25141
25163
  type: import("zod").ZodString;
25142
- tags: import("zod").ZodArray<import("zod").ZodObject<{
25164
+ tags: import("zod").ZodArray<import("zod").ZodObject<import("zod").objectUtil.extendShape<{
25143
25165
  id: import("zod").ZodString;
25144
25166
  createdAt: import("zod").ZodDate;
25145
25167
  updatedAt: import("zod").ZodDate;
25146
25168
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
25169
+ }, {
25147
25170
  name: import("zod").ZodString;
25148
- }, "strip", import("zod").ZodTypeAny, {
25171
+ }>, "strip", import("zod").ZodTypeAny, {
25149
25172
  id: string;
25150
25173
  name: string;
25151
25174
  createdAt: Date;
@@ -25158,11 +25181,12 @@ export declare const mailContract: {
25158
25181
  updatedAt: Date;
25159
25182
  deletedAt: Date | null;
25160
25183
  }>, "many">;
25161
- categories: import("zod").ZodArray<import("zod").ZodObject<{
25184
+ categories: import("zod").ZodArray<import("zod").ZodObject<import("zod").objectUtil.extendShape<{
25162
25185
  id: import("zod").ZodString;
25163
25186
  createdAt: import("zod").ZodDate;
25164
25187
  updatedAt: import("zod").ZodDate;
25165
25188
  deletedAt: import("zod").ZodNullable<import("zod").ZodDate>;
25189
+ }, {
25166
25190
  value: import("zod").ZodString;
25167
25191
  level: import("zod").ZodUnion<[import("zod").ZodLiteral<1>, import("zod").ZodLiteral<2>, import("zod").ZodLiteral<3>]>;
25168
25192
  parentId: import("zod").ZodNullable<import("zod").ZodString>;
@@ -25215,7 +25239,7 @@ export declare const mailContract: {
25215
25239
  childCategoryList: any[];
25216
25240
  }[];
25217
25241
  }>, "many">;
25218
- }, "strip", import("zod").ZodTypeAny, {
25242
+ }>, "strip", import("zod").ZodTypeAny, {
25219
25243
  id: string;
25220
25244
  value: string;
25221
25245
  createdAt: Date;
@@ -25294,7 +25318,7 @@ export declare const mailContract: {
25294
25318
  numberValue: number | null;
25295
25319
  dateValue: Date | null;
25296
25320
  }>, "many">>>;
25297
- }, "strip", import("zod").ZodTypeAny, {
25321
+ }>, "strip", import("zod").ZodTypeAny, {
25298
25322
  type: string;
25299
25323
  id: string;
25300
25324
  disposition: string | null;
@@ -25397,7 +25421,7 @@ export declare const mailContract: {
25397
25421
  dateValue: Date | null;
25398
25422
  }[] | null | undefined;
25399
25423
  }>>;
25400
- }, "strip", import("zod").ZodTypeAny, {
25424
+ }>, "strip", import("zod").ZodTypeAny, {
25401
25425
  id: string;
25402
25426
  channel: string | null;
25403
25427
  direction: string | null;
@@ -27429,7 +27453,7 @@ export declare const mailContract: {
27429
27453
  };
27430
27454
  unReadMessageCount: number;
27431
27455
  }>;
27432
- }, "strip", import("zod").ZodTypeAny, {
27456
+ }>, "strip", import("zod").ZodTypeAny, {
27433
27457
  data: {
27434
27458
  id: string;
27435
27459
  direction: string;
@@ -29331,7 +29355,6 @@ export declare const mailContract: {
29331
29355
  requestId: string;
29332
29356
  }>;
29333
29357
  };
29334
- path: "email-service/mail/room/:id";
29335
29358
  };
29336
29359
  };
29337
29360
  message: {
@@ -29425,6 +29448,14 @@ export declare const mailContract: {
29425
29448
  address: string;
29426
29449
  name?: string | undefined;
29427
29450
  };
29451
+ attachments?: {
29452
+ fileName: string;
29453
+ fileType: string;
29454
+ fileKey: string;
29455
+ bucketName: string;
29456
+ fileSize: number;
29457
+ presignedUrl: string;
29458
+ }[] | undefined;
29428
29459
  cc?: {
29429
29460
  address: string;
29430
29461
  name?: string | undefined;
@@ -29438,14 +29469,6 @@ export declare const mailContract: {
29438
29469
  action: "forward" | "reply";
29439
29470
  messageId: string;
29440
29471
  } | undefined;
29441
- attachments?: {
29442
- fileName: string;
29443
- fileType: string;
29444
- fileKey: string;
29445
- bucketName: string;
29446
- fileSize: number;
29447
- presignedUrl: string;
29448
- }[] | undefined;
29449
29472
  }, {
29450
29473
  html: string;
29451
29474
  text: string;
@@ -29458,6 +29481,14 @@ export declare const mailContract: {
29458
29481
  address: string;
29459
29482
  name?: string | undefined;
29460
29483
  };
29484
+ attachments?: {
29485
+ fileName: string;
29486
+ fileType: string;
29487
+ fileKey: string;
29488
+ bucketName: string;
29489
+ fileSize: number;
29490
+ presignedUrl: string;
29491
+ }[] | undefined;
29461
29492
  cc?: {
29462
29493
  address: string;
29463
29494
  name?: string | undefined;
@@ -29471,17 +29502,10 @@ export declare const mailContract: {
29471
29502
  action: "forward" | "reply";
29472
29503
  messageId: string;
29473
29504
  } | undefined;
29474
- attachments?: {
29475
- fileName: string;
29476
- fileType: string;
29477
- fileKey: string;
29478
- bucketName: string;
29479
- fileSize: number;
29480
- presignedUrl: string;
29481
- }[] | undefined;
29482
29505
  }>;
29483
29506
  summary: "Submit a message such as compose, reply or forward";
29484
29507
  method: "POST";
29508
+ path: "email-service/mail/message/submit";
29485
29509
  responses: {
29486
29510
  500: import("zod").ZodObject<{
29487
29511
  message: import("zod").ZodString;
@@ -29523,8 +29547,9 @@ export declare const mailContract: {
29523
29547
  message: string;
29524
29548
  error?: any;
29525
29549
  }>;
29526
- 200: import("zod").ZodObject<{
29550
+ 200: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
29527
29551
  requestId: import("zod").ZodString;
29552
+ }, {
29528
29553
  data: import("zod").ZodObject<{
29529
29554
  response: import("zod").ZodString;
29530
29555
  messageId: import("zod").ZodString;
@@ -29541,7 +29566,7 @@ export declare const mailContract: {
29541
29566
  messageId: string;
29542
29567
  sendAt: string;
29543
29568
  }>;
29544
- }, "strip", import("zod").ZodTypeAny, {
29569
+ }>, "strip", import("zod").ZodTypeAny, {
29545
29570
  data: {
29546
29571
  response: string;
29547
29572
  queueId: string;
@@ -29559,11 +29584,11 @@ export declare const mailContract: {
29559
29584
  requestId: string;
29560
29585
  }>;
29561
29586
  };
29562
- path: "email-service/mail/message/submit";
29563
29587
  };
29564
29588
  getTotalUnreadMessageCount: {
29565
29589
  summary: "Get total unread messages counts";
29566
29590
  method: "GET";
29591
+ path: "email-service/mail/message/new_message_count";
29567
29592
  responses: {
29568
29593
  401: import("zod").ZodObject<{
29569
29594
  message: import("zod").ZodString;
@@ -29595,8 +29620,9 @@ export declare const mailContract: {
29595
29620
  message: string;
29596
29621
  error?: any;
29597
29622
  }>;
29598
- 200: import("zod").ZodObject<{
29623
+ 200: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
29599
29624
  requestId: import("zod").ZodString;
29625
+ }, {
29600
29626
  data: import("zod").ZodObject<{
29601
29627
  count: import("zod").ZodNumber;
29602
29628
  }, "strip", import("zod").ZodTypeAny, {
@@ -29604,7 +29630,7 @@ export declare const mailContract: {
29604
29630
  }, {
29605
29631
  count: number;
29606
29632
  }>;
29607
- }, "strip", import("zod").ZodTypeAny, {
29633
+ }>, "strip", import("zod").ZodTypeAny, {
29608
29634
  data: {
29609
29635
  count: number;
29610
29636
  };
@@ -29616,7 +29642,6 @@ export declare const mailContract: {
29616
29642
  requestId: string;
29617
29643
  }>;
29618
29644
  };
29619
- path: "email-service/mail/message/new_message_count";
29620
29645
  };
29621
29646
  getById: {
29622
29647
  summary: "Get a message";
@@ -29628,6 +29653,7 @@ export declare const mailContract: {
29628
29653
  }, {
29629
29654
  id: string;
29630
29655
  }>;
29656
+ path: "email-service/mail/message/:id";
29631
29657
  responses: {
29632
29658
  401: import("zod").ZodObject<{
29633
29659
  message: import("zod").ZodString;
@@ -29659,8 +29685,9 @@ export declare const mailContract: {
29659
29685
  message: string;
29660
29686
  error?: any;
29661
29687
  }>;
29662
- 200: import("zod").ZodObject<{
29688
+ 200: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
29663
29689
  requestId: import("zod").ZodString;
29690
+ }, {
29664
29691
  data: import("zod").ZodObject<{
29665
29692
  id: import("zod").ZodString;
29666
29693
  createdAt: import("zod").ZodDate;
@@ -30730,7 +30757,7 @@ export declare const mailContract: {
30730
30757
  starred: boolean;
30731
30758
  seemsLikeNew: boolean;
30732
30759
  }>;
30733
- }, "strip", import("zod").ZodTypeAny, {
30760
+ }>, "strip", import("zod").ZodTypeAny, {
30734
30761
  data: {
30735
30762
  id: string;
30736
30763
  direction: string;
@@ -31074,7 +31101,6 @@ export declare const mailContract: {
31074
31101
  requestId: string;
31075
31102
  }>;
31076
31103
  };
31077
- path: "email-service/mail/message/:id";
31078
31104
  };
31079
31105
  update: {
31080
31106
  body: import("zod").ZodObject<{
@@ -31811,24 +31837,13 @@ export declare const mailContract: {
31811
31837
  }>, "many">>;
31812
31838
  }, "strip", import("zod").ZodTypeAny, {
31813
31839
  id?: string | undefined;
31840
+ direction?: string | undefined;
31841
+ action?: string | undefined;
31842
+ date?: Date | undefined;
31814
31843
  createdAt?: Date | undefined;
31815
31844
  updatedAt?: Date | undefined;
31816
31845
  deletedAt?: Date | null | undefined;
31817
31846
  roomId?: string | undefined;
31818
- subject?: string | undefined;
31819
- textPlain?: string | undefined;
31820
- textHtml?: string | undefined;
31821
- textId?: string | undefined;
31822
- emailEngineEmailId?: string | undefined;
31823
- emailEngineMessageId?: string | undefined;
31824
- emailEngineReplyTo?: string | null | undefined;
31825
- direction?: string | undefined;
31826
- date?: Date | undefined;
31827
- action?: string | undefined;
31828
- unseen?: boolean | undefined;
31829
- sendAt?: Date | undefined;
31830
- starred?: boolean | undefined;
31831
- seemsLikeNew?: boolean | undefined;
31832
31847
  from?: {
31833
31848
  id: string;
31834
31849
  createdAt: Date;
@@ -31860,69 +31875,32 @@ export declare const mailContract: {
31860
31875
  isNewContact: boolean;
31861
31876
  };
31862
31877
  }[] | undefined;
31863
- to?: {
31878
+ attachments?: {
31864
31879
  id: string;
31865
31880
  createdAt: Date;
31866
31881
  updatedAt: Date;
31867
31882
  deletedAt: Date | null;
31868
- roomId: string;
31869
- messageId: string;
31870
- mailUserId: string;
31871
- mailUser: {
31883
+ fileName: string;
31884
+ fileType: string;
31885
+ uploadId: string;
31886
+ upload: {
31872
31887
  id: string;
31873
- address: string;
31874
- name: string;
31875
31888
  createdAt: Date;
31876
31889
  updatedAt: Date;
31877
31890
  deletedAt: Date | null;
31878
- contact: {
31879
- id: string;
31880
- channel: string | null;
31881
- address: string | null;
31882
- name: string;
31883
- createdAt: Date;
31884
- updatedAt: Date;
31885
- deletedAt: Date | null;
31886
- notes: string | null;
31887
- contactProfile: string | null;
31888
- socialProfileUrl: string | null;
31889
- };
31890
- contactId: string;
31891
- isNewContact: boolean;
31891
+ extensionName: string;
31892
+ fileName: string;
31893
+ fileKey: string;
31894
+ bucketName: string;
31895
+ fileSize: number;
31896
+ fileUrl: string;
31892
31897
  };
31893
- }[] | undefined;
31894
- cc?: {
31895
- id: string;
31896
- createdAt: Date;
31897
- updatedAt: Date;
31898
- deletedAt: Date | null;
31899
31898
  roomId: string;
31900
31899
  messageId: string;
31901
- mailUserId: string;
31902
- mailUser: {
31903
- id: string;
31904
- address: string;
31905
- name: string;
31906
- createdAt: Date;
31907
- updatedAt: Date;
31908
- deletedAt: Date | null;
31909
- contact: {
31910
- id: string;
31911
- channel: string | null;
31912
- address: string | null;
31913
- name: string;
31914
- createdAt: Date;
31915
- updatedAt: Date;
31916
- deletedAt: Date | null;
31917
- notes: string | null;
31918
- contactProfile: string | null;
31919
- socialProfileUrl: string | null;
31920
- };
31921
- contactId: string;
31922
- isNewContact: boolean;
31923
- };
31900
+ emailEngineAttachmentId: string;
31924
31901
  }[] | undefined;
31925
- bcc?: {
31902
+ subject?: string | undefined;
31903
+ to?: {
31926
31904
  id: string;
31927
31905
  createdAt: Date;
31928
31906
  updatedAt: Date;
@@ -31953,51 +31931,7 @@ export declare const mailContract: {
31953
31931
  isNewContact: boolean;
31954
31932
  };
31955
31933
  }[] | undefined;
31956
- attachments?: {
31957
- id: string;
31958
- createdAt: Date;
31959
- updatedAt: Date;
31960
- deletedAt: Date | null;
31961
- fileName: string;
31962
- fileType: string;
31963
- uploadId: string;
31964
- upload: {
31965
- id: string;
31966
- createdAt: Date;
31967
- updatedAt: Date;
31968
- deletedAt: Date | null;
31969
- extensionName: string;
31970
- fileName: string;
31971
- fileKey: string;
31972
- bucketName: string;
31973
- fileSize: number;
31974
- fileUrl: string;
31975
- };
31976
- roomId: string;
31977
- messageId: string;
31978
- emailEngineAttachmentId: string;
31979
- }[] | undefined;
31980
- }, {
31981
- id?: string | undefined;
31982
- createdAt?: Date | undefined;
31983
- updatedAt?: Date | undefined;
31984
- deletedAt?: Date | null | undefined;
31985
- roomId?: string | undefined;
31986
- subject?: string | undefined;
31987
- textPlain?: string | undefined;
31988
- textHtml?: string | undefined;
31989
- textId?: string | undefined;
31990
- emailEngineEmailId?: string | undefined;
31991
- emailEngineMessageId?: string | undefined;
31992
- emailEngineReplyTo?: string | null | undefined;
31993
- direction?: string | undefined;
31994
- date?: Date | undefined;
31995
- action?: string | undefined;
31996
- unseen?: boolean | undefined;
31997
- sendAt?: Date | undefined;
31998
- starred?: boolean | undefined;
31999
- seemsLikeNew?: boolean | undefined;
32000
- from?: {
31934
+ cc?: {
32001
31935
  id: string;
32002
31936
  createdAt: Date;
32003
31937
  updatedAt: Date;
@@ -32028,7 +31962,7 @@ export declare const mailContract: {
32028
31962
  isNewContact: boolean;
32029
31963
  };
32030
31964
  }[] | undefined;
32031
- to?: {
31965
+ bcc?: {
32032
31966
  id: string;
32033
31967
  createdAt: Date;
32034
31968
  updatedAt: Date;
@@ -32059,7 +31993,26 @@ export declare const mailContract: {
32059
31993
  isNewContact: boolean;
32060
31994
  };
32061
31995
  }[] | undefined;
32062
- cc?: {
31996
+ sendAt?: Date | undefined;
31997
+ textPlain?: string | undefined;
31998
+ textHtml?: string | undefined;
31999
+ textId?: string | undefined;
32000
+ emailEngineEmailId?: string | undefined;
32001
+ emailEngineMessageId?: string | undefined;
32002
+ emailEngineReplyTo?: string | null | undefined;
32003
+ unseen?: boolean | undefined;
32004
+ starred?: boolean | undefined;
32005
+ seemsLikeNew?: boolean | undefined;
32006
+ }, {
32007
+ id?: string | undefined;
32008
+ direction?: string | undefined;
32009
+ action?: string | undefined;
32010
+ date?: Date | undefined;
32011
+ createdAt?: Date | undefined;
32012
+ updatedAt?: Date | undefined;
32013
+ deletedAt?: Date | null | undefined;
32014
+ roomId?: string | undefined;
32015
+ from?: {
32063
32016
  id: string;
32064
32017
  createdAt: Date;
32065
32018
  updatedAt: Date;
@@ -32090,7 +32043,32 @@ export declare const mailContract: {
32090
32043
  isNewContact: boolean;
32091
32044
  };
32092
32045
  }[] | undefined;
32093
- bcc?: {
32046
+ attachments?: {
32047
+ id: string;
32048
+ createdAt: Date;
32049
+ updatedAt: Date;
32050
+ deletedAt: Date | null;
32051
+ fileName: string;
32052
+ fileType: string;
32053
+ uploadId: string;
32054
+ upload: {
32055
+ id: string;
32056
+ createdAt: Date;
32057
+ updatedAt: Date;
32058
+ deletedAt: Date | null;
32059
+ extensionName: string;
32060
+ fileName: string;
32061
+ fileKey: string;
32062
+ bucketName: string;
32063
+ fileSize: number;
32064
+ fileUrl: string;
32065
+ };
32066
+ roomId: string;
32067
+ messageId: string;
32068
+ emailEngineAttachmentId: string;
32069
+ }[] | undefined;
32070
+ subject?: string | undefined;
32071
+ to?: {
32094
32072
  id: string;
32095
32073
  createdAt: Date;
32096
32074
  updatedAt: Date;
@@ -32121,30 +32099,78 @@ export declare const mailContract: {
32121
32099
  isNewContact: boolean;
32122
32100
  };
32123
32101
  }[] | undefined;
32124
- attachments?: {
32102
+ cc?: {
32125
32103
  id: string;
32126
32104
  createdAt: Date;
32127
32105
  updatedAt: Date;
32128
32106
  deletedAt: Date | null;
32129
- fileName: string;
32130
- fileType: string;
32131
- uploadId: string;
32132
- upload: {
32107
+ roomId: string;
32108
+ messageId: string;
32109
+ mailUserId: string;
32110
+ mailUser: {
32133
32111
  id: string;
32112
+ address: string;
32113
+ name: string;
32134
32114
  createdAt: Date;
32135
32115
  updatedAt: Date;
32136
32116
  deletedAt: Date | null;
32137
- extensionName: string;
32138
- fileName: string;
32139
- fileKey: string;
32140
- bucketName: string;
32141
- fileSize: number;
32142
- fileUrl: string;
32117
+ contact: {
32118
+ id: string;
32119
+ channel: string | null;
32120
+ address: string | null;
32121
+ name: string;
32122
+ createdAt: Date;
32123
+ updatedAt: Date;
32124
+ deletedAt: Date | null;
32125
+ notes: string | null;
32126
+ contactProfile: string | null;
32127
+ socialProfileUrl: string | null;
32128
+ };
32129
+ contactId: string;
32130
+ isNewContact: boolean;
32143
32131
  };
32132
+ }[] | undefined;
32133
+ bcc?: {
32134
+ id: string;
32135
+ createdAt: Date;
32136
+ updatedAt: Date;
32137
+ deletedAt: Date | null;
32144
32138
  roomId: string;
32145
32139
  messageId: string;
32146
- emailEngineAttachmentId: string;
32140
+ mailUserId: string;
32141
+ mailUser: {
32142
+ id: string;
32143
+ address: string;
32144
+ name: string;
32145
+ createdAt: Date;
32146
+ updatedAt: Date;
32147
+ deletedAt: Date | null;
32148
+ contact: {
32149
+ id: string;
32150
+ channel: string | null;
32151
+ address: string | null;
32152
+ name: string;
32153
+ createdAt: Date;
32154
+ updatedAt: Date;
32155
+ deletedAt: Date | null;
32156
+ notes: string | null;
32157
+ contactProfile: string | null;
32158
+ socialProfileUrl: string | null;
32159
+ };
32160
+ contactId: string;
32161
+ isNewContact: boolean;
32162
+ };
32147
32163
  }[] | undefined;
32164
+ sendAt?: Date | undefined;
32165
+ textPlain?: string | undefined;
32166
+ textHtml?: string | undefined;
32167
+ textId?: string | undefined;
32168
+ emailEngineEmailId?: string | undefined;
32169
+ emailEngineMessageId?: string | undefined;
32170
+ emailEngineReplyTo?: string | null | undefined;
32171
+ unseen?: boolean | undefined;
32172
+ starred?: boolean | undefined;
32173
+ seemsLikeNew?: boolean | undefined;
32148
32174
  }>;
32149
32175
  summary: "Update a message";
32150
32176
  method: "PATCH";
@@ -32155,6 +32181,7 @@ export declare const mailContract: {
32155
32181
  }, {
32156
32182
  id: string;
32157
32183
  }>;
32184
+ path: "email-service/mail/message/:id";
32158
32185
  responses: {
32159
32186
  401: import("zod").ZodObject<{
32160
32187
  message: import("zod").ZodString;
@@ -32186,8 +32213,9 @@ export declare const mailContract: {
32186
32213
  message: string;
32187
32214
  error?: any;
32188
32215
  }>;
32189
- 200: import("zod").ZodObject<{
32216
+ 200: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
32190
32217
  requestId: import("zod").ZodString;
32218
+ }, {
32191
32219
  data: import("zod").ZodObject<{
32192
32220
  id: import("zod").ZodString;
32193
32221
  createdAt: import("zod").ZodDate;
@@ -33257,7 +33285,7 @@ export declare const mailContract: {
33257
33285
  starred: boolean;
33258
33286
  seemsLikeNew: boolean;
33259
33287
  }>;
33260
- }, "strip", import("zod").ZodTypeAny, {
33288
+ }>, "strip", import("zod").ZodTypeAny, {
33261
33289
  data: {
33262
33290
  id: string;
33263
33291
  direction: string;
@@ -33601,7 +33629,6 @@ export declare const mailContract: {
33601
33629
  requestId: string;
33602
33630
  }>;
33603
33631
  };
33604
- path: "email-service/mail/message/:id";
33605
33632
  };
33606
33633
  delete: {
33607
33634
  body: null;
@@ -33614,6 +33641,7 @@ export declare const mailContract: {
33614
33641
  }, {
33615
33642
  id: string;
33616
33643
  }>;
33644
+ path: "email-service/mail/message/:id";
33617
33645
  responses: {
33618
33646
  401: import("zod").ZodObject<{
33619
33647
  message: import("zod").ZodString;
@@ -33645,8 +33673,9 @@ export declare const mailContract: {
33645
33673
  message: string;
33646
33674
  error?: any;
33647
33675
  }>;
33648
- 200: import("zod").ZodObject<{
33676
+ 200: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
33649
33677
  requestId: import("zod").ZodString;
33678
+ }, {
33650
33679
  data: import("zod").ZodObject<{
33651
33680
  id: import("zod").ZodString;
33652
33681
  createdAt: import("zod").ZodDate;
@@ -34716,7 +34745,7 @@ export declare const mailContract: {
34716
34745
  starred: boolean;
34717
34746
  seemsLikeNew: boolean;
34718
34747
  }>;
34719
- }, "strip", import("zod").ZodTypeAny, {
34748
+ }>, "strip", import("zod").ZodTypeAny, {
34720
34749
  data: {
34721
34750
  id: string;
34722
34751
  direction: string;
@@ -35060,7 +35089,6 @@ export declare const mailContract: {
35060
35089
  requestId: string;
35061
35090
  }>;
35062
35091
  };
35063
- path: "email-service/mail/message/:id";
35064
35092
  };
35065
35093
  cancelScheduledMessage: {
35066
35094
  body: null;
@@ -35073,6 +35101,7 @@ export declare const mailContract: {
35073
35101
  }, {
35074
35102
  id: string;
35075
35103
  }>;
35104
+ path: "email-service/mail/message/scheduled_message/:id";
35076
35105
  responses: {
35077
35106
  401: import("zod").ZodObject<{
35078
35107
  message: import("zod").ZodString;
@@ -35104,8 +35133,9 @@ export declare const mailContract: {
35104
35133
  message: string;
35105
35134
  error?: any;
35106
35135
  }>;
35107
- 200: import("zod").ZodObject<{
35136
+ 200: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
35108
35137
  requestId: import("zod").ZodString;
35138
+ }, {
35109
35139
  data: import("zod").ZodObject<{
35110
35140
  id: import("zod").ZodString;
35111
35141
  createdAt: import("zod").ZodDate;
@@ -36175,7 +36205,7 @@ export declare const mailContract: {
36175
36205
  starred: boolean;
36176
36206
  seemsLikeNew: boolean;
36177
36207
  }>;
36178
- }, "strip", import("zod").ZodTypeAny, {
36208
+ }>, "strip", import("zod").ZodTypeAny, {
36179
36209
  data: {
36180
36210
  id: string;
36181
36211
  direction: string;
@@ -36519,7 +36549,6 @@ export declare const mailContract: {
36519
36549
  requestId: string;
36520
36550
  }>;
36521
36551
  };
36522
- path: "email-service/mail/message/scheduled_message/:id";
36523
36552
  };
36524
36553
  };
36525
36554
  account: {
@@ -36542,6 +36571,23 @@ export declare const mailContract: {
36542
36571
  }>;
36543
36572
  summary: "Register a new mail account";
36544
36573
  method: "POST";
36574
+ path: "email-service/mail/account";
36575
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
36576
+ 'x-tenant': import("zod").ZodString;
36577
+ authorization: import("zod").ZodString;
36578
+ 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
36579
+ 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
36580
+ }, "strip", import("zod").ZodTypeAny, {
36581
+ 'x-tenant': string;
36582
+ authorization: string;
36583
+ 'x-client-timezone': string;
36584
+ 'x-code'?: string | undefined;
36585
+ }, {
36586
+ 'x-tenant': string;
36587
+ authorization: string;
36588
+ 'x-code'?: string | undefined;
36589
+ 'x-client-timezone'?: string | undefined;
36590
+ }>>>;
36545
36591
  responses: {
36546
36592
  401: import("zod").ZodObject<{
36547
36593
  message: import("zod").ZodString;
@@ -36573,8 +36619,9 @@ export declare const mailContract: {
36573
36619
  message: string;
36574
36620
  error?: any;
36575
36621
  }>;
36576
- 201: import("zod").ZodObject<{
36622
+ 201: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
36577
36623
  requestId: import("zod").ZodString;
36624
+ }, {
36578
36625
  data: import("zod").ZodObject<{
36579
36626
  id: import("zod").ZodString;
36580
36627
  createdAt: import("zod").ZodDate;
@@ -36679,7 +36726,7 @@ export declare const mailContract: {
36679
36726
  useTlsForImap: boolean;
36680
36727
  };
36681
36728
  }>;
36682
- }, "strip", import("zod").ZodTypeAny, {
36729
+ }>, "strip", import("zod").ZodTypeAny, {
36683
36730
  data: {
36684
36731
  id: string;
36685
36732
  state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
@@ -36758,7 +36805,11 @@ export declare const mailContract: {
36758
36805
  message: string;
36759
36806
  }>;
36760
36807
  };
36761
- path: "email-service/mail/account";
36808
+ };
36809
+ sync: {
36810
+ summary: "Sync all accounts state from email engine to system";
36811
+ method: "GET";
36812
+ path: "email-service/mail/account/sync";
36762
36813
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
36763
36814
  'x-tenant': import("zod").ZodString;
36764
36815
  authorization: import("zod").ZodString;
@@ -36775,10 +36826,6 @@ export declare const mailContract: {
36775
36826
  'x-code'?: string | undefined;
36776
36827
  'x-client-timezone'?: string | undefined;
36777
36828
  }>>>;
36778
- };
36779
- sync: {
36780
- summary: "Sync all accounts state from email engine to system";
36781
- method: "GET";
36782
36829
  responses: {
36783
36830
  401: import("zod").ZodObject<{
36784
36831
  message: import("zod").ZodString;
@@ -36810,10 +36857,11 @@ export declare const mailContract: {
36810
36857
  message: string;
36811
36858
  error?: any;
36812
36859
  }>;
36813
- 200: import("zod").ZodObject<{
36860
+ 200: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
36814
36861
  requestId: import("zod").ZodString;
36862
+ }, {
36815
36863
  message: import("zod").ZodString;
36816
- }, "strip", import("zod").ZodTypeAny, {
36864
+ }>, "strip", import("zod").ZodTypeAny, {
36817
36865
  message: string;
36818
36866
  requestId: string;
36819
36867
  }, {
@@ -36821,7 +36869,18 @@ export declare const mailContract: {
36821
36869
  requestId: string;
36822
36870
  }>;
36823
36871
  };
36824
- path: "email-service/mail/account/sync";
36872
+ };
36873
+ getById: {
36874
+ summary: "Get an account by id";
36875
+ method: "GET";
36876
+ pathParams: import("zod").ZodObject<{
36877
+ id: import("zod").ZodString;
36878
+ }, "strip", import("zod").ZodTypeAny, {
36879
+ id: string;
36880
+ }, {
36881
+ id: string;
36882
+ }>;
36883
+ path: "email-service/mail/account/:id";
36825
36884
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
36826
36885
  'x-tenant': import("zod").ZodString;
36827
36886
  authorization: import("zod").ZodString;
@@ -36838,17 +36897,6 @@ export declare const mailContract: {
36838
36897
  'x-code'?: string | undefined;
36839
36898
  'x-client-timezone'?: string | undefined;
36840
36899
  }>>>;
36841
- };
36842
- getById: {
36843
- summary: "Get an account by id";
36844
- method: "GET";
36845
- pathParams: import("zod").ZodObject<{
36846
- id: import("zod").ZodString;
36847
- }, "strip", import("zod").ZodTypeAny, {
36848
- id: string;
36849
- }, {
36850
- id: string;
36851
- }>;
36852
36900
  responses: {
36853
36901
  401: import("zod").ZodObject<{
36854
36902
  message: import("zod").ZodString;
@@ -36880,8 +36928,9 @@ export declare const mailContract: {
36880
36928
  message: string;
36881
36929
  error?: any;
36882
36930
  }>;
36883
- 200: import("zod").ZodObject<{
36931
+ 200: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
36884
36932
  requestId: import("zod").ZodString;
36933
+ }, {
36885
36934
  data: import("zod").ZodObject<{
36886
36935
  id: import("zod").ZodString;
36887
36936
  createdAt: import("zod").ZodDate;
@@ -36986,7 +37035,7 @@ export declare const mailContract: {
36986
37035
  useTlsForImap: boolean;
36987
37036
  };
36988
37037
  }>;
36989
- }, "strip", import("zod").ZodTypeAny, {
37038
+ }>, "strip", import("zod").ZodTypeAny, {
36990
37039
  data: {
36991
37040
  id: string;
36992
37041
  state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
@@ -37044,7 +37093,21 @@ export declare const mailContract: {
37044
37093
  requestId: string;
37045
37094
  }>;
37046
37095
  };
37047
- path: "email-service/mail/account/:id";
37096
+ };
37097
+ getAll: {
37098
+ summary: "Get all accounts";
37099
+ method: "GET";
37100
+ query: import("zod").ZodOptional<import("zod").ZodObject<{
37101
+ state: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"connected">, import("zod").ZodLiteral<"disconnected">]>>;
37102
+ withDeleted: import("zod").ZodDefault<import("zod").ZodBoolean>;
37103
+ }, "strip", import("zod").ZodTypeAny, {
37104
+ withDeleted: boolean;
37105
+ state?: "connected" | "disconnected" | undefined;
37106
+ }, {
37107
+ state?: "connected" | "disconnected" | undefined;
37108
+ withDeleted?: boolean | undefined;
37109
+ }>>;
37110
+ path: "email-service/mail/account";
37048
37111
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
37049
37112
  'x-tenant': import("zod").ZodString;
37050
37113
  authorization: import("zod").ZodString;
@@ -37061,20 +37124,6 @@ export declare const mailContract: {
37061
37124
  'x-code'?: string | undefined;
37062
37125
  'x-client-timezone'?: string | undefined;
37063
37126
  }>>>;
37064
- };
37065
- getAll: {
37066
- summary: "Get all accounts";
37067
- method: "GET";
37068
- query: import("zod").ZodOptional<import("zod").ZodObject<{
37069
- state: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"connected">, import("zod").ZodLiteral<"disconnected">]>>;
37070
- withDeleted: import("zod").ZodDefault<import("zod").ZodBoolean>;
37071
- }, "strip", import("zod").ZodTypeAny, {
37072
- withDeleted: boolean;
37073
- state?: "connected" | "disconnected" | undefined;
37074
- }, {
37075
- state?: "connected" | "disconnected" | undefined;
37076
- withDeleted?: boolean | undefined;
37077
- }>>;
37078
37127
  responses: {
37079
37128
  401: import("zod").ZodObject<{
37080
37129
  message: import("zod").ZodString;
@@ -37106,8 +37155,9 @@ export declare const mailContract: {
37106
37155
  message: string;
37107
37156
  error?: any;
37108
37157
  }>;
37109
- 200: import("zod").ZodObject<{
37158
+ 200: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
37110
37159
  requestId: import("zod").ZodString;
37160
+ }, {
37111
37161
  data: import("zod").ZodArray<import("zod").ZodObject<{
37112
37162
  id: import("zod").ZodString;
37113
37163
  createdAt: import("zod").ZodDate;
@@ -37212,7 +37262,7 @@ export declare const mailContract: {
37212
37262
  useTlsForImap: boolean;
37213
37263
  };
37214
37264
  }>, "many">;
37215
- }, "strip", import("zod").ZodTypeAny, {
37265
+ }>, "strip", import("zod").ZodTypeAny, {
37216
37266
  data: {
37217
37267
  id: string;
37218
37268
  state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
@@ -37270,23 +37320,6 @@ export declare const mailContract: {
37270
37320
  requestId: string;
37271
37321
  }>;
37272
37322
  };
37273
- path: "email-service/mail/account";
37274
- headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
37275
- 'x-tenant': import("zod").ZodString;
37276
- authorization: import("zod").ZodString;
37277
- 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
37278
- 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
37279
- }, "strip", import("zod").ZodTypeAny, {
37280
- 'x-tenant': string;
37281
- authorization: string;
37282
- 'x-client-timezone': string;
37283
- 'x-code'?: string | undefined;
37284
- }, {
37285
- 'x-tenant': string;
37286
- authorization: string;
37287
- 'x-code'?: string | undefined;
37288
- 'x-client-timezone'?: string | undefined;
37289
- }>>>;
37290
37323
  };
37291
37324
  update: {
37292
37325
  body: import("zod").ZodObject<{
@@ -37344,11 +37377,12 @@ export declare const mailContract: {
37344
37377
  state: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodLiteral<"init">, import("zod").ZodLiteral<"syncing">, import("zod").ZodLiteral<"connecting">, import("zod").ZodLiteral<"connected">, import("zod").ZodLiteral<"disconnected">, import("zod").ZodLiteral<"authenticationError">, import("zod").ZodLiteral<"connectError">, import("zod").ZodLiteral<"unset">]>>;
37345
37378
  }, "strip", import("zod").ZodTypeAny, {
37346
37379
  id?: string | undefined;
37380
+ state?: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset" | undefined;
37381
+ address?: string | undefined;
37382
+ name?: string | undefined;
37347
37383
  createdAt?: Date | undefined;
37348
37384
  updatedAt?: Date | undefined;
37349
37385
  deletedAt?: Date | null | undefined;
37350
- name?: string | undefined;
37351
- address?: string | undefined;
37352
37386
  accountId?: string | undefined;
37353
37387
  mailServerId?: string | undefined;
37354
37388
  mailServer?: {
@@ -37366,14 +37400,14 @@ export declare const mailContract: {
37366
37400
  imapTlsPort: number;
37367
37401
  useTlsForImap: boolean;
37368
37402
  } | undefined;
37369
- state?: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset" | undefined;
37370
37403
  }, {
37371
37404
  id?: string | undefined;
37405
+ state?: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset" | undefined;
37406
+ address?: string | undefined;
37407
+ name?: string | undefined;
37372
37408
  createdAt?: Date | undefined;
37373
37409
  updatedAt?: Date | undefined;
37374
37410
  deletedAt?: Date | null | undefined;
37375
- name?: string | undefined;
37376
- address?: string | undefined;
37377
37411
  accountId?: string | undefined;
37378
37412
  mailServerId?: string | undefined;
37379
37413
  mailServer?: {
@@ -37391,7 +37425,6 @@ export declare const mailContract: {
37391
37425
  imapTlsPort: number;
37392
37426
  useTlsForImap: boolean;
37393
37427
  } | undefined;
37394
- state?: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset" | undefined;
37395
37428
  }>;
37396
37429
  summary: "Update a account by id";
37397
37430
  method: "PATCH";
@@ -37402,6 +37435,23 @@ export declare const mailContract: {
37402
37435
  }, {
37403
37436
  id: string;
37404
37437
  }>;
37438
+ path: "email-service/mail/account/:id";
37439
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
37440
+ 'x-tenant': import("zod").ZodString;
37441
+ authorization: import("zod").ZodString;
37442
+ 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
37443
+ 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
37444
+ }, "strip", import("zod").ZodTypeAny, {
37445
+ 'x-tenant': string;
37446
+ authorization: string;
37447
+ 'x-client-timezone': string;
37448
+ 'x-code'?: string | undefined;
37449
+ }, {
37450
+ 'x-tenant': string;
37451
+ authorization: string;
37452
+ 'x-code'?: string | undefined;
37453
+ 'x-client-timezone'?: string | undefined;
37454
+ }>>>;
37405
37455
  responses: {
37406
37456
  401: import("zod").ZodObject<{
37407
37457
  message: import("zod").ZodString;
@@ -37433,8 +37483,9 @@ export declare const mailContract: {
37433
37483
  message: string;
37434
37484
  error?: any;
37435
37485
  }>;
37436
- 201: import("zod").ZodObject<{
37486
+ 201: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
37437
37487
  requestId: import("zod").ZodString;
37488
+ }, {
37438
37489
  data: import("zod").ZodObject<{
37439
37490
  id: import("zod").ZodString;
37440
37491
  createdAt: import("zod").ZodDate;
@@ -37539,7 +37590,7 @@ export declare const mailContract: {
37539
37590
  useTlsForImap: boolean;
37540
37591
  };
37541
37592
  }>;
37542
- }, "strip", import("zod").ZodTypeAny, {
37593
+ }>, "strip", import("zod").ZodTypeAny, {
37543
37594
  data: {
37544
37595
  id: string;
37545
37596
  state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
@@ -37597,7 +37648,19 @@ export declare const mailContract: {
37597
37648
  requestId: string;
37598
37649
  }>;
37599
37650
  };
37600
- path: "email-service/mail/account/:id";
37651
+ };
37652
+ disconnect: {
37653
+ body: null;
37654
+ summary: "Disconnect an account";
37655
+ method: "PATCH";
37656
+ pathParams: import("zod").ZodObject<{
37657
+ id: import("zod").ZodString;
37658
+ }, "strip", import("zod").ZodTypeAny, {
37659
+ id: string;
37660
+ }, {
37661
+ id: string;
37662
+ }>;
37663
+ path: "email-service/mail/account/:id/disconnect";
37601
37664
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
37602
37665
  'x-tenant': import("zod").ZodString;
37603
37666
  authorization: import("zod").ZodString;
@@ -37614,18 +37677,6 @@ export declare const mailContract: {
37614
37677
  'x-code'?: string | undefined;
37615
37678
  'x-client-timezone'?: string | undefined;
37616
37679
  }>>>;
37617
- };
37618
- disconnect: {
37619
- body: null;
37620
- summary: "Disconnect an account";
37621
- method: "PATCH";
37622
- pathParams: import("zod").ZodObject<{
37623
- id: import("zod").ZodString;
37624
- }, "strip", import("zod").ZodTypeAny, {
37625
- id: string;
37626
- }, {
37627
- id: string;
37628
- }>;
37629
37680
  responses: {
37630
37681
  401: import("zod").ZodObject<{
37631
37682
  message: import("zod").ZodString;
@@ -37657,8 +37708,9 @@ export declare const mailContract: {
37657
37708
  message: string;
37658
37709
  error?: any;
37659
37710
  }>;
37660
- 201: import("zod").ZodObject<{
37711
+ 201: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
37661
37712
  requestId: import("zod").ZodString;
37713
+ }, {
37662
37714
  data: import("zod").ZodObject<{
37663
37715
  id: import("zod").ZodString;
37664
37716
  createdAt: import("zod").ZodDate;
@@ -37763,7 +37815,7 @@ export declare const mailContract: {
37763
37815
  useTlsForImap: boolean;
37764
37816
  };
37765
37817
  }>;
37766
- }, "strip", import("zod").ZodTypeAny, {
37818
+ }>, "strip", import("zod").ZodTypeAny, {
37767
37819
  data: {
37768
37820
  id: string;
37769
37821
  state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
@@ -37821,7 +37873,19 @@ export declare const mailContract: {
37821
37873
  requestId: string;
37822
37874
  }>;
37823
37875
  };
37824
- path: "email-service/mail/account/:id/disconnect";
37876
+ };
37877
+ reconnect: {
37878
+ body: null;
37879
+ summary: "Reconnect a disconncted account";
37880
+ method: "PATCH";
37881
+ pathParams: import("zod").ZodObject<{
37882
+ id: import("zod").ZodString;
37883
+ }, "strip", import("zod").ZodTypeAny, {
37884
+ id: string;
37885
+ }, {
37886
+ id: string;
37887
+ }>;
37888
+ path: "email-service/mail/account/:id/reconnect";
37825
37889
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
37826
37890
  'x-tenant': import("zod").ZodString;
37827
37891
  authorization: import("zod").ZodString;
@@ -37838,18 +37902,6 @@ export declare const mailContract: {
37838
37902
  'x-code'?: string | undefined;
37839
37903
  'x-client-timezone'?: string | undefined;
37840
37904
  }>>>;
37841
- };
37842
- reconnect: {
37843
- body: null;
37844
- summary: "Reconnect a disconncted account";
37845
- method: "PATCH";
37846
- pathParams: import("zod").ZodObject<{
37847
- id: import("zod").ZodString;
37848
- }, "strip", import("zod").ZodTypeAny, {
37849
- id: string;
37850
- }, {
37851
- id: string;
37852
- }>;
37853
37905
  responses: {
37854
37906
  401: import("zod").ZodObject<{
37855
37907
  message: import("zod").ZodString;
@@ -37881,8 +37933,9 @@ export declare const mailContract: {
37881
37933
  message: string;
37882
37934
  error?: any;
37883
37935
  }>;
37884
- 201: import("zod").ZodObject<{
37936
+ 201: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
37885
37937
  requestId: import("zod").ZodString;
37938
+ }, {
37886
37939
  data: import("zod").ZodObject<{
37887
37940
  id: import("zod").ZodString;
37888
37941
  createdAt: import("zod").ZodDate;
@@ -37987,7 +38040,7 @@ export declare const mailContract: {
37987
38040
  useTlsForImap: boolean;
37988
38041
  };
37989
38042
  }>;
37990
- }, "strip", import("zod").ZodTypeAny, {
38043
+ }>, "strip", import("zod").ZodTypeAny, {
37991
38044
  data: {
37992
38045
  id: string;
37993
38046
  state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
@@ -38045,7 +38098,19 @@ export declare const mailContract: {
38045
38098
  requestId: string;
38046
38099
  }>;
38047
38100
  };
38048
- path: "email-service/mail/account/:id/reconnect";
38101
+ };
38102
+ delete: {
38103
+ body: null;
38104
+ summary: "Delete an account by id";
38105
+ method: "DELETE";
38106
+ pathParams: import("zod").ZodObject<{
38107
+ id: import("zod").ZodString;
38108
+ }, "strip", import("zod").ZodTypeAny, {
38109
+ id: string;
38110
+ }, {
38111
+ id: string;
38112
+ }>;
38113
+ path: "email-service/mail/account/:id";
38049
38114
  headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
38050
38115
  'x-tenant': import("zod").ZodString;
38051
38116
  authorization: import("zod").ZodString;
@@ -38062,18 +38127,6 @@ export declare const mailContract: {
38062
38127
  'x-code'?: string | undefined;
38063
38128
  'x-client-timezone'?: string | undefined;
38064
38129
  }>>>;
38065
- };
38066
- delete: {
38067
- body: null;
38068
- summary: "Delete an account by id";
38069
- method: "DELETE";
38070
- pathParams: import("zod").ZodObject<{
38071
- id: import("zod").ZodString;
38072
- }, "strip", import("zod").ZodTypeAny, {
38073
- id: string;
38074
- }, {
38075
- id: string;
38076
- }>;
38077
38130
  responses: {
38078
38131
  401: import("zod").ZodObject<{
38079
38132
  message: import("zod").ZodString;
@@ -38105,10 +38158,11 @@ export declare const mailContract: {
38105
38158
  message: string;
38106
38159
  error?: any;
38107
38160
  }>;
38108
- 200: import("zod").ZodObject<{
38161
+ 200: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
38109
38162
  requestId: import("zod").ZodString;
38163
+ }, {
38110
38164
  message: import("zod").ZodString;
38111
- }, "strip", import("zod").ZodTypeAny, {
38165
+ }>, "strip", import("zod").ZodTypeAny, {
38112
38166
  message: string;
38113
38167
  requestId: string;
38114
38168
  }, {
@@ -38116,23 +38170,6 @@ export declare const mailContract: {
38116
38170
  requestId: string;
38117
38171
  }>;
38118
38172
  };
38119
- path: "email-service/mail/account/:id";
38120
- headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
38121
- 'x-tenant': import("zod").ZodString;
38122
- authorization: import("zod").ZodString;
38123
- 'x-code': import("zod").ZodOptional<import("zod").ZodString>;
38124
- 'x-client-timezone': import("zod").ZodDefault<import("zod").ZodString>;
38125
- }, "strip", import("zod").ZodTypeAny, {
38126
- 'x-tenant': string;
38127
- authorization: string;
38128
- 'x-client-timezone': string;
38129
- 'x-code'?: string | undefined;
38130
- }, {
38131
- 'x-tenant': string;
38132
- authorization: string;
38133
- 'x-code'?: string | undefined;
38134
- 'x-client-timezone'?: string | undefined;
38135
- }>>>;
38136
38173
  };
38137
38174
  };
38138
38175
  server: {
@@ -38170,6 +38207,7 @@ export declare const mailContract: {
38170
38207
  }>;
38171
38208
  summary: "Register a new mail server";
38172
38209
  method: "POST";
38210
+ path: "email-service/mail/server/";
38173
38211
  responses: {
38174
38212
  401: import("zod").ZodObject<{
38175
38213
  message: import("zod").ZodString;
@@ -38201,8 +38239,9 @@ export declare const mailContract: {
38201
38239
  message: string;
38202
38240
  error?: any;
38203
38241
  }>;
38204
- 201: import("zod").ZodObject<{
38242
+ 201: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
38205
38243
  requestId: import("zod").ZodString;
38244
+ }, {
38206
38245
  data: import("zod").ZodObject<{
38207
38246
  id: import("zod").ZodString;
38208
38247
  createdAt: import("zod").ZodDate;
@@ -38246,7 +38285,7 @@ export declare const mailContract: {
38246
38285
  imapTlsPort: number;
38247
38286
  useTlsForImap: boolean;
38248
38287
  }>;
38249
- }, "strip", import("zod").ZodTypeAny, {
38288
+ }>, "strip", import("zod").ZodTypeAny, {
38250
38289
  data: {
38251
38290
  id: string;
38252
38291
  name: string;
@@ -38282,7 +38321,6 @@ export declare const mailContract: {
38282
38321
  requestId: string;
38283
38322
  }>;
38284
38323
  };
38285
- path: "email-service/mail/server/";
38286
38324
  };
38287
38325
  getById: {
38288
38326
  summary: "Get a mail server by id";
@@ -38294,6 +38332,7 @@ export declare const mailContract: {
38294
38332
  }, {
38295
38333
  id: string;
38296
38334
  }>;
38335
+ path: "email-service/mail/server/:id";
38297
38336
  responses: {
38298
38337
  401: import("zod").ZodObject<{
38299
38338
  message: import("zod").ZodString;
@@ -38325,8 +38364,9 @@ export declare const mailContract: {
38325
38364
  message: string;
38326
38365
  error?: any;
38327
38366
  }>;
38328
- 200: import("zod").ZodObject<{
38367
+ 200: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
38329
38368
  requestId: import("zod").ZodString;
38369
+ }, {
38330
38370
  data: import("zod").ZodObject<{
38331
38371
  id: import("zod").ZodString;
38332
38372
  createdAt: import("zod").ZodDate;
@@ -38370,7 +38410,7 @@ export declare const mailContract: {
38370
38410
  imapTlsPort: number;
38371
38411
  useTlsForImap: boolean;
38372
38412
  }>;
38373
- }, "strip", import("zod").ZodTypeAny, {
38413
+ }>, "strip", import("zod").ZodTypeAny, {
38374
38414
  data: {
38375
38415
  id: string;
38376
38416
  name: string;
@@ -38406,11 +38446,11 @@ export declare const mailContract: {
38406
38446
  requestId: string;
38407
38447
  }>;
38408
38448
  };
38409
- path: "email-service/mail/server/:id";
38410
38449
  };
38411
38450
  getAll: {
38412
38451
  summary: "Get all mail servers";
38413
38452
  method: "GET";
38453
+ path: "email-service/mail/server/";
38414
38454
  responses: {
38415
38455
  401: import("zod").ZodObject<{
38416
38456
  message: import("zod").ZodString;
@@ -38442,8 +38482,9 @@ export declare const mailContract: {
38442
38482
  message: string;
38443
38483
  error?: any;
38444
38484
  }>;
38445
- 200: import("zod").ZodObject<{
38485
+ 200: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
38446
38486
  requestId: import("zod").ZodString;
38487
+ }, {
38447
38488
  data: import("zod").ZodArray<import("zod").ZodObject<{
38448
38489
  id: import("zod").ZodString;
38449
38490
  createdAt: import("zod").ZodDate;
@@ -38487,7 +38528,7 @@ export declare const mailContract: {
38487
38528
  imapTlsPort: number;
38488
38529
  useTlsForImap: boolean;
38489
38530
  }>, "many">;
38490
- }, "strip", import("zod").ZodTypeAny, {
38531
+ }>, "strip", import("zod").ZodTypeAny, {
38491
38532
  data: {
38492
38533
  id: string;
38493
38534
  name: string;
@@ -38523,7 +38564,6 @@ export declare const mailContract: {
38523
38564
  requestId: string;
38524
38565
  }>;
38525
38566
  };
38526
- path: "email-service/mail/server/";
38527
38567
  };
38528
38568
  update: {
38529
38569
  body: import("zod").ZodObject<{
@@ -38566,6 +38606,7 @@ export declare const mailContract: {
38566
38606
  }, {
38567
38607
  id: string;
38568
38608
  }>;
38609
+ path: "email-service/mail/server/:id";
38569
38610
  responses: {
38570
38611
  401: import("zod").ZodObject<{
38571
38612
  message: import("zod").ZodString;
@@ -38597,8 +38638,9 @@ export declare const mailContract: {
38597
38638
  message: string;
38598
38639
  error?: any;
38599
38640
  }>;
38600
- 200: import("zod").ZodObject<{
38641
+ 200: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
38601
38642
  requestId: import("zod").ZodString;
38643
+ }, {
38602
38644
  data: import("zod").ZodObject<{
38603
38645
  id: import("zod").ZodString;
38604
38646
  createdAt: import("zod").ZodDate;
@@ -38642,7 +38684,7 @@ export declare const mailContract: {
38642
38684
  imapTlsPort: number;
38643
38685
  useTlsForImap: boolean;
38644
38686
  }>;
38645
- }, "strip", import("zod").ZodTypeAny, {
38687
+ }>, "strip", import("zod").ZodTypeAny, {
38646
38688
  data: {
38647
38689
  id: string;
38648
38690
  name: string;
@@ -38678,7 +38720,6 @@ export declare const mailContract: {
38678
38720
  requestId: string;
38679
38721
  }>;
38680
38722
  };
38681
- path: "email-service/mail/server/:id";
38682
38723
  };
38683
38724
  delete: {
38684
38725
  body: null;
@@ -38691,6 +38732,7 @@ export declare const mailContract: {
38691
38732
  }, {
38692
38733
  id: string;
38693
38734
  }>;
38735
+ path: "email-service/mail/server/:id";
38694
38736
  responses: {
38695
38737
  401: import("zod").ZodObject<{
38696
38738
  message: import("zod").ZodString;
@@ -38722,8 +38764,9 @@ export declare const mailContract: {
38722
38764
  message: string;
38723
38765
  error?: any;
38724
38766
  }>;
38725
- 200: import("zod").ZodObject<{
38767
+ 200: import("zod").ZodObject<import("zod").objectUtil.extendShape<{
38726
38768
  requestId: import("zod").ZodString;
38769
+ }, {
38727
38770
  data: import("zod").ZodObject<{
38728
38771
  id: import("zod").ZodString;
38729
38772
  createdAt: import("zod").ZodDate;
@@ -38767,7 +38810,7 @@ export declare const mailContract: {
38767
38810
  imapTlsPort: number;
38768
38811
  useTlsForImap: boolean;
38769
38812
  }>;
38770
- }, "strip", import("zod").ZodTypeAny, {
38813
+ }>, "strip", import("zod").ZodTypeAny, {
38771
38814
  data: {
38772
38815
  id: string;
38773
38816
  name: string;
@@ -38803,7 +38846,6 @@ export declare const mailContract: {
38803
38846
  requestId: string;
38804
38847
  }>;
38805
38848
  };
38806
- path: "email-service/mail/server/:id";
38807
38849
  };
38808
38850
  };
38809
38851
  };