@kl1/contracts 1.0.50 → 1.0.51
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 +3433 -3325
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3433 -3325
- package/dist/index.mjs.map +1 -1
- package/dist/src/attribute/index.d.ts +12 -12
- package/dist/src/attribute/schema.d.ts +2 -2
- package/dist/src/chat/index.d.ts +211 -211
- package/dist/src/chat/schema.d.ts +54 -48
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +62 -62
- package/dist/src/comment/index.d.ts +94 -94
- package/dist/src/comment/schema.d.ts +26 -26
- 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 +7609 -830
- 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 +52 -52
- package/dist/src/cx-log/schema.d.ts +44 -44
- 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 +32 -32
- package/dist/src/telephony-cdr/index.d.ts +42 -42
- package/dist/src/telephony-cdr/schema.d.ts +12 -12
- package/dist/src/ticket/index.d.ts +118 -118
- package/dist/src/ticket/schema.d.ts +22 -22
- 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
@@ -69,9 +69,9 @@ export declare const TicketCustomFieldSchema: z.ZodObject<{
|
|
69
69
|
createdAt: Date;
|
70
70
|
updatedAt: Date;
|
71
71
|
deletedAt: Date | null;
|
72
|
-
isDefault: boolean;
|
73
72
|
systemName: string;
|
74
73
|
displayName: string;
|
74
|
+
isDefault: boolean;
|
75
75
|
isArchived: boolean;
|
76
76
|
isRequired: boolean;
|
77
77
|
isUnique: boolean;
|
@@ -82,9 +82,9 @@ export declare const TicketCustomFieldSchema: z.ZodObject<{
|
|
82
82
|
createdAt: Date;
|
83
83
|
updatedAt: Date;
|
84
84
|
deletedAt: Date | null;
|
85
|
-
isDefault: boolean;
|
86
85
|
systemName: string;
|
87
86
|
displayName: string;
|
87
|
+
isDefault: boolean;
|
88
88
|
isArchived: boolean;
|
89
89
|
isRequired: boolean;
|
90
90
|
isUnique: boolean;
|
@@ -135,9 +135,9 @@ export declare const TicketCustomFieldSchema: z.ZodObject<{
|
|
135
135
|
createdAt: Date;
|
136
136
|
updatedAt: Date;
|
137
137
|
deletedAt: Date | null;
|
138
|
-
isDefault: boolean;
|
139
138
|
systemName: string;
|
140
139
|
displayName: string;
|
140
|
+
isDefault: boolean;
|
141
141
|
isArchived: boolean;
|
142
142
|
isRequired: boolean;
|
143
143
|
isUnique: boolean;
|
@@ -170,9 +170,9 @@ export declare const TicketCustomFieldSchema: z.ZodObject<{
|
|
170
170
|
createdAt: Date;
|
171
171
|
updatedAt: Date;
|
172
172
|
deletedAt: Date | null;
|
173
|
-
isDefault: boolean;
|
174
173
|
systemName: string;
|
175
174
|
displayName: string;
|
175
|
+
isDefault: boolean;
|
176
176
|
isArchived: boolean;
|
177
177
|
isRequired: boolean;
|
178
178
|
isUnique: boolean;
|
@@ -770,9 +770,9 @@ export declare const TicketSchema: z.ZodObject<{
|
|
770
770
|
createdAt: Date;
|
771
771
|
updatedAt: Date;
|
772
772
|
deletedAt: Date | null;
|
773
|
-
isDefault: boolean;
|
774
773
|
systemName: string;
|
775
774
|
displayName: string;
|
775
|
+
isDefault: boolean;
|
776
776
|
isArchived: boolean;
|
777
777
|
isRequired: boolean;
|
778
778
|
isUnique: boolean;
|
@@ -783,9 +783,9 @@ export declare const TicketSchema: z.ZodObject<{
|
|
783
783
|
createdAt: Date;
|
784
784
|
updatedAt: Date;
|
785
785
|
deletedAt: Date | null;
|
786
|
-
isDefault: boolean;
|
787
786
|
systemName: string;
|
788
787
|
displayName: string;
|
788
|
+
isDefault: boolean;
|
789
789
|
isArchived: boolean;
|
790
790
|
isRequired: boolean;
|
791
791
|
isUnique: boolean;
|
@@ -836,9 +836,9 @@ export declare const TicketSchema: z.ZodObject<{
|
|
836
836
|
createdAt: Date;
|
837
837
|
updatedAt: Date;
|
838
838
|
deletedAt: Date | null;
|
839
|
-
isDefault: boolean;
|
840
839
|
systemName: string;
|
841
840
|
displayName: string;
|
841
|
+
isDefault: boolean;
|
842
842
|
isArchived: boolean;
|
843
843
|
isRequired: boolean;
|
844
844
|
isUnique: boolean;
|
@@ -871,9 +871,9 @@ export declare const TicketSchema: z.ZodObject<{
|
|
871
871
|
createdAt: Date;
|
872
872
|
updatedAt: Date;
|
873
873
|
deletedAt: Date | null;
|
874
|
-
isDefault: boolean;
|
875
874
|
systemName: string;
|
876
875
|
displayName: string;
|
876
|
+
isDefault: boolean;
|
877
877
|
isArchived: boolean;
|
878
878
|
isRequired: boolean;
|
879
879
|
isUnique: boolean;
|
@@ -1123,9 +1123,9 @@ export declare const TicketSchema: z.ZodObject<{
|
|
1123
1123
|
createdAt: Date;
|
1124
1124
|
updatedAt: Date;
|
1125
1125
|
deletedAt: Date | null;
|
1126
|
-
isDefault: boolean;
|
1127
1126
|
systemName: string;
|
1128
1127
|
displayName: string;
|
1128
|
+
isDefault: boolean;
|
1129
1129
|
isArchived: boolean;
|
1130
1130
|
isRequired: boolean;
|
1131
1131
|
isUnique: boolean;
|
@@ -1136,9 +1136,9 @@ export declare const TicketSchema: z.ZodObject<{
|
|
1136
1136
|
createdAt: Date;
|
1137
1137
|
updatedAt: Date;
|
1138
1138
|
deletedAt: Date | null;
|
1139
|
-
isDefault: boolean;
|
1140
1139
|
systemName: string;
|
1141
1140
|
displayName: string;
|
1141
|
+
isDefault: boolean;
|
1142
1142
|
isArchived: boolean;
|
1143
1143
|
isRequired: boolean;
|
1144
1144
|
isUnique: boolean;
|
@@ -1155,9 +1155,9 @@ export declare const TicketSchema: z.ZodObject<{
|
|
1155
1155
|
createdAt: Date;
|
1156
1156
|
updatedAt: Date;
|
1157
1157
|
deletedAt: Date | null;
|
1158
|
-
isDefault: boolean;
|
1159
1158
|
systemName: string;
|
1160
1159
|
displayName: string;
|
1160
|
+
isDefault: boolean;
|
1161
1161
|
isArchived: boolean;
|
1162
1162
|
isRequired: boolean;
|
1163
1163
|
isUnique: boolean;
|
@@ -1178,9 +1178,9 @@ export declare const TicketSchema: z.ZodObject<{
|
|
1178
1178
|
createdAt: Date;
|
1179
1179
|
updatedAt: Date;
|
1180
1180
|
deletedAt: Date | null;
|
1181
|
-
isDefault: boolean;
|
1182
1181
|
systemName: string;
|
1183
1182
|
displayName: string;
|
1183
|
+
isDefault: boolean;
|
1184
1184
|
isArchived: boolean;
|
1185
1185
|
isRequired: boolean;
|
1186
1186
|
isUnique: boolean;
|
@@ -1279,9 +1279,9 @@ export declare const TicketSchema: z.ZodObject<{
|
|
1279
1279
|
createdAt: Date;
|
1280
1280
|
updatedAt: Date;
|
1281
1281
|
deletedAt: Date | null;
|
1282
|
-
isDefault: boolean;
|
1283
1282
|
systemName: string;
|
1284
1283
|
displayName: string;
|
1284
|
+
isDefault: boolean;
|
1285
1285
|
isArchived: boolean;
|
1286
1286
|
isRequired: boolean;
|
1287
1287
|
isUnique: boolean;
|
@@ -1292,9 +1292,9 @@ export declare const TicketSchema: z.ZodObject<{
|
|
1292
1292
|
createdAt: Date;
|
1293
1293
|
updatedAt: Date;
|
1294
1294
|
deletedAt: Date | null;
|
1295
|
-
isDefault: boolean;
|
1296
1295
|
systemName: string;
|
1297
1296
|
displayName: string;
|
1297
|
+
isDefault: boolean;
|
1298
1298
|
isArchived: boolean;
|
1299
1299
|
isRequired: boolean;
|
1300
1300
|
isUnique: boolean;
|
@@ -1388,9 +1388,9 @@ export declare const TicketSchema: z.ZodObject<{
|
|
1388
1388
|
createdAt: Date;
|
1389
1389
|
updatedAt: Date;
|
1390
1390
|
deletedAt: Date | null;
|
1391
|
-
isDefault: boolean;
|
1392
1391
|
systemName: string;
|
1393
1392
|
displayName: string;
|
1393
|
+
isDefault: boolean;
|
1394
1394
|
isArchived: boolean;
|
1395
1395
|
isRequired: boolean;
|
1396
1396
|
isUnique: boolean;
|
@@ -1430,9 +1430,9 @@ export declare const TicketSchema: z.ZodObject<{
|
|
1430
1430
|
createdAt: Date;
|
1431
1431
|
updatedAt: Date;
|
1432
1432
|
deletedAt: Date | null;
|
1433
|
-
isDefault: boolean;
|
1434
1433
|
systemName: string;
|
1435
1434
|
displayName: string;
|
1435
|
+
isDefault: boolean;
|
1436
1436
|
isArchived: boolean;
|
1437
1437
|
isRequired: boolean;
|
1438
1438
|
isUnique: boolean;
|
@@ -1585,9 +1585,9 @@ export declare const TicketSchema: z.ZodObject<{
|
|
1585
1585
|
createdAt: Date;
|
1586
1586
|
updatedAt: Date;
|
1587
1587
|
deletedAt: Date | null;
|
1588
|
-
isDefault: boolean;
|
1589
1588
|
systemName: string;
|
1590
1589
|
displayName: string;
|
1590
|
+
isDefault: boolean;
|
1591
1591
|
isArchived: boolean;
|
1592
1592
|
isRequired: boolean;
|
1593
1593
|
isUnique: boolean;
|
@@ -1688,9 +1688,9 @@ export declare const TicketSchema: z.ZodObject<{
|
|
1688
1688
|
createdAt: Date;
|
1689
1689
|
updatedAt: Date;
|
1690
1690
|
deletedAt: Date | null;
|
1691
|
-
isDefault: boolean;
|
1692
1691
|
systemName: string;
|
1693
1692
|
displayName: string;
|
1693
|
+
isDefault: boolean;
|
1694
1694
|
isArchived: boolean;
|
1695
1695
|
isRequired: boolean;
|
1696
1696
|
isUnique: boolean;
|
@@ -1825,9 +1825,9 @@ export declare const TicketSchema: z.ZodObject<{
|
|
1825
1825
|
createdAt: Date;
|
1826
1826
|
updatedAt: Date;
|
1827
1827
|
deletedAt: Date | null;
|
1828
|
-
isDefault: boolean;
|
1829
1828
|
systemName: string;
|
1830
1829
|
displayName: string;
|
1830
|
+
isDefault: boolean;
|
1831
1831
|
isArchived: boolean;
|
1832
1832
|
isRequired: boolean;
|
1833
1833
|
isUnique: boolean;
|
@@ -1921,9 +1921,9 @@ export declare const TicketSchema: z.ZodObject<{
|
|
1921
1921
|
createdAt: Date;
|
1922
1922
|
updatedAt: Date;
|
1923
1923
|
deletedAt: Date | null;
|
1924
|
-
isDefault: boolean;
|
1925
1924
|
systemName: string;
|
1926
1925
|
displayName: string;
|
1926
|
+
isDefault: boolean;
|
1927
1927
|
isArchived: boolean;
|
1928
1928
|
isRequired: boolean;
|
1929
1929
|
isUnique: boolean;
|
@@ -2098,9 +2098,9 @@ export declare const TicketSchema: z.ZodObject<{
|
|
2098
2098
|
createdAt: Date;
|
2099
2099
|
updatedAt: Date;
|
2100
2100
|
deletedAt: Date | null;
|
2101
|
-
isDefault: boolean;
|
2102
2101
|
systemName: string;
|
2103
2102
|
displayName: string;
|
2103
|
+
isDefault: boolean;
|
2104
2104
|
isArchived: boolean;
|
2105
2105
|
isRequired: boolean;
|
2106
2106
|
isUnique: boolean;
|
@@ -2194,9 +2194,9 @@ export declare const TicketSchema: z.ZodObject<{
|
|
2194
2194
|
createdAt: Date;
|
2195
2195
|
updatedAt: Date;
|
2196
2196
|
deletedAt: Date | null;
|
2197
|
-
isDefault: boolean;
|
2198
2197
|
systemName: string;
|
2199
2198
|
displayName: string;
|
2199
|
+
isDefault: boolean;
|
2200
2200
|
isArchived: boolean;
|
2201
2201
|
isRequired: boolean;
|
2202
2202
|
isUnique: boolean;
|
@@ -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"}
|