@kl1/contracts 1.0.0 → 1.0.2

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 (106) hide show
  1. package/dist/index.js +1493 -496
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +1487 -492
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/attribute/index.d.ts +527 -65
  6. package/dist/src/attribute/index.d.ts.map +1 -1
  7. package/dist/src/attribute/schema.d.ts +91 -11
  8. package/dist/src/attribute/schema.d.ts.map +1 -1
  9. package/dist/src/attribute/validation.d.ts +13 -16
  10. package/dist/src/attribute/validation.d.ts.map +1 -1
  11. package/dist/src/attribute-option/schema.d.ts +5 -5
  12. package/dist/src/auth/index.d.ts +64 -29
  13. package/dist/src/auth/index.d.ts.map +1 -1
  14. package/dist/src/base-contract.d.ts +6 -6
  15. package/dist/src/base-contract.d.ts.map +1 -1
  16. package/dist/src/call-log/schema.d.ts +5 -5
  17. package/dist/src/call-log/validation.d.ts +2 -2
  18. package/dist/src/category/index.d.ts +193 -109
  19. package/dist/src/category/index.d.ts.map +1 -1
  20. package/dist/src/category/schema.d.ts +24 -2
  21. package/dist/src/category/schema.d.ts.map +1 -1
  22. package/dist/src/category/validation.d.ts +4 -4
  23. package/dist/src/chat/index.d.ts +2111 -0
  24. package/dist/src/chat/index.d.ts.map +1 -0
  25. package/dist/src/chat/schema.d.ts +1742 -0
  26. package/dist/src/chat/schema.d.ts.map +1 -0
  27. package/dist/src/chat/validation.d.ts +355 -0
  28. package/dist/src/chat/validation.d.ts.map +1 -0
  29. package/dist/src/company/schema.d.ts +3 -3
  30. package/dist/src/contact/schema.d.ts +3 -3
  31. package/dist/src/contact-email/schema.d.ts +3 -3
  32. package/dist/src/contact-phone/schema.d.ts +3 -3
  33. package/dist/src/contract.d.ts +6117 -599
  34. package/dist/src/contract.d.ts.map +1 -1
  35. package/dist/src/custom-field/schema.d.ts +5 -5
  36. package/dist/src/custom-field-upload/schema.d.ts +3 -3
  37. package/dist/src/cx-log/index.d.ts +64 -62
  38. package/dist/src/cx-log/index.d.ts.map +1 -1
  39. package/dist/src/cx-log/schema.d.ts +7 -7
  40. package/dist/src/cx-log/validation.d.ts +47 -47
  41. package/dist/src/cx-log/validation.d.ts.map +1 -1
  42. package/dist/src/evaluate-form/schema.d.ts +3 -3
  43. package/dist/src/extension/index.d.ts +547 -0
  44. package/dist/src/extension/index.d.ts.map +1 -0
  45. package/dist/src/extension/schema.d.ts +9 -9
  46. package/dist/src/extension/validation.d.ts +49 -0
  47. package/dist/src/extension/validation.d.ts.map +1 -0
  48. package/dist/src/group/schema.d.ts +3 -3
  49. package/dist/src/index.d.ts +2 -0
  50. package/dist/src/index.d.ts.map +1 -1
  51. package/dist/src/line/index.d.ts +86 -0
  52. package/dist/src/line/index.d.ts.map +1 -0
  53. package/dist/src/line/schema.d.ts +12 -0
  54. package/dist/src/line/schema.d.ts.map +1 -0
  55. package/dist/src/line/validation.d.ts +18 -0
  56. package/dist/src/line/validation.d.ts.map +1 -0
  57. package/dist/src/log-form/schema.d.ts +3 -3
  58. package/dist/src/mail/account-contract.d.ts +119 -119
  59. package/dist/src/mail/account-contract.d.ts.map +1 -1
  60. package/dist/src/mail/mail-contract.d.ts +622 -623
  61. package/dist/src/mail/mail-contract.d.ts.map +1 -1
  62. package/dist/src/mail/mail-server.d.ts.map +1 -1
  63. package/dist/src/mail/message-contract.d.ts.map +1 -1
  64. package/dist/src/mail/room-contract.d.ts.map +1 -1
  65. package/dist/src/mail/schemas/account.schema.d.ts +129 -129
  66. package/dist/src/permission/index.d.ts +95 -0
  67. package/dist/src/permission/index.d.ts.map +1 -0
  68. package/dist/src/permission/schema.d.ts +3 -3
  69. package/dist/src/platform-contact/schema.d.ts +5 -5
  70. package/dist/src/role/index.d.ts +545 -0
  71. package/dist/src/role/index.d.ts.map +1 -0
  72. package/dist/src/role/schema.d.ts +8 -8
  73. package/dist/src/role/validation.d.ts +37 -0
  74. package/dist/src/role/validation.d.ts.map +1 -0
  75. package/dist/src/tag/index.d.ts +286 -0
  76. package/dist/src/tag/index.d.ts.map +1 -0
  77. package/dist/src/tag/schema.d.ts +4 -3
  78. package/dist/src/tag/schema.d.ts.map +1 -1
  79. package/dist/src/tag/validation.d.ts +29 -0
  80. package/dist/src/tag/validation.d.ts.map +1 -0
  81. package/dist/src/tag-group/schema.d.ts +3 -3
  82. package/dist/src/telephony-cdr/schema.d.ts +5 -5
  83. package/dist/src/telephony-extension/index.d.ts +65 -0
  84. package/dist/src/telephony-extension/index.d.ts.map +1 -0
  85. package/dist/src/telephony-extension/schema.d.ts +18 -0
  86. package/dist/src/telephony-extension/schema.d.ts.map +1 -0
  87. package/dist/src/telephony-live-queue-call/schema.d.ts +3 -3
  88. package/dist/src/telephony-queue-call-count/schema.d.ts +3 -3
  89. package/dist/src/ticket/schema.d.ts +5 -5
  90. package/dist/src/types.d.ts +5 -0
  91. package/dist/src/types.d.ts.map +1 -0
  92. package/dist/src/upload/schema.d.ts +3 -3
  93. package/dist/src/user/index.d.ts +1064 -0
  94. package/dist/src/user/index.d.ts.map +1 -0
  95. package/dist/src/user/schema.d.ts +15 -15
  96. package/dist/src/user/schema.d.ts.map +1 -1
  97. package/dist/src/user/validation.d.ts +49 -0
  98. package/dist/src/user/validation.d.ts.map +1 -0
  99. package/dist/src/widget/index.d.ts +817 -0
  100. package/dist/src/widget/index.d.ts.map +1 -0
  101. package/dist/src/widget/schema.d.ts +20 -9
  102. package/dist/src/widget/schema.d.ts.map +1 -1
  103. package/dist/src/widget/validation.d.ts +63 -0
  104. package/dist/src/widget/validation.d.ts.map +1 -0
  105. package/dist/utils.d.ts +2 -2
  106. package/package.json +2 -1
@@ -1,4 +1,3 @@
1
- import z from 'zod';
2
1
  export declare const mailContract: {
3
2
  room: {
4
3
  create: {
@@ -6,40 +5,40 @@ export declare const mailContract: {
6
5
  summary: "Create a new room for new incoming mail";
7
6
  method: "POST";
8
7
  responses: {
9
- 401: z.ZodObject<{
10
- message: z.ZodString;
11
- error: z.ZodAny;
12
- }, "strip", z.ZodTypeAny, {
8
+ 401: import("zod").ZodObject<{
9
+ message: import("zod").ZodString;
10
+ error: import("zod").ZodAny;
11
+ }, "strip", import("zod").ZodTypeAny, {
13
12
  message: string;
14
13
  error?: any;
15
14
  }, {
16
15
  message: string;
17
16
  error?: any;
18
17
  }>;
19
- 404: z.ZodObject<{
20
- message: z.ZodString;
21
- error: z.ZodAny;
22
- }, "strip", z.ZodTypeAny, {
18
+ 404: import("zod").ZodObject<{
19
+ message: import("zod").ZodString;
20
+ error: import("zod").ZodAny;
21
+ }, "strip", import("zod").ZodTypeAny, {
23
22
  message: string;
24
23
  error?: any;
25
24
  }, {
26
25
  message: string;
27
26
  error?: any;
28
27
  }>;
29
- 422: z.ZodObject<{
30
- message: z.ZodString;
31
- error: z.ZodAny;
32
- }, "strip", z.ZodTypeAny, {
28
+ 422: import("zod").ZodObject<{
29
+ message: import("zod").ZodString;
30
+ error: import("zod").ZodAny;
31
+ }, "strip", import("zod").ZodTypeAny, {
33
32
  message: string;
34
33
  error?: any;
35
34
  }, {
36
35
  message: string;
37
36
  error?: any;
38
37
  }>;
39
- 200: z.ZodObject<{
40
- requestId: z.ZodString;
41
- message: z.ZodString;
42
- }, "strip", z.ZodTypeAny, {
38
+ 200: import("zod").ZodObject<{
39
+ requestId: import("zod").ZodString;
40
+ message: import("zod").ZodString;
41
+ }, "strip", import("zod").ZodTypeAny, {
43
42
  message: string;
44
43
  requestId: string;
45
44
  }, {
@@ -52,48 +51,48 @@ export declare const mailContract: {
52
51
  get: {
53
52
  summary: "Get a mail room by id";
54
53
  method: "GET";
55
- pathParams: z.ZodObject<{
56
- id: z.ZodString;
57
- }, "strip", z.ZodTypeAny, {
54
+ pathParams: import("zod").ZodObject<{
55
+ id: import("zod").ZodString;
56
+ }, "strip", import("zod").ZodTypeAny, {
58
57
  id: string;
59
58
  }, {
60
59
  id: string;
61
60
  }>;
62
61
  responses: {
63
- 401: z.ZodObject<{
64
- message: z.ZodString;
65
- error: z.ZodAny;
66
- }, "strip", z.ZodTypeAny, {
62
+ 401: import("zod").ZodObject<{
63
+ message: import("zod").ZodString;
64
+ error: import("zod").ZodAny;
65
+ }, "strip", import("zod").ZodTypeAny, {
67
66
  message: string;
68
67
  error?: any;
69
68
  }, {
70
69
  message: string;
71
70
  error?: any;
72
71
  }>;
73
- 404: z.ZodObject<{
74
- message: z.ZodString;
75
- error: z.ZodAny;
76
- }, "strip", z.ZodTypeAny, {
72
+ 404: import("zod").ZodObject<{
73
+ message: import("zod").ZodString;
74
+ error: import("zod").ZodAny;
75
+ }, "strip", import("zod").ZodTypeAny, {
77
76
  message: string;
78
77
  error?: any;
79
78
  }, {
80
79
  message: string;
81
80
  error?: any;
82
81
  }>;
83
- 422: z.ZodObject<{
84
- message: z.ZodString;
85
- error: z.ZodAny;
86
- }, "strip", z.ZodTypeAny, {
82
+ 422: import("zod").ZodObject<{
83
+ message: import("zod").ZodString;
84
+ error: import("zod").ZodAny;
85
+ }, "strip", import("zod").ZodTypeAny, {
87
86
  message: string;
88
87
  error?: any;
89
88
  }, {
90
89
  message: string;
91
90
  error?: any;
92
91
  }>;
93
- 200: z.ZodObject<{
94
- requestId: z.ZodString;
95
- message: z.ZodString;
96
- }, "strip", z.ZodTypeAny, {
92
+ 200: import("zod").ZodObject<{
93
+ requestId: import("zod").ZodString;
94
+ message: import("zod").ZodString;
95
+ }, "strip", import("zod").ZodTypeAny, {
97
96
  message: string;
98
97
  requestId: string;
99
98
  }, {
@@ -107,48 +106,48 @@ export declare const mailContract: {
107
106
  body: null;
108
107
  summary: "Update a mail room by id";
109
108
  method: "PATCH";
110
- pathParams: z.ZodObject<{
111
- id: z.ZodString;
112
- }, "strip", z.ZodTypeAny, {
109
+ pathParams: import("zod").ZodObject<{
110
+ id: import("zod").ZodString;
111
+ }, "strip", import("zod").ZodTypeAny, {
113
112
  id: string;
114
113
  }, {
115
114
  id: string;
116
115
  }>;
117
116
  responses: {
118
- 401: z.ZodObject<{
119
- message: z.ZodString;
120
- error: z.ZodAny;
121
- }, "strip", z.ZodTypeAny, {
117
+ 401: import("zod").ZodObject<{
118
+ message: import("zod").ZodString;
119
+ error: import("zod").ZodAny;
120
+ }, "strip", import("zod").ZodTypeAny, {
122
121
  message: string;
123
122
  error?: any;
124
123
  }, {
125
124
  message: string;
126
125
  error?: any;
127
126
  }>;
128
- 404: z.ZodObject<{
129
- message: z.ZodString;
130
- error: z.ZodAny;
131
- }, "strip", z.ZodTypeAny, {
127
+ 404: import("zod").ZodObject<{
128
+ message: import("zod").ZodString;
129
+ error: import("zod").ZodAny;
130
+ }, "strip", import("zod").ZodTypeAny, {
132
131
  message: string;
133
132
  error?: any;
134
133
  }, {
135
134
  message: string;
136
135
  error?: any;
137
136
  }>;
138
- 422: z.ZodObject<{
139
- message: z.ZodString;
140
- error: z.ZodAny;
141
- }, "strip", z.ZodTypeAny, {
137
+ 422: import("zod").ZodObject<{
138
+ message: import("zod").ZodString;
139
+ error: import("zod").ZodAny;
140
+ }, "strip", import("zod").ZodTypeAny, {
142
141
  message: string;
143
142
  error?: any;
144
143
  }, {
145
144
  message: string;
146
145
  error?: any;
147
146
  }>;
148
- 200: z.ZodObject<{
149
- requestId: z.ZodString;
150
- message: z.ZodString;
151
- }, "strip", z.ZodTypeAny, {
147
+ 200: import("zod").ZodObject<{
148
+ requestId: import("zod").ZodString;
149
+ message: import("zod").ZodString;
150
+ }, "strip", import("zod").ZodTypeAny, {
152
151
  message: string;
153
152
  requestId: string;
154
153
  }, {
@@ -162,48 +161,48 @@ export declare const mailContract: {
162
161
  body: null;
163
162
  summary: "Delete a mail room by id";
164
163
  method: "PATCH";
165
- pathParams: z.ZodObject<{
166
- id: z.ZodString;
167
- }, "strip", z.ZodTypeAny, {
164
+ pathParams: import("zod").ZodObject<{
165
+ id: import("zod").ZodString;
166
+ }, "strip", import("zod").ZodTypeAny, {
168
167
  id: string;
169
168
  }, {
170
169
  id: string;
171
170
  }>;
172
171
  responses: {
173
- 401: z.ZodObject<{
174
- message: z.ZodString;
175
- error: z.ZodAny;
176
- }, "strip", z.ZodTypeAny, {
172
+ 401: import("zod").ZodObject<{
173
+ message: import("zod").ZodString;
174
+ error: import("zod").ZodAny;
175
+ }, "strip", import("zod").ZodTypeAny, {
177
176
  message: string;
178
177
  error?: any;
179
178
  }, {
180
179
  message: string;
181
180
  error?: any;
182
181
  }>;
183
- 404: z.ZodObject<{
184
- message: z.ZodString;
185
- error: z.ZodAny;
186
- }, "strip", z.ZodTypeAny, {
182
+ 404: import("zod").ZodObject<{
183
+ message: import("zod").ZodString;
184
+ error: import("zod").ZodAny;
185
+ }, "strip", import("zod").ZodTypeAny, {
187
186
  message: string;
188
187
  error?: any;
189
188
  }, {
190
189
  message: string;
191
190
  error?: any;
192
191
  }>;
193
- 422: z.ZodObject<{
194
- message: z.ZodString;
195
- error: z.ZodAny;
196
- }, "strip", z.ZodTypeAny, {
192
+ 422: import("zod").ZodObject<{
193
+ message: import("zod").ZodString;
194
+ error: import("zod").ZodAny;
195
+ }, "strip", import("zod").ZodTypeAny, {
197
196
  message: string;
198
197
  error?: any;
199
198
  }, {
200
199
  message: string;
201
200
  error?: any;
202
201
  }>;
203
- 200: z.ZodObject<{
204
- requestId: z.ZodString;
205
- message: z.ZodString;
206
- }, "strip", z.ZodTypeAny, {
202
+ 200: import("zod").ZodObject<{
203
+ requestId: import("zod").ZodString;
204
+ message: import("zod").ZodString;
205
+ }, "strip", import("zod").ZodTypeAny, {
207
206
  message: string;
208
207
  requestId: string;
209
208
  }, {
@@ -220,40 +219,40 @@ export declare const mailContract: {
220
219
  summary: "Add a new message into a room";
221
220
  method: "POST";
222
221
  responses: {
223
- 401: z.ZodObject<{
224
- message: z.ZodString;
225
- error: z.ZodAny;
226
- }, "strip", z.ZodTypeAny, {
222
+ 401: import("zod").ZodObject<{
223
+ message: import("zod").ZodString;
224
+ error: import("zod").ZodAny;
225
+ }, "strip", import("zod").ZodTypeAny, {
227
226
  message: string;
228
227
  error?: any;
229
228
  }, {
230
229
  message: string;
231
230
  error?: any;
232
231
  }>;
233
- 404: z.ZodObject<{
234
- message: z.ZodString;
235
- error: z.ZodAny;
236
- }, "strip", z.ZodTypeAny, {
232
+ 404: import("zod").ZodObject<{
233
+ message: import("zod").ZodString;
234
+ error: import("zod").ZodAny;
235
+ }, "strip", import("zod").ZodTypeAny, {
237
236
  message: string;
238
237
  error?: any;
239
238
  }, {
240
239
  message: string;
241
240
  error?: any;
242
241
  }>;
243
- 422: z.ZodObject<{
244
- message: z.ZodString;
245
- error: z.ZodAny;
246
- }, "strip", z.ZodTypeAny, {
242
+ 422: import("zod").ZodObject<{
243
+ message: import("zod").ZodString;
244
+ error: import("zod").ZodAny;
245
+ }, "strip", import("zod").ZodTypeAny, {
247
246
  message: string;
248
247
  error?: any;
249
248
  }, {
250
249
  message: string;
251
250
  error?: any;
252
251
  }>;
253
- 200: z.ZodObject<{
254
- requestId: z.ZodString;
255
- message: z.ZodString;
256
- }, "strip", z.ZodTypeAny, {
252
+ 200: import("zod").ZodObject<{
253
+ requestId: import("zod").ZodString;
254
+ message: import("zod").ZodString;
255
+ }, "strip", import("zod").ZodTypeAny, {
257
256
  message: string;
258
257
  requestId: string;
259
258
  }, {
@@ -266,48 +265,48 @@ export declare const mailContract: {
266
265
  get: {
267
266
  summary: "Get a message by id";
268
267
  method: "GET";
269
- pathParams: z.ZodObject<{
270
- id: z.ZodString;
271
- }, "strip", z.ZodTypeAny, {
268
+ pathParams: import("zod").ZodObject<{
269
+ id: import("zod").ZodString;
270
+ }, "strip", import("zod").ZodTypeAny, {
272
271
  id: string;
273
272
  }, {
274
273
  id: string;
275
274
  }>;
276
275
  responses: {
277
- 401: z.ZodObject<{
278
- message: z.ZodString;
279
- error: z.ZodAny;
280
- }, "strip", z.ZodTypeAny, {
276
+ 401: import("zod").ZodObject<{
277
+ message: import("zod").ZodString;
278
+ error: import("zod").ZodAny;
279
+ }, "strip", import("zod").ZodTypeAny, {
281
280
  message: string;
282
281
  error?: any;
283
282
  }, {
284
283
  message: string;
285
284
  error?: any;
286
285
  }>;
287
- 404: z.ZodObject<{
288
- message: z.ZodString;
289
- error: z.ZodAny;
290
- }, "strip", z.ZodTypeAny, {
286
+ 404: import("zod").ZodObject<{
287
+ message: import("zod").ZodString;
288
+ error: import("zod").ZodAny;
289
+ }, "strip", import("zod").ZodTypeAny, {
291
290
  message: string;
292
291
  error?: any;
293
292
  }, {
294
293
  message: string;
295
294
  error?: any;
296
295
  }>;
297
- 422: z.ZodObject<{
298
- message: z.ZodString;
299
- error: z.ZodAny;
300
- }, "strip", z.ZodTypeAny, {
296
+ 422: import("zod").ZodObject<{
297
+ message: import("zod").ZodString;
298
+ error: import("zod").ZodAny;
299
+ }, "strip", import("zod").ZodTypeAny, {
301
300
  message: string;
302
301
  error?: any;
303
302
  }, {
304
303
  message: string;
305
304
  error?: any;
306
305
  }>;
307
- 200: z.ZodObject<{
308
- requestId: z.ZodString;
309
- message: z.ZodString;
310
- }, "strip", z.ZodTypeAny, {
306
+ 200: import("zod").ZodObject<{
307
+ requestId: import("zod").ZodString;
308
+ message: import("zod").ZodString;
309
+ }, "strip", import("zod").ZodTypeAny, {
311
310
  message: string;
312
311
  requestId: string;
313
312
  }, {
@@ -321,48 +320,48 @@ export declare const mailContract: {
321
320
  body: null;
322
321
  summary: "Update a message by id";
323
322
  method: "PATCH";
324
- pathParams: z.ZodObject<{
325
- id: z.ZodString;
326
- }, "strip", z.ZodTypeAny, {
323
+ pathParams: import("zod").ZodObject<{
324
+ id: import("zod").ZodString;
325
+ }, "strip", import("zod").ZodTypeAny, {
327
326
  id: string;
328
327
  }, {
329
328
  id: string;
330
329
  }>;
331
330
  responses: {
332
- 401: z.ZodObject<{
333
- message: z.ZodString;
334
- error: z.ZodAny;
335
- }, "strip", z.ZodTypeAny, {
331
+ 401: import("zod").ZodObject<{
332
+ message: import("zod").ZodString;
333
+ error: import("zod").ZodAny;
334
+ }, "strip", import("zod").ZodTypeAny, {
336
335
  message: string;
337
336
  error?: any;
338
337
  }, {
339
338
  message: string;
340
339
  error?: any;
341
340
  }>;
342
- 404: z.ZodObject<{
343
- message: z.ZodString;
344
- error: z.ZodAny;
345
- }, "strip", z.ZodTypeAny, {
341
+ 404: import("zod").ZodObject<{
342
+ message: import("zod").ZodString;
343
+ error: import("zod").ZodAny;
344
+ }, "strip", import("zod").ZodTypeAny, {
346
345
  message: string;
347
346
  error?: any;
348
347
  }, {
349
348
  message: string;
350
349
  error?: any;
351
350
  }>;
352
- 422: z.ZodObject<{
353
- message: z.ZodString;
354
- error: z.ZodAny;
355
- }, "strip", z.ZodTypeAny, {
351
+ 422: import("zod").ZodObject<{
352
+ message: import("zod").ZodString;
353
+ error: import("zod").ZodAny;
354
+ }, "strip", import("zod").ZodTypeAny, {
356
355
  message: string;
357
356
  error?: any;
358
357
  }, {
359
358
  message: string;
360
359
  error?: any;
361
360
  }>;
362
- 200: z.ZodObject<{
363
- requestId: z.ZodString;
364
- message: z.ZodString;
365
- }, "strip", z.ZodTypeAny, {
361
+ 200: import("zod").ZodObject<{
362
+ requestId: import("zod").ZodString;
363
+ message: import("zod").ZodString;
364
+ }, "strip", import("zod").ZodTypeAny, {
366
365
  message: string;
367
366
  requestId: string;
368
367
  }, {
@@ -376,48 +375,48 @@ export declare const mailContract: {
376
375
  body: null;
377
376
  summary: "Delete a message by id";
378
377
  method: "PATCH";
379
- pathParams: z.ZodObject<{
380
- id: z.ZodString;
381
- }, "strip", z.ZodTypeAny, {
378
+ pathParams: import("zod").ZodObject<{
379
+ id: import("zod").ZodString;
380
+ }, "strip", import("zod").ZodTypeAny, {
382
381
  id: string;
383
382
  }, {
384
383
  id: string;
385
384
  }>;
386
385
  responses: {
387
- 401: z.ZodObject<{
388
- message: z.ZodString;
389
- error: z.ZodAny;
390
- }, "strip", z.ZodTypeAny, {
386
+ 401: import("zod").ZodObject<{
387
+ message: import("zod").ZodString;
388
+ error: import("zod").ZodAny;
389
+ }, "strip", import("zod").ZodTypeAny, {
391
390
  message: string;
392
391
  error?: any;
393
392
  }, {
394
393
  message: string;
395
394
  error?: any;
396
395
  }>;
397
- 404: z.ZodObject<{
398
- message: z.ZodString;
399
- error: z.ZodAny;
400
- }, "strip", z.ZodTypeAny, {
396
+ 404: import("zod").ZodObject<{
397
+ message: import("zod").ZodString;
398
+ error: import("zod").ZodAny;
399
+ }, "strip", import("zod").ZodTypeAny, {
401
400
  message: string;
402
401
  error?: any;
403
402
  }, {
404
403
  message: string;
405
404
  error?: any;
406
405
  }>;
407
- 422: z.ZodObject<{
408
- message: z.ZodString;
409
- error: z.ZodAny;
410
- }, "strip", z.ZodTypeAny, {
406
+ 422: import("zod").ZodObject<{
407
+ message: import("zod").ZodString;
408
+ error: import("zod").ZodAny;
409
+ }, "strip", import("zod").ZodTypeAny, {
411
410
  message: string;
412
411
  error?: any;
413
412
  }, {
414
413
  message: string;
415
414
  error?: any;
416
415
  }>;
417
- 200: z.ZodObject<{
418
- requestId: z.ZodString;
419
- message: z.ZodString;
420
- }, "strip", z.ZodTypeAny, {
416
+ 200: import("zod").ZodObject<{
417
+ requestId: import("zod").ZodString;
418
+ message: import("zod").ZodString;
419
+ }, "strip", import("zod").ZodTypeAny, {
421
420
  message: string;
422
421
  requestId: string;
423
422
  }, {
@@ -430,12 +429,12 @@ export declare const mailContract: {
430
429
  };
431
430
  account: {
432
431
  create: {
433
- body: z.ZodObject<{
434
- address: z.ZodString;
435
- name: z.ZodString;
436
- password: z.ZodString;
437
- mailServerId: z.ZodString;
438
- }, "strip", z.ZodTypeAny, {
432
+ body: import("zod").ZodObject<{
433
+ address: import("zod").ZodString;
434
+ name: import("zod").ZodString;
435
+ password: import("zod").ZodString;
436
+ mailServerId: import("zod").ZodString;
437
+ }, "strip", import("zod").ZodTypeAny, {
439
438
  address: string;
440
439
  name: string;
441
440
  mailServerId: string;
@@ -449,154 +448,154 @@ export declare const mailContract: {
449
448
  summary: "Register a new mail account";
450
449
  method: "POST";
451
450
  responses: {
452
- 401: z.ZodObject<{
453
- message: z.ZodString;
454
- error: z.ZodAny;
455
- }, "strip", z.ZodTypeAny, {
451
+ 401: import("zod").ZodObject<{
452
+ message: import("zod").ZodString;
453
+ error: import("zod").ZodAny;
454
+ }, "strip", import("zod").ZodTypeAny, {
456
455
  message: string;
457
456
  error?: any;
458
457
  }, {
459
458
  message: string;
460
459
  error?: any;
461
460
  }>;
462
- 404: z.ZodObject<{
463
- message: z.ZodString;
464
- error: z.ZodAny;
465
- }, "strip", z.ZodTypeAny, {
461
+ 404: import("zod").ZodObject<{
462
+ message: import("zod").ZodString;
463
+ error: import("zod").ZodAny;
464
+ }, "strip", import("zod").ZodTypeAny, {
466
465
  message: string;
467
466
  error?: any;
468
467
  }, {
469
468
  message: string;
470
469
  error?: any;
471
470
  }>;
472
- 422: z.ZodObject<{
473
- message: z.ZodString;
474
- error: z.ZodAny;
475
- }, "strip", z.ZodTypeAny, {
471
+ 422: import("zod").ZodObject<{
472
+ message: import("zod").ZodString;
473
+ error: import("zod").ZodAny;
474
+ }, "strip", import("zod").ZodTypeAny, {
476
475
  message: string;
477
476
  error?: any;
478
477
  }, {
479
478
  message: string;
480
479
  error?: any;
481
480
  }>;
482
- 201: z.ZodObject<{
483
- requestId: z.ZodString;
484
- message: z.ZodString;
485
- }, "strip", z.ZodTypeAny, {
481
+ 201: import("zod").ZodObject<{
482
+ requestId: import("zod").ZodString;
483
+ message: import("zod").ZodString;
484
+ }, "strip", import("zod").ZodTypeAny, {
486
485
  message: string;
487
486
  requestId: string;
488
487
  }, {
489
488
  message: string;
490
489
  requestId: string;
491
490
  }>;
492
- 400: z.ZodObject<{
493
- message: z.ZodString;
494
- }, "strip", z.ZodTypeAny, {
491
+ 400: import("zod").ZodObject<{
492
+ message: import("zod").ZodString;
493
+ }, "strip", import("zod").ZodTypeAny, {
495
494
  message: string;
496
495
  }, {
497
496
  message: string;
498
497
  }>;
499
- 409: z.ZodObject<{
500
- message: z.ZodString;
501
- }, "strip", z.ZodTypeAny, {
498
+ 409: import("zod").ZodObject<{
499
+ message: import("zod").ZodString;
500
+ }, "strip", import("zod").ZodTypeAny, {
502
501
  message: string;
503
502
  }, {
504
503
  message: string;
505
504
  }>;
506
- 500: z.ZodObject<{
507
- message: z.ZodString;
508
- }, "strip", z.ZodTypeAny, {
505
+ 500: import("zod").ZodObject<{
506
+ message: import("zod").ZodString;
507
+ }, "strip", import("zod").ZodTypeAny, {
509
508
  message: string;
510
509
  }, {
511
510
  message: string;
512
511
  }>;
513
512
  };
514
513
  path: "mail/account";
515
- headers: z.ZodObject<{
516
- 'x-tenant': z.ZodString;
517
- authorization: z.ZodString;
518
- }, "strip", z.ZodTypeAny, {
514
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
515
+ 'x-tenant': import("zod").ZodString;
516
+ authorization: import("zod").ZodString;
517
+ }, "strip", import("zod").ZodTypeAny, {
519
518
  'x-tenant': string;
520
519
  authorization: string;
521
520
  }, {
522
521
  'x-tenant': string;
523
522
  authorization: string;
524
- }>;
523
+ }>>>;
525
524
  };
526
525
  getById: {
527
526
  summary: "Get a account by id";
528
527
  method: "GET";
529
- pathParams: z.ZodObject<{
530
- id: z.ZodString;
531
- }, "strip", z.ZodTypeAny, {
528
+ pathParams: import("zod").ZodObject<{
529
+ id: import("zod").ZodString;
530
+ }, "strip", import("zod").ZodTypeAny, {
532
531
  id: string;
533
532
  }, {
534
533
  id: string;
535
534
  }>;
536
535
  responses: {
537
- 401: z.ZodObject<{
538
- message: z.ZodString;
539
- error: z.ZodAny;
540
- }, "strip", z.ZodTypeAny, {
536
+ 401: import("zod").ZodObject<{
537
+ message: import("zod").ZodString;
538
+ error: import("zod").ZodAny;
539
+ }, "strip", import("zod").ZodTypeAny, {
541
540
  message: string;
542
541
  error?: any;
543
542
  }, {
544
543
  message: string;
545
544
  error?: any;
546
545
  }>;
547
- 404: z.ZodObject<{
548
- message: z.ZodString;
549
- error: z.ZodAny;
550
- }, "strip", z.ZodTypeAny, {
546
+ 404: import("zod").ZodObject<{
547
+ message: import("zod").ZodString;
548
+ error: import("zod").ZodAny;
549
+ }, "strip", import("zod").ZodTypeAny, {
551
550
  message: string;
552
551
  error?: any;
553
552
  }, {
554
553
  message: string;
555
554
  error?: any;
556
555
  }>;
557
- 422: z.ZodObject<{
558
- message: z.ZodString;
559
- error: z.ZodAny;
560
- }, "strip", z.ZodTypeAny, {
556
+ 422: import("zod").ZodObject<{
557
+ message: import("zod").ZodString;
558
+ error: import("zod").ZodAny;
559
+ }, "strip", import("zod").ZodTypeAny, {
561
560
  message: string;
562
561
  error?: any;
563
562
  }, {
564
563
  message: string;
565
564
  error?: any;
566
565
  }>;
567
- 200: z.ZodObject<{
568
- requestId: z.ZodString;
569
- data: z.ZodObject<{
570
- id: z.ZodString;
571
- created_at: z.ZodString;
572
- updated_at: z.ZodString;
573
- deletedAt: z.ZodNullable<z.ZodDate>;
574
- tenant_id: z.ZodString;
575
- name: z.ZodString;
576
- address: z.ZodString;
577
- accountId: z.ZodString;
578
- mailServerId: z.ZodString;
579
- mailServer: z.ZodObject<{
580
- id: z.ZodString;
581
- created_at: z.ZodString;
582
- updated_at: z.ZodString;
583
- deletedAt: z.ZodNullable<z.ZodString>;
584
- tenant_id: z.ZodString;
585
- name: z.ZodString;
586
- smtpHost: z.ZodString;
587
- smtpPort: z.ZodString;
588
- smtpTlsPort: z.ZodString;
589
- useTlsForSmtp: z.ZodBoolean;
590
- imapHost: z.ZodString;
591
- imapPort: z.ZodString;
592
- imapTlsPort: z.ZodString;
593
- useTlsForImap: z.ZodBoolean;
594
- }, "strip", z.ZodTypeAny, {
566
+ 200: import("zod").ZodObject<{
567
+ requestId: import("zod").ZodString;
568
+ data: import("zod").ZodObject<{
569
+ id: import("zod").ZodString;
570
+ created_at: import("zod").ZodString;
571
+ updated_at: import("zod").ZodString;
572
+ deleted_at: import("zod").ZodNullable<import("zod").ZodDate>;
573
+ tenant_id: import("zod").ZodString;
574
+ name: import("zod").ZodString;
575
+ address: import("zod").ZodString;
576
+ accountId: import("zod").ZodString;
577
+ mailServerId: import("zod").ZodString;
578
+ mailServer: import("zod").ZodObject<{
579
+ id: import("zod").ZodString;
580
+ created_at: import("zod").ZodString;
581
+ updated_att: import("zod").ZodString;
582
+ deleted_at: import("zod").ZodNullable<import("zod").ZodString>;
583
+ tenant_id: import("zod").ZodString;
584
+ name: import("zod").ZodString;
585
+ smtpHost: import("zod").ZodString;
586
+ smtpPort: import("zod").ZodString;
587
+ smtpTlsPort: import("zod").ZodString;
588
+ useTlsForSmtp: import("zod").ZodBoolean;
589
+ imapHost: import("zod").ZodString;
590
+ imapPort: import("zod").ZodString;
591
+ imapTlsPort: import("zod").ZodString;
592
+ useTlsForImap: import("zod").ZodBoolean;
593
+ }, "strip", import("zod").ZodTypeAny, {
595
594
  id: string;
596
595
  name: string;
597
- deletedAt: string | null;
598
596
  created_at: string;
599
- updated_at: string;
597
+ updated_att: string;
598
+ deleted_at: string | null;
600
599
  tenant_id: string;
601
600
  smtpHost: string;
602
601
  smtpPort: string;
@@ -609,9 +608,9 @@ export declare const mailContract: {
609
608
  }, {
610
609
  id: string;
611
610
  name: string;
612
- deletedAt: string | null;
613
611
  created_at: string;
614
- updated_at: string;
612
+ updated_att: string;
613
+ deleted_at: string | null;
615
614
  tenant_id: string;
616
615
  smtpHost: string;
617
616
  smtpPort: string;
@@ -622,24 +621,24 @@ export declare const mailContract: {
622
621
  imapTlsPort: string;
623
622
  useTlsForImap: boolean;
624
623
  }>;
625
- 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">]>;
626
- }, "strip", z.ZodTypeAny, {
624
+ state: 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">]>;
625
+ }, "strip", import("zod").ZodTypeAny, {
627
626
  id: string;
628
627
  state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
629
628
  address: string;
630
629
  name: string;
631
- deletedAt: Date | null;
632
630
  created_at: string;
633
- updated_at: string;
631
+ deleted_at: Date | null;
634
632
  tenant_id: string;
633
+ updated_at: string;
635
634
  accountId: string;
636
635
  mailServerId: string;
637
636
  mailServer: {
638
637
  id: string;
639
638
  name: string;
640
- deletedAt: string | null;
641
639
  created_at: string;
642
- updated_at: string;
640
+ updated_att: string;
641
+ deleted_at: string | null;
643
642
  tenant_id: string;
644
643
  smtpHost: string;
645
644
  smtpPort: string;
@@ -655,18 +654,18 @@ export declare const mailContract: {
655
654
  state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
656
655
  address: string;
657
656
  name: string;
658
- deletedAt: Date | null;
659
657
  created_at: string;
660
- updated_at: string;
658
+ deleted_at: Date | null;
661
659
  tenant_id: string;
660
+ updated_at: string;
662
661
  accountId: string;
663
662
  mailServerId: string;
664
663
  mailServer: {
665
664
  id: string;
666
665
  name: string;
667
- deletedAt: string | null;
668
666
  created_at: string;
669
- updated_at: string;
667
+ updated_att: string;
668
+ deleted_at: string | null;
670
669
  tenant_id: string;
671
670
  smtpHost: string;
672
671
  smtpPort: string;
@@ -678,24 +677,24 @@ export declare const mailContract: {
678
677
  useTlsForImap: boolean;
679
678
  };
680
679
  }>;
681
- }, "strip", z.ZodTypeAny, {
680
+ }, "strip", import("zod").ZodTypeAny, {
682
681
  data: {
683
682
  id: string;
684
683
  state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
685
684
  address: string;
686
685
  name: string;
687
- deletedAt: Date | null;
688
686
  created_at: string;
689
- updated_at: string;
687
+ deleted_at: Date | null;
690
688
  tenant_id: string;
689
+ updated_at: string;
691
690
  accountId: string;
692
691
  mailServerId: string;
693
692
  mailServer: {
694
693
  id: string;
695
694
  name: string;
696
- deletedAt: string | null;
697
695
  created_at: string;
698
- updated_at: string;
696
+ updated_att: string;
697
+ deleted_at: string | null;
699
698
  tenant_id: string;
700
699
  smtpHost: string;
701
700
  smtpPort: string;
@@ -714,18 +713,18 @@ export declare const mailContract: {
714
713
  state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
715
714
  address: string;
716
715
  name: string;
717
- deletedAt: Date | null;
718
716
  created_at: string;
719
- updated_at: string;
717
+ deleted_at: Date | null;
720
718
  tenant_id: string;
719
+ updated_at: string;
721
720
  accountId: string;
722
721
  mailServerId: string;
723
722
  mailServer: {
724
723
  id: string;
725
724
  name: string;
726
- deletedAt: string | null;
727
725
  created_at: string;
728
- updated_at: string;
726
+ updated_att: string;
727
+ deleted_at: string | null;
729
728
  tenant_id: string;
730
729
  smtpHost: string;
731
730
  smtpPort: string;
@@ -741,55 +740,55 @@ export declare const mailContract: {
741
740
  }>;
742
741
  };
743
742
  path: "mail/account/:id";
744
- headers: z.ZodObject<{
745
- 'x-tenant': z.ZodString;
746
- authorization: z.ZodString;
747
- }, "strip", z.ZodTypeAny, {
743
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
744
+ 'x-tenant': import("zod").ZodString;
745
+ authorization: import("zod").ZodString;
746
+ }, "strip", import("zod").ZodTypeAny, {
748
747
  'x-tenant': string;
749
748
  authorization: string;
750
749
  }, {
751
750
  'x-tenant': string;
752
751
  authorization: string;
753
- }>;
752
+ }>>>;
754
753
  };
755
754
  getAll: {
756
755
  summary: "Get al accounts";
757
756
  method: "GET";
758
757
  responses: {
759
- 401: z.ZodObject<{
760
- message: z.ZodString;
761
- error: z.ZodAny;
762
- }, "strip", z.ZodTypeAny, {
758
+ 401: import("zod").ZodObject<{
759
+ message: import("zod").ZodString;
760
+ error: import("zod").ZodAny;
761
+ }, "strip", import("zod").ZodTypeAny, {
763
762
  message: string;
764
763
  error?: any;
765
764
  }, {
766
765
  message: string;
767
766
  error?: any;
768
767
  }>;
769
- 404: z.ZodObject<{
770
- message: z.ZodString;
771
- error: z.ZodAny;
772
- }, "strip", z.ZodTypeAny, {
768
+ 404: import("zod").ZodObject<{
769
+ message: import("zod").ZodString;
770
+ error: import("zod").ZodAny;
771
+ }, "strip", import("zod").ZodTypeAny, {
773
772
  message: string;
774
773
  error?: any;
775
774
  }, {
776
775
  message: string;
777
776
  error?: any;
778
777
  }>;
779
- 422: z.ZodObject<{
780
- message: z.ZodString;
781
- error: z.ZodAny;
782
- }, "strip", z.ZodTypeAny, {
778
+ 422: import("zod").ZodObject<{
779
+ message: import("zod").ZodString;
780
+ error: import("zod").ZodAny;
781
+ }, "strip", import("zod").ZodTypeAny, {
783
782
  message: string;
784
783
  error?: any;
785
784
  }, {
786
785
  message: string;
787
786
  error?: any;
788
787
  }>;
789
- 200: z.ZodObject<{
790
- requestId: z.ZodString;
791
- data: z.ZodAny;
792
- }, "strip", z.ZodTypeAny, {
788
+ 200: import("zod").ZodObject<{
789
+ requestId: import("zod").ZodString;
790
+ data: import("zod").ZodAny;
791
+ }, "strip", import("zod").ZodTypeAny, {
793
792
  requestId: string;
794
793
  data?: any;
795
794
  }, {
@@ -798,49 +797,49 @@ export declare const mailContract: {
798
797
  }>;
799
798
  };
800
799
  path: "mail/account";
801
- headers: z.ZodObject<{
802
- 'x-tenant': z.ZodString;
803
- authorization: z.ZodString;
804
- }, "strip", z.ZodTypeAny, {
800
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
801
+ 'x-tenant': import("zod").ZodString;
802
+ authorization: import("zod").ZodString;
803
+ }, "strip", import("zod").ZodTypeAny, {
805
804
  'x-tenant': string;
806
805
  authorization: string;
807
806
  }, {
808
807
  'x-tenant': string;
809
808
  authorization: string;
810
- }>;
809
+ }>>>;
811
810
  };
812
811
  update: {
813
- body: z.ZodObject<{
814
- id: z.ZodOptional<z.ZodString>;
815
- created_at: z.ZodOptional<z.ZodString>;
816
- updated_at: z.ZodOptional<z.ZodString>;
817
- deletedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
818
- tenant_id: z.ZodOptional<z.ZodString>;
819
- name: z.ZodOptional<z.ZodString>;
820
- address: z.ZodOptional<z.ZodString>;
821
- accountId: z.ZodOptional<z.ZodString>;
822
- mailServerId: z.ZodOptional<z.ZodString>;
823
- mailServer: z.ZodOptional<z.ZodObject<{
824
- id: z.ZodString;
825
- created_at: z.ZodString;
826
- updated_at: z.ZodString;
827
- deletedAt: z.ZodNullable<z.ZodString>;
828
- tenant_id: z.ZodString;
829
- name: z.ZodString;
830
- smtpHost: z.ZodString;
831
- smtpPort: z.ZodString;
832
- smtpTlsPort: z.ZodString;
833
- useTlsForSmtp: z.ZodBoolean;
834
- imapHost: z.ZodString;
835
- imapPort: z.ZodString;
836
- imapTlsPort: z.ZodString;
837
- useTlsForImap: z.ZodBoolean;
838
- }, "strip", z.ZodTypeAny, {
812
+ body: import("zod").ZodObject<{
813
+ id: import("zod").ZodOptional<import("zod").ZodString>;
814
+ created_at: import("zod").ZodOptional<import("zod").ZodString>;
815
+ updated_at: import("zod").ZodOptional<import("zod").ZodString>;
816
+ deleted_at: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodDate>>;
817
+ tenant_id: import("zod").ZodOptional<import("zod").ZodString>;
818
+ name: import("zod").ZodOptional<import("zod").ZodString>;
819
+ address: import("zod").ZodOptional<import("zod").ZodString>;
820
+ accountId: import("zod").ZodOptional<import("zod").ZodString>;
821
+ mailServerId: import("zod").ZodOptional<import("zod").ZodString>;
822
+ mailServer: import("zod").ZodOptional<import("zod").ZodObject<{
823
+ id: import("zod").ZodString;
824
+ created_at: import("zod").ZodString;
825
+ updated_att: import("zod").ZodString;
826
+ deleted_at: import("zod").ZodNullable<import("zod").ZodString>;
827
+ tenant_id: import("zod").ZodString;
828
+ name: import("zod").ZodString;
829
+ smtpHost: import("zod").ZodString;
830
+ smtpPort: import("zod").ZodString;
831
+ smtpTlsPort: import("zod").ZodString;
832
+ useTlsForSmtp: import("zod").ZodBoolean;
833
+ imapHost: import("zod").ZodString;
834
+ imapPort: import("zod").ZodString;
835
+ imapTlsPort: import("zod").ZodString;
836
+ useTlsForImap: import("zod").ZodBoolean;
837
+ }, "strip", import("zod").ZodTypeAny, {
839
838
  id: string;
840
839
  name: string;
841
- deletedAt: string | null;
842
840
  created_at: string;
843
- updated_at: string;
841
+ updated_att: string;
842
+ deleted_at: string | null;
844
843
  tenant_id: string;
845
844
  smtpHost: string;
846
845
  smtpPort: string;
@@ -853,9 +852,9 @@ export declare const mailContract: {
853
852
  }, {
854
853
  id: string;
855
854
  name: string;
856
- deletedAt: string | null;
857
855
  created_at: string;
858
- updated_at: string;
856
+ updated_att: string;
857
+ deleted_at: string | null;
859
858
  tenant_id: string;
860
859
  smtpHost: string;
861
860
  smtpPort: string;
@@ -866,12 +865,12 @@ export declare const mailContract: {
866
865
  imapTlsPort: string;
867
866
  useTlsForImap: boolean;
868
867
  }>>;
869
- state: z.ZodOptional<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">]>>;
870
- }, "strip", z.ZodTypeAny, {
868
+ 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">]>>;
869
+ }, "strip", import("zod").ZodTypeAny, {
871
870
  id?: string | undefined;
872
871
  created_at?: string | undefined;
873
872
  updated_at?: string | undefined;
874
- deletedAt?: Date | null | undefined;
873
+ deleted_at?: Date | null | undefined;
875
874
  tenant_id?: string | undefined;
876
875
  name?: string | undefined;
877
876
  address?: string | undefined;
@@ -880,9 +879,9 @@ export declare const mailContract: {
880
879
  mailServer?: {
881
880
  id: string;
882
881
  name: string;
883
- deletedAt: string | null;
884
882
  created_at: string;
885
- updated_at: string;
883
+ updated_att: string;
884
+ deleted_at: string | null;
886
885
  tenant_id: string;
887
886
  smtpHost: string;
888
887
  smtpPort: string;
@@ -898,7 +897,7 @@ export declare const mailContract: {
898
897
  id?: string | undefined;
899
898
  created_at?: string | undefined;
900
899
  updated_at?: string | undefined;
901
- deletedAt?: Date | null | undefined;
900
+ deleted_at?: Date | null | undefined;
902
901
  tenant_id?: string | undefined;
903
902
  name?: string | undefined;
904
903
  address?: string | undefined;
@@ -907,9 +906,9 @@ export declare const mailContract: {
907
906
  mailServer?: {
908
907
  id: string;
909
908
  name: string;
910
- deletedAt: string | null;
911
909
  created_at: string;
912
- updated_at: string;
910
+ updated_att: string;
911
+ deleted_at: string | null;
913
912
  tenant_id: string;
914
913
  smtpHost: string;
915
914
  smtpPort: string;
@@ -924,77 +923,77 @@ export declare const mailContract: {
924
923
  }>;
925
924
  summary: "Update a account by id";
926
925
  method: "PATCH";
927
- pathParams: z.ZodObject<{
928
- id: z.ZodString;
929
- }, "strip", z.ZodTypeAny, {
926
+ pathParams: import("zod").ZodObject<{
927
+ id: import("zod").ZodString;
928
+ }, "strip", import("zod").ZodTypeAny, {
930
929
  id: string;
931
930
  }, {
932
931
  id: string;
933
932
  }>;
934
933
  responses: {
935
- 401: z.ZodObject<{
936
- message: z.ZodString;
937
- error: z.ZodAny;
938
- }, "strip", z.ZodTypeAny, {
934
+ 401: import("zod").ZodObject<{
935
+ message: import("zod").ZodString;
936
+ error: import("zod").ZodAny;
937
+ }, "strip", import("zod").ZodTypeAny, {
939
938
  message: string;
940
939
  error?: any;
941
940
  }, {
942
941
  message: string;
943
942
  error?: any;
944
943
  }>;
945
- 404: z.ZodObject<{
946
- message: z.ZodString;
947
- error: z.ZodAny;
948
- }, "strip", z.ZodTypeAny, {
944
+ 404: import("zod").ZodObject<{
945
+ message: import("zod").ZodString;
946
+ error: import("zod").ZodAny;
947
+ }, "strip", import("zod").ZodTypeAny, {
949
948
  message: string;
950
949
  error?: any;
951
950
  }, {
952
951
  message: string;
953
952
  error?: any;
954
953
  }>;
955
- 422: z.ZodObject<{
956
- message: z.ZodString;
957
- error: z.ZodAny;
958
- }, "strip", z.ZodTypeAny, {
954
+ 422: import("zod").ZodObject<{
955
+ message: import("zod").ZodString;
956
+ error: import("zod").ZodAny;
957
+ }, "strip", import("zod").ZodTypeAny, {
959
958
  message: string;
960
959
  error?: any;
961
960
  }, {
962
961
  message: string;
963
962
  error?: any;
964
963
  }>;
965
- 201: z.ZodObject<{
966
- requestId: z.ZodString;
967
- data: z.ZodObject<{
968
- id: z.ZodString;
969
- created_at: z.ZodString;
970
- updated_at: z.ZodString;
971
- deletedAt: z.ZodNullable<z.ZodDate>;
972
- tenant_id: z.ZodString;
973
- name: z.ZodString;
974
- address: z.ZodString;
975
- accountId: z.ZodString;
976
- mailServerId: z.ZodString;
977
- mailServer: z.ZodObject<{
978
- id: z.ZodString;
979
- created_at: z.ZodString;
980
- updated_at: z.ZodString;
981
- deletedAt: z.ZodNullable<z.ZodString>;
982
- tenant_id: z.ZodString;
983
- name: z.ZodString;
984
- smtpHost: z.ZodString;
985
- smtpPort: z.ZodString;
986
- smtpTlsPort: z.ZodString;
987
- useTlsForSmtp: z.ZodBoolean;
988
- imapHost: z.ZodString;
989
- imapPort: z.ZodString;
990
- imapTlsPort: z.ZodString;
991
- useTlsForImap: z.ZodBoolean;
992
- }, "strip", z.ZodTypeAny, {
964
+ 201: import("zod").ZodObject<{
965
+ requestId: import("zod").ZodString;
966
+ data: import("zod").ZodObject<{
967
+ id: import("zod").ZodString;
968
+ created_at: import("zod").ZodString;
969
+ updated_at: import("zod").ZodString;
970
+ deleted_at: import("zod").ZodNullable<import("zod").ZodDate>;
971
+ tenant_id: import("zod").ZodString;
972
+ name: import("zod").ZodString;
973
+ address: import("zod").ZodString;
974
+ accountId: import("zod").ZodString;
975
+ mailServerId: import("zod").ZodString;
976
+ mailServer: import("zod").ZodObject<{
977
+ id: import("zod").ZodString;
978
+ created_at: import("zod").ZodString;
979
+ updated_att: import("zod").ZodString;
980
+ deleted_at: import("zod").ZodNullable<import("zod").ZodString>;
981
+ tenant_id: import("zod").ZodString;
982
+ name: import("zod").ZodString;
983
+ smtpHost: import("zod").ZodString;
984
+ smtpPort: import("zod").ZodString;
985
+ smtpTlsPort: import("zod").ZodString;
986
+ useTlsForSmtp: import("zod").ZodBoolean;
987
+ imapHost: import("zod").ZodString;
988
+ imapPort: import("zod").ZodString;
989
+ imapTlsPort: import("zod").ZodString;
990
+ useTlsForImap: import("zod").ZodBoolean;
991
+ }, "strip", import("zod").ZodTypeAny, {
993
992
  id: string;
994
993
  name: string;
995
- deletedAt: string | null;
996
994
  created_at: string;
997
- updated_at: string;
995
+ updated_att: string;
996
+ deleted_at: string | null;
998
997
  tenant_id: string;
999
998
  smtpHost: string;
1000
999
  smtpPort: string;
@@ -1007,9 +1006,9 @@ export declare const mailContract: {
1007
1006
  }, {
1008
1007
  id: string;
1009
1008
  name: string;
1010
- deletedAt: string | null;
1011
1009
  created_at: string;
1012
- updated_at: string;
1010
+ updated_att: string;
1011
+ deleted_at: string | null;
1013
1012
  tenant_id: string;
1014
1013
  smtpHost: string;
1015
1014
  smtpPort: string;
@@ -1020,24 +1019,24 @@ export declare const mailContract: {
1020
1019
  imapTlsPort: string;
1021
1020
  useTlsForImap: boolean;
1022
1021
  }>;
1023
- 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">]>;
1024
- }, "strip", z.ZodTypeAny, {
1022
+ state: 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">]>;
1023
+ }, "strip", import("zod").ZodTypeAny, {
1025
1024
  id: string;
1026
1025
  state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
1027
1026
  address: string;
1028
1027
  name: string;
1029
- deletedAt: Date | null;
1030
1028
  created_at: string;
1031
- updated_at: string;
1029
+ deleted_at: Date | null;
1032
1030
  tenant_id: string;
1031
+ updated_at: string;
1033
1032
  accountId: string;
1034
1033
  mailServerId: string;
1035
1034
  mailServer: {
1036
1035
  id: string;
1037
1036
  name: string;
1038
- deletedAt: string | null;
1039
1037
  created_at: string;
1040
- updated_at: string;
1038
+ updated_att: string;
1039
+ deleted_at: string | null;
1041
1040
  tenant_id: string;
1042
1041
  smtpHost: string;
1043
1042
  smtpPort: string;
@@ -1053,18 +1052,18 @@ export declare const mailContract: {
1053
1052
  state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
1054
1053
  address: string;
1055
1054
  name: string;
1056
- deletedAt: Date | null;
1057
1055
  created_at: string;
1058
- updated_at: string;
1056
+ deleted_at: Date | null;
1059
1057
  tenant_id: string;
1058
+ updated_at: string;
1060
1059
  accountId: string;
1061
1060
  mailServerId: string;
1062
1061
  mailServer: {
1063
1062
  id: string;
1064
1063
  name: string;
1065
- deletedAt: string | null;
1066
1064
  created_at: string;
1067
- updated_at: string;
1065
+ updated_att: string;
1066
+ deleted_at: string | null;
1068
1067
  tenant_id: string;
1069
1068
  smtpHost: string;
1070
1069
  smtpPort: string;
@@ -1076,24 +1075,24 @@ export declare const mailContract: {
1076
1075
  useTlsForImap: boolean;
1077
1076
  };
1078
1077
  }>;
1079
- }, "strip", z.ZodTypeAny, {
1078
+ }, "strip", import("zod").ZodTypeAny, {
1080
1079
  data: {
1081
1080
  id: string;
1082
1081
  state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
1083
1082
  address: string;
1084
1083
  name: string;
1085
- deletedAt: Date | null;
1086
1084
  created_at: string;
1087
- updated_at: string;
1085
+ deleted_at: Date | null;
1088
1086
  tenant_id: string;
1087
+ updated_at: string;
1089
1088
  accountId: string;
1090
1089
  mailServerId: string;
1091
1090
  mailServer: {
1092
1091
  id: string;
1093
1092
  name: string;
1094
- deletedAt: string | null;
1095
1093
  created_at: string;
1096
- updated_at: string;
1094
+ updated_att: string;
1095
+ deleted_at: string | null;
1097
1096
  tenant_id: string;
1098
1097
  smtpHost: string;
1099
1098
  smtpPort: string;
@@ -1112,18 +1111,18 @@ export declare const mailContract: {
1112
1111
  state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
1113
1112
  address: string;
1114
1113
  name: string;
1115
- deletedAt: Date | null;
1116
1114
  created_at: string;
1117
- updated_at: string;
1115
+ deleted_at: Date | null;
1118
1116
  tenant_id: string;
1117
+ updated_at: string;
1119
1118
  accountId: string;
1120
1119
  mailServerId: string;
1121
1120
  mailServer: {
1122
1121
  id: string;
1123
1122
  name: string;
1124
- deletedAt: string | null;
1125
1123
  created_at: string;
1126
- updated_at: string;
1124
+ updated_att: string;
1125
+ deleted_at: string | null;
1127
1126
  tenant_id: string;
1128
1127
  smtpHost: string;
1129
1128
  smtpPort: string;
@@ -1139,92 +1138,92 @@ export declare const mailContract: {
1139
1138
  }>;
1140
1139
  };
1141
1140
  path: "mail/account/:id";
1142
- headers: z.ZodObject<{
1143
- 'x-tenant': z.ZodString;
1144
- authorization: z.ZodString;
1145
- }, "strip", z.ZodTypeAny, {
1141
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
1142
+ 'x-tenant': import("zod").ZodString;
1143
+ authorization: import("zod").ZodString;
1144
+ }, "strip", import("zod").ZodTypeAny, {
1146
1145
  'x-tenant': string;
1147
1146
  authorization: string;
1148
1147
  }, {
1149
1148
  'x-tenant': string;
1150
1149
  authorization: string;
1151
- }>;
1150
+ }>>>;
1152
1151
  };
1153
1152
  disconnect: {
1154
1153
  body: null;
1155
1154
  summary: "Disconnect an account";
1156
1155
  method: "PATCH";
1157
- pathParams: z.ZodObject<{
1158
- id: z.ZodString;
1159
- }, "strip", z.ZodTypeAny, {
1156
+ pathParams: import("zod").ZodObject<{
1157
+ id: import("zod").ZodString;
1158
+ }, "strip", import("zod").ZodTypeAny, {
1160
1159
  id: string;
1161
1160
  }, {
1162
1161
  id: string;
1163
1162
  }>;
1164
1163
  responses: {
1165
- 401: z.ZodObject<{
1166
- message: z.ZodString;
1167
- error: z.ZodAny;
1168
- }, "strip", z.ZodTypeAny, {
1164
+ 401: import("zod").ZodObject<{
1165
+ message: import("zod").ZodString;
1166
+ error: import("zod").ZodAny;
1167
+ }, "strip", import("zod").ZodTypeAny, {
1169
1168
  message: string;
1170
1169
  error?: any;
1171
1170
  }, {
1172
1171
  message: string;
1173
1172
  error?: any;
1174
1173
  }>;
1175
- 404: z.ZodObject<{
1176
- message: z.ZodString;
1177
- error: z.ZodAny;
1178
- }, "strip", z.ZodTypeAny, {
1174
+ 404: import("zod").ZodObject<{
1175
+ message: import("zod").ZodString;
1176
+ error: import("zod").ZodAny;
1177
+ }, "strip", import("zod").ZodTypeAny, {
1179
1178
  message: string;
1180
1179
  error?: any;
1181
1180
  }, {
1182
1181
  message: string;
1183
1182
  error?: any;
1184
1183
  }>;
1185
- 422: z.ZodObject<{
1186
- message: z.ZodString;
1187
- error: z.ZodAny;
1188
- }, "strip", z.ZodTypeAny, {
1184
+ 422: import("zod").ZodObject<{
1185
+ message: import("zod").ZodString;
1186
+ error: import("zod").ZodAny;
1187
+ }, "strip", import("zod").ZodTypeAny, {
1189
1188
  message: string;
1190
1189
  error?: any;
1191
1190
  }, {
1192
1191
  message: string;
1193
1192
  error?: any;
1194
1193
  }>;
1195
- 201: z.ZodObject<{
1196
- requestId: z.ZodString;
1197
- data: z.ZodObject<{
1198
- id: z.ZodString;
1199
- created_at: z.ZodString;
1200
- updated_at: z.ZodString;
1201
- deletedAt: z.ZodNullable<z.ZodDate>;
1202
- tenant_id: z.ZodString;
1203
- name: z.ZodString;
1204
- address: z.ZodString;
1205
- accountId: z.ZodString;
1206
- mailServerId: z.ZodString;
1207
- mailServer: z.ZodObject<{
1208
- id: z.ZodString;
1209
- created_at: z.ZodString;
1210
- updated_at: z.ZodString;
1211
- deletedAt: z.ZodNullable<z.ZodString>;
1212
- tenant_id: z.ZodString;
1213
- name: z.ZodString;
1214
- smtpHost: z.ZodString;
1215
- smtpPort: z.ZodString;
1216
- smtpTlsPort: z.ZodString;
1217
- useTlsForSmtp: z.ZodBoolean;
1218
- imapHost: z.ZodString;
1219
- imapPort: z.ZodString;
1220
- imapTlsPort: z.ZodString;
1221
- useTlsForImap: z.ZodBoolean;
1222
- }, "strip", z.ZodTypeAny, {
1194
+ 201: import("zod").ZodObject<{
1195
+ requestId: import("zod").ZodString;
1196
+ data: import("zod").ZodObject<{
1197
+ id: import("zod").ZodString;
1198
+ created_at: import("zod").ZodString;
1199
+ updated_at: import("zod").ZodString;
1200
+ deleted_at: import("zod").ZodNullable<import("zod").ZodDate>;
1201
+ tenant_id: import("zod").ZodString;
1202
+ name: import("zod").ZodString;
1203
+ address: import("zod").ZodString;
1204
+ accountId: import("zod").ZodString;
1205
+ mailServerId: import("zod").ZodString;
1206
+ mailServer: import("zod").ZodObject<{
1207
+ id: import("zod").ZodString;
1208
+ created_at: import("zod").ZodString;
1209
+ updated_att: import("zod").ZodString;
1210
+ deleted_at: import("zod").ZodNullable<import("zod").ZodString>;
1211
+ tenant_id: import("zod").ZodString;
1212
+ name: import("zod").ZodString;
1213
+ smtpHost: import("zod").ZodString;
1214
+ smtpPort: import("zod").ZodString;
1215
+ smtpTlsPort: import("zod").ZodString;
1216
+ useTlsForSmtp: import("zod").ZodBoolean;
1217
+ imapHost: import("zod").ZodString;
1218
+ imapPort: import("zod").ZodString;
1219
+ imapTlsPort: import("zod").ZodString;
1220
+ useTlsForImap: import("zod").ZodBoolean;
1221
+ }, "strip", import("zod").ZodTypeAny, {
1223
1222
  id: string;
1224
1223
  name: string;
1225
- deletedAt: string | null;
1226
1224
  created_at: string;
1227
- updated_at: string;
1225
+ updated_att: string;
1226
+ deleted_at: string | null;
1228
1227
  tenant_id: string;
1229
1228
  smtpHost: string;
1230
1229
  smtpPort: string;
@@ -1237,9 +1236,9 @@ export declare const mailContract: {
1237
1236
  }, {
1238
1237
  id: string;
1239
1238
  name: string;
1240
- deletedAt: string | null;
1241
1239
  created_at: string;
1242
- updated_at: string;
1240
+ updated_att: string;
1241
+ deleted_at: string | null;
1243
1242
  tenant_id: string;
1244
1243
  smtpHost: string;
1245
1244
  smtpPort: string;
@@ -1250,24 +1249,24 @@ export declare const mailContract: {
1250
1249
  imapTlsPort: string;
1251
1250
  useTlsForImap: boolean;
1252
1251
  }>;
1253
- 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">]>;
1254
- }, "strip", z.ZodTypeAny, {
1252
+ state: 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">]>;
1253
+ }, "strip", import("zod").ZodTypeAny, {
1255
1254
  id: string;
1256
1255
  state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
1257
1256
  address: string;
1258
1257
  name: string;
1259
- deletedAt: Date | null;
1260
1258
  created_at: string;
1261
- updated_at: string;
1259
+ deleted_at: Date | null;
1262
1260
  tenant_id: string;
1261
+ updated_at: string;
1263
1262
  accountId: string;
1264
1263
  mailServerId: string;
1265
1264
  mailServer: {
1266
1265
  id: string;
1267
1266
  name: string;
1268
- deletedAt: string | null;
1269
1267
  created_at: string;
1270
- updated_at: string;
1268
+ updated_att: string;
1269
+ deleted_at: string | null;
1271
1270
  tenant_id: string;
1272
1271
  smtpHost: string;
1273
1272
  smtpPort: string;
@@ -1283,18 +1282,18 @@ export declare const mailContract: {
1283
1282
  state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
1284
1283
  address: string;
1285
1284
  name: string;
1286
- deletedAt: Date | null;
1287
1285
  created_at: string;
1288
- updated_at: string;
1286
+ deleted_at: Date | null;
1289
1287
  tenant_id: string;
1288
+ updated_at: string;
1290
1289
  accountId: string;
1291
1290
  mailServerId: string;
1292
1291
  mailServer: {
1293
1292
  id: string;
1294
1293
  name: string;
1295
- deletedAt: string | null;
1296
1294
  created_at: string;
1297
- updated_at: string;
1295
+ updated_att: string;
1296
+ deleted_at: string | null;
1298
1297
  tenant_id: string;
1299
1298
  smtpHost: string;
1300
1299
  smtpPort: string;
@@ -1306,24 +1305,24 @@ export declare const mailContract: {
1306
1305
  useTlsForImap: boolean;
1307
1306
  };
1308
1307
  }>;
1309
- }, "strip", z.ZodTypeAny, {
1308
+ }, "strip", import("zod").ZodTypeAny, {
1310
1309
  data: {
1311
1310
  id: string;
1312
1311
  state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
1313
1312
  address: string;
1314
1313
  name: string;
1315
- deletedAt: Date | null;
1316
1314
  created_at: string;
1317
- updated_at: string;
1315
+ deleted_at: Date | null;
1318
1316
  tenant_id: string;
1317
+ updated_at: string;
1319
1318
  accountId: string;
1320
1319
  mailServerId: string;
1321
1320
  mailServer: {
1322
1321
  id: string;
1323
1322
  name: string;
1324
- deletedAt: string | null;
1325
1323
  created_at: string;
1326
- updated_at: string;
1324
+ updated_att: string;
1325
+ deleted_at: string | null;
1327
1326
  tenant_id: string;
1328
1327
  smtpHost: string;
1329
1328
  smtpPort: string;
@@ -1342,18 +1341,18 @@ export declare const mailContract: {
1342
1341
  state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
1343
1342
  address: string;
1344
1343
  name: string;
1345
- deletedAt: Date | null;
1346
1344
  created_at: string;
1347
- updated_at: string;
1345
+ deleted_at: Date | null;
1348
1346
  tenant_id: string;
1347
+ updated_at: string;
1349
1348
  accountId: string;
1350
1349
  mailServerId: string;
1351
1350
  mailServer: {
1352
1351
  id: string;
1353
1352
  name: string;
1354
- deletedAt: string | null;
1355
1353
  created_at: string;
1356
- updated_at: string;
1354
+ updated_att: string;
1355
+ deleted_at: string | null;
1357
1356
  tenant_id: string;
1358
1357
  smtpHost: string;
1359
1358
  smtpPort: string;
@@ -1369,92 +1368,92 @@ export declare const mailContract: {
1369
1368
  }>;
1370
1369
  };
1371
1370
  path: "mail/account/:id/disconnect";
1372
- headers: z.ZodObject<{
1373
- 'x-tenant': z.ZodString;
1374
- authorization: z.ZodString;
1375
- }, "strip", z.ZodTypeAny, {
1371
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
1372
+ 'x-tenant': import("zod").ZodString;
1373
+ authorization: import("zod").ZodString;
1374
+ }, "strip", import("zod").ZodTypeAny, {
1376
1375
  'x-tenant': string;
1377
1376
  authorization: string;
1378
1377
  }, {
1379
1378
  'x-tenant': string;
1380
1379
  authorization: string;
1381
- }>;
1380
+ }>>>;
1382
1381
  };
1383
1382
  reconnect: {
1384
1383
  body: null;
1385
1384
  summary: "Reconnect a disconncted account";
1386
1385
  method: "PATCH";
1387
- pathParams: z.ZodObject<{
1388
- id: z.ZodString;
1389
- }, "strip", z.ZodTypeAny, {
1386
+ pathParams: import("zod").ZodObject<{
1387
+ id: import("zod").ZodString;
1388
+ }, "strip", import("zod").ZodTypeAny, {
1390
1389
  id: string;
1391
1390
  }, {
1392
1391
  id: string;
1393
1392
  }>;
1394
1393
  responses: {
1395
- 401: z.ZodObject<{
1396
- message: z.ZodString;
1397
- error: z.ZodAny;
1398
- }, "strip", z.ZodTypeAny, {
1394
+ 401: import("zod").ZodObject<{
1395
+ message: import("zod").ZodString;
1396
+ error: import("zod").ZodAny;
1397
+ }, "strip", import("zod").ZodTypeAny, {
1399
1398
  message: string;
1400
1399
  error?: any;
1401
1400
  }, {
1402
1401
  message: string;
1403
1402
  error?: any;
1404
1403
  }>;
1405
- 404: z.ZodObject<{
1406
- message: z.ZodString;
1407
- error: z.ZodAny;
1408
- }, "strip", z.ZodTypeAny, {
1404
+ 404: import("zod").ZodObject<{
1405
+ message: import("zod").ZodString;
1406
+ error: import("zod").ZodAny;
1407
+ }, "strip", import("zod").ZodTypeAny, {
1409
1408
  message: string;
1410
1409
  error?: any;
1411
1410
  }, {
1412
1411
  message: string;
1413
1412
  error?: any;
1414
1413
  }>;
1415
- 422: z.ZodObject<{
1416
- message: z.ZodString;
1417
- error: z.ZodAny;
1418
- }, "strip", z.ZodTypeAny, {
1414
+ 422: import("zod").ZodObject<{
1415
+ message: import("zod").ZodString;
1416
+ error: import("zod").ZodAny;
1417
+ }, "strip", import("zod").ZodTypeAny, {
1419
1418
  message: string;
1420
1419
  error?: any;
1421
1420
  }, {
1422
1421
  message: string;
1423
1422
  error?: any;
1424
1423
  }>;
1425
- 201: z.ZodObject<{
1426
- requestId: z.ZodString;
1427
- data: z.ZodObject<{
1428
- id: z.ZodString;
1429
- created_at: z.ZodString;
1430
- updated_at: z.ZodString;
1431
- deletedAt: z.ZodNullable<z.ZodDate>;
1432
- tenant_id: z.ZodString;
1433
- name: z.ZodString;
1434
- address: z.ZodString;
1435
- accountId: z.ZodString;
1436
- mailServerId: z.ZodString;
1437
- mailServer: z.ZodObject<{
1438
- id: z.ZodString;
1439
- created_at: z.ZodString;
1440
- updated_at: z.ZodString;
1441
- deletedAt: z.ZodNullable<z.ZodString>;
1442
- tenant_id: z.ZodString;
1443
- name: z.ZodString;
1444
- smtpHost: z.ZodString;
1445
- smtpPort: z.ZodString;
1446
- smtpTlsPort: z.ZodString;
1447
- useTlsForSmtp: z.ZodBoolean;
1448
- imapHost: z.ZodString;
1449
- imapPort: z.ZodString;
1450
- imapTlsPort: z.ZodString;
1451
- useTlsForImap: z.ZodBoolean;
1452
- }, "strip", z.ZodTypeAny, {
1424
+ 201: import("zod").ZodObject<{
1425
+ requestId: import("zod").ZodString;
1426
+ data: import("zod").ZodObject<{
1427
+ id: import("zod").ZodString;
1428
+ created_at: import("zod").ZodString;
1429
+ updated_at: import("zod").ZodString;
1430
+ deleted_at: import("zod").ZodNullable<import("zod").ZodDate>;
1431
+ tenant_id: import("zod").ZodString;
1432
+ name: import("zod").ZodString;
1433
+ address: import("zod").ZodString;
1434
+ accountId: import("zod").ZodString;
1435
+ mailServerId: import("zod").ZodString;
1436
+ mailServer: import("zod").ZodObject<{
1437
+ id: import("zod").ZodString;
1438
+ created_at: import("zod").ZodString;
1439
+ updated_att: import("zod").ZodString;
1440
+ deleted_at: import("zod").ZodNullable<import("zod").ZodString>;
1441
+ tenant_id: import("zod").ZodString;
1442
+ name: import("zod").ZodString;
1443
+ smtpHost: import("zod").ZodString;
1444
+ smtpPort: import("zod").ZodString;
1445
+ smtpTlsPort: import("zod").ZodString;
1446
+ useTlsForSmtp: import("zod").ZodBoolean;
1447
+ imapHost: import("zod").ZodString;
1448
+ imapPort: import("zod").ZodString;
1449
+ imapTlsPort: import("zod").ZodString;
1450
+ useTlsForImap: import("zod").ZodBoolean;
1451
+ }, "strip", import("zod").ZodTypeAny, {
1453
1452
  id: string;
1454
1453
  name: string;
1455
- deletedAt: string | null;
1456
1454
  created_at: string;
1457
- updated_at: string;
1455
+ updated_att: string;
1456
+ deleted_at: string | null;
1458
1457
  tenant_id: string;
1459
1458
  smtpHost: string;
1460
1459
  smtpPort: string;
@@ -1467,9 +1466,9 @@ export declare const mailContract: {
1467
1466
  }, {
1468
1467
  id: string;
1469
1468
  name: string;
1470
- deletedAt: string | null;
1471
1469
  created_at: string;
1472
- updated_at: string;
1470
+ updated_att: string;
1471
+ deleted_at: string | null;
1473
1472
  tenant_id: string;
1474
1473
  smtpHost: string;
1475
1474
  smtpPort: string;
@@ -1480,24 +1479,24 @@ export declare const mailContract: {
1480
1479
  imapTlsPort: string;
1481
1480
  useTlsForImap: boolean;
1482
1481
  }>;
1483
- 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">]>;
1484
- }, "strip", z.ZodTypeAny, {
1482
+ state: 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">]>;
1483
+ }, "strip", import("zod").ZodTypeAny, {
1485
1484
  id: string;
1486
1485
  state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
1487
1486
  address: string;
1488
1487
  name: string;
1489
- deletedAt: Date | null;
1490
1488
  created_at: string;
1491
- updated_at: string;
1489
+ deleted_at: Date | null;
1492
1490
  tenant_id: string;
1491
+ updated_at: string;
1493
1492
  accountId: string;
1494
1493
  mailServerId: string;
1495
1494
  mailServer: {
1496
1495
  id: string;
1497
1496
  name: string;
1498
- deletedAt: string | null;
1499
1497
  created_at: string;
1500
- updated_at: string;
1498
+ updated_att: string;
1499
+ deleted_at: string | null;
1501
1500
  tenant_id: string;
1502
1501
  smtpHost: string;
1503
1502
  smtpPort: string;
@@ -1513,18 +1512,18 @@ export declare const mailContract: {
1513
1512
  state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
1514
1513
  address: string;
1515
1514
  name: string;
1516
- deletedAt: Date | null;
1517
1515
  created_at: string;
1518
- updated_at: string;
1516
+ deleted_at: Date | null;
1519
1517
  tenant_id: string;
1518
+ updated_at: string;
1520
1519
  accountId: string;
1521
1520
  mailServerId: string;
1522
1521
  mailServer: {
1523
1522
  id: string;
1524
1523
  name: string;
1525
- deletedAt: string | null;
1526
1524
  created_at: string;
1527
- updated_at: string;
1525
+ updated_att: string;
1526
+ deleted_at: string | null;
1528
1527
  tenant_id: string;
1529
1528
  smtpHost: string;
1530
1529
  smtpPort: string;
@@ -1536,24 +1535,24 @@ export declare const mailContract: {
1536
1535
  useTlsForImap: boolean;
1537
1536
  };
1538
1537
  }>;
1539
- }, "strip", z.ZodTypeAny, {
1538
+ }, "strip", import("zod").ZodTypeAny, {
1540
1539
  data: {
1541
1540
  id: string;
1542
1541
  state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
1543
1542
  address: string;
1544
1543
  name: string;
1545
- deletedAt: Date | null;
1546
1544
  created_at: string;
1547
- updated_at: string;
1545
+ deleted_at: Date | null;
1548
1546
  tenant_id: string;
1547
+ updated_at: string;
1549
1548
  accountId: string;
1550
1549
  mailServerId: string;
1551
1550
  mailServer: {
1552
1551
  id: string;
1553
1552
  name: string;
1554
- deletedAt: string | null;
1555
1553
  created_at: string;
1556
- updated_at: string;
1554
+ updated_att: string;
1555
+ deleted_at: string | null;
1557
1556
  tenant_id: string;
1558
1557
  smtpHost: string;
1559
1558
  smtpPort: string;
@@ -1572,18 +1571,18 @@ export declare const mailContract: {
1572
1571
  state: "connected" | "connecting" | "disconnected" | "init" | "syncing" | "authenticationError" | "connectError" | "unset";
1573
1572
  address: string;
1574
1573
  name: string;
1575
- deletedAt: Date | null;
1576
1574
  created_at: string;
1577
- updated_at: string;
1575
+ deleted_at: Date | null;
1578
1576
  tenant_id: string;
1577
+ updated_at: string;
1579
1578
  accountId: string;
1580
1579
  mailServerId: string;
1581
1580
  mailServer: {
1582
1581
  id: string;
1583
1582
  name: string;
1584
- deletedAt: string | null;
1585
1583
  created_at: string;
1586
- updated_at: string;
1584
+ updated_att: string;
1585
+ deleted_at: string | null;
1587
1586
  tenant_id: string;
1588
1587
  smtpHost: string;
1589
1588
  smtpPort: string;
@@ -1599,63 +1598,63 @@ export declare const mailContract: {
1599
1598
  }>;
1600
1599
  };
1601
1600
  path: "mail/account/:id/reconnect";
1602
- headers: z.ZodObject<{
1603
- 'x-tenant': z.ZodString;
1604
- authorization: z.ZodString;
1605
- }, "strip", z.ZodTypeAny, {
1601
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
1602
+ 'x-tenant': import("zod").ZodString;
1603
+ authorization: import("zod").ZodString;
1604
+ }, "strip", import("zod").ZodTypeAny, {
1606
1605
  'x-tenant': string;
1607
1606
  authorization: string;
1608
1607
  }, {
1609
1608
  'x-tenant': string;
1610
1609
  authorization: string;
1611
- }>;
1610
+ }>>>;
1612
1611
  };
1613
1612
  delete: {
1614
1613
  body: null;
1615
1614
  summary: "Delete an account by id";
1616
1615
  method: "DELETE";
1617
- pathParams: z.ZodObject<{
1618
- id: z.ZodString;
1619
- }, "strip", z.ZodTypeAny, {
1616
+ pathParams: import("zod").ZodObject<{
1617
+ id: import("zod").ZodString;
1618
+ }, "strip", import("zod").ZodTypeAny, {
1620
1619
  id: string;
1621
1620
  }, {
1622
1621
  id: string;
1623
1622
  }>;
1624
1623
  responses: {
1625
- 401: z.ZodObject<{
1626
- message: z.ZodString;
1627
- error: z.ZodAny;
1628
- }, "strip", z.ZodTypeAny, {
1624
+ 401: import("zod").ZodObject<{
1625
+ message: import("zod").ZodString;
1626
+ error: import("zod").ZodAny;
1627
+ }, "strip", import("zod").ZodTypeAny, {
1629
1628
  message: string;
1630
1629
  error?: any;
1631
1630
  }, {
1632
1631
  message: string;
1633
1632
  error?: any;
1634
1633
  }>;
1635
- 404: z.ZodObject<{
1636
- message: z.ZodString;
1637
- error: z.ZodAny;
1638
- }, "strip", z.ZodTypeAny, {
1634
+ 404: import("zod").ZodObject<{
1635
+ message: import("zod").ZodString;
1636
+ error: import("zod").ZodAny;
1637
+ }, "strip", import("zod").ZodTypeAny, {
1639
1638
  message: string;
1640
1639
  error?: any;
1641
1640
  }, {
1642
1641
  message: string;
1643
1642
  error?: any;
1644
1643
  }>;
1645
- 422: z.ZodObject<{
1646
- message: z.ZodString;
1647
- error: z.ZodAny;
1648
- }, "strip", z.ZodTypeAny, {
1644
+ 422: import("zod").ZodObject<{
1645
+ message: import("zod").ZodString;
1646
+ error: import("zod").ZodAny;
1647
+ }, "strip", import("zod").ZodTypeAny, {
1649
1648
  message: string;
1650
1649
  error?: any;
1651
1650
  }, {
1652
1651
  message: string;
1653
1652
  error?: any;
1654
1653
  }>;
1655
- 200: z.ZodObject<{
1656
- requestId: z.ZodString;
1657
- message: z.ZodString;
1658
- }, "strip", z.ZodTypeAny, {
1654
+ 200: import("zod").ZodObject<{
1655
+ requestId: import("zod").ZodString;
1656
+ message: import("zod").ZodString;
1657
+ }, "strip", import("zod").ZodTypeAny, {
1659
1658
  message: string;
1660
1659
  requestId: string;
1661
1660
  }, {
@@ -1664,16 +1663,16 @@ export declare const mailContract: {
1664
1663
  }>;
1665
1664
  };
1666
1665
  path: "mail/account/:id";
1667
- headers: z.ZodObject<{
1668
- 'x-tenant': z.ZodString;
1669
- authorization: z.ZodString;
1670
- }, "strip", z.ZodTypeAny, {
1666
+ headers: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
1667
+ 'x-tenant': import("zod").ZodString;
1668
+ authorization: import("zod").ZodString;
1669
+ }, "strip", import("zod").ZodTypeAny, {
1671
1670
  'x-tenant': string;
1672
1671
  authorization: string;
1673
1672
  }, {
1674
1673
  'x-tenant': string;
1675
1674
  authorization: string;
1676
- }>;
1675
+ }>>>;
1677
1676
  };
1678
1677
  };
1679
1678
  server: {
@@ -1682,40 +1681,40 @@ export declare const mailContract: {
1682
1681
  summary: "Register a new mail server";
1683
1682
  method: "POST";
1684
1683
  responses: {
1685
- 401: z.ZodObject<{
1686
- message: z.ZodString;
1687
- error: z.ZodAny;
1688
- }, "strip", z.ZodTypeAny, {
1684
+ 401: import("zod").ZodObject<{
1685
+ message: import("zod").ZodString;
1686
+ error: import("zod").ZodAny;
1687
+ }, "strip", import("zod").ZodTypeAny, {
1689
1688
  message: string;
1690
1689
  error?: any;
1691
1690
  }, {
1692
1691
  message: string;
1693
1692
  error?: any;
1694
1693
  }>;
1695
- 404: z.ZodObject<{
1696
- message: z.ZodString;
1697
- error: z.ZodAny;
1698
- }, "strip", z.ZodTypeAny, {
1694
+ 404: import("zod").ZodObject<{
1695
+ message: import("zod").ZodString;
1696
+ error: import("zod").ZodAny;
1697
+ }, "strip", import("zod").ZodTypeAny, {
1699
1698
  message: string;
1700
1699
  error?: any;
1701
1700
  }, {
1702
1701
  message: string;
1703
1702
  error?: any;
1704
1703
  }>;
1705
- 422: z.ZodObject<{
1706
- message: z.ZodString;
1707
- error: z.ZodAny;
1708
- }, "strip", z.ZodTypeAny, {
1704
+ 422: import("zod").ZodObject<{
1705
+ message: import("zod").ZodString;
1706
+ error: import("zod").ZodAny;
1707
+ }, "strip", import("zod").ZodTypeAny, {
1709
1708
  message: string;
1710
1709
  error?: any;
1711
1710
  }, {
1712
1711
  message: string;
1713
1712
  error?: any;
1714
1713
  }>;
1715
- 200: z.ZodObject<{
1716
- requestId: z.ZodString;
1717
- message: z.ZodString;
1718
- }, "strip", z.ZodTypeAny, {
1714
+ 200: import("zod").ZodObject<{
1715
+ requestId: import("zod").ZodString;
1716
+ message: import("zod").ZodString;
1717
+ }, "strip", import("zod").ZodTypeAny, {
1719
1718
  message: string;
1720
1719
  requestId: string;
1721
1720
  }, {
@@ -1728,48 +1727,48 @@ export declare const mailContract: {
1728
1727
  get: {
1729
1728
  summary: "Get a mail server by id";
1730
1729
  method: "GET";
1731
- pathParams: z.ZodObject<{
1732
- id: z.ZodString;
1733
- }, "strip", z.ZodTypeAny, {
1730
+ pathParams: import("zod").ZodObject<{
1731
+ id: import("zod").ZodString;
1732
+ }, "strip", import("zod").ZodTypeAny, {
1734
1733
  id: string;
1735
1734
  }, {
1736
1735
  id: string;
1737
1736
  }>;
1738
1737
  responses: {
1739
- 401: z.ZodObject<{
1740
- message: z.ZodString;
1741
- error: z.ZodAny;
1742
- }, "strip", z.ZodTypeAny, {
1738
+ 401: import("zod").ZodObject<{
1739
+ message: import("zod").ZodString;
1740
+ error: import("zod").ZodAny;
1741
+ }, "strip", import("zod").ZodTypeAny, {
1743
1742
  message: string;
1744
1743
  error?: any;
1745
1744
  }, {
1746
1745
  message: string;
1747
1746
  error?: any;
1748
1747
  }>;
1749
- 404: z.ZodObject<{
1750
- message: z.ZodString;
1751
- error: z.ZodAny;
1752
- }, "strip", z.ZodTypeAny, {
1748
+ 404: import("zod").ZodObject<{
1749
+ message: import("zod").ZodString;
1750
+ error: import("zod").ZodAny;
1751
+ }, "strip", import("zod").ZodTypeAny, {
1753
1752
  message: string;
1754
1753
  error?: any;
1755
1754
  }, {
1756
1755
  message: string;
1757
1756
  error?: any;
1758
1757
  }>;
1759
- 422: z.ZodObject<{
1760
- message: z.ZodString;
1761
- error: z.ZodAny;
1762
- }, "strip", z.ZodTypeAny, {
1758
+ 422: import("zod").ZodObject<{
1759
+ message: import("zod").ZodString;
1760
+ error: import("zod").ZodAny;
1761
+ }, "strip", import("zod").ZodTypeAny, {
1763
1762
  message: string;
1764
1763
  error?: any;
1765
1764
  }, {
1766
1765
  message: string;
1767
1766
  error?: any;
1768
1767
  }>;
1769
- 200: z.ZodObject<{
1770
- requestId: z.ZodString;
1771
- message: z.ZodString;
1772
- }, "strip", z.ZodTypeAny, {
1768
+ 200: import("zod").ZodObject<{
1769
+ requestId: import("zod").ZodString;
1770
+ message: import("zod").ZodString;
1771
+ }, "strip", import("zod").ZodTypeAny, {
1773
1772
  message: string;
1774
1773
  requestId: string;
1775
1774
  }, {
@@ -1783,48 +1782,48 @@ export declare const mailContract: {
1783
1782
  body: null;
1784
1783
  summary: "Update a mail server by id";
1785
1784
  method: "PATCH";
1786
- pathParams: z.ZodObject<{
1787
- id: z.ZodString;
1788
- }, "strip", z.ZodTypeAny, {
1785
+ pathParams: import("zod").ZodObject<{
1786
+ id: import("zod").ZodString;
1787
+ }, "strip", import("zod").ZodTypeAny, {
1789
1788
  id: string;
1790
1789
  }, {
1791
1790
  id: string;
1792
1791
  }>;
1793
1792
  responses: {
1794
- 401: z.ZodObject<{
1795
- message: z.ZodString;
1796
- error: z.ZodAny;
1797
- }, "strip", z.ZodTypeAny, {
1793
+ 401: import("zod").ZodObject<{
1794
+ message: import("zod").ZodString;
1795
+ error: import("zod").ZodAny;
1796
+ }, "strip", import("zod").ZodTypeAny, {
1798
1797
  message: string;
1799
1798
  error?: any;
1800
1799
  }, {
1801
1800
  message: string;
1802
1801
  error?: any;
1803
1802
  }>;
1804
- 404: z.ZodObject<{
1805
- message: z.ZodString;
1806
- error: z.ZodAny;
1807
- }, "strip", z.ZodTypeAny, {
1803
+ 404: import("zod").ZodObject<{
1804
+ message: import("zod").ZodString;
1805
+ error: import("zod").ZodAny;
1806
+ }, "strip", import("zod").ZodTypeAny, {
1808
1807
  message: string;
1809
1808
  error?: any;
1810
1809
  }, {
1811
1810
  message: string;
1812
1811
  error?: any;
1813
1812
  }>;
1814
- 422: z.ZodObject<{
1815
- message: z.ZodString;
1816
- error: z.ZodAny;
1817
- }, "strip", z.ZodTypeAny, {
1813
+ 422: import("zod").ZodObject<{
1814
+ message: import("zod").ZodString;
1815
+ error: import("zod").ZodAny;
1816
+ }, "strip", import("zod").ZodTypeAny, {
1818
1817
  message: string;
1819
1818
  error?: any;
1820
1819
  }, {
1821
1820
  message: string;
1822
1821
  error?: any;
1823
1822
  }>;
1824
- 200: z.ZodObject<{
1825
- requestId: z.ZodString;
1826
- message: z.ZodString;
1827
- }, "strip", z.ZodTypeAny, {
1823
+ 200: import("zod").ZodObject<{
1824
+ requestId: import("zod").ZodString;
1825
+ message: import("zod").ZodString;
1826
+ }, "strip", import("zod").ZodTypeAny, {
1828
1827
  message: string;
1829
1828
  requestId: string;
1830
1829
  }, {
@@ -1838,48 +1837,48 @@ export declare const mailContract: {
1838
1837
  body: null;
1839
1838
  summary: "Delete a mail server by id";
1840
1839
  method: "PATCH";
1841
- pathParams: z.ZodObject<{
1842
- id: z.ZodString;
1843
- }, "strip", z.ZodTypeAny, {
1840
+ pathParams: import("zod").ZodObject<{
1841
+ id: import("zod").ZodString;
1842
+ }, "strip", import("zod").ZodTypeAny, {
1844
1843
  id: string;
1845
1844
  }, {
1846
1845
  id: string;
1847
1846
  }>;
1848
1847
  responses: {
1849
- 401: z.ZodObject<{
1850
- message: z.ZodString;
1851
- error: z.ZodAny;
1852
- }, "strip", z.ZodTypeAny, {
1848
+ 401: import("zod").ZodObject<{
1849
+ message: import("zod").ZodString;
1850
+ error: import("zod").ZodAny;
1851
+ }, "strip", import("zod").ZodTypeAny, {
1853
1852
  message: string;
1854
1853
  error?: any;
1855
1854
  }, {
1856
1855
  message: string;
1857
1856
  error?: any;
1858
1857
  }>;
1859
- 404: z.ZodObject<{
1860
- message: z.ZodString;
1861
- error: z.ZodAny;
1862
- }, "strip", z.ZodTypeAny, {
1858
+ 404: import("zod").ZodObject<{
1859
+ message: import("zod").ZodString;
1860
+ error: import("zod").ZodAny;
1861
+ }, "strip", import("zod").ZodTypeAny, {
1863
1862
  message: string;
1864
1863
  error?: any;
1865
1864
  }, {
1866
1865
  message: string;
1867
1866
  error?: any;
1868
1867
  }>;
1869
- 422: z.ZodObject<{
1870
- message: z.ZodString;
1871
- error: z.ZodAny;
1872
- }, "strip", z.ZodTypeAny, {
1868
+ 422: import("zod").ZodObject<{
1869
+ message: import("zod").ZodString;
1870
+ error: import("zod").ZodAny;
1871
+ }, "strip", import("zod").ZodTypeAny, {
1873
1872
  message: string;
1874
1873
  error?: any;
1875
1874
  }, {
1876
1875
  message: string;
1877
1876
  error?: any;
1878
1877
  }>;
1879
- 200: z.ZodObject<{
1880
- requestId: z.ZodString;
1881
- message: z.ZodString;
1882
- }, "strip", z.ZodTypeAny, {
1878
+ 200: import("zod").ZodObject<{
1879
+ requestId: import("zod").ZodString;
1880
+ message: import("zod").ZodString;
1881
+ }, "strip", import("zod").ZodTypeAny, {
1883
1882
  message: string;
1884
1883
  requestId: string;
1885
1884
  }, {