@kl1/contracts 1.0.20 → 1.0.21
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 +1358 -1301
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1355 -1301
- package/dist/index.mjs.map +1 -1
- package/dist/src/call-log/schema.d.ts +4 -4
- package/dist/src/call-log/validation.d.ts +2 -2
- package/dist/src/chat/index.d.ts +323 -2300
- package/dist/src/chat/index.d.ts.map +1 -1
- package/dist/src/chat/schema.d.ts +48 -352
- package/dist/src/chat/schema.d.ts.map +1 -1
- package/dist/src/chat/validation.d.ts +253 -514
- package/dist/src/chat/validation.d.ts.map +1 -1
- package/dist/src/contract.d.ts +6984 -3662
- package/dist/src/contract.d.ts.map +1 -1
- package/dist/src/cx-log/index.d.ts +5424 -85
- package/dist/src/cx-log/index.d.ts.map +1 -1
- package/dist/src/cx-log/schema.d.ts +4472 -34
- package/dist/src/cx-log/schema.d.ts.map +1 -1
- package/dist/src/evaluate-form/schema.d.ts +2 -2
- package/dist/src/index.d.ts +3 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/mail/mail-contract.d.ts +106 -106
- package/dist/src/mail/message-contract.d.ts +6 -6
- package/dist/src/mail/room-contract.d.ts +100 -100
- package/dist/src/mail/schemas/message.schema.d.ts +4 -4
- package/dist/src/mail/schemas/room-validation.schema.d.ts +32 -32
- package/dist/src/mail/schemas/room.schema.d.ts +26 -26
- package/dist/src/messenger/index.d.ts +218 -257
- package/dist/src/messenger/index.d.ts.map +1 -1
- package/dist/src/telephony-cdr/schema.d.ts +8 -8
- package/dist/src/telephony-cdr/validation.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 +4 -4
- package/dist/src/ticket/validation.d.ts +4 -4
- package/dist/src/ticket/validation.d.ts.map +1 -1
- package/dist/src/user/index.d.ts +2 -0
- package/dist/src/user/index.d.ts.map +1 -1
- package/dist/src/wrap-up-form/index.d.ts +15 -15
- 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 +10 -4
@@ -600,6 +600,62 @@ export declare const SearchRoomsSchema: z.ZodObject<{
|
|
600
600
|
page?: number | undefined;
|
601
601
|
pageSize?: number | undefined;
|
602
602
|
}>;
|
603
|
+
export declare const ChannelSchema: z.ZodObject<{
|
604
|
+
name: z.ZodString;
|
605
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
|
606
|
+
metadata: z.ZodObject<{
|
607
|
+
id: z.ZodString;
|
608
|
+
name: z.ZodString;
|
609
|
+
accessToken: z.ZodString;
|
610
|
+
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
611
|
+
}, "strip", z.ZodTypeAny, {
|
612
|
+
id: string;
|
613
|
+
name: string;
|
614
|
+
accessToken: string;
|
615
|
+
additionalCredentials?: any;
|
616
|
+
}, {
|
617
|
+
id: string;
|
618
|
+
name: string;
|
619
|
+
accessToken: string;
|
620
|
+
additionalCredentials?: any;
|
621
|
+
}>;
|
622
|
+
brandName: z.ZodString;
|
623
|
+
platformId: z.ZodString;
|
624
|
+
status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
|
625
|
+
isReloginRequired: z.ZodBoolean;
|
626
|
+
connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
627
|
+
connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
628
|
+
}, "strip", z.ZodTypeAny, {
|
629
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
630
|
+
name: string;
|
631
|
+
metadata: {
|
632
|
+
id: string;
|
633
|
+
name: string;
|
634
|
+
accessToken: string;
|
635
|
+
additionalCredentials?: any;
|
636
|
+
};
|
637
|
+
status: boolean;
|
638
|
+
brandName: string;
|
639
|
+
platformId: string;
|
640
|
+
isReloginRequired: boolean;
|
641
|
+
connectedUserName?: string | null | undefined;
|
642
|
+
connectedUserId?: string | null | undefined;
|
643
|
+
}, {
|
644
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
645
|
+
name: string;
|
646
|
+
metadata: {
|
647
|
+
id: string;
|
648
|
+
name: string;
|
649
|
+
accessToken: string;
|
650
|
+
additionalCredentials?: any;
|
651
|
+
};
|
652
|
+
status: boolean;
|
653
|
+
brandName: string;
|
654
|
+
platformId: string;
|
655
|
+
isReloginRequired: boolean;
|
656
|
+
connectedUserName?: string | null | undefined;
|
657
|
+
connectedUserId?: string | null | undefined;
|
658
|
+
}>;
|
603
659
|
export declare const SendMessageToPlatformSchema: z.ZodObject<{
|
604
660
|
room: z.ZodObject<{
|
605
661
|
id: z.ZodString;
|
@@ -2922,76 +2978,14 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
2922
2978
|
caseId: z.ZodNumber;
|
2923
2979
|
entityId: z.ZodString;
|
2924
2980
|
entityName: z.ZodString;
|
2925
|
-
|
2981
|
+
channelType: z.ZodNullable<z.ZodString>;
|
2926
2982
|
channel: z.ZodNullable<z.ZodString>;
|
2927
|
-
queueId: z.ZodNullable<z.ZodString>;
|
2928
|
-
agentId: z.ZodNullable<z.ZodString>;
|
2929
2983
|
direction: z.ZodNullable<z.ZodString>;
|
2930
2984
|
startedDate: z.ZodNullable<z.ZodDate>;
|
2931
2985
|
handledTime: z.ZodNullable<z.ZodNumber>;
|
2932
|
-
firstResponseTime: z.ZodNullable<z.
|
2986
|
+
firstResponseTime: z.ZodNullable<z.ZodString>;
|
2933
2987
|
disposition: z.ZodNullable<z.ZodString>;
|
2934
|
-
|
2935
|
-
id: z.ZodString;
|
2936
|
-
createdAt: z.ZodDate;
|
2937
|
-
updatedAt: z.ZodDate;
|
2938
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
2939
|
-
note: z.ZodNullable<z.ZodString>;
|
2940
|
-
disposition: z.ZodNullable<z.ZodString>;
|
2941
|
-
callFrom: z.ZodNullable<z.ZodString>;
|
2942
|
-
callTo: z.ZodNullable<z.ZodString>;
|
2943
|
-
tags: z.ZodArray<z.ZodObject<{
|
2944
|
-
id: z.ZodString;
|
2945
|
-
createdAt: z.ZodDate;
|
2946
|
-
updatedAt: z.ZodDate;
|
2947
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
2948
|
-
name: z.ZodString;
|
2949
|
-
}, "strip", z.ZodTypeAny, {
|
2950
|
-
id: string;
|
2951
|
-
name: string;
|
2952
|
-
createdAt: Date;
|
2953
|
-
updatedAt: Date;
|
2954
|
-
deletedAt: Date | null;
|
2955
|
-
}, {
|
2956
|
-
id: string;
|
2957
|
-
name: string;
|
2958
|
-
createdAt: Date;
|
2959
|
-
updatedAt: Date;
|
2960
|
-
deletedAt: Date | null;
|
2961
|
-
}>, "many">;
|
2962
|
-
}, "strip", z.ZodTypeAny, {
|
2963
|
-
id: string;
|
2964
|
-
disposition: string | null;
|
2965
|
-
createdAt: Date;
|
2966
|
-
updatedAt: Date;
|
2967
|
-
deletedAt: Date | null;
|
2968
|
-
tags: {
|
2969
|
-
id: string;
|
2970
|
-
name: string;
|
2971
|
-
createdAt: Date;
|
2972
|
-
updatedAt: Date;
|
2973
|
-
deletedAt: Date | null;
|
2974
|
-
}[];
|
2975
|
-
note: string | null;
|
2976
|
-
callFrom: string | null;
|
2977
|
-
callTo: string | null;
|
2978
|
-
}, {
|
2979
|
-
id: string;
|
2980
|
-
disposition: string | null;
|
2981
|
-
createdAt: Date;
|
2982
|
-
updatedAt: Date;
|
2983
|
-
deletedAt: Date | null;
|
2984
|
-
tags: {
|
2985
|
-
id: string;
|
2986
|
-
name: string;
|
2987
|
-
createdAt: Date;
|
2988
|
-
updatedAt: Date;
|
2989
|
-
deletedAt: Date | null;
|
2990
|
-
}[];
|
2991
|
-
note: string | null;
|
2992
|
-
callFrom: string | null;
|
2993
|
-
callTo: string | null;
|
2994
|
-
}>>;
|
2988
|
+
slaMeet: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
2995
2989
|
}, "strip", z.ZodTypeAny, {
|
2996
2990
|
id: string;
|
2997
2991
|
channel: string | null;
|
@@ -3003,29 +2997,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3003
2997
|
entityId: string;
|
3004
2998
|
caseId: number;
|
3005
2999
|
entityName: string;
|
3006
|
-
|
3007
|
-
queueId: string | null;
|
3008
|
-
agentId: string | null;
|
3000
|
+
channelType: string | null;
|
3009
3001
|
startedDate: Date | null;
|
3010
3002
|
handledTime: number | null;
|
3011
|
-
firstResponseTime:
|
3012
|
-
|
3013
|
-
id: string;
|
3014
|
-
disposition: string | null;
|
3015
|
-
createdAt: Date;
|
3016
|
-
updatedAt: Date;
|
3017
|
-
deletedAt: Date | null;
|
3018
|
-
tags: {
|
3019
|
-
id: string;
|
3020
|
-
name: string;
|
3021
|
-
createdAt: Date;
|
3022
|
-
updatedAt: Date;
|
3023
|
-
deletedAt: Date | null;
|
3024
|
-
}[];
|
3025
|
-
note: string | null;
|
3026
|
-
callFrom: string | null;
|
3027
|
-
callTo: string | null;
|
3028
|
-
} | null;
|
3003
|
+
firstResponseTime: string | null;
|
3004
|
+
slaMeet?: string | null | undefined;
|
3029
3005
|
}, {
|
3030
3006
|
id: string;
|
3031
3007
|
channel: string | null;
|
@@ -3037,29 +3013,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3037
3013
|
entityId: string;
|
3038
3014
|
caseId: number;
|
3039
3015
|
entityName: string;
|
3040
|
-
|
3041
|
-
queueId: string | null;
|
3042
|
-
agentId: string | null;
|
3016
|
+
channelType: string | null;
|
3043
3017
|
startedDate: Date | null;
|
3044
3018
|
handledTime: number | null;
|
3045
|
-
firstResponseTime:
|
3046
|
-
|
3047
|
-
id: string;
|
3048
|
-
disposition: string | null;
|
3049
|
-
createdAt: Date;
|
3050
|
-
updatedAt: Date;
|
3051
|
-
deletedAt: Date | null;
|
3052
|
-
tags: {
|
3053
|
-
id: string;
|
3054
|
-
name: string;
|
3055
|
-
createdAt: Date;
|
3056
|
-
updatedAt: Date;
|
3057
|
-
deletedAt: Date | null;
|
3058
|
-
}[];
|
3059
|
-
note: string | null;
|
3060
|
-
callFrom: string | null;
|
3061
|
-
callTo: string | null;
|
3062
|
-
} | null;
|
3019
|
+
firstResponseTime: string | null;
|
3020
|
+
slaMeet?: string | null | undefined;
|
3063
3021
|
}>;
|
3064
3022
|
}, "strip", z.ZodTypeAny, {
|
3065
3023
|
id: string;
|
@@ -3288,29 +3246,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3288
3246
|
entityId: string;
|
3289
3247
|
caseId: number;
|
3290
3248
|
entityName: string;
|
3291
|
-
|
3292
|
-
queueId: string | null;
|
3293
|
-
agentId: string | null;
|
3249
|
+
channelType: string | null;
|
3294
3250
|
startedDate: Date | null;
|
3295
3251
|
handledTime: number | null;
|
3296
|
-
firstResponseTime:
|
3297
|
-
|
3298
|
-
id: string;
|
3299
|
-
disposition: string | null;
|
3300
|
-
createdAt: Date;
|
3301
|
-
updatedAt: Date;
|
3302
|
-
deletedAt: Date | null;
|
3303
|
-
tags: {
|
3304
|
-
id: string;
|
3305
|
-
name: string;
|
3306
|
-
createdAt: Date;
|
3307
|
-
updatedAt: Date;
|
3308
|
-
deletedAt: Date | null;
|
3309
|
-
}[];
|
3310
|
-
note: string | null;
|
3311
|
-
callFrom: string | null;
|
3312
|
-
callTo: string | null;
|
3313
|
-
} | null;
|
3252
|
+
firstResponseTime: string | null;
|
3253
|
+
slaMeet?: string | null | undefined;
|
3314
3254
|
};
|
3315
3255
|
channel?: {
|
3316
3256
|
id?: string | undefined;
|
@@ -3602,29 +3542,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
3602
3542
|
entityId: string;
|
3603
3543
|
caseId: number;
|
3604
3544
|
entityName: string;
|
3605
|
-
|
3606
|
-
queueId: string | null;
|
3607
|
-
agentId: string | null;
|
3545
|
+
channelType: string | null;
|
3608
3546
|
startedDate: Date | null;
|
3609
3547
|
handledTime: number | null;
|
3610
|
-
firstResponseTime:
|
3611
|
-
|
3612
|
-
id: string;
|
3613
|
-
disposition: string | null;
|
3614
|
-
createdAt: Date;
|
3615
|
-
updatedAt: Date;
|
3616
|
-
deletedAt: Date | null;
|
3617
|
-
tags: {
|
3618
|
-
id: string;
|
3619
|
-
name: string;
|
3620
|
-
createdAt: Date;
|
3621
|
-
updatedAt: Date;
|
3622
|
-
deletedAt: Date | null;
|
3623
|
-
}[];
|
3624
|
-
note: string | null;
|
3625
|
-
callFrom: string | null;
|
3626
|
-
callTo: string | null;
|
3627
|
-
} | null;
|
3548
|
+
firstResponseTime: string | null;
|
3549
|
+
slaMeet?: string | null | undefined;
|
3628
3550
|
};
|
3629
3551
|
channel?: {
|
3630
3552
|
id?: string | undefined;
|
@@ -4421,12 +4343,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4421
4343
|
telephonySignature: string | null;
|
4422
4344
|
} | undefined;
|
4423
4345
|
};
|
4424
|
-
readAt: Date;
|
4425
|
-
platformMessageId: string;
|
4426
|
-
replyPlatformMessageId: string;
|
4427
|
-
locale: "" | "th" | "mm" | "en";
|
4428
|
-
previewUrl: string;
|
4429
|
-
imageSetId: string;
|
4430
4346
|
room: {
|
4431
4347
|
id: string;
|
4432
4348
|
direction: "incoming" | "outgoing" | "system";
|
@@ -4654,29 +4570,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4654
4570
|
entityId: string;
|
4655
4571
|
caseId: number;
|
4656
4572
|
entityName: string;
|
4657
|
-
|
4658
|
-
queueId: string | null;
|
4659
|
-
agentId: string | null;
|
4573
|
+
channelType: string | null;
|
4660
4574
|
startedDate: Date | null;
|
4661
4575
|
handledTime: number | null;
|
4662
|
-
firstResponseTime:
|
4663
|
-
|
4664
|
-
id: string;
|
4665
|
-
disposition: string | null;
|
4666
|
-
createdAt: Date;
|
4667
|
-
updatedAt: Date;
|
4668
|
-
deletedAt: Date | null;
|
4669
|
-
tags: {
|
4670
|
-
id: string;
|
4671
|
-
name: string;
|
4672
|
-
createdAt: Date;
|
4673
|
-
updatedAt: Date;
|
4674
|
-
deletedAt: Date | null;
|
4675
|
-
}[];
|
4676
|
-
note: string | null;
|
4677
|
-
callFrom: string | null;
|
4678
|
-
callTo: string | null;
|
4679
|
-
} | null;
|
4576
|
+
firstResponseTime: string | null;
|
4577
|
+
slaMeet?: string | null | undefined;
|
4680
4578
|
};
|
4681
4579
|
channel?: {
|
4682
4580
|
id?: string | undefined;
|
@@ -4742,6 +4640,12 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4742
4640
|
} | undefined;
|
4743
4641
|
} | undefined;
|
4744
4642
|
};
|
4643
|
+
readAt: Date;
|
4644
|
+
platformMessageId: string;
|
4645
|
+
replyPlatformMessageId: string;
|
4646
|
+
locale: "" | "th" | "mm" | "en";
|
4647
|
+
previewUrl: string;
|
4648
|
+
imageSetId: string;
|
4745
4649
|
sender: {
|
4746
4650
|
id: string;
|
4747
4651
|
address: string | null;
|
@@ -4893,12 +4797,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
4893
4797
|
telephonySignature: string | null;
|
4894
4798
|
} | undefined;
|
4895
4799
|
};
|
4896
|
-
readAt: Date;
|
4897
|
-
platformMessageId: string;
|
4898
|
-
replyPlatformMessageId: string;
|
4899
|
-
locale: "" | "th" | "mm" | "en";
|
4900
|
-
previewUrl: string;
|
4901
|
-
imageSetId: string;
|
4902
4800
|
room: {
|
4903
4801
|
id: string;
|
4904
4802
|
direction: "incoming" | "outgoing" | "system";
|
@@ -5126,29 +5024,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5126
5024
|
entityId: string;
|
5127
5025
|
caseId: number;
|
5128
5026
|
entityName: string;
|
5129
|
-
|
5130
|
-
queueId: string | null;
|
5131
|
-
agentId: string | null;
|
5027
|
+
channelType: string | null;
|
5132
5028
|
startedDate: Date | null;
|
5133
5029
|
handledTime: number | null;
|
5134
|
-
firstResponseTime:
|
5135
|
-
|
5136
|
-
id: string;
|
5137
|
-
disposition: string | null;
|
5138
|
-
createdAt: Date;
|
5139
|
-
updatedAt: Date;
|
5140
|
-
deletedAt: Date | null;
|
5141
|
-
tags: {
|
5142
|
-
id: string;
|
5143
|
-
name: string;
|
5144
|
-
createdAt: Date;
|
5145
|
-
updatedAt: Date;
|
5146
|
-
deletedAt: Date | null;
|
5147
|
-
}[];
|
5148
|
-
note: string | null;
|
5149
|
-
callFrom: string | null;
|
5150
|
-
callTo: string | null;
|
5151
|
-
} | null;
|
5030
|
+
firstResponseTime: string | null;
|
5031
|
+
slaMeet?: string | null | undefined;
|
5152
5032
|
};
|
5153
5033
|
channel?: {
|
5154
5034
|
id?: string | undefined;
|
@@ -5214,6 +5094,12 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5214
5094
|
} | undefined;
|
5215
5095
|
} | undefined;
|
5216
5096
|
};
|
5097
|
+
readAt: Date;
|
5098
|
+
platformMessageId: string;
|
5099
|
+
replyPlatformMessageId: string;
|
5100
|
+
locale: "" | "th" | "mm" | "en";
|
5101
|
+
previewUrl: string;
|
5102
|
+
imageSetId: string;
|
5217
5103
|
sender: {
|
5218
5104
|
id: string;
|
5219
5105
|
address: string | null;
|
@@ -5367,12 +5253,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5367
5253
|
telephonySignature: string | null;
|
5368
5254
|
} | undefined;
|
5369
5255
|
};
|
5370
|
-
readAt: Date;
|
5371
|
-
platformMessageId: string;
|
5372
|
-
replyPlatformMessageId: string;
|
5373
|
-
locale: "" | "th" | "mm" | "en";
|
5374
|
-
previewUrl: string;
|
5375
|
-
imageSetId: string;
|
5376
5256
|
room: {
|
5377
5257
|
id: string;
|
5378
5258
|
direction: "incoming" | "outgoing" | "system";
|
@@ -5600,29 +5480,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5600
5480
|
entityId: string;
|
5601
5481
|
caseId: number;
|
5602
5482
|
entityName: string;
|
5603
|
-
|
5604
|
-
queueId: string | null;
|
5605
|
-
agentId: string | null;
|
5483
|
+
channelType: string | null;
|
5606
5484
|
startedDate: Date | null;
|
5607
5485
|
handledTime: number | null;
|
5608
|
-
firstResponseTime:
|
5609
|
-
|
5610
|
-
id: string;
|
5611
|
-
disposition: string | null;
|
5612
|
-
createdAt: Date;
|
5613
|
-
updatedAt: Date;
|
5614
|
-
deletedAt: Date | null;
|
5615
|
-
tags: {
|
5616
|
-
id: string;
|
5617
|
-
name: string;
|
5618
|
-
createdAt: Date;
|
5619
|
-
updatedAt: Date;
|
5620
|
-
deletedAt: Date | null;
|
5621
|
-
}[];
|
5622
|
-
note: string | null;
|
5623
|
-
callFrom: string | null;
|
5624
|
-
callTo: string | null;
|
5625
|
-
} | null;
|
5486
|
+
firstResponseTime: string | null;
|
5487
|
+
slaMeet?: string | null | undefined;
|
5626
5488
|
};
|
5627
5489
|
channel?: {
|
5628
5490
|
id?: string | undefined;
|
@@ -5688,6 +5550,12 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5688
5550
|
} | undefined;
|
5689
5551
|
} | undefined;
|
5690
5552
|
};
|
5553
|
+
readAt: Date;
|
5554
|
+
platformMessageId: string;
|
5555
|
+
replyPlatformMessageId: string;
|
5556
|
+
locale: "" | "th" | "mm" | "en";
|
5557
|
+
previewUrl: string;
|
5558
|
+
imageSetId: string;
|
5691
5559
|
sender: {
|
5692
5560
|
id: string;
|
5693
5561
|
address: string | null;
|
@@ -5842,12 +5710,6 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
5842
5710
|
telephonySignature: string | null;
|
5843
5711
|
} | undefined;
|
5844
5712
|
};
|
5845
|
-
readAt: Date;
|
5846
|
-
platformMessageId: string;
|
5847
|
-
replyPlatformMessageId: string;
|
5848
|
-
locale: "" | "th" | "mm" | "en";
|
5849
|
-
previewUrl: string;
|
5850
|
-
imageSetId: string;
|
5851
5713
|
room: {
|
5852
5714
|
id: string;
|
5853
5715
|
direction: "incoming" | "outgoing" | "system";
|
@@ -6075,29 +5937,11 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6075
5937
|
entityId: string;
|
6076
5938
|
caseId: number;
|
6077
5939
|
entityName: string;
|
6078
|
-
|
6079
|
-
queueId: string | null;
|
6080
|
-
agentId: string | null;
|
5940
|
+
channelType: string | null;
|
6081
5941
|
startedDate: Date | null;
|
6082
5942
|
handledTime: number | null;
|
6083
|
-
firstResponseTime:
|
6084
|
-
|
6085
|
-
id: string;
|
6086
|
-
disposition: string | null;
|
6087
|
-
createdAt: Date;
|
6088
|
-
updatedAt: Date;
|
6089
|
-
deletedAt: Date | null;
|
6090
|
-
tags: {
|
6091
|
-
id: string;
|
6092
|
-
name: string;
|
6093
|
-
createdAt: Date;
|
6094
|
-
updatedAt: Date;
|
6095
|
-
deletedAt: Date | null;
|
6096
|
-
}[];
|
6097
|
-
note: string | null;
|
6098
|
-
callFrom: string | null;
|
6099
|
-
callTo: string | null;
|
6100
|
-
} | null;
|
5943
|
+
firstResponseTime: string | null;
|
5944
|
+
slaMeet?: string | null | undefined;
|
6101
5945
|
};
|
6102
5946
|
channel?: {
|
6103
5947
|
id?: string | undefined;
|
@@ -6163,6 +6007,12 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6163
6007
|
} | undefined;
|
6164
6008
|
} | undefined;
|
6165
6009
|
};
|
6010
|
+
readAt: Date;
|
6011
|
+
platformMessageId: string;
|
6012
|
+
replyPlatformMessageId: string;
|
6013
|
+
locale: "" | "th" | "mm" | "en";
|
6014
|
+
previewUrl: string;
|
6015
|
+
imageSetId: string;
|
6166
6016
|
sender: {
|
6167
6017
|
id: string;
|
6168
6018
|
address: string | null;
|
@@ -6211,6 +6061,101 @@ export declare const SendMessageResponseSchema: z.ZodObject<{
|
|
6211
6061
|
};
|
6212
6062
|
requestId: string;
|
6213
6063
|
}>;
|
6064
|
+
export declare const ConnectChannelServiceResponseSchema: z.ZodObject<{
|
6065
|
+
requestId: z.ZodString;
|
6066
|
+
data: z.ZodObject<{
|
6067
|
+
name: z.ZodString;
|
6068
|
+
type: z.ZodEnum<["whatsapp", "messenger", "telegram", "line", "viber", "kakao", "shopee", "lazada", "instagram"]>;
|
6069
|
+
metadata: z.ZodObject<{
|
6070
|
+
id: z.ZodString;
|
6071
|
+
name: z.ZodString;
|
6072
|
+
accessToken: z.ZodString;
|
6073
|
+
additionalCredentials: z.ZodOptional<z.ZodAny>;
|
6074
|
+
}, "strip", z.ZodTypeAny, {
|
6075
|
+
id: string;
|
6076
|
+
name: string;
|
6077
|
+
accessToken: string;
|
6078
|
+
additionalCredentials?: any;
|
6079
|
+
}, {
|
6080
|
+
id: string;
|
6081
|
+
name: string;
|
6082
|
+
accessToken: string;
|
6083
|
+
additionalCredentials?: any;
|
6084
|
+
}>;
|
6085
|
+
brandName: z.ZodString;
|
6086
|
+
platformId: z.ZodString;
|
6087
|
+
status: z.ZodUnion<[z.ZodLiteral<true>, z.ZodLiteral<false>]>;
|
6088
|
+
isReloginRequired: z.ZodBoolean;
|
6089
|
+
connectedUserName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
6090
|
+
connectedUserId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
6091
|
+
}, "strip", z.ZodTypeAny, {
|
6092
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
6093
|
+
name: string;
|
6094
|
+
metadata: {
|
6095
|
+
id: string;
|
6096
|
+
name: string;
|
6097
|
+
accessToken: string;
|
6098
|
+
additionalCredentials?: any;
|
6099
|
+
};
|
6100
|
+
status: boolean;
|
6101
|
+
brandName: string;
|
6102
|
+
platformId: string;
|
6103
|
+
isReloginRequired: boolean;
|
6104
|
+
connectedUserName?: string | null | undefined;
|
6105
|
+
connectedUserId?: string | null | undefined;
|
6106
|
+
}, {
|
6107
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
6108
|
+
name: string;
|
6109
|
+
metadata: {
|
6110
|
+
id: string;
|
6111
|
+
name: string;
|
6112
|
+
accessToken: string;
|
6113
|
+
additionalCredentials?: any;
|
6114
|
+
};
|
6115
|
+
status: boolean;
|
6116
|
+
brandName: string;
|
6117
|
+
platformId: string;
|
6118
|
+
isReloginRequired: boolean;
|
6119
|
+
connectedUserName?: string | null | undefined;
|
6120
|
+
connectedUserId?: string | null | undefined;
|
6121
|
+
}>;
|
6122
|
+
}, "strip", z.ZodTypeAny, {
|
6123
|
+
data: {
|
6124
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
6125
|
+
name: string;
|
6126
|
+
metadata: {
|
6127
|
+
id: string;
|
6128
|
+
name: string;
|
6129
|
+
accessToken: string;
|
6130
|
+
additionalCredentials?: any;
|
6131
|
+
};
|
6132
|
+
status: boolean;
|
6133
|
+
brandName: string;
|
6134
|
+
platformId: string;
|
6135
|
+
isReloginRequired: boolean;
|
6136
|
+
connectedUserName?: string | null | undefined;
|
6137
|
+
connectedUserId?: string | null | undefined;
|
6138
|
+
};
|
6139
|
+
requestId: string;
|
6140
|
+
}, {
|
6141
|
+
data: {
|
6142
|
+
type: "line" | "whatsapp" | "messenger" | "telegram" | "viber" | "kakao" | "shopee" | "lazada" | "instagram";
|
6143
|
+
name: string;
|
6144
|
+
metadata: {
|
6145
|
+
id: string;
|
6146
|
+
name: string;
|
6147
|
+
accessToken: string;
|
6148
|
+
additionalCredentials?: any;
|
6149
|
+
};
|
6150
|
+
status: boolean;
|
6151
|
+
brandName: string;
|
6152
|
+
platformId: string;
|
6153
|
+
isReloginRequired: boolean;
|
6154
|
+
connectedUserName?: string | null | undefined;
|
6155
|
+
connectedUserId?: string | null | undefined;
|
6156
|
+
};
|
6157
|
+
requestId: string;
|
6158
|
+
}>;
|
6214
6159
|
export declare const ReceiveMessageSchema: z.ZodObject<{
|
6215
6160
|
message: z.ZodObject<{
|
6216
6161
|
id: z.ZodString;
|
@@ -7999,76 +7944,14 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
7999
7944
|
caseId: z.ZodNumber;
|
8000
7945
|
entityId: z.ZodString;
|
8001
7946
|
entityName: z.ZodString;
|
8002
|
-
|
7947
|
+
channelType: z.ZodNullable<z.ZodString>;
|
8003
7948
|
channel: z.ZodNullable<z.ZodString>;
|
8004
|
-
queueId: z.ZodNullable<z.ZodString>;
|
8005
|
-
agentId: z.ZodNullable<z.ZodString>;
|
8006
7949
|
direction: z.ZodNullable<z.ZodString>;
|
8007
7950
|
startedDate: z.ZodNullable<z.ZodDate>;
|
8008
7951
|
handledTime: z.ZodNullable<z.ZodNumber>;
|
8009
|
-
firstResponseTime: z.ZodNullable<z.
|
7952
|
+
firstResponseTime: z.ZodNullable<z.ZodString>;
|
8010
7953
|
disposition: z.ZodNullable<z.ZodString>;
|
8011
|
-
|
8012
|
-
id: z.ZodString;
|
8013
|
-
createdAt: z.ZodDate;
|
8014
|
-
updatedAt: z.ZodDate;
|
8015
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
8016
|
-
note: z.ZodNullable<z.ZodString>;
|
8017
|
-
disposition: z.ZodNullable<z.ZodString>;
|
8018
|
-
callFrom: z.ZodNullable<z.ZodString>;
|
8019
|
-
callTo: z.ZodNullable<z.ZodString>;
|
8020
|
-
tags: z.ZodArray<z.ZodObject<{
|
8021
|
-
id: z.ZodString;
|
8022
|
-
createdAt: z.ZodDate;
|
8023
|
-
updatedAt: z.ZodDate;
|
8024
|
-
deletedAt: z.ZodNullable<z.ZodDate>;
|
8025
|
-
name: z.ZodString;
|
8026
|
-
}, "strip", z.ZodTypeAny, {
|
8027
|
-
id: string;
|
8028
|
-
name: string;
|
8029
|
-
createdAt: Date;
|
8030
|
-
updatedAt: Date;
|
8031
|
-
deletedAt: Date | null;
|
8032
|
-
}, {
|
8033
|
-
id: string;
|
8034
|
-
name: string;
|
8035
|
-
createdAt: Date;
|
8036
|
-
updatedAt: Date;
|
8037
|
-
deletedAt: Date | null;
|
8038
|
-
}>, "many">;
|
8039
|
-
}, "strip", z.ZodTypeAny, {
|
8040
|
-
id: string;
|
8041
|
-
disposition: string | null;
|
8042
|
-
createdAt: Date;
|
8043
|
-
updatedAt: Date;
|
8044
|
-
deletedAt: Date | null;
|
8045
|
-
tags: {
|
8046
|
-
id: string;
|
8047
|
-
name: string;
|
8048
|
-
createdAt: Date;
|
8049
|
-
updatedAt: Date;
|
8050
|
-
deletedAt: Date | null;
|
8051
|
-
}[];
|
8052
|
-
note: string | null;
|
8053
|
-
callFrom: string | null;
|
8054
|
-
callTo: string | null;
|
8055
|
-
}, {
|
8056
|
-
id: string;
|
8057
|
-
disposition: string | null;
|
8058
|
-
createdAt: Date;
|
8059
|
-
updatedAt: Date;
|
8060
|
-
deletedAt: Date | null;
|
8061
|
-
tags: {
|
8062
|
-
id: string;
|
8063
|
-
name: string;
|
8064
|
-
createdAt: Date;
|
8065
|
-
updatedAt: Date;
|
8066
|
-
deletedAt: Date | null;
|
8067
|
-
}[];
|
8068
|
-
note: string | null;
|
8069
|
-
callFrom: string | null;
|
8070
|
-
callTo: string | null;
|
8071
|
-
}>>;
|
7954
|
+
slaMeet: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
8072
7955
|
}, "strip", z.ZodTypeAny, {
|
8073
7956
|
id: string;
|
8074
7957
|
channel: string | null;
|
@@ -8080,29 +7963,11 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8080
7963
|
entityId: string;
|
8081
7964
|
caseId: number;
|
8082
7965
|
entityName: string;
|
8083
|
-
|
8084
|
-
queueId: string | null;
|
8085
|
-
agentId: string | null;
|
7966
|
+
channelType: string | null;
|
8086
7967
|
startedDate: Date | null;
|
8087
7968
|
handledTime: number | null;
|
8088
|
-
firstResponseTime:
|
8089
|
-
|
8090
|
-
id: string;
|
8091
|
-
disposition: string | null;
|
8092
|
-
createdAt: Date;
|
8093
|
-
updatedAt: Date;
|
8094
|
-
deletedAt: Date | null;
|
8095
|
-
tags: {
|
8096
|
-
id: string;
|
8097
|
-
name: string;
|
8098
|
-
createdAt: Date;
|
8099
|
-
updatedAt: Date;
|
8100
|
-
deletedAt: Date | null;
|
8101
|
-
}[];
|
8102
|
-
note: string | null;
|
8103
|
-
callFrom: string | null;
|
8104
|
-
callTo: string | null;
|
8105
|
-
} | null;
|
7969
|
+
firstResponseTime: string | null;
|
7970
|
+
slaMeet?: string | null | undefined;
|
8106
7971
|
}, {
|
8107
7972
|
id: string;
|
8108
7973
|
channel: string | null;
|
@@ -8114,29 +7979,11 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8114
7979
|
entityId: string;
|
8115
7980
|
caseId: number;
|
8116
7981
|
entityName: string;
|
8117
|
-
|
8118
|
-
queueId: string | null;
|
8119
|
-
agentId: string | null;
|
7982
|
+
channelType: string | null;
|
8120
7983
|
startedDate: Date | null;
|
8121
7984
|
handledTime: number | null;
|
8122
|
-
firstResponseTime:
|
8123
|
-
|
8124
|
-
id: string;
|
8125
|
-
disposition: string | null;
|
8126
|
-
createdAt: Date;
|
8127
|
-
updatedAt: Date;
|
8128
|
-
deletedAt: Date | null;
|
8129
|
-
tags: {
|
8130
|
-
id: string;
|
8131
|
-
name: string;
|
8132
|
-
createdAt: Date;
|
8133
|
-
updatedAt: Date;
|
8134
|
-
deletedAt: Date | null;
|
8135
|
-
}[];
|
8136
|
-
note: string | null;
|
8137
|
-
callFrom: string | null;
|
8138
|
-
callTo: string | null;
|
8139
|
-
} | null;
|
7985
|
+
firstResponseTime: string | null;
|
7986
|
+
slaMeet?: string | null | undefined;
|
8140
7987
|
}>;
|
8141
7988
|
}, "strip", z.ZodTypeAny, {
|
8142
7989
|
id: string;
|
@@ -8365,29 +8212,11 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8365
8212
|
entityId: string;
|
8366
8213
|
caseId: number;
|
8367
8214
|
entityName: string;
|
8368
|
-
|
8369
|
-
queueId: string | null;
|
8370
|
-
agentId: string | null;
|
8215
|
+
channelType: string | null;
|
8371
8216
|
startedDate: Date | null;
|
8372
8217
|
handledTime: number | null;
|
8373
|
-
firstResponseTime:
|
8374
|
-
|
8375
|
-
id: string;
|
8376
|
-
disposition: string | null;
|
8377
|
-
createdAt: Date;
|
8378
|
-
updatedAt: Date;
|
8379
|
-
deletedAt: Date | null;
|
8380
|
-
tags: {
|
8381
|
-
id: string;
|
8382
|
-
name: string;
|
8383
|
-
createdAt: Date;
|
8384
|
-
updatedAt: Date;
|
8385
|
-
deletedAt: Date | null;
|
8386
|
-
}[];
|
8387
|
-
note: string | null;
|
8388
|
-
callFrom: string | null;
|
8389
|
-
callTo: string | null;
|
8390
|
-
} | null;
|
8218
|
+
firstResponseTime: string | null;
|
8219
|
+
slaMeet?: string | null | undefined;
|
8391
8220
|
};
|
8392
8221
|
channel?: {
|
8393
8222
|
id?: string | undefined;
|
@@ -8679,29 +8508,11 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
8679
8508
|
entityId: string;
|
8680
8509
|
caseId: number;
|
8681
8510
|
entityName: string;
|
8682
|
-
|
8683
|
-
queueId: string | null;
|
8684
|
-
agentId: string | null;
|
8511
|
+
channelType: string | null;
|
8685
8512
|
startedDate: Date | null;
|
8686
8513
|
handledTime: number | null;
|
8687
|
-
firstResponseTime:
|
8688
|
-
|
8689
|
-
id: string;
|
8690
|
-
disposition: string | null;
|
8691
|
-
createdAt: Date;
|
8692
|
-
updatedAt: Date;
|
8693
|
-
deletedAt: Date | null;
|
8694
|
-
tags: {
|
8695
|
-
id: string;
|
8696
|
-
name: string;
|
8697
|
-
createdAt: Date;
|
8698
|
-
updatedAt: Date;
|
8699
|
-
deletedAt: Date | null;
|
8700
|
-
}[];
|
8701
|
-
note: string | null;
|
8702
|
-
callFrom: string | null;
|
8703
|
-
callTo: string | null;
|
8704
|
-
} | null;
|
8514
|
+
firstResponseTime: string | null;
|
8515
|
+
slaMeet?: string | null | undefined;
|
8705
8516
|
};
|
8706
8517
|
channel?: {
|
8707
8518
|
id?: string | undefined;
|
@@ -9498,12 +9309,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9498
9309
|
telephonySignature: string | null;
|
9499
9310
|
} | undefined;
|
9500
9311
|
};
|
9501
|
-
readAt: Date;
|
9502
|
-
platformMessageId: string;
|
9503
|
-
replyPlatformMessageId: string;
|
9504
|
-
locale: "" | "th" | "mm" | "en";
|
9505
|
-
previewUrl: string;
|
9506
|
-
imageSetId: string;
|
9507
9312
|
room: {
|
9508
9313
|
id: string;
|
9509
9314
|
direction: "incoming" | "outgoing" | "system";
|
@@ -9731,29 +9536,11 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9731
9536
|
entityId: string;
|
9732
9537
|
caseId: number;
|
9733
9538
|
entityName: string;
|
9734
|
-
|
9735
|
-
queueId: string | null;
|
9736
|
-
agentId: string | null;
|
9539
|
+
channelType: string | null;
|
9737
9540
|
startedDate: Date | null;
|
9738
9541
|
handledTime: number | null;
|
9739
|
-
firstResponseTime:
|
9740
|
-
|
9741
|
-
id: string;
|
9742
|
-
disposition: string | null;
|
9743
|
-
createdAt: Date;
|
9744
|
-
updatedAt: Date;
|
9745
|
-
deletedAt: Date | null;
|
9746
|
-
tags: {
|
9747
|
-
id: string;
|
9748
|
-
name: string;
|
9749
|
-
createdAt: Date;
|
9750
|
-
updatedAt: Date;
|
9751
|
-
deletedAt: Date | null;
|
9752
|
-
}[];
|
9753
|
-
note: string | null;
|
9754
|
-
callFrom: string | null;
|
9755
|
-
callTo: string | null;
|
9756
|
-
} | null;
|
9542
|
+
firstResponseTime: string | null;
|
9543
|
+
slaMeet?: string | null | undefined;
|
9757
9544
|
};
|
9758
9545
|
channel?: {
|
9759
9546
|
id?: string | undefined;
|
@@ -9819,6 +9606,12 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9819
9606
|
} | undefined;
|
9820
9607
|
} | undefined;
|
9821
9608
|
};
|
9609
|
+
readAt: Date;
|
9610
|
+
platformMessageId: string;
|
9611
|
+
replyPlatformMessageId: string;
|
9612
|
+
locale: "" | "th" | "mm" | "en";
|
9613
|
+
previewUrl: string;
|
9614
|
+
imageSetId: string;
|
9822
9615
|
sender: {
|
9823
9616
|
id: string;
|
9824
9617
|
address: string | null;
|
@@ -9970,12 +9763,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
9970
9763
|
telephonySignature: string | null;
|
9971
9764
|
} | undefined;
|
9972
9765
|
};
|
9973
|
-
readAt: Date;
|
9974
|
-
platformMessageId: string;
|
9975
|
-
replyPlatformMessageId: string;
|
9976
|
-
locale: "" | "th" | "mm" | "en";
|
9977
|
-
previewUrl: string;
|
9978
|
-
imageSetId: string;
|
9979
9766
|
room: {
|
9980
9767
|
id: string;
|
9981
9768
|
direction: "incoming" | "outgoing" | "system";
|
@@ -10203,29 +9990,11 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10203
9990
|
entityId: string;
|
10204
9991
|
caseId: number;
|
10205
9992
|
entityName: string;
|
10206
|
-
|
10207
|
-
queueId: string | null;
|
10208
|
-
agentId: string | null;
|
9993
|
+
channelType: string | null;
|
10209
9994
|
startedDate: Date | null;
|
10210
9995
|
handledTime: number | null;
|
10211
|
-
firstResponseTime:
|
10212
|
-
|
10213
|
-
id: string;
|
10214
|
-
disposition: string | null;
|
10215
|
-
createdAt: Date;
|
10216
|
-
updatedAt: Date;
|
10217
|
-
deletedAt: Date | null;
|
10218
|
-
tags: {
|
10219
|
-
id: string;
|
10220
|
-
name: string;
|
10221
|
-
createdAt: Date;
|
10222
|
-
updatedAt: Date;
|
10223
|
-
deletedAt: Date | null;
|
10224
|
-
}[];
|
10225
|
-
note: string | null;
|
10226
|
-
callFrom: string | null;
|
10227
|
-
callTo: string | null;
|
10228
|
-
} | null;
|
9996
|
+
firstResponseTime: string | null;
|
9997
|
+
slaMeet?: string | null | undefined;
|
10229
9998
|
};
|
10230
9999
|
channel?: {
|
10231
10000
|
id?: string | undefined;
|
@@ -10291,6 +10060,12 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10291
10060
|
} | undefined;
|
10292
10061
|
} | undefined;
|
10293
10062
|
};
|
10063
|
+
readAt: Date;
|
10064
|
+
platformMessageId: string;
|
10065
|
+
replyPlatformMessageId: string;
|
10066
|
+
locale: "" | "th" | "mm" | "en";
|
10067
|
+
previewUrl: string;
|
10068
|
+
imageSetId: string;
|
10294
10069
|
sender: {
|
10295
10070
|
id: string;
|
10296
10071
|
address: string | null;
|
@@ -10444,12 +10219,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10444
10219
|
telephonySignature: string | null;
|
10445
10220
|
} | undefined;
|
10446
10221
|
};
|
10447
|
-
readAt: Date;
|
10448
|
-
platformMessageId: string;
|
10449
|
-
replyPlatformMessageId: string;
|
10450
|
-
locale: "" | "th" | "mm" | "en";
|
10451
|
-
previewUrl: string;
|
10452
|
-
imageSetId: string;
|
10453
10222
|
room: {
|
10454
10223
|
id: string;
|
10455
10224
|
direction: "incoming" | "outgoing" | "system";
|
@@ -10677,29 +10446,11 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10677
10446
|
entityId: string;
|
10678
10447
|
caseId: number;
|
10679
10448
|
entityName: string;
|
10680
|
-
|
10681
|
-
queueId: string | null;
|
10682
|
-
agentId: string | null;
|
10449
|
+
channelType: string | null;
|
10683
10450
|
startedDate: Date | null;
|
10684
10451
|
handledTime: number | null;
|
10685
|
-
firstResponseTime:
|
10686
|
-
|
10687
|
-
id: string;
|
10688
|
-
disposition: string | null;
|
10689
|
-
createdAt: Date;
|
10690
|
-
updatedAt: Date;
|
10691
|
-
deletedAt: Date | null;
|
10692
|
-
tags: {
|
10693
|
-
id: string;
|
10694
|
-
name: string;
|
10695
|
-
createdAt: Date;
|
10696
|
-
updatedAt: Date;
|
10697
|
-
deletedAt: Date | null;
|
10698
|
-
}[];
|
10699
|
-
note: string | null;
|
10700
|
-
callFrom: string | null;
|
10701
|
-
callTo: string | null;
|
10702
|
-
} | null;
|
10452
|
+
firstResponseTime: string | null;
|
10453
|
+
slaMeet?: string | null | undefined;
|
10703
10454
|
};
|
10704
10455
|
channel?: {
|
10705
10456
|
id?: string | undefined;
|
@@ -10765,6 +10516,12 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10765
10516
|
} | undefined;
|
10766
10517
|
} | undefined;
|
10767
10518
|
};
|
10519
|
+
readAt: Date;
|
10520
|
+
platformMessageId: string;
|
10521
|
+
replyPlatformMessageId: string;
|
10522
|
+
locale: "" | "th" | "mm" | "en";
|
10523
|
+
previewUrl: string;
|
10524
|
+
imageSetId: string;
|
10768
10525
|
sender: {
|
10769
10526
|
id: string;
|
10770
10527
|
address: string | null;
|
@@ -10918,12 +10675,6 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
10918
10675
|
telephonySignature: string | null;
|
10919
10676
|
} | undefined;
|
10920
10677
|
};
|
10921
|
-
readAt: Date;
|
10922
|
-
platformMessageId: string;
|
10923
|
-
replyPlatformMessageId: string;
|
10924
|
-
locale: "" | "th" | "mm" | "en";
|
10925
|
-
previewUrl: string;
|
10926
|
-
imageSetId: string;
|
10927
10678
|
room: {
|
10928
10679
|
id: string;
|
10929
10680
|
direction: "incoming" | "outgoing" | "system";
|
@@ -11151,29 +10902,11 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
11151
10902
|
entityId: string;
|
11152
10903
|
caseId: number;
|
11153
10904
|
entityName: string;
|
11154
|
-
|
11155
|
-
queueId: string | null;
|
11156
|
-
agentId: string | null;
|
10905
|
+
channelType: string | null;
|
11157
10906
|
startedDate: Date | null;
|
11158
10907
|
handledTime: number | null;
|
11159
|
-
firstResponseTime:
|
11160
|
-
|
11161
|
-
id: string;
|
11162
|
-
disposition: string | null;
|
11163
|
-
createdAt: Date;
|
11164
|
-
updatedAt: Date;
|
11165
|
-
deletedAt: Date | null;
|
11166
|
-
tags: {
|
11167
|
-
id: string;
|
11168
|
-
name: string;
|
11169
|
-
createdAt: Date;
|
11170
|
-
updatedAt: Date;
|
11171
|
-
deletedAt: Date | null;
|
11172
|
-
}[];
|
11173
|
-
note: string | null;
|
11174
|
-
callFrom: string | null;
|
11175
|
-
callTo: string | null;
|
11176
|
-
} | null;
|
10908
|
+
firstResponseTime: string | null;
|
10909
|
+
slaMeet?: string | null | undefined;
|
11177
10910
|
};
|
11178
10911
|
channel?: {
|
11179
10912
|
id?: string | undefined;
|
@@ -11239,6 +10972,12 @@ export declare const ReceiveMessageSchema: z.ZodObject<{
|
|
11239
10972
|
} | undefined;
|
11240
10973
|
} | undefined;
|
11241
10974
|
};
|
10975
|
+
readAt: Date;
|
10976
|
+
platformMessageId: string;
|
10977
|
+
replyPlatformMessageId: string;
|
10978
|
+
locale: "" | "th" | "mm" | "en";
|
10979
|
+
previewUrl: string;
|
10980
|
+
imageSetId: string;
|
11242
10981
|
sender: {
|
11243
10982
|
id: string;
|
11244
10983
|
address: string | null;
|