@kl1/contracts 1.1.23 → 1.1.24

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 (41) hide show
  1. package/dist/index.js +6 -30
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +6 -30
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/chat/index.d.ts +22 -4867
  6. package/dist/src/chat/index.d.ts.map +1 -1
  7. package/dist/src/chat/schema.d.ts +4 -764
  8. package/dist/src/chat/schema.d.ts.map +1 -1
  9. package/dist/src/chat/validation.d.ts +4 -974
  10. package/dist/src/chat/validation.d.ts.map +1 -1
  11. package/dist/src/contract.d.ts +44 -9413
  12. package/dist/src/contract.d.ts.map +1 -1
  13. package/dist/src/cx-log/index.d.ts +2 -347
  14. package/dist/src/cx-log/index.d.ts.map +1 -1
  15. package/dist/src/cx-log/schema.d.ts +4 -554
  16. package/dist/src/cx-log/schema.d.ts.map +1 -1
  17. package/dist/src/instagram/index.d.ts +2 -487
  18. package/dist/src/instagram/index.d.ts.map +1 -1
  19. package/dist/src/line/index.d.ts +2 -487
  20. package/dist/src/line/index.d.ts.map +1 -1
  21. package/dist/src/mail/mail-contract.d.ts +6 -1251
  22. package/dist/src/mail/mail-contract.d.ts.map +1 -1
  23. package/dist/src/mail/room-contract.d.ts +6 -1251
  24. package/dist/src/mail/room-contract.d.ts.map +1 -1
  25. package/dist/src/mail/schemas/room-validation.schema.d.ts +2 -417
  26. package/dist/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
  27. package/dist/src/mail/schemas/room.schema.d.ts +2 -347
  28. package/dist/src/mail/schemas/room.schema.d.ts.map +1 -1
  29. package/dist/src/messenger/index.d.ts +2 -487
  30. package/dist/src/messenger/index.d.ts.map +1 -1
  31. package/dist/src/viber/index.d.ts +2 -487
  32. package/dist/src/viber/index.d.ts.map +1 -1
  33. package/dist/src/webchat/index.d.ts +2 -487
  34. package/dist/src/webchat/index.d.ts.map +1 -1
  35. package/dist/src/wrap-up-form/index.d.ts +6 -1000
  36. package/dist/src/wrap-up-form/index.d.ts.map +1 -1
  37. package/dist/src/wrap-up-form/schema.d.ts +2 -207
  38. package/dist/src/wrap-up-form/schema.d.ts.map +1 -1
  39. package/dist/src/wrap-up-form/validation.d.ts +0 -29
  40. package/dist/src/wrap-up-form/validation.d.ts.map +1 -1
  41. package/package.json +1 -1
@@ -2715,7 +2715,8 @@ export declare const RoomSchema: z.ZodObject<{
2715
2715
  deletedAt: z.ZodNullable<z.ZodDate>;
2716
2716
  note: z.ZodNullable<z.ZodString>;
2717
2717
  disposition: z.ZodNullable<z.ZodString>;
2718
- type: z.ZodString;
2718
+ callFrom: z.ZodNullable<z.ZodString>;
2719
+ callTo: z.ZodNullable<z.ZodString>;
2719
2720
  tags: z.ZodArray<z.ZodObject<{
2720
2721
  id: z.ZodString;
2721
2722
  createdAt: z.ZodDate;
@@ -2735,171 +2736,12 @@ export declare const RoomSchema: z.ZodObject<{
2735
2736
  updatedAt: Date;
2736
2737
  deletedAt: Date | null;
2737
2738
  }>, "many">;
2738
- categories: z.ZodArray<z.ZodObject<{
2739
- id: z.ZodString;
2740
- createdAt: z.ZodDate;
2741
- updatedAt: z.ZodDate;
2742
- deletedAt: z.ZodNullable<z.ZodDate>;
2743
- value: z.ZodString;
2744
- level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
2745
- parentId: z.ZodNullable<z.ZodString>;
2746
- childCategoryList: z.ZodArray<z.ZodObject<{
2747
- id: z.ZodString;
2748
- value: z.ZodString;
2749
- level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
2750
- parentId: z.ZodNullable<z.ZodString>;
2751
- childCategoryList: z.ZodArray<z.ZodObject<{
2752
- id: z.ZodString;
2753
- value: z.ZodString;
2754
- level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
2755
- parentId: z.ZodNullable<z.ZodString>;
2756
- childCategoryList: z.ZodArray<z.ZodAny, "many">;
2757
- }, "strip", z.ZodTypeAny, {
2758
- id: string;
2759
- value: string;
2760
- level: 2 | 1 | 3;
2761
- parentId: string | null;
2762
- childCategoryList: any[];
2763
- }, {
2764
- id: string;
2765
- value: string;
2766
- level: 2 | 1 | 3;
2767
- parentId: string | null;
2768
- childCategoryList: any[];
2769
- }>, "many">;
2770
- }, "strip", z.ZodTypeAny, {
2771
- id: string;
2772
- value: string;
2773
- level: 2 | 1 | 3;
2774
- parentId: string | null;
2775
- childCategoryList: {
2776
- id: string;
2777
- value: string;
2778
- level: 2 | 1 | 3;
2779
- parentId: string | null;
2780
- childCategoryList: any[];
2781
- }[];
2782
- }, {
2783
- id: string;
2784
- value: string;
2785
- level: 2 | 1 | 3;
2786
- parentId: string | null;
2787
- childCategoryList: {
2788
- id: string;
2789
- value: string;
2790
- level: 2 | 1 | 3;
2791
- parentId: string | null;
2792
- childCategoryList: any[];
2793
- }[];
2794
- }>, "many">;
2795
- }, "strip", z.ZodTypeAny, {
2796
- id: string;
2797
- value: string;
2798
- createdAt: Date;
2799
- updatedAt: Date;
2800
- deletedAt: Date | null;
2801
- level: 2 | 1 | 3;
2802
- parentId: string | null;
2803
- childCategoryList: {
2804
- id: string;
2805
- value: string;
2806
- level: 2 | 1 | 3;
2807
- parentId: string | null;
2808
- childCategoryList: {
2809
- id: string;
2810
- value: string;
2811
- level: 2 | 1 | 3;
2812
- parentId: string | null;
2813
- childCategoryList: any[];
2814
- }[];
2815
- }[];
2816
- }, {
2817
- id: string;
2818
- value: string;
2819
- createdAt: Date;
2820
- updatedAt: Date;
2821
- deletedAt: Date | null;
2822
- level: 2 | 1 | 3;
2823
- parentId: string | null;
2824
- childCategoryList: {
2825
- id: string;
2826
- value: string;
2827
- level: 2 | 1 | 3;
2828
- parentId: string | null;
2829
- childCategoryList: {
2830
- id: string;
2831
- value: string;
2832
- level: 2 | 1 | 3;
2833
- parentId: string | null;
2834
- childCategoryList: any[];
2835
- }[];
2836
- }[];
2837
- }>, "many">;
2838
- callFrom: z.ZodNullable<z.ZodString>;
2839
- callTo: z.ZodNullable<z.ZodString>;
2840
- customFields: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
2841
- id: z.ZodString;
2842
- createdAt: z.ZodDate;
2843
- updatedAt: z.ZodDate;
2844
- deletedAt: z.ZodNullable<z.ZodDate>;
2845
- textValue: z.ZodNullable<z.ZodString>;
2846
- booleanValue: z.ZodNullable<z.ZodBoolean>;
2847
- numberValue: z.ZodNullable<z.ZodNumber>;
2848
- dateValue: z.ZodNullable<z.ZodDate>;
2849
- entityId: z.ZodString;
2850
- attributeId: z.ZodString;
2851
- }, "strip", z.ZodTypeAny, {
2852
- id: string;
2853
- createdAt: Date;
2854
- updatedAt: Date;
2855
- deletedAt: Date | null;
2856
- entityId: string;
2857
- attributeId: string;
2858
- textValue: string | null;
2859
- booleanValue: boolean | null;
2860
- numberValue: number | null;
2861
- dateValue: Date | null;
2862
- }, {
2863
- id: string;
2864
- createdAt: Date;
2865
- updatedAt: Date;
2866
- deletedAt: Date | null;
2867
- entityId: string;
2868
- attributeId: string;
2869
- textValue: string | null;
2870
- booleanValue: boolean | null;
2871
- numberValue: number | null;
2872
- dateValue: Date | null;
2873
- }>, "many">>>;
2874
2739
  }, "strip", z.ZodTypeAny, {
2875
- type: string;
2876
2740
  id: string;
2877
2741
  disposition: string | null;
2878
2742
  createdAt: Date;
2879
2743
  updatedAt: Date;
2880
2744
  deletedAt: Date | null;
2881
- categories: {
2882
- id: string;
2883
- value: string;
2884
- createdAt: Date;
2885
- updatedAt: Date;
2886
- deletedAt: Date | null;
2887
- level: 2 | 1 | 3;
2888
- parentId: string | null;
2889
- childCategoryList: {
2890
- id: string;
2891
- value: string;
2892
- level: 2 | 1 | 3;
2893
- parentId: string | null;
2894
- childCategoryList: {
2895
- id: string;
2896
- value: string;
2897
- level: 2 | 1 | 3;
2898
- parentId: string | null;
2899
- childCategoryList: any[];
2900
- }[];
2901
- }[];
2902
- }[];
2903
2745
  tags: {
2904
2746
  id: string;
2905
2747
  name: string;
@@ -2910,47 +2752,12 @@ export declare const RoomSchema: z.ZodObject<{
2910
2752
  callFrom: string | null;
2911
2753
  callTo: string | null;
2912
2754
  note: string | null;
2913
- customFields?: {
2914
- id: string;
2915
- createdAt: Date;
2916
- updatedAt: Date;
2917
- deletedAt: Date | null;
2918
- entityId: string;
2919
- attributeId: string;
2920
- textValue: string | null;
2921
- booleanValue: boolean | null;
2922
- numberValue: number | null;
2923
- dateValue: Date | null;
2924
- }[] | null | undefined;
2925
2755
  }, {
2926
- type: string;
2927
2756
  id: string;
2928
2757
  disposition: string | null;
2929
2758
  createdAt: Date;
2930
2759
  updatedAt: Date;
2931
2760
  deletedAt: Date | null;
2932
- categories: {
2933
- id: string;
2934
- value: string;
2935
- createdAt: Date;
2936
- updatedAt: Date;
2937
- deletedAt: Date | null;
2938
- level: 2 | 1 | 3;
2939
- parentId: string | null;
2940
- childCategoryList: {
2941
- id: string;
2942
- value: string;
2943
- level: 2 | 1 | 3;
2944
- parentId: string | null;
2945
- childCategoryList: {
2946
- id: string;
2947
- value: string;
2948
- level: 2 | 1 | 3;
2949
- parentId: string | null;
2950
- childCategoryList: any[];
2951
- }[];
2952
- }[];
2953
- }[];
2954
2761
  tags: {
2955
2762
  id: string;
2956
2763
  name: string;
@@ -2961,18 +2768,6 @@ export declare const RoomSchema: z.ZodObject<{
2961
2768
  callFrom: string | null;
2962
2769
  callTo: string | null;
2963
2770
  note: string | null;
2964
- customFields?: {
2965
- id: string;
2966
- createdAt: Date;
2967
- updatedAt: Date;
2968
- deletedAt: Date | null;
2969
- entityId: string;
2970
- attributeId: string;
2971
- textValue: string | null;
2972
- booleanValue: boolean | null;
2973
- numberValue: number | null;
2974
- dateValue: Date | null;
2975
- }[] | null | undefined;
2976
2771
  }>>;
2977
2772
  }, "strip", z.ZodTypeAny, {
2978
2773
  id: string;
@@ -2991,34 +2786,11 @@ export declare const RoomSchema: z.ZodObject<{
2991
2786
  handledTime: number | null;
2992
2787
  firstResponseTime: number | null;
2993
2788
  wrapUpForm: {
2994
- type: string;
2995
2789
  id: string;
2996
2790
  disposition: string | null;
2997
2791
  createdAt: Date;
2998
2792
  updatedAt: Date;
2999
2793
  deletedAt: Date | null;
3000
- categories: {
3001
- id: string;
3002
- value: string;
3003
- createdAt: Date;
3004
- updatedAt: Date;
3005
- deletedAt: Date | null;
3006
- level: 2 | 1 | 3;
3007
- parentId: string | null;
3008
- childCategoryList: {
3009
- id: string;
3010
- value: string;
3011
- level: 2 | 1 | 3;
3012
- parentId: string | null;
3013
- childCategoryList: {
3014
- id: string;
3015
- value: string;
3016
- level: 2 | 1 | 3;
3017
- parentId: string | null;
3018
- childCategoryList: any[];
3019
- }[];
3020
- }[];
3021
- }[];
3022
2794
  tags: {
3023
2795
  id: string;
3024
2796
  name: string;
@@ -3029,18 +2801,6 @@ export declare const RoomSchema: z.ZodObject<{
3029
2801
  callFrom: string | null;
3030
2802
  callTo: string | null;
3031
2803
  note: string | null;
3032
- customFields?: {
3033
- id: string;
3034
- createdAt: Date;
3035
- updatedAt: Date;
3036
- deletedAt: Date | null;
3037
- entityId: string;
3038
- attributeId: string;
3039
- textValue: string | null;
3040
- booleanValue: boolean | null;
3041
- numberValue: number | null;
3042
- dateValue: Date | null;
3043
- }[] | null | undefined;
3044
2804
  } | null;
3045
2805
  }, {
3046
2806
  id: string;
@@ -3059,34 +2819,11 @@ export declare const RoomSchema: z.ZodObject<{
3059
2819
  handledTime: number | null;
3060
2820
  firstResponseTime: number | null;
3061
2821
  wrapUpForm: {
3062
- type: string;
3063
2822
  id: string;
3064
2823
  disposition: string | null;
3065
2824
  createdAt: Date;
3066
2825
  updatedAt: Date;
3067
2826
  deletedAt: Date | null;
3068
- categories: {
3069
- id: string;
3070
- value: string;
3071
- createdAt: Date;
3072
- updatedAt: Date;
3073
- deletedAt: Date | null;
3074
- level: 2 | 1 | 3;
3075
- parentId: string | null;
3076
- childCategoryList: {
3077
- id: string;
3078
- value: string;
3079
- level: 2 | 1 | 3;
3080
- parentId: string | null;
3081
- childCategoryList: {
3082
- id: string;
3083
- value: string;
3084
- level: 2 | 1 | 3;
3085
- parentId: string | null;
3086
- childCategoryList: any[];
3087
- }[];
3088
- }[];
3089
- }[];
3090
2827
  tags: {
3091
2828
  id: string;
3092
2829
  name: string;
@@ -3097,18 +2834,6 @@ export declare const RoomSchema: z.ZodObject<{
3097
2834
  callFrom: string | null;
3098
2835
  callTo: string | null;
3099
2836
  note: string | null;
3100
- customFields?: {
3101
- id: string;
3102
- createdAt: Date;
3103
- updatedAt: Date;
3104
- deletedAt: Date | null;
3105
- entityId: string;
3106
- attributeId: string;
3107
- textValue: string | null;
3108
- booleanValue: boolean | null;
3109
- numberValue: number | null;
3110
- dateValue: Date | null;
3111
- }[] | null | undefined;
3112
2837
  } | null;
3113
2838
  }>;
3114
2839
  }, "strip", z.ZodTypeAny, {
@@ -3408,34 +3133,11 @@ export declare const RoomSchema: z.ZodObject<{
3408
3133
  handledTime: number | null;
3409
3134
  firstResponseTime: number | null;
3410
3135
  wrapUpForm: {
3411
- type: string;
3412
3136
  id: string;
3413
3137
  disposition: string | null;
3414
3138
  createdAt: Date;
3415
3139
  updatedAt: Date;
3416
3140
  deletedAt: Date | null;
3417
- categories: {
3418
- id: string;
3419
- value: string;
3420
- createdAt: Date;
3421
- updatedAt: Date;
3422
- deletedAt: Date | null;
3423
- level: 2 | 1 | 3;
3424
- parentId: string | null;
3425
- childCategoryList: {
3426
- id: string;
3427
- value: string;
3428
- level: 2 | 1 | 3;
3429
- parentId: string | null;
3430
- childCategoryList: {
3431
- id: string;
3432
- value: string;
3433
- level: 2 | 1 | 3;
3434
- parentId: string | null;
3435
- childCategoryList: any[];
3436
- }[];
3437
- }[];
3438
- }[];
3439
3141
  tags: {
3440
3142
  id: string;
3441
3143
  name: string;
@@ -3446,18 +3148,6 @@ export declare const RoomSchema: z.ZodObject<{
3446
3148
  callFrom: string | null;
3447
3149
  callTo: string | null;
3448
3150
  note: string | null;
3449
- customFields?: {
3450
- id: string;
3451
- createdAt: Date;
3452
- updatedAt: Date;
3453
- deletedAt: Date | null;
3454
- entityId: string;
3455
- attributeId: string;
3456
- textValue: string | null;
3457
- booleanValue: boolean | null;
3458
- numberValue: number | null;
3459
- dateValue: Date | null;
3460
- }[] | null | undefined;
3461
3151
  } | null;
3462
3152
  };
3463
3153
  }, {
@@ -3757,34 +3447,11 @@ export declare const RoomSchema: z.ZodObject<{
3757
3447
  handledTime: number | null;
3758
3448
  firstResponseTime: number | null;
3759
3449
  wrapUpForm: {
3760
- type: string;
3761
3450
  id: string;
3762
3451
  disposition: string | null;
3763
3452
  createdAt: Date;
3764
3453
  updatedAt: Date;
3765
3454
  deletedAt: Date | null;
3766
- categories: {
3767
- id: string;
3768
- value: string;
3769
- createdAt: Date;
3770
- updatedAt: Date;
3771
- deletedAt: Date | null;
3772
- level: 2 | 1 | 3;
3773
- parentId: string | null;
3774
- childCategoryList: {
3775
- id: string;
3776
- value: string;
3777
- level: 2 | 1 | 3;
3778
- parentId: string | null;
3779
- childCategoryList: {
3780
- id: string;
3781
- value: string;
3782
- level: 2 | 1 | 3;
3783
- parentId: string | null;
3784
- childCategoryList: any[];
3785
- }[];
3786
- }[];
3787
- }[];
3788
3455
  tags: {
3789
3456
  id: string;
3790
3457
  name: string;
@@ -3795,18 +3462,6 @@ export declare const RoomSchema: z.ZodObject<{
3795
3462
  callFrom: string | null;
3796
3463
  callTo: string | null;
3797
3464
  note: string | null;
3798
- customFields?: {
3799
- id: string;
3800
- createdAt: Date;
3801
- updatedAt: Date;
3802
- deletedAt: Date | null;
3803
- entityId: string;
3804
- attributeId: string;
3805
- textValue: string | null;
3806
- booleanValue: boolean | null;
3807
- numberValue: number | null;
3808
- dateValue: Date | null;
3809
- }[] | null | undefined;
3810
3465
  } | null;
3811
3466
  };
3812
3467
  }>;
@@ -5576,7 +5231,8 @@ export declare const MessageSchema: z.ZodObject<{
5576
5231
  deletedAt: z.ZodNullable<z.ZodDate>;
5577
5232
  note: z.ZodNullable<z.ZodString>;
5578
5233
  disposition: z.ZodNullable<z.ZodString>;
5579
- type: z.ZodString;
5234
+ callFrom: z.ZodNullable<z.ZodString>;
5235
+ callTo: z.ZodNullable<z.ZodString>;
5580
5236
  tags: z.ZodArray<z.ZodObject<{
5581
5237
  id: z.ZodString;
5582
5238
  createdAt: z.ZodDate;
@@ -5596,171 +5252,12 @@ export declare const MessageSchema: z.ZodObject<{
5596
5252
  updatedAt: Date;
5597
5253
  deletedAt: Date | null;
5598
5254
  }>, "many">;
5599
- categories: z.ZodArray<z.ZodObject<{
5600
- id: z.ZodString;
5601
- createdAt: z.ZodDate;
5602
- updatedAt: z.ZodDate;
5603
- deletedAt: z.ZodNullable<z.ZodDate>;
5604
- value: z.ZodString;
5605
- level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
5606
- parentId: z.ZodNullable<z.ZodString>;
5607
- childCategoryList: z.ZodArray<z.ZodObject<{
5608
- id: z.ZodString;
5609
- value: z.ZodString;
5610
- level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
5611
- parentId: z.ZodNullable<z.ZodString>;
5612
- childCategoryList: z.ZodArray<z.ZodObject<{
5613
- id: z.ZodString;
5614
- value: z.ZodString;
5615
- level: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>;
5616
- parentId: z.ZodNullable<z.ZodString>;
5617
- childCategoryList: z.ZodArray<z.ZodAny, "many">;
5618
- }, "strip", z.ZodTypeAny, {
5619
- id: string;
5620
- value: string;
5621
- level: 2 | 1 | 3;
5622
- parentId: string | null;
5623
- childCategoryList: any[];
5624
- }, {
5625
- id: string;
5626
- value: string;
5627
- level: 2 | 1 | 3;
5628
- parentId: string | null;
5629
- childCategoryList: any[];
5630
- }>, "many">;
5631
- }, "strip", z.ZodTypeAny, {
5632
- id: string;
5633
- value: string;
5634
- level: 2 | 1 | 3;
5635
- parentId: string | null;
5636
- childCategoryList: {
5637
- id: string;
5638
- value: string;
5639
- level: 2 | 1 | 3;
5640
- parentId: string | null;
5641
- childCategoryList: any[];
5642
- }[];
5643
- }, {
5644
- id: string;
5645
- value: string;
5646
- level: 2 | 1 | 3;
5647
- parentId: string | null;
5648
- childCategoryList: {
5649
- id: string;
5650
- value: string;
5651
- level: 2 | 1 | 3;
5652
- parentId: string | null;
5653
- childCategoryList: any[];
5654
- }[];
5655
- }>, "many">;
5656
- }, "strip", z.ZodTypeAny, {
5657
- id: string;
5658
- value: string;
5659
- createdAt: Date;
5660
- updatedAt: Date;
5661
- deletedAt: Date | null;
5662
- level: 2 | 1 | 3;
5663
- parentId: string | null;
5664
- childCategoryList: {
5665
- id: string;
5666
- value: string;
5667
- level: 2 | 1 | 3;
5668
- parentId: string | null;
5669
- childCategoryList: {
5670
- id: string;
5671
- value: string;
5672
- level: 2 | 1 | 3;
5673
- parentId: string | null;
5674
- childCategoryList: any[];
5675
- }[];
5676
- }[];
5677
- }, {
5678
- id: string;
5679
- value: string;
5680
- createdAt: Date;
5681
- updatedAt: Date;
5682
- deletedAt: Date | null;
5683
- level: 2 | 1 | 3;
5684
- parentId: string | null;
5685
- childCategoryList: {
5686
- id: string;
5687
- value: string;
5688
- level: 2 | 1 | 3;
5689
- parentId: string | null;
5690
- childCategoryList: {
5691
- id: string;
5692
- value: string;
5693
- level: 2 | 1 | 3;
5694
- parentId: string | null;
5695
- childCategoryList: any[];
5696
- }[];
5697
- }[];
5698
- }>, "many">;
5699
- callFrom: z.ZodNullable<z.ZodString>;
5700
- callTo: z.ZodNullable<z.ZodString>;
5701
- customFields: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
5702
- id: z.ZodString;
5703
- createdAt: z.ZodDate;
5704
- updatedAt: z.ZodDate;
5705
- deletedAt: z.ZodNullable<z.ZodDate>;
5706
- textValue: z.ZodNullable<z.ZodString>;
5707
- booleanValue: z.ZodNullable<z.ZodBoolean>;
5708
- numberValue: z.ZodNullable<z.ZodNumber>;
5709
- dateValue: z.ZodNullable<z.ZodDate>;
5710
- entityId: z.ZodString;
5711
- attributeId: z.ZodString;
5712
- }, "strip", z.ZodTypeAny, {
5713
- id: string;
5714
- createdAt: Date;
5715
- updatedAt: Date;
5716
- deletedAt: Date | null;
5717
- entityId: string;
5718
- attributeId: string;
5719
- textValue: string | null;
5720
- booleanValue: boolean | null;
5721
- numberValue: number | null;
5722
- dateValue: Date | null;
5723
- }, {
5724
- id: string;
5725
- createdAt: Date;
5726
- updatedAt: Date;
5727
- deletedAt: Date | null;
5728
- entityId: string;
5729
- attributeId: string;
5730
- textValue: string | null;
5731
- booleanValue: boolean | null;
5732
- numberValue: number | null;
5733
- dateValue: Date | null;
5734
- }>, "many">>>;
5735
5255
  }, "strip", z.ZodTypeAny, {
5736
- type: string;
5737
5256
  id: string;
5738
5257
  disposition: string | null;
5739
5258
  createdAt: Date;
5740
5259
  updatedAt: Date;
5741
5260
  deletedAt: Date | null;
5742
- categories: {
5743
- id: string;
5744
- value: string;
5745
- createdAt: Date;
5746
- updatedAt: Date;
5747
- deletedAt: Date | null;
5748
- level: 2 | 1 | 3;
5749
- parentId: string | null;
5750
- childCategoryList: {
5751
- id: string;
5752
- value: string;
5753
- level: 2 | 1 | 3;
5754
- parentId: string | null;
5755
- childCategoryList: {
5756
- id: string;
5757
- value: string;
5758
- level: 2 | 1 | 3;
5759
- parentId: string | null;
5760
- childCategoryList: any[];
5761
- }[];
5762
- }[];
5763
- }[];
5764
5261
  tags: {
5765
5262
  id: string;
5766
5263
  name: string;
@@ -5771,47 +5268,12 @@ export declare const MessageSchema: z.ZodObject<{
5771
5268
  callFrom: string | null;
5772
5269
  callTo: string | null;
5773
5270
  note: string | null;
5774
- customFields?: {
5775
- id: string;
5776
- createdAt: Date;
5777
- updatedAt: Date;
5778
- deletedAt: Date | null;
5779
- entityId: string;
5780
- attributeId: string;
5781
- textValue: string | null;
5782
- booleanValue: boolean | null;
5783
- numberValue: number | null;
5784
- dateValue: Date | null;
5785
- }[] | null | undefined;
5786
5271
  }, {
5787
- type: string;
5788
5272
  id: string;
5789
5273
  disposition: string | null;
5790
5274
  createdAt: Date;
5791
5275
  updatedAt: Date;
5792
5276
  deletedAt: Date | null;
5793
- categories: {
5794
- id: string;
5795
- value: string;
5796
- createdAt: Date;
5797
- updatedAt: Date;
5798
- deletedAt: Date | null;
5799
- level: 2 | 1 | 3;
5800
- parentId: string | null;
5801
- childCategoryList: {
5802
- id: string;
5803
- value: string;
5804
- level: 2 | 1 | 3;
5805
- parentId: string | null;
5806
- childCategoryList: {
5807
- id: string;
5808
- value: string;
5809
- level: 2 | 1 | 3;
5810
- parentId: string | null;
5811
- childCategoryList: any[];
5812
- }[];
5813
- }[];
5814
- }[];
5815
5277
  tags: {
5816
5278
  id: string;
5817
5279
  name: string;
@@ -5822,18 +5284,6 @@ export declare const MessageSchema: z.ZodObject<{
5822
5284
  callFrom: string | null;
5823
5285
  callTo: string | null;
5824
5286
  note: string | null;
5825
- customFields?: {
5826
- id: string;
5827
- createdAt: Date;
5828
- updatedAt: Date;
5829
- deletedAt: Date | null;
5830
- entityId: string;
5831
- attributeId: string;
5832
- textValue: string | null;
5833
- booleanValue: boolean | null;
5834
- numberValue: number | null;
5835
- dateValue: Date | null;
5836
- }[] | null | undefined;
5837
5287
  }>>;
5838
5288
  }, "strip", z.ZodTypeAny, {
5839
5289
  id: string;
@@ -5852,34 +5302,11 @@ export declare const MessageSchema: z.ZodObject<{
5852
5302
  handledTime: number | null;
5853
5303
  firstResponseTime: number | null;
5854
5304
  wrapUpForm: {
5855
- type: string;
5856
5305
  id: string;
5857
5306
  disposition: string | null;
5858
5307
  createdAt: Date;
5859
5308
  updatedAt: Date;
5860
5309
  deletedAt: Date | null;
5861
- categories: {
5862
- id: string;
5863
- value: string;
5864
- createdAt: Date;
5865
- updatedAt: Date;
5866
- deletedAt: Date | null;
5867
- level: 2 | 1 | 3;
5868
- parentId: string | null;
5869
- childCategoryList: {
5870
- id: string;
5871
- value: string;
5872
- level: 2 | 1 | 3;
5873
- parentId: string | null;
5874
- childCategoryList: {
5875
- id: string;
5876
- value: string;
5877
- level: 2 | 1 | 3;
5878
- parentId: string | null;
5879
- childCategoryList: any[];
5880
- }[];
5881
- }[];
5882
- }[];
5883
5310
  tags: {
5884
5311
  id: string;
5885
5312
  name: string;
@@ -5890,18 +5317,6 @@ export declare const MessageSchema: z.ZodObject<{
5890
5317
  callFrom: string | null;
5891
5318
  callTo: string | null;
5892
5319
  note: string | null;
5893
- customFields?: {
5894
- id: string;
5895
- createdAt: Date;
5896
- updatedAt: Date;
5897
- deletedAt: Date | null;
5898
- entityId: string;
5899
- attributeId: string;
5900
- textValue: string | null;
5901
- booleanValue: boolean | null;
5902
- numberValue: number | null;
5903
- dateValue: Date | null;
5904
- }[] | null | undefined;
5905
5320
  } | null;
5906
5321
  }, {
5907
5322
  id: string;
@@ -5920,34 +5335,11 @@ export declare const MessageSchema: z.ZodObject<{
5920
5335
  handledTime: number | null;
5921
5336
  firstResponseTime: number | null;
5922
5337
  wrapUpForm: {
5923
- type: string;
5924
5338
  id: string;
5925
5339
  disposition: string | null;
5926
5340
  createdAt: Date;
5927
5341
  updatedAt: Date;
5928
5342
  deletedAt: Date | null;
5929
- categories: {
5930
- id: string;
5931
- value: string;
5932
- createdAt: Date;
5933
- updatedAt: Date;
5934
- deletedAt: Date | null;
5935
- level: 2 | 1 | 3;
5936
- parentId: string | null;
5937
- childCategoryList: {
5938
- id: string;
5939
- value: string;
5940
- level: 2 | 1 | 3;
5941
- parentId: string | null;
5942
- childCategoryList: {
5943
- id: string;
5944
- value: string;
5945
- level: 2 | 1 | 3;
5946
- parentId: string | null;
5947
- childCategoryList: any[];
5948
- }[];
5949
- }[];
5950
- }[];
5951
5343
  tags: {
5952
5344
  id: string;
5953
5345
  name: string;
@@ -5958,18 +5350,6 @@ export declare const MessageSchema: z.ZodObject<{
5958
5350
  callFrom: string | null;
5959
5351
  callTo: string | null;
5960
5352
  note: string | null;
5961
- customFields?: {
5962
- id: string;
5963
- createdAt: Date;
5964
- updatedAt: Date;
5965
- deletedAt: Date | null;
5966
- entityId: string;
5967
- attributeId: string;
5968
- textValue: string | null;
5969
- booleanValue: boolean | null;
5970
- numberValue: number | null;
5971
- dateValue: Date | null;
5972
- }[] | null | undefined;
5973
5353
  } | null;
5974
5354
  }>;
5975
5355
  }, "strip", z.ZodTypeAny, {
@@ -6269,34 +5649,11 @@ export declare const MessageSchema: z.ZodObject<{
6269
5649
  handledTime: number | null;
6270
5650
  firstResponseTime: number | null;
6271
5651
  wrapUpForm: {
6272
- type: string;
6273
5652
  id: string;
6274
5653
  disposition: string | null;
6275
5654
  createdAt: Date;
6276
5655
  updatedAt: Date;
6277
5656
  deletedAt: Date | null;
6278
- categories: {
6279
- id: string;
6280
- value: string;
6281
- createdAt: Date;
6282
- updatedAt: Date;
6283
- deletedAt: Date | null;
6284
- level: 2 | 1 | 3;
6285
- parentId: string | null;
6286
- childCategoryList: {
6287
- id: string;
6288
- value: string;
6289
- level: 2 | 1 | 3;
6290
- parentId: string | null;
6291
- childCategoryList: {
6292
- id: string;
6293
- value: string;
6294
- level: 2 | 1 | 3;
6295
- parentId: string | null;
6296
- childCategoryList: any[];
6297
- }[];
6298
- }[];
6299
- }[];
6300
5657
  tags: {
6301
5658
  id: string;
6302
5659
  name: string;
@@ -6307,18 +5664,6 @@ export declare const MessageSchema: z.ZodObject<{
6307
5664
  callFrom: string | null;
6308
5665
  callTo: string | null;
6309
5666
  note: string | null;
6310
- customFields?: {
6311
- id: string;
6312
- createdAt: Date;
6313
- updatedAt: Date;
6314
- deletedAt: Date | null;
6315
- entityId: string;
6316
- attributeId: string;
6317
- textValue: string | null;
6318
- booleanValue: boolean | null;
6319
- numberValue: number | null;
6320
- dateValue: Date | null;
6321
- }[] | null | undefined;
6322
5667
  } | null;
6323
5668
  };
6324
5669
  }, {
@@ -6618,34 +5963,11 @@ export declare const MessageSchema: z.ZodObject<{
6618
5963
  handledTime: number | null;
6619
5964
  firstResponseTime: number | null;
6620
5965
  wrapUpForm: {
6621
- type: string;
6622
5966
  id: string;
6623
5967
  disposition: string | null;
6624
5968
  createdAt: Date;
6625
5969
  updatedAt: Date;
6626
5970
  deletedAt: Date | null;
6627
- categories: {
6628
- id: string;
6629
- value: string;
6630
- createdAt: Date;
6631
- updatedAt: Date;
6632
- deletedAt: Date | null;
6633
- level: 2 | 1 | 3;
6634
- parentId: string | null;
6635
- childCategoryList: {
6636
- id: string;
6637
- value: string;
6638
- level: 2 | 1 | 3;
6639
- parentId: string | null;
6640
- childCategoryList: {
6641
- id: string;
6642
- value: string;
6643
- level: 2 | 1 | 3;
6644
- parentId: string | null;
6645
- childCategoryList: any[];
6646
- }[];
6647
- }[];
6648
- }[];
6649
5971
  tags: {
6650
5972
  id: string;
6651
5973
  name: string;
@@ -6656,18 +5978,6 @@ export declare const MessageSchema: z.ZodObject<{
6656
5978
  callFrom: string | null;
6657
5979
  callTo: string | null;
6658
5980
  note: string | null;
6659
- customFields?: {
6660
- id: string;
6661
- createdAt: Date;
6662
- updatedAt: Date;
6663
- deletedAt: Date | null;
6664
- entityId: string;
6665
- attributeId: string;
6666
- textValue: string | null;
6667
- booleanValue: boolean | null;
6668
- numberValue: number | null;
6669
- dateValue: Date | null;
6670
- }[] | null | undefined;
6671
5981
  } | null;
6672
5982
  };
6673
5983
  }>;
@@ -8719,34 +8029,11 @@ export declare const MessageSchema: z.ZodObject<{
8719
8029
  handledTime: number | null;
8720
8030
  firstResponseTime: number | null;
8721
8031
  wrapUpForm: {
8722
- type: string;
8723
8032
  id: string;
8724
8033
  disposition: string | null;
8725
8034
  createdAt: Date;
8726
8035
  updatedAt: Date;
8727
8036
  deletedAt: Date | null;
8728
- categories: {
8729
- id: string;
8730
- value: string;
8731
- createdAt: Date;
8732
- updatedAt: Date;
8733
- deletedAt: Date | null;
8734
- level: 2 | 1 | 3;
8735
- parentId: string | null;
8736
- childCategoryList: {
8737
- id: string;
8738
- value: string;
8739
- level: 2 | 1 | 3;
8740
- parentId: string | null;
8741
- childCategoryList: {
8742
- id: string;
8743
- value: string;
8744
- level: 2 | 1 | 3;
8745
- parentId: string | null;
8746
- childCategoryList: any[];
8747
- }[];
8748
- }[];
8749
- }[];
8750
8037
  tags: {
8751
8038
  id: string;
8752
8039
  name: string;
@@ -8757,18 +8044,6 @@ export declare const MessageSchema: z.ZodObject<{
8757
8044
  callFrom: string | null;
8758
8045
  callTo: string | null;
8759
8046
  note: string | null;
8760
- customFields?: {
8761
- id: string;
8762
- createdAt: Date;
8763
- updatedAt: Date;
8764
- deletedAt: Date | null;
8765
- entityId: string;
8766
- attributeId: string;
8767
- textValue: string | null;
8768
- booleanValue: boolean | null;
8769
- numberValue: number | null;
8770
- dateValue: Date | null;
8771
- }[] | null | undefined;
8772
8047
  } | null;
8773
8048
  };
8774
8049
  };
@@ -9394,34 +8669,11 @@ export declare const MessageSchema: z.ZodObject<{
9394
8669
  handledTime: number | null;
9395
8670
  firstResponseTime: number | null;
9396
8671
  wrapUpForm: {
9397
- type: string;
9398
8672
  id: string;
9399
8673
  disposition: string | null;
9400
8674
  createdAt: Date;
9401
8675
  updatedAt: Date;
9402
8676
  deletedAt: Date | null;
9403
- categories: {
9404
- id: string;
9405
- value: string;
9406
- createdAt: Date;
9407
- updatedAt: Date;
9408
- deletedAt: Date | null;
9409
- level: 2 | 1 | 3;
9410
- parentId: string | null;
9411
- childCategoryList: {
9412
- id: string;
9413
- value: string;
9414
- level: 2 | 1 | 3;
9415
- parentId: string | null;
9416
- childCategoryList: {
9417
- id: string;
9418
- value: string;
9419
- level: 2 | 1 | 3;
9420
- parentId: string | null;
9421
- childCategoryList: any[];
9422
- }[];
9423
- }[];
9424
- }[];
9425
8677
  tags: {
9426
8678
  id: string;
9427
8679
  name: string;
@@ -9432,18 +8684,6 @@ export declare const MessageSchema: z.ZodObject<{
9432
8684
  callFrom: string | null;
9433
8685
  callTo: string | null;
9434
8686
  note: string | null;
9435
- customFields?: {
9436
- id: string;
9437
- createdAt: Date;
9438
- updatedAt: Date;
9439
- deletedAt: Date | null;
9440
- entityId: string;
9441
- attributeId: string;
9442
- textValue: string | null;
9443
- booleanValue: boolean | null;
9444
- numberValue: number | null;
9445
- dateValue: Date | null;
9446
- }[] | null | undefined;
9447
8687
  } | null;
9448
8688
  };
9449
8689
  };