@kl1/contracts 1.0.27 → 1.0.29

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