@kl1/contracts 1.2.87-uat → 1.2.89-uat
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api-contracts/src/activity-log/index.d.ts +4 -4
- package/dist/api-contracts/src/activity-log/schema.d.ts +3 -3
- package/dist/api-contracts/src/attribute/index.d.ts +7 -7
- package/dist/api-contracts/src/auth/index.d.ts +4 -4
- package/dist/api-contracts/src/automation-queue/index.d.ts +40 -37
- package/dist/api-contracts/src/automation-queue/index.d.ts.map +1 -1
- package/dist/api-contracts/src/automation-queue/schema.d.ts +6 -6
- 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 +4760 -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 +2458 -2091
- package/dist/api-contracts/src/chat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/schema.d.ts +572 -493
- package/dist/api-contracts/src/chat/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/chat/validation.d.ts +517 -406
- package/dist/api-contracts/src/chat/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/comment/index.d.ts +401 -401
- package/dist/api-contracts/src/comment/schema.d.ts +103 -103
- package/dist/api-contracts/src/contract.d.ts +41943 -35516
- package/dist/api-contracts/src/contract.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/index.d.ts +99 -88
- package/dist/api-contracts/src/cx-log/index.d.ts.map +1 -1
- package/dist/api-contracts/src/cx-log/schema.d.ts +113 -104
- package/dist/api-contracts/src/cx-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/dashboard/index.d.ts +750 -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/extension/index.d.ts +7 -7
- package/dist/api-contracts/src/facebook-feed/index.d.ts +403 -281
- package/dist/api-contracts/src/facebook-feed/index.d.ts.map +1 -1
- package/dist/api-contracts/src/facebook-feed/schema.d.ts +13 -6
- 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/instagram/index.d.ts +370 -271
- package/dist/api-contracts/src/instagram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/index.d.ts +369 -278
- package/dist/api-contracts/src/line/index.d.ts.map +1 -1
- package/dist/api-contracts/src/line/validation.d.ts +14 -5
- 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 +370 -271
- 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 +13 -13
- package/dist/api-contracts/src/notification/schema.d.ts +9 -9
- package/dist/api-contracts/src/notification/validation.d.ts +3 -3
- 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 +42 -5
- 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/subscription/index.d.ts.map +1 -1
- package/dist/api-contracts/src/tag/index.d.ts +4 -4
- package/dist/api-contracts/src/telegram/index.d.ts +348 -271
- package/dist/api-contracts/src/telegram/index.d.ts.map +1 -1
- package/dist/api-contracts/src/telephony-agent-presence-status/index.d.ts +68 -447
- 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 +28 -16
- 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 +44 -44
- package/dist/api-contracts/src/telephony-cdr/schema.d.ts +18 -18
- package/dist/api-contracts/src/telephony-extension/index.d.ts +1 -1
- package/dist/api-contracts/src/ticket/index.d.ts +709 -709
- package/dist/api-contracts/src/ticket/schema.d.ts +53 -53
- 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 +148 -18
- package/dist/api-contracts/src/user/index.d.ts.map +1 -1
- package/dist/api-contracts/src/user/schema.d.ts +38 -1
- package/dist/api-contracts/src/user/schema.d.ts.map +1 -1
- 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 +53 -23
- package/dist/api-contracts/src/user-presence-status-log/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/viber/index.d.ts +348 -271
- package/dist/api-contracts/src/viber/index.d.ts.map +1 -1
- package/dist/api-contracts/src/webchat/index.d.ts +353 -276
- package/dist/api-contracts/src/webchat/index.d.ts.map +1 -1
- package/dist/api-contracts/src/whatsapp/index.d.ts +365 -272
- package/dist/api-contracts/src/whatsapp/index.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/index.d.ts +822 -48
- package/dist/api-contracts/src/widget/index.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/schema.d.ts +98 -4
- package/dist/api-contracts/src/widget/schema.d.ts.map +1 -1
- package/dist/api-contracts/src/widget/validation.d.ts +171 -12
- package/dist/api-contracts/src/widget/validation.d.ts.map +1 -1
- package/dist/api-contracts/src/workflow-rule/index.d.ts +331 -285
- 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 +2086 -1753
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2086 -1753
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@ export declare const WorkflowAutoReplyMessageTypeSchema: z.ZodDefault<z.ZodEnum<
|
|
|
7
7
|
/**
|
|
8
8
|
* Message Type Enum
|
|
9
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", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
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", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported", "item", "lazada_sys_msg"]>;
|
|
11
11
|
export declare const FeedPostTypeSchema: z.ZodEnum<["text", "added_photos", "added_video", "shared_story", "mobile_status_update", "no_data"]>;
|
|
12
12
|
/**
|
|
13
13
|
* Message Type Enum
|
|
@@ -2148,6 +2148,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
|
2148
2148
|
channelId: string;
|
|
2149
2149
|
socialPlatformId: string;
|
|
2150
2150
|
}>;
|
|
2151
|
+
csatStatus: z.ZodNullable<z.ZodString>;
|
|
2151
2152
|
actor: z.ZodObject<{
|
|
2152
2153
|
id: z.ZodString;
|
|
2153
2154
|
createdAt: z.ZodDate;
|
|
@@ -2626,6 +2627,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
|
2626
2627
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
2627
2628
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
2628
2629
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
2630
|
+
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
2629
2631
|
}, "strip", z.ZodTypeAny, {
|
|
2630
2632
|
name: string;
|
|
2631
2633
|
id: string;
|
|
@@ -2655,6 +2657,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
|
2655
2657
|
lineRichMenuId?: string | null | undefined;
|
|
2656
2658
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
2657
2659
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
2660
|
+
isCSATEnabled?: boolean | undefined;
|
|
2658
2661
|
}, {
|
|
2659
2662
|
name: string;
|
|
2660
2663
|
id: string;
|
|
@@ -2684,6 +2687,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
|
2684
2687
|
lineRichMenuId?: string | null | undefined;
|
|
2685
2688
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
2686
2689
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
2690
|
+
isCSATEnabled?: boolean | undefined;
|
|
2687
2691
|
}>;
|
|
2688
2692
|
brandName: z.ZodString;
|
|
2689
2693
|
platformId: z.ZodString;
|
|
@@ -2947,6 +2951,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
|
2947
2951
|
lineRichMenuId?: string | null | undefined;
|
|
2948
2952
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
2949
2953
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
2954
|
+
isCSATEnabled?: boolean | undefined;
|
|
2950
2955
|
};
|
|
2951
2956
|
status: boolean;
|
|
2952
2957
|
createdAt: Date;
|
|
@@ -3041,6 +3046,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
|
3041
3046
|
lineRichMenuId?: string | null | undefined;
|
|
3042
3047
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
3043
3048
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
3049
|
+
isCSATEnabled?: boolean | undefined;
|
|
3044
3050
|
};
|
|
3045
3051
|
status: boolean;
|
|
3046
3052
|
createdAt: Date;
|
|
@@ -3293,6 +3299,16 @@ export declare const RoomSchema: z.ZodObject<{
|
|
|
3293
3299
|
createdAt: Date;
|
|
3294
3300
|
updatedAt: Date;
|
|
3295
3301
|
deletedAt: Date | null;
|
|
3302
|
+
tags: {
|
|
3303
|
+
name: string;
|
|
3304
|
+
id: string;
|
|
3305
|
+
createdAt: Date;
|
|
3306
|
+
updatedAt: Date;
|
|
3307
|
+
deletedAt: Date | null;
|
|
3308
|
+
}[];
|
|
3309
|
+
callFrom: string | null;
|
|
3310
|
+
callTo: string | null;
|
|
3311
|
+
note: string | null;
|
|
3296
3312
|
categories: {
|
|
3297
3313
|
id: string;
|
|
3298
3314
|
value: string;
|
|
@@ -3315,16 +3331,6 @@ export declare const RoomSchema: z.ZodObject<{
|
|
|
3315
3331
|
}[];
|
|
3316
3332
|
}[];
|
|
3317
3333
|
}[];
|
|
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
3334
|
customFields?: {
|
|
3329
3335
|
id: string;
|
|
3330
3336
|
createdAt: Date;
|
|
@@ -3344,6 +3350,16 @@ export declare const RoomSchema: z.ZodObject<{
|
|
|
3344
3350
|
createdAt: Date;
|
|
3345
3351
|
updatedAt: Date;
|
|
3346
3352
|
deletedAt: Date | null;
|
|
3353
|
+
tags: {
|
|
3354
|
+
name: string;
|
|
3355
|
+
id: string;
|
|
3356
|
+
createdAt: Date;
|
|
3357
|
+
updatedAt: Date;
|
|
3358
|
+
deletedAt: Date | null;
|
|
3359
|
+
}[];
|
|
3360
|
+
callFrom: string | null;
|
|
3361
|
+
callTo: string | null;
|
|
3362
|
+
note: string | null;
|
|
3347
3363
|
categories: {
|
|
3348
3364
|
id: string;
|
|
3349
3365
|
value: string;
|
|
@@ -3366,16 +3382,6 @@ export declare const RoomSchema: z.ZodObject<{
|
|
|
3366
3382
|
}[];
|
|
3367
3383
|
}[];
|
|
3368
3384
|
}[];
|
|
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
3385
|
customFields?: {
|
|
3380
3386
|
id: string;
|
|
3381
3387
|
createdAt: Date;
|
|
@@ -3484,6 +3490,16 @@ export declare const RoomSchema: z.ZodObject<{
|
|
|
3484
3490
|
createdAt: Date;
|
|
3485
3491
|
updatedAt: Date;
|
|
3486
3492
|
deletedAt: Date | null;
|
|
3493
|
+
tags: {
|
|
3494
|
+
name: string;
|
|
3495
|
+
id: string;
|
|
3496
|
+
createdAt: Date;
|
|
3497
|
+
updatedAt: Date;
|
|
3498
|
+
deletedAt: Date | null;
|
|
3499
|
+
}[];
|
|
3500
|
+
callFrom: string | null;
|
|
3501
|
+
callTo: string | null;
|
|
3502
|
+
note: string | null;
|
|
3487
3503
|
categories: {
|
|
3488
3504
|
id: string;
|
|
3489
3505
|
value: string;
|
|
@@ -3506,16 +3522,6 @@ export declare const RoomSchema: z.ZodObject<{
|
|
|
3506
3522
|
}[];
|
|
3507
3523
|
}[];
|
|
3508
3524
|
}[];
|
|
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
3525
|
customFields?: {
|
|
3520
3526
|
id: string;
|
|
3521
3527
|
createdAt: Date;
|
|
@@ -3574,6 +3580,16 @@ export declare const RoomSchema: z.ZodObject<{
|
|
|
3574
3580
|
createdAt: Date;
|
|
3575
3581
|
updatedAt: Date;
|
|
3576
3582
|
deletedAt: Date | null;
|
|
3583
|
+
tags: {
|
|
3584
|
+
name: string;
|
|
3585
|
+
id: string;
|
|
3586
|
+
createdAt: Date;
|
|
3587
|
+
updatedAt: Date;
|
|
3588
|
+
deletedAt: Date | null;
|
|
3589
|
+
}[];
|
|
3590
|
+
callFrom: string | null;
|
|
3591
|
+
callTo: string | null;
|
|
3592
|
+
note: string | null;
|
|
3577
3593
|
categories: {
|
|
3578
3594
|
id: string;
|
|
3579
3595
|
value: string;
|
|
@@ -3596,16 +3612,6 @@ export declare const RoomSchema: z.ZodObject<{
|
|
|
3596
3612
|
}[];
|
|
3597
3613
|
}[];
|
|
3598
3614
|
}[];
|
|
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
3615
|
customFields?: {
|
|
3610
3616
|
id: string;
|
|
3611
3617
|
createdAt: Date;
|
|
@@ -3699,6 +3705,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
|
3699
3705
|
lineRichMenuId?: string | null | undefined;
|
|
3700
3706
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
3701
3707
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
3708
|
+
isCSATEnabled?: boolean | undefined;
|
|
3702
3709
|
};
|
|
3703
3710
|
status: boolean;
|
|
3704
3711
|
createdAt: Date;
|
|
@@ -3990,6 +3997,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
|
3990
3997
|
closedAt: Date;
|
|
3991
3998
|
lastMessageAt: Date | null;
|
|
3992
3999
|
isBotRoom: boolean;
|
|
4000
|
+
csatStatus: string | null;
|
|
3993
4001
|
cxlog: {
|
|
3994
4002
|
id: string;
|
|
3995
4003
|
channel: string | null;
|
|
@@ -4017,6 +4025,16 @@ export declare const RoomSchema: z.ZodObject<{
|
|
|
4017
4025
|
createdAt: Date;
|
|
4018
4026
|
updatedAt: Date;
|
|
4019
4027
|
deletedAt: Date | null;
|
|
4028
|
+
tags: {
|
|
4029
|
+
name: string;
|
|
4030
|
+
id: string;
|
|
4031
|
+
createdAt: Date;
|
|
4032
|
+
updatedAt: Date;
|
|
4033
|
+
deletedAt: Date | null;
|
|
4034
|
+
}[];
|
|
4035
|
+
callFrom: string | null;
|
|
4036
|
+
callTo: string | null;
|
|
4037
|
+
note: string | null;
|
|
4020
4038
|
categories: {
|
|
4021
4039
|
id: string;
|
|
4022
4040
|
value: string;
|
|
@@ -4039,16 +4057,6 @@ export declare const RoomSchema: z.ZodObject<{
|
|
|
4039
4057
|
}[];
|
|
4040
4058
|
}[];
|
|
4041
4059
|
}[];
|
|
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
4060
|
customFields?: {
|
|
4053
4061
|
id: string;
|
|
4054
4062
|
createdAt: Date;
|
|
@@ -4126,6 +4134,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
|
4126
4134
|
lineRichMenuId?: string | null | undefined;
|
|
4127
4135
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
4128
4136
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
4137
|
+
isCSATEnabled?: boolean | undefined;
|
|
4129
4138
|
};
|
|
4130
4139
|
status: boolean;
|
|
4131
4140
|
createdAt: Date;
|
|
@@ -4417,6 +4426,7 @@ export declare const RoomSchema: z.ZodObject<{
|
|
|
4417
4426
|
closedAt: Date;
|
|
4418
4427
|
lastMessageAt: Date | null;
|
|
4419
4428
|
isBotRoom: boolean;
|
|
4429
|
+
csatStatus: string | null;
|
|
4420
4430
|
cxlog: {
|
|
4421
4431
|
id: string;
|
|
4422
4432
|
channel: string | null;
|
|
@@ -4444,6 +4454,16 @@ export declare const RoomSchema: z.ZodObject<{
|
|
|
4444
4454
|
createdAt: Date;
|
|
4445
4455
|
updatedAt: Date;
|
|
4446
4456
|
deletedAt: Date | null;
|
|
4457
|
+
tags: {
|
|
4458
|
+
name: string;
|
|
4459
|
+
id: string;
|
|
4460
|
+
createdAt: Date;
|
|
4461
|
+
updatedAt: Date;
|
|
4462
|
+
deletedAt: Date | null;
|
|
4463
|
+
}[];
|
|
4464
|
+
callFrom: string | null;
|
|
4465
|
+
callTo: string | null;
|
|
4466
|
+
note: string | null;
|
|
4447
4467
|
categories: {
|
|
4448
4468
|
id: string;
|
|
4449
4469
|
value: string;
|
|
@@ -4466,16 +4486,6 @@ export declare const RoomSchema: z.ZodObject<{
|
|
|
4466
4486
|
}[];
|
|
4467
4487
|
}[];
|
|
4468
4488
|
}[];
|
|
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
4489
|
customFields?: {
|
|
4480
4490
|
id: string;
|
|
4481
4491
|
createdAt: Date;
|
|
@@ -4529,7 +4539,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
4529
4539
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
4530
4540
|
message: z.ZodString;
|
|
4531
4541
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
4532
|
-
type: 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", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
4542
|
+
type: 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", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported", "item", "lazada_sys_msg"]>;
|
|
4533
4543
|
readAt: z.ZodDate;
|
|
4534
4544
|
metadata: z.ZodAny;
|
|
4535
4545
|
platformId: z.ZodString;
|
|
@@ -5603,6 +5613,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
5603
5613
|
channelId: string;
|
|
5604
5614
|
socialPlatformId: string;
|
|
5605
5615
|
}>;
|
|
5616
|
+
csatStatus: z.ZodNullable<z.ZodString>;
|
|
5606
5617
|
actor: z.ZodObject<{
|
|
5607
5618
|
id: z.ZodString;
|
|
5608
5619
|
createdAt: z.ZodDate;
|
|
@@ -6081,6 +6092,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
6081
6092
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
6082
6093
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
6083
6094
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
6095
|
+
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
6084
6096
|
}, "strip", z.ZodTypeAny, {
|
|
6085
6097
|
name: string;
|
|
6086
6098
|
id: string;
|
|
@@ -6110,6 +6122,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
6110
6122
|
lineRichMenuId?: string | null | undefined;
|
|
6111
6123
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
6112
6124
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
6125
|
+
isCSATEnabled?: boolean | undefined;
|
|
6113
6126
|
}, {
|
|
6114
6127
|
name: string;
|
|
6115
6128
|
id: string;
|
|
@@ -6139,6 +6152,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
6139
6152
|
lineRichMenuId?: string | null | undefined;
|
|
6140
6153
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
6141
6154
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
6155
|
+
isCSATEnabled?: boolean | undefined;
|
|
6142
6156
|
}>;
|
|
6143
6157
|
brandName: z.ZodString;
|
|
6144
6158
|
platformId: z.ZodString;
|
|
@@ -6402,6 +6416,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
6402
6416
|
lineRichMenuId?: string | null | undefined;
|
|
6403
6417
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
6404
6418
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
6419
|
+
isCSATEnabled?: boolean | undefined;
|
|
6405
6420
|
};
|
|
6406
6421
|
status: boolean;
|
|
6407
6422
|
createdAt: Date;
|
|
@@ -6496,6 +6511,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
6496
6511
|
lineRichMenuId?: string | null | undefined;
|
|
6497
6512
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
6498
6513
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
6514
|
+
isCSATEnabled?: boolean | undefined;
|
|
6499
6515
|
};
|
|
6500
6516
|
status: boolean;
|
|
6501
6517
|
createdAt: Date;
|
|
@@ -6748,6 +6764,16 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
6748
6764
|
createdAt: Date;
|
|
6749
6765
|
updatedAt: Date;
|
|
6750
6766
|
deletedAt: Date | null;
|
|
6767
|
+
tags: {
|
|
6768
|
+
name: string;
|
|
6769
|
+
id: string;
|
|
6770
|
+
createdAt: Date;
|
|
6771
|
+
updatedAt: Date;
|
|
6772
|
+
deletedAt: Date | null;
|
|
6773
|
+
}[];
|
|
6774
|
+
callFrom: string | null;
|
|
6775
|
+
callTo: string | null;
|
|
6776
|
+
note: string | null;
|
|
6751
6777
|
categories: {
|
|
6752
6778
|
id: string;
|
|
6753
6779
|
value: string;
|
|
@@ -6770,16 +6796,6 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
6770
6796
|
}[];
|
|
6771
6797
|
}[];
|
|
6772
6798
|
}[];
|
|
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
6799
|
customFields?: {
|
|
6784
6800
|
id: string;
|
|
6785
6801
|
createdAt: Date;
|
|
@@ -6799,6 +6815,16 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
6799
6815
|
createdAt: Date;
|
|
6800
6816
|
updatedAt: Date;
|
|
6801
6817
|
deletedAt: Date | null;
|
|
6818
|
+
tags: {
|
|
6819
|
+
name: string;
|
|
6820
|
+
id: string;
|
|
6821
|
+
createdAt: Date;
|
|
6822
|
+
updatedAt: Date;
|
|
6823
|
+
deletedAt: Date | null;
|
|
6824
|
+
}[];
|
|
6825
|
+
callFrom: string | null;
|
|
6826
|
+
callTo: string | null;
|
|
6827
|
+
note: string | null;
|
|
6802
6828
|
categories: {
|
|
6803
6829
|
id: string;
|
|
6804
6830
|
value: string;
|
|
@@ -6821,16 +6847,6 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
6821
6847
|
}[];
|
|
6822
6848
|
}[];
|
|
6823
6849
|
}[];
|
|
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
6850
|
customFields?: {
|
|
6835
6851
|
id: string;
|
|
6836
6852
|
createdAt: Date;
|
|
@@ -6939,6 +6955,16 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
6939
6955
|
createdAt: Date;
|
|
6940
6956
|
updatedAt: Date;
|
|
6941
6957
|
deletedAt: Date | null;
|
|
6958
|
+
tags: {
|
|
6959
|
+
name: string;
|
|
6960
|
+
id: string;
|
|
6961
|
+
createdAt: Date;
|
|
6962
|
+
updatedAt: Date;
|
|
6963
|
+
deletedAt: Date | null;
|
|
6964
|
+
}[];
|
|
6965
|
+
callFrom: string | null;
|
|
6966
|
+
callTo: string | null;
|
|
6967
|
+
note: string | null;
|
|
6942
6968
|
categories: {
|
|
6943
6969
|
id: string;
|
|
6944
6970
|
value: string;
|
|
@@ -6961,16 +6987,6 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
6961
6987
|
}[];
|
|
6962
6988
|
}[];
|
|
6963
6989
|
}[];
|
|
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
6990
|
customFields?: {
|
|
6975
6991
|
id: string;
|
|
6976
6992
|
createdAt: Date;
|
|
@@ -7029,6 +7045,16 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
7029
7045
|
createdAt: Date;
|
|
7030
7046
|
updatedAt: Date;
|
|
7031
7047
|
deletedAt: Date | null;
|
|
7048
|
+
tags: {
|
|
7049
|
+
name: string;
|
|
7050
|
+
id: string;
|
|
7051
|
+
createdAt: Date;
|
|
7052
|
+
updatedAt: Date;
|
|
7053
|
+
deletedAt: Date | null;
|
|
7054
|
+
}[];
|
|
7055
|
+
callFrom: string | null;
|
|
7056
|
+
callTo: string | null;
|
|
7057
|
+
note: string | null;
|
|
7032
7058
|
categories: {
|
|
7033
7059
|
id: string;
|
|
7034
7060
|
value: string;
|
|
@@ -7051,16 +7077,6 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
7051
7077
|
}[];
|
|
7052
7078
|
}[];
|
|
7053
7079
|
}[];
|
|
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
7080
|
customFields?: {
|
|
7065
7081
|
id: string;
|
|
7066
7082
|
createdAt: Date;
|
|
@@ -7154,6 +7170,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
7154
7170
|
lineRichMenuId?: string | null | undefined;
|
|
7155
7171
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
7156
7172
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
7173
|
+
isCSATEnabled?: boolean | undefined;
|
|
7157
7174
|
};
|
|
7158
7175
|
status: boolean;
|
|
7159
7176
|
createdAt: Date;
|
|
@@ -7445,6 +7462,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
7445
7462
|
closedAt: Date;
|
|
7446
7463
|
lastMessageAt: Date | null;
|
|
7447
7464
|
isBotRoom: boolean;
|
|
7465
|
+
csatStatus: string | null;
|
|
7448
7466
|
cxlog: {
|
|
7449
7467
|
id: string;
|
|
7450
7468
|
channel: string | null;
|
|
@@ -7472,6 +7490,16 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
7472
7490
|
createdAt: Date;
|
|
7473
7491
|
updatedAt: Date;
|
|
7474
7492
|
deletedAt: Date | null;
|
|
7493
|
+
tags: {
|
|
7494
|
+
name: string;
|
|
7495
|
+
id: string;
|
|
7496
|
+
createdAt: Date;
|
|
7497
|
+
updatedAt: Date;
|
|
7498
|
+
deletedAt: Date | null;
|
|
7499
|
+
}[];
|
|
7500
|
+
callFrom: string | null;
|
|
7501
|
+
callTo: string | null;
|
|
7502
|
+
note: string | null;
|
|
7475
7503
|
categories: {
|
|
7476
7504
|
id: string;
|
|
7477
7505
|
value: string;
|
|
@@ -7494,16 +7522,6 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
7494
7522
|
}[];
|
|
7495
7523
|
}[];
|
|
7496
7524
|
}[];
|
|
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
7525
|
customFields?: {
|
|
7508
7526
|
id: string;
|
|
7509
7527
|
createdAt: Date;
|
|
@@ -7581,6 +7599,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
7581
7599
|
lineRichMenuId?: string | null | undefined;
|
|
7582
7600
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
7583
7601
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
7602
|
+
isCSATEnabled?: boolean | undefined;
|
|
7584
7603
|
};
|
|
7585
7604
|
status: boolean;
|
|
7586
7605
|
createdAt: Date;
|
|
@@ -7872,6 +7891,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
7872
7891
|
closedAt: Date;
|
|
7873
7892
|
lastMessageAt: Date | null;
|
|
7874
7893
|
isBotRoom: boolean;
|
|
7894
|
+
csatStatus: string | null;
|
|
7875
7895
|
cxlog: {
|
|
7876
7896
|
id: string;
|
|
7877
7897
|
channel: string | null;
|
|
@@ -7899,6 +7919,16 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
7899
7919
|
createdAt: Date;
|
|
7900
7920
|
updatedAt: Date;
|
|
7901
7921
|
deletedAt: Date | null;
|
|
7922
|
+
tags: {
|
|
7923
|
+
name: string;
|
|
7924
|
+
id: string;
|
|
7925
|
+
createdAt: Date;
|
|
7926
|
+
updatedAt: Date;
|
|
7927
|
+
deletedAt: Date | null;
|
|
7928
|
+
}[];
|
|
7929
|
+
callFrom: string | null;
|
|
7930
|
+
callTo: string | null;
|
|
7931
|
+
note: string | null;
|
|
7902
7932
|
categories: {
|
|
7903
7933
|
id: string;
|
|
7904
7934
|
value: string;
|
|
@@ -7921,16 +7951,6 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
7921
7951
|
}[];
|
|
7922
7952
|
}[];
|
|
7923
7953
|
}[];
|
|
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
7954
|
customFields?: {
|
|
7935
7955
|
id: string;
|
|
7936
7956
|
createdAt: Date;
|
|
@@ -8015,7 +8035,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
8015
8035
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
8016
8036
|
message: z.ZodString;
|
|
8017
8037
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
8018
|
-
type: 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", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
8038
|
+
type: 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", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported", "item", "lazada_sys_msg"]>;
|
|
8019
8039
|
readAt: z.ZodDate;
|
|
8020
8040
|
metadata: z.ZodAny;
|
|
8021
8041
|
platformId: z.ZodString;
|
|
@@ -8061,15 +8081,15 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
8061
8081
|
fileUrl: string | null;
|
|
8062
8082
|
}>;
|
|
8063
8083
|
actor: z.ZodObject<{
|
|
8084
|
+
name: z.ZodString;
|
|
8064
8085
|
id: z.ZodString;
|
|
8086
|
+
address: z.ZodNullable<z.ZodString>;
|
|
8087
|
+
email: z.ZodString;
|
|
8065
8088
|
createdAt: z.ZodDate;
|
|
8066
8089
|
updatedAt: z.ZodDate;
|
|
8067
8090
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
8068
|
-
name: z.ZodString;
|
|
8069
|
-
email: z.ZodString;
|
|
8070
8091
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
8071
8092
|
password: z.ZodString;
|
|
8072
|
-
address: z.ZodNullable<z.ZodString>;
|
|
8073
8093
|
phone: z.ZodNullable<z.ZodString>;
|
|
8074
8094
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
8075
8095
|
roles: z.ZodArray<z.ZodObject<{
|
|
@@ -8265,15 +8285,15 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
8265
8285
|
};
|
|
8266
8286
|
}>;
|
|
8267
8287
|
assignee: z.ZodObject<{
|
|
8288
|
+
name: z.ZodString;
|
|
8268
8289
|
id: z.ZodString;
|
|
8290
|
+
address: z.ZodNullable<z.ZodString>;
|
|
8291
|
+
email: z.ZodString;
|
|
8269
8292
|
createdAt: z.ZodDate;
|
|
8270
8293
|
updatedAt: z.ZodDate;
|
|
8271
8294
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
8272
|
-
name: z.ZodString;
|
|
8273
|
-
email: z.ZodString;
|
|
8274
8295
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
8275
8296
|
password: z.ZodString;
|
|
8276
|
-
address: z.ZodNullable<z.ZodString>;
|
|
8277
8297
|
phone: z.ZodNullable<z.ZodString>;
|
|
8278
8298
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
8279
8299
|
roles: z.ZodArray<z.ZodObject<{
|
|
@@ -8469,15 +8489,15 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
8469
8489
|
};
|
|
8470
8490
|
}>;
|
|
8471
8491
|
sender: z.ZodObject<{
|
|
8492
|
+
name: z.ZodString;
|
|
8472
8493
|
id: z.ZodString;
|
|
8494
|
+
address: z.ZodNullable<z.ZodString>;
|
|
8495
|
+
email: z.ZodString;
|
|
8473
8496
|
createdAt: z.ZodDate;
|
|
8474
8497
|
updatedAt: z.ZodDate;
|
|
8475
8498
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
8476
|
-
name: z.ZodString;
|
|
8477
|
-
email: z.ZodString;
|
|
8478
8499
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
8479
8500
|
password: z.ZodString;
|
|
8480
|
-
address: z.ZodNullable<z.ZodString>;
|
|
8481
8501
|
phone: z.ZodNullable<z.ZodString>;
|
|
8482
8502
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
8483
8503
|
roles: z.ZodArray<z.ZodObject<{
|
|
@@ -8673,7 +8693,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
8673
8693
|
};
|
|
8674
8694
|
}>;
|
|
8675
8695
|
}, "strip", z.ZodTypeAny, {
|
|
8676
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
8696
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
8677
8697
|
message: string;
|
|
8678
8698
|
id: string;
|
|
8679
8699
|
url: string;
|
|
@@ -8835,7 +8855,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
8835
8855
|
metadata?: any;
|
|
8836
8856
|
template?: any;
|
|
8837
8857
|
}, {
|
|
8838
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
8858
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
8839
8859
|
message: string;
|
|
8840
8860
|
id: string;
|
|
8841
8861
|
url: string;
|
|
@@ -9637,7 +9657,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
9637
9657
|
editedMessageid: z.ZodString;
|
|
9638
9658
|
label: z.ZodOptional<z.ZodString>;
|
|
9639
9659
|
}, "strip", z.ZodTypeAny, {
|
|
9640
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
9660
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
9641
9661
|
message: string;
|
|
9642
9662
|
id: string;
|
|
9643
9663
|
url: string;
|
|
@@ -9781,6 +9801,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
9781
9801
|
lineRichMenuId?: string | null | undefined;
|
|
9782
9802
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
9783
9803
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
9804
|
+
isCSATEnabled?: boolean | undefined;
|
|
9784
9805
|
};
|
|
9785
9806
|
status: boolean;
|
|
9786
9807
|
createdAt: Date;
|
|
@@ -10072,6 +10093,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
10072
10093
|
closedAt: Date;
|
|
10073
10094
|
lastMessageAt: Date | null;
|
|
10074
10095
|
isBotRoom: boolean;
|
|
10096
|
+
csatStatus: string | null;
|
|
10075
10097
|
cxlog: {
|
|
10076
10098
|
id: string;
|
|
10077
10099
|
channel: string | null;
|
|
@@ -10099,6 +10121,16 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
10099
10121
|
createdAt: Date;
|
|
10100
10122
|
updatedAt: Date;
|
|
10101
10123
|
deletedAt: Date | null;
|
|
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;
|
|
10102
10134
|
categories: {
|
|
10103
10135
|
id: string;
|
|
10104
10136
|
value: string;
|
|
@@ -10121,16 +10153,6 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
10121
10153
|
}[];
|
|
10122
10154
|
}[];
|
|
10123
10155
|
}[];
|
|
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
10156
|
customFields?: {
|
|
10135
10157
|
id: string;
|
|
10136
10158
|
createdAt: Date;
|
|
@@ -10190,7 +10212,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
10190
10212
|
previewUrl: string;
|
|
10191
10213
|
imageSetId: string;
|
|
10192
10214
|
repliedMessage: {
|
|
10193
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
10215
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
10194
10216
|
message: string;
|
|
10195
10217
|
id: string;
|
|
10196
10218
|
url: string;
|
|
@@ -10401,7 +10423,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
10401
10423
|
template?: any;
|
|
10402
10424
|
label?: string | undefined;
|
|
10403
10425
|
}, {
|
|
10404
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
10426
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
10405
10427
|
message: string;
|
|
10406
10428
|
id: string;
|
|
10407
10429
|
url: string;
|
|
@@ -10545,6 +10567,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
10545
10567
|
lineRichMenuId?: string | null | undefined;
|
|
10546
10568
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
10547
10569
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
10570
|
+
isCSATEnabled?: boolean | undefined;
|
|
10548
10571
|
};
|
|
10549
10572
|
status: boolean;
|
|
10550
10573
|
createdAt: Date;
|
|
@@ -10836,6 +10859,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
10836
10859
|
closedAt: Date;
|
|
10837
10860
|
lastMessageAt: Date | null;
|
|
10838
10861
|
isBotRoom: boolean;
|
|
10862
|
+
csatStatus: string | null;
|
|
10839
10863
|
cxlog: {
|
|
10840
10864
|
id: string;
|
|
10841
10865
|
channel: string | null;
|
|
@@ -10863,6 +10887,16 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
10863
10887
|
createdAt: Date;
|
|
10864
10888
|
updatedAt: Date;
|
|
10865
10889
|
deletedAt: Date | null;
|
|
10890
|
+
tags: {
|
|
10891
|
+
name: string;
|
|
10892
|
+
id: string;
|
|
10893
|
+
createdAt: Date;
|
|
10894
|
+
updatedAt: Date;
|
|
10895
|
+
deletedAt: Date | null;
|
|
10896
|
+
}[];
|
|
10897
|
+
callFrom: string | null;
|
|
10898
|
+
callTo: string | null;
|
|
10899
|
+
note: string | null;
|
|
10866
10900
|
categories: {
|
|
10867
10901
|
id: string;
|
|
10868
10902
|
value: string;
|
|
@@ -10885,16 +10919,6 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
10885
10919
|
}[];
|
|
10886
10920
|
}[];
|
|
10887
10921
|
}[];
|
|
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
10922
|
customFields?: {
|
|
10899
10923
|
id: string;
|
|
10900
10924
|
createdAt: Date;
|
|
@@ -10954,7 +10978,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
10954
10978
|
previewUrl: string;
|
|
10955
10979
|
imageSetId: string;
|
|
10956
10980
|
repliedMessage: {
|
|
10957
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
10981
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
10958
10982
|
message: string;
|
|
10959
10983
|
id: string;
|
|
10960
10984
|
url: string;
|
|
@@ -11166,7 +11190,7 @@ export declare const MessageSchema: z.ZodObject<{
|
|
|
11166
11190
|
label?: string | undefined;
|
|
11167
11191
|
}>;
|
|
11168
11192
|
export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
11169
|
-
type: 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", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
11193
|
+
type: 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", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported", "item", "lazada_sys_msg"]>;
|
|
11170
11194
|
message: z.ZodString;
|
|
11171
11195
|
id: z.ZodString;
|
|
11172
11196
|
url: z.ZodString;
|
|
@@ -12683,6 +12707,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
12683
12707
|
channelId: string;
|
|
12684
12708
|
socialPlatformId: string;
|
|
12685
12709
|
}>;
|
|
12710
|
+
csatStatus: z.ZodNullable<z.ZodString>;
|
|
12686
12711
|
actor: z.ZodObject<{
|
|
12687
12712
|
id: z.ZodString;
|
|
12688
12713
|
createdAt: z.ZodDate;
|
|
@@ -13161,6 +13186,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
13161
13186
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
13162
13187
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
13163
13188
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
13189
|
+
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
13164
13190
|
}, "strip", z.ZodTypeAny, {
|
|
13165
13191
|
name: string;
|
|
13166
13192
|
id: string;
|
|
@@ -13190,6 +13216,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
13190
13216
|
lineRichMenuId?: string | null | undefined;
|
|
13191
13217
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
13192
13218
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
13219
|
+
isCSATEnabled?: boolean | undefined;
|
|
13193
13220
|
}, {
|
|
13194
13221
|
name: string;
|
|
13195
13222
|
id: string;
|
|
@@ -13219,6 +13246,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
13219
13246
|
lineRichMenuId?: string | null | undefined;
|
|
13220
13247
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
13221
13248
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
13249
|
+
isCSATEnabled?: boolean | undefined;
|
|
13222
13250
|
}>;
|
|
13223
13251
|
brandName: z.ZodString;
|
|
13224
13252
|
platformId: z.ZodString;
|
|
@@ -13482,6 +13510,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
13482
13510
|
lineRichMenuId?: string | null | undefined;
|
|
13483
13511
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
13484
13512
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
13513
|
+
isCSATEnabled?: boolean | undefined;
|
|
13485
13514
|
};
|
|
13486
13515
|
status: boolean;
|
|
13487
13516
|
createdAt: Date;
|
|
@@ -13576,6 +13605,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
13576
13605
|
lineRichMenuId?: string | null | undefined;
|
|
13577
13606
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
13578
13607
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
13608
|
+
isCSATEnabled?: boolean | undefined;
|
|
13579
13609
|
};
|
|
13580
13610
|
status: boolean;
|
|
13581
13611
|
createdAt: Date;
|
|
@@ -13828,6 +13858,16 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
13828
13858
|
createdAt: Date;
|
|
13829
13859
|
updatedAt: Date;
|
|
13830
13860
|
deletedAt: Date | null;
|
|
13861
|
+
tags: {
|
|
13862
|
+
name: string;
|
|
13863
|
+
id: string;
|
|
13864
|
+
createdAt: Date;
|
|
13865
|
+
updatedAt: Date;
|
|
13866
|
+
deletedAt: Date | null;
|
|
13867
|
+
}[];
|
|
13868
|
+
callFrom: string | null;
|
|
13869
|
+
callTo: string | null;
|
|
13870
|
+
note: string | null;
|
|
13831
13871
|
categories: {
|
|
13832
13872
|
id: string;
|
|
13833
13873
|
value: string;
|
|
@@ -13850,16 +13890,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
13850
13890
|
}[];
|
|
13851
13891
|
}[];
|
|
13852
13892
|
}[];
|
|
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
13893
|
customFields?: {
|
|
13864
13894
|
id: string;
|
|
13865
13895
|
createdAt: Date;
|
|
@@ -13879,6 +13909,16 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
13879
13909
|
createdAt: Date;
|
|
13880
13910
|
updatedAt: Date;
|
|
13881
13911
|
deletedAt: Date | null;
|
|
13912
|
+
tags: {
|
|
13913
|
+
name: string;
|
|
13914
|
+
id: string;
|
|
13915
|
+
createdAt: Date;
|
|
13916
|
+
updatedAt: Date;
|
|
13917
|
+
deletedAt: Date | null;
|
|
13918
|
+
}[];
|
|
13919
|
+
callFrom: string | null;
|
|
13920
|
+
callTo: string | null;
|
|
13921
|
+
note: string | null;
|
|
13882
13922
|
categories: {
|
|
13883
13923
|
id: string;
|
|
13884
13924
|
value: string;
|
|
@@ -13901,16 +13941,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
13901
13941
|
}[];
|
|
13902
13942
|
}[];
|
|
13903
13943
|
}[];
|
|
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
13944
|
customFields?: {
|
|
13915
13945
|
id: string;
|
|
13916
13946
|
createdAt: Date;
|
|
@@ -14019,6 +14049,16 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
14019
14049
|
createdAt: Date;
|
|
14020
14050
|
updatedAt: Date;
|
|
14021
14051
|
deletedAt: Date | null;
|
|
14052
|
+
tags: {
|
|
14053
|
+
name: string;
|
|
14054
|
+
id: string;
|
|
14055
|
+
createdAt: Date;
|
|
14056
|
+
updatedAt: Date;
|
|
14057
|
+
deletedAt: Date | null;
|
|
14058
|
+
}[];
|
|
14059
|
+
callFrom: string | null;
|
|
14060
|
+
callTo: string | null;
|
|
14061
|
+
note: string | null;
|
|
14022
14062
|
categories: {
|
|
14023
14063
|
id: string;
|
|
14024
14064
|
value: string;
|
|
@@ -14041,16 +14081,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
14041
14081
|
}[];
|
|
14042
14082
|
}[];
|
|
14043
14083
|
}[];
|
|
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
14084
|
customFields?: {
|
|
14055
14085
|
id: string;
|
|
14056
14086
|
createdAt: Date;
|
|
@@ -14109,6 +14139,16 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
14109
14139
|
createdAt: Date;
|
|
14110
14140
|
updatedAt: Date;
|
|
14111
14141
|
deletedAt: Date | null;
|
|
14142
|
+
tags: {
|
|
14143
|
+
name: string;
|
|
14144
|
+
id: string;
|
|
14145
|
+
createdAt: Date;
|
|
14146
|
+
updatedAt: Date;
|
|
14147
|
+
deletedAt: Date | null;
|
|
14148
|
+
}[];
|
|
14149
|
+
callFrom: string | null;
|
|
14150
|
+
callTo: string | null;
|
|
14151
|
+
note: string | null;
|
|
14112
14152
|
categories: {
|
|
14113
14153
|
id: string;
|
|
14114
14154
|
value: string;
|
|
@@ -14131,16 +14171,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
14131
14171
|
}[];
|
|
14132
14172
|
}[];
|
|
14133
14173
|
}[];
|
|
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
14174
|
customFields?: {
|
|
14145
14175
|
id: string;
|
|
14146
14176
|
createdAt: Date;
|
|
@@ -14234,6 +14264,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
14234
14264
|
lineRichMenuId?: string | null | undefined;
|
|
14235
14265
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
14236
14266
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
14267
|
+
isCSATEnabled?: boolean | undefined;
|
|
14237
14268
|
};
|
|
14238
14269
|
status: boolean;
|
|
14239
14270
|
createdAt: Date;
|
|
@@ -14525,6 +14556,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
14525
14556
|
closedAt: Date;
|
|
14526
14557
|
lastMessageAt: Date | null;
|
|
14527
14558
|
isBotRoom: boolean;
|
|
14559
|
+
csatStatus: string | null;
|
|
14528
14560
|
cxlog: {
|
|
14529
14561
|
id: string;
|
|
14530
14562
|
channel: string | null;
|
|
@@ -14552,6 +14584,16 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
14552
14584
|
createdAt: Date;
|
|
14553
14585
|
updatedAt: Date;
|
|
14554
14586
|
deletedAt: Date | null;
|
|
14587
|
+
tags: {
|
|
14588
|
+
name: string;
|
|
14589
|
+
id: string;
|
|
14590
|
+
createdAt: Date;
|
|
14591
|
+
updatedAt: Date;
|
|
14592
|
+
deletedAt: Date | null;
|
|
14593
|
+
}[];
|
|
14594
|
+
callFrom: string | null;
|
|
14595
|
+
callTo: string | null;
|
|
14596
|
+
note: string | null;
|
|
14555
14597
|
categories: {
|
|
14556
14598
|
id: string;
|
|
14557
14599
|
value: string;
|
|
@@ -14574,16 +14616,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
14574
14616
|
}[];
|
|
14575
14617
|
}[];
|
|
14576
14618
|
}[];
|
|
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
14619
|
customFields?: {
|
|
14588
14620
|
id: string;
|
|
14589
14621
|
createdAt: Date;
|
|
@@ -14661,6 +14693,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
14661
14693
|
lineRichMenuId?: string | null | undefined;
|
|
14662
14694
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
14663
14695
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
14696
|
+
isCSATEnabled?: boolean | undefined;
|
|
14664
14697
|
};
|
|
14665
14698
|
status: boolean;
|
|
14666
14699
|
createdAt: Date;
|
|
@@ -14952,6 +14985,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
14952
14985
|
closedAt: Date;
|
|
14953
14986
|
lastMessageAt: Date | null;
|
|
14954
14987
|
isBotRoom: boolean;
|
|
14988
|
+
csatStatus: string | null;
|
|
14955
14989
|
cxlog: {
|
|
14956
14990
|
id: string;
|
|
14957
14991
|
channel: string | null;
|
|
@@ -14979,6 +15013,16 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
14979
15013
|
createdAt: Date;
|
|
14980
15014
|
updatedAt: Date;
|
|
14981
15015
|
deletedAt: Date | null;
|
|
15016
|
+
tags: {
|
|
15017
|
+
name: string;
|
|
15018
|
+
id: string;
|
|
15019
|
+
createdAt: Date;
|
|
15020
|
+
updatedAt: Date;
|
|
15021
|
+
deletedAt: Date | null;
|
|
15022
|
+
}[];
|
|
15023
|
+
callFrom: string | null;
|
|
15024
|
+
callTo: string | null;
|
|
15025
|
+
note: string | null;
|
|
14982
15026
|
categories: {
|
|
14983
15027
|
id: string;
|
|
14984
15028
|
value: string;
|
|
@@ -15001,16 +15045,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
15001
15045
|
}[];
|
|
15002
15046
|
}[];
|
|
15003
15047
|
}[];
|
|
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
15048
|
customFields?: {
|
|
15015
15049
|
id: string;
|
|
15016
15050
|
createdAt: Date;
|
|
@@ -15092,7 +15126,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
15092
15126
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
15093
15127
|
message: z.ZodString;
|
|
15094
15128
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
15095
|
-
type: 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", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
15129
|
+
type: 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", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported", "item", "lazada_sys_msg"]>;
|
|
15096
15130
|
readAt: z.ZodDate;
|
|
15097
15131
|
metadata: z.ZodAny;
|
|
15098
15132
|
platformId: z.ZodString;
|
|
@@ -15138,15 +15172,15 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
15138
15172
|
fileUrl: string | null;
|
|
15139
15173
|
}>;
|
|
15140
15174
|
actor: z.ZodObject<{
|
|
15175
|
+
name: z.ZodString;
|
|
15141
15176
|
id: z.ZodString;
|
|
15177
|
+
address: z.ZodNullable<z.ZodString>;
|
|
15178
|
+
email: z.ZodString;
|
|
15142
15179
|
createdAt: z.ZodDate;
|
|
15143
15180
|
updatedAt: z.ZodDate;
|
|
15144
15181
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
15145
|
-
name: z.ZodString;
|
|
15146
|
-
email: z.ZodString;
|
|
15147
15182
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
15148
15183
|
password: z.ZodString;
|
|
15149
|
-
address: z.ZodNullable<z.ZodString>;
|
|
15150
15184
|
phone: z.ZodNullable<z.ZodString>;
|
|
15151
15185
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
15152
15186
|
roles: z.ZodArray<z.ZodObject<{
|
|
@@ -15342,15 +15376,15 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
15342
15376
|
};
|
|
15343
15377
|
}>;
|
|
15344
15378
|
assignee: z.ZodObject<{
|
|
15379
|
+
name: z.ZodString;
|
|
15345
15380
|
id: z.ZodString;
|
|
15381
|
+
address: z.ZodNullable<z.ZodString>;
|
|
15382
|
+
email: z.ZodString;
|
|
15346
15383
|
createdAt: z.ZodDate;
|
|
15347
15384
|
updatedAt: z.ZodDate;
|
|
15348
15385
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
15349
|
-
name: z.ZodString;
|
|
15350
|
-
email: z.ZodString;
|
|
15351
15386
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
15352
15387
|
password: z.ZodString;
|
|
15353
|
-
address: z.ZodNullable<z.ZodString>;
|
|
15354
15388
|
phone: z.ZodNullable<z.ZodString>;
|
|
15355
15389
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
15356
15390
|
roles: z.ZodArray<z.ZodObject<{
|
|
@@ -15546,15 +15580,15 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
15546
15580
|
};
|
|
15547
15581
|
}>;
|
|
15548
15582
|
sender: z.ZodObject<{
|
|
15583
|
+
name: z.ZodString;
|
|
15549
15584
|
id: z.ZodString;
|
|
15585
|
+
address: z.ZodNullable<z.ZodString>;
|
|
15586
|
+
email: z.ZodString;
|
|
15550
15587
|
createdAt: z.ZodDate;
|
|
15551
15588
|
updatedAt: z.ZodDate;
|
|
15552
15589
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
15553
|
-
name: z.ZodString;
|
|
15554
|
-
email: z.ZodString;
|
|
15555
15590
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
15556
15591
|
password: z.ZodString;
|
|
15557
|
-
address: z.ZodNullable<z.ZodString>;
|
|
15558
15592
|
phone: z.ZodNullable<z.ZodString>;
|
|
15559
15593
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
15560
15594
|
roles: z.ZodArray<z.ZodObject<{
|
|
@@ -15750,7 +15784,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
15750
15784
|
};
|
|
15751
15785
|
}>;
|
|
15752
15786
|
}, "strip", z.ZodTypeAny, {
|
|
15753
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
15787
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
15754
15788
|
message: string;
|
|
15755
15789
|
id: string;
|
|
15756
15790
|
url: string;
|
|
@@ -15912,7 +15946,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
15912
15946
|
metadata?: any;
|
|
15913
15947
|
template?: any;
|
|
15914
15948
|
}, {
|
|
15915
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
15949
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
15916
15950
|
message: string;
|
|
15917
15951
|
id: string;
|
|
15918
15952
|
url: string;
|
|
@@ -16287,7 +16321,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
16287
16321
|
updatedAt: z.ZodDate;
|
|
16288
16322
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
16289
16323
|
message: z.ZodNullable<z.ZodString>;
|
|
16290
|
-
type: z.ZodUnion<[z.ZodEnum<["text", "added_photos", "added_video", "shared_story", "mobile_status_update", "no_data"]>, 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", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>]>;
|
|
16324
|
+
type: z.ZodUnion<[z.ZodEnum<["text", "added_photos", "added_video", "shared_story", "mobile_status_update", "no_data"]>, 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", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported", "item", "lazada_sys_msg"]>]>;
|
|
16291
16325
|
metadata: z.ZodAny;
|
|
16292
16326
|
platformId: z.ZodString;
|
|
16293
16327
|
platformMessageId: z.ZodString;
|
|
@@ -16365,6 +16399,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
16365
16399
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
16366
16400
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
16367
16401
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
16402
|
+
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
16368
16403
|
}, "strip", z.ZodTypeAny, {
|
|
16369
16404
|
name: string;
|
|
16370
16405
|
id: string;
|
|
@@ -16394,6 +16429,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
16394
16429
|
lineRichMenuId?: string | null | undefined;
|
|
16395
16430
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
16396
16431
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
16432
|
+
isCSATEnabled?: boolean | undefined;
|
|
16397
16433
|
}, {
|
|
16398
16434
|
name: string;
|
|
16399
16435
|
id: string;
|
|
@@ -16423,6 +16459,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
16423
16459
|
lineRichMenuId?: string | null | undefined;
|
|
16424
16460
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
16425
16461
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
16462
|
+
isCSATEnabled?: boolean | undefined;
|
|
16426
16463
|
}>;
|
|
16427
16464
|
brandName: z.ZodString;
|
|
16428
16465
|
platformId: z.ZodString;
|
|
@@ -16686,6 +16723,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
16686
16723
|
lineRichMenuId?: string | null | undefined;
|
|
16687
16724
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
16688
16725
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
16726
|
+
isCSATEnabled?: boolean | undefined;
|
|
16689
16727
|
};
|
|
16690
16728
|
status: boolean;
|
|
16691
16729
|
createdAt: Date;
|
|
@@ -16780,6 +16818,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
16780
16818
|
lineRichMenuId?: string | null | undefined;
|
|
16781
16819
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
16782
16820
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
16821
|
+
isCSATEnabled?: boolean | undefined;
|
|
16783
16822
|
};
|
|
16784
16823
|
status: boolean;
|
|
16785
16824
|
createdAt: Date;
|
|
@@ -17890,15 +17929,15 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
17890
17929
|
socialPlatformId: string;
|
|
17891
17930
|
}>;
|
|
17892
17931
|
actor: z.ZodObject<{
|
|
17932
|
+
name: z.ZodString;
|
|
17893
17933
|
id: z.ZodString;
|
|
17934
|
+
address: z.ZodNullable<z.ZodString>;
|
|
17935
|
+
email: z.ZodString;
|
|
17894
17936
|
createdAt: z.ZodDate;
|
|
17895
17937
|
updatedAt: z.ZodDate;
|
|
17896
17938
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
17897
|
-
name: z.ZodString;
|
|
17898
|
-
email: z.ZodString;
|
|
17899
17939
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
17900
17940
|
password: z.ZodString;
|
|
17901
|
-
address: z.ZodNullable<z.ZodString>;
|
|
17902
17941
|
phone: z.ZodNullable<z.ZodString>;
|
|
17903
17942
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
17904
17943
|
roles: z.ZodArray<z.ZodObject<{
|
|
@@ -18095,7 +18134,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
18095
18134
|
}>;
|
|
18096
18135
|
permalinkURL: z.ZodString;
|
|
18097
18136
|
}, "strip", z.ZodTypeAny, {
|
|
18098
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
18137
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
18099
18138
|
message: string | null;
|
|
18100
18139
|
id: string;
|
|
18101
18140
|
channel: {
|
|
@@ -18131,6 +18170,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
18131
18170
|
lineRichMenuId?: string | null | undefined;
|
|
18132
18171
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
18133
18172
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
18173
|
+
isCSATEnabled?: boolean | undefined;
|
|
18134
18174
|
};
|
|
18135
18175
|
status: boolean;
|
|
18136
18176
|
createdAt: Date;
|
|
@@ -18376,7 +18416,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
18376
18416
|
metadata?: any;
|
|
18377
18417
|
template?: any;
|
|
18378
18418
|
}, {
|
|
18379
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
18419
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
18380
18420
|
message: string | null;
|
|
18381
18421
|
id: string;
|
|
18382
18422
|
channel: {
|
|
@@ -18412,6 +18452,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
18412
18452
|
lineRichMenuId?: string | null | undefined;
|
|
18413
18453
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
18414
18454
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
18455
|
+
isCSATEnabled?: boolean | undefined;
|
|
18415
18456
|
};
|
|
18416
18457
|
status: boolean;
|
|
18417
18458
|
createdAt: Date;
|
|
@@ -18659,7 +18700,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
18659
18700
|
}>>;
|
|
18660
18701
|
replyReaction: z.ZodNullable<z.ZodString>;
|
|
18661
18702
|
}, "strip", z.ZodTypeAny, {
|
|
18662
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
18703
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
18663
18704
|
message: string;
|
|
18664
18705
|
id: string;
|
|
18665
18706
|
url: string;
|
|
@@ -18803,6 +18844,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
18803
18844
|
lineRichMenuId?: string | null | undefined;
|
|
18804
18845
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
18805
18846
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
18847
|
+
isCSATEnabled?: boolean | undefined;
|
|
18806
18848
|
};
|
|
18807
18849
|
status: boolean;
|
|
18808
18850
|
createdAt: Date;
|
|
@@ -19094,6 +19136,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
19094
19136
|
closedAt: Date;
|
|
19095
19137
|
lastMessageAt: Date | null;
|
|
19096
19138
|
isBotRoom: boolean;
|
|
19139
|
+
csatStatus: string | null;
|
|
19097
19140
|
cxlog: {
|
|
19098
19141
|
id: string;
|
|
19099
19142
|
channel: string | null;
|
|
@@ -19121,6 +19164,16 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
19121
19164
|
createdAt: Date;
|
|
19122
19165
|
updatedAt: Date;
|
|
19123
19166
|
deletedAt: Date | null;
|
|
19167
|
+
tags: {
|
|
19168
|
+
name: string;
|
|
19169
|
+
id: string;
|
|
19170
|
+
createdAt: Date;
|
|
19171
|
+
updatedAt: Date;
|
|
19172
|
+
deletedAt: Date | null;
|
|
19173
|
+
}[];
|
|
19174
|
+
callFrom: string | null;
|
|
19175
|
+
callTo: string | null;
|
|
19176
|
+
note: string | null;
|
|
19124
19177
|
categories: {
|
|
19125
19178
|
id: string;
|
|
19126
19179
|
value: string;
|
|
@@ -19143,16 +19196,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
19143
19196
|
}[];
|
|
19144
19197
|
}[];
|
|
19145
19198
|
}[];
|
|
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
19199
|
customFields?: {
|
|
19157
19200
|
id: string;
|
|
19158
19201
|
createdAt: Date;
|
|
@@ -19212,7 +19255,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
19212
19255
|
previewUrl: string;
|
|
19213
19256
|
imageSetId: string;
|
|
19214
19257
|
repliedMessage: {
|
|
19215
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
19258
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
19216
19259
|
message: string;
|
|
19217
19260
|
id: string;
|
|
19218
19261
|
url: string;
|
|
@@ -19422,7 +19465,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
19422
19465
|
parentMessageId: string | null;
|
|
19423
19466
|
feedPostId: string | null;
|
|
19424
19467
|
feedPost: {
|
|
19425
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
19468
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
19426
19469
|
message: string | null;
|
|
19427
19470
|
id: string;
|
|
19428
19471
|
channel: {
|
|
@@ -19458,6 +19501,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
19458
19501
|
lineRichMenuId?: string | null | undefined;
|
|
19459
19502
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
19460
19503
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
19504
|
+
isCSATEnabled?: boolean | undefined;
|
|
19461
19505
|
};
|
|
19462
19506
|
status: boolean;
|
|
19463
19507
|
createdAt: Date;
|
|
@@ -19708,7 +19752,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
19708
19752
|
template?: any;
|
|
19709
19753
|
metadata?: any;
|
|
19710
19754
|
}, {
|
|
19711
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
19755
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
19712
19756
|
message: string;
|
|
19713
19757
|
id: string;
|
|
19714
19758
|
url: string;
|
|
@@ -19852,6 +19896,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
19852
19896
|
lineRichMenuId?: string | null | undefined;
|
|
19853
19897
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
19854
19898
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
19899
|
+
isCSATEnabled?: boolean | undefined;
|
|
19855
19900
|
};
|
|
19856
19901
|
status: boolean;
|
|
19857
19902
|
createdAt: Date;
|
|
@@ -20143,6 +20188,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
20143
20188
|
closedAt: Date;
|
|
20144
20189
|
lastMessageAt: Date | null;
|
|
20145
20190
|
isBotRoom: boolean;
|
|
20191
|
+
csatStatus: string | null;
|
|
20146
20192
|
cxlog: {
|
|
20147
20193
|
id: string;
|
|
20148
20194
|
channel: string | null;
|
|
@@ -20170,6 +20216,16 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
20170
20216
|
createdAt: Date;
|
|
20171
20217
|
updatedAt: Date;
|
|
20172
20218
|
deletedAt: Date | null;
|
|
20219
|
+
tags: {
|
|
20220
|
+
name: string;
|
|
20221
|
+
id: string;
|
|
20222
|
+
createdAt: Date;
|
|
20223
|
+
updatedAt: Date;
|
|
20224
|
+
deletedAt: Date | null;
|
|
20225
|
+
}[];
|
|
20226
|
+
callFrom: string | null;
|
|
20227
|
+
callTo: string | null;
|
|
20228
|
+
note: string | null;
|
|
20173
20229
|
categories: {
|
|
20174
20230
|
id: string;
|
|
20175
20231
|
value: string;
|
|
@@ -20192,16 +20248,6 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
20192
20248
|
}[];
|
|
20193
20249
|
}[];
|
|
20194
20250
|
}[];
|
|
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
20251
|
customFields?: {
|
|
20206
20252
|
id: string;
|
|
20207
20253
|
createdAt: Date;
|
|
@@ -20261,7 +20307,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
20261
20307
|
previewUrl: string;
|
|
20262
20308
|
imageSetId: string;
|
|
20263
20309
|
repliedMessage: {
|
|
20264
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
20310
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
20265
20311
|
message: string;
|
|
20266
20312
|
id: string;
|
|
20267
20313
|
url: string;
|
|
@@ -20471,7 +20517,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
20471
20517
|
parentMessageId: string | null;
|
|
20472
20518
|
feedPostId: string | null;
|
|
20473
20519
|
feedPost: {
|
|
20474
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
20520
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "added_photos" | "added_video" | "shared_story" | "mobile_status_update" | "no_data" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
20475
20521
|
message: string | null;
|
|
20476
20522
|
id: string;
|
|
20477
20523
|
channel: {
|
|
@@ -20507,6 +20553,7 @@ export declare const MessageWithFeedPostSchema: z.ZodObject<{
|
|
|
20507
20553
|
lineRichMenuId?: string | null | undefined;
|
|
20508
20554
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
20509
20555
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
20556
|
+
isCSATEnabled?: boolean | undefined;
|
|
20510
20557
|
};
|
|
20511
20558
|
status: boolean;
|
|
20512
20559
|
createdAt: Date;
|
|
@@ -20764,7 +20811,7 @@ export declare const RepliedMessageSchema: z.ZodObject<{
|
|
|
20764
20811
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
20765
20812
|
message: z.ZodString;
|
|
20766
20813
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
20767
|
-
type: 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", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
20814
|
+
type: 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", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported", "item", "lazada_sys_msg"]>;
|
|
20768
20815
|
readAt: z.ZodDate;
|
|
20769
20816
|
metadata: z.ZodAny;
|
|
20770
20817
|
platformId: z.ZodString;
|
|
@@ -20810,15 +20857,15 @@ export declare const RepliedMessageSchema: z.ZodObject<{
|
|
|
20810
20857
|
fileUrl: string | null;
|
|
20811
20858
|
}>;
|
|
20812
20859
|
actor: z.ZodObject<{
|
|
20860
|
+
name: z.ZodString;
|
|
20813
20861
|
id: z.ZodString;
|
|
20862
|
+
address: z.ZodNullable<z.ZodString>;
|
|
20863
|
+
email: z.ZodString;
|
|
20814
20864
|
createdAt: z.ZodDate;
|
|
20815
20865
|
updatedAt: z.ZodDate;
|
|
20816
20866
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
20817
|
-
name: z.ZodString;
|
|
20818
|
-
email: z.ZodString;
|
|
20819
20867
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
20820
20868
|
password: z.ZodString;
|
|
20821
|
-
address: z.ZodNullable<z.ZodString>;
|
|
20822
20869
|
phone: z.ZodNullable<z.ZodString>;
|
|
20823
20870
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
20824
20871
|
roles: z.ZodArray<z.ZodObject<{
|
|
@@ -21014,15 +21061,15 @@ export declare const RepliedMessageSchema: z.ZodObject<{
|
|
|
21014
21061
|
};
|
|
21015
21062
|
}>;
|
|
21016
21063
|
assignee: z.ZodObject<{
|
|
21064
|
+
name: z.ZodString;
|
|
21017
21065
|
id: z.ZodString;
|
|
21066
|
+
address: z.ZodNullable<z.ZodString>;
|
|
21067
|
+
email: z.ZodString;
|
|
21018
21068
|
createdAt: z.ZodDate;
|
|
21019
21069
|
updatedAt: z.ZodDate;
|
|
21020
21070
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
21021
|
-
name: z.ZodString;
|
|
21022
|
-
email: z.ZodString;
|
|
21023
21071
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
21024
21072
|
password: z.ZodString;
|
|
21025
|
-
address: z.ZodNullable<z.ZodString>;
|
|
21026
21073
|
phone: z.ZodNullable<z.ZodString>;
|
|
21027
21074
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
21028
21075
|
roles: z.ZodArray<z.ZodObject<{
|
|
@@ -21218,15 +21265,15 @@ export declare const RepliedMessageSchema: z.ZodObject<{
|
|
|
21218
21265
|
};
|
|
21219
21266
|
}>;
|
|
21220
21267
|
sender: z.ZodObject<{
|
|
21268
|
+
name: z.ZodString;
|
|
21221
21269
|
id: z.ZodString;
|
|
21270
|
+
address: z.ZodNullable<z.ZodString>;
|
|
21271
|
+
email: z.ZodString;
|
|
21222
21272
|
createdAt: z.ZodDate;
|
|
21223
21273
|
updatedAt: z.ZodDate;
|
|
21224
21274
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
21225
|
-
name: z.ZodString;
|
|
21226
|
-
email: z.ZodString;
|
|
21227
21275
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
21228
21276
|
password: z.ZodString;
|
|
21229
|
-
address: z.ZodNullable<z.ZodString>;
|
|
21230
21277
|
phone: z.ZodNullable<z.ZodString>;
|
|
21231
21278
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
21232
21279
|
roles: z.ZodArray<z.ZodObject<{
|
|
@@ -21422,7 +21469,7 @@ export declare const RepliedMessageSchema: z.ZodObject<{
|
|
|
21422
21469
|
};
|
|
21423
21470
|
}>;
|
|
21424
21471
|
}, "strip", z.ZodTypeAny, {
|
|
21425
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
21472
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
21426
21473
|
message: string;
|
|
21427
21474
|
id: string;
|
|
21428
21475
|
url: string;
|
|
@@ -21584,7 +21631,7 @@ export declare const RepliedMessageSchema: z.ZodObject<{
|
|
|
21584
21631
|
metadata?: any;
|
|
21585
21632
|
template?: any;
|
|
21586
21633
|
}, {
|
|
21587
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
21634
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
21588
21635
|
message: string;
|
|
21589
21636
|
id: string;
|
|
21590
21637
|
url: string;
|
|
@@ -21760,7 +21807,7 @@ export declare const UnreadCountsByAssigneeSchema: z.ZodObject<{
|
|
|
21760
21807
|
totalUnreadCount: number;
|
|
21761
21808
|
}>;
|
|
21762
21809
|
export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
21763
|
-
type: 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", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
21810
|
+
type: 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", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported", "item", "lazada_sys_msg"]>;
|
|
21764
21811
|
message: z.ZodString;
|
|
21765
21812
|
id: z.ZodString;
|
|
21766
21813
|
url: z.ZodString;
|
|
@@ -23277,6 +23324,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
23277
23324
|
channelId: string;
|
|
23278
23325
|
socialPlatformId: string;
|
|
23279
23326
|
}>;
|
|
23327
|
+
csatStatus: z.ZodNullable<z.ZodString>;
|
|
23280
23328
|
actor: z.ZodObject<{
|
|
23281
23329
|
id: z.ZodString;
|
|
23282
23330
|
createdAt: z.ZodDate;
|
|
@@ -23755,6 +23803,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
23755
23803
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
23756
23804
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
23757
23805
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
23806
|
+
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
23758
23807
|
}, "strip", z.ZodTypeAny, {
|
|
23759
23808
|
name: string;
|
|
23760
23809
|
id: string;
|
|
@@ -23784,6 +23833,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
23784
23833
|
lineRichMenuId?: string | null | undefined;
|
|
23785
23834
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
23786
23835
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
23836
|
+
isCSATEnabled?: boolean | undefined;
|
|
23787
23837
|
}, {
|
|
23788
23838
|
name: string;
|
|
23789
23839
|
id: string;
|
|
@@ -23813,6 +23863,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
23813
23863
|
lineRichMenuId?: string | null | undefined;
|
|
23814
23864
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
23815
23865
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
23866
|
+
isCSATEnabled?: boolean | undefined;
|
|
23816
23867
|
}>;
|
|
23817
23868
|
brandName: z.ZodString;
|
|
23818
23869
|
platformId: z.ZodString;
|
|
@@ -24076,6 +24127,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
24076
24127
|
lineRichMenuId?: string | null | undefined;
|
|
24077
24128
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
24078
24129
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
24130
|
+
isCSATEnabled?: boolean | undefined;
|
|
24079
24131
|
};
|
|
24080
24132
|
status: boolean;
|
|
24081
24133
|
createdAt: Date;
|
|
@@ -24170,6 +24222,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
24170
24222
|
lineRichMenuId?: string | null | undefined;
|
|
24171
24223
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
24172
24224
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
24225
|
+
isCSATEnabled?: boolean | undefined;
|
|
24173
24226
|
};
|
|
24174
24227
|
status: boolean;
|
|
24175
24228
|
createdAt: Date;
|
|
@@ -24422,6 +24475,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
24422
24475
|
createdAt: Date;
|
|
24423
24476
|
updatedAt: Date;
|
|
24424
24477
|
deletedAt: Date | null;
|
|
24478
|
+
tags: {
|
|
24479
|
+
name: string;
|
|
24480
|
+
id: string;
|
|
24481
|
+
createdAt: Date;
|
|
24482
|
+
updatedAt: Date;
|
|
24483
|
+
deletedAt: Date | null;
|
|
24484
|
+
}[];
|
|
24485
|
+
callFrom: string | null;
|
|
24486
|
+
callTo: string | null;
|
|
24487
|
+
note: string | null;
|
|
24425
24488
|
categories: {
|
|
24426
24489
|
id: string;
|
|
24427
24490
|
value: string;
|
|
@@ -24444,16 +24507,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
24444
24507
|
}[];
|
|
24445
24508
|
}[];
|
|
24446
24509
|
}[];
|
|
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
24510
|
customFields?: {
|
|
24458
24511
|
id: string;
|
|
24459
24512
|
createdAt: Date;
|
|
@@ -24473,6 +24526,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
24473
24526
|
createdAt: Date;
|
|
24474
24527
|
updatedAt: Date;
|
|
24475
24528
|
deletedAt: Date | null;
|
|
24529
|
+
tags: {
|
|
24530
|
+
name: string;
|
|
24531
|
+
id: string;
|
|
24532
|
+
createdAt: Date;
|
|
24533
|
+
updatedAt: Date;
|
|
24534
|
+
deletedAt: Date | null;
|
|
24535
|
+
}[];
|
|
24536
|
+
callFrom: string | null;
|
|
24537
|
+
callTo: string | null;
|
|
24538
|
+
note: string | null;
|
|
24476
24539
|
categories: {
|
|
24477
24540
|
id: string;
|
|
24478
24541
|
value: string;
|
|
@@ -24495,16 +24558,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
24495
24558
|
}[];
|
|
24496
24559
|
}[];
|
|
24497
24560
|
}[];
|
|
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
24561
|
customFields?: {
|
|
24509
24562
|
id: string;
|
|
24510
24563
|
createdAt: Date;
|
|
@@ -24613,6 +24666,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
24613
24666
|
createdAt: Date;
|
|
24614
24667
|
updatedAt: Date;
|
|
24615
24668
|
deletedAt: Date | null;
|
|
24669
|
+
tags: {
|
|
24670
|
+
name: string;
|
|
24671
|
+
id: string;
|
|
24672
|
+
createdAt: Date;
|
|
24673
|
+
updatedAt: Date;
|
|
24674
|
+
deletedAt: Date | null;
|
|
24675
|
+
}[];
|
|
24676
|
+
callFrom: string | null;
|
|
24677
|
+
callTo: string | null;
|
|
24678
|
+
note: string | null;
|
|
24616
24679
|
categories: {
|
|
24617
24680
|
id: string;
|
|
24618
24681
|
value: string;
|
|
@@ -24635,16 +24698,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
24635
24698
|
}[];
|
|
24636
24699
|
}[];
|
|
24637
24700
|
}[];
|
|
24638
|
-
tags: {
|
|
24639
|
-
name: string;
|
|
24640
|
-
id: string;
|
|
24641
|
-
createdAt: Date;
|
|
24642
|
-
updatedAt: Date;
|
|
24643
|
-
deletedAt: Date | null;
|
|
24644
|
-
}[];
|
|
24645
|
-
callFrom: string | null;
|
|
24646
|
-
callTo: string | null;
|
|
24647
|
-
note: string | null;
|
|
24648
24701
|
customFields?: {
|
|
24649
24702
|
id: string;
|
|
24650
24703
|
createdAt: Date;
|
|
@@ -24703,6 +24756,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
24703
24756
|
createdAt: Date;
|
|
24704
24757
|
updatedAt: Date;
|
|
24705
24758
|
deletedAt: Date | null;
|
|
24759
|
+
tags: {
|
|
24760
|
+
name: string;
|
|
24761
|
+
id: string;
|
|
24762
|
+
createdAt: Date;
|
|
24763
|
+
updatedAt: Date;
|
|
24764
|
+
deletedAt: Date | null;
|
|
24765
|
+
}[];
|
|
24766
|
+
callFrom: string | null;
|
|
24767
|
+
callTo: string | null;
|
|
24768
|
+
note: string | null;
|
|
24706
24769
|
categories: {
|
|
24707
24770
|
id: string;
|
|
24708
24771
|
value: string;
|
|
@@ -24725,16 +24788,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
24725
24788
|
}[];
|
|
24726
24789
|
}[];
|
|
24727
24790
|
}[];
|
|
24728
|
-
tags: {
|
|
24729
|
-
name: string;
|
|
24730
|
-
id: string;
|
|
24731
|
-
createdAt: Date;
|
|
24732
|
-
updatedAt: Date;
|
|
24733
|
-
deletedAt: Date | null;
|
|
24734
|
-
}[];
|
|
24735
|
-
callFrom: string | null;
|
|
24736
|
-
callTo: string | null;
|
|
24737
|
-
note: string | null;
|
|
24738
24791
|
customFields?: {
|
|
24739
24792
|
id: string;
|
|
24740
24793
|
createdAt: Date;
|
|
@@ -24828,6 +24881,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
24828
24881
|
lineRichMenuId?: string | null | undefined;
|
|
24829
24882
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
24830
24883
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
24884
|
+
isCSATEnabled?: boolean | undefined;
|
|
24831
24885
|
};
|
|
24832
24886
|
status: boolean;
|
|
24833
24887
|
createdAt: Date;
|
|
@@ -25119,6 +25173,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
25119
25173
|
closedAt: Date;
|
|
25120
25174
|
lastMessageAt: Date | null;
|
|
25121
25175
|
isBotRoom: boolean;
|
|
25176
|
+
csatStatus: string | null;
|
|
25122
25177
|
cxlog: {
|
|
25123
25178
|
id: string;
|
|
25124
25179
|
channel: string | null;
|
|
@@ -25146,6 +25201,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
25146
25201
|
createdAt: Date;
|
|
25147
25202
|
updatedAt: Date;
|
|
25148
25203
|
deletedAt: Date | null;
|
|
25204
|
+
tags: {
|
|
25205
|
+
name: string;
|
|
25206
|
+
id: string;
|
|
25207
|
+
createdAt: Date;
|
|
25208
|
+
updatedAt: Date;
|
|
25209
|
+
deletedAt: Date | null;
|
|
25210
|
+
}[];
|
|
25211
|
+
callFrom: string | null;
|
|
25212
|
+
callTo: string | null;
|
|
25213
|
+
note: string | null;
|
|
25149
25214
|
categories: {
|
|
25150
25215
|
id: string;
|
|
25151
25216
|
value: string;
|
|
@@ -25168,16 +25233,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
25168
25233
|
}[];
|
|
25169
25234
|
}[];
|
|
25170
25235
|
}[];
|
|
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
25236
|
customFields?: {
|
|
25182
25237
|
id: string;
|
|
25183
25238
|
createdAt: Date;
|
|
@@ -25255,6 +25310,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
25255
25310
|
lineRichMenuId?: string | null | undefined;
|
|
25256
25311
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
25257
25312
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
25313
|
+
isCSATEnabled?: boolean | undefined;
|
|
25258
25314
|
};
|
|
25259
25315
|
status: boolean;
|
|
25260
25316
|
createdAt: Date;
|
|
@@ -25546,6 +25602,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
25546
25602
|
closedAt: Date;
|
|
25547
25603
|
lastMessageAt: Date | null;
|
|
25548
25604
|
isBotRoom: boolean;
|
|
25605
|
+
csatStatus: string | null;
|
|
25549
25606
|
cxlog: {
|
|
25550
25607
|
id: string;
|
|
25551
25608
|
channel: string | null;
|
|
@@ -25573,6 +25630,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
25573
25630
|
createdAt: Date;
|
|
25574
25631
|
updatedAt: Date;
|
|
25575
25632
|
deletedAt: Date | null;
|
|
25633
|
+
tags: {
|
|
25634
|
+
name: string;
|
|
25635
|
+
id: string;
|
|
25636
|
+
createdAt: Date;
|
|
25637
|
+
updatedAt: Date;
|
|
25638
|
+
deletedAt: Date | null;
|
|
25639
|
+
}[];
|
|
25640
|
+
callFrom: string | null;
|
|
25641
|
+
callTo: string | null;
|
|
25642
|
+
note: string | null;
|
|
25576
25643
|
categories: {
|
|
25577
25644
|
id: string;
|
|
25578
25645
|
value: string;
|
|
@@ -25595,16 +25662,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
25595
25662
|
}[];
|
|
25596
25663
|
}[];
|
|
25597
25664
|
}[];
|
|
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
25665
|
customFields?: {
|
|
25609
25666
|
id: string;
|
|
25610
25667
|
createdAt: Date;
|
|
@@ -25686,7 +25743,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
25686
25743
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
25687
25744
|
message: z.ZodString;
|
|
25688
25745
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
25689
|
-
type: 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", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
25746
|
+
type: 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", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported", "item", "lazada_sys_msg"]>;
|
|
25690
25747
|
readAt: z.ZodDate;
|
|
25691
25748
|
metadata: z.ZodAny;
|
|
25692
25749
|
platformId: z.ZodString;
|
|
@@ -25732,15 +25789,15 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
25732
25789
|
fileUrl: string | null;
|
|
25733
25790
|
}>;
|
|
25734
25791
|
actor: z.ZodObject<{
|
|
25792
|
+
name: z.ZodString;
|
|
25735
25793
|
id: z.ZodString;
|
|
25794
|
+
address: z.ZodNullable<z.ZodString>;
|
|
25795
|
+
email: z.ZodString;
|
|
25736
25796
|
createdAt: z.ZodDate;
|
|
25737
25797
|
updatedAt: z.ZodDate;
|
|
25738
25798
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
25739
|
-
name: z.ZodString;
|
|
25740
|
-
email: z.ZodString;
|
|
25741
25799
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
25742
25800
|
password: z.ZodString;
|
|
25743
|
-
address: z.ZodNullable<z.ZodString>;
|
|
25744
25801
|
phone: z.ZodNullable<z.ZodString>;
|
|
25745
25802
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
25746
25803
|
roles: z.ZodArray<z.ZodObject<{
|
|
@@ -25936,15 +25993,15 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
25936
25993
|
};
|
|
25937
25994
|
}>;
|
|
25938
25995
|
assignee: z.ZodObject<{
|
|
25996
|
+
name: z.ZodString;
|
|
25939
25997
|
id: z.ZodString;
|
|
25998
|
+
address: z.ZodNullable<z.ZodString>;
|
|
25999
|
+
email: z.ZodString;
|
|
25940
26000
|
createdAt: z.ZodDate;
|
|
25941
26001
|
updatedAt: z.ZodDate;
|
|
25942
26002
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
25943
|
-
name: z.ZodString;
|
|
25944
|
-
email: z.ZodString;
|
|
25945
26003
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
25946
26004
|
password: z.ZodString;
|
|
25947
|
-
address: z.ZodNullable<z.ZodString>;
|
|
25948
26005
|
phone: z.ZodNullable<z.ZodString>;
|
|
25949
26006
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
25950
26007
|
roles: z.ZodArray<z.ZodObject<{
|
|
@@ -26140,15 +26197,15 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
26140
26197
|
};
|
|
26141
26198
|
}>;
|
|
26142
26199
|
sender: z.ZodObject<{
|
|
26200
|
+
name: z.ZodString;
|
|
26143
26201
|
id: z.ZodString;
|
|
26202
|
+
address: z.ZodNullable<z.ZodString>;
|
|
26203
|
+
email: z.ZodString;
|
|
26144
26204
|
createdAt: z.ZodDate;
|
|
26145
26205
|
updatedAt: z.ZodDate;
|
|
26146
26206
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
26147
|
-
name: z.ZodString;
|
|
26148
|
-
email: z.ZodString;
|
|
26149
26207
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
26150
26208
|
password: z.ZodString;
|
|
26151
|
-
address: z.ZodNullable<z.ZodString>;
|
|
26152
26209
|
phone: z.ZodNullable<z.ZodString>;
|
|
26153
26210
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
26154
26211
|
roles: z.ZodArray<z.ZodObject<{
|
|
@@ -26344,7 +26401,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
26344
26401
|
};
|
|
26345
26402
|
}>;
|
|
26346
26403
|
}, "strip", z.ZodTypeAny, {
|
|
26347
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
26404
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
26348
26405
|
message: string;
|
|
26349
26406
|
id: string;
|
|
26350
26407
|
url: string;
|
|
@@ -26506,7 +26563,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
26506
26563
|
metadata?: any;
|
|
26507
26564
|
template?: any;
|
|
26508
26565
|
}, {
|
|
26509
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
26566
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
26510
26567
|
message: string;
|
|
26511
26568
|
id: string;
|
|
26512
26569
|
url: string;
|
|
@@ -27927,7 +27984,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
27927
27984
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
27928
27985
|
message: z.ZodString;
|
|
27929
27986
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
27930
|
-
type: 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", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
27987
|
+
type: 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", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported", "item", "lazada_sys_msg"]>;
|
|
27931
27988
|
readAt: z.ZodDate;
|
|
27932
27989
|
metadata: z.ZodAny;
|
|
27933
27990
|
platformId: z.ZodString;
|
|
@@ -29001,6 +29058,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
29001
29058
|
channelId: string;
|
|
29002
29059
|
socialPlatformId: string;
|
|
29003
29060
|
}>;
|
|
29061
|
+
csatStatus: z.ZodNullable<z.ZodString>;
|
|
29004
29062
|
actor: z.ZodObject<{
|
|
29005
29063
|
id: z.ZodString;
|
|
29006
29064
|
createdAt: z.ZodDate;
|
|
@@ -29479,6 +29537,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
29479
29537
|
lineRichMenuId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
29480
29538
|
messengerIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
29481
29539
|
facebookFeedIntegrationType: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"own">, z.ZodLiteral<"business">]>>;
|
|
29540
|
+
isCSATEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
29482
29541
|
}, "strip", z.ZodTypeAny, {
|
|
29483
29542
|
name: string;
|
|
29484
29543
|
id: string;
|
|
@@ -29508,6 +29567,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
29508
29567
|
lineRichMenuId?: string | null | undefined;
|
|
29509
29568
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
29510
29569
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
29570
|
+
isCSATEnabled?: boolean | undefined;
|
|
29511
29571
|
}, {
|
|
29512
29572
|
name: string;
|
|
29513
29573
|
id: string;
|
|
@@ -29537,6 +29597,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
29537
29597
|
lineRichMenuId?: string | null | undefined;
|
|
29538
29598
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
29539
29599
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
29600
|
+
isCSATEnabled?: boolean | undefined;
|
|
29540
29601
|
}>;
|
|
29541
29602
|
brandName: z.ZodString;
|
|
29542
29603
|
platformId: z.ZodString;
|
|
@@ -29800,6 +29861,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
29800
29861
|
lineRichMenuId?: string | null | undefined;
|
|
29801
29862
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
29802
29863
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
29864
|
+
isCSATEnabled?: boolean | undefined;
|
|
29803
29865
|
};
|
|
29804
29866
|
status: boolean;
|
|
29805
29867
|
createdAt: Date;
|
|
@@ -29894,6 +29956,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
29894
29956
|
lineRichMenuId?: string | null | undefined;
|
|
29895
29957
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
29896
29958
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
29959
|
+
isCSATEnabled?: boolean | undefined;
|
|
29897
29960
|
};
|
|
29898
29961
|
status: boolean;
|
|
29899
29962
|
createdAt: Date;
|
|
@@ -30146,6 +30209,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
30146
30209
|
createdAt: Date;
|
|
30147
30210
|
updatedAt: Date;
|
|
30148
30211
|
deletedAt: Date | null;
|
|
30212
|
+
tags: {
|
|
30213
|
+
name: string;
|
|
30214
|
+
id: string;
|
|
30215
|
+
createdAt: Date;
|
|
30216
|
+
updatedAt: Date;
|
|
30217
|
+
deletedAt: Date | null;
|
|
30218
|
+
}[];
|
|
30219
|
+
callFrom: string | null;
|
|
30220
|
+
callTo: string | null;
|
|
30221
|
+
note: string | null;
|
|
30149
30222
|
categories: {
|
|
30150
30223
|
id: string;
|
|
30151
30224
|
value: string;
|
|
@@ -30168,16 +30241,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
30168
30241
|
}[];
|
|
30169
30242
|
}[];
|
|
30170
30243
|
}[];
|
|
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
30244
|
customFields?: {
|
|
30182
30245
|
id: string;
|
|
30183
30246
|
createdAt: Date;
|
|
@@ -30197,6 +30260,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
30197
30260
|
createdAt: Date;
|
|
30198
30261
|
updatedAt: Date;
|
|
30199
30262
|
deletedAt: Date | null;
|
|
30263
|
+
tags: {
|
|
30264
|
+
name: string;
|
|
30265
|
+
id: string;
|
|
30266
|
+
createdAt: Date;
|
|
30267
|
+
updatedAt: Date;
|
|
30268
|
+
deletedAt: Date | null;
|
|
30269
|
+
}[];
|
|
30270
|
+
callFrom: string | null;
|
|
30271
|
+
callTo: string | null;
|
|
30272
|
+
note: string | null;
|
|
30200
30273
|
categories: {
|
|
30201
30274
|
id: string;
|
|
30202
30275
|
value: string;
|
|
@@ -30219,16 +30292,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
30219
30292
|
}[];
|
|
30220
30293
|
}[];
|
|
30221
30294
|
}[];
|
|
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
30295
|
customFields?: {
|
|
30233
30296
|
id: string;
|
|
30234
30297
|
createdAt: Date;
|
|
@@ -30337,6 +30400,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
30337
30400
|
createdAt: Date;
|
|
30338
30401
|
updatedAt: Date;
|
|
30339
30402
|
deletedAt: Date | null;
|
|
30403
|
+
tags: {
|
|
30404
|
+
name: string;
|
|
30405
|
+
id: string;
|
|
30406
|
+
createdAt: Date;
|
|
30407
|
+
updatedAt: Date;
|
|
30408
|
+
deletedAt: Date | null;
|
|
30409
|
+
}[];
|
|
30410
|
+
callFrom: string | null;
|
|
30411
|
+
callTo: string | null;
|
|
30412
|
+
note: string | null;
|
|
30340
30413
|
categories: {
|
|
30341
30414
|
id: string;
|
|
30342
30415
|
value: string;
|
|
@@ -30359,16 +30432,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
30359
30432
|
}[];
|
|
30360
30433
|
}[];
|
|
30361
30434
|
}[];
|
|
30362
|
-
tags: {
|
|
30363
|
-
name: string;
|
|
30364
|
-
id: string;
|
|
30365
|
-
createdAt: Date;
|
|
30366
|
-
updatedAt: Date;
|
|
30367
|
-
deletedAt: Date | null;
|
|
30368
|
-
}[];
|
|
30369
|
-
callFrom: string | null;
|
|
30370
|
-
callTo: string | null;
|
|
30371
|
-
note: string | null;
|
|
30372
30435
|
customFields?: {
|
|
30373
30436
|
id: string;
|
|
30374
30437
|
createdAt: Date;
|
|
@@ -30427,6 +30490,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
30427
30490
|
createdAt: Date;
|
|
30428
30491
|
updatedAt: Date;
|
|
30429
30492
|
deletedAt: Date | null;
|
|
30493
|
+
tags: {
|
|
30494
|
+
name: string;
|
|
30495
|
+
id: string;
|
|
30496
|
+
createdAt: Date;
|
|
30497
|
+
updatedAt: Date;
|
|
30498
|
+
deletedAt: Date | null;
|
|
30499
|
+
}[];
|
|
30500
|
+
callFrom: string | null;
|
|
30501
|
+
callTo: string | null;
|
|
30502
|
+
note: string | null;
|
|
30430
30503
|
categories: {
|
|
30431
30504
|
id: string;
|
|
30432
30505
|
value: string;
|
|
@@ -30449,16 +30522,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
30449
30522
|
}[];
|
|
30450
30523
|
}[];
|
|
30451
30524
|
}[];
|
|
30452
|
-
tags: {
|
|
30453
|
-
name: string;
|
|
30454
|
-
id: string;
|
|
30455
|
-
createdAt: Date;
|
|
30456
|
-
updatedAt: Date;
|
|
30457
|
-
deletedAt: Date | null;
|
|
30458
|
-
}[];
|
|
30459
|
-
callFrom: string | null;
|
|
30460
|
-
callTo: string | null;
|
|
30461
|
-
note: string | null;
|
|
30462
30525
|
customFields?: {
|
|
30463
30526
|
id: string;
|
|
30464
30527
|
createdAt: Date;
|
|
@@ -30552,6 +30615,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
30552
30615
|
lineRichMenuId?: string | null | undefined;
|
|
30553
30616
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
30554
30617
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
30618
|
+
isCSATEnabled?: boolean | undefined;
|
|
30555
30619
|
};
|
|
30556
30620
|
status: boolean;
|
|
30557
30621
|
createdAt: Date;
|
|
@@ -30843,6 +30907,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
30843
30907
|
closedAt: Date;
|
|
30844
30908
|
lastMessageAt: Date | null;
|
|
30845
30909
|
isBotRoom: boolean;
|
|
30910
|
+
csatStatus: string | null;
|
|
30846
30911
|
cxlog: {
|
|
30847
30912
|
id: string;
|
|
30848
30913
|
channel: string | null;
|
|
@@ -30870,6 +30935,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
30870
30935
|
createdAt: Date;
|
|
30871
30936
|
updatedAt: Date;
|
|
30872
30937
|
deletedAt: Date | null;
|
|
30938
|
+
tags: {
|
|
30939
|
+
name: string;
|
|
30940
|
+
id: string;
|
|
30941
|
+
createdAt: Date;
|
|
30942
|
+
updatedAt: Date;
|
|
30943
|
+
deletedAt: Date | null;
|
|
30944
|
+
}[];
|
|
30945
|
+
callFrom: string | null;
|
|
30946
|
+
callTo: string | null;
|
|
30947
|
+
note: string | null;
|
|
30873
30948
|
categories: {
|
|
30874
30949
|
id: string;
|
|
30875
30950
|
value: string;
|
|
@@ -30892,16 +30967,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
30892
30967
|
}[];
|
|
30893
30968
|
}[];
|
|
30894
30969
|
}[];
|
|
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
30970
|
customFields?: {
|
|
30906
30971
|
id: string;
|
|
30907
30972
|
createdAt: Date;
|
|
@@ -30979,6 +31044,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
30979
31044
|
lineRichMenuId?: string | null | undefined;
|
|
30980
31045
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
30981
31046
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
31047
|
+
isCSATEnabled?: boolean | undefined;
|
|
30982
31048
|
};
|
|
30983
31049
|
status: boolean;
|
|
30984
31050
|
createdAt: Date;
|
|
@@ -31270,6 +31336,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
31270
31336
|
closedAt: Date;
|
|
31271
31337
|
lastMessageAt: Date | null;
|
|
31272
31338
|
isBotRoom: boolean;
|
|
31339
|
+
csatStatus: string | null;
|
|
31273
31340
|
cxlog: {
|
|
31274
31341
|
id: string;
|
|
31275
31342
|
channel: string | null;
|
|
@@ -31297,6 +31364,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
31297
31364
|
createdAt: Date;
|
|
31298
31365
|
updatedAt: Date;
|
|
31299
31366
|
deletedAt: Date | null;
|
|
31367
|
+
tags: {
|
|
31368
|
+
name: string;
|
|
31369
|
+
id: string;
|
|
31370
|
+
createdAt: Date;
|
|
31371
|
+
updatedAt: Date;
|
|
31372
|
+
deletedAt: Date | null;
|
|
31373
|
+
}[];
|
|
31374
|
+
callFrom: string | null;
|
|
31375
|
+
callTo: string | null;
|
|
31376
|
+
note: string | null;
|
|
31300
31377
|
categories: {
|
|
31301
31378
|
id: string;
|
|
31302
31379
|
value: string;
|
|
@@ -31319,16 +31396,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
31319
31396
|
}[];
|
|
31320
31397
|
}[];
|
|
31321
31398
|
}[];
|
|
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
31399
|
customFields?: {
|
|
31333
31400
|
id: string;
|
|
31334
31401
|
createdAt: Date;
|
|
@@ -31413,7 +31480,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
31413
31480
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
31414
31481
|
message: z.ZodString;
|
|
31415
31482
|
direction: z.ZodEnum<["incoming", "outgoing", "system"]>;
|
|
31416
|
-
type: 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", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported"]>;
|
|
31483
|
+
type: 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", "csat", "assign", "solve", "resolved", "reopen", "open", "closed", "handed_over", "updated", "started", "hold", "unhold", "auto_unhold", "edited", "deleted", "unsupported", "item", "lazada_sys_msg"]>;
|
|
31417
31484
|
readAt: z.ZodDate;
|
|
31418
31485
|
metadata: z.ZodAny;
|
|
31419
31486
|
platformId: z.ZodString;
|
|
@@ -31459,15 +31526,15 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
31459
31526
|
fileUrl: string | null;
|
|
31460
31527
|
}>;
|
|
31461
31528
|
actor: z.ZodObject<{
|
|
31529
|
+
name: z.ZodString;
|
|
31462
31530
|
id: z.ZodString;
|
|
31531
|
+
address: z.ZodNullable<z.ZodString>;
|
|
31532
|
+
email: z.ZodString;
|
|
31463
31533
|
createdAt: z.ZodDate;
|
|
31464
31534
|
updatedAt: z.ZodDate;
|
|
31465
31535
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
31466
|
-
name: z.ZodString;
|
|
31467
|
-
email: z.ZodString;
|
|
31468
31536
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
31469
31537
|
password: z.ZodString;
|
|
31470
|
-
address: z.ZodNullable<z.ZodString>;
|
|
31471
31538
|
phone: z.ZodNullable<z.ZodString>;
|
|
31472
31539
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
31473
31540
|
roles: z.ZodArray<z.ZodObject<{
|
|
@@ -31663,15 +31730,15 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
31663
31730
|
};
|
|
31664
31731
|
}>;
|
|
31665
31732
|
assignee: z.ZodObject<{
|
|
31733
|
+
name: z.ZodString;
|
|
31666
31734
|
id: z.ZodString;
|
|
31735
|
+
address: z.ZodNullable<z.ZodString>;
|
|
31736
|
+
email: z.ZodString;
|
|
31667
31737
|
createdAt: z.ZodDate;
|
|
31668
31738
|
updatedAt: z.ZodDate;
|
|
31669
31739
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
31670
|
-
name: z.ZodString;
|
|
31671
|
-
email: z.ZodString;
|
|
31672
31740
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
31673
31741
|
password: z.ZodString;
|
|
31674
|
-
address: z.ZodNullable<z.ZodString>;
|
|
31675
31742
|
phone: z.ZodNullable<z.ZodString>;
|
|
31676
31743
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
31677
31744
|
roles: z.ZodArray<z.ZodObject<{
|
|
@@ -31867,15 +31934,15 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
31867
31934
|
};
|
|
31868
31935
|
}>;
|
|
31869
31936
|
sender: z.ZodObject<{
|
|
31937
|
+
name: z.ZodString;
|
|
31870
31938
|
id: z.ZodString;
|
|
31939
|
+
address: z.ZodNullable<z.ZodString>;
|
|
31940
|
+
email: z.ZodString;
|
|
31871
31941
|
createdAt: z.ZodDate;
|
|
31872
31942
|
updatedAt: z.ZodDate;
|
|
31873
31943
|
deletedAt: z.ZodNullable<z.ZodDate>;
|
|
31874
|
-
name: z.ZodString;
|
|
31875
|
-
email: z.ZodString;
|
|
31876
31944
|
emailVerifiedAt: z.ZodNullable<z.ZodDate>;
|
|
31877
31945
|
password: z.ZodString;
|
|
31878
|
-
address: z.ZodNullable<z.ZodString>;
|
|
31879
31946
|
phone: z.ZodNullable<z.ZodString>;
|
|
31880
31947
|
notificationCount: z.ZodNullable<z.ZodNumber>;
|
|
31881
31948
|
roles: z.ZodArray<z.ZodObject<{
|
|
@@ -32071,7 +32138,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
32071
32138
|
};
|
|
32072
32139
|
}>;
|
|
32073
32140
|
}, "strip", z.ZodTypeAny, {
|
|
32074
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
32141
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
32075
32142
|
message: string;
|
|
32076
32143
|
id: string;
|
|
32077
32144
|
url: string;
|
|
@@ -32233,7 +32300,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
32233
32300
|
metadata?: any;
|
|
32234
32301
|
template?: any;
|
|
32235
32302
|
}, {
|
|
32236
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
32303
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
32237
32304
|
message: string;
|
|
32238
32305
|
id: string;
|
|
32239
32306
|
url: string;
|
|
@@ -33035,7 +33102,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
33035
33102
|
editedMessageid: z.ZodString;
|
|
33036
33103
|
label: z.ZodOptional<z.ZodString>;
|
|
33037
33104
|
}, "strip", z.ZodTypeAny, {
|
|
33038
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
33105
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
33039
33106
|
message: string;
|
|
33040
33107
|
id: string;
|
|
33041
33108
|
url: string;
|
|
@@ -33179,6 +33246,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
33179
33246
|
lineRichMenuId?: string | null | undefined;
|
|
33180
33247
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
33181
33248
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
33249
|
+
isCSATEnabled?: boolean | undefined;
|
|
33182
33250
|
};
|
|
33183
33251
|
status: boolean;
|
|
33184
33252
|
createdAt: Date;
|
|
@@ -33470,6 +33538,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
33470
33538
|
closedAt: Date;
|
|
33471
33539
|
lastMessageAt: Date | null;
|
|
33472
33540
|
isBotRoom: boolean;
|
|
33541
|
+
csatStatus: string | null;
|
|
33473
33542
|
cxlog: {
|
|
33474
33543
|
id: string;
|
|
33475
33544
|
channel: string | null;
|
|
@@ -33497,6 +33566,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
33497
33566
|
createdAt: Date;
|
|
33498
33567
|
updatedAt: Date;
|
|
33499
33568
|
deletedAt: Date | null;
|
|
33569
|
+
tags: {
|
|
33570
|
+
name: string;
|
|
33571
|
+
id: string;
|
|
33572
|
+
createdAt: Date;
|
|
33573
|
+
updatedAt: Date;
|
|
33574
|
+
deletedAt: Date | null;
|
|
33575
|
+
}[];
|
|
33576
|
+
callFrom: string | null;
|
|
33577
|
+
callTo: string | null;
|
|
33578
|
+
note: string | null;
|
|
33500
33579
|
categories: {
|
|
33501
33580
|
id: string;
|
|
33502
33581
|
value: string;
|
|
@@ -33519,16 +33598,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
33519
33598
|
}[];
|
|
33520
33599
|
}[];
|
|
33521
33600
|
}[];
|
|
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
33601
|
customFields?: {
|
|
33533
33602
|
id: string;
|
|
33534
33603
|
createdAt: Date;
|
|
@@ -33588,7 +33657,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
33588
33657
|
previewUrl: string;
|
|
33589
33658
|
imageSetId: string;
|
|
33590
33659
|
repliedMessage: {
|
|
33591
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
33660
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
33592
33661
|
message: string;
|
|
33593
33662
|
id: string;
|
|
33594
33663
|
url: string;
|
|
@@ -33799,7 +33868,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
33799
33868
|
template?: any;
|
|
33800
33869
|
label?: string | undefined;
|
|
33801
33870
|
}, {
|
|
33802
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
33871
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
33803
33872
|
message: string;
|
|
33804
33873
|
id: string;
|
|
33805
33874
|
url: string;
|
|
@@ -33943,6 +34012,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
33943
34012
|
lineRichMenuId?: string | null | undefined;
|
|
33944
34013
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
33945
34014
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
34015
|
+
isCSATEnabled?: boolean | undefined;
|
|
33946
34016
|
};
|
|
33947
34017
|
status: boolean;
|
|
33948
34018
|
createdAt: Date;
|
|
@@ -34234,6 +34304,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
34234
34304
|
closedAt: Date;
|
|
34235
34305
|
lastMessageAt: Date | null;
|
|
34236
34306
|
isBotRoom: boolean;
|
|
34307
|
+
csatStatus: string | null;
|
|
34237
34308
|
cxlog: {
|
|
34238
34309
|
id: string;
|
|
34239
34310
|
channel: string | null;
|
|
@@ -34261,6 +34332,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
34261
34332
|
createdAt: Date;
|
|
34262
34333
|
updatedAt: Date;
|
|
34263
34334
|
deletedAt: Date | null;
|
|
34335
|
+
tags: {
|
|
34336
|
+
name: string;
|
|
34337
|
+
id: string;
|
|
34338
|
+
createdAt: Date;
|
|
34339
|
+
updatedAt: Date;
|
|
34340
|
+
deletedAt: Date | null;
|
|
34341
|
+
}[];
|
|
34342
|
+
callFrom: string | null;
|
|
34343
|
+
callTo: string | null;
|
|
34344
|
+
note: string | null;
|
|
34264
34345
|
categories: {
|
|
34265
34346
|
id: string;
|
|
34266
34347
|
value: string;
|
|
@@ -34283,16 +34364,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
34283
34364
|
}[];
|
|
34284
34365
|
}[];
|
|
34285
34366
|
}[];
|
|
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
34367
|
customFields?: {
|
|
34297
34368
|
id: string;
|
|
34298
34369
|
createdAt: Date;
|
|
@@ -34352,7 +34423,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
34352
34423
|
previewUrl: string;
|
|
34353
34424
|
imageSetId: string;
|
|
34354
34425
|
repliedMessage: {
|
|
34355
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
34426
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
34356
34427
|
message: string;
|
|
34357
34428
|
id: string;
|
|
34358
34429
|
url: string;
|
|
@@ -34564,13 +34635,13 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
34564
34635
|
label?: string | undefined;
|
|
34565
34636
|
}>, "many">;
|
|
34566
34637
|
}, "strip", z.ZodTypeAny, {
|
|
34567
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
34638
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
34568
34639
|
message: string;
|
|
34569
34640
|
id: string;
|
|
34570
34641
|
url: string;
|
|
34571
34642
|
direction: "incoming" | "outgoing" | "system";
|
|
34572
34643
|
children: {
|
|
34573
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
34644
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
34574
34645
|
message: string;
|
|
34575
34646
|
id: string;
|
|
34576
34647
|
url: string;
|
|
@@ -34714,6 +34785,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
34714
34785
|
lineRichMenuId?: string | null | undefined;
|
|
34715
34786
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
34716
34787
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
34788
|
+
isCSATEnabled?: boolean | undefined;
|
|
34717
34789
|
};
|
|
34718
34790
|
status: boolean;
|
|
34719
34791
|
createdAt: Date;
|
|
@@ -35005,6 +35077,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
35005
35077
|
closedAt: Date;
|
|
35006
35078
|
lastMessageAt: Date | null;
|
|
35007
35079
|
isBotRoom: boolean;
|
|
35080
|
+
csatStatus: string | null;
|
|
35008
35081
|
cxlog: {
|
|
35009
35082
|
id: string;
|
|
35010
35083
|
channel: string | null;
|
|
@@ -35032,6 +35105,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
35032
35105
|
createdAt: Date;
|
|
35033
35106
|
updatedAt: Date;
|
|
35034
35107
|
deletedAt: Date | null;
|
|
35108
|
+
tags: {
|
|
35109
|
+
name: string;
|
|
35110
|
+
id: string;
|
|
35111
|
+
createdAt: Date;
|
|
35112
|
+
updatedAt: Date;
|
|
35113
|
+
deletedAt: Date | null;
|
|
35114
|
+
}[];
|
|
35115
|
+
callFrom: string | null;
|
|
35116
|
+
callTo: string | null;
|
|
35117
|
+
note: string | null;
|
|
35035
35118
|
categories: {
|
|
35036
35119
|
id: string;
|
|
35037
35120
|
value: string;
|
|
@@ -35054,16 +35137,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
35054
35137
|
}[];
|
|
35055
35138
|
}[];
|
|
35056
35139
|
}[];
|
|
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
35140
|
customFields?: {
|
|
35068
35141
|
id: string;
|
|
35069
35142
|
createdAt: Date;
|
|
@@ -35123,7 +35196,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
35123
35196
|
previewUrl: string;
|
|
35124
35197
|
imageSetId: string;
|
|
35125
35198
|
repliedMessage: {
|
|
35126
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
35199
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
35127
35200
|
message: string;
|
|
35128
35201
|
id: string;
|
|
35129
35202
|
url: string;
|
|
@@ -35473,6 +35546,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
35473
35546
|
lineRichMenuId?: string | null | undefined;
|
|
35474
35547
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
35475
35548
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
35549
|
+
isCSATEnabled?: boolean | undefined;
|
|
35476
35550
|
};
|
|
35477
35551
|
status: boolean;
|
|
35478
35552
|
createdAt: Date;
|
|
@@ -35764,6 +35838,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
35764
35838
|
closedAt: Date;
|
|
35765
35839
|
lastMessageAt: Date | null;
|
|
35766
35840
|
isBotRoom: boolean;
|
|
35841
|
+
csatStatus: string | null;
|
|
35767
35842
|
cxlog: {
|
|
35768
35843
|
id: string;
|
|
35769
35844
|
channel: string | null;
|
|
@@ -35791,6 +35866,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
35791
35866
|
createdAt: Date;
|
|
35792
35867
|
updatedAt: Date;
|
|
35793
35868
|
deletedAt: Date | null;
|
|
35869
|
+
tags: {
|
|
35870
|
+
name: string;
|
|
35871
|
+
id: string;
|
|
35872
|
+
createdAt: Date;
|
|
35873
|
+
updatedAt: Date;
|
|
35874
|
+
deletedAt: Date | null;
|
|
35875
|
+
}[];
|
|
35876
|
+
callFrom: string | null;
|
|
35877
|
+
callTo: string | null;
|
|
35878
|
+
note: string | null;
|
|
35794
35879
|
categories: {
|
|
35795
35880
|
id: string;
|
|
35796
35881
|
value: string;
|
|
@@ -35813,16 +35898,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
35813
35898
|
}[];
|
|
35814
35899
|
}[];
|
|
35815
35900
|
}[];
|
|
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
35901
|
customFields?: {
|
|
35827
35902
|
id: string;
|
|
35828
35903
|
createdAt: Date;
|
|
@@ -35882,7 +35957,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
35882
35957
|
previewUrl: string;
|
|
35883
35958
|
imageSetId: string;
|
|
35884
35959
|
repliedMessage: {
|
|
35885
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
35960
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
35886
35961
|
message: string;
|
|
35887
35962
|
id: string;
|
|
35888
35963
|
url: string;
|
|
@@ -36220,13 +36295,13 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
36220
36295
|
template?: any;
|
|
36221
36296
|
metadata?: any;
|
|
36222
36297
|
}, {
|
|
36223
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
36298
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
36224
36299
|
message: string;
|
|
36225
36300
|
id: string;
|
|
36226
36301
|
url: string;
|
|
36227
36302
|
direction: "incoming" | "outgoing" | "system";
|
|
36228
36303
|
children: {
|
|
36229
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
36304
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
36230
36305
|
message: string;
|
|
36231
36306
|
id: string;
|
|
36232
36307
|
url: string;
|
|
@@ -36370,6 +36445,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
36370
36445
|
lineRichMenuId?: string | null | undefined;
|
|
36371
36446
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
36372
36447
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
36448
|
+
isCSATEnabled?: boolean | undefined;
|
|
36373
36449
|
};
|
|
36374
36450
|
status: boolean;
|
|
36375
36451
|
createdAt: Date;
|
|
@@ -36661,6 +36737,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
36661
36737
|
closedAt: Date;
|
|
36662
36738
|
lastMessageAt: Date | null;
|
|
36663
36739
|
isBotRoom: boolean;
|
|
36740
|
+
csatStatus: string | null;
|
|
36664
36741
|
cxlog: {
|
|
36665
36742
|
id: string;
|
|
36666
36743
|
channel: string | null;
|
|
@@ -36688,6 +36765,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
36688
36765
|
createdAt: Date;
|
|
36689
36766
|
updatedAt: Date;
|
|
36690
36767
|
deletedAt: Date | null;
|
|
36768
|
+
tags: {
|
|
36769
|
+
name: string;
|
|
36770
|
+
id: string;
|
|
36771
|
+
createdAt: Date;
|
|
36772
|
+
updatedAt: Date;
|
|
36773
|
+
deletedAt: Date | null;
|
|
36774
|
+
}[];
|
|
36775
|
+
callFrom: string | null;
|
|
36776
|
+
callTo: string | null;
|
|
36777
|
+
note: string | null;
|
|
36691
36778
|
categories: {
|
|
36692
36779
|
id: string;
|
|
36693
36780
|
value: string;
|
|
@@ -36710,16 +36797,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
36710
36797
|
}[];
|
|
36711
36798
|
}[];
|
|
36712
36799
|
}[];
|
|
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
36800
|
customFields?: {
|
|
36724
36801
|
id: string;
|
|
36725
36802
|
createdAt: Date;
|
|
@@ -36779,7 +36856,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
36779
36856
|
previewUrl: string;
|
|
36780
36857
|
imageSetId: string;
|
|
36781
36858
|
repliedMessage: {
|
|
36782
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
36859
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
36783
36860
|
message: string;
|
|
36784
36861
|
id: string;
|
|
36785
36862
|
url: string;
|
|
@@ -37129,6 +37206,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
37129
37206
|
lineRichMenuId?: string | null | undefined;
|
|
37130
37207
|
messengerIntegrationType?: "own" | "business" | undefined;
|
|
37131
37208
|
facebookFeedIntegrationType?: "own" | "business" | undefined;
|
|
37209
|
+
isCSATEnabled?: boolean | undefined;
|
|
37132
37210
|
};
|
|
37133
37211
|
status: boolean;
|
|
37134
37212
|
createdAt: Date;
|
|
@@ -37420,6 +37498,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
37420
37498
|
closedAt: Date;
|
|
37421
37499
|
lastMessageAt: Date | null;
|
|
37422
37500
|
isBotRoom: boolean;
|
|
37501
|
+
csatStatus: string | null;
|
|
37423
37502
|
cxlog: {
|
|
37424
37503
|
id: string;
|
|
37425
37504
|
channel: string | null;
|
|
@@ -37447,6 +37526,16 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
37447
37526
|
createdAt: Date;
|
|
37448
37527
|
updatedAt: Date;
|
|
37449
37528
|
deletedAt: Date | null;
|
|
37529
|
+
tags: {
|
|
37530
|
+
name: string;
|
|
37531
|
+
id: string;
|
|
37532
|
+
createdAt: Date;
|
|
37533
|
+
updatedAt: Date;
|
|
37534
|
+
deletedAt: Date | null;
|
|
37535
|
+
}[];
|
|
37536
|
+
callFrom: string | null;
|
|
37537
|
+
callTo: string | null;
|
|
37538
|
+
note: string | null;
|
|
37450
37539
|
categories: {
|
|
37451
37540
|
id: string;
|
|
37452
37541
|
value: string;
|
|
@@ -37469,16 +37558,6 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
37469
37558
|
}[];
|
|
37470
37559
|
}[];
|
|
37471
37560
|
}[];
|
|
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
37561
|
customFields?: {
|
|
37483
37562
|
id: string;
|
|
37484
37563
|
createdAt: Date;
|
|
@@ -37538,7 +37617,7 @@ export declare const MessageRelevanceSchema: z.ZodObject<{
|
|
|
37538
37617
|
previewUrl: string;
|
|
37539
37618
|
imageSetId: string;
|
|
37540
37619
|
repliedMessage: {
|
|
37541
|
-
type: "fallback" | "location" | "file" | "closed" | "open" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported";
|
|
37620
|
+
type: "fallback" | "location" | "file" | "closed" | "open" | "item" | "audio" | "video" | "image" | "text" | "group" | "imagemap" | "sticker" | "carousel" | "card" | "choice" | "dropdown" | "text_with_image" | "reaction" | "contacts" | "csat" | "assign" | "solve" | "resolved" | "reopen" | "handed_over" | "updated" | "started" | "hold" | "unhold" | "auto_unhold" | "edited" | "deleted" | "unsupported" | "lazada_sys_msg";
|
|
37542
37621
|
message: string;
|
|
37543
37622
|
id: string;
|
|
37544
37623
|
url: string;
|