@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.
- package/dist/index.js +1649 -1714
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1647 -1712
- package/dist/index.mjs.map +1 -1
- package/dist/src/app/index.d.ts +17 -0
- package/dist/src/app/index.d.ts.map +1 -0
- package/dist/src/channel/index.d.ts +20 -200
- package/dist/src/channel/index.d.ts.map +1 -1
- package/dist/src/channel/validation.d.ts +12 -6
- package/dist/src/channel/validation.d.ts.map +1 -1
- package/dist/src/chat/index.d.ts +32 -32
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/schema.d.ts +4 -4
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +45 -171
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/company/index.d.ts +5 -8
- package/dist/src/company/index.d.ts.map +1 -1
- package/dist/src/company/schema.d.ts +0 -137
- package/dist/src/company/schema.d.ts.map +1 -1
- package/dist/src/contact/index.d.ts +1103 -1103
- package/dist/src/contract.d.ts +1825 -2025
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/dashboard/index.d.ts +7 -11
- package/dist/src/dashboard/index.d.ts.map +1 -1
- package/dist/src/dashboard/schema.d.ts +2 -127
- package/dist/src/dashboard/schema.d.ts.map +1 -1
- package/dist/src/index.d.ts +1 -3
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/mail/mail-contract.d.ts +42 -42
- package/dist/src/mail/mail-server.d.ts +216 -0
- package/dist/src/mail/mail-server.d.ts.map +1 -0
- package/dist/src/mail/room-contract.d.ts +42 -42
- package/dist/src/mail/schemas/room-validation.schema.d.ts +14 -14
- package/dist/src/mail/schemas/room.schema.d.ts +10 -10
- package/dist/src/messenger/index.d.ts +693 -1198
- package/dist/src/messenger/index.d.ts.map +1 -1
- package/dist/src/messenger/validation.d.ts +1 -108
- package/dist/src/messenger/validation.d.ts.map +1 -1
- package/dist/src/platform-contact/schema.d.ts +30 -0
- package/dist/src/platform-contact/schema.d.ts.map +1 -0
- package/dist/src/telephony-cdr/index.d.ts +458 -1
- package/dist/src/telephony-cdr/index.d.ts.map +1 -1
- package/dist/src/telephony-cdr/validation.d.ts +74 -0
- package/dist/src/telephony-cdr/validation.d.ts.map +1 -1
- package/dist/src/ticket/index.d.ts +342 -207
- package/dist/src/ticket/index.d.ts.map +1 -1
- package/dist/src/ticket/validation.d.ts +338 -168
- package/dist/src/ticket/validation.d.ts.map +1 -1
- package/dist/src/widget/index.d.ts +1 -72
- package/dist/src/widget/index.d.ts.map +1 -1
- package/dist/src/widget/validation.d.ts +0 -10
- package/dist/src/widget/validation.d.ts.map +1 -1
- package/package.json +1 -1
@@ -1,45 +1,105 @@
|
|
1
1
|
import z from 'zod';
|
2
|
-
import { CreateTicketAttachmentRecordsSchema, CreateTicketValidationSchema, UpdateTicketValidationSchema, GetAllTicketQuerySchema, TicketParamsSchema
|
2
|
+
import { CreateTicketAttachmentRecordsSchema, CreateTicketValidationSchema, UpdateTicketValidationSchema, GetAllTicketQuerySchema, TicketParamsSchema } 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>;
|
9
8
|
export declare const ticketContract: {
|
10
9
|
createTicket: {
|
11
10
|
body: z.ZodObject<{
|
12
|
-
title: z.
|
13
|
-
|
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;
|
14
19
|
}, {
|
15
|
-
|
20
|
+
value: string;
|
21
|
+
isRequired: boolean;
|
22
|
+
attributeId: string;
|
16
23
|
}>;
|
17
|
-
description: z.
|
18
|
-
|
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;
|
19
32
|
}, {
|
20
|
-
|
33
|
+
value: string;
|
34
|
+
isRequired: boolean;
|
35
|
+
attributeId: string;
|
21
36
|
}>;
|
22
|
-
status: z.
|
23
|
-
|
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;
|
24
45
|
}, {
|
25
|
-
|
46
|
+
value: string;
|
47
|
+
isRequired: boolean;
|
48
|
+
attributeId: string;
|
26
49
|
}>;
|
27
|
-
type: z.
|
28
|
-
|
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;
|
29
58
|
}, {
|
30
|
-
|
59
|
+
value: string;
|
60
|
+
isRequired: boolean;
|
61
|
+
attributeId: string;
|
31
62
|
}>;
|
32
|
-
priority: z.
|
33
|
-
|
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;
|
34
71
|
}, {
|
35
|
-
|
72
|
+
value: string;
|
73
|
+
isRequired: boolean;
|
74
|
+
attributeId: string;
|
36
75
|
}>;
|
37
|
-
contact: z.
|
38
|
-
|
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;
|
39
84
|
}, {
|
40
|
-
|
85
|
+
value: string;
|
86
|
+
isRequired: boolean;
|
87
|
+
attributeId: string;
|
41
88
|
}>;
|
42
89
|
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<{
|
43
103
|
isRequired: z.ZodBoolean;
|
44
104
|
attributeId: z.ZodString;
|
45
105
|
value: z.ZodString;
|
@@ -52,15 +112,18 @@ export declare const ticketContract: {
|
|
52
112
|
isRequired: boolean;
|
53
113
|
attributeId: string;
|
54
114
|
}>;
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
}
|
60
|
-
|
61
|
-
|
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;
|
62
123
|
}, {
|
63
|
-
|
124
|
+
value: string[];
|
125
|
+
isRequired: boolean;
|
126
|
+
attributeId: string;
|
64
127
|
}>;
|
65
128
|
categories: z.ZodObject<{
|
66
129
|
isRequired: z.ZodBoolean;
|
@@ -75,10 +138,24 @@ export declare const ticketContract: {
|
|
75
138
|
isRequired: boolean;
|
76
139
|
attributeId: string;
|
77
140
|
}>;
|
78
|
-
customFields: z.ZodArray<z.
|
79
|
-
|
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;
|
80
153
|
}, {
|
81
|
-
|
154
|
+
type: string;
|
155
|
+
value: (string | string[]) & (string | string[] | undefined);
|
156
|
+
isRequired: boolean;
|
157
|
+
attributeId: string;
|
158
|
+
isDefaultAttribute: boolean;
|
82
159
|
}>, "many">;
|
83
160
|
reasonToAssign: z.ZodOptional<z.ZodObject<{
|
84
161
|
value: z.ZodString;
|
@@ -89,22 +166,34 @@ export declare const ticketContract: {
|
|
89
166
|
}>>;
|
90
167
|
}, "strip", z.ZodTypeAny, {
|
91
168
|
type: {
|
92
|
-
|
169
|
+
value: string;
|
170
|
+
isRequired: boolean;
|
171
|
+
attributeId: string;
|
93
172
|
};
|
94
173
|
channel: {
|
95
|
-
|
174
|
+
value: string;
|
175
|
+
isRequired: boolean;
|
176
|
+
attributeId: string;
|
96
177
|
};
|
97
178
|
priority: {
|
98
|
-
|
179
|
+
value: string;
|
180
|
+
isRequired: boolean;
|
181
|
+
attributeId: string;
|
99
182
|
};
|
100
183
|
title: {
|
101
|
-
|
184
|
+
value: string;
|
185
|
+
isRequired: boolean;
|
186
|
+
attributeId: string;
|
102
187
|
};
|
103
188
|
description: {
|
104
|
-
|
189
|
+
value: string;
|
190
|
+
isRequired: boolean;
|
191
|
+
attributeId: string;
|
105
192
|
};
|
106
193
|
status: {
|
107
|
-
|
194
|
+
value: string;
|
195
|
+
isRequired: boolean;
|
196
|
+
attributeId: string;
|
108
197
|
};
|
109
198
|
categories: {
|
110
199
|
value: string[];
|
@@ -112,40 +201,60 @@ export declare const ticketContract: {
|
|
112
201
|
attributeId: string;
|
113
202
|
};
|
114
203
|
contact: {
|
115
|
-
|
204
|
+
value: string;
|
205
|
+
isRequired: boolean;
|
206
|
+
attributeId: string;
|
116
207
|
};
|
117
208
|
customFields: {
|
118
|
-
|
209
|
+
type: string;
|
210
|
+
value: (string | string[]) & (string | string[] | undefined);
|
211
|
+
isRequired: boolean;
|
212
|
+
attributeId: string;
|
213
|
+
isDefaultAttribute: boolean;
|
119
214
|
}[];
|
120
215
|
tags: {
|
121
|
-
|
216
|
+
value: string[];
|
217
|
+
isRequired: boolean;
|
218
|
+
attributeId: string;
|
122
219
|
};
|
123
220
|
assignee: {
|
124
|
-
value: string;
|
125
221
|
isRequired: boolean;
|
126
|
-
attributeId
|
222
|
+
attributeId?: string | undefined;
|
223
|
+
value?: string | undefined;
|
127
224
|
};
|
128
225
|
reasonToAssign?: {
|
129
226
|
value: string;
|
130
227
|
} | undefined;
|
131
228
|
}, {
|
132
229
|
type: {
|
133
|
-
|
230
|
+
value: string;
|
231
|
+
isRequired: boolean;
|
232
|
+
attributeId: string;
|
134
233
|
};
|
135
234
|
channel: {
|
136
|
-
|
235
|
+
value: string;
|
236
|
+
isRequired: boolean;
|
237
|
+
attributeId: string;
|
137
238
|
};
|
138
239
|
priority: {
|
139
|
-
|
240
|
+
value: string;
|
241
|
+
isRequired: boolean;
|
242
|
+
attributeId: string;
|
140
243
|
};
|
141
244
|
title: {
|
142
|
-
|
245
|
+
value: string;
|
246
|
+
isRequired: boolean;
|
247
|
+
attributeId: string;
|
143
248
|
};
|
144
249
|
description: {
|
145
|
-
|
250
|
+
value: string;
|
251
|
+
isRequired: boolean;
|
252
|
+
attributeId: string;
|
146
253
|
};
|
147
254
|
status: {
|
148
|
-
|
255
|
+
value: string;
|
256
|
+
isRequired: boolean;
|
257
|
+
attributeId: string;
|
149
258
|
};
|
150
259
|
categories: {
|
151
260
|
value: string[];
|
@@ -153,18 +262,26 @@ export declare const ticketContract: {
|
|
153
262
|
attributeId: string;
|
154
263
|
};
|
155
264
|
contact: {
|
156
|
-
|
265
|
+
value: string;
|
266
|
+
isRequired: boolean;
|
267
|
+
attributeId: string;
|
157
268
|
};
|
158
269
|
customFields: {
|
159
|
-
|
270
|
+
type: string;
|
271
|
+
value: (string | string[]) & (string | string[] | undefined);
|
272
|
+
isRequired: boolean;
|
273
|
+
attributeId: string;
|
274
|
+
isDefaultAttribute: boolean;
|
160
275
|
}[];
|
161
276
|
tags: {
|
162
|
-
|
277
|
+
value: string[];
|
278
|
+
isRequired: boolean;
|
279
|
+
attributeId: string;
|
163
280
|
};
|
164
281
|
assignee: {
|
165
|
-
value: string;
|
166
282
|
isRequired: boolean;
|
167
|
-
attributeId
|
283
|
+
attributeId?: string | undefined;
|
284
|
+
value?: string | undefined;
|
168
285
|
};
|
169
286
|
reasonToAssign?: {
|
170
287
|
value: string;
|
@@ -175,7 +292,7 @@ export declare const ticketContract: {
|
|
175
292
|
responses: {
|
176
293
|
201: z.ZodObject<{
|
177
294
|
requestId: z.ZodString;
|
178
|
-
|
295
|
+
message: z.ZodObject<{
|
179
296
|
id: z.ZodString;
|
180
297
|
createdAt: z.ZodDate;
|
181
298
|
updatedAt: z.ZodDate;
|
@@ -545,7 +662,7 @@ export declare const ticketContract: {
|
|
545
662
|
ticketNumber?: number | undefined;
|
546
663
|
}>;
|
547
664
|
}, "strip", z.ZodTypeAny, {
|
548
|
-
|
665
|
+
message: {
|
549
666
|
type: string;
|
550
667
|
id: string;
|
551
668
|
channel: string;
|
@@ -605,7 +722,7 @@ export declare const ticketContract: {
|
|
605
722
|
};
|
606
723
|
requestId: string;
|
607
724
|
}, {
|
608
|
-
|
725
|
+
message: {
|
609
726
|
type: string;
|
610
727
|
id: string;
|
611
728
|
channel: string;
|
@@ -1846,37 +1963,98 @@ export declare const ticketContract: {
|
|
1846
1963
|
};
|
1847
1964
|
updateTicket: {
|
1848
1965
|
body: z.ZodObject<{
|
1849
|
-
title: z.
|
1850
|
-
|
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;
|
1851
1974
|
}, {
|
1852
|
-
|
1975
|
+
value: string;
|
1976
|
+
isRequired: boolean;
|
1977
|
+
attributeId: string;
|
1853
1978
|
}>;
|
1854
|
-
description: z.
|
1855
|
-
|
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;
|
1856
1987
|
}, {
|
1857
|
-
|
1988
|
+
value: string;
|
1989
|
+
isRequired: boolean;
|
1990
|
+
attributeId: string;
|
1858
1991
|
}>;
|
1859
|
-
status: z.
|
1860
|
-
|
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;
|
1861
2000
|
}, {
|
1862
|
-
|
2001
|
+
value: string;
|
2002
|
+
isRequired: boolean;
|
2003
|
+
attributeId: string;
|
1863
2004
|
}>;
|
1864
|
-
type: z.
|
1865
|
-
|
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;
|
1866
2013
|
}, {
|
1867
|
-
|
2014
|
+
value: string;
|
2015
|
+
isRequired: boolean;
|
2016
|
+
attributeId: string;
|
1868
2017
|
}>;
|
1869
|
-
priority: z.
|
1870
|
-
|
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;
|
1871
2026
|
}, {
|
1872
|
-
|
2027
|
+
value: string;
|
2028
|
+
isRequired: boolean;
|
2029
|
+
attributeId: string;
|
1873
2030
|
}>;
|
1874
|
-
contact: z.
|
1875
|
-
|
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;
|
1876
2039
|
}, {
|
1877
|
-
|
2040
|
+
value: string;
|
2041
|
+
isRequired: boolean;
|
2042
|
+
attributeId: string;
|
1878
2043
|
}>;
|
1879
2044
|
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<{
|
1880
2058
|
isRequired: z.ZodBoolean;
|
1881
2059
|
attributeId: z.ZodString;
|
1882
2060
|
value: z.ZodString;
|
@@ -1889,15 +2067,18 @@ export declare const ticketContract: {
|
|
1889
2067
|
isRequired: boolean;
|
1890
2068
|
attributeId: string;
|
1891
2069
|
}>;
|
1892
|
-
|
1893
|
-
|
1894
|
-
|
1895
|
-
|
1896
|
-
}
|
1897
|
-
|
1898
|
-
|
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;
|
1899
2078
|
}, {
|
1900
|
-
|
2079
|
+
value: string[];
|
2080
|
+
isRequired: boolean;
|
2081
|
+
attributeId: string;
|
1901
2082
|
}>;
|
1902
2083
|
categories: z.ZodObject<{
|
1903
2084
|
isRequired: z.ZodBoolean;
|
@@ -1912,10 +2093,24 @@ export declare const ticketContract: {
|
|
1912
2093
|
isRequired: boolean;
|
1913
2094
|
attributeId: string;
|
1914
2095
|
}>;
|
1915
|
-
customFields: z.ZodArray<z.
|
1916
|
-
|
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;
|
1917
2108
|
}, {
|
1918
|
-
|
2109
|
+
type: string;
|
2110
|
+
value: (string | string[]) & (string | string[] | undefined);
|
2111
|
+
isRequired: boolean;
|
2112
|
+
attributeId: string;
|
2113
|
+
isDefaultAttribute: boolean;
|
1919
2114
|
}>, "many">;
|
1920
2115
|
reasonToAssign: z.ZodOptional<z.ZodObject<{
|
1921
2116
|
value: z.ZodString;
|
@@ -1926,22 +2121,34 @@ export declare const ticketContract: {
|
|
1926
2121
|
}>>;
|
1927
2122
|
}, "strip", z.ZodTypeAny, {
|
1928
2123
|
type: {
|
1929
|
-
|
2124
|
+
value: string;
|
2125
|
+
isRequired: boolean;
|
2126
|
+
attributeId: string;
|
1930
2127
|
};
|
1931
2128
|
channel: {
|
1932
|
-
|
2129
|
+
value: string;
|
2130
|
+
isRequired: boolean;
|
2131
|
+
attributeId: string;
|
1933
2132
|
};
|
1934
2133
|
priority: {
|
1935
|
-
|
2134
|
+
value: string;
|
2135
|
+
isRequired: boolean;
|
2136
|
+
attributeId: string;
|
1936
2137
|
};
|
1937
2138
|
title: {
|
1938
|
-
|
2139
|
+
value: string;
|
2140
|
+
isRequired: boolean;
|
2141
|
+
attributeId: string;
|
1939
2142
|
};
|
1940
2143
|
description: {
|
1941
|
-
|
2144
|
+
value: string;
|
2145
|
+
isRequired: boolean;
|
2146
|
+
attributeId: string;
|
1942
2147
|
};
|
1943
2148
|
status: {
|
1944
|
-
|
2149
|
+
value: string;
|
2150
|
+
isRequired: boolean;
|
2151
|
+
attributeId: string;
|
1945
2152
|
};
|
1946
2153
|
categories: {
|
1947
2154
|
value: string[];
|
@@ -1949,40 +2156,60 @@ export declare const ticketContract: {
|
|
1949
2156
|
attributeId: string;
|
1950
2157
|
};
|
1951
2158
|
contact: {
|
1952
|
-
|
2159
|
+
value: string;
|
2160
|
+
isRequired: boolean;
|
2161
|
+
attributeId: string;
|
1953
2162
|
};
|
1954
2163
|
customFields: {
|
1955
|
-
|
2164
|
+
type: string;
|
2165
|
+
value: (string | string[]) & (string | string[] | undefined);
|
2166
|
+
isRequired: boolean;
|
2167
|
+
attributeId: string;
|
2168
|
+
isDefaultAttribute: boolean;
|
1956
2169
|
}[];
|
1957
2170
|
tags: {
|
1958
|
-
|
2171
|
+
value: string[];
|
2172
|
+
isRequired: boolean;
|
2173
|
+
attributeId: string;
|
1959
2174
|
};
|
1960
2175
|
assignee: {
|
1961
|
-
value: string;
|
1962
2176
|
isRequired: boolean;
|
1963
|
-
attributeId
|
2177
|
+
attributeId?: string | undefined;
|
2178
|
+
value?: string | undefined;
|
1964
2179
|
};
|
1965
2180
|
reasonToAssign?: {
|
1966
2181
|
value: string;
|
1967
2182
|
} | undefined;
|
1968
2183
|
}, {
|
1969
2184
|
type: {
|
1970
|
-
|
2185
|
+
value: string;
|
2186
|
+
isRequired: boolean;
|
2187
|
+
attributeId: string;
|
1971
2188
|
};
|
1972
2189
|
channel: {
|
1973
|
-
|
2190
|
+
value: string;
|
2191
|
+
isRequired: boolean;
|
2192
|
+
attributeId: string;
|
1974
2193
|
};
|
1975
2194
|
priority: {
|
1976
|
-
|
2195
|
+
value: string;
|
2196
|
+
isRequired: boolean;
|
2197
|
+
attributeId: string;
|
1977
2198
|
};
|
1978
2199
|
title: {
|
1979
|
-
|
2200
|
+
value: string;
|
2201
|
+
isRequired: boolean;
|
2202
|
+
attributeId: string;
|
1980
2203
|
};
|
1981
2204
|
description: {
|
1982
|
-
|
2205
|
+
value: string;
|
2206
|
+
isRequired: boolean;
|
2207
|
+
attributeId: string;
|
1983
2208
|
};
|
1984
2209
|
status: {
|
1985
|
-
|
2210
|
+
value: string;
|
2211
|
+
isRequired: boolean;
|
2212
|
+
attributeId: string;
|
1986
2213
|
};
|
1987
2214
|
categories: {
|
1988
2215
|
value: string[];
|
@@ -1990,18 +2217,26 @@ export declare const ticketContract: {
|
|
1990
2217
|
attributeId: string;
|
1991
2218
|
};
|
1992
2219
|
contact: {
|
1993
|
-
|
2220
|
+
value: string;
|
2221
|
+
isRequired: boolean;
|
2222
|
+
attributeId: string;
|
1994
2223
|
};
|
1995
2224
|
customFields: {
|
1996
|
-
|
2225
|
+
type: string;
|
2226
|
+
value: (string | string[]) & (string | string[] | undefined);
|
2227
|
+
isRequired: boolean;
|
2228
|
+
attributeId: string;
|
2229
|
+
isDefaultAttribute: boolean;
|
1997
2230
|
}[];
|
1998
2231
|
tags: {
|
1999
|
-
|
2232
|
+
value: string[];
|
2233
|
+
isRequired: boolean;
|
2234
|
+
attributeId: string;
|
2000
2235
|
};
|
2001
2236
|
assignee: {
|
2002
|
-
value: string;
|
2003
2237
|
isRequired: boolean;
|
2004
|
-
attributeId
|
2238
|
+
attributeId?: string | undefined;
|
2239
|
+
value?: string | undefined;
|
2005
2240
|
};
|
2006
2241
|
reasonToAssign?: {
|
2007
2242
|
value: string;
|
@@ -4521,105 +4756,5 @@ export declare const ticketContract: {
|
|
4521
4756
|
'x-client-timezone'?: string | undefined;
|
4522
4757
|
}>>>;
|
4523
4758
|
};
|
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
|
-
};
|
4624
4759
|
};
|
4625
4760
|
//# sourceMappingURL=index.d.ts.map
|