@kl1/contracts 1.0.32 → 1.0.34
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 +1828 -1631
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1826 -1631
- package/dist/index.mjs.map +1 -1
- package/dist/src/attribute/validation.d.ts.map +1 -1
- package/dist/src/call-log/validation.d.ts +2 -2
- package/dist/src/channel/index.d.ts +721 -299
- package/dist/src/channel/index.d.ts.map +1 -1
- package/dist/src/channel/validation.d.ts +0 -291
- package/dist/src/channel/validation.d.ts.map +1 -1
- package/dist/src/chat/index.d.ts +105 -104
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/schema.d.ts +16 -16
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +193 -67
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/company/index.d.ts +8 -85
- package/dist/src/company/index.d.ts.map +1 -1
- package/dist/src/company/schema.d.ts +137 -0
- package/dist/src/company/schema.d.ts.map +1 -1
- package/dist/src/company/validation.d.ts +0 -40
- package/dist/src/company/validation.d.ts.map +1 -1
- package/dist/src/contact/index.d.ts +1191 -1191
- package/dist/src/contract.d.ts +3890 -2961
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/cx-log/index.d.ts +22 -22
- package/dist/src/cx-log/schema.d.ts +16 -16
- package/dist/src/dashboard/index.d.ts +11 -7
- package/dist/src/dashboard/index.d.ts.map +1 -1
- package/dist/src/dashboard/schema.d.ts +127 -2
- package/dist/src/dashboard/schema.d.ts.map +1 -1
- package/dist/src/evaluate-form/schema.d.ts +6 -6
- package/dist/src/index.d.ts +2 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/mail/mail-contract.d.ts +42 -42
- 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 +1212 -707
- package/dist/src/messenger/index.d.ts.map +1 -1
- package/dist/src/messenger/validation.d.ts +108 -1
- package/dist/src/messenger/validation.d.ts.map +1 -1
- package/dist/src/telephony-cdr/index.d.ts +112 -1
- package/dist/src/telephony-cdr/index.d.ts.map +1 -1
- package/dist/src/telephony-cdr/validation.d.ts +46 -0
- package/dist/src/telephony-cdr/validation.d.ts.map +1 -1
- package/dist/src/ticket/index.d.ts +207 -342
- package/dist/src/ticket/index.d.ts.map +1 -1
- package/dist/src/ticket/validation.d.ts +168 -338
- package/dist/src/ticket/validation.d.ts.map +1 -1
- package/dist/src/widget/index.d.ts +72 -1
- package/dist/src/widget/index.d.ts.map +1 -1
- package/dist/src/widget/validation.d.ts +10 -0
- package/dist/src/widget/validation.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -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.
|
|
14
|
-
|
|
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
|
-
|
|
23
|
-
isRequired: boolean;
|
|
24
|
-
attributeId: string;
|
|
16
|
+
[x: string]: any;
|
|
25
17
|
}>;
|
|
26
|
-
description: z.
|
|
27
|
-
|
|
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
|
-
|
|
36
|
-
isRequired: boolean;
|
|
37
|
-
attributeId: string;
|
|
21
|
+
[x: string]: any;
|
|
38
22
|
}>;
|
|
39
|
-
status: z.
|
|
40
|
-
|
|
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
|
-
|
|
49
|
-
isRequired: boolean;
|
|
50
|
-
attributeId: string;
|
|
26
|
+
[x: string]: any;
|
|
51
27
|
}>;
|
|
52
|
-
type: z.
|
|
53
|
-
|
|
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
|
-
|
|
62
|
-
isRequired: boolean;
|
|
63
|
-
attributeId: string;
|
|
31
|
+
[x: string]: any;
|
|
64
32
|
}>;
|
|
65
|
-
priority: z.
|
|
66
|
-
|
|
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
|
-
|
|
75
|
-
isRequired: boolean;
|
|
76
|
-
attributeId: string;
|
|
36
|
+
[x: string]: any;
|
|
77
37
|
}>;
|
|
78
|
-
contact: z.
|
|
79
|
-
|
|
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
|
-
|
|
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
|
-
|
|
118
|
-
|
|
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
|
-
|
|
127
|
-
|
|
128
|
-
|
|
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.
|
|
144
|
-
|
|
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
|
-
|
|
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
|
-
|
|
172
|
-
isRequired: boolean;
|
|
173
|
-
attributeId: string;
|
|
93
|
+
[x: string]: any;
|
|
174
94
|
};
|
|
175
95
|
channel: {
|
|
176
|
-
|
|
177
|
-
isRequired: boolean;
|
|
178
|
-
attributeId: string;
|
|
96
|
+
[x: string]: any;
|
|
179
97
|
};
|
|
180
98
|
priority: {
|
|
181
|
-
|
|
182
|
-
isRequired: boolean;
|
|
183
|
-
attributeId: string;
|
|
99
|
+
[x: string]: any;
|
|
184
100
|
};
|
|
185
101
|
title: {
|
|
186
|
-
|
|
187
|
-
isRequired: boolean;
|
|
188
|
-
attributeId: string;
|
|
102
|
+
[x: string]: any;
|
|
189
103
|
};
|
|
190
104
|
description: {
|
|
191
|
-
|
|
192
|
-
isRequired: boolean;
|
|
193
|
-
attributeId: string;
|
|
105
|
+
[x: string]: any;
|
|
194
106
|
};
|
|
195
107
|
status: {
|
|
196
|
-
|
|
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
|
-
|
|
207
|
-
isRequired: boolean;
|
|
208
|
-
attributeId: string;
|
|
116
|
+
[x: string]: any;
|
|
209
117
|
};
|
|
210
118
|
customFields: {
|
|
211
|
-
|
|
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
|
-
|
|
219
|
-
isRequired: boolean;
|
|
220
|
-
attributeId: string;
|
|
122
|
+
[x: string]: any;
|
|
221
123
|
};
|
|
222
124
|
assignee: {
|
|
125
|
+
value: string;
|
|
223
126
|
isRequired: boolean;
|
|
224
|
-
attributeId
|
|
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
|
-
|
|
233
|
-
isRequired: boolean;
|
|
234
|
-
attributeId: string;
|
|
134
|
+
[x: string]: any;
|
|
235
135
|
};
|
|
236
136
|
channel: {
|
|
237
|
-
|
|
238
|
-
isRequired: boolean;
|
|
239
|
-
attributeId: string;
|
|
137
|
+
[x: string]: any;
|
|
240
138
|
};
|
|
241
139
|
priority: {
|
|
242
|
-
|
|
243
|
-
isRequired: boolean;
|
|
244
|
-
attributeId: string;
|
|
140
|
+
[x: string]: any;
|
|
245
141
|
};
|
|
246
142
|
title: {
|
|
247
|
-
|
|
248
|
-
isRequired: boolean;
|
|
249
|
-
attributeId: string;
|
|
143
|
+
[x: string]: any;
|
|
250
144
|
};
|
|
251
145
|
description: {
|
|
252
|
-
|
|
253
|
-
isRequired: boolean;
|
|
254
|
-
attributeId: string;
|
|
146
|
+
[x: string]: any;
|
|
255
147
|
};
|
|
256
148
|
status: {
|
|
257
|
-
|
|
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
|
-
|
|
268
|
-
isRequired: boolean;
|
|
269
|
-
attributeId: string;
|
|
157
|
+
[x: string]: any;
|
|
270
158
|
};
|
|
271
159
|
customFields: {
|
|
272
|
-
|
|
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
|
-
|
|
280
|
-
isRequired: boolean;
|
|
281
|
-
attributeId: string;
|
|
163
|
+
[x: string]: any;
|
|
282
164
|
};
|
|
283
165
|
assignee: {
|
|
166
|
+
value: string;
|
|
284
167
|
isRequired: boolean;
|
|
285
|
-
attributeId
|
|
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.
|
|
294
|
-
|
|
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
|
-
|
|
303
|
-
isRequired: boolean;
|
|
304
|
-
attributeId: string;
|
|
178
|
+
[x: string]: any;
|
|
305
179
|
}>;
|
|
306
|
-
description: z.
|
|
307
|
-
|
|
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
|
-
|
|
316
|
-
isRequired: boolean;
|
|
317
|
-
attributeId: string;
|
|
183
|
+
[x: string]: any;
|
|
318
184
|
}>;
|
|
319
|
-
status: z.
|
|
320
|
-
|
|
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
|
-
|
|
329
|
-
isRequired: boolean;
|
|
330
|
-
attributeId: string;
|
|
188
|
+
[x: string]: any;
|
|
331
189
|
}>;
|
|
332
|
-
type: z.
|
|
333
|
-
|
|
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
|
-
|
|
342
|
-
isRequired: boolean;
|
|
343
|
-
attributeId: string;
|
|
193
|
+
[x: string]: any;
|
|
344
194
|
}>;
|
|
345
|
-
priority: z.
|
|
346
|
-
|
|
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
|
-
|
|
355
|
-
isRequired: boolean;
|
|
356
|
-
attributeId: string;
|
|
198
|
+
[x: string]: any;
|
|
357
199
|
}>;
|
|
358
|
-
contact: z.
|
|
359
|
-
|
|
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
|
-
|
|
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
|
-
|
|
398
|
-
|
|
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
|
-
|
|
407
|
-
|
|
408
|
-
|
|
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.
|
|
424
|
-
|
|
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
|
-
|
|
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
|
-
|
|
452
|
-
isRequired: boolean;
|
|
453
|
-
attributeId: string;
|
|
255
|
+
[x: string]: any;
|
|
454
256
|
};
|
|
455
257
|
channel: {
|
|
456
|
-
|
|
457
|
-
isRequired: boolean;
|
|
458
|
-
attributeId: string;
|
|
258
|
+
[x: string]: any;
|
|
459
259
|
};
|
|
460
260
|
priority: {
|
|
461
|
-
|
|
462
|
-
isRequired: boolean;
|
|
463
|
-
attributeId: string;
|
|
261
|
+
[x: string]: any;
|
|
464
262
|
};
|
|
465
263
|
title: {
|
|
466
|
-
|
|
467
|
-
isRequired: boolean;
|
|
468
|
-
attributeId: string;
|
|
264
|
+
[x: string]: any;
|
|
469
265
|
};
|
|
470
266
|
description: {
|
|
471
|
-
|
|
472
|
-
isRequired: boolean;
|
|
473
|
-
attributeId: string;
|
|
267
|
+
[x: string]: any;
|
|
474
268
|
};
|
|
475
269
|
status: {
|
|
476
|
-
|
|
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
|
-
|
|
487
|
-
isRequired: boolean;
|
|
488
|
-
attributeId: string;
|
|
278
|
+
[x: string]: any;
|
|
489
279
|
};
|
|
490
280
|
customFields: {
|
|
491
|
-
|
|
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
|
-
|
|
499
|
-
isRequired: boolean;
|
|
500
|
-
attributeId: string;
|
|
284
|
+
[x: string]: any;
|
|
501
285
|
};
|
|
502
286
|
assignee: {
|
|
287
|
+
value: string;
|
|
503
288
|
isRequired: boolean;
|
|
504
|
-
attributeId
|
|
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
|
-
|
|
513
|
-
isRequired: boolean;
|
|
514
|
-
attributeId: string;
|
|
296
|
+
[x: string]: any;
|
|
515
297
|
};
|
|
516
298
|
channel: {
|
|
517
|
-
|
|
518
|
-
isRequired: boolean;
|
|
519
|
-
attributeId: string;
|
|
299
|
+
[x: string]: any;
|
|
520
300
|
};
|
|
521
301
|
priority: {
|
|
522
|
-
|
|
523
|
-
isRequired: boolean;
|
|
524
|
-
attributeId: string;
|
|
302
|
+
[x: string]: any;
|
|
525
303
|
};
|
|
526
304
|
title: {
|
|
527
|
-
|
|
528
|
-
isRequired: boolean;
|
|
529
|
-
attributeId: string;
|
|
305
|
+
[x: string]: any;
|
|
530
306
|
};
|
|
531
307
|
description: {
|
|
532
|
-
|
|
533
|
-
isRequired: boolean;
|
|
534
|
-
attributeId: string;
|
|
308
|
+
[x: string]: any;
|
|
535
309
|
};
|
|
536
310
|
status: {
|
|
537
|
-
|
|
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
|
-
|
|
548
|
-
isRequired: boolean;
|
|
549
|
-
attributeId: string;
|
|
319
|
+
[x: string]: any;
|
|
550
320
|
};
|
|
551
321
|
customFields: {
|
|
552
|
-
|
|
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
|
-
|
|
560
|
-
isRequired: boolean;
|
|
561
|
-
attributeId: string;
|
|
325
|
+
[x: string]: any;
|
|
562
326
|
};
|
|
563
327
|
assignee: {
|
|
328
|
+
value: string;
|
|
564
329
|
isRequired: boolean;
|
|
565
|
-
attributeId
|
|
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
|