@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.
- package/dist/index.js +1556 -1493
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1555 -1493
- package/dist/index.mjs.map +1 -1
- package/dist/src/attribute/index.d.ts +108 -108
- package/dist/src/attribute/schema.d.ts +24 -24
- package/dist/src/attribute-option/schema.d.ts +9 -9
- package/dist/src/base-contract.d.ts +9 -9
- package/dist/src/call-log/schema.d.ts +9 -9
- package/dist/src/category/index.d.ts +42 -42
- package/dist/src/category/schema.d.ts +9 -9
- package/dist/src/channel/index.d.ts +218 -32
- package/dist/src/channel/index.d.ts.map +1 -1
- package/dist/src/channel/schema.d.ts +9 -9
- package/dist/src/chat/index.d.ts +5335 -5335
- package/dist/src/chat/schema.d.ts +877 -877
- package/dist/src/chat/validation.d.ts +1009 -1009
- package/dist/src/comment/index.d.ts +363 -363
- package/dist/src/comment/schema.d.ts +105 -105
- package/dist/src/company/index.d.ts +296 -293
- package/dist/src/company/index.d.ts.map +1 -1
- package/dist/src/company/schema.d.ts +191 -54
- package/dist/src/company/schema.d.ts.map +1 -1
- package/dist/src/company/validation.d.ts +162 -162
- package/dist/src/contact/index.d.ts +1213 -1213
- package/dist/src/contact/schema.d.ts +201 -201
- package/dist/src/contact/validation.d.ts +997 -997
- package/dist/src/contact-email/schema.d.ts +9 -9
- package/dist/src/contact-phone/schema.d.ts +9 -9
- package/dist/src/contract.d.ts +9543 -9231
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/custom-field/schema.d.ts +9 -9
- package/dist/src/custom-field-upload/schema.d.ts +9 -9
- package/dist/src/cx-log/index.d.ts +621 -621
- package/dist/src/cx-log/schema.d.ts +564 -564
- package/dist/src/dashboard/index.d.ts +5 -1
- package/dist/src/dashboard/index.d.ts.map +1 -1
- package/dist/src/dashboard/schema.d.ts +125 -0
- package/dist/src/dashboard/schema.d.ts.map +1 -1
- package/dist/src/evaluate-form/schema.d.ts +9 -9
- package/dist/src/group/schema.d.ts +9 -9
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/log-form/schema.d.ts +9 -9
- package/dist/src/mail/mail-contract.d.ts +21 -21
- package/dist/src/mail/room-contract.d.ts +21 -21
- package/dist/src/mail/schemas/room.schema.d.ts +15 -15
- package/dist/src/messenger/index.d.ts +1226 -1096
- package/dist/src/messenger/index.d.ts.map +1 -1
- package/dist/src/messenger/validation.d.ts +108 -1
- package/dist/src/messenger/validation.d.ts.map +1 -1
- package/dist/src/tag/index.d.ts +45 -45
- package/dist/src/tag/schema.d.ts +9 -9
- package/dist/src/tag-group/schema.d.ts +9 -9
- package/dist/src/telephony-agent-presence-status/index.d.ts +93 -93
- package/dist/src/telephony-agent-presence-status/schema.d.ts +33 -33
- package/dist/src/telephony-cdr/schema.d.ts +9 -9
- package/dist/src/telephony-live-queue-call/schema.d.ts +9 -9
- package/dist/src/telephony-queue-call-count/schema.d.ts +9 -9
- package/dist/src/tenant/schema.d.ts +9 -9
- package/dist/src/ticket/index.d.ts +570 -570
- package/dist/src/ticket/schema.d.ts +135 -135
- package/dist/src/upload/schema.d.ts +9 -9
- package/dist/src/user-presence-status-log/index.d.ts +36 -36
- package/dist/src/user-presence-status-log/schema.d.ts +39 -39
- package/dist/src/widget/index.d.ts +78 -78
- package/dist/src/widget/schema.d.ts +9 -9
- package/dist/src/wrap-up-form/index.d.ts +96 -96
- package/dist/src/wrap-up-form/schema.d.ts +24 -24
- package/package.json +4 -10
- package/dist/src/app/index.d.ts +0 -17
- package/dist/src/app/index.d.ts.map +0 -1
- package/dist/src/mail/mail-server.d.ts +0 -216
- package/dist/src/mail/mail-server.d.ts.map +0 -1
- package/dist/src/platform-contact/schema.d.ts +0 -30
- 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.
|
357
|
-
updatedAt: z.
|
358
|
-
deletedAt: z.ZodNullable<z.
|
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.
|
373
|
-
updatedAt: z.
|
374
|
-
deletedAt: z.ZodNullable<z.
|
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.
|
382
|
-
updatedAt: z.
|
383
|
-
deletedAt: z.ZodNullable<z.
|
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.
|
414
|
-
updatedAt: z.
|
415
|
-
deletedAt: z.ZodNullable<z.
|
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:
|
421
|
-
updatedAt:
|
422
|
-
deletedAt:
|
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:
|
428
|
-
updatedAt:
|
429
|
-
deletedAt:
|
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:
|
438
|
-
updatedAt:
|
439
|
-
deletedAt:
|
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:
|
451
|
-
updatedAt:
|
452
|
-
deletedAt:
|
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.
|
469
|
-
updatedAt: z.
|
470
|
-
deletedAt: z.ZodNullable<z.
|
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:
|
478
|
-
updatedAt:
|
479
|
-
deletedAt:
|
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:
|
487
|
-
updatedAt:
|
488
|
-
deletedAt:
|
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:
|
503
|
-
updatedAt:
|
504
|
-
deletedAt:
|
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:
|
519
|
-
updatedAt:
|
520
|
-
deletedAt:
|
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:
|
530
|
-
updatedAt:
|
531
|
-
deletedAt:
|
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:
|
537
|
-
updatedAt:
|
538
|
-
deletedAt:
|
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:
|
559
|
-
updatedAt:
|
560
|
-
deletedAt:
|
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:
|
570
|
-
updatedAt:
|
571
|
-
deletedAt:
|
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:
|
577
|
-
updatedAt:
|
578
|
-
deletedAt:
|
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:
|
599
|
-
updatedAt:
|
600
|
-
deletedAt:
|
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:
|
617
|
-
updatedAt:
|
618
|
-
deletedAt:
|
616
|
+
createdAt: string;
|
617
|
+
updatedAt: string;
|
618
|
+
deletedAt: string | null;
|
619
619
|
customFields: {
|
620
620
|
id: string;
|
621
|
-
createdAt:
|
622
|
-
updatedAt:
|
623
|
-
deletedAt:
|
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:
|
629
|
-
updatedAt:
|
630
|
-
deletedAt:
|
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:
|
651
|
-
updatedAt:
|
652
|
-
deletedAt:
|
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:
|
674
|
-
updatedAt:
|
675
|
-
deletedAt:
|
673
|
+
createdAt: string;
|
674
|
+
updatedAt: string;
|
675
|
+
deletedAt: string | null;
|
676
676
|
customFields: {
|
677
677
|
id: string;
|
678
|
-
createdAt:
|
679
|
-
updatedAt:
|
680
|
-
deletedAt:
|
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:
|
686
|
-
updatedAt:
|
687
|
-
deletedAt:
|
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:
|
708
|
-
updatedAt:
|
709
|
-
deletedAt:
|
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:
|
1038
|
-
updatedAt:
|
1039
|
-
deletedAt:
|
1037
|
+
createdAt: string;
|
1038
|
+
updatedAt: string;
|
1039
|
+
deletedAt: string | null;
|
1040
1040
|
customFields: {
|
1041
1041
|
id: string;
|
1042
|
-
createdAt:
|
1043
|
-
updatedAt:
|
1044
|
-
deletedAt:
|
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:
|
1050
|
-
updatedAt:
|
1051
|
-
deletedAt:
|
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:
|
1072
|
-
updatedAt:
|
1073
|
-
deletedAt:
|
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:
|
1205
|
-
updatedAt:
|
1206
|
-
deletedAt:
|
1204
|
+
createdAt: string;
|
1205
|
+
updatedAt: string;
|
1206
|
+
deletedAt: string | null;
|
1207
1207
|
customFields: {
|
1208
1208
|
id: string;
|
1209
|
-
createdAt:
|
1210
|
-
updatedAt:
|
1211
|
-
deletedAt:
|
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:
|
1217
|
-
updatedAt:
|
1218
|
-
deletedAt:
|
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:
|
1239
|
-
updatedAt:
|
1240
|
-
deletedAt:
|
1238
|
+
createdAt: string;
|
1239
|
+
updatedAt: string;
|
1240
|
+
deletedAt: string | null;
|
1241
1241
|
fileName: string;
|
1242
1242
|
fileKey: string;
|
1243
1243
|
bucketName: string;
|