@kl1/contracts 1.0.1 → 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.
- package/dist/api-contracts/src/auth/index.d.ts +436 -0
- package/dist/api-contracts/src/auth/index.d.ts.map +1 -0
- package/dist/api-contracts/src/auth/permission-schema.d.ts +27 -0
- package/dist/api-contracts/src/auth/permission-schema.d.ts.map +1 -0
- package/dist/api-contracts/src/auth/role-schema.d.ts +70 -0
- package/dist/api-contracts/src/auth/role-schema.d.ts.map +1 -0
- package/dist/api-contracts/src/auth/user-schema.d.ts +140 -0
- package/dist/api-contracts/src/auth/user-schema.d.ts.map +1 -0
- package/dist/api-contracts/src/base-contract.d.ts +85 -0
- package/dist/api-contracts/src/base-contract.d.ts.map +1 -0
- package/dist/api-contracts/src/contract.d.ts +593 -0
- package/dist/api-contracts/src/contract.d.ts.map +1 -0
- package/dist/api-contracts/src/cx-log/cx-log-schema.d.ts +54 -0
- package/dist/api-contracts/src/cx-log/cx-log-schema.d.ts.map +1 -0
- package/dist/api-contracts/src/cx-log/index.d.ts +252 -0
- package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -0
- package/dist/api-contracts/src/index.d.ts +2 -0
- package/dist/api-contracts/src/index.d.ts.map +1 -0
- package/dist/attribute/schema.d.ts +42 -0
- package/dist/attribute/schema.d.ts.map +1 -0
- package/dist/attribute-option/schema.d.ts +33 -0
- package/dist/attribute-option/schema.d.ts.map +1 -0
- package/dist/auth/index.d.ts +436 -0
- package/dist/auth/index.d.ts.map +1 -0
- package/dist/auth/permission-schema.d.ts +27 -0
- package/dist/auth/permission-schema.d.ts.map +1 -0
- package/dist/auth/role-schema.d.ts +70 -0
- package/dist/auth/role-schema.d.ts.map +1 -0
- package/dist/auth/user-schema.d.ts +140 -0
- package/dist/auth/user-schema.d.ts.map +1 -0
- package/dist/base-contract.d.ts +85 -0
- package/dist/base-contract.d.ts.map +1 -0
- package/dist/call-log/index.d.ts +4 -0
- package/dist/call-log/index.d.ts.map +1 -0
- package/dist/call-log/schema.d.ts +57 -0
- package/dist/call-log/schema.d.ts.map +1 -0
- package/dist/call-log/validation.d.ts +24 -0
- package/dist/call-log/validation.d.ts.map +1 -0
- package/dist/company/schema.d.ts +30 -0
- package/dist/company/schema.d.ts.map +1 -0
- package/dist/contact/schema.d.ts +42 -0
- package/dist/contact/schema.d.ts.map +1 -0
- package/dist/contact-email/schema.d.ts +27 -0
- package/dist/contact-email/schema.d.ts.map +1 -0
- package/dist/contact-phone/schema.d.ts +27 -0
- package/dist/contact-phone/schema.d.ts.map +1 -0
- package/dist/contract.d.ts +663 -0
- package/dist/{src/channel/index.d.ts.map → contract.d.ts.map} +1 -1
- package/dist/custom-field/schema.d.ts +36 -0
- package/dist/custom-field/schema.d.ts.map +1 -0
- package/dist/custom-field-upload/schema.d.ts +24 -0
- package/dist/custom-field-upload/schema.d.ts.map +1 -0
- package/dist/cx-log/cx-log-schema.d.ts +54 -0
- package/dist/cx-log/cx-log-schema.d.ts.map +1 -0
- package/dist/cx-log/index.d.ts +230 -0
- package/dist/cx-log/index.d.ts.map +1 -0
- package/dist/cx-log/schema.d.ts +54 -0
- package/dist/cx-log/schema.d.ts.map +1 -0
- package/dist/cx-log/validation.d.ts +95 -0
- package/dist/cx-log/validation.d.ts.map +1 -0
- package/dist/entities/src/base.entity.d.ts +7 -0
- package/dist/entities/src/base.entity.d.ts.map +1 -0
- package/dist/entities/src/tenants/attribute-option.entity.d.ts +9 -0
- package/dist/entities/src/tenants/attribute-option.entity.d.ts.map +1 -0
- package/dist/entities/src/tenants/attribute.entity.d.ts +12 -0
- package/dist/entities/src/tenants/attribute.entity.d.ts.map +1 -0
- package/dist/entities/src/tenants/call-log.entity.d.ts +18 -0
- package/dist/entities/src/tenants/call-log.entity.d.ts.map +1 -0
- package/dist/entities/src/tenants/company.entity.d.ts +8 -0
- package/dist/entities/src/tenants/company.entity.d.ts.map +1 -0
- package/dist/entities/src/tenants/contact-custom-field.entity.d.ts +14 -0
- package/dist/entities/src/tenants/contact-custom-field.entity.d.ts.map +1 -0
- package/dist/entities/src/tenants/contact-email.entity.d.ts +7 -0
- package/dist/entities/src/tenants/contact-email.entity.d.ts.map +1 -0
- package/dist/entities/src/tenants/contact-phone.entity.d.ts +7 -0
- package/dist/entities/src/tenants/contact-phone.entity.d.ts.map +1 -0
- package/dist/entities/src/tenants/contact.entity.d.ts +14 -0
- package/dist/entities/src/tenants/contact.entity.d.ts.map +1 -0
- package/dist/entities/src/tenants/custom-field-upload.entity.d.ts +8 -0
- package/dist/entities/src/tenants/custom-field-upload.entity.d.ts.map +1 -0
- package/dist/entities/src/tenants/custom-field.entity.d.ts +10 -0
- package/dist/entities/src/tenants/custom-field.entity.d.ts.map +1 -0
- package/dist/entities/src/tenants/cx-log.entity.d.ts +20 -0
- package/dist/entities/src/tenants/cx-log.entity.d.ts.map +1 -0
- package/dist/entities/src/tenants/evaluate-form.entity.d.ts +9 -0
- package/dist/entities/src/tenants/evaluate-form.entity.d.ts.map +1 -0
- package/dist/entities/src/tenants/extension.entity.d.ts +10 -0
- package/dist/entities/src/tenants/extension.entity.d.ts.map +1 -0
- package/dist/entities/src/tenants/group.entity.d.ts +6 -0
- package/dist/entities/src/tenants/group.entity.d.ts.map +1 -0
- package/dist/entities/src/tenants/index.d.ts +25 -0
- package/dist/entities/src/tenants/index.d.ts.map +1 -0
- package/dist/entities/src/tenants/log-form.entity.d.ts +6 -0
- package/dist/entities/src/tenants/log-form.entity.d.ts.map +1 -0
- package/dist/entities/src/tenants/permission.entity.d.ts +9 -0
- package/dist/entities/src/tenants/permission.entity.d.ts.map +1 -0
- package/dist/entities/src/tenants/platform-contact.entity.d.ts +8 -0
- package/dist/entities/src/tenants/platform-contact.entity.d.ts.map +1 -0
- package/dist/entities/src/tenants/role.entity.d.ts +11 -0
- package/dist/entities/src/tenants/role.entity.d.ts.map +1 -0
- package/dist/entities/src/tenants/tag-group.entity.d.ts +8 -0
- package/dist/entities/src/tenants/tag-group.entity.d.ts.map +1 -0
- package/dist/entities/src/tenants/tag.entity.d.ts +11 -0
- package/dist/entities/src/tenants/tag.entity.d.ts.map +1 -0
- package/dist/entities/src/tenants/telephony-cdr.entity.d.ts +23 -0
- package/dist/entities/src/tenants/telephony-cdr.entity.d.ts.map +1 -0
- package/dist/entities/src/tenants/telephony-live-queue-call.entity.d.ts +7 -0
- package/dist/entities/src/tenants/telephony-live-queue-call.entity.d.ts.map +1 -0
- package/dist/entities/src/tenants/telephony-queue-call-count.entity.d.ts +15 -0
- package/dist/entities/src/tenants/telephony-queue-call-count.entity.d.ts.map +1 -0
- package/dist/entities/src/tenants/ticket.entity.d.ts +17 -0
- package/dist/entities/src/tenants/ticket.entity.d.ts.map +1 -0
- package/dist/entities/src/tenants/upload.entity.d.ts +8 -0
- package/dist/entities/src/tenants/upload.entity.d.ts.map +1 -0
- package/dist/entities/src/tenants/user.entity.d.ts +13 -0
- package/dist/entities/src/tenants/user.entity.d.ts.map +1 -0
- package/dist/entities/src/tenants/widget.entity.d.ts +9 -0
- package/dist/entities/src/tenants/widget.entity.d.ts.map +1 -0
- package/dist/evaluate-form/schema.d.ts +27 -0
- package/dist/evaluate-form/schema.d.ts.map +1 -0
- package/dist/exchange-token/index.d.ts +32 -0
- package/dist/exchange-token/index.d.ts.map +1 -0
- package/dist/extension/schema.d.ts +36 -0
- package/dist/extension/schema.d.ts.map +1 -0
- package/dist/group/schema.d.ts +24 -0
- package/dist/group/schema.d.ts.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +759 -636
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +759 -636
- package/dist/index.mjs.map +1 -1
- package/dist/log-form/schema.d.ts +24 -0
- package/dist/log-form/schema.d.ts.map +1 -0
- package/dist/permission/schema.d.ts +27 -0
- package/dist/permission/schema.d.ts.map +1 -0
- package/dist/platform-contact/schema.d.ts +30 -0
- package/dist/platform-contact/schema.d.ts.map +1 -0
- package/dist/posts/index.d.ts +118 -0
- package/dist/posts/index.d.ts.map +1 -0
- package/dist/role/schema.d.ts +70 -0
- package/dist/role/schema.d.ts.map +1 -0
- package/dist/src/attribute/index.d.ts +8 -7
- package/dist/src/attribute/index.d.ts.map +1 -1
- package/dist/src/attribute/schema.d.ts +3 -3
- package/dist/src/attribute/validation.d.ts +4 -4
- package/dist/src/auth/index.d.ts +1 -1
- package/dist/src/base-contract.d.ts +1 -1
- package/dist/src/call-log/validation.d.ts +2 -2
- package/dist/src/category/index.d.ts +7 -7
- package/dist/src/category/index.d.ts.map +1 -1
- package/dist/src/category/schema.d.ts +3 -3
- package/dist/src/category/validation.d.ts +4 -4
- package/dist/src/chat/index.d.ts +2111 -0
- package/dist/src/chat/index.d.ts.map +1 -0
- package/dist/src/chat/schema.d.ts +1742 -0
- package/dist/src/chat/schema.d.ts.map +1 -0
- package/dist/src/{channel/schema.d.ts → chat/validation.d.ts} +143 -81
- package/dist/src/chat/validation.d.ts.map +1 -0
- package/dist/src/contract.d.ts +4099 -3378
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/custom-field/schema.d.ts +2 -2
- package/dist/src/cx-log/index.d.ts +8 -8
- package/dist/src/cx-log/schema.d.ts +4 -4
- package/dist/src/extension/index.d.ts.map +1 -1
- package/dist/src/mail/account-contract.d.ts +105 -105
- package/dist/src/mail/account-contract.d.ts.map +1 -1
- package/dist/src/mail/mail-contract.d.ts +615 -616
- package/dist/src/mail/mail-contract.d.ts.map +1 -1
- package/dist/src/mail/mail-server.d.ts.map +1 -1
- package/dist/src/mail/message-contract.d.ts.map +1 -1
- package/dist/src/mail/room-contract.d.ts.map +1 -1
- package/dist/src/mail/schemas/account.schema.d.ts +129 -129
- package/dist/src/permission/index.d.ts +0 -84
- package/dist/src/permission/index.d.ts.map +1 -1
- package/dist/src/platform-contact/schema.d.ts +2 -2
- package/dist/src/role/index.d.ts.map +1 -1
- package/dist/src/tag/index.d.ts +6 -6
- package/dist/src/tag/index.d.ts.map +1 -1
- package/dist/src/tag/schema.d.ts +2 -2
- package/dist/src/tag/validation.d.ts +3 -3
- package/dist/src/ticket/schema.d.ts +2 -2
- package/dist/src/types.d.ts +5 -0
- package/dist/src/types.d.ts.map +1 -0
- package/dist/src/user/index.d.ts +32 -229
- package/dist/src/user/index.d.ts.map +1 -1
- package/dist/src/user/validation.d.ts +49 -0
- package/dist/src/user/validation.d.ts.map +1 -0
- package/dist/src/widget/index.d.ts +31 -70
- package/dist/src/widget/index.d.ts.map +1 -1
- package/dist/tag/schema.d.ts +21 -0
- package/dist/tag/schema.d.ts.map +1 -0
- package/dist/tag-group/schema.d.ts +24 -0
- package/dist/tag-group/schema.d.ts.map +1 -0
- package/dist/telephony-cdr/index.d.ts +4 -0
- package/dist/telephony-cdr/index.d.ts.map +1 -0
- package/dist/telephony-cdr/schema.d.ts +75 -0
- package/dist/telephony-cdr/schema.d.ts.map +1 -0
- package/dist/telephony-cdr/validation.d.ts +48 -0
- package/dist/telephony-cdr/validation.d.ts.map +1 -0
- package/dist/telephony-live-queue-call/schema.d.ts +27 -0
- package/dist/telephony-live-queue-call/schema.d.ts.map +1 -0
- package/dist/telephony-queue-call-count/schema.d.ts +51 -0
- package/dist/telephony-queue-call-count/schema.d.ts.map +1 -0
- package/dist/ticket/schema.d.ts +51 -0
- package/dist/ticket/schema.d.ts.map +1 -0
- package/dist/upload/schema.d.ts +30 -0
- package/dist/upload/schema.d.ts.map +1 -0
- package/dist/user/schema.d.ts +140 -0
- package/dist/user/schema.d.ts.map +1 -0
- package/dist/utils.d.ts +2 -2
- package/dist/widget/schema.d.ts +33 -0
- package/dist/widget/schema.d.ts.map +1 -0
- package/package.json +2 -3
- package/dist/src/channel/index.d.ts +0 -629
- package/dist/src/channel/schema.d.ts.map +0 -1
- package/dist/src/channel/validation.d.ts +0 -242
- package/dist/src/channel/validation.d.ts.map +0 -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:
|
10
|
-
message:
|
11
|
-
error:
|
12
|
-
}, "strip",
|
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:
|
20
|
-
message:
|
21
|
-
error:
|
22
|
-
}, "strip",
|
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:
|
30
|
-
message:
|
31
|
-
error:
|
32
|
-
}, "strip",
|
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:
|
40
|
-
requestId:
|
41
|
-
message:
|
42
|
-
}, "strip",
|
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:
|
56
|
-
id:
|
57
|
-
}, "strip",
|
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:
|
64
|
-
message:
|
65
|
-
error:
|
66
|
-
}, "strip",
|
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:
|
74
|
-
message:
|
75
|
-
error:
|
76
|
-
}, "strip",
|
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:
|
84
|
-
message:
|
85
|
-
error:
|
86
|
-
}, "strip",
|
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:
|
94
|
-
requestId:
|
95
|
-
message:
|
96
|
-
}, "strip",
|
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:
|
111
|
-
id:
|
112
|
-
}, "strip",
|
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:
|
119
|
-
message:
|
120
|
-
error:
|
121
|
-
}, "strip",
|
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:
|
129
|
-
message:
|
130
|
-
error:
|
131
|
-
}, "strip",
|
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:
|
139
|
-
message:
|
140
|
-
error:
|
141
|
-
}, "strip",
|
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:
|
149
|
-
requestId:
|
150
|
-
message:
|
151
|
-
}, "strip",
|
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:
|
166
|
-
id:
|
167
|
-
}, "strip",
|
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:
|
174
|
-
message:
|
175
|
-
error:
|
176
|
-
}, "strip",
|
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:
|
184
|
-
message:
|
185
|
-
error:
|
186
|
-
}, "strip",
|
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:
|
194
|
-
message:
|
195
|
-
error:
|
196
|
-
}, "strip",
|
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:
|
204
|
-
requestId:
|
205
|
-
message:
|
206
|
-
}, "strip",
|
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:
|
224
|
-
message:
|
225
|
-
error:
|
226
|
-
}, "strip",
|
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:
|
234
|
-
message:
|
235
|
-
error:
|
236
|
-
}, "strip",
|
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:
|
244
|
-
message:
|
245
|
-
error:
|
246
|
-
}, "strip",
|
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:
|
254
|
-
requestId:
|
255
|
-
message:
|
256
|
-
}, "strip",
|
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:
|
270
|
-
id:
|
271
|
-
}, "strip",
|
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:
|
278
|
-
message:
|
279
|
-
error:
|
280
|
-
}, "strip",
|
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:
|
288
|
-
message:
|
289
|
-
error:
|
290
|
-
}, "strip",
|
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:
|
298
|
-
message:
|
299
|
-
error:
|
300
|
-
}, "strip",
|
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:
|
308
|
-
requestId:
|
309
|
-
message:
|
310
|
-
}, "strip",
|
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:
|
325
|
-
id:
|
326
|
-
}, "strip",
|
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:
|
333
|
-
message:
|
334
|
-
error:
|
335
|
-
}, "strip",
|
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:
|
343
|
-
message:
|
344
|
-
error:
|
345
|
-
}, "strip",
|
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:
|
353
|
-
message:
|
354
|
-
error:
|
355
|
-
}, "strip",
|
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:
|
363
|
-
requestId:
|
364
|
-
message:
|
365
|
-
}, "strip",
|
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:
|
380
|
-
id:
|
381
|
-
}, "strip",
|
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:
|
388
|
-
message:
|
389
|
-
error:
|
390
|
-
}, "strip",
|
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:
|
398
|
-
message:
|
399
|
-
error:
|
400
|
-
}, "strip",
|
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:
|
408
|
-
message:
|
409
|
-
error:
|
410
|
-
}, "strip",
|
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:
|
418
|
-
requestId:
|
419
|
-
message:
|
420
|
-
}, "strip",
|
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:
|
434
|
-
address:
|
435
|
-
name:
|
436
|
-
password:
|
437
|
-
mailServerId:
|
438
|
-
}, "strip",
|
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,73 +448,73 @@ export declare const mailContract: {
|
|
449
448
|
summary: "Register a new mail account";
|
450
449
|
method: "POST";
|
451
450
|
responses: {
|
452
|
-
401:
|
453
|
-
message:
|
454
|
-
error:
|
455
|
-
}, "strip",
|
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:
|
463
|
-
message:
|
464
|
-
error:
|
465
|
-
}, "strip",
|
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:
|
473
|
-
message:
|
474
|
-
error:
|
475
|
-
}, "strip",
|
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:
|
483
|
-
requestId:
|
484
|
-
message:
|
485
|
-
}, "strip",
|
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:
|
493
|
-
message:
|
494
|
-
}, "strip",
|
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:
|
500
|
-
message:
|
501
|
-
}, "strip",
|
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:
|
507
|
-
message:
|
508
|
-
}, "strip",
|
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:
|
516
|
-
'x-tenant':
|
517
|
-
authorization:
|
518
|
-
}, "strip",
|
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
|
}, {
|
@@ -526,77 +525,77 @@ export declare const mailContract: {
|
|
526
525
|
getById: {
|
527
526
|
summary: "Get a account by id";
|
528
527
|
method: "GET";
|
529
|
-
pathParams:
|
530
|
-
id:
|
531
|
-
}, "strip",
|
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:
|
538
|
-
message:
|
539
|
-
error:
|
540
|
-
}, "strip",
|
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:
|
548
|
-
message:
|
549
|
-
error:
|
550
|
-
}, "strip",
|
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:
|
558
|
-
message:
|
559
|
-
error:
|
560
|
-
}, "strip",
|
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:
|
568
|
-
requestId:
|
569
|
-
data:
|
570
|
-
id:
|
571
|
-
created_at:
|
572
|
-
updated_at:
|
573
|
-
|
574
|
-
tenant_id:
|
575
|
-
name:
|
576
|
-
address:
|
577
|
-
accountId:
|
578
|
-
mailServerId:
|
579
|
-
mailServer:
|
580
|
-
id:
|
581
|
-
created_at:
|
582
|
-
|
583
|
-
|
584
|
-
tenant_id:
|
585
|
-
name:
|
586
|
-
smtpHost:
|
587
|
-
smtpPort:
|
588
|
-
smtpTlsPort:
|
589
|
-
useTlsForSmtp:
|
590
|
-
imapHost:
|
591
|
-
imapPort:
|
592
|
-
imapTlsPort:
|
593
|
-
useTlsForImap:
|
594
|
-
}, "strip",
|
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
|
-
|
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
|
-
|
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:
|
626
|
-
}, "strip",
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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",
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
726
|
+
updated_att: string;
|
727
|
+
deleted_at: string | null;
|
729
728
|
tenant_id: string;
|
730
729
|
smtpHost: string;
|
731
730
|
smtpPort: string;
|
@@ -741,10 +740,10 @@ export declare const mailContract: {
|
|
741
740
|
}>;
|
742
741
|
};
|
743
742
|
path: "mail/account/:id";
|
744
|
-
headers:
|
745
|
-
'x-tenant':
|
746
|
-
authorization:
|
747
|
-
}, "strip",
|
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
|
}, {
|
@@ -756,40 +755,40 @@ export declare const mailContract: {
|
|
756
755
|
summary: "Get al accounts";
|
757
756
|
method: "GET";
|
758
757
|
responses: {
|
759
|
-
401:
|
760
|
-
message:
|
761
|
-
error:
|
762
|
-
}, "strip",
|
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:
|
770
|
-
message:
|
771
|
-
error:
|
772
|
-
}, "strip",
|
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:
|
780
|
-
message:
|
781
|
-
error:
|
782
|
-
}, "strip",
|
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:
|
790
|
-
requestId:
|
791
|
-
data:
|
792
|
-
}, "strip",
|
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,10 +797,10 @@ export declare const mailContract: {
|
|
798
797
|
}>;
|
799
798
|
};
|
800
799
|
path: "mail/account";
|
801
|
-
headers:
|
802
|
-
'x-tenant':
|
803
|
-
authorization:
|
804
|
-
}, "strip",
|
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
|
}, {
|
@@ -810,37 +809,37 @@ export declare const mailContract: {
|
|
810
809
|
}>>>;
|
811
810
|
};
|
812
811
|
update: {
|
813
|
-
body:
|
814
|
-
id:
|
815
|
-
created_at:
|
816
|
-
updated_at:
|
817
|
-
|
818
|
-
tenant_id:
|
819
|
-
name:
|
820
|
-
address:
|
821
|
-
accountId:
|
822
|
-
mailServerId:
|
823
|
-
mailServer:
|
824
|
-
id:
|
825
|
-
created_at:
|
826
|
-
|
827
|
-
|
828
|
-
tenant_id:
|
829
|
-
name:
|
830
|
-
smtpHost:
|
831
|
-
smtpPort:
|
832
|
-
smtpTlsPort:
|
833
|
-
useTlsForSmtp:
|
834
|
-
imapHost:
|
835
|
-
imapPort:
|
836
|
-
imapTlsPort:
|
837
|
-
useTlsForImap:
|
838
|
-
}, "strip",
|
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
|
-
|
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
|
-
|
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:
|
870
|
-
}, "strip",
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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:
|
928
|
-
id:
|
929
|
-
}, "strip",
|
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:
|
936
|
-
message:
|
937
|
-
error:
|
938
|
-
}, "strip",
|
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:
|
946
|
-
message:
|
947
|
-
error:
|
948
|
-
}, "strip",
|
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:
|
956
|
-
message:
|
957
|
-
error:
|
958
|
-
}, "strip",
|
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:
|
966
|
-
requestId:
|
967
|
-
data:
|
968
|
-
id:
|
969
|
-
created_at:
|
970
|
-
updated_at:
|
971
|
-
|
972
|
-
tenant_id:
|
973
|
-
name:
|
974
|
-
address:
|
975
|
-
accountId:
|
976
|
-
mailServerId:
|
977
|
-
mailServer:
|
978
|
-
id:
|
979
|
-
created_at:
|
980
|
-
|
981
|
-
|
982
|
-
tenant_id:
|
983
|
-
name:
|
984
|
-
smtpHost:
|
985
|
-
smtpPort:
|
986
|
-
smtpTlsPort:
|
987
|
-
useTlsForSmtp:
|
988
|
-
imapHost:
|
989
|
-
imapPort:
|
990
|
-
imapTlsPort:
|
991
|
-
useTlsForImap:
|
992
|
-
}, "strip",
|
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
|
-
|
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
|
-
|
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:
|
1024
|
-
}, "strip",
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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",
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
1124
|
+
updated_att: string;
|
1125
|
+
deleted_at: string | null;
|
1127
1126
|
tenant_id: string;
|
1128
1127
|
smtpHost: string;
|
1129
1128
|
smtpPort: string;
|
@@ -1139,10 +1138,10 @@ export declare const mailContract: {
|
|
1139
1138
|
}>;
|
1140
1139
|
};
|
1141
1140
|
path: "mail/account/:id";
|
1142
|
-
headers:
|
1143
|
-
'x-tenant':
|
1144
|
-
authorization:
|
1145
|
-
}, "strip",
|
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
|
}, {
|
@@ -1154,77 +1153,77 @@ export declare const mailContract: {
|
|
1154
1153
|
body: null;
|
1155
1154
|
summary: "Disconnect an account";
|
1156
1155
|
method: "PATCH";
|
1157
|
-
pathParams:
|
1158
|
-
id:
|
1159
|
-
}, "strip",
|
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:
|
1166
|
-
message:
|
1167
|
-
error:
|
1168
|
-
}, "strip",
|
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:
|
1176
|
-
message:
|
1177
|
-
error:
|
1178
|
-
}, "strip",
|
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:
|
1186
|
-
message:
|
1187
|
-
error:
|
1188
|
-
}, "strip",
|
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:
|
1196
|
-
requestId:
|
1197
|
-
data:
|
1198
|
-
id:
|
1199
|
-
created_at:
|
1200
|
-
updated_at:
|
1201
|
-
|
1202
|
-
tenant_id:
|
1203
|
-
name:
|
1204
|
-
address:
|
1205
|
-
accountId:
|
1206
|
-
mailServerId:
|
1207
|
-
mailServer:
|
1208
|
-
id:
|
1209
|
-
created_at:
|
1210
|
-
|
1211
|
-
|
1212
|
-
tenant_id:
|
1213
|
-
name:
|
1214
|
-
smtpHost:
|
1215
|
-
smtpPort:
|
1216
|
-
smtpTlsPort:
|
1217
|
-
useTlsForSmtp:
|
1218
|
-
imapHost:
|
1219
|
-
imapPort:
|
1220
|
-
imapTlsPort:
|
1221
|
-
useTlsForImap:
|
1222
|
-
}, "strip",
|
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
|
-
|
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
|
-
|
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:
|
1254
|
-
}, "strip",
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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",
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
1354
|
+
updated_att: string;
|
1355
|
+
deleted_at: string | null;
|
1357
1356
|
tenant_id: string;
|
1358
1357
|
smtpHost: string;
|
1359
1358
|
smtpPort: string;
|
@@ -1369,10 +1368,10 @@ export declare const mailContract: {
|
|
1369
1368
|
}>;
|
1370
1369
|
};
|
1371
1370
|
path: "mail/account/:id/disconnect";
|
1372
|
-
headers:
|
1373
|
-
'x-tenant':
|
1374
|
-
authorization:
|
1375
|
-
}, "strip",
|
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
|
}, {
|
@@ -1384,77 +1383,77 @@ export declare const mailContract: {
|
|
1384
1383
|
body: null;
|
1385
1384
|
summary: "Reconnect a disconncted account";
|
1386
1385
|
method: "PATCH";
|
1387
|
-
pathParams:
|
1388
|
-
id:
|
1389
|
-
}, "strip",
|
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:
|
1396
|
-
message:
|
1397
|
-
error:
|
1398
|
-
}, "strip",
|
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:
|
1406
|
-
message:
|
1407
|
-
error:
|
1408
|
-
}, "strip",
|
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:
|
1416
|
-
message:
|
1417
|
-
error:
|
1418
|
-
}, "strip",
|
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:
|
1426
|
-
requestId:
|
1427
|
-
data:
|
1428
|
-
id:
|
1429
|
-
created_at:
|
1430
|
-
updated_at:
|
1431
|
-
|
1432
|
-
tenant_id:
|
1433
|
-
name:
|
1434
|
-
address:
|
1435
|
-
accountId:
|
1436
|
-
mailServerId:
|
1437
|
-
mailServer:
|
1438
|
-
id:
|
1439
|
-
created_at:
|
1440
|
-
|
1441
|
-
|
1442
|
-
tenant_id:
|
1443
|
-
name:
|
1444
|
-
smtpHost:
|
1445
|
-
smtpPort:
|
1446
|
-
smtpTlsPort:
|
1447
|
-
useTlsForSmtp:
|
1448
|
-
imapHost:
|
1449
|
-
imapPort:
|
1450
|
-
imapTlsPort:
|
1451
|
-
useTlsForImap:
|
1452
|
-
}, "strip",
|
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
|
-
|
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
|
-
|
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:
|
1484
|
-
}, "strip",
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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",
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
1584
|
+
updated_att: string;
|
1585
|
+
deleted_at: string | null;
|
1587
1586
|
tenant_id: string;
|
1588
1587
|
smtpHost: string;
|
1589
1588
|
smtpPort: string;
|
@@ -1599,10 +1598,10 @@ export declare const mailContract: {
|
|
1599
1598
|
}>;
|
1600
1599
|
};
|
1601
1600
|
path: "mail/account/:id/reconnect";
|
1602
|
-
headers:
|
1603
|
-
'x-tenant':
|
1604
|
-
authorization:
|
1605
|
-
}, "strip",
|
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
|
}, {
|
@@ -1614,48 +1613,48 @@ export declare const mailContract: {
|
|
1614
1613
|
body: null;
|
1615
1614
|
summary: "Delete an account by id";
|
1616
1615
|
method: "DELETE";
|
1617
|
-
pathParams:
|
1618
|
-
id:
|
1619
|
-
}, "strip",
|
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:
|
1626
|
-
message:
|
1627
|
-
error:
|
1628
|
-
}, "strip",
|
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:
|
1636
|
-
message:
|
1637
|
-
error:
|
1638
|
-
}, "strip",
|
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:
|
1646
|
-
message:
|
1647
|
-
error:
|
1648
|
-
}, "strip",
|
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:
|
1656
|
-
requestId:
|
1657
|
-
message:
|
1658
|
-
}, "strip",
|
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,10 +1663,10 @@ export declare const mailContract: {
|
|
1664
1663
|
}>;
|
1665
1664
|
};
|
1666
1665
|
path: "mail/account/:id";
|
1667
|
-
headers:
|
1668
|
-
'x-tenant':
|
1669
|
-
authorization:
|
1670
|
-
}, "strip",
|
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
|
}, {
|
@@ -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:
|
1686
|
-
message:
|
1687
|
-
error:
|
1688
|
-
}, "strip",
|
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:
|
1696
|
-
message:
|
1697
|
-
error:
|
1698
|
-
}, "strip",
|
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:
|
1706
|
-
message:
|
1707
|
-
error:
|
1708
|
-
}, "strip",
|
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:
|
1716
|
-
requestId:
|
1717
|
-
message:
|
1718
|
-
}, "strip",
|
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:
|
1732
|
-
id:
|
1733
|
-
}, "strip",
|
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:
|
1740
|
-
message:
|
1741
|
-
error:
|
1742
|
-
}, "strip",
|
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:
|
1750
|
-
message:
|
1751
|
-
error:
|
1752
|
-
}, "strip",
|
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:
|
1760
|
-
message:
|
1761
|
-
error:
|
1762
|
-
}, "strip",
|
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:
|
1770
|
-
requestId:
|
1771
|
-
message:
|
1772
|
-
}, "strip",
|
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:
|
1787
|
-
id:
|
1788
|
-
}, "strip",
|
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:
|
1795
|
-
message:
|
1796
|
-
error:
|
1797
|
-
}, "strip",
|
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:
|
1805
|
-
message:
|
1806
|
-
error:
|
1807
|
-
}, "strip",
|
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:
|
1815
|
-
message:
|
1816
|
-
error:
|
1817
|
-
}, "strip",
|
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:
|
1825
|
-
requestId:
|
1826
|
-
message:
|
1827
|
-
}, "strip",
|
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:
|
1842
|
-
id:
|
1843
|
-
}, "strip",
|
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:
|
1850
|
-
message:
|
1851
|
-
error:
|
1852
|
-
}, "strip",
|
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:
|
1860
|
-
message:
|
1861
|
-
error:
|
1862
|
-
}, "strip",
|
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:
|
1870
|
-
message:
|
1871
|
-
error:
|
1872
|
-
}, "strip",
|
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:
|
1880
|
-
requestId:
|
1881
|
-
message:
|
1882
|
-
}, "strip",
|
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
|
}, {
|