@kl1/contracts 1.0.44 → 1.0.45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/dist/index.js +97 -33
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +97 -33
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/chat/index.d.ts +193 -0
  6. package/dist/src/chat/index.d.ts.map +1 -1
  7. package/dist/src/chat/schema.d.ts +44 -0
  8. package/dist/src/chat/schema.d.ts.map +1 -1
  9. package/dist/src/chat/validation.d.ts +48 -0
  10. package/dist/src/chat/validation.d.ts.map +1 -1
  11. package/dist/src/comment/index.d.ts +1540 -150
  12. package/dist/src/comment/index.d.ts.map +1 -1
  13. package/dist/src/comment/schema.d.ts +424 -22
  14. package/dist/src/comment/schema.d.ts.map +1 -1
  15. package/dist/src/contact/index.d.ts +77 -0
  16. package/dist/src/contact/index.d.ts.map +1 -1
  17. package/dist/src/contact/schema.d.ts +16 -0
  18. package/dist/src/contact/schema.d.ts.map +1 -1
  19. package/dist/src/contact/validation.d.ts +63 -0
  20. package/dist/src/contact/validation.d.ts.map +1 -1
  21. package/dist/src/contract.d.ts +5337 -818
  22. package/dist/src/contract.d.ts.map +1 -1
  23. package/dist/src/cx-log/index.d.ts +54 -0
  24. package/dist/src/cx-log/index.d.ts.map +1 -1
  25. package/dist/src/cx-log/schema.d.ts +46 -0
  26. package/dist/src/cx-log/schema.d.ts.map +1 -1
  27. package/dist/src/mail/mail-contract.d.ts +7 -0
  28. package/dist/src/mail/mail-contract.d.ts.map +1 -1
  29. package/dist/src/mail/room-contract.d.ts +7 -0
  30. package/dist/src/mail/room-contract.d.ts.map +1 -1
  31. package/dist/src/mail/schemas/room.schema.d.ts +5 -0
  32. package/dist/src/mail/schemas/room.schema.d.ts.map +1 -1
  33. package/dist/src/messenger/index.d.ts +24 -0
  34. package/dist/src/messenger/index.d.ts.map +1 -1
  35. package/dist/src/telephony-cdr/call-report.schema.d.ts +334 -1
  36. package/dist/src/telephony-cdr/call-report.schema.d.ts.map +1 -1
  37. package/dist/src/telephony-cdr/index.d.ts +650 -1
  38. package/dist/src/telephony-cdr/index.d.ts.map +1 -1
  39. package/dist/src/telephony-cdr/schema.d.ts +670 -0
  40. package/dist/src/telephony-cdr/schema.d.ts.map +1 -1
  41. package/dist/src/ticket/index.d.ts +2338 -171
  42. package/dist/src/ticket/index.d.ts.map +1 -1
  43. package/dist/src/ticket/schema.d.ts +327 -12
  44. package/dist/src/ticket/schema.d.ts.map +1 -1
  45. package/dist/src/upload/schema.d.ts +3 -0
  46. package/dist/src/upload/schema.d.ts.map +1 -1
  47. package/package.json +1 -1
@@ -190,8 +190,212 @@ export declare const ticketContract: {
190
190
  status: z.ZodString;
191
191
  contactId: z.ZodString;
192
192
  creatorId: z.ZodString;
193
+ creator: z.ZodNullable<z.ZodOptional<z.ZodObject<{
194
+ id: z.ZodString;
195
+ createdAt: z.ZodDate;
196
+ updatedAt: z.ZodDate;
197
+ deletedAt: z.ZodNullable<z.ZodDate>;
198
+ name: z.ZodString;
199
+ email: z.ZodString;
200
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
201
+ password: z.ZodString;
202
+ address: z.ZodNullable<z.ZodString>;
203
+ phone: z.ZodNullable<z.ZodString>;
204
+ notificationCount: z.ZodNullable<z.ZodNumber>;
205
+ roles: z.ZodArray<z.ZodObject<{
206
+ id: z.ZodString;
207
+ createdAt: z.ZodDate;
208
+ updatedAt: z.ZodDate;
209
+ deletedAt: z.ZodNullable<z.ZodDate>;
210
+ systemName: z.ZodString;
211
+ displayName: z.ZodString;
212
+ description: z.ZodNullable<z.ZodString>;
213
+ permissions: z.ZodArray<z.ZodObject<{
214
+ id: z.ZodString;
215
+ createdAt: z.ZodDate;
216
+ updatedAt: z.ZodDate;
217
+ deletedAt: z.ZodNullable<z.ZodDate>;
218
+ systemName: z.ZodString;
219
+ displayName: z.ZodString;
220
+ description: z.ZodNullable<z.ZodString>;
221
+ }, "strip", z.ZodTypeAny, {
222
+ id: string;
223
+ description: string | null;
224
+ createdAt: Date;
225
+ updatedAt: Date;
226
+ deletedAt: Date | null;
227
+ systemName: string;
228
+ displayName: string;
229
+ }, {
230
+ id: string;
231
+ description: string | null;
232
+ createdAt: Date;
233
+ updatedAt: Date;
234
+ deletedAt: Date | null;
235
+ systemName: string;
236
+ displayName: string;
237
+ }>, "many">;
238
+ }, "strip", z.ZodTypeAny, {
239
+ id: string;
240
+ description: string | null;
241
+ createdAt: Date;
242
+ updatedAt: Date;
243
+ deletedAt: Date | null;
244
+ systemName: string;
245
+ displayName: string;
246
+ permissions: {
247
+ id: string;
248
+ description: string | null;
249
+ createdAt: Date;
250
+ updatedAt: Date;
251
+ deletedAt: Date | null;
252
+ systemName: string;
253
+ displayName: string;
254
+ }[];
255
+ }, {
256
+ id: string;
257
+ description: string | null;
258
+ createdAt: Date;
259
+ updatedAt: Date;
260
+ deletedAt: Date | null;
261
+ systemName: string;
262
+ displayName: string;
263
+ permissions: {
264
+ id: string;
265
+ description: string | null;
266
+ createdAt: Date;
267
+ updatedAt: Date;
268
+ deletedAt: Date | null;
269
+ systemName: string;
270
+ displayName: string;
271
+ }[];
272
+ }>, "many">;
273
+ extension: z.ZodObject<{
274
+ id: z.ZodString;
275
+ createdAt: z.ZodDate;
276
+ updatedAt: z.ZodDate;
277
+ deletedAt: z.ZodNullable<z.ZodDate>;
278
+ userId: z.ZodNullable<z.ZodString>;
279
+ sipServerUrl: z.ZodString;
280
+ sipUserName: z.ZodString;
281
+ webphoneLoginUser: z.ZodString;
282
+ extensionId: z.ZodNumber;
283
+ extensionName: z.ZodString;
284
+ telephonySignature: z.ZodNullable<z.ZodString>;
285
+ }, "strip", z.ZodTypeAny, {
286
+ id: string;
287
+ createdAt: Date;
288
+ updatedAt: Date;
289
+ deletedAt: Date | null;
290
+ userId: string | null;
291
+ sipServerUrl: string;
292
+ sipUserName: string;
293
+ webphoneLoginUser: string;
294
+ extensionId: number;
295
+ extensionName: string;
296
+ telephonySignature: string | null;
297
+ }, {
298
+ id: string;
299
+ createdAt: Date;
300
+ updatedAt: Date;
301
+ deletedAt: Date | null;
302
+ userId: string | null;
303
+ sipServerUrl: string;
304
+ sipUserName: string;
305
+ webphoneLoginUser: string;
306
+ extensionId: number;
307
+ extensionName: string;
308
+ telephonySignature: string | null;
309
+ }>;
310
+ }, "strip", z.ZodTypeAny, {
311
+ id: string;
312
+ address: string | null;
313
+ name: string;
314
+ email: string;
315
+ createdAt: Date;
316
+ updatedAt: Date;
317
+ deletedAt: Date | null;
318
+ emailVerifiedAt: Date | null;
319
+ password: string;
320
+ phone: string | null;
321
+ notificationCount: number | null;
322
+ roles: {
323
+ id: string;
324
+ description: string | null;
325
+ createdAt: Date;
326
+ updatedAt: Date;
327
+ deletedAt: Date | null;
328
+ systemName: string;
329
+ displayName: string;
330
+ permissions: {
331
+ id: string;
332
+ description: string | null;
333
+ createdAt: Date;
334
+ updatedAt: Date;
335
+ deletedAt: Date | null;
336
+ systemName: string;
337
+ displayName: string;
338
+ }[];
339
+ }[];
340
+ extension: {
341
+ id: string;
342
+ createdAt: Date;
343
+ updatedAt: Date;
344
+ deletedAt: Date | null;
345
+ userId: string | null;
346
+ sipServerUrl: string;
347
+ sipUserName: string;
348
+ webphoneLoginUser: string;
349
+ extensionId: number;
350
+ extensionName: string;
351
+ telephonySignature: string | null;
352
+ };
353
+ }, {
354
+ id: string;
355
+ address: string | null;
356
+ name: string;
357
+ email: string;
358
+ createdAt: Date;
359
+ updatedAt: Date;
360
+ deletedAt: Date | null;
361
+ emailVerifiedAt: Date | null;
362
+ password: string;
363
+ phone: string | null;
364
+ notificationCount: number | null;
365
+ roles: {
366
+ id: string;
367
+ description: string | null;
368
+ createdAt: Date;
369
+ updatedAt: Date;
370
+ deletedAt: Date | null;
371
+ systemName: string;
372
+ displayName: string;
373
+ permissions: {
374
+ id: string;
375
+ description: string | null;
376
+ createdAt: Date;
377
+ updatedAt: Date;
378
+ deletedAt: Date | null;
379
+ systemName: string;
380
+ displayName: string;
381
+ }[];
382
+ }[];
383
+ extension: {
384
+ id: string;
385
+ createdAt: Date;
386
+ updatedAt: Date;
387
+ deletedAt: Date | null;
388
+ userId: string | null;
389
+ sipServerUrl: string;
390
+ sipUserName: string;
391
+ webphoneLoginUser: string;
392
+ extensionId: number;
393
+ extensionName: string;
394
+ telephonySignature: string | null;
395
+ };
396
+ }>>>;
193
397
  assigneeId: z.ZodString;
194
- assignee: z.ZodObject<{
398
+ assignee: z.ZodNullable<z.ZodOptional<z.ZodObject<{
195
399
  id: z.ZodString;
196
400
  createdAt: z.ZodDate;
197
401
  updatedAt: z.ZodDate;
@@ -394,7 +598,7 @@ export declare const ticketContract: {
394
598
  extensionName: string;
395
599
  telephonySignature: string | null;
396
600
  };
397
- }>;
601
+ }>>>;
398
602
  reasonToAssign: z.ZodNullable<z.ZodString>;
399
603
  ticketNumber: z.ZodOptional<z.ZodNumber>;
400
604
  customFields: z.ZodArray<z.ZodObject<{
@@ -497,6 +701,7 @@ export declare const ticketContract: {
497
701
  fileSize: z.ZodNumber;
498
702
  fileKey: z.ZodString;
499
703
  fileUrl: z.ZodNullable<z.ZodString>;
704
+ status: z.ZodOptional<z.ZodString>;
500
705
  }, "strip", z.ZodTypeAny, {
501
706
  id: string;
502
707
  createdAt: Date;
@@ -507,6 +712,7 @@ export declare const ticketContract: {
507
712
  bucketName: string;
508
713
  fileSize: number;
509
714
  fileUrl: string | null;
715
+ status?: string | undefined;
510
716
  }, {
511
717
  id: string;
512
718
  createdAt: Date;
@@ -517,6 +723,7 @@ export declare const ticketContract: {
517
723
  bucketName: string;
518
724
  fileSize: number;
519
725
  fileUrl: string | null;
726
+ status?: string | undefined;
520
727
  }>, "many">;
521
728
  }, "strip", z.ZodTypeAny, {
522
729
  id: string;
@@ -551,6 +758,7 @@ export declare const ticketContract: {
551
758
  bucketName: string;
552
759
  fileSize: number;
553
760
  fileUrl: string | null;
761
+ status?: string | undefined;
554
762
  }[];
555
763
  }, {
556
764
  id: string;
@@ -585,6 +793,7 @@ export declare const ticketContract: {
585
793
  bucketName: string;
586
794
  fileSize: number;
587
795
  fileUrl: string | null;
796
+ status?: string | undefined;
588
797
  }[];
589
798
  }>, "many">;
590
799
  tags: z.ZodArray<z.ZodObject<{
@@ -1007,6 +1216,7 @@ export declare const ticketContract: {
1007
1216
  fileSize: z.ZodNumber;
1008
1217
  fileKey: z.ZodString;
1009
1218
  fileUrl: z.ZodNullable<z.ZodString>;
1219
+ status: z.ZodOptional<z.ZodString>;
1010
1220
  }, "strip", z.ZodTypeAny, {
1011
1221
  id: string;
1012
1222
  createdAt: Date;
@@ -1017,6 +1227,7 @@ export declare const ticketContract: {
1017
1227
  bucketName: string;
1018
1228
  fileSize: number;
1019
1229
  fileUrl: string | null;
1230
+ status?: string | undefined;
1020
1231
  }, {
1021
1232
  id: string;
1022
1233
  createdAt: Date;
@@ -1027,6 +1238,7 @@ export declare const ticketContract: {
1027
1238
  bucketName: string;
1028
1239
  fileSize: number;
1029
1240
  fileUrl: string | null;
1241
+ status?: string | undefined;
1030
1242
  }>;
1031
1243
  }, "strip", z.ZodTypeAny, {
1032
1244
  id: string;
@@ -1044,6 +1256,7 @@ export declare const ticketContract: {
1044
1256
  bucketName: string;
1045
1257
  fileSize: number;
1046
1258
  fileUrl: string | null;
1259
+ status?: string | undefined;
1047
1260
  };
1048
1261
  }, {
1049
1262
  id: string;
@@ -1061,6 +1274,7 @@ export declare const ticketContract: {
1061
1274
  bucketName: string;
1062
1275
  fileSize: number;
1063
1276
  fileUrl: string | null;
1277
+ status?: string | undefined;
1064
1278
  };
1065
1279
  }>, "many">;
1066
1280
  }, "strip", z.ZodTypeAny, {
@@ -1102,6 +1316,7 @@ export declare const ticketContract: {
1102
1316
  bucketName: string;
1103
1317
  fileSize: number;
1104
1318
  fileUrl: string | null;
1319
+ status?: string | undefined;
1105
1320
  };
1106
1321
  }[];
1107
1322
  }, {
@@ -1143,6 +1358,7 @@ export declare const ticketContract: {
1143
1358
  bucketName: string;
1144
1359
  fileSize: number;
1145
1360
  fileUrl: string | null;
1361
+ status?: string | undefined;
1146
1362
  };
1147
1363
  }[];
1148
1364
  }>, "many">;
@@ -1297,6 +1513,7 @@ export declare const ticketContract: {
1297
1513
  bucketName: string;
1298
1514
  fileSize: number;
1299
1515
  fileUrl: string | null;
1516
+ status?: string | undefined;
1300
1517
  };
1301
1518
  }[];
1302
1519
  }[];
@@ -1399,6 +1616,7 @@ export declare const ticketContract: {
1399
1616
  bucketName: string;
1400
1617
  fileSize: number;
1401
1618
  fileUrl: string | null;
1619
+ status?: string | undefined;
1402
1620
  };
1403
1621
  }[];
1404
1622
  }[];
@@ -1535,6 +1753,7 @@ export declare const ticketContract: {
1535
1753
  bucketName: string;
1536
1754
  fileSize: number;
1537
1755
  fileUrl: string | null;
1756
+ status?: string | undefined;
1538
1757
  };
1539
1758
  }[];
1540
1759
  }[];
@@ -1624,6 +1843,7 @@ export declare const ticketContract: {
1624
1843
  bucketName: string;
1625
1844
  fileSize: number;
1626
1845
  fileUrl: string | null;
1846
+ status?: string | undefined;
1627
1847
  }[];
1628
1848
  }[];
1629
1849
  tags: {
@@ -1634,7 +1854,10 @@ export declare const ticketContract: {
1634
1854
  deletedAt: Date | null;
1635
1855
  }[];
1636
1856
  contactId: string;
1637
- assignee: {
1857
+ assigneeId: string;
1858
+ creatorId: string;
1859
+ reasonToAssign: string | null;
1860
+ creator?: {
1638
1861
  id: string;
1639
1862
  address: string | null;
1640
1863
  name: string;
@@ -1677,10 +1900,51 @@ export declare const ticketContract: {
1677
1900
  extensionName: string;
1678
1901
  telephonySignature: string | null;
1679
1902
  };
1680
- };
1681
- assigneeId: string;
1682
- creatorId: string;
1683
- reasonToAssign: string | null;
1903
+ } | null | undefined;
1904
+ assignee?: {
1905
+ id: string;
1906
+ address: string | null;
1907
+ name: string;
1908
+ email: string;
1909
+ createdAt: Date;
1910
+ updatedAt: Date;
1911
+ deletedAt: Date | null;
1912
+ emailVerifiedAt: Date | null;
1913
+ password: string;
1914
+ phone: string | null;
1915
+ notificationCount: number | null;
1916
+ roles: {
1917
+ id: string;
1918
+ description: string | null;
1919
+ createdAt: Date;
1920
+ updatedAt: Date;
1921
+ deletedAt: Date | null;
1922
+ systemName: string;
1923
+ displayName: string;
1924
+ permissions: {
1925
+ id: string;
1926
+ description: string | null;
1927
+ createdAt: Date;
1928
+ updatedAt: Date;
1929
+ deletedAt: Date | null;
1930
+ systemName: string;
1931
+ displayName: string;
1932
+ }[];
1933
+ }[];
1934
+ extension: {
1935
+ id: string;
1936
+ createdAt: Date;
1937
+ updatedAt: Date;
1938
+ deletedAt: Date | null;
1939
+ userId: string | null;
1940
+ sipServerUrl: string;
1941
+ sipUserName: string;
1942
+ webphoneLoginUser: string;
1943
+ extensionId: number;
1944
+ extensionName: string;
1945
+ telephonySignature: string | null;
1946
+ };
1947
+ } | null | undefined;
1684
1948
  ticketNumber?: number | undefined;
1685
1949
  }, {
1686
1950
  type: string;
@@ -1762,6 +2026,7 @@ export declare const ticketContract: {
1762
2026
  bucketName: string;
1763
2027
  fileSize: number;
1764
2028
  fileUrl: string | null;
2029
+ status?: string | undefined;
1765
2030
  };
1766
2031
  }[];
1767
2032
  }[];
@@ -1851,6 +2116,7 @@ export declare const ticketContract: {
1851
2116
  bucketName: string;
1852
2117
  fileSize: number;
1853
2118
  fileUrl: string | null;
2119
+ status?: string | undefined;
1854
2120
  }[];
1855
2121
  }[];
1856
2122
  tags: {
@@ -1861,7 +2127,10 @@ export declare const ticketContract: {
1861
2127
  deletedAt: Date | null;
1862
2128
  }[];
1863
2129
  contactId: string;
1864
- assignee: {
2130
+ assigneeId: string;
2131
+ creatorId: string;
2132
+ reasonToAssign: string | null;
2133
+ creator?: {
1865
2134
  id: string;
1866
2135
  address: string | null;
1867
2136
  name: string;
@@ -1904,10 +2173,51 @@ export declare const ticketContract: {
1904
2173
  extensionName: string;
1905
2174
  telephonySignature: string | null;
1906
2175
  };
1907
- };
1908
- assigneeId: string;
1909
- creatorId: string;
1910
- reasonToAssign: string | null;
2176
+ } | null | undefined;
2177
+ assignee?: {
2178
+ id: string;
2179
+ address: string | null;
2180
+ name: string;
2181
+ email: string;
2182
+ createdAt: Date;
2183
+ updatedAt: Date;
2184
+ deletedAt: Date | null;
2185
+ emailVerifiedAt: Date | null;
2186
+ password: string;
2187
+ phone: string | null;
2188
+ notificationCount: number | null;
2189
+ roles: {
2190
+ id: string;
2191
+ description: string | null;
2192
+ createdAt: Date;
2193
+ updatedAt: Date;
2194
+ deletedAt: Date | null;
2195
+ systemName: string;
2196
+ displayName: string;
2197
+ permissions: {
2198
+ id: string;
2199
+ description: string | null;
2200
+ createdAt: Date;
2201
+ updatedAt: Date;
2202
+ deletedAt: Date | null;
2203
+ systemName: string;
2204
+ displayName: string;
2205
+ }[];
2206
+ }[];
2207
+ extension: {
2208
+ id: string;
2209
+ createdAt: Date;
2210
+ updatedAt: Date;
2211
+ deletedAt: Date | null;
2212
+ userId: string | null;
2213
+ sipServerUrl: string;
2214
+ sipUserName: string;
2215
+ webphoneLoginUser: string;
2216
+ extensionId: number;
2217
+ extensionName: string;
2218
+ telephonySignature: string | null;
2219
+ };
2220
+ } | null | undefined;
1911
2221
  ticketNumber?: number | undefined;
1912
2222
  }>;
1913
2223
  }, "strip", z.ZodTypeAny, {
@@ -1991,6 +2301,7 @@ export declare const ticketContract: {
1991
2301
  bucketName: string;
1992
2302
  fileSize: number;
1993
2303
  fileUrl: string | null;
2304
+ status?: string | undefined;
1994
2305
  };
1995
2306
  }[];
1996
2307
  }[];
@@ -2080,6 +2391,7 @@ export declare const ticketContract: {
2080
2391
  bucketName: string;
2081
2392
  fileSize: number;
2082
2393
  fileUrl: string | null;
2394
+ status?: string | undefined;
2083
2395
  }[];
2084
2396
  }[];
2085
2397
  tags: {
@@ -2090,7 +2402,10 @@ export declare const ticketContract: {
2090
2402
  deletedAt: Date | null;
2091
2403
  }[];
2092
2404
  contactId: string;
2093
- assignee: {
2405
+ assigneeId: string;
2406
+ creatorId: string;
2407
+ reasonToAssign: string | null;
2408
+ creator?: {
2094
2409
  id: string;
2095
2410
  address: string | null;
2096
2411
  name: string;
@@ -2133,10 +2448,51 @@ export declare const ticketContract: {
2133
2448
  extensionName: string;
2134
2449
  telephonySignature: string | null;
2135
2450
  };
2136
- };
2137
- assigneeId: string;
2138
- creatorId: string;
2139
- reasonToAssign: string | null;
2451
+ } | null | undefined;
2452
+ assignee?: {
2453
+ id: string;
2454
+ address: string | null;
2455
+ name: string;
2456
+ email: string;
2457
+ createdAt: Date;
2458
+ updatedAt: Date;
2459
+ deletedAt: Date | null;
2460
+ emailVerifiedAt: Date | null;
2461
+ password: string;
2462
+ phone: string | null;
2463
+ notificationCount: number | null;
2464
+ roles: {
2465
+ id: string;
2466
+ description: string | null;
2467
+ createdAt: Date;
2468
+ updatedAt: Date;
2469
+ deletedAt: Date | null;
2470
+ systemName: string;
2471
+ displayName: string;
2472
+ permissions: {
2473
+ id: string;
2474
+ description: string | null;
2475
+ createdAt: Date;
2476
+ updatedAt: Date;
2477
+ deletedAt: Date | null;
2478
+ systemName: string;
2479
+ displayName: string;
2480
+ }[];
2481
+ }[];
2482
+ extension: {
2483
+ id: string;
2484
+ createdAt: Date;
2485
+ updatedAt: Date;
2486
+ deletedAt: Date | null;
2487
+ userId: string | null;
2488
+ sipServerUrl: string;
2489
+ sipUserName: string;
2490
+ webphoneLoginUser: string;
2491
+ extensionId: number;
2492
+ extensionName: string;
2493
+ telephonySignature: string | null;
2494
+ };
2495
+ } | null | undefined;
2140
2496
  ticketNumber?: number | undefined;
2141
2497
  };
2142
2498
  requestId: string;
@@ -2221,6 +2577,7 @@ export declare const ticketContract: {
2221
2577
  bucketName: string;
2222
2578
  fileSize: number;
2223
2579
  fileUrl: string | null;
2580
+ status?: string | undefined;
2224
2581
  };
2225
2582
  }[];
2226
2583
  }[];
@@ -2310,6 +2667,7 @@ export declare const ticketContract: {
2310
2667
  bucketName: string;
2311
2668
  fileSize: number;
2312
2669
  fileUrl: string | null;
2670
+ status?: string | undefined;
2313
2671
  }[];
2314
2672
  }[];
2315
2673
  tags: {
@@ -2320,7 +2678,10 @@ export declare const ticketContract: {
2320
2678
  deletedAt: Date | null;
2321
2679
  }[];
2322
2680
  contactId: string;
2323
- assignee: {
2681
+ assigneeId: string;
2682
+ creatorId: string;
2683
+ reasonToAssign: string | null;
2684
+ creator?: {
2324
2685
  id: string;
2325
2686
  address: string | null;
2326
2687
  name: string;
@@ -2363,10 +2724,51 @@ export declare const ticketContract: {
2363
2724
  extensionName: string;
2364
2725
  telephonySignature: string | null;
2365
2726
  };
2366
- };
2367
- assigneeId: string;
2368
- creatorId: string;
2369
- reasonToAssign: string | null;
2727
+ } | null | undefined;
2728
+ assignee?: {
2729
+ id: string;
2730
+ address: string | null;
2731
+ name: string;
2732
+ email: string;
2733
+ createdAt: Date;
2734
+ updatedAt: Date;
2735
+ deletedAt: Date | null;
2736
+ emailVerifiedAt: Date | null;
2737
+ password: string;
2738
+ phone: string | null;
2739
+ notificationCount: number | null;
2740
+ roles: {
2741
+ id: string;
2742
+ description: string | null;
2743
+ createdAt: Date;
2744
+ updatedAt: Date;
2745
+ deletedAt: Date | null;
2746
+ systemName: string;
2747
+ displayName: string;
2748
+ permissions: {
2749
+ id: string;
2750
+ description: string | null;
2751
+ createdAt: Date;
2752
+ updatedAt: Date;
2753
+ deletedAt: Date | null;
2754
+ systemName: string;
2755
+ displayName: string;
2756
+ }[];
2757
+ }[];
2758
+ extension: {
2759
+ id: string;
2760
+ createdAt: Date;
2761
+ updatedAt: Date;
2762
+ deletedAt: Date | null;
2763
+ userId: string | null;
2764
+ sipServerUrl: string;
2765
+ sipUserName: string;
2766
+ webphoneLoginUser: string;
2767
+ extensionId: number;
2768
+ extensionName: string;
2769
+ telephonySignature: string | null;
2770
+ };
2771
+ } | null | undefined;
2370
2772
  ticketNumber?: number | undefined;
2371
2773
  };
2372
2774
  requestId: string;
@@ -2604,6 +3006,7 @@ export declare const ticketContract: {
2604
3006
  bucketName: string;
2605
3007
  fileSize: number;
2606
3008
  fileUrl: string | null;
3009
+ status?: string | undefined;
2607
3010
  };
2608
3011
  }[];
2609
3012
  }[];
@@ -2693,6 +3096,7 @@ export declare const ticketContract: {
2693
3096
  bucketName: string;
2694
3097
  fileSize: number;
2695
3098
  fileUrl: string | null;
3099
+ status?: string | undefined;
2696
3100
  }[];
2697
3101
  }[];
2698
3102
  tags: {
@@ -2703,7 +3107,10 @@ export declare const ticketContract: {
2703
3107
  deletedAt: Date | null;
2704
3108
  }[];
2705
3109
  contactId: string;
2706
- assignee: {
3110
+ assigneeId: string;
3111
+ creatorId: string;
3112
+ reasonToAssign: string | null;
3113
+ creator?: {
2707
3114
  id: string;
2708
3115
  address: string | null;
2709
3116
  name: string;
@@ -2746,10 +3153,51 @@ export declare const ticketContract: {
2746
3153
  extensionName: string;
2747
3154
  telephonySignature: string | null;
2748
3155
  };
2749
- };
2750
- assigneeId: string;
2751
- creatorId: string;
2752
- reasonToAssign: string | null;
3156
+ } | null | undefined;
3157
+ assignee?: {
3158
+ id: string;
3159
+ address: string | null;
3160
+ name: string;
3161
+ email: string;
3162
+ createdAt: Date;
3163
+ updatedAt: Date;
3164
+ deletedAt: Date | null;
3165
+ emailVerifiedAt: Date | null;
3166
+ password: string;
3167
+ phone: string | null;
3168
+ notificationCount: number | null;
3169
+ roles: {
3170
+ id: string;
3171
+ description: string | null;
3172
+ createdAt: Date;
3173
+ updatedAt: Date;
3174
+ deletedAt: Date | null;
3175
+ systemName: string;
3176
+ displayName: string;
3177
+ permissions: {
3178
+ id: string;
3179
+ description: string | null;
3180
+ createdAt: Date;
3181
+ updatedAt: Date;
3182
+ deletedAt: Date | null;
3183
+ systemName: string;
3184
+ displayName: string;
3185
+ }[];
3186
+ }[];
3187
+ extension: {
3188
+ id: string;
3189
+ createdAt: Date;
3190
+ updatedAt: Date;
3191
+ deletedAt: Date | null;
3192
+ userId: string | null;
3193
+ sipServerUrl: string;
3194
+ sipUserName: string;
3195
+ webphoneLoginUser: string;
3196
+ extensionId: number;
3197
+ extensionName: string;
3198
+ telephonySignature: string | null;
3199
+ };
3200
+ } | null | undefined;
2753
3201
  ticketNumber?: number | undefined;
2754
3202
  }, z.ZodTypeDef, {
2755
3203
  type: string;
@@ -2831,6 +3279,7 @@ export declare const ticketContract: {
2831
3279
  bucketName: string;
2832
3280
  fileSize: number;
2833
3281
  fileUrl: string | null;
3282
+ status?: string | undefined;
2834
3283
  };
2835
3284
  }[];
2836
3285
  }[];
@@ -2920,6 +3369,7 @@ export declare const ticketContract: {
2920
3369
  bucketName: string;
2921
3370
  fileSize: number;
2922
3371
  fileUrl: string | null;
3372
+ status?: string | undefined;
2923
3373
  }[];
2924
3374
  }[];
2925
3375
  tags: {
@@ -2930,7 +3380,10 @@ export declare const ticketContract: {
2930
3380
  deletedAt: Date | null;
2931
3381
  }[];
2932
3382
  contactId: string;
2933
- assignee: {
3383
+ assigneeId: string;
3384
+ creatorId: string;
3385
+ reasonToAssign: string | null;
3386
+ creator?: {
2934
3387
  id: string;
2935
3388
  address: string | null;
2936
3389
  name: string;
@@ -2973,10 +3426,51 @@ export declare const ticketContract: {
2973
3426
  extensionName: string;
2974
3427
  telephonySignature: string | null;
2975
3428
  };
2976
- };
2977
- assigneeId: string;
2978
- creatorId: string;
2979
- reasonToAssign: string | null;
3429
+ } | null | undefined;
3430
+ assignee?: {
3431
+ id: string;
3432
+ address: string | null;
3433
+ name: string;
3434
+ email: string;
3435
+ createdAt: Date;
3436
+ updatedAt: Date;
3437
+ deletedAt: Date | null;
3438
+ emailVerifiedAt: Date | null;
3439
+ password: string;
3440
+ phone: string | null;
3441
+ notificationCount: number | null;
3442
+ roles: {
3443
+ id: string;
3444
+ description: string | null;
3445
+ createdAt: Date;
3446
+ updatedAt: Date;
3447
+ deletedAt: Date | null;
3448
+ systemName: string;
3449
+ displayName: string;
3450
+ permissions: {
3451
+ id: string;
3452
+ description: string | null;
3453
+ createdAt: Date;
3454
+ updatedAt: Date;
3455
+ deletedAt: Date | null;
3456
+ systemName: string;
3457
+ displayName: string;
3458
+ }[];
3459
+ }[];
3460
+ extension: {
3461
+ id: string;
3462
+ createdAt: Date;
3463
+ updatedAt: Date;
3464
+ deletedAt: Date | null;
3465
+ userId: string | null;
3466
+ sipServerUrl: string;
3467
+ sipUserName: string;
3468
+ webphoneLoginUser: string;
3469
+ extensionId: number;
3470
+ extensionName: string;
3471
+ telephonySignature: string | null;
3472
+ };
3473
+ } | null | undefined;
2980
3474
  ticketNumber?: number | undefined;
2981
3475
  }>, "many">;
2982
3476
  }, "strip", z.ZodTypeAny, {
@@ -3060,6 +3554,7 @@ export declare const ticketContract: {
3060
3554
  bucketName: string;
3061
3555
  fileSize: number;
3062
3556
  fileUrl: string | null;
3557
+ status?: string | undefined;
3063
3558
  };
3064
3559
  }[];
3065
3560
  }[];
@@ -3149,6 +3644,7 @@ export declare const ticketContract: {
3149
3644
  bucketName: string;
3150
3645
  fileSize: number;
3151
3646
  fileUrl: string | null;
3647
+ status?: string | undefined;
3152
3648
  }[];
3153
3649
  }[];
3154
3650
  tags: {
@@ -3159,7 +3655,10 @@ export declare const ticketContract: {
3159
3655
  deletedAt: Date | null;
3160
3656
  }[];
3161
3657
  contactId: string;
3162
- assignee: {
3658
+ assigneeId: string;
3659
+ creatorId: string;
3660
+ reasonToAssign: string | null;
3661
+ creator?: {
3163
3662
  id: string;
3164
3663
  address: string | null;
3165
3664
  name: string;
@@ -3202,18 +3701,59 @@ export declare const ticketContract: {
3202
3701
  extensionName: string;
3203
3702
  telephonySignature: string | null;
3204
3703
  };
3205
- };
3206
- assigneeId: string;
3207
- creatorId: string;
3208
- reasonToAssign: string | null;
3209
- ticketNumber?: number | undefined;
3210
- }[];
3211
- total: number;
3212
- page: number;
3213
- pageSize: number;
3214
- lastPage?: number | null | undefined;
3215
- }, {
3216
- data: {
3704
+ } | null | undefined;
3705
+ assignee?: {
3706
+ id: string;
3707
+ address: string | null;
3708
+ name: string;
3709
+ email: string;
3710
+ createdAt: Date;
3711
+ updatedAt: Date;
3712
+ deletedAt: Date | null;
3713
+ emailVerifiedAt: Date | null;
3714
+ password: string;
3715
+ phone: string | null;
3716
+ notificationCount: number | null;
3717
+ roles: {
3718
+ id: string;
3719
+ description: string | null;
3720
+ createdAt: Date;
3721
+ updatedAt: Date;
3722
+ deletedAt: Date | null;
3723
+ systemName: string;
3724
+ displayName: string;
3725
+ permissions: {
3726
+ id: string;
3727
+ description: string | null;
3728
+ createdAt: Date;
3729
+ updatedAt: Date;
3730
+ deletedAt: Date | null;
3731
+ systemName: string;
3732
+ displayName: string;
3733
+ }[];
3734
+ }[];
3735
+ extension: {
3736
+ id: string;
3737
+ createdAt: Date;
3738
+ updatedAt: Date;
3739
+ deletedAt: Date | null;
3740
+ userId: string | null;
3741
+ sipServerUrl: string;
3742
+ sipUserName: string;
3743
+ webphoneLoginUser: string;
3744
+ extensionId: number;
3745
+ extensionName: string;
3746
+ telephonySignature: string | null;
3747
+ };
3748
+ } | null | undefined;
3749
+ ticketNumber?: number | undefined;
3750
+ }[];
3751
+ total: number;
3752
+ page: number;
3753
+ pageSize: number;
3754
+ lastPage?: number | null | undefined;
3755
+ }, {
3756
+ data: {
3217
3757
  type: string;
3218
3758
  id: string;
3219
3759
  channel: string;
@@ -3293,6 +3833,7 @@ export declare const ticketContract: {
3293
3833
  bucketName: string;
3294
3834
  fileSize: number;
3295
3835
  fileUrl: string | null;
3836
+ status?: string | undefined;
3296
3837
  };
3297
3838
  }[];
3298
3839
  }[];
@@ -3382,6 +3923,7 @@ export declare const ticketContract: {
3382
3923
  bucketName: string;
3383
3924
  fileSize: number;
3384
3925
  fileUrl: string | null;
3926
+ status?: string | undefined;
3385
3927
  }[];
3386
3928
  }[];
3387
3929
  tags: {
@@ -3392,7 +3934,10 @@ export declare const ticketContract: {
3392
3934
  deletedAt: Date | null;
3393
3935
  }[];
3394
3936
  contactId: string;
3395
- assignee: {
3937
+ assigneeId: string;
3938
+ creatorId: string;
3939
+ reasonToAssign: string | null;
3940
+ creator?: {
3396
3941
  id: string;
3397
3942
  address: string | null;
3398
3943
  name: string;
@@ -3435,10 +3980,51 @@ export declare const ticketContract: {
3435
3980
  extensionName: string;
3436
3981
  telephonySignature: string | null;
3437
3982
  };
3438
- };
3439
- assigneeId: string;
3440
- creatorId: string;
3441
- reasonToAssign: string | null;
3983
+ } | null | undefined;
3984
+ assignee?: {
3985
+ id: string;
3986
+ address: string | null;
3987
+ name: string;
3988
+ email: string;
3989
+ createdAt: Date;
3990
+ updatedAt: Date;
3991
+ deletedAt: Date | null;
3992
+ emailVerifiedAt: Date | null;
3993
+ password: string;
3994
+ phone: string | null;
3995
+ notificationCount: number | null;
3996
+ roles: {
3997
+ id: string;
3998
+ description: string | null;
3999
+ createdAt: Date;
4000
+ updatedAt: Date;
4001
+ deletedAt: Date | null;
4002
+ systemName: string;
4003
+ displayName: string;
4004
+ permissions: {
4005
+ id: string;
4006
+ description: string | null;
4007
+ createdAt: Date;
4008
+ updatedAt: Date;
4009
+ deletedAt: Date | null;
4010
+ systemName: string;
4011
+ displayName: string;
4012
+ }[];
4013
+ }[];
4014
+ extension: {
4015
+ id: string;
4016
+ createdAt: Date;
4017
+ updatedAt: Date;
4018
+ deletedAt: Date | null;
4019
+ userId: string | null;
4020
+ sipServerUrl: string;
4021
+ sipUserName: string;
4022
+ webphoneLoginUser: string;
4023
+ extensionId: number;
4024
+ extensionName: string;
4025
+ telephonySignature: string | null;
4026
+ };
4027
+ } | null | undefined;
3442
4028
  ticketNumber?: number | undefined;
3443
4029
  }[];
3444
4030
  total: number;
@@ -3528,6 +4114,7 @@ export declare const ticketContract: {
3528
4114
  bucketName: string;
3529
4115
  fileSize: number;
3530
4116
  fileUrl: string | null;
4117
+ status?: string | undefined;
3531
4118
  };
3532
4119
  }[];
3533
4120
  }[];
@@ -3617,6 +4204,7 @@ export declare const ticketContract: {
3617
4204
  bucketName: string;
3618
4205
  fileSize: number;
3619
4206
  fileUrl: string | null;
4207
+ status?: string | undefined;
3620
4208
  }[];
3621
4209
  }[];
3622
4210
  tags: {
@@ -3627,7 +4215,10 @@ export declare const ticketContract: {
3627
4215
  deletedAt: Date | null;
3628
4216
  }[];
3629
4217
  contactId: string;
3630
- assignee: {
4218
+ assigneeId: string;
4219
+ creatorId: string;
4220
+ reasonToAssign: string | null;
4221
+ creator?: {
3631
4222
  id: string;
3632
4223
  address: string | null;
3633
4224
  name: string;
@@ -3670,10 +4261,51 @@ export declare const ticketContract: {
3670
4261
  extensionName: string;
3671
4262
  telephonySignature: string | null;
3672
4263
  };
3673
- };
3674
- assigneeId: string;
3675
- creatorId: string;
3676
- reasonToAssign: string | null;
4264
+ } | null | undefined;
4265
+ assignee?: {
4266
+ id: string;
4267
+ address: string | null;
4268
+ name: string;
4269
+ email: string;
4270
+ createdAt: Date;
4271
+ updatedAt: Date;
4272
+ deletedAt: Date | null;
4273
+ emailVerifiedAt: Date | null;
4274
+ password: string;
4275
+ phone: string | null;
4276
+ notificationCount: number | null;
4277
+ roles: {
4278
+ id: string;
4279
+ description: string | null;
4280
+ createdAt: Date;
4281
+ updatedAt: Date;
4282
+ deletedAt: Date | null;
4283
+ systemName: string;
4284
+ displayName: string;
4285
+ permissions: {
4286
+ id: string;
4287
+ description: string | null;
4288
+ createdAt: Date;
4289
+ updatedAt: Date;
4290
+ deletedAt: Date | null;
4291
+ systemName: string;
4292
+ displayName: string;
4293
+ }[];
4294
+ }[];
4295
+ extension: {
4296
+ id: string;
4297
+ createdAt: Date;
4298
+ updatedAt: Date;
4299
+ deletedAt: Date | null;
4300
+ userId: string | null;
4301
+ sipServerUrl: string;
4302
+ sipUserName: string;
4303
+ webphoneLoginUser: string;
4304
+ extensionId: number;
4305
+ extensionName: string;
4306
+ telephonySignature: string | null;
4307
+ };
4308
+ } | null | undefined;
3677
4309
  ticketNumber?: number | undefined;
3678
4310
  }[];
3679
4311
  total: number;
@@ -3764,6 +4396,7 @@ export declare const ticketContract: {
3764
4396
  bucketName: string;
3765
4397
  fileSize: number;
3766
4398
  fileUrl: string | null;
4399
+ status?: string | undefined;
3767
4400
  };
3768
4401
  }[];
3769
4402
  }[];
@@ -3853,6 +4486,7 @@ export declare const ticketContract: {
3853
4486
  bucketName: string;
3854
4487
  fileSize: number;
3855
4488
  fileUrl: string | null;
4489
+ status?: string | undefined;
3856
4490
  }[];
3857
4491
  }[];
3858
4492
  tags: {
@@ -3863,7 +4497,10 @@ export declare const ticketContract: {
3863
4497
  deletedAt: Date | null;
3864
4498
  }[];
3865
4499
  contactId: string;
3866
- assignee: {
4500
+ assigneeId: string;
4501
+ creatorId: string;
4502
+ reasonToAssign: string | null;
4503
+ creator?: {
3867
4504
  id: string;
3868
4505
  address: string | null;
3869
4506
  name: string;
@@ -3906,10 +4543,51 @@ export declare const ticketContract: {
3906
4543
  extensionName: string;
3907
4544
  telephonySignature: string | null;
3908
4545
  };
3909
- };
3910
- assigneeId: string;
3911
- creatorId: string;
3912
- reasonToAssign: string | null;
4546
+ } | null | undefined;
4547
+ assignee?: {
4548
+ id: string;
4549
+ address: string | null;
4550
+ name: string;
4551
+ email: string;
4552
+ createdAt: Date;
4553
+ updatedAt: Date;
4554
+ deletedAt: Date | null;
4555
+ emailVerifiedAt: Date | null;
4556
+ password: string;
4557
+ phone: string | null;
4558
+ notificationCount: number | null;
4559
+ roles: {
4560
+ id: string;
4561
+ description: string | null;
4562
+ createdAt: Date;
4563
+ updatedAt: Date;
4564
+ deletedAt: Date | null;
4565
+ systemName: string;
4566
+ displayName: string;
4567
+ permissions: {
4568
+ id: string;
4569
+ description: string | null;
4570
+ createdAt: Date;
4571
+ updatedAt: Date;
4572
+ deletedAt: Date | null;
4573
+ systemName: string;
4574
+ displayName: string;
4575
+ }[];
4576
+ }[];
4577
+ extension: {
4578
+ id: string;
4579
+ createdAt: Date;
4580
+ updatedAt: Date;
4581
+ deletedAt: Date | null;
4582
+ userId: string | null;
4583
+ sipServerUrl: string;
4584
+ sipUserName: string;
4585
+ webphoneLoginUser: string;
4586
+ extensionId: number;
4587
+ extensionName: string;
4588
+ telephonySignature: string | null;
4589
+ };
4590
+ } | null | undefined;
3913
4591
  ticketNumber?: number | undefined;
3914
4592
  }[];
3915
4593
  total: number;
@@ -3991,8 +4669,212 @@ export declare const ticketContract: {
3991
4669
  status: z.ZodString;
3992
4670
  contactId: z.ZodString;
3993
4671
  creatorId: z.ZodString;
4672
+ creator: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4673
+ id: z.ZodString;
4674
+ createdAt: z.ZodDate;
4675
+ updatedAt: z.ZodDate;
4676
+ deletedAt: z.ZodNullable<z.ZodDate>;
4677
+ name: z.ZodString;
4678
+ email: z.ZodString;
4679
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
4680
+ password: z.ZodString;
4681
+ address: z.ZodNullable<z.ZodString>;
4682
+ phone: z.ZodNullable<z.ZodString>;
4683
+ notificationCount: z.ZodNullable<z.ZodNumber>;
4684
+ roles: z.ZodArray<z.ZodObject<{
4685
+ id: z.ZodString;
4686
+ createdAt: z.ZodDate;
4687
+ updatedAt: z.ZodDate;
4688
+ deletedAt: z.ZodNullable<z.ZodDate>;
4689
+ systemName: z.ZodString;
4690
+ displayName: z.ZodString;
4691
+ description: z.ZodNullable<z.ZodString>;
4692
+ permissions: z.ZodArray<z.ZodObject<{
4693
+ id: z.ZodString;
4694
+ createdAt: z.ZodDate;
4695
+ updatedAt: z.ZodDate;
4696
+ deletedAt: z.ZodNullable<z.ZodDate>;
4697
+ systemName: z.ZodString;
4698
+ displayName: z.ZodString;
4699
+ description: z.ZodNullable<z.ZodString>;
4700
+ }, "strip", z.ZodTypeAny, {
4701
+ id: string;
4702
+ description: string | null;
4703
+ createdAt: Date;
4704
+ updatedAt: Date;
4705
+ deletedAt: Date | null;
4706
+ systemName: string;
4707
+ displayName: string;
4708
+ }, {
4709
+ id: string;
4710
+ description: string | null;
4711
+ createdAt: Date;
4712
+ updatedAt: Date;
4713
+ deletedAt: Date | null;
4714
+ systemName: string;
4715
+ displayName: string;
4716
+ }>, "many">;
4717
+ }, "strip", z.ZodTypeAny, {
4718
+ id: string;
4719
+ description: string | null;
4720
+ createdAt: Date;
4721
+ updatedAt: Date;
4722
+ deletedAt: Date | null;
4723
+ systemName: string;
4724
+ displayName: string;
4725
+ permissions: {
4726
+ id: string;
4727
+ description: string | null;
4728
+ createdAt: Date;
4729
+ updatedAt: Date;
4730
+ deletedAt: Date | null;
4731
+ systemName: string;
4732
+ displayName: string;
4733
+ }[];
4734
+ }, {
4735
+ id: string;
4736
+ description: string | null;
4737
+ createdAt: Date;
4738
+ updatedAt: Date;
4739
+ deletedAt: Date | null;
4740
+ systemName: string;
4741
+ displayName: string;
4742
+ permissions: {
4743
+ id: string;
4744
+ description: string | null;
4745
+ createdAt: Date;
4746
+ updatedAt: Date;
4747
+ deletedAt: Date | null;
4748
+ systemName: string;
4749
+ displayName: string;
4750
+ }[];
4751
+ }>, "many">;
4752
+ extension: z.ZodObject<{
4753
+ id: z.ZodString;
4754
+ createdAt: z.ZodDate;
4755
+ updatedAt: z.ZodDate;
4756
+ deletedAt: z.ZodNullable<z.ZodDate>;
4757
+ userId: z.ZodNullable<z.ZodString>;
4758
+ sipServerUrl: z.ZodString;
4759
+ sipUserName: z.ZodString;
4760
+ webphoneLoginUser: z.ZodString;
4761
+ extensionId: z.ZodNumber;
4762
+ extensionName: z.ZodString;
4763
+ telephonySignature: z.ZodNullable<z.ZodString>;
4764
+ }, "strip", z.ZodTypeAny, {
4765
+ id: string;
4766
+ createdAt: Date;
4767
+ updatedAt: Date;
4768
+ deletedAt: Date | null;
4769
+ userId: string | null;
4770
+ sipServerUrl: string;
4771
+ sipUserName: string;
4772
+ webphoneLoginUser: string;
4773
+ extensionId: number;
4774
+ extensionName: string;
4775
+ telephonySignature: string | null;
4776
+ }, {
4777
+ id: string;
4778
+ createdAt: Date;
4779
+ updatedAt: Date;
4780
+ deletedAt: Date | null;
4781
+ userId: string | null;
4782
+ sipServerUrl: string;
4783
+ sipUserName: string;
4784
+ webphoneLoginUser: string;
4785
+ extensionId: number;
4786
+ extensionName: string;
4787
+ telephonySignature: string | null;
4788
+ }>;
4789
+ }, "strip", z.ZodTypeAny, {
4790
+ id: string;
4791
+ address: string | null;
4792
+ name: string;
4793
+ email: string;
4794
+ createdAt: Date;
4795
+ updatedAt: Date;
4796
+ deletedAt: Date | null;
4797
+ emailVerifiedAt: Date | null;
4798
+ password: string;
4799
+ phone: string | null;
4800
+ notificationCount: number | null;
4801
+ roles: {
4802
+ id: string;
4803
+ description: string | null;
4804
+ createdAt: Date;
4805
+ updatedAt: Date;
4806
+ deletedAt: Date | null;
4807
+ systemName: string;
4808
+ displayName: string;
4809
+ permissions: {
4810
+ id: string;
4811
+ description: string | null;
4812
+ createdAt: Date;
4813
+ updatedAt: Date;
4814
+ deletedAt: Date | null;
4815
+ systemName: string;
4816
+ displayName: string;
4817
+ }[];
4818
+ }[];
4819
+ extension: {
4820
+ id: string;
4821
+ createdAt: Date;
4822
+ updatedAt: Date;
4823
+ deletedAt: Date | null;
4824
+ userId: string | null;
4825
+ sipServerUrl: string;
4826
+ sipUserName: string;
4827
+ webphoneLoginUser: string;
4828
+ extensionId: number;
4829
+ extensionName: string;
4830
+ telephonySignature: string | null;
4831
+ };
4832
+ }, {
4833
+ id: string;
4834
+ address: string | null;
4835
+ name: string;
4836
+ email: string;
4837
+ createdAt: Date;
4838
+ updatedAt: Date;
4839
+ deletedAt: Date | null;
4840
+ emailVerifiedAt: Date | null;
4841
+ password: string;
4842
+ phone: string | null;
4843
+ notificationCount: number | null;
4844
+ roles: {
4845
+ id: string;
4846
+ description: string | null;
4847
+ createdAt: Date;
4848
+ updatedAt: Date;
4849
+ deletedAt: Date | null;
4850
+ systemName: string;
4851
+ displayName: string;
4852
+ permissions: {
4853
+ id: string;
4854
+ description: string | null;
4855
+ createdAt: Date;
4856
+ updatedAt: Date;
4857
+ deletedAt: Date | null;
4858
+ systemName: string;
4859
+ displayName: string;
4860
+ }[];
4861
+ }[];
4862
+ extension: {
4863
+ id: string;
4864
+ createdAt: Date;
4865
+ updatedAt: Date;
4866
+ deletedAt: Date | null;
4867
+ userId: string | null;
4868
+ sipServerUrl: string;
4869
+ sipUserName: string;
4870
+ webphoneLoginUser: string;
4871
+ extensionId: number;
4872
+ extensionName: string;
4873
+ telephonySignature: string | null;
4874
+ };
4875
+ }>>>;
3994
4876
  assigneeId: z.ZodString;
3995
- assignee: z.ZodObject<{
4877
+ assignee: z.ZodNullable<z.ZodOptional<z.ZodObject<{
3996
4878
  id: z.ZodString;
3997
4879
  createdAt: z.ZodDate;
3998
4880
  updatedAt: z.ZodDate;
@@ -4195,7 +5077,7 @@ export declare const ticketContract: {
4195
5077
  extensionName: string;
4196
5078
  telephonySignature: string | null;
4197
5079
  };
4198
- }>;
5080
+ }>>>;
4199
5081
  reasonToAssign: z.ZodNullable<z.ZodString>;
4200
5082
  ticketNumber: z.ZodOptional<z.ZodNumber>;
4201
5083
  customFields: z.ZodArray<z.ZodObject<{
@@ -4298,6 +5180,7 @@ export declare const ticketContract: {
4298
5180
  fileSize: z.ZodNumber;
4299
5181
  fileKey: z.ZodString;
4300
5182
  fileUrl: z.ZodNullable<z.ZodString>;
5183
+ status: z.ZodOptional<z.ZodString>;
4301
5184
  }, "strip", z.ZodTypeAny, {
4302
5185
  id: string;
4303
5186
  createdAt: Date;
@@ -4308,6 +5191,7 @@ export declare const ticketContract: {
4308
5191
  bucketName: string;
4309
5192
  fileSize: number;
4310
5193
  fileUrl: string | null;
5194
+ status?: string | undefined;
4311
5195
  }, {
4312
5196
  id: string;
4313
5197
  createdAt: Date;
@@ -4318,6 +5202,7 @@ export declare const ticketContract: {
4318
5202
  bucketName: string;
4319
5203
  fileSize: number;
4320
5204
  fileUrl: string | null;
5205
+ status?: string | undefined;
4321
5206
  }>, "many">;
4322
5207
  }, "strip", z.ZodTypeAny, {
4323
5208
  id: string;
@@ -4352,6 +5237,7 @@ export declare const ticketContract: {
4352
5237
  bucketName: string;
4353
5238
  fileSize: number;
4354
5239
  fileUrl: string | null;
5240
+ status?: string | undefined;
4355
5241
  }[];
4356
5242
  }, {
4357
5243
  id: string;
@@ -4386,6 +5272,7 @@ export declare const ticketContract: {
4386
5272
  bucketName: string;
4387
5273
  fileSize: number;
4388
5274
  fileUrl: string | null;
5275
+ status?: string | undefined;
4389
5276
  }[];
4390
5277
  }>, "many">;
4391
5278
  tags: z.ZodArray<z.ZodObject<{
@@ -4808,6 +5695,7 @@ export declare const ticketContract: {
4808
5695
  fileSize: z.ZodNumber;
4809
5696
  fileKey: z.ZodString;
4810
5697
  fileUrl: z.ZodNullable<z.ZodString>;
5698
+ status: z.ZodOptional<z.ZodString>;
4811
5699
  }, "strip", z.ZodTypeAny, {
4812
5700
  id: string;
4813
5701
  createdAt: Date;
@@ -4818,6 +5706,7 @@ export declare const ticketContract: {
4818
5706
  bucketName: string;
4819
5707
  fileSize: number;
4820
5708
  fileUrl: string | null;
5709
+ status?: string | undefined;
4821
5710
  }, {
4822
5711
  id: string;
4823
5712
  createdAt: Date;
@@ -4828,6 +5717,7 @@ export declare const ticketContract: {
4828
5717
  bucketName: string;
4829
5718
  fileSize: number;
4830
5719
  fileUrl: string | null;
5720
+ status?: string | undefined;
4831
5721
  }>;
4832
5722
  }, "strip", z.ZodTypeAny, {
4833
5723
  id: string;
@@ -4845,6 +5735,7 @@ export declare const ticketContract: {
4845
5735
  bucketName: string;
4846
5736
  fileSize: number;
4847
5737
  fileUrl: string | null;
5738
+ status?: string | undefined;
4848
5739
  };
4849
5740
  }, {
4850
5741
  id: string;
@@ -4862,6 +5753,7 @@ export declare const ticketContract: {
4862
5753
  bucketName: string;
4863
5754
  fileSize: number;
4864
5755
  fileUrl: string | null;
5756
+ status?: string | undefined;
4865
5757
  };
4866
5758
  }>, "many">;
4867
5759
  }, "strip", z.ZodTypeAny, {
@@ -4903,6 +5795,7 @@ export declare const ticketContract: {
4903
5795
  bucketName: string;
4904
5796
  fileSize: number;
4905
5797
  fileUrl: string | null;
5798
+ status?: string | undefined;
4906
5799
  };
4907
5800
  }[];
4908
5801
  }, {
@@ -4944,6 +5837,7 @@ export declare const ticketContract: {
4944
5837
  bucketName: string;
4945
5838
  fileSize: number;
4946
5839
  fileUrl: string | null;
5840
+ status?: string | undefined;
4947
5841
  };
4948
5842
  }[];
4949
5843
  }>, "many">;
@@ -5098,6 +5992,7 @@ export declare const ticketContract: {
5098
5992
  bucketName: string;
5099
5993
  fileSize: number;
5100
5994
  fileUrl: string | null;
5995
+ status?: string | undefined;
5101
5996
  };
5102
5997
  }[];
5103
5998
  }[];
@@ -5200,6 +6095,7 @@ export declare const ticketContract: {
5200
6095
  bucketName: string;
5201
6096
  fileSize: number;
5202
6097
  fileUrl: string | null;
6098
+ status?: string | undefined;
5203
6099
  };
5204
6100
  }[];
5205
6101
  }[];
@@ -5336,6 +6232,7 @@ export declare const ticketContract: {
5336
6232
  bucketName: string;
5337
6233
  fileSize: number;
5338
6234
  fileUrl: string | null;
6235
+ status?: string | undefined;
5339
6236
  };
5340
6237
  }[];
5341
6238
  }[];
@@ -5425,6 +6322,7 @@ export declare const ticketContract: {
5425
6322
  bucketName: string;
5426
6323
  fileSize: number;
5427
6324
  fileUrl: string | null;
6325
+ status?: string | undefined;
5428
6326
  }[];
5429
6327
  }[];
5430
6328
  tags: {
@@ -5435,7 +6333,54 @@ export declare const ticketContract: {
5435
6333
  deletedAt: Date | null;
5436
6334
  }[];
5437
6335
  contactId: string;
5438
- assignee: {
6336
+ assigneeId: string;
6337
+ creatorId: string;
6338
+ reasonToAssign: string | null;
6339
+ creator?: {
6340
+ id: string;
6341
+ address: string | null;
6342
+ name: string;
6343
+ email: string;
6344
+ createdAt: Date;
6345
+ updatedAt: Date;
6346
+ deletedAt: Date | null;
6347
+ emailVerifiedAt: Date | null;
6348
+ password: string;
6349
+ phone: string | null;
6350
+ notificationCount: number | null;
6351
+ roles: {
6352
+ id: string;
6353
+ description: string | null;
6354
+ createdAt: Date;
6355
+ updatedAt: Date;
6356
+ deletedAt: Date | null;
6357
+ systemName: string;
6358
+ displayName: string;
6359
+ permissions: {
6360
+ id: string;
6361
+ description: string | null;
6362
+ createdAt: Date;
6363
+ updatedAt: Date;
6364
+ deletedAt: Date | null;
6365
+ systemName: string;
6366
+ displayName: string;
6367
+ }[];
6368
+ }[];
6369
+ extension: {
6370
+ id: string;
6371
+ createdAt: Date;
6372
+ updatedAt: Date;
6373
+ deletedAt: Date | null;
6374
+ userId: string | null;
6375
+ sipServerUrl: string;
6376
+ sipUserName: string;
6377
+ webphoneLoginUser: string;
6378
+ extensionId: number;
6379
+ extensionName: string;
6380
+ telephonySignature: string | null;
6381
+ };
6382
+ } | null | undefined;
6383
+ assignee?: {
5439
6384
  id: string;
5440
6385
  address: string | null;
5441
6386
  name: string;
@@ -5478,10 +6423,7 @@ export declare const ticketContract: {
5478
6423
  extensionName: string;
5479
6424
  telephonySignature: string | null;
5480
6425
  };
5481
- };
5482
- assigneeId: string;
5483
- creatorId: string;
5484
- reasonToAssign: string | null;
6426
+ } | null | undefined;
5485
6427
  ticketNumber?: number | undefined;
5486
6428
  }, {
5487
6429
  type: string;
@@ -5563,6 +6505,7 @@ export declare const ticketContract: {
5563
6505
  bucketName: string;
5564
6506
  fileSize: number;
5565
6507
  fileUrl: string | null;
6508
+ status?: string | undefined;
5566
6509
  };
5567
6510
  }[];
5568
6511
  }[];
@@ -5652,6 +6595,7 @@ export declare const ticketContract: {
5652
6595
  bucketName: string;
5653
6596
  fileSize: number;
5654
6597
  fileUrl: string | null;
6598
+ status?: string | undefined;
5655
6599
  }[];
5656
6600
  }[];
5657
6601
  tags: {
@@ -5662,7 +6606,10 @@ export declare const ticketContract: {
5662
6606
  deletedAt: Date | null;
5663
6607
  }[];
5664
6608
  contactId: string;
5665
- assignee: {
6609
+ assigneeId: string;
6610
+ creatorId: string;
6611
+ reasonToAssign: string | null;
6612
+ creator?: {
5666
6613
  id: string;
5667
6614
  address: string | null;
5668
6615
  name: string;
@@ -5705,10 +6652,51 @@ export declare const ticketContract: {
5705
6652
  extensionName: string;
5706
6653
  telephonySignature: string | null;
5707
6654
  };
5708
- };
5709
- assigneeId: string;
5710
- creatorId: string;
5711
- reasonToAssign: string | null;
6655
+ } | null | undefined;
6656
+ assignee?: {
6657
+ id: string;
6658
+ address: string | null;
6659
+ name: string;
6660
+ email: string;
6661
+ createdAt: Date;
6662
+ updatedAt: Date;
6663
+ deletedAt: Date | null;
6664
+ emailVerifiedAt: Date | null;
6665
+ password: string;
6666
+ phone: string | null;
6667
+ notificationCount: number | null;
6668
+ roles: {
6669
+ id: string;
6670
+ description: string | null;
6671
+ createdAt: Date;
6672
+ updatedAt: Date;
6673
+ deletedAt: Date | null;
6674
+ systemName: string;
6675
+ displayName: string;
6676
+ permissions: {
6677
+ id: string;
6678
+ description: string | null;
6679
+ createdAt: Date;
6680
+ updatedAt: Date;
6681
+ deletedAt: Date | null;
6682
+ systemName: string;
6683
+ displayName: string;
6684
+ }[];
6685
+ }[];
6686
+ extension: {
6687
+ id: string;
6688
+ createdAt: Date;
6689
+ updatedAt: Date;
6690
+ deletedAt: Date | null;
6691
+ userId: string | null;
6692
+ sipServerUrl: string;
6693
+ sipUserName: string;
6694
+ webphoneLoginUser: string;
6695
+ extensionId: number;
6696
+ extensionName: string;
6697
+ telephonySignature: string | null;
6698
+ };
6699
+ } | null | undefined;
5712
6700
  ticketNumber?: number | undefined;
5713
6701
  }>;
5714
6702
  }, "strip", z.ZodTypeAny, {
@@ -5792,6 +6780,7 @@ export declare const ticketContract: {
5792
6780
  bucketName: string;
5793
6781
  fileSize: number;
5794
6782
  fileUrl: string | null;
6783
+ status?: string | undefined;
5795
6784
  };
5796
6785
  }[];
5797
6786
  }[];
@@ -5881,6 +6870,7 @@ export declare const ticketContract: {
5881
6870
  bucketName: string;
5882
6871
  fileSize: number;
5883
6872
  fileUrl: string | null;
6873
+ status?: string | undefined;
5884
6874
  }[];
5885
6875
  }[];
5886
6876
  tags: {
@@ -5891,7 +6881,10 @@ export declare const ticketContract: {
5891
6881
  deletedAt: Date | null;
5892
6882
  }[];
5893
6883
  contactId: string;
5894
- assignee: {
6884
+ assigneeId: string;
6885
+ creatorId: string;
6886
+ reasonToAssign: string | null;
6887
+ creator?: {
5895
6888
  id: string;
5896
6889
  address: string | null;
5897
6890
  name: string;
@@ -5934,10 +6927,51 @@ export declare const ticketContract: {
5934
6927
  extensionName: string;
5935
6928
  telephonySignature: string | null;
5936
6929
  };
5937
- };
5938
- assigneeId: string;
5939
- creatorId: string;
5940
- reasonToAssign: string | null;
6930
+ } | null | undefined;
6931
+ assignee?: {
6932
+ id: string;
6933
+ address: string | null;
6934
+ name: string;
6935
+ email: string;
6936
+ createdAt: Date;
6937
+ updatedAt: Date;
6938
+ deletedAt: Date | null;
6939
+ emailVerifiedAt: Date | null;
6940
+ password: string;
6941
+ phone: string | null;
6942
+ notificationCount: number | null;
6943
+ roles: {
6944
+ id: string;
6945
+ description: string | null;
6946
+ createdAt: Date;
6947
+ updatedAt: Date;
6948
+ deletedAt: Date | null;
6949
+ systemName: string;
6950
+ displayName: string;
6951
+ permissions: {
6952
+ id: string;
6953
+ description: string | null;
6954
+ createdAt: Date;
6955
+ updatedAt: Date;
6956
+ deletedAt: Date | null;
6957
+ systemName: string;
6958
+ displayName: string;
6959
+ }[];
6960
+ }[];
6961
+ extension: {
6962
+ id: string;
6963
+ createdAt: Date;
6964
+ updatedAt: Date;
6965
+ deletedAt: Date | null;
6966
+ userId: string | null;
6967
+ sipServerUrl: string;
6968
+ sipUserName: string;
6969
+ webphoneLoginUser: string;
6970
+ extensionId: number;
6971
+ extensionName: string;
6972
+ telephonySignature: string | null;
6973
+ };
6974
+ } | null | undefined;
5941
6975
  ticketNumber?: number | undefined;
5942
6976
  };
5943
6977
  requestId: string;
@@ -6022,6 +7056,7 @@ export declare const ticketContract: {
6022
7056
  bucketName: string;
6023
7057
  fileSize: number;
6024
7058
  fileUrl: string | null;
7059
+ status?: string | undefined;
6025
7060
  };
6026
7061
  }[];
6027
7062
  }[];
@@ -6111,6 +7146,7 @@ export declare const ticketContract: {
6111
7146
  bucketName: string;
6112
7147
  fileSize: number;
6113
7148
  fileUrl: string | null;
7149
+ status?: string | undefined;
6114
7150
  }[];
6115
7151
  }[];
6116
7152
  tags: {
@@ -6121,7 +7157,10 @@ export declare const ticketContract: {
6121
7157
  deletedAt: Date | null;
6122
7158
  }[];
6123
7159
  contactId: string;
6124
- assignee: {
7160
+ assigneeId: string;
7161
+ creatorId: string;
7162
+ reasonToAssign: string | null;
7163
+ creator?: {
6125
7164
  id: string;
6126
7165
  address: string | null;
6127
7166
  name: string;
@@ -6164,10 +7203,51 @@ export declare const ticketContract: {
6164
7203
  extensionName: string;
6165
7204
  telephonySignature: string | null;
6166
7205
  };
6167
- };
6168
- assigneeId: string;
6169
- creatorId: string;
6170
- reasonToAssign: string | null;
7206
+ } | null | undefined;
7207
+ assignee?: {
7208
+ id: string;
7209
+ address: string | null;
7210
+ name: string;
7211
+ email: string;
7212
+ createdAt: Date;
7213
+ updatedAt: Date;
7214
+ deletedAt: Date | null;
7215
+ emailVerifiedAt: Date | null;
7216
+ password: string;
7217
+ phone: string | null;
7218
+ notificationCount: number | null;
7219
+ roles: {
7220
+ id: string;
7221
+ description: string | null;
7222
+ createdAt: Date;
7223
+ updatedAt: Date;
7224
+ deletedAt: Date | null;
7225
+ systemName: string;
7226
+ displayName: string;
7227
+ permissions: {
7228
+ id: string;
7229
+ description: string | null;
7230
+ createdAt: Date;
7231
+ updatedAt: Date;
7232
+ deletedAt: Date | null;
7233
+ systemName: string;
7234
+ displayName: string;
7235
+ }[];
7236
+ }[];
7237
+ extension: {
7238
+ id: string;
7239
+ createdAt: Date;
7240
+ updatedAt: Date;
7241
+ deletedAt: Date | null;
7242
+ userId: string | null;
7243
+ sipServerUrl: string;
7244
+ sipUserName: string;
7245
+ webphoneLoginUser: string;
7246
+ extensionId: number;
7247
+ extensionName: string;
7248
+ telephonySignature: string | null;
7249
+ };
7250
+ } | null | undefined;
6171
7251
  ticketNumber?: number | undefined;
6172
7252
  };
6173
7253
  requestId: string;
@@ -6326,6 +7406,7 @@ export declare const ticketContract: {
6326
7406
  bucketName: string;
6327
7407
  fileSize: number;
6328
7408
  fileUrl: string | null;
7409
+ status?: string | undefined;
6329
7410
  };
6330
7411
  }[];
6331
7412
  }[];
@@ -6415,6 +7496,7 @@ export declare const ticketContract: {
6415
7496
  bucketName: string;
6416
7497
  fileSize: number;
6417
7498
  fileUrl: string | null;
7499
+ status?: string | undefined;
6418
7500
  }[];
6419
7501
  }[];
6420
7502
  tags: {
@@ -6425,7 +7507,10 @@ export declare const ticketContract: {
6425
7507
  deletedAt: Date | null;
6426
7508
  }[];
6427
7509
  contactId: string;
6428
- assignee: {
7510
+ assigneeId: string;
7511
+ creatorId: string;
7512
+ reasonToAssign: string | null;
7513
+ creator?: {
6429
7514
  id: string;
6430
7515
  address: string | null;
6431
7516
  name: string;
@@ -6468,10 +7553,51 @@ export declare const ticketContract: {
6468
7553
  extensionName: string;
6469
7554
  telephonySignature: string | null;
6470
7555
  };
6471
- };
6472
- assigneeId: string;
6473
- creatorId: string;
6474
- reasonToAssign: string | null;
7556
+ } | null | undefined;
7557
+ assignee?: {
7558
+ id: string;
7559
+ address: string | null;
7560
+ name: string;
7561
+ email: string;
7562
+ createdAt: Date;
7563
+ updatedAt: Date;
7564
+ deletedAt: Date | null;
7565
+ emailVerifiedAt: Date | null;
7566
+ password: string;
7567
+ phone: string | null;
7568
+ notificationCount: number | null;
7569
+ roles: {
7570
+ id: string;
7571
+ description: string | null;
7572
+ createdAt: Date;
7573
+ updatedAt: Date;
7574
+ deletedAt: Date | null;
7575
+ systemName: string;
7576
+ displayName: string;
7577
+ permissions: {
7578
+ id: string;
7579
+ description: string | null;
7580
+ createdAt: Date;
7581
+ updatedAt: Date;
7582
+ deletedAt: Date | null;
7583
+ systemName: string;
7584
+ displayName: string;
7585
+ }[];
7586
+ }[];
7587
+ extension: {
7588
+ id: string;
7589
+ createdAt: Date;
7590
+ updatedAt: Date;
7591
+ deletedAt: Date | null;
7592
+ userId: string | null;
7593
+ sipServerUrl: string;
7594
+ sipUserName: string;
7595
+ webphoneLoginUser: string;
7596
+ extensionId: number;
7597
+ extensionName: string;
7598
+ telephonySignature: string | null;
7599
+ };
7600
+ } | null | undefined;
6475
7601
  ticketNumber?: number | undefined;
6476
7602
  }, z.ZodTypeDef, {
6477
7603
  type: string;
@@ -6553,6 +7679,7 @@ export declare const ticketContract: {
6553
7679
  bucketName: string;
6554
7680
  fileSize: number;
6555
7681
  fileUrl: string | null;
7682
+ status?: string | undefined;
6556
7683
  };
6557
7684
  }[];
6558
7685
  }[];
@@ -6637,22 +7764,70 @@ export declare const ticketContract: {
6637
7764
  createdAt: Date;
6638
7765
  updatedAt: Date;
6639
7766
  deletedAt: Date | null;
6640
- fileName: string;
6641
- fileKey: string;
6642
- bucketName: string;
6643
- fileSize: number;
6644
- fileUrl: string | null;
6645
- }[];
6646
- }[];
6647
- tags: {
6648
- id: string;
6649
- name: string;
6650
- createdAt: Date;
6651
- updatedAt: Date;
6652
- deletedAt: Date | null;
6653
- }[];
6654
- contactId: string;
6655
- assignee: {
7767
+ fileName: string;
7768
+ fileKey: string;
7769
+ bucketName: string;
7770
+ fileSize: number;
7771
+ fileUrl: string | null;
7772
+ status?: string | undefined;
7773
+ }[];
7774
+ }[];
7775
+ tags: {
7776
+ id: string;
7777
+ name: string;
7778
+ createdAt: Date;
7779
+ updatedAt: Date;
7780
+ deletedAt: Date | null;
7781
+ }[];
7782
+ contactId: string;
7783
+ assigneeId: string;
7784
+ creatorId: string;
7785
+ reasonToAssign: string | null;
7786
+ creator?: {
7787
+ id: string;
7788
+ address: string | null;
7789
+ name: string;
7790
+ email: string;
7791
+ createdAt: Date;
7792
+ updatedAt: Date;
7793
+ deletedAt: Date | null;
7794
+ emailVerifiedAt: Date | null;
7795
+ password: string;
7796
+ phone: string | null;
7797
+ notificationCount: number | null;
7798
+ roles: {
7799
+ id: string;
7800
+ description: string | null;
7801
+ createdAt: Date;
7802
+ updatedAt: Date;
7803
+ deletedAt: Date | null;
7804
+ systemName: string;
7805
+ displayName: string;
7806
+ permissions: {
7807
+ id: string;
7808
+ description: string | null;
7809
+ createdAt: Date;
7810
+ updatedAt: Date;
7811
+ deletedAt: Date | null;
7812
+ systemName: string;
7813
+ displayName: string;
7814
+ }[];
7815
+ }[];
7816
+ extension: {
7817
+ id: string;
7818
+ createdAt: Date;
7819
+ updatedAt: Date;
7820
+ deletedAt: Date | null;
7821
+ userId: string | null;
7822
+ sipServerUrl: string;
7823
+ sipUserName: string;
7824
+ webphoneLoginUser: string;
7825
+ extensionId: number;
7826
+ extensionName: string;
7827
+ telephonySignature: string | null;
7828
+ };
7829
+ } | null | undefined;
7830
+ assignee?: {
6656
7831
  id: string;
6657
7832
  address: string | null;
6658
7833
  name: string;
@@ -6695,10 +7870,7 @@ export declare const ticketContract: {
6695
7870
  extensionName: string;
6696
7871
  telephonySignature: string | null;
6697
7872
  };
6698
- };
6699
- assigneeId: string;
6700
- creatorId: string;
6701
- reasonToAssign: string | null;
7873
+ } | null | undefined;
6702
7874
  ticketNumber?: number | undefined;
6703
7875
  }>, "many">;
6704
7876
  }, "strip", z.ZodTypeAny, {
@@ -6782,6 +7954,7 @@ export declare const ticketContract: {
6782
7954
  bucketName: string;
6783
7955
  fileSize: number;
6784
7956
  fileUrl: string | null;
7957
+ status?: string | undefined;
6785
7958
  };
6786
7959
  }[];
6787
7960
  }[];
@@ -6871,6 +8044,7 @@ export declare const ticketContract: {
6871
8044
  bucketName: string;
6872
8045
  fileSize: number;
6873
8046
  fileUrl: string | null;
8047
+ status?: string | undefined;
6874
8048
  }[];
6875
8049
  }[];
6876
8050
  tags: {
@@ -6881,7 +8055,10 @@ export declare const ticketContract: {
6881
8055
  deletedAt: Date | null;
6882
8056
  }[];
6883
8057
  contactId: string;
6884
- assignee: {
8058
+ assigneeId: string;
8059
+ creatorId: string;
8060
+ reasonToAssign: string | null;
8061
+ creator?: {
6885
8062
  id: string;
6886
8063
  address: string | null;
6887
8064
  name: string;
@@ -6924,10 +8101,51 @@ export declare const ticketContract: {
6924
8101
  extensionName: string;
6925
8102
  telephonySignature: string | null;
6926
8103
  };
6927
- };
6928
- assigneeId: string;
6929
- creatorId: string;
6930
- reasonToAssign: string | null;
8104
+ } | null | undefined;
8105
+ assignee?: {
8106
+ id: string;
8107
+ address: string | null;
8108
+ name: string;
8109
+ email: string;
8110
+ createdAt: Date;
8111
+ updatedAt: Date;
8112
+ deletedAt: Date | null;
8113
+ emailVerifiedAt: Date | null;
8114
+ password: string;
8115
+ phone: string | null;
8116
+ notificationCount: number | null;
8117
+ roles: {
8118
+ id: string;
8119
+ description: string | null;
8120
+ createdAt: Date;
8121
+ updatedAt: Date;
8122
+ deletedAt: Date | null;
8123
+ systemName: string;
8124
+ displayName: string;
8125
+ permissions: {
8126
+ id: string;
8127
+ description: string | null;
8128
+ createdAt: Date;
8129
+ updatedAt: Date;
8130
+ deletedAt: Date | null;
8131
+ systemName: string;
8132
+ displayName: string;
8133
+ }[];
8134
+ }[];
8135
+ extension: {
8136
+ id: string;
8137
+ createdAt: Date;
8138
+ updatedAt: Date;
8139
+ deletedAt: Date | null;
8140
+ userId: string | null;
8141
+ sipServerUrl: string;
8142
+ sipUserName: string;
8143
+ webphoneLoginUser: string;
8144
+ extensionId: number;
8145
+ extensionName: string;
8146
+ telephonySignature: string | null;
8147
+ };
8148
+ } | null | undefined;
6931
8149
  ticketNumber?: number | undefined;
6932
8150
  }[];
6933
8151
  total: number;
@@ -7015,6 +8233,7 @@ export declare const ticketContract: {
7015
8233
  bucketName: string;
7016
8234
  fileSize: number;
7017
8235
  fileUrl: string | null;
8236
+ status?: string | undefined;
7018
8237
  };
7019
8238
  }[];
7020
8239
  }[];
@@ -7104,6 +8323,7 @@ export declare const ticketContract: {
7104
8323
  bucketName: string;
7105
8324
  fileSize: number;
7106
8325
  fileUrl: string | null;
8326
+ status?: string | undefined;
7107
8327
  }[];
7108
8328
  }[];
7109
8329
  tags: {
@@ -7114,7 +8334,10 @@ export declare const ticketContract: {
7114
8334
  deletedAt: Date | null;
7115
8335
  }[];
7116
8336
  contactId: string;
7117
- assignee: {
8337
+ assigneeId: string;
8338
+ creatorId: string;
8339
+ reasonToAssign: string | null;
8340
+ creator?: {
7118
8341
  id: string;
7119
8342
  address: string | null;
7120
8343
  name: string;
@@ -7157,10 +8380,51 @@ export declare const ticketContract: {
7157
8380
  extensionName: string;
7158
8381
  telephonySignature: string | null;
7159
8382
  };
7160
- };
7161
- assigneeId: string;
7162
- creatorId: string;
7163
- reasonToAssign: string | null;
8383
+ } | null | undefined;
8384
+ assignee?: {
8385
+ id: string;
8386
+ address: string | null;
8387
+ name: string;
8388
+ email: string;
8389
+ createdAt: Date;
8390
+ updatedAt: Date;
8391
+ deletedAt: Date | null;
8392
+ emailVerifiedAt: Date | null;
8393
+ password: string;
8394
+ phone: string | null;
8395
+ notificationCount: number | null;
8396
+ roles: {
8397
+ id: string;
8398
+ description: string | null;
8399
+ createdAt: Date;
8400
+ updatedAt: Date;
8401
+ deletedAt: Date | null;
8402
+ systemName: string;
8403
+ displayName: string;
8404
+ permissions: {
8405
+ id: string;
8406
+ description: string | null;
8407
+ createdAt: Date;
8408
+ updatedAt: Date;
8409
+ deletedAt: Date | null;
8410
+ systemName: string;
8411
+ displayName: string;
8412
+ }[];
8413
+ }[];
8414
+ extension: {
8415
+ id: string;
8416
+ createdAt: Date;
8417
+ updatedAt: Date;
8418
+ deletedAt: Date | null;
8419
+ userId: string | null;
8420
+ sipServerUrl: string;
8421
+ sipUserName: string;
8422
+ webphoneLoginUser: string;
8423
+ extensionId: number;
8424
+ extensionName: string;
8425
+ telephonySignature: string | null;
8426
+ };
8427
+ } | null | undefined;
7164
8428
  ticketNumber?: number | undefined;
7165
8429
  }[];
7166
8430
  total: number;
@@ -7250,6 +8514,7 @@ export declare const ticketContract: {
7250
8514
  bucketName: string;
7251
8515
  fileSize: number;
7252
8516
  fileUrl: string | null;
8517
+ status?: string | undefined;
7253
8518
  };
7254
8519
  }[];
7255
8520
  }[];
@@ -7339,6 +8604,7 @@ export declare const ticketContract: {
7339
8604
  bucketName: string;
7340
8605
  fileSize: number;
7341
8606
  fileUrl: string | null;
8607
+ status?: string | undefined;
7342
8608
  }[];
7343
8609
  }[];
7344
8610
  tags: {
@@ -7349,7 +8615,10 @@ export declare const ticketContract: {
7349
8615
  deletedAt: Date | null;
7350
8616
  }[];
7351
8617
  contactId: string;
7352
- assignee: {
8618
+ assigneeId: string;
8619
+ creatorId: string;
8620
+ reasonToAssign: string | null;
8621
+ creator?: {
7353
8622
  id: string;
7354
8623
  address: string | null;
7355
8624
  name: string;
@@ -7392,10 +8661,51 @@ export declare const ticketContract: {
7392
8661
  extensionName: string;
7393
8662
  telephonySignature: string | null;
7394
8663
  };
7395
- };
7396
- assigneeId: string;
7397
- creatorId: string;
7398
- reasonToAssign: string | null;
8664
+ } | null | undefined;
8665
+ assignee?: {
8666
+ id: string;
8667
+ address: string | null;
8668
+ name: string;
8669
+ email: string;
8670
+ createdAt: Date;
8671
+ updatedAt: Date;
8672
+ deletedAt: Date | null;
8673
+ emailVerifiedAt: Date | null;
8674
+ password: string;
8675
+ phone: string | null;
8676
+ notificationCount: number | null;
8677
+ roles: {
8678
+ id: string;
8679
+ description: string | null;
8680
+ createdAt: Date;
8681
+ updatedAt: Date;
8682
+ deletedAt: Date | null;
8683
+ systemName: string;
8684
+ displayName: string;
8685
+ permissions: {
8686
+ id: string;
8687
+ description: string | null;
8688
+ createdAt: Date;
8689
+ updatedAt: Date;
8690
+ deletedAt: Date | null;
8691
+ systemName: string;
8692
+ displayName: string;
8693
+ }[];
8694
+ }[];
8695
+ extension: {
8696
+ id: string;
8697
+ createdAt: Date;
8698
+ updatedAt: Date;
8699
+ deletedAt: Date | null;
8700
+ userId: string | null;
8701
+ sipServerUrl: string;
8702
+ sipUserName: string;
8703
+ webphoneLoginUser: string;
8704
+ extensionId: number;
8705
+ extensionName: string;
8706
+ telephonySignature: string | null;
8707
+ };
8708
+ } | null | undefined;
7399
8709
  ticketNumber?: number | undefined;
7400
8710
  }[];
7401
8711
  total: number;
@@ -7486,6 +8796,7 @@ export declare const ticketContract: {
7486
8796
  bucketName: string;
7487
8797
  fileSize: number;
7488
8798
  fileUrl: string | null;
8799
+ status?: string | undefined;
7489
8800
  };
7490
8801
  }[];
7491
8802
  }[];
@@ -7575,6 +8886,7 @@ export declare const ticketContract: {
7575
8886
  bucketName: string;
7576
8887
  fileSize: number;
7577
8888
  fileUrl: string | null;
8889
+ status?: string | undefined;
7578
8890
  }[];
7579
8891
  }[];
7580
8892
  tags: {
@@ -7585,7 +8897,10 @@ export declare const ticketContract: {
7585
8897
  deletedAt: Date | null;
7586
8898
  }[];
7587
8899
  contactId: string;
7588
- assignee: {
8900
+ assigneeId: string;
8901
+ creatorId: string;
8902
+ reasonToAssign: string | null;
8903
+ creator?: {
7589
8904
  id: string;
7590
8905
  address: string | null;
7591
8906
  name: string;
@@ -7628,10 +8943,51 @@ export declare const ticketContract: {
7628
8943
  extensionName: string;
7629
8944
  telephonySignature: string | null;
7630
8945
  };
7631
- };
7632
- assigneeId: string;
7633
- creatorId: string;
7634
- reasonToAssign: string | null;
8946
+ } | null | undefined;
8947
+ assignee?: {
8948
+ id: string;
8949
+ address: string | null;
8950
+ name: string;
8951
+ email: string;
8952
+ createdAt: Date;
8953
+ updatedAt: Date;
8954
+ deletedAt: Date | null;
8955
+ emailVerifiedAt: Date | null;
8956
+ password: string;
8957
+ phone: string | null;
8958
+ notificationCount: number | null;
8959
+ roles: {
8960
+ id: string;
8961
+ description: string | null;
8962
+ createdAt: Date;
8963
+ updatedAt: Date;
8964
+ deletedAt: Date | null;
8965
+ systemName: string;
8966
+ displayName: string;
8967
+ permissions: {
8968
+ id: string;
8969
+ description: string | null;
8970
+ createdAt: Date;
8971
+ updatedAt: Date;
8972
+ deletedAt: Date | null;
8973
+ systemName: string;
8974
+ displayName: string;
8975
+ }[];
8976
+ }[];
8977
+ extension: {
8978
+ id: string;
8979
+ createdAt: Date;
8980
+ updatedAt: Date;
8981
+ deletedAt: Date | null;
8982
+ userId: string | null;
8983
+ sipServerUrl: string;
8984
+ sipUserName: string;
8985
+ webphoneLoginUser: string;
8986
+ extensionId: number;
8987
+ extensionName: string;
8988
+ telephonySignature: string | null;
8989
+ };
8990
+ } | null | undefined;
7635
8991
  ticketNumber?: number | undefined;
7636
8992
  }[];
7637
8993
  total: number;
@@ -7875,8 +9231,212 @@ export declare const ticketContract: {
7875
9231
  status: z.ZodString;
7876
9232
  contactId: z.ZodString;
7877
9233
  creatorId: z.ZodString;
9234
+ creator: z.ZodNullable<z.ZodOptional<z.ZodObject<{
9235
+ id: z.ZodString;
9236
+ createdAt: z.ZodDate;
9237
+ updatedAt: z.ZodDate;
9238
+ deletedAt: z.ZodNullable<z.ZodDate>;
9239
+ name: z.ZodString;
9240
+ email: z.ZodString;
9241
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
9242
+ password: z.ZodString;
9243
+ address: z.ZodNullable<z.ZodString>;
9244
+ phone: z.ZodNullable<z.ZodString>;
9245
+ notificationCount: z.ZodNullable<z.ZodNumber>;
9246
+ roles: z.ZodArray<z.ZodObject<{
9247
+ id: z.ZodString;
9248
+ createdAt: z.ZodDate;
9249
+ updatedAt: z.ZodDate;
9250
+ deletedAt: z.ZodNullable<z.ZodDate>;
9251
+ systemName: z.ZodString;
9252
+ displayName: z.ZodString;
9253
+ description: z.ZodNullable<z.ZodString>;
9254
+ permissions: z.ZodArray<z.ZodObject<{
9255
+ id: z.ZodString;
9256
+ createdAt: z.ZodDate;
9257
+ updatedAt: z.ZodDate;
9258
+ deletedAt: z.ZodNullable<z.ZodDate>;
9259
+ systemName: z.ZodString;
9260
+ displayName: z.ZodString;
9261
+ description: z.ZodNullable<z.ZodString>;
9262
+ }, "strip", z.ZodTypeAny, {
9263
+ id: string;
9264
+ description: string | null;
9265
+ createdAt: Date;
9266
+ updatedAt: Date;
9267
+ deletedAt: Date | null;
9268
+ systemName: string;
9269
+ displayName: string;
9270
+ }, {
9271
+ id: string;
9272
+ description: string | null;
9273
+ createdAt: Date;
9274
+ updatedAt: Date;
9275
+ deletedAt: Date | null;
9276
+ systemName: string;
9277
+ displayName: string;
9278
+ }>, "many">;
9279
+ }, "strip", z.ZodTypeAny, {
9280
+ id: string;
9281
+ description: string | null;
9282
+ createdAt: Date;
9283
+ updatedAt: Date;
9284
+ deletedAt: Date | null;
9285
+ systemName: string;
9286
+ displayName: string;
9287
+ permissions: {
9288
+ id: string;
9289
+ description: string | null;
9290
+ createdAt: Date;
9291
+ updatedAt: Date;
9292
+ deletedAt: Date | null;
9293
+ systemName: string;
9294
+ displayName: string;
9295
+ }[];
9296
+ }, {
9297
+ id: string;
9298
+ description: string | null;
9299
+ createdAt: Date;
9300
+ updatedAt: Date;
9301
+ deletedAt: Date | null;
9302
+ systemName: string;
9303
+ displayName: string;
9304
+ permissions: {
9305
+ id: string;
9306
+ description: string | null;
9307
+ createdAt: Date;
9308
+ updatedAt: Date;
9309
+ deletedAt: Date | null;
9310
+ systemName: string;
9311
+ displayName: string;
9312
+ }[];
9313
+ }>, "many">;
9314
+ extension: z.ZodObject<{
9315
+ id: z.ZodString;
9316
+ createdAt: z.ZodDate;
9317
+ updatedAt: z.ZodDate;
9318
+ deletedAt: z.ZodNullable<z.ZodDate>;
9319
+ userId: z.ZodNullable<z.ZodString>;
9320
+ sipServerUrl: z.ZodString;
9321
+ sipUserName: z.ZodString;
9322
+ webphoneLoginUser: z.ZodString;
9323
+ extensionId: z.ZodNumber;
9324
+ extensionName: z.ZodString;
9325
+ telephonySignature: z.ZodNullable<z.ZodString>;
9326
+ }, "strip", z.ZodTypeAny, {
9327
+ id: string;
9328
+ createdAt: Date;
9329
+ updatedAt: Date;
9330
+ deletedAt: Date | null;
9331
+ userId: string | null;
9332
+ sipServerUrl: string;
9333
+ sipUserName: string;
9334
+ webphoneLoginUser: string;
9335
+ extensionId: number;
9336
+ extensionName: string;
9337
+ telephonySignature: string | null;
9338
+ }, {
9339
+ id: string;
9340
+ createdAt: Date;
9341
+ updatedAt: Date;
9342
+ deletedAt: Date | null;
9343
+ userId: string | null;
9344
+ sipServerUrl: string;
9345
+ sipUserName: string;
9346
+ webphoneLoginUser: string;
9347
+ extensionId: number;
9348
+ extensionName: string;
9349
+ telephonySignature: string | null;
9350
+ }>;
9351
+ }, "strip", z.ZodTypeAny, {
9352
+ id: string;
9353
+ address: string | null;
9354
+ name: string;
9355
+ email: string;
9356
+ createdAt: Date;
9357
+ updatedAt: Date;
9358
+ deletedAt: Date | null;
9359
+ emailVerifiedAt: Date | null;
9360
+ password: string;
9361
+ phone: string | null;
9362
+ notificationCount: number | null;
9363
+ roles: {
9364
+ id: string;
9365
+ description: string | null;
9366
+ createdAt: Date;
9367
+ updatedAt: Date;
9368
+ deletedAt: Date | null;
9369
+ systemName: string;
9370
+ displayName: string;
9371
+ permissions: {
9372
+ id: string;
9373
+ description: string | null;
9374
+ createdAt: Date;
9375
+ updatedAt: Date;
9376
+ deletedAt: Date | null;
9377
+ systemName: string;
9378
+ displayName: string;
9379
+ }[];
9380
+ }[];
9381
+ extension: {
9382
+ id: string;
9383
+ createdAt: Date;
9384
+ updatedAt: Date;
9385
+ deletedAt: Date | null;
9386
+ userId: string | null;
9387
+ sipServerUrl: string;
9388
+ sipUserName: string;
9389
+ webphoneLoginUser: string;
9390
+ extensionId: number;
9391
+ extensionName: string;
9392
+ telephonySignature: string | null;
9393
+ };
9394
+ }, {
9395
+ id: string;
9396
+ address: string | null;
9397
+ name: string;
9398
+ email: string;
9399
+ createdAt: Date;
9400
+ updatedAt: Date;
9401
+ deletedAt: Date | null;
9402
+ emailVerifiedAt: Date | null;
9403
+ password: string;
9404
+ phone: string | null;
9405
+ notificationCount: number | null;
9406
+ roles: {
9407
+ id: string;
9408
+ description: string | null;
9409
+ createdAt: Date;
9410
+ updatedAt: Date;
9411
+ deletedAt: Date | null;
9412
+ systemName: string;
9413
+ displayName: string;
9414
+ permissions: {
9415
+ id: string;
9416
+ description: string | null;
9417
+ createdAt: Date;
9418
+ updatedAt: Date;
9419
+ deletedAt: Date | null;
9420
+ systemName: string;
9421
+ displayName: string;
9422
+ }[];
9423
+ }[];
9424
+ extension: {
9425
+ id: string;
9426
+ createdAt: Date;
9427
+ updatedAt: Date;
9428
+ deletedAt: Date | null;
9429
+ userId: string | null;
9430
+ sipServerUrl: string;
9431
+ sipUserName: string;
9432
+ webphoneLoginUser: string;
9433
+ extensionId: number;
9434
+ extensionName: string;
9435
+ telephonySignature: string | null;
9436
+ };
9437
+ }>>>;
7878
9438
  assigneeId: z.ZodString;
7879
- assignee: z.ZodObject<{
9439
+ assignee: z.ZodNullable<z.ZodOptional<z.ZodObject<{
7880
9440
  id: z.ZodString;
7881
9441
  createdAt: z.ZodDate;
7882
9442
  updatedAt: z.ZodDate;
@@ -8079,7 +9639,7 @@ export declare const ticketContract: {
8079
9639
  extensionName: string;
8080
9640
  telephonySignature: string | null;
8081
9641
  };
8082
- }>;
9642
+ }>>>;
8083
9643
  reasonToAssign: z.ZodNullable<z.ZodString>;
8084
9644
  ticketNumber: z.ZodOptional<z.ZodNumber>;
8085
9645
  customFields: z.ZodArray<z.ZodObject<{
@@ -8182,6 +9742,7 @@ export declare const ticketContract: {
8182
9742
  fileSize: z.ZodNumber;
8183
9743
  fileKey: z.ZodString;
8184
9744
  fileUrl: z.ZodNullable<z.ZodString>;
9745
+ status: z.ZodOptional<z.ZodString>;
8185
9746
  }, "strip", z.ZodTypeAny, {
8186
9747
  id: string;
8187
9748
  createdAt: Date;
@@ -8192,6 +9753,7 @@ export declare const ticketContract: {
8192
9753
  bucketName: string;
8193
9754
  fileSize: number;
8194
9755
  fileUrl: string | null;
9756
+ status?: string | undefined;
8195
9757
  }, {
8196
9758
  id: string;
8197
9759
  createdAt: Date;
@@ -8202,6 +9764,7 @@ export declare const ticketContract: {
8202
9764
  bucketName: string;
8203
9765
  fileSize: number;
8204
9766
  fileUrl: string | null;
9767
+ status?: string | undefined;
8205
9768
  }>, "many">;
8206
9769
  }, "strip", z.ZodTypeAny, {
8207
9770
  id: string;
@@ -8236,6 +9799,7 @@ export declare const ticketContract: {
8236
9799
  bucketName: string;
8237
9800
  fileSize: number;
8238
9801
  fileUrl: string | null;
9802
+ status?: string | undefined;
8239
9803
  }[];
8240
9804
  }, {
8241
9805
  id: string;
@@ -8270,6 +9834,7 @@ export declare const ticketContract: {
8270
9834
  bucketName: string;
8271
9835
  fileSize: number;
8272
9836
  fileUrl: string | null;
9837
+ status?: string | undefined;
8273
9838
  }[];
8274
9839
  }>, "many">;
8275
9840
  tags: z.ZodArray<z.ZodObject<{
@@ -8692,6 +10257,7 @@ export declare const ticketContract: {
8692
10257
  fileSize: z.ZodNumber;
8693
10258
  fileKey: z.ZodString;
8694
10259
  fileUrl: z.ZodNullable<z.ZodString>;
10260
+ status: z.ZodOptional<z.ZodString>;
8695
10261
  }, "strip", z.ZodTypeAny, {
8696
10262
  id: string;
8697
10263
  createdAt: Date;
@@ -8702,6 +10268,7 @@ export declare const ticketContract: {
8702
10268
  bucketName: string;
8703
10269
  fileSize: number;
8704
10270
  fileUrl: string | null;
10271
+ status?: string | undefined;
8705
10272
  }, {
8706
10273
  id: string;
8707
10274
  createdAt: Date;
@@ -8712,6 +10279,7 @@ export declare const ticketContract: {
8712
10279
  bucketName: string;
8713
10280
  fileSize: number;
8714
10281
  fileUrl: string | null;
10282
+ status?: string | undefined;
8715
10283
  }>;
8716
10284
  }, "strip", z.ZodTypeAny, {
8717
10285
  id: string;
@@ -8729,6 +10297,7 @@ export declare const ticketContract: {
8729
10297
  bucketName: string;
8730
10298
  fileSize: number;
8731
10299
  fileUrl: string | null;
10300
+ status?: string | undefined;
8732
10301
  };
8733
10302
  }, {
8734
10303
  id: string;
@@ -8746,6 +10315,7 @@ export declare const ticketContract: {
8746
10315
  bucketName: string;
8747
10316
  fileSize: number;
8748
10317
  fileUrl: string | null;
10318
+ status?: string | undefined;
8749
10319
  };
8750
10320
  }>, "many">;
8751
10321
  }, "strip", z.ZodTypeAny, {
@@ -8787,6 +10357,7 @@ export declare const ticketContract: {
8787
10357
  bucketName: string;
8788
10358
  fileSize: number;
8789
10359
  fileUrl: string | null;
10360
+ status?: string | undefined;
8790
10361
  };
8791
10362
  }[];
8792
10363
  }, {
@@ -8828,6 +10399,7 @@ export declare const ticketContract: {
8828
10399
  bucketName: string;
8829
10400
  fileSize: number;
8830
10401
  fileUrl: string | null;
10402
+ status?: string | undefined;
8831
10403
  };
8832
10404
  }[];
8833
10405
  }>, "many">;
@@ -8982,6 +10554,7 @@ export declare const ticketContract: {
8982
10554
  bucketName: string;
8983
10555
  fileSize: number;
8984
10556
  fileUrl: string | null;
10557
+ status?: string | undefined;
8985
10558
  };
8986
10559
  }[];
8987
10560
  }[];
@@ -9084,6 +10657,7 @@ export declare const ticketContract: {
9084
10657
  bucketName: string;
9085
10658
  fileSize: number;
9086
10659
  fileUrl: string | null;
10660
+ status?: string | undefined;
9087
10661
  };
9088
10662
  }[];
9089
10663
  }[];
@@ -9220,6 +10794,7 @@ export declare const ticketContract: {
9220
10794
  bucketName: string;
9221
10795
  fileSize: number;
9222
10796
  fileUrl: string | null;
10797
+ status?: string | undefined;
9223
10798
  };
9224
10799
  }[];
9225
10800
  }[];
@@ -9309,6 +10884,7 @@ export declare const ticketContract: {
9309
10884
  bucketName: string;
9310
10885
  fileSize: number;
9311
10886
  fileUrl: string | null;
10887
+ status?: string | undefined;
9312
10888
  }[];
9313
10889
  }[];
9314
10890
  tags: {
@@ -9319,7 +10895,10 @@ export declare const ticketContract: {
9319
10895
  deletedAt: Date | null;
9320
10896
  }[];
9321
10897
  contactId: string;
9322
- assignee: {
10898
+ assigneeId: string;
10899
+ creatorId: string;
10900
+ reasonToAssign: string | null;
10901
+ creator?: {
9323
10902
  id: string;
9324
10903
  address: string | null;
9325
10904
  name: string;
@@ -9362,10 +10941,51 @@ export declare const ticketContract: {
9362
10941
  extensionName: string;
9363
10942
  telephonySignature: string | null;
9364
10943
  };
9365
- };
9366
- assigneeId: string;
9367
- creatorId: string;
9368
- reasonToAssign: string | null;
10944
+ } | null | undefined;
10945
+ assignee?: {
10946
+ id: string;
10947
+ address: string | null;
10948
+ name: string;
10949
+ email: string;
10950
+ createdAt: Date;
10951
+ updatedAt: Date;
10952
+ deletedAt: Date | null;
10953
+ emailVerifiedAt: Date | null;
10954
+ password: string;
10955
+ phone: string | null;
10956
+ notificationCount: number | null;
10957
+ roles: {
10958
+ id: string;
10959
+ description: string | null;
10960
+ createdAt: Date;
10961
+ updatedAt: Date;
10962
+ deletedAt: Date | null;
10963
+ systemName: string;
10964
+ displayName: string;
10965
+ permissions: {
10966
+ id: string;
10967
+ description: string | null;
10968
+ createdAt: Date;
10969
+ updatedAt: Date;
10970
+ deletedAt: Date | null;
10971
+ systemName: string;
10972
+ displayName: string;
10973
+ }[];
10974
+ }[];
10975
+ extension: {
10976
+ id: string;
10977
+ createdAt: Date;
10978
+ updatedAt: Date;
10979
+ deletedAt: Date | null;
10980
+ userId: string | null;
10981
+ sipServerUrl: string;
10982
+ sipUserName: string;
10983
+ webphoneLoginUser: string;
10984
+ extensionId: number;
10985
+ extensionName: string;
10986
+ telephonySignature: string | null;
10987
+ };
10988
+ } | null | undefined;
9369
10989
  ticketNumber?: number | undefined;
9370
10990
  }, {
9371
10991
  type: string;
@@ -9447,6 +11067,7 @@ export declare const ticketContract: {
9447
11067
  bucketName: string;
9448
11068
  fileSize: number;
9449
11069
  fileUrl: string | null;
11070
+ status?: string | undefined;
9450
11071
  };
9451
11072
  }[];
9452
11073
  }[];
@@ -9536,6 +11157,7 @@ export declare const ticketContract: {
9536
11157
  bucketName: string;
9537
11158
  fileSize: number;
9538
11159
  fileUrl: string | null;
11160
+ status?: string | undefined;
9539
11161
  }[];
9540
11162
  }[];
9541
11163
  tags: {
@@ -9546,7 +11168,54 @@ export declare const ticketContract: {
9546
11168
  deletedAt: Date | null;
9547
11169
  }[];
9548
11170
  contactId: string;
9549
- assignee: {
11171
+ assigneeId: string;
11172
+ creatorId: string;
11173
+ reasonToAssign: string | null;
11174
+ creator?: {
11175
+ id: string;
11176
+ address: string | null;
11177
+ name: string;
11178
+ email: string;
11179
+ createdAt: Date;
11180
+ updatedAt: Date;
11181
+ deletedAt: Date | null;
11182
+ emailVerifiedAt: Date | null;
11183
+ password: string;
11184
+ phone: string | null;
11185
+ notificationCount: number | null;
11186
+ roles: {
11187
+ id: string;
11188
+ description: string | null;
11189
+ createdAt: Date;
11190
+ updatedAt: Date;
11191
+ deletedAt: Date | null;
11192
+ systemName: string;
11193
+ displayName: string;
11194
+ permissions: {
11195
+ id: string;
11196
+ description: string | null;
11197
+ createdAt: Date;
11198
+ updatedAt: Date;
11199
+ deletedAt: Date | null;
11200
+ systemName: string;
11201
+ displayName: string;
11202
+ }[];
11203
+ }[];
11204
+ extension: {
11205
+ id: string;
11206
+ createdAt: Date;
11207
+ updatedAt: Date;
11208
+ deletedAt: Date | null;
11209
+ userId: string | null;
11210
+ sipServerUrl: string;
11211
+ sipUserName: string;
11212
+ webphoneLoginUser: string;
11213
+ extensionId: number;
11214
+ extensionName: string;
11215
+ telephonySignature: string | null;
11216
+ };
11217
+ } | null | undefined;
11218
+ assignee?: {
9550
11219
  id: string;
9551
11220
  address: string | null;
9552
11221
  name: string;
@@ -9589,10 +11258,7 @@ export declare const ticketContract: {
9589
11258
  extensionName: string;
9590
11259
  telephonySignature: string | null;
9591
11260
  };
9592
- };
9593
- assigneeId: string;
9594
- creatorId: string;
9595
- reasonToAssign: string | null;
11261
+ } | null | undefined;
9596
11262
  ticketNumber?: number | undefined;
9597
11263
  }>;
9598
11264
  }, "strip", z.ZodTypeAny, {
@@ -9676,6 +11342,7 @@ export declare const ticketContract: {
9676
11342
  bucketName: string;
9677
11343
  fileSize: number;
9678
11344
  fileUrl: string | null;
11345
+ status?: string | undefined;
9679
11346
  };
9680
11347
  }[];
9681
11348
  }[];
@@ -9765,6 +11432,7 @@ export declare const ticketContract: {
9765
11432
  bucketName: string;
9766
11433
  fileSize: number;
9767
11434
  fileUrl: string | null;
11435
+ status?: string | undefined;
9768
11436
  }[];
9769
11437
  }[];
9770
11438
  tags: {
@@ -9775,7 +11443,10 @@ export declare const ticketContract: {
9775
11443
  deletedAt: Date | null;
9776
11444
  }[];
9777
11445
  contactId: string;
9778
- assignee: {
11446
+ assigneeId: string;
11447
+ creatorId: string;
11448
+ reasonToAssign: string | null;
11449
+ creator?: {
9779
11450
  id: string;
9780
11451
  address: string | null;
9781
11452
  name: string;
@@ -9818,10 +11489,51 @@ export declare const ticketContract: {
9818
11489
  extensionName: string;
9819
11490
  telephonySignature: string | null;
9820
11491
  };
9821
- };
9822
- assigneeId: string;
9823
- creatorId: string;
9824
- reasonToAssign: string | null;
11492
+ } | null | undefined;
11493
+ assignee?: {
11494
+ id: string;
11495
+ address: string | null;
11496
+ name: string;
11497
+ email: string;
11498
+ createdAt: Date;
11499
+ updatedAt: Date;
11500
+ deletedAt: Date | null;
11501
+ emailVerifiedAt: Date | null;
11502
+ password: string;
11503
+ phone: string | null;
11504
+ notificationCount: number | null;
11505
+ roles: {
11506
+ id: string;
11507
+ description: string | null;
11508
+ createdAt: Date;
11509
+ updatedAt: Date;
11510
+ deletedAt: Date | null;
11511
+ systemName: string;
11512
+ displayName: string;
11513
+ permissions: {
11514
+ id: string;
11515
+ description: string | null;
11516
+ createdAt: Date;
11517
+ updatedAt: Date;
11518
+ deletedAt: Date | null;
11519
+ systemName: string;
11520
+ displayName: string;
11521
+ }[];
11522
+ }[];
11523
+ extension: {
11524
+ id: string;
11525
+ createdAt: Date;
11526
+ updatedAt: Date;
11527
+ deletedAt: Date | null;
11528
+ userId: string | null;
11529
+ sipServerUrl: string;
11530
+ sipUserName: string;
11531
+ webphoneLoginUser: string;
11532
+ extensionId: number;
11533
+ extensionName: string;
11534
+ telephonySignature: string | null;
11535
+ };
11536
+ } | null | undefined;
9825
11537
  ticketNumber?: number | undefined;
9826
11538
  };
9827
11539
  requestId: string;
@@ -9906,6 +11618,7 @@ export declare const ticketContract: {
9906
11618
  bucketName: string;
9907
11619
  fileSize: number;
9908
11620
  fileUrl: string | null;
11621
+ status?: string | undefined;
9909
11622
  };
9910
11623
  }[];
9911
11624
  }[];
@@ -9995,6 +11708,7 @@ export declare const ticketContract: {
9995
11708
  bucketName: string;
9996
11709
  fileSize: number;
9997
11710
  fileUrl: string | null;
11711
+ status?: string | undefined;
9998
11712
  }[];
9999
11713
  }[];
10000
11714
  tags: {
@@ -10005,7 +11719,10 @@ export declare const ticketContract: {
10005
11719
  deletedAt: Date | null;
10006
11720
  }[];
10007
11721
  contactId: string;
10008
- assignee: {
11722
+ assigneeId: string;
11723
+ creatorId: string;
11724
+ reasonToAssign: string | null;
11725
+ creator?: {
10009
11726
  id: string;
10010
11727
  address: string | null;
10011
11728
  name: string;
@@ -10048,10 +11765,51 @@ export declare const ticketContract: {
10048
11765
  extensionName: string;
10049
11766
  telephonySignature: string | null;
10050
11767
  };
10051
- };
10052
- assigneeId: string;
10053
- creatorId: string;
10054
- reasonToAssign: string | null;
11768
+ } | null | undefined;
11769
+ assignee?: {
11770
+ id: string;
11771
+ address: string | null;
11772
+ name: string;
11773
+ email: string;
11774
+ createdAt: Date;
11775
+ updatedAt: Date;
11776
+ deletedAt: Date | null;
11777
+ emailVerifiedAt: Date | null;
11778
+ password: string;
11779
+ phone: string | null;
11780
+ notificationCount: number | null;
11781
+ roles: {
11782
+ id: string;
11783
+ description: string | null;
11784
+ createdAt: Date;
11785
+ updatedAt: Date;
11786
+ deletedAt: Date | null;
11787
+ systemName: string;
11788
+ displayName: string;
11789
+ permissions: {
11790
+ id: string;
11791
+ description: string | null;
11792
+ createdAt: Date;
11793
+ updatedAt: Date;
11794
+ deletedAt: Date | null;
11795
+ systemName: string;
11796
+ displayName: string;
11797
+ }[];
11798
+ }[];
11799
+ extension: {
11800
+ id: string;
11801
+ createdAt: Date;
11802
+ updatedAt: Date;
11803
+ deletedAt: Date | null;
11804
+ userId: string | null;
11805
+ sipServerUrl: string;
11806
+ sipUserName: string;
11807
+ webphoneLoginUser: string;
11808
+ extensionId: number;
11809
+ extensionName: string;
11810
+ telephonySignature: string | null;
11811
+ };
11812
+ } | null | undefined;
10055
11813
  ticketNumber?: number | undefined;
10056
11814
  };
10057
11815
  requestId: string;
@@ -10899,8 +12657,212 @@ export declare const ticketContract: {
10899
12657
  status: z.ZodString;
10900
12658
  contactId: z.ZodString;
10901
12659
  creatorId: z.ZodString;
12660
+ creator: z.ZodNullable<z.ZodOptional<z.ZodObject<{
12661
+ id: z.ZodString;
12662
+ createdAt: z.ZodDate;
12663
+ updatedAt: z.ZodDate;
12664
+ deletedAt: z.ZodNullable<z.ZodDate>;
12665
+ name: z.ZodString;
12666
+ email: z.ZodString;
12667
+ emailVerifiedAt: z.ZodNullable<z.ZodDate>;
12668
+ password: z.ZodString;
12669
+ address: z.ZodNullable<z.ZodString>;
12670
+ phone: z.ZodNullable<z.ZodString>;
12671
+ notificationCount: z.ZodNullable<z.ZodNumber>;
12672
+ roles: z.ZodArray<z.ZodObject<{
12673
+ id: z.ZodString;
12674
+ createdAt: z.ZodDate;
12675
+ updatedAt: z.ZodDate;
12676
+ deletedAt: z.ZodNullable<z.ZodDate>;
12677
+ systemName: z.ZodString;
12678
+ displayName: z.ZodString;
12679
+ description: z.ZodNullable<z.ZodString>;
12680
+ permissions: z.ZodArray<z.ZodObject<{
12681
+ id: z.ZodString;
12682
+ createdAt: z.ZodDate;
12683
+ updatedAt: z.ZodDate;
12684
+ deletedAt: z.ZodNullable<z.ZodDate>;
12685
+ systemName: z.ZodString;
12686
+ displayName: z.ZodString;
12687
+ description: z.ZodNullable<z.ZodString>;
12688
+ }, "strip", z.ZodTypeAny, {
12689
+ id: string;
12690
+ description: string | null;
12691
+ createdAt: Date;
12692
+ updatedAt: Date;
12693
+ deletedAt: Date | null;
12694
+ systemName: string;
12695
+ displayName: string;
12696
+ }, {
12697
+ id: string;
12698
+ description: string | null;
12699
+ createdAt: Date;
12700
+ updatedAt: Date;
12701
+ deletedAt: Date | null;
12702
+ systemName: string;
12703
+ displayName: string;
12704
+ }>, "many">;
12705
+ }, "strip", z.ZodTypeAny, {
12706
+ id: string;
12707
+ description: string | null;
12708
+ createdAt: Date;
12709
+ updatedAt: Date;
12710
+ deletedAt: Date | null;
12711
+ systemName: string;
12712
+ displayName: string;
12713
+ permissions: {
12714
+ id: string;
12715
+ description: string | null;
12716
+ createdAt: Date;
12717
+ updatedAt: Date;
12718
+ deletedAt: Date | null;
12719
+ systemName: string;
12720
+ displayName: string;
12721
+ }[];
12722
+ }, {
12723
+ id: string;
12724
+ description: string | null;
12725
+ createdAt: Date;
12726
+ updatedAt: Date;
12727
+ deletedAt: Date | null;
12728
+ systemName: string;
12729
+ displayName: string;
12730
+ permissions: {
12731
+ id: string;
12732
+ description: string | null;
12733
+ createdAt: Date;
12734
+ updatedAt: Date;
12735
+ deletedAt: Date | null;
12736
+ systemName: string;
12737
+ displayName: string;
12738
+ }[];
12739
+ }>, "many">;
12740
+ extension: z.ZodObject<{
12741
+ id: z.ZodString;
12742
+ createdAt: z.ZodDate;
12743
+ updatedAt: z.ZodDate;
12744
+ deletedAt: z.ZodNullable<z.ZodDate>;
12745
+ userId: z.ZodNullable<z.ZodString>;
12746
+ sipServerUrl: z.ZodString;
12747
+ sipUserName: z.ZodString;
12748
+ webphoneLoginUser: z.ZodString;
12749
+ extensionId: z.ZodNumber;
12750
+ extensionName: z.ZodString;
12751
+ telephonySignature: z.ZodNullable<z.ZodString>;
12752
+ }, "strip", z.ZodTypeAny, {
12753
+ id: string;
12754
+ createdAt: Date;
12755
+ updatedAt: Date;
12756
+ deletedAt: Date | null;
12757
+ userId: string | null;
12758
+ sipServerUrl: string;
12759
+ sipUserName: string;
12760
+ webphoneLoginUser: string;
12761
+ extensionId: number;
12762
+ extensionName: string;
12763
+ telephonySignature: string | null;
12764
+ }, {
12765
+ id: string;
12766
+ createdAt: Date;
12767
+ updatedAt: Date;
12768
+ deletedAt: Date | null;
12769
+ userId: string | null;
12770
+ sipServerUrl: string;
12771
+ sipUserName: string;
12772
+ webphoneLoginUser: string;
12773
+ extensionId: number;
12774
+ extensionName: string;
12775
+ telephonySignature: string | null;
12776
+ }>;
12777
+ }, "strip", z.ZodTypeAny, {
12778
+ id: string;
12779
+ address: string | null;
12780
+ name: string;
12781
+ email: string;
12782
+ createdAt: Date;
12783
+ updatedAt: Date;
12784
+ deletedAt: Date | null;
12785
+ emailVerifiedAt: Date | null;
12786
+ password: string;
12787
+ phone: string | null;
12788
+ notificationCount: number | null;
12789
+ roles: {
12790
+ id: string;
12791
+ description: string | null;
12792
+ createdAt: Date;
12793
+ updatedAt: Date;
12794
+ deletedAt: Date | null;
12795
+ systemName: string;
12796
+ displayName: string;
12797
+ permissions: {
12798
+ id: string;
12799
+ description: string | null;
12800
+ createdAt: Date;
12801
+ updatedAt: Date;
12802
+ deletedAt: Date | null;
12803
+ systemName: string;
12804
+ displayName: string;
12805
+ }[];
12806
+ }[];
12807
+ extension: {
12808
+ id: string;
12809
+ createdAt: Date;
12810
+ updatedAt: Date;
12811
+ deletedAt: Date | null;
12812
+ userId: string | null;
12813
+ sipServerUrl: string;
12814
+ sipUserName: string;
12815
+ webphoneLoginUser: string;
12816
+ extensionId: number;
12817
+ extensionName: string;
12818
+ telephonySignature: string | null;
12819
+ };
12820
+ }, {
12821
+ id: string;
12822
+ address: string | null;
12823
+ name: string;
12824
+ email: string;
12825
+ createdAt: Date;
12826
+ updatedAt: Date;
12827
+ deletedAt: Date | null;
12828
+ emailVerifiedAt: Date | null;
12829
+ password: string;
12830
+ phone: string | null;
12831
+ notificationCount: number | null;
12832
+ roles: {
12833
+ id: string;
12834
+ description: string | null;
12835
+ createdAt: Date;
12836
+ updatedAt: Date;
12837
+ deletedAt: Date | null;
12838
+ systemName: string;
12839
+ displayName: string;
12840
+ permissions: {
12841
+ id: string;
12842
+ description: string | null;
12843
+ createdAt: Date;
12844
+ updatedAt: Date;
12845
+ deletedAt: Date | null;
12846
+ systemName: string;
12847
+ displayName: string;
12848
+ }[];
12849
+ }[];
12850
+ extension: {
12851
+ id: string;
12852
+ createdAt: Date;
12853
+ updatedAt: Date;
12854
+ deletedAt: Date | null;
12855
+ userId: string | null;
12856
+ sipServerUrl: string;
12857
+ sipUserName: string;
12858
+ webphoneLoginUser: string;
12859
+ extensionId: number;
12860
+ extensionName: string;
12861
+ telephonySignature: string | null;
12862
+ };
12863
+ }>>>;
10902
12864
  assigneeId: z.ZodString;
10903
- assignee: z.ZodObject<{
12865
+ assignee: z.ZodNullable<z.ZodOptional<z.ZodObject<{
10904
12866
  id: z.ZodString;
10905
12867
  createdAt: z.ZodDate;
10906
12868
  updatedAt: z.ZodDate;
@@ -11103,7 +13065,7 @@ export declare const ticketContract: {
11103
13065
  extensionName: string;
11104
13066
  telephonySignature: string | null;
11105
13067
  };
11106
- }>;
13068
+ }>>>;
11107
13069
  reasonToAssign: z.ZodNullable<z.ZodString>;
11108
13070
  ticketNumber: z.ZodOptional<z.ZodNumber>;
11109
13071
  customFields: z.ZodArray<z.ZodObject<{
@@ -11206,6 +13168,7 @@ export declare const ticketContract: {
11206
13168
  fileSize: z.ZodNumber;
11207
13169
  fileKey: z.ZodString;
11208
13170
  fileUrl: z.ZodNullable<z.ZodString>;
13171
+ status: z.ZodOptional<z.ZodString>;
11209
13172
  }, "strip", z.ZodTypeAny, {
11210
13173
  id: string;
11211
13174
  createdAt: Date;
@@ -11216,6 +13179,7 @@ export declare const ticketContract: {
11216
13179
  bucketName: string;
11217
13180
  fileSize: number;
11218
13181
  fileUrl: string | null;
13182
+ status?: string | undefined;
11219
13183
  }, {
11220
13184
  id: string;
11221
13185
  createdAt: Date;
@@ -11226,6 +13190,7 @@ export declare const ticketContract: {
11226
13190
  bucketName: string;
11227
13191
  fileSize: number;
11228
13192
  fileUrl: string | null;
13193
+ status?: string | undefined;
11229
13194
  }>, "many">;
11230
13195
  }, "strip", z.ZodTypeAny, {
11231
13196
  id: string;
@@ -11260,6 +13225,7 @@ export declare const ticketContract: {
11260
13225
  bucketName: string;
11261
13226
  fileSize: number;
11262
13227
  fileUrl: string | null;
13228
+ status?: string | undefined;
11263
13229
  }[];
11264
13230
  }, {
11265
13231
  id: string;
@@ -11294,6 +13260,7 @@ export declare const ticketContract: {
11294
13260
  bucketName: string;
11295
13261
  fileSize: number;
11296
13262
  fileUrl: string | null;
13263
+ status?: string | undefined;
11297
13264
  }[];
11298
13265
  }>, "many">;
11299
13266
  tags: z.ZodArray<z.ZodObject<{
@@ -11716,6 +13683,7 @@ export declare const ticketContract: {
11716
13683
  fileSize: z.ZodNumber;
11717
13684
  fileKey: z.ZodString;
11718
13685
  fileUrl: z.ZodNullable<z.ZodString>;
13686
+ status: z.ZodOptional<z.ZodString>;
11719
13687
  }, "strip", z.ZodTypeAny, {
11720
13688
  id: string;
11721
13689
  createdAt: Date;
@@ -11726,6 +13694,7 @@ export declare const ticketContract: {
11726
13694
  bucketName: string;
11727
13695
  fileSize: number;
11728
13696
  fileUrl: string | null;
13697
+ status?: string | undefined;
11729
13698
  }, {
11730
13699
  id: string;
11731
13700
  createdAt: Date;
@@ -11736,6 +13705,7 @@ export declare const ticketContract: {
11736
13705
  bucketName: string;
11737
13706
  fileSize: number;
11738
13707
  fileUrl: string | null;
13708
+ status?: string | undefined;
11739
13709
  }>;
11740
13710
  }, "strip", z.ZodTypeAny, {
11741
13711
  id: string;
@@ -11753,6 +13723,7 @@ export declare const ticketContract: {
11753
13723
  bucketName: string;
11754
13724
  fileSize: number;
11755
13725
  fileUrl: string | null;
13726
+ status?: string | undefined;
11756
13727
  };
11757
13728
  }, {
11758
13729
  id: string;
@@ -11770,6 +13741,7 @@ export declare const ticketContract: {
11770
13741
  bucketName: string;
11771
13742
  fileSize: number;
11772
13743
  fileUrl: string | null;
13744
+ status?: string | undefined;
11773
13745
  };
11774
13746
  }>, "many">;
11775
13747
  }, "strip", z.ZodTypeAny, {
@@ -11811,6 +13783,7 @@ export declare const ticketContract: {
11811
13783
  bucketName: string;
11812
13784
  fileSize: number;
11813
13785
  fileUrl: string | null;
13786
+ status?: string | undefined;
11814
13787
  };
11815
13788
  }[];
11816
13789
  }, {
@@ -11852,6 +13825,7 @@ export declare const ticketContract: {
11852
13825
  bucketName: string;
11853
13826
  fileSize: number;
11854
13827
  fileUrl: string | null;
13828
+ status?: string | undefined;
11855
13829
  };
11856
13830
  }[];
11857
13831
  }>, "many">;
@@ -12006,6 +13980,7 @@ export declare const ticketContract: {
12006
13980
  bucketName: string;
12007
13981
  fileSize: number;
12008
13982
  fileUrl: string | null;
13983
+ status?: string | undefined;
12009
13984
  };
12010
13985
  }[];
12011
13986
  }[];
@@ -12108,6 +14083,7 @@ export declare const ticketContract: {
12108
14083
  bucketName: string;
12109
14084
  fileSize: number;
12110
14085
  fileUrl: string | null;
14086
+ status?: string | undefined;
12111
14087
  };
12112
14088
  }[];
12113
14089
  }[];
@@ -12244,6 +14220,7 @@ export declare const ticketContract: {
12244
14220
  bucketName: string;
12245
14221
  fileSize: number;
12246
14222
  fileUrl: string | null;
14223
+ status?: string | undefined;
12247
14224
  };
12248
14225
  }[];
12249
14226
  }[];
@@ -12333,6 +14310,7 @@ export declare const ticketContract: {
12333
14310
  bucketName: string;
12334
14311
  fileSize: number;
12335
14312
  fileUrl: string | null;
14313
+ status?: string | undefined;
12336
14314
  }[];
12337
14315
  }[];
12338
14316
  tags: {
@@ -12343,7 +14321,10 @@ export declare const ticketContract: {
12343
14321
  deletedAt: Date | null;
12344
14322
  }[];
12345
14323
  contactId: string;
12346
- assignee: {
14324
+ assigneeId: string;
14325
+ creatorId: string;
14326
+ reasonToAssign: string | null;
14327
+ creator?: {
12347
14328
  id: string;
12348
14329
  address: string | null;
12349
14330
  name: string;
@@ -12386,10 +14367,51 @@ export declare const ticketContract: {
12386
14367
  extensionName: string;
12387
14368
  telephonySignature: string | null;
12388
14369
  };
12389
- };
12390
- assigneeId: string;
12391
- creatorId: string;
12392
- reasonToAssign: string | null;
14370
+ } | null | undefined;
14371
+ assignee?: {
14372
+ id: string;
14373
+ address: string | null;
14374
+ name: string;
14375
+ email: string;
14376
+ createdAt: Date;
14377
+ updatedAt: Date;
14378
+ deletedAt: Date | null;
14379
+ emailVerifiedAt: Date | null;
14380
+ password: string;
14381
+ phone: string | null;
14382
+ notificationCount: number | null;
14383
+ roles: {
14384
+ id: string;
14385
+ description: string | null;
14386
+ createdAt: Date;
14387
+ updatedAt: Date;
14388
+ deletedAt: Date | null;
14389
+ systemName: string;
14390
+ displayName: string;
14391
+ permissions: {
14392
+ id: string;
14393
+ description: string | null;
14394
+ createdAt: Date;
14395
+ updatedAt: Date;
14396
+ deletedAt: Date | null;
14397
+ systemName: string;
14398
+ displayName: string;
14399
+ }[];
14400
+ }[];
14401
+ extension: {
14402
+ id: string;
14403
+ createdAt: Date;
14404
+ updatedAt: Date;
14405
+ deletedAt: Date | null;
14406
+ userId: string | null;
14407
+ sipServerUrl: string;
14408
+ sipUserName: string;
14409
+ webphoneLoginUser: string;
14410
+ extensionId: number;
14411
+ extensionName: string;
14412
+ telephonySignature: string | null;
14413
+ };
14414
+ } | null | undefined;
12393
14415
  ticketNumber?: number | undefined;
12394
14416
  }, {
12395
14417
  type: string;
@@ -12471,6 +14493,7 @@ export declare const ticketContract: {
12471
14493
  bucketName: string;
12472
14494
  fileSize: number;
12473
14495
  fileUrl: string | null;
14496
+ status?: string | undefined;
12474
14497
  };
12475
14498
  }[];
12476
14499
  }[];
@@ -12560,6 +14583,7 @@ export declare const ticketContract: {
12560
14583
  bucketName: string;
12561
14584
  fileSize: number;
12562
14585
  fileUrl: string | null;
14586
+ status?: string | undefined;
12563
14587
  }[];
12564
14588
  }[];
12565
14589
  tags: {
@@ -12570,7 +14594,10 @@ export declare const ticketContract: {
12570
14594
  deletedAt: Date | null;
12571
14595
  }[];
12572
14596
  contactId: string;
12573
- assignee: {
14597
+ assigneeId: string;
14598
+ creatorId: string;
14599
+ reasonToAssign: string | null;
14600
+ creator?: {
12574
14601
  id: string;
12575
14602
  address: string | null;
12576
14603
  name: string;
@@ -12613,10 +14640,51 @@ export declare const ticketContract: {
12613
14640
  extensionName: string;
12614
14641
  telephonySignature: string | null;
12615
14642
  };
12616
- };
12617
- assigneeId: string;
12618
- creatorId: string;
12619
- reasonToAssign: string | null;
14643
+ } | null | undefined;
14644
+ assignee?: {
14645
+ id: string;
14646
+ address: string | null;
14647
+ name: string;
14648
+ email: string;
14649
+ createdAt: Date;
14650
+ updatedAt: Date;
14651
+ deletedAt: Date | null;
14652
+ emailVerifiedAt: Date | null;
14653
+ password: string;
14654
+ phone: string | null;
14655
+ notificationCount: number | null;
14656
+ roles: {
14657
+ id: string;
14658
+ description: string | null;
14659
+ createdAt: Date;
14660
+ updatedAt: Date;
14661
+ deletedAt: Date | null;
14662
+ systemName: string;
14663
+ displayName: string;
14664
+ permissions: {
14665
+ id: string;
14666
+ description: string | null;
14667
+ createdAt: Date;
14668
+ updatedAt: Date;
14669
+ deletedAt: Date | null;
14670
+ systemName: string;
14671
+ displayName: string;
14672
+ }[];
14673
+ }[];
14674
+ extension: {
14675
+ id: string;
14676
+ createdAt: Date;
14677
+ updatedAt: Date;
14678
+ deletedAt: Date | null;
14679
+ userId: string | null;
14680
+ sipServerUrl: string;
14681
+ sipUserName: string;
14682
+ webphoneLoginUser: string;
14683
+ extensionId: number;
14684
+ extensionName: string;
14685
+ telephonySignature: string | null;
14686
+ };
14687
+ } | null | undefined;
12620
14688
  ticketNumber?: number | undefined;
12621
14689
  }>;
12622
14690
  }, "strip", z.ZodTypeAny, {
@@ -12700,6 +14768,7 @@ export declare const ticketContract: {
12700
14768
  bucketName: string;
12701
14769
  fileSize: number;
12702
14770
  fileUrl: string | null;
14771
+ status?: string | undefined;
12703
14772
  };
12704
14773
  }[];
12705
14774
  }[];
@@ -12789,6 +14858,7 @@ export declare const ticketContract: {
12789
14858
  bucketName: string;
12790
14859
  fileSize: number;
12791
14860
  fileUrl: string | null;
14861
+ status?: string | undefined;
12792
14862
  }[];
12793
14863
  }[];
12794
14864
  tags: {
@@ -12799,7 +14869,10 @@ export declare const ticketContract: {
12799
14869
  deletedAt: Date | null;
12800
14870
  }[];
12801
14871
  contactId: string;
12802
- assignee: {
14872
+ assigneeId: string;
14873
+ creatorId: string;
14874
+ reasonToAssign: string | null;
14875
+ creator?: {
12803
14876
  id: string;
12804
14877
  address: string | null;
12805
14878
  name: string;
@@ -12842,10 +14915,51 @@ export declare const ticketContract: {
12842
14915
  extensionName: string;
12843
14916
  telephonySignature: string | null;
12844
14917
  };
12845
- };
12846
- assigneeId: string;
12847
- creatorId: string;
12848
- reasonToAssign: string | null;
14918
+ } | null | undefined;
14919
+ assignee?: {
14920
+ id: string;
14921
+ address: string | null;
14922
+ name: string;
14923
+ email: string;
14924
+ createdAt: Date;
14925
+ updatedAt: Date;
14926
+ deletedAt: Date | null;
14927
+ emailVerifiedAt: Date | null;
14928
+ password: string;
14929
+ phone: string | null;
14930
+ notificationCount: number | null;
14931
+ roles: {
14932
+ id: string;
14933
+ description: string | null;
14934
+ createdAt: Date;
14935
+ updatedAt: Date;
14936
+ deletedAt: Date | null;
14937
+ systemName: string;
14938
+ displayName: string;
14939
+ permissions: {
14940
+ id: string;
14941
+ description: string | null;
14942
+ createdAt: Date;
14943
+ updatedAt: Date;
14944
+ deletedAt: Date | null;
14945
+ systemName: string;
14946
+ displayName: string;
14947
+ }[];
14948
+ }[];
14949
+ extension: {
14950
+ id: string;
14951
+ createdAt: Date;
14952
+ updatedAt: Date;
14953
+ deletedAt: Date | null;
14954
+ userId: string | null;
14955
+ sipServerUrl: string;
14956
+ sipUserName: string;
14957
+ webphoneLoginUser: string;
14958
+ extensionId: number;
14959
+ extensionName: string;
14960
+ telephonySignature: string | null;
14961
+ };
14962
+ } | null | undefined;
12849
14963
  ticketNumber?: number | undefined;
12850
14964
  };
12851
14965
  requestId: string;
@@ -12930,6 +15044,7 @@ export declare const ticketContract: {
12930
15044
  bucketName: string;
12931
15045
  fileSize: number;
12932
15046
  fileUrl: string | null;
15047
+ status?: string | undefined;
12933
15048
  };
12934
15049
  }[];
12935
15050
  }[];
@@ -13019,6 +15134,7 @@ export declare const ticketContract: {
13019
15134
  bucketName: string;
13020
15135
  fileSize: number;
13021
15136
  fileUrl: string | null;
15137
+ status?: string | undefined;
13022
15138
  }[];
13023
15139
  }[];
13024
15140
  tags: {
@@ -13029,7 +15145,10 @@ export declare const ticketContract: {
13029
15145
  deletedAt: Date | null;
13030
15146
  }[];
13031
15147
  contactId: string;
13032
- assignee: {
15148
+ assigneeId: string;
15149
+ creatorId: string;
15150
+ reasonToAssign: string | null;
15151
+ creator?: {
13033
15152
  id: string;
13034
15153
  address: string | null;
13035
15154
  name: string;
@@ -13072,10 +15191,51 @@ export declare const ticketContract: {
13072
15191
  extensionName: string;
13073
15192
  telephonySignature: string | null;
13074
15193
  };
13075
- };
13076
- assigneeId: string;
13077
- creatorId: string;
13078
- reasonToAssign: string | null;
15194
+ } | null | undefined;
15195
+ assignee?: {
15196
+ id: string;
15197
+ address: string | null;
15198
+ name: string;
15199
+ email: string;
15200
+ createdAt: Date;
15201
+ updatedAt: Date;
15202
+ deletedAt: Date | null;
15203
+ emailVerifiedAt: Date | null;
15204
+ password: string;
15205
+ phone: string | null;
15206
+ notificationCount: number | null;
15207
+ roles: {
15208
+ id: string;
15209
+ description: string | null;
15210
+ createdAt: Date;
15211
+ updatedAt: Date;
15212
+ deletedAt: Date | null;
15213
+ systemName: string;
15214
+ displayName: string;
15215
+ permissions: {
15216
+ id: string;
15217
+ description: string | null;
15218
+ createdAt: Date;
15219
+ updatedAt: Date;
15220
+ deletedAt: Date | null;
15221
+ systemName: string;
15222
+ displayName: string;
15223
+ }[];
15224
+ }[];
15225
+ extension: {
15226
+ id: string;
15227
+ createdAt: Date;
15228
+ updatedAt: Date;
15229
+ deletedAt: Date | null;
15230
+ userId: string | null;
15231
+ sipServerUrl: string;
15232
+ sipUserName: string;
15233
+ webphoneLoginUser: string;
15234
+ extensionId: number;
15235
+ extensionName: string;
15236
+ telephonySignature: string | null;
15237
+ };
15238
+ } | null | undefined;
13079
15239
  ticketNumber?: number | undefined;
13080
15240
  };
13081
15241
  requestId: string;
@@ -13396,6 +15556,7 @@ export declare const ticketContract: {
13396
15556
  fileSize: z.ZodNumber;
13397
15557
  fileKey: z.ZodString;
13398
15558
  fileUrl: z.ZodNullable<z.ZodString>;
15559
+ status: z.ZodOptional<z.ZodString>;
13399
15560
  }, "strip", z.ZodTypeAny, {
13400
15561
  id: string;
13401
15562
  createdAt: Date;
@@ -13406,6 +15567,7 @@ export declare const ticketContract: {
13406
15567
  bucketName: string;
13407
15568
  fileSize: number;
13408
15569
  fileUrl: string | null;
15570
+ status?: string | undefined;
13409
15571
  }, {
13410
15572
  id: string;
13411
15573
  createdAt: Date;
@@ -13416,6 +15578,7 @@ export declare const ticketContract: {
13416
15578
  bucketName: string;
13417
15579
  fileSize: number;
13418
15580
  fileUrl: string | null;
15581
+ status?: string | undefined;
13419
15582
  }>, "many">;
13420
15583
  }, "strip", z.ZodTypeAny, {
13421
15584
  id: string;
@@ -13450,6 +15613,7 @@ export declare const ticketContract: {
13450
15613
  bucketName: string;
13451
15614
  fileSize: number;
13452
15615
  fileUrl: string | null;
15616
+ status?: string | undefined;
13453
15617
  }[];
13454
15618
  }, {
13455
15619
  id: string;
@@ -13484,6 +15648,7 @@ export declare const ticketContract: {
13484
15648
  bucketName: string;
13485
15649
  fileSize: number;
13486
15650
  fileUrl: string | null;
15651
+ status?: string | undefined;
13487
15652
  }[];
13488
15653
  }>;
13489
15654
  }, "strip", z.ZodTypeAny, {
@@ -13520,6 +15685,7 @@ export declare const ticketContract: {
13520
15685
  bucketName: string;
13521
15686
  fileSize: number;
13522
15687
  fileUrl: string | null;
15688
+ status?: string | undefined;
13523
15689
  }[];
13524
15690
  };
13525
15691
  requestId: string;
@@ -13557,6 +15723,7 @@ export declare const ticketContract: {
13557
15723
  bucketName: string;
13558
15724
  fileSize: number;
13559
15725
  fileUrl: string | null;
15726
+ status?: string | undefined;
13560
15727
  }[];
13561
15728
  };
13562
15729
  requestId: string;