@kl1/contracts 1.1.22 → 1.1.23
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 +579 -211
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +578 -211
- package/dist/index.mjs.map +1 -1
- package/dist/src/business-calendar/index.d.ts +799 -0
- package/dist/src/business-calendar/index.d.ts.map +1 -0
- package/dist/src/business-calendar/schema.d.ts +172 -0
- package/dist/src/business-calendar/schema.d.ts.map +1 -0
- package/dist/src/business-calendar/validation.d.ts +210 -0
- package/dist/src/business-calendar/validation.d.ts.map +1 -0
- package/dist/src/channel/index.d.ts +725 -611
- package/dist/src/channel/index.d.ts.map +1 -1
- package/dist/src/channel/schema.d.ts +12 -12
- package/dist/src/channel/schema.d.ts.map +1 -1
- package/dist/src/channel/validation.d.ts +71 -8
- package/dist/src/channel/validation.d.ts.map +1 -1
- package/dist/src/chat/index.d.ts +5144 -299
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/schema.d.ts +807 -47
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +1093 -118
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/contract.d.ts +26553 -6263
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/cx-log/index.d.ts +376 -31
- package/dist/src/cx-log/index.d.ts.map +1 -1
- package/dist/src/cx-log/schema.d.ts +577 -27
- package/dist/src/cx-log/schema.d.ts.map +1 -1
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/instagram/index.d.ts +628 -138
- package/dist/src/instagram/index.d.ts.map +1 -1
- package/dist/src/line/index.d.ts +623 -133
- package/dist/src/line/index.d.ts.map +1 -1
- package/dist/src/line/schema.d.ts.map +1 -1
- package/dist/src/line/validation.d.ts +23 -23
- package/dist/src/line/validation.d.ts.map +1 -1
- package/dist/src/mail/account-contract.d.ts +230 -4
- package/dist/src/mail/account-contract.d.ts.map +1 -1
- package/dist/src/mail/mail-contract.d.ts +3277 -435
- package/dist/src/mail/mail-contract.d.ts.map +1 -1
- package/dist/src/mail/message-contract.d.ts +58 -1
- package/dist/src/mail/message-contract.d.ts.map +1 -1
- package/dist/src/mail/room-contract.d.ts +3009 -450
- package/dist/src/mail/room-contract.d.ts.map +1 -1
- package/dist/src/mail/schemas/room-validation.schema.d.ts +731 -6
- package/dist/src/mail/schemas/room-validation.schema.d.ts.map +1 -1
- package/dist/src/mail/schemas/room.schema.d.ts +557 -0
- package/dist/src/mail/schemas/room.schema.d.ts.map +1 -1
- package/dist/src/messenger/index.d.ts +628 -138
- package/dist/src/messenger/index.d.ts.map +1 -1
- package/dist/src/messenger/validation.d.ts +13 -13
- package/dist/src/snippet/index.d.ts +545 -97
- package/dist/src/snippet/index.d.ts.map +1 -1
- package/dist/src/snippet/schema.d.ts +220 -19
- package/dist/src/snippet/schema.d.ts.map +1 -1
- package/dist/src/snippet/validation.d.ts +5 -5
- package/dist/src/viber/index.d.ts +592 -102
- package/dist/src/viber/index.d.ts.map +1 -1
- package/dist/src/webchat/index.d.ts +8506 -0
- package/dist/src/webchat/index.d.ts.map +1 -0
- package/dist/src/webchat/schema.d.ts +95 -0
- package/dist/src/webchat/schema.d.ts.map +1 -0
- package/dist/src/webchat/validation.d.ts +36 -0
- package/dist/src/webchat/validation.d.ts.map +1 -0
- package/dist/src/workflow-rule/index.d.ts +7295 -0
- package/dist/src/workflow-rule/index.d.ts.map +1 -0
- package/dist/src/workflow-rule/schema.d.ts +27 -0
- package/dist/src/workflow-rule/schema.d.ts.map +1 -0
- package/dist/src/wrap-up-form/index.d.ts +1000 -6
- package/dist/src/wrap-up-form/index.d.ts.map +1 -1
- package/dist/src/wrap-up-form/schema.d.ts +207 -2
- package/dist/src/wrap-up-form/schema.d.ts.map +1 -1
- package/dist/src/wrap-up-form/validation.d.ts +29 -0
- package/dist/src/wrap-up-form/validation.d.ts.map +1 -1
- package/package.json +1 -1
@@ -40,7 +40,7 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
40
40
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
41
41
|
channelId: z.ZodString;
|
42
42
|
socialPlatformId: z.ZodString;
|
43
|
-
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
43
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat"]>;
|
44
44
|
metadata: z.ZodObject<{
|
45
45
|
id: z.ZodString;
|
46
46
|
name: z.ZodString;
|
@@ -745,7 +745,7 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
745
745
|
}[] | undefined;
|
746
746
|
}>;
|
747
747
|
}, "strip", z.ZodTypeAny, {
|
748
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
748
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
749
749
|
id: string;
|
750
750
|
metadata: {
|
751
751
|
id: string;
|
@@ -856,7 +856,7 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
856
856
|
channelId: string;
|
857
857
|
socialPlatformId: string;
|
858
858
|
}, {
|
859
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
859
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
860
860
|
id: string;
|
861
861
|
metadata: {
|
862
862
|
id: string;
|
@@ -992,7 +992,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
992
992
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
993
993
|
channelId: z.ZodString;
|
994
994
|
socialPlatformId: z.ZodString;
|
995
|
-
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
995
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat"]>;
|
996
996
|
metadata: z.ZodObject<{
|
997
997
|
id: z.ZodString;
|
998
998
|
name: z.ZodString;
|
@@ -1697,7 +1697,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1697
1697
|
}[] | undefined;
|
1698
1698
|
}>;
|
1699
1699
|
}, "strip", z.ZodTypeAny, {
|
1700
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
1700
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
1701
1701
|
id: string;
|
1702
1702
|
metadata: {
|
1703
1703
|
id: string;
|
@@ -1808,7 +1808,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1808
1808
|
channelId: string;
|
1809
1809
|
socialPlatformId: string;
|
1810
1810
|
}, {
|
1811
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
1811
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
1812
1812
|
id: string;
|
1813
1813
|
metadata: {
|
1814
1814
|
id: string;
|
@@ -2333,23 +2333,23 @@ export declare const RoomSchema: z.ZodObject<{
|
|
2333
2333
|
updatedAt: z.ZodDate;
|
2334
2334
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
2335
2335
|
name: z.ZodString;
|
2336
|
-
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
2336
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat"]>;
|
2337
2337
|
metadata: z.ZodObject<{
|
2338
2338
|
id: z.ZodString;
|
2339
2339
|
name: z.ZodString;
|
2340
|
-
accessToken: z.ZodString
|
2340
|
+
accessToken: z.ZodOptional<z.ZodString>;
|
2341
2341
|
channelSecret: z.ZodOptional<z.ZodString>;
|
2342
2342
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
2343
2343
|
}, "strip", z.ZodTypeAny, {
|
2344
2344
|
id: string;
|
2345
2345
|
name: string;
|
2346
|
-
accessToken
|
2346
|
+
accessToken?: string | undefined;
|
2347
2347
|
channelSecret?: string | undefined;
|
2348
2348
|
additionalCredentials?: any;
|
2349
2349
|
}, {
|
2350
2350
|
id: string;
|
2351
2351
|
name: string;
|
2352
|
-
accessToken
|
2352
|
+
accessToken?: string | undefined;
|
2353
2353
|
channelSecret?: string | undefined;
|
2354
2354
|
additionalCredentials?: any;
|
2355
2355
|
}>;
|
@@ -2564,13 +2564,13 @@ export declare const RoomSchema: z.ZodObject<{
|
|
2564
2564
|
};
|
2565
2565
|
}>;
|
2566
2566
|
}, "strip", z.ZodTypeAny, {
|
2567
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
2567
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
2568
2568
|
id: string;
|
2569
2569
|
name: string;
|
2570
2570
|
metadata: {
|
2571
2571
|
id: string;
|
2572
2572
|
name: string;
|
2573
|
-
accessToken
|
2573
|
+
accessToken?: string | undefined;
|
2574
2574
|
channelSecret?: string | undefined;
|
2575
2575
|
additionalCredentials?: any;
|
2576
2576
|
};
|
@@ -2628,13 +2628,13 @@ export declare const RoomSchema: z.ZodObject<{
|
|
2628
2628
|
connectedUserName: string;
|
2629
2629
|
connectedUserId: string;
|
2630
2630
|
}, {
|
2631
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
2631
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
2632
2632
|
id: string;
|
2633
2633
|
name: string;
|
2634
2634
|
metadata: {
|
2635
2635
|
id: string;
|
2636
2636
|
name: string;
|
2637
|
-
accessToken
|
2637
|
+
accessToken?: string | undefined;
|
2638
2638
|
channelSecret?: string | undefined;
|
2639
2639
|
additionalCredentials?: any;
|
2640
2640
|
};
|
@@ -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
|
-
|
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.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">>>;
|
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
|
+
}[] | null | 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
|
+
}[] | null | 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
|
+
}[] | null | 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,18 +3097,30 @@ 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
|
+
}[] | null | undefined;
|
2837
3112
|
} | null;
|
2838
3113
|
}>;
|
2839
3114
|
}, "strip", z.ZodTypeAny, {
|
2840
3115
|
id: string;
|
2841
3116
|
channel: {
|
2842
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
3117
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
2843
3118
|
id: string;
|
2844
3119
|
name: string;
|
2845
3120
|
metadata: {
|
2846
3121
|
id: string;
|
2847
3122
|
name: string;
|
2848
|
-
accessToken
|
3123
|
+
accessToken?: string | undefined;
|
2849
3124
|
channelSecret?: string | undefined;
|
2850
3125
|
additionalCredentials?: any;
|
2851
3126
|
};
|
@@ -2959,7 +3234,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
2959
3234
|
firstResponseAt: Date;
|
2960
3235
|
isLatest: boolean;
|
2961
3236
|
platformContact: {
|
2962
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
3237
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
2963
3238
|
id: string;
|
2964
3239
|
metadata: {
|
2965
3240
|
id: string;
|
@@ -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,18 +3446,30 @@ 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
|
+
}[] | null | undefined;
|
3151
3461
|
} | null;
|
3152
3462
|
};
|
3153
3463
|
}, {
|
3154
3464
|
id: string;
|
3155
3465
|
channel: {
|
3156
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
3466
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
3157
3467
|
id: string;
|
3158
3468
|
name: string;
|
3159
3469
|
metadata: {
|
3160
3470
|
id: string;
|
3161
3471
|
name: string;
|
3162
|
-
accessToken
|
3472
|
+
accessToken?: string | undefined;
|
3163
3473
|
channelSecret?: string | undefined;
|
3164
3474
|
additionalCredentials?: any;
|
3165
3475
|
};
|
@@ -3273,7 +3583,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3273
3583
|
firstResponseAt: Date;
|
3274
3584
|
isLatest: boolean;
|
3275
3585
|
platformContact: {
|
3276
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
3586
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
3277
3587
|
id: string;
|
3278
3588
|
metadata: {
|
3279
3589
|
id: string;
|
@@ -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
|
+
}[] | null | undefined;
|
3465
3810
|
} | null;
|
3466
3811
|
};
|
3467
3812
|
}>;
|
@@ -3508,7 +3853,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
3508
3853
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3509
3854
|
channelId: z.ZodString;
|
3510
3855
|
socialPlatformId: z.ZodString;
|
3511
|
-
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
3856
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat"]>;
|
3512
3857
|
metadata: z.ZodObject<{
|
3513
3858
|
id: z.ZodString;
|
3514
3859
|
name: z.ZodString;
|
@@ -4213,7 +4558,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
4213
4558
|
}[] | undefined;
|
4214
4559
|
}>;
|
4215
4560
|
}, "strip", z.ZodTypeAny, {
|
4216
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
4561
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
4217
4562
|
id: string;
|
4218
4563
|
metadata: {
|
4219
4564
|
id: string;
|
@@ -4324,7 +4669,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
4324
4669
|
channelId: string;
|
4325
4670
|
socialPlatformId: string;
|
4326
4671
|
}, {
|
4327
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
4672
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
4328
4673
|
id: string;
|
4329
4674
|
metadata: {
|
4330
4675
|
id: string;
|
@@ -4849,23 +5194,23 @@ export declare const MessageSchema: z.ZodObject<{
|
|
4849
5194
|
updatedAt: z.ZodDate;
|
4850
5195
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4851
5196
|
name: z.ZodString;
|
4852
|
-
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
5197
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "instagram", "line", "viber", "kakao", "shopee", "lazada", "webchat"]>;
|
4853
5198
|
metadata: z.ZodObject<{
|
4854
5199
|
id: z.ZodString;
|
4855
5200
|
name: z.ZodString;
|
4856
|
-
accessToken: z.ZodString
|
5201
|
+
accessToken: z.ZodOptional<z.ZodString>;
|
4857
5202
|
channelSecret: z.ZodOptional<z.ZodString>;
|
4858
5203
|
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
4859
5204
|
}, "strip", z.ZodTypeAny, {
|
4860
5205
|
id: string;
|
4861
5206
|
name: string;
|
4862
|
-
accessToken
|
5207
|
+
accessToken?: string | undefined;
|
4863
5208
|
channelSecret?: string | undefined;
|
4864
5209
|
additionalCredentials?: any;
|
4865
5210
|
}, {
|
4866
5211
|
id: string;
|
4867
5212
|
name: string;
|
4868
|
-
accessToken
|
5213
|
+
accessToken?: string | undefined;
|
4869
5214
|
channelSecret?: string | undefined;
|
4870
5215
|
additionalCredentials?: any;
|
4871
5216
|
}>;
|
@@ -5080,13 +5425,13 @@ export declare const MessageSchema: z.ZodObject<{
|
|
5080
5425
|
};
|
5081
5426
|
}>;
|
5082
5427
|
}, "strip", z.ZodTypeAny, {
|
5083
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
5428
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
5084
5429
|
id: string;
|
5085
5430
|
name: string;
|
5086
5431
|
metadata: {
|
5087
5432
|
id: string;
|
5088
5433
|
name: string;
|
5089
|
-
accessToken
|
5434
|
+
accessToken?: string | undefined;
|
5090
5435
|
channelSecret?: string | undefined;
|
5091
5436
|
additionalCredentials?: any;
|
5092
5437
|
};
|
@@ -5144,13 +5489,13 @@ export declare const MessageSchema: z.ZodObject<{
|
|
5144
5489
|
connectedUserName: string;
|
5145
5490
|
connectedUserId: string;
|
5146
5491
|
}, {
|
5147
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
5492
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
5148
5493
|
id: string;
|
5149
5494
|
name: string;
|
5150
5495
|
metadata: {
|
5151
5496
|
id: string;
|
5152
5497
|
name: string;
|
5153
|
-
accessToken
|
5498
|
+
accessToken?: string | undefined;
|
5154
5499
|
channelSecret?: string | undefined;
|
5155
5500
|
additionalCredentials?: any;
|
5156
5501
|
};
|
@@ -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
|
-
|
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.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">>>;
|
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
|
+
}[] | null | 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
|
+
}[] | null | 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
|
+
}[] | null | 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,18 +5958,30 @@ 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
|
+
}[] | null | undefined;
|
5353
5973
|
} | null;
|
5354
5974
|
}>;
|
5355
5975
|
}, "strip", z.ZodTypeAny, {
|
5356
5976
|
id: string;
|
5357
5977
|
channel: {
|
5358
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
5978
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
5359
5979
|
id: string;
|
5360
5980
|
name: string;
|
5361
5981
|
metadata: {
|
5362
5982
|
id: string;
|
5363
5983
|
name: string;
|
5364
|
-
accessToken
|
5984
|
+
accessToken?: string | undefined;
|
5365
5985
|
channelSecret?: string | undefined;
|
5366
5986
|
additionalCredentials?: any;
|
5367
5987
|
};
|
@@ -5475,7 +6095,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
5475
6095
|
firstResponseAt: Date;
|
5476
6096
|
isLatest: boolean;
|
5477
6097
|
platformContact: {
|
5478
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
6098
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
5479
6099
|
id: string;
|
5480
6100
|
metadata: {
|
5481
6101
|
id: string;
|
@@ -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,18 +6307,30 @@ 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
|
+
}[] | null | undefined;
|
5667
6322
|
} | null;
|
5668
6323
|
};
|
5669
6324
|
}, {
|
5670
6325
|
id: string;
|
5671
6326
|
channel: {
|
5672
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
6327
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
5673
6328
|
id: string;
|
5674
6329
|
name: string;
|
5675
6330
|
metadata: {
|
5676
6331
|
id: string;
|
5677
6332
|
name: string;
|
5678
|
-
accessToken
|
6333
|
+
accessToken?: string | undefined;
|
5679
6334
|
channelSecret?: string | undefined;
|
5680
6335
|
additionalCredentials?: any;
|
5681
6336
|
};
|
@@ -5789,7 +6444,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
5789
6444
|
firstResponseAt: Date;
|
5790
6445
|
isLatest: boolean;
|
5791
6446
|
platformContact: {
|
5792
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
6447
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
5793
6448
|
id: string;
|
5794
6449
|
metadata: {
|
5795
6450
|
id: string;
|
@@ -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
|
+
}[] | null | undefined;
|
5981
6671
|
} | null;
|
5982
6672
|
};
|
5983
6673
|
}>;
|
@@ -7735,13 +8425,13 @@ export declare const MessageSchema: z.ZodObject<{
|
|
7735
8425
|
room: {
|
7736
8426
|
id: string;
|
7737
8427
|
channel: {
|
7738
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
8428
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
7739
8429
|
id: string;
|
7740
8430
|
name: string;
|
7741
8431
|
metadata: {
|
7742
8432
|
id: string;
|
7743
8433
|
name: string;
|
7744
|
-
accessToken
|
8434
|
+
accessToken?: string | undefined;
|
7745
8435
|
channelSecret?: string | undefined;
|
7746
8436
|
additionalCredentials?: any;
|
7747
8437
|
};
|
@@ -7855,7 +8545,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
7855
8545
|
firstResponseAt: Date;
|
7856
8546
|
isLatest: boolean;
|
7857
8547
|
platformContact: {
|
7858
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
8548
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
7859
8549
|
id: string;
|
7860
8550
|
metadata: {
|
7861
8551
|
id: string;
|
@@ -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
|
+
}[] | null | undefined;
|
8047
8772
|
} | null;
|
8048
8773
|
};
|
8049
8774
|
};
|
@@ -8375,13 +9100,13 @@ export declare const MessageSchema: z.ZodObject<{
|
|
8375
9100
|
room: {
|
8376
9101
|
id: string;
|
8377
9102
|
channel: {
|
8378
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
9103
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
8379
9104
|
id: string;
|
8380
9105
|
name: string;
|
8381
9106
|
metadata: {
|
8382
9107
|
id: string;
|
8383
9108
|
name: string;
|
8384
|
-
accessToken
|
9109
|
+
accessToken?: string | undefined;
|
8385
9110
|
channelSecret?: string | undefined;
|
8386
9111
|
additionalCredentials?: any;
|
8387
9112
|
};
|
@@ -8495,7 +9220,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
8495
9220
|
firstResponseAt: Date;
|
8496
9221
|
isLatest: boolean;
|
8497
9222
|
platformContact: {
|
8498
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada";
|
9223
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "instagram" | "viber" | "kakao" | "shopee" | "lazada" | "webchat";
|
8499
9224
|
id: string;
|
8500
9225
|
metadata: {
|
8501
9226
|
id: string;
|
@@ -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
|
+
}[] | null | undefined;
|
8687
9447
|
} | null;
|
8688
9448
|
};
|
8689
9449
|
};
|