@kl1/contracts 1.3.20 → 1.3.22
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/api-contracts/src/activity-log/index.d.ts +1 -1
- package/dist/api-contracts/src/attribute/index.d.ts +7 -7
- package/dist/api-contracts/src/auth/index.d.ts +1 -1
- package/dist/api-contracts/src/automation-queue/index.d.ts +10 -7
- package/dist/api-contracts/src/automation-queue/index.d.ts.map +1 -1
- package/dist/api-contracts/src/aws/index.d.ts +2 -2
- package/dist/api-contracts/src/botpress/index.d.ts +2 -2
- package/dist/api-contracts/src/business-calendar/index.d.ts +4 -4
- package/dist/api-contracts/src/business-calendar/index.d.ts.map +1 -1
- package/dist/api-contracts/src/category/index.d.ts +7 -7
- package/dist/api-contracts/src/channel/index.d.ts +4754 -3019
- package/dist/api-contracts/src/channel/index.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/schema.d.ts +36 -0
- package/dist/api-contracts/src/channel/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/channel/validation.d.ts +23 -0
- package/dist/api-contracts/src/channel/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/index.d.ts +2580 -2212
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +679 -603
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +500 -389
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/index.d.ts +364 -364
- package/dist/api-contracts/src/comment/schema.d.ts +88 -88
- package/dist/api-contracts/src/contract.d.ts +40933 -35541
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/index.d.ts +76 -65
- package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/schema.d.ts +90 -81
- package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/index.d.ts +935 -49
- package/dist/api-contracts/src/dashboard/index.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/schema.d.ts +164 -9
- package/dist/api-contracts/src/dashboard/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/validation.d.ts +30 -1
- package/dist/api-contracts/src/dashboard/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/evaluate-form/index.d.ts +1 -1
- package/dist/api-contracts/src/export/index.d.ts +2 -0
- package/dist/api-contracts/src/export/index.d.ts.map +1 -1
- package/dist/api-contracts/src/export/validation.d.ts +3 -0
- package/dist/api-contracts/src/export/validation.d.ts.map +1 -0
- package/dist/api-contracts/src/extension/index.d.ts +7 -7
- package/dist/api-contracts/src/facebook-feed/index.d.ts +395 -273
- package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/schema.d.ts +10 -3
- package/dist/api-contracts/src/facebook-feed/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/validation.d.ts +5 -0
- package/dist/api-contracts/src/facebook-feed/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/general-setting/index.d.ts +2 -2
- package/dist/api-contracts/src/hold-label/index.d.ts +10 -10
- package/dist/api-contracts/src/index.d.ts +2 -0
- package/dist/api-contracts/src/index.d.ts.map +1 -1
- package/dist/api-contracts/src/instagram/index.d.ts +360 -261
- package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/index.d.ts +359 -268
- package/dist/api-contracts/src/line/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/validation.d.ts +16 -7
- package/dist/api-contracts/src/line/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts +1 -1
- package/dist/api-contracts/src/mail/email-engine-webhooks-events.contract.d.ts.map +1 -1
- package/dist/api-contracts/src/mail/mail-contract.d.ts +240 -240
- package/dist/api-contracts/src/mail/room-contract.d.ts +240 -240
- package/dist/api-contracts/src/mail/schemas/room-validation.schema.d.ts +80 -80
- package/dist/api-contracts/src/mail/schemas/room.schema.d.ts +60 -60
- package/dist/api-contracts/src/messenger/index.d.ts +360 -261
- package/dist/api-contracts/src/messenger/index.d.ts.map +1 -1
- package/dist/api-contracts/src/messenger/validation.d.ts +5 -0
- package/dist/api-contracts/src/messenger/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/notification/index.d.ts +4 -4
- package/dist/api-contracts/src/permission/index.d.ts +1 -1
- package/dist/api-contracts/src/presence-status/index.d.ts +127 -55
- package/dist/api-contracts/src/presence-status/index.d.ts.map +1 -1
- package/dist/api-contracts/src/presence-status/schema.d.ts +16 -10
- package/dist/api-contracts/src/presence-status/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/presence-status/validation.d.ts +30 -12
- package/dist/api-contracts/src/presence-status/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/role/index.d.ts +5 -5
- package/dist/api-contracts/src/sms/index.d.ts +44 -7
- package/dist/api-contracts/src/sms/index.d.ts.map +1 -1
- package/dist/api-contracts/src/snippet/index.d.ts +8 -8
- package/dist/api-contracts/src/subscription/index.d.ts +5 -5
- package/dist/api-contracts/src/tag/index.d.ts +4 -4
- package/dist/api-contracts/src/telegram/index.d.ts +338 -261
- package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +62 -441
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts +25 -13
- package/dist/api-contracts/src/telephony-agent-presence-status/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts +0 -3
- package/dist/api-contracts/src/telephony-agent-presence-status/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-cdr/index.d.ts +14 -14
- package/dist/api-contracts/src/telephony-extension/index.d.ts +1 -1
- package/dist/api-contracts/src/ticket/index.d.ts +672 -672
- package/dist/api-contracts/src/ticket/schema.d.ts +44 -44
- package/dist/api-contracts/src/ticket/validation.d.ts +20 -20
- package/dist/api-contracts/src/upload/index.d.ts +2 -2
- package/dist/api-contracts/src/user/index.d.ts +7 -7
- package/dist/api-contracts/src/user-presence-status-log/index.d.ts +42 -18
- package/dist/api-contracts/src/user-presence-status-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/user-presence-status-log/schema.d.ts +50 -20
- package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/viber/index.d.ts +338 -261
- package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
- package/dist/api-contracts/src/webchat/index.d.ts +338 -261
- package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/index.d.ts +348 -261
- package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/index.d.ts +350 -48
- package/dist/api-contracts/src/widget/index.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/schema.d.ts +46 -4
- package/dist/api-contracts/src/widget/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/validation.d.ts +66 -12
- package/dist/api-contracts/src/widget/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/workflow-rule/index.d.ts +323 -277
- package/dist/api-contracts/src/workflow-rule/index.d.ts.map +1 -1
- package/dist/api-contracts/src/wrap-up-form/index.d.ts +187 -187
- package/dist/api-contracts/src/wrap-up-form/schema.d.ts +20 -20
- package/dist/entities/src/enums/chat.d.ts +12 -0
- package/dist/entities/src/enums/chat.d.ts.map +1 -1
- package/dist/index.js +866 -464
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +864 -464
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
@@ -2,12 +2,9 @@ import z from 'zod';
|
|
2
2
|
/**
|
3
3
|
* Directions Enum
|
4
4
|
*/
|
5
|
-
export declare const MessageDirectionTypeSchema: z.
|
5
|
+
export declare const MessageDirectionTypeSchema: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
6
6
|
export declare const WorkflowAutoReplyMessageTypeSchema: z.ZodDefault<z.ZodEnum<["text", "image"]>>;
|
7
|
-
|
8
|
-
* Message Type Enum
|
9
|
-
*/
|
10
|
-
export declare const MessageTypeSchema: z.ZodEnum<["text", "image", "video", "audio", "file", "imagemap", "group", "fallback", "location", "sticker", "carousel", "card", "choice", "dropdown", "text_with_image", "reaction", "contacts", "carousel", "card", "choice", "dropdown", "referral", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
7
|
+
export declare const MessageTypeSchema: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
11
8
|
export declare const FeedPostTypeSchema: z.ZodEnum<["text", "added_photos", "added_video", "shared_story", "mobile_status_update", "no_data"]>;
|
12
9
|
/**
|
13
10
|
* Message Type Enum
|
@@ -1100,7 +1097,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
1100
1097
|
firstResponseTime: z.ZodNumber;
|
1101
1098
|
isLatest: z.ZodBoolean;
|
1102
1099
|
isBotRoom: z.ZodBoolean;
|
1103
|
-
direction: z.
|
1100
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
1104
1101
|
platformContact: z.ZodObject<{
|
1105
1102
|
id: z.ZodString;
|
1106
1103
|
createdAt: z.ZodDate;
|
@@ -2148,6 +2145,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
2148
2145
|
channelId: string;
|
2149
2146
|
socialPlatformId: string;
|
2150
2147
|
}>;
|
2148
|
+
csatStatus: z.ZodNullable<z.ZodString>;
|
2151
2149
|
actor: z.ZodObject<{
|
2152
2150
|
id: z.ZodString;
|
2153
2151
|
createdAt: z.ZodDate;
|
@@ -2626,6 +2624,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
2626
2624
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
2627
2625
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
2628
2626
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
2627
|
+
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
2629
2628
|
}, "strip", z.ZodTypeAny, {
|
2630
2629
|
name: string;
|
2631
2630
|
id: string;
|
@@ -2655,6 +2654,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
2655
2654
|
lineRichMenuId?: string | null | undefined;
|
2656
2655
|
messengerIntegrationType?: "own" | "business" | undefined;
|
2657
2656
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
2657
|
+
isCSATEnabled?: boolean | undefined;
|
2658
2658
|
}, {
|
2659
2659
|
name: string;
|
2660
2660
|
id: string;
|
@@ -2684,6 +2684,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
2684
2684
|
lineRichMenuId?: string | null | undefined;
|
2685
2685
|
messengerIntegrationType?: "own" | "business" | undefined;
|
2686
2686
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
2687
|
+
isCSATEnabled?: boolean | undefined;
|
2687
2688
|
}>;
|
2688
2689
|
brandName: z.ZodString;
|
2689
2690
|
platformId: z.ZodString;
|
@@ -2947,6 +2948,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
2947
2948
|
lineRichMenuId?: string | null | undefined;
|
2948
2949
|
messengerIntegrationType?: "own" | "business" | undefined;
|
2949
2950
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
2951
|
+
isCSATEnabled?: boolean | undefined;
|
2950
2952
|
};
|
2951
2953
|
status: boolean;
|
2952
2954
|
createdAt: Date;
|
@@ -3041,6 +3043,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3041
3043
|
lineRichMenuId?: string | null | undefined;
|
3042
3044
|
messengerIntegrationType?: "own" | "business" | undefined;
|
3043
3045
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
3046
|
+
isCSATEnabled?: boolean | undefined;
|
3044
3047
|
};
|
3045
3048
|
status: boolean;
|
3046
3049
|
createdAt: Date;
|
@@ -3293,6 +3296,16 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3293
3296
|
createdAt: Date;
|
3294
3297
|
updatedAt: Date;
|
3295
3298
|
deletedAt: Date | null;
|
3299
|
+
tags: {
|
3300
|
+
name: string;
|
3301
|
+
id: string;
|
3302
|
+
createdAt: Date;
|
3303
|
+
updatedAt: Date;
|
3304
|
+
deletedAt: Date | null;
|
3305
|
+
}[];
|
3306
|
+
callFrom: string | null;
|
3307
|
+
callTo: string | null;
|
3308
|
+
note: string | null;
|
3296
3309
|
categories: {
|
3297
3310
|
id: string;
|
3298
3311
|
value: string;
|
@@ -3315,16 +3328,6 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3315
3328
|
}[];
|
3316
3329
|
}[];
|
3317
3330
|
}[];
|
3318
|
-
tags: {
|
3319
|
-
name: string;
|
3320
|
-
id: string;
|
3321
|
-
createdAt: Date;
|
3322
|
-
updatedAt: Date;
|
3323
|
-
deletedAt: Date | null;
|
3324
|
-
}[];
|
3325
|
-
callFrom: string | null;
|
3326
|
-
callTo: string | null;
|
3327
|
-
note: string | null;
|
3328
3331
|
customFields?: {
|
3329
3332
|
id: string;
|
3330
3333
|
createdAt: Date;
|
@@ -3344,6 +3347,16 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3344
3347
|
createdAt: Date;
|
3345
3348
|
updatedAt: Date;
|
3346
3349
|
deletedAt: Date | null;
|
3350
|
+
tags: {
|
3351
|
+
name: string;
|
3352
|
+
id: string;
|
3353
|
+
createdAt: Date;
|
3354
|
+
updatedAt: Date;
|
3355
|
+
deletedAt: Date | null;
|
3356
|
+
}[];
|
3357
|
+
callFrom: string | null;
|
3358
|
+
callTo: string | null;
|
3359
|
+
note: string | null;
|
3347
3360
|
categories: {
|
3348
3361
|
id: string;
|
3349
3362
|
value: string;
|
@@ -3366,16 +3379,6 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3366
3379
|
}[];
|
3367
3380
|
}[];
|
3368
3381
|
}[];
|
3369
|
-
tags: {
|
3370
|
-
name: string;
|
3371
|
-
id: string;
|
3372
|
-
createdAt: Date;
|
3373
|
-
updatedAt: Date;
|
3374
|
-
deletedAt: Date | null;
|
3375
|
-
}[];
|
3376
|
-
callFrom: string | null;
|
3377
|
-
callTo: string | null;
|
3378
|
-
note: string | null;
|
3379
3382
|
customFields?: {
|
3380
3383
|
id: string;
|
3381
3384
|
createdAt: Date;
|
@@ -3484,6 +3487,16 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3484
3487
|
createdAt: Date;
|
3485
3488
|
updatedAt: Date;
|
3486
3489
|
deletedAt: Date | null;
|
3490
|
+
tags: {
|
3491
|
+
name: string;
|
3492
|
+
id: string;
|
3493
|
+
createdAt: Date;
|
3494
|
+
updatedAt: Date;
|
3495
|
+
deletedAt: Date | null;
|
3496
|
+
}[];
|
3497
|
+
callFrom: string | null;
|
3498
|
+
callTo: string | null;
|
3499
|
+
note: string | null;
|
3487
3500
|
categories: {
|
3488
3501
|
id: string;
|
3489
3502
|
value: string;
|
@@ -3506,16 +3519,6 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3506
3519
|
}[];
|
3507
3520
|
}[];
|
3508
3521
|
}[];
|
3509
|
-
tags: {
|
3510
|
-
name: string;
|
3511
|
-
id: string;
|
3512
|
-
createdAt: Date;
|
3513
|
-
updatedAt: Date;
|
3514
|
-
deletedAt: Date | null;
|
3515
|
-
}[];
|
3516
|
-
callFrom: string | null;
|
3517
|
-
callTo: string | null;
|
3518
|
-
note: string | null;
|
3519
3522
|
customFields?: {
|
3520
3523
|
id: string;
|
3521
3524
|
createdAt: Date;
|
@@ -3574,6 +3577,16 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3574
3577
|
createdAt: Date;
|
3575
3578
|
updatedAt: Date;
|
3576
3579
|
deletedAt: Date | null;
|
3580
|
+
tags: {
|
3581
|
+
name: string;
|
3582
|
+
id: string;
|
3583
|
+
createdAt: Date;
|
3584
|
+
updatedAt: Date;
|
3585
|
+
deletedAt: Date | null;
|
3586
|
+
}[];
|
3587
|
+
callFrom: string | null;
|
3588
|
+
callTo: string | null;
|
3589
|
+
note: string | null;
|
3577
3590
|
categories: {
|
3578
3591
|
id: string;
|
3579
3592
|
value: string;
|
@@ -3596,16 +3609,6 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3596
3609
|
}[];
|
3597
3610
|
}[];
|
3598
3611
|
}[];
|
3599
|
-
tags: {
|
3600
|
-
name: string;
|
3601
|
-
id: string;
|
3602
|
-
createdAt: Date;
|
3603
|
-
updatedAt: Date;
|
3604
|
-
deletedAt: Date | null;
|
3605
|
-
}[];
|
3606
|
-
callFrom: string | null;
|
3607
|
-
callTo: string | null;
|
3608
|
-
note: string | null;
|
3609
3612
|
customFields?: {
|
3610
3613
|
id: string;
|
3611
3614
|
createdAt: Date;
|
@@ -3699,6 +3702,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3699
3702
|
lineRichMenuId?: string | null | undefined;
|
3700
3703
|
messengerIntegrationType?: "own" | "business" | undefined;
|
3701
3704
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
3705
|
+
isCSATEnabled?: boolean | undefined;
|
3702
3706
|
};
|
3703
3707
|
status: boolean;
|
3704
3708
|
createdAt: Date;
|
@@ -3990,6 +3994,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
3990
3994
|
closedAt: Date;
|
3991
3995
|
lastMessageAt: Date | null;
|
3992
3996
|
isBotRoom: boolean;
|
3997
|
+
csatStatus: string | null;
|
3993
3998
|
cxlog: {
|
3994
3999
|
id: string;
|
3995
4000
|
channel: string | null;
|
@@ -4017,6 +4022,16 @@ export declare const RoomSchema: z.ZodObject<{
|
|
4017
4022
|
createdAt: Date;
|
4018
4023
|
updatedAt: Date;
|
4019
4024
|
deletedAt: Date | null;
|
4025
|
+
tags: {
|
4026
|
+
name: string;
|
4027
|
+
id: string;
|
4028
|
+
createdAt: Date;
|
4029
|
+
updatedAt: Date;
|
4030
|
+
deletedAt: Date | null;
|
4031
|
+
}[];
|
4032
|
+
callFrom: string | null;
|
4033
|
+
callTo: string | null;
|
4034
|
+
note: string | null;
|
4020
4035
|
categories: {
|
4021
4036
|
id: string;
|
4022
4037
|
value: string;
|
@@ -4039,16 +4054,6 @@ export declare const RoomSchema: z.ZodObject<{
|
|
4039
4054
|
}[];
|
4040
4055
|
}[];
|
4041
4056
|
}[];
|
4042
|
-
tags: {
|
4043
|
-
name: string;
|
4044
|
-
id: string;
|
4045
|
-
createdAt: Date;
|
4046
|
-
updatedAt: Date;
|
4047
|
-
deletedAt: Date | null;
|
4048
|
-
}[];
|
4049
|
-
callFrom: string | null;
|
4050
|
-
callTo: string | null;
|
4051
|
-
note: string | null;
|
4052
4057
|
customFields?: {
|
4053
4058
|
id: string;
|
4054
4059
|
createdAt: Date;
|
@@ -4126,6 +4131,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
4126
4131
|
lineRichMenuId?: string | null | undefined;
|
4127
4132
|
messengerIntegrationType?: "own" | "business" | undefined;
|
4128
4133
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
4134
|
+
isCSATEnabled?: boolean | undefined;
|
4129
4135
|
};
|
4130
4136
|
status: boolean;
|
4131
4137
|
createdAt: Date;
|
@@ -4417,6 +4423,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
4417
4423
|
closedAt: Date;
|
4418
4424
|
lastMessageAt: Date | null;
|
4419
4425
|
isBotRoom: boolean;
|
4426
|
+
csatStatus: string | null;
|
4420
4427
|
cxlog: {
|
4421
4428
|
id: string;
|
4422
4429
|
channel: string | null;
|
@@ -4444,6 +4451,16 @@ export declare const RoomSchema: z.ZodObject<{
|
|
4444
4451
|
createdAt: Date;
|
4445
4452
|
updatedAt: Date;
|
4446
4453
|
deletedAt: Date | null;
|
4454
|
+
tags: {
|
4455
|
+
name: string;
|
4456
|
+
id: string;
|
4457
|
+
createdAt: Date;
|
4458
|
+
updatedAt: Date;
|
4459
|
+
deletedAt: Date | null;
|
4460
|
+
}[];
|
4461
|
+
callFrom: string | null;
|
4462
|
+
callTo: string | null;
|
4463
|
+
note: string | null;
|
4447
4464
|
categories: {
|
4448
4465
|
id: string;
|
4449
4466
|
value: string;
|
@@ -4466,16 +4483,6 @@ export declare const RoomSchema: z.ZodObject<{
|
|
4466
4483
|
}[];
|
4467
4484
|
}[];
|
4468
4485
|
}[];
|
4469
|
-
tags: {
|
4470
|
-
name: string;
|
4471
|
-
id: string;
|
4472
|
-
createdAt: Date;
|
4473
|
-
updatedAt: Date;
|
4474
|
-
deletedAt: Date | null;
|
4475
|
-
}[];
|
4476
|
-
callFrom: string | null;
|
4477
|
-
callTo: string | null;
|
4478
|
-
note: string | null;
|
4479
4486
|
customFields?: {
|
4480
4487
|
id: string;
|
4481
4488
|
createdAt: Date;
|
@@ -4528,8 +4535,8 @@ export declare const MessageSchema: z.ZodObject<{
|
|
4528
4535
|
updatedAt: z.ZodDate;
|
4529
4536
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
4530
4537
|
message: z.ZodString;
|
4531
|
-
direction: z.
|
4532
|
-
type: z.
|
4538
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
4539
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
4533
4540
|
readAt: z.ZodDate;
|
4534
4541
|
metadata: z.ZodAny;
|
4535
4542
|
platformId: z.ZodString;
|
@@ -4555,7 +4562,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
4555
4562
|
firstResponseTime: z.ZodNumber;
|
4556
4563
|
isLatest: z.ZodBoolean;
|
4557
4564
|
isBotRoom: z.ZodBoolean;
|
4558
|
-
direction: z.
|
4565
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
4559
4566
|
platformContact: z.ZodObject<{
|
4560
4567
|
id: z.ZodString;
|
4561
4568
|
createdAt: z.ZodDate;
|
@@ -5603,6 +5610,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
5603
5610
|
channelId: string;
|
5604
5611
|
socialPlatformId: string;
|
5605
5612
|
}>;
|
5613
|
+
csatStatus: z.ZodNullable<z.ZodString>;
|
5606
5614
|
actor: z.ZodObject<{
|
5607
5615
|
id: z.ZodString;
|
5608
5616
|
createdAt: z.ZodDate;
|
@@ -6081,6 +6089,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
6081
6089
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
6082
6090
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
6083
6091
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
6092
|
+
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
6084
6093
|
}, "strip", z.ZodTypeAny, {
|
6085
6094
|
name: string;
|
6086
6095
|
id: string;
|
@@ -6110,6 +6119,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
6110
6119
|
lineRichMenuId?: string | null | undefined;
|
6111
6120
|
messengerIntegrationType?: "own" | "business" | undefined;
|
6112
6121
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
6122
|
+
isCSATEnabled?: boolean | undefined;
|
6113
6123
|
}, {
|
6114
6124
|
name: string;
|
6115
6125
|
id: string;
|
@@ -6139,6 +6149,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
6139
6149
|
lineRichMenuId?: string | null | undefined;
|
6140
6150
|
messengerIntegrationType?: "own" | "business" | undefined;
|
6141
6151
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
6152
|
+
isCSATEnabled?: boolean | undefined;
|
6142
6153
|
}>;
|
6143
6154
|
brandName: z.ZodString;
|
6144
6155
|
platformId: z.ZodString;
|
@@ -6402,6 +6413,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
6402
6413
|
lineRichMenuId?: string | null | undefined;
|
6403
6414
|
messengerIntegrationType?: "own" | "business" | undefined;
|
6404
6415
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
6416
|
+
isCSATEnabled?: boolean | undefined;
|
6405
6417
|
};
|
6406
6418
|
status: boolean;
|
6407
6419
|
createdAt: Date;
|
@@ -6496,6 +6508,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
6496
6508
|
lineRichMenuId?: string | null | undefined;
|
6497
6509
|
messengerIntegrationType?: "own" | "business" | undefined;
|
6498
6510
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
6511
|
+
isCSATEnabled?: boolean | undefined;
|
6499
6512
|
};
|
6500
6513
|
status: boolean;
|
6501
6514
|
createdAt: Date;
|
@@ -6748,6 +6761,16 @@ export declare const MessageSchema: z.ZodObject<{
|
|
6748
6761
|
createdAt: Date;
|
6749
6762
|
updatedAt: Date;
|
6750
6763
|
deletedAt: Date | null;
|
6764
|
+
tags: {
|
6765
|
+
name: string;
|
6766
|
+
id: string;
|
6767
|
+
createdAt: Date;
|
6768
|
+
updatedAt: Date;
|
6769
|
+
deletedAt: Date | null;
|
6770
|
+
}[];
|
6771
|
+
callFrom: string | null;
|
6772
|
+
callTo: string | null;
|
6773
|
+
note: string | null;
|
6751
6774
|
categories: {
|
6752
6775
|
id: string;
|
6753
6776
|
value: string;
|
@@ -6770,16 +6793,6 @@ export declare const MessageSchema: z.ZodObject<{
|
|
6770
6793
|
}[];
|
6771
6794
|
}[];
|
6772
6795
|
}[];
|
6773
|
-
tags: {
|
6774
|
-
name: string;
|
6775
|
-
id: string;
|
6776
|
-
createdAt: Date;
|
6777
|
-
updatedAt: Date;
|
6778
|
-
deletedAt: Date | null;
|
6779
|
-
}[];
|
6780
|
-
callFrom: string | null;
|
6781
|
-
callTo: string | null;
|
6782
|
-
note: string | null;
|
6783
6796
|
customFields?: {
|
6784
6797
|
id: string;
|
6785
6798
|
createdAt: Date;
|
@@ -6799,6 +6812,16 @@ export declare const MessageSchema: z.ZodObject<{
|
|
6799
6812
|
createdAt: Date;
|
6800
6813
|
updatedAt: Date;
|
6801
6814
|
deletedAt: Date | null;
|
6815
|
+
tags: {
|
6816
|
+
name: string;
|
6817
|
+
id: string;
|
6818
|
+
createdAt: Date;
|
6819
|
+
updatedAt: Date;
|
6820
|
+
deletedAt: Date | null;
|
6821
|
+
}[];
|
6822
|
+
callFrom: string | null;
|
6823
|
+
callTo: string | null;
|
6824
|
+
note: string | null;
|
6802
6825
|
categories: {
|
6803
6826
|
id: string;
|
6804
6827
|
value: string;
|
@@ -6821,16 +6844,6 @@ export declare const MessageSchema: z.ZodObject<{
|
|
6821
6844
|
}[];
|
6822
6845
|
}[];
|
6823
6846
|
}[];
|
6824
|
-
tags: {
|
6825
|
-
name: string;
|
6826
|
-
id: string;
|
6827
|
-
createdAt: Date;
|
6828
|
-
updatedAt: Date;
|
6829
|
-
deletedAt: Date | null;
|
6830
|
-
}[];
|
6831
|
-
callFrom: string | null;
|
6832
|
-
callTo: string | null;
|
6833
|
-
note: string | null;
|
6834
6847
|
customFields?: {
|
6835
6848
|
id: string;
|
6836
6849
|
createdAt: Date;
|
@@ -6939,6 +6952,16 @@ export declare const MessageSchema: z.ZodObject<{
|
|
6939
6952
|
createdAt: Date;
|
6940
6953
|
updatedAt: Date;
|
6941
6954
|
deletedAt: Date | null;
|
6955
|
+
tags: {
|
6956
|
+
name: string;
|
6957
|
+
id: string;
|
6958
|
+
createdAt: Date;
|
6959
|
+
updatedAt: Date;
|
6960
|
+
deletedAt: Date | null;
|
6961
|
+
}[];
|
6962
|
+
callFrom: string | null;
|
6963
|
+
callTo: string | null;
|
6964
|
+
note: string | null;
|
6942
6965
|
categories: {
|
6943
6966
|
id: string;
|
6944
6967
|
value: string;
|
@@ -6961,16 +6984,6 @@ export declare const MessageSchema: z.ZodObject<{
|
|
6961
6984
|
}[];
|
6962
6985
|
}[];
|
6963
6986
|
}[];
|
6964
|
-
tags: {
|
6965
|
-
name: string;
|
6966
|
-
id: string;
|
6967
|
-
createdAt: Date;
|
6968
|
-
updatedAt: Date;
|
6969
|
-
deletedAt: Date | null;
|
6970
|
-
}[];
|
6971
|
-
callFrom: string | null;
|
6972
|
-
callTo: string | null;
|
6973
|
-
note: string | null;
|
6974
6987
|
customFields?: {
|
6975
6988
|
id: string;
|
6976
6989
|
createdAt: Date;
|
@@ -7029,6 +7042,16 @@ export declare const MessageSchema: z.ZodObject<{
|
|
7029
7042
|
createdAt: Date;
|
7030
7043
|
updatedAt: Date;
|
7031
7044
|
deletedAt: Date | null;
|
7045
|
+
tags: {
|
7046
|
+
name: string;
|
7047
|
+
id: string;
|
7048
|
+
createdAt: Date;
|
7049
|
+
updatedAt: Date;
|
7050
|
+
deletedAt: Date | null;
|
7051
|
+
}[];
|
7052
|
+
callFrom: string | null;
|
7053
|
+
callTo: string | null;
|
7054
|
+
note: string | null;
|
7032
7055
|
categories: {
|
7033
7056
|
id: string;
|
7034
7057
|
value: string;
|
@@ -7051,16 +7074,6 @@ export declare const MessageSchema: z.ZodObject<{
|
|
7051
7074
|
}[];
|
7052
7075
|
}[];
|
7053
7076
|
}[];
|
7054
|
-
tags: {
|
7055
|
-
name: string;
|
7056
|
-
id: string;
|
7057
|
-
createdAt: Date;
|
7058
|
-
updatedAt: Date;
|
7059
|
-
deletedAt: Date | null;
|
7060
|
-
}[];
|
7061
|
-
callFrom: string | null;
|
7062
|
-
callTo: string | null;
|
7063
|
-
note: string | null;
|
7064
7077
|
customFields?: {
|
7065
7078
|
id: string;
|
7066
7079
|
createdAt: Date;
|
@@ -7154,6 +7167,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
7154
7167
|
lineRichMenuId?: string | null | undefined;
|
7155
7168
|
messengerIntegrationType?: "own" | "business" | undefined;
|
7156
7169
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
7170
|
+
isCSATEnabled?: boolean | undefined;
|
7157
7171
|
};
|
7158
7172
|
status: boolean;
|
7159
7173
|
createdAt: Date;
|
@@ -7445,6 +7459,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
7445
7459
|
closedAt: Date;
|
7446
7460
|
lastMessageAt: Date | null;
|
7447
7461
|
isBotRoom: boolean;
|
7462
|
+
csatStatus: string | null;
|
7448
7463
|
cxlog: {
|
7449
7464
|
id: string;
|
7450
7465
|
channel: string | null;
|
@@ -7472,6 +7487,16 @@ export declare const MessageSchema: z.ZodObject<{
|
|
7472
7487
|
createdAt: Date;
|
7473
7488
|
updatedAt: Date;
|
7474
7489
|
deletedAt: Date | null;
|
7490
|
+
tags: {
|
7491
|
+
name: string;
|
7492
|
+
id: string;
|
7493
|
+
createdAt: Date;
|
7494
|
+
updatedAt: Date;
|
7495
|
+
deletedAt: Date | null;
|
7496
|
+
}[];
|
7497
|
+
callFrom: string | null;
|
7498
|
+
callTo: string | null;
|
7499
|
+
note: string | null;
|
7475
7500
|
categories: {
|
7476
7501
|
id: string;
|
7477
7502
|
value: string;
|
@@ -7494,16 +7519,6 @@ export declare const MessageSchema: z.ZodObject<{
|
|
7494
7519
|
}[];
|
7495
7520
|
}[];
|
7496
7521
|
}[];
|
7497
|
-
tags: {
|
7498
|
-
name: string;
|
7499
|
-
id: string;
|
7500
|
-
createdAt: Date;
|
7501
|
-
updatedAt: Date;
|
7502
|
-
deletedAt: Date | null;
|
7503
|
-
}[];
|
7504
|
-
callFrom: string | null;
|
7505
|
-
callTo: string | null;
|
7506
|
-
note: string | null;
|
7507
7522
|
customFields?: {
|
7508
7523
|
id: string;
|
7509
7524
|
createdAt: Date;
|
@@ -7581,6 +7596,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
7581
7596
|
lineRichMenuId?: string | null | undefined;
|
7582
7597
|
messengerIntegrationType?: "own" | "business" | undefined;
|
7583
7598
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
7599
|
+
isCSATEnabled?: boolean | undefined;
|
7584
7600
|
};
|
7585
7601
|
status: boolean;
|
7586
7602
|
createdAt: Date;
|
@@ -7872,6 +7888,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
7872
7888
|
closedAt: Date;
|
7873
7889
|
lastMessageAt: Date | null;
|
7874
7890
|
isBotRoom: boolean;
|
7891
|
+
csatStatus: string | null;
|
7875
7892
|
cxlog: {
|
7876
7893
|
id: string;
|
7877
7894
|
channel: string | null;
|
@@ -7899,6 +7916,16 @@ export declare const MessageSchema: z.ZodObject<{
|
|
7899
7916
|
createdAt: Date;
|
7900
7917
|
updatedAt: Date;
|
7901
7918
|
deletedAt: Date | null;
|
7919
|
+
tags: {
|
7920
|
+
name: string;
|
7921
|
+
id: string;
|
7922
|
+
createdAt: Date;
|
7923
|
+
updatedAt: Date;
|
7924
|
+
deletedAt: Date | null;
|
7925
|
+
}[];
|
7926
|
+
callFrom: string | null;
|
7927
|
+
callTo: string | null;
|
7928
|
+
note: string | null;
|
7902
7929
|
categories: {
|
7903
7930
|
id: string;
|
7904
7931
|
value: string;
|
@@ -7921,16 +7948,6 @@ export declare const MessageSchema: z.ZodObject<{
|
|
7921
7948
|
}[];
|
7922
7949
|
}[];
|
7923
7950
|
}[];
|
7924
|
-
tags: {
|
7925
|
-
name: string;
|
7926
|
-
id: string;
|
7927
|
-
createdAt: Date;
|
7928
|
-
updatedAt: Date;
|
7929
|
-
deletedAt: Date | null;
|
7930
|
-
}[];
|
7931
|
-
callFrom: string | null;
|
7932
|
-
callTo: string | null;
|
7933
|
-
note: string | null;
|
7934
7951
|
customFields?: {
|
7935
7952
|
id: string;
|
7936
7953
|
createdAt: Date;
|
@@ -8014,8 +8031,8 @@ export declare const MessageSchema: z.ZodObject<{
|
|
8014
8031
|
updatedAt: z.ZodDate;
|
8015
8032
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
8016
8033
|
message: z.ZodString;
|
8017
|
-
direction: z.
|
8018
|
-
type: z.
|
8034
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
8035
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
8019
8036
|
readAt: z.ZodDate;
|
8020
8037
|
metadata: z.ZodAny;
|
8021
8038
|
platformId: z.ZodString;
|
@@ -8673,7 +8690,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
8673
8690
|
};
|
8674
8691
|
}>;
|
8675
8692
|
}, "strip", z.ZodTypeAny, {
|
8676
|
-
type:
|
8693
|
+
type: string;
|
8677
8694
|
message: string;
|
8678
8695
|
id: string;
|
8679
8696
|
url: string;
|
@@ -8835,7 +8852,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
8835
8852
|
metadata?: any;
|
8836
8853
|
template?: any;
|
8837
8854
|
}, {
|
8838
|
-
type:
|
8855
|
+
type: string;
|
8839
8856
|
message: string;
|
8840
8857
|
id: string;
|
8841
8858
|
url: string;
|
@@ -9637,7 +9654,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
9637
9654
|
editedMessageid: z.ZodString;
|
9638
9655
|
label: z.ZodOptional<z.ZodString>;
|
9639
9656
|
}, "strip", z.ZodTypeAny, {
|
9640
|
-
type:
|
9657
|
+
type: string;
|
9641
9658
|
message: string;
|
9642
9659
|
id: string;
|
9643
9660
|
url: string;
|
@@ -9781,6 +9798,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
9781
9798
|
lineRichMenuId?: string | null | undefined;
|
9782
9799
|
messengerIntegrationType?: "own" | "business" | undefined;
|
9783
9800
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
9801
|
+
isCSATEnabled?: boolean | undefined;
|
9784
9802
|
};
|
9785
9803
|
status: boolean;
|
9786
9804
|
createdAt: Date;
|
@@ -10072,6 +10090,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
10072
10090
|
closedAt: Date;
|
10073
10091
|
lastMessageAt: Date | null;
|
10074
10092
|
isBotRoom: boolean;
|
10093
|
+
csatStatus: string | null;
|
10075
10094
|
cxlog: {
|
10076
10095
|
id: string;
|
10077
10096
|
channel: string | null;
|
@@ -10099,6 +10118,16 @@ export declare const MessageSchema: z.ZodObject<{
|
|
10099
10118
|
createdAt: Date;
|
10100
10119
|
updatedAt: Date;
|
10101
10120
|
deletedAt: Date | null;
|
10121
|
+
tags: {
|
10122
|
+
name: string;
|
10123
|
+
id: string;
|
10124
|
+
createdAt: Date;
|
10125
|
+
updatedAt: Date;
|
10126
|
+
deletedAt: Date | null;
|
10127
|
+
}[];
|
10128
|
+
callFrom: string | null;
|
10129
|
+
callTo: string | null;
|
10130
|
+
note: string | null;
|
10102
10131
|
categories: {
|
10103
10132
|
id: string;
|
10104
10133
|
value: string;
|
@@ -10121,16 +10150,6 @@ export declare const MessageSchema: z.ZodObject<{
|
|
10121
10150
|
}[];
|
10122
10151
|
}[];
|
10123
10152
|
}[];
|
10124
|
-
tags: {
|
10125
|
-
name: string;
|
10126
|
-
id: string;
|
10127
|
-
createdAt: Date;
|
10128
|
-
updatedAt: Date;
|
10129
|
-
deletedAt: Date | null;
|
10130
|
-
}[];
|
10131
|
-
callFrom: string | null;
|
10132
|
-
callTo: string | null;
|
10133
|
-
note: string | null;
|
10134
10153
|
customFields?: {
|
10135
10154
|
id: string;
|
10136
10155
|
createdAt: Date;
|
@@ -10190,7 +10209,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
10190
10209
|
previewUrl: string;
|
10191
10210
|
imageSetId: string;
|
10192
10211
|
repliedMessage: {
|
10193
|
-
type:
|
10212
|
+
type: string;
|
10194
10213
|
message: string;
|
10195
10214
|
id: string;
|
10196
10215
|
url: string;
|
@@ -10401,7 +10420,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
10401
10420
|
template?: any;
|
10402
10421
|
label?: string | undefined;
|
10403
10422
|
}, {
|
10404
|
-
type:
|
10423
|
+
type: string;
|
10405
10424
|
message: string;
|
10406
10425
|
id: string;
|
10407
10426
|
url: string;
|
@@ -10545,6 +10564,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
10545
10564
|
lineRichMenuId?: string | null | undefined;
|
10546
10565
|
messengerIntegrationType?: "own" | "business" | undefined;
|
10547
10566
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
10567
|
+
isCSATEnabled?: boolean | undefined;
|
10548
10568
|
};
|
10549
10569
|
status: boolean;
|
10550
10570
|
createdAt: Date;
|
@@ -10836,6 +10856,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
10836
10856
|
closedAt: Date;
|
10837
10857
|
lastMessageAt: Date | null;
|
10838
10858
|
isBotRoom: boolean;
|
10859
|
+
csatStatus: string | null;
|
10839
10860
|
cxlog: {
|
10840
10861
|
id: string;
|
10841
10862
|
channel: string | null;
|
@@ -10863,6 +10884,16 @@ export declare const MessageSchema: z.ZodObject<{
|
|
10863
10884
|
createdAt: Date;
|
10864
10885
|
updatedAt: Date;
|
10865
10886
|
deletedAt: Date | null;
|
10887
|
+
tags: {
|
10888
|
+
name: string;
|
10889
|
+
id: string;
|
10890
|
+
createdAt: Date;
|
10891
|
+
updatedAt: Date;
|
10892
|
+
deletedAt: Date | null;
|
10893
|
+
}[];
|
10894
|
+
callFrom: string | null;
|
10895
|
+
callTo: string | null;
|
10896
|
+
note: string | null;
|
10866
10897
|
categories: {
|
10867
10898
|
id: string;
|
10868
10899
|
value: string;
|
@@ -10885,16 +10916,6 @@ export declare const MessageSchema: z.ZodObject<{
|
|
10885
10916
|
}[];
|
10886
10917
|
}[];
|
10887
10918
|
}[];
|
10888
|
-
tags: {
|
10889
|
-
name: string;
|
10890
|
-
id: string;
|
10891
|
-
createdAt: Date;
|
10892
|
-
updatedAt: Date;
|
10893
|
-
deletedAt: Date | null;
|
10894
|
-
}[];
|
10895
|
-
callFrom: string | null;
|
10896
|
-
callTo: string | null;
|
10897
|
-
note: string | null;
|
10898
10919
|
customFields?: {
|
10899
10920
|
id: string;
|
10900
10921
|
createdAt: Date;
|
@@ -10954,7 +10975,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
10954
10975
|
previewUrl: string;
|
10955
10976
|
imageSetId: string;
|
10956
10977
|
repliedMessage: {
|
10957
|
-
type:
|
10978
|
+
type: string;
|
10958
10979
|
message: string;
|
10959
10980
|
id: string;
|
10960
10981
|
url: string;
|
@@ -11166,11 +11187,11 @@ export declare const MessageSchema: z.ZodObject<{
|
|
11166
11187
|
label?: string | undefined;
|
11167
11188
|
}>;
|
11168
11189
|
export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
11169
|
-
type: z.
|
11190
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
11170
11191
|
message: z.ZodString;
|
11171
11192
|
id: z.ZodString;
|
11172
11193
|
url: z.ZodString;
|
11173
|
-
direction: z.
|
11194
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
11174
11195
|
label: z.ZodOptional<z.ZodString>;
|
11175
11196
|
template: z.ZodAny;
|
11176
11197
|
metadata: z.ZodAny;
|
@@ -11635,7 +11656,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
11635
11656
|
firstResponseTime: z.ZodNumber;
|
11636
11657
|
isLatest: z.ZodBoolean;
|
11637
11658
|
isBotRoom: z.ZodBoolean;
|
11638
|
-
direction: z.
|
11659
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
11639
11660
|
platformContact: z.ZodObject<{
|
11640
11661
|
id: z.ZodString;
|
11641
11662
|
createdAt: z.ZodDate;
|
@@ -12683,6 +12704,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
12683
12704
|
channelId: string;
|
12684
12705
|
socialPlatformId: string;
|
12685
12706
|
}>;
|
12707
|
+
csatStatus: z.ZodNullable<z.ZodString>;
|
12686
12708
|
actor: z.ZodObject<{
|
12687
12709
|
id: z.ZodString;
|
12688
12710
|
createdAt: z.ZodDate;
|
@@ -13161,6 +13183,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
13161
13183
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
13162
13184
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
13163
13185
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
13186
|
+
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
13164
13187
|
}, "strip", z.ZodTypeAny, {
|
13165
13188
|
name: string;
|
13166
13189
|
id: string;
|
@@ -13190,6 +13213,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
13190
13213
|
lineRichMenuId?: string | null | undefined;
|
13191
13214
|
messengerIntegrationType?: "own" | "business" | undefined;
|
13192
13215
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
13216
|
+
isCSATEnabled?: boolean | undefined;
|
13193
13217
|
}, {
|
13194
13218
|
name: string;
|
13195
13219
|
id: string;
|
@@ -13219,6 +13243,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
13219
13243
|
lineRichMenuId?: string | null | undefined;
|
13220
13244
|
messengerIntegrationType?: "own" | "business" | undefined;
|
13221
13245
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
13246
|
+
isCSATEnabled?: boolean | undefined;
|
13222
13247
|
}>;
|
13223
13248
|
brandName: z.ZodString;
|
13224
13249
|
platformId: z.ZodString;
|
@@ -13482,6 +13507,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
13482
13507
|
lineRichMenuId?: string | null | undefined;
|
13483
13508
|
messengerIntegrationType?: "own" | "business" | undefined;
|
13484
13509
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
13510
|
+
isCSATEnabled?: boolean | undefined;
|
13485
13511
|
};
|
13486
13512
|
status: boolean;
|
13487
13513
|
createdAt: Date;
|
@@ -13576,6 +13602,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
13576
13602
|
lineRichMenuId?: string | null | undefined;
|
13577
13603
|
messengerIntegrationType?: "own" | "business" | undefined;
|
13578
13604
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
13605
|
+
isCSATEnabled?: boolean | undefined;
|
13579
13606
|
};
|
13580
13607
|
status: boolean;
|
13581
13608
|
createdAt: Date;
|
@@ -13828,6 +13855,16 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
13828
13855
|
createdAt: Date;
|
13829
13856
|
updatedAt: Date;
|
13830
13857
|
deletedAt: Date | null;
|
13858
|
+
tags: {
|
13859
|
+
name: string;
|
13860
|
+
id: string;
|
13861
|
+
createdAt: Date;
|
13862
|
+
updatedAt: Date;
|
13863
|
+
deletedAt: Date | null;
|
13864
|
+
}[];
|
13865
|
+
callFrom: string | null;
|
13866
|
+
callTo: string | null;
|
13867
|
+
note: string | null;
|
13831
13868
|
categories: {
|
13832
13869
|
id: string;
|
13833
13870
|
value: string;
|
@@ -13850,16 +13887,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
13850
13887
|
}[];
|
13851
13888
|
}[];
|
13852
13889
|
}[];
|
13853
|
-
tags: {
|
13854
|
-
name: string;
|
13855
|
-
id: string;
|
13856
|
-
createdAt: Date;
|
13857
|
-
updatedAt: Date;
|
13858
|
-
deletedAt: Date | null;
|
13859
|
-
}[];
|
13860
|
-
callFrom: string | null;
|
13861
|
-
callTo: string | null;
|
13862
|
-
note: string | null;
|
13863
13890
|
customFields?: {
|
13864
13891
|
id: string;
|
13865
13892
|
createdAt: Date;
|
@@ -13879,6 +13906,16 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
13879
13906
|
createdAt: Date;
|
13880
13907
|
updatedAt: Date;
|
13881
13908
|
deletedAt: Date | null;
|
13909
|
+
tags: {
|
13910
|
+
name: string;
|
13911
|
+
id: string;
|
13912
|
+
createdAt: Date;
|
13913
|
+
updatedAt: Date;
|
13914
|
+
deletedAt: Date | null;
|
13915
|
+
}[];
|
13916
|
+
callFrom: string | null;
|
13917
|
+
callTo: string | null;
|
13918
|
+
note: string | null;
|
13882
13919
|
categories: {
|
13883
13920
|
id: string;
|
13884
13921
|
value: string;
|
@@ -13901,16 +13938,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
13901
13938
|
}[];
|
13902
13939
|
}[];
|
13903
13940
|
}[];
|
13904
|
-
tags: {
|
13905
|
-
name: string;
|
13906
|
-
id: string;
|
13907
|
-
createdAt: Date;
|
13908
|
-
updatedAt: Date;
|
13909
|
-
deletedAt: Date | null;
|
13910
|
-
}[];
|
13911
|
-
callFrom: string | null;
|
13912
|
-
callTo: string | null;
|
13913
|
-
note: string | null;
|
13914
13941
|
customFields?: {
|
13915
13942
|
id: string;
|
13916
13943
|
createdAt: Date;
|
@@ -14019,6 +14046,16 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
14019
14046
|
createdAt: Date;
|
14020
14047
|
updatedAt: Date;
|
14021
14048
|
deletedAt: Date | null;
|
14049
|
+
tags: {
|
14050
|
+
name: string;
|
14051
|
+
id: string;
|
14052
|
+
createdAt: Date;
|
14053
|
+
updatedAt: Date;
|
14054
|
+
deletedAt: Date | null;
|
14055
|
+
}[];
|
14056
|
+
callFrom: string | null;
|
14057
|
+
callTo: string | null;
|
14058
|
+
note: string | null;
|
14022
14059
|
categories: {
|
14023
14060
|
id: string;
|
14024
14061
|
value: string;
|
@@ -14041,16 +14078,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
14041
14078
|
}[];
|
14042
14079
|
}[];
|
14043
14080
|
}[];
|
14044
|
-
tags: {
|
14045
|
-
name: string;
|
14046
|
-
id: string;
|
14047
|
-
createdAt: Date;
|
14048
|
-
updatedAt: Date;
|
14049
|
-
deletedAt: Date | null;
|
14050
|
-
}[];
|
14051
|
-
callFrom: string | null;
|
14052
|
-
callTo: string | null;
|
14053
|
-
note: string | null;
|
14054
14081
|
customFields?: {
|
14055
14082
|
id: string;
|
14056
14083
|
createdAt: Date;
|
@@ -14109,6 +14136,16 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
14109
14136
|
createdAt: Date;
|
14110
14137
|
updatedAt: Date;
|
14111
14138
|
deletedAt: Date | null;
|
14139
|
+
tags: {
|
14140
|
+
name: string;
|
14141
|
+
id: string;
|
14142
|
+
createdAt: Date;
|
14143
|
+
updatedAt: Date;
|
14144
|
+
deletedAt: Date | null;
|
14145
|
+
}[];
|
14146
|
+
callFrom: string | null;
|
14147
|
+
callTo: string | null;
|
14148
|
+
note: string | null;
|
14112
14149
|
categories: {
|
14113
14150
|
id: string;
|
14114
14151
|
value: string;
|
@@ -14131,16 +14168,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
14131
14168
|
}[];
|
14132
14169
|
}[];
|
14133
14170
|
}[];
|
14134
|
-
tags: {
|
14135
|
-
name: string;
|
14136
|
-
id: string;
|
14137
|
-
createdAt: Date;
|
14138
|
-
updatedAt: Date;
|
14139
|
-
deletedAt: Date | null;
|
14140
|
-
}[];
|
14141
|
-
callFrom: string | null;
|
14142
|
-
callTo: string | null;
|
14143
|
-
note: string | null;
|
14144
14171
|
customFields?: {
|
14145
14172
|
id: string;
|
14146
14173
|
createdAt: Date;
|
@@ -14234,6 +14261,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
14234
14261
|
lineRichMenuId?: string | null | undefined;
|
14235
14262
|
messengerIntegrationType?: "own" | "business" | undefined;
|
14236
14263
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
14264
|
+
isCSATEnabled?: boolean | undefined;
|
14237
14265
|
};
|
14238
14266
|
status: boolean;
|
14239
14267
|
createdAt: Date;
|
@@ -14525,6 +14553,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
14525
14553
|
closedAt: Date;
|
14526
14554
|
lastMessageAt: Date | null;
|
14527
14555
|
isBotRoom: boolean;
|
14556
|
+
csatStatus: string | null;
|
14528
14557
|
cxlog: {
|
14529
14558
|
id: string;
|
14530
14559
|
channel: string | null;
|
@@ -14552,6 +14581,16 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
14552
14581
|
createdAt: Date;
|
14553
14582
|
updatedAt: Date;
|
14554
14583
|
deletedAt: Date | null;
|
14584
|
+
tags: {
|
14585
|
+
name: string;
|
14586
|
+
id: string;
|
14587
|
+
createdAt: Date;
|
14588
|
+
updatedAt: Date;
|
14589
|
+
deletedAt: Date | null;
|
14590
|
+
}[];
|
14591
|
+
callFrom: string | null;
|
14592
|
+
callTo: string | null;
|
14593
|
+
note: string | null;
|
14555
14594
|
categories: {
|
14556
14595
|
id: string;
|
14557
14596
|
value: string;
|
@@ -14574,16 +14613,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
14574
14613
|
}[];
|
14575
14614
|
}[];
|
14576
14615
|
}[];
|
14577
|
-
tags: {
|
14578
|
-
name: string;
|
14579
|
-
id: string;
|
14580
|
-
createdAt: Date;
|
14581
|
-
updatedAt: Date;
|
14582
|
-
deletedAt: Date | null;
|
14583
|
-
}[];
|
14584
|
-
callFrom: string | null;
|
14585
|
-
callTo: string | null;
|
14586
|
-
note: string | null;
|
14587
14616
|
customFields?: {
|
14588
14617
|
id: string;
|
14589
14618
|
createdAt: Date;
|
@@ -14661,6 +14690,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
14661
14690
|
lineRichMenuId?: string | null | undefined;
|
14662
14691
|
messengerIntegrationType?: "own" | "business" | undefined;
|
14663
14692
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
14693
|
+
isCSATEnabled?: boolean | undefined;
|
14664
14694
|
};
|
14665
14695
|
status: boolean;
|
14666
14696
|
createdAt: Date;
|
@@ -14952,6 +14982,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
14952
14982
|
closedAt: Date;
|
14953
14983
|
lastMessageAt: Date | null;
|
14954
14984
|
isBotRoom: boolean;
|
14985
|
+
csatStatus: string | null;
|
14955
14986
|
cxlog: {
|
14956
14987
|
id: string;
|
14957
14988
|
channel: string | null;
|
@@ -14979,6 +15010,16 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
14979
15010
|
createdAt: Date;
|
14980
15011
|
updatedAt: Date;
|
14981
15012
|
deletedAt: Date | null;
|
15013
|
+
tags: {
|
15014
|
+
name: string;
|
15015
|
+
id: string;
|
15016
|
+
createdAt: Date;
|
15017
|
+
updatedAt: Date;
|
15018
|
+
deletedAt: Date | null;
|
15019
|
+
}[];
|
15020
|
+
callFrom: string | null;
|
15021
|
+
callTo: string | null;
|
15022
|
+
note: string | null;
|
14982
15023
|
categories: {
|
14983
15024
|
id: string;
|
14984
15025
|
value: string;
|
@@ -15001,16 +15042,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
15001
15042
|
}[];
|
15002
15043
|
}[];
|
15003
15044
|
}[];
|
15004
|
-
tags: {
|
15005
|
-
name: string;
|
15006
|
-
id: string;
|
15007
|
-
createdAt: Date;
|
15008
|
-
updatedAt: Date;
|
15009
|
-
deletedAt: Date | null;
|
15010
|
-
}[];
|
15011
|
-
callFrom: string | null;
|
15012
|
-
callTo: string | null;
|
15013
|
-
note: string | null;
|
15014
15045
|
customFields?: {
|
15015
15046
|
id: string;
|
15016
15047
|
createdAt: Date;
|
@@ -15091,8 +15122,8 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
15091
15122
|
updatedAt: z.ZodDate;
|
15092
15123
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
15093
15124
|
message: z.ZodString;
|
15094
|
-
direction: z.
|
15095
|
-
type: z.
|
15125
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
15126
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
15096
15127
|
readAt: z.ZodDate;
|
15097
15128
|
metadata: z.ZodAny;
|
15098
15129
|
platformId: z.ZodString;
|
@@ -15750,7 +15781,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
15750
15781
|
};
|
15751
15782
|
}>;
|
15752
15783
|
}, "strip", z.ZodTypeAny, {
|
15753
|
-
type:
|
15784
|
+
type: string;
|
15754
15785
|
message: string;
|
15755
15786
|
id: string;
|
15756
15787
|
url: string;
|
@@ -15912,7 +15943,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
15912
15943
|
metadata?: any;
|
15913
15944
|
template?: any;
|
15914
15945
|
}, {
|
15915
|
-
type:
|
15946
|
+
type: string;
|
15916
15947
|
message: string;
|
15917
15948
|
id: string;
|
15918
15949
|
url: string;
|
@@ -16287,7 +16318,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
16287
16318
|
updatedAt: z.ZodDate;
|
16288
16319
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
16289
16320
|
message: z.ZodNullable<z.ZodString>;
|
16290
|
-
type: z.ZodUnion<[z.ZodEnum<["text", "added_photos", "added_video", "shared_story", "mobile_status_update", "no_data"]>, z.
|
16321
|
+
type: z.ZodUnion<[z.ZodEnum<["text", "added_photos", "added_video", "shared_story", "mobile_status_update", "no_data"]>, z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>]>;
|
16291
16322
|
metadata: z.ZodAny;
|
16292
16323
|
platformId: z.ZodString;
|
16293
16324
|
platformMessageId: z.ZodString;
|
@@ -16365,6 +16396,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
16365
16396
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
16366
16397
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
16367
16398
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
16399
|
+
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
16368
16400
|
}, "strip", z.ZodTypeAny, {
|
16369
16401
|
name: string;
|
16370
16402
|
id: string;
|
@@ -16394,6 +16426,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
16394
16426
|
lineRichMenuId?: string | null | undefined;
|
16395
16427
|
messengerIntegrationType?: "own" | "business" | undefined;
|
16396
16428
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
16429
|
+
isCSATEnabled?: boolean | undefined;
|
16397
16430
|
}, {
|
16398
16431
|
name: string;
|
16399
16432
|
id: string;
|
@@ -16423,6 +16456,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
16423
16456
|
lineRichMenuId?: string | null | undefined;
|
16424
16457
|
messengerIntegrationType?: "own" | "business" | undefined;
|
16425
16458
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
16459
|
+
isCSATEnabled?: boolean | undefined;
|
16426
16460
|
}>;
|
16427
16461
|
brandName: z.ZodString;
|
16428
16462
|
platformId: z.ZodString;
|
@@ -16686,6 +16720,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
16686
16720
|
lineRichMenuId?: string | null | undefined;
|
16687
16721
|
messengerIntegrationType?: "own" | "business" | undefined;
|
16688
16722
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
16723
|
+
isCSATEnabled?: boolean | undefined;
|
16689
16724
|
};
|
16690
16725
|
status: boolean;
|
16691
16726
|
createdAt: Date;
|
@@ -16780,6 +16815,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
16780
16815
|
lineRichMenuId?: string | null | undefined;
|
16781
16816
|
messengerIntegrationType?: "own" | "business" | undefined;
|
16782
16817
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
16818
|
+
isCSATEnabled?: boolean | undefined;
|
16783
16819
|
};
|
16784
16820
|
status: boolean;
|
16785
16821
|
createdAt: Date;
|
@@ -18095,7 +18131,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
18095
18131
|
}>;
|
18096
18132
|
permalinkURL: z.ZodString;
|
18097
18133
|
}, "strip", z.ZodTypeAny, {
|
18098
|
-
type:
|
18134
|
+
type: string;
|
18099
18135
|
message: string | null;
|
18100
18136
|
id: string;
|
18101
18137
|
channel: {
|
@@ -18131,6 +18167,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
18131
18167
|
lineRichMenuId?: string | null | undefined;
|
18132
18168
|
messengerIntegrationType?: "own" | "business" | undefined;
|
18133
18169
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
18170
|
+
isCSATEnabled?: boolean | undefined;
|
18134
18171
|
};
|
18135
18172
|
status: boolean;
|
18136
18173
|
createdAt: Date;
|
@@ -18376,7 +18413,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
18376
18413
|
metadata?: any;
|
18377
18414
|
template?: any;
|
18378
18415
|
}, {
|
18379
|
-
type:
|
18416
|
+
type: string;
|
18380
18417
|
message: string | null;
|
18381
18418
|
id: string;
|
18382
18419
|
channel: {
|
@@ -18412,6 +18449,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
18412
18449
|
lineRichMenuId?: string | null | undefined;
|
18413
18450
|
messengerIntegrationType?: "own" | "business" | undefined;
|
18414
18451
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
18452
|
+
isCSATEnabled?: boolean | undefined;
|
18415
18453
|
};
|
18416
18454
|
status: boolean;
|
18417
18455
|
createdAt: Date;
|
@@ -18659,7 +18697,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
18659
18697
|
}>>;
|
18660
18698
|
replyReaction: z.ZodNullable<z.ZodString>;
|
18661
18699
|
}, "strip", z.ZodTypeAny, {
|
18662
|
-
type:
|
18700
|
+
type: string;
|
18663
18701
|
message: string;
|
18664
18702
|
id: string;
|
18665
18703
|
url: string;
|
@@ -18803,6 +18841,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
18803
18841
|
lineRichMenuId?: string | null | undefined;
|
18804
18842
|
messengerIntegrationType?: "own" | "business" | undefined;
|
18805
18843
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
18844
|
+
isCSATEnabled?: boolean | undefined;
|
18806
18845
|
};
|
18807
18846
|
status: boolean;
|
18808
18847
|
createdAt: Date;
|
@@ -19094,6 +19133,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
19094
19133
|
closedAt: Date;
|
19095
19134
|
lastMessageAt: Date | null;
|
19096
19135
|
isBotRoom: boolean;
|
19136
|
+
csatStatus: string | null;
|
19097
19137
|
cxlog: {
|
19098
19138
|
id: string;
|
19099
19139
|
channel: string | null;
|
@@ -19121,6 +19161,16 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
19121
19161
|
createdAt: Date;
|
19122
19162
|
updatedAt: Date;
|
19123
19163
|
deletedAt: Date | null;
|
19164
|
+
tags: {
|
19165
|
+
name: string;
|
19166
|
+
id: string;
|
19167
|
+
createdAt: Date;
|
19168
|
+
updatedAt: Date;
|
19169
|
+
deletedAt: Date | null;
|
19170
|
+
}[];
|
19171
|
+
callFrom: string | null;
|
19172
|
+
callTo: string | null;
|
19173
|
+
note: string | null;
|
19124
19174
|
categories: {
|
19125
19175
|
id: string;
|
19126
19176
|
value: string;
|
@@ -19143,16 +19193,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
19143
19193
|
}[];
|
19144
19194
|
}[];
|
19145
19195
|
}[];
|
19146
|
-
tags: {
|
19147
|
-
name: string;
|
19148
|
-
id: string;
|
19149
|
-
createdAt: Date;
|
19150
|
-
updatedAt: Date;
|
19151
|
-
deletedAt: Date | null;
|
19152
|
-
}[];
|
19153
|
-
callFrom: string | null;
|
19154
|
-
callTo: string | null;
|
19155
|
-
note: string | null;
|
19156
19196
|
customFields?: {
|
19157
19197
|
id: string;
|
19158
19198
|
createdAt: Date;
|
@@ -19212,7 +19252,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
19212
19252
|
previewUrl: string;
|
19213
19253
|
imageSetId: string;
|
19214
19254
|
repliedMessage: {
|
19215
|
-
type:
|
19255
|
+
type: string;
|
19216
19256
|
message: string;
|
19217
19257
|
id: string;
|
19218
19258
|
url: string;
|
@@ -19422,7 +19462,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
19422
19462
|
parentMessageId: string | null;
|
19423
19463
|
feedPostId: string | null;
|
19424
19464
|
feedPost: {
|
19425
|
-
type:
|
19465
|
+
type: string;
|
19426
19466
|
message: string | null;
|
19427
19467
|
id: string;
|
19428
19468
|
channel: {
|
@@ -19458,6 +19498,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
19458
19498
|
lineRichMenuId?: string | null | undefined;
|
19459
19499
|
messengerIntegrationType?: "own" | "business" | undefined;
|
19460
19500
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
19501
|
+
isCSATEnabled?: boolean | undefined;
|
19461
19502
|
};
|
19462
19503
|
status: boolean;
|
19463
19504
|
createdAt: Date;
|
@@ -19708,7 +19749,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
19708
19749
|
template?: any;
|
19709
19750
|
metadata?: any;
|
19710
19751
|
}, {
|
19711
|
-
type:
|
19752
|
+
type: string;
|
19712
19753
|
message: string;
|
19713
19754
|
id: string;
|
19714
19755
|
url: string;
|
@@ -19852,6 +19893,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
19852
19893
|
lineRichMenuId?: string | null | undefined;
|
19853
19894
|
messengerIntegrationType?: "own" | "business" | undefined;
|
19854
19895
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
19896
|
+
isCSATEnabled?: boolean | undefined;
|
19855
19897
|
};
|
19856
19898
|
status: boolean;
|
19857
19899
|
createdAt: Date;
|
@@ -20143,6 +20185,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
20143
20185
|
closedAt: Date;
|
20144
20186
|
lastMessageAt: Date | null;
|
20145
20187
|
isBotRoom: boolean;
|
20188
|
+
csatStatus: string | null;
|
20146
20189
|
cxlog: {
|
20147
20190
|
id: string;
|
20148
20191
|
channel: string | null;
|
@@ -20170,6 +20213,16 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
20170
20213
|
createdAt: Date;
|
20171
20214
|
updatedAt: Date;
|
20172
20215
|
deletedAt: Date | null;
|
20216
|
+
tags: {
|
20217
|
+
name: string;
|
20218
|
+
id: string;
|
20219
|
+
createdAt: Date;
|
20220
|
+
updatedAt: Date;
|
20221
|
+
deletedAt: Date | null;
|
20222
|
+
}[];
|
20223
|
+
callFrom: string | null;
|
20224
|
+
callTo: string | null;
|
20225
|
+
note: string | null;
|
20173
20226
|
categories: {
|
20174
20227
|
id: string;
|
20175
20228
|
value: string;
|
@@ -20192,16 +20245,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
20192
20245
|
}[];
|
20193
20246
|
}[];
|
20194
20247
|
}[];
|
20195
|
-
tags: {
|
20196
|
-
name: string;
|
20197
|
-
id: string;
|
20198
|
-
createdAt: Date;
|
20199
|
-
updatedAt: Date;
|
20200
|
-
deletedAt: Date | null;
|
20201
|
-
}[];
|
20202
|
-
callFrom: string | null;
|
20203
|
-
callTo: string | null;
|
20204
|
-
note: string | null;
|
20205
20248
|
customFields?: {
|
20206
20249
|
id: string;
|
20207
20250
|
createdAt: Date;
|
@@ -20261,7 +20304,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
20261
20304
|
previewUrl: string;
|
20262
20305
|
imageSetId: string;
|
20263
20306
|
repliedMessage: {
|
20264
|
-
type:
|
20307
|
+
type: string;
|
20265
20308
|
message: string;
|
20266
20309
|
id: string;
|
20267
20310
|
url: string;
|
@@ -20471,7 +20514,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
20471
20514
|
parentMessageId: string | null;
|
20472
20515
|
feedPostId: string | null;
|
20473
20516
|
feedPost: {
|
20474
|
-
type:
|
20517
|
+
type: string;
|
20475
20518
|
message: string | null;
|
20476
20519
|
id: string;
|
20477
20520
|
channel: {
|
@@ -20507,6 +20550,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
20507
20550
|
lineRichMenuId?: string | null | undefined;
|
20508
20551
|
messengerIntegrationType?: "own" | "business" | undefined;
|
20509
20552
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
20553
|
+
isCSATEnabled?: boolean | undefined;
|
20510
20554
|
};
|
20511
20555
|
status: boolean;
|
20512
20556
|
createdAt: Date;
|
@@ -20763,8 +20807,8 @@ export declare const RepliedMessageSchema: z.ZodObject<{
|
|
20763
20807
|
updatedAt: z.ZodDate;
|
20764
20808
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
20765
20809
|
message: z.ZodString;
|
20766
|
-
direction: z.
|
20767
|
-
type: z.
|
20810
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
20811
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
20768
20812
|
readAt: z.ZodDate;
|
20769
20813
|
metadata: z.ZodAny;
|
20770
20814
|
platformId: z.ZodString;
|
@@ -21422,7 +21466,7 @@ export declare const RepliedMessageSchema: z.ZodObject<{
|
|
21422
21466
|
};
|
21423
21467
|
}>;
|
21424
21468
|
}, "strip", z.ZodTypeAny, {
|
21425
|
-
type:
|
21469
|
+
type: string;
|
21426
21470
|
message: string;
|
21427
21471
|
id: string;
|
21428
21472
|
url: string;
|
@@ -21584,7 +21628,7 @@ export declare const RepliedMessageSchema: z.ZodObject<{
|
|
21584
21628
|
metadata?: any;
|
21585
21629
|
template?: any;
|
21586
21630
|
}, {
|
21587
|
-
type:
|
21631
|
+
type: string;
|
21588
21632
|
message: string;
|
21589
21633
|
id: string;
|
21590
21634
|
url: string;
|
@@ -21760,11 +21804,11 @@ export declare const UnreadCountsByAssigneeSchema: z.ZodObject<{
|
|
21760
21804
|
totalUnreadCount: number;
|
21761
21805
|
}>;
|
21762
21806
|
export declare const MessageRelevanceSchema: z.ZodObject<{
|
21763
|
-
type: z.
|
21807
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
21764
21808
|
message: z.ZodString;
|
21765
21809
|
id: z.ZodString;
|
21766
21810
|
url: z.ZodString;
|
21767
|
-
direction: z.
|
21811
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
21768
21812
|
label: z.ZodOptional<z.ZodString>;
|
21769
21813
|
template: z.ZodAny;
|
21770
21814
|
metadata: z.ZodAny;
|
@@ -22229,7 +22273,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
22229
22273
|
firstResponseTime: z.ZodNumber;
|
22230
22274
|
isLatest: z.ZodBoolean;
|
22231
22275
|
isBotRoom: z.ZodBoolean;
|
22232
|
-
direction: z.
|
22276
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
22233
22277
|
platformContact: z.ZodObject<{
|
22234
22278
|
id: z.ZodString;
|
22235
22279
|
createdAt: z.ZodDate;
|
@@ -23277,6 +23321,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
23277
23321
|
channelId: string;
|
23278
23322
|
socialPlatformId: string;
|
23279
23323
|
}>;
|
23324
|
+
csatStatus: z.ZodNullable<z.ZodString>;
|
23280
23325
|
actor: z.ZodObject<{
|
23281
23326
|
id: z.ZodString;
|
23282
23327
|
createdAt: z.ZodDate;
|
@@ -23755,6 +23800,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
23755
23800
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
23756
23801
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
23757
23802
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
23803
|
+
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
23758
23804
|
}, "strip", z.ZodTypeAny, {
|
23759
23805
|
name: string;
|
23760
23806
|
id: string;
|
@@ -23784,6 +23830,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
23784
23830
|
lineRichMenuId?: string | null | undefined;
|
23785
23831
|
messengerIntegrationType?: "own" | "business" | undefined;
|
23786
23832
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
23833
|
+
isCSATEnabled?: boolean | undefined;
|
23787
23834
|
}, {
|
23788
23835
|
name: string;
|
23789
23836
|
id: string;
|
@@ -23813,6 +23860,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
23813
23860
|
lineRichMenuId?: string | null | undefined;
|
23814
23861
|
messengerIntegrationType?: "own" | "business" | undefined;
|
23815
23862
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
23863
|
+
isCSATEnabled?: boolean | undefined;
|
23816
23864
|
}>;
|
23817
23865
|
brandName: z.ZodString;
|
23818
23866
|
platformId: z.ZodString;
|
@@ -24076,6 +24124,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
24076
24124
|
lineRichMenuId?: string | null | undefined;
|
24077
24125
|
messengerIntegrationType?: "own" | "business" | undefined;
|
24078
24126
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
24127
|
+
isCSATEnabled?: boolean | undefined;
|
24079
24128
|
};
|
24080
24129
|
status: boolean;
|
24081
24130
|
createdAt: Date;
|
@@ -24170,6 +24219,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
24170
24219
|
lineRichMenuId?: string | null | undefined;
|
24171
24220
|
messengerIntegrationType?: "own" | "business" | undefined;
|
24172
24221
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
24222
|
+
isCSATEnabled?: boolean | undefined;
|
24173
24223
|
};
|
24174
24224
|
status: boolean;
|
24175
24225
|
createdAt: Date;
|
@@ -24422,6 +24472,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
24422
24472
|
createdAt: Date;
|
24423
24473
|
updatedAt: Date;
|
24424
24474
|
deletedAt: Date | null;
|
24475
|
+
tags: {
|
24476
|
+
name: string;
|
24477
|
+
id: string;
|
24478
|
+
createdAt: Date;
|
24479
|
+
updatedAt: Date;
|
24480
|
+
deletedAt: Date | null;
|
24481
|
+
}[];
|
24482
|
+
callFrom: string | null;
|
24483
|
+
callTo: string | null;
|
24484
|
+
note: string | null;
|
24425
24485
|
categories: {
|
24426
24486
|
id: string;
|
24427
24487
|
value: string;
|
@@ -24444,16 +24504,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
24444
24504
|
}[];
|
24445
24505
|
}[];
|
24446
24506
|
}[];
|
24447
|
-
tags: {
|
24448
|
-
name: string;
|
24449
|
-
id: string;
|
24450
|
-
createdAt: Date;
|
24451
|
-
updatedAt: Date;
|
24452
|
-
deletedAt: Date | null;
|
24453
|
-
}[];
|
24454
|
-
callFrom: string | null;
|
24455
|
-
callTo: string | null;
|
24456
|
-
note: string | null;
|
24457
24507
|
customFields?: {
|
24458
24508
|
id: string;
|
24459
24509
|
createdAt: Date;
|
@@ -24473,6 +24523,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
24473
24523
|
createdAt: Date;
|
24474
24524
|
updatedAt: Date;
|
24475
24525
|
deletedAt: Date | null;
|
24526
|
+
tags: {
|
24527
|
+
name: string;
|
24528
|
+
id: string;
|
24529
|
+
createdAt: Date;
|
24530
|
+
updatedAt: Date;
|
24531
|
+
deletedAt: Date | null;
|
24532
|
+
}[];
|
24533
|
+
callFrom: string | null;
|
24534
|
+
callTo: string | null;
|
24535
|
+
note: string | null;
|
24476
24536
|
categories: {
|
24477
24537
|
id: string;
|
24478
24538
|
value: string;
|
@@ -24495,16 +24555,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
24495
24555
|
}[];
|
24496
24556
|
}[];
|
24497
24557
|
}[];
|
24498
|
-
tags: {
|
24499
|
-
name: string;
|
24500
|
-
id: string;
|
24501
|
-
createdAt: Date;
|
24502
|
-
updatedAt: Date;
|
24503
|
-
deletedAt: Date | null;
|
24504
|
-
}[];
|
24505
|
-
callFrom: string | null;
|
24506
|
-
callTo: string | null;
|
24507
|
-
note: string | null;
|
24508
24558
|
customFields?: {
|
24509
24559
|
id: string;
|
24510
24560
|
createdAt: Date;
|
@@ -24613,28 +24663,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
24613
24663
|
createdAt: Date;
|
24614
24664
|
updatedAt: Date;
|
24615
24665
|
deletedAt: Date | null;
|
24616
|
-
categories: {
|
24617
|
-
id: string;
|
24618
|
-
value: string;
|
24619
|
-
createdAt: Date;
|
24620
|
-
updatedAt: Date;
|
24621
|
-
deletedAt: Date | null;
|
24622
|
-
level: 2 | 1 | 3;
|
24623
|
-
parentId: string | null;
|
24624
|
-
childCategoryList: {
|
24625
|
-
id: string;
|
24626
|
-
value: string;
|
24627
|
-
level: 2 | 1 | 3;
|
24628
|
-
parentId: string | null;
|
24629
|
-
childCategoryList: {
|
24630
|
-
id: string;
|
24631
|
-
value: string;
|
24632
|
-
level: 2 | 1 | 3;
|
24633
|
-
parentId: string | null;
|
24634
|
-
childCategoryList: any[];
|
24635
|
-
}[];
|
24636
|
-
}[];
|
24637
|
-
}[];
|
24638
24666
|
tags: {
|
24639
24667
|
name: string;
|
24640
24668
|
id: string;
|
@@ -24645,64 +24673,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
24645
24673
|
callFrom: string | null;
|
24646
24674
|
callTo: string | null;
|
24647
24675
|
note: string | null;
|
24648
|
-
customFields?: {
|
24649
|
-
id: string;
|
24650
|
-
createdAt: Date;
|
24651
|
-
updatedAt: Date;
|
24652
|
-
deletedAt: Date | null;
|
24653
|
-
entityId: string;
|
24654
|
-
attributeId: string;
|
24655
|
-
textValue: string | null;
|
24656
|
-
booleanValue: boolean | null;
|
24657
|
-
numberValue: number | null;
|
24658
|
-
dateValue: Date | null;
|
24659
|
-
}[] | null | undefined;
|
24660
|
-
} | null;
|
24661
|
-
holdLogs?: {
|
24662
|
-
id: string;
|
24663
|
-
createdAt: Date;
|
24664
|
-
updatedAt: Date;
|
24665
|
-
deletedAt: Date | null;
|
24666
|
-
startedAt: string;
|
24667
|
-
endedAt: string | null;
|
24668
|
-
duration: number | null;
|
24669
|
-
holdLabel?: {
|
24670
|
-
name: string;
|
24671
|
-
id: string;
|
24672
|
-
position: number;
|
24673
|
-
createdAt: Date;
|
24674
|
-
updatedAt: Date;
|
24675
|
-
deletedAt: Date | null;
|
24676
|
-
isDefault: boolean;
|
24677
|
-
} | null | undefined;
|
24678
|
-
}[] | null | undefined;
|
24679
|
-
}, {
|
24680
|
-
id: string;
|
24681
|
-
channel: string | null;
|
24682
|
-
direction: string | null;
|
24683
|
-
createdAt: Date;
|
24684
|
-
updatedAt: Date;
|
24685
|
-
deletedAt: Date | null;
|
24686
|
-
entityId: string;
|
24687
|
-
queueId: string | null;
|
24688
|
-
contactId: string | null;
|
24689
|
-
caseId: number;
|
24690
|
-
entityName: string;
|
24691
|
-
agentId: string | null;
|
24692
|
-
startedDate: Date | null;
|
24693
|
-
totalHoldDuration: number | null;
|
24694
|
-
handledTime: number | null;
|
24695
|
-
fullHandledTime: number | null;
|
24696
|
-
firstResponseTime: number | null;
|
24697
|
-
resolutionTime: number | null;
|
24698
|
-
fullResolutionTime: number | null;
|
24699
|
-
wrapUpForm: {
|
24700
|
-
type: string;
|
24701
|
-
id: string;
|
24702
|
-
disposition: string | null;
|
24703
|
-
createdAt: Date;
|
24704
|
-
updatedAt: Date;
|
24705
|
-
deletedAt: Date | null;
|
24706
24676
|
categories: {
|
24707
24677
|
id: string;
|
24708
24678
|
value: string;
|
@@ -24725,16 +24695,96 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
24725
24695
|
}[];
|
24726
24696
|
}[];
|
24727
24697
|
}[];
|
24728
|
-
|
24729
|
-
|
24730
|
-
|
24731
|
-
|
24732
|
-
|
24733
|
-
|
24734
|
-
|
24735
|
-
|
24736
|
-
|
24737
|
-
|
24698
|
+
customFields?: {
|
24699
|
+
id: string;
|
24700
|
+
createdAt: Date;
|
24701
|
+
updatedAt: Date;
|
24702
|
+
deletedAt: Date | null;
|
24703
|
+
entityId: string;
|
24704
|
+
attributeId: string;
|
24705
|
+
textValue: string | null;
|
24706
|
+
booleanValue: boolean | null;
|
24707
|
+
numberValue: number | null;
|
24708
|
+
dateValue: Date | null;
|
24709
|
+
}[] | null | undefined;
|
24710
|
+
} | null;
|
24711
|
+
holdLogs?: {
|
24712
|
+
id: string;
|
24713
|
+
createdAt: Date;
|
24714
|
+
updatedAt: Date;
|
24715
|
+
deletedAt: Date | null;
|
24716
|
+
startedAt: string;
|
24717
|
+
endedAt: string | null;
|
24718
|
+
duration: number | null;
|
24719
|
+
holdLabel?: {
|
24720
|
+
name: string;
|
24721
|
+
id: string;
|
24722
|
+
position: number;
|
24723
|
+
createdAt: Date;
|
24724
|
+
updatedAt: Date;
|
24725
|
+
deletedAt: Date | null;
|
24726
|
+
isDefault: boolean;
|
24727
|
+
} | null | undefined;
|
24728
|
+
}[] | null | undefined;
|
24729
|
+
}, {
|
24730
|
+
id: string;
|
24731
|
+
channel: string | null;
|
24732
|
+
direction: string | null;
|
24733
|
+
createdAt: Date;
|
24734
|
+
updatedAt: Date;
|
24735
|
+
deletedAt: Date | null;
|
24736
|
+
entityId: string;
|
24737
|
+
queueId: string | null;
|
24738
|
+
contactId: string | null;
|
24739
|
+
caseId: number;
|
24740
|
+
entityName: string;
|
24741
|
+
agentId: string | null;
|
24742
|
+
startedDate: Date | null;
|
24743
|
+
totalHoldDuration: number | null;
|
24744
|
+
handledTime: number | null;
|
24745
|
+
fullHandledTime: number | null;
|
24746
|
+
firstResponseTime: number | null;
|
24747
|
+
resolutionTime: number | null;
|
24748
|
+
fullResolutionTime: number | null;
|
24749
|
+
wrapUpForm: {
|
24750
|
+
type: string;
|
24751
|
+
id: string;
|
24752
|
+
disposition: string | null;
|
24753
|
+
createdAt: Date;
|
24754
|
+
updatedAt: Date;
|
24755
|
+
deletedAt: Date | null;
|
24756
|
+
tags: {
|
24757
|
+
name: string;
|
24758
|
+
id: string;
|
24759
|
+
createdAt: Date;
|
24760
|
+
updatedAt: Date;
|
24761
|
+
deletedAt: Date | null;
|
24762
|
+
}[];
|
24763
|
+
callFrom: string | null;
|
24764
|
+
callTo: string | null;
|
24765
|
+
note: string | null;
|
24766
|
+
categories: {
|
24767
|
+
id: string;
|
24768
|
+
value: string;
|
24769
|
+
createdAt: Date;
|
24770
|
+
updatedAt: Date;
|
24771
|
+
deletedAt: Date | null;
|
24772
|
+
level: 2 | 1 | 3;
|
24773
|
+
parentId: string | null;
|
24774
|
+
childCategoryList: {
|
24775
|
+
id: string;
|
24776
|
+
value: string;
|
24777
|
+
level: 2 | 1 | 3;
|
24778
|
+
parentId: string | null;
|
24779
|
+
childCategoryList: {
|
24780
|
+
id: string;
|
24781
|
+
value: string;
|
24782
|
+
level: 2 | 1 | 3;
|
24783
|
+
parentId: string | null;
|
24784
|
+
childCategoryList: any[];
|
24785
|
+
}[];
|
24786
|
+
}[];
|
24787
|
+
}[];
|
24738
24788
|
customFields?: {
|
24739
24789
|
id: string;
|
24740
24790
|
createdAt: Date;
|
@@ -24828,6 +24878,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
24828
24878
|
lineRichMenuId?: string | null | undefined;
|
24829
24879
|
messengerIntegrationType?: "own" | "business" | undefined;
|
24830
24880
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
24881
|
+
isCSATEnabled?: boolean | undefined;
|
24831
24882
|
};
|
24832
24883
|
status: boolean;
|
24833
24884
|
createdAt: Date;
|
@@ -25119,6 +25170,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
25119
25170
|
closedAt: Date;
|
25120
25171
|
lastMessageAt: Date | null;
|
25121
25172
|
isBotRoom: boolean;
|
25173
|
+
csatStatus: string | null;
|
25122
25174
|
cxlog: {
|
25123
25175
|
id: string;
|
25124
25176
|
channel: string | null;
|
@@ -25146,6 +25198,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
25146
25198
|
createdAt: Date;
|
25147
25199
|
updatedAt: Date;
|
25148
25200
|
deletedAt: Date | null;
|
25201
|
+
tags: {
|
25202
|
+
name: string;
|
25203
|
+
id: string;
|
25204
|
+
createdAt: Date;
|
25205
|
+
updatedAt: Date;
|
25206
|
+
deletedAt: Date | null;
|
25207
|
+
}[];
|
25208
|
+
callFrom: string | null;
|
25209
|
+
callTo: string | null;
|
25210
|
+
note: string | null;
|
25149
25211
|
categories: {
|
25150
25212
|
id: string;
|
25151
25213
|
value: string;
|
@@ -25168,16 +25230,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
25168
25230
|
}[];
|
25169
25231
|
}[];
|
25170
25232
|
}[];
|
25171
|
-
tags: {
|
25172
|
-
name: string;
|
25173
|
-
id: string;
|
25174
|
-
createdAt: Date;
|
25175
|
-
updatedAt: Date;
|
25176
|
-
deletedAt: Date | null;
|
25177
|
-
}[];
|
25178
|
-
callFrom: string | null;
|
25179
|
-
callTo: string | null;
|
25180
|
-
note: string | null;
|
25181
25233
|
customFields?: {
|
25182
25234
|
id: string;
|
25183
25235
|
createdAt: Date;
|
@@ -25255,6 +25307,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
25255
25307
|
lineRichMenuId?: string | null | undefined;
|
25256
25308
|
messengerIntegrationType?: "own" | "business" | undefined;
|
25257
25309
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
25310
|
+
isCSATEnabled?: boolean | undefined;
|
25258
25311
|
};
|
25259
25312
|
status: boolean;
|
25260
25313
|
createdAt: Date;
|
@@ -25546,6 +25599,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
25546
25599
|
closedAt: Date;
|
25547
25600
|
lastMessageAt: Date | null;
|
25548
25601
|
isBotRoom: boolean;
|
25602
|
+
csatStatus: string | null;
|
25549
25603
|
cxlog: {
|
25550
25604
|
id: string;
|
25551
25605
|
channel: string | null;
|
@@ -25573,6 +25627,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
25573
25627
|
createdAt: Date;
|
25574
25628
|
updatedAt: Date;
|
25575
25629
|
deletedAt: Date | null;
|
25630
|
+
tags: {
|
25631
|
+
name: string;
|
25632
|
+
id: string;
|
25633
|
+
createdAt: Date;
|
25634
|
+
updatedAt: Date;
|
25635
|
+
deletedAt: Date | null;
|
25636
|
+
}[];
|
25637
|
+
callFrom: string | null;
|
25638
|
+
callTo: string | null;
|
25639
|
+
note: string | null;
|
25576
25640
|
categories: {
|
25577
25641
|
id: string;
|
25578
25642
|
value: string;
|
@@ -25595,16 +25659,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
25595
25659
|
}[];
|
25596
25660
|
}[];
|
25597
25661
|
}[];
|
25598
|
-
tags: {
|
25599
|
-
name: string;
|
25600
|
-
id: string;
|
25601
|
-
createdAt: Date;
|
25602
|
-
updatedAt: Date;
|
25603
|
-
deletedAt: Date | null;
|
25604
|
-
}[];
|
25605
|
-
callFrom: string | null;
|
25606
|
-
callTo: string | null;
|
25607
|
-
note: string | null;
|
25608
25662
|
customFields?: {
|
25609
25663
|
id: string;
|
25610
25664
|
createdAt: Date;
|
@@ -25685,8 +25739,8 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
25685
25739
|
updatedAt: z.ZodDate;
|
25686
25740
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
25687
25741
|
message: z.ZodString;
|
25688
|
-
direction: z.
|
25689
|
-
type: z.
|
25742
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
25743
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
25690
25744
|
readAt: z.ZodDate;
|
25691
25745
|
metadata: z.ZodAny;
|
25692
25746
|
platformId: z.ZodString;
|
@@ -26344,7 +26398,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
26344
26398
|
};
|
26345
26399
|
}>;
|
26346
26400
|
}, "strip", z.ZodTypeAny, {
|
26347
|
-
type:
|
26401
|
+
type: string;
|
26348
26402
|
message: string;
|
26349
26403
|
id: string;
|
26350
26404
|
url: string;
|
@@ -26506,7 +26560,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
26506
26560
|
metadata?: any;
|
26507
26561
|
template?: any;
|
26508
26562
|
}, {
|
26509
|
-
type:
|
26563
|
+
type: string;
|
26510
26564
|
message: string;
|
26511
26565
|
id: string;
|
26512
26566
|
url: string;
|
@@ -27926,8 +27980,8 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
27926
27980
|
updatedAt: z.ZodDate;
|
27927
27981
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
27928
27982
|
message: z.ZodString;
|
27929
|
-
direction: z.
|
27930
|
-
type: z.
|
27983
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
27984
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
27931
27985
|
readAt: z.ZodDate;
|
27932
27986
|
metadata: z.ZodAny;
|
27933
27987
|
platformId: z.ZodString;
|
@@ -27953,7 +28007,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
27953
28007
|
firstResponseTime: z.ZodNumber;
|
27954
28008
|
isLatest: z.ZodBoolean;
|
27955
28009
|
isBotRoom: z.ZodBoolean;
|
27956
|
-
direction: z.
|
28010
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
27957
28011
|
platformContact: z.ZodObject<{
|
27958
28012
|
id: z.ZodString;
|
27959
28013
|
createdAt: z.ZodDate;
|
@@ -29001,6 +29055,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
29001
29055
|
channelId: string;
|
29002
29056
|
socialPlatformId: string;
|
29003
29057
|
}>;
|
29058
|
+
csatStatus: z.ZodNullable<z.ZodString>;
|
29004
29059
|
actor: z.ZodObject<{
|
29005
29060
|
id: z.ZodString;
|
29006
29061
|
createdAt: z.ZodDate;
|
@@ -29479,6 +29534,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
29479
29534
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
29480
29535
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
29481
29536
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
29537
|
+
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
29482
29538
|
}, "strip", z.ZodTypeAny, {
|
29483
29539
|
name: string;
|
29484
29540
|
id: string;
|
@@ -29508,6 +29564,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
29508
29564
|
lineRichMenuId?: string | null | undefined;
|
29509
29565
|
messengerIntegrationType?: "own" | "business" | undefined;
|
29510
29566
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
29567
|
+
isCSATEnabled?: boolean | undefined;
|
29511
29568
|
}, {
|
29512
29569
|
name: string;
|
29513
29570
|
id: string;
|
@@ -29537,6 +29594,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
29537
29594
|
lineRichMenuId?: string | null | undefined;
|
29538
29595
|
messengerIntegrationType?: "own" | "business" | undefined;
|
29539
29596
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
29597
|
+
isCSATEnabled?: boolean | undefined;
|
29540
29598
|
}>;
|
29541
29599
|
brandName: z.ZodString;
|
29542
29600
|
platformId: z.ZodString;
|
@@ -29800,6 +29858,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
29800
29858
|
lineRichMenuId?: string | null | undefined;
|
29801
29859
|
messengerIntegrationType?: "own" | "business" | undefined;
|
29802
29860
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
29861
|
+
isCSATEnabled?: boolean | undefined;
|
29803
29862
|
};
|
29804
29863
|
status: boolean;
|
29805
29864
|
createdAt: Date;
|
@@ -29894,6 +29953,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
29894
29953
|
lineRichMenuId?: string | null | undefined;
|
29895
29954
|
messengerIntegrationType?: "own" | "business" | undefined;
|
29896
29955
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
29956
|
+
isCSATEnabled?: boolean | undefined;
|
29897
29957
|
};
|
29898
29958
|
status: boolean;
|
29899
29959
|
createdAt: Date;
|
@@ -30146,6 +30206,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
30146
30206
|
createdAt: Date;
|
30147
30207
|
updatedAt: Date;
|
30148
30208
|
deletedAt: Date | null;
|
30209
|
+
tags: {
|
30210
|
+
name: string;
|
30211
|
+
id: string;
|
30212
|
+
createdAt: Date;
|
30213
|
+
updatedAt: Date;
|
30214
|
+
deletedAt: Date | null;
|
30215
|
+
}[];
|
30216
|
+
callFrom: string | null;
|
30217
|
+
callTo: string | null;
|
30218
|
+
note: string | null;
|
30149
30219
|
categories: {
|
30150
30220
|
id: string;
|
30151
30221
|
value: string;
|
@@ -30168,16 +30238,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
30168
30238
|
}[];
|
30169
30239
|
}[];
|
30170
30240
|
}[];
|
30171
|
-
tags: {
|
30172
|
-
name: string;
|
30173
|
-
id: string;
|
30174
|
-
createdAt: Date;
|
30175
|
-
updatedAt: Date;
|
30176
|
-
deletedAt: Date | null;
|
30177
|
-
}[];
|
30178
|
-
callFrom: string | null;
|
30179
|
-
callTo: string | null;
|
30180
|
-
note: string | null;
|
30181
30241
|
customFields?: {
|
30182
30242
|
id: string;
|
30183
30243
|
createdAt: Date;
|
@@ -30197,6 +30257,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
30197
30257
|
createdAt: Date;
|
30198
30258
|
updatedAt: Date;
|
30199
30259
|
deletedAt: Date | null;
|
30260
|
+
tags: {
|
30261
|
+
name: string;
|
30262
|
+
id: string;
|
30263
|
+
createdAt: Date;
|
30264
|
+
updatedAt: Date;
|
30265
|
+
deletedAt: Date | null;
|
30266
|
+
}[];
|
30267
|
+
callFrom: string | null;
|
30268
|
+
callTo: string | null;
|
30269
|
+
note: string | null;
|
30200
30270
|
categories: {
|
30201
30271
|
id: string;
|
30202
30272
|
value: string;
|
@@ -30219,16 +30289,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
30219
30289
|
}[];
|
30220
30290
|
}[];
|
30221
30291
|
}[];
|
30222
|
-
tags: {
|
30223
|
-
name: string;
|
30224
|
-
id: string;
|
30225
|
-
createdAt: Date;
|
30226
|
-
updatedAt: Date;
|
30227
|
-
deletedAt: Date | null;
|
30228
|
-
}[];
|
30229
|
-
callFrom: string | null;
|
30230
|
-
callTo: string | null;
|
30231
|
-
note: string | null;
|
30232
30292
|
customFields?: {
|
30233
30293
|
id: string;
|
30234
30294
|
createdAt: Date;
|
@@ -30337,28 +30397,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
30337
30397
|
createdAt: Date;
|
30338
30398
|
updatedAt: Date;
|
30339
30399
|
deletedAt: Date | null;
|
30340
|
-
categories: {
|
30341
|
-
id: string;
|
30342
|
-
value: string;
|
30343
|
-
createdAt: Date;
|
30344
|
-
updatedAt: Date;
|
30345
|
-
deletedAt: Date | null;
|
30346
|
-
level: 2 | 1 | 3;
|
30347
|
-
parentId: string | null;
|
30348
|
-
childCategoryList: {
|
30349
|
-
id: string;
|
30350
|
-
value: string;
|
30351
|
-
level: 2 | 1 | 3;
|
30352
|
-
parentId: string | null;
|
30353
|
-
childCategoryList: {
|
30354
|
-
id: string;
|
30355
|
-
value: string;
|
30356
|
-
level: 2 | 1 | 3;
|
30357
|
-
parentId: string | null;
|
30358
|
-
childCategoryList: any[];
|
30359
|
-
}[];
|
30360
|
-
}[];
|
30361
|
-
}[];
|
30362
30400
|
tags: {
|
30363
30401
|
name: string;
|
30364
30402
|
id: string;
|
@@ -30369,64 +30407,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
30369
30407
|
callFrom: string | null;
|
30370
30408
|
callTo: string | null;
|
30371
30409
|
note: string | null;
|
30372
|
-
customFields?: {
|
30373
|
-
id: string;
|
30374
|
-
createdAt: Date;
|
30375
|
-
updatedAt: Date;
|
30376
|
-
deletedAt: Date | null;
|
30377
|
-
entityId: string;
|
30378
|
-
attributeId: string;
|
30379
|
-
textValue: string | null;
|
30380
|
-
booleanValue: boolean | null;
|
30381
|
-
numberValue: number | null;
|
30382
|
-
dateValue: Date | null;
|
30383
|
-
}[] | null | undefined;
|
30384
|
-
} | null;
|
30385
|
-
holdLogs?: {
|
30386
|
-
id: string;
|
30387
|
-
createdAt: Date;
|
30388
|
-
updatedAt: Date;
|
30389
|
-
deletedAt: Date | null;
|
30390
|
-
startedAt: string;
|
30391
|
-
endedAt: string | null;
|
30392
|
-
duration: number | null;
|
30393
|
-
holdLabel?: {
|
30394
|
-
name: string;
|
30395
|
-
id: string;
|
30396
|
-
position: number;
|
30397
|
-
createdAt: Date;
|
30398
|
-
updatedAt: Date;
|
30399
|
-
deletedAt: Date | null;
|
30400
|
-
isDefault: boolean;
|
30401
|
-
} | null | undefined;
|
30402
|
-
}[] | null | undefined;
|
30403
|
-
}, {
|
30404
|
-
id: string;
|
30405
|
-
channel: string | null;
|
30406
|
-
direction: string | null;
|
30407
|
-
createdAt: Date;
|
30408
|
-
updatedAt: Date;
|
30409
|
-
deletedAt: Date | null;
|
30410
|
-
entityId: string;
|
30411
|
-
queueId: string | null;
|
30412
|
-
contactId: string | null;
|
30413
|
-
caseId: number;
|
30414
|
-
entityName: string;
|
30415
|
-
agentId: string | null;
|
30416
|
-
startedDate: Date | null;
|
30417
|
-
totalHoldDuration: number | null;
|
30418
|
-
handledTime: number | null;
|
30419
|
-
fullHandledTime: number | null;
|
30420
|
-
firstResponseTime: number | null;
|
30421
|
-
resolutionTime: number | null;
|
30422
|
-
fullResolutionTime: number | null;
|
30423
|
-
wrapUpForm: {
|
30424
|
-
type: string;
|
30425
|
-
id: string;
|
30426
|
-
disposition: string | null;
|
30427
|
-
createdAt: Date;
|
30428
|
-
updatedAt: Date;
|
30429
|
-
deletedAt: Date | null;
|
30430
30410
|
categories: {
|
30431
30411
|
id: string;
|
30432
30412
|
value: string;
|
@@ -30449,16 +30429,96 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
30449
30429
|
}[];
|
30450
30430
|
}[];
|
30451
30431
|
}[];
|
30452
|
-
|
30453
|
-
|
30454
|
-
|
30455
|
-
|
30456
|
-
|
30457
|
-
|
30458
|
-
|
30459
|
-
|
30460
|
-
|
30461
|
-
|
30432
|
+
customFields?: {
|
30433
|
+
id: string;
|
30434
|
+
createdAt: Date;
|
30435
|
+
updatedAt: Date;
|
30436
|
+
deletedAt: Date | null;
|
30437
|
+
entityId: string;
|
30438
|
+
attributeId: string;
|
30439
|
+
textValue: string | null;
|
30440
|
+
booleanValue: boolean | null;
|
30441
|
+
numberValue: number | null;
|
30442
|
+
dateValue: Date | null;
|
30443
|
+
}[] | null | undefined;
|
30444
|
+
} | null;
|
30445
|
+
holdLogs?: {
|
30446
|
+
id: string;
|
30447
|
+
createdAt: Date;
|
30448
|
+
updatedAt: Date;
|
30449
|
+
deletedAt: Date | null;
|
30450
|
+
startedAt: string;
|
30451
|
+
endedAt: string | null;
|
30452
|
+
duration: number | null;
|
30453
|
+
holdLabel?: {
|
30454
|
+
name: string;
|
30455
|
+
id: string;
|
30456
|
+
position: number;
|
30457
|
+
createdAt: Date;
|
30458
|
+
updatedAt: Date;
|
30459
|
+
deletedAt: Date | null;
|
30460
|
+
isDefault: boolean;
|
30461
|
+
} | null | undefined;
|
30462
|
+
}[] | null | undefined;
|
30463
|
+
}, {
|
30464
|
+
id: string;
|
30465
|
+
channel: string | null;
|
30466
|
+
direction: string | null;
|
30467
|
+
createdAt: Date;
|
30468
|
+
updatedAt: Date;
|
30469
|
+
deletedAt: Date | null;
|
30470
|
+
entityId: string;
|
30471
|
+
queueId: string | null;
|
30472
|
+
contactId: string | null;
|
30473
|
+
caseId: number;
|
30474
|
+
entityName: string;
|
30475
|
+
agentId: string | null;
|
30476
|
+
startedDate: Date | null;
|
30477
|
+
totalHoldDuration: number | null;
|
30478
|
+
handledTime: number | null;
|
30479
|
+
fullHandledTime: number | null;
|
30480
|
+
firstResponseTime: number | null;
|
30481
|
+
resolutionTime: number | null;
|
30482
|
+
fullResolutionTime: number | null;
|
30483
|
+
wrapUpForm: {
|
30484
|
+
type: string;
|
30485
|
+
id: string;
|
30486
|
+
disposition: string | null;
|
30487
|
+
createdAt: Date;
|
30488
|
+
updatedAt: Date;
|
30489
|
+
deletedAt: Date | null;
|
30490
|
+
tags: {
|
30491
|
+
name: string;
|
30492
|
+
id: string;
|
30493
|
+
createdAt: Date;
|
30494
|
+
updatedAt: Date;
|
30495
|
+
deletedAt: Date | null;
|
30496
|
+
}[];
|
30497
|
+
callFrom: string | null;
|
30498
|
+
callTo: string | null;
|
30499
|
+
note: string | null;
|
30500
|
+
categories: {
|
30501
|
+
id: string;
|
30502
|
+
value: string;
|
30503
|
+
createdAt: Date;
|
30504
|
+
updatedAt: Date;
|
30505
|
+
deletedAt: Date | null;
|
30506
|
+
level: 2 | 1 | 3;
|
30507
|
+
parentId: string | null;
|
30508
|
+
childCategoryList: {
|
30509
|
+
id: string;
|
30510
|
+
value: string;
|
30511
|
+
level: 2 | 1 | 3;
|
30512
|
+
parentId: string | null;
|
30513
|
+
childCategoryList: {
|
30514
|
+
id: string;
|
30515
|
+
value: string;
|
30516
|
+
level: 2 | 1 | 3;
|
30517
|
+
parentId: string | null;
|
30518
|
+
childCategoryList: any[];
|
30519
|
+
}[];
|
30520
|
+
}[];
|
30521
|
+
}[];
|
30462
30522
|
customFields?: {
|
30463
30523
|
id: string;
|
30464
30524
|
createdAt: Date;
|
@@ -30552,6 +30612,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
30552
30612
|
lineRichMenuId?: string | null | undefined;
|
30553
30613
|
messengerIntegrationType?: "own" | "business" | undefined;
|
30554
30614
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
30615
|
+
isCSATEnabled?: boolean | undefined;
|
30555
30616
|
};
|
30556
30617
|
status: boolean;
|
30557
30618
|
createdAt: Date;
|
@@ -30843,6 +30904,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
30843
30904
|
closedAt: Date;
|
30844
30905
|
lastMessageAt: Date | null;
|
30845
30906
|
isBotRoom: boolean;
|
30907
|
+
csatStatus: string | null;
|
30846
30908
|
cxlog: {
|
30847
30909
|
id: string;
|
30848
30910
|
channel: string | null;
|
@@ -30870,6 +30932,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
30870
30932
|
createdAt: Date;
|
30871
30933
|
updatedAt: Date;
|
30872
30934
|
deletedAt: Date | null;
|
30935
|
+
tags: {
|
30936
|
+
name: string;
|
30937
|
+
id: string;
|
30938
|
+
createdAt: Date;
|
30939
|
+
updatedAt: Date;
|
30940
|
+
deletedAt: Date | null;
|
30941
|
+
}[];
|
30942
|
+
callFrom: string | null;
|
30943
|
+
callTo: string | null;
|
30944
|
+
note: string | null;
|
30873
30945
|
categories: {
|
30874
30946
|
id: string;
|
30875
30947
|
value: string;
|
@@ -30892,16 +30964,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
30892
30964
|
}[];
|
30893
30965
|
}[];
|
30894
30966
|
}[];
|
30895
|
-
tags: {
|
30896
|
-
name: string;
|
30897
|
-
id: string;
|
30898
|
-
createdAt: Date;
|
30899
|
-
updatedAt: Date;
|
30900
|
-
deletedAt: Date | null;
|
30901
|
-
}[];
|
30902
|
-
callFrom: string | null;
|
30903
|
-
callTo: string | null;
|
30904
|
-
note: string | null;
|
30905
30967
|
customFields?: {
|
30906
30968
|
id: string;
|
30907
30969
|
createdAt: Date;
|
@@ -30979,6 +31041,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
30979
31041
|
lineRichMenuId?: string | null | undefined;
|
30980
31042
|
messengerIntegrationType?: "own" | "business" | undefined;
|
30981
31043
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
31044
|
+
isCSATEnabled?: boolean | undefined;
|
30982
31045
|
};
|
30983
31046
|
status: boolean;
|
30984
31047
|
createdAt: Date;
|
@@ -31270,6 +31333,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
31270
31333
|
closedAt: Date;
|
31271
31334
|
lastMessageAt: Date | null;
|
31272
31335
|
isBotRoom: boolean;
|
31336
|
+
csatStatus: string | null;
|
31273
31337
|
cxlog: {
|
31274
31338
|
id: string;
|
31275
31339
|
channel: string | null;
|
@@ -31297,6 +31361,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
31297
31361
|
createdAt: Date;
|
31298
31362
|
updatedAt: Date;
|
31299
31363
|
deletedAt: Date | null;
|
31364
|
+
tags: {
|
31365
|
+
name: string;
|
31366
|
+
id: string;
|
31367
|
+
createdAt: Date;
|
31368
|
+
updatedAt: Date;
|
31369
|
+
deletedAt: Date | null;
|
31370
|
+
}[];
|
31371
|
+
callFrom: string | null;
|
31372
|
+
callTo: string | null;
|
31373
|
+
note: string | null;
|
31300
31374
|
categories: {
|
31301
31375
|
id: string;
|
31302
31376
|
value: string;
|
@@ -31319,16 +31393,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
31319
31393
|
}[];
|
31320
31394
|
}[];
|
31321
31395
|
}[];
|
31322
|
-
tags: {
|
31323
|
-
name: string;
|
31324
|
-
id: string;
|
31325
|
-
createdAt: Date;
|
31326
|
-
updatedAt: Date;
|
31327
|
-
deletedAt: Date | null;
|
31328
|
-
}[];
|
31329
|
-
callFrom: string | null;
|
31330
|
-
callTo: string | null;
|
31331
|
-
note: string | null;
|
31332
31396
|
customFields?: {
|
31333
31397
|
id: string;
|
31334
31398
|
createdAt: Date;
|
@@ -31412,8 +31476,8 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
31412
31476
|
updatedAt: z.ZodDate;
|
31413
31477
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
31414
31478
|
message: z.ZodString;
|
31415
|
-
direction: z.
|
31416
|
-
type: z.
|
31479
|
+
direction: z.ZodUnion<[z.ZodLiteral<"incoming">, z.ZodLiteral<"outgoing">, z.ZodLiteral<"system">]>;
|
31480
|
+
type: z.ZodUnion<[z.ZodLiteral<string>, z.ZodLiteral<string>, ...z.ZodLiteral<string>[]]>;
|
31417
31481
|
readAt: z.ZodDate;
|
31418
31482
|
metadata: z.ZodAny;
|
31419
31483
|
platformId: z.ZodString;
|
@@ -32071,7 +32135,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
32071
32135
|
};
|
32072
32136
|
}>;
|
32073
32137
|
}, "strip", z.ZodTypeAny, {
|
32074
|
-
type:
|
32138
|
+
type: string;
|
32075
32139
|
message: string;
|
32076
32140
|
id: string;
|
32077
32141
|
url: string;
|
@@ -32233,7 +32297,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
32233
32297
|
metadata?: any;
|
32234
32298
|
template?: any;
|
32235
32299
|
}, {
|
32236
|
-
type:
|
32300
|
+
type: string;
|
32237
32301
|
message: string;
|
32238
32302
|
id: string;
|
32239
32303
|
url: string;
|
@@ -33035,7 +33099,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
33035
33099
|
editedMessageid: z.ZodString;
|
33036
33100
|
label: z.ZodOptional<z.ZodString>;
|
33037
33101
|
}, "strip", z.ZodTypeAny, {
|
33038
|
-
type:
|
33102
|
+
type: string;
|
33039
33103
|
message: string;
|
33040
33104
|
id: string;
|
33041
33105
|
url: string;
|
@@ -33179,6 +33243,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
33179
33243
|
lineRichMenuId?: string | null | undefined;
|
33180
33244
|
messengerIntegrationType?: "own" | "business" | undefined;
|
33181
33245
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
33246
|
+
isCSATEnabled?: boolean | undefined;
|
33182
33247
|
};
|
33183
33248
|
status: boolean;
|
33184
33249
|
createdAt: Date;
|
@@ -33470,6 +33535,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
33470
33535
|
closedAt: Date;
|
33471
33536
|
lastMessageAt: Date | null;
|
33472
33537
|
isBotRoom: boolean;
|
33538
|
+
csatStatus: string | null;
|
33473
33539
|
cxlog: {
|
33474
33540
|
id: string;
|
33475
33541
|
channel: string | null;
|
@@ -33497,6 +33563,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
33497
33563
|
createdAt: Date;
|
33498
33564
|
updatedAt: Date;
|
33499
33565
|
deletedAt: Date | null;
|
33566
|
+
tags: {
|
33567
|
+
name: string;
|
33568
|
+
id: string;
|
33569
|
+
createdAt: Date;
|
33570
|
+
updatedAt: Date;
|
33571
|
+
deletedAt: Date | null;
|
33572
|
+
}[];
|
33573
|
+
callFrom: string | null;
|
33574
|
+
callTo: string | null;
|
33575
|
+
note: string | null;
|
33500
33576
|
categories: {
|
33501
33577
|
id: string;
|
33502
33578
|
value: string;
|
@@ -33519,16 +33595,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
33519
33595
|
}[];
|
33520
33596
|
}[];
|
33521
33597
|
}[];
|
33522
|
-
tags: {
|
33523
|
-
name: string;
|
33524
|
-
id: string;
|
33525
|
-
createdAt: Date;
|
33526
|
-
updatedAt: Date;
|
33527
|
-
deletedAt: Date | null;
|
33528
|
-
}[];
|
33529
|
-
callFrom: string | null;
|
33530
|
-
callTo: string | null;
|
33531
|
-
note: string | null;
|
33532
33598
|
customFields?: {
|
33533
33599
|
id: string;
|
33534
33600
|
createdAt: Date;
|
@@ -33588,7 +33654,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
33588
33654
|
previewUrl: string;
|
33589
33655
|
imageSetId: string;
|
33590
33656
|
repliedMessage: {
|
33591
|
-
type:
|
33657
|
+
type: string;
|
33592
33658
|
message: string;
|
33593
33659
|
id: string;
|
33594
33660
|
url: string;
|
@@ -33799,7 +33865,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
33799
33865
|
template?: any;
|
33800
33866
|
label?: string | undefined;
|
33801
33867
|
}, {
|
33802
|
-
type:
|
33868
|
+
type: string;
|
33803
33869
|
message: string;
|
33804
33870
|
id: string;
|
33805
33871
|
url: string;
|
@@ -33943,6 +34009,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
33943
34009
|
lineRichMenuId?: string | null | undefined;
|
33944
34010
|
messengerIntegrationType?: "own" | "business" | undefined;
|
33945
34011
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
34012
|
+
isCSATEnabled?: boolean | undefined;
|
33946
34013
|
};
|
33947
34014
|
status: boolean;
|
33948
34015
|
createdAt: Date;
|
@@ -34234,6 +34301,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
34234
34301
|
closedAt: Date;
|
34235
34302
|
lastMessageAt: Date | null;
|
34236
34303
|
isBotRoom: boolean;
|
34304
|
+
csatStatus: string | null;
|
34237
34305
|
cxlog: {
|
34238
34306
|
id: string;
|
34239
34307
|
channel: string | null;
|
@@ -34261,6 +34329,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
34261
34329
|
createdAt: Date;
|
34262
34330
|
updatedAt: Date;
|
34263
34331
|
deletedAt: Date | null;
|
34332
|
+
tags: {
|
34333
|
+
name: string;
|
34334
|
+
id: string;
|
34335
|
+
createdAt: Date;
|
34336
|
+
updatedAt: Date;
|
34337
|
+
deletedAt: Date | null;
|
34338
|
+
}[];
|
34339
|
+
callFrom: string | null;
|
34340
|
+
callTo: string | null;
|
34341
|
+
note: string | null;
|
34264
34342
|
categories: {
|
34265
34343
|
id: string;
|
34266
34344
|
value: string;
|
@@ -34283,16 +34361,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
34283
34361
|
}[];
|
34284
34362
|
}[];
|
34285
34363
|
}[];
|
34286
|
-
tags: {
|
34287
|
-
name: string;
|
34288
|
-
id: string;
|
34289
|
-
createdAt: Date;
|
34290
|
-
updatedAt: Date;
|
34291
|
-
deletedAt: Date | null;
|
34292
|
-
}[];
|
34293
|
-
callFrom: string | null;
|
34294
|
-
callTo: string | null;
|
34295
|
-
note: string | null;
|
34296
34364
|
customFields?: {
|
34297
34365
|
id: string;
|
34298
34366
|
createdAt: Date;
|
@@ -34352,7 +34420,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
34352
34420
|
previewUrl: string;
|
34353
34421
|
imageSetId: string;
|
34354
34422
|
repliedMessage: {
|
34355
|
-
type:
|
34423
|
+
type: string;
|
34356
34424
|
message: string;
|
34357
34425
|
id: string;
|
34358
34426
|
url: string;
|
@@ -34564,13 +34632,13 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
34564
34632
|
label?: string | undefined;
|
34565
34633
|
}>, "many">;
|
34566
34634
|
}, "strip", z.ZodTypeAny, {
|
34567
|
-
type:
|
34635
|
+
type: string;
|
34568
34636
|
message: string;
|
34569
34637
|
id: string;
|
34570
34638
|
url: string;
|
34571
34639
|
direction: "incoming" | "outgoing" | "system";
|
34572
34640
|
children: {
|
34573
|
-
type:
|
34641
|
+
type: string;
|
34574
34642
|
message: string;
|
34575
34643
|
id: string;
|
34576
34644
|
url: string;
|
@@ -34714,6 +34782,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
34714
34782
|
lineRichMenuId?: string | null | undefined;
|
34715
34783
|
messengerIntegrationType?: "own" | "business" | undefined;
|
34716
34784
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
34785
|
+
isCSATEnabled?: boolean | undefined;
|
34717
34786
|
};
|
34718
34787
|
status: boolean;
|
34719
34788
|
createdAt: Date;
|
@@ -35005,6 +35074,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
35005
35074
|
closedAt: Date;
|
35006
35075
|
lastMessageAt: Date | null;
|
35007
35076
|
isBotRoom: boolean;
|
35077
|
+
csatStatus: string | null;
|
35008
35078
|
cxlog: {
|
35009
35079
|
id: string;
|
35010
35080
|
channel: string | null;
|
@@ -35032,6 +35102,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
35032
35102
|
createdAt: Date;
|
35033
35103
|
updatedAt: Date;
|
35034
35104
|
deletedAt: Date | null;
|
35105
|
+
tags: {
|
35106
|
+
name: string;
|
35107
|
+
id: string;
|
35108
|
+
createdAt: Date;
|
35109
|
+
updatedAt: Date;
|
35110
|
+
deletedAt: Date | null;
|
35111
|
+
}[];
|
35112
|
+
callFrom: string | null;
|
35113
|
+
callTo: string | null;
|
35114
|
+
note: string | null;
|
35035
35115
|
categories: {
|
35036
35116
|
id: string;
|
35037
35117
|
value: string;
|
@@ -35054,16 +35134,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
35054
35134
|
}[];
|
35055
35135
|
}[];
|
35056
35136
|
}[];
|
35057
|
-
tags: {
|
35058
|
-
name: string;
|
35059
|
-
id: string;
|
35060
|
-
createdAt: Date;
|
35061
|
-
updatedAt: Date;
|
35062
|
-
deletedAt: Date | null;
|
35063
|
-
}[];
|
35064
|
-
callFrom: string | null;
|
35065
|
-
callTo: string | null;
|
35066
|
-
note: string | null;
|
35067
35137
|
customFields?: {
|
35068
35138
|
id: string;
|
35069
35139
|
createdAt: Date;
|
@@ -35123,7 +35193,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
35123
35193
|
previewUrl: string;
|
35124
35194
|
imageSetId: string;
|
35125
35195
|
repliedMessage: {
|
35126
|
-
type:
|
35196
|
+
type: string;
|
35127
35197
|
message: string;
|
35128
35198
|
id: string;
|
35129
35199
|
url: string;
|
@@ -35473,6 +35543,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
35473
35543
|
lineRichMenuId?: string | null | undefined;
|
35474
35544
|
messengerIntegrationType?: "own" | "business" | undefined;
|
35475
35545
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
35546
|
+
isCSATEnabled?: boolean | undefined;
|
35476
35547
|
};
|
35477
35548
|
status: boolean;
|
35478
35549
|
createdAt: Date;
|
@@ -35764,6 +35835,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
35764
35835
|
closedAt: Date;
|
35765
35836
|
lastMessageAt: Date | null;
|
35766
35837
|
isBotRoom: boolean;
|
35838
|
+
csatStatus: string | null;
|
35767
35839
|
cxlog: {
|
35768
35840
|
id: string;
|
35769
35841
|
channel: string | null;
|
@@ -35791,6 +35863,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
35791
35863
|
createdAt: Date;
|
35792
35864
|
updatedAt: Date;
|
35793
35865
|
deletedAt: Date | null;
|
35866
|
+
tags: {
|
35867
|
+
name: string;
|
35868
|
+
id: string;
|
35869
|
+
createdAt: Date;
|
35870
|
+
updatedAt: Date;
|
35871
|
+
deletedAt: Date | null;
|
35872
|
+
}[];
|
35873
|
+
callFrom: string | null;
|
35874
|
+
callTo: string | null;
|
35875
|
+
note: string | null;
|
35794
35876
|
categories: {
|
35795
35877
|
id: string;
|
35796
35878
|
value: string;
|
@@ -35813,16 +35895,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
35813
35895
|
}[];
|
35814
35896
|
}[];
|
35815
35897
|
}[];
|
35816
|
-
tags: {
|
35817
|
-
name: string;
|
35818
|
-
id: string;
|
35819
|
-
createdAt: Date;
|
35820
|
-
updatedAt: Date;
|
35821
|
-
deletedAt: Date | null;
|
35822
|
-
}[];
|
35823
|
-
callFrom: string | null;
|
35824
|
-
callTo: string | null;
|
35825
|
-
note: string | null;
|
35826
35898
|
customFields?: {
|
35827
35899
|
id: string;
|
35828
35900
|
createdAt: Date;
|
@@ -35882,7 +35954,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
35882
35954
|
previewUrl: string;
|
35883
35955
|
imageSetId: string;
|
35884
35956
|
repliedMessage: {
|
35885
|
-
type:
|
35957
|
+
type: string;
|
35886
35958
|
message: string;
|
35887
35959
|
id: string;
|
35888
35960
|
url: string;
|
@@ -36220,13 +36292,13 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
36220
36292
|
template?: any;
|
36221
36293
|
metadata?: any;
|
36222
36294
|
}, {
|
36223
|
-
type:
|
36295
|
+
type: string;
|
36224
36296
|
message: string;
|
36225
36297
|
id: string;
|
36226
36298
|
url: string;
|
36227
36299
|
direction: "incoming" | "outgoing" | "system";
|
36228
36300
|
children: {
|
36229
|
-
type:
|
36301
|
+
type: string;
|
36230
36302
|
message: string;
|
36231
36303
|
id: string;
|
36232
36304
|
url: string;
|
@@ -36370,6 +36442,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
36370
36442
|
lineRichMenuId?: string | null | undefined;
|
36371
36443
|
messengerIntegrationType?: "own" | "business" | undefined;
|
36372
36444
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
36445
|
+
isCSATEnabled?: boolean | undefined;
|
36373
36446
|
};
|
36374
36447
|
status: boolean;
|
36375
36448
|
createdAt: Date;
|
@@ -36661,6 +36734,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
36661
36734
|
closedAt: Date;
|
36662
36735
|
lastMessageAt: Date | null;
|
36663
36736
|
isBotRoom: boolean;
|
36737
|
+
csatStatus: string | null;
|
36664
36738
|
cxlog: {
|
36665
36739
|
id: string;
|
36666
36740
|
channel: string | null;
|
@@ -36688,6 +36762,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
36688
36762
|
createdAt: Date;
|
36689
36763
|
updatedAt: Date;
|
36690
36764
|
deletedAt: Date | null;
|
36765
|
+
tags: {
|
36766
|
+
name: string;
|
36767
|
+
id: string;
|
36768
|
+
createdAt: Date;
|
36769
|
+
updatedAt: Date;
|
36770
|
+
deletedAt: Date | null;
|
36771
|
+
}[];
|
36772
|
+
callFrom: string | null;
|
36773
|
+
callTo: string | null;
|
36774
|
+
note: string | null;
|
36691
36775
|
categories: {
|
36692
36776
|
id: string;
|
36693
36777
|
value: string;
|
@@ -36710,16 +36794,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
36710
36794
|
}[];
|
36711
36795
|
}[];
|
36712
36796
|
}[];
|
36713
|
-
tags: {
|
36714
|
-
name: string;
|
36715
|
-
id: string;
|
36716
|
-
createdAt: Date;
|
36717
|
-
updatedAt: Date;
|
36718
|
-
deletedAt: Date | null;
|
36719
|
-
}[];
|
36720
|
-
callFrom: string | null;
|
36721
|
-
callTo: string | null;
|
36722
|
-
note: string | null;
|
36723
36797
|
customFields?: {
|
36724
36798
|
id: string;
|
36725
36799
|
createdAt: Date;
|
@@ -36779,7 +36853,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
36779
36853
|
previewUrl: string;
|
36780
36854
|
imageSetId: string;
|
36781
36855
|
repliedMessage: {
|
36782
|
-
type:
|
36856
|
+
type: string;
|
36783
36857
|
message: string;
|
36784
36858
|
id: string;
|
36785
36859
|
url: string;
|
@@ -37129,6 +37203,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
37129
37203
|
lineRichMenuId?: string | null | undefined;
|
37130
37204
|
messengerIntegrationType?: "own" | "business" | undefined;
|
37131
37205
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
37206
|
+
isCSATEnabled?: boolean | undefined;
|
37132
37207
|
};
|
37133
37208
|
status: boolean;
|
37134
37209
|
createdAt: Date;
|
@@ -37420,6 +37495,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
37420
37495
|
closedAt: Date;
|
37421
37496
|
lastMessageAt: Date | null;
|
37422
37497
|
isBotRoom: boolean;
|
37498
|
+
csatStatus: string | null;
|
37423
37499
|
cxlog: {
|
37424
37500
|
id: string;
|
37425
37501
|
channel: string | null;
|
@@ -37447,6 +37523,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
37447
37523
|
createdAt: Date;
|
37448
37524
|
updatedAt: Date;
|
37449
37525
|
deletedAt: Date | null;
|
37526
|
+
tags: {
|
37527
|
+
name: string;
|
37528
|
+
id: string;
|
37529
|
+
createdAt: Date;
|
37530
|
+
updatedAt: Date;
|
37531
|
+
deletedAt: Date | null;
|
37532
|
+
}[];
|
37533
|
+
callFrom: string | null;
|
37534
|
+
callTo: string | null;
|
37535
|
+
note: string | null;
|
37450
37536
|
categories: {
|
37451
37537
|
id: string;
|
37452
37538
|
value: string;
|
@@ -37469,16 +37555,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
37469
37555
|
}[];
|
37470
37556
|
}[];
|
37471
37557
|
}[];
|
37472
|
-
tags: {
|
37473
|
-
name: string;
|
37474
|
-
id: string;
|
37475
|
-
createdAt: Date;
|
37476
|
-
updatedAt: Date;
|
37477
|
-
deletedAt: Date | null;
|
37478
|
-
}[];
|
37479
|
-
callFrom: string | null;
|
37480
|
-
callTo: string | null;
|
37481
|
-
note: string | null;
|
37482
37558
|
customFields?: {
|
37483
37559
|
id: string;
|
37484
37560
|
createdAt: Date;
|
@@ -37538,7 +37614,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
37538
37614
|
previewUrl: string;
|
37539
37615
|
imageSetId: string;
|
37540
37616
|
repliedMessage: {
|
37541
|
-
type:
|
37617
|
+
type: string;
|
37542
37618
|
message: string;
|
37543
37619
|
id: string;
|
37544
37620
|
url: string;
|