@kl1/contracts 1.0.47 → 1.0.49
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 +3441 -3175
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3441 -3175
- package/dist/index.mjs.map +1 -1
- package/dist/src/activity-log/index.d.ts +7 -7
- package/dist/src/activity-log/schema.d.ts +7 -7
- package/dist/src/attribute/index.d.ts +12 -12
- package/dist/src/attribute/schema.d.ts +2 -2
- package/dist/src/auth/index.d.ts +7 -7
- package/dist/src/call-log/schema.d.ts +3 -3
- package/dist/src/channel/index.d.ts +36 -36
- package/dist/src/channel/schema.d.ts +8 -10
- package/dist/src/channel/schema.d.ts.map +1 -1
- package/dist/src/chat/index.d.ts +564 -561
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/schema.d.ts +127 -121
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +183 -180
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/comment/index.d.ts +212 -212
- package/dist/src/comment/schema.d.ts +60 -60
- package/dist/src/company/index.d.ts +32 -32
- package/dist/src/company/schema.d.ts +10 -10
- package/dist/src/company/validation.d.ts +18 -18
- package/dist/src/contact/index.d.ts +88 -88
- package/dist/src/contact/schema.d.ts +14 -14
- package/dist/src/contact/validation.d.ts +72 -72
- package/dist/src/contract.d.ts +9174 -2386
- 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 +118 -118
- package/dist/src/cx-log/schema.d.ts +98 -98
- package/dist/src/extension/index.d.ts +33 -27
- package/dist/src/extension/index.d.ts.map +1 -1
- package/dist/src/extension/schema.d.ts +3 -3
- package/dist/src/extension/validation.d.ts +12 -6
- package/dist/src/extension/validation.d.ts.map +1 -1
- package/dist/src/instagram/index.d.ts +6643 -0
- package/dist/src/instagram/index.d.ts.map +1 -0
- package/dist/src/instagram/schema.d.ts +2 -0
- package/dist/src/instagram/schema.d.ts.map +1 -0
- package/dist/src/instagram/validation.d.ts +109 -0
- package/dist/src/instagram/validation.d.ts.map +1 -0
- package/dist/src/mail/mail-contract.d.ts +12 -12
- package/dist/src/mail/room-contract.d.ts +12 -12
- package/dist/src/mail/schemas/room-validation.schema.d.ts +4 -4
- package/dist/src/mail/schemas/room.schema.d.ts +2 -2
- package/dist/src/messenger/index.d.ts +94 -94
- package/dist/src/telephony-agent-presence-status/index.d.ts +23 -23
- package/dist/src/telephony-agent-presence-status/schema.d.ts +7 -7
- package/dist/src/telephony-cdr/index.d.ts +99 -99
- package/dist/src/telephony-cdr/schema.d.ts +32 -32
- package/dist/src/ticket/index.d.ts +214 -214
- package/dist/src/ticket/schema.d.ts +36 -36
- package/dist/src/user/index.d.ts +23 -23
- package/dist/src/user/schema.d.ts +5 -5
- package/dist/src/user-presence-status-log/index.d.ts +4 -4
- package/dist/src/user-presence-status-log/schema.d.ts +7 -7
- package/dist/src/wrap-up-form/index.d.ts +143 -1
- package/dist/src/wrap-up-form/index.d.ts.map +1 -1
- package/dist/src/wrap-up-form/validation.d.ts +13 -0
- package/dist/src/wrap-up-form/validation.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/src/app/index.d.ts +0 -17
- package/dist/src/app/index.d.ts.map +0 -1
- package/dist/src/mail/mail-server.d.ts +0 -216
- package/dist/src/mail/mail-server.d.ts.map +0 -1
- package/dist/src/platform-contact/schema.d.ts +0 -30
- package/dist/src/platform-contact/schema.d.ts.map +0 -1
@@ -93,7 +93,7 @@ export declare const UserPresenceStatusLogSchema: z.ZodObject<{
|
|
93
93
|
sipServerUrl: z.ZodString;
|
94
94
|
sipUserName: z.ZodString;
|
95
95
|
webphoneLoginUser: z.ZodString;
|
96
|
-
extensionId: z.
|
96
|
+
extensionId: z.ZodNullable<z.ZodString>;
|
97
97
|
extensionName: z.ZodString;
|
98
98
|
telephonySignature: z.ZodNullable<z.ZodString>;
|
99
99
|
}, "strip", z.ZodTypeAny, {
|
@@ -105,7 +105,7 @@ export declare const UserPresenceStatusLogSchema: z.ZodObject<{
|
|
105
105
|
sipServerUrl: string;
|
106
106
|
sipUserName: string;
|
107
107
|
webphoneLoginUser: string;
|
108
|
-
extensionId:
|
108
|
+
extensionId: string | null;
|
109
109
|
extensionName: string;
|
110
110
|
telephonySignature: string | null;
|
111
111
|
}, {
|
@@ -117,7 +117,7 @@ export declare const UserPresenceStatusLogSchema: z.ZodObject<{
|
|
117
117
|
sipServerUrl: string;
|
118
118
|
sipUserName: string;
|
119
119
|
webphoneLoginUser: string;
|
120
|
-
extensionId:
|
120
|
+
extensionId: string | null;
|
121
121
|
extensionName: string;
|
122
122
|
telephonySignature: string | null;
|
123
123
|
}>;
|
@@ -160,7 +160,7 @@ export declare const UserPresenceStatusLogSchema: z.ZodObject<{
|
|
160
160
|
sipServerUrl: string;
|
161
161
|
sipUserName: string;
|
162
162
|
webphoneLoginUser: string;
|
163
|
-
extensionId:
|
163
|
+
extensionId: string | null;
|
164
164
|
extensionName: string;
|
165
165
|
telephonySignature: string | null;
|
166
166
|
};
|
@@ -203,7 +203,7 @@ export declare const UserPresenceStatusLogSchema: z.ZodObject<{
|
|
203
203
|
sipServerUrl: string;
|
204
204
|
sipUserName: string;
|
205
205
|
webphoneLoginUser: string;
|
206
|
-
extensionId:
|
206
|
+
extensionId: string | null;
|
207
207
|
extensionName: string;
|
208
208
|
telephonySignature: string | null;
|
209
209
|
};
|
@@ -295,7 +295,7 @@ export declare const UserPresenceStatusLogSchema: z.ZodObject<{
|
|
295
295
|
sipServerUrl: string;
|
296
296
|
sipUserName: string;
|
297
297
|
webphoneLoginUser: string;
|
298
|
-
extensionId:
|
298
|
+
extensionId: string | null;
|
299
299
|
extensionName: string;
|
300
300
|
telephonySignature: string | null;
|
301
301
|
};
|
@@ -361,7 +361,7 @@ export declare const UserPresenceStatusLogSchema: z.ZodObject<{
|
|
361
361
|
sipServerUrl: string;
|
362
362
|
sipUserName: string;
|
363
363
|
webphoneLoginUser: string;
|
364
|
-
extensionId:
|
364
|
+
extensionId: string | null;
|
365
365
|
extensionName: string;
|
366
366
|
telephonySignature: string | null;
|
367
367
|
};
|
@@ -1,6 +1,7 @@
|
|
1
1
|
import z from 'zod';
|
2
|
-
import { CreateWrapUpFormSchema, UpdateWrapUpFormSchema } from './validation';
|
2
|
+
import { CreateCXLogWrapUpFormSchema, CreateWrapUpFormSchema, UpdateWrapUpFormSchema } from './validation';
|
3
3
|
export type CreateWrapUpFormRequest = z.infer<typeof CreateWrapUpFormSchema>;
|
4
|
+
export type CreateCXLogWrapUpFormRequest = z.infer<typeof CreateCXLogWrapUpFormSchema>;
|
4
5
|
export type UpdateWrapUpFormRequest = z.infer<typeof UpdateWrapUpFormSchema>;
|
5
6
|
export declare const wrapUpFormContract: {
|
6
7
|
createWrapUpForm: {
|
@@ -171,6 +172,147 @@ export declare const wrapUpFormContract: {
|
|
171
172
|
'x-client-timezone'?: string | undefined;
|
172
173
|
}>>>;
|
173
174
|
};
|
175
|
+
createCXLogWrapUpForm: {
|
176
|
+
body: z.ZodObject<{
|
177
|
+
cxLogId: z.ZodString;
|
178
|
+
tagIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
179
|
+
note: z.ZodOptional<z.ZodString>;
|
180
|
+
}, "strip", z.ZodTypeAny, {
|
181
|
+
cxLogId: string;
|
182
|
+
tagIds?: string[] | undefined;
|
183
|
+
note?: string | undefined;
|
184
|
+
}, {
|
185
|
+
cxLogId: string;
|
186
|
+
tagIds?: string[] | undefined;
|
187
|
+
note?: string | undefined;
|
188
|
+
}>;
|
189
|
+
method: "POST";
|
190
|
+
responses: {
|
191
|
+
201: z.ZodObject<{
|
192
|
+
requestId: z.ZodString;
|
193
|
+
wrapUpForm: z.ZodObject<{
|
194
|
+
id: z.ZodString;
|
195
|
+
createdAt: z.ZodDate;
|
196
|
+
updatedAt: z.ZodDate;
|
197
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
198
|
+
note: z.ZodNullable<z.ZodString>;
|
199
|
+
disposition: z.ZodNullable<z.ZodString>;
|
200
|
+
callFrom: z.ZodNullable<z.ZodString>;
|
201
|
+
callTo: z.ZodNullable<z.ZodString>;
|
202
|
+
tags: z.ZodArray<z.ZodObject<{
|
203
|
+
id: z.ZodString;
|
204
|
+
createdAt: z.ZodDate;
|
205
|
+
updatedAt: z.ZodDate;
|
206
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
207
|
+
name: z.ZodString;
|
208
|
+
}, "strip", z.ZodTypeAny, {
|
209
|
+
id: string;
|
210
|
+
name: string;
|
211
|
+
createdAt: Date;
|
212
|
+
updatedAt: Date;
|
213
|
+
deletedAt: Date | null;
|
214
|
+
}, {
|
215
|
+
id: string;
|
216
|
+
name: string;
|
217
|
+
createdAt: Date;
|
218
|
+
updatedAt: Date;
|
219
|
+
deletedAt: Date | null;
|
220
|
+
}>, "many">;
|
221
|
+
}, "strip", z.ZodTypeAny, {
|
222
|
+
id: string;
|
223
|
+
disposition: string | null;
|
224
|
+
createdAt: Date;
|
225
|
+
updatedAt: Date;
|
226
|
+
deletedAt: Date | null;
|
227
|
+
tags: {
|
228
|
+
id: string;
|
229
|
+
name: string;
|
230
|
+
createdAt: Date;
|
231
|
+
updatedAt: Date;
|
232
|
+
deletedAt: Date | null;
|
233
|
+
}[];
|
234
|
+
callFrom: string | null;
|
235
|
+
callTo: string | null;
|
236
|
+
note: string | null;
|
237
|
+
}, {
|
238
|
+
id: string;
|
239
|
+
disposition: string | null;
|
240
|
+
createdAt: Date;
|
241
|
+
updatedAt: Date;
|
242
|
+
deletedAt: Date | null;
|
243
|
+
tags: {
|
244
|
+
id: string;
|
245
|
+
name: string;
|
246
|
+
createdAt: Date;
|
247
|
+
updatedAt: Date;
|
248
|
+
deletedAt: Date | null;
|
249
|
+
}[];
|
250
|
+
callFrom: string | null;
|
251
|
+
callTo: string | null;
|
252
|
+
note: string | null;
|
253
|
+
}>;
|
254
|
+
}, "strip", z.ZodTypeAny, {
|
255
|
+
requestId: string;
|
256
|
+
wrapUpForm: {
|
257
|
+
id: string;
|
258
|
+
disposition: string | null;
|
259
|
+
createdAt: Date;
|
260
|
+
updatedAt: Date;
|
261
|
+
deletedAt: Date | null;
|
262
|
+
tags: {
|
263
|
+
id: string;
|
264
|
+
name: string;
|
265
|
+
createdAt: Date;
|
266
|
+
updatedAt: Date;
|
267
|
+
deletedAt: Date | null;
|
268
|
+
}[];
|
269
|
+
callFrom: string | null;
|
270
|
+
callTo: string | null;
|
271
|
+
note: string | null;
|
272
|
+
};
|
273
|
+
}, {
|
274
|
+
requestId: string;
|
275
|
+
wrapUpForm: {
|
276
|
+
id: string;
|
277
|
+
disposition: string | null;
|
278
|
+
createdAt: Date;
|
279
|
+
updatedAt: Date;
|
280
|
+
deletedAt: Date | null;
|
281
|
+
tags: {
|
282
|
+
id: string;
|
283
|
+
name: string;
|
284
|
+
createdAt: Date;
|
285
|
+
updatedAt: Date;
|
286
|
+
deletedAt: Date | null;
|
287
|
+
}[];
|
288
|
+
callFrom: string | null;
|
289
|
+
callTo: string | null;
|
290
|
+
note: string | null;
|
291
|
+
};
|
292
|
+
}>;
|
293
|
+
401: z.ZodObject<{
|
294
|
+
message: z.ZodString;
|
295
|
+
error: z.ZodAny;
|
296
|
+
}, "strip", z.ZodTypeAny, {
|
297
|
+
message: string;
|
298
|
+
error?: any;
|
299
|
+
}, {
|
300
|
+
message: string;
|
301
|
+
error?: any;
|
302
|
+
}>;
|
303
|
+
500: z.ZodObject<{
|
304
|
+
message: z.ZodString;
|
305
|
+
error: z.ZodAny;
|
306
|
+
}, "strip", z.ZodTypeAny, {
|
307
|
+
message: string;
|
308
|
+
error?: any;
|
309
|
+
}, {
|
310
|
+
message: string;
|
311
|
+
error?: any;
|
312
|
+
}>;
|
313
|
+
};
|
314
|
+
path: "wrap-up-form/cx-log";
|
315
|
+
};
|
174
316
|
getWrapUpForms: {
|
175
317
|
summary: "Get all wrap up form";
|
176
318
|
method: "GET";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/wrap-up-form/index.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AASpB,OAAO,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/wrap-up-form/index.ts"],"names":[],"mappings":"AACA,OAAO,CAAC,MAAM,KAAK,CAAC;AASpB,OAAO,EACL,2BAA2B,EAC3B,sBAAsB,EACtB,sBAAsB,EACvB,MAAM,cAAc,CAAC;AAGtB,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAC7E,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAChD,OAAO,2BAA2B,CACnC,CAAC;AACF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAE7E,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0E9B,CAAC"}
|
@@ -34,4 +34,17 @@ export declare const UpdateWrapUpFormSchema: z.ZodObject<{
|
|
34
34
|
note?: string | null | undefined;
|
35
35
|
tags?: string[] | undefined;
|
36
36
|
}>;
|
37
|
+
export declare const CreateCXLogWrapUpFormSchema: z.ZodObject<{
|
38
|
+
cxLogId: z.ZodString;
|
39
|
+
tagIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
40
|
+
note: z.ZodOptional<z.ZodString>;
|
41
|
+
}, "strip", z.ZodTypeAny, {
|
42
|
+
cxLogId: string;
|
43
|
+
tagIds?: string[] | undefined;
|
44
|
+
note?: string | undefined;
|
45
|
+
}, {
|
46
|
+
cxLogId: string;
|
47
|
+
tagIds?: string[] | undefined;
|
48
|
+
note?: string | undefined;
|
49
|
+
}>;
|
37
50
|
//# sourceMappingURL=validation.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../src/wrap-up-form/validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;EAKjC,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;EAEjC,CAAC"}
|
1
|
+
{"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../src/wrap-up-form/validation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;EAKjC,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;EAEjC,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;;;;;;;;EAItC,CAAC"}
|
package/package.json
CHANGED
package/dist/src/app/index.d.ts
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
import { z } from 'zod';
|
2
|
-
export declare const appContract: {
|
3
|
-
getMessage: {
|
4
|
-
method: "GET";
|
5
|
-
responses: {
|
6
|
-
200: z.ZodObject<{
|
7
|
-
message: z.ZodString;
|
8
|
-
}, "strip", z.ZodTypeAny, {
|
9
|
-
message: string;
|
10
|
-
}, {
|
11
|
-
message: string;
|
12
|
-
}>;
|
13
|
-
};
|
14
|
-
path: "/";
|
15
|
-
};
|
16
|
-
};
|
17
|
-
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/app/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;CAQtB,CAAC"}
|
@@ -1,216 +0,0 @@
|
|
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
|
@@ -1 +0,0 @@
|
|
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"}
|
@@ -1,30 +0,0 @@
|
|
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
|
@@ -1 +0,0 @@
|
|
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"}
|