@kl1/contracts 1.0.16 → 1.0.17
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 +1107 -552
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1107 -552
- package/dist/index.mjs.map +1 -1
- package/dist/src/contact/index.d.ts +1224 -0
- package/dist/src/contact/index.d.ts.map +1 -1
- package/dist/src/contact/validation.d.ts +833 -0
- package/dist/src/contact/validation.d.ts.map +1 -1
- package/dist/src/contract.d.ts +7697 -1822
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/mail/mail-contract.d.ts +1305 -1305
- package/dist/src/mail/message-contract.d.ts +56 -56
- package/dist/src/mail/room-contract.d.ts +1241 -1241
- package/dist/src/mail/schemas/message.schema.d.ts +33 -33
- package/dist/src/mail/schemas/room-validation.schema.d.ts +404 -404
- package/dist/src/mail/schemas/room.schema.d.ts +268 -268
- package/dist/src/ticket/index.d.ts +4662 -0
- package/dist/src/ticket/index.d.ts.map +1 -0
- package/dist/src/ticket/schema.d.ts +675 -3
- package/dist/src/ticket/schema.d.ts.map +1 -1
- package/dist/src/ticket/validation.d.ts +637 -0
- package/dist/src/ticket/validation.d.ts.map +1 -0
- package/package.json +1 -1
@@ -0,0 +1,637 @@
|
|
1
|
+
import z from 'zod';
|
2
|
+
export declare const BaseSchema: z.ZodObject<{
|
3
|
+
isRequired: z.ZodBoolean;
|
4
|
+
attributeId: z.ZodString;
|
5
|
+
}, "strip", z.ZodTypeAny, {
|
6
|
+
isRequired: boolean;
|
7
|
+
attributeId: string;
|
8
|
+
}, {
|
9
|
+
isRequired: boolean;
|
10
|
+
attributeId: string;
|
11
|
+
}>;
|
12
|
+
export declare const CreateTicketValidationSchema: z.ZodObject<{
|
13
|
+
title: z.ZodObject<{
|
14
|
+
isRequired: z.ZodBoolean;
|
15
|
+
attributeId: z.ZodString;
|
16
|
+
value: z.ZodString;
|
17
|
+
}, "strip", z.ZodTypeAny, {
|
18
|
+
value: string;
|
19
|
+
isRequired: boolean;
|
20
|
+
attributeId: string;
|
21
|
+
}, {
|
22
|
+
value: string;
|
23
|
+
isRequired: boolean;
|
24
|
+
attributeId: string;
|
25
|
+
}>;
|
26
|
+
description: z.ZodObject<{
|
27
|
+
isRequired: z.ZodBoolean;
|
28
|
+
attributeId: z.ZodString;
|
29
|
+
value: z.ZodString;
|
30
|
+
}, "strip", z.ZodTypeAny, {
|
31
|
+
value: string;
|
32
|
+
isRequired: boolean;
|
33
|
+
attributeId: string;
|
34
|
+
}, {
|
35
|
+
value: string;
|
36
|
+
isRequired: boolean;
|
37
|
+
attributeId: string;
|
38
|
+
}>;
|
39
|
+
status: z.ZodObject<{
|
40
|
+
isRequired: z.ZodBoolean;
|
41
|
+
attributeId: z.ZodString;
|
42
|
+
value: z.ZodString;
|
43
|
+
}, "strip", z.ZodTypeAny, {
|
44
|
+
value: string;
|
45
|
+
isRequired: boolean;
|
46
|
+
attributeId: string;
|
47
|
+
}, {
|
48
|
+
value: string;
|
49
|
+
isRequired: boolean;
|
50
|
+
attributeId: string;
|
51
|
+
}>;
|
52
|
+
type: z.ZodObject<{
|
53
|
+
isRequired: z.ZodBoolean;
|
54
|
+
attributeId: z.ZodString;
|
55
|
+
value: z.ZodString;
|
56
|
+
}, "strip", z.ZodTypeAny, {
|
57
|
+
value: string;
|
58
|
+
isRequired: boolean;
|
59
|
+
attributeId: string;
|
60
|
+
}, {
|
61
|
+
value: string;
|
62
|
+
isRequired: boolean;
|
63
|
+
attributeId: string;
|
64
|
+
}>;
|
65
|
+
priority: z.ZodObject<{
|
66
|
+
isRequired: z.ZodBoolean;
|
67
|
+
attributeId: z.ZodString;
|
68
|
+
value: z.ZodString;
|
69
|
+
}, "strip", z.ZodTypeAny, {
|
70
|
+
value: string;
|
71
|
+
isRequired: boolean;
|
72
|
+
attributeId: string;
|
73
|
+
}, {
|
74
|
+
value: string;
|
75
|
+
isRequired: boolean;
|
76
|
+
attributeId: string;
|
77
|
+
}>;
|
78
|
+
contact: z.ZodObject<{
|
79
|
+
isRequired: z.ZodBoolean;
|
80
|
+
attributeId: z.ZodString;
|
81
|
+
value: z.ZodString;
|
82
|
+
}, "strip", z.ZodTypeAny, {
|
83
|
+
value: string;
|
84
|
+
isRequired: boolean;
|
85
|
+
attributeId: string;
|
86
|
+
}, {
|
87
|
+
value: string;
|
88
|
+
isRequired: boolean;
|
89
|
+
attributeId: string;
|
90
|
+
}>;
|
91
|
+
assignee: z.ZodObject<{
|
92
|
+
isRequired: z.ZodBoolean;
|
93
|
+
attributeId: z.ZodString;
|
94
|
+
value: z.ZodString;
|
95
|
+
}, "strip", z.ZodTypeAny, {
|
96
|
+
value: string;
|
97
|
+
isRequired: boolean;
|
98
|
+
attributeId: string;
|
99
|
+
}, {
|
100
|
+
value: string;
|
101
|
+
isRequired: boolean;
|
102
|
+
attributeId: string;
|
103
|
+
}>;
|
104
|
+
channel: z.ZodObject<{
|
105
|
+
isRequired: z.ZodBoolean;
|
106
|
+
attributeId: z.ZodString;
|
107
|
+
value: z.ZodString;
|
108
|
+
}, "strip", z.ZodTypeAny, {
|
109
|
+
value: string;
|
110
|
+
isRequired: boolean;
|
111
|
+
attributeId: string;
|
112
|
+
}, {
|
113
|
+
value: string;
|
114
|
+
isRequired: boolean;
|
115
|
+
attributeId: string;
|
116
|
+
}>;
|
117
|
+
tags: z.ZodObject<{
|
118
|
+
isRequired: z.ZodBoolean;
|
119
|
+
attributeId: z.ZodString;
|
120
|
+
value: z.ZodArray<z.ZodString, "many">;
|
121
|
+
}, "strip", z.ZodTypeAny, {
|
122
|
+
value: string[];
|
123
|
+
isRequired: boolean;
|
124
|
+
attributeId: string;
|
125
|
+
}, {
|
126
|
+
value: string[];
|
127
|
+
isRequired: boolean;
|
128
|
+
attributeId: string;
|
129
|
+
}>;
|
130
|
+
categories: z.ZodObject<{
|
131
|
+
isRequired: z.ZodBoolean;
|
132
|
+
attributeId: z.ZodString;
|
133
|
+
value: z.ZodArray<z.ZodString, "many">;
|
134
|
+
}, "strip", z.ZodTypeAny, {
|
135
|
+
value: string[];
|
136
|
+
isRequired: boolean;
|
137
|
+
attributeId: string;
|
138
|
+
}, {
|
139
|
+
value: string[];
|
140
|
+
isRequired: boolean;
|
141
|
+
attributeId: string;
|
142
|
+
}>;
|
143
|
+
customFields: z.ZodArray<z.ZodObject<{
|
144
|
+
isRequired: z.ZodBoolean;
|
145
|
+
attributeId: z.ZodString;
|
146
|
+
value: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
147
|
+
type: z.ZodString;
|
148
|
+
isDefaultAttribute: z.ZodBoolean;
|
149
|
+
}, "strip", z.ZodTypeAny, {
|
150
|
+
type: string;
|
151
|
+
value: (string | string[]) & (string | string[] | undefined);
|
152
|
+
isRequired: boolean;
|
153
|
+
attributeId: string;
|
154
|
+
isDefaultAttribute: boolean;
|
155
|
+
}, {
|
156
|
+
type: string;
|
157
|
+
value: (string | string[]) & (string | string[] | undefined);
|
158
|
+
isRequired: boolean;
|
159
|
+
attributeId: string;
|
160
|
+
isDefaultAttribute: boolean;
|
161
|
+
}>, "many">;
|
162
|
+
reasonToAssign: z.ZodObject<{
|
163
|
+
value: z.ZodString;
|
164
|
+
}, "strip", z.ZodTypeAny, {
|
165
|
+
value: string;
|
166
|
+
}, {
|
167
|
+
value: string;
|
168
|
+
}>;
|
169
|
+
}, "strip", z.ZodTypeAny, {
|
170
|
+
type: {
|
171
|
+
value: string;
|
172
|
+
isRequired: boolean;
|
173
|
+
attributeId: string;
|
174
|
+
};
|
175
|
+
channel: {
|
176
|
+
value: string;
|
177
|
+
isRequired: boolean;
|
178
|
+
attributeId: string;
|
179
|
+
};
|
180
|
+
priority: {
|
181
|
+
value: string;
|
182
|
+
isRequired: boolean;
|
183
|
+
attributeId: string;
|
184
|
+
};
|
185
|
+
title: {
|
186
|
+
value: string;
|
187
|
+
isRequired: boolean;
|
188
|
+
attributeId: string;
|
189
|
+
};
|
190
|
+
description: {
|
191
|
+
value: string;
|
192
|
+
isRequired: boolean;
|
193
|
+
attributeId: string;
|
194
|
+
};
|
195
|
+
status: {
|
196
|
+
value: string;
|
197
|
+
isRequired: boolean;
|
198
|
+
attributeId: string;
|
199
|
+
};
|
200
|
+
categories: {
|
201
|
+
value: string[];
|
202
|
+
isRequired: boolean;
|
203
|
+
attributeId: string;
|
204
|
+
};
|
205
|
+
contact: {
|
206
|
+
value: string;
|
207
|
+
isRequired: boolean;
|
208
|
+
attributeId: string;
|
209
|
+
};
|
210
|
+
customFields: {
|
211
|
+
type: string;
|
212
|
+
value: (string | string[]) & (string | string[] | undefined);
|
213
|
+
isRequired: boolean;
|
214
|
+
attributeId: string;
|
215
|
+
isDefaultAttribute: boolean;
|
216
|
+
}[];
|
217
|
+
tags: {
|
218
|
+
value: string[];
|
219
|
+
isRequired: boolean;
|
220
|
+
attributeId: string;
|
221
|
+
};
|
222
|
+
assignee: {
|
223
|
+
value: string;
|
224
|
+
isRequired: boolean;
|
225
|
+
attributeId: string;
|
226
|
+
};
|
227
|
+
reasonToAssign: {
|
228
|
+
value: string;
|
229
|
+
};
|
230
|
+
}, {
|
231
|
+
type: {
|
232
|
+
value: string;
|
233
|
+
isRequired: boolean;
|
234
|
+
attributeId: string;
|
235
|
+
};
|
236
|
+
channel: {
|
237
|
+
value: string;
|
238
|
+
isRequired: boolean;
|
239
|
+
attributeId: string;
|
240
|
+
};
|
241
|
+
priority: {
|
242
|
+
value: string;
|
243
|
+
isRequired: boolean;
|
244
|
+
attributeId: string;
|
245
|
+
};
|
246
|
+
title: {
|
247
|
+
value: string;
|
248
|
+
isRequired: boolean;
|
249
|
+
attributeId: string;
|
250
|
+
};
|
251
|
+
description: {
|
252
|
+
value: string;
|
253
|
+
isRequired: boolean;
|
254
|
+
attributeId: string;
|
255
|
+
};
|
256
|
+
status: {
|
257
|
+
value: string;
|
258
|
+
isRequired: boolean;
|
259
|
+
attributeId: string;
|
260
|
+
};
|
261
|
+
categories: {
|
262
|
+
value: string[];
|
263
|
+
isRequired: boolean;
|
264
|
+
attributeId: string;
|
265
|
+
};
|
266
|
+
contact: {
|
267
|
+
value: string;
|
268
|
+
isRequired: boolean;
|
269
|
+
attributeId: string;
|
270
|
+
};
|
271
|
+
customFields: {
|
272
|
+
type: string;
|
273
|
+
value: (string | string[]) & (string | string[] | undefined);
|
274
|
+
isRequired: boolean;
|
275
|
+
attributeId: string;
|
276
|
+
isDefaultAttribute: boolean;
|
277
|
+
}[];
|
278
|
+
tags: {
|
279
|
+
value: string[];
|
280
|
+
isRequired: boolean;
|
281
|
+
attributeId: string;
|
282
|
+
};
|
283
|
+
assignee: {
|
284
|
+
value: string;
|
285
|
+
isRequired: boolean;
|
286
|
+
attributeId: string;
|
287
|
+
};
|
288
|
+
reasonToAssign: {
|
289
|
+
value: string;
|
290
|
+
};
|
291
|
+
}>;
|
292
|
+
export declare const UpdateTicketValidationSchema: z.ZodObject<{
|
293
|
+
type: z.ZodObject<{
|
294
|
+
isRequired: z.ZodBoolean;
|
295
|
+
attributeId: z.ZodString;
|
296
|
+
value: z.ZodString;
|
297
|
+
}, "strip", z.ZodTypeAny, {
|
298
|
+
value: string;
|
299
|
+
isRequired: boolean;
|
300
|
+
attributeId: string;
|
301
|
+
}, {
|
302
|
+
value: string;
|
303
|
+
isRequired: boolean;
|
304
|
+
attributeId: string;
|
305
|
+
}>;
|
306
|
+
channel: z.ZodObject<{
|
307
|
+
isRequired: z.ZodBoolean;
|
308
|
+
attributeId: z.ZodString;
|
309
|
+
value: z.ZodString;
|
310
|
+
}, "strip", z.ZodTypeAny, {
|
311
|
+
value: string;
|
312
|
+
isRequired: boolean;
|
313
|
+
attributeId: string;
|
314
|
+
}, {
|
315
|
+
value: string;
|
316
|
+
isRequired: boolean;
|
317
|
+
attributeId: string;
|
318
|
+
}>;
|
319
|
+
priority: z.ZodObject<{
|
320
|
+
isRequired: z.ZodBoolean;
|
321
|
+
attributeId: z.ZodString;
|
322
|
+
value: z.ZodString;
|
323
|
+
}, "strip", z.ZodTypeAny, {
|
324
|
+
value: string;
|
325
|
+
isRequired: boolean;
|
326
|
+
attributeId: string;
|
327
|
+
}, {
|
328
|
+
value: string;
|
329
|
+
isRequired: boolean;
|
330
|
+
attributeId: string;
|
331
|
+
}>;
|
332
|
+
title: z.ZodObject<{
|
333
|
+
isRequired: z.ZodBoolean;
|
334
|
+
attributeId: z.ZodString;
|
335
|
+
value: z.ZodString;
|
336
|
+
}, "strip", z.ZodTypeAny, {
|
337
|
+
value: string;
|
338
|
+
isRequired: boolean;
|
339
|
+
attributeId: string;
|
340
|
+
}, {
|
341
|
+
value: string;
|
342
|
+
isRequired: boolean;
|
343
|
+
attributeId: string;
|
344
|
+
}>;
|
345
|
+
description: z.ZodObject<{
|
346
|
+
isRequired: z.ZodBoolean;
|
347
|
+
attributeId: z.ZodString;
|
348
|
+
value: z.ZodString;
|
349
|
+
}, "strip", z.ZodTypeAny, {
|
350
|
+
value: string;
|
351
|
+
isRequired: boolean;
|
352
|
+
attributeId: string;
|
353
|
+
}, {
|
354
|
+
value: string;
|
355
|
+
isRequired: boolean;
|
356
|
+
attributeId: string;
|
357
|
+
}>;
|
358
|
+
status: z.ZodObject<{
|
359
|
+
isRequired: z.ZodBoolean;
|
360
|
+
attributeId: z.ZodString;
|
361
|
+
value: z.ZodString;
|
362
|
+
}, "strip", z.ZodTypeAny, {
|
363
|
+
value: string;
|
364
|
+
isRequired: boolean;
|
365
|
+
attributeId: string;
|
366
|
+
}, {
|
367
|
+
value: string;
|
368
|
+
isRequired: boolean;
|
369
|
+
attributeId: string;
|
370
|
+
}>;
|
371
|
+
categories: z.ZodObject<{
|
372
|
+
isRequired: z.ZodBoolean;
|
373
|
+
attributeId: z.ZodString;
|
374
|
+
value: z.ZodArray<z.ZodString, "many">;
|
375
|
+
}, "strip", z.ZodTypeAny, {
|
376
|
+
value: string[];
|
377
|
+
isRequired: boolean;
|
378
|
+
attributeId: string;
|
379
|
+
}, {
|
380
|
+
value: string[];
|
381
|
+
isRequired: boolean;
|
382
|
+
attributeId: string;
|
383
|
+
}>;
|
384
|
+
contact: z.ZodObject<{
|
385
|
+
isRequired: z.ZodBoolean;
|
386
|
+
attributeId: z.ZodString;
|
387
|
+
value: z.ZodString;
|
388
|
+
}, "strip", z.ZodTypeAny, {
|
389
|
+
value: string;
|
390
|
+
isRequired: boolean;
|
391
|
+
attributeId: string;
|
392
|
+
}, {
|
393
|
+
value: string;
|
394
|
+
isRequired: boolean;
|
395
|
+
attributeId: string;
|
396
|
+
}>;
|
397
|
+
customFields: z.ZodArray<z.ZodObject<{
|
398
|
+
isRequired: z.ZodBoolean;
|
399
|
+
attributeId: z.ZodString;
|
400
|
+
value: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
|
401
|
+
type: z.ZodString;
|
402
|
+
isDefaultAttribute: z.ZodBoolean;
|
403
|
+
}, "strip", z.ZodTypeAny, {
|
404
|
+
type: string;
|
405
|
+
value: (string | string[]) & (string | string[] | undefined);
|
406
|
+
isRequired: boolean;
|
407
|
+
attributeId: string;
|
408
|
+
isDefaultAttribute: boolean;
|
409
|
+
}, {
|
410
|
+
type: string;
|
411
|
+
value: (string | string[]) & (string | string[] | undefined);
|
412
|
+
isRequired: boolean;
|
413
|
+
attributeId: string;
|
414
|
+
isDefaultAttribute: boolean;
|
415
|
+
}>, "many">;
|
416
|
+
tags: z.ZodObject<{
|
417
|
+
isRequired: z.ZodBoolean;
|
418
|
+
attributeId: z.ZodString;
|
419
|
+
value: z.ZodArray<z.ZodString, "many">;
|
420
|
+
}, "strip", z.ZodTypeAny, {
|
421
|
+
value: string[];
|
422
|
+
isRequired: boolean;
|
423
|
+
attributeId: string;
|
424
|
+
}, {
|
425
|
+
value: string[];
|
426
|
+
isRequired: boolean;
|
427
|
+
attributeId: string;
|
428
|
+
}>;
|
429
|
+
assignee: z.ZodObject<{
|
430
|
+
isRequired: z.ZodBoolean;
|
431
|
+
attributeId: z.ZodString;
|
432
|
+
value: z.ZodString;
|
433
|
+
}, "strip", z.ZodTypeAny, {
|
434
|
+
value: string;
|
435
|
+
isRequired: boolean;
|
436
|
+
attributeId: string;
|
437
|
+
}, {
|
438
|
+
value: string;
|
439
|
+
isRequired: boolean;
|
440
|
+
attributeId: string;
|
441
|
+
}>;
|
442
|
+
reasonToAssign: z.ZodObject<{
|
443
|
+
value: z.ZodString;
|
444
|
+
}, "strip", z.ZodTypeAny, {
|
445
|
+
value: string;
|
446
|
+
}, {
|
447
|
+
value: string;
|
448
|
+
}>;
|
449
|
+
id: z.ZodString;
|
450
|
+
}, "strip", z.ZodTypeAny, {
|
451
|
+
type: {
|
452
|
+
value: string;
|
453
|
+
isRequired: boolean;
|
454
|
+
attributeId: string;
|
455
|
+
};
|
456
|
+
id: string;
|
457
|
+
channel: {
|
458
|
+
value: string;
|
459
|
+
isRequired: boolean;
|
460
|
+
attributeId: string;
|
461
|
+
};
|
462
|
+
priority: {
|
463
|
+
value: string;
|
464
|
+
isRequired: boolean;
|
465
|
+
attributeId: string;
|
466
|
+
};
|
467
|
+
title: {
|
468
|
+
value: string;
|
469
|
+
isRequired: boolean;
|
470
|
+
attributeId: string;
|
471
|
+
};
|
472
|
+
description: {
|
473
|
+
value: string;
|
474
|
+
isRequired: boolean;
|
475
|
+
attributeId: string;
|
476
|
+
};
|
477
|
+
status: {
|
478
|
+
value: string;
|
479
|
+
isRequired: boolean;
|
480
|
+
attributeId: string;
|
481
|
+
};
|
482
|
+
categories: {
|
483
|
+
value: string[];
|
484
|
+
isRequired: boolean;
|
485
|
+
attributeId: string;
|
486
|
+
};
|
487
|
+
contact: {
|
488
|
+
value: string;
|
489
|
+
isRequired: boolean;
|
490
|
+
attributeId: string;
|
491
|
+
};
|
492
|
+
customFields: {
|
493
|
+
type: string;
|
494
|
+
value: (string | string[]) & (string | string[] | undefined);
|
495
|
+
isRequired: boolean;
|
496
|
+
attributeId: string;
|
497
|
+
isDefaultAttribute: boolean;
|
498
|
+
}[];
|
499
|
+
tags: {
|
500
|
+
value: string[];
|
501
|
+
isRequired: boolean;
|
502
|
+
attributeId: string;
|
503
|
+
};
|
504
|
+
assignee: {
|
505
|
+
value: string;
|
506
|
+
isRequired: boolean;
|
507
|
+
attributeId: string;
|
508
|
+
};
|
509
|
+
reasonToAssign: {
|
510
|
+
value: string;
|
511
|
+
};
|
512
|
+
}, {
|
513
|
+
type: {
|
514
|
+
value: string;
|
515
|
+
isRequired: boolean;
|
516
|
+
attributeId: string;
|
517
|
+
};
|
518
|
+
id: string;
|
519
|
+
channel: {
|
520
|
+
value: string;
|
521
|
+
isRequired: boolean;
|
522
|
+
attributeId: string;
|
523
|
+
};
|
524
|
+
priority: {
|
525
|
+
value: string;
|
526
|
+
isRequired: boolean;
|
527
|
+
attributeId: string;
|
528
|
+
};
|
529
|
+
title: {
|
530
|
+
value: string;
|
531
|
+
isRequired: boolean;
|
532
|
+
attributeId: string;
|
533
|
+
};
|
534
|
+
description: {
|
535
|
+
value: string;
|
536
|
+
isRequired: boolean;
|
537
|
+
attributeId: string;
|
538
|
+
};
|
539
|
+
status: {
|
540
|
+
value: string;
|
541
|
+
isRequired: boolean;
|
542
|
+
attributeId: string;
|
543
|
+
};
|
544
|
+
categories: {
|
545
|
+
value: string[];
|
546
|
+
isRequired: boolean;
|
547
|
+
attributeId: string;
|
548
|
+
};
|
549
|
+
contact: {
|
550
|
+
value: string;
|
551
|
+
isRequired: boolean;
|
552
|
+
attributeId: string;
|
553
|
+
};
|
554
|
+
customFields: {
|
555
|
+
type: string;
|
556
|
+
value: (string | string[]) & (string | string[] | undefined);
|
557
|
+
isRequired: boolean;
|
558
|
+
attributeId: string;
|
559
|
+
isDefaultAttribute: boolean;
|
560
|
+
}[];
|
561
|
+
tags: {
|
562
|
+
value: string[];
|
563
|
+
isRequired: boolean;
|
564
|
+
attributeId: string;
|
565
|
+
};
|
566
|
+
assignee: {
|
567
|
+
value: string;
|
568
|
+
isRequired: boolean;
|
569
|
+
attributeId: string;
|
570
|
+
};
|
571
|
+
reasonToAssign: {
|
572
|
+
value: string;
|
573
|
+
};
|
574
|
+
}>;
|
575
|
+
export declare const TicketAttachmentRecordSchema: z.ZodObject<{
|
576
|
+
bucketName: z.ZodString;
|
577
|
+
fileKey: z.ZodString;
|
578
|
+
fileName: z.ZodString;
|
579
|
+
fileSize: z.ZodNumber;
|
580
|
+
url: z.ZodString;
|
581
|
+
}, "strip", z.ZodTypeAny, {
|
582
|
+
url: string;
|
583
|
+
fileName: string;
|
584
|
+
fileKey: string;
|
585
|
+
bucketName: string;
|
586
|
+
fileSize: number;
|
587
|
+
}, {
|
588
|
+
url: string;
|
589
|
+
fileName: string;
|
590
|
+
fileKey: string;
|
591
|
+
bucketName: string;
|
592
|
+
fileSize: number;
|
593
|
+
}>;
|
594
|
+
export declare const CreateTicketAttachmentRecordsSchema: z.ZodObject<{
|
595
|
+
ticketId: z.ZodString;
|
596
|
+
attributeId: z.ZodString;
|
597
|
+
ticketAttachmentRecords: z.ZodArray<z.ZodObject<{
|
598
|
+
bucketName: z.ZodString;
|
599
|
+
fileKey: z.ZodString;
|
600
|
+
fileName: z.ZodString;
|
601
|
+
fileSize: z.ZodNumber;
|
602
|
+
url: z.ZodString;
|
603
|
+
}, "strip", z.ZodTypeAny, {
|
604
|
+
url: string;
|
605
|
+
fileName: string;
|
606
|
+
fileKey: string;
|
607
|
+
bucketName: string;
|
608
|
+
fileSize: number;
|
609
|
+
}, {
|
610
|
+
url: string;
|
611
|
+
fileName: string;
|
612
|
+
fileKey: string;
|
613
|
+
bucketName: string;
|
614
|
+
fileSize: number;
|
615
|
+
}>, "many">;
|
616
|
+
}, "strip", z.ZodTypeAny, {
|
617
|
+
attributeId: string;
|
618
|
+
ticketId: string;
|
619
|
+
ticketAttachmentRecords: {
|
620
|
+
url: string;
|
621
|
+
fileName: string;
|
622
|
+
fileKey: string;
|
623
|
+
bucketName: string;
|
624
|
+
fileSize: number;
|
625
|
+
}[];
|
626
|
+
}, {
|
627
|
+
attributeId: string;
|
628
|
+
ticketId: string;
|
629
|
+
ticketAttachmentRecords: {
|
630
|
+
url: string;
|
631
|
+
fileName: string;
|
632
|
+
fileKey: string;
|
633
|
+
bucketName: string;
|
634
|
+
fileSize: number;
|
635
|
+
}[];
|
636
|
+
}>;
|
637
|
+
//# sourceMappingURL=validation.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../../../src/ticket/validation.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,eAAO,MAAM,UAAU;;;;;;;;;EAGrB,CAAC;AAMH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmBvC,CAAC;AAEH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIxC,CAAC;AAEF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;EAMvC,CAAC;AAEH,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAI9C,CAAC"}
|