@kl1/contracts 1.0.38 → 1.0.40
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 +702 -691
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +702 -691
- package/dist/index.mjs.map +1 -1
- package/dist/src/chat/index.d.ts +72 -72
- package/dist/src/chat/schema.d.ts +10 -10
- package/dist/src/chat/validation.d.ts +16 -16
- package/dist/src/contract.d.ts +12263 -7817
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/cx-log/index.d.ts +1616 -46
- package/dist/src/cx-log/index.d.ts.map +1 -1
- package/dist/src/cx-log/schema.d.ts +1551 -233
- package/dist/src/cx-log/schema.d.ts.map +1 -1
- package/dist/src/dashboard/index.d.ts +4 -1
- package/dist/src/dashboard/index.d.ts.map +1 -1
- package/dist/src/dashboard/schema.d.ts +50 -0
- package/dist/src/dashboard/schema.d.ts.map +1 -1
- package/dist/src/messenger/index.d.ts +8 -8
- package/dist/src/telephony-cdr/index.d.ts +2878 -0
- package/dist/src/telephony-cdr/index.d.ts.map +1 -1
- package/dist/src/telephony-cdr/schema.d.ts +1070 -4
- package/dist/src/telephony-cdr/schema.d.ts.map +1 -1
- package/package.json +1 -1
@@ -2577,6 +2577,783 @@ export declare const cxLogContract: {
|
|
2577
2577
|
talkDuration: z.ZodNullable<z.ZodNumber>;
|
2578
2578
|
srcTrunkName: z.ZodNullable<z.ZodString>;
|
2579
2579
|
dstTrunkName: z.ZodNullable<z.ZodString>;
|
2580
|
+
contact: z.ZodOptional<z.ZodObject<{
|
2581
|
+
id: z.ZodString;
|
2582
|
+
createdAt: z.ZodDate;
|
2583
|
+
updatedAt: z.ZodDate;
|
2584
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
2585
|
+
name: z.ZodString;
|
2586
|
+
address: z.ZodNullable<z.ZodString>;
|
2587
|
+
channel: z.ZodNullable<z.ZodString>;
|
2588
|
+
notes: z.ZodNullable<z.ZodString>;
|
2589
|
+
contactProfile: z.ZodNullable<z.ZodString>;
|
2590
|
+
socialProfileUrl: z.ZodNullable<z.ZodString>;
|
2591
|
+
tags: z.ZodArray<z.ZodObject<{
|
2592
|
+
id: z.ZodString;
|
2593
|
+
createdAt: z.ZodDate;
|
2594
|
+
updatedAt: z.ZodDate;
|
2595
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
2596
|
+
name: z.ZodString;
|
2597
|
+
}, "strip", z.ZodTypeAny, {
|
2598
|
+
id: string;
|
2599
|
+
name: string;
|
2600
|
+
createdAt: Date;
|
2601
|
+
updatedAt: Date;
|
2602
|
+
deletedAt: Date | null;
|
2603
|
+
}, {
|
2604
|
+
id: string;
|
2605
|
+
name: string;
|
2606
|
+
createdAt: Date;
|
2607
|
+
updatedAt: Date;
|
2608
|
+
deletedAt: Date | null;
|
2609
|
+
}>, "many">;
|
2610
|
+
company: z.ZodNullable<z.ZodObject<Omit<{
|
2611
|
+
id: z.ZodString;
|
2612
|
+
createdAt: z.ZodDate;
|
2613
|
+
updatedAt: z.ZodDate;
|
2614
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
2615
|
+
name: z.ZodOptional<z.ZodString>;
|
2616
|
+
phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
2617
|
+
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
2618
|
+
industry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
2619
|
+
customFields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
2620
|
+
id: z.ZodString;
|
2621
|
+
createdAt: z.ZodDate;
|
2622
|
+
updatedAt: z.ZodDate;
|
2623
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
2624
|
+
textValue: z.ZodNullable<z.ZodString>;
|
2625
|
+
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
2626
|
+
numberValue: z.ZodNullable<z.ZodNumber>;
|
2627
|
+
dateValue: z.ZodNullable<z.ZodDate>;
|
2628
|
+
attribute: z.ZodObject<Omit<{
|
2629
|
+
id: z.ZodString;
|
2630
|
+
createdAt: z.ZodDate;
|
2631
|
+
updatedAt: z.ZodDate;
|
2632
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
2633
|
+
systemName: z.ZodString;
|
2634
|
+
displayName: z.ZodString;
|
2635
|
+
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
2636
|
+
position: z.ZodNumber;
|
2637
|
+
isDefault: z.ZodBoolean;
|
2638
|
+
isArchived: z.ZodBoolean;
|
2639
|
+
isRequired: z.ZodBoolean;
|
2640
|
+
isUnique: z.ZodBoolean;
|
2641
|
+
options: z.ZodArray<z.ZodObject<{
|
2642
|
+
position: z.ZodNumber;
|
2643
|
+
value: z.ZodString;
|
2644
|
+
label: z.ZodString;
|
2645
|
+
isDefault: z.ZodBoolean;
|
2646
|
+
id: z.ZodString;
|
2647
|
+
}, "strip", z.ZodTypeAny, {
|
2648
|
+
id: string;
|
2649
|
+
position: number;
|
2650
|
+
value: string;
|
2651
|
+
label: string;
|
2652
|
+
isDefault: boolean;
|
2653
|
+
}, {
|
2654
|
+
id: string;
|
2655
|
+
position: number;
|
2656
|
+
value: string;
|
2657
|
+
label: string;
|
2658
|
+
isDefault: boolean;
|
2659
|
+
}>, "many">;
|
2660
|
+
group: z.ZodObject<{
|
2661
|
+
id: z.ZodString;
|
2662
|
+
createdAt: z.ZodDate;
|
2663
|
+
updatedAt: z.ZodDate;
|
2664
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
2665
|
+
systemName: z.ZodString;
|
2666
|
+
displayName: z.ZodString;
|
2667
|
+
}, "strip", z.ZodTypeAny, {
|
2668
|
+
id: string;
|
2669
|
+
createdAt: Date;
|
2670
|
+
updatedAt: Date;
|
2671
|
+
deletedAt: Date | null;
|
2672
|
+
systemName: string;
|
2673
|
+
displayName: string;
|
2674
|
+
}, {
|
2675
|
+
id: string;
|
2676
|
+
createdAt: Date;
|
2677
|
+
updatedAt: Date;
|
2678
|
+
deletedAt: Date | null;
|
2679
|
+
systemName: string;
|
2680
|
+
displayName: string;
|
2681
|
+
}>;
|
2682
|
+
}, "options" | "group">, "strip", z.ZodTypeAny, {
|
2683
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
2684
|
+
id: string;
|
2685
|
+
position: number;
|
2686
|
+
createdAt: Date;
|
2687
|
+
updatedAt: Date;
|
2688
|
+
deletedAt: Date | null;
|
2689
|
+
isDefault: boolean;
|
2690
|
+
systemName: string;
|
2691
|
+
displayName: string;
|
2692
|
+
isArchived: boolean;
|
2693
|
+
isRequired: boolean;
|
2694
|
+
isUnique: boolean;
|
2695
|
+
}, {
|
2696
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
2697
|
+
id: string;
|
2698
|
+
position: number;
|
2699
|
+
createdAt: Date;
|
2700
|
+
updatedAt: Date;
|
2701
|
+
deletedAt: Date | null;
|
2702
|
+
isDefault: boolean;
|
2703
|
+
systemName: string;
|
2704
|
+
displayName: string;
|
2705
|
+
isArchived: boolean;
|
2706
|
+
isRequired: boolean;
|
2707
|
+
isUnique: boolean;
|
2708
|
+
}>;
|
2709
|
+
}, "strip", z.ZodTypeAny, {
|
2710
|
+
id: string;
|
2711
|
+
createdAt: Date;
|
2712
|
+
updatedAt: Date;
|
2713
|
+
deletedAt: Date | null;
|
2714
|
+
attribute: {
|
2715
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
2716
|
+
id: string;
|
2717
|
+
position: number;
|
2718
|
+
createdAt: Date;
|
2719
|
+
updatedAt: Date;
|
2720
|
+
deletedAt: Date | null;
|
2721
|
+
isDefault: boolean;
|
2722
|
+
systemName: string;
|
2723
|
+
displayName: string;
|
2724
|
+
isArchived: boolean;
|
2725
|
+
isRequired: boolean;
|
2726
|
+
isUnique: boolean;
|
2727
|
+
};
|
2728
|
+
textValue: string | null;
|
2729
|
+
booleanValue: boolean | null;
|
2730
|
+
numberValue: number | null;
|
2731
|
+
dateValue: Date | null;
|
2732
|
+
}, {
|
2733
|
+
id: string;
|
2734
|
+
createdAt: Date;
|
2735
|
+
updatedAt: Date;
|
2736
|
+
deletedAt: Date | null;
|
2737
|
+
attribute: {
|
2738
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
2739
|
+
id: string;
|
2740
|
+
position: number;
|
2741
|
+
createdAt: Date;
|
2742
|
+
updatedAt: Date;
|
2743
|
+
deletedAt: Date | null;
|
2744
|
+
isDefault: boolean;
|
2745
|
+
systemName: string;
|
2746
|
+
displayName: string;
|
2747
|
+
isArchived: boolean;
|
2748
|
+
isRequired: boolean;
|
2749
|
+
isUnique: boolean;
|
2750
|
+
};
|
2751
|
+
textValue: string | null;
|
2752
|
+
booleanValue: boolean | null;
|
2753
|
+
numberValue: number | null;
|
2754
|
+
dateValue: Date | null;
|
2755
|
+
}>, "many">>;
|
2756
|
+
}, "customFields">, "strip", z.ZodTypeAny, {
|
2757
|
+
id: string;
|
2758
|
+
createdAt: Date;
|
2759
|
+
updatedAt: Date;
|
2760
|
+
deletedAt: Date | null;
|
2761
|
+
address?: string | null | undefined;
|
2762
|
+
name?: string | undefined;
|
2763
|
+
phone?: string | null | undefined;
|
2764
|
+
industry?: string | null | undefined;
|
2765
|
+
}, {
|
2766
|
+
id: string;
|
2767
|
+
createdAt: Date;
|
2768
|
+
updatedAt: Date;
|
2769
|
+
deletedAt: Date | null;
|
2770
|
+
address?: string | null | undefined;
|
2771
|
+
name?: string | undefined;
|
2772
|
+
phone?: string | null | undefined;
|
2773
|
+
industry?: string | null | undefined;
|
2774
|
+
}>>;
|
2775
|
+
customFields: z.ZodArray<z.ZodObject<{
|
2776
|
+
id: z.ZodString;
|
2777
|
+
createdAt: z.ZodDate;
|
2778
|
+
updatedAt: z.ZodDate;
|
2779
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
2780
|
+
textValue: z.ZodNullable<z.ZodString>;
|
2781
|
+
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
2782
|
+
numberValue: z.ZodNullable<z.ZodNumber>;
|
2783
|
+
dateValue: z.ZodNullable<z.ZodDate>;
|
2784
|
+
attribute: z.ZodObject<Omit<{
|
2785
|
+
id: z.ZodString;
|
2786
|
+
createdAt: z.ZodDate;
|
2787
|
+
updatedAt: z.ZodDate;
|
2788
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
2789
|
+
systemName: z.ZodString;
|
2790
|
+
displayName: z.ZodString;
|
2791
|
+
type: z.ZodUnion<[z.ZodLiteral<"text">, z.ZodLiteral<"textarea">, z.ZodLiteral<"date">, z.ZodLiteral<"select">, z.ZodLiteral<"link">, z.ZodLiteral<"attachment">]>;
|
2792
|
+
position: z.ZodNumber;
|
2793
|
+
isDefault: z.ZodBoolean;
|
2794
|
+
isArchived: z.ZodBoolean;
|
2795
|
+
isRequired: z.ZodBoolean;
|
2796
|
+
isUnique: z.ZodBoolean;
|
2797
|
+
options: z.ZodArray<z.ZodObject<{
|
2798
|
+
position: z.ZodNumber;
|
2799
|
+
value: z.ZodString;
|
2800
|
+
label: z.ZodString;
|
2801
|
+
isDefault: z.ZodBoolean;
|
2802
|
+
id: z.ZodString;
|
2803
|
+
}, "strip", z.ZodTypeAny, {
|
2804
|
+
id: string;
|
2805
|
+
position: number;
|
2806
|
+
value: string;
|
2807
|
+
label: string;
|
2808
|
+
isDefault: boolean;
|
2809
|
+
}, {
|
2810
|
+
id: string;
|
2811
|
+
position: number;
|
2812
|
+
value: string;
|
2813
|
+
label: string;
|
2814
|
+
isDefault: boolean;
|
2815
|
+
}>, "many">;
|
2816
|
+
group: z.ZodObject<{
|
2817
|
+
id: z.ZodString;
|
2818
|
+
createdAt: z.ZodDate;
|
2819
|
+
updatedAt: z.ZodDate;
|
2820
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
2821
|
+
systemName: z.ZodString;
|
2822
|
+
displayName: z.ZodString;
|
2823
|
+
}, "strip", z.ZodTypeAny, {
|
2824
|
+
id: string;
|
2825
|
+
createdAt: Date;
|
2826
|
+
updatedAt: Date;
|
2827
|
+
deletedAt: Date | null;
|
2828
|
+
systemName: string;
|
2829
|
+
displayName: string;
|
2830
|
+
}, {
|
2831
|
+
id: string;
|
2832
|
+
createdAt: Date;
|
2833
|
+
updatedAt: Date;
|
2834
|
+
deletedAt: Date | null;
|
2835
|
+
systemName: string;
|
2836
|
+
displayName: string;
|
2837
|
+
}>;
|
2838
|
+
}, "options" | "group">, "strip", z.ZodTypeAny, {
|
2839
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
2840
|
+
id: string;
|
2841
|
+
position: number;
|
2842
|
+
createdAt: Date;
|
2843
|
+
updatedAt: Date;
|
2844
|
+
deletedAt: Date | null;
|
2845
|
+
isDefault: boolean;
|
2846
|
+
systemName: string;
|
2847
|
+
displayName: string;
|
2848
|
+
isArchived: boolean;
|
2849
|
+
isRequired: boolean;
|
2850
|
+
isUnique: boolean;
|
2851
|
+
}, {
|
2852
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
2853
|
+
id: string;
|
2854
|
+
position: number;
|
2855
|
+
createdAt: Date;
|
2856
|
+
updatedAt: Date;
|
2857
|
+
deletedAt: Date | null;
|
2858
|
+
isDefault: boolean;
|
2859
|
+
systemName: string;
|
2860
|
+
displayName: string;
|
2861
|
+
isArchived: boolean;
|
2862
|
+
isRequired: boolean;
|
2863
|
+
isUnique: boolean;
|
2864
|
+
}>;
|
2865
|
+
uploads: z.ZodArray<z.ZodObject<{
|
2866
|
+
id: z.ZodString;
|
2867
|
+
createdAt: z.ZodDate;
|
2868
|
+
updatedAt: z.ZodDate;
|
2869
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
2870
|
+
customFieldId: z.ZodString;
|
2871
|
+
upload: z.ZodObject<{
|
2872
|
+
id: z.ZodString;
|
2873
|
+
createdAt: z.ZodDate;
|
2874
|
+
updatedAt: z.ZodDate;
|
2875
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
2876
|
+
bucketName: z.ZodString;
|
2877
|
+
fileName: z.ZodString;
|
2878
|
+
fileSize: z.ZodNumber;
|
2879
|
+
fileKey: z.ZodString;
|
2880
|
+
fileUrl: z.ZodNullable<z.ZodString>;
|
2881
|
+
}, "strip", z.ZodTypeAny, {
|
2882
|
+
id: string;
|
2883
|
+
createdAt: Date;
|
2884
|
+
updatedAt: Date;
|
2885
|
+
deletedAt: Date | null;
|
2886
|
+
fileName: string;
|
2887
|
+
fileKey: string;
|
2888
|
+
bucketName: string;
|
2889
|
+
fileSize: number;
|
2890
|
+
fileUrl: string | null;
|
2891
|
+
}, {
|
2892
|
+
id: string;
|
2893
|
+
createdAt: Date;
|
2894
|
+
updatedAt: Date;
|
2895
|
+
deletedAt: Date | null;
|
2896
|
+
fileName: string;
|
2897
|
+
fileKey: string;
|
2898
|
+
bucketName: string;
|
2899
|
+
fileSize: number;
|
2900
|
+
fileUrl: string | null;
|
2901
|
+
}>;
|
2902
|
+
}, "strip", z.ZodTypeAny, {
|
2903
|
+
id: string;
|
2904
|
+
createdAt: Date;
|
2905
|
+
updatedAt: Date;
|
2906
|
+
deletedAt: Date | null;
|
2907
|
+
customFieldId: string;
|
2908
|
+
upload: {
|
2909
|
+
id: string;
|
2910
|
+
createdAt: Date;
|
2911
|
+
updatedAt: Date;
|
2912
|
+
deletedAt: Date | null;
|
2913
|
+
fileName: string;
|
2914
|
+
fileKey: string;
|
2915
|
+
bucketName: string;
|
2916
|
+
fileSize: number;
|
2917
|
+
fileUrl: string | null;
|
2918
|
+
};
|
2919
|
+
}, {
|
2920
|
+
id: string;
|
2921
|
+
createdAt: Date;
|
2922
|
+
updatedAt: Date;
|
2923
|
+
deletedAt: Date | null;
|
2924
|
+
customFieldId: string;
|
2925
|
+
upload: {
|
2926
|
+
id: string;
|
2927
|
+
createdAt: Date;
|
2928
|
+
updatedAt: Date;
|
2929
|
+
deletedAt: Date | null;
|
2930
|
+
fileName: string;
|
2931
|
+
fileKey: string;
|
2932
|
+
bucketName: string;
|
2933
|
+
fileSize: number;
|
2934
|
+
fileUrl: string | null;
|
2935
|
+
};
|
2936
|
+
}>, "many">;
|
2937
|
+
}, "strip", z.ZodTypeAny, {
|
2938
|
+
id: string;
|
2939
|
+
createdAt: Date;
|
2940
|
+
updatedAt: Date;
|
2941
|
+
deletedAt: Date | null;
|
2942
|
+
attribute: {
|
2943
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
2944
|
+
id: string;
|
2945
|
+
position: number;
|
2946
|
+
createdAt: Date;
|
2947
|
+
updatedAt: Date;
|
2948
|
+
deletedAt: Date | null;
|
2949
|
+
isDefault: boolean;
|
2950
|
+
systemName: string;
|
2951
|
+
displayName: string;
|
2952
|
+
isArchived: boolean;
|
2953
|
+
isRequired: boolean;
|
2954
|
+
isUnique: boolean;
|
2955
|
+
};
|
2956
|
+
textValue: string | null;
|
2957
|
+
booleanValue: boolean | null;
|
2958
|
+
numberValue: number | null;
|
2959
|
+
dateValue: Date | null;
|
2960
|
+
uploads: {
|
2961
|
+
id: string;
|
2962
|
+
createdAt: Date;
|
2963
|
+
updatedAt: Date;
|
2964
|
+
deletedAt: Date | null;
|
2965
|
+
customFieldId: string;
|
2966
|
+
upload: {
|
2967
|
+
id: string;
|
2968
|
+
createdAt: Date;
|
2969
|
+
updatedAt: Date;
|
2970
|
+
deletedAt: Date | null;
|
2971
|
+
fileName: string;
|
2972
|
+
fileKey: string;
|
2973
|
+
bucketName: string;
|
2974
|
+
fileSize: number;
|
2975
|
+
fileUrl: string | null;
|
2976
|
+
};
|
2977
|
+
}[];
|
2978
|
+
}, {
|
2979
|
+
id: string;
|
2980
|
+
createdAt: Date;
|
2981
|
+
updatedAt: Date;
|
2982
|
+
deletedAt: Date | null;
|
2983
|
+
attribute: {
|
2984
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
2985
|
+
id: string;
|
2986
|
+
position: number;
|
2987
|
+
createdAt: Date;
|
2988
|
+
updatedAt: Date;
|
2989
|
+
deletedAt: Date | null;
|
2990
|
+
isDefault: boolean;
|
2991
|
+
systemName: string;
|
2992
|
+
displayName: string;
|
2993
|
+
isArchived: boolean;
|
2994
|
+
isRequired: boolean;
|
2995
|
+
isUnique: boolean;
|
2996
|
+
};
|
2997
|
+
textValue: string | null;
|
2998
|
+
booleanValue: boolean | null;
|
2999
|
+
numberValue: number | null;
|
3000
|
+
dateValue: Date | null;
|
3001
|
+
uploads: {
|
3002
|
+
id: string;
|
3003
|
+
createdAt: Date;
|
3004
|
+
updatedAt: Date;
|
3005
|
+
deletedAt: Date | null;
|
3006
|
+
customFieldId: string;
|
3007
|
+
upload: {
|
3008
|
+
id: string;
|
3009
|
+
createdAt: Date;
|
3010
|
+
updatedAt: Date;
|
3011
|
+
deletedAt: Date | null;
|
3012
|
+
fileName: string;
|
3013
|
+
fileKey: string;
|
3014
|
+
bucketName: string;
|
3015
|
+
fileSize: number;
|
3016
|
+
fileUrl: string | null;
|
3017
|
+
};
|
3018
|
+
}[];
|
3019
|
+
}>, "many">;
|
3020
|
+
contactEmails: z.ZodArray<z.ZodObject<{
|
3021
|
+
id: z.ZodString;
|
3022
|
+
createdAt: z.ZodDate;
|
3023
|
+
updatedAt: z.ZodDate;
|
3024
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
3025
|
+
email: z.ZodString;
|
3026
|
+
isPrimary: z.ZodBoolean;
|
3027
|
+
}, "strip", z.ZodTypeAny, {
|
3028
|
+
id: string;
|
3029
|
+
isPrimary: boolean;
|
3030
|
+
email: string;
|
3031
|
+
createdAt: Date;
|
3032
|
+
updatedAt: Date;
|
3033
|
+
deletedAt: Date | null;
|
3034
|
+
}, {
|
3035
|
+
id: string;
|
3036
|
+
isPrimary: boolean;
|
3037
|
+
email: string;
|
3038
|
+
createdAt: Date;
|
3039
|
+
updatedAt: Date;
|
3040
|
+
deletedAt: Date | null;
|
3041
|
+
}>, "many">;
|
3042
|
+
contactPhones: z.ZodArray<z.ZodObject<{
|
3043
|
+
id: z.ZodString;
|
3044
|
+
createdAt: z.ZodDate;
|
3045
|
+
updatedAt: z.ZodDate;
|
3046
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
3047
|
+
phone: z.ZodString;
|
3048
|
+
isPrimary: z.ZodBoolean;
|
3049
|
+
}, "strip", z.ZodTypeAny, {
|
3050
|
+
id: string;
|
3051
|
+
isPrimary: boolean;
|
3052
|
+
createdAt: Date;
|
3053
|
+
updatedAt: Date;
|
3054
|
+
deletedAt: Date | null;
|
3055
|
+
phone: string;
|
3056
|
+
}, {
|
3057
|
+
id: string;
|
3058
|
+
isPrimary: boolean;
|
3059
|
+
createdAt: Date;
|
3060
|
+
updatedAt: Date;
|
3061
|
+
deletedAt: Date | null;
|
3062
|
+
phone: string;
|
3063
|
+
}>, "many">;
|
3064
|
+
activityLogs: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
3065
|
+
id: z.ZodString;
|
3066
|
+
createdAt: z.ZodDate;
|
3067
|
+
updatedAt: z.ZodDate;
|
3068
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
3069
|
+
entityId: z.ZodString;
|
3070
|
+
description: z.ZodString;
|
3071
|
+
entityType: z.ZodObject<{
|
3072
|
+
id: z.ZodString;
|
3073
|
+
createdAt: z.ZodDate;
|
3074
|
+
updatedAt: z.ZodDate;
|
3075
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
3076
|
+
entity: z.ZodString;
|
3077
|
+
description: z.ZodNullable<z.ZodString>;
|
3078
|
+
}, "strip", z.ZodTypeAny, {
|
3079
|
+
id: string;
|
3080
|
+
description: string | null;
|
3081
|
+
createdAt: Date;
|
3082
|
+
updatedAt: Date;
|
3083
|
+
deletedAt: Date | null;
|
3084
|
+
entity: string;
|
3085
|
+
}, {
|
3086
|
+
id: string;
|
3087
|
+
description: string | null;
|
3088
|
+
createdAt: Date;
|
3089
|
+
updatedAt: Date;
|
3090
|
+
deletedAt: Date | null;
|
3091
|
+
entity: string;
|
3092
|
+
}>;
|
3093
|
+
}, "strip", z.ZodTypeAny, {
|
3094
|
+
id: string;
|
3095
|
+
description: string;
|
3096
|
+
createdAt: Date;
|
3097
|
+
updatedAt: Date;
|
3098
|
+
deletedAt: Date | null;
|
3099
|
+
entityId: string;
|
3100
|
+
entityType: {
|
3101
|
+
id: string;
|
3102
|
+
description: string | null;
|
3103
|
+
createdAt: Date;
|
3104
|
+
updatedAt: Date;
|
3105
|
+
deletedAt: Date | null;
|
3106
|
+
entity: string;
|
3107
|
+
};
|
3108
|
+
}, {
|
3109
|
+
id: string;
|
3110
|
+
description: string;
|
3111
|
+
createdAt: Date;
|
3112
|
+
updatedAt: Date;
|
3113
|
+
deletedAt: Date | null;
|
3114
|
+
entityId: string;
|
3115
|
+
entityType: {
|
3116
|
+
id: string;
|
3117
|
+
description: string | null;
|
3118
|
+
createdAt: Date;
|
3119
|
+
updatedAt: Date;
|
3120
|
+
deletedAt: Date | null;
|
3121
|
+
entity: string;
|
3122
|
+
};
|
3123
|
+
}>, "many">>;
|
3124
|
+
}, "strip", z.ZodTypeAny, {
|
3125
|
+
id: string;
|
3126
|
+
channel: string | null;
|
3127
|
+
address: string | null;
|
3128
|
+
name: string;
|
3129
|
+
createdAt: Date;
|
3130
|
+
updatedAt: Date;
|
3131
|
+
deletedAt: Date | null;
|
3132
|
+
customFields: {
|
3133
|
+
id: string;
|
3134
|
+
createdAt: Date;
|
3135
|
+
updatedAt: Date;
|
3136
|
+
deletedAt: Date | null;
|
3137
|
+
attribute: {
|
3138
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
3139
|
+
id: string;
|
3140
|
+
position: number;
|
3141
|
+
createdAt: Date;
|
3142
|
+
updatedAt: Date;
|
3143
|
+
deletedAt: Date | null;
|
3144
|
+
isDefault: boolean;
|
3145
|
+
systemName: string;
|
3146
|
+
displayName: string;
|
3147
|
+
isArchived: boolean;
|
3148
|
+
isRequired: boolean;
|
3149
|
+
isUnique: boolean;
|
3150
|
+
};
|
3151
|
+
textValue: string | null;
|
3152
|
+
booleanValue: boolean | null;
|
3153
|
+
numberValue: number | null;
|
3154
|
+
dateValue: Date | null;
|
3155
|
+
uploads: {
|
3156
|
+
id: string;
|
3157
|
+
createdAt: Date;
|
3158
|
+
updatedAt: Date;
|
3159
|
+
deletedAt: Date | null;
|
3160
|
+
customFieldId: string;
|
3161
|
+
upload: {
|
3162
|
+
id: string;
|
3163
|
+
createdAt: Date;
|
3164
|
+
updatedAt: Date;
|
3165
|
+
deletedAt: Date | null;
|
3166
|
+
fileName: string;
|
3167
|
+
fileKey: string;
|
3168
|
+
bucketName: string;
|
3169
|
+
fileSize: number;
|
3170
|
+
fileUrl: string | null;
|
3171
|
+
};
|
3172
|
+
}[];
|
3173
|
+
}[];
|
3174
|
+
notes: string | null;
|
3175
|
+
contactProfile: string | null;
|
3176
|
+
socialProfileUrl: string | null;
|
3177
|
+
tags: {
|
3178
|
+
id: string;
|
3179
|
+
name: string;
|
3180
|
+
createdAt: Date;
|
3181
|
+
updatedAt: Date;
|
3182
|
+
deletedAt: Date | null;
|
3183
|
+
}[];
|
3184
|
+
company: {
|
3185
|
+
id: string;
|
3186
|
+
createdAt: Date;
|
3187
|
+
updatedAt: Date;
|
3188
|
+
deletedAt: Date | null;
|
3189
|
+
address?: string | null | undefined;
|
3190
|
+
name?: string | undefined;
|
3191
|
+
phone?: string | null | undefined;
|
3192
|
+
industry?: string | null | undefined;
|
3193
|
+
} | null;
|
3194
|
+
contactEmails: {
|
3195
|
+
id: string;
|
3196
|
+
isPrimary: boolean;
|
3197
|
+
email: string;
|
3198
|
+
createdAt: Date;
|
3199
|
+
updatedAt: Date;
|
3200
|
+
deletedAt: Date | null;
|
3201
|
+
}[];
|
3202
|
+
contactPhones: {
|
3203
|
+
id: string;
|
3204
|
+
isPrimary: boolean;
|
3205
|
+
createdAt: Date;
|
3206
|
+
updatedAt: Date;
|
3207
|
+
deletedAt: Date | null;
|
3208
|
+
phone: string;
|
3209
|
+
}[];
|
3210
|
+
activityLogs?: {
|
3211
|
+
id: string;
|
3212
|
+
description: string;
|
3213
|
+
createdAt: Date;
|
3214
|
+
updatedAt: Date;
|
3215
|
+
deletedAt: Date | null;
|
3216
|
+
entityId: string;
|
3217
|
+
entityType: {
|
3218
|
+
id: string;
|
3219
|
+
description: string | null;
|
3220
|
+
createdAt: Date;
|
3221
|
+
updatedAt: Date;
|
3222
|
+
deletedAt: Date | null;
|
3223
|
+
entity: string;
|
3224
|
+
};
|
3225
|
+
}[] | undefined;
|
3226
|
+
}, {
|
3227
|
+
id: string;
|
3228
|
+
channel: string | null;
|
3229
|
+
address: string | null;
|
3230
|
+
name: string;
|
3231
|
+
createdAt: Date;
|
3232
|
+
updatedAt: Date;
|
3233
|
+
deletedAt: Date | null;
|
3234
|
+
customFields: {
|
3235
|
+
id: string;
|
3236
|
+
createdAt: Date;
|
3237
|
+
updatedAt: Date;
|
3238
|
+
deletedAt: Date | null;
|
3239
|
+
attribute: {
|
3240
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
3241
|
+
id: string;
|
3242
|
+
position: number;
|
3243
|
+
createdAt: Date;
|
3244
|
+
updatedAt: Date;
|
3245
|
+
deletedAt: Date | null;
|
3246
|
+
isDefault: boolean;
|
3247
|
+
systemName: string;
|
3248
|
+
displayName: string;
|
3249
|
+
isArchived: boolean;
|
3250
|
+
isRequired: boolean;
|
3251
|
+
isUnique: boolean;
|
3252
|
+
};
|
3253
|
+
textValue: string | null;
|
3254
|
+
booleanValue: boolean | null;
|
3255
|
+
numberValue: number | null;
|
3256
|
+
dateValue: Date | null;
|
3257
|
+
uploads: {
|
3258
|
+
id: string;
|
3259
|
+
createdAt: Date;
|
3260
|
+
updatedAt: Date;
|
3261
|
+
deletedAt: Date | null;
|
3262
|
+
customFieldId: string;
|
3263
|
+
upload: {
|
3264
|
+
id: string;
|
3265
|
+
createdAt: Date;
|
3266
|
+
updatedAt: Date;
|
3267
|
+
deletedAt: Date | null;
|
3268
|
+
fileName: string;
|
3269
|
+
fileKey: string;
|
3270
|
+
bucketName: string;
|
3271
|
+
fileSize: number;
|
3272
|
+
fileUrl: string | null;
|
3273
|
+
};
|
3274
|
+
}[];
|
3275
|
+
}[];
|
3276
|
+
notes: string | null;
|
3277
|
+
contactProfile: string | null;
|
3278
|
+
socialProfileUrl: string | null;
|
3279
|
+
tags: {
|
3280
|
+
id: string;
|
3281
|
+
name: string;
|
3282
|
+
createdAt: Date;
|
3283
|
+
updatedAt: Date;
|
3284
|
+
deletedAt: Date | null;
|
3285
|
+
}[];
|
3286
|
+
company: {
|
3287
|
+
id: string;
|
3288
|
+
createdAt: Date;
|
3289
|
+
updatedAt: Date;
|
3290
|
+
deletedAt: Date | null;
|
3291
|
+
address?: string | null | undefined;
|
3292
|
+
name?: string | undefined;
|
3293
|
+
phone?: string | null | undefined;
|
3294
|
+
industry?: string | null | undefined;
|
3295
|
+
} | null;
|
3296
|
+
contactEmails: {
|
3297
|
+
id: string;
|
3298
|
+
isPrimary: boolean;
|
3299
|
+
email: string;
|
3300
|
+
createdAt: Date;
|
3301
|
+
updatedAt: Date;
|
3302
|
+
deletedAt: Date | null;
|
3303
|
+
}[];
|
3304
|
+
contactPhones: {
|
3305
|
+
id: string;
|
3306
|
+
isPrimary: boolean;
|
3307
|
+
createdAt: Date;
|
3308
|
+
updatedAt: Date;
|
3309
|
+
deletedAt: Date | null;
|
3310
|
+
phone: string;
|
3311
|
+
}[];
|
3312
|
+
activityLogs?: {
|
3313
|
+
id: string;
|
3314
|
+
description: string;
|
3315
|
+
createdAt: Date;
|
3316
|
+
updatedAt: Date;
|
3317
|
+
deletedAt: Date | null;
|
3318
|
+
entityId: string;
|
3319
|
+
entityType: {
|
3320
|
+
id: string;
|
3321
|
+
description: string | null;
|
3322
|
+
createdAt: Date;
|
3323
|
+
updatedAt: Date;
|
3324
|
+
deletedAt: Date | null;
|
3325
|
+
entity: string;
|
3326
|
+
};
|
3327
|
+
}[] | undefined;
|
3328
|
+
}>>;
|
3329
|
+
telephonyQueue: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
3330
|
+
id: z.ZodString;
|
3331
|
+
createdAt: z.ZodDate;
|
3332
|
+
updatedAt: z.ZodDate;
|
3333
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
3334
|
+
queueId: z.ZodNumber;
|
3335
|
+
queueName: z.ZodString;
|
3336
|
+
queueNumber: z.ZodString;
|
3337
|
+
maximumWaitingTime: z.ZodNumber;
|
3338
|
+
}, "strip", z.ZodTypeAny, {
|
3339
|
+
id: string;
|
3340
|
+
createdAt: Date;
|
3341
|
+
updatedAt: Date;
|
3342
|
+
deletedAt: Date | null;
|
3343
|
+
queueId: number;
|
3344
|
+
queueName: string;
|
3345
|
+
queueNumber: string;
|
3346
|
+
maximumWaitingTime: number;
|
3347
|
+
}, {
|
3348
|
+
id: string;
|
3349
|
+
createdAt: Date;
|
3350
|
+
updatedAt: Date;
|
3351
|
+
deletedAt: Date | null;
|
3352
|
+
queueId: number;
|
3353
|
+
queueName: string;
|
3354
|
+
queueNumber: string;
|
3355
|
+
maximumWaitingTime: number;
|
3356
|
+
}>>>;
|
2580
3357
|
pinCode: z.ZodNullable<z.ZodString>;
|
2581
3358
|
status: z.ZodString;
|
2582
3359
|
type: z.ZodString;
|
@@ -2584,7 +3361,7 @@ export declare const cxLogContract: {
|
|
2584
3361
|
didNumber: z.ZodNullable<z.ZodString>;
|
2585
3362
|
agentRingTime: z.ZodNullable<z.ZodNumber>;
|
2586
3363
|
uploadId: z.ZodNullable<z.ZodString>;
|
2587
|
-
upload: z.ZodOptional<z.ZodObject<{
|
3364
|
+
upload: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
2588
3365
|
id: z.ZodString;
|
2589
3366
|
createdAt: z.ZodDate;
|
2590
3367
|
updatedAt: z.ZodDate;
|
@@ -2614,9 +3391,46 @@ export declare const cxLogContract: {
|
|
2614
3391
|
bucketName: string;
|
2615
3392
|
fileSize: number;
|
2616
3393
|
fileUrl: string | null;
|
2617
|
-
}
|
3394
|
+
}>>>;
|
2618
3395
|
serialNumber: z.ZodNullable<z.ZodString>;
|
2619
3396
|
extensionId: z.ZodNullable<z.ZodString>;
|
3397
|
+
extension: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
3398
|
+
id: z.ZodString;
|
3399
|
+
createdAt: z.ZodDate;
|
3400
|
+
updatedAt: z.ZodDate;
|
3401
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
3402
|
+
userId: z.ZodNullable<z.ZodString>;
|
3403
|
+
sipServerUrl: z.ZodString;
|
3404
|
+
sipUserName: z.ZodString;
|
3405
|
+
webphoneLoginUser: z.ZodString;
|
3406
|
+
extensionId: z.ZodNumber;
|
3407
|
+
extensionName: z.ZodString;
|
3408
|
+
telephonySignature: z.ZodNullable<z.ZodString>;
|
3409
|
+
}, "strip", z.ZodTypeAny, {
|
3410
|
+
id: string;
|
3411
|
+
createdAt: Date;
|
3412
|
+
updatedAt: Date;
|
3413
|
+
deletedAt: Date | null;
|
3414
|
+
userId: string | null;
|
3415
|
+
sipServerUrl: string;
|
3416
|
+
sipUserName: string;
|
3417
|
+
webphoneLoginUser: string;
|
3418
|
+
extensionId: number;
|
3419
|
+
extensionName: string;
|
3420
|
+
telephonySignature: string | null;
|
3421
|
+
}, {
|
3422
|
+
id: string;
|
3423
|
+
createdAt: Date;
|
3424
|
+
updatedAt: Date;
|
3425
|
+
deletedAt: Date | null;
|
3426
|
+
userId: string | null;
|
3427
|
+
sipServerUrl: string;
|
3428
|
+
sipUserName: string;
|
3429
|
+
webphoneLoginUser: string;
|
3430
|
+
extensionId: number;
|
3431
|
+
extensionName: string;
|
3432
|
+
telephonySignature: string | null;
|
3433
|
+
}>>>;
|
2620
3434
|
telephonyQueueId: z.ZodNullable<z.ZodString>;
|
2621
3435
|
contactId: z.ZodNullable<z.ZodString>;
|
2622
3436
|
}, "strip", z.ZodTypeAny, {
|
@@ -2643,6 +3457,119 @@ export declare const cxLogContract: {
|
|
2643
3457
|
serialNumber: string | null;
|
2644
3458
|
telephonyQueueId: string | null;
|
2645
3459
|
contactId: string | null;
|
3460
|
+
contact?: {
|
3461
|
+
id: string;
|
3462
|
+
channel: string | null;
|
3463
|
+
address: string | null;
|
3464
|
+
name: string;
|
3465
|
+
createdAt: Date;
|
3466
|
+
updatedAt: Date;
|
3467
|
+
deletedAt: Date | null;
|
3468
|
+
customFields: {
|
3469
|
+
id: string;
|
3470
|
+
createdAt: Date;
|
3471
|
+
updatedAt: Date;
|
3472
|
+
deletedAt: Date | null;
|
3473
|
+
attribute: {
|
3474
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
3475
|
+
id: string;
|
3476
|
+
position: number;
|
3477
|
+
createdAt: Date;
|
3478
|
+
updatedAt: Date;
|
3479
|
+
deletedAt: Date | null;
|
3480
|
+
isDefault: boolean;
|
3481
|
+
systemName: string;
|
3482
|
+
displayName: string;
|
3483
|
+
isArchived: boolean;
|
3484
|
+
isRequired: boolean;
|
3485
|
+
isUnique: boolean;
|
3486
|
+
};
|
3487
|
+
textValue: string | null;
|
3488
|
+
booleanValue: boolean | null;
|
3489
|
+
numberValue: number | null;
|
3490
|
+
dateValue: Date | null;
|
3491
|
+
uploads: {
|
3492
|
+
id: string;
|
3493
|
+
createdAt: Date;
|
3494
|
+
updatedAt: Date;
|
3495
|
+
deletedAt: Date | null;
|
3496
|
+
customFieldId: string;
|
3497
|
+
upload: {
|
3498
|
+
id: string;
|
3499
|
+
createdAt: Date;
|
3500
|
+
updatedAt: Date;
|
3501
|
+
deletedAt: Date | null;
|
3502
|
+
fileName: string;
|
3503
|
+
fileKey: string;
|
3504
|
+
bucketName: string;
|
3505
|
+
fileSize: number;
|
3506
|
+
fileUrl: string | null;
|
3507
|
+
};
|
3508
|
+
}[];
|
3509
|
+
}[];
|
3510
|
+
notes: string | null;
|
3511
|
+
contactProfile: string | null;
|
3512
|
+
socialProfileUrl: string | null;
|
3513
|
+
tags: {
|
3514
|
+
id: string;
|
3515
|
+
name: string;
|
3516
|
+
createdAt: Date;
|
3517
|
+
updatedAt: Date;
|
3518
|
+
deletedAt: Date | null;
|
3519
|
+
}[];
|
3520
|
+
company: {
|
3521
|
+
id: string;
|
3522
|
+
createdAt: Date;
|
3523
|
+
updatedAt: Date;
|
3524
|
+
deletedAt: Date | null;
|
3525
|
+
address?: string | null | undefined;
|
3526
|
+
name?: string | undefined;
|
3527
|
+
phone?: string | null | undefined;
|
3528
|
+
industry?: string | null | undefined;
|
3529
|
+
} | null;
|
3530
|
+
contactEmails: {
|
3531
|
+
id: string;
|
3532
|
+
isPrimary: boolean;
|
3533
|
+
email: string;
|
3534
|
+
createdAt: Date;
|
3535
|
+
updatedAt: Date;
|
3536
|
+
deletedAt: Date | null;
|
3537
|
+
}[];
|
3538
|
+
contactPhones: {
|
3539
|
+
id: string;
|
3540
|
+
isPrimary: boolean;
|
3541
|
+
createdAt: Date;
|
3542
|
+
updatedAt: Date;
|
3543
|
+
deletedAt: Date | null;
|
3544
|
+
phone: string;
|
3545
|
+
}[];
|
3546
|
+
activityLogs?: {
|
3547
|
+
id: string;
|
3548
|
+
description: string;
|
3549
|
+
createdAt: Date;
|
3550
|
+
updatedAt: Date;
|
3551
|
+
deletedAt: Date | null;
|
3552
|
+
entityId: string;
|
3553
|
+
entityType: {
|
3554
|
+
id: string;
|
3555
|
+
description: string | null;
|
3556
|
+
createdAt: Date;
|
3557
|
+
updatedAt: Date;
|
3558
|
+
deletedAt: Date | null;
|
3559
|
+
entity: string;
|
3560
|
+
};
|
3561
|
+
}[] | undefined;
|
3562
|
+
} | undefined;
|
3563
|
+
telephonyQueue?: {
|
3564
|
+
id: string;
|
3565
|
+
createdAt: Date;
|
3566
|
+
updatedAt: Date;
|
3567
|
+
deletedAt: Date | null;
|
3568
|
+
queueId: number;
|
3569
|
+
queueName: string;
|
3570
|
+
queueNumber: string;
|
3571
|
+
maximumWaitingTime: number;
|
3572
|
+
} | null | undefined;
|
2646
3573
|
upload?: {
|
2647
3574
|
id: string;
|
2648
3575
|
createdAt: Date;
|
@@ -2653,7 +3580,20 @@ export declare const cxLogContract: {
|
|
2653
3580
|
bucketName: string;
|
2654
3581
|
fileSize: number;
|
2655
3582
|
fileUrl: string | null;
|
2656
|
-
} | undefined;
|
3583
|
+
} | null | undefined;
|
3584
|
+
extension?: {
|
3585
|
+
id: string;
|
3586
|
+
createdAt: Date;
|
3587
|
+
updatedAt: Date;
|
3588
|
+
deletedAt: Date | null;
|
3589
|
+
userId: string | null;
|
3590
|
+
sipServerUrl: string;
|
3591
|
+
sipUserName: string;
|
3592
|
+
webphoneLoginUser: string;
|
3593
|
+
extensionId: number;
|
3594
|
+
extensionName: string;
|
3595
|
+
telephonySignature: string | null;
|
3596
|
+
} | null | undefined;
|
2657
3597
|
}, {
|
2658
3598
|
type: string;
|
2659
3599
|
id: string;
|
@@ -2678,6 +3618,119 @@ export declare const cxLogContract: {
|
|
2678
3618
|
serialNumber: string | null;
|
2679
3619
|
telephonyQueueId: string | null;
|
2680
3620
|
contactId: string | null;
|
3621
|
+
contact?: {
|
3622
|
+
id: string;
|
3623
|
+
channel: string | null;
|
3624
|
+
address: string | null;
|
3625
|
+
name: string;
|
3626
|
+
createdAt: Date;
|
3627
|
+
updatedAt: Date;
|
3628
|
+
deletedAt: Date | null;
|
3629
|
+
customFields: {
|
3630
|
+
id: string;
|
3631
|
+
createdAt: Date;
|
3632
|
+
updatedAt: Date;
|
3633
|
+
deletedAt: Date | null;
|
3634
|
+
attribute: {
|
3635
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
3636
|
+
id: string;
|
3637
|
+
position: number;
|
3638
|
+
createdAt: Date;
|
3639
|
+
updatedAt: Date;
|
3640
|
+
deletedAt: Date | null;
|
3641
|
+
isDefault: boolean;
|
3642
|
+
systemName: string;
|
3643
|
+
displayName: string;
|
3644
|
+
isArchived: boolean;
|
3645
|
+
isRequired: boolean;
|
3646
|
+
isUnique: boolean;
|
3647
|
+
};
|
3648
|
+
textValue: string | null;
|
3649
|
+
booleanValue: boolean | null;
|
3650
|
+
numberValue: number | null;
|
3651
|
+
dateValue: Date | null;
|
3652
|
+
uploads: {
|
3653
|
+
id: string;
|
3654
|
+
createdAt: Date;
|
3655
|
+
updatedAt: Date;
|
3656
|
+
deletedAt: Date | null;
|
3657
|
+
customFieldId: string;
|
3658
|
+
upload: {
|
3659
|
+
id: string;
|
3660
|
+
createdAt: Date;
|
3661
|
+
updatedAt: Date;
|
3662
|
+
deletedAt: Date | null;
|
3663
|
+
fileName: string;
|
3664
|
+
fileKey: string;
|
3665
|
+
bucketName: string;
|
3666
|
+
fileSize: number;
|
3667
|
+
fileUrl: string | null;
|
3668
|
+
};
|
3669
|
+
}[];
|
3670
|
+
}[];
|
3671
|
+
notes: string | null;
|
3672
|
+
contactProfile: string | null;
|
3673
|
+
socialProfileUrl: string | null;
|
3674
|
+
tags: {
|
3675
|
+
id: string;
|
3676
|
+
name: string;
|
3677
|
+
createdAt: Date;
|
3678
|
+
updatedAt: Date;
|
3679
|
+
deletedAt: Date | null;
|
3680
|
+
}[];
|
3681
|
+
company: {
|
3682
|
+
id: string;
|
3683
|
+
createdAt: Date;
|
3684
|
+
updatedAt: Date;
|
3685
|
+
deletedAt: Date | null;
|
3686
|
+
address?: string | null | undefined;
|
3687
|
+
name?: string | undefined;
|
3688
|
+
phone?: string | null | undefined;
|
3689
|
+
industry?: string | null | undefined;
|
3690
|
+
} | null;
|
3691
|
+
contactEmails: {
|
3692
|
+
id: string;
|
3693
|
+
isPrimary: boolean;
|
3694
|
+
email: string;
|
3695
|
+
createdAt: Date;
|
3696
|
+
updatedAt: Date;
|
3697
|
+
deletedAt: Date | null;
|
3698
|
+
}[];
|
3699
|
+
contactPhones: {
|
3700
|
+
id: string;
|
3701
|
+
isPrimary: boolean;
|
3702
|
+
createdAt: Date;
|
3703
|
+
updatedAt: Date;
|
3704
|
+
deletedAt: Date | null;
|
3705
|
+
phone: string;
|
3706
|
+
}[];
|
3707
|
+
activityLogs?: {
|
3708
|
+
id: string;
|
3709
|
+
description: string;
|
3710
|
+
createdAt: Date;
|
3711
|
+
updatedAt: Date;
|
3712
|
+
deletedAt: Date | null;
|
3713
|
+
entityId: string;
|
3714
|
+
entityType: {
|
3715
|
+
id: string;
|
3716
|
+
description: string | null;
|
3717
|
+
createdAt: Date;
|
3718
|
+
updatedAt: Date;
|
3719
|
+
deletedAt: Date | null;
|
3720
|
+
entity: string;
|
3721
|
+
};
|
3722
|
+
}[] | undefined;
|
3723
|
+
} | undefined;
|
3724
|
+
telephonyQueue?: {
|
3725
|
+
id: string;
|
3726
|
+
createdAt: Date;
|
3727
|
+
updatedAt: Date;
|
3728
|
+
deletedAt: Date | null;
|
3729
|
+
queueId: number;
|
3730
|
+
queueName: string;
|
3731
|
+
queueNumber: string;
|
3732
|
+
maximumWaitingTime: number;
|
3733
|
+
} | null | undefined;
|
2681
3734
|
upload?: {
|
2682
3735
|
id: string;
|
2683
3736
|
createdAt: Date;
|
@@ -2688,7 +3741,20 @@ export declare const cxLogContract: {
|
|
2688
3741
|
bucketName: string;
|
2689
3742
|
fileSize: number;
|
2690
3743
|
fileUrl: string | null;
|
2691
|
-
} | undefined;
|
3744
|
+
} | null | undefined;
|
3745
|
+
extension?: {
|
3746
|
+
id: string;
|
3747
|
+
createdAt: Date;
|
3748
|
+
updatedAt: Date;
|
3749
|
+
deletedAt: Date | null;
|
3750
|
+
userId: string | null;
|
3751
|
+
sipServerUrl: string;
|
3752
|
+
sipUserName: string;
|
3753
|
+
webphoneLoginUser: string;
|
3754
|
+
extensionId: number;
|
3755
|
+
extensionName: string;
|
3756
|
+
telephonySignature: string | null;
|
3757
|
+
} | null | undefined;
|
2692
3758
|
}>>;
|
2693
3759
|
queue: z.ZodNullable<z.ZodObject<{
|
2694
3760
|
queueName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
@@ -4103,6 +5169,119 @@ export declare const cxLogContract: {
|
|
4103
5169
|
serialNumber: string | null;
|
4104
5170
|
telephonyQueueId: string | null;
|
4105
5171
|
contactId: string | null;
|
5172
|
+
contact?: {
|
5173
|
+
id: string;
|
5174
|
+
channel: string | null;
|
5175
|
+
address: string | null;
|
5176
|
+
name: string;
|
5177
|
+
createdAt: Date;
|
5178
|
+
updatedAt: Date;
|
5179
|
+
deletedAt: Date | null;
|
5180
|
+
customFields: {
|
5181
|
+
id: string;
|
5182
|
+
createdAt: Date;
|
5183
|
+
updatedAt: Date;
|
5184
|
+
deletedAt: Date | null;
|
5185
|
+
attribute: {
|
5186
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
5187
|
+
id: string;
|
5188
|
+
position: number;
|
5189
|
+
createdAt: Date;
|
5190
|
+
updatedAt: Date;
|
5191
|
+
deletedAt: Date | null;
|
5192
|
+
isDefault: boolean;
|
5193
|
+
systemName: string;
|
5194
|
+
displayName: string;
|
5195
|
+
isArchived: boolean;
|
5196
|
+
isRequired: boolean;
|
5197
|
+
isUnique: boolean;
|
5198
|
+
};
|
5199
|
+
textValue: string | null;
|
5200
|
+
booleanValue: boolean | null;
|
5201
|
+
numberValue: number | null;
|
5202
|
+
dateValue: Date | null;
|
5203
|
+
uploads: {
|
5204
|
+
id: string;
|
5205
|
+
createdAt: Date;
|
5206
|
+
updatedAt: Date;
|
5207
|
+
deletedAt: Date | null;
|
5208
|
+
customFieldId: string;
|
5209
|
+
upload: {
|
5210
|
+
id: string;
|
5211
|
+
createdAt: Date;
|
5212
|
+
updatedAt: Date;
|
5213
|
+
deletedAt: Date | null;
|
5214
|
+
fileName: string;
|
5215
|
+
fileKey: string;
|
5216
|
+
bucketName: string;
|
5217
|
+
fileSize: number;
|
5218
|
+
fileUrl: string | null;
|
5219
|
+
};
|
5220
|
+
}[];
|
5221
|
+
}[];
|
5222
|
+
notes: string | null;
|
5223
|
+
contactProfile: string | null;
|
5224
|
+
socialProfileUrl: string | null;
|
5225
|
+
tags: {
|
5226
|
+
id: string;
|
5227
|
+
name: string;
|
5228
|
+
createdAt: Date;
|
5229
|
+
updatedAt: Date;
|
5230
|
+
deletedAt: Date | null;
|
5231
|
+
}[];
|
5232
|
+
company: {
|
5233
|
+
id: string;
|
5234
|
+
createdAt: Date;
|
5235
|
+
updatedAt: Date;
|
5236
|
+
deletedAt: Date | null;
|
5237
|
+
address?: string | null | undefined;
|
5238
|
+
name?: string | undefined;
|
5239
|
+
phone?: string | null | undefined;
|
5240
|
+
industry?: string | null | undefined;
|
5241
|
+
} | null;
|
5242
|
+
contactEmails: {
|
5243
|
+
id: string;
|
5244
|
+
isPrimary: boolean;
|
5245
|
+
email: string;
|
5246
|
+
createdAt: Date;
|
5247
|
+
updatedAt: Date;
|
5248
|
+
deletedAt: Date | null;
|
5249
|
+
}[];
|
5250
|
+
contactPhones: {
|
5251
|
+
id: string;
|
5252
|
+
isPrimary: boolean;
|
5253
|
+
createdAt: Date;
|
5254
|
+
updatedAt: Date;
|
5255
|
+
deletedAt: Date | null;
|
5256
|
+
phone: string;
|
5257
|
+
}[];
|
5258
|
+
activityLogs?: {
|
5259
|
+
id: string;
|
5260
|
+
description: string;
|
5261
|
+
createdAt: Date;
|
5262
|
+
updatedAt: Date;
|
5263
|
+
deletedAt: Date | null;
|
5264
|
+
entityId: string;
|
5265
|
+
entityType: {
|
5266
|
+
id: string;
|
5267
|
+
description: string | null;
|
5268
|
+
createdAt: Date;
|
5269
|
+
updatedAt: Date;
|
5270
|
+
deletedAt: Date | null;
|
5271
|
+
entity: string;
|
5272
|
+
};
|
5273
|
+
}[] | undefined;
|
5274
|
+
} | undefined;
|
5275
|
+
telephonyQueue?: {
|
5276
|
+
id: string;
|
5277
|
+
createdAt: Date;
|
5278
|
+
updatedAt: Date;
|
5279
|
+
deletedAt: Date | null;
|
5280
|
+
queueId: number;
|
5281
|
+
queueName: string;
|
5282
|
+
queueNumber: string;
|
5283
|
+
maximumWaitingTime: number;
|
5284
|
+
} | null | undefined;
|
4106
5285
|
upload?: {
|
4107
5286
|
id: string;
|
4108
5287
|
createdAt: Date;
|
@@ -4113,7 +5292,20 @@ export declare const cxLogContract: {
|
|
4113
5292
|
bucketName: string;
|
4114
5293
|
fileSize: number;
|
4115
5294
|
fileUrl: string | null;
|
4116
|
-
} | undefined;
|
5295
|
+
} | null | undefined;
|
5296
|
+
extension?: {
|
5297
|
+
id: string;
|
5298
|
+
createdAt: Date;
|
5299
|
+
updatedAt: Date;
|
5300
|
+
deletedAt: Date | null;
|
5301
|
+
userId: string | null;
|
5302
|
+
sipServerUrl: string;
|
5303
|
+
sipUserName: string;
|
5304
|
+
webphoneLoginUser: string;
|
5305
|
+
extensionId: number;
|
5306
|
+
extensionName: string;
|
5307
|
+
telephonySignature: string | null;
|
5308
|
+
} | null | undefined;
|
4117
5309
|
} | null;
|
4118
5310
|
queue: {
|
4119
5311
|
queueName?: string | null | undefined;
|
@@ -4567,54 +5759,167 @@ export declare const cxLogContract: {
|
|
4567
5759
|
displayName: string;
|
4568
5760
|
permissions: {
|
4569
5761
|
id: string;
|
4570
|
-
description: string | null;
|
5762
|
+
description: string | null;
|
5763
|
+
createdAt: Date;
|
5764
|
+
updatedAt: Date;
|
5765
|
+
deletedAt: Date | null;
|
5766
|
+
systemName: string;
|
5767
|
+
displayName: string;
|
5768
|
+
}[];
|
5769
|
+
}[];
|
5770
|
+
extension: {
|
5771
|
+
id: string;
|
5772
|
+
createdAt: Date;
|
5773
|
+
updatedAt: Date;
|
5774
|
+
deletedAt: Date | null;
|
5775
|
+
userId: string | null;
|
5776
|
+
sipServerUrl: string;
|
5777
|
+
sipUserName: string;
|
5778
|
+
webphoneLoginUser: string;
|
5779
|
+
extensionId: number;
|
5780
|
+
extensionName: string;
|
5781
|
+
telephonySignature: string | null;
|
5782
|
+
};
|
5783
|
+
} | undefined;
|
5784
|
+
} | undefined;
|
5785
|
+
} | null;
|
5786
|
+
telephonyCdr: {
|
5787
|
+
type: string;
|
5788
|
+
id: string;
|
5789
|
+
recording: string | null;
|
5790
|
+
status: string;
|
5791
|
+
createdAt: Date;
|
5792
|
+
updatedAt: Date;
|
5793
|
+
deletedAt: Date | null;
|
5794
|
+
extensionId: string | null;
|
5795
|
+
uniqueCallId: string;
|
5796
|
+
timeStart: string;
|
5797
|
+
callFrom: string;
|
5798
|
+
callTo: string;
|
5799
|
+
callDuration: number | null;
|
5800
|
+
talkDuration: number | null;
|
5801
|
+
srcTrunkName: string | null;
|
5802
|
+
dstTrunkName: string | null;
|
5803
|
+
pinCode: string | null;
|
5804
|
+
didNumber: string | null;
|
5805
|
+
agentRingTime: number | null;
|
5806
|
+
uploadId: string | null;
|
5807
|
+
serialNumber: string | null;
|
5808
|
+
telephonyQueueId: string | null;
|
5809
|
+
contactId: string | null;
|
5810
|
+
contact?: {
|
5811
|
+
id: string;
|
5812
|
+
channel: string | null;
|
5813
|
+
address: string | null;
|
5814
|
+
name: string;
|
5815
|
+
createdAt: Date;
|
5816
|
+
updatedAt: Date;
|
5817
|
+
deletedAt: Date | null;
|
5818
|
+
customFields: {
|
5819
|
+
id: string;
|
5820
|
+
createdAt: Date;
|
5821
|
+
updatedAt: Date;
|
5822
|
+
deletedAt: Date | null;
|
5823
|
+
attribute: {
|
5824
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
5825
|
+
id: string;
|
5826
|
+
position: number;
|
5827
|
+
createdAt: Date;
|
5828
|
+
updatedAt: Date;
|
5829
|
+
deletedAt: Date | null;
|
5830
|
+
isDefault: boolean;
|
5831
|
+
systemName: string;
|
5832
|
+
displayName: string;
|
5833
|
+
isArchived: boolean;
|
5834
|
+
isRequired: boolean;
|
5835
|
+
isUnique: boolean;
|
5836
|
+
};
|
5837
|
+
textValue: string | null;
|
5838
|
+
booleanValue: boolean | null;
|
5839
|
+
numberValue: number | null;
|
5840
|
+
dateValue: Date | null;
|
5841
|
+
uploads: {
|
5842
|
+
id: string;
|
5843
|
+
createdAt: Date;
|
5844
|
+
updatedAt: Date;
|
5845
|
+
deletedAt: Date | null;
|
5846
|
+
customFieldId: string;
|
5847
|
+
upload: {
|
5848
|
+
id: string;
|
4571
5849
|
createdAt: Date;
|
4572
5850
|
updatedAt: Date;
|
4573
5851
|
deletedAt: Date | null;
|
4574
|
-
|
4575
|
-
|
4576
|
-
|
5852
|
+
fileName: string;
|
5853
|
+
fileKey: string;
|
5854
|
+
bucketName: string;
|
5855
|
+
fileSize: number;
|
5856
|
+
fileUrl: string | null;
|
5857
|
+
};
|
4577
5858
|
}[];
|
4578
|
-
|
5859
|
+
}[];
|
5860
|
+
notes: string | null;
|
5861
|
+
contactProfile: string | null;
|
5862
|
+
socialProfileUrl: string | null;
|
5863
|
+
tags: {
|
5864
|
+
id: string;
|
5865
|
+
name: string;
|
5866
|
+
createdAt: Date;
|
5867
|
+
updatedAt: Date;
|
5868
|
+
deletedAt: Date | null;
|
5869
|
+
}[];
|
5870
|
+
company: {
|
5871
|
+
id: string;
|
5872
|
+
createdAt: Date;
|
5873
|
+
updatedAt: Date;
|
5874
|
+
deletedAt: Date | null;
|
5875
|
+
address?: string | null | undefined;
|
5876
|
+
name?: string | undefined;
|
5877
|
+
phone?: string | null | undefined;
|
5878
|
+
industry?: string | null | undefined;
|
5879
|
+
} | null;
|
5880
|
+
contactEmails: {
|
5881
|
+
id: string;
|
5882
|
+
isPrimary: boolean;
|
5883
|
+
email: string;
|
5884
|
+
createdAt: Date;
|
5885
|
+
updatedAt: Date;
|
5886
|
+
deletedAt: Date | null;
|
5887
|
+
}[];
|
5888
|
+
contactPhones: {
|
5889
|
+
id: string;
|
5890
|
+
isPrimary: boolean;
|
5891
|
+
createdAt: Date;
|
5892
|
+
updatedAt: Date;
|
5893
|
+
deletedAt: Date | null;
|
5894
|
+
phone: string;
|
5895
|
+
}[];
|
5896
|
+
activityLogs?: {
|
5897
|
+
id: string;
|
5898
|
+
description: string;
|
5899
|
+
createdAt: Date;
|
5900
|
+
updatedAt: Date;
|
5901
|
+
deletedAt: Date | null;
|
5902
|
+
entityId: string;
|
5903
|
+
entityType: {
|
4579
5904
|
id: string;
|
5905
|
+
description: string | null;
|
4580
5906
|
createdAt: Date;
|
4581
5907
|
updatedAt: Date;
|
4582
5908
|
deletedAt: Date | null;
|
4583
|
-
|
4584
|
-
sipServerUrl: string;
|
4585
|
-
sipUserName: string;
|
4586
|
-
webphoneLoginUser: string;
|
4587
|
-
extensionId: number;
|
4588
|
-
extensionName: string;
|
4589
|
-
telephonySignature: string | null;
|
5909
|
+
entity: string;
|
4590
5910
|
};
|
4591
|
-
} | undefined;
|
5911
|
+
}[] | undefined;
|
4592
5912
|
} | undefined;
|
4593
|
-
|
4594
|
-
|
4595
|
-
|
4596
|
-
|
4597
|
-
|
4598
|
-
|
4599
|
-
|
4600
|
-
|
4601
|
-
|
4602
|
-
|
4603
|
-
uniqueCallId: string;
|
4604
|
-
timeStart: string;
|
4605
|
-
callFrom: string;
|
4606
|
-
callTo: string;
|
4607
|
-
callDuration: number | null;
|
4608
|
-
talkDuration: number | null;
|
4609
|
-
srcTrunkName: string | null;
|
4610
|
-
dstTrunkName: string | null;
|
4611
|
-
pinCode: string | null;
|
4612
|
-
didNumber: string | null;
|
4613
|
-
agentRingTime: number | null;
|
4614
|
-
uploadId: string | null;
|
4615
|
-
serialNumber: string | null;
|
4616
|
-
telephonyQueueId: string | null;
|
4617
|
-
contactId: string | null;
|
5913
|
+
telephonyQueue?: {
|
5914
|
+
id: string;
|
5915
|
+
createdAt: Date;
|
5916
|
+
updatedAt: Date;
|
5917
|
+
deletedAt: Date | null;
|
5918
|
+
queueId: number;
|
5919
|
+
queueName: string;
|
5920
|
+
queueNumber: string;
|
5921
|
+
maximumWaitingTime: number;
|
5922
|
+
} | null | undefined;
|
4618
5923
|
upload?: {
|
4619
5924
|
id: string;
|
4620
5925
|
createdAt: Date;
|
@@ -4625,7 +5930,20 @@ export declare const cxLogContract: {
|
|
4625
5930
|
bucketName: string;
|
4626
5931
|
fileSize: number;
|
4627
5932
|
fileUrl: string | null;
|
4628
|
-
} | undefined;
|
5933
|
+
} | null | undefined;
|
5934
|
+
extension?: {
|
5935
|
+
id: string;
|
5936
|
+
createdAt: Date;
|
5937
|
+
updatedAt: Date;
|
5938
|
+
deletedAt: Date | null;
|
5939
|
+
userId: string | null;
|
5940
|
+
sipServerUrl: string;
|
5941
|
+
sipUserName: string;
|
5942
|
+
webphoneLoginUser: string;
|
5943
|
+
extensionId: number;
|
5944
|
+
extensionName: string;
|
5945
|
+
telephonySignature: string | null;
|
5946
|
+
} | null | undefined;
|
4629
5947
|
} | null;
|
4630
5948
|
queue: {
|
4631
5949
|
queueName?: string | null | undefined;
|
@@ -5133,6 +6451,119 @@ export declare const cxLogContract: {
|
|
5133
6451
|
serialNumber: string | null;
|
5134
6452
|
telephonyQueueId: string | null;
|
5135
6453
|
contactId: string | null;
|
6454
|
+
contact?: {
|
6455
|
+
id: string;
|
6456
|
+
channel: string | null;
|
6457
|
+
address: string | null;
|
6458
|
+
name: string;
|
6459
|
+
createdAt: Date;
|
6460
|
+
updatedAt: Date;
|
6461
|
+
deletedAt: Date | null;
|
6462
|
+
customFields: {
|
6463
|
+
id: string;
|
6464
|
+
createdAt: Date;
|
6465
|
+
updatedAt: Date;
|
6466
|
+
deletedAt: Date | null;
|
6467
|
+
attribute: {
|
6468
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
6469
|
+
id: string;
|
6470
|
+
position: number;
|
6471
|
+
createdAt: Date;
|
6472
|
+
updatedAt: Date;
|
6473
|
+
deletedAt: Date | null;
|
6474
|
+
isDefault: boolean;
|
6475
|
+
systemName: string;
|
6476
|
+
displayName: string;
|
6477
|
+
isArchived: boolean;
|
6478
|
+
isRequired: boolean;
|
6479
|
+
isUnique: boolean;
|
6480
|
+
};
|
6481
|
+
textValue: string | null;
|
6482
|
+
booleanValue: boolean | null;
|
6483
|
+
numberValue: number | null;
|
6484
|
+
dateValue: Date | null;
|
6485
|
+
uploads: {
|
6486
|
+
id: string;
|
6487
|
+
createdAt: Date;
|
6488
|
+
updatedAt: Date;
|
6489
|
+
deletedAt: Date | null;
|
6490
|
+
customFieldId: string;
|
6491
|
+
upload: {
|
6492
|
+
id: string;
|
6493
|
+
createdAt: Date;
|
6494
|
+
updatedAt: Date;
|
6495
|
+
deletedAt: Date | null;
|
6496
|
+
fileName: string;
|
6497
|
+
fileKey: string;
|
6498
|
+
bucketName: string;
|
6499
|
+
fileSize: number;
|
6500
|
+
fileUrl: string | null;
|
6501
|
+
};
|
6502
|
+
}[];
|
6503
|
+
}[];
|
6504
|
+
notes: string | null;
|
6505
|
+
contactProfile: string | null;
|
6506
|
+
socialProfileUrl: string | null;
|
6507
|
+
tags: {
|
6508
|
+
id: string;
|
6509
|
+
name: string;
|
6510
|
+
createdAt: Date;
|
6511
|
+
updatedAt: Date;
|
6512
|
+
deletedAt: Date | null;
|
6513
|
+
}[];
|
6514
|
+
company: {
|
6515
|
+
id: string;
|
6516
|
+
createdAt: Date;
|
6517
|
+
updatedAt: Date;
|
6518
|
+
deletedAt: Date | null;
|
6519
|
+
address?: string | null | undefined;
|
6520
|
+
name?: string | undefined;
|
6521
|
+
phone?: string | null | undefined;
|
6522
|
+
industry?: string | null | undefined;
|
6523
|
+
} | null;
|
6524
|
+
contactEmails: {
|
6525
|
+
id: string;
|
6526
|
+
isPrimary: boolean;
|
6527
|
+
email: string;
|
6528
|
+
createdAt: Date;
|
6529
|
+
updatedAt: Date;
|
6530
|
+
deletedAt: Date | null;
|
6531
|
+
}[];
|
6532
|
+
contactPhones: {
|
6533
|
+
id: string;
|
6534
|
+
isPrimary: boolean;
|
6535
|
+
createdAt: Date;
|
6536
|
+
updatedAt: Date;
|
6537
|
+
deletedAt: Date | null;
|
6538
|
+
phone: string;
|
6539
|
+
}[];
|
6540
|
+
activityLogs?: {
|
6541
|
+
id: string;
|
6542
|
+
description: string;
|
6543
|
+
createdAt: Date;
|
6544
|
+
updatedAt: Date;
|
6545
|
+
deletedAt: Date | null;
|
6546
|
+
entityId: string;
|
6547
|
+
entityType: {
|
6548
|
+
id: string;
|
6549
|
+
description: string | null;
|
6550
|
+
createdAt: Date;
|
6551
|
+
updatedAt: Date;
|
6552
|
+
deletedAt: Date | null;
|
6553
|
+
entity: string;
|
6554
|
+
};
|
6555
|
+
}[] | undefined;
|
6556
|
+
} | undefined;
|
6557
|
+
telephonyQueue?: {
|
6558
|
+
id: string;
|
6559
|
+
createdAt: Date;
|
6560
|
+
updatedAt: Date;
|
6561
|
+
deletedAt: Date | null;
|
6562
|
+
queueId: number;
|
6563
|
+
queueName: string;
|
6564
|
+
queueNumber: string;
|
6565
|
+
maximumWaitingTime: number;
|
6566
|
+
} | null | undefined;
|
5136
6567
|
upload?: {
|
5137
6568
|
id: string;
|
5138
6569
|
createdAt: Date;
|
@@ -5143,7 +6574,20 @@ export declare const cxLogContract: {
|
|
5143
6574
|
bucketName: string;
|
5144
6575
|
fileSize: number;
|
5145
6576
|
fileUrl: string | null;
|
5146
|
-
} | undefined;
|
6577
|
+
} | null | undefined;
|
6578
|
+
extension?: {
|
6579
|
+
id: string;
|
6580
|
+
createdAt: Date;
|
6581
|
+
updatedAt: Date;
|
6582
|
+
deletedAt: Date | null;
|
6583
|
+
userId: string | null;
|
6584
|
+
sipServerUrl: string;
|
6585
|
+
sipUserName: string;
|
6586
|
+
webphoneLoginUser: string;
|
6587
|
+
extensionId: number;
|
6588
|
+
extensionName: string;
|
6589
|
+
telephonySignature: string | null;
|
6590
|
+
} | null | undefined;
|
5147
6591
|
} | null;
|
5148
6592
|
queue: {
|
5149
6593
|
queueName?: string | null | undefined;
|
@@ -5651,6 +7095,119 @@ export declare const cxLogContract: {
|
|
5651
7095
|
serialNumber: string | null;
|
5652
7096
|
telephonyQueueId: string | null;
|
5653
7097
|
contactId: string | null;
|
7098
|
+
contact?: {
|
7099
|
+
id: string;
|
7100
|
+
channel: string | null;
|
7101
|
+
address: string | null;
|
7102
|
+
name: string;
|
7103
|
+
createdAt: Date;
|
7104
|
+
updatedAt: Date;
|
7105
|
+
deletedAt: Date | null;
|
7106
|
+
customFields: {
|
7107
|
+
id: string;
|
7108
|
+
createdAt: Date;
|
7109
|
+
updatedAt: Date;
|
7110
|
+
deletedAt: Date | null;
|
7111
|
+
attribute: {
|
7112
|
+
type: "link" | "attachment" | "select" | "textarea" | "text" | "date";
|
7113
|
+
id: string;
|
7114
|
+
position: number;
|
7115
|
+
createdAt: Date;
|
7116
|
+
updatedAt: Date;
|
7117
|
+
deletedAt: Date | null;
|
7118
|
+
isDefault: boolean;
|
7119
|
+
systemName: string;
|
7120
|
+
displayName: string;
|
7121
|
+
isArchived: boolean;
|
7122
|
+
isRequired: boolean;
|
7123
|
+
isUnique: boolean;
|
7124
|
+
};
|
7125
|
+
textValue: string | null;
|
7126
|
+
booleanValue: boolean | null;
|
7127
|
+
numberValue: number | null;
|
7128
|
+
dateValue: Date | null;
|
7129
|
+
uploads: {
|
7130
|
+
id: string;
|
7131
|
+
createdAt: Date;
|
7132
|
+
updatedAt: Date;
|
7133
|
+
deletedAt: Date | null;
|
7134
|
+
customFieldId: string;
|
7135
|
+
upload: {
|
7136
|
+
id: string;
|
7137
|
+
createdAt: Date;
|
7138
|
+
updatedAt: Date;
|
7139
|
+
deletedAt: Date | null;
|
7140
|
+
fileName: string;
|
7141
|
+
fileKey: string;
|
7142
|
+
bucketName: string;
|
7143
|
+
fileSize: number;
|
7144
|
+
fileUrl: string | null;
|
7145
|
+
};
|
7146
|
+
}[];
|
7147
|
+
}[];
|
7148
|
+
notes: string | null;
|
7149
|
+
contactProfile: string | null;
|
7150
|
+
socialProfileUrl: string | null;
|
7151
|
+
tags: {
|
7152
|
+
id: string;
|
7153
|
+
name: string;
|
7154
|
+
createdAt: Date;
|
7155
|
+
updatedAt: Date;
|
7156
|
+
deletedAt: Date | null;
|
7157
|
+
}[];
|
7158
|
+
company: {
|
7159
|
+
id: string;
|
7160
|
+
createdAt: Date;
|
7161
|
+
updatedAt: Date;
|
7162
|
+
deletedAt: Date | null;
|
7163
|
+
address?: string | null | undefined;
|
7164
|
+
name?: string | undefined;
|
7165
|
+
phone?: string | null | undefined;
|
7166
|
+
industry?: string | null | undefined;
|
7167
|
+
} | null;
|
7168
|
+
contactEmails: {
|
7169
|
+
id: string;
|
7170
|
+
isPrimary: boolean;
|
7171
|
+
email: string;
|
7172
|
+
createdAt: Date;
|
7173
|
+
updatedAt: Date;
|
7174
|
+
deletedAt: Date | null;
|
7175
|
+
}[];
|
7176
|
+
contactPhones: {
|
7177
|
+
id: string;
|
7178
|
+
isPrimary: boolean;
|
7179
|
+
createdAt: Date;
|
7180
|
+
updatedAt: Date;
|
7181
|
+
deletedAt: Date | null;
|
7182
|
+
phone: string;
|
7183
|
+
}[];
|
7184
|
+
activityLogs?: {
|
7185
|
+
id: string;
|
7186
|
+
description: string;
|
7187
|
+
createdAt: Date;
|
7188
|
+
updatedAt: Date;
|
7189
|
+
deletedAt: Date | null;
|
7190
|
+
entityId: string;
|
7191
|
+
entityType: {
|
7192
|
+
id: string;
|
7193
|
+
description: string | null;
|
7194
|
+
createdAt: Date;
|
7195
|
+
updatedAt: Date;
|
7196
|
+
deletedAt: Date | null;
|
7197
|
+
entity: string;
|
7198
|
+
};
|
7199
|
+
}[] | undefined;
|
7200
|
+
} | undefined;
|
7201
|
+
telephonyQueue?: {
|
7202
|
+
id: string;
|
7203
|
+
createdAt: Date;
|
7204
|
+
updatedAt: Date;
|
7205
|
+
deletedAt: Date | null;
|
7206
|
+
queueId: number;
|
7207
|
+
queueName: string;
|
7208
|
+
queueNumber: string;
|
7209
|
+
maximumWaitingTime: number;
|
7210
|
+
} | null | undefined;
|
5654
7211
|
upload?: {
|
5655
7212
|
id: string;
|
5656
7213
|
createdAt: Date;
|
@@ -5661,7 +7218,20 @@ export declare const cxLogContract: {
|
|
5661
7218
|
bucketName: string;
|
5662
7219
|
fileSize: number;
|
5663
7220
|
fileUrl: string | null;
|
5664
|
-
} | undefined;
|
7221
|
+
} | null | undefined;
|
7222
|
+
extension?: {
|
7223
|
+
id: string;
|
7224
|
+
createdAt: Date;
|
7225
|
+
updatedAt: Date;
|
7226
|
+
deletedAt: Date | null;
|
7227
|
+
userId: string | null;
|
7228
|
+
sipServerUrl: string;
|
7229
|
+
sipUserName: string;
|
7230
|
+
webphoneLoginUser: string;
|
7231
|
+
extensionId: number;
|
7232
|
+
extensionName: string;
|
7233
|
+
telephonySignature: string | null;
|
7234
|
+
} | null | undefined;
|
5665
7235
|
} | null;
|
5666
7236
|
queue: {
|
5667
7237
|
queueName?: string | null | undefined;
|