@kl1/contracts 1.0.26 → 1.0.27

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 (76) hide show
  1. package/dist/index.js +1556 -1493
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +1555 -1493
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/attribute/index.d.ts +108 -108
  6. package/dist/src/attribute/schema.d.ts +24 -24
  7. package/dist/src/attribute-option/schema.d.ts +9 -9
  8. package/dist/src/base-contract.d.ts +9 -9
  9. package/dist/src/call-log/schema.d.ts +9 -9
  10. package/dist/src/category/index.d.ts +42 -42
  11. package/dist/src/category/schema.d.ts +9 -9
  12. package/dist/src/channel/index.d.ts +218 -32
  13. package/dist/src/channel/index.d.ts.map +1 -1
  14. package/dist/src/channel/schema.d.ts +9 -9
  15. package/dist/src/chat/index.d.ts +5335 -5335
  16. package/dist/src/chat/schema.d.ts +877 -877
  17. package/dist/src/chat/validation.d.ts +1009 -1009
  18. package/dist/src/comment/index.d.ts +363 -363
  19. package/dist/src/comment/schema.d.ts +105 -105
  20. package/dist/src/company/index.d.ts +296 -293
  21. package/dist/src/company/index.d.ts.map +1 -1
  22. package/dist/src/company/schema.d.ts +191 -54
  23. package/dist/src/company/schema.d.ts.map +1 -1
  24. package/dist/src/company/validation.d.ts +162 -162
  25. package/dist/src/contact/index.d.ts +1213 -1213
  26. package/dist/src/contact/schema.d.ts +201 -201
  27. package/dist/src/contact/validation.d.ts +997 -997
  28. package/dist/src/contact-email/schema.d.ts +9 -9
  29. package/dist/src/contact-phone/schema.d.ts +9 -9
  30. package/dist/src/contract.d.ts +9543 -9231
  31. package/dist/src/contract.d.ts.map +1 -1
  32. package/dist/src/custom-field/schema.d.ts +9 -9
  33. package/dist/src/custom-field-upload/schema.d.ts +9 -9
  34. package/dist/src/cx-log/index.d.ts +621 -621
  35. package/dist/src/cx-log/schema.d.ts +564 -564
  36. package/dist/src/dashboard/index.d.ts +5 -1
  37. package/dist/src/dashboard/index.d.ts.map +1 -1
  38. package/dist/src/dashboard/schema.d.ts +125 -0
  39. package/dist/src/dashboard/schema.d.ts.map +1 -1
  40. package/dist/src/evaluate-form/schema.d.ts +9 -9
  41. package/dist/src/group/schema.d.ts +9 -9
  42. package/dist/src/index.d.ts +1 -0
  43. package/dist/src/index.d.ts.map +1 -1
  44. package/dist/src/log-form/schema.d.ts +9 -9
  45. package/dist/src/mail/mail-contract.d.ts +21 -21
  46. package/dist/src/mail/room-contract.d.ts +21 -21
  47. package/dist/src/mail/schemas/room.schema.d.ts +15 -15
  48. package/dist/src/messenger/index.d.ts +1226 -1096
  49. package/dist/src/messenger/index.d.ts.map +1 -1
  50. package/dist/src/messenger/validation.d.ts +108 -1
  51. package/dist/src/messenger/validation.d.ts.map +1 -1
  52. package/dist/src/tag/index.d.ts +45 -45
  53. package/dist/src/tag/schema.d.ts +9 -9
  54. package/dist/src/tag-group/schema.d.ts +9 -9
  55. package/dist/src/telephony-agent-presence-status/index.d.ts +93 -93
  56. package/dist/src/telephony-agent-presence-status/schema.d.ts +33 -33
  57. package/dist/src/telephony-cdr/schema.d.ts +9 -9
  58. package/dist/src/telephony-live-queue-call/schema.d.ts +9 -9
  59. package/dist/src/telephony-queue-call-count/schema.d.ts +9 -9
  60. package/dist/src/tenant/schema.d.ts +9 -9
  61. package/dist/src/ticket/index.d.ts +570 -570
  62. package/dist/src/ticket/schema.d.ts +135 -135
  63. package/dist/src/upload/schema.d.ts +9 -9
  64. package/dist/src/user-presence-status-log/index.d.ts +36 -36
  65. package/dist/src/user-presence-status-log/schema.d.ts +39 -39
  66. package/dist/src/widget/index.d.ts +78 -78
  67. package/dist/src/widget/schema.d.ts +9 -9
  68. package/dist/src/wrap-up-form/index.d.ts +96 -96
  69. package/dist/src/wrap-up-form/schema.d.ts +24 -24
  70. package/package.json +4 -10
  71. package/dist/src/app/index.d.ts +0 -17
  72. package/dist/src/app/index.d.ts.map +0 -1
  73. package/dist/src/mail/mail-server.d.ts +0 -216
  74. package/dist/src/mail/mail-server.d.ts.map +0 -1
  75. package/dist/src/platform-contact/schema.d.ts +0 -30
  76. package/dist/src/platform-contact/schema.d.ts.map +0 -1
@@ -353,9 +353,9 @@ export declare const CommentSchema: z.ZodObject<{
353
353
  mentions: z.ZodArray<z.ZodString, "many">;
354
354
  ticket: z.ZodObject<{
355
355
  id: z.ZodString;
356
- createdAt: z.ZodDate;
357
- updatedAt: z.ZodDate;
358
- deletedAt: z.ZodNullable<z.ZodDate>;
356
+ createdAt: z.ZodString;
357
+ updatedAt: z.ZodString;
358
+ deletedAt: z.ZodNullable<z.ZodString>;
359
359
  title: z.ZodString;
360
360
  description: z.ZodNullable<z.ZodString>;
361
361
  type: z.ZodString;
@@ -369,18 +369,18 @@ export declare const CommentSchema: z.ZodObject<{
369
369
  ticketNumber: z.ZodOptional<z.ZodNumber>;
370
370
  customFields: z.ZodArray<z.ZodObject<{
371
371
  id: z.ZodString;
372
- createdAt: z.ZodDate;
373
- updatedAt: z.ZodDate;
374
- deletedAt: z.ZodNullable<z.ZodDate>;
372
+ createdAt: z.ZodString;
373
+ updatedAt: z.ZodString;
374
+ deletedAt: z.ZodNullable<z.ZodString>;
375
375
  textValue: z.ZodNullable<z.ZodString>;
376
376
  booleanValue: z.ZodNullable<z.ZodBoolean>;
377
377
  numberValue: z.ZodNullable<z.ZodNumber>;
378
378
  dateValue: z.ZodNullable<z.ZodDate>;
379
379
  attribute: z.ZodObject<Omit<{
380
380
  id: z.ZodString;
381
- createdAt: z.ZodDate;
382
- updatedAt: z.ZodDate;
383
- deletedAt: z.ZodNullable<z.ZodDate>;
381
+ createdAt: z.ZodString;
382
+ updatedAt: z.ZodString;
383
+ deletedAt: z.ZodNullable<z.ZodString>;
384
384
  systemName: z.ZodString;
385
385
  displayName: z.ZodString;
386
386
  type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
@@ -410,23 +410,23 @@ export declare const CommentSchema: z.ZodObject<{
410
410
  }>, "many">;
411
411
  group: z.ZodObject<{
412
412
  id: z.ZodString;
413
- createdAt: z.ZodDate;
414
- updatedAt: z.ZodDate;
415
- deletedAt: z.ZodNullable<z.ZodDate>;
413
+ createdAt: z.ZodString;
414
+ updatedAt: z.ZodString;
415
+ deletedAt: z.ZodNullable<z.ZodString>;
416
416
  systemName: z.ZodString;
417
417
  displayName: z.ZodString;
418
418
  }, "strip", z.ZodTypeAny, {
419
419
  id: string;
420
- createdAt: Date;
421
- updatedAt: Date;
422
- deletedAt: Date | null;
420
+ createdAt: string;
421
+ updatedAt: string;
422
+ deletedAt: string | null;
423
423
  systemName: string;
424
424
  displayName: string;
425
425
  }, {
426
426
  id: string;
427
- createdAt: Date;
428
- updatedAt: Date;
429
- deletedAt: Date | null;
427
+ createdAt: string;
428
+ updatedAt: string;
429
+ deletedAt: string | null;
430
430
  systemName: string;
431
431
  displayName: string;
432
432
  }>;
@@ -434,9 +434,9 @@ export declare const CommentSchema: z.ZodObject<{
434
434
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
435
435
  id: string;
436
436
  position: number;
437
- createdAt: Date;
438
- updatedAt: Date;
439
- deletedAt: Date | null;
437
+ createdAt: string;
438
+ updatedAt: string;
439
+ deletedAt: string | null;
440
440
  isDefault: boolean;
441
441
  systemName: string;
442
442
  displayName: string;
@@ -447,9 +447,9 @@ export declare const CommentSchema: z.ZodObject<{
447
447
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
448
448
  id: string;
449
449
  position: number;
450
- createdAt: Date;
451
- updatedAt: Date;
452
- deletedAt: Date | null;
450
+ createdAt: string;
451
+ updatedAt: string;
452
+ deletedAt: string | null;
453
453
  isDefault: boolean;
454
454
  systemName: string;
455
455
  displayName: string;
@@ -465,27 +465,27 @@ export declare const CommentSchema: z.ZodObject<{
465
465
  customFieldId: z.ZodString;
466
466
  upload: z.ZodObject<{
467
467
  id: z.ZodString;
468
- createdAt: z.ZodDate;
469
- updatedAt: z.ZodDate;
470
- deletedAt: z.ZodNullable<z.ZodDate>;
468
+ createdAt: z.ZodString;
469
+ updatedAt: z.ZodString;
470
+ deletedAt: z.ZodNullable<z.ZodString>;
471
471
  bucketName: z.ZodString;
472
472
  fileName: z.ZodString;
473
473
  fileSize: z.ZodNumber;
474
474
  fileKey: z.ZodString;
475
475
  }, "strip", z.ZodTypeAny, {
476
476
  id: string;
477
- createdAt: Date;
478
- updatedAt: Date;
479
- deletedAt: Date | null;
477
+ createdAt: string;
478
+ updatedAt: string;
479
+ deletedAt: string | null;
480
480
  fileName: string;
481
481
  fileKey: string;
482
482
  bucketName: string;
483
483
  fileSize: number;
484
484
  }, {
485
485
  id: string;
486
- createdAt: Date;
487
- updatedAt: Date;
488
- deletedAt: Date | null;
486
+ createdAt: string;
487
+ updatedAt: string;
488
+ deletedAt: string | null;
489
489
  fileName: string;
490
490
  fileKey: string;
491
491
  bucketName: string;
@@ -499,9 +499,9 @@ export declare const CommentSchema: z.ZodObject<{
499
499
  customFieldId: string;
500
500
  upload: {
501
501
  id: string;
502
- createdAt: Date;
503
- updatedAt: Date;
504
- deletedAt: Date | null;
502
+ createdAt: string;
503
+ updatedAt: string;
504
+ deletedAt: string | null;
505
505
  fileName: string;
506
506
  fileKey: string;
507
507
  bucketName: string;
@@ -515,9 +515,9 @@ export declare const CommentSchema: z.ZodObject<{
515
515
  customFieldId: string;
516
516
  upload: {
517
517
  id: string;
518
- createdAt: Date;
519
- updatedAt: Date;
520
- deletedAt: Date | null;
518
+ createdAt: string;
519
+ updatedAt: string;
520
+ deletedAt: string | null;
521
521
  fileName: string;
522
522
  fileKey: string;
523
523
  bucketName: string;
@@ -526,16 +526,16 @@ export declare const CommentSchema: z.ZodObject<{
526
526
  }>, "many">;
527
527
  }, "strip", z.ZodTypeAny, {
528
528
  id: string;
529
- createdAt: Date;
530
- updatedAt: Date;
531
- deletedAt: Date | null;
529
+ createdAt: string;
530
+ updatedAt: string;
531
+ deletedAt: string | null;
532
532
  attribute: {
533
533
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
534
534
  id: string;
535
535
  position: number;
536
- createdAt: Date;
537
- updatedAt: Date;
538
- deletedAt: Date | null;
536
+ createdAt: string;
537
+ updatedAt: string;
538
+ deletedAt: string | null;
539
539
  isDefault: boolean;
540
540
  systemName: string;
541
541
  displayName: string;
@@ -555,9 +555,9 @@ export declare const CommentSchema: z.ZodObject<{
555
555
  customFieldId: string;
556
556
  upload: {
557
557
  id: string;
558
- createdAt: Date;
559
- updatedAt: Date;
560
- deletedAt: Date | null;
558
+ createdAt: string;
559
+ updatedAt: string;
560
+ deletedAt: string | null;
561
561
  fileName: string;
562
562
  fileKey: string;
563
563
  bucketName: string;
@@ -566,16 +566,16 @@ export declare const CommentSchema: z.ZodObject<{
566
566
  }[];
567
567
  }, {
568
568
  id: string;
569
- createdAt: Date;
570
- updatedAt: Date;
571
- deletedAt: Date | null;
569
+ createdAt: string;
570
+ updatedAt: string;
571
+ deletedAt: string | null;
572
572
  attribute: {
573
573
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
574
574
  id: string;
575
575
  position: number;
576
- createdAt: Date;
577
- updatedAt: Date;
578
- deletedAt: Date | null;
576
+ createdAt: string;
577
+ updatedAt: string;
578
+ deletedAt: string | null;
579
579
  isDefault: boolean;
580
580
  systemName: string;
581
581
  displayName: string;
@@ -595,9 +595,9 @@ export declare const CommentSchema: z.ZodObject<{
595
595
  customFieldId: string;
596
596
  upload: {
597
597
  id: string;
598
- createdAt: Date;
599
- updatedAt: Date;
600
- deletedAt: Date | null;
598
+ createdAt: string;
599
+ updatedAt: string;
600
+ deletedAt: string | null;
601
601
  fileName: string;
602
602
  fileKey: string;
603
603
  bucketName: string;
@@ -613,21 +613,21 @@ export declare const CommentSchema: z.ZodObject<{
613
613
  title: string;
614
614
  description: string | null;
615
615
  status: string;
616
- createdAt: Date;
617
- updatedAt: Date;
618
- deletedAt: Date | null;
616
+ createdAt: string;
617
+ updatedAt: string;
618
+ deletedAt: string | null;
619
619
  customFields: {
620
620
  id: string;
621
- createdAt: Date;
622
- updatedAt: Date;
623
- deletedAt: Date | null;
621
+ createdAt: string;
622
+ updatedAt: string;
623
+ deletedAt: string | null;
624
624
  attribute: {
625
625
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
626
626
  id: string;
627
627
  position: number;
628
- createdAt: Date;
629
- updatedAt: Date;
630
- deletedAt: Date | null;
628
+ createdAt: string;
629
+ updatedAt: string;
630
+ deletedAt: string | null;
631
631
  isDefault: boolean;
632
632
  systemName: string;
633
633
  displayName: string;
@@ -647,9 +647,9 @@ export declare const CommentSchema: z.ZodObject<{
647
647
  customFieldId: string;
648
648
  upload: {
649
649
  id: string;
650
- createdAt: Date;
651
- updatedAt: Date;
652
- deletedAt: Date | null;
650
+ createdAt: string;
651
+ updatedAt: string;
652
+ deletedAt: string | null;
653
653
  fileName: string;
654
654
  fileKey: string;
655
655
  bucketName: string;
@@ -670,21 +670,21 @@ export declare const CommentSchema: z.ZodObject<{
670
670
  title: string;
671
671
  description: string | null;
672
672
  status: string;
673
- createdAt: Date;
674
- updatedAt: Date;
675
- deletedAt: Date | null;
673
+ createdAt: string;
674
+ updatedAt: string;
675
+ deletedAt: string | null;
676
676
  customFields: {
677
677
  id: string;
678
- createdAt: Date;
679
- updatedAt: Date;
680
- deletedAt: Date | null;
678
+ createdAt: string;
679
+ updatedAt: string;
680
+ deletedAt: string | null;
681
681
  attribute: {
682
682
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
683
683
  id: string;
684
684
  position: number;
685
- createdAt: Date;
686
- updatedAt: Date;
687
- deletedAt: Date | null;
685
+ createdAt: string;
686
+ updatedAt: string;
687
+ deletedAt: string | null;
688
688
  isDefault: boolean;
689
689
  systemName: string;
690
690
  displayName: string;
@@ -704,9 +704,9 @@ export declare const CommentSchema: z.ZodObject<{
704
704
  customFieldId: string;
705
705
  upload: {
706
706
  id: string;
707
- createdAt: Date;
708
- updatedAt: Date;
709
- deletedAt: Date | null;
707
+ createdAt: string;
708
+ updatedAt: string;
709
+ deletedAt: string | null;
710
710
  fileName: string;
711
711
  fileKey: string;
712
712
  bucketName: string;
@@ -1034,21 +1034,21 @@ export declare const CommentSchema: z.ZodObject<{
1034
1034
  title: string;
1035
1035
  description: string | null;
1036
1036
  status: string;
1037
- createdAt: Date;
1038
- updatedAt: Date;
1039
- deletedAt: Date | null;
1037
+ createdAt: string;
1038
+ updatedAt: string;
1039
+ deletedAt: string | null;
1040
1040
  customFields: {
1041
1041
  id: string;
1042
- createdAt: Date;
1043
- updatedAt: Date;
1044
- deletedAt: Date | null;
1042
+ createdAt: string;
1043
+ updatedAt: string;
1044
+ deletedAt: string | null;
1045
1045
  attribute: {
1046
1046
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1047
1047
  id: string;
1048
1048
  position: number;
1049
- createdAt: Date;
1050
- updatedAt: Date;
1051
- deletedAt: Date | null;
1049
+ createdAt: string;
1050
+ updatedAt: string;
1051
+ deletedAt: string | null;
1052
1052
  isDefault: boolean;
1053
1053
  systemName: string;
1054
1054
  displayName: string;
@@ -1068,9 +1068,9 @@ export declare const CommentSchema: z.ZodObject<{
1068
1068
  customFieldId: string;
1069
1069
  upload: {
1070
1070
  id: string;
1071
- createdAt: Date;
1072
- updatedAt: Date;
1073
- deletedAt: Date | null;
1071
+ createdAt: string;
1072
+ updatedAt: string;
1073
+ deletedAt: string | null;
1074
1074
  fileName: string;
1075
1075
  fileKey: string;
1076
1076
  bucketName: string;
@@ -1201,21 +1201,21 @@ export declare const CommentSchema: z.ZodObject<{
1201
1201
  title: string;
1202
1202
  description: string | null;
1203
1203
  status: string;
1204
- createdAt: Date;
1205
- updatedAt: Date;
1206
- deletedAt: Date | null;
1204
+ createdAt: string;
1205
+ updatedAt: string;
1206
+ deletedAt: string | null;
1207
1207
  customFields: {
1208
1208
  id: string;
1209
- createdAt: Date;
1210
- updatedAt: Date;
1211
- deletedAt: Date | null;
1209
+ createdAt: string;
1210
+ updatedAt: string;
1211
+ deletedAt: string | null;
1212
1212
  attribute: {
1213
1213
  type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
1214
1214
  id: string;
1215
1215
  position: number;
1216
- createdAt: Date;
1217
- updatedAt: Date;
1218
- deletedAt: Date | null;
1216
+ createdAt: string;
1217
+ updatedAt: string;
1218
+ deletedAt: string | null;
1219
1219
  isDefault: boolean;
1220
1220
  systemName: string;
1221
1221
  displayName: string;
@@ -1235,9 +1235,9 @@ export declare const CommentSchema: z.ZodObject<{
1235
1235
  customFieldId: string;
1236
1236
  upload: {
1237
1237
  id: string;
1238
- createdAt: Date;
1239
- updatedAt: Date;
1240
- deletedAt: Date | null;
1238
+ createdAt: string;
1239
+ updatedAt: string;
1240
+ deletedAt: string | null;
1241
1241
  fileName: string;
1242
1242
  fileKey: string;
1243
1243
  bucketName: string;