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