@kl1/contracts 1.0.11 → 1.0.13
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 +855 -609
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +854 -609
- 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/category/index.d.ts +3 -3
- package/dist/src/chat/index.d.ts +15806 -6953
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/schema.d.ts +4233 -291
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +5135 -495
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/company/schema.d.ts +9 -9
- package/dist/src/contact/index.d.ts +1352 -46
- package/dist/src/contact/index.d.ts.map +1 -1
- package/dist/src/contact/schema.d.ts +107 -15
- package/dist/src/contact/schema.d.ts.map +1 -1
- package/dist/src/contact/validation.d.ts +883 -15
- package/dist/src/contact/validation.d.ts.map +1 -1
- package/dist/src/contract.d.ts +37686 -20356
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/custom-field/index.d.ts +4 -0
- package/dist/src/custom-field/index.d.ts.map +1 -0
- package/dist/src/custom-field/validation.d.ts +15 -0
- package/dist/src/custom-field/validation.d.ts.map +1 -0
- package/dist/src/extension/index.d.ts +12 -12
- package/dist/src/extension/schema.d.ts.map +1 -1
- package/dist/src/extension/validation.d.ts +6 -6
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/mail/mail-contract.d.ts +6 -6
- package/dist/src/mail/mail-server.d.ts +216 -0
- package/dist/src/mail/mail-server.d.ts.map +1 -0
- package/dist/src/mail/room-contract.d.ts +6 -6
- package/dist/src/mail/schemas/room-validation.schema.d.ts +6 -6
- package/dist/src/messenger/index.d.ts +5287 -647
- package/dist/src/messenger/index.d.ts.map +1 -1
- package/dist/src/permission/schema.d.ts.map +1 -1
- package/dist/src/role/index.d.ts +3 -3
- package/dist/src/role/schema.d.ts.map +1 -1
- package/dist/src/telephony-agent-presence-status/index.d.ts +17 -17
- package/dist/src/telephony-agent-presence-status/schema.d.ts +3 -3
- package/dist/src/telephony-agent-presence-status/validation.d.ts +6 -6
- package/dist/src/user/index.d.ts +9 -9
- package/dist/src/user/schema.d.ts.map +1 -1
- package/dist/src/user/validation.d.ts +6 -6
- package/dist/src/user-presence-status-log/index.d.ts +3 -3
- package/dist/src/widget/index.d.ts +3 -3
- package/dist/src/wrap-up-form/index.d.ts +27 -27
- package/dist/src/wrap-up-form/validation.d.ts +24 -24
- package/dist/utils.d.ts +6 -6
- package/package.json +1 -1
@@ -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"}
|
@@ -55,19 +55,19 @@ export declare const roomContract: {
|
|
55
55
|
page: z.ZodDefault<z.ZodNumber>;
|
56
56
|
pageSize: z.ZodDefault<z.ZodNumber>;
|
57
57
|
keyword: z.ZodOptional<z.ZodString>;
|
58
|
-
assigneeId: z.ZodOptional<z.ZodString
|
58
|
+
assigneeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
59
59
|
resolved: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodString, boolean, string>]>>>;
|
60
60
|
}, "strip", z.ZodTypeAny, {
|
61
61
|
page: number;
|
62
62
|
pageSize: number;
|
63
63
|
keyword?: string | undefined;
|
64
|
-
assigneeId?: string | undefined;
|
64
|
+
assigneeId?: string | null | undefined;
|
65
65
|
resolved?: boolean | null | undefined;
|
66
66
|
}, {
|
67
67
|
page?: number | undefined;
|
68
68
|
pageSize?: number | undefined;
|
69
69
|
keyword?: string | undefined;
|
70
|
-
assigneeId?: string | undefined;
|
70
|
+
assigneeId?: string | null | undefined;
|
71
71
|
resolved?: string | boolean | null | undefined;
|
72
72
|
}>;
|
73
73
|
responses: {
|
@@ -7154,19 +7154,19 @@ export declare const roomContract: {
|
|
7154
7154
|
update: {
|
7155
7155
|
body: z.ZodObject<{
|
7156
7156
|
resolved: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"true">, z.ZodLiteral<"false">]>, boolean, "false" | "true">]>>>;
|
7157
|
-
assigneeId: z.ZodOptional<z.ZodString
|
7157
|
+
assigneeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
7158
7158
|
note: z.ZodOptional<z.ZodString>;
|
7159
7159
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
7160
7160
|
handover: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"true">, z.ZodLiteral<"false">]>, boolean, "false" | "true">]>>>;
|
7161
7161
|
}, "strip", z.ZodTypeAny, {
|
7162
7162
|
resolved?: boolean | null | undefined;
|
7163
|
-
assigneeId?: string | undefined;
|
7163
|
+
assigneeId?: string | null | undefined;
|
7164
7164
|
note?: string | undefined;
|
7165
7165
|
tags?: string[] | undefined;
|
7166
7166
|
handover?: boolean | null | undefined;
|
7167
7167
|
}, {
|
7168
7168
|
resolved?: boolean | "false" | "true" | null | undefined;
|
7169
|
-
assigneeId?: string | undefined;
|
7169
|
+
assigneeId?: string | null | undefined;
|
7170
7170
|
note?: string | undefined;
|
7171
7171
|
tags?: string[] | undefined;
|
7172
7172
|
handover?: boolean | "false" | "true" | null | undefined;
|
@@ -5,19 +5,19 @@ export declare const RoomContractsValidationSchema: {
|
|
5
5
|
page: z.ZodDefault<z.ZodNumber>;
|
6
6
|
pageSize: z.ZodDefault<z.ZodNumber>;
|
7
7
|
keyword: z.ZodOptional<z.ZodString>;
|
8
|
-
assigneeId: z.ZodOptional<z.ZodString
|
8
|
+
assigneeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
9
9
|
resolved: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodString, boolean, string>]>>>;
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
11
11
|
page: number;
|
12
12
|
pageSize: number;
|
13
13
|
keyword?: string | undefined;
|
14
|
-
assigneeId?: string | undefined;
|
14
|
+
assigneeId?: string | null | undefined;
|
15
15
|
resolved?: boolean | null | undefined;
|
16
16
|
}, {
|
17
17
|
page?: number | undefined;
|
18
18
|
pageSize?: number | undefined;
|
19
19
|
keyword?: string | undefined;
|
20
|
-
assigneeId?: string | undefined;
|
20
|
+
assigneeId?: string | null | undefined;
|
21
21
|
resolved?: string | boolean | null | undefined;
|
22
22
|
}>;
|
23
23
|
output: z.ZodObject<{
|
@@ -3404,19 +3404,19 @@ export declare const RoomContractsValidationSchema: {
|
|
3404
3404
|
update: {
|
3405
3405
|
input: z.ZodObject<{
|
3406
3406
|
resolved: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"true">, z.ZodLiteral<"false">]>, boolean, "false" | "true">]>>>;
|
3407
|
-
assigneeId: z.ZodOptional<z.ZodString
|
3407
|
+
assigneeId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
3408
3408
|
note: z.ZodOptional<z.ZodString>;
|
3409
3409
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
3410
3410
|
handover: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodEffects<z.ZodUnion<[z.ZodLiteral<"true">, z.ZodLiteral<"false">]>, boolean, "false" | "true">]>>>;
|
3411
3411
|
}, "strip", z.ZodTypeAny, {
|
3412
3412
|
resolved?: boolean | null | undefined;
|
3413
|
-
assigneeId?: string | undefined;
|
3413
|
+
assigneeId?: string | null | undefined;
|
3414
3414
|
note?: string | undefined;
|
3415
3415
|
tags?: string[] | undefined;
|
3416
3416
|
handover?: boolean | null | undefined;
|
3417
3417
|
}, {
|
3418
3418
|
resolved?: boolean | "false" | "true" | null | undefined;
|
3419
|
-
assigneeId?: string | undefined;
|
3419
|
+
assigneeId?: string | null | undefined;
|
3420
3420
|
note?: string | undefined;
|
3421
3421
|
tags?: string[] | undefined;
|
3422
3422
|
handover?: boolean | "false" | "true" | null | undefined;
|