@kl1/contracts 1.0.76 → 1.0.77
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/index.js +883 -877
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +883 -877
- package/dist/index.mjs.map +1 -1
- package/dist/src/app/index.d.ts +17 -0
- package/dist/src/app/index.d.ts.map +1 -0
- package/dist/src/contract.d.ts +26 -281
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/instagram/index.d.ts +25 -21
- package/dist/src/instagram/index.d.ts.map +1 -1
- package/dist/src/instagram/validation.d.ts +25 -21
- package/dist/src/instagram/validation.d.ts.map +1 -1
- package/dist/src/line/index.d.ts +1 -260
- package/dist/src/line/index.d.ts.map +1 -1
- package/dist/src/line/schema.d.ts +0 -259
- package/dist/src/line/schema.d.ts.map +1 -1
- package/dist/src/mail/mail-server.d.ts +216 -0
- package/dist/src/mail/mail-server.d.ts.map +1 -0
- package/dist/src/platform-contact/schema.d.ts +30 -0
- package/dist/src/platform-contact/schema.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -7,207 +7,22 @@ export declare const ConnectLineService: z.ZodObject<{
|
|
|
7
7
|
lineSecret: z.ZodOptional<z.ZodString>;
|
|
8
8
|
actor: z.ZodOptional<z.ZodObject<{
|
|
9
9
|
id: z.ZodString;
|
|
10
|
-
createdAt: z.ZodDate;
|
|
11
|
-
updatedAt: z.ZodDate;
|
|
12
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
13
10
|
name: z.ZodString;
|
|
14
11
|
email: z.ZodString;
|
|
15
|
-
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
16
|
-
password: z.ZodString;
|
|
17
12
|
address: z.ZodNullable<z.ZodString>;
|
|
18
13
|
phone: z.ZodNullable<z.ZodString>;
|
|
19
|
-
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
20
|
-
roles: z.ZodArray<z.ZodObject<{
|
|
21
|
-
id: z.ZodString;
|
|
22
|
-
createdAt: z.ZodDate;
|
|
23
|
-
updatedAt: z.ZodDate;
|
|
24
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
25
|
-
systemName: z.ZodString;
|
|
26
|
-
displayName: z.ZodString;
|
|
27
|
-
description: z.ZodNullable<z.ZodString>;
|
|
28
|
-
permissions: z.ZodArray<z.ZodObject<{
|
|
29
|
-
id: z.ZodString;
|
|
30
|
-
createdAt: z.ZodDate;
|
|
31
|
-
updatedAt: z.ZodDate;
|
|
32
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
33
|
-
systemName: z.ZodString;
|
|
34
|
-
displayName: z.ZodString;
|
|
35
|
-
description: z.ZodNullable<z.ZodString>;
|
|
36
|
-
}, "strip", z.ZodTypeAny, {
|
|
37
|
-
id: string;
|
|
38
|
-
description: string | null;
|
|
39
|
-
createdAt: Date;
|
|
40
|
-
updatedAt: Date;
|
|
41
|
-
deletedAt: Date | null;
|
|
42
|
-
systemName: string;
|
|
43
|
-
displayName: string;
|
|
44
|
-
}, {
|
|
45
|
-
id: string;
|
|
46
|
-
description: string | null;
|
|
47
|
-
createdAt: Date;
|
|
48
|
-
updatedAt: Date;
|
|
49
|
-
deletedAt: Date | null;
|
|
50
|
-
systemName: string;
|
|
51
|
-
displayName: string;
|
|
52
|
-
}>, "many">;
|
|
53
|
-
}, "strip", z.ZodTypeAny, {
|
|
54
|
-
id: string;
|
|
55
|
-
description: string | null;
|
|
56
|
-
createdAt: Date;
|
|
57
|
-
updatedAt: Date;
|
|
58
|
-
deletedAt: Date | null;
|
|
59
|
-
systemName: string;
|
|
60
|
-
displayName: string;
|
|
61
|
-
permissions: {
|
|
62
|
-
id: string;
|
|
63
|
-
description: string | null;
|
|
64
|
-
createdAt: Date;
|
|
65
|
-
updatedAt: Date;
|
|
66
|
-
deletedAt: Date | null;
|
|
67
|
-
systemName: string;
|
|
68
|
-
displayName: string;
|
|
69
|
-
}[];
|
|
70
|
-
}, {
|
|
71
|
-
id: string;
|
|
72
|
-
description: string | null;
|
|
73
|
-
createdAt: Date;
|
|
74
|
-
updatedAt: Date;
|
|
75
|
-
deletedAt: Date | null;
|
|
76
|
-
systemName: string;
|
|
77
|
-
displayName: string;
|
|
78
|
-
permissions: {
|
|
79
|
-
id: string;
|
|
80
|
-
description: string | null;
|
|
81
|
-
createdAt: Date;
|
|
82
|
-
updatedAt: Date;
|
|
83
|
-
deletedAt: Date | null;
|
|
84
|
-
systemName: string;
|
|
85
|
-
displayName: string;
|
|
86
|
-
}[];
|
|
87
|
-
}>, "many">;
|
|
88
|
-
extension: z.ZodObject<{
|
|
89
|
-
id: z.ZodString;
|
|
90
|
-
createdAt: z.ZodDate;
|
|
91
|
-
updatedAt: z.ZodDate;
|
|
92
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
93
|
-
userId: z.ZodNullable<z.ZodString>;
|
|
94
|
-
sipServerUrl: z.ZodString;
|
|
95
|
-
sipUserName: z.ZodString;
|
|
96
|
-
webphoneLoginUser: z.ZodString;
|
|
97
|
-
extensionId: z.ZodNullable<z.ZodString>;
|
|
98
|
-
extensionName: z.ZodString;
|
|
99
|
-
telephonySignature: z.ZodNullable<z.ZodString>;
|
|
100
|
-
}, "strip", z.ZodTypeAny, {
|
|
101
|
-
id: string;
|
|
102
|
-
createdAt: Date;
|
|
103
|
-
updatedAt: Date;
|
|
104
|
-
deletedAt: Date | null;
|
|
105
|
-
userId: string | null;
|
|
106
|
-
sipServerUrl: string;
|
|
107
|
-
sipUserName: string;
|
|
108
|
-
webphoneLoginUser: string;
|
|
109
|
-
extensionId: string | null;
|
|
110
|
-
extensionName: string;
|
|
111
|
-
telephonySignature: string | null;
|
|
112
|
-
}, {
|
|
113
|
-
id: string;
|
|
114
|
-
createdAt: Date;
|
|
115
|
-
updatedAt: Date;
|
|
116
|
-
deletedAt: Date | null;
|
|
117
|
-
userId: string | null;
|
|
118
|
-
sipServerUrl: string;
|
|
119
|
-
sipUserName: string;
|
|
120
|
-
webphoneLoginUser: string;
|
|
121
|
-
extensionId: string | null;
|
|
122
|
-
extensionName: string;
|
|
123
|
-
telephonySignature: string | null;
|
|
124
|
-
}>;
|
|
125
14
|
}, "strip", z.ZodTypeAny, {
|
|
126
15
|
id: string;
|
|
127
16
|
address: string | null;
|
|
128
17
|
name: string;
|
|
129
18
|
email: string;
|
|
130
|
-
createdAt: Date;
|
|
131
|
-
updatedAt: Date;
|
|
132
|
-
deletedAt: Date | null;
|
|
133
|
-
emailVerifiedAt: Date | null;
|
|
134
|
-
password: string;
|
|
135
19
|
phone: string | null;
|
|
136
|
-
notificationCount: number | null;
|
|
137
|
-
roles: {
|
|
138
|
-
id: string;
|
|
139
|
-
description: string | null;
|
|
140
|
-
createdAt: Date;
|
|
141
|
-
updatedAt: Date;
|
|
142
|
-
deletedAt: Date | null;
|
|
143
|
-
systemName: string;
|
|
144
|
-
displayName: string;
|
|
145
|
-
permissions: {
|
|
146
|
-
id: string;
|
|
147
|
-
description: string | null;
|
|
148
|
-
createdAt: Date;
|
|
149
|
-
updatedAt: Date;
|
|
150
|
-
deletedAt: Date | null;
|
|
151
|
-
systemName: string;
|
|
152
|
-
displayName: string;
|
|
153
|
-
}[];
|
|
154
|
-
}[];
|
|
155
|
-
extension: {
|
|
156
|
-
id: string;
|
|
157
|
-
createdAt: Date;
|
|
158
|
-
updatedAt: Date;
|
|
159
|
-
deletedAt: Date | null;
|
|
160
|
-
userId: string | null;
|
|
161
|
-
sipServerUrl: string;
|
|
162
|
-
sipUserName: string;
|
|
163
|
-
webphoneLoginUser: string;
|
|
164
|
-
extensionId: string | null;
|
|
165
|
-
extensionName: string;
|
|
166
|
-
telephonySignature: string | null;
|
|
167
|
-
};
|
|
168
20
|
}, {
|
|
169
21
|
id: string;
|
|
170
22
|
address: string | null;
|
|
171
23
|
name: string;
|
|
172
24
|
email: string;
|
|
173
|
-
createdAt: Date;
|
|
174
|
-
updatedAt: Date;
|
|
175
|
-
deletedAt: Date | null;
|
|
176
|
-
emailVerifiedAt: Date | null;
|
|
177
|
-
password: string;
|
|
178
25
|
phone: string | null;
|
|
179
|
-
notificationCount: number | null;
|
|
180
|
-
roles: {
|
|
181
|
-
id: string;
|
|
182
|
-
description: string | null;
|
|
183
|
-
createdAt: Date;
|
|
184
|
-
updatedAt: Date;
|
|
185
|
-
deletedAt: Date | null;
|
|
186
|
-
systemName: string;
|
|
187
|
-
displayName: string;
|
|
188
|
-
permissions: {
|
|
189
|
-
id: string;
|
|
190
|
-
description: string | null;
|
|
191
|
-
createdAt: Date;
|
|
192
|
-
updatedAt: Date;
|
|
193
|
-
deletedAt: Date | null;
|
|
194
|
-
systemName: string;
|
|
195
|
-
displayName: string;
|
|
196
|
-
}[];
|
|
197
|
-
}[];
|
|
198
|
-
extension: {
|
|
199
|
-
id: string;
|
|
200
|
-
createdAt: Date;
|
|
201
|
-
updatedAt: Date;
|
|
202
|
-
deletedAt: Date | null;
|
|
203
|
-
userId: string | null;
|
|
204
|
-
sipServerUrl: string;
|
|
205
|
-
sipUserName: string;
|
|
206
|
-
webphoneLoginUser: string;
|
|
207
|
-
extensionId: string | null;
|
|
208
|
-
extensionName: string;
|
|
209
|
-
telephonySignature: string | null;
|
|
210
|
-
};
|
|
211
26
|
}>>;
|
|
212
27
|
}, "strip", z.ZodTypeAny, {
|
|
213
28
|
name: string;
|
|
@@ -220,44 +35,7 @@ export declare const ConnectLineService: z.ZodObject<{
|
|
|
220
35
|
address: string | null;
|
|
221
36
|
name: string;
|
|
222
37
|
email: string;
|
|
223
|
-
createdAt: Date;
|
|
224
|
-
updatedAt: Date;
|
|
225
|
-
deletedAt: Date | null;
|
|
226
|
-
emailVerifiedAt: Date | null;
|
|
227
|
-
password: string;
|
|
228
38
|
phone: string | null;
|
|
229
|
-
notificationCount: number | null;
|
|
230
|
-
roles: {
|
|
231
|
-
id: string;
|
|
232
|
-
description: string | null;
|
|
233
|
-
createdAt: Date;
|
|
234
|
-
updatedAt: Date;
|
|
235
|
-
deletedAt: Date | null;
|
|
236
|
-
systemName: string;
|
|
237
|
-
displayName: string;
|
|
238
|
-
permissions: {
|
|
239
|
-
id: string;
|
|
240
|
-
description: string | null;
|
|
241
|
-
createdAt: Date;
|
|
242
|
-
updatedAt: Date;
|
|
243
|
-
deletedAt: Date | null;
|
|
244
|
-
systemName: string;
|
|
245
|
-
displayName: string;
|
|
246
|
-
}[];
|
|
247
|
-
}[];
|
|
248
|
-
extension: {
|
|
249
|
-
id: string;
|
|
250
|
-
createdAt: Date;
|
|
251
|
-
updatedAt: Date;
|
|
252
|
-
deletedAt: Date | null;
|
|
253
|
-
userId: string | null;
|
|
254
|
-
sipServerUrl: string;
|
|
255
|
-
sipUserName: string;
|
|
256
|
-
webphoneLoginUser: string;
|
|
257
|
-
extensionId: string | null;
|
|
258
|
-
extensionName: string;
|
|
259
|
-
telephonySignature: string | null;
|
|
260
|
-
};
|
|
261
39
|
} | undefined;
|
|
262
40
|
}, {
|
|
263
41
|
name: string;
|
|
@@ -270,44 +48,7 @@ export declare const ConnectLineService: z.ZodObject<{
|
|
|
270
48
|
address: string | null;
|
|
271
49
|
name: string;
|
|
272
50
|
email: string;
|
|
273
|
-
createdAt: Date;
|
|
274
|
-
updatedAt: Date;
|
|
275
|
-
deletedAt: Date | null;
|
|
276
|
-
emailVerifiedAt: Date | null;
|
|
277
|
-
password: string;
|
|
278
51
|
phone: string | null;
|
|
279
|
-
notificationCount: number | null;
|
|
280
|
-
roles: {
|
|
281
|
-
id: string;
|
|
282
|
-
description: string | null;
|
|
283
|
-
createdAt: Date;
|
|
284
|
-
updatedAt: Date;
|
|
285
|
-
deletedAt: Date | null;
|
|
286
|
-
systemName: string;
|
|
287
|
-
displayName: string;
|
|
288
|
-
permissions: {
|
|
289
|
-
id: string;
|
|
290
|
-
description: string | null;
|
|
291
|
-
createdAt: Date;
|
|
292
|
-
updatedAt: Date;
|
|
293
|
-
deletedAt: Date | null;
|
|
294
|
-
systemName: string;
|
|
295
|
-
displayName: string;
|
|
296
|
-
}[];
|
|
297
|
-
}[];
|
|
298
|
-
extension: {
|
|
299
|
-
id: string;
|
|
300
|
-
createdAt: Date;
|
|
301
|
-
updatedAt: Date;
|
|
302
|
-
deletedAt: Date | null;
|
|
303
|
-
userId: string | null;
|
|
304
|
-
sipServerUrl: string;
|
|
305
|
-
sipUserName: string;
|
|
306
|
-
webphoneLoginUser: string;
|
|
307
|
-
extensionId: string | null;
|
|
308
|
-
extensionName: string;
|
|
309
|
-
telephonySignature: string | null;
|
|
310
|
-
};
|
|
311
52
|
} | undefined;
|
|
312
53
|
}>;
|
|
313
54
|
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/line/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAIpB,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/line/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAIpB,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS7B,CAAA"}
|
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
import z from 'zod';
|
|
2
|
+
export declare const serverContract: {
|
|
3
|
+
create: {
|
|
4
|
+
body: null;
|
|
5
|
+
summary: "Register a new mail server";
|
|
6
|
+
method: "POST";
|
|
7
|
+
responses: {
|
|
8
|
+
401: z.ZodObject<{
|
|
9
|
+
message: z.ZodString;
|
|
10
|
+
error: z.ZodAny;
|
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
|
12
|
+
message: string;
|
|
13
|
+
error?: any;
|
|
14
|
+
}, {
|
|
15
|
+
message: string;
|
|
16
|
+
error?: any;
|
|
17
|
+
}>;
|
|
18
|
+
404: z.ZodObject<{
|
|
19
|
+
message: z.ZodString;
|
|
20
|
+
error: z.ZodAny;
|
|
21
|
+
}, "strip", z.ZodTypeAny, {
|
|
22
|
+
message: string;
|
|
23
|
+
error?: any;
|
|
24
|
+
}, {
|
|
25
|
+
message: string;
|
|
26
|
+
error?: any;
|
|
27
|
+
}>;
|
|
28
|
+
422: z.ZodObject<{
|
|
29
|
+
message: z.ZodString;
|
|
30
|
+
error: z.ZodAny;
|
|
31
|
+
}, "strip", z.ZodTypeAny, {
|
|
32
|
+
message: string;
|
|
33
|
+
error?: any;
|
|
34
|
+
}, {
|
|
35
|
+
message: string;
|
|
36
|
+
error?: any;
|
|
37
|
+
}>;
|
|
38
|
+
200: z.ZodObject<{
|
|
39
|
+
requestId: z.ZodString;
|
|
40
|
+
message: z.ZodString;
|
|
41
|
+
}, "strip", z.ZodTypeAny, {
|
|
42
|
+
message: string;
|
|
43
|
+
requestId: string;
|
|
44
|
+
}, {
|
|
45
|
+
message: string;
|
|
46
|
+
requestId: string;
|
|
47
|
+
}>;
|
|
48
|
+
};
|
|
49
|
+
path: "/server/";
|
|
50
|
+
};
|
|
51
|
+
get: {
|
|
52
|
+
summary: "Get a mail server by id";
|
|
53
|
+
method: "GET";
|
|
54
|
+
pathParams: z.ZodObject<{
|
|
55
|
+
id: z.ZodString;
|
|
56
|
+
}, "strip", z.ZodTypeAny, {
|
|
57
|
+
id: string;
|
|
58
|
+
}, {
|
|
59
|
+
id: string;
|
|
60
|
+
}>;
|
|
61
|
+
responses: {
|
|
62
|
+
401: z.ZodObject<{
|
|
63
|
+
message: z.ZodString;
|
|
64
|
+
error: z.ZodAny;
|
|
65
|
+
}, "strip", z.ZodTypeAny, {
|
|
66
|
+
message: string;
|
|
67
|
+
error?: any;
|
|
68
|
+
}, {
|
|
69
|
+
message: string;
|
|
70
|
+
error?: any;
|
|
71
|
+
}>;
|
|
72
|
+
404: z.ZodObject<{
|
|
73
|
+
message: z.ZodString;
|
|
74
|
+
error: z.ZodAny;
|
|
75
|
+
}, "strip", z.ZodTypeAny, {
|
|
76
|
+
message: string;
|
|
77
|
+
error?: any;
|
|
78
|
+
}, {
|
|
79
|
+
message: string;
|
|
80
|
+
error?: any;
|
|
81
|
+
}>;
|
|
82
|
+
422: z.ZodObject<{
|
|
83
|
+
message: z.ZodString;
|
|
84
|
+
error: z.ZodAny;
|
|
85
|
+
}, "strip", z.ZodTypeAny, {
|
|
86
|
+
message: string;
|
|
87
|
+
error?: any;
|
|
88
|
+
}, {
|
|
89
|
+
message: string;
|
|
90
|
+
error?: any;
|
|
91
|
+
}>;
|
|
92
|
+
200: z.ZodObject<{
|
|
93
|
+
requestId: z.ZodString;
|
|
94
|
+
message: z.ZodString;
|
|
95
|
+
}, "strip", z.ZodTypeAny, {
|
|
96
|
+
message: string;
|
|
97
|
+
requestId: string;
|
|
98
|
+
}, {
|
|
99
|
+
message: string;
|
|
100
|
+
requestId: string;
|
|
101
|
+
}>;
|
|
102
|
+
};
|
|
103
|
+
path: "/server/:id";
|
|
104
|
+
};
|
|
105
|
+
update: {
|
|
106
|
+
body: null;
|
|
107
|
+
summary: "Update a mail server by id";
|
|
108
|
+
method: "PATCH";
|
|
109
|
+
pathParams: z.ZodObject<{
|
|
110
|
+
id: z.ZodString;
|
|
111
|
+
}, "strip", z.ZodTypeAny, {
|
|
112
|
+
id: string;
|
|
113
|
+
}, {
|
|
114
|
+
id: string;
|
|
115
|
+
}>;
|
|
116
|
+
responses: {
|
|
117
|
+
401: z.ZodObject<{
|
|
118
|
+
message: z.ZodString;
|
|
119
|
+
error: z.ZodAny;
|
|
120
|
+
}, "strip", z.ZodTypeAny, {
|
|
121
|
+
message: string;
|
|
122
|
+
error?: any;
|
|
123
|
+
}, {
|
|
124
|
+
message: string;
|
|
125
|
+
error?: any;
|
|
126
|
+
}>;
|
|
127
|
+
404: z.ZodObject<{
|
|
128
|
+
message: z.ZodString;
|
|
129
|
+
error: z.ZodAny;
|
|
130
|
+
}, "strip", z.ZodTypeAny, {
|
|
131
|
+
message: string;
|
|
132
|
+
error?: any;
|
|
133
|
+
}, {
|
|
134
|
+
message: string;
|
|
135
|
+
error?: any;
|
|
136
|
+
}>;
|
|
137
|
+
422: z.ZodObject<{
|
|
138
|
+
message: z.ZodString;
|
|
139
|
+
error: z.ZodAny;
|
|
140
|
+
}, "strip", z.ZodTypeAny, {
|
|
141
|
+
message: string;
|
|
142
|
+
error?: any;
|
|
143
|
+
}, {
|
|
144
|
+
message: string;
|
|
145
|
+
error?: any;
|
|
146
|
+
}>;
|
|
147
|
+
200: z.ZodObject<{
|
|
148
|
+
requestId: z.ZodString;
|
|
149
|
+
message: z.ZodString;
|
|
150
|
+
}, "strip", z.ZodTypeAny, {
|
|
151
|
+
message: string;
|
|
152
|
+
requestId: string;
|
|
153
|
+
}, {
|
|
154
|
+
message: string;
|
|
155
|
+
requestId: string;
|
|
156
|
+
}>;
|
|
157
|
+
};
|
|
158
|
+
path: "/server/:id";
|
|
159
|
+
};
|
|
160
|
+
delete: {
|
|
161
|
+
body: null;
|
|
162
|
+
summary: "Delete a mail server by id";
|
|
163
|
+
method: "PATCH";
|
|
164
|
+
pathParams: z.ZodObject<{
|
|
165
|
+
id: z.ZodString;
|
|
166
|
+
}, "strip", z.ZodTypeAny, {
|
|
167
|
+
id: string;
|
|
168
|
+
}, {
|
|
169
|
+
id: string;
|
|
170
|
+
}>;
|
|
171
|
+
responses: {
|
|
172
|
+
401: z.ZodObject<{
|
|
173
|
+
message: z.ZodString;
|
|
174
|
+
error: z.ZodAny;
|
|
175
|
+
}, "strip", z.ZodTypeAny, {
|
|
176
|
+
message: string;
|
|
177
|
+
error?: any;
|
|
178
|
+
}, {
|
|
179
|
+
message: string;
|
|
180
|
+
error?: any;
|
|
181
|
+
}>;
|
|
182
|
+
404: z.ZodObject<{
|
|
183
|
+
message: z.ZodString;
|
|
184
|
+
error: z.ZodAny;
|
|
185
|
+
}, "strip", z.ZodTypeAny, {
|
|
186
|
+
message: string;
|
|
187
|
+
error?: any;
|
|
188
|
+
}, {
|
|
189
|
+
message: string;
|
|
190
|
+
error?: any;
|
|
191
|
+
}>;
|
|
192
|
+
422: z.ZodObject<{
|
|
193
|
+
message: z.ZodString;
|
|
194
|
+
error: z.ZodAny;
|
|
195
|
+
}, "strip", z.ZodTypeAny, {
|
|
196
|
+
message: string;
|
|
197
|
+
error?: any;
|
|
198
|
+
}, {
|
|
199
|
+
message: string;
|
|
200
|
+
error?: any;
|
|
201
|
+
}>;
|
|
202
|
+
200: z.ZodObject<{
|
|
203
|
+
requestId: z.ZodString;
|
|
204
|
+
message: z.ZodString;
|
|
205
|
+
}, "strip", z.ZodTypeAny, {
|
|
206
|
+
message: string;
|
|
207
|
+
requestId: string;
|
|
208
|
+
}, {
|
|
209
|
+
message: string;
|
|
210
|
+
requestId: string;
|
|
211
|
+
}>;
|
|
212
|
+
};
|
|
213
|
+
path: "/server/:id";
|
|
214
|
+
};
|
|
215
|
+
};
|
|
216
|
+
//# sourceMappingURL=mail-server.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mail-server.d.ts","sourceRoot":"","sources":["../../../src/mail/mail-server.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AAMpB,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+D1B,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import z from 'zod';
|
|
2
|
+
export declare const PlatformContactSchema: z.ZodObject<{
|
|
3
|
+
id: z.ZodString;
|
|
4
|
+
createdAt: z.ZodDate;
|
|
5
|
+
updatedAt: z.ZodDate;
|
|
6
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
7
|
+
contactId: z.ZodString;
|
|
8
|
+
channelId: z.ZodString;
|
|
9
|
+
config: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
10
|
+
type: z.ZodString;
|
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
|
12
|
+
type: string;
|
|
13
|
+
id: string;
|
|
14
|
+
createdAt: Date;
|
|
15
|
+
updatedAt: Date;
|
|
16
|
+
deletedAt: Date | null;
|
|
17
|
+
contactId: string;
|
|
18
|
+
channelId: string;
|
|
19
|
+
config: {};
|
|
20
|
+
}, {
|
|
21
|
+
type: string;
|
|
22
|
+
id: string;
|
|
23
|
+
createdAt: Date;
|
|
24
|
+
updatedAt: Date;
|
|
25
|
+
deletedAt: Date | null;
|
|
26
|
+
contactId: string;
|
|
27
|
+
channelId: string;
|
|
28
|
+
config: {};
|
|
29
|
+
}>;
|
|
30
|
+
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/platform-contact/schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAMpB,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAKhC,CAAC"}
|