@kl1/contracts 1.0.32 → 1.0.33

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 (57) hide show
  1. package/dist/index.js +1809 -1627
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +1807 -1627
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/attribute/validation.d.ts.map +1 -1
  6. package/dist/src/call-log/validation.d.ts +2 -2
  7. package/dist/src/channel/index.d.ts +721 -299
  8. package/dist/src/channel/index.d.ts.map +1 -1
  9. package/dist/src/channel/validation.d.ts +0 -291
  10. package/dist/src/channel/validation.d.ts.map +1 -1
  11. package/dist/src/chat/index.d.ts +105 -104
  12. package/dist/src/chat/index.d.ts.map +1 -1
  13. package/dist/src/chat/schema.d.ts +16 -16
  14. package/dist/src/chat/schema.d.ts.map +1 -1
  15. package/dist/src/chat/validation.d.ts +193 -67
  16. package/dist/src/chat/validation.d.ts.map +1 -1
  17. package/dist/src/company/index.d.ts +8 -85
  18. package/dist/src/company/index.d.ts.map +1 -1
  19. package/dist/src/company/schema.d.ts +137 -0
  20. package/dist/src/company/schema.d.ts.map +1 -1
  21. package/dist/src/company/validation.d.ts +0 -40
  22. package/dist/src/company/validation.d.ts.map +1 -1
  23. package/dist/src/contact/index.d.ts +1191 -1191
  24. package/dist/src/contract.d.ts +3159 -2340
  25. package/dist/src/contract.d.ts.map +1 -1
  26. package/dist/src/cx-log/index.d.ts +22 -22
  27. package/dist/src/cx-log/schema.d.ts +16 -16
  28. package/dist/src/dashboard/index.d.ts +11 -7
  29. package/dist/src/dashboard/index.d.ts.map +1 -1
  30. package/dist/src/dashboard/schema.d.ts +127 -2
  31. package/dist/src/dashboard/schema.d.ts.map +1 -1
  32. package/dist/src/evaluate-form/schema.d.ts +6 -6
  33. package/dist/src/index.d.ts +2 -0
  34. package/dist/src/index.d.ts.map +1 -1
  35. package/dist/src/mail/mail-contract.d.ts +42 -42
  36. package/dist/src/mail/room-contract.d.ts +42 -42
  37. package/dist/src/mail/schemas/room-validation.schema.d.ts +14 -14
  38. package/dist/src/mail/schemas/room.schema.d.ts +10 -10
  39. package/dist/src/messenger/index.d.ts +1212 -707
  40. package/dist/src/messenger/index.d.ts.map +1 -1
  41. package/dist/src/messenger/validation.d.ts +108 -1
  42. package/dist/src/messenger/validation.d.ts.map +1 -1
  43. package/dist/src/ticket/index.d.ts +207 -342
  44. package/dist/src/ticket/index.d.ts.map +1 -1
  45. package/dist/src/ticket/validation.d.ts +168 -338
  46. package/dist/src/ticket/validation.d.ts.map +1 -1
  47. package/dist/src/widget/index.d.ts +72 -1
  48. package/dist/src/widget/index.d.ts.map +1 -1
  49. package/dist/src/widget/validation.d.ts +10 -0
  50. package/dist/src/widget/validation.d.ts.map +1 -1
  51. package/package.json +47 -46
  52. package/dist/src/app/index.d.ts +0 -17
  53. package/dist/src/app/index.d.ts.map +0 -1
  54. package/dist/src/mail/mail-server.d.ts +0 -216
  55. package/dist/src/mail/mail-server.d.ts.map +0 -1
  56. package/dist/src/platform-contact/schema.d.ts +0 -30
  57. package/dist/src/platform-contact/schema.d.ts.map +0 -1
@@ -1,105 +1,45 @@
1
1
  import z from 'zod';
2
- import { CreateTicketAttachmentRecordsSchema, CreateTicketValidationSchema, UpdateTicketValidationSchema, GetAllTicketQuerySchema, TicketParamsSchema } from './validation';
2
+ import { CreateTicketAttachmentRecordsSchema, CreateTicketValidationSchema, UpdateTicketValidationSchema, GetAllTicketQuerySchema, TicketParamsSchema, ExportAllTicketQuerySchema } from './validation';
3
3
  export type CreateTicketRequest = z.infer<typeof CreateTicketValidationSchema>;
4
4
  export type UpdateTicketRequest = z.infer<typeof UpdateTicketValidationSchema>;
5
5
  export type CreateTicketAttachmentRecordsRequest = z.infer<typeof CreateTicketAttachmentRecordsSchema>;
6
6
  export type GetAllTicketQueryRequest = z.infer<typeof GetAllTicketQuerySchema>;
7
7
  export type GetTicketParamsRequest = z.infer<typeof TicketParamsSchema>;
8
+ export type ExportAllTicketQueryRequest = z.infer<typeof ExportAllTicketQuerySchema>;
8
9
  export declare const ticketContract: {
9
10
  createTicket: {
10
11
  body: z.ZodObject<{
11
- title: z.ZodObject<{
12
- isRequired: z.ZodBoolean;
13
- attributeId: z.ZodString;
14
- value: z.ZodString;
15
- }, "strip", z.ZodTypeAny, {
16
- value: string;
17
- isRequired: boolean;
18
- attributeId: string;
12
+ title: z.ZodEffects<z.AnyZodObject, {
13
+ [x: string]: any;
19
14
  }, {
20
- value: string;
21
- isRequired: boolean;
22
- attributeId: string;
15
+ [x: string]: any;
23
16
  }>;
24
- description: z.ZodObject<{
25
- isRequired: z.ZodBoolean;
26
- attributeId: z.ZodString;
27
- value: z.ZodString;
28
- }, "strip", z.ZodTypeAny, {
29
- value: string;
30
- isRequired: boolean;
31
- attributeId: string;
17
+ description: z.ZodEffects<z.AnyZodObject, {
18
+ [x: string]: any;
32
19
  }, {
33
- value: string;
34
- isRequired: boolean;
35
- attributeId: string;
20
+ [x: string]: any;
36
21
  }>;
37
- status: z.ZodObject<{
38
- isRequired: z.ZodBoolean;
39
- attributeId: z.ZodString;
40
- value: z.ZodString;
41
- }, "strip", z.ZodTypeAny, {
42
- value: string;
43
- isRequired: boolean;
44
- attributeId: string;
22
+ status: z.ZodEffects<z.AnyZodObject, {
23
+ [x: string]: any;
45
24
  }, {
46
- value: string;
47
- isRequired: boolean;
48
- attributeId: string;
25
+ [x: string]: any;
49
26
  }>;
50
- type: z.ZodObject<{
51
- isRequired: z.ZodBoolean;
52
- attributeId: z.ZodString;
53
- value: z.ZodString;
54
- }, "strip", z.ZodTypeAny, {
55
- value: string;
56
- isRequired: boolean;
57
- attributeId: string;
27
+ type: z.ZodEffects<z.AnyZodObject, {
28
+ [x: string]: any;
58
29
  }, {
59
- value: string;
60
- isRequired: boolean;
61
- attributeId: string;
30
+ [x: string]: any;
62
31
  }>;
63
- priority: z.ZodObject<{
64
- isRequired: z.ZodBoolean;
65
- attributeId: z.ZodString;
66
- value: z.ZodString;
67
- }, "strip", z.ZodTypeAny, {
68
- value: string;
69
- isRequired: boolean;
70
- attributeId: string;
32
+ priority: z.ZodEffects<z.AnyZodObject, {
33
+ [x: string]: any;
71
34
  }, {
72
- value: string;
73
- isRequired: boolean;
74
- attributeId: string;
35
+ [x: string]: any;
75
36
  }>;
76
- contact: z.ZodObject<{
77
- isRequired: z.ZodBoolean;
78
- attributeId: z.ZodString;
79
- value: z.ZodString;
80
- }, "strip", z.ZodTypeAny, {
81
- value: string;
82
- isRequired: boolean;
83
- attributeId: string;
37
+ contact: z.ZodEffects<z.AnyZodObject, {
38
+ [x: string]: any;
84
39
  }, {
85
- value: string;
86
- isRequired: boolean;
87
- attributeId: string;
40
+ [x: string]: any;
88
41
  }>;
89
42
  assignee: z.ZodObject<{
90
- isRequired: z.ZodBoolean;
91
- attributeId: z.ZodOptional<z.ZodString>;
92
- value: z.ZodOptional<z.ZodString>;
93
- }, "strip", z.ZodTypeAny, {
94
- isRequired: boolean;
95
- attributeId?: string | undefined;
96
- value?: string | undefined;
97
- }, {
98
- isRequired: boolean;
99
- attributeId?: string | undefined;
100
- value?: string | undefined;
101
- }>;
102
- channel: z.ZodObject<{
103
43
  isRequired: z.ZodBoolean;
104
44
  attributeId: z.ZodString;
105
45
  value: z.ZodString;
@@ -112,18 +52,15 @@ export declare const ticketContract: {
112
52
  isRequired: boolean;
113
53
  attributeId: string;
114
54
  }>;
115
- tags: z.ZodObject<{
116
- isRequired: z.ZodBoolean;
117
- attributeId: z.ZodString;
118
- value: z.ZodArray<z.ZodString, "many">;
119
- }, "strip", z.ZodTypeAny, {
120
- value: string[];
121
- isRequired: boolean;
122
- attributeId: string;
55
+ channel: z.ZodEffects<z.AnyZodObject, {
56
+ [x: string]: any;
123
57
  }, {
124
- value: string[];
125
- isRequired: boolean;
126
- attributeId: string;
58
+ [x: string]: any;
59
+ }>;
60
+ tags: z.ZodEffects<z.AnyZodObject, {
61
+ [x: string]: any;
62
+ }, {
63
+ [x: string]: any;
127
64
  }>;
128
65
  categories: z.ZodObject<{
129
66
  isRequired: z.ZodBoolean;
@@ -138,24 +75,10 @@ export declare const ticketContract: {
138
75
  isRequired: boolean;
139
76
  attributeId: string;
140
77
  }>;
141
- customFields: z.ZodArray<z.ZodObject<{
142
- isRequired: z.ZodBoolean;
143
- attributeId: z.ZodString;
144
- value: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
145
- type: z.ZodString;
146
- isDefaultAttribute: z.ZodBoolean;
147
- }, "strip", z.ZodTypeAny, {
148
- type: string;
149
- value: (string | string[]) & (string | string[] | undefined);
150
- isRequired: boolean;
151
- attributeId: string;
152
- isDefaultAttribute: boolean;
78
+ customFields: z.ZodArray<z.ZodEffects<z.AnyZodObject, {
79
+ [x: string]: any;
153
80
  }, {
154
- type: string;
155
- value: (string | string[]) & (string | string[] | undefined);
156
- isRequired: boolean;
157
- attributeId: string;
158
- isDefaultAttribute: boolean;
81
+ [x: string]: any;
159
82
  }>, "many">;
160
83
  reasonToAssign: z.ZodOptional<z.ZodObject<{
161
84
  value: z.ZodString;
@@ -166,34 +89,22 @@ export declare const ticketContract: {
166
89
  }>>;
167
90
  }, "strip", z.ZodTypeAny, {
168
91
  type: {
169
- value: string;
170
- isRequired: boolean;
171
- attributeId: string;
92
+ [x: string]: any;
172
93
  };
173
94
  channel: {
174
- value: string;
175
- isRequired: boolean;
176
- attributeId: string;
95
+ [x: string]: any;
177
96
  };
178
97
  priority: {
179
- value: string;
180
- isRequired: boolean;
181
- attributeId: string;
98
+ [x: string]: any;
182
99
  };
183
100
  title: {
184
- value: string;
185
- isRequired: boolean;
186
- attributeId: string;
101
+ [x: string]: any;
187
102
  };
188
103
  description: {
189
- value: string;
190
- isRequired: boolean;
191
- attributeId: string;
104
+ [x: string]: any;
192
105
  };
193
106
  status: {
194
- value: string;
195
- isRequired: boolean;
196
- attributeId: string;
107
+ [x: string]: any;
197
108
  };
198
109
  categories: {
199
110
  value: string[];
@@ -201,60 +112,40 @@ export declare const ticketContract: {
201
112
  attributeId: string;
202
113
  };
203
114
  contact: {
204
- value: string;
205
- isRequired: boolean;
206
- attributeId: string;
115
+ [x: string]: any;
207
116
  };
208
117
  customFields: {
209
- type: string;
210
- value: (string | string[]) & (string | string[] | undefined);
211
- isRequired: boolean;
212
- attributeId: string;
213
- isDefaultAttribute: boolean;
118
+ [x: string]: any;
214
119
  }[];
215
120
  tags: {
216
- value: string[];
217
- isRequired: boolean;
218
- attributeId: string;
121
+ [x: string]: any;
219
122
  };
220
123
  assignee: {
124
+ value: string;
221
125
  isRequired: boolean;
222
- attributeId?: string | undefined;
223
- value?: string | undefined;
126
+ attributeId: string;
224
127
  };
225
128
  reasonToAssign?: {
226
129
  value: string;
227
130
  } | undefined;
228
131
  }, {
229
132
  type: {
230
- value: string;
231
- isRequired: boolean;
232
- attributeId: string;
133
+ [x: string]: any;
233
134
  };
234
135
  channel: {
235
- value: string;
236
- isRequired: boolean;
237
- attributeId: string;
136
+ [x: string]: any;
238
137
  };
239
138
  priority: {
240
- value: string;
241
- isRequired: boolean;
242
- attributeId: string;
139
+ [x: string]: any;
243
140
  };
244
141
  title: {
245
- value: string;
246
- isRequired: boolean;
247
- attributeId: string;
142
+ [x: string]: any;
248
143
  };
249
144
  description: {
250
- value: string;
251
- isRequired: boolean;
252
- attributeId: string;
145
+ [x: string]: any;
253
146
  };
254
147
  status: {
255
- value: string;
256
- isRequired: boolean;
257
- attributeId: string;
148
+ [x: string]: any;
258
149
  };
259
150
  categories: {
260
151
  value: string[];
@@ -262,26 +153,18 @@ export declare const ticketContract: {
262
153
  attributeId: string;
263
154
  };
264
155
  contact: {
265
- value: string;
266
- isRequired: boolean;
267
- attributeId: string;
156
+ [x: string]: any;
268
157
  };
269
158
  customFields: {
270
- type: string;
271
- value: (string | string[]) & (string | string[] | undefined);
272
- isRequired: boolean;
273
- attributeId: string;
274
- isDefaultAttribute: boolean;
159
+ [x: string]: any;
275
160
  }[];
276
161
  tags: {
277
- value: string[];
278
- isRequired: boolean;
279
- attributeId: string;
162
+ [x: string]: any;
280
163
  };
281
164
  assignee: {
165
+ value: string;
282
166
  isRequired: boolean;
283
- attributeId?: string | undefined;
284
- value?: string | undefined;
167
+ attributeId: string;
285
168
  };
286
169
  reasonToAssign?: {
287
170
  value: string;
@@ -292,7 +175,7 @@ export declare const ticketContract: {
292
175
  responses: {
293
176
  201: z.ZodObject<{
294
177
  requestId: z.ZodString;
295
- message: z.ZodObject<{
178
+ data: z.ZodObject<{
296
179
  id: z.ZodString;
297
180
  createdAt: z.ZodDate;
298
181
  updatedAt: z.ZodDate;
@@ -662,7 +545,7 @@ export declare const ticketContract: {
662
545
  ticketNumber?: number | undefined;
663
546
  }>;
664
547
  }, "strip", z.ZodTypeAny, {
665
- message: {
548
+ data: {
666
549
  type: string;
667
550
  id: string;
668
551
  channel: string;
@@ -722,7 +605,7 @@ export declare const ticketContract: {
722
605
  };
723
606
  requestId: string;
724
607
  }, {
725
- message: {
608
+ data: {
726
609
  type: string;
727
610
  id: string;
728
611
  channel: string;
@@ -1963,98 +1846,37 @@ export declare const ticketContract: {
1963
1846
  };
1964
1847
  updateTicket: {
1965
1848
  body: z.ZodObject<{
1966
- title: z.ZodObject<{
1967
- isRequired: z.ZodBoolean;
1968
- attributeId: z.ZodString;
1969
- value: z.ZodString;
1970
- }, "strip", z.ZodTypeAny, {
1971
- value: string;
1972
- isRequired: boolean;
1973
- attributeId: string;
1849
+ title: z.ZodEffects<z.AnyZodObject, {
1850
+ [x: string]: any;
1974
1851
  }, {
1975
- value: string;
1976
- isRequired: boolean;
1977
- attributeId: string;
1852
+ [x: string]: any;
1978
1853
  }>;
1979
- description: z.ZodObject<{
1980
- isRequired: z.ZodBoolean;
1981
- attributeId: z.ZodString;
1982
- value: z.ZodString;
1983
- }, "strip", z.ZodTypeAny, {
1984
- value: string;
1985
- isRequired: boolean;
1986
- attributeId: string;
1854
+ description: z.ZodEffects<z.AnyZodObject, {
1855
+ [x: string]: any;
1987
1856
  }, {
1988
- value: string;
1989
- isRequired: boolean;
1990
- attributeId: string;
1857
+ [x: string]: any;
1991
1858
  }>;
1992
- status: z.ZodObject<{
1993
- isRequired: z.ZodBoolean;
1994
- attributeId: z.ZodString;
1995
- value: z.ZodString;
1996
- }, "strip", z.ZodTypeAny, {
1997
- value: string;
1998
- isRequired: boolean;
1999
- attributeId: string;
1859
+ status: z.ZodEffects<z.AnyZodObject, {
1860
+ [x: string]: any;
2000
1861
  }, {
2001
- value: string;
2002
- isRequired: boolean;
2003
- attributeId: string;
1862
+ [x: string]: any;
2004
1863
  }>;
2005
- type: z.ZodObject<{
2006
- isRequired: z.ZodBoolean;
2007
- attributeId: z.ZodString;
2008
- value: z.ZodString;
2009
- }, "strip", z.ZodTypeAny, {
2010
- value: string;
2011
- isRequired: boolean;
2012
- attributeId: string;
1864
+ type: z.ZodEffects<z.AnyZodObject, {
1865
+ [x: string]: any;
2013
1866
  }, {
2014
- value: string;
2015
- isRequired: boolean;
2016
- attributeId: string;
1867
+ [x: string]: any;
2017
1868
  }>;
2018
- priority: z.ZodObject<{
2019
- isRequired: z.ZodBoolean;
2020
- attributeId: z.ZodString;
2021
- value: z.ZodString;
2022
- }, "strip", z.ZodTypeAny, {
2023
- value: string;
2024
- isRequired: boolean;
2025
- attributeId: string;
1869
+ priority: z.ZodEffects<z.AnyZodObject, {
1870
+ [x: string]: any;
2026
1871
  }, {
2027
- value: string;
2028
- isRequired: boolean;
2029
- attributeId: string;
1872
+ [x: string]: any;
2030
1873
  }>;
2031
- contact: z.ZodObject<{
2032
- isRequired: z.ZodBoolean;
2033
- attributeId: z.ZodString;
2034
- value: z.ZodString;
2035
- }, "strip", z.ZodTypeAny, {
2036
- value: string;
2037
- isRequired: boolean;
2038
- attributeId: string;
1874
+ contact: z.ZodEffects<z.AnyZodObject, {
1875
+ [x: string]: any;
2039
1876
  }, {
2040
- value: string;
2041
- isRequired: boolean;
2042
- attributeId: string;
1877
+ [x: string]: any;
2043
1878
  }>;
2044
1879
  assignee: z.ZodObject<{
2045
- isRequired: z.ZodBoolean;
2046
- attributeId: z.ZodOptional<z.ZodString>;
2047
- value: z.ZodOptional<z.ZodString>;
2048
- }, "strip", z.ZodTypeAny, {
2049
- isRequired: boolean;
2050
- attributeId?: string | undefined;
2051
- value?: string | undefined;
2052
- }, {
2053
- isRequired: boolean;
2054
- attributeId?: string | undefined;
2055
- value?: string | undefined;
2056
- }>;
2057
- channel: z.ZodObject<{
2058
1880
  isRequired: z.ZodBoolean;
2059
1881
  attributeId: z.ZodString;
2060
1882
  value: z.ZodString;
@@ -2067,18 +1889,15 @@ export declare const ticketContract: {
2067
1889
  isRequired: boolean;
2068
1890
  attributeId: string;
2069
1891
  }>;
2070
- tags: z.ZodObject<{
2071
- isRequired: z.ZodBoolean;
2072
- attributeId: z.ZodString;
2073
- value: z.ZodArray<z.ZodString, "many">;
2074
- }, "strip", z.ZodTypeAny, {
2075
- value: string[];
2076
- isRequired: boolean;
2077
- attributeId: string;
1892
+ channel: z.ZodEffects<z.AnyZodObject, {
1893
+ [x: string]: any;
2078
1894
  }, {
2079
- value: string[];
2080
- isRequired: boolean;
2081
- attributeId: string;
1895
+ [x: string]: any;
1896
+ }>;
1897
+ tags: z.ZodEffects<z.AnyZodObject, {
1898
+ [x: string]: any;
1899
+ }, {
1900
+ [x: string]: any;
2082
1901
  }>;
2083
1902
  categories: z.ZodObject<{
2084
1903
  isRequired: z.ZodBoolean;
@@ -2093,24 +1912,10 @@ export declare const ticketContract: {
2093
1912
  isRequired: boolean;
2094
1913
  attributeId: string;
2095
1914
  }>;
2096
- customFields: z.ZodArray<z.ZodObject<{
2097
- isRequired: z.ZodBoolean;
2098
- attributeId: z.ZodString;
2099
- value: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
2100
- type: z.ZodString;
2101
- isDefaultAttribute: z.ZodBoolean;
2102
- }, "strip", z.ZodTypeAny, {
2103
- type: string;
2104
- value: (string | string[]) & (string | string[] | undefined);
2105
- isRequired: boolean;
2106
- attributeId: string;
2107
- isDefaultAttribute: boolean;
1915
+ customFields: z.ZodArray<z.ZodEffects<z.AnyZodObject, {
1916
+ [x: string]: any;
2108
1917
  }, {
2109
- type: string;
2110
- value: (string | string[]) & (string | string[] | undefined);
2111
- isRequired: boolean;
2112
- attributeId: string;
2113
- isDefaultAttribute: boolean;
1918
+ [x: string]: any;
2114
1919
  }>, "many">;
2115
1920
  reasonToAssign: z.ZodOptional<z.ZodObject<{
2116
1921
  value: z.ZodString;
@@ -2121,34 +1926,22 @@ export declare const ticketContract: {
2121
1926
  }>>;
2122
1927
  }, "strip", z.ZodTypeAny, {
2123
1928
  type: {
2124
- value: string;
2125
- isRequired: boolean;
2126
- attributeId: string;
1929
+ [x: string]: any;
2127
1930
  };
2128
1931
  channel: {
2129
- value: string;
2130
- isRequired: boolean;
2131
- attributeId: string;
1932
+ [x: string]: any;
2132
1933
  };
2133
1934
  priority: {
2134
- value: string;
2135
- isRequired: boolean;
2136
- attributeId: string;
1935
+ [x: string]: any;
2137
1936
  };
2138
1937
  title: {
2139
- value: string;
2140
- isRequired: boolean;
2141
- attributeId: string;
1938
+ [x: string]: any;
2142
1939
  };
2143
1940
  description: {
2144
- value: string;
2145
- isRequired: boolean;
2146
- attributeId: string;
1941
+ [x: string]: any;
2147
1942
  };
2148
1943
  status: {
2149
- value: string;
2150
- isRequired: boolean;
2151
- attributeId: string;
1944
+ [x: string]: any;
2152
1945
  };
2153
1946
  categories: {
2154
1947
  value: string[];
@@ -2156,60 +1949,40 @@ export declare const ticketContract: {
2156
1949
  attributeId: string;
2157
1950
  };
2158
1951
  contact: {
2159
- value: string;
2160
- isRequired: boolean;
2161
- attributeId: string;
1952
+ [x: string]: any;
2162
1953
  };
2163
1954
  customFields: {
2164
- type: string;
2165
- value: (string | string[]) & (string | string[] | undefined);
2166
- isRequired: boolean;
2167
- attributeId: string;
2168
- isDefaultAttribute: boolean;
1955
+ [x: string]: any;
2169
1956
  }[];
2170
1957
  tags: {
2171
- value: string[];
2172
- isRequired: boolean;
2173
- attributeId: string;
1958
+ [x: string]: any;
2174
1959
  };
2175
1960
  assignee: {
1961
+ value: string;
2176
1962
  isRequired: boolean;
2177
- attributeId?: string | undefined;
2178
- value?: string | undefined;
1963
+ attributeId: string;
2179
1964
  };
2180
1965
  reasonToAssign?: {
2181
1966
  value: string;
2182
1967
  } | undefined;
2183
1968
  }, {
2184
1969
  type: {
2185
- value: string;
2186
- isRequired: boolean;
2187
- attributeId: string;
1970
+ [x: string]: any;
2188
1971
  };
2189
1972
  channel: {
2190
- value: string;
2191
- isRequired: boolean;
2192
- attributeId: string;
1973
+ [x: string]: any;
2193
1974
  };
2194
1975
  priority: {
2195
- value: string;
2196
- isRequired: boolean;
2197
- attributeId: string;
1976
+ [x: string]: any;
2198
1977
  };
2199
1978
  title: {
2200
- value: string;
2201
- isRequired: boolean;
2202
- attributeId: string;
1979
+ [x: string]: any;
2203
1980
  };
2204
1981
  description: {
2205
- value: string;
2206
- isRequired: boolean;
2207
- attributeId: string;
1982
+ [x: string]: any;
2208
1983
  };
2209
1984
  status: {
2210
- value: string;
2211
- isRequired: boolean;
2212
- attributeId: string;
1985
+ [x: string]: any;
2213
1986
  };
2214
1987
  categories: {
2215
1988
  value: string[];
@@ -2217,26 +1990,18 @@ export declare const ticketContract: {
2217
1990
  attributeId: string;
2218
1991
  };
2219
1992
  contact: {
2220
- value: string;
2221
- isRequired: boolean;
2222
- attributeId: string;
1993
+ [x: string]: any;
2223
1994
  };
2224
1995
  customFields: {
2225
- type: string;
2226
- value: (string | string[]) & (string | string[] | undefined);
2227
- isRequired: boolean;
2228
- attributeId: string;
2229
- isDefaultAttribute: boolean;
1996
+ [x: string]: any;
2230
1997
  }[];
2231
1998
  tags: {
2232
- value: string[];
2233
- isRequired: boolean;
2234
- attributeId: string;
1999
+ [x: string]: any;
2235
2000
  };
2236
2001
  assignee: {
2002
+ value: string;
2237
2003
  isRequired: boolean;
2238
- attributeId?: string | undefined;
2239
- value?: string | undefined;
2004
+ attributeId: string;
2240
2005
  };
2241
2006
  reasonToAssign?: {
2242
2007
  value: string;
@@ -4756,5 +4521,105 @@ export declare const ticketContract: {
4756
4521
  'x-client-timezone'?: string | undefined;
4757
4522
  }>>>;
4758
4523
  };
4524
+ exportTicket: {
4525
+ summary: "Export tickets";
4526
+ method: "GET";
4527
+ query: z.ZodObject<{
4528
+ agent: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4529
+ selectedDate: z.ZodOptional<z.ZodString>;
4530
+ keyword: z.ZodOptional<z.ZodString>;
4531
+ title: z.ZodOptional<z.ZodString>;
4532
+ description: z.ZodOptional<z.ZodString>;
4533
+ status: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4534
+ priority: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4535
+ channel: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4536
+ type: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4537
+ ticketType: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4538
+ contact: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4539
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4540
+ categories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4541
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
4542
+ attributeId: z.ZodString;
4543
+ type: z.ZodString;
4544
+ value: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
4545
+ }, "strip", z.ZodTypeAny, {
4546
+ type: string;
4547
+ value: (string | string[]) & (string | string[] | undefined);
4548
+ attributeId: string;
4549
+ }, {
4550
+ type: string;
4551
+ value: (string | string[]) & (string | string[] | undefined);
4552
+ attributeId: string;
4553
+ }>, "many">>;
4554
+ }, "strip", z.ZodTypeAny, {
4555
+ agent?: string[] | undefined;
4556
+ selectedDate?: string | undefined;
4557
+ keyword?: string | undefined;
4558
+ title?: string | undefined;
4559
+ description?: string | undefined;
4560
+ status?: string[] | undefined;
4561
+ priority?: string[] | undefined;
4562
+ channel?: string[] | undefined;
4563
+ type?: string[] | undefined;
4564
+ ticketType?: string[] | undefined;
4565
+ contact?: string[] | undefined;
4566
+ tags?: string[] | undefined;
4567
+ categories?: string[] | undefined;
4568
+ customFields?: {
4569
+ type: string;
4570
+ value: (string | string[]) & (string | string[] | undefined);
4571
+ attributeId: string;
4572
+ }[] | undefined;
4573
+ }, {
4574
+ agent?: string[] | undefined;
4575
+ selectedDate?: string | undefined;
4576
+ keyword?: string | undefined;
4577
+ title?: string | undefined;
4578
+ description?: string | undefined;
4579
+ status?: string[] | undefined;
4580
+ priority?: string[] | undefined;
4581
+ channel?: string[] | undefined;
4582
+ type?: string[] | undefined;
4583
+ ticketType?: string[] | undefined;
4584
+ contact?: string[] | undefined;
4585
+ tags?: string[] | undefined;
4586
+ categories?: string[] | undefined;
4587
+ customFields?: {
4588
+ type: string;
4589
+ value: (string | string[]) & (string | string[] | undefined);
4590
+ attributeId: string;
4591
+ }[] | undefined;
4592
+ }>;
4593
+ responses: {
4594
+ 200: null;
4595
+ 401: z.ZodObject<{
4596
+ message: z.ZodString;
4597
+ error: z.ZodAny;
4598
+ }, "strip", z.ZodTypeAny, {
4599
+ message: string;
4600
+ error?: any;
4601
+ }, {
4602
+ message: string;
4603
+ error?: any;
4604
+ }>;
4605
+ };
4606
+ path: "ticket/export";
4607
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4608
+ 'x-tenant': z.ZodString;
4609
+ authorization: z.ZodString;
4610
+ 'x-code': z.ZodOptional<z.ZodString>;
4611
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
4612
+ }, "strip", z.ZodTypeAny, {
4613
+ 'x-tenant': string;
4614
+ authorization: string;
4615
+ 'x-client-timezone': string;
4616
+ 'x-code'?: string | undefined;
4617
+ }, {
4618
+ 'x-tenant': string;
4619
+ authorization: string;
4620
+ 'x-code'?: string | undefined;
4621
+ 'x-client-timezone'?: string | undefined;
4622
+ }>>>;
4623
+ };
4759
4624
  };
4760
4625
  //# sourceMappingURL=index.d.ts.map