@kl1/contracts 1.0.31 → 1.0.32

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.
Files changed (54) hide show
  1. package/dist/index.js +1649 -1714
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +1647 -1712
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/app/index.d.ts +17 -0
  6. package/dist/src/app/index.d.ts.map +1 -0
  7. package/dist/src/channel/index.d.ts +20 -200
  8. package/dist/src/channel/index.d.ts.map +1 -1
  9. package/dist/src/channel/validation.d.ts +12 -6
  10. package/dist/src/channel/validation.d.ts.map +1 -1
  11. package/dist/src/chat/index.d.ts +32 -32
  12. package/dist/src/chat/index.d.ts.map +1 -1
  13. package/dist/src/chat/schema.d.ts +4 -4
  14. package/dist/src/chat/schema.d.ts.map +1 -1
  15. package/dist/src/chat/validation.d.ts +45 -171
  16. package/dist/src/chat/validation.d.ts.map +1 -1
  17. package/dist/src/company/index.d.ts +5 -8
  18. package/dist/src/company/index.d.ts.map +1 -1
  19. package/dist/src/company/schema.d.ts +0 -137
  20. package/dist/src/company/schema.d.ts.map +1 -1
  21. package/dist/src/contact/index.d.ts +1103 -1103
  22. package/dist/src/contract.d.ts +1825 -2025
  23. package/dist/src/contract.d.ts.map +1 -1
  24. package/dist/src/dashboard/index.d.ts +7 -11
  25. package/dist/src/dashboard/index.d.ts.map +1 -1
  26. package/dist/src/dashboard/schema.d.ts +2 -127
  27. package/dist/src/dashboard/schema.d.ts.map +1 -1
  28. package/dist/src/index.d.ts +1 -3
  29. package/dist/src/index.d.ts.map +1 -1
  30. package/dist/src/mail/mail-contract.d.ts +42 -42
  31. package/dist/src/mail/mail-server.d.ts +216 -0
  32. package/dist/src/mail/mail-server.d.ts.map +1 -0
  33. package/dist/src/mail/room-contract.d.ts +42 -42
  34. package/dist/src/mail/schemas/room-validation.schema.d.ts +14 -14
  35. package/dist/src/mail/schemas/room.schema.d.ts +10 -10
  36. package/dist/src/messenger/index.d.ts +693 -1198
  37. package/dist/src/messenger/index.d.ts.map +1 -1
  38. package/dist/src/messenger/validation.d.ts +1 -108
  39. package/dist/src/messenger/validation.d.ts.map +1 -1
  40. package/dist/src/platform-contact/schema.d.ts +30 -0
  41. package/dist/src/platform-contact/schema.d.ts.map +1 -0
  42. package/dist/src/telephony-cdr/index.d.ts +458 -1
  43. package/dist/src/telephony-cdr/index.d.ts.map +1 -1
  44. package/dist/src/telephony-cdr/validation.d.ts +74 -0
  45. package/dist/src/telephony-cdr/validation.d.ts.map +1 -1
  46. package/dist/src/ticket/index.d.ts +342 -207
  47. package/dist/src/ticket/index.d.ts.map +1 -1
  48. package/dist/src/ticket/validation.d.ts +338 -168
  49. package/dist/src/ticket/validation.d.ts.map +1 -1
  50. package/dist/src/widget/index.d.ts +1 -72
  51. package/dist/src/widget/index.d.ts.map +1 -1
  52. package/dist/src/widget/validation.d.ts +0 -10
  53. package/dist/src/widget/validation.d.ts.map +1 -1
  54. package/package.json +1 -1
@@ -10,37 +10,98 @@ export declare const BaseSchema: z.ZodObject<{
10
10
  attributeId: string;
11
11
  }>;
12
12
  export declare const CreateTicketValidationSchema: z.ZodObject<{
13
- title: z.ZodEffects<z.AnyZodObject, {
14
- [x: string]: any;
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;
15
21
  }, {
16
- [x: string]: any;
22
+ value: string;
23
+ isRequired: boolean;
24
+ attributeId: string;
17
25
  }>;
18
- description: z.ZodEffects<z.AnyZodObject, {
19
- [x: string]: any;
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;
20
34
  }, {
21
- [x: string]: any;
35
+ value: string;
36
+ isRequired: boolean;
37
+ attributeId: string;
22
38
  }>;
23
- status: z.ZodEffects<z.AnyZodObject, {
24
- [x: string]: any;
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;
25
47
  }, {
26
- [x: string]: any;
48
+ value: string;
49
+ isRequired: boolean;
50
+ attributeId: string;
27
51
  }>;
28
- type: z.ZodEffects<z.AnyZodObject, {
29
- [x: string]: any;
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;
30
60
  }, {
31
- [x: string]: any;
61
+ value: string;
62
+ isRequired: boolean;
63
+ attributeId: string;
32
64
  }>;
33
- priority: z.ZodEffects<z.AnyZodObject, {
34
- [x: string]: any;
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;
35
73
  }, {
36
- [x: string]: any;
74
+ value: string;
75
+ isRequired: boolean;
76
+ attributeId: string;
37
77
  }>;
38
- contact: z.ZodEffects<z.AnyZodObject, {
39
- [x: string]: any;
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;
40
86
  }, {
41
- [x: string]: any;
87
+ value: string;
88
+ isRequired: boolean;
89
+ attributeId: string;
42
90
  }>;
43
91
  assignee: z.ZodObject<{
92
+ isRequired: z.ZodBoolean;
93
+ attributeId: z.ZodOptional<z.ZodString>;
94
+ value: z.ZodOptional<z.ZodString>;
95
+ }, "strip", z.ZodTypeAny, {
96
+ isRequired: boolean;
97
+ attributeId?: string | undefined;
98
+ value?: string | undefined;
99
+ }, {
100
+ isRequired: boolean;
101
+ attributeId?: string | undefined;
102
+ value?: string | undefined;
103
+ }>;
104
+ channel: z.ZodObject<{
44
105
  isRequired: z.ZodBoolean;
45
106
  attributeId: z.ZodString;
46
107
  value: z.ZodString;
@@ -53,15 +114,18 @@ export declare const CreateTicketValidationSchema: z.ZodObject<{
53
114
  isRequired: boolean;
54
115
  attributeId: string;
55
116
  }>;
56
- channel: z.ZodEffects<z.AnyZodObject, {
57
- [x: string]: any;
58
- }, {
59
- [x: string]: any;
60
- }>;
61
- tags: z.ZodEffects<z.AnyZodObject, {
62
- [x: string]: any;
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;
63
125
  }, {
64
- [x: string]: any;
126
+ value: string[];
127
+ isRequired: boolean;
128
+ attributeId: string;
65
129
  }>;
66
130
  categories: z.ZodObject<{
67
131
  isRequired: z.ZodBoolean;
@@ -76,10 +140,24 @@ export declare const CreateTicketValidationSchema: z.ZodObject<{
76
140
  isRequired: boolean;
77
141
  attributeId: string;
78
142
  }>;
79
- customFields: z.ZodArray<z.ZodEffects<z.AnyZodObject, {
80
- [x: string]: any;
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;
81
155
  }, {
82
- [x: string]: any;
156
+ type: string;
157
+ value: (string | string[]) & (string | string[] | undefined);
158
+ isRequired: boolean;
159
+ attributeId: string;
160
+ isDefaultAttribute: boolean;
83
161
  }>, "many">;
84
162
  reasonToAssign: z.ZodOptional<z.ZodObject<{
85
163
  value: z.ZodString;
@@ -90,22 +168,34 @@ export declare const CreateTicketValidationSchema: z.ZodObject<{
90
168
  }>>;
91
169
  }, "strip", z.ZodTypeAny, {
92
170
  type: {
93
- [x: string]: any;
171
+ value: string;
172
+ isRequired: boolean;
173
+ attributeId: string;
94
174
  };
95
175
  channel: {
96
- [x: string]: any;
176
+ value: string;
177
+ isRequired: boolean;
178
+ attributeId: string;
97
179
  };
98
180
  priority: {
99
- [x: string]: any;
181
+ value: string;
182
+ isRequired: boolean;
183
+ attributeId: string;
100
184
  };
101
185
  title: {
102
- [x: string]: any;
186
+ value: string;
187
+ isRequired: boolean;
188
+ attributeId: string;
103
189
  };
104
190
  description: {
105
- [x: string]: any;
191
+ value: string;
192
+ isRequired: boolean;
193
+ attributeId: string;
106
194
  };
107
195
  status: {
108
- [x: string]: any;
196
+ value: string;
197
+ isRequired: boolean;
198
+ attributeId: string;
109
199
  };
110
200
  categories: {
111
201
  value: string[];
@@ -113,40 +203,60 @@ export declare const CreateTicketValidationSchema: z.ZodObject<{
113
203
  attributeId: string;
114
204
  };
115
205
  contact: {
116
- [x: string]: any;
206
+ value: string;
207
+ isRequired: boolean;
208
+ attributeId: string;
117
209
  };
118
210
  customFields: {
119
- [x: string]: any;
211
+ type: string;
212
+ value: (string | string[]) & (string | string[] | undefined);
213
+ isRequired: boolean;
214
+ attributeId: string;
215
+ isDefaultAttribute: boolean;
120
216
  }[];
121
217
  tags: {
122
- [x: string]: any;
218
+ value: string[];
219
+ isRequired: boolean;
220
+ attributeId: string;
123
221
  };
124
222
  assignee: {
125
- value: string;
126
223
  isRequired: boolean;
127
- attributeId: string;
224
+ attributeId?: string | undefined;
225
+ value?: string | undefined;
128
226
  };
129
227
  reasonToAssign?: {
130
228
  value: string;
131
229
  } | undefined;
132
230
  }, {
133
231
  type: {
134
- [x: string]: any;
232
+ value: string;
233
+ isRequired: boolean;
234
+ attributeId: string;
135
235
  };
136
236
  channel: {
137
- [x: string]: any;
237
+ value: string;
238
+ isRequired: boolean;
239
+ attributeId: string;
138
240
  };
139
241
  priority: {
140
- [x: string]: any;
242
+ value: string;
243
+ isRequired: boolean;
244
+ attributeId: string;
141
245
  };
142
246
  title: {
143
- [x: string]: any;
247
+ value: string;
248
+ isRequired: boolean;
249
+ attributeId: string;
144
250
  };
145
251
  description: {
146
- [x: string]: any;
252
+ value: string;
253
+ isRequired: boolean;
254
+ attributeId: string;
147
255
  };
148
256
  status: {
149
- [x: string]: any;
257
+ value: string;
258
+ isRequired: boolean;
259
+ attributeId: string;
150
260
  };
151
261
  categories: {
152
262
  value: string[];
@@ -154,55 +264,124 @@ export declare const CreateTicketValidationSchema: z.ZodObject<{
154
264
  attributeId: string;
155
265
  };
156
266
  contact: {
157
- [x: string]: any;
267
+ value: string;
268
+ isRequired: boolean;
269
+ attributeId: string;
158
270
  };
159
271
  customFields: {
160
- [x: string]: any;
272
+ type: string;
273
+ value: (string | string[]) & (string | string[] | undefined);
274
+ isRequired: boolean;
275
+ attributeId: string;
276
+ isDefaultAttribute: boolean;
161
277
  }[];
162
278
  tags: {
163
- [x: string]: any;
279
+ value: string[];
280
+ isRequired: boolean;
281
+ attributeId: string;
164
282
  };
165
283
  assignee: {
166
- value: string;
167
284
  isRequired: boolean;
168
- attributeId: string;
285
+ attributeId?: string | undefined;
286
+ value?: string | undefined;
169
287
  };
170
288
  reasonToAssign?: {
171
289
  value: string;
172
290
  } | undefined;
173
291
  }>;
174
292
  export declare const UpdateTicketValidationSchema: z.ZodObject<{
175
- title: z.ZodEffects<z.AnyZodObject, {
176
- [x: string]: any;
293
+ title: 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;
177
301
  }, {
178
- [x: string]: any;
302
+ value: string;
303
+ isRequired: boolean;
304
+ attributeId: string;
179
305
  }>;
180
- description: z.ZodEffects<z.AnyZodObject, {
181
- [x: string]: any;
306
+ description: 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;
182
314
  }, {
183
- [x: string]: any;
315
+ value: string;
316
+ isRequired: boolean;
317
+ attributeId: string;
184
318
  }>;
185
- status: z.ZodEffects<z.AnyZodObject, {
186
- [x: string]: any;
319
+ status: 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;
187
327
  }, {
188
- [x: string]: any;
328
+ value: string;
329
+ isRequired: boolean;
330
+ attributeId: string;
189
331
  }>;
190
- type: z.ZodEffects<z.AnyZodObject, {
191
- [x: string]: any;
332
+ type: 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;
192
340
  }, {
193
- [x: string]: any;
341
+ value: string;
342
+ isRequired: boolean;
343
+ attributeId: string;
194
344
  }>;
195
- priority: z.ZodEffects<z.AnyZodObject, {
196
- [x: string]: any;
345
+ priority: 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;
197
353
  }, {
198
- [x: string]: any;
354
+ value: string;
355
+ isRequired: boolean;
356
+ attributeId: string;
199
357
  }>;
200
- contact: z.ZodEffects<z.AnyZodObject, {
201
- [x: string]: any;
358
+ contact: 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;
202
366
  }, {
203
- [x: string]: any;
367
+ value: string;
368
+ isRequired: boolean;
369
+ attributeId: string;
204
370
  }>;
205
371
  assignee: z.ZodObject<{
372
+ isRequired: z.ZodBoolean;
373
+ attributeId: z.ZodOptional<z.ZodString>;
374
+ value: z.ZodOptional<z.ZodString>;
375
+ }, "strip", z.ZodTypeAny, {
376
+ isRequired: boolean;
377
+ attributeId?: string | undefined;
378
+ value?: string | undefined;
379
+ }, {
380
+ isRequired: boolean;
381
+ attributeId?: string | undefined;
382
+ value?: string | undefined;
383
+ }>;
384
+ channel: z.ZodObject<{
206
385
  isRequired: z.ZodBoolean;
207
386
  attributeId: z.ZodString;
208
387
  value: z.ZodString;
@@ -215,15 +394,18 @@ export declare const UpdateTicketValidationSchema: z.ZodObject<{
215
394
  isRequired: boolean;
216
395
  attributeId: string;
217
396
  }>;
218
- channel: z.ZodEffects<z.AnyZodObject, {
219
- [x: string]: any;
220
- }, {
221
- [x: string]: any;
222
- }>;
223
- tags: z.ZodEffects<z.AnyZodObject, {
224
- [x: string]: any;
397
+ tags: z.ZodObject<{
398
+ isRequired: z.ZodBoolean;
399
+ attributeId: z.ZodString;
400
+ value: z.ZodArray<z.ZodString, "many">;
401
+ }, "strip", z.ZodTypeAny, {
402
+ value: string[];
403
+ isRequired: boolean;
404
+ attributeId: string;
225
405
  }, {
226
- [x: string]: any;
406
+ value: string[];
407
+ isRequired: boolean;
408
+ attributeId: string;
227
409
  }>;
228
410
  categories: z.ZodObject<{
229
411
  isRequired: z.ZodBoolean;
@@ -238,10 +420,24 @@ export declare const UpdateTicketValidationSchema: z.ZodObject<{
238
420
  isRequired: boolean;
239
421
  attributeId: string;
240
422
  }>;
241
- customFields: z.ZodArray<z.ZodEffects<z.AnyZodObject, {
242
- [x: string]: any;
423
+ customFields: z.ZodArray<z.ZodObject<{
424
+ isRequired: z.ZodBoolean;
425
+ attributeId: z.ZodString;
426
+ value: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
427
+ type: z.ZodString;
428
+ isDefaultAttribute: z.ZodBoolean;
429
+ }, "strip", z.ZodTypeAny, {
430
+ type: string;
431
+ value: (string | string[]) & (string | string[] | undefined);
432
+ isRequired: boolean;
433
+ attributeId: string;
434
+ isDefaultAttribute: boolean;
243
435
  }, {
244
- [x: string]: any;
436
+ type: string;
437
+ value: (string | string[]) & (string | string[] | undefined);
438
+ isRequired: boolean;
439
+ attributeId: string;
440
+ isDefaultAttribute: boolean;
245
441
  }>, "many">;
246
442
  reasonToAssign: z.ZodOptional<z.ZodObject<{
247
443
  value: z.ZodString;
@@ -252,22 +448,34 @@ export declare const UpdateTicketValidationSchema: z.ZodObject<{
252
448
  }>>;
253
449
  }, "strip", z.ZodTypeAny, {
254
450
  type: {
255
- [x: string]: any;
451
+ value: string;
452
+ isRequired: boolean;
453
+ attributeId: string;
256
454
  };
257
455
  channel: {
258
- [x: string]: any;
456
+ value: string;
457
+ isRequired: boolean;
458
+ attributeId: string;
259
459
  };
260
460
  priority: {
261
- [x: string]: any;
461
+ value: string;
462
+ isRequired: boolean;
463
+ attributeId: string;
262
464
  };
263
465
  title: {
264
- [x: string]: any;
466
+ value: string;
467
+ isRequired: boolean;
468
+ attributeId: string;
265
469
  };
266
470
  description: {
267
- [x: string]: any;
471
+ value: string;
472
+ isRequired: boolean;
473
+ attributeId: string;
268
474
  };
269
475
  status: {
270
- [x: string]: any;
476
+ value: string;
477
+ isRequired: boolean;
478
+ attributeId: string;
271
479
  };
272
480
  categories: {
273
481
  value: string[];
@@ -275,40 +483,60 @@ export declare const UpdateTicketValidationSchema: z.ZodObject<{
275
483
  attributeId: string;
276
484
  };
277
485
  contact: {
278
- [x: string]: any;
486
+ value: string;
487
+ isRequired: boolean;
488
+ attributeId: string;
279
489
  };
280
490
  customFields: {
281
- [x: string]: any;
491
+ type: string;
492
+ value: (string | string[]) & (string | string[] | undefined);
493
+ isRequired: boolean;
494
+ attributeId: string;
495
+ isDefaultAttribute: boolean;
282
496
  }[];
283
497
  tags: {
284
- [x: string]: any;
498
+ value: string[];
499
+ isRequired: boolean;
500
+ attributeId: string;
285
501
  };
286
502
  assignee: {
287
- value: string;
288
503
  isRequired: boolean;
289
- attributeId: string;
504
+ attributeId?: string | undefined;
505
+ value?: string | undefined;
290
506
  };
291
507
  reasonToAssign?: {
292
508
  value: string;
293
509
  } | undefined;
294
510
  }, {
295
511
  type: {
296
- [x: string]: any;
512
+ value: string;
513
+ isRequired: boolean;
514
+ attributeId: string;
297
515
  };
298
516
  channel: {
299
- [x: string]: any;
517
+ value: string;
518
+ isRequired: boolean;
519
+ attributeId: string;
300
520
  };
301
521
  priority: {
302
- [x: string]: any;
522
+ value: string;
523
+ isRequired: boolean;
524
+ attributeId: string;
303
525
  };
304
526
  title: {
305
- [x: string]: any;
527
+ value: string;
528
+ isRequired: boolean;
529
+ attributeId: string;
306
530
  };
307
531
  description: {
308
- [x: string]: any;
532
+ value: string;
533
+ isRequired: boolean;
534
+ attributeId: string;
309
535
  };
310
536
  status: {
311
- [x: string]: any;
537
+ value: string;
538
+ isRequired: boolean;
539
+ attributeId: string;
312
540
  };
313
541
  categories: {
314
542
  value: string[];
@@ -316,18 +544,26 @@ export declare const UpdateTicketValidationSchema: z.ZodObject<{
316
544
  attributeId: string;
317
545
  };
318
546
  contact: {
319
- [x: string]: any;
547
+ value: string;
548
+ isRequired: boolean;
549
+ attributeId: string;
320
550
  };
321
551
  customFields: {
322
- [x: string]: any;
552
+ type: string;
553
+ value: (string | string[]) & (string | string[] | undefined);
554
+ isRequired: boolean;
555
+ attributeId: string;
556
+ isDefaultAttribute: boolean;
323
557
  }[];
324
558
  tags: {
325
- [x: string]: any;
559
+ value: string[];
560
+ isRequired: boolean;
561
+ attributeId: string;
326
562
  };
327
563
  assignee: {
328
- value: string;
329
564
  isRequired: boolean;
330
- attributeId: string;
565
+ attributeId?: string | undefined;
566
+ value?: string | undefined;
331
567
  };
332
568
  reasonToAssign?: {
333
569
  value: string;
@@ -490,70 +726,4 @@ export declare const GetAllTicketQuerySchema: z.ZodObject<{
490
726
  attributeId: string;
491
727
  }[] | undefined;
492
728
  }>;
493
- export declare const ExportAllTicketQuerySchema: z.ZodObject<{
494
- agent: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
495
- selectedDate: z.ZodOptional<z.ZodString>;
496
- keyword: z.ZodOptional<z.ZodString>;
497
- title: z.ZodOptional<z.ZodString>;
498
- description: z.ZodOptional<z.ZodString>;
499
- status: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
500
- priority: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
501
- channel: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
502
- type: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
503
- ticketType: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
504
- contact: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
505
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
506
- categories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
507
- customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
508
- attributeId: z.ZodString;
509
- type: z.ZodString;
510
- value: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
511
- }, "strip", z.ZodTypeAny, {
512
- type: string;
513
- value: (string | string[]) & (string | string[] | undefined);
514
- attributeId: string;
515
- }, {
516
- type: string;
517
- value: (string | string[]) & (string | string[] | undefined);
518
- attributeId: string;
519
- }>, "many">>;
520
- }, "strip", z.ZodTypeAny, {
521
- agent?: string[] | undefined;
522
- selectedDate?: string | undefined;
523
- keyword?: string | undefined;
524
- title?: string | undefined;
525
- description?: string | undefined;
526
- status?: string[] | undefined;
527
- priority?: string[] | undefined;
528
- channel?: string[] | undefined;
529
- type?: string[] | undefined;
530
- ticketType?: string[] | undefined;
531
- contact?: string[] | undefined;
532
- tags?: string[] | undefined;
533
- categories?: string[] | undefined;
534
- customFields?: {
535
- type: string;
536
- value: (string | string[]) & (string | string[] | undefined);
537
- attributeId: string;
538
- }[] | undefined;
539
- }, {
540
- agent?: string[] | undefined;
541
- selectedDate?: string | undefined;
542
- keyword?: string | undefined;
543
- title?: string | undefined;
544
- description?: string | undefined;
545
- status?: string[] | undefined;
546
- priority?: string[] | undefined;
547
- channel?: string[] | undefined;
548
- type?: string[] | undefined;
549
- ticketType?: string[] | undefined;
550
- contact?: string[] | undefined;
551
- tags?: string[] | undefined;
552
- categories?: string[] | undefined;
553
- customFields?: {
554
- type: string;
555
- value: (string | string[]) & (string | string[] | undefined);
556
- attributeId: string;
557
- }[] | undefined;
558
- }>;
559
729
  //# sourceMappingURL=validation.d.ts.map