@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.
- package/dist/index.js +144 -56
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +143 -56
- 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/attribute/index.d.ts +108 -108
- package/dist/src/attribute/schema.d.ts +24 -24
- package/dist/src/attribute-option/schema.d.ts +9 -9
- package/dist/src/base-contract.d.ts +9 -9
- package/dist/src/call-log/schema.d.ts +9 -9
- package/dist/src/category/index.d.ts +42 -42
- package/dist/src/category/schema.d.ts +9 -9
- package/dist/src/channel/index.d.ts +38 -38
- package/dist/src/channel/schema.d.ts +9 -9
- package/dist/src/chat/index.d.ts +5335 -5335
- package/dist/src/chat/schema.d.ts +876 -876
- package/dist/src/chat/validation.d.ts +1008 -1008
- package/dist/src/comment/index.d.ts +363 -363
- package/dist/src/comment/schema.d.ts +105 -105
- package/dist/src/company/index.d.ts +288 -288
- package/dist/src/company/schema.d.ts +87 -87
- package/dist/src/company/validation.d.ts +162 -162
- package/dist/src/contact/index.d.ts +1212 -1212
- package/dist/src/contact/schema.d.ts +201 -201
- package/dist/src/contact/validation.d.ts +997 -997
- package/dist/src/contact-email/schema.d.ts +9 -9
- package/dist/src/contact-phone/schema.d.ts +9 -9
- package/dist/src/contract.d.ts +9737 -9761
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/custom-field/schema.d.ts +9 -9
- package/dist/src/custom-field-upload/schema.d.ts +9 -9
- package/dist/src/cx-log/index.d.ts +621 -621
- package/dist/src/cx-log/schema.d.ts +564 -564
- package/dist/src/dashboard/index.d.ts +6 -6
- package/dist/src/dashboard/index.d.ts.map +1 -1
- package/dist/src/dashboard/schema.d.ts +2 -2
- package/dist/src/dashboard/schema.d.ts.map +1 -1
- package/dist/src/evaluate-form/index.d.ts +47 -0
- package/dist/src/evaluate-form/index.d.ts.map +1 -0
- package/dist/src/evaluate-form/schema.d.ts +9 -9
- package/dist/src/evaluate-form/validation.d.ts +28 -0
- package/dist/src/evaluate-form/validation.d.ts.map +1 -0
- package/dist/src/group/schema.d.ts +9 -9
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/log-form/schema.d.ts +9 -9
- package/dist/src/mail/mail-contract.d.ts +63 -63
- 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 +63 -63
- package/dist/src/mail/schemas/room-validation.schema.d.ts +14 -14
- package/dist/src/mail/schemas/room.schema.d.ts +25 -25
- package/dist/src/messenger/index.d.ts +492 -492
- package/dist/src/platform-contact/schema.d.ts +30 -0
- package/dist/src/platform-contact/schema.d.ts.map +1 -0
- package/dist/src/tag/index.d.ts +45 -45
- package/dist/src/tag/schema.d.ts +9 -9
- package/dist/src/tag-group/schema.d.ts +9 -9
- package/dist/src/telephony-agent-presence-status/index.d.ts +93 -93
- package/dist/src/telephony-agent-presence-status/schema.d.ts +33 -33
- package/dist/src/telephony-cdr/schema.d.ts +9 -9
- package/dist/src/telephony-live-queue-call/schema.d.ts +9 -9
- package/dist/src/telephony-queue-call-count/schema.d.ts +9 -9
- package/dist/src/tenant/schema.d.ts +9 -9
- package/dist/src/ticket/index.d.ts +774 -909
- package/dist/src/ticket/index.d.ts.map +1 -1
- package/dist/src/ticket/schema.d.ts +135 -135
- package/dist/src/ticket/validation.d.ts +168 -338
- package/dist/src/ticket/validation.d.ts.map +1 -1
- package/dist/src/upload/schema.d.ts +9 -9
- package/dist/src/user-presence-status-log/index.d.ts +36 -36
- package/dist/src/user-presence-status-log/schema.d.ts +39 -39
- package/dist/src/widget/index.d.ts +150 -79
- package/dist/src/widget/index.d.ts.map +1 -1
- package/dist/src/widget/schema.d.ts +9 -9
- package/dist/src/widget/validation.d.ts +10 -0
- package/dist/src/widget/validation.d.ts.map +1 -1
- package/dist/src/wrap-up-form/index.d.ts +96 -96
- package/dist/src/wrap-up-form/schema.d.ts +24 -24
- package/package.json +10 -4
@@ -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.
|
12
|
-
|
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
|
-
|
21
|
-
isRequired: boolean;
|
22
|
-
attributeId: string;
|
15
|
+
[x: string]: any;
|
23
16
|
}>;
|
24
|
-
description: z.
|
25
|
-
|
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
|
-
|
34
|
-
isRequired: boolean;
|
35
|
-
attributeId: string;
|
20
|
+
[x: string]: any;
|
36
21
|
}>;
|
37
|
-
status: z.
|
38
|
-
|
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
|
-
|
47
|
-
isRequired: boolean;
|
48
|
-
attributeId: string;
|
25
|
+
[x: string]: any;
|
49
26
|
}>;
|
50
|
-
type: z.
|
51
|
-
|
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
|
-
|
60
|
-
isRequired: boolean;
|
61
|
-
attributeId: string;
|
30
|
+
[x: string]: any;
|
62
31
|
}>;
|
63
|
-
priority: z.
|
64
|
-
|
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
|
-
|
73
|
-
isRequired: boolean;
|
74
|
-
attributeId: string;
|
35
|
+
[x: string]: any;
|
75
36
|
}>;
|
76
|
-
contact: z.
|
77
|
-
|
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
|
-
|
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
|
-
|
116
|
-
|
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
|
-
|
125
|
-
|
126
|
-
|
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.
|
142
|
-
|
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
|
-
|
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
|
-
|
170
|
-
isRequired: boolean;
|
171
|
-
attributeId: string;
|
92
|
+
[x: string]: any;
|
172
93
|
};
|
173
94
|
channel: {
|
174
|
-
|
175
|
-
isRequired: boolean;
|
176
|
-
attributeId: string;
|
95
|
+
[x: string]: any;
|
177
96
|
};
|
178
97
|
priority: {
|
179
|
-
|
180
|
-
isRequired: boolean;
|
181
|
-
attributeId: string;
|
98
|
+
[x: string]: any;
|
182
99
|
};
|
183
100
|
title: {
|
184
|
-
|
185
|
-
isRequired: boolean;
|
186
|
-
attributeId: string;
|
101
|
+
[x: string]: any;
|
187
102
|
};
|
188
103
|
description: {
|
189
|
-
|
190
|
-
isRequired: boolean;
|
191
|
-
attributeId: string;
|
104
|
+
[x: string]: any;
|
192
105
|
};
|
193
106
|
status: {
|
194
|
-
|
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
|
-
|
205
|
-
isRequired: boolean;
|
206
|
-
attributeId: string;
|
115
|
+
[x: string]: any;
|
207
116
|
};
|
208
117
|
customFields: {
|
209
|
-
|
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
|
-
|
217
|
-
isRequired: boolean;
|
218
|
-
attributeId: string;
|
121
|
+
[x: string]: any;
|
219
122
|
};
|
220
123
|
assignee: {
|
124
|
+
value: string;
|
221
125
|
isRequired: boolean;
|
222
|
-
attributeId
|
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
|
-
|
231
|
-
isRequired: boolean;
|
232
|
-
attributeId: string;
|
133
|
+
[x: string]: any;
|
233
134
|
};
|
234
135
|
channel: {
|
235
|
-
|
236
|
-
isRequired: boolean;
|
237
|
-
attributeId: string;
|
136
|
+
[x: string]: any;
|
238
137
|
};
|
239
138
|
priority: {
|
240
|
-
|
241
|
-
isRequired: boolean;
|
242
|
-
attributeId: string;
|
139
|
+
[x: string]: any;
|
243
140
|
};
|
244
141
|
title: {
|
245
|
-
|
246
|
-
isRequired: boolean;
|
247
|
-
attributeId: string;
|
142
|
+
[x: string]: any;
|
248
143
|
};
|
249
144
|
description: {
|
250
|
-
|
251
|
-
isRequired: boolean;
|
252
|
-
attributeId: string;
|
145
|
+
[x: string]: any;
|
253
146
|
};
|
254
147
|
status: {
|
255
|
-
|
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
|
-
|
266
|
-
isRequired: boolean;
|
267
|
-
attributeId: string;
|
156
|
+
[x: string]: any;
|
268
157
|
};
|
269
158
|
customFields: {
|
270
|
-
|
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
|
-
|
278
|
-
isRequired: boolean;
|
279
|
-
attributeId: string;
|
162
|
+
[x: string]: any;
|
280
163
|
};
|
281
164
|
assignee: {
|
165
|
+
value: string;
|
282
166
|
isRequired: boolean;
|
283
|
-
attributeId
|
284
|
-
value?: string | undefined;
|
167
|
+
attributeId: string;
|
285
168
|
};
|
286
169
|
reasonToAssign?: {
|
287
170
|
value: string;
|
@@ -294,9 +177,9 @@ export declare const ticketContract: {
|
|
294
177
|
requestId: z.ZodString;
|
295
178
|
message: z.ZodObject<{
|
296
179
|
id: z.ZodString;
|
297
|
-
createdAt: z.
|
298
|
-
updatedAt: z.
|
299
|
-
deletedAt: z.ZodNullable<z.
|
180
|
+
createdAt: z.ZodDate;
|
181
|
+
updatedAt: z.ZodDate;
|
182
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
300
183
|
title: z.ZodString;
|
301
184
|
description: z.ZodNullable<z.ZodString>;
|
302
185
|
type: z.ZodString;
|
@@ -310,18 +193,18 @@ export declare const ticketContract: {
|
|
310
193
|
ticketNumber: z.ZodOptional<z.ZodNumber>;
|
311
194
|
customFields: z.ZodArray<z.ZodObject<{
|
312
195
|
id: z.ZodString;
|
313
|
-
createdAt: z.
|
314
|
-
updatedAt: z.
|
315
|
-
deletedAt: z.ZodNullable<z.
|
196
|
+
createdAt: z.ZodDate;
|
197
|
+
updatedAt: z.ZodDate;
|
198
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
316
199
|
textValue: z.ZodNullable<z.ZodString>;
|
317
200
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
318
201
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
319
202
|
dateValue: z.ZodNullable<z.ZodDate>;
|
320
203
|
attribute: z.ZodObject<Omit<{
|
321
204
|
id: z.ZodString;
|
322
|
-
createdAt: z.
|
323
|
-
updatedAt: z.
|
324
|
-
deletedAt: z.ZodNullable<z.
|
205
|
+
createdAt: z.ZodDate;
|
206
|
+
updatedAt: z.ZodDate;
|
207
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
325
208
|
systemName: z.ZodString;
|
326
209
|
displayName: z.ZodString;
|
327
210
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -351,23 +234,23 @@ export declare const ticketContract: {
|
|
351
234
|
}>, "many">;
|
352
235
|
group: z.ZodObject<{
|
353
236
|
id: z.ZodString;
|
354
|
-
createdAt: z.
|
355
|
-
updatedAt: z.
|
356
|
-
deletedAt: z.ZodNullable<z.
|
237
|
+
createdAt: z.ZodDate;
|
238
|
+
updatedAt: z.ZodDate;
|
239
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
357
240
|
systemName: z.ZodString;
|
358
241
|
displayName: z.ZodString;
|
359
242
|
}, "strip", z.ZodTypeAny, {
|
360
243
|
id: string;
|
361
|
-
createdAt:
|
362
|
-
updatedAt:
|
363
|
-
deletedAt:
|
244
|
+
createdAt: Date;
|
245
|
+
updatedAt: Date;
|
246
|
+
deletedAt: Date | null;
|
364
247
|
systemName: string;
|
365
248
|
displayName: string;
|
366
249
|
}, {
|
367
250
|
id: string;
|
368
|
-
createdAt:
|
369
|
-
updatedAt:
|
370
|
-
deletedAt:
|
251
|
+
createdAt: Date;
|
252
|
+
updatedAt: Date;
|
253
|
+
deletedAt: Date | null;
|
371
254
|
systemName: string;
|
372
255
|
displayName: string;
|
373
256
|
}>;
|
@@ -375,9 +258,9 @@ export declare const ticketContract: {
|
|
375
258
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
376
259
|
id: string;
|
377
260
|
position: number;
|
378
|
-
createdAt:
|
379
|
-
updatedAt:
|
380
|
-
deletedAt:
|
261
|
+
createdAt: Date;
|
262
|
+
updatedAt: Date;
|
263
|
+
deletedAt: Date | null;
|
381
264
|
isDefault: boolean;
|
382
265
|
systemName: string;
|
383
266
|
displayName: string;
|
@@ -388,9 +271,9 @@ export declare const ticketContract: {
|
|
388
271
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
389
272
|
id: string;
|
390
273
|
position: number;
|
391
|
-
createdAt:
|
392
|
-
updatedAt:
|
393
|
-
deletedAt:
|
274
|
+
createdAt: Date;
|
275
|
+
updatedAt: Date;
|
276
|
+
deletedAt: Date | null;
|
394
277
|
isDefault: boolean;
|
395
278
|
systemName: string;
|
396
279
|
displayName: string;
|
@@ -406,27 +289,27 @@ export declare const ticketContract: {
|
|
406
289
|
customFieldId: z.ZodString;
|
407
290
|
upload: z.ZodObject<{
|
408
291
|
id: z.ZodString;
|
409
|
-
createdAt: z.
|
410
|
-
updatedAt: z.
|
411
|
-
deletedAt: z.ZodNullable<z.
|
292
|
+
createdAt: z.ZodDate;
|
293
|
+
updatedAt: z.ZodDate;
|
294
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
412
295
|
bucketName: z.ZodString;
|
413
296
|
fileName: z.ZodString;
|
414
297
|
fileSize: z.ZodNumber;
|
415
298
|
fileKey: z.ZodString;
|
416
299
|
}, "strip", z.ZodTypeAny, {
|
417
300
|
id: string;
|
418
|
-
createdAt:
|
419
|
-
updatedAt:
|
420
|
-
deletedAt:
|
301
|
+
createdAt: Date;
|
302
|
+
updatedAt: Date;
|
303
|
+
deletedAt: Date | null;
|
421
304
|
fileName: string;
|
422
305
|
fileKey: string;
|
423
306
|
bucketName: string;
|
424
307
|
fileSize: number;
|
425
308
|
}, {
|
426
309
|
id: string;
|
427
|
-
createdAt:
|
428
|
-
updatedAt:
|
429
|
-
deletedAt:
|
310
|
+
createdAt: Date;
|
311
|
+
updatedAt: Date;
|
312
|
+
deletedAt: Date | null;
|
430
313
|
fileName: string;
|
431
314
|
fileKey: string;
|
432
315
|
bucketName: string;
|
@@ -440,9 +323,9 @@ export declare const ticketContract: {
|
|
440
323
|
customFieldId: string;
|
441
324
|
upload: {
|
442
325
|
id: string;
|
443
|
-
createdAt:
|
444
|
-
updatedAt:
|
445
|
-
deletedAt:
|
326
|
+
createdAt: Date;
|
327
|
+
updatedAt: Date;
|
328
|
+
deletedAt: Date | null;
|
446
329
|
fileName: string;
|
447
330
|
fileKey: string;
|
448
331
|
bucketName: string;
|
@@ -456,9 +339,9 @@ export declare const ticketContract: {
|
|
456
339
|
customFieldId: string;
|
457
340
|
upload: {
|
458
341
|
id: string;
|
459
|
-
createdAt:
|
460
|
-
updatedAt:
|
461
|
-
deletedAt:
|
342
|
+
createdAt: Date;
|
343
|
+
updatedAt: Date;
|
344
|
+
deletedAt: Date | null;
|
462
345
|
fileName: string;
|
463
346
|
fileKey: string;
|
464
347
|
bucketName: string;
|
@@ -467,16 +350,16 @@ export declare const ticketContract: {
|
|
467
350
|
}>, "many">;
|
468
351
|
}, "strip", z.ZodTypeAny, {
|
469
352
|
id: string;
|
470
|
-
createdAt:
|
471
|
-
updatedAt:
|
472
|
-
deletedAt:
|
353
|
+
createdAt: Date;
|
354
|
+
updatedAt: Date;
|
355
|
+
deletedAt: Date | null;
|
473
356
|
attribute: {
|
474
357
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
475
358
|
id: string;
|
476
359
|
position: number;
|
477
|
-
createdAt:
|
478
|
-
updatedAt:
|
479
|
-
deletedAt:
|
360
|
+
createdAt: Date;
|
361
|
+
updatedAt: Date;
|
362
|
+
deletedAt: Date | null;
|
480
363
|
isDefault: boolean;
|
481
364
|
systemName: string;
|
482
365
|
displayName: string;
|
@@ -496,9 +379,9 @@ export declare const ticketContract: {
|
|
496
379
|
customFieldId: string;
|
497
380
|
upload: {
|
498
381
|
id: string;
|
499
|
-
createdAt:
|
500
|
-
updatedAt:
|
501
|
-
deletedAt:
|
382
|
+
createdAt: Date;
|
383
|
+
updatedAt: Date;
|
384
|
+
deletedAt: Date | null;
|
502
385
|
fileName: string;
|
503
386
|
fileKey: string;
|
504
387
|
bucketName: string;
|
@@ -507,16 +390,16 @@ export declare const ticketContract: {
|
|
507
390
|
}[];
|
508
391
|
}, {
|
509
392
|
id: string;
|
510
|
-
createdAt:
|
511
|
-
updatedAt:
|
512
|
-
deletedAt:
|
393
|
+
createdAt: Date;
|
394
|
+
updatedAt: Date;
|
395
|
+
deletedAt: Date | null;
|
513
396
|
attribute: {
|
514
397
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
515
398
|
id: string;
|
516
399
|
position: number;
|
517
|
-
createdAt:
|
518
|
-
updatedAt:
|
519
|
-
deletedAt:
|
400
|
+
createdAt: Date;
|
401
|
+
updatedAt: Date;
|
402
|
+
deletedAt: Date | null;
|
520
403
|
isDefault: boolean;
|
521
404
|
systemName: string;
|
522
405
|
displayName: string;
|
@@ -536,9 +419,9 @@ export declare const ticketContract: {
|
|
536
419
|
customFieldId: string;
|
537
420
|
upload: {
|
538
421
|
id: string;
|
539
|
-
createdAt:
|
540
|
-
updatedAt:
|
541
|
-
deletedAt:
|
422
|
+
createdAt: Date;
|
423
|
+
updatedAt: Date;
|
424
|
+
deletedAt: Date | null;
|
542
425
|
fileName: string;
|
543
426
|
fileKey: string;
|
544
427
|
bucketName: string;
|
@@ -554,21 +437,21 @@ export declare const ticketContract: {
|
|
554
437
|
title: string;
|
555
438
|
description: string | null;
|
556
439
|
status: string;
|
557
|
-
createdAt:
|
558
|
-
updatedAt:
|
559
|
-
deletedAt:
|
440
|
+
createdAt: Date;
|
441
|
+
updatedAt: Date;
|
442
|
+
deletedAt: Date | null;
|
560
443
|
customFields: {
|
561
444
|
id: string;
|
562
|
-
createdAt:
|
563
|
-
updatedAt:
|
564
|
-
deletedAt:
|
445
|
+
createdAt: Date;
|
446
|
+
updatedAt: Date;
|
447
|
+
deletedAt: Date | null;
|
565
448
|
attribute: {
|
566
449
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
567
450
|
id: string;
|
568
451
|
position: number;
|
569
|
-
createdAt:
|
570
|
-
updatedAt:
|
571
|
-
deletedAt:
|
452
|
+
createdAt: Date;
|
453
|
+
updatedAt: Date;
|
454
|
+
deletedAt: Date | null;
|
572
455
|
isDefault: boolean;
|
573
456
|
systemName: string;
|
574
457
|
displayName: string;
|
@@ -588,9 +471,9 @@ export declare const ticketContract: {
|
|
588
471
|
customFieldId: string;
|
589
472
|
upload: {
|
590
473
|
id: string;
|
591
|
-
createdAt:
|
592
|
-
updatedAt:
|
593
|
-
deletedAt:
|
474
|
+
createdAt: Date;
|
475
|
+
updatedAt: Date;
|
476
|
+
deletedAt: Date | null;
|
594
477
|
fileName: string;
|
595
478
|
fileKey: string;
|
596
479
|
bucketName: string;
|
@@ -611,21 +494,21 @@ export declare const ticketContract: {
|
|
611
494
|
title: string;
|
612
495
|
description: string | null;
|
613
496
|
status: string;
|
614
|
-
createdAt:
|
615
|
-
updatedAt:
|
616
|
-
deletedAt:
|
497
|
+
createdAt: Date;
|
498
|
+
updatedAt: Date;
|
499
|
+
deletedAt: Date | null;
|
617
500
|
customFields: {
|
618
501
|
id: string;
|
619
|
-
createdAt:
|
620
|
-
updatedAt:
|
621
|
-
deletedAt:
|
502
|
+
createdAt: Date;
|
503
|
+
updatedAt: Date;
|
504
|
+
deletedAt: Date | null;
|
622
505
|
attribute: {
|
623
506
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
624
507
|
id: string;
|
625
508
|
position: number;
|
626
|
-
createdAt:
|
627
|
-
updatedAt:
|
628
|
-
deletedAt:
|
509
|
+
createdAt: Date;
|
510
|
+
updatedAt: Date;
|
511
|
+
deletedAt: Date | null;
|
629
512
|
isDefault: boolean;
|
630
513
|
systemName: string;
|
631
514
|
displayName: string;
|
@@ -645,9 +528,9 @@ export declare const ticketContract: {
|
|
645
528
|
customFieldId: string;
|
646
529
|
upload: {
|
647
530
|
id: string;
|
648
|
-
createdAt:
|
649
|
-
updatedAt:
|
650
|
-
deletedAt:
|
531
|
+
createdAt: Date;
|
532
|
+
updatedAt: Date;
|
533
|
+
deletedAt: Date | null;
|
651
534
|
fileName: string;
|
652
535
|
fileKey: string;
|
653
536
|
bucketName: string;
|
@@ -670,21 +553,21 @@ export declare const ticketContract: {
|
|
670
553
|
title: string;
|
671
554
|
description: string | null;
|
672
555
|
status: string;
|
673
|
-
createdAt:
|
674
|
-
updatedAt:
|
675
|
-
deletedAt:
|
556
|
+
createdAt: Date;
|
557
|
+
updatedAt: Date;
|
558
|
+
deletedAt: Date | null;
|
676
559
|
customFields: {
|
677
560
|
id: string;
|
678
|
-
createdAt:
|
679
|
-
updatedAt:
|
680
|
-
deletedAt:
|
561
|
+
createdAt: Date;
|
562
|
+
updatedAt: Date;
|
563
|
+
deletedAt: Date | null;
|
681
564
|
attribute: {
|
682
565
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
683
566
|
id: string;
|
684
567
|
position: number;
|
685
|
-
createdAt:
|
686
|
-
updatedAt:
|
687
|
-
deletedAt:
|
568
|
+
createdAt: Date;
|
569
|
+
updatedAt: Date;
|
570
|
+
deletedAt: Date | null;
|
688
571
|
isDefault: boolean;
|
689
572
|
systemName: string;
|
690
573
|
displayName: string;
|
@@ -704,9 +587,9 @@ export declare const ticketContract: {
|
|
704
587
|
customFieldId: string;
|
705
588
|
upload: {
|
706
589
|
id: string;
|
707
|
-
createdAt:
|
708
|
-
updatedAt:
|
709
|
-
deletedAt:
|
590
|
+
createdAt: Date;
|
591
|
+
updatedAt: Date;
|
592
|
+
deletedAt: Date | null;
|
710
593
|
fileName: string;
|
711
594
|
fileKey: string;
|
712
595
|
bucketName: string;
|
@@ -730,21 +613,21 @@ export declare const ticketContract: {
|
|
730
613
|
title: string;
|
731
614
|
description: string | null;
|
732
615
|
status: string;
|
733
|
-
createdAt:
|
734
|
-
updatedAt:
|
735
|
-
deletedAt:
|
616
|
+
createdAt: Date;
|
617
|
+
updatedAt: Date;
|
618
|
+
deletedAt: Date | null;
|
736
619
|
customFields: {
|
737
620
|
id: string;
|
738
|
-
createdAt:
|
739
|
-
updatedAt:
|
740
|
-
deletedAt:
|
621
|
+
createdAt: Date;
|
622
|
+
updatedAt: Date;
|
623
|
+
deletedAt: Date | null;
|
741
624
|
attribute: {
|
742
625
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
743
626
|
id: string;
|
744
627
|
position: number;
|
745
|
-
createdAt:
|
746
|
-
updatedAt:
|
747
|
-
deletedAt:
|
628
|
+
createdAt: Date;
|
629
|
+
updatedAt: Date;
|
630
|
+
deletedAt: Date | null;
|
748
631
|
isDefault: boolean;
|
749
632
|
systemName: string;
|
750
633
|
displayName: string;
|
@@ -764,9 +647,9 @@ export declare const ticketContract: {
|
|
764
647
|
customFieldId: string;
|
765
648
|
upload: {
|
766
649
|
id: string;
|
767
|
-
createdAt:
|
768
|
-
updatedAt:
|
769
|
-
deletedAt:
|
650
|
+
createdAt: Date;
|
651
|
+
updatedAt: Date;
|
652
|
+
deletedAt: Date | null;
|
770
653
|
fileName: string;
|
771
654
|
fileKey: string;
|
772
655
|
bucketName: string;
|
@@ -941,21 +824,21 @@ export declare const ticketContract: {
|
|
941
824
|
title: string;
|
942
825
|
description: string | null;
|
943
826
|
status: string;
|
944
|
-
createdAt:
|
945
|
-
updatedAt:
|
946
|
-
deletedAt:
|
827
|
+
createdAt: Date;
|
828
|
+
updatedAt: Date;
|
829
|
+
deletedAt: Date | null;
|
947
830
|
customFields: {
|
948
831
|
id: string;
|
949
|
-
createdAt:
|
950
|
-
updatedAt:
|
951
|
-
deletedAt:
|
832
|
+
createdAt: Date;
|
833
|
+
updatedAt: Date;
|
834
|
+
deletedAt: Date | null;
|
952
835
|
attribute: {
|
953
836
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
954
837
|
id: string;
|
955
838
|
position: number;
|
956
|
-
createdAt:
|
957
|
-
updatedAt:
|
958
|
-
deletedAt:
|
839
|
+
createdAt: Date;
|
840
|
+
updatedAt: Date;
|
841
|
+
deletedAt: Date | null;
|
959
842
|
isDefault: boolean;
|
960
843
|
systemName: string;
|
961
844
|
displayName: string;
|
@@ -975,9 +858,9 @@ export declare const ticketContract: {
|
|
975
858
|
customFieldId: string;
|
976
859
|
upload: {
|
977
860
|
id: string;
|
978
|
-
createdAt:
|
979
|
-
updatedAt:
|
980
|
-
deletedAt:
|
861
|
+
createdAt: Date;
|
862
|
+
updatedAt: Date;
|
863
|
+
deletedAt: Date | null;
|
981
864
|
fileName: string;
|
982
865
|
fileKey: string;
|
983
866
|
bucketName: string;
|
@@ -998,21 +881,21 @@ export declare const ticketContract: {
|
|
998
881
|
title: string;
|
999
882
|
description: string | null;
|
1000
883
|
status: string;
|
1001
|
-
createdAt:
|
1002
|
-
updatedAt:
|
1003
|
-
deletedAt:
|
884
|
+
createdAt: Date;
|
885
|
+
updatedAt: Date;
|
886
|
+
deletedAt: Date | null;
|
1004
887
|
customFields: {
|
1005
888
|
id: string;
|
1006
|
-
createdAt:
|
1007
|
-
updatedAt:
|
1008
|
-
deletedAt:
|
889
|
+
createdAt: Date;
|
890
|
+
updatedAt: Date;
|
891
|
+
deletedAt: Date | null;
|
1009
892
|
attribute: {
|
1010
893
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1011
894
|
id: string;
|
1012
895
|
position: number;
|
1013
|
-
createdAt:
|
1014
|
-
updatedAt:
|
1015
|
-
deletedAt:
|
896
|
+
createdAt: Date;
|
897
|
+
updatedAt: Date;
|
898
|
+
deletedAt: Date | null;
|
1016
899
|
isDefault: boolean;
|
1017
900
|
systemName: string;
|
1018
901
|
displayName: string;
|
@@ -1032,9 +915,9 @@ export declare const ticketContract: {
|
|
1032
915
|
customFieldId: string;
|
1033
916
|
upload: {
|
1034
917
|
id: string;
|
1035
|
-
createdAt:
|
1036
|
-
updatedAt:
|
1037
|
-
deletedAt:
|
918
|
+
createdAt: Date;
|
919
|
+
updatedAt: Date;
|
920
|
+
deletedAt: Date | null;
|
1038
921
|
fileName: string;
|
1039
922
|
fileKey: string;
|
1040
923
|
bucketName: string;
|
@@ -1057,21 +940,21 @@ export declare const ticketContract: {
|
|
1057
940
|
title: string;
|
1058
941
|
description: string | null;
|
1059
942
|
status: string;
|
1060
|
-
createdAt:
|
1061
|
-
updatedAt:
|
1062
|
-
deletedAt:
|
943
|
+
createdAt: Date;
|
944
|
+
updatedAt: Date;
|
945
|
+
deletedAt: Date | null;
|
1063
946
|
customFields: {
|
1064
947
|
id: string;
|
1065
|
-
createdAt:
|
1066
|
-
updatedAt:
|
1067
|
-
deletedAt:
|
948
|
+
createdAt: Date;
|
949
|
+
updatedAt: Date;
|
950
|
+
deletedAt: Date | null;
|
1068
951
|
attribute: {
|
1069
952
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1070
953
|
id: string;
|
1071
954
|
position: number;
|
1072
|
-
createdAt:
|
1073
|
-
updatedAt:
|
1074
|
-
deletedAt:
|
955
|
+
createdAt: Date;
|
956
|
+
updatedAt: Date;
|
957
|
+
deletedAt: Date | null;
|
1075
958
|
isDefault: boolean;
|
1076
959
|
systemName: string;
|
1077
960
|
displayName: string;
|
@@ -1091,9 +974,9 @@ export declare const ticketContract: {
|
|
1091
974
|
customFieldId: string;
|
1092
975
|
upload: {
|
1093
976
|
id: string;
|
1094
|
-
createdAt:
|
1095
|
-
updatedAt:
|
1096
|
-
deletedAt:
|
977
|
+
createdAt: Date;
|
978
|
+
updatedAt: Date;
|
979
|
+
deletedAt: Date | null;
|
1097
980
|
fileName: string;
|
1098
981
|
fileKey: string;
|
1099
982
|
bucketName: string;
|
@@ -1120,21 +1003,21 @@ export declare const ticketContract: {
|
|
1120
1003
|
title: string;
|
1121
1004
|
description: string | null;
|
1122
1005
|
status: string;
|
1123
|
-
createdAt:
|
1124
|
-
updatedAt:
|
1125
|
-
deletedAt:
|
1006
|
+
createdAt: Date;
|
1007
|
+
updatedAt: Date;
|
1008
|
+
deletedAt: Date | null;
|
1126
1009
|
customFields: {
|
1127
1010
|
id: string;
|
1128
|
-
createdAt:
|
1129
|
-
updatedAt:
|
1130
|
-
deletedAt:
|
1011
|
+
createdAt: Date;
|
1012
|
+
updatedAt: Date;
|
1013
|
+
deletedAt: Date | null;
|
1131
1014
|
attribute: {
|
1132
1015
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1133
1016
|
id: string;
|
1134
1017
|
position: number;
|
1135
|
-
createdAt:
|
1136
|
-
updatedAt:
|
1137
|
-
deletedAt:
|
1018
|
+
createdAt: Date;
|
1019
|
+
updatedAt: Date;
|
1020
|
+
deletedAt: Date | null;
|
1138
1021
|
isDefault: boolean;
|
1139
1022
|
systemName: string;
|
1140
1023
|
displayName: string;
|
@@ -1154,9 +1037,9 @@ export declare const ticketContract: {
|
|
1154
1037
|
customFieldId: string;
|
1155
1038
|
upload: {
|
1156
1039
|
id: string;
|
1157
|
-
createdAt:
|
1158
|
-
updatedAt:
|
1159
|
-
deletedAt:
|
1040
|
+
createdAt: Date;
|
1041
|
+
updatedAt: Date;
|
1042
|
+
deletedAt: Date | null;
|
1160
1043
|
fileName: string;
|
1161
1044
|
fileKey: string;
|
1162
1045
|
bucketName: string;
|
@@ -1234,9 +1117,9 @@ export declare const ticketContract: {
|
|
1234
1117
|
responses: {
|
1235
1118
|
200: z.ZodObject<{
|
1236
1119
|
id: z.ZodString;
|
1237
|
-
createdAt: z.
|
1238
|
-
updatedAt: z.
|
1239
|
-
deletedAt: z.ZodNullable<z.
|
1120
|
+
createdAt: z.ZodDate;
|
1121
|
+
updatedAt: z.ZodDate;
|
1122
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
1240
1123
|
title: z.ZodString;
|
1241
1124
|
description: z.ZodNullable<z.ZodString>;
|
1242
1125
|
type: z.ZodString;
|
@@ -1250,18 +1133,18 @@ export declare const ticketContract: {
|
|
1250
1133
|
ticketNumber: z.ZodOptional<z.ZodNumber>;
|
1251
1134
|
customFields: z.ZodArray<z.ZodObject<{
|
1252
1135
|
id: z.ZodString;
|
1253
|
-
createdAt: z.
|
1254
|
-
updatedAt: z.
|
1255
|
-
deletedAt: z.ZodNullable<z.
|
1136
|
+
createdAt: z.ZodDate;
|
1137
|
+
updatedAt: z.ZodDate;
|
1138
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
1256
1139
|
textValue: z.ZodNullable<z.ZodString>;
|
1257
1140
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
1258
1141
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
1259
1142
|
dateValue: z.ZodNullable<z.ZodDate>;
|
1260
1143
|
attribute: z.ZodObject<Omit<{
|
1261
1144
|
id: z.ZodString;
|
1262
|
-
createdAt: z.
|
1263
|
-
updatedAt: z.
|
1264
|
-
deletedAt: z.ZodNullable<z.
|
1145
|
+
createdAt: z.ZodDate;
|
1146
|
+
updatedAt: z.ZodDate;
|
1147
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
1265
1148
|
systemName: z.ZodString;
|
1266
1149
|
displayName: z.ZodString;
|
1267
1150
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -1291,23 +1174,23 @@ export declare const ticketContract: {
|
|
1291
1174
|
}>, "many">;
|
1292
1175
|
group: z.ZodObject<{
|
1293
1176
|
id: z.ZodString;
|
1294
|
-
createdAt: z.
|
1295
|
-
updatedAt: z.
|
1296
|
-
deletedAt: z.ZodNullable<z.
|
1177
|
+
createdAt: z.ZodDate;
|
1178
|
+
updatedAt: z.ZodDate;
|
1179
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
1297
1180
|
systemName: z.ZodString;
|
1298
1181
|
displayName: z.ZodString;
|
1299
1182
|
}, "strip", z.ZodTypeAny, {
|
1300
1183
|
id: string;
|
1301
|
-
createdAt:
|
1302
|
-
updatedAt:
|
1303
|
-
deletedAt:
|
1184
|
+
createdAt: Date;
|
1185
|
+
updatedAt: Date;
|
1186
|
+
deletedAt: Date | null;
|
1304
1187
|
systemName: string;
|
1305
1188
|
displayName: string;
|
1306
1189
|
}, {
|
1307
1190
|
id: string;
|
1308
|
-
createdAt:
|
1309
|
-
updatedAt:
|
1310
|
-
deletedAt:
|
1191
|
+
createdAt: Date;
|
1192
|
+
updatedAt: Date;
|
1193
|
+
deletedAt: Date | null;
|
1311
1194
|
systemName: string;
|
1312
1195
|
displayName: string;
|
1313
1196
|
}>;
|
@@ -1315,9 +1198,9 @@ export declare const ticketContract: {
|
|
1315
1198
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1316
1199
|
id: string;
|
1317
1200
|
position: number;
|
1318
|
-
createdAt:
|
1319
|
-
updatedAt:
|
1320
|
-
deletedAt:
|
1201
|
+
createdAt: Date;
|
1202
|
+
updatedAt: Date;
|
1203
|
+
deletedAt: Date | null;
|
1321
1204
|
isDefault: boolean;
|
1322
1205
|
systemName: string;
|
1323
1206
|
displayName: string;
|
@@ -1328,9 +1211,9 @@ export declare const ticketContract: {
|
|
1328
1211
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1329
1212
|
id: string;
|
1330
1213
|
position: number;
|
1331
|
-
createdAt:
|
1332
|
-
updatedAt:
|
1333
|
-
deletedAt:
|
1214
|
+
createdAt: Date;
|
1215
|
+
updatedAt: Date;
|
1216
|
+
deletedAt: Date | null;
|
1334
1217
|
isDefault: boolean;
|
1335
1218
|
systemName: string;
|
1336
1219
|
displayName: string;
|
@@ -1346,27 +1229,27 @@ export declare const ticketContract: {
|
|
1346
1229
|
customFieldId: z.ZodString;
|
1347
1230
|
upload: z.ZodObject<{
|
1348
1231
|
id: z.ZodString;
|
1349
|
-
createdAt: z.
|
1350
|
-
updatedAt: z.
|
1351
|
-
deletedAt: z.ZodNullable<z.
|
1232
|
+
createdAt: z.ZodDate;
|
1233
|
+
updatedAt: z.ZodDate;
|
1234
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
1352
1235
|
bucketName: z.ZodString;
|
1353
1236
|
fileName: z.ZodString;
|
1354
1237
|
fileSize: z.ZodNumber;
|
1355
1238
|
fileKey: z.ZodString;
|
1356
1239
|
}, "strip", z.ZodTypeAny, {
|
1357
1240
|
id: string;
|
1358
|
-
createdAt:
|
1359
|
-
updatedAt:
|
1360
|
-
deletedAt:
|
1241
|
+
createdAt: Date;
|
1242
|
+
updatedAt: Date;
|
1243
|
+
deletedAt: Date | null;
|
1361
1244
|
fileName: string;
|
1362
1245
|
fileKey: string;
|
1363
1246
|
bucketName: string;
|
1364
1247
|
fileSize: number;
|
1365
1248
|
}, {
|
1366
1249
|
id: string;
|
1367
|
-
createdAt:
|
1368
|
-
updatedAt:
|
1369
|
-
deletedAt:
|
1250
|
+
createdAt: Date;
|
1251
|
+
updatedAt: Date;
|
1252
|
+
deletedAt: Date | null;
|
1370
1253
|
fileName: string;
|
1371
1254
|
fileKey: string;
|
1372
1255
|
bucketName: string;
|
@@ -1380,9 +1263,9 @@ export declare const ticketContract: {
|
|
1380
1263
|
customFieldId: string;
|
1381
1264
|
upload: {
|
1382
1265
|
id: string;
|
1383
|
-
createdAt:
|
1384
|
-
updatedAt:
|
1385
|
-
deletedAt:
|
1266
|
+
createdAt: Date;
|
1267
|
+
updatedAt: Date;
|
1268
|
+
deletedAt: Date | null;
|
1386
1269
|
fileName: string;
|
1387
1270
|
fileKey: string;
|
1388
1271
|
bucketName: string;
|
@@ -1396,9 +1279,9 @@ export declare const ticketContract: {
|
|
1396
1279
|
customFieldId: string;
|
1397
1280
|
upload: {
|
1398
1281
|
id: string;
|
1399
|
-
createdAt:
|
1400
|
-
updatedAt:
|
1401
|
-
deletedAt:
|
1282
|
+
createdAt: Date;
|
1283
|
+
updatedAt: Date;
|
1284
|
+
deletedAt: Date | null;
|
1402
1285
|
fileName: string;
|
1403
1286
|
fileKey: string;
|
1404
1287
|
bucketName: string;
|
@@ -1407,16 +1290,16 @@ export declare const ticketContract: {
|
|
1407
1290
|
}>, "many">;
|
1408
1291
|
}, "strip", z.ZodTypeAny, {
|
1409
1292
|
id: string;
|
1410
|
-
createdAt:
|
1411
|
-
updatedAt:
|
1412
|
-
deletedAt:
|
1293
|
+
createdAt: Date;
|
1294
|
+
updatedAt: Date;
|
1295
|
+
deletedAt: Date | null;
|
1413
1296
|
attribute: {
|
1414
1297
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1415
1298
|
id: string;
|
1416
1299
|
position: number;
|
1417
|
-
createdAt:
|
1418
|
-
updatedAt:
|
1419
|
-
deletedAt:
|
1300
|
+
createdAt: Date;
|
1301
|
+
updatedAt: Date;
|
1302
|
+
deletedAt: Date | null;
|
1420
1303
|
isDefault: boolean;
|
1421
1304
|
systemName: string;
|
1422
1305
|
displayName: string;
|
@@ -1436,9 +1319,9 @@ export declare const ticketContract: {
|
|
1436
1319
|
customFieldId: string;
|
1437
1320
|
upload: {
|
1438
1321
|
id: string;
|
1439
|
-
createdAt:
|
1440
|
-
updatedAt:
|
1441
|
-
deletedAt:
|
1322
|
+
createdAt: Date;
|
1323
|
+
updatedAt: Date;
|
1324
|
+
deletedAt: Date | null;
|
1442
1325
|
fileName: string;
|
1443
1326
|
fileKey: string;
|
1444
1327
|
bucketName: string;
|
@@ -1447,16 +1330,16 @@ export declare const ticketContract: {
|
|
1447
1330
|
}[];
|
1448
1331
|
}, {
|
1449
1332
|
id: string;
|
1450
|
-
createdAt:
|
1451
|
-
updatedAt:
|
1452
|
-
deletedAt:
|
1333
|
+
createdAt: Date;
|
1334
|
+
updatedAt: Date;
|
1335
|
+
deletedAt: Date | null;
|
1453
1336
|
attribute: {
|
1454
1337
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1455
1338
|
id: string;
|
1456
1339
|
position: number;
|
1457
|
-
createdAt:
|
1458
|
-
updatedAt:
|
1459
|
-
deletedAt:
|
1340
|
+
createdAt: Date;
|
1341
|
+
updatedAt: Date;
|
1342
|
+
deletedAt: Date | null;
|
1460
1343
|
isDefault: boolean;
|
1461
1344
|
systemName: string;
|
1462
1345
|
displayName: string;
|
@@ -1476,9 +1359,9 @@ export declare const ticketContract: {
|
|
1476
1359
|
customFieldId: string;
|
1477
1360
|
upload: {
|
1478
1361
|
id: string;
|
1479
|
-
createdAt:
|
1480
|
-
updatedAt:
|
1481
|
-
deletedAt:
|
1362
|
+
createdAt: Date;
|
1363
|
+
updatedAt: Date;
|
1364
|
+
deletedAt: Date | null;
|
1482
1365
|
fileName: string;
|
1483
1366
|
fileKey: string;
|
1484
1367
|
bucketName: string;
|
@@ -1494,21 +1377,21 @@ export declare const ticketContract: {
|
|
1494
1377
|
title: string;
|
1495
1378
|
description: string | null;
|
1496
1379
|
status: string;
|
1497
|
-
createdAt:
|
1498
|
-
updatedAt:
|
1499
|
-
deletedAt:
|
1380
|
+
createdAt: Date;
|
1381
|
+
updatedAt: Date;
|
1382
|
+
deletedAt: Date | null;
|
1500
1383
|
customFields: {
|
1501
1384
|
id: string;
|
1502
|
-
createdAt:
|
1503
|
-
updatedAt:
|
1504
|
-
deletedAt:
|
1385
|
+
createdAt: Date;
|
1386
|
+
updatedAt: Date;
|
1387
|
+
deletedAt: Date | null;
|
1505
1388
|
attribute: {
|
1506
1389
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1507
1390
|
id: string;
|
1508
1391
|
position: number;
|
1509
|
-
createdAt:
|
1510
|
-
updatedAt:
|
1511
|
-
deletedAt:
|
1392
|
+
createdAt: Date;
|
1393
|
+
updatedAt: Date;
|
1394
|
+
deletedAt: Date | null;
|
1512
1395
|
isDefault: boolean;
|
1513
1396
|
systemName: string;
|
1514
1397
|
displayName: string;
|
@@ -1528,9 +1411,9 @@ export declare const ticketContract: {
|
|
1528
1411
|
customFieldId: string;
|
1529
1412
|
upload: {
|
1530
1413
|
id: string;
|
1531
|
-
createdAt:
|
1532
|
-
updatedAt:
|
1533
|
-
deletedAt:
|
1414
|
+
createdAt: Date;
|
1415
|
+
updatedAt: Date;
|
1416
|
+
deletedAt: Date | null;
|
1534
1417
|
fileName: string;
|
1535
1418
|
fileKey: string;
|
1536
1419
|
bucketName: string;
|
@@ -1551,21 +1434,21 @@ export declare const ticketContract: {
|
|
1551
1434
|
title: string;
|
1552
1435
|
description: string | null;
|
1553
1436
|
status: string;
|
1554
|
-
createdAt:
|
1555
|
-
updatedAt:
|
1556
|
-
deletedAt:
|
1437
|
+
createdAt: Date;
|
1438
|
+
updatedAt: Date;
|
1439
|
+
deletedAt: Date | null;
|
1557
1440
|
customFields: {
|
1558
1441
|
id: string;
|
1559
|
-
createdAt:
|
1560
|
-
updatedAt:
|
1561
|
-
deletedAt:
|
1442
|
+
createdAt: Date;
|
1443
|
+
updatedAt: Date;
|
1444
|
+
deletedAt: Date | null;
|
1562
1445
|
attribute: {
|
1563
1446
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1564
1447
|
id: string;
|
1565
1448
|
position: number;
|
1566
|
-
createdAt:
|
1567
|
-
updatedAt:
|
1568
|
-
deletedAt:
|
1449
|
+
createdAt: Date;
|
1450
|
+
updatedAt: Date;
|
1451
|
+
deletedAt: Date | null;
|
1569
1452
|
isDefault: boolean;
|
1570
1453
|
systemName: string;
|
1571
1454
|
displayName: string;
|
@@ -1585,9 +1468,9 @@ export declare const ticketContract: {
|
|
1585
1468
|
customFieldId: string;
|
1586
1469
|
upload: {
|
1587
1470
|
id: string;
|
1588
|
-
createdAt:
|
1589
|
-
updatedAt:
|
1590
|
-
deletedAt:
|
1471
|
+
createdAt: Date;
|
1472
|
+
updatedAt: Date;
|
1473
|
+
deletedAt: Date | null;
|
1591
1474
|
fileName: string;
|
1592
1475
|
fileKey: string;
|
1593
1476
|
bucketName: string;
|
@@ -1681,21 +1564,21 @@ export declare const ticketContract: {
|
|
1681
1564
|
title: string;
|
1682
1565
|
description: string | null;
|
1683
1566
|
status: string;
|
1684
|
-
createdAt:
|
1685
|
-
updatedAt:
|
1686
|
-
deletedAt:
|
1567
|
+
createdAt: Date;
|
1568
|
+
updatedAt: Date;
|
1569
|
+
deletedAt: Date | null;
|
1687
1570
|
customFields: {
|
1688
1571
|
id: string;
|
1689
|
-
createdAt:
|
1690
|
-
updatedAt:
|
1691
|
-
deletedAt:
|
1572
|
+
createdAt: Date;
|
1573
|
+
updatedAt: Date;
|
1574
|
+
deletedAt: Date | null;
|
1692
1575
|
attribute: {
|
1693
1576
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1694
1577
|
id: string;
|
1695
1578
|
position: number;
|
1696
|
-
createdAt:
|
1697
|
-
updatedAt:
|
1698
|
-
deletedAt:
|
1579
|
+
createdAt: Date;
|
1580
|
+
updatedAt: Date;
|
1581
|
+
deletedAt: Date | null;
|
1699
1582
|
isDefault: boolean;
|
1700
1583
|
systemName: string;
|
1701
1584
|
displayName: string;
|
@@ -1715,9 +1598,9 @@ export declare const ticketContract: {
|
|
1715
1598
|
customFieldId: string;
|
1716
1599
|
upload: {
|
1717
1600
|
id: string;
|
1718
|
-
createdAt:
|
1719
|
-
updatedAt:
|
1720
|
-
deletedAt:
|
1601
|
+
createdAt: Date;
|
1602
|
+
updatedAt: Date;
|
1603
|
+
deletedAt: Date | null;
|
1721
1604
|
fileName: string;
|
1722
1605
|
fileKey: string;
|
1723
1606
|
bucketName: string;
|
@@ -1738,21 +1621,21 @@ export declare const ticketContract: {
|
|
1738
1621
|
title: string;
|
1739
1622
|
description: string | null;
|
1740
1623
|
status: string;
|
1741
|
-
createdAt:
|
1742
|
-
updatedAt:
|
1743
|
-
deletedAt:
|
1624
|
+
createdAt: Date;
|
1625
|
+
updatedAt: Date;
|
1626
|
+
deletedAt: Date | null;
|
1744
1627
|
customFields: {
|
1745
1628
|
id: string;
|
1746
|
-
createdAt:
|
1747
|
-
updatedAt:
|
1748
|
-
deletedAt:
|
1629
|
+
createdAt: Date;
|
1630
|
+
updatedAt: Date;
|
1631
|
+
deletedAt: Date | null;
|
1749
1632
|
attribute: {
|
1750
1633
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1751
1634
|
id: string;
|
1752
1635
|
position: number;
|
1753
|
-
createdAt:
|
1754
|
-
updatedAt:
|
1755
|
-
deletedAt:
|
1636
|
+
createdAt: Date;
|
1637
|
+
updatedAt: Date;
|
1638
|
+
deletedAt: Date | null;
|
1756
1639
|
isDefault: boolean;
|
1757
1640
|
systemName: string;
|
1758
1641
|
displayName: string;
|
@@ -1772,9 +1655,9 @@ export declare const ticketContract: {
|
|
1772
1655
|
customFieldId: string;
|
1773
1656
|
upload: {
|
1774
1657
|
id: string;
|
1775
|
-
createdAt:
|
1776
|
-
updatedAt:
|
1777
|
-
deletedAt:
|
1658
|
+
createdAt: Date;
|
1659
|
+
updatedAt: Date;
|
1660
|
+
deletedAt: Date | null;
|
1778
1661
|
fileName: string;
|
1779
1662
|
fileKey: string;
|
1780
1663
|
bucketName: string;
|
@@ -1797,21 +1680,21 @@ export declare const ticketContract: {
|
|
1797
1680
|
title: string;
|
1798
1681
|
description: string | null;
|
1799
1682
|
status: string;
|
1800
|
-
createdAt:
|
1801
|
-
updatedAt:
|
1802
|
-
deletedAt:
|
1683
|
+
createdAt: Date;
|
1684
|
+
updatedAt: Date;
|
1685
|
+
deletedAt: Date | null;
|
1803
1686
|
customFields: {
|
1804
1687
|
id: string;
|
1805
|
-
createdAt:
|
1806
|
-
updatedAt:
|
1807
|
-
deletedAt:
|
1688
|
+
createdAt: Date;
|
1689
|
+
updatedAt: Date;
|
1690
|
+
deletedAt: Date | null;
|
1808
1691
|
attribute: {
|
1809
1692
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1810
1693
|
id: string;
|
1811
1694
|
position: number;
|
1812
|
-
createdAt:
|
1813
|
-
updatedAt:
|
1814
|
-
deletedAt:
|
1695
|
+
createdAt: Date;
|
1696
|
+
updatedAt: Date;
|
1697
|
+
deletedAt: Date | null;
|
1815
1698
|
isDefault: boolean;
|
1816
1699
|
systemName: string;
|
1817
1700
|
displayName: string;
|
@@ -1831,9 +1714,9 @@ export declare const ticketContract: {
|
|
1831
1714
|
customFieldId: string;
|
1832
1715
|
upload: {
|
1833
1716
|
id: string;
|
1834
|
-
createdAt:
|
1835
|
-
updatedAt:
|
1836
|
-
deletedAt:
|
1717
|
+
createdAt: Date;
|
1718
|
+
updatedAt: Date;
|
1719
|
+
deletedAt: Date | null;
|
1837
1720
|
fileName: string;
|
1838
1721
|
fileKey: string;
|
1839
1722
|
bucketName: string;
|
@@ -1860,21 +1743,21 @@ export declare const ticketContract: {
|
|
1860
1743
|
title: string;
|
1861
1744
|
description: string | null;
|
1862
1745
|
status: string;
|
1863
|
-
createdAt:
|
1864
|
-
updatedAt:
|
1865
|
-
deletedAt:
|
1746
|
+
createdAt: Date;
|
1747
|
+
updatedAt: Date;
|
1748
|
+
deletedAt: Date | null;
|
1866
1749
|
customFields: {
|
1867
1750
|
id: string;
|
1868
|
-
createdAt:
|
1869
|
-
updatedAt:
|
1870
|
-
deletedAt:
|
1751
|
+
createdAt: Date;
|
1752
|
+
updatedAt: Date;
|
1753
|
+
deletedAt: Date | null;
|
1871
1754
|
attribute: {
|
1872
1755
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
1873
1756
|
id: string;
|
1874
1757
|
position: number;
|
1875
|
-
createdAt:
|
1876
|
-
updatedAt:
|
1877
|
-
deletedAt:
|
1758
|
+
createdAt: Date;
|
1759
|
+
updatedAt: Date;
|
1760
|
+
deletedAt: Date | null;
|
1878
1761
|
isDefault: boolean;
|
1879
1762
|
systemName: string;
|
1880
1763
|
displayName: string;
|
@@ -1894,9 +1777,9 @@ export declare const ticketContract: {
|
|
1894
1777
|
customFieldId: string;
|
1895
1778
|
upload: {
|
1896
1779
|
id: string;
|
1897
|
-
createdAt:
|
1898
|
-
updatedAt:
|
1899
|
-
deletedAt:
|
1780
|
+
createdAt: Date;
|
1781
|
+
updatedAt: Date;
|
1782
|
+
deletedAt: Date | null;
|
1900
1783
|
fileName: string;
|
1901
1784
|
fileKey: string;
|
1902
1785
|
bucketName: string;
|
@@ -1963,98 +1846,37 @@ export declare const ticketContract: {
|
|
1963
1846
|
};
|
1964
1847
|
updateTicket: {
|
1965
1848
|
body: z.ZodObject<{
|
1966
|
-
title: z.
|
1967
|
-
|
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
|
-
|
1976
|
-
isRequired: boolean;
|
1977
|
-
attributeId: string;
|
1852
|
+
[x: string]: any;
|
1978
1853
|
}>;
|
1979
|
-
description: z.
|
1980
|
-
|
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
|
-
|
1989
|
-
isRequired: boolean;
|
1990
|
-
attributeId: string;
|
1857
|
+
[x: string]: any;
|
1991
1858
|
}>;
|
1992
|
-
status: z.
|
1993
|
-
|
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
|
-
|
2002
|
-
isRequired: boolean;
|
2003
|
-
attributeId: string;
|
1862
|
+
[x: string]: any;
|
2004
1863
|
}>;
|
2005
|
-
type: z.
|
2006
|
-
|
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
|
-
|
2015
|
-
isRequired: boolean;
|
2016
|
-
attributeId: string;
|
1867
|
+
[x: string]: any;
|
2017
1868
|
}>;
|
2018
|
-
priority: z.
|
2019
|
-
|
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
|
-
|
2028
|
-
isRequired: boolean;
|
2029
|
-
attributeId: string;
|
1872
|
+
[x: string]: any;
|
2030
1873
|
}>;
|
2031
|
-
contact: z.
|
2032
|
-
|
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
|
-
|
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
|
-
|
2071
|
-
|
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
|
-
|
2080
|
-
|
2081
|
-
|
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.
|
2097
|
-
|
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
|
-
|
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
|
-
|
2125
|
-
isRequired: boolean;
|
2126
|
-
attributeId: string;
|
1929
|
+
[x: string]: any;
|
2127
1930
|
};
|
2128
1931
|
channel: {
|
2129
|
-
|
2130
|
-
isRequired: boolean;
|
2131
|
-
attributeId: string;
|
1932
|
+
[x: string]: any;
|
2132
1933
|
};
|
2133
1934
|
priority: {
|
2134
|
-
|
2135
|
-
isRequired: boolean;
|
2136
|
-
attributeId: string;
|
1935
|
+
[x: string]: any;
|
2137
1936
|
};
|
2138
1937
|
title: {
|
2139
|
-
|
2140
|
-
isRequired: boolean;
|
2141
|
-
attributeId: string;
|
1938
|
+
[x: string]: any;
|
2142
1939
|
};
|
2143
1940
|
description: {
|
2144
|
-
|
2145
|
-
isRequired: boolean;
|
2146
|
-
attributeId: string;
|
1941
|
+
[x: string]: any;
|
2147
1942
|
};
|
2148
1943
|
status: {
|
2149
|
-
|
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
|
-
|
2160
|
-
isRequired: boolean;
|
2161
|
-
attributeId: string;
|
1952
|
+
[x: string]: any;
|
2162
1953
|
};
|
2163
1954
|
customFields: {
|
2164
|
-
|
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
|
-
|
2172
|
-
isRequired: boolean;
|
2173
|
-
attributeId: string;
|
1958
|
+
[x: string]: any;
|
2174
1959
|
};
|
2175
1960
|
assignee: {
|
1961
|
+
value: string;
|
2176
1962
|
isRequired: boolean;
|
2177
|
-
attributeId
|
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
|
-
|
2186
|
-
isRequired: boolean;
|
2187
|
-
attributeId: string;
|
1970
|
+
[x: string]: any;
|
2188
1971
|
};
|
2189
1972
|
channel: {
|
2190
|
-
|
2191
|
-
isRequired: boolean;
|
2192
|
-
attributeId: string;
|
1973
|
+
[x: string]: any;
|
2193
1974
|
};
|
2194
1975
|
priority: {
|
2195
|
-
|
2196
|
-
isRequired: boolean;
|
2197
|
-
attributeId: string;
|
1976
|
+
[x: string]: any;
|
2198
1977
|
};
|
2199
1978
|
title: {
|
2200
|
-
|
2201
|
-
isRequired: boolean;
|
2202
|
-
attributeId: string;
|
1979
|
+
[x: string]: any;
|
2203
1980
|
};
|
2204
1981
|
description: {
|
2205
|
-
|
2206
|
-
isRequired: boolean;
|
2207
|
-
attributeId: string;
|
1982
|
+
[x: string]: any;
|
2208
1983
|
};
|
2209
1984
|
status: {
|
2210
|
-
|
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
|
-
|
2221
|
-
isRequired: boolean;
|
2222
|
-
attributeId: string;
|
1993
|
+
[x: string]: any;
|
2223
1994
|
};
|
2224
1995
|
customFields: {
|
2225
|
-
|
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
|
-
|
2233
|
-
isRequired: boolean;
|
2234
|
-
attributeId: string;
|
1999
|
+
[x: string]: any;
|
2235
2000
|
};
|
2236
2001
|
assignee: {
|
2002
|
+
value: string;
|
2237
2003
|
isRequired: boolean;
|
2238
|
-
attributeId
|
2239
|
-
value?: string | undefined;
|
2004
|
+
attributeId: string;
|
2240
2005
|
};
|
2241
2006
|
reasonToAssign?: {
|
2242
2007
|
value: string;
|
@@ -2256,9 +2021,9 @@ export declare const ticketContract: {
|
|
2256
2021
|
requestId: z.ZodString;
|
2257
2022
|
message: z.ZodObject<{
|
2258
2023
|
id: z.ZodString;
|
2259
|
-
createdAt: z.
|
2260
|
-
updatedAt: z.
|
2261
|
-
deletedAt: z.ZodNullable<z.
|
2024
|
+
createdAt: z.ZodDate;
|
2025
|
+
updatedAt: z.ZodDate;
|
2026
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
2262
2027
|
title: z.ZodString;
|
2263
2028
|
description: z.ZodNullable<z.ZodString>;
|
2264
2029
|
type: z.ZodString;
|
@@ -2272,18 +2037,18 @@ export declare const ticketContract: {
|
|
2272
2037
|
ticketNumber: z.ZodOptional<z.ZodNumber>;
|
2273
2038
|
customFields: z.ZodArray<z.ZodObject<{
|
2274
2039
|
id: z.ZodString;
|
2275
|
-
createdAt: z.
|
2276
|
-
updatedAt: z.
|
2277
|
-
deletedAt: z.ZodNullable<z.
|
2040
|
+
createdAt: z.ZodDate;
|
2041
|
+
updatedAt: z.ZodDate;
|
2042
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
2278
2043
|
textValue: z.ZodNullable<z.ZodString>;
|
2279
2044
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
2280
2045
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
2281
2046
|
dateValue: z.ZodNullable<z.ZodDate>;
|
2282
2047
|
attribute: z.ZodObject<Omit<{
|
2283
2048
|
id: z.ZodString;
|
2284
|
-
createdAt: z.
|
2285
|
-
updatedAt: z.
|
2286
|
-
deletedAt: z.ZodNullable<z.
|
2049
|
+
createdAt: z.ZodDate;
|
2050
|
+
updatedAt: z.ZodDate;
|
2051
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
2287
2052
|
systemName: z.ZodString;
|
2288
2053
|
displayName: z.ZodString;
|
2289
2054
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -2313,23 +2078,23 @@ export declare const ticketContract: {
|
|
2313
2078
|
}>, "many">;
|
2314
2079
|
group: z.ZodObject<{
|
2315
2080
|
id: z.ZodString;
|
2316
|
-
createdAt: z.
|
2317
|
-
updatedAt: z.
|
2318
|
-
deletedAt: z.ZodNullable<z.
|
2081
|
+
createdAt: z.ZodDate;
|
2082
|
+
updatedAt: z.ZodDate;
|
2083
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
2319
2084
|
systemName: z.ZodString;
|
2320
2085
|
displayName: z.ZodString;
|
2321
2086
|
}, "strip", z.ZodTypeAny, {
|
2322
2087
|
id: string;
|
2323
|
-
createdAt:
|
2324
|
-
updatedAt:
|
2325
|
-
deletedAt:
|
2088
|
+
createdAt: Date;
|
2089
|
+
updatedAt: Date;
|
2090
|
+
deletedAt: Date | null;
|
2326
2091
|
systemName: string;
|
2327
2092
|
displayName: string;
|
2328
2093
|
}, {
|
2329
2094
|
id: string;
|
2330
|
-
createdAt:
|
2331
|
-
updatedAt:
|
2332
|
-
deletedAt:
|
2095
|
+
createdAt: Date;
|
2096
|
+
updatedAt: Date;
|
2097
|
+
deletedAt: Date | null;
|
2333
2098
|
systemName: string;
|
2334
2099
|
displayName: string;
|
2335
2100
|
}>;
|
@@ -2337,9 +2102,9 @@ export declare const ticketContract: {
|
|
2337
2102
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
2338
2103
|
id: string;
|
2339
2104
|
position: number;
|
2340
|
-
createdAt:
|
2341
|
-
updatedAt:
|
2342
|
-
deletedAt:
|
2105
|
+
createdAt: Date;
|
2106
|
+
updatedAt: Date;
|
2107
|
+
deletedAt: Date | null;
|
2343
2108
|
isDefault: boolean;
|
2344
2109
|
systemName: string;
|
2345
2110
|
displayName: string;
|
@@ -2350,9 +2115,9 @@ export declare const ticketContract: {
|
|
2350
2115
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
2351
2116
|
id: string;
|
2352
2117
|
position: number;
|
2353
|
-
createdAt:
|
2354
|
-
updatedAt:
|
2355
|
-
deletedAt:
|
2118
|
+
createdAt: Date;
|
2119
|
+
updatedAt: Date;
|
2120
|
+
deletedAt: Date | null;
|
2356
2121
|
isDefault: boolean;
|
2357
2122
|
systemName: string;
|
2358
2123
|
displayName: string;
|
@@ -2368,27 +2133,27 @@ export declare const ticketContract: {
|
|
2368
2133
|
customFieldId: z.ZodString;
|
2369
2134
|
upload: z.ZodObject<{
|
2370
2135
|
id: z.ZodString;
|
2371
|
-
createdAt: z.
|
2372
|
-
updatedAt: z.
|
2373
|
-
deletedAt: z.ZodNullable<z.
|
2136
|
+
createdAt: z.ZodDate;
|
2137
|
+
updatedAt: z.ZodDate;
|
2138
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
2374
2139
|
bucketName: z.ZodString;
|
2375
2140
|
fileName: z.ZodString;
|
2376
2141
|
fileSize: z.ZodNumber;
|
2377
2142
|
fileKey: z.ZodString;
|
2378
2143
|
}, "strip", z.ZodTypeAny, {
|
2379
2144
|
id: string;
|
2380
|
-
createdAt:
|
2381
|
-
updatedAt:
|
2382
|
-
deletedAt:
|
2145
|
+
createdAt: Date;
|
2146
|
+
updatedAt: Date;
|
2147
|
+
deletedAt: Date | null;
|
2383
2148
|
fileName: string;
|
2384
2149
|
fileKey: string;
|
2385
2150
|
bucketName: string;
|
2386
2151
|
fileSize: number;
|
2387
2152
|
}, {
|
2388
2153
|
id: string;
|
2389
|
-
createdAt:
|
2390
|
-
updatedAt:
|
2391
|
-
deletedAt:
|
2154
|
+
createdAt: Date;
|
2155
|
+
updatedAt: Date;
|
2156
|
+
deletedAt: Date | null;
|
2392
2157
|
fileName: string;
|
2393
2158
|
fileKey: string;
|
2394
2159
|
bucketName: string;
|
@@ -2402,9 +2167,9 @@ export declare const ticketContract: {
|
|
2402
2167
|
customFieldId: string;
|
2403
2168
|
upload: {
|
2404
2169
|
id: string;
|
2405
|
-
createdAt:
|
2406
|
-
updatedAt:
|
2407
|
-
deletedAt:
|
2170
|
+
createdAt: Date;
|
2171
|
+
updatedAt: Date;
|
2172
|
+
deletedAt: Date | null;
|
2408
2173
|
fileName: string;
|
2409
2174
|
fileKey: string;
|
2410
2175
|
bucketName: string;
|
@@ -2418,9 +2183,9 @@ export declare const ticketContract: {
|
|
2418
2183
|
customFieldId: string;
|
2419
2184
|
upload: {
|
2420
2185
|
id: string;
|
2421
|
-
createdAt:
|
2422
|
-
updatedAt:
|
2423
|
-
deletedAt:
|
2186
|
+
createdAt: Date;
|
2187
|
+
updatedAt: Date;
|
2188
|
+
deletedAt: Date | null;
|
2424
2189
|
fileName: string;
|
2425
2190
|
fileKey: string;
|
2426
2191
|
bucketName: string;
|
@@ -2429,16 +2194,16 @@ export declare const ticketContract: {
|
|
2429
2194
|
}>, "many">;
|
2430
2195
|
}, "strip", z.ZodTypeAny, {
|
2431
2196
|
id: string;
|
2432
|
-
createdAt:
|
2433
|
-
updatedAt:
|
2434
|
-
deletedAt:
|
2197
|
+
createdAt: Date;
|
2198
|
+
updatedAt: Date;
|
2199
|
+
deletedAt: Date | null;
|
2435
2200
|
attribute: {
|
2436
2201
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
2437
2202
|
id: string;
|
2438
2203
|
position: number;
|
2439
|
-
createdAt:
|
2440
|
-
updatedAt:
|
2441
|
-
deletedAt:
|
2204
|
+
createdAt: Date;
|
2205
|
+
updatedAt: Date;
|
2206
|
+
deletedAt: Date | null;
|
2442
2207
|
isDefault: boolean;
|
2443
2208
|
systemName: string;
|
2444
2209
|
displayName: string;
|
@@ -2458,9 +2223,9 @@ export declare const ticketContract: {
|
|
2458
2223
|
customFieldId: string;
|
2459
2224
|
upload: {
|
2460
2225
|
id: string;
|
2461
|
-
createdAt:
|
2462
|
-
updatedAt:
|
2463
|
-
deletedAt:
|
2226
|
+
createdAt: Date;
|
2227
|
+
updatedAt: Date;
|
2228
|
+
deletedAt: Date | null;
|
2464
2229
|
fileName: string;
|
2465
2230
|
fileKey: string;
|
2466
2231
|
bucketName: string;
|
@@ -2469,16 +2234,16 @@ export declare const ticketContract: {
|
|
2469
2234
|
}[];
|
2470
2235
|
}, {
|
2471
2236
|
id: string;
|
2472
|
-
createdAt:
|
2473
|
-
updatedAt:
|
2474
|
-
deletedAt:
|
2237
|
+
createdAt: Date;
|
2238
|
+
updatedAt: Date;
|
2239
|
+
deletedAt: Date | null;
|
2475
2240
|
attribute: {
|
2476
2241
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
2477
2242
|
id: string;
|
2478
2243
|
position: number;
|
2479
|
-
createdAt:
|
2480
|
-
updatedAt:
|
2481
|
-
deletedAt:
|
2244
|
+
createdAt: Date;
|
2245
|
+
updatedAt: Date;
|
2246
|
+
deletedAt: Date | null;
|
2482
2247
|
isDefault: boolean;
|
2483
2248
|
systemName: string;
|
2484
2249
|
displayName: string;
|
@@ -2498,9 +2263,9 @@ export declare const ticketContract: {
|
|
2498
2263
|
customFieldId: string;
|
2499
2264
|
upload: {
|
2500
2265
|
id: string;
|
2501
|
-
createdAt:
|
2502
|
-
updatedAt:
|
2503
|
-
deletedAt:
|
2266
|
+
createdAt: Date;
|
2267
|
+
updatedAt: Date;
|
2268
|
+
deletedAt: Date | null;
|
2504
2269
|
fileName: string;
|
2505
2270
|
fileKey: string;
|
2506
2271
|
bucketName: string;
|
@@ -2516,21 +2281,21 @@ export declare const ticketContract: {
|
|
2516
2281
|
title: string;
|
2517
2282
|
description: string | null;
|
2518
2283
|
status: string;
|
2519
|
-
createdAt:
|
2520
|
-
updatedAt:
|
2521
|
-
deletedAt:
|
2284
|
+
createdAt: Date;
|
2285
|
+
updatedAt: Date;
|
2286
|
+
deletedAt: Date | null;
|
2522
2287
|
customFields: {
|
2523
2288
|
id: string;
|
2524
|
-
createdAt:
|
2525
|
-
updatedAt:
|
2526
|
-
deletedAt:
|
2289
|
+
createdAt: Date;
|
2290
|
+
updatedAt: Date;
|
2291
|
+
deletedAt: Date | null;
|
2527
2292
|
attribute: {
|
2528
2293
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
2529
2294
|
id: string;
|
2530
2295
|
position: number;
|
2531
|
-
createdAt:
|
2532
|
-
updatedAt:
|
2533
|
-
deletedAt:
|
2296
|
+
createdAt: Date;
|
2297
|
+
updatedAt: Date;
|
2298
|
+
deletedAt: Date | null;
|
2534
2299
|
isDefault: boolean;
|
2535
2300
|
systemName: string;
|
2536
2301
|
displayName: string;
|
@@ -2550,9 +2315,9 @@ export declare const ticketContract: {
|
|
2550
2315
|
customFieldId: string;
|
2551
2316
|
upload: {
|
2552
2317
|
id: string;
|
2553
|
-
createdAt:
|
2554
|
-
updatedAt:
|
2555
|
-
deletedAt:
|
2318
|
+
createdAt: Date;
|
2319
|
+
updatedAt: Date;
|
2320
|
+
deletedAt: Date | null;
|
2556
2321
|
fileName: string;
|
2557
2322
|
fileKey: string;
|
2558
2323
|
bucketName: string;
|
@@ -2573,21 +2338,21 @@ export declare const ticketContract: {
|
|
2573
2338
|
title: string;
|
2574
2339
|
description: string | null;
|
2575
2340
|
status: string;
|
2576
|
-
createdAt:
|
2577
|
-
updatedAt:
|
2578
|
-
deletedAt:
|
2341
|
+
createdAt: Date;
|
2342
|
+
updatedAt: Date;
|
2343
|
+
deletedAt: Date | null;
|
2579
2344
|
customFields: {
|
2580
2345
|
id: string;
|
2581
|
-
createdAt:
|
2582
|
-
updatedAt:
|
2583
|
-
deletedAt:
|
2346
|
+
createdAt: Date;
|
2347
|
+
updatedAt: Date;
|
2348
|
+
deletedAt: Date | null;
|
2584
2349
|
attribute: {
|
2585
2350
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
2586
2351
|
id: string;
|
2587
2352
|
position: number;
|
2588
|
-
createdAt:
|
2589
|
-
updatedAt:
|
2590
|
-
deletedAt:
|
2353
|
+
createdAt: Date;
|
2354
|
+
updatedAt: Date;
|
2355
|
+
deletedAt: Date | null;
|
2591
2356
|
isDefault: boolean;
|
2592
2357
|
systemName: string;
|
2593
2358
|
displayName: string;
|
@@ -2607,9 +2372,9 @@ export declare const ticketContract: {
|
|
2607
2372
|
customFieldId: string;
|
2608
2373
|
upload: {
|
2609
2374
|
id: string;
|
2610
|
-
createdAt:
|
2611
|
-
updatedAt:
|
2612
|
-
deletedAt:
|
2375
|
+
createdAt: Date;
|
2376
|
+
updatedAt: Date;
|
2377
|
+
deletedAt: Date | null;
|
2613
2378
|
fileName: string;
|
2614
2379
|
fileKey: string;
|
2615
2380
|
bucketName: string;
|
@@ -2632,21 +2397,21 @@ export declare const ticketContract: {
|
|
2632
2397
|
title: string;
|
2633
2398
|
description: string | null;
|
2634
2399
|
status: string;
|
2635
|
-
createdAt:
|
2636
|
-
updatedAt:
|
2637
|
-
deletedAt:
|
2400
|
+
createdAt: Date;
|
2401
|
+
updatedAt: Date;
|
2402
|
+
deletedAt: Date | null;
|
2638
2403
|
customFields: {
|
2639
2404
|
id: string;
|
2640
|
-
createdAt:
|
2641
|
-
updatedAt:
|
2642
|
-
deletedAt:
|
2405
|
+
createdAt: Date;
|
2406
|
+
updatedAt: Date;
|
2407
|
+
deletedAt: Date | null;
|
2643
2408
|
attribute: {
|
2644
2409
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
2645
2410
|
id: string;
|
2646
2411
|
position: number;
|
2647
|
-
createdAt:
|
2648
|
-
updatedAt:
|
2649
|
-
deletedAt:
|
2412
|
+
createdAt: Date;
|
2413
|
+
updatedAt: Date;
|
2414
|
+
deletedAt: Date | null;
|
2650
2415
|
isDefault: boolean;
|
2651
2416
|
systemName: string;
|
2652
2417
|
displayName: string;
|
@@ -2666,9 +2431,9 @@ export declare const ticketContract: {
|
|
2666
2431
|
customFieldId: string;
|
2667
2432
|
upload: {
|
2668
2433
|
id: string;
|
2669
|
-
createdAt:
|
2670
|
-
updatedAt:
|
2671
|
-
deletedAt:
|
2434
|
+
createdAt: Date;
|
2435
|
+
updatedAt: Date;
|
2436
|
+
deletedAt: Date | null;
|
2672
2437
|
fileName: string;
|
2673
2438
|
fileKey: string;
|
2674
2439
|
bucketName: string;
|
@@ -2692,21 +2457,21 @@ export declare const ticketContract: {
|
|
2692
2457
|
title: string;
|
2693
2458
|
description: string | null;
|
2694
2459
|
status: string;
|
2695
|
-
createdAt:
|
2696
|
-
updatedAt:
|
2697
|
-
deletedAt:
|
2460
|
+
createdAt: Date;
|
2461
|
+
updatedAt: Date;
|
2462
|
+
deletedAt: Date | null;
|
2698
2463
|
customFields: {
|
2699
2464
|
id: string;
|
2700
|
-
createdAt:
|
2701
|
-
updatedAt:
|
2702
|
-
deletedAt:
|
2465
|
+
createdAt: Date;
|
2466
|
+
updatedAt: Date;
|
2467
|
+
deletedAt: Date | null;
|
2703
2468
|
attribute: {
|
2704
2469
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
2705
2470
|
id: string;
|
2706
2471
|
position: number;
|
2707
|
-
createdAt:
|
2708
|
-
updatedAt:
|
2709
|
-
deletedAt:
|
2472
|
+
createdAt: Date;
|
2473
|
+
updatedAt: Date;
|
2474
|
+
deletedAt: Date | null;
|
2710
2475
|
isDefault: boolean;
|
2711
2476
|
systemName: string;
|
2712
2477
|
displayName: string;
|
@@ -2726,9 +2491,9 @@ export declare const ticketContract: {
|
|
2726
2491
|
customFieldId: string;
|
2727
2492
|
upload: {
|
2728
2493
|
id: string;
|
2729
|
-
createdAt:
|
2730
|
-
updatedAt:
|
2731
|
-
deletedAt:
|
2494
|
+
createdAt: Date;
|
2495
|
+
updatedAt: Date;
|
2496
|
+
deletedAt: Date | null;
|
2732
2497
|
fileName: string;
|
2733
2498
|
fileKey: string;
|
2734
2499
|
bucketName: string;
|
@@ -3574,9 +3339,9 @@ export declare const ticketContract: {
|
|
3574
3339
|
responses: {
|
3575
3340
|
200: z.ZodObject<{
|
3576
3341
|
id: z.ZodString;
|
3577
|
-
createdAt: z.
|
3578
|
-
updatedAt: z.
|
3579
|
-
deletedAt: z.ZodNullable<z.
|
3342
|
+
createdAt: z.ZodDate;
|
3343
|
+
updatedAt: z.ZodDate;
|
3344
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
3580
3345
|
title: z.ZodString;
|
3581
3346
|
description: z.ZodNullable<z.ZodString>;
|
3582
3347
|
type: z.ZodString;
|
@@ -3590,18 +3355,18 @@ export declare const ticketContract: {
|
|
3590
3355
|
ticketNumber: z.ZodOptional<z.ZodNumber>;
|
3591
3356
|
customFields: z.ZodArray<z.ZodObject<{
|
3592
3357
|
id: z.ZodString;
|
3593
|
-
createdAt: z.
|
3594
|
-
updatedAt: z.
|
3595
|
-
deletedAt: z.ZodNullable<z.
|
3358
|
+
createdAt: z.ZodDate;
|
3359
|
+
updatedAt: z.ZodDate;
|
3360
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
3596
3361
|
textValue: z.ZodNullable<z.ZodString>;
|
3597
3362
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
3598
3363
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
3599
3364
|
dateValue: z.ZodNullable<z.ZodDate>;
|
3600
3365
|
attribute: z.ZodObject<Omit<{
|
3601
3366
|
id: z.ZodString;
|
3602
|
-
createdAt: z.
|
3603
|
-
updatedAt: z.
|
3604
|
-
deletedAt: z.ZodNullable<z.
|
3367
|
+
createdAt: z.ZodDate;
|
3368
|
+
updatedAt: z.ZodDate;
|
3369
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
3605
3370
|
systemName: z.ZodString;
|
3606
3371
|
displayName: z.ZodString;
|
3607
3372
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -3631,23 +3396,23 @@ export declare const ticketContract: {
|
|
3631
3396
|
}>, "many">;
|
3632
3397
|
group: z.ZodObject<{
|
3633
3398
|
id: z.ZodString;
|
3634
|
-
createdAt: z.
|
3635
|
-
updatedAt: z.
|
3636
|
-
deletedAt: z.ZodNullable<z.
|
3399
|
+
createdAt: z.ZodDate;
|
3400
|
+
updatedAt: z.ZodDate;
|
3401
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
3637
3402
|
systemName: z.ZodString;
|
3638
3403
|
displayName: z.ZodString;
|
3639
3404
|
}, "strip", z.ZodTypeAny, {
|
3640
3405
|
id: string;
|
3641
|
-
createdAt:
|
3642
|
-
updatedAt:
|
3643
|
-
deletedAt:
|
3406
|
+
createdAt: Date;
|
3407
|
+
updatedAt: Date;
|
3408
|
+
deletedAt: Date | null;
|
3644
3409
|
systemName: string;
|
3645
3410
|
displayName: string;
|
3646
3411
|
}, {
|
3647
3412
|
id: string;
|
3648
|
-
createdAt:
|
3649
|
-
updatedAt:
|
3650
|
-
deletedAt:
|
3413
|
+
createdAt: Date;
|
3414
|
+
updatedAt: Date;
|
3415
|
+
deletedAt: Date | null;
|
3651
3416
|
systemName: string;
|
3652
3417
|
displayName: string;
|
3653
3418
|
}>;
|
@@ -3655,9 +3420,9 @@ export declare const ticketContract: {
|
|
3655
3420
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
3656
3421
|
id: string;
|
3657
3422
|
position: number;
|
3658
|
-
createdAt:
|
3659
|
-
updatedAt:
|
3660
|
-
deletedAt:
|
3423
|
+
createdAt: Date;
|
3424
|
+
updatedAt: Date;
|
3425
|
+
deletedAt: Date | null;
|
3661
3426
|
isDefault: boolean;
|
3662
3427
|
systemName: string;
|
3663
3428
|
displayName: string;
|
@@ -3668,9 +3433,9 @@ export declare const ticketContract: {
|
|
3668
3433
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
3669
3434
|
id: string;
|
3670
3435
|
position: number;
|
3671
|
-
createdAt:
|
3672
|
-
updatedAt:
|
3673
|
-
deletedAt:
|
3436
|
+
createdAt: Date;
|
3437
|
+
updatedAt: Date;
|
3438
|
+
deletedAt: Date | null;
|
3674
3439
|
isDefault: boolean;
|
3675
3440
|
systemName: string;
|
3676
3441
|
displayName: string;
|
@@ -3686,27 +3451,27 @@ export declare const ticketContract: {
|
|
3686
3451
|
customFieldId: z.ZodString;
|
3687
3452
|
upload: z.ZodObject<{
|
3688
3453
|
id: z.ZodString;
|
3689
|
-
createdAt: z.
|
3690
|
-
updatedAt: z.
|
3691
|
-
deletedAt: z.ZodNullable<z.
|
3454
|
+
createdAt: z.ZodDate;
|
3455
|
+
updatedAt: z.ZodDate;
|
3456
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
3692
3457
|
bucketName: z.ZodString;
|
3693
3458
|
fileName: z.ZodString;
|
3694
3459
|
fileSize: z.ZodNumber;
|
3695
3460
|
fileKey: z.ZodString;
|
3696
3461
|
}, "strip", z.ZodTypeAny, {
|
3697
3462
|
id: string;
|
3698
|
-
createdAt:
|
3699
|
-
updatedAt:
|
3700
|
-
deletedAt:
|
3463
|
+
createdAt: Date;
|
3464
|
+
updatedAt: Date;
|
3465
|
+
deletedAt: Date | null;
|
3701
3466
|
fileName: string;
|
3702
3467
|
fileKey: string;
|
3703
3468
|
bucketName: string;
|
3704
3469
|
fileSize: number;
|
3705
3470
|
}, {
|
3706
3471
|
id: string;
|
3707
|
-
createdAt:
|
3708
|
-
updatedAt:
|
3709
|
-
deletedAt:
|
3472
|
+
createdAt: Date;
|
3473
|
+
updatedAt: Date;
|
3474
|
+
deletedAt: Date | null;
|
3710
3475
|
fileName: string;
|
3711
3476
|
fileKey: string;
|
3712
3477
|
bucketName: string;
|
@@ -3720,9 +3485,9 @@ export declare const ticketContract: {
|
|
3720
3485
|
customFieldId: string;
|
3721
3486
|
upload: {
|
3722
3487
|
id: string;
|
3723
|
-
createdAt:
|
3724
|
-
updatedAt:
|
3725
|
-
deletedAt:
|
3488
|
+
createdAt: Date;
|
3489
|
+
updatedAt: Date;
|
3490
|
+
deletedAt: Date | null;
|
3726
3491
|
fileName: string;
|
3727
3492
|
fileKey: string;
|
3728
3493
|
bucketName: string;
|
@@ -3736,9 +3501,9 @@ export declare const ticketContract: {
|
|
3736
3501
|
customFieldId: string;
|
3737
3502
|
upload: {
|
3738
3503
|
id: string;
|
3739
|
-
createdAt:
|
3740
|
-
updatedAt:
|
3741
|
-
deletedAt:
|
3504
|
+
createdAt: Date;
|
3505
|
+
updatedAt: Date;
|
3506
|
+
deletedAt: Date | null;
|
3742
3507
|
fileName: string;
|
3743
3508
|
fileKey: string;
|
3744
3509
|
bucketName: string;
|
@@ -3747,16 +3512,16 @@ export declare const ticketContract: {
|
|
3747
3512
|
}>, "many">;
|
3748
3513
|
}, "strip", z.ZodTypeAny, {
|
3749
3514
|
id: string;
|
3750
|
-
createdAt:
|
3751
|
-
updatedAt:
|
3752
|
-
deletedAt:
|
3515
|
+
createdAt: Date;
|
3516
|
+
updatedAt: Date;
|
3517
|
+
deletedAt: Date | null;
|
3753
3518
|
attribute: {
|
3754
3519
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
3755
3520
|
id: string;
|
3756
3521
|
position: number;
|
3757
|
-
createdAt:
|
3758
|
-
updatedAt:
|
3759
|
-
deletedAt:
|
3522
|
+
createdAt: Date;
|
3523
|
+
updatedAt: Date;
|
3524
|
+
deletedAt: Date | null;
|
3760
3525
|
isDefault: boolean;
|
3761
3526
|
systemName: string;
|
3762
3527
|
displayName: string;
|
@@ -3776,9 +3541,9 @@ export declare const ticketContract: {
|
|
3776
3541
|
customFieldId: string;
|
3777
3542
|
upload: {
|
3778
3543
|
id: string;
|
3779
|
-
createdAt:
|
3780
|
-
updatedAt:
|
3781
|
-
deletedAt:
|
3544
|
+
createdAt: Date;
|
3545
|
+
updatedAt: Date;
|
3546
|
+
deletedAt: Date | null;
|
3782
3547
|
fileName: string;
|
3783
3548
|
fileKey: string;
|
3784
3549
|
bucketName: string;
|
@@ -3787,16 +3552,16 @@ export declare const ticketContract: {
|
|
3787
3552
|
}[];
|
3788
3553
|
}, {
|
3789
3554
|
id: string;
|
3790
|
-
createdAt:
|
3791
|
-
updatedAt:
|
3792
|
-
deletedAt:
|
3555
|
+
createdAt: Date;
|
3556
|
+
updatedAt: Date;
|
3557
|
+
deletedAt: Date | null;
|
3793
3558
|
attribute: {
|
3794
3559
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
3795
3560
|
id: string;
|
3796
3561
|
position: number;
|
3797
|
-
createdAt:
|
3798
|
-
updatedAt:
|
3799
|
-
deletedAt:
|
3562
|
+
createdAt: Date;
|
3563
|
+
updatedAt: Date;
|
3564
|
+
deletedAt: Date | null;
|
3800
3565
|
isDefault: boolean;
|
3801
3566
|
systemName: string;
|
3802
3567
|
displayName: string;
|
@@ -3816,9 +3581,9 @@ export declare const ticketContract: {
|
|
3816
3581
|
customFieldId: string;
|
3817
3582
|
upload: {
|
3818
3583
|
id: string;
|
3819
|
-
createdAt:
|
3820
|
-
updatedAt:
|
3821
|
-
deletedAt:
|
3584
|
+
createdAt: Date;
|
3585
|
+
updatedAt: Date;
|
3586
|
+
deletedAt: Date | null;
|
3822
3587
|
fileName: string;
|
3823
3588
|
fileKey: string;
|
3824
3589
|
bucketName: string;
|
@@ -3834,21 +3599,21 @@ export declare const ticketContract: {
|
|
3834
3599
|
title: string;
|
3835
3600
|
description: string | null;
|
3836
3601
|
status: string;
|
3837
|
-
createdAt:
|
3838
|
-
updatedAt:
|
3839
|
-
deletedAt:
|
3602
|
+
createdAt: Date;
|
3603
|
+
updatedAt: Date;
|
3604
|
+
deletedAt: Date | null;
|
3840
3605
|
customFields: {
|
3841
3606
|
id: string;
|
3842
|
-
createdAt:
|
3843
|
-
updatedAt:
|
3844
|
-
deletedAt:
|
3607
|
+
createdAt: Date;
|
3608
|
+
updatedAt: Date;
|
3609
|
+
deletedAt: Date | null;
|
3845
3610
|
attribute: {
|
3846
3611
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
3847
3612
|
id: string;
|
3848
3613
|
position: number;
|
3849
|
-
createdAt:
|
3850
|
-
updatedAt:
|
3851
|
-
deletedAt:
|
3614
|
+
createdAt: Date;
|
3615
|
+
updatedAt: Date;
|
3616
|
+
deletedAt: Date | null;
|
3852
3617
|
isDefault: boolean;
|
3853
3618
|
systemName: string;
|
3854
3619
|
displayName: string;
|
@@ -3868,9 +3633,9 @@ export declare const ticketContract: {
|
|
3868
3633
|
customFieldId: string;
|
3869
3634
|
upload: {
|
3870
3635
|
id: string;
|
3871
|
-
createdAt:
|
3872
|
-
updatedAt:
|
3873
|
-
deletedAt:
|
3636
|
+
createdAt: Date;
|
3637
|
+
updatedAt: Date;
|
3638
|
+
deletedAt: Date | null;
|
3874
3639
|
fileName: string;
|
3875
3640
|
fileKey: string;
|
3876
3641
|
bucketName: string;
|
@@ -3891,21 +3656,21 @@ export declare const ticketContract: {
|
|
3891
3656
|
title: string;
|
3892
3657
|
description: string | null;
|
3893
3658
|
status: string;
|
3894
|
-
createdAt:
|
3895
|
-
updatedAt:
|
3896
|
-
deletedAt:
|
3659
|
+
createdAt: Date;
|
3660
|
+
updatedAt: Date;
|
3661
|
+
deletedAt: Date | null;
|
3897
3662
|
customFields: {
|
3898
3663
|
id: string;
|
3899
|
-
createdAt:
|
3900
|
-
updatedAt:
|
3901
|
-
deletedAt:
|
3664
|
+
createdAt: Date;
|
3665
|
+
updatedAt: Date;
|
3666
|
+
deletedAt: Date | null;
|
3902
3667
|
attribute: {
|
3903
3668
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
3904
3669
|
id: string;
|
3905
3670
|
position: number;
|
3906
|
-
createdAt:
|
3907
|
-
updatedAt:
|
3908
|
-
deletedAt:
|
3671
|
+
createdAt: Date;
|
3672
|
+
updatedAt: Date;
|
3673
|
+
deletedAt: Date | null;
|
3909
3674
|
isDefault: boolean;
|
3910
3675
|
systemName: string;
|
3911
3676
|
displayName: string;
|
@@ -3925,9 +3690,9 @@ export declare const ticketContract: {
|
|
3925
3690
|
customFieldId: string;
|
3926
3691
|
upload: {
|
3927
3692
|
id: string;
|
3928
|
-
createdAt:
|
3929
|
-
updatedAt:
|
3930
|
-
deletedAt:
|
3693
|
+
createdAt: Date;
|
3694
|
+
updatedAt: Date;
|
3695
|
+
deletedAt: Date | null;
|
3931
3696
|
fileName: string;
|
3932
3697
|
fileKey: string;
|
3933
3698
|
bucketName: string;
|
@@ -4121,21 +3886,21 @@ export declare const ticketContract: {
|
|
4121
3886
|
title: string;
|
4122
3887
|
description: string | null;
|
4123
3888
|
status: string;
|
4124
|
-
createdAt:
|
4125
|
-
updatedAt:
|
4126
|
-
deletedAt:
|
3889
|
+
createdAt: Date;
|
3890
|
+
updatedAt: Date;
|
3891
|
+
deletedAt: Date | null;
|
4127
3892
|
customFields: {
|
4128
3893
|
id: string;
|
4129
|
-
createdAt:
|
4130
|
-
updatedAt:
|
4131
|
-
deletedAt:
|
3894
|
+
createdAt: Date;
|
3895
|
+
updatedAt: Date;
|
3896
|
+
deletedAt: Date | null;
|
4132
3897
|
attribute: {
|
4133
3898
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
4134
3899
|
id: string;
|
4135
3900
|
position: number;
|
4136
|
-
createdAt:
|
4137
|
-
updatedAt:
|
4138
|
-
deletedAt:
|
3901
|
+
createdAt: Date;
|
3902
|
+
updatedAt: Date;
|
3903
|
+
deletedAt: Date | null;
|
4139
3904
|
isDefault: boolean;
|
4140
3905
|
systemName: string;
|
4141
3906
|
displayName: string;
|
@@ -4155,9 +3920,9 @@ export declare const ticketContract: {
|
|
4155
3920
|
customFieldId: string;
|
4156
3921
|
upload: {
|
4157
3922
|
id: string;
|
4158
|
-
createdAt:
|
4159
|
-
updatedAt:
|
4160
|
-
deletedAt:
|
3923
|
+
createdAt: Date;
|
3924
|
+
updatedAt: Date;
|
3925
|
+
deletedAt: Date | null;
|
4161
3926
|
fileName: string;
|
4162
3927
|
fileKey: string;
|
4163
3928
|
bucketName: string;
|
@@ -4178,21 +3943,21 @@ export declare const ticketContract: {
|
|
4178
3943
|
title: string;
|
4179
3944
|
description: string | null;
|
4180
3945
|
status: string;
|
4181
|
-
createdAt:
|
4182
|
-
updatedAt:
|
4183
|
-
deletedAt:
|
3946
|
+
createdAt: Date;
|
3947
|
+
updatedAt: Date;
|
3948
|
+
deletedAt: Date | null;
|
4184
3949
|
customFields: {
|
4185
3950
|
id: string;
|
4186
|
-
createdAt:
|
4187
|
-
updatedAt:
|
4188
|
-
deletedAt:
|
3951
|
+
createdAt: Date;
|
3952
|
+
updatedAt: Date;
|
3953
|
+
deletedAt: Date | null;
|
4189
3954
|
attribute: {
|
4190
3955
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
4191
3956
|
id: string;
|
4192
3957
|
position: number;
|
4193
|
-
createdAt:
|
4194
|
-
updatedAt:
|
4195
|
-
deletedAt:
|
3958
|
+
createdAt: Date;
|
3959
|
+
updatedAt: Date;
|
3960
|
+
deletedAt: Date | null;
|
4196
3961
|
isDefault: boolean;
|
4197
3962
|
systemName: string;
|
4198
3963
|
displayName: string;
|
@@ -4212,9 +3977,9 @@ export declare const ticketContract: {
|
|
4212
3977
|
customFieldId: string;
|
4213
3978
|
upload: {
|
4214
3979
|
id: string;
|
4215
|
-
createdAt:
|
4216
|
-
updatedAt:
|
4217
|
-
deletedAt:
|
3980
|
+
createdAt: Date;
|
3981
|
+
updatedAt: Date;
|
3982
|
+
deletedAt: Date | null;
|
4218
3983
|
fileName: string;
|
4219
3984
|
fileKey: string;
|
4220
3985
|
bucketName: string;
|
@@ -4237,21 +4002,21 @@ export declare const ticketContract: {
|
|
4237
4002
|
title: string;
|
4238
4003
|
description: string | null;
|
4239
4004
|
status: string;
|
4240
|
-
createdAt:
|
4241
|
-
updatedAt:
|
4242
|
-
deletedAt:
|
4005
|
+
createdAt: Date;
|
4006
|
+
updatedAt: Date;
|
4007
|
+
deletedAt: Date | null;
|
4243
4008
|
customFields: {
|
4244
4009
|
id: string;
|
4245
|
-
createdAt:
|
4246
|
-
updatedAt:
|
4247
|
-
deletedAt:
|
4010
|
+
createdAt: Date;
|
4011
|
+
updatedAt: Date;
|
4012
|
+
deletedAt: Date | null;
|
4248
4013
|
attribute: {
|
4249
4014
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
4250
4015
|
id: string;
|
4251
4016
|
position: number;
|
4252
|
-
createdAt:
|
4253
|
-
updatedAt:
|
4254
|
-
deletedAt:
|
4017
|
+
createdAt: Date;
|
4018
|
+
updatedAt: Date;
|
4019
|
+
deletedAt: Date | null;
|
4255
4020
|
isDefault: boolean;
|
4256
4021
|
systemName: string;
|
4257
4022
|
displayName: string;
|
@@ -4271,9 +4036,9 @@ export declare const ticketContract: {
|
|
4271
4036
|
customFieldId: string;
|
4272
4037
|
upload: {
|
4273
4038
|
id: string;
|
4274
|
-
createdAt:
|
4275
|
-
updatedAt:
|
4276
|
-
deletedAt:
|
4039
|
+
createdAt: Date;
|
4040
|
+
updatedAt: Date;
|
4041
|
+
deletedAt: Date | null;
|
4277
4042
|
fileName: string;
|
4278
4043
|
fileKey: string;
|
4279
4044
|
bucketName: string;
|
@@ -4300,21 +4065,21 @@ export declare const ticketContract: {
|
|
4300
4065
|
title: string;
|
4301
4066
|
description: string | null;
|
4302
4067
|
status: string;
|
4303
|
-
createdAt:
|
4304
|
-
updatedAt:
|
4305
|
-
deletedAt:
|
4068
|
+
createdAt: Date;
|
4069
|
+
updatedAt: Date;
|
4070
|
+
deletedAt: Date | null;
|
4306
4071
|
customFields: {
|
4307
4072
|
id: string;
|
4308
|
-
createdAt:
|
4309
|
-
updatedAt:
|
4310
|
-
deletedAt:
|
4073
|
+
createdAt: Date;
|
4074
|
+
updatedAt: Date;
|
4075
|
+
deletedAt: Date | null;
|
4311
4076
|
attribute: {
|
4312
4077
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
4313
4078
|
id: string;
|
4314
4079
|
position: number;
|
4315
|
-
createdAt:
|
4316
|
-
updatedAt:
|
4317
|
-
deletedAt:
|
4080
|
+
createdAt: Date;
|
4081
|
+
updatedAt: Date;
|
4082
|
+
deletedAt: Date | null;
|
4318
4083
|
isDefault: boolean;
|
4319
4084
|
systemName: string;
|
4320
4085
|
displayName: string;
|
@@ -4334,9 +4099,9 @@ export declare const ticketContract: {
|
|
4334
4099
|
customFieldId: string;
|
4335
4100
|
upload: {
|
4336
4101
|
id: string;
|
4337
|
-
createdAt:
|
4338
|
-
updatedAt:
|
4339
|
-
deletedAt:
|
4102
|
+
createdAt: Date;
|
4103
|
+
updatedAt: Date;
|
4104
|
+
deletedAt: Date | null;
|
4340
4105
|
fileName: string;
|
4341
4106
|
fileKey: string;
|
4342
4107
|
bucketName: string;
|
@@ -4450,18 +4215,18 @@ export declare const ticketContract: {
|
|
4450
4215
|
responses: {
|
4451
4216
|
201: z.ZodObject<{
|
4452
4217
|
id: z.ZodString;
|
4453
|
-
createdAt: z.
|
4454
|
-
updatedAt: z.
|
4455
|
-
deletedAt: z.ZodNullable<z.
|
4218
|
+
createdAt: z.ZodDate;
|
4219
|
+
updatedAt: z.ZodDate;
|
4220
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
4456
4221
|
textValue: z.ZodNullable<z.ZodString>;
|
4457
4222
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
4458
4223
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
4459
4224
|
dateValue: z.ZodNullable<z.ZodDate>;
|
4460
4225
|
attribute: z.ZodObject<Omit<{
|
4461
4226
|
id: z.ZodString;
|
4462
|
-
createdAt: z.
|
4463
|
-
updatedAt: z.
|
4464
|
-
deletedAt: z.ZodNullable<z.
|
4227
|
+
createdAt: z.ZodDate;
|
4228
|
+
updatedAt: z.ZodDate;
|
4229
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
4465
4230
|
systemName: z.ZodString;
|
4466
4231
|
displayName: z.ZodString;
|
4467
4232
|
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
@@ -4491,23 +4256,23 @@ export declare const ticketContract: {
|
|
4491
4256
|
}>, "many">;
|
4492
4257
|
group: z.ZodObject<{
|
4493
4258
|
id: z.ZodString;
|
4494
|
-
createdAt: z.
|
4495
|
-
updatedAt: z.
|
4496
|
-
deletedAt: z.ZodNullable<z.
|
4259
|
+
createdAt: z.ZodDate;
|
4260
|
+
updatedAt: z.ZodDate;
|
4261
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
4497
4262
|
systemName: z.ZodString;
|
4498
4263
|
displayName: z.ZodString;
|
4499
4264
|
}, "strip", z.ZodTypeAny, {
|
4500
4265
|
id: string;
|
4501
|
-
createdAt:
|
4502
|
-
updatedAt:
|
4503
|
-
deletedAt:
|
4266
|
+
createdAt: Date;
|
4267
|
+
updatedAt: Date;
|
4268
|
+
deletedAt: Date | null;
|
4504
4269
|
systemName: string;
|
4505
4270
|
displayName: string;
|
4506
4271
|
}, {
|
4507
4272
|
id: string;
|
4508
|
-
createdAt:
|
4509
|
-
updatedAt:
|
4510
|
-
deletedAt:
|
4273
|
+
createdAt: Date;
|
4274
|
+
updatedAt: Date;
|
4275
|
+
deletedAt: Date | null;
|
4511
4276
|
systemName: string;
|
4512
4277
|
displayName: string;
|
4513
4278
|
}>;
|
@@ -4515,9 +4280,9 @@ export declare const ticketContract: {
|
|
4515
4280
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
4516
4281
|
id: string;
|
4517
4282
|
position: number;
|
4518
|
-
createdAt:
|
4519
|
-
updatedAt:
|
4520
|
-
deletedAt:
|
4283
|
+
createdAt: Date;
|
4284
|
+
updatedAt: Date;
|
4285
|
+
deletedAt: Date | null;
|
4521
4286
|
isDefault: boolean;
|
4522
4287
|
systemName: string;
|
4523
4288
|
displayName: string;
|
@@ -4528,9 +4293,9 @@ export declare const ticketContract: {
|
|
4528
4293
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
4529
4294
|
id: string;
|
4530
4295
|
position: number;
|
4531
|
-
createdAt:
|
4532
|
-
updatedAt:
|
4533
|
-
deletedAt:
|
4296
|
+
createdAt: Date;
|
4297
|
+
updatedAt: Date;
|
4298
|
+
deletedAt: Date | null;
|
4534
4299
|
isDefault: boolean;
|
4535
4300
|
systemName: string;
|
4536
4301
|
displayName: string;
|
@@ -4546,27 +4311,27 @@ export declare const ticketContract: {
|
|
4546
4311
|
customFieldId: z.ZodString;
|
4547
4312
|
upload: z.ZodObject<{
|
4548
4313
|
id: z.ZodString;
|
4549
|
-
createdAt: z.
|
4550
|
-
updatedAt: z.
|
4551
|
-
deletedAt: z.ZodNullable<z.
|
4314
|
+
createdAt: z.ZodDate;
|
4315
|
+
updatedAt: z.ZodDate;
|
4316
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
4552
4317
|
bucketName: z.ZodString;
|
4553
4318
|
fileName: z.ZodString;
|
4554
4319
|
fileSize: z.ZodNumber;
|
4555
4320
|
fileKey: z.ZodString;
|
4556
4321
|
}, "strip", z.ZodTypeAny, {
|
4557
4322
|
id: string;
|
4558
|
-
createdAt:
|
4559
|
-
updatedAt:
|
4560
|
-
deletedAt:
|
4323
|
+
createdAt: Date;
|
4324
|
+
updatedAt: Date;
|
4325
|
+
deletedAt: Date | null;
|
4561
4326
|
fileName: string;
|
4562
4327
|
fileKey: string;
|
4563
4328
|
bucketName: string;
|
4564
4329
|
fileSize: number;
|
4565
4330
|
}, {
|
4566
4331
|
id: string;
|
4567
|
-
createdAt:
|
4568
|
-
updatedAt:
|
4569
|
-
deletedAt:
|
4332
|
+
createdAt: Date;
|
4333
|
+
updatedAt: Date;
|
4334
|
+
deletedAt: Date | null;
|
4570
4335
|
fileName: string;
|
4571
4336
|
fileKey: string;
|
4572
4337
|
bucketName: string;
|
@@ -4580,9 +4345,9 @@ export declare const ticketContract: {
|
|
4580
4345
|
customFieldId: string;
|
4581
4346
|
upload: {
|
4582
4347
|
id: string;
|
4583
|
-
createdAt:
|
4584
|
-
updatedAt:
|
4585
|
-
deletedAt:
|
4348
|
+
createdAt: Date;
|
4349
|
+
updatedAt: Date;
|
4350
|
+
deletedAt: Date | null;
|
4586
4351
|
fileName: string;
|
4587
4352
|
fileKey: string;
|
4588
4353
|
bucketName: string;
|
@@ -4596,9 +4361,9 @@ export declare const ticketContract: {
|
|
4596
4361
|
customFieldId: string;
|
4597
4362
|
upload: {
|
4598
4363
|
id: string;
|
4599
|
-
createdAt:
|
4600
|
-
updatedAt:
|
4601
|
-
deletedAt:
|
4364
|
+
createdAt: Date;
|
4365
|
+
updatedAt: Date;
|
4366
|
+
deletedAt: Date | null;
|
4602
4367
|
fileName: string;
|
4603
4368
|
fileKey: string;
|
4604
4369
|
bucketName: string;
|
@@ -4607,16 +4372,16 @@ export declare const ticketContract: {
|
|
4607
4372
|
}>, "many">;
|
4608
4373
|
}, "strip", z.ZodTypeAny, {
|
4609
4374
|
id: string;
|
4610
|
-
createdAt:
|
4611
|
-
updatedAt:
|
4612
|
-
deletedAt:
|
4375
|
+
createdAt: Date;
|
4376
|
+
updatedAt: Date;
|
4377
|
+
deletedAt: Date | null;
|
4613
4378
|
attribute: {
|
4614
4379
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
4615
4380
|
id: string;
|
4616
4381
|
position: number;
|
4617
|
-
createdAt:
|
4618
|
-
updatedAt:
|
4619
|
-
deletedAt:
|
4382
|
+
createdAt: Date;
|
4383
|
+
updatedAt: Date;
|
4384
|
+
deletedAt: Date | null;
|
4620
4385
|
isDefault: boolean;
|
4621
4386
|
systemName: string;
|
4622
4387
|
displayName: string;
|
@@ -4636,9 +4401,9 @@ export declare const ticketContract: {
|
|
4636
4401
|
customFieldId: string;
|
4637
4402
|
upload: {
|
4638
4403
|
id: string;
|
4639
|
-
createdAt:
|
4640
|
-
updatedAt:
|
4641
|
-
deletedAt:
|
4404
|
+
createdAt: Date;
|
4405
|
+
updatedAt: Date;
|
4406
|
+
deletedAt: Date | null;
|
4642
4407
|
fileName: string;
|
4643
4408
|
fileKey: string;
|
4644
4409
|
bucketName: string;
|
@@ -4647,16 +4412,16 @@ export declare const ticketContract: {
|
|
4647
4412
|
}[];
|
4648
4413
|
}, {
|
4649
4414
|
id: string;
|
4650
|
-
createdAt:
|
4651
|
-
updatedAt:
|
4652
|
-
deletedAt:
|
4415
|
+
createdAt: Date;
|
4416
|
+
updatedAt: Date;
|
4417
|
+
deletedAt: Date | null;
|
4653
4418
|
attribute: {
|
4654
4419
|
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
4655
4420
|
id: string;
|
4656
4421
|
position: number;
|
4657
|
-
createdAt:
|
4658
|
-
updatedAt:
|
4659
|
-
deletedAt:
|
4422
|
+
createdAt: Date;
|
4423
|
+
updatedAt: Date;
|
4424
|
+
deletedAt: Date | null;
|
4660
4425
|
isDefault: boolean;
|
4661
4426
|
systemName: string;
|
4662
4427
|
displayName: string;
|
@@ -4676,9 +4441,9 @@ export declare const ticketContract: {
|
|
4676
4441
|
customFieldId: string;
|
4677
4442
|
upload: {
|
4678
4443
|
id: string;
|
4679
|
-
createdAt:
|
4680
|
-
updatedAt:
|
4681
|
-
deletedAt:
|
4444
|
+
createdAt: Date;
|
4445
|
+
updatedAt: Date;
|
4446
|
+
deletedAt: Date | null;
|
4682
4447
|
fileName: string;
|
4683
4448
|
fileKey: string;
|
4684
4449
|
bucketName: 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
|