@kl1/contracts 1.3.14 → 1.3.16

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