@kl1/contracts 1.0.27 → 1.0.28

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 (63) hide show
  1. package/dist/index.js +151 -118
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +151 -118
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/activity-log/index.d.ts +113 -113
  6. package/dist/src/activity-log/schema.d.ts +122 -122
  7. package/dist/src/auth/index.d.ts +89 -89
  8. package/dist/src/channel/index.d.ts +319 -319
  9. package/dist/src/channel/schema.d.ts +89 -92
  10. package/dist/src/channel/schema.d.ts.map +1 -1
  11. package/dist/src/channel/validation.d.ts +89 -89
  12. package/dist/src/chat/index.d.ts +8699 -8699
  13. package/dist/src/chat/schema.d.ts +1486 -1486
  14. package/dist/src/chat/validation.d.ts +2244 -2244
  15. package/dist/src/comment/index.d.ts +1005 -1005
  16. package/dist/src/comment/schema.d.ts +283 -283
  17. package/dist/src/company/index.d.ts +28 -28
  18. package/dist/src/company/schema.d.ts +8 -8
  19. package/dist/src/company/validation.d.ts +15 -15
  20. package/dist/src/contact/index.d.ts +960 -960
  21. package/dist/src/contact/schema.d.ts +161 -161
  22. package/dist/src/contact/validation.d.ts +690 -690
  23. package/dist/src/contract.d.ts +18366 -18196
  24. package/dist/src/contract.d.ts.map +1 -1
  25. package/dist/src/custom-field/schema.d.ts +3 -3
  26. package/dist/src/cx-log/index.d.ts +1023 -1023
  27. package/dist/src/cx-log/schema.d.ts +837 -837
  28. package/dist/src/dashboard/index.d.ts +6 -6
  29. package/dist/src/dashboard/index.d.ts.map +1 -1
  30. package/dist/src/dashboard/schema.d.ts +2 -2
  31. package/dist/src/dashboard/schema.d.ts.map +1 -1
  32. package/dist/src/extension/index.d.ts +115 -115
  33. package/dist/src/extension/schema.d.ts +9 -9
  34. package/dist/src/mail/account-contract.d.ts +168 -168
  35. package/dist/src/mail/mail-contract.d.ts +3336 -3336
  36. package/dist/src/mail/message-contract.d.ts +152 -152
  37. package/dist/src/mail/room-contract.d.ts +3015 -3015
  38. package/dist/src/mail/schemas/account-validation.schema.d.ts +168 -168
  39. package/dist/src/mail/schemas/account.schema.d.ts +33 -33
  40. package/dist/src/mail/schemas/message.schema.d.ts +108 -108
  41. package/dist/src/mail/schemas/room-validation.schema.d.ts +1000 -1000
  42. package/dist/src/mail/schemas/room.schema.d.ts +791 -791
  43. package/dist/src/messenger/index.d.ts +1078 -1078
  44. package/dist/src/permission/index.d.ts +15 -15
  45. package/dist/src/permission/schema.d.ts +9 -9
  46. package/dist/src/role/index.d.ts +96 -96
  47. package/dist/src/role/schema.d.ts +24 -24
  48. package/dist/src/telephony-agent-presence-status/index.d.ts +293 -293
  49. package/dist/src/telephony-agent-presence-status/schema.d.ts +89 -89
  50. package/dist/src/ticket/index.d.ts +288 -187
  51. package/dist/src/ticket/index.d.ts.map +1 -1
  52. package/dist/src/ticket/schema.d.ts +77 -77
  53. package/dist/src/ticket/validation.d.ts +66 -0
  54. package/dist/src/ticket/validation.d.ts.map +1 -1
  55. package/dist/src/user/index.d.ts +293 -293
  56. package/dist/src/user/schema.d.ts +63 -63
  57. package/dist/src/user-presence-status-log/index.d.ts +52 -52
  58. package/dist/src/user-presence-status-log/schema.d.ts +89 -89
  59. package/dist/src/widget/index.d.ts +72 -1
  60. package/dist/src/widget/index.d.ts.map +1 -1
  61. package/dist/src/widget/validation.d.ts +10 -0
  62. package/dist/src/widget/validation.d.ts.map +1 -1
  63. package/package.json +1 -1
@@ -1,10 +1,11 @@
1
1
  import z from 'zod';
2
- import { CreateTicketAttachmentRecordsSchema, CreateTicketValidationSchema, UpdateTicketValidationSchema, GetAllTicketQuerySchema, TicketParamsSchema } from './validation';
2
+ import { CreateTicketAttachmentRecordsSchema, CreateTicketValidationSchema, UpdateTicketValidationSchema, GetAllTicketQuerySchema, TicketParamsSchema, ExportAllTicketQuerySchema } from './validation';
3
3
  export type CreateTicketRequest = z.infer<typeof CreateTicketValidationSchema>;
4
4
  export type UpdateTicketRequest = z.infer<typeof UpdateTicketValidationSchema>;
5
5
  export type CreateTicketAttachmentRecordsRequest = z.infer<typeof CreateTicketAttachmentRecordsSchema>;
6
6
  export type GetAllTicketQueryRequest = z.infer<typeof GetAllTicketQuerySchema>;
7
7
  export type GetTicketParamsRequest = z.infer<typeof TicketParamsSchema>;
8
+ export type ExportAllTicketQueryRequest = z.infer<typeof ExportAllTicketQuerySchema>;
8
9
  export declare const ticketContract: {
9
10
  createTicket: {
10
11
  body: z.ZodObject<{
@@ -316,7 +317,7 @@ export declare const ticketContract: {
316
317
  textValue: z.ZodNullable<z.ZodString>;
317
318
  booleanValue: z.ZodNullable<z.ZodBoolean>;
318
319
  numberValue: z.ZodNullable<z.ZodNumber>;
319
- dateValue: z.ZodNullable<z.ZodDate>;
320
+ dateValue: z.ZodNullable<z.ZodString>;
320
321
  attribute: z.ZodObject<Omit<{
321
322
  id: z.ZodString;
322
323
  createdAt: z.ZodString;
@@ -400,9 +401,9 @@ export declare const ticketContract: {
400
401
  }>;
401
402
  uploads: z.ZodArray<z.ZodObject<{
402
403
  id: z.ZodString;
403
- createdAt: z.ZodDate;
404
- updatedAt: z.ZodDate;
405
- deletedAt: z.ZodNullable<z.ZodDate>;
404
+ createdAt: z.ZodString;
405
+ updatedAt: z.ZodString;
406
+ deletedAt: z.ZodNullable<z.ZodString>;
406
407
  customFieldId: z.ZodString;
407
408
  upload: z.ZodObject<{
408
409
  id: z.ZodString;
@@ -434,9 +435,9 @@ export declare const ticketContract: {
434
435
  }>;
435
436
  }, "strip", z.ZodTypeAny, {
436
437
  id: string;
437
- createdAt: Date;
438
- updatedAt: Date;
439
- deletedAt: Date | null;
438
+ createdAt: string;
439
+ updatedAt: string;
440
+ deletedAt: string | null;
440
441
  customFieldId: string;
441
442
  upload: {
442
443
  id: string;
@@ -450,9 +451,9 @@ export declare const ticketContract: {
450
451
  };
451
452
  }, {
452
453
  id: string;
453
- createdAt: Date;
454
- updatedAt: Date;
455
- deletedAt: Date | null;
454
+ createdAt: string;
455
+ updatedAt: string;
456
+ deletedAt: string | null;
456
457
  customFieldId: string;
457
458
  upload: {
458
459
  id: string;
@@ -487,12 +488,12 @@ export declare const ticketContract: {
487
488
  textValue: string | null;
488
489
  booleanValue: boolean | null;
489
490
  numberValue: number | null;
490
- dateValue: Date | null;
491
+ dateValue: string | null;
491
492
  uploads: {
492
493
  id: string;
493
- createdAt: Date;
494
- updatedAt: Date;
495
- deletedAt: Date | null;
494
+ createdAt: string;
495
+ updatedAt: string;
496
+ deletedAt: string | null;
496
497
  customFieldId: string;
497
498
  upload: {
498
499
  id: string;
@@ -527,12 +528,12 @@ export declare const ticketContract: {
527
528
  textValue: string | null;
528
529
  booleanValue: boolean | null;
529
530
  numberValue: number | null;
530
- dateValue: Date | null;
531
+ dateValue: string | null;
531
532
  uploads: {
532
533
  id: string;
533
- createdAt: Date;
534
- updatedAt: Date;
535
- deletedAt: Date | null;
534
+ createdAt: string;
535
+ updatedAt: string;
536
+ deletedAt: string | null;
536
537
  customFieldId: string;
537
538
  upload: {
538
539
  id: string;
@@ -579,12 +580,12 @@ export declare const ticketContract: {
579
580
  textValue: string | null;
580
581
  booleanValue: boolean | null;
581
582
  numberValue: number | null;
582
- dateValue: Date | null;
583
+ dateValue: string | null;
583
584
  uploads: {
584
585
  id: string;
585
- createdAt: Date;
586
- updatedAt: Date;
587
- deletedAt: Date | null;
586
+ createdAt: string;
587
+ updatedAt: string;
588
+ deletedAt: string | null;
588
589
  customFieldId: string;
589
590
  upload: {
590
591
  id: string;
@@ -636,12 +637,12 @@ export declare const ticketContract: {
636
637
  textValue: string | null;
637
638
  booleanValue: boolean | null;
638
639
  numberValue: number | null;
639
- dateValue: Date | null;
640
+ dateValue: string | null;
640
641
  uploads: {
641
642
  id: string;
642
- createdAt: Date;
643
- updatedAt: Date;
644
- deletedAt: Date | null;
643
+ createdAt: string;
644
+ updatedAt: string;
645
+ deletedAt: string | null;
645
646
  customFieldId: string;
646
647
  upload: {
647
648
  id: string;
@@ -695,12 +696,12 @@ export declare const ticketContract: {
695
696
  textValue: string | null;
696
697
  booleanValue: boolean | null;
697
698
  numberValue: number | null;
698
- dateValue: Date | null;
699
+ dateValue: string | null;
699
700
  uploads: {
700
701
  id: string;
701
- createdAt: Date;
702
- updatedAt: Date;
703
- deletedAt: Date | null;
702
+ createdAt: string;
703
+ updatedAt: string;
704
+ deletedAt: string | null;
704
705
  customFieldId: string;
705
706
  upload: {
706
707
  id: string;
@@ -755,12 +756,12 @@ export declare const ticketContract: {
755
756
  textValue: string | null;
756
757
  booleanValue: boolean | null;
757
758
  numberValue: number | null;
758
- dateValue: Date | null;
759
+ dateValue: string | null;
759
760
  uploads: {
760
761
  id: string;
761
- createdAt: Date;
762
- updatedAt: Date;
763
- deletedAt: Date | null;
762
+ createdAt: string;
763
+ updatedAt: string;
764
+ deletedAt: string | null;
764
765
  customFieldId: string;
765
766
  upload: {
766
767
  id: string;
@@ -966,12 +967,12 @@ export declare const ticketContract: {
966
967
  textValue: string | null;
967
968
  booleanValue: boolean | null;
968
969
  numberValue: number | null;
969
- dateValue: Date | null;
970
+ dateValue: string | null;
970
971
  uploads: {
971
972
  id: string;
972
- createdAt: Date;
973
- updatedAt: Date;
974
- deletedAt: Date | null;
973
+ createdAt: string;
974
+ updatedAt: string;
975
+ deletedAt: string | null;
975
976
  customFieldId: string;
976
977
  upload: {
977
978
  id: string;
@@ -1023,12 +1024,12 @@ export declare const ticketContract: {
1023
1024
  textValue: string | null;
1024
1025
  booleanValue: boolean | null;
1025
1026
  numberValue: number | null;
1026
- dateValue: Date | null;
1027
+ dateValue: string | null;
1027
1028
  uploads: {
1028
1029
  id: string;
1029
- createdAt: Date;
1030
- updatedAt: Date;
1031
- deletedAt: Date | null;
1030
+ createdAt: string;
1031
+ updatedAt: string;
1032
+ deletedAt: string | null;
1032
1033
  customFieldId: string;
1033
1034
  upload: {
1034
1035
  id: string;
@@ -1082,12 +1083,12 @@ export declare const ticketContract: {
1082
1083
  textValue: string | null;
1083
1084
  booleanValue: boolean | null;
1084
1085
  numberValue: number | null;
1085
- dateValue: Date | null;
1086
+ dateValue: string | null;
1086
1087
  uploads: {
1087
1088
  id: string;
1088
- createdAt: Date;
1089
- updatedAt: Date;
1090
- deletedAt: Date | null;
1089
+ createdAt: string;
1090
+ updatedAt: string;
1091
+ deletedAt: string | null;
1091
1092
  customFieldId: string;
1092
1093
  upload: {
1093
1094
  id: string;
@@ -1145,12 +1146,12 @@ export declare const ticketContract: {
1145
1146
  textValue: string | null;
1146
1147
  booleanValue: boolean | null;
1147
1148
  numberValue: number | null;
1148
- dateValue: Date | null;
1149
+ dateValue: string | null;
1149
1150
  uploads: {
1150
1151
  id: string;
1151
- createdAt: Date;
1152
- updatedAt: Date;
1153
- deletedAt: Date | null;
1152
+ createdAt: string;
1153
+ updatedAt: string;
1154
+ deletedAt: string | null;
1154
1155
  customFieldId: string;
1155
1156
  upload: {
1156
1157
  id: string;
@@ -1256,7 +1257,7 @@ export declare const ticketContract: {
1256
1257
  textValue: z.ZodNullable<z.ZodString>;
1257
1258
  booleanValue: z.ZodNullable<z.ZodBoolean>;
1258
1259
  numberValue: z.ZodNullable<z.ZodNumber>;
1259
- dateValue: z.ZodNullable<z.ZodDate>;
1260
+ dateValue: z.ZodNullable<z.ZodString>;
1260
1261
  attribute: z.ZodObject<Omit<{
1261
1262
  id: z.ZodString;
1262
1263
  createdAt: z.ZodString;
@@ -1340,9 +1341,9 @@ export declare const ticketContract: {
1340
1341
  }>;
1341
1342
  uploads: z.ZodArray<z.ZodObject<{
1342
1343
  id: z.ZodString;
1343
- createdAt: z.ZodDate;
1344
- updatedAt: z.ZodDate;
1345
- deletedAt: z.ZodNullable<z.ZodDate>;
1344
+ createdAt: z.ZodString;
1345
+ updatedAt: z.ZodString;
1346
+ deletedAt: z.ZodNullable<z.ZodString>;
1346
1347
  customFieldId: z.ZodString;
1347
1348
  upload: z.ZodObject<{
1348
1349
  id: z.ZodString;
@@ -1374,9 +1375,9 @@ export declare const ticketContract: {
1374
1375
  }>;
1375
1376
  }, "strip", z.ZodTypeAny, {
1376
1377
  id: string;
1377
- createdAt: Date;
1378
- updatedAt: Date;
1379
- deletedAt: Date | null;
1378
+ createdAt: string;
1379
+ updatedAt: string;
1380
+ deletedAt: string | null;
1380
1381
  customFieldId: string;
1381
1382
  upload: {
1382
1383
  id: string;
@@ -1390,9 +1391,9 @@ export declare const ticketContract: {
1390
1391
  };
1391
1392
  }, {
1392
1393
  id: string;
1393
- createdAt: Date;
1394
- updatedAt: Date;
1395
- deletedAt: Date | null;
1394
+ createdAt: string;
1395
+ updatedAt: string;
1396
+ deletedAt: string | null;
1396
1397
  customFieldId: string;
1397
1398
  upload: {
1398
1399
  id: string;
@@ -1427,12 +1428,12 @@ export declare const ticketContract: {
1427
1428
  textValue: string | null;
1428
1429
  booleanValue: boolean | null;
1429
1430
  numberValue: number | null;
1430
- dateValue: Date | null;
1431
+ dateValue: string | null;
1431
1432
  uploads: {
1432
1433
  id: string;
1433
- createdAt: Date;
1434
- updatedAt: Date;
1435
- deletedAt: Date | null;
1434
+ createdAt: string;
1435
+ updatedAt: string;
1436
+ deletedAt: string | null;
1436
1437
  customFieldId: string;
1437
1438
  upload: {
1438
1439
  id: string;
@@ -1467,12 +1468,12 @@ export declare const ticketContract: {
1467
1468
  textValue: string | null;
1468
1469
  booleanValue: boolean | null;
1469
1470
  numberValue: number | null;
1470
- dateValue: Date | null;
1471
+ dateValue: string | null;
1471
1472
  uploads: {
1472
1473
  id: string;
1473
- createdAt: Date;
1474
- updatedAt: Date;
1475
- deletedAt: Date | null;
1474
+ createdAt: string;
1475
+ updatedAt: string;
1476
+ deletedAt: string | null;
1476
1477
  customFieldId: string;
1477
1478
  upload: {
1478
1479
  id: string;
@@ -1519,12 +1520,12 @@ export declare const ticketContract: {
1519
1520
  textValue: string | null;
1520
1521
  booleanValue: boolean | null;
1521
1522
  numberValue: number | null;
1522
- dateValue: Date | null;
1523
+ dateValue: string | null;
1523
1524
  uploads: {
1524
1525
  id: string;
1525
- createdAt: Date;
1526
- updatedAt: Date;
1527
- deletedAt: Date | null;
1526
+ createdAt: string;
1527
+ updatedAt: string;
1528
+ deletedAt: string | null;
1528
1529
  customFieldId: string;
1529
1530
  upload: {
1530
1531
  id: string;
@@ -1576,12 +1577,12 @@ export declare const ticketContract: {
1576
1577
  textValue: string | null;
1577
1578
  booleanValue: boolean | null;
1578
1579
  numberValue: number | null;
1579
- dateValue: Date | null;
1580
+ dateValue: string | null;
1580
1581
  uploads: {
1581
1582
  id: string;
1582
- createdAt: Date;
1583
- updatedAt: Date;
1584
- deletedAt: Date | null;
1583
+ createdAt: string;
1584
+ updatedAt: string;
1585
+ deletedAt: string | null;
1585
1586
  customFieldId: string;
1586
1587
  upload: {
1587
1588
  id: string;
@@ -1706,12 +1707,12 @@ export declare const ticketContract: {
1706
1707
  textValue: string | null;
1707
1708
  booleanValue: boolean | null;
1708
1709
  numberValue: number | null;
1709
- dateValue: Date | null;
1710
+ dateValue: string | null;
1710
1711
  uploads: {
1711
1712
  id: string;
1712
- createdAt: Date;
1713
- updatedAt: Date;
1714
- deletedAt: Date | null;
1713
+ createdAt: string;
1714
+ updatedAt: string;
1715
+ deletedAt: string | null;
1715
1716
  customFieldId: string;
1716
1717
  upload: {
1717
1718
  id: string;
@@ -1763,12 +1764,12 @@ export declare const ticketContract: {
1763
1764
  textValue: string | null;
1764
1765
  booleanValue: boolean | null;
1765
1766
  numberValue: number | null;
1766
- dateValue: Date | null;
1767
+ dateValue: string | null;
1767
1768
  uploads: {
1768
1769
  id: string;
1769
- createdAt: Date;
1770
- updatedAt: Date;
1771
- deletedAt: Date | null;
1770
+ createdAt: string;
1771
+ updatedAt: string;
1772
+ deletedAt: string | null;
1772
1773
  customFieldId: string;
1773
1774
  upload: {
1774
1775
  id: string;
@@ -1822,12 +1823,12 @@ export declare const ticketContract: {
1822
1823
  textValue: string | null;
1823
1824
  booleanValue: boolean | null;
1824
1825
  numberValue: number | null;
1825
- dateValue: Date | null;
1826
+ dateValue: string | null;
1826
1827
  uploads: {
1827
1828
  id: string;
1828
- createdAt: Date;
1829
- updatedAt: Date;
1830
- deletedAt: Date | null;
1829
+ createdAt: string;
1830
+ updatedAt: string;
1831
+ deletedAt: string | null;
1831
1832
  customFieldId: string;
1832
1833
  upload: {
1833
1834
  id: string;
@@ -1885,12 +1886,12 @@ export declare const ticketContract: {
1885
1886
  textValue: string | null;
1886
1887
  booleanValue: boolean | null;
1887
1888
  numberValue: number | null;
1888
- dateValue: Date | null;
1889
+ dateValue: string | null;
1889
1890
  uploads: {
1890
1891
  id: string;
1891
- createdAt: Date;
1892
- updatedAt: Date;
1893
- deletedAt: Date | null;
1892
+ createdAt: string;
1893
+ updatedAt: string;
1894
+ deletedAt: string | null;
1894
1895
  customFieldId: string;
1895
1896
  upload: {
1896
1897
  id: string;
@@ -2278,7 +2279,7 @@ export declare const ticketContract: {
2278
2279
  textValue: z.ZodNullable<z.ZodString>;
2279
2280
  booleanValue: z.ZodNullable<z.ZodBoolean>;
2280
2281
  numberValue: z.ZodNullable<z.ZodNumber>;
2281
- dateValue: z.ZodNullable<z.ZodDate>;
2282
+ dateValue: z.ZodNullable<z.ZodString>;
2282
2283
  attribute: z.ZodObject<Omit<{
2283
2284
  id: z.ZodString;
2284
2285
  createdAt: z.ZodString;
@@ -2362,9 +2363,9 @@ export declare const ticketContract: {
2362
2363
  }>;
2363
2364
  uploads: z.ZodArray<z.ZodObject<{
2364
2365
  id: z.ZodString;
2365
- createdAt: z.ZodDate;
2366
- updatedAt: z.ZodDate;
2367
- deletedAt: z.ZodNullable<z.ZodDate>;
2366
+ createdAt: z.ZodString;
2367
+ updatedAt: z.ZodString;
2368
+ deletedAt: z.ZodNullable<z.ZodString>;
2368
2369
  customFieldId: z.ZodString;
2369
2370
  upload: z.ZodObject<{
2370
2371
  id: z.ZodString;
@@ -2396,9 +2397,9 @@ export declare const ticketContract: {
2396
2397
  }>;
2397
2398
  }, "strip", z.ZodTypeAny, {
2398
2399
  id: string;
2399
- createdAt: Date;
2400
- updatedAt: Date;
2401
- deletedAt: Date | null;
2400
+ createdAt: string;
2401
+ updatedAt: string;
2402
+ deletedAt: string | null;
2402
2403
  customFieldId: string;
2403
2404
  upload: {
2404
2405
  id: string;
@@ -2412,9 +2413,9 @@ export declare const ticketContract: {
2412
2413
  };
2413
2414
  }, {
2414
2415
  id: string;
2415
- createdAt: Date;
2416
- updatedAt: Date;
2417
- deletedAt: Date | null;
2416
+ createdAt: string;
2417
+ updatedAt: string;
2418
+ deletedAt: string | null;
2418
2419
  customFieldId: string;
2419
2420
  upload: {
2420
2421
  id: string;
@@ -2449,12 +2450,12 @@ export declare const ticketContract: {
2449
2450
  textValue: string | null;
2450
2451
  booleanValue: boolean | null;
2451
2452
  numberValue: number | null;
2452
- dateValue: Date | null;
2453
+ dateValue: string | null;
2453
2454
  uploads: {
2454
2455
  id: string;
2455
- createdAt: Date;
2456
- updatedAt: Date;
2457
- deletedAt: Date | null;
2456
+ createdAt: string;
2457
+ updatedAt: string;
2458
+ deletedAt: string | null;
2458
2459
  customFieldId: string;
2459
2460
  upload: {
2460
2461
  id: string;
@@ -2489,12 +2490,12 @@ export declare const ticketContract: {
2489
2490
  textValue: string | null;
2490
2491
  booleanValue: boolean | null;
2491
2492
  numberValue: number | null;
2492
- dateValue: Date | null;
2493
+ dateValue: string | null;
2493
2494
  uploads: {
2494
2495
  id: string;
2495
- createdAt: Date;
2496
- updatedAt: Date;
2497
- deletedAt: Date | null;
2496
+ createdAt: string;
2497
+ updatedAt: string;
2498
+ deletedAt: string | null;
2498
2499
  customFieldId: string;
2499
2500
  upload: {
2500
2501
  id: string;
@@ -2541,12 +2542,12 @@ export declare const ticketContract: {
2541
2542
  textValue: string | null;
2542
2543
  booleanValue: boolean | null;
2543
2544
  numberValue: number | null;
2544
- dateValue: Date | null;
2545
+ dateValue: string | null;
2545
2546
  uploads: {
2546
2547
  id: string;
2547
- createdAt: Date;
2548
- updatedAt: Date;
2549
- deletedAt: Date | null;
2548
+ createdAt: string;
2549
+ updatedAt: string;
2550
+ deletedAt: string | null;
2550
2551
  customFieldId: string;
2551
2552
  upload: {
2552
2553
  id: string;
@@ -2598,12 +2599,12 @@ export declare const ticketContract: {
2598
2599
  textValue: string | null;
2599
2600
  booleanValue: boolean | null;
2600
2601
  numberValue: number | null;
2601
- dateValue: Date | null;
2602
+ dateValue: string | null;
2602
2603
  uploads: {
2603
2604
  id: string;
2604
- createdAt: Date;
2605
- updatedAt: Date;
2606
- deletedAt: Date | null;
2605
+ createdAt: string;
2606
+ updatedAt: string;
2607
+ deletedAt: string | null;
2607
2608
  customFieldId: string;
2608
2609
  upload: {
2609
2610
  id: string;
@@ -2657,12 +2658,12 @@ export declare const ticketContract: {
2657
2658
  textValue: string | null;
2658
2659
  booleanValue: boolean | null;
2659
2660
  numberValue: number | null;
2660
- dateValue: Date | null;
2661
+ dateValue: string | null;
2661
2662
  uploads: {
2662
2663
  id: string;
2663
- createdAt: Date;
2664
- updatedAt: Date;
2665
- deletedAt: Date | null;
2664
+ createdAt: string;
2665
+ updatedAt: string;
2666
+ deletedAt: string | null;
2666
2667
  customFieldId: string;
2667
2668
  upload: {
2668
2669
  id: string;
@@ -2717,12 +2718,12 @@ export declare const ticketContract: {
2717
2718
  textValue: string | null;
2718
2719
  booleanValue: boolean | null;
2719
2720
  numberValue: number | null;
2720
- dateValue: Date | null;
2721
+ dateValue: string | null;
2721
2722
  uploads: {
2722
2723
  id: string;
2723
- createdAt: Date;
2724
- updatedAt: Date;
2725
- deletedAt: Date | null;
2724
+ createdAt: string;
2725
+ updatedAt: string;
2726
+ deletedAt: string | null;
2726
2727
  customFieldId: string;
2727
2728
  upload: {
2728
2729
  id: string;
@@ -3596,7 +3597,7 @@ export declare const ticketContract: {
3596
3597
  textValue: z.ZodNullable<z.ZodString>;
3597
3598
  booleanValue: z.ZodNullable<z.ZodBoolean>;
3598
3599
  numberValue: z.ZodNullable<z.ZodNumber>;
3599
- dateValue: z.ZodNullable<z.ZodDate>;
3600
+ dateValue: z.ZodNullable<z.ZodString>;
3600
3601
  attribute: z.ZodObject<Omit<{
3601
3602
  id: z.ZodString;
3602
3603
  createdAt: z.ZodString;
@@ -3680,9 +3681,9 @@ export declare const ticketContract: {
3680
3681
  }>;
3681
3682
  uploads: z.ZodArray<z.ZodObject<{
3682
3683
  id: z.ZodString;
3683
- createdAt: z.ZodDate;
3684
- updatedAt: z.ZodDate;
3685
- deletedAt: z.ZodNullable<z.ZodDate>;
3684
+ createdAt: z.ZodString;
3685
+ updatedAt: z.ZodString;
3686
+ deletedAt: z.ZodNullable<z.ZodString>;
3686
3687
  customFieldId: z.ZodString;
3687
3688
  upload: z.ZodObject<{
3688
3689
  id: z.ZodString;
@@ -3714,9 +3715,9 @@ export declare const ticketContract: {
3714
3715
  }>;
3715
3716
  }, "strip", z.ZodTypeAny, {
3716
3717
  id: string;
3717
- createdAt: Date;
3718
- updatedAt: Date;
3719
- deletedAt: Date | null;
3718
+ createdAt: string;
3719
+ updatedAt: string;
3720
+ deletedAt: string | null;
3720
3721
  customFieldId: string;
3721
3722
  upload: {
3722
3723
  id: string;
@@ -3730,9 +3731,9 @@ export declare const ticketContract: {
3730
3731
  };
3731
3732
  }, {
3732
3733
  id: string;
3733
- createdAt: Date;
3734
- updatedAt: Date;
3735
- deletedAt: Date | null;
3734
+ createdAt: string;
3735
+ updatedAt: string;
3736
+ deletedAt: string | null;
3736
3737
  customFieldId: string;
3737
3738
  upload: {
3738
3739
  id: string;
@@ -3767,12 +3768,12 @@ export declare const ticketContract: {
3767
3768
  textValue: string | null;
3768
3769
  booleanValue: boolean | null;
3769
3770
  numberValue: number | null;
3770
- dateValue: Date | null;
3771
+ dateValue: string | null;
3771
3772
  uploads: {
3772
3773
  id: string;
3773
- createdAt: Date;
3774
- updatedAt: Date;
3775
- deletedAt: Date | null;
3774
+ createdAt: string;
3775
+ updatedAt: string;
3776
+ deletedAt: string | null;
3776
3777
  customFieldId: string;
3777
3778
  upload: {
3778
3779
  id: string;
@@ -3807,12 +3808,12 @@ export declare const ticketContract: {
3807
3808
  textValue: string | null;
3808
3809
  booleanValue: boolean | null;
3809
3810
  numberValue: number | null;
3810
- dateValue: Date | null;
3811
+ dateValue: string | null;
3811
3812
  uploads: {
3812
3813
  id: string;
3813
- createdAt: Date;
3814
- updatedAt: Date;
3815
- deletedAt: Date | null;
3814
+ createdAt: string;
3815
+ updatedAt: string;
3816
+ deletedAt: string | null;
3816
3817
  customFieldId: string;
3817
3818
  upload: {
3818
3819
  id: string;
@@ -3859,12 +3860,12 @@ export declare const ticketContract: {
3859
3860
  textValue: string | null;
3860
3861
  booleanValue: boolean | null;
3861
3862
  numberValue: number | null;
3862
- dateValue: Date | null;
3863
+ dateValue: string | null;
3863
3864
  uploads: {
3864
3865
  id: string;
3865
- createdAt: Date;
3866
- updatedAt: Date;
3867
- deletedAt: Date | null;
3866
+ createdAt: string;
3867
+ updatedAt: string;
3868
+ deletedAt: string | null;
3868
3869
  customFieldId: string;
3869
3870
  upload: {
3870
3871
  id: string;
@@ -3916,12 +3917,12 @@ export declare const ticketContract: {
3916
3917
  textValue: string | null;
3917
3918
  booleanValue: boolean | null;
3918
3919
  numberValue: number | null;
3919
- dateValue: Date | null;
3920
+ dateValue: string | null;
3920
3921
  uploads: {
3921
3922
  id: string;
3922
- createdAt: Date;
3923
- updatedAt: Date;
3924
- deletedAt: Date | null;
3923
+ createdAt: string;
3924
+ updatedAt: string;
3925
+ deletedAt: string | null;
3925
3926
  customFieldId: string;
3926
3927
  upload: {
3927
3928
  id: string;
@@ -4146,12 +4147,12 @@ export declare const ticketContract: {
4146
4147
  textValue: string | null;
4147
4148
  booleanValue: boolean | null;
4148
4149
  numberValue: number | null;
4149
- dateValue: Date | null;
4150
+ dateValue: string | null;
4150
4151
  uploads: {
4151
4152
  id: string;
4152
- createdAt: Date;
4153
- updatedAt: Date;
4154
- deletedAt: Date | null;
4153
+ createdAt: string;
4154
+ updatedAt: string;
4155
+ deletedAt: string | null;
4155
4156
  customFieldId: string;
4156
4157
  upload: {
4157
4158
  id: string;
@@ -4203,12 +4204,12 @@ export declare const ticketContract: {
4203
4204
  textValue: string | null;
4204
4205
  booleanValue: boolean | null;
4205
4206
  numberValue: number | null;
4206
- dateValue: Date | null;
4207
+ dateValue: string | null;
4207
4208
  uploads: {
4208
4209
  id: string;
4209
- createdAt: Date;
4210
- updatedAt: Date;
4211
- deletedAt: Date | null;
4210
+ createdAt: string;
4211
+ updatedAt: string;
4212
+ deletedAt: string | null;
4212
4213
  customFieldId: string;
4213
4214
  upload: {
4214
4215
  id: string;
@@ -4262,12 +4263,12 @@ export declare const ticketContract: {
4262
4263
  textValue: string | null;
4263
4264
  booleanValue: boolean | null;
4264
4265
  numberValue: number | null;
4265
- dateValue: Date | null;
4266
+ dateValue: string | null;
4266
4267
  uploads: {
4267
4268
  id: string;
4268
- createdAt: Date;
4269
- updatedAt: Date;
4270
- deletedAt: Date | null;
4269
+ createdAt: string;
4270
+ updatedAt: string;
4271
+ deletedAt: string | null;
4271
4272
  customFieldId: string;
4272
4273
  upload: {
4273
4274
  id: string;
@@ -4325,12 +4326,12 @@ export declare const ticketContract: {
4325
4326
  textValue: string | null;
4326
4327
  booleanValue: boolean | null;
4327
4328
  numberValue: number | null;
4328
- dateValue: Date | null;
4329
+ dateValue: string | null;
4329
4330
  uploads: {
4330
4331
  id: string;
4331
- createdAt: Date;
4332
- updatedAt: Date;
4333
- deletedAt: Date | null;
4332
+ createdAt: string;
4333
+ updatedAt: string;
4334
+ deletedAt: string | null;
4334
4335
  customFieldId: string;
4335
4336
  upload: {
4336
4337
  id: string;
@@ -4456,7 +4457,7 @@ export declare const ticketContract: {
4456
4457
  textValue: z.ZodNullable<z.ZodString>;
4457
4458
  booleanValue: z.ZodNullable<z.ZodBoolean>;
4458
4459
  numberValue: z.ZodNullable<z.ZodNumber>;
4459
- dateValue: z.ZodNullable<z.ZodDate>;
4460
+ dateValue: z.ZodNullable<z.ZodString>;
4460
4461
  attribute: z.ZodObject<Omit<{
4461
4462
  id: z.ZodString;
4462
4463
  createdAt: z.ZodString;
@@ -4540,9 +4541,9 @@ export declare const ticketContract: {
4540
4541
  }>;
4541
4542
  uploads: z.ZodArray<z.ZodObject<{
4542
4543
  id: z.ZodString;
4543
- createdAt: z.ZodDate;
4544
- updatedAt: z.ZodDate;
4545
- deletedAt: z.ZodNullable<z.ZodDate>;
4544
+ createdAt: z.ZodString;
4545
+ updatedAt: z.ZodString;
4546
+ deletedAt: z.ZodNullable<z.ZodString>;
4546
4547
  customFieldId: z.ZodString;
4547
4548
  upload: z.ZodObject<{
4548
4549
  id: z.ZodString;
@@ -4574,9 +4575,9 @@ export declare const ticketContract: {
4574
4575
  }>;
4575
4576
  }, "strip", z.ZodTypeAny, {
4576
4577
  id: string;
4577
- createdAt: Date;
4578
- updatedAt: Date;
4579
- deletedAt: Date | null;
4578
+ createdAt: string;
4579
+ updatedAt: string;
4580
+ deletedAt: string | null;
4580
4581
  customFieldId: string;
4581
4582
  upload: {
4582
4583
  id: string;
@@ -4590,9 +4591,9 @@ export declare const ticketContract: {
4590
4591
  };
4591
4592
  }, {
4592
4593
  id: string;
4593
- createdAt: Date;
4594
- updatedAt: Date;
4595
- deletedAt: Date | null;
4594
+ createdAt: string;
4595
+ updatedAt: string;
4596
+ deletedAt: string | null;
4596
4597
  customFieldId: string;
4597
4598
  upload: {
4598
4599
  id: string;
@@ -4627,12 +4628,12 @@ export declare const ticketContract: {
4627
4628
  textValue: string | null;
4628
4629
  booleanValue: boolean | null;
4629
4630
  numberValue: number | null;
4630
- dateValue: Date | null;
4631
+ dateValue: string | null;
4631
4632
  uploads: {
4632
4633
  id: string;
4633
- createdAt: Date;
4634
- updatedAt: Date;
4635
- deletedAt: Date | null;
4634
+ createdAt: string;
4635
+ updatedAt: string;
4636
+ deletedAt: string | null;
4636
4637
  customFieldId: string;
4637
4638
  upload: {
4638
4639
  id: string;
@@ -4667,12 +4668,12 @@ export declare const ticketContract: {
4667
4668
  textValue: string | null;
4668
4669
  booleanValue: boolean | null;
4669
4670
  numberValue: number | null;
4670
- dateValue: Date | null;
4671
+ dateValue: string | null;
4671
4672
  uploads: {
4672
4673
  id: string;
4673
- createdAt: Date;
4674
- updatedAt: Date;
4675
- deletedAt: Date | null;
4674
+ createdAt: string;
4675
+ updatedAt: string;
4676
+ deletedAt: string | null;
4676
4677
  customFieldId: string;
4677
4678
  upload: {
4678
4679
  id: string;
@@ -4756,5 +4757,105 @@ export declare const ticketContract: {
4756
4757
  'x-client-timezone'?: string | undefined;
4757
4758
  }>>>;
4758
4759
  };
4760
+ exportTicket: {
4761
+ summary: "Export tickets";
4762
+ method: "GET";
4763
+ query: z.ZodObject<{
4764
+ agent: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4765
+ selectedDate: z.ZodOptional<z.ZodString>;
4766
+ keyword: z.ZodOptional<z.ZodString>;
4767
+ title: z.ZodOptional<z.ZodString>;
4768
+ description: z.ZodOptional<z.ZodString>;
4769
+ status: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4770
+ priority: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4771
+ channel: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4772
+ type: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4773
+ ticketType: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4774
+ contact: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4775
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4776
+ categories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4777
+ customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
4778
+ attributeId: z.ZodString;
4779
+ type: z.ZodString;
4780
+ value: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>;
4781
+ }, "strip", z.ZodTypeAny, {
4782
+ type: string;
4783
+ value: (string | string[]) & (string | string[] | undefined);
4784
+ attributeId: string;
4785
+ }, {
4786
+ type: string;
4787
+ value: (string | string[]) & (string | string[] | undefined);
4788
+ attributeId: string;
4789
+ }>, "many">>;
4790
+ }, "strip", z.ZodTypeAny, {
4791
+ agent?: string[] | undefined;
4792
+ selectedDate?: string | undefined;
4793
+ keyword?: string | undefined;
4794
+ title?: string | undefined;
4795
+ description?: string | undefined;
4796
+ status?: string[] | undefined;
4797
+ priority?: string[] | undefined;
4798
+ channel?: string[] | undefined;
4799
+ type?: string[] | undefined;
4800
+ ticketType?: string[] | undefined;
4801
+ contact?: string[] | undefined;
4802
+ tags?: string[] | undefined;
4803
+ categories?: string[] | undefined;
4804
+ customFields?: {
4805
+ type: string;
4806
+ value: (string | string[]) & (string | string[] | undefined);
4807
+ attributeId: string;
4808
+ }[] | undefined;
4809
+ }, {
4810
+ agent?: string[] | undefined;
4811
+ selectedDate?: string | undefined;
4812
+ keyword?: string | undefined;
4813
+ title?: string | undefined;
4814
+ description?: string | undefined;
4815
+ status?: string[] | undefined;
4816
+ priority?: string[] | undefined;
4817
+ channel?: string[] | undefined;
4818
+ type?: string[] | undefined;
4819
+ ticketType?: string[] | undefined;
4820
+ contact?: string[] | undefined;
4821
+ tags?: string[] | undefined;
4822
+ categories?: string[] | undefined;
4823
+ customFields?: {
4824
+ type: string;
4825
+ value: (string | string[]) & (string | string[] | undefined);
4826
+ attributeId: string;
4827
+ }[] | undefined;
4828
+ }>;
4829
+ responses: {
4830
+ 200: null;
4831
+ 401: z.ZodObject<{
4832
+ message: z.ZodString;
4833
+ error: z.ZodAny;
4834
+ }, "strip", z.ZodTypeAny, {
4835
+ message: string;
4836
+ error?: any;
4837
+ }, {
4838
+ message: string;
4839
+ error?: any;
4840
+ }>;
4841
+ };
4842
+ path: "ticket/export";
4843
+ headers: z.ZodNullable<z.ZodOptional<z.ZodObject<{
4844
+ 'x-tenant': z.ZodString;
4845
+ authorization: z.ZodString;
4846
+ 'x-code': z.ZodOptional<z.ZodString>;
4847
+ 'x-client-timezone': z.ZodDefault<z.ZodString>;
4848
+ }, "strip", z.ZodTypeAny, {
4849
+ 'x-tenant': string;
4850
+ authorization: string;
4851
+ 'x-client-timezone': string;
4852
+ 'x-code'?: string | undefined;
4853
+ }, {
4854
+ 'x-tenant': string;
4855
+ authorization: string;
4856
+ 'x-code'?: string | undefined;
4857
+ 'x-client-timezone'?: string | undefined;
4858
+ }>>>;
4859
+ };
4759
4860
  };
4760
4861
  //# sourceMappingURL=index.d.ts.map