@kl1/contracts 1.0.66 → 1.0.68
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 +2328 -2331
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2328 -2331
- package/dist/index.mjs.map +1 -1
- package/dist/src/app/index.d.ts +17 -0
- package/dist/src/app/index.d.ts.map +1 -0
- package/dist/src/call-log/schema.d.ts +4 -4
- package/dist/src/call-log/validation.d.ts +2 -2
- package/dist/src/channel/index.d.ts +67 -707
- package/dist/src/channel/index.d.ts.map +1 -1
- package/dist/src/channel/validation.d.ts +19 -0
- package/dist/src/channel/validation.d.ts.map +1 -1
- package/dist/src/chat/index.d.ts +600 -600
- package/dist/src/chat/schema.d.ts +74 -74
- package/dist/src/chat/validation.d.ts +128 -128
- package/dist/src/comment/index.d.ts +609 -609
- package/dist/src/comment/schema.d.ts +144 -144
- package/dist/src/contract.d.ts +3401 -4062
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/cx-log/index.d.ts +90 -90
- package/dist/src/cx-log/schema.d.ts +62 -62
- package/dist/src/dashboard/index.d.ts +16 -31
- package/dist/src/dashboard/index.d.ts.map +1 -1
- package/dist/src/dashboard/schema.d.ts +6 -15
- package/dist/src/dashboard/schema.d.ts.map +1 -1
- package/dist/src/instagram/index.d.ts +78 -78
- package/dist/src/line/index.d.ts +96 -96
- package/dist/src/line/schema.d.ts +19 -19
- package/dist/src/line/schema.d.ts.map +1 -1
- package/dist/src/mail/mail-contract.d.ts +24 -24
- package/dist/src/mail/mail-server.d.ts +216 -0
- package/dist/src/mail/mail-server.d.ts.map +1 -0
- package/dist/src/mail/room-contract.d.ts +24 -24
- package/dist/src/mail/schemas/room-validation.schema.d.ts +8 -8
- package/dist/src/mail/schemas/room.schema.d.ts +4 -4
- package/dist/src/messenger/index.d.ts +78 -78
- package/dist/src/platform-contact/schema.d.ts +30 -0
- package/dist/src/platform-contact/schema.d.ts.map +1 -0
- package/dist/src/telephony-cdr/index.d.ts +38 -38
- package/dist/src/telephony-cdr/schema.d.ts +6 -6
- package/dist/src/telephony-cdr/validation.d.ts +5 -5
- package/dist/src/telephony-cdr/validation.d.ts.map +1 -1
- package/dist/src/ticket/index.d.ts +1084 -1084
- package/dist/src/ticket/schema.d.ts +72 -72
- package/dist/src/ticket/validation.d.ts +12 -12
- package/dist/src/user-presence-status-log/index.d.ts +4 -9
- package/dist/src/user-presence-status-log/index.d.ts.map +1 -1
- package/dist/src/user-presence-status-log/validation.d.ts +7 -0
- package/dist/src/user-presence-status-log/validation.d.ts.map +1 -1
- package/dist/src/wrap-up-form/index.d.ts +19 -19
- package/dist/src/wrap-up-form/schema.d.ts +2 -2
- package/dist/src/wrap-up-form/validation.d.ts +3 -3
- package/package.json +1 -1
package/dist/src/line/index.d.ts
CHANGED
@@ -47,12 +47,12 @@ export declare const lineContract: {
|
|
47
47
|
};
|
48
48
|
connect: {
|
49
49
|
body: z.ZodObject<{
|
50
|
-
|
50
|
+
name: z.ZodString;
|
51
51
|
accessToken: z.ZodOptional<z.ZodString>;
|
52
|
-
lineSecret: z.ZodOptional<z.ZodString>;
|
53
52
|
brandName: z.ZodOptional<z.ZodString>;
|
54
|
-
|
55
|
-
|
53
|
+
lineId: z.ZodOptional<z.ZodString>;
|
54
|
+
lineSecret: z.ZodOptional<z.ZodString>;
|
55
|
+
actor: z.ZodOptional<z.ZodObject<{
|
56
56
|
id: z.ZodString;
|
57
57
|
createdAt: z.ZodDate;
|
58
58
|
updatedAt: z.ZodDate;
|
@@ -255,9 +255,14 @@ export declare const lineContract: {
|
|
255
255
|
extensionName: string;
|
256
256
|
telephonySignature: string | null;
|
257
257
|
};
|
258
|
-
}
|
258
|
+
}>>;
|
259
259
|
}, "strip", z.ZodTypeAny, {
|
260
|
-
|
260
|
+
name: string;
|
261
|
+
accessToken?: string | undefined;
|
262
|
+
brandName?: string | undefined;
|
263
|
+
lineId?: string | undefined;
|
264
|
+
lineSecret?: string | undefined;
|
265
|
+
actor?: {
|
261
266
|
id: string;
|
262
267
|
address: string | null;
|
263
268
|
name: string;
|
@@ -300,14 +305,14 @@ export declare const lineContract: {
|
|
300
305
|
extensionName: string;
|
301
306
|
telephonySignature: string | null;
|
302
307
|
};
|
303
|
-
};
|
304
|
-
|
308
|
+
} | undefined;
|
309
|
+
}, {
|
310
|
+
name: string;
|
305
311
|
accessToken?: string | undefined;
|
306
|
-
lineSecret?: string | undefined;
|
307
312
|
brandName?: string | undefined;
|
308
|
-
|
309
|
-
|
310
|
-
actor
|
313
|
+
lineId?: string | undefined;
|
314
|
+
lineSecret?: string | undefined;
|
315
|
+
actor?: {
|
311
316
|
id: string;
|
312
317
|
address: string | null;
|
313
318
|
name: string;
|
@@ -350,12 +355,7 @@ export declare const lineContract: {
|
|
350
355
|
extensionName: string;
|
351
356
|
telephonySignature: string | null;
|
352
357
|
};
|
353
|
-
};
|
354
|
-
lineId?: string | undefined;
|
355
|
-
accessToken?: string | undefined;
|
356
|
-
lineSecret?: string | undefined;
|
357
|
-
brandName?: string | undefined;
|
358
|
-
name?: string | undefined;
|
358
|
+
} | undefined;
|
359
359
|
}>;
|
360
360
|
summary: "Connect to LINE channel";
|
361
361
|
method: "POST";
|
@@ -441,7 +441,6 @@ export declare const lineContract: {
|
|
441
441
|
picture?: string | undefined;
|
442
442
|
additionalCredentials?: any;
|
443
443
|
};
|
444
|
-
channelId: string;
|
445
444
|
contact: {
|
446
445
|
channel: string | null;
|
447
446
|
address: string | null;
|
@@ -450,6 +449,7 @@ export declare const lineContract: {
|
|
450
449
|
contactProfile: string | null;
|
451
450
|
socialProfileUrl: string | null;
|
452
451
|
};
|
452
|
+
channelId: string;
|
453
453
|
socialPlatformId: string | null;
|
454
454
|
}, {
|
455
455
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
@@ -459,7 +459,6 @@ export declare const lineContract: {
|
|
459
459
|
picture?: string | undefined;
|
460
460
|
additionalCredentials?: any;
|
461
461
|
};
|
462
|
-
channelId: string;
|
463
462
|
contact: {
|
464
463
|
channel: string | null;
|
465
464
|
address: string | null;
|
@@ -468,6 +467,7 @@ export declare const lineContract: {
|
|
468
467
|
contactProfile: string | null;
|
469
468
|
socialProfileUrl: string | null;
|
470
469
|
};
|
470
|
+
channelId: string;
|
471
471
|
socialPlatformId: string | null;
|
472
472
|
}>;
|
473
473
|
actor: z.ZodNullable<z.ZodObject<{
|
@@ -618,7 +618,6 @@ export declare const lineContract: {
|
|
618
618
|
picture?: string | undefined;
|
619
619
|
additionalCredentials?: any;
|
620
620
|
};
|
621
|
-
channelId: string;
|
622
621
|
contact: {
|
623
622
|
channel: string | null;
|
624
623
|
address: string | null;
|
@@ -627,6 +626,7 @@ export declare const lineContract: {
|
|
627
626
|
contactProfile: string | null;
|
628
627
|
socialProfileUrl: string | null;
|
629
628
|
};
|
629
|
+
channelId: string;
|
630
630
|
socialPlatformId: string | null;
|
631
631
|
};
|
632
632
|
lastMessage?: string | undefined;
|
@@ -672,7 +672,6 @@ export declare const lineContract: {
|
|
672
672
|
picture?: string | undefined;
|
673
673
|
additionalCredentials?: any;
|
674
674
|
};
|
675
|
-
channelId: string;
|
676
675
|
contact: {
|
677
676
|
channel: string | null;
|
678
677
|
address: string | null;
|
@@ -681,6 +680,7 @@ export declare const lineContract: {
|
|
681
680
|
contactProfile: string | null;
|
682
681
|
socialProfileUrl: string | null;
|
683
682
|
};
|
683
|
+
channelId: string;
|
684
684
|
socialPlatformId: string | null;
|
685
685
|
};
|
686
686
|
lastMessage?: string | undefined;
|
@@ -854,7 +854,6 @@ export declare const lineContract: {
|
|
854
854
|
picture?: string | undefined;
|
855
855
|
additionalCredentials?: any;
|
856
856
|
};
|
857
|
-
channelId: string;
|
858
857
|
contact: {
|
859
858
|
channel: string | null;
|
860
859
|
address: string | null;
|
@@ -863,6 +862,7 @@ export declare const lineContract: {
|
|
863
862
|
contactProfile: string | null;
|
864
863
|
socialProfileUrl: string | null;
|
865
864
|
};
|
865
|
+
channelId: string;
|
866
866
|
socialPlatformId: string | null;
|
867
867
|
};
|
868
868
|
lastMessage?: string | undefined;
|
@@ -937,7 +937,6 @@ export declare const lineContract: {
|
|
937
937
|
picture?: string | undefined;
|
938
938
|
additionalCredentials?: any;
|
939
939
|
};
|
940
|
-
channelId: string;
|
941
940
|
contact: {
|
942
941
|
channel: string | null;
|
943
942
|
address: string | null;
|
@@ -946,6 +945,7 @@ export declare const lineContract: {
|
|
946
945
|
contactProfile: string | null;
|
947
946
|
socialProfileUrl: string | null;
|
948
947
|
};
|
948
|
+
channelId: string;
|
949
949
|
socialPlatformId: string | null;
|
950
950
|
};
|
951
951
|
lastMessage?: string | undefined;
|
@@ -1781,7 +1781,6 @@ export declare const lineContract: {
|
|
1781
1781
|
createdAt: Date;
|
1782
1782
|
updatedAt: Date;
|
1783
1783
|
deletedAt: Date | null;
|
1784
|
-
channelId: string;
|
1785
1784
|
contact: {
|
1786
1785
|
id: string;
|
1787
1786
|
channel: string | null;
|
@@ -1886,6 +1885,7 @@ export declare const lineContract: {
|
|
1886
1885
|
};
|
1887
1886
|
}[] | undefined;
|
1888
1887
|
};
|
1888
|
+
channelId: string;
|
1889
1889
|
socialPlatformId: string;
|
1890
1890
|
}, {
|
1891
1891
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
@@ -1899,7 +1899,6 @@ export declare const lineContract: {
|
|
1899
1899
|
createdAt: Date;
|
1900
1900
|
updatedAt: Date;
|
1901
1901
|
deletedAt: Date | null;
|
1902
|
-
channelId: string;
|
1903
1902
|
contact: {
|
1904
1903
|
id: string;
|
1905
1904
|
channel: string | null;
|
@@ -2004,6 +2003,7 @@ export declare const lineContract: {
|
|
2004
2003
|
};
|
2005
2004
|
}[] | undefined;
|
2006
2005
|
};
|
2006
|
+
channelId: string;
|
2007
2007
|
socialPlatformId: string;
|
2008
2008
|
}>;
|
2009
2009
|
actor: z.ZodObject<{
|
@@ -2837,9 +2837,9 @@ export declare const lineContract: {
|
|
2837
2837
|
updatedAt: Date;
|
2838
2838
|
deletedAt: Date | null;
|
2839
2839
|
}[];
|
2840
|
+
note: string | null;
|
2840
2841
|
callFrom: string | null;
|
2841
2842
|
callTo: string | null;
|
2842
|
-
note: string | null;
|
2843
2843
|
}, {
|
2844
2844
|
id: string;
|
2845
2845
|
disposition: string | null;
|
@@ -2853,9 +2853,9 @@ export declare const lineContract: {
|
|
2853
2853
|
updatedAt: Date;
|
2854
2854
|
deletedAt: Date | null;
|
2855
2855
|
}[];
|
2856
|
+
note: string | null;
|
2856
2857
|
callFrom: string | null;
|
2857
2858
|
callTo: string | null;
|
2858
|
-
note: string | null;
|
2859
2859
|
}>>;
|
2860
2860
|
}, "strip", z.ZodTypeAny, {
|
2861
2861
|
id: string;
|
@@ -2866,14 +2866,14 @@ export declare const lineContract: {
|
|
2866
2866
|
updatedAt: Date;
|
2867
2867
|
deletedAt: Date | null;
|
2868
2868
|
entityId: string;
|
2869
|
-
|
2870
|
-
contactId: string | null;
|
2869
|
+
firstResponseTime: number | null;
|
2871
2870
|
caseId: number;
|
2872
2871
|
entityName: string;
|
2872
|
+
contactId: string | null;
|
2873
|
+
queueId: string | null;
|
2873
2874
|
agentId: string | null;
|
2874
2875
|
startedDate: Date | null;
|
2875
2876
|
handledTime: number | null;
|
2876
|
-
firstResponseTime: number | null;
|
2877
2877
|
wrapUpForm: {
|
2878
2878
|
id: string;
|
2879
2879
|
disposition: string | null;
|
@@ -2887,9 +2887,9 @@ export declare const lineContract: {
|
|
2887
2887
|
updatedAt: Date;
|
2888
2888
|
deletedAt: Date | null;
|
2889
2889
|
}[];
|
2890
|
+
note: string | null;
|
2890
2891
|
callFrom: string | null;
|
2891
2892
|
callTo: string | null;
|
2892
|
-
note: string | null;
|
2893
2893
|
} | null;
|
2894
2894
|
}, {
|
2895
2895
|
id: string;
|
@@ -2900,14 +2900,14 @@ export declare const lineContract: {
|
|
2900
2900
|
updatedAt: Date;
|
2901
2901
|
deletedAt: Date | null;
|
2902
2902
|
entityId: string;
|
2903
|
-
|
2904
|
-
contactId: string | null;
|
2903
|
+
firstResponseTime: number | null;
|
2905
2904
|
caseId: number;
|
2906
2905
|
entityName: string;
|
2906
|
+
contactId: string | null;
|
2907
|
+
queueId: string | null;
|
2907
2908
|
agentId: string | null;
|
2908
2909
|
startedDate: Date | null;
|
2909
2910
|
handledTime: number | null;
|
2910
|
-
firstResponseTime: number | null;
|
2911
2911
|
wrapUpForm: {
|
2912
2912
|
id: string;
|
2913
2913
|
disposition: string | null;
|
@@ -2921,9 +2921,9 @@ export declare const lineContract: {
|
|
2921
2921
|
updatedAt: Date;
|
2922
2922
|
deletedAt: Date | null;
|
2923
2923
|
}[];
|
2924
|
+
note: string | null;
|
2924
2925
|
callFrom: string | null;
|
2925
2926
|
callTo: string | null;
|
2926
|
-
note: string | null;
|
2927
2927
|
} | null;
|
2928
2928
|
}>;
|
2929
2929
|
}, "strip", z.ZodTypeAny, {
|
@@ -2976,12 +2976,12 @@ export declare const lineContract: {
|
|
2976
2976
|
telephonySignature: string | null;
|
2977
2977
|
};
|
2978
2978
|
};
|
2979
|
-
firstResponseTime: number;
|
2980
2979
|
lastMessage: string;
|
2981
2980
|
handleTime: number;
|
2982
2981
|
closeAt: Date;
|
2983
2982
|
unreadCount: number;
|
2984
2983
|
firstResponseAt: Date;
|
2984
|
+
firstResponseTime: number;
|
2985
2985
|
isLatest: boolean;
|
2986
2986
|
platformContact: {
|
2987
2987
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
@@ -2995,7 +2995,6 @@ export declare const lineContract: {
|
|
2995
2995
|
createdAt: Date;
|
2996
2996
|
updatedAt: Date;
|
2997
2997
|
deletedAt: Date | null;
|
2998
|
-
channelId: string;
|
2999
2998
|
contact: {
|
3000
2999
|
id: string;
|
3001
3000
|
channel: string | null;
|
@@ -3100,6 +3099,7 @@ export declare const lineContract: {
|
|
3100
3099
|
};
|
3101
3100
|
}[] | undefined;
|
3102
3101
|
};
|
3102
|
+
channelId: string;
|
3103
3103
|
socialPlatformId: string;
|
3104
3104
|
};
|
3105
3105
|
assignee: {
|
@@ -3155,14 +3155,14 @@ export declare const lineContract: {
|
|
3155
3155
|
updatedAt: Date;
|
3156
3156
|
deletedAt: Date | null;
|
3157
3157
|
entityId: string;
|
3158
|
-
|
3159
|
-
contactId: string | null;
|
3158
|
+
firstResponseTime: number | null;
|
3160
3159
|
caseId: number;
|
3161
3160
|
entityName: string;
|
3161
|
+
contactId: string | null;
|
3162
|
+
queueId: string | null;
|
3162
3163
|
agentId: string | null;
|
3163
3164
|
startedDate: Date | null;
|
3164
3165
|
handledTime: number | null;
|
3165
|
-
firstResponseTime: number | null;
|
3166
3166
|
wrapUpForm: {
|
3167
3167
|
id: string;
|
3168
3168
|
disposition: string | null;
|
@@ -3176,9 +3176,9 @@ export declare const lineContract: {
|
|
3176
3176
|
updatedAt: Date;
|
3177
3177
|
deletedAt: Date | null;
|
3178
3178
|
}[];
|
3179
|
+
note: string | null;
|
3179
3180
|
callFrom: string | null;
|
3180
3181
|
callTo: string | null;
|
3181
|
-
note: string | null;
|
3182
3182
|
} | null;
|
3183
3183
|
};
|
3184
3184
|
channel?: {
|
@@ -3296,12 +3296,12 @@ export declare const lineContract: {
|
|
3296
3296
|
telephonySignature: string | null;
|
3297
3297
|
};
|
3298
3298
|
};
|
3299
|
-
firstResponseTime: number;
|
3300
3299
|
lastMessage: string;
|
3301
3300
|
handleTime: number;
|
3302
3301
|
closeAt: Date;
|
3303
3302
|
unreadCount: number;
|
3304
3303
|
firstResponseAt: Date;
|
3304
|
+
firstResponseTime: number;
|
3305
3305
|
isLatest: boolean;
|
3306
3306
|
platformContact: {
|
3307
3307
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
@@ -3315,7 +3315,6 @@ export declare const lineContract: {
|
|
3315
3315
|
createdAt: Date;
|
3316
3316
|
updatedAt: Date;
|
3317
3317
|
deletedAt: Date | null;
|
3318
|
-
channelId: string;
|
3319
3318
|
contact: {
|
3320
3319
|
id: string;
|
3321
3320
|
channel: string | null;
|
@@ -3420,6 +3419,7 @@ export declare const lineContract: {
|
|
3420
3419
|
};
|
3421
3420
|
}[] | undefined;
|
3422
3421
|
};
|
3422
|
+
channelId: string;
|
3423
3423
|
socialPlatformId: string;
|
3424
3424
|
};
|
3425
3425
|
assignee: {
|
@@ -3475,14 +3475,14 @@ export declare const lineContract: {
|
|
3475
3475
|
updatedAt: Date;
|
3476
3476
|
deletedAt: Date | null;
|
3477
3477
|
entityId: string;
|
3478
|
-
|
3479
|
-
contactId: string | null;
|
3478
|
+
firstResponseTime: number | null;
|
3480
3479
|
caseId: number;
|
3481
3480
|
entityName: string;
|
3481
|
+
contactId: string | null;
|
3482
|
+
queueId: string | null;
|
3482
3483
|
agentId: string | null;
|
3483
3484
|
startedDate: Date | null;
|
3484
3485
|
handledTime: number | null;
|
3485
|
-
firstResponseTime: number | null;
|
3486
3486
|
wrapUpForm: {
|
3487
3487
|
id: string;
|
3488
3488
|
disposition: string | null;
|
@@ -3496,9 +3496,9 @@ export declare const lineContract: {
|
|
3496
3496
|
updatedAt: Date;
|
3497
3497
|
deletedAt: Date | null;
|
3498
3498
|
}[];
|
3499
|
+
note: string | null;
|
3499
3500
|
callFrom: string | null;
|
3500
3501
|
callTo: string | null;
|
3501
|
-
note: string | null;
|
3502
3502
|
} | null;
|
3503
3503
|
};
|
3504
3504
|
channel?: {
|
@@ -4323,6 +4323,12 @@ export declare const lineContract: {
|
|
4323
4323
|
telephonySignature: string | null;
|
4324
4324
|
};
|
4325
4325
|
};
|
4326
|
+
readAt: Date;
|
4327
|
+
platformMessageId: string;
|
4328
|
+
replyPlatformMessageId: string;
|
4329
|
+
locale: "" | "th" | "mm" | "en";
|
4330
|
+
previewUrl: string;
|
4331
|
+
imageSetId: string;
|
4326
4332
|
room: {
|
4327
4333
|
id: string;
|
4328
4334
|
direction: "incoming" | "outgoing" | "system";
|
@@ -4373,12 +4379,12 @@ export declare const lineContract: {
|
|
4373
4379
|
telephonySignature: string | null;
|
4374
4380
|
};
|
4375
4381
|
};
|
4376
|
-
firstResponseTime: number;
|
4377
4382
|
lastMessage: string;
|
4378
4383
|
handleTime: number;
|
4379
4384
|
closeAt: Date;
|
4380
4385
|
unreadCount: number;
|
4381
4386
|
firstResponseAt: Date;
|
4387
|
+
firstResponseTime: number;
|
4382
4388
|
isLatest: boolean;
|
4383
4389
|
platformContact: {
|
4384
4390
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
@@ -4392,7 +4398,6 @@ export declare const lineContract: {
|
|
4392
4398
|
createdAt: Date;
|
4393
4399
|
updatedAt: Date;
|
4394
4400
|
deletedAt: Date | null;
|
4395
|
-
channelId: string;
|
4396
4401
|
contact: {
|
4397
4402
|
id: string;
|
4398
4403
|
channel: string | null;
|
@@ -4497,6 +4502,7 @@ export declare const lineContract: {
|
|
4497
4502
|
};
|
4498
4503
|
}[] | undefined;
|
4499
4504
|
};
|
4505
|
+
channelId: string;
|
4500
4506
|
socialPlatformId: string;
|
4501
4507
|
};
|
4502
4508
|
assignee: {
|
@@ -4552,14 +4558,14 @@ export declare const lineContract: {
|
|
4552
4558
|
updatedAt: Date;
|
4553
4559
|
deletedAt: Date | null;
|
4554
4560
|
entityId: string;
|
4555
|
-
|
4556
|
-
contactId: string | null;
|
4561
|
+
firstResponseTime: number | null;
|
4557
4562
|
caseId: number;
|
4558
4563
|
entityName: string;
|
4564
|
+
contactId: string | null;
|
4565
|
+
queueId: string | null;
|
4559
4566
|
agentId: string | null;
|
4560
4567
|
startedDate: Date | null;
|
4561
4568
|
handledTime: number | null;
|
4562
|
-
firstResponseTime: number | null;
|
4563
4569
|
wrapUpForm: {
|
4564
4570
|
id: string;
|
4565
4571
|
disposition: string | null;
|
@@ -4573,9 +4579,9 @@ export declare const lineContract: {
|
|
4573
4579
|
updatedAt: Date;
|
4574
4580
|
deletedAt: Date | null;
|
4575
4581
|
}[];
|
4582
|
+
note: string | null;
|
4576
4583
|
callFrom: string | null;
|
4577
4584
|
callTo: string | null;
|
4578
|
-
note: string | null;
|
4579
4585
|
} | null;
|
4580
4586
|
};
|
4581
4587
|
channel?: {
|
@@ -4644,12 +4650,6 @@ export declare const lineContract: {
|
|
4644
4650
|
} | undefined;
|
4645
4651
|
} | undefined;
|
4646
4652
|
};
|
4647
|
-
readAt: Date;
|
4648
|
-
platformMessageId: string;
|
4649
|
-
replyPlatformMessageId: string;
|
4650
|
-
locale: "" | "th" | "mm" | "en";
|
4651
|
-
previewUrl: string;
|
4652
|
-
imageSetId: string;
|
4653
4653
|
sender: {
|
4654
4654
|
id: string;
|
4655
4655
|
address: string | null;
|
@@ -4806,6 +4806,12 @@ export declare const lineContract: {
|
|
4806
4806
|
telephonySignature: string | null;
|
4807
4807
|
};
|
4808
4808
|
};
|
4809
|
+
readAt: Date;
|
4810
|
+
platformMessageId: string;
|
4811
|
+
replyPlatformMessageId: string;
|
4812
|
+
locale: "" | "th" | "mm" | "en";
|
4813
|
+
previewUrl: string;
|
4814
|
+
imageSetId: string;
|
4809
4815
|
room: {
|
4810
4816
|
id: string;
|
4811
4817
|
direction: "incoming" | "outgoing" | "system";
|
@@ -4856,12 +4862,12 @@ export declare const lineContract: {
|
|
4856
4862
|
telephonySignature: string | null;
|
4857
4863
|
};
|
4858
4864
|
};
|
4859
|
-
firstResponseTime: number;
|
4860
4865
|
lastMessage: string;
|
4861
4866
|
handleTime: number;
|
4862
4867
|
closeAt: Date;
|
4863
4868
|
unreadCount: number;
|
4864
4869
|
firstResponseAt: Date;
|
4870
|
+
firstResponseTime: number;
|
4865
4871
|
isLatest: boolean;
|
4866
4872
|
platformContact: {
|
4867
4873
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
@@ -4875,7 +4881,6 @@ export declare const lineContract: {
|
|
4875
4881
|
createdAt: Date;
|
4876
4882
|
updatedAt: Date;
|
4877
4883
|
deletedAt: Date | null;
|
4878
|
-
channelId: string;
|
4879
4884
|
contact: {
|
4880
4885
|
id: string;
|
4881
4886
|
channel: string | null;
|
@@ -4980,6 +4985,7 @@ export declare const lineContract: {
|
|
4980
4985
|
};
|
4981
4986
|
}[] | undefined;
|
4982
4987
|
};
|
4988
|
+
channelId: string;
|
4983
4989
|
socialPlatformId: string;
|
4984
4990
|
};
|
4985
4991
|
assignee: {
|
@@ -5035,14 +5041,14 @@ export declare const lineContract: {
|
|
5035
5041
|
updatedAt: Date;
|
5036
5042
|
deletedAt: Date | null;
|
5037
5043
|
entityId: string;
|
5038
|
-
|
5039
|
-
contactId: string | null;
|
5044
|
+
firstResponseTime: number | null;
|
5040
5045
|
caseId: number;
|
5041
5046
|
entityName: string;
|
5047
|
+
contactId: string | null;
|
5048
|
+
queueId: string | null;
|
5042
5049
|
agentId: string | null;
|
5043
5050
|
startedDate: Date | null;
|
5044
5051
|
handledTime: number | null;
|
5045
|
-
firstResponseTime: number | null;
|
5046
5052
|
wrapUpForm: {
|
5047
5053
|
id: string;
|
5048
5054
|
disposition: string | null;
|
@@ -5056,9 +5062,9 @@ export declare const lineContract: {
|
|
5056
5062
|
updatedAt: Date;
|
5057
5063
|
deletedAt: Date | null;
|
5058
5064
|
}[];
|
5065
|
+
note: string | null;
|
5059
5066
|
callFrom: string | null;
|
5060
5067
|
callTo: string | null;
|
5061
|
-
note: string | null;
|
5062
5068
|
} | null;
|
5063
5069
|
};
|
5064
5070
|
channel?: {
|
@@ -5127,12 +5133,6 @@ export declare const lineContract: {
|
|
5127
5133
|
} | undefined;
|
5128
5134
|
} | undefined;
|
5129
5135
|
};
|
5130
|
-
readAt: Date;
|
5131
|
-
platformMessageId: string;
|
5132
|
-
replyPlatformMessageId: string;
|
5133
|
-
locale: "" | "th" | "mm" | "en";
|
5134
|
-
previewUrl: string;
|
5135
|
-
imageSetId: string;
|
5136
5136
|
sender: {
|
5137
5137
|
id: string;
|
5138
5138
|
address: string | null;
|
@@ -5291,6 +5291,12 @@ export declare const lineContract: {
|
|
5291
5291
|
telephonySignature: string | null;
|
5292
5292
|
};
|
5293
5293
|
};
|
5294
|
+
readAt: Date;
|
5295
|
+
platformMessageId: string;
|
5296
|
+
replyPlatformMessageId: string;
|
5297
|
+
locale: "" | "th" | "mm" | "en";
|
5298
|
+
previewUrl: string;
|
5299
|
+
imageSetId: string;
|
5294
5300
|
room: {
|
5295
5301
|
id: string;
|
5296
5302
|
direction: "incoming" | "outgoing" | "system";
|
@@ -5341,12 +5347,12 @@ export declare const lineContract: {
|
|
5341
5347
|
telephonySignature: string | null;
|
5342
5348
|
};
|
5343
5349
|
};
|
5344
|
-
firstResponseTime: number;
|
5345
5350
|
lastMessage: string;
|
5346
5351
|
handleTime: number;
|
5347
5352
|
closeAt: Date;
|
5348
5353
|
unreadCount: number;
|
5349
5354
|
firstResponseAt: Date;
|
5355
|
+
firstResponseTime: number;
|
5350
5356
|
isLatest: boolean;
|
5351
5357
|
platformContact: {
|
5352
5358
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
@@ -5360,7 +5366,6 @@ export declare const lineContract: {
|
|
5360
5366
|
createdAt: Date;
|
5361
5367
|
updatedAt: Date;
|
5362
5368
|
deletedAt: Date | null;
|
5363
|
-
channelId: string;
|
5364
5369
|
contact: {
|
5365
5370
|
id: string;
|
5366
5371
|
channel: string | null;
|
@@ -5465,6 +5470,7 @@ export declare const lineContract: {
|
|
5465
5470
|
};
|
5466
5471
|
}[] | undefined;
|
5467
5472
|
};
|
5473
|
+
channelId: string;
|
5468
5474
|
socialPlatformId: string;
|
5469
5475
|
};
|
5470
5476
|
assignee: {
|
@@ -5520,14 +5526,14 @@ export declare const lineContract: {
|
|
5520
5526
|
updatedAt: Date;
|
5521
5527
|
deletedAt: Date | null;
|
5522
5528
|
entityId: string;
|
5523
|
-
|
5524
|
-
contactId: string | null;
|
5529
|
+
firstResponseTime: number | null;
|
5525
5530
|
caseId: number;
|
5526
5531
|
entityName: string;
|
5532
|
+
contactId: string | null;
|
5533
|
+
queueId: string | null;
|
5527
5534
|
agentId: string | null;
|
5528
5535
|
startedDate: Date | null;
|
5529
5536
|
handledTime: number | null;
|
5530
|
-
firstResponseTime: number | null;
|
5531
5537
|
wrapUpForm: {
|
5532
5538
|
id: string;
|
5533
5539
|
disposition: string | null;
|
@@ -5541,9 +5547,9 @@ export declare const lineContract: {
|
|
5541
5547
|
updatedAt: Date;
|
5542
5548
|
deletedAt: Date | null;
|
5543
5549
|
}[];
|
5550
|
+
note: string | null;
|
5544
5551
|
callFrom: string | null;
|
5545
5552
|
callTo: string | null;
|
5546
|
-
note: string | null;
|
5547
5553
|
} | null;
|
5548
5554
|
};
|
5549
5555
|
channel?: {
|
@@ -5612,12 +5618,6 @@ export declare const lineContract: {
|
|
5612
5618
|
} | undefined;
|
5613
5619
|
} | undefined;
|
5614
5620
|
};
|
5615
|
-
readAt: Date;
|
5616
|
-
platformMessageId: string;
|
5617
|
-
replyPlatformMessageId: string;
|
5618
|
-
locale: "" | "th" | "mm" | "en";
|
5619
|
-
previewUrl: string;
|
5620
|
-
imageSetId: string;
|
5621
5621
|
sender: {
|
5622
5622
|
id: string;
|
5623
5623
|
address: string | null;
|
@@ -5777,6 +5777,12 @@ export declare const lineContract: {
|
|
5777
5777
|
telephonySignature: string | null;
|
5778
5778
|
};
|
5779
5779
|
};
|
5780
|
+
readAt: Date;
|
5781
|
+
platformMessageId: string;
|
5782
|
+
replyPlatformMessageId: string;
|
5783
|
+
locale: "" | "th" | "mm" | "en";
|
5784
|
+
previewUrl: string;
|
5785
|
+
imageSetId: string;
|
5780
5786
|
room: {
|
5781
5787
|
id: string;
|
5782
5788
|
direction: "incoming" | "outgoing" | "system";
|
@@ -5827,12 +5833,12 @@ export declare const lineContract: {
|
|
5827
5833
|
telephonySignature: string | null;
|
5828
5834
|
};
|
5829
5835
|
};
|
5830
|
-
firstResponseTime: number;
|
5831
5836
|
lastMessage: string;
|
5832
5837
|
handleTime: number;
|
5833
5838
|
closeAt: Date;
|
5834
5839
|
unreadCount: number;
|
5835
5840
|
firstResponseAt: Date;
|
5841
|
+
firstResponseTime: number;
|
5836
5842
|
isLatest: boolean;
|
5837
5843
|
platformContact: {
|
5838
5844
|
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
@@ -5846,7 +5852,6 @@ export declare const lineContract: {
|
|
5846
5852
|
createdAt: Date;
|
5847
5853
|
updatedAt: Date;
|
5848
5854
|
deletedAt: Date | null;
|
5849
|
-
channelId: string;
|
5850
5855
|
contact: {
|
5851
5856
|
id: string;
|
5852
5857
|
channel: string | null;
|
@@ -5951,6 +5956,7 @@ export declare const lineContract: {
|
|
5951
5956
|
};
|
5952
5957
|
}[] | undefined;
|
5953
5958
|
};
|
5959
|
+
channelId: string;
|
5954
5960
|
socialPlatformId: string;
|
5955
5961
|
};
|
5956
5962
|
assignee: {
|
@@ -6006,14 +6012,14 @@ export declare const lineContract: {
|
|
6006
6012
|
updatedAt: Date;
|
6007
6013
|
deletedAt: Date | null;
|
6008
6014
|
entityId: string;
|
6009
|
-
|
6010
|
-
contactId: string | null;
|
6015
|
+
firstResponseTime: number | null;
|
6011
6016
|
caseId: number;
|
6012
6017
|
entityName: string;
|
6018
|
+
contactId: string | null;
|
6019
|
+
queueId: string | null;
|
6013
6020
|
agentId: string | null;
|
6014
6021
|
startedDate: Date | null;
|
6015
6022
|
handledTime: number | null;
|
6016
|
-
firstResponseTime: number | null;
|
6017
6023
|
wrapUpForm: {
|
6018
6024
|
id: string;
|
6019
6025
|
disposition: string | null;
|
@@ -6027,9 +6033,9 @@ export declare const lineContract: {
|
|
6027
6033
|
updatedAt: Date;
|
6028
6034
|
deletedAt: Date | null;
|
6029
6035
|
}[];
|
6036
|
+
note: string | null;
|
6030
6037
|
callFrom: string | null;
|
6031
6038
|
callTo: string | null;
|
6032
|
-
note: string | null;
|
6033
6039
|
} | null;
|
6034
6040
|
};
|
6035
6041
|
channel?: {
|
@@ -6098,12 +6104,6 @@ export declare const lineContract: {
|
|
6098
6104
|
} | undefined;
|
6099
6105
|
} | undefined;
|
6100
6106
|
};
|
6101
|
-
readAt: Date;
|
6102
|
-
platformMessageId: string;
|
6103
|
-
replyPlatformMessageId: string;
|
6104
|
-
locale: "" | "th" | "mm" | "en";
|
6105
|
-
previewUrl: string;
|
6106
|
-
imageSetId: string;
|
6107
6107
|
sender: {
|
6108
6108
|
id: string;
|
6109
6109
|
address: string | null;
|