@kl1/contracts 1.0.18 → 1.0.20
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 +1725 -1047
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1725 -1047
- package/dist/index.mjs.map +1 -1
- package/dist/src/call-log/schema.d.ts +8 -8
- package/dist/src/call-log/validation.d.ts +4 -4
- package/dist/src/channel/index.d.ts +23 -23
- package/dist/src/channel/schema.d.ts +11 -8
- package/dist/src/channel/schema.d.ts.map +1 -1
- package/dist/src/channel/validation.d.ts +3 -3
- package/dist/src/chat/index.d.ts +4272 -481
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/schema.d.ts +348 -56
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +5330 -73
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/company/index.d.ts +1803 -0
- package/dist/src/company/index.d.ts.map +1 -0
- package/dist/src/company/schema.d.ts +5 -5
- package/dist/src/company/validation.d.ts +852 -0
- package/dist/src/company/validation.d.ts.map +1 -0
- package/dist/src/contact/index.d.ts +21 -21
- package/dist/src/contact/schema.d.ts +3 -3
- package/dist/src/contact/validation.d.ts +21 -21
- package/dist/src/contract.d.ts +12941 -5216
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/cx-log/index.d.ts +129 -0
- package/dist/src/cx-log/index.d.ts.map +1 -1
- package/dist/src/cx-log/schema.d.ts +95 -0
- package/dist/src/cx-log/schema.d.ts.map +1 -1
- package/dist/src/dashboard/index.d.ts +1852 -0
- package/dist/src/dashboard/index.d.ts.map +1 -0
- package/dist/src/dashboard/schema.d.ts +885 -0
- package/dist/src/dashboard/schema.d.ts.map +1 -0
- package/dist/src/dashboard/validation.d.ts +19 -0
- package/dist/src/dashboard/validation.d.ts.map +1 -0
- package/dist/src/mail/mail-contract.d.ts +12 -12
- package/dist/src/mail/room-contract.d.ts +12 -12
- package/dist/src/mail/schemas/room-validation.schema.d.ts +4 -4
- package/dist/src/mail/schemas/room.schema.d.ts +2 -2
- package/dist/src/messenger/index.d.ts +255 -73
- package/dist/src/messenger/index.d.ts.map +1 -1
- package/dist/src/telephony-cdr/schema.d.ts +4 -4
- package/dist/src/telephony-live-queue-call/schema.d.ts +2 -2
- package/dist/src/telephony-queue-call-count/schema.d.ts +2 -2
- package/dist/src/ticket/index.d.ts +59 -62
- package/dist/src/ticket/index.d.ts.map +1 -1
- package/dist/src/ticket/validation.d.ts +59 -62
- package/dist/src/ticket/validation.d.ts.map +1 -1
- package/dist/src/user/index.d.ts.map +1 -1
- package/package.json +4 -10
- package/dist/src/platform-contact/schema.d.ts +0 -30
- package/dist/src/platform-contact/schema.d.ts.map +0 -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", "line", "viber", "kakao", "shopee", "lazada"]>;
|
43
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
|
44
44
|
metadata: z.ZodObject<{
|
45
45
|
id: z.ZodString;
|
46
46
|
name: z.ZodString;
|
@@ -104,7 +104,7 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
104
104
|
textValue: z.ZodNullable<z.ZodString>;
|
105
105
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
106
106
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
107
|
-
dateValue: z.ZodNullable<z.
|
107
|
+
dateValue: z.ZodNullable<z.ZodDate>;
|
108
108
|
attribute: z.ZodObject<Omit<{
|
109
109
|
id: z.ZodString;
|
110
110
|
createdAt: z.ZodDate;
|
@@ -208,7 +208,7 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
208
208
|
textValue: string | null;
|
209
209
|
booleanValue: boolean | null;
|
210
210
|
numberValue: number | null;
|
211
|
-
dateValue:
|
211
|
+
dateValue: Date | null;
|
212
212
|
}, {
|
213
213
|
id: string;
|
214
214
|
createdAt: Date;
|
@@ -231,7 +231,7 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
231
231
|
textValue: string | null;
|
232
232
|
booleanValue: boolean | null;
|
233
233
|
numberValue: number | null;
|
234
|
-
dateValue:
|
234
|
+
dateValue: Date | null;
|
235
235
|
}>, "many">>;
|
236
236
|
}, "customFields">, "strip", z.ZodTypeAny, {
|
237
237
|
id: string;
|
@@ -798,7 +798,7 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
798
798
|
}[] | undefined;
|
799
799
|
}>;
|
800
800
|
}, "strip", z.ZodTypeAny, {
|
801
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
|
801
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
802
802
|
id: string;
|
803
803
|
metadata: {
|
804
804
|
id: string;
|
@@ -914,7 +914,7 @@ export declare const PlatformContactSchema: z.ZodObject<{
|
|
914
914
|
channelId: string;
|
915
915
|
socialPlatformId: string;
|
916
916
|
}, {
|
917
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
|
917
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
918
918
|
id: string;
|
919
919
|
metadata: {
|
920
920
|
id: string;
|
@@ -1053,7 +1053,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1053
1053
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
1054
1054
|
channelId: z.ZodString;
|
1055
1055
|
socialPlatformId: z.ZodString;
|
1056
|
-
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
1056
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
|
1057
1057
|
metadata: z.ZodObject<{
|
1058
1058
|
id: z.ZodString;
|
1059
1059
|
name: z.ZodString;
|
@@ -1117,7 +1117,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1117
1117
|
textValue: z.ZodNullable<z.ZodString>;
|
1118
1118
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
1119
1119
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
1120
|
-
dateValue: z.ZodNullable<z.
|
1120
|
+
dateValue: z.ZodNullable<z.ZodDate>;
|
1121
1121
|
attribute: z.ZodObject<Omit<{
|
1122
1122
|
id: z.ZodString;
|
1123
1123
|
createdAt: z.ZodDate;
|
@@ -1221,7 +1221,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1221
1221
|
textValue: string | null;
|
1222
1222
|
booleanValue: boolean | null;
|
1223
1223
|
numberValue: number | null;
|
1224
|
-
dateValue:
|
1224
|
+
dateValue: Date | null;
|
1225
1225
|
}, {
|
1226
1226
|
id: string;
|
1227
1227
|
createdAt: Date;
|
@@ -1244,7 +1244,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1244
1244
|
textValue: string | null;
|
1245
1245
|
booleanValue: boolean | null;
|
1246
1246
|
numberValue: number | null;
|
1247
|
-
dateValue:
|
1247
|
+
dateValue: Date | null;
|
1248
1248
|
}>, "many">>;
|
1249
1249
|
}, "customFields">, "strip", z.ZodTypeAny, {
|
1250
1250
|
id: string;
|
@@ -1811,7 +1811,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1811
1811
|
}[] | undefined;
|
1812
1812
|
}>;
|
1813
1813
|
}, "strip", z.ZodTypeAny, {
|
1814
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
|
1814
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
1815
1815
|
id: string;
|
1816
1816
|
metadata: {
|
1817
1817
|
id: string;
|
@@ -1927,7 +1927,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1927
1927
|
channelId: string;
|
1928
1928
|
socialPlatformId: string;
|
1929
1929
|
}, {
|
1930
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
|
1930
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
1931
1931
|
id: string;
|
1932
1932
|
metadata: {
|
1933
1933
|
id: string;
|
@@ -2447,7 +2447,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
2447
2447
|
updatedAt: z.ZodOptional<z.ZodDate>;
|
2448
2448
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
2449
2449
|
name: z.ZodOptional<z.ZodString>;
|
2450
|
-
type: z.ZodOptional<z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada"]>>;
|
2450
|
+
type: z.ZodOptional<z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>>;
|
2451
2451
|
metadata: z.ZodOptional<z.ZodObject<{
|
2452
2452
|
id: z.ZodString;
|
2453
2453
|
name: z.ZodString;
|
@@ -2466,7 +2466,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
2466
2466
|
}>>;
|
2467
2467
|
brandName: z.ZodOptional<z.ZodString>;
|
2468
2468
|
platformId: z.ZodOptional<z.ZodString>;
|
2469
|
-
status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<
|
2469
|
+
status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>>;
|
2470
2470
|
isReloginRequired: z.ZodOptional<z.ZodBoolean>;
|
2471
2471
|
connectedUserName: z.ZodOptional<z.ZodString>;
|
2472
2472
|
connectedUserId: z.ZodOptional<z.ZodString>;
|
@@ -2675,7 +2675,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
2675
2675
|
updatedAt?: Date | undefined;
|
2676
2676
|
deletedAt?: Date | null | undefined;
|
2677
2677
|
name?: string | undefined;
|
2678
|
-
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | undefined;
|
2678
|
+
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
2679
2679
|
metadata?: {
|
2680
2680
|
id: string;
|
2681
2681
|
name: string;
|
@@ -2684,7 +2684,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
2684
2684
|
} | undefined;
|
2685
2685
|
brandName?: string | undefined;
|
2686
2686
|
platformId?: string | undefined;
|
2687
|
-
status?:
|
2687
|
+
status?: boolean | undefined;
|
2688
2688
|
isReloginRequired?: boolean | undefined;
|
2689
2689
|
connectedUserName?: string | undefined;
|
2690
2690
|
connectedUserId?: string | undefined;
|
@@ -2737,7 +2737,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
2737
2737
|
updatedAt?: Date | undefined;
|
2738
2738
|
deletedAt?: Date | null | undefined;
|
2739
2739
|
name?: string | undefined;
|
2740
|
-
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | undefined;
|
2740
|
+
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
2741
2741
|
metadata?: {
|
2742
2742
|
id: string;
|
2743
2743
|
name: string;
|
@@ -2746,7 +2746,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
2746
2746
|
} | undefined;
|
2747
2747
|
brandName?: string | undefined;
|
2748
2748
|
platformId?: string | undefined;
|
2749
|
-
status?:
|
2749
|
+
status?: boolean | undefined;
|
2750
2750
|
isReloginRequired?: boolean | undefined;
|
2751
2751
|
connectedUserName?: string | undefined;
|
2752
2752
|
connectedUserId?: string | undefined;
|
@@ -2794,7 +2794,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
2794
2794
|
} | undefined;
|
2795
2795
|
} | undefined;
|
2796
2796
|
}>>;
|
2797
|
-
|
2797
|
+
cxlog: z.ZodObject<{
|
2798
2798
|
id: z.ZodString;
|
2799
2799
|
createdAt: z.ZodDate;
|
2800
2800
|
updatedAt: z.ZodDate;
|
@@ -2811,6 +2811,67 @@ export declare const RoomSchema: z.ZodObject<{
|
|
2811
2811
|
handledTime: z.ZodNullable<z.ZodNumber>;
|
2812
2812
|
firstResponseTime: z.ZodNullable<z.ZodNumber>;
|
2813
2813
|
disposition: z.ZodNullable<z.ZodString>;
|
2814
|
+
wrapUpForm: z.ZodNullable<z.ZodObject<{
|
2815
|
+
id: z.ZodString;
|
2816
|
+
createdAt: z.ZodDate;
|
2817
|
+
updatedAt: z.ZodDate;
|
2818
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
2819
|
+
note: z.ZodNullable<z.ZodString>;
|
2820
|
+
disposition: z.ZodNullable<z.ZodString>;
|
2821
|
+
callFrom: z.ZodNullable<z.ZodString>;
|
2822
|
+
callTo: z.ZodNullable<z.ZodString>;
|
2823
|
+
tags: z.ZodArray<z.ZodObject<{
|
2824
|
+
id: z.ZodString;
|
2825
|
+
createdAt: z.ZodDate;
|
2826
|
+
updatedAt: z.ZodDate;
|
2827
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
2828
|
+
name: z.ZodString;
|
2829
|
+
}, "strip", z.ZodTypeAny, {
|
2830
|
+
id: string;
|
2831
|
+
name: string;
|
2832
|
+
createdAt: Date;
|
2833
|
+
updatedAt: Date;
|
2834
|
+
deletedAt: Date | null;
|
2835
|
+
}, {
|
2836
|
+
id: string;
|
2837
|
+
name: string;
|
2838
|
+
createdAt: Date;
|
2839
|
+
updatedAt: Date;
|
2840
|
+
deletedAt: Date | null;
|
2841
|
+
}>, "many">;
|
2842
|
+
}, "strip", z.ZodTypeAny, {
|
2843
|
+
id: string;
|
2844
|
+
disposition: string | null;
|
2845
|
+
createdAt: Date;
|
2846
|
+
updatedAt: Date;
|
2847
|
+
deletedAt: Date | null;
|
2848
|
+
tags: {
|
2849
|
+
id: string;
|
2850
|
+
name: string;
|
2851
|
+
createdAt: Date;
|
2852
|
+
updatedAt: Date;
|
2853
|
+
deletedAt: Date | null;
|
2854
|
+
}[];
|
2855
|
+
note: string | null;
|
2856
|
+
callFrom: string | null;
|
2857
|
+
callTo: string | null;
|
2858
|
+
}, {
|
2859
|
+
id: string;
|
2860
|
+
disposition: string | null;
|
2861
|
+
createdAt: Date;
|
2862
|
+
updatedAt: Date;
|
2863
|
+
deletedAt: Date | null;
|
2864
|
+
tags: {
|
2865
|
+
id: string;
|
2866
|
+
name: string;
|
2867
|
+
createdAt: Date;
|
2868
|
+
updatedAt: Date;
|
2869
|
+
deletedAt: Date | null;
|
2870
|
+
}[];
|
2871
|
+
note: string | null;
|
2872
|
+
callFrom: string | null;
|
2873
|
+
callTo: string | null;
|
2874
|
+
}>>;
|
2814
2875
|
}, "strip", z.ZodTypeAny, {
|
2815
2876
|
id: string;
|
2816
2877
|
channel: string | null;
|
@@ -2828,6 +2889,23 @@ export declare const RoomSchema: z.ZodObject<{
|
|
2828
2889
|
startedDate: Date | null;
|
2829
2890
|
handledTime: number | null;
|
2830
2891
|
firstResponseTime: number | null;
|
2892
|
+
wrapUpForm: {
|
2893
|
+
id: string;
|
2894
|
+
disposition: string | null;
|
2895
|
+
createdAt: Date;
|
2896
|
+
updatedAt: Date;
|
2897
|
+
deletedAt: Date | null;
|
2898
|
+
tags: {
|
2899
|
+
id: string;
|
2900
|
+
name: string;
|
2901
|
+
createdAt: Date;
|
2902
|
+
updatedAt: Date;
|
2903
|
+
deletedAt: Date | null;
|
2904
|
+
}[];
|
2905
|
+
note: string | null;
|
2906
|
+
callFrom: string | null;
|
2907
|
+
callTo: string | null;
|
2908
|
+
} | null;
|
2831
2909
|
}, {
|
2832
2910
|
id: string;
|
2833
2911
|
channel: string | null;
|
@@ -2845,6 +2923,23 @@ export declare const RoomSchema: z.ZodObject<{
|
|
2845
2923
|
startedDate: Date | null;
|
2846
2924
|
handledTime: number | null;
|
2847
2925
|
firstResponseTime: number | null;
|
2926
|
+
wrapUpForm: {
|
2927
|
+
id: string;
|
2928
|
+
disposition: string | null;
|
2929
|
+
createdAt: Date;
|
2930
|
+
updatedAt: Date;
|
2931
|
+
deletedAt: Date | null;
|
2932
|
+
tags: {
|
2933
|
+
id: string;
|
2934
|
+
name: string;
|
2935
|
+
createdAt: Date;
|
2936
|
+
updatedAt: Date;
|
2937
|
+
deletedAt: Date | null;
|
2938
|
+
}[];
|
2939
|
+
note: string | null;
|
2940
|
+
callFrom: string | null;
|
2941
|
+
callTo: string | null;
|
2942
|
+
} | null;
|
2848
2943
|
}>;
|
2849
2944
|
}, "strip", z.ZodTypeAny, {
|
2850
2945
|
id: string;
|
@@ -2903,7 +2998,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
2903
2998
|
firstResponseAt: Date;
|
2904
2999
|
isLatest: boolean;
|
2905
3000
|
platformContact: {
|
2906
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
|
3001
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
2907
3002
|
id: string;
|
2908
3003
|
metadata: {
|
2909
3004
|
id: string;
|
@@ -3062,7 +3157,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3062
3157
|
telephonySignature: string | null;
|
3063
3158
|
} | undefined;
|
3064
3159
|
};
|
3065
|
-
|
3160
|
+
cxlog: {
|
3066
3161
|
id: string;
|
3067
3162
|
channel: string | null;
|
3068
3163
|
disposition: string | null;
|
@@ -3079,6 +3174,23 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3079
3174
|
startedDate: Date | null;
|
3080
3175
|
handledTime: number | null;
|
3081
3176
|
firstResponseTime: number | null;
|
3177
|
+
wrapUpForm: {
|
3178
|
+
id: string;
|
3179
|
+
disposition: string | null;
|
3180
|
+
createdAt: Date;
|
3181
|
+
updatedAt: Date;
|
3182
|
+
deletedAt: Date | null;
|
3183
|
+
tags: {
|
3184
|
+
id: string;
|
3185
|
+
name: string;
|
3186
|
+
createdAt: Date;
|
3187
|
+
updatedAt: Date;
|
3188
|
+
deletedAt: Date | null;
|
3189
|
+
}[];
|
3190
|
+
note: string | null;
|
3191
|
+
callFrom: string | null;
|
3192
|
+
callTo: string | null;
|
3193
|
+
} | null;
|
3082
3194
|
};
|
3083
3195
|
channel?: {
|
3084
3196
|
id?: string | undefined;
|
@@ -3086,7 +3198,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3086
3198
|
updatedAt?: Date | undefined;
|
3087
3199
|
deletedAt?: Date | null | undefined;
|
3088
3200
|
name?: string | undefined;
|
3089
|
-
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | undefined;
|
3201
|
+
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
3090
3202
|
metadata?: {
|
3091
3203
|
id: string;
|
3092
3204
|
name: string;
|
@@ -3095,7 +3207,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3095
3207
|
} | undefined;
|
3096
3208
|
brandName?: string | undefined;
|
3097
3209
|
platformId?: string | undefined;
|
3098
|
-
status?:
|
3210
|
+
status?: boolean | undefined;
|
3099
3211
|
isReloginRequired?: boolean | undefined;
|
3100
3212
|
connectedUserName?: string | undefined;
|
3101
3213
|
connectedUserId?: string | undefined;
|
@@ -3200,7 +3312,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3200
3312
|
firstResponseAt: Date;
|
3201
3313
|
isLatest: boolean;
|
3202
3314
|
platformContact: {
|
3203
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
|
3315
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
3204
3316
|
id: string;
|
3205
3317
|
metadata: {
|
3206
3318
|
id: string;
|
@@ -3359,7 +3471,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3359
3471
|
telephonySignature: string | null;
|
3360
3472
|
} | undefined;
|
3361
3473
|
};
|
3362
|
-
|
3474
|
+
cxlog: {
|
3363
3475
|
id: string;
|
3364
3476
|
channel: string | null;
|
3365
3477
|
disposition: string | null;
|
@@ -3376,6 +3488,23 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3376
3488
|
startedDate: Date | null;
|
3377
3489
|
handledTime: number | null;
|
3378
3490
|
firstResponseTime: number | null;
|
3491
|
+
wrapUpForm: {
|
3492
|
+
id: string;
|
3493
|
+
disposition: string | null;
|
3494
|
+
createdAt: Date;
|
3495
|
+
updatedAt: Date;
|
3496
|
+
deletedAt: Date | null;
|
3497
|
+
tags: {
|
3498
|
+
id: string;
|
3499
|
+
name: string;
|
3500
|
+
createdAt: Date;
|
3501
|
+
updatedAt: Date;
|
3502
|
+
deletedAt: Date | null;
|
3503
|
+
}[];
|
3504
|
+
note: string | null;
|
3505
|
+
callFrom: string | null;
|
3506
|
+
callTo: string | null;
|
3507
|
+
} | null;
|
3379
3508
|
};
|
3380
3509
|
channel?: {
|
3381
3510
|
id?: string | undefined;
|
@@ -3383,7 +3512,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3383
3512
|
updatedAt?: Date | undefined;
|
3384
3513
|
deletedAt?: Date | null | undefined;
|
3385
3514
|
name?: string | undefined;
|
3386
|
-
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | undefined;
|
3515
|
+
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
3387
3516
|
metadata?: {
|
3388
3517
|
id: string;
|
3389
3518
|
name: string;
|
@@ -3392,7 +3521,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3392
3521
|
} | undefined;
|
3393
3522
|
brandName?: string | undefined;
|
3394
3523
|
platformId?: string | undefined;
|
3395
|
-
status?:
|
3524
|
+
status?: boolean | undefined;
|
3396
3525
|
isReloginRequired?: boolean | undefined;
|
3397
3526
|
connectedUserName?: string | undefined;
|
3398
3527
|
connectedUserId?: string | undefined;
|
@@ -3482,7 +3611,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
3482
3611
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
3483
3612
|
channelId: z.ZodString;
|
3484
3613
|
socialPlatformId: z.ZodString;
|
3485
|
-
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada"]>;
|
3614
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
|
3486
3615
|
metadata: z.ZodObject<{
|
3487
3616
|
id: z.ZodString;
|
3488
3617
|
name: z.ZodString;
|
@@ -3546,7 +3675,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
3546
3675
|
textValue: z.ZodNullable<z.ZodString>;
|
3547
3676
|
booleanValue: z.ZodNullable<z.ZodBoolean>;
|
3548
3677
|
numberValue: z.ZodNullable<z.ZodNumber>;
|
3549
|
-
dateValue: z.ZodNullable<z.
|
3678
|
+
dateValue: z.ZodNullable<z.ZodDate>;
|
3550
3679
|
attribute: z.ZodObject<Omit<{
|
3551
3680
|
id: z.ZodString;
|
3552
3681
|
createdAt: z.ZodDate;
|
@@ -3650,7 +3779,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
3650
3779
|
textValue: string | null;
|
3651
3780
|
booleanValue: boolean | null;
|
3652
3781
|
numberValue: number | null;
|
3653
|
-
dateValue:
|
3782
|
+
dateValue: Date | null;
|
3654
3783
|
}, {
|
3655
3784
|
id: string;
|
3656
3785
|
createdAt: Date;
|
@@ -3673,7 +3802,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
3673
3802
|
textValue: string | null;
|
3674
3803
|
booleanValue: boolean | null;
|
3675
3804
|
numberValue: number | null;
|
3676
|
-
dateValue:
|
3805
|
+
dateValue: Date | null;
|
3677
3806
|
}>, "many">>;
|
3678
3807
|
}, "customFields">, "strip", z.ZodTypeAny, {
|
3679
3808
|
id: string;
|
@@ -4240,7 +4369,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
4240
4369
|
}[] | undefined;
|
4241
4370
|
}>;
|
4242
4371
|
}, "strip", z.ZodTypeAny, {
|
4243
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
|
4372
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
4244
4373
|
id: string;
|
4245
4374
|
metadata: {
|
4246
4375
|
id: string;
|
@@ -4356,7 +4485,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
4356
4485
|
channelId: string;
|
4357
4486
|
socialPlatformId: string;
|
4358
4487
|
}, {
|
4359
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
|
4488
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
4360
4489
|
id: string;
|
4361
4490
|
metadata: {
|
4362
4491
|
id: string;
|
@@ -4876,7 +5005,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
4876
5005
|
updatedAt: z.ZodOptional<z.ZodDate>;
|
4877
5006
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
4878
5007
|
name: z.ZodOptional<z.ZodString>;
|
4879
|
-
type: z.ZodOptional<z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada"]>>;
|
5008
|
+
type: z.ZodOptional<z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>>;
|
4880
5009
|
metadata: z.ZodOptional<z.ZodObject<{
|
4881
5010
|
id: z.ZodString;
|
4882
5011
|
name: z.ZodString;
|
@@ -4895,7 +5024,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
4895
5024
|
}>>;
|
4896
5025
|
brandName: z.ZodOptional<z.ZodString>;
|
4897
5026
|
platformId: z.ZodOptional<z.ZodString>;
|
4898
|
-
status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<
|
5027
|
+
status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>>;
|
4899
5028
|
isReloginRequired: z.ZodOptional<z.ZodBoolean>;
|
4900
5029
|
connectedUserName: z.ZodOptional<z.ZodString>;
|
4901
5030
|
connectedUserId: z.ZodOptional<z.ZodString>;
|
@@ -5104,7 +5233,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
5104
5233
|
updatedAt?: Date | undefined;
|
5105
5234
|
deletedAt?: Date | null | undefined;
|
5106
5235
|
name?: string | undefined;
|
5107
|
-
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | undefined;
|
5236
|
+
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
5108
5237
|
metadata?: {
|
5109
5238
|
id: string;
|
5110
5239
|
name: string;
|
@@ -5113,7 +5242,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
5113
5242
|
} | undefined;
|
5114
5243
|
brandName?: string | undefined;
|
5115
5244
|
platformId?: string | undefined;
|
5116
|
-
status?:
|
5245
|
+
status?: boolean | undefined;
|
5117
5246
|
isReloginRequired?: boolean | undefined;
|
5118
5247
|
connectedUserName?: string | undefined;
|
5119
5248
|
connectedUserId?: string | undefined;
|
@@ -5166,7 +5295,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
5166
5295
|
updatedAt?: Date | undefined;
|
5167
5296
|
deletedAt?: Date | null | undefined;
|
5168
5297
|
name?: string | undefined;
|
5169
|
-
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | undefined;
|
5298
|
+
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
5170
5299
|
metadata?: {
|
5171
5300
|
id: string;
|
5172
5301
|
name: string;
|
@@ -5175,7 +5304,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
5175
5304
|
} | undefined;
|
5176
5305
|
brandName?: string | undefined;
|
5177
5306
|
platformId?: string | undefined;
|
5178
|
-
status?:
|
5307
|
+
status?: boolean | undefined;
|
5179
5308
|
isReloginRequired?: boolean | undefined;
|
5180
5309
|
connectedUserName?: string | undefined;
|
5181
5310
|
connectedUserId?: string | undefined;
|
@@ -5223,7 +5352,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
5223
5352
|
} | undefined;
|
5224
5353
|
} | undefined;
|
5225
5354
|
}>>;
|
5226
|
-
|
5355
|
+
cxlog: z.ZodObject<{
|
5227
5356
|
id: z.ZodString;
|
5228
5357
|
createdAt: z.ZodDate;
|
5229
5358
|
updatedAt: z.ZodDate;
|
@@ -5240,6 +5369,67 @@ export declare const MessageSchema: z.ZodObject<{
|
|
5240
5369
|
handledTime: z.ZodNullable<z.ZodNumber>;
|
5241
5370
|
firstResponseTime: z.ZodNullable<z.ZodNumber>;
|
5242
5371
|
disposition: z.ZodNullable<z.ZodString>;
|
5372
|
+
wrapUpForm: z.ZodNullable<z.ZodObject<{
|
5373
|
+
id: z.ZodString;
|
5374
|
+
createdAt: z.ZodDate;
|
5375
|
+
updatedAt: z.ZodDate;
|
5376
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
5377
|
+
note: z.ZodNullable<z.ZodString>;
|
5378
|
+
disposition: z.ZodNullable<z.ZodString>;
|
5379
|
+
callFrom: z.ZodNullable<z.ZodString>;
|
5380
|
+
callTo: z.ZodNullable<z.ZodString>;
|
5381
|
+
tags: z.ZodArray<z.ZodObject<{
|
5382
|
+
id: z.ZodString;
|
5383
|
+
createdAt: z.ZodDate;
|
5384
|
+
updatedAt: z.ZodDate;
|
5385
|
+
deletedAt: z.ZodNullable<z.ZodDate>;
|
5386
|
+
name: z.ZodString;
|
5387
|
+
}, "strip", z.ZodTypeAny, {
|
5388
|
+
id: string;
|
5389
|
+
name: string;
|
5390
|
+
createdAt: Date;
|
5391
|
+
updatedAt: Date;
|
5392
|
+
deletedAt: Date | null;
|
5393
|
+
}, {
|
5394
|
+
id: string;
|
5395
|
+
name: string;
|
5396
|
+
createdAt: Date;
|
5397
|
+
updatedAt: Date;
|
5398
|
+
deletedAt: Date | null;
|
5399
|
+
}>, "many">;
|
5400
|
+
}, "strip", z.ZodTypeAny, {
|
5401
|
+
id: string;
|
5402
|
+
disposition: string | null;
|
5403
|
+
createdAt: Date;
|
5404
|
+
updatedAt: Date;
|
5405
|
+
deletedAt: Date | null;
|
5406
|
+
tags: {
|
5407
|
+
id: string;
|
5408
|
+
name: string;
|
5409
|
+
createdAt: Date;
|
5410
|
+
updatedAt: Date;
|
5411
|
+
deletedAt: Date | null;
|
5412
|
+
}[];
|
5413
|
+
note: string | null;
|
5414
|
+
callFrom: string | null;
|
5415
|
+
callTo: string | null;
|
5416
|
+
}, {
|
5417
|
+
id: string;
|
5418
|
+
disposition: string | null;
|
5419
|
+
createdAt: Date;
|
5420
|
+
updatedAt: Date;
|
5421
|
+
deletedAt: Date | null;
|
5422
|
+
tags: {
|
5423
|
+
id: string;
|
5424
|
+
name: string;
|
5425
|
+
createdAt: Date;
|
5426
|
+
updatedAt: Date;
|
5427
|
+
deletedAt: Date | null;
|
5428
|
+
}[];
|
5429
|
+
note: string | null;
|
5430
|
+
callFrom: string | null;
|
5431
|
+
callTo: string | null;
|
5432
|
+
}>>;
|
5243
5433
|
}, "strip", z.ZodTypeAny, {
|
5244
5434
|
id: string;
|
5245
5435
|
channel: string | null;
|
@@ -5257,6 +5447,23 @@ export declare const MessageSchema: z.ZodObject<{
|
|
5257
5447
|
startedDate: Date | null;
|
5258
5448
|
handledTime: number | null;
|
5259
5449
|
firstResponseTime: number | null;
|
5450
|
+
wrapUpForm: {
|
5451
|
+
id: string;
|
5452
|
+
disposition: string | null;
|
5453
|
+
createdAt: Date;
|
5454
|
+
updatedAt: Date;
|
5455
|
+
deletedAt: Date | null;
|
5456
|
+
tags: {
|
5457
|
+
id: string;
|
5458
|
+
name: string;
|
5459
|
+
createdAt: Date;
|
5460
|
+
updatedAt: Date;
|
5461
|
+
deletedAt: Date | null;
|
5462
|
+
}[];
|
5463
|
+
note: string | null;
|
5464
|
+
callFrom: string | null;
|
5465
|
+
callTo: string | null;
|
5466
|
+
} | null;
|
5260
5467
|
}, {
|
5261
5468
|
id: string;
|
5262
5469
|
channel: string | null;
|
@@ -5274,6 +5481,23 @@ export declare const MessageSchema: z.ZodObject<{
|
|
5274
5481
|
startedDate: Date | null;
|
5275
5482
|
handledTime: number | null;
|
5276
5483
|
firstResponseTime: number | null;
|
5484
|
+
wrapUpForm: {
|
5485
|
+
id: string;
|
5486
|
+
disposition: string | null;
|
5487
|
+
createdAt: Date;
|
5488
|
+
updatedAt: Date;
|
5489
|
+
deletedAt: Date | null;
|
5490
|
+
tags: {
|
5491
|
+
id: string;
|
5492
|
+
name: string;
|
5493
|
+
createdAt: Date;
|
5494
|
+
updatedAt: Date;
|
5495
|
+
deletedAt: Date | null;
|
5496
|
+
}[];
|
5497
|
+
note: string | null;
|
5498
|
+
callFrom: string | null;
|
5499
|
+
callTo: string | null;
|
5500
|
+
} | null;
|
5277
5501
|
}>;
|
5278
5502
|
}, "strip", z.ZodTypeAny, {
|
5279
5503
|
id: string;
|
@@ -5332,7 +5556,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
5332
5556
|
firstResponseAt: Date;
|
5333
5557
|
isLatest: boolean;
|
5334
5558
|
platformContact: {
|
5335
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
|
5559
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
5336
5560
|
id: string;
|
5337
5561
|
metadata: {
|
5338
5562
|
id: string;
|
@@ -5491,7 +5715,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
5491
5715
|
telephonySignature: string | null;
|
5492
5716
|
} | undefined;
|
5493
5717
|
};
|
5494
|
-
|
5718
|
+
cxlog: {
|
5495
5719
|
id: string;
|
5496
5720
|
channel: string | null;
|
5497
5721
|
disposition: string | null;
|
@@ -5508,6 +5732,23 @@ export declare const MessageSchema: z.ZodObject<{
|
|
5508
5732
|
startedDate: Date | null;
|
5509
5733
|
handledTime: number | null;
|
5510
5734
|
firstResponseTime: number | null;
|
5735
|
+
wrapUpForm: {
|
5736
|
+
id: string;
|
5737
|
+
disposition: string | null;
|
5738
|
+
createdAt: Date;
|
5739
|
+
updatedAt: Date;
|
5740
|
+
deletedAt: Date | null;
|
5741
|
+
tags: {
|
5742
|
+
id: string;
|
5743
|
+
name: string;
|
5744
|
+
createdAt: Date;
|
5745
|
+
updatedAt: Date;
|
5746
|
+
deletedAt: Date | null;
|
5747
|
+
}[];
|
5748
|
+
note: string | null;
|
5749
|
+
callFrom: string | null;
|
5750
|
+
callTo: string | null;
|
5751
|
+
} | null;
|
5511
5752
|
};
|
5512
5753
|
channel?: {
|
5513
5754
|
id?: string | undefined;
|
@@ -5515,7 +5756,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
5515
5756
|
updatedAt?: Date | undefined;
|
5516
5757
|
deletedAt?: Date | null | undefined;
|
5517
5758
|
name?: string | undefined;
|
5518
|
-
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | undefined;
|
5759
|
+
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
5519
5760
|
metadata?: {
|
5520
5761
|
id: string;
|
5521
5762
|
name: string;
|
@@ -5524,7 +5765,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
5524
5765
|
} | undefined;
|
5525
5766
|
brandName?: string | undefined;
|
5526
5767
|
platformId?: string | undefined;
|
5527
|
-
status?:
|
5768
|
+
status?: boolean | undefined;
|
5528
5769
|
isReloginRequired?: boolean | undefined;
|
5529
5770
|
connectedUserName?: string | undefined;
|
5530
5771
|
connectedUserId?: string | undefined;
|
@@ -5629,7 +5870,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
5629
5870
|
firstResponseAt: Date;
|
5630
5871
|
isLatest: boolean;
|
5631
5872
|
platformContact: {
|
5632
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
|
5873
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
5633
5874
|
id: string;
|
5634
5875
|
metadata: {
|
5635
5876
|
id: string;
|
@@ -5788,7 +6029,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
5788
6029
|
telephonySignature: string | null;
|
5789
6030
|
} | undefined;
|
5790
6031
|
};
|
5791
|
-
|
6032
|
+
cxlog: {
|
5792
6033
|
id: string;
|
5793
6034
|
channel: string | null;
|
5794
6035
|
disposition: string | null;
|
@@ -5805,6 +6046,23 @@ export declare const MessageSchema: z.ZodObject<{
|
|
5805
6046
|
startedDate: Date | null;
|
5806
6047
|
handledTime: number | null;
|
5807
6048
|
firstResponseTime: number | null;
|
6049
|
+
wrapUpForm: {
|
6050
|
+
id: string;
|
6051
|
+
disposition: string | null;
|
6052
|
+
createdAt: Date;
|
6053
|
+
updatedAt: Date;
|
6054
|
+
deletedAt: Date | null;
|
6055
|
+
tags: {
|
6056
|
+
id: string;
|
6057
|
+
name: string;
|
6058
|
+
createdAt: Date;
|
6059
|
+
updatedAt: Date;
|
6060
|
+
deletedAt: Date | null;
|
6061
|
+
}[];
|
6062
|
+
note: string | null;
|
6063
|
+
callFrom: string | null;
|
6064
|
+
callTo: string | null;
|
6065
|
+
} | null;
|
5808
6066
|
};
|
5809
6067
|
channel?: {
|
5810
6068
|
id?: string | undefined;
|
@@ -5812,7 +6070,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
5812
6070
|
updatedAt?: Date | undefined;
|
5813
6071
|
deletedAt?: Date | null | undefined;
|
5814
6072
|
name?: string | undefined;
|
5815
|
-
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | undefined;
|
6073
|
+
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
5816
6074
|
metadata?: {
|
5817
6075
|
id: string;
|
5818
6076
|
name: string;
|
@@ -5821,7 +6079,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
5821
6079
|
} | undefined;
|
5822
6080
|
brandName?: string | undefined;
|
5823
6081
|
platformId?: string | undefined;
|
5824
|
-
status?:
|
6082
|
+
status?: boolean | undefined;
|
5825
6083
|
isReloginRequired?: boolean | undefined;
|
5826
6084
|
connectedUserName?: string | undefined;
|
5827
6085
|
connectedUserId?: string | undefined;
|
@@ -6664,7 +6922,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
6664
6922
|
firstResponseAt: Date;
|
6665
6923
|
isLatest: boolean;
|
6666
6924
|
platformContact: {
|
6667
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
|
6925
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
6668
6926
|
id: string;
|
6669
6927
|
metadata: {
|
6670
6928
|
id: string;
|
@@ -6823,7 +7081,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
6823
7081
|
telephonySignature: string | null;
|
6824
7082
|
} | undefined;
|
6825
7083
|
};
|
6826
|
-
|
7084
|
+
cxlog: {
|
6827
7085
|
id: string;
|
6828
7086
|
channel: string | null;
|
6829
7087
|
disposition: string | null;
|
@@ -6840,6 +7098,23 @@ export declare const MessageSchema: z.ZodObject<{
|
|
6840
7098
|
startedDate: Date | null;
|
6841
7099
|
handledTime: number | null;
|
6842
7100
|
firstResponseTime: number | null;
|
7101
|
+
wrapUpForm: {
|
7102
|
+
id: string;
|
7103
|
+
disposition: string | null;
|
7104
|
+
createdAt: Date;
|
7105
|
+
updatedAt: Date;
|
7106
|
+
deletedAt: Date | null;
|
7107
|
+
tags: {
|
7108
|
+
id: string;
|
7109
|
+
name: string;
|
7110
|
+
createdAt: Date;
|
7111
|
+
updatedAt: Date;
|
7112
|
+
deletedAt: Date | null;
|
7113
|
+
}[];
|
7114
|
+
note: string | null;
|
7115
|
+
callFrom: string | null;
|
7116
|
+
callTo: string | null;
|
7117
|
+
} | null;
|
6843
7118
|
};
|
6844
7119
|
channel?: {
|
6845
7120
|
id?: string | undefined;
|
@@ -6847,7 +7122,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
6847
7122
|
updatedAt?: Date | undefined;
|
6848
7123
|
deletedAt?: Date | null | undefined;
|
6849
7124
|
name?: string | undefined;
|
6850
|
-
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | undefined;
|
7125
|
+
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
6851
7126
|
metadata?: {
|
6852
7127
|
id: string;
|
6853
7128
|
name: string;
|
@@ -6856,7 +7131,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
6856
7131
|
} | undefined;
|
6857
7132
|
brandName?: string | undefined;
|
6858
7133
|
platformId?: string | undefined;
|
6859
|
-
status?:
|
7134
|
+
status?: boolean | undefined;
|
6860
7135
|
isReloginRequired?: boolean | undefined;
|
6861
7136
|
connectedUserName?: string | undefined;
|
6862
7137
|
connectedUserId?: string | undefined;
|
@@ -7119,7 +7394,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
7119
7394
|
firstResponseAt: Date;
|
7120
7395
|
isLatest: boolean;
|
7121
7396
|
platformContact: {
|
7122
|
-
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada";
|
7397
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
7123
7398
|
id: string;
|
7124
7399
|
metadata: {
|
7125
7400
|
id: string;
|
@@ -7278,7 +7553,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
7278
7553
|
telephonySignature: string | null;
|
7279
7554
|
} | undefined;
|
7280
7555
|
};
|
7281
|
-
|
7556
|
+
cxlog: {
|
7282
7557
|
id: string;
|
7283
7558
|
channel: string | null;
|
7284
7559
|
disposition: string | null;
|
@@ -7295,6 +7570,23 @@ export declare const MessageSchema: z.ZodObject<{
|
|
7295
7570
|
startedDate: Date | null;
|
7296
7571
|
handledTime: number | null;
|
7297
7572
|
firstResponseTime: number | null;
|
7573
|
+
wrapUpForm: {
|
7574
|
+
id: string;
|
7575
|
+
disposition: string | null;
|
7576
|
+
createdAt: Date;
|
7577
|
+
updatedAt: Date;
|
7578
|
+
deletedAt: Date | null;
|
7579
|
+
tags: {
|
7580
|
+
id: string;
|
7581
|
+
name: string;
|
7582
|
+
createdAt: Date;
|
7583
|
+
updatedAt: Date;
|
7584
|
+
deletedAt: Date | null;
|
7585
|
+
}[];
|
7586
|
+
note: string | null;
|
7587
|
+
callFrom: string | null;
|
7588
|
+
callTo: string | null;
|
7589
|
+
} | null;
|
7298
7590
|
};
|
7299
7591
|
channel?: {
|
7300
7592
|
id?: string | undefined;
|
@@ -7302,7 +7594,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
7302
7594
|
updatedAt?: Date | undefined;
|
7303
7595
|
deletedAt?: Date | null | undefined;
|
7304
7596
|
name?: string | undefined;
|
7305
|
-
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | undefined;
|
7597
|
+
type?: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram" | undefined;
|
7306
7598
|
metadata?: {
|
7307
7599
|
id: string;
|
7308
7600
|
name: string;
|
@@ -7311,7 +7603,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
7311
7603
|
} | undefined;
|
7312
7604
|
brandName?: string | undefined;
|
7313
7605
|
platformId?: string | undefined;
|
7314
|
-
status?:
|
7606
|
+
status?: boolean | undefined;
|
7315
7607
|
isReloginRequired?: boolean | undefined;
|
7316
7608
|
connectedUserName?: string | undefined;
|
7317
7609
|
connectedUserId?: string | undefined;
|