@kl1/contracts 1.1.25-uat → 1.1.27-uat

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/dist/index.js +349 -185
  2. package/dist/index.js.map +1 -1
  3. package/dist/index.mjs +348 -185
  4. package/dist/index.mjs.map +1 -1
  5. package/dist/src/business-calendar/index.d.ts +414 -0
  6. package/dist/src/business-calendar/index.d.ts.map +1 -0
  7. package/dist/src/business-calendar/schema.d.ts +99 -0
  8. package/dist/src/business-calendar/schema.d.ts.map +1 -0
  9. package/dist/src/business-calendar/validation.d.ts +260 -0
  10. package/dist/src/business-calendar/validation.d.ts.map +1 -0
  11. package/dist/src/chat/index.d.ts +4867 -22
  12. package/dist/src/chat/index.d.ts.map +1 -1
  13. package/dist/src/chat/schema.d.ts +764 -4
  14. package/dist/src/chat/schema.d.ts.map +1 -1
  15. package/dist/src/chat/validation.d.ts +984 -14
  16. package/dist/src/chat/validation.d.ts.map +1 -1
  17. package/dist/src/contract.d.ts +9819 -44
  18. package/dist/src/contract.d.ts.map +1 -1
  19. package/dist/src/cx-log/index.d.ts +347 -2
  20. package/dist/src/cx-log/index.d.ts.map +1 -1
  21. package/dist/src/cx-log/schema.d.ts +554 -4
  22. package/dist/src/cx-log/schema.d.ts.map +1 -1
  23. package/dist/src/instagram/index.d.ts +487 -2
  24. package/dist/src/instagram/index.d.ts.map +1 -1
  25. package/dist/src/line/index.d.ts +487 -2
  26. package/dist/src/line/index.d.ts.map +1 -1
  27. package/dist/src/mail/mail-contract.d.ts +1251 -6
  28. package/dist/src/mail/mail-contract.d.ts.map +1 -1
  29. package/dist/src/mail/room-contract.d.ts +1251 -6
  30. package/dist/src/mail/room-contract.d.ts.map +1 -1
  31. package/dist/src/mail/schemas/room-validation.schema.d.ts +417 -2
  32. package/dist/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
  33. package/dist/src/mail/schemas/room.schema.d.ts +347 -2
  34. package/dist/src/mail/schemas/room.schema.d.ts.map +1 -1
  35. package/dist/src/messenger/index.d.ts +487 -2
  36. package/dist/src/messenger/index.d.ts.map +1 -1
  37. package/dist/src/viber/index.d.ts +487 -2
  38. package/dist/src/viber/index.d.ts.map +1 -1
  39. package/dist/src/webchat/index.d.ts +487 -2
  40. package/dist/src/webchat/index.d.ts.map +1 -1
  41. package/dist/src/wrap-up-form/index.d.ts +997 -6
  42. package/dist/src/wrap-up-form/index.d.ts.map +1 -1
  43. package/dist/src/wrap-up-form/schema.d.ts +207 -2
  44. package/dist/src/wrap-up-form/schema.d.ts.map +1 -1
  45. package/dist/src/wrap-up-form/validation.d.ts +26 -0
  46. package/dist/src/wrap-up-form/validation.d.ts.map +1 -1
  47. package/package.json +1 -1
@@ -2715,8 +2715,7 @@ 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
- callFrom: z.ZodNullable<z.ZodString>;
2719
- callTo: z.ZodNullable<z.ZodString>;
2718
+ type: z.ZodString;
2720
2719
  tags: z.ZodArray<z.ZodObject<{
2721
2720
  id: z.ZodString;
2722
2721
  createdAt: z.ZodDate;
@@ -2736,12 +2735,171 @@ export declare const RoomSchema: z.ZodObject<{
2736
2735
  updatedAt: Date;
2737
2736
  deletedAt: Date | null;
2738
2737
  }>, "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.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">>;
2739
2874
  }, "strip", z.ZodTypeAny, {
2875
+ type: string;
2740
2876
  id: string;
2741
2877
  disposition: string | null;
2742
2878
  createdAt: Date;
2743
2879
  updatedAt: Date;
2744
2880
  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
+ }[];
2745
2903
  tags: {
2746
2904
  id: string;
2747
2905
  name: string;
@@ -2752,12 +2910,47 @@ export declare const RoomSchema: z.ZodObject<{
2752
2910
  callFrom: string | null;
2753
2911
  callTo: string | null;
2754
2912
  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
+ }[] | undefined;
2755
2925
  }, {
2926
+ type: string;
2756
2927
  id: string;
2757
2928
  disposition: string | null;
2758
2929
  createdAt: Date;
2759
2930
  updatedAt: Date;
2760
2931
  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
+ }[];
2761
2954
  tags: {
2762
2955
  id: string;
2763
2956
  name: string;
@@ -2768,6 +2961,18 @@ export declare const RoomSchema: z.ZodObject<{
2768
2961
  callFrom: string | null;
2769
2962
  callTo: string | null;
2770
2963
  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
+ }[] | undefined;
2771
2976
  }>>;
2772
2977
  }, "strip", z.ZodTypeAny, {
2773
2978
  id: string;
@@ -2786,11 +2991,34 @@ export declare const RoomSchema: z.ZodObject<{
2786
2991
  handledTime: number | null;
2787
2992
  firstResponseTime: number | null;
2788
2993
  wrapUpForm: {
2994
+ type: string;
2789
2995
  id: string;
2790
2996
  disposition: string | null;
2791
2997
  createdAt: Date;
2792
2998
  updatedAt: Date;
2793
2999
  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
+ }[];
2794
3022
  tags: {
2795
3023
  id: string;
2796
3024
  name: string;
@@ -2801,6 +3029,18 @@ export declare const RoomSchema: z.ZodObject<{
2801
3029
  callFrom: string | null;
2802
3030
  callTo: string | null;
2803
3031
  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
+ }[] | undefined;
2804
3044
  } | null;
2805
3045
  }, {
2806
3046
  id: string;
@@ -2819,11 +3059,34 @@ export declare const RoomSchema: z.ZodObject<{
2819
3059
  handledTime: number | null;
2820
3060
  firstResponseTime: number | null;
2821
3061
  wrapUpForm: {
3062
+ type: string;
2822
3063
  id: string;
2823
3064
  disposition: string | null;
2824
3065
  createdAt: Date;
2825
3066
  updatedAt: Date;
2826
3067
  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
+ }[];
2827
3090
  tags: {
2828
3091
  id: string;
2829
3092
  name: string;
@@ -2834,6 +3097,18 @@ export declare const RoomSchema: z.ZodObject<{
2834
3097
  callFrom: string | null;
2835
3098
  callTo: string | null;
2836
3099
  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
+ }[] | undefined;
2837
3112
  } | null;
2838
3113
  }>;
2839
3114
  }, "strip", z.ZodTypeAny, {
@@ -3133,11 +3408,34 @@ export declare const RoomSchema: z.ZodObject<{
3133
3408
  handledTime: number | null;
3134
3409
  firstResponseTime: number | null;
3135
3410
  wrapUpForm: {
3411
+ type: string;
3136
3412
  id: string;
3137
3413
  disposition: string | null;
3138
3414
  createdAt: Date;
3139
3415
  updatedAt: Date;
3140
3416
  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
+ }[];
3141
3439
  tags: {
3142
3440
  id: string;
3143
3441
  name: string;
@@ -3148,6 +3446,18 @@ export declare const RoomSchema: z.ZodObject<{
3148
3446
  callFrom: string | null;
3149
3447
  callTo: string | null;
3150
3448
  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
+ }[] | undefined;
3151
3461
  } | null;
3152
3462
  };
3153
3463
  }, {
@@ -3447,11 +3757,34 @@ export declare const RoomSchema: z.ZodObject<{
3447
3757
  handledTime: number | null;
3448
3758
  firstResponseTime: number | null;
3449
3759
  wrapUpForm: {
3760
+ type: string;
3450
3761
  id: string;
3451
3762
  disposition: string | null;
3452
3763
  createdAt: Date;
3453
3764
  updatedAt: Date;
3454
3765
  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
+ }[];
3455
3788
  tags: {
3456
3789
  id: string;
3457
3790
  name: string;
@@ -3462,6 +3795,18 @@ export declare const RoomSchema: z.ZodObject<{
3462
3795
  callFrom: string | null;
3463
3796
  callTo: string | null;
3464
3797
  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
+ }[] | undefined;
3465
3810
  } | null;
3466
3811
  };
3467
3812
  }>;
@@ -5231,8 +5576,7 @@ export declare const MessageSchema: z.ZodObject<{
5231
5576
  deletedAt: z.ZodNullable<z.ZodDate>;
5232
5577
  note: z.ZodNullable<z.ZodString>;
5233
5578
  disposition: z.ZodNullable<z.ZodString>;
5234
- callFrom: z.ZodNullable<z.ZodString>;
5235
- callTo: z.ZodNullable<z.ZodString>;
5579
+ type: z.ZodString;
5236
5580
  tags: z.ZodArray<z.ZodObject<{
5237
5581
  id: z.ZodString;
5238
5582
  createdAt: z.ZodDate;
@@ -5252,12 +5596,171 @@ export declare const MessageSchema: z.ZodObject<{
5252
5596
  updatedAt: Date;
5253
5597
  deletedAt: Date | null;
5254
5598
  }>, "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.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">>;
5255
5735
  }, "strip", z.ZodTypeAny, {
5736
+ type: string;
5256
5737
  id: string;
5257
5738
  disposition: string | null;
5258
5739
  createdAt: Date;
5259
5740
  updatedAt: Date;
5260
5741
  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
+ }[];
5261
5764
  tags: {
5262
5765
  id: string;
5263
5766
  name: string;
@@ -5268,12 +5771,47 @@ export declare const MessageSchema: z.ZodObject<{
5268
5771
  callFrom: string | null;
5269
5772
  callTo: string | null;
5270
5773
  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
+ }[] | undefined;
5271
5786
  }, {
5787
+ type: string;
5272
5788
  id: string;
5273
5789
  disposition: string | null;
5274
5790
  createdAt: Date;
5275
5791
  updatedAt: Date;
5276
5792
  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
+ }[];
5277
5815
  tags: {
5278
5816
  id: string;
5279
5817
  name: string;
@@ -5284,6 +5822,18 @@ export declare const MessageSchema: z.ZodObject<{
5284
5822
  callFrom: string | null;
5285
5823
  callTo: string | null;
5286
5824
  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
+ }[] | undefined;
5287
5837
  }>>;
5288
5838
  }, "strip", z.ZodTypeAny, {
5289
5839
  id: string;
@@ -5302,11 +5852,34 @@ export declare const MessageSchema: z.ZodObject<{
5302
5852
  handledTime: number | null;
5303
5853
  firstResponseTime: number | null;
5304
5854
  wrapUpForm: {
5855
+ type: string;
5305
5856
  id: string;
5306
5857
  disposition: string | null;
5307
5858
  createdAt: Date;
5308
5859
  updatedAt: Date;
5309
5860
  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
+ }[];
5310
5883
  tags: {
5311
5884
  id: string;
5312
5885
  name: string;
@@ -5317,6 +5890,18 @@ export declare const MessageSchema: z.ZodObject<{
5317
5890
  callFrom: string | null;
5318
5891
  callTo: string | null;
5319
5892
  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
+ }[] | undefined;
5320
5905
  } | null;
5321
5906
  }, {
5322
5907
  id: string;
@@ -5335,11 +5920,34 @@ export declare const MessageSchema: z.ZodObject<{
5335
5920
  handledTime: number | null;
5336
5921
  firstResponseTime: number | null;
5337
5922
  wrapUpForm: {
5923
+ type: string;
5338
5924
  id: string;
5339
5925
  disposition: string | null;
5340
5926
  createdAt: Date;
5341
5927
  updatedAt: Date;
5342
5928
  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
+ }[];
5343
5951
  tags: {
5344
5952
  id: string;
5345
5953
  name: string;
@@ -5350,6 +5958,18 @@ export declare const MessageSchema: z.ZodObject<{
5350
5958
  callFrom: string | null;
5351
5959
  callTo: string | null;
5352
5960
  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
+ }[] | undefined;
5353
5973
  } | null;
5354
5974
  }>;
5355
5975
  }, "strip", z.ZodTypeAny, {
@@ -5649,11 +6269,34 @@ export declare const MessageSchema: z.ZodObject<{
5649
6269
  handledTime: number | null;
5650
6270
  firstResponseTime: number | null;
5651
6271
  wrapUpForm: {
6272
+ type: string;
5652
6273
  id: string;
5653
6274
  disposition: string | null;
5654
6275
  createdAt: Date;
5655
6276
  updatedAt: Date;
5656
6277
  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
+ }[];
5657
6300
  tags: {
5658
6301
  id: string;
5659
6302
  name: string;
@@ -5664,6 +6307,18 @@ export declare const MessageSchema: z.ZodObject<{
5664
6307
  callFrom: string | null;
5665
6308
  callTo: string | null;
5666
6309
  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
+ }[] | undefined;
5667
6322
  } | null;
5668
6323
  };
5669
6324
  }, {
@@ -5963,11 +6618,34 @@ export declare const MessageSchema: z.ZodObject<{
5963
6618
  handledTime: number | null;
5964
6619
  firstResponseTime: number | null;
5965
6620
  wrapUpForm: {
6621
+ type: string;
5966
6622
  id: string;
5967
6623
  disposition: string | null;
5968
6624
  createdAt: Date;
5969
6625
  updatedAt: Date;
5970
6626
  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
+ }[];
5971
6649
  tags: {
5972
6650
  id: string;
5973
6651
  name: string;
@@ -5978,6 +6656,18 @@ export declare const MessageSchema: z.ZodObject<{
5978
6656
  callFrom: string | null;
5979
6657
  callTo: string | null;
5980
6658
  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
+ }[] | undefined;
5981
6671
  } | null;
5982
6672
  };
5983
6673
  }>;
@@ -8029,11 +8719,34 @@ export declare const MessageSchema: z.ZodObject<{
8029
8719
  handledTime: number | null;
8030
8720
  firstResponseTime: number | null;
8031
8721
  wrapUpForm: {
8722
+ type: string;
8032
8723
  id: string;
8033
8724
  disposition: string | null;
8034
8725
  createdAt: Date;
8035
8726
  updatedAt: Date;
8036
8727
  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
+ }[];
8037
8750
  tags: {
8038
8751
  id: string;
8039
8752
  name: string;
@@ -8044,6 +8757,18 @@ export declare const MessageSchema: z.ZodObject<{
8044
8757
  callFrom: string | null;
8045
8758
  callTo: string | null;
8046
8759
  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
+ }[] | undefined;
8047
8772
  } | null;
8048
8773
  };
8049
8774
  };
@@ -8669,11 +9394,34 @@ export declare const MessageSchema: z.ZodObject<{
8669
9394
  handledTime: number | null;
8670
9395
  firstResponseTime: number | null;
8671
9396
  wrapUpForm: {
9397
+ type: string;
8672
9398
  id: string;
8673
9399
  disposition: string | null;
8674
9400
  createdAt: Date;
8675
9401
  updatedAt: Date;
8676
9402
  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
+ }[];
8677
9425
  tags: {
8678
9426
  id: string;
8679
9427
  name: string;
@@ -8684,6 +9432,18 @@ export declare const MessageSchema: z.ZodObject<{
8684
9432
  callFrom: string | null;
8685
9433
  callTo: string | null;
8686
9434
  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
+ }[] | undefined;
8687
9447
  } | null;
8688
9448
  };
8689
9449
  };