@kl1/contracts 1.0.3 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (200) hide show
  1. package/dist/index.js +632 -319
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +632 -319
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/call-log/schema.d.ts +4 -4
  6. package/dist/src/contract.d.ts +26374 -1719
  7. package/dist/src/contract.d.ts.map +1 -1
  8. package/dist/src/extension/index.d.ts +85 -0
  9. package/dist/src/extension/index.d.ts.map +1 -1
  10. package/dist/src/line/index.d.ts +2 -2
  11. package/dist/src/line/validation.d.ts +2 -2
  12. package/dist/src/mail/account-contract.d.ts +168 -224
  13. package/dist/src/mail/account-contract.d.ts.map +1 -1
  14. package/dist/src/mail/mail-contract.d.ts +11118 -250
  15. package/dist/src/mail/mail-contract.d.ts.map +1 -1
  16. package/dist/src/mail/{mail-server.d.ts → mail-server-contract.d.ts} +5 -5
  17. package/dist/src/mail/mail-server-contract.d.ts.map +1 -0
  18. package/dist/src/mail/message-contract.d.ts +502 -8
  19. package/dist/src/mail/message-contract.d.ts.map +1 -1
  20. package/dist/src/mail/room-contract.d.ts +10443 -13
  21. package/dist/src/mail/room-contract.d.ts.map +1 -1
  22. package/dist/src/mail/schemas/account-validation.schema.d.ts +790 -0
  23. package/dist/{contract.d.ts.map → src/mail/schemas/account-validation.schema.d.ts.map} +1 -1
  24. package/dist/src/mail/schemas/account.schema.d.ts +33 -888
  25. package/dist/src/mail/schemas/account.schema.d.ts.map +1 -1
  26. package/dist/src/mail/schemas/message-validation.schema.d.ts +2 -0
  27. package/dist/src/mail/schemas/message-validation.schema.d.ts.map +1 -0
  28. package/dist/src/mail/schemas/message.schema.d.ts +349 -0
  29. package/dist/src/mail/schemas/message.schema.d.ts.map +1 -0
  30. package/dist/src/mail/schemas/room.schema.d.ts +2692 -0
  31. package/dist/src/mail/schemas/room.schema.d.ts.map +1 -0
  32. package/dist/src/telephony-cdr/schema.d.ts +4 -4
  33. package/dist/src/user/index.d.ts +162 -279
  34. package/dist/src/user/index.d.ts.map +1 -1
  35. package/dist/src/user/schema.d.ts.map +1 -1
  36. package/dist/src/user/validation.d.ts +15 -6
  37. package/dist/src/user/validation.d.ts.map +1 -1
  38. package/package.json +46 -45
  39. package/dist/api-contracts/src/auth/index.d.ts +0 -436
  40. package/dist/api-contracts/src/auth/index.d.ts.map +0 -1
  41. package/dist/api-contracts/src/auth/permission-schema.d.ts +0 -27
  42. package/dist/api-contracts/src/auth/permission-schema.d.ts.map +0 -1
  43. package/dist/api-contracts/src/auth/role-schema.d.ts +0 -70
  44. package/dist/api-contracts/src/auth/role-schema.d.ts.map +0 -1
  45. package/dist/api-contracts/src/auth/user-schema.d.ts +0 -140
  46. package/dist/api-contracts/src/auth/user-schema.d.ts.map +0 -1
  47. package/dist/api-contracts/src/base-contract.d.ts +0 -85
  48. package/dist/api-contracts/src/base-contract.d.ts.map +0 -1
  49. package/dist/api-contracts/src/contract.d.ts +0 -593
  50. package/dist/api-contracts/src/contract.d.ts.map +0 -1
  51. package/dist/api-contracts/src/cx-log/cx-log-schema.d.ts +0 -54
  52. package/dist/api-contracts/src/cx-log/cx-log-schema.d.ts.map +0 -1
  53. package/dist/api-contracts/src/cx-log/index.d.ts +0 -252
  54. package/dist/api-contracts/src/cx-log/index.d.ts.map +0 -1
  55. package/dist/api-contracts/src/index.d.ts +0 -2
  56. package/dist/api-contracts/src/index.d.ts.map +0 -1
  57. package/dist/attribute/schema.d.ts +0 -42
  58. package/dist/attribute/schema.d.ts.map +0 -1
  59. package/dist/attribute-option/schema.d.ts +0 -33
  60. package/dist/attribute-option/schema.d.ts.map +0 -1
  61. package/dist/auth/index.d.ts +0 -436
  62. package/dist/auth/index.d.ts.map +0 -1
  63. package/dist/auth/permission-schema.d.ts +0 -27
  64. package/dist/auth/permission-schema.d.ts.map +0 -1
  65. package/dist/auth/role-schema.d.ts +0 -70
  66. package/dist/auth/role-schema.d.ts.map +0 -1
  67. package/dist/auth/user-schema.d.ts +0 -140
  68. package/dist/auth/user-schema.d.ts.map +0 -1
  69. package/dist/base-contract.d.ts +0 -85
  70. package/dist/base-contract.d.ts.map +0 -1
  71. package/dist/call-log/index.d.ts +0 -4
  72. package/dist/call-log/index.d.ts.map +0 -1
  73. package/dist/call-log/schema.d.ts +0 -57
  74. package/dist/call-log/schema.d.ts.map +0 -1
  75. package/dist/call-log/validation.d.ts +0 -24
  76. package/dist/call-log/validation.d.ts.map +0 -1
  77. package/dist/company/schema.d.ts +0 -30
  78. package/dist/company/schema.d.ts.map +0 -1
  79. package/dist/contact/schema.d.ts +0 -42
  80. package/dist/contact/schema.d.ts.map +0 -1
  81. package/dist/contact-email/schema.d.ts +0 -27
  82. package/dist/contact-email/schema.d.ts.map +0 -1
  83. package/dist/contact-phone/schema.d.ts +0 -27
  84. package/dist/contact-phone/schema.d.ts.map +0 -1
  85. package/dist/contract.d.ts +0 -663
  86. package/dist/custom-field/schema.d.ts +0 -36
  87. package/dist/custom-field/schema.d.ts.map +0 -1
  88. package/dist/custom-field-upload/schema.d.ts +0 -24
  89. package/dist/custom-field-upload/schema.d.ts.map +0 -1
  90. package/dist/cx-log/cx-log-schema.d.ts +0 -54
  91. package/dist/cx-log/cx-log-schema.d.ts.map +0 -1
  92. package/dist/cx-log/index.d.ts +0 -230
  93. package/dist/cx-log/index.d.ts.map +0 -1
  94. package/dist/cx-log/schema.d.ts +0 -54
  95. package/dist/cx-log/schema.d.ts.map +0 -1
  96. package/dist/cx-log/validation.d.ts +0 -95
  97. package/dist/cx-log/validation.d.ts.map +0 -1
  98. package/dist/entities/src/base.entity.d.ts +0 -7
  99. package/dist/entities/src/base.entity.d.ts.map +0 -1
  100. package/dist/entities/src/tenants/attribute-option.entity.d.ts +0 -9
  101. package/dist/entities/src/tenants/attribute-option.entity.d.ts.map +0 -1
  102. package/dist/entities/src/tenants/attribute.entity.d.ts +0 -12
  103. package/dist/entities/src/tenants/attribute.entity.d.ts.map +0 -1
  104. package/dist/entities/src/tenants/call-log.entity.d.ts +0 -18
  105. package/dist/entities/src/tenants/call-log.entity.d.ts.map +0 -1
  106. package/dist/entities/src/tenants/company.entity.d.ts +0 -8
  107. package/dist/entities/src/tenants/company.entity.d.ts.map +0 -1
  108. package/dist/entities/src/tenants/contact-custom-field.entity.d.ts +0 -14
  109. package/dist/entities/src/tenants/contact-custom-field.entity.d.ts.map +0 -1
  110. package/dist/entities/src/tenants/contact-email.entity.d.ts +0 -7
  111. package/dist/entities/src/tenants/contact-email.entity.d.ts.map +0 -1
  112. package/dist/entities/src/tenants/contact-phone.entity.d.ts +0 -7
  113. package/dist/entities/src/tenants/contact-phone.entity.d.ts.map +0 -1
  114. package/dist/entities/src/tenants/contact.entity.d.ts +0 -14
  115. package/dist/entities/src/tenants/contact.entity.d.ts.map +0 -1
  116. package/dist/entities/src/tenants/custom-field-upload.entity.d.ts +0 -8
  117. package/dist/entities/src/tenants/custom-field-upload.entity.d.ts.map +0 -1
  118. package/dist/entities/src/tenants/custom-field.entity.d.ts +0 -10
  119. package/dist/entities/src/tenants/custom-field.entity.d.ts.map +0 -1
  120. package/dist/entities/src/tenants/cx-log.entity.d.ts +0 -20
  121. package/dist/entities/src/tenants/cx-log.entity.d.ts.map +0 -1
  122. package/dist/entities/src/tenants/evaluate-form.entity.d.ts +0 -9
  123. package/dist/entities/src/tenants/evaluate-form.entity.d.ts.map +0 -1
  124. package/dist/entities/src/tenants/extension.entity.d.ts +0 -10
  125. package/dist/entities/src/tenants/extension.entity.d.ts.map +0 -1
  126. package/dist/entities/src/tenants/group.entity.d.ts +0 -6
  127. package/dist/entities/src/tenants/group.entity.d.ts.map +0 -1
  128. package/dist/entities/src/tenants/index.d.ts +0 -25
  129. package/dist/entities/src/tenants/index.d.ts.map +0 -1
  130. package/dist/entities/src/tenants/log-form.entity.d.ts +0 -6
  131. package/dist/entities/src/tenants/log-form.entity.d.ts.map +0 -1
  132. package/dist/entities/src/tenants/permission.entity.d.ts +0 -9
  133. package/dist/entities/src/tenants/permission.entity.d.ts.map +0 -1
  134. package/dist/entities/src/tenants/platform-contact.entity.d.ts +0 -8
  135. package/dist/entities/src/tenants/platform-contact.entity.d.ts.map +0 -1
  136. package/dist/entities/src/tenants/role.entity.d.ts +0 -11
  137. package/dist/entities/src/tenants/role.entity.d.ts.map +0 -1
  138. package/dist/entities/src/tenants/tag-group.entity.d.ts +0 -8
  139. package/dist/entities/src/tenants/tag-group.entity.d.ts.map +0 -1
  140. package/dist/entities/src/tenants/tag.entity.d.ts +0 -11
  141. package/dist/entities/src/tenants/tag.entity.d.ts.map +0 -1
  142. package/dist/entities/src/tenants/telephony-cdr.entity.d.ts +0 -23
  143. package/dist/entities/src/tenants/telephony-cdr.entity.d.ts.map +0 -1
  144. package/dist/entities/src/tenants/telephony-live-queue-call.entity.d.ts +0 -7
  145. package/dist/entities/src/tenants/telephony-live-queue-call.entity.d.ts.map +0 -1
  146. package/dist/entities/src/tenants/telephony-queue-call-count.entity.d.ts +0 -15
  147. package/dist/entities/src/tenants/telephony-queue-call-count.entity.d.ts.map +0 -1
  148. package/dist/entities/src/tenants/ticket.entity.d.ts +0 -17
  149. package/dist/entities/src/tenants/ticket.entity.d.ts.map +0 -1
  150. package/dist/entities/src/tenants/upload.entity.d.ts +0 -8
  151. package/dist/entities/src/tenants/upload.entity.d.ts.map +0 -1
  152. package/dist/entities/src/tenants/user.entity.d.ts +0 -13
  153. package/dist/entities/src/tenants/user.entity.d.ts.map +0 -1
  154. package/dist/entities/src/tenants/widget.entity.d.ts +0 -9
  155. package/dist/entities/src/tenants/widget.entity.d.ts.map +0 -1
  156. package/dist/evaluate-form/schema.d.ts +0 -27
  157. package/dist/evaluate-form/schema.d.ts.map +0 -1
  158. package/dist/exchange-token/index.d.ts +0 -32
  159. package/dist/exchange-token/index.d.ts.map +0 -1
  160. package/dist/extension/schema.d.ts +0 -36
  161. package/dist/extension/schema.d.ts.map +0 -1
  162. package/dist/group/schema.d.ts +0 -24
  163. package/dist/group/schema.d.ts.map +0 -1
  164. package/dist/index.d.ts +0 -3
  165. package/dist/index.d.ts.map +0 -1
  166. package/dist/log-form/schema.d.ts +0 -24
  167. package/dist/log-form/schema.d.ts.map +0 -1
  168. package/dist/permission/schema.d.ts +0 -27
  169. package/dist/permission/schema.d.ts.map +0 -1
  170. package/dist/platform-contact/schema.d.ts +0 -30
  171. package/dist/platform-contact/schema.d.ts.map +0 -1
  172. package/dist/posts/index.d.ts +0 -118
  173. package/dist/posts/index.d.ts.map +0 -1
  174. package/dist/role/schema.d.ts +0 -70
  175. package/dist/role/schema.d.ts.map +0 -1
  176. package/dist/src/mail/mail-server.d.ts.map +0 -1
  177. package/dist/src/types.d.ts +0 -5
  178. package/dist/src/types.d.ts.map +0 -1
  179. package/dist/tag/schema.d.ts +0 -21
  180. package/dist/tag/schema.d.ts.map +0 -1
  181. package/dist/tag-group/schema.d.ts +0 -24
  182. package/dist/tag-group/schema.d.ts.map +0 -1
  183. package/dist/telephony-cdr/index.d.ts +0 -4
  184. package/dist/telephony-cdr/index.d.ts.map +0 -1
  185. package/dist/telephony-cdr/schema.d.ts +0 -75
  186. package/dist/telephony-cdr/schema.d.ts.map +0 -1
  187. package/dist/telephony-cdr/validation.d.ts +0 -48
  188. package/dist/telephony-cdr/validation.d.ts.map +0 -1
  189. package/dist/telephony-live-queue-call/schema.d.ts +0 -27
  190. package/dist/telephony-live-queue-call/schema.d.ts.map +0 -1
  191. package/dist/telephony-queue-call-count/schema.d.ts +0 -51
  192. package/dist/telephony-queue-call-count/schema.d.ts.map +0 -1
  193. package/dist/ticket/schema.d.ts +0 -51
  194. package/dist/ticket/schema.d.ts.map +0 -1
  195. package/dist/upload/schema.d.ts +0 -30
  196. package/dist/upload/schema.d.ts.map +0 -1
  197. package/dist/user/schema.d.ts +0 -140
  198. package/dist/user/schema.d.ts.map +0 -1
  199. package/dist/widget/schema.d.ts +0 -33
  200. package/dist/widget/schema.d.ts.map +0 -1
@@ -1,10 +1,9 @@
1
1
  import z from 'zod';
2
2
  export declare const MailServerSchema: z.ZodObject<{
3
3
  id: z.ZodString;
4
- created_at: z.ZodString;
5
- updated_att: z.ZodString;
6
- deleted_at: z.ZodNullable<z.ZodString>;
7
- tenant_id: z.ZodString;
4
+ createdAt: z.ZodDate;
5
+ updatedAt: z.ZodDate;
6
+ deletedAt: z.ZodNullable<z.ZodDate>;
8
7
  name: z.ZodString;
9
8
  smtpHost: z.ZodString;
10
9
  smtpPort: z.ZodString;
@@ -17,10 +16,9 @@ export declare const MailServerSchema: z.ZodObject<{
17
16
  }, "strip", z.ZodTypeAny, {
18
17
  id: string;
19
18
  name: string;
20
- created_at: string;
21
- updated_att: string;
22
- deleted_at: string | null;
23
- tenant_id: string;
19
+ createdAt: Date;
20
+ updatedAt: Date;
21
+ deletedAt: Date | null;
24
22
  smtpHost: string;
25
23
  smtpPort: string;
26
24
  smtpTlsPort: string;
@@ -32,10 +30,9 @@ export declare const MailServerSchema: z.ZodObject<{
32
30
  }, {
33
31
  id: string;
34
32
  name: string;
35
- created_at: string;
36
- updated_att: string;
37
- deleted_at: string | null;
38
- tenant_id: string;
33
+ createdAt: Date;
34
+ updatedAt: Date;
35
+ deletedAt: Date | null;
39
36
  smtpHost: string;
40
37
  smtpPort: string;
41
38
  smtpTlsPort: string;
@@ -47,20 +44,18 @@ export declare const MailServerSchema: z.ZodObject<{
47
44
  }>;
48
45
  export declare const MailAccountSchema: z.ZodObject<{
49
46
  id: z.ZodString;
50
- created_at: z.ZodString;
51
- updated_at: z.ZodString;
52
- deleted_at: z.ZodNullable<z.ZodDate>;
53
- tenant_id: z.ZodString;
47
+ createdAt: z.ZodDate;
48
+ updatedAt: z.ZodDate;
49
+ deletedAt: z.ZodNullable<z.ZodDate>;
54
50
  name: z.ZodString;
55
51
  address: z.ZodString;
56
52
  accountId: z.ZodString;
57
53
  mailServerId: z.ZodString;
58
54
  mailServer: z.ZodObject<{
59
55
  id: z.ZodString;
60
- created_at: z.ZodString;
61
- updated_att: z.ZodString;
62
- deleted_at: z.ZodNullable<z.ZodString>;
63
- tenant_id: z.ZodString;
56
+ createdAt: z.ZodDate;
57
+ updatedAt: z.ZodDate;
58
+ deletedAt: z.ZodNullable<z.ZodDate>;
64
59
  name: z.ZodString;
65
60
  smtpHost: z.ZodString;
66
61
  smtpPort: z.ZodString;
@@ -73,10 +68,9 @@ export declare const MailAccountSchema: z.ZodObject<{
73
68
  }, "strip", z.ZodTypeAny, {
74
69
  id: string;
75
70
  name: string;
76
- created_at: string;
77
- updated_att: string;
78
- deleted_at: string | null;
79
- tenant_id: string;
71
+ createdAt: Date;
72
+ updatedAt: Date;
73
+ deletedAt: Date | null;
80
74
  smtpHost: string;
81
75
  smtpPort: string;
82
76
  smtpTlsPort: string;
@@ -88,10 +82,9 @@ export declare const MailAccountSchema: z.ZodObject<{
88
82
  }, {
89
83
  id: string;
90
84
  name: string;
91
- created_at: string;
92
- updated_att: string;
93
- deleted_at: string | null;
94
- tenant_id: string;
85
+ createdAt: Date;
86
+ updatedAt: Date;
87
+ deletedAt: Date | null;
95
88
  smtpHost: string;
96
89
  smtpPort: string;
97
90
  smtpTlsPort: string;
@@ -107,19 +100,17 @@ export declare const MailAccountSchema: z.ZodObject<{
107
100
  state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
108
101
  address: string;
109
102
  name: string;
110
- created_at: string;
111
- deleted_at: Date | null;
112
- tenant_id: string;
113
- updated_at: string;
103
+ createdAt: Date;
104
+ updatedAt: Date;
105
+ deletedAt: Date | null;
114
106
  accountId: string;
115
107
  mailServerId: string;
116
108
  mailServer: {
117
109
  id: string;
118
110
  name: string;
119
- created_at: string;
120
- updated_att: string;
121
- deleted_at: string | null;
122
- tenant_id: string;
111
+ createdAt: Date;
112
+ updatedAt: Date;
113
+ deletedAt: Date | null;
123
114
  smtpHost: string;
124
115
  smtpPort: string;
125
116
  smtpTlsPort: string;
@@ -134,19 +125,17 @@ export declare const MailAccountSchema: z.ZodObject<{
134
125
  state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
135
126
  address: string;
136
127
  name: string;
137
- created_at: string;
138
- deleted_at: Date | null;
139
- tenant_id: string;
140
- updated_at: string;
128
+ createdAt: Date;
129
+ updatedAt: Date;
130
+ deletedAt: Date | null;
141
131
  accountId: string;
142
132
  mailServerId: string;
143
133
  mailServer: {
144
134
  id: string;
145
135
  name: string;
146
- created_at: string;
147
- updated_att: string;
148
- deleted_at: string | null;
149
- tenant_id: string;
136
+ createdAt: Date;
137
+ updatedAt: Date;
138
+ deletedAt: Date | null;
150
139
  smtpHost: string;
151
140
  smtpPort: string;
152
141
  smtpTlsPort: string;
@@ -157,848 +146,4 @@ export declare const MailAccountSchema: z.ZodObject<{
157
146
  useTlsForImap: boolean;
158
147
  };
159
148
  }>;
160
- export declare const AccountContractsSchemas: {
161
- create: {
162
- input: z.ZodObject<{
163
- address: z.ZodString;
164
- name: z.ZodString;
165
- password: z.ZodString;
166
- mailServerId: z.ZodString;
167
- }, "strip", z.ZodTypeAny, {
168
- address: string;
169
- name: string;
170
- mailServerId: string;
171
- password: string;
172
- }, {
173
- address: string;
174
- name: string;
175
- mailServerId: string;
176
- password: string;
177
- }>;
178
- };
179
- getById: {
180
- input: z.ZodObject<{
181
- id: z.ZodString;
182
- }, "strip", z.ZodTypeAny, {
183
- id: string;
184
- }, {
185
- id: string;
186
- }>;
187
- output: z.ZodObject<{
188
- id: z.ZodString;
189
- created_at: z.ZodString;
190
- updated_at: z.ZodString;
191
- deleted_at: z.ZodNullable<z.ZodDate>;
192
- tenant_id: z.ZodString;
193
- name: z.ZodString;
194
- address: z.ZodString;
195
- accountId: z.ZodString;
196
- mailServerId: z.ZodString;
197
- mailServer: z.ZodObject<{
198
- id: z.ZodString;
199
- created_at: z.ZodString;
200
- updated_att: z.ZodString;
201
- deleted_at: z.ZodNullable<z.ZodString>;
202
- tenant_id: z.ZodString;
203
- name: z.ZodString;
204
- smtpHost: z.ZodString;
205
- smtpPort: z.ZodString;
206
- smtpTlsPort: z.ZodString;
207
- useTlsForSmtp: z.ZodBoolean;
208
- imapHost: z.ZodString;
209
- imapPort: z.ZodString;
210
- imapTlsPort: z.ZodString;
211
- useTlsForImap: z.ZodBoolean;
212
- }, "strip", z.ZodTypeAny, {
213
- id: string;
214
- name: string;
215
- created_at: string;
216
- updated_att: string;
217
- deleted_at: string | null;
218
- tenant_id: string;
219
- smtpHost: string;
220
- smtpPort: string;
221
- smtpTlsPort: string;
222
- useTlsForSmtp: boolean;
223
- imapHost: string;
224
- imapPort: string;
225
- imapTlsPort: string;
226
- useTlsForImap: boolean;
227
- }, {
228
- id: string;
229
- name: string;
230
- created_at: string;
231
- updated_att: string;
232
- deleted_at: string | null;
233
- tenant_id: string;
234
- smtpHost: string;
235
- smtpPort: string;
236
- smtpTlsPort: string;
237
- useTlsForSmtp: boolean;
238
- imapHost: string;
239
- imapPort: string;
240
- imapTlsPort: string;
241
- useTlsForImap: boolean;
242
- }>;
243
- state: z.ZodUnion<[z.ZodLiteral<"init">, z.ZodLiteral<"syncing">, z.ZodLiteral<"connecting">, z.ZodLiteral<"connected">, z.ZodLiteral<"disconnected">, z.ZodLiteral<"authenticationError">, z.ZodLiteral<"connectError">, z.ZodLiteral<"unset">]>;
244
- }, "strip", z.ZodTypeAny, {
245
- id: string;
246
- state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
247
- address: string;
248
- name: string;
249
- created_at: string;
250
- deleted_at: Date | null;
251
- tenant_id: string;
252
- updated_at: string;
253
- accountId: string;
254
- mailServerId: string;
255
- mailServer: {
256
- id: string;
257
- name: string;
258
- created_at: string;
259
- updated_att: string;
260
- deleted_at: string | null;
261
- tenant_id: string;
262
- smtpHost: string;
263
- smtpPort: string;
264
- smtpTlsPort: string;
265
- useTlsForSmtp: boolean;
266
- imapHost: string;
267
- imapPort: string;
268
- imapTlsPort: string;
269
- useTlsForImap: boolean;
270
- };
271
- }, {
272
- id: string;
273
- state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
274
- address: string;
275
- name: string;
276
- created_at: string;
277
- deleted_at: Date | null;
278
- tenant_id: string;
279
- updated_at: string;
280
- accountId: string;
281
- mailServerId: string;
282
- mailServer: {
283
- id: string;
284
- name: string;
285
- created_at: string;
286
- updated_att: string;
287
- deleted_at: string | null;
288
- tenant_id: string;
289
- smtpHost: string;
290
- smtpPort: string;
291
- smtpTlsPort: string;
292
- useTlsForSmtp: boolean;
293
- imapHost: string;
294
- imapPort: string;
295
- imapTlsPort: string;
296
- useTlsForImap: boolean;
297
- };
298
- }>;
299
- };
300
- getAll: {
301
- output: z.ZodArray<z.ZodObject<{
302
- id: z.ZodString;
303
- created_at: z.ZodString;
304
- updated_at: z.ZodString;
305
- deleted_at: z.ZodNullable<z.ZodDate>;
306
- tenant_id: z.ZodString;
307
- name: z.ZodString;
308
- address: z.ZodString;
309
- accountId: z.ZodString;
310
- mailServerId: z.ZodString;
311
- mailServer: z.ZodObject<{
312
- id: z.ZodString;
313
- created_at: z.ZodString;
314
- updated_att: z.ZodString;
315
- deleted_at: z.ZodNullable<z.ZodString>;
316
- tenant_id: z.ZodString;
317
- name: z.ZodString;
318
- smtpHost: z.ZodString;
319
- smtpPort: z.ZodString;
320
- smtpTlsPort: z.ZodString;
321
- useTlsForSmtp: z.ZodBoolean;
322
- imapHost: z.ZodString;
323
- imapPort: z.ZodString;
324
- imapTlsPort: z.ZodString;
325
- useTlsForImap: z.ZodBoolean;
326
- }, "strip", z.ZodTypeAny, {
327
- id: string;
328
- name: string;
329
- created_at: string;
330
- updated_att: string;
331
- deleted_at: string | null;
332
- tenant_id: string;
333
- smtpHost: string;
334
- smtpPort: string;
335
- smtpTlsPort: string;
336
- useTlsForSmtp: boolean;
337
- imapHost: string;
338
- imapPort: string;
339
- imapTlsPort: string;
340
- useTlsForImap: boolean;
341
- }, {
342
- id: string;
343
- name: string;
344
- created_at: string;
345
- updated_att: string;
346
- deleted_at: string | null;
347
- tenant_id: string;
348
- smtpHost: string;
349
- smtpPort: string;
350
- smtpTlsPort: string;
351
- useTlsForSmtp: boolean;
352
- imapHost: string;
353
- imapPort: string;
354
- imapTlsPort: string;
355
- useTlsForImap: boolean;
356
- }>;
357
- state: z.ZodUnion<[z.ZodLiteral<"init">, z.ZodLiteral<"syncing">, z.ZodLiteral<"connecting">, z.ZodLiteral<"connected">, z.ZodLiteral<"disconnected">, z.ZodLiteral<"authenticationError">, z.ZodLiteral<"connectError">, z.ZodLiteral<"unset">]>;
358
- }, "strip", z.ZodTypeAny, {
359
- id: string;
360
- state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
361
- address: string;
362
- name: string;
363
- created_at: string;
364
- deleted_at: Date | null;
365
- tenant_id: string;
366
- updated_at: string;
367
- accountId: string;
368
- mailServerId: string;
369
- mailServer: {
370
- id: string;
371
- name: string;
372
- created_at: string;
373
- updated_att: string;
374
- deleted_at: string | null;
375
- tenant_id: string;
376
- smtpHost: string;
377
- smtpPort: string;
378
- smtpTlsPort: string;
379
- useTlsForSmtp: boolean;
380
- imapHost: string;
381
- imapPort: string;
382
- imapTlsPort: string;
383
- useTlsForImap: boolean;
384
- };
385
- }, {
386
- id: string;
387
- state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
388
- address: string;
389
- name: string;
390
- created_at: string;
391
- deleted_at: Date | null;
392
- tenant_id: string;
393
- updated_at: string;
394
- accountId: string;
395
- mailServerId: string;
396
- mailServer: {
397
- id: string;
398
- name: string;
399
- created_at: string;
400
- updated_att: string;
401
- deleted_at: string | null;
402
- tenant_id: string;
403
- smtpHost: string;
404
- smtpPort: string;
405
- smtpTlsPort: string;
406
- useTlsForSmtp: boolean;
407
- imapHost: string;
408
- imapPort: string;
409
- imapTlsPort: string;
410
- useTlsForImap: boolean;
411
- };
412
- }>, "many">;
413
- };
414
- update: {
415
- input: z.ZodObject<{
416
- id: z.ZodString;
417
- created_at: z.ZodString;
418
- updated_at: z.ZodString;
419
- deleted_at: z.ZodNullable<z.ZodDate>;
420
- tenant_id: z.ZodString;
421
- name: z.ZodString;
422
- address: z.ZodString;
423
- accountId: z.ZodString;
424
- mailServerId: z.ZodString;
425
- mailServer: z.ZodObject<{
426
- id: z.ZodString;
427
- created_at: z.ZodString;
428
- updated_att: z.ZodString;
429
- deleted_at: z.ZodNullable<z.ZodString>;
430
- tenant_id: z.ZodString;
431
- name: z.ZodString;
432
- smtpHost: z.ZodString;
433
- smtpPort: z.ZodString;
434
- smtpTlsPort: z.ZodString;
435
- useTlsForSmtp: z.ZodBoolean;
436
- imapHost: z.ZodString;
437
- imapPort: z.ZodString;
438
- imapTlsPort: z.ZodString;
439
- useTlsForImap: z.ZodBoolean;
440
- }, "strip", z.ZodTypeAny, {
441
- id: string;
442
- name: string;
443
- created_at: string;
444
- updated_att: string;
445
- deleted_at: string | null;
446
- tenant_id: string;
447
- smtpHost: string;
448
- smtpPort: string;
449
- smtpTlsPort: string;
450
- useTlsForSmtp: boolean;
451
- imapHost: string;
452
- imapPort: string;
453
- imapTlsPort: string;
454
- useTlsForImap: boolean;
455
- }, {
456
- id: string;
457
- name: string;
458
- created_at: string;
459
- updated_att: string;
460
- deleted_at: string | null;
461
- tenant_id: string;
462
- smtpHost: string;
463
- smtpPort: string;
464
- smtpTlsPort: string;
465
- useTlsForSmtp: boolean;
466
- imapHost: string;
467
- imapPort: string;
468
- imapTlsPort: string;
469
- useTlsForImap: boolean;
470
- }>;
471
- state: z.ZodUnion<[z.ZodLiteral<"init">, z.ZodLiteral<"syncing">, z.ZodLiteral<"connecting">, z.ZodLiteral<"connected">, z.ZodLiteral<"disconnected">, z.ZodLiteral<"authenticationError">, z.ZodLiteral<"connectError">, z.ZodLiteral<"unset">]>;
472
- }, "strip", z.ZodTypeAny, {
473
- id: string;
474
- state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
475
- address: string;
476
- name: string;
477
- created_at: string;
478
- deleted_at: Date | null;
479
- tenant_id: string;
480
- updated_at: string;
481
- accountId: string;
482
- mailServerId: string;
483
- mailServer: {
484
- id: string;
485
- name: string;
486
- created_at: string;
487
- updated_att: string;
488
- deleted_at: string | null;
489
- tenant_id: string;
490
- smtpHost: string;
491
- smtpPort: string;
492
- smtpTlsPort: string;
493
- useTlsForSmtp: boolean;
494
- imapHost: string;
495
- imapPort: string;
496
- imapTlsPort: string;
497
- useTlsForImap: boolean;
498
- };
499
- }, {
500
- id: string;
501
- state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
502
- address: string;
503
- name: string;
504
- created_at: string;
505
- deleted_at: Date | null;
506
- tenant_id: string;
507
- updated_at: string;
508
- accountId: string;
509
- mailServerId: string;
510
- mailServer: {
511
- id: string;
512
- name: string;
513
- created_at: string;
514
- updated_att: string;
515
- deleted_at: string | null;
516
- tenant_id: string;
517
- smtpHost: string;
518
- smtpPort: string;
519
- smtpTlsPort: string;
520
- useTlsForSmtp: boolean;
521
- imapHost: string;
522
- imapPort: string;
523
- imapTlsPort: string;
524
- useTlsForImap: boolean;
525
- };
526
- }>;
527
- output: z.ZodObject<{
528
- id: z.ZodString;
529
- created_at: z.ZodString;
530
- updated_at: z.ZodString;
531
- deleted_at: z.ZodNullable<z.ZodDate>;
532
- tenant_id: z.ZodString;
533
- name: z.ZodString;
534
- address: z.ZodString;
535
- accountId: z.ZodString;
536
- mailServerId: z.ZodString;
537
- mailServer: z.ZodObject<{
538
- id: z.ZodString;
539
- created_at: z.ZodString;
540
- updated_att: z.ZodString;
541
- deleted_at: z.ZodNullable<z.ZodString>;
542
- tenant_id: z.ZodString;
543
- name: z.ZodString;
544
- smtpHost: z.ZodString;
545
- smtpPort: z.ZodString;
546
- smtpTlsPort: z.ZodString;
547
- useTlsForSmtp: z.ZodBoolean;
548
- imapHost: z.ZodString;
549
- imapPort: z.ZodString;
550
- imapTlsPort: z.ZodString;
551
- useTlsForImap: z.ZodBoolean;
552
- }, "strip", z.ZodTypeAny, {
553
- id: string;
554
- name: string;
555
- created_at: string;
556
- updated_att: string;
557
- deleted_at: string | null;
558
- tenant_id: string;
559
- smtpHost: string;
560
- smtpPort: string;
561
- smtpTlsPort: string;
562
- useTlsForSmtp: boolean;
563
- imapHost: string;
564
- imapPort: string;
565
- imapTlsPort: string;
566
- useTlsForImap: boolean;
567
- }, {
568
- id: string;
569
- name: string;
570
- created_at: string;
571
- updated_att: string;
572
- deleted_at: string | null;
573
- tenant_id: string;
574
- smtpHost: string;
575
- smtpPort: string;
576
- smtpTlsPort: string;
577
- useTlsForSmtp: boolean;
578
- imapHost: string;
579
- imapPort: string;
580
- imapTlsPort: string;
581
- useTlsForImap: boolean;
582
- }>;
583
- state: z.ZodUnion<[z.ZodLiteral<"init">, z.ZodLiteral<"syncing">, z.ZodLiteral<"connecting">, z.ZodLiteral<"connected">, z.ZodLiteral<"disconnected">, z.ZodLiteral<"authenticationError">, z.ZodLiteral<"connectError">, z.ZodLiteral<"unset">]>;
584
- }, "strip", z.ZodTypeAny, {
585
- id: string;
586
- state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
587
- address: string;
588
- name: string;
589
- created_at: string;
590
- deleted_at: Date | null;
591
- tenant_id: string;
592
- updated_at: string;
593
- accountId: string;
594
- mailServerId: string;
595
- mailServer: {
596
- id: string;
597
- name: string;
598
- created_at: string;
599
- updated_att: string;
600
- deleted_at: string | null;
601
- tenant_id: string;
602
- smtpHost: string;
603
- smtpPort: string;
604
- smtpTlsPort: string;
605
- useTlsForSmtp: boolean;
606
- imapHost: string;
607
- imapPort: string;
608
- imapTlsPort: string;
609
- useTlsForImap: boolean;
610
- };
611
- }, {
612
- id: string;
613
- state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
614
- address: string;
615
- name: string;
616
- created_at: string;
617
- deleted_at: Date | null;
618
- tenant_id: string;
619
- updated_at: string;
620
- accountId: string;
621
- mailServerId: string;
622
- mailServer: {
623
- id: string;
624
- name: string;
625
- created_at: string;
626
- updated_att: string;
627
- deleted_at: string | null;
628
- tenant_id: string;
629
- smtpHost: string;
630
- smtpPort: string;
631
- smtpTlsPort: string;
632
- useTlsForSmtp: boolean;
633
- imapHost: string;
634
- imapPort: string;
635
- imapTlsPort: string;
636
- useTlsForImap: boolean;
637
- };
638
- }>;
639
- };
640
- disconnect: {
641
- input: z.ZodObject<{
642
- id: z.ZodString;
643
- }, "strip", z.ZodTypeAny, {
644
- id: string;
645
- }, {
646
- id: string;
647
- }>;
648
- output: z.ZodObject<{
649
- id: z.ZodString;
650
- created_at: z.ZodString;
651
- updated_at: z.ZodString;
652
- deleted_at: z.ZodNullable<z.ZodDate>;
653
- tenant_id: z.ZodString;
654
- name: z.ZodString;
655
- address: z.ZodString;
656
- accountId: z.ZodString;
657
- mailServerId: z.ZodString;
658
- mailServer: z.ZodObject<{
659
- id: z.ZodString;
660
- created_at: z.ZodString;
661
- updated_att: z.ZodString;
662
- deleted_at: z.ZodNullable<z.ZodString>;
663
- tenant_id: z.ZodString;
664
- name: z.ZodString;
665
- smtpHost: z.ZodString;
666
- smtpPort: z.ZodString;
667
- smtpTlsPort: z.ZodString;
668
- useTlsForSmtp: z.ZodBoolean;
669
- imapHost: z.ZodString;
670
- imapPort: z.ZodString;
671
- imapTlsPort: z.ZodString;
672
- useTlsForImap: z.ZodBoolean;
673
- }, "strip", z.ZodTypeAny, {
674
- id: string;
675
- name: string;
676
- created_at: string;
677
- updated_att: string;
678
- deleted_at: string | null;
679
- tenant_id: string;
680
- smtpHost: string;
681
- smtpPort: string;
682
- smtpTlsPort: string;
683
- useTlsForSmtp: boolean;
684
- imapHost: string;
685
- imapPort: string;
686
- imapTlsPort: string;
687
- useTlsForImap: boolean;
688
- }, {
689
- id: string;
690
- name: string;
691
- created_at: string;
692
- updated_att: string;
693
- deleted_at: string | null;
694
- tenant_id: string;
695
- smtpHost: string;
696
- smtpPort: string;
697
- smtpTlsPort: string;
698
- useTlsForSmtp: boolean;
699
- imapHost: string;
700
- imapPort: string;
701
- imapTlsPort: string;
702
- useTlsForImap: boolean;
703
- }>;
704
- state: z.ZodUnion<[z.ZodLiteral<"init">, z.ZodLiteral<"syncing">, z.ZodLiteral<"connecting">, z.ZodLiteral<"connected">, z.ZodLiteral<"disconnected">, z.ZodLiteral<"authenticationError">, z.ZodLiteral<"connectError">, z.ZodLiteral<"unset">]>;
705
- }, "strip", z.ZodTypeAny, {
706
- id: string;
707
- state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
708
- address: string;
709
- name: string;
710
- created_at: string;
711
- deleted_at: Date | null;
712
- tenant_id: string;
713
- updated_at: string;
714
- accountId: string;
715
- mailServerId: string;
716
- mailServer: {
717
- id: string;
718
- name: string;
719
- created_at: string;
720
- updated_att: string;
721
- deleted_at: string | null;
722
- tenant_id: string;
723
- smtpHost: string;
724
- smtpPort: string;
725
- smtpTlsPort: string;
726
- useTlsForSmtp: boolean;
727
- imapHost: string;
728
- imapPort: string;
729
- imapTlsPort: string;
730
- useTlsForImap: boolean;
731
- };
732
- }, {
733
- id: string;
734
- state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
735
- address: string;
736
- name: string;
737
- created_at: string;
738
- deleted_at: Date | null;
739
- tenant_id: string;
740
- updated_at: string;
741
- accountId: string;
742
- mailServerId: string;
743
- mailServer: {
744
- id: string;
745
- name: string;
746
- created_at: string;
747
- updated_att: string;
748
- deleted_at: string | null;
749
- tenant_id: string;
750
- smtpHost: string;
751
- smtpPort: string;
752
- smtpTlsPort: string;
753
- useTlsForSmtp: boolean;
754
- imapHost: string;
755
- imapPort: string;
756
- imapTlsPort: string;
757
- useTlsForImap: boolean;
758
- };
759
- }>;
760
- };
761
- reconnect: {
762
- input: z.ZodObject<{
763
- id: z.ZodString;
764
- }, "strip", z.ZodTypeAny, {
765
- id: string;
766
- }, {
767
- id: string;
768
- }>;
769
- output: z.ZodObject<{
770
- id: z.ZodString;
771
- created_at: z.ZodString;
772
- updated_at: z.ZodString;
773
- deleted_at: z.ZodNullable<z.ZodDate>;
774
- tenant_id: z.ZodString;
775
- name: z.ZodString;
776
- address: z.ZodString;
777
- accountId: z.ZodString;
778
- mailServerId: z.ZodString;
779
- mailServer: z.ZodObject<{
780
- id: z.ZodString;
781
- created_at: z.ZodString;
782
- updated_att: z.ZodString;
783
- deleted_at: z.ZodNullable<z.ZodString>;
784
- tenant_id: z.ZodString;
785
- name: z.ZodString;
786
- smtpHost: z.ZodString;
787
- smtpPort: z.ZodString;
788
- smtpTlsPort: z.ZodString;
789
- useTlsForSmtp: z.ZodBoolean;
790
- imapHost: z.ZodString;
791
- imapPort: z.ZodString;
792
- imapTlsPort: z.ZodString;
793
- useTlsForImap: z.ZodBoolean;
794
- }, "strip", z.ZodTypeAny, {
795
- id: string;
796
- name: string;
797
- created_at: string;
798
- updated_att: string;
799
- deleted_at: string | null;
800
- tenant_id: string;
801
- smtpHost: string;
802
- smtpPort: string;
803
- smtpTlsPort: string;
804
- useTlsForSmtp: boolean;
805
- imapHost: string;
806
- imapPort: string;
807
- imapTlsPort: string;
808
- useTlsForImap: boolean;
809
- }, {
810
- id: string;
811
- name: string;
812
- created_at: string;
813
- updated_att: string;
814
- deleted_at: string | null;
815
- tenant_id: string;
816
- smtpHost: string;
817
- smtpPort: string;
818
- smtpTlsPort: string;
819
- useTlsForSmtp: boolean;
820
- imapHost: string;
821
- imapPort: string;
822
- imapTlsPort: string;
823
- useTlsForImap: boolean;
824
- }>;
825
- state: z.ZodUnion<[z.ZodLiteral<"init">, z.ZodLiteral<"syncing">, z.ZodLiteral<"connecting">, z.ZodLiteral<"connected">, z.ZodLiteral<"disconnected">, z.ZodLiteral<"authenticationError">, z.ZodLiteral<"connectError">, z.ZodLiteral<"unset">]>;
826
- }, "strip", z.ZodTypeAny, {
827
- id: string;
828
- state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
829
- address: string;
830
- name: string;
831
- created_at: string;
832
- deleted_at: Date | null;
833
- tenant_id: string;
834
- updated_at: string;
835
- accountId: string;
836
- mailServerId: string;
837
- mailServer: {
838
- id: string;
839
- name: string;
840
- created_at: string;
841
- updated_att: string;
842
- deleted_at: string | null;
843
- tenant_id: string;
844
- smtpHost: string;
845
- smtpPort: string;
846
- smtpTlsPort: string;
847
- useTlsForSmtp: boolean;
848
- imapHost: string;
849
- imapPort: string;
850
- imapTlsPort: string;
851
- useTlsForImap: boolean;
852
- };
853
- }, {
854
- id: string;
855
- state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
856
- address: string;
857
- name: string;
858
- created_at: string;
859
- deleted_at: Date | null;
860
- tenant_id: string;
861
- updated_at: string;
862
- accountId: string;
863
- mailServerId: string;
864
- mailServer: {
865
- id: string;
866
- name: string;
867
- created_at: string;
868
- updated_att: string;
869
- deleted_at: string | null;
870
- tenant_id: string;
871
- smtpHost: string;
872
- smtpPort: string;
873
- smtpTlsPort: string;
874
- useTlsForSmtp: boolean;
875
- imapHost: string;
876
- imapPort: string;
877
- imapTlsPort: string;
878
- useTlsForImap: boolean;
879
- };
880
- }>;
881
- };
882
- delete: {
883
- input: z.ZodObject<{
884
- id: z.ZodString;
885
- }, "strip", z.ZodTypeAny, {
886
- id: string;
887
- }, {
888
- id: string;
889
- }>;
890
- output: z.ZodObject<{
891
- id: z.ZodString;
892
- created_at: z.ZodString;
893
- updated_at: z.ZodString;
894
- deleted_at: z.ZodNullable<z.ZodDate>;
895
- tenant_id: z.ZodString;
896
- name: z.ZodString;
897
- address: z.ZodString;
898
- accountId: z.ZodString;
899
- mailServerId: z.ZodString;
900
- mailServer: z.ZodObject<{
901
- id: z.ZodString;
902
- created_at: z.ZodString;
903
- updated_att: z.ZodString;
904
- deleted_at: z.ZodNullable<z.ZodString>;
905
- tenant_id: z.ZodString;
906
- name: z.ZodString;
907
- smtpHost: z.ZodString;
908
- smtpPort: z.ZodString;
909
- smtpTlsPort: z.ZodString;
910
- useTlsForSmtp: z.ZodBoolean;
911
- imapHost: z.ZodString;
912
- imapPort: z.ZodString;
913
- imapTlsPort: z.ZodString;
914
- useTlsForImap: z.ZodBoolean;
915
- }, "strip", z.ZodTypeAny, {
916
- id: string;
917
- name: string;
918
- created_at: string;
919
- updated_att: string;
920
- deleted_at: string | null;
921
- tenant_id: string;
922
- smtpHost: string;
923
- smtpPort: string;
924
- smtpTlsPort: string;
925
- useTlsForSmtp: boolean;
926
- imapHost: string;
927
- imapPort: string;
928
- imapTlsPort: string;
929
- useTlsForImap: boolean;
930
- }, {
931
- id: string;
932
- name: string;
933
- created_at: string;
934
- updated_att: string;
935
- deleted_at: string | null;
936
- tenant_id: string;
937
- smtpHost: string;
938
- smtpPort: string;
939
- smtpTlsPort: string;
940
- useTlsForSmtp: boolean;
941
- imapHost: string;
942
- imapPort: string;
943
- imapTlsPort: string;
944
- useTlsForImap: boolean;
945
- }>;
946
- state: z.ZodUnion<[z.ZodLiteral<"init">, z.ZodLiteral<"syncing">, z.ZodLiteral<"connecting">, z.ZodLiteral<"connected">, z.ZodLiteral<"disconnected">, z.ZodLiteral<"authenticationError">, z.ZodLiteral<"connectError">, z.ZodLiteral<"unset">]>;
947
- }, "strip", z.ZodTypeAny, {
948
- id: string;
949
- state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
950
- address: string;
951
- name: string;
952
- created_at: string;
953
- deleted_at: Date | null;
954
- tenant_id: string;
955
- updated_at: string;
956
- accountId: string;
957
- mailServerId: string;
958
- mailServer: {
959
- id: string;
960
- name: string;
961
- created_at: string;
962
- updated_att: string;
963
- deleted_at: string | null;
964
- tenant_id: string;
965
- smtpHost: string;
966
- smtpPort: string;
967
- smtpTlsPort: string;
968
- useTlsForSmtp: boolean;
969
- imapHost: string;
970
- imapPort: string;
971
- imapTlsPort: string;
972
- useTlsForImap: boolean;
973
- };
974
- }, {
975
- id: string;
976
- state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
977
- address: string;
978
- name: string;
979
- created_at: string;
980
- deleted_at: Date | null;
981
- tenant_id: string;
982
- updated_at: string;
983
- accountId: string;
984
- mailServerId: string;
985
- mailServer: {
986
- id: string;
987
- name: string;
988
- created_at: string;
989
- updated_att: string;
990
- deleted_at: string | null;
991
- tenant_id: string;
992
- smtpHost: string;
993
- smtpPort: string;
994
- smtpTlsPort: string;
995
- useTlsForSmtp: boolean;
996
- imapHost: string;
997
- imapPort: string;
998
- imapTlsPort: string;
999
- useTlsForImap: boolean;
1000
- };
1001
- }>;
1002
- };
1003
- };
1004
149
  //# sourceMappingURL=account.schema.d.ts.map